language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
C
wireshark/epan/dissectors/packet-x11.c
/* packet-x11.c * Routines for X11 dissection * Copyright 2000, Christophe Tronche <[email protected]> * Copyright 2003, Michael Shuldman * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* TODO (in no particular order): * * - keep track of Atom creation by server to be able to display * non-predefined atoms * - Idem for keysym <-> keycode ??? * - Idem for fonts * - Subtree the request ids (that is x11.create-window.window and * x11.change-window.window should be distinct), and add hidden fields * (so we still have x11.window). * - add hidden fields so we can have x11.circulate-window in addition to * x11.opcode == 13 (but you could match on x11.opcode == "CirculateWindow" * now) * - add hidden fields so we have x11.listOfStuff.length * - use a faster scheme that linear list searching for the opcode. * - correct display of Unicode chars. * - Not everything is homogeneous, in particular the handling of items in * list is a total mess. */ /* By the way, I wrote a program to generate every request and test * that stuff. If you're interested, you can get it at * http://tronche.com/gui/x/ */ #include "config.h" #include <epan/packet.h> #include <epan/exceptions.h> #include <epan/conversation.h> #include <epan/expert.h> #include <epan/show_exception.h> #include <epan/prefs.h> #include "packet-x11-keysymdef.h" #include "packet-x11.h" #include <wsutil/bits_count_ones.h> void proto_register_x11(void); void proto_reg_handoff_x11(void); static dissector_handle_t x11_handle = NULL; #define cVALS(x) (const value_string*)(x) /* * Data structure associated with a conversation; keeps track of the * request for which we're expecting a reply, the frame number of * the initial connection request, and the byte order of the connection. * * An opcode of -3 means we haven't yet seen any requests yet. * An opcode of -2 means we're not expecting a reply (unused). * An opcode of -1 means we're waiting for a reply to the initial * connection request. * An opcode of 0 means the request was not seen (or unknown). * Other values are the opcode of the request for which we're expecting * a reply. * */ #define NOTHING_SEEN -3 #define NOTHING_EXPECTED -2 #define INITIAL_CONN -1 #define UNKNOWN_OPCODE 0 #define MAX_OPCODES (255 + 1) /* 255 + INITIAL_CONN */ #define LastExtensionError 255 #define LastExtensionEvent 127 #define BYTE_ORDER_UNKNOWN 0xFFFFFFFF static const char *modifiers[] = { "Shift", "Lock", "Control", "Mod1", "Mod2", "Mod3", "Mod4", "Mod5" }; /* Keymasks. From <X11/X.h>. */ #define ShiftMask (1<<0) #define LockMask (1<<1) #define ControlMask (1<<2) #define Mod1Mask (1<<3) #define Mod2Mask (1<<4) #define Mod3Mask (1<<5) #define Mod4Mask (1<<6) #define Mod5Mask (1<<7) static const int modifiermask[] = { ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask }; /* from <X11/X.h> */ #define NoSymbol 0L /* special KeySym */ typedef struct _x11_conv_data { wmem_map_t *seqtable; /* hashtable of sequencenumber <-> opcode. */ wmem_map_t *valtable; /* hashtable of sequencenumber <-> &opcode_vals */ /* major opcodes including extensions (NULL terminated) */ value_string opcode_vals[MAX_OPCODES+1]; /* error codes including extensions (NULL terminated) */ value_string errorcode_vals[LastExtensionError + 2]; /* event codes including extensions (NULL terminated) */ value_string eventcode_vals[LastExtensionEvent + 2]; wmem_map_t *eventcode_funcs; /* hashtable of eventcode <-> dissect_event() */ wmem_map_t *reply_funcs; /* hashtable of opcode <-> dissect_reply() */ int sequencenumber; /* sequencenumber of current packet. */ guint32 iconn_frame; /* frame # of initial connection request */ guint32 iconn_reply; /* frame # of initial connection reply */ guint byte_order; /* byte order of connection */ gboolean resync; /* resynchronization of sequence number performed */ int *keycodemap[256]; /* keycode to keysymvalue map. */ int keysyms_per_keycode; int first_keycode; int *modifiermap[array_length(modifiers)];/* modifier to keycode.*/ int keycodes_per_modifier; union { struct { int first_keycode; } GetKeyboardMapping; } request; } x11_conv_data_t; static wmem_map_t *extension_table; /* hashtable of extension name <-> dispatch function */ static wmem_map_t *event_table; /* hashtable of extension name <-> event info list */ static wmem_map_t *genevent_table; /* hashtable of extension name <-> generic event info list */ static wmem_map_t *error_table; /* hashtable of extension name <-> error list */ static wmem_map_t *reply_table; /* hashtable of extension name <-> reply list */ /* Initialize the protocol and registered fields */ static int proto_x11 = -1; #include "x11-declarations.h" /* Initialize the subtree pointers */ static gint ett_x11 = -1; static gint ett_x11_color_flags = -1; static gint ett_x11_list_of_arc = -1; static gint ett_x11_arc = -1; static gint ett_x11_list_of_atom = -1; static gint ett_x11_list_of_card32 = -1; static gint ett_x11_list_of_float = -1; static gint ett_x11_list_of_double = -1; static gint ett_x11_list_of_color_item = -1; static gint ett_x11_color_item = -1; static gint ett_x11_list_of_keycode = -1; static gint ett_x11_list_of_keysyms = -1; static gint ett_x11_keysym = -1; static gint ett_x11_list_of_point = -1; static gint ett_x11_point = -1; static gint ett_x11_list_of_rectangle = -1; static gint ett_x11_rectangle = -1; static gint ett_x11_list_of_segment = -1; static gint ett_x11_segment = -1; static gint ett_x11_list_of_string8 = -1; static gint ett_x11_list_of_text_item = -1; static gint ett_x11_text_item = -1; static gint ett_x11_gc_value_mask = -1; /* XXX - unused */ static gint ett_x11_event_mask = -1; /* XXX - unused */ static gint ett_x11_do_not_propagate_mask = -1; /* XXX - unused */ static gint ett_x11_set_of_key_mask = -1; static gint ett_x11_pointer_event_mask = -1; /* XXX - unused */ static gint ett_x11_window_value_mask = -1; /* XXX - unused */ static gint ett_x11_configure_window_mask = -1; /* XXX - unused */ static gint ett_x11_keyboard_value_mask = -1; /* XXX - unused */ static gint ett_x11_same_screen_focus = -1; static gint ett_x11_event = -1; static gint ett_x11_list_of_pixmap_format = -1; static gint ett_x11_pixmap_format = -1; static gint ett_x11_list_of_screen = -1; static gint ett_x11_screen = -1; static gint ett_x11_list_of_depth_detail = -1; static gint ett_x11_depth_detail = -1; static gint ett_x11_list_of_visualtype= -1; static gint ett_x11_visualtype= -1; static expert_field ei_x11_invalid_format = EI_INIT; static expert_field ei_x11_request_length = EI_INIT; static expert_field ei_x11_keycode_value_out_of_range = EI_INIT; /* desegmentation of X11 messages */ static gboolean x11_desegment = TRUE; #define DEFAULT_X11_PORT_RANGE "6000-6063" /* * Round a length to a multiple of 4 bytes. */ #define ROUND_LENGTH(n) ((((n) + 3)/4) * 4) /************************************************************************ *** *** *** E N U M T A B L E S D E F I N I T I O N S *** *** *** ************************************************************************/ static const value_string byte_order_vals[] = { { 'B', "Big-endian" }, { 'l', "Little-endian" }, { 0, NULL } }; static const value_string image_byte_order_vals[] = { { 0, "LSBFirst" }, { 1, "MSBFirst" }, { 0, NULL } }; static const value_string access_mode_vals[] = { { 0, "Disable" }, { 1, "Enable" }, { 0, NULL } }; static const value_string all_temporary_vals[] = { { 0, "AllTemporary" }, { 0, NULL } }; static const value_string alloc_vals[] = { { 0, "None" }, { 1, "All" }, { 0, NULL } }; static const value_string allow_events_mode_vals[] = { { 0, "AsyncPointer" }, { 1, "SyncPointer" }, { 2, "ReplayPointer" }, { 3, "AsyncKeyboard" }, { 4, "SyncKeyboard" }, { 5, "ReplayKeyboard" }, { 6, "AsyncBoth" }, { 7, "SyncBoth" }, { 0, NULL } }; static const value_string arc_mode_vals[] = { { 0, "Chord" }, { 1, "PieSlice" }, { 0, NULL } }; static const char *atom_predefined_interpretation[] = { "<error>", "PRIMARY", "SECONDARY", "ARC", "ATOM", "BITMAP", "CARDINAL", "COLORMAP", "CURSOR", "CUT_BUFFER0", "CUT_BUFFER1", "CUT_BUFFER2", "CUT_BUFFER3", "CUT_BUFFER4", "CUT_BUFFER5", "CUT_BUFFER6", "CUT_BUFFER7", "DRAWABLE", "FONT", "INTEGER", "PIXMAP", "POINT", "RECTANGLE", "RESOURCE_MANAGER", "RGB_COLOR_MAP", "RGB_BEST_MAP", "RGB_BLUE_MAP", "RGB_DEFAULT_MAP", "RGB_GRAY_MAP", "RGB_GREEN_MAP", "RGB_RED_MAP", "STRING", "VISUALID", "WINDOW", "WM_COMMAND", "WM_HINTS", "WM_CLIENT_MACHINE", "WM_ICON_NAME", "WM_ICON_SIZE", "WM_NAME", "WM_NORMAL_HINTS", "WM_SIZE_HINTS", "WM_ZOOM_HINTS", "MIN_SPACE", "NORM_SPACE", "MAX_SPACE", "END_SPACE", "SUPERSCRIPT_X", "SUPERSCRIPT_Y", "SUBSCRIPT_X", "SUBSCRIPT_Y", "UNDERLINE_POSITION", "UNDERLINE_THICKNESS", "STRIKEOUT_ASCENT", "STRIKEOUT_DESCENT", "ITALIC_ANGLE", "X_HEIGHT", "QUAD_WIDTH", "WEIGHT", "POINT_SIZE", "RESOLUTION", "COPYRIGHT", "NOTICE", "FONT_NAME", "FAMILY_NAME", "FULL_NAME", "CAP_HEIGHT", "WM_CLASS", "WM_TRANSIENT_FOR", }; static const value_string auto_repeat_mode_vals[] = { { 0, "Off" }, { 1, "On" }, { 2, "Default" }, { 0, NULL } }; static const value_string background_pixmap_vals[] = { { 0, "None" }, { 1, "ParentRelative" }, { 0, NULL } }; static const value_string backing_store_vals[] = { { 0, "NotUseful" }, { 1, "WhenMapped" }, { 2, "Always" }, { 0, NULL } }; static const value_string border_pixmap_vals[] = { { 0, "CopyFromParent" }, { 0, NULL } }; static const value_string button_vals[] = { { 0x8000, "AnyButton" }, { 0, NULL } }; static const value_string cap_style_vals[] = { { 0, "NotLast" }, { 1, "Butt" }, { 2, "Round" }, { 3, "Projecting" }, { 0, NULL } }; static const value_string class_vals[] = { { 0, "Cursor" }, { 1, "Tile" }, { 2, "Stipple" }, { 0, NULL } }; static const value_string close_down_mode_vals[] = { { 0, "Destroy" }, { 1, "RetainPermanent" }, { 2, "RetainTemporary" }, { 0, NULL } }; static const value_string colormap_state_vals[] = { { 0, "Uninstalled" }, { 1, "Installed" }, { 0, NULL } }; static const value_string coordinate_mode_vals[] = { { 0, "Origin" }, { 1, "Previous" }, { 0, NULL } }; static const value_string destination_vals[] = { { 0, "PointerWindow" }, { 1, "InputFocus" }, { 0, NULL } }; static const value_string direction_vals[] = { { 0, "RaiseLowest" }, { 1, "LowerHighest" }, { 0, NULL } }; static const value_string event_detail_vals[] = { { 0, "Ancestor" }, { 1, "Virtual" }, { 2, "Inferior" }, { 3, "Nonlinear" }, { 4, "NonlinearVirtual" }, { 0, NULL } }; #define FAMILY_INTERNET 0 #define FAMILY_DECNET 1 #define FAMILY_CHAOS 2 static const value_string family_vals[] = { { FAMILY_INTERNET, "Internet" }, { FAMILY_DECNET, "DECnet" }, { FAMILY_CHAOS, "Chaos" }, { 0, NULL } }; static const value_string fill_rule_vals[] = { { 0, "EvenOdd" }, { 1, "Winding" }, { 0, NULL } }; static const value_string fill_style_vals[] = { { 0, "Solid" }, { 1, "Tiled" }, { 2, "Stippled" }, { 3, "OpaqueStippled" }, { 0, NULL } }; static const value_string focus_detail_vals[] = { { 0, "Ancestor" }, { 1, "Virtual" }, { 2, "Inferior" }, { 3, "Nonlinear" }, { 4, "NonlinearVirtual" }, { 5, "Pointer" }, { 6, "PointerRoot" }, { 7, "None" }, { 0, NULL } }; static const value_string focus_mode_vals[] = { { 0, "Normal" }, { 1, "Grab" }, { 2, "Ungrab" }, { 3, "WhileGrabbed" }, { 0, NULL } }; static const value_string focus_vals[] = { { 0, "None" }, { 1, "PointerRoot" }, { 0, NULL } }; static const value_string function_vals[] = { { 0, "Clear" }, { 1, "And" }, { 2, "AndReverse" }, { 3, "Copy" }, { 4, "AndInverted" }, { 5, "NoOp" }, { 6, "Xor" }, { 7, "Or" }, { 8, "Nor" }, { 9, "Equiv" }, { 10, "Invert" }, { 11, "OrReverse" }, { 12, "CopyInverted" }, { 13, "OrInverted" }, { 14, "Nand" }, { 15, "Set" }, { 0, NULL } }; static const value_string grab_mode_vals[] = { { 0, "Normal" }, { 1, "Grab" }, { 2, "Ungrab" }, { 0, NULL } }; static const value_string grab_status_vals[] = { { 0, "Success" }, { 1, "AlreadyGrabbed" }, { 2, "InvalidTime" }, { 3, "NotViewable" }, { 4, "Frozen" }, { 0, NULL } }; static const value_string bit_gravity_vals[] = { { 0, "Forget" }, { 1, "NorthWest" }, { 2, "North" }, { 3, "NorthEast" }, { 4, "West" }, { 5, "Center" }, { 6, "East" }, { 7, "SouthWest" }, { 8, "South" }, { 9, "SouthEast" }, { 10, "Static" }, { 0, NULL } }; static const value_string win_gravity_vals[] = { { 0, "Unmap" }, { 1, "NorthWest" }, { 2, "North" }, { 3, "NorthEast" }, { 4, "West" }, { 5, "Center" }, { 6, "East" }, { 7, "SouthWest" }, { 8, "South" }, { 9, "SouthEast" }, { 10, "Static" }, { 0, NULL } }; static const value_string image_format_vals[] = { { 0, "Bitmap" }, { 1, "XYPixmap" }, { 2, "ZPixmap" }, { 0, NULL } }; static const value_string image_pixmap_format_vals[] = { { 1, "XYPixmap" }, { 2, "ZPixmap" }, { 0, NULL } }; static const value_string join_style_vals[] = { { 0, "Miter" }, { 1, "Round" }, { 2, "Bevel" }, { 0, NULL } }; static const value_string key_vals[] = { { 0, "AnyKey" }, { 0, NULL } }; #include "x11-keysym.h" static const value_string line_style_vals[] = { { 0, "Solid" }, { 1, "OnOffDash" }, { 2, "DoubleDash" }, { 0, NULL } }; static const value_string mode_vals[] = { { 0, "Replace" }, { 1, "Prepend" }, { 2, "Append" }, { 0, NULL } }; static const value_string on_off_vals[] = { { 0, "Off" }, { 1, "On" }, { 0, NULL } }; static const value_string place_vals[] = { { 0, "Top" }, { 1, "Bottom" }, { 0, NULL } }; static const value_string property_state_vals[] = { { 0, "NewValue" }, { 1, "Deleted" }, { 0, NULL } }; static const value_string visibility_state_vals[] = { { 0, "Unobscured" }, { 1, "PartiallyObscured" }, { 2, "FullyObscured" }, { 0, NULL } }; static const value_string mapping_request_vals[] = { { 0, "MappingModifier" }, { 1, "MappingKeyboard" }, { 2, "MappingPointer" }, { 0, NULL } }; /* Requestcodes. From <X11/Xproto.h>. */ #define X_CreateWindow 1 #define X_ChangeWindowAttributes 2 #define X_GetWindowAttributes 3 #define X_DestroyWindow 4 #define X_DestroySubwindows 5 #define X_ChangeSaveSet 6 #define X_ReparentWindow 7 #define X_MapWindow 8 #define X_MapSubwindows 9 #define X_UnmapWindow 10 #define X_UnmapSubwindows 11 #define X_ConfigureWindow 12 #define X_CirculateWindow 13 #define X_GetGeometry 14 #define X_QueryTree 15 #define X_InternAtom 16 #define X_GetAtomName 17 #define X_ChangeProperty 18 #define X_DeleteProperty 19 #define X_GetProperty 20 #define X_ListProperties 21 #define X_SetSelectionOwner 22 #define X_GetSelectionOwner 23 #define X_ConvertSelection 24 #define X_SendEvent 25 #define X_GrabPointer 26 #define X_UngrabPointer 27 #define X_GrabButton 28 #define X_UngrabButton 29 #define X_ChangeActivePointerGrab 30 #define X_GrabKeyboard 31 #define X_UngrabKeyboard 32 #define X_GrabKey 33 #define X_UngrabKey 34 #define X_AllowEvents 35 #define X_GrabServer 36 #define X_UngrabServer 37 #define X_QueryPointer 38 #define X_GetMotionEvents 39 #define X_TranslateCoords 40 #define X_WarpPointer 41 #define X_SetInputFocus 42 #define X_GetInputFocus 43 #define X_QueryKeymap 44 #define X_OpenFont 45 #define X_CloseFont 46 #define X_QueryFont 47 #define X_QueryTextExtents 48 #define X_ListFonts 49 #define X_ListFontsWithInfo 50 #define X_SetFontPath 51 #define X_GetFontPath 52 #define X_CreatePixmap 53 #define X_FreePixmap 54 #define X_CreateGC 55 #define X_ChangeGC 56 #define X_CopyGC 57 #define X_SetDashes 58 #define X_SetClipRectangles 59 #define X_FreeGC 60 #define X_ClearArea 61 #define X_CopyArea 62 #define X_CopyPlane 63 #define X_PolyPoint 64 #define X_PolyLine 65 #define X_PolySegment 66 #define X_PolyRectangle 67 #define X_PolyArc 68 #define X_FillPoly 69 #define X_PolyFillRectangle 70 #define X_PolyFillArc 71 #define X_PutImage 72 #define X_GetImage 73 #define X_PolyText8 74 #define X_PolyText16 75 #define X_ImageText8 76 #define X_ImageText16 77 #define X_CreateColormap 78 #define X_FreeColormap 79 #define X_CopyColormapAndFree 80 #define X_InstallColormap 81 #define X_UninstallColormap 82 #define X_ListInstalledColormaps 83 #define X_AllocColor 84 #define X_AllocNamedColor 85 #define X_AllocColorCells 86 #define X_AllocColorPlanes 87 #define X_FreeColors 88 #define X_StoreColors 89 #define X_StoreNamedColor 90 #define X_QueryColors 91 #define X_LookupColor 92 #define X_CreateCursor 93 #define X_CreateGlyphCursor 94 #define X_FreeCursor 95 #define X_RecolorCursor 96 #define X_QueryBestSize 97 #define X_QueryExtension 98 #define X_ListExtensions 99 #define X_ChangeKeyboardMapping 100 #define X_GetKeyboardMapping 101 #define X_ChangeKeyboardControl 102 #define X_GetKeyboardControl 103 #define X_Bell 104 #define X_ChangePointerControl 105 #define X_GetPointerControl 106 #define X_SetScreenSaver 107 #define X_GetScreenSaver 108 #define X_ChangeHosts 109 #define X_ListHosts 110 #define X_SetAccessControl 111 #define X_SetCloseDownMode 112 #define X_KillClient 113 #define X_RotateProperties 114 #define X_ForceScreenSaver 115 #define X_SetPointerMapping 116 #define X_GetPointerMapping 117 #define X_SetModifierMapping 118 #define X_GetModifierMapping 119 #define X_NoOperation 127 #define X_FirstExtension 128 #define X_LastExtension 255 static const value_string opcode_vals[] = { { INITIAL_CONN, "Initial connection request" }, { X_CreateWindow, "CreateWindow" }, { X_ChangeWindowAttributes, "ChangeWindowAttributes" }, { X_GetWindowAttributes, "GetWindowAttributes" }, { X_DestroyWindow, "DestroyWindow" }, { X_DestroySubwindows, "DestroySubwindows" }, { X_ChangeSaveSet, "ChangeSaveSet" }, { X_ReparentWindow, "ReparentWindow" }, { X_MapWindow, "MapWindow" }, { X_MapSubwindows, "MapSubwindows" }, { X_UnmapWindow, "UnmapWindow" }, { X_UnmapSubwindows, "UnmapSubwindows" }, { X_ConfigureWindow, "ConfigureWindow" }, { X_CirculateWindow, "CirculateWindow" }, { X_GetGeometry, "GetGeometry" }, { X_QueryTree, "QueryTree" }, { X_InternAtom, "InternAtom" }, { X_GetAtomName, "GetAtomName" }, { X_ChangeProperty, "ChangeProperty" }, { X_DeleteProperty, "DeleteProperty" }, { X_GetProperty, "GetProperty" }, { X_ListProperties, "ListProperties" }, { X_SetSelectionOwner, "SetSelectionOwner" }, { X_GetSelectionOwner, "GetSelectionOwner" }, { X_ConvertSelection, "ConvertSelection" }, { X_SendEvent, "SendEvent" }, { X_GrabPointer, "GrabPointer" }, { X_UngrabPointer, "UngrabPointer" }, { X_GrabButton, "GrabButton" }, { X_UngrabButton, "UngrabButton" }, { X_ChangeActivePointerGrab, "ChangeActivePointerGrab" }, { X_GrabKeyboard, "GrabKeyboard" }, { X_UngrabKeyboard, "UngrabKeyboard" }, { X_GrabKey, "GrabKey" }, { X_UngrabKey, "UngrabKey" }, { X_AllowEvents, "AllowEvents" }, { X_GrabServer, "GrabServer" }, { X_UngrabServer, "UngrabServer" }, { X_QueryPointer, "QueryPointer" }, { X_GetMotionEvents, "GetMotionEvents" }, { X_TranslateCoords, "TranslateCoordinates" }, { X_WarpPointer, "WarpPointer" }, { X_SetInputFocus, "SetInputFocus" }, { X_GetInputFocus, "GetInputFocus" }, { X_QueryKeymap, "QueryKeymap" }, { X_OpenFont, "OpenFont" }, { X_CloseFont, "CloseFont" }, { X_QueryFont, "QueryFont" }, { X_QueryTextExtents, "QueryTextExtents" }, { X_ListFonts, "ListFonts" }, { X_ListFontsWithInfo, "ListFontsWithInfo" }, { X_SetFontPath, "SetFontPath" }, { X_GetFontPath, "GetFontPath" }, { X_CreatePixmap, "CreatePixmap" }, { X_FreePixmap, "FreePixmap" }, { X_CreateGC, "CreateGC" }, { X_ChangeGC, "ChangeGC" }, { X_CopyGC, "CopyGC" }, { X_SetDashes, "SetDashes" }, { X_SetClipRectangles, "SetClipRectangles" }, { X_FreeGC, "FreeGC" }, { X_ClearArea, "ClearArea" }, { X_CopyArea, "CopyArea" }, { X_CopyPlane, "CopyPlane" }, { X_PolyPoint, "PolyPoint" }, { X_PolyLine, "PolyLine" }, { X_PolySegment, "PolySegment" }, { X_PolyRectangle, "PolyRectangle" }, { X_PolyArc, "PolyArc" }, { X_FillPoly, "FillPoly" }, { X_PolyFillRectangle, "PolyFillRectangle" }, { X_PolyFillArc, "PolyFillArc" }, { X_PutImage, "PutImage" }, { X_GetImage, "GetImage" }, { X_PolyText8, "PolyText8" }, { X_PolyText16, "PolyText16" }, { X_ImageText8, "ImageText8" }, { X_ImageText16, "ImageText16" }, { X_CreateColormap, "CreateColormap" }, { X_FreeColormap, "FreeColormap" }, { X_CopyColormapAndFree, "CopyColormapAndFree" }, { X_InstallColormap, "InstallColormap" }, { X_UninstallColormap, "UninstallColormap" }, { X_ListInstalledColormaps, "ListInstalledColormaps" }, { X_AllocColor, "AllocColor" }, { X_AllocNamedColor, "AllocNamedColor" }, { X_AllocColorCells, "AllocColorCells" }, { X_AllocColorPlanes, "AllocColorPlanes" }, { X_FreeColors, "FreeColors" }, { X_StoreColors, "StoreColors" }, { X_StoreNamedColor, "StoreNamedColor" }, { X_QueryColors, "QueryColors" }, { X_LookupColor, "LookupColor" }, { X_CreateCursor, "CreateCursor" }, { X_CreateGlyphCursor, "CreateGlyphCursor" }, { X_FreeCursor, "FreeCursor" }, { X_RecolorCursor, "RecolorCursor" }, { X_QueryBestSize, "QueryBestSize" }, { X_QueryExtension, "QueryExtension" }, { X_ListExtensions, "ListExtensions" }, { X_ChangeKeyboardMapping, "ChangeKeyboardMapping" }, { X_GetKeyboardMapping, "GetKeyboardMapping" }, { X_ChangeKeyboardControl, "ChangeKeyboardControl" }, { X_GetKeyboardControl, "GetKeyboardControl" }, { X_Bell, "Bell" }, { X_ChangePointerControl, "ChangePointerControl" }, { X_GetPointerControl, "GetPointerControl" }, { X_SetScreenSaver, "SetScreenSaver" }, { X_GetScreenSaver, "GetScreenSaver" }, { X_ChangeHosts, "ChangeHosts" }, { X_ListHosts, "ListHosts" }, { X_SetAccessControl, "SetAccessControl" }, { X_SetCloseDownMode, "SetCloseDownMode" }, { X_KillClient, "KillClient" }, { X_RotateProperties, "RotateProperties" }, { X_ForceScreenSaver, "ForceScreenSaver" }, { X_SetPointerMapping, "SetPointerMapping" }, { X_GetPointerMapping, "GetPointerMapping" }, { X_SetModifierMapping, "SetModifierMapping" }, { X_GetModifierMapping, "GetModifierMapping" }, { X_NoOperation, "NoOperation" }, { 0, NULL } }; /* Eventscodes. From <X11/X.h>. */ #define KeyPress 2 #define KeyRelease 3 #define ButtonPress 4 #define ButtonRelease 5 #define MotionNotify 6 #define EnterNotify 7 #define LeaveNotify 8 #define FocusIn 9 #define FocusOut 10 #define KeymapNotify 11 #define Expose 12 #define GraphicsExpose 13 #define NoExpose 14 #define VisibilityNotify 15 #define CreateNotify 16 #define DestroyNotify 17 #define UnmapNotify 18 #define MapNotify 19 #define MapRequest 20 #define ReparentNotify 21 #define ConfigureNotify 22 #define ConfigureRequest 23 #define GravityNotify 24 #define ResizeRequest 25 #define CirculateNotify 26 #define CirculateRequest 27 #define PropertyNotify 28 #define SelectionClear 29 #define SelectionRequest 30 #define SelectionNotify 31 #define ColormapNotify 32 #define ClientMessage 33 #define MappingNotify 34 #define GenericEvent 35 static const value_string eventcode_vals[] = { { KeyPress, "KeyPress" }, { KeyRelease, "KeyRelease" }, { ButtonPress, "ButtonPress" }, { ButtonRelease, "ButtonRelease" }, { MotionNotify, "MotionNotify" }, { EnterNotify, "EnterNotify" }, { LeaveNotify, "LeaveNotify" }, { FocusIn, "FocusIn" }, { FocusOut, "FocusOut" }, { KeymapNotify, "KeymapNotify" }, { Expose, "Expose" }, { GraphicsExpose, "GraphicsExpose" }, { NoExpose, "NoExpose" }, { VisibilityNotify, "VisibilityNotify" }, { CreateNotify, "CreateNotify" }, { DestroyNotify, "DestroyNotify" }, { UnmapNotify, "UnmapNotify" }, { MapNotify, "MapNotify" }, { MapRequest, "MapRequest" }, { ReparentNotify, "ReparentNotify" }, { ConfigureNotify, "ConfigureNotify" }, { ConfigureRequest, "ConfigureRequest" }, { GravityNotify, "GravityNotify" }, { ResizeRequest, "ResizeRequest" }, { CirculateNotify, "CirculateNotify" }, { CirculateRequest, "CirculateRequest" }, { PropertyNotify, "PropertyNotify" }, { SelectionClear, "SelectionClear" }, { SelectionRequest, "SelectionRequest" }, { SelectionNotify, "SelectionNotify" }, { ColormapNotify, "ColormapNotify" }, { ClientMessage, "ClientMessage" }, { MappingNotify, "MappingNotify" }, { GenericEvent, "GenericEvent" }, { 0, NULL } }; /* Errorcodes. From <X11/X.h> */ #define Success 0 /* everything's okay */ #define BadRequest 1 /* bad request code */ #define BadValue 2 /* int parameter out of range */ #define BadWindow 3 /* parameter not a Window */ #define BadPixmap 4 /* parameter not a Pixmap */ #define BadAtom 5 /* parameter not an Atom */ #define BadCursor 6 /* parameter not a Cursor */ #define BadFont 7 /* parameter not a Font */ #define BadMatch 8 /* parameter mismatch */ #define BadDrawable 9 /* parameter not a Pixmap or Window */ #define BadAccess 10 /* depending on context: - key/button already grabbed - attempt to free an illegal cmap entry - attempt to store into a read-only color map entry. - attempt to modify the access control list from other than the local host. */ #define BadAlloc 11 /* insufficient resources */ #define BadColormap 12 /* no such colormap */ #define BadGC 13 /* parameter not a GC */ #define BadIDChoice 14 /* choice not in range or already used */ #define BadName 15 /* font or color name doesn't exist */ #define BadLength 16 /* Request length incorrect */ #define BadImplementation 17 /* server is defective */ static const value_string errorcode_vals[] = { { Success, "Success" }, { BadRequest, "BadRequest" }, { BadValue, "BadValue" }, { BadWindow, "BadWindow" }, { BadPixmap, "BadPixmap" }, { BadAtom, "BadAtom" }, { BadCursor, "BadCursor" }, { BadFont, "BadFont" }, { BadMatch, "BadMatch" }, { BadDrawable, "BadDrawable" }, { BadAccess, "BadAccess" }, { BadAlloc, "BadAlloc" }, { BadColormap, "BadColormap" }, { BadGC, "BadGC" }, { BadIDChoice, "BadIDChoice" }, { BadName, "BadName" }, { BadLength, "BadLength" }, { BadImplementation, "BadImplementation" }, { 0, NULL } }; static const value_string ordering_vals[] = { { 0, "UnSorted" }, { 1, "YSorted" }, { 2, "YXSorted" }, { 3, "YXBanded" }, { 0, NULL } }; static const value_string plane_mask_vals[] = { { 0xFFFFFFFF, "AllPlanes" }, { 0, NULL } }; static const value_string pointer_keyboard_mode_vals[] = { { 0, "Synchronous" }, { 1, "Asynchronous" }, { 0, NULL } }; static const value_string revert_to_vals[] = { { 0, "None" }, { 1, "PointerRoot" }, { 2, "Parent" }, { 0, NULL } }; static const value_string insert_delete_vals[] = { { 0, "Insert" }, { 1, "Delete" }, { 0, NULL } }; static const value_string screen_saver_mode_vals[] = { { 0, "Reset" }, { 1, "Activate" }, { 0, NULL } }; static const value_string shape_vals[] = { { 0, "Complex" }, { 1, "Nonconvex" }, { 2, "Convex" }, { 0, NULL } }; static const value_string stack_mode_vals[] = { { 0, "Above" }, { 1, "Below" }, { 2, "TopIf" }, { 3, "BottomIf" }, { 4, "Opposite" }, { 0, NULL } }; static const value_string subwindow_mode_vals[] = { { 0, "ClipByChildren" }, { 1, "IncludeInferiors" }, { 0, NULL } }; static const value_string window_class_vals[] = { { 0, "CopyFromParent" }, { 1, "InputOutput" }, { 2, "InputOnly" }, { 0, NULL } }; static const value_string yes_no_default_vals[] = { { 0, "No" }, { 1, "Yes" }, { 2, "Default" }, { 0, NULL } }; static const value_string zero_is_any_property_type_vals[] = { { 0, "AnyPropertyType" }, { 0, NULL } }; static const value_string zero_is_none_vals[] = { { 0, "None" }, { 0, NULL } }; /************************************************************************ *** *** *** F I E L D D E C O D I N G M A C R O S *** *** *** ************************************************************************/ #define FIELD8(name) (field8(tvb, offsetp, t, hf_x11_##name, byte_order)) #define FIELD16(name) (field16(tvb, offsetp, t, hf_x11_##name, byte_order)) #define FIELD32(name) (field32(tvb, offsetp, t, hf_x11_##name, byte_order)) #define FLAG(position, name) {\ proto_tree_add_boolean(bitmask_tree, hf_x11_##position##_mask##_##name, tvb, bitmask_offset, bitmask_size, bitmask_value); } #define FLAG_IF_NONZERO(position, name) do {\ if (bitmask_value & proto_registrar_get_nth(hf_x11_##position##_mask##_##name) -> bitmask) \ proto_tree_add_boolean(bitmask_tree, hf_x11_##position##_mask##_##name, tvb, bitmask_offset, bitmask_size, bitmask_value); } while (0) #define ATOM(name) { atom(tvb, offsetp, t, hf_x11_##name, byte_order); } #define BOOL(name) (add_boolean(tvb, offsetp, t, hf_x11_##name)) #define BUTTON(name) FIELD8(name) #define CARD8(name) FIELD8(name) #define CARD16(name) (FIELD16(name)) #define CARD32(name) (FIELD32(name)) #define COLOR_FLAGS(name) colorFlags(tvb, offsetp, t) #define COLORMAP(name) FIELD32(name) #define CURSOR(name) FIELD32(name) #define DRAWABLE(name) FIELD32(name) #define ENUM8(name) (FIELD8(name)) #define ENUM16(name) (FIELD16(name)) #define FONT(name) FIELD32(name) #define FONTABLE(name) FIELD32(name) #define GCONTEXT(name) FIELD32(name) #define INT8(name) FIELD8(name) #define INT16(name) FIELD16(name) #define INT32(name) FIELD32(name) #define KEYCODE(name) FIELD8(name) #define KEYCODE_DECODED(name, keycode, mask) do { \ proto_tree_add_uint_format(t, hf_x11_##name, tvb, offset, 1, \ keycode, "keycode: %d (%s)", \ keycode, keycode2keysymString(state->keycodemap, \ state->first_keycode, state->keysyms_per_keycode, \ state->modifiermap, state->keycodes_per_modifier, \ keycode, mask)); \ ++offset; \ } while (0) #define EVENT() do { \ tvbuff_t *next_tvb; \ unsigned char eventcode; \ const char *sent; \ proto_tree *event_proto_tree; \ next_tvb = tvb_new_subset_length_caplen(tvb, offset, next_offset - offset, \ next_offset - offset); \ eventcode = tvb_get_guint8(next_tvb, 0); \ sent = (eventcode & 0x80) ? "Sent-" : ""; \ event_proto_tree = proto_tree_add_subtree_format(t, next_tvb, \ 0, -1, ett_x11_event, NULL, \ "event: %d (%s)", \ eventcode, \ val_to_str(eventcode & 0x7F, \ state->eventcode_vals, \ "<Unknown eventcode %u>")); \ decode_x11_event(next_tvb, eventcode, sent, event_proto_tree, \ state, byte_order); \ offset = next_offset; \ } while (0) #define LISTofARC(name) { listOfArc(tvb, offsetp, t, hf_x11_##name, (next_offset - *offsetp) / 12, byte_order); } #define LISTofATOM(name, length) { listOfAtom(tvb, offsetp, t, hf_x11_##name, (length) / 4, byte_order); } #define LISTofBYTE(name, length) { listOfByte(tvb, offsetp, t, hf_x11_##name, (length), byte_order); } #define LISTofCARD8(name, length) { listOfByte(tvb, offsetp, t, hf_x11_##name, (length), byte_order); } #define LISTofIPADDRESS(name, length) { listOfByte(tvb, offsetp, t, hf_x11_##name, (length), FALSE); } #define LISTofCARD16(name, length) { listOfCard16(tvb, offsetp, t, hf_x11_##name, hf_x11_##name##_item, (length) / 2, byte_order); } #define LISTofCARD32(name, length) { listOfCard32(tvb, offsetp, t, hf_x11_##name, hf_x11_##name##_item, (length) / 4, byte_order); } #define LISTofCOLORITEM(name, length) { listOfColorItem(tvb, offsetp, t, hf_x11_##name, (length) / 12, byte_order); } #define LISTofKEYCODE(map, name, length) { listOfKeycode(tvb, offsetp, t, hf_x11_##name, map, (length), byte_order); } #define LISTofKEYSYM(name, map, keycode_first, keycode_count, \ keysyms_per_keycode) {\ listOfKeysyms(tvb, pinfo, offsetp, t, hf_x11_##name, hf_x11_##name##_item, map, (keycode_first), (keycode_count), (keysyms_per_keycode), byte_order); } #define LISTofPOINT(name, length) { listOfPoint(tvb, offsetp, t, hf_x11_##name, (length) / 4, byte_order); } #define LISTofRECTANGLE(name) { listOfRectangle(tvb, offsetp, t, hf_x11_##name, (next_offset - *offsetp) / 8, byte_order); } #define LISTofPIXMAPFORMAT(name, length) { listOfPixmapFormat(tvb, offsetp, t, hf_x11_##name, (length), byte_order); } #define LISTofSCREEN(name, length) { listOfScreen(tvb, offsetp, t, hf_x11_##name, (length), byte_order); } #define LISTofSEGMENT(name) { listOfSegment(tvb, offsetp, t, hf_x11_##name, (next_offset - *offsetp) / 8, byte_order); } #define LISTofSTRING8(name, length) { listOfString8(tvb, offsetp, t, hf_x11_##name, hf_x11_##name##_string, (length), byte_order); } #define LISTofTEXTITEM8(name) { listOfTextItem(tvb, offsetp, t, hf_x11_##name, FALSE, next_offset, byte_order); } #define LISTofTEXTITEM16(name) { listOfTextItem(tvb, offsetp, t, hf_x11_##name, TRUE, next_offset, byte_order); } #define OPCODE() { \ opcode = tvb_get_guint8(tvb, *offsetp); \ proto_tree_add_uint(t, hf_x11_opcode, tvb, *offsetp, \ 1, opcode); \ *offsetp += 1; \ } #define PIXMAP(name) { FIELD32(name); } #define REQUEST_LENGTH() (requestLength(tvb, offsetp, t, byte_order)) #define SETofEVENT(name) { setOfEvent(tvb, offsetp, t, byte_order); } #define SETofDEVICEEVENT(name) { setOfDeviceEvent(tvb, offsetp, t, byte_order);} #define SETofKEYMASK(name) { setOfKeyButMask(tvb, offsetp, t, byte_order, 0); } #define SETofKEYBUTMASK(name) { setOfKeyButMask(tvb, offsetp, t, byte_order, 1); } #define SETofPOINTEREVENT(name) { setOfPointerEvent(tvb, offsetp, t, byte_order); } #define STRING8(name, length) { string8(tvb, offsetp, t, hf_x11_##name, length); } #define STRING16(name, length) { string16(tvb, offsetp, t, hf_x11_##name, hf_x11_##name##_bytes, length, byte_order); } #define TIMESTAMP(name){ timestamp(tvb, offsetp, t, hf_x11_##name, byte_order); } #define UNDECODED(x) { proto_tree_add_item(t, hf_x11_undecoded, tvb, *offsetp, x, ENC_NA); *offsetp += x; } #define PAD() { if (next_offset - *offsetp > 0) proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, next_offset - *offsetp, ENC_NA); *offsetp = next_offset; } #define WINDOW(name) { FIELD32(name); } #define VISUALID(name) { gint32 v = tvb_get_guint32(tvb, *offsetp, byte_order); \ proto_tree_add_uint_format(t, hf_x11_##name, tvb, *offsetp, 4, v, "Visualid: 0x%08x%s", v, \ v ? "" : " (CopyFromParent)"); *offsetp += 4; } #define REPLY(name) FIELD8(name); #define REPLYLENGTH(name) FIELD32(name); #define EVENTCONTENTS_COMMON() do { \ TIMESTAMP(time); \ WINDOW(rootwindow); \ WINDOW(eventwindow); \ WINDOW(childwindow); \ INT16(root_x); \ INT16(root_y); \ INT16(event_x); \ INT16(event_y); \ setOfKeyButMask(tvb, offsetp, t, byte_order, 1); \ } while (0) #define SEQUENCENUMBER_REPLY(name) do { \ guint16 seqno; \ \ seqno = tvb_get_guint16(tvb, *offsetp, byte_order); \ proto_tree_add_uint_format(t, hf_x11_reply_##name, tvb, \ *offsetp, 2, seqno, \ "sequencenumber: %d (%s)", \ (int)seqno, \ val_to_str(opcode & 0xFF, state->opcode_vals, "<Unknown opcode %d>")); \ *offsetp += 2; \ } while (0) #define REPLYCONTENTS_COMMON() do { \ REPLY(reply); \ proto_tree_add_item(t, hf_x11_undecoded, tvb, *offsetp, \ 1, ENC_NA); \ ++(*offsetp); \ SEQUENCENUMBER_REPLY(sequencenumber); \ REPLYLENGTH(replylength); \ proto_tree_add_item(t, hf_x11_undecoded, tvb, *offsetp, \ tvb_reported_length_remaining(tvb, *offsetp), ENC_NA); \ *offsetp += tvb_reported_length_remaining(tvb, *offsetp); \ } while (0) #define HANDLE_REPLY(plen, length_remaining, str, func) do { \ if (length_remaining < plen) { \ if (x11_desegment && pinfo->can_desegment) { \ pinfo->desegment_offset = offset; \ pinfo->desegment_len = plen - length_remaining; \ return; \ } else { \ ; /* XXX yes, what then? Need to skip/join. */ \ } \ } \ if (length_remaining > plen) \ length_remaining = plen; \ next_tvb = tvb_new_subset_length_caplen(tvb, offset, length_remaining, plen); \ \ if (sep == NULL) { \ col_set_str(pinfo->cinfo, COL_INFO, str); \ sep = ":"; \ } \ \ TRY { \ func(next_tvb, pinfo, tree, sep, state, byte_order); \ } \ \ CATCH_NONFATAL_ERRORS { \ show_exception(next_tvb, pinfo, tree, EXCEPT_CODE, GET_MESSAGE); \ } \ ENDTRY; \ \ sep = ","; \ } while (0) static void dissect_x11_initial_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char *sep, x11_conv_data_t *state, guint byte_order); static void dissect_x11_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char *sep, x11_conv_data_t *state, guint byte_order); static void dissect_x11_error(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char *sep, x11_conv_data_t *state, guint byte_order); static void dissect_x11_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char *sep, x11_conv_data_t *state, guint byte_order); static void decode_x11_event(tvbuff_t *tvb, unsigned char eventcode, const char *sent, proto_tree *t, x11_conv_data_t *state, guint byte_order); static x11_conv_data_t * x11_stateinit(conversation_t *conversation); static const char * keysymString(guint32 v); /************************************************************************ *** *** *** D E C O D I N G F I E L D S *** *** *** ************************************************************************/ static void atom(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, guint byte_order) { const char *interpretation = NULL; guint32 v = tvb_get_guint32(tvb, *offsetp, byte_order); if (v >= 1 && v < array_length(atom_predefined_interpretation)) interpretation = atom_predefined_interpretation[v]; else if (v) interpretation = "Not a predefined atom"; else { header_field_info *hfi = proto_registrar_get_nth(hf); if (hfi -> strings) interpretation = try_val_to_str(v, cVALS(hfi -> strings)); } if (!interpretation) interpretation = "error in Xlib client program ?"; proto_tree_add_uint_format(t, hf, tvb, *offsetp, 4, v, "%s: %u (%s)", proto_registrar_get_nth(hf) -> name, v, interpretation); *offsetp += 4; } static guint32 add_boolean(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf) { guint32 v = tvb_get_guint8(tvb, *offsetp); proto_tree_add_boolean(t, hf, tvb, *offsetp, 1, v); *offsetp += 1; return v; } static void colorFlags(tvbuff_t *tvb, int *offsetp, proto_tree *t) { guint do_red_green_blue = tvb_get_guint8(tvb, *offsetp); proto_item *ti; proto_tree *tt; if (do_red_green_blue) { int sep = FALSE; wmem_strbuf_t *buffer = wmem_strbuf_create(wmem_packet_scope()); wmem_strbuf_append(buffer, "flags: "); if (do_red_green_blue & 0x1) { wmem_strbuf_append(buffer, "DoRed"); sep = TRUE; } if (do_red_green_blue & 0x2) { if (sep) wmem_strbuf_append(buffer, " | "); wmem_strbuf_append(buffer, "DoGreen"); sep = TRUE; } if (do_red_green_blue & 0x4) { if (sep) wmem_strbuf_append(buffer, " | "); wmem_strbuf_append(buffer, "DoBlue"); sep = TRUE; } if (do_red_green_blue & 0xf8) { if (sep) wmem_strbuf_append(buffer, " + trash"); } ti = proto_tree_add_uint_format(t, hf_x11_coloritem_flags, tvb, *offsetp, 1, do_red_green_blue, "%s", wmem_strbuf_get_str(buffer)); tt = proto_item_add_subtree(ti, ett_x11_color_flags); if (do_red_green_blue & 0x1) proto_tree_add_boolean(tt, hf_x11_coloritem_flags_do_red, tvb, *offsetp, 1, do_red_green_blue & 0x1); if (do_red_green_blue & 0x2) proto_tree_add_boolean(tt, hf_x11_coloritem_flags_do_green, tvb, *offsetp, 1, do_red_green_blue & 0x2); if (do_red_green_blue & 0x4) proto_tree_add_boolean(tt, hf_x11_coloritem_flags_do_blue, tvb, *offsetp, 1, do_red_green_blue & 0x4); if (do_red_green_blue & 0xf8) proto_tree_add_boolean(tt, hf_x11_coloritem_flags_unused, tvb, *offsetp, 1, do_red_green_blue & 0xf8); } else proto_tree_add_uint_format(t, hf_x11_coloritem_flags, tvb, *offsetp, 1, do_red_green_blue, "flags: none"); *offsetp += 1; } static void listOfArc(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 8, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_arc); while(length--) { gint16 x = tvb_get_guint16(tvb, *offsetp, byte_order); gint16 y = tvb_get_guint16(tvb, *offsetp + 2, byte_order); guint16 width = tvb_get_guint16(tvb, *offsetp + 4, byte_order); guint16 height = tvb_get_guint16(tvb, *offsetp + 6, byte_order); gint16 angle1 = tvb_get_guint16(tvb, *offsetp + 8, byte_order); gint16 angle2 = tvb_get_guint16(tvb, *offsetp + 10, byte_order); proto_item *tti = proto_tree_add_none_format(tt, hf_x11_arc, tvb, *offsetp, 12, "arc: %dx%d+%d+%d, angle %d -> %d (%f degrees -> %f degrees)", width, height, x, y, angle1, angle2, angle1 / 64.0, angle2 / 64.0); proto_tree *ttt = proto_item_add_subtree(tti, ett_x11_arc); proto_tree_add_int(ttt, hf_x11_arc_x, tvb, *offsetp, 2, x); *offsetp += 2; proto_tree_add_int(ttt, hf_x11_arc_y, tvb, *offsetp, 2, y); *offsetp += 2; proto_tree_add_uint(ttt, hf_x11_arc_width, tvb, *offsetp, 2, y); *offsetp += 2; proto_tree_add_uint(ttt, hf_x11_arc_height, tvb, *offsetp, 2, y); *offsetp += 2; proto_tree_add_int(ttt, hf_x11_arc_angle1, tvb, *offsetp, 2, y); *offsetp += 2; proto_tree_add_int(ttt, hf_x11_arc_angle2, tvb, *offsetp, 2, y); *offsetp += 2; } } static void listOfAtom(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 4, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_atom); while(length--) atom(tvb, offsetp, tt, hf_x11_properties_item, byte_order); } static void listOfByte(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { if (length <= 0) length = 1; proto_tree_add_item(t, hf, tvb, *offsetp, length, byte_order); *offsetp += length; } static void listOfCard16(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 2, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_card32); while(length--) { proto_tree_add_item(tt, hf_item, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void listOfInt16(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 2, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_card32); while(length--) { proto_tree_add_item(tt, hf_item, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void listOfCard32(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 4, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_card32); while(length--) { proto_tree_add_item(tt, hf_item, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void listOfInt32(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 4, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_card32); while(length--) { proto_tree_add_item(tt, hf_item, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void listOfCard64(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 8, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_card32); while(length--) { proto_tree_add_item(tt, hf_item, tvb, *offsetp, 8, byte_order); *offsetp += 8; } } #if 0 /* Not yet used by any extension */ static void listOfInt64(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 8, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_card32); while(length--) { proto_tree_add_item(tt, hf_item, tvb, *offsetp, 8, byte_order); *offsetp += 8; } } #endif static void listOfFloat(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 4, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_float); while(length--) { proto_tree_add_item(tt, hf_item, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void listOfDouble(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 8, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_double); while(length--) { proto_tree_add_item(tt, hf_item, tvb, *offsetp, 8, byte_order); *offsetp += 8; } } static void listOfColorItem(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 8, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_color_item); while(length--) { proto_item *tti; proto_tree *ttt; guint do_red_green_blue; guint16 red, green, blue; wmem_strbuf_t *buffer; const char *sep; buffer=wmem_strbuf_create(wmem_packet_scope()); wmem_strbuf_append(buffer, "colorItem "); red = tvb_get_guint16(tvb, *offsetp + 4, byte_order); green = tvb_get_guint16(tvb, *offsetp + 6, byte_order); blue = tvb_get_guint16(tvb, *offsetp + 8, byte_order); do_red_green_blue = tvb_get_guint8(tvb, *offsetp + 10); sep = ""; if (do_red_green_blue & 0x1) { wmem_strbuf_append_printf(buffer, "red = %d", red); sep = ", "; } if (do_red_green_blue & 0x2) { wmem_strbuf_append_printf(buffer, "%sgreen = %d", sep, green); sep = ", "; } if (do_red_green_blue & 0x4) wmem_strbuf_append_printf(buffer, "%sblue = %d", sep, blue); tti = proto_tree_add_none_format(tt, hf_x11_coloritem, tvb, *offsetp, 12, "%s", wmem_strbuf_get_str(buffer)); ttt = proto_item_add_subtree(tti, ett_x11_color_item); proto_tree_add_item(ttt, hf_x11_coloritem_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_coloritem_red, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_coloritem_green, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_coloritem_blue, tvb, *offsetp, 2, byte_order); *offsetp += 2; colorFlags(tvb, offsetp, ttt); proto_tree_add_item(ttt, hf_x11_coloritem_unused, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } #if 0 /* XXX: Use of GTree no longer needed; use value_string_ext */ static gint compareGuint32(gconstpointer a, gconstpointer b) { return GPOINTER_TO_INT(b) - GPOINTER_TO_INT(a); } #endif static void XConvertCase(register int sym, int *lower, int *upper) { *lower = sym; *upper = sym; switch(sym >> 8) { case 0: /* Latin 1 */ if ((sym >= XK_A) && (sym <= XK_Z)) *lower += (XK_a - XK_A); else if ((sym >= XK_a) && (sym <= XK_z)) *upper -= (XK_a - XK_A); else if ((sym >= XK_Agrave) && (sym <= XK_Odiaeresis)) *lower += (XK_agrave - XK_Agrave); else if ((sym >= XK_agrave) && (sym <= XK_odiaeresis)) *upper -= (XK_agrave - XK_Agrave); else if ((sym >= XK_Ooblique) && (sym <= XK_Thorn)) *lower += (XK_oslash - XK_Ooblique); else if ((sym >= XK_oslash) && (sym <= XK_thorn)) *upper -= (XK_oslash - XK_Ooblique); break; case 1: /* Latin 2 */ /* Assume the KeySym is a legal value (ignore discontinuities) */ if (sym == XK_Aogonek) *lower = XK_aogonek; else if (sym >= XK_Lstroke && sym <= XK_Sacute) *lower += (XK_lstroke - XK_Lstroke); else if (sym >= XK_Scaron && sym <= XK_Zacute) *lower += (XK_scaron - XK_Scaron); else if (sym >= XK_Zcaron && sym <= XK_Zabovedot) *lower += (XK_zcaron - XK_Zcaron); else if (sym == XK_aogonek) *upper = XK_Aogonek; else if (sym >= XK_lstroke && sym <= XK_sacute) *upper -= (XK_lstroke - XK_Lstroke); else if (sym >= XK_scaron && sym <= XK_zacute) *upper -= (XK_scaron - XK_Scaron); else if (sym >= XK_zcaron && sym <= XK_zabovedot) *upper -= (XK_zcaron - XK_Zcaron); else if (sym >= XK_Racute && sym <= XK_Tcedilla) *lower += (XK_racute - XK_Racute); else if (sym >= XK_racute && sym <= XK_tcedilla) *upper -= (XK_racute - XK_Racute); break; case 2: /* Latin 3 */ /* Assume the KeySym is a legal value (ignore discontinuities) */ if (sym >= XK_Hstroke && sym <= XK_Hcircumflex) *lower += (XK_hstroke - XK_Hstroke); else if (sym >= XK_Gbreve && sym <= XK_Jcircumflex) *lower += (XK_gbreve - XK_Gbreve); else if (sym >= XK_hstroke && sym <= XK_hcircumflex) *upper -= (XK_hstroke - XK_Hstroke); else if (sym >= XK_gbreve && sym <= XK_jcircumflex) *upper -= (XK_gbreve - XK_Gbreve); else if (sym >= XK_Cabovedot && sym <= XK_Scircumflex) *lower += (XK_cabovedot - XK_Cabovedot); else if (sym >= XK_cabovedot && sym <= XK_scircumflex) *upper -= (XK_cabovedot - XK_Cabovedot); break; case 3: /* Latin 4 */ /* Assume the KeySym is a legal value (ignore discontinuities) */ if (sym >= XK_Rcedilla && sym <= XK_Tslash) *lower += (XK_rcedilla - XK_Rcedilla); else if (sym >= XK_rcedilla && sym <= XK_tslash) *upper -= (XK_rcedilla - XK_Rcedilla); else if (sym == XK_ENG) *lower = XK_eng; else if (sym == XK_eng) *upper = XK_ENG; else if (sym >= XK_Amacron && sym <= XK_Umacron) *lower += (XK_amacron - XK_Amacron); else if (sym >= XK_amacron && sym <= XK_umacron) *upper -= (XK_amacron - XK_Amacron); break; case 6: /* Cyrillic */ /* Assume the KeySym is a legal value (ignore discontinuities) */ if (sym >= XK_Serbian_DJE && sym <= XK_Serbian_DZE) *lower -= (XK_Serbian_DJE - XK_Serbian_dje); else if (sym >= XK_Serbian_dje && sym <= XK_Serbian_dze) *upper += (XK_Serbian_DJE - XK_Serbian_dje); else if (sym >= XK_Cyrillic_YU && sym <= XK_Cyrillic_HARDSIGN) *lower -= (XK_Cyrillic_YU - XK_Cyrillic_yu); else if (sym >= XK_Cyrillic_yu && sym <= XK_Cyrillic_hardsign) *upper += (XK_Cyrillic_YU - XK_Cyrillic_yu); break; case 7: /* Greek */ /* Assume the KeySym is a legal value (ignore discontinuities) */ if (sym >= XK_Greek_ALPHAaccent && sym <= XK_Greek_OMEGAaccent) *lower += (XK_Greek_alphaaccent - XK_Greek_ALPHAaccent); else if (sym >= XK_Greek_alphaaccent && sym <= XK_Greek_omegaaccent && sym != XK_Greek_iotaaccentdieresis && sym != XK_Greek_upsilonaccentdieresis) *upper -= (XK_Greek_alphaaccent - XK_Greek_ALPHAaccent); else if (sym >= XK_Greek_ALPHA && sym <= XK_Greek_OMEGA) *lower += (XK_Greek_alpha - XK_Greek_ALPHA); else if (sym >= XK_Greek_alpha && sym <= XK_Greek_omega && sym != XK_Greek_finalsmallsigma) *upper -= (XK_Greek_alpha - XK_Greek_ALPHA); break; } } static const char * keycode2keysymString(int *keycodemap[256], int first_keycode, int keysyms_per_keycode, int *modifiermap[array_length(modifiers)], int keycodes_per_modifier, guint32 keycode, guint32 bitmask) { int *syms; int groupmodkc, numlockkc, numlockmod, groupmod; int lockmod_is_capslock = 0, lockmod_is_shiftlock = 0; int lockmod_is_nosymbol = 1; int modifier, kc, keysym; if ((syms = keycodemap[keycode]) == NULL) return "<Unknown>"; for (kc = first_keycode, groupmodkc = numlockkc = -1; kc < 256; ++kc) for (keysym = 0; keysym < keysyms_per_keycode; ++keysym) { if (keycodemap[kc] == NULL) return "<Unknown>"; switch (keycodemap[kc][keysym]) { case 0xff7e: groupmodkc = kc; break; case 0xff7f: numlockkc = kc; break; case 0xffe5: lockmod_is_capslock = kc; break; case 0xffe6: lockmod_is_shiftlock = kc; break; } } /* * If we have not seen the modifiermap we don't know what the * keycode translates to, but we do know it's one of the keys * in syms (give or take a case-conversion), so we could in * theory list them all. */ if (modifiermap[array_length(modifiers) - 1] == NULL) /* all or none */ return "<Unknown>"; /* find out what the numlockmodifer and groupmodifier is. */ for (modifier = 0, numlockmod = groupmod = -1; modifier < (int)array_length(modifiers) && numlockmod == -1; ++modifier) for (kc = 0; kc < keycodes_per_modifier; ++kc) if (modifiermap[modifier][kc] == numlockkc) numlockmod = modifier; else if (modifiermap[modifier][kc] == groupmodkc) groupmod = modifier; /* * ... and what the lockmodifier is interpreted as. * (X11v4r6 ref, keyboard and pointers section.) */ for (kc = 0; kc < keycodes_per_modifier; ++kc) if (modifiermap[1][kc] == lockmod_is_capslock) { lockmod_is_shiftlock = lockmod_is_nosymbol = 0; break; } else if (modifiermap[0][kc] == lockmod_is_shiftlock) { lockmod_is_capslock = lockmod_is_nosymbol = 0; break; } #if 0 /* * This is (how I understand) the X11v4R6 protocol description given * in A. Nye's book. It is quite different from the * code in _XTranslateKey() in the file * "$XConsortium: KeyBind.c /main/55 1996/02/02 14:08:55 kaleb $" * as shipped with XFree, and doesn't work correctly, nor do I see * how it could (e.g. the case of lower/uppercase-letters). * -- Michael Shuldman */ if (numlockmod >= 0 && (bitmask & modifiermask[numlockmod]) && ((syms[1] >= 0xff80 && syms[1] <= 0xffbd) || (syms[1] >= 0x11000000 && syms[1] <= 0x1100ffff))) { if ((bitmask & ShiftMask) || lockmod_is_shiftlock) return keysymString(syms[groupmod + 0]); else if (syms[groupmod + 1] == NoSymbol) return keysymString(syms[groupmod + 0]); else return keysymString(syms[groupmod + 1]); } else if (!(bitmask & ShiftMask) && !(bitmask & LockMask)) return keysymString(syms[groupmod + 0]); else if (!(bitmask & ShiftMask) && ((bitmask & LockMask) && lockmod_is_capslock)) if (islower(syms[groupmod + 0])) /* return toupper(keysymString(syms[groupmod + 0])); */ return "Uppercase"; /* XXX */ else return keysymString(syms[groupmod + 0]); else if ((bitmask & ShiftMask) && ((bitmask & LockMask) && lockmod_is_capslock)) if (islower(syms[groupmod + 1])) /* return toupper(keysymString(syms[groupmod + 1])); */ return "Uppercase"; /* XXX */ else return keysymString(syms[groupmod + 1]); else if ((bitmask & ShiftMask) || ((bitmask & LockMask) && lockmod_is_shiftlock)) return keysymString(syms[groupmod + 1]); #else /* _XTranslateKey() based code. */ while (keysyms_per_keycode > 2 && keycodemap[keysyms_per_keycode - 1] == NoSymbol) --keysyms_per_keycode; if (keysyms_per_keycode > 2 && (groupmod >= 0 && (modifiermask[groupmod] & bitmask))) { syms += 2; keysyms_per_keycode -= 2; } if (numlockmod >= 0 && (bitmask & modifiermask[numlockmod]) && keysyms_per_keycode > 1 && ((syms[1] >= 0xff80 && syms[1] <= 0xffbd) || (syms[1] >= 0x11000000 && syms[1] <= 0x1100ffff))) { if ((bitmask & ShiftMask) || (bitmask & LockMask && lockmod_is_shiftlock)) keysym = syms[0]; else keysym = syms[1]; } else if (!(bitmask & ShiftMask) && (!(bitmask & LockMask) || lockmod_is_nosymbol)) { if (keysyms_per_keycode == 1 || (keysyms_per_keycode > 1 && syms[1] == NoSymbol)) { int usym; XConvertCase(syms[0], &keysym, &usym); } else keysym = syms[0]; } else if (!(bitmask & LockMask) || !lockmod_is_capslock) { int lsym, usym = 0; if (keysyms_per_keycode == 1 || (keysyms_per_keycode > 1 && (usym = syms[1]) == NoSymbol)) XConvertCase(syms[0], &lsym, &usym); keysym = usym; } else { int lsym, usym = 0; if (keysyms_per_keycode == 1 || (keysyms_per_keycode > 1 && syms[1] == NoSymbol)) keysym = syms[0]; XConvertCase(keysym, &lsym, &usym); if (!(bitmask & ShiftMask) && keysym != syms[0] && ((keysym != usym) || (lsym == usym))) XConvertCase(syms[0], &lsym, &usym); keysym = usym; } if (keysym == XK_VoidSymbol) keysym = NoSymbol; return wmem_strdup_printf(wmem_packet_scope(), "%d, \"%s\"", keysym, keysymString(keysym)); #endif } static const char *keysymString(guint32 v) { #if 0 /* XXX: Use of GTree no longer needed; use value_string_ext */ static GTree *keysymTable = NULL; gpointer res; if (!keysymTable) { /* This table is so big that we built it only if necessary */ const value_string *p = x11_keysym_vals_source; keysymTable = g_tree_new(compareGuint32); for(; p -> strptr; p++) g_tree_insert(keysymTable, GINT_TO_POINTER(p -> value), (gpointer) (p -> strptr) ); } res = g_tree_lookup(keysymTable, GINT_TO_POINTER(v)); return res ? res : "<Unknown>"; #endif return val_to_str_ext_const(v, &x11_keysym_vals_source_ext, "<Unknown>"); } static void listOfKeycode(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int *modifiermap[], int keycodes_per_modifier, guint byte_order _U_) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, (int)array_length(modifiers) * keycodes_per_modifier, ENC_NA); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_keycode); size_t m; for (m = 0; m < array_length(modifiers); ++m, *offsetp += keycodes_per_modifier) { proto_item *tikc; int i; tikc = proto_tree_add_bytes_format(tt, hf_x11_keycodes_item, tvb, *offsetp, keycodes_per_modifier, NULL, "item: "); modifiermap[m] = (int *) wmem_alloc(wmem_file_scope(), sizeof(*modifiermap[m]) * keycodes_per_modifier); for(i = 0; i < keycodes_per_modifier; ++i) { guchar c = tvb_get_guint8(tvb, (*offsetp) + i); if (c) proto_item_append_text(tikc, " %s=%d", modifiers[m], c); modifiermap[m][i] = c; } } } static void listOfKeysyms(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, int hf, int hf_item, int *keycodemap[256], int keycode_first, int keycode_count, int keysyms_per_keycode, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, keycode_count * keysyms_per_keycode * 4, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_keysyms); proto_item *tti; proto_tree *ttt; int i, keycode; DISSECTOR_ASSERT(keycode_first >= 0); DISSECTOR_ASSERT(keycode_count >= 0); for (keycode = keycode_first; keycode_count > 0; ++keycode, --keycode_count) { tti = proto_tree_add_none_format(tt, hf_item, tvb, *offsetp, 4 * keysyms_per_keycode, "keysyms (keycode %d):", keycode); if (keycode >= 256) { expert_add_info_format(pinfo, tti, &ei_x11_keycode_value_out_of_range, "keycode value %d is out of range", keycode); *offsetp += 4 * keysyms_per_keycode; continue; } ttt = proto_item_add_subtree(tti, ett_x11_keysym); tvb_ensure_bytes_exist(tvb, *offsetp, 4 * keysyms_per_keycode); keycodemap[keycode] = (int *)wmem_alloc(wmem_file_scope(), sizeof(*keycodemap[keycode]) * keysyms_per_keycode); for(i = 0; i < keysyms_per_keycode; ++i) { /* keysymvalue = byte3 * 256 + byte4. */ guint32 v = tvb_get_guint32(tvb, *offsetp, byte_order); proto_item_append_text(tti, " %s", keysymString(v)); proto_tree_add_uint_format(ttt, hf_x11_keysyms_item_keysym, tvb, *offsetp, 4, v, "keysym (keycode %d): 0x%08x (%s)", keycode, v, keysymString(v)); keycodemap[keycode][i] = v; *offsetp += 4; } for (i = 1; i < keysyms_per_keycode; ++i) if (keycodemap[keycode][i] != NoSymbol) break; if (i == keysyms_per_keycode) { /* all but (possibly) first were NoSymbol. */ if (keysyms_per_keycode == 4) { keycodemap[keycode][1] = NoSymbol; keycodemap[keycode][2] = keycodemap[keycode][0]; keycodemap[keycode][3] = NoSymbol; } continue; } for (i = 2; i < keysyms_per_keycode; ++i) if (keycodemap[keycode][i] != NoSymbol) break; if (i == keysyms_per_keycode) { /* all but (possibly) first two were NoSymbol. */ if (keysyms_per_keycode == 4) { keycodemap[keycode][2] = keycodemap[keycode][0]; keycodemap[keycode][3] = keycodemap[keycode][1]; } continue; } } } static void listOfPoint(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 4, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_point); while(length--) { gint16 x, y; proto_item *tti; proto_tree *ttt; x = tvb_get_guint16(tvb, *offsetp, byte_order); y = tvb_get_guint16(tvb, *offsetp + 2, byte_order); tti = proto_tree_add_none_format(tt, hf_x11_point, tvb, *offsetp, 4, "point: (%d,%d)", x, y); ttt = proto_item_add_subtree(tti, ett_x11_point); proto_tree_add_int(ttt, hf_x11_point_x, tvb, *offsetp, 2, x); *offsetp += 2; proto_tree_add_int(ttt, hf_x11_point_y, tvb, *offsetp, 2, y); *offsetp += 2; } } static void listOfRectangle(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 8, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_rectangle); while(length--) { gint16 x, y; guint width, height; proto_item *tti; proto_tree *ttt; x = tvb_get_guint16(tvb, *offsetp, byte_order); y = tvb_get_guint16(tvb, *offsetp + 2, byte_order); width = tvb_get_guint16(tvb, *offsetp + 4, byte_order); height = tvb_get_guint16(tvb, *offsetp + 6, byte_order); tti = proto_tree_add_none_format(tt, hf_x11_rectangle, tvb, *offsetp, 8, "rectangle: %dx%d+%d+%d", width, height, x, y); ttt = proto_item_add_subtree(tti, ett_x11_rectangle); proto_tree_add_int(ttt, hf_x11_rectangle_x, tvb, *offsetp, 2, x); *offsetp += 2; proto_tree_add_int(ttt, hf_x11_rectangle_y, tvb, *offsetp, 2, y); *offsetp += 2; proto_tree_add_uint(ttt, hf_x11_rectangle_width, tvb, *offsetp, 2, width); *offsetp += 2; proto_tree_add_uint(ttt, hf_x11_rectangle_height, tvb, *offsetp, 2, height); *offsetp += 2; } } static void listOfSegment(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 8, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_segment); while(length--) { gint16 x1, y1, x2, y2; proto_item *tti; proto_tree *ttt; x1 = tvb_get_guint16(tvb, *offsetp, byte_order); y1 = tvb_get_guint16(tvb, *offsetp + 2, byte_order); x2 = tvb_get_guint16(tvb, *offsetp + 4, byte_order); y2 = tvb_get_guint16(tvb, *offsetp + 6, byte_order); tti = proto_tree_add_none_format(tt, hf_x11_segment, tvb, *offsetp, 8, "segment: (%d,%d)-(%d,%d)", x1, y1, x2, y2); ttt = proto_item_add_subtree(tti, ett_x11_segment); proto_tree_add_item(ttt, hf_x11_segment_x1, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_segment_y1, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_segment_x2, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_segment_y2, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void listOfVisualTypes(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 24, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_visualtype); while(length--) { proto_item *tti; proto_tree *ttt; tti = proto_tree_add_none_format(tt, hf_x11_visualtype, tvb, *offsetp, 24, "visualtype"); ttt = proto_item_add_subtree(tti, ett_x11_visualtype); proto_tree_add_item(ttt, hf_x11_visualtype_visualid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_visualtype_class, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_visualtype_bits_per_rgb_value, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_visualtype_colormap_entries, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_visualtype_red_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_visualtype_green_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_visualtype_blue_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_unused, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void listOfDepth(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { guint16 number_of_visualtypes; proto_item *ti; proto_tree *tt; ti = proto_tree_add_item(t, hf, tvb, *offsetp, -1, byte_order); tt = proto_item_add_subtree(ti, ett_x11_list_of_depth_detail); while(length--) { proto_item *tti; proto_tree *ttt; number_of_visualtypes = tvb_get_guint16(tvb, *offsetp + 2, byte_order); tti = proto_tree_add_none_format(tt, hf_x11_depth_detail, tvb, *offsetp, 8 + 24 * number_of_visualtypes, "depth-detail"); ttt = proto_item_add_subtree(tti, ett_x11_screen); proto_tree_add_item(ttt, hf_x11_depth_detail_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_unused, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_depth_detail_visualtypes_numbers, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_unused, tvb, *offsetp, 4, byte_order); *offsetp += 4; if (number_of_visualtypes > 0) listOfVisualTypes(tvb, offsetp, ttt, hf_x11_visualtype, number_of_visualtypes, byte_order); } } static void listOfScreen(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, -1, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_screen); while(length--) { guint8 number_of_depths, root_depth; guint16 width_in_pixels, height_in_pixels; guint32 screen_root; proto_item *tti; proto_tree *ttt; screen_root = tvb_get_guint32(tvb, *offsetp, byte_order); width_in_pixels = tvb_get_guint16(tvb, *offsetp + 20, byte_order); height_in_pixels = tvb_get_guint16(tvb, *offsetp + 22, byte_order); root_depth = tvb_get_guint8(tvb, *offsetp + 38); tti = proto_tree_add_none_format(tt, hf_x11_screen, tvb, *offsetp, 0, "screen (%08x: %d x %d x %d)", screen_root, width_in_pixels, height_in_pixels, root_depth); ttt = proto_item_add_subtree(tti, ett_x11_screen); proto_tree_add_item(ttt, hf_x11_screen_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_screen_default_colormap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_screen_white_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_screen_black_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_screen_current_input_masks, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_screen_width_in_pixels, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_screen_height_in_pixels, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_screen_width_in_millimeters, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_screen_height_in_millimeters, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_screen_min_installed_maps, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_screen_max_installed_maps, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(ttt, hf_x11_screen_root_visual, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(ttt, hf_x11_screen_backing_stores, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_screen_save_unders, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_screen_root_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; number_of_depths = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(ttt, hf_x11_screen_allowed_depths_len, tvb, *offsetp, 1, byte_order); *offsetp += 1; listOfDepth(tvb, offsetp, ttt, hf_x11_depth_detail, number_of_depths, byte_order); } } static void listOfPixmapFormat(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int length, guint byte_order) { proto_item *ti = proto_tree_add_item(t, hf, tvb, *offsetp, length * 8, byte_order); proto_tree *tt = proto_item_add_subtree(ti, ett_x11_list_of_pixmap_format); while(length--) { proto_item *tti; proto_tree *ttt; tti = proto_tree_add_none_format(tt, hf_x11_pixmap_format, tvb, *offsetp, 8, "pixmap-format"); ttt = proto_item_add_subtree(tti, ett_x11_pixmap_format); proto_tree_add_item(ttt, hf_x11_pixmap_format_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_pixmap_format_bits_per_pixel, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_pixmap_format_scanline_pad, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(ttt, hf_x11_unused, tvb, *offsetp, 5, byte_order); *offsetp += 5; } } static void listOfString8(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_item, int length, guint byte_order) { char *s = NULL; proto_item *ti; proto_tree *tt; int i; /* Compute total length */ int scanning_offset = *offsetp; /* Scanning pointer */ for(i = length; i; i--) { int l; l = tvb_get_guint8(tvb, scanning_offset); scanning_offset += 1 + l; } ti = proto_tree_add_item(t, hf, tvb, *offsetp, scanning_offset - *offsetp, byte_order); tt = proto_item_add_subtree(ti, ett_x11_list_of_string8); while(length--) { guint l = tvb_get_guint8(tvb, *offsetp); s = tvb_get_string_enc(wmem_packet_scope(), tvb, *offsetp + 1, l, ENC_ASCII); proto_tree_add_string_format(tt, hf_item, tvb, *offsetp, l + 1, s, "\"%s\"", s); *offsetp += l + 1; } } static int stringIsActuallyAn8BitString(tvbuff_t *tvb, int offset, guint length) { for(; length > 0; offset += 2, length--) { if (tvb_get_guint8(tvb, offset)) return FALSE; } return TRUE; } /* XXX - assumes that the string encoding is ASCII; even if 0x00 through 0x7F are ASCII, 0x80 through 0xFF might not be, and even 0x00 through 0x7F aren't necessarily ASCII. */ static char *tvb_get_ascii_string16(tvbuff_t *tvb, int offset, guint length) { wmem_strbuf_t *str; guint8 ch; str = wmem_strbuf_new_sized(wmem_packet_scope(), length + 1); while(length--) { offset++; ch = tvb_get_guint8(tvb, offset); if (ch < 0x80) wmem_strbuf_append_c(str, ch); else wmem_strbuf_append_unichar_repl(str); offset++; } return wmem_strbuf_finalize(str); } static void listOfTextItem(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int sizeIs16, int next_offset, guint byte_order) { char *s = NULL; proto_item *ti; proto_tree *tt; guint32 fid; /* Compute total length */ int scanning_offset = *offsetp; /* Scanning pointer */ int n = 0; /* Number of items */ while(scanning_offset < next_offset) { int l; /* Length of an individual item */ l = tvb_get_guint8(tvb, scanning_offset); scanning_offset++; if (!l) break; n++; scanning_offset += l == 255 ? 4 : l + (sizeIs16 ? l : 0) + 1; } ti = proto_tree_add_item(t, hf, tvb, *offsetp, scanning_offset - *offsetp, byte_order); tt = proto_item_add_subtree(ti, ett_x11_list_of_text_item); while(n--) { guint l = tvb_get_guint8(tvb, *offsetp); if (l == 255) { /* Item is a font */ fid = tvb_get_ntohl(tvb, *offsetp + 1); proto_tree_add_uint(tt, hf_x11_textitem_font, tvb, *offsetp, 5, fid); *offsetp += 5; } else { /* Item is a string */ proto_item *tti; proto_tree *ttt; gint8 delta = tvb_get_guint8(tvb, *offsetp + 1); if (sizeIs16) { if (stringIsActuallyAn8BitString(tvb, *offsetp + 2, l)) { s = tvb_get_ascii_string16(tvb, *offsetp + 2, l); tti = proto_tree_add_none_format(tt, hf_x11_textitem_string, tvb, *offsetp, l*2 + 2, "textitem (string): delta = %d, \"%s\"", delta, s); ttt = proto_item_add_subtree(tti, ett_x11_text_item); proto_tree_add_item(ttt, hf_x11_textitem_string_delta, tvb, *offsetp + 1, 1, byte_order); proto_tree_add_string_format_value(ttt, hf_x11_textitem_string_string16, tvb, *offsetp + 2, l, s, "\"%s\"", s); } else { tti = proto_tree_add_none_format(tt, hf_x11_textitem_string, tvb, *offsetp, l*2 + 2, "textitem (string): delta = %d, %s", delta, tvb_bytes_to_str(wmem_packet_scope(), tvb, *offsetp + 2, l*2)); ttt = proto_item_add_subtree(tti, ett_x11_text_item); proto_tree_add_item(ttt, hf_x11_textitem_string_delta, tvb, *offsetp + 1, 1, byte_order); proto_tree_add_item(ttt, hf_x11_textitem_string_string16_bytes, tvb, *offsetp + 2, l*2, byte_order); } *offsetp += l*2 + 2; } else { s = tvb_get_string_enc(wmem_packet_scope(), tvb, *offsetp + 2, l, ENC_ASCII); tti = proto_tree_add_none_format(tt, hf_x11_textitem_string, tvb, *offsetp, l + 2, "textitem (string): delta = %d, \"%s\"", delta, s); ttt = proto_item_add_subtree(tti, ett_x11_text_item); proto_tree_add_item(ttt, hf_x11_textitem_string_delta, tvb, *offsetp + 1, 1, byte_order); proto_tree_add_string_format(ttt, hf_x11_textitem_string_string8, tvb, *offsetp + 2, l, s, "\"%s\"", s); *offsetp += l + 2; } } } } static guint32 field8(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, guint byte_order) { guint32 v = tvb_get_guint8(tvb, *offsetp); header_field_info *hfi = proto_registrar_get_nth(hf); const gchar *enumValue = NULL; if (hfi -> strings) enumValue = try_val_to_str(v, cVALS(hfi -> strings)); if (enumValue) proto_tree_add_uint_format(t, hf, tvb, *offsetp, 1, v, hfi -> display == BASE_DEC ? "%s: %u (%s)" : "%s: 0x%02x (%s)", hfi -> name, v, enumValue); else proto_tree_add_item(t, hf, tvb, *offsetp, 1, byte_order); *offsetp += 1; return v; } static guint32 field16(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, guint byte_order) { guint32 v = tvb_get_guint16(tvb, *offsetp, byte_order); header_field_info *hfi = proto_registrar_get_nth(hf); const gchar *enumValue = NULL; if (hfi -> strings) enumValue = try_val_to_str(v, cVALS(hfi -> strings)); if (enumValue) proto_tree_add_uint_format(t, hf, tvb, *offsetp, 2, v, hfi -> display == BASE_DEC ? "%s: %u (%s)" : "%s: 0x%02x (%s)", hfi -> name, v, enumValue); else proto_tree_add_item(t, hf, tvb, *offsetp, 2, byte_order); *offsetp += 2; return v; } static guint32 field32(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, guint byte_order) { guint32 v = tvb_get_guint32(tvb, *offsetp, byte_order); header_field_info *hfi = proto_registrar_get_nth(hf); const gchar *enumValue = NULL; const gchar *nameAsChar = hfi -> name; if (hfi -> strings) enumValue = try_val_to_str(v, cVALS(hfi -> strings)); if (enumValue) proto_tree_add_uint_format(t, hf, tvb, *offsetp, 4, v, hfi -> display == BASE_DEC ? "%s: %u (%s)" : "%s: 0x%08x (%s)", nameAsChar, v, enumValue); else proto_tree_add_uint_format(t, hf, tvb, *offsetp, 4, v, hfi -> display == BASE_DEC ? "%s: %u" : "%s: 0x%08x", nameAsChar, v); *offsetp += 4; return v; } static int * const gc_mask_attributes[] = { &hf_x11_gc_value_mask_function, &hf_x11_gc_value_mask_plane_mask, &hf_x11_gc_value_mask_foreground, &hf_x11_gc_value_mask_background, &hf_x11_gc_value_mask_line_width, &hf_x11_gc_value_mask_line_style, &hf_x11_gc_value_mask_cap_style, &hf_x11_gc_value_mask_join_style, &hf_x11_gc_value_mask_fill_style, &hf_x11_gc_value_mask_fill_rule, &hf_x11_gc_value_mask_tile, &hf_x11_gc_value_mask_stipple, &hf_x11_gc_value_mask_tile_stipple_x_origin, &hf_x11_gc_value_mask_tile_stipple_y_origin, &hf_x11_gc_value_mask_font, &hf_x11_gc_value_mask_subwindow_mode, &hf_x11_gc_value_mask_graphics_exposures, &hf_x11_gc_value_mask_clip_x_origin, &hf_x11_gc_value_mask_clip_y_origin, &hf_x11_gc_value_mask_clip_mask, &hf_x11_gc_value_mask_dash_offset, &hf_x11_gc_value_mask_gc_dashes, &hf_x11_gc_value_mask_arc_mode, NULL }; static void gcAttributes(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { guint32 bitmask; bitmask = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_gc_value_mask, ett_x11_gc_value_mask, gc_mask_attributes, byte_order); *offsetp += 4; if (bitmask & 0x00000001) { proto_tree_add_item(t, hf_x11_function, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000002) { proto_tree_add_item(t, hf_x11_plane_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000004) { proto_tree_add_item(t, hf_x11_foreground, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000008) { proto_tree_add_item(t, hf_x11_background, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000010) { proto_tree_add_item(t, hf_x11_line_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask & 0x00000020) { proto_tree_add_item(t, hf_x11_line_style, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000040) { proto_tree_add_item(t, hf_x11_cap_style, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000080) { proto_tree_add_item(t, hf_x11_join_style, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000100) { proto_tree_add_item(t, hf_x11_fill_style, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000200) { proto_tree_add_item(t, hf_x11_fill_rule, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000400) { proto_tree_add_item(t, hf_x11_tile, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000800) { proto_tree_add_item(t, hf_x11_stipple, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00001000) { proto_tree_add_item(t, hf_x11_tile_stipple_x_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask & 0x00002000) { proto_tree_add_item(t, hf_x11_tile_stipple_y_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask & 0x00004000) { proto_tree_add_item(t, hf_x11_font, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00008000) { proto_tree_add_item(t, hf_x11_subwindow_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00010000) { proto_tree_add_item(t, hf_x11_graphics_exposures, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00020000) { proto_tree_add_item(t, hf_x11_clip_x_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask & 0x00040000) { proto_tree_add_item(t, hf_x11_clip_y_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask & 0x00080000) { proto_tree_add_item(t, hf_x11_clip_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00100000) { proto_tree_add_item(t, hf_x11_dash_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask & 0x00200000) { proto_tree_add_item(t, hf_x11_gc_dashes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00400000) { proto_tree_add_item(t, hf_x11_arc_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } } static void gcMask(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_gc_value_mask, ett_x11_gc_value_mask, gc_mask_attributes, byte_order); *offsetp += 4; } static guint32 requestLength(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { guint32 res; proto_item *ti = proto_tree_add_item_ret_uint(t, hf_x11_request_length, tvb, *offsetp, 2, byte_order, &res); *offsetp += 2; if (res == 0) { proto_item_append_text(ti, " (extended length flag)"); proto_tree_add_item_ret_uint(t, hf_x11_request_length, tvb, *offsetp, 4, byte_order, &res); *offsetp += 4; } return res * 4; } static void setOfEvent(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { static int * const events[] = { &hf_x11_event_mask_KeyPress, &hf_x11_event_mask_KeyRelease, &hf_x11_event_mask_ButtonPress, &hf_x11_event_mask_ButtonRelease, &hf_x11_event_mask_EnterWindow, &hf_x11_event_mask_LeaveWindow, &hf_x11_event_mask_PointerMotion, &hf_x11_event_mask_PointerMotionHint, &hf_x11_event_mask_Button1Motion, &hf_x11_event_mask_Button2Motion, &hf_x11_event_mask_Button3Motion, &hf_x11_event_mask_Button4Motion, &hf_x11_event_mask_Button5Motion, &hf_x11_event_mask_ButtonMotion, &hf_x11_event_mask_KeymapState, &hf_x11_event_mask_Exposure, &hf_x11_event_mask_VisibilityChange, &hf_x11_event_mask_StructureNotify, &hf_x11_event_mask_ResizeRedirect, &hf_x11_event_mask_SubstructureNotify, &hf_x11_event_mask_SubstructureRedirect, &hf_x11_event_mask_FocusChange, &hf_x11_event_mask_PropertyChange, &hf_x11_event_mask_ColormapChange, &hf_x11_event_mask_OwnerGrabButton, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_event_mask, ett_x11_event_mask, events, byte_order); *offsetp += 4; } static void setOfDeviceEvent(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { static int * const do_not_propagate_events[] = { &hf_x11_do_not_propagate_mask_KeyPress, &hf_x11_do_not_propagate_mask_KeyRelease, &hf_x11_do_not_propagate_mask_ButtonPress, &hf_x11_do_not_propagate_mask_ButtonRelease, &hf_x11_do_not_propagate_mask_PointerMotion, &hf_x11_do_not_propagate_mask_Button1Motion, &hf_x11_do_not_propagate_mask_Button2Motion, &hf_x11_do_not_propagate_mask_Button3Motion, &hf_x11_do_not_propagate_mask_Button4Motion, &hf_x11_do_not_propagate_mask_Button5Motion, &hf_x11_do_not_propagate_mask_ButtonMotion, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_do_not_propagate_mask, ett_x11_do_not_propagate_mask, do_not_propagate_events, byte_order); *offsetp += 4; } static void setOfKeyButMask(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, gboolean butmask) { proto_item *ti; guint32 bitmask_value; int bitmask_offset; int bitmask_size; proto_tree *bitmask_tree; bitmask_value = tvb_get_guint16(tvb, *offsetp, byte_order); bitmask_offset = *offsetp; bitmask_size = 2; if (!butmask && bitmask_value == 0x8000) proto_tree_add_uint_format(t, hf_x11_modifiers_mask_AnyModifier, tvb, *offsetp, 2, 0x8000, "modifiers-masks: 0x8000 (AnyModifier)"); else { ti = proto_tree_add_uint(t, hf_x11_modifiers_mask, tvb, *offsetp, 2, bitmask_value); bitmask_tree = proto_item_add_subtree(ti, ett_x11_set_of_key_mask); FLAG(modifiers, Shift); FLAG(modifiers, Lock); FLAG(modifiers, Control); FLAG(modifiers, Mod1); FLAG(modifiers, Mod2); FLAG(modifiers, Mod3); FLAG(modifiers, Mod4); FLAG(modifiers, Mod5); if (butmask) { FLAG(modifiers, Button1); FLAG(modifiers, Button2); FLAG(modifiers, Button3); FLAG(modifiers, Button4); FLAG(modifiers, Button5); } if (butmask) FLAG_IF_NONZERO(keybut, erroneous_bits); else FLAG_IF_NONZERO(modifiers, erroneous_bits); } *offsetp += 2; } static void setOfPointerEvent(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { static int * const pointer_events[] = { &hf_x11_pointer_event_mask_ButtonRelease, &hf_x11_pointer_event_mask_EnterWindow, &hf_x11_pointer_event_mask_LeaveWindow, &hf_x11_pointer_event_mask_PointerMotion, &hf_x11_pointer_event_mask_PointerMotionHint, &hf_x11_pointer_event_mask_Button1Motion, &hf_x11_pointer_event_mask_Button2Motion, &hf_x11_pointer_event_mask_Button3Motion, &hf_x11_pointer_event_mask_Button4Motion, &hf_x11_pointer_event_mask_Button5Motion, &hf_x11_pointer_event_mask_ButtonMotion, &hf_x11_pointer_event_mask_KeymapState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_pointer_event_mask, ett_x11_pointer_event_mask, pointer_events, byte_order); *offsetp += 2; } static void string8(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, guint length) { proto_tree_add_item(t, hf, tvb, *offsetp, length, ENC_NA|ENC_ASCII); *offsetp += length; } /* The length supplied is the length of the string in CHAR2Bs (half the number of bytes) */ static void string16(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, int hf_bytes, guint length, guint byte_order) { guint l = length*2; /* byte count */ char *s; if (stringIsActuallyAn8BitString(tvb, *offsetp, length)) { s = tvb_get_ascii_string16(tvb, *offsetp, length); proto_tree_add_string_format_value(t, hf, tvb, *offsetp, l, s, "\"%s\"", s); } else proto_tree_add_item(t, hf_bytes, tvb, *offsetp, l, byte_order); *offsetp += l; } static void timestamp(tvbuff_t *tvb, int *offsetp, proto_tree *t, int hf, guint byte_order) { guint32 v = tvb_get_guint32(tvb, *offsetp, byte_order); if (!v) proto_tree_add_uint_format(t, hf, tvb, *offsetp, 4, 0, "%s: 0 (CurrentTime)", proto_registrar_get_nth(hf) -> name); else proto_tree_add_uint(t, hf, tvb, *offsetp, 4, v); *offsetp += 4; } static void windowAttributes(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { guint32 bitmask; static int * const window_attributes_flags[] = { &hf_x11_window_value_mask_background_pixmap, &hf_x11_window_value_mask_background_pixel, &hf_x11_window_value_mask_border_pixmap, &hf_x11_window_value_mask_border_pixel, &hf_x11_window_value_mask_bit_gravity, &hf_x11_window_value_mask_win_gravity, &hf_x11_window_value_mask_backing_store, &hf_x11_window_value_mask_backing_planes, &hf_x11_window_value_mask_backing_pixel, &hf_x11_window_value_mask_override_redirect, &hf_x11_window_value_mask_save_under, &hf_x11_window_value_mask_event_mask, &hf_x11_window_value_mask_do_not_propagate_mask, &hf_x11_window_value_mask_colormap, &hf_x11_window_value_mask_cursor, NULL }; bitmask = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_window_value_mask, ett_x11_window_value_mask, window_attributes_flags, byte_order); *offsetp += 4; if (bitmask & 0x00000001) { proto_tree_add_item(t, hf_x11_background_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000002) { proto_tree_add_item(t, hf_x11_background_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000004) { proto_tree_add_item(t, hf_x11_border_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000008) { proto_tree_add_item(t, hf_x11_border_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000010) { proto_tree_add_item(t, hf_x11_bit_gravity, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000020) { proto_tree_add_item(t, hf_x11_win_gravity, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000040) { proto_tree_add_item(t, hf_x11_backing_store, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000080) { proto_tree_add_item(t, hf_x11_backing_planes, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000100) { proto_tree_add_item(t, hf_x11_backing_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00000200) { proto_tree_add_item(t, hf_x11_override_redirect, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000400) { proto_tree_add_item(t, hf_x11_save_under, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask & 0x00000800) { setOfEvent(tvb, offsetp, t, byte_order); } if (bitmask & 0x00001000) { setOfDeviceEvent(tvb, offsetp, t, byte_order); } if (bitmask & 0x00002000) { proto_tree_add_item(t, hf_x11_colormap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask & 0x00004000) { proto_tree_add_item(t, hf_x11_cursor, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } /************************************************************************ *** *** *** G U E S S I N G T H E B Y T E O R D E R I N G *** *** *** ************************************************************************/ /* If we can't guess, we return ENC_LITTLE_ENDIAN, cause I'm developing on a Linux box :-). The (non-)guess isn't cached however, so we may have more luck next time. I'm quite conservative in my assertions, cause once it's cached, it stays in cache, and we may be fooled up by a packet starting with the end of a request started in a previous packet... */ static int numberOfBitSetTable[] = { 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4 }; static int numberOfBitSet(tvbuff_t *tvb, int offset, int maskLength) { int res = 0; while(maskLength--) { int c = tvb_get_guint8(tvb, offset); offset++; res += numberOfBitSetTable[c & 0xf] + numberOfBitSetTable[c >> 4]; } return res; } static int listOfStringLengthConsistent(tvbuff_t *tvb, int offset, int length, int listLength) { if (listLength > length) return FALSE; while(listLength--) { int l; if (!tvb_bytes_exist(tvb, offset, 1)) return TRUE; l = tvb_get_guint8(tvb, offset); if (!l) break; l++; if (l > length) return FALSE; if (!tvb_bytes_exist(tvb, offset, l)) return TRUE; offset += l; length -= l; } if (length > 3) return FALSE; return TRUE; } static int rounded4(int n) { int remainder = n % 4; int res = n / 4; if (remainder) res++; return res; } /* We assume the order to be consistent, until proven wrong. */ static gboolean consistentWithOrder(int length, tvbuff_t *tvb, int offset, int encoding) { switch(tvb_get_guint8(tvb, offset)) { case X_CreateWindow: return !tvb_bytes_exist(tvb, offset, 32) || length == 8 + numberOfBitSet(tvb, offset + 7 * 4, 4); case X_ChangeWindowAttributes: case X_ChangeGC: return !tvb_bytes_exist(tvb, offset, 12) || length == 3 + numberOfBitSet(tvb, offset + 8, 4); case X_GetWindowAttributes: case X_DestroyWindow: case X_DestroySubwindows: case X_ChangeSaveSet: case X_MapWindow: case X_MapSubwindows: case X_UnmapWindow: case X_UnmapSubwindows: case X_CirculateWindow: case X_GetGeometry: case X_QueryTree: case X_GetAtomName: case X_ListProperties: case X_GetSelectionOwner: case X_UngrabPointer: case X_UngrabKeyboard: case X_AllowEvents: case X_QueryPointer: case X_CloseFont: case X_QueryFont: case X_FreePixmap: case X_FreeGC: case X_FreeColormap: case X_InstallColormap: case X_UninstallColormap: case X_ListInstalledColormaps: case X_FreeCursor: case X_GetKeyboardMapping: case X_KillClient: return length == 2; case X_ReparentWindow: case X_SetSelectionOwner: case X_ChangeActivePointerGrab: case X_GrabKeyboard: case X_GrabKey: case X_GetMotionEvents: case X_TranslateCoords: case X_CreatePixmap: case X_CopyGC: case X_ClearArea: case X_CreateColormap: case X_AllocColor: case X_AllocColorPlanes: return length == 4; case X_ConfigureWindow: return !tvb_bytes_exist(tvb, offset, 10) || length == 3 + numberOfBitSet(tvb, offset + 8, 2); case X_InternAtom: case X_QueryExtension: return !tvb_bytes_exist(tvb, offset, 6) || length == 2 + rounded4(tvb_get_guint16(tvb, offset + 4, encoding)); case X_ChangeProperty: { int multiplier, type; if (!tvb_bytes_exist(tvb, offset, 17)) return TRUE; type = tvb_get_guint8(tvb, 16); if (type != 8 && type != 16 && type != 32) return FALSE; multiplier = type == 8 ? 1 : type == 16 ? 2 : 4; if (!tvb_bytes_exist(tvb, offset, 24)) return TRUE; return length == 6 + rounded4(tvb_get_guint32(tvb, offset + 20, encoding) * multiplier); } case X_DeleteProperty: case X_UngrabButton: case X_UngrabKey: case X_SetInputFocus: case X_CopyColormapAndFree: case X_AllocColorCells: case X_QueryBestSize: case X_ChangePointerControl: case X_SetScreenSaver: return length == 3; case X_GetProperty: case X_ConvertSelection: case X_GrabPointer: case X_GrabButton: case X_WarpPointer: return length == 6; case X_SendEvent: return length == 11; case X_GrabServer: case X_UngrabServer: case X_GetInputFocus: case X_QueryKeymap: case X_GetFontPath: case X_ListExtensions: case X_GetKeyboardControl: case X_Bell: case X_GetPointerControl: case X_GetScreenSaver: case X_ListHosts: case X_SetAccessControl: case X_SetCloseDownMode: case X_ForceScreenSaver: case X_GetPointerMapping: case X_GetModifierMapping: return length == 1; case X_OpenFont: case X_AllocNamedColor: case X_LookupColor: return !tvb_bytes_exist(tvb, offset, 10) || length == 3 + rounded4(tvb_get_guint16(tvb, offset + 8, encoding)); case X_QueryTextExtents: return length >= 2; case X_ListFonts: case X_ListFontsWithInfo: case X_ChangeHosts: return !tvb_bytes_exist(tvb, offset, 8) || length == 2 + rounded4(tvb_get_guint16(tvb, offset + 6, encoding)); case X_SetFontPath: if (length < 2) return FALSE; if (!tvb_bytes_exist(tvb, offset, 8)) return TRUE; return listOfStringLengthConsistent(tvb, offset + 8, (length - 2) * 4, tvb_get_guint16(tvb, offset + 4, encoding)); case X_CreateGC: return !tvb_bytes_exist(tvb, offset, 16) || length == 4 + numberOfBitSet(tvb, offset + 12, 4); case X_SetDashes: return !tvb_bytes_exist(tvb, offset, 12) || length == 3 + rounded4(tvb_get_guint16(tvb, offset + 10, encoding)); case X_SetClipRectangles: case X_PolySegment: case X_PolyRectangle: case X_PolyFillRectangle: return length >= 3 && (length - 3) % 2 == 0; case X_CopyArea: return length == 7; case X_CopyPlane: case X_CreateCursor: case X_CreateGlyphCursor: return length == 8; case X_PolyPoint: case X_PolyLine: case X_FreeColors: return length >= 3; case X_PolyArc: case X_PolyFillArc: return length >= 3 && (length - 3) % 3 == 0; case X_FillPoly: case X_ImageText8: return length >= 4; case X_PutImage: return length >= 6; case X_GetImage: case X_RecolorCursor: return length == 5; case X_PolyText8: if (length < 4) return FALSE; return TRUE; /* We don't perform many controls on this one */ case X_PolyText16: if (length < 4) return FALSE; return TRUE; /* We don't perform many controls on this one */ case X_ImageText16: return length >= 4; case X_StoreColors: return length > 2 && (length - 2) % 3 == 0; case X_StoreNamedColor: return !tvb_bytes_exist(tvb, offset, 14) || length == 4 + rounded4(tvb_get_guint16(tvb, offset + 12, encoding)); case X_QueryColors: return length >= 2; case X_ChangeKeyboardMapping: return !tvb_bytes_exist(tvb, offset, 6) || length == 2 + tvb_get_guint8(tvb, 1) * tvb_get_guint8(tvb, 5); case X_ChangeKeyboardControl: return !tvb_bytes_exist(tvb, offset, 6) || length == 2 + numberOfBitSet(tvb, offset + 4, 2); case X_RotateProperties: return !tvb_bytes_exist(tvb, offset, 10) || length == 3 + tvb_get_guint16(tvb, offset + 8, encoding); case X_SetPointerMapping: return length == 1 + rounded4(tvb_get_guint8(tvb, 1)); case X_SetModifierMapping: return length == 1 + tvb_get_guint8(tvb, 1) * 2; case X_NoOperation: return length >= 1; default: return TRUE; } } /* -1 means doesn't match, +1 means match, 0 means don't know */ static int x_endian_match(tvbuff_t *tvb, int encoding) { int offset, nextoffset; int atLeastOne = 0; for(offset = 0; tvb_bytes_exist(tvb, offset, 4); offset = nextoffset) { int length; length = tvb_get_guint16(tvb, offset + 2, encoding); if (!length) return -1; nextoffset = offset + length * 4; if (!consistentWithOrder(length, tvb, offset, encoding)) return -1; atLeastOne = 1; } return atLeastOne; } static guint guess_byte_ordering(tvbuff_t *tvb, packet_info *pinfo, x11_conv_data_t *state) { /* With X the client gives the byte ordering for the protocol, and the port on the server tells us we're speaking X. */ int le, be; guint decision; if (state->byte_order == ENC_BIG_ENDIAN) return ENC_BIG_ENDIAN; /* known to be big-endian */ else if (state->byte_order == ENC_LITTLE_ENDIAN) return ENC_LITTLE_ENDIAN; /* known to be little-endian */ if (pinfo->srcport == pinfo->match_uint) { /* * This is a reply or event; we don't try to guess the * byte order on it for now. */ return ENC_LITTLE_ENDIAN; } le = x_endian_match(tvb, ENC_LITTLE_ENDIAN); be = x_endian_match(tvb, ENC_BIG_ENDIAN); if (le == be) { /* We have no reason to believe it's little- rather than big-endian, so we guess the shortest length is the right one. */ if (!tvb_bytes_exist(tvb, 0, 4)) /* Not even a way to get the length. We're biased toward little endianness here (essentially the x86 world right now). Decoding won't go very far anyway. */ decision = ENC_LITTLE_ENDIAN; else { if (tvb_get_letohs(tvb, 2) <= tvb_get_ntohs(tvb, 2)) decision = ENC_LITTLE_ENDIAN; else decision = ENC_BIG_ENDIAN; } } else { if (le >= be) decision = ENC_LITTLE_ENDIAN; else decision = ENC_BIG_ENDIAN; } if ((le < 0 && be > 0) || (le > 0 && be < 0)) { /* * Remember the decision. */ state->byte_order = decision; } return decision; } /************************************************************************ *** *** *** D E C O D I N G O N E P A C K E T *** *** *** ************************************************************************/ /* * Decode an initial connection request. */ static void dissect_x11_initial_conn(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, x11_conv_data_t *state, guint byte_order) { int offset = 0; int *offsetp = &offset; proto_item *ti; proto_tree *t; guint16 auth_proto_name_length, auth_proto_data_length; gint left; ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Request, Initial connection request"); t = proto_item_add_subtree(ti, ett_x11); CARD8(byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(protocol_major_version); CARD16(protocol_minor_version); auth_proto_name_length = CARD16(authorization_protocol_name_length); auth_proto_data_length = CARD16(authorization_protocol_data_length); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; if (auth_proto_name_length != 0) { STRING8(authorization_protocol_name, auth_proto_name_length); offset = ROUND_LENGTH(offset); } if (auth_proto_data_length != 0) { STRING8(authorization_protocol_data, auth_proto_data_length); offset = ROUND_LENGTH(offset); } if ((left = tvb_reported_length_remaining(tvb, offset)) > 0) proto_tree_add_item(t, hf_x11_undecoded, tvb, offset, left, ENC_NA); /* * This is the initial connection request... */ state->iconn_frame = pinfo->num; /* * ...and we're expecting a reply to it. */ state->sequencenumber = 0; wmem_map_insert(state->seqtable, GINT_TO_POINTER(state->sequencenumber), (int *)INITIAL_CONN); } static void dissect_x11_initial_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char _U_ *sep, x11_conv_data_t *state, guint byte_order) { int offset = 0, *offsetp = &offset, left; unsigned char success; int length_of_vendor; int length_of_reason; int number_of_formats_in_pixmap_formats; int number_of_screens_in_roots; int unused; proto_item *ti; proto_tree *t; ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Reply, Initial connection reply"); t = proto_item_add_subtree(ti, ett_x11); state->iconn_reply = pinfo->num; success = INT8(success); if (success) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; length_of_reason = 0; } else { length_of_reason = INT8(length_of_reason); } INT16(protocol_major_version); INT16(protocol_minor_version); INT16(replylength); if (success) { INT32(release_number); INT32(resource_id_base); INT32(resource_id_mask); INT32(motion_buffer_size); length_of_vendor = INT16(length_of_vendor); INT16(maximum_request_length); number_of_screens_in_roots = INT8(number_of_screens_in_roots); number_of_formats_in_pixmap_formats = INT8(number_of_formats_in_pixmap_formats); INT8(image_byte_order); INT8(bitmap_format_bit_order); INT8(bitmap_format_scanline_unit); INT8(bitmap_format_scanline_pad); INT8(min_keycode); INT8(max_keycode); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; STRING8(vendor, length_of_vendor); unused = (4 - (length_of_vendor % 4)) % 4; if (unused > 0) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, unused, ENC_NA); *offsetp += unused; } LISTofPIXMAPFORMAT(pixmap_format, number_of_formats_in_pixmap_formats); LISTofSCREEN(screen, number_of_screens_in_roots); } else { STRING8(reason, length_of_reason); } if ((left = tvb_reported_length_remaining(tvb, offset)) > 0) UNDECODED(left); } typedef struct x11_reply_info { const guint8 minor; void (*dissect)(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order); } x11_reply_info; typedef struct event_info { const gchar *name; void (*dissect)(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order); } x11_event_info; typedef struct x11_generic_event_info { const guint16 minor; void (*dissect)(tvbuff_t *tvb, int length, int *offsetp, proto_tree *t, guint byte_order); } x11_generic_event_info; static void set_handler(const char *name, void (*func)(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order), const char **errors, const x11_event_info *event_info, const x11_generic_event_info *genevent_info, const x11_reply_info *reply_info) { wmem_map_insert(extension_table, (gpointer)name, (gpointer)func); wmem_map_insert(error_table, (gpointer)name, (gpointer)errors); wmem_map_insert(event_table, (gpointer)name, (gpointer)event_info); if (genevent_info) wmem_map_insert(genevent_table, (gpointer)name, (gpointer)genevent_info); wmem_map_insert(reply_table, (gpointer)name, (gpointer)reply_info); } #include "x11-extension-errors.h" #include "x11-extension-implementation.h" static void tryExtension(int opcode, tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, x11_conv_data_t *state, guint byte_order) { const gchar *extension; void (*func)(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order); extension = try_val_to_str(opcode, state->opcode_vals); if (!extension) return; func = (void (*)(tvbuff_t *, packet_info *, int *, proto_tree *, guint))wmem_map_lookup(extension_table, extension); if (func) func(tvb, pinfo, offsetp, t, byte_order); } static void tryExtensionReply(int opcode, tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, x11_conv_data_t *state, guint byte_order) { void (*func)(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order); func = (void (*)(tvbuff_t *, packet_info *, int *, proto_tree *, guint))wmem_map_lookup(state->reply_funcs, GINT_TO_POINTER(opcode)); if (func) func(tvb, pinfo, offsetp, t, byte_order); else REPLYCONTENTS_COMMON(); } static void tryExtensionEvent(int event, tvbuff_t *tvb, int *offsetp, proto_tree *t, x11_conv_data_t *state, guint byte_order) { void (*func)(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order); func = (void (*)(tvbuff_t *, int *, proto_tree *, guint))wmem_map_lookup(state->eventcode_funcs, GINT_TO_POINTER(event)); if (func) func(tvb, offsetp, t, byte_order); } static void tryGenericExtensionEvent(tvbuff_t *tvb, int *offsetp, proto_tree *t, x11_conv_data_t *state, guint byte_order) { const gchar *extname; int extension, length; extension = tvb_get_guint8(tvb, *offsetp); (*offsetp)++; extname = try_val_to_str(extension, state->opcode_vals); if (extname) { proto_tree_add_uint_format(t, hf_x11_extension, tvb, *offsetp, 1, extension, "extension: %d (%s)", extension, extname); } else { proto_tree_add_uint(t, hf_x11_extension, tvb, *offsetp, 1, extension); } CARD16(event_sequencenumber); length = REPLYLENGTH(eventlength); length = length * 4 + 32; *offsetp += 4; if (extname) { x11_generic_event_info *info; info = (x11_generic_event_info *)wmem_map_lookup(genevent_table, extname); if (info) { int i; int opcode = tvb_get_guint16(tvb, *offsetp, byte_order); for (i = 0; info[i].dissect != NULL; i++) { if (info[i].minor == opcode) { *offsetp += 2; info[i].dissect(tvb, length, offsetp, t, byte_order); return; } } } } CARD16(minor_opcode); } static void register_extension(x11_conv_data_t *state, value_string *vals_p, int major_opcode, unsigned int first_event, unsigned int first_error) { const char **error_string; x11_event_info *event_info; x11_reply_info *reply_info; int i; vals_p->value = major_opcode; error_string = (const char **)wmem_map_lookup(error_table, vals_p->strptr); while (error_string && *error_string && first_error <= LastExtensionError) { /* store string of extension error */ for (i = 0; i <= LastExtensionError; i++) { if (state->errorcode_vals[i].strptr == NULL) { state->errorcode_vals[i].value = first_error; state->errorcode_vals[i].strptr = *error_string; break; } else if (state->errorcode_vals[i].value == first_error) { /* TODO: Warn about extensions stepping on each other */ state->errorcode_vals[i].strptr = *error_string; break; } } first_error++; error_string++; } event_info = (x11_event_info *)wmem_map_lookup(event_table, vals_p->strptr); while (event_info && event_info->name && first_event <= LastExtensionEvent) { /* store string of extension event */ for (i = 0; i <= LastExtensionEvent; i++) { if (state->eventcode_vals[i].strptr == NULL) { state->eventcode_vals[i].value = first_event; state->eventcode_vals[i].strptr = event_info->name; break; } else if (state->eventcode_vals[i].value == first_event) { /* TODO: Warn about extensions stepping on each other */ state->eventcode_vals[i].strptr = event_info->name; break; } } /* store event decode function */ wmem_map_insert(state->eventcode_funcs, GINT_TO_POINTER(first_event), (gpointer)event_info->dissect); first_event++; event_info++; } reply_info = (x11_reply_info *)wmem_map_lookup(reply_table, vals_p->strptr); if (reply_info) for (i = 0; reply_info[i].dissect; i++) wmem_map_insert(state->reply_funcs, GINT_TO_POINTER(major_opcode | (reply_info[i].minor << 8)), (gpointer)reply_info[i].dissect); } static void dissect_x11_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char *sep, x11_conv_data_t *state, guint byte_order) { int offset = 0; int *offsetp = &offset; int query_ext_offset; int next_offset; proto_item *ti; proto_tree *t; int length, opcode, i; guint8 v8, v8_2, v8_3; guint16 v16; guint32 v32; gint left; gchar *name; query_ext_offset = 2; /* "opcode" and "unused" */ length = tvb_get_guint16(tvb, query_ext_offset, byte_order) * 4; query_ext_offset += 2; if (length == 0) { /* BIG-REQUESTS extension */ length = tvb_get_guint32(tvb, query_ext_offset, byte_order); if ((gint64)length * 4 > G_MAXINT32) return; length *= 4; query_ext_offset += 4; } if (length < 4) { /* Bogus message length? */ return; } next_offset = offset + length; ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA); t = proto_item_add_subtree(ti, ett_x11); if (!pinfo->fd->visited) ++state->sequencenumber; OPCODE(); col_append_fstr(pinfo->cinfo, COL_INFO, "%s %s", sep, val_to_str(opcode, state->opcode_vals, "<Unknown opcode %d>")); proto_item_append_text(ti, ", Request, opcode: %d (%s)", opcode, val_to_str(opcode, state->opcode_vals, "<Unknown opcode %d>")); /* * Does this request expect a reply? */ switch(opcode) { case X_QueryExtension: /* necessary processing even if tree == NULL */ v16 = tvb_get_guint16(tvb, query_ext_offset, byte_order); query_ext_offset += 2; /* Some unused bytes */ query_ext_offset += 2; name = tvb_get_string_enc(wmem_file_scope(), tvb, query_ext_offset, v16, ENC_ASCII); /* store string of extension, opcode will be set at reply */ i = 0; while(i < MAX_OPCODES) { if (state->opcode_vals[i].strptr == NULL) { state->opcode_vals[i].strptr = name; state->opcode_vals[i].value = -1; wmem_map_insert(state->valtable, GINT_TO_POINTER(state->sequencenumber), (int *)&state->opcode_vals[i]); break; } else if (strcmp(state->opcode_vals[i].strptr, name) == 0) { wmem_map_insert(state->valtable, GINT_TO_POINTER(state->sequencenumber), (int *)&state->opcode_vals[i]); break; } i++; } /* QueryExtension expects a reply, fall through */ /* FALLTHROUGH */ case X_AllocColor: case X_AllocColorCells: case X_AllocColorPlanes: case X_AllocNamedColor: case X_GetAtomName: case X_GetFontPath: case X_GetGeometry: case X_GetImage: case X_GetInputFocus: case X_GetKeyboardControl: case X_GetKeyboardMapping: case X_GetModifierMapping: case X_GetMotionEvents: case X_GetPointerControl: case X_GetPointerMapping: case X_GetProperty: case X_GetScreenSaver: case X_GetSelectionOwner: case X_GetWindowAttributes: case X_GrabKeyboard: case X_GrabPointer: case X_InternAtom: case X_ListExtensions: case X_ListFonts: case X_ListFontsWithInfo: case X_ListHosts: case X_ListInstalledColormaps: case X_ListProperties: case X_LookupColor: case X_QueryBestSize: case X_QueryColors: case X_QueryFont: case X_QueryKeymap: case X_QueryPointer: case X_QueryTextExtents: case X_QueryTree: case X_SetModifierMapping: case X_SetPointerMapping: case X_TranslateCoords: /* * Those requests expect a reply. */ wmem_map_insert(state->seqtable, GINT_TO_POINTER(state->sequencenumber), GINT_TO_POINTER(opcode)); break; default: /* * With Extension, we don't know, so assume there could be one */ if (opcode >= X_FirstExtension && opcode <= X_LastExtension) { guint32 minor; minor = tvb_get_guint8(tvb, 1); wmem_map_insert(state->seqtable, GINT_TO_POINTER(state->sequencenumber), GINT_TO_POINTER(opcode | (minor << 8))); } /* * No reply is expected from any other request. */ break; } if (tree == NULL) return; switch(opcode) { case X_CreateWindow: CARD8(depth); requestLength(tvb, offsetp, t, byte_order); WINDOW(wid); WINDOW(parent); INT16(x); INT16(y); CARD16(width); CARD16(height); CARD16(border_width); ENUM16(window_class); VISUALID(visual); windowAttributes(tvb, offsetp, t, byte_order); break; case X_ChangeWindowAttributes: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); windowAttributes(tvb, offsetp, t, byte_order); break; case X_GetWindowAttributes: case X_DestroyWindow: case X_DestroySubwindows: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); break; case X_ChangeSaveSet: ENUM8(save_set_mode); requestLength(tvb, offsetp, t, byte_order); WINDOW(window); break; case X_ReparentWindow: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); WINDOW(parent); INT16(x); INT16(y); break; case X_MapWindow: case X_MapSubwindows: case X_UnmapWindow: case X_UnmapSubwindows: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); break; case X_ConfigureWindow: { guint16 bitmask16; static int * const window_attributes_flags[] = { &hf_x11_window_value_mask_background_pixmap, &hf_x11_window_value_mask_background_pixel, &hf_x11_window_value_mask_border_pixmap, &hf_x11_window_value_mask_border_pixel, &hf_x11_window_value_mask_bit_gravity, &hf_x11_window_value_mask_win_gravity, &hf_x11_window_value_mask_backing_store, &hf_x11_window_value_mask_backing_planes, &hf_x11_window_value_mask_backing_pixel, &hf_x11_window_value_mask_override_redirect, &hf_x11_window_value_mask_save_under, &hf_x11_window_value_mask_event_mask, &hf_x11_window_value_mask_do_not_propagate_mask, &hf_x11_window_value_mask_colormap, &hf_x11_window_value_mask_cursor, NULL }; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); proto_tree_add_item(t, hf_x11_window, tvb, *offsetp, 1, byte_order); *offsetp += 4; bitmask16 = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_configure_window_mask, ett_x11_configure_window_mask, window_attributes_flags, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; if (bitmask16 & 0x0001) { proto_tree_add_item(t, hf_x11_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask16 & 0x0002) { proto_tree_add_item(t, hf_x11_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask16 & 0x0004) { proto_tree_add_item(t, hf_x11_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask16 & 0x0008) { proto_tree_add_item(t, hf_x11_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask16 & 0x0010) { proto_tree_add_item(t, hf_x11_border_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask16 & 0x0020) { proto_tree_add_item(t, hf_x11_sibling, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (bitmask16 & 0x0040) { proto_tree_add_item(t, hf_x11_stack_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (next_offset - *offsetp > 0) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, next_offset - *offsetp, ENC_NA); *offsetp = next_offset; } } break; case X_CirculateWindow: ENUM8(direction); requestLength(tvb, offsetp, t, byte_order); WINDOW(window); break; case X_GetGeometry: case X_QueryTree: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); break; case X_InternAtom: BOOL(only_if_exists); requestLength(tvb, offsetp, t, byte_order); v16 = FIELD16(name_length); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; STRING8(name, v16); PAD(); break; case X_GetAtomName: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); ATOM(atom); break; case X_ChangeProperty: ENUM8(mode); requestLength(tvb, offsetp, t, byte_order); WINDOW(window); ATOM(property); ATOM(type); v8 = CARD8(format); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; v32 = CARD32(data_length); switch (v8) { case 8: if (v32) LISTofBYTE(data, v32); break; case 16: if (v32) LISTofCARD16(data16, v32 * 2); break; case 32: if (v32) LISTofCARD32(data32, v32 * 4); break; default: expert_add_info(pinfo, ti, &ei_x11_invalid_format); break; } PAD(); break; case X_DeleteProperty: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); ATOM(property); break; case X_GetProperty: BOOL(delete); requestLength(tvb, offsetp, t, byte_order); WINDOW(window); ATOM(property); ATOM(get_property_type); CARD32(long_offset); CARD32(long_length); break; case X_ListProperties: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); break; case X_SetSelectionOwner: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(owner); ATOM(selection); TIMESTAMP(time); break; case X_GetSelectionOwner: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); ATOM(selection); break; case X_ConvertSelection: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(requestor); ATOM(selection); ATOM(target); ATOM(property); TIMESTAMP(time); break; case X_SendEvent: BOOL(propagate); requestLength(tvb, offsetp, t, byte_order); WINDOW(destination); SETofEVENT(event_mask); EVENT(); break; case X_GrabPointer: BOOL(owner_events); requestLength(tvb, offsetp, t, byte_order); WINDOW(grab_window); SETofPOINTEREVENT(pointer_event_mask); ENUM8(pointer_mode); ENUM8(keyboard_mode); WINDOW(confine_to); CURSOR(cursor); TIMESTAMP(time); break; case X_UngrabPointer: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); TIMESTAMP(time); break; case X_GrabButton: BOOL(owner_events); requestLength(tvb, offsetp, t, byte_order); WINDOW(grab_window); SETofPOINTEREVENT(event_mask); ENUM8(pointer_mode); ENUM8(keyboard_mode); WINDOW(confine_to); CURSOR(cursor); BUTTON(button); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SETofKEYMASK(modifiers); break; case X_UngrabButton: BUTTON(button); requestLength(tvb, offsetp, t, byte_order); WINDOW(grab_window); SETofKEYMASK(modifiers); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; break; case X_ChangeActivePointerGrab: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); CURSOR(cursor); TIMESTAMP(time); SETofPOINTEREVENT(event_mask); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; break; case X_GrabKeyboard: BOOL(owner_events); requestLength(tvb, offsetp, t, byte_order); WINDOW(grab_window); TIMESTAMP(time); ENUM8(pointer_mode); ENUM8(keyboard_mode); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; break; case X_UngrabKeyboard: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); TIMESTAMP(time); break; case X_GrabKey: BOOL(owner_events); requestLength(tvb, offsetp, t, byte_order); WINDOW(grab_window); SETofKEYMASK(modifiers); KEYCODE(key); ENUM8(pointer_mode); ENUM8(keyboard_mode); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; break; case X_UngrabKey: KEYCODE(key); requestLength(tvb, offsetp, t, byte_order); WINDOW(grab_window); SETofKEYMASK(modifiers); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; break; case X_AllowEvents: ENUM8(allow_events_mode); requestLength(tvb, offsetp, t, byte_order); TIMESTAMP(time); break; case X_GrabServer: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_UngrabServer: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_QueryPointer: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); break; case X_GetMotionEvents: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); TIMESTAMP(start); TIMESTAMP(stop); break; case X_TranslateCoords: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(src_window); WINDOW(dst_window); INT16(src_x); INT16(src_y); break; case X_WarpPointer: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(warp_pointer_src_window); WINDOW(warp_pointer_dst_window); INT16(src_x); INT16(src_y); CARD16(src_width); CARD16(src_height); INT16(dst_x); INT16(dst_y); break; case X_SetInputFocus: ENUM8(revert_to); requestLength(tvb, offsetp, t, byte_order); WINDOW(focus); TIMESTAMP(time); break; case X_GetInputFocus: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_QueryKeymap: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_OpenFont: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); FONT(fid); v16 = FIELD16(name_length); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; STRING8(name, v16); PAD(); break; case X_CloseFont: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); FONT(font); break; case X_QueryFont: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); FONTABLE(font); break; case X_QueryTextExtents: v8 = BOOL(odd_length); requestLength(tvb, offsetp, t, byte_order); FONTABLE(font); STRING16(string16, (next_offset - offset - (v8 ? 2 : 0)) / 2); PAD(); break; case X_ListFonts: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); CARD16(max_names); v16 = FIELD16(pattern_length); STRING8(pattern, v16); PAD(); break; case X_ListFontsWithInfo: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); CARD16(max_names); v16 = FIELD16(pattern_length); STRING8(pattern, v16); PAD(); break; case X_SetFontPath: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); v16 = CARD16(str_number_in_path); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; LISTofSTRING8(path, v16); PAD(); break; case X_GetFontPath: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_CreatePixmap: CARD8(depth); requestLength(tvb, offsetp, t, byte_order); PIXMAP(pid); DRAWABLE(drawable); CARD16(width); CARD16(height); break; case X_FreePixmap: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); PIXMAP(pixmap); break; case X_CreateGC: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); GCONTEXT(cid); DRAWABLE(drawable); gcAttributes(tvb, offsetp, t, byte_order); break; case X_ChangeGC: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); GCONTEXT(gc); gcAttributes(tvb, offsetp, t, byte_order); break; case X_CopyGC: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); GCONTEXT(src_gc); GCONTEXT(dst_gc); gcMask(tvb, offsetp, t, byte_order); break; case X_SetDashes: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); GCONTEXT(gc); CARD16(dash_offset); v16 = FIELD16(dashes_length); LISTofCARD8(dashes, v16); PAD(); break; case X_SetClipRectangles: ENUM8(ordering); requestLength(tvb, offsetp, t, byte_order); GCONTEXT(gc); INT16(clip_x_origin); INT16(clip_y_origin); LISTofRECTANGLE(rectangles); break; case X_FreeGC: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); GCONTEXT(gc); break; case X_ClearArea: BOOL(exposures); requestLength(tvb, offsetp, t, byte_order); WINDOW(window); INT16(x); INT16(y); CARD16(width); CARD16(height); break; case X_CopyArea: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(src_drawable); DRAWABLE(dst_drawable); GCONTEXT(gc); INT16(src_x); INT16(src_y); INT16(dst_x); INT16(dst_y); CARD16(width); CARD16(height); break; case X_CopyPlane: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(src_drawable); DRAWABLE(dst_drawable); GCONTEXT(gc); INT16(src_x); INT16(src_y); INT16(dst_x); INT16(dst_y); CARD16(width); CARD16(height); CARD32(bit_plane); break; case X_PolyPoint: ENUM8(coordinate_mode); v16 = requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); LISTofPOINT(points, v16 - 12); break; case X_PolyLine: ENUM8(coordinate_mode); v16 = requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); LISTofPOINT(points, v16 - 12); break; case X_PolySegment: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); LISTofSEGMENT(segments); break; case X_PolyRectangle: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); LISTofRECTANGLE(rectangles); break; case X_PolyArc: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); LISTofARC(arcs); break; case X_FillPoly: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; v16 = requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); ENUM8(shape); ENUM8(coordinate_mode); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; LISTofPOINT(points, v16 - 16); break; case X_PolyFillRectangle: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); LISTofRECTANGLE(rectangles); break; case X_PolyFillArc: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); LISTofARC(arcs); break; case X_PutImage: ENUM8(image_format); v16 = requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); CARD16(width); CARD16(height); INT16(dst_x); INT16(dst_y); CARD8(left_pad); CARD8(depth); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; LISTofBYTE(data, v16 - 24); PAD(); break; case X_GetImage: ENUM8(image_pixmap_format); requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); INT16(x); INT16(y); CARD16(width); CARD16(height); CARD32(plane_mask); break; case X_PolyText8: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); INT16(x); INT16(y); LISTofTEXTITEM8(items); PAD(); break; case X_PolyText16: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); INT16(x); INT16(y); LISTofTEXTITEM16(items); PAD(); break; case X_ImageText8: v8 = FIELD8(string_length); requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); INT16(x); INT16(y); STRING8(string, v8); PAD(); break; case X_ImageText16: v8 = FIELD8(string_length); requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); GCONTEXT(gc); INT16(x); INT16(y); STRING16(string16, v8); PAD(); break; case X_CreateColormap: ENUM8(alloc); requestLength(tvb, offsetp, t, byte_order); COLORMAP(mid); WINDOW(window); VISUALID(visual); break; case X_FreeColormap: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); break; case X_CopyColormapAndFree: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); COLORMAP(mid); COLORMAP(src_cmap); break; case X_InstallColormap: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); break; case X_UninstallColormap: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); break; case X_ListInstalledColormaps: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); WINDOW(window); break; case X_AllocColor: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); CARD16(red); CARD16(green); CARD16(blue); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; break; case X_AllocNamedColor: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); v16 = FIELD16(name_length); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; STRING8(name, v16); PAD(); break; case X_AllocColorCells: BOOL(contiguous); requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); CARD16(colors); CARD16(planes); break; case X_AllocColorPlanes: BOOL(contiguous); requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); CARD16(colors); CARD16(reds); CARD16(greens); CARD16(blues); break; case X_FreeColors: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; v16 = requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); CARD32(plane_mask); LISTofCARD32(pixels, v16 - 12); break; case X_StoreColors: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; v16 = requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); LISTofCOLORITEM(color_items, v16 - 8); break; case X_StoreNamedColor: COLOR_FLAGS(color); requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); CARD32(pixel); v16 = FIELD16(name_length); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; STRING8(name, v16); PAD(); break; case X_QueryColors: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; v16 = requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); LISTofCARD32(pixels, v16 - 8); break; case X_LookupColor: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); COLORMAP(cmap); v16 = FIELD16(name_length); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; STRING8(name, v16); PAD(); break; case X_CreateCursor: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); CURSOR(cid); PIXMAP(source_pixmap); PIXMAP(mask); CARD16(fore_red); CARD16(fore_green); CARD16(fore_blue); CARD16(back_red); CARD16(back_green); CARD16(back_blue); CARD16(x); CARD16(y); break; case X_CreateGlyphCursor: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); CURSOR(cid); FONT(source_font); FONT(mask_font); CARD16(source_char); CARD16(mask_char); CARD16(fore_red); CARD16(fore_green); CARD16(fore_blue); CARD16(back_red); CARD16(back_green); CARD16(back_blue); break; case X_FreeCursor: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); CURSOR(cursor); break; case X_RecolorCursor: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); CURSOR(cursor); CARD16(fore_red); CARD16(fore_green); CARD16(fore_blue); CARD16(back_red); CARD16(back_green); CARD16(back_blue); break; case X_QueryBestSize: ENUM8(class); requestLength(tvb, offsetp, t, byte_order); DRAWABLE(drawable); CARD16(width); CARD16(height); break; case X_QueryExtension: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); v16 = FIELD16(name_length); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; STRING8(name, v16); PAD(); break; case X_ListExtensions: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_ChangeKeyboardMapping: v8 = FIELD8(keycode_count); requestLength(tvb, offsetp, t, byte_order); v8_2 = KEYCODE(first_keycode); v8_3 = FIELD8(keysyms_per_keycode); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; LISTofKEYSYM(keysyms, state->keycodemap, v8_2, v8, v8_3); break; case X_GetKeyboardMapping: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); state->request.GetKeyboardMapping.first_keycode = KEYCODE(first_keycode); FIELD8(count); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; break; case X_ChangeKeyboardControl: { guint32 bitmask32; static int * const keyboard_value_flags[] = { &hf_x11_keyboard_value_mask_key_click_percent, &hf_x11_keyboard_value_mask_bell_percent, &hf_x11_keyboard_value_mask_bell_pitch, &hf_x11_keyboard_value_mask_bell_duration, &hf_x11_keyboard_value_mask_led, &hf_x11_keyboard_value_mask_led_mode, &hf_x11_keyboard_value_mask_keyboard_key, &hf_x11_keyboard_value_mask_auto_repeat_mode, NULL }; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); bitmask32 = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_keyboard_value_mask, ett_x11_keyboard_value_mask, keyboard_value_flags, byte_order); *offsetp += 4; if (bitmask32 & 0x00000001) { proto_tree_add_item(t, hf_x11_key_click_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask32 & 0x00000002) { proto_tree_add_item(t, hf_x11_bell_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask32 & 0x00000004) { proto_tree_add_item(t, hf_x11_bell_pitch, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask32 & 0x00000008) { proto_tree_add_item(t, hf_x11_bell_duration, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask32 & 0x00000010) { proto_tree_add_item(t, hf_x11_led, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (bitmask32 & 0x00000020) { proto_tree_add_item(t, hf_x11_led_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask32 & 0x00000040) { proto_tree_add_item(t, hf_x11_keyboard_key, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (bitmask32 & 0x00000080) { proto_tree_add_item(t, hf_x11_auto_repeat_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } } break; case X_GetKeyboardControl: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_Bell: INT8(percent); requestLength(tvb, offsetp, t, byte_order); break; case X_ChangePointerControl: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); INT16(acceleration_numerator); INT16(acceleration_denominator); INT16(threshold); BOOL(do_acceleration); BOOL(do_threshold); break; case X_GetPointerControl: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_SetScreenSaver: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); INT16(timeout); INT16(interval); ENUM8(prefer_blanking); ENUM8(allow_exposures); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; break; case X_GetScreenSaver: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_ChangeHosts: ENUM8(change_host_mode); requestLength(tvb, offsetp, t, byte_order); v8 = ENUM8(family); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; v16 = CARD16(address_length); if (v8 == FAMILY_INTERNET && v16 == 4) { /* * IPv4 addresses. * XXX - what about IPv6? Is that a family of * FAMILY_INTERNET (0) with a length of 16? */ LISTofIPADDRESS(ip_address, v16); } else LISTofCARD8(address, v16); break; case X_ListHosts: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_SetAccessControl: ENUM8(access_mode); requestLength(tvb, offsetp, t, byte_order); break; case X_SetCloseDownMode: ENUM8(close_down_mode); requestLength(tvb, offsetp, t, byte_order); break; case X_KillClient: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); CARD32(resource); break; case X_RotateProperties: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; v16 = requestLength(tvb, offsetp, t, byte_order); WINDOW(window); CARD16(property_number); INT16(delta); LISTofATOM(properties, (v16 - 12)); break; case X_ForceScreenSaver: ENUM8(screen_saver_mode); requestLength(tvb, offsetp, t, byte_order); break; case X_SetPointerMapping: v8 = FIELD8(map_length); requestLength(tvb, offsetp, t, byte_order); LISTofCARD8(map, v8); PAD(); break; case X_GetPointerMapping: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_SetModifierMapping: v8 = FIELD8(keycodes_per_modifier); requestLength(tvb, offsetp, t, byte_order); LISTofKEYCODE(state->modifiermap, keycodes, v8); break; case X_GetModifierMapping: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; case X_NoOperation: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; requestLength(tvb, offsetp, t, byte_order); break; default: tryExtension(opcode, tvb, pinfo, offsetp, t, state, byte_order); break; } if ((left = tvb_reported_length_remaining(tvb, offset)) > 0) UNDECODED(left); } static void dissect_x11_requests(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { volatile int offset = 0; int length_remaining; volatile guint byte_order; guint8 opcode; volatile gint plen; proto_item *ti; volatile gboolean is_initial_creq; guint16 auth_proto_len, auth_data_len; const char *volatile sep = NULL; conversation_t *conversation; x11_conv_data_t *volatile state; int length; tvbuff_t *volatile next_tvb; while ((length_remaining = tvb_reported_length_remaining(tvb, offset)) > 0) { /* * Can we do reassembly? */ if (x11_desegment && pinfo->can_desegment) { /* * Yes - is the X11 request header split across * segment boundaries? */ if (length_remaining < 4) { /* * Yes. Tell the TCP dissector where the data * for this message starts in the data it handed * us and that we need "some more data." Don't tell * it exactly how many bytes we need because if/when * we ask for even more (after the header) that will * break reassembly. */ pinfo->desegment_offset = offset; pinfo->desegment_len = DESEGMENT_ONE_MORE_SEGMENT; return; } } /* * Get the state for this conversation; create the conversation * if we don't have one, and create the state if we don't have * any. */ conversation = find_or_create_conversation(pinfo); /* * Is there state attached to this conversation? */ if ((state = (x11_conv_data_t *)conversation_get_proto_data(conversation, proto_x11)) == NULL) state = x11_stateinit(conversation); /* * Guess the byte order if we don't already know it. */ byte_order = guess_byte_ordering(tvb, pinfo, state); /* * Get the opcode and length of the putative X11 request. */ opcode = tvb_get_guint8(tvb, 0); plen = tvb_get_guint16(tvb, offset + 2, byte_order); if (plen == 0) { /* * A length field of 0 indicates that the BIG-REQUESTS * extension is used: The next four bytes are the real length. */ plen = tvb_get_guint32(tvb, offset + 4, byte_order); } if (plen <= 0) { /* * This can't be less then 0, as it includes the header length. * A different choice of byte order wouldn't have * helped. * Give up. */ ti = proto_tree_add_item(tree, proto_x11, tvb, offset, -1, ENC_NA); expert_add_info_format(pinfo, ti, &ei_x11_request_length, "Bogus request length (%d)", plen); return; } if (state->iconn_frame == pinfo->num || (wmem_map_lookup(state->seqtable, GINT_TO_POINTER(state->sequencenumber)) == (int *)NOTHING_SEEN && (opcode == 'B' || opcode == 'l') && (plen == 11 || plen == 2816))) { /* * Either * * we saw this on the first pass and this is * it again * * or * we haven't already seen any requests, the first * byte of the message is 'B' or 'l', and the 16-bit * integer 2 bytes into the data stream is either 11 * or a byte-swapped 11. * * This means it's probably an initial connection * request, not a message. * * 'B' is decimal 66, which is the opcode for a * PolySegment request; unfortunately, 11 is a valid * length for a PolySegment request request, so we * might mis-identify that request. (Are there any * other checks we can do?) * * 'l' is decimal 108, which is the opcode for a * GetScreenSaver request; the only valid length * for that request is 1. */ is_initial_creq = TRUE; /* * We now know the byte order. Override the guess. */ if (state->byte_order == BYTE_ORDER_UNKNOWN) { if (opcode == 'B') { /* * Big-endian. */ byte_order = state->byte_order = ENC_BIG_ENDIAN; } else { /* * Little-endian. */ byte_order = state->byte_order = ENC_LITTLE_ENDIAN; } } /* * Can we do reassembly? */ if (x11_desegment && pinfo->can_desegment) { /* * Yes - is the fixed-length portion of the * initial connection header split across * segment boundaries? */ if (length_remaining < 10) { /* * Yes. Tell the TCP dissector where the * data for this message starts in the data * it handed us and that we need "some more * data." Don't tell it exactly how many bytes * we need because if/when we ask for even more * (after the header) that will break reassembly. */ pinfo->desegment_offset = offset; pinfo->desegment_len = DESEGMENT_ONE_MORE_SEGMENT; return; } } /* * Get the lengths of the authorization protocol and * the authorization data. */ auth_proto_len = tvb_get_guint16(tvb, offset + 6, byte_order); auth_data_len = tvb_get_guint16(tvb, offset + 8, byte_order); plen = 12 + ROUND_LENGTH(auth_proto_len) + ROUND_LENGTH(auth_data_len); } else { volatile gint64 tmp = (gint64)plen * 4; /* * This is probably an ordinary request. */ is_initial_creq = FALSE; /* * The length of a request is in 4-byte words. */ if (tmp > G_MAXINT32) { ti = proto_tree_add_item(tree, proto_x11, tvb, offset, -1, ENC_NA); expert_add_info_format(pinfo, ti, &ei_x11_request_length, "Bogus request length (%"PRId64")", tmp); return; } plen = (gint)tmp; } /* * Can we do reassembly? */ if (x11_desegment && pinfo->can_desegment) { /* * Yes - is the X11 request split across segment * boundaries? */ if (length_remaining < plen) { /* * Yes. Tell the TCP dissector where the data * for this message starts in the data it handed * us, and how many more bytes we need, and return. */ pinfo->desegment_offset = offset; pinfo->desegment_len = plen - length_remaining; return; } } /* * Construct a tvbuff containing the amount of the payload * we have available. Make its reported length the * amount of data in the X11 request. * * XXX - if reassembly isn't enabled. the subdissector * will throw a BoundsError exception, rather than a * ReportedBoundsError exception. We really want a tvbuff * where the length is "length", the reported length is "plen", * and the "if the snapshot length were infinite" length is the * minimum of the reported length of the tvbuff handed to us * and "plen", with a new type of exception thrown if the offset * is within the reported length but beyond that third length, * with that exception getting the "Unreassembled Packet" error. */ length = length_remaining; if (length > plen) length = plen; next_tvb = tvb_new_subset_length_caplen(tvb, offset, length, plen); /* * Set the column appropriately. */ if (is_initial_creq) { col_set_str(pinfo->cinfo, COL_INFO, "Initial connection request"); } else { if (sep == NULL) { /* * We haven't set the column yet; set it. */ col_set_str(pinfo->cinfo, COL_INFO, "Requests"); /* * Initialize the separator. */ sep = ":"; } } /* * Dissect the X11 request. * * Catch the ReportedBoundsError exception; if this * particular message happens to get a ReportedBoundsError * exception, that doesn't mean that we should stop * dissecting X11 requests within this frame or chunk of * reassembled data. * * If it gets a BoundsError, we can stop, as there's nothing * more to see, so we just re-throw it. */ TRY { if (is_initial_creq) { dissect_x11_initial_conn(next_tvb, pinfo, tree, state, byte_order); } else { dissect_x11_request(next_tvb, pinfo, tree, sep, state, byte_order); } } CATCH_NONFATAL_ERRORS { show_exception(tvb, pinfo, tree, EXCEPT_CODE, GET_MESSAGE); } ENDTRY; /* * Skip the X11 message. */ offset += plen; sep = ","; } } static x11_conv_data_t * x11_stateinit(conversation_t *conversation) { x11_conv_data_t *state; static x11_conv_data_t stateinit; int i; state = wmem_new(wmem_file_scope(), x11_conv_data_t); *state = stateinit; /* initialise opcodes */ for (i = 0; opcode_vals[i].strptr != NULL; i++) { state->opcode_vals[i].value = opcode_vals[i].value; state->opcode_vals[i].strptr = opcode_vals[i].strptr; } for (; i <= MAX_OPCODES; i++) { state->opcode_vals[i].value = 0; state->opcode_vals[i].strptr = NULL; } /* initialise errorcodes */ for (i = 0; errorcode_vals[i].strptr != NULL; i++) { state->errorcode_vals[i].value = errorcode_vals[i].value; state->errorcode_vals[i].strptr = errorcode_vals[i].strptr; } for (; i <= LastExtensionError + 1; i++) { state->errorcode_vals[i].value = 0; state->errorcode_vals[i].strptr = NULL; } /* initialise eventcodes */ for (i = 0; eventcode_vals[i].strptr != NULL; i++) { state->eventcode_vals[i].value = eventcode_vals[i].value; state->eventcode_vals[i].strptr = eventcode_vals[i].strptr; } for (; i <= LastExtensionEvent + 1; i++) { state->eventcode_vals[i].value = 0; state->eventcode_vals[i].strptr = NULL; } state->eventcode_funcs = wmem_map_new(wmem_file_scope(), g_direct_hash, g_direct_equal); state->reply_funcs = wmem_map_new(wmem_file_scope(), g_direct_hash, g_direct_equal); state->seqtable = wmem_map_new(wmem_file_scope(), g_direct_hash, g_direct_equal); state->valtable = wmem_map_new(wmem_file_scope(), g_direct_hash, g_direct_equal); wmem_map_insert(state->seqtable, (int *)0, (int *)NOTHING_SEEN); state->byte_order = BYTE_ORDER_UNKNOWN; /* don't know yet*/ conversation_add_proto_data(conversation, proto_x11, state); return state; } static void dissect_x11_replies(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { /* Set up structures we will need to add the protocol subtree and manage it */ volatile int offset, plen; tvbuff_t *volatile next_tvb; conversation_t *conversation; x11_conv_data_t *volatile state; volatile guint byte_order; int length_remaining; const char *volatile sep = NULL; /* * Get the state for this conversation; create the conversation * if we don't have one, and create the state if we don't have * any. */ conversation = find_or_create_conversation(pinfo); /* * Is there state attached to this conversation? */ if ((state = (x11_conv_data_t *)conversation_get_proto_data(conversation, proto_x11)) == NULL) { /* * No - create a state structure and attach it. */ state = x11_stateinit(conversation); } /* * Guess the byte order if we don't already know it. */ byte_order = guess_byte_ordering(tvb, pinfo, state); offset = 0; while ((length_remaining = tvb_reported_length_remaining(tvb, offset)) > 0) { /* * Can we do reassembly? */ if (x11_desegment && pinfo->can_desegment) { /* * Yes - is the X11 Reply or GenericEvent header split across * segment boundaries? */ if (length_remaining < 8) { /* * Yes. Tell the TCP dissector where the data * for this message starts in the data it handed * us and that we need "some more data." Don't tell * it exactly how many bytes we need because if/when * we ask for even more (after the header) that will * break reassembly. */ pinfo->desegment_offset = offset; pinfo->desegment_len = DESEGMENT_ONE_MORE_SEGMENT; return; } } /* * Find out what kind of a reply it is. * There are four possible: * - reply to initial connection * - errorreply (a request generated an error) * - requestreply (reply to a request) * - event (some event occurred) */ if (wmem_map_lookup(state->seqtable, GINT_TO_POINTER(state->sequencenumber)) == (int *)INITIAL_CONN || (state->iconn_reply == pinfo->num)) { /* * Either the connection is in the "initial * connection" state, or this frame is known * to have the initial connection reply. * That means this is the initial connection * reply. */ plen = 8 + tvb_get_guint16(tvb, offset + 6, byte_order) * 4; HANDLE_REPLY(plen, length_remaining, "Initial connection reply", dissect_x11_initial_reply); } else { /* * This isn't an initial connection reply * (XXX - unless we missed the initial * connection request). Look at the first * byte to determine what it is; errors * start with a byte of 0, replies start * with a byte of 1, events start with * a byte with of 2 or greater. */ switch (tvb_get_guint8(tvb, offset)) { case 0: plen = 32; HANDLE_REPLY(plen, length_remaining, "Error", dissect_x11_error); break; case 1: { /* To avoid an "assert w/side-effect" warning, * use a non-volatile temp variable instead. */ int tmp_plen; /* replylength is in units of four. */ tmp_plen = plen = 32 + tvb_get_guint32(tvb, offset + 4, byte_order) * 4; /* If tmp_plen < 32, we got an overflow; * the reply length is too long. */ THROW_ON(tmp_plen < 32, ReportedBoundsError); HANDLE_REPLY(plen, length_remaining, "Reply", dissect_x11_reply); break; } case GenericEvent: { /* An Event, but with a length field like a Reply. */ /* To avoid an "assert w/side-effect" warning, * use a non-volatile temp variable instead. */ int tmp_plen; /* GenericEvent's length is also in units of four. */ tmp_plen = plen = 32 + tvb_get_guint32(tvb, offset + 4, byte_order) * 4; /* If tmp_plen < 32, we got an overflow; * the event length is too long. */ THROW_ON(tmp_plen < 32, ReportedBoundsError); HANDLE_REPLY(plen, length_remaining, "Event", dissect_x11_event); break; } default: /* Event */ plen = 32; HANDLE_REPLY(plen, length_remaining, "Event", dissect_x11_event); break; } } offset += plen; } return; } static void dissect_x11_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char *sep, x11_conv_data_t *state, guint byte_order) { int offset = 0, *offsetp = &offset, length, left, opcode; int major_opcode, sequence_number, first_error, first_event; value_string *vals_p; proto_item *ti; proto_tree *t; ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA); t = proto_item_add_subtree(ti, ett_x11); /* * XXX - this doesn't work correctly if either * * 1) the request sequence number wraps in the lower 16 * bits; * * 2) we don't see the initial connection request and the * resynchronization of sequence number fails and thus * don't have the right sequence numbers * * 3) we don't have all the packets in the capture and * get out of sequence. * * We might, instead, want to assume that a reply is a reply to * the most recent not-already-replied-to request in the same * connection. That also might mismatch replies to requests if * packets are lost, but there's nothing you can do to fix that. */ sequence_number = tvb_get_guint16(tvb, offset + 2, byte_order); opcode = GPOINTER_TO_INT(wmem_map_lookup(state->seqtable, GINT_TO_POINTER(sequence_number))); if (state->iconn_frame == 0 && state->resync == FALSE) { /* * We don't see the initial connection request and no * resynchronization has been performed yet (first reply), * set the current sequence number to the one of the * current reply (this is only performed once). */ state->sequencenumber = sequence_number; state->resync = TRUE; } if (opcode == UNKNOWN_OPCODE) { col_append_fstr(pinfo->cinfo, COL_INFO, "%s to unknown request", sep); proto_item_append_text(ti, ", Reply to unknown request"); } else { col_append_fstr(pinfo->cinfo, COL_INFO, "%s %s", sep, val_to_str(opcode & 0xFF, state->opcode_vals, "<Unknown opcode %d>")); if (opcode > 0xFF) proto_item_append_text(ti, ", Reply, opcode: %d.%d (%s)", opcode & 0xFF, opcode >> 8, val_to_str(opcode & 0xFF, state->opcode_vals, "<Unknown opcode %d>")); else proto_item_append_text(ti, ", Reply, opcode: %d (%s)", opcode, val_to_str(opcode, state->opcode_vals, "<Unknown opcode %d>")); } switch (opcode) { /* * Replies that need special processing outside tree */ case X_QueryExtension: /* * if extension is present and request is known: * store opcode of extension in value_string of * opcodes */ if (!tvb_get_guint8(tvb, offset + 8)) { /* not present */ break; } vals_p = (value_string *)wmem_map_lookup(state->valtable, GINT_TO_POINTER(sequence_number)); if (vals_p != NULL) { major_opcode = tvb_get_guint8(tvb, offset + 9); first_event = tvb_get_guint8(tvb, offset + 10); first_error = tvb_get_guint8(tvb, offset + 11); register_extension(state, vals_p, major_opcode, first_event, first_error); wmem_map_remove(state->valtable, GINT_TO_POINTER(sequence_number)); } break; default: break; } if (tree == NULL) return; switch (opcode) { /* * Requests that expect a reply. */ case X_GetWindowAttributes: REPLYCONTENTS_COMMON(); break; case X_GetGeometry: REPLY(reply); CARD8(depth); SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); WINDOW(rootwindow); INT16(x); INT16(y); CARD16(width); CARD16(height); CARD16(border_width); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 10, ENC_NA); *offsetp += 10; break; case X_QueryTree: REPLYCONTENTS_COMMON(); break; case X_InternAtom: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); ATOM(atom); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; break; case X_GetAtomName: REPLYCONTENTS_COMMON(); break; case X_GetProperty: REPLY(reply); CARD8(format); SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); ATOM(get_property_type); CARD32(bytes_after); CARD32(valuelength); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; break; case X_ListProperties: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); length = CARD16(property_number); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; LISTofATOM(properties, length*4); break; case X_GetSelectionOwner: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); WINDOW(owner); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; break; case X_GrabPointer: case X_GrabKeyboard: REPLY(reply); ENUM8(grab_status); SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; break; case X_QueryPointer: REPLY(reply); BOOL(same_screen); SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); WINDOW(rootwindow); WINDOW(childwindow); INT16(root_x); INT16(root_y); INT16(win_x); INT16(win_y); SETofKEYBUTMASK(mask); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 6, ENC_NA); *offsetp += 6; break; case X_GetMotionEvents: REPLYCONTENTS_COMMON(); break; case X_TranslateCoords: REPLY(reply); BOOL(same_screen); SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); WINDOW(childwindow); INT16(dst_x); INT16(dst_y); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; break; case X_GetInputFocus: REPLY(reply); ENUM8(revert_to); SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); WINDOW(focus); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; break; case X_QueryKeymap: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); LISTofCARD8(keys, 32); break; case X_QueryFont: case X_QueryTextExtents: case X_ListFonts: case X_GetImage: case X_ListInstalledColormaps: REPLYCONTENTS_COMMON(); break; case X_AllocColor: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); CARD16(red); CARD16(green); CARD16(blue); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; CARD32(pixel); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; break; case X_QueryColors: REPLYCONTENTS_COMMON(); break; case X_LookupColor: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); CARD16(exact_red); CARD16(exact_green); CARD16(exact_blue); CARD16(visual_red); CARD16(visual_green); CARD16(visual_blue); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; break; case X_QueryBestSize: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); CARD16(width); CARD16(height); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; break; case X_QueryExtension: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); BOOL(present); CARD8(major_opcode); CARD8(first_event); CARD8(first_error); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; break; case X_ListExtensions: REPLYCONTENTS_COMMON(); break; case X_GetKeyboardMapping: state->first_keycode = state->request.GetKeyboardMapping.first_keycode; REPLY(reply); state->keysyms_per_keycode = FIELD8(keysyms_per_keycode); SEQUENCENUMBER_REPLY(sequencenumber); length = REPLYLENGTH(replylength); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; LISTofKEYSYM(keysyms, state->keycodemap, state->request.GetKeyboardMapping.first_keycode, /* XXX - length / state->keysyms_per_keycode can raise a division by zero, * don't know if this is the *right* way to fix it ... */ state->keysyms_per_keycode ? length / state->keysyms_per_keycode : 0, state->keysyms_per_keycode); break; case X_GetKeyboardControl: REPLYCONTENTS_COMMON(); break; case X_GetPointerControl: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); CARD16(acceleration_numerator); CARD16(acceleration_denominator); CARD16(threshold); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 18, ENC_NA); *offsetp += 18; break; case X_GetScreenSaver: REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); CARD16(timeout); CARD16(interval); ENUM8(prefer_blanking); ENUM8(allow_exposures); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 18, ENC_NA); *offsetp += 18; break; case X_ListHosts: case X_SetPointerMapping: case X_GetPointerMapping: case X_SetModifierMapping: REPLYCONTENTS_COMMON(); break; case X_GetModifierMapping: REPLY(reply); state->keycodes_per_modifier = FIELD8(keycodes_per_modifier); SEQUENCENUMBER_REPLY(sequencenumber); REPLYLENGTH(replylength); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; LISTofKEYCODE(state->modifiermap, keycodes, state->keycodes_per_modifier); break; case UNKNOWN_OPCODE: REPLYCONTENTS_COMMON(); break; default: tryExtensionReply(opcode, tvb, pinfo, offsetp, t, state, byte_order); } if ((left = tvb_reported_length_remaining(tvb, offset)) > 0) UNDECODED(left); } static void same_screen_focus(tvbuff_t *tvb, int *offsetp, proto_tree *t) { proto_item *ti; guint32 bitmask_value; int bitmask_offset; int bitmask_size; proto_tree *bitmask_tree; bitmask_value = tvb_get_guint8(tvb, *offsetp); bitmask_offset = *offsetp; bitmask_size = 1; ti = proto_tree_add_uint(t, hf_x11_same_screen_focus_mask, tvb, *offsetp, 1, bitmask_value); bitmask_tree = proto_item_add_subtree(ti, ett_x11_same_screen_focus); FLAG(same_screen_focus, focus); FLAG(same_screen_focus, same_screen); *offsetp += 1; } static void dissect_x11_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char *sep, x11_conv_data_t *state, guint byte_order) { unsigned char eventcode; const char *sent; proto_item *ti; proto_tree *t; ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA); t = proto_item_add_subtree(ti, ett_x11); eventcode = tvb_get_guint8(tvb, 0); sent = (eventcode & 0x80) ? "Sent-" : ""; col_append_fstr(pinfo->cinfo, COL_INFO, "%s %s%s", sep, sent, val_to_str(eventcode & 0x7F, state->eventcode_vals, "<Unknown eventcode %u>")); proto_item_append_text(ti, ", Event, eventcode: %d (%s%s)", eventcode, sent, val_to_str(eventcode & 0x7F, state->eventcode_vals, "<Unknown eventcode %u>")); if (tree == NULL) return; decode_x11_event(tvb, eventcode, sent, t, state, byte_order); return; } static void decode_x11_event(tvbuff_t *tvb, unsigned char eventcode, const char *sent, proto_tree *t, x11_conv_data_t *state, guint byte_order) { int offset = 0, *offsetp = &offset, left; proto_tree_add_uint_format(t, hf_x11_eventcode, tvb, offset, 1, eventcode, "eventcode: %d (%s%s)", eventcode, sent, val_to_str(eventcode & 0x7F, state->eventcode_vals, "<Unknown eventcode %u>")); ++offset; switch (eventcode & 0x7F) { case KeyPress: case KeyRelease: { int code, mask; /* need to do some prefetching here ... */ code = tvb_get_guint8(tvb, offset); mask = tvb_get_guint16(tvb, 28, byte_order); KEYCODE_DECODED(keycode, code, mask); CARD16(event_sequencenumber); EVENTCONTENTS_COMMON(); BOOL(same_screen); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; break; } case ButtonPress: case ButtonRelease: BUTTON(eventbutton); CARD16(event_sequencenumber); EVENTCONTENTS_COMMON(); BOOL(same_screen); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; break; case MotionNotify: CARD8(detail); CARD16(event_sequencenumber); EVENTCONTENTS_COMMON(); BOOL(same_screen); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; break; case EnterNotify: case LeaveNotify: ENUM8(event_detail); CARD16(event_sequencenumber); EVENTCONTENTS_COMMON(); ENUM8(grab_mode); same_screen_focus(tvb, offsetp, t); break; case FocusIn: case FocusOut: ENUM8(focus_detail); CARD16(event_sequencenumber); WINDOW(eventwindow); ENUM8(focus_mode); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; break; case KeymapNotify: break; case Expose: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); INT16(x); INT16(y); CARD16(width); CARD16(height); CARD16(count); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 14, ENC_NA); *offsetp += 14; break; case GraphicsExpose: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); DRAWABLE(drawable); CARD16(x); CARD16(y); CARD16(width); CARD16(height); CARD16(minor_opcode); CARD16(count); CARD8(major_opcode); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 11, ENC_NA); *offsetp += 11; break; case NoExpose: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); DRAWABLE(drawable); CARD16(minor_opcode); CARD8(major_opcode); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 21, ENC_NA); *offsetp += 21; break; case VisibilityNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); ENUM8(visibility_state); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; break; case CreateNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(parent); WINDOW(eventwindow); INT16(x); INT16(y); CARD16(width); CARD16(height); CARD16(border_width); BOOL(override_redirect); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 9, ENC_NA); *offsetp += 9; break; case DestroyNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); WINDOW(window); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; break; case UnmapNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); WINDOW(window); BOOL(from_configure); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 19, ENC_NA); *offsetp += 19; break; case MapNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); WINDOW(window); BOOL(override_redirect); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 19, ENC_NA); *offsetp += 19; break; case MapRequest: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(parent); WINDOW(eventwindow); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; break; case ReparentNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); WINDOW(window); WINDOW(parent); INT16(x); INT16(y); BOOL(override_redirect); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 11, ENC_NA); *offsetp += 11; break; case ConfigureNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); WINDOW(window); WINDOW(above_sibling); INT16(x); INT16(y); CARD16(width); CARD16(height); CARD16(border_width); BOOL(override_redirect); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 5, ENC_NA); *offsetp += 5; break; case ConfigureRequest: break; case GravityNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); WINDOW(window); INT16(x); INT16(y); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; break; case ResizeRequest: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); CARD16(width); CARD16(height); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; break; case CirculateNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); WINDOW(window); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; ENUM8(place); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; break; case CirculateRequest: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(parent); WINDOW(eventwindow); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; ENUM8(place); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; break; case PropertyNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); ATOM(atom); TIMESTAMP(time); ENUM8(property_state); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; break; case SelectionClear: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); TIMESTAMP(time); WINDOW(owner); ATOM(selection); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; break; case SelectionRequest: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); TIMESTAMP(time); WINDOW(owner); WINDOW(requestor); ATOM(selection); ATOM(target); ATOM(property); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; break; case SelectionNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); TIMESTAMP(time); WINDOW(requestor); ATOM(selection); ATOM(target); ATOM(property); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; break; case ColormapNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); WINDOW(eventwindow); COLORMAP(cmap); BOOL(new); ENUM8(colormap_state); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 18, ENC_NA); *offsetp += 18; break; case ClientMessage: CARD8(format); CARD16(event_sequencenumber); WINDOW(eventwindow); ATOM(type); LISTofBYTE(data, 20); break; case MappingNotify: proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); ENUM8(mapping_request); CARD8(first_keycode); CARD8(count); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 25, ENC_NA); *offsetp += 25; break; case GenericEvent: tryGenericExtensionEvent(tvb, offsetp, t, state, byte_order); break; default: tryExtensionEvent(eventcode & 0x7F, tvb, offsetp, t, state, byte_order); break; } if ((left = tvb_reported_length_remaining(tvb, offset)) > 0) UNDECODED(left); } static void dissect_x11_error(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const char *sep, x11_conv_data_t *state _U_, guint byte_order) { int offset = 0, *offsetp = &offset, left; unsigned char errorcode; proto_item *ti; proto_tree *t; ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA); t = proto_item_add_subtree(ti, ett_x11); CARD8(error); errorcode = tvb_get_guint8(tvb, offset); col_append_fstr(pinfo->cinfo, COL_INFO, "%s %s", sep, val_to_str(errorcode, state->errorcode_vals, "<Unknown errorcode %u>")); proto_tree_add_uint_format(t, hf_x11_errorcode, tvb, offset, 1, errorcode, "errorcode: %d (%s)", errorcode, val_to_str(errorcode, state->errorcode_vals, "<Unknown errorcode %u>")); ++offset; proto_item_append_text(ti, ", Error, errorcode: %d (%s)", errorcode, val_to_str(errorcode, state->errorcode_vals, "<Unknown errorcode %u>")); if (tree == NULL) return; CARD16(error_sequencenumber); switch (errorcode) { case BadValue: CARD32(error_badvalue); break; case BadWindow: case BadPixmap: case BadCursor: case BadFont: case BadDrawable: case BadColormap: case BadGC: case BadIDChoice: CARD32(error_badresourceid); break; default: UNDECODED(4); } CARD16(minor_opcode); CARD8(major_opcode); if ((left = tvb_reported_length_remaining(tvb, offset)) > 0) UNDECODED(left); } /************************************************************************ *** *** *** I N I T I A L I Z A T I O N A N D M A I N *** *** *** ************************************************************************/ static int dissect_x11(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { col_set_str(pinfo->cinfo, COL_PROTOCOL, "X11"); if (pinfo->match_uint == pinfo->srcport) dissect_x11_replies(tvb, pinfo, tree); else dissect_x11_requests(tvb, pinfo, tree); return tvb_captured_length(tvb); } /* Register the protocol with Wireshark */ void proto_register_x11(void) { /* Setup list of header fields */ static hf_register_info hf[] = { #include "x11-register-info.h" }; /* Setup protocol subtree array */ static gint *ett[] = { &ett_x11, &ett_x11_color_flags, &ett_x11_list_of_arc, &ett_x11_arc, &ett_x11_list_of_atom, &ett_x11_list_of_card32, &ett_x11_list_of_float, &ett_x11_list_of_double, &ett_x11_list_of_color_item, &ett_x11_color_item, &ett_x11_list_of_keycode, &ett_x11_list_of_keysyms, &ett_x11_keysym, &ett_x11_list_of_point, &ett_x11_point, &ett_x11_list_of_rectangle, &ett_x11_rectangle, &ett_x11_list_of_segment, &ett_x11_segment, &ett_x11_list_of_string8, &ett_x11_list_of_text_item, &ett_x11_text_item, &ett_x11_gc_value_mask, &ett_x11_event_mask, &ett_x11_do_not_propagate_mask, &ett_x11_set_of_key_mask, &ett_x11_pointer_event_mask, &ett_x11_window_value_mask, &ett_x11_configure_window_mask, &ett_x11_keyboard_value_mask, &ett_x11_same_screen_focus, &ett_x11_event, &ett_x11_list_of_pixmap_format, &ett_x11_pixmap_format, &ett_x11_list_of_screen, &ett_x11_screen, &ett_x11_list_of_depth_detail, &ett_x11_depth_detail, &ett_x11_list_of_visualtype, &ett_x11_visualtype, }; static ei_register_info ei[] = { { &ei_x11_invalid_format, { "x11.invalid_format", PI_PROTOCOL, PI_WARN, "Invalid Format", EXPFILL }}, { &ei_x11_request_length, { "x11.request-length.invalid", PI_PROTOCOL, PI_WARN, "Invalid Length", EXPFILL }}, { &ei_x11_keycode_value_out_of_range, { "x11.keycode_value_out_of_range", PI_PROTOCOL, PI_WARN, "keycode value is out of range", EXPFILL }}, }; module_t *x11_module; expert_module_t* expert_x11; /* Register the protocol name and description */ proto_x11 = proto_register_protocol("X11", "X11", "x11"); x11_handle = register_dissector("x11", dissect_x11, proto_x11); /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_x11, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_x11 = expert_register_protocol(proto_x11); expert_register_field_array(expert_x11, ei, array_length(ei)); extension_table = wmem_map_new(wmem_epan_scope(), wmem_str_hash, g_str_equal); error_table = wmem_map_new(wmem_epan_scope(), wmem_str_hash, g_str_equal); event_table = wmem_map_new(wmem_epan_scope(), wmem_str_hash, g_str_equal); genevent_table = wmem_map_new(wmem_epan_scope(), wmem_str_hash, g_str_equal); reply_table = wmem_map_new(wmem_epan_scope(), wmem_str_hash, g_str_equal); register_x11_extensions(); x11_module = prefs_register_protocol(proto_x11, NULL); prefs_register_bool_preference(x11_module, "desegment", "Reassemble X11 messages spanning multiple TCP segments", "Whether the X11 dissector should reassemble messages spanning multiple TCP segments. " "To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.", &x11_desegment); } void proto_reg_handoff_x11(void) { dissector_add_uint_range_with_preference("tcp.port", DEFAULT_X11_PORT_RANGE, x11_handle); } /* * Editor modelines * * Local Variables: * c-basic-offset: 6 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=6 tabstop=8 expandtab: * :indentSize=6:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-x11.h
/* packet-x11.h * * Put here so as to make packet-x11.c lighter. See packet-x11.c * This .h file should be included *only* in packet-x11.c * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ extern value_string_ext x11_keysym_vals_source_ext;
C
wireshark/epan/dissectors/packet-x25.c
/* packet-x25.c * Routines for X.25 packet disassembly * Olivier Abad <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/ax25_pids.h> #include <epan/llcsaps.h> #include <epan/conversation.h> #include <epan/reassemble.h> #include <epan/prefs.h> #include <epan/expert.h> #include <epan/nlpid.h> #include <epan/x264_prt_id.h> #include <epan/lapd_sapi.h> #include <wiretap/wtap.h> #include "packet-sflow.h" void proto_register_x25(void); void proto_reg_handoff_x25(void); /* * Direction of packet. */ typedef enum { X25_FROM_DCE, /* DCE->DTE */ X25_FROM_DTE, /* DTE->DCE */ X25_UNKNOWN /* direction unknown */ } x25_dir_t; /* * 0 for data packets, 1 for non-data packets. */ #define X25_NONDATA_BIT 0x01 #define X25_CALL_REQUEST 0x0B #define X25_CALL_ACCEPTED 0x0F #define X25_CLEAR_REQUEST 0x13 #define X25_CLEAR_CONFIRMATION 0x17 #define X25_INTERRUPT 0x23 #define X25_INTERRUPT_CONFIRMATION 0x27 #define X25_RESET_REQUEST 0x1B #define X25_RESET_CONFIRMATION 0x1F #define X25_RESTART_REQUEST 0xFB #define X25_RESTART_CONFIRMATION 0xFF #define X25_REGISTRATION_REQUEST 0xF3 #define X25_REGISTRATION_CONFIRMATION 0xF7 #define X25_DIAGNOSTIC 0xF1 #define X25_RR 0x01 #define X25_RNR 0x05 #define X25_REJ 0x09 #define X25_DATA 0x00 #define PACKET_IS_DATA(type) (!(type & X25_NONDATA_BIT)) #define PACKET_TYPE_FC(type) (type & 0x1F) #define X25_MBIT_MOD8 0x10 #define X25_MBIT_MOD128 0x01 #define X25_ABIT 0x8000 #define X25_QBIT 0x8000 #define X25_DBIT 0x4000 #define X25_FAC_CLASS_MASK 0xC0 #define X25_FAC_CLASS_A 0x00 #define X25_FAC_CLASS_B 0x40 #define X25_FAC_CLASS_C 0x80 #define X25_FAC_CLASS_D 0xC0 #define X25_FAC_COMP_MARK 0x00 #define X25_FAC_REVERSE 0x01 #define X25_FAC_THROUGHPUT 0x02 #define X25_FAC_CUG 0x03 #define X25_FAC_CHARGING_INFO 0x04 #define X25_FAC_CALLED_MODIF 0x08 #define X25_FAC_CUG_OUTGOING_ACC 0x09 #define X25_FAC_THROUGHPUT_MIN 0x0A #define X25_FAC_EXPRESS_DATA 0x0B #define X25_FAC_BILATERAL_CUG 0x41 #define X25_FAC_PACKET_SIZE 0x42 #define X25_FAC_WINDOW_SIZE 0x43 #define X25_FAC_RPOA_SELECTION 0x44 #define X25_FAC_CUG_EXT 0x47 #define X25_FAC_CUG_OUTGOING_ACC_EXT 0x48 #define X25_FAC_TRANSIT_DELAY 0x49 #define X25_FAC_CALL_DURATION 0xC1 #define X25_FAC_SEGMENT_COUNT 0xC2 #define X25_FAC_CALL_TRANSFER 0xC3 #define X25_FAC_RPOA_SELECTION_EXT 0xC4 #define X25_FAC_MONETARY_UNIT 0xC5 #define X25_FAC_NUI 0xC6 #define X25_FAC_CALLED_ADDR_EXT 0xC9 #define X25_FAC_ETE_TRANSIT_DELAY 0xCA #define X25_FAC_CALLING_ADDR_EXT 0xCB #define X25_FAC_CALL_DEFLECT 0xD1 #define X25_FAC_PRIORITY 0xD2 static int proto_x25 = -1; static int hf_x25_facility = -1; static int hf_x25_facilities_length = -1; static int hf_x25_facility_length = -1; static int hf_x25_facility_class = -1; static int hf_x25_facility_classA = -1; static int hf_x25_facility_classA_comp_mark = -1; static int hf_x25_facility_classA_reverse = -1; static int hf_x25_facility_classA_charging_info = -1; static int hf_x25_facility_reverse_charging = -1; static int hf_x25_facility_charging_info = -1; static int hf_x25_facility_throughput_called_dte = -1; static int hf_x25_throughput_called_dte = -1; static int hf_x25_facility_classA_cug = -1; static int hf_x25_facility_classA_called_motif = -1; static int hf_x25_facility_classA_cug_outgoing_acc = -1; static int hf_x25_facility_classA_throughput_min = -1; static int hf_x25_facility_classA_express_data = -1; static int hf_x25_facility_classA_unknown = -1; static int hf_x25_facility_classB = -1; static int hf_x25_facility_classB_bilateral_cug = -1; static int hf_x25_facility_packet_size_called_dte = -1; static int hf_x25_facility_packet_size_calling_dte = -1; static int hf_x25_facility_data_network_id_code = -1; static int hf_x25_facility_cug_ext = -1; static int hf_x25_facility_cug_outgoing_acc_ext = -1; static int hf_x25_facility_transit_delay = -1; static int hf_x25_facility_classB_unknown = -1; static int hf_x25_facility_classC = -1; static int hf_x25_facility_classC_unknown = -1; static int hf_x25_facility_classD = -1; static int hf_x25_gfi = -1; static int hf_x25_abit = -1; static int hf_x25_qbit = -1; static int hf_x25_dbit = -1; static int hf_x25_mod = -1; static int hf_x25_lcn = -1; static int hf_x25_type = -1; static int hf_x25_type_fc_mod8 = -1; static int hf_x25_type_data = -1; static int hf_x25_diagnostic = -1; static int hf_x25_p_r_mod8 = -1; static int hf_x25_p_r_mod128 = -1; static int hf_x25_mbit_mod8 = -1; static int hf_x25_mbit_mod128 = -1; static int hf_x25_p_s_mod8 = -1; static int hf_x25_p_s_mod128 = -1; static int hf_x25_window_size_called_dte = -1; static int hf_x25_window_size_calling_dte = -1; static int hf_x25_dte_address_length = -1; static int hf_x25_dce_address_length = -1; static int hf_x25_calling_address_length = -1; static int hf_x25_called_address_length = -1; static int hf_x25_facility_call_transfer_reason = -1; static int hf_x25_facility_monetary_unit = -1; static int hf_x25_facility_nui = -1; static int hf_x25_facility_cumulative_ete_transit_delay = -1; static int hf_x25_facility_requested_ete_transit_delay = -1; static int hf_x25_facility_max_acceptable_ete_transit_delay = -1; static int hf_x25_facility_priority_data = -1; static int hf_x25_facility_priority_estab_conn = -1; static int hf_x25_facility_priority_keep_conn = -1; static int hf_x25_facility_min_acceptable_priority_data = -1; static int hf_x25_facility_min_acceptable_priority_estab_conn = -1; static int hf_x25_facility_min_acceptable_priority_keep_conn = -1; static int hf_x25_facility_classD_unknown = -1; static int hf_x25_facility_call_transfer_num_semi_octets = -1; static int hf_x25_facility_calling_addr_ext_num_semi_octets = -1; static int hf_x25_facility_called_addr_ext_num_semi_octets = -1; static int hf_x25_facility_call_deflect_num_semi_octets = -1; static int hf_x264_length_indicator = -1; static int hf_x264_un_tpdu_id = -1; static int hf_x264_protocol_id = -1; static int hf_x264_sharing_strategy = -1; static int hf_x263_sec_protocol_id = -1; static int hf_x25_reg_request_length = -1; static int hf_x25_reg_confirm_length = -1; /* Generated from convert_proto_tree_add_text.pl */ static int hf_x25_call_duration = -1; static int hf_x25_segments_to_dte = -1; static int hf_x25_segments_from_dte = -1; static int hf_x25_dte_address = -1; static int hf_x25_data_network_identification_code = -1; static int hf_x25_facility_call_deflect_reason = -1; static int hf_x25_alternative_dte_address = -1; static int hf_x25_dce_address = -1; static int hf_x25_called_address = -1; static int hf_x25_calling_address = -1; static int hf_x25_clear_cause = -1; static int hf_x25_reset_cause = -1; static int hf_x25_restart_cause = -1; static int hf_x25_registration = -1; static int hf_x25_user_data = -1; static gint ett_x25 = -1; static gint ett_x25_gfi = -1; static gint ett_x25_facilities = -1; static gint ett_x25_facility = -1; static gint ett_x25_user_data = -1; static gint ett_x25_segment = -1; static gint ett_x25_segments = -1; static gint hf_x25_segments = -1; static gint hf_x25_segment = -1; static gint hf_x25_segment_overlap = -1; static gint hf_x25_segment_overlap_conflict = -1; static gint hf_x25_segment_multiple_tails = -1; static gint hf_x25_segment_too_long_segment = -1; static gint hf_x25_segment_error = -1; static gint hf_x25_segment_count = -1; static gint hf_x25_reassembled_length = -1; static gint hf_x25_fast_select = -1; static gint hf_x25_icrd = -1; static gint hf_x25_reg_confirm_cause = -1; static gint hf_x25_reg_confirm_diagnostic = -1; static expert_field ei_x25_facility_length = EI_INIT; static dissector_handle_t x25_handle; static const value_string vals_modulo[] = { { 1, "8" }, { 2, "128" }, { 0, NULL} }; static const value_string vals_x25_type[] = { { X25_CALL_REQUEST, "Call" }, { X25_CALL_ACCEPTED, "Call Accepted" }, { X25_CLEAR_REQUEST, "Clear" }, { X25_CLEAR_CONFIRMATION, "Clear Confirmation" }, { X25_INTERRUPT, "Interrupt" }, { X25_INTERRUPT_CONFIRMATION, "Interrupt Confirmation" }, { X25_RESET_REQUEST, "Reset" }, { X25_RESET_CONFIRMATION, "Reset Confirmation" }, { X25_RESTART_REQUEST, "Restart" }, { X25_RESTART_CONFIRMATION, "Restart Confirmation" }, { X25_REGISTRATION_REQUEST, "Registration" }, { X25_REGISTRATION_CONFIRMATION, "Registration Confirmation" }, { X25_DIAGNOSTIC, "Diagnostic" }, { X25_RR, "RR" }, { X25_RNR, "RNR" }, { X25_REJ, "REJ" }, { X25_DATA, "Data" }, { 0, NULL} }; static struct true_false_string m_bit_tfs = { "More data follows", "End of data" }; static const value_string x25_fast_select_vals[] = { { 0, "Not requested" }, { 1, "Not requested" }, { 2, "No restriction on response" }, { 3, "Restriction on response" }, { 0, NULL} }; static const value_string x25_icrd_vals[] = { { 0, "Status not selected" }, { 1, "Prevention requested" }, { 2, "Allowance requested" }, { 3, "Not allowed" }, { 0, NULL} }; static const value_string x25_clear_diag_vals[] = { { 0, "No additional information" }, { 1, "Invalid P(S)" }, { 2, "Invalid P(R)" }, { 16, "Packet type invalid" }, { 17, "Packet type invalid for state r1" }, { 18, "Packet type invalid for state r2" }, { 19, "Packet type invalid for state r3" }, { 20, "Packet type invalid for state p1" }, { 21, "Packet type invalid for state p2" }, { 22, "Packet type invalid for state p3" }, { 23, "Packet type invalid for state p4" }, { 24, "Packet type invalid for state p5" }, { 25, "Packet type invalid for state p6" }, { 26, "Packet type invalid for state p7" }, { 27, "Packet type invalid for state d1" }, { 28, "Packet type invalid for state d2" }, { 29, "Packet type invalid for state d3" }, { 32, "Packet not allowed" }, { 33, "Unidentifiable packet" }, { 34, "Call on one-way logical channel" }, { 35, "Invalid packet type on a PVC" }, { 36, "Packet on unassigned LC" }, { 37, "Reject not subscribed to" }, { 38, "Packet too short" }, { 39, "Packet too long" }, { 40, "Invalid general format identifier" }, { 41, "Restart/registration packet with nonzero bits" }, { 42, "Packet type not compatible with facility" }, { 43, "Unauthorised interrupt confirmation" }, { 44, "Unauthorised interrupt" }, { 45, "Unauthorised reject" }, { 48, "Time expired" }, { 49, "Time expired for incoming call" }, { 50, "Time expired for clear indication" }, { 51, "Time expired for reset indication" }, { 52, "Time expired for restart indication" }, { 53, "Time expired for call deflection" }, { 64, "Call set-up/clearing or registration pb." }, { 65, "Facility/registration code not allowed" }, { 66, "Facility parameter not allowed" }, { 67, "Invalid called DTE address" }, { 68, "Invalid calling DTE address" }, { 69, "Invalid facility/registration length" }, { 70, "Incoming call barred" }, { 71, "No logical channel available" }, { 72, "Call collision" }, { 73, "Duplicate facility requested" }, { 74, "Non zero address length" }, { 75, "Non zero facility length" }, { 76, "Facility not provided when expected" }, { 77, "Invalid CCITT-specified DTE facility" }, { 78, "Max. nb of call redir/defl. exceeded" }, { 80, "Miscellaneous" }, { 81, "Improper cause code from DTE" }, { 82, "Not aligned octet" }, { 83, "Inconsistent Q bit setting" }, { 84, "NUI problem" }, { 112, "International problem" }, { 113, "Remote network problem" }, { 114, "International protocol problem" }, { 115, "International link out of order" }, { 116, "International link busy" }, { 117, "Transit network facility problem" }, { 118, "Remote network facility problem" }, { 119, "International routing problem" }, { 120, "Temporary routing problem" }, { 121, "Unknown called DNIC" }, { 122, "Maintenance action" }, { 144, "Timer expired or retransmission count surpassed" }, { 145, "Timer expired or retransmission count surpassed for INTERRUPT" }, { 146, "Timer expired or retransmission count surpassed for DATA packet transmission" }, { 147, "Timer expired or retransmission count surpassed for REJECT" }, { 160, "DTE-specific signals" }, { 161, "DTE operational" }, { 162, "DTE not operational" }, { 163, "DTE resource constraint" }, { 164, "Fast select not subscribed" }, { 165, "Invalid partially full DATA packet" }, { 166, "D-bit procedure not supported" }, { 167, "Registration/Cancellation confirmed" }, { 224, "OSI network service problem" }, { 225, "Disconnection (transient condition)" }, { 226, "Disconnection (permanent condition)" }, { 227, "Connection rejection - reason unspecified (transient condition)" }, { 228, "Connection rejection - reason unspecified (permanent condition)" }, { 229, "Connection rejection - quality of service not available (transient condition)" }, { 230, "Connection rejection - quality of service not available (permanent condition)" }, { 231, "Connection rejection - NSAP unreachable (transient condition)" }, { 232, "Connection rejection - NSAP unreachable (permanent condition)" }, { 233, "reset - reason unspecified" }, { 234, "reset - congestion" }, { 235, "Connection rejection - NSAP address unknown (permanent condition)" }, { 240, "Higher layer initiated" }, { 241, "Disconnection - normal" }, { 242, "Disconnection - abnormal" }, { 243, "Disconnection - incompatible information in user data" }, { 244, "Connection rejection - reason unspecified (transient condition)" }, { 245, "Connection rejection - reason unspecified (permanent condition)" }, { 246, "Connection rejection - quality of service not available (transient condition)" }, { 247, "Connection rejection - quality of service not available (permanent condition)" }, { 248, "Connection rejection - incompatible information in user data" }, { 249, "Connection rejection - unrecognizable protocol identifier in user data" }, { 250, "Reset - user resynchronization" }, { 0, NULL} }; static value_string_ext x25_clear_diag_vals_ext = VALUE_STRING_EXT_INIT(x25_clear_diag_vals); static const value_string x25_registration_code_vals[] = { { 0x03, "Invalid facility request" }, { 0x05, "Network congestion" }, { 0x13, "Local procedure error" }, { 0x7F, "Registration/cancellation confirmed" }, { 0, NULL} }; static const value_string x25_facilities_class_vals[] = { { X25_FAC_CLASS_A>>6, "A" }, { X25_FAC_CLASS_B>>6, "B" }, { X25_FAC_CLASS_C>>6, "C" }, { X25_FAC_CLASS_D>>6, "D" }, { 0, NULL} }; static const value_string x25_facilities_classA_vals[] = { { X25_FAC_COMP_MARK, "Marker" }, { X25_FAC_REVERSE, "Reverse charging / Fast select" }, { X25_FAC_CHARGING_INFO, "Charging information" }, { X25_FAC_THROUGHPUT, "Throughput class negotiation" }, { X25_FAC_CUG, "Closed user group selection" }, { X25_FAC_CALLED_MODIF, "Called address modified" }, { X25_FAC_CUG_OUTGOING_ACC, "Closed user group with outgoing access selection" }, { X25_FAC_THROUGHPUT_MIN, "Minimum throughput class" }, { X25_FAC_EXPRESS_DATA, "Negotiation of express data" }, { 0, NULL} }; static const value_string x25_facilities_classA_comp_mark_vals[] = { { 0x00, "Network complementary services - calling DTE" }, { 0x0F, "DTE complementary services" }, { 0xFF, "Network complementary services - called DTE" }, { 0, NULL} }; static const value_string x25_facilities_classA_throughput_vals[] = { { 3, "75 bps" }, { 4, "150 bps" }, { 5, "300 bps" }, { 6, "600 bps" }, { 7, "1200 bps" }, { 8, "2400 bps" }, { 9, "4800 bps" }, { 10, "9600 bps" }, { 11, "19200 bps" }, { 12, "48000 bps" }, { 13, "64000 bps" }, { 0, NULL} }; static const value_string x25_facilities_classB_vals[] = { { X25_FAC_BILATERAL_CUG, "Bilateral closed user group selection" }, { X25_FAC_PACKET_SIZE, "Packet size" }, { X25_FAC_WINDOW_SIZE, "Window size" }, { X25_FAC_RPOA_SELECTION, "RPOA selection" }, { X25_FAC_CUG_EXT, "Extended closed user group selection" }, { X25_FAC_CUG_OUTGOING_ACC_EXT, "Extended closed user group with outgoing access selection" }, { X25_FAC_TRANSIT_DELAY, "Transit delay selection and indication" }, { 0, NULL} }; static const value_string x25_facilities_classB_packet_size_vals[] = { { 0x04, "16" }, { 0x05, "32" }, { 0x06, "64" }, { 0x07, "128" }, { 0x08, "256" }, { 0x09, "512" }, { 0x0A, "1024" }, { 0x0B, "2048" }, { 0x0C, "4096" }, { 0, NULL} }; static const value_string x25_facilities_classC_vals[] = { { 0, NULL} }; static const value_string x25_facilities_classD_vals[] = { { X25_FAC_CALL_DURATION, "Call duration" }, { X25_FAC_SEGMENT_COUNT, "Segment count" }, { X25_FAC_CALL_TRANSFER, "Call redirection or deflection notification" }, { X25_FAC_RPOA_SELECTION_EXT, "Extended RPOA selection" }, { X25_FAC_CALLING_ADDR_EXT, "Calling address extension" }, { X25_FAC_MONETARY_UNIT, "Monetary Unit" }, { X25_FAC_NUI, "Network User Identification selection" }, { X25_FAC_CALLED_ADDR_EXT, "Called address extension" }, { X25_FAC_ETE_TRANSIT_DELAY, "End to end transit delay" }, { X25_FAC_CALL_DEFLECT, "Call deflection selection" }, { X25_FAC_PRIORITY, "Priority" }, { 0, NULL} }; static struct true_false_string x25_reverse_charging_val = { "Requested", "Not requested" }; static const value_string x25_facilities_call_transfer_reason_vals[] = { { 0x01, "originally called DTE busy" }, { 0x07, "call dist. within a hunt group" }, { 0x09, "originally called DTE out of order" }, { 0x0F, "systematic call redirection" }, { 0, NULL} }; static const fragment_items x25_frag_items = { &ett_x25_segment, &ett_x25_segments, &hf_x25_segments, &hf_x25_segment, &hf_x25_segment_overlap, &hf_x25_segment_overlap_conflict, &hf_x25_segment_multiple_tails, &hf_x25_segment_too_long_segment, &hf_x25_segment_error, &hf_x25_segment_count, NULL, &hf_x25_reassembled_length, /* Reassembled data field */ NULL, "segments" }; static dissector_handle_t ip_handle; static dissector_handle_t clnp_handle; static dissector_handle_t ositp_handle; static dissector_handle_t qllc_handle; /* Preferences */ static gboolean payload_is_qllc_sna = FALSE; static gboolean call_request_nodata_is_cotp = FALSE; static gboolean payload_check_data = FALSE; static gboolean reassemble_x25 = TRUE; /* Reassembly of X.25 */ static reassembly_table x25_reassembly_table; static dissector_table_t x25_subdissector_table; static heur_dissector_list_t x25_heur_subdissector_list; static void x25_hash_add_proto_start(guint16 vc, guint32 frame, dissector_handle_t dissect) { conversation_t *conv; /* * Is there already a circuit with this VC number? */ conv = find_conversation_by_id(frame, CONVERSATION_X25, vc); if (conv != NULL) { /* * Yes - close it, as we're creating a new one. */ conv->last_frame = frame - 1; } /* * Set up a new circuit. */ conv = conversation_new_by_id(frame, CONVERSATION_X25, vc); /* * Set its dissector. */ conversation_set_dissector(conv, dissect); } static void x25_hash_add_proto_end(guint16 vc, guint32 frame) { conversation_t *conv; /* * Try to find the circuit. */ conv = find_conversation_by_id(frame, CONVERSATION_X25, vc); /* * If we succeeded, close it. */ if (conv != NULL) conv->last_frame = frame; } static const range_string clear_code_rvals[] = { { 0x00, 0x00, "DTE Originated" }, { 0x01, 0x01, "Number Busy" }, { 0x03, 0x03, "Invalid Facility Requested" }, { 0x05, 0x05, "Network Congestion" }, { 0x09, 0x09, "Out Of Order" }, { 0x0B, 0x0B, "Access Barred" }, { 0x0D, 0x0D, "Not Obtainable" }, { 0x11, 0x11, "Remote Procedure Error" }, { 0x13, 0x13, "Local Procedure Error" }, { 0x15, 0x15, "RPOA Out Of Order" }, { 0x19, 0x19, "Reverse Charging Acceptance Not Subscribed" }, { 0x21, 0x21, "Incompatible Destination" }, { 0x29, 0x29, "Fast Select Acceptance Not Subscribed" }, { 0x39, 0x39, "Destination Absent" }, { 0x80, 0xff, "DTE Originated" }, { 0, 0, NULL } }; static const range_string reset_code_rvals[] = { { 0x00, 0x00, "DTE Originated" }, { 0x01, 0x01, "Out of order" }, { 0x03, 0x03, "Remote Procedure Error" }, { 0x05, 0x05, "Local Procedure Error" }, { 0x07, 0x07, "Network Congestion" }, { 0x09, 0x09, "Remote DTE operational" }, { 0x0F, 0x0F, "Network operational" }, { 0x11, 0x11, "Incompatible Destination" }, { 0x1D, 0x1D, "Network out of order" }, { 0x80, 0xff, "DTE Originated" }, { 0, 0, NULL } }; static const range_string restart_code_rvals[] = { { 0x00, 0x00, "DTE Originated" }, { 0x01, 0x01, "Local Procedure Error" }, { 0x03, 0x03, "Network Congestion" }, { 0x07, 0x07, "Network Operational" }, { 0x7F, 0x7F, "Registration/cancellation confirmed" }, { 0x80, 0xff, "DTE Originated" }, { 0, 0, NULL } }; static char * dte_address_util(wmem_allocator_t *pool, tvbuff_t *tvb, int offset, guint8 len) { int i; char *tmpbuf = (char *)wmem_alloc(pool, 258); for (i = 0; (i<len)&&(i<256); i++) { if (i % 2 == 0) { tmpbuf[i] = ((tvb_get_guint8(tvb, offset+i/2) >> 4) & 0x0F) + '0'; /* if > 9, convert to the right hexadecimal letter */ if (tmpbuf[i] > '9') tmpbuf[i] += ('A' - '0' - 10); } else { tmpbuf[i] = (tvb_get_guint8(tvb, offset+i/2) & 0x0F) + '0'; /* if > 9, convert to the right hexadecimal letter */ if (tmpbuf[i] > '9') tmpbuf[i] += ('A' - '0' - 10); } } tmpbuf[i] = '\0'; return tmpbuf; } static void add_priority(proto_tree *tree, int hf, tvbuff_t *tvb, int offset) { guint8 priority; priority = tvb_get_guint8(tvb, offset); if (priority == 255) proto_tree_add_uint_format_value(tree, hf, tvb, offset, 1, priority, "Unspecified (255)"); else proto_tree_add_uint(tree, hf, tvb, offset, 1, priority); } static void dump_facilities(proto_tree *tree, int *offset, tvbuff_t *tvb, packet_info *pinfo) { guint8 fac, byte1, byte2, byte3; guint32 len; /* facilities length */ proto_item *ti = NULL; proto_tree *facilities_tree = NULL, *facility_tree = NULL; len = tvb_get_guint8(tvb, *offset); if (len && tree) { facilities_tree = proto_tree_add_subtree(tree, tvb, *offset, len + 1, ett_x25_facilities, NULL, "Facilities"); proto_tree_add_item(facilities_tree, hf_x25_facilities_length, tvb, *offset, 1, ENC_BIG_ENDIAN); } (*offset)++; while (len > 0) { ti = proto_tree_add_item(facilities_tree, hf_x25_facility, tvb, *offset, -1, ENC_NA); fac = tvb_get_guint8(tvb, *offset); switch(fac & X25_FAC_CLASS_MASK) { case X25_FAC_CLASS_A: proto_item_set_len(ti, 2); proto_item_append_text(ti, ": %s", val_to_str(fac, x25_facilities_classA_vals, "Unknown (0x%02X)")); facility_tree = proto_item_add_subtree(ti, ett_x25_facility); proto_tree_add_item(facility_tree, hf_x25_facility_class, tvb, *offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_facility_classA, tvb, *offset, 1, ENC_BIG_ENDIAN); if (facility_tree) { switch (fac) { case X25_FAC_COMP_MARK: proto_tree_add_item(facility_tree, hf_x25_facility_classA_comp_mark, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; case X25_FAC_REVERSE: proto_tree_add_item(facility_tree, hf_x25_facility_classA_reverse, tvb, *offset+1, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_fast_select, tvb, *offset+1, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_icrd, tvb, *offset+1, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_facility_reverse_charging, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; case X25_FAC_CHARGING_INFO: proto_tree_add_item(facility_tree, hf_x25_facility_classA_charging_info, tvb, *offset+1, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_facility_charging_info, tvb, *offset+1, 1, ENC_NA); break; case X25_FAC_THROUGHPUT: proto_tree_add_item(facility_tree, hf_x25_facility_throughput_called_dte, tvb, *offset+1, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_throughput_called_dte, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; case X25_FAC_CUG: proto_tree_add_item(facility_tree, hf_x25_facility_classA_cug, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; case X25_FAC_CALLED_MODIF: proto_tree_add_item(facility_tree, hf_x25_facility_classA_called_motif, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; case X25_FAC_CUG_OUTGOING_ACC: proto_tree_add_item(facility_tree, hf_x25_facility_classA_cug_outgoing_acc, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; case X25_FAC_THROUGHPUT_MIN: proto_tree_add_item(facility_tree, hf_x25_facility_classA_throughput_min, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; case X25_FAC_EXPRESS_DATA: proto_tree_add_item(facility_tree, hf_x25_facility_classA_express_data, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; default: proto_tree_add_item(facility_tree, hf_x25_facility_classA_unknown, tvb, *offset+1, 1, ENC_BIG_ENDIAN); break; } } (*offset) += 2; len -= 2; break; case X25_FAC_CLASS_B: proto_item_set_len(ti, 3); proto_item_append_text(ti, ": %s", val_to_str(fac, x25_facilities_classB_vals, "Unknown (0x%02X)")); facility_tree = proto_item_add_subtree(ti, ett_x25_facility); proto_tree_add_item(facility_tree, hf_x25_facility_class, tvb, *offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_facility_classB, tvb, *offset, 1, ENC_BIG_ENDIAN); if (facility_tree) { switch (fac) { case X25_FAC_BILATERAL_CUG: proto_tree_add_item(facility_tree, hf_x25_facility_classB_bilateral_cug, tvb, *offset+1, 2, ENC_BIG_ENDIAN); break; case X25_FAC_PACKET_SIZE: proto_tree_add_item(facility_tree, hf_x25_facility_packet_size_called_dte, tvb, *offset+1, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_facility_packet_size_calling_dte, tvb, *offset+2, 1, ENC_BIG_ENDIAN); break; case X25_FAC_WINDOW_SIZE: proto_tree_add_item(facility_tree, hf_x25_window_size_called_dte, tvb, *offset+1, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_window_size_calling_dte, tvb, *offset+2, 1, ENC_BIG_ENDIAN); break; case X25_FAC_RPOA_SELECTION: proto_tree_add_item(facility_tree, hf_x25_facility_data_network_id_code, tvb, *offset+1, 2, ENC_BIG_ENDIAN); break; case X25_FAC_CUG_EXT: proto_tree_add_item(facility_tree, hf_x25_facility_cug_ext, tvb, *offset+1, 2, ENC_BIG_ENDIAN); break; case X25_FAC_CUG_OUTGOING_ACC_EXT: proto_tree_add_item(facility_tree, hf_x25_facility_cug_outgoing_acc_ext, tvb, *offset+1, 2, ENC_BIG_ENDIAN); break; case X25_FAC_TRANSIT_DELAY: proto_tree_add_item(facility_tree, hf_x25_facility_transit_delay, tvb, *offset+1, 2, ENC_BIG_ENDIAN); break; default: proto_tree_add_item(facility_tree, hf_x25_facility_classB_unknown, tvb, *offset+1, 2, ENC_BIG_ENDIAN); break; } } (*offset) += 3; len -= 3; break; case X25_FAC_CLASS_C: proto_item_set_len(ti, 4); proto_item_append_text(ti, ": %s", val_to_str(fac, x25_facilities_classC_vals, "Unknown (0x%02X)")); facility_tree = proto_item_add_subtree(ti, ett_x25_facility); proto_tree_add_item(facility_tree, hf_x25_facility_class, tvb, *offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_facility_classC, tvb, *offset, 1, ENC_BIG_ENDIAN); if (facility_tree) { proto_tree_add_item(facility_tree, hf_x25_facility_classC_unknown, tvb, *offset+1, 2, ENC_BIG_ENDIAN); } (*offset) += 4; len -= 4; break; case X25_FAC_CLASS_D: proto_item_append_text(ti, ": %s", val_to_str(fac, x25_facilities_classD_vals, "Unknown (0x%02X)")); facility_tree = proto_item_add_subtree(ti, ett_x25_facility); proto_tree_add_item(facility_tree, hf_x25_facility_class, tvb, *offset, 1, ENC_BIG_ENDIAN); byte1 = tvb_get_guint8(tvb, *offset+1); proto_item_set_len(ti, byte1+2); proto_tree_add_item(facility_tree, hf_x25_facility_classD, tvb, *offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(facility_tree, hf_x25_facility_length, tvb, *offset+1, 1, ENC_BIG_ENDIAN); if (facility_tree) { switch (fac) { case X25_FAC_CALL_DURATION: { int i; if ((byte1 < 4) || (byte1 % 4)) { expert_add_info(pinfo, ti, &ei_x25_facility_length); return; } for (i = 0; (i<byte1); i+=4) { proto_tree_add_bytes_format_value(facility_tree, hf_x25_call_duration, tvb, *offset+2+i, 4, NULL, "%u Day(s) %02X:%02X:%02X Hour(s)", tvb_get_guint8(tvb, *offset+2+i), tvb_get_guint8(tvb, *offset+3+i), tvb_get_guint8(tvb, *offset+4+i), tvb_get_guint8(tvb, *offset+5+i)); } } break; case X25_FAC_SEGMENT_COUNT: { int i; if ((byte1 < 8) || (byte1 % 8)) { expert_add_info(pinfo, ti, &ei_x25_facility_length); return; } for (i = 0; (i<byte1); i+=8) { proto_tree_add_item(facility_tree, hf_x25_segments_to_dte, tvb, *offset+2+i, 4, ENC_NA); proto_tree_add_item(facility_tree, hf_x25_segments_from_dte, tvb, *offset+6+i, 4, ENC_NA); } } break; case X25_FAC_CALL_TRANSFER: { char *tmpbuf; if (byte1 < 2) { expert_add_info(pinfo, ti, &ei_x25_facility_length); return; } byte2 = tvb_get_guint8(tvb, *offset+2); if ((byte2 & 0xC0) == 0xC0) { proto_tree_add_uint_format_value(facility_tree, hf_x25_facility_call_transfer_reason, tvb, *offset+2, 1, byte2, "call deflection by the originally called DTE address"); } else { proto_tree_add_uint(facility_tree, hf_x25_facility_call_transfer_reason, tvb, *offset+2, 1, byte2); } byte3 = tvb_get_guint8(tvb, *offset+3); proto_tree_add_uint(facility_tree, hf_x25_facility_call_transfer_num_semi_octets, tvb, *offset+4, 1, byte3); tmpbuf = dte_address_util(pinfo->pool, tvb, *offset + 4, byte3); proto_tree_add_string(facility_tree, hf_x25_dte_address, tvb, *offset+4, byte1 - 2, tmpbuf); } break; case X25_FAC_RPOA_SELECTION_EXT: { int i; if ((byte1 < 2) || (byte1 % 2)) { expert_add_info(pinfo, ti, &ei_x25_facility_length); return; } for (i = 0; (i<byte1); i+=2) { proto_tree_add_item(facility_tree, hf_x25_data_network_identification_code, tvb, *offset+2+i, 2, ENC_BIG_ENDIAN); } } break; case X25_FAC_CALLING_ADDR_EXT: { char *tmpbuf; if (byte1 < 1) { expert_add_info(pinfo, ti, &ei_x25_facility_length); return; } byte2 = tvb_get_guint8(tvb, *offset+2) & 0x3F; proto_tree_add_uint(facility_tree, hf_x25_facility_calling_addr_ext_num_semi_octets, tvb, *offset+2, 1, byte2); tmpbuf = dte_address_util(pinfo->pool, tvb, *offset + 3, byte2); proto_tree_add_string(facility_tree, hf_x25_dte_address, tvb, *offset+3, byte1 - 1, tmpbuf); } break; case X25_FAC_MONETARY_UNIT: proto_tree_add_item(facility_tree, hf_x25_facility_monetary_unit, tvb, *offset+2, byte1, ENC_NA); break; case X25_FAC_NUI: proto_tree_add_item(facility_tree, hf_x25_facility_nui, tvb, *offset+2, byte1, ENC_NA); break; case X25_FAC_CALLED_ADDR_EXT: { char *tmpbuf; if (byte1 < 1) { expert_add_info(pinfo, ti, &ei_x25_facility_length); return; } byte2 = tvb_get_guint8(tvb, *offset+2) & 0x3F; proto_tree_add_uint(facility_tree, hf_x25_facility_called_addr_ext_num_semi_octets, tvb, *offset+2, 1, byte2); tmpbuf = dte_address_util(pinfo->pool, tvb, *offset+3, byte2); proto_tree_add_string(facility_tree, hf_x25_dte_address, tvb, *offset+3, byte1 - 1, tmpbuf); } break; case X25_FAC_ETE_TRANSIT_DELAY: if (byte1 < 2) break; proto_tree_add_item(facility_tree, hf_x25_facility_cumulative_ete_transit_delay, tvb, *offset+2, 2, ENC_BIG_ENDIAN); if (byte1 < 4) break; proto_tree_add_item(facility_tree, hf_x25_facility_requested_ete_transit_delay, tvb, *offset+4, 2, ENC_BIG_ENDIAN); if (byte1 < 6) break; proto_tree_add_item(facility_tree, hf_x25_facility_max_acceptable_ete_transit_delay, tvb, *offset+6, 2, ENC_BIG_ENDIAN); break; case X25_FAC_CALL_DEFLECT: { char *tmpbuf; if (byte1 < 2) { expert_add_info(pinfo, ti, &ei_x25_facility_length); return; } byte2 = tvb_get_guint8(tvb, *offset+2); if ((byte2 & 0xC0) == 0xC0) proto_tree_add_uint_format_value(facility_tree, hf_x25_facility_call_deflect_reason, tvb, *offset+2, 1, byte2, "call DTE originated"); else proto_tree_add_uint_format_value(facility_tree, hf_x25_facility_call_deflect_reason, tvb, *offset+2, 1, byte2, "unknown"); byte3 = tvb_get_guint8(tvb, *offset+3); proto_tree_add_uint(facility_tree, hf_x25_facility_call_deflect_num_semi_octets, tvb, *offset+3, 1, byte3); tmpbuf = dte_address_util(pinfo->pool, tvb, *offset+4, byte3); proto_tree_add_string(facility_tree, hf_x25_alternative_dte_address, tvb, *offset+4, byte1 - 2, tmpbuf); } break; case X25_FAC_PRIORITY: if (byte1 < 1) break; add_priority(facility_tree, hf_x25_facility_priority_data, tvb, *offset+2); if (byte1 < 2) break; add_priority(facility_tree, hf_x25_facility_priority_estab_conn, tvb, *offset+3); if (byte1 < 3) break; add_priority(facility_tree, hf_x25_facility_priority_keep_conn, tvb, *offset+4); if (byte1 < 4) break; add_priority(facility_tree, hf_x25_facility_min_acceptable_priority_data, tvb, *offset+5); if (byte1 < 5) break; add_priority(facility_tree, hf_x25_facility_min_acceptable_priority_estab_conn, tvb, *offset+6); if (byte1 < 6) break; add_priority(facility_tree, hf_x25_facility_min_acceptable_priority_keep_conn, tvb, *offset+7); break; default: proto_tree_add_item(facility_tree, hf_x25_facility_classD_unknown, tvb, *offset+2, byte1, ENC_NA); } } byte1 = tvb_get_guint8(tvb, *offset+1); (*offset) += byte1+2; len -= byte1+2; break; } } } static void x25_ntoa(proto_tree *tree, int *offset, tvbuff_t *tvb, packet_info *pinfo, gboolean is_registration) { int len1, len2; int i; char *addr1, *addr2; char *first, *second; guint8 byte; int localoffset; addr1=(char *)wmem_alloc(pinfo->pool, 16); addr2=(char *)wmem_alloc(pinfo->pool, 16); byte = tvb_get_guint8(tvb, *offset); len1 = (byte >> 0) & 0x0F; len2 = (byte >> 4) & 0x0F; if (tree) { if (is_registration) { proto_tree_add_item(tree, hf_x25_dte_address_length, tvb, *offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(tree, hf_x25_dce_address_length, tvb, *offset, 1, ENC_BIG_ENDIAN); } else { proto_tree_add_item(tree, hf_x25_calling_address_length, tvb, *offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(tree, hf_x25_called_address_length, tvb, *offset, 1, ENC_BIG_ENDIAN); } } (*offset)++; localoffset = *offset; byte = tvb_get_guint8(tvb, localoffset); first=addr1; second=addr2; for (i = 0; i < (len1 + len2); i++) { if (i < len1) { if (i % 2 != 0) { *first++ = ((byte >> 0) & 0x0F) + '0'; localoffset++; byte = tvb_get_guint8(tvb, localoffset); } else { *first++ = ((byte >> 4) & 0x0F) + '0'; } } else { if (i % 2 != 0) { *second++ = ((byte >> 0) & 0x0F) + '0'; localoffset++; byte = tvb_get_guint8(tvb, localoffset); } else { *second++ = ((byte >> 4) & 0x0F) + '0'; } } } *first = '\0'; *second = '\0'; if (len1) { col_add_str(pinfo->cinfo, COL_RES_DL_DST, addr1); proto_tree_add_string(tree, is_registration ? hf_x25_dce_address : hf_x25_called_address, tvb, *offset, (len1 + 1) / 2, addr1); } if (len2) { col_add_str(pinfo->cinfo, COL_RES_DL_SRC, addr2); proto_tree_add_string(tree, is_registration ? hf_x25_dte_address : hf_x25_calling_address, tvb, *offset + len1/2, (len2+1)/2+(len1%2+(len2+1)%2)/2, addr2); } (*offset) += ((len1 + len2 + 1) / 2); } static void x25_toa(proto_tree *tree, int *offset, tvbuff_t *tvb, packet_info *pinfo) { int len1, len2; int i; char *addr1, *addr2; char *first, *second; guint8 byte; int localoffset; addr1=(char *)wmem_alloc(pinfo->pool, 256); addr2=(char *)wmem_alloc(pinfo->pool, 256); len1 = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_x25_called_address_length, tvb, *offset, 1, ENC_NA); (*offset)++; len2 = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_x25_calling_address_length, tvb, *offset, 1, ENC_NA); (*offset)++; localoffset = *offset; byte = tvb_get_guint8(tvb, localoffset); /* * XXX - the first two half-octets of the address are the TOA and * NPI; process them as such and, if the TOA says an address is * an alternative address, process it correctly (i.e., not as a * sequence of half-octets containing digit values). */ first=addr1; second=addr2; for (i = 0; i < (len1 + len2); i++) { if (i < len1) { if (i % 2 != 0) { *first++ = ((byte >> 0) & 0x0F) + '0'; localoffset++; byte = tvb_get_guint8(tvb, localoffset); } else { *first++ = ((byte >> 4) & 0x0F) + '0'; } } else { if (i % 2 != 0) { *second++ = ((byte >> 0) & 0x0F) + '0'; localoffset++; byte = tvb_get_guint8(tvb, localoffset); } else { *second++ = ((byte >> 4) & 0x0F) + '0'; } } } *first = '\0'; *second = '\0'; if (len1) { col_add_str(pinfo->cinfo, COL_RES_DL_DST, addr1); proto_tree_add_string(tree, hf_x25_called_address, tvb, *offset, (len1 + 1) / 2, addr1); } if (len2) { col_add_str(pinfo->cinfo, COL_RES_DL_SRC, addr2); proto_tree_add_string(tree, hf_x25_calling_address, tvb, *offset + len1/2, (len2+1)/2+(len1%2+(len2+1)%2)/2, addr2); } (*offset) += ((len1 + len2 + 1) / 2); } static int get_x25_pkt_len(tvbuff_t *tvb) { guint length, called_len, calling_len, dte_len, dce_len; guint8 byte2, bytex; byte2 = tvb_get_guint8(tvb, 2); switch (byte2) { case X25_CALL_REQUEST: bytex = tvb_get_guint8(tvb, 3); called_len = (bytex >> 0) & 0x0F; calling_len = (bytex >> 4) & 0x0F; length = 4 + (called_len + calling_len + 1) / 2; /* addr */ if (length < tvb_reported_length(tvb)) length += (1 + tvb_get_guint8(tvb, length)); /* facilities */ return MIN(tvb_reported_length(tvb),length); case X25_CALL_ACCEPTED: /* The calling/called address length byte (following the packet type) * is not mandatory, so we must check the packet length before trying * to read it */ if (tvb_reported_length(tvb) == 3) return(3); bytex = tvb_get_guint8(tvb, 3); called_len = (bytex >> 0) & 0x0F; calling_len = (bytex >> 4) & 0x0F; length = 4 + (called_len + calling_len + 1) / 2; /* addr */ if (length < tvb_reported_length(tvb)) length += (1 + tvb_get_guint8(tvb, length)); /* facilities */ return MIN(tvb_reported_length(tvb),length); case X25_CLEAR_REQUEST: case X25_RESET_REQUEST: case X25_RESTART_REQUEST: return MIN(tvb_reported_length(tvb),5); case X25_DIAGNOSTIC: return MIN(tvb_reported_length(tvb),4); case X25_CLEAR_CONFIRMATION: case X25_INTERRUPT: case X25_INTERRUPT_CONFIRMATION: case X25_RESET_CONFIRMATION: case X25_RESTART_CONFIRMATION: return MIN(tvb_reported_length(tvb),3); case X25_REGISTRATION_REQUEST: bytex = tvb_get_guint8(tvb, 3); dce_len = (bytex >> 0) & 0x0F; dte_len = (bytex >> 4) & 0x0F; length = 4 + (dte_len + dce_len + 1) / 2; /* addr */ if (length < tvb_reported_length(tvb)) length += (1 + tvb_get_guint8(tvb, length)); /* registration */ return MIN(tvb_reported_length(tvb),length); case X25_REGISTRATION_CONFIRMATION: bytex = tvb_get_guint8(tvb, 5); dce_len = (bytex >> 0) & 0x0F; dte_len = (bytex >> 4) & 0x0F; length = 6 + (dte_len + dce_len + 1) / 2; /* addr */ if (length < tvb_reported_length(tvb)) length += (1 + tvb_get_guint8(tvb, length)); /* registration */ return MIN(tvb_reported_length(tvb),length); } if (PACKET_IS_DATA(byte2)) return MIN(tvb_reported_length(tvb),3); switch (PACKET_TYPE_FC(byte2)) { case X25_RR: return MIN(tvb_reported_length(tvb),3); case X25_RNR: return MIN(tvb_reported_length(tvb),3); case X25_REJ: return MIN(tvb_reported_length(tvb),3); } return 0; } static const value_string prt_id_vals[] = { {PRT_ID_ISO_8073, "ISO 8073 COTP"}, {PRT_ID_ISO_8602, "ISO 8602 CLTP"}, {PRT_ID_ISO_10736_ISO_8073, "ISO 10736 in conjunction with ISO 8073 COTP"}, {PRT_ID_ISO_10736_ISO_8602, "ISO 10736 in conjunction with ISO 8602 CLTP"}, {0x00, NULL} }; static const value_string sharing_strategy_vals[] = { {0x00, "No sharing"}, {0x00, NULL} }; static void dissect_x25_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, x25_dir_t dir, gboolean side) { proto_tree *x25_tree=0, *gfi_tree=0, *userdata_tree=0; proto_item *ti; guint localoffset=0; guint x25_pkt_len; int modulo; guint16 vc; dissector_handle_t dissect; gboolean toa; /* TOA/NPI address format */ guint16 bytes0_1; guint8 pkt_type; const char *short_name = NULL, *long_name = NULL; tvbuff_t *next_tvb = NULL; gboolean q_bit_set = FALSE; gboolean m_bit_set; gint payload_len; guint32 frag_key; fragment_head *fd_head; heur_dtbl_entry_t *hdtbl_entry; guint8 spi; int is_x_264; guint8 prt_id; col_set_str(pinfo->cinfo, COL_PROTOCOL, "X.25"); col_clear(pinfo->cinfo, COL_INFO); bytes0_1 = tvb_get_ntohs(tvb, 0); modulo = ((bytes0_1 & 0x2000) ? 128 : 8); vc = (int)(bytes0_1 & 0x0FFF); conversation_set_elements_by_id(pinfo, CONVERSATION_X25, vc); if (bytes0_1 & X25_ABIT) toa = TRUE; else toa = FALSE; x25_pkt_len = get_x25_pkt_len(tvb); if (x25_pkt_len < 3) /* packet too short */ { col_set_str(pinfo->cinfo, COL_INFO, "Invalid/short X.25 packet"); if (tree) proto_tree_add_protocol_format(tree, proto_x25, tvb, 0, -1, "Invalid/short X.25 packet"); return; } pkt_type = tvb_get_guint8(tvb, 2); if (PACKET_IS_DATA(pkt_type)) { if (bytes0_1 & X25_QBIT) q_bit_set = TRUE; } if (tree) { ti = proto_tree_add_item(tree, proto_x25, tvb, 0, x25_pkt_len, ENC_NA); x25_tree = proto_item_add_subtree(ti, ett_x25); ti = proto_tree_add_item(x25_tree, hf_x25_gfi, tvb, 0, 2, ENC_BIG_ENDIAN); gfi_tree = proto_item_add_subtree(ti, ett_x25_gfi); if (PACKET_IS_DATA(pkt_type)) { proto_tree_add_boolean(gfi_tree, hf_x25_qbit, tvb, 0, 2, bytes0_1); } else if (pkt_type == X25_CALL_REQUEST || pkt_type == X25_CALL_ACCEPTED || pkt_type == X25_CLEAR_REQUEST || pkt_type == X25_CLEAR_CONFIRMATION) { proto_tree_add_boolean(gfi_tree, hf_x25_abit, tvb, 0, 2, bytes0_1); } if (pkt_type == X25_CALL_REQUEST || pkt_type == X25_CALL_ACCEPTED || PACKET_IS_DATA(pkt_type)) { proto_tree_add_boolean(gfi_tree, hf_x25_dbit, tvb, 0, 2, bytes0_1); } proto_tree_add_uint(gfi_tree, hf_x25_mod, tvb, 0, 2, bytes0_1); } switch (pkt_type) { case X25_CALL_REQUEST: switch (dir) { case X25_FROM_DCE: short_name = "Inc. call"; long_name = "Incoming call"; break; case X25_FROM_DTE: short_name = "Call req."; long_name = "Call request"; break; case X25_UNKNOWN: short_name = "Inc. call/Call req."; long_name = "Incoming call/Call request"; break; } col_add_fstr(pinfo->cinfo, COL_INFO, "%s VC:%d", short_name, vc); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, 0, 2, bytes0_1); proto_tree_add_uint_format_value(x25_tree, hf_x25_type, tvb, 2, 1, X25_CALL_REQUEST, "%s", long_name); } localoffset = 3; if (localoffset < x25_pkt_len) { /* calling/called addresses */ if (toa) x25_toa(x25_tree, (gint*)&localoffset, tvb, pinfo); else x25_ntoa(x25_tree, (gint*)&localoffset, tvb, pinfo, FALSE); } if (localoffset < x25_pkt_len) /* facilities */ dump_facilities(x25_tree, (gint*)&localoffset, tvb, pinfo); if (localoffset < tvb_reported_length(tvb)) /* user data */ { userdata_tree = proto_tree_add_subtree(x25_tree, tvb, localoffset, -1, ett_x25_user_data, &ti, "User data"); /* X.263/ISO 9577 says that: When CLNP or ESIS are run over X.25, the SPI is 0x81 or 0x82, respectively; those are the NLPIDs for those protocol. When X.224/ISO 8073 COTP is run over X.25, and when ISO 11570 explicit identification is being used, the first octet of the user data field is a TPDU length field, and the rest is "as defined in ITU-T Rec. X.225 | ISO/IEC 8073, Annex B, or ITU-T Rec. X.264 and ISO/IEC 11570". When X.264/ISO 11570 default identification is being used, there is no user data field in the CALL REQUEST packet. This is for X.225/ISO 8073 COTP. It also says that SPI values from 0x03 through 0x3f are reserved and are in use by X.224/ISO 8073 Annex B and X.264/ISO 11570. The note says that those values are not NLPIDs, they're "used by the respective higher layer protocol" and "not used for higher layer protocol identification". I infer from this and from what X.264/ISO 11570 says that this means that values in those range are valid values for the first octet of an X.224/ISO 8073 packet or for X.264/ISO 11570. Annex B of X.225/ISO 8073 mentions some additional TPDU types that can be put in what I presume is the user data of connect requests. It says that: The sending transport entity shall: a) either not transmit any TPDU in the NS-user data parameter of the N-CONNECT request primitive; or b) transmit the UN-TPDU (see ITU-T Rec. X.264 and ISO/IEC 11570) followed by the NCM-TPDU in the NS-user data parameter of the N-CONNECT request primitive. I don't know if this means that the user data field will contain a UN TPDU followed by an NCM TPDU or not. X.264/ISO 11570 says that: When default identification is being used, X.225/ISO 8073 COTP is identified. No user data is sent in the network-layer connection request. When explicit identification is being used, the user data is a UN TPDU ("Use of network connection TPDU"), which specifies the transport protocol to use over this network connection. It also says that the length of a UN TPDU shall not exceed 32 octets, i.e. shall not exceed 0x20; it says this is "due to the desire not to conflict with the protocol identifier field carried by X.25 CALL REQUEST/INCOMING CALL packets", and says that field has values specified in X.244. X.244 has been superseded by X.263/ISO 9577, so that presumably means the goal is to allow a UN TPDU's length field to be distinguished from an NLPID, allowing you to tell whether X.264/ISO 11570 explicit identification is being used or an NLPID is being used as the SPI. I read this as meaning that, if the ISO mechanisms are used to identify the protocol being carried over X.25: if there's no user data in the CALL REQUEST/ INCOMING CALL packet, it's COTP; if there is user data, then: if the first octet is less than or equal to 32, it might be a UN TPDU, and that identifies the transport protocol being used, and it may be followed by more data, such as a COTP NCM TPDU if it's COTP; if the first octet is greater than 32, it's an NLPID, *not* a TPDU length, and the stuff following it is *not* a TPDU. Figure A.2 of X.263/ISO 9577 seems to say that the first octet of the user data is a TPDU length field, in the range 0x03 through 0x82, and says they are for X.225/ISO 8073 Annex B or X.264/ISO 11570. However, X.264/ISO 11570 seems to imply that the length field would be that of a UN TPDU, which must be less than or equal to 0x20, and X.225/ISO 8073 Annex B seems to indicate that the user data must begin with an X.264/ISO 11570 UN TPDU, so I'd say that A.2 should have said "in the range 0x03 through 0x20", instead (the length value doesn't include the length field, and the minimum UN TPDU has length, type, PRT-ID, and SHARE, so that's 3 bytes without the length). */ spi = tvb_get_guint8(tvb, localoffset); if (spi > 32 || spi < 3) { /* First octet is > 32, or < 3, so the user data isn't an X.264/ISO 11570 UN TPDU */ is_x_264 = FALSE; } else { /* First octet is >= 3 and <= 32, so the user data *might* be an X.264/ISO 11570 UN TPDU. Check whether we have enough data to see if it is. */ if (tvb_bytes_exist(tvb, localoffset+1, 1)) { /* We do; check whether the second octet is 1. */ if (tvb_get_guint8(tvb, localoffset+1) == 0x01) { /* Yes, the second byte is 1, so it looks like a UN TPDU. */ is_x_264 = TRUE; } else { /* No, the second byte is not 1, so it's not a UN TPDU. */ is_x_264 = FALSE; } } else { /* We can't see the second byte of the putative UN TPDU, so we don't know if that's what it is. */ is_x_264 = -1; } } if (is_x_264 == -1) { /* * We don't know what it is; just skip it. */ localoffset = tvb_reported_length(tvb); } else if (is_x_264) { /* It looks like an X.264 UN TPDU, so show it as such. */ if (userdata_tree) { proto_tree_add_item( userdata_tree, hf_x264_length_indicator, tvb, localoffset, 1, ENC_BIG_ENDIAN); proto_tree_add_item( userdata_tree, hf_x264_un_tpdu_id, tvb, localoffset+1, 1, ENC_BIG_ENDIAN); } prt_id = tvb_get_guint8(tvb, localoffset+2); if (userdata_tree) { proto_tree_add_item( userdata_tree, hf_x264_protocol_id, tvb, localoffset+2, 1, ENC_BIG_ENDIAN); proto_tree_add_item( userdata_tree, hf_x264_sharing_strategy, tvb, localoffset+3, 1, ENC_BIG_ENDIAN); } /* XXX - dissect the variable part? */ /* The length doesn't include the length octet itself. */ localoffset += spi + 1; switch (prt_id) { case PRT_ID_ISO_8073: /* ISO 8073 COTP */ if (!pinfo->fd->visited) x25_hash_add_proto_start(vc, pinfo->num, ositp_handle); /* XXX - dissect the rest of the user data as COTP? That needs support for NCM TPDUs, etc. */ break; case PRT_ID_ISO_8602: /* ISO 8602 CLTP */ if (!pinfo->fd->visited) x25_hash_add_proto_start(vc, pinfo->num, ositp_handle); break; } } else if (is_x_264 == 0) { /* It doesn't look like a UN TPDU, so compare the first octet of the CALL REQUEST packet with various X.263/ ISO 9577 NLPIDs, as per Annex A of X.263/ISO 9577. */ if (userdata_tree) { proto_tree_add_item( userdata_tree, hf_x263_sec_protocol_id, tvb, localoffset, 1, ENC_BIG_ENDIAN); } if (!pinfo->fd->visited) { /* * Is there a dissector handle for this SPI? * If so, assign it to this virtual circuit. */ dissect = dissector_get_uint_handle(x25_subdissector_table, spi); if (dissect != NULL) x25_hash_add_proto_start(vc, pinfo->num, dissect); } /* * If there's only one octet of user data, it's just * an NLPID; don't try to dissect it. */ if (localoffset + 1 == tvb_reported_length(tvb)) return; /* * There's more than one octet of user data, so we'll * dissect it; for some protocols, the NLPID is considered * to be part of the PDU, so, for those cases, we don't * skip past it. For other protocols, we skip the NLPID. */ switch (spi) { case NLPID_ISO8473_CLNP: case NLPID_ISO9542_ESIS: case NLPID_ISO10589_ISIS: case NLPID_ISO10747_IDRP: case NLPID_SNDCF: /* * The NLPID is part of the PDU. Don't skip it. * But if it's all there is to the PDU, don't * bother dissecting it. */ break; case NLPID_SPI_X_29: /* * The first 4 bytes of the call user data are * the SPI plus 3 reserved bytes; they are not * part of the data to be dissected as X.29 data. */ localoffset += 4; break; default: /* * The NLPID isn't part of the PDU - skip it. * If that means there's nothing to dissect */ localoffset++; } } } else { /* if there's no user data in the CALL REQUEST/ INCOMING CALL packet, it's COTP; */ if (call_request_nodata_is_cotp){ x25_hash_add_proto_start(vc, pinfo->num, ositp_handle); } } break; case X25_CALL_ACCEPTED: switch (dir) { case X25_FROM_DCE: short_name = "Call conn."; long_name = "Call connected"; break; case X25_FROM_DTE: short_name = "Call acc."; long_name = "Call accepted"; break; case X25_UNKNOWN: short_name = "Call conn./Call acc."; long_name = "Call connected/Call accepted"; break; } col_add_fstr(pinfo->cinfo, COL_INFO, "%s VC:%d", short_name, vc); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, 0, 2, bytes0_1); proto_tree_add_uint_format_value(x25_tree, hf_x25_type, tvb, 2, 1, X25_CALL_ACCEPTED, "%s", long_name); } localoffset = 3; if (localoffset < x25_pkt_len) { /* calling/called addresses */ if (toa) x25_toa(x25_tree, (gint*)&localoffset, tvb, pinfo); else x25_ntoa(x25_tree, (gint*)&localoffset, tvb, pinfo, FALSE); } if (localoffset < x25_pkt_len) /* facilities */ dump_facilities(x25_tree, (gint*)&localoffset, tvb, pinfo); break; case X25_CLEAR_REQUEST: switch (dir) { case X25_FROM_DCE: short_name = "Clear ind."; long_name = "Clear indication"; break; case X25_FROM_DTE: short_name = "Clear req."; long_name = "Clear request"; break; case X25_UNKNOWN: short_name = "Clear ind./Clear req."; long_name = "Clear indication/Clear request"; break; } col_add_fstr(pinfo->cinfo, COL_INFO, "%s VC:%d %s - %s", short_name, vc, rval_to_str(tvb_get_guint8(tvb, 3), clear_code_rvals, "Unknown (0x%02x)"), val_to_str_ext(tvb_get_guint8(tvb, 4), &x25_clear_diag_vals_ext, "Unknown (0x%02x)")); x25_hash_add_proto_end(vc, pinfo->num); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, 0, 2, bytes0_1); proto_tree_add_uint_format_value(x25_tree, hf_x25_type, tvb, localoffset+2, 1, X25_CLEAR_REQUEST, "%s", long_name); proto_tree_add_item(x25_tree, hf_x25_clear_cause, tvb, 3, 1, ENC_NA); proto_tree_add_item(x25_tree, hf_x25_diagnostic, tvb, 4, 1, ENC_BIG_ENDIAN); } localoffset = x25_pkt_len; break; case X25_CLEAR_CONFIRMATION: col_add_fstr(pinfo->cinfo, COL_INFO, "Clear Conf. VC:%d", vc); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, 0, 2, bytes0_1); proto_tree_add_uint(x25_tree, hf_x25_type, tvb, 2, 1, X25_CLEAR_CONFIRMATION); } localoffset = x25_pkt_len; if (localoffset < tvb_reported_length(tvb)) { /* extended clear conf format */ if (toa) x25_toa(x25_tree, (gint*)&localoffset, tvb, pinfo); else x25_ntoa(x25_tree,(gint*)&localoffset, tvb, pinfo, FALSE); } if (localoffset < tvb_reported_length(tvb)) /* facilities */ dump_facilities(x25_tree, (gint*)&localoffset, tvb, pinfo); break; case X25_DIAGNOSTIC: col_add_fstr(pinfo->cinfo, COL_INFO, "Diag. %d", (int)tvb_get_guint8(tvb, 3)); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_type, tvb, 2, 1, X25_DIAGNOSTIC); proto_tree_add_item(x25_tree, hf_x25_diagnostic, tvb, 3, 1, ENC_NA); } localoffset = x25_pkt_len; break; case X25_INTERRUPT: col_add_fstr(pinfo->cinfo, COL_INFO, "Interrupt VC:%d", vc); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, 0, 2, bytes0_1); proto_tree_add_uint(x25_tree, hf_x25_type, tvb, 2, 1, X25_INTERRUPT); } localoffset = x25_pkt_len; break; case X25_INTERRUPT_CONFIRMATION: col_add_fstr(pinfo->cinfo, COL_INFO, "Interrupt Conf. VC:%d", vc); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, 0, 2, bytes0_1); proto_tree_add_uint(x25_tree, hf_x25_type, tvb, 2, 1, X25_INTERRUPT_CONFIRMATION); } localoffset = x25_pkt_len; break; case X25_RESET_REQUEST: switch (dir) { case X25_FROM_DCE: short_name = "Reset ind."; long_name = "Reset indication"; break; case X25_FROM_DTE: short_name = "Reset req."; long_name = "Reset request"; break; case X25_UNKNOWN: short_name = "Reset ind./Reset req."; long_name = "Reset indication/Reset request"; break; } col_add_fstr(pinfo->cinfo, COL_INFO, "%s VC:%d %s - Diag.:%d", short_name, vc, rval_to_str(tvb_get_guint8(tvb, 3), reset_code_rvals, "Unknown (0x%02x)"), (int)tvb_get_guint8(tvb, 4)); x25_hash_add_proto_end(vc, pinfo->num); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, 0, 2, bytes0_1); proto_tree_add_uint_format_value(x25_tree, hf_x25_type, tvb, 2, 1, X25_RESET_REQUEST, "%s", long_name); proto_tree_add_item(x25_tree, hf_x25_reset_cause, tvb, 3, 1, ENC_NA); proto_tree_add_item(x25_tree, hf_x25_diagnostic, tvb, 4, 1, ENC_NA); } localoffset = x25_pkt_len; break; case X25_RESET_CONFIRMATION: col_add_fstr(pinfo->cinfo, COL_INFO, "Reset conf. VC:%d", vc); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, 0, 2, bytes0_1); proto_tree_add_uint(x25_tree, hf_x25_type, tvb, 2, 1, X25_RESET_CONFIRMATION); } localoffset = x25_pkt_len; break; case X25_RESTART_REQUEST: switch (dir) { case X25_FROM_DCE: short_name = "Restart ind."; long_name = "Restart indication"; break; case X25_FROM_DTE: short_name = "Restart req."; long_name = "Restart request"; break; case X25_UNKNOWN: short_name = "Restart ind./Restart req."; long_name = "Restart indication/Restart request"; break; } col_add_fstr(pinfo->cinfo, COL_INFO, "%s %s - Diag.:%d", short_name, rval_to_str(tvb_get_guint8(tvb, 3), restart_code_rvals, "Unknown (0x%02x)"), (int)tvb_get_guint8(tvb, 4)); if (x25_tree) { proto_tree_add_uint_format_value(x25_tree, hf_x25_type, tvb, 2, 1, X25_RESTART_REQUEST, "%s", long_name); proto_tree_add_item(x25_tree, hf_x25_restart_cause, tvb, 3, 1, ENC_NA); proto_tree_add_item(x25_tree, hf_x25_diagnostic, tvb, 4, 1, ENC_NA); } localoffset = x25_pkt_len; break; case X25_RESTART_CONFIRMATION: col_set_str(pinfo->cinfo, COL_INFO, "Restart conf."); if (x25_tree) proto_tree_add_uint(x25_tree, hf_x25_type, tvb, 2, 1, X25_RESTART_CONFIRMATION); localoffset = x25_pkt_len; break; case X25_REGISTRATION_REQUEST: col_set_str(pinfo->cinfo, COL_INFO, "Registration req."); if (x25_tree) proto_tree_add_uint(x25_tree, hf_x25_type, tvb, 2, 1, X25_REGISTRATION_REQUEST); localoffset = 3; if (localoffset < x25_pkt_len) x25_ntoa(x25_tree, (gint*)&localoffset, tvb, pinfo, TRUE); if (x25_tree) { if (localoffset < x25_pkt_len) proto_tree_add_item( x25_tree, hf_x25_reg_request_length, tvb, localoffset, 1, ENC_BIG_ENDIAN); if (localoffset+1 < x25_pkt_len) proto_tree_add_item(x25_tree, hf_x25_registration, tvb, localoffset+1, tvb_get_guint8(tvb, localoffset) & 0x7F, ENC_NA); } localoffset = tvb_reported_length(tvb); break; case X25_REGISTRATION_CONFIRMATION: col_set_str(pinfo->cinfo, COL_INFO, "Registration conf."); if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_type, tvb, 2, 1, X25_REGISTRATION_CONFIRMATION); proto_tree_add_item(x25_tree, hf_x25_reg_confirm_cause, tvb, 3, 1, ENC_BIG_ENDIAN); proto_tree_add_item(x25_tree, hf_x25_reg_confirm_diagnostic, tvb, 4, 1, ENC_BIG_ENDIAN); } localoffset = 5; if (localoffset < x25_pkt_len) x25_ntoa(x25_tree, (gint*)&localoffset, tvb, pinfo, TRUE); if (x25_tree) { if (localoffset < x25_pkt_len) proto_tree_add_item( x25_tree, hf_x25_reg_confirm_length, tvb, localoffset, 1, ENC_BIG_ENDIAN); if (localoffset+1 < x25_pkt_len) proto_tree_add_item(x25_tree, hf_x25_registration, tvb, localoffset+1, tvb_get_guint8(tvb, localoffset) & 0x7F, ENC_NA); } localoffset = tvb_reported_length(tvb); break; default: localoffset = 2; if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_lcn, tvb, localoffset-2, 2, bytes0_1); } if (PACKET_IS_DATA(pkt_type)) { if (modulo == 8) col_add_fstr(pinfo->cinfo, COL_INFO, "Data VC:%d P(S):%d P(R):%d %s", vc, (pkt_type >> 1) & 0x07, (pkt_type >> 5) & 0x07, (pkt_type & X25_MBIT_MOD8) ? " M" : ""); else col_add_fstr(pinfo->cinfo, COL_INFO, "Data VC:%d P(S):%d P(R):%d %s", vc, tvb_get_guint8(tvb, localoffset+1) >> 1, pkt_type >> 1, (tvb_get_guint8(tvb, localoffset+1) & X25_MBIT_MOD128) ? " M" : ""); if (x25_tree) { if (modulo == 8) { proto_tree_add_uint(x25_tree, hf_x25_p_r_mod8, tvb, localoffset, 1, pkt_type); proto_tree_add_boolean(x25_tree, hf_x25_mbit_mod8, tvb, localoffset, 1, pkt_type); proto_tree_add_uint(x25_tree, hf_x25_p_s_mod8, tvb, localoffset, 1, pkt_type); proto_tree_add_uint(x25_tree, hf_x25_type_data, tvb, localoffset, 1, pkt_type); } else { proto_tree_add_uint(x25_tree, hf_x25_p_r_mod128, tvb, localoffset, 1, pkt_type); proto_tree_add_uint(x25_tree, hf_x25_type_data, tvb, localoffset, 1, pkt_type); proto_tree_add_item(x25_tree, hf_x25_p_s_mod128, tvb, localoffset+1, 1, ENC_NA); proto_tree_add_item(x25_tree, hf_x25_mbit_mod128, tvb, localoffset+1, 1, ENC_NA); } } if (modulo == 8) { m_bit_set = pkt_type & X25_MBIT_MOD8; localoffset += 1; } else { m_bit_set = tvb_get_guint8(tvb, localoffset+1) & X25_MBIT_MOD128; localoffset += 2; } payload_len = tvb_reported_length_remaining(tvb, localoffset); if (reassemble_x25) { /* * Reassemble received and sent traffic separately. * We don't reassemble traffic with an unknown direction * at all. */ frag_key = vc; if (side) { /* * OR in an extra bit to distinguish from traffic * in the other direction. */ frag_key |= 0x10000; } fd_head = fragment_add_seq_next(&x25_reassembly_table, tvb, localoffset, pinfo, frag_key, NULL, payload_len, m_bit_set); pinfo->fragmented = m_bit_set; /* Fragment handling is not adapted to handle several x25 * packets in the same frame. This is common with XOT and * shorter packet sizes. * Therefore, fragment_add_seq_next seem to always return fd_head * A fix to use m_bit_set to only show fragments for last pkt */ if (!m_bit_set && fd_head) { if (fd_head->next) { proto_item *frag_tree_item; /* This is the last packet */ next_tvb = tvb_new_chain(tvb, fd_head->tvb_data); add_new_data_source(pinfo, next_tvb, "Reassembled X.25"); if (x25_tree) { show_fragment_seq_tree(fd_head, &x25_frag_items, x25_tree, pinfo, next_tvb, &frag_tree_item); } } } if (m_bit_set && next_tvb == NULL) { /* * This isn't the last packet, so just * show it as X.25 user data. */ proto_tree_add_item(x25_tree, hf_x25_user_data, tvb, localoffset, -1, ENC_NA); return; } } } else { /* * Non-data packets (RR, RNR, REJ). */ if (modulo == 8) { if (x25_tree) { proto_tree_add_uint(x25_tree, hf_x25_p_r_mod8, tvb, localoffset, 1, pkt_type); proto_tree_add_item(x25_tree, hf_x25_type_fc_mod8, tvb, localoffset, 1, ENC_BIG_ENDIAN); } col_add_fstr(pinfo->cinfo, COL_INFO, "%s VC:%d P(R):%d", val_to_str(PACKET_TYPE_FC(pkt_type), vals_x25_type, "Unknown (0x%02X)"), vc, (pkt_type >> 5) & 0x07); localoffset += 1; } else { if (x25_tree) { proto_tree_add_item(x25_tree, hf_x25_type, tvb, localoffset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(x25_tree, hf_x25_p_r_mod128, tvb, localoffset+1, 1, ENC_BIG_ENDIAN); } col_add_fstr(pinfo->cinfo, COL_INFO, "%s VC:%d P(R):%d", val_to_str(PACKET_TYPE_FC(pkt_type), vals_x25_type, "Unknown (0x%02X)"), vc, tvb_get_guint8(tvb, localoffset+1) >> 1); localoffset += 2; } } break; } if (localoffset >= tvb_reported_length(tvb)) return; if (pinfo->fragmented) return; if (!next_tvb) next_tvb = tvb_new_subset_remaining(tvb, localoffset); /* See if there's already a dissector for this circuit. */ if (try_conversation_dissector_by_id(CONVERSATION_X25, vc, next_tvb, pinfo, tree, &q_bit_set)) { return; /* found it and dissected it */ } /* Did the user suggest QLLC/SNA? */ if (payload_is_qllc_sna) { /* Yes - dissect it as QLLC/SNA. */ if (!pinfo->fd->visited) x25_hash_add_proto_start(vc, pinfo->num, qllc_handle); call_dissector_with_data(qllc_handle, next_tvb, pinfo, tree, &q_bit_set); return; } if (payload_check_data){ /* If the Call Req. has not been captured, let's look at the first two bytes of the payload to see if this looks like COTP. */ if (tvb_get_guint8(next_tvb, 0) == tvb_reported_length(next_tvb)-1) { /* First byte contains the length of the remaining buffer */ if ((tvb_get_guint8(next_tvb, 1) & 0x0F) == 0) { /* Second byte contains a valid COTP TPDU */ if (!pinfo->fd->visited) x25_hash_add_proto_start(vc, pinfo->num, ositp_handle); call_dissector(ositp_handle, next_tvb, pinfo, tree); return; } } /* Then let's look at the first byte of the payload to see if this looks like IP or CLNP. */ switch (tvb_get_guint8(next_tvb, 0)) { case 0x45: /* Looks like an IP header */ if (!pinfo->fd->visited) x25_hash_add_proto_start(vc, pinfo->num, ip_handle); call_dissector(ip_handle, next_tvb, pinfo, tree); return; case NLPID_ISO8473_CLNP: if (!pinfo->fd->visited) x25_hash_add_proto_start(vc, pinfo->num, clnp_handle); call_dissector(clnp_handle, next_tvb, pinfo, tree); return; } } /* Try the heuristic dissectors. */ if (dissector_try_heuristic(x25_heur_subdissector_list, next_tvb, pinfo, tree, &hdtbl_entry, NULL)) { return; } /* All else failed; dissect it as raw data */ call_data_dissector(next_tvb, pinfo, tree); } /* * X.25 dissector for use when "pinfo->pseudo_header" points to a * "struct x25_phdr". */ static int dissect_x25_dir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { dissect_x25_common(tvb, pinfo, tree, (pinfo->pseudo_header->dte_dce.flags & FROM_DCE) ? X25_FROM_DCE : X25_FROM_DTE, pinfo->pseudo_header->dte_dce.flags & FROM_DCE); return tvb_captured_length(tvb); } /* * X.25 dissector for use when "pinfo->pseudo_header" doesn't point to a * "struct x25_phdr". */ static int dissect_x25(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int direction; /* * We don't know if this packet is DTE->DCE or DCE->DCE. * However, we can, at least, distinguish between the two * sides of the conversation, based on the addresses and * ports. */ direction = cmp_address(&pinfo->src, &pinfo->dst); if (direction == 0) direction = (pinfo->srcport > pinfo->destport)*2 - 1; dissect_x25_common(tvb, pinfo, tree, X25_UNKNOWN, direction > 0); return tvb_captured_length(tvb); } void proto_register_x25(void) { static hf_register_info hf[] = { { &hf_x25_facility, { "Facility", "x25.facility", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x25_facilities_length, { "Facilities Length", "x25.facilities_length", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_length, { "Length", "x25.facility_length", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_class, { "Facility Class", "x25.facility.class", FT_UINT8, BASE_HEX, VALS(x25_facilities_class_vals), X25_FAC_CLASS_MASK, NULL, HFILL }}, { &hf_x25_facility_classA, { "Code", "x25.facility.classA", FT_UINT8, BASE_HEX, VALS(x25_facilities_classA_vals), 0, "Facility ClassA Code", HFILL }}, { &hf_x25_facility_classA_comp_mark, { "Parameter", "x25.facility.comp_mark", FT_UINT8, BASE_DEC, VALS(x25_facilities_classA_comp_mark_vals), 0, "Facility Marker Parameter", HFILL }}, { &hf_x25_facility_classA_reverse, { "Parameter", "x25.facility.reverse", FT_UINT8, BASE_HEX, NULL, 0, "Facility Reverse Charging Parameter", HFILL }}, { &hf_x25_facility_classA_charging_info, { "Parameter", "x25.facility.charging_info", FT_UINT8, BASE_HEX, NULL, 0, "Facility Charging Information Parameter", HFILL }}, { &hf_x25_facility_reverse_charging, { "Reverse charging", "x25.reverse_charging", FT_BOOLEAN, 8, TFS(&x25_reverse_charging_val), 0x01, NULL, HFILL }}, { &hf_x25_facility_charging_info, { "Charging information", "x25.charging_info", FT_BOOLEAN, 8, TFS(&tfs_requested_not_requested), 0x01, NULL, HFILL }}, { &hf_x25_facility_throughput_called_dte, { "From the called DTE", "x25.facility.throughput.called_dte", FT_UINT8, BASE_DEC, VALS(x25_facilities_classA_throughput_vals), 0xF0, "Facility Throughput called DTE", HFILL }}, { &hf_x25_throughput_called_dte, { "From the calling DTE", "x25.facility.throughput.calling_dte", FT_UINT8, BASE_DEC, VALS(x25_facilities_classA_throughput_vals), 0x0F, "Facility Throughput calling DTE", HFILL }}, { &hf_x25_facility_classA_cug, { "Closed user group", "x25.facility.cug", FT_UINT8, BASE_HEX, NULL, 0, "Facility Closed user group", HFILL }}, { &hf_x25_facility_classA_called_motif, { "Parameter", "x25.facility.called_motif", FT_UINT8, BASE_HEX, NULL, 0, "Facility Called address modified parameter", HFILL }}, { &hf_x25_facility_classA_cug_outgoing_acc, { "Closed user group", "x25.facility.cug_outgoing_acc", FT_UINT8, BASE_HEX, NULL, 0, "Facility Closed user group with outgoing access selection", HFILL }}, { &hf_x25_facility_classA_throughput_min, { "Parameter", "x25.facility.throughput_min", FT_UINT8, BASE_HEX, NULL, 0, "Facility Minimum throughput class parameter", HFILL }}, { &hf_x25_facility_classA_express_data, { "Parameter", "x25.facility.express_data", FT_UINT8, BASE_HEX, NULL, 0, "Facility Negotiation of express data parameter", HFILL }}, { &hf_x25_facility_classA_unknown, { "Parameter", "x25.facility.classA_unknown", FT_UINT8, BASE_HEX, NULL, 0, "Facility Class A unknown parameter", HFILL }}, { &hf_x25_facility_classB, { "Code", "x25.facility.classB", FT_UINT8, BASE_HEX, VALS(x25_facilities_classB_vals), 0, "Facility ClassB Code", HFILL }}, { &hf_x25_facility_classB_bilateral_cug, { "Bilateral CUG", "x25.facility.bilateral_cug", FT_UINT16, BASE_HEX, NULL, 0, "Facility Bilateral CUG", HFILL }}, { &hf_x25_facility_packet_size_called_dte, { "From the called DTE", "x25.facility.packet_size.called_dte", FT_UINT8, BASE_DEC, VALS(x25_facilities_classB_packet_size_vals), 0, "Facility Packet size from the called DTE", HFILL }}, { &hf_x25_facility_packet_size_calling_dte, { "From the calling DTE", "x25.facility.packet_size.calling_dte", FT_UINT8, BASE_DEC, VALS(x25_facilities_classB_packet_size_vals), 0, "Facility Packet size from the calling DTE", HFILL }}, { &hf_x25_facility_data_network_id_code, { "Data network identification code", "x25.facility.data_network_id_code", FT_UINT16, BASE_HEX, NULL, 0, "Facility RPOA selection data network identification code", HFILL }}, { &hf_x25_facility_cug_ext, { "Closed user group", "x25.facility.cug_ext", FT_UINT16, BASE_HEX, NULL, 0, "Facility Extended closed user group selection", HFILL }}, { &hf_x25_facility_cug_outgoing_acc_ext, { "Closed user group", "x25.facility.cug_outgoing_acc_ext", FT_UINT16, BASE_HEX, NULL, 0, "Facility Extended closed user group with outgoing access selection", HFILL }}, { &hf_x25_facility_transit_delay, { "Transit delay (ms)", "x25.facility.transit_delay", FT_UINT16, BASE_DEC, NULL, 0, "Facility Transit delay selection and indication", HFILL }}, { &hf_x25_facility_classB_unknown, { "Parameter", "x25.facility.classB_unknown", FT_UINT16, BASE_HEX, NULL, 0, "Facility Class B unknown parameter", HFILL }}, { &hf_x25_facility_classC_unknown, { "Parameter", "x25.facility.classC_unknown", FT_UINT24, BASE_HEX, NULL, 0, "Facility Class C unknown parameter", HFILL }}, { &hf_x25_facility_classC, { "Code", "x25.facility.classC", FT_UINT8, BASE_HEX, VALS(x25_facilities_classC_vals), 0, "Facility ClassC Code", HFILL }}, { &hf_x25_facility_classD, { "Code", "x25.facility.classD", FT_UINT8, BASE_HEX, VALS(x25_facilities_classD_vals), 0, "Facility ClassD Code", HFILL }}, { &hf_x25_gfi, { "GFI", "x25.gfi", FT_UINT16, BASE_DEC, NULL, 0xF000, "General format identifier", HFILL }}, { &hf_x25_abit, { "A Bit", "x25.a", FT_BOOLEAN, 16, NULL, X25_ABIT, "Address Bit", HFILL }}, { &hf_x25_qbit, { "Q Bit", "x25.q", FT_BOOLEAN, 16, NULL, X25_QBIT, "Qualifier Bit", HFILL }}, { &hf_x25_dbit, { "D Bit", "x25.d", FT_BOOLEAN, 16, NULL, X25_DBIT, "Delivery Confirmation Bit", HFILL }}, { &hf_x25_mod, { "Modulo", "x25.mod", FT_UINT16, BASE_DEC, VALS(vals_modulo), 0x3000, "Specifies whether the frame is modulo 8 or 128", HFILL }}, { &hf_x25_lcn, { "Logical Channel", "x25.lcn", FT_UINT16, BASE_DEC, NULL, 0x0FFF, "Logical Channel Number", HFILL }}, { &hf_x25_type, { "Packet Type", "x25.type", FT_UINT8, BASE_HEX, VALS(vals_x25_type), 0x0, NULL, HFILL }}, { &hf_x25_type_fc_mod8, { "Packet Type", "x25.type", FT_UINT8, BASE_HEX, VALS(vals_x25_type), 0x1F, NULL, HFILL }}, { &hf_x25_type_data, { "Packet Type", "x25.type", FT_UINT8, BASE_HEX, VALS(vals_x25_type), 0x01, NULL, HFILL }}, { &hf_x25_diagnostic, { "Diagnostic", "x25.diagnostic", FT_UINT8, BASE_DEC|BASE_EXT_STRING, &x25_clear_diag_vals_ext, 0, NULL, HFILL }}, { &hf_x25_p_r_mod8, { "P(R)", "x25.p_r", FT_UINT8, BASE_DEC, NULL, 0xE0, "Packet Receive Sequence Number", HFILL }}, { &hf_x25_p_r_mod128, { "P(R)", "x25.p_r", FT_UINT8, BASE_DEC, NULL, 0xFE, "Packet Receive Sequence Number", HFILL }}, { &hf_x25_mbit_mod8, { "M Bit", "x25.m", FT_BOOLEAN, 8, TFS(&m_bit_tfs), X25_MBIT_MOD8, "More Bit", HFILL }}, { &hf_x25_mbit_mod128, { "M Bit", "x25.m", FT_BOOLEAN, 8, TFS(&m_bit_tfs), X25_MBIT_MOD128, "More Bit", HFILL }}, { &hf_x25_p_s_mod8, { "P(S)", "x25.p_s", FT_UINT8, BASE_DEC, NULL, 0x0E, "Packet Send Sequence Number", HFILL }}, { &hf_x25_p_s_mod128, { "P(S)", "x25.p_s", FT_UINT8, BASE_DEC, NULL, 0xFE, "Packet Send Sequence Number", HFILL }}, { &hf_x25_window_size_called_dte, { "From the called DTE", "x25.window_size.called_dte", FT_UINT8, BASE_DEC, NULL, 0x7F, NULL, HFILL }}, { &hf_x25_window_size_calling_dte, { "From the calling DTE", "x25.window_size.calling_dte", FT_UINT8, BASE_DEC, NULL, 0x7F, NULL, HFILL }}, { &hf_x25_dte_address_length, { "DTE address length", "x25.dte_address_length", FT_UINT8, BASE_DEC, NULL, 0xF0, NULL, HFILL }}, { &hf_x25_dce_address_length, { "DCE address length", "x25.dce_address_length", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL }}, { &hf_x25_calling_address_length, { "Calling address length", "x25.calling_address_length", FT_UINT8, BASE_DEC, NULL, 0xF0, NULL, HFILL }}, { &hf_x25_called_address_length, { "Called address length", "x25.called_address_length", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL }}, { &hf_x25_facility_call_transfer_reason, { "Reason", "x25.facility.call_transfer_reason", FT_UINT8, BASE_DEC, VALS(x25_facilities_call_transfer_reason_vals), 0, NULL, HFILL }}, { &hf_x25_facility_monetary_unit, { "Monetary unit", "x25.facility.monetary_unit", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_nui, { "NUI", "x25.facility.nui", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_cumulative_ete_transit_delay, { "Cumulative end-to-end transit delay (ms)", "x25.facility.cumulative_ete_transit_delay", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_requested_ete_transit_delay, { "Requested end-to-end transit delay (ms)", "x25.facility.requested_ete_transit_delay", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_max_acceptable_ete_transit_delay, { "Maximum acceptable end-to-end transit delay (ms)", "x25.facility.mac_acceptable_ete_transit_delay", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_priority_data, { "Priority for data", "x25.facility.priority_data", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_priority_estab_conn, { "Priority for establishing connection", "x25.facility.priority_estab_conn", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_priority_keep_conn, { "Priority for keeping connection", "x25.facility.priority_keep_conn", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_min_acceptable_priority_data, { "Minimum acceptable priority for data", "x25.facility.min_acceptable_priority_data", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_min_acceptable_priority_estab_conn, { "Minimum acceptable priority for establishing connection", "x25.facility.min_acceptable_priority_estab_conn", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_min_acceptable_priority_keep_conn, { "Minimum acceptable priority for keeping connection", "x25.facility.min_acceptable_priority_keep_conn", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_classD_unknown, { "Parameter", "x25.facility.classD_unknown", FT_BYTES, BASE_NONE, NULL, 0, "Facility Class D unknown parameter", HFILL }}, { &hf_x25_facility_call_transfer_num_semi_octets, { "Number of semi-octets in DTE address", "x25.facility.call_transfer_num_semi_octets", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_calling_addr_ext_num_semi_octets, { "Number of semi-octets in DTE address", "x25.facility.calling_addr_ext_num_semi_octets", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_called_addr_ext_num_semi_octets, { "Number of semi-octets in DTE address", "x25.facility.called_addr_ext_num_semi_octets", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x25_facility_call_deflect_num_semi_octets, { "Number of semi-octets in the alternative DTE address", "x25.facility.call_deflect_num_semi_octets", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x264_length_indicator, { "X.264 length indicator", "x25.x264_length_indicator", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x264_un_tpdu_id, { "X.264 UN TPDU identifier", "x25.x264_un_tpdu_id", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x264_protocol_id, { "X.264 protocol identifier", "x25.x264_protocol_id", FT_UINT8, BASE_HEX, VALS(prt_id_vals), 0, NULL, HFILL }}, { &hf_x264_sharing_strategy, { "X.264 sharing strategy", "x25.x264_sharing_strategy", FT_UINT8, BASE_HEX, VALS(sharing_strategy_vals), 0, NULL, HFILL }}, { &hf_x263_sec_protocol_id, { "X.263 secondary protocol ID", "x25.x263_sec_protocol_id", FT_UINT8, BASE_HEX, VALS(nlpid_vals), 0, NULL, HFILL }}, { &hf_x25_reg_request_length, { "Registration length", "x25.reg_request_length", FT_UINT8, BASE_DEC, NULL, 0x7F, NULL, HFILL }}, { &hf_x25_reg_confirm_length, { "Registration length", "x25.reg_confirm_length", FT_UINT8, BASE_DEC, NULL, 0x7F, NULL, HFILL }}, { &hf_x25_segment_overlap, { "Fragment overlap", "x25.fragment.overlap", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "Fragment overlaps with other fragments", HFILL }}, { &hf_x25_segment_overlap_conflict, { "Conflicting data in fragment overlap", "x25.fragment.overlap.conflict", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "Overlapping fragments contained conflicting data", HFILL }}, { &hf_x25_segment_multiple_tails, { "Multiple tail fragments found", "x25.fragment.multipletails", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "Several tails were found when defragmenting the packet", HFILL }}, { &hf_x25_segment_too_long_segment, { "Fragment too long", "x25.fragment.toolongfragment", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "Fragment contained data past end of packet", HFILL }}, { &hf_x25_segment_error, { "Defragmentation error", "x25.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "Defragmentation error due to illegal fragments", HFILL }}, { &hf_x25_segment_count, { "Fragment count", "x25.fragment.count", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_x25_reassembled_length, { "Reassembled X.25 length", "x25.reassembled.length", FT_UINT32, BASE_DEC, NULL, 0x0, "The total length of the reassembled payload", HFILL }}, { &hf_x25_segment, { "X.25 Fragment", "x25.fragment", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_segments, { "X.25 Fragments", "x25.fragments", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_fast_select, { "Fast select", "x25.fast_select", FT_UINT8, BASE_DEC, VALS(x25_fast_select_vals), 0xC0, NULL, HFILL }}, { &hf_x25_icrd, { "ICRD", "x25.icrd", FT_UINT8, BASE_DEC, VALS(x25_icrd_vals), 0x30, NULL, HFILL }}, { &hf_x25_reg_confirm_cause, { "Cause", "x25.reg_confirm.cause", FT_UINT8, BASE_DEC, VALS(x25_registration_code_vals), 0, NULL, HFILL }}, { &hf_x25_reg_confirm_diagnostic, { "Diagnostic", "x25.reg_confirm.diagnostic", FT_UINT8, BASE_DEC, VALS(x25_registration_code_vals), 0, NULL, HFILL }}, /* Generated from convert_proto_tree_add_text.pl */ { &hf_x25_call_duration, { "Call duration", "x25.call_duration", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_segments_to_dte, { "Segments sent to DTE", "x25.segments_to_dte", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_segments_from_dte, { "Segments received from DTE", "x25.segments_from_dte", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_dte_address, { "DTE address", "x25.dte_address", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_data_network_identification_code, { "Data network identification code", "x25.data_network_identification_code", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_x25_facility_call_deflect_reason, { "Reason", "x25.facility.call_deflect_reason", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_x25_alternative_dte_address, { "Alternative DTE address", "x25.alternative_dte_address", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_dce_address, { "DCE address", "x25.dce_address", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_called_address, { "Called address", "x25.called_address", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_calling_address, { "Calling address", "x25.calling_address", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_clear_cause, { "Cause", "x25.clear_cause", FT_UINT8, BASE_HEX|BASE_RANGE_STRING, RVALS(clear_code_rvals), 0x0, NULL, HFILL }}, { &hf_x25_reset_cause, { "Cause", "x25.reset_cause", FT_UINT8, BASE_HEX|BASE_RANGE_STRING, RVALS(reset_code_rvals), 0x0, NULL, HFILL }}, { &hf_x25_restart_cause, { "Cause", "x25.restart_cause", FT_UINT8, BASE_HEX|BASE_RANGE_STRING, RVALS(restart_code_rvals), 0x0, NULL, HFILL }}, { &hf_x25_registration, { "Registration", "x25.registration", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x25_user_data, { "User data", "x25.user_data", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, }; static gint *ett[] = { &ett_x25, &ett_x25_gfi, &ett_x25_facilities, &ett_x25_facility, &ett_x25_user_data, &ett_x25_segment, &ett_x25_segments }; static ei_register_info ei[] = { { &ei_x25_facility_length, { "x25.facility_length.bogus", PI_PROTOCOL, PI_WARN, "Bogus length", EXPFILL }}, }; module_t *x25_module; expert_module_t* expert_x25; proto_x25 = proto_register_protocol ("X.25", "X.25", "x25"); proto_register_field_array (proto_x25, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_x25 = expert_register_protocol(proto_x25); expert_register_field_array(expert_x25, ei, array_length(ei)); x25_subdissector_table = register_dissector_table("x.25.spi", "X.25 secondary protocol identifier", proto_x25, FT_UINT8, BASE_HEX); x25_heur_subdissector_list = register_heur_dissector_list("x.25", proto_x25); register_dissector("x.25_dir", dissect_x25_dir, proto_x25); x25_handle = register_dissector("x.25", dissect_x25, proto_x25); /* Preferences */ x25_module = prefs_register_protocol(proto_x25, NULL); /* For reading older preference files with "x.25." preferences */ prefs_register_module_alias("x.25", x25_module); prefs_register_obsolete_preference(x25_module, "non_q_bit_is_sna"); prefs_register_bool_preference(x25_module, "payload_is_qllc_sna", "Default to QLLC/SNA", "If CALL REQUEST not seen or didn't specify protocol, dissect as QLLC/SNA", &payload_is_qllc_sna); prefs_register_bool_preference(x25_module, "call_request_nodata_is_cotp", "Assume COTP for Call Request without data", "If CALL REQUEST has no data, assume the protocol handled is COTP", &call_request_nodata_is_cotp); prefs_register_bool_preference(x25_module, "payload_check_data", "Check data for COTP/IP/CLNP", "If CALL REQUEST not seen or didn't specify protocol, check user data before checking heuristic dissectors", &payload_check_data); prefs_register_bool_preference(x25_module, "reassemble", "Reassemble fragmented X.25 packets", "Reassemble fragmented X.25 packets", &reassemble_x25); reassembly_table_register(&x25_reassembly_table, &addresses_reassembly_table_functions); } void proto_reg_handoff_x25(void) { /* * Get handles for various dissectors. */ ip_handle = find_dissector_add_dependency("ip", proto_x25); clnp_handle = find_dissector_add_dependency("clnp", proto_x25); ositp_handle = find_dissector_add_dependency("ositp", proto_x25); qllc_handle = find_dissector_add_dependency("qllc", proto_x25); dissector_add_uint("llc.dsap", SAP_X25, x25_handle); dissector_add_uint("lapd.sapi", LAPD_SAPI_X25, x25_handle); dissector_add_uint("ax25.pid", AX25_P_ROSE, x25_handle); dissector_add_uint("sflow_245.header_protocol", SFLOW_245_HEADER_X25, x25_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-x29.c
/* packet-x29.c * Routines for X.29 packet dissection * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/nlpid.h> void proto_register_x29(void); void proto_reg_handoff_x29(void); static dissector_handle_t x29_handle; static int proto_x29 = -1; static int hf_msg_code = -1; static int hf_error_type = -1; static int hf_inv_msg_code = -1; /* Generated from convert_proto_tree_add_text.pl */ static int hf_x29_pad_message_data = -1; static int hf_x29_type_reference_value = -1; static int hf_x29_type_reference = -1; static int hf_x29_data = -1; static int hf_x29_type_of_aspect = -1; static int hf_x29_reselection_message_data = -1; static int hf_x29_break_value = -1; static int hf_x29_parameter = -1; static int hf_x29_value = -1; static gint ett_x29 = -1; /* * PAD messages. */ #define SET_MSG 0x02 #define READ_MSG 0x04 #define SET_AND_READ_MSG 0x06 #define PARAMETER_IND_MSG 0x00 #define INV_TO_CLEAR_MSG 0x01 #define BREAK_IND_MSG 0x03 #define RESELECTION_MSG 0x07 #define ERROR_MSG 0x05 #define RESEL_WITH_TOA_NPI_MSG 0x08 static const value_string message_code_vals[] = { { SET_MSG, "Set" }, { READ_MSG, "Read" }, { SET_AND_READ_MSG, "Set and read" }, { PARAMETER_IND_MSG, "Parameter indication" }, { INV_TO_CLEAR_MSG, "Invitation to clear" }, { BREAK_IND_MSG, "Indication of break" }, { RESELECTION_MSG, "Reselection" }, { ERROR_MSG, "Error" }, { RESEL_WITH_TOA_NPI_MSG, "Reselection with TOA/NPI" }, { 0, NULL } }; static const value_string error_type_vals[] = { { 0x00, "Received PAD message contained less than eight bits" }, { 0x02, "Unrecognized message code in received PAD message" }, { 0x04, "Parameter field format was incorrect or incompatible with message code" }, { 0x06, "Received PAD message did not contain an integral number of octets" }, { 0x08, "Received Parameter Indication PAD message was unsolicited" }, { 0x0A, "Received PAD message was too long" }, { 0x0C, "Unauthorized reselection PAD message" }, { 0, NULL }, }; static const value_string reference_type_vals[] = { { 0x01, "Change in PAD Aspect" }, { 0x08, "Break" }, { 0, NULL }, }; static int dissect_x29(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { int offset = 0; proto_tree *x29_tree; proto_item *ti; gboolean *q_bit_set; guint8 msg_code; guint8 error_type; guint8 type_ref; gint next_offset; int linelen; /* Reject the packet if data is NULL */ if (data == NULL) return 0; q_bit_set = (gboolean *)data; col_set_str(pinfo->cinfo, COL_PROTOCOL, "X.29"); col_clear(pinfo->cinfo, COL_INFO); ti = proto_tree_add_item(tree, proto_x29, tvb, offset, -1, ENC_NA); x29_tree = proto_item_add_subtree(ti, ett_x29); if (*q_bit_set) { /* * Q bit set - this is a PAD message. */ msg_code = tvb_get_guint8(tvb, offset); col_add_fstr(pinfo->cinfo, COL_INFO, "%s PAD message", val_to_str(msg_code, message_code_vals, "Unknown (0x%02x)")); proto_tree_add_uint(x29_tree, hf_msg_code, tvb, offset, 1, msg_code); offset++; switch (msg_code) { case SET_MSG: case READ_MSG: case SET_AND_READ_MSG: case PARAMETER_IND_MSG: /* * XXX - dissect the references as per X.3. */ while (tvb_reported_length_remaining(tvb, offset) > 0) { proto_tree_add_item(x29_tree, hf_x29_parameter, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; proto_tree_add_item(x29_tree, hf_x29_value, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; } break; case INV_TO_CLEAR_MSG: /* * No data for this message. */ break; case ERROR_MSG: error_type = tvb_get_guint8(tvb, offset); proto_tree_add_uint(x29_tree, hf_error_type, tvb, offset, 1, error_type); offset++; if (error_type != 0) { proto_tree_add_item(x29_tree, hf_inv_msg_code, tvb, offset, 1, ENC_BIG_ENDIAN); } break; case BREAK_IND_MSG: if (tvb_reported_length_remaining(tvb, offset) > 0) { type_ref = tvb_get_guint8(tvb, offset); proto_tree_add_item(x29_tree, hf_x29_type_reference, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; switch (type_ref) { case 0x01: /* change in PAD Aspect */ /* * XXX - dissect as per X.28. */ proto_tree_add_item(x29_tree, hf_x29_type_of_aspect, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; break; case 0x08: /* break */ proto_tree_add_item(x29_tree, hf_x29_break_value, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; break; default: proto_tree_add_item(x29_tree, hf_x29_type_reference_value, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; break; } } break; case RESELECTION_MSG: /* * XXX - dissect me. */ proto_tree_add_item(x29_tree, hf_x29_reselection_message_data, tvb, offset, -1, ENC_NA); break; case RESEL_WITH_TOA_NPI_MSG: /* * XXX - dissect me. */ proto_tree_add_item(x29_tree, hf_x29_reselection_message_data, tvb, offset, -1, ENC_NA); break; default: proto_tree_add_item(x29_tree, hf_x29_pad_message_data, tvb, offset, -1, ENC_NA); break; } } else { /* * Q bit not set - this is data. */ col_set_str(pinfo->cinfo, COL_INFO, "Data ..."); if (tree) { while (tvb_offset_exists(tvb, offset)) { /* * Find the end of the line. */ tvb_find_line_end(tvb, offset, -1, &next_offset, FALSE); /* * Now compute the length of the line * *including* the end-of-line indication, * if any; we display it all. */ linelen = next_offset - offset; proto_tree_add_item(x29_tree, hf_x29_data, tvb, offset, linelen, ENC_NA|ENC_ASCII); offset = next_offset; } } } return tvb_captured_length(tvb); } void proto_register_x29(void) { static hf_register_info hf[] = { { &hf_msg_code, { "Message code", "x29.msg_code", FT_UINT8, BASE_HEX, VALS(message_code_vals), 0x0, "X.29 PAD message code", HFILL }}, { &hf_error_type, { "Error type", "x29.error_type", FT_UINT8, BASE_HEX, VALS(error_type_vals), 0x0, "X.29 error PAD message error type", HFILL }}, { &hf_inv_msg_code, { "Invalid message code", "x29.inv_msg_code", FT_UINT8, BASE_HEX, VALS(message_code_vals), 0x0, "X.29 Error PAD message invalid message code", HFILL }}, /* Generated from convert_proto_tree_add_text.pl */ { &hf_x29_type_reference, { "Type reference", "x29.type_reference", FT_UINT8, BASE_DEC, VALS(reference_type_vals), 0x0, NULL, HFILL }}, { &hf_x29_type_of_aspect, { "Type of aspect", "x29.type_of_aspect", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_x29_break_value, { "Break value", "x29.break_value", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_x29_type_reference_value, { "Type value", "x29.type_reference.value", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_x29_reselection_message_data, { "Reselection message data", "x29.reselection_message_data", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x29_pad_message_data, { "PAD message data", "x29.pad_message_data", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x29_data, { "Data", "x29.data", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_x29_parameter, { "Parameter", "x29.parameter", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_x29_value, { "Value", "x29.value", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, }; static gint *ett[] = { &ett_x29, }; proto_x29 = proto_register_protocol("X.29", "X.29", "x29"); x29_handle = register_dissector("x29", dissect_x29, proto_x29); proto_register_field_array(proto_x29, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_x29(void) { dissector_add_uint("x.25.spi", NLPID_SPI_X_29, x29_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C
wireshark/epan/dissectors/packet-x2ap.c
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x2ap.c */ /* asn2wrs.py -L -p x2ap -c ./x2ap.cnf -s ./packet-x2ap-template -D . -O ../.. X2AP-CommonDataTypes.asn X2AP-Constants.asn X2AP-Containers.asn X2AP-IEs.asn X2AP-PDU-Contents.asn X2AP-PDU-Descriptions.asn */ /* packet-x2ap.c * Routines for dissecting Evolved Universal Terrestrial Radio Access Network (EUTRAN); * X2 Application Protocol (X2AP); * 3GPP TS 36.423 packet dissection * Copyright 2007-2014, Anders Broman <[email protected]> * Copyright 2016-2023, Pascal Quantin <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later * * Ref: * 3GPP TS 36.423 V17.5.0 (2023-06) */ #include "config.h" #include <epan/packet.h> #include <epan/tfs.h> #include <epan/asn1.h> #include <epan/prefs.h> #include <epan/sctpppids.h> #include <epan/proto_data.h> #include "packet-x2ap.h" #include "packet-per.h" #include "packet-e212.h" #include "packet-lte-rrc.h" #include "packet-nr-rrc.h" #include "packet-ngap.h" #include "packet-ranap.h" #include "packet-ntp.h" #include "packet-s1ap.h" #include "packet-f1ap.h" #include "packet-xnap.h" #ifdef _MSC_VER /* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */ #pragma warning(disable:4146) #endif #define PNAME "EUTRAN X2 Application Protocol (X2AP)" #define PSNAME "X2AP" #define PFNAME "x2ap" void proto_register_x2ap(void); /* Dissector will use SCTP PPID 27 or SCTP port. IANA assigned port = 36422 */ #define SCTP_PORT_X2AP 36422 #define maxPrivateIEs 65535 #define maxProtocolExtensions 65535 #define maxProtocolIEs 65535 #define maxEARFCN 65535 #define maxEARFCNPlusOne 65536 #define newmaxEARFCN 262143 #define maxInterfaces 16 #define maxCellineNB 256 #define maxnoofBands 16 #define maxnoofBearers 256 #define maxNrOfErrors 256 #define maxnoofPDCP_SN 16 #define maxnoofEPLMNs 15 #define maxnoofEPLMNsPlusOne 16 #define maxnoofForbLACs 4096 #define maxnoofForbTACs 4096 #define maxnoofBPLMNs 6 #define maxnoofAdditionalPLMNs 6 #define maxnoofNeighbours 512 #define maxnoofPRBs 110 #define maxPools 16 #define maxnoofCells 16 #define maxnoofMBSFN 8 #define maxFailedMeasObjects 32 #define maxnoofCellIDforMDT 32 #define maxnoofTAforMDT 8 #define maxnoofMBMSServiceAreaIdentities 256 #define maxnoofMDTPLMNs 16 #define maxnoofCoMPHypothesisSet 256 #define maxnoofCoMPCells 32 #define maxUEReport 128 #define maxCellReport 9 #define maxnoofPA 3 #define maxCSIProcess 4 #define maxCSIReport 2 #define maxSubband 14 #define maxofNRNeighbours 1024 #define maxCellinengNB 16384 #define maxnooftimeperiods 2 #define maxnoofCellIDforQMC 32 #define maxnoofTAforQMC 8 #define maxnoofPLMNforQMC 16 #define maxUEsinengNBDU 8192 #define maxnoofProtectedResourcePatterns 16 #define maxnoNRcellsSpectrumSharingWithE_UTRA 64 #define maxnoofNrCellBands 32 #define maxnoofBluetoothName 4 #define maxnoofWLANName 4 #define maxnoofextBPLMNs 12 #define maxnoofTLAs 16 #define maxnoofGTPTLAs 16 #define maxnoofTNLAssociations 32 #define maxnoofCellsinCHO 8 #define maxnoofPC5QoSFlows 2048 #define maxnoofSSBAreas 64 #define maxnoofNRSCSs 5 #define maxnoofNRPhysicalResourceBlocks 275 #define maxnoofNonAnchorCarrierFreqConfig 15 #define maxnoofRACHReports 64 #define maxnoofPSCellsPerSN 8 #define maxnoofPSCellsPerPrimaryCellinUEHistoryInfo 8 #define maxnoofReportedNRCellsPossiblyAggregated 16 #define maxnoofPSCellCandidates 8 #define maxnoofTargetSgNBs 8 #define maxnoofMTCItems 16 #define maxnoofCSIRSconfigurations 96 #define maxnoofCSIRSneighbourCells 16 #define maxnoofCSIRSneighbourCellsInMTC 16 #define maxnoofSensorName 3 #define maxnoofTargetSgNBsMinusOne 7 typedef enum _ProcedureCode_enum { id_handoverPreparation = 0, id_handoverCancel = 1, id_loadIndication = 2, id_errorIndication = 3, id_snStatusTransfer = 4, id_uEContextRelease = 5, id_x2Setup = 6, id_reset = 7, id_eNBConfigurationUpdate = 8, id_resourceStatusReportingInitiation = 9, id_resourceStatusReporting = 10, id_privateMessage = 11, id_mobilitySettingsChange = 12, id_rLFIndication = 13, id_handoverReport = 14, id_cellActivation = 15, id_x2Release = 16, id_x2APMessageTransfer = 17, id_x2Removal = 18, id_seNBAdditionPreparation = 19, id_seNBReconfigurationCompletion = 20, id_meNBinitiatedSeNBModificationPreparation = 21, id_seNBinitiatedSeNBModification = 22, id_meNBinitiatedSeNBRelease = 23, id_seNBinitiatedSeNBRelease = 24, id_seNBCounterCheck = 25, id_retrieveUEContext = 26, id_sgNBAdditionPreparation = 27, id_sgNBReconfigurationCompletion = 28, id_meNBinitiatedSgNBModificationPreparation = 29, id_sgNBinitiatedSgNBModification = 30, id_meNBinitiatedSgNBRelease = 31, id_sgNBinitiatedSgNBRelease = 32, id_sgNBCounterCheck = 33, id_sgNBChange = 34, id_rRCTransfer = 35, id_endcX2Setup = 36, id_endcConfigurationUpdate = 37, id_secondaryRATDataUsageReport = 38, id_endcCellActivation = 39, id_endcPartialReset = 40, id_eUTRANRCellResourceCoordination = 41, id_SgNBActivityNotification = 42, id_endcX2Removal = 43, id_dataForwardingAddressIndication = 44, id_gNBStatusIndication = 45, id_deactivateTrace = 46, id_traceStart = 47, id_endcConfigurationTransfer = 48, id_handoverSuccess = 49, id_conditionalHandoverCancel = 50, id_earlyStatusTransfer = 51, id_cellTrafficTrace = 52, id_endcresourceStatusReporting = 53, id_endcresourceStatusReportingInitiation = 54, id_f1CTrafficTransfer = 55, id_UERadioCapabilityIDMapping = 56, id_accessAndMobilityIndication = 57, id_procedure_code_58_not_to_be_used = 58, id_CPC_cancel = 59 } ProcedureCode_enum; typedef enum _ProtocolIE_ID_enum { id_E_RABs_Admitted_Item = 0, id_E_RABs_Admitted_List = 1, id_E_RAB_Item = 2, id_E_RABs_NotAdmitted_List = 3, id_E_RABs_ToBeSetup_Item = 4, id_Cause = 5, id_CellInformation = 6, id_CellInformation_Item = 7, id_Unknown_8 = 8, id_New_eNB_UE_X2AP_ID = 9, id_Old_eNB_UE_X2AP_ID = 10, id_TargetCell_ID = 11, id_TargeteNBtoSource_eNBTransparentContainer = 12, id_TraceActivation = 13, id_UE_ContextInformation = 14, id_UE_HistoryInformation = 15, id_UE_X2AP_ID = 16, id_CriticalityDiagnostics = 17, id_E_RABs_SubjectToStatusTransfer_List = 18, id_E_RABs_SubjectToStatusTransfer_Item = 19, id_ServedCells = 20, id_GlobalENB_ID = 21, id_TimeToWait = 22, id_GUMMEI_ID = 23, id_GUGroupIDList = 24, id_ServedCellsToAdd = 25, id_ServedCellsToModify = 26, id_ServedCellsToDelete = 27, id_Registration_Request = 28, id_CellToReport = 29, id_ReportingPeriodicity = 30, id_CellToReport_Item = 31, id_CellMeasurementResult = 32, id_CellMeasurementResult_Item = 33, id_GUGroupIDToAddList = 34, id_GUGroupIDToDeleteList = 35, id_SRVCCOperationPossible = 36, id_Measurement_ID = 37, id_ReportCharacteristics = 38, id_ENB1_Measurement_ID = 39, id_ENB2_Measurement_ID = 40, id_Number_of_Antennaports = 41, id_CompositeAvailableCapacityGroup = 42, id_ENB1_Cell_ID = 43, id_ENB2_Cell_ID = 44, id_ENB2_Proposed_Mobility_Parameters = 45, id_ENB1_Mobility_Parameters = 46, id_ENB2_Mobility_Parameters_Modification_Range = 47, id_FailureCellPCI = 48, id_Re_establishmentCellECGI = 49, id_FailureCellCRNTI = 50, id_ShortMAC_I = 51, id_SourceCellECGI = 52, id_FailureCellECGI = 53, id_HandoverReportType = 54, id_PRACH_Configuration = 55, id_MBSFN_Subframe_Info = 56, id_ServedCellsToActivate = 57, id_ActivatedCellList = 58, id_DeactivationIndication = 59, id_UE_RLF_Report_Container = 60, id_ABSInformation = 61, id_InvokeIndication = 62, id_ABS_Status = 63, id_PartialSuccessIndicator = 64, id_MeasurementInitiationResult_List = 65, id_MeasurementInitiationResult_Item = 66, id_MeasurementFailureCause_Item = 67, id_CompleteFailureCauseInformation_List = 68, id_CompleteFailureCauseInformation_Item = 69, id_CSG_Id = 70, id_CSGMembershipStatus = 71, id_MDTConfiguration = 72, id_Unknown_73 = 73, id_ManagementBasedMDTallowed = 74, id_RRCConnSetupIndicator = 75, id_NeighbourTAC = 76, id_Time_UE_StayedInCell_EnhancedGranularity = 77, id_RRCConnReestabIndicator = 78, id_MBMS_Service_Area_List = 79, id_HO_cause = 80, id_TargetCellInUTRAN = 81, id_MobilityInformation = 82, id_SourceCellCRNTI = 83, id_MultibandInfoList = 84, id_M3Configuration = 85, id_M4Configuration = 86, id_M5Configuration = 87, id_MDT_Location_Info = 88, id_ManagementBasedMDTPLMNList = 89, id_SignallingBasedMDTPLMNList = 90, id_ReceiveStatusOfULPDCPSDUsExtended = 91, id_ULCOUNTValueExtended = 92, id_DLCOUNTValueExtended = 93, id_eARFCNExtension = 94, id_UL_EARFCNExtension = 95, id_DL_EARFCNExtension = 96, id_AdditionalSpecialSubframe_Info = 97, id_Masked_IMEISV = 98, id_IntendedULDLConfiguration = 99, id_ExtendedULInterferenceOverloadInfo = 100, id_RNL_Header = 101, id_x2APMessage = 102, id_ProSeAuthorized = 103, id_ExpectedUEBehaviour = 104, id_UE_HistoryInformationFromTheUE = 105, id_DynamicDLTransmissionInformation = 106, id_UE_RLF_Report_Container_for_extended_bands = 107, id_CoMPInformation = 108, id_ReportingPeriodicityRSRPMR = 109, id_RSRPMRList = 110, id_MeNB_UE_X2AP_ID = 111, id_SeNB_UE_X2AP_ID = 112, id_UE_SecurityCapabilities = 113, id_SeNBSecurityKey = 114, id_SeNBUEAggregateMaximumBitRate = 115, id_ServingPLMN = 116, id_E_RABs_ToBeAdded_List = 117, id_E_RABs_ToBeAdded_Item = 118, id_MeNBtoSeNBContainer = 119, id_E_RABs_Admitted_ToBeAdded_List = 120, id_E_RABs_Admitted_ToBeAdded_Item = 121, id_SeNBtoMeNBContainer = 122, id_ResponseInformationSeNBReconfComp = 123, id_UE_ContextInformationSeNBModReq = 124, id_E_RABs_ToBeAdded_ModReqItem = 125, id_E_RABs_ToBeModified_ModReqItem = 126, id_E_RABs_ToBeReleased_ModReqItem = 127, id_E_RABs_Admitted_ToBeAdded_ModAckList = 128, id_E_RABs_Admitted_ToBeModified_ModAckList = 129, id_E_RABs_Admitted_ToBeReleased_ModAckList = 130, id_E_RABs_Admitted_ToBeAdded_ModAckItem = 131, id_E_RABs_Admitted_ToBeModified_ModAckItem = 132, id_E_RABs_Admitted_ToBeReleased_ModAckItem = 133, id_E_RABs_ToBeReleased_ModReqd = 134, id_E_RABs_ToBeReleased_ModReqdItem = 135, id_SCGChangeIndication = 136, id_E_RABs_ToBeReleased_List_RelReq = 137, id_E_RABs_ToBeReleased_RelReqItem = 138, id_E_RABs_ToBeReleased_List_RelConf = 139, id_E_RABs_ToBeReleased_RelConfItem = 140, id_E_RABs_SubjectToCounterCheck_List = 141, id_E_RABs_SubjectToCounterCheckItem = 142, id_CoverageModificationList = 143, id_Unknown_144 = 144, id_ReportingPeriodicityCSIR = 145, id_CSIReportList = 146, id_UEID = 147, id_enhancedRNTP = 148, id_ProSeUEtoNetworkRelaying = 149, id_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18 = 150, id_ULCOUNTValuePDCP_SNlength18 = 151, id_DLCOUNTValuePDCP_SNlength18 = 152, id_UE_ContextReferenceAtSeNB = 153, id_UE_ContextKeptIndicator = 154, id_New_eNB_UE_X2AP_ID_Extension = 155, id_Old_eNB_UE_X2AP_ID_Extension = 156, id_MeNB_UE_X2AP_ID_Extension = 157, id_SeNB_UE_X2AP_ID_Extension = 158, id_LHN_ID = 159, id_FreqBandIndicatorPriority = 160, id_M6Configuration = 161, id_M7Configuration = 162, id_Tunnel_Information_for_BBF = 163, id_SIPTO_BearerDeactivationIndication = 164, id_GW_TransportLayerAddress = 165, id_Correlation_ID = 166, id_SIPTO_Correlation_ID = 167, id_SIPTO_L_GW_TransportLayerAddress = 168, id_X2RemovalThreshold = 169, id_CellReportingIndicator = 170, id_BearerType = 171, id_resumeID = 172, id_UE_ContextInformationRetrieve = 173, id_E_RABs_ToBeSetupRetrieve_Item = 174, id_NewEUTRANCellIdentifier = 175, id_V2XServicesAuthorized = 176, id_OffsetOfNbiotChannelNumberToDL_EARFCN = 177, id_OffsetOfNbiotChannelNumberToUL_EARFCN = 178, id_AdditionalSpecialSubframeExtension_Info = 179, id_BandwidthReducedSI = 180, id_MakeBeforeBreakIndicator = 181, id_UE_ContextReferenceAtWT = 182, id_WT_UE_ContextKeptIndicator = 183, id_UESidelinkAggregateMaximumBitRate = 184, id_uL_GTPtunnelEndpoint = 185, id_Unknown_186 = 186, id_Unknown_187 = 187, id_Unknown_188 = 188, id_Unknown_189 = 189, id_Unknown_190 = 190, id_Unknown_191 = 191, id_Unknown_192 = 192, id_DL_scheduling_PDCCH_CCE_usage = 193, id_UL_scheduling_PDCCH_CCE_usage = 194, id_UEAppLayerMeasConfig = 195, id_extended_e_RAB_MaximumBitrateDL = 196, id_extended_e_RAB_MaximumBitrateUL = 197, id_extended_e_RAB_GuaranteedBitrateDL = 198, id_extended_e_RAB_GuaranteedBitrateUL = 199, id_extended_uEaggregateMaximumBitRateDownlink = 200, id_extended_uEaggregateMaximumBitRateUplink = 201, id_NRrestrictioninEPSasSecondaryRAT = 202, id_SgNBSecurityKey = 203, id_SgNBUEAggregateMaximumBitRate = 204, id_E_RABs_ToBeAdded_SgNBAddReqList = 205, id_MeNBtoSgNBContainer = 206, id_SgNB_UE_X2AP_ID = 207, id_RequestedSplitSRBs = 208, id_E_RABs_ToBeAdded_SgNBAddReq_Item = 209, id_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList = 210, id_SgNBtoMeNBContainer = 211, id_AdmittedSplitSRBs = 212, id_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item = 213, id_ResponseInformationSgNBReconfComp = 214, id_UE_ContextInformation_SgNBModReq = 215, id_E_RABs_ToBeAdded_SgNBModReq_Item = 216, id_E_RABs_ToBeModified_SgNBModReq_Item = 217, id_E_RABs_ToBeReleased_SgNBModReq_Item = 218, id_E_RABs_Admitted_ToBeAdded_SgNBModAckList = 219, id_E_RABs_Admitted_ToBeModified_SgNBModAckList = 220, id_E_RABs_Admitted_ToBeReleased_SgNBModAckList = 221, id_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item = 222, id_E_RABs_Admitted_ToBeModified_SgNBModAck_Item = 223, id_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item = 224, id_E_RABs_ToBeReleased_SgNBModReqdList = 225, id_E_RABs_ToBeModified_SgNBModReqdList = 226, id_E_RABs_ToBeReleased_SgNBModReqd_Item = 227, id_E_RABs_ToBeModified_SgNBModReqd_Item = 228, id_E_RABs_ToBeReleased_SgNBChaConfList = 229, id_E_RABs_ToBeReleased_SgNBChaConf_Item = 230, id_E_RABs_ToBeReleased_SgNBRelReqList = 231, id_E_RABs_ToBeReleased_SgNBRelReq_Item = 232, id_E_RABs_ToBeReleased_SgNBRelConfList = 233, id_E_RABs_ToBeReleased_SgNBRelConf_Item = 234, id_E_RABs_SubjectToSgNBCounterCheck_List = 235, id_E_RABs_SubjectToSgNBCounterCheck_Item = 236, id_RRCContainer = 237, id_SRBType = 238, id_Target_SgNB_ID = 239, id_HandoverRestrictionList = 240, id_SCGConfigurationQuery = 241, id_SplitSRB = 242, id_NRUeReport = 243, id_InitiatingNodeType_EndcX2Setup = 244, id_InitiatingNodeType_EndcConfigUpdate = 245, id_RespondingNodeType_EndcX2Setup = 246, id_RespondingNodeType_EndcConfigUpdate = 247, id_NRUESecurityCapabilities = 248, id_PDCPChangeIndication = 249, id_ServedEUTRAcellsENDCX2ManagementList = 250, id_CellAssistanceInformation = 251, id_Globalen_gNB_ID = 252, id_ServedNRcellsENDCX2ManagementList = 253, id_UE_ContextReferenceAtSgNB = 254, id_SecondaryRATUsageReport = 255, id_ActivationID = 256, id_MeNBResourceCoordinationInformation = 257, id_SgNBResourceCoordinationInformation = 258, id_ServedEUTRAcellsToModifyListENDCConfUpd = 259, id_ServedEUTRAcellsToDeleteListENDCConfUpd = 260, id_ServedNRcellsToModifyListENDCConfUpd = 261, id_ServedNRcellsToDeleteListENDCConfUpd = 262, id_E_RABUsageReport_Item = 263, id_Old_SgNB_UE_X2AP_ID = 264, id_SecondaryRATUsageReportList = 265, id_SecondaryRATUsageReport_Item = 266, id_ServedNRCellsToActivate = 267, id_ActivatedNRCellList = 268, id_SelectedPLMN = 269, id_UEs_ToBeReset = 270, id_UEs_Admitted_ToBeReset = 271, id_RRCConfigIndication = 272, id_DownlinkPacketLossRate = 273, id_UplinkPacketLossRate = 274, id_SubscriberProfileIDforRFP = 275, id_serviceType = 276, id_AerialUEsubscriptionInformation = 277, id_SGNB_Addition_Trigger_Ind = 278, id_MeNBCell_ID = 279, id_RequestedSplitSRBsrelease = 280, id_AdmittedSplitSRBsrelease = 281, id_NRS_NSSS_PowerOffset = 282, id_NSSS_NumOccasionDifferentPrecoder = 283, id_ProtectedEUTRAResourceIndication = 284, id_InitiatingNodeType_EutranrCellResourceCoordination = 285, id_RespondingNodeType_EutranrCellResourceCoordination = 286, id_DataTrafficResourceIndication = 287, id_SpectrumSharingGroupID = 288, id_ListofEUTRACellsinEUTRACoordinationReq = 289, id_ListofEUTRACellsinEUTRACoordinationResp = 290, id_ListofEUTRACellsinNRCoordinationReq = 291, id_ListofNRCellsinNRCoordinationReq = 292, id_ListofNRCellsinNRCoordinationResp = 293, id_E_RABs_AdmittedToBeModified_SgNBModConfList = 294, id_E_RABs_AdmittedToBeModified_SgNBModConf_Item = 295, id_UEContextLevelUserPlaneActivity = 296, id_ERABActivityNotifyItemList = 297, id_InitiatingNodeType_EndcX2Removal = 298, id_RespondingNodeType_EndcX2Removal = 299, id_RLC_Status = 300, id_CNTypeRestrictions = 301, id_uLpDCPSnLength = 302, id_BluetoothMeasurementConfiguration = 303, id_WLANMeasurementConfiguration = 304, id_NRrestrictionin5GS = 305, id_dL_Forwarding = 306, id_E_RABs_DataForwardingAddress_List = 307, id_E_RABs_DataForwardingAddress_Item = 308, id_Subscription_Based_UE_DifferentiationInfo = 309, id_GNBOverloadInformation = 310, id_dLPDCPSnLength = 311, id_secondarysgNBDLGTPTEIDatPDCP = 312, id_secondarymeNBULGTPTEIDatPDCP = 313, id_lCID = 314, id_duplicationActivation = 315, id_ECGI = 316, id_RLCMode_transferred = 317, id_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList = 318, id_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item = 319, id_E_RABs_ToBeReleased_SgNBRelReqdList = 320, id_E_RABs_ToBeReleased_SgNBRelReqd_Item = 321, id_NRCGI = 322, id_MeNBCoordinationAssistanceInformation = 323, id_SgNBCoordinationAssistanceInformation = 324, id_new_drb_ID_req = 325, id_endcSONConfigurationTransfer = 326, id_NRNeighbourInfoToAdd = 327, id_NRNeighbourInfoToModify = 328, id_DesiredActNotificationLevel = 329, id_LocationInformationSgNBReporting = 330, id_LocationInformationSgNB = 331, id_LastNG_RANPLMNIdentity = 332, id_EUTRANTraceID = 333, id_additionalPLMNs_Item = 334, id_InterfaceInstanceIndication = 335, id_BPLMN_ID_Info_EUTRA = 336, id_BPLMN_ID_Info_NR = 337, id_NBIoT_UL_DL_AlignmentOffset = 338, id_ERABs_transferred_to_MeNB = 339, id_AdditionalRRMPriorityIndex = 340, id_LowerLayerPresenceStatusChange = 341, id_FastMCGRecovery_SN_to_MN = 342, id_RequestedFastMCGRecoveryViaSRB3 = 343, id_AvailableFastMCGRecoveryViaSRB3 = 344, id_RequestedFastMCGRecoveryViaSRB3Release = 345, id_ReleaseFastMCGRecoveryViaSRB3 = 346, id_FastMCGRecovery_MN_to_SN = 347, id_PartialListIndicator = 348, id_MaximumCellListSize = 349, id_MessageOversizeNotification = 350, id_CellandCapacityAssistInfo = 351, id_TNLConfigurationInfo = 352, id_TNLA_To_Add_List = 353, id_TNLA_To_Update_List = 354, id_TNLA_To_Remove_List = 355, id_TNLA_Setup_List = 356, id_TNLA_Failed_To_Setup_List = 357, id_UnlicensedSpectrumRestriction = 358, id_UEContextReferenceatSourceNGRAN = 359, id_EPCHandoverRestrictionListContainer = 360, id_CHOinformation_REQ = 361, id_CHOinformation_ACK = 362, id_DAPSRequestInfo = 363, id_RequestedTargetCellID = 364, id_CandidateCellsToBeCancelledList = 365, id_DAPSResponseInfo = 366, id_ProcedureStage = 367, id_CHO_DC_Indicator = 368, id_Ethernet_Type = 369, id_NRV2XServicesAuthorized = 370, id_NRUESidelinkAggregateMaximumBitRate = 371, id_PC5QoSParameters = 372, id_NPRACHConfiguration = 373, id_NBIoT_RLF_Report_Container = 374, id_MDTConfigurationNR = 375, id_PrivacyIndicator = 376, id_TraceCollectionEntityIPAddress = 377, id_UERadioCapabilityID = 378, id_SNtriggered = 379, id_CSI_RSTransmissionIndication = 380, id_DLCarrierList = 381, id_TargetCellInNGRAN = 382, id_E_UTRAN_Node1_Measurement_ID = 383, id_E_UTRAN_Node2_Measurement_ID = 384, id_TDDULDLConfigurationCommonNR = 385, id_CarrierList = 386, id_ULCarrierList = 387, id_FrequencyShift7p5khz = 388, id_SSB_PositionsInBurst = 389, id_NRCellPRACHConfig = 390, id_CellToReport_NR_ENDC = 391, id_CellToReport_NR_ENDC_Item = 392, id_CellMeasurementResult_NR_ENDC = 393, id_CellMeasurementResult_NR_ENDC_Item = 394, id_IABNodeIndication = 395, id_QoS_Mapping_Information = 396, id_F1CTrafficContainer = 397, id_Unknown_398 = 398, id_IntendedTDD_DL_ULConfiguration_NR = 399, id_UERadioCapability = 400, id_CellMeasurementResult_E_UTRA_ENDC = 401, id_CellMeasurementResult_E_UTRA_ENDC_Item = 402, id_CellToReport_E_UTRA_ENDC = 403, id_CellToReport_E_UTRA_ENDC_Item = 404, id_TraceCollectionEntityURI = 405, id_SFN_Offset = 406, id_CHO_DC_EarlyDataForwarding = 407, id_IMSvoiceEPSfallbackfrom5G = 408, id_AdditionLocationInformation = 409, id_DirectForwardingPathAvailability = 410, id_sourceNG_RAN_node_id = 411, id_SourceDLForwardingIPAddress = 412, id_SourceNodeDLForwardingIPAddress = 413, id_NRRACHReportInformation = 414, id_SCG_UE_HistoryInformation = 415, id_PSCellHistoryInformationRetrieve = 416, id_MeasurementResultforNRCellsPossiblyAggregated = 417, id_PSCell_UE_HistoryInformation = 418, id_PSCellChangeHistory = 419, id_CHOinformation_AddReq = 420, id_CHOinformation_ModReq = 421, id_SCGActivationStatus = 422, id_SCGActivationRequest = 423, id_CPAinformation_REQ = 424, id_CPAinformation_REQ_ACK = 425, id_CPAinformation_MOD = 426, id_CPAinformation_MOD_ACK = 427, id_CPACinformation_REQD = 428, id_CPCinformation_REQD = 429, id_CPCinformation_CONF = 430, id_CPCinformation_NOTIFY = 431, id_CPCupdate_MOD = 432, id_Additional_Measurement_Timing_Configuration_List = 433, id_ServedCellSpecificInfoReq_NR = 434, id_SecurityIndication = 435, id_SecurityResult = 436, id_RAT_Restrictions = 437, id_SCGreconfigNotification = 438, id_MIMOPRBusageInformation = 439, id_SensorMeasurementConfiguration = 440, id_AdditionalListofForwardingGTPTunnelEndpoint = 441 } ProtocolIE_ID_enum; /* Initialize the protocol and registered fields */ static int proto_x2ap = -1; static int hf_x2ap_transportLayerAddressIPv4 = -1; static int hf_x2ap_transportLayerAddressIPv6 = -1; static int hf_x2ap_ReportCharacteristics_PRBPeriodic = -1; static int hf_x2ap_ReportCharacteristics_TNLLoadIndPeriodic = -1; static int hf_x2ap_ReportCharacteristics_HWLoadIndPeriodic = -1; static int hf_x2ap_ReportCharacteristics_CompositeAvailableCapacityPeriodic = -1; static int hf_x2ap_ReportCharacteristics_ABSStatusPeriodic = -1; static int hf_x2ap_ReportCharacteristics_RSRPMeasurementReportPeriodic = -1; static int hf_x2ap_ReportCharacteristics_CSIReportPeriodic = -1; static int hf_x2ap_ReportCharacteristics_Reserved = -1; static int hf_x2ap_measurementFailedReportCharacteristics_PRBPeriodic = -1; static int hf_x2ap_measurementFailedReportCharacteristics_TNLLoadIndPeriodic = -1; static int hf_x2ap_measurementFailedReportCharacteristics_HWLoadIndPeriodic = -1; static int hf_x2ap_measurementFailedReportCharacteristics_CompositeAvailableCapacityPeriodic = -1; static int hf_x2ap_measurementFailedReportCharacteristics_ABSStatusPeriodic = -1; static int hf_x2ap_measurementFailedReportCharacteristics_RSRPMeasurementReportPeriodic = -1; static int hf_x2ap_measurementFailedReportCharacteristics_CSIReportPeriodic = -1; static int hf_x2ap_measurementFailedReportCharacteristics_Reserved = -1; static int hf_x2ap_eUTRANTraceID_TraceID = -1; static int hf_x2ap_eUTRANTraceID_TraceRecordingSessionReference = -1; static int hf_x2ap_interfacesToTrace_S1_MME = -1; static int hf_x2ap_interfacesToTrace_X2 = -1; static int hf_x2ap_interfacesToTrace_Uu = -1; static int hf_x2ap_interfacesToTrace_F1_C = -1; static int hf_x2ap_interfacesToTrace_E1 = -1; static int hf_x2ap_interfacesToTrace_Reserved = -1; static int hf_x2ap_traceCollectionEntityIPAddress_IPv4 = -1; static int hf_x2ap_traceCollectionEntityIPAddress_IPv6 = -1; static int hf_x2ap_encryptionAlgorithms_EEA1 = -1; static int hf_x2ap_encryptionAlgorithms_EEA2 = -1; static int hf_x2ap_encryptionAlgorithms_EEA3 = -1; static int hf_x2ap_encryptionAlgorithms_Reserved = -1; static int hf_x2ap_integrityProtectionAlgorithms_EIA1 = -1; static int hf_x2ap_integrityProtectionAlgorithms_EIA2 = -1; static int hf_x2ap_integrityProtectionAlgorithms_EIA3 = -1; static int hf_x2ap_integrityProtectionAlgorithms_Reserved = -1; static int hf_x2ap_measurementsToActivate_M1 = -1; static int hf_x2ap_measurementsToActivate_M2 = -1; static int hf_x2ap_measurementsToActivate_M3 = -1; static int hf_x2ap_measurementsToActivate_M4 = -1; static int hf_x2ap_measurementsToActivate_M5 = -1; static int hf_x2ap_measurementsToActivate_LoggingM1FromEventTriggered = -1; static int hf_x2ap_measurementsToActivate_M6 = -1; static int hf_x2ap_measurementsToActivate_M7 = -1; static int hf_x2ap_MDT_Location_Info_GNSS = -1; static int hf_x2ap_MDT_Location_Info_E_CID = -1; static int hf_x2ap_MDT_Location_Info_Reserved = -1; static int hf_x2ap_MDT_transmissionModes_tm1 = -1; static int hf_x2ap_MDT_transmissionModes_tm2 = -1; static int hf_x2ap_MDT_transmissionModes_tm3 = -1; static int hf_x2ap_MDT_transmissionModes_tm4 = -1; static int hf_x2ap_MDT_transmissionModes_tm6 = -1; static int hf_x2ap_MDT_transmissionModes_tm8 = -1; static int hf_x2ap_MDT_transmissionModes_tm9 = -1; static int hf_x2ap_MDT_transmissionModes_tm10 = -1; static int hf_x2ap_NRencryptionAlgorithms_NEA1 = -1; static int hf_x2ap_NRencryptionAlgorithms_NEA2 = -1; static int hf_x2ap_NRencryptionAlgorithms_NEA3 = -1; static int hf_x2ap_NRencryptionAlgorithms_Reserved = -1; static int hf_x2ap_NRintegrityProtectionAlgorithms_NIA1 = -1; static int hf_x2ap_NRintegrityProtectionAlgorithms_NIA2 = -1; static int hf_x2ap_NRintegrityProtectionAlgorithms_NIA3 = -1; static int hf_x2ap_NRintegrityProtectionAlgorithms_Reserved = -1; static int hf_x2ap_ReportCharacteristics_ENDC_PRBPeriodic = -1; static int hf_x2ap_ReportCharacteristics_ENDC_TNLCapacityIndPeriodic = -1; static int hf_x2ap_ReportCharacteristics_ENDC_CompositeAvailableCapacityPeriodic = -1; static int hf_x2ap_ReportCharacteristics_ENDC_NumberOfActiveUEs = -1; static int hf_x2ap_ReportCharacteristics_ENDC_Reserved = -1; static int hf_x2ap_Registration_Request_ENDC_PDU = -1; static int hf_x2ap_ReportingPeriodicity_ENDC_PDU = -1; static int hf_x2ap_ReportCharacteristics_ENDC_PDU = -1; static int hf_x2ap_rAT_RestrictionInformation_LEO = -1; static int hf_x2ap_rAT_RestrictionInformation_MEO = -1; static int hf_x2ap_rAT_RestrictionInformation_GEO = -1; static int hf_x2ap_rAT_RestrictionInformation_OTHERSAT = -1; static int hf_x2ap_rAT_RestrictionInformation_Reserved = -1; static int hf_x2ap_ABSInformation_PDU = -1; /* ABSInformation */ static int hf_x2ap_ABS_Status_PDU = -1; /* ABS_Status */ static int hf_x2ap_ActivationID_PDU = -1; /* ActivationID */ static int hf_x2ap_Additional_Measurement_Timing_Configuration_List_PDU = -1; /* Additional_Measurement_Timing_Configuration_List */ static int hf_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_PDU = -1; /* AdditionalListofForwardingGTPTunnelEndpoint */ static int hf_x2ap_AdditionLocationInformation_PDU = -1; /* AdditionLocationInformation */ static int hf_x2ap_AdditionalRRMPriorityIndex_PDU = -1; /* AdditionalRRMPriorityIndex */ static int hf_x2ap_AdditionalSpecialSubframe_Info_PDU = -1; /* AdditionalSpecialSubframe_Info */ static int hf_x2ap_AdditionalSpecialSubframeExtension_Info_PDU = -1; /* AdditionalSpecialSubframeExtension_Info */ static int hf_x2ap_AvailableFastMCGRecoveryViaSRB3_PDU = -1; /* AvailableFastMCGRecoveryViaSRB3 */ static int hf_x2ap_AerialUEsubscriptionInformation_PDU = -1; /* AerialUEsubscriptionInformation */ static int hf_x2ap_AdditionalPLMNs_Item_PDU = -1; /* AdditionalPLMNs_Item */ static int hf_x2ap_BandwidthReducedSI_PDU = -1; /* BandwidthReducedSI */ static int hf_x2ap_BearerType_PDU = -1; /* BearerType */ static int hf_x2ap_BluetoothMeasurementConfiguration_PDU = -1; /* BluetoothMeasurementConfiguration */ static int hf_x2ap_BPLMN_ID_Info_EUTRA_PDU = -1; /* BPLMN_ID_Info_EUTRA */ static int hf_x2ap_BPLMN_ID_Info_NR_PDU = -1; /* BPLMN_ID_Info_NR */ static int hf_x2ap_Cause_PDU = -1; /* Cause */ static int hf_x2ap_CellReportingIndicator_PDU = -1; /* CellReportingIndicator */ static int hf_x2ap_CPAinformation_REQ_PDU = -1; /* CPAinformation_REQ */ static int hf_x2ap_CPAinformation_REQ_ACK_PDU = -1; /* CPAinformation_REQ_ACK */ static int hf_x2ap_CPCinformation_REQD_PDU = -1; /* CPCinformation_REQD */ static int hf_x2ap_CPCinformation_CONF_PDU = -1; /* CPCinformation_CONF */ static int hf_x2ap_CPCinformation_NOTIFY_PDU = -1; /* CPCinformation_NOTIFY */ static int hf_x2ap_CPAinformation_MOD_PDU = -1; /* CPAinformation_MOD */ static int hf_x2ap_CPCupdate_MOD_PDU = -1; /* CPCupdate_MOD */ static int hf_x2ap_CPAinformation_MOD_ACK_PDU = -1; /* CPAinformation_MOD_ACK */ static int hf_x2ap_CPACinformation_REQD_PDU = -1; /* CPACinformation_REQD */ static int hf_x2ap_CHO_DC_EarlyDataForwarding_PDU = -1; /* CHO_DC_EarlyDataForwarding */ static int hf_x2ap_CHO_DC_Indicator_PDU = -1; /* CHO_DC_Indicator */ static int hf_x2ap_CNTypeRestrictions_PDU = -1; /* CNTypeRestrictions */ static int hf_x2ap_CoMPInformation_PDU = -1; /* CoMPInformation */ static int hf_x2ap_CompositeAvailableCapacityGroup_PDU = -1; /* CompositeAvailableCapacityGroup */ static int hf_x2ap_Correlation_ID_PDU = -1; /* Correlation_ID */ static int hf_x2ap_COUNTValueExtended_PDU = -1; /* COUNTValueExtended */ static int hf_x2ap_COUNTvaluePDCP_SNlength18_PDU = -1; /* COUNTvaluePDCP_SNlength18 */ static int hf_x2ap_CoverageModificationList_PDU = -1; /* CoverageModificationList */ static int hf_x2ap_CriticalityDiagnostics_PDU = -1; /* CriticalityDiagnostics */ static int hf_x2ap_CRNTI_PDU = -1; /* CRNTI */ static int hf_x2ap_CSGMembershipStatus_PDU = -1; /* CSGMembershipStatus */ static int hf_x2ap_CSG_Id_PDU = -1; /* CSG_Id */ static int hf_x2ap_CSIReportList_PDU = -1; /* CSIReportList */ static int hf_x2ap_CHOinformation_REQ_PDU = -1; /* CHOinformation_REQ */ static int hf_x2ap_CHOinformation_ACK_PDU = -1; /* CHOinformation_ACK */ static int hf_x2ap_CandidateCellsToBeCancelledList_PDU = -1; /* CandidateCellsToBeCancelledList */ static int hf_x2ap_CHOinformation_AddReq_PDU = -1; /* CHOinformation_AddReq */ static int hf_x2ap_CHOinformation_ModReq_PDU = -1; /* CHOinformation_ModReq */ static int hf_x2ap_CSI_RSTransmissionIndication_PDU = -1; /* CSI_RSTransmissionIndication */ static int hf_x2ap_DataTrafficResourceIndication_PDU = -1; /* DataTrafficResourceIndication */ static int hf_x2ap_DAPSRequestInfo_PDU = -1; /* DAPSRequestInfo */ static int hf_x2ap_DAPSResponseInfo_PDU = -1; /* DAPSResponseInfo */ static int hf_x2ap_DeactivationIndication_PDU = -1; /* DeactivationIndication */ static int hf_x2ap_DesiredActNotificationLevel_PDU = -1; /* DesiredActNotificationLevel */ static int hf_x2ap_DirectForwardingPathAvailability_PDU = -1; /* DirectForwardingPathAvailability */ static int hf_x2ap_DL_Forwarding_PDU = -1; /* DL_Forwarding */ static int hf_x2ap_DL_scheduling_PDCCH_CCE_usage_PDU = -1; /* DL_scheduling_PDCCH_CCE_usage */ static int hf_x2ap_DuplicationActivation_PDU = -1; /* DuplicationActivation */ static int hf_x2ap_DynamicDLTransmissionInformation_PDU = -1; /* DynamicDLTransmissionInformation */ static int hf_x2ap_EARFCNExtension_PDU = -1; /* EARFCNExtension */ static int hf_x2ap_ECGI_PDU = -1; /* ECGI */ static int hf_x2ap_EndcSONConfigurationTransfer_PDU = -1; /* EndcSONConfigurationTransfer */ static int hf_x2ap_EnhancedRNTP_PDU = -1; /* EnhancedRNTP */ static int hf_x2ap_EPCHandoverRestrictionListContainer_PDU = -1; /* EPCHandoverRestrictionListContainer */ static int hf_x2ap_ERABActivityNotifyItemList_PDU = -1; /* ERABActivityNotifyItemList */ static int hf_x2ap_E_RAB_List_PDU = -1; /* E_RAB_List */ static int hf_x2ap_E_RAB_Item_PDU = -1; /* E_RAB_Item */ static int hf_x2ap_E_RABUsageReport_Item_PDU = -1; /* E_RABUsageReport_Item */ static int hf_x2ap_Ethernet_Type_PDU = -1; /* Ethernet_Type */ static int hf_x2ap_EUTRANCellIdentifier_PDU = -1; /* EUTRANCellIdentifier */ static int hf_x2ap_EUTRANTraceID_PDU = -1; /* EUTRANTraceID */ static int hf_x2ap_ExpectedUEBehaviour_PDU = -1; /* ExpectedUEBehaviour */ static int hf_x2ap_ExtendedULInterferenceOverloadInfo_PDU = -1; /* ExtendedULInterferenceOverloadInfo */ static int hf_x2ap_ExtendedBitRate_PDU = -1; /* ExtendedBitRate */ static int hf_x2ap_F1CTrafficContainer_PDU = -1; /* F1CTrafficContainer */ static int hf_x2ap_FastMCGRecovery_PDU = -1; /* FastMCGRecovery */ static int hf_x2ap_FreqBandIndicatorPriority_PDU = -1; /* FreqBandIndicatorPriority */ static int hf_x2ap_FrequencyShift7p5khz_PDU = -1; /* FrequencyShift7p5khz */ static int hf_x2ap_GlobalENB_ID_PDU = -1; /* GlobalENB_ID */ static int hf_x2ap_GlobalGNB_ID_PDU = -1; /* GlobalGNB_ID */ static int hf_x2ap_Global_RAN_NODE_ID_PDU = -1; /* Global_RAN_NODE_ID */ static int hf_x2ap_GNBOverloadInformation_PDU = -1; /* GNBOverloadInformation */ static int hf_x2ap_GTPtunnelEndpoint_PDU = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_GUGroupIDList_PDU = -1; /* GUGroupIDList */ static int hf_x2ap_GUMMEI_PDU = -1; /* GUMMEI */ static int hf_x2ap_HandoverReportType_PDU = -1; /* HandoverReportType */ static int hf_x2ap_HandoverRestrictionList_PDU = -1; /* HandoverRestrictionList */ static int hf_x2ap_IABNodeIndication_PDU = -1; /* IABNodeIndication */ static int hf_x2ap_IMSvoiceEPSfallbackfrom5G_PDU = -1; /* IMSvoiceEPSfallbackfrom5G */ static int hf_x2ap_IntendedTDD_DL_ULConfiguration_NR_PDU = -1; /* IntendedTDD_DL_ULConfiguration_NR */ static int hf_x2ap_InterfaceInstanceIndication_PDU = -1; /* InterfaceInstanceIndication */ static int hf_x2ap_InvokeIndication_PDU = -1; /* InvokeIndication */ static int hf_x2ap_LCID_PDU = -1; /* LCID */ static int hf_x2ap_LHN_ID_PDU = -1; /* LHN_ID */ static int hf_x2ap_LocationInformationSgNB_PDU = -1; /* LocationInformationSgNB */ static int hf_x2ap_LocationInformationSgNBReporting_PDU = -1; /* LocationInformationSgNBReporting */ static int hf_x2ap_LowerLayerPresenceStatusChange_PDU = -1; /* LowerLayerPresenceStatusChange */ static int hf_x2ap_M3Configuration_PDU = -1; /* M3Configuration */ static int hf_x2ap_M4Configuration_PDU = -1; /* M4Configuration */ static int hf_x2ap_M5Configuration_PDU = -1; /* M5Configuration */ static int hf_x2ap_M6Configuration_PDU = -1; /* M6Configuration */ static int hf_x2ap_M7Configuration_PDU = -1; /* M7Configuration */ static int hf_x2ap_MakeBeforeBreakIndicator_PDU = -1; /* MakeBeforeBreakIndicator */ static int hf_x2ap_ManagementBasedMDTallowed_PDU = -1; /* ManagementBasedMDTallowed */ static int hf_x2ap_Masked_IMEISV_PDU = -1; /* Masked_IMEISV */ static int hf_x2ap_MDT_Configuration_PDU = -1; /* MDT_Configuration */ static int hf_x2ap_MDTPLMNList_PDU = -1; /* MDTPLMNList */ static int hf_x2ap_MDT_Location_Info_PDU = -1; /* MDT_Location_Info */ static int hf_x2ap_Measurement_ID_PDU = -1; /* Measurement_ID */ static int hf_x2ap_Measurement_ID_ENDC_PDU = -1; /* Measurement_ID_ENDC */ static int hf_x2ap_MeNBCoordinationAssistanceInformation_PDU = -1; /* MeNBCoordinationAssistanceInformation */ static int hf_x2ap_x2ap_MeNBResourceCoordinationInformation_PDU = -1; /* MeNBResourceCoordinationInformation */ static int hf_x2ap_MeNBtoSeNBContainer_PDU = -1; /* MeNBtoSeNBContainer */ static int hf_x2ap_MBMS_Service_Area_Identity_List_PDU = -1; /* MBMS_Service_Area_Identity_List */ static int hf_x2ap_MBSFN_Subframe_Infolist_PDU = -1; /* MBSFN_Subframe_Infolist */ static int hf_x2ap_MDT_ConfigurationNR_PDU = -1; /* MDT_ConfigurationNR */ static int hf_x2ap_MobilityParametersModificationRange_PDU = -1; /* MobilityParametersModificationRange */ static int hf_x2ap_MobilityParametersInformation_PDU = -1; /* MobilityParametersInformation */ static int hf_x2ap_MultibandInfoList_PDU = -1; /* MultibandInfoList */ static int hf_x2ap_MessageOversizeNotification_PDU = -1; /* MessageOversizeNotification */ static int hf_x2ap_MeNBtoSgNBContainer_PDU = -1; /* MeNBtoSgNBContainer */ static int hf_x2ap_SplitSRBs_PDU = -1; /* SplitSRBs */ static int hf_x2ap_SplitSRB_PDU = -1; /* SplitSRB */ static int hf_x2ap_NBIoT_UL_DL_AlignmentOffset_PDU = -1; /* NBIoT_UL_DL_AlignmentOffset */ static int hf_x2ap_NBIoT_RLF_Report_Container_PDU = -1; /* NBIoT_RLF_Report_Container */ static int hf_x2ap_NewDRBIDrequest_PDU = -1; /* NewDRBIDrequest */ static int hf_x2ap_Number_of_Antennaports_PDU = -1; /* Number_of_Antennaports */ static int hf_x2ap_NRCarrierList_PDU = -1; /* NRCarrierList */ static int hf_x2ap_NRCellPRACHConfig_PDU = -1; /* NRCellPRACHConfig */ static int hf_x2ap_NRCGI_PDU = -1; /* NRCGI */ static int hf_x2ap_NRRACHReportInformation_PDU = -1; /* NRRACHReportInformation */ static int hf_x2ap_NRNeighbour_Information_PDU = -1; /* NRNeighbour_Information */ static int hf_x2ap_NPRACHConfiguration_PDU = -1; /* NPRACHConfiguration */ static int hf_x2ap_NRrestrictioninEPSasSecondaryRAT_PDU = -1; /* NRrestrictioninEPSasSecondaryRAT */ static int hf_x2ap_MeasurementResultforNRCellsPossiblyAggregated_PDU = -1; /* MeasurementResultforNRCellsPossiblyAggregated */ static int hf_x2ap_MIMOPRBusageInformation_PDU = -1; /* MIMOPRBusageInformation */ static int hf_x2ap_NRrestrictionin5GS_PDU = -1; /* NRrestrictionin5GS */ static int hf_x2ap_NRS_NSSS_PowerOffset_PDU = -1; /* NRS_NSSS_PowerOffset */ static int hf_x2ap_NRUeReport_PDU = -1; /* NRUeReport */ static int hf_x2ap_NRUESidelinkAggregateMaximumBitRate_PDU = -1; /* NRUESidelinkAggregateMaximumBitRate */ static int hf_x2ap_NRUESecurityCapabilities_PDU = -1; /* NRUESecurityCapabilities */ static int hf_x2ap_NSSS_NumOccasionDifferentPrecoder_PDU = -1; /* NSSS_NumOccasionDifferentPrecoder */ static int hf_x2ap_NRV2XServicesAuthorized_PDU = -1; /* NRV2XServicesAuthorized */ static int hf_x2ap_OffsetOfNbiotChannelNumberToEARFCN_PDU = -1; /* OffsetOfNbiotChannelNumberToEARFCN */ static int hf_x2ap_Packet_LossRate_PDU = -1; /* Packet_LossRate */ static int hf_x2ap_PC5QoSParameters_PDU = -1; /* PC5QoSParameters */ static int hf_x2ap_PDCPChangeIndication_PDU = -1; /* PDCPChangeIndication */ static int hf_x2ap_PDCPSnLength_PDU = -1; /* PDCPSnLength */ static int hf_x2ap_PCI_PDU = -1; /* PCI */ static int hf_x2ap_PLMN_Identity_PDU = -1; /* PLMN_Identity */ static int hf_x2ap_PRACH_Configuration_PDU = -1; /* PRACH_Configuration */ static int hf_x2ap_ProSeAuthorized_PDU = -1; /* ProSeAuthorized */ static int hf_x2ap_ProSeUEtoNetworkRelaying_PDU = -1; /* ProSeUEtoNetworkRelaying */ static int hf_x2ap_x2ap_ProtectedEUTRAResourceIndication_PDU = -1; /* ProtectedEUTRAResourceIndication */ static int hf_x2ap_PartialListIndicator_PDU = -1; /* PartialListIndicator */ static int hf_x2ap_PrivacyIndicator_PDU = -1; /* PrivacyIndicator */ static int hf_x2ap_PSCellHistoryInformationRetrieve_PDU = -1; /* PSCellHistoryInformationRetrieve */ static int hf_x2ap_PSCell_UE_HistoryInformation_PDU = -1; /* PSCell_UE_HistoryInformation */ static int hf_x2ap_PSCellChangeHistory_PDU = -1; /* PSCellChangeHistory */ static int hf_x2ap_QoS_Mapping_Information_PDU = -1; /* QoS_Mapping_Information */ static int hf_x2ap_RAN_UE_NGAP_ID_PDU = -1; /* RAN_UE_NGAP_ID */ static int hf_x2ap_RAT_Restrictions_PDU = -1; /* RAT_Restrictions */ static int hf_x2ap_ReceiveStatusOfULPDCPSDUsExtended_PDU = -1; /* ReceiveStatusOfULPDCPSDUsExtended */ static int hf_x2ap_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18_PDU = -1; /* ReceiveStatusOfULPDCPSDUsPDCP_SNlength18 */ static int hf_x2ap_ReleaseFastMCGRecoveryViaSRB3_PDU = -1; /* ReleaseFastMCGRecoveryViaSRB3 */ static int hf_x2ap_Registration_Request_PDU = -1; /* Registration_Request */ static int hf_x2ap_ReportCharacteristics_PDU = -1; /* ReportCharacteristics */ static int hf_x2ap_ReportingPeriodicityCSIR_PDU = -1; /* ReportingPeriodicityCSIR */ static int hf_x2ap_ReportingPeriodicityRSRPMR_PDU = -1; /* ReportingPeriodicityRSRPMR */ static int hf_x2ap_RequestedFastMCGRecoveryViaSRB3_PDU = -1; /* RequestedFastMCGRecoveryViaSRB3 */ static int hf_x2ap_RequestedFastMCGRecoveryViaSRB3Release_PDU = -1; /* RequestedFastMCGRecoveryViaSRB3Release */ static int hf_x2ap_ResumeID_PDU = -1; /* ResumeID */ static int hf_x2ap_RLCMode_PDU = -1; /* RLCMode */ static int hf_x2ap_RLC_Status_PDU = -1; /* RLC_Status */ static int hf_x2ap_RRC_Config_Ind_PDU = -1; /* RRC_Config_Ind */ static int hf_x2ap_RRCConnReestabIndicator_PDU = -1; /* RRCConnReestabIndicator */ static int hf_x2ap_RRCConnSetupIndicator_PDU = -1; /* RRCConnSetupIndicator */ static int hf_x2ap_RSRPMRList_PDU = -1; /* RSRPMRList */ static int hf_x2ap_SCGActivationStatus_PDU = -1; /* SCGActivationStatus */ static int hf_x2ap_SCGActivationRequest_PDU = -1; /* SCGActivationRequest */ static int hf_x2ap_SCGChangeIndication_PDU = -1; /* SCGChangeIndication */ static int hf_x2ap_SCGreconfigNotification_PDU = -1; /* SCGreconfigNotification */ static int hf_x2ap_SCG_UE_HistoryInformation_PDU = -1; /* SCG_UE_HistoryInformation */ static int hf_x2ap_SecondaryRATUsageReportList_PDU = -1; /* SecondaryRATUsageReportList */ static int hf_x2ap_SecondaryRATUsageReport_Item_PDU = -1; /* SecondaryRATUsageReport_Item */ static int hf_x2ap_SecurityIndication_PDU = -1; /* SecurityIndication */ static int hf_x2ap_SecurityResult_PDU = -1; /* SecurityResult */ static int hf_x2ap_SeNBSecurityKey_PDU = -1; /* SeNBSecurityKey */ static int hf_x2ap_SeNBtoMeNBContainer_PDU = -1; /* SeNBtoMeNBContainer */ static int hf_x2ap_SensorMeasurementConfiguration_PDU = -1; /* SensorMeasurementConfiguration */ static int hf_x2ap_ServedCells_PDU = -1; /* ServedCells */ static int hf_x2ap_ServedCellSpecificInfoReq_NR_PDU = -1; /* ServedCellSpecificInfoReq_NR */ static int hf_x2ap_ServiceType_PDU = -1; /* ServiceType */ static int hf_x2ap_SgNBCoordinationAssistanceInformation_PDU = -1; /* SgNBCoordinationAssistanceInformation */ static int hf_x2ap_x2ap_SgNBResourceCoordinationInformation_PDU = -1; /* SgNBResourceCoordinationInformation */ static int hf_x2ap_SgNB_UE_X2AP_ID_PDU = -1; /* SgNB_UE_X2AP_ID */ static int hf_x2ap_SIPTOBearerDeactivationIndication_PDU = -1; /* SIPTOBearerDeactivationIndication */ static int hf_x2ap_ShortMAC_I_PDU = -1; /* ShortMAC_I */ static int hf_x2ap_SGNB_Addition_Trigger_Ind_PDU = -1; /* SGNB_Addition_Trigger_Ind */ static int hf_x2ap_SNtriggered_PDU = -1; /* SNtriggered */ static int hf_x2ap_SpectrumSharingGroupID_PDU = -1; /* SpectrumSharingGroupID */ static int hf_x2ap_Subscription_Based_UE_DifferentiationInfo_PDU = -1; /* Subscription_Based_UE_DifferentiationInfo */ static int hf_x2ap_SRVCCOperationPossible_PDU = -1; /* SRVCCOperationPossible */ static int hf_x2ap_SSB_PositionsInBurst_PDU = -1; /* SSB_PositionsInBurst */ static int hf_x2ap_SubscriberProfileIDforRFP_PDU = -1; /* SubscriberProfileIDforRFP */ static int hf_x2ap_SubframeAssignment_PDU = -1; /* SubframeAssignment */ static int hf_x2ap_SgNBSecurityKey_PDU = -1; /* SgNBSecurityKey */ static int hf_x2ap_SgNBtoMeNBContainer_PDU = -1; /* SgNBtoMeNBContainer */ static int hf_x2ap_SCGConfigurationQuery_PDU = -1; /* SCGConfigurationQuery */ static int hf_x2ap_SFN_Offset_PDU = -1; /* SFN_Offset */ static int hf_x2ap_TAC_PDU = -1; /* TAC */ static int hf_x2ap_TargetCellInNGRAN_PDU = -1; /* TargetCellInNGRAN */ static int hf_x2ap_TargetCellInUTRAN_PDU = -1; /* TargetCellInUTRAN */ static int hf_x2ap_TargeteNBtoSource_eNBTransparentContainer_PDU = -1; /* TargeteNBtoSource_eNBTransparentContainer */ static int hf_x2ap_TDDULDLConfigurationCommonNR_PDU = -1; /* TDDULDLConfigurationCommonNR */ static int hf_x2ap_TimeToWait_PDU = -1; /* TimeToWait */ static int hf_x2ap_Time_UE_StayedInCell_EnhancedGranularity_PDU = -1; /* Time_UE_StayedInCell_EnhancedGranularity */ static int hf_x2ap_TNLA_To_Add_List_PDU = -1; /* TNLA_To_Add_List */ static int hf_x2ap_TNLA_To_Update_List_PDU = -1; /* TNLA_To_Update_List */ static int hf_x2ap_TNLA_To_Remove_List_PDU = -1; /* TNLA_To_Remove_List */ static int hf_x2ap_TNLA_Setup_List_PDU = -1; /* TNLA_Setup_List */ static int hf_x2ap_TNLA_Failed_To_Setup_List_PDU = -1; /* TNLA_Failed_To_Setup_List */ static int hf_x2ap_TNLConfigurationInfo_PDU = -1; /* TNLConfigurationInfo */ static int hf_x2ap_TraceActivation_PDU = -1; /* TraceActivation */ static int hf_x2ap_TransportLayerAddress_PDU = -1; /* TransportLayerAddress */ static int hf_x2ap_TunnelInformation_PDU = -1; /* TunnelInformation */ static int hf_x2ap_UEAggregateMaximumBitRate_PDU = -1; /* UEAggregateMaximumBitRate */ static int hf_x2ap_UEAppLayerMeasConfig_PDU = -1; /* UEAppLayerMeasConfig */ static int hf_x2ap_UE_ContextKeptIndicator_PDU = -1; /* UE_ContextKeptIndicator */ static int hf_x2ap_UEID_PDU = -1; /* UEID */ static int hf_x2ap_UE_HistoryInformation_PDU = -1; /* UE_HistoryInformation */ static int hf_x2ap_UE_HistoryInformationFromTheUE_PDU = -1; /* UE_HistoryInformationFromTheUE */ static int hf_x2ap_UE_X2AP_ID_PDU = -1; /* UE_X2AP_ID */ static int hf_x2ap_UE_X2AP_ID_Extension_PDU = -1; /* UE_X2AP_ID_Extension */ static int hf_x2ap_UERadioCapability_PDU = -1; /* UERadioCapability */ static int hf_x2ap_UERadioCapabilityID_PDU = -1; /* UERadioCapabilityID */ static int hf_x2ap_UE_RLF_Report_Container_PDU = -1; /* UE_RLF_Report_Container */ static int hf_x2ap_UE_RLF_Report_Container_for_extended_bands_PDU = -1; /* UE_RLF_Report_Container_for_extended_bands */ static int hf_x2ap_UESecurityCapabilities_PDU = -1; /* UESecurityCapabilities */ static int hf_x2ap_UESidelinkAggregateMaximumBitRate_PDU = -1; /* UESidelinkAggregateMaximumBitRate */ static int hf_x2ap_UEsToBeResetList_PDU = -1; /* UEsToBeResetList */ static int hf_x2ap_UL_scheduling_PDCCH_CCE_usage_PDU = -1; /* UL_scheduling_PDCCH_CCE_usage */ static int hf_x2ap_UnlicensedSpectrumRestriction_PDU = -1; /* UnlicensedSpectrumRestriction */ static int hf_x2ap_URI_Address_PDU = -1; /* URI_Address */ static int hf_x2ap_UserPlaneTrafficActivityReport_PDU = -1; /* UserPlaneTrafficActivityReport */ static int hf_x2ap_V2XServicesAuthorized_PDU = -1; /* V2XServicesAuthorized */ static int hf_x2ap_WLANMeasurementConfiguration_PDU = -1; /* WLANMeasurementConfiguration */ static int hf_x2ap_X2BenefitValue_PDU = -1; /* X2BenefitValue */ static int hf_x2ap_HandoverRequest_PDU = -1; /* HandoverRequest */ static int hf_x2ap_UE_ContextInformation_PDU = -1; /* UE_ContextInformation */ static int hf_x2ap_E_RABs_ToBeSetup_Item_PDU = -1; /* E_RABs_ToBeSetup_Item */ static int hf_x2ap_MobilityInformation_PDU = -1; /* MobilityInformation */ static int hf_x2ap_UE_ContextReferenceAtSeNB_PDU = -1; /* UE_ContextReferenceAtSeNB */ static int hf_x2ap_UE_ContextReferenceAtWT_PDU = -1; /* UE_ContextReferenceAtWT */ static int hf_x2ap_UE_ContextReferenceAtSgNB_PDU = -1; /* UE_ContextReferenceAtSgNB */ static int hf_x2ap_HandoverRequestAcknowledge_PDU = -1; /* HandoverRequestAcknowledge */ static int hf_x2ap_E_RABs_Admitted_List_PDU = -1; /* E_RABs_Admitted_List */ static int hf_x2ap_E_RABs_Admitted_Item_PDU = -1; /* E_RABs_Admitted_Item */ static int hf_x2ap_HandoverPreparationFailure_PDU = -1; /* HandoverPreparationFailure */ static int hf_x2ap_HandoverReport_PDU = -1; /* HandoverReport */ static int hf_x2ap_EarlyStatusTransfer_PDU = -1; /* EarlyStatusTransfer */ static int hf_x2ap_ProcedureStageChoice_PDU = -1; /* ProcedureStageChoice */ static int hf_x2ap_SNStatusTransfer_PDU = -1; /* SNStatusTransfer */ static int hf_x2ap_E_RABs_SubjectToStatusTransfer_List_PDU = -1; /* E_RABs_SubjectToStatusTransfer_List */ static int hf_x2ap_E_RABs_SubjectToStatusTransfer_Item_PDU = -1; /* E_RABs_SubjectToStatusTransfer_Item */ static int hf_x2ap_UEContextRelease_PDU = -1; /* UEContextRelease */ static int hf_x2ap_HandoverCancel_PDU = -1; /* HandoverCancel */ static int hf_x2ap_HandoverSuccess_PDU = -1; /* HandoverSuccess */ static int hf_x2ap_ConditionalHandoverCancel_PDU = -1; /* ConditionalHandoverCancel */ static int hf_x2ap_ErrorIndication_PDU = -1; /* ErrorIndication */ static int hf_x2ap_ResetRequest_PDU = -1; /* ResetRequest */ static int hf_x2ap_ResetResponse_PDU = -1; /* ResetResponse */ static int hf_x2ap_X2SetupRequest_PDU = -1; /* X2SetupRequest */ static int hf_x2ap_X2SetupResponse_PDU = -1; /* X2SetupResponse */ static int hf_x2ap_X2SetupFailure_PDU = -1; /* X2SetupFailure */ static int hf_x2ap_LoadInformation_PDU = -1; /* LoadInformation */ static int hf_x2ap_CellInformation_List_PDU = -1; /* CellInformation_List */ static int hf_x2ap_CellInformation_Item_PDU = -1; /* CellInformation_Item */ static int hf_x2ap_ENBConfigurationUpdate_PDU = -1; /* ENBConfigurationUpdate */ static int hf_x2ap_ServedCellsToModify_PDU = -1; /* ServedCellsToModify */ static int hf_x2ap_Old_ECGIs_PDU = -1; /* Old_ECGIs */ static int hf_x2ap_ENBConfigurationUpdateAcknowledge_PDU = -1; /* ENBConfigurationUpdateAcknowledge */ static int hf_x2ap_ENBConfigurationUpdateFailure_PDU = -1; /* ENBConfigurationUpdateFailure */ static int hf_x2ap_ResourceStatusRequest_PDU = -1; /* ResourceStatusRequest */ static int hf_x2ap_CellToReport_List_PDU = -1; /* CellToReport_List */ static int hf_x2ap_CellToReport_Item_PDU = -1; /* CellToReport_Item */ static int hf_x2ap_ReportingPeriodicity_PDU = -1; /* ReportingPeriodicity */ static int hf_x2ap_PartialSuccessIndicator_PDU = -1; /* PartialSuccessIndicator */ static int hf_x2ap_ResourceStatusResponse_PDU = -1; /* ResourceStatusResponse */ static int hf_x2ap_MeasurementInitiationResult_List_PDU = -1; /* MeasurementInitiationResult_List */ static int hf_x2ap_MeasurementInitiationResult_Item_PDU = -1; /* MeasurementInitiationResult_Item */ static int hf_x2ap_MeasurementFailureCause_Item_PDU = -1; /* MeasurementFailureCause_Item */ static int hf_x2ap_ResourceStatusFailure_PDU = -1; /* ResourceStatusFailure */ static int hf_x2ap_CompleteFailureCauseInformation_List_PDU = -1; /* CompleteFailureCauseInformation_List */ static int hf_x2ap_CompleteFailureCauseInformation_Item_PDU = -1; /* CompleteFailureCauseInformation_Item */ static int hf_x2ap_ResourceStatusUpdate_PDU = -1; /* ResourceStatusUpdate */ static int hf_x2ap_CellMeasurementResult_List_PDU = -1; /* CellMeasurementResult_List */ static int hf_x2ap_CellMeasurementResult_Item_PDU = -1; /* CellMeasurementResult_Item */ static int hf_x2ap_PrivateMessage_PDU = -1; /* PrivateMessage */ static int hf_x2ap_MobilityChangeRequest_PDU = -1; /* MobilityChangeRequest */ static int hf_x2ap_MobilityChangeAcknowledge_PDU = -1; /* MobilityChangeAcknowledge */ static int hf_x2ap_MobilityChangeFailure_PDU = -1; /* MobilityChangeFailure */ static int hf_x2ap_RLFIndication_PDU = -1; /* RLFIndication */ static int hf_x2ap_CellActivationRequest_PDU = -1; /* CellActivationRequest */ static int hf_x2ap_ServedCellsToActivate_PDU = -1; /* ServedCellsToActivate */ static int hf_x2ap_CellActivationResponse_PDU = -1; /* CellActivationResponse */ static int hf_x2ap_ActivatedCellList_PDU = -1; /* ActivatedCellList */ static int hf_x2ap_CellActivationFailure_PDU = -1; /* CellActivationFailure */ static int hf_x2ap_X2Release_PDU = -1; /* X2Release */ static int hf_x2ap_X2APMessageTransfer_PDU = -1; /* X2APMessageTransfer */ static int hf_x2ap_RNL_Header_PDU = -1; /* RNL_Header */ static int hf_x2ap_X2AP_Message_PDU = -1; /* X2AP_Message */ static int hf_x2ap_SeNBAdditionRequest_PDU = -1; /* SeNBAdditionRequest */ static int hf_x2ap_E_RABs_ToBeAdded_List_PDU = -1; /* E_RABs_ToBeAdded_List */ static int hf_x2ap_E_RABs_ToBeAdded_Item_PDU = -1; /* E_RABs_ToBeAdded_Item */ static int hf_x2ap_SeNBAdditionRequestAcknowledge_PDU = -1; /* SeNBAdditionRequestAcknowledge */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_List_PDU = -1; /* E_RABs_Admitted_ToBeAdded_List */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_Item_PDU = -1; /* E_RABs_Admitted_ToBeAdded_Item */ static int hf_x2ap_SeNBAdditionRequestReject_PDU = -1; /* SeNBAdditionRequestReject */ static int hf_x2ap_SeNBReconfigurationComplete_PDU = -1; /* SeNBReconfigurationComplete */ static int hf_x2ap_ResponseInformationSeNBReconfComp_PDU = -1; /* ResponseInformationSeNBReconfComp */ static int hf_x2ap_SeNBModificationRequest_PDU = -1; /* SeNBModificationRequest */ static int hf_x2ap_UE_ContextInformationSeNBModReq_PDU = -1; /* UE_ContextInformationSeNBModReq */ static int hf_x2ap_E_RABs_ToBeAdded_ModReqItem_PDU = -1; /* E_RABs_ToBeAdded_ModReqItem */ static int hf_x2ap_E_RABs_ToBeModified_ModReqItem_PDU = -1; /* E_RABs_ToBeModified_ModReqItem */ static int hf_x2ap_E_RABs_ToBeReleased_ModReqItem_PDU = -1; /* E_RABs_ToBeReleased_ModReqItem */ static int hf_x2ap_SeNBModificationRequestAcknowledge_PDU = -1; /* SeNBModificationRequestAcknowledge */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList_PDU = -1; /* E_RABs_Admitted_ToBeAdded_ModAckList */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_PDU = -1; /* E_RABs_Admitted_ToBeAdded_ModAckItem */ static int hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckList_PDU = -1; /* E_RABs_Admitted_ToBeModified_ModAckList */ static int hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_PDU = -1; /* E_RABs_Admitted_ToBeModified_ModAckItem */ static int hf_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList_PDU = -1; /* E_RABs_Admitted_ToBeReleased_ModAckList */ static int hf_x2ap_E_RABs_Admitted_ToReleased_ModAckItem_PDU = -1; /* E_RABs_Admitted_ToReleased_ModAckItem */ static int hf_x2ap_SeNBModificationRequestReject_PDU = -1; /* SeNBModificationRequestReject */ static int hf_x2ap_SeNBModificationRequired_PDU = -1; /* SeNBModificationRequired */ static int hf_x2ap_E_RABs_ToBeReleased_ModReqd_PDU = -1; /* E_RABs_ToBeReleased_ModReqd */ static int hf_x2ap_E_RABs_ToBeReleased_ModReqdItem_PDU = -1; /* E_RABs_ToBeReleased_ModReqdItem */ static int hf_x2ap_SeNBModificationConfirm_PDU = -1; /* SeNBModificationConfirm */ static int hf_x2ap_SeNBModificationRefuse_PDU = -1; /* SeNBModificationRefuse */ static int hf_x2ap_SeNBReleaseRequest_PDU = -1; /* SeNBReleaseRequest */ static int hf_x2ap_E_RABs_ToBeReleased_List_RelReq_PDU = -1; /* E_RABs_ToBeReleased_List_RelReq */ static int hf_x2ap_E_RABs_ToBeReleased_RelReqItem_PDU = -1; /* E_RABs_ToBeReleased_RelReqItem */ static int hf_x2ap_SeNBReleaseRequired_PDU = -1; /* SeNBReleaseRequired */ static int hf_x2ap_SeNBReleaseConfirm_PDU = -1; /* SeNBReleaseConfirm */ static int hf_x2ap_E_RABs_ToBeReleased_List_RelConf_PDU = -1; /* E_RABs_ToBeReleased_List_RelConf */ static int hf_x2ap_E_RABs_ToBeReleased_RelConfItem_PDU = -1; /* E_RABs_ToBeReleased_RelConfItem */ static int hf_x2ap_SeNBCounterCheckRequest_PDU = -1; /* SeNBCounterCheckRequest */ static int hf_x2ap_E_RABs_SubjectToCounterCheck_List_PDU = -1; /* E_RABs_SubjectToCounterCheck_List */ static int hf_x2ap_E_RABs_SubjectToCounterCheckItem_PDU = -1; /* E_RABs_SubjectToCounterCheckItem */ static int hf_x2ap_X2RemovalRequest_PDU = -1; /* X2RemovalRequest */ static int hf_x2ap_X2RemovalResponse_PDU = -1; /* X2RemovalResponse */ static int hf_x2ap_X2RemovalFailure_PDU = -1; /* X2RemovalFailure */ static int hf_x2ap_RetrieveUEContextRequest_PDU = -1; /* RetrieveUEContextRequest */ static int hf_x2ap_RetrieveUEContextResponse_PDU = -1; /* RetrieveUEContextResponse */ static int hf_x2ap_UE_ContextInformationRetrieve_PDU = -1; /* UE_ContextInformationRetrieve */ static int hf_x2ap_E_RABs_ToBeSetupRetrieve_Item_PDU = -1; /* E_RABs_ToBeSetupRetrieve_Item */ static int hf_x2ap_RetrieveUEContextFailure_PDU = -1; /* RetrieveUEContextFailure */ static int hf_x2ap_SgNBAdditionRequest_PDU = -1; /* SgNBAdditionRequest */ static int hf_x2ap_E_RABs_ToBeAdded_SgNBAddReqList_PDU = -1; /* E_RABs_ToBeAdded_SgNBAddReqList */ static int hf_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_PDU = -1; /* E_RABs_ToBeAdded_SgNBAddReq_Item */ static int hf_x2ap_SgNBAdditionRequestAcknowledge_PDU = -1; /* SgNBAdditionRequestAcknowledge */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_PDU = -1; /* E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_PDU = -1; /* E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item */ static int hf_x2ap_SgNBAdditionRequestReject_PDU = -1; /* SgNBAdditionRequestReject */ static int hf_x2ap_SgNBReconfigurationComplete_PDU = -1; /* SgNBReconfigurationComplete */ static int hf_x2ap_ResponseInformationSgNBReconfComp_PDU = -1; /* ResponseInformationSgNBReconfComp */ static int hf_x2ap_SgNBModificationRequest_PDU = -1; /* SgNBModificationRequest */ static int hf_x2ap_UE_ContextInformation_SgNBModReq_PDU = -1; /* UE_ContextInformation_SgNBModReq */ static int hf_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_PDU = -1; /* E_RABs_ToBeAdded_SgNBModReq_Item */ static int hf_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_PDU = -1; /* E_RABs_ToBeModified_SgNBModReq_Item */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_PDU = -1; /* E_RABs_ToBeReleased_SgNBModReq_Item */ static int hf_x2ap_SgNBModificationRequestAcknowledge_PDU = -1; /* SgNBModificationRequestAcknowledge */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList_PDU = -1; /* E_RABs_Admitted_ToBeAdded_SgNBModAckList */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_PDU = -1; /* E_RABs_Admitted_ToBeAdded_SgNBModAck_Item */ static int hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList_PDU = -1; /* E_RABs_Admitted_ToBeModified_SgNBModAckList */ static int hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_PDU = -1; /* E_RABs_Admitted_ToBeModified_SgNBModAck_Item */ static int hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList_PDU = -1; /* E_RABs_Admitted_ToBeReleased_SgNBModAckList */ static int hf_x2ap_E_RABs_Admitted_ToReleased_SgNBModAck_Item_PDU = -1; /* E_RABs_Admitted_ToReleased_SgNBModAck_Item */ static int hf_x2ap_SgNBModificationRequestReject_PDU = -1; /* SgNBModificationRequestReject */ static int hf_x2ap_SgNBModificationRequired_PDU = -1; /* SgNBModificationRequired */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBModReqdList_PDU = -1; /* E_RABs_ToBeReleased_SgNBModReqdList */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBModReqd_Item_PDU = -1; /* E_RABs_ToBeReleased_SgNBModReqd_Item */ static int hf_x2ap_E_RABs_ToBeModified_SgNBModReqdList_PDU = -1; /* E_RABs_ToBeModified_SgNBModReqdList */ static int hf_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_PDU = -1; /* E_RABs_ToBeModified_SgNBModReqd_Item */ static int hf_x2ap_SgNBModificationConfirm_PDU = -1; /* SgNBModificationConfirm */ static int hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList_PDU = -1; /* E_RABs_AdmittedToBeModified_SgNBModConfList */ static int hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_PDU = -1; /* E_RABs_AdmittedToBeModified_SgNBModConf_Item */ static int hf_x2ap_SgNBModificationRefuse_PDU = -1; /* SgNBModificationRefuse */ static int hf_x2ap_SgNBReleaseRequest_PDU = -1; /* SgNBReleaseRequest */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqList_PDU = -1; /* E_RABs_ToBeReleased_SgNBRelReqList */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_PDU = -1; /* E_RABs_ToBeReleased_SgNBRelReq_Item */ static int hf_x2ap_SgNBReleaseRequestAcknowledge_PDU = -1; /* SgNBReleaseRequestAcknowledge */ static int hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_PDU = -1; /* E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList */ static int hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item_PDU = -1; /* E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item */ static int hf_x2ap_SgNBReleaseRequestReject_PDU = -1; /* SgNBReleaseRequestReject */ static int hf_x2ap_SgNBReleaseRequired_PDU = -1; /* SgNBReleaseRequired */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList_PDU = -1; /* E_RABs_ToBeReleased_SgNBRelReqdList */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqd_Item_PDU = -1; /* E_RABs_ToBeReleased_SgNBRelReqd_Item */ static int hf_x2ap_SgNBReleaseConfirm_PDU = -1; /* SgNBReleaseConfirm */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelConfList_PDU = -1; /* E_RABs_ToBeReleased_SgNBRelConfList */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_PDU = -1; /* E_RABs_ToBeReleased_SgNBRelConf_Item */ static int hf_x2ap_SgNBCounterCheckRequest_PDU = -1; /* SgNBCounterCheckRequest */ static int hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_List_PDU = -1; /* E_RABs_SubjectToSgNBCounterCheck_List */ static int hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_Item_PDU = -1; /* E_RABs_SubjectToSgNBCounterCheck_Item */ static int hf_x2ap_SgNBChangeRequired_PDU = -1; /* SgNBChangeRequired */ static int hf_x2ap_AccessAndMobilityIndication_PDU = -1; /* AccessAndMobilityIndication */ static int hf_x2ap_SgNBChangeConfirm_PDU = -1; /* SgNBChangeConfirm */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBChaConfList_PDU = -1; /* E_RABs_ToBeReleased_SgNBChaConfList */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_PDU = -1; /* E_RABs_ToBeReleased_SgNBChaConf_Item */ static int hf_x2ap_RRCTransfer_PDU = -1; /* RRCTransfer */ static int hf_x2ap_SgNBChangeRefuse_PDU = -1; /* SgNBChangeRefuse */ static int hf_x2ap_ENDCX2SetupRequest_PDU = -1; /* ENDCX2SetupRequest */ static int hf_x2ap_InitiatingNodeType_EndcX2Setup_PDU = -1; /* InitiatingNodeType_EndcX2Setup */ static int hf_x2ap_ServedEUTRAcellsENDCX2ManagementList_PDU = -1; /* ServedEUTRAcellsENDCX2ManagementList */ static int hf_x2ap_ServedNRcellsENDCX2ManagementList_PDU = -1; /* ServedNRcellsENDCX2ManagementList */ static int hf_x2ap_CellandCapacityAssistInfo_PDU = -1; /* CellandCapacityAssistInfo */ static int hf_x2ap_CellAssistanceInformation_PDU = -1; /* CellAssistanceInformation */ static int hf_x2ap_ENDCX2SetupResponse_PDU = -1; /* ENDCX2SetupResponse */ static int hf_x2ap_RespondingNodeType_EndcX2Setup_PDU = -1; /* RespondingNodeType_EndcX2Setup */ static int hf_x2ap_ENDCX2SetupFailure_PDU = -1; /* ENDCX2SetupFailure */ static int hf_x2ap_ENDCConfigurationUpdate_PDU = -1; /* ENDCConfigurationUpdate */ static int hf_x2ap_InitiatingNodeType_EndcConfigUpdate_PDU = -1; /* InitiatingNodeType_EndcConfigUpdate */ static int hf_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_PDU = -1; /* ServedEUTRAcellsToModifyListENDCConfUpd */ static int hf_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd_PDU = -1; /* ServedEUTRAcellsToDeleteListENDCConfUpd */ static int hf_x2ap_ServedNRcellsToModifyENDCConfUpdList_PDU = -1; /* ServedNRcellsToModifyENDCConfUpdList */ static int hf_x2ap_ServedNRcellsToDeleteENDCConfUpdList_PDU = -1; /* ServedNRcellsToDeleteENDCConfUpdList */ static int hf_x2ap_ENDCConfigurationUpdateAcknowledge_PDU = -1; /* ENDCConfigurationUpdateAcknowledge */ static int hf_x2ap_RespondingNodeType_EndcConfigUpdate_PDU = -1; /* RespondingNodeType_EndcConfigUpdate */ static int hf_x2ap_ENDCConfigurationUpdateFailure_PDU = -1; /* ENDCConfigurationUpdateFailure */ static int hf_x2ap_ENDCCellActivationRequest_PDU = -1; /* ENDCCellActivationRequest */ static int hf_x2ap_ServedNRCellsToActivate_PDU = -1; /* ServedNRCellsToActivate */ static int hf_x2ap_ENDCCellActivationResponse_PDU = -1; /* ENDCCellActivationResponse */ static int hf_x2ap_ActivatedNRCellList_PDU = -1; /* ActivatedNRCellList */ static int hf_x2ap_ENDCCellActivationFailure_PDU = -1; /* ENDCCellActivationFailure */ static int hf_x2ap_ENDCResourceStatusRequest_PDU = -1; /* ENDCResourceStatusRequest */ static int hf_x2ap_CellToReport_NR_ENDC_List_PDU = -1; /* CellToReport_NR_ENDC_List */ static int hf_x2ap_CellToReport_NR_ENDC_Item_PDU = -1; /* CellToReport_NR_ENDC_Item */ static int hf_x2ap_CellToReport_E_UTRA_ENDC_List_PDU = -1; /* CellToReport_E_UTRA_ENDC_List */ static int hf_x2ap_CellToReport_E_UTRA_ENDC_Item_PDU = -1; /* CellToReport_E_UTRA_ENDC_Item */ static int hf_x2ap_ENDCResourceStatusResponse_PDU = -1; /* ENDCResourceStatusResponse */ static int hf_x2ap_ENDCResourceStatusFailure_PDU = -1; /* ENDCResourceStatusFailure */ static int hf_x2ap_ENDCResourceStatusUpdate_PDU = -1; /* ENDCResourceStatusUpdate */ static int hf_x2ap_CellMeasurementResult_NR_ENDC_List_PDU = -1; /* CellMeasurementResult_NR_ENDC_List */ static int hf_x2ap_CellMeasurementResult_NR_ENDC_Item_PDU = -1; /* CellMeasurementResult_NR_ENDC_Item */ static int hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_List_PDU = -1; /* CellMeasurementResult_E_UTRA_ENDC_List */ static int hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_Item_PDU = -1; /* CellMeasurementResult_E_UTRA_ENDC_Item */ static int hf_x2ap_SecondaryRATDataUsageReport_PDU = -1; /* SecondaryRATDataUsageReport */ static int hf_x2ap_SgNBActivityNotification_PDU = -1; /* SgNBActivityNotification */ static int hf_x2ap_ENDCPartialResetRequired_PDU = -1; /* ENDCPartialResetRequired */ static int hf_x2ap_ENDCPartialResetConfirm_PDU = -1; /* ENDCPartialResetConfirm */ static int hf_x2ap_x2ap_EUTRANRCellResourceCoordinationRequest_PDU = -1; /* EUTRANRCellResourceCoordinationRequest */ static int hf_x2ap_InitiatingNodeType_EutranrCellResourceCoordination_PDU = -1; /* InitiatingNodeType_EutranrCellResourceCoordination */ static int hf_x2ap_ListofEUTRACellsinEUTRACoordinationReq_PDU = -1; /* ListofEUTRACellsinEUTRACoordinationReq */ static int hf_x2ap_ListofEUTRACellsinNRCoordinationReq_PDU = -1; /* ListofEUTRACellsinNRCoordinationReq */ static int hf_x2ap_ListofNRCellsinNRCoordinationReq_PDU = -1; /* ListofNRCellsinNRCoordinationReq */ static int hf_x2ap_x2ap_EUTRANRCellResourceCoordinationResponse_PDU = -1; /* EUTRANRCellResourceCoordinationResponse */ static int hf_x2ap_RespondingNodeType_EutranrCellResourceCoordination_PDU = -1; /* RespondingNodeType_EutranrCellResourceCoordination */ static int hf_x2ap_ListofEUTRACellsinEUTRACoordinationResp_PDU = -1; /* ListofEUTRACellsinEUTRACoordinationResp */ static int hf_x2ap_ListofNRCellsinNRCoordinationResp_PDU = -1; /* ListofNRCellsinNRCoordinationResp */ static int hf_x2ap_ENDCX2RemovalRequest_PDU = -1; /* ENDCX2RemovalRequest */ static int hf_x2ap_InitiatingNodeType_EndcX2Removal_PDU = -1; /* InitiatingNodeType_EndcX2Removal */ static int hf_x2ap_ENDCX2RemovalResponse_PDU = -1; /* ENDCX2RemovalResponse */ static int hf_x2ap_RespondingNodeType_EndcX2Removal_PDU = -1; /* RespondingNodeType_EndcX2Removal */ static int hf_x2ap_ENDCX2RemovalFailure_PDU = -1; /* ENDCX2RemovalFailure */ static int hf_x2ap_DataForwardingAddressIndication_PDU = -1; /* DataForwardingAddressIndication */ static int hf_x2ap_E_RABs_DataForwardingAddress_List_PDU = -1; /* E_RABs_DataForwardingAddress_List */ static int hf_x2ap_E_RABs_DataForwardingAddress_Item_PDU = -1; /* E_RABs_DataForwardingAddress_Item */ static int hf_x2ap_GNBStatusIndication_PDU = -1; /* GNBStatusIndication */ static int hf_x2ap_ENDCConfigurationTransfer_PDU = -1; /* ENDCConfigurationTransfer */ static int hf_x2ap_TraceStart_PDU = -1; /* TraceStart */ static int hf_x2ap_DeactivateTrace_PDU = -1; /* DeactivateTrace */ static int hf_x2ap_CellTrafficTrace_PDU = -1; /* CellTrafficTrace */ static int hf_x2ap_F1CTrafficTransfer_PDU = -1; /* F1CTrafficTransfer */ static int hf_x2ap_UERadioCapabilityIDMappingRequest_PDU = -1; /* UERadioCapabilityIDMappingRequest */ static int hf_x2ap_UERadioCapabilityIDMappingResponse_PDU = -1; /* UERadioCapabilityIDMappingResponse */ static int hf_x2ap_CPC_cancel_PDU = -1; /* CPC_cancel */ static int hf_x2ap_X2AP_PDU_PDU = -1; /* X2AP_PDU */ static int hf_x2ap_local = -1; /* INTEGER_0_maxPrivateIEs */ static int hf_x2ap_global = -1; /* T_global */ static int hf_x2ap_ProtocolIE_Container_item = -1; /* ProtocolIE_Field */ static int hf_x2ap_id = -1; /* ProtocolIE_ID */ static int hf_x2ap_criticality = -1; /* Criticality */ static int hf_x2ap_protocolIE_Field_value = -1; /* ProtocolIE_Field_value */ static int hf_x2ap_ProtocolExtensionContainer_item = -1; /* ProtocolExtensionField */ static int hf_x2ap_extension_id = -1; /* ProtocolIE_ID */ static int hf_x2ap_extensionValue = -1; /* T_extensionValue */ static int hf_x2ap_PrivateIE_Container_item = -1; /* PrivateIE_Field */ static int hf_x2ap_private_id = -1; /* PrivateIE_ID */ static int hf_x2ap_privateIE_Field_value = -1; /* PrivateIE_Field_value */ static int hf_x2ap_fdd = -1; /* ABSInformationFDD */ static int hf_x2ap_tdd = -1; /* ABSInformationTDD */ static int hf_x2ap_abs_inactive = -1; /* NULL */ static int hf_x2ap_abs_pattern_info = -1; /* BIT_STRING_SIZE_40 */ static int hf_x2ap_numberOfCellSpecificAntennaPorts = -1; /* T_numberOfCellSpecificAntennaPorts */ static int hf_x2ap_measurement_subset = -1; /* BIT_STRING_SIZE_40 */ static int hf_x2ap_iE_Extensions = -1; /* ProtocolExtensionContainer */ static int hf_x2ap_abs_pattern_info_01 = -1; /* BIT_STRING_SIZE_1_70_ */ static int hf_x2ap_numberOfCellSpecificAntennaPorts_01 = -1; /* T_numberOfCellSpecificAntennaPorts_01 */ static int hf_x2ap_measurement_subset_01 = -1; /* BIT_STRING_SIZE_1_70_ */ static int hf_x2ap_dL_ABS_status = -1; /* DL_ABS_status */ static int hf_x2ap_usableABSInformation = -1; /* UsableABSInformation */ static int hf_x2ap_Additional_Measurement_Timing_Configuration_List_item = -1; /* Additional_Measurement_Timing_Configuration_Item */ static int hf_x2ap_additionalMeasurementTimingConfiguration = -1; /* INTEGER_0_16 */ static int hf_x2ap_csi_RS_MTC_Configuration_List = -1; /* CSI_RS_MTC_Configuration_List */ static int hf_x2ap_CSI_RS_MTC_Configuration_List_item = -1; /* CSI_RS_MTC_Configuration_Item */ static int hf_x2ap_csi_RS_Index = -1; /* INTEGER_0_95 */ static int hf_x2ap_csi_RS_Status = -1; /* T_csi_RS_Status */ static int hf_x2ap_csi_RS_Neighbour_List = -1; /* CSI_RS_Neighbour_List */ static int hf_x2ap_CSI_RS_Neighbour_List_item = -1; /* CSI_RS_Neighbour_Item */ static int hf_x2ap_nr_cgi = -1; /* NRCGI */ static int hf_x2ap_csi_RS_MTC_Neighbour_List = -1; /* CSI_RS_MTC_Neighbour_List */ static int hf_x2ap_CSI_RS_MTC_Neighbour_List_item = -1; /* CSI_RS_MTC_Neighbour_Item */ static int hf_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_item = -1; /* AdditionalListofForwardingGTPTunnelEndpoint_Item */ static int hf_x2ap_uL_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_dL_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_additionalspecialSubframePatterns = -1; /* AdditionalSpecialSubframePatterns */ static int hf_x2ap_cyclicPrefixDL = -1; /* CyclicPrefixDL */ static int hf_x2ap_cyclicPrefixUL = -1; /* CyclicPrefixUL */ static int hf_x2ap_additionalspecialSubframePatternsExtension = -1; /* AdditionalSpecialSubframePatternsExtension */ static int hf_x2ap_priorityLevel = -1; /* PriorityLevel */ static int hf_x2ap_pre_emptionCapability = -1; /* Pre_emptionCapability */ static int hf_x2ap_pre_emptionVulnerability = -1; /* Pre_emptionVulnerability */ static int hf_x2ap_cellBased = -1; /* CellBasedMDT */ static int hf_x2ap_tABased = -1; /* TABasedMDT */ static int hf_x2ap_pLMNWide = -1; /* NULL */ static int hf_x2ap_tAIBased = -1; /* TAIBasedMDT */ static int hf_x2ap_cellBased_01 = -1; /* CellBasedQMC */ static int hf_x2ap_tABased_01 = -1; /* TABasedQMC */ static int hf_x2ap_tAIBased_01 = -1; /* TAIBasedQMC */ static int hf_x2ap_pLMNAreaBased = -1; /* PLMNAreaBasedQMC */ static int hf_x2ap_key_eNodeB_star = -1; /* Key_eNodeB_Star */ static int hf_x2ap_nextHopChainingCount = -1; /* NextHopChainingCount */ static int hf_x2ap_AdditionalPLMNs_Item_item = -1; /* PLMN_Identity */ static int hf_x2ap_BroadcastPLMNs_Item_item = -1; /* PLMN_Identity */ static int hf_x2ap_bluetoothMeasConfig = -1; /* BluetoothMeasConfig */ static int hf_x2ap_bluetoothMeasConfigNameList = -1; /* BluetoothMeasConfigNameList */ static int hf_x2ap_bt_rssi = -1; /* T_bt_rssi */ static int hf_x2ap_BluetoothMeasConfigNameList_item = -1; /* BluetoothName */ static int hf_x2ap_BPLMN_ID_Info_EUTRA_item = -1; /* BPLMN_ID_Info_EUTRA_Item */ static int hf_x2ap_broadcastPLMNs = -1; /* BroadcastPLMNs_Item */ static int hf_x2ap_tac = -1; /* TAC */ static int hf_x2ap_e_utraCI = -1; /* EUTRANCellIdentifier */ static int hf_x2ap_iE_Extension = -1; /* ProtocolExtensionContainer */ static int hf_x2ap_BPLMN_ID_Info_NR_item = -1; /* BPLMN_ID_Info_NR_Item */ static int hf_x2ap_broadcastPLMNs_01 = -1; /* BroadcastextPLMNs */ static int hf_x2ap_fiveGS_TAC = -1; /* FiveGS_TAC */ static int hf_x2ap_nr_CI = -1; /* NRCellIdentifier */ static int hf_x2ap_BroadcastextPLMNs_item = -1; /* PLMN_Identity */ static int hf_x2ap_radioNetwork = -1; /* CauseRadioNetwork */ static int hf_x2ap_transport = -1; /* CauseTransport */ static int hf_x2ap_protocol = -1; /* CauseProtocol */ static int hf_x2ap_misc = -1; /* CauseMisc */ static int hf_x2ap_cellIdListforMDT = -1; /* CellIdListforMDT */ static int hf_x2ap_cellIdListforQMC = -1; /* CellIdListforQMC */ static int hf_x2ap_CellIdListforMDT_item = -1; /* ECGI */ static int hf_x2ap_CellIdListforQMC_item = -1; /* ECGI */ static int hf_x2ap_replacingCellsList = -1; /* ReplacingCellsList */ static int hf_x2ap_cell_Size = -1; /* Cell_Size */ static int hf_x2ap_CPACcandidatePSCells_list_item = -1; /* CPACcandidatePSCells_item */ static int hf_x2ap_pscell_id = -1; /* NRCGI */ static int hf_x2ap_max_no_of_pscells = -1; /* INTEGER_1_maxnoofPSCellCandidates */ static int hf_x2ap_estimatedArrivalProbability = -1; /* CHO_Probability */ static int hf_x2ap_candidate_pscells = -1; /* CPACcandidatePSCells_list */ static int hf_x2ap_cpc_target_sgnb_list = -1; /* CPC_target_SgNB_reqd_list */ static int hf_x2ap_CPC_target_SgNB_reqd_list_item = -1; /* CPC_target_SgNB_reqd_item */ static int hf_x2ap_target_SgNB_ID = -1; /* GlobalGNB_ID */ static int hf_x2ap_cpc_indicator = -1; /* CPCindicator */ static int hf_x2ap_sgNBtoMeNBContainer = -1; /* SgNBtoMeNBContainer */ static int hf_x2ap_cpc_target_sgnb_list_01 = -1; /* CPC_target_SgNB_conf_list */ static int hf_x2ap_CPC_target_SgNB_conf_list_item = -1; /* CPC_target_SgNB_conf_item */ static int hf_x2ap_cpc_indicator_01 = -1; /* CPCdataforwarding */ static int hf_x2ap_cpc_target_sgnb_list_02 = -1; /* CPC_target_SgNB_mod_list */ static int hf_x2ap_CPC_target_SgNB_mod_list_item = -1; /* CPC_target_SgNB_mod_item */ static int hf_x2ap_CNTypeRestrictions_item = -1; /* CNTypeRestrictionsItem */ static int hf_x2ap_plmn_Id = -1; /* PLMN_Identity */ static int hf_x2ap_cn_type = -1; /* T_cn_type */ static int hf_x2ap_CoMPHypothesisSet_item = -1; /* CoMPHypothesisSetItem */ static int hf_x2ap_coMPCellID = -1; /* ECGI */ static int hf_x2ap_coMPHypothesis = -1; /* BIT_STRING_SIZE_6_4400_ */ static int hf_x2ap_coMPInformationItem = -1; /* CoMPInformationItem */ static int hf_x2ap_coMPInformationStartTime = -1; /* CoMPInformationStartTime */ static int hf_x2ap_CoMPInformationItem_item = -1; /* CoMPInformationItem_item */ static int hf_x2ap_coMPHypothesisSet = -1; /* CoMPHypothesisSet */ static int hf_x2ap_benefitMetric = -1; /* BenefitMetric */ static int hf_x2ap_CoMPInformationStartTime_item = -1; /* CoMPInformationStartTime_item */ static int hf_x2ap_startSFN = -1; /* INTEGER_0_1023_ */ static int hf_x2ap_startSubframeNumber = -1; /* INTEGER_0_9_ */ static int hf_x2ap_cellCapacityClassValue = -1; /* CellCapacityClassValue */ static int hf_x2ap_capacityValue = -1; /* CapacityValue */ static int hf_x2ap_dL_CompositeAvailableCapacity = -1; /* CompositeAvailableCapacity */ static int hf_x2ap_uL_CompositeAvailableCapacity = -1; /* CompositeAvailableCapacity */ static int hf_x2ap_pDCP_SN = -1; /* PDCP_SN */ static int hf_x2ap_hFN = -1; /* HFN */ static int hf_x2ap_pDCP_SNExtended = -1; /* PDCP_SNExtended */ static int hf_x2ap_hFNModified = -1; /* HFNModified */ static int hf_x2ap_pDCP_SNlength18 = -1; /* PDCP_SNlength18 */ static int hf_x2ap_hFNforPDCP_SNlength18 = -1; /* HFNforPDCP_SNlength18 */ static int hf_x2ap_CoverageModificationList_item = -1; /* CoverageModification_Item */ static int hf_x2ap_eCGI = -1; /* ECGI */ static int hf_x2ap_coverageState = -1; /* INTEGER_0_15_ */ static int hf_x2ap_cellDeploymentStatusIndicator = -1; /* CellDeploymentStatusIndicator */ static int hf_x2ap_cellReplacingInfo = -1; /* CellReplacingInfo */ static int hf_x2ap_endpointIPAddress = -1; /* TransportLayerAddress */ static int hf_x2ap_endpointIPAddressAndPort = -1; /* TransportLayerAddressAndPort */ static int hf_x2ap_procedureCode = -1; /* ProcedureCode */ static int hf_x2ap_triggeringMessage = -1; /* TriggeringMessage */ static int hf_x2ap_procedureCriticality = -1; /* Criticality */ static int hf_x2ap_iEsCriticalityDiagnostics = -1; /* CriticalityDiagnostics_IE_List */ static int hf_x2ap_CriticalityDiagnostics_IE_List_item = -1; /* CriticalityDiagnostics_IE_List_item */ static int hf_x2ap_iECriticality = -1; /* Criticality */ static int hf_x2ap_iE_ID = -1; /* ProtocolIE_ID */ static int hf_x2ap_typeOfError = -1; /* TypeOfError */ static int hf_x2ap_CSIReportList_item = -1; /* CSIReportList_item */ static int hf_x2ap_uEID = -1; /* UEID */ static int hf_x2ap_cSIReportPerCSIProcess = -1; /* CSIReportPerCSIProcess */ static int hf_x2ap_CSIReportPerCSIProcess_item = -1; /* CSIReportPerCSIProcess_item */ static int hf_x2ap_cSIProcessConfigurationIndex = -1; /* INTEGER_1_7_ */ static int hf_x2ap_cSIReportPerCSIProcessItem = -1; /* CSIReportPerCSIProcessItem */ static int hf_x2ap_CSIReportPerCSIProcessItem_item = -1; /* CSIReportPerCSIProcessItem_item */ static int hf_x2ap_rI = -1; /* INTEGER_1_8_ */ static int hf_x2ap_widebandCQI = -1; /* WidebandCQI */ static int hf_x2ap_subbandSize = -1; /* SubbandSize */ static int hf_x2ap_subbandCQIList = -1; /* SubbandCQIList */ static int hf_x2ap_cho_trigger = -1; /* CHOtrigger */ static int hf_x2ap_new_eNB_UE_X2AP_ID = -1; /* UE_X2AP_ID */ static int hf_x2ap_new_eNB_UE_X2AP_ID_Extension = -1; /* UE_X2AP_ID_Extension */ static int hf_x2ap_cHO_EstimatedArrivalProbability = -1; /* CHO_Probability */ static int hf_x2ap_requestedTargetCellID = -1; /* ECGI */ static int hf_x2ap_maxCHOpreparations = -1; /* MaxCHOpreparations */ static int hf_x2ap_CandidateCellsToBeCancelledList_item = -1; /* ECGI */ static int hf_x2ap_source_eNB_ID = -1; /* GlobalENB_ID */ static int hf_x2ap_source_eNB_UE_X2AP_ID = -1; /* UE_X2AP_ID */ static int hf_x2ap_source_eNB_UE_X2AP_ID_Ext = -1; /* UE_X2AP_ID_Extension */ static int hf_x2ap_conditionalReconfig = -1; /* T_conditionalReconfig */ static int hf_x2ap_activationSFN = -1; /* INTEGER_0_1023 */ static int hf_x2ap_sharedResourceType = -1; /* SharedResourceType */ static int hf_x2ap_reservedSubframePattern = -1; /* ReservedSubframePattern */ static int hf_x2ap_dAPSIndicator = -1; /* T_dAPSIndicator */ static int hf_x2ap_dAPSResponseIndicator = -1; /* T_dAPSResponseIndicator */ static int hf_x2ap_highestSuccessDeliveredPDCPSN = -1; /* INTEGER_0_4095 */ static int hf_x2ap_unchanged = -1; /* NULL */ static int hf_x2ap_changed = -1; /* DLResourceBitmapULandDLSharing */ static int hf_x2ap_naics_active = -1; /* DynamicNAICSInformation */ static int hf_x2ap_naics_inactive = -1; /* NULL */ static int hf_x2ap_transmissionModes = -1; /* T_transmissionModes */ static int hf_x2ap_pB_information = -1; /* INTEGER_0_3 */ static int hf_x2ap_pA_list = -1; /* SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values */ static int hf_x2ap_pA_list_item = -1; /* PA_Values */ static int hf_x2ap_pLMN_Identity = -1; /* PLMN_Identity */ static int hf_x2ap_eUTRANcellIdentifier = -1; /* EUTRANCellIdentifier */ static int hf_x2ap_enhancedRNTPBitmap = -1; /* BIT_STRING_SIZE_12_8800_ */ static int hf_x2ap_rNTP_High_Power_Threshold = -1; /* RNTP_Threshold */ static int hf_x2ap_enhancedRNTPStartTime = -1; /* EnhancedRNTPStartTime */ static int hf_x2ap_macro_eNB_ID = -1; /* BIT_STRING_SIZE_20 */ static int hf_x2ap_home_eNB_ID = -1; /* BIT_STRING_SIZE_28 */ static int hf_x2ap_short_Macro_eNB_ID = -1; /* BIT_STRING_SIZE_18 */ static int hf_x2ap_long_Macro_eNB_ID = -1; /* BIT_STRING_SIZE_21 */ static int hf_x2ap_pDCPatSgNB = -1; /* T_pDCPatSgNB */ static int hf_x2ap_mCGresources = -1; /* T_mCGresources */ static int hf_x2ap_sCGresources = -1; /* T_sCGresources */ static int hf_x2ap_EPLMNs_item = -1; /* PLMN_Identity */ static int hf_x2ap_ERABActivityNotifyItemList_item = -1; /* ERABActivityNotifyItem */ static int hf_x2ap_e_RAB_ID = -1; /* E_RAB_ID */ static int hf_x2ap_activityReport = -1; /* UserPlaneTrafficActivityReport */ static int hf_x2ap_qCI = -1; /* QCI */ static int hf_x2ap_allocationAndRetentionPriority = -1; /* AllocationAndRetentionPriority */ static int hf_x2ap_gbrQosInformation = -1; /* GBR_QosInformation */ static int hf_x2ap_E_RAB_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_cause = -1; /* Cause */ static int hf_x2ap_E_RABsSubjectToEarlyStatusTransfer_List_item = -1; /* E_RABsSubjectToEarlyStatusTransfer_Item */ static int hf_x2ap_fIRST_DL_COUNTValue = -1; /* COUNTvalue */ static int hf_x2ap_fIRST_DL_COUNTValueExtended = -1; /* COUNTValueExtended */ static int hf_x2ap_fIRST_DL_COUNTValueforPDCPSNLength18 = -1; /* COUNTvaluePDCP_SNlength18 */ static int hf_x2ap_E_RABsSubjectToDLDiscarding_List_item = -1; /* E_RABsSubjectToDLDiscarding_Item */ static int hf_x2ap_dISCARD_DL_COUNTValue = -1; /* COUNTvalue */ static int hf_x2ap_dISCARD_DL_COUNTValueExtended = -1; /* COUNTValueExtended */ static int hf_x2ap_dISCARD_DL_COUNTValueforPDCPSNLength18 = -1; /* COUNTvaluePDCP_SNlength18 */ static int hf_x2ap_E_RABUsageReportList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_startTimeStamp = -1; /* T_startTimeStamp */ static int hf_x2ap_endTimeStamp = -1; /* T_endTimeStamp */ static int hf_x2ap_usageCountUL = -1; /* INTEGER_0_18446744073709551615 */ static int hf_x2ap_usageCountDL = -1; /* INTEGER_0_18446744073709551615 */ static int hf_x2ap_fDD = -1; /* FDD_Info */ static int hf_x2ap_tDD = -1; /* TDD_Info */ static int hf_x2ap_expectedActivity = -1; /* ExpectedUEActivityBehaviour */ static int hf_x2ap_expectedHOInterval = -1; /* ExpectedHOInterval */ static int hf_x2ap_expectedActivityPeriod = -1; /* ExpectedActivityPeriod */ static int hf_x2ap_expectedIdlePeriod = -1; /* ExpectedIdlePeriod */ static int hf_x2ap_sourceofUEActivityBehaviourInformation = -1; /* SourceOfUEActivityBehaviourInformation */ static int hf_x2ap_associatedSubframes = -1; /* BIT_STRING_SIZE_5 */ static int hf_x2ap_extended_ul_InterferenceOverloadIndication = -1; /* UL_InterferenceOverloadIndication */ static int hf_x2ap_rrcContainer = -1; /* RRCContainer */ static int hf_x2ap_uL_EARFCN = -1; /* EARFCN */ static int hf_x2ap_dL_EARFCN = -1; /* EARFCN */ static int hf_x2ap_uL_Transmission_Bandwidth = -1; /* Transmission_Bandwidth */ static int hf_x2ap_dL_Transmission_Bandwidth = -1; /* Transmission_Bandwidth */ static int hf_x2ap_ul_NRFreqInfo = -1; /* NRFreqInfo */ static int hf_x2ap_dl_NRFreqInfo = -1; /* NRFreqInfo */ static int hf_x2ap_ForbiddenTAs_item = -1; /* ForbiddenTAs_Item */ static int hf_x2ap_forbiddenTACs = -1; /* ForbiddenTACs */ static int hf_x2ap_ForbiddenTACs_item = -1; /* TAC */ static int hf_x2ap_ForbiddenLAs_item = -1; /* ForbiddenLAs_Item */ static int hf_x2ap_forbiddenLACs = -1; /* ForbiddenLACs */ static int hf_x2ap_ForbiddenLACs_item = -1; /* LAC */ static int hf_x2ap_freqBandIndicatorNr = -1; /* INTEGER_1_1024_ */ static int hf_x2ap_supportedSULBandList = -1; /* SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem */ static int hf_x2ap_supportedSULBandList_item = -1; /* SupportedSULFreqBandItem */ static int hf_x2ap_e_RAB_MaximumBitrateDL = -1; /* BitRate */ static int hf_x2ap_e_RAB_MaximumBitrateUL = -1; /* BitRate */ static int hf_x2ap_e_RAB_GuaranteedBitrateDL = -1; /* BitRate */ static int hf_x2ap_e_RAB_GuaranteedBitrateUL = -1; /* BitRate */ static int hf_x2ap_eNB_ID = -1; /* ENB_ID */ static int hf_x2ap_gNB_ID = -1; /* GNB_ID */ static int hf_x2ap_gNB = -1; /* GlobalGNB_ID */ static int hf_x2ap_choice_extension = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_GTPTLAs_item = -1; /* GTPTLA_Item */ static int hf_x2ap_gTPTransportLayerAddresses = -1; /* TransportLayerAddress */ static int hf_x2ap_transportLayerAddress = -1; /* TransportLayerAddress */ static int hf_x2ap_gTP_TEID = -1; /* GTP_TEI */ static int hf_x2ap_GUGroupIDList_item = -1; /* GU_Group_ID */ static int hf_x2ap_mME_Group_ID = -1; /* MME_Group_ID */ static int hf_x2ap_gU_Group_ID = -1; /* GU_Group_ID */ static int hf_x2ap_mME_Code = -1; /* MME_Code */ static int hf_x2ap_gNB_ID_01 = -1; /* BIT_STRING_SIZE_22_32 */ static int hf_x2ap_servingPLMN = -1; /* PLMN_Identity */ static int hf_x2ap_equivalentPLMNs = -1; /* EPLMNs */ static int hf_x2ap_forbiddenTAs = -1; /* ForbiddenTAs */ static int hf_x2ap_forbiddenLAs = -1; /* ForbiddenLAs */ static int hf_x2ap_forbiddenInterRATs = -1; /* ForbiddenInterRATs */ static int hf_x2ap_dLHWLoadIndicator = -1; /* LoadIndicator */ static int hf_x2ap_uLHWLoadIndicator = -1; /* LoadIndicator */ static int hf_x2ap_e_UTRAN_Cell = -1; /* LastVisitedEUTRANCellInformation */ static int hf_x2ap_uTRAN_Cell = -1; /* LastVisitedUTRANCellInformation */ static int hf_x2ap_gERAN_Cell = -1; /* LastVisitedGERANCellInformation */ static int hf_x2ap_nG_RAN_Cell = -1; /* LastVisitedNGRANCellInformation */ static int hf_x2ap_global_Cell_ID = -1; /* ECGI */ static int hf_x2ap_cellType = -1; /* CellType */ static int hf_x2ap_time_UE_StayedInCell = -1; /* Time_UE_StayedInCell */ static int hf_x2ap_undefined = -1; /* NULL */ static int hf_x2ap_pSCell_id = -1; /* NRCGI */ static int hf_x2ap_eventType = -1; /* EventType */ static int hf_x2ap_reportArea = -1; /* ReportArea */ static int hf_x2ap_reportInterval = -1; /* ReportIntervalMDT */ static int hf_x2ap_reportAmount = -1; /* ReportAmountMDT */ static int hf_x2ap_measurementThreshold = -1; /* MeasurementThresholdA2 */ static int hf_x2ap_m3period = -1; /* M3period */ static int hf_x2ap_m4period = -1; /* M4period */ static int hf_x2ap_m4_links_to_log = -1; /* Links_to_log */ static int hf_x2ap_m5period = -1; /* M5period */ static int hf_x2ap_m5_links_to_log = -1; /* Links_to_log */ static int hf_x2ap_m6report_interval = -1; /* M6report_interval */ static int hf_x2ap_m6delay_threshold = -1; /* M6delay_threshold */ static int hf_x2ap_m6_links_to_log = -1; /* Links_to_log */ static int hf_x2ap_m7period = -1; /* M7period */ static int hf_x2ap_m7_links_to_log = -1; /* Links_to_log */ static int hf_x2ap_mdt_Activation = -1; /* MDT_Activation */ static int hf_x2ap_areaScopeOfMDT = -1; /* AreaScopeOfMDT */ static int hf_x2ap_measurementsToActivate = -1; /* MeasurementsToActivate */ static int hf_x2ap_m1reportingTrigger = -1; /* M1ReportingTrigger */ static int hf_x2ap_m1thresholdeventA2 = -1; /* M1ThresholdEventA2 */ static int hf_x2ap_m1periodicReporting = -1; /* M1PeriodicReporting */ static int hf_x2ap_MDTPLMNList_item = -1; /* PLMN_Identity */ static int hf_x2ap_threshold_RSRP = -1; /* Threshold_RSRP */ static int hf_x2ap_threshold_RSRQ = -1; /* Threshold_RSRQ */ static int hf_x2ap_eUTRA_Cell_ID = -1; /* ECGI */ static int hf_x2ap_uLCoordinationInformation = -1; /* BIT_STRING_SIZE_6_4400_ */ static int hf_x2ap_dLCoordinationInformation = -1; /* BIT_STRING_SIZE_6_4400_ */ static int hf_x2ap_MBMS_Service_Area_Identity_List_item = -1; /* MBMS_Service_Area_Identity */ static int hf_x2ap_MBSFN_Subframe_Infolist_item = -1; /* MBSFN_Subframe_Info */ static int hf_x2ap_radioframeAllocationPeriod = -1; /* RadioframeAllocationPeriod */ static int hf_x2ap_radioframeAllocationOffset = -1; /* RadioframeAllocationOffset */ static int hf_x2ap_subframeAllocation = -1; /* SubframeAllocation */ static int hf_x2ap_handoverTriggerChangeLowerLimit = -1; /* INTEGER_M20_20 */ static int hf_x2ap_handoverTriggerChangeUpperLimit = -1; /* INTEGER_M20_20 */ static int hf_x2ap_handoverTriggerChange = -1; /* INTEGER_M20_20 */ static int hf_x2ap_MultibandInfoList_item = -1; /* BandInfo */ static int hf_x2ap_maximumCellListSize = -1; /* MaximumCellListSize */ static int hf_x2ap_freqBandIndicator = -1; /* FreqBandIndicator */ static int hf_x2ap_rrcContainer_01 = -1; /* T_rrcContainer */ static int hf_x2ap_srbType = -1; /* SRBType */ static int hf_x2ap_deliveryStatus = -1; /* DeliveryStatus */ static int hf_x2ap_Neighbour_Information_item = -1; /* Neighbour_Information_item */ static int hf_x2ap_pCI = -1; /* PCI */ static int hf_x2ap_eARFCN = -1; /* EARFCN */ static int hf_x2ap_capacityValue_01 = -1; /* INTEGER_0_100 */ static int hf_x2ap_ssbAreaCapacityValue_List = -1; /* SSBAreaCapacityValue_List */ static int hf_x2ap_NRCarrierList_item = -1; /* NRCarrierItem */ static int hf_x2ap_carrierSCS = -1; /* NRSCS */ static int hf_x2ap_offsetToCarrier = -1; /* INTEGER_0_2199_ */ static int hf_x2ap_carrierBandwidth = -1; /* INTEGER_0_maxnoofNRPhysicalResourceBlocks_ */ static int hf_x2ap_compositeAvailableCapacityDL = -1; /* NRCompositeAvailableCapacity */ static int hf_x2ap_compositeAvailableCapacityUL = -1; /* NRCompositeAvailableCapacity */ static int hf_x2ap_cellCapacityClassValue_01 = -1; /* NRCellCapacityClassValue */ static int hf_x2ap_capacityValue_02 = -1; /* NRCapacityValue */ static int hf_x2ap_nRARFCN = -1; /* INTEGER_0_3279165 */ static int hf_x2ap_freqBandListNr = -1; /* SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem */ static int hf_x2ap_freqBandListNr_item = -1; /* FreqBandNrItem */ static int hf_x2ap_sULInformation = -1; /* SULInformation */ static int hf_x2ap_nRcellIdentifier = -1; /* NRCellIdentifier */ static int hf_x2ap_NRRACHReportInformation_item = -1; /* NRRACHReportList_Item */ static int hf_x2ap_nRRACHReport = -1; /* NRRACHReportContainer */ static int hf_x2ap_uEAssitantIdentifier = -1; /* SgNB_UE_X2AP_ID */ static int hf_x2ap_NRNeighbour_Information_item = -1; /* NRNeighbour_Information_item */ static int hf_x2ap_nrpCI = -1; /* NRPCI */ static int hf_x2ap_nrCellID = -1; /* NRCGI */ static int hf_x2ap_configured_TAC = -1; /* TAC */ static int hf_x2ap_measurementTimingConfiguration = -1; /* T_measurementTimingConfiguration */ static int hf_x2ap_nRNeighbourModeInfo = -1; /* T_nRNeighbourModeInfo */ static int hf_x2ap_fdd_01 = -1; /* FDD_InfoNeighbourServedNRCell_Information */ static int hf_x2ap_tdd_01 = -1; /* TDD_InfoNeighbourServedNRCell_Information */ static int hf_x2ap_fdd_or_tdd = -1; /* T_fdd_or_tdd */ static int hf_x2ap_fdd_02 = -1; /* NPRACHConfiguration_FDD */ static int hf_x2ap_tdd_02 = -1; /* NPRACHConfiguration_TDD */ static int hf_x2ap_nprach_CP_length = -1; /* NPRACH_CP_Length */ static int hf_x2ap_anchorCarrier_NPRACHConfig = -1; /* T_anchorCarrier_NPRACHConfig */ static int hf_x2ap_anchorCarrier_EDT_NPRACHConfig = -1; /* T_anchorCarrier_EDT_NPRACHConfig */ static int hf_x2ap_anchorCarrier_Format2_NPRACHConfig = -1; /* T_anchorCarrier_Format2_NPRACHConfig */ static int hf_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig = -1; /* T_anchorCarrier_Format2_EDT_NPRACHConfig */ static int hf_x2ap_non_anchorCarrier_NPRACHConfig = -1; /* T_non_anchorCarrier_NPRACHConfig */ static int hf_x2ap_non_anchorCarrier_Format2_NPRACHConfig = -1; /* T_non_anchorCarrier_Format2_NPRACHConfig */ static int hf_x2ap_nprach_preambleFormat = -1; /* NPRACH_preambleFormat */ static int hf_x2ap_anchorCarrier_NPRACHConfigTDD = -1; /* T_anchorCarrier_NPRACHConfigTDD */ static int hf_x2ap_non_anchorCarrierFequencyConfiglist = -1; /* Non_AnchorCarrierFrequencylist */ static int hf_x2ap_non_anchorCarrier_NPRACHConfigTDD = -1; /* T_non_anchorCarrier_NPRACHConfigTDD */ static int hf_x2ap_Non_AnchorCarrierFrequencylist_item = -1; /* Non_AnchorCarrierFrequencylist_item */ static int hf_x2ap_non_anchorCarrioerFrquency = -1; /* Non_anchorCarrierFrequency */ static int hf_x2ap_MeasurementResultforNRCellsPossiblyAggregated_item = -1; /* MeasurementResultforNRCellsPossiblyAggregated_Item */ static int hf_x2ap_cellID = -1; /* NRCGI */ static int hf_x2ap_nrCompositeAvailableCapacityGroup = -1; /* NRCompositeAvailableCapacityGroup */ static int hf_x2ap_ssbAreaRadioResourceStatus_List = -1; /* SSBAreaRadioResourceStatus_List */ static int hf_x2ap_dl_GBR_PRB_usage_for_MIMO = -1; /* DL_GBR_PRB_usage_for_MIMO */ static int hf_x2ap_ul_GBR_PRB_usage_for_MIMO = -1; /* UL_GBR_PRB_usage_for_MIMO */ static int hf_x2ap_dl_non_GBR_PRB_usage_for_MIMO = -1; /* DL_non_GBR_PRB_usage_for_MIMO */ static int hf_x2ap_ul_non_GBR_PRB_usage_for_MIMO = -1; /* UL_non_GBR_PRB_usage_for_MIMO */ static int hf_x2ap_dl_Total_PRB_usage_for_MIMO = -1; /* DL_Total_PRB_usage_for_MIMO */ static int hf_x2ap_ul_Total_PRB_usage_for_MIMO = -1; /* UL_Total_PRB_usage_for_MIMO */ static int hf_x2ap_nRSCS = -1; /* NRSCS */ static int hf_x2ap_nRNRB = -1; /* NRNRB */ static int hf_x2ap_uENRMeasurements = -1; /* T_uENRMeasurements */ static int hf_x2ap_uESidelinkAggregateMaximumBitRate = -1; /* BitRate */ static int hf_x2ap_nRencryptionAlgorithms = -1; /* NRencryptionAlgorithms */ static int hf_x2ap_nRintegrityProtectionAlgorithms = -1; /* NRintegrityProtectionAlgorithms */ static int hf_x2ap_vehicleUE = -1; /* VehicleUE */ static int hf_x2ap_pedestrianUE = -1; /* PedestrianUE */ static int hf_x2ap_pc5QoSFlowList = -1; /* PC5QoSFlowList */ static int hf_x2ap_pc5LinkAggregatedBitRates = -1; /* BitRate */ static int hf_x2ap_PC5QoSFlowList_item = -1; /* PC5QoSFlowItem */ static int hf_x2ap_pQI = -1; /* FiveQI */ static int hf_x2ap_pc5FlowBitRates = -1; /* PC5FlowBitRates */ static int hf_x2ap_range = -1; /* Range */ static int hf_x2ap_guaranteedFlowBitRate = -1; /* BitRate */ static int hf_x2ap_maximumFlowBitRate = -1; /* BitRate */ static int hf_x2ap_rootSequenceIndex = -1; /* INTEGER_0_837 */ static int hf_x2ap_zeroCorrelationIndex = -1; /* INTEGER_0_15 */ static int hf_x2ap_highSpeedFlag = -1; /* BOOLEAN */ static int hf_x2ap_prach_FreqOffset = -1; /* INTEGER_0_94 */ static int hf_x2ap_prach_ConfigIndex = -1; /* INTEGER_0_63 */ static int hf_x2ap_plmnListforQMC = -1; /* PLMNListforQMC */ static int hf_x2ap_PLMNListforQMC_item = -1; /* PLMN_Identity */ static int hf_x2ap_proSeDirectDiscovery = -1; /* ProSeDirectDiscovery */ static int hf_x2ap_proSeDirectCommunication = -1; /* ProSeDirectCommunication */ static int hf_x2ap_protectedResourceList = -1; /* ProtectedResourceList */ static int hf_x2ap_mBSFNControlRegionLength = -1; /* T_mBSFNControlRegionLength */ static int hf_x2ap_pDCCHRegionLength = -1; /* T_pDCCHRegionLength */ static int hf_x2ap_protectedFootprintTimePeriodicity = -1; /* INTEGER_1_320_ */ static int hf_x2ap_protectedFootprintStartTime = -1; /* INTEGER_1_20_ */ static int hf_x2ap_ProtectedResourceList_item = -1; /* ProtectedResourceList_Item */ static int hf_x2ap_resourceType = -1; /* ResourceType */ static int hf_x2ap_intraPRBProtectedResourceFootprint = -1; /* BIT_STRING_SIZE_84_ */ static int hf_x2ap_protectedFootprintFrequencyPattern = -1; /* BIT_STRING_SIZE_6_110_ */ static int hf_x2ap_protectedFootprintTimePattern = -1; /* ProtectedFootprintTimePattern */ static int hf_x2ap_PSCell_UE_HistoryInformation_item = -1; /* LastVisitedPSCell_Item */ static int hf_x2ap_dscp = -1; /* BIT_STRING_SIZE_6 */ static int hf_x2ap_flow_label = -1; /* BIT_STRING_SIZE_20 */ static int hf_x2ap_dL_GBR_PRB_usage = -1; /* DL_GBR_PRB_usage */ static int hf_x2ap_uL_GBR_PRB_usage = -1; /* UL_GBR_PRB_usage */ static int hf_x2ap_dL_non_GBR_PRB_usage = -1; /* DL_non_GBR_PRB_usage */ static int hf_x2ap_uL_non_GBR_PRB_usage = -1; /* UL_non_GBR_PRB_usage */ static int hf_x2ap_dL_Total_PRB_usage = -1; /* DL_Total_PRB_usage */ static int hf_x2ap_uL_Total_PRB_usage = -1; /* UL_Total_PRB_usage */ static int hf_x2ap_RAT_Restrictions_item = -1; /* RAT_RestrictionsItem */ static int hf_x2ap_rAT_RestrictionInformation = -1; /* T_rAT_RestrictionInformation */ static int hf_x2ap_rNTP_PerPRB = -1; /* BIT_STRING_SIZE_6_110_ */ static int hf_x2ap_rNTP_Threshold = -1; /* RNTP_Threshold */ static int hf_x2ap_numberOfCellSpecificAntennaPorts_02 = -1; /* T_numberOfCellSpecificAntennaPorts_02 */ static int hf_x2ap_p_B = -1; /* INTEGER_0_3_ */ static int hf_x2ap_pDCCH_InterferenceImpact = -1; /* INTEGER_0_4_ */ static int hf_x2ap_ReplacingCellsList_item = -1; /* ReplacingCellsList_Item */ static int hf_x2ap_subframeType = -1; /* SubframeType */ static int hf_x2ap_reservedSubframePattern_01 = -1; /* BIT_STRING_SIZE_10_160 */ static int hf_x2ap_mBSFNControlRegionLength_01 = -1; /* T_mBSFNControlRegionLength_01 */ static int hf_x2ap_non_truncated = -1; /* BIT_STRING_SIZE_40 */ static int hf_x2ap_truncated = -1; /* BIT_STRING_SIZE_24 */ static int hf_x2ap_reestablishment_Indication = -1; /* Reestablishment_Indication */ static int hf_x2ap_RSRPMeasurementResult_item = -1; /* RSRPMeasurementResult_item */ static int hf_x2ap_rSRPCellID = -1; /* ECGI */ static int hf_x2ap_rSRPMeasured = -1; /* INTEGER_0_97_ */ static int hf_x2ap_RSRPMRList_item = -1; /* RSRPMRList_item */ static int hf_x2ap_rSRPMeasurementResult = -1; /* RSRPMeasurementResult */ static int hf_x2ap_dLS1TNLLoadIndicator = -1; /* LoadIndicator */ static int hf_x2ap_uLS1TNLLoadIndicator = -1; /* LoadIndicator */ static int hf_x2ap_SCG_UE_HistoryInformation_item = -1; /* LastVisitedPSCell_Item */ static int hf_x2ap_SecondaryRATUsageReportList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_secondaryRATType = -1; /* T_secondaryRATType */ static int hf_x2ap_e_RABUsageReportList = -1; /* E_RABUsageReportList */ static int hf_x2ap_integrityProtectionIndication = -1; /* IntegrityProtectionIndication */ static int hf_x2ap_integrityProtectionResult = -1; /* IntegrityProtectionResult */ static int hf_x2ap_sensorMeasConfig = -1; /* SensorMeasConfig */ static int hf_x2ap_sensorMeasConfigNameList = -1; /* SensorMeasConfigNameList */ static int hf_x2ap_SensorMeasConfigNameList_item = -1; /* SensorMeasConfigNameItem */ static int hf_x2ap_sensorNameConfig = -1; /* SensorNameConfig */ static int hf_x2ap_uncompensatedBarometricConfig = -1; /* T_uncompensatedBarometricConfig */ static int hf_x2ap_ServedCells_item = -1; /* ServedCells_item */ static int hf_x2ap_servedCellInfo = -1; /* ServedCell_Information */ static int hf_x2ap_neighbour_Info = -1; /* Neighbour_Information */ static int hf_x2ap_cellId = -1; /* ECGI */ static int hf_x2ap_tAC = -1; /* TAC */ static int hf_x2ap_eUTRA_Mode_Info = -1; /* EUTRA_Mode_Info */ static int hf_x2ap_ServedCellSpecificInfoReq_NR_item = -1; /* ServedCellSpecificInfoReq_NR_Item */ static int hf_x2ap_nRCGI = -1; /* NRCGI */ static int hf_x2ap_additionalMTCListRequestIndicator = -1; /* T_additionalMTCListRequestIndicator */ static int hf_x2ap_nR_CGI = -1; /* NRCGI */ static int hf_x2ap_uLOnlySharing = -1; /* ULOnlySharing */ static int hf_x2ap_uLandDLSharing = -1; /* ULandDLSharing */ static int hf_x2ap_specialSubframePatterns = -1; /* SpecialSubframePatterns */ static int hf_x2ap_subbandCQICodeword0 = -1; /* SubbandCQICodeword0 */ static int hf_x2ap_subbandCQICodeword1 = -1; /* SubbandCQICodeword1 */ static int hf_x2ap_periodicCommunicationIndicator = -1; /* T_periodicCommunicationIndicator */ static int hf_x2ap_periodicTime = -1; /* INTEGER_1_3600_ */ static int hf_x2ap_scheduledCommunicationTime = -1; /* ScheduledCommunicationTime */ static int hf_x2ap_stationaryIndication = -1; /* T_stationaryIndication */ static int hf_x2ap_trafficProfile = -1; /* T_trafficProfile */ static int hf_x2ap_batteryIndication = -1; /* T_batteryIndication */ static int hf_x2ap_dayofWeek = -1; /* BIT_STRING_SIZE_7 */ static int hf_x2ap_timeofDayStart = -1; /* INTEGER_0_86399_ */ static int hf_x2ap_timeofDayEnd = -1; /* INTEGER_0_86399_ */ static int hf_x2ap_SSBAreaCapacityValue_List_item = -1; /* SSBAreaCapacityValue_Item */ static int hf_x2ap_ssbIndex = -1; /* SSBIndex */ static int hf_x2ap_ssbAreaCapacityValue = -1; /* INTEGER_0_100 */ static int hf_x2ap_SSBAreaRadioResourceStatus_List_item = -1; /* SSBAreaRadioResourceStatus_Item */ static int hf_x2ap_ssbAreaDLGBRPRBUsage = -1; /* INTEGER_0_100 */ static int hf_x2ap_ssbAreaULGBRPRBUsage = -1; /* INTEGER_0_100 */ static int hf_x2ap_ssbAreaDLNonGBRPRBUsage = -1; /* INTEGER_0_100 */ static int hf_x2ap_ssbAreaULNonGBRPRBUsage = -1; /* INTEGER_0_100 */ static int hf_x2ap_ssbAreaDLTotalPRBUsage = -1; /* INTEGER_0_100 */ static int hf_x2ap_ssbAreaULTotalPRBUsage = -1; /* INTEGER_0_100 */ static int hf_x2ap_ssbAreaDLSchedulingPDCCHCCEUsage = -1; /* INTEGER_0_100 */ static int hf_x2ap_ssbAreaULSchedulingPDCCHCCEUsage = -1; /* INTEGER_0_100 */ static int hf_x2ap_shortBitmap = -1; /* BIT_STRING_SIZE_4 */ static int hf_x2ap_mediumBitmap = -1; /* BIT_STRING_SIZE_8 */ static int hf_x2ap_longBitmap = -1; /* BIT_STRING_SIZE_64 */ static int hf_x2ap_four_bitCQI = -1; /* INTEGER_0_15_ */ static int hf_x2ap_two_bitSubbandDifferentialCQI = -1; /* INTEGER_0_3_ */ static int hf_x2ap_two_bitDifferentialCQI = -1; /* INTEGER_0_3_ */ static int hf_x2ap_three_bitSpatialDifferentialCQI = -1; /* INTEGER_0_7_ */ static int hf_x2ap_SubbandCQIList_item = -1; /* SubbandCQIItem */ static int hf_x2ap_subbandCQI = -1; /* SubbandCQI */ static int hf_x2ap_subbandIndex = -1; /* INTEGER_0_27_ */ static int hf_x2ap_oneframe = -1; /* Oneframe */ static int hf_x2ap_fourframes = -1; /* Fourframes */ static int hf_x2ap_sUL_ARFCN = -1; /* INTEGER_0_3279165 */ static int hf_x2ap_sUL_TxBW = -1; /* NR_TxBW */ static int hf_x2ap_sFN_Time_Offset = -1; /* BIT_STRING_SIZE_24 */ static int hf_x2ap_tAListforMDT = -1; /* TAListforMDT */ static int hf_x2ap_tAIListforMDT = -1; /* TAIListforMDT */ static int hf_x2ap_TAIListforMDT_item = -1; /* TAI_Item */ static int hf_x2ap_TAListforMDT_item = -1; /* TAC */ static int hf_x2ap_tAListforQMC = -1; /* TAListforQMC */ static int hf_x2ap_TAListforQMC_item = -1; /* TAC */ static int hf_x2ap_tAIListforQMC = -1; /* TAIListforQMC */ static int hf_x2ap_TAIListforQMC_item = -1; /* TAI_Item */ static int hf_x2ap_transmission_Bandwidth = -1; /* Transmission_Bandwidth */ static int hf_x2ap_subframeAssignment = -1; /* SubframeAssignment */ static int hf_x2ap_specialSubframe_Info = -1; /* SpecialSubframe_Info */ static int hf_x2ap_nRFreqInfo = -1; /* NRFreqInfo */ static int hf_x2ap_TNLA_To_Add_List_item = -1; /* TNLA_To_Add_Item */ static int hf_x2ap_tNLAssociationTransportLayerAddress = -1; /* CPTransportLayerInformation */ static int hf_x2ap_tNLAssociationUsage = -1; /* TNLAssociationUsage */ static int hf_x2ap_TNLA_To_Update_List_item = -1; /* TNLA_To_Update_Item */ static int hf_x2ap_TNLA_To_Remove_List_item = -1; /* TNLA_To_Remove_Item */ static int hf_x2ap_TNLA_Setup_List_item = -1; /* TNLA_Setup_Item */ static int hf_x2ap_TNLA_Failed_To_Setup_List_item = -1; /* TNLA_Failed_To_Setup_Item */ static int hf_x2ap_dlTNLMaximumOfferedCapacity = -1; /* INTEGER_1_16777216_ */ static int hf_x2ap_dlTNLAvailableCapacity = -1; /* INTEGER_0_100_ */ static int hf_x2ap_ulTNLMaximumOfferedCapacity = -1; /* INTEGER_1_16777216_ */ static int hf_x2ap_ulTNLAvailableCapacity = -1; /* INTEGER_0_100_ */ static int hf_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_List_item = -1; /* Transport_UP_Layer_Addresses_Info_To_Add_Item */ static int hf_x2ap_iP_SecTransportLayerAddress = -1; /* TransportLayerAddress */ static int hf_x2ap_gTPTransportLayerAddressesToAdd = -1; /* GTPTLAs */ static int hf_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_List_item = -1; /* Transport_UP_Layer_Addresses_Info_To_Remove_Item */ static int hf_x2ap_gTPTransportLayerAddressesToRemove = -1; /* GTPTLAs */ static int hf_x2ap_transport_UP_Layer_Addresses_Info_To_Add_List = -1; /* Transport_UP_Layer_Addresses_Info_To_Add_List */ static int hf_x2ap_transport_UP_Layer_Addresses_Info_To_Remove_List = -1; /* Transport_UP_Layer_Addresses_Info_To_Remove_List */ static int hf_x2ap_eUTRANTraceID = -1; /* EUTRANTraceID */ static int hf_x2ap_interfacesToTrace = -1; /* InterfacesToTrace */ static int hf_x2ap_traceDepth = -1; /* TraceDepth */ static int hf_x2ap_traceCollectionEntityIPAddress = -1; /* TraceCollectionEntityIPAddress */ static int hf_x2ap_portnumber = -1; /* Port_Number */ static int hf_x2ap_uDP_Port_Number = -1; /* Port_Number */ static int hf_x2ap_uEaggregateMaximumBitRateDownlink = -1; /* BitRate */ static int hf_x2ap_uEaggregateMaximumBitRateUplink = -1; /* BitRate */ static int hf_x2ap_containerForAppLayerMeasConfig = -1; /* OCTET_STRING_SIZE_1_1000 */ static int hf_x2ap_areaScopeOfQMC = -1; /* AreaScopeOfQMC */ static int hf_x2ap_UE_HistoryInformation_item = -1; /* LastVisitedCell_Item */ static int hf_x2ap_encryptionAlgorithms = -1; /* EncryptionAlgorithms */ static int hf_x2ap_integrityProtectionAlgorithms = -1; /* IntegrityProtectionAlgorithms */ static int hf_x2ap_UEsToBeResetList_item = -1; /* UEsToBeResetList_Item */ static int hf_x2ap_meNB_ID = -1; /* UE_X2AP_ID */ static int hf_x2ap_meNB_ID_ext = -1; /* UE_X2AP_ID_Extension */ static int hf_x2ap_sgNB_ID = -1; /* SgNB_UE_X2AP_ID */ static int hf_x2ap_uLResourcesULandDLSharing = -1; /* ULResourcesULandDLSharing */ static int hf_x2ap_dLResourcesULandDLSharing = -1; /* DLResourcesULandDLSharing */ static int hf_x2ap_uL_PDCP = -1; /* UL_UE_Configuration */ static int hf_x2ap_UL_HighInterferenceIndicationInfo_item = -1; /* UL_HighInterferenceIndicationInfo_Item */ static int hf_x2ap_target_Cell_ID = -1; /* ECGI */ static int hf_x2ap_ul_interferenceindication = -1; /* UL_HighInterferenceIndication */ static int hf_x2ap_UL_InterferenceOverloadIndication_item = -1; /* UL_InterferenceOverloadIndication_Item */ static int hf_x2ap_uLResourceBitmapULOnlySharing = -1; /* DataTrafficResources */ static int hf_x2ap_changed_01 = -1; /* ULResourceBitmapULandDLSharing */ static int hf_x2ap_fdd_03 = -1; /* UsableABSInformationFDD */ static int hf_x2ap_tdd_03 = -1; /* UsableABSInformationTDD */ static int hf_x2ap_usable_abs_pattern_info = -1; /* BIT_STRING_SIZE_40 */ static int hf_x2ap_usaable_abs_pattern_info = -1; /* BIT_STRING_SIZE_1_70_ */ static int hf_x2ap_widebandCQICodeword0 = -1; /* INTEGER_0_15_ */ static int hf_x2ap_widebandCQICodeword1 = -1; /* WidebandCQICodeword1 */ static int hf_x2ap_wlanMeasConfig = -1; /* WLANMeasConfig */ static int hf_x2ap_wlanMeasConfigNameList = -1; /* WLANMeasConfigNameList */ static int hf_x2ap_wlan_rssi = -1; /* T_wlan_rssi */ static int hf_x2ap_wlan_rtt = -1; /* T_wlan_rtt */ static int hf_x2ap_WLANMeasConfigNameList_item = -1; /* WLANName */ static int hf_x2ap_wTID_Type1 = -1; /* WTID_Type1 */ static int hf_x2ap_wTID_Type2 = -1; /* WTID_Long_Type2 */ static int hf_x2ap_shortWTID = -1; /* BIT_STRING_SIZE_24 */ static int hf_x2ap_protocolIEs = -1; /* ProtocolIE_Container */ static int hf_x2ap_mME_UE_S1AP_ID = -1; /* UE_S1AP_ID */ static int hf_x2ap_uESecurityCapabilities = -1; /* UESecurityCapabilities */ static int hf_x2ap_aS_SecurityInformation = -1; /* AS_SecurityInformation */ static int hf_x2ap_uEaggregateMaximumBitRate = -1; /* UEAggregateMaximumBitRate */ static int hf_x2ap_subscriberProfileIDforRFP = -1; /* SubscriberProfileIDforRFP */ static int hf_x2ap_e_RABs_ToBeSetup_List = -1; /* E_RABs_ToBeSetup_List */ static int hf_x2ap_rRC_Context = -1; /* RRC_Context */ static int hf_x2ap_handoverRestrictionList = -1; /* HandoverRestrictionList */ static int hf_x2ap_locationReportingInformation = -1; /* LocationReportingInformation */ static int hf_x2ap_E_RABs_ToBeSetup_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_e_RAB_Level_QoS_Parameters = -1; /* E_RAB_Level_QoS_Parameters */ static int hf_x2ap_dL_Forwarding = -1; /* DL_Forwarding */ static int hf_x2ap_source_GlobalSeNB_ID = -1; /* GlobalENB_ID */ static int hf_x2ap_seNB_UE_X2AP_ID = -1; /* UE_X2AP_ID */ static int hf_x2ap_seNB_UE_X2AP_ID_Extension = -1; /* UE_X2AP_ID_Extension */ static int hf_x2ap_wTID = -1; /* WTID */ static int hf_x2ap_wT_UE_XwAP_ID = -1; /* WT_UE_XwAP_ID */ static int hf_x2ap_source_GlobalSgNB_ID = -1; /* GlobalGNB_ID */ static int hf_x2ap_sgNB_UE_X2AP_ID = -1; /* SgNB_UE_X2AP_ID */ static int hf_x2ap_E_RABs_Admitted_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_uL_GTP_TunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_dL_GTP_TunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_first_dl_count = -1; /* FirstDLCount */ static int hf_x2ap_dl_discarding = -1; /* DLDiscarding */ static int hf_x2ap_e_RABsSubjectToEarlyStatusTransfer = -1; /* E_RABsSubjectToEarlyStatusTransfer_List */ static int hf_x2ap_e_RABsSubjectToDLDiscarding_List = -1; /* E_RABsSubjectToDLDiscarding_List */ static int hf_x2ap_E_RABs_SubjectToStatusTransfer_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_receiveStatusofULPDCPSDUs = -1; /* ReceiveStatusofULPDCPSDUs */ static int hf_x2ap_uL_COUNTvalue = -1; /* COUNTvalue */ static int hf_x2ap_dL_COUNTvalue = -1; /* COUNTvalue */ static int hf_x2ap_CellInformation_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_cell_ID = -1; /* ECGI */ static int hf_x2ap_ul_InterferenceOverloadIndication = -1; /* UL_InterferenceOverloadIndication */ static int hf_x2ap_ul_HighInterferenceIndicationInfo = -1; /* UL_HighInterferenceIndicationInfo */ static int hf_x2ap_relativeNarrowbandTxPower = -1; /* RelativeNarrowbandTxPower */ static int hf_x2ap_ServedCellsToModify_item = -1; /* ServedCellsToModify_Item */ static int hf_x2ap_old_ecgi = -1; /* ECGI */ static int hf_x2ap_Old_ECGIs_item = -1; /* ECGI */ static int hf_x2ap_CellToReport_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_MeasurementInitiationResult_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_measurementFailureCause_List = -1; /* MeasurementFailureCause_List */ static int hf_x2ap_MeasurementFailureCause_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_measurementFailedReportCharacteristics = -1; /* T_measurementFailedReportCharacteristics */ static int hf_x2ap_CompleteFailureCauseInformation_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_CellMeasurementResult_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_hWLoadIndicator = -1; /* HWLoadIndicator */ static int hf_x2ap_s1TNLLoadIndicator = -1; /* S1TNLLoadIndicator */ static int hf_x2ap_radioResourceStatus = -1; /* RadioResourceStatus */ static int hf_x2ap_privateIEs = -1; /* PrivateIE_Container */ static int hf_x2ap_ServedCellsToActivate_item = -1; /* ServedCellsToActivate_Item */ static int hf_x2ap_ecgi = -1; /* ECGI */ static int hf_x2ap_ActivatedCellList_item = -1; /* ActivatedCellList_Item */ static int hf_x2ap_source_GlobalENB_ID = -1; /* GlobalENB_ID */ static int hf_x2ap_target_GlobalENB_ID = -1; /* GlobalENB_ID */ static int hf_x2ap_E_RABs_ToBeAdded_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer = -1; /* E_RABs_ToBeAdded_Item_SCG_Bearer */ static int hf_x2ap_split_Bearer = -1; /* E_RABs_ToBeAdded_Item_Split_Bearer */ static int hf_x2ap_s1_UL_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_meNB_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_01 = -1; /* E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer */ static int hf_x2ap_split_Bearer_01 = -1; /* E_RABs_Admitted_ToBeAdded_Item_Split_Bearer */ static int hf_x2ap_s1_DL_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_dL_Forwarding_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_uL_Forwarding_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_seNB_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_success = -1; /* ResponseInformationSeNBReconfComp_SuccessItem */ static int hf_x2ap_reject_by_MeNB = -1; /* ResponseInformationSeNBReconfComp_RejectByMeNBItem */ static int hf_x2ap_meNBtoSeNBContainer = -1; /* MeNBtoSeNBContainer */ static int hf_x2ap_uE_SecurityCapabilities = -1; /* UESecurityCapabilities */ static int hf_x2ap_seNB_SecurityKey = -1; /* SeNBSecurityKey */ static int hf_x2ap_seNBUEAggregateMaximumBitRate = -1; /* UEAggregateMaximumBitRate */ static int hf_x2ap_e_RABs_ToBeAdded = -1; /* E_RABs_ToBeAdded_List_ModReq */ static int hf_x2ap_e_RABs_ToBeModified = -1; /* E_RABs_ToBeModified_List_ModReq */ static int hf_x2ap_e_RABs_ToBeReleased = -1; /* E_RABs_ToBeReleased_List_ModReq */ static int hf_x2ap_E_RABs_ToBeAdded_List_ModReq_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_02 = -1; /* E_RABs_ToBeAdded_ModReqItem_SCG_Bearer */ static int hf_x2ap_split_Bearer_02 = -1; /* E_RABs_ToBeAdded_ModReqItem_Split_Bearer */ static int hf_x2ap_E_RABs_ToBeModified_List_ModReq_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_03 = -1; /* E_RABs_ToBeModified_ModReqItem_SCG_Bearer */ static int hf_x2ap_split_Bearer_03 = -1; /* E_RABs_ToBeModified_ModReqItem_Split_Bearer */ static int hf_x2ap_E_RABs_ToBeReleased_List_ModReq_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_04 = -1; /* E_RABs_ToBeReleased_ModReqItem_SCG_Bearer */ static int hf_x2ap_split_Bearer_04 = -1; /* E_RABs_ToBeReleased_ModReqItem_Split_Bearer */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_05 = -1; /* E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer */ static int hf_x2ap_split_Bearer_05 = -1; /* E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer */ static int hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_06 = -1; /* E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer */ static int hf_x2ap_split_Bearer_06 = -1; /* E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer */ static int hf_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_07 = -1; /* E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer */ static int hf_x2ap_split_Bearer_07 = -1; /* E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer */ static int hf_x2ap_E_RABs_ToBeReleased_ModReqd_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_E_RABs_ToBeReleased_List_RelReq_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_08 = -1; /* E_RABs_ToBeReleased_RelReqItem_SCG_Bearer */ static int hf_x2ap_split_Bearer_08 = -1; /* E_RABs_ToBeReleased_RelReqItem_Split_Bearer */ static int hf_x2ap_E_RABs_ToBeReleased_List_RelConf_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_sCG_Bearer_09 = -1; /* E_RABs_ToBeReleased_RelConfItem_SCG_Bearer */ static int hf_x2ap_split_Bearer_09 = -1; /* E_RABs_ToBeReleased_RelConfItem_Split_Bearer */ static int hf_x2ap_E_RABs_SubjectToCounterCheck_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_uL_Count = -1; /* INTEGER_0_4294967295 */ static int hf_x2ap_dL_Count = -1; /* INTEGER_0_4294967295 */ static int hf_x2ap_e_RABs_ToBeSetup_ListRetrieve = -1; /* E_RABs_ToBeSetup_ListRetrieve */ static int hf_x2ap_managBasedMDTallowed = -1; /* ManagementBasedMDTallowed */ static int hf_x2ap_managBasedMDTPLMNList = -1; /* MDTPLMNList */ static int hf_x2ap_E_RABs_ToBeSetup_ListRetrieve_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_bearerType = -1; /* BearerType */ static int hf_x2ap_E_RABs_ToBeAdded_SgNBAddReqList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_drb_ID = -1; /* DRB_ID */ static int hf_x2ap_en_DC_ResourceConfiguration = -1; /* EN_DC_ResourceConfiguration */ static int hf_x2ap_resource_configuration = -1; /* T_resource_configuration */ static int hf_x2ap_sgNBPDCPpresent = -1; /* E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent = -1; /* E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent */ static int hf_x2ap_full_E_RAB_Level_QoS_Parameters = -1; /* E_RAB_Level_QoS_Parameters */ static int hf_x2ap_max_MCG_admit_E_RAB_Level_QoS_Parameters = -1; /* GBR_QosInformation */ static int hf_x2ap_meNB_DL_GTP_TEIDatMCG = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_requested_SCG_E_RAB_Level_QoS_Parameters = -1; /* E_RAB_Level_QoS_Parameters */ static int hf_x2ap_meNB_UL_GTP_TEIDatPDCP = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_secondary_meNB_UL_GTP_TEIDatPDCP = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_rlc_Mode = -1; /* RLCMode */ static int hf_x2ap_uL_Configuration = -1; /* ULConfiguration */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_01 = -1; /* T_resource_configuration_01 */ static int hf_x2ap_sgNBPDCPpresent_01 = -1; /* E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_01 = -1; /* E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent */ static int hf_x2ap_sgNB_UL_GTP_TEIDatPDCP = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_mCG_E_RAB_Level_QoS_Parameters = -1; /* E_RAB_Level_QoS_Parameters */ static int hf_x2ap_sgNB_DL_GTP_TEIDatSCG = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_secondary_sgNB_DL_GTP_TEIDatSCG = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_success_SgNBReconfComp = -1; /* ResponseInformationSgNBReconfComp_SuccessItem */ static int hf_x2ap_reject_by_MeNB_SgNBReconfComp = -1; /* ResponseInformationSgNBReconfComp_RejectByMeNBItem */ static int hf_x2ap_meNBtoSgNBContainer = -1; /* MeNBtoSgNBContainer */ static int hf_x2ap_nRUE_SecurityCapabilities = -1; /* NRUESecurityCapabilities */ static int hf_x2ap_sgNB_SecurityKey = -1; /* SgNBSecurityKey */ static int hf_x2ap_sgNBUEAggregateMaximumBitRate = -1; /* UEAggregateMaximumBitRate */ static int hf_x2ap_e_RABs_ToBeAdded_01 = -1; /* E_RABs_ToBeAdded_SgNBModReq_List */ static int hf_x2ap_e_RABs_ToBeModified_01 = -1; /* E_RABs_ToBeModified_SgNBModReq_List */ static int hf_x2ap_e_RABs_ToBeReleased_01 = -1; /* E_RABs_ToBeReleased_SgNBModReq_List */ static int hf_x2ap_E_RABs_ToBeAdded_SgNBModReq_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_02 = -1; /* T_resource_configuration_02 */ static int hf_x2ap_sgNBPDCPpresent_02 = -1; /* E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_02 = -1; /* E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent */ static int hf_x2ap_max_MN_admit_E_RAB_Level_QoS_Parameters = -1; /* GBR_QosInformation */ static int hf_x2ap_E_RABs_ToBeModified_SgNBModReq_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_03 = -1; /* T_resource_configuration_03 */ static int hf_x2ap_sgNBPDCPpresent_03 = -1; /* E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_03 = -1; /* E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBModReq_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_04 = -1; /* T_resource_configuration_04 */ static int hf_x2ap_sgNBPDCPpresent_04 = -1; /* E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_04 = -1; /* E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent */ static int hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_05 = -1; /* T_resource_configuration_05 */ static int hf_x2ap_sgNBPDCPpresent_05 = -1; /* E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_05 = -1; /* E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent */ static int hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_06 = -1; /* T_resource_configuration_06 */ static int hf_x2ap_sgNBPDCPpresent_06 = -1; /* E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_06 = -1; /* E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent */ static int hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_07 = -1; /* T_resource_configuration_07 */ static int hf_x2ap_sgNBPDCPpresent_07 = -1; /* E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_07 = -1; /* E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBModReqdList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_E_RABs_ToBeModified_SgNBModReqdList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_08 = -1; /* T_resource_configuration_08 */ static int hf_x2ap_sgNBPDCPpresent_08 = -1; /* E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_08 = -1; /* E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent */ static int hf_x2ap_requested_MCG_E_RAB_Level_QoS_Parameters = -1; /* E_RAB_Level_QoS_Parameters */ static int hf_x2ap_s1_DL_GTP_TEIDatSgNB = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_09 = -1; /* T_resource_configuration_09 */ static int hf_x2ap_sgNBPDCPpresent_09 = -1; /* E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_09 = -1; /* E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_10 = -1; /* T_resource_configuration_10 */ static int hf_x2ap_sgNBPDCPpresent_10 = -1; /* E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_10 = -1; /* E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent */ static int hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_rlc_Mode_transferred = -1; /* RLCMode */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBRelConfList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_11 = -1; /* T_resource_configuration_11 */ static int hf_x2ap_sgNBPDCPpresent_11 = -1; /* E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_11 = -1; /* E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent */ static int hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_E_RABs_ToBeReleased_SgNBChaConfList_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_resource_configuration_12 = -1; /* T_resource_configuration_12 */ static int hf_x2ap_sgNBPDCPpresent_12 = -1; /* E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent */ static int hf_x2ap_sgNBPDCPnotpresent_12 = -1; /* E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent */ static int hf_x2ap_init_eNB = -1; /* ProtocolIE_Container */ static int hf_x2ap_init_en_gNB = -1; /* ProtocolIE_Container */ static int hf_x2ap_ServedEUTRAcellsENDCX2ManagementList_item = -1; /* ServedEUTRAcellsENDCX2ManagementList_item */ static int hf_x2ap_servedEUTRACellInfo = -1; /* ServedCell_Information */ static int hf_x2ap_nrNeighbourInfo = -1; /* NRNeighbour_Information */ static int hf_x2ap_ServedNRcellsENDCX2ManagementList_item = -1; /* ServedNRcellsENDCX2ManagementList_item */ static int hf_x2ap_servedNRCellInfo = -1; /* ServedNRCell_Information */ static int hf_x2ap_nRNeighbourInfo = -1; /* NRNeighbour_Information */ static int hf_x2ap_nrModeInfo = -1; /* T_nrModeInfo */ static int hf_x2ap_fdd_04 = -1; /* FDD_InfoServedNRCell_Information */ static int hf_x2ap_tdd_04 = -1; /* TDD_InfoServedNRCell_Information */ static int hf_x2ap_measurementTimingConfiguration_01 = -1; /* T_measurementTimingConfiguration_01 */ static int hf_x2ap_ul_NR_TxBW = -1; /* NR_TxBW */ static int hf_x2ap_dl_NR_TxBW = -1; /* NR_TxBW */ static int hf_x2ap_nR_TxBW = -1; /* NR_TxBW */ static int hf_x2ap_cellAssistanceInformation = -1; /* CellAssistanceInformation */ static int hf_x2ap_limited_list = -1; /* Limited_list */ static int hf_x2ap_full_list = -1; /* T_full_list */ static int hf_x2ap_Limited_list_item = -1; /* Limited_list_item */ static int hf_x2ap_respond_eNB = -1; /* ProtocolIE_Container */ static int hf_x2ap_respond_en_gNB = -1; /* ProtocolIE_Container */ static int hf_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_item = -1; /* ServedEUTRAcellsToModifyListENDCConfUpd_item */ static int hf_x2ap_old_ECGI = -1; /* ECGI */ static int hf_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd_item = -1; /* ECGI */ static int hf_x2ap_ServedNRcellsToModifyENDCConfUpdList_item = -1; /* ServedNRCellsToModify_Item */ static int hf_x2ap_old_nrcgi = -1; /* NRCGI */ static int hf_x2ap_servedNRCellInformation = -1; /* ServedNRCell_Information */ static int hf_x2ap_nrNeighbourInformation = -1; /* NRNeighbour_Information */ static int hf_x2ap_nrDeactivationIndication = -1; /* DeactivationIndication */ static int hf_x2ap_ServedNRcellsToDeleteENDCConfUpdList_item = -1; /* NRCGI */ static int hf_x2ap_ServedNRCellsToActivate_item = -1; /* ServedNRCellsToActivate_Item */ static int hf_x2ap_ActivatedNRCellList_item = -1; /* ActivatedNRCellList_Item */ static int hf_x2ap_CellToReport_NR_ENDC_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_nr_cell_ID = -1; /* NRCGI */ static int hf_x2ap_ssbToReport_List = -1; /* SSBToReport_List */ static int hf_x2ap_CellToReport_E_UTRA_ENDC_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_e_utra_cell_ID = -1; /* ECGI */ static int hf_x2ap_SSBToReport_List_item = -1; /* SSBToReport_Item */ static int hf_x2ap_CellMeasurementResult_NR_ENDC_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_nr_radioResourceStatus = -1; /* NRRadioResourceStatus */ static int hf_x2ap_tnlCapacityIndicator = -1; /* TNLCapacityIndicator */ static int hf_x2ap_nr_compositeAvailableCapacityGroup = -1; /* NRCompositeAvailableCapacityGroup */ static int hf_x2ap_numberofActiveUEs = -1; /* INTEGER_0_16777215_ */ static int hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_compositeAvailableCapacityGroup = -1; /* CompositeAvailableCapacityGroup */ static int hf_x2ap_initiate_eNB = -1; /* ProtocolIE_Container */ static int hf_x2ap_initiate_en_gNB = -1; /* ProtocolIE_Container */ static int hf_x2ap_ListofEUTRACellsinEUTRACoordinationReq_item = -1; /* ECGI */ static int hf_x2ap_ListofEUTRACellsinNRCoordinationReq_item = -1; /* ECGI */ static int hf_x2ap_ListofNRCellsinNRCoordinationReq_item = -1; /* NRCGI */ static int hf_x2ap_ListofEUTRACellsinEUTRACoordinationResp_item = -1; /* ECGI */ static int hf_x2ap_ListofNRCellsinNRCoordinationResp_item = -1; /* NRCGI */ static int hf_x2ap_E_RABs_DataForwardingAddress_List_item = -1; /* ProtocolIE_Single_Container */ static int hf_x2ap_dl_GTPtunnelEndpoint = -1; /* GTPtunnelEndpoint */ static int hf_x2ap_initiatingMessage = -1; /* InitiatingMessage */ static int hf_x2ap_successfulOutcome = -1; /* SuccessfulOutcome */ static int hf_x2ap_unsuccessfulOutcome = -1; /* UnsuccessfulOutcome */ static int hf_x2ap_initiatingMessage_value = -1; /* InitiatingMessage_value */ static int hf_x2ap_successfulOutcome_value = -1; /* SuccessfulOutcome_value */ static int hf_x2ap_value = -1; /* UnsuccessfulOutcome_value */ /* Initialize the subtree pointers */ static int ett_x2ap = -1; static int ett_x2ap_TransportLayerAddress = -1; static int ett_x2ap_PLMN_Identity = -1; static int ett_x2ap_TargeteNBtoSource_eNBTransparentContainer = -1; static int ett_x2ap_RRC_Context = -1; static int ett_x2ap_UE_HistoryInformationFromTheUE = -1; static int ett_x2ap_ReportCharacteristics = -1; static int ett_x2ap_measurementFailedReportCharacteristics = -1; static int ett_x2ap_UE_RLF_Report_Container = -1; static int ett_x2ap_UE_RLF_Report_Container_for_extended_bands = -1; static int ett_x2ap_MeNBtoSeNBContainer = -1; static int ett_x2ap_SeNBtoMeNBContainer = -1; static int ett_x2ap_EUTRANTraceID = -1; static int ett_x2ap_InterfacesToTrace = -1; static int ett_x2ap_TraceCollectionEntityIPAddress = -1; static int ett_x2ap_EncryptionAlgorithms = -1; static int ett_x2ap_IntegrityProtectionAlgorithms = -1; static int ett_x2ap_MeasurementsToActivate = -1; static int ett_x2ap_MDT_Location_Info = -1; static int ett_x2ap_transmissionModes = -1; static int ett_x2ap_X2AP_Message = -1; static int ett_x2ap_MeNBtoSgNBContainer = -1; static int ett_x2ap_SgNBtoMeNBContainer = -1; static int ett_x2ap_RRCContainer = -1; static int ett_x2ap_NRencryptionAlgorithms = -1; static int ett_x2ap_NRintegrityProtectionAlgorithms = -1; static int ett_x2ap_measurementTimingConfiguration = -1; static int ett_x2ap_LastVisitedNGRANCellInformation = -1; static int ett_x2ap_LastVisitedUTRANCellInformation = -1; static int ett_x2ap_EndcSONConfigurationTransfer = -1; static int ett_x2ap_EPCHandoverRestrictionListContainer = -1; static int ett_x2ap_NBIoT_RLF_Report_Container = -1; static int ett_x2ap_anchorCarrier_NPRACHConfig = -1; static int ett_x2ap_anchorCarrier_EDT_NPRACHConfig = -1; static int ett_x2ap_anchorCarrier_Format2_NPRACHConfig = -1; static int ett_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig = -1; static int ett_x2ap_non_anchorCarrier_NPRACHConfig = -1; static int ett_x2ap_non_anchorCarrier_Format2_NPRACHConfig = -1; static int ett_x2ap_anchorCarrier_NPRACHConfigTDD = -1; static int ett_x2ap_non_anchorCarrier_NPRACHConfigTDD = -1; static int ett_x2ap_Non_anchorCarrierFrequency = -1; static int ett_x2ap_ReportCharacteristics_ENDC = -1; static int ett_x2ap_TargetCellInNGRAN = -1; static int ett_x2ap_TDDULDLConfigurationCommonNR = -1; static int ett_x2ap_MDT_ConfigurationNR = -1; static int ett_x2ap_NRCellPRACHConfig = -1; static int ett_x2ap_IntendedTDD_DL_ULConfiguration_NR = -1; static int ett_x2ap_UERadioCapability = -1; static int ett_x2ap_LastVisitedPSCell_Item = -1; static int ett_x2ap_NRRACHReportContainer = -1; static int ett_x2ap_rAT_RestrictionInformation = -1; static gint ett_x2ap_PrivateIE_ID = -1; static gint ett_x2ap_ProtocolIE_Container = -1; static gint ett_x2ap_ProtocolIE_Field = -1; static gint ett_x2ap_ProtocolExtensionContainer = -1; static gint ett_x2ap_ProtocolExtensionField = -1; static gint ett_x2ap_PrivateIE_Container = -1; static gint ett_x2ap_PrivateIE_Field = -1; static gint ett_x2ap_ABSInformation = -1; static gint ett_x2ap_ABSInformationFDD = -1; static gint ett_x2ap_ABSInformationTDD = -1; static gint ett_x2ap_ABS_Status = -1; static gint ett_x2ap_Additional_Measurement_Timing_Configuration_List = -1; static gint ett_x2ap_Additional_Measurement_Timing_Configuration_Item = -1; static gint ett_x2ap_CSI_RS_MTC_Configuration_List = -1; static gint ett_x2ap_CSI_RS_MTC_Configuration_Item = -1; static gint ett_x2ap_CSI_RS_Neighbour_List = -1; static gint ett_x2ap_CSI_RS_Neighbour_Item = -1; static gint ett_x2ap_CSI_RS_MTC_Neighbour_List = -1; static gint ett_x2ap_CSI_RS_MTC_Neighbour_Item = -1; static gint ett_x2ap_AdditionalListofForwardingGTPTunnelEndpoint = -1; static gint ett_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_Item = -1; static gint ett_x2ap_AdditionalSpecialSubframe_Info = -1; static gint ett_x2ap_AdditionalSpecialSubframeExtension_Info = -1; static gint ett_x2ap_AllocationAndRetentionPriority = -1; static gint ett_x2ap_AreaScopeOfMDT = -1; static gint ett_x2ap_AreaScopeOfQMC = -1; static gint ett_x2ap_AS_SecurityInformation = -1; static gint ett_x2ap_AdditionalPLMNs_Item = -1; static gint ett_x2ap_BroadcastPLMNs_Item = -1; static gint ett_x2ap_BluetoothMeasurementConfiguration = -1; static gint ett_x2ap_BluetoothMeasConfigNameList = -1; static gint ett_x2ap_BPLMN_ID_Info_EUTRA = -1; static gint ett_x2ap_BPLMN_ID_Info_EUTRA_Item = -1; static gint ett_x2ap_BPLMN_ID_Info_NR = -1; static gint ett_x2ap_BPLMN_ID_Info_NR_Item = -1; static gint ett_x2ap_BroadcastextPLMNs = -1; static gint ett_x2ap_Cause = -1; static gint ett_x2ap_CellBasedMDT = -1; static gint ett_x2ap_CellBasedQMC = -1; static gint ett_x2ap_CellIdListforMDT = -1; static gint ett_x2ap_CellIdListforQMC = -1; static gint ett_x2ap_CellReplacingInfo = -1; static gint ett_x2ap_CellType = -1; static gint ett_x2ap_CPACcandidatePSCells_list = -1; static gint ett_x2ap_CPACcandidatePSCells_item = -1; static gint ett_x2ap_CPAinformation_REQ = -1; static gint ett_x2ap_CPAinformation_REQ_ACK = -1; static gint ett_x2ap_CPCinformation_REQD = -1; static gint ett_x2ap_CPC_target_SgNB_reqd_list = -1; static gint ett_x2ap_CPC_target_SgNB_reqd_item = -1; static gint ett_x2ap_CPCinformation_CONF = -1; static gint ett_x2ap_CPC_target_SgNB_conf_list = -1; static gint ett_x2ap_CPC_target_SgNB_conf_item = -1; static gint ett_x2ap_CPCinformation_NOTIFY = -1; static gint ett_x2ap_CPAinformation_MOD = -1; static gint ett_x2ap_CPCupdate_MOD = -1; static gint ett_x2ap_CPC_target_SgNB_mod_list = -1; static gint ett_x2ap_CPC_target_SgNB_mod_item = -1; static gint ett_x2ap_CPAinformation_MOD_ACK = -1; static gint ett_x2ap_CPACinformation_REQD = -1; static gint ett_x2ap_CNTypeRestrictions = -1; static gint ett_x2ap_CNTypeRestrictionsItem = -1; static gint ett_x2ap_CoMPHypothesisSet = -1; static gint ett_x2ap_CoMPHypothesisSetItem = -1; static gint ett_x2ap_CoMPInformation = -1; static gint ett_x2ap_CoMPInformationItem = -1; static gint ett_x2ap_CoMPInformationItem_item = -1; static gint ett_x2ap_CoMPInformationStartTime = -1; static gint ett_x2ap_CoMPInformationStartTime_item = -1; static gint ett_x2ap_CompositeAvailableCapacity = -1; static gint ett_x2ap_CompositeAvailableCapacityGroup = -1; static gint ett_x2ap_COUNTvalue = -1; static gint ett_x2ap_COUNTValueExtended = -1; static gint ett_x2ap_COUNTvaluePDCP_SNlength18 = -1; static gint ett_x2ap_CoverageModificationList = -1; static gint ett_x2ap_CoverageModification_Item = -1; static gint ett_x2ap_CPTransportLayerInformation = -1; static gint ett_x2ap_CriticalityDiagnostics = -1; static gint ett_x2ap_CriticalityDiagnostics_IE_List = -1; static gint ett_x2ap_CriticalityDiagnostics_IE_List_item = -1; static gint ett_x2ap_CSIReportList = -1; static gint ett_x2ap_CSIReportList_item = -1; static gint ett_x2ap_CSIReportPerCSIProcess = -1; static gint ett_x2ap_CSIReportPerCSIProcess_item = -1; static gint ett_x2ap_CSIReportPerCSIProcessItem = -1; static gint ett_x2ap_CSIReportPerCSIProcessItem_item = -1; static gint ett_x2ap_CHOinformation_REQ = -1; static gint ett_x2ap_CHOinformation_ACK = -1; static gint ett_x2ap_CandidateCellsToBeCancelledList = -1; static gint ett_x2ap_CHOinformation_AddReq = -1; static gint ett_x2ap_CHOinformation_ModReq = -1; static gint ett_x2ap_DataTrafficResourceIndication = -1; static gint ett_x2ap_DAPSRequestInfo = -1; static gint ett_x2ap_DAPSResponseInfo = -1; static gint ett_x2ap_DeliveryStatus = -1; static gint ett_x2ap_DLResourcesULandDLSharing = -1; static gint ett_x2ap_DynamicDLTransmissionInformation = -1; static gint ett_x2ap_DynamicNAICSInformation = -1; static gint ett_x2ap_SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values = -1; static gint ett_x2ap_ECGI = -1; static gint ett_x2ap_EnhancedRNTP = -1; static gint ett_x2ap_EnhancedRNTPStartTime = -1; static gint ett_x2ap_ENB_ID = -1; static gint ett_x2ap_EN_DC_ResourceConfiguration = -1; static gint ett_x2ap_EPLMNs = -1; static gint ett_x2ap_ERABActivityNotifyItemList = -1; static gint ett_x2ap_ERABActivityNotifyItem = -1; static gint ett_x2ap_E_RAB_Level_QoS_Parameters = -1; static gint ett_x2ap_E_RAB_List = -1; static gint ett_x2ap_E_RAB_Item = -1; static gint ett_x2ap_E_RABsSubjectToEarlyStatusTransfer_List = -1; static gint ett_x2ap_E_RABsSubjectToEarlyStatusTransfer_Item = -1; static gint ett_x2ap_E_RABsSubjectToDLDiscarding_List = -1; static gint ett_x2ap_E_RABsSubjectToDLDiscarding_Item = -1; static gint ett_x2ap_E_RABUsageReportList = -1; static gint ett_x2ap_E_RABUsageReport_Item = -1; static gint ett_x2ap_EUTRA_Mode_Info = -1; static gint ett_x2ap_ExpectedUEBehaviour = -1; static gint ett_x2ap_ExpectedUEActivityBehaviour = -1; static gint ett_x2ap_ExtendedULInterferenceOverloadInfo = -1; static gint ett_x2ap_FastMCGRecovery = -1; static gint ett_x2ap_FDD_Info = -1; static gint ett_x2ap_FDD_InfoNeighbourServedNRCell_Information = -1; static gint ett_x2ap_ForbiddenTAs = -1; static gint ett_x2ap_ForbiddenTAs_Item = -1; static gint ett_x2ap_ForbiddenTACs = -1; static gint ett_x2ap_ForbiddenLAs = -1; static gint ett_x2ap_ForbiddenLAs_Item = -1; static gint ett_x2ap_ForbiddenLACs = -1; static gint ett_x2ap_FreqBandNrItem = -1; static gint ett_x2ap_SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem = -1; static gint ett_x2ap_GBR_QosInformation = -1; static gint ett_x2ap_GlobalENB_ID = -1; static gint ett_x2ap_GlobalGNB_ID = -1; static gint ett_x2ap_Global_RAN_NODE_ID = -1; static gint ett_x2ap_GTPTLAs = -1; static gint ett_x2ap_GTPTLA_Item = -1; static gint ett_x2ap_GTPtunnelEndpoint = -1; static gint ett_x2ap_GUGroupIDList = -1; static gint ett_x2ap_GU_Group_ID = -1; static gint ett_x2ap_GUMMEI = -1; static gint ett_x2ap_GNB_ID = -1; static gint ett_x2ap_HandoverRestrictionList = -1; static gint ett_x2ap_HWLoadIndicator = -1; static gint ett_x2ap_LastVisitedCell_Item = -1; static gint ett_x2ap_LastVisitedEUTRANCellInformation = -1; static gint ett_x2ap_LastVisitedGERANCellInformation = -1; static gint ett_x2ap_LocationInformationSgNB = -1; static gint ett_x2ap_LocationReportingInformation = -1; static gint ett_x2ap_M1PeriodicReporting = -1; static gint ett_x2ap_M1ThresholdEventA2 = -1; static gint ett_x2ap_M3Configuration = -1; static gint ett_x2ap_M4Configuration = -1; static gint ett_x2ap_M5Configuration = -1; static gint ett_x2ap_M6Configuration = -1; static gint ett_x2ap_M7Configuration = -1; static gint ett_x2ap_MDT_Configuration = -1; static gint ett_x2ap_MDTPLMNList = -1; static gint ett_x2ap_MeasurementThresholdA2 = -1; static gint ett_x2ap_MeNBResourceCoordinationInformation = -1; static gint ett_x2ap_MBMS_Service_Area_Identity_List = -1; static gint ett_x2ap_MBSFN_Subframe_Infolist = -1; static gint ett_x2ap_MBSFN_Subframe_Info = -1; static gint ett_x2ap_MobilityParametersModificationRange = -1; static gint ett_x2ap_MobilityParametersInformation = -1; static gint ett_x2ap_MultibandInfoList = -1; static gint ett_x2ap_MessageOversizeNotification = -1; static gint ett_x2ap_BandInfo = -1; static gint ett_x2ap_SplitSRB = -1; static gint ett_x2ap_Neighbour_Information = -1; static gint ett_x2ap_Neighbour_Information_item = -1; static gint ett_x2ap_NRCapacityValue = -1; static gint ett_x2ap_NRCarrierList = -1; static gint ett_x2ap_NRCarrierItem = -1; static gint ett_x2ap_NRCompositeAvailableCapacityGroup = -1; static gint ett_x2ap_NRCompositeAvailableCapacity = -1; static gint ett_x2ap_NRFreqInfo = -1; static gint ett_x2ap_SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem = -1; static gint ett_x2ap_NRCGI = -1; static gint ett_x2ap_NRRACHReportInformation = -1; static gint ett_x2ap_NRRACHReportList_Item = -1; static gint ett_x2ap_NRNeighbour_Information = -1; static gint ett_x2ap_NRNeighbour_Information_item = -1; static gint ett_x2ap_T_nRNeighbourModeInfo = -1; static gint ett_x2ap_NPRACHConfiguration = -1; static gint ett_x2ap_T_fdd_or_tdd = -1; static gint ett_x2ap_NPRACHConfiguration_FDD = -1; static gint ett_x2ap_NPRACHConfiguration_TDD = -1; static gint ett_x2ap_Non_AnchorCarrierFrequencylist = -1; static gint ett_x2ap_Non_AnchorCarrierFrequencylist_item = -1; static gint ett_x2ap_MeasurementResultforNRCellsPossiblyAggregated = -1; static gint ett_x2ap_MeasurementResultforNRCellsPossiblyAggregated_Item = -1; static gint ett_x2ap_NRRadioResourceStatus = -1; static gint ett_x2ap_MIMOPRBusageInformation = -1; static gint ett_x2ap_NR_TxBW = -1; static gint ett_x2ap_NRUeReport = -1; static gint ett_x2ap_NRUESidelinkAggregateMaximumBitRate = -1; static gint ett_x2ap_NRUESecurityCapabilities = -1; static gint ett_x2ap_NRV2XServicesAuthorized = -1; static gint ett_x2ap_PC5QoSParameters = -1; static gint ett_x2ap_PC5QoSFlowList = -1; static gint ett_x2ap_PC5QoSFlowItem = -1; static gint ett_x2ap_PC5FlowBitRates = -1; static gint ett_x2ap_PRACH_Configuration = -1; static gint ett_x2ap_PLMNAreaBasedQMC = -1; static gint ett_x2ap_PLMNListforQMC = -1; static gint ett_x2ap_ProSeAuthorized = -1; static gint ett_x2ap_ProtectedEUTRAResourceIndication = -1; static gint ett_x2ap_ProtectedFootprintTimePattern = -1; static gint ett_x2ap_ProtectedResourceList = -1; static gint ett_x2ap_ProtectedResourceList_Item = -1; static gint ett_x2ap_PSCell_UE_HistoryInformation = -1; static gint ett_x2ap_QoS_Mapping_Information = -1; static gint ett_x2ap_RadioResourceStatus = -1; static gint ett_x2ap_RAT_Restrictions = -1; static gint ett_x2ap_RAT_RestrictionsItem = -1; static gint ett_x2ap_RelativeNarrowbandTxPower = -1; static gint ett_x2ap_ReplacingCellsList = -1; static gint ett_x2ap_ReplacingCellsList_Item = -1; static gint ett_x2ap_ReservedSubframePattern = -1; static gint ett_x2ap_ResumeID = -1; static gint ett_x2ap_RLC_Status = -1; static gint ett_x2ap_RSRPMeasurementResult = -1; static gint ett_x2ap_RSRPMeasurementResult_item = -1; static gint ett_x2ap_RSRPMRList = -1; static gint ett_x2ap_RSRPMRList_item = -1; static gint ett_x2ap_S1TNLLoadIndicator = -1; static gint ett_x2ap_SCG_UE_HistoryInformation = -1; static gint ett_x2ap_SecondaryRATUsageReportList = -1; static gint ett_x2ap_SecondaryRATUsageReport_Item = -1; static gint ett_x2ap_SecurityIndication = -1; static gint ett_x2ap_SecurityResult = -1; static gint ett_x2ap_SensorMeasurementConfiguration = -1; static gint ett_x2ap_SensorMeasConfigNameList = -1; static gint ett_x2ap_SensorMeasConfigNameItem = -1; static gint ett_x2ap_SensorNameConfig = -1; static gint ett_x2ap_ServedCells = -1; static gint ett_x2ap_ServedCells_item = -1; static gint ett_x2ap_ServedCell_Information = -1; static gint ett_x2ap_ServedCellSpecificInfoReq_NR = -1; static gint ett_x2ap_ServedCellSpecificInfoReq_NR_Item = -1; static gint ett_x2ap_SgNBResourceCoordinationInformation = -1; static gint ett_x2ap_SharedResourceType = -1; static gint ett_x2ap_SpecialSubframe_Info = -1; static gint ett_x2ap_SubbandCQI = -1; static gint ett_x2ap_Subscription_Based_UE_DifferentiationInfo = -1; static gint ett_x2ap_ScheduledCommunicationTime = -1; static gint ett_x2ap_SSBAreaCapacityValue_List = -1; static gint ett_x2ap_SSBAreaCapacityValue_Item = -1; static gint ett_x2ap_SSBAreaRadioResourceStatus_List = -1; static gint ett_x2ap_SSBAreaRadioResourceStatus_Item = -1; static gint ett_x2ap_SSB_PositionsInBurst = -1; static gint ett_x2ap_SubbandCQICodeword0 = -1; static gint ett_x2ap_SubbandCQICodeword1 = -1; static gint ett_x2ap_SubbandCQIList = -1; static gint ett_x2ap_SubbandCQIItem = -1; static gint ett_x2ap_SubframeAllocation = -1; static gint ett_x2ap_SULInformation = -1; static gint ett_x2ap_SupportedSULFreqBandItem = -1; static gint ett_x2ap_SFN_Offset = -1; static gint ett_x2ap_TABasedMDT = -1; static gint ett_x2ap_TAIBasedMDT = -1; static gint ett_x2ap_TAIListforMDT = -1; static gint ett_x2ap_TAI_Item = -1; static gint ett_x2ap_TAListforMDT = -1; static gint ett_x2ap_TABasedQMC = -1; static gint ett_x2ap_TAListforQMC = -1; static gint ett_x2ap_TAIBasedQMC = -1; static gint ett_x2ap_TAIListforQMC = -1; static gint ett_x2ap_TDD_Info = -1; static gint ett_x2ap_TDD_InfoNeighbourServedNRCell_Information = -1; static gint ett_x2ap_TNLA_To_Add_List = -1; static gint ett_x2ap_TNLA_To_Add_Item = -1; static gint ett_x2ap_TNLA_To_Update_List = -1; static gint ett_x2ap_TNLA_To_Update_Item = -1; static gint ett_x2ap_TNLA_To_Remove_List = -1; static gint ett_x2ap_TNLA_To_Remove_Item = -1; static gint ett_x2ap_TNLA_Setup_List = -1; static gint ett_x2ap_TNLA_Setup_Item = -1; static gint ett_x2ap_TNLA_Failed_To_Setup_List = -1; static gint ett_x2ap_TNLA_Failed_To_Setup_Item = -1; static gint ett_x2ap_TNLCapacityIndicator = -1; static gint ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_List = -1; static gint ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_Item = -1; static gint ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_List = -1; static gint ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_Item = -1; static gint ett_x2ap_TNLConfigurationInfo = -1; static gint ett_x2ap_TraceActivation = -1; static gint ett_x2ap_TransportLayerAddressAndPort = -1; static gint ett_x2ap_TunnelInformation = -1; static gint ett_x2ap_UEAggregateMaximumBitRate = -1; static gint ett_x2ap_UEAppLayerMeasConfig = -1; static gint ett_x2ap_UE_HistoryInformation = -1; static gint ett_x2ap_UESecurityCapabilities = -1; static gint ett_x2ap_UESidelinkAggregateMaximumBitRate = -1; static gint ett_x2ap_UEsToBeResetList = -1; static gint ett_x2ap_UEsToBeResetList_Item = -1; static gint ett_x2ap_ULandDLSharing = -1; static gint ett_x2ap_ULConfiguration = -1; static gint ett_x2ap_UL_HighInterferenceIndicationInfo = -1; static gint ett_x2ap_UL_HighInterferenceIndicationInfo_Item = -1; static gint ett_x2ap_UL_InterferenceOverloadIndication = -1; static gint ett_x2ap_ULOnlySharing = -1; static gint ett_x2ap_ULResourcesULandDLSharing = -1; static gint ett_x2ap_UsableABSInformation = -1; static gint ett_x2ap_UsableABSInformationFDD = -1; static gint ett_x2ap_UsableABSInformationTDD = -1; static gint ett_x2ap_V2XServicesAuthorized = -1; static gint ett_x2ap_WidebandCQI = -1; static gint ett_x2ap_WidebandCQICodeword1 = -1; static gint ett_x2ap_WLANMeasurementConfiguration = -1; static gint ett_x2ap_WLANMeasConfigNameList = -1; static gint ett_x2ap_WTID = -1; static gint ett_x2ap_WTID_Type1 = -1; static gint ett_x2ap_HandoverRequest = -1; static gint ett_x2ap_UE_ContextInformation = -1; static gint ett_x2ap_E_RABs_ToBeSetup_List = -1; static gint ett_x2ap_E_RABs_ToBeSetup_Item = -1; static gint ett_x2ap_UE_ContextReferenceAtSeNB = -1; static gint ett_x2ap_UE_ContextReferenceAtWT = -1; static gint ett_x2ap_UE_ContextReferenceAtSgNB = -1; static gint ett_x2ap_HandoverRequestAcknowledge = -1; static gint ett_x2ap_E_RABs_Admitted_List = -1; static gint ett_x2ap_E_RABs_Admitted_Item = -1; static gint ett_x2ap_HandoverPreparationFailure = -1; static gint ett_x2ap_HandoverReport = -1; static gint ett_x2ap_EarlyStatusTransfer = -1; static gint ett_x2ap_ProcedureStageChoice = -1; static gint ett_x2ap_FirstDLCount = -1; static gint ett_x2ap_DLDiscarding = -1; static gint ett_x2ap_SNStatusTransfer = -1; static gint ett_x2ap_E_RABs_SubjectToStatusTransfer_List = -1; static gint ett_x2ap_E_RABs_SubjectToStatusTransfer_Item = -1; static gint ett_x2ap_UEContextRelease = -1; static gint ett_x2ap_HandoverCancel = -1; static gint ett_x2ap_HandoverSuccess = -1; static gint ett_x2ap_ConditionalHandoverCancel = -1; static gint ett_x2ap_ErrorIndication = -1; static gint ett_x2ap_ResetRequest = -1; static gint ett_x2ap_ResetResponse = -1; static gint ett_x2ap_X2SetupRequest = -1; static gint ett_x2ap_X2SetupResponse = -1; static gint ett_x2ap_X2SetupFailure = -1; static gint ett_x2ap_LoadInformation = -1; static gint ett_x2ap_CellInformation_List = -1; static gint ett_x2ap_CellInformation_Item = -1; static gint ett_x2ap_ENBConfigurationUpdate = -1; static gint ett_x2ap_ServedCellsToModify = -1; static gint ett_x2ap_ServedCellsToModify_Item = -1; static gint ett_x2ap_Old_ECGIs = -1; static gint ett_x2ap_ENBConfigurationUpdateAcknowledge = -1; static gint ett_x2ap_ENBConfigurationUpdateFailure = -1; static gint ett_x2ap_ResourceStatusRequest = -1; static gint ett_x2ap_CellToReport_List = -1; static gint ett_x2ap_CellToReport_Item = -1; static gint ett_x2ap_ResourceStatusResponse = -1; static gint ett_x2ap_MeasurementInitiationResult_List = -1; static gint ett_x2ap_MeasurementInitiationResult_Item = -1; static gint ett_x2ap_MeasurementFailureCause_List = -1; static gint ett_x2ap_MeasurementFailureCause_Item = -1; static gint ett_x2ap_ResourceStatusFailure = -1; static gint ett_x2ap_CompleteFailureCauseInformation_List = -1; static gint ett_x2ap_CompleteFailureCauseInformation_Item = -1; static gint ett_x2ap_ResourceStatusUpdate = -1; static gint ett_x2ap_CellMeasurementResult_List = -1; static gint ett_x2ap_CellMeasurementResult_Item = -1; static gint ett_x2ap_PrivateMessage = -1; static gint ett_x2ap_MobilityChangeRequest = -1; static gint ett_x2ap_MobilityChangeAcknowledge = -1; static gint ett_x2ap_MobilityChangeFailure = -1; static gint ett_x2ap_RLFIndication = -1; static gint ett_x2ap_CellActivationRequest = -1; static gint ett_x2ap_ServedCellsToActivate = -1; static gint ett_x2ap_ServedCellsToActivate_Item = -1; static gint ett_x2ap_CellActivationResponse = -1; static gint ett_x2ap_ActivatedCellList = -1; static gint ett_x2ap_ActivatedCellList_Item = -1; static gint ett_x2ap_CellActivationFailure = -1; static gint ett_x2ap_X2Release = -1; static gint ett_x2ap_X2APMessageTransfer = -1; static gint ett_x2ap_RNL_Header = -1; static gint ett_x2ap_SeNBAdditionRequest = -1; static gint ett_x2ap_E_RABs_ToBeAdded_List = -1; static gint ett_x2ap_E_RABs_ToBeAdded_Item = -1; static gint ett_x2ap_E_RABs_ToBeAdded_Item_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_ToBeAdded_Item_Split_Bearer = -1; static gint ett_x2ap_SeNBAdditionRequestAcknowledge = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_List = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_Item = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_Item_Split_Bearer = -1; static gint ett_x2ap_SeNBAdditionRequestReject = -1; static gint ett_x2ap_SeNBReconfigurationComplete = -1; static gint ett_x2ap_ResponseInformationSeNBReconfComp = -1; static gint ett_x2ap_ResponseInformationSeNBReconfComp_SuccessItem = -1; static gint ett_x2ap_ResponseInformationSeNBReconfComp_RejectByMeNBItem = -1; static gint ett_x2ap_SeNBModificationRequest = -1; static gint ett_x2ap_UE_ContextInformationSeNBModReq = -1; static gint ett_x2ap_E_RABs_ToBeAdded_List_ModReq = -1; static gint ett_x2ap_E_RABs_ToBeAdded_ModReqItem = -1; static gint ett_x2ap_E_RABs_ToBeAdded_ModReqItem_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_ToBeAdded_ModReqItem_Split_Bearer = -1; static gint ett_x2ap_E_RABs_ToBeModified_List_ModReq = -1; static gint ett_x2ap_E_RABs_ToBeModified_ModReqItem = -1; static gint ett_x2ap_E_RABs_ToBeModified_ModReqItem_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_ToBeModified_ModReqItem_Split_Bearer = -1; static gint ett_x2ap_E_RABs_ToBeReleased_List_ModReq = -1; static gint ett_x2ap_E_RABs_ToBeReleased_ModReqItem = -1; static gint ett_x2ap_E_RABs_ToBeReleased_ModReqItem_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_ToBeReleased_ModReqItem_Split_Bearer = -1; static gint ett_x2ap_SeNBModificationRequestAcknowledge = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckList = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList = -1; static gint ett_x2ap_E_RABs_Admitted_ToReleased_ModAckItem = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer = -1; static gint ett_x2ap_SeNBModificationRequestReject = -1; static gint ett_x2ap_SeNBModificationRequired = -1; static gint ett_x2ap_E_RABs_ToBeReleased_ModReqd = -1; static gint ett_x2ap_E_RABs_ToBeReleased_ModReqdItem = -1; static gint ett_x2ap_SeNBModificationConfirm = -1; static gint ett_x2ap_SeNBModificationRefuse = -1; static gint ett_x2ap_SeNBReleaseRequest = -1; static gint ett_x2ap_E_RABs_ToBeReleased_List_RelReq = -1; static gint ett_x2ap_E_RABs_ToBeReleased_RelReqItem = -1; static gint ett_x2ap_E_RABs_ToBeReleased_RelReqItem_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_ToBeReleased_RelReqItem_Split_Bearer = -1; static gint ett_x2ap_SeNBReleaseRequired = -1; static gint ett_x2ap_SeNBReleaseConfirm = -1; static gint ett_x2ap_E_RABs_ToBeReleased_List_RelConf = -1; static gint ett_x2ap_E_RABs_ToBeReleased_RelConfItem = -1; static gint ett_x2ap_E_RABs_ToBeReleased_RelConfItem_SCG_Bearer = -1; static gint ett_x2ap_E_RABs_ToBeReleased_RelConfItem_Split_Bearer = -1; static gint ett_x2ap_SeNBCounterCheckRequest = -1; static gint ett_x2ap_E_RABs_SubjectToCounterCheck_List = -1; static gint ett_x2ap_E_RABs_SubjectToCounterCheckItem = -1; static gint ett_x2ap_X2RemovalRequest = -1; static gint ett_x2ap_X2RemovalResponse = -1; static gint ett_x2ap_X2RemovalFailure = -1; static gint ett_x2ap_RetrieveUEContextRequest = -1; static gint ett_x2ap_RetrieveUEContextResponse = -1; static gint ett_x2ap_UE_ContextInformationRetrieve = -1; static gint ett_x2ap_E_RABs_ToBeSetup_ListRetrieve = -1; static gint ett_x2ap_E_RABs_ToBeSetupRetrieve_Item = -1; static gint ett_x2ap_RetrieveUEContextFailure = -1; static gint ett_x2ap_SgNBAdditionRequest = -1; static gint ett_x2ap_E_RABs_ToBeAdded_SgNBAddReqList = -1; static gint ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item = -1; static gint ett_x2ap_T_resource_configuration = -1; static gint ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_SgNBAdditionRequestAcknowledge = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item = -1; static gint ett_x2ap_T_resource_configuration_01 = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_SgNBAdditionRequestReject = -1; static gint ett_x2ap_SgNBReconfigurationComplete = -1; static gint ett_x2ap_ResponseInformationSgNBReconfComp = -1; static gint ett_x2ap_ResponseInformationSgNBReconfComp_SuccessItem = -1; static gint ett_x2ap_ResponseInformationSgNBReconfComp_RejectByMeNBItem = -1; static gint ett_x2ap_SgNBModificationRequest = -1; static gint ett_x2ap_UE_ContextInformation_SgNBModReq = -1; static gint ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_List = -1; static gint ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item = -1; static gint ett_x2ap_T_resource_configuration_02 = -1; static gint ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_E_RABs_ToBeModified_SgNBModReq_List = -1; static gint ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item = -1; static gint ett_x2ap_T_resource_configuration_03 = -1; static gint ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_List = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item = -1; static gint ett_x2ap_T_resource_configuration_04 = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_SgNBModificationRequestAcknowledge = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item = -1; static gint ett_x2ap_T_resource_configuration_05 = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item = -1; static gint ett_x2ap_T_resource_configuration_06 = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList = -1; static gint ett_x2ap_E_RABs_Admitted_ToReleased_SgNBModAck_Item = -1; static gint ett_x2ap_T_resource_configuration_07 = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_SgNBModificationRequestReject = -1; static gint ett_x2ap_SgNBModificationRequired = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBModReqdList = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBModReqd_Item = -1; static gint ett_x2ap_E_RABs_ToBeModified_SgNBModReqdList = -1; static gint ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item = -1; static gint ett_x2ap_T_resource_configuration_08 = -1; static gint ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_SgNBModificationConfirm = -1; static gint ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList = -1; static gint ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item = -1; static gint ett_x2ap_T_resource_configuration_09 = -1; static gint ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_SgNBModificationRefuse = -1; static gint ett_x2ap_SgNBReleaseRequest = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqList = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item = -1; static gint ett_x2ap_T_resource_configuration_10 = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_SgNBReleaseRequestAcknowledge = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList = -1; static gint ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item = -1; static gint ett_x2ap_SgNBReleaseRequestReject = -1; static gint ett_x2ap_SgNBReleaseRequired = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqd_Item = -1; static gint ett_x2ap_SgNBReleaseConfirm = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelConfList = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item = -1; static gint ett_x2ap_T_resource_configuration_11 = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_SgNBCounterCheckRequest = -1; static gint ett_x2ap_E_RABs_SubjectToSgNBCounterCheck_List = -1; static gint ett_x2ap_E_RABs_SubjectToSgNBCounterCheck_Item = -1; static gint ett_x2ap_SgNBChangeRequired = -1; static gint ett_x2ap_AccessAndMobilityIndication = -1; static gint ett_x2ap_SgNBChangeConfirm = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBChaConfList = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item = -1; static gint ett_x2ap_T_resource_configuration_12 = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent = -1; static gint ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent = -1; static gint ett_x2ap_RRCTransfer = -1; static gint ett_x2ap_SgNBChangeRefuse = -1; static gint ett_x2ap_ENDCX2SetupRequest = -1; static gint ett_x2ap_InitiatingNodeType_EndcX2Setup = -1; static gint ett_x2ap_ServedEUTRAcellsENDCX2ManagementList = -1; static gint ett_x2ap_ServedEUTRAcellsENDCX2ManagementList_item = -1; static gint ett_x2ap_ServedNRcellsENDCX2ManagementList = -1; static gint ett_x2ap_ServedNRcellsENDCX2ManagementList_item = -1; static gint ett_x2ap_ServedNRCell_Information = -1; static gint ett_x2ap_T_nrModeInfo = -1; static gint ett_x2ap_FDD_InfoServedNRCell_Information = -1; static gint ett_x2ap_TDD_InfoServedNRCell_Information = -1; static gint ett_x2ap_CellandCapacityAssistInfo = -1; static gint ett_x2ap_CellAssistanceInformation = -1; static gint ett_x2ap_Limited_list = -1; static gint ett_x2ap_Limited_list_item = -1; static gint ett_x2ap_ENDCX2SetupResponse = -1; static gint ett_x2ap_RespondingNodeType_EndcX2Setup = -1; static gint ett_x2ap_ENDCX2SetupFailure = -1; static gint ett_x2ap_ENDCConfigurationUpdate = -1; static gint ett_x2ap_InitiatingNodeType_EndcConfigUpdate = -1; static gint ett_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd = -1; static gint ett_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_item = -1; static gint ett_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd = -1; static gint ett_x2ap_ServedNRcellsToModifyENDCConfUpdList = -1; static gint ett_x2ap_ServedNRCellsToModify_Item = -1; static gint ett_x2ap_ServedNRcellsToDeleteENDCConfUpdList = -1; static gint ett_x2ap_ENDCConfigurationUpdateAcknowledge = -1; static gint ett_x2ap_RespondingNodeType_EndcConfigUpdate = -1; static gint ett_x2ap_ENDCConfigurationUpdateFailure = -1; static gint ett_x2ap_ENDCCellActivationRequest = -1; static gint ett_x2ap_ServedNRCellsToActivate = -1; static gint ett_x2ap_ServedNRCellsToActivate_Item = -1; static gint ett_x2ap_ENDCCellActivationResponse = -1; static gint ett_x2ap_ActivatedNRCellList = -1; static gint ett_x2ap_ActivatedNRCellList_Item = -1; static gint ett_x2ap_ENDCCellActivationFailure = -1; static gint ett_x2ap_ENDCResourceStatusRequest = -1; static gint ett_x2ap_CellToReport_NR_ENDC_List = -1; static gint ett_x2ap_CellToReport_NR_ENDC_Item = -1; static gint ett_x2ap_CellToReport_E_UTRA_ENDC_List = -1; static gint ett_x2ap_CellToReport_E_UTRA_ENDC_Item = -1; static gint ett_x2ap_SSBToReport_List = -1; static gint ett_x2ap_SSBToReport_Item = -1; static gint ett_x2ap_ENDCResourceStatusResponse = -1; static gint ett_x2ap_ENDCResourceStatusFailure = -1; static gint ett_x2ap_ENDCResourceStatusUpdate = -1; static gint ett_x2ap_CellMeasurementResult_NR_ENDC_List = -1; static gint ett_x2ap_CellMeasurementResult_NR_ENDC_Item = -1; static gint ett_x2ap_CellMeasurementResult_E_UTRA_ENDC_List = -1; static gint ett_x2ap_CellMeasurementResult_E_UTRA_ENDC_Item = -1; static gint ett_x2ap_SecondaryRATDataUsageReport = -1; static gint ett_x2ap_SgNBActivityNotification = -1; static gint ett_x2ap_ENDCPartialResetRequired = -1; static gint ett_x2ap_ENDCPartialResetConfirm = -1; static gint ett_x2ap_EUTRANRCellResourceCoordinationRequest = -1; static gint ett_x2ap_InitiatingNodeType_EutranrCellResourceCoordination = -1; static gint ett_x2ap_ListofEUTRACellsinEUTRACoordinationReq = -1; static gint ett_x2ap_ListofEUTRACellsinNRCoordinationReq = -1; static gint ett_x2ap_ListofNRCellsinNRCoordinationReq = -1; static gint ett_x2ap_EUTRANRCellResourceCoordinationResponse = -1; static gint ett_x2ap_RespondingNodeType_EutranrCellResourceCoordination = -1; static gint ett_x2ap_ListofEUTRACellsinEUTRACoordinationResp = -1; static gint ett_x2ap_ListofNRCellsinNRCoordinationResp = -1; static gint ett_x2ap_ENDCX2RemovalRequest = -1; static gint ett_x2ap_InitiatingNodeType_EndcX2Removal = -1; static gint ett_x2ap_ENDCX2RemovalResponse = -1; static gint ett_x2ap_RespondingNodeType_EndcX2Removal = -1; static gint ett_x2ap_ENDCX2RemovalFailure = -1; static gint ett_x2ap_DataForwardingAddressIndication = -1; static gint ett_x2ap_E_RABs_DataForwardingAddress_List = -1; static gint ett_x2ap_E_RABs_DataForwardingAddress_Item = -1; static gint ett_x2ap_GNBStatusIndication = -1; static gint ett_x2ap_ENDCConfigurationTransfer = -1; static gint ett_x2ap_TraceStart = -1; static gint ett_x2ap_DeactivateTrace = -1; static gint ett_x2ap_CellTrafficTrace = -1; static gint ett_x2ap_F1CTrafficTransfer = -1; static gint ett_x2ap_UERadioCapabilityIDMappingRequest = -1; static gint ett_x2ap_UERadioCapabilityIDMappingResponse = -1; static gint ett_x2ap_CPC_cancel = -1; static gint ett_x2ap_X2AP_PDU = -1; static gint ett_x2ap_InitiatingMessage = -1; static gint ett_x2ap_SuccessfulOutcome = -1; static gint ett_x2ap_UnsuccessfulOutcome = -1; /* Forward declarations */ static int dissect_x2ap_Registration_Request_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); static int dissect_x2ap_ReportCharacteristics_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); static int dissect_x2ap_ReportingPeriodicity_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); typedef enum { RRC_CONTAINER_TYPE_UNKNOWN, RRC_CONTAINER_TYPE_PDCP_C_PDU, RRC_CONTAINER_TYPE_NR_UE_MEAS_REPORT, RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_SgNB_TO_MeNB, RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_MeNB_TO_SgNB } rrc_container_type_e; enum{ INITIATING_MESSAGE, SUCCESSFUL_OUTCOME, UNSUCCESSFUL_OUTCOME }; struct x2ap_private_data { guint32 procedure_code; guint32 protocol_ie_id; guint32 message_type; rrc_container_type_e rrc_container_type; e212_number_type_t number_type; }; enum { X2AP_RRC_CONTEXT_LTE, X2AP_RRC_CONTEXT_NBIOT }; static const enum_val_t x2ap_rrc_context_vals[] = { {"lte", "LTE", X2AP_RRC_CONTEXT_LTE}, {"nb-iot","NB-IoT", X2AP_RRC_CONTEXT_NBIOT}, {NULL, NULL, -1} }; /* Global variables */ static gint g_x2ap_dissect_rrc_context_as = X2AP_RRC_CONTEXT_LTE; /* Dissector tables */ static dissector_table_t x2ap_ies_dissector_table; static dissector_table_t x2ap_extension_dissector_table; static dissector_table_t x2ap_proc_imsg_dissector_table; static dissector_table_t x2ap_proc_sout_dissector_table; static dissector_table_t x2ap_proc_uout_dissector_table; static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_X2AP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); void proto_reg_handoff_x2ap(void); static dissector_handle_t x2ap_handle; static const true_false_string x2ap_tfs_failed_succeeded = { "Failed", "Succeeded" }; static const true_false_string x2ap_tfs_interfacesToTrace = { "Should be traced", "Should not be traced" }; static const true_false_string x2ap_tfs_activate_do_not_activate = { "Activate", "Do not activate" }; static void x2ap_Time_UE_StayedInCell_EnhancedGranularity_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1fs", ((float)v)/10); } static void x2ap_handoverTriggerChange_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB (%d)", ((float)v)/2, (gint32)v); } static void x2ap_Threshold_RSRP_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%ddBm (%u)", (gint32)v-140, v); } static void x2ap_Threshold_RSRQ_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB (%u)", ((float)v/2)-20, v); } static void x2ap_Packet_LossRate_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1f %% (%u)", (float)v/10, v); } static struct x2ap_private_data* x2ap_get_private_data(packet_info *pinfo) { struct x2ap_private_data *x2ap_data = (struct x2ap_private_data*)p_get_proto_data(pinfo->pool, pinfo, proto_x2ap, 0); if (!x2ap_data) { x2ap_data = wmem_new0(pinfo->pool, struct x2ap_private_data); p_add_proto_data(pinfo->pool, pinfo, proto_x2ap, 0, x2ap_data); } return x2ap_data; } static const value_string x2ap_Criticality_vals[] = { { 0, "reject" }, { 1, "ignore" }, { 2, "notify" }, { 0, NULL } }; static int dissect_x2ap_Criticality(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, FALSE, 0, NULL); return offset; } static int dissect_x2ap_INTEGER_0_maxPrivateIEs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxPrivateIEs, NULL, FALSE); return offset; } static int dissect_x2ap_T_global(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_object_identifier_str(tvb, offset, actx, tree, hf_index, &actx->external.direct_reference); actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE; return offset; } static const value_string x2ap_PrivateIE_ID_vals[] = { { 0, "local" }, { 1, "global" }, { 0, NULL } }; static const per_choice_t PrivateIE_ID_choice[] = { { 0, &hf_x2ap_local , ASN1_NO_EXTENSIONS , dissect_x2ap_INTEGER_0_maxPrivateIEs }, { 1, &hf_x2ap_global , ASN1_NO_EXTENSIONS , dissect_x2ap_T_global }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_PrivateIE_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_PrivateIE_ID, PrivateIE_ID_choice, NULL); return offset; } static const value_string x2ap_ProcedureCode_vals[] = { { id_handoverPreparation, "id-handoverPreparation" }, { id_handoverCancel, "id-handoverCancel" }, { id_loadIndication, "id-loadIndication" }, { id_errorIndication, "id-errorIndication" }, { id_snStatusTransfer, "id-snStatusTransfer" }, { id_uEContextRelease, "id-uEContextRelease" }, { id_x2Setup, "id-x2Setup" }, { id_reset, "id-reset" }, { id_eNBConfigurationUpdate, "id-eNBConfigurationUpdate" }, { id_resourceStatusReportingInitiation, "id-resourceStatusReportingInitiation" }, { id_resourceStatusReporting, "id-resourceStatusReporting" }, { id_privateMessage, "id-privateMessage" }, { id_mobilitySettingsChange, "id-mobilitySettingsChange" }, { id_rLFIndication, "id-rLFIndication" }, { id_handoverReport, "id-handoverReport" }, { id_cellActivation, "id-cellActivation" }, { id_x2Release, "id-x2Release" }, { id_x2APMessageTransfer, "id-x2APMessageTransfer" }, { id_x2Removal, "id-x2Removal" }, { id_seNBAdditionPreparation, "id-seNBAdditionPreparation" }, { id_seNBReconfigurationCompletion, "id-seNBReconfigurationCompletion" }, { id_meNBinitiatedSeNBModificationPreparation, "id-meNBinitiatedSeNBModificationPreparation" }, { id_seNBinitiatedSeNBModification, "id-seNBinitiatedSeNBModification" }, { id_meNBinitiatedSeNBRelease, "id-meNBinitiatedSeNBRelease" }, { id_seNBinitiatedSeNBRelease, "id-seNBinitiatedSeNBRelease" }, { id_seNBCounterCheck, "id-seNBCounterCheck" }, { id_retrieveUEContext, "id-retrieveUEContext" }, { id_sgNBAdditionPreparation, "id-sgNBAdditionPreparation" }, { id_sgNBReconfigurationCompletion, "id-sgNBReconfigurationCompletion" }, { id_meNBinitiatedSgNBModificationPreparation, "id-meNBinitiatedSgNBModificationPreparation" }, { id_sgNBinitiatedSgNBModification, "id-sgNBinitiatedSgNBModification" }, { id_meNBinitiatedSgNBRelease, "id-meNBinitiatedSgNBRelease" }, { id_sgNBinitiatedSgNBRelease, "id-sgNBinitiatedSgNBRelease" }, { id_sgNBCounterCheck, "id-sgNBCounterCheck" }, { id_sgNBChange, "id-sgNBChange" }, { id_rRCTransfer, "id-rRCTransfer" }, { id_endcX2Setup, "id-endcX2Setup" }, { id_endcConfigurationUpdate, "id-endcConfigurationUpdate" }, { id_secondaryRATDataUsageReport, "id-secondaryRATDataUsageReport" }, { id_endcCellActivation, "id-endcCellActivation" }, { id_endcPartialReset, "id-endcPartialReset" }, { id_eUTRANRCellResourceCoordination, "id-eUTRANRCellResourceCoordination" }, { id_SgNBActivityNotification, "id-SgNBActivityNotification" }, { id_endcX2Removal, "id-endcX2Removal" }, { id_dataForwardingAddressIndication, "id-dataForwardingAddressIndication" }, { id_gNBStatusIndication, "id-gNBStatusIndication" }, { id_deactivateTrace, "id-deactivateTrace" }, { id_traceStart, "id-traceStart" }, { id_endcConfigurationTransfer, "id-endcConfigurationTransfer" }, { id_handoverSuccess, "id-handoverSuccess" }, { id_conditionalHandoverCancel, "id-conditionalHandoverCancel" }, { id_earlyStatusTransfer, "id-earlyStatusTransfer" }, { id_cellTrafficTrace, "id-cellTrafficTrace" }, { id_endcresourceStatusReporting, "id-endcresourceStatusReporting" }, { id_endcresourceStatusReportingInitiation, "id-endcresourceStatusReportingInitiation" }, { id_f1CTrafficTransfer, "id-f1CTrafficTransfer" }, { id_UERadioCapabilityIDMapping, "id-UERadioCapabilityIDMapping" }, { id_accessAndMobilityIndication, "id-accessAndMobilityIndication" }, { id_procedure_code_58_not_to_be_used, "id-procedure-code-58-not-to-be-used" }, { id_CPC_cancel, "id-CPC-cancel" }, { 0, NULL } }; static value_string_ext x2ap_ProcedureCode_vals_ext = VALUE_STRING_EXT_INIT(x2ap_ProcedureCode_vals); static int dissect_x2ap_ProcedureCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &x2ap_data->procedure_code, FALSE); return offset; } static const value_string x2ap_ProtocolIE_ID_vals[] = { { id_E_RABs_Admitted_Item, "id-E-RABs-Admitted-Item" }, { id_E_RABs_Admitted_List, "id-E-RABs-Admitted-List" }, { id_E_RAB_Item, "id-E-RAB-Item" }, { id_E_RABs_NotAdmitted_List, "id-E-RABs-NotAdmitted-List" }, { id_E_RABs_ToBeSetup_Item, "id-E-RABs-ToBeSetup-Item" }, { id_Cause, "id-Cause" }, { id_CellInformation, "id-CellInformation" }, { id_CellInformation_Item, "id-CellInformation-Item" }, { id_Unknown_8, "id-Unknown-8" }, { id_New_eNB_UE_X2AP_ID, "id-New-eNB-UE-X2AP-ID" }, { id_Old_eNB_UE_X2AP_ID, "id-Old-eNB-UE-X2AP-ID" }, { id_TargetCell_ID, "id-TargetCell-ID" }, { id_TargeteNBtoSource_eNBTransparentContainer, "id-TargeteNBtoSource-eNBTransparentContainer" }, { id_TraceActivation, "id-TraceActivation" }, { id_UE_ContextInformation, "id-UE-ContextInformation" }, { id_UE_HistoryInformation, "id-UE-HistoryInformation" }, { id_UE_X2AP_ID, "id-UE-X2AP-ID" }, { id_CriticalityDiagnostics, "id-CriticalityDiagnostics" }, { id_E_RABs_SubjectToStatusTransfer_List, "id-E-RABs-SubjectToStatusTransfer-List" }, { id_E_RABs_SubjectToStatusTransfer_Item, "id-E-RABs-SubjectToStatusTransfer-Item" }, { id_ServedCells, "id-ServedCells" }, { id_GlobalENB_ID, "id-GlobalENB-ID" }, { id_TimeToWait, "id-TimeToWait" }, { id_GUMMEI_ID, "id-GUMMEI-ID" }, { id_GUGroupIDList, "id-GUGroupIDList" }, { id_ServedCellsToAdd, "id-ServedCellsToAdd" }, { id_ServedCellsToModify, "id-ServedCellsToModify" }, { id_ServedCellsToDelete, "id-ServedCellsToDelete" }, { id_Registration_Request, "id-Registration-Request" }, { id_CellToReport, "id-CellToReport" }, { id_ReportingPeriodicity, "id-ReportingPeriodicity" }, { id_CellToReport_Item, "id-CellToReport-Item" }, { id_CellMeasurementResult, "id-CellMeasurementResult" }, { id_CellMeasurementResult_Item, "id-CellMeasurementResult-Item" }, { id_GUGroupIDToAddList, "id-GUGroupIDToAddList" }, { id_GUGroupIDToDeleteList, "id-GUGroupIDToDeleteList" }, { id_SRVCCOperationPossible, "id-SRVCCOperationPossible" }, { id_Measurement_ID, "id-Measurement-ID" }, { id_ReportCharacteristics, "id-ReportCharacteristics" }, { id_ENB1_Measurement_ID, "id-ENB1-Measurement-ID" }, { id_ENB2_Measurement_ID, "id-ENB2-Measurement-ID" }, { id_Number_of_Antennaports, "id-Number-of-Antennaports" }, { id_CompositeAvailableCapacityGroup, "id-CompositeAvailableCapacityGroup" }, { id_ENB1_Cell_ID, "id-ENB1-Cell-ID" }, { id_ENB2_Cell_ID, "id-ENB2-Cell-ID" }, { id_ENB2_Proposed_Mobility_Parameters, "id-ENB2-Proposed-Mobility-Parameters" }, { id_ENB1_Mobility_Parameters, "id-ENB1-Mobility-Parameters" }, { id_ENB2_Mobility_Parameters_Modification_Range, "id-ENB2-Mobility-Parameters-Modification-Range" }, { id_FailureCellPCI, "id-FailureCellPCI" }, { id_Re_establishmentCellECGI, "id-Re-establishmentCellECGI" }, { id_FailureCellCRNTI, "id-FailureCellCRNTI" }, { id_ShortMAC_I, "id-ShortMAC-I" }, { id_SourceCellECGI, "id-SourceCellECGI" }, { id_FailureCellECGI, "id-FailureCellECGI" }, { id_HandoverReportType, "id-HandoverReportType" }, { id_PRACH_Configuration, "id-PRACH-Configuration" }, { id_MBSFN_Subframe_Info, "id-MBSFN-Subframe-Info" }, { id_ServedCellsToActivate, "id-ServedCellsToActivate" }, { id_ActivatedCellList, "id-ActivatedCellList" }, { id_DeactivationIndication, "id-DeactivationIndication" }, { id_UE_RLF_Report_Container, "id-UE-RLF-Report-Container" }, { id_ABSInformation, "id-ABSInformation" }, { id_InvokeIndication, "id-InvokeIndication" }, { id_ABS_Status, "id-ABS-Status" }, { id_PartialSuccessIndicator, "id-PartialSuccessIndicator" }, { id_MeasurementInitiationResult_List, "id-MeasurementInitiationResult-List" }, { id_MeasurementInitiationResult_Item, "id-MeasurementInitiationResult-Item" }, { id_MeasurementFailureCause_Item, "id-MeasurementFailureCause-Item" }, { id_CompleteFailureCauseInformation_List, "id-CompleteFailureCauseInformation-List" }, { id_CompleteFailureCauseInformation_Item, "id-CompleteFailureCauseInformation-Item" }, { id_CSG_Id, "id-CSG-Id" }, { id_CSGMembershipStatus, "id-CSGMembershipStatus" }, { id_MDTConfiguration, "id-MDTConfiguration" }, { id_Unknown_73, "id-Unknown-73" }, { id_ManagementBasedMDTallowed, "id-ManagementBasedMDTallowed" }, { id_RRCConnSetupIndicator, "id-RRCConnSetupIndicator" }, { id_NeighbourTAC, "id-NeighbourTAC" }, { id_Time_UE_StayedInCell_EnhancedGranularity, "id-Time-UE-StayedInCell-EnhancedGranularity" }, { id_RRCConnReestabIndicator, "id-RRCConnReestabIndicator" }, { id_MBMS_Service_Area_List, "id-MBMS-Service-Area-List" }, { id_HO_cause, "id-HO-cause" }, { id_TargetCellInUTRAN, "id-TargetCellInUTRAN" }, { id_MobilityInformation, "id-MobilityInformation" }, { id_SourceCellCRNTI, "id-SourceCellCRNTI" }, { id_MultibandInfoList, "id-MultibandInfoList" }, { id_M3Configuration, "id-M3Configuration" }, { id_M4Configuration, "id-M4Configuration" }, { id_M5Configuration, "id-M5Configuration" }, { id_MDT_Location_Info, "id-MDT-Location-Info" }, { id_ManagementBasedMDTPLMNList, "id-ManagementBasedMDTPLMNList" }, { id_SignallingBasedMDTPLMNList, "id-SignallingBasedMDTPLMNList" }, { id_ReceiveStatusOfULPDCPSDUsExtended, "id-ReceiveStatusOfULPDCPSDUsExtended" }, { id_ULCOUNTValueExtended, "id-ULCOUNTValueExtended" }, { id_DLCOUNTValueExtended, "id-DLCOUNTValueExtended" }, { id_eARFCNExtension, "id-eARFCNExtension" }, { id_UL_EARFCNExtension, "id-UL-EARFCNExtension" }, { id_DL_EARFCNExtension, "id-DL-EARFCNExtension" }, { id_AdditionalSpecialSubframe_Info, "id-AdditionalSpecialSubframe-Info" }, { id_Masked_IMEISV, "id-Masked-IMEISV" }, { id_IntendedULDLConfiguration, "id-IntendedULDLConfiguration" }, { id_ExtendedULInterferenceOverloadInfo, "id-ExtendedULInterferenceOverloadInfo" }, { id_RNL_Header, "id-RNL-Header" }, { id_x2APMessage, "id-x2APMessage" }, { id_ProSeAuthorized, "id-ProSeAuthorized" }, { id_ExpectedUEBehaviour, "id-ExpectedUEBehaviour" }, { id_UE_HistoryInformationFromTheUE, "id-UE-HistoryInformationFromTheUE" }, { id_DynamicDLTransmissionInformation, "id-DynamicDLTransmissionInformation" }, { id_UE_RLF_Report_Container_for_extended_bands, "id-UE-RLF-Report-Container-for-extended-bands" }, { id_CoMPInformation, "id-CoMPInformation" }, { id_ReportingPeriodicityRSRPMR, "id-ReportingPeriodicityRSRPMR" }, { id_RSRPMRList, "id-RSRPMRList" }, { id_MeNB_UE_X2AP_ID, "id-MeNB-UE-X2AP-ID" }, { id_SeNB_UE_X2AP_ID, "id-SeNB-UE-X2AP-ID" }, { id_UE_SecurityCapabilities, "id-UE-SecurityCapabilities" }, { id_SeNBSecurityKey, "id-SeNBSecurityKey" }, { id_SeNBUEAggregateMaximumBitRate, "id-SeNBUEAggregateMaximumBitRate" }, { id_ServingPLMN, "id-ServingPLMN" }, { id_E_RABs_ToBeAdded_List, "id-E-RABs-ToBeAdded-List" }, { id_E_RABs_ToBeAdded_Item, "id-E-RABs-ToBeAdded-Item" }, { id_MeNBtoSeNBContainer, "id-MeNBtoSeNBContainer" }, { id_E_RABs_Admitted_ToBeAdded_List, "id-E-RABs-Admitted-ToBeAdded-List" }, { id_E_RABs_Admitted_ToBeAdded_Item, "id-E-RABs-Admitted-ToBeAdded-Item" }, { id_SeNBtoMeNBContainer, "id-SeNBtoMeNBContainer" }, { id_ResponseInformationSeNBReconfComp, "id-ResponseInformationSeNBReconfComp" }, { id_UE_ContextInformationSeNBModReq, "id-UE-ContextInformationSeNBModReq" }, { id_E_RABs_ToBeAdded_ModReqItem, "id-E-RABs-ToBeAdded-ModReqItem" }, { id_E_RABs_ToBeModified_ModReqItem, "id-E-RABs-ToBeModified-ModReqItem" }, { id_E_RABs_ToBeReleased_ModReqItem, "id-E-RABs-ToBeReleased-ModReqItem" }, { id_E_RABs_Admitted_ToBeAdded_ModAckList, "id-E-RABs-Admitted-ToBeAdded-ModAckList" }, { id_E_RABs_Admitted_ToBeModified_ModAckList, "id-E-RABs-Admitted-ToBeModified-ModAckList" }, { id_E_RABs_Admitted_ToBeReleased_ModAckList, "id-E-RABs-Admitted-ToBeReleased-ModAckList" }, { id_E_RABs_Admitted_ToBeAdded_ModAckItem, "id-E-RABs-Admitted-ToBeAdded-ModAckItem" }, { id_E_RABs_Admitted_ToBeModified_ModAckItem, "id-E-RABs-Admitted-ToBeModified-ModAckItem" }, { id_E_RABs_Admitted_ToBeReleased_ModAckItem, "id-E-RABs-Admitted-ToBeReleased-ModAckItem" }, { id_E_RABs_ToBeReleased_ModReqd, "id-E-RABs-ToBeReleased-ModReqd" }, { id_E_RABs_ToBeReleased_ModReqdItem, "id-E-RABs-ToBeReleased-ModReqdItem" }, { id_SCGChangeIndication, "id-SCGChangeIndication" }, { id_E_RABs_ToBeReleased_List_RelReq, "id-E-RABs-ToBeReleased-List-RelReq" }, { id_E_RABs_ToBeReleased_RelReqItem, "id-E-RABs-ToBeReleased-RelReqItem" }, { id_E_RABs_ToBeReleased_List_RelConf, "id-E-RABs-ToBeReleased-List-RelConf" }, { id_E_RABs_ToBeReleased_RelConfItem, "id-E-RABs-ToBeReleased-RelConfItem" }, { id_E_RABs_SubjectToCounterCheck_List, "id-E-RABs-SubjectToCounterCheck-List" }, { id_E_RABs_SubjectToCounterCheckItem, "id-E-RABs-SubjectToCounterCheckItem" }, { id_CoverageModificationList, "id-CoverageModificationList" }, { id_Unknown_144, "id-Unknown-144" }, { id_ReportingPeriodicityCSIR, "id-ReportingPeriodicityCSIR" }, { id_CSIReportList, "id-CSIReportList" }, { id_UEID, "id-UEID" }, { id_enhancedRNTP, "id-enhancedRNTP" }, { id_ProSeUEtoNetworkRelaying, "id-ProSeUEtoNetworkRelaying" }, { id_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18, "id-ReceiveStatusOfULPDCPSDUsPDCP-SNlength18" }, { id_ULCOUNTValuePDCP_SNlength18, "id-ULCOUNTValuePDCP-SNlength18" }, { id_DLCOUNTValuePDCP_SNlength18, "id-DLCOUNTValuePDCP-SNlength18" }, { id_UE_ContextReferenceAtSeNB, "id-UE-ContextReferenceAtSeNB" }, { id_UE_ContextKeptIndicator, "id-UE-ContextKeptIndicator" }, { id_New_eNB_UE_X2AP_ID_Extension, "id-New-eNB-UE-X2AP-ID-Extension" }, { id_Old_eNB_UE_X2AP_ID_Extension, "id-Old-eNB-UE-X2AP-ID-Extension" }, { id_MeNB_UE_X2AP_ID_Extension, "id-MeNB-UE-X2AP-ID-Extension" }, { id_SeNB_UE_X2AP_ID_Extension, "id-SeNB-UE-X2AP-ID-Extension" }, { id_LHN_ID, "id-LHN-ID" }, { id_FreqBandIndicatorPriority, "id-FreqBandIndicatorPriority" }, { id_M6Configuration, "id-M6Configuration" }, { id_M7Configuration, "id-M7Configuration" }, { id_Tunnel_Information_for_BBF, "id-Tunnel-Information-for-BBF" }, { id_SIPTO_BearerDeactivationIndication, "id-SIPTO-BearerDeactivationIndication" }, { id_GW_TransportLayerAddress, "id-GW-TransportLayerAddress" }, { id_Correlation_ID, "id-Correlation-ID" }, { id_SIPTO_Correlation_ID, "id-SIPTO-Correlation-ID" }, { id_SIPTO_L_GW_TransportLayerAddress, "id-SIPTO-L-GW-TransportLayerAddress" }, { id_X2RemovalThreshold, "id-X2RemovalThreshold" }, { id_CellReportingIndicator, "id-CellReportingIndicator" }, { id_BearerType, "id-BearerType" }, { id_resumeID, "id-resumeID" }, { id_UE_ContextInformationRetrieve, "id-UE-ContextInformationRetrieve" }, { id_E_RABs_ToBeSetupRetrieve_Item, "id-E-RABs-ToBeSetupRetrieve-Item" }, { id_NewEUTRANCellIdentifier, "id-NewEUTRANCellIdentifier" }, { id_V2XServicesAuthorized, "id-V2XServicesAuthorized" }, { id_OffsetOfNbiotChannelNumberToDL_EARFCN, "id-OffsetOfNbiotChannelNumberToDL-EARFCN" }, { id_OffsetOfNbiotChannelNumberToUL_EARFCN, "id-OffsetOfNbiotChannelNumberToUL-EARFCN" }, { id_AdditionalSpecialSubframeExtension_Info, "id-AdditionalSpecialSubframeExtension-Info" }, { id_BandwidthReducedSI, "id-BandwidthReducedSI" }, { id_MakeBeforeBreakIndicator, "id-MakeBeforeBreakIndicator" }, { id_UE_ContextReferenceAtWT, "id-UE-ContextReferenceAtWT" }, { id_WT_UE_ContextKeptIndicator, "id-WT-UE-ContextKeptIndicator" }, { id_UESidelinkAggregateMaximumBitRate, "id-UESidelinkAggregateMaximumBitRate" }, { id_uL_GTPtunnelEndpoint, "id-uL-GTPtunnelEndpoint" }, { id_Unknown_186, "id-Unknown-186" }, { id_Unknown_187, "id-Unknown-187" }, { id_Unknown_188, "id-Unknown-188" }, { id_Unknown_189, "id-Unknown-189" }, { id_Unknown_190, "id-Unknown-190" }, { id_Unknown_191, "id-Unknown-191" }, { id_Unknown_192, "id-Unknown-192" }, { id_DL_scheduling_PDCCH_CCE_usage, "id-DL-scheduling-PDCCH-CCE-usage" }, { id_UL_scheduling_PDCCH_CCE_usage, "id-UL-scheduling-PDCCH-CCE-usage" }, { id_UEAppLayerMeasConfig, "id-UEAppLayerMeasConfig" }, { id_extended_e_RAB_MaximumBitrateDL, "id-extended-e-RAB-MaximumBitrateDL" }, { id_extended_e_RAB_MaximumBitrateUL, "id-extended-e-RAB-MaximumBitrateUL" }, { id_extended_e_RAB_GuaranteedBitrateDL, "id-extended-e-RAB-GuaranteedBitrateDL" }, { id_extended_e_RAB_GuaranteedBitrateUL, "id-extended-e-RAB-GuaranteedBitrateUL" }, { id_extended_uEaggregateMaximumBitRateDownlink, "id-extended-uEaggregateMaximumBitRateDownlink" }, { id_extended_uEaggregateMaximumBitRateUplink, "id-extended-uEaggregateMaximumBitRateUplink" }, { id_NRrestrictioninEPSasSecondaryRAT, "id-NRrestrictioninEPSasSecondaryRAT" }, { id_SgNBSecurityKey, "id-SgNBSecurityKey" }, { id_SgNBUEAggregateMaximumBitRate, "id-SgNBUEAggregateMaximumBitRate" }, { id_E_RABs_ToBeAdded_SgNBAddReqList, "id-E-RABs-ToBeAdded-SgNBAddReqList" }, { id_MeNBtoSgNBContainer, "id-MeNBtoSgNBContainer" }, { id_SgNB_UE_X2AP_ID, "id-SgNB-UE-X2AP-ID" }, { id_RequestedSplitSRBs, "id-RequestedSplitSRBs" }, { id_E_RABs_ToBeAdded_SgNBAddReq_Item, "id-E-RABs-ToBeAdded-SgNBAddReq-Item" }, { id_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList, "id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList" }, { id_SgNBtoMeNBContainer, "id-SgNBtoMeNBContainer" }, { id_AdmittedSplitSRBs, "id-AdmittedSplitSRBs" }, { id_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item, "id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item" }, { id_ResponseInformationSgNBReconfComp, "id-ResponseInformationSgNBReconfComp" }, { id_UE_ContextInformation_SgNBModReq, "id-UE-ContextInformation-SgNBModReq" }, { id_E_RABs_ToBeAdded_SgNBModReq_Item, "id-E-RABs-ToBeAdded-SgNBModReq-Item" }, { id_E_RABs_ToBeModified_SgNBModReq_Item, "id-E-RABs-ToBeModified-SgNBModReq-Item" }, { id_E_RABs_ToBeReleased_SgNBModReq_Item, "id-E-RABs-ToBeReleased-SgNBModReq-Item" }, { id_E_RABs_Admitted_ToBeAdded_SgNBModAckList, "id-E-RABs-Admitted-ToBeAdded-SgNBModAckList" }, { id_E_RABs_Admitted_ToBeModified_SgNBModAckList, "id-E-RABs-Admitted-ToBeModified-SgNBModAckList" }, { id_E_RABs_Admitted_ToBeReleased_SgNBModAckList, "id-E-RABs-Admitted-ToBeReleased-SgNBModAckList" }, { id_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, "id-E-RABs-Admitted-ToBeAdded-SgNBModAck-Item" }, { id_E_RABs_Admitted_ToBeModified_SgNBModAck_Item, "id-E-RABs-Admitted-ToBeModified-SgNBModAck-Item" }, { id_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item, "id-E-RABs-Admitted-ToBeReleased-SgNBModAck-Item" }, { id_E_RABs_ToBeReleased_SgNBModReqdList, "id-E-RABs-ToBeReleased-SgNBModReqdList" }, { id_E_RABs_ToBeModified_SgNBModReqdList, "id-E-RABs-ToBeModified-SgNBModReqdList" }, { id_E_RABs_ToBeReleased_SgNBModReqd_Item, "id-E-RABs-ToBeReleased-SgNBModReqd-Item" }, { id_E_RABs_ToBeModified_SgNBModReqd_Item, "id-E-RABs-ToBeModified-SgNBModReqd-Item" }, { id_E_RABs_ToBeReleased_SgNBChaConfList, "id-E-RABs-ToBeReleased-SgNBChaConfList" }, { id_E_RABs_ToBeReleased_SgNBChaConf_Item, "id-E-RABs-ToBeReleased-SgNBChaConf-Item" }, { id_E_RABs_ToBeReleased_SgNBRelReqList, "id-E-RABs-ToBeReleased-SgNBRelReqList" }, { id_E_RABs_ToBeReleased_SgNBRelReq_Item, "id-E-RABs-ToBeReleased-SgNBRelReq-Item" }, { id_E_RABs_ToBeReleased_SgNBRelConfList, "id-E-RABs-ToBeReleased-SgNBRelConfList" }, { id_E_RABs_ToBeReleased_SgNBRelConf_Item, "id-E-RABs-ToBeReleased-SgNBRelConf-Item" }, { id_E_RABs_SubjectToSgNBCounterCheck_List, "id-E-RABs-SubjectToSgNBCounterCheck-List" }, { id_E_RABs_SubjectToSgNBCounterCheck_Item, "id-E-RABs-SubjectToSgNBCounterCheck-Item" }, { id_RRCContainer, "id-RRCContainer" }, { id_SRBType, "id-SRBType" }, { id_Target_SgNB_ID, "id-Target-SgNB-ID" }, { id_HandoverRestrictionList, "id-HandoverRestrictionList" }, { id_SCGConfigurationQuery, "id-SCGConfigurationQuery" }, { id_SplitSRB, "id-SplitSRB" }, { id_NRUeReport, "id-NRUeReport" }, { id_InitiatingNodeType_EndcX2Setup, "id-InitiatingNodeType-EndcX2Setup" }, { id_InitiatingNodeType_EndcConfigUpdate, "id-InitiatingNodeType-EndcConfigUpdate" }, { id_RespondingNodeType_EndcX2Setup, "id-RespondingNodeType-EndcX2Setup" }, { id_RespondingNodeType_EndcConfigUpdate, "id-RespondingNodeType-EndcConfigUpdate" }, { id_NRUESecurityCapabilities, "id-NRUESecurityCapabilities" }, { id_PDCPChangeIndication, "id-PDCPChangeIndication" }, { id_ServedEUTRAcellsENDCX2ManagementList, "id-ServedEUTRAcellsENDCX2ManagementList" }, { id_CellAssistanceInformation, "id-CellAssistanceInformation" }, { id_Globalen_gNB_ID, "id-Globalen-gNB-ID" }, { id_ServedNRcellsENDCX2ManagementList, "id-ServedNRcellsENDCX2ManagementList" }, { id_UE_ContextReferenceAtSgNB, "id-UE-ContextReferenceAtSgNB" }, { id_SecondaryRATUsageReport, "id-SecondaryRATUsageReport" }, { id_ActivationID, "id-ActivationID" }, { id_MeNBResourceCoordinationInformation, "id-MeNBResourceCoordinationInformation" }, { id_SgNBResourceCoordinationInformation, "id-SgNBResourceCoordinationInformation" }, { id_ServedEUTRAcellsToModifyListENDCConfUpd, "id-ServedEUTRAcellsToModifyListENDCConfUpd" }, { id_ServedEUTRAcellsToDeleteListENDCConfUpd, "id-ServedEUTRAcellsToDeleteListENDCConfUpd" }, { id_ServedNRcellsToModifyListENDCConfUpd, "id-ServedNRcellsToModifyListENDCConfUpd" }, { id_ServedNRcellsToDeleteListENDCConfUpd, "id-ServedNRcellsToDeleteListENDCConfUpd" }, { id_E_RABUsageReport_Item, "id-E-RABUsageReport-Item" }, { id_Old_SgNB_UE_X2AP_ID, "id-Old-SgNB-UE-X2AP-ID" }, { id_SecondaryRATUsageReportList, "id-SecondaryRATUsageReportList" }, { id_SecondaryRATUsageReport_Item, "id-SecondaryRATUsageReport-Item" }, { id_ServedNRCellsToActivate, "id-ServedNRCellsToActivate" }, { id_ActivatedNRCellList, "id-ActivatedNRCellList" }, { id_SelectedPLMN, "id-SelectedPLMN" }, { id_UEs_ToBeReset, "id-UEs-ToBeReset" }, { id_UEs_Admitted_ToBeReset, "id-UEs-Admitted-ToBeReset" }, { id_RRCConfigIndication, "id-RRCConfigIndication" }, { id_DownlinkPacketLossRate, "id-DownlinkPacketLossRate" }, { id_UplinkPacketLossRate, "id-UplinkPacketLossRate" }, { id_SubscriberProfileIDforRFP, "id-SubscriberProfileIDforRFP" }, { id_serviceType, "id-serviceType" }, { id_AerialUEsubscriptionInformation, "id-AerialUEsubscriptionInformation" }, { id_SGNB_Addition_Trigger_Ind, "id-SGNB-Addition-Trigger-Ind" }, { id_MeNBCell_ID, "id-MeNBCell-ID" }, { id_RequestedSplitSRBsrelease, "id-RequestedSplitSRBsrelease" }, { id_AdmittedSplitSRBsrelease, "id-AdmittedSplitSRBsrelease" }, { id_NRS_NSSS_PowerOffset, "id-NRS-NSSS-PowerOffset" }, { id_NSSS_NumOccasionDifferentPrecoder, "id-NSSS-NumOccasionDifferentPrecoder" }, { id_ProtectedEUTRAResourceIndication, "id-ProtectedEUTRAResourceIndication" }, { id_InitiatingNodeType_EutranrCellResourceCoordination, "id-InitiatingNodeType-EutranrCellResourceCoordination" }, { id_RespondingNodeType_EutranrCellResourceCoordination, "id-RespondingNodeType-EutranrCellResourceCoordination" }, { id_DataTrafficResourceIndication, "id-DataTrafficResourceIndication" }, { id_SpectrumSharingGroupID, "id-SpectrumSharingGroupID" }, { id_ListofEUTRACellsinEUTRACoordinationReq, "id-ListofEUTRACellsinEUTRACoordinationReq" }, { id_ListofEUTRACellsinEUTRACoordinationResp, "id-ListofEUTRACellsinEUTRACoordinationResp" }, { id_ListofEUTRACellsinNRCoordinationReq, "id-ListofEUTRACellsinNRCoordinationReq" }, { id_ListofNRCellsinNRCoordinationReq, "id-ListofNRCellsinNRCoordinationReq" }, { id_ListofNRCellsinNRCoordinationResp, "id-ListofNRCellsinNRCoordinationResp" }, { id_E_RABs_AdmittedToBeModified_SgNBModConfList, "id-E-RABs-AdmittedToBeModified-SgNBModConfList" }, { id_E_RABs_AdmittedToBeModified_SgNBModConf_Item, "id-E-RABs-AdmittedToBeModified-SgNBModConf-Item" }, { id_UEContextLevelUserPlaneActivity, "id-UEContextLevelUserPlaneActivity" }, { id_ERABActivityNotifyItemList, "id-ERABActivityNotifyItemList" }, { id_InitiatingNodeType_EndcX2Removal, "id-InitiatingNodeType-EndcX2Removal" }, { id_RespondingNodeType_EndcX2Removal, "id-RespondingNodeType-EndcX2Removal" }, { id_RLC_Status, "id-RLC-Status" }, { id_CNTypeRestrictions, "id-CNTypeRestrictions" }, { id_uLpDCPSnLength, "id-uLpDCPSnLength" }, { id_BluetoothMeasurementConfiguration, "id-BluetoothMeasurementConfiguration" }, { id_WLANMeasurementConfiguration, "id-WLANMeasurementConfiguration" }, { id_NRrestrictionin5GS, "id-NRrestrictionin5GS" }, { id_dL_Forwarding, "id-dL-Forwarding" }, { id_E_RABs_DataForwardingAddress_List, "id-E-RABs-DataForwardingAddress-List" }, { id_E_RABs_DataForwardingAddress_Item, "id-E-RABs-DataForwardingAddress-Item" }, { id_Subscription_Based_UE_DifferentiationInfo, "id-Subscription-Based-UE-DifferentiationInfo" }, { id_GNBOverloadInformation, "id-GNBOverloadInformation" }, { id_dLPDCPSnLength, "id-dLPDCPSnLength" }, { id_secondarysgNBDLGTPTEIDatPDCP, "id-secondarysgNBDLGTPTEIDatPDCP" }, { id_secondarymeNBULGTPTEIDatPDCP, "id-secondarymeNBULGTPTEIDatPDCP" }, { id_lCID, "id-lCID" }, { id_duplicationActivation, "id-duplicationActivation" }, { id_ECGI, "id-ECGI" }, { id_RLCMode_transferred, "id-RLCMode-transferred" }, { id_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList, "id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList" }, { id_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item, "id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item" }, { id_E_RABs_ToBeReleased_SgNBRelReqdList, "id-E-RABs-ToBeReleased-SgNBRelReqdList" }, { id_E_RABs_ToBeReleased_SgNBRelReqd_Item, "id-E-RABs-ToBeReleased-SgNBRelReqd-Item" }, { id_NRCGI, "id-NRCGI" }, { id_MeNBCoordinationAssistanceInformation, "id-MeNBCoordinationAssistanceInformation" }, { id_SgNBCoordinationAssistanceInformation, "id-SgNBCoordinationAssistanceInformation" }, { id_new_drb_ID_req, "id-new-drb-ID-req" }, { id_endcSONConfigurationTransfer, "id-endcSONConfigurationTransfer" }, { id_NRNeighbourInfoToAdd, "id-NRNeighbourInfoToAdd" }, { id_NRNeighbourInfoToModify, "id-NRNeighbourInfoToModify" }, { id_DesiredActNotificationLevel, "id-DesiredActNotificationLevel" }, { id_LocationInformationSgNBReporting, "id-LocationInformationSgNBReporting" }, { id_LocationInformationSgNB, "id-LocationInformationSgNB" }, { id_LastNG_RANPLMNIdentity, "id-LastNG-RANPLMNIdentity" }, { id_EUTRANTraceID, "id-EUTRANTraceID" }, { id_additionalPLMNs_Item, "id-additionalPLMNs-Item" }, { id_InterfaceInstanceIndication, "id-InterfaceInstanceIndication" }, { id_BPLMN_ID_Info_EUTRA, "id-BPLMN-ID-Info-EUTRA" }, { id_BPLMN_ID_Info_NR, "id-BPLMN-ID-Info-NR" }, { id_NBIoT_UL_DL_AlignmentOffset, "id-NBIoT-UL-DL-AlignmentOffset" }, { id_ERABs_transferred_to_MeNB, "id-ERABs-transferred-to-MeNB" }, { id_AdditionalRRMPriorityIndex, "id-AdditionalRRMPriorityIndex" }, { id_LowerLayerPresenceStatusChange, "id-LowerLayerPresenceStatusChange" }, { id_FastMCGRecovery_SN_to_MN, "id-FastMCGRecovery-SN-to-MN" }, { id_RequestedFastMCGRecoveryViaSRB3, "id-RequestedFastMCGRecoveryViaSRB3" }, { id_AvailableFastMCGRecoveryViaSRB3, "id-AvailableFastMCGRecoveryViaSRB3" }, { id_RequestedFastMCGRecoveryViaSRB3Release, "id-RequestedFastMCGRecoveryViaSRB3Release" }, { id_ReleaseFastMCGRecoveryViaSRB3, "id-ReleaseFastMCGRecoveryViaSRB3" }, { id_FastMCGRecovery_MN_to_SN, "id-FastMCGRecovery-MN-to-SN" }, { id_PartialListIndicator, "id-PartialListIndicator" }, { id_MaximumCellListSize, "id-MaximumCellListSize" }, { id_MessageOversizeNotification, "id-MessageOversizeNotification" }, { id_CellandCapacityAssistInfo, "id-CellandCapacityAssistInfo" }, { id_TNLConfigurationInfo, "id-TNLConfigurationInfo" }, { id_TNLA_To_Add_List, "id-TNLA-To-Add-List" }, { id_TNLA_To_Update_List, "id-TNLA-To-Update-List" }, { id_TNLA_To_Remove_List, "id-TNLA-To-Remove-List" }, { id_TNLA_Setup_List, "id-TNLA-Setup-List" }, { id_TNLA_Failed_To_Setup_List, "id-TNLA-Failed-To-Setup-List" }, { id_UnlicensedSpectrumRestriction, "id-UnlicensedSpectrumRestriction" }, { id_UEContextReferenceatSourceNGRAN, "id-UEContextReferenceatSourceNGRAN" }, { id_EPCHandoverRestrictionListContainer, "id-EPCHandoverRestrictionListContainer" }, { id_CHOinformation_REQ, "id-CHOinformation-REQ" }, { id_CHOinformation_ACK, "id-CHOinformation-ACK" }, { id_DAPSRequestInfo, "id-DAPSRequestInfo" }, { id_RequestedTargetCellID, "id-RequestedTargetCellID" }, { id_CandidateCellsToBeCancelledList, "id-CandidateCellsToBeCancelledList" }, { id_DAPSResponseInfo, "id-DAPSResponseInfo" }, { id_ProcedureStage, "id-ProcedureStage" }, { id_CHO_DC_Indicator, "id-CHO-DC-Indicator" }, { id_Ethernet_Type, "id-Ethernet-Type" }, { id_NRV2XServicesAuthorized, "id-NRV2XServicesAuthorized" }, { id_NRUESidelinkAggregateMaximumBitRate, "id-NRUESidelinkAggregateMaximumBitRate" }, { id_PC5QoSParameters, "id-PC5QoSParameters" }, { id_NPRACHConfiguration, "id-NPRACHConfiguration" }, { id_NBIoT_RLF_Report_Container, "id-NBIoT-RLF-Report-Container" }, { id_MDTConfigurationNR, "id-MDTConfigurationNR" }, { id_PrivacyIndicator, "id-PrivacyIndicator" }, { id_TraceCollectionEntityIPAddress, "id-TraceCollectionEntityIPAddress" }, { id_UERadioCapabilityID, "id-UERadioCapabilityID" }, { id_SNtriggered, "id-SNtriggered" }, { id_CSI_RSTransmissionIndication, "id-CSI-RSTransmissionIndication" }, { id_DLCarrierList, "id-DLCarrierList" }, { id_TargetCellInNGRAN, "id-TargetCellInNGRAN" }, { id_E_UTRAN_Node1_Measurement_ID, "id-E-UTRAN-Node1-Measurement-ID" }, { id_E_UTRAN_Node2_Measurement_ID, "id-E-UTRAN-Node2-Measurement-ID" }, { id_TDDULDLConfigurationCommonNR, "id-TDDULDLConfigurationCommonNR" }, { id_CarrierList, "id-CarrierList" }, { id_ULCarrierList, "id-ULCarrierList" }, { id_FrequencyShift7p5khz, "id-FrequencyShift7p5khz" }, { id_SSB_PositionsInBurst, "id-SSB-PositionsInBurst" }, { id_NRCellPRACHConfig, "id-NRCellPRACHConfig" }, { id_CellToReport_NR_ENDC, "id-CellToReport-NR-ENDC" }, { id_CellToReport_NR_ENDC_Item, "id-CellToReport-NR-ENDC-Item" }, { id_CellMeasurementResult_NR_ENDC, "id-CellMeasurementResult-NR-ENDC" }, { id_CellMeasurementResult_NR_ENDC_Item, "id-CellMeasurementResult-NR-ENDC-Item" }, { id_IABNodeIndication, "id-IABNodeIndication" }, { id_QoS_Mapping_Information, "id-QoS-Mapping-Information" }, { id_F1CTrafficContainer, "id-F1CTrafficContainer" }, { id_Unknown_398, "id-Unknown-398" }, { id_IntendedTDD_DL_ULConfiguration_NR, "id-IntendedTDD-DL-ULConfiguration-NR" }, { id_UERadioCapability, "id-UERadioCapability" }, { id_CellMeasurementResult_E_UTRA_ENDC, "id-CellMeasurementResult-E-UTRA-ENDC" }, { id_CellMeasurementResult_E_UTRA_ENDC_Item, "id-CellMeasurementResult-E-UTRA-ENDC-Item" }, { id_CellToReport_E_UTRA_ENDC, "id-CellToReport-E-UTRA-ENDC" }, { id_CellToReport_E_UTRA_ENDC_Item, "id-CellToReport-E-UTRA-ENDC-Item" }, { id_TraceCollectionEntityURI, "id-TraceCollectionEntityURI" }, { id_SFN_Offset, "id-SFN-Offset" }, { id_CHO_DC_EarlyDataForwarding, "id-CHO-DC-EarlyDataForwarding" }, { id_IMSvoiceEPSfallbackfrom5G, "id-IMSvoiceEPSfallbackfrom5G" }, { id_AdditionLocationInformation, "id-AdditionLocationInformation" }, { id_DirectForwardingPathAvailability, "id-DirectForwardingPathAvailability" }, { id_sourceNG_RAN_node_id, "id-sourceNG-RAN-node-id" }, { id_SourceDLForwardingIPAddress, "id-SourceDLForwardingIPAddress" }, { id_SourceNodeDLForwardingIPAddress, "id-SourceNodeDLForwardingIPAddress" }, { id_NRRACHReportInformation, "id-NRRACHReportInformation" }, { id_SCG_UE_HistoryInformation, "id-SCG-UE-HistoryInformation" }, { id_PSCellHistoryInformationRetrieve, "id-PSCellHistoryInformationRetrieve" }, { id_MeasurementResultforNRCellsPossiblyAggregated, "id-MeasurementResultforNRCellsPossiblyAggregated" }, { id_PSCell_UE_HistoryInformation, "id-PSCell-UE-HistoryInformation" }, { id_PSCellChangeHistory, "id-PSCellChangeHistory" }, { id_CHOinformation_AddReq, "id-CHOinformation-AddReq" }, { id_CHOinformation_ModReq, "id-CHOinformation-ModReq" }, { id_SCGActivationStatus, "id-SCGActivationStatus" }, { id_SCGActivationRequest, "id-SCGActivationRequest" }, { id_CPAinformation_REQ, "id-CPAinformation-REQ" }, { id_CPAinformation_REQ_ACK, "id-CPAinformation-REQ-ACK" }, { id_CPAinformation_MOD, "id-CPAinformation-MOD" }, { id_CPAinformation_MOD_ACK, "id-CPAinformation-MOD-ACK" }, { id_CPACinformation_REQD, "id-CPACinformation-REQD" }, { id_CPCinformation_REQD, "id-CPCinformation-REQD" }, { id_CPCinformation_CONF, "id-CPCinformation-CONF" }, { id_CPCinformation_NOTIFY, "id-CPCinformation-NOTIFY" }, { id_CPCupdate_MOD, "id-CPCupdate-MOD" }, { id_Additional_Measurement_Timing_Configuration_List, "id-Additional-Measurement-Timing-Configuration-List" }, { id_ServedCellSpecificInfoReq_NR, "id-ServedCellSpecificInfoReq-NR" }, { id_SecurityIndication, "id-SecurityIndication" }, { id_SecurityResult, "id-SecurityResult" }, { id_RAT_Restrictions, "id-RAT-Restrictions" }, { id_SCGreconfigNotification, "id-SCGreconfigNotification" }, { id_MIMOPRBusageInformation, "id-MIMOPRBusageInformation" }, { id_SensorMeasurementConfiguration, "id-SensorMeasurementConfiguration" }, { id_AdditionalListofForwardingGTPTunnelEndpoint, "id-AdditionalListofForwardingGTPTunnelEndpoint" }, { 0, NULL } }; static value_string_ext x2ap_ProtocolIE_ID_vals_ext = VALUE_STRING_EXT_INIT(x2ap_ProtocolIE_ID_vals); static int dissect_x2ap_ProtocolIE_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxProtocolIEs, &x2ap_data->protocol_ie_id, FALSE); if (tree) { proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str_ext(x2ap_data->protocol_ie_id, &x2ap_ProtocolIE_ID_vals_ext, "unknown (%d)")); } return offset; } static const value_string x2ap_TriggeringMessage_vals[] = { { 0, "initiating-message" }, { 1, "successful-outcome" }, { 2, "unsuccessful-outcome" }, { 0, NULL } }; static int dissect_x2ap_TriggeringMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, FALSE, 0, NULL); return offset; } static int dissect_x2ap_ProtocolIE_Field_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_ProtocolIEFieldValue); return offset; } static const per_sequence_t ProtocolIE_Field_sequence[] = { { &hf_x2ap_id , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_ID }, { &hf_x2ap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Criticality }, { &hf_x2ap_protocolIE_Field_value, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Field_value }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ProtocolIE_Field(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ProtocolIE_Field, ProtocolIE_Field_sequence); return offset; } static const per_sequence_t ProtocolIE_Container_sequence_of[1] = { { &hf_x2ap_ProtocolIE_Container_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Field }, }; static int dissect_x2ap_ProtocolIE_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ProtocolIE_Container, ProtocolIE_Container_sequence_of, 0, maxProtocolIEs, FALSE); return offset; } static int dissect_x2ap_ProtocolIE_Single_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_x2ap_ProtocolIE_Field(tvb, offset, actx, tree, hf_index); return offset; } static int dissect_x2ap_T_extensionValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_ProtocolExtensionFieldExtensionValue); return offset; } static const per_sequence_t ProtocolExtensionField_sequence[] = { { &hf_x2ap_extension_id , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_ID }, { &hf_x2ap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Criticality }, { &hf_x2ap_extensionValue , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_T_extensionValue }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ProtocolExtensionField(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ProtocolExtensionField, ProtocolExtensionField_sequence); return offset; } static const per_sequence_t ProtocolExtensionContainer_sequence_of[1] = { { &hf_x2ap_ProtocolExtensionContainer_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolExtensionField }, }; static int dissect_x2ap_ProtocolExtensionContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ProtocolExtensionContainer, ProtocolExtensionContainer_sequence_of, 1, maxProtocolExtensions, FALSE); return offset; } static int dissect_x2ap_PrivateIE_Field_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { if (actx->external.direct_ref_present){ offset=call_per_oid_callback(actx->external.direct_reference, tvb, actx->pinfo, tree, offset, actx, hf_index); }else{ offset = dissect_per_open_type(tvb, offset, actx, tree, hf_index, NULL); } return offset; } static const per_sequence_t PrivateIE_Field_sequence[] = { { &hf_x2ap_private_id , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PrivateIE_ID }, { &hf_x2ap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Criticality }, { &hf_x2ap_privateIE_Field_value, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PrivateIE_Field_value }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_PrivateIE_Field(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_PrivateIE_Field, PrivateIE_Field_sequence); return offset; } static const per_sequence_t PrivateIE_Container_sequence_of[1] = { { &hf_x2ap_PrivateIE_Container_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PrivateIE_Field }, }; static int dissect_x2ap_PrivateIE_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_PrivateIE_Container, PrivateIE_Container_sequence_of, 1, maxPrivateIEs, FALSE); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_40(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 40, 40, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_T_numberOfCellSpecificAntennaPorts_vals[] = { { 0, "one" }, { 1, "two" }, { 2, "four" }, { 0, NULL } }; static int dissect_x2ap_T_numberOfCellSpecificAntennaPorts(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ABSInformationFDD_sequence[] = { { &hf_x2ap_abs_pattern_info, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_40 }, { &hf_x2ap_numberOfCellSpecificAntennaPorts, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_numberOfCellSpecificAntennaPorts }, { &hf_x2ap_measurement_subset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_40 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ABSInformationFDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ABSInformationFDD, ABSInformationFDD_sequence); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_1_70_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 70, TRUE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_T_numberOfCellSpecificAntennaPorts_01_vals[] = { { 0, "one" }, { 1, "two" }, { 2, "four" }, { 0, NULL } }; static int dissect_x2ap_T_numberOfCellSpecificAntennaPorts_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ABSInformationTDD_sequence[] = { { &hf_x2ap_abs_pattern_info_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_1_70_ }, { &hf_x2ap_numberOfCellSpecificAntennaPorts_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_numberOfCellSpecificAntennaPorts_01 }, { &hf_x2ap_measurement_subset_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_1_70_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ABSInformationTDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ABSInformationTDD, ABSInformationTDD_sequence); return offset; } static int dissect_x2ap_NULL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_null(tvb, offset, actx, tree, hf_index); return offset; } static const value_string x2ap_ABSInformation_vals[] = { { 0, "fdd" }, { 1, "tdd" }, { 2, "abs-inactive" }, { 0, NULL } }; static const per_choice_t ABSInformation_choice[] = { { 0, &hf_x2ap_fdd , ASN1_EXTENSION_ROOT , dissect_x2ap_ABSInformationFDD }, { 1, &hf_x2ap_tdd , ASN1_EXTENSION_ROOT , dissect_x2ap_ABSInformationTDD }, { 2, &hf_x2ap_abs_inactive , ASN1_EXTENSION_ROOT , dissect_x2ap_NULL }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_ABSInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_ABSInformation, ABSInformation_choice, NULL); return offset; } static int dissect_x2ap_DL_ABS_status(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t UsableABSInformationFDD_sequence[] = { { &hf_x2ap_usable_abs_pattern_info, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_40 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UsableABSInformationFDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UsableABSInformationFDD, UsableABSInformationFDD_sequence); return offset; } static const per_sequence_t UsableABSInformationTDD_sequence[] = { { &hf_x2ap_usaable_abs_pattern_info, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_1_70_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UsableABSInformationTDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UsableABSInformationTDD, UsableABSInformationTDD_sequence); return offset; } static const value_string x2ap_UsableABSInformation_vals[] = { { 0, "fdd" }, { 1, "tdd" }, { 0, NULL } }; static const per_choice_t UsableABSInformation_choice[] = { { 0, &hf_x2ap_fdd_03 , ASN1_EXTENSION_ROOT , dissect_x2ap_UsableABSInformationFDD }, { 1, &hf_x2ap_tdd_03 , ASN1_EXTENSION_ROOT , dissect_x2ap_UsableABSInformationTDD }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_UsableABSInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_UsableABSInformation, UsableABSInformation_choice, NULL); return offset; } static const per_sequence_t ABS_Status_sequence[] = { { &hf_x2ap_dL_ABS_status , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DL_ABS_status }, { &hf_x2ap_usableABSInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UsableABSInformation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ABS_Status(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ABS_Status, ABS_Status_sequence); return offset; } static int dissect_x2ap_ActivationID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, FALSE); return offset; } static int dissect_x2ap_INTEGER_0_16(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 16U, NULL, FALSE); return offset; } static int dissect_x2ap_INTEGER_0_95(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 95U, NULL, FALSE); return offset; } static const value_string x2ap_T_csi_RS_Status_vals[] = { { 0, "activated" }, { 1, "deactivated" }, { 0, NULL } }; static int dissect_x2ap_T_csi_RS_Status(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_PLMN_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); e212_number_type_t number_type = x2ap_data->number_type; x2ap_data->number_type = E212_NONE; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, FALSE, &parameter_tvb); if(tvb_reported_length(tvb)==0) return offset; if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_PLMN_Identity); dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, number_type, FALSE); return offset; } static int dissect_x2ap_NRCellIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 36, 36, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t NRCGI_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_nRcellIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCellIdentifier }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRCGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); x2ap_data->number_type = E212_NRCGI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRCGI, NRCGI_sequence); return offset; } static const per_sequence_t CSI_RS_MTC_Neighbour_Item_sequence[] = { { &hf_x2ap_csi_RS_Index , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_95 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CSI_RS_MTC_Neighbour_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CSI_RS_MTC_Neighbour_Item, CSI_RS_MTC_Neighbour_Item_sequence); return offset; } static const per_sequence_t CSI_RS_MTC_Neighbour_List_sequence_of[1] = { { &hf_x2ap_CSI_RS_MTC_Neighbour_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CSI_RS_MTC_Neighbour_Item }, }; static int dissect_x2ap_CSI_RS_MTC_Neighbour_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CSI_RS_MTC_Neighbour_List, CSI_RS_MTC_Neighbour_List_sequence_of, 1, maxnoofCSIRSneighbourCellsInMTC, FALSE); return offset; } static const per_sequence_t CSI_RS_Neighbour_Item_sequence[] = { { &hf_x2ap_nr_cgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_csi_RS_MTC_Neighbour_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CSI_RS_MTC_Neighbour_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CSI_RS_Neighbour_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CSI_RS_Neighbour_Item, CSI_RS_Neighbour_Item_sequence); return offset; } static const per_sequence_t CSI_RS_Neighbour_List_sequence_of[1] = { { &hf_x2ap_CSI_RS_Neighbour_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CSI_RS_Neighbour_Item }, }; static int dissect_x2ap_CSI_RS_Neighbour_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CSI_RS_Neighbour_List, CSI_RS_Neighbour_List_sequence_of, 1, maxnoofCSIRSneighbourCells, FALSE); return offset; } static const per_sequence_t CSI_RS_MTC_Configuration_Item_sequence[] = { { &hf_x2ap_csi_RS_Index , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_95 }, { &hf_x2ap_csi_RS_Status , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_csi_RS_Status }, { &hf_x2ap_csi_RS_Neighbour_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CSI_RS_Neighbour_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CSI_RS_MTC_Configuration_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CSI_RS_MTC_Configuration_Item, CSI_RS_MTC_Configuration_Item_sequence); return offset; } static const per_sequence_t CSI_RS_MTC_Configuration_List_sequence_of[1] = { { &hf_x2ap_CSI_RS_MTC_Configuration_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CSI_RS_MTC_Configuration_Item }, }; static int dissect_x2ap_CSI_RS_MTC_Configuration_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CSI_RS_MTC_Configuration_List, CSI_RS_MTC_Configuration_List_sequence_of, 1, maxnoofCSIRSconfigurations, FALSE); return offset; } static const per_sequence_t Additional_Measurement_Timing_Configuration_Item_sequence[] = { { &hf_x2ap_additionalMeasurementTimingConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_16 }, { &hf_x2ap_csi_RS_MTC_Configuration_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CSI_RS_MTC_Configuration_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_Additional_Measurement_Timing_Configuration_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_Additional_Measurement_Timing_Configuration_Item, Additional_Measurement_Timing_Configuration_Item_sequence); return offset; } static const per_sequence_t Additional_Measurement_Timing_Configuration_List_sequence_of[1] = { { &hf_x2ap_Additional_Measurement_Timing_Configuration_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Additional_Measurement_Timing_Configuration_Item }, }; static int dissect_x2ap_Additional_Measurement_Timing_Configuration_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_Additional_Measurement_Timing_Configuration_List, Additional_Measurement_Timing_Configuration_List_sequence_of, 1, maxnoofMTCItems, FALSE); return offset; } static int dissect_x2ap_TransportLayerAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; int len; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 160, TRUE, NULL, 0, &parameter_tvb, &len); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TransportLayerAddress); if (len == 32) { /* IPv4 */ proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN); } else if (len == 128) { /* IPv6 */ proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv6, parameter_tvb, 0, 16, ENC_NA); } else if (len == 160) { /* IPv4 */ proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN); /* IPv6 */ proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv6, parameter_tvb, 4, 16, ENC_NA); } return offset; } static int dissect_x2ap_GTP_TEI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, NULL); return offset; } static const per_sequence_t GTPtunnelEndpoint_sequence[] = { { &hf_x2ap_transportLayerAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TransportLayerAddress }, { &hf_x2ap_gTP_TEID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTP_TEI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_GTPtunnelEndpoint(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_GTPtunnelEndpoint, GTPtunnelEndpoint_sequence); return offset; } static const per_sequence_t AdditionalListofForwardingGTPTunnelEndpoint_Item_sequence[] = { { &hf_x2ap_uL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_Item, AdditionalListofForwardingGTPTunnelEndpoint_Item_sequence); return offset; } static const per_sequence_t AdditionalListofForwardingGTPTunnelEndpoint_sequence_of[1] = { { &hf_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_Item }, }; static int dissect_x2ap_AdditionalListofForwardingGTPTunnelEndpoint(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_AdditionalListofForwardingGTPTunnelEndpoint, AdditionalListofForwardingGTPTunnelEndpoint_sequence_of, 1, maxnoofTargetSgNBsMinusOne, FALSE); return offset; } static const value_string x2ap_AdditionLocationInformation_vals[] = { { 0, "includePSCell" }, { 0, NULL } }; static int dissect_x2ap_AdditionLocationInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_AdditionalRRMPriorityIndex(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_AdditionalSpecialSubframePatterns_vals[] = { { 0, "ssp0" }, { 1, "ssp1" }, { 2, "ssp2" }, { 3, "ssp3" }, { 4, "ssp4" }, { 5, "ssp5" }, { 6, "ssp6" }, { 7, "ssp7" }, { 8, "ssp8" }, { 9, "ssp9" }, { 0, NULL } }; static int dissect_x2ap_AdditionalSpecialSubframePatterns(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 10, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_CyclicPrefixDL_vals[] = { { 0, "normal" }, { 1, "extended" }, { 0, NULL } }; static int dissect_x2ap_CyclicPrefixDL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_CyclicPrefixUL_vals[] = { { 0, "normal" }, { 1, "extended" }, { 0, NULL } }; static int dissect_x2ap_CyclicPrefixUL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t AdditionalSpecialSubframe_Info_sequence[] = { { &hf_x2ap_additionalspecialSubframePatterns, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_AdditionalSpecialSubframePatterns }, { &hf_x2ap_cyclicPrefixDL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CyclicPrefixDL }, { &hf_x2ap_cyclicPrefixUL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CyclicPrefixUL }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_AdditionalSpecialSubframe_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_AdditionalSpecialSubframe_Info, AdditionalSpecialSubframe_Info_sequence); return offset; } static const value_string x2ap_AdditionalSpecialSubframePatternsExtension_vals[] = { { 0, "ssp10" }, { 0, NULL } }; static int dissect_x2ap_AdditionalSpecialSubframePatternsExtension(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t AdditionalSpecialSubframeExtension_Info_sequence[] = { { &hf_x2ap_additionalspecialSubframePatternsExtension, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_AdditionalSpecialSubframePatternsExtension }, { &hf_x2ap_cyclicPrefixDL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CyclicPrefixDL }, { &hf_x2ap_cyclicPrefixUL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CyclicPrefixUL }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_AdditionalSpecialSubframeExtension_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_AdditionalSpecialSubframeExtension_Info, AdditionalSpecialSubframeExtension_Info_sequence); return offset; } static const value_string x2ap_AvailableFastMCGRecoveryViaSRB3_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_AvailableFastMCGRecoveryViaSRB3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_AerialUEsubscriptionInformation_vals[] = { { 0, "allowed" }, { 1, "not-allowed" }, { 0, NULL } }; static int dissect_x2ap_AerialUEsubscriptionInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_PriorityLevel_vals[] = { { 0, "spare" }, { 1, "highest" }, { 14, "lowest" }, { 15, "no-priority" }, { 0, NULL } }; static int dissect_x2ap_PriorityLevel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 15U, NULL, FALSE); return offset; } static const value_string x2ap_Pre_emptionCapability_vals[] = { { 0, "shall-not-trigger-pre-emption" }, { 1, "may-trigger-pre-emption" }, { 0, NULL } }; static int dissect_x2ap_Pre_emptionCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, FALSE, 0, NULL); return offset; } static const value_string x2ap_Pre_emptionVulnerability_vals[] = { { 0, "not-pre-emptable" }, { 1, "pre-emptable" }, { 0, NULL } }; static int dissect_x2ap_Pre_emptionVulnerability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, FALSE, 0, NULL); return offset; } static const per_sequence_t AllocationAndRetentionPriority_sequence[] = { { &hf_x2ap_priorityLevel , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PriorityLevel }, { &hf_x2ap_pre_emptionCapability, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Pre_emptionCapability }, { &hf_x2ap_pre_emptionVulnerability, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Pre_emptionVulnerability }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_AllocationAndRetentionPriority(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_AllocationAndRetentionPriority, AllocationAndRetentionPriority_sequence); return offset; } static int dissect_x2ap_EUTRANCellIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 28, 28, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t ECGI_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_eUTRANcellIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EUTRANCellIdentifier }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ECGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); x2ap_data->number_type = E212_ECGI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ECGI, ECGI_sequence); return offset; } static const per_sequence_t CellIdListforMDT_sequence_of[1] = { { &hf_x2ap_CellIdListforMDT_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, }; static int dissect_x2ap_CellIdListforMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellIdListforMDT, CellIdListforMDT_sequence_of, 1, maxnoofCellIDforMDT, FALSE); return offset; } static const per_sequence_t CellBasedMDT_sequence[] = { { &hf_x2ap_cellIdListforMDT, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CellIdListforMDT }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellBasedMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellBasedMDT, CellBasedMDT_sequence); return offset; } static int dissect_x2ap_TAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 2, 2, FALSE, &parameter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t TAListforMDT_sequence_of[1] = { { &hf_x2ap_TAListforMDT_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TAC }, }; static int dissect_x2ap_TAListforMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TAListforMDT, TAListforMDT_sequence_of, 1, maxnoofTAforMDT, FALSE); return offset; } static const per_sequence_t TABasedMDT_sequence[] = { { &hf_x2ap_tAListforMDT , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TAListforMDT }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TABasedMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TABasedMDT, TABasedMDT_sequence); return offset; } static const per_sequence_t TAI_Item_sequence[] = { { &hf_x2ap_tAC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TAC }, { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TAI_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); x2ap_data->number_type = E212_TAI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TAI_Item, TAI_Item_sequence); return offset; } static const per_sequence_t TAIListforMDT_sequence_of[1] = { { &hf_x2ap_TAIListforMDT_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TAI_Item }, }; static int dissect_x2ap_TAIListforMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TAIListforMDT, TAIListforMDT_sequence_of, 1, maxnoofTAforMDT, FALSE); return offset; } static const per_sequence_t TAIBasedMDT_sequence[] = { { &hf_x2ap_tAIListforMDT , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TAIListforMDT }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TAIBasedMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TAIBasedMDT, TAIBasedMDT_sequence); return offset; } static const value_string x2ap_AreaScopeOfMDT_vals[] = { { 0, "cellBased" }, { 1, "tABased" }, { 2, "pLMNWide" }, { 3, "tAIBased" }, { 0, NULL } }; static const per_choice_t AreaScopeOfMDT_choice[] = { { 0, &hf_x2ap_cellBased , ASN1_EXTENSION_ROOT , dissect_x2ap_CellBasedMDT }, { 1, &hf_x2ap_tABased , ASN1_EXTENSION_ROOT , dissect_x2ap_TABasedMDT }, { 2, &hf_x2ap_pLMNWide , ASN1_EXTENSION_ROOT , dissect_x2ap_NULL }, { 3, &hf_x2ap_tAIBased , ASN1_NOT_EXTENSION_ROOT, dissect_x2ap_TAIBasedMDT }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_AreaScopeOfMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_AreaScopeOfMDT, AreaScopeOfMDT_choice, NULL); return offset; } static const per_sequence_t CellIdListforQMC_sequence_of[1] = { { &hf_x2ap_CellIdListforQMC_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, }; static int dissect_x2ap_CellIdListforQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellIdListforQMC, CellIdListforQMC_sequence_of, 1, maxnoofCellIDforQMC, FALSE); return offset; } static const per_sequence_t CellBasedQMC_sequence[] = { { &hf_x2ap_cellIdListforQMC, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CellIdListforQMC }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellBasedQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellBasedQMC, CellBasedQMC_sequence); return offset; } static const per_sequence_t TAListforQMC_sequence_of[1] = { { &hf_x2ap_TAListforQMC_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TAC }, }; static int dissect_x2ap_TAListforQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TAListforQMC, TAListforQMC_sequence_of, 1, maxnoofTAforQMC, FALSE); return offset; } static const per_sequence_t TABasedQMC_sequence[] = { { &hf_x2ap_tAListforQMC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TAListforQMC }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TABasedQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TABasedQMC, TABasedQMC_sequence); return offset; } static const per_sequence_t TAIListforQMC_sequence_of[1] = { { &hf_x2ap_TAIListforQMC_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TAI_Item }, }; static int dissect_x2ap_TAIListforQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TAIListforQMC, TAIListforQMC_sequence_of, 1, maxnoofTAforQMC, FALSE); return offset; } static const per_sequence_t TAIBasedQMC_sequence[] = { { &hf_x2ap_tAIListforQMC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TAIListforQMC }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TAIBasedQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TAIBasedQMC, TAIBasedQMC_sequence); return offset; } static const per_sequence_t PLMNListforQMC_sequence_of[1] = { { &hf_x2ap_PLMNListforQMC_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, }; static int dissect_x2ap_PLMNListforQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_PLMNListforQMC, PLMNListforQMC_sequence_of, 1, maxnoofPLMNforQMC, FALSE); return offset; } static const per_sequence_t PLMNAreaBasedQMC_sequence[] = { { &hf_x2ap_plmnListforQMC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMNListforQMC }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_PLMNAreaBasedQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_PLMNAreaBasedQMC, PLMNAreaBasedQMC_sequence); return offset; } static const value_string x2ap_AreaScopeOfQMC_vals[] = { { 0, "cellBased" }, { 1, "tABased" }, { 2, "tAIBased" }, { 3, "pLMNAreaBased" }, { 0, NULL } }; static const per_choice_t AreaScopeOfQMC_choice[] = { { 0, &hf_x2ap_cellBased_01 , ASN1_EXTENSION_ROOT , dissect_x2ap_CellBasedQMC }, { 1, &hf_x2ap_tABased_01 , ASN1_EXTENSION_ROOT , dissect_x2ap_TABasedQMC }, { 2, &hf_x2ap_tAIBased_01 , ASN1_EXTENSION_ROOT , dissect_x2ap_TAIBasedQMC }, { 3, &hf_x2ap_pLMNAreaBased , ASN1_EXTENSION_ROOT , dissect_x2ap_PLMNAreaBasedQMC }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_AreaScopeOfQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_AreaScopeOfQMC, AreaScopeOfQMC_choice, NULL); return offset; } static int dissect_x2ap_Key_eNodeB_Star(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 256, 256, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_NextHopChainingCount(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 7U, NULL, FALSE); return offset; } static const per_sequence_t AS_SecurityInformation_sequence[] = { { &hf_x2ap_key_eNodeB_star, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Key_eNodeB_Star }, { &hf_x2ap_nextHopChainingCount, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NextHopChainingCount }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_AS_SecurityInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_AS_SecurityInformation, AS_SecurityInformation_sequence); return offset; } static const per_sequence_t AdditionalPLMNs_Item_sequence_of[1] = { { &hf_x2ap_AdditionalPLMNs_Item_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, }; static int dissect_x2ap_AdditionalPLMNs_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_AdditionalPLMNs_Item, AdditionalPLMNs_Item_sequence_of, 1, maxnoofAdditionalPLMNs, FALSE); return offset; } static const value_string x2ap_BandwidthReducedSI_vals[] = { { 0, "scheduled" }, { 0, NULL } }; static int dissect_x2ap_BandwidthReducedSI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_BearerType_vals[] = { { 0, "non-IP" }, { 0, NULL } }; static int dissect_x2ap_BearerType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_BenefitMetric(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, -101, 100U, NULL, TRUE); return offset; } static int dissect_x2ap_BitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer_64b(tvb, offset, actx, tree, hf_index, 0U, G_GUINT64_CONSTANT(10000000000), NULL, FALSE); return offset; } static const per_sequence_t BroadcastPLMNs_Item_sequence_of[1] = { { &hf_x2ap_BroadcastPLMNs_Item_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, }; static int dissect_x2ap_BroadcastPLMNs_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_BroadcastPLMNs_Item, BroadcastPLMNs_Item_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static const value_string x2ap_BluetoothMeasConfig_vals[] = { { 0, "setup" }, { 0, NULL } }; static int dissect_x2ap_BluetoothMeasConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_BluetoothName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 1, 248, FALSE, &parameter_tvb); actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA); return offset; } static const per_sequence_t BluetoothMeasConfigNameList_sequence_of[1] = { { &hf_x2ap_BluetoothMeasConfigNameList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_BluetoothName }, }; static int dissect_x2ap_BluetoothMeasConfigNameList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_BluetoothMeasConfigNameList, BluetoothMeasConfigNameList_sequence_of, 1, maxnoofBluetoothName, FALSE); return offset; } static const value_string x2ap_T_bt_rssi_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_T_bt_rssi(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t BluetoothMeasurementConfiguration_sequence[] = { { &hf_x2ap_bluetoothMeasConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BluetoothMeasConfig }, { &hf_x2ap_bluetoothMeasConfigNameList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_BluetoothMeasConfigNameList }, { &hf_x2ap_bt_rssi , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_bt_rssi }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_BluetoothMeasurementConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_BluetoothMeasurementConfiguration, BluetoothMeasurementConfiguration_sequence); return offset; } static const per_sequence_t BPLMN_ID_Info_EUTRA_Item_sequence[] = { { &hf_x2ap_broadcastPLMNs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BroadcastPLMNs_Item }, { &hf_x2ap_tac , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TAC }, { &hf_x2ap_e_utraCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EUTRANCellIdentifier }, { &hf_x2ap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_BPLMN_ID_Info_EUTRA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_BPLMN_ID_Info_EUTRA_Item, BPLMN_ID_Info_EUTRA_Item_sequence); return offset; } static const per_sequence_t BPLMN_ID_Info_EUTRA_sequence_of[1] = { { &hf_x2ap_BPLMN_ID_Info_EUTRA_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_BPLMN_ID_Info_EUTRA_Item }, }; static int dissect_x2ap_BPLMN_ID_Info_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_BPLMN_ID_Info_EUTRA, BPLMN_ID_Info_EUTRA_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static const per_sequence_t BroadcastextPLMNs_sequence_of[1] = { { &hf_x2ap_BroadcastextPLMNs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, }; static int dissect_x2ap_BroadcastextPLMNs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_BroadcastextPLMNs, BroadcastextPLMNs_sequence_of, 1, maxnoofextBPLMNs, FALSE); return offset; } static int dissect_x2ap_FiveGS_TAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 3, 3, FALSE, &parameter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 3, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t BPLMN_ID_Info_NR_Item_sequence[] = { { &hf_x2ap_broadcastPLMNs_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BroadcastextPLMNs }, { &hf_x2ap_fiveGS_TAC , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_FiveGS_TAC }, { &hf_x2ap_nr_CI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCellIdentifier }, { &hf_x2ap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_BPLMN_ID_Info_NR_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_BPLMN_ID_Info_NR_Item, BPLMN_ID_Info_NR_Item_sequence); return offset; } static const per_sequence_t BPLMN_ID_Info_NR_sequence_of[1] = { { &hf_x2ap_BPLMN_ID_Info_NR_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_BPLMN_ID_Info_NR_Item }, }; static int dissect_x2ap_BPLMN_ID_Info_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_BPLMN_ID_Info_NR, BPLMN_ID_Info_NR_sequence_of, 1, maxnoofextBPLMNs, FALSE); return offset; } static int dissect_x2ap_CapacityValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const value_string x2ap_CauseRadioNetwork_vals[] = { { 0, "handover-desirable-for-radio-reasons" }, { 1, "time-critical-handover" }, { 2, "resource-optimisation-handover" }, { 3, "reduce-load-in-serving-cell" }, { 4, "partial-handover" }, { 5, "unknown-new-eNB-UE-X2AP-ID" }, { 6, "unknown-old-eNB-UE-X2AP-ID" }, { 7, "unknown-pair-of-UE-X2AP-ID" }, { 8, "ho-target-not-allowed" }, { 9, "tx2relocoverall-expiry" }, { 10, "trelocprep-expiry" }, { 11, "cell-not-available" }, { 12, "no-radio-resources-available-in-target-cell" }, { 13, "invalid-MME-GroupID" }, { 14, "unknown-MME-Code" }, { 15, "encryption-and-or-integrity-protection-algorithms-not-supported" }, { 16, "reportCharacteristicsEmpty" }, { 17, "noReportPeriodicity" }, { 18, "existingMeasurementID" }, { 19, "unknown-eNB-Measurement-ID" }, { 20, "measurement-temporarily-not-available" }, { 21, "unspecified" }, { 22, "load-balancing" }, { 23, "handover-optimisation" }, { 24, "value-out-of-allowed-range" }, { 25, "multiple-E-RAB-ID-instances" }, { 26, "switch-off-ongoing" }, { 27, "not-supported-QCI-value" }, { 28, "measurement-not-supported-for-the-object" }, { 29, "tDCoverall-expiry" }, { 30, "tDCprep-expiry" }, { 31, "action-desirable-for-radio-reasons" }, { 32, "reduce-load" }, { 33, "resource-optimisation" }, { 34, "time-critical-action" }, { 35, "target-not-allowed" }, { 36, "no-radio-resources-available" }, { 37, "invalid-QoS-combination" }, { 38, "encryption-algorithms-not-supported" }, { 39, "procedure-cancelled" }, { 40, "rRM-purpose" }, { 41, "improve-user-bit-rate" }, { 42, "user-inactivity" }, { 43, "radio-connection-with-UE-lost" }, { 44, "failure-in-the-radio-interface-procedure" }, { 45, "bearer-option-not-supported" }, { 46, "mCG-Mobility" }, { 47, "sCG-Mobility" }, { 48, "count-reaches-max-value" }, { 49, "unknown-old-en-gNB-UE-X2AP-ID" }, { 50, "pDCP-Overload" }, { 51, "cho-cpc-resources-tobechanged" }, { 52, "ue-power-saving" }, { 53, "insufficient-ue-capabilities" }, { 54, "normal-release" }, { 55, "unknown-E-UTRAN-Node-Measurement-ID" }, { 56, "sCG-activation-deactivation-failure" }, { 57, "sCG-deactivation-failure-due-to-data-transmission" }, { 58, "up-integrity-protection-not-possible" }, { 0, NULL } }; static value_string_ext x2ap_CauseRadioNetwork_vals_ext = VALUE_STRING_EXT_INIT(x2ap_CauseRadioNetwork_vals); static int dissect_x2ap_CauseRadioNetwork(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 22, NULL, TRUE, 37, NULL); return offset; } static const value_string x2ap_CauseTransport_vals[] = { { 0, "transport-resource-unavailable" }, { 1, "unspecified" }, { 0, NULL } }; static int dissect_x2ap_CauseTransport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_CauseProtocol_vals[] = { { 0, "transfer-syntax-error" }, { 1, "abstract-syntax-error-reject" }, { 2, "abstract-syntax-error-ignore-and-notify" }, { 3, "message-not-compatible-with-receiver-state" }, { 4, "semantic-error" }, { 5, "unspecified" }, { 6, "abstract-syntax-error-falsely-constructed-message" }, { 0, NULL } }; static int dissect_x2ap_CauseProtocol(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_CauseMisc_vals[] = { { 0, "control-processing-overload" }, { 1, "hardware-failure" }, { 2, "om-intervention" }, { 3, "not-enough-user-plane-processing-resources" }, { 4, "unspecified" }, { 0, NULL } }; static int dissect_x2ap_CauseMisc(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_Cause_vals[] = { { 0, "radioNetwork" }, { 1, "transport" }, { 2, "protocol" }, { 3, "misc" }, { 0, NULL } }; static const per_choice_t Cause_choice[] = { { 0, &hf_x2ap_radioNetwork , ASN1_EXTENSION_ROOT , dissect_x2ap_CauseRadioNetwork }, { 1, &hf_x2ap_transport , ASN1_EXTENSION_ROOT , dissect_x2ap_CauseTransport }, { 2, &hf_x2ap_protocol , ASN1_EXTENSION_ROOT , dissect_x2ap_CauseProtocol }, { 3, &hf_x2ap_misc , ASN1_EXTENSION_ROOT , dissect_x2ap_CauseMisc }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_Cause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_Cause, Cause_choice, NULL); return offset; } static int dissect_x2ap_CellCapacityClassValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 100U, NULL, TRUE); return offset; } static const value_string x2ap_CellDeploymentStatusIndicator_vals[] = { { 0, "pre-change-notification" }, { 0, NULL } }; static int dissect_x2ap_CellDeploymentStatusIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ReplacingCellsList_Item_sequence[] = { { &hf_x2ap_eCGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ReplacingCellsList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ReplacingCellsList_Item, ReplacingCellsList_Item_sequence); return offset; } static const per_sequence_t ReplacingCellsList_sequence_of[1] = { { &hf_x2ap_ReplacingCellsList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ReplacingCellsList_Item }, }; static int dissect_x2ap_ReplacingCellsList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ReplacingCellsList, ReplacingCellsList_sequence_of, 0, maxCellineNB, FALSE); return offset; } static const per_sequence_t CellReplacingInfo_sequence[] = { { &hf_x2ap_replacingCellsList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ReplacingCellsList }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellReplacingInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellReplacingInfo, CellReplacingInfo_sequence); return offset; } static const value_string x2ap_CellReportingIndicator_vals[] = { { 0, "stop-request" }, { 0, NULL } }; static int dissect_x2ap_CellReportingIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_Cell_Size_vals[] = { { 0, "verysmall" }, { 1, "small" }, { 2, "medium" }, { 3, "large" }, { 0, NULL } }; static int dissect_x2ap_Cell_Size(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t CellType_sequence[] = { { &hf_x2ap_cell_Size , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Cell_Size }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellType, CellType_sequence); return offset; } static const per_sequence_t CPACcandidatePSCells_item_sequence[] = { { &hf_x2ap_pscell_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPACcandidatePSCells_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPACcandidatePSCells_item, CPACcandidatePSCells_item_sequence); return offset; } static const per_sequence_t CPACcandidatePSCells_list_sequence_of[1] = { { &hf_x2ap_CPACcandidatePSCells_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CPACcandidatePSCells_item }, }; static int dissect_x2ap_CPACcandidatePSCells_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CPACcandidatePSCells_list, CPACcandidatePSCells_list_sequence_of, 1, maxnoofPSCellCandidates, FALSE); return offset; } static const value_string x2ap_CPCindicator_vals[] = { { 0, "cpc-initiation" }, { 1, "cpc-modification" }, { 2, "cpc-cancel" }, { 0, NULL } }; static int dissect_x2ap_CPCindicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_CPCdataforwarding_vals[] = { { 0, "cpc-triggered" }, { 1, "early-data-transmission-stop" }, { 2, "coordination-only" }, { 0, NULL } }; static int dissect_x2ap_CPCdataforwarding(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 1, NULL); return offset; } static int dissect_x2ap_INTEGER_1_maxnoofPSCellCandidates(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, maxnoofPSCellCandidates, NULL, FALSE); return offset; } static int dissect_x2ap_CHO_Probability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 100U, NULL, FALSE); return offset; } static const per_sequence_t CPAinformation_REQ_sequence[] = { { &hf_x2ap_max_no_of_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_maxnoofPSCellCandidates }, { &hf_x2ap_estimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CHO_Probability }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPAinformation_REQ(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPAinformation_REQ, CPAinformation_REQ_sequence); return offset; } static const per_sequence_t CPAinformation_REQ_ACK_sequence[] = { { &hf_x2ap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPACcandidatePSCells_list }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPAinformation_REQ_ACK(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPAinformation_REQ_ACK, CPAinformation_REQ_ACK_sequence); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_22_32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 22, 32, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_GNB_ID_vals[] = { { 0, "gNB-ID" }, { 0, NULL } }; static const per_choice_t GNB_ID_choice[] = { { 0, &hf_x2ap_gNB_ID_01 , ASN1_EXTENSION_ROOT , dissect_x2ap_BIT_STRING_SIZE_22_32 }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_GNB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_GNB_ID, GNB_ID_choice, NULL); return offset; } static const per_sequence_t GlobalGNB_ID_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_gNB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GNB_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_GlobalGNB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_GlobalGNB_ID, GlobalGNB_ID_sequence); return offset; } static int dissect_x2ap_SgNBtoMeNBContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_SgNBtoMeNBContainer); dissect_nr_rrc_CG_Config_PDU(parameter_tvb, actx->pinfo, subtree, NULL); return offset; } static const per_sequence_t CPC_target_SgNB_reqd_item_sequence[] = { { &hf_x2ap_target_SgNB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GlobalGNB_ID }, { &hf_x2ap_cpc_indicator , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPCindicator }, { &hf_x2ap_max_no_of_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_maxnoofPSCellCandidates }, { &hf_x2ap_estimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CHO_Probability }, { &hf_x2ap_sgNBtoMeNBContainer, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SgNBtoMeNBContainer }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPC_target_SgNB_reqd_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPC_target_SgNB_reqd_item, CPC_target_SgNB_reqd_item_sequence); return offset; } static const per_sequence_t CPC_target_SgNB_reqd_list_sequence_of[1] = { { &hf_x2ap_CPC_target_SgNB_reqd_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CPC_target_SgNB_reqd_item }, }; static int dissect_x2ap_CPC_target_SgNB_reqd_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CPC_target_SgNB_reqd_list, CPC_target_SgNB_reqd_list_sequence_of, 1, maxnoofTargetSgNBs, FALSE); return offset; } static const per_sequence_t CPCinformation_REQD_sequence[] = { { &hf_x2ap_cpc_target_sgnb_list, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPC_target_SgNB_reqd_list }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPCinformation_REQD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPCinformation_REQD, CPCinformation_REQD_sequence); return offset; } static const per_sequence_t CPC_target_SgNB_conf_item_sequence[] = { { &hf_x2ap_target_SgNB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GlobalGNB_ID }, { &hf_x2ap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPACcandidatePSCells_list }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPC_target_SgNB_conf_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPC_target_SgNB_conf_item, CPC_target_SgNB_conf_item_sequence); return offset; } static const per_sequence_t CPC_target_SgNB_conf_list_sequence_of[1] = { { &hf_x2ap_CPC_target_SgNB_conf_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CPC_target_SgNB_conf_item }, }; static int dissect_x2ap_CPC_target_SgNB_conf_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CPC_target_SgNB_conf_list, CPC_target_SgNB_conf_list_sequence_of, 1, maxnoofTargetSgNBs, FALSE); return offset; } static const per_sequence_t CPCinformation_CONF_sequence[] = { { &hf_x2ap_cpc_target_sgnb_list_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPC_target_SgNB_conf_list }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPCinformation_CONF(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPCinformation_CONF, CPCinformation_CONF_sequence); return offset; } static const per_sequence_t CPCinformation_NOTIFY_sequence[] = { { &hf_x2ap_cpc_indicator_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPCdataforwarding }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPCinformation_NOTIFY(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPCinformation_NOTIFY, CPCinformation_NOTIFY_sequence); return offset; } static const per_sequence_t CPAinformation_MOD_sequence[] = { { &hf_x2ap_max_no_of_pscells, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_1_maxnoofPSCellCandidates }, { &hf_x2ap_estimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CHO_Probability }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPAinformation_MOD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPAinformation_MOD, CPAinformation_MOD_sequence); return offset; } static const per_sequence_t CPC_target_SgNB_mod_item_sequence[] = { { &hf_x2ap_target_SgNB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GlobalGNB_ID }, { &hf_x2ap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPACcandidatePSCells_list }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPC_target_SgNB_mod_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPC_target_SgNB_mod_item, CPC_target_SgNB_mod_item_sequence); return offset; } static const per_sequence_t CPC_target_SgNB_mod_list_sequence_of[1] = { { &hf_x2ap_CPC_target_SgNB_mod_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CPC_target_SgNB_mod_item }, }; static int dissect_x2ap_CPC_target_SgNB_mod_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CPC_target_SgNB_mod_list, CPC_target_SgNB_mod_list_sequence_of, 1, maxnoofTargetSgNBs, FALSE); return offset; } static const per_sequence_t CPCupdate_MOD_sequence[] = { { &hf_x2ap_cpc_target_sgnb_list_02, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPC_target_SgNB_mod_list }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPCupdate_MOD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPCupdate_MOD, CPCupdate_MOD_sequence); return offset; } static const per_sequence_t CPAinformation_MOD_ACK_sequence[] = { { &hf_x2ap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPACcandidatePSCells_list }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPAinformation_MOD_ACK(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPAinformation_MOD_ACK, CPAinformation_MOD_ACK_sequence); return offset; } static const per_sequence_t CPACinformation_REQD_sequence[] = { { &hf_x2ap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPACcandidatePSCells_list }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPACinformation_REQD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPACinformation_REQD, CPACinformation_REQD_sequence); return offset; } static const value_string x2ap_CHO_DC_EarlyDataForwarding_vals[] = { { 0, "stop" }, { 0, NULL } }; static int dissect_x2ap_CHO_DC_EarlyDataForwarding(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_CHO_DC_Indicator_vals[] = { { 0, "true" }, { 1, "coordination-only" }, { 0, NULL } }; static int dissect_x2ap_CHO_DC_Indicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 1, NULL); return offset; } static const value_string x2ap_T_cn_type_vals[] = { { 0, "fiveGC-forbidden" }, { 1, "epc-forbidden" }, { 0, NULL } }; static int dissect_x2ap_T_cn_type(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 1, NULL); return offset; } static const per_sequence_t CNTypeRestrictionsItem_sequence[] = { { &hf_x2ap_plmn_Id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_cn_type , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_cn_type }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CNTypeRestrictionsItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CNTypeRestrictionsItem, CNTypeRestrictionsItem_sequence); return offset; } static const per_sequence_t CNTypeRestrictions_sequence_of[1] = { { &hf_x2ap_CNTypeRestrictions_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CNTypeRestrictionsItem }, }; static int dissect_x2ap_CNTypeRestrictions(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CNTypeRestrictions, CNTypeRestrictions_sequence_of, 1, maxnoofEPLMNsPlusOne, FALSE); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_6_4400_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 4400, TRUE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t CoMPHypothesisSetItem_sequence[] = { { &hf_x2ap_coMPCellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_coMPHypothesis , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_6_4400_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CoMPHypothesisSetItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CoMPHypothesisSetItem, CoMPHypothesisSetItem_sequence); return offset; } static const per_sequence_t CoMPHypothesisSet_sequence_of[1] = { { &hf_x2ap_CoMPHypothesisSet_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CoMPHypothesisSetItem }, }; static int dissect_x2ap_CoMPHypothesisSet(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CoMPHypothesisSet, CoMPHypothesisSet_sequence_of, 1, maxnoofCoMPCells, FALSE); return offset; } static const per_sequence_t CoMPInformationItem_item_sequence[] = { { &hf_x2ap_coMPHypothesisSet, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CoMPHypothesisSet }, { &hf_x2ap_benefitMetric , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BenefitMetric }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CoMPInformationItem_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CoMPInformationItem_item, CoMPInformationItem_item_sequence); return offset; } static const per_sequence_t CoMPInformationItem_sequence_of[1] = { { &hf_x2ap_CoMPInformationItem_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CoMPInformationItem_item }, }; static int dissect_x2ap_CoMPInformationItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CoMPInformationItem, CoMPInformationItem_sequence_of, 1, maxnoofCoMPHypothesisSet, FALSE); return offset; } static int dissect_x2ap_INTEGER_0_1023_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1023U, NULL, TRUE); return offset; } static int dissect_x2ap_INTEGER_0_9_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 9U, NULL, TRUE); return offset; } static const per_sequence_t CoMPInformationStartTime_item_sequence[] = { { &hf_x2ap_startSFN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_1023_ }, { &hf_x2ap_startSubframeNumber, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_9_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CoMPInformationStartTime_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CoMPInformationStartTime_item, CoMPInformationStartTime_item_sequence); return offset; } static const per_sequence_t CoMPInformationStartTime_sequence_of[1] = { { &hf_x2ap_CoMPInformationStartTime_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CoMPInformationStartTime_item }, }; static int dissect_x2ap_CoMPInformationStartTime(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CoMPInformationStartTime, CoMPInformationStartTime_sequence_of, 0, 1, FALSE); return offset; } static const per_sequence_t CoMPInformation_sequence[] = { { &hf_x2ap_coMPInformationItem, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CoMPInformationItem }, { &hf_x2ap_coMPInformationStartTime, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CoMPInformationStartTime }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CoMPInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CoMPInformation, CoMPInformation_sequence); return offset; } static const per_sequence_t CompositeAvailableCapacity_sequence[] = { { &hf_x2ap_cellCapacityClassValue, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CellCapacityClassValue }, { &hf_x2ap_capacityValue , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CapacityValue }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CompositeAvailableCapacity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CompositeAvailableCapacity, CompositeAvailableCapacity_sequence); return offset; } static const per_sequence_t CompositeAvailableCapacityGroup_sequence[] = { { &hf_x2ap_dL_CompositeAvailableCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CompositeAvailableCapacity }, { &hf_x2ap_uL_CompositeAvailableCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CompositeAvailableCapacity }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CompositeAvailableCapacityGroup(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CompositeAvailableCapacityGroup, CompositeAvailableCapacityGroup_sequence); return offset; } static int dissect_x2ap_Correlation_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, NULL); return offset; } static int dissect_x2ap_PDCP_SN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, FALSE); return offset; } static int dissect_x2ap_HFN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1048575U, NULL, FALSE); return offset; } static const per_sequence_t COUNTvalue_sequence[] = { { &hf_x2ap_pDCP_SN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PDCP_SN }, { &hf_x2ap_hFN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_HFN }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_COUNTvalue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_COUNTvalue, COUNTvalue_sequence); return offset; } static int dissect_x2ap_PDCP_SNExtended(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 32767U, NULL, FALSE); return offset; } static int dissect_x2ap_HFNModified(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 131071U, NULL, FALSE); return offset; } static const per_sequence_t COUNTValueExtended_sequence[] = { { &hf_x2ap_pDCP_SNExtended, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PDCP_SNExtended }, { &hf_x2ap_hFNModified , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_HFNModified }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_COUNTValueExtended(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_COUNTValueExtended, COUNTValueExtended_sequence); return offset; } static int dissect_x2ap_PDCP_SNlength18(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 262143U, NULL, FALSE); return offset; } static int dissect_x2ap_HFNforPDCP_SNlength18(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 16383U, NULL, FALSE); return offset; } static const per_sequence_t COUNTvaluePDCP_SNlength18_sequence[] = { { &hf_x2ap_pDCP_SNlength18, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PDCP_SNlength18 }, { &hf_x2ap_hFNforPDCP_SNlength18, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_HFNforPDCP_SNlength18 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_COUNTvaluePDCP_SNlength18(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_COUNTvaluePDCP_SNlength18, COUNTvaluePDCP_SNlength18_sequence); return offset; } static int dissect_x2ap_INTEGER_0_15_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 15U, NULL, TRUE); return offset; } static const per_sequence_t CoverageModification_Item_sequence[] = { { &hf_x2ap_eCGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_coverageState , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_15_ }, { &hf_x2ap_cellDeploymentStatusIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CellDeploymentStatusIndicator }, { &hf_x2ap_cellReplacingInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CellReplacingInfo }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CoverageModification_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CoverageModification_Item, CoverageModification_Item_sequence); return offset; } static const per_sequence_t CoverageModificationList_sequence_of[1] = { { &hf_x2ap_CoverageModificationList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CoverageModification_Item }, }; static int dissect_x2ap_CoverageModificationList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CoverageModificationList, CoverageModificationList_sequence_of, 1, maxCellineNB, FALSE); return offset; } static int dissect_x2ap_Port_Number(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 2, 2, FALSE, &parameter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t TransportLayerAddressAndPort_sequence[] = { { &hf_x2ap_endpointIPAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TransportLayerAddress }, { &hf_x2ap_portnumber , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Port_Number }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TransportLayerAddressAndPort(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TransportLayerAddressAndPort, TransportLayerAddressAndPort_sequence); return offset; } static const value_string x2ap_CPTransportLayerInformation_vals[] = { { 0, "endpointIPAddress" }, { 1, "endpointIPAddressAndPort" }, { 0, NULL } }; static const per_choice_t CPTransportLayerInformation_choice[] = { { 0, &hf_x2ap_endpointIPAddress, ASN1_EXTENSION_ROOT , dissect_x2ap_TransportLayerAddress }, { 1, &hf_x2ap_endpointIPAddressAndPort, ASN1_EXTENSION_ROOT , dissect_x2ap_TransportLayerAddressAndPort }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_CPTransportLayerInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_CPTransportLayerInformation, CPTransportLayerInformation_choice, NULL); return offset; } static const value_string x2ap_TypeOfError_vals[] = { { 0, "not-understood" }, { 1, "missing" }, { 0, NULL } }; static int dissect_x2ap_TypeOfError(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t CriticalityDiagnostics_IE_List_item_sequence[] = { { &hf_x2ap_iECriticality , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Criticality }, { &hf_x2ap_iE_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_ID }, { &hf_x2ap_typeOfError , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TypeOfError }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CriticalityDiagnostics_IE_List_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CriticalityDiagnostics_IE_List_item, CriticalityDiagnostics_IE_List_item_sequence); return offset; } static const per_sequence_t CriticalityDiagnostics_IE_List_sequence_of[1] = { { &hf_x2ap_CriticalityDiagnostics_IE_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CriticalityDiagnostics_IE_List_item }, }; static int dissect_x2ap_CriticalityDiagnostics_IE_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CriticalityDiagnostics_IE_List, CriticalityDiagnostics_IE_List_sequence_of, 1, maxNrOfErrors, FALSE); return offset; } static const per_sequence_t CriticalityDiagnostics_sequence[] = { { &hf_x2ap_procedureCode , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProcedureCode }, { &hf_x2ap_triggeringMessage, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_TriggeringMessage }, { &hf_x2ap_procedureCriticality, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_Criticality }, { &hf_x2ap_iEsCriticalityDiagnostics, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CriticalityDiagnostics_IE_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CriticalityDiagnostics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CriticalityDiagnostics, CriticalityDiagnostics_sequence); return offset; } static int dissect_x2ap_CRNTI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_CSGMembershipStatus_vals[] = { { 0, "member" }, { 1, "not-member" }, { 0, NULL } }; static int dissect_x2ap_CSGMembershipStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, FALSE, 0, NULL); return offset; } static int dissect_x2ap_CSG_Id(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 27, 27, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_UEID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_INTEGER_1_7_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 7U, NULL, TRUE); return offset; } static int dissect_x2ap_INTEGER_1_8_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 8U, NULL, TRUE); return offset; } static int dissect_x2ap_INTEGER_0_7_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 7U, NULL, TRUE); return offset; } static const value_string x2ap_WidebandCQICodeword1_vals[] = { { 0, "four-bitCQI" }, { 1, "three-bitSpatialDifferentialCQI" }, { 0, NULL } }; static const per_choice_t WidebandCQICodeword1_choice[] = { { 0, &hf_x2ap_four_bitCQI , ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_15_ }, { 1, &hf_x2ap_three_bitSpatialDifferentialCQI, ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_7_ }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_WidebandCQICodeword1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_WidebandCQICodeword1, WidebandCQICodeword1_choice, NULL); return offset; } static const per_sequence_t WidebandCQI_sequence[] = { { &hf_x2ap_widebandCQICodeword0, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_15_ }, { &hf_x2ap_widebandCQICodeword1, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_WidebandCQICodeword1 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_WidebandCQI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_WidebandCQI, WidebandCQI_sequence); return offset; } static const value_string x2ap_SubbandSize_vals[] = { { 0, "size2" }, { 1, "size3" }, { 2, "size4" }, { 3, "size6" }, { 4, "size8" }, { 0, NULL } }; static int dissect_x2ap_SubbandSize(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_INTEGER_0_3_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 3U, NULL, TRUE); return offset; } static const value_string x2ap_SubbandCQICodeword0_vals[] = { { 0, "four-bitCQI" }, { 1, "two-bitSubbandDifferentialCQI" }, { 2, "two-bitDifferentialCQI" }, { 0, NULL } }; static const per_choice_t SubbandCQICodeword0_choice[] = { { 0, &hf_x2ap_four_bitCQI , ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_15_ }, { 1, &hf_x2ap_two_bitSubbandDifferentialCQI, ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_3_ }, { 2, &hf_x2ap_two_bitDifferentialCQI, ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_3_ }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_SubbandCQICodeword0(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_SubbandCQICodeword0, SubbandCQICodeword0_choice, NULL); return offset; } static const value_string x2ap_SubbandCQICodeword1_vals[] = { { 0, "four-bitCQI" }, { 1, "three-bitSpatialDifferentialCQI" }, { 2, "two-bitSubbandDifferentialCQI" }, { 3, "two-bitDifferentialCQI" }, { 0, NULL } }; static const per_choice_t SubbandCQICodeword1_choice[] = { { 0, &hf_x2ap_four_bitCQI , ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_15_ }, { 1, &hf_x2ap_three_bitSpatialDifferentialCQI, ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_7_ }, { 2, &hf_x2ap_two_bitSubbandDifferentialCQI, ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_3_ }, { 3, &hf_x2ap_two_bitDifferentialCQI, ASN1_EXTENSION_ROOT , dissect_x2ap_INTEGER_0_3_ }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_SubbandCQICodeword1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_SubbandCQICodeword1, SubbandCQICodeword1_choice, NULL); return offset; } static const per_sequence_t SubbandCQI_sequence[] = { { &hf_x2ap_subbandCQICodeword0, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SubbandCQICodeword0 }, { &hf_x2ap_subbandCQICodeword1, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SubbandCQICodeword1 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SubbandCQI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SubbandCQI, SubbandCQI_sequence); return offset; } static int dissect_x2ap_INTEGER_0_27_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 27U, NULL, TRUE); return offset; } static const per_sequence_t SubbandCQIItem_sequence[] = { { &hf_x2ap_subbandCQI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SubbandCQI }, { &hf_x2ap_subbandIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_27_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SubbandCQIItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SubbandCQIItem, SubbandCQIItem_sequence); return offset; } static const per_sequence_t SubbandCQIList_sequence_of[1] = { { &hf_x2ap_SubbandCQIList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_SubbandCQIItem }, }; static int dissect_x2ap_SubbandCQIList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SubbandCQIList, SubbandCQIList_sequence_of, 1, maxSubband, FALSE); return offset; } static const per_sequence_t CSIReportPerCSIProcessItem_item_sequence[] = { { &hf_x2ap_rI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_8_ }, { &hf_x2ap_widebandCQI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_WidebandCQI }, { &hf_x2ap_subbandSize , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SubbandSize }, { &hf_x2ap_subbandCQIList , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SubbandCQIList }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CSIReportPerCSIProcessItem_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CSIReportPerCSIProcessItem_item, CSIReportPerCSIProcessItem_item_sequence); return offset; } static const per_sequence_t CSIReportPerCSIProcessItem_sequence_of[1] = { { &hf_x2ap_CSIReportPerCSIProcessItem_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CSIReportPerCSIProcessItem_item }, }; static int dissect_x2ap_CSIReportPerCSIProcessItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CSIReportPerCSIProcessItem, CSIReportPerCSIProcessItem_sequence_of, 1, maxCSIReport, FALSE); return offset; } static const per_sequence_t CSIReportPerCSIProcess_item_sequence[] = { { &hf_x2ap_cSIProcessConfigurationIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_7_ }, { &hf_x2ap_cSIReportPerCSIProcessItem, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CSIReportPerCSIProcessItem }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CSIReportPerCSIProcess_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CSIReportPerCSIProcess_item, CSIReportPerCSIProcess_item_sequence); return offset; } static const per_sequence_t CSIReportPerCSIProcess_sequence_of[1] = { { &hf_x2ap_CSIReportPerCSIProcess_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CSIReportPerCSIProcess_item }, }; static int dissect_x2ap_CSIReportPerCSIProcess(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CSIReportPerCSIProcess, CSIReportPerCSIProcess_sequence_of, 1, maxCSIProcess, FALSE); return offset; } static const per_sequence_t CSIReportList_item_sequence[] = { { &hf_x2ap_uEID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UEID }, { &hf_x2ap_cSIReportPerCSIProcess, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CSIReportPerCSIProcess }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CSIReportList_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CSIReportList_item, CSIReportList_item_sequence); return offset; } static const per_sequence_t CSIReportList_sequence_of[1] = { { &hf_x2ap_CSIReportList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CSIReportList_item }, }; static int dissect_x2ap_CSIReportList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CSIReportList, CSIReportList_sequence_of, 1, maxUEReport, FALSE); return offset; } static const value_string x2ap_CHOtrigger_vals[] = { { 0, "cho-initiation" }, { 1, "cho-replace" }, { 0, NULL } }; static int dissect_x2ap_CHOtrigger(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_UE_X2AP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, FALSE); return offset; } static int dissect_x2ap_UE_X2AP_ID_Extension(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, TRUE); return offset; } static const per_sequence_t CHOinformation_REQ_sequence[] = { { &hf_x2ap_cho_trigger , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CHOtrigger }, { &hf_x2ap_new_eNB_UE_X2AP_ID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UE_X2AP_ID }, { &hf_x2ap_new_eNB_UE_X2AP_ID_Extension, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UE_X2AP_ID_Extension }, { &hf_x2ap_cHO_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CHO_Probability }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CHOinformation_REQ(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CHOinformation_REQ, CHOinformation_REQ_sequence); return offset; } static int dissect_x2ap_MaxCHOpreparations(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 8U, NULL, TRUE); return offset; } static const per_sequence_t CHOinformation_ACK_sequence[] = { { &hf_x2ap_requestedTargetCellID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_maxCHOpreparations, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_MaxCHOpreparations }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CHOinformation_ACK(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CHOinformation_ACK, CHOinformation_ACK_sequence); return offset; } static const per_sequence_t CandidateCellsToBeCancelledList_sequence_of[1] = { { &hf_x2ap_CandidateCellsToBeCancelledList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, }; static int dissect_x2ap_CandidateCellsToBeCancelledList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CandidateCellsToBeCancelledList, CandidateCellsToBeCancelledList_sequence_of, 1, maxnoofCellsinCHO, FALSE); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_20(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 20, 20, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_28(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 28, 28, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_18(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 18, 18, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_21(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 21, 21, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_ENB_ID_vals[] = { { 0, "macro-eNB-ID" }, { 1, "home-eNB-ID" }, { 2, "short-Macro-eNB-ID" }, { 3, "long-Macro-eNB-ID" }, { 0, NULL } }; static const per_choice_t ENB_ID_choice[] = { { 0, &hf_x2ap_macro_eNB_ID , ASN1_EXTENSION_ROOT , dissect_x2ap_BIT_STRING_SIZE_20 }, { 1, &hf_x2ap_home_eNB_ID , ASN1_EXTENSION_ROOT , dissect_x2ap_BIT_STRING_SIZE_28 }, { 2, &hf_x2ap_short_Macro_eNB_ID, ASN1_NOT_EXTENSION_ROOT, dissect_x2ap_BIT_STRING_SIZE_18 }, { 3, &hf_x2ap_long_Macro_eNB_ID, ASN1_NOT_EXTENSION_ROOT, dissect_x2ap_BIT_STRING_SIZE_21 }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_ENB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_ENB_ID, ENB_ID_choice, NULL); return offset; } static const per_sequence_t GlobalENB_ID_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_eNB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ENB_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_GlobalENB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_GlobalENB_ID, GlobalENB_ID_sequence); return offset; } static const per_sequence_t CHOinformation_AddReq_sequence[] = { { &hf_x2ap_source_eNB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GlobalENB_ID }, { &hf_x2ap_source_eNB_UE_X2AP_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UE_X2AP_ID }, { &hf_x2ap_source_eNB_UE_X2AP_ID_Ext, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UE_X2AP_ID_Extension }, { &hf_x2ap_cHO_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CHO_Probability }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CHOinformation_AddReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CHOinformation_AddReq, CHOinformation_AddReq_sequence); return offset; } static const value_string x2ap_T_conditionalReconfig_vals[] = { { 0, "intra-mn-cho" }, { 0, NULL } }; static int dissect_x2ap_T_conditionalReconfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t CHOinformation_ModReq_sequence[] = { { &hf_x2ap_conditionalReconfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_conditionalReconfig }, { &hf_x2ap_cHO_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CHO_Probability }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CHOinformation_ModReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CHOinformation_ModReq, CHOinformation_ModReq_sequence); return offset; } static const value_string x2ap_CSI_RSTransmissionIndication_vals[] = { { 0, "activated" }, { 1, "deactivated" }, { 0, NULL } }; static int dissect_x2ap_CSI_RSTransmissionIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_DataTrafficResources(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 17600, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_INTEGER_0_1023(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1023U, NULL, FALSE); return offset; } static const per_sequence_t ULOnlySharing_sequence[] = { { &hf_x2ap_uLResourceBitmapULOnlySharing, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DataTrafficResources }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ULOnlySharing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ULOnlySharing, ULOnlySharing_sequence); return offset; } static int dissect_x2ap_ULResourceBitmapULandDLSharing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_x2ap_DataTrafficResources(tvb, offset, actx, tree, hf_index); return offset; } static const value_string x2ap_ULResourcesULandDLSharing_vals[] = { { 0, "unchanged" }, { 1, "changed" }, { 0, NULL } }; static const per_choice_t ULResourcesULandDLSharing_choice[] = { { 0, &hf_x2ap_unchanged , ASN1_EXTENSION_ROOT , dissect_x2ap_NULL }, { 1, &hf_x2ap_changed_01 , ASN1_EXTENSION_ROOT , dissect_x2ap_ULResourceBitmapULandDLSharing }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_ULResourcesULandDLSharing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_ULResourcesULandDLSharing, ULResourcesULandDLSharing_choice, NULL); return offset; } static int dissect_x2ap_DLResourceBitmapULandDLSharing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_x2ap_DataTrafficResources(tvb, offset, actx, tree, hf_index); return offset; } static const value_string x2ap_DLResourcesULandDLSharing_vals[] = { { 0, "unchanged" }, { 1, "changed" }, { 0, NULL } }; static const per_choice_t DLResourcesULandDLSharing_choice[] = { { 0, &hf_x2ap_unchanged , ASN1_EXTENSION_ROOT , dissect_x2ap_NULL }, { 1, &hf_x2ap_changed , ASN1_EXTENSION_ROOT , dissect_x2ap_DLResourceBitmapULandDLSharing }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_DLResourcesULandDLSharing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_DLResourcesULandDLSharing, DLResourcesULandDLSharing_choice, NULL); return offset; } static const per_sequence_t ULandDLSharing_sequence[] = { { &hf_x2ap_uLResourcesULandDLSharing, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ULResourcesULandDLSharing }, { &hf_x2ap_dLResourcesULandDLSharing, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DLResourcesULandDLSharing }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ULandDLSharing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ULandDLSharing, ULandDLSharing_sequence); return offset; } static const value_string x2ap_SharedResourceType_vals[] = { { 0, "uLOnlySharing" }, { 1, "uLandDLSharing" }, { 0, NULL } }; static const per_choice_t SharedResourceType_choice[] = { { 0, &hf_x2ap_uLOnlySharing , ASN1_EXTENSION_ROOT , dissect_x2ap_ULOnlySharing }, { 1, &hf_x2ap_uLandDLSharing , ASN1_EXTENSION_ROOT , dissect_x2ap_ULandDLSharing }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_SharedResourceType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_SharedResourceType, SharedResourceType_choice, NULL); return offset; } static const value_string x2ap_SubframeType_vals[] = { { 0, "mbsfn" }, { 1, "nonmbsfn" }, { 0, NULL } }; static int dissect_x2ap_SubframeType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_10_160(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 10, 160, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_T_mBSFNControlRegionLength_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 3U, NULL, FALSE); proto_item_append_text(actx->created_item, " REs"); return offset; } static const per_sequence_t ReservedSubframePattern_sequence[] = { { &hf_x2ap_subframeType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SubframeType }, { &hf_x2ap_reservedSubframePattern_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_10_160 }, { &hf_x2ap_mBSFNControlRegionLength_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_mBSFNControlRegionLength_01 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ReservedSubframePattern(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ReservedSubframePattern, ReservedSubframePattern_sequence); return offset; } static const per_sequence_t DataTrafficResourceIndication_sequence[] = { { &hf_x2ap_activationSFN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_1023 }, { &hf_x2ap_sharedResourceType, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SharedResourceType }, { &hf_x2ap_reservedSubframePattern, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ReservedSubframePattern }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_DataTrafficResourceIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_DataTrafficResourceIndication, DataTrafficResourceIndication_sequence); return offset; } static const value_string x2ap_T_dAPSIndicator_vals[] = { { 0, "daps-HO-required" }, { 0, NULL } }; static int dissect_x2ap_T_dAPSIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t DAPSRequestInfo_sequence[] = { { &hf_x2ap_dAPSIndicator , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_dAPSIndicator }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_DAPSRequestInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_DAPSRequestInfo, DAPSRequestInfo_sequence); return offset; } static const value_string x2ap_T_dAPSResponseIndicator_vals[] = { { 0, "daps-HO-accepted" }, { 1, "daps-HO-not-accepted" }, { 0, NULL } }; static int dissect_x2ap_T_dAPSResponseIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t DAPSResponseInfo_sequence[] = { { &hf_x2ap_dAPSResponseIndicator, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_dAPSResponseIndicator }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_DAPSResponseInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_DAPSResponseInfo, DAPSResponseInfo_sequence); return offset; } static const value_string x2ap_DeactivationIndication_vals[] = { { 0, "deactivated" }, { 0, NULL } }; static int dissect_x2ap_DeactivationIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_INTEGER_0_4095(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, FALSE); return offset; } static const per_sequence_t DeliveryStatus_sequence[] = { { &hf_x2ap_highestSuccessDeliveredPDCPSN, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_4095 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_DeliveryStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_DeliveryStatus, DeliveryStatus_sequence); return offset; } static const value_string x2ap_DesiredActNotificationLevel_vals[] = { { 0, "none" }, { 1, "e-rab" }, { 2, "ue-level" }, { 0, NULL } }; static int dissect_x2ap_DesiredActNotificationLevel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_DirectForwardingPathAvailability_vals[] = { { 0, "direct-path-available" }, { 0, NULL } }; static int dissect_x2ap_DirectForwardingPathAvailability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_DL_Forwarding_vals[] = { { 0, "dL-forwardingProposed" }, { 0, NULL } }; static int dissect_x2ap_DL_Forwarding(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_DL_GBR_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_DL_GBR_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_DL_non_GBR_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_DL_non_GBR_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_DL_scheduling_PDCCH_CCE_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_DL_Total_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_DL_Total_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_DRB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 32U, NULL, FALSE); return offset; } static const value_string x2ap_DuplicationActivation_vals[] = { { 0, "active" }, { 1, "inactive" }, { 0, NULL } }; static int dissect_x2ap_DuplicationActivation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_T_transmissionModes(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_MDT_transmissionModes_tm1, &hf_x2ap_MDT_transmissionModes_tm2, &hf_x2ap_MDT_transmissionModes_tm3, &hf_x2ap_MDT_transmissionModes_tm4, &hf_x2ap_MDT_transmissionModes_tm6, &hf_x2ap_MDT_transmissionModes_tm8, &hf_x2ap_MDT_transmissionModes_tm9, &hf_x2ap_MDT_transmissionModes_tm10, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_transmissionModes); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static int dissect_x2ap_INTEGER_0_3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 3U, NULL, FALSE); return offset; } static const value_string x2ap_PA_Values_vals[] = { { 0, "dB-6" }, { 1, "dB-4dot77" }, { 2, "dB-3" }, { 3, "dB-1dot77" }, { 4, "dB0" }, { 5, "dB1" }, { 6, "dB2" }, { 7, "dB3" }, { 0, NULL } }; static int dissect_x2ap_PA_Values(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values_sequence_of[1] = { { &hf_x2ap_pA_list_item , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PA_Values }, }; static int dissect_x2ap_SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values, SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values_sequence_of, 0, maxnoofPA, FALSE); return offset; } static const per_sequence_t DynamicNAICSInformation_sequence[] = { { &hf_x2ap_transmissionModes, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_transmissionModes }, { &hf_x2ap_pB_information , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_0_3 }, { &hf_x2ap_pA_list , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_DynamicNAICSInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_DynamicNAICSInformation, DynamicNAICSInformation_sequence); return offset; } static const value_string x2ap_DynamicDLTransmissionInformation_vals[] = { { 0, "naics-active" }, { 1, "naics-inactive" }, { 0, NULL } }; static const per_choice_t DynamicDLTransmissionInformation_choice[] = { { 0, &hf_x2ap_naics_active , ASN1_EXTENSION_ROOT , dissect_x2ap_DynamicNAICSInformation }, { 1, &hf_x2ap_naics_inactive , ASN1_EXTENSION_ROOT , dissect_x2ap_NULL }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_DynamicDLTransmissionInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_DynamicDLTransmissionInformation, DynamicDLTransmissionInformation_choice, NULL); return offset; } static int dissect_x2ap_EARFCN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxEARFCN, NULL, FALSE); return offset; } static int dissect_x2ap_EARFCNExtension(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, maxEARFCNPlusOne, newmaxEARFCN, NULL, TRUE); return offset; } static int dissect_x2ap_EndcSONConfigurationTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EndcSONConfigurationTransfer); dissect_s1ap_EN_DCSONConfigurationTransfer_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_BIT_STRING_SIZE_12_8800_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 12, 8800, TRUE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_RNTP_Threshold_vals[] = { { 0, "minusInfinity" }, { 1, "minusEleven" }, { 2, "minusTen" }, { 3, "minusNine" }, { 4, "minusEight" }, { 5, "minusSeven" }, { 6, "minusSix" }, { 7, "minusFive" }, { 8, "minusFour" }, { 9, "minusThree" }, { 10, "minusTwo" }, { 11, "minusOne" }, { 12, "zero" }, { 13, "one" }, { 14, "two" }, { 15, "three" }, { 0, NULL } }; static int dissect_x2ap_RNTP_Threshold(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 16, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t EnhancedRNTPStartTime_sequence[] = { { &hf_x2ap_startSFN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_1023_ }, { &hf_x2ap_startSubframeNumber, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_9_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_EnhancedRNTPStartTime(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_EnhancedRNTPStartTime, EnhancedRNTPStartTime_sequence); return offset; } static const per_sequence_t EnhancedRNTP_sequence[] = { { &hf_x2ap_enhancedRNTPBitmap, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_12_8800_ }, { &hf_x2ap_rNTP_High_Power_Threshold, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RNTP_Threshold }, { &hf_x2ap_enhancedRNTPStartTime, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_EnhancedRNTPStartTime }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_EnhancedRNTP(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_EnhancedRNTP, EnhancedRNTP_sequence); return offset; } static int dissect_x2ap_EncryptionAlgorithms(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, TRUE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_encryptionAlgorithms_EEA1, &hf_x2ap_encryptionAlgorithms_EEA2, &hf_x2ap_encryptionAlgorithms_EEA3, &hf_x2ap_encryptionAlgorithms_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EncryptionAlgorithms); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string x2ap_T_pDCPatSgNB_vals[] = { { 0, "present" }, { 1, "not-present" }, { 0, NULL } }; static int dissect_x2ap_T_pDCPatSgNB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_T_mCGresources_vals[] = { { 0, "present" }, { 1, "not-present" }, { 0, NULL } }; static int dissect_x2ap_T_mCGresources(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_T_sCGresources_vals[] = { { 0, "present" }, { 1, "not-present" }, { 0, NULL } }; static int dissect_x2ap_T_sCGresources(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t EN_DC_ResourceConfiguration_sequence[] = { { &hf_x2ap_pDCPatSgNB , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_pDCPatSgNB }, { &hf_x2ap_mCGresources , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_mCGresources }, { &hf_x2ap_sCGresources , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_sCGresources }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_EN_DC_ResourceConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_EN_DC_ResourceConfiguration, EN_DC_ResourceConfiguration_sequence); return offset; } static int dissect_x2ap_EPCHandoverRestrictionListContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EPCHandoverRestrictionListContainer); dissect_s1ap_HandoverRestrictionList_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t EPLMNs_sequence_of[1] = { { &hf_x2ap_EPLMNs_item , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, }; static int dissect_x2ap_EPLMNs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_EPLMNs, EPLMNs_sequence_of, 1, maxnoofEPLMNs, FALSE); return offset; } static int dissect_x2ap_E_RAB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 15U, NULL, TRUE); return offset; } static const value_string x2ap_UserPlaneTrafficActivityReport_vals[] = { { 0, "inactive" }, { 1, "re-activated" }, { 0, NULL } }; static int dissect_x2ap_UserPlaneTrafficActivityReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ERABActivityNotifyItem_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_activityReport , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UserPlaneTrafficActivityReport }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ERABActivityNotifyItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ERABActivityNotifyItem, ERABActivityNotifyItem_sequence); return offset; } static const per_sequence_t ERABActivityNotifyItemList_sequence_of[1] = { { &hf_x2ap_ERABActivityNotifyItemList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ERABActivityNotifyItem }, }; static int dissect_x2ap_ERABActivityNotifyItemList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ERABActivityNotifyItemList, ERABActivityNotifyItemList_sequence_of, 0, maxnoofBearers, FALSE); return offset; } static int dissect_x2ap_QCI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, FALSE); return offset; } static const per_sequence_t GBR_QosInformation_sequence[] = { { &hf_x2ap_e_RAB_MaximumBitrateDL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_e_RAB_MaximumBitrateUL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_e_RAB_GuaranteedBitrateDL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_e_RAB_GuaranteedBitrateUL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_GBR_QosInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_GBR_QosInformation, GBR_QosInformation_sequence); return offset; } static const per_sequence_t E_RAB_Level_QoS_Parameters_sequence[] = { { &hf_x2ap_qCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_QCI }, { &hf_x2ap_allocationAndRetentionPriority, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_AllocationAndRetentionPriority }, { &hf_x2ap_gbrQosInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GBR_QosInformation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RAB_Level_QoS_Parameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RAB_Level_QoS_Parameters, E_RAB_Level_QoS_Parameters_sequence); return offset; } static const per_sequence_t E_RAB_List_sequence_of[1] = { { &hf_x2ap_E_RAB_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RAB_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RAB_List, E_RAB_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RAB_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_cause , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Cause }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RAB_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RAB_Item, E_RAB_Item_sequence); return offset; } static const per_sequence_t E_RABsSubjectToEarlyStatusTransfer_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_fIRST_DL_COUNTValue, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_COUNTvalue }, { &hf_x2ap_fIRST_DL_COUNTValueExtended, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_COUNTValueExtended }, { &hf_x2ap_fIRST_DL_COUNTValueforPDCPSNLength18, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_COUNTvaluePDCP_SNlength18 }, { &hf_x2ap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABsSubjectToEarlyStatusTransfer_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABsSubjectToEarlyStatusTransfer_Item, E_RABsSubjectToEarlyStatusTransfer_Item_sequence); return offset; } static const per_sequence_t E_RABsSubjectToEarlyStatusTransfer_List_sequence_of[1] = { { &hf_x2ap_E_RABsSubjectToEarlyStatusTransfer_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RABsSubjectToEarlyStatusTransfer_Item }, }; static int dissect_x2ap_E_RABsSubjectToEarlyStatusTransfer_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABsSubjectToEarlyStatusTransfer_List, E_RABsSubjectToEarlyStatusTransfer_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABsSubjectToDLDiscarding_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_dISCARD_DL_COUNTValue, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_COUNTvalue }, { &hf_x2ap_dISCARD_DL_COUNTValueExtended, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_COUNTValueExtended }, { &hf_x2ap_dISCARD_DL_COUNTValueforPDCPSNLength18, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_COUNTvaluePDCP_SNlength18 }, { &hf_x2ap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABsSubjectToDLDiscarding_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABsSubjectToDLDiscarding_Item, E_RABsSubjectToDLDiscarding_Item_sequence); return offset; } static const per_sequence_t E_RABsSubjectToDLDiscarding_List_sequence_of[1] = { { &hf_x2ap_E_RABsSubjectToDLDiscarding_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RABsSubjectToDLDiscarding_Item }, }; static int dissect_x2ap_E_RABsSubjectToDLDiscarding_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABsSubjectToDLDiscarding_List, E_RABsSubjectToDLDiscarding_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABUsageReportList_sequence_of[1] = { { &hf_x2ap_E_RABUsageReportList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABUsageReportList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABUsageReportList, E_RABUsageReportList_sequence_of, 1, maxnooftimeperiods, FALSE); return offset; } static int dissect_x2ap_T_startTimeStamp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *timestamp_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, &timestamp_tvb); if (timestamp_tvb) { proto_item_append_text(actx->created_item, " (%s)", tvb_ntp_fmt_ts_sec(timestamp_tvb, 0)); } return offset; } static int dissect_x2ap_T_endTimeStamp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *timestamp_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, &timestamp_tvb); if (timestamp_tvb) { proto_item_append_text(actx->created_item, " (%s)", tvb_ntp_fmt_ts_sec(timestamp_tvb, 0)); } return offset; } static int dissect_x2ap_INTEGER_0_18446744073709551615(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer_64b(tvb, offset, actx, tree, hf_index, 0U, G_GUINT64_CONSTANT(18446744073709551615), NULL, FALSE); return offset; } static const per_sequence_t E_RABUsageReport_Item_sequence[] = { { &hf_x2ap_startTimeStamp , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_startTimeStamp }, { &hf_x2ap_endTimeStamp , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_endTimeStamp }, { &hf_x2ap_usageCountUL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_18446744073709551615 }, { &hf_x2ap_usageCountDL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_18446744073709551615 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABUsageReport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABUsageReport_Item, E_RABUsageReport_Item_sequence); return offset; } static const value_string x2ap_Ethernet_Type_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_Ethernet_Type(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_Transmission_Bandwidth_vals[] = { { 0, "bw6" }, { 1, "bw15" }, { 2, "bw25" }, { 3, "bw50" }, { 4, "bw75" }, { 5, "bw100" }, { 6, "bw1" }, { 0, NULL } }; static int dissect_x2ap_Transmission_Bandwidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, TRUE, 1, NULL); return offset; } static const per_sequence_t FDD_Info_sequence[] = { { &hf_x2ap_uL_EARFCN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EARFCN }, { &hf_x2ap_dL_EARFCN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EARFCN }, { &hf_x2ap_uL_Transmission_Bandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Transmission_Bandwidth }, { &hf_x2ap_dL_Transmission_Bandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Transmission_Bandwidth }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_FDD_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_FDD_Info, FDD_Info_sequence); return offset; } static const value_string x2ap_SubframeAssignment_vals[] = { { 0, "sa0" }, { 1, "sa1" }, { 2, "sa2" }, { 3, "sa3" }, { 4, "sa4" }, { 5, "sa5" }, { 6, "sa6" }, { 0, NULL } }; static int dissect_x2ap_SubframeAssignment(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_SpecialSubframePatterns_vals[] = { { 0, "ssp0" }, { 1, "ssp1" }, { 2, "ssp2" }, { 3, "ssp3" }, { 4, "ssp4" }, { 5, "ssp5" }, { 6, "ssp6" }, { 7, "ssp7" }, { 8, "ssp8" }, { 0, NULL } }; static int dissect_x2ap_SpecialSubframePatterns(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 9, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SpecialSubframe_Info_sequence[] = { { &hf_x2ap_specialSubframePatterns, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SpecialSubframePatterns }, { &hf_x2ap_cyclicPrefixDL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CyclicPrefixDL }, { &hf_x2ap_cyclicPrefixUL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CyclicPrefixUL }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SpecialSubframe_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SpecialSubframe_Info, SpecialSubframe_Info_sequence); return offset; } static const per_sequence_t TDD_Info_sequence[] = { { &hf_x2ap_eARFCN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EARFCN }, { &hf_x2ap_transmission_Bandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Transmission_Bandwidth }, { &hf_x2ap_subframeAssignment, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SubframeAssignment }, { &hf_x2ap_specialSubframe_Info, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SpecialSubframe_Info }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TDD_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TDD_Info, TDD_Info_sequence); return offset; } static const value_string x2ap_EUTRA_Mode_Info_vals[] = { { 0, "fDD" }, { 1, "tDD" }, { 0, NULL } }; static const per_choice_t EUTRA_Mode_Info_choice[] = { { 0, &hf_x2ap_fDD , ASN1_EXTENSION_ROOT , dissect_x2ap_FDD_Info }, { 1, &hf_x2ap_tDD , ASN1_EXTENSION_ROOT , dissect_x2ap_TDD_Info }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_EUTRA_Mode_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_EUTRA_Mode_Info, EUTRA_Mode_Info_choice, NULL); return offset; } static int dissect_x2ap_EUTRANTraceID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EUTRANTraceID); dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_NONE, FALSE); proto_tree_add_item(subtree, hf_x2ap_eUTRANTraceID_TraceID, parameter_tvb, 3, 3, ENC_BIG_ENDIAN); proto_tree_add_item(subtree, hf_x2ap_eUTRANTraceID_TraceRecordingSessionReference, parameter_tvb, 6, 2, ENC_BIG_ENDIAN); return offset; } static const value_string x2ap_EventType_vals[] = { { 0, "change-of-serving-cell" }, { 0, NULL } }; static int dissect_x2ap_EventType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_ExpectedActivityPeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 181U, NULL, TRUE); return offset; } static int dissect_x2ap_ExpectedIdlePeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 181U, NULL, TRUE); return offset; } static const value_string x2ap_SourceOfUEActivityBehaviourInformation_vals[] = { { 0, "subscription-information" }, { 1, "statistics" }, { 0, NULL } }; static int dissect_x2ap_SourceOfUEActivityBehaviourInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ExpectedUEActivityBehaviour_sequence[] = { { &hf_x2ap_expectedActivityPeriod, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ExpectedActivityPeriod }, { &hf_x2ap_expectedIdlePeriod, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ExpectedIdlePeriod }, { &hf_x2ap_sourceofUEActivityBehaviourInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SourceOfUEActivityBehaviourInformation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ExpectedUEActivityBehaviour(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ExpectedUEActivityBehaviour, ExpectedUEActivityBehaviour_sequence); return offset; } static const value_string x2ap_ExpectedHOInterval_vals[] = { { 0, "sec15" }, { 1, "sec30" }, { 2, "sec60" }, { 3, "sec90" }, { 4, "sec120" }, { 5, "sec180" }, { 6, "long-time" }, { 0, NULL } }; static int dissect_x2ap_ExpectedHOInterval(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ExpectedUEBehaviour_sequence[] = { { &hf_x2ap_expectedActivity, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ExpectedUEActivityBehaviour }, { &hf_x2ap_expectedHOInterval, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ExpectedHOInterval }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ExpectedUEBehaviour(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ExpectedUEBehaviour, ExpectedUEBehaviour_sequence); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_5(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 5, 5, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_UL_InterferenceOverloadIndication_Item_vals[] = { { 0, "high-interference" }, { 1, "medium-interference" }, { 2, "low-interference" }, { 0, NULL } }; static int dissect_x2ap_UL_InterferenceOverloadIndication_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t UL_InterferenceOverloadIndication_sequence_of[1] = { { &hf_x2ap_UL_InterferenceOverloadIndication_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_InterferenceOverloadIndication_Item }, }; static int dissect_x2ap_UL_InterferenceOverloadIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_UL_InterferenceOverloadIndication, UL_InterferenceOverloadIndication_sequence_of, 1, maxnoofPRBs, FALSE); return offset; } static const per_sequence_t ExtendedULInterferenceOverloadInfo_sequence[] = { { &hf_x2ap_associatedSubframes, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_5 }, { &hf_x2ap_extended_ul_InterferenceOverloadIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_InterferenceOverloadIndication }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ExtendedULInterferenceOverloadInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ExtendedULInterferenceOverloadInfo, ExtendedULInterferenceOverloadInfo_sequence); return offset; } static int dissect_x2ap_ExtendedBitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer_64b(tvb, offset, actx, tree, hf_index, 10000000001U, G_GUINT64_CONSTANT(4000000000000), NULL, TRUE); return offset; } static int dissect_x2ap_F1CTrafficContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static int dissect_x2ap_RRCContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; switch (x2ap_data->rrc_container_type) { case RRC_CONTAINER_TYPE_NR_UE_MEAS_REPORT: subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_RRCContainer); dissect_nr_rrc_UL_DCCH_Message_PDU(parameter_tvb, actx->pinfo, subtree, NULL); break; case RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_SgNB_TO_MeNB: subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_RRCContainer); dissect_lte_rrc_UL_DCCH_Message_PDU(parameter_tvb, actx->pinfo, subtree, NULL); break; case RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_MeNB_TO_SgNB: subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_RRCContainer); dissect_lte_rrc_DL_DCCH_Message_PDU(parameter_tvb, actx->pinfo, subtree, NULL); break; default: break; } x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_UNKNOWN; return offset; } static const per_sequence_t FastMCGRecovery_sequence[] = { { &hf_x2ap_rrcContainer , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_RRCContainer }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_FastMCGRecovery(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); if (x2ap_data->protocol_ie_id == id_FastMCGRecovery_SN_to_MN) x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_SgNB_TO_MeNB; else if (x2ap_data->protocol_ie_id == id_FastMCGRecovery_MN_to_SN) x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_MeNB_TO_SgNB; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_FastMCGRecovery, FastMCGRecovery_sequence); return offset; } static int dissect_x2ap_INTEGER_0_3279165(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 3279165U, NULL, FALSE); return offset; } static int dissect_x2ap_INTEGER_1_1024_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 1024U, NULL, TRUE); return offset; } static const per_sequence_t SupportedSULFreqBandItem_sequence[] = { { &hf_x2ap_freqBandIndicatorNr, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_1024_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SupportedSULFreqBandItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SupportedSULFreqBandItem, SupportedSULFreqBandItem_sequence); return offset; } static const per_sequence_t SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem_sequence_of[1] = { { &hf_x2ap_supportedSULBandList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_SupportedSULFreqBandItem }, }; static int dissect_x2ap_SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem, SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem_sequence_of, 0, maxnoofNrCellBands, FALSE); return offset; } static const per_sequence_t FreqBandNrItem_sequence[] = { { &hf_x2ap_freqBandIndicatorNr, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_1024_ }, { &hf_x2ap_supportedSULBandList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_FreqBandNrItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_FreqBandNrItem, FreqBandNrItem_sequence); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem_sequence_of[1] = { { &hf_x2ap_freqBandListNr_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_FreqBandNrItem }, }; static int dissect_x2ap_SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem, SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem_sequence_of, 1, maxnoofNrCellBands, FALSE); return offset; } static const value_string x2ap_NRSCS_vals[] = { { 0, "scs15" }, { 1, "scs30" }, { 2, "scs60" }, { 3, "scs120" }, { 0, NULL } }; static int dissect_x2ap_NRSCS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_NRNRB_vals[] = { { 0, "nrb11" }, { 1, "nrb18" }, { 2, "nrb24" }, { 3, "nrb25" }, { 4, "nrb31" }, { 5, "nrb32" }, { 6, "nrb38" }, { 7, "nrb51" }, { 8, "nrb52" }, { 9, "nrb65" }, { 10, "nrb66" }, { 11, "nrb78" }, { 12, "nrb79" }, { 13, "nrb93" }, { 14, "nrb106" }, { 15, "nrb107" }, { 16, "nrb121" }, { 17, "nrb132" }, { 18, "nrb133" }, { 19, "nrb135" }, { 20, "nrb160" }, { 21, "nrb162" }, { 22, "nrb189" }, { 23, "nrb216" }, { 24, "nrb217" }, { 25, "nrb245" }, { 26, "nrb264" }, { 27, "nrb270" }, { 28, "nrb273" }, { 29, "nrb44" }, { 30, "nrb58" }, { 31, "nrb92" }, { 32, "nrb119" }, { 33, "nrb188" }, { 34, "nrb242" }, { 0, NULL } }; static value_string_ext x2ap_NRNRB_vals_ext = VALUE_STRING_EXT_INIT(x2ap_NRNRB_vals); static int dissect_x2ap_NRNRB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 29, NULL, TRUE, 6, NULL); return offset; } static const per_sequence_t NR_TxBW_sequence[] = { { &hf_x2ap_nRSCS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRSCS }, { &hf_x2ap_nRNRB , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRNRB }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NR_TxBW(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NR_TxBW, NR_TxBW_sequence); return offset; } static const per_sequence_t SULInformation_sequence[] = { { &hf_x2ap_sUL_ARFCN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_3279165 }, { &hf_x2ap_sUL_TxBW , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NR_TxBW }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SULInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SULInformation, SULInformation_sequence); return offset; } static const per_sequence_t NRFreqInfo_sequence[] = { { &hf_x2ap_nRARFCN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_3279165 }, { &hf_x2ap_freqBandListNr , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem }, { &hf_x2ap_sULInformation , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SULInformation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRFreqInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRFreqInfo, NRFreqInfo_sequence); return offset; } static const per_sequence_t FDD_InfoNeighbourServedNRCell_Information_sequence[] = { { &hf_x2ap_ul_NRFreqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRFreqInfo }, { &hf_x2ap_dl_NRFreqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRFreqInfo }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_FDD_InfoNeighbourServedNRCell_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_FDD_InfoNeighbourServedNRCell_Information, FDD_InfoNeighbourServedNRCell_Information_sequence); return offset; } static int dissect_x2ap_FiveQI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, TRUE); return offset; } static const value_string x2ap_ForbiddenInterRATs_vals[] = { { 0, "all" }, { 1, "geran" }, { 2, "utran" }, { 3, "cdma2000" }, { 4, "geranandutran" }, { 5, "cdma2000andutran" }, { 0, NULL } }; static int dissect_x2ap_ForbiddenInterRATs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 2, NULL); return offset; } static const per_sequence_t ForbiddenTACs_sequence_of[1] = { { &hf_x2ap_ForbiddenTACs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TAC }, }; static int dissect_x2ap_ForbiddenTACs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ForbiddenTACs, ForbiddenTACs_sequence_of, 1, maxnoofForbTACs, FALSE); return offset; } static const per_sequence_t ForbiddenTAs_Item_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_forbiddenTACs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ForbiddenTACs }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ForbiddenTAs_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ForbiddenTAs_Item, ForbiddenTAs_Item_sequence); return offset; } static const per_sequence_t ForbiddenTAs_sequence_of[1] = { { &hf_x2ap_ForbiddenTAs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ForbiddenTAs_Item }, }; static int dissect_x2ap_ForbiddenTAs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ForbiddenTAs, ForbiddenTAs_sequence_of, 1, maxnoofEPLMNsPlusOne, FALSE); return offset; } static int dissect_x2ap_LAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 2, 2, FALSE, &parameter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t ForbiddenLACs_sequence_of[1] = { { &hf_x2ap_ForbiddenLACs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_LAC }, }; static int dissect_x2ap_ForbiddenLACs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ForbiddenLACs, ForbiddenLACs_sequence_of, 1, maxnoofForbLACs, FALSE); return offset; } static const per_sequence_t ForbiddenLAs_Item_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_forbiddenLACs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ForbiddenLACs }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ForbiddenLAs_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ForbiddenLAs_Item, ForbiddenLAs_Item_sequence); return offset; } static const per_sequence_t ForbiddenLAs_sequence_of[1] = { { &hf_x2ap_ForbiddenLAs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ForbiddenLAs_Item }, }; static int dissect_x2ap_ForbiddenLAs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ForbiddenLAs, ForbiddenLAs_sequence_of, 1, maxnoofEPLMNsPlusOne, FALSE); return offset; } static int dissect_x2ap_Fourframes(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 24, 24, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_FreqBandIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 256U, NULL, TRUE); return offset; } static const value_string x2ap_FreqBandIndicatorPriority_vals[] = { { 0, "not-broadcasted" }, { 1, "broadcasted" }, { 0, NULL } }; static int dissect_x2ap_FreqBandIndicatorPriority(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_FrequencyShift7p5khz_vals[] = { { 0, "false" }, { 1, "true" }, { 0, NULL } }; static int dissect_x2ap_FrequencyShift7p5khz(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_Global_RAN_NODE_ID_vals[] = { { 0, "gNB" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t Global_RAN_NODE_ID_choice[] = { { 0, &hf_x2ap_gNB , ASN1_NO_EXTENSIONS , dissect_x2ap_GlobalGNB_ID }, { 1, &hf_x2ap_choice_extension, ASN1_NO_EXTENSIONS , dissect_x2ap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_Global_RAN_NODE_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_Global_RAN_NODE_ID, Global_RAN_NODE_ID_choice, NULL); return offset; } static const value_string x2ap_GNBOverloadInformation_vals[] = { { 0, "overloaded" }, { 1, "not-overloaded" }, { 0, NULL } }; static int dissect_x2ap_GNBOverloadInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t GTPTLA_Item_sequence[] = { { &hf_x2ap_gTPTransportLayerAddresses, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TransportLayerAddress }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_GTPTLA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_GTPTLA_Item, GTPTLA_Item_sequence); return offset; } static const per_sequence_t GTPTLAs_sequence_of[1] = { { &hf_x2ap_GTPTLAs_item , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPTLA_Item }, }; static int dissect_x2ap_GTPTLAs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_GTPTLAs, GTPTLAs_sequence_of, 1, maxnoofGTPTLAs, FALSE); return offset; } static int dissect_x2ap_MME_Group_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 2, 2, FALSE, &parameter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t GU_Group_ID_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_mME_Group_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_MME_Group_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_GU_Group_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_GU_Group_ID, GU_Group_ID_sequence); return offset; } static const per_sequence_t GUGroupIDList_sequence_of[1] = { { &hf_x2ap_GUGroupIDList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_GU_Group_ID }, }; static int dissect_x2ap_GUGroupIDList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_GUGroupIDList, GUGroupIDList_sequence_of, 1, maxPools, FALSE); return offset; } static int dissect_x2ap_MME_Code(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 1, 1, FALSE, &parameter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 1, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t GUMMEI_sequence[] = { { &hf_x2ap_gU_Group_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GU_Group_ID }, { &hf_x2ap_mME_Code , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_MME_Code }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_GUMMEI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); x2ap_data->number_type = E212_GUMMEI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_GUMMEI, GUMMEI_sequence); return offset; } static const value_string x2ap_HandoverReportType_vals[] = { { 0, "hoTooEarly" }, { 1, "hoToWrongCell" }, { 2, "interRATpingpong" }, { 3, "interSystemPingpong" }, { 0, NULL } }; static int dissect_x2ap_HandoverReportType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 2, NULL); return offset; } static const per_sequence_t HandoverRestrictionList_sequence[] = { { &hf_x2ap_servingPLMN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_equivalentPLMNs, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_EPLMNs }, { &hf_x2ap_forbiddenTAs , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ForbiddenTAs }, { &hf_x2ap_forbiddenLAs , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ForbiddenLAs }, { &hf_x2ap_forbiddenInterRATs, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ForbiddenInterRATs }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_HandoverRestrictionList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_HandoverRestrictionList, HandoverRestrictionList_sequence); return offset; } static const value_string x2ap_LoadIndicator_vals[] = { { 0, "lowLoad" }, { 1, "mediumLoad" }, { 2, "highLoad" }, { 3, "overLoad" }, { 0, NULL } }; static int dissect_x2ap_LoadIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t HWLoadIndicator_sequence[] = { { &hf_x2ap_dLHWLoadIndicator, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_LoadIndicator }, { &hf_x2ap_uLHWLoadIndicator, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_LoadIndicator }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_HWLoadIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_HWLoadIndicator, HWLoadIndicator_sequence); return offset; } static const value_string x2ap_IABNodeIndication_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_IABNodeIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_IMSvoiceEPSfallbackfrom5G_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_IMSvoiceEPSfallbackfrom5G(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_IntegrityProtectionAlgorithms(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, TRUE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_integrityProtectionAlgorithms_EIA1, &hf_x2ap_integrityProtectionAlgorithms_EIA2, &hf_x2ap_integrityProtectionAlgorithms_EIA3, &hf_x2ap_integrityProtectionAlgorithms_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_IntegrityProtectionAlgorithms); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string x2ap_IntegrityProtectionIndication_vals[] = { { 0, "required" }, { 1, "preferred" }, { 2, "notneeded" }, { 0, NULL } }; static int dissect_x2ap_IntegrityProtectionIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_IntegrityProtectionResult_vals[] = { { 0, "performed" }, { 1, "notperformed" }, { 0, NULL } }; static int dissect_x2ap_IntegrityProtectionResult(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_IntendedTDD_DL_ULConfiguration_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_IntendedTDD_DL_ULConfiguration_NR); dissect_xnap_IntendedTDD_DL_ULConfiguration_NR_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_InterfaceInstanceIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, TRUE); return offset; } static int dissect_x2ap_InterfacesToTrace(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_interfacesToTrace_S1_MME, &hf_x2ap_interfacesToTrace_X2, &hf_x2ap_interfacesToTrace_Uu, &hf_x2ap_interfacesToTrace_F1_C, &hf_x2ap_interfacesToTrace_E1, &hf_x2ap_interfacesToTrace_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_InterfacesToTrace); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string x2ap_InvokeIndication_vals[] = { { 0, "abs-information" }, { 1, "naics-information-start" }, { 2, "naics-information-stop" }, { 0, NULL } }; static int dissect_x2ap_InvokeIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 2, NULL); return offset; } static int dissect_x2ap_LastVisitedPSCell_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_LastVisitedPSCell_Item); dissect_s1ap_PSCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_Time_UE_StayedInCell(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, FALSE); return offset; } static const per_sequence_t LastVisitedEUTRANCellInformation_sequence[] = { { &hf_x2ap_global_Cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_cellType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CellType }, { &hf_x2ap_time_UE_StayedInCell, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Time_UE_StayedInCell }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_LastVisitedEUTRANCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_LastVisitedEUTRANCellInformation, LastVisitedEUTRANCellInformation_sequence); return offset; } static int dissect_x2ap_LastVisitedUTRANCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_LastVisitedUTRANCellInformation); dissect_ranap_LastVisitedUTRANCell_Item_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const value_string x2ap_LastVisitedGERANCellInformation_vals[] = { { 0, "undefined" }, { 0, NULL } }; static const per_choice_t LastVisitedGERANCellInformation_choice[] = { { 0, &hf_x2ap_undefined , ASN1_EXTENSION_ROOT , dissect_x2ap_NULL }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_LastVisitedGERANCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_LastVisitedGERANCellInformation, LastVisitedGERANCellInformation_choice, NULL); return offset; } static int dissect_x2ap_LastVisitedNGRANCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_LastVisitedNGRANCellInformation); dissect_ngap_LastVisitedNGRANCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const value_string x2ap_LastVisitedCell_Item_vals[] = { { 0, "e-UTRAN-Cell" }, { 1, "uTRAN-Cell" }, { 2, "gERAN-Cell" }, { 3, "nG-RAN-Cell" }, { 0, NULL } }; static const per_choice_t LastVisitedCell_Item_choice[] = { { 0, &hf_x2ap_e_UTRAN_Cell , ASN1_EXTENSION_ROOT , dissect_x2ap_LastVisitedEUTRANCellInformation }, { 1, &hf_x2ap_uTRAN_Cell , ASN1_EXTENSION_ROOT , dissect_x2ap_LastVisitedUTRANCellInformation }, { 2, &hf_x2ap_gERAN_Cell , ASN1_EXTENSION_ROOT , dissect_x2ap_LastVisitedGERANCellInformation }, { 3, &hf_x2ap_nG_RAN_Cell , ASN1_NOT_EXTENSION_ROOT, dissect_x2ap_LastVisitedNGRANCellInformation }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_LastVisitedCell_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_LastVisitedCell_Item, LastVisitedCell_Item_choice, NULL); return offset; } static int dissect_x2ap_LCID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 32U, NULL, TRUE); return offset; } static int dissect_x2ap_LHN_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 32, 256, FALSE, &parameter_tvb); actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA); return offset; } static const value_string x2ap_Links_to_log_vals[] = { { 0, "uplink" }, { 1, "downlink" }, { 2, "both-uplink-and-downlink" }, { 0, NULL } }; static int dissect_x2ap_Links_to_log(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t LocationInformationSgNB_sequence[] = { { &hf_x2ap_pSCell_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_LocationInformationSgNB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_LocationInformationSgNB, LocationInformationSgNB_sequence); return offset; } static const value_string x2ap_LocationInformationSgNBReporting_vals[] = { { 0, "pSCell" }, { 0, NULL } }; static int dissect_x2ap_LocationInformationSgNBReporting(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_ReportArea_vals[] = { { 0, "ecgi" }, { 0, NULL } }; static int dissect_x2ap_ReportArea(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t LocationReportingInformation_sequence[] = { { &hf_x2ap_eventType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EventType }, { &hf_x2ap_reportArea , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ReportArea }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_LocationReportingInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_LocationReportingInformation, LocationReportingInformation_sequence); return offset; } static const value_string x2ap_LowerLayerPresenceStatusChange_vals[] = { { 0, "release-lower-layers" }, { 1, "re-establish-lower-layers" }, { 2, "suspend-lower-layers" }, { 3, "resume-lower-layers" }, { 0, NULL } }; static int dissect_x2ap_LowerLayerPresenceStatusChange(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_ReportIntervalMDT_vals[] = { { 0, "ms120" }, { 1, "ms240" }, { 2, "ms480" }, { 3, "ms640" }, { 4, "ms1024" }, { 5, "ms2048" }, { 6, "ms5120" }, { 7, "ms10240" }, { 8, "min1" }, { 9, "min6" }, { 10, "min12" }, { 11, "min30" }, { 12, "min60" }, { 0, NULL } }; static int dissect_x2ap_ReportIntervalMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 13, NULL, FALSE, 0, NULL); return offset; } static const value_string x2ap_ReportAmountMDT_vals[] = { { 0, "r1" }, { 1, "r2" }, { 2, "r4" }, { 3, "r8" }, { 4, "r16" }, { 5, "r32" }, { 6, "r64" }, { 7, "rinfinity" }, { 0, NULL } }; static int dissect_x2ap_ReportAmountMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, FALSE, 0, NULL); return offset; } static const per_sequence_t M1PeriodicReporting_sequence[] = { { &hf_x2ap_reportInterval , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ReportIntervalMDT }, { &hf_x2ap_reportAmount , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ReportAmountMDT }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_M1PeriodicReporting(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_M1PeriodicReporting, M1PeriodicReporting_sequence); return offset; } static const value_string x2ap_M1ReportingTrigger_vals[] = { { 0, "periodic" }, { 1, "a2eventtriggered" }, { 2, "a2eventtriggered-periodic" }, { 0, NULL } }; static int dissect_x2ap_M1ReportingTrigger(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 1, NULL); return offset; } static int dissect_x2ap_Threshold_RSRP(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 97U, NULL, FALSE); return offset; } static int dissect_x2ap_Threshold_RSRQ(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 34U, NULL, FALSE); return offset; } static const value_string x2ap_MeasurementThresholdA2_vals[] = { { 0, "threshold-RSRP" }, { 1, "threshold-RSRQ" }, { 0, NULL } }; static const per_choice_t MeasurementThresholdA2_choice[] = { { 0, &hf_x2ap_threshold_RSRP , ASN1_EXTENSION_ROOT , dissect_x2ap_Threshold_RSRP }, { 1, &hf_x2ap_threshold_RSRQ , ASN1_EXTENSION_ROOT , dissect_x2ap_Threshold_RSRQ }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_MeasurementThresholdA2(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_MeasurementThresholdA2, MeasurementThresholdA2_choice, NULL); return offset; } static const per_sequence_t M1ThresholdEventA2_sequence[] = { { &hf_x2ap_measurementThreshold, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_MeasurementThresholdA2 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_M1ThresholdEventA2(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_M1ThresholdEventA2, M1ThresholdEventA2_sequence); return offset; } static const value_string x2ap_M3period_vals[] = { { 0, "ms100" }, { 1, "ms1000" }, { 2, "ms10000" }, { 0, NULL } }; static int dissect_x2ap_M3period(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t M3Configuration_sequence[] = { { &hf_x2ap_m3period , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_M3period }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_M3Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_M3Configuration, M3Configuration_sequence); return offset; } static const value_string x2ap_M4period_vals[] = { { 0, "ms1024" }, { 1, "ms2048" }, { 2, "ms5120" }, { 3, "ms10240" }, { 4, "min1" }, { 0, NULL } }; static int dissect_x2ap_M4period(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t M4Configuration_sequence[] = { { &hf_x2ap_m4period , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_M4period }, { &hf_x2ap_m4_links_to_log, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Links_to_log }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_M4Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_M4Configuration, M4Configuration_sequence); return offset; } static const value_string x2ap_M5period_vals[] = { { 0, "ms1024" }, { 1, "ms2048" }, { 2, "ms5120" }, { 3, "ms10240" }, { 4, "min1" }, { 0, NULL } }; static int dissect_x2ap_M5period(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t M5Configuration_sequence[] = { { &hf_x2ap_m5period , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_M5period }, { &hf_x2ap_m5_links_to_log, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Links_to_log }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_M5Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_M5Configuration, M5Configuration_sequence); return offset; } static const value_string x2ap_M6report_interval_vals[] = { { 0, "ms1024" }, { 1, "ms2048" }, { 2, "ms5120" }, { 3, "ms10240" }, { 0, NULL } }; static int dissect_x2ap_M6report_interval(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_M6delay_threshold_vals[] = { { 0, "ms30" }, { 1, "ms40" }, { 2, "ms50" }, { 3, "ms60" }, { 4, "ms70" }, { 5, "ms80" }, { 6, "ms90" }, { 7, "ms100" }, { 8, "ms150" }, { 9, "ms300" }, { 10, "ms500" }, { 11, "ms750" }, { 0, NULL } }; static int dissect_x2ap_M6delay_threshold(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 12, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t M6Configuration_sequence[] = { { &hf_x2ap_m6report_interval, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_M6report_interval }, { &hf_x2ap_m6delay_threshold, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_M6delay_threshold }, { &hf_x2ap_m6_links_to_log, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Links_to_log }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_M6Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_M6Configuration, M6Configuration_sequence); return offset; } static int dissect_x2ap_M7period(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 60U, NULL, TRUE); return offset; } static const per_sequence_t M7Configuration_sequence[] = { { &hf_x2ap_m7period , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_M7period }, { &hf_x2ap_m7_links_to_log, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Links_to_log }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_M7Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_M7Configuration, M7Configuration_sequence); return offset; } static const value_string x2ap_MakeBeforeBreakIndicator_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_MakeBeforeBreakIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_ManagementBasedMDTallowed_vals[] = { { 0, "allowed" }, { 0, NULL } }; static int dissect_x2ap_ManagementBasedMDTallowed(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_Masked_IMEISV(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 64, 64, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_MDT_Activation_vals[] = { { 0, "immediate-MDT-only" }, { 1, "immediate-MDT-and-Trace" }, { 0, NULL } }; static int dissect_x2ap_MDT_Activation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_MeasurementsToActivate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_measurementsToActivate_M1, &hf_x2ap_measurementsToActivate_M2, &hf_x2ap_measurementsToActivate_M3, &hf_x2ap_measurementsToActivate_M4, &hf_x2ap_measurementsToActivate_M5, &hf_x2ap_measurementsToActivate_LoggingM1FromEventTriggered, &hf_x2ap_measurementsToActivate_M6, &hf_x2ap_measurementsToActivate_M7, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MeasurementsToActivate); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t MDT_Configuration_sequence[] = { { &hf_x2ap_mdt_Activation , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_MDT_Activation }, { &hf_x2ap_areaScopeOfMDT , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_AreaScopeOfMDT }, { &hf_x2ap_measurementsToActivate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_MeasurementsToActivate }, { &hf_x2ap_m1reportingTrigger, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_M1ReportingTrigger }, { &hf_x2ap_m1thresholdeventA2, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_M1ThresholdEventA2 }, { &hf_x2ap_m1periodicReporting, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_M1PeriodicReporting }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MDT_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MDT_Configuration, MDT_Configuration_sequence); return offset; } static const per_sequence_t MDTPLMNList_sequence_of[1] = { { &hf_x2ap_MDTPLMNList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, }; static int dissect_x2ap_MDTPLMNList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_MDTPLMNList, MDTPLMNList_sequence_of, 1, maxnoofMDTPLMNs, FALSE); return offset; } static int dissect_x2ap_MDT_Location_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_MDT_Location_Info_GNSS, &hf_x2ap_MDT_Location_Info_E_CID, &hf_x2ap_MDT_Location_Info_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MDT_Location_Info); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static int dissect_x2ap_Measurement_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 4095U, NULL, TRUE); return offset; } static int dissect_x2ap_Measurement_ID_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 4095U, NULL, TRUE); return offset; } static const value_string x2ap_MeNBCoordinationAssistanceInformation_vals[] = { { 0, "coordination-not-required" }, { 0, NULL } }; static int dissect_x2ap_MeNBCoordinationAssistanceInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t MeNBResourceCoordinationInformation_sequence[] = { { &hf_x2ap_eUTRA_Cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_uLCoordinationInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_6_4400_ }, { &hf_x2ap_dLCoordinationInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_BIT_STRING_SIZE_6_4400_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MeNBResourceCoordinationInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MeNBResourceCoordinationInformation, MeNBResourceCoordinationInformation_sequence); return offset; } static int dissect_x2ap_MeNBtoSeNBContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MeNBtoSeNBContainer); dissect_lte_rrc_SCG_ConfigInfo_r12_PDU(parameter_tvb, actx->pinfo, subtree, NULL); return offset; } static int dissect_x2ap_MBMS_Service_Area_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 2, 2, FALSE, NULL); return offset; } static const per_sequence_t MBMS_Service_Area_Identity_List_sequence_of[1] = { { &hf_x2ap_MBMS_Service_Area_Identity_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_MBMS_Service_Area_Identity }, }; static int dissect_x2ap_MBMS_Service_Area_Identity_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_MBMS_Service_Area_Identity_List, MBMS_Service_Area_Identity_List_sequence_of, 1, maxnoofMBMSServiceAreaIdentities, FALSE); return offset; } static const value_string x2ap_RadioframeAllocationPeriod_vals[] = { { 0, "n1" }, { 1, "n2" }, { 2, "n4" }, { 3, "n8" }, { 4, "n16" }, { 5, "n32" }, { 0, NULL } }; static int dissect_x2ap_RadioframeAllocationPeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_RadioframeAllocationOffset(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 7U, NULL, TRUE); return offset; } static int dissect_x2ap_Oneframe(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 6, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_SubframeAllocation_vals[] = { { 0, "oneframe" }, { 1, "fourframes" }, { 0, NULL } }; static const per_choice_t SubframeAllocation_choice[] = { { 0, &hf_x2ap_oneframe , ASN1_EXTENSION_ROOT , dissect_x2ap_Oneframe }, { 1, &hf_x2ap_fourframes , ASN1_EXTENSION_ROOT , dissect_x2ap_Fourframes }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_SubframeAllocation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_SubframeAllocation, SubframeAllocation_choice, NULL); return offset; } static const per_sequence_t MBSFN_Subframe_Info_sequence[] = { { &hf_x2ap_radioframeAllocationPeriod, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RadioframeAllocationPeriod }, { &hf_x2ap_radioframeAllocationOffset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RadioframeAllocationOffset }, { &hf_x2ap_subframeAllocation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SubframeAllocation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MBSFN_Subframe_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MBSFN_Subframe_Info, MBSFN_Subframe_Info_sequence); return offset; } static const per_sequence_t MBSFN_Subframe_Infolist_sequence_of[1] = { { &hf_x2ap_MBSFN_Subframe_Infolist_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_MBSFN_Subframe_Info }, }; static int dissect_x2ap_MBSFN_Subframe_Infolist(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_MBSFN_Subframe_Infolist, MBSFN_Subframe_Infolist_sequence_of, 1, maxnoofMBSFN, FALSE); return offset; } static int dissect_x2ap_MDT_ConfigurationNR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MDT_ConfigurationNR); dissect_ngap_MDT_Configuration_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_INTEGER_M20_20(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, -20, 20U, NULL, FALSE); return offset; } static const per_sequence_t MobilityParametersModificationRange_sequence[] = { { &hf_x2ap_handoverTriggerChangeLowerLimit, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_M20_20 }, { &hf_x2ap_handoverTriggerChangeUpperLimit, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_M20_20 }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MobilityParametersModificationRange(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MobilityParametersModificationRange, MobilityParametersModificationRange_sequence); return offset; } static const per_sequence_t MobilityParametersInformation_sequence[] = { { &hf_x2ap_handoverTriggerChange, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_M20_20 }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MobilityParametersInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MobilityParametersInformation, MobilityParametersInformation_sequence); return offset; } static const per_sequence_t BandInfo_sequence[] = { { &hf_x2ap_freqBandIndicator, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_FreqBandIndicator }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_BandInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_BandInfo, BandInfo_sequence); return offset; } static const per_sequence_t MultibandInfoList_sequence_of[1] = { { &hf_x2ap_MultibandInfoList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_BandInfo }, }; static int dissect_x2ap_MultibandInfoList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_MultibandInfoList, MultibandInfoList_sequence_of, 1, maxnoofBands, FALSE); return offset; } static int dissect_x2ap_MaximumCellListSize(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 16384U, NULL, TRUE); return offset; } static const per_sequence_t MessageOversizeNotification_sequence[] = { { &hf_x2ap_maximumCellListSize, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_MaximumCellListSize }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MessageOversizeNotification(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MessageOversizeNotification, MessageOversizeNotification_sequence); return offset; } static int dissect_x2ap_MeNBtoSgNBContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MeNBtoSgNBContainer); if ((x2ap_data->procedure_code == id_sgNBReconfigurationCompletion && x2ap_data->message_type == INITIATING_MESSAGE) || (x2ap_data->procedure_code == id_sgNBinitiatedSgNBModification && x2ap_data->message_type == SUCCESSFUL_OUTCOME)) { dissect_nr_rrc_RRCReconfigurationComplete_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else { dissect_nr_rrc_CG_ConfigInfo_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const value_string x2ap_SplitSRBs_vals[] = { { 0, "srb1" }, { 1, "srb2" }, { 2, "srb1and2" }, { 0, NULL } }; static int dissect_x2ap_SplitSRBs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_T_rrcContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_PDCP_C_PDU; offset = dissect_x2ap_RRCContainer(tvb, offset, actx, tree, hf_index); return offset; } static const value_string x2ap_SRBType_vals[] = { { 0, "srb1" }, { 1, "srb2" }, { 0, NULL } }; static int dissect_x2ap_SRBType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SplitSRB_sequence[] = { { &hf_x2ap_rrcContainer_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_rrcContainer }, { &hf_x2ap_srbType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SRBType }, { &hf_x2ap_deliveryStatus , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_DeliveryStatus }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SplitSRB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SplitSRB, SplitSRB_sequence); return offset; } static const value_string x2ap_NBIoT_UL_DL_AlignmentOffset_vals[] = { { 0, "khz-7dot5" }, { 1, "khz0" }, { 2, "khz7dot5" }, { 0, NULL } }; static int dissect_x2ap_NBIoT_UL_DL_AlignmentOffset(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_NBIoT_RLF_Report_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NBIoT_RLF_Report_Container); dissect_lte_rrc_RLF_Report_NB_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL); return offset; } static int dissect_x2ap_PCI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 503U, NULL, TRUE); return offset; } static const per_sequence_t Neighbour_Information_item_sequence[] = { { &hf_x2ap_eCGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_pCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PCI }, { &hf_x2ap_eARFCN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EARFCN }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_Neighbour_Information_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_Neighbour_Information_item, Neighbour_Information_item_sequence); return offset; } static const per_sequence_t Neighbour_Information_sequence_of[1] = { { &hf_x2ap_Neighbour_Information_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Neighbour_Information_item }, }; static int dissect_x2ap_Neighbour_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_Neighbour_Information, Neighbour_Information_sequence_of, 0, maxnoofNeighbours, FALSE); return offset; } static const value_string x2ap_NewDRBIDrequest_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_NewDRBIDrequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_Number_of_Antennaports_vals[] = { { 0, "an1" }, { 1, "an2" }, { 2, "an4" }, { 0, NULL } }; static int dissect_x2ap_Number_of_Antennaports(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_INTEGER_0_100(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_SSBIndex(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 63U, NULL, FALSE); return offset; } static const per_sequence_t SSBAreaCapacityValue_Item_sequence[] = { { &hf_x2ap_ssbIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SSBIndex }, { &hf_x2ap_ssbAreaCapacityValue, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SSBAreaCapacityValue_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SSBAreaCapacityValue_Item, SSBAreaCapacityValue_Item_sequence); return offset; } static const per_sequence_t SSBAreaCapacityValue_List_sequence_of[1] = { { &hf_x2ap_SSBAreaCapacityValue_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_SSBAreaCapacityValue_Item }, }; static int dissect_x2ap_SSBAreaCapacityValue_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SSBAreaCapacityValue_List, SSBAreaCapacityValue_List_sequence_of, 1, maxnoofSSBAreas, FALSE); return offset; } static const per_sequence_t NRCapacityValue_sequence[] = { { &hf_x2ap_capacityValue_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_ssbAreaCapacityValue_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SSBAreaCapacityValue_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRCapacityValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRCapacityValue, NRCapacityValue_sequence); return offset; } static int dissect_x2ap_INTEGER_0_2199_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 2199U, NULL, TRUE); return offset; } static int dissect_x2ap_INTEGER_0_maxnoofNRPhysicalResourceBlocks_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxnoofNRPhysicalResourceBlocks, NULL, TRUE); return offset; } static const per_sequence_t NRCarrierItem_sequence[] = { { &hf_x2ap_carrierSCS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRSCS }, { &hf_x2ap_offsetToCarrier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_2199_ }, { &hf_x2ap_carrierBandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_maxnoofNRPhysicalResourceBlocks_ }, { &hf_x2ap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRCarrierItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRCarrierItem, NRCarrierItem_sequence); return offset; } static const per_sequence_t NRCarrierList_sequence_of[1] = { { &hf_x2ap_NRCarrierList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCarrierItem }, }; static int dissect_x2ap_NRCarrierList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_NRCarrierList, NRCarrierList_sequence_of, 1, maxnoofNRSCSs, FALSE); return offset; } static int dissect_x2ap_NRCellCapacityClassValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 100U, NULL, TRUE); return offset; } static int dissect_x2ap_NRCellPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NRCellPRACHConfig); dissect_f1ap_NRPRACHConfig_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t NRCompositeAvailableCapacity_sequence[] = { { &hf_x2ap_cellCapacityClassValue_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRCellCapacityClassValue }, { &hf_x2ap_capacityValue_02, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCapacityValue }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRCompositeAvailableCapacity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRCompositeAvailableCapacity, NRCompositeAvailableCapacity_sequence); return offset; } static const per_sequence_t NRCompositeAvailableCapacityGroup_sequence[] = { { &hf_x2ap_compositeAvailableCapacityDL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCompositeAvailableCapacity }, { &hf_x2ap_compositeAvailableCapacityUL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCompositeAvailableCapacity }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRCompositeAvailableCapacityGroup(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRCompositeAvailableCapacityGroup, NRCompositeAvailableCapacityGroup_sequence); return offset; } static int dissect_x2ap_NRRACHReportContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NRRACHReportContainer); dissect_nr_rrc_RA_ReportList_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_SgNB_UE_X2AP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4294967295U, NULL, FALSE); return offset; } static const per_sequence_t NRRACHReportList_Item_sequence[] = { { &hf_x2ap_nRRACHReport , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRRACHReportContainer }, { &hf_x2ap_uEAssitantIdentifier, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SgNB_UE_X2AP_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRRACHReportList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRRACHReportList_Item, NRRACHReportList_Item_sequence); return offset; } static const per_sequence_t NRRACHReportInformation_sequence_of[1] = { { &hf_x2ap_NRRACHReportInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_NRRACHReportList_Item }, }; static int dissect_x2ap_NRRACHReportInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_NRRACHReportInformation, NRRACHReportInformation_sequence_of, 1, maxnoofRACHReports, FALSE); return offset; } static int dissect_x2ap_NRPCI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1007U, NULL, FALSE); return offset; } static int dissect_x2ap_T_measurementTimingConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *param_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &param_tvb); if (param_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_measurementTimingConfiguration); dissect_nr_rrc_MeasurementTimingConfiguration_PDU(param_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t TDD_InfoNeighbourServedNRCell_Information_sequence[] = { { &hf_x2ap_nRFreqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRFreqInfo }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TDD_InfoNeighbourServedNRCell_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TDD_InfoNeighbourServedNRCell_Information, TDD_InfoNeighbourServedNRCell_Information_sequence); return offset; } static const value_string x2ap_T_nRNeighbourModeInfo_vals[] = { { 0, "fdd" }, { 1, "tdd" }, { 0, NULL } }; static const per_choice_t T_nRNeighbourModeInfo_choice[] = { { 0, &hf_x2ap_fdd_01 , ASN1_EXTENSION_ROOT , dissect_x2ap_FDD_InfoNeighbourServedNRCell_Information }, { 1, &hf_x2ap_tdd_01 , ASN1_EXTENSION_ROOT , dissect_x2ap_TDD_InfoNeighbourServedNRCell_Information }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_nRNeighbourModeInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_nRNeighbourModeInfo, T_nRNeighbourModeInfo_choice, NULL); return offset; } static const per_sequence_t NRNeighbour_Information_item_sequence[] = { { &hf_x2ap_nrpCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRPCI }, { &hf_x2ap_nrCellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_fiveGS_TAC , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_FiveGS_TAC }, { &hf_x2ap_configured_TAC , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_TAC }, { &hf_x2ap_measurementTimingConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_measurementTimingConfiguration }, { &hf_x2ap_nRNeighbourModeInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_nRNeighbourModeInfo }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRNeighbour_Information_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRNeighbour_Information_item, NRNeighbour_Information_item_sequence); return offset; } static const per_sequence_t NRNeighbour_Information_sequence_of[1] = { { &hf_x2ap_NRNeighbour_Information_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_NRNeighbour_Information_item }, }; static int dissect_x2ap_NRNeighbour_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_NRNeighbour_Information, NRNeighbour_Information_sequence_of, 1, maxofNRNeighbours, FALSE); return offset; } static const value_string x2ap_NPRACH_CP_Length_vals[] = { { 0, "us66dot7" }, { 1, "us266dot7" }, { 0, NULL } }; static int dissect_x2ap_NPRACH_CP_Length(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_T_anchorCarrier_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_NPRACHConfig); dissect_lte_rrc_NPRACH_ParametersList_NB_r13_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_T_anchorCarrier_EDT_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_EDT_NPRACHConfig); dissect_lte_rrc_NPRACH_ParametersList_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_T_anchorCarrier_Format2_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_Format2_NPRACHConfig); dissect_lte_rrc_NPRACH_ParametersListFmt2_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_T_anchorCarrier_Format2_EDT_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig); dissect_lte_rrc_NPRACH_ParametersListFmt2_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_T_non_anchorCarrier_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_non_anchorCarrier_NPRACHConfig); dissect_lte_rrc_UL_ConfigCommonList_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_T_non_anchorCarrier_Format2_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_non_anchorCarrier_Format2_NPRACHConfig); dissect_lte_rrc_UL_ConfigCommonList_NB_v1530_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t NPRACHConfiguration_FDD_sequence[] = { { &hf_x2ap_nprach_CP_length, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NPRACH_CP_Length }, { &hf_x2ap_anchorCarrier_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_anchorCarrier_NPRACHConfig }, { &hf_x2ap_anchorCarrier_EDT_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_anchorCarrier_EDT_NPRACHConfig }, { &hf_x2ap_anchorCarrier_Format2_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_anchorCarrier_Format2_NPRACHConfig }, { &hf_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_anchorCarrier_Format2_EDT_NPRACHConfig }, { &hf_x2ap_non_anchorCarrier_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_non_anchorCarrier_NPRACHConfig }, { &hf_x2ap_non_anchorCarrier_Format2_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_non_anchorCarrier_Format2_NPRACHConfig }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NPRACHConfiguration_FDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NPRACHConfiguration_FDD, NPRACHConfiguration_FDD_sequence); return offset; } static const value_string x2ap_NPRACH_preambleFormat_vals[] = { { 0, "fmt0" }, { 1, "fmt1" }, { 2, "fmt2" }, { 3, "fmt0a" }, { 4, "fmt1a" }, { 0, NULL } }; static int dissect_x2ap_NPRACH_preambleFormat(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_T_anchorCarrier_NPRACHConfigTDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_NPRACHConfigTDD); dissect_lte_rrc_NPRACH_ParametersListTDD_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_Non_anchorCarrierFrequency(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_Non_anchorCarrierFrequency); dissect_lte_rrc_DL_CarrierConfigCommon_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t Non_AnchorCarrierFrequencylist_item_sequence[] = { { &hf_x2ap_non_anchorCarrioerFrquency, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Non_anchorCarrierFrequency }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_Non_AnchorCarrierFrequencylist_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_Non_AnchorCarrierFrequencylist_item, Non_AnchorCarrierFrequencylist_item_sequence); return offset; } static const per_sequence_t Non_AnchorCarrierFrequencylist_sequence_of[1] = { { &hf_x2ap_Non_AnchorCarrierFrequencylist_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Non_AnchorCarrierFrequencylist_item }, }; static int dissect_x2ap_Non_AnchorCarrierFrequencylist(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_Non_AnchorCarrierFrequencylist, Non_AnchorCarrierFrequencylist_sequence_of, 1, maxnoofNonAnchorCarrierFreqConfig, FALSE); return offset; } static int dissect_x2ap_T_non_anchorCarrier_NPRACHConfigTDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_non_anchorCarrier_NPRACHConfigTDD); dissect_lte_rrc_UL_ConfigCommonListTDD_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t NPRACHConfiguration_TDD_sequence[] = { { &hf_x2ap_nprach_preambleFormat, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NPRACH_preambleFormat }, { &hf_x2ap_anchorCarrier_NPRACHConfigTDD, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_anchorCarrier_NPRACHConfigTDD }, { &hf_x2ap_non_anchorCarrierFequencyConfiglist, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_Non_AnchorCarrierFrequencylist }, { &hf_x2ap_non_anchorCarrier_NPRACHConfigTDD, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_non_anchorCarrier_NPRACHConfigTDD }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NPRACHConfiguration_TDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NPRACHConfiguration_TDD, NPRACHConfiguration_TDD_sequence); return offset; } static const value_string x2ap_T_fdd_or_tdd_vals[] = { { 0, "fdd" }, { 1, "tdd" }, { 0, NULL } }; static const per_choice_t T_fdd_or_tdd_choice[] = { { 0, &hf_x2ap_fdd_02 , ASN1_EXTENSION_ROOT , dissect_x2ap_NPRACHConfiguration_FDD }, { 1, &hf_x2ap_tdd_02 , ASN1_EXTENSION_ROOT , dissect_x2ap_NPRACHConfiguration_TDD }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_fdd_or_tdd(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_fdd_or_tdd, T_fdd_or_tdd_choice, NULL); return offset; } static const per_sequence_t NPRACHConfiguration_sequence[] = { { &hf_x2ap_fdd_or_tdd , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_fdd_or_tdd }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NPRACHConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NPRACHConfiguration, NPRACHConfiguration_sequence); return offset; } static const value_string x2ap_NRrestrictioninEPSasSecondaryRAT_vals[] = { { 0, "nRrestrictedinEPSasSecondaryRAT" }, { 0, NULL } }; static int dissect_x2ap_NRrestrictioninEPSasSecondaryRAT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t MeasurementResultforNRCellsPossiblyAggregated_Item_sequence[] = { { &hf_x2ap_cellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_nrCompositeAvailableCapacityGroup, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRCompositeAvailableCapacityGroup }, { &hf_x2ap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MeasurementResultforNRCellsPossiblyAggregated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MeasurementResultforNRCellsPossiblyAggregated_Item, MeasurementResultforNRCellsPossiblyAggregated_Item_sequence); return offset; } static const per_sequence_t MeasurementResultforNRCellsPossiblyAggregated_sequence_of[1] = { { &hf_x2ap_MeasurementResultforNRCellsPossiblyAggregated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_MeasurementResultforNRCellsPossiblyAggregated_Item }, }; static int dissect_x2ap_MeasurementResultforNRCellsPossiblyAggregated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_MeasurementResultforNRCellsPossiblyAggregated, MeasurementResultforNRCellsPossiblyAggregated_sequence_of, 1, maxnoofReportedNRCellsPossiblyAggregated, FALSE); return offset; } static const per_sequence_t SSBAreaRadioResourceStatus_Item_sequence[] = { { &hf_x2ap_ssbIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SSBIndex }, { &hf_x2ap_ssbAreaDLGBRPRBUsage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_ssbAreaULGBRPRBUsage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_ssbAreaDLNonGBRPRBUsage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_ssbAreaULNonGBRPRBUsage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_ssbAreaDLTotalPRBUsage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_ssbAreaULTotalPRBUsage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_ssbAreaDLSchedulingPDCCHCCEUsage, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_ssbAreaULSchedulingPDCCHCCEUsage, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_0_100 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SSBAreaRadioResourceStatus_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SSBAreaRadioResourceStatus_Item, SSBAreaRadioResourceStatus_Item_sequence); return offset; } static const per_sequence_t SSBAreaRadioResourceStatus_List_sequence_of[1] = { { &hf_x2ap_SSBAreaRadioResourceStatus_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_SSBAreaRadioResourceStatus_Item }, }; static int dissect_x2ap_SSBAreaRadioResourceStatus_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SSBAreaRadioResourceStatus_List, SSBAreaRadioResourceStatus_List_sequence_of, 1, maxnoofSSBAreas, FALSE); return offset; } static const per_sequence_t NRRadioResourceStatus_sequence[] = { { &hf_x2ap_ssbAreaRadioResourceStatus_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SSBAreaRadioResourceStatus_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRRadioResourceStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRRadioResourceStatus, NRRadioResourceStatus_sequence); return offset; } static int dissect_x2ap_UL_GBR_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_UL_non_GBR_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_UL_Total_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t MIMOPRBusageInformation_sequence[] = { { &hf_x2ap_dl_GBR_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DL_GBR_PRB_usage_for_MIMO }, { &hf_x2ap_ul_GBR_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_GBR_PRB_usage_for_MIMO }, { &hf_x2ap_dl_non_GBR_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DL_non_GBR_PRB_usage_for_MIMO }, { &hf_x2ap_ul_non_GBR_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_non_GBR_PRB_usage_for_MIMO }, { &hf_x2ap_dl_Total_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DL_Total_PRB_usage_for_MIMO }, { &hf_x2ap_ul_Total_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_Total_PRB_usage_for_MIMO }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MIMOPRBusageInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MIMOPRBusageInformation, MIMOPRBusageInformation_sequence); return offset; } static const value_string x2ap_NRrestrictionin5GS_vals[] = { { 0, "nRrestrictedin5GS" }, { 0, NULL } }; static int dissect_x2ap_NRrestrictionin5GS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_NRencryptionAlgorithms(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, TRUE, NULL, 0, &parameter_tvb, NULL); if (parameter_tvb) { static int * const fields[] = { &hf_x2ap_NRencryptionAlgorithms_NEA1, &hf_x2ap_NRencryptionAlgorithms_NEA2, &hf_x2ap_NRencryptionAlgorithms_NEA3, &hf_x2ap_NRencryptionAlgorithms_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NRencryptionAlgorithms); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN); } return offset; } static int dissect_x2ap_NRintegrityProtectionAlgorithms(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, TRUE, NULL, 0, &parameter_tvb, NULL); if (parameter_tvb) { static int * const fields[] = { &hf_x2ap_NRintegrityProtectionAlgorithms_NIA1, &hf_x2ap_NRintegrityProtectionAlgorithms_NIA2, &hf_x2ap_NRintegrityProtectionAlgorithms_NIA3, &hf_x2ap_NRintegrityProtectionAlgorithms_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NRintegrityProtectionAlgorithms); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string x2ap_NRS_NSSS_PowerOffset_vals[] = { { 0, "minusThree" }, { 1, "zero" }, { 2, "three" }, { 0, NULL } }; static int dissect_x2ap_NRS_NSSS_PowerOffset(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_T_uENRMeasurements(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_NR_UE_MEAS_REPORT; offset = dissect_x2ap_RRCContainer(tvb, offset, actx, tree, hf_index); return offset; } static const per_sequence_t NRUeReport_sequence[] = { { &hf_x2ap_uENRMeasurements, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_uENRMeasurements }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRUeReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRUeReport, NRUeReport_sequence); return offset; } static const per_sequence_t NRUESidelinkAggregateMaximumBitRate_sequence[] = { { &hf_x2ap_uESidelinkAggregateMaximumBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRUESidelinkAggregateMaximumBitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRUESidelinkAggregateMaximumBitRate, NRUESidelinkAggregateMaximumBitRate_sequence); return offset; } static const per_sequence_t NRUESecurityCapabilities_sequence[] = { { &hf_x2ap_nRencryptionAlgorithms, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRencryptionAlgorithms }, { &hf_x2ap_nRintegrityProtectionAlgorithms, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRintegrityProtectionAlgorithms }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRUESecurityCapabilities(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRUESecurityCapabilities, NRUESecurityCapabilities_sequence); return offset; } static const value_string x2ap_NSSS_NumOccasionDifferentPrecoder_vals[] = { { 0, "two" }, { 1, "four" }, { 2, "eight" }, { 0, NULL } }; static int dissect_x2ap_NSSS_NumOccasionDifferentPrecoder(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_VehicleUE_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_x2ap_VehicleUE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_PedestrianUE_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_x2ap_PedestrianUE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t NRV2XServicesAuthorized_sequence[] = { { &hf_x2ap_vehicleUE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_VehicleUE }, { &hf_x2ap_pedestrianUE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_PedestrianUE }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_NRV2XServicesAuthorized(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_NRV2XServicesAuthorized, NRV2XServicesAuthorized_sequence); return offset; } static const value_string x2ap_OffsetOfNbiotChannelNumberToEARFCN_vals[] = { { 0, "minusTen" }, { 1, "minusNine" }, { 2, "minusEight" }, { 3, "minusSeven" }, { 4, "minusSix" }, { 5, "minusFive" }, { 6, "minusFour" }, { 7, "minusThree" }, { 8, "minusTwo" }, { 9, "minusOne" }, { 10, "minusZeroDotFive" }, { 11, "zero" }, { 12, "one" }, { 13, "two" }, { 14, "three" }, { 15, "four" }, { 16, "five" }, { 17, "six" }, { 18, "seven" }, { 19, "eight" }, { 20, "nine" }, { 21, "minusEightDotFive" }, { 22, "minusFourDotFive" }, { 23, "threeDotFive" }, { 24, "sevenDotFive" }, { 0, NULL } }; static value_string_ext x2ap_OffsetOfNbiotChannelNumberToEARFCN_vals_ext = VALUE_STRING_EXT_INIT(x2ap_OffsetOfNbiotChannelNumberToEARFCN_vals); static int dissect_x2ap_OffsetOfNbiotChannelNumberToEARFCN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 21, NULL, TRUE, 4, NULL); return offset; } static int dissect_x2ap_Packet_LossRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1000U, NULL, FALSE); return offset; } static const per_sequence_t PC5FlowBitRates_sequence[] = { { &hf_x2ap_guaranteedFlowBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_maximumFlowBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_PC5FlowBitRates(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_PC5FlowBitRates, PC5FlowBitRates_sequence); return offset; } static const value_string x2ap_Range_vals[] = { { 0, "m50" }, { 1, "m80" }, { 2, "m180" }, { 3, "m200" }, { 4, "m350" }, { 5, "m400" }, { 6, "m500" }, { 7, "m700" }, { 8, "m1000" }, { 0, NULL } }; static int dissect_x2ap_Range(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 9, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t PC5QoSFlowItem_sequence[] = { { &hf_x2ap_pQI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_FiveQI }, { &hf_x2ap_pc5FlowBitRates, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_PC5FlowBitRates }, { &hf_x2ap_range , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_Range }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_PC5QoSFlowItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_PC5QoSFlowItem, PC5QoSFlowItem_sequence); return offset; } static const per_sequence_t PC5QoSFlowList_sequence_of[1] = { { &hf_x2ap_PC5QoSFlowList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_PC5QoSFlowItem }, }; static int dissect_x2ap_PC5QoSFlowList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_PC5QoSFlowList, PC5QoSFlowList_sequence_of, 1, maxnoofPC5QoSFlows, FALSE); return offset; } static const per_sequence_t PC5QoSParameters_sequence[] = { { &hf_x2ap_pc5QoSFlowList , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PC5QoSFlowList }, { &hf_x2ap_pc5LinkAggregatedBitRates, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_BitRate }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_PC5QoSParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_PC5QoSParameters, PC5QoSParameters_sequence); return offset; } static const value_string x2ap_PDCPChangeIndication_vals[] = { { 0, "s-KgNB-update-required" }, { 1, "pDCP-data-recovery-required" }, { 0, NULL } }; static int dissect_x2ap_PDCPChangeIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_PDCPSnLength_vals[] = { { 0, "twelve-bits" }, { 1, "eighteen-bits" }, { 0, NULL } }; static int dissect_x2ap_PDCPSnLength(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_INTEGER_0_837(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 837U, NULL, FALSE); return offset; } static int dissect_x2ap_INTEGER_0_15(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 15U, NULL, FALSE); return offset; } static int dissect_x2ap_BOOLEAN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_boolean(tvb, offset, actx, tree, hf_index, NULL); return offset; } static int dissect_x2ap_INTEGER_0_94(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 94U, NULL, FALSE); return offset; } static int dissect_x2ap_INTEGER_0_63(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 63U, NULL, FALSE); return offset; } static const per_sequence_t PRACH_Configuration_sequence[] = { { &hf_x2ap_rootSequenceIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_837 }, { &hf_x2ap_zeroCorrelationIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_15 }, { &hf_x2ap_highSpeedFlag , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BOOLEAN }, { &hf_x2ap_prach_FreqOffset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_94 }, { &hf_x2ap_prach_ConfigIndex, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_0_63 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_PRACH_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_PRACH_Configuration, PRACH_Configuration_sequence); return offset; } static const value_string x2ap_ProSeDirectDiscovery_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_x2ap_ProSeDirectDiscovery(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_ProSeDirectCommunication_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_x2ap_ProSeDirectCommunication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ProSeAuthorized_sequence[] = { { &hf_x2ap_proSeDirectDiscovery, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProSeDirectDiscovery }, { &hf_x2ap_proSeDirectCommunication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProSeDirectCommunication }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ProSeAuthorized(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ProSeAuthorized, ProSeAuthorized_sequence); return offset; } static const value_string x2ap_ProSeUEtoNetworkRelaying_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_x2ap_ProSeUEtoNetworkRelaying(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_ResourceType_vals[] = { { 0, "downlinknonCRS" }, { 1, "cRS" }, { 2, "uplink" }, { 0, NULL } }; static int dissect_x2ap_ResourceType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_84_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 84, 84, TRUE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_6_110_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 110, TRUE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_INTEGER_1_320_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 320U, NULL, TRUE); return offset; } static int dissect_x2ap_INTEGER_1_20_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 20U, NULL, TRUE); return offset; } static const per_sequence_t ProtectedFootprintTimePattern_sequence[] = { { &hf_x2ap_protectedFootprintTimePeriodicity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_320_ }, { &hf_x2ap_protectedFootprintStartTime, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_20_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ProtectedFootprintTimePattern(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ProtectedFootprintTimePattern, ProtectedFootprintTimePattern_sequence); return offset; } static const per_sequence_t ProtectedResourceList_Item_sequence[] = { { &hf_x2ap_resourceType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ResourceType }, { &hf_x2ap_intraPRBProtectedResourceFootprint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_84_ }, { &hf_x2ap_protectedFootprintFrequencyPattern, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_6_110_ }, { &hf_x2ap_protectedFootprintTimePattern, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtectedFootprintTimePattern }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ProtectedResourceList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ProtectedResourceList_Item, ProtectedResourceList_Item_sequence); return offset; } static const per_sequence_t ProtectedResourceList_sequence_of[1] = { { &hf_x2ap_ProtectedResourceList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtectedResourceList_Item }, }; static int dissect_x2ap_ProtectedResourceList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ProtectedResourceList, ProtectedResourceList_sequence_of, 1, maxnoofProtectedResourcePatterns, FALSE); return offset; } static int dissect_x2ap_T_mBSFNControlRegionLength(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 3U, NULL, FALSE); proto_item_append_text(actx->created_item, " REs"); return offset; } static int dissect_x2ap_T_pDCCHRegionLength(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 3U, NULL, FALSE); proto_item_append_text(actx->created_item, " REs"); return offset; } static const per_sequence_t ProtectedEUTRAResourceIndication_sequence[] = { { &hf_x2ap_activationSFN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_1023 }, { &hf_x2ap_protectedResourceList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtectedResourceList }, { &hf_x2ap_mBSFNControlRegionLength, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_mBSFNControlRegionLength }, { &hf_x2ap_pDCCHRegionLength, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_pDCCHRegionLength }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ProtectedEUTRAResourceIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ProtectedEUTRAResourceIndication, ProtectedEUTRAResourceIndication_sequence); return offset; } static const value_string x2ap_PartialListIndicator_vals[] = { { 0, "partial" }, { 0, NULL } }; static int dissect_x2ap_PartialListIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_PrivacyIndicator_vals[] = { { 0, "immediate-MDT" }, { 1, "logged-MDT" }, { 0, NULL } }; static int dissect_x2ap_PrivacyIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_PSCellHistoryInformationRetrieve_vals[] = { { 0, "query" }, { 0, NULL } }; static int dissect_x2ap_PSCellHistoryInformationRetrieve(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t PSCell_UE_HistoryInformation_sequence_of[1] = { { &hf_x2ap_PSCell_UE_HistoryInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_LastVisitedPSCell_Item }, }; static int dissect_x2ap_PSCell_UE_HistoryInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_PSCell_UE_HistoryInformation, PSCell_UE_HistoryInformation_sequence_of, 1, maxnoofPSCellsPerPrimaryCellinUEHistoryInfo, FALSE); return offset; } static const value_string x2ap_PSCellChangeHistory_vals[] = { { 0, "reportingFullHistory" }, { 0, NULL } }; static int dissect_x2ap_PSCellChangeHistory(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_6(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 6, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t QoS_Mapping_Information_sequence[] = { { &hf_x2ap_dscp , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_BIT_STRING_SIZE_6 }, { &hf_x2ap_flow_label , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_BIT_STRING_SIZE_20 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_QoS_Mapping_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_QoS_Mapping_Information, QoS_Mapping_Information_sequence); return offset; } static int dissect_x2ap_UL_GBR_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_UL_non_GBR_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_x2ap_UL_Total_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t RadioResourceStatus_sequence[] = { { &hf_x2ap_dL_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DL_GBR_PRB_usage }, { &hf_x2ap_uL_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_GBR_PRB_usage }, { &hf_x2ap_dL_non_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DL_non_GBR_PRB_usage }, { &hf_x2ap_uL_non_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_non_GBR_PRB_usage }, { &hf_x2ap_dL_Total_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DL_Total_PRB_usage }, { &hf_x2ap_uL_Total_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_Total_PRB_usage }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RadioResourceStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RadioResourceStatus, RadioResourceStatus_sequence); return offset; } static int dissect_x2ap_RAN_UE_NGAP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4294967295U, NULL, FALSE); return offset; } static int dissect_x2ap_T_rAT_RestrictionInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, TRUE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_rAT_RestrictionInformation_LEO, &hf_x2ap_rAT_RestrictionInformation_MEO, &hf_x2ap_rAT_RestrictionInformation_GEO, &hf_x2ap_rAT_RestrictionInformation_OTHERSAT, &hf_x2ap_rAT_RestrictionInformation_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_rAT_RestrictionInformation); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t RAT_RestrictionsItem_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_rAT_RestrictionInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_rAT_RestrictionInformation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RAT_RestrictionsItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RAT_RestrictionsItem, RAT_RestrictionsItem_sequence); return offset; } static const per_sequence_t RAT_Restrictions_sequence_of[1] = { { &hf_x2ap_RAT_Restrictions_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_RAT_RestrictionsItem }, }; static int dissect_x2ap_RAT_Restrictions(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_RAT_Restrictions, RAT_Restrictions_sequence_of, 1, maxnoofEPLMNsPlusOne, FALSE); return offset; } static int dissect_x2ap_ReceiveStatusofULPDCPSDUs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 4096, 4096, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_ReceiveStatusOfULPDCPSDUsExtended(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 16384, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 131072, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_ReleaseFastMCGRecoveryViaSRB3_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_ReleaseFastMCGRecoveryViaSRB3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_Reestablishment_Indication_vals[] = { { 0, "reestablished" }, { 0, NULL } }; static int dissect_x2ap_Reestablishment_Indication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_Registration_Request_vals[] = { { 0, "start" }, { 1, "stop" }, { 2, "partial-stop" }, { 3, "add" }, { 0, NULL } }; static int dissect_x2ap_Registration_Request(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); if (x2ap_data->procedure_code == id_endcresourceStatusReportingInitiation) return dissect_x2ap_Registration_Request_ENDC(tvb, offset, actx, tree, hf_x2ap_Registration_Request_ENDC_PDU); offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 2, NULL); return offset; } static const value_string x2ap_Registration_Request_ENDC_vals[] = { { 0, "start" }, { 1, "stop" }, { 2, "add" }, { 0, NULL } }; static int dissect_x2ap_Registration_Request_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_T_numberOfCellSpecificAntennaPorts_02_vals[] = { { 0, "one" }, { 1, "two" }, { 2, "four" }, { 0, NULL } }; static int dissect_x2ap_T_numberOfCellSpecificAntennaPorts_02(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_INTEGER_0_4_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4U, NULL, TRUE); return offset; } static const per_sequence_t RelativeNarrowbandTxPower_sequence[] = { { &hf_x2ap_rNTP_PerPRB , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_6_110_ }, { &hf_x2ap_rNTP_Threshold , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RNTP_Threshold }, { &hf_x2ap_numberOfCellSpecificAntennaPorts_02, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_numberOfCellSpecificAntennaPorts_02 }, { &hf_x2ap_p_B , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_3_ }, { &hf_x2ap_pDCCH_InterferenceImpact, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_4_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RelativeNarrowbandTxPower(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RelativeNarrowbandTxPower, RelativeNarrowbandTxPower_sequence); return offset; } static int dissect_x2ap_ReportCharacteristics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); if (x2ap_data->procedure_code == id_endcresourceStatusReportingInitiation) return dissect_x2ap_ReportCharacteristics_ENDC(tvb, offset, actx, tree, hf_x2ap_ReportCharacteristics_ENDC_PDU); tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_ReportCharacteristics_PRBPeriodic, &hf_x2ap_ReportCharacteristics_TNLLoadIndPeriodic, &hf_x2ap_ReportCharacteristics_HWLoadIndPeriodic, &hf_x2ap_ReportCharacteristics_CompositeAvailableCapacityPeriodic, &hf_x2ap_ReportCharacteristics_ABSStatusPeriodic, &hf_x2ap_ReportCharacteristics_RSRPMeasurementReportPeriodic, &hf_x2ap_ReportCharacteristics_CSIReportPeriodic, &hf_x2ap_ReportCharacteristics_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_ReportCharacteristics); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 4, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string x2ap_ReportingPeriodicityCSIR_vals[] = { { 0, "ms5" }, { 1, "ms10" }, { 2, "ms20" }, { 3, "ms40" }, { 4, "ms80" }, { 0, NULL } }; static int dissect_x2ap_ReportingPeriodicityCSIR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_ReportCharacteristics_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_ReportCharacteristics_ENDC_PRBPeriodic, &hf_x2ap_ReportCharacteristics_ENDC_TNLCapacityIndPeriodic, &hf_x2ap_ReportCharacteristics_ENDC_CompositeAvailableCapacityPeriodic, &hf_x2ap_ReportCharacteristics_ENDC_NumberOfActiveUEs, &hf_x2ap_ReportCharacteristics_ENDC_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_ReportCharacteristics_ENDC); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 4, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string x2ap_ReportingPeriodicityRSRPMR_vals[] = { { 0, "one-hundred-20-ms" }, { 1, "two-hundred-40-ms" }, { 2, "four-hundred-80-ms" }, { 3, "six-hundred-40-ms" }, { 0, NULL } }; static int dissect_x2ap_ReportingPeriodicityRSRPMR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_RequestedFastMCGRecoveryViaSRB3_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_RequestedFastMCGRecoveryViaSRB3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_RequestedFastMCGRecoveryViaSRB3Release_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_RequestedFastMCGRecoveryViaSRB3Release(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_24(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 24, 24, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_ResumeID_vals[] = { { 0, "non-truncated" }, { 1, "truncated" }, { 0, NULL } }; static const per_choice_t ResumeID_choice[] = { { 0, &hf_x2ap_non_truncated , ASN1_EXTENSION_ROOT , dissect_x2ap_BIT_STRING_SIZE_40 }, { 1, &hf_x2ap_truncated , ASN1_EXTENSION_ROOT , dissect_x2ap_BIT_STRING_SIZE_24 }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_ResumeID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_ResumeID, ResumeID_choice, NULL); return offset; } static const value_string x2ap_RLCMode_vals[] = { { 0, "rlc-am" }, { 1, "rlc-um-bidirectional" }, { 2, "rlc-um-unidirectional-ul" }, { 3, "rlc-um-unidirectional-dl" }, { 0, NULL } }; static int dissect_x2ap_RLCMode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t RLC_Status_sequence[] = { { &hf_x2ap_reestablishment_Indication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Reestablishment_Indication }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RLC_Status(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RLC_Status, RLC_Status_sequence); return offset; } static const value_string x2ap_RRC_Config_Ind_vals[] = { { 0, "full-config" }, { 1, "delta-config" }, { 0, NULL } }; static int dissect_x2ap_RRC_Config_Ind(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_RRC_Context(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_RRC_Context); if (g_x2ap_dissect_rrc_context_as == X2AP_RRC_CONTEXT_NBIOT) { dissect_lte_rrc_HandoverPreparationInformation_NB_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else { dissect_lte_rrc_HandoverPreparationInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const value_string x2ap_RRCConnReestabIndicator_vals[] = { { 0, "reconfigurationFailure" }, { 1, "handoverFailure" }, { 2, "otherFailure" }, { 0, NULL } }; static int dissect_x2ap_RRCConnReestabIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_RRCConnSetupIndicator_vals[] = { { 0, "rrcConnSetup" }, { 0, NULL } }; static int dissect_x2ap_RRCConnSetupIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_INTEGER_0_97_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 97U, NULL, TRUE); return offset; } static const per_sequence_t RSRPMeasurementResult_item_sequence[] = { { &hf_x2ap_rSRPCellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_rSRPMeasured , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_97_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RSRPMeasurementResult_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RSRPMeasurementResult_item, RSRPMeasurementResult_item_sequence); return offset; } static const per_sequence_t RSRPMeasurementResult_sequence_of[1] = { { &hf_x2ap_RSRPMeasurementResult_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_RSRPMeasurementResult_item }, }; static int dissect_x2ap_RSRPMeasurementResult(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_RSRPMeasurementResult, RSRPMeasurementResult_sequence_of, 1, maxCellReport, FALSE); return offset; } static const per_sequence_t RSRPMRList_item_sequence[] = { { &hf_x2ap_rSRPMeasurementResult, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RSRPMeasurementResult }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RSRPMRList_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RSRPMRList_item, RSRPMRList_item_sequence); return offset; } static const per_sequence_t RSRPMRList_sequence_of[1] = { { &hf_x2ap_RSRPMRList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_RSRPMRList_item }, }; static int dissect_x2ap_RSRPMRList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_RSRPMRList, RSRPMRList_sequence_of, 1, maxUEReport, FALSE); return offset; } static const per_sequence_t S1TNLLoadIndicator_sequence[] = { { &hf_x2ap_dLS1TNLLoadIndicator, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_LoadIndicator }, { &hf_x2ap_uLS1TNLLoadIndicator, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_LoadIndicator }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_S1TNLLoadIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_S1TNLLoadIndicator, S1TNLLoadIndicator_sequence); return offset; } static const value_string x2ap_SCGActivationStatus_vals[] = { { 0, "scg-activated" }, { 1, "scg-deactivated" }, { 0, NULL } }; static int dissect_x2ap_SCGActivationStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_SCGActivationRequest_vals[] = { { 0, "activate-scg" }, { 1, "deactivate-scg" }, { 0, NULL } }; static int dissect_x2ap_SCGActivationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_SCGChangeIndication_vals[] = { { 0, "pDCPCountWrapAround" }, { 1, "pSCellChange" }, { 2, "other" }, { 0, NULL } }; static int dissect_x2ap_SCGChangeIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_SCGreconfigNotification_vals[] = { { 0, "executed" }, { 1, "executed-deleted" }, { 2, "deleted" }, { 0, NULL } }; static int dissect_x2ap_SCGreconfigNotification(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 2, NULL); return offset; } static const per_sequence_t SCG_UE_HistoryInformation_sequence_of[1] = { { &hf_x2ap_SCG_UE_HistoryInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_LastVisitedPSCell_Item }, }; static int dissect_x2ap_SCG_UE_HistoryInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SCG_UE_HistoryInformation, SCG_UE_HistoryInformation_sequence_of, 1, maxnoofPSCellsPerSN, FALSE); return offset; } static const per_sequence_t SecondaryRATUsageReportList_sequence_of[1] = { { &hf_x2ap_SecondaryRATUsageReportList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_SecondaryRATUsageReportList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SecondaryRATUsageReportList, SecondaryRATUsageReportList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const value_string x2ap_T_secondaryRATType_vals[] = { { 0, "nr" }, { 1, "nR-unlicensed" }, { 0, NULL } }; static int dissect_x2ap_T_secondaryRATType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 1, NULL); return offset; } static const per_sequence_t SecondaryRATUsageReport_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_secondaryRATType, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_secondaryRATType }, { &hf_x2ap_e_RABUsageReportList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RABUsageReportList }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SecondaryRATUsageReport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SecondaryRATUsageReport_Item, SecondaryRATUsageReport_Item_sequence); return offset; } static const per_sequence_t SecurityIndication_sequence[] = { { &hf_x2ap_integrityProtectionIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_IntegrityProtectionIndication }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SecurityIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SecurityIndication, SecurityIndication_sequence); return offset; } static const per_sequence_t SecurityResult_sequence[] = { { &hf_x2ap_integrityProtectionResult, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_IntegrityProtectionResult }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SecurityResult(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SecurityResult, SecurityResult_sequence); return offset; } static int dissect_x2ap_SeNBSecurityKey(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 256, 256, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_SeNBtoMeNBContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_SeNBtoMeNBContainer); dissect_lte_rrc_SCG_Config_r12_PDU(parameter_tvb, actx->pinfo, subtree, NULL); return offset; } static const value_string x2ap_SensorMeasConfig_vals[] = { { 0, "setup" }, { 0, NULL } }; static int dissect_x2ap_SensorMeasConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_T_uncompensatedBarometricConfig_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_T_uncompensatedBarometricConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_SensorNameConfig_vals[] = { { 0, "uncompensatedBarometricConfig" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t SensorNameConfig_choice[] = { { 0, &hf_x2ap_uncompensatedBarometricConfig, ASN1_NO_EXTENSIONS , dissect_x2ap_T_uncompensatedBarometricConfig }, { 1, &hf_x2ap_choice_extension, ASN1_NO_EXTENSIONS , dissect_x2ap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_SensorNameConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_SensorNameConfig, SensorNameConfig_choice, NULL); return offset; } static const per_sequence_t SensorMeasConfigNameItem_sequence[] = { { &hf_x2ap_sensorNameConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SensorNameConfig }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SensorMeasConfigNameItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SensorMeasConfigNameItem, SensorMeasConfigNameItem_sequence); return offset; } static const per_sequence_t SensorMeasConfigNameList_sequence_of[1] = { { &hf_x2ap_SensorMeasConfigNameList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_SensorMeasConfigNameItem }, }; static int dissect_x2ap_SensorMeasConfigNameList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SensorMeasConfigNameList, SensorMeasConfigNameList_sequence_of, 1, maxnoofSensorName, FALSE); return offset; } static const per_sequence_t SensorMeasurementConfiguration_sequence[] = { { &hf_x2ap_sensorMeasConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SensorMeasConfig }, { &hf_x2ap_sensorMeasConfigNameList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SensorMeasConfigNameList }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SensorMeasurementConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SensorMeasurementConfiguration, SensorMeasurementConfiguration_sequence); return offset; } static const per_sequence_t ServedCell_Information_sequence[] = { { &hf_x2ap_pCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PCI }, { &hf_x2ap_cellId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_tAC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TAC }, { &hf_x2ap_broadcastPLMNs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BroadcastPLMNs_Item }, { &hf_x2ap_eUTRA_Mode_Info, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EUTRA_Mode_Info }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedCell_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCell_Information, ServedCell_Information_sequence); return offset; } static const per_sequence_t ServedCells_item_sequence[] = { { &hf_x2ap_servedCellInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedCell_Information }, { &hf_x2ap_neighbour_Info , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_Neighbour_Information }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedCells_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCells_item, ServedCells_item_sequence); return offset; } static const per_sequence_t ServedCells_sequence_of[1] = { { &hf_x2ap_ServedCells_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedCells_item }, }; static int dissect_x2ap_ServedCells(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCells, ServedCells_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const value_string x2ap_T_additionalMTCListRequestIndicator_vals[] = { { 0, "additionalMTCListRequested" }, { 0, NULL } }; static int dissect_x2ap_T_additionalMTCListRequestIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ServedCellSpecificInfoReq_NR_Item_sequence[] = { { &hf_x2ap_nRCGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_additionalMTCListRequestIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_additionalMTCListRequestIndicator }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedCellSpecificInfoReq_NR_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCellSpecificInfoReq_NR_Item, ServedCellSpecificInfoReq_NR_Item_sequence); return offset; } static const per_sequence_t ServedCellSpecificInfoReq_NR_sequence_of[1] = { { &hf_x2ap_ServedCellSpecificInfoReq_NR_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedCellSpecificInfoReq_NR_Item }, }; static int dissect_x2ap_ServedCellSpecificInfoReq_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCellSpecificInfoReq_NR, ServedCellSpecificInfoReq_NR_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static const value_string x2ap_ServiceType_vals[] = { { 0, "qMC-for-streaming-service" }, { 1, "qMC-for-MTSI-service" }, { 0, NULL } }; static int dissect_x2ap_ServiceType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_SgNBCoordinationAssistanceInformation_vals[] = { { 0, "coordination-not-required" }, { 0, NULL } }; static int dissect_x2ap_SgNBCoordinationAssistanceInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SgNBResourceCoordinationInformation_sequence[] = { { &hf_x2ap_nR_CGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_uLCoordinationInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_6_4400_ }, { &hf_x2ap_dLCoordinationInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_BIT_STRING_SIZE_6_4400_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBResourceCoordinationInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBResourceCoordinationInformation, SgNBResourceCoordinationInformation_sequence); return offset; } static const value_string x2ap_SIPTOBearerDeactivationIndication_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_SIPTOBearerDeactivationIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_ShortMAC_I(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_SGNB_Addition_Trigger_Ind_vals[] = { { 0, "sn-change" }, { 1, "inter-eNB-HO" }, { 2, "intra-eNB-HO" }, { 0, NULL } }; static int dissect_x2ap_SGNB_Addition_Trigger_Ind(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_SNtriggered_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_SNtriggered(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_SpectrumSharingGroupID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, maxCellineNB, NULL, FALSE); return offset; } static const value_string x2ap_T_periodicCommunicationIndicator_vals[] = { { 0, "periodically" }, { 1, "ondemand" }, { 0, NULL } }; static int dissect_x2ap_T_periodicCommunicationIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_INTEGER_1_3600_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 3600U, NULL, TRUE); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_7(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 7, 7, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_INTEGER_0_86399_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 86399U, NULL, TRUE); return offset; } static const per_sequence_t ScheduledCommunicationTime_sequence[] = { { &hf_x2ap_dayofWeek , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_BIT_STRING_SIZE_7 }, { &hf_x2ap_timeofDayStart , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_0_86399_ }, { &hf_x2ap_timeofDayEnd , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_0_86399_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ScheduledCommunicationTime(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ScheduledCommunicationTime, ScheduledCommunicationTime_sequence); return offset; } static const value_string x2ap_T_stationaryIndication_vals[] = { { 0, "stationary" }, { 1, "mobile" }, { 0, NULL } }; static int dissect_x2ap_T_stationaryIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_T_trafficProfile_vals[] = { { 0, "single-packet" }, { 1, "dual-packets" }, { 2, "multiple-packets" }, { 0, NULL } }; static int dissect_x2ap_T_trafficProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_T_batteryIndication_vals[] = { { 0, "battery-powered" }, { 1, "battery-powered-not-rechargeable-or-replaceable" }, { 2, "not-battery-powered" }, { 0, NULL } }; static int dissect_x2ap_T_batteryIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t Subscription_Based_UE_DifferentiationInfo_sequence[] = { { &hf_x2ap_periodicCommunicationIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_periodicCommunicationIndicator }, { &hf_x2ap_periodicTime , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_1_3600_ }, { &hf_x2ap_scheduledCommunicationTime, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ScheduledCommunicationTime }, { &hf_x2ap_stationaryIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_stationaryIndication }, { &hf_x2ap_trafficProfile , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_trafficProfile }, { &hf_x2ap_batteryIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_batteryIndication }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_Subscription_Based_UE_DifferentiationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_Subscription_Based_UE_DifferentiationInfo, Subscription_Based_UE_DifferentiationInfo_sequence); return offset; } static const value_string x2ap_SRVCCOperationPossible_vals[] = { { 0, "possible" }, { 0, NULL } }; static int dissect_x2ap_SRVCCOperationPossible(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_4(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_8(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_x2ap_BIT_STRING_SIZE_64(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 64, 64, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_SSB_PositionsInBurst_vals[] = { { 0, "shortBitmap" }, { 1, "mediumBitmap" }, { 2, "longBitmap" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t SSB_PositionsInBurst_choice[] = { { 0, &hf_x2ap_shortBitmap , ASN1_NO_EXTENSIONS , dissect_x2ap_BIT_STRING_SIZE_4 }, { 1, &hf_x2ap_mediumBitmap , ASN1_NO_EXTENSIONS , dissect_x2ap_BIT_STRING_SIZE_8 }, { 2, &hf_x2ap_longBitmap , ASN1_NO_EXTENSIONS , dissect_x2ap_BIT_STRING_SIZE_64 }, { 3, &hf_x2ap_choice_extension, ASN1_NO_EXTENSIONS , dissect_x2ap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_SSB_PositionsInBurst(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_SSB_PositionsInBurst, SSB_PositionsInBurst_choice, NULL); return offset; } static int dissect_x2ap_SubscriberProfileIDforRFP(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 256U, NULL, FALSE); return offset; } static int dissect_x2ap_SgNBSecurityKey(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 256, 256, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_SCGConfigurationQuery_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_SCGConfigurationQuery(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SFN_Offset_sequence[] = { { &hf_x2ap_sFN_Time_Offset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_24 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SFN_Offset(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SFN_Offset, SFN_Offset_sequence); return offset; } static int dissect_x2ap_TargetCellInNGRAN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TargetCellInNGRAN); dissect_ngap_NGRAN_CGI_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_TargetCellInUTRAN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static int dissect_x2ap_TargeteNBtoSource_eNBTransparentContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TargeteNBtoSource_eNBTransparentContainer); dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, subtree, NULL); return offset; } static int dissect_x2ap_TDDULDLConfigurationCommonNR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TDDULDLConfigurationCommonNR); dissect_nr_rrc_TDD_UL_DL_ConfigCommon_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const value_string x2ap_TimeToWait_vals[] = { { 0, "v1s" }, { 1, "v2s" }, { 2, "v5s" }, { 3, "v10s" }, { 4, "v20s" }, { 5, "v60s" }, { 0, NULL } }; static int dissect_x2ap_TimeToWait(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_Time_UE_StayedInCell_EnhancedGranularity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 40950U, NULL, FALSE); return offset; } static const value_string x2ap_TNLAssociationUsage_vals[] = { { 0, "ue" }, { 1, "non-ue" }, { 2, "both" }, { 0, NULL } }; static int dissect_x2ap_TNLAssociationUsage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t TNLA_To_Add_Item_sequence[] = { { &hf_x2ap_tNLAssociationTransportLayerAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CPTransportLayerInformation }, { &hf_x2ap_tNLAssociationUsage, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TNLAssociationUsage }, { &hf_x2ap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TNLA_To_Add_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_To_Add_Item, TNLA_To_Add_Item_sequence); return offset; } static const per_sequence_t TNLA_To_Add_List_sequence_of[1] = { { &hf_x2ap_TNLA_To_Add_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TNLA_To_Add_Item }, }; static int dissect_x2ap_TNLA_To_Add_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_To_Add_List, TNLA_To_Add_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static const per_sequence_t TNLA_To_Update_Item_sequence[] = { { &hf_x2ap_tNLAssociationTransportLayerAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CPTransportLayerInformation }, { &hf_x2ap_tNLAssociationUsage, ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_x2ap_TNLAssociationUsage }, { &hf_x2ap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TNLA_To_Update_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_To_Update_Item, TNLA_To_Update_Item_sequence); return offset; } static const per_sequence_t TNLA_To_Update_List_sequence_of[1] = { { &hf_x2ap_TNLA_To_Update_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TNLA_To_Update_Item }, }; static int dissect_x2ap_TNLA_To_Update_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_To_Update_List, TNLA_To_Update_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static const per_sequence_t TNLA_To_Remove_Item_sequence[] = { { &hf_x2ap_tNLAssociationTransportLayerAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CPTransportLayerInformation }, { &hf_x2ap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TNLA_To_Remove_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_To_Remove_Item, TNLA_To_Remove_Item_sequence); return offset; } static const per_sequence_t TNLA_To_Remove_List_sequence_of[1] = { { &hf_x2ap_TNLA_To_Remove_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TNLA_To_Remove_Item }, }; static int dissect_x2ap_TNLA_To_Remove_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_To_Remove_List, TNLA_To_Remove_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static const per_sequence_t TNLA_Setup_Item_sequence[] = { { &hf_x2ap_tNLAssociationTransportLayerAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_CPTransportLayerInformation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TNLA_Setup_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_Setup_Item, TNLA_Setup_Item_sequence); return offset; } static const per_sequence_t TNLA_Setup_List_sequence_of[1] = { { &hf_x2ap_TNLA_Setup_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TNLA_Setup_Item }, }; static int dissect_x2ap_TNLA_Setup_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_Setup_List, TNLA_Setup_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static const per_sequence_t TNLA_Failed_To_Setup_Item_sequence[] = { { &hf_x2ap_tNLAssociationTransportLayerAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_CPTransportLayerInformation }, { &hf_x2ap_cause , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Cause }, { &hf_x2ap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TNLA_Failed_To_Setup_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_Failed_To_Setup_Item, TNLA_Failed_To_Setup_Item_sequence); return offset; } static const per_sequence_t TNLA_Failed_To_Setup_List_sequence_of[1] = { { &hf_x2ap_TNLA_Failed_To_Setup_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_TNLA_Failed_To_Setup_Item }, }; static int dissect_x2ap_TNLA_Failed_To_Setup_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLA_Failed_To_Setup_List, TNLA_Failed_To_Setup_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static int dissect_x2ap_INTEGER_1_16777216_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 16777216U, NULL, TRUE); return offset; } static int dissect_x2ap_INTEGER_0_100_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, TRUE); return offset; } static const per_sequence_t TNLCapacityIndicator_sequence[] = { { &hf_x2ap_dlTNLMaximumOfferedCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_16777216_ }, { &hf_x2ap_dlTNLAvailableCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100_ }, { &hf_x2ap_ulTNLMaximumOfferedCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_1_16777216_ }, { &hf_x2ap_ulTNLAvailableCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_100_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TNLCapacityIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLCapacityIndicator, TNLCapacityIndicator_sequence); return offset; } static const per_sequence_t Transport_UP_Layer_Addresses_Info_To_Add_Item_sequence[] = { { &hf_x2ap_iP_SecTransportLayerAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TransportLayerAddress }, { &hf_x2ap_gTPTransportLayerAddressesToAdd, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPTLAs }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_Item, Transport_UP_Layer_Addresses_Info_To_Add_Item_sequence); return offset; } static const per_sequence_t Transport_UP_Layer_Addresses_Info_To_Add_List_sequence_of[1] = { { &hf_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_Item }, }; static int dissect_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_List, Transport_UP_Layer_Addresses_Info_To_Add_List_sequence_of, 1, maxnoofTLAs, FALSE); return offset; } static const per_sequence_t Transport_UP_Layer_Addresses_Info_To_Remove_Item_sequence[] = { { &hf_x2ap_iP_SecTransportLayerAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TransportLayerAddress }, { &hf_x2ap_gTPTransportLayerAddressesToRemove, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPTLAs }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_Item, Transport_UP_Layer_Addresses_Info_To_Remove_Item_sequence); return offset; } static const per_sequence_t Transport_UP_Layer_Addresses_Info_To_Remove_List_sequence_of[1] = { { &hf_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_Item }, }; static int dissect_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_List, Transport_UP_Layer_Addresses_Info_To_Remove_List_sequence_of, 1, maxnoofTLAs, FALSE); return offset; } static const per_sequence_t TNLConfigurationInfo_sequence[] = { { &hf_x2ap_transport_UP_Layer_Addresses_Info_To_Add_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_List }, { &hf_x2ap_transport_UP_Layer_Addresses_Info_To_Remove_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TNLConfigurationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TNLConfigurationInfo, TNLConfigurationInfo_sequence); return offset; } static const value_string x2ap_TraceDepth_vals[] = { { 0, "minimum" }, { 1, "medium" }, { 2, "maximum" }, { 3, "minimumWithoutVendorSpecificExtension" }, { 4, "mediumWithoutVendorSpecificExtension" }, { 5, "maximumWithoutVendorSpecificExtension" }, { 0, NULL } }; static int dissect_x2ap_TraceDepth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_TraceCollectionEntityIPAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; int len; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 160, TRUE, NULL, 0, &parameter_tvb, &len); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TraceCollectionEntityIPAddress); if (len == 32) { /* IPv4 */ proto_tree_add_item(subtree, hf_x2ap_traceCollectionEntityIPAddress_IPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN); } else if (len == 128) { /* IPv6 */ proto_tree_add_item(subtree, hf_x2ap_traceCollectionEntityIPAddress_IPv6, parameter_tvb, 0, 16, ENC_NA); } else if (len == 160) { /* IPv4 */ proto_tree_add_item(subtree, hf_x2ap_traceCollectionEntityIPAddress_IPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN); /* IPv6 */ proto_tree_add_item(subtree, hf_x2ap_traceCollectionEntityIPAddress_IPv6, parameter_tvb, 4, 16, ENC_NA); } return offset; } static const per_sequence_t TraceActivation_sequence[] = { { &hf_x2ap_eUTRANTraceID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EUTRANTraceID }, { &hf_x2ap_interfacesToTrace, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_InterfacesToTrace }, { &hf_x2ap_traceDepth , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TraceDepth }, { &hf_x2ap_traceCollectionEntityIPAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TraceCollectionEntityIPAddress }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TraceActivation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TraceActivation, TraceActivation_sequence); return offset; } static const per_sequence_t TunnelInformation_sequence[] = { { &hf_x2ap_transportLayerAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_TransportLayerAddress }, { &hf_x2ap_uDP_Port_Number, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_Port_Number }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TunnelInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TunnelInformation, TunnelInformation_sequence); return offset; } static const per_sequence_t UEAggregateMaximumBitRate_sequence[] = { { &hf_x2ap_uEaggregateMaximumBitRateDownlink, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_uEaggregateMaximumBitRateUplink, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UEAggregateMaximumBitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UEAggregateMaximumBitRate, UEAggregateMaximumBitRate_sequence); return offset; } static int dissect_x2ap_OCTET_STRING_SIZE_1_1000(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 1000, FALSE, NULL); return offset; } static const per_sequence_t UEAppLayerMeasConfig_sequence[] = { { &hf_x2ap_containerForAppLayerMeasConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_OCTET_STRING_SIZE_1_1000 }, { &hf_x2ap_areaScopeOfQMC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_AreaScopeOfQMC }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UEAppLayerMeasConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UEAppLayerMeasConfig, UEAppLayerMeasConfig_sequence); return offset; } static const value_string x2ap_UE_ContextKeptIndicator_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_UE_ContextKeptIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t UE_HistoryInformation_sequence_of[1] = { { &hf_x2ap_UE_HistoryInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_LastVisitedCell_Item }, }; static int dissect_x2ap_UE_HistoryInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_UE_HistoryInformation, UE_HistoryInformation_sequence_of, 1, maxnoofCells, FALSE); return offset; } static int dissect_x2ap_UE_HistoryInformationFromTheUE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_UE_HistoryInformationFromTheUE); dissect_lte_rrc_VisitedCellInfoList_r12_PDU(parameter_tvb, actx->pinfo, subtree, NULL); return offset; } static int dissect_x2ap_UE_S1AP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4294967295U, NULL, FALSE); return offset; } static int dissect_x2ap_UERadioCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_UERadioCapability); dissect_lte_rrc_UERadioAccessCapabilityInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_x2ap_UERadioCapabilityID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static int dissect_x2ap_UE_RLF_Report_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_UE_RLF_Report_Container); dissect_lte_rrc_RLF_Report_r9_PDU(parameter_tvb, actx->pinfo, subtree, NULL); return offset; } static int dissect_x2ap_UE_RLF_Report_Container_for_extended_bands(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_UE_RLF_Report_Container_for_extended_bands); dissect_lte_rrc_RLF_Report_v9e0_PDU(parameter_tvb, actx->pinfo, subtree, NULL); return offset; } static const per_sequence_t UESecurityCapabilities_sequence[] = { { &hf_x2ap_encryptionAlgorithms, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EncryptionAlgorithms }, { &hf_x2ap_integrityProtectionAlgorithms, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_IntegrityProtectionAlgorithms }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UESecurityCapabilities(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UESecurityCapabilities, UESecurityCapabilities_sequence); return offset; } static const per_sequence_t UESidelinkAggregateMaximumBitRate_sequence[] = { { &hf_x2ap_uESidelinkAggregateMaximumBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BitRate }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UESidelinkAggregateMaximumBitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UESidelinkAggregateMaximumBitRate, UESidelinkAggregateMaximumBitRate_sequence); return offset; } static const per_sequence_t UEsToBeResetList_Item_sequence[] = { { &hf_x2ap_meNB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UE_X2AP_ID }, { &hf_x2ap_meNB_ID_ext , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UE_X2AP_ID_Extension }, { &hf_x2ap_sgNB_ID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SgNB_UE_X2AP_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UEsToBeResetList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UEsToBeResetList_Item, UEsToBeResetList_Item_sequence); return offset; } static const per_sequence_t UEsToBeResetList_sequence_of[1] = { { &hf_x2ap_UEsToBeResetList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_UEsToBeResetList_Item }, }; static int dissect_x2ap_UEsToBeResetList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_UEsToBeResetList, UEsToBeResetList_sequence_of, 1, maxUEsinengNBDU, FALSE); return offset; } static const value_string x2ap_UL_UE_Configuration_vals[] = { { 0, "no-data" }, { 1, "shared" }, { 2, "only" }, { 0, NULL } }; static int dissect_x2ap_UL_UE_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ULConfiguration_sequence[] = { { &hf_x2ap_uL_PDCP , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_UE_Configuration }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ULConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ULConfiguration, ULConfiguration_sequence); return offset; } static int dissect_x2ap_UL_HighInterferenceIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 110, TRUE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t UL_HighInterferenceIndicationInfo_Item_sequence[] = { { &hf_x2ap_target_Cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_ul_interferenceindication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_HighInterferenceIndication }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UL_HighInterferenceIndicationInfo_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UL_HighInterferenceIndicationInfo_Item, UL_HighInterferenceIndicationInfo_Item_sequence); return offset; } static const per_sequence_t UL_HighInterferenceIndicationInfo_sequence_of[1] = { { &hf_x2ap_UL_HighInterferenceIndicationInfo_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_UL_HighInterferenceIndicationInfo_Item }, }; static int dissect_x2ap_UL_HighInterferenceIndicationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_UL_HighInterferenceIndicationInfo, UL_HighInterferenceIndicationInfo_sequence_of, 1, maxCellineNB, FALSE); return offset; } static int dissect_x2ap_UL_scheduling_PDCCH_CCE_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const value_string x2ap_UnlicensedSpectrumRestriction_vals[] = { { 0, "unlicensed-restricted" }, { 0, NULL } }; static int dissect_x2ap_UnlicensedSpectrumRestriction(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_URI_Address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_VisibleString(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static const per_sequence_t V2XServicesAuthorized_sequence[] = { { &hf_x2ap_vehicleUE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_VehicleUE }, { &hf_x2ap_pedestrianUE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_PedestrianUE }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_V2XServicesAuthorized(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_V2XServicesAuthorized, V2XServicesAuthorized_sequence); return offset; } static const value_string x2ap_WLANMeasConfig_vals[] = { { 0, "setup" }, { 0, NULL } }; static int dissect_x2ap_WLANMeasConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_x2ap_WLANName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 1, 32, FALSE, &parameter_tvb); actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA); return offset; } static const per_sequence_t WLANMeasConfigNameList_sequence_of[1] = { { &hf_x2ap_WLANMeasConfigNameList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_WLANName }, }; static int dissect_x2ap_WLANMeasConfigNameList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_WLANMeasConfigNameList, WLANMeasConfigNameList_sequence_of, 1, maxnoofWLANName, FALSE); return offset; } static const value_string x2ap_T_wlan_rssi_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_T_wlan_rssi(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_T_wlan_rtt_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_x2ap_T_wlan_rtt(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t WLANMeasurementConfiguration_sequence[] = { { &hf_x2ap_wlanMeasConfig , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_WLANMeasConfig }, { &hf_x2ap_wlanMeasConfigNameList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_WLANMeasConfigNameList }, { &hf_x2ap_wlan_rssi , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_wlan_rssi }, { &hf_x2ap_wlan_rtt , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_T_wlan_rtt }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_WLANMeasurementConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_WLANMeasurementConfiguration, WLANMeasurementConfiguration_sequence); return offset; } static const per_sequence_t WTID_Type1_sequence[] = { { &hf_x2ap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PLMN_Identity }, { &hf_x2ap_shortWTID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BIT_STRING_SIZE_24 }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_WTID_Type1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_WTID_Type1, WTID_Type1_sequence); return offset; } static int dissect_x2ap_WTID_Long_Type2(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 48, 48, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string x2ap_WTID_vals[] = { { 0, "wTID-Type1" }, { 1, "wTID-Type2" }, { 0, NULL } }; static const per_choice_t WTID_choice[] = { { 0, &hf_x2ap_wTID_Type1 , ASN1_EXTENSION_ROOT , dissect_x2ap_WTID_Type1 }, { 1, &hf_x2ap_wTID_Type2 , ASN1_EXTENSION_ROOT , dissect_x2ap_WTID_Long_Type2 }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_WTID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_WTID, WTID_choice, NULL); return offset; } static int dissect_x2ap_WT_UE_XwAP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, FALSE, NULL); return offset; } static int dissect_x2ap_X2BenefitValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 8U, NULL, TRUE); return offset; } static const per_sequence_t HandoverRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_HandoverRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_HandoverRequest, HandoverRequest_sequence); return offset; } static const per_sequence_t E_RABs_ToBeSetup_List_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeSetup_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeSetup_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeSetup_List, E_RABs_ToBeSetup_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t UE_ContextInformation_sequence[] = { { &hf_x2ap_mME_UE_S1AP_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UE_S1AP_ID }, { &hf_x2ap_uESecurityCapabilities, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UESecurityCapabilities }, { &hf_x2ap_aS_SecurityInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_AS_SecurityInformation }, { &hf_x2ap_uEaggregateMaximumBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UEAggregateMaximumBitRate }, { &hf_x2ap_subscriberProfileIDforRFP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SubscriberProfileIDforRFP }, { &hf_x2ap_e_RABs_ToBeSetup_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RABs_ToBeSetup_List }, { &hf_x2ap_rRC_Context , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RRC_Context }, { &hf_x2ap_handoverRestrictionList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_HandoverRestrictionList }, { &hf_x2ap_locationReportingInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_LocationReportingInformation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UE_ContextInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UE_ContextInformation, UE_ContextInformation_sequence); return offset; } static const per_sequence_t E_RABs_ToBeSetup_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_e_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_dL_Forwarding , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_DL_Forwarding }, { &hf_x2ap_uL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeSetup_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeSetup_Item, E_RABs_ToBeSetup_Item_sequence); return offset; } static int dissect_x2ap_MobilityInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t UE_ContextReferenceAtSeNB_sequence[] = { { &hf_x2ap_source_GlobalSeNB_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GlobalENB_ID }, { &hf_x2ap_seNB_UE_X2AP_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UE_X2AP_ID }, { &hf_x2ap_seNB_UE_X2AP_ID_Extension, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UE_X2AP_ID_Extension }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UE_ContextReferenceAtSeNB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UE_ContextReferenceAtSeNB, UE_ContextReferenceAtSeNB_sequence); return offset; } static const per_sequence_t UE_ContextReferenceAtWT_sequence[] = { { &hf_x2ap_wTID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_WTID }, { &hf_x2ap_wT_UE_XwAP_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_WT_UE_XwAP_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UE_ContextReferenceAtWT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UE_ContextReferenceAtWT, UE_ContextReferenceAtWT_sequence); return offset; } static const per_sequence_t UE_ContextReferenceAtSgNB_sequence[] = { { &hf_x2ap_source_GlobalSgNB_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GlobalGNB_ID }, { &hf_x2ap_sgNB_UE_X2AP_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SgNB_UE_X2AP_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UE_ContextReferenceAtSgNB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UE_ContextReferenceAtSgNB, UE_ContextReferenceAtSgNB_sequence); return offset; } static const per_sequence_t HandoverRequestAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_HandoverRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_HandoverRequestAcknowledge, HandoverRequestAcknowledge_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_List_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_List, E_RABs_Admitted_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_uL_GTP_TunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_GTP_TunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_Item, E_RABs_Admitted_Item_sequence); return offset; } static const per_sequence_t HandoverPreparationFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_HandoverPreparationFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverPreparationFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_HandoverPreparationFailure, HandoverPreparationFailure_sequence); return offset; } static const per_sequence_t HandoverReport_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_HandoverReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverReport"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_HandoverReport, HandoverReport_sequence); return offset; } static const per_sequence_t EarlyStatusTransfer_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_EarlyStatusTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "EarlyStatusTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_EarlyStatusTransfer, EarlyStatusTransfer_sequence); return offset; } static const per_sequence_t FirstDLCount_sequence[] = { { &hf_x2ap_e_RABsSubjectToEarlyStatusTransfer, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RABsSubjectToEarlyStatusTransfer_List }, { &hf_x2ap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_FirstDLCount(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_FirstDLCount, FirstDLCount_sequence); return offset; } static const per_sequence_t DLDiscarding_sequence[] = { { &hf_x2ap_e_RABsSubjectToDLDiscarding_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RABsSubjectToDLDiscarding_List }, { &hf_x2ap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_DLDiscarding(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_DLDiscarding, DLDiscarding_sequence); return offset; } static const value_string x2ap_ProcedureStageChoice_vals[] = { { 0, "first-dl-count" }, { 1, "dl-discarding" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ProcedureStageChoice_choice[] = { { 0, &hf_x2ap_first_dl_count , ASN1_NO_EXTENSIONS , dissect_x2ap_FirstDLCount }, { 1, &hf_x2ap_dl_discarding , ASN1_NO_EXTENSIONS , dissect_x2ap_DLDiscarding }, { 2, &hf_x2ap_choice_extension, ASN1_NO_EXTENSIONS , dissect_x2ap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_ProcedureStageChoice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_ProcedureStageChoice, ProcedureStageChoice_choice, NULL); return offset; } static const per_sequence_t SNStatusTransfer_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SNStatusTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNStatusTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SNStatusTransfer, SNStatusTransfer_sequence); return offset; } static const per_sequence_t E_RABs_SubjectToStatusTransfer_List_sequence_of[1] = { { &hf_x2ap_E_RABs_SubjectToStatusTransfer_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_SubjectToStatusTransfer_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_SubjectToStatusTransfer_List, E_RABs_SubjectToStatusTransfer_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_SubjectToStatusTransfer_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_receiveStatusofULPDCPSDUs, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ReceiveStatusofULPDCPSDUs }, { &hf_x2ap_uL_COUNTvalue , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_COUNTvalue }, { &hf_x2ap_dL_COUNTvalue , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_COUNTvalue }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_SubjectToStatusTransfer_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_SubjectToStatusTransfer_Item, E_RABs_SubjectToStatusTransfer_Item_sequence); return offset; } static const per_sequence_t UEContextRelease_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UEContextRelease(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextRelease"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UEContextRelease, UEContextRelease_sequence); return offset; } static const per_sequence_t HandoverCancel_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_HandoverCancel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverCancel"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_HandoverCancel, HandoverCancel_sequence); return offset; } static const per_sequence_t HandoverSuccess_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_HandoverSuccess(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverSuccess"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_HandoverSuccess, HandoverSuccess_sequence); return offset; } static const per_sequence_t ConditionalHandoverCancel_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ConditionalHandoverCancel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ConditionalHandoverCancel"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ConditionalHandoverCancel, ConditionalHandoverCancel_sequence); return offset; } static const per_sequence_t ErrorIndication_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ErrorIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ErrorIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ErrorIndication, ErrorIndication_sequence); return offset; } static const per_sequence_t ResetRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResetRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResetRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResetRequest, ResetRequest_sequence); return offset; } static const per_sequence_t ResetResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResetResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResetResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResetResponse, ResetResponse_sequence); return offset; } static const per_sequence_t X2SetupRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_X2SetupRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2SetupRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_X2SetupRequest, X2SetupRequest_sequence); return offset; } static const per_sequence_t X2SetupResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_X2SetupResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2SetupResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_X2SetupResponse, X2SetupResponse_sequence); return offset; } static const per_sequence_t X2SetupFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_X2SetupFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2SetupFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_X2SetupFailure, X2SetupFailure_sequence); return offset; } static const per_sequence_t LoadInformation_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_LoadInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "LoadInformation"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_LoadInformation, LoadInformation_sequence); return offset; } static const per_sequence_t CellInformation_List_sequence_of[1] = { { &hf_x2ap_CellInformation_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_CellInformation_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellInformation_List, CellInformation_List_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t CellInformation_Item_sequence[] = { { &hf_x2ap_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_ul_InterferenceOverloadIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UL_InterferenceOverloadIndication }, { &hf_x2ap_ul_HighInterferenceIndicationInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UL_HighInterferenceIndicationInfo }, { &hf_x2ap_relativeNarrowbandTxPower, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_RelativeNarrowbandTxPower }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellInformation_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellInformation_Item, CellInformation_Item_sequence); return offset; } static const per_sequence_t ENBConfigurationUpdate_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENBConfigurationUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdate"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENBConfigurationUpdate, ENBConfigurationUpdate_sequence); return offset; } static const per_sequence_t ServedCellsToModify_Item_sequence[] = { { &hf_x2ap_old_ecgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_servedCellInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedCell_Information }, { &hf_x2ap_neighbour_Info , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_Neighbour_Information }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedCellsToModify_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCellsToModify_Item, ServedCellsToModify_Item_sequence); return offset; } static const per_sequence_t ServedCellsToModify_sequence_of[1] = { { &hf_x2ap_ServedCellsToModify_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedCellsToModify_Item }, }; static int dissect_x2ap_ServedCellsToModify(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCellsToModify, ServedCellsToModify_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t Old_ECGIs_sequence_of[1] = { { &hf_x2ap_Old_ECGIs_item , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, }; static int dissect_x2ap_Old_ECGIs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_Old_ECGIs, Old_ECGIs_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t ENBConfigurationUpdateAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENBConfigurationUpdateAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdateAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENBConfigurationUpdateAcknowledge, ENBConfigurationUpdateAcknowledge_sequence); return offset; } static const per_sequence_t ENBConfigurationUpdateFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENBConfigurationUpdateFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdateFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENBConfigurationUpdateFailure, ENBConfigurationUpdateFailure_sequence); return offset; } static const per_sequence_t ResourceStatusRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResourceStatusRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResourceStatusRequest, ResourceStatusRequest_sequence); return offset; } static const per_sequence_t CellToReport_List_sequence_of[1] = { { &hf_x2ap_CellToReport_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_CellToReport_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellToReport_List, CellToReport_List_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t CellToReport_Item_sequence[] = { { &hf_x2ap_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellToReport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellToReport_Item, CellToReport_Item_sequence); return offset; } static const value_string x2ap_ReportingPeriodicity_vals[] = { { 0, "one-thousand-ms" }, { 1, "two-thousand-ms" }, { 2, "five-thousand-ms" }, { 3, "ten-thousand-ms" }, { 0, NULL } }; static int dissect_x2ap_ReportingPeriodicity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo); if (x2ap_data->procedure_code == id_endcresourceStatusReportingInitiation) return dissect_x2ap_ReportingPeriodicity_ENDC(tvb, offset, actx, tree, hf_x2ap_ReportingPeriodicity_ENDC_PDU); offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_PartialSuccessIndicator_vals[] = { { 0, "partial-success-allowed" }, { 0, NULL } }; static int dissect_x2ap_PartialSuccessIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ResourceStatusResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResourceStatusResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResourceStatusResponse, ResourceStatusResponse_sequence); return offset; } static const per_sequence_t MeasurementInitiationResult_List_sequence_of[1] = { { &hf_x2ap_MeasurementInitiationResult_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_MeasurementInitiationResult_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_MeasurementInitiationResult_List, MeasurementInitiationResult_List_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t MeasurementFailureCause_List_sequence_of[1] = { { &hf_x2ap_MeasurementFailureCause_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_MeasurementFailureCause_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_MeasurementFailureCause_List, MeasurementFailureCause_List_sequence_of, 1, maxFailedMeasObjects, FALSE); return offset; } static const per_sequence_t MeasurementInitiationResult_Item_sequence[] = { { &hf_x2ap_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_measurementFailureCause_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_MeasurementFailureCause_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MeasurementInitiationResult_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MeasurementInitiationResult_Item, MeasurementInitiationResult_Item_sequence); return offset; } static int dissect_x2ap_T_measurementFailedReportCharacteristics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_x2ap_measurementFailedReportCharacteristics_PRBPeriodic, &hf_x2ap_measurementFailedReportCharacteristics_TNLLoadIndPeriodic, &hf_x2ap_measurementFailedReportCharacteristics_HWLoadIndPeriodic, &hf_x2ap_measurementFailedReportCharacteristics_CompositeAvailableCapacityPeriodic, &hf_x2ap_measurementFailedReportCharacteristics_ABSStatusPeriodic, &hf_x2ap_measurementFailedReportCharacteristics_RSRPMeasurementReportPeriodic, &hf_x2ap_measurementFailedReportCharacteristics_CSIReportPeriodic, &hf_x2ap_measurementFailedReportCharacteristics_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_measurementFailedReportCharacteristics); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 4, fields, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t MeasurementFailureCause_Item_sequence[] = { { &hf_x2ap_measurementFailedReportCharacteristics, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_measurementFailedReportCharacteristics }, { &hf_x2ap_cause , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Cause }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MeasurementFailureCause_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MeasurementFailureCause_Item, MeasurementFailureCause_Item_sequence); return offset; } static const per_sequence_t ResourceStatusFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResourceStatusFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResourceStatusFailure, ResourceStatusFailure_sequence); return offset; } static const per_sequence_t CompleteFailureCauseInformation_List_sequence_of[1] = { { &hf_x2ap_CompleteFailureCauseInformation_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_CompleteFailureCauseInformation_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CompleteFailureCauseInformation_List, CompleteFailureCauseInformation_List_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t CompleteFailureCauseInformation_Item_sequence[] = { { &hf_x2ap_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_measurementFailureCause_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_MeasurementFailureCause_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CompleteFailureCauseInformation_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CompleteFailureCauseInformation_Item, CompleteFailureCauseInformation_Item_sequence); return offset; } static const per_sequence_t ResourceStatusUpdate_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResourceStatusUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusUpdate"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResourceStatusUpdate, ResourceStatusUpdate_sequence); return offset; } static const per_sequence_t CellMeasurementResult_List_sequence_of[1] = { { &hf_x2ap_CellMeasurementResult_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_CellMeasurementResult_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellMeasurementResult_List, CellMeasurementResult_List_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t CellMeasurementResult_Item_sequence[] = { { &hf_x2ap_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_hWLoadIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_HWLoadIndicator }, { &hf_x2ap_s1TNLLoadIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_S1TNLLoadIndicator }, { &hf_x2ap_radioResourceStatus, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_RadioResourceStatus }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellMeasurementResult_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellMeasurementResult_Item, CellMeasurementResult_Item_sequence); return offset; } static const per_sequence_t PrivateMessage_sequence[] = { { &hf_x2ap_privateIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_PrivateIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_PrivateMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PrivateMessage"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_PrivateMessage, PrivateMessage_sequence); return offset; } static const per_sequence_t MobilityChangeRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MobilityChangeRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MobilityChangeRequest, MobilityChangeRequest_sequence); return offset; } static const per_sequence_t MobilityChangeAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MobilityChangeAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MobilityChangeAcknowledge, MobilityChangeAcknowledge_sequence); return offset; } static const per_sequence_t MobilityChangeFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_MobilityChangeFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_MobilityChangeFailure, MobilityChangeFailure_sequence); return offset; } static const per_sequence_t RLFIndication_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RLFIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RLFIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RLFIndication, RLFIndication_sequence); return offset; } static const per_sequence_t CellActivationRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellActivationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellActivationRequest, CellActivationRequest_sequence); return offset; } static const per_sequence_t ServedCellsToActivate_Item_sequence[] = { { &hf_x2ap_ecgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedCellsToActivate_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCellsToActivate_Item, ServedCellsToActivate_Item_sequence); return offset; } static const per_sequence_t ServedCellsToActivate_sequence_of[1] = { { &hf_x2ap_ServedCellsToActivate_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedCellsToActivate_Item }, }; static int dissect_x2ap_ServedCellsToActivate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedCellsToActivate, ServedCellsToActivate_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t CellActivationResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellActivationResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellActivationResponse, CellActivationResponse_sequence); return offset; } static const per_sequence_t ActivatedCellList_Item_sequence[] = { { &hf_x2ap_ecgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ActivatedCellList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ActivatedCellList_Item, ActivatedCellList_Item_sequence); return offset; } static const per_sequence_t ActivatedCellList_sequence_of[1] = { { &hf_x2ap_ActivatedCellList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ActivatedCellList_Item }, }; static int dissect_x2ap_ActivatedCellList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ActivatedCellList, ActivatedCellList_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t CellActivationFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellActivationFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellActivationFailure, CellActivationFailure_sequence); return offset; } static const per_sequence_t X2Release_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_X2Release(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2Release"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_X2Release, X2Release_sequence); return offset; } static const per_sequence_t X2APMessageTransfer_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_X2APMessageTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2APMessageTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_X2APMessageTransfer, X2APMessageTransfer_sequence); return offset; } static const per_sequence_t RNL_Header_sequence[] = { { &hf_x2ap_source_GlobalENB_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GlobalENB_ID }, { &hf_x2ap_target_GlobalENB_ID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GlobalENB_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RNL_Header(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RNL_Header, RNL_Header_sequence); return offset; } static int dissect_x2ap_X2AP_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_X2AP_Message); dissect_X2AP_PDU_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t SeNBAdditionRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBAdditionRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBAdditionRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBAdditionRequest, SeNBAdditionRequest_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_List_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeAdded_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeAdded_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_List, E_RABs_ToBeAdded_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeAdded_Item_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_e_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_dL_Forwarding , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_DL_Forwarding }, { &hf_x2ap_s1_UL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_Item_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_Item_SCG_Bearer, E_RABs_ToBeAdded_Item_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_Item_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_e_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_meNB_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_Item_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_Item_Split_Bearer, E_RABs_ToBeAdded_Item_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_ToBeAdded_Item_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_ToBeAdded_Item_choice[] = { { 0, &hf_x2ap_sCG_Bearer , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeAdded_Item_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeAdded_Item_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_Item, E_RABs_ToBeAdded_Item_choice, NULL); return offset; } static const per_sequence_t SeNBAdditionRequestAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBAdditionRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBAdditionRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBAdditionRequestAcknowledge, SeNBAdditionRequestAcknowledge_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_List_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeAdded_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_List, E_RABs_Admitted_ToBeAdded_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_s1_DL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_uL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer, E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_Item_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_seNB_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_Item_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_Item_Split_Bearer, E_RABs_Admitted_ToBeAdded_Item_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_Admitted_ToBeAdded_Item_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_Admitted_ToBeAdded_Item_choice[] = { { 0, &hf_x2ap_sCG_Bearer_01 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_01, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeAdded_Item_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_Item, E_RABs_Admitted_ToBeAdded_Item_choice, NULL); return offset; } static const per_sequence_t SeNBAdditionRequestReject_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBAdditionRequestReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBAdditionRequestReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBAdditionRequestReject, SeNBAdditionRequestReject_sequence); return offset; } static const per_sequence_t SeNBReconfigurationComplete_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBReconfigurationComplete(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBReconfigurationComplete"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBReconfigurationComplete, SeNBReconfigurationComplete_sequence); return offset; } static const per_sequence_t ResponseInformationSeNBReconfComp_SuccessItem_sequence[] = { { &hf_x2ap_meNBtoSeNBContainer, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_MeNBtoSeNBContainer }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResponseInformationSeNBReconfComp_SuccessItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResponseInformationSeNBReconfComp_SuccessItem, ResponseInformationSeNBReconfComp_SuccessItem_sequence); return offset; } static const per_sequence_t ResponseInformationSeNBReconfComp_RejectByMeNBItem_sequence[] = { { &hf_x2ap_cause , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Cause }, { &hf_x2ap_meNBtoSeNBContainer, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_MeNBtoSeNBContainer }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResponseInformationSeNBReconfComp_RejectByMeNBItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResponseInformationSeNBReconfComp_RejectByMeNBItem, ResponseInformationSeNBReconfComp_RejectByMeNBItem_sequence); return offset; } static const value_string x2ap_ResponseInformationSeNBReconfComp_vals[] = { { 0, "success" }, { 1, "reject-by-MeNB" }, { 0, NULL } }; static const per_choice_t ResponseInformationSeNBReconfComp_choice[] = { { 0, &hf_x2ap_success , ASN1_EXTENSION_ROOT , dissect_x2ap_ResponseInformationSeNBReconfComp_SuccessItem }, { 1, &hf_x2ap_reject_by_MeNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ResponseInformationSeNBReconfComp_RejectByMeNBItem }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_ResponseInformationSeNBReconfComp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_ResponseInformationSeNBReconfComp, ResponseInformationSeNBReconfComp_choice, NULL); return offset; } static const per_sequence_t SeNBModificationRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBModificationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBModificationRequest, SeNBModificationRequest_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_List_ModReq_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeAdded_List_ModReq_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeAdded_List_ModReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_List_ModReq, E_RABs_ToBeAdded_List_ModReq_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeModified_List_ModReq_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeModified_List_ModReq_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeModified_List_ModReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_List_ModReq, E_RABs_ToBeModified_List_ModReq_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_List_ModReq_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_List_ModReq_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_List_ModReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_List_ModReq, E_RABs_ToBeReleased_List_ModReq_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t UE_ContextInformationSeNBModReq_sequence[] = { { &hf_x2ap_uE_SecurityCapabilities, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UESecurityCapabilities }, { &hf_x2ap_seNB_SecurityKey, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SeNBSecurityKey }, { &hf_x2ap_seNBUEAggregateMaximumBitRate, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UEAggregateMaximumBitRate }, { &hf_x2ap_e_RABs_ToBeAdded, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RABs_ToBeAdded_List_ModReq }, { &hf_x2ap_e_RABs_ToBeModified, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RABs_ToBeModified_List_ModReq }, { &hf_x2ap_e_RABs_ToBeReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RABs_ToBeReleased_List_ModReq }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UE_ContextInformationSeNBModReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UE_ContextInformationSeNBModReq, UE_ContextInformationSeNBModReq_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_ModReqItem_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_e_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_dL_Forwarding , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_DL_Forwarding }, { &hf_x2ap_s1_UL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_ModReqItem_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_ModReqItem_SCG_Bearer, E_RABs_ToBeAdded_ModReqItem_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_ModReqItem_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_e_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_meNB_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_ModReqItem_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_ModReqItem_Split_Bearer, E_RABs_ToBeAdded_ModReqItem_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_ToBeAdded_ModReqItem_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_ToBeAdded_ModReqItem_choice[] = { { 0, &hf_x2ap_sCG_Bearer_02 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeAdded_ModReqItem_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_02, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeAdded_ModReqItem_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_ModReqItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_ModReqItem, E_RABs_ToBeAdded_ModReqItem_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeModified_ModReqItem_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_e_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_s1_UL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_ModReqItem_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_ModReqItem_SCG_Bearer, E_RABs_ToBeModified_ModReqItem_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_ToBeModified_ModReqItem_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_e_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_meNB_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_ModReqItem_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_ModReqItem_Split_Bearer, E_RABs_ToBeModified_ModReqItem_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_ToBeModified_ModReqItem_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_ToBeModified_ModReqItem_choice[] = { { 0, &hf_x2ap_sCG_Bearer_03 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeModified_ModReqItem_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_03, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeModified_ModReqItem_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_ModReqItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_ModReqItem, E_RABs_ToBeModified_ModReqItem_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeReleased_ModReqItem_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_uL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_ModReqItem_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_ModReqItem_SCG_Bearer, E_RABs_ToBeReleased_ModReqItem_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_ModReqItem_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_ModReqItem_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_ModReqItem_Split_Bearer, E_RABs_ToBeReleased_ModReqItem_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_ToBeReleased_ModReqItem_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_ToBeReleased_ModReqItem_choice[] = { { 0, &hf_x2ap_sCG_Bearer_04 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_ModReqItem_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_04, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_ModReqItem_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_ModReqItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_ModReqItem, E_RABs_ToBeReleased_ModReqItem_choice, NULL); return offset; } static const per_sequence_t SeNBModificationRequestAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBModificationRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBModificationRequestAcknowledge, SeNBModificationRequestAcknowledge_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_ModAckList_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList, E_RABs_Admitted_ToBeAdded_ModAckList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_s1_DL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_uL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer, E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_seNB_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer, E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_Admitted_ToBeAdded_ModAckItem_choice[] = { { 0, &hf_x2ap_sCG_Bearer_05 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_05, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem, E_RABs_Admitted_ToBeAdded_ModAckItem_choice, NULL); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeModified_ModAckList_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeModified_ModAckList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckList, E_RABs_Admitted_ToBeModified_ModAckList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_s1_DL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer, E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_seNB_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer, E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_Admitted_ToBeModified_ModAckItem_choice[] = { { 0, &hf_x2ap_sCG_Bearer_06 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_06, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem, E_RABs_Admitted_ToBeModified_ModAckItem_choice, NULL); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeReleased_ModAckList_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList, E_RABs_Admitted_ToBeReleased_ModAckList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer, E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer, E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_Admitted_ToReleased_ModAckItem_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_Admitted_ToReleased_ModAckItem_choice[] = { { 0, &hf_x2ap_sCG_Bearer_07 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_07, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToReleased_ModAckItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToReleased_ModAckItem, E_RABs_Admitted_ToReleased_ModAckItem_choice, NULL); return offset; } static const per_sequence_t SeNBModificationRequestReject_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBModificationRequestReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRequestReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBModificationRequestReject, SeNBModificationRequestReject_sequence); return offset; } static const per_sequence_t SeNBModificationRequired_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBModificationRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBModificationRequired, SeNBModificationRequired_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_ModReqd_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_ModReqd_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_ModReqd(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_ModReqd, E_RABs_ToBeReleased_ModReqd_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_ModReqdItem_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_cause , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Cause }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_ModReqdItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_ModReqdItem, E_RABs_ToBeReleased_ModReqdItem_sequence); return offset; } static const per_sequence_t SeNBModificationConfirm_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBModificationConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBModificationConfirm, SeNBModificationConfirm_sequence); return offset; } static const per_sequence_t SeNBModificationRefuse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBModificationRefuse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRefuse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBModificationRefuse, SeNBModificationRefuse_sequence); return offset; } static const per_sequence_t SeNBReleaseRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBReleaseRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBReleaseRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBReleaseRequest, SeNBReleaseRequest_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_List_RelReq_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_List_RelReq_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_List_RelReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_List_RelReq, E_RABs_ToBeReleased_List_RelReq_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_RelReqItem_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_uL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_RelReqItem_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_RelReqItem_SCG_Bearer, E_RABs_ToBeReleased_RelReqItem_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_RelReqItem_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_RelReqItem_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_RelReqItem_Split_Bearer, E_RABs_ToBeReleased_RelReqItem_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_ToBeReleased_RelReqItem_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_ToBeReleased_RelReqItem_choice[] = { { 0, &hf_x2ap_sCG_Bearer_08 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_RelReqItem_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_08, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_RelReqItem_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_RelReqItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_RelReqItem, E_RABs_ToBeReleased_RelReqItem_choice, NULL); return offset; } static const per_sequence_t SeNBReleaseRequired_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBReleaseRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBReleaseRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBReleaseRequired, SeNBReleaseRequired_sequence); return offset; } static const per_sequence_t SeNBReleaseConfirm_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBReleaseConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBReleaseConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBReleaseConfirm, SeNBReleaseConfirm_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_List_RelConf_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_List_RelConf_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_List_RelConf(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_List_RelConf, E_RABs_ToBeReleased_List_RelConf_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_RelConfItem_SCG_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_uL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_RelConfItem_SCG_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_RelConfItem_SCG_Bearer, E_RABs_ToBeReleased_RelConfItem_SCG_Bearer_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_RelConfItem_Split_Bearer_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_RelConfItem_Split_Bearer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_RelConfItem_Split_Bearer, E_RABs_ToBeReleased_RelConfItem_Split_Bearer_sequence); return offset; } static const value_string x2ap_E_RABs_ToBeReleased_RelConfItem_vals[] = { { 0, "sCG-Bearer" }, { 1, "split-Bearer" }, { 0, NULL } }; static const per_choice_t E_RABs_ToBeReleased_RelConfItem_choice[] = { { 0, &hf_x2ap_sCG_Bearer_09 , ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_RelConfItem_SCG_Bearer }, { 1, &hf_x2ap_split_Bearer_09, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_RelConfItem_Split_Bearer }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_RelConfItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_RelConfItem, E_RABs_ToBeReleased_RelConfItem_choice, NULL); return offset; } static const per_sequence_t SeNBCounterCheckRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SeNBCounterCheckRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBCounterCheckRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SeNBCounterCheckRequest, SeNBCounterCheckRequest_sequence); return offset; } static const per_sequence_t E_RABs_SubjectToCounterCheck_List_sequence_of[1] = { { &hf_x2ap_E_RABs_SubjectToCounterCheck_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_SubjectToCounterCheck_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_SubjectToCounterCheck_List, E_RABs_SubjectToCounterCheck_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static int dissect_x2ap_INTEGER_0_4294967295(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4294967295U, NULL, FALSE); return offset; } static const per_sequence_t E_RABs_SubjectToCounterCheckItem_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_uL_Count , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_4294967295 }, { &hf_x2ap_dL_Count , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_4294967295 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_SubjectToCounterCheckItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_SubjectToCounterCheckItem, E_RABs_SubjectToCounterCheckItem_sequence); return offset; } static const per_sequence_t X2RemovalRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_X2RemovalRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2RemovalRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_X2RemovalRequest, X2RemovalRequest_sequence); return offset; } static const per_sequence_t X2RemovalResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_X2RemovalResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2RemovalResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_X2RemovalResponse, X2RemovalResponse_sequence); return offset; } static const per_sequence_t X2RemovalFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_X2RemovalFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2RemovalFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_X2RemovalFailure, X2RemovalFailure_sequence); return offset; } static const per_sequence_t RetrieveUEContextRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RetrieveUEContextRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RetrieveUEContextRequest, RetrieveUEContextRequest_sequence); return offset; } static const per_sequence_t RetrieveUEContextResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RetrieveUEContextResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RetrieveUEContextResponse, RetrieveUEContextResponse_sequence); return offset; } static const per_sequence_t E_RABs_ToBeSetup_ListRetrieve_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeSetup_ListRetrieve_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeSetup_ListRetrieve(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeSetup_ListRetrieve, E_RABs_ToBeSetup_ListRetrieve_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t UE_ContextInformationRetrieve_sequence[] = { { &hf_x2ap_mME_UE_S1AP_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UE_S1AP_ID }, { &hf_x2ap_uESecurityCapabilities, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UESecurityCapabilities }, { &hf_x2ap_aS_SecurityInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_AS_SecurityInformation }, { &hf_x2ap_uEaggregateMaximumBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_UEAggregateMaximumBitRate }, { &hf_x2ap_subscriberProfileIDforRFP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SubscriberProfileIDforRFP }, { &hf_x2ap_e_RABs_ToBeSetup_ListRetrieve, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RABs_ToBeSetup_ListRetrieve }, { &hf_x2ap_rRC_Context , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RRC_Context }, { &hf_x2ap_handoverRestrictionList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_HandoverRestrictionList }, { &hf_x2ap_locationReportingInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_LocationReportingInformation }, { &hf_x2ap_managBasedMDTallowed, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ManagementBasedMDTallowed }, { &hf_x2ap_managBasedMDTPLMNList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_MDTPLMNList }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UE_ContextInformationRetrieve(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UE_ContextInformationRetrieve, UE_ContextInformationRetrieve_sequence); return offset; } static const per_sequence_t E_RABs_ToBeSetupRetrieve_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_e_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_bearerType , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_BearerType }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeSetupRetrieve_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeSetupRetrieve_Item, E_RABs_ToBeSetupRetrieve_Item_sequence); return offset; } static const per_sequence_t RetrieveUEContextFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RetrieveUEContextFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RetrieveUEContextFailure, RetrieveUEContextFailure_sequence); return offset; } static const per_sequence_t SgNBAdditionRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBAdditionRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBAdditionRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBAdditionRequest, SgNBAdditionRequest_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_SgNBAddReqList_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeAdded_SgNBAddReqList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeAdded_SgNBAddReqList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_SgNBAddReqList, E_RABs_ToBeAdded_SgNBAddReqList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_full_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_max_MCG_admit_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GBR_QosInformation }, { &hf_x2ap_dL_Forwarding , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_DL_Forwarding }, { &hf_x2ap_meNB_DL_GTP_TEIDatMCG, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_s1_UL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_requested_SCG_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_meNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_secondary_meNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_rlc_Mode , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RLCMode }, { &hf_x2ap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ULConfiguration }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent, E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration, T_resource_configuration_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeAdded_SgNBAddReq_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DRB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item, E_RABs_ToBeAdded_SgNBAddReq_Item_sequence); return offset; } static const per_sequence_t SgNBAdditionRequestAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBAdditionRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBAdditionRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBAdditionRequestAcknowledge, SgNBAdditionRequestAcknowledge_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList, E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_s1_DL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_sgNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_rlc_Mode , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_RLCMode }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_uL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_mCG_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ULConfiguration }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent, E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_sgNB_DL_GTP_TEIDatSCG, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_secondary_sgNB_DL_GTP_TEIDatSCG, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent, E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_01_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_01_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_01, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_01, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_01, T_resource_configuration_01_choice, NULL); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_01 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item, E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_sequence); return offset; } static const per_sequence_t SgNBAdditionRequestReject_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBAdditionRequestReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBAdditionRequestReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBAdditionRequestReject, SgNBAdditionRequestReject_sequence); return offset; } static const per_sequence_t SgNBReconfigurationComplete_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBReconfigurationComplete(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReconfigurationComplete"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBReconfigurationComplete, SgNBReconfigurationComplete_sequence); return offset; } static const per_sequence_t ResponseInformationSgNBReconfComp_SuccessItem_sequence[] = { { &hf_x2ap_meNBtoSgNBContainer, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_MeNBtoSgNBContainer }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResponseInformationSgNBReconfComp_SuccessItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResponseInformationSgNBReconfComp_SuccessItem, ResponseInformationSgNBReconfComp_SuccessItem_sequence); return offset; } static const per_sequence_t ResponseInformationSgNBReconfComp_RejectByMeNBItem_sequence[] = { { &hf_x2ap_cause , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Cause }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ResponseInformationSgNBReconfComp_RejectByMeNBItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ResponseInformationSgNBReconfComp_RejectByMeNBItem, ResponseInformationSgNBReconfComp_RejectByMeNBItem_sequence); return offset; } static const value_string x2ap_ResponseInformationSgNBReconfComp_vals[] = { { 0, "success-SgNBReconfComp" }, { 1, "reject-by-MeNB-SgNBReconfComp" }, { 0, NULL } }; static const per_choice_t ResponseInformationSgNBReconfComp_choice[] = { { 0, &hf_x2ap_success_SgNBReconfComp, ASN1_EXTENSION_ROOT , dissect_x2ap_ResponseInformationSgNBReconfComp_SuccessItem }, { 1, &hf_x2ap_reject_by_MeNB_SgNBReconfComp, ASN1_EXTENSION_ROOT , dissect_x2ap_ResponseInformationSgNBReconfComp_RejectByMeNBItem }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_ResponseInformationSgNBReconfComp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_ResponseInformationSgNBReconfComp, ResponseInformationSgNBReconfComp_choice, NULL); return offset; } static const per_sequence_t SgNBModificationRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBModificationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBModificationRequest, SgNBModificationRequest_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_SgNBModReq_List_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeAdded_SgNBModReq_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeAdded_SgNBModReq_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_List, E_RABs_ToBeAdded_SgNBModReq_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeModified_SgNBModReq_List_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeModified_SgNBModReq_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeModified_SgNBModReq_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_SgNBModReq_List, E_RABs_ToBeModified_SgNBModReq_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBModReq_List_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_SgNBModReq_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBModReq_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_List, E_RABs_ToBeReleased_SgNBModReq_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t UE_ContextInformation_SgNBModReq_sequence[] = { { &hf_x2ap_nRUE_SecurityCapabilities, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRUESecurityCapabilities }, { &hf_x2ap_sgNB_SecurityKey, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SgNBSecurityKey }, { &hf_x2ap_sgNBUEAggregateMaximumBitRate, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_UEAggregateMaximumBitRate }, { &hf_x2ap_e_RABs_ToBeAdded_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RABs_ToBeAdded_SgNBModReq_List }, { &hf_x2ap_e_RABs_ToBeModified_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RABs_ToBeModified_SgNBModReq_List }, { &hf_x2ap_e_RABs_ToBeReleased_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RABs_ToBeReleased_SgNBModReq_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UE_ContextInformation_SgNBModReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UE_ContextInformation_SgNBModReq, UE_ContextInformation_SgNBModReq_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_full_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_max_MN_admit_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GBR_QosInformation }, { &hf_x2ap_dL_Forwarding , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_DL_Forwarding }, { &hf_x2ap_meNB_DL_GTP_TEIDatMCG, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_s1_UL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_requested_SCG_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_meNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_secondary_meNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_rlc_Mode , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RLCMode }, { &hf_x2ap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ULConfiguration }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_02_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_02_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_02, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_02, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_02(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_02, T_resource_configuration_02_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeAdded_SgNBModReq_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_DRB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_02, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_02 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item, E_RABs_ToBeAdded_SgNBModReq_Item_sequence); return offset; } static const per_sequence_t E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_full_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_max_MN_admit_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GBR_QosInformation }, { &hf_x2ap_meNB_DL_GTP_TEIDatMCG, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_s1_UL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent, E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_requested_SCG_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_meNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ULConfiguration }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent, E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_03_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_03_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_03, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_03, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_03(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_03, T_resource_configuration_03_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeModified_SgNBModReq_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_03, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_03 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_SgNBModReq_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item, E_RABs_ToBeModified_SgNBModReq_Item_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_dL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_uL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent, E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent, E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_04_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_04_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_04, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_04, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_04(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_04, T_resource_configuration_04_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBModReq_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_04, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_04 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item, E_RABs_ToBeReleased_SgNBModReq_Item_sequence); return offset; } static const per_sequence_t SgNBModificationRequestAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBModificationRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBModificationRequestAcknowledge, SgNBModificationRequestAcknowledge_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_SgNBModAckList_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList, E_RABs_Admitted_ToBeAdded_SgNBModAckList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_s1_DL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_sgNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_rlc_Mode , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_RLCMode }, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_uL_Forwarding_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_mCG_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ULConfiguration }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent, E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_sgNB_DL_GTP_TEIDatSCG, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_secondary_sgNB_DL_GTP_TEIDatSCG, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent, E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_05_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_05_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_05, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_05, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_05(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_05, T_resource_configuration_05_choice, NULL); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_05, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_05 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeModified_SgNBModAckList_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList, E_RABs_Admitted_ToBeModified_SgNBModAckList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_s1_DL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_sgNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_mCG_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ULConfiguration }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent, E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_sgNB_DL_GTP_TEIDatSCG, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent, E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_06_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_06_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_06, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_06, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_06(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_06, T_resource_configuration_06_choice, NULL); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeModified_SgNBModAck_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_06, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_06 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item, E_RABs_Admitted_ToBeModified_SgNBModAck_Item_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeReleased_SgNBModAckList_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList, E_RABs_Admitted_ToBeReleased_SgNBModAckList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent, E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent, E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_07_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_07_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_07, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_07, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_07(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_07, T_resource_configuration_07_choice, NULL); return offset; } static const per_sequence_t E_RABs_Admitted_ToReleased_SgNBModAck_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_07, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_07 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToReleased_SgNBModAck_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToReleased_SgNBModAck_Item, E_RABs_Admitted_ToReleased_SgNBModAck_Item_sequence); return offset; } static const per_sequence_t SgNBModificationRequestReject_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBModificationRequestReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRequestReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBModificationRequestReject, SgNBModificationRequestReject_sequence); return offset; } static const per_sequence_t SgNBModificationRequired_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBModificationRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBModificationRequired, SgNBModificationRequired_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBModReqdList_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_SgNBModReqdList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBModReqdList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBModReqdList, E_RABs_ToBeReleased_SgNBModReqdList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBModReqd_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_cause , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_Cause }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBModReqd_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBModReqd_Item, E_RABs_ToBeReleased_SgNBModReqd_Item_sequence); return offset; } static const per_sequence_t E_RABs_ToBeModified_SgNBModReqdList_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeModified_SgNBModReqdList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeModified_SgNBModReqdList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_SgNBModReqdList, E_RABs_ToBeModified_SgNBModReqdList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_requested_MCG_E_RAB_Level_QoS_Parameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_E_RAB_Level_QoS_Parameters }, { &hf_x2ap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ULConfiguration }, { &hf_x2ap_sgNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_s1_DL_GTP_TEIDatSgNB, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent, E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_sgNB_DL_GTP_TEIDatSCG, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_secondary_sgNB_DL_GTP_TEIDatSCG, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent, E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_08_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_08_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_08, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_08, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_08(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_08, T_resource_configuration_08_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeModified_SgNBModReqd_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_08, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_08 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item, E_RABs_ToBeModified_SgNBModReqd_Item_sequence); return offset; } static const per_sequence_t SgNBModificationConfirm_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBModificationConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBModificationConfirm, SgNBModificationConfirm_sequence); return offset; } static const per_sequence_t E_RABs_AdmittedToBeModified_SgNBModConfList_sequence_of[1] = { { &hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList, E_RABs_AdmittedToBeModified_SgNBModConfList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent, E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_secondary_meNB_UL_GTP_TEIDatPDCP, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent, E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_09_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_09_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_09, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_09, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_09(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_09, T_resource_configuration_09_choice, NULL); return offset; } static const per_sequence_t E_RABs_AdmittedToBeModified_SgNBModConf_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_09, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_09 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item, E_RABs_AdmittedToBeModified_SgNBModConf_Item_sequence); return offset; } static const per_sequence_t SgNBModificationRefuse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBModificationRefuse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRefuse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBModificationRefuse, SgNBModificationRefuse_sequence); return offset; } static const per_sequence_t SgNBReleaseRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBReleaseRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBReleaseRequest, SgNBReleaseRequest_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelReqList_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReqList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqList, E_RABs_ToBeReleased_SgNBRelReqList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_uL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent, E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent, E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_10_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_10_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_10, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_10, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_10(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_10, T_resource_configuration_10_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelReq_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_10, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_10 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item, E_RABs_ToBeReleased_SgNBRelReq_Item_sequence); return offset; } static const per_sequence_t SgNBReleaseRequestAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBReleaseRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBReleaseRequestAcknowledge, SgNBReleaseRequestAcknowledge_sequence); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_sequence_of[1] = { { &hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList, E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_rlc_Mode_transferred, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RLCMode }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item, E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item_sequence); return offset; } static const per_sequence_t SgNBReleaseRequestReject_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBReleaseRequestReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseRequestReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBReleaseRequestReject, SgNBReleaseRequestReject_sequence); return offset; } static const per_sequence_t SgNBReleaseRequired_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBReleaseRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBReleaseRequired, SgNBReleaseRequired_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelReqdList_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList, E_RABs_ToBeReleased_SgNBRelReqdList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelReqd_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_rlc_Mode_transferred, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_RLCMode }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReqd_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqd_Item, E_RABs_ToBeReleased_SgNBRelReqd_Item_sequence); return offset; } static const per_sequence_t SgNBReleaseConfirm_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBReleaseConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBReleaseConfirm, SgNBReleaseConfirm_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelConfList_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelConfList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelConfList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelConfList, E_RABs_ToBeReleased_SgNBRelConfList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_uL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent, E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent, E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_11_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_11_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_11, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_11, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_11(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_11, T_resource_configuration_11_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBRelConf_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_11, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_11 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item, E_RABs_ToBeReleased_SgNBRelConf_Item_sequence); return offset; } static const per_sequence_t SgNBCounterCheckRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBCounterCheckRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBCounterCheckRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBCounterCheckRequest, SgNBCounterCheckRequest_sequence); return offset; } static const per_sequence_t E_RABs_SubjectToSgNBCounterCheck_List_sequence_of[1] = { { &hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_SubjectToSgNBCounterCheck_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_SubjectToSgNBCounterCheck_List, E_RABs_SubjectToSgNBCounterCheck_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_SubjectToSgNBCounterCheck_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_uL_Count , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_4294967295 }, { &hf_x2ap_dL_Count , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_INTEGER_0_4294967295 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_SubjectToSgNBCounterCheck_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_SubjectToSgNBCounterCheck_Item, E_RABs_SubjectToSgNBCounterCheck_Item_sequence); return offset; } static const per_sequence_t SgNBChangeRequired_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBChangeRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBChangeRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBChangeRequired, SgNBChangeRequired_sequence); return offset; } static const per_sequence_t AccessAndMobilityIndication_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_AccessAndMobilityIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "AccessAndMobilityIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_AccessAndMobilityIndication, AccessAndMobilityIndication_sequence); return offset; } static const per_sequence_t SgNBChangeConfirm_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBChangeConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBChangeConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBChangeConfirm, SgNBChangeConfirm_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBChaConfList_sequence_of[1] = { { &hf_x2ap_E_RABs_ToBeReleased_SgNBChaConfList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBChaConfList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBChaConfList, E_RABs_ToBeReleased_SgNBChaConfList_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent_sequence[] = { { &hf_x2ap_uL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_dL_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent, E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent_sequence); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent_sequence[] = { { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent, E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent_sequence); return offset; } static const value_string x2ap_T_resource_configuration_12_vals[] = { { 0, "sgNBPDCPpresent" }, { 1, "sgNBPDCPnotpresent" }, { 0, NULL } }; static const per_choice_t T_resource_configuration_12_choice[] = { { 0, &hf_x2ap_sgNBPDCPpresent_12, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent }, { 1, &hf_x2ap_sgNBPDCPnotpresent_12, ASN1_EXTENSION_ROOT , dissect_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_resource_configuration_12(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_resource_configuration_12, T_resource_configuration_12_choice, NULL); return offset; } static const per_sequence_t E_RABs_ToBeReleased_SgNBChaConf_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_en_DC_ResourceConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_EN_DC_ResourceConfiguration }, { &hf_x2ap_resource_configuration_12, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_resource_configuration_12 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item, E_RABs_ToBeReleased_SgNBChaConf_Item_sequence); return offset; } static const per_sequence_t RRCTransfer_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_RRCTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RRCTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_RRCTransfer, RRCTransfer_sequence); return offset; } static const per_sequence_t SgNBChangeRefuse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBChangeRefuse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBChangeRefuse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBChangeRefuse, SgNBChangeRefuse_sequence); return offset; } static const per_sequence_t ENDCX2SetupRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCX2SetupRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2SetupRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCX2SetupRequest, ENDCX2SetupRequest_sequence); return offset; } static const value_string x2ap_InitiatingNodeType_EndcX2Setup_vals[] = { { 0, "init-eNB" }, { 1, "init-en-gNB" }, { 0, NULL } }; static const per_choice_t InitiatingNodeType_EndcX2Setup_choice[] = { { 0, &hf_x2ap_init_eNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 1, &hf_x2ap_init_en_gNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_InitiatingNodeType_EndcX2Setup(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_InitiatingNodeType_EndcX2Setup, InitiatingNodeType_EndcX2Setup_choice, NULL); return offset; } static const per_sequence_t ServedEUTRAcellsENDCX2ManagementList_item_sequence[] = { { &hf_x2ap_servedEUTRACellInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedCell_Information }, { &hf_x2ap_nrNeighbourInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRNeighbour_Information }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedEUTRAcellsENDCX2ManagementList_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedEUTRAcellsENDCX2ManagementList_item, ServedEUTRAcellsENDCX2ManagementList_item_sequence); return offset; } static const per_sequence_t ServedEUTRAcellsENDCX2ManagementList_sequence_of[1] = { { &hf_x2ap_ServedEUTRAcellsENDCX2ManagementList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedEUTRAcellsENDCX2ManagementList_item }, }; static int dissect_x2ap_ServedEUTRAcellsENDCX2ManagementList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedEUTRAcellsENDCX2ManagementList, ServedEUTRAcellsENDCX2ManagementList_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t FDD_InfoServedNRCell_Information_sequence[] = { { &hf_x2ap_ul_NRFreqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRFreqInfo }, { &hf_x2ap_dl_NRFreqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRFreqInfo }, { &hf_x2ap_ul_NR_TxBW , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NR_TxBW }, { &hf_x2ap_dl_NR_TxBW , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NR_TxBW }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_FDD_InfoServedNRCell_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_FDD_InfoServedNRCell_Information, FDD_InfoServedNRCell_Information_sequence); return offset; } static const per_sequence_t TDD_InfoServedNRCell_Information_sequence[] = { { &hf_x2ap_nRFreqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRFreqInfo }, { &hf_x2ap_nR_TxBW , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NR_TxBW }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TDD_InfoServedNRCell_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TDD_InfoServedNRCell_Information, TDD_InfoServedNRCell_Information_sequence); return offset; } static const value_string x2ap_T_nrModeInfo_vals[] = { { 0, "fdd" }, { 1, "tdd" }, { 0, NULL } }; static const per_choice_t T_nrModeInfo_choice[] = { { 0, &hf_x2ap_fdd_04 , ASN1_EXTENSION_ROOT , dissect_x2ap_FDD_InfoServedNRCell_Information }, { 1, &hf_x2ap_tdd_04 , ASN1_EXTENSION_ROOT , dissect_x2ap_TDD_InfoServedNRCell_Information }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_T_nrModeInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_T_nrModeInfo, T_nrModeInfo_choice, NULL); return offset; } static int dissect_x2ap_T_measurementTimingConfiguration_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *param_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &param_tvb); if (param_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_measurementTimingConfiguration); dissect_nr_rrc_MeasurementTimingConfiguration_PDU(param_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t ServedNRCell_Information_sequence[] = { { &hf_x2ap_nrpCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRPCI }, { &hf_x2ap_nrCellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_fiveGS_TAC , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_FiveGS_TAC }, { &hf_x2ap_configured_TAC , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_TAC }, { &hf_x2ap_broadcastPLMNs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_BroadcastPLMNs_Item }, { &hf_x2ap_nrModeInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_nrModeInfo }, { &hf_x2ap_measurementTimingConfiguration_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_T_measurementTimingConfiguration_01 }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedNRCell_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedNRCell_Information, ServedNRCell_Information_sequence); return offset; } static const per_sequence_t ServedNRcellsENDCX2ManagementList_item_sequence[] = { { &hf_x2ap_servedNRCellInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedNRCell_Information }, { &hf_x2ap_nRNeighbourInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRNeighbour_Information }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedNRcellsENDCX2ManagementList_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedNRcellsENDCX2ManagementList_item, ServedNRcellsENDCX2ManagementList_item_sequence); return offset; } static const per_sequence_t ServedNRcellsENDCX2ManagementList_sequence_of[1] = { { &hf_x2ap_ServedNRcellsENDCX2ManagementList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedNRcellsENDCX2ManagementList_item }, }; static int dissect_x2ap_ServedNRcellsENDCX2ManagementList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedNRcellsENDCX2ManagementList, ServedNRcellsENDCX2ManagementList_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static const per_sequence_t Limited_list_item_sequence[] = { { &hf_x2ap_nrCellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_Limited_list_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_Limited_list_item, Limited_list_item_sequence); return offset; } static const per_sequence_t Limited_list_sequence_of[1] = { { &hf_x2ap_Limited_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Limited_list_item }, }; static int dissect_x2ap_Limited_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_Limited_list, Limited_list_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static const value_string x2ap_T_full_list_vals[] = { { 0, "allServedNRcells" }, { 0, NULL } }; static int dissect_x2ap_T_full_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string x2ap_CellAssistanceInformation_vals[] = { { 0, "limited-list" }, { 1, "full-list" }, { 0, NULL } }; static const per_choice_t CellAssistanceInformation_choice[] = { { 0, &hf_x2ap_limited_list , ASN1_EXTENSION_ROOT , dissect_x2ap_Limited_list }, { 1, &hf_x2ap_full_list , ASN1_EXTENSION_ROOT , dissect_x2ap_T_full_list }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_CellAssistanceInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_CellAssistanceInformation, CellAssistanceInformation_choice, NULL); return offset; } static const per_sequence_t CellandCapacityAssistInfo_sequence[] = { { &hf_x2ap_maximumCellListSize, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_MaximumCellListSize }, { &hf_x2ap_cellAssistanceInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CellAssistanceInformation }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellandCapacityAssistInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellandCapacityAssistInfo, CellandCapacityAssistInfo_sequence); return offset; } static const per_sequence_t ENDCX2SetupResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCX2SetupResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2SetupResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCX2SetupResponse, ENDCX2SetupResponse_sequence); return offset; } static const value_string x2ap_RespondingNodeType_EndcX2Setup_vals[] = { { 0, "respond-eNB" }, { 1, "respond-en-gNB" }, { 0, NULL } }; static const per_choice_t RespondingNodeType_EndcX2Setup_choice[] = { { 0, &hf_x2ap_respond_eNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 1, &hf_x2ap_respond_en_gNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_RespondingNodeType_EndcX2Setup(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_RespondingNodeType_EndcX2Setup, RespondingNodeType_EndcX2Setup_choice, NULL); return offset; } static const per_sequence_t ENDCX2SetupFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCX2SetupFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2SetupFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCX2SetupFailure, ENDCX2SetupFailure_sequence); return offset; } static const per_sequence_t ENDCConfigurationUpdate_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCConfigurationUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCConfigurationUpdate"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCConfigurationUpdate, ENDCConfigurationUpdate_sequence); return offset; } static const value_string x2ap_InitiatingNodeType_EndcConfigUpdate_vals[] = { { 0, "init-eNB" }, { 1, "init-en-gNB" }, { 0, NULL } }; static const per_choice_t InitiatingNodeType_EndcConfigUpdate_choice[] = { { 0, &hf_x2ap_init_eNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 1, &hf_x2ap_init_en_gNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_InitiatingNodeType_EndcConfigUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_InitiatingNodeType_EndcConfigUpdate, InitiatingNodeType_EndcConfigUpdate_choice, NULL); return offset; } static const per_sequence_t ServedEUTRAcellsToModifyListENDCConfUpd_item_sequence[] = { { &hf_x2ap_old_ECGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_servedEUTRACellInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedCell_Information }, { &hf_x2ap_nrNeighbourInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRNeighbour_Information }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_item, ServedEUTRAcellsToModifyListENDCConfUpd_item_sequence); return offset; } static const per_sequence_t ServedEUTRAcellsToModifyListENDCConfUpd_sequence_of[1] = { { &hf_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_item }, }; static int dissect_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd, ServedEUTRAcellsToModifyListENDCConfUpd_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t ServedEUTRAcellsToDeleteListENDCConfUpd_sequence_of[1] = { { &hf_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, }; static int dissect_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd, ServedEUTRAcellsToDeleteListENDCConfUpd_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t ServedNRCellsToModify_Item_sequence[] = { { &hf_x2ap_old_nrcgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_servedNRCellInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedNRCell_Information }, { &hf_x2ap_nrNeighbourInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRNeighbour_Information }, { &hf_x2ap_nrDeactivationIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_DeactivationIndication }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedNRCellsToModify_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedNRCellsToModify_Item, ServedNRCellsToModify_Item_sequence); return offset; } static const per_sequence_t ServedNRcellsToModifyENDCConfUpdList_sequence_of[1] = { { &hf_x2ap_ServedNRcellsToModifyENDCConfUpdList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedNRCellsToModify_Item }, }; static int dissect_x2ap_ServedNRcellsToModifyENDCConfUpdList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedNRcellsToModifyENDCConfUpdList, ServedNRcellsToModifyENDCConfUpdList_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static const per_sequence_t ServedNRcellsToDeleteENDCConfUpdList_sequence_of[1] = { { &hf_x2ap_ServedNRcellsToDeleteENDCConfUpdList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, }; static int dissect_x2ap_ServedNRcellsToDeleteENDCConfUpdList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedNRcellsToDeleteENDCConfUpdList, ServedNRcellsToDeleteENDCConfUpdList_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static const per_sequence_t ENDCConfigurationUpdateAcknowledge_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCConfigurationUpdateAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCConfigurationUpdateAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCConfigurationUpdateAcknowledge, ENDCConfigurationUpdateAcknowledge_sequence); return offset; } static const value_string x2ap_RespondingNodeType_EndcConfigUpdate_vals[] = { { 0, "respond-eNB" }, { 1, "respond-en-gNB" }, { 0, NULL } }; static const per_choice_t RespondingNodeType_EndcConfigUpdate_choice[] = { { 0, &hf_x2ap_respond_eNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 1, &hf_x2ap_respond_en_gNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_RespondingNodeType_EndcConfigUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_RespondingNodeType_EndcConfigUpdate, RespondingNodeType_EndcConfigUpdate_choice, NULL); return offset; } static const per_sequence_t ENDCConfigurationUpdateFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCConfigurationUpdateFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCConfigurationUpdateFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCConfigurationUpdateFailure, ENDCConfigurationUpdateFailure_sequence); return offset; } static const per_sequence_t ENDCCellActivationRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCCellActivationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCCellActivationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCCellActivationRequest, ENDCCellActivationRequest_sequence); return offset; } static const per_sequence_t ServedNRCellsToActivate_Item_sequence[] = { { &hf_x2ap_nrCellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ServedNRCellsToActivate_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedNRCellsToActivate_Item, ServedNRCellsToActivate_Item_sequence); return offset; } static const per_sequence_t ServedNRCellsToActivate_sequence_of[1] = { { &hf_x2ap_ServedNRCellsToActivate_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ServedNRCellsToActivate_Item }, }; static int dissect_x2ap_ServedNRCellsToActivate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ServedNRCellsToActivate, ServedNRCellsToActivate_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static const per_sequence_t ENDCCellActivationResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCCellActivationResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCCellActivationResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCCellActivationResponse, ENDCCellActivationResponse_sequence); return offset; } static const per_sequence_t ActivatedNRCellList_Item_sequence[] = { { &hf_x2ap_nrCellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ActivatedNRCellList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ActivatedNRCellList_Item, ActivatedNRCellList_Item_sequence); return offset; } static const per_sequence_t ActivatedNRCellList_sequence_of[1] = { { &hf_x2ap_ActivatedNRCellList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ActivatedNRCellList_Item }, }; static int dissect_x2ap_ActivatedNRCellList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ActivatedNRCellList, ActivatedNRCellList_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static const per_sequence_t ENDCCellActivationFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCCellActivationFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCCellActivationFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCCellActivationFailure, ENDCCellActivationFailure_sequence); return offset; } static const per_sequence_t ENDCResourceStatusRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCResourceStatusRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCResourceStatusRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCResourceStatusRequest, ENDCResourceStatusRequest_sequence); return offset; } static const value_string x2ap_ReportingPeriodicity_ENDC_vals[] = { { 0, "ms500" }, { 1, "ms1000" }, { 2, "ms2000" }, { 3, "ms5000" }, { 4, "ms10000" }, { 0, NULL } }; static int dissect_x2ap_ReportingPeriodicity_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t CellToReport_NR_ENDC_List_sequence_of[1] = { { &hf_x2ap_CellToReport_NR_ENDC_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_CellToReport_NR_ENDC_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellToReport_NR_ENDC_List, CellToReport_NR_ENDC_List_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static const per_sequence_t SSBToReport_Item_sequence[] = { { &hf_x2ap_ssbIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_SSBIndex }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SSBToReport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SSBToReport_Item, SSBToReport_Item_sequence); return offset; } static const per_sequence_t SSBToReport_List_sequence_of[1] = { { &hf_x2ap_SSBToReport_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_SSBToReport_Item }, }; static int dissect_x2ap_SSBToReport_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_SSBToReport_List, SSBToReport_List_sequence_of, 1, maxnoofSSBAreas, FALSE); return offset; } static const per_sequence_t CellToReport_NR_ENDC_Item_sequence[] = { { &hf_x2ap_nr_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_ssbToReport_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_SSBToReport_List }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellToReport_NR_ENDC_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellToReport_NR_ENDC_Item, CellToReport_NR_ENDC_Item_sequence); return offset; } static const per_sequence_t CellToReport_E_UTRA_ENDC_List_sequence_of[1] = { { &hf_x2ap_CellToReport_E_UTRA_ENDC_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_CellToReport_E_UTRA_ENDC_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellToReport_E_UTRA_ENDC_List, CellToReport_E_UTRA_ENDC_List_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t CellToReport_E_UTRA_ENDC_Item_sequence[] = { { &hf_x2ap_e_utra_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellToReport_E_UTRA_ENDC_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellToReport_E_UTRA_ENDC_Item, CellToReport_E_UTRA_ENDC_Item_sequence); return offset; } static const per_sequence_t ENDCResourceStatusResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCResourceStatusResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCResourceStatusResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCResourceStatusResponse, ENDCResourceStatusResponse_sequence); return offset; } static const per_sequence_t ENDCResourceStatusFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCResourceStatusFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCResourceStatusFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCResourceStatusFailure, ENDCResourceStatusFailure_sequence); return offset; } static const per_sequence_t ENDCResourceStatusUpdate_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCResourceStatusUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCResourceStatusUpdate"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCResourceStatusUpdate, ENDCResourceStatusUpdate_sequence); return offset; } static const per_sequence_t CellMeasurementResult_NR_ENDC_List_sequence_of[1] = { { &hf_x2ap_CellMeasurementResult_NR_ENDC_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_CellMeasurementResult_NR_ENDC_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellMeasurementResult_NR_ENDC_List, CellMeasurementResult_NR_ENDC_List_sequence_of, 1, maxCellinengNB, FALSE); return offset; } static int dissect_x2ap_INTEGER_0_16777215_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 16777215U, NULL, TRUE); return offset; } static const per_sequence_t CellMeasurementResult_NR_ENDC_Item_sequence[] = { { &hf_x2ap_nr_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, { &hf_x2ap_nr_radioResourceStatus, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRRadioResourceStatus }, { &hf_x2ap_tnlCapacityIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_TNLCapacityIndicator }, { &hf_x2ap_nr_compositeAvailableCapacityGroup, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_NRCompositeAvailableCapacityGroup }, { &hf_x2ap_numberofActiveUEs, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_INTEGER_0_16777215_ }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellMeasurementResult_NR_ENDC_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellMeasurementResult_NR_ENDC_Item, CellMeasurementResult_NR_ENDC_Item_sequence); return offset; } static const per_sequence_t CellMeasurementResult_E_UTRA_ENDC_List_sequence_of[1] = { { &hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_CellMeasurementResult_E_UTRA_ENDC_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_CellMeasurementResult_E_UTRA_ENDC_List, CellMeasurementResult_E_UTRA_ENDC_List_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t CellMeasurementResult_E_UTRA_ENDC_Item_sequence[] = { { &hf_x2ap_e_utra_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, { &hf_x2ap_hWLoadIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_HWLoadIndicator }, { &hf_x2ap_s1TNLLoadIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_S1TNLLoadIndicator }, { &hf_x2ap_radioResourceStatus, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_RadioResourceStatus }, { &hf_x2ap_compositeAvailableCapacityGroup, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_CompositeAvailableCapacityGroup }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellMeasurementResult_E_UTRA_ENDC_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellMeasurementResult_E_UTRA_ENDC_Item, CellMeasurementResult_E_UTRA_ENDC_Item_sequence); return offset; } static const per_sequence_t SecondaryRATDataUsageReport_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SecondaryRATDataUsageReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SecondaryRATDataUsageReport"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SecondaryRATDataUsageReport, SecondaryRATDataUsageReport_sequence); return offset; } static const per_sequence_t SgNBActivityNotification_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SgNBActivityNotification(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBActivityNotification"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SgNBActivityNotification, SgNBActivityNotification_sequence); return offset; } static const per_sequence_t ENDCPartialResetRequired_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCPartialResetRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCPartialResetRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCPartialResetRequired, ENDCPartialResetRequired_sequence); return offset; } static const per_sequence_t ENDCPartialResetConfirm_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCPartialResetConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCPartialResetConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCPartialResetConfirm, ENDCPartialResetConfirm_sequence); return offset; } static const per_sequence_t EUTRANRCellResourceCoordinationRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_EUTRANRCellResourceCoordinationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "EUTRANRCellResourceCoordinationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_EUTRANRCellResourceCoordinationRequest, EUTRANRCellResourceCoordinationRequest_sequence); return offset; } static const value_string x2ap_InitiatingNodeType_EutranrCellResourceCoordination_vals[] = { { 0, "initiate-eNB" }, { 1, "initiate-en-gNB" }, { 0, NULL } }; static const per_choice_t InitiatingNodeType_EutranrCellResourceCoordination_choice[] = { { 0, &hf_x2ap_initiate_eNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 1, &hf_x2ap_initiate_en_gNB, ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_InitiatingNodeType_EutranrCellResourceCoordination(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_InitiatingNodeType_EutranrCellResourceCoordination, InitiatingNodeType_EutranrCellResourceCoordination_choice, NULL); return offset; } static const per_sequence_t ListofEUTRACellsinEUTRACoordinationReq_sequence_of[1] = { { &hf_x2ap_ListofEUTRACellsinEUTRACoordinationReq_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, }; static int dissect_x2ap_ListofEUTRACellsinEUTRACoordinationReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ListofEUTRACellsinEUTRACoordinationReq, ListofEUTRACellsinEUTRACoordinationReq_sequence_of, 0, maxCellineNB, FALSE); return offset; } static const per_sequence_t ListofEUTRACellsinNRCoordinationReq_sequence_of[1] = { { &hf_x2ap_ListofEUTRACellsinNRCoordinationReq_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, }; static int dissect_x2ap_ListofEUTRACellsinNRCoordinationReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ListofEUTRACellsinNRCoordinationReq, ListofEUTRACellsinNRCoordinationReq_sequence_of, 1, maxCellineNB, FALSE); return offset; } static const per_sequence_t ListofNRCellsinNRCoordinationReq_sequence_of[1] = { { &hf_x2ap_ListofNRCellsinNRCoordinationReq_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, }; static int dissect_x2ap_ListofNRCellsinNRCoordinationReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ListofNRCellsinNRCoordinationReq, ListofNRCellsinNRCoordinationReq_sequence_of, 0, maxnoNRcellsSpectrumSharingWithE_UTRA, FALSE); return offset; } static const per_sequence_t EUTRANRCellResourceCoordinationResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_EUTRANRCellResourceCoordinationResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "EUTRANRCellResourceCoordinationResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_EUTRANRCellResourceCoordinationResponse, EUTRANRCellResourceCoordinationResponse_sequence); return offset; } static const value_string x2ap_RespondingNodeType_EutranrCellResourceCoordination_vals[] = { { 0, "respond-eNB" }, { 1, "respond-en-gNB" }, { 0, NULL } }; static const per_choice_t RespondingNodeType_EutranrCellResourceCoordination_choice[] = { { 0, &hf_x2ap_respond_eNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 1, &hf_x2ap_respond_en_gNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_RespondingNodeType_EutranrCellResourceCoordination(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_RespondingNodeType_EutranrCellResourceCoordination, RespondingNodeType_EutranrCellResourceCoordination_choice, NULL); return offset; } static const per_sequence_t ListofEUTRACellsinEUTRACoordinationResp_sequence_of[1] = { { &hf_x2ap_ListofEUTRACellsinEUTRACoordinationResp_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ECGI }, }; static int dissect_x2ap_ListofEUTRACellsinEUTRACoordinationResp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ListofEUTRACellsinEUTRACoordinationResp, ListofEUTRACellsinEUTRACoordinationResp_sequence_of, 0, maxCellineNB, FALSE); return offset; } static const per_sequence_t ListofNRCellsinNRCoordinationResp_sequence_of[1] = { { &hf_x2ap_ListofNRCellsinNRCoordinationResp_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_NRCGI }, }; static int dissect_x2ap_ListofNRCellsinNRCoordinationResp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_ListofNRCellsinNRCoordinationResp, ListofNRCellsinNRCoordinationResp_sequence_of, 0, maxnoNRcellsSpectrumSharingWithE_UTRA, FALSE); return offset; } static const per_sequence_t ENDCX2RemovalRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCX2RemovalRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2RemovalRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCX2RemovalRequest, ENDCX2RemovalRequest_sequence); return offset; } static const value_string x2ap_InitiatingNodeType_EndcX2Removal_vals[] = { { 0, "init-eNB" }, { 1, "init-en-gNB" }, { 0, NULL } }; static const per_choice_t InitiatingNodeType_EndcX2Removal_choice[] = { { 0, &hf_x2ap_init_eNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 1, &hf_x2ap_init_en_gNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_InitiatingNodeType_EndcX2Removal(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_InitiatingNodeType_EndcX2Removal, InitiatingNodeType_EndcX2Removal_choice, NULL); return offset; } static const per_sequence_t ENDCX2RemovalResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCX2RemovalResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2RemovalResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCX2RemovalResponse, ENDCX2RemovalResponse_sequence); return offset; } static const value_string x2ap_RespondingNodeType_EndcX2Removal_vals[] = { { 0, "respond-eNB" }, { 1, "respond-en-gNB" }, { 0, NULL } }; static const per_choice_t RespondingNodeType_EndcX2Removal_choice[] = { { 0, &hf_x2ap_respond_eNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 1, &hf_x2ap_respond_en_gNB , ASN1_EXTENSION_ROOT , dissect_x2ap_ProtocolIE_Container }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_RespondingNodeType_EndcX2Removal(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_RespondingNodeType_EndcX2Removal, RespondingNodeType_EndcX2Removal_choice, NULL); return offset; } static const per_sequence_t ENDCX2RemovalFailure_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCX2RemovalFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2RemovalFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCX2RemovalFailure, ENDCX2RemovalFailure_sequence); return offset; } static const per_sequence_t DataForwardingAddressIndication_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_DataForwardingAddressIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DataForwardingAddressIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_DataForwardingAddressIndication, DataForwardingAddressIndication_sequence); return offset; } static const per_sequence_t E_RABs_DataForwardingAddress_List_sequence_of[1] = { { &hf_x2ap_E_RABs_DataForwardingAddress_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Single_Container }, }; static int dissect_x2ap_E_RABs_DataForwardingAddress_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_DataForwardingAddress_List, E_RABs_DataForwardingAddress_List_sequence_of, 1, maxnoofBearers, FALSE); return offset; } static const per_sequence_t E_RABs_DataForwardingAddress_Item_sequence[] = { { &hf_x2ap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_E_RAB_ID }, { &hf_x2ap_dl_GTPtunnelEndpoint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_GTPtunnelEndpoint }, { &hf_x2ap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_x2ap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_E_RABs_DataForwardingAddress_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_E_RABs_DataForwardingAddress_Item, E_RABs_DataForwardingAddress_Item_sequence); return offset; } static const per_sequence_t GNBStatusIndication_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_GNBStatusIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "GNBStatusIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_GNBStatusIndication, GNBStatusIndication_sequence); return offset; } static const per_sequence_t ENDCConfigurationTransfer_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_ENDCConfigurationTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCConfigurationTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_ENDCConfigurationTransfer, ENDCConfigurationTransfer_sequence); return offset; } static const per_sequence_t TraceStart_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_TraceStart(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "TraceStart"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_TraceStart, TraceStart_sequence); return offset; } static const per_sequence_t DeactivateTrace_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_DeactivateTrace(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DeactivateTrace"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_DeactivateTrace, DeactivateTrace_sequence); return offset; } static const per_sequence_t CellTrafficTrace_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CellTrafficTrace(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellTrafficTrace"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CellTrafficTrace, CellTrafficTrace_sequence); return offset; } static const per_sequence_t F1CTrafficTransfer_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_F1CTrafficTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "F1CTrafficTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_F1CTrafficTransfer, F1CTrafficTransfer_sequence); return offset; } static const per_sequence_t UERadioCapabilityIDMappingRequest_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UERadioCapabilityIDMappingRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UERadioCapabilityIDMappingRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UERadioCapabilityIDMappingRequest, UERadioCapabilityIDMappingRequest_sequence); return offset; } static const per_sequence_t UERadioCapabilityIDMappingResponse_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UERadioCapabilityIDMappingResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UERadioCapabilityIDMappingResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UERadioCapabilityIDMappingResponse, UERadioCapabilityIDMappingResponse_sequence); return offset; } static const per_sequence_t CPC_cancel_sequence[] = { { &hf_x2ap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_x2ap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_CPC_cancel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CPC-cancel"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_CPC_cancel, CPC_cancel_sequence); return offset; } static int dissect_x2ap_InitiatingMessage_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_InitiatingMessageValue); return offset; } static const per_sequence_t InitiatingMessage_sequence[] = { { &hf_x2ap_procedureCode , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProcedureCode }, { &hf_x2ap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Criticality }, { &hf_x2ap_initiatingMessage_value, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_InitiatingMessage_value }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_InitiatingMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_InitiatingMessage, InitiatingMessage_sequence); return offset; } static int dissect_x2ap_SuccessfulOutcome_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_SuccessfulOutcomeValue); return offset; } static const per_sequence_t SuccessfulOutcome_sequence[] = { { &hf_x2ap_procedureCode , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProcedureCode }, { &hf_x2ap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Criticality }, { &hf_x2ap_successfulOutcome_value, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_SuccessfulOutcome_value }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_SuccessfulOutcome(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_SuccessfulOutcome, SuccessfulOutcome_sequence); return offset; } static int dissect_x2ap_UnsuccessfulOutcome_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_UnsuccessfulOutcomeValue); return offset; } static const per_sequence_t UnsuccessfulOutcome_sequence[] = { { &hf_x2ap_procedureCode , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_ProcedureCode }, { &hf_x2ap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_Criticality }, { &hf_x2ap_value , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_x2ap_UnsuccessfulOutcome_value }, { NULL, 0, 0, NULL } }; static int dissect_x2ap_UnsuccessfulOutcome(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_x2ap_UnsuccessfulOutcome, UnsuccessfulOutcome_sequence); return offset; } static const value_string x2ap_X2AP_PDU_vals[] = { { 0, "initiatingMessage" }, { 1, "successfulOutcome" }, { 2, "unsuccessfulOutcome" }, { 0, NULL } }; static const per_choice_t X2AP_PDU_choice[] = { { 0, &hf_x2ap_initiatingMessage, ASN1_EXTENSION_ROOT , dissect_x2ap_InitiatingMessage }, { 1, &hf_x2ap_successfulOutcome, ASN1_EXTENSION_ROOT , dissect_x2ap_SuccessfulOutcome }, { 2, &hf_x2ap_unsuccessfulOutcome, ASN1_EXTENSION_ROOT , dissect_x2ap_UnsuccessfulOutcome }, { 0, NULL, 0, NULL } }; static int dissect_x2ap_X2AP_PDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_x2ap_X2AP_PDU, X2AP_PDU_choice, NULL); return offset; } /*--- PDUs ---*/ static int dissect_ABSInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ABSInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_ABSInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ABS_Status_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ABS_Status(tvb, offset, &asn1_ctx, tree, hf_x2ap_ABS_Status_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ActivationID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ActivationID(tvb, offset, &asn1_ctx, tree, hf_x2ap_ActivationID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Additional_Measurement_Timing_Configuration_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Additional_Measurement_Timing_Configuration_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_Additional_Measurement_Timing_Configuration_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AdditionalListofForwardingGTPTunnelEndpoint_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AdditionalListofForwardingGTPTunnelEndpoint(tvb, offset, &asn1_ctx, tree, hf_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AdditionLocationInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AdditionLocationInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_AdditionLocationInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AdditionalRRMPriorityIndex_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AdditionalRRMPriorityIndex(tvb, offset, &asn1_ctx, tree, hf_x2ap_AdditionalRRMPriorityIndex_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AdditionalSpecialSubframe_Info_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AdditionalSpecialSubframe_Info(tvb, offset, &asn1_ctx, tree, hf_x2ap_AdditionalSpecialSubframe_Info_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AdditionalSpecialSubframeExtension_Info_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AdditionalSpecialSubframeExtension_Info(tvb, offset, &asn1_ctx, tree, hf_x2ap_AdditionalSpecialSubframeExtension_Info_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AvailableFastMCGRecoveryViaSRB3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AvailableFastMCGRecoveryViaSRB3(tvb, offset, &asn1_ctx, tree, hf_x2ap_AvailableFastMCGRecoveryViaSRB3_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AerialUEsubscriptionInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AerialUEsubscriptionInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_AerialUEsubscriptionInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AdditionalPLMNs_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AdditionalPLMNs_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_AdditionalPLMNs_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BandwidthReducedSI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_BandwidthReducedSI(tvb, offset, &asn1_ctx, tree, hf_x2ap_BandwidthReducedSI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BearerType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_BearerType(tvb, offset, &asn1_ctx, tree, hf_x2ap_BearerType_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BluetoothMeasurementConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_BluetoothMeasurementConfiguration(tvb, offset, &asn1_ctx, tree, hf_x2ap_BluetoothMeasurementConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BPLMN_ID_Info_EUTRA_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_BPLMN_ID_Info_EUTRA(tvb, offset, &asn1_ctx, tree, hf_x2ap_BPLMN_ID_Info_EUTRA_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BPLMN_ID_Info_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_BPLMN_ID_Info_NR(tvb, offset, &asn1_ctx, tree, hf_x2ap_BPLMN_ID_Info_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Cause(tvb, offset, &asn1_ctx, tree, hf_x2ap_Cause_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellReportingIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellReportingIndicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellReportingIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPAinformation_REQ_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPAinformation_REQ(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPAinformation_REQ_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPAinformation_REQ_ACK_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPAinformation_REQ_ACK(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPAinformation_REQ_ACK_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPCinformation_REQD_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPCinformation_REQD(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPCinformation_REQD_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPCinformation_CONF_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPCinformation_CONF(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPCinformation_CONF_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPCinformation_NOTIFY_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPCinformation_NOTIFY(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPCinformation_NOTIFY_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPAinformation_MOD_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPAinformation_MOD(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPAinformation_MOD_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPCupdate_MOD_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPCupdate_MOD(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPCupdate_MOD_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPAinformation_MOD_ACK_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPAinformation_MOD_ACK(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPAinformation_MOD_ACK_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPACinformation_REQD_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPACinformation_REQD(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPACinformation_REQD_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHO_DC_EarlyDataForwarding_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CHO_DC_EarlyDataForwarding(tvb, offset, &asn1_ctx, tree, hf_x2ap_CHO_DC_EarlyDataForwarding_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHO_DC_Indicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CHO_DC_Indicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_CHO_DC_Indicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CNTypeRestrictions_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CNTypeRestrictions(tvb, offset, &asn1_ctx, tree, hf_x2ap_CNTypeRestrictions_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CoMPInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CoMPInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_CoMPInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CompositeAvailableCapacityGroup_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CompositeAvailableCapacityGroup(tvb, offset, &asn1_ctx, tree, hf_x2ap_CompositeAvailableCapacityGroup_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Correlation_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Correlation_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_Correlation_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_COUNTValueExtended_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_COUNTValueExtended(tvb, offset, &asn1_ctx, tree, hf_x2ap_COUNTValueExtended_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_COUNTvaluePDCP_SNlength18_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_COUNTvaluePDCP_SNlength18(tvb, offset, &asn1_ctx, tree, hf_x2ap_COUNTvaluePDCP_SNlength18_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CoverageModificationList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CoverageModificationList(tvb, offset, &asn1_ctx, tree, hf_x2ap_CoverageModificationList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CriticalityDiagnostics_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CriticalityDiagnostics(tvb, offset, &asn1_ctx, tree, hf_x2ap_CriticalityDiagnostics_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CRNTI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CRNTI(tvb, offset, &asn1_ctx, tree, hf_x2ap_CRNTI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CSGMembershipStatus_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CSGMembershipStatus(tvb, offset, &asn1_ctx, tree, hf_x2ap_CSGMembershipStatus_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CSG_Id_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CSG_Id(tvb, offset, &asn1_ctx, tree, hf_x2ap_CSG_Id_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CSIReportList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CSIReportList(tvb, offset, &asn1_ctx, tree, hf_x2ap_CSIReportList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOinformation_REQ_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CHOinformation_REQ(tvb, offset, &asn1_ctx, tree, hf_x2ap_CHOinformation_REQ_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOinformation_ACK_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CHOinformation_ACK(tvb, offset, &asn1_ctx, tree, hf_x2ap_CHOinformation_ACK_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CandidateCellsToBeCancelledList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CandidateCellsToBeCancelledList(tvb, offset, &asn1_ctx, tree, hf_x2ap_CandidateCellsToBeCancelledList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOinformation_AddReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CHOinformation_AddReq(tvb, offset, &asn1_ctx, tree, hf_x2ap_CHOinformation_AddReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOinformation_ModReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CHOinformation_ModReq(tvb, offset, &asn1_ctx, tree, hf_x2ap_CHOinformation_ModReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CSI_RSTransmissionIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CSI_RSTransmissionIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_CSI_RSTransmissionIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DataTrafficResourceIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DataTrafficResourceIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_DataTrafficResourceIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DAPSRequestInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DAPSRequestInfo(tvb, offset, &asn1_ctx, tree, hf_x2ap_DAPSRequestInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DAPSResponseInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DAPSResponseInfo(tvb, offset, &asn1_ctx, tree, hf_x2ap_DAPSResponseInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DeactivationIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DeactivationIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_DeactivationIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DesiredActNotificationLevel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DesiredActNotificationLevel(tvb, offset, &asn1_ctx, tree, hf_x2ap_DesiredActNotificationLevel_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DirectForwardingPathAvailability_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DirectForwardingPathAvailability(tvb, offset, &asn1_ctx, tree, hf_x2ap_DirectForwardingPathAvailability_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DL_Forwarding_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DL_Forwarding(tvb, offset, &asn1_ctx, tree, hf_x2ap_DL_Forwarding_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DL_scheduling_PDCCH_CCE_usage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DL_scheduling_PDCCH_CCE_usage(tvb, offset, &asn1_ctx, tree, hf_x2ap_DL_scheduling_PDCCH_CCE_usage_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DuplicationActivation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DuplicationActivation(tvb, offset, &asn1_ctx, tree, hf_x2ap_DuplicationActivation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DynamicDLTransmissionInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DynamicDLTransmissionInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_DynamicDLTransmissionInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EARFCNExtension_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EARFCNExtension(tvb, offset, &asn1_ctx, tree, hf_x2ap_EARFCNExtension_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ECGI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ECGI(tvb, offset, &asn1_ctx, tree, hf_x2ap_ECGI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EndcSONConfigurationTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EndcSONConfigurationTransfer(tvb, offset, &asn1_ctx, tree, hf_x2ap_EndcSONConfigurationTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EnhancedRNTP_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EnhancedRNTP(tvb, offset, &asn1_ctx, tree, hf_x2ap_EnhancedRNTP_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EPCHandoverRestrictionListContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EPCHandoverRestrictionListContainer(tvb, offset, &asn1_ctx, tree, hf_x2ap_EPCHandoverRestrictionListContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ERABActivityNotifyItemList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ERABActivityNotifyItemList(tvb, offset, &asn1_ctx, tree, hf_x2ap_ERABActivityNotifyItemList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RAB_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RAB_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RAB_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RAB_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RAB_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RAB_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABUsageReport_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABUsageReport_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABUsageReport_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Ethernet_Type_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Ethernet_Type(tvb, offset, &asn1_ctx, tree, hf_x2ap_Ethernet_Type_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EUTRANCellIdentifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EUTRANCellIdentifier(tvb, offset, &asn1_ctx, tree, hf_x2ap_EUTRANCellIdentifier_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EUTRANTraceID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EUTRANTraceID(tvb, offset, &asn1_ctx, tree, hf_x2ap_EUTRANTraceID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExpectedUEBehaviour_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ExpectedUEBehaviour(tvb, offset, &asn1_ctx, tree, hf_x2ap_ExpectedUEBehaviour_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExtendedULInterferenceOverloadInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ExtendedULInterferenceOverloadInfo(tvb, offset, &asn1_ctx, tree, hf_x2ap_ExtendedULInterferenceOverloadInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExtendedBitRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ExtendedBitRate(tvb, offset, &asn1_ctx, tree, hf_x2ap_ExtendedBitRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_F1CTrafficContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_F1CTrafficContainer(tvb, offset, &asn1_ctx, tree, hf_x2ap_F1CTrafficContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FastMCGRecovery_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_FastMCGRecovery(tvb, offset, &asn1_ctx, tree, hf_x2ap_FastMCGRecovery_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FreqBandIndicatorPriority_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_FreqBandIndicatorPriority(tvb, offset, &asn1_ctx, tree, hf_x2ap_FreqBandIndicatorPriority_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FrequencyShift7p5khz_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_FrequencyShift7p5khz(tvb, offset, &asn1_ctx, tree, hf_x2ap_FrequencyShift7p5khz_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GlobalENB_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_GlobalENB_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_GlobalENB_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GlobalGNB_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_GlobalGNB_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_GlobalGNB_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Global_RAN_NODE_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Global_RAN_NODE_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_Global_RAN_NODE_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GNBOverloadInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_GNBOverloadInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_GNBOverloadInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GTPtunnelEndpoint_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_GTPtunnelEndpoint(tvb, offset, &asn1_ctx, tree, hf_x2ap_GTPtunnelEndpoint_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GUGroupIDList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_GUGroupIDList(tvb, offset, &asn1_ctx, tree, hf_x2ap_GUGroupIDList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GUMMEI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_GUMMEI(tvb, offset, &asn1_ctx, tree, hf_x2ap_GUMMEI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverReportType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_HandoverReportType(tvb, offset, &asn1_ctx, tree, hf_x2ap_HandoverReportType_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverRestrictionList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_HandoverRestrictionList(tvb, offset, &asn1_ctx, tree, hf_x2ap_HandoverRestrictionList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABNodeIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_IABNodeIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_IABNodeIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IMSvoiceEPSfallbackfrom5G_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_IMSvoiceEPSfallbackfrom5G(tvb, offset, &asn1_ctx, tree, hf_x2ap_IMSvoiceEPSfallbackfrom5G_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IntendedTDD_DL_ULConfiguration_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_IntendedTDD_DL_ULConfiguration_NR(tvb, offset, &asn1_ctx, tree, hf_x2ap_IntendedTDD_DL_ULConfiguration_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InterfaceInstanceIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_InterfaceInstanceIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_InterfaceInstanceIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InvokeIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_InvokeIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_InvokeIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LCID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_LCID(tvb, offset, &asn1_ctx, tree, hf_x2ap_LCID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LHN_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_LHN_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_LHN_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LocationInformationSgNB_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_LocationInformationSgNB(tvb, offset, &asn1_ctx, tree, hf_x2ap_LocationInformationSgNB_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LocationInformationSgNBReporting_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_LocationInformationSgNBReporting(tvb, offset, &asn1_ctx, tree, hf_x2ap_LocationInformationSgNBReporting_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LowerLayerPresenceStatusChange_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_LowerLayerPresenceStatusChange(tvb, offset, &asn1_ctx, tree, hf_x2ap_LowerLayerPresenceStatusChange_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M3Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_M3Configuration(tvb, offset, &asn1_ctx, tree, hf_x2ap_M3Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M4Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_M4Configuration(tvb, offset, &asn1_ctx, tree, hf_x2ap_M4Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M5Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_M5Configuration(tvb, offset, &asn1_ctx, tree, hf_x2ap_M5Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M6Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_M6Configuration(tvb, offset, &asn1_ctx, tree, hf_x2ap_M6Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M7Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_M7Configuration(tvb, offset, &asn1_ctx, tree, hf_x2ap_M7Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MakeBeforeBreakIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MakeBeforeBreakIndicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_MakeBeforeBreakIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ManagementBasedMDTallowed_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ManagementBasedMDTallowed(tvb, offset, &asn1_ctx, tree, hf_x2ap_ManagementBasedMDTallowed_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Masked_IMEISV_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Masked_IMEISV(tvb, offset, &asn1_ctx, tree, hf_x2ap_Masked_IMEISV_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MDT_Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MDT_Configuration(tvb, offset, &asn1_ctx, tree, hf_x2ap_MDT_Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MDTPLMNList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MDTPLMNList(tvb, offset, &asn1_ctx, tree, hf_x2ap_MDTPLMNList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MDT_Location_Info_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MDT_Location_Info(tvb, offset, &asn1_ctx, tree, hf_x2ap_MDT_Location_Info_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Measurement_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Measurement_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_Measurement_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Measurement_ID_ENDC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Measurement_ID_ENDC(tvb, offset, &asn1_ctx, tree, hf_x2ap_Measurement_ID_ENDC_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MeNBCoordinationAssistanceInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MeNBCoordinationAssistanceInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_MeNBCoordinationAssistanceInformation_PDU); offset += 7; offset >>= 3; return offset; } int dissect_x2ap_MeNBResourceCoordinationInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MeNBResourceCoordinationInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_x2ap_MeNBResourceCoordinationInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MeNBtoSeNBContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MeNBtoSeNBContainer(tvb, offset, &asn1_ctx, tree, hf_x2ap_MeNBtoSeNBContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MBMS_Service_Area_Identity_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MBMS_Service_Area_Identity_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_MBMS_Service_Area_Identity_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MBSFN_Subframe_Infolist_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MBSFN_Subframe_Infolist(tvb, offset, &asn1_ctx, tree, hf_x2ap_MBSFN_Subframe_Infolist_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MDT_ConfigurationNR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MDT_ConfigurationNR(tvb, offset, &asn1_ctx, tree, hf_x2ap_MDT_ConfigurationNR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityParametersModificationRange_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MobilityParametersModificationRange(tvb, offset, &asn1_ctx, tree, hf_x2ap_MobilityParametersModificationRange_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityParametersInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MobilityParametersInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_MobilityParametersInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MultibandInfoList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MultibandInfoList(tvb, offset, &asn1_ctx, tree, hf_x2ap_MultibandInfoList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MessageOversizeNotification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MessageOversizeNotification(tvb, offset, &asn1_ctx, tree, hf_x2ap_MessageOversizeNotification_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MeNBtoSgNBContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MeNBtoSgNBContainer(tvb, offset, &asn1_ctx, tree, hf_x2ap_MeNBtoSgNBContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SplitSRBs_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SplitSRBs(tvb, offset, &asn1_ctx, tree, hf_x2ap_SplitSRBs_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SplitSRB_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SplitSRB(tvb, offset, &asn1_ctx, tree, hf_x2ap_SplitSRB_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NBIoT_UL_DL_AlignmentOffset_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NBIoT_UL_DL_AlignmentOffset(tvb, offset, &asn1_ctx, tree, hf_x2ap_NBIoT_UL_DL_AlignmentOffset_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NBIoT_RLF_Report_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NBIoT_RLF_Report_Container(tvb, offset, &asn1_ctx, tree, hf_x2ap_NBIoT_RLF_Report_Container_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NewDRBIDrequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NewDRBIDrequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_NewDRBIDrequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Number_of_Antennaports_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Number_of_Antennaports(tvb, offset, &asn1_ctx, tree, hf_x2ap_Number_of_Antennaports_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRCarrierList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRCarrierList(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRCarrierList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRCellPRACHConfig_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRCellPRACHConfig(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRCellPRACHConfig_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRCGI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRCGI(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRCGI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRRACHReportInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRRACHReportInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRRACHReportInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRNeighbour_Information_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRNeighbour_Information(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRNeighbour_Information_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NPRACHConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NPRACHConfiguration(tvb, offset, &asn1_ctx, tree, hf_x2ap_NPRACHConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRrestrictioninEPSasSecondaryRAT_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRrestrictioninEPSasSecondaryRAT(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRrestrictioninEPSasSecondaryRAT_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MeasurementResultforNRCellsPossiblyAggregated_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MeasurementResultforNRCellsPossiblyAggregated(tvb, offset, &asn1_ctx, tree, hf_x2ap_MeasurementResultforNRCellsPossiblyAggregated_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MIMOPRBusageInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MIMOPRBusageInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_MIMOPRBusageInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRrestrictionin5GS_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRrestrictionin5GS(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRrestrictionin5GS_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRS_NSSS_PowerOffset_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRS_NSSS_PowerOffset(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRS_NSSS_PowerOffset_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRUeReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRUeReport(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRUeReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRUESidelinkAggregateMaximumBitRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRUESidelinkAggregateMaximumBitRate(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRUESidelinkAggregateMaximumBitRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRUESecurityCapabilities_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRUESecurityCapabilities(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRUESecurityCapabilities_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NSSS_NumOccasionDifferentPrecoder_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NSSS_NumOccasionDifferentPrecoder(tvb, offset, &asn1_ctx, tree, hf_x2ap_NSSS_NumOccasionDifferentPrecoder_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRV2XServicesAuthorized_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_NRV2XServicesAuthorized(tvb, offset, &asn1_ctx, tree, hf_x2ap_NRV2XServicesAuthorized_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_OffsetOfNbiotChannelNumberToEARFCN_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_OffsetOfNbiotChannelNumberToEARFCN(tvb, offset, &asn1_ctx, tree, hf_x2ap_OffsetOfNbiotChannelNumberToEARFCN_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Packet_LossRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Packet_LossRate(tvb, offset, &asn1_ctx, tree, hf_x2ap_Packet_LossRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PC5QoSParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PC5QoSParameters(tvb, offset, &asn1_ctx, tree, hf_x2ap_PC5QoSParameters_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDCPChangeIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PDCPChangeIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_PDCPChangeIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDCPSnLength_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PDCPSnLength(tvb, offset, &asn1_ctx, tree, hf_x2ap_PDCPSnLength_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PCI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PCI(tvb, offset, &asn1_ctx, tree, hf_x2ap_PCI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PLMN_Identity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PLMN_Identity(tvb, offset, &asn1_ctx, tree, hf_x2ap_PLMN_Identity_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PRACH_Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PRACH_Configuration(tvb, offset, &asn1_ctx, tree, hf_x2ap_PRACH_Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ProSeAuthorized_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ProSeAuthorized(tvb, offset, &asn1_ctx, tree, hf_x2ap_ProSeAuthorized_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ProSeUEtoNetworkRelaying_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ProSeUEtoNetworkRelaying(tvb, offset, &asn1_ctx, tree, hf_x2ap_ProSeUEtoNetworkRelaying_PDU); offset += 7; offset >>= 3; return offset; } int dissect_x2ap_ProtectedEUTRAResourceIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ProtectedEUTRAResourceIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_x2ap_ProtectedEUTRAResourceIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PartialListIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PartialListIndicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_PartialListIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PrivacyIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PrivacyIndicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_PrivacyIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PSCellHistoryInformationRetrieve_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PSCellHistoryInformationRetrieve(tvb, offset, &asn1_ctx, tree, hf_x2ap_PSCellHistoryInformationRetrieve_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PSCell_UE_HistoryInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PSCell_UE_HistoryInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_PSCell_UE_HistoryInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PSCellChangeHistory_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PSCellChangeHistory(tvb, offset, &asn1_ctx, tree, hf_x2ap_PSCellChangeHistory_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QoS_Mapping_Information_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_QoS_Mapping_Information(tvb, offset, &asn1_ctx, tree, hf_x2ap_QoS_Mapping_Information_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RAN_UE_NGAP_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RAN_UE_NGAP_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_RAN_UE_NGAP_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RAT_Restrictions_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RAT_Restrictions(tvb, offset, &asn1_ctx, tree, hf_x2ap_RAT_Restrictions_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReceiveStatusOfULPDCPSDUsExtended_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ReceiveStatusOfULPDCPSDUsExtended(tvb, offset, &asn1_ctx, tree, hf_x2ap_ReceiveStatusOfULPDCPSDUsExtended_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18(tvb, offset, &asn1_ctx, tree, hf_x2ap_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReleaseFastMCGRecoveryViaSRB3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ReleaseFastMCGRecoveryViaSRB3(tvb, offset, &asn1_ctx, tree, hf_x2ap_ReleaseFastMCGRecoveryViaSRB3_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Registration_Request_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Registration_Request(tvb, offset, &asn1_ctx, tree, hf_x2ap_Registration_Request_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReportCharacteristics_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ReportCharacteristics(tvb, offset, &asn1_ctx, tree, hf_x2ap_ReportCharacteristics_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReportingPeriodicityCSIR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ReportingPeriodicityCSIR(tvb, offset, &asn1_ctx, tree, hf_x2ap_ReportingPeriodicityCSIR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReportingPeriodicityRSRPMR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ReportingPeriodicityRSRPMR(tvb, offset, &asn1_ctx, tree, hf_x2ap_ReportingPeriodicityRSRPMR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RequestedFastMCGRecoveryViaSRB3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RequestedFastMCGRecoveryViaSRB3(tvb, offset, &asn1_ctx, tree, hf_x2ap_RequestedFastMCGRecoveryViaSRB3_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RequestedFastMCGRecoveryViaSRB3Release_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RequestedFastMCGRecoveryViaSRB3Release(tvb, offset, &asn1_ctx, tree, hf_x2ap_RequestedFastMCGRecoveryViaSRB3Release_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResumeID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResumeID(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResumeID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RLCMode_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RLCMode(tvb, offset, &asn1_ctx, tree, hf_x2ap_RLCMode_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RLC_Status_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RLC_Status(tvb, offset, &asn1_ctx, tree, hf_x2ap_RLC_Status_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RRC_Config_Ind_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RRC_Config_Ind(tvb, offset, &asn1_ctx, tree, hf_x2ap_RRC_Config_Ind_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RRCConnReestabIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RRCConnReestabIndicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_RRCConnReestabIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RRCConnSetupIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RRCConnSetupIndicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_RRCConnSetupIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RSRPMRList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RSRPMRList(tvb, offset, &asn1_ctx, tree, hf_x2ap_RSRPMRList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGActivationStatus_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SCGActivationStatus(tvb, offset, &asn1_ctx, tree, hf_x2ap_SCGActivationStatus_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGActivationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SCGActivationRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SCGActivationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGChangeIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SCGChangeIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_SCGChangeIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGreconfigNotification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SCGreconfigNotification(tvb, offset, &asn1_ctx, tree, hf_x2ap_SCGreconfigNotification_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCG_UE_HistoryInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SCG_UE_HistoryInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_SCG_UE_HistoryInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecondaryRATUsageReportList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SecondaryRATUsageReportList(tvb, offset, &asn1_ctx, tree, hf_x2ap_SecondaryRATUsageReportList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecondaryRATUsageReport_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SecondaryRATUsageReport_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_SecondaryRATUsageReport_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecurityIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SecurityIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_SecurityIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecurityResult_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SecurityResult(tvb, offset, &asn1_ctx, tree, hf_x2ap_SecurityResult_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBSecurityKey_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBSecurityKey(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBSecurityKey_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBtoMeNBContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBtoMeNBContainer(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBtoMeNBContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SensorMeasurementConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SensorMeasurementConfiguration(tvb, offset, &asn1_ctx, tree, hf_x2ap_SensorMeasurementConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCells_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedCells(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedCells_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCellSpecificInfoReq_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedCellSpecificInfoReq_NR(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedCellSpecificInfoReq_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServiceType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServiceType(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServiceType_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBCoordinationAssistanceInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBCoordinationAssistanceInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBCoordinationAssistanceInformation_PDU); offset += 7; offset >>= 3; return offset; } int dissect_x2ap_SgNBResourceCoordinationInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBResourceCoordinationInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_x2ap_SgNBResourceCoordinationInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNB_UE_X2AP_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNB_UE_X2AP_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNB_UE_X2AP_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SIPTOBearerDeactivationIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SIPTOBearerDeactivationIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_SIPTOBearerDeactivationIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ShortMAC_I_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ShortMAC_I(tvb, offset, &asn1_ctx, tree, hf_x2ap_ShortMAC_I_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SGNB_Addition_Trigger_Ind_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SGNB_Addition_Trigger_Ind(tvb, offset, &asn1_ctx, tree, hf_x2ap_SGNB_Addition_Trigger_Ind_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNtriggered_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SNtriggered(tvb, offset, &asn1_ctx, tree, hf_x2ap_SNtriggered_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SpectrumSharingGroupID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SpectrumSharingGroupID(tvb, offset, &asn1_ctx, tree, hf_x2ap_SpectrumSharingGroupID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Subscription_Based_UE_DifferentiationInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Subscription_Based_UE_DifferentiationInfo(tvb, offset, &asn1_ctx, tree, hf_x2ap_Subscription_Based_UE_DifferentiationInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SRVCCOperationPossible_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SRVCCOperationPossible(tvb, offset, &asn1_ctx, tree, hf_x2ap_SRVCCOperationPossible_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SSB_PositionsInBurst_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SSB_PositionsInBurst(tvb, offset, &asn1_ctx, tree, hf_x2ap_SSB_PositionsInBurst_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SubscriberProfileIDforRFP_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SubscriberProfileIDforRFP(tvb, offset, &asn1_ctx, tree, hf_x2ap_SubscriberProfileIDforRFP_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SubframeAssignment_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SubframeAssignment(tvb, offset, &asn1_ctx, tree, hf_x2ap_SubframeAssignment_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBSecurityKey_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBSecurityKey(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBSecurityKey_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBtoMeNBContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBtoMeNBContainer(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBtoMeNBContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGConfigurationQuery_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SCGConfigurationQuery(tvb, offset, &asn1_ctx, tree, hf_x2ap_SCGConfigurationQuery_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SFN_Offset_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SFN_Offset(tvb, offset, &asn1_ctx, tree, hf_x2ap_SFN_Offset_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TAC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TAC(tvb, offset, &asn1_ctx, tree, hf_x2ap_TAC_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TargetCellInNGRAN_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TargetCellInNGRAN(tvb, offset, &asn1_ctx, tree, hf_x2ap_TargetCellInNGRAN_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TargetCellInUTRAN_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TargetCellInUTRAN(tvb, offset, &asn1_ctx, tree, hf_x2ap_TargetCellInUTRAN_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TargeteNBtoSource_eNBTransparentContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TargeteNBtoSource_eNBTransparentContainer(tvb, offset, &asn1_ctx, tree, hf_x2ap_TargeteNBtoSource_eNBTransparentContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TDDULDLConfigurationCommonNR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TDDULDLConfigurationCommonNR(tvb, offset, &asn1_ctx, tree, hf_x2ap_TDDULDLConfigurationCommonNR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TimeToWait_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TimeToWait(tvb, offset, &asn1_ctx, tree, hf_x2ap_TimeToWait_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Time_UE_StayedInCell_EnhancedGranularity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Time_UE_StayedInCell_EnhancedGranularity(tvb, offset, &asn1_ctx, tree, hf_x2ap_Time_UE_StayedInCell_EnhancedGranularity_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_To_Add_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TNLA_To_Add_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_TNLA_To_Add_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_To_Update_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TNLA_To_Update_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_TNLA_To_Update_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_To_Remove_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TNLA_To_Remove_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_TNLA_To_Remove_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_Setup_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TNLA_Setup_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_TNLA_Setup_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_Failed_To_Setup_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TNLA_Failed_To_Setup_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_TNLA_Failed_To_Setup_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLConfigurationInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TNLConfigurationInfo(tvb, offset, &asn1_ctx, tree, hf_x2ap_TNLConfigurationInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TraceActivation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TraceActivation(tvb, offset, &asn1_ctx, tree, hf_x2ap_TraceActivation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TransportLayerAddress_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TransportLayerAddress(tvb, offset, &asn1_ctx, tree, hf_x2ap_TransportLayerAddress_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TunnelInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TunnelInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_TunnelInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEAggregateMaximumBitRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UEAggregateMaximumBitRate(tvb, offset, &asn1_ctx, tree, hf_x2ap_UEAggregateMaximumBitRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEAppLayerMeasConfig_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UEAppLayerMeasConfig(tvb, offset, &asn1_ctx, tree, hf_x2ap_UEAppLayerMeasConfig_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_ContextKeptIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_ContextKeptIndicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_ContextKeptIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UEID(tvb, offset, &asn1_ctx, tree, hf_x2ap_UEID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_HistoryInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_HistoryInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_HistoryInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_HistoryInformationFromTheUE_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_HistoryInformationFromTheUE(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_HistoryInformationFromTheUE_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_X2AP_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_X2AP_ID(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_X2AP_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_X2AP_ID_Extension_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_X2AP_ID_Extension(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_X2AP_ID_Extension_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERadioCapability_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UERadioCapability(tvb, offset, &asn1_ctx, tree, hf_x2ap_UERadioCapability_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERadioCapabilityID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UERadioCapabilityID(tvb, offset, &asn1_ctx, tree, hf_x2ap_UERadioCapabilityID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_RLF_Report_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_RLF_Report_Container(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_RLF_Report_Container_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_RLF_Report_Container_for_extended_bands_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_RLF_Report_Container_for_extended_bands(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_RLF_Report_Container_for_extended_bands_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UESecurityCapabilities_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UESecurityCapabilities(tvb, offset, &asn1_ctx, tree, hf_x2ap_UESecurityCapabilities_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UESidelinkAggregateMaximumBitRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UESidelinkAggregateMaximumBitRate(tvb, offset, &asn1_ctx, tree, hf_x2ap_UESidelinkAggregateMaximumBitRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEsToBeResetList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UEsToBeResetList(tvb, offset, &asn1_ctx, tree, hf_x2ap_UEsToBeResetList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UL_scheduling_PDCCH_CCE_usage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UL_scheduling_PDCCH_CCE_usage(tvb, offset, &asn1_ctx, tree, hf_x2ap_UL_scheduling_PDCCH_CCE_usage_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UnlicensedSpectrumRestriction_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UnlicensedSpectrumRestriction(tvb, offset, &asn1_ctx, tree, hf_x2ap_UnlicensedSpectrumRestriction_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_URI_Address_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_URI_Address(tvb, offset, &asn1_ctx, tree, hf_x2ap_URI_Address_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UserPlaneTrafficActivityReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UserPlaneTrafficActivityReport(tvb, offset, &asn1_ctx, tree, hf_x2ap_UserPlaneTrafficActivityReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_V2XServicesAuthorized_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_V2XServicesAuthorized(tvb, offset, &asn1_ctx, tree, hf_x2ap_V2XServicesAuthorized_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_WLANMeasurementConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_WLANMeasurementConfiguration(tvb, offset, &asn1_ctx, tree, hf_x2ap_WLANMeasurementConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2BenefitValue_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2BenefitValue(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2BenefitValue_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_HandoverRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_HandoverRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_ContextInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_ContextInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_ContextInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeSetup_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeSetup_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeSetup_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MobilityInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_MobilityInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_ContextReferenceAtSeNB_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_ContextReferenceAtSeNB(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_ContextReferenceAtSeNB_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_ContextReferenceAtWT_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_ContextReferenceAtWT(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_ContextReferenceAtWT_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_ContextReferenceAtSgNB_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_ContextReferenceAtSgNB(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_ContextReferenceAtSgNB_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_HandoverRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_HandoverRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverPreparationFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_HandoverPreparationFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_HandoverPreparationFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_HandoverReport(tvb, offset, &asn1_ctx, tree, hf_x2ap_HandoverReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EarlyStatusTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EarlyStatusTransfer(tvb, offset, &asn1_ctx, tree, hf_x2ap_EarlyStatusTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ProcedureStageChoice_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ProcedureStageChoice(tvb, offset, &asn1_ctx, tree, hf_x2ap_ProcedureStageChoice_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNStatusTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SNStatusTransfer(tvb, offset, &asn1_ctx, tree, hf_x2ap_SNStatusTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_SubjectToStatusTransfer_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_SubjectToStatusTransfer_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_SubjectToStatusTransfer_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_SubjectToStatusTransfer_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_SubjectToStatusTransfer_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_SubjectToStatusTransfer_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEContextRelease_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UEContextRelease(tvb, offset, &asn1_ctx, tree, hf_x2ap_UEContextRelease_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverCancel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_HandoverCancel(tvb, offset, &asn1_ctx, tree, hf_x2ap_HandoverCancel_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverSuccess_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_HandoverSuccess(tvb, offset, &asn1_ctx, tree, hf_x2ap_HandoverSuccess_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ConditionalHandoverCancel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ConditionalHandoverCancel(tvb, offset, &asn1_ctx, tree, hf_x2ap_ConditionalHandoverCancel_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ErrorIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ErrorIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_ErrorIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResetRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResetRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResetRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResetResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResetResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResetResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2SetupRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2SetupRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2SetupRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2SetupResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2SetupResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2SetupResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2SetupFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2SetupFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2SetupFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LoadInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_LoadInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_LoadInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellInformation_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellInformation_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellInformation_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellInformation_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellInformation_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellInformation_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENBConfigurationUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENBConfigurationUpdate(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENBConfigurationUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCellsToModify_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedCellsToModify(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedCellsToModify_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Old_ECGIs_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_Old_ECGIs(tvb, offset, &asn1_ctx, tree, hf_x2ap_Old_ECGIs_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENBConfigurationUpdateAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENBConfigurationUpdateAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENBConfigurationUpdateAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENBConfigurationUpdateFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENBConfigurationUpdateFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENBConfigurationUpdateFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResourceStatusRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResourceStatusRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResourceStatusRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellToReport_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellToReport_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellToReport_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellToReport_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellToReport_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellToReport_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReportingPeriodicity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ReportingPeriodicity(tvb, offset, &asn1_ctx, tree, hf_x2ap_ReportingPeriodicity_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PartialSuccessIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PartialSuccessIndicator(tvb, offset, &asn1_ctx, tree, hf_x2ap_PartialSuccessIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResourceStatusResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResourceStatusResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResourceStatusResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MeasurementInitiationResult_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MeasurementInitiationResult_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_MeasurementInitiationResult_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MeasurementInitiationResult_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MeasurementInitiationResult_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_MeasurementInitiationResult_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MeasurementFailureCause_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MeasurementFailureCause_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_MeasurementFailureCause_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResourceStatusFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResourceStatusFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResourceStatusFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CompleteFailureCauseInformation_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CompleteFailureCauseInformation_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_CompleteFailureCauseInformation_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CompleteFailureCauseInformation_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CompleteFailureCauseInformation_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_CompleteFailureCauseInformation_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResourceStatusUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResourceStatusUpdate(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResourceStatusUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellMeasurementResult_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellMeasurementResult_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellMeasurementResult_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellMeasurementResult_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellMeasurementResult_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellMeasurementResult_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PrivateMessage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_PrivateMessage(tvb, offset, &asn1_ctx, tree, hf_x2ap_PrivateMessage_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityChangeRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MobilityChangeRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_MobilityChangeRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityChangeAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MobilityChangeAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_MobilityChangeAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityChangeFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_MobilityChangeFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_MobilityChangeFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RLFIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RLFIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_RLFIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellActivationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellActivationRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellActivationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCellsToActivate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedCellsToActivate(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedCellsToActivate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellActivationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellActivationResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellActivationResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ActivatedCellList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ActivatedCellList(tvb, offset, &asn1_ctx, tree, hf_x2ap_ActivatedCellList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellActivationFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellActivationFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellActivationFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2Release_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2Release(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2Release_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2APMessageTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2APMessageTransfer(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2APMessageTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RNL_Header_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RNL_Header(tvb, offset, &asn1_ctx, tree, hf_x2ap_RNL_Header_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2AP_Message_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2AP_Message(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2AP_Message_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBAdditionRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBAdditionRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBAdditionRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeAdded_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeAdded_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeAdded_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeAdded_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeAdded_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeAdded_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBAdditionRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBAdditionRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBAdditionRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeAdded_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeAdded_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeAdded_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeAdded_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeAdded_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeAdded_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBAdditionRequestReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBAdditionRequestReject(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBAdditionRequestReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBReconfigurationComplete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBReconfigurationComplete(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBReconfigurationComplete_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResponseInformationSeNBReconfComp_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResponseInformationSeNBReconfComp(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResponseInformationSeNBReconfComp_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBModificationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBModificationRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBModificationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_ContextInformationSeNBModReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_ContextInformationSeNBModReq(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_ContextInformationSeNBModReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeAdded_ModReqItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeAdded_ModReqItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeAdded_ModReqItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeModified_ModReqItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeModified_ModReqItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeModified_ModReqItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_ModReqItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_ModReqItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_ModReqItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBModificationRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBModificationRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBModificationRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeAdded_ModAckList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeAdded_ModAckItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeModified_ModAckList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeModified_ModAckList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeModified_ModAckItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeReleased_ModAckList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToReleased_ModAckItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToReleased_ModAckItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToReleased_ModAckItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBModificationRequestReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBModificationRequestReject(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBModificationRequestReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBModificationRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBModificationRequired(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBModificationRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_ModReqd_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_ModReqd(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_ModReqd_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_ModReqdItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_ModReqdItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_ModReqdItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBModificationConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBModificationConfirm(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBModificationConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBModificationRefuse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBModificationRefuse(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBModificationRefuse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBReleaseRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBReleaseRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBReleaseRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_List_RelReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_List_RelReq(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_List_RelReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_RelReqItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_RelReqItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_RelReqItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBReleaseRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBReleaseRequired(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBReleaseRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBReleaseConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBReleaseConfirm(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBReleaseConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_List_RelConf_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_List_RelConf(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_List_RelConf_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_RelConfItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_RelConfItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_RelConfItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SeNBCounterCheckRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SeNBCounterCheckRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SeNBCounterCheckRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_SubjectToCounterCheck_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_SubjectToCounterCheck_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_SubjectToCounterCheck_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_SubjectToCounterCheckItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_SubjectToCounterCheckItem(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_SubjectToCounterCheckItem_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2RemovalRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2RemovalRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2RemovalRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2RemovalResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2RemovalResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2RemovalResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2RemovalFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2RemovalFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2RemovalFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RetrieveUEContextRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RetrieveUEContextRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_RetrieveUEContextRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RetrieveUEContextResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RetrieveUEContextResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_RetrieveUEContextResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_ContextInformationRetrieve_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_ContextInformationRetrieve(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_ContextInformationRetrieve_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeSetupRetrieve_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeSetupRetrieve_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeSetupRetrieve_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RetrieveUEContextFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RetrieveUEContextFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_RetrieveUEContextFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBAdditionRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBAdditionRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBAdditionRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeAdded_SgNBAddReqList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeAdded_SgNBAddReqList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeAdded_SgNBAddReqList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeAdded_SgNBAddReq_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBAdditionRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBAdditionRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBAdditionRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBAdditionRequestReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBAdditionRequestReject(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBAdditionRequestReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBReconfigurationComplete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBReconfigurationComplete(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBReconfigurationComplete_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResponseInformationSgNBReconfComp_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ResponseInformationSgNBReconfComp(tvb, offset, &asn1_ctx, tree, hf_x2ap_ResponseInformationSgNBReconfComp_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBModificationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBModificationRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBModificationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UE_ContextInformation_SgNBModReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UE_ContextInformation_SgNBModReq(tvb, offset, &asn1_ctx, tree, hf_x2ap_UE_ContextInformation_SgNBModReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeAdded_SgNBModReq_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeModified_SgNBModReq_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeModified_SgNBModReq_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBModReq_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBModificationRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBModificationRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBModificationRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeAdded_SgNBModAckList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeModified_SgNBModAckList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeReleased_SgNBModAckList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToReleased_SgNBModAck_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToReleased_SgNBModAck_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToReleased_SgNBModAck_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBModificationRequestReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBModificationRequestReject(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBModificationRequestReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBModificationRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBModificationRequired(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBModificationRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBModReqdList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBModReqdList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBModReqdList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBModReqd_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBModReqd_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBModReqd_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeModified_SgNBModReqdList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeModified_SgNBModReqdList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeModified_SgNBModReqdList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeModified_SgNBModReqd_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBModificationConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBModificationConfirm(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBModificationConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_AdmittedToBeModified_SgNBModConfList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_AdmittedToBeModified_SgNBModConf_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBModificationRefuse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBModificationRefuse(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBModificationRefuse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBReleaseRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBReleaseRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBReleaseRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBRelReqList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReqList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBRelReq_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBReleaseRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBReleaseRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBReleaseRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBReleaseRequestReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBReleaseRequestReject(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBReleaseRequestReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBReleaseRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBReleaseRequired(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBReleaseRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBRelReqdList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBRelReqd_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBRelReqd_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqd_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBReleaseConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBReleaseConfirm(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBReleaseConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBRelConfList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBRelConfList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBRelConfList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBRelConf_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBCounterCheckRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBCounterCheckRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBCounterCheckRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_SubjectToSgNBCounterCheck_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_SubjectToSgNBCounterCheck_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_SubjectToSgNBCounterCheck_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_SubjectToSgNBCounterCheck_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBChangeRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBChangeRequired(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBChangeRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AccessAndMobilityIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_AccessAndMobilityIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_AccessAndMobilityIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBChangeConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBChangeConfirm(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBChangeConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBChaConfList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBChaConfList(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBChaConfList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_ToBeReleased_SgNBChaConf_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RRCTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RRCTransfer(tvb, offset, &asn1_ctx, tree, hf_x2ap_RRCTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBChangeRefuse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBChangeRefuse(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBChangeRefuse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCX2SetupRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCX2SetupRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCX2SetupRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InitiatingNodeType_EndcX2Setup_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_InitiatingNodeType_EndcX2Setup(tvb, offset, &asn1_ctx, tree, hf_x2ap_InitiatingNodeType_EndcX2Setup_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedEUTRAcellsENDCX2ManagementList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedEUTRAcellsENDCX2ManagementList(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedEUTRAcellsENDCX2ManagementList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedNRcellsENDCX2ManagementList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedNRcellsENDCX2ManagementList(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedNRcellsENDCX2ManagementList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellandCapacityAssistInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellandCapacityAssistInfo(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellandCapacityAssistInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellAssistanceInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellAssistanceInformation(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellAssistanceInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCX2SetupResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCX2SetupResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCX2SetupResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RespondingNodeType_EndcX2Setup_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RespondingNodeType_EndcX2Setup(tvb, offset, &asn1_ctx, tree, hf_x2ap_RespondingNodeType_EndcX2Setup_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCX2SetupFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCX2SetupFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCX2SetupFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCConfigurationUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCConfigurationUpdate(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCConfigurationUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InitiatingNodeType_EndcConfigUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_InitiatingNodeType_EndcConfigUpdate(tvb, offset, &asn1_ctx, tree, hf_x2ap_InitiatingNodeType_EndcConfigUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedEUTRAcellsToModifyListENDCConfUpd_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedEUTRAcellsToDeleteListENDCConfUpd_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedNRcellsToModifyENDCConfUpdList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedNRcellsToModifyENDCConfUpdList(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedNRcellsToModifyENDCConfUpdList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedNRcellsToDeleteENDCConfUpdList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedNRcellsToDeleteENDCConfUpdList(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedNRcellsToDeleteENDCConfUpdList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCConfigurationUpdateAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCConfigurationUpdateAcknowledge(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCConfigurationUpdateAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RespondingNodeType_EndcConfigUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RespondingNodeType_EndcConfigUpdate(tvb, offset, &asn1_ctx, tree, hf_x2ap_RespondingNodeType_EndcConfigUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCConfigurationUpdateFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCConfigurationUpdateFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCConfigurationUpdateFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCCellActivationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCCellActivationRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCCellActivationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedNRCellsToActivate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ServedNRCellsToActivate(tvb, offset, &asn1_ctx, tree, hf_x2ap_ServedNRCellsToActivate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCCellActivationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCCellActivationResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCCellActivationResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ActivatedNRCellList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ActivatedNRCellList(tvb, offset, &asn1_ctx, tree, hf_x2ap_ActivatedNRCellList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCCellActivationFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCCellActivationFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCCellActivationFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCResourceStatusRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCResourceStatusRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCResourceStatusRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellToReport_NR_ENDC_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellToReport_NR_ENDC_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellToReport_NR_ENDC_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellToReport_NR_ENDC_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellToReport_NR_ENDC_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellToReport_NR_ENDC_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellToReport_E_UTRA_ENDC_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellToReport_E_UTRA_ENDC_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellToReport_E_UTRA_ENDC_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellToReport_E_UTRA_ENDC_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellToReport_E_UTRA_ENDC_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellToReport_E_UTRA_ENDC_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCResourceStatusResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCResourceStatusResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCResourceStatusResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCResourceStatusFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCResourceStatusFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCResourceStatusFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCResourceStatusUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCResourceStatusUpdate(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCResourceStatusUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellMeasurementResult_NR_ENDC_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellMeasurementResult_NR_ENDC_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellMeasurementResult_NR_ENDC_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellMeasurementResult_NR_ENDC_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellMeasurementResult_NR_ENDC_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellMeasurementResult_NR_ENDC_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellMeasurementResult_E_UTRA_ENDC_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellMeasurementResult_E_UTRA_ENDC_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellMeasurementResult_E_UTRA_ENDC_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellMeasurementResult_E_UTRA_ENDC_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecondaryRATDataUsageReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SecondaryRATDataUsageReport(tvb, offset, &asn1_ctx, tree, hf_x2ap_SecondaryRATDataUsageReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SgNBActivityNotification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_SgNBActivityNotification(tvb, offset, &asn1_ctx, tree, hf_x2ap_SgNBActivityNotification_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCPartialResetRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCPartialResetRequired(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCPartialResetRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCPartialResetConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCPartialResetConfirm(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCPartialResetConfirm_PDU); offset += 7; offset >>= 3; return offset; } int dissect_x2ap_EUTRANRCellResourceCoordinationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EUTRANRCellResourceCoordinationRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_x2ap_EUTRANRCellResourceCoordinationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InitiatingNodeType_EutranrCellResourceCoordination_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_InitiatingNodeType_EutranrCellResourceCoordination(tvb, offset, &asn1_ctx, tree, hf_x2ap_InitiatingNodeType_EutranrCellResourceCoordination_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ListofEUTRACellsinEUTRACoordinationReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ListofEUTRACellsinEUTRACoordinationReq(tvb, offset, &asn1_ctx, tree, hf_x2ap_ListofEUTRACellsinEUTRACoordinationReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ListofEUTRACellsinNRCoordinationReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ListofEUTRACellsinNRCoordinationReq(tvb, offset, &asn1_ctx, tree, hf_x2ap_ListofEUTRACellsinNRCoordinationReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ListofNRCellsinNRCoordinationReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ListofNRCellsinNRCoordinationReq(tvb, offset, &asn1_ctx, tree, hf_x2ap_ListofNRCellsinNRCoordinationReq_PDU); offset += 7; offset >>= 3; return offset; } int dissect_x2ap_EUTRANRCellResourceCoordinationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_EUTRANRCellResourceCoordinationResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_x2ap_EUTRANRCellResourceCoordinationResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RespondingNodeType_EutranrCellResourceCoordination_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RespondingNodeType_EutranrCellResourceCoordination(tvb, offset, &asn1_ctx, tree, hf_x2ap_RespondingNodeType_EutranrCellResourceCoordination_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ListofEUTRACellsinEUTRACoordinationResp_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ListofEUTRACellsinEUTRACoordinationResp(tvb, offset, &asn1_ctx, tree, hf_x2ap_ListofEUTRACellsinEUTRACoordinationResp_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ListofNRCellsinNRCoordinationResp_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ListofNRCellsinNRCoordinationResp(tvb, offset, &asn1_ctx, tree, hf_x2ap_ListofNRCellsinNRCoordinationResp_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCX2RemovalRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCX2RemovalRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCX2RemovalRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InitiatingNodeType_EndcX2Removal_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_InitiatingNodeType_EndcX2Removal(tvb, offset, &asn1_ctx, tree, hf_x2ap_InitiatingNodeType_EndcX2Removal_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCX2RemovalResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCX2RemovalResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCX2RemovalResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RespondingNodeType_EndcX2Removal_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_RespondingNodeType_EndcX2Removal(tvb, offset, &asn1_ctx, tree, hf_x2ap_RespondingNodeType_EndcX2Removal_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCX2RemovalFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCX2RemovalFailure(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCX2RemovalFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DataForwardingAddressIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DataForwardingAddressIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_DataForwardingAddressIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_DataForwardingAddress_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_DataForwardingAddress_List(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_DataForwardingAddress_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_RABs_DataForwardingAddress_Item_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_E_RABs_DataForwardingAddress_Item(tvb, offset, &asn1_ctx, tree, hf_x2ap_E_RABs_DataForwardingAddress_Item_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GNBStatusIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_GNBStatusIndication(tvb, offset, &asn1_ctx, tree, hf_x2ap_GNBStatusIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ENDCConfigurationTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_ENDCConfigurationTransfer(tvb, offset, &asn1_ctx, tree, hf_x2ap_ENDCConfigurationTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TraceStart_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_TraceStart(tvb, offset, &asn1_ctx, tree, hf_x2ap_TraceStart_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DeactivateTrace_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_DeactivateTrace(tvb, offset, &asn1_ctx, tree, hf_x2ap_DeactivateTrace_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellTrafficTrace_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CellTrafficTrace(tvb, offset, &asn1_ctx, tree, hf_x2ap_CellTrafficTrace_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_F1CTrafficTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_F1CTrafficTransfer(tvb, offset, &asn1_ctx, tree, hf_x2ap_F1CTrafficTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERadioCapabilityIDMappingRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UERadioCapabilityIDMappingRequest(tvb, offset, &asn1_ctx, tree, hf_x2ap_UERadioCapabilityIDMappingRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERadioCapabilityIDMappingResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_UERadioCapabilityIDMappingResponse(tvb, offset, &asn1_ctx, tree, hf_x2ap_UERadioCapabilityIDMappingResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPC_cancel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_CPC_cancel(tvb, offset, &asn1_ctx, tree, hf_x2ap_CPC_cancel_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_X2AP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_x2ap_X2AP_PDU(tvb, offset, &asn1_ctx, tree, hf_x2ap_X2AP_PDU_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo); return (dissector_try_uint_new(x2ap_ies_dissector_table, x2ap_data->protocol_ie_id, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo); return (dissector_try_uint_new(x2ap_extension_dissector_table, x2ap_data->protocol_ie_id, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo); x2ap_data->message_type = INITIATING_MESSAGE; return (dissector_try_uint_new(x2ap_proc_imsg_dissector_table, x2ap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo); x2ap_data->message_type = SUCCESSFUL_OUTCOME; return (dissector_try_uint_new(x2ap_proc_sout_dissector_table, x2ap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo); x2ap_data->message_type = UNSUCCESSFUL_OUTCOME; return (dissector_try_uint_new(x2ap_proc_uout_dissector_table, x2ap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_x2ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { proto_item *x2ap_item; proto_tree *x2ap_tree; /* make entry in the Protocol column on summary display */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "X2AP"); col_clear_fence(pinfo->cinfo, COL_INFO); col_clear(pinfo->cinfo, COL_INFO); /* create the x2ap protocol tree */ x2ap_item = proto_tree_add_item(tree, proto_x2ap, tvb, 0, -1, ENC_NA); x2ap_tree = proto_item_add_subtree(x2ap_item, ett_x2ap); return dissect_X2AP_PDU_PDU(tvb, pinfo, x2ap_tree, data); } /*--- proto_register_x2ap -------------------------------------------*/ void proto_register_x2ap(void) { /* List of fields */ static hf_register_info hf[] = { { &hf_x2ap_transportLayerAddressIPv4, { "transportLayerAddress(IPv4)", "x2ap.transportLayerAddressIPv4", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_transportLayerAddressIPv6, { "transportLayerAddress(IPv6)", "x2ap.transportLayerAddressIPv6", FT_IPv6, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_PRBPeriodic, { "PRBPeriodic", "x2ap.ReportCharacteristics.PRBPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x80000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_TNLLoadIndPeriodic, { "TNLLoadIndPeriodic", "x2ap.ReportCharacteristics.TNLLoadIndPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x40000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_HWLoadIndPeriodic, { "HWLoadIndPeriodic", "x2ap.ReportCharacteristics.HWLoadIndPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x20000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_CompositeAvailableCapacityPeriodic, { "CompositeAvailableCapacityPeriodic", "x2ap.ReportCharacteristics.CompositeAvailableCapacityPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x10000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_ABSStatusPeriodic, { "ABSStatusPeriodic", "x2ap.ReportCharacteristics.ABSStatusPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x08000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_RSRPMeasurementReportPeriodic, { "RSRPMeasurementReportPeriodic", "x2ap.ReportCharacteristics.RSRPMeasurementReportPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x04000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_CSIReportPeriodic, { "CSIReportPeriodic", "x2ap.ReportCharacteristics.CSIReportPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x02000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_Reserved, { "Reserved", "x2ap.ReportCharacteristics.Reserved", FT_UINT32, BASE_HEX, NULL, 0x01ffffff, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics_PRBPeriodic, { "PRBPeriodic", "x2ap.measurementFailedReportCharacteristics.PRBPeriodic", FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x80000000, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics_TNLLoadIndPeriodic, { "TNLLoadIndPeriodic", "x2ap.measurementFailedReportCharacteristics.TNLLoadIndPeriodic", FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x40000000, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics_HWLoadIndPeriodic, { "HWLoadIndPeriodic", "x2ap.measurementFailedReportCharacteristics.HWLoadIndPeriodic", FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x20000000, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics_CompositeAvailableCapacityPeriodic, { "CompositeAvailableCapacityPeriodic", "x2ap.measurementFailedReportCharacteristics.CompositeAvailableCapacityPeriodic", FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x10000000, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics_ABSStatusPeriodic, { "ABSStatusPeriodic", "x2ap.measurementFailedReportCharacteristics.ABSStatusPeriodic", FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x08000000, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics_RSRPMeasurementReportPeriodic, { "RSRPMeasurementReportPeriodic", "x2ap.measurementFailedReportCharacteristics.RSRPMeasurementReportPeriodic", FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x04000000, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics_CSIReportPeriodic, { "CSIReportPeriodic", "x2ap.measurementFailedReportCharacteristics.CSIReportPeriodic", FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x02000000, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics_Reserved, { "Reserved", "x2ap.measurementFailedReportCharacteristics.Reserved", FT_UINT32, BASE_HEX, NULL, 0x01ffffff, NULL, HFILL }}, { &hf_x2ap_eUTRANTraceID_TraceID, { "TraceID", "x2ap.eUTRANTraceID.TraceID", FT_UINT24, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_eUTRANTraceID_TraceRecordingSessionReference, { "TraceRecordingSessionReference", "x2ap.eUTRANTraceID.TraceRecordingSessionReference", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_interfacesToTrace_S1_MME, { "S1-MME", "x2ap.interfacesToTrace.S1_MME", FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x80, NULL, HFILL }}, { &hf_x2ap_interfacesToTrace_X2, { "X2", "x2ap.interfacesToTrace.X2", FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x40, NULL, HFILL }}, { &hf_x2ap_interfacesToTrace_Uu, { "Uu", "x2ap.interfacesToTrace.Uu", FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x20, NULL, HFILL }}, { &hf_x2ap_interfacesToTrace_F1_C, { "F1-C", "x2ap.interfacesToTrace.F1_C", FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x10, NULL, HFILL }}, { &hf_x2ap_interfacesToTrace_E1, { "E1", "x2ap.interfacesToTrace.E1", FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x08, NULL, HFILL }}, { &hf_x2ap_interfacesToTrace_Reserved, { "Reserved", "x2ap.interfacesToTrace.Reserved", FT_UINT8, BASE_HEX, NULL, 0x07, NULL, HFILL }}, { &hf_x2ap_traceCollectionEntityIPAddress_IPv4, { "IPv4", "x2ap.traceCollectionEntityIPAddress.IPv4", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_traceCollectionEntityIPAddress_IPv6, { "IPv6", "x2ap.traceCollectionEntityIPAddress.IPv6", FT_IPv6, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_encryptionAlgorithms_EEA1, { "128-EEA1", "x2ap.encryptionAlgorithms.EEA1", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000, NULL, HFILL }}, { &hf_x2ap_encryptionAlgorithms_EEA2, { "128-EEA2", "x2ap.encryptionAlgorithms.EEA2", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000, NULL, HFILL }}, { &hf_x2ap_encryptionAlgorithms_EEA3, { "128-EEA3", "x2ap.encryptionAlgorithms.EEA3", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000, NULL, HFILL }}, { &hf_x2ap_encryptionAlgorithms_Reserved, { "Reserved", "x2ap.encryptionAlgorithms.Reserved", FT_UINT16, BASE_HEX, NULL, 0x1fff, NULL, HFILL }}, { &hf_x2ap_integrityProtectionAlgorithms_EIA1, { "128-EIA1", "x2ap.integrityProtectionAlgorithms.EIA1", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000, NULL, HFILL }}, { &hf_x2ap_integrityProtectionAlgorithms_EIA2, { "128-EIA2", "x2ap.integrityProtectionAlgorithms.EIA2", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000, NULL, HFILL }}, { &hf_x2ap_integrityProtectionAlgorithms_EIA3, { "128-EIA3", "x2ap.integrityProtectionAlgorithms.EIA3", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000, NULL, HFILL }}, { &hf_x2ap_integrityProtectionAlgorithms_Reserved, { "Reserved", "x2ap.integrityProtectionAlgorithms.Reserved", FT_UINT16, BASE_HEX, NULL, 0x1fff, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate_M1, { "M1", "x2ap.measurementsToActivate.M1", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x80, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate_M2, { "M2", "x2ap.measurementsToActivate.M2", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x40, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate_M3, { "M3", "x2ap.measurementsToActivate.M3", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x20, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate_M4, { "M4", "x2ap.measurementsToActivate.M4", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x10, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate_M5, { "M5", "x2ap.measurementsToActivate.M5", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x08, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate_LoggingM1FromEventTriggered, { "LoggingOfM1FromEventTriggeredMeasurementReports", "x2ap.measurementsToActivate.LoggingM1FromEventTriggered", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x04, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate_M6, { "M6", "x2ap.measurementsToActivate.M6", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x02, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate_M7, { "M7", "x2ap.measurementsToActivate.M7", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x01, NULL, HFILL }}, { &hf_x2ap_MDT_Location_Info_GNSS, { "GNSS", "x2ap.MDT_Location_Info.GNSS", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x80, NULL, HFILL }}, { &hf_x2ap_MDT_Location_Info_E_CID, { "E-CID", "x2ap.MDT_Location_Info.E_CID", FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x40, NULL, HFILL }}, { &hf_x2ap_MDT_Location_Info_Reserved, { "Reserved", "x2ap.MDT_Location_Info.Reserved", FT_UINT8, BASE_HEX, NULL, 0x3f, NULL, HFILL }}, { &hf_x2ap_MDT_transmissionModes_tm1, { "TM1", "x2ap.MDT_Location_Info.transmissionModes.tm1", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x80, NULL, HFILL }}, { &hf_x2ap_MDT_transmissionModes_tm2, { "TM2", "x2ap.MDT_Location_Info.transmissionModes.tm2", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x40, NULL, HFILL }}, { &hf_x2ap_MDT_transmissionModes_tm3, { "TM3", "x2ap.MDT_Location_Info.transmissionModes.tm3", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x20, NULL, HFILL }}, { &hf_x2ap_MDT_transmissionModes_tm4, { "TM4", "x2ap.MDT_Location_Info.transmissionModes.tm4", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x10, NULL, HFILL }}, { &hf_x2ap_MDT_transmissionModes_tm6, { "TM6", "x2ap.MDT_Location_Info.transmissionModes.tm6", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x08, NULL, HFILL }}, { &hf_x2ap_MDT_transmissionModes_tm8, { "TM8", "x2ap.MDT_Location_Info.transmissionModes.tm8", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x04, NULL, HFILL }}, { &hf_x2ap_MDT_transmissionModes_tm9, { "TM9", "x2ap.MDT_Location_Info.transmissionModes.tm9", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x02, NULL, HFILL }}, { &hf_x2ap_MDT_transmissionModes_tm10, { "TM10", "x2ap.MDT_Location_Info.transmissionModes.tm10", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x01, NULL, HFILL }}, { &hf_x2ap_NRencryptionAlgorithms_NEA1, { "128-NEA1", "x2ap.NRencryptionAlgorithms.NEA1", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000, NULL, HFILL }}, { &hf_x2ap_NRencryptionAlgorithms_NEA2, { "128-NEA2", "x2ap.NRencryptionAlgorithms.NEA2", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000, NULL, HFILL }}, { &hf_x2ap_NRencryptionAlgorithms_NEA3, { "128-NEA3", "x2ap.NRencryptionAlgorithms.NEA3", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000, NULL, HFILL }}, { &hf_x2ap_NRencryptionAlgorithms_Reserved, { "Reserved", "x2ap.NRencryptionAlgorithms.Reserved", FT_UINT16, BASE_HEX, NULL, 0x1fff, NULL, HFILL }}, { &hf_x2ap_NRintegrityProtectionAlgorithms_NIA1, { "128-NIA1", "x2ap.NRintegrityProtectionAlgorithms.NIA1", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000, NULL, HFILL }}, { &hf_x2ap_NRintegrityProtectionAlgorithms_NIA2, { "128-NIA2", "x2ap.NRintegrityProtectionAlgorithms.NIA2", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000, NULL, HFILL }}, { &hf_x2ap_NRintegrityProtectionAlgorithms_NIA3, { "128-NIA3", "x2ap.NRintegrityProtectionAlgorithms.NIA3", FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000, NULL, HFILL }}, { &hf_x2ap_NRintegrityProtectionAlgorithms_Reserved, { "Reserved", "x2ap.NRintegrityProtectionAlgorithms.Reserved", FT_UINT16, BASE_HEX, NULL, 0x1fff, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_ENDC_PRBPeriodic, { "PRBPeriodic", "x2ap.ReportCharacteristics_ENDC.PRBPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x80000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_ENDC_TNLCapacityIndPeriodic, { "TNLCapacityIndPeriodic", "x2ap.ReportCharacteristics_ENDC.TNLCapacityIndPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x40000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_ENDC_CompositeAvailableCapacityPeriodic, { "CompositeAvailableCapacityPeriodic", "x2ap.ReportCharacteristics_ENDC.CompositeAvailableCapacityPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x20000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_ENDC_NumberOfActiveUEs, { "NumberOfActiveUEs", "x2ap.ReportCharacteristics_ENDC.NumberOfActiveUEs", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x10000000, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_ENDC_Reserved, { "Reserved", "x2ap.ReportCharacteristics_ENDC.Reserved", FT_UINT32, BASE_HEX, NULL, 0x0fffffff, NULL, HFILL }}, { &hf_x2ap_Registration_Request_ENDC_PDU, { "Registration-Request-ENDC", "x2ap.Registration_Request_ENDC", FT_UINT32, BASE_DEC, VALS(x2ap_Registration_Request_ENDC_vals), 0, NULL, HFILL }}, { &hf_x2ap_ReportingPeriodicity_ENDC_PDU, { "ReportingPeriodicity-ENDC", "x2ap.ReportingPeriodicity_ENDC", FT_UINT32, BASE_DEC, VALS(x2ap_ReportingPeriodicity_ENDC_vals), 0, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_ENDC_PDU, { "ReportCharacteristics-ENDC", "x2ap.ReportCharacteristics_ENDC", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_rAT_RestrictionInformation_LEO, { "LEO", "x2ap.rAT_RestrictionInformation.LEO", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x80, NULL, HFILL }}, { &hf_x2ap_rAT_RestrictionInformation_MEO, { "MEO", "x2ap.rAT_RestrictionInformation.MEO", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x40, NULL, HFILL }}, { &hf_x2ap_rAT_RestrictionInformation_GEO, { "GEO", "x2ap.rAT_RestrictionInformation.GEO", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x20, NULL, HFILL }}, { &hf_x2ap_rAT_RestrictionInformation_OTHERSAT, { "OTHERSAT", "x2ap.rAT_RestrictionInformation.OTHERSAT", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x10, NULL, HFILL }}, { &hf_x2ap_rAT_RestrictionInformation_Reserved, { "Reserved", "x2ap.rAT_RestrictionInformation.Reserved", FT_UINT8, BASE_HEX, NULL, 0x0f, NULL, HFILL }}, { &hf_x2ap_ABSInformation_PDU, { "ABSInformation", "x2ap.ABSInformation", FT_UINT32, BASE_DEC, VALS(x2ap_ABSInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_ABS_Status_PDU, { "ABS-Status", "x2ap.ABS_Status_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ActivationID_PDU, { "ActivationID", "x2ap.ActivationID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Additional_Measurement_Timing_Configuration_List_PDU, { "Additional-Measurement-Timing-Configuration-List", "x2ap.Additional_Measurement_Timing_Configuration_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_PDU, { "AdditionalListofForwardingGTPTunnelEndpoint", "x2ap.AdditionalListofForwardingGTPTunnelEndpoint", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_AdditionLocationInformation_PDU, { "AdditionLocationInformation", "x2ap.AdditionLocationInformation", FT_UINT32, BASE_DEC, VALS(x2ap_AdditionLocationInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_AdditionalRRMPriorityIndex_PDU, { "AdditionalRRMPriorityIndex", "x2ap.AdditionalRRMPriorityIndex", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_AdditionalSpecialSubframe_Info_PDU, { "AdditionalSpecialSubframe-Info", "x2ap.AdditionalSpecialSubframe_Info_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_AdditionalSpecialSubframeExtension_Info_PDU, { "AdditionalSpecialSubframeExtension-Info", "x2ap.AdditionalSpecialSubframeExtension_Info_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_AvailableFastMCGRecoveryViaSRB3_PDU, { "AvailableFastMCGRecoveryViaSRB3", "x2ap.AvailableFastMCGRecoveryViaSRB3", FT_UINT32, BASE_DEC, VALS(x2ap_AvailableFastMCGRecoveryViaSRB3_vals), 0, NULL, HFILL }}, { &hf_x2ap_AerialUEsubscriptionInformation_PDU, { "AerialUEsubscriptionInformation", "x2ap.AerialUEsubscriptionInformation", FT_UINT32, BASE_DEC, VALS(x2ap_AerialUEsubscriptionInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_AdditionalPLMNs_Item_PDU, { "AdditionalPLMNs-Item", "x2ap.AdditionalPLMNs_Item", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_BandwidthReducedSI_PDU, { "BandwidthReducedSI", "x2ap.BandwidthReducedSI", FT_UINT32, BASE_DEC, VALS(x2ap_BandwidthReducedSI_vals), 0, NULL, HFILL }}, { &hf_x2ap_BearerType_PDU, { "BearerType", "x2ap.BearerType", FT_UINT32, BASE_DEC, VALS(x2ap_BearerType_vals), 0, NULL, HFILL }}, { &hf_x2ap_BluetoothMeasurementConfiguration_PDU, { "BluetoothMeasurementConfiguration", "x2ap.BluetoothMeasurementConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_BPLMN_ID_Info_EUTRA_PDU, { "BPLMN-ID-Info-EUTRA", "x2ap.BPLMN_ID_Info_EUTRA", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_BPLMN_ID_Info_NR_PDU, { "BPLMN-ID-Info-NR", "x2ap.BPLMN_ID_Info_NR", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Cause_PDU, { "Cause", "x2ap.Cause", FT_UINT32, BASE_DEC, VALS(x2ap_Cause_vals), 0, NULL, HFILL }}, { &hf_x2ap_CellReportingIndicator_PDU, { "CellReportingIndicator", "x2ap.CellReportingIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_CellReportingIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_CPAinformation_REQ_PDU, { "CPAinformation-REQ", "x2ap.CPAinformation_REQ_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPAinformation_REQ_ACK_PDU, { "CPAinformation-REQ-ACK", "x2ap.CPAinformation_REQ_ACK_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPCinformation_REQD_PDU, { "CPCinformation-REQD", "x2ap.CPCinformation_REQD_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPCinformation_CONF_PDU, { "CPCinformation-CONF", "x2ap.CPCinformation_CONF_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPCinformation_NOTIFY_PDU, { "CPCinformation-NOTIFY", "x2ap.CPCinformation_NOTIFY_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPAinformation_MOD_PDU, { "CPAinformation-MOD", "x2ap.CPAinformation_MOD_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPCupdate_MOD_PDU, { "CPCupdate-MOD", "x2ap.CPCupdate_MOD_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPAinformation_MOD_ACK_PDU, { "CPAinformation-MOD-ACK", "x2ap.CPAinformation_MOD_ACK_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPACinformation_REQD_PDU, { "CPACinformation-REQD", "x2ap.CPACinformation_REQD_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CHO_DC_EarlyDataForwarding_PDU, { "CHO-DC-EarlyDataForwarding", "x2ap.CHO_DC_EarlyDataForwarding", FT_UINT32, BASE_DEC, VALS(x2ap_CHO_DC_EarlyDataForwarding_vals), 0, NULL, HFILL }}, { &hf_x2ap_CHO_DC_Indicator_PDU, { "CHO-DC-Indicator", "x2ap.CHO_DC_Indicator", FT_UINT32, BASE_DEC, VALS(x2ap_CHO_DC_Indicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_CNTypeRestrictions_PDU, { "CNTypeRestrictions", "x2ap.CNTypeRestrictions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CoMPInformation_PDU, { "CoMPInformation", "x2ap.CoMPInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CompositeAvailableCapacityGroup_PDU, { "CompositeAvailableCapacityGroup", "x2ap.CompositeAvailableCapacityGroup_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Correlation_ID_PDU, { "Correlation-ID", "x2ap.Correlation_ID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_COUNTValueExtended_PDU, { "COUNTValueExtended", "x2ap.COUNTValueExtended_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_COUNTvaluePDCP_SNlength18_PDU, { "COUNTvaluePDCP-SNlength18", "x2ap.COUNTvaluePDCP_SNlength18_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CoverageModificationList_PDU, { "CoverageModificationList", "x2ap.CoverageModificationList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CriticalityDiagnostics_PDU, { "CriticalityDiagnostics", "x2ap.CriticalityDiagnostics_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CRNTI_PDU, { "CRNTI", "x2ap.CRNTI", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CSGMembershipStatus_PDU, { "CSGMembershipStatus", "x2ap.CSGMembershipStatus", FT_UINT32, BASE_DEC, VALS(x2ap_CSGMembershipStatus_vals), 0, NULL, HFILL }}, { &hf_x2ap_CSG_Id_PDU, { "CSG-Id", "x2ap.CSG_Id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CSIReportList_PDU, { "CSIReportList", "x2ap.CSIReportList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CHOinformation_REQ_PDU, { "CHOinformation-REQ", "x2ap.CHOinformation_REQ_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CHOinformation_ACK_PDU, { "CHOinformation-ACK", "x2ap.CHOinformation_ACK_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CandidateCellsToBeCancelledList_PDU, { "CandidateCellsToBeCancelledList", "x2ap.CandidateCellsToBeCancelledList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CHOinformation_AddReq_PDU, { "CHOinformation-AddReq", "x2ap.CHOinformation_AddReq_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CHOinformation_ModReq_PDU, { "CHOinformation-ModReq", "x2ap.CHOinformation_ModReq_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CSI_RSTransmissionIndication_PDU, { "CSI-RSTransmissionIndication", "x2ap.CSI_RSTransmissionIndication", FT_UINT32, BASE_DEC, VALS(x2ap_CSI_RSTransmissionIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_DataTrafficResourceIndication_PDU, { "DataTrafficResourceIndication", "x2ap.DataTrafficResourceIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_DAPSRequestInfo_PDU, { "DAPSRequestInfo", "x2ap.DAPSRequestInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_DAPSResponseInfo_PDU, { "DAPSResponseInfo", "x2ap.DAPSResponseInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_DeactivationIndication_PDU, { "DeactivationIndication", "x2ap.DeactivationIndication", FT_UINT32, BASE_DEC, VALS(x2ap_DeactivationIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_DesiredActNotificationLevel_PDU, { "DesiredActNotificationLevel", "x2ap.DesiredActNotificationLevel", FT_UINT32, BASE_DEC, VALS(x2ap_DesiredActNotificationLevel_vals), 0, NULL, HFILL }}, { &hf_x2ap_DirectForwardingPathAvailability_PDU, { "DirectForwardingPathAvailability", "x2ap.DirectForwardingPathAvailability", FT_UINT32, BASE_DEC, VALS(x2ap_DirectForwardingPathAvailability_vals), 0, NULL, HFILL }}, { &hf_x2ap_DL_Forwarding_PDU, { "DL-Forwarding", "x2ap.DL_Forwarding", FT_UINT32, BASE_DEC, VALS(x2ap_DL_Forwarding_vals), 0, NULL, HFILL }}, { &hf_x2ap_DL_scheduling_PDCCH_CCE_usage_PDU, { "DL-scheduling-PDCCH-CCE-usage", "x2ap.DL_scheduling_PDCCH_CCE_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_DuplicationActivation_PDU, { "DuplicationActivation", "x2ap.DuplicationActivation", FT_UINT32, BASE_DEC, VALS(x2ap_DuplicationActivation_vals), 0, NULL, HFILL }}, { &hf_x2ap_DynamicDLTransmissionInformation_PDU, { "DynamicDLTransmissionInformation", "x2ap.DynamicDLTransmissionInformation", FT_UINT32, BASE_DEC, VALS(x2ap_DynamicDLTransmissionInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_EARFCNExtension_PDU, { "EARFCNExtension", "x2ap.EARFCNExtension", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ECGI_PDU, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_EndcSONConfigurationTransfer_PDU, { "EndcSONConfigurationTransfer", "x2ap.EndcSONConfigurationTransfer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_EnhancedRNTP_PDU, { "EnhancedRNTP", "x2ap.EnhancedRNTP_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_EPCHandoverRestrictionListContainer_PDU, { "EPCHandoverRestrictionListContainer", "x2ap.EPCHandoverRestrictionListContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ERABActivityNotifyItemList_PDU, { "ERABActivityNotifyItemList", "x2ap.ERABActivityNotifyItemList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RAB_List_PDU, { "E-RAB-List", "x2ap.E_RAB_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RAB_Item_PDU, { "E-RAB-Item", "x2ap.E_RAB_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABUsageReport_Item_PDU, { "E-RABUsageReport-Item", "x2ap.E_RABUsageReport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Ethernet_Type_PDU, { "Ethernet-Type", "x2ap.Ethernet_Type", FT_UINT32, BASE_DEC, VALS(x2ap_Ethernet_Type_vals), 0, NULL, HFILL }}, { &hf_x2ap_EUTRANCellIdentifier_PDU, { "EUTRANCellIdentifier", "x2ap.EUTRANCellIdentifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_EUTRANTraceID_PDU, { "EUTRANTraceID", "x2ap.EUTRANTraceID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ExpectedUEBehaviour_PDU, { "ExpectedUEBehaviour", "x2ap.ExpectedUEBehaviour_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ExtendedULInterferenceOverloadInfo_PDU, { "ExtendedULInterferenceOverloadInfo", "x2ap.ExtendedULInterferenceOverloadInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ExtendedBitRate_PDU, { "ExtendedBitRate", "x2ap.ExtendedBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, NULL, HFILL }}, { &hf_x2ap_F1CTrafficContainer_PDU, { "F1CTrafficContainer", "x2ap.F1CTrafficContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_FastMCGRecovery_PDU, { "FastMCGRecovery", "x2ap.FastMCGRecovery_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_FreqBandIndicatorPriority_PDU, { "FreqBandIndicatorPriority", "x2ap.FreqBandIndicatorPriority", FT_UINT32, BASE_DEC, VALS(x2ap_FreqBandIndicatorPriority_vals), 0, NULL, HFILL }}, { &hf_x2ap_FrequencyShift7p5khz_PDU, { "FrequencyShift7p5khz", "x2ap.FrequencyShift7p5khz", FT_UINT32, BASE_DEC, VALS(x2ap_FrequencyShift7p5khz_vals), 0, NULL, HFILL }}, { &hf_x2ap_GlobalENB_ID_PDU, { "GlobalENB-ID", "x2ap.GlobalENB_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_GlobalGNB_ID_PDU, { "GlobalGNB-ID", "x2ap.GlobalGNB_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Global_RAN_NODE_ID_PDU, { "Global-RAN-NODE-ID", "x2ap.Global_RAN_NODE_ID", FT_UINT32, BASE_DEC, VALS(x2ap_Global_RAN_NODE_ID_vals), 0, NULL, HFILL }}, { &hf_x2ap_GNBOverloadInformation_PDU, { "GNBOverloadInformation", "x2ap.GNBOverloadInformation", FT_UINT32, BASE_DEC, VALS(x2ap_GNBOverloadInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_GTPtunnelEndpoint_PDU, { "GTPtunnelEndpoint", "x2ap.GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_GUGroupIDList_PDU, { "GUGroupIDList", "x2ap.GUGroupIDList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_GUMMEI_PDU, { "GUMMEI", "x2ap.GUMMEI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_HandoverReportType_PDU, { "HandoverReportType", "x2ap.HandoverReportType", FT_UINT32, BASE_DEC, VALS(x2ap_HandoverReportType_vals), 0, NULL, HFILL }}, { &hf_x2ap_HandoverRestrictionList_PDU, { "HandoverRestrictionList", "x2ap.HandoverRestrictionList_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_IABNodeIndication_PDU, { "IABNodeIndication", "x2ap.IABNodeIndication", FT_UINT32, BASE_DEC, VALS(x2ap_IABNodeIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_IMSvoiceEPSfallbackfrom5G_PDU, { "IMSvoiceEPSfallbackfrom5G", "x2ap.IMSvoiceEPSfallbackfrom5G", FT_UINT32, BASE_DEC, VALS(x2ap_IMSvoiceEPSfallbackfrom5G_vals), 0, NULL, HFILL }}, { &hf_x2ap_IntendedTDD_DL_ULConfiguration_NR_PDU, { "IntendedTDD-DL-ULConfiguration-NR", "x2ap.IntendedTDD_DL_ULConfiguration_NR", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_InterfaceInstanceIndication_PDU, { "InterfaceInstanceIndication", "x2ap.InterfaceInstanceIndication", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_InvokeIndication_PDU, { "InvokeIndication", "x2ap.InvokeIndication", FT_UINT32, BASE_DEC, VALS(x2ap_InvokeIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_LCID_PDU, { "LCID", "x2ap.LCID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_LHN_ID_PDU, { "LHN-ID", "x2ap.LHN_ID", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_LocationInformationSgNB_PDU, { "LocationInformationSgNB", "x2ap.LocationInformationSgNB_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_LocationInformationSgNBReporting_PDU, { "LocationInformationSgNBReporting", "x2ap.LocationInformationSgNBReporting", FT_UINT32, BASE_DEC, VALS(x2ap_LocationInformationSgNBReporting_vals), 0, NULL, HFILL }}, { &hf_x2ap_LowerLayerPresenceStatusChange_PDU, { "LowerLayerPresenceStatusChange", "x2ap.LowerLayerPresenceStatusChange", FT_UINT32, BASE_DEC, VALS(x2ap_LowerLayerPresenceStatusChange_vals), 0, NULL, HFILL }}, { &hf_x2ap_M3Configuration_PDU, { "M3Configuration", "x2ap.M3Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_M4Configuration_PDU, { "M4Configuration", "x2ap.M4Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_M5Configuration_PDU, { "M5Configuration", "x2ap.M5Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_M6Configuration_PDU, { "M6Configuration", "x2ap.M6Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_M7Configuration_PDU, { "M7Configuration", "x2ap.M7Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MakeBeforeBreakIndicator_PDU, { "MakeBeforeBreakIndicator", "x2ap.MakeBeforeBreakIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_MakeBeforeBreakIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_ManagementBasedMDTallowed_PDU, { "ManagementBasedMDTallowed", "x2ap.ManagementBasedMDTallowed", FT_UINT32, BASE_DEC, VALS(x2ap_ManagementBasedMDTallowed_vals), 0, NULL, HFILL }}, { &hf_x2ap_Masked_IMEISV_PDU, { "Masked-IMEISV", "x2ap.Masked_IMEISV", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MDT_Configuration_PDU, { "MDT-Configuration", "x2ap.MDT_Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MDTPLMNList_PDU, { "MDTPLMNList", "x2ap.MDTPLMNList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MDT_Location_Info_PDU, { "MDT-Location-Info", "x2ap.MDT_Location_Info", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Measurement_ID_PDU, { "Measurement-ID", "x2ap.Measurement_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Measurement_ID_ENDC_PDU, { "Measurement-ID-ENDC", "x2ap.Measurement_ID_ENDC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MeNBCoordinationAssistanceInformation_PDU, { "MeNBCoordinationAssistanceInformation", "x2ap.MeNBCoordinationAssistanceInformation", FT_UINT32, BASE_DEC, VALS(x2ap_MeNBCoordinationAssistanceInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_x2ap_MeNBResourceCoordinationInformation_PDU, { "MeNBResourceCoordinationInformation", "x2ap.MeNBResourceCoordinationInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MeNBtoSeNBContainer_PDU, { "MeNBtoSeNBContainer", "x2ap.MeNBtoSeNBContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MBMS_Service_Area_Identity_List_PDU, { "MBMS-Service-Area-Identity-List", "x2ap.MBMS_Service_Area_Identity_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MBSFN_Subframe_Infolist_PDU, { "MBSFN-Subframe-Infolist", "x2ap.MBSFN_Subframe_Infolist", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MDT_ConfigurationNR_PDU, { "MDT-ConfigurationNR", "x2ap.MDT_ConfigurationNR", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MobilityParametersModificationRange_PDU, { "MobilityParametersModificationRange", "x2ap.MobilityParametersModificationRange_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MobilityParametersInformation_PDU, { "MobilityParametersInformation", "x2ap.MobilityParametersInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MultibandInfoList_PDU, { "MultibandInfoList", "x2ap.MultibandInfoList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MessageOversizeNotification_PDU, { "MessageOversizeNotification", "x2ap.MessageOversizeNotification_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MeNBtoSgNBContainer_PDU, { "MeNBtoSgNBContainer", "x2ap.MeNBtoSgNBContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SplitSRBs_PDU, { "SplitSRBs", "x2ap.SplitSRBs", FT_UINT32, BASE_DEC, VALS(x2ap_SplitSRBs_vals), 0, NULL, HFILL }}, { &hf_x2ap_SplitSRB_PDU, { "SplitSRB", "x2ap.SplitSRB_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NBIoT_UL_DL_AlignmentOffset_PDU, { "NBIoT-UL-DL-AlignmentOffset", "x2ap.NBIoT_UL_DL_AlignmentOffset", FT_UINT32, BASE_DEC, VALS(x2ap_NBIoT_UL_DL_AlignmentOffset_vals), 0, NULL, HFILL }}, { &hf_x2ap_NBIoT_RLF_Report_Container_PDU, { "NBIoT-RLF-Report-Container", "x2ap.NBIoT_RLF_Report_Container", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NewDRBIDrequest_PDU, { "NewDRBIDrequest", "x2ap.NewDRBIDrequest", FT_UINT32, BASE_DEC, VALS(x2ap_NewDRBIDrequest_vals), 0, NULL, HFILL }}, { &hf_x2ap_Number_of_Antennaports_PDU, { "Number-of-Antennaports", "x2ap.Number_of_Antennaports", FT_UINT32, BASE_DEC, VALS(x2ap_Number_of_Antennaports_vals), 0, NULL, HFILL }}, { &hf_x2ap_NRCarrierList_PDU, { "NRCarrierList", "x2ap.NRCarrierList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRCellPRACHConfig_PDU, { "NRCellPRACHConfig", "x2ap.NRCellPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRCGI_PDU, { "NRCGI", "x2ap.NRCGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRRACHReportInformation_PDU, { "NRRACHReportInformation", "x2ap.NRRACHReportInformation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRNeighbour_Information_PDU, { "NRNeighbour-Information", "x2ap.NRNeighbour_Information", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NPRACHConfiguration_PDU, { "NPRACHConfiguration", "x2ap.NPRACHConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRrestrictioninEPSasSecondaryRAT_PDU, { "NRrestrictioninEPSasSecondaryRAT", "x2ap.NRrestrictioninEPSasSecondaryRAT", FT_UINT32, BASE_DEC, VALS(x2ap_NRrestrictioninEPSasSecondaryRAT_vals), 0, NULL, HFILL }}, { &hf_x2ap_MeasurementResultforNRCellsPossiblyAggregated_PDU, { "MeasurementResultforNRCellsPossiblyAggregated", "x2ap.MeasurementResultforNRCellsPossiblyAggregated", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MIMOPRBusageInformation_PDU, { "MIMOPRBusageInformation", "x2ap.MIMOPRBusageInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRrestrictionin5GS_PDU, { "NRrestrictionin5GS", "x2ap.NRrestrictionin5GS", FT_UINT32, BASE_DEC, VALS(x2ap_NRrestrictionin5GS_vals), 0, NULL, HFILL }}, { &hf_x2ap_NRS_NSSS_PowerOffset_PDU, { "NRS-NSSS-PowerOffset", "x2ap.NRS_NSSS_PowerOffset", FT_UINT32, BASE_DEC, VALS(x2ap_NRS_NSSS_PowerOffset_vals), 0, NULL, HFILL }}, { &hf_x2ap_NRUeReport_PDU, { "NRUeReport", "x2ap.NRUeReport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRUESidelinkAggregateMaximumBitRate_PDU, { "NRUESidelinkAggregateMaximumBitRate", "x2ap.NRUESidelinkAggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRUESecurityCapabilities_PDU, { "NRUESecurityCapabilities", "x2ap.NRUESecurityCapabilities_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NSSS_NumOccasionDifferentPrecoder_PDU, { "NSSS-NumOccasionDifferentPrecoder", "x2ap.NSSS_NumOccasionDifferentPrecoder", FT_UINT32, BASE_DEC, VALS(x2ap_NSSS_NumOccasionDifferentPrecoder_vals), 0, NULL, HFILL }}, { &hf_x2ap_NRV2XServicesAuthorized_PDU, { "NRV2XServicesAuthorized", "x2ap.NRV2XServicesAuthorized_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_OffsetOfNbiotChannelNumberToEARFCN_PDU, { "OffsetOfNbiotChannelNumberToEARFCN", "x2ap.OffsetOfNbiotChannelNumberToEARFCN", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &x2ap_OffsetOfNbiotChannelNumberToEARFCN_vals_ext, 0, NULL, HFILL }}, { &hf_x2ap_Packet_LossRate_PDU, { "Packet-LossRate", "x2ap.Packet_LossRate", FT_UINT32, BASE_CUSTOM, CF_FUNC(x2ap_Packet_LossRate_fmt), 0, NULL, HFILL }}, { &hf_x2ap_PC5QoSParameters_PDU, { "PC5QoSParameters", "x2ap.PC5QoSParameters_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PDCPChangeIndication_PDU, { "PDCPChangeIndication", "x2ap.PDCPChangeIndication", FT_UINT32, BASE_DEC, VALS(x2ap_PDCPChangeIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_PDCPSnLength_PDU, { "PDCPSnLength", "x2ap.PDCPSnLength", FT_UINT32, BASE_DEC, VALS(x2ap_PDCPSnLength_vals), 0, NULL, HFILL }}, { &hf_x2ap_PCI_PDU, { "PCI", "x2ap.PCI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PLMN_Identity_PDU, { "PLMN-Identity", "x2ap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PRACH_Configuration_PDU, { "PRACH-Configuration", "x2ap.PRACH_Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ProSeAuthorized_PDU, { "ProSeAuthorized", "x2ap.ProSeAuthorized_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ProSeUEtoNetworkRelaying_PDU, { "ProSeUEtoNetworkRelaying", "x2ap.ProSeUEtoNetworkRelaying", FT_UINT32, BASE_DEC, VALS(x2ap_ProSeUEtoNetworkRelaying_vals), 0, NULL, HFILL }}, { &hf_x2ap_x2ap_ProtectedEUTRAResourceIndication_PDU, { "ProtectedEUTRAResourceIndication", "x2ap.ProtectedEUTRAResourceIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PartialListIndicator_PDU, { "PartialListIndicator", "x2ap.PartialListIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_PartialListIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_PrivacyIndicator_PDU, { "PrivacyIndicator", "x2ap.PrivacyIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_PrivacyIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_PSCellHistoryInformationRetrieve_PDU, { "PSCellHistoryInformationRetrieve", "x2ap.PSCellHistoryInformationRetrieve", FT_UINT32, BASE_DEC, VALS(x2ap_PSCellHistoryInformationRetrieve_vals), 0, NULL, HFILL }}, { &hf_x2ap_PSCell_UE_HistoryInformation_PDU, { "PSCell-UE-HistoryInformation", "x2ap.PSCell_UE_HistoryInformation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PSCellChangeHistory_PDU, { "PSCellChangeHistory", "x2ap.PSCellChangeHistory", FT_UINT32, BASE_DEC, VALS(x2ap_PSCellChangeHistory_vals), 0, NULL, HFILL }}, { &hf_x2ap_QoS_Mapping_Information_PDU, { "QoS-Mapping-Information", "x2ap.QoS_Mapping_Information_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RAN_UE_NGAP_ID_PDU, { "RAN-UE-NGAP-ID", "x2ap.RAN_UE_NGAP_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RAT_Restrictions_PDU, { "RAT-Restrictions", "x2ap.RAT_Restrictions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ReceiveStatusOfULPDCPSDUsExtended_PDU, { "ReceiveStatusOfULPDCPSDUsExtended", "x2ap.ReceiveStatusOfULPDCPSDUsExtended", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18_PDU, { "ReceiveStatusOfULPDCPSDUsPDCP-SNlength18", "x2ap.ReceiveStatusOfULPDCPSDUsPDCP_SNlength18", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ReleaseFastMCGRecoveryViaSRB3_PDU, { "ReleaseFastMCGRecoveryViaSRB3", "x2ap.ReleaseFastMCGRecoveryViaSRB3", FT_UINT32, BASE_DEC, VALS(x2ap_ReleaseFastMCGRecoveryViaSRB3_vals), 0, NULL, HFILL }}, { &hf_x2ap_Registration_Request_PDU, { "Registration-Request", "x2ap.Registration_Request", FT_UINT32, BASE_DEC, VALS(x2ap_Registration_Request_vals), 0, NULL, HFILL }}, { &hf_x2ap_ReportCharacteristics_PDU, { "ReportCharacteristics", "x2ap.ReportCharacteristics", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ReportingPeriodicityCSIR_PDU, { "ReportingPeriodicityCSIR", "x2ap.ReportingPeriodicityCSIR", FT_UINT32, BASE_DEC, VALS(x2ap_ReportingPeriodicityCSIR_vals), 0, NULL, HFILL }}, { &hf_x2ap_ReportingPeriodicityRSRPMR_PDU, { "ReportingPeriodicityRSRPMR", "x2ap.ReportingPeriodicityRSRPMR", FT_UINT32, BASE_DEC, VALS(x2ap_ReportingPeriodicityRSRPMR_vals), 0, NULL, HFILL }}, { &hf_x2ap_RequestedFastMCGRecoveryViaSRB3_PDU, { "RequestedFastMCGRecoveryViaSRB3", "x2ap.RequestedFastMCGRecoveryViaSRB3", FT_UINT32, BASE_DEC, VALS(x2ap_RequestedFastMCGRecoveryViaSRB3_vals), 0, NULL, HFILL }}, { &hf_x2ap_RequestedFastMCGRecoveryViaSRB3Release_PDU, { "RequestedFastMCGRecoveryViaSRB3Release", "x2ap.RequestedFastMCGRecoveryViaSRB3Release", FT_UINT32, BASE_DEC, VALS(x2ap_RequestedFastMCGRecoveryViaSRB3Release_vals), 0, NULL, HFILL }}, { &hf_x2ap_ResumeID_PDU, { "ResumeID", "x2ap.ResumeID", FT_UINT32, BASE_DEC, VALS(x2ap_ResumeID_vals), 0, NULL, HFILL }}, { &hf_x2ap_RLCMode_PDU, { "RLCMode", "x2ap.RLCMode", FT_UINT32, BASE_DEC, VALS(x2ap_RLCMode_vals), 0, NULL, HFILL }}, { &hf_x2ap_RLC_Status_PDU, { "RLC-Status", "x2ap.RLC_Status_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RRC_Config_Ind_PDU, { "RRC-Config-Ind", "x2ap.RRC_Config_Ind", FT_UINT32, BASE_DEC, VALS(x2ap_RRC_Config_Ind_vals), 0, NULL, HFILL }}, { &hf_x2ap_RRCConnReestabIndicator_PDU, { "RRCConnReestabIndicator", "x2ap.RRCConnReestabIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_RRCConnReestabIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_RRCConnSetupIndicator_PDU, { "RRCConnSetupIndicator", "x2ap.RRCConnSetupIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_RRCConnSetupIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_RSRPMRList_PDU, { "RSRPMRList", "x2ap.RSRPMRList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SCGActivationStatus_PDU, { "SCGActivationStatus", "x2ap.SCGActivationStatus", FT_UINT32, BASE_DEC, VALS(x2ap_SCGActivationStatus_vals), 0, NULL, HFILL }}, { &hf_x2ap_SCGActivationRequest_PDU, { "SCGActivationRequest", "x2ap.SCGActivationRequest", FT_UINT32, BASE_DEC, VALS(x2ap_SCGActivationRequest_vals), 0, NULL, HFILL }}, { &hf_x2ap_SCGChangeIndication_PDU, { "SCGChangeIndication", "x2ap.SCGChangeIndication", FT_UINT32, BASE_DEC, VALS(x2ap_SCGChangeIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_SCGreconfigNotification_PDU, { "SCGreconfigNotification", "x2ap.SCGreconfigNotification", FT_UINT32, BASE_DEC, VALS(x2ap_SCGreconfigNotification_vals), 0, NULL, HFILL }}, { &hf_x2ap_SCG_UE_HistoryInformation_PDU, { "SCG-UE-HistoryInformation", "x2ap.SCG_UE_HistoryInformation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SecondaryRATUsageReportList_PDU, { "SecondaryRATUsageReportList", "x2ap.SecondaryRATUsageReportList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SecondaryRATUsageReport_Item_PDU, { "SecondaryRATUsageReport-Item", "x2ap.SecondaryRATUsageReport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SecurityIndication_PDU, { "SecurityIndication", "x2ap.SecurityIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SecurityResult_PDU, { "SecurityResult", "x2ap.SecurityResult_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBSecurityKey_PDU, { "SeNBSecurityKey", "x2ap.SeNBSecurityKey", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBtoMeNBContainer_PDU, { "SeNBtoMeNBContainer", "x2ap.SeNBtoMeNBContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SensorMeasurementConfiguration_PDU, { "SensorMeasurementConfiguration", "x2ap.SensorMeasurementConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedCells_PDU, { "ServedCells", "x2ap.ServedCells", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedCellSpecificInfoReq_NR_PDU, { "ServedCellSpecificInfoReq-NR", "x2ap.ServedCellSpecificInfoReq_NR", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServiceType_PDU, { "ServiceType", "x2ap.ServiceType", FT_UINT32, BASE_DEC, VALS(x2ap_ServiceType_vals), 0, NULL, HFILL }}, { &hf_x2ap_SgNBCoordinationAssistanceInformation_PDU, { "SgNBCoordinationAssistanceInformation", "x2ap.SgNBCoordinationAssistanceInformation", FT_UINT32, BASE_DEC, VALS(x2ap_SgNBCoordinationAssistanceInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_x2ap_SgNBResourceCoordinationInformation_PDU, { "SgNBResourceCoordinationInformation", "x2ap.SgNBResourceCoordinationInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNB_UE_X2AP_ID_PDU, { "SgNB-UE-X2AP-ID", "x2ap.SgNB_UE_X2AP_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SIPTOBearerDeactivationIndication_PDU, { "SIPTOBearerDeactivationIndication", "x2ap.SIPTOBearerDeactivationIndication", FT_UINT32, BASE_DEC, VALS(x2ap_SIPTOBearerDeactivationIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_ShortMAC_I_PDU, { "ShortMAC-I", "x2ap.ShortMAC_I", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SGNB_Addition_Trigger_Ind_PDU, { "SGNB-Addition-Trigger-Ind", "x2ap.SGNB_Addition_Trigger_Ind", FT_UINT32, BASE_DEC, VALS(x2ap_SGNB_Addition_Trigger_Ind_vals), 0, NULL, HFILL }}, { &hf_x2ap_SNtriggered_PDU, { "SNtriggered", "x2ap.SNtriggered", FT_UINT32, BASE_DEC, VALS(x2ap_SNtriggered_vals), 0, NULL, HFILL }}, { &hf_x2ap_SpectrumSharingGroupID_PDU, { "SpectrumSharingGroupID", "x2ap.SpectrumSharingGroupID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Subscription_Based_UE_DifferentiationInfo_PDU, { "Subscription-Based-UE-DifferentiationInfo", "x2ap.Subscription_Based_UE_DifferentiationInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SRVCCOperationPossible_PDU, { "SRVCCOperationPossible", "x2ap.SRVCCOperationPossible", FT_UINT32, BASE_DEC, VALS(x2ap_SRVCCOperationPossible_vals), 0, NULL, HFILL }}, { &hf_x2ap_SSB_PositionsInBurst_PDU, { "SSB-PositionsInBurst", "x2ap.SSB_PositionsInBurst", FT_UINT32, BASE_DEC, VALS(x2ap_SSB_PositionsInBurst_vals), 0, NULL, HFILL }}, { &hf_x2ap_SubscriberProfileIDforRFP_PDU, { "SubscriberProfileIDforRFP", "x2ap.SubscriberProfileIDforRFP", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SubframeAssignment_PDU, { "SubframeAssignment", "x2ap.SubframeAssignment", FT_UINT32, BASE_DEC, VALS(x2ap_SubframeAssignment_vals), 0, NULL, HFILL }}, { &hf_x2ap_SgNBSecurityKey_PDU, { "SgNBSecurityKey", "x2ap.SgNBSecurityKey", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBtoMeNBContainer_PDU, { "SgNBtoMeNBContainer", "x2ap.SgNBtoMeNBContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SCGConfigurationQuery_PDU, { "SCGConfigurationQuery", "x2ap.SCGConfigurationQuery", FT_UINT32, BASE_DEC, VALS(x2ap_SCGConfigurationQuery_vals), 0, NULL, HFILL }}, { &hf_x2ap_SFN_Offset_PDU, { "SFN-Offset", "x2ap.SFN_Offset_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TAC_PDU, { "TAC", "x2ap.TAC", FT_UINT16, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TargetCellInNGRAN_PDU, { "TargetCellInNGRAN", "x2ap.TargetCellInNGRAN", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TargetCellInUTRAN_PDU, { "TargetCellInUTRAN", "x2ap.TargetCellInUTRAN", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TargeteNBtoSource_eNBTransparentContainer_PDU, { "TargeteNBtoSource-eNBTransparentContainer", "x2ap.TargeteNBtoSource_eNBTransparentContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TDDULDLConfigurationCommonNR_PDU, { "TDDULDLConfigurationCommonNR", "x2ap.TDDULDLConfigurationCommonNR", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TimeToWait_PDU, { "TimeToWait", "x2ap.TimeToWait", FT_UINT32, BASE_DEC, VALS(x2ap_TimeToWait_vals), 0, NULL, HFILL }}, { &hf_x2ap_Time_UE_StayedInCell_EnhancedGranularity_PDU, { "Time-UE-StayedInCell-EnhancedGranularity", "x2ap.Time_UE_StayedInCell_EnhancedGranularity", FT_UINT32, BASE_CUSTOM, CF_FUNC(x2ap_Time_UE_StayedInCell_EnhancedGranularity_fmt), 0, NULL, HFILL }}, { &hf_x2ap_TNLA_To_Add_List_PDU, { "TNLA-To-Add-List", "x2ap.TNLA_To_Add_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLA_To_Update_List_PDU, { "TNLA-To-Update-List", "x2ap.TNLA_To_Update_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLA_To_Remove_List_PDU, { "TNLA-To-Remove-List", "x2ap.TNLA_To_Remove_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLA_Setup_List_PDU, { "TNLA-Setup-List", "x2ap.TNLA_Setup_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLA_Failed_To_Setup_List_PDU, { "TNLA-Failed-To-Setup-List", "x2ap.TNLA_Failed_To_Setup_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLConfigurationInfo_PDU, { "TNLConfigurationInfo", "x2ap.TNLConfigurationInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TraceActivation_PDU, { "TraceActivation", "x2ap.TraceActivation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TransportLayerAddress_PDU, { "TransportLayerAddress", "x2ap.TransportLayerAddress", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TunnelInformation_PDU, { "TunnelInformation", "x2ap.TunnelInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UEAggregateMaximumBitRate_PDU, { "UEAggregateMaximumBitRate", "x2ap.UEAggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UEAppLayerMeasConfig_PDU, { "UEAppLayerMeasConfig", "x2ap.UEAppLayerMeasConfig_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_ContextKeptIndicator_PDU, { "UE-ContextKeptIndicator", "x2ap.UE_ContextKeptIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_UE_ContextKeptIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_UEID_PDU, { "UEID", "x2ap.UEID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_HistoryInformation_PDU, { "UE-HistoryInformation", "x2ap.UE_HistoryInformation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_HistoryInformationFromTheUE_PDU, { "UE-HistoryInformationFromTheUE", "x2ap.UE_HistoryInformationFromTheUE", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_X2AP_ID_PDU, { "UE-X2AP-ID", "x2ap.UE_X2AP_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_X2AP_ID_Extension_PDU, { "UE-X2AP-ID-Extension", "x2ap.UE_X2AP_ID_Extension", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UERadioCapability_PDU, { "UERadioCapability", "x2ap.UERadioCapability", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UERadioCapabilityID_PDU, { "UERadioCapabilityID", "x2ap.UERadioCapabilityID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_RLF_Report_Container_PDU, { "UE-RLF-Report-Container", "x2ap.UE_RLF_Report_Container", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_RLF_Report_Container_for_extended_bands_PDU, { "UE-RLF-Report-Container-for-extended-bands", "x2ap.UE_RLF_Report_Container_for_extended_bands", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UESecurityCapabilities_PDU, { "UESecurityCapabilities", "x2ap.UESecurityCapabilities_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UESidelinkAggregateMaximumBitRate_PDU, { "UESidelinkAggregateMaximumBitRate", "x2ap.UESidelinkAggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UEsToBeResetList_PDU, { "UEsToBeResetList", "x2ap.UEsToBeResetList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UL_scheduling_PDCCH_CCE_usage_PDU, { "UL-scheduling-PDCCH-CCE-usage", "x2ap.UL_scheduling_PDCCH_CCE_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UnlicensedSpectrumRestriction_PDU, { "UnlicensedSpectrumRestriction", "x2ap.UnlicensedSpectrumRestriction", FT_UINT32, BASE_DEC, VALS(x2ap_UnlicensedSpectrumRestriction_vals), 0, NULL, HFILL }}, { &hf_x2ap_URI_Address_PDU, { "URI-Address", "x2ap.URI_Address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UserPlaneTrafficActivityReport_PDU, { "UserPlaneTrafficActivityReport", "x2ap.UserPlaneTrafficActivityReport", FT_UINT32, BASE_DEC, VALS(x2ap_UserPlaneTrafficActivityReport_vals), 0, NULL, HFILL }}, { &hf_x2ap_V2XServicesAuthorized_PDU, { "V2XServicesAuthorized", "x2ap.V2XServicesAuthorized_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_WLANMeasurementConfiguration_PDU, { "WLANMeasurementConfiguration", "x2ap.WLANMeasurementConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2BenefitValue_PDU, { "X2BenefitValue", "x2ap.X2BenefitValue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_HandoverRequest_PDU, { "HandoverRequest", "x2ap.HandoverRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_ContextInformation_PDU, { "UE-ContextInformation", "x2ap.UE_ContextInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeSetup_Item_PDU, { "E-RABs-ToBeSetup-Item", "x2ap.E_RABs_ToBeSetup_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MobilityInformation_PDU, { "MobilityInformation", "x2ap.MobilityInformation", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_ContextReferenceAtSeNB_PDU, { "UE-ContextReferenceAtSeNB", "x2ap.UE_ContextReferenceAtSeNB_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_ContextReferenceAtWT_PDU, { "UE-ContextReferenceAtWT", "x2ap.UE_ContextReferenceAtWT_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_ContextReferenceAtSgNB_PDU, { "UE-ContextReferenceAtSgNB", "x2ap.UE_ContextReferenceAtSgNB_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_HandoverRequestAcknowledge_PDU, { "HandoverRequestAcknowledge", "x2ap.HandoverRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_List_PDU, { "E-RABs-Admitted-List", "x2ap.E_RABs_Admitted_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_Item_PDU, { "E-RABs-Admitted-Item", "x2ap.E_RABs_Admitted_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_HandoverPreparationFailure_PDU, { "HandoverPreparationFailure", "x2ap.HandoverPreparationFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_HandoverReport_PDU, { "HandoverReport", "x2ap.HandoverReport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_EarlyStatusTransfer_PDU, { "EarlyStatusTransfer", "x2ap.EarlyStatusTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ProcedureStageChoice_PDU, { "ProcedureStageChoice", "x2ap.ProcedureStageChoice", FT_UINT32, BASE_DEC, VALS(x2ap_ProcedureStageChoice_vals), 0, NULL, HFILL }}, { &hf_x2ap_SNStatusTransfer_PDU, { "SNStatusTransfer", "x2ap.SNStatusTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_SubjectToStatusTransfer_List_PDU, { "E-RABs-SubjectToStatusTransfer-List", "x2ap.E_RABs_SubjectToStatusTransfer_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_SubjectToStatusTransfer_Item_PDU, { "E-RABs-SubjectToStatusTransfer-Item", "x2ap.E_RABs_SubjectToStatusTransfer_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UEContextRelease_PDU, { "UEContextRelease", "x2ap.UEContextRelease_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_HandoverCancel_PDU, { "HandoverCancel", "x2ap.HandoverCancel_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_HandoverSuccess_PDU, { "HandoverSuccess", "x2ap.HandoverSuccess_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ConditionalHandoverCancel_PDU, { "ConditionalHandoverCancel", "x2ap.ConditionalHandoverCancel_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ErrorIndication_PDU, { "ErrorIndication", "x2ap.ErrorIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ResetRequest_PDU, { "ResetRequest", "x2ap.ResetRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ResetResponse_PDU, { "ResetResponse", "x2ap.ResetResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2SetupRequest_PDU, { "X2SetupRequest", "x2ap.X2SetupRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2SetupResponse_PDU, { "X2SetupResponse", "x2ap.X2SetupResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2SetupFailure_PDU, { "X2SetupFailure", "x2ap.X2SetupFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_LoadInformation_PDU, { "LoadInformation", "x2ap.LoadInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellInformation_List_PDU, { "CellInformation-List", "x2ap.CellInformation_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellInformation_Item_PDU, { "CellInformation-Item", "x2ap.CellInformation_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENBConfigurationUpdate_PDU, { "ENBConfigurationUpdate", "x2ap.ENBConfigurationUpdate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedCellsToModify_PDU, { "ServedCellsToModify", "x2ap.ServedCellsToModify", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Old_ECGIs_PDU, { "Old-ECGIs", "x2ap.Old_ECGIs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENBConfigurationUpdateAcknowledge_PDU, { "ENBConfigurationUpdateAcknowledge", "x2ap.ENBConfigurationUpdateAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENBConfigurationUpdateFailure_PDU, { "ENBConfigurationUpdateFailure", "x2ap.ENBConfigurationUpdateFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ResourceStatusRequest_PDU, { "ResourceStatusRequest", "x2ap.ResourceStatusRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_List_PDU, { "CellToReport-List", "x2ap.CellToReport_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_Item_PDU, { "CellToReport-Item", "x2ap.CellToReport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ReportingPeriodicity_PDU, { "ReportingPeriodicity", "x2ap.ReportingPeriodicity", FT_UINT32, BASE_DEC, VALS(x2ap_ReportingPeriodicity_vals), 0, NULL, HFILL }}, { &hf_x2ap_PartialSuccessIndicator_PDU, { "PartialSuccessIndicator", "x2ap.PartialSuccessIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_PartialSuccessIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_ResourceStatusResponse_PDU, { "ResourceStatusResponse", "x2ap.ResourceStatusResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MeasurementInitiationResult_List_PDU, { "MeasurementInitiationResult-List", "x2ap.MeasurementInitiationResult_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MeasurementInitiationResult_Item_PDU, { "MeasurementInitiationResult-Item", "x2ap.MeasurementInitiationResult_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MeasurementFailureCause_Item_PDU, { "MeasurementFailureCause-Item", "x2ap.MeasurementFailureCause_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ResourceStatusFailure_PDU, { "ResourceStatusFailure", "x2ap.ResourceStatusFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CompleteFailureCauseInformation_List_PDU, { "CompleteFailureCauseInformation-List", "x2ap.CompleteFailureCauseInformation_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CompleteFailureCauseInformation_Item_PDU, { "CompleteFailureCauseInformation-Item", "x2ap.CompleteFailureCauseInformation_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ResourceStatusUpdate_PDU, { "ResourceStatusUpdate", "x2ap.ResourceStatusUpdate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellMeasurementResult_List_PDU, { "CellMeasurementResult-List", "x2ap.CellMeasurementResult_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellMeasurementResult_Item_PDU, { "CellMeasurementResult-Item", "x2ap.CellMeasurementResult_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PrivateMessage_PDU, { "PrivateMessage", "x2ap.PrivateMessage_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MobilityChangeRequest_PDU, { "MobilityChangeRequest", "x2ap.MobilityChangeRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MobilityChangeAcknowledge_PDU, { "MobilityChangeAcknowledge", "x2ap.MobilityChangeAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MobilityChangeFailure_PDU, { "MobilityChangeFailure", "x2ap.MobilityChangeFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RLFIndication_PDU, { "RLFIndication", "x2ap.RLFIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellActivationRequest_PDU, { "CellActivationRequest", "x2ap.CellActivationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedCellsToActivate_PDU, { "ServedCellsToActivate", "x2ap.ServedCellsToActivate", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellActivationResponse_PDU, { "CellActivationResponse", "x2ap.CellActivationResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ActivatedCellList_PDU, { "ActivatedCellList", "x2ap.ActivatedCellList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellActivationFailure_PDU, { "CellActivationFailure", "x2ap.CellActivationFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2Release_PDU, { "X2Release", "x2ap.X2Release_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2APMessageTransfer_PDU, { "X2APMessageTransfer", "x2ap.X2APMessageTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RNL_Header_PDU, { "RNL-Header", "x2ap.RNL_Header_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2AP_Message_PDU, { "X2AP-Message", "x2ap.X2AP_Message", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBAdditionRequest_PDU, { "SeNBAdditionRequest", "x2ap.SeNBAdditionRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_List_PDU, { "E-RABs-ToBeAdded-List", "x2ap.E_RABs_ToBeAdded_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_Item_PDU, { "E-RABs-ToBeAdded-Item", "x2ap.E_RABs_ToBeAdded_Item", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_ToBeAdded_Item_vals), 0, NULL, HFILL }}, { &hf_x2ap_SeNBAdditionRequestAcknowledge_PDU, { "SeNBAdditionRequestAcknowledge", "x2ap.SeNBAdditionRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_List_PDU, { "E-RABs-Admitted-ToBeAdded-List", "x2ap.E_RABs_Admitted_ToBeAdded_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_Item_PDU, { "E-RABs-Admitted-ToBeAdded-Item", "x2ap.E_RABs_Admitted_ToBeAdded_Item", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_Admitted_ToBeAdded_Item_vals), 0, NULL, HFILL }}, { &hf_x2ap_SeNBAdditionRequestReject_PDU, { "SeNBAdditionRequestReject", "x2ap.SeNBAdditionRequestReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBReconfigurationComplete_PDU, { "SeNBReconfigurationComplete", "x2ap.SeNBReconfigurationComplete_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ResponseInformationSeNBReconfComp_PDU, { "ResponseInformationSeNBReconfComp", "x2ap.ResponseInformationSeNBReconfComp", FT_UINT32, BASE_DEC, VALS(x2ap_ResponseInformationSeNBReconfComp_vals), 0, NULL, HFILL }}, { &hf_x2ap_SeNBModificationRequest_PDU, { "SeNBModificationRequest", "x2ap.SeNBModificationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_ContextInformationSeNBModReq_PDU, { "UE-ContextInformationSeNBModReq", "x2ap.UE_ContextInformationSeNBModReq_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_ModReqItem_PDU, { "E-RABs-ToBeAdded-ModReqItem", "x2ap.E_RABs_ToBeAdded_ModReqItem", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_ToBeAdded_ModReqItem_vals), 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeModified_ModReqItem_PDU, { "E-RABs-ToBeModified-ModReqItem", "x2ap.E_RABs_ToBeModified_ModReqItem", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_ToBeModified_ModReqItem_vals), 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_ModReqItem_PDU, { "E-RABs-ToBeReleased-ModReqItem", "x2ap.E_RABs_ToBeReleased_ModReqItem", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_ToBeReleased_ModReqItem_vals), 0, NULL, HFILL }}, { &hf_x2ap_SeNBModificationRequestAcknowledge_PDU, { "SeNBModificationRequestAcknowledge", "x2ap.SeNBModificationRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList_PDU, { "E-RABs-Admitted-ToBeAdded-ModAckList", "x2ap.E_RABs_Admitted_ToBeAdded_ModAckList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_PDU, { "E-RABs-Admitted-ToBeAdded-ModAckItem", "x2ap.E_RABs_Admitted_ToBeAdded_ModAckItem", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_vals), 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckList_PDU, { "E-RABs-Admitted-ToBeModified-ModAckList", "x2ap.E_RABs_Admitted_ToBeModified_ModAckList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_PDU, { "E-RABs-Admitted-ToBeModified-ModAckItem", "x2ap.E_RABs_Admitted_ToBeModified_ModAckItem", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_vals), 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList_PDU, { "E-RABs-Admitted-ToBeReleased-ModAckList", "x2ap.E_RABs_Admitted_ToBeReleased_ModAckList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToReleased_ModAckItem_PDU, { "E-RABs-Admitted-ToReleased-ModAckItem", "x2ap.E_RABs_Admitted_ToReleased_ModAckItem", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_Admitted_ToReleased_ModAckItem_vals), 0, NULL, HFILL }}, { &hf_x2ap_SeNBModificationRequestReject_PDU, { "SeNBModificationRequestReject", "x2ap.SeNBModificationRequestReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBModificationRequired_PDU, { "SeNBModificationRequired", "x2ap.SeNBModificationRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_ModReqd_PDU, { "E-RABs-ToBeReleased-ModReqd", "x2ap.E_RABs_ToBeReleased_ModReqd", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_ModReqdItem_PDU, { "E-RABs-ToBeReleased-ModReqdItem", "x2ap.E_RABs_ToBeReleased_ModReqdItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBModificationConfirm_PDU, { "SeNBModificationConfirm", "x2ap.SeNBModificationConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBModificationRefuse_PDU, { "SeNBModificationRefuse", "x2ap.SeNBModificationRefuse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBReleaseRequest_PDU, { "SeNBReleaseRequest", "x2ap.SeNBReleaseRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_List_RelReq_PDU, { "E-RABs-ToBeReleased-List-RelReq", "x2ap.E_RABs_ToBeReleased_List_RelReq", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_RelReqItem_PDU, { "E-RABs-ToBeReleased-RelReqItem", "x2ap.E_RABs_ToBeReleased_RelReqItem", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_ToBeReleased_RelReqItem_vals), 0, NULL, HFILL }}, { &hf_x2ap_SeNBReleaseRequired_PDU, { "SeNBReleaseRequired", "x2ap.SeNBReleaseRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SeNBReleaseConfirm_PDU, { "SeNBReleaseConfirm", "x2ap.SeNBReleaseConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_List_RelConf_PDU, { "E-RABs-ToBeReleased-List-RelConf", "x2ap.E_RABs_ToBeReleased_List_RelConf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_RelConfItem_PDU, { "E-RABs-ToBeReleased-RelConfItem", "x2ap.E_RABs_ToBeReleased_RelConfItem", FT_UINT32, BASE_DEC, VALS(x2ap_E_RABs_ToBeReleased_RelConfItem_vals), 0, NULL, HFILL }}, { &hf_x2ap_SeNBCounterCheckRequest_PDU, { "SeNBCounterCheckRequest", "x2ap.SeNBCounterCheckRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_SubjectToCounterCheck_List_PDU, { "E-RABs-SubjectToCounterCheck-List", "x2ap.E_RABs_SubjectToCounterCheck_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_SubjectToCounterCheckItem_PDU, { "E-RABs-SubjectToCounterCheckItem", "x2ap.E_RABs_SubjectToCounterCheckItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2RemovalRequest_PDU, { "X2RemovalRequest", "x2ap.X2RemovalRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2RemovalResponse_PDU, { "X2RemovalResponse", "x2ap.X2RemovalResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2RemovalFailure_PDU, { "X2RemovalFailure", "x2ap.X2RemovalFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RetrieveUEContextRequest_PDU, { "RetrieveUEContextRequest", "x2ap.RetrieveUEContextRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RetrieveUEContextResponse_PDU, { "RetrieveUEContextResponse", "x2ap.RetrieveUEContextResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_ContextInformationRetrieve_PDU, { "UE-ContextInformationRetrieve", "x2ap.UE_ContextInformationRetrieve_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeSetupRetrieve_Item_PDU, { "E-RABs-ToBeSetupRetrieve-Item", "x2ap.E_RABs_ToBeSetupRetrieve_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RetrieveUEContextFailure_PDU, { "RetrieveUEContextFailure", "x2ap.RetrieveUEContextFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBAdditionRequest_PDU, { "SgNBAdditionRequest", "x2ap.SgNBAdditionRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_SgNBAddReqList_PDU, { "E-RABs-ToBeAdded-SgNBAddReqList", "x2ap.E_RABs_ToBeAdded_SgNBAddReqList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_PDU, { "E-RABs-ToBeAdded-SgNBAddReq-Item", "x2ap.E_RABs_ToBeAdded_SgNBAddReq_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBAdditionRequestAcknowledge_PDU, { "SgNBAdditionRequestAcknowledge", "x2ap.SgNBAdditionRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_PDU, { "E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList", "x2ap.E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_PDU, { "E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item", "x2ap.E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBAdditionRequestReject_PDU, { "SgNBAdditionRequestReject", "x2ap.SgNBAdditionRequestReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBReconfigurationComplete_PDU, { "SgNBReconfigurationComplete", "x2ap.SgNBReconfigurationComplete_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ResponseInformationSgNBReconfComp_PDU, { "ResponseInformationSgNBReconfComp", "x2ap.ResponseInformationSgNBReconfComp", FT_UINT32, BASE_DEC, VALS(x2ap_ResponseInformationSgNBReconfComp_vals), 0, NULL, HFILL }}, { &hf_x2ap_SgNBModificationRequest_PDU, { "SgNBModificationRequest", "x2ap.SgNBModificationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UE_ContextInformation_SgNBModReq_PDU, { "UE-ContextInformation-SgNBModReq", "x2ap.UE_ContextInformation_SgNBModReq_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_PDU, { "E-RABs-ToBeAdded-SgNBModReq-Item", "x2ap.E_RABs_ToBeAdded_SgNBModReq_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_PDU, { "E-RABs-ToBeModified-SgNBModReq-Item", "x2ap.E_RABs_ToBeModified_SgNBModReq_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_PDU, { "E-RABs-ToBeReleased-SgNBModReq-Item", "x2ap.E_RABs_ToBeReleased_SgNBModReq_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBModificationRequestAcknowledge_PDU, { "SgNBModificationRequestAcknowledge", "x2ap.SgNBModificationRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList_PDU, { "E-RABs-Admitted-ToBeAdded-SgNBModAckList", "x2ap.E_RABs_Admitted_ToBeAdded_SgNBModAckList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_PDU, { "E-RABs-Admitted-ToBeAdded-SgNBModAck-Item", "x2ap.E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList_PDU, { "E-RABs-Admitted-ToBeModified-SgNBModAckList", "x2ap.E_RABs_Admitted_ToBeModified_SgNBModAckList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_PDU, { "E-RABs-Admitted-ToBeModified-SgNBModAck-Item", "x2ap.E_RABs_Admitted_ToBeModified_SgNBModAck_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList_PDU, { "E-RABs-Admitted-ToBeReleased-SgNBModAckList", "x2ap.E_RABs_Admitted_ToBeReleased_SgNBModAckList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToReleased_SgNBModAck_Item_PDU, { "E-RABs-Admitted-ToReleased-SgNBModAck-Item", "x2ap.E_RABs_Admitted_ToReleased_SgNBModAck_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBModificationRequestReject_PDU, { "SgNBModificationRequestReject", "x2ap.SgNBModificationRequestReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBModificationRequired_PDU, { "SgNBModificationRequired", "x2ap.SgNBModificationRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBModReqdList_PDU, { "E-RABs-ToBeReleased-SgNBModReqdList", "x2ap.E_RABs_ToBeReleased_SgNBModReqdList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBModReqd_Item_PDU, { "E-RABs-ToBeReleased-SgNBModReqd-Item", "x2ap.E_RABs_ToBeReleased_SgNBModReqd_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeModified_SgNBModReqdList_PDU, { "E-RABs-ToBeModified-SgNBModReqdList", "x2ap.E_RABs_ToBeModified_SgNBModReqdList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_PDU, { "E-RABs-ToBeModified-SgNBModReqd-Item", "x2ap.E_RABs_ToBeModified_SgNBModReqd_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBModificationConfirm_PDU, { "SgNBModificationConfirm", "x2ap.SgNBModificationConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList_PDU, { "E-RABs-AdmittedToBeModified-SgNBModConfList", "x2ap.E_RABs_AdmittedToBeModified_SgNBModConfList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_PDU, { "E-RABs-AdmittedToBeModified-SgNBModConf-Item", "x2ap.E_RABs_AdmittedToBeModified_SgNBModConf_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBModificationRefuse_PDU, { "SgNBModificationRefuse", "x2ap.SgNBModificationRefuse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBReleaseRequest_PDU, { "SgNBReleaseRequest", "x2ap.SgNBReleaseRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqList_PDU, { "E-RABs-ToBeReleased-SgNBRelReqList", "x2ap.E_RABs_ToBeReleased_SgNBRelReqList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_PDU, { "E-RABs-ToBeReleased-SgNBRelReq-Item", "x2ap.E_RABs_ToBeReleased_SgNBRelReq_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBReleaseRequestAcknowledge_PDU, { "SgNBReleaseRequestAcknowledge", "x2ap.SgNBReleaseRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_PDU, { "E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList", "x2ap.E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item_PDU, { "E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item", "x2ap.E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBReleaseRequestReject_PDU, { "SgNBReleaseRequestReject", "x2ap.SgNBReleaseRequestReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBReleaseRequired_PDU, { "SgNBReleaseRequired", "x2ap.SgNBReleaseRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList_PDU, { "E-RABs-ToBeReleased-SgNBRelReqdList", "x2ap.E_RABs_ToBeReleased_SgNBRelReqdList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqd_Item_PDU, { "E-RABs-ToBeReleased-SgNBRelReqd-Item", "x2ap.E_RABs_ToBeReleased_SgNBRelReqd_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBReleaseConfirm_PDU, { "SgNBReleaseConfirm", "x2ap.SgNBReleaseConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelConfList_PDU, { "E-RABs-ToBeReleased-SgNBRelConfList", "x2ap.E_RABs_ToBeReleased_SgNBRelConfList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_PDU, { "E-RABs-ToBeReleased-SgNBRelConf-Item", "x2ap.E_RABs_ToBeReleased_SgNBRelConf_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBCounterCheckRequest_PDU, { "SgNBCounterCheckRequest", "x2ap.SgNBCounterCheckRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_List_PDU, { "E-RABs-SubjectToSgNBCounterCheck-List", "x2ap.E_RABs_SubjectToSgNBCounterCheck_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_Item_PDU, { "E-RABs-SubjectToSgNBCounterCheck-Item", "x2ap.E_RABs_SubjectToSgNBCounterCheck_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBChangeRequired_PDU, { "SgNBChangeRequired", "x2ap.SgNBChangeRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_AccessAndMobilityIndication_PDU, { "AccessAndMobilityIndication", "x2ap.AccessAndMobilityIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBChangeConfirm_PDU, { "SgNBChangeConfirm", "x2ap.SgNBChangeConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBChaConfList_PDU, { "E-RABs-ToBeReleased-SgNBChaConfList", "x2ap.E_RABs_ToBeReleased_SgNBChaConfList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_PDU, { "E-RABs-ToBeReleased-SgNBChaConf-Item", "x2ap.E_RABs_ToBeReleased_SgNBChaConf_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RRCTransfer_PDU, { "RRCTransfer", "x2ap.RRCTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBChangeRefuse_PDU, { "SgNBChangeRefuse", "x2ap.SgNBChangeRefuse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCX2SetupRequest_PDU, { "ENDCX2SetupRequest", "x2ap.ENDCX2SetupRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_InitiatingNodeType_EndcX2Setup_PDU, { "InitiatingNodeType-EndcX2Setup", "x2ap.InitiatingNodeType_EndcX2Setup", FT_UINT32, BASE_DEC, VALS(x2ap_InitiatingNodeType_EndcX2Setup_vals), 0, NULL, HFILL }}, { &hf_x2ap_ServedEUTRAcellsENDCX2ManagementList_PDU, { "ServedEUTRAcellsENDCX2ManagementList", "x2ap.ServedEUTRAcellsENDCX2ManagementList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedNRcellsENDCX2ManagementList_PDU, { "ServedNRcellsENDCX2ManagementList", "x2ap.ServedNRcellsENDCX2ManagementList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellandCapacityAssistInfo_PDU, { "CellandCapacityAssistInfo", "x2ap.CellandCapacityAssistInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellAssistanceInformation_PDU, { "CellAssistanceInformation", "x2ap.CellAssistanceInformation", FT_UINT32, BASE_DEC, VALS(x2ap_CellAssistanceInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_ENDCX2SetupResponse_PDU, { "ENDCX2SetupResponse", "x2ap.ENDCX2SetupResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RespondingNodeType_EndcX2Setup_PDU, { "RespondingNodeType-EndcX2Setup", "x2ap.RespondingNodeType_EndcX2Setup", FT_UINT32, BASE_DEC, VALS(x2ap_RespondingNodeType_EndcX2Setup_vals), 0, NULL, HFILL }}, { &hf_x2ap_ENDCX2SetupFailure_PDU, { "ENDCX2SetupFailure", "x2ap.ENDCX2SetupFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCConfigurationUpdate_PDU, { "ENDCConfigurationUpdate", "x2ap.ENDCConfigurationUpdate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_InitiatingNodeType_EndcConfigUpdate_PDU, { "InitiatingNodeType-EndcConfigUpdate", "x2ap.InitiatingNodeType_EndcConfigUpdate", FT_UINT32, BASE_DEC, VALS(x2ap_InitiatingNodeType_EndcConfigUpdate_vals), 0, NULL, HFILL }}, { &hf_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_PDU, { "ServedEUTRAcellsToModifyListENDCConfUpd", "x2ap.ServedEUTRAcellsToModifyListENDCConfUpd", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd_PDU, { "ServedEUTRAcellsToDeleteListENDCConfUpd", "x2ap.ServedEUTRAcellsToDeleteListENDCConfUpd", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedNRcellsToModifyENDCConfUpdList_PDU, { "ServedNRcellsToModifyENDCConfUpdList", "x2ap.ServedNRcellsToModifyENDCConfUpdList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedNRcellsToDeleteENDCConfUpdList_PDU, { "ServedNRcellsToDeleteENDCConfUpdList", "x2ap.ServedNRcellsToDeleteENDCConfUpdList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCConfigurationUpdateAcknowledge_PDU, { "ENDCConfigurationUpdateAcknowledge", "x2ap.ENDCConfigurationUpdateAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RespondingNodeType_EndcConfigUpdate_PDU, { "RespondingNodeType-EndcConfigUpdate", "x2ap.RespondingNodeType_EndcConfigUpdate", FT_UINT32, BASE_DEC, VALS(x2ap_RespondingNodeType_EndcConfigUpdate_vals), 0, NULL, HFILL }}, { &hf_x2ap_ENDCConfigurationUpdateFailure_PDU, { "ENDCConfigurationUpdateFailure", "x2ap.ENDCConfigurationUpdateFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCCellActivationRequest_PDU, { "ENDCCellActivationRequest", "x2ap.ENDCCellActivationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedNRCellsToActivate_PDU, { "ServedNRCellsToActivate", "x2ap.ServedNRCellsToActivate", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCCellActivationResponse_PDU, { "ENDCCellActivationResponse", "x2ap.ENDCCellActivationResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ActivatedNRCellList_PDU, { "ActivatedNRCellList", "x2ap.ActivatedNRCellList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCCellActivationFailure_PDU, { "ENDCCellActivationFailure", "x2ap.ENDCCellActivationFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCResourceStatusRequest_PDU, { "ENDCResourceStatusRequest", "x2ap.ENDCResourceStatusRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_NR_ENDC_List_PDU, { "CellToReport-NR-ENDC-List", "x2ap.CellToReport_NR_ENDC_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_NR_ENDC_Item_PDU, { "CellToReport-NR-ENDC-Item", "x2ap.CellToReport_NR_ENDC_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_E_UTRA_ENDC_List_PDU, { "CellToReport-E-UTRA-ENDC-List", "x2ap.CellToReport_E_UTRA_ENDC_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_E_UTRA_ENDC_Item_PDU, { "CellToReport-E-UTRA-ENDC-Item", "x2ap.CellToReport_E_UTRA_ENDC_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCResourceStatusResponse_PDU, { "ENDCResourceStatusResponse", "x2ap.ENDCResourceStatusResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCResourceStatusFailure_PDU, { "ENDCResourceStatusFailure", "x2ap.ENDCResourceStatusFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCResourceStatusUpdate_PDU, { "ENDCResourceStatusUpdate", "x2ap.ENDCResourceStatusUpdate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellMeasurementResult_NR_ENDC_List_PDU, { "CellMeasurementResult-NR-ENDC-List", "x2ap.CellMeasurementResult_NR_ENDC_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellMeasurementResult_NR_ENDC_Item_PDU, { "CellMeasurementResult-NR-ENDC-Item", "x2ap.CellMeasurementResult_NR_ENDC_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_List_PDU, { "CellMeasurementResult-E-UTRA-ENDC-List", "x2ap.CellMeasurementResult_E_UTRA_ENDC_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_Item_PDU, { "CellMeasurementResult-E-UTRA-ENDC-Item", "x2ap.CellMeasurementResult_E_UTRA_ENDC_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SecondaryRATDataUsageReport_PDU, { "SecondaryRATDataUsageReport", "x2ap.SecondaryRATDataUsageReport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SgNBActivityNotification_PDU, { "SgNBActivityNotification", "x2ap.SgNBActivityNotification_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCPartialResetRequired_PDU, { "ENDCPartialResetRequired", "x2ap.ENDCPartialResetRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCPartialResetConfirm_PDU, { "ENDCPartialResetConfirm", "x2ap.ENDCPartialResetConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_x2ap_EUTRANRCellResourceCoordinationRequest_PDU, { "EUTRANRCellResourceCoordinationRequest", "x2ap.EUTRANRCellResourceCoordinationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_InitiatingNodeType_EutranrCellResourceCoordination_PDU, { "InitiatingNodeType-EutranrCellResourceCoordination", "x2ap.InitiatingNodeType_EutranrCellResourceCoordination", FT_UINT32, BASE_DEC, VALS(x2ap_InitiatingNodeType_EutranrCellResourceCoordination_vals), 0, NULL, HFILL }}, { &hf_x2ap_ListofEUTRACellsinEUTRACoordinationReq_PDU, { "ListofEUTRACellsinEUTRACoordinationReq", "x2ap.ListofEUTRACellsinEUTRACoordinationReq", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ListofEUTRACellsinNRCoordinationReq_PDU, { "ListofEUTRACellsinNRCoordinationReq", "x2ap.ListofEUTRACellsinNRCoordinationReq", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ListofNRCellsinNRCoordinationReq_PDU, { "ListofNRCellsinNRCoordinationReq", "x2ap.ListofNRCellsinNRCoordinationReq", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_x2ap_EUTRANRCellResourceCoordinationResponse_PDU, { "EUTRANRCellResourceCoordinationResponse", "x2ap.EUTRANRCellResourceCoordinationResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RespondingNodeType_EutranrCellResourceCoordination_PDU, { "RespondingNodeType-EutranrCellResourceCoordination", "x2ap.RespondingNodeType_EutranrCellResourceCoordination", FT_UINT32, BASE_DEC, VALS(x2ap_RespondingNodeType_EutranrCellResourceCoordination_vals), 0, NULL, HFILL }}, { &hf_x2ap_ListofEUTRACellsinEUTRACoordinationResp_PDU, { "ListofEUTRACellsinEUTRACoordinationResp", "x2ap.ListofEUTRACellsinEUTRACoordinationResp", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ListofNRCellsinNRCoordinationResp_PDU, { "ListofNRCellsinNRCoordinationResp", "x2ap.ListofNRCellsinNRCoordinationResp", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCX2RemovalRequest_PDU, { "ENDCX2RemovalRequest", "x2ap.ENDCX2RemovalRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_InitiatingNodeType_EndcX2Removal_PDU, { "InitiatingNodeType-EndcX2Removal", "x2ap.InitiatingNodeType_EndcX2Removal", FT_UINT32, BASE_DEC, VALS(x2ap_InitiatingNodeType_EndcX2Removal_vals), 0, NULL, HFILL }}, { &hf_x2ap_ENDCX2RemovalResponse_PDU, { "ENDCX2RemovalResponse", "x2ap.ENDCX2RemovalResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RespondingNodeType_EndcX2Removal_PDU, { "RespondingNodeType-EndcX2Removal", "x2ap.RespondingNodeType_EndcX2Removal", FT_UINT32, BASE_DEC, VALS(x2ap_RespondingNodeType_EndcX2Removal_vals), 0, NULL, HFILL }}, { &hf_x2ap_ENDCX2RemovalFailure_PDU, { "ENDCX2RemovalFailure", "x2ap.ENDCX2RemovalFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_DataForwardingAddressIndication_PDU, { "DataForwardingAddressIndication", "x2ap.DataForwardingAddressIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_DataForwardingAddress_List_PDU, { "E-RABs-DataForwardingAddress-List", "x2ap.E_RABs_DataForwardingAddress_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_DataForwardingAddress_Item_PDU, { "E-RABs-DataForwardingAddress-Item", "x2ap.E_RABs_DataForwardingAddress_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_GNBStatusIndication_PDU, { "GNBStatusIndication", "x2ap.GNBStatusIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ENDCConfigurationTransfer_PDU, { "ENDCConfigurationTransfer", "x2ap.ENDCConfigurationTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TraceStart_PDU, { "TraceStart", "x2ap.TraceStart_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_DeactivateTrace_PDU, { "DeactivateTrace", "x2ap.DeactivateTrace_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellTrafficTrace_PDU, { "CellTrafficTrace", "x2ap.CellTrafficTrace_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_F1CTrafficTransfer_PDU, { "F1CTrafficTransfer", "x2ap.F1CTrafficTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UERadioCapabilityIDMappingRequest_PDU, { "UERadioCapabilityIDMappingRequest", "x2ap.UERadioCapabilityIDMappingRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UERadioCapabilityIDMappingResponse_PDU, { "UERadioCapabilityIDMappingResponse", "x2ap.UERadioCapabilityIDMappingResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CPC_cancel_PDU, { "CPC-cancel", "x2ap.CPC_cancel_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_X2AP_PDU_PDU, { "X2AP-PDU", "x2ap.X2AP_PDU", FT_UINT32, BASE_DEC, VALS(x2ap_X2AP_PDU_vals), 0, NULL, HFILL }}, { &hf_x2ap_local, { "local", "x2ap.local", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_maxPrivateIEs", HFILL }}, { &hf_x2ap_global, { "global", "x2ap.global", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ProtocolIE_Container_item, { "ProtocolIE-Field", "x2ap.ProtocolIE_Field_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_id, { "id", "x2ap.id", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &x2ap_ProtocolIE_ID_vals_ext, 0, "ProtocolIE_ID", HFILL }}, { &hf_x2ap_criticality, { "criticality", "x2ap.criticality", FT_UINT32, BASE_DEC, VALS(x2ap_Criticality_vals), 0, NULL, HFILL }}, { &hf_x2ap_protocolIE_Field_value, { "value", "x2ap.value_element", FT_NONE, BASE_NONE, NULL, 0, "ProtocolIE_Field_value", HFILL }}, { &hf_x2ap_ProtocolExtensionContainer_item, { "ProtocolExtensionField", "x2ap.ProtocolExtensionField_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_extension_id, { "id", "x2ap.id", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &x2ap_ProtocolIE_ID_vals_ext, 0, "ProtocolIE_ID", HFILL }}, { &hf_x2ap_extensionValue, { "extensionValue", "x2ap.extensionValue_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PrivateIE_Container_item, { "PrivateIE-Field", "x2ap.PrivateIE_Field_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_private_id, { "id", "x2ap.id", FT_UINT32, BASE_DEC, VALS(x2ap_PrivateIE_ID_vals), 0, "PrivateIE_ID", HFILL }}, { &hf_x2ap_privateIE_Field_value, { "value", "x2ap.value_element", FT_NONE, BASE_NONE, NULL, 0, "PrivateIE_Field_value", HFILL }}, { &hf_x2ap_fdd, { "fdd", "x2ap.fdd_element", FT_NONE, BASE_NONE, NULL, 0, "ABSInformationFDD", HFILL }}, { &hf_x2ap_tdd, { "tdd", "x2ap.tdd_element", FT_NONE, BASE_NONE, NULL, 0, "ABSInformationTDD", HFILL }}, { &hf_x2ap_abs_inactive, { "abs-inactive", "x2ap.abs_inactive_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_abs_pattern_info, { "abs-pattern-info", "x2ap.abs_pattern_info", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_40", HFILL }}, { &hf_x2ap_numberOfCellSpecificAntennaPorts, { "numberOfCellSpecificAntennaPorts", "x2ap.numberOfCellSpecificAntennaPorts", FT_UINT32, BASE_DEC, VALS(x2ap_T_numberOfCellSpecificAntennaPorts_vals), 0, NULL, HFILL }}, { &hf_x2ap_measurement_subset, { "measurement-subset", "x2ap.measurement_subset", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_40", HFILL }}, { &hf_x2ap_iE_Extensions, { "iE-Extensions", "x2ap.iE_Extensions", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolExtensionContainer", HFILL }}, { &hf_x2ap_abs_pattern_info_01, { "abs-pattern-info", "x2ap.abs_pattern_info", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_1_70_", HFILL }}, { &hf_x2ap_numberOfCellSpecificAntennaPorts_01, { "numberOfCellSpecificAntennaPorts", "x2ap.numberOfCellSpecificAntennaPorts", FT_UINT32, BASE_DEC, VALS(x2ap_T_numberOfCellSpecificAntennaPorts_01_vals), 0, "T_numberOfCellSpecificAntennaPorts_01", HFILL }}, { &hf_x2ap_measurement_subset_01, { "measurement-subset", "x2ap.measurement_subset", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_1_70_", HFILL }}, { &hf_x2ap_dL_ABS_status, { "dL-ABS-status", "x2ap.dL_ABS_status", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_usableABSInformation, { "usableABSInformation", "x2ap.usableABSInformation", FT_UINT32, BASE_DEC, VALS(x2ap_UsableABSInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_Additional_Measurement_Timing_Configuration_List_item, { "Additional-Measurement-Timing-Configuration-Item", "x2ap.Additional_Measurement_Timing_Configuration_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_additionalMeasurementTimingConfiguration, { "additionalMeasurementTimingConfiguration", "x2ap.additionalMeasurementTimingConfiguration", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_16", HFILL }}, { &hf_x2ap_csi_RS_MTC_Configuration_List, { "csi-RS-MTC-Configuration-List", "x2ap.csi_RS_MTC_Configuration_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CSI_RS_MTC_Configuration_List_item, { "CSI-RS-MTC-Configuration-Item", "x2ap.CSI_RS_MTC_Configuration_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_csi_RS_Index, { "csi-RS-Index", "x2ap.csi_RS_Index", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_95", HFILL }}, { &hf_x2ap_csi_RS_Status, { "csi-RS-Status", "x2ap.csi_RS_Status", FT_UINT32, BASE_DEC, VALS(x2ap_T_csi_RS_Status_vals), 0, NULL, HFILL }}, { &hf_x2ap_csi_RS_Neighbour_List, { "csi-RS-Neighbour-List", "x2ap.csi_RS_Neighbour_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CSI_RS_Neighbour_List_item, { "CSI-RS-Neighbour-Item", "x2ap.CSI_RS_Neighbour_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nr_cgi, { "nr-cgi", "x2ap.nr_cgi_element", FT_NONE, BASE_NONE, NULL, 0, "NRCGI", HFILL }}, { &hf_x2ap_csi_RS_MTC_Neighbour_List, { "csi-RS-MTC-Neighbour-List", "x2ap.csi_RS_MTC_Neighbour_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CSI_RS_MTC_Neighbour_List_item, { "CSI-RS-MTC-Neighbour-Item", "x2ap.CSI_RS_MTC_Neighbour_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_item, { "AdditionalListofForwardingGTPTunnelEndpoint-Item", "x2ap.AdditionalListofForwardingGTPTunnelEndpoint_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uL_GTPtunnelEndpoint, { "uL-GTPtunnelEndpoint", "x2ap.uL_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_dL_GTPtunnelEndpoint, { "dL-GTPtunnelEndpoint", "x2ap.dL_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_additionalspecialSubframePatterns, { "additionalspecialSubframePatterns", "x2ap.additionalspecialSubframePatterns", FT_UINT32, BASE_DEC, VALS(x2ap_AdditionalSpecialSubframePatterns_vals), 0, NULL, HFILL }}, { &hf_x2ap_cyclicPrefixDL, { "cyclicPrefixDL", "x2ap.cyclicPrefixDL", FT_UINT32, BASE_DEC, VALS(x2ap_CyclicPrefixDL_vals), 0, NULL, HFILL }}, { &hf_x2ap_cyclicPrefixUL, { "cyclicPrefixUL", "x2ap.cyclicPrefixUL", FT_UINT32, BASE_DEC, VALS(x2ap_CyclicPrefixUL_vals), 0, NULL, HFILL }}, { &hf_x2ap_additionalspecialSubframePatternsExtension, { "additionalspecialSubframePatternsExtension", "x2ap.additionalspecialSubframePatternsExtension", FT_UINT32, BASE_DEC, VALS(x2ap_AdditionalSpecialSubframePatternsExtension_vals), 0, NULL, HFILL }}, { &hf_x2ap_priorityLevel, { "priorityLevel", "x2ap.priorityLevel", FT_UINT32, BASE_DEC, VALS(x2ap_PriorityLevel_vals), 0, NULL, HFILL }}, { &hf_x2ap_pre_emptionCapability, { "pre-emptionCapability", "x2ap.pre_emptionCapability", FT_UINT32, BASE_DEC, VALS(x2ap_Pre_emptionCapability_vals), 0, NULL, HFILL }}, { &hf_x2ap_pre_emptionVulnerability, { "pre-emptionVulnerability", "x2ap.pre_emptionVulnerability", FT_UINT32, BASE_DEC, VALS(x2ap_Pre_emptionVulnerability_vals), 0, NULL, HFILL }}, { &hf_x2ap_cellBased, { "cellBased", "x2ap.cellBased_element", FT_NONE, BASE_NONE, NULL, 0, "CellBasedMDT", HFILL }}, { &hf_x2ap_tABased, { "tABased", "x2ap.tABased_element", FT_NONE, BASE_NONE, NULL, 0, "TABasedMDT", HFILL }}, { &hf_x2ap_pLMNWide, { "pLMNWide", "x2ap.pLMNWide_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_tAIBased, { "tAIBased", "x2ap.tAIBased_element", FT_NONE, BASE_NONE, NULL, 0, "TAIBasedMDT", HFILL }}, { &hf_x2ap_cellBased_01, { "cellBased", "x2ap.cellBased_element", FT_NONE, BASE_NONE, NULL, 0, "CellBasedQMC", HFILL }}, { &hf_x2ap_tABased_01, { "tABased", "x2ap.tABased_element", FT_NONE, BASE_NONE, NULL, 0, "TABasedQMC", HFILL }}, { &hf_x2ap_tAIBased_01, { "tAIBased", "x2ap.tAIBased_element", FT_NONE, BASE_NONE, NULL, 0, "TAIBasedQMC", HFILL }}, { &hf_x2ap_pLMNAreaBased, { "pLMNAreaBased", "x2ap.pLMNAreaBased_element", FT_NONE, BASE_NONE, NULL, 0, "PLMNAreaBasedQMC", HFILL }}, { &hf_x2ap_key_eNodeB_star, { "key-eNodeB-star", "x2ap.key_eNodeB_star", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nextHopChainingCount, { "nextHopChainingCount", "x2ap.nextHopChainingCount", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_AdditionalPLMNs_Item_item, { "PLMN-Identity", "x2ap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_BroadcastPLMNs_Item_item, { "PLMN-Identity", "x2ap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_bluetoothMeasConfig, { "bluetoothMeasConfig", "x2ap.bluetoothMeasConfig", FT_UINT32, BASE_DEC, VALS(x2ap_BluetoothMeasConfig_vals), 0, NULL, HFILL }}, { &hf_x2ap_bluetoothMeasConfigNameList, { "bluetoothMeasConfigNameList", "x2ap.bluetoothMeasConfigNameList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_bt_rssi, { "bt-rssi", "x2ap.bt_rssi", FT_UINT32, BASE_DEC, VALS(x2ap_T_bt_rssi_vals), 0, "T_bt_rssi", HFILL }}, { &hf_x2ap_BluetoothMeasConfigNameList_item, { "BluetoothName", "x2ap.BluetoothName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_BPLMN_ID_Info_EUTRA_item, { "BPLMN-ID-Info-EUTRA-Item", "x2ap.BPLMN_ID_Info_EUTRA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_broadcastPLMNs, { "broadcastPLMNs", "x2ap.broadcastPLMNs", FT_UINT32, BASE_DEC, NULL, 0, "BroadcastPLMNs_Item", HFILL }}, { &hf_x2ap_tac, { "tac", "x2ap.tac", FT_UINT16, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_e_utraCI, { "e-utraCI", "x2ap.e_utraCI", FT_BYTES, BASE_NONE, NULL, 0, "EUTRANCellIdentifier", HFILL }}, { &hf_x2ap_iE_Extension, { "iE-Extension", "x2ap.iE_Extension", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolExtensionContainer", HFILL }}, { &hf_x2ap_BPLMN_ID_Info_NR_item, { "BPLMN-ID-Info-NR-Item", "x2ap.BPLMN_ID_Info_NR_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_broadcastPLMNs_01, { "broadcastPLMNs", "x2ap.broadcastPLMNs", FT_UINT32, BASE_DEC, NULL, 0, "BroadcastextPLMNs", HFILL }}, { &hf_x2ap_fiveGS_TAC, { "fiveGS-TAC", "x2ap.fiveGS_TAC", FT_UINT24, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nr_CI, { "nr-CI", "x2ap.nr_CI", FT_BYTES, BASE_NONE, NULL, 0, "NRCellIdentifier", HFILL }}, { &hf_x2ap_BroadcastextPLMNs_item, { "PLMN-Identity", "x2ap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_radioNetwork, { "radioNetwork", "x2ap.radioNetwork", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &x2ap_CauseRadioNetwork_vals_ext, 0, "CauseRadioNetwork", HFILL }}, { &hf_x2ap_transport, { "transport", "x2ap.transport", FT_UINT32, BASE_DEC, VALS(x2ap_CauseTransport_vals), 0, "CauseTransport", HFILL }}, { &hf_x2ap_protocol, { "protocol", "x2ap.protocol", FT_UINT32, BASE_DEC, VALS(x2ap_CauseProtocol_vals), 0, "CauseProtocol", HFILL }}, { &hf_x2ap_misc, { "misc", "x2ap.misc", FT_UINT32, BASE_DEC, VALS(x2ap_CauseMisc_vals), 0, "CauseMisc", HFILL }}, { &hf_x2ap_cellIdListforMDT, { "cellIdListforMDT", "x2ap.cellIdListforMDT", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cellIdListforQMC, { "cellIdListforQMC", "x2ap.cellIdListforQMC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellIdListforMDT_item, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellIdListforQMC_item, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_replacingCellsList, { "replacingCellsList", "x2ap.replacingCellsList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cell_Size, { "cell-Size", "x2ap.cell_Size", FT_UINT32, BASE_DEC, VALS(x2ap_Cell_Size_vals), 0, NULL, HFILL }}, { &hf_x2ap_CPACcandidatePSCells_list_item, { "CPACcandidatePSCells-item", "x2ap.CPACcandidatePSCells_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pscell_id, { "pscell-id", "x2ap.pscell_id_element", FT_NONE, BASE_NONE, NULL, 0, "NRCGI", HFILL }}, { &hf_x2ap_max_no_of_pscells, { "max-no-of-pscells", "x2ap.max_no_of_pscells", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_maxnoofPSCellCandidates", HFILL }}, { &hf_x2ap_estimatedArrivalProbability, { "estimatedArrivalProbability", "x2ap.estimatedArrivalProbability", FT_UINT32, BASE_DEC, NULL, 0, "CHO_Probability", HFILL }}, { &hf_x2ap_candidate_pscells, { "candidate-pscells", "x2ap.candidate_pscells", FT_UINT32, BASE_DEC, NULL, 0, "CPACcandidatePSCells_list", HFILL }}, { &hf_x2ap_cpc_target_sgnb_list, { "cpc-target-sgnb-list", "x2ap.cpc_target_sgnb_list", FT_UINT32, BASE_DEC, NULL, 0, "CPC_target_SgNB_reqd_list", HFILL }}, { &hf_x2ap_CPC_target_SgNB_reqd_list_item, { "CPC-target-SgNB-reqd-item", "x2ap.CPC_target_SgNB_reqd_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_target_SgNB_ID, { "target-SgNB-ID", "x2ap.target_SgNB_ID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalGNB_ID", HFILL }}, { &hf_x2ap_cpc_indicator, { "cpc-indicator", "x2ap.cpc_indicator", FT_UINT32, BASE_DEC, VALS(x2ap_CPCindicator_vals), 0, "CPCindicator", HFILL }}, { &hf_x2ap_sgNBtoMeNBContainer, { "sgNBtoMeNBContainer", "x2ap.sgNBtoMeNBContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cpc_target_sgnb_list_01, { "cpc-target-sgnb-list", "x2ap.cpc_target_sgnb_list", FT_UINT32, BASE_DEC, NULL, 0, "CPC_target_SgNB_conf_list", HFILL }}, { &hf_x2ap_CPC_target_SgNB_conf_list_item, { "CPC-target-SgNB-conf-item", "x2ap.CPC_target_SgNB_conf_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cpc_indicator_01, { "cpc-indicator", "x2ap.cpc_indicator", FT_UINT32, BASE_DEC, VALS(x2ap_CPCdataforwarding_vals), 0, "CPCdataforwarding", HFILL }}, { &hf_x2ap_cpc_target_sgnb_list_02, { "cpc-target-sgnb-list", "x2ap.cpc_target_sgnb_list", FT_UINT32, BASE_DEC, NULL, 0, "CPC_target_SgNB_mod_list", HFILL }}, { &hf_x2ap_CPC_target_SgNB_mod_list_item, { "CPC-target-SgNB-mod-item", "x2ap.CPC_target_SgNB_mod_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CNTypeRestrictions_item, { "CNTypeRestrictionsItem", "x2ap.CNTypeRestrictionsItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_plmn_Id, { "plmn-Id", "x2ap.plmn_Id", FT_BYTES, BASE_NONE, NULL, 0, "PLMN_Identity", HFILL }}, { &hf_x2ap_cn_type, { "cn-type", "x2ap.cn_type", FT_UINT32, BASE_DEC, VALS(x2ap_T_cn_type_vals), 0, NULL, HFILL }}, { &hf_x2ap_CoMPHypothesisSet_item, { "CoMPHypothesisSetItem", "x2ap.CoMPHypothesisSetItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_coMPCellID, { "coMPCellID", "x2ap.coMPCellID_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_coMPHypothesis, { "coMPHypothesis", "x2ap.coMPHypothesis", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6_4400_", HFILL }}, { &hf_x2ap_coMPInformationItem, { "coMPInformationItem", "x2ap.coMPInformationItem", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_coMPInformationStartTime, { "coMPInformationStartTime", "x2ap.coMPInformationStartTime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CoMPInformationItem_item, { "CoMPInformationItem item", "x2ap.CoMPInformationItem_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_coMPHypothesisSet, { "coMPHypothesisSet", "x2ap.coMPHypothesisSet", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_benefitMetric, { "benefitMetric", "x2ap.benefitMetric", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CoMPInformationStartTime_item, { "CoMPInformationStartTime item", "x2ap.CoMPInformationStartTime_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_startSFN, { "startSFN", "x2ap.startSFN", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_1023_", HFILL }}, { &hf_x2ap_startSubframeNumber, { "startSubframeNumber", "x2ap.startSubframeNumber", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_9_", HFILL }}, { &hf_x2ap_cellCapacityClassValue, { "cellCapacityClassValue", "x2ap.cellCapacityClassValue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_capacityValue, { "capacityValue", "x2ap.capacityValue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dL_CompositeAvailableCapacity, { "dL-CompositeAvailableCapacity", "x2ap.dL_CompositeAvailableCapacity_element", FT_NONE, BASE_NONE, NULL, 0, "CompositeAvailableCapacity", HFILL }}, { &hf_x2ap_uL_CompositeAvailableCapacity, { "uL-CompositeAvailableCapacity", "x2ap.uL_CompositeAvailableCapacity_element", FT_NONE, BASE_NONE, NULL, 0, "CompositeAvailableCapacity", HFILL }}, { &hf_x2ap_pDCP_SN, { "pDCP-SN", "x2ap.pDCP_SN", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_hFN, { "hFN", "x2ap.hFN", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pDCP_SNExtended, { "pDCP-SNExtended", "x2ap.pDCP_SNExtended", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_hFNModified, { "hFNModified", "x2ap.hFNModified", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pDCP_SNlength18, { "pDCP-SNlength18", "x2ap.pDCP_SNlength18", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_hFNforPDCP_SNlength18, { "hFNforPDCP-SNlength18", "x2ap.hFNforPDCP_SNlength18", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CoverageModificationList_item, { "CoverageModification-Item", "x2ap.CoverageModification_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_eCGI, { "eCGI", "x2ap.eCGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_coverageState, { "coverageState", "x2ap.coverageState", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_15_", HFILL }}, { &hf_x2ap_cellDeploymentStatusIndicator, { "cellDeploymentStatusIndicator", "x2ap.cellDeploymentStatusIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_CellDeploymentStatusIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_cellReplacingInfo, { "cellReplacingInfo", "x2ap.cellReplacingInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_endpointIPAddress, { "endpointIPAddress", "x2ap.endpointIPAddress", FT_BYTES, BASE_NONE, NULL, 0, "TransportLayerAddress", HFILL }}, { &hf_x2ap_endpointIPAddressAndPort, { "endpointIPAddressAndPort", "x2ap.endpointIPAddressAndPort_element", FT_NONE, BASE_NONE, NULL, 0, "TransportLayerAddressAndPort", HFILL }}, { &hf_x2ap_procedureCode, { "procedureCode", "x2ap.procedureCode", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &x2ap_ProcedureCode_vals_ext, 0, NULL, HFILL }}, { &hf_x2ap_triggeringMessage, { "triggeringMessage", "x2ap.triggeringMessage", FT_UINT32, BASE_DEC, VALS(x2ap_TriggeringMessage_vals), 0, NULL, HFILL }}, { &hf_x2ap_procedureCriticality, { "procedureCriticality", "x2ap.procedureCriticality", FT_UINT32, BASE_DEC, VALS(x2ap_Criticality_vals), 0, "Criticality", HFILL }}, { &hf_x2ap_iEsCriticalityDiagnostics, { "iEsCriticalityDiagnostics", "x2ap.iEsCriticalityDiagnostics", FT_UINT32, BASE_DEC, NULL, 0, "CriticalityDiagnostics_IE_List", HFILL }}, { &hf_x2ap_CriticalityDiagnostics_IE_List_item, { "CriticalityDiagnostics-IE-List item", "x2ap.CriticalityDiagnostics_IE_List_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_iECriticality, { "iECriticality", "x2ap.iECriticality", FT_UINT32, BASE_DEC, VALS(x2ap_Criticality_vals), 0, "Criticality", HFILL }}, { &hf_x2ap_iE_ID, { "iE-ID", "x2ap.iE_ID", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &x2ap_ProtocolIE_ID_vals_ext, 0, "ProtocolIE_ID", HFILL }}, { &hf_x2ap_typeOfError, { "typeOfError", "x2ap.typeOfError", FT_UINT32, BASE_DEC, VALS(x2ap_TypeOfError_vals), 0, NULL, HFILL }}, { &hf_x2ap_CSIReportList_item, { "CSIReportList item", "x2ap.CSIReportList_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uEID, { "uEID", "x2ap.uEID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cSIReportPerCSIProcess, { "cSIReportPerCSIProcess", "x2ap.cSIReportPerCSIProcess", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CSIReportPerCSIProcess_item, { "CSIReportPerCSIProcess item", "x2ap.CSIReportPerCSIProcess_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cSIProcessConfigurationIndex, { "cSIProcessConfigurationIndex", "x2ap.cSIProcessConfigurationIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_7_", HFILL }}, { &hf_x2ap_cSIReportPerCSIProcessItem, { "cSIReportPerCSIProcessItem", "x2ap.cSIReportPerCSIProcessItem", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CSIReportPerCSIProcessItem_item, { "CSIReportPerCSIProcessItem item", "x2ap.CSIReportPerCSIProcessItem_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_rI, { "rI", "x2ap.rI", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_8_", HFILL }}, { &hf_x2ap_widebandCQI, { "widebandCQI", "x2ap.widebandCQI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_subbandSize, { "subbandSize", "x2ap.subbandSize", FT_UINT32, BASE_DEC, VALS(x2ap_SubbandSize_vals), 0, NULL, HFILL }}, { &hf_x2ap_subbandCQIList, { "subbandCQIList", "x2ap.subbandCQIList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cho_trigger, { "cho-trigger", "x2ap.cho_trigger", FT_UINT32, BASE_DEC, VALS(x2ap_CHOtrigger_vals), 0, "CHOtrigger", HFILL }}, { &hf_x2ap_new_eNB_UE_X2AP_ID, { "new-eNB-UE-X2AP-ID", "x2ap.new_eNB_UE_X2AP_ID", FT_UINT32, BASE_DEC, NULL, 0, "UE_X2AP_ID", HFILL }}, { &hf_x2ap_new_eNB_UE_X2AP_ID_Extension, { "new-eNB-UE-X2AP-ID-Extension", "x2ap.new_eNB_UE_X2AP_ID_Extension", FT_UINT32, BASE_DEC, NULL, 0, "UE_X2AP_ID_Extension", HFILL }}, { &hf_x2ap_cHO_EstimatedArrivalProbability, { "cHO-EstimatedArrivalProbability", "x2ap.cHO_EstimatedArrivalProbability", FT_UINT32, BASE_DEC, NULL, 0, "CHO_Probability", HFILL }}, { &hf_x2ap_requestedTargetCellID, { "requestedTargetCellID", "x2ap.requestedTargetCellID_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_maxCHOpreparations, { "maxCHOpreparations", "x2ap.maxCHOpreparations", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CandidateCellsToBeCancelledList_item, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_source_eNB_ID, { "source-eNB-ID", "x2ap.source_eNB_ID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalENB_ID", HFILL }}, { &hf_x2ap_source_eNB_UE_X2AP_ID, { "source-eNB-UE-X2AP-ID", "x2ap.source_eNB_UE_X2AP_ID", FT_UINT32, BASE_DEC, NULL, 0, "UE_X2AP_ID", HFILL }}, { &hf_x2ap_source_eNB_UE_X2AP_ID_Ext, { "source-eNB-UE-X2AP-ID-Ext", "x2ap.source_eNB_UE_X2AP_ID_Ext", FT_UINT32, BASE_DEC, NULL, 0, "UE_X2AP_ID_Extension", HFILL }}, { &hf_x2ap_conditionalReconfig, { "conditionalReconfig", "x2ap.conditionalReconfig", FT_UINT32, BASE_DEC, VALS(x2ap_T_conditionalReconfig_vals), 0, NULL, HFILL }}, { &hf_x2ap_activationSFN, { "activationSFN", "x2ap.activationSFN", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_1023", HFILL }}, { &hf_x2ap_sharedResourceType, { "sharedResourceType", "x2ap.sharedResourceType", FT_UINT32, BASE_DEC, VALS(x2ap_SharedResourceType_vals), 0, NULL, HFILL }}, { &hf_x2ap_reservedSubframePattern, { "reservedSubframePattern", "x2ap.reservedSubframePattern_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dAPSIndicator, { "dAPSIndicator", "x2ap.dAPSIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_T_dAPSIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_dAPSResponseIndicator, { "dAPSResponseIndicator", "x2ap.dAPSResponseIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_T_dAPSResponseIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_highestSuccessDeliveredPDCPSN, { "highestSuccessDeliveredPDCPSN", "x2ap.highestSuccessDeliveredPDCPSN", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_4095", HFILL }}, { &hf_x2ap_unchanged, { "unchanged", "x2ap.unchanged_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_changed, { "changed", "x2ap.changed", FT_BYTES, BASE_NONE, NULL, 0, "DLResourceBitmapULandDLSharing", HFILL }}, { &hf_x2ap_naics_active, { "naics-active", "x2ap.naics_active_element", FT_NONE, BASE_NONE, NULL, 0, "DynamicNAICSInformation", HFILL }}, { &hf_x2ap_naics_inactive, { "naics-inactive", "x2ap.naics_inactive_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_transmissionModes, { "transmissionModes", "x2ap.transmissionModes", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pB_information, { "pB-information", "x2ap.pB_information", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_3", HFILL }}, { &hf_x2ap_pA_list, { "pA-list", "x2ap.pA_list", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values", HFILL }}, { &hf_x2ap_pA_list_item, { "PA-Values", "x2ap.PA_Values", FT_UINT32, BASE_DEC, VALS(x2ap_PA_Values_vals), 0, NULL, HFILL }}, { &hf_x2ap_pLMN_Identity, { "pLMN-Identity", "x2ap.pLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_eUTRANcellIdentifier, { "eUTRANcellIdentifier", "x2ap.eUTRANcellIdentifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_enhancedRNTPBitmap, { "enhancedRNTPBitmap", "x2ap.enhancedRNTPBitmap", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_12_8800_", HFILL }}, { &hf_x2ap_rNTP_High_Power_Threshold, { "rNTP-High-Power-Threshold", "x2ap.rNTP_High_Power_Threshold", FT_UINT32, BASE_DEC, VALS(x2ap_RNTP_Threshold_vals), 0, "RNTP_Threshold", HFILL }}, { &hf_x2ap_enhancedRNTPStartTime, { "enhancedRNTPStartTime", "x2ap.enhancedRNTPStartTime_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_macro_eNB_ID, { "macro-eNB-ID", "x2ap.macro_eNB_ID", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_20", HFILL }}, { &hf_x2ap_home_eNB_ID, { "home-eNB-ID", "x2ap.home_eNB_ID", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_28", HFILL }}, { &hf_x2ap_short_Macro_eNB_ID, { "short-Macro-eNB-ID", "x2ap.short_Macro_eNB_ID", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_18", HFILL }}, { &hf_x2ap_long_Macro_eNB_ID, { "long-Macro-eNB-ID", "x2ap.long_Macro_eNB_ID", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_21", HFILL }}, { &hf_x2ap_pDCPatSgNB, { "pDCPatSgNB", "x2ap.pDCPatSgNB", FT_UINT32, BASE_DEC, VALS(x2ap_T_pDCPatSgNB_vals), 0, NULL, HFILL }}, { &hf_x2ap_mCGresources, { "mCGresources", "x2ap.mCGresources", FT_UINT32, BASE_DEC, VALS(x2ap_T_mCGresources_vals), 0, NULL, HFILL }}, { &hf_x2ap_sCGresources, { "sCGresources", "x2ap.sCGresources", FT_UINT32, BASE_DEC, VALS(x2ap_T_sCGresources_vals), 0, NULL, HFILL }}, { &hf_x2ap_EPLMNs_item, { "PLMN-Identity", "x2ap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ERABActivityNotifyItemList_item, { "ERABActivityNotifyItem", "x2ap.ERABActivityNotifyItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_e_RAB_ID, { "e-RAB-ID", "x2ap.e_RAB_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_activityReport, { "activityReport", "x2ap.activityReport", FT_UINT32, BASE_DEC, VALS(x2ap_UserPlaneTrafficActivityReport_vals), 0, "UserPlaneTrafficActivityReport", HFILL }}, { &hf_x2ap_qCI, { "qCI", "x2ap.qCI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_allocationAndRetentionPriority, { "allocationAndRetentionPriority", "x2ap.allocationAndRetentionPriority_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_gbrQosInformation, { "gbrQosInformation", "x2ap.gbrQosInformation_element", FT_NONE, BASE_NONE, NULL, 0, "GBR_QosInformation", HFILL }}, { &hf_x2ap_E_RAB_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cause, { "cause", "x2ap.cause", FT_UINT32, BASE_DEC, VALS(x2ap_Cause_vals), 0, NULL, HFILL }}, { &hf_x2ap_E_RABsSubjectToEarlyStatusTransfer_List_item, { "E-RABsSubjectToEarlyStatusTransfer-Item", "x2ap.E_RABsSubjectToEarlyStatusTransfer_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_fIRST_DL_COUNTValue, { "fIRST-DL-COUNTValue", "x2ap.fIRST_DL_COUNTValue_element", FT_NONE, BASE_NONE, NULL, 0, "COUNTvalue", HFILL }}, { &hf_x2ap_fIRST_DL_COUNTValueExtended, { "fIRST-DL-COUNTValueExtended", "x2ap.fIRST_DL_COUNTValueExtended_element", FT_NONE, BASE_NONE, NULL, 0, "COUNTValueExtended", HFILL }}, { &hf_x2ap_fIRST_DL_COUNTValueforPDCPSNLength18, { "fIRST-DL-COUNTValueforPDCPSNLength18", "x2ap.fIRST_DL_COUNTValueforPDCPSNLength18_element", FT_NONE, BASE_NONE, NULL, 0, "COUNTvaluePDCP_SNlength18", HFILL }}, { &hf_x2ap_E_RABsSubjectToDLDiscarding_List_item, { "E-RABsSubjectToDLDiscarding-Item", "x2ap.E_RABsSubjectToDLDiscarding_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dISCARD_DL_COUNTValue, { "dISCARD-DL-COUNTValue", "x2ap.dISCARD_DL_COUNTValue_element", FT_NONE, BASE_NONE, NULL, 0, "COUNTvalue", HFILL }}, { &hf_x2ap_dISCARD_DL_COUNTValueExtended, { "dISCARD-DL-COUNTValueExtended", "x2ap.dISCARD_DL_COUNTValueExtended_element", FT_NONE, BASE_NONE, NULL, 0, "COUNTValueExtended", HFILL }}, { &hf_x2ap_dISCARD_DL_COUNTValueforPDCPSNLength18, { "dISCARD-DL-COUNTValueforPDCPSNLength18", "x2ap.dISCARD_DL_COUNTValueforPDCPSNLength18_element", FT_NONE, BASE_NONE, NULL, 0, "COUNTvaluePDCP_SNlength18", HFILL }}, { &hf_x2ap_E_RABUsageReportList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_startTimeStamp, { "startTimeStamp", "x2ap.startTimeStamp", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_endTimeStamp, { "endTimeStamp", "x2ap.endTimeStamp", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_usageCountUL, { "usageCountUL", "x2ap.usageCountUL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_octet_octets, 0, "INTEGER_0_18446744073709551615", HFILL }}, { &hf_x2ap_usageCountDL, { "usageCountDL", "x2ap.usageCountDL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_octet_octets, 0, "INTEGER_0_18446744073709551615", HFILL }}, { &hf_x2ap_fDD, { "fDD", "x2ap.fDD_element", FT_NONE, BASE_NONE, NULL, 0, "FDD_Info", HFILL }}, { &hf_x2ap_tDD, { "tDD", "x2ap.tDD_element", FT_NONE, BASE_NONE, NULL, 0, "TDD_Info", HFILL }}, { &hf_x2ap_expectedActivity, { "expectedActivity", "x2ap.expectedActivity_element", FT_NONE, BASE_NONE, NULL, 0, "ExpectedUEActivityBehaviour", HFILL }}, { &hf_x2ap_expectedHOInterval, { "expectedHOInterval", "x2ap.expectedHOInterval", FT_UINT32, BASE_DEC, VALS(x2ap_ExpectedHOInterval_vals), 0, NULL, HFILL }}, { &hf_x2ap_expectedActivityPeriod, { "expectedActivityPeriod", "x2ap.expectedActivityPeriod", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, NULL, HFILL }}, { &hf_x2ap_expectedIdlePeriod, { "expectedIdlePeriod", "x2ap.expectedIdlePeriod", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, NULL, HFILL }}, { &hf_x2ap_sourceofUEActivityBehaviourInformation, { "sourceofUEActivityBehaviourInformation", "x2ap.sourceofUEActivityBehaviourInformation", FT_UINT32, BASE_DEC, VALS(x2ap_SourceOfUEActivityBehaviourInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_associatedSubframes, { "associatedSubframes", "x2ap.associatedSubframes", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_5", HFILL }}, { &hf_x2ap_extended_ul_InterferenceOverloadIndication, { "extended-ul-InterferenceOverloadIndication", "x2ap.extended_ul_InterferenceOverloadIndication", FT_UINT32, BASE_DEC, NULL, 0, "UL_InterferenceOverloadIndication", HFILL }}, { &hf_x2ap_rrcContainer, { "rrcContainer", "x2ap.rrcContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uL_EARFCN, { "uL-EARFCN", "x2ap.uL_EARFCN", FT_UINT32, BASE_DEC, NULL, 0, "EARFCN", HFILL }}, { &hf_x2ap_dL_EARFCN, { "dL-EARFCN", "x2ap.dL_EARFCN", FT_UINT32, BASE_DEC, NULL, 0, "EARFCN", HFILL }}, { &hf_x2ap_uL_Transmission_Bandwidth, { "uL-Transmission-Bandwidth", "x2ap.uL_Transmission_Bandwidth", FT_UINT32, BASE_DEC, VALS(x2ap_Transmission_Bandwidth_vals), 0, "Transmission_Bandwidth", HFILL }}, { &hf_x2ap_dL_Transmission_Bandwidth, { "dL-Transmission-Bandwidth", "x2ap.dL_Transmission_Bandwidth", FT_UINT32, BASE_DEC, VALS(x2ap_Transmission_Bandwidth_vals), 0, "Transmission_Bandwidth", HFILL }}, { &hf_x2ap_ul_NRFreqInfo, { "ul-NRFreqInfo", "x2ap.ul_NRFreqInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFreqInfo", HFILL }}, { &hf_x2ap_dl_NRFreqInfo, { "dl-NRFreqInfo", "x2ap.dl_NRFreqInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFreqInfo", HFILL }}, { &hf_x2ap_ForbiddenTAs_item, { "ForbiddenTAs-Item", "x2ap.ForbiddenTAs_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_forbiddenTACs, { "forbiddenTACs", "x2ap.forbiddenTACs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ForbiddenTACs_item, { "TAC", "x2ap.TAC", FT_UINT16, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ForbiddenLAs_item, { "ForbiddenLAs-Item", "x2ap.ForbiddenLAs_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_forbiddenLACs, { "forbiddenLACs", "x2ap.forbiddenLACs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ForbiddenLACs_item, { "LAC", "x2ap.LAC", FT_UINT16, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_freqBandIndicatorNr, { "freqBandIndicatorNr", "x2ap.freqBandIndicatorNr", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_1024_", HFILL }}, { &hf_x2ap_supportedSULBandList, { "supportedSULBandList", "x2ap.supportedSULBandList", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem", HFILL }}, { &hf_x2ap_supportedSULBandList_item, { "SupportedSULFreqBandItem", "x2ap.SupportedSULFreqBandItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_e_RAB_MaximumBitrateDL, { "e-RAB-MaximumBitrateDL", "x2ap.e_RAB_MaximumBitrateDL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_e_RAB_MaximumBitrateUL, { "e-RAB-MaximumBitrateUL", "x2ap.e_RAB_MaximumBitrateUL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_e_RAB_GuaranteedBitrateDL, { "e-RAB-GuaranteedBitrateDL", "x2ap.e_RAB_GuaranteedBitrateDL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_e_RAB_GuaranteedBitrateUL, { "e-RAB-GuaranteedBitrateUL", "x2ap.e_RAB_GuaranteedBitrateUL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_eNB_ID, { "eNB-ID", "x2ap.eNB_ID", FT_UINT32, BASE_DEC, VALS(x2ap_ENB_ID_vals), 0, NULL, HFILL }}, { &hf_x2ap_gNB_ID, { "gNB-ID", "x2ap.gNB_ID", FT_UINT32, BASE_DEC, VALS(x2ap_GNB_ID_vals), 0, NULL, HFILL }}, { &hf_x2ap_gNB, { "gNB", "x2ap.gNB_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalGNB_ID", HFILL }}, { &hf_x2ap_choice_extension, { "choice-extension", "x2ap.choice_extension_element", FT_NONE, BASE_NONE, NULL, 0, "ProtocolIE_Single_Container", HFILL }}, { &hf_x2ap_GTPTLAs_item, { "GTPTLA-Item", "x2ap.GTPTLA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_gTPTransportLayerAddresses, { "gTPTransportLayerAddresses", "x2ap.gTPTransportLayerAddresses", FT_BYTES, BASE_NONE, NULL, 0, "TransportLayerAddress", HFILL }}, { &hf_x2ap_transportLayerAddress, { "transportLayerAddress", "x2ap.transportLayerAddress", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_gTP_TEID, { "gTP-TEID", "x2ap.gTP_TEID", FT_BYTES, BASE_NONE, NULL, 0, "GTP_TEI", HFILL }}, { &hf_x2ap_GUGroupIDList_item, { "GU-Group-ID", "x2ap.GU_Group_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_mME_Group_ID, { "mME-Group-ID", "x2ap.mME_Group_ID", FT_UINT16, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_gU_Group_ID, { "gU-Group-ID", "x2ap.gU_Group_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_mME_Code, { "mME-Code", "x2ap.mME_Code", FT_UINT8, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_gNB_ID_01, { "gNB-ID", "x2ap.gNB_ID", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_22_32", HFILL }}, { &hf_x2ap_servingPLMN, { "servingPLMN", "x2ap.servingPLMN", FT_BYTES, BASE_NONE, NULL, 0, "PLMN_Identity", HFILL }}, { &hf_x2ap_equivalentPLMNs, { "equivalentPLMNs", "x2ap.equivalentPLMNs", FT_UINT32, BASE_DEC, NULL, 0, "EPLMNs", HFILL }}, { &hf_x2ap_forbiddenTAs, { "forbiddenTAs", "x2ap.forbiddenTAs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_forbiddenLAs, { "forbiddenLAs", "x2ap.forbiddenLAs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_forbiddenInterRATs, { "forbiddenInterRATs", "x2ap.forbiddenInterRATs", FT_UINT32, BASE_DEC, VALS(x2ap_ForbiddenInterRATs_vals), 0, NULL, HFILL }}, { &hf_x2ap_dLHWLoadIndicator, { "dLHWLoadIndicator", "x2ap.dLHWLoadIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_LoadIndicator_vals), 0, "LoadIndicator", HFILL }}, { &hf_x2ap_uLHWLoadIndicator, { "uLHWLoadIndicator", "x2ap.uLHWLoadIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_LoadIndicator_vals), 0, "LoadIndicator", HFILL }}, { &hf_x2ap_e_UTRAN_Cell, { "e-UTRAN-Cell", "x2ap.e_UTRAN_Cell_element", FT_NONE, BASE_NONE, NULL, 0, "LastVisitedEUTRANCellInformation", HFILL }}, { &hf_x2ap_uTRAN_Cell, { "uTRAN-Cell", "x2ap.uTRAN_Cell", FT_BYTES, BASE_NONE, NULL, 0, "LastVisitedUTRANCellInformation", HFILL }}, { &hf_x2ap_gERAN_Cell, { "gERAN-Cell", "x2ap.gERAN_Cell", FT_UINT32, BASE_DEC, VALS(x2ap_LastVisitedGERANCellInformation_vals), 0, "LastVisitedGERANCellInformation", HFILL }}, { &hf_x2ap_nG_RAN_Cell, { "nG-RAN-Cell", "x2ap.nG_RAN_Cell", FT_BYTES, BASE_NONE, NULL, 0, "LastVisitedNGRANCellInformation", HFILL }}, { &hf_x2ap_global_Cell_ID, { "global-Cell-ID", "x2ap.global_Cell_ID_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_cellType, { "cellType", "x2ap.cellType_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_time_UE_StayedInCell, { "time-UE-StayedInCell", "x2ap.time_UE_StayedInCell", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, NULL, HFILL }}, { &hf_x2ap_undefined, { "undefined", "x2ap.undefined_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pSCell_id, { "pSCell-id", "x2ap.pSCell_id_element", FT_NONE, BASE_NONE, NULL, 0, "NRCGI", HFILL }}, { &hf_x2ap_eventType, { "eventType", "x2ap.eventType", FT_UINT32, BASE_DEC, VALS(x2ap_EventType_vals), 0, NULL, HFILL }}, { &hf_x2ap_reportArea, { "reportArea", "x2ap.reportArea", FT_UINT32, BASE_DEC, VALS(x2ap_ReportArea_vals), 0, NULL, HFILL }}, { &hf_x2ap_reportInterval, { "reportInterval", "x2ap.reportInterval", FT_UINT32, BASE_DEC, VALS(x2ap_ReportIntervalMDT_vals), 0, "ReportIntervalMDT", HFILL }}, { &hf_x2ap_reportAmount, { "reportAmount", "x2ap.reportAmount", FT_UINT32, BASE_DEC, VALS(x2ap_ReportAmountMDT_vals), 0, "ReportAmountMDT", HFILL }}, { &hf_x2ap_measurementThreshold, { "measurementThreshold", "x2ap.measurementThreshold", FT_UINT32, BASE_DEC, VALS(x2ap_MeasurementThresholdA2_vals), 0, "MeasurementThresholdA2", HFILL }}, { &hf_x2ap_m3period, { "m3period", "x2ap.m3period", FT_UINT32, BASE_DEC, VALS(x2ap_M3period_vals), 0, NULL, HFILL }}, { &hf_x2ap_m4period, { "m4period", "x2ap.m4period", FT_UINT32, BASE_DEC, VALS(x2ap_M4period_vals), 0, NULL, HFILL }}, { &hf_x2ap_m4_links_to_log, { "m4-links-to-log", "x2ap.m4_links_to_log", FT_UINT32, BASE_DEC, VALS(x2ap_Links_to_log_vals), 0, "Links_to_log", HFILL }}, { &hf_x2ap_m5period, { "m5period", "x2ap.m5period", FT_UINT32, BASE_DEC, VALS(x2ap_M5period_vals), 0, NULL, HFILL }}, { &hf_x2ap_m5_links_to_log, { "m5-links-to-log", "x2ap.m5_links_to_log", FT_UINT32, BASE_DEC, VALS(x2ap_Links_to_log_vals), 0, "Links_to_log", HFILL }}, { &hf_x2ap_m6report_interval, { "m6report-interval", "x2ap.m6report_interval", FT_UINT32, BASE_DEC, VALS(x2ap_M6report_interval_vals), 0, NULL, HFILL }}, { &hf_x2ap_m6delay_threshold, { "m6delay-threshold", "x2ap.m6delay_threshold", FT_UINT32, BASE_DEC, VALS(x2ap_M6delay_threshold_vals), 0, NULL, HFILL }}, { &hf_x2ap_m6_links_to_log, { "m6-links-to-log", "x2ap.m6_links_to_log", FT_UINT32, BASE_DEC, VALS(x2ap_Links_to_log_vals), 0, "Links_to_log", HFILL }}, { &hf_x2ap_m7period, { "m7period", "x2ap.m7period", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_m7_links_to_log, { "m7-links-to-log", "x2ap.m7_links_to_log", FT_UINT32, BASE_DEC, VALS(x2ap_Links_to_log_vals), 0, "Links_to_log", HFILL }}, { &hf_x2ap_mdt_Activation, { "mdt-Activation", "x2ap.mdt_Activation", FT_UINT32, BASE_DEC, VALS(x2ap_MDT_Activation_vals), 0, NULL, HFILL }}, { &hf_x2ap_areaScopeOfMDT, { "areaScopeOfMDT", "x2ap.areaScopeOfMDT", FT_UINT32, BASE_DEC, VALS(x2ap_AreaScopeOfMDT_vals), 0, NULL, HFILL }}, { &hf_x2ap_measurementsToActivate, { "measurementsToActivate", "x2ap.measurementsToActivate", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_m1reportingTrigger, { "m1reportingTrigger", "x2ap.m1reportingTrigger", FT_UINT32, BASE_DEC, VALS(x2ap_M1ReportingTrigger_vals), 0, NULL, HFILL }}, { &hf_x2ap_m1thresholdeventA2, { "m1thresholdeventA2", "x2ap.m1thresholdeventA2_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_m1periodicReporting, { "m1periodicReporting", "x2ap.m1periodicReporting_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MDTPLMNList_item, { "PLMN-Identity", "x2ap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_threshold_RSRP, { "threshold-RSRP", "x2ap.threshold_RSRP", FT_UINT32, BASE_CUSTOM, CF_FUNC(x2ap_Threshold_RSRP_fmt), 0, NULL, HFILL }}, { &hf_x2ap_threshold_RSRQ, { "threshold-RSRQ", "x2ap.threshold_RSRQ", FT_UINT32, BASE_CUSTOM, CF_FUNC(x2ap_Threshold_RSRQ_fmt), 0, NULL, HFILL }}, { &hf_x2ap_eUTRA_Cell_ID, { "eUTRA-Cell-ID", "x2ap.eUTRA_Cell_ID_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_uLCoordinationInformation, { "uLCoordinationInformation", "x2ap.uLCoordinationInformation", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6_4400_", HFILL }}, { &hf_x2ap_dLCoordinationInformation, { "dLCoordinationInformation", "x2ap.dLCoordinationInformation", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6_4400_", HFILL }}, { &hf_x2ap_MBMS_Service_Area_Identity_List_item, { "MBMS-Service-Area-Identity", "x2ap.MBMS_Service_Area_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MBSFN_Subframe_Infolist_item, { "MBSFN-Subframe-Info", "x2ap.MBSFN_Subframe_Info_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_radioframeAllocationPeriod, { "radioframeAllocationPeriod", "x2ap.radioframeAllocationPeriod", FT_UINT32, BASE_DEC, VALS(x2ap_RadioframeAllocationPeriod_vals), 0, NULL, HFILL }}, { &hf_x2ap_radioframeAllocationOffset, { "radioframeAllocationOffset", "x2ap.radioframeAllocationOffset", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_subframeAllocation, { "subframeAllocation", "x2ap.subframeAllocation", FT_UINT32, BASE_DEC, VALS(x2ap_SubframeAllocation_vals), 0, NULL, HFILL }}, { &hf_x2ap_handoverTriggerChangeLowerLimit, { "handoverTriggerChangeLowerLimit", "x2ap.handoverTriggerChangeLowerLimit", FT_INT32, BASE_CUSTOM, CF_FUNC(x2ap_handoverTriggerChange_fmt), 0, "INTEGER_M20_20", HFILL }}, { &hf_x2ap_handoverTriggerChangeUpperLimit, { "handoverTriggerChangeUpperLimit", "x2ap.handoverTriggerChangeUpperLimit", FT_INT32, BASE_CUSTOM, CF_FUNC(x2ap_handoverTriggerChange_fmt), 0, "INTEGER_M20_20", HFILL }}, { &hf_x2ap_handoverTriggerChange, { "handoverTriggerChange", "x2ap.handoverTriggerChange", FT_INT32, BASE_CUSTOM, CF_FUNC(x2ap_handoverTriggerChange_fmt), 0, "INTEGER_M20_20", HFILL }}, { &hf_x2ap_MultibandInfoList_item, { "BandInfo", "x2ap.BandInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_maximumCellListSize, { "maximumCellListSize", "x2ap.maximumCellListSize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_freqBandIndicator, { "freqBandIndicator", "x2ap.freqBandIndicator", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_rrcContainer_01, { "rrcContainer", "x2ap.rrcContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_srbType, { "srbType", "x2ap.srbType", FT_UINT32, BASE_DEC, VALS(x2ap_SRBType_vals), 0, NULL, HFILL }}, { &hf_x2ap_deliveryStatus, { "deliveryStatus", "x2ap.deliveryStatus_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Neighbour_Information_item, { "Neighbour-Information item", "x2ap.Neighbour_Information_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pCI, { "pCI", "x2ap.pCI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_eARFCN, { "eARFCN", "x2ap.eARFCN", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_capacityValue_01, { "capacityValue", "x2ap.capacityValue", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_ssbAreaCapacityValue_List, { "ssbAreaCapacityValue-List", "x2ap.ssbAreaCapacityValue_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRCarrierList_item, { "NRCarrierItem", "x2ap.NRCarrierItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_carrierSCS, { "carrierSCS", "x2ap.carrierSCS", FT_UINT32, BASE_DEC, VALS(x2ap_NRSCS_vals), 0, "NRSCS", HFILL }}, { &hf_x2ap_offsetToCarrier, { "offsetToCarrier", "x2ap.offsetToCarrier", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_2199_", HFILL }}, { &hf_x2ap_carrierBandwidth, { "carrierBandwidth", "x2ap.carrierBandwidth", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_maxnoofNRPhysicalResourceBlocks_", HFILL }}, { &hf_x2ap_compositeAvailableCapacityDL, { "compositeAvailableCapacityDL", "x2ap.compositeAvailableCapacityDL_element", FT_NONE, BASE_NONE, NULL, 0, "NRCompositeAvailableCapacity", HFILL }}, { &hf_x2ap_compositeAvailableCapacityUL, { "compositeAvailableCapacityUL", "x2ap.compositeAvailableCapacityUL_element", FT_NONE, BASE_NONE, NULL, 0, "NRCompositeAvailableCapacity", HFILL }}, { &hf_x2ap_cellCapacityClassValue_01, { "cellCapacityClassValue", "x2ap.cellCapacityClassValue", FT_UINT32, BASE_DEC, NULL, 0, "NRCellCapacityClassValue", HFILL }}, { &hf_x2ap_capacityValue_02, { "capacityValue", "x2ap.capacityValue_element", FT_NONE, BASE_NONE, NULL, 0, "NRCapacityValue", HFILL }}, { &hf_x2ap_nRARFCN, { "nRARFCN", "x2ap.nRARFCN", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_3279165", HFILL }}, { &hf_x2ap_freqBandListNr, { "freqBandListNr", "x2ap.freqBandListNr", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem", HFILL }}, { &hf_x2ap_freqBandListNr_item, { "FreqBandNrItem", "x2ap.FreqBandNrItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sULInformation, { "sULInformation", "x2ap.sULInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nRcellIdentifier, { "nRcellIdentifier", "x2ap.nRcellIdentifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_NRRACHReportInformation_item, { "NRRACHReportList-Item", "x2ap.NRRACHReportList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nRRACHReport, { "nRRACHReport", "x2ap.nRRACHReport", FT_BYTES, BASE_NONE, NULL, 0, "NRRACHReportContainer", HFILL }}, { &hf_x2ap_uEAssitantIdentifier, { "uEAssitantIdentifier", "x2ap.uEAssitantIdentifier", FT_UINT32, BASE_DEC, NULL, 0, "SgNB_UE_X2AP_ID", HFILL }}, { &hf_x2ap_NRNeighbour_Information_item, { "NRNeighbour-Information item", "x2ap.NRNeighbour_Information_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nrpCI, { "nrpCI", "x2ap.nrpCI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nrCellID, { "nrCellID", "x2ap.nrCellID_element", FT_NONE, BASE_NONE, NULL, 0, "NRCGI", HFILL }}, { &hf_x2ap_configured_TAC, { "configured-TAC", "x2ap.configured_TAC", FT_UINT16, BASE_DEC_HEX, NULL, 0, "TAC", HFILL }}, { &hf_x2ap_measurementTimingConfiguration, { "measurementTimingConfiguration", "x2ap.measurementTimingConfiguration", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nRNeighbourModeInfo, { "nRNeighbourModeInfo", "x2ap.nRNeighbourModeInfo", FT_UINT32, BASE_DEC, VALS(x2ap_T_nRNeighbourModeInfo_vals), 0, NULL, HFILL }}, { &hf_x2ap_fdd_01, { "fdd", "x2ap.fdd_element", FT_NONE, BASE_NONE, NULL, 0, "FDD_InfoNeighbourServedNRCell_Information", HFILL }}, { &hf_x2ap_tdd_01, { "tdd", "x2ap.tdd_element", FT_NONE, BASE_NONE, NULL, 0, "TDD_InfoNeighbourServedNRCell_Information", HFILL }}, { &hf_x2ap_fdd_or_tdd, { "fdd-or-tdd", "x2ap.fdd_or_tdd", FT_UINT32, BASE_DEC, VALS(x2ap_T_fdd_or_tdd_vals), 0, NULL, HFILL }}, { &hf_x2ap_fdd_02, { "fdd", "x2ap.fdd_element", FT_NONE, BASE_NONE, NULL, 0, "NPRACHConfiguration_FDD", HFILL }}, { &hf_x2ap_tdd_02, { "tdd", "x2ap.tdd_element", FT_NONE, BASE_NONE, NULL, 0, "NPRACHConfiguration_TDD", HFILL }}, { &hf_x2ap_nprach_CP_length, { "nprach-CP-length", "x2ap.nprach_CP_length", FT_UINT32, BASE_DEC, VALS(x2ap_NPRACH_CP_Length_vals), 0, NULL, HFILL }}, { &hf_x2ap_anchorCarrier_NPRACHConfig, { "anchorCarrier-NPRACHConfig", "x2ap.anchorCarrier_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_anchorCarrier_EDT_NPRACHConfig, { "anchorCarrier-EDT-NPRACHConfig", "x2ap.anchorCarrier_EDT_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, "T_anchorCarrier_EDT_NPRACHConfig", HFILL }}, { &hf_x2ap_anchorCarrier_Format2_NPRACHConfig, { "anchorCarrier-Format2-NPRACHConfig", "x2ap.anchorCarrier_Format2_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig, { "anchorCarrier-Format2-EDT-NPRACHConfig", "x2ap.anchorCarrier_Format2_EDT_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, "T_anchorCarrier_Format2_EDT_NPRACHConfig", HFILL }}, { &hf_x2ap_non_anchorCarrier_NPRACHConfig, { "non-anchorCarrier-NPRACHConfig", "x2ap.non_anchorCarrier_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_non_anchorCarrier_Format2_NPRACHConfig, { "non-anchorCarrier-Format2-NPRACHConfig", "x2ap.non_anchorCarrier_Format2_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nprach_preambleFormat, { "nprach-preambleFormat", "x2ap.nprach_preambleFormat", FT_UINT32, BASE_DEC, VALS(x2ap_NPRACH_preambleFormat_vals), 0, NULL, HFILL }}, { &hf_x2ap_anchorCarrier_NPRACHConfigTDD, { "anchorCarrier-NPRACHConfigTDD", "x2ap.anchorCarrier_NPRACHConfigTDD", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_non_anchorCarrierFequencyConfiglist, { "non-anchorCarrierFequencyConfiglist", "x2ap.non_anchorCarrierFequencyConfiglist", FT_UINT32, BASE_DEC, NULL, 0, "Non_AnchorCarrierFrequencylist", HFILL }}, { &hf_x2ap_non_anchorCarrier_NPRACHConfigTDD, { "non-anchorCarrier-NPRACHConfigTDD", "x2ap.non_anchorCarrier_NPRACHConfigTDD", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_Non_AnchorCarrierFrequencylist_item, { "Non-AnchorCarrierFrequencylist item", "x2ap.Non_AnchorCarrierFrequencylist_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_non_anchorCarrioerFrquency, { "non-anchorCarrioerFrquency", "x2ap.non_anchorCarrioerFrquency", FT_BYTES, BASE_NONE, NULL, 0, "Non_anchorCarrierFrequency", HFILL }}, { &hf_x2ap_MeasurementResultforNRCellsPossiblyAggregated_item, { "MeasurementResultforNRCellsPossiblyAggregated-Item", "x2ap.MeasurementResultforNRCellsPossiblyAggregated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cellID, { "cellID", "x2ap.cellID_element", FT_NONE, BASE_NONE, NULL, 0, "NRCGI", HFILL }}, { &hf_x2ap_nrCompositeAvailableCapacityGroup, { "nrCompositeAvailableCapacityGroup", "x2ap.nrCompositeAvailableCapacityGroup_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ssbAreaRadioResourceStatus_List, { "ssbAreaRadioResourceStatus-List", "x2ap.ssbAreaRadioResourceStatus_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dl_GBR_PRB_usage_for_MIMO, { "dl-GBR-PRB-usage-for-MIMO", "x2ap.dl_GBR_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ul_GBR_PRB_usage_for_MIMO, { "ul-GBR-PRB-usage-for-MIMO", "x2ap.ul_GBR_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dl_non_GBR_PRB_usage_for_MIMO, { "dl-non-GBR-PRB-usage-for-MIMO", "x2ap.dl_non_GBR_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ul_non_GBR_PRB_usage_for_MIMO, { "ul-non-GBR-PRB-usage-for-MIMO", "x2ap.ul_non_GBR_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dl_Total_PRB_usage_for_MIMO, { "dl-Total-PRB-usage-for-MIMO", "x2ap.dl_Total_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ul_Total_PRB_usage_for_MIMO, { "ul-Total-PRB-usage-for-MIMO", "x2ap.ul_Total_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nRSCS, { "nRSCS", "x2ap.nRSCS", FT_UINT32, BASE_DEC, VALS(x2ap_NRSCS_vals), 0, NULL, HFILL }}, { &hf_x2ap_nRNRB, { "nRNRB", "x2ap.nRNRB", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &x2ap_NRNRB_vals_ext, 0, NULL, HFILL }}, { &hf_x2ap_uENRMeasurements, { "uENRMeasurements", "x2ap.uENRMeasurements", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uESidelinkAggregateMaximumBitRate, { "uESidelinkAggregateMaximumBitRate", "x2ap.uESidelinkAggregateMaximumBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_nRencryptionAlgorithms, { "nRencryptionAlgorithms", "x2ap.nRencryptionAlgorithms", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nRintegrityProtectionAlgorithms, { "nRintegrityProtectionAlgorithms", "x2ap.nRintegrityProtectionAlgorithms", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_vehicleUE, { "vehicleUE", "x2ap.vehicleUE", FT_UINT32, BASE_DEC, VALS(x2ap_VehicleUE_vals), 0, NULL, HFILL }}, { &hf_x2ap_pedestrianUE, { "pedestrianUE", "x2ap.pedestrianUE", FT_UINT32, BASE_DEC, VALS(x2ap_PedestrianUE_vals), 0, NULL, HFILL }}, { &hf_x2ap_pc5QoSFlowList, { "pc5QoSFlowList", "x2ap.pc5QoSFlowList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pc5LinkAggregatedBitRates, { "pc5LinkAggregatedBitRates", "x2ap.pc5LinkAggregatedBitRates", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_PC5QoSFlowList_item, { "PC5QoSFlowItem", "x2ap.PC5QoSFlowItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pQI, { "pQI", "x2ap.pQI", FT_UINT32, BASE_DEC, NULL, 0, "FiveQI", HFILL }}, { &hf_x2ap_pc5FlowBitRates, { "pc5FlowBitRates", "x2ap.pc5FlowBitRates_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_range, { "range", "x2ap.range", FT_UINT32, BASE_DEC, VALS(x2ap_Range_vals), 0, NULL, HFILL }}, { &hf_x2ap_guaranteedFlowBitRate, { "guaranteedFlowBitRate", "x2ap.guaranteedFlowBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_maximumFlowBitRate, { "maximumFlowBitRate", "x2ap.maximumFlowBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_rootSequenceIndex, { "rootSequenceIndex", "x2ap.rootSequenceIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_837", HFILL }}, { &hf_x2ap_zeroCorrelationIndex, { "zeroCorrelationIndex", "x2ap.zeroCorrelationIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_15", HFILL }}, { &hf_x2ap_highSpeedFlag, { "highSpeedFlag", "x2ap.highSpeedFlag", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x2ap_prach_FreqOffset, { "prach-FreqOffset", "x2ap.prach_FreqOffset", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_94", HFILL }}, { &hf_x2ap_prach_ConfigIndex, { "prach-ConfigIndex", "x2ap.prach_ConfigIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_63", HFILL }}, { &hf_x2ap_plmnListforQMC, { "plmnListforQMC", "x2ap.plmnListforQMC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PLMNListforQMC_item, { "PLMN-Identity", "x2ap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_proSeDirectDiscovery, { "proSeDirectDiscovery", "x2ap.proSeDirectDiscovery", FT_UINT32, BASE_DEC, VALS(x2ap_ProSeDirectDiscovery_vals), 0, NULL, HFILL }}, { &hf_x2ap_proSeDirectCommunication, { "proSeDirectCommunication", "x2ap.proSeDirectCommunication", FT_UINT32, BASE_DEC, VALS(x2ap_ProSeDirectCommunication_vals), 0, NULL, HFILL }}, { &hf_x2ap_protectedResourceList, { "protectedResourceList", "x2ap.protectedResourceList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_mBSFNControlRegionLength, { "mBSFNControlRegionLength", "x2ap.mBSFNControlRegionLength", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_pDCCHRegionLength, { "pDCCHRegionLength", "x2ap.pDCCHRegionLength", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_protectedFootprintTimePeriodicity, { "protectedFootprintTimePeriodicity", "x2ap.protectedFootprintTimePeriodicity", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_320_", HFILL }}, { &hf_x2ap_protectedFootprintStartTime, { "protectedFootprintStartTime", "x2ap.protectedFootprintStartTime", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_20_", HFILL }}, { &hf_x2ap_ProtectedResourceList_item, { "ProtectedResourceList-Item", "x2ap.ProtectedResourceList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resourceType, { "resourceType", "x2ap.resourceType", FT_UINT32, BASE_DEC, VALS(x2ap_ResourceType_vals), 0, NULL, HFILL }}, { &hf_x2ap_intraPRBProtectedResourceFootprint, { "intraPRBProtectedResourceFootprint", "x2ap.intraPRBProtectedResourceFootprint", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_84_", HFILL }}, { &hf_x2ap_protectedFootprintFrequencyPattern, { "protectedFootprintFrequencyPattern", "x2ap.protectedFootprintFrequencyPattern", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6_110_", HFILL }}, { &hf_x2ap_protectedFootprintTimePattern, { "protectedFootprintTimePattern", "x2ap.protectedFootprintTimePattern_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_PSCell_UE_HistoryInformation_item, { "LastVisitedPSCell-Item", "x2ap.LastVisitedPSCell_Item", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dscp, { "dscp", "x2ap.dscp", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6", HFILL }}, { &hf_x2ap_flow_label, { "flow-label", "x2ap.flow_label", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_20", HFILL }}, { &hf_x2ap_dL_GBR_PRB_usage, { "dL-GBR-PRB-usage", "x2ap.dL_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uL_GBR_PRB_usage, { "uL-GBR-PRB-usage", "x2ap.uL_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dL_non_GBR_PRB_usage, { "dL-non-GBR-PRB-usage", "x2ap.dL_non_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uL_non_GBR_PRB_usage, { "uL-non-GBR-PRB-usage", "x2ap.uL_non_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dL_Total_PRB_usage, { "dL-Total-PRB-usage", "x2ap.dL_Total_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uL_Total_PRB_usage, { "uL-Total-PRB-usage", "x2ap.uL_Total_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_RAT_Restrictions_item, { "RAT-RestrictionsItem", "x2ap.RAT_RestrictionsItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_rAT_RestrictionInformation, { "rAT-RestrictionInformation", "x2ap.rAT_RestrictionInformation", FT_BYTES, BASE_NONE, NULL, 0, "T_rAT_RestrictionInformation", HFILL }}, { &hf_x2ap_rNTP_PerPRB, { "rNTP-PerPRB", "x2ap.rNTP_PerPRB", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6_110_", HFILL }}, { &hf_x2ap_rNTP_Threshold, { "rNTP-Threshold", "x2ap.rNTP_Threshold", FT_UINT32, BASE_DEC, VALS(x2ap_RNTP_Threshold_vals), 0, NULL, HFILL }}, { &hf_x2ap_numberOfCellSpecificAntennaPorts_02, { "numberOfCellSpecificAntennaPorts", "x2ap.numberOfCellSpecificAntennaPorts", FT_UINT32, BASE_DEC, VALS(x2ap_T_numberOfCellSpecificAntennaPorts_02_vals), 0, "T_numberOfCellSpecificAntennaPorts_02", HFILL }}, { &hf_x2ap_p_B, { "p-B", "x2ap.p_B", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_3_", HFILL }}, { &hf_x2ap_pDCCH_InterferenceImpact, { "pDCCH-InterferenceImpact", "x2ap.pDCCH_InterferenceImpact", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_4_", HFILL }}, { &hf_x2ap_ReplacingCellsList_item, { "ReplacingCellsList-Item", "x2ap.ReplacingCellsList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_subframeType, { "subframeType", "x2ap.subframeType", FT_UINT32, BASE_DEC, VALS(x2ap_SubframeType_vals), 0, NULL, HFILL }}, { &hf_x2ap_reservedSubframePattern_01, { "reservedSubframePattern", "x2ap.reservedSubframePattern", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_10_160", HFILL }}, { &hf_x2ap_mBSFNControlRegionLength_01, { "mBSFNControlRegionLength", "x2ap.mBSFNControlRegionLength", FT_UINT32, BASE_DEC, NULL, 0, "T_mBSFNControlRegionLength_01", HFILL }}, { &hf_x2ap_non_truncated, { "non-truncated", "x2ap.non_truncated", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_40", HFILL }}, { &hf_x2ap_truncated, { "truncated", "x2ap.truncated", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_24", HFILL }}, { &hf_x2ap_reestablishment_Indication, { "reestablishment-Indication", "x2ap.reestablishment_Indication", FT_UINT32, BASE_DEC, VALS(x2ap_Reestablishment_Indication_vals), 0, NULL, HFILL }}, { &hf_x2ap_RSRPMeasurementResult_item, { "RSRPMeasurementResult item", "x2ap.RSRPMeasurementResult_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_rSRPCellID, { "rSRPCellID", "x2ap.rSRPCellID_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_rSRPMeasured, { "rSRPMeasured", "x2ap.rSRPMeasured", FT_UINT32, BASE_CUSTOM, CF_FUNC(x2ap_Threshold_RSRP_fmt), 0, "INTEGER_0_97_", HFILL }}, { &hf_x2ap_RSRPMRList_item, { "RSRPMRList item", "x2ap.RSRPMRList_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_rSRPMeasurementResult, { "rSRPMeasurementResult", "x2ap.rSRPMeasurementResult", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dLS1TNLLoadIndicator, { "dLS1TNLLoadIndicator", "x2ap.dLS1TNLLoadIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_LoadIndicator_vals), 0, "LoadIndicator", HFILL }}, { &hf_x2ap_uLS1TNLLoadIndicator, { "uLS1TNLLoadIndicator", "x2ap.uLS1TNLLoadIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_LoadIndicator_vals), 0, "LoadIndicator", HFILL }}, { &hf_x2ap_SCG_UE_HistoryInformation_item, { "LastVisitedPSCell-Item", "x2ap.LastVisitedPSCell_Item", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SecondaryRATUsageReportList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_secondaryRATType, { "secondaryRATType", "x2ap.secondaryRATType", FT_UINT32, BASE_DEC, VALS(x2ap_T_secondaryRATType_vals), 0, NULL, HFILL }}, { &hf_x2ap_e_RABUsageReportList, { "e-RABUsageReportList", "x2ap.e_RABUsageReportList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_integrityProtectionIndication, { "integrityProtectionIndication", "x2ap.integrityProtectionIndication", FT_UINT32, BASE_DEC, VALS(x2ap_IntegrityProtectionIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_integrityProtectionResult, { "integrityProtectionResult", "x2ap.integrityProtectionResult", FT_UINT32, BASE_DEC, VALS(x2ap_IntegrityProtectionResult_vals), 0, NULL, HFILL }}, { &hf_x2ap_sensorMeasConfig, { "sensorMeasConfig", "x2ap.sensorMeasConfig", FT_UINT32, BASE_DEC, VALS(x2ap_SensorMeasConfig_vals), 0, NULL, HFILL }}, { &hf_x2ap_sensorMeasConfigNameList, { "sensorMeasConfigNameList", "x2ap.sensorMeasConfigNameList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_SensorMeasConfigNameList_item, { "SensorMeasConfigNameItem", "x2ap.SensorMeasConfigNameItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sensorNameConfig, { "sensorNameConfig", "x2ap.sensorNameConfig", FT_UINT32, BASE_DEC, VALS(x2ap_SensorNameConfig_vals), 0, NULL, HFILL }}, { &hf_x2ap_uncompensatedBarometricConfig, { "uncompensatedBarometricConfig", "x2ap.uncompensatedBarometricConfig", FT_UINT32, BASE_DEC, VALS(x2ap_T_uncompensatedBarometricConfig_vals), 0, NULL, HFILL }}, { &hf_x2ap_ServedCells_item, { "ServedCells item", "x2ap.ServedCells_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_servedCellInfo, { "servedCellInfo", "x2ap.servedCellInfo_element", FT_NONE, BASE_NONE, NULL, 0, "ServedCell_Information", HFILL }}, { &hf_x2ap_neighbour_Info, { "neighbour-Info", "x2ap.neighbour_Info", FT_UINT32, BASE_DEC, NULL, 0, "Neighbour_Information", HFILL }}, { &hf_x2ap_cellId, { "cellId", "x2ap.cellId_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_tAC, { "tAC", "x2ap.tAC", FT_UINT16, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_eUTRA_Mode_Info, { "eUTRA-Mode-Info", "x2ap.eUTRA_Mode_Info", FT_UINT32, BASE_DEC, VALS(x2ap_EUTRA_Mode_Info_vals), 0, NULL, HFILL }}, { &hf_x2ap_ServedCellSpecificInfoReq_NR_item, { "ServedCellSpecificInfoReq-NR-Item", "x2ap.ServedCellSpecificInfoReq_NR_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nRCGI, { "nRCGI", "x2ap.nRCGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_additionalMTCListRequestIndicator, { "additionalMTCListRequestIndicator", "x2ap.additionalMTCListRequestIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_T_additionalMTCListRequestIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_nR_CGI, { "nR-CGI", "x2ap.nR_CGI_element", FT_NONE, BASE_NONE, NULL, 0, "NRCGI", HFILL }}, { &hf_x2ap_uLOnlySharing, { "uLOnlySharing", "x2ap.uLOnlySharing_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uLandDLSharing, { "uLandDLSharing", "x2ap.uLandDLSharing_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_specialSubframePatterns, { "specialSubframePatterns", "x2ap.specialSubframePatterns", FT_UINT32, BASE_DEC, VALS(x2ap_SpecialSubframePatterns_vals), 0, NULL, HFILL }}, { &hf_x2ap_subbandCQICodeword0, { "subbandCQICodeword0", "x2ap.subbandCQICodeword0", FT_UINT32, BASE_DEC, VALS(x2ap_SubbandCQICodeword0_vals), 0, NULL, HFILL }}, { &hf_x2ap_subbandCQICodeword1, { "subbandCQICodeword1", "x2ap.subbandCQICodeword1", FT_UINT32, BASE_DEC, VALS(x2ap_SubbandCQICodeword1_vals), 0, NULL, HFILL }}, { &hf_x2ap_periodicCommunicationIndicator, { "periodicCommunicationIndicator", "x2ap.periodicCommunicationIndicator", FT_UINT32, BASE_DEC, VALS(x2ap_T_periodicCommunicationIndicator_vals), 0, NULL, HFILL }}, { &hf_x2ap_periodicTime, { "periodicTime", "x2ap.periodicTime", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, "INTEGER_1_3600_", HFILL }}, { &hf_x2ap_scheduledCommunicationTime, { "scheduledCommunicationTime", "x2ap.scheduledCommunicationTime_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_stationaryIndication, { "stationaryIndication", "x2ap.stationaryIndication", FT_UINT32, BASE_DEC, VALS(x2ap_T_stationaryIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_trafficProfile, { "trafficProfile", "x2ap.trafficProfile", FT_UINT32, BASE_DEC, VALS(x2ap_T_trafficProfile_vals), 0, NULL, HFILL }}, { &hf_x2ap_batteryIndication, { "batteryIndication", "x2ap.batteryIndication", FT_UINT32, BASE_DEC, VALS(x2ap_T_batteryIndication_vals), 0, NULL, HFILL }}, { &hf_x2ap_dayofWeek, { "dayofWeek", "x2ap.dayofWeek", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_7", HFILL }}, { &hf_x2ap_timeofDayStart, { "timeofDayStart", "x2ap.timeofDayStart", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, "INTEGER_0_86399_", HFILL }}, { &hf_x2ap_timeofDayEnd, { "timeofDayEnd", "x2ap.timeofDayEnd", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, "INTEGER_0_86399_", HFILL }}, { &hf_x2ap_SSBAreaCapacityValue_List_item, { "SSBAreaCapacityValue-Item", "x2ap.SSBAreaCapacityValue_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ssbIndex, { "ssbIndex", "x2ap.ssbIndex", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ssbAreaCapacityValue, { "ssbAreaCapacityValue", "x2ap.ssbAreaCapacityValue", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_SSBAreaRadioResourceStatus_List_item, { "SSBAreaRadioResourceStatus-Item", "x2ap.SSBAreaRadioResourceStatus_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ssbAreaDLGBRPRBUsage, { "ssbAreaDLGBRPRBUsage", "x2ap.ssbAreaDLGBRPRBUsage", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_ssbAreaULGBRPRBUsage, { "ssbAreaULGBRPRBUsage", "x2ap.ssbAreaULGBRPRBUsage", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_ssbAreaDLNonGBRPRBUsage, { "ssbAreaDLNonGBRPRBUsage", "x2ap.ssbAreaDLNonGBRPRBUsage", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_ssbAreaULNonGBRPRBUsage, { "ssbAreaULNonGBRPRBUsage", "x2ap.ssbAreaULNonGBRPRBUsage", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_ssbAreaDLTotalPRBUsage, { "ssbAreaDLTotalPRBUsage", "x2ap.ssbAreaDLTotalPRBUsage", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_ssbAreaULTotalPRBUsage, { "ssbAreaULTotalPRBUsage", "x2ap.ssbAreaULTotalPRBUsage", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_ssbAreaDLSchedulingPDCCHCCEUsage, { "ssbAreaDLSchedulingPDCCHCCEUsage", "x2ap.ssbAreaDLSchedulingPDCCHCCEUsage", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_ssbAreaULSchedulingPDCCHCCEUsage, { "ssbAreaULSchedulingPDCCHCCEUsage", "x2ap.ssbAreaULSchedulingPDCCHCCEUsage", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_x2ap_shortBitmap, { "shortBitmap", "x2ap.shortBitmap", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_4", HFILL }}, { &hf_x2ap_mediumBitmap, { "mediumBitmap", "x2ap.mediumBitmap", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_8", HFILL }}, { &hf_x2ap_longBitmap, { "longBitmap", "x2ap.longBitmap", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_64", HFILL }}, { &hf_x2ap_four_bitCQI, { "four-bitCQI", "x2ap.four_bitCQI", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_15_", HFILL }}, { &hf_x2ap_two_bitSubbandDifferentialCQI, { "two-bitSubbandDifferentialCQI", "x2ap.two_bitSubbandDifferentialCQI", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_3_", HFILL }}, { &hf_x2ap_two_bitDifferentialCQI, { "two-bitDifferentialCQI", "x2ap.two_bitDifferentialCQI", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_3_", HFILL }}, { &hf_x2ap_three_bitSpatialDifferentialCQI, { "three-bitSpatialDifferentialCQI", "x2ap.three_bitSpatialDifferentialCQI", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_7_", HFILL }}, { &hf_x2ap_SubbandCQIList_item, { "SubbandCQIItem", "x2ap.SubbandCQIItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_subbandCQI, { "subbandCQI", "x2ap.subbandCQI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_subbandIndex, { "subbandIndex", "x2ap.subbandIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_27_", HFILL }}, { &hf_x2ap_oneframe, { "oneframe", "x2ap.oneframe", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_fourframes, { "fourframes", "x2ap.fourframes", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sUL_ARFCN, { "sUL-ARFCN", "x2ap.sUL_ARFCN", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_3279165", HFILL }}, { &hf_x2ap_sUL_TxBW, { "sUL-TxBW", "x2ap.sUL_TxBW_element", FT_NONE, BASE_NONE, NULL, 0, "NR_TxBW", HFILL }}, { &hf_x2ap_sFN_Time_Offset, { "sFN-Time-Offset", "x2ap.sFN_Time_Offset", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_24", HFILL }}, { &hf_x2ap_tAListforMDT, { "tAListforMDT", "x2ap.tAListforMDT", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_tAIListforMDT, { "tAIListforMDT", "x2ap.tAIListforMDT", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TAIListforMDT_item, { "TAI-Item", "x2ap.TAI_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TAListforMDT_item, { "TAC", "x2ap.TAC", FT_UINT16, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_tAListforQMC, { "tAListforQMC", "x2ap.tAListforQMC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TAListforQMC_item, { "TAC", "x2ap.TAC", FT_UINT16, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_x2ap_tAIListforQMC, { "tAIListforQMC", "x2ap.tAIListforQMC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TAIListforQMC_item, { "TAI-Item", "x2ap.TAI_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_transmission_Bandwidth, { "transmission-Bandwidth", "x2ap.transmission_Bandwidth", FT_UINT32, BASE_DEC, VALS(x2ap_Transmission_Bandwidth_vals), 0, NULL, HFILL }}, { &hf_x2ap_subframeAssignment, { "subframeAssignment", "x2ap.subframeAssignment", FT_UINT32, BASE_DEC, VALS(x2ap_SubframeAssignment_vals), 0, NULL, HFILL }}, { &hf_x2ap_specialSubframe_Info, { "specialSubframe-Info", "x2ap.specialSubframe_Info_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nRFreqInfo, { "nRFreqInfo", "x2ap.nRFreqInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLA_To_Add_List_item, { "TNLA-To-Add-Item", "x2ap.TNLA_To_Add_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_tNLAssociationTransportLayerAddress, { "tNLAssociationTransportLayerAddress", "x2ap.tNLAssociationTransportLayerAddress", FT_UINT32, BASE_DEC, VALS(x2ap_CPTransportLayerInformation_vals), 0, "CPTransportLayerInformation", HFILL }}, { &hf_x2ap_tNLAssociationUsage, { "tNLAssociationUsage", "x2ap.tNLAssociationUsage", FT_UINT32, BASE_DEC, VALS(x2ap_TNLAssociationUsage_vals), 0, NULL, HFILL }}, { &hf_x2ap_TNLA_To_Update_List_item, { "TNLA-To-Update-Item", "x2ap.TNLA_To_Update_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLA_To_Remove_List_item, { "TNLA-To-Remove-Item", "x2ap.TNLA_To_Remove_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLA_Setup_List_item, { "TNLA-Setup-Item", "x2ap.TNLA_Setup_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_TNLA_Failed_To_Setup_List_item, { "TNLA-Failed-To-Setup-Item", "x2ap.TNLA_Failed_To_Setup_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dlTNLMaximumOfferedCapacity, { "dlTNLMaximumOfferedCapacity", "x2ap.dlTNLMaximumOfferedCapacity", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_16777216_", HFILL }}, { &hf_x2ap_dlTNLAvailableCapacity, { "dlTNLAvailableCapacity", "x2ap.dlTNLAvailableCapacity", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100_", HFILL }}, { &hf_x2ap_ulTNLMaximumOfferedCapacity, { "ulTNLMaximumOfferedCapacity", "x2ap.ulTNLMaximumOfferedCapacity", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_16777216_", HFILL }}, { &hf_x2ap_ulTNLAvailableCapacity, { "ulTNLAvailableCapacity", "x2ap.ulTNLAvailableCapacity", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100_", HFILL }}, { &hf_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_List_item, { "Transport-UP-Layer-Addresses-Info-To-Add-Item", "x2ap.Transport_UP_Layer_Addresses_Info_To_Add_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_iP_SecTransportLayerAddress, { "iP-SecTransportLayerAddress", "x2ap.iP_SecTransportLayerAddress", FT_BYTES, BASE_NONE, NULL, 0, "TransportLayerAddress", HFILL }}, { &hf_x2ap_gTPTransportLayerAddressesToAdd, { "gTPTransportLayerAddressesToAdd", "x2ap.gTPTransportLayerAddressesToAdd", FT_UINT32, BASE_DEC, NULL, 0, "GTPTLAs", HFILL }}, { &hf_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_List_item, { "Transport-UP-Layer-Addresses-Info-To-Remove-Item", "x2ap.Transport_UP_Layer_Addresses_Info_To_Remove_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_gTPTransportLayerAddressesToRemove, { "gTPTransportLayerAddressesToRemove", "x2ap.gTPTransportLayerAddressesToRemove", FT_UINT32, BASE_DEC, NULL, 0, "GTPTLAs", HFILL }}, { &hf_x2ap_transport_UP_Layer_Addresses_Info_To_Add_List, { "transport-UP-Layer-Addresses-Info-To-Add-List", "x2ap.transport_UP_Layer_Addresses_Info_To_Add_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_transport_UP_Layer_Addresses_Info_To_Remove_List, { "transport-UP-Layer-Addresses-Info-To-Remove-List", "x2ap.transport_UP_Layer_Addresses_Info_To_Remove_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_eUTRANTraceID, { "eUTRANTraceID", "x2ap.eUTRANTraceID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_interfacesToTrace, { "interfacesToTrace", "x2ap.interfacesToTrace", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_traceDepth, { "traceDepth", "x2ap.traceDepth", FT_UINT32, BASE_DEC, VALS(x2ap_TraceDepth_vals), 0, NULL, HFILL }}, { &hf_x2ap_traceCollectionEntityIPAddress, { "traceCollectionEntityIPAddress", "x2ap.traceCollectionEntityIPAddress", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_portnumber, { "portnumber", "x2ap.portnumber", FT_UINT16, BASE_DEC, NULL, 0, "Port_Number", HFILL }}, { &hf_x2ap_uDP_Port_Number, { "uDP-Port-Number", "x2ap.uDP_Port_Number", FT_UINT16, BASE_DEC, NULL, 0, "Port_Number", HFILL }}, { &hf_x2ap_uEaggregateMaximumBitRateDownlink, { "uEaggregateMaximumBitRateDownlink", "x2ap.uEaggregateMaximumBitRateDownlink", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_uEaggregateMaximumBitRateUplink, { "uEaggregateMaximumBitRateUplink", "x2ap.uEaggregateMaximumBitRateUplink", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_x2ap_containerForAppLayerMeasConfig, { "containerForAppLayerMeasConfig", "x2ap.containerForAppLayerMeasConfig", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING_SIZE_1_1000", HFILL }}, { &hf_x2ap_areaScopeOfQMC, { "areaScopeOfQMC", "x2ap.areaScopeOfQMC", FT_UINT32, BASE_DEC, VALS(x2ap_AreaScopeOfQMC_vals), 0, NULL, HFILL }}, { &hf_x2ap_UE_HistoryInformation_item, { "LastVisitedCell-Item", "x2ap.LastVisitedCell_Item", FT_UINT32, BASE_DEC, VALS(x2ap_LastVisitedCell_Item_vals), 0, NULL, HFILL }}, { &hf_x2ap_encryptionAlgorithms, { "encryptionAlgorithms", "x2ap.encryptionAlgorithms", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_integrityProtectionAlgorithms, { "integrityProtectionAlgorithms", "x2ap.integrityProtectionAlgorithms", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_UEsToBeResetList_item, { "UEsToBeResetList-Item", "x2ap.UEsToBeResetList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_meNB_ID, { "meNB-ID", "x2ap.meNB_ID", FT_UINT32, BASE_DEC, NULL, 0, "UE_X2AP_ID", HFILL }}, { &hf_x2ap_meNB_ID_ext, { "meNB-ID-ext", "x2ap.meNB_ID_ext", FT_UINT32, BASE_DEC, NULL, 0, "UE_X2AP_ID_Extension", HFILL }}, { &hf_x2ap_sgNB_ID, { "sgNB-ID", "x2ap.sgNB_ID", FT_UINT32, BASE_DEC, NULL, 0, "SgNB_UE_X2AP_ID", HFILL }}, { &hf_x2ap_uLResourcesULandDLSharing, { "uLResourcesULandDLSharing", "x2ap.uLResourcesULandDLSharing", FT_UINT32, BASE_DEC, VALS(x2ap_ULResourcesULandDLSharing_vals), 0, NULL, HFILL }}, { &hf_x2ap_dLResourcesULandDLSharing, { "dLResourcesULandDLSharing", "x2ap.dLResourcesULandDLSharing", FT_UINT32, BASE_DEC, VALS(x2ap_DLResourcesULandDLSharing_vals), 0, NULL, HFILL }}, { &hf_x2ap_uL_PDCP, { "uL-PDCP", "x2ap.uL_PDCP", FT_UINT32, BASE_DEC, VALS(x2ap_UL_UE_Configuration_vals), 0, "UL_UE_Configuration", HFILL }}, { &hf_x2ap_UL_HighInterferenceIndicationInfo_item, { "UL-HighInterferenceIndicationInfo-Item", "x2ap.UL_HighInterferenceIndicationInfo_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_target_Cell_ID, { "target-Cell-ID", "x2ap.target_Cell_ID_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_ul_interferenceindication, { "ul-interferenceindication", "x2ap.ul_interferenceindication", FT_BYTES, BASE_NONE, NULL, 0, "UL_HighInterferenceIndication", HFILL }}, { &hf_x2ap_UL_InterferenceOverloadIndication_item, { "UL-InterferenceOverloadIndication-Item", "x2ap.UL_InterferenceOverloadIndication_Item", FT_UINT32, BASE_DEC, VALS(x2ap_UL_InterferenceOverloadIndication_Item_vals), 0, NULL, HFILL }}, { &hf_x2ap_uLResourceBitmapULOnlySharing, { "uLResourceBitmapULOnlySharing", "x2ap.uLResourceBitmapULOnlySharing", FT_BYTES, BASE_NONE, NULL, 0, "DataTrafficResources", HFILL }}, { &hf_x2ap_changed_01, { "changed", "x2ap.changed", FT_BYTES, BASE_NONE, NULL, 0, "ULResourceBitmapULandDLSharing", HFILL }}, { &hf_x2ap_fdd_03, { "fdd", "x2ap.fdd_element", FT_NONE, BASE_NONE, NULL, 0, "UsableABSInformationFDD", HFILL }}, { &hf_x2ap_tdd_03, { "tdd", "x2ap.tdd_element", FT_NONE, BASE_NONE, NULL, 0, "UsableABSInformationTDD", HFILL }}, { &hf_x2ap_usable_abs_pattern_info, { "usable-abs-pattern-info", "x2ap.usable_abs_pattern_info", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_40", HFILL }}, { &hf_x2ap_usaable_abs_pattern_info, { "usaable-abs-pattern-info", "x2ap.usaable_abs_pattern_info", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_1_70_", HFILL }}, { &hf_x2ap_widebandCQICodeword0, { "widebandCQICodeword0", "x2ap.widebandCQICodeword0", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_15_", HFILL }}, { &hf_x2ap_widebandCQICodeword1, { "widebandCQICodeword1", "x2ap.widebandCQICodeword1", FT_UINT32, BASE_DEC, VALS(x2ap_WidebandCQICodeword1_vals), 0, NULL, HFILL }}, { &hf_x2ap_wlanMeasConfig, { "wlanMeasConfig", "x2ap.wlanMeasConfig", FT_UINT32, BASE_DEC, VALS(x2ap_WLANMeasConfig_vals), 0, NULL, HFILL }}, { &hf_x2ap_wlanMeasConfigNameList, { "wlanMeasConfigNameList", "x2ap.wlanMeasConfigNameList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_wlan_rssi, { "wlan-rssi", "x2ap.wlan_rssi", FT_UINT32, BASE_DEC, VALS(x2ap_T_wlan_rssi_vals), 0, NULL, HFILL }}, { &hf_x2ap_wlan_rtt, { "wlan-rtt", "x2ap.wlan_rtt", FT_UINT32, BASE_DEC, VALS(x2ap_T_wlan_rtt_vals), 0, NULL, HFILL }}, { &hf_x2ap_WLANMeasConfigNameList_item, { "WLANName", "x2ap.WLANName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_wTID_Type1, { "wTID-Type1", "x2ap.wTID_Type1_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_wTID_Type2, { "wTID-Type2", "x2ap.wTID_Type2", FT_BYTES, BASE_NONE, NULL, 0, "WTID_Long_Type2", HFILL }}, { &hf_x2ap_shortWTID, { "shortWTID", "x2ap.shortWTID", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_24", HFILL }}, { &hf_x2ap_protocolIEs, { "protocolIEs", "x2ap.protocolIEs", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_x2ap_mME_UE_S1AP_ID, { "mME-UE-S1AP-ID", "x2ap.mME_UE_S1AP_ID", FT_UINT32, BASE_DEC, NULL, 0, "UE_S1AP_ID", HFILL }}, { &hf_x2ap_uESecurityCapabilities, { "uESecurityCapabilities", "x2ap.uESecurityCapabilities_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_aS_SecurityInformation, { "aS-SecurityInformation", "x2ap.aS_SecurityInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uEaggregateMaximumBitRate, { "uEaggregateMaximumBitRate", "x2ap.uEaggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_subscriberProfileIDforRFP, { "subscriberProfileIDforRFP", "x2ap.subscriberProfileIDforRFP", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_e_RABs_ToBeSetup_List, { "e-RABs-ToBeSetup-List", "x2ap.e_RABs_ToBeSetup_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_rRC_Context, { "rRC-Context", "x2ap.rRC_Context", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_handoverRestrictionList, { "handoverRestrictionList", "x2ap.handoverRestrictionList_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_locationReportingInformation, { "locationReportingInformation", "x2ap.locationReportingInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeSetup_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_e_RAB_Level_QoS_Parameters, { "e-RAB-Level-QoS-Parameters", "x2ap.e_RAB_Level_QoS_Parameters_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dL_Forwarding, { "dL-Forwarding", "x2ap.dL_Forwarding", FT_UINT32, BASE_DEC, VALS(x2ap_DL_Forwarding_vals), 0, NULL, HFILL }}, { &hf_x2ap_source_GlobalSeNB_ID, { "source-GlobalSeNB-ID", "x2ap.source_GlobalSeNB_ID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalENB_ID", HFILL }}, { &hf_x2ap_seNB_UE_X2AP_ID, { "seNB-UE-X2AP-ID", "x2ap.seNB_UE_X2AP_ID", FT_UINT32, BASE_DEC, NULL, 0, "UE_X2AP_ID", HFILL }}, { &hf_x2ap_seNB_UE_X2AP_ID_Extension, { "seNB-UE-X2AP-ID-Extension", "x2ap.seNB_UE_X2AP_ID_Extension", FT_UINT32, BASE_DEC, NULL, 0, "UE_X2AP_ID_Extension", HFILL }}, { &hf_x2ap_wTID, { "wTID", "x2ap.wTID", FT_UINT32, BASE_DEC, VALS(x2ap_WTID_vals), 0, NULL, HFILL }}, { &hf_x2ap_wT_UE_XwAP_ID, { "wT-UE-XwAP-ID", "x2ap.wT_UE_XwAP_ID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_source_GlobalSgNB_ID, { "source-GlobalSgNB-ID", "x2ap.source_GlobalSgNB_ID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalGNB_ID", HFILL }}, { &hf_x2ap_sgNB_UE_X2AP_ID, { "sgNB-UE-X2AP-ID", "x2ap.sgNB_UE_X2AP_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_Admitted_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uL_GTP_TunnelEndpoint, { "uL-GTP-TunnelEndpoint", "x2ap.uL_GTP_TunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_dL_GTP_TunnelEndpoint, { "dL-GTP-TunnelEndpoint", "x2ap.dL_GTP_TunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_first_dl_count, { "first-dl-count", "x2ap.first_dl_count_element", FT_NONE, BASE_NONE, NULL, 0, "FirstDLCount", HFILL }}, { &hf_x2ap_dl_discarding, { "dl-discarding", "x2ap.dl_discarding_element", FT_NONE, BASE_NONE, NULL, 0, "DLDiscarding", HFILL }}, { &hf_x2ap_e_RABsSubjectToEarlyStatusTransfer, { "e-RABsSubjectToEarlyStatusTransfer", "x2ap.e_RABsSubjectToEarlyStatusTransfer", FT_UINT32, BASE_DEC, NULL, 0, "E_RABsSubjectToEarlyStatusTransfer_List", HFILL }}, { &hf_x2ap_e_RABsSubjectToDLDiscarding_List, { "e-RABsSubjectToDLDiscarding-List", "x2ap.e_RABsSubjectToDLDiscarding_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_SubjectToStatusTransfer_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_receiveStatusofULPDCPSDUs, { "receiveStatusofULPDCPSDUs", "x2ap.receiveStatusofULPDCPSDUs", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uL_COUNTvalue, { "uL-COUNTvalue", "x2ap.uL_COUNTvalue_element", FT_NONE, BASE_NONE, NULL, 0, "COUNTvalue", HFILL }}, { &hf_x2ap_dL_COUNTvalue, { "dL-COUNTvalue", "x2ap.dL_COUNTvalue_element", FT_NONE, BASE_NONE, NULL, 0, "COUNTvalue", HFILL }}, { &hf_x2ap_CellInformation_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cell_ID, { "cell-ID", "x2ap.cell_ID_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_ul_InterferenceOverloadIndication, { "ul-InterferenceOverloadIndication", "x2ap.ul_InterferenceOverloadIndication", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ul_HighInterferenceIndicationInfo, { "ul-HighInterferenceIndicationInfo", "x2ap.ul_HighInterferenceIndicationInfo", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_relativeNarrowbandTxPower, { "relativeNarrowbandTxPower", "x2ap.relativeNarrowbandTxPower_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedCellsToModify_item, { "ServedCellsToModify-Item", "x2ap.ServedCellsToModify_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_old_ecgi, { "old-ecgi", "x2ap.old_ecgi_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_Old_ECGIs_item, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MeasurementInitiationResult_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_measurementFailureCause_List, { "measurementFailureCause-List", "x2ap.measurementFailureCause_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_MeasurementFailureCause_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_measurementFailedReportCharacteristics, { "measurementFailedReportCharacteristics", "x2ap.measurementFailedReportCharacteristics", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CompleteFailureCauseInformation_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellMeasurementResult_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_hWLoadIndicator, { "hWLoadIndicator", "x2ap.hWLoadIndicator_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_s1TNLLoadIndicator, { "s1TNLLoadIndicator", "x2ap.s1TNLLoadIndicator_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_radioResourceStatus, { "radioResourceStatus", "x2ap.radioResourceStatus_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_privateIEs, { "privateIEs", "x2ap.privateIEs", FT_UINT32, BASE_DEC, NULL, 0, "PrivateIE_Container", HFILL }}, { &hf_x2ap_ServedCellsToActivate_item, { "ServedCellsToActivate-Item", "x2ap.ServedCellsToActivate_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ecgi, { "ecgi", "x2ap.ecgi_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ActivatedCellList_item, { "ActivatedCellList-Item", "x2ap.ActivatedCellList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_source_GlobalENB_ID, { "source-GlobalENB-ID", "x2ap.source_GlobalENB_ID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalENB_ID", HFILL }}, { &hf_x2ap_target_GlobalENB_ID, { "target-GlobalENB-ID", "x2ap.target_GlobalENB_ID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalENB_ID", HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeAdded_Item_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeAdded_Item_Split_Bearer", HFILL }}, { &hf_x2ap_s1_UL_GTPtunnelEndpoint, { "s1-UL-GTPtunnelEndpoint", "x2ap.s1_UL_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_meNB_GTPtunnelEndpoint, { "meNB-GTPtunnelEndpoint", "x2ap.meNB_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_01, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_01, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeAdded_Item_Split_Bearer", HFILL }}, { &hf_x2ap_s1_DL_GTPtunnelEndpoint, { "s1-DL-GTPtunnelEndpoint", "x2ap.s1_DL_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_dL_Forwarding_GTPtunnelEndpoint, { "dL-Forwarding-GTPtunnelEndpoint", "x2ap.dL_Forwarding_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_uL_Forwarding_GTPtunnelEndpoint, { "uL-Forwarding-GTPtunnelEndpoint", "x2ap.uL_Forwarding_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_seNB_GTPtunnelEndpoint, { "seNB-GTPtunnelEndpoint", "x2ap.seNB_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_success, { "success", "x2ap.success_element", FT_NONE, BASE_NONE, NULL, 0, "ResponseInformationSeNBReconfComp_SuccessItem", HFILL }}, { &hf_x2ap_reject_by_MeNB, { "reject-by-MeNB", "x2ap.reject_by_MeNB_element", FT_NONE, BASE_NONE, NULL, 0, "ResponseInformationSeNBReconfComp_RejectByMeNBItem", HFILL }}, { &hf_x2ap_meNBtoSeNBContainer, { "meNBtoSeNBContainer", "x2ap.meNBtoSeNBContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uE_SecurityCapabilities, { "uE-SecurityCapabilities", "x2ap.uE_SecurityCapabilities_element", FT_NONE, BASE_NONE, NULL, 0, "UESecurityCapabilities", HFILL }}, { &hf_x2ap_seNB_SecurityKey, { "seNB-SecurityKey", "x2ap.seNB_SecurityKey", FT_BYTES, BASE_NONE, NULL, 0, "SeNBSecurityKey", HFILL }}, { &hf_x2ap_seNBUEAggregateMaximumBitRate, { "seNBUEAggregateMaximumBitRate", "x2ap.seNBUEAggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, "UEAggregateMaximumBitRate", HFILL }}, { &hf_x2ap_e_RABs_ToBeAdded, { "e-RABs-ToBeAdded", "x2ap.e_RABs_ToBeAdded", FT_UINT32, BASE_DEC, NULL, 0, "E_RABs_ToBeAdded_List_ModReq", HFILL }}, { &hf_x2ap_e_RABs_ToBeModified, { "e-RABs-ToBeModified", "x2ap.e_RABs_ToBeModified", FT_UINT32, BASE_DEC, NULL, 0, "E_RABs_ToBeModified_List_ModReq", HFILL }}, { &hf_x2ap_e_RABs_ToBeReleased, { "e-RABs-ToBeReleased", "x2ap.e_RABs_ToBeReleased", FT_UINT32, BASE_DEC, NULL, 0, "E_RABs_ToBeReleased_List_ModReq", HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_List_ModReq_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_02, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeAdded_ModReqItem_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_02, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeAdded_ModReqItem_Split_Bearer", HFILL }}, { &hf_x2ap_E_RABs_ToBeModified_List_ModReq_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_03, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeModified_ModReqItem_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_03, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeModified_ModReqItem_Split_Bearer", HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_List_ModReq_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_04, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_ModReqItem_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_04, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_ModReqItem_Split_Bearer", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_05, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_05, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeModified_ModAckList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_06, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_06, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_07, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_07, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer", HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_ModReqd_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_List_RelReq_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_08, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_RelReqItem_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_08, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_RelReqItem_Split_Bearer", HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_List_RelConf_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_sCG_Bearer_09, { "sCG-Bearer", "x2ap.sCG_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_RelConfItem_SCG_Bearer", HFILL }}, { &hf_x2ap_split_Bearer_09, { "split-Bearer", "x2ap.split_Bearer_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_RelConfItem_Split_Bearer", HFILL }}, { &hf_x2ap_E_RABs_SubjectToCounterCheck_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_uL_Count, { "uL-Count", "x2ap.uL_Count", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_4294967295", HFILL }}, { &hf_x2ap_dL_Count, { "dL-Count", "x2ap.dL_Count", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_4294967295", HFILL }}, { &hf_x2ap_e_RABs_ToBeSetup_ListRetrieve, { "e-RABs-ToBeSetup-ListRetrieve", "x2ap.e_RABs_ToBeSetup_ListRetrieve", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_managBasedMDTallowed, { "managBasedMDTallowed", "x2ap.managBasedMDTallowed", FT_UINT32, BASE_DEC, VALS(x2ap_ManagementBasedMDTallowed_vals), 0, "ManagementBasedMDTallowed", HFILL }}, { &hf_x2ap_managBasedMDTPLMNList, { "managBasedMDTPLMNList", "x2ap.managBasedMDTPLMNList", FT_UINT32, BASE_DEC, NULL, 0, "MDTPLMNList", HFILL }}, { &hf_x2ap_E_RABs_ToBeSetup_ListRetrieve_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_bearerType, { "bearerType", "x2ap.bearerType", FT_UINT32, BASE_DEC, VALS(x2ap_BearerType_vals), 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_SgNBAddReqList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_drb_ID, { "drb-ID", "x2ap.drb_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_en_DC_ResourceConfiguration, { "en-DC-ResourceConfiguration", "x2ap.en_DC_ResourceConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_vals), 0, NULL, HFILL }}, { &hf_x2ap_sgNBPDCPpresent, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_full_E_RAB_Level_QoS_Parameters, { "full-E-RAB-Level-QoS-Parameters", "x2ap.full_E_RAB_Level_QoS_Parameters_element", FT_NONE, BASE_NONE, NULL, 0, "E_RAB_Level_QoS_Parameters", HFILL }}, { &hf_x2ap_max_MCG_admit_E_RAB_Level_QoS_Parameters, { "max-MCG-admit-E-RAB-Level-QoS-Parameters", "x2ap.max_MCG_admit_E_RAB_Level_QoS_Parameters_element", FT_NONE, BASE_NONE, NULL, 0, "GBR_QosInformation", HFILL }}, { &hf_x2ap_meNB_DL_GTP_TEIDatMCG, { "meNB-DL-GTP-TEIDatMCG", "x2ap.meNB_DL_GTP_TEIDatMCG_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_requested_SCG_E_RAB_Level_QoS_Parameters, { "requested-SCG-E-RAB-Level-QoS-Parameters", "x2ap.requested_SCG_E_RAB_Level_QoS_Parameters_element", FT_NONE, BASE_NONE, NULL, 0, "E_RAB_Level_QoS_Parameters", HFILL }}, { &hf_x2ap_meNB_UL_GTP_TEIDatPDCP, { "meNB-UL-GTP-TEIDatPDCP", "x2ap.meNB_UL_GTP_TEIDatPDCP_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_secondary_meNB_UL_GTP_TEIDatPDCP, { "secondary-meNB-UL-GTP-TEIDatPDCP", "x2ap.secondary_meNB_UL_GTP_TEIDatPDCP_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_rlc_Mode, { "rlc-Mode", "x2ap.rlc_Mode", FT_UINT32, BASE_DEC, VALS(x2ap_RLCMode_vals), 0, "RLCMode", HFILL }}, { &hf_x2ap_uL_Configuration, { "uL-Configuration", "x2ap.uL_Configuration_element", FT_NONE, BASE_NONE, NULL, 0, "ULConfiguration", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_01, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_01_vals), 0, "T_resource_configuration_01", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_01, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_01, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_sgNB_UL_GTP_TEIDatPDCP, { "sgNB-UL-GTP-TEIDatPDCP", "x2ap.sgNB_UL_GTP_TEIDatPDCP_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_mCG_E_RAB_Level_QoS_Parameters, { "mCG-E-RAB-Level-QoS-Parameters", "x2ap.mCG_E_RAB_Level_QoS_Parameters_element", FT_NONE, BASE_NONE, NULL, 0, "E_RAB_Level_QoS_Parameters", HFILL }}, { &hf_x2ap_sgNB_DL_GTP_TEIDatSCG, { "sgNB-DL-GTP-TEIDatSCG", "x2ap.sgNB_DL_GTP_TEIDatSCG_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_secondary_sgNB_DL_GTP_TEIDatSCG, { "secondary-sgNB-DL-GTP-TEIDatSCG", "x2ap.secondary_sgNB_DL_GTP_TEIDatSCG_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_success_SgNBReconfComp, { "success-SgNBReconfComp", "x2ap.success_SgNBReconfComp_element", FT_NONE, BASE_NONE, NULL, 0, "ResponseInformationSgNBReconfComp_SuccessItem", HFILL }}, { &hf_x2ap_reject_by_MeNB_SgNBReconfComp, { "reject-by-MeNB-SgNBReconfComp", "x2ap.reject_by_MeNB_SgNBReconfComp_element", FT_NONE, BASE_NONE, NULL, 0, "ResponseInformationSgNBReconfComp_RejectByMeNBItem", HFILL }}, { &hf_x2ap_meNBtoSgNBContainer, { "meNBtoSgNBContainer", "x2ap.meNBtoSgNBContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nRUE_SecurityCapabilities, { "nRUE-SecurityCapabilities", "x2ap.nRUE_SecurityCapabilities_element", FT_NONE, BASE_NONE, NULL, 0, "NRUESecurityCapabilities", HFILL }}, { &hf_x2ap_sgNB_SecurityKey, { "sgNB-SecurityKey", "x2ap.sgNB_SecurityKey", FT_BYTES, BASE_NONE, NULL, 0, "SgNBSecurityKey", HFILL }}, { &hf_x2ap_sgNBUEAggregateMaximumBitRate, { "sgNBUEAggregateMaximumBitRate", "x2ap.sgNBUEAggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, "UEAggregateMaximumBitRate", HFILL }}, { &hf_x2ap_e_RABs_ToBeAdded_01, { "e-RABs-ToBeAdded", "x2ap.e_RABs_ToBeAdded", FT_UINT32, BASE_DEC, NULL, 0, "E_RABs_ToBeAdded_SgNBModReq_List", HFILL }}, { &hf_x2ap_e_RABs_ToBeModified_01, { "e-RABs-ToBeModified", "x2ap.e_RABs_ToBeModified", FT_UINT32, BASE_DEC, NULL, 0, "E_RABs_ToBeModified_SgNBModReq_List", HFILL }}, { &hf_x2ap_e_RABs_ToBeReleased_01, { "e-RABs-ToBeReleased", "x2ap.e_RABs_ToBeReleased", FT_UINT32, BASE_DEC, NULL, 0, "E_RABs_ToBeReleased_SgNBModReq_List", HFILL }}, { &hf_x2ap_E_RABs_ToBeAdded_SgNBModReq_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_02, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_02_vals), 0, "T_resource_configuration_02", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_02, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_02, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_max_MN_admit_E_RAB_Level_QoS_Parameters, { "max-MN-admit-E-RAB-Level-QoS-Parameters", "x2ap.max_MN_admit_E_RAB_Level_QoS_Parameters_element", FT_NONE, BASE_NONE, NULL, 0, "GBR_QosInformation", HFILL }}, { &hf_x2ap_E_RABs_ToBeModified_SgNBModReq_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_03, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_03_vals), 0, "T_resource_configuration_03", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_03, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_03, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBModReq_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_04, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_04_vals), 0, "T_resource_configuration_04", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_04, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_04, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_05, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_05_vals), 0, "T_resource_configuration_05", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_05, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_05, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_06, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_06_vals), 0, "T_resource_configuration_06", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_06, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_06, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_07, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_07_vals), 0, "T_resource_configuration_07", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_07, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_07, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBModReqdList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeModified_SgNBModReqdList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_08, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_08_vals), 0, "T_resource_configuration_08", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_08, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_08, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_requested_MCG_E_RAB_Level_QoS_Parameters, { "requested-MCG-E-RAB-Level-QoS-Parameters", "x2ap.requested_MCG_E_RAB_Level_QoS_Parameters_element", FT_NONE, BASE_NONE, NULL, 0, "E_RAB_Level_QoS_Parameters", HFILL }}, { &hf_x2ap_s1_DL_GTP_TEIDatSgNB, { "s1-DL-GTP-TEIDatSgNB", "x2ap.s1_DL_GTP_TEIDatSgNB_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_09, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_09_vals), 0, "T_resource_configuration_09", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_09, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_09, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_10, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_10_vals), 0, "T_resource_configuration_10", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_10, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_10, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_rlc_Mode_transferred, { "rlc-Mode-transferred", "x2ap.rlc_Mode_transferred", FT_UINT32, BASE_DEC, VALS(x2ap_RLCMode_vals), 0, "RLCMode", HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBRelConfList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_11, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_11_vals), 0, "T_resource_configuration_11", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_11, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_11, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_E_RABs_SubjectToSgNBCounterCheck_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_ToBeReleased_SgNBChaConfList_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_resource_configuration_12, { "resource-configuration", "x2ap.resource_configuration", FT_UINT32, BASE_DEC, VALS(x2ap_T_resource_configuration_12_vals), 0, "T_resource_configuration_12", HFILL }}, { &hf_x2ap_sgNBPDCPpresent_12, { "sgNBPDCPpresent", "x2ap.sgNBPDCPpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent", HFILL }}, { &hf_x2ap_sgNBPDCPnotpresent_12, { "sgNBPDCPnotpresent", "x2ap.sgNBPDCPnotpresent_element", FT_NONE, BASE_NONE, NULL, 0, "E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent", HFILL }}, { &hf_x2ap_init_eNB, { "init-eNB", "x2ap.init_eNB", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_x2ap_init_en_gNB, { "init-en-gNB", "x2ap.init_en_gNB", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_x2ap_ServedEUTRAcellsENDCX2ManagementList_item, { "ServedEUTRAcellsENDCX2ManagementList item", "x2ap.ServedEUTRAcellsENDCX2ManagementList_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_servedEUTRACellInfo, { "servedEUTRACellInfo", "x2ap.servedEUTRACellInfo_element", FT_NONE, BASE_NONE, NULL, 0, "ServedCell_Information", HFILL }}, { &hf_x2ap_nrNeighbourInfo, { "nrNeighbourInfo", "x2ap.nrNeighbourInfo", FT_UINT32, BASE_DEC, NULL, 0, "NRNeighbour_Information", HFILL }}, { &hf_x2ap_ServedNRcellsENDCX2ManagementList_item, { "ServedNRcellsENDCX2ManagementList item", "x2ap.ServedNRcellsENDCX2ManagementList_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_servedNRCellInfo, { "servedNRCellInfo", "x2ap.servedNRCellInfo_element", FT_NONE, BASE_NONE, NULL, 0, "ServedNRCell_Information", HFILL }}, { &hf_x2ap_nRNeighbourInfo, { "nRNeighbourInfo", "x2ap.nRNeighbourInfo", FT_UINT32, BASE_DEC, NULL, 0, "NRNeighbour_Information", HFILL }}, { &hf_x2ap_nrModeInfo, { "nrModeInfo", "x2ap.nrModeInfo", FT_UINT32, BASE_DEC, VALS(x2ap_T_nrModeInfo_vals), 0, NULL, HFILL }}, { &hf_x2ap_fdd_04, { "fdd", "x2ap.fdd_element", FT_NONE, BASE_NONE, NULL, 0, "FDD_InfoServedNRCell_Information", HFILL }}, { &hf_x2ap_tdd_04, { "tdd", "x2ap.tdd_element", FT_NONE, BASE_NONE, NULL, 0, "TDD_InfoServedNRCell_Information", HFILL }}, { &hf_x2ap_measurementTimingConfiguration_01, { "measurementTimingConfiguration", "x2ap.measurementTimingConfiguration", FT_BYTES, BASE_NONE, NULL, 0, "T_measurementTimingConfiguration_01", HFILL }}, { &hf_x2ap_ul_NR_TxBW, { "ul-NR-TxBW", "x2ap.ul_NR_TxBW_element", FT_NONE, BASE_NONE, NULL, 0, "NR_TxBW", HFILL }}, { &hf_x2ap_dl_NR_TxBW, { "dl-NR-TxBW", "x2ap.dl_NR_TxBW_element", FT_NONE, BASE_NONE, NULL, 0, "NR_TxBW", HFILL }}, { &hf_x2ap_nR_TxBW, { "nR-TxBW", "x2ap.nR_TxBW_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_cellAssistanceInformation, { "cellAssistanceInformation", "x2ap.cellAssistanceInformation", FT_UINT32, BASE_DEC, VALS(x2ap_CellAssistanceInformation_vals), 0, NULL, HFILL }}, { &hf_x2ap_limited_list, { "limited-list", "x2ap.limited_list", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_full_list, { "full-list", "x2ap.full_list", FT_UINT32, BASE_DEC, VALS(x2ap_T_full_list_vals), 0, NULL, HFILL }}, { &hf_x2ap_Limited_list_item, { "Limited-list item", "x2ap.Limited_list_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_respond_eNB, { "respond-eNB", "x2ap.respond_eNB", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_x2ap_respond_en_gNB, { "respond-en-gNB", "x2ap.respond_en_gNB", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_item, { "ServedEUTRAcellsToModifyListENDCConfUpd item", "x2ap.ServedEUTRAcellsToModifyListENDCConfUpd_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_old_ECGI, { "old-ECGI", "x2ap.old_ECGI_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd_item, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedNRcellsToModifyENDCConfUpdList_item, { "ServedNRCellsToModify-Item", "x2ap.ServedNRCellsToModify_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_old_nrcgi, { "old-nrcgi", "x2ap.old_nrcgi_element", FT_NONE, BASE_NONE, NULL, 0, "NRCGI", HFILL }}, { &hf_x2ap_servedNRCellInformation, { "servedNRCellInformation", "x2ap.servedNRCellInformation_element", FT_NONE, BASE_NONE, NULL, 0, "ServedNRCell_Information", HFILL }}, { &hf_x2ap_nrNeighbourInformation, { "nrNeighbourInformation", "x2ap.nrNeighbourInformation", FT_UINT32, BASE_DEC, NULL, 0, "NRNeighbour_Information", HFILL }}, { &hf_x2ap_nrDeactivationIndication, { "nrDeactivationIndication", "x2ap.nrDeactivationIndication", FT_UINT32, BASE_DEC, VALS(x2ap_DeactivationIndication_vals), 0, "DeactivationIndication", HFILL }}, { &hf_x2ap_ServedNRcellsToDeleteENDCConfUpdList_item, { "NRCGI", "x2ap.NRCGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ServedNRCellsToActivate_item, { "ServedNRCellsToActivate-Item", "x2ap.ServedNRCellsToActivate_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ActivatedNRCellList_item, { "ActivatedNRCellList-Item", "x2ap.ActivatedNRCellList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_NR_ENDC_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nr_cell_ID, { "nr-cell-ID", "x2ap.nr_cell_ID_element", FT_NONE, BASE_NONE, NULL, 0, "NRCGI", HFILL }}, { &hf_x2ap_ssbToReport_List, { "ssbToReport-List", "x2ap.ssbToReport_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellToReport_E_UTRA_ENDC_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_e_utra_cell_ID, { "e-utra-cell-ID", "x2ap.e_utra_cell_ID_element", FT_NONE, BASE_NONE, NULL, 0, "ECGI", HFILL }}, { &hf_x2ap_SSBToReport_List_item, { "SSBToReport-Item", "x2ap.SSBToReport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_CellMeasurementResult_NR_ENDC_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nr_radioResourceStatus, { "nr-radioResourceStatus", "x2ap.nr_radioResourceStatus_element", FT_NONE, BASE_NONE, NULL, 0, "NRRadioResourceStatus", HFILL }}, { &hf_x2ap_tnlCapacityIndicator, { "tnlCapacityIndicator", "x2ap.tnlCapacityIndicator_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_nr_compositeAvailableCapacityGroup, { "nr-compositeAvailableCapacityGroup", "x2ap.nr_compositeAvailableCapacityGroup_element", FT_NONE, BASE_NONE, NULL, 0, "NRCompositeAvailableCapacityGroup", HFILL }}, { &hf_x2ap_numberofActiveUEs, { "numberofActiveUEs", "x2ap.numberofActiveUEs", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_16777215_", HFILL }}, { &hf_x2ap_CellMeasurementResult_E_UTRA_ENDC_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_compositeAvailableCapacityGroup, { "compositeAvailableCapacityGroup", "x2ap.compositeAvailableCapacityGroup_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_initiate_eNB, { "initiate-eNB", "x2ap.initiate_eNB", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_x2ap_initiate_en_gNB, { "initiate-en-gNB", "x2ap.initiate_en_gNB", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_x2ap_ListofEUTRACellsinEUTRACoordinationReq_item, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ListofEUTRACellsinNRCoordinationReq_item, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ListofNRCellsinNRCoordinationReq_item, { "NRCGI", "x2ap.NRCGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ListofEUTRACellsinEUTRACoordinationResp_item, { "ECGI", "x2ap.ECGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_ListofNRCellsinNRCoordinationResp_item, { "NRCGI", "x2ap.NRCGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_E_RABs_DataForwardingAddress_List_item, { "ProtocolIE-Single-Container", "x2ap.ProtocolIE_Single_Container_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_dl_GTPtunnelEndpoint, { "dl-GTPtunnelEndpoint", "x2ap.dl_GTPtunnelEndpoint_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelEndpoint", HFILL }}, { &hf_x2ap_initiatingMessage, { "initiatingMessage", "x2ap.initiatingMessage_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_successfulOutcome, { "successfulOutcome", "x2ap.successfulOutcome_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_unsuccessfulOutcome, { "unsuccessfulOutcome", "x2ap.unsuccessfulOutcome_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x2ap_initiatingMessage_value, { "value", "x2ap.value_element", FT_NONE, BASE_NONE, NULL, 0, "InitiatingMessage_value", HFILL }}, { &hf_x2ap_successfulOutcome_value, { "value", "x2ap.value_element", FT_NONE, BASE_NONE, NULL, 0, "SuccessfulOutcome_value", HFILL }}, { &hf_x2ap_value, { "value", "x2ap.value_element", FT_NONE, BASE_NONE, NULL, 0, "UnsuccessfulOutcome_value", HFILL }}, }; /* List of subtrees */ static gint *ett[] = { &ett_x2ap, &ett_x2ap_TransportLayerAddress, &ett_x2ap_PLMN_Identity, &ett_x2ap_TargeteNBtoSource_eNBTransparentContainer, &ett_x2ap_RRC_Context, &ett_x2ap_UE_HistoryInformationFromTheUE, &ett_x2ap_ReportCharacteristics, &ett_x2ap_measurementFailedReportCharacteristics, &ett_x2ap_UE_RLF_Report_Container, &ett_x2ap_UE_RLF_Report_Container_for_extended_bands, &ett_x2ap_MeNBtoSeNBContainer, &ett_x2ap_SeNBtoMeNBContainer, &ett_x2ap_EUTRANTraceID, &ett_x2ap_InterfacesToTrace, &ett_x2ap_TraceCollectionEntityIPAddress, &ett_x2ap_EncryptionAlgorithms, &ett_x2ap_IntegrityProtectionAlgorithms, &ett_x2ap_MeasurementsToActivate, &ett_x2ap_MDT_Location_Info, &ett_x2ap_transmissionModes, &ett_x2ap_X2AP_Message, &ett_x2ap_MeNBtoSgNBContainer, &ett_x2ap_SgNBtoMeNBContainer, &ett_x2ap_RRCContainer, &ett_x2ap_NRencryptionAlgorithms, &ett_x2ap_NRintegrityProtectionAlgorithms, &ett_x2ap_measurementTimingConfiguration, &ett_x2ap_LastVisitedNGRANCellInformation, &ett_x2ap_LastVisitedUTRANCellInformation, &ett_x2ap_EndcSONConfigurationTransfer, &ett_x2ap_EPCHandoverRestrictionListContainer, &ett_x2ap_NBIoT_RLF_Report_Container, &ett_x2ap_anchorCarrier_NPRACHConfig, &ett_x2ap_anchorCarrier_EDT_NPRACHConfig, &ett_x2ap_anchorCarrier_Format2_NPRACHConfig, &ett_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig, &ett_x2ap_non_anchorCarrier_NPRACHConfig, &ett_x2ap_non_anchorCarrier_Format2_NPRACHConfig, &ett_x2ap_anchorCarrier_NPRACHConfigTDD, &ett_x2ap_non_anchorCarrier_NPRACHConfigTDD, &ett_x2ap_Non_anchorCarrierFrequency, &ett_x2ap_ReportCharacteristics_ENDC, &ett_x2ap_TargetCellInNGRAN, &ett_x2ap_TDDULDLConfigurationCommonNR, &ett_x2ap_MDT_ConfigurationNR, &ett_x2ap_NRCellPRACHConfig, &ett_x2ap_IntendedTDD_DL_ULConfiguration_NR, &ett_x2ap_UERadioCapability, &ett_x2ap_LastVisitedPSCell_Item, &ett_x2ap_NRRACHReportContainer, &ett_x2ap_rAT_RestrictionInformation, &ett_x2ap_PrivateIE_ID, &ett_x2ap_ProtocolIE_Container, &ett_x2ap_ProtocolIE_Field, &ett_x2ap_ProtocolExtensionContainer, &ett_x2ap_ProtocolExtensionField, &ett_x2ap_PrivateIE_Container, &ett_x2ap_PrivateIE_Field, &ett_x2ap_ABSInformation, &ett_x2ap_ABSInformationFDD, &ett_x2ap_ABSInformationTDD, &ett_x2ap_ABS_Status, &ett_x2ap_Additional_Measurement_Timing_Configuration_List, &ett_x2ap_Additional_Measurement_Timing_Configuration_Item, &ett_x2ap_CSI_RS_MTC_Configuration_List, &ett_x2ap_CSI_RS_MTC_Configuration_Item, &ett_x2ap_CSI_RS_Neighbour_List, &ett_x2ap_CSI_RS_Neighbour_Item, &ett_x2ap_CSI_RS_MTC_Neighbour_List, &ett_x2ap_CSI_RS_MTC_Neighbour_Item, &ett_x2ap_AdditionalListofForwardingGTPTunnelEndpoint, &ett_x2ap_AdditionalListofForwardingGTPTunnelEndpoint_Item, &ett_x2ap_AdditionalSpecialSubframe_Info, &ett_x2ap_AdditionalSpecialSubframeExtension_Info, &ett_x2ap_AllocationAndRetentionPriority, &ett_x2ap_AreaScopeOfMDT, &ett_x2ap_AreaScopeOfQMC, &ett_x2ap_AS_SecurityInformation, &ett_x2ap_AdditionalPLMNs_Item, &ett_x2ap_BroadcastPLMNs_Item, &ett_x2ap_BluetoothMeasurementConfiguration, &ett_x2ap_BluetoothMeasConfigNameList, &ett_x2ap_BPLMN_ID_Info_EUTRA, &ett_x2ap_BPLMN_ID_Info_EUTRA_Item, &ett_x2ap_BPLMN_ID_Info_NR, &ett_x2ap_BPLMN_ID_Info_NR_Item, &ett_x2ap_BroadcastextPLMNs, &ett_x2ap_Cause, &ett_x2ap_CellBasedMDT, &ett_x2ap_CellBasedQMC, &ett_x2ap_CellIdListforMDT, &ett_x2ap_CellIdListforQMC, &ett_x2ap_CellReplacingInfo, &ett_x2ap_CellType, &ett_x2ap_CPACcandidatePSCells_list, &ett_x2ap_CPACcandidatePSCells_item, &ett_x2ap_CPAinformation_REQ, &ett_x2ap_CPAinformation_REQ_ACK, &ett_x2ap_CPCinformation_REQD, &ett_x2ap_CPC_target_SgNB_reqd_list, &ett_x2ap_CPC_target_SgNB_reqd_item, &ett_x2ap_CPCinformation_CONF, &ett_x2ap_CPC_target_SgNB_conf_list, &ett_x2ap_CPC_target_SgNB_conf_item, &ett_x2ap_CPCinformation_NOTIFY, &ett_x2ap_CPAinformation_MOD, &ett_x2ap_CPCupdate_MOD, &ett_x2ap_CPC_target_SgNB_mod_list, &ett_x2ap_CPC_target_SgNB_mod_item, &ett_x2ap_CPAinformation_MOD_ACK, &ett_x2ap_CPACinformation_REQD, &ett_x2ap_CNTypeRestrictions, &ett_x2ap_CNTypeRestrictionsItem, &ett_x2ap_CoMPHypothesisSet, &ett_x2ap_CoMPHypothesisSetItem, &ett_x2ap_CoMPInformation, &ett_x2ap_CoMPInformationItem, &ett_x2ap_CoMPInformationItem_item, &ett_x2ap_CoMPInformationStartTime, &ett_x2ap_CoMPInformationStartTime_item, &ett_x2ap_CompositeAvailableCapacity, &ett_x2ap_CompositeAvailableCapacityGroup, &ett_x2ap_COUNTvalue, &ett_x2ap_COUNTValueExtended, &ett_x2ap_COUNTvaluePDCP_SNlength18, &ett_x2ap_CoverageModificationList, &ett_x2ap_CoverageModification_Item, &ett_x2ap_CPTransportLayerInformation, &ett_x2ap_CriticalityDiagnostics, &ett_x2ap_CriticalityDiagnostics_IE_List, &ett_x2ap_CriticalityDiagnostics_IE_List_item, &ett_x2ap_CSIReportList, &ett_x2ap_CSIReportList_item, &ett_x2ap_CSIReportPerCSIProcess, &ett_x2ap_CSIReportPerCSIProcess_item, &ett_x2ap_CSIReportPerCSIProcessItem, &ett_x2ap_CSIReportPerCSIProcessItem_item, &ett_x2ap_CHOinformation_REQ, &ett_x2ap_CHOinformation_ACK, &ett_x2ap_CandidateCellsToBeCancelledList, &ett_x2ap_CHOinformation_AddReq, &ett_x2ap_CHOinformation_ModReq, &ett_x2ap_DataTrafficResourceIndication, &ett_x2ap_DAPSRequestInfo, &ett_x2ap_DAPSResponseInfo, &ett_x2ap_DeliveryStatus, &ett_x2ap_DLResourcesULandDLSharing, &ett_x2ap_DynamicDLTransmissionInformation, &ett_x2ap_DynamicNAICSInformation, &ett_x2ap_SEQUENCE_SIZE_0_maxnoofPA_OF_PA_Values, &ett_x2ap_ECGI, &ett_x2ap_EnhancedRNTP, &ett_x2ap_EnhancedRNTPStartTime, &ett_x2ap_ENB_ID, &ett_x2ap_EN_DC_ResourceConfiguration, &ett_x2ap_EPLMNs, &ett_x2ap_ERABActivityNotifyItemList, &ett_x2ap_ERABActivityNotifyItem, &ett_x2ap_E_RAB_Level_QoS_Parameters, &ett_x2ap_E_RAB_List, &ett_x2ap_E_RAB_Item, &ett_x2ap_E_RABsSubjectToEarlyStatusTransfer_List, &ett_x2ap_E_RABsSubjectToEarlyStatusTransfer_Item, &ett_x2ap_E_RABsSubjectToDLDiscarding_List, &ett_x2ap_E_RABsSubjectToDLDiscarding_Item, &ett_x2ap_E_RABUsageReportList, &ett_x2ap_E_RABUsageReport_Item, &ett_x2ap_EUTRA_Mode_Info, &ett_x2ap_ExpectedUEBehaviour, &ett_x2ap_ExpectedUEActivityBehaviour, &ett_x2ap_ExtendedULInterferenceOverloadInfo, &ett_x2ap_FastMCGRecovery, &ett_x2ap_FDD_Info, &ett_x2ap_FDD_InfoNeighbourServedNRCell_Information, &ett_x2ap_ForbiddenTAs, &ett_x2ap_ForbiddenTAs_Item, &ett_x2ap_ForbiddenTACs, &ett_x2ap_ForbiddenLAs, &ett_x2ap_ForbiddenLAs_Item, &ett_x2ap_ForbiddenLACs, &ett_x2ap_FreqBandNrItem, &ett_x2ap_SEQUENCE_SIZE_0_maxnoofNrCellBands_OF_SupportedSULFreqBandItem, &ett_x2ap_GBR_QosInformation, &ett_x2ap_GlobalENB_ID, &ett_x2ap_GlobalGNB_ID, &ett_x2ap_Global_RAN_NODE_ID, &ett_x2ap_GTPTLAs, &ett_x2ap_GTPTLA_Item, &ett_x2ap_GTPtunnelEndpoint, &ett_x2ap_GUGroupIDList, &ett_x2ap_GU_Group_ID, &ett_x2ap_GUMMEI, &ett_x2ap_GNB_ID, &ett_x2ap_HandoverRestrictionList, &ett_x2ap_HWLoadIndicator, &ett_x2ap_LastVisitedCell_Item, &ett_x2ap_LastVisitedEUTRANCellInformation, &ett_x2ap_LastVisitedGERANCellInformation, &ett_x2ap_LocationInformationSgNB, &ett_x2ap_LocationReportingInformation, &ett_x2ap_M1PeriodicReporting, &ett_x2ap_M1ThresholdEventA2, &ett_x2ap_M3Configuration, &ett_x2ap_M4Configuration, &ett_x2ap_M5Configuration, &ett_x2ap_M6Configuration, &ett_x2ap_M7Configuration, &ett_x2ap_MDT_Configuration, &ett_x2ap_MDTPLMNList, &ett_x2ap_MeasurementThresholdA2, &ett_x2ap_MeNBResourceCoordinationInformation, &ett_x2ap_MBMS_Service_Area_Identity_List, &ett_x2ap_MBSFN_Subframe_Infolist, &ett_x2ap_MBSFN_Subframe_Info, &ett_x2ap_MobilityParametersModificationRange, &ett_x2ap_MobilityParametersInformation, &ett_x2ap_MultibandInfoList, &ett_x2ap_MessageOversizeNotification, &ett_x2ap_BandInfo, &ett_x2ap_SplitSRB, &ett_x2ap_Neighbour_Information, &ett_x2ap_Neighbour_Information_item, &ett_x2ap_NRCapacityValue, &ett_x2ap_NRCarrierList, &ett_x2ap_NRCarrierItem, &ett_x2ap_NRCompositeAvailableCapacityGroup, &ett_x2ap_NRCompositeAvailableCapacity, &ett_x2ap_NRFreqInfo, &ett_x2ap_SEQUENCE_SIZE_1_maxnoofNrCellBands_OF_FreqBandNrItem, &ett_x2ap_NRCGI, &ett_x2ap_NRRACHReportInformation, &ett_x2ap_NRRACHReportList_Item, &ett_x2ap_NRNeighbour_Information, &ett_x2ap_NRNeighbour_Information_item, &ett_x2ap_T_nRNeighbourModeInfo, &ett_x2ap_NPRACHConfiguration, &ett_x2ap_T_fdd_or_tdd, &ett_x2ap_NPRACHConfiguration_FDD, &ett_x2ap_NPRACHConfiguration_TDD, &ett_x2ap_Non_AnchorCarrierFrequencylist, &ett_x2ap_Non_AnchorCarrierFrequencylist_item, &ett_x2ap_MeasurementResultforNRCellsPossiblyAggregated, &ett_x2ap_MeasurementResultforNRCellsPossiblyAggregated_Item, &ett_x2ap_NRRadioResourceStatus, &ett_x2ap_MIMOPRBusageInformation, &ett_x2ap_NR_TxBW, &ett_x2ap_NRUeReport, &ett_x2ap_NRUESidelinkAggregateMaximumBitRate, &ett_x2ap_NRUESecurityCapabilities, &ett_x2ap_NRV2XServicesAuthorized, &ett_x2ap_PC5QoSParameters, &ett_x2ap_PC5QoSFlowList, &ett_x2ap_PC5QoSFlowItem, &ett_x2ap_PC5FlowBitRates, &ett_x2ap_PRACH_Configuration, &ett_x2ap_PLMNAreaBasedQMC, &ett_x2ap_PLMNListforQMC, &ett_x2ap_ProSeAuthorized, &ett_x2ap_ProtectedEUTRAResourceIndication, &ett_x2ap_ProtectedFootprintTimePattern, &ett_x2ap_ProtectedResourceList, &ett_x2ap_ProtectedResourceList_Item, &ett_x2ap_PSCell_UE_HistoryInformation, &ett_x2ap_QoS_Mapping_Information, &ett_x2ap_RadioResourceStatus, &ett_x2ap_RAT_Restrictions, &ett_x2ap_RAT_RestrictionsItem, &ett_x2ap_RelativeNarrowbandTxPower, &ett_x2ap_ReplacingCellsList, &ett_x2ap_ReplacingCellsList_Item, &ett_x2ap_ReservedSubframePattern, &ett_x2ap_ResumeID, &ett_x2ap_RLC_Status, &ett_x2ap_RSRPMeasurementResult, &ett_x2ap_RSRPMeasurementResult_item, &ett_x2ap_RSRPMRList, &ett_x2ap_RSRPMRList_item, &ett_x2ap_S1TNLLoadIndicator, &ett_x2ap_SCG_UE_HistoryInformation, &ett_x2ap_SecondaryRATUsageReportList, &ett_x2ap_SecondaryRATUsageReport_Item, &ett_x2ap_SecurityIndication, &ett_x2ap_SecurityResult, &ett_x2ap_SensorMeasurementConfiguration, &ett_x2ap_SensorMeasConfigNameList, &ett_x2ap_SensorMeasConfigNameItem, &ett_x2ap_SensorNameConfig, &ett_x2ap_ServedCells, &ett_x2ap_ServedCells_item, &ett_x2ap_ServedCell_Information, &ett_x2ap_ServedCellSpecificInfoReq_NR, &ett_x2ap_ServedCellSpecificInfoReq_NR_Item, &ett_x2ap_SgNBResourceCoordinationInformation, &ett_x2ap_SharedResourceType, &ett_x2ap_SpecialSubframe_Info, &ett_x2ap_SubbandCQI, &ett_x2ap_Subscription_Based_UE_DifferentiationInfo, &ett_x2ap_ScheduledCommunicationTime, &ett_x2ap_SSBAreaCapacityValue_List, &ett_x2ap_SSBAreaCapacityValue_Item, &ett_x2ap_SSBAreaRadioResourceStatus_List, &ett_x2ap_SSBAreaRadioResourceStatus_Item, &ett_x2ap_SSB_PositionsInBurst, &ett_x2ap_SubbandCQICodeword0, &ett_x2ap_SubbandCQICodeword1, &ett_x2ap_SubbandCQIList, &ett_x2ap_SubbandCQIItem, &ett_x2ap_SubframeAllocation, &ett_x2ap_SULInformation, &ett_x2ap_SupportedSULFreqBandItem, &ett_x2ap_SFN_Offset, &ett_x2ap_TABasedMDT, &ett_x2ap_TAIBasedMDT, &ett_x2ap_TAIListforMDT, &ett_x2ap_TAI_Item, &ett_x2ap_TAListforMDT, &ett_x2ap_TABasedQMC, &ett_x2ap_TAListforQMC, &ett_x2ap_TAIBasedQMC, &ett_x2ap_TAIListforQMC, &ett_x2ap_TDD_Info, &ett_x2ap_TDD_InfoNeighbourServedNRCell_Information, &ett_x2ap_TNLA_To_Add_List, &ett_x2ap_TNLA_To_Add_Item, &ett_x2ap_TNLA_To_Update_List, &ett_x2ap_TNLA_To_Update_Item, &ett_x2ap_TNLA_To_Remove_List, &ett_x2ap_TNLA_To_Remove_Item, &ett_x2ap_TNLA_Setup_List, &ett_x2ap_TNLA_Setup_Item, &ett_x2ap_TNLA_Failed_To_Setup_List, &ett_x2ap_TNLA_Failed_To_Setup_Item, &ett_x2ap_TNLCapacityIndicator, &ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_List, &ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Add_Item, &ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_List, &ett_x2ap_Transport_UP_Layer_Addresses_Info_To_Remove_Item, &ett_x2ap_TNLConfigurationInfo, &ett_x2ap_TraceActivation, &ett_x2ap_TransportLayerAddressAndPort, &ett_x2ap_TunnelInformation, &ett_x2ap_UEAggregateMaximumBitRate, &ett_x2ap_UEAppLayerMeasConfig, &ett_x2ap_UE_HistoryInformation, &ett_x2ap_UESecurityCapabilities, &ett_x2ap_UESidelinkAggregateMaximumBitRate, &ett_x2ap_UEsToBeResetList, &ett_x2ap_UEsToBeResetList_Item, &ett_x2ap_ULandDLSharing, &ett_x2ap_ULConfiguration, &ett_x2ap_UL_HighInterferenceIndicationInfo, &ett_x2ap_UL_HighInterferenceIndicationInfo_Item, &ett_x2ap_UL_InterferenceOverloadIndication, &ett_x2ap_ULOnlySharing, &ett_x2ap_ULResourcesULandDLSharing, &ett_x2ap_UsableABSInformation, &ett_x2ap_UsableABSInformationFDD, &ett_x2ap_UsableABSInformationTDD, &ett_x2ap_V2XServicesAuthorized, &ett_x2ap_WidebandCQI, &ett_x2ap_WidebandCQICodeword1, &ett_x2ap_WLANMeasurementConfiguration, &ett_x2ap_WLANMeasConfigNameList, &ett_x2ap_WTID, &ett_x2ap_WTID_Type1, &ett_x2ap_HandoverRequest, &ett_x2ap_UE_ContextInformation, &ett_x2ap_E_RABs_ToBeSetup_List, &ett_x2ap_E_RABs_ToBeSetup_Item, &ett_x2ap_UE_ContextReferenceAtSeNB, &ett_x2ap_UE_ContextReferenceAtWT, &ett_x2ap_UE_ContextReferenceAtSgNB, &ett_x2ap_HandoverRequestAcknowledge, &ett_x2ap_E_RABs_Admitted_List, &ett_x2ap_E_RABs_Admitted_Item, &ett_x2ap_HandoverPreparationFailure, &ett_x2ap_HandoverReport, &ett_x2ap_EarlyStatusTransfer, &ett_x2ap_ProcedureStageChoice, &ett_x2ap_FirstDLCount, &ett_x2ap_DLDiscarding, &ett_x2ap_SNStatusTransfer, &ett_x2ap_E_RABs_SubjectToStatusTransfer_List, &ett_x2ap_E_RABs_SubjectToStatusTransfer_Item, &ett_x2ap_UEContextRelease, &ett_x2ap_HandoverCancel, &ett_x2ap_HandoverSuccess, &ett_x2ap_ConditionalHandoverCancel, &ett_x2ap_ErrorIndication, &ett_x2ap_ResetRequest, &ett_x2ap_ResetResponse, &ett_x2ap_X2SetupRequest, &ett_x2ap_X2SetupResponse, &ett_x2ap_X2SetupFailure, &ett_x2ap_LoadInformation, &ett_x2ap_CellInformation_List, &ett_x2ap_CellInformation_Item, &ett_x2ap_ENBConfigurationUpdate, &ett_x2ap_ServedCellsToModify, &ett_x2ap_ServedCellsToModify_Item, &ett_x2ap_Old_ECGIs, &ett_x2ap_ENBConfigurationUpdateAcknowledge, &ett_x2ap_ENBConfigurationUpdateFailure, &ett_x2ap_ResourceStatusRequest, &ett_x2ap_CellToReport_List, &ett_x2ap_CellToReport_Item, &ett_x2ap_ResourceStatusResponse, &ett_x2ap_MeasurementInitiationResult_List, &ett_x2ap_MeasurementInitiationResult_Item, &ett_x2ap_MeasurementFailureCause_List, &ett_x2ap_MeasurementFailureCause_Item, &ett_x2ap_ResourceStatusFailure, &ett_x2ap_CompleteFailureCauseInformation_List, &ett_x2ap_CompleteFailureCauseInformation_Item, &ett_x2ap_ResourceStatusUpdate, &ett_x2ap_CellMeasurementResult_List, &ett_x2ap_CellMeasurementResult_Item, &ett_x2ap_PrivateMessage, &ett_x2ap_MobilityChangeRequest, &ett_x2ap_MobilityChangeAcknowledge, &ett_x2ap_MobilityChangeFailure, &ett_x2ap_RLFIndication, &ett_x2ap_CellActivationRequest, &ett_x2ap_ServedCellsToActivate, &ett_x2ap_ServedCellsToActivate_Item, &ett_x2ap_CellActivationResponse, &ett_x2ap_ActivatedCellList, &ett_x2ap_ActivatedCellList_Item, &ett_x2ap_CellActivationFailure, &ett_x2ap_X2Release, &ett_x2ap_X2APMessageTransfer, &ett_x2ap_RNL_Header, &ett_x2ap_SeNBAdditionRequest, &ett_x2ap_E_RABs_ToBeAdded_List, &ett_x2ap_E_RABs_ToBeAdded_Item, &ett_x2ap_E_RABs_ToBeAdded_Item_SCG_Bearer, &ett_x2ap_E_RABs_ToBeAdded_Item_Split_Bearer, &ett_x2ap_SeNBAdditionRequestAcknowledge, &ett_x2ap_E_RABs_Admitted_ToBeAdded_List, &ett_x2ap_E_RABs_Admitted_ToBeAdded_Item, &ett_x2ap_E_RABs_Admitted_ToBeAdded_Item_SCG_Bearer, &ett_x2ap_E_RABs_Admitted_ToBeAdded_Item_Split_Bearer, &ett_x2ap_SeNBAdditionRequestReject, &ett_x2ap_SeNBReconfigurationComplete, &ett_x2ap_ResponseInformationSeNBReconfComp, &ett_x2ap_ResponseInformationSeNBReconfComp_SuccessItem, &ett_x2ap_ResponseInformationSeNBReconfComp_RejectByMeNBItem, &ett_x2ap_SeNBModificationRequest, &ett_x2ap_UE_ContextInformationSeNBModReq, &ett_x2ap_E_RABs_ToBeAdded_List_ModReq, &ett_x2ap_E_RABs_ToBeAdded_ModReqItem, &ett_x2ap_E_RABs_ToBeAdded_ModReqItem_SCG_Bearer, &ett_x2ap_E_RABs_ToBeAdded_ModReqItem_Split_Bearer, &ett_x2ap_E_RABs_ToBeModified_List_ModReq, &ett_x2ap_E_RABs_ToBeModified_ModReqItem, &ett_x2ap_E_RABs_ToBeModified_ModReqItem_SCG_Bearer, &ett_x2ap_E_RABs_ToBeModified_ModReqItem_Split_Bearer, &ett_x2ap_E_RABs_ToBeReleased_List_ModReq, &ett_x2ap_E_RABs_ToBeReleased_ModReqItem, &ett_x2ap_E_RABs_ToBeReleased_ModReqItem_SCG_Bearer, &ett_x2ap_E_RABs_ToBeReleased_ModReqItem_Split_Bearer, &ett_x2ap_SeNBModificationRequestAcknowledge, &ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckList, &ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem, &ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_SCG_Bearer, &ett_x2ap_E_RABs_Admitted_ToBeAdded_ModAckItem_Split_Bearer, &ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckList, &ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem, &ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_SCG_Bearer, &ett_x2ap_E_RABs_Admitted_ToBeModified_ModAckItem_Split_Bearer, &ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckList, &ett_x2ap_E_RABs_Admitted_ToReleased_ModAckItem, &ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_SCG_Bearer, &ett_x2ap_E_RABs_Admitted_ToBeReleased_ModAckItem_Split_Bearer, &ett_x2ap_SeNBModificationRequestReject, &ett_x2ap_SeNBModificationRequired, &ett_x2ap_E_RABs_ToBeReleased_ModReqd, &ett_x2ap_E_RABs_ToBeReleased_ModReqdItem, &ett_x2ap_SeNBModificationConfirm, &ett_x2ap_SeNBModificationRefuse, &ett_x2ap_SeNBReleaseRequest, &ett_x2ap_E_RABs_ToBeReleased_List_RelReq, &ett_x2ap_E_RABs_ToBeReleased_RelReqItem, &ett_x2ap_E_RABs_ToBeReleased_RelReqItem_SCG_Bearer, &ett_x2ap_E_RABs_ToBeReleased_RelReqItem_Split_Bearer, &ett_x2ap_SeNBReleaseRequired, &ett_x2ap_SeNBReleaseConfirm, &ett_x2ap_E_RABs_ToBeReleased_List_RelConf, &ett_x2ap_E_RABs_ToBeReleased_RelConfItem, &ett_x2ap_E_RABs_ToBeReleased_RelConfItem_SCG_Bearer, &ett_x2ap_E_RABs_ToBeReleased_RelConfItem_Split_Bearer, &ett_x2ap_SeNBCounterCheckRequest, &ett_x2ap_E_RABs_SubjectToCounterCheck_List, &ett_x2ap_E_RABs_SubjectToCounterCheckItem, &ett_x2ap_X2RemovalRequest, &ett_x2ap_X2RemovalResponse, &ett_x2ap_X2RemovalFailure, &ett_x2ap_RetrieveUEContextRequest, &ett_x2ap_RetrieveUEContextResponse, &ett_x2ap_UE_ContextInformationRetrieve, &ett_x2ap_E_RABs_ToBeSetup_ListRetrieve, &ett_x2ap_E_RABs_ToBeSetupRetrieve_Item, &ett_x2ap_RetrieveUEContextFailure, &ett_x2ap_SgNBAdditionRequest, &ett_x2ap_E_RABs_ToBeAdded_SgNBAddReqList, &ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item, &ett_x2ap_T_resource_configuration, &ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent, &ett_x2ap_SgNBAdditionRequestAcknowledge, &ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList, &ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item, &ett_x2ap_T_resource_configuration_01, &ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_SgNBPDCPnotpresent, &ett_x2ap_SgNBAdditionRequestReject, &ett_x2ap_SgNBReconfigurationComplete, &ett_x2ap_ResponseInformationSgNBReconfComp, &ett_x2ap_ResponseInformationSgNBReconfComp_SuccessItem, &ett_x2ap_ResponseInformationSgNBReconfComp_RejectByMeNBItem, &ett_x2ap_SgNBModificationRequest, &ett_x2ap_UE_ContextInformation_SgNBModReq, &ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_List, &ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item, &ett_x2ap_T_resource_configuration_02, &ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, &ett_x2ap_E_RABs_ToBeModified_SgNBModReq_List, &ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item, &ett_x2ap_T_resource_configuration_03, &ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_ToBeModified_SgNBModReq_Item_SgNBPDCPnotpresent, &ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_List, &ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item, &ett_x2ap_T_resource_configuration_04, &ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent, &ett_x2ap_SgNBModificationRequestAcknowledge, &ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAckList, &ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, &ett_x2ap_T_resource_configuration_05, &ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent, &ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAckList, &ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item, &ett_x2ap_T_resource_configuration_06, &ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_SgNBPDCPnotpresent, &ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAckList, &ett_x2ap_E_RABs_Admitted_ToReleased_SgNBModAck_Item, &ett_x2ap_T_resource_configuration_07, &ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item_SgNBPDCPnotpresent, &ett_x2ap_SgNBModificationRequestReject, &ett_x2ap_SgNBModificationRequired, &ett_x2ap_E_RABs_ToBeReleased_SgNBModReqdList, &ett_x2ap_E_RABs_ToBeReleased_SgNBModReqd_Item, &ett_x2ap_E_RABs_ToBeModified_SgNBModReqdList, &ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item, &ett_x2ap_T_resource_configuration_08, &ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_ToBeModified_SgNBModReqd_Item_SgNBPDCPnotpresent, &ett_x2ap_SgNBModificationConfirm, &ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConfList, &ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item, &ett_x2ap_T_resource_configuration_09, &ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_AdmittedToBeModified_SgNBModConf_Item_SgNBPDCPnotpresent, &ett_x2ap_SgNBModificationRefuse, &ett_x2ap_SgNBReleaseRequest, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqList, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item, &ett_x2ap_T_resource_configuration_10, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelReq_Item_SgNBPDCPnotpresent, &ett_x2ap_SgNBReleaseRequestAcknowledge, &ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList, &ett_x2ap_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item, &ett_x2ap_SgNBReleaseRequestReject, &ett_x2ap_SgNBReleaseRequired, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqdList, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelReqd_Item, &ett_x2ap_SgNBReleaseConfirm, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelConfList, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item, &ett_x2ap_T_resource_configuration_11, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_ToBeReleased_SgNBRelConf_Item_SgNBPDCPnotpresent, &ett_x2ap_SgNBCounterCheckRequest, &ett_x2ap_E_RABs_SubjectToSgNBCounterCheck_List, &ett_x2ap_E_RABs_SubjectToSgNBCounterCheck_Item, &ett_x2ap_SgNBChangeRequired, &ett_x2ap_AccessAndMobilityIndication, &ett_x2ap_SgNBChangeConfirm, &ett_x2ap_E_RABs_ToBeReleased_SgNBChaConfList, &ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item, &ett_x2ap_T_resource_configuration_12, &ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPpresent, &ett_x2ap_E_RABs_ToBeReleased_SgNBChaConf_Item_SgNBPDCPnotpresent, &ett_x2ap_RRCTransfer, &ett_x2ap_SgNBChangeRefuse, &ett_x2ap_ENDCX2SetupRequest, &ett_x2ap_InitiatingNodeType_EndcX2Setup, &ett_x2ap_ServedEUTRAcellsENDCX2ManagementList, &ett_x2ap_ServedEUTRAcellsENDCX2ManagementList_item, &ett_x2ap_ServedNRcellsENDCX2ManagementList, &ett_x2ap_ServedNRcellsENDCX2ManagementList_item, &ett_x2ap_ServedNRCell_Information, &ett_x2ap_T_nrModeInfo, &ett_x2ap_FDD_InfoServedNRCell_Information, &ett_x2ap_TDD_InfoServedNRCell_Information, &ett_x2ap_CellandCapacityAssistInfo, &ett_x2ap_CellAssistanceInformation, &ett_x2ap_Limited_list, &ett_x2ap_Limited_list_item, &ett_x2ap_ENDCX2SetupResponse, &ett_x2ap_RespondingNodeType_EndcX2Setup, &ett_x2ap_ENDCX2SetupFailure, &ett_x2ap_ENDCConfigurationUpdate, &ett_x2ap_InitiatingNodeType_EndcConfigUpdate, &ett_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd, &ett_x2ap_ServedEUTRAcellsToModifyListENDCConfUpd_item, &ett_x2ap_ServedEUTRAcellsToDeleteListENDCConfUpd, &ett_x2ap_ServedNRcellsToModifyENDCConfUpdList, &ett_x2ap_ServedNRCellsToModify_Item, &ett_x2ap_ServedNRcellsToDeleteENDCConfUpdList, &ett_x2ap_ENDCConfigurationUpdateAcknowledge, &ett_x2ap_RespondingNodeType_EndcConfigUpdate, &ett_x2ap_ENDCConfigurationUpdateFailure, &ett_x2ap_ENDCCellActivationRequest, &ett_x2ap_ServedNRCellsToActivate, &ett_x2ap_ServedNRCellsToActivate_Item, &ett_x2ap_ENDCCellActivationResponse, &ett_x2ap_ActivatedNRCellList, &ett_x2ap_ActivatedNRCellList_Item, &ett_x2ap_ENDCCellActivationFailure, &ett_x2ap_ENDCResourceStatusRequest, &ett_x2ap_CellToReport_NR_ENDC_List, &ett_x2ap_CellToReport_NR_ENDC_Item, &ett_x2ap_CellToReport_E_UTRA_ENDC_List, &ett_x2ap_CellToReport_E_UTRA_ENDC_Item, &ett_x2ap_SSBToReport_List, &ett_x2ap_SSBToReport_Item, &ett_x2ap_ENDCResourceStatusResponse, &ett_x2ap_ENDCResourceStatusFailure, &ett_x2ap_ENDCResourceStatusUpdate, &ett_x2ap_CellMeasurementResult_NR_ENDC_List, &ett_x2ap_CellMeasurementResult_NR_ENDC_Item, &ett_x2ap_CellMeasurementResult_E_UTRA_ENDC_List, &ett_x2ap_CellMeasurementResult_E_UTRA_ENDC_Item, &ett_x2ap_SecondaryRATDataUsageReport, &ett_x2ap_SgNBActivityNotification, &ett_x2ap_ENDCPartialResetRequired, &ett_x2ap_ENDCPartialResetConfirm, &ett_x2ap_EUTRANRCellResourceCoordinationRequest, &ett_x2ap_InitiatingNodeType_EutranrCellResourceCoordination, &ett_x2ap_ListofEUTRACellsinEUTRACoordinationReq, &ett_x2ap_ListofEUTRACellsinNRCoordinationReq, &ett_x2ap_ListofNRCellsinNRCoordinationReq, &ett_x2ap_EUTRANRCellResourceCoordinationResponse, &ett_x2ap_RespondingNodeType_EutranrCellResourceCoordination, &ett_x2ap_ListofEUTRACellsinEUTRACoordinationResp, &ett_x2ap_ListofNRCellsinNRCoordinationResp, &ett_x2ap_ENDCX2RemovalRequest, &ett_x2ap_InitiatingNodeType_EndcX2Removal, &ett_x2ap_ENDCX2RemovalResponse, &ett_x2ap_RespondingNodeType_EndcX2Removal, &ett_x2ap_ENDCX2RemovalFailure, &ett_x2ap_DataForwardingAddressIndication, &ett_x2ap_E_RABs_DataForwardingAddress_List, &ett_x2ap_E_RABs_DataForwardingAddress_Item, &ett_x2ap_GNBStatusIndication, &ett_x2ap_ENDCConfigurationTransfer, &ett_x2ap_TraceStart, &ett_x2ap_DeactivateTrace, &ett_x2ap_CellTrafficTrace, &ett_x2ap_F1CTrafficTransfer, &ett_x2ap_UERadioCapabilityIDMappingRequest, &ett_x2ap_UERadioCapabilityIDMappingResponse, &ett_x2ap_CPC_cancel, &ett_x2ap_X2AP_PDU, &ett_x2ap_InitiatingMessage, &ett_x2ap_SuccessfulOutcome, &ett_x2ap_UnsuccessfulOutcome, }; module_t *x2ap_module; /* Register protocol */ proto_x2ap = proto_register_protocol(PNAME, PSNAME, PFNAME); /* Register fields and subtrees */ proto_register_field_array(proto_x2ap, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register dissector */ x2ap_handle = register_dissector("x2ap", dissect_x2ap, proto_x2ap); /* Register dissector tables */ x2ap_ies_dissector_table = register_dissector_table("x2ap.ies", "X2AP-PROTOCOL-IES", proto_x2ap, FT_UINT32, BASE_DEC); x2ap_extension_dissector_table = register_dissector_table("x2ap.extension", "X2AP-PROTOCOL-EXTENSION", proto_x2ap, FT_UINT32, BASE_DEC); x2ap_proc_imsg_dissector_table = register_dissector_table("x2ap.proc.imsg", "X2AP-ELEMENTARY-PROCEDURE InitiatingMessage", proto_x2ap, FT_UINT32, BASE_DEC); x2ap_proc_sout_dissector_table = register_dissector_table("x2ap.proc.sout", "X2AP-ELEMENTARY-PROCEDURE SuccessfulOutcome", proto_x2ap, FT_UINT32, BASE_DEC); x2ap_proc_uout_dissector_table = register_dissector_table("x2ap.proc.uout", "X2AP-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", proto_x2ap, FT_UINT32, BASE_DEC); /* Register configuration options */ x2ap_module = prefs_register_protocol(proto_x2ap, NULL); prefs_register_enum_preference(x2ap_module, "dissect_rrc_context_as", "Dissect RRC Context as", "Select whether RRC Context should be dissected as legacy LTE or NB-IOT", &g_x2ap_dissect_rrc_context_as, x2ap_rrc_context_vals, FALSE); } /*--- proto_reg_handoff_x2ap ---------------------------------------*/ void proto_reg_handoff_x2ap(void) { dissector_add_uint_with_preference("sctp.port", SCTP_PORT_X2AP, x2ap_handle); dissector_add_uint("sctp.ppi", X2AP_PAYLOAD_PROTOCOL_ID, x2ap_handle); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_Item, create_dissector_handle(dissect_E_RABs_Admitted_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_List, create_dissector_handle(dissect_E_RABs_Admitted_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RAB_Item, create_dissector_handle(dissect_E_RAB_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_NotAdmitted_List, create_dissector_handle(dissect_E_RAB_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeSetup_Item, create_dissector_handle(dissect_E_RABs_ToBeSetup_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Cause, create_dissector_handle(dissect_Cause_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellInformation, create_dissector_handle(dissect_CellInformation_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellInformation_Item, create_dissector_handle(dissect_CellInformation_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_New_eNB_UE_X2AP_ID, create_dissector_handle(dissect_UE_X2AP_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Old_eNB_UE_X2AP_ID, create_dissector_handle(dissect_UE_X2AP_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TargetCell_ID, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TargeteNBtoSource_eNBTransparentContainer, create_dissector_handle(dissect_TargeteNBtoSource_eNBTransparentContainer_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TraceActivation, create_dissector_handle(dissect_TraceActivation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_ContextInformation, create_dissector_handle(dissect_UE_ContextInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_HistoryInformation, create_dissector_handle(dissect_UE_HistoryInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_X2AP_ID, create_dissector_handle(dissect_UE_X2AP_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CriticalityDiagnostics, create_dissector_handle(dissect_CriticalityDiagnostics_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_SubjectToStatusTransfer_List, create_dissector_handle(dissect_E_RABs_SubjectToStatusTransfer_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_SubjectToStatusTransfer_Item, create_dissector_handle(dissect_E_RABs_SubjectToStatusTransfer_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedCells, create_dissector_handle(dissect_ServedCells_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_GlobalENB_ID, create_dissector_handle(dissect_GlobalENB_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TimeToWait, create_dissector_handle(dissect_TimeToWait_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_GUMMEI_ID, create_dissector_handle(dissect_GUMMEI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_GUGroupIDList, create_dissector_handle(dissect_GUGroupIDList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedCellsToAdd, create_dissector_handle(dissect_ServedCells_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedCellsToModify, create_dissector_handle(dissect_ServedCellsToModify_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedCellsToDelete, create_dissector_handle(dissect_Old_ECGIs_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Registration_Request, create_dissector_handle(dissect_Registration_Request_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellToReport, create_dissector_handle(dissect_CellToReport_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ReportingPeriodicity, create_dissector_handle(dissect_ReportingPeriodicity_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellToReport_Item, create_dissector_handle(dissect_CellToReport_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellMeasurementResult, create_dissector_handle(dissect_CellMeasurementResult_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellMeasurementResult_Item, create_dissector_handle(dissect_CellMeasurementResult_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_GUGroupIDToAddList, create_dissector_handle(dissect_GUGroupIDList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_GUGroupIDToDeleteList, create_dissector_handle(dissect_GUGroupIDList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SRVCCOperationPossible, create_dissector_handle(dissect_SRVCCOperationPossible_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ReportCharacteristics, create_dissector_handle(dissect_ReportCharacteristics_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ENB1_Measurement_ID, create_dissector_handle(dissect_Measurement_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ENB2_Measurement_ID, create_dissector_handle(dissect_Measurement_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ENB1_Cell_ID, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ENB2_Cell_ID, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ENB2_Proposed_Mobility_Parameters, create_dissector_handle(dissect_MobilityParametersInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ENB1_Mobility_Parameters, create_dissector_handle(dissect_MobilityParametersInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ENB2_Mobility_Parameters_Modification_Range, create_dissector_handle(dissect_MobilityParametersModificationRange_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_FailureCellPCI, create_dissector_handle(dissect_PCI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Re_establishmentCellECGI, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_FailureCellCRNTI, create_dissector_handle(dissect_CRNTI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ShortMAC_I, create_dissector_handle(dissect_ShortMAC_I_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SourceCellECGI, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_FailureCellECGI, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_HandoverReportType, create_dissector_handle(dissect_HandoverReportType_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_RLF_Report_Container, create_dissector_handle(dissect_UE_RLF_Report_Container_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedCellsToActivate, create_dissector_handle(dissect_ServedCellsToActivate_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ActivatedCellList, create_dissector_handle(dissect_ActivatedCellList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_PartialSuccessIndicator, create_dissector_handle(dissect_PartialSuccessIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeasurementInitiationResult_List, create_dissector_handle(dissect_MeasurementInitiationResult_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeasurementInitiationResult_Item, create_dissector_handle(dissect_MeasurementInitiationResult_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeasurementFailureCause_Item, create_dissector_handle(dissect_MeasurementFailureCause_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CompleteFailureCauseInformation_List, create_dissector_handle(dissect_CompleteFailureCauseInformation_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CompleteFailureCauseInformation_Item, create_dissector_handle(dissect_CompleteFailureCauseInformation_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CSGMembershipStatus, create_dissector_handle(dissect_CSGMembershipStatus_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RRCConnSetupIndicator, create_dissector_handle(dissect_RRCConnSetupIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RRCConnReestabIndicator, create_dissector_handle(dissect_RRCConnReestabIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TargetCellInUTRAN, create_dissector_handle(dissect_TargetCellInUTRAN_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MobilityInformation, create_dissector_handle(dissect_MobilityInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SourceCellCRNTI, create_dissector_handle(dissect_CRNTI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Masked_IMEISV, create_dissector_handle(dissect_Masked_IMEISV_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RNL_Header, create_dissector_handle(dissect_RNL_Header_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_x2APMessage, create_dissector_handle(dissect_X2AP_Message_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ProSeAuthorized, create_dissector_handle(dissect_ProSeAuthorized_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ExpectedUEBehaviour, create_dissector_handle(dissect_ExpectedUEBehaviour_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_HistoryInformationFromTheUE, create_dissector_handle(dissect_UE_HistoryInformationFromTheUE_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_RLF_Report_Container_for_extended_bands, create_dissector_handle(dissect_UE_RLF_Report_Container_for_extended_bands_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ReportingPeriodicityRSRPMR, create_dissector_handle(dissect_ReportingPeriodicityRSRPMR_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeNB_UE_X2AP_ID, create_dissector_handle(dissect_UE_X2AP_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SeNB_UE_X2AP_ID, create_dissector_handle(dissect_UE_X2AP_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_SecurityCapabilities, create_dissector_handle(dissect_UESecurityCapabilities_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SeNBSecurityKey, create_dissector_handle(dissect_SeNBSecurityKey_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SeNBUEAggregateMaximumBitRate, create_dissector_handle(dissect_UEAggregateMaximumBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServingPLMN, create_dissector_handle(dissect_PLMN_Identity_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeAdded_List, create_dissector_handle(dissect_E_RABs_ToBeAdded_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeAdded_Item, create_dissector_handle(dissect_E_RABs_ToBeAdded_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeNBtoSeNBContainer, create_dissector_handle(dissect_MeNBtoSeNBContainer_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeAdded_List, create_dissector_handle(dissect_E_RABs_Admitted_ToBeAdded_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeAdded_Item, create_dissector_handle(dissect_E_RABs_Admitted_ToBeAdded_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SeNBtoMeNBContainer, create_dissector_handle(dissect_SeNBtoMeNBContainer_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ResponseInformationSeNBReconfComp, create_dissector_handle(dissect_ResponseInformationSeNBReconfComp_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_ContextInformationSeNBModReq, create_dissector_handle(dissect_UE_ContextInformationSeNBModReq_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeAdded_ModReqItem, create_dissector_handle(dissect_E_RABs_ToBeAdded_ModReqItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeModified_ModReqItem, create_dissector_handle(dissect_E_RABs_ToBeModified_ModReqItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_ModReqItem, create_dissector_handle(dissect_E_RABs_ToBeReleased_ModReqItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeAdded_ModAckList, create_dissector_handle(dissect_E_RABs_Admitted_ToBeAdded_ModAckList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeModified_ModAckList, create_dissector_handle(dissect_E_RABs_Admitted_ToBeModified_ModAckList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeReleased_ModAckList, create_dissector_handle(dissect_E_RABs_Admitted_ToBeReleased_ModAckList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeAdded_ModAckItem, create_dissector_handle(dissect_E_RABs_Admitted_ToBeAdded_ModAckItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeModified_ModAckItem, create_dissector_handle(dissect_E_RABs_Admitted_ToBeModified_ModAckItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeReleased_ModAckItem, create_dissector_handle(dissect_E_RABs_Admitted_ToReleased_ModAckItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_ModReqd, create_dissector_handle(dissect_E_RABs_ToBeReleased_ModReqd_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_ModReqdItem, create_dissector_handle(dissect_E_RABs_ToBeReleased_ModReqdItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SCGChangeIndication, create_dissector_handle(dissect_SCGChangeIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_List_RelReq, create_dissector_handle(dissect_E_RABs_ToBeReleased_List_RelReq_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_RelReqItem, create_dissector_handle(dissect_E_RABs_ToBeReleased_RelReqItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_List_RelConf, create_dissector_handle(dissect_E_RABs_ToBeReleased_List_RelConf_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_RelConfItem, create_dissector_handle(dissect_E_RABs_ToBeReleased_RelConfItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_SubjectToCounterCheck_List, create_dissector_handle(dissect_E_RABs_SubjectToCounterCheck_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_SubjectToCounterCheckItem, create_dissector_handle(dissect_E_RABs_SubjectToCounterCheckItem_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CoverageModificationList, create_dissector_handle(dissect_CoverageModificationList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ReportingPeriodicityCSIR, create_dissector_handle(dissect_ReportingPeriodicityCSIR_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_ContextReferenceAtSeNB, create_dissector_handle(dissect_UE_ContextReferenceAtSeNB_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_ContextKeptIndicator, create_dissector_handle(dissect_UE_ContextKeptIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_New_eNB_UE_X2AP_ID_Extension, create_dissector_handle(dissect_UE_X2AP_ID_Extension_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Old_eNB_UE_X2AP_ID_Extension, create_dissector_handle(dissect_UE_X2AP_ID_Extension_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeNB_UE_X2AP_ID_Extension, create_dissector_handle(dissect_UE_X2AP_ID_Extension_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SeNB_UE_X2AP_ID_Extension, create_dissector_handle(dissect_UE_X2AP_ID_Extension_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_LHN_ID, create_dissector_handle(dissect_LHN_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Tunnel_Information_for_BBF, create_dissector_handle(dissect_TunnelInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SIPTO_BearerDeactivationIndication, create_dissector_handle(dissect_SIPTOBearerDeactivationIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_GW_TransportLayerAddress, create_dissector_handle(dissect_TransportLayerAddress_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SIPTO_L_GW_TransportLayerAddress, create_dissector_handle(dissect_TransportLayerAddress_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_X2RemovalThreshold, create_dissector_handle(dissect_X2BenefitValue_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_resumeID, create_dissector_handle(dissect_ResumeID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_ContextInformationRetrieve, create_dissector_handle(dissect_UE_ContextInformationRetrieve_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeSetupRetrieve_Item, create_dissector_handle(dissect_E_RABs_ToBeSetupRetrieve_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_NewEUTRANCellIdentifier, create_dissector_handle(dissect_EUTRANCellIdentifier_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_V2XServicesAuthorized, create_dissector_handle(dissect_V2XServicesAuthorized_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_ContextReferenceAtWT, create_dissector_handle(dissect_UE_ContextReferenceAtWT_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_WT_UE_ContextKeptIndicator, create_dissector_handle(dissect_UE_ContextKeptIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MakeBeforeBreakIndicator, create_dissector_handle(dissect_MakeBeforeBreakIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SgNBSecurityKey, create_dissector_handle(dissect_SgNBSecurityKey_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SgNBUEAggregateMaximumBitRate, create_dissector_handle(dissect_UEAggregateMaximumBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeAdded_SgNBAddReqList, create_dissector_handle(dissect_E_RABs_ToBeAdded_SgNBAddReqList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeNBtoSgNBContainer, create_dissector_handle(dissect_MeNBtoSgNBContainer_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SgNB_UE_X2AP_ID, create_dissector_handle(dissect_SgNB_UE_X2AP_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RequestedSplitSRBs, create_dissector_handle(dissect_SplitSRBs_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeAdded_SgNBAddReq_Item, create_dissector_handle(dissect_E_RABs_ToBeAdded_SgNBAddReq_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList, create_dissector_handle(dissect_E_RABs_Admitted_ToBeAdded_SgNBAddReqAckList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SgNBtoMeNBContainer, create_dissector_handle(dissect_SgNBtoMeNBContainer_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_AdmittedSplitSRBs, create_dissector_handle(dissect_SplitSRBs_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item, create_dissector_handle(dissect_E_RABs_Admitted_ToBeAdded_SgNBAddReqAck_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ResponseInformationSgNBReconfComp, create_dissector_handle(dissect_ResponseInformationSgNBReconfComp_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_ContextInformation_SgNBModReq, create_dissector_handle(dissect_UE_ContextInformation_SgNBModReq_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeAdded_SgNBModReq_Item, create_dissector_handle(dissect_E_RABs_ToBeAdded_SgNBModReq_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeModified_SgNBModReq_Item, create_dissector_handle(dissect_E_RABs_ToBeModified_SgNBModReq_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBModReq_Item, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBModReq_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeAdded_SgNBModAckList, create_dissector_handle(dissect_E_RABs_Admitted_ToBeAdded_SgNBModAckList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeModified_SgNBModAckList, create_dissector_handle(dissect_E_RABs_Admitted_ToBeModified_SgNBModAckList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeReleased_SgNBModAckList, create_dissector_handle(dissect_E_RABs_Admitted_ToBeReleased_SgNBModAckList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, create_dissector_handle(dissect_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeModified_SgNBModAck_Item, create_dissector_handle(dissect_E_RABs_Admitted_ToBeModified_SgNBModAck_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeReleased_SgNBModAck_Item, create_dissector_handle(dissect_E_RABs_Admitted_ToReleased_SgNBModAck_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBModReqdList, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBModReqdList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeModified_SgNBModReqdList, create_dissector_handle(dissect_E_RABs_ToBeModified_SgNBModReqdList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBModReqd_Item, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBModReqd_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeModified_SgNBModReqd_Item, create_dissector_handle(dissect_E_RABs_ToBeModified_SgNBModReqd_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBChaConfList, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBChaConfList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBChaConf_Item, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBChaConf_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBRelReqList, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBRelReqList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBRelReq_Item, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBRelReq_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBRelConfList, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBRelConfList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBRelConf_Item, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBRelConf_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_SubjectToSgNBCounterCheck_List, create_dissector_handle(dissect_E_RABs_SubjectToSgNBCounterCheck_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_SubjectToSgNBCounterCheck_Item, create_dissector_handle(dissect_E_RABs_SubjectToSgNBCounterCheck_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Target_SgNB_ID, create_dissector_handle(dissect_GlobalGNB_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_HandoverRestrictionList, create_dissector_handle(dissect_HandoverRestrictionList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SCGConfigurationQuery, create_dissector_handle(dissect_SCGConfigurationQuery_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SplitSRB, create_dissector_handle(dissect_SplitSRB_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_NRUeReport, create_dissector_handle(dissect_NRUeReport_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_InitiatingNodeType_EndcX2Setup, create_dissector_handle(dissect_InitiatingNodeType_EndcX2Setup_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_InitiatingNodeType_EndcConfigUpdate, create_dissector_handle(dissect_InitiatingNodeType_EndcConfigUpdate_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RespondingNodeType_EndcX2Setup, create_dissector_handle(dissect_RespondingNodeType_EndcX2Setup_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RespondingNodeType_EndcConfigUpdate, create_dissector_handle(dissect_RespondingNodeType_EndcConfigUpdate_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_NRUESecurityCapabilities, create_dissector_handle(dissect_NRUESecurityCapabilities_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_PDCPChangeIndication, create_dissector_handle(dissect_PDCPChangeIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedEUTRAcellsENDCX2ManagementList, create_dissector_handle(dissect_ServedEUTRAcellsENDCX2ManagementList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellAssistanceInformation, create_dissector_handle(dissect_CellAssistanceInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Globalen_gNB_ID, create_dissector_handle(dissect_GlobalGNB_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedNRcellsENDCX2ManagementList, create_dissector_handle(dissect_ServedNRcellsENDCX2ManagementList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UE_ContextReferenceAtSgNB, create_dissector_handle(dissect_UE_ContextReferenceAtSgNB_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ActivationID, create_dissector_handle(dissect_ActivationID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeNBResourceCoordinationInformation, create_dissector_handle(dissect_x2ap_MeNBResourceCoordinationInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SgNBResourceCoordinationInformation, create_dissector_handle(dissect_x2ap_SgNBResourceCoordinationInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedEUTRAcellsToModifyListENDCConfUpd, create_dissector_handle(dissect_ServedEUTRAcellsToModifyListENDCConfUpd_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedEUTRAcellsToDeleteListENDCConfUpd, create_dissector_handle(dissect_ServedEUTRAcellsToDeleteListENDCConfUpd_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedNRcellsToModifyListENDCConfUpd, create_dissector_handle(dissect_ServedNRcellsToModifyENDCConfUpdList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedNRcellsToDeleteListENDCConfUpd, create_dissector_handle(dissect_ServedNRcellsToDeleteENDCConfUpdList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABUsageReport_Item, create_dissector_handle(dissect_E_RABUsageReport_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Old_SgNB_UE_X2AP_ID, create_dissector_handle(dissect_SgNB_UE_X2AP_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SecondaryRATUsageReportList, create_dissector_handle(dissect_SecondaryRATUsageReportList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SecondaryRATUsageReport_Item, create_dissector_handle(dissect_SecondaryRATUsageReport_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ServedNRCellsToActivate, create_dissector_handle(dissect_ServedNRCellsToActivate_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ActivatedNRCellList, create_dissector_handle(dissect_ActivatedNRCellList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SelectedPLMN, create_dissector_handle(dissect_PLMN_Identity_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UEs_ToBeReset, create_dissector_handle(dissect_UEsToBeResetList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UEs_Admitted_ToBeReset, create_dissector_handle(dissect_UEsToBeResetList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RRCConfigIndication, create_dissector_handle(dissect_RRC_Config_Ind_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SubscriberProfileIDforRFP, create_dissector_handle(dissect_SubscriberProfileIDforRFP_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_AerialUEsubscriptionInformation, create_dissector_handle(dissect_AerialUEsubscriptionInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SGNB_Addition_Trigger_Ind, create_dissector_handle(dissect_SGNB_Addition_Trigger_Ind_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MeNBCell_ID, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RequestedSplitSRBsrelease, create_dissector_handle(dissect_SplitSRBs_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_AdmittedSplitSRBsrelease, create_dissector_handle(dissect_SplitSRBs_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_InitiatingNodeType_EutranrCellResourceCoordination, create_dissector_handle(dissect_InitiatingNodeType_EutranrCellResourceCoordination_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RespondingNodeType_EutranrCellResourceCoordination, create_dissector_handle(dissect_RespondingNodeType_EutranrCellResourceCoordination_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_DataTrafficResourceIndication, create_dissector_handle(dissect_DataTrafficResourceIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SpectrumSharingGroupID, create_dissector_handle(dissect_SpectrumSharingGroupID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ListofEUTRACellsinEUTRACoordinationReq, create_dissector_handle(dissect_ListofEUTRACellsinEUTRACoordinationReq_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ListofEUTRACellsinEUTRACoordinationResp, create_dissector_handle(dissect_ListofEUTRACellsinEUTRACoordinationResp_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ListofEUTRACellsinNRCoordinationReq, create_dissector_handle(dissect_ListofEUTRACellsinNRCoordinationReq_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ListofNRCellsinNRCoordinationReq, create_dissector_handle(dissect_ListofNRCellsinNRCoordinationReq_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ListofNRCellsinNRCoordinationResp, create_dissector_handle(dissect_ListofNRCellsinNRCoordinationResp_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_AdmittedToBeModified_SgNBModConfList, create_dissector_handle(dissect_E_RABs_AdmittedToBeModified_SgNBModConfList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_AdmittedToBeModified_SgNBModConf_Item, create_dissector_handle(dissect_E_RABs_AdmittedToBeModified_SgNBModConf_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UEContextLevelUserPlaneActivity, create_dissector_handle(dissect_UserPlaneTrafficActivityReport_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ERABActivityNotifyItemList, create_dissector_handle(dissect_ERABActivityNotifyItemList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_InitiatingNodeType_EndcX2Removal, create_dissector_handle(dissect_InitiatingNodeType_EndcX2Removal_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RespondingNodeType_EndcX2Removal, create_dissector_handle(dissect_RespondingNodeType_EndcX2Removal_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_DataForwardingAddress_List, create_dissector_handle(dissect_E_RABs_DataForwardingAddress_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_DataForwardingAddress_Item, create_dissector_handle(dissect_E_RABs_DataForwardingAddress_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_Subscription_Based_UE_DifferentiationInfo, create_dissector_handle(dissect_Subscription_Based_UE_DifferentiationInfo_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_GNBOverloadInformation, create_dissector_handle(dissect_GNBOverloadInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList, create_dissector_handle(dissect_E_RABs_Admitted_ToBeReleased_SgNBRelReqAckList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item, create_dissector_handle(dissect_E_RABs_Admitted_ToBeReleased_SgNBRelReqAck_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBRelReqdList, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBRelReqdList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_RABs_ToBeReleased_SgNBRelReqd_Item, create_dissector_handle(dissect_E_RABs_ToBeReleased_SgNBRelReqd_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_endcSONConfigurationTransfer, create_dissector_handle(dissect_EndcSONConfigurationTransfer_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_DesiredActNotificationLevel, create_dissector_handle(dissect_DesiredActNotificationLevel_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_LocationInformationSgNBReporting, create_dissector_handle(dissect_LocationInformationSgNBReporting_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_LocationInformationSgNB, create_dissector_handle(dissect_LocationInformationSgNB_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_EUTRANTraceID, create_dissector_handle(dissect_EUTRANTraceID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_InterfaceInstanceIndication, create_dissector_handle(dissect_InterfaceInstanceIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ERABs_transferred_to_MeNB, create_dissector_handle(dissect_E_RAB_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_AdditionalRRMPriorityIndex, create_dissector_handle(dissect_AdditionalRRMPriorityIndex_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_FastMCGRecovery_SN_to_MN, create_dissector_handle(dissect_FastMCGRecovery_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RequestedFastMCGRecoveryViaSRB3, create_dissector_handle(dissect_RequestedFastMCGRecoveryViaSRB3_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_AvailableFastMCGRecoveryViaSRB3, create_dissector_handle(dissect_AvailableFastMCGRecoveryViaSRB3_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RequestedFastMCGRecoveryViaSRB3Release, create_dissector_handle(dissect_RequestedFastMCGRecoveryViaSRB3Release_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ReleaseFastMCGRecoveryViaSRB3, create_dissector_handle(dissect_ReleaseFastMCGRecoveryViaSRB3_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_FastMCGRecovery_MN_to_SN, create_dissector_handle(dissect_FastMCGRecovery_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_PartialListIndicator, create_dissector_handle(dissect_PartialListIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_MessageOversizeNotification, create_dissector_handle(dissect_MessageOversizeNotification_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellandCapacityAssistInfo, create_dissector_handle(dissect_CellandCapacityAssistInfo_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TNLConfigurationInfo, create_dissector_handle(dissect_TNLConfigurationInfo_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TNLA_To_Add_List, create_dissector_handle(dissect_TNLA_To_Add_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TNLA_To_Update_List, create_dissector_handle(dissect_TNLA_To_Update_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TNLA_To_Remove_List, create_dissector_handle(dissect_TNLA_To_Remove_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TNLA_Setup_List, create_dissector_handle(dissect_TNLA_Setup_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TNLA_Failed_To_Setup_List, create_dissector_handle(dissect_TNLA_Failed_To_Setup_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UEContextReferenceatSourceNGRAN, create_dissector_handle(dissect_RAN_UE_NGAP_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CHOinformation_REQ, create_dissector_handle(dissect_CHOinformation_REQ_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CHOinformation_ACK, create_dissector_handle(dissect_CHOinformation_ACK_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_RequestedTargetCellID, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CandidateCellsToBeCancelledList, create_dissector_handle(dissect_CandidateCellsToBeCancelledList_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_ProcedureStage, create_dissector_handle(dissect_ProcedureStageChoice_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CHO_DC_Indicator, create_dissector_handle(dissect_CHO_DC_Indicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_NRV2XServicesAuthorized, create_dissector_handle(dissect_NRV2XServicesAuthorized_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_PC5QoSParameters, create_dissector_handle(dissect_PC5QoSParameters_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_NBIoT_RLF_Report_Container, create_dissector_handle(dissect_NBIoT_RLF_Report_Container_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_PrivacyIndicator, create_dissector_handle(dissect_PrivacyIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TraceCollectionEntityIPAddress, create_dissector_handle(dissect_TransportLayerAddress_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UERadioCapabilityID, create_dissector_handle(dissect_UERadioCapabilityID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SNtriggered, create_dissector_handle(dissect_SNtriggered_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_TargetCellInNGRAN, create_dissector_handle(dissect_TargetCellInNGRAN_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_UTRAN_Node1_Measurement_ID, create_dissector_handle(dissect_Measurement_ID_ENDC_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_E_UTRAN_Node2_Measurement_ID, create_dissector_handle(dissect_Measurement_ID_ENDC_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellToReport_NR_ENDC, create_dissector_handle(dissect_CellToReport_NR_ENDC_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellToReport_NR_ENDC_Item, create_dissector_handle(dissect_CellToReport_NR_ENDC_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellMeasurementResult_NR_ENDC, create_dissector_handle(dissect_CellMeasurementResult_NR_ENDC_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellMeasurementResult_NR_ENDC_Item, create_dissector_handle(dissect_CellMeasurementResult_NR_ENDC_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_IABNodeIndication, create_dissector_handle(dissect_IABNodeIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_F1CTrafficContainer, create_dissector_handle(dissect_F1CTrafficContainer_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_UERadioCapability, create_dissector_handle(dissect_UERadioCapability_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellMeasurementResult_E_UTRA_ENDC, create_dissector_handle(dissect_CellMeasurementResult_E_UTRA_ENDC_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellMeasurementResult_E_UTRA_ENDC_Item, create_dissector_handle(dissect_CellMeasurementResult_E_UTRA_ENDC_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellToReport_E_UTRA_ENDC, create_dissector_handle(dissect_CellToReport_E_UTRA_ENDC_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CellToReport_E_UTRA_ENDC_Item, create_dissector_handle(dissect_CellToReport_E_UTRA_ENDC_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CHO_DC_EarlyDataForwarding, create_dissector_handle(dissect_CHO_DC_EarlyDataForwarding_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_DirectForwardingPathAvailability, create_dissector_handle(dissect_DirectForwardingPathAvailability_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_sourceNG_RAN_node_id, create_dissector_handle(dissect_Global_RAN_NODE_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_NRRACHReportInformation, create_dissector_handle(dissect_NRRACHReportInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SCG_UE_HistoryInformation, create_dissector_handle(dissect_SCG_UE_HistoryInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_PSCellHistoryInformationRetrieve, create_dissector_handle(dissect_PSCellHistoryInformationRetrieve_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_PSCellChangeHistory, create_dissector_handle(dissect_PSCellChangeHistory_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CHOinformation_AddReq, create_dissector_handle(dissect_CHOinformation_AddReq_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CHOinformation_ModReq, create_dissector_handle(dissect_CHOinformation_ModReq_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SCGActivationStatus, create_dissector_handle(dissect_SCGActivationStatus_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SCGActivationRequest, create_dissector_handle(dissect_SCGActivationRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPAinformation_REQ, create_dissector_handle(dissect_CPAinformation_REQ_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPAinformation_REQ_ACK, create_dissector_handle(dissect_CPAinformation_REQ_ACK_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPAinformation_MOD, create_dissector_handle(dissect_CPAinformation_MOD_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPAinformation_MOD_ACK, create_dissector_handle(dissect_CPAinformation_MOD_ACK_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPACinformation_REQD, create_dissector_handle(dissect_CPACinformation_REQD_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPCinformation_REQD, create_dissector_handle(dissect_CPCinformation_REQD_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPCinformation_CONF, create_dissector_handle(dissect_CPCinformation_CONF_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPCinformation_NOTIFY, create_dissector_handle(dissect_CPCinformation_NOTIFY_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_CPCupdate_MOD, create_dissector_handle(dissect_CPCupdate_MOD_PDU, proto_x2ap)); dissector_add_uint("x2ap.ies", id_SCGreconfigNotification, create_dissector_handle(dissect_SCGreconfigNotification_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_Number_of_Antennaports, create_dissector_handle(dissect_Number_of_Antennaports_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_CompositeAvailableCapacityGroup, create_dissector_handle(dissect_CompositeAvailableCapacityGroup_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_PRACH_Configuration, create_dissector_handle(dissect_PRACH_Configuration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MBSFN_Subframe_Info, create_dissector_handle(dissect_MBSFN_Subframe_Infolist_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DeactivationIndication, create_dissector_handle(dissect_DeactivationIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ABSInformation, create_dissector_handle(dissect_ABSInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_InvokeIndication, create_dissector_handle(dissect_InvokeIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ABS_Status, create_dissector_handle(dissect_ABS_Status_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_CSG_Id, create_dissector_handle(dissect_CSG_Id_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MDTConfiguration, create_dissector_handle(dissect_MDT_Configuration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ManagementBasedMDTallowed, create_dissector_handle(dissect_ManagementBasedMDTallowed_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NeighbourTAC, create_dissector_handle(dissect_TAC_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_Time_UE_StayedInCell_EnhancedGranularity, create_dissector_handle(dissect_Time_UE_StayedInCell_EnhancedGranularity_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MBMS_Service_Area_List, create_dissector_handle(dissect_MBMS_Service_Area_Identity_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_HO_cause, create_dissector_handle(dissect_Cause_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MultibandInfoList, create_dissector_handle(dissect_MultibandInfoList_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_M3Configuration, create_dissector_handle(dissect_M3Configuration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_M4Configuration, create_dissector_handle(dissect_M4Configuration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_M5Configuration, create_dissector_handle(dissect_M5Configuration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MDT_Location_Info, create_dissector_handle(dissect_MDT_Location_Info_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ManagementBasedMDTPLMNList, create_dissector_handle(dissect_MDTPLMNList_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SignallingBasedMDTPLMNList, create_dissector_handle(dissect_MDTPLMNList_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ReceiveStatusOfULPDCPSDUsExtended, create_dissector_handle(dissect_ReceiveStatusOfULPDCPSDUsExtended_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ULCOUNTValueExtended, create_dissector_handle(dissect_COUNTValueExtended_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DLCOUNTValueExtended, create_dissector_handle(dissect_COUNTValueExtended_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_eARFCNExtension, create_dissector_handle(dissect_EARFCNExtension_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_UL_EARFCNExtension, create_dissector_handle(dissect_EARFCNExtension_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DL_EARFCNExtension, create_dissector_handle(dissect_EARFCNExtension_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_AdditionalSpecialSubframe_Info, create_dissector_handle(dissect_AdditionalSpecialSubframe_Info_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_IntendedULDLConfiguration, create_dissector_handle(dissect_SubframeAssignment_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ExtendedULInterferenceOverloadInfo, create_dissector_handle(dissect_ExtendedULInterferenceOverloadInfo_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DynamicDLTransmissionInformation, create_dissector_handle(dissect_DynamicDLTransmissionInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_CoMPInformation, create_dissector_handle(dissect_CoMPInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_RSRPMRList, create_dissector_handle(dissect_RSRPMRList_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_CSIReportList, create_dissector_handle(dissect_CSIReportList_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_UEID, create_dissector_handle(dissect_UEID_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_enhancedRNTP, create_dissector_handle(dissect_EnhancedRNTP_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ProSeUEtoNetworkRelaying, create_dissector_handle(dissect_ProSeUEtoNetworkRelaying_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18, create_dissector_handle(dissect_ReceiveStatusOfULPDCPSDUsPDCP_SNlength18_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ULCOUNTValuePDCP_SNlength18, create_dissector_handle(dissect_COUNTvaluePDCP_SNlength18_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DLCOUNTValuePDCP_SNlength18, create_dissector_handle(dissect_COUNTvaluePDCP_SNlength18_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_FreqBandIndicatorPriority, create_dissector_handle(dissect_FreqBandIndicatorPriority_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_M6Configuration, create_dissector_handle(dissect_M6Configuration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_M7Configuration, create_dissector_handle(dissect_M7Configuration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_Correlation_ID, create_dissector_handle(dissect_Correlation_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SIPTO_Correlation_ID, create_dissector_handle(dissect_Correlation_ID_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_CellReportingIndicator, create_dissector_handle(dissect_CellReportingIndicator_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_BearerType, create_dissector_handle(dissect_BearerType_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_OffsetOfNbiotChannelNumberToDL_EARFCN, create_dissector_handle(dissect_OffsetOfNbiotChannelNumberToEARFCN_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_OffsetOfNbiotChannelNumberToUL_EARFCN, create_dissector_handle(dissect_OffsetOfNbiotChannelNumberToEARFCN_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_uL_GTPtunnelEndpoint, create_dissector_handle(dissect_GTPtunnelEndpoint_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_UESidelinkAggregateMaximumBitRate, create_dissector_handle(dissect_UESidelinkAggregateMaximumBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_BandwidthReducedSI, create_dissector_handle(dissect_BandwidthReducedSI_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_AdditionalSpecialSubframeExtension_Info, create_dissector_handle(dissect_AdditionalSpecialSubframeExtension_Info_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DL_scheduling_PDCCH_CCE_usage, create_dissector_handle(dissect_DL_scheduling_PDCCH_CCE_usage_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_UL_scheduling_PDCCH_CCE_usage, create_dissector_handle(dissect_UL_scheduling_PDCCH_CCE_usage_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_UEAppLayerMeasConfig, create_dissector_handle(dissect_UEAppLayerMeasConfig_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_extended_e_RAB_MaximumBitrateDL, create_dissector_handle(dissect_ExtendedBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_extended_e_RAB_MaximumBitrateUL, create_dissector_handle(dissect_ExtendedBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_extended_e_RAB_GuaranteedBitrateDL, create_dissector_handle(dissect_ExtendedBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_extended_e_RAB_GuaranteedBitrateUL, create_dissector_handle(dissect_ExtendedBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_extended_uEaggregateMaximumBitRateDownlink, create_dissector_handle(dissect_ExtendedBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_extended_uEaggregateMaximumBitRateUplink, create_dissector_handle(dissect_ExtendedBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NRrestrictioninEPSasSecondaryRAT, create_dissector_handle(dissect_NRrestrictioninEPSasSecondaryRAT_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DownlinkPacketLossRate, create_dissector_handle(dissect_Packet_LossRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_UplinkPacketLossRate, create_dissector_handle(dissect_Packet_LossRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SubscriberProfileIDforRFP, create_dissector_handle(dissect_SubscriberProfileIDforRFP_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_serviceType, create_dissector_handle(dissect_ServiceType_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NRS_NSSS_PowerOffset, create_dissector_handle(dissect_NRS_NSSS_PowerOffset_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NSSS_NumOccasionDifferentPrecoder, create_dissector_handle(dissect_NSSS_NumOccasionDifferentPrecoder_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ProtectedEUTRAResourceIndication, create_dissector_handle(dissect_x2ap_ProtectedEUTRAResourceIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_RLC_Status, create_dissector_handle(dissect_RLC_Status_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_CNTypeRestrictions, create_dissector_handle(dissect_CNTypeRestrictions_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_uLpDCPSnLength, create_dissector_handle(dissect_PDCPSnLength_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_BluetoothMeasurementConfiguration, create_dissector_handle(dissect_BluetoothMeasurementConfiguration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_WLANMeasurementConfiguration, create_dissector_handle(dissect_WLANMeasurementConfiguration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NRrestrictionin5GS, create_dissector_handle(dissect_NRrestrictionin5GS_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_dL_Forwarding, create_dissector_handle(dissect_DL_Forwarding_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_dLPDCPSnLength, create_dissector_handle(dissect_PDCPSnLength_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_secondarysgNBDLGTPTEIDatPDCP, create_dissector_handle(dissect_GTPtunnelEndpoint_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_secondarymeNBULGTPTEIDatPDCP, create_dissector_handle(dissect_GTPtunnelEndpoint_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_lCID, create_dissector_handle(dissect_LCID_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_duplicationActivation, create_dissector_handle(dissect_DuplicationActivation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ECGI, create_dissector_handle(dissect_ECGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_RLCMode_transferred, create_dissector_handle(dissect_RLCMode_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NRCGI, create_dissector_handle(dissect_NRCGI_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MeNBCoordinationAssistanceInformation, create_dissector_handle(dissect_MeNBCoordinationAssistanceInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SgNBCoordinationAssistanceInformation, create_dissector_handle(dissect_SgNBCoordinationAssistanceInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_new_drb_ID_req, create_dissector_handle(dissect_NewDRBIDrequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NRNeighbourInfoToAdd, create_dissector_handle(dissect_NRNeighbour_Information_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NRNeighbourInfoToModify, create_dissector_handle(dissect_NRNeighbour_Information_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_LastNG_RANPLMNIdentity, create_dissector_handle(dissect_PLMN_Identity_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_additionalPLMNs_Item, create_dissector_handle(dissect_AdditionalPLMNs_Item_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_BPLMN_ID_Info_EUTRA, create_dissector_handle(dissect_BPLMN_ID_Info_EUTRA_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_BPLMN_ID_Info_NR, create_dissector_handle(dissect_BPLMN_ID_Info_NR_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NBIoT_UL_DL_AlignmentOffset, create_dissector_handle(dissect_NBIoT_UL_DL_AlignmentOffset_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_EPCHandoverRestrictionListContainer, create_dissector_handle(dissect_EPCHandoverRestrictionListContainer_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_AdditionalRRMPriorityIndex, create_dissector_handle(dissect_AdditionalRRMPriorityIndex_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_LowerLayerPresenceStatusChange, create_dissector_handle(dissect_LowerLayerPresenceStatusChange_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_UnlicensedSpectrumRestriction, create_dissector_handle(dissect_UnlicensedSpectrumRestriction_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DAPSRequestInfo, create_dissector_handle(dissect_DAPSRequestInfo_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DAPSResponseInfo, create_dissector_handle(dissect_DAPSResponseInfo_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_Ethernet_Type, create_dissector_handle(dissect_Ethernet_Type_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NRUESidelinkAggregateMaximumBitRate, create_dissector_handle(dissect_NRUESidelinkAggregateMaximumBitRate_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NPRACHConfiguration, create_dissector_handle(dissect_NPRACHConfiguration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MDTConfigurationNR, create_dissector_handle(dissect_MDT_ConfigurationNR_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_UERadioCapabilityID, create_dissector_handle(dissect_UERadioCapabilityID_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_CSI_RSTransmissionIndication, create_dissector_handle(dissect_CSI_RSTransmissionIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_DLCarrierList, create_dissector_handle(dissect_NRCarrierList_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_TDDULDLConfigurationCommonNR, create_dissector_handle(dissect_TDDULDLConfigurationCommonNR_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_CarrierList, create_dissector_handle(dissect_NRCarrierList_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ULCarrierList, create_dissector_handle(dissect_NRCarrierList_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_FrequencyShift7p5khz, create_dissector_handle(dissect_FrequencyShift7p5khz_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SSB_PositionsInBurst, create_dissector_handle(dissect_SSB_PositionsInBurst_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_NRCellPRACHConfig, create_dissector_handle(dissect_NRCellPRACHConfig_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_QoS_Mapping_Information, create_dissector_handle(dissect_QoS_Mapping_Information_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_IntendedTDD_DL_ULConfiguration_NR, create_dissector_handle(dissect_IntendedTDD_DL_ULConfiguration_NR_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_TraceCollectionEntityURI, create_dissector_handle(dissect_URI_Address_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SFN_Offset, create_dissector_handle(dissect_SFN_Offset_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_IMSvoiceEPSfallbackfrom5G, create_dissector_handle(dissect_IMSvoiceEPSfallbackfrom5G_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_AdditionLocationInformation, create_dissector_handle(dissect_AdditionLocationInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SourceDLForwardingIPAddress, create_dissector_handle(dissect_TransportLayerAddress_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SourceNodeDLForwardingIPAddress, create_dissector_handle(dissect_TransportLayerAddress_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MeasurementResultforNRCellsPossiblyAggregated, create_dissector_handle(dissect_MeasurementResultforNRCellsPossiblyAggregated_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_PSCell_UE_HistoryInformation, create_dissector_handle(dissect_PSCell_UE_HistoryInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_Additional_Measurement_Timing_Configuration_List, create_dissector_handle(dissect_Additional_Measurement_Timing_Configuration_List_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_ServedCellSpecificInfoReq_NR, create_dissector_handle(dissect_ServedCellSpecificInfoReq_NR_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SecurityIndication, create_dissector_handle(dissect_SecurityIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SecurityResult, create_dissector_handle(dissect_SecurityResult_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_RAT_Restrictions, create_dissector_handle(dissect_RAT_Restrictions_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_MIMOPRBusageInformation, create_dissector_handle(dissect_MIMOPRBusageInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_SensorMeasurementConfiguration, create_dissector_handle(dissect_SensorMeasurementConfiguration_PDU, proto_x2ap)); dissector_add_uint("x2ap.extension", id_AdditionalListofForwardingGTPTunnelEndpoint, create_dissector_handle(dissect_AdditionalListofForwardingGTPTunnelEndpoint_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_handoverPreparation, create_dissector_handle(dissect_HandoverRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_handoverPreparation, create_dissector_handle(dissect_HandoverRequestAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_handoverPreparation, create_dissector_handle(dissect_HandoverPreparationFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_snStatusTransfer, create_dissector_handle(dissect_SNStatusTransfer_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_uEContextRelease, create_dissector_handle(dissect_UEContextRelease_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_handoverCancel, create_dissector_handle(dissect_HandoverCancel_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_errorIndication, create_dissector_handle(dissect_ErrorIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_reset, create_dissector_handle(dissect_ResetRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_reset, create_dissector_handle(dissect_ResetResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_x2Setup, create_dissector_handle(dissect_X2SetupRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_x2Setup, create_dissector_handle(dissect_X2SetupResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_x2Setup, create_dissector_handle(dissect_X2SetupFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_loadIndication, create_dissector_handle(dissect_LoadInformation_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_eNBConfigurationUpdate, create_dissector_handle(dissect_ENBConfigurationUpdate_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_eNBConfigurationUpdate, create_dissector_handle(dissect_ENBConfigurationUpdateAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_eNBConfigurationUpdate, create_dissector_handle(dissect_ENBConfigurationUpdateFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_resourceStatusReportingInitiation, create_dissector_handle(dissect_ResourceStatusRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_resourceStatusReportingInitiation, create_dissector_handle(dissect_ResourceStatusResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_resourceStatusReportingInitiation, create_dissector_handle(dissect_ResourceStatusFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_resourceStatusReporting, create_dissector_handle(dissect_ResourceStatusUpdate_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_privateMessage, create_dissector_handle(dissect_PrivateMessage_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_handoverReport, create_dissector_handle(dissect_HandoverReport_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_rLFIndication, create_dissector_handle(dissect_RLFIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_mobilitySettingsChange, create_dissector_handle(dissect_MobilityChangeRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_mobilitySettingsChange, create_dissector_handle(dissect_MobilityChangeAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_mobilitySettingsChange, create_dissector_handle(dissect_MobilityChangeFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_cellActivation, create_dissector_handle(dissect_CellActivationRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_cellActivation, create_dissector_handle(dissect_CellActivationResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_cellActivation, create_dissector_handle(dissect_CellActivationFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_x2Release, create_dissector_handle(dissect_X2Release_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_x2APMessageTransfer, create_dissector_handle(dissect_X2APMessageTransfer_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_x2Removal, create_dissector_handle(dissect_X2RemovalRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_x2Removal, create_dissector_handle(dissect_X2RemovalResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_x2Removal, create_dissector_handle(dissect_X2RemovalFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_seNBAdditionPreparation, create_dissector_handle(dissect_SeNBAdditionRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_seNBAdditionPreparation, create_dissector_handle(dissect_SeNBAdditionRequestAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_seNBAdditionPreparation, create_dissector_handle(dissect_SeNBAdditionRequestReject_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_seNBReconfigurationCompletion, create_dissector_handle(dissect_SeNBReconfigurationComplete_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_meNBinitiatedSeNBModificationPreparation, create_dissector_handle(dissect_SeNBModificationRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_meNBinitiatedSeNBModificationPreparation, create_dissector_handle(dissect_SeNBModificationRequestAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_meNBinitiatedSeNBModificationPreparation, create_dissector_handle(dissect_SeNBModificationRequestReject_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_seNBinitiatedSeNBModification, create_dissector_handle(dissect_SeNBModificationRequired_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_seNBinitiatedSeNBModification, create_dissector_handle(dissect_SeNBModificationConfirm_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_seNBinitiatedSeNBModification, create_dissector_handle(dissect_SeNBModificationRefuse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_meNBinitiatedSeNBRelease, create_dissector_handle(dissect_SeNBReleaseRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_seNBinitiatedSeNBRelease, create_dissector_handle(dissect_SeNBReleaseRequired_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_seNBinitiatedSeNBRelease, create_dissector_handle(dissect_SeNBReleaseConfirm_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_seNBCounterCheck, create_dissector_handle(dissect_SeNBCounterCheckRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_retrieveUEContext, create_dissector_handle(dissect_RetrieveUEContextRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_retrieveUEContext, create_dissector_handle(dissect_RetrieveUEContextResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_retrieveUEContext, create_dissector_handle(dissect_RetrieveUEContextFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_sgNBAdditionPreparation, create_dissector_handle(dissect_SgNBAdditionRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_sgNBAdditionPreparation, create_dissector_handle(dissect_SgNBAdditionRequestAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_sgNBAdditionPreparation, create_dissector_handle(dissect_SgNBAdditionRequestReject_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_sgNBReconfigurationCompletion, create_dissector_handle(dissect_SgNBReconfigurationComplete_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_meNBinitiatedSgNBModificationPreparation, create_dissector_handle(dissect_SgNBModificationRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_meNBinitiatedSgNBModificationPreparation, create_dissector_handle(dissect_SgNBModificationRequestAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_meNBinitiatedSgNBModificationPreparation, create_dissector_handle(dissect_SgNBModificationRequestReject_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_sgNBinitiatedSgNBModification, create_dissector_handle(dissect_SgNBModificationRequired_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_sgNBinitiatedSgNBModification, create_dissector_handle(dissect_SgNBModificationConfirm_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_sgNBinitiatedSgNBModification, create_dissector_handle(dissect_SgNBModificationRefuse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_meNBinitiatedSgNBRelease, create_dissector_handle(dissect_SgNBReleaseRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_meNBinitiatedSgNBRelease, create_dissector_handle(dissect_SgNBReleaseRequestAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_meNBinitiatedSgNBRelease, create_dissector_handle(dissect_SgNBReleaseRequestReject_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_sgNBinitiatedSgNBRelease, create_dissector_handle(dissect_SgNBReleaseRequired_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_sgNBinitiatedSgNBRelease, create_dissector_handle(dissect_SgNBReleaseConfirm_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_sgNBCounterCheck, create_dissector_handle(dissect_SgNBCounterCheckRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_sgNBChange, create_dissector_handle(dissect_SgNBChangeRequired_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_sgNBChange, create_dissector_handle(dissect_SgNBChangeConfirm_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_sgNBChange, create_dissector_handle(dissect_SgNBChangeRefuse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_rRCTransfer, create_dissector_handle(dissect_RRCTransfer_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_endcX2Setup, create_dissector_handle(dissect_ENDCX2SetupRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_endcX2Setup, create_dissector_handle(dissect_ENDCX2SetupResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_endcX2Setup, create_dissector_handle(dissect_ENDCX2SetupFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_endcConfigurationUpdate, create_dissector_handle(dissect_ENDCConfigurationUpdate_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_endcConfigurationUpdate, create_dissector_handle(dissect_ENDCConfigurationUpdateAcknowledge_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_endcConfigurationUpdate, create_dissector_handle(dissect_ENDCConfigurationUpdateFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_secondaryRATDataUsageReport, create_dissector_handle(dissect_SecondaryRATDataUsageReport_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_endcCellActivation, create_dissector_handle(dissect_ENDCCellActivationRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_endcCellActivation, create_dissector_handle(dissect_ENDCCellActivationResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_endcCellActivation, create_dissector_handle(dissect_ENDCCellActivationFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_endcPartialReset, create_dissector_handle(dissect_ENDCPartialResetRequired_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_endcPartialReset, create_dissector_handle(dissect_ENDCPartialResetConfirm_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_eUTRANRCellResourceCoordination, create_dissector_handle(dissect_x2ap_EUTRANRCellResourceCoordinationRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_eUTRANRCellResourceCoordination, create_dissector_handle(dissect_x2ap_EUTRANRCellResourceCoordinationResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_SgNBActivityNotification, create_dissector_handle(dissect_SgNBActivityNotification_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_endcX2Removal, create_dissector_handle(dissect_ENDCX2RemovalRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_endcX2Removal, create_dissector_handle(dissect_ENDCX2RemovalResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_endcX2Removal, create_dissector_handle(dissect_ENDCX2RemovalFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_dataForwardingAddressIndication, create_dissector_handle(dissect_DataForwardingAddressIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_gNBStatusIndication, create_dissector_handle(dissect_GNBStatusIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_endcConfigurationTransfer, create_dissector_handle(dissect_ENDCConfigurationTransfer_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_deactivateTrace, create_dissector_handle(dissect_DeactivateTrace_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_traceStart, create_dissector_handle(dissect_TraceStart_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_handoverSuccess, create_dissector_handle(dissect_HandoverSuccess_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_earlyStatusTransfer, create_dissector_handle(dissect_EarlyStatusTransfer_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_conditionalHandoverCancel, create_dissector_handle(dissect_ConditionalHandoverCancel_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_endcresourceStatusReportingInitiation, create_dissector_handle(dissect_ENDCResourceStatusRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_endcresourceStatusReportingInitiation, create_dissector_handle(dissect_ENDCResourceStatusResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.uout", id_endcresourceStatusReportingInitiation, create_dissector_handle(dissect_ENDCResourceStatusFailure_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_endcresourceStatusReporting, create_dissector_handle(dissect_ENDCResourceStatusUpdate_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_cellTrafficTrace, create_dissector_handle(dissect_CellTrafficTrace_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_f1CTrafficTransfer, create_dissector_handle(dissect_F1CTrafficTransfer_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_UERadioCapabilityIDMapping, create_dissector_handle(dissect_UERadioCapabilityIDMappingRequest_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.sout", id_UERadioCapabilityIDMapping, create_dissector_handle(dissect_UERadioCapabilityIDMappingResponse_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_accessAndMobilityIndication, create_dissector_handle(dissect_AccessAndMobilityIndication_PDU, proto_x2ap)); dissector_add_uint("x2ap.proc.imsg", id_CPC_cancel, create_dissector_handle(dissect_CPC_cancel_PDU, proto_x2ap)); }
C/C++
wireshark/epan/dissectors/packet-x2ap.h
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x2ap.h */ /* asn2wrs.py -L -p x2ap -c ./x2ap.cnf -s ./packet-x2ap-template -D . -O ../.. X2AP-CommonDataTypes.asn X2AP-Constants.asn X2AP-Containers.asn X2AP-IEs.asn X2AP-PDU-Contents.asn X2AP-PDU-Descriptions.asn */ /* packet-x2ap.h * Routines for E-UTRAN X2 Application Protocol (X2AP) packet dissection * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_X2AP_H #define PACKET_X2AP_H int dissect_x2ap_MeNBResourceCoordinationInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); int dissect_x2ap_ProtectedEUTRAResourceIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); int dissect_x2ap_SgNBResourceCoordinationInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); int dissect_x2ap_EUTRANRCellResourceCoordinationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); int dissect_x2ap_EUTRANRCellResourceCoordinationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); #endif /* PACKET_X2AP_H */ /* * Editor modelines * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-x509af.c
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x509af.c */ /* asn2wrs.py -b -L -p x509af -c ./x509af.cnf -s ./packet-x509af-template -D . -O ../.. AuthenticationFramework.asn */ /* packet-x509af.c * Routines for X.509 Authentication Framework packet dissection * Ronnie Sahlberg 2004 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/oids.h> #include <epan/asn1.h> #include <epan/strutil.h> #include "packet-ber.h" #include "packet-x509af.h" #include "packet-x509ce.h" #include "packet-x509if.h" #include "packet-x509sat.h" #include "packet-ldap.h" #include "packet-pkcs1.h" #if defined(HAVE_LIBGNUTLS) #include <gnutls/gnutls.h> #endif #define PNAME "X.509 Authentication Framework" #define PSNAME "X509AF" #define PFNAME "x509af" void proto_register_x509af(void); void proto_reg_handoff_x509af(void); static dissector_handle_t pkix_crl_handle; /* Initialize the protocol and registered fields */ static int proto_x509af = -1; static int hf_x509af_algorithm_id = -1; static int hf_x509af_extension_id = -1; static int hf_x509af_x509af_Certificate_PDU = -1; /* Certificate */ static int hf_x509af_SubjectPublicKeyInfo_PDU = -1; /* SubjectPublicKeyInfo */ static int hf_x509af_CertificatePair_PDU = -1; /* CertificatePair */ static int hf_x509af_CertificateList_PDU = -1; /* CertificateList */ static int hf_x509af_AttributeCertificate_PDU = -1; /* AttributeCertificate */ static int hf_x509af_DSS_Params_PDU = -1; /* DSS_Params */ static int hf_x509af_Userid_PDU = -1; /* Userid */ static int hf_x509af_signedCertificate = -1; /* T_signedCertificate */ static int hf_x509af_version = -1; /* Version */ static int hf_x509af_serialNumber = -1; /* CertificateSerialNumber */ static int hf_x509af_signature = -1; /* AlgorithmIdentifier */ static int hf_x509af_issuer = -1; /* Name */ static int hf_x509af_validity = -1; /* Validity */ static int hf_x509af_subject = -1; /* SubjectName */ static int hf_x509af_subjectPublicKeyInfo = -1; /* SubjectPublicKeyInfo */ static int hf_x509af_issuerUniqueIdentifier = -1; /* UniqueIdentifier */ static int hf_x509af_subjectUniqueIdentifier = -1; /* UniqueIdentifier */ static int hf_x509af_extensions = -1; /* Extensions */ static int hf_x509af_algorithmIdentifier = -1; /* AlgorithmIdentifier */ static int hf_x509af_encrypted = -1; /* BIT_STRING */ static int hf_x509af_rdnSequence = -1; /* RDNSequence */ static int hf_x509af_algorithmId = -1; /* T_algorithmId */ static int hf_x509af_parameters = -1; /* T_parameters */ static int hf_x509af_notBefore = -1; /* Time */ static int hf_x509af_notAfter = -1; /* Time */ static int hf_x509af_algorithm = -1; /* AlgorithmIdentifier */ static int hf_x509af_subjectPublicKey = -1; /* T_subjectPublicKey */ static int hf_x509af_utcTime = -1; /* T_utcTime */ static int hf_x509af_generalizedTime = -1; /* GeneralizedTime */ static int hf_x509af_Extensions_item = -1; /* Extension */ static int hf_x509af_extnId = -1; /* T_extnId */ static int hf_x509af_critical = -1; /* BOOLEAN */ static int hf_x509af_extnValue = -1; /* T_extnValue */ static int hf_x509af_userCertificate = -1; /* Certificate */ static int hf_x509af_certificationPath = -1; /* ForwardCertificationPath */ static int hf_x509af_ForwardCertificationPath_item = -1; /* CrossCertificates */ static int hf_x509af_CrossCertificates_item = -1; /* Certificate */ static int hf_x509af_theCACertificates = -1; /* SEQUENCE_OF_CertificatePair */ static int hf_x509af_theCACertificates_item = -1; /* CertificatePair */ static int hf_x509af_issuedByThisCA = -1; /* Certificate */ static int hf_x509af_issuedToThisCA = -1; /* Certificate */ static int hf_x509af_signedCertificateList = -1; /* T_signedCertificateList */ static int hf_x509af_thisUpdate = -1; /* Time */ static int hf_x509af_nextUpdate = -1; /* Time */ static int hf_x509af_revokedCertificates = -1; /* T_revokedCertificates */ static int hf_x509af_revokedCertificates_item = -1; /* T_revokedCertificates_item */ static int hf_x509af_revokedUserCertificate = -1; /* CertificateSerialNumber */ static int hf_x509af_revocationDate = -1; /* Time */ static int hf_x509af_crlEntryExtensions = -1; /* Extensions */ static int hf_x509af_crlExtensions = -1; /* Extensions */ static int hf_x509af_attributeCertificate = -1; /* AttributeCertificate */ static int hf_x509af_acPath = -1; /* SEQUENCE_OF_ACPathData */ static int hf_x509af_acPath_item = -1; /* ACPathData */ static int hf_x509af_certificate = -1; /* Certificate */ static int hf_x509af_signedAttributeCertificateInfo = -1; /* AttributeCertificateInfo */ static int hf_x509af_info_subject = -1; /* InfoSubject */ static int hf_x509af_baseCertificateID = -1; /* IssuerSerial */ static int hf_x509af_infoSubjectName = -1; /* GeneralNames */ static int hf_x509af_issuerName = -1; /* GeneralNames */ static int hf_x509af_attCertValidityPeriod = -1; /* AttCertValidityPeriod */ static int hf_x509af_attributes = -1; /* SEQUENCE_OF_Attribute */ static int hf_x509af_attributes_item = -1; /* Attribute */ static int hf_x509af_issuerUniqueID = -1; /* UniqueIdentifier */ static int hf_x509af_serial = -1; /* CertificateSerialNumber */ static int hf_x509af_issuerUID = -1; /* UniqueIdentifier */ static int hf_x509af_notBeforeTime = -1; /* GeneralizedTime */ static int hf_x509af_notAfterTime = -1; /* GeneralizedTime */ static int hf_x509af_assertion_subject = -1; /* AssertionSubject */ static int hf_x509af_assertionSubjectName = -1; /* SubjectName */ static int hf_x509af_assertionIssuer = -1; /* Name */ static int hf_x509af_attCertValidity = -1; /* GeneralizedTime */ static int hf_x509af_attType = -1; /* SET_OF_AttributeType */ static int hf_x509af_attType_item = -1; /* AttributeType */ static int hf_x509af_p = -1; /* INTEGER */ static int hf_x509af_q = -1; /* INTEGER */ static int hf_x509af_g = -1; /* INTEGER */ /* Initialize the subtree pointers */ static gint ett_pkix_crl = -1; static gint ett_x509af_Certificate = -1; static gint ett_x509af_T_signedCertificate = -1; static gint ett_x509af_SubjectName = -1; static gint ett_x509af_AlgorithmIdentifier = -1; static gint ett_x509af_Validity = -1; static gint ett_x509af_SubjectPublicKeyInfo = -1; static gint ett_x509af_Time = -1; static gint ett_x509af_Extensions = -1; static gint ett_x509af_Extension = -1; static gint ett_x509af_Certificates = -1; static gint ett_x509af_ForwardCertificationPath = -1; static gint ett_x509af_CrossCertificates = -1; static gint ett_x509af_CertificationPath = -1; static gint ett_x509af_SEQUENCE_OF_CertificatePair = -1; static gint ett_x509af_CertificatePair = -1; static gint ett_x509af_CertificateList = -1; static gint ett_x509af_T_signedCertificateList = -1; static gint ett_x509af_T_revokedCertificates = -1; static gint ett_x509af_T_revokedCertificates_item = -1; static gint ett_x509af_AttributeCertificationPath = -1; static gint ett_x509af_SEQUENCE_OF_ACPathData = -1; static gint ett_x509af_ACPathData = -1; static gint ett_x509af_AttributeCertificate = -1; static gint ett_x509af_AttributeCertificateInfo = -1; static gint ett_x509af_InfoSubject = -1; static gint ett_x509af_SEQUENCE_OF_Attribute = -1; static gint ett_x509af_IssuerSerial = -1; static gint ett_x509af_AttCertValidityPeriod = -1; static gint ett_x509af_AttributeCertificateAssertion = -1; static gint ett_x509af_AssertionSubject = -1; static gint ett_x509af_SET_OF_AttributeType = -1; static gint ett_x509af_DSS_Params = -1; static const char *algorithm_id = NULL; static void x509af_export_publickey(tvbuff_t *tvb, asn1_ctx_t *actx, int offset, int len); const value_string x509af_Version_vals[] = { { 0, "v1" }, { 1, "v2" }, { 2, "v3" }, { 0, NULL } }; int dissect_x509af_Version(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } int dissect_x509af_CertificateSerialNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509af_T_algorithmId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { const char *name; offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509af_algorithm_id, &actx->external.direct_reference); if (algorithm_id) { wmem_free(wmem_file_scope(), (void*)algorithm_id); } if(actx->external.direct_reference) { algorithm_id = (const char *)wmem_strdup(wmem_file_scope(), actx->external.direct_reference); name = oid_resolved_from_string(actx->pinfo->pool, actx->external.direct_reference); proto_item_append_text(tree, " (%s)", name ? name : actx->external.direct_reference); } else { algorithm_id = NULL; } return offset; } static int dissect_x509af_T_parameters(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t AlgorithmIdentifier_sequence[] = { { &hf_x509af_algorithmId , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509af_T_algorithmId }, { &hf_x509af_parameters , BER_CLASS_ANY, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_T_parameters }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_AlgorithmIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AlgorithmIdentifier_sequence, hf_index, ett_x509af_AlgorithmIdentifier); return offset; } static int dissect_x509af_T_utcTime(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { char *outstr, *newstr; guint32 tvblen; /* the 2-digit year can only be in the range 1950..2049 https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1 */ offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index, &outstr, &tvblen); if (hf_index >= 0 && outstr) { newstr = wmem_strconcat(actx->pinfo->pool, outstr[0] < '5' ? "20": "19", outstr, NULL); proto_tree_add_string(tree, hf_index, tvb, offset - tvblen, tvblen, newstr); } return offset; } static int dissect_x509af_GeneralizedTime(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_GeneralizedTime(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } const value_string x509af_Time_vals[] = { { 0, "utcTime" }, { 1, "generalizedTime" }, { 0, NULL } }; static const ber_choice_t Time_choice[] = { { 0, &hf_x509af_utcTime , BER_CLASS_UNI, BER_UNI_TAG_UTCTime, BER_FLAGS_NOOWNTAG, dissect_x509af_T_utcTime }, { 1, &hf_x509af_generalizedTime, BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_x509af_GeneralizedTime }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509af_Time(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Time_choice, hf_index, ett_x509af_Time, NULL); return offset; } static const ber_sequence_t Validity_sequence[] = { { &hf_x509af_notBefore , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509af_Time }, { &hf_x509af_notAfter , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509af_Time }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_Validity(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Validity_sequence, hf_index, ett_x509af_Validity); return offset; } static const value_string x509af_SubjectName_vals[] = { { 0, "rdnSequence" }, { 0, NULL } }; static const ber_choice_t SubjectName_choice[] = { { 0, &hf_x509af_rdnSequence , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_RDNSequence }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509af_SubjectName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { const char* str; offset = dissect_ber_choice(actx, tree, tvb, offset, SubjectName_choice, hf_index, ett_x509af_SubjectName, NULL); str = x509if_get_last_dn(); proto_item_append_text(proto_item_get_parent(tree), " (%s)", str?str:""); return offset; } static int dissect_x509af_T_subjectPublicKey(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *bs_tvb = NULL; dissect_ber_bitstring(FALSE, actx, NULL, tvb, offset, NULL, 0, hf_index, -1, &bs_tvb); /* See RFC 3279 for possible subjectPublicKey values given an Algorithm ID. * The contents of subjectPublicKey are always explicitly tagged. */ if (bs_tvb && !g_strcmp0(algorithm_id, "1.2.840.113549.1.1.1")) { /* id-rsa */ offset += dissect_pkcs1_RSAPublicKey(FALSE, bs_tvb, 0, actx, tree, hf_index); } else { offset = dissect_ber_bitstring(FALSE, actx, tree, tvb, offset, NULL, 0, hf_index, -1, NULL); } return offset; } static const ber_sequence_t SubjectPublicKeyInfo_sequence[] = { { &hf_x509af_algorithm , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier }, { &hf_x509af_subjectPublicKey, BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_x509af_T_subjectPublicKey }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_SubjectPublicKeyInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { int orig_offset = offset; offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SubjectPublicKeyInfo_sequence, hf_index, ett_x509af_SubjectPublicKeyInfo); x509af_export_publickey(tvb, actx, orig_offset, offset - orig_offset); return offset; } static int dissect_x509af_T_extnId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { const char *name; offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509af_extension_id, &actx->external.direct_reference); if(actx->external.direct_reference) { name = oid_resolved_from_string(actx->pinfo->pool, actx->external.direct_reference); proto_item_append_text(tree, " (%s)", name ? name : actx->external.direct_reference); } return offset; } static int dissect_x509af_BOOLEAN(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509af_T_extnValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { gint8 ber_class; bool pc, ind; gint32 tag; guint32 len; /* skip past the T and L */ offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag); offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind); offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t Extension_sequence[] = { { &hf_x509af_extnId , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509af_T_extnId }, { &hf_x509af_critical , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_BOOLEAN }, { &hf_x509af_extnValue , BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_x509af_T_extnValue }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_Extension(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Extension_sequence, hf_index, ett_x509af_Extension); return offset; } static const ber_sequence_t Extensions_sequence_of[1] = { { &hf_x509af_Extensions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_Extension }, }; int dissect_x509af_Extensions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, Extensions_sequence_of, hf_index, ett_x509af_Extensions); return offset; } static const ber_sequence_t T_signedCertificate_sequence[] = { { &hf_x509af_version , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509af_Version }, { &hf_x509af_serialNumber , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_CertificateSerialNumber }, { &hf_x509af_signature , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier }, { &hf_x509af_issuer , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509if_Name }, { &hf_x509af_validity , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_Validity }, { &hf_x509af_subject , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509af_SubjectName }, { &hf_x509af_subjectPublicKeyInfo, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_SubjectPublicKeyInfo }, { &hf_x509af_issuerUniqueIdentifier, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509sat_UniqueIdentifier }, { &hf_x509af_subjectUniqueIdentifier, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509sat_UniqueIdentifier }, { &hf_x509af_extensions , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509af_Extensions }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509af_T_signedCertificate(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_signedCertificate_sequence, hf_index, ett_x509af_T_signedCertificate); return offset; } static int dissect_x509af_BIT_STRING(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, NULL, 0, hf_index, -1, NULL); return offset; } static const ber_sequence_t Certificate_sequence[] = { { &hf_x509af_signedCertificate, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_T_signedCertificate }, { &hf_x509af_algorithmIdentifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier }, { &hf_x509af_encrypted , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_x509af_BIT_STRING }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_Certificate(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Certificate_sequence, hf_index, ett_x509af_Certificate); return offset; } static const ber_sequence_t CrossCertificates_set_of[1] = { { &hf_x509af_CrossCertificates_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_Certificate }, }; int dissect_x509af_CrossCertificates(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, CrossCertificates_set_of, hf_index, ett_x509af_CrossCertificates); return offset; } static const ber_sequence_t ForwardCertificationPath_sequence_of[1] = { { &hf_x509af_ForwardCertificationPath_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509af_CrossCertificates }, }; int dissect_x509af_ForwardCertificationPath(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, ForwardCertificationPath_sequence_of, hf_index, ett_x509af_ForwardCertificationPath); return offset; } static const ber_sequence_t Certificates_sequence[] = { { &hf_x509af_userCertificate, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_Certificate }, { &hf_x509af_certificationPath, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_ForwardCertificationPath }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_Certificates(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Certificates_sequence, hf_index, ett_x509af_Certificates); return offset; } static const ber_sequence_t CertificatePair_sequence[] = { { &hf_x509af_issuedByThisCA, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509af_Certificate }, { &hf_x509af_issuedToThisCA, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509af_Certificate }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_CertificatePair(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificatePair_sequence, hf_index, ett_x509af_CertificatePair); return offset; } static const ber_sequence_t SEQUENCE_OF_CertificatePair_sequence_of[1] = { { &hf_x509af_theCACertificates_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_CertificatePair }, }; static int dissect_x509af_SEQUENCE_OF_CertificatePair(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_CertificatePair_sequence_of, hf_index, ett_x509af_SEQUENCE_OF_CertificatePair); return offset; } static const ber_sequence_t CertificationPath_sequence[] = { { &hf_x509af_userCertificate, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_Certificate }, { &hf_x509af_theCACertificates, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_SEQUENCE_OF_CertificatePair }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_CertificationPath(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificationPath_sequence, hf_index, ett_x509af_CertificationPath); return offset; } static const ber_sequence_t T_revokedCertificates_item_sequence[] = { { &hf_x509af_revokedUserCertificate, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_CertificateSerialNumber }, { &hf_x509af_revocationDate, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509af_Time }, { &hf_x509af_crlEntryExtensions, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_Extensions }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509af_T_revokedCertificates_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_revokedCertificates_item_sequence, hf_index, ett_x509af_T_revokedCertificates_item); return offset; } static const ber_sequence_t T_revokedCertificates_sequence_of[1] = { { &hf_x509af_revokedCertificates_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_T_revokedCertificates_item }, }; static int dissect_x509af_T_revokedCertificates(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_revokedCertificates_sequence_of, hf_index, ett_x509af_T_revokedCertificates); return offset; } static const ber_sequence_t T_signedCertificateList_sequence[] = { { &hf_x509af_version , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_Version }, { &hf_x509af_signature , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier }, { &hf_x509af_issuer , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509if_Name }, { &hf_x509af_thisUpdate , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509af_Time }, { &hf_x509af_nextUpdate , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509af_Time }, { &hf_x509af_revokedCertificates, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_T_revokedCertificates }, { &hf_x509af_crlExtensions, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509af_Extensions }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509af_T_signedCertificateList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_signedCertificateList_sequence, hf_index, ett_x509af_T_signedCertificateList); return offset; } static const ber_sequence_t CertificateList_sequence[] = { { &hf_x509af_signedCertificateList, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_T_signedCertificateList }, { &hf_x509af_algorithmIdentifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier }, { &hf_x509af_encrypted , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_x509af_BIT_STRING }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_CertificateList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificateList_sequence, hf_index, ett_x509af_CertificateList); return offset; } static const ber_sequence_t IssuerSerial_sequence[] = { { &hf_x509af_issuerName , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralNames }, { &hf_x509af_serial , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_CertificateSerialNumber }, { &hf_x509af_issuerUID , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509sat_UniqueIdentifier }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_IssuerSerial(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, IssuerSerial_sequence, hf_index, ett_x509af_IssuerSerial); return offset; } static const value_string x509af_InfoSubject_vals[] = { { 0, "baseCertificateID" }, { 1, "subjectName" }, { 0, NULL } }; static const ber_choice_t InfoSubject_choice[] = { { 0, &hf_x509af_baseCertificateID, BER_CLASS_CON, 0, 0, dissect_x509af_IssuerSerial }, { 1, &hf_x509af_infoSubjectName, BER_CLASS_CON, 1, 0, dissect_x509ce_GeneralNames }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509af_InfoSubject(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, InfoSubject_choice, hf_index, ett_x509af_InfoSubject, NULL); return offset; } static const ber_sequence_t AttCertValidityPeriod_sequence[] = { { &hf_x509af_notBeforeTime, BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_x509af_GeneralizedTime }, { &hf_x509af_notAfterTime , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_x509af_GeneralizedTime }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_AttCertValidityPeriod(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttCertValidityPeriod_sequence, hf_index, ett_x509af_AttCertValidityPeriod); return offset; } static const ber_sequence_t SEQUENCE_OF_Attribute_sequence_of[1] = { { &hf_x509af_attributes_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_Attribute }, }; static int dissect_x509af_SEQUENCE_OF_Attribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Attribute_sequence_of, hf_index, ett_x509af_SEQUENCE_OF_Attribute); return offset; } static const ber_sequence_t AttributeCertificateInfo_sequence[] = { { &hf_x509af_version , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_Version }, { &hf_x509af_info_subject , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509af_InfoSubject }, { &hf_x509af_issuerName , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralNames }, { &hf_x509af_signature , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier }, { &hf_x509af_serialNumber , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_CertificateSerialNumber }, { &hf_x509af_attCertValidityPeriod, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AttCertValidityPeriod }, { &hf_x509af_attributes , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_SEQUENCE_OF_Attribute }, { &hf_x509af_issuerUniqueID, BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509sat_UniqueIdentifier }, { &hf_x509af_extensions , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_Extensions }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_AttributeCertificateInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeCertificateInfo_sequence, hf_index, ett_x509af_AttributeCertificateInfo); return offset; } static const ber_sequence_t AttributeCertificate_sequence[] = { { &hf_x509af_signedAttributeCertificateInfo, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AttributeCertificateInfo }, { &hf_x509af_algorithmIdentifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier }, { &hf_x509af_encrypted , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_x509af_BIT_STRING }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_AttributeCertificate(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeCertificate_sequence, hf_index, ett_x509af_AttributeCertificate); return offset; } static const ber_sequence_t ACPathData_sequence[] = { { &hf_x509af_certificate , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509af_Certificate }, { &hf_x509af_attributeCertificate, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509af_AttributeCertificate }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_ACPathData(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ACPathData_sequence, hf_index, ett_x509af_ACPathData); return offset; } static const ber_sequence_t SEQUENCE_OF_ACPathData_sequence_of[1] = { { &hf_x509af_acPath_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_ACPathData }, }; static int dissect_x509af_SEQUENCE_OF_ACPathData(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_ACPathData_sequence_of, hf_index, ett_x509af_SEQUENCE_OF_ACPathData); return offset; } static const ber_sequence_t AttributeCertificationPath_sequence[] = { { &hf_x509af_attributeCertificate, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AttributeCertificate }, { &hf_x509af_acPath , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_SEQUENCE_OF_ACPathData }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_AttributeCertificationPath(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeCertificationPath_sequence, hf_index, ett_x509af_AttributeCertificationPath); return offset; } static const value_string x509af_AssertionSubject_vals[] = { { 0, "baseCertificateID" }, { 1, "subjectName" }, { 0, NULL } }; static const ber_choice_t AssertionSubject_choice[] = { { 0, &hf_x509af_baseCertificateID, BER_CLASS_CON, 0, 0, dissect_x509af_IssuerSerial }, { 1, &hf_x509af_assertionSubjectName, BER_CLASS_CON, 1, 0, dissect_x509af_SubjectName }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509af_AssertionSubject(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, AssertionSubject_choice, hf_index, ett_x509af_AssertionSubject, NULL); return offset; } static const ber_sequence_t SET_OF_AttributeType_set_of[1] = { { &hf_x509af_attType_item , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeType }, }; static int dissect_x509af_SET_OF_AttributeType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_OF_AttributeType_set_of, hf_index, ett_x509af_SET_OF_AttributeType); return offset; } static const ber_sequence_t AttributeCertificateAssertion_sequence[] = { { &hf_x509af_assertion_subject, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509af_AssertionSubject }, { &hf_x509af_assertionIssuer, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_Name }, { &hf_x509af_attCertValidity, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509af_GeneralizedTime }, { &hf_x509af_attType , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509af_SET_OF_AttributeType }, { NULL, 0, 0, 0, NULL } }; int dissect_x509af_AttributeCertificateAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeCertificateAssertion_sequence, hf_index, ett_x509af_AttributeCertificateAssertion); return offset; } static int dissect_x509af_INTEGER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t DSS_Params_sequence[] = { { &hf_x509af_p , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_INTEGER }, { &hf_x509af_q , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_INTEGER }, { &hf_x509af_g , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509af_DSS_Params(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DSS_Params_sequence, hf_index, ett_x509af_DSS_Params); return offset; } static int dissect_x509af_Userid(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UTF8String, actx, tree, tvb, offset, hf_index, NULL); return offset; } /*--- PDUs ---*/ int dissect_x509af_Certificate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509af_Certificate(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509af_x509af_Certificate_PDU); return offset; } static int dissect_SubjectPublicKeyInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509af_SubjectPublicKeyInfo(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509af_SubjectPublicKeyInfo_PDU); return offset; } static int dissect_CertificatePair_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509af_CertificatePair(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509af_CertificatePair_PDU); return offset; } static int dissect_CertificateList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509af_CertificateList(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509af_CertificateList_PDU); return offset; } static int dissect_AttributeCertificate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509af_AttributeCertificate(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509af_AttributeCertificate_PDU); return offset; } static int dissect_DSS_Params_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509af_DSS_Params(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509af_DSS_Params_PDU); return offset; } static int dissect_Userid_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509af_Userid(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509af_Userid_PDU); return offset; } /* Exports the SubjectPublicKeyInfo structure as gnutls_datum_t. * actx->private_data is assumed to be a gnutls_datum_t pointer which will be * filled in if non-NULL. */ static void x509af_export_publickey(tvbuff_t *tvb _U_, asn1_ctx_t *actx _U_, int offset _U_, int len _U_) { #if defined(HAVE_LIBGNUTLS) gnutls_datum_t *subjectPublicKeyInfo = (gnutls_datum_t *)actx->private_data; if (subjectPublicKeyInfo) { subjectPublicKeyInfo->data = (guchar *) tvb_get_ptr(tvb, offset, len); subjectPublicKeyInfo->size = len; actx->private_data = NULL; } #endif } const char *x509af_get_last_algorithm_id(void) { return algorithm_id; } static int dissect_pkix_crl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_) { proto_tree *tree; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); col_set_str(pinfo->cinfo, COL_PROTOCOL, "PKIX-CRL"); col_set_str(pinfo->cinfo, COL_INFO, "Certificate Revocation List"); tree=proto_tree_add_subtree(parent_tree, tvb, 0, -1, ett_pkix_crl, NULL, "Certificate Revocation List"); return dissect_x509af_CertificateList(FALSE, tvb, 0, &asn1_ctx, tree, -1); } static void x509af_cleanup_protocol(void) { algorithm_id = NULL; } /*--- proto_register_x509af ----------------------------------------------*/ void proto_register_x509af(void) { /* List of fields */ static hf_register_info hf[] = { { &hf_x509af_algorithm_id, { "Algorithm Id", "x509af.algorithm.id", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_extension_id, { "Extension Id", "x509af.extension.id", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_x509af_Certificate_PDU, { "Certificate", "x509af.Certificate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_SubjectPublicKeyInfo_PDU, { "SubjectPublicKeyInfo", "x509af.SubjectPublicKeyInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_CertificatePair_PDU, { "CertificatePair", "x509af.CertificatePair_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_CertificateList_PDU, { "CertificateList", "x509af.CertificateList_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_AttributeCertificate_PDU, { "AttributeCertificate", "x509af.AttributeCertificate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_DSS_Params_PDU, { "DSS-Params", "x509af.DSS_Params_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_Userid_PDU, { "Userid", "x509af.Userid", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_signedCertificate, { "signedCertificate", "x509af.signedCertificate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_version, { "version", "x509af.version", FT_INT32, BASE_DEC, VALS(x509af_Version_vals), 0, NULL, HFILL }}, { &hf_x509af_serialNumber, { "serialNumber", "x509af.serialNumber", FT_BYTES, BASE_NONE, NULL, 0, "CertificateSerialNumber", HFILL }}, { &hf_x509af_signature, { "signature", "x509af.signature_element", FT_NONE, BASE_NONE, NULL, 0, "AlgorithmIdentifier", HFILL }}, { &hf_x509af_issuer, { "issuer", "x509af.issuer", FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0, "Name", HFILL }}, { &hf_x509af_validity, { "validity", "x509af.validity_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_subject, { "subject", "x509af.subject", FT_UINT32, BASE_DEC, VALS(x509af_SubjectName_vals), 0, "SubjectName", HFILL }}, { &hf_x509af_subjectPublicKeyInfo, { "subjectPublicKeyInfo", "x509af.subjectPublicKeyInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_issuerUniqueIdentifier, { "issuerUniqueIdentifier", "x509af.issuerUniqueIdentifier", FT_BYTES, BASE_NONE, NULL, 0, "UniqueIdentifier", HFILL }}, { &hf_x509af_subjectUniqueIdentifier, { "subjectUniqueIdentifier", "x509af.subjectUniqueIdentifier", FT_BYTES, BASE_NONE, NULL, 0, "UniqueIdentifier", HFILL }}, { &hf_x509af_extensions, { "extensions", "x509af.extensions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509af_algorithmIdentifier, { "algorithmIdentifier", "x509af.algorithmIdentifier_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_encrypted, { "encrypted", "x509af.encrypted", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING", HFILL }}, { &hf_x509af_rdnSequence, { "rdnSequence", "x509af.rdnSequence", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509af_algorithmId, { "algorithmId", "x509af.algorithmId", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_parameters, { "parameters", "x509af.parameters_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_notBefore, { "notBefore", "x509af.notBefore", FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0, "Time", HFILL }}, { &hf_x509af_notAfter, { "notAfter", "x509af.notAfter", FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0, "Time", HFILL }}, { &hf_x509af_algorithm, { "algorithm", "x509af.algorithm_element", FT_NONE, BASE_NONE, NULL, 0, "AlgorithmIdentifier", HFILL }}, { &hf_x509af_subjectPublicKey, { "subjectPublicKey", "x509af.subjectPublicKey", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_utcTime, { "utcTime", "x509af.utcTime", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_generalizedTime, { "generalizedTime", "x509af.generalizedTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }}, { &hf_x509af_Extensions_item, { "Extension", "x509af.Extension_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_extnId, { "extnId", "x509af.extnId", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_critical, { "critical", "x509af.critical", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509af_extnValue, { "extnValue", "x509af.extnValue", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_userCertificate, { "userCertificate", "x509af.userCertificate_element", FT_NONE, BASE_NONE, NULL, 0, "Certificate", HFILL }}, { &hf_x509af_certificationPath, { "certificationPath", "x509af.certificationPath", FT_UINT32, BASE_DEC, NULL, 0, "ForwardCertificationPath", HFILL }}, { &hf_x509af_ForwardCertificationPath_item, { "CrossCertificates", "x509af.CrossCertificates", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509af_CrossCertificates_item, { "Certificate", "x509af.Certificate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_theCACertificates, { "theCACertificates", "x509af.theCACertificates", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_CertificatePair", HFILL }}, { &hf_x509af_theCACertificates_item, { "CertificatePair", "x509af.CertificatePair_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_issuedByThisCA, { "issuedByThisCA", "x509af.issuedByThisCA_element", FT_NONE, BASE_NONE, NULL, 0, "Certificate", HFILL }}, { &hf_x509af_issuedToThisCA, { "issuedToThisCA", "x509af.issuedToThisCA_element", FT_NONE, BASE_NONE, NULL, 0, "Certificate", HFILL }}, { &hf_x509af_signedCertificateList, { "signedCertificateList", "x509af.signedCertificateList_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_thisUpdate, { "thisUpdate", "x509af.thisUpdate", FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0, "Time", HFILL }}, { &hf_x509af_nextUpdate, { "nextUpdate", "x509af.nextUpdate", FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0, "Time", HFILL }}, { &hf_x509af_revokedCertificates, { "revokedCertificates", "x509af.revokedCertificates", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509af_revokedCertificates_item, { "revokedCertificates item", "x509af.revokedCertificates_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_revokedUserCertificate, { "userCertificate", "x509af.userCertificate", FT_BYTES, BASE_NONE, NULL, 0, "CertificateSerialNumber", HFILL }}, { &hf_x509af_revocationDate, { "revocationDate", "x509af.revocationDate", FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0, "Time", HFILL }}, { &hf_x509af_crlEntryExtensions, { "crlEntryExtensions", "x509af.crlEntryExtensions", FT_UINT32, BASE_DEC, NULL, 0, "Extensions", HFILL }}, { &hf_x509af_crlExtensions, { "crlExtensions", "x509af.crlExtensions", FT_UINT32, BASE_DEC, NULL, 0, "Extensions", HFILL }}, { &hf_x509af_attributeCertificate, { "attributeCertificate", "x509af.attributeCertificate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_acPath, { "acPath", "x509af.acPath", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ACPathData", HFILL }}, { &hf_x509af_acPath_item, { "ACPathData", "x509af.ACPathData_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_certificate, { "certificate", "x509af.certificate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_signedAttributeCertificateInfo, { "signedAttributeCertificateInfo", "x509af.signedAttributeCertificateInfo_element", FT_NONE, BASE_NONE, NULL, 0, "AttributeCertificateInfo", HFILL }}, { &hf_x509af_info_subject, { "subject", "x509af.subject", FT_UINT32, BASE_DEC, VALS(x509af_InfoSubject_vals), 0, "InfoSubject", HFILL }}, { &hf_x509af_baseCertificateID, { "baseCertificateID", "x509af.baseCertificateID_element", FT_NONE, BASE_NONE, NULL, 0, "IssuerSerial", HFILL }}, { &hf_x509af_infoSubjectName, { "subjectName", "x509af.subjectName", FT_UINT32, BASE_DEC, NULL, 0, "GeneralNames", HFILL }}, { &hf_x509af_issuerName, { "issuer", "x509af.issuer", FT_UINT32, BASE_DEC, NULL, 0, "GeneralNames", HFILL }}, { &hf_x509af_attCertValidityPeriod, { "attCertValidityPeriod", "x509af.attCertValidityPeriod_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_attributes, { "attributes", "x509af.attributes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Attribute", HFILL }}, { &hf_x509af_attributes_item, { "Attribute", "x509af.Attribute_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_issuerUniqueID, { "issuerUniqueID", "x509af.issuerUniqueID", FT_BYTES, BASE_NONE, NULL, 0, "UniqueIdentifier", HFILL }}, { &hf_x509af_serial, { "serial", "x509af.serial", FT_BYTES, BASE_NONE, NULL, 0, "CertificateSerialNumber", HFILL }}, { &hf_x509af_issuerUID, { "issuerUID", "x509af.issuerUID", FT_BYTES, BASE_NONE, NULL, 0, "UniqueIdentifier", HFILL }}, { &hf_x509af_notBeforeTime, { "notBeforeTime", "x509af.notBeforeTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509af_notAfterTime, { "notAfterTime", "x509af.notAfterTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509af_assertion_subject, { "subject", "x509af.subject", FT_UINT32, BASE_DEC, VALS(x509af_AssertionSubject_vals), 0, "AssertionSubject", HFILL }}, { &hf_x509af_assertionSubjectName, { "subjectName", "x509af.subjectName", FT_UINT32, BASE_DEC, VALS(x509af_SubjectName_vals), 0, NULL, HFILL }}, { &hf_x509af_assertionIssuer, { "issuer", "x509af.issuer", FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0, "Name", HFILL }}, { &hf_x509af_attCertValidity, { "attCertValidity", "x509af.attCertValidity", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509af_attType, { "attType", "x509af.attType", FT_UINT32, BASE_DEC, NULL, 0, "SET_OF_AttributeType", HFILL }}, { &hf_x509af_attType_item, { "AttributeType", "x509af.AttributeType", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509af_p, { "p", "x509af.p", FT_BYTES, BASE_NONE, NULL, 0, "INTEGER", HFILL }}, { &hf_x509af_q, { "q", "x509af.q", FT_BYTES, BASE_NONE, NULL, 0, "INTEGER", HFILL }}, { &hf_x509af_g, { "g", "x509af.g", FT_BYTES, BASE_NONE, NULL, 0, "INTEGER", HFILL }}, }; /* List of subtrees */ static gint *ett[] = { &ett_pkix_crl, &ett_x509af_Certificate, &ett_x509af_T_signedCertificate, &ett_x509af_SubjectName, &ett_x509af_AlgorithmIdentifier, &ett_x509af_Validity, &ett_x509af_SubjectPublicKeyInfo, &ett_x509af_Time, &ett_x509af_Extensions, &ett_x509af_Extension, &ett_x509af_Certificates, &ett_x509af_ForwardCertificationPath, &ett_x509af_CrossCertificates, &ett_x509af_CertificationPath, &ett_x509af_SEQUENCE_OF_CertificatePair, &ett_x509af_CertificatePair, &ett_x509af_CertificateList, &ett_x509af_T_signedCertificateList, &ett_x509af_T_revokedCertificates, &ett_x509af_T_revokedCertificates_item, &ett_x509af_AttributeCertificationPath, &ett_x509af_SEQUENCE_OF_ACPathData, &ett_x509af_ACPathData, &ett_x509af_AttributeCertificate, &ett_x509af_AttributeCertificateInfo, &ett_x509af_InfoSubject, &ett_x509af_SEQUENCE_OF_Attribute, &ett_x509af_IssuerSerial, &ett_x509af_AttCertValidityPeriod, &ett_x509af_AttributeCertificateAssertion, &ett_x509af_AssertionSubject, &ett_x509af_SET_OF_AttributeType, &ett_x509af_DSS_Params, }; /* Register protocol */ proto_x509af = proto_register_protocol(PNAME, PSNAME, PFNAME); /* Register fields and subtrees */ proto_register_field_array(proto_x509af, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); register_cleanup_routine(&x509af_cleanup_protocol); pkix_crl_handle = register_dissector(PFNAME, dissect_pkix_crl, proto_x509af); register_ber_syntax_dissector("Certificate", proto_x509af, dissect_x509af_Certificate_PDU); register_ber_syntax_dissector("CertificateList", proto_x509af, dissect_CertificateList_PDU); register_ber_syntax_dissector("CrossCertificatePair", proto_x509af, dissect_CertificatePair_PDU); register_ber_oid_syntax(".cer", NULL, "Certificate"); register_ber_oid_syntax(".crt", NULL, "Certificate"); register_ber_oid_syntax(".crl", NULL, "CertificateList"); } /*--- proto_reg_handoff_x509af -------------------------------------------*/ void proto_reg_handoff_x509af(void) { dissector_add_string("media_type", "application/pkix-crl", pkix_crl_handle); register_ber_oid_dissector("2.5.4.36", dissect_x509af_Certificate_PDU, proto_x509af, "id-at-userCertificate"); register_ber_oid_dissector("2.5.4.37", dissect_x509af_Certificate_PDU, proto_x509af, "id-at-cAcertificate"); register_ber_oid_dissector("2.5.4.38", dissect_CertificateList_PDU, proto_x509af, "id-at-authorityRevocationList"); register_ber_oid_dissector("2.5.4.39", dissect_CertificateList_PDU, proto_x509af, "id-at-certificateRevocationList"); register_ber_oid_dissector("2.5.4.40", dissect_CertificatePair_PDU, proto_x509af, "id-at-crossCertificatePair"); register_ber_oid_dissector("2.5.4.53", dissect_CertificateList_PDU, proto_x509af, "id-at-deltaRevocationList"); register_ber_oid_dissector("2.5.4.58", dissect_AttributeCertificate_PDU, proto_x509af, "id-at-attributeCertificate"); register_ber_oid_dissector("2.5.4.59", dissect_CertificateList_PDU, proto_x509af, "id-at-attributeCertificateRevocationList"); register_ber_oid_dissector("1.2.840.10040.4.1", dissect_DSS_Params_PDU, proto_x509af, "id-dsa"); register_ber_oid_dissector("0.9.2342.19200300.100.1.1", dissect_Userid_PDU, proto_x509af, "id-userid"); /*XXX these should really go to a better place but since I have not that ITU standard, I'll put it here for the time being. Only implemented those algorithms that take no parameters for the time being, ronnie */ /* from http://www.alvestrand.no/objectid/1.3.14.3.2.html */ register_ber_oid_dissector("1.3.14.3.2.2", dissect_ber_oid_NULL_callback, proto_x509af, "md4WithRSA"); register_ber_oid_dissector("1.3.14.3.2.3", dissect_ber_oid_NULL_callback, proto_x509af, "md5WithRSA"); register_ber_oid_dissector("1.3.14.3.2.4", dissect_ber_oid_NULL_callback, proto_x509af, "md4WithRSAEncryption"); register_ber_oid_dissector("1.3.14.3.2.6", dissect_ber_oid_NULL_callback, proto_x509af, "desECB"); register_ber_oid_dissector("1.3.14.3.2.11", dissect_ber_oid_NULL_callback, proto_x509af, "rsaSignature"); register_ber_oid_dissector("1.3.14.3.2.14", dissect_ber_oid_NULL_callback, proto_x509af, "mdc2WithRSASignature"); register_ber_oid_dissector("1.3.14.3.2.15", dissect_ber_oid_NULL_callback, proto_x509af, "shaWithRSASignature"); register_ber_oid_dissector("1.3.14.3.2.16", dissect_ber_oid_NULL_callback, proto_x509af, "dhWithCommonModulus"); register_ber_oid_dissector("1.3.14.3.2.17", dissect_ber_oid_NULL_callback, proto_x509af, "desEDE"); register_ber_oid_dissector("1.3.14.3.2.18", dissect_ber_oid_NULL_callback, proto_x509af, "sha"); register_ber_oid_dissector("1.3.14.3.2.19", dissect_ber_oid_NULL_callback, proto_x509af, "mdc-2"); register_ber_oid_dissector("1.3.14.3.2.20", dissect_ber_oid_NULL_callback, proto_x509af, "dsaCommon"); register_ber_oid_dissector("1.3.14.3.2.21", dissect_ber_oid_NULL_callback, proto_x509af, "dsaCommonWithSHA"); register_ber_oid_dissector("1.3.14.3.2.22", dissect_ber_oid_NULL_callback, proto_x509af, "rsaKeyTransport"); register_ber_oid_dissector("1.3.14.3.2.23", dissect_ber_oid_NULL_callback, proto_x509af, "keyed-hash-seal"); register_ber_oid_dissector("1.3.14.3.2.24", dissect_ber_oid_NULL_callback, proto_x509af, "md2WithRSASignature"); register_ber_oid_dissector("1.3.14.3.2.25", dissect_ber_oid_NULL_callback, proto_x509af, "md5WithRSASignature"); register_ber_oid_dissector("1.3.14.3.2.26", dissect_ber_oid_NULL_callback, proto_x509af, "SHA-1"); register_ber_oid_dissector("1.3.14.3.2.27", dissect_ber_oid_NULL_callback, proto_x509af, "dsaWithSHA1"); register_ber_oid_dissector("1.3.14.3.2.28", dissect_ber_oid_NULL_callback, proto_x509af, "dsaWithCommonSHA1"); register_ber_oid_dissector("1.3.14.3.2.29", dissect_ber_oid_NULL_callback, proto_x509af, "sha-1WithRSAEncryption"); /* these will generally be encoded as ";binary" in LDAP */ dissector_add_string("ldap.name", "cACertificate", create_dissector_handle(dissect_x509af_Certificate_PDU, proto_x509af)); dissector_add_string("ldap.name", "userCertificate", create_dissector_handle(dissect_x509af_Certificate_PDU, proto_x509af)); dissector_add_string("ldap.name", "certificateRevocationList", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af)); dissector_add_string("ldap.name", "crl", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af)); dissector_add_string("ldap.name", "authorityRevocationList", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af)); dissector_add_string("ldap.name", "arl", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af)); dissector_add_string("ldap.name", "crossCertificatePair", create_dissector_handle(dissect_CertificatePair_PDU, proto_x509af)); /* RFC 7468 files */ dissector_add_string("rfc7468.preeb_label", "CERTIFICATE", create_dissector_handle(dissect_x509af_Certificate_PDU, proto_x509af)); dissector_add_string("rfc7468.preeb_label", "X509 CRL", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af)); dissector_add_string("rfc7468.preeb_label", "ATTRIBUTE CERTIFICATE", create_dissector_handle(dissect_AttributeCertificate_PDU, proto_x509af)); dissector_add_string("rfc7468.preeb_label", "PUBLIC KEY", create_dissector_handle(dissect_SubjectPublicKeyInfo_PDU, proto_x509af)); }
C/C++
wireshark/epan/dissectors/packet-x509af.h
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x509af.h */ /* asn2wrs.py -b -L -p x509af -c ./x509af.cnf -s ./packet-x509af-template -D . -O ../.. AuthenticationFramework.asn */ /* packet-x509af.h * Routines for X.509 Authentication Framework packet dissection * Ronnie Sahlberg 2004 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_X509AF_H #define PACKET_X509AF_H extern const value_string x509af_Version_vals[]; extern const value_string x509af_Time_vals[]; int dissect_x509af_Certificate(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_Version(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_CertificateSerialNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_AlgorithmIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_Validity(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_SubjectPublicKeyInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_Time(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_Extensions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_Extension(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_Certificates(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_ForwardCertificationPath(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_CrossCertificates(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_CertificationPath(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_CertificatePair(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_CertificateList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_AttributeCertificationPath(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_ACPathData(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_AttributeCertificate(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_AttributeCertificateInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_IssuerSerial(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_AttCertValidityPeriod(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_AttributeCertificateAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509af_Certificate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); extern const char* x509af_get_last_algorithm_id(void); #endif /* PACKET_X509AF_H */
C
wireshark/epan/dissectors/packet-x509ce.c
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x509ce.c */ /* asn2wrs.py -b -L -p x509ce -c ./x509ce.cnf -s ./packet-x509ce-template -D . -O ../.. CertificateExtensions.asn CertificateExtensionsRFC9310.asn CertificateExtensionsCiplus.asn */ /* packet-x509ce.c * Routines for X.509 Certificate Extensions packet dissection * Ronnie Sahlberg 2004 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/asn1.h> #include <epan/oids.h> #include "packet-ber.h" #include "packet-x509ce.h" #include "packet-x509af.h" #include "packet-x509if.h" #include "packet-x509sat.h" #include "packet-p1.h" #define PNAME "X.509 Certificate Extensions" #define PSNAME "X509CE" #define PFNAME "x509ce" void proto_register_x509ce(void); void proto_reg_handoff_x509ce(void); /* Initialize the protocol and registered fields */ static int proto_x509ce = -1; static int hf_x509ce_id_ce_invalidityDate = -1; static int hf_x509ce_id_ce_baseUpdateTime = -1; static int hf_x509ce_object_identifier_id = -1; static int hf_x509ce_IPAddress_ipv4 = -1; static int hf_x509ce_IPAddress_ipv6 = -1; static int hf_x509ce_AuthorityKeyIdentifier_PDU = -1; /* AuthorityKeyIdentifier */ static int hf_x509ce_SubjectKeyIdentifier_PDU = -1; /* SubjectKeyIdentifier */ static int hf_x509ce_KeyUsage_PDU = -1; /* KeyUsage */ static int hf_x509ce_KeyPurposeIDs_PDU = -1; /* KeyPurposeIDs */ static int hf_x509ce_PrivateKeyUsagePeriod_PDU = -1; /* PrivateKeyUsagePeriod */ static int hf_x509ce_CertificatePoliciesSyntax_PDU = -1; /* CertificatePoliciesSyntax */ static int hf_x509ce_PolicyMappingsSyntax_PDU = -1; /* PolicyMappingsSyntax */ static int hf_x509ce_GeneralNames_PDU = -1; /* GeneralNames */ static int hf_x509ce_AttributesSyntax_PDU = -1; /* AttributesSyntax */ static int hf_x509ce_BasicConstraintsSyntax_PDU = -1; /* BasicConstraintsSyntax */ static int hf_x509ce_NameConstraintsSyntax_PDU = -1; /* NameConstraintsSyntax */ static int hf_x509ce_PolicyConstraintsSyntax_PDU = -1; /* PolicyConstraintsSyntax */ static int hf_x509ce_SkipCerts_PDU = -1; /* SkipCerts */ static int hf_x509ce_CRLNumber_PDU = -1; /* CRLNumber */ static int hf_x509ce_CRLReason_PDU = -1; /* CRLReason */ static int hf_x509ce_HoldInstruction_PDU = -1; /* HoldInstruction */ static int hf_x509ce_CRLScopeSyntax_PDU = -1; /* CRLScopeSyntax */ static int hf_x509ce_StatusReferrals_PDU = -1; /* StatusReferrals */ static int hf_x509ce_CRLStreamIdentifier_PDU = -1; /* CRLStreamIdentifier */ static int hf_x509ce_OrderedListSyntax_PDU = -1; /* OrderedListSyntax */ static int hf_x509ce_DeltaInformation_PDU = -1; /* DeltaInformation */ static int hf_x509ce_CRLDistPointsSyntax_PDU = -1; /* CRLDistPointsSyntax */ static int hf_x509ce_IssuingDistPointSyntax_PDU = -1; /* IssuingDistPointSyntax */ static int hf_x509ce_BaseCRLNumber_PDU = -1; /* BaseCRLNumber */ static int hf_x509ce_ToBeRevokedSyntax_PDU = -1; /* ToBeRevokedSyntax */ static int hf_x509ce_RevokedGroupsSyntax_PDU = -1; /* RevokedGroupsSyntax */ static int hf_x509ce_ExpiredCertsOnCRL_PDU = -1; /* ExpiredCertsOnCRL */ static int hf_x509ce_AAIssuingDistPointSyntax_PDU = -1; /* AAIssuingDistPointSyntax */ static int hf_x509ce_CertificateAssertion_PDU = -1; /* CertificateAssertion */ static int hf_x509ce_CertificatePairExactAssertion_PDU = -1; /* CertificatePairExactAssertion */ static int hf_x509ce_CertificatePairAssertion_PDU = -1; /* CertificatePairAssertion */ static int hf_x509ce_CertificateListExactAssertion_PDU = -1; /* CertificateListExactAssertion */ static int hf_x509ce_CertificateListAssertion_PDU = -1; /* CertificateListAssertion */ static int hf_x509ce_PkiPathMatchSyntax_PDU = -1; /* PkiPathMatchSyntax */ static int hf_x509ce_EnhancedCertificateAssertion_PDU = -1; /* EnhancedCertificateAssertion */ static int hf_x509ce_CertificateTemplate_PDU = -1; /* CertificateTemplate */ static int hf_x509ce_NtdsCaSecurity_PDU = -1; /* NtdsCaSecurity */ static int hf_x509ce_NtdsObjectSid_PDU = -1; /* NtdsObjectSid */ static int hf_x509ce_EntrustVersionInfo_PDU = -1; /* EntrustVersionInfo */ static int hf_x509ce_NFTypes_PDU = -1; /* NFTypes */ static int hf_x509ce_ScramblerCapabilities_PDU = -1; /* ScramblerCapabilities */ static int hf_x509ce_CiplusInfo_PDU = -1; /* CiplusInfo */ static int hf_x509ce_CicamBrandId_PDU = -1; /* CicamBrandId */ static int hf_x509ce_keyIdentifier = -1; /* KeyIdentifier */ static int hf_x509ce_authorityCertIssuer = -1; /* GeneralNames */ static int hf_x509ce_authorityCertSerialNumber = -1; /* CertificateSerialNumber */ static int hf_x509ce_KeyPurposeIDs_item = -1; /* KeyPurposeId */ static int hf_x509ce_notBefore = -1; /* GeneralizedTime */ static int hf_x509ce_notAfter = -1; /* GeneralizedTime */ static int hf_x509ce_CertificatePoliciesSyntax_item = -1; /* PolicyInformation */ static int hf_x509ce_policyIdentifier = -1; /* CertPolicyId */ static int hf_x509ce_policyQualifiers = -1; /* SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo */ static int hf_x509ce_policyQualifiers_item = -1; /* PolicyQualifierInfo */ static int hf_x509ce_policyQualifierId = -1; /* T_policyQualifierId */ static int hf_x509ce_qualifier = -1; /* T_qualifier */ static int hf_x509ce_PolicyMappingsSyntax_item = -1; /* PolicyMappingsSyntax_item */ static int hf_x509ce_issuerDomainPolicy = -1; /* CertPolicyId */ static int hf_x509ce_subjectDomainPolicy = -1; /* CertPolicyId */ static int hf_x509ce_GeneralNames_item = -1; /* GeneralName */ static int hf_x509ce_otherName = -1; /* OtherName */ static int hf_x509ce_rfc822Name = -1; /* IA5String */ static int hf_x509ce_dNSName = -1; /* IA5String */ static int hf_x509ce_x400Address = -1; /* ORAddress */ static int hf_x509ce_directoryName = -1; /* Name */ static int hf_x509ce_ediPartyName = -1; /* EDIPartyName */ static int hf_x509ce_uniformResourceIdentifier = -1; /* T_uniformResourceIdentifier */ static int hf_x509ce_iPAddress = -1; /* T_iPAddress */ static int hf_x509ce_registeredID = -1; /* OBJECT_IDENTIFIER */ static int hf_x509ce_type_id = -1; /* OtherNameType */ static int hf_x509ce_value = -1; /* OtherNameValue */ static int hf_x509ce_nameAssigner = -1; /* DirectoryString */ static int hf_x509ce_partyName = -1; /* DirectoryString */ static int hf_x509ce_AttributesSyntax_item = -1; /* Attribute */ static int hf_x509ce_cA = -1; /* BOOLEAN */ static int hf_x509ce_pathLenConstraint = -1; /* INTEGER_0_MAX */ static int hf_x509ce_permittedSubtrees = -1; /* GeneralSubtrees */ static int hf_x509ce_excludedSubtrees = -1; /* GeneralSubtrees */ static int hf_x509ce_GeneralSubtrees_item = -1; /* GeneralSubtree */ static int hf_x509ce_base = -1; /* GeneralName */ static int hf_x509ce_minimum = -1; /* BaseDistance */ static int hf_x509ce_maximum = -1; /* BaseDistance */ static int hf_x509ce_requireExplicitPolicy = -1; /* SkipCerts */ static int hf_x509ce_inhibitPolicyMapping = -1; /* SkipCerts */ static int hf_x509ce_CRLScopeSyntax_item = -1; /* PerAuthorityScope */ static int hf_x509ce_authorityName = -1; /* GeneralName */ static int hf_x509ce_distributionPoint = -1; /* DistributionPointName */ static int hf_x509ce_onlyContains = -1; /* OnlyCertificateTypes */ static int hf_x509ce_onlySomeReasons = -1; /* ReasonFlags */ static int hf_x509ce_serialNumberRange = -1; /* NumberRange */ static int hf_x509ce_subjectKeyIdRange = -1; /* NumberRange */ static int hf_x509ce_nameSubtrees = -1; /* GeneralNames */ static int hf_x509ce_baseRevocationInfo = -1; /* BaseRevocationInfo */ static int hf_x509ce_startingNumber = -1; /* INTEGER */ static int hf_x509ce_endingNumber = -1; /* INTEGER */ static int hf_x509ce_modulus = -1; /* INTEGER */ static int hf_x509ce_cRLStreamIdentifier = -1; /* CRLStreamIdentifier */ static int hf_x509ce_cRLNumber = -1; /* CRLNumber */ static int hf_x509ce_baseThisUpdate = -1; /* GeneralizedTime */ static int hf_x509ce_StatusReferrals_item = -1; /* StatusReferral */ static int hf_x509ce_cRLReferral = -1; /* CRLReferral */ static int hf_x509ce_crlr_issuer = -1; /* GeneralName */ static int hf_x509ce_location = -1; /* GeneralName */ static int hf_x509ce_deltaRefInfo = -1; /* DeltaRefInfo */ static int hf_x509ce_cRLScope = -1; /* CRLScopeSyntax */ static int hf_x509ce_lastUpdate = -1; /* GeneralizedTime */ static int hf_x509ce_lastChangedCRL = -1; /* GeneralizedTime */ static int hf_x509ce_deltaLocation = -1; /* GeneralName */ static int hf_x509ce_lastDelta = -1; /* GeneralizedTime */ static int hf_x509ce_nextDelta = -1; /* GeneralizedTime */ static int hf_x509ce_CRLDistPointsSyntax_item = -1; /* DistributionPoint */ static int hf_x509ce_reasons = -1; /* ReasonFlags */ static int hf_x509ce_cRLIssuer = -1; /* GeneralNames */ static int hf_x509ce_fullName = -1; /* GeneralNames */ static int hf_x509ce_nameRelativeToCRLIssuer = -1; /* RelativeDistinguishedName */ static int hf_x509ce_onlyContainsUserPublicKeyCerts = -1; /* BOOLEAN */ static int hf_x509ce_onlyContainsCACerts = -1; /* BOOLEAN */ static int hf_x509ce_indirectCRL = -1; /* BOOLEAN */ static int hf_x509ce_ToBeRevokedSyntax_item = -1; /* ToBeRevokedGroup */ static int hf_x509ce_certificateIssuer = -1; /* GeneralName */ static int hf_x509ce_reasonInfo = -1; /* ReasonInfo */ static int hf_x509ce_revocationTime = -1; /* GeneralizedTime */ static int hf_x509ce_certificateGroup = -1; /* CertificateGroup */ static int hf_x509ce_reasonCode = -1; /* CRLReason */ static int hf_x509ce_holdInstructionCode = -1; /* HoldInstruction */ static int hf_x509ce_serialNumbers = -1; /* CertificateSerialNumbers */ static int hf_x509ce_certificateGroupNumberRange = -1; /* CertificateGroupNumberRange */ static int hf_x509ce_nameSubtree = -1; /* GeneralName */ static int hf_x509ce_CertificateSerialNumbers_item = -1; /* CertificateSerialNumber */ static int hf_x509ce_RevokedGroupsSyntax_item = -1; /* RevokedGroup */ static int hf_x509ce_invalidityDate = -1; /* GeneralizedTime */ static int hf_x509ce_revokedcertificateGroup = -1; /* RevokedCertificateGroup */ static int hf_x509ce_containsUserAttributeCerts = -1; /* BOOLEAN */ static int hf_x509ce_containsAACerts = -1; /* BOOLEAN */ static int hf_x509ce_containsSOAPublicKeyCerts = -1; /* BOOLEAN */ static int hf_x509ce_serialNumber = -1; /* CertificateSerialNumber */ static int hf_x509ce_issuer = -1; /* Name */ static int hf_x509ce_subjectKeyIdentifier = -1; /* SubjectKeyIdentifier */ static int hf_x509ce_authorityKeyIdentifier = -1; /* AuthorityKeyIdentifier */ static int hf_x509ce_certificateValid = -1; /* Time */ static int hf_x509ce_privateKeyValid = -1; /* GeneralizedTime */ static int hf_x509ce_subjectPublicKeyAlgID = -1; /* OBJECT_IDENTIFIER */ static int hf_x509ce_keyUsage = -1; /* KeyUsage */ static int hf_x509ce_subjectAltNameType = -1; /* AltNameType */ static int hf_x509ce_policy = -1; /* CertPolicySet */ static int hf_x509ce_pathToName = -1; /* Name */ static int hf_x509ce_subject = -1; /* Name */ static int hf_x509ce_nameConstraints = -1; /* NameConstraintsSyntax */ static int hf_x509ce_builtinNameForm = -1; /* T_builtinNameForm */ static int hf_x509ce_otherNameForm = -1; /* OBJECT_IDENTIFIER */ static int hf_x509ce_CertPolicySet_item = -1; /* CertPolicyId */ static int hf_x509ce_cpea_issuedToThisCAAssertion = -1; /* CertificateExactAssertion */ static int hf_x509ce_cpea_issuedByThisCAAssertion = -1; /* CertificateExactAssertion */ static int hf_x509ce_issuedToThisCAAssertion = -1; /* CertificateAssertion */ static int hf_x509ce_issuedByThisCAAssertion = -1; /* CertificateAssertion */ static int hf_x509ce_thisUpdate = -1; /* Time */ static int hf_x509ce_minCRLNumber = -1; /* CRLNumber */ static int hf_x509ce_maxCRLNumber = -1; /* CRLNumber */ static int hf_x509ce_reasonFlags = -1; /* ReasonFlags */ static int hf_x509ce_dateAndTime = -1; /* Time */ static int hf_x509ce_firstIssuer = -1; /* Name */ static int hf_x509ce_lastSubject = -1; /* Name */ static int hf_x509ce_subjectAltName = -1; /* AltName */ static int hf_x509ce_enhancedPathToName = -1; /* GeneralNames */ static int hf_x509ce_altnameType = -1; /* AltNameType */ static int hf_x509ce_altNameValue = -1; /* GeneralName */ static int hf_x509ce_templateID = -1; /* OBJECT_IDENTIFIER */ static int hf_x509ce_templateMajorVersion = -1; /* INTEGER */ static int hf_x509ce_templateMinorVersion = -1; /* INTEGER */ static int hf_x509ce_ntdsObjectSid = -1; /* NtdsObjectSid */ static int hf_x509ce_type_id_01 = -1; /* OBJECT_IDENTIFIER */ static int hf_x509ce_sid = -1; /* PrintableString */ static int hf_x509ce_entrustVers = -1; /* GeneralString */ static int hf_x509ce_entrustVersInfoFlags = -1; /* EntrustInfoFlags */ static int hf_x509ce_NFTypes_item = -1; /* NFType */ static int hf_x509ce_capability = -1; /* INTEGER_0_MAX */ static int hf_x509ce_version = -1; /* INTEGER_0_MAX */ /* named bits */ static int hf_x509ce_KeyUsage_digitalSignature = -1; static int hf_x509ce_KeyUsage_contentCommitment = -1; static int hf_x509ce_KeyUsage_keyEncipherment = -1; static int hf_x509ce_KeyUsage_dataEncipherment = -1; static int hf_x509ce_KeyUsage_keyAgreement = -1; static int hf_x509ce_KeyUsage_keyCertSign = -1; static int hf_x509ce_KeyUsage_cRLSign = -1; static int hf_x509ce_KeyUsage_encipherOnly = -1; static int hf_x509ce_KeyUsage_decipherOnly = -1; static int hf_x509ce_OnlyCertificateTypes_user = -1; static int hf_x509ce_OnlyCertificateTypes_authority = -1; static int hf_x509ce_OnlyCertificateTypes_attribute = -1; static int hf_x509ce_ReasonFlags_unused = -1; static int hf_x509ce_ReasonFlags_keyCompromise = -1; static int hf_x509ce_ReasonFlags_cACompromise = -1; static int hf_x509ce_ReasonFlags_affiliationChanged = -1; static int hf_x509ce_ReasonFlags_superseded = -1; static int hf_x509ce_ReasonFlags_cessationOfOperation = -1; static int hf_x509ce_ReasonFlags_certificateHold = -1; static int hf_x509ce_ReasonFlags_privilegeWithdrawn = -1; static int hf_x509ce_ReasonFlags_aACompromise = -1; static int hf_x509ce_EntrustInfoFlags_keyUpdateAllowed = -1; static int hf_x509ce_EntrustInfoFlags_newExtensions = -1; static int hf_x509ce_EntrustInfoFlags_pKIXCertificate = -1; static int hf_x509ce_EntrustInfoFlags_enterpriseCategory = -1; static int hf_x509ce_EntrustInfoFlags_webCategory = -1; static int hf_x509ce_EntrustInfoFlags_sETCategory = -1; /* Initialize the subtree pointers */ static gint ett_x509ce_AuthorityKeyIdentifier = -1; static gint ett_x509ce_KeyUsage = -1; static gint ett_x509ce_KeyPurposeIDs = -1; static gint ett_x509ce_PrivateKeyUsagePeriod = -1; static gint ett_x509ce_CertificatePoliciesSyntax = -1; static gint ett_x509ce_PolicyInformation = -1; static gint ett_x509ce_SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo = -1; static gint ett_x509ce_PolicyQualifierInfo = -1; static gint ett_x509ce_PolicyMappingsSyntax = -1; static gint ett_x509ce_PolicyMappingsSyntax_item = -1; static gint ett_x509ce_GeneralNames = -1; static gint ett_x509ce_GeneralName = -1; static gint ett_x509ce_OtherName = -1; static gint ett_x509ce_EDIPartyName = -1; static gint ett_x509ce_AttributesSyntax = -1; static gint ett_x509ce_BasicConstraintsSyntax = -1; static gint ett_x509ce_NameConstraintsSyntax = -1; static gint ett_x509ce_GeneralSubtrees = -1; static gint ett_x509ce_GeneralSubtree = -1; static gint ett_x509ce_PolicyConstraintsSyntax = -1; static gint ett_x509ce_CRLScopeSyntax = -1; static gint ett_x509ce_PerAuthorityScope = -1; static gint ett_x509ce_OnlyCertificateTypes = -1; static gint ett_x509ce_NumberRange = -1; static gint ett_x509ce_BaseRevocationInfo = -1; static gint ett_x509ce_StatusReferrals = -1; static gint ett_x509ce_StatusReferral = -1; static gint ett_x509ce_CRLReferral = -1; static gint ett_x509ce_DeltaRefInfo = -1; static gint ett_x509ce_DeltaInformation = -1; static gint ett_x509ce_CRLDistPointsSyntax = -1; static gint ett_x509ce_DistributionPoint = -1; static gint ett_x509ce_DistributionPointName = -1; static gint ett_x509ce_ReasonFlags = -1; static gint ett_x509ce_IssuingDistPointSyntax = -1; static gint ett_x509ce_ToBeRevokedSyntax = -1; static gint ett_x509ce_ToBeRevokedGroup = -1; static gint ett_x509ce_ReasonInfo = -1; static gint ett_x509ce_CertificateGroup = -1; static gint ett_x509ce_CertificateGroupNumberRange = -1; static gint ett_x509ce_CertificateSerialNumbers = -1; static gint ett_x509ce_RevokedGroupsSyntax = -1; static gint ett_x509ce_RevokedGroup = -1; static gint ett_x509ce_RevokedCertificateGroup = -1; static gint ett_x509ce_AAIssuingDistPointSyntax = -1; static gint ett_x509ce_CertificateExactAssertion = -1; static gint ett_x509ce_CertificateAssertion = -1; static gint ett_x509ce_AltNameType = -1; static gint ett_x509ce_CertPolicySet = -1; static gint ett_x509ce_CertificatePairExactAssertion = -1; static gint ett_x509ce_CertificatePairAssertion = -1; static gint ett_x509ce_CertificateListExactAssertion = -1; static gint ett_x509ce_CertificateListAssertion = -1; static gint ett_x509ce_PkiPathMatchSyntax = -1; static gint ett_x509ce_EnhancedCertificateAssertion = -1; static gint ett_x509ce_AltName = -1; static gint ett_x509ce_CertificateTemplate = -1; static gint ett_x509ce_NtdsCaSecurity = -1; static gint ett_x509ce_NtdsObjectSid_U = -1; static gint ett_x509ce_EntrustVersionInfo = -1; static gint ett_x509ce_EntrustInfoFlags = -1; static gint ett_x509ce_NFTypes = -1; static gint ett_x509ce_ScramblerCapabilities = -1; int dissect_x509ce_KeyIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509ce_OtherNameType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_index, &actx->external.direct_reference); return offset; } static int dissect_x509ce_OtherNameValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t OtherName_sequence[] = { { &hf_x509ce_type_id , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_OtherNameType }, { &hf_x509ce_value , BER_CLASS_CON, 0, 0, dissect_x509ce_OtherNameValue }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_OtherName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, OtherName_sequence, hf_index, ett_x509ce_OtherName); return offset; } static int dissect_x509ce_IA5String(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t EDIPartyName_sequence[] = { { &hf_x509ce_nameAssigner , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509sat_DirectoryString }, { &hf_x509ce_partyName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_x509sat_DirectoryString }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_EDIPartyName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EDIPartyName_sequence, hf_index, ett_x509ce_EDIPartyName); return offset; } static int dissect_x509ce_T_uniformResourceIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String, actx, tree, tvb, offset, hf_index, NULL); proto_item_set_url(actx->created_item); return offset; } static int dissect_x509ce_T_iPAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { switch (tvb_reported_length(tvb)) { case 4: /* IPv4 */ proto_tree_add_item(tree, hf_x509ce_IPAddress_ipv4, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; break; case 16: /* IPv6 */ proto_tree_add_item(tree, hf_x509ce_IPAddress_ipv6, tvb, offset, 16, ENC_NA); offset += 16; break; } return offset; } static int dissect_x509ce_OBJECT_IDENTIFIER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } const value_string x509ce_GeneralName_vals[] = { { 0, "otherName" }, { 1, "rfc822Name" }, { 2, "dNSName" }, { 3, "x400Address" }, { 4, "directoryName" }, { 5, "ediPartyName" }, { 6, "uniformResourceIdentifier" }, { 7, "iPAddress" }, { 8, "registeredID" }, { 0, NULL } }; static const ber_choice_t GeneralName_choice[] = { { 0, &hf_x509ce_otherName , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x509ce_OtherName }, { 1, &hf_x509ce_rfc822Name , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_x509ce_IA5String }, { 2, &hf_x509ce_dNSName , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_x509ce_IA5String }, { 3, &hf_x509ce_x400Address , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_p1_ORAddress }, { 4, &hf_x509ce_directoryName, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_x509if_Name }, { 5, &hf_x509ce_ediPartyName , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_x509ce_EDIPartyName }, { 6, &hf_x509ce_uniformResourceIdentifier, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_x509ce_T_uniformResourceIdentifier }, { 7, &hf_x509ce_iPAddress , BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_x509ce_T_iPAddress }, { 8, &hf_x509ce_registeredID , BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_x509ce_OBJECT_IDENTIFIER }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509ce_GeneralName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, GeneralName_choice, hf_index, ett_x509ce_GeneralName, NULL); return offset; } static const ber_sequence_t GeneralNames_sequence_of[1] = { { &hf_x509ce_GeneralNames_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, }; int dissect_x509ce_GeneralNames(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, GeneralNames_sequence_of, hf_index, ett_x509ce_GeneralNames); return offset; } static const ber_sequence_t AuthorityKeyIdentifier_sequence[] = { { &hf_x509ce_keyIdentifier, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_KeyIdentifier }, { &hf_x509ce_authorityCertIssuer, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralNames }, { &hf_x509ce_authorityCertSerialNumber, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509af_CertificateSerialNumber }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_AuthorityKeyIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AuthorityKeyIdentifier_sequence, hf_index, ett_x509ce_AuthorityKeyIdentifier); return offset; } int dissect_x509ce_SubjectKeyIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_x509ce_KeyIdentifier(implicit_tag, tvb, offset, actx, tree, hf_index); return offset; } static int * const KeyUsage_bits[] = { &hf_x509ce_KeyUsage_digitalSignature, &hf_x509ce_KeyUsage_contentCommitment, &hf_x509ce_KeyUsage_keyEncipherment, &hf_x509ce_KeyUsage_dataEncipherment, &hf_x509ce_KeyUsage_keyAgreement, &hf_x509ce_KeyUsage_keyCertSign, &hf_x509ce_KeyUsage_cRLSign, &hf_x509ce_KeyUsage_encipherOnly, &hf_x509ce_KeyUsage_decipherOnly, NULL }; int dissect_x509ce_KeyUsage(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, KeyUsage_bits, 9, hf_index, ett_x509ce_KeyUsage, NULL); return offset; } int dissect_x509ce_KeyPurposeId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t KeyPurposeIDs_sequence_of[1] = { { &hf_x509ce_KeyPurposeIDs_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_KeyPurposeId }, }; int dissect_x509ce_KeyPurposeIDs(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, KeyPurposeIDs_sequence_of, hf_index, ett_x509ce_KeyPurposeIDs); return offset; } static int dissect_x509ce_GeneralizedTime(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_GeneralizedTime(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } static const ber_sequence_t PrivateKeyUsagePeriod_sequence[] = { { &hf_x509ce_notBefore , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralizedTime }, { &hf_x509ce_notAfter , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralizedTime }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_PrivateKeyUsagePeriod(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PrivateKeyUsagePeriod_sequence, hf_index, ett_x509ce_PrivateKeyUsagePeriod); return offset; } static int dissect_x509ce_CertPolicyId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509ce_T_policyQualifierId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509ce_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509ce_T_qualifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t PolicyQualifierInfo_sequence[] = { { &hf_x509ce_policyQualifierId, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_T_policyQualifierId }, { &hf_x509ce_qualifier , BER_CLASS_ANY, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_T_qualifier }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_PolicyQualifierInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PolicyQualifierInfo_sequence, hf_index, ett_x509ce_PolicyQualifierInfo); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo_sequence_of[1] = { { &hf_x509ce_policyQualifiers_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_PolicyQualifierInfo }, }; static int dissect_x509ce_SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo_sequence_of, hf_index, ett_x509ce_SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo); return offset; } static const ber_sequence_t PolicyInformation_sequence[] = { { &hf_x509ce_policyIdentifier, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_CertPolicyId }, { &hf_x509ce_policyQualifiers, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_PolicyInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PolicyInformation_sequence, hf_index, ett_x509ce_PolicyInformation); return offset; } static const ber_sequence_t CertificatePoliciesSyntax_sequence_of[1] = { { &hf_x509ce_CertificatePoliciesSyntax_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_PolicyInformation }, }; int dissect_x509ce_CertificatePoliciesSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, CertificatePoliciesSyntax_sequence_of, hf_index, ett_x509ce_CertificatePoliciesSyntax); return offset; } static const ber_sequence_t PolicyMappingsSyntax_item_sequence[] = { { &hf_x509ce_issuerDomainPolicy, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_CertPolicyId }, { &hf_x509ce_subjectDomainPolicy, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_CertPolicyId }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_PolicyMappingsSyntax_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PolicyMappingsSyntax_item_sequence, hf_index, ett_x509ce_PolicyMappingsSyntax_item); return offset; } static const ber_sequence_t PolicyMappingsSyntax_sequence_of[1] = { { &hf_x509ce_PolicyMappingsSyntax_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_PolicyMappingsSyntax_item }, }; int dissect_x509ce_PolicyMappingsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, PolicyMappingsSyntax_sequence_of, hf_index, ett_x509ce_PolicyMappingsSyntax); return offset; } static const ber_sequence_t AttributesSyntax_sequence_of[1] = { { &hf_x509ce_AttributesSyntax_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_Attribute }, }; int dissect_x509ce_AttributesSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, AttributesSyntax_sequence_of, hf_index, ett_x509ce_AttributesSyntax); return offset; } static int dissect_x509ce_BOOLEAN(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509ce_INTEGER_0_MAX(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t BasicConstraintsSyntax_sequence[] = { { &hf_x509ce_cA , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_BOOLEAN }, { &hf_x509ce_pathLenConstraint, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_INTEGER_0_MAX }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_BasicConstraintsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, BasicConstraintsSyntax_sequence, hf_index, ett_x509ce_BasicConstraintsSyntax); return offset; } int dissect_x509ce_BaseDistance(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t GeneralSubtree_sequence[] = { { &hf_x509ce_base , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { &hf_x509ce_minimum , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BaseDistance }, { &hf_x509ce_maximum , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BaseDistance }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_GeneralSubtree(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, GeneralSubtree_sequence, hf_index, ett_x509ce_GeneralSubtree); return offset; } static const ber_sequence_t GeneralSubtrees_sequence_of[1] = { { &hf_x509ce_GeneralSubtrees_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralSubtree }, }; int dissect_x509ce_GeneralSubtrees(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, GeneralSubtrees_sequence_of, hf_index, ett_x509ce_GeneralSubtrees); return offset; } static const ber_sequence_t NameConstraintsSyntax_sequence[] = { { &hf_x509ce_permittedSubtrees, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralSubtrees }, { &hf_x509ce_excludedSubtrees, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralSubtrees }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_NameConstraintsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, NameConstraintsSyntax_sequence, hf_index, ett_x509ce_NameConstraintsSyntax); return offset; } int dissect_x509ce_SkipCerts(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t PolicyConstraintsSyntax_sequence[] = { { &hf_x509ce_requireExplicitPolicy, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_SkipCerts }, { &hf_x509ce_inhibitPolicyMapping, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_SkipCerts }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_PolicyConstraintsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PolicyConstraintsSyntax_sequence, hf_index, ett_x509ce_PolicyConstraintsSyntax); return offset; } int dissect_x509ce_CRLNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } const value_string x509ce_CRLReason_vals[] = { { 0, "unspecified" }, { 1, "keyCompromise" }, { 2, "cACompromise" }, { 3, "affiliationChanged" }, { 4, "superseded" }, { 5, "cessationOfOperation" }, { 6, "certificateHold" }, { 8, "removeFromCRL" }, { 9, "privilegeWithdrawn" }, { 10, "aaCompromise" }, { 0, NULL } }; int dissect_x509ce_CRLReason(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } int dissect_x509ce_HoldInstruction(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } const value_string x509ce_DistributionPointName_vals[] = { { 0, "fullName" }, { 1, "nameRelativeToCRLIssuer" }, { 0, NULL } }; static const ber_choice_t DistributionPointName_choice[] = { { 0, &hf_x509ce_fullName , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralNames }, { 1, &hf_x509ce_nameRelativeToCRLIssuer, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_x509if_RelativeDistinguishedName }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509ce_DistributionPointName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, DistributionPointName_choice, hf_index, ett_x509ce_DistributionPointName, NULL); return offset; } static int * const OnlyCertificateTypes_bits[] = { &hf_x509ce_OnlyCertificateTypes_user, &hf_x509ce_OnlyCertificateTypes_authority, &hf_x509ce_OnlyCertificateTypes_attribute, NULL }; int dissect_x509ce_OnlyCertificateTypes(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, OnlyCertificateTypes_bits, 3, hf_index, ett_x509ce_OnlyCertificateTypes, NULL); return offset; } static int * const ReasonFlags_bits[] = { &hf_x509ce_ReasonFlags_unused, &hf_x509ce_ReasonFlags_keyCompromise, &hf_x509ce_ReasonFlags_cACompromise, &hf_x509ce_ReasonFlags_affiliationChanged, &hf_x509ce_ReasonFlags_superseded, &hf_x509ce_ReasonFlags_cessationOfOperation, &hf_x509ce_ReasonFlags_certificateHold, &hf_x509ce_ReasonFlags_privilegeWithdrawn, &hf_x509ce_ReasonFlags_aACompromise, NULL }; int dissect_x509ce_ReasonFlags(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, ReasonFlags_bits, 9, hf_index, ett_x509ce_ReasonFlags, NULL); return offset; } static int dissect_x509ce_INTEGER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t NumberRange_sequence[] = { { &hf_x509ce_startingNumber, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_INTEGER }, { &hf_x509ce_endingNumber , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_INTEGER }, { &hf_x509ce_modulus , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_INTEGER }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_NumberRange(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, NumberRange_sequence, hf_index, ett_x509ce_NumberRange); return offset; } int dissect_x509ce_CRLStreamIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t BaseRevocationInfo_sequence[] = { { &hf_x509ce_cRLStreamIdentifier, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CRLStreamIdentifier }, { &hf_x509ce_cRLNumber , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_x509ce_CRLNumber }, { &hf_x509ce_baseThisUpdate, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralizedTime }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_BaseRevocationInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, BaseRevocationInfo_sequence, hf_index, ett_x509ce_BaseRevocationInfo); return offset; } static const ber_sequence_t PerAuthorityScope_sequence[] = { { &hf_x509ce_authorityName, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { &hf_x509ce_distributionPoint, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_DistributionPointName }, { &hf_x509ce_onlyContains , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_OnlyCertificateTypes }, { &hf_x509ce_onlySomeReasons, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_ReasonFlags }, { &hf_x509ce_serialNumberRange, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_NumberRange }, { &hf_x509ce_subjectKeyIdRange, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_NumberRange }, { &hf_x509ce_nameSubtrees , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralNames }, { &hf_x509ce_baseRevocationInfo, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BaseRevocationInfo }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_PerAuthorityScope(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PerAuthorityScope_sequence, hf_index, ett_x509ce_PerAuthorityScope); return offset; } static const ber_sequence_t CRLScopeSyntax_sequence_of[1] = { { &hf_x509ce_CRLScopeSyntax_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_PerAuthorityScope }, }; int dissect_x509ce_CRLScopeSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, CRLScopeSyntax_sequence_of, hf_index, ett_x509ce_CRLScopeSyntax); return offset; } static const ber_sequence_t DeltaRefInfo_sequence[] = { { &hf_x509ce_deltaLocation, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { &hf_x509ce_lastDelta , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralizedTime }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_DeltaRefInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DeltaRefInfo_sequence, hf_index, ett_x509ce_DeltaRefInfo); return offset; } static const ber_sequence_t CRLReferral_sequence[] = { { &hf_x509ce_crlr_issuer , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { &hf_x509ce_location , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { &hf_x509ce_deltaRefInfo , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_DeltaRefInfo }, { &hf_x509ce_cRLScope , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_CRLScopeSyntax }, { &hf_x509ce_lastUpdate , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralizedTime }, { &hf_x509ce_lastChangedCRL, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralizedTime }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_CRLReferral(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CRLReferral_sequence, hf_index, ett_x509ce_CRLReferral); return offset; } const value_string x509ce_StatusReferral_vals[] = { { 0, "cRLReferral" }, { 0, NULL } }; static const ber_choice_t StatusReferral_choice[] = { { 0, &hf_x509ce_cRLReferral , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x509ce_CRLReferral }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509ce_StatusReferral(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, StatusReferral_choice, hf_index, ett_x509ce_StatusReferral, NULL); return offset; } static const ber_sequence_t StatusReferrals_sequence_of[1] = { { &hf_x509ce_StatusReferrals_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_StatusReferral }, }; int dissect_x509ce_StatusReferrals(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, StatusReferrals_sequence_of, hf_index, ett_x509ce_StatusReferrals); return offset; } const value_string x509ce_OrderedListSyntax_vals[] = { { 0, "ascSerialNum" }, { 1, "ascRevDate" }, { 0, NULL } }; int dissect_x509ce_OrderedListSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t DeltaInformation_sequence[] = { { &hf_x509ce_deltaLocation, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { &hf_x509ce_nextDelta , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralizedTime }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_DeltaInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DeltaInformation_sequence, hf_index, ett_x509ce_DeltaInformation); return offset; } static const ber_sequence_t DistributionPoint_sequence[] = { { &hf_x509ce_distributionPoint, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_DistributionPointName }, { &hf_x509ce_reasons , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_ReasonFlags }, { &hf_x509ce_cRLIssuer , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralNames }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_DistributionPoint(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DistributionPoint_sequence, hf_index, ett_x509ce_DistributionPoint); return offset; } static const ber_sequence_t CRLDistPointsSyntax_sequence_of[1] = { { &hf_x509ce_CRLDistPointsSyntax_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_DistributionPoint }, }; int dissect_x509ce_CRLDistPointsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, CRLDistPointsSyntax_sequence_of, hf_index, ett_x509ce_CRLDistPointsSyntax); return offset; } static const ber_sequence_t IssuingDistPointSyntax_sequence[] = { { &hf_x509ce_distributionPoint, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_DistributionPointName }, { &hf_x509ce_onlyContainsUserPublicKeyCerts, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BOOLEAN }, { &hf_x509ce_onlyContainsCACerts, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BOOLEAN }, { &hf_x509ce_onlySomeReasons, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_ReasonFlags }, { &hf_x509ce_indirectCRL , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BOOLEAN }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_IssuingDistPointSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, IssuingDistPointSyntax_sequence, hf_index, ett_x509ce_IssuingDistPointSyntax); return offset; } int dissect_x509ce_BaseCRLNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_x509ce_CRLNumber(implicit_tag, tvb, offset, actx, tree, hf_index); return offset; } static const ber_sequence_t ReasonInfo_sequence[] = { { &hf_x509ce_reasonCode , BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_NOOWNTAG, dissect_x509ce_CRLReason }, { &hf_x509ce_holdInstructionCode, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_HoldInstruction }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_ReasonInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ReasonInfo_sequence, hf_index, ett_x509ce_ReasonInfo); return offset; } static const ber_sequence_t CertificateSerialNumbers_sequence_of[1] = { { &hf_x509ce_CertificateSerialNumbers_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_CertificateSerialNumber }, }; static int dissect_x509ce_CertificateSerialNumbers(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, CertificateSerialNumbers_sequence_of, hf_index, ett_x509ce_CertificateSerialNumbers); return offset; } static const ber_sequence_t CertificateGroupNumberRange_sequence[] = { { &hf_x509ce_startingNumber, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x509ce_INTEGER }, { &hf_x509ce_endingNumber , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_x509ce_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_CertificateGroupNumberRange(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificateGroupNumberRange_sequence, hf_index, ett_x509ce_CertificateGroupNumberRange); return offset; } static const value_string x509ce_CertificateGroup_vals[] = { { 0, "serialNumbers" }, { 1, "serialNumberRange" }, { 2, "nameSubtree" }, { 0, NULL } }; static const ber_choice_t CertificateGroup_choice[] = { { 0, &hf_x509ce_serialNumbers, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x509ce_CertificateSerialNumbers }, { 1, &hf_x509ce_certificateGroupNumberRange, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_x509ce_CertificateGroupNumberRange }, { 2, &hf_x509ce_nameSubtree , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralName }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_CertificateGroup(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, CertificateGroup_choice, hf_index, ett_x509ce_CertificateGroup, NULL); return offset; } static const ber_sequence_t ToBeRevokedGroup_sequence[] = { { &hf_x509ce_certificateIssuer, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { &hf_x509ce_reasonInfo , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_ReasonInfo }, { &hf_x509ce_revocationTime, BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralizedTime }, { &hf_x509ce_certificateGroup, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_CertificateGroup }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_ToBeRevokedGroup(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ToBeRevokedGroup_sequence, hf_index, ett_x509ce_ToBeRevokedGroup); return offset; } static const ber_sequence_t ToBeRevokedSyntax_sequence_of[1] = { { &hf_x509ce_ToBeRevokedSyntax_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_ToBeRevokedGroup }, }; static int dissect_x509ce_ToBeRevokedSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, ToBeRevokedSyntax_sequence_of, hf_index, ett_x509ce_ToBeRevokedSyntax); return offset; } static const value_string x509ce_RevokedCertificateGroup_vals[] = { { 0, "serialNumberRange" }, { 1, "nameSubtree" }, { 0, NULL } }; static const ber_choice_t RevokedCertificateGroup_choice[] = { { 0, &hf_x509ce_serialNumberRange, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_NumberRange }, { 1, &hf_x509ce_nameSubtree , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralName }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_RevokedCertificateGroup(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, RevokedCertificateGroup_choice, hf_index, ett_x509ce_RevokedCertificateGroup, NULL); return offset; } static const ber_sequence_t RevokedGroup_sequence[] = { { &hf_x509ce_certificateIssuer, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { &hf_x509ce_reasonInfo , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_ReasonInfo }, { &hf_x509ce_invalidityDate, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralizedTime }, { &hf_x509ce_revokedcertificateGroup, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_RevokedCertificateGroup }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_RevokedGroup(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, RevokedGroup_sequence, hf_index, ett_x509ce_RevokedGroup); return offset; } static const ber_sequence_t RevokedGroupsSyntax_sequence_of[1] = { { &hf_x509ce_RevokedGroupsSyntax_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_RevokedGroup }, }; static int dissect_x509ce_RevokedGroupsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, RevokedGroupsSyntax_sequence_of, hf_index, ett_x509ce_RevokedGroupsSyntax); return offset; } static int dissect_x509ce_ExpiredCertsOnCRL(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_GeneralizedTime(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } static const ber_sequence_t AAIssuingDistPointSyntax_sequence[] = { { &hf_x509ce_distributionPoint, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_DistributionPointName }, { &hf_x509ce_onlySomeReasons, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_ReasonFlags }, { &hf_x509ce_indirectCRL , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BOOLEAN }, { &hf_x509ce_containsUserAttributeCerts, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BOOLEAN }, { &hf_x509ce_containsAACerts, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BOOLEAN }, { &hf_x509ce_containsSOAPublicKeyCerts, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_BOOLEAN }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_AAIssuingDistPointSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AAIssuingDistPointSyntax_sequence, hf_index, ett_x509ce_AAIssuingDistPointSyntax); return offset; } static const ber_sequence_t CertificateExactAssertion_sequence[] = { { &hf_x509ce_serialNumber , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509af_CertificateSerialNumber }, { &hf_x509ce_issuer , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509if_Name }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_CertificateExactAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificateExactAssertion_sequence, hf_index, ett_x509ce_CertificateExactAssertion); return offset; } static const value_string x509ce_T_builtinNameForm_vals[] = { { 1, "rfc822Name" }, { 2, "dNSName" }, { 3, "x400Address" }, { 4, "directoryName" }, { 5, "ediPartyName" }, { 6, "uniformResourceIdentifier" }, { 7, "iPAddress" }, { 8, "registeredId" }, { 0, NULL } }; static int dissect_x509ce_T_builtinNameForm(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } const value_string x509ce_AltNameType_vals[] = { { 0, "builtinNameForm" }, { 1, "otherNameForm" }, { 0, NULL } }; static const ber_choice_t AltNameType_choice[] = { { 0, &hf_x509ce_builtinNameForm, BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_NOOWNTAG, dissect_x509ce_T_builtinNameForm }, { 1, &hf_x509ce_otherNameForm, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_OBJECT_IDENTIFIER }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509ce_AltNameType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, AltNameType_choice, hf_index, ett_x509ce_AltNameType, NULL); return offset; } static const ber_sequence_t CertPolicySet_sequence_of[1] = { { &hf_x509ce_CertPolicySet_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_CertPolicyId }, }; int dissect_x509ce_CertPolicySet(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, CertPolicySet_sequence_of, hf_index, ett_x509ce_CertPolicySet); return offset; } static const ber_sequence_t CertificateAssertion_sequence[] = { { &hf_x509ce_serialNumber , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509af_CertificateSerialNumber }, { &hf_x509ce_issuer , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509if_Name }, { &hf_x509ce_subjectKeyIdentifier, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_SubjectKeyIdentifier }, { &hf_x509ce_authorityKeyIdentifier, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_AuthorityKeyIdentifier }, { &hf_x509ce_certificateValid, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509af_Time }, { &hf_x509ce_privateKeyValid, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralizedTime }, { &hf_x509ce_subjectPublicKeyAlgID, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_OBJECT_IDENTIFIER }, { &hf_x509ce_keyUsage , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_KeyUsage }, { &hf_x509ce_subjectAltNameType, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_AltNameType }, { &hf_x509ce_policy , BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CertPolicySet }, { &hf_x509ce_pathToName , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509if_Name }, { &hf_x509ce_subject , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509if_Name }, { &hf_x509ce_nameConstraints, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_NameConstraintsSyntax }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_CertificateAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificateAssertion_sequence, hf_index, ett_x509ce_CertificateAssertion); return offset; } static const ber_sequence_t CertificatePairExactAssertion_sequence[] = { { &hf_x509ce_cpea_issuedToThisCAAssertion, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CertificateExactAssertion }, { &hf_x509ce_cpea_issuedByThisCAAssertion, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CertificateExactAssertion }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_CertificatePairExactAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificatePairExactAssertion_sequence, hf_index, ett_x509ce_CertificatePairExactAssertion); return offset; } static const ber_sequence_t CertificatePairAssertion_sequence[] = { { &hf_x509ce_issuedToThisCAAssertion, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CertificateAssertion }, { &hf_x509ce_issuedByThisCAAssertion, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CertificateAssertion }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_CertificatePairAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificatePairAssertion_sequence, hf_index, ett_x509ce_CertificatePairAssertion); return offset; } static const ber_sequence_t CertificateListExactAssertion_sequence[] = { { &hf_x509ce_issuer , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509if_Name }, { &hf_x509ce_thisUpdate , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509af_Time }, { &hf_x509ce_distributionPoint, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_DistributionPointName }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_CertificateListExactAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificateListExactAssertion_sequence, hf_index, ett_x509ce_CertificateListExactAssertion); return offset; } static const ber_sequence_t CertificateListAssertion_sequence[] = { { &hf_x509ce_issuer , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_Name }, { &hf_x509ce_minCRLNumber , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CRLNumber }, { &hf_x509ce_maxCRLNumber , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CRLNumber }, { &hf_x509ce_reasonFlags , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_ReasonFlags }, { &hf_x509ce_dateAndTime , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509af_Time }, { &hf_x509ce_distributionPoint, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_DistributionPointName }, { &hf_x509ce_authorityKeyIdentifier, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_AuthorityKeyIdentifier }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_CertificateListAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificateListAssertion_sequence, hf_index, ett_x509ce_CertificateListAssertion); return offset; } static const ber_sequence_t PkiPathMatchSyntax_sequence[] = { { &hf_x509ce_firstIssuer , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509if_Name }, { &hf_x509ce_lastSubject , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509if_Name }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_PkiPathMatchSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PkiPathMatchSyntax_sequence, hf_index, ett_x509ce_PkiPathMatchSyntax); return offset; } static const ber_sequence_t AltName_sequence[] = { { &hf_x509ce_altnameType , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_AltNameType }, { &hf_x509ce_altNameValue , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509ce_GeneralName }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_AltName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AltName_sequence, hf_index, ett_x509ce_AltName); return offset; } static const ber_sequence_t EnhancedCertificateAssertion_sequence[] = { { &hf_x509ce_serialNumber , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509af_CertificateSerialNumber }, { &hf_x509ce_issuer , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509if_Name }, { &hf_x509ce_subjectKeyIdentifier, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_SubjectKeyIdentifier }, { &hf_x509ce_authorityKeyIdentifier, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_AuthorityKeyIdentifier }, { &hf_x509ce_certificateValid, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509af_Time }, { &hf_x509ce_privateKeyValid, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralizedTime }, { &hf_x509ce_subjectPublicKeyAlgID, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_OBJECT_IDENTIFIER }, { &hf_x509ce_keyUsage , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_KeyUsage }, { &hf_x509ce_subjectAltName, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_AltName }, { &hf_x509ce_policy , BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CertPolicySet }, { &hf_x509ce_enhancedPathToName, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_GeneralNames }, { &hf_x509ce_subject , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509if_Name }, { &hf_x509ce_nameConstraints, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_NameConstraintsSyntax }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_EnhancedCertificateAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EnhancedCertificateAssertion_sequence, hf_index, ett_x509ce_EnhancedCertificateAssertion); return offset; } static const ber_sequence_t CertificateTemplate_sequence[] = { { &hf_x509ce_templateID , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_OBJECT_IDENTIFIER }, { &hf_x509ce_templateMajorVersion, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509ce_INTEGER }, { &hf_x509ce_templateMinorVersion, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_CertificateTemplate(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CertificateTemplate_sequence, hf_index, ett_x509ce_CertificateTemplate); return offset; } static int dissect_x509ce_PrintableString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t NtdsObjectSid_U_sequence[] = { { &hf_x509ce_type_id_01 , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509ce_OBJECT_IDENTIFIER }, { &hf_x509ce_sid , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x509ce_PrintableString }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_NtdsObjectSid_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, NtdsObjectSid_U_sequence, hf_index, ett_x509ce_NtdsObjectSid_U); return offset; } static int dissect_x509ce_NtdsObjectSid(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 0, TRUE, dissect_x509ce_NtdsObjectSid_U); return offset; } static const ber_sequence_t NtdsCaSecurity_sequence[] = { { &hf_x509ce_ntdsObjectSid, BER_CLASS_CON, 0, BER_FLAGS_NOOWNTAG, dissect_x509ce_NtdsObjectSid }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_NtdsCaSecurity(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, NtdsCaSecurity_sequence, hf_index, ett_x509ce_NtdsCaSecurity); return offset; } static int dissect_x509ce_GeneralString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_GeneralString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int * const EntrustInfoFlags_bits[] = { &hf_x509ce_EntrustInfoFlags_keyUpdateAllowed, &hf_x509ce_EntrustInfoFlags_newExtensions, &hf_x509ce_EntrustInfoFlags_pKIXCertificate, &hf_x509ce_EntrustInfoFlags_enterpriseCategory, &hf_x509ce_EntrustInfoFlags_webCategory, &hf_x509ce_EntrustInfoFlags_sETCategory, NULL }; static int dissect_x509ce_EntrustInfoFlags(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, EntrustInfoFlags_bits, 6, hf_index, ett_x509ce_EntrustInfoFlags, NULL); return offset; } static const ber_sequence_t EntrustVersionInfo_sequence[] = { { &hf_x509ce_entrustVers , BER_CLASS_UNI, BER_UNI_TAG_GeneralString, BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralString }, { &hf_x509ce_entrustVersInfoFlags, BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509ce_EntrustInfoFlags }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509ce_EntrustVersionInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EntrustVersionInfo_sequence, hf_index, ett_x509ce_EntrustVersionInfo); return offset; } static int dissect_x509ce_NFType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t NFTypes_sequence_of[1] = { { &hf_x509ce_NFTypes_item , BER_CLASS_UNI, BER_UNI_TAG_IA5String, BER_FLAGS_NOOWNTAG, dissect_x509ce_NFType }, }; static int dissect_x509ce_NFTypes(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, NFTypes_sequence_of, hf_index, ett_x509ce_NFTypes); return offset; } static const ber_sequence_t ScramblerCapabilities_sequence[] = { { &hf_x509ce_capability , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509ce_INTEGER_0_MAX }, { &hf_x509ce_version , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509ce_INTEGER_0_MAX }, { NULL, 0, 0, 0, NULL } }; int dissect_x509ce_ScramblerCapabilities(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ScramblerCapabilities_sequence, hf_index, ett_x509ce_ScramblerCapabilities); return offset; } int dissect_x509ce_CiplusInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, NULL, 0, hf_index, -1, NULL); return offset; } int dissect_x509ce_CicamBrandId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } /*--- PDUs ---*/ static int dissect_AuthorityKeyIdentifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_AuthorityKeyIdentifier(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_AuthorityKeyIdentifier_PDU); return offset; } static int dissect_SubjectKeyIdentifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_SubjectKeyIdentifier(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_SubjectKeyIdentifier_PDU); return offset; } static int dissect_KeyUsage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_KeyUsage(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_KeyUsage_PDU); return offset; } static int dissect_KeyPurposeIDs_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_KeyPurposeIDs(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_KeyPurposeIDs_PDU); return offset; } static int dissect_PrivateKeyUsagePeriod_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_PrivateKeyUsagePeriod(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_PrivateKeyUsagePeriod_PDU); return offset; } static int dissect_CertificatePoliciesSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CertificatePoliciesSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CertificatePoliciesSyntax_PDU); return offset; } static int dissect_PolicyMappingsSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_PolicyMappingsSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_PolicyMappingsSyntax_PDU); return offset; } static int dissect_GeneralNames_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_GeneralNames(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_GeneralNames_PDU); return offset; } static int dissect_AttributesSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_AttributesSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_AttributesSyntax_PDU); return offset; } static int dissect_BasicConstraintsSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_BasicConstraintsSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_BasicConstraintsSyntax_PDU); return offset; } static int dissect_NameConstraintsSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_NameConstraintsSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_NameConstraintsSyntax_PDU); return offset; } static int dissect_PolicyConstraintsSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_PolicyConstraintsSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_PolicyConstraintsSyntax_PDU); return offset; } static int dissect_SkipCerts_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_SkipCerts(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_SkipCerts_PDU); return offset; } static int dissect_CRLNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CRLNumber(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CRLNumber_PDU); return offset; } static int dissect_CRLReason_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CRLReason(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CRLReason_PDU); return offset; } static int dissect_HoldInstruction_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_HoldInstruction(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_HoldInstruction_PDU); return offset; } static int dissect_CRLScopeSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CRLScopeSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CRLScopeSyntax_PDU); return offset; } static int dissect_StatusReferrals_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_StatusReferrals(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_StatusReferrals_PDU); return offset; } static int dissect_CRLStreamIdentifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CRLStreamIdentifier(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CRLStreamIdentifier_PDU); return offset; } static int dissect_OrderedListSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_OrderedListSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_OrderedListSyntax_PDU); return offset; } static int dissect_DeltaInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_DeltaInformation(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_DeltaInformation_PDU); return offset; } static int dissect_CRLDistPointsSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CRLDistPointsSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CRLDistPointsSyntax_PDU); return offset; } static int dissect_IssuingDistPointSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_IssuingDistPointSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_IssuingDistPointSyntax_PDU); return offset; } static int dissect_BaseCRLNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_BaseCRLNumber(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_BaseCRLNumber_PDU); return offset; } static int dissect_ToBeRevokedSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_ToBeRevokedSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_ToBeRevokedSyntax_PDU); return offset; } static int dissect_RevokedGroupsSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_RevokedGroupsSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_RevokedGroupsSyntax_PDU); return offset; } static int dissect_ExpiredCertsOnCRL_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_ExpiredCertsOnCRL(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_ExpiredCertsOnCRL_PDU); return offset; } static int dissect_AAIssuingDistPointSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_AAIssuingDistPointSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_AAIssuingDistPointSyntax_PDU); return offset; } static int dissect_CertificateAssertion_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CertificateAssertion(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CertificateAssertion_PDU); return offset; } static int dissect_CertificatePairExactAssertion_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CertificatePairExactAssertion(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CertificatePairExactAssertion_PDU); return offset; } static int dissect_CertificatePairAssertion_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CertificatePairAssertion(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CertificatePairAssertion_PDU); return offset; } static int dissect_CertificateListExactAssertion_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CertificateListExactAssertion(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CertificateListExactAssertion_PDU); return offset; } static int dissect_CertificateListAssertion_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CertificateListAssertion(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CertificateListAssertion_PDU); return offset; } static int dissect_PkiPathMatchSyntax_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_PkiPathMatchSyntax(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_PkiPathMatchSyntax_PDU); return offset; } static int dissect_EnhancedCertificateAssertion_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_EnhancedCertificateAssertion(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_EnhancedCertificateAssertion_PDU); return offset; } static int dissect_CertificateTemplate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CertificateTemplate(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CertificateTemplate_PDU); return offset; } static int dissect_NtdsCaSecurity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_NtdsCaSecurity(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_NtdsCaSecurity_PDU); return offset; } static int dissect_NtdsObjectSid_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_NtdsObjectSid(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_NtdsObjectSid_PDU); return offset; } static int dissect_EntrustVersionInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_EntrustVersionInfo(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_EntrustVersionInfo_PDU); return offset; } static int dissect_NFTypes_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_NFTypes(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_NFTypes_PDU); return offset; } static int dissect_ScramblerCapabilities_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_ScramblerCapabilities(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_ScramblerCapabilities_PDU); return offset; } static int dissect_CiplusInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CiplusInfo(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CiplusInfo_PDU); return offset; } static int dissect_CicamBrandId_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509ce_CicamBrandId(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509ce_CicamBrandId_PDU); return offset; } /* CI+ (www.ci-plus.com) defines some X.509 certificate extensions that use OIDs which are not officially assigned dissection of these extensions can be enabled temporarily using the functions below */ void x509ce_enable_ciplus(void) { dissector_handle_t dh25, dh26, dh27; dh25 = create_dissector_handle(dissect_ScramblerCapabilities_PDU, proto_x509ce); dissector_change_string("ber.oid", "1.3.6.1.5.5.7.1.25", dh25); dh26 = create_dissector_handle(dissect_CiplusInfo_PDU, proto_x509ce); dissector_change_string("ber.oid", "1.3.6.1.5.5.7.1.26", dh26); dh27 = create_dissector_handle(dissect_CicamBrandId_PDU, proto_x509ce); dissector_change_string("ber.oid", "1.3.6.1.5.5.7.1.27", dh27); } void x509ce_disable_ciplus(void) { dissector_reset_string("ber.oid", "1.3.6.1.5.5.7.1.25"); dissector_reset_string("ber.oid", "1.3.6.1.5.5.7.1.26"); dissector_reset_string("ber.oid", "1.3.6.1.5.5.7.1.27"); } static int dissect_x509ce_invalidityDate_callback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); return dissect_x509ce_GeneralizedTime(FALSE, tvb, 0, &asn1_ctx, tree, hf_x509ce_id_ce_invalidityDate); } static int dissect_x509ce_baseUpdateTime_callback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); return dissect_x509ce_GeneralizedTime(FALSE, tvb, 0, &asn1_ctx, tree, hf_x509ce_id_ce_baseUpdateTime); } /*--- proto_register_x509ce ----------------------------------------------*/ void proto_register_x509ce(void) { /* List of fields */ static hf_register_info hf[] = { { &hf_x509ce_id_ce_baseUpdateTime, { "baseUpdateTime", "x509ce.id_ce_baseUpdateTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }}, { &hf_x509ce_id_ce_invalidityDate, { "invalidityDate", "x509ce.id_ce_invalidityDate", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }}, { &hf_x509ce_object_identifier_id, { "Id", "x509ce.id", FT_OID, BASE_NONE, NULL, 0, "Object identifier Id", HFILL }}, { &hf_x509ce_IPAddress_ipv4, { "iPAddress", "x509ce.IPAddress.ipv4", FT_IPv4, BASE_NONE, NULL, 0, "IPv4 address", HFILL }}, { &hf_x509ce_IPAddress_ipv6, { "iPAddress", "x509ce.IPAddress.ipv6", FT_IPv6, BASE_NONE, NULL, 0, "IPv6 address", HFILL }}, { &hf_x509ce_AuthorityKeyIdentifier_PDU, { "AuthorityKeyIdentifier", "x509ce.AuthorityKeyIdentifier_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_SubjectKeyIdentifier_PDU, { "SubjectKeyIdentifier", "x509ce.SubjectKeyIdentifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_KeyUsage_PDU, { "KeyUsage", "x509ce.KeyUsage", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_KeyPurposeIDs_PDU, { "KeyPurposeIDs", "x509ce.KeyPurposeIDs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_PrivateKeyUsagePeriod_PDU, { "PrivateKeyUsagePeriod", "x509ce.PrivateKeyUsagePeriod_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CertificatePoliciesSyntax_PDU, { "CertificatePoliciesSyntax", "x509ce.CertificatePoliciesSyntax", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_PolicyMappingsSyntax_PDU, { "PolicyMappingsSyntax", "x509ce.PolicyMappingsSyntax", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_GeneralNames_PDU, { "GeneralNames", "x509ce.GeneralNames", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_AttributesSyntax_PDU, { "AttributesSyntax", "x509ce.AttributesSyntax", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_BasicConstraintsSyntax_PDU, { "BasicConstraintsSyntax", "x509ce.BasicConstraintsSyntax_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_NameConstraintsSyntax_PDU, { "NameConstraintsSyntax", "x509ce.NameConstraintsSyntax_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_PolicyConstraintsSyntax_PDU, { "PolicyConstraintsSyntax", "x509ce.PolicyConstraintsSyntax_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_SkipCerts_PDU, { "SkipCerts", "x509ce.SkipCerts", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CRLNumber_PDU, { "CRLNumber", "x509ce.CRLNumber", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CRLReason_PDU, { "CRLReason", "x509ce.CRLReason", FT_UINT32, BASE_DEC, VALS(x509ce_CRLReason_vals), 0, NULL, HFILL }}, { &hf_x509ce_HoldInstruction_PDU, { "HoldInstruction", "x509ce.HoldInstruction", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CRLScopeSyntax_PDU, { "CRLScopeSyntax", "x509ce.CRLScopeSyntax", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_StatusReferrals_PDU, { "StatusReferrals", "x509ce.StatusReferrals", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CRLStreamIdentifier_PDU, { "CRLStreamIdentifier", "x509ce.CRLStreamIdentifier", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_OrderedListSyntax_PDU, { "OrderedListSyntax", "x509ce.OrderedListSyntax", FT_UINT32, BASE_DEC, VALS(x509ce_OrderedListSyntax_vals), 0, NULL, HFILL }}, { &hf_x509ce_DeltaInformation_PDU, { "DeltaInformation", "x509ce.DeltaInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CRLDistPointsSyntax_PDU, { "CRLDistPointsSyntax", "x509ce.CRLDistPointsSyntax", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_IssuingDistPointSyntax_PDU, { "IssuingDistPointSyntax", "x509ce.IssuingDistPointSyntax_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_BaseCRLNumber_PDU, { "BaseCRLNumber", "x509ce.BaseCRLNumber", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_ToBeRevokedSyntax_PDU, { "ToBeRevokedSyntax", "x509ce.ToBeRevokedSyntax", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_RevokedGroupsSyntax_PDU, { "RevokedGroupsSyntax", "x509ce.RevokedGroupsSyntax", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_ExpiredCertsOnCRL_PDU, { "ExpiredCertsOnCRL", "x509ce.ExpiredCertsOnCRL", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }}, { &hf_x509ce_AAIssuingDistPointSyntax_PDU, { "AAIssuingDistPointSyntax", "x509ce.AAIssuingDistPointSyntax_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CertificateAssertion_PDU, { "CertificateAssertion", "x509ce.CertificateAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CertificatePairExactAssertion_PDU, { "CertificatePairExactAssertion", "x509ce.CertificatePairExactAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CertificatePairAssertion_PDU, { "CertificatePairAssertion", "x509ce.CertificatePairAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CertificateListExactAssertion_PDU, { "CertificateListExactAssertion", "x509ce.CertificateListExactAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CertificateListAssertion_PDU, { "CertificateListAssertion", "x509ce.CertificateListAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_PkiPathMatchSyntax_PDU, { "PkiPathMatchSyntax", "x509ce.PkiPathMatchSyntax_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_EnhancedCertificateAssertion_PDU, { "EnhancedCertificateAssertion", "x509ce.EnhancedCertificateAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CertificateTemplate_PDU, { "CertificateTemplate", "x509ce.CertificateTemplate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_NtdsCaSecurity_PDU, { "NtdsCaSecurity", "x509ce.NtdsCaSecurity_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_NtdsObjectSid_PDU, { "NtdsObjectSid", "x509ce.NtdsObjectSid_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_EntrustVersionInfo_PDU, { "EntrustVersionInfo", "x509ce.EntrustVersionInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_NFTypes_PDU, { "NFTypes", "x509ce.NFTypes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_ScramblerCapabilities_PDU, { "ScramblerCapabilities", "x509ce.ScramblerCapabilities_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CiplusInfo_PDU, { "CiplusInfo", "x509ce.CiplusInfo", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_CicamBrandId_PDU, { "CicamBrandId", "x509ce.CicamBrandId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_keyIdentifier, { "keyIdentifier", "x509ce.keyIdentifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_authorityCertIssuer, { "authorityCertIssuer", "x509ce.authorityCertIssuer", FT_UINT32, BASE_DEC, NULL, 0, "GeneralNames", HFILL }}, { &hf_x509ce_authorityCertSerialNumber, { "authorityCertSerialNumber", "x509ce.authorityCertSerialNumber", FT_BYTES, BASE_NONE, NULL, 0, "CertificateSerialNumber", HFILL }}, { &hf_x509ce_KeyPurposeIDs_item, { "KeyPurposeId", "x509ce.KeyPurposeId", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_notBefore, { "notBefore", "x509ce.notBefore", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_notAfter, { "notAfter", "x509ce.notAfter", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_CertificatePoliciesSyntax_item, { "PolicyInformation", "x509ce.PolicyInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_policyIdentifier, { "policyIdentifier", "x509ce.policyIdentifier", FT_OID, BASE_NONE, NULL, 0, "CertPolicyId", HFILL }}, { &hf_x509ce_policyQualifiers, { "policyQualifiers", "x509ce.policyQualifiers", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo", HFILL }}, { &hf_x509ce_policyQualifiers_item, { "PolicyQualifierInfo", "x509ce.PolicyQualifierInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_policyQualifierId, { "policyQualifierId", "x509ce.policyQualifierId", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_qualifier, { "qualifier", "x509ce.qualifier_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_PolicyMappingsSyntax_item, { "PolicyMappingsSyntax item", "x509ce.PolicyMappingsSyntax_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_issuerDomainPolicy, { "issuerDomainPolicy", "x509ce.issuerDomainPolicy", FT_OID, BASE_NONE, NULL, 0, "CertPolicyId", HFILL }}, { &hf_x509ce_subjectDomainPolicy, { "subjectDomainPolicy", "x509ce.subjectDomainPolicy", FT_OID, BASE_NONE, NULL, 0, "CertPolicyId", HFILL }}, { &hf_x509ce_GeneralNames_item, { "GeneralName", "x509ce.GeneralName", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, NULL, HFILL }}, { &hf_x509ce_otherName, { "otherName", "x509ce.otherName_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_rfc822Name, { "rfc822Name", "x509ce.rfc822Name", FT_STRING, BASE_NONE, NULL, 0, "IA5String", HFILL }}, { &hf_x509ce_dNSName, { "dNSName", "x509ce.dNSName", FT_STRING, BASE_NONE, NULL, 0, "IA5String", HFILL }}, { &hf_x509ce_x400Address, { "x400Address", "x509ce.x400Address_element", FT_NONE, BASE_NONE, NULL, 0, "ORAddress", HFILL }}, { &hf_x509ce_directoryName, { "directoryName", "x509ce.directoryName", FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0, "Name", HFILL }}, { &hf_x509ce_ediPartyName, { "ediPartyName", "x509ce.ediPartyName_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_uniformResourceIdentifier, { "uniformResourceIdentifier", "x509ce.uniformResourceIdentifier", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_iPAddress, { "iPAddress", "x509ce.iPAddress", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_registeredID, { "registeredID", "x509ce.registeredID", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509ce_type_id, { "type-id", "x509ce.type_id", FT_OID, BASE_NONE, NULL, 0, "OtherNameType", HFILL }}, { &hf_x509ce_value, { "value", "x509ce.value_element", FT_NONE, BASE_NONE, NULL, 0, "OtherNameValue", HFILL }}, { &hf_x509ce_nameAssigner, { "nameAssigner", "x509ce.nameAssigner", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, "DirectoryString", HFILL }}, { &hf_x509ce_partyName, { "partyName", "x509ce.partyName", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, "DirectoryString", HFILL }}, { &hf_x509ce_AttributesSyntax_item, { "Attribute", "x509ce.Attribute_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_cA, { "cA", "x509ce.cA", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509ce_pathLenConstraint, { "pathLenConstraint", "x509ce.pathLenConstraint", FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_x509ce_permittedSubtrees, { "permittedSubtrees", "x509ce.permittedSubtrees", FT_UINT32, BASE_DEC, NULL, 0, "GeneralSubtrees", HFILL }}, { &hf_x509ce_excludedSubtrees, { "excludedSubtrees", "x509ce.excludedSubtrees", FT_UINT32, BASE_DEC, NULL, 0, "GeneralSubtrees", HFILL }}, { &hf_x509ce_GeneralSubtrees_item, { "GeneralSubtree", "x509ce.GeneralSubtree_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_base, { "base", "x509ce.base", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, "GeneralName", HFILL }}, { &hf_x509ce_minimum, { "minimum", "x509ce.minimum", FT_UINT64, BASE_DEC, NULL, 0, "BaseDistance", HFILL }}, { &hf_x509ce_maximum, { "maximum", "x509ce.maximum", FT_UINT64, BASE_DEC, NULL, 0, "BaseDistance", HFILL }}, { &hf_x509ce_requireExplicitPolicy, { "requireExplicitPolicy", "x509ce.requireExplicitPolicy", FT_UINT64, BASE_DEC, NULL, 0, "SkipCerts", HFILL }}, { &hf_x509ce_inhibitPolicyMapping, { "inhibitPolicyMapping", "x509ce.inhibitPolicyMapping", FT_UINT64, BASE_DEC, NULL, 0, "SkipCerts", HFILL }}, { &hf_x509ce_CRLScopeSyntax_item, { "PerAuthorityScope", "x509ce.PerAuthorityScope_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_authorityName, { "authorityName", "x509ce.authorityName", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, "GeneralName", HFILL }}, { &hf_x509ce_distributionPoint, { "distributionPoint", "x509ce.distributionPoint", FT_UINT32, BASE_DEC, VALS(x509ce_DistributionPointName_vals), 0, "DistributionPointName", HFILL }}, { &hf_x509ce_onlyContains, { "onlyContains", "x509ce.onlyContains", FT_BYTES, BASE_NONE, NULL, 0, "OnlyCertificateTypes", HFILL }}, { &hf_x509ce_onlySomeReasons, { "onlySomeReasons", "x509ce.onlySomeReasons", FT_BYTES, BASE_NONE, NULL, 0, "ReasonFlags", HFILL }}, { &hf_x509ce_serialNumberRange, { "serialNumberRange", "x509ce.serialNumberRange_element", FT_NONE, BASE_NONE, NULL, 0, "NumberRange", HFILL }}, { &hf_x509ce_subjectKeyIdRange, { "subjectKeyIdRange", "x509ce.subjectKeyIdRange_element", FT_NONE, BASE_NONE, NULL, 0, "NumberRange", HFILL }}, { &hf_x509ce_nameSubtrees, { "nameSubtrees", "x509ce.nameSubtrees", FT_UINT32, BASE_DEC, NULL, 0, "GeneralNames", HFILL }}, { &hf_x509ce_baseRevocationInfo, { "baseRevocationInfo", "x509ce.baseRevocationInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_startingNumber, { "startingNumber", "x509ce.startingNumber", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509ce_endingNumber, { "endingNumber", "x509ce.endingNumber", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509ce_modulus, { "modulus", "x509ce.modulus", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509ce_cRLStreamIdentifier, { "cRLStreamIdentifier", "x509ce.cRLStreamIdentifier", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_cRLNumber, { "cRLNumber", "x509ce.cRLNumber", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509ce_baseThisUpdate, { "baseThisUpdate", "x509ce.baseThisUpdate", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_StatusReferrals_item, { "StatusReferral", "x509ce.StatusReferral", FT_UINT32, BASE_DEC, VALS(x509ce_StatusReferral_vals), 0, NULL, HFILL }}, { &hf_x509ce_cRLReferral, { "cRLReferral", "x509ce.cRLReferral_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_crlr_issuer, { "issuer", "x509ce.issuer", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, "GeneralName", HFILL }}, { &hf_x509ce_location, { "location", "x509ce.location", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, "GeneralName", HFILL }}, { &hf_x509ce_deltaRefInfo, { "deltaRefInfo", "x509ce.deltaRefInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_cRLScope, { "cRLScope", "x509ce.cRLScope", FT_UINT32, BASE_DEC, NULL, 0, "CRLScopeSyntax", HFILL }}, { &hf_x509ce_lastUpdate, { "lastUpdate", "x509ce.lastUpdate", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_lastChangedCRL, { "lastChangedCRL", "x509ce.lastChangedCRL", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_deltaLocation, { "deltaLocation", "x509ce.deltaLocation", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, "GeneralName", HFILL }}, { &hf_x509ce_lastDelta, { "lastDelta", "x509ce.lastDelta", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_nextDelta, { "nextDelta", "x509ce.nextDelta", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_CRLDistPointsSyntax_item, { "DistributionPoint", "x509ce.DistributionPoint_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_reasons, { "reasons", "x509ce.reasons", FT_BYTES, BASE_NONE, NULL, 0, "ReasonFlags", HFILL }}, { &hf_x509ce_cRLIssuer, { "cRLIssuer", "x509ce.cRLIssuer", FT_UINT32, BASE_DEC, NULL, 0, "GeneralNames", HFILL }}, { &hf_x509ce_fullName, { "fullName", "x509ce.fullName", FT_UINT32, BASE_DEC, NULL, 0, "GeneralNames", HFILL }}, { &hf_x509ce_nameRelativeToCRLIssuer, { "nameRelativeToCRLIssuer", "x509ce.nameRelativeToCRLIssuer", FT_UINT32, BASE_DEC, NULL, 0, "RelativeDistinguishedName", HFILL }}, { &hf_x509ce_onlyContainsUserPublicKeyCerts, { "onlyContainsUserPublicKeyCerts", "x509ce.onlyContainsUserPublicKeyCerts", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509ce_onlyContainsCACerts, { "onlyContainsCACerts", "x509ce.onlyContainsCACerts", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509ce_indirectCRL, { "indirectCRL", "x509ce.indirectCRL", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509ce_ToBeRevokedSyntax_item, { "ToBeRevokedGroup", "x509ce.ToBeRevokedGroup_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_certificateIssuer, { "certificateIssuer", "x509ce.certificateIssuer", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, "GeneralName", HFILL }}, { &hf_x509ce_reasonInfo, { "reasonInfo", "x509ce.reasonInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_revocationTime, { "revocationTime", "x509ce.revocationTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_certificateGroup, { "certificateGroup", "x509ce.certificateGroup", FT_UINT32, BASE_DEC, VALS(x509ce_CertificateGroup_vals), 0, NULL, HFILL }}, { &hf_x509ce_reasonCode, { "reasonCode", "x509ce.reasonCode", FT_UINT32, BASE_DEC, VALS(x509ce_CRLReason_vals), 0, "CRLReason", HFILL }}, { &hf_x509ce_holdInstructionCode, { "holdInstructionCode", "x509ce.holdInstructionCode", FT_OID, BASE_NONE, NULL, 0, "HoldInstruction", HFILL }}, { &hf_x509ce_serialNumbers, { "serialNumbers", "x509ce.serialNumbers", FT_UINT32, BASE_DEC, NULL, 0, "CertificateSerialNumbers", HFILL }}, { &hf_x509ce_certificateGroupNumberRange, { "serialNumberRange", "x509ce.serialNumberRange_element", FT_NONE, BASE_NONE, NULL, 0, "CertificateGroupNumberRange", HFILL }}, { &hf_x509ce_nameSubtree, { "nameSubtree", "x509ce.nameSubtree", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, "GeneralName", HFILL }}, { &hf_x509ce_CertificateSerialNumbers_item, { "CertificateSerialNumber", "x509ce.CertificateSerialNumber", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_RevokedGroupsSyntax_item, { "RevokedGroup", "x509ce.RevokedGroup_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_invalidityDate, { "invalidityDate", "x509ce.invalidityDate", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_revokedcertificateGroup, { "revokedcertificateGroup", "x509ce.revokedcertificateGroup", FT_UINT32, BASE_DEC, VALS(x509ce_RevokedCertificateGroup_vals), 0, NULL, HFILL }}, { &hf_x509ce_containsUserAttributeCerts, { "containsUserAttributeCerts", "x509ce.containsUserAttributeCerts", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509ce_containsAACerts, { "containsAACerts", "x509ce.containsAACerts", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509ce_containsSOAPublicKeyCerts, { "containsSOAPublicKeyCerts", "x509ce.containsSOAPublicKeyCerts", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509ce_serialNumber, { "serialNumber", "x509ce.serialNumber", FT_BYTES, BASE_NONE, NULL, 0, "CertificateSerialNumber", HFILL }}, { &hf_x509ce_issuer, { "issuer", "x509ce.issuer", FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0, "Name", HFILL }}, { &hf_x509ce_subjectKeyIdentifier, { "subjectKeyIdentifier", "x509ce.subjectKeyIdentifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_authorityKeyIdentifier, { "authorityKeyIdentifier", "x509ce.authorityKeyIdentifier_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_certificateValid, { "certificateValid", "x509ce.certificateValid", FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0, "Time", HFILL }}, { &hf_x509ce_privateKeyValid, { "privateKeyValid", "x509ce.privateKeyValid", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509ce_subjectPublicKeyAlgID, { "subjectPublicKeyAlgID", "x509ce.subjectPublicKeyAlgID", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509ce_keyUsage, { "keyUsage", "x509ce.keyUsage", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_subjectAltNameType, { "subjectAltName", "x509ce.subjectAltName", FT_UINT32, BASE_DEC, VALS(x509ce_AltNameType_vals), 0, "AltNameType", HFILL }}, { &hf_x509ce_policy, { "policy", "x509ce.policy", FT_UINT32, BASE_DEC, NULL, 0, "CertPolicySet", HFILL }}, { &hf_x509ce_pathToName, { "pathToName", "x509ce.pathToName", FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0, "Name", HFILL }}, { &hf_x509ce_subject, { "subject", "x509ce.subject", FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0, "Name", HFILL }}, { &hf_x509ce_nameConstraints, { "nameConstraints", "x509ce.nameConstraints_element", FT_NONE, BASE_NONE, NULL, 0, "NameConstraintsSyntax", HFILL }}, { &hf_x509ce_builtinNameForm, { "builtinNameForm", "x509ce.builtinNameForm", FT_UINT32, BASE_DEC, VALS(x509ce_T_builtinNameForm_vals), 0, NULL, HFILL }}, { &hf_x509ce_otherNameForm, { "otherNameForm", "x509ce.otherNameForm", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509ce_CertPolicySet_item, { "CertPolicyId", "x509ce.CertPolicyId", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_cpea_issuedToThisCAAssertion, { "issuedToThisCAAssertion", "x509ce.issuedToThisCAAssertion_element", FT_NONE, BASE_NONE, NULL, 0, "CertificateExactAssertion", HFILL }}, { &hf_x509ce_cpea_issuedByThisCAAssertion, { "issuedByThisCAAssertion", "x509ce.issuedByThisCAAssertion_element", FT_NONE, BASE_NONE, NULL, 0, "CertificateExactAssertion", HFILL }}, { &hf_x509ce_issuedToThisCAAssertion, { "issuedToThisCAAssertion", "x509ce.issuedToThisCAAssertion_element", FT_NONE, BASE_NONE, NULL, 0, "CertificateAssertion", HFILL }}, { &hf_x509ce_issuedByThisCAAssertion, { "issuedByThisCAAssertion", "x509ce.issuedByThisCAAssertion_element", FT_NONE, BASE_NONE, NULL, 0, "CertificateAssertion", HFILL }}, { &hf_x509ce_thisUpdate, { "thisUpdate", "x509ce.thisUpdate", FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0, "Time", HFILL }}, { &hf_x509ce_minCRLNumber, { "minCRLNumber", "x509ce.minCRLNumber", FT_UINT64, BASE_DEC, NULL, 0, "CRLNumber", HFILL }}, { &hf_x509ce_maxCRLNumber, { "maxCRLNumber", "x509ce.maxCRLNumber", FT_UINT64, BASE_DEC, NULL, 0, "CRLNumber", HFILL }}, { &hf_x509ce_reasonFlags, { "reasonFlags", "x509ce.reasonFlags", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_dateAndTime, { "dateAndTime", "x509ce.dateAndTime", FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0, "Time", HFILL }}, { &hf_x509ce_firstIssuer, { "firstIssuer", "x509ce.firstIssuer", FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0, "Name", HFILL }}, { &hf_x509ce_lastSubject, { "lastSubject", "x509ce.lastSubject", FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0, "Name", HFILL }}, { &hf_x509ce_subjectAltName, { "subjectAltName", "x509ce.subjectAltName_element", FT_NONE, BASE_NONE, NULL, 0, "AltName", HFILL }}, { &hf_x509ce_enhancedPathToName, { "pathToName", "x509ce.pathToName", FT_UINT32, BASE_DEC, NULL, 0, "GeneralNames", HFILL }}, { &hf_x509ce_altnameType, { "altnameType", "x509ce.altnameType", FT_UINT32, BASE_DEC, VALS(x509ce_AltNameType_vals), 0, NULL, HFILL }}, { &hf_x509ce_altNameValue, { "altNameValue", "x509ce.altNameValue", FT_UINT32, BASE_DEC, VALS(x509ce_GeneralName_vals), 0, "GeneralName", HFILL }}, { &hf_x509ce_templateID, { "templateID", "x509ce.templateID", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509ce_templateMajorVersion, { "templateMajorVersion", "x509ce.templateMajorVersion", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509ce_templateMinorVersion, { "templateMinorVersion", "x509ce.templateMinorVersion", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509ce_ntdsObjectSid, { "ntdsObjectSid", "x509ce.ntdsObjectSid_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_type_id_01, { "type-id", "x509ce.type_id", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509ce_sid, { "sid", "x509ce.sid", FT_STRING, BASE_NONE, NULL, 0, "PrintableString", HFILL }}, { &hf_x509ce_entrustVers, { "entrustVers", "x509ce.entrustVers", FT_STRING, BASE_NONE, NULL, 0, "GeneralString", HFILL }}, { &hf_x509ce_entrustVersInfoFlags, { "entrustVersInfoFlags", "x509ce.entrustVersInfoFlags", FT_BYTES, BASE_NONE, NULL, 0, "EntrustInfoFlags", HFILL }}, { &hf_x509ce_NFTypes_item, { "NFType", "x509ce.NFType", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509ce_capability, { "capability", "x509ce.capability", FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_x509ce_version, { "version", "x509ce.version", FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_x509ce_KeyUsage_digitalSignature, { "digitalSignature", "x509ce.KeyUsage.digitalSignature", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509ce_KeyUsage_contentCommitment, { "contentCommitment", "x509ce.KeyUsage.contentCommitment", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509ce_KeyUsage_keyEncipherment, { "keyEncipherment", "x509ce.KeyUsage.keyEncipherment", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509ce_KeyUsage_dataEncipherment, { "dataEncipherment", "x509ce.KeyUsage.dataEncipherment", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_x509ce_KeyUsage_keyAgreement, { "keyAgreement", "x509ce.KeyUsage.keyAgreement", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_x509ce_KeyUsage_keyCertSign, { "keyCertSign", "x509ce.KeyUsage.keyCertSign", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_x509ce_KeyUsage_cRLSign, { "cRLSign", "x509ce.KeyUsage.cRLSign", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_x509ce_KeyUsage_encipherOnly, { "encipherOnly", "x509ce.KeyUsage.encipherOnly", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL }}, { &hf_x509ce_KeyUsage_decipherOnly, { "decipherOnly", "x509ce.KeyUsage.decipherOnly", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509ce_OnlyCertificateTypes_user, { "user", "x509ce.OnlyCertificateTypes.user", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509ce_OnlyCertificateTypes_authority, { "authority", "x509ce.OnlyCertificateTypes.authority", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509ce_OnlyCertificateTypes_attribute, { "attribute", "x509ce.OnlyCertificateTypes.attribute", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_unused, { "unused", "x509ce.ReasonFlags.unused", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_keyCompromise, { "keyCompromise", "x509ce.ReasonFlags.keyCompromise", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_cACompromise, { "cACompromise", "x509ce.ReasonFlags.cACompromise", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_affiliationChanged, { "affiliationChanged", "x509ce.ReasonFlags.affiliationChanged", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_superseded, { "superseded", "x509ce.ReasonFlags.superseded", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_cessationOfOperation, { "cessationOfOperation", "x509ce.ReasonFlags.cessationOfOperation", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_certificateHold, { "certificateHold", "x509ce.ReasonFlags.certificateHold", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_privilegeWithdrawn, { "privilegeWithdrawn", "x509ce.ReasonFlags.privilegeWithdrawn", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL }}, { &hf_x509ce_ReasonFlags_aACompromise, { "aACompromise", "x509ce.ReasonFlags.aACompromise", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509ce_EntrustInfoFlags_keyUpdateAllowed, { "keyUpdateAllowed", "x509ce.EntrustInfoFlags.keyUpdateAllowed", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509ce_EntrustInfoFlags_newExtensions, { "newExtensions", "x509ce.EntrustInfoFlags.newExtensions", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509ce_EntrustInfoFlags_pKIXCertificate, { "pKIXCertificate", "x509ce.EntrustInfoFlags.pKIXCertificate", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509ce_EntrustInfoFlags_enterpriseCategory, { "enterpriseCategory", "x509ce.EntrustInfoFlags.enterpriseCategory", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_x509ce_EntrustInfoFlags_webCategory, { "webCategory", "x509ce.EntrustInfoFlags.webCategory", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_x509ce_EntrustInfoFlags_sETCategory, { "sETCategory", "x509ce.EntrustInfoFlags.sETCategory", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, }; /* List of subtrees */ static gint *ett[] = { &ett_x509ce_AuthorityKeyIdentifier, &ett_x509ce_KeyUsage, &ett_x509ce_KeyPurposeIDs, &ett_x509ce_PrivateKeyUsagePeriod, &ett_x509ce_CertificatePoliciesSyntax, &ett_x509ce_PolicyInformation, &ett_x509ce_SEQUENCE_SIZE_1_MAX_OF_PolicyQualifierInfo, &ett_x509ce_PolicyQualifierInfo, &ett_x509ce_PolicyMappingsSyntax, &ett_x509ce_PolicyMappingsSyntax_item, &ett_x509ce_GeneralNames, &ett_x509ce_GeneralName, &ett_x509ce_OtherName, &ett_x509ce_EDIPartyName, &ett_x509ce_AttributesSyntax, &ett_x509ce_BasicConstraintsSyntax, &ett_x509ce_NameConstraintsSyntax, &ett_x509ce_GeneralSubtrees, &ett_x509ce_GeneralSubtree, &ett_x509ce_PolicyConstraintsSyntax, &ett_x509ce_CRLScopeSyntax, &ett_x509ce_PerAuthorityScope, &ett_x509ce_OnlyCertificateTypes, &ett_x509ce_NumberRange, &ett_x509ce_BaseRevocationInfo, &ett_x509ce_StatusReferrals, &ett_x509ce_StatusReferral, &ett_x509ce_CRLReferral, &ett_x509ce_DeltaRefInfo, &ett_x509ce_DeltaInformation, &ett_x509ce_CRLDistPointsSyntax, &ett_x509ce_DistributionPoint, &ett_x509ce_DistributionPointName, &ett_x509ce_ReasonFlags, &ett_x509ce_IssuingDistPointSyntax, &ett_x509ce_ToBeRevokedSyntax, &ett_x509ce_ToBeRevokedGroup, &ett_x509ce_ReasonInfo, &ett_x509ce_CertificateGroup, &ett_x509ce_CertificateGroupNumberRange, &ett_x509ce_CertificateSerialNumbers, &ett_x509ce_RevokedGroupsSyntax, &ett_x509ce_RevokedGroup, &ett_x509ce_RevokedCertificateGroup, &ett_x509ce_AAIssuingDistPointSyntax, &ett_x509ce_CertificateExactAssertion, &ett_x509ce_CertificateAssertion, &ett_x509ce_AltNameType, &ett_x509ce_CertPolicySet, &ett_x509ce_CertificatePairExactAssertion, &ett_x509ce_CertificatePairAssertion, &ett_x509ce_CertificateListExactAssertion, &ett_x509ce_CertificateListAssertion, &ett_x509ce_PkiPathMatchSyntax, &ett_x509ce_EnhancedCertificateAssertion, &ett_x509ce_AltName, &ett_x509ce_CertificateTemplate, &ett_x509ce_NtdsCaSecurity, &ett_x509ce_NtdsObjectSid_U, &ett_x509ce_EntrustVersionInfo, &ett_x509ce_EntrustInfoFlags, &ett_x509ce_NFTypes, &ett_x509ce_ScramblerCapabilities, }; /* Register protocol */ proto_x509ce = proto_register_protocol(PNAME, PSNAME, PFNAME); /* Register fields and subtrees */ proto_register_field_array(proto_x509ce, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } /*--- proto_reg_handoff_x509ce -------------------------------------------*/ void proto_reg_handoff_x509ce(void) { register_ber_oid_dissector("2.5.29.3", dissect_CertificatePoliciesSyntax_PDU, proto_x509ce, "id-ce-certificatePolicies"); register_ber_oid_dissector("2.5.29.9", dissect_AttributesSyntax_PDU, proto_x509ce, "id-ce-subjectDirectoryAttributes"); register_ber_oid_dissector("2.5.29.14", dissect_SubjectKeyIdentifier_PDU, proto_x509ce, "id-ce-subjectKeyIdentifier"); register_ber_oid_dissector("2.5.29.15", dissect_KeyUsage_PDU, proto_x509ce, "id-ce-keyUsage"); register_ber_oid_dissector("2.5.29.16", dissect_PrivateKeyUsagePeriod_PDU, proto_x509ce, "id-ce-privateKeyUsagePeriod"); register_ber_oid_dissector("2.5.29.17", dissect_GeneralNames_PDU, proto_x509ce, "id-ce-subjectAltName"); register_ber_oid_dissector("2.5.29.18", dissect_GeneralNames_PDU, proto_x509ce, "id-ce-issuerAltName"); register_ber_oid_dissector("2.5.29.19", dissect_BasicConstraintsSyntax_PDU, proto_x509ce, "id-ce-basicConstraints"); register_ber_oid_dissector("2.5.29.20", dissect_CRLNumber_PDU, proto_x509ce, "id-ce-cRLNumber"); register_ber_oid_dissector("2.5.29.21", dissect_CRLReason_PDU, proto_x509ce, "id-ce-reasonCode"); register_ber_oid_dissector("2.5.29.23", dissect_HoldInstruction_PDU, proto_x509ce, "id-ce-instructionCode"); register_ber_oid_dissector("2.5.29.27", dissect_BaseCRLNumber_PDU, proto_x509ce, "id-ce-deltaCRLIndicator"); register_ber_oid_dissector("2.5.29.28", dissect_IssuingDistPointSyntax_PDU, proto_x509ce, "id-ce-issuingDistributionPoint"); register_ber_oid_dissector("2.5.29.29", dissect_GeneralNames_PDU, proto_x509ce, "id-ce-certificateIssuer"); register_ber_oid_dissector("2.5.29.30", dissect_NameConstraintsSyntax_PDU, proto_x509ce, "id-ce-nameConstraints"); register_ber_oid_dissector("2.5.29.31", dissect_CRLDistPointsSyntax_PDU, proto_x509ce, "id-ce-cRLDistributionPoints"); register_ber_oid_dissector("2.5.29.32", dissect_CertificatePoliciesSyntax_PDU, proto_x509ce, "id-ce-certificatePolicies"); register_ber_oid_dissector("2.5.29.33", dissect_PolicyMappingsSyntax_PDU, proto_x509ce, "id-ce-policyMappings"); register_ber_oid_dissector("2.5.29.35", dissect_AuthorityKeyIdentifier_PDU, proto_x509ce, "id-ce-authorityKeyIdentifier"); register_ber_oid_dissector("2.5.29.36", dissect_PolicyConstraintsSyntax_PDU, proto_x509ce, "id-ce-policyConstraints"); register_ber_oid_dissector("2.5.29.37", dissect_KeyPurposeIDs_PDU, proto_x509ce, "id-ce-extKeyUsage"); register_ber_oid_dissector("2.5.29.40", dissect_CRLStreamIdentifier_PDU, proto_x509ce, "id-ce-cRLStreamIdentifier"); register_ber_oid_dissector("2.5.29.44", dissect_CRLScopeSyntax_PDU, proto_x509ce, "id-ce-cRLScope"); register_ber_oid_dissector("2.5.29.45", dissect_StatusReferrals_PDU, proto_x509ce, "id-ce-statusReferrals"); register_ber_oid_dissector("2.5.29.46", dissect_CRLDistPointsSyntax_PDU, proto_x509ce, "id-ce-freshestCRL"); register_ber_oid_dissector("2.5.29.47", dissect_OrderedListSyntax_PDU, proto_x509ce, "id-ce-orderedList"); register_ber_oid_dissector("2.5.29.53", dissect_DeltaInformation_PDU, proto_x509ce, "id-ce-deltaInfo"); register_ber_oid_dissector("2.5.29.54", dissect_SkipCerts_PDU, proto_x509ce, "id-ce-inhibitAnyPolicy"); register_ber_oid_dissector("2.5.29.58", dissect_ToBeRevokedSyntax_PDU, proto_x509ce, "id-ce-toBeRevoked"); register_ber_oid_dissector("2.5.29.59", dissect_RevokedGroupsSyntax_PDU, proto_x509ce, "id-ce-RevokedGroups"); register_ber_oid_dissector("2.5.29.60", dissect_ExpiredCertsOnCRL_PDU, proto_x509ce, "id-ce-expiredCertsOnCRL"); register_ber_oid_dissector("2.5.29.61", dissect_AAIssuingDistPointSyntax_PDU, proto_x509ce, "id-ce-aAissuingDistributionPoint"); register_ber_oid_dissector("1.3.6.1.5.5.7.1.34", dissect_NFTypes_PDU, proto_x509ce, "id-pe-nftype"); register_ber_oid_dissector("2.5.13.35", dissect_CertificateAssertion_PDU, proto_x509ce, "id-mr-certificateMatch"); register_ber_oid_dissector("2.5.13.36", dissect_CertificatePairExactAssertion_PDU, proto_x509ce, "id-mr-certificatePairExactMatch"); register_ber_oid_dissector("2.5.13.37", dissect_CertificatePairAssertion_PDU, proto_x509ce, "id-mr-certificatePairMatch"); register_ber_oid_dissector("2.5.13.38", dissect_CertificateListExactAssertion_PDU, proto_x509ce, "id-mr-certificateListExactMatch"); register_ber_oid_dissector("2.5.13.39", dissect_CertificateListAssertion_PDU, proto_x509ce, "id-mr-certificateListMatch"); register_ber_oid_dissector("2.5.13.62", dissect_PkiPathMatchSyntax_PDU, proto_x509ce, "id-mr-pkiPathMatch"); register_ber_oid_dissector("2.5.13.65", dissect_EnhancedCertificateAssertion_PDU, proto_x509ce, "id-mr-enhancedCertificateMatch"); register_ber_oid_dissector("1.3.6.1.4.1.311.21.7", dissect_CertificateTemplate_PDU, proto_x509ce, "id-ms-certificate-template"); register_ber_oid_dissector("1.3.6.1.4.1.311.21.10", dissect_CertificatePoliciesSyntax_PDU, proto_x509ce, "id-ms-application-certificate-policies"); register_ber_oid_dissector("1.3.6.1.4.1.311.25.2", dissect_NtdsCaSecurity_PDU, proto_x509ce, "id-ms-ntds-ca-security"); register_ber_oid_dissector("1.3.6.1.4.1.311.25.2.1", dissect_NtdsObjectSid_PDU, proto_x509ce, "id-ms-ntds-object-sid"); register_ber_oid_dissector("1.2.840.113533.7.65.0", dissect_EntrustVersionInfo_PDU, proto_x509ce, "id-ce-entrustVersionInfo"); register_ber_oid_dissector("2.5.29.24", dissect_x509ce_invalidityDate_callback, proto_x509ce, "id-ce-invalidityDate"); register_ber_oid_dissector("2.5.29.51", dissect_x509ce_baseUpdateTime_callback, proto_x509ce, "id-ce-baseUpdateTime"); oid_add_from_string("anyPolicy","2.5.29.32.0"); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-x509ce.h
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x509ce.h */ /* asn2wrs.py -b -L -p x509ce -c ./x509ce.cnf -s ./packet-x509ce-template -D . -O ../.. CertificateExtensions.asn CertificateExtensionsRFC9310.asn CertificateExtensionsCiplus.asn */ /* packet-x509ce.h * Routines for X.509 Certificate Extensions packet dissection * Ronnie Sahlberg 2004 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_X509CE_H #define PACKET_X509CE_H extern const value_string x509ce_GeneralName_vals[]; extern const value_string x509ce_CRLReason_vals[]; extern const value_string x509ce_StatusReferral_vals[]; extern const value_string x509ce_OrderedListSyntax_vals[]; extern const value_string x509ce_DistributionPointName_vals[]; extern const value_string x509ce_AltNameType_vals[]; int dissect_x509ce_AuthorityKeyIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_KeyIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_SubjectKeyIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_KeyUsage(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_KeyPurposeId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_KeyPurposeIDs(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_PrivateKeyUsagePeriod(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CertificatePoliciesSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_PolicyInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_PolicyQualifierInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_PolicyMappingsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_GeneralNames(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_GeneralName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_EDIPartyName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_AttributesSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_BasicConstraintsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_NameConstraintsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_GeneralSubtrees(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_GeneralSubtree(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_BaseDistance(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_PolicyConstraintsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_SkipCerts(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CRLNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CRLReason(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_HoldInstruction(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CRLScopeSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_PerAuthorityScope(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_OnlyCertificateTypes(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_NumberRange(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_BaseRevocationInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_StatusReferrals(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_StatusReferral(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CRLReferral(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_DeltaRefInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CRLStreamIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_OrderedListSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_DeltaInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CRLDistPointsSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_DistributionPoint(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_DistributionPointName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_ReasonFlags(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_IssuingDistPointSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_BaseCRLNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CertificateExactAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CertificateAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_AltNameType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CertPolicySet(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CertificatePairExactAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CertificatePairAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CertificateListExactAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CertificateListAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_PkiPathMatchSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_ScramblerCapabilities(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CiplusInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509ce_CicamBrandId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); void x509ce_enable_ciplus(void); void x509ce_disable_ciplus(void); #endif /* PACKET_X509CE_H */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-x509if.c
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x509if.c */ /* asn2wrs.py -b -L -p x509if -c ./x509if.cnf -s ./packet-x509if-template -D . -O ../.. InformationFramework.asn ServiceAdministration.asn */ /* packet-x509if.c * Routines for X.509 Information Framework packet dissection * Ronnie Sahlberg 2004 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/oids.h> #include <epan/asn1.h> #include <epan/strutil.h> #include "packet-ber.h" #include "packet-dap.h" #include "packet-x509if.h" #include "packet-x509sat.h" #include "packet-frame.h" #define PNAME "X.509 Information Framework" #define PSNAME "X509IF" #define PFNAME "x509if" void proto_register_x509if(void); void proto_reg_handoff_x509if(void); /* Initialize the protocol and registered fields */ static int proto_x509if = -1; static int hf_x509if_object_identifier_id = -1; static int hf_x509if_any_string = -1; static int hf_x509if_DistinguishedName_PDU = -1; /* DistinguishedName */ static int hf_x509if_SubtreeSpecification_PDU = -1; /* SubtreeSpecification */ static int hf_x509if_HierarchyLevel_PDU = -1; /* HierarchyLevel */ static int hf_x509if_HierarchyBelow_PDU = -1; /* HierarchyBelow */ static int hf_x509if_type = -1; /* T_type */ static int hf_x509if_values = -1; /* T_values */ static int hf_x509if_values_item = -1; /* T_values_item */ static int hf_x509if_valuesWithContext = -1; /* T_valuesWithContext */ static int hf_x509if_valuesWithContext_item = -1; /* T_valuesWithContext_item */ static int hf_x509if_value = -1; /* T_value */ static int hf_x509if_contextList = -1; /* SET_SIZE_1_MAX_OF_Context */ static int hf_x509if_contextList_item = -1; /* Context */ static int hf_x509if_contextType = -1; /* T_contextType */ static int hf_x509if_contextValues = -1; /* T_contextValues */ static int hf_x509if_contextValues_item = -1; /* T_contextValues_item */ static int hf_x509if_fallback = -1; /* BOOLEAN */ static int hf_x509if_type_01 = -1; /* T_type_01 */ static int hf_x509if_assertion = -1; /* T_assertion */ static int hf_x509if_assertedContexts = -1; /* T_assertedContexts */ static int hf_x509if_allContexts = -1; /* NULL */ static int hf_x509if_selectedContexts = -1; /* SET_SIZE_1_MAX_OF_ContextAssertion */ static int hf_x509if_selectedContexts_item = -1; /* ContextAssertion */ static int hf_x509if_ca_contextType = -1; /* T_ca_contextType */ static int hf_x509if_ca_contextValues = -1; /* T_ca_contextValues */ static int hf_x509if_ca_contextValues_item = -1; /* T_ca_contextValues_item */ static int hf_x509if_type_02 = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_ata_assertedContexts = -1; /* SEQUENCE_SIZE_1_MAX_OF_ContextAssertion */ static int hf_x509if_ata_assertedContexts_item = -1; /* ContextAssertion */ static int hf_x509if_rdnSequence = -1; /* RDNSequence */ static int hf_x509if_RDNSequence_item = -1; /* RDNSequence_item */ static int hf_x509if_RelativeDistinguishedName_item = -1; /* RelativeDistinguishedName_item */ static int hf_x509if_type_03 = -1; /* T_type_02 */ static int hf_x509if_atadv_value = -1; /* T_atadv_value */ static int hf_x509if_primaryDistinguished = -1; /* BOOLEAN */ static int hf_x509if_valueswithContext = -1; /* T_valWithContext */ static int hf_x509if_valueswithContext_item = -1; /* T_valWithContext_item */ static int hf_x509if_distingAttrValue = -1; /* T_distingAttrValue */ static int hf_x509if_chopSpecificExclusions = -1; /* T_chopSpecificExclusions */ static int hf_x509if_chopSpecificExclusions_item = -1; /* T_chopSpecificExclusions_item */ static int hf_x509if_chopBefore = -1; /* LocalName */ static int hf_x509if_chopAfter = -1; /* LocalName */ static int hf_x509if_minimum = -1; /* BaseDistance */ static int hf_x509if_maximum = -1; /* BaseDistance */ static int hf_x509if_item = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_refinement_and = -1; /* SET_OF_Refinement */ static int hf_x509if_refinement_and_item = -1; /* Refinement */ static int hf_x509if_refinement_or = -1; /* SET_OF_Refinement */ static int hf_x509if_refinement_or_item = -1; /* Refinement */ static int hf_x509if_refinement_not = -1; /* Refinement */ static int hf_x509if_ruleIdentifier = -1; /* RuleIdentifier */ static int hf_x509if_nameForm = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_superiorStructureRules = -1; /* SET_SIZE_1_MAX_OF_RuleIdentifier */ static int hf_x509if_superiorStructureRules_item = -1; /* RuleIdentifier */ static int hf_x509if_structuralObjectClass = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_auxiliaries = -1; /* T_auxiliaries */ static int hf_x509if_auxiliaries_item = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_mandatory = -1; /* T_mandatory */ static int hf_x509if_mandatory_item = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_optional = -1; /* T_optional */ static int hf_x509if_optional_item = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_precluded = -1; /* T_precluded */ static int hf_x509if_precluded_item = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_attributeType = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_mandatoryContexts = -1; /* T_mandatoryContexts */ static int hf_x509if_mandatoryContexts_item = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_optionalContexts = -1; /* T_optionalContexts */ static int hf_x509if_optionalContexts_item = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_id = -1; /* INTEGER */ static int hf_x509if_dmdId = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_attributeType_01 = -1; /* T_attributeType */ static int hf_x509if_includeSubtypes = -1; /* BOOLEAN */ static int hf_x509if_ra_selectedValues = -1; /* T_ra_selectedValues */ static int hf_x509if_ra_selectedValues_item = -1; /* T_ra_selectedValues_item */ static int hf_x509if_defaultValues = -1; /* T_defaultValues */ static int hf_x509if_defaultValues_item = -1; /* T_defaultValues_item */ static int hf_x509if_entryType = -1; /* T_entryType */ static int hf_x509if_ra_values = -1; /* T_ra_values */ static int hf_x509if_ra_values_item = -1; /* T_ra_values_item */ static int hf_x509if_contexts = -1; /* SEQUENCE_SIZE_0_MAX_OF_ContextProfile */ static int hf_x509if_contexts_item = -1; /* ContextProfile */ static int hf_x509if_contextCombination = -1; /* ContextCombination */ static int hf_x509if_matchingUse = -1; /* SEQUENCE_SIZE_1_MAX_OF_MatchingUse */ static int hf_x509if_matchingUse_item = -1; /* MatchingUse */ static int hf_x509if_contextType_01 = -1; /* T_contextType_01 */ static int hf_x509if_contextValue = -1; /* T_contextValue */ static int hf_x509if_contextValue_item = -1; /* T_contextValue_item */ static int hf_x509if_context = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_contextcombination_and = -1; /* SEQUENCE_OF_ContextCombination */ static int hf_x509if_contextcombination_and_item = -1; /* ContextCombination */ static int hf_x509if_contextcombination_or = -1; /* SEQUENCE_OF_ContextCombination */ static int hf_x509if_contextcombination_or_item = -1; /* ContextCombination */ static int hf_x509if_contextcombination_not = -1; /* ContextCombination */ static int hf_x509if_restrictionType = -1; /* T_restrictionType */ static int hf_x509if_restrictionValue = -1; /* T_restrictionValue */ static int hf_x509if_attribute = -1; /* AttributeType */ static int hf_x509if_and = -1; /* SEQUENCE_OF_AttributeCombination */ static int hf_x509if_and_item = -1; /* AttributeCombination */ static int hf_x509if_or = -1; /* SEQUENCE_OF_AttributeCombination */ static int hf_x509if_or_item = -1; /* AttributeCombination */ static int hf_x509if_not = -1; /* AttributeCombination */ static int hf_x509if_attributeType_02 = -1; /* T_attributeType_01 */ static int hf_x509if_outputValues = -1; /* T_outputValues */ static int hf_x509if_selectedValues = -1; /* T_selectedValues */ static int hf_x509if_selectedValues_item = -1; /* T_selectedValues_item */ static int hf_x509if_matchedValuesOnly = -1; /* NULL */ static int hf_x509if_contexts_01 = -1; /* SEQUENCE_SIZE_1_MAX_OF_ContextProfile */ static int hf_x509if_serviceControls = -1; /* ServiceControlOptions */ static int hf_x509if_searchOptions = -1; /* SearchControlOptions */ static int hf_x509if_hierarchyOptions = -1; /* HierarchySelections */ static int hf_x509if_default = -1; /* INTEGER */ static int hf_x509if_max = -1; /* INTEGER */ static int hf_x509if_basic = -1; /* MRMapping */ static int hf_x509if_tightenings = -1; /* SEQUENCE_SIZE_1_MAX_OF_MRMapping */ static int hf_x509if_tightenings_item = -1; /* MRMapping */ static int hf_x509if_relaxations = -1; /* SEQUENCE_SIZE_1_MAX_OF_MRMapping */ static int hf_x509if_relaxations_item = -1; /* MRMapping */ static int hf_x509if_maximum_relaxation = -1; /* INTEGER */ static int hf_x509if_minimum_relaxation = -1; /* INTEGER */ static int hf_x509if_mapping = -1; /* SEQUENCE_SIZE_1_MAX_OF_Mapping */ static int hf_x509if_mapping_item = -1; /* Mapping */ static int hf_x509if_substitution = -1; /* SEQUENCE_SIZE_1_MAX_OF_MRSubstitution */ static int hf_x509if_substitution_item = -1; /* MRSubstitution */ static int hf_x509if_mappingFunction = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_level = -1; /* INTEGER */ static int hf_x509if_oldMatchingRule = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_newMatchingRule = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_base = -1; /* LocalName */ static int hf_x509if_specificExclusions = -1; /* T_specificExclusions */ static int hf_x509if_specificExclusions_item = -1; /* T_specificExclusions_item */ static int hf_x509if_specificationFilter = -1; /* Refinement */ static int hf_x509if_serviceType = -1; /* OBJECT_IDENTIFIER */ static int hf_x509if_userClass = -1; /* INTEGER */ static int hf_x509if_inputAttributeTypes = -1; /* SEQUENCE_SIZE_0_MAX_OF_RequestAttribute */ static int hf_x509if_inputAttributeTypes_item = -1; /* RequestAttribute */ static int hf_x509if_attributeCombination = -1; /* AttributeCombination */ static int hf_x509if_outputAttributeTypes = -1; /* SEQUENCE_SIZE_1_MAX_OF_ResultAttribute */ static int hf_x509if_outputAttributeTypes_item = -1; /* ResultAttribute */ static int hf_x509if_defaultControls = -1; /* ControlOptions */ static int hf_x509if_mandatoryControls = -1; /* ControlOptions */ static int hf_x509if_searchRuleControls = -1; /* ControlOptions */ static int hf_x509if_familyGrouping = -1; /* FamilyGrouping */ static int hf_x509if_familyReturn = -1; /* FamilyReturn */ static int hf_x509if_relaxation = -1; /* RelaxationPolicy */ static int hf_x509if_additionalControl = -1; /* SEQUENCE_SIZE_1_MAX_OF_AttributeType */ static int hf_x509if_additionalControl_item = -1; /* AttributeType */ static int hf_x509if_allowedSubset = -1; /* AllowedSubset */ static int hf_x509if_imposedSubset = -1; /* ImposedSubset */ static int hf_x509if_entryLimit = -1; /* EntryLimit */ static int hf_x509if_name = -1; /* SET_SIZE_1_MAX_OF_DirectoryString */ static int hf_x509if_name_item = -1; /* DirectoryString */ static int hf_x509if_description = -1; /* DirectoryString */ /* named bits */ static int hf_x509if_AllowedSubset_baseObject = -1; static int hf_x509if_AllowedSubset_oneLevel = -1; static int hf_x509if_AllowedSubset_wholeSubtree = -1; /* Initialize the subtree pointers */ static gint ett_x509if_Attribute = -1; static gint ett_x509if_T_values = -1; static gint ett_x509if_T_valuesWithContext = -1; static gint ett_x509if_T_valuesWithContext_item = -1; static gint ett_x509if_SET_SIZE_1_MAX_OF_Context = -1; static gint ett_x509if_Context = -1; static gint ett_x509if_T_contextValues = -1; static gint ett_x509if_AttributeValueAssertion = -1; static gint ett_x509if_T_assertedContexts = -1; static gint ett_x509if_SET_SIZE_1_MAX_OF_ContextAssertion = -1; static gint ett_x509if_ContextAssertion = -1; static gint ett_x509if_T_ca_contextValues = -1; static gint ett_x509if_AttributeTypeAssertion = -1; static gint ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextAssertion = -1; static gint ett_x509if_Name = -1; static gint ett_x509if_RDNSequence = -1; static gint ett_x509if_RelativeDistinguishedName = -1; static gint ett_x509if_AttributeTypeAndDistinguishedValue = -1; static gint ett_x509if_T_valWithContext = -1; static gint ett_x509if_T_valWithContext_item = -1; static gint ett_x509if_SubtreeSpecification = -1; static gint ett_x509if_ChopSpecification = -1; static gint ett_x509if_T_chopSpecificExclusions = -1; static gint ett_x509if_T_chopSpecificExclusions_item = -1; static gint ett_x509if_Refinement = -1; static gint ett_x509if_SET_OF_Refinement = -1; static gint ett_x509if_DITStructureRule = -1; static gint ett_x509if_SET_SIZE_1_MAX_OF_RuleIdentifier = -1; static gint ett_x509if_DITContentRule = -1; static gint ett_x509if_T_auxiliaries = -1; static gint ett_x509if_T_mandatory = -1; static gint ett_x509if_T_optional = -1; static gint ett_x509if_T_precluded = -1; static gint ett_x509if_DITContextUse = -1; static gint ett_x509if_T_mandatoryContexts = -1; static gint ett_x509if_T_optionalContexts = -1; static gint ett_x509if_SearchRuleDescription = -1; static gint ett_x509if_SearchRule = -1; static gint ett_x509if_SearchRuleId = -1; static gint ett_x509if_AllowedSubset = -1; static gint ett_x509if_RequestAttribute = -1; static gint ett_x509if_T_ra_selectedValues = -1; static gint ett_x509if_T_defaultValues = -1; static gint ett_x509if_T_defaultValues_item = -1; static gint ett_x509if_T_ra_values = -1; static gint ett_x509if_SEQUENCE_SIZE_0_MAX_OF_ContextProfile = -1; static gint ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MatchingUse = -1; static gint ett_x509if_ContextProfile = -1; static gint ett_x509if_T_contextValue = -1; static gint ett_x509if_ContextCombination = -1; static gint ett_x509if_SEQUENCE_OF_ContextCombination = -1; static gint ett_x509if_MatchingUse = -1; static gint ett_x509if_AttributeCombination = -1; static gint ett_x509if_SEQUENCE_OF_AttributeCombination = -1; static gint ett_x509if_ResultAttribute = -1; static gint ett_x509if_T_outputValues = -1; static gint ett_x509if_T_selectedValues = -1; static gint ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextProfile = -1; static gint ett_x509if_ControlOptions = -1; static gint ett_x509if_EntryLimit = -1; static gint ett_x509if_RelaxationPolicy = -1; static gint ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MRMapping = -1; static gint ett_x509if_MRMapping = -1; static gint ett_x509if_SEQUENCE_SIZE_1_MAX_OF_Mapping = -1; static gint ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MRSubstitution = -1; static gint ett_x509if_Mapping = -1; static gint ett_x509if_MRSubstitution = -1; static gint ett_x509if_T_specificExclusions = -1; static gint ett_x509if_T_specificExclusions_item = -1; static gint ett_x509if_SEQUENCE_SIZE_0_MAX_OF_RequestAttribute = -1; static gint ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ResultAttribute = -1; static gint ett_x509if_SEQUENCE_SIZE_1_MAX_OF_AttributeType = -1; static gint ett_x509if_SET_SIZE_1_MAX_OF_DirectoryString = -1; static proto_tree *top_of_dn = NULL; static proto_tree *top_of_rdn = NULL; static gboolean rdn_one_value = FALSE; /* have we seen one value in an RDN yet */ static gboolean dn_one_rdn = FALSE; /* have we seen one RDN in a DN yet */ static gboolean doing_attr = FALSE; static wmem_strbuf_t *last_dn_buf = NULL; static wmem_strbuf_t *last_rdn_buf = NULL; static int ava_hf_index; #define MAX_FMT_VALS 32 static value_string fmt_vals[MAX_FMT_VALS]; #define MAX_AVA_STR_LEN 64 static char *last_ava = NULL; static void x509if_frame_end(void) { top_of_dn = NULL; top_of_rdn = NULL; rdn_one_value = FALSE; dn_one_rdn = FALSE; doing_attr = FALSE; last_dn_buf = NULL; last_rdn_buf = NULL; last_ava = NULL; } /*--- Cyclic dependencies ---*/ /* Refinement -> Refinement/and -> Refinement */ /* Refinement -> Refinement */ /*int dissect_x509if_Refinement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);*/ /* ContextCombination -> ContextCombination/and -> ContextCombination */ /* ContextCombination -> ContextCombination */ /*int dissect_x509if_ContextCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);*/ /* AttributeCombination -> AttributeCombination/and -> AttributeCombination */ /* AttributeCombination -> AttributeCombination */ /*int dissect_x509if_AttributeCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);*/ static int dissect_x509if_T_type(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_values_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t T_values_set_of[1] = { { &hf_x509if_values_item , BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_values_item }, }; static int dissect_x509if_T_values(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_values_set_of, hf_index, ett_x509if_T_values); return offset; } static int dissect_x509if_T_value(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback("unknown", tvb, offset, actx->pinfo, tree, NULL); return offset; } static int dissect_x509if_T_contextType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_contextValues_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t T_contextValues_set_of[1] = { { &hf_x509if_contextValues_item, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_contextValues_item }, }; static int dissect_x509if_T_contextValues(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_contextValues_set_of, hf_index, ett_x509if_T_contextValues); return offset; } static int dissect_x509if_BOOLEAN(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t Context_sequence[] = { { &hf_x509if_contextType , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_contextType }, { &hf_x509if_contextValues, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509if_T_contextValues }, { &hf_x509if_fallback , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_BOOLEAN }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_Context(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Context_sequence, hf_index, ett_x509if_Context); return offset; } static const ber_sequence_t SET_SIZE_1_MAX_OF_Context_set_of[1] = { { &hf_x509if_contextList_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_Context }, }; static int dissect_x509if_SET_SIZE_1_MAX_OF_Context(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_SIZE_1_MAX_OF_Context_set_of, hf_index, ett_x509if_SET_SIZE_1_MAX_OF_Context); return offset; } static const ber_sequence_t T_valuesWithContext_item_sequence[] = { { &hf_x509if_value , BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_value }, { &hf_x509if_contextList , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509if_SET_SIZE_1_MAX_OF_Context }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509if_T_valuesWithContext_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_valuesWithContext_item_sequence, hf_index, ett_x509if_T_valuesWithContext_item); return offset; } static const ber_sequence_t T_valuesWithContext_set_of[1] = { { &hf_x509if_valuesWithContext_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_T_valuesWithContext_item }, }; static int dissect_x509if_T_valuesWithContext(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_valuesWithContext_set_of, hf_index, ett_x509if_T_valuesWithContext); return offset; } static const ber_sequence_t Attribute_sequence[] = { { &hf_x509if_type , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_type }, { &hf_x509if_values , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509if_T_values }, { &hf_x509if_valuesWithContext, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_T_valuesWithContext }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_Attribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { doing_attr = TRUE; register_frame_end_routine (actx->pinfo, x509if_frame_end); offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Attribute_sequence, hf_index, ett_x509if_Attribute); return offset; } int dissect_x509if_AttributeType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } int dissect_x509if_AttributeValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static int dissect_x509if_T_type_01(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_assertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static int dissect_x509if_NULL(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } static int dissect_x509if_T_ca_contextType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_ca_contextValues_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t T_ca_contextValues_set_of[1] = { { &hf_x509if_ca_contextValues_item, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_ca_contextValues_item }, }; static int dissect_x509if_T_ca_contextValues(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_ca_contextValues_set_of, hf_index, ett_x509if_T_ca_contextValues); return offset; } static const ber_sequence_t ContextAssertion_sequence[] = { { &hf_x509if_ca_contextType, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_ca_contextType }, { &hf_x509if_ca_contextValues, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509if_T_ca_contextValues }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_ContextAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ContextAssertion_sequence, hf_index, ett_x509if_ContextAssertion); return offset; } static const ber_sequence_t SET_SIZE_1_MAX_OF_ContextAssertion_set_of[1] = { { &hf_x509if_selectedContexts_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_ContextAssertion }, }; static int dissect_x509if_SET_SIZE_1_MAX_OF_ContextAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_SIZE_1_MAX_OF_ContextAssertion_set_of, hf_index, ett_x509if_SET_SIZE_1_MAX_OF_ContextAssertion); return offset; } static const value_string x509if_T_assertedContexts_vals[] = { { 0, "allContexts" }, { 1, "selectedContexts" }, { 0, NULL } }; static const ber_choice_t T_assertedContexts_choice[] = { { 0, &hf_x509if_allContexts , BER_CLASS_CON, 0, 0, dissect_x509if_NULL }, { 1, &hf_x509if_selectedContexts, BER_CLASS_CON, 1, 0, dissect_x509if_SET_SIZE_1_MAX_OF_ContextAssertion }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509if_T_assertedContexts(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_assertedContexts_choice, hf_index, ett_x509if_T_assertedContexts, NULL); return offset; } static const ber_sequence_t AttributeValueAssertion_sequence[] = { { &hf_x509if_type_01 , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_type_01 }, { &hf_x509if_assertion , BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_assertion }, { &hf_x509if_assertedContexts, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509if_T_assertedContexts }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_AttributeValueAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { ava_hf_index = hf_index; last_ava = (char *)wmem_alloc(actx->pinfo->pool, MAX_AVA_STR_LEN); *last_ava = '\0'; register_frame_end_routine (actx->pinfo, x509if_frame_end); offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeValueAssertion_sequence, hf_index, ett_x509if_AttributeValueAssertion); ava_hf_index=-1; return offset; } static int dissect_x509if_OBJECT_IDENTIFIER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_ContextAssertion_sequence_of[1] = { { &hf_x509if_ata_assertedContexts_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_ContextAssertion }, }; static int dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_ContextAssertion_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextAssertion); return offset; } static const ber_sequence_t AttributeTypeAssertion_sequence[] = { { &hf_x509if_type_02 , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_ata_assertedContexts, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextAssertion }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_AttributeTypeAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeTypeAssertion_sequence, hf_index, ett_x509if_AttributeTypeAssertion); return offset; } static int dissect_x509if_T_type_02(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { const char *fmt; const char *name; offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); if(actx->external.direct_reference) { /* see if we can find a nice name */ name = oid_resolved_from_string(actx->pinfo->pool, actx->external.direct_reference); if(!name) name = actx->external.direct_reference; if(last_rdn_buf) { /* append it to the RDN */ wmem_strbuf_append(last_rdn_buf, name); wmem_strbuf_append_c(last_rdn_buf, '='); /* append it to the tree */ proto_item_append_text(tree, " (%s=", name); } else if(doing_attr) { /* append it to the parent item */ proto_item_append_text(tree, " (%s)", name); } if((fmt = val_to_str_const(hf_index, fmt_vals, "")) && *fmt) { /* we have a format */ last_ava = (char *)wmem_alloc(actx->pinfo->pool, MAX_AVA_STR_LEN); *last_ava = '\0'; register_frame_end_routine (actx->pinfo, x509if_frame_end); snprintf(last_ava, MAX_AVA_STR_LEN, "%s %s", name, fmt); proto_item_append_text(tree, " %s", last_ava); } } return offset; } static int dissect_x509if_T_atadv_value(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { int old_offset = offset; tvbuff_t *out_tvb; char *value = NULL; const char *fmt; const char *name = NULL; const char *orig_oid = actx->external.direct_reference; offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); /* in dissecting the value we may have overridden the OID of the value - which is a problem if there are multiple values */ actx->external.direct_reference = orig_oid; /* try and dissect as a string */ dissect_ber_octet_string(FALSE, actx, NULL, tvb, old_offset, hf_x509if_any_string, &out_tvb); /* should also try and dissect as an OID and integer */ /* of course, if I can look up the syntax .... */ if(out_tvb) { /* it was a string - format it */ value = tvb_format_text(actx->pinfo->pool, out_tvb, 0, tvb_reported_length(out_tvb)); if(last_rdn_buf) { wmem_strbuf_append(last_rdn_buf, value); /* append it to the tree*/ proto_item_append_text(tree, "%s)", value); } if((fmt = val_to_str_const(ava_hf_index, fmt_vals, "")) && *fmt) { /* we have a format */ if (!last_ava) { last_ava = (char *)wmem_alloc(actx->pinfo->pool, MAX_AVA_STR_LEN); } if(!(name = oid_resolved_from_string(actx->pinfo->pool, actx->external.direct_reference))) name = actx->external.direct_reference; snprintf(last_ava, MAX_AVA_STR_LEN, "%s %s %s", name, fmt, value); proto_item_append_text(tree, " %s", last_ava); } } return offset; } static int dissect_x509if_T_distingAttrValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t T_valWithContext_item_sequence[] = { { &hf_x509if_distingAttrValue, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509if_T_distingAttrValue }, { &hf_x509if_contextList , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509if_SET_SIZE_1_MAX_OF_Context }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509if_T_valWithContext_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_valWithContext_item_sequence, hf_index, ett_x509if_T_valWithContext_item); return offset; } static const ber_sequence_t T_valWithContext_set_of[1] = { { &hf_x509if_valueswithContext_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_T_valWithContext_item }, }; static int dissect_x509if_T_valWithContext(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_valWithContext_set_of, hf_index, ett_x509if_T_valWithContext); return offset; } static const ber_sequence_t AttributeTypeAndDistinguishedValue_sequence[] = { { &hf_x509if_type_03 , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_type_02 }, { &hf_x509if_atadv_value , BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_atadv_value }, { &hf_x509if_primaryDistinguished, BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_BOOLEAN }, { &hf_x509if_valueswithContext, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_T_valWithContext }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_AttributeTypeAndDistinguishedValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeTypeAndDistinguishedValue_sequence, hf_index, ett_x509if_AttributeTypeAndDistinguishedValue); return offset; } static int dissect_x509if_RelativeDistinguishedName_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { if(!rdn_one_value) { top_of_rdn = tree; } else { if(last_rdn_buf) /* this is an additional value - delimit */ wmem_strbuf_append_c(last_rdn_buf, '+'); } offset = dissect_x509if_AttributeTypeAndDistinguishedValue(implicit_tag, tvb, offset, actx, tree, hf_index); rdn_one_value = TRUE; return offset; } static const ber_sequence_t RelativeDistinguishedName_set_of[1] = { { &hf_x509if_RelativeDistinguishedName_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_RelativeDistinguishedName_item }, }; int dissect_x509if_RelativeDistinguishedName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { rdn_one_value = FALSE; top_of_rdn = tree; last_rdn_buf = wmem_strbuf_new(actx->pinfo->pool, ""); register_frame_end_routine (actx->pinfo, x509if_frame_end); offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, RelativeDistinguishedName_set_of, hf_index, ett_x509if_RelativeDistinguishedName); /* we've finished - close the bracket */ proto_item_append_text(top_of_rdn, " (%s)", wmem_strbuf_get_str(last_rdn_buf)); /* now append this to the DN */ if (last_dn_buf) { if(wmem_strbuf_get_len(last_dn_buf) > 0) { wmem_strbuf_t *temp_dn_buf = wmem_strbuf_new_sized(actx->pinfo->pool, wmem_strbuf_get_len(last_rdn_buf) + wmem_strbuf_get_len(last_dn_buf) + 1); wmem_strbuf_append(temp_dn_buf, wmem_strbuf_get_str(last_rdn_buf)); wmem_strbuf_append_c(temp_dn_buf, ','); wmem_strbuf_append(temp_dn_buf, wmem_strbuf_get_str(last_dn_buf)); wmem_strbuf_destroy(last_dn_buf); last_dn_buf = temp_dn_buf; } else { wmem_strbuf_append(last_dn_buf, wmem_strbuf_get_str(last_rdn_buf)); } } last_rdn_buf = NULL; /* it will get freed when the next packet is dissected */ return offset; } static int dissect_x509if_RDNSequence_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { if(!dn_one_rdn) { /* this is the first element - record the top */ top_of_dn = tree; } offset = dissect_x509if_RelativeDistinguishedName(implicit_tag, tvb, offset, actx, tree, hf_index); dn_one_rdn = TRUE; return offset; } static const ber_sequence_t RDNSequence_sequence_of[1] = { { &hf_x509if_RDNSequence_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509if_RDNSequence_item }, }; int dissect_x509if_RDNSequence(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { const char *fmt; dn_one_rdn = FALSE; /* reset */ last_dn_buf = wmem_strbuf_new(actx->pinfo->pool, ""); top_of_dn = NULL; register_frame_end_routine (actx->pinfo, x509if_frame_end); offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, RDNSequence_sequence_of, hf_index, ett_x509if_RDNSequence); /* we've finished - append the dn */ proto_item_append_text(top_of_dn, " (%s)", wmem_strbuf_get_str(last_dn_buf)); /* see if we should append this to the col info */ if((fmt = val_to_str_const(hf_index, fmt_vals, "")) && *fmt) { /* we have a format */ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %s%s", fmt, wmem_strbuf_get_str(last_dn_buf)); } return offset; } const value_string x509if_Name_vals[] = { { 0, "rdnSequence" }, { 0, NULL } }; static const ber_choice_t Name_choice[] = { { 0, &hf_x509if_rdnSequence , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_RDNSequence }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509if_Name(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Name_choice, hf_index, ett_x509if_Name, NULL); return offset; } int dissect_x509if_DistinguishedName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_x509if_RDNSequence(implicit_tag, tvb, offset, actx, tree, hf_index); return offset; } int dissect_x509if_LocalName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_x509if_RDNSequence(implicit_tag, tvb, offset, actx, tree, hf_index); return offset; } static const value_string x509if_T_specificExclusions_item_vals[] = { { 0, "chopBefore" }, { 1, "chopAfter" }, { 0, NULL } }; static const ber_choice_t T_specificExclusions_item_choice[] = { { 0, &hf_x509if_chopBefore , BER_CLASS_CON, 0, 0, dissect_x509if_LocalName }, { 1, &hf_x509if_chopAfter , BER_CLASS_CON, 1, 0, dissect_x509if_LocalName }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509if_T_specificExclusions_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_specificExclusions_item_choice, hf_index, ett_x509if_T_specificExclusions_item, NULL); return offset; } static const ber_sequence_t T_specificExclusions_set_of[1] = { { &hf_x509if_specificExclusions_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509if_T_specificExclusions_item }, }; static int dissect_x509if_T_specificExclusions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_specificExclusions_set_of, hf_index, ett_x509if_T_specificExclusions); return offset; } static int dissect_x509if_BaseDistance(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SET_OF_Refinement_set_of[1] = { { &hf_x509if_refinement_and_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509if_Refinement }, }; static int dissect_x509if_SET_OF_Refinement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_OF_Refinement_set_of, hf_index, ett_x509if_SET_OF_Refinement); return offset; } const value_string x509if_Refinement_vals[] = { { 0, "item" }, { 1, "and" }, { 2, "or" }, { 3, "not" }, { 0, NULL } }; static const ber_choice_t Refinement_choice[] = { { 0, &hf_x509if_item , BER_CLASS_CON, 0, 0, dissect_x509if_OBJECT_IDENTIFIER }, { 1, &hf_x509if_refinement_and, BER_CLASS_CON, 1, 0, dissect_x509if_SET_OF_Refinement }, { 2, &hf_x509if_refinement_or, BER_CLASS_CON, 2, 0, dissect_x509if_SET_OF_Refinement }, { 3, &hf_x509if_refinement_not, BER_CLASS_CON, 3, 0, dissect_x509if_Refinement }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509if_Refinement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Refinement_choice, hf_index, ett_x509if_Refinement, NULL); return offset; } static const ber_sequence_t SubtreeSpecification_sequence[] = { { &hf_x509if_base , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509if_LocalName }, { &hf_x509if_specificExclusions, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_T_specificExclusions }, { &hf_x509if_minimum , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509if_BaseDistance }, { &hf_x509if_maximum , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509if_BaseDistance }, { &hf_x509if_specificationFilter, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_x509if_Refinement }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_SubtreeSpecification(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SubtreeSpecification_sequence, hf_index, ett_x509if_SubtreeSpecification); return offset; } static const value_string x509if_T_chopSpecificExclusions_item_vals[] = { { 0, "chopBefore" }, { 1, "chopAfter" }, { 0, NULL } }; static const ber_choice_t T_chopSpecificExclusions_item_choice[] = { { 0, &hf_x509if_chopBefore , BER_CLASS_CON, 0, 0, dissect_x509if_LocalName }, { 1, &hf_x509if_chopAfter , BER_CLASS_CON, 1, 0, dissect_x509if_LocalName }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509if_T_chopSpecificExclusions_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_chopSpecificExclusions_item_choice, hf_index, ett_x509if_T_chopSpecificExclusions_item, NULL); return offset; } static const ber_sequence_t T_chopSpecificExclusions_set_of[1] = { { &hf_x509if_chopSpecificExclusions_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509if_T_chopSpecificExclusions_item }, }; static int dissect_x509if_T_chopSpecificExclusions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_chopSpecificExclusions_set_of, hf_index, ett_x509if_T_chopSpecificExclusions); return offset; } static const ber_sequence_t ChopSpecification_sequence[] = { { &hf_x509if_chopSpecificExclusions, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_T_chopSpecificExclusions }, { &hf_x509if_minimum , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509if_BaseDistance }, { &hf_x509if_maximum , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509if_BaseDistance }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_ChopSpecification(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ChopSpecification_sequence, hf_index, ett_x509if_ChopSpecification); return offset; } const value_string x509if_AttributeUsage_vals[] = { { 0, "userApplications" }, { 1, "directoryOperation" }, { 2, "distributedOperation" }, { 3, "dSAOperation" }, { 0, NULL } }; int dissect_x509if_AttributeUsage(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } int dissect_x509if_RuleIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SET_SIZE_1_MAX_OF_RuleIdentifier_set_of[1] = { { &hf_x509if_superiorStructureRules_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509if_RuleIdentifier }, }; static int dissect_x509if_SET_SIZE_1_MAX_OF_RuleIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_SIZE_1_MAX_OF_RuleIdentifier_set_of, hf_index, ett_x509if_SET_SIZE_1_MAX_OF_RuleIdentifier); return offset; } static const ber_sequence_t DITStructureRule_sequence[] = { { &hf_x509if_ruleIdentifier, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509if_RuleIdentifier }, { &hf_x509if_nameForm , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_superiorStructureRules, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_SET_SIZE_1_MAX_OF_RuleIdentifier }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_DITStructureRule(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DITStructureRule_sequence, hf_index, ett_x509if_DITStructureRule); return offset; } static const ber_sequence_t T_auxiliaries_set_of[1] = { { &hf_x509if_auxiliaries_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, }; static int dissect_x509if_T_auxiliaries(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_auxiliaries_set_of, hf_index, ett_x509if_T_auxiliaries); return offset; } static const ber_sequence_t T_mandatory_set_of[1] = { { &hf_x509if_mandatory_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, }; static int dissect_x509if_T_mandatory(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_mandatory_set_of, hf_index, ett_x509if_T_mandatory); return offset; } static const ber_sequence_t T_optional_set_of[1] = { { &hf_x509if_optional_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, }; static int dissect_x509if_T_optional(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_optional_set_of, hf_index, ett_x509if_T_optional); return offset; } static const ber_sequence_t T_precluded_set_of[1] = { { &hf_x509if_precluded_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, }; static int dissect_x509if_T_precluded(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_precluded_set_of, hf_index, ett_x509if_T_precluded); return offset; } static const ber_sequence_t DITContentRule_sequence[] = { { &hf_x509if_structuralObjectClass, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_auxiliaries , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_T_auxiliaries }, { &hf_x509if_mandatory , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_T_mandatory }, { &hf_x509if_optional , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509if_T_optional }, { &hf_x509if_precluded , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509if_T_precluded }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_DITContentRule(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DITContentRule_sequence, hf_index, ett_x509if_DITContentRule); return offset; } static const ber_sequence_t T_mandatoryContexts_set_of[1] = { { &hf_x509if_mandatoryContexts_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, }; static int dissect_x509if_T_mandatoryContexts(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_mandatoryContexts_set_of, hf_index, ett_x509if_T_mandatoryContexts); return offset; } static const ber_sequence_t T_optionalContexts_set_of[1] = { { &hf_x509if_optionalContexts_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, }; static int dissect_x509if_T_optionalContexts(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_optionalContexts_set_of, hf_index, ett_x509if_T_optionalContexts); return offset; } static const ber_sequence_t DITContextUse_sequence[] = { { &hf_x509if_attributeType, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_mandatoryContexts, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_T_mandatoryContexts }, { &hf_x509if_optionalContexts, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509if_T_optionalContexts }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_DITContextUse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DITContextUse_sequence, hf_index, ett_x509if_DITContextUse); return offset; } static int dissect_x509if_INTEGER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509if_T_attributeType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_ra_selectedValues_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t T_ra_selectedValues_sequence_of[1] = { { &hf_x509if_ra_selectedValues_item, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_ra_selectedValues_item }, }; static int dissect_x509if_T_ra_selectedValues(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_ra_selectedValues_sequence_of, hf_index, ett_x509if_T_ra_selectedValues); return offset; } static int dissect_x509if_T_entryType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_ra_values_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t T_ra_values_sequence_of[1] = { { &hf_x509if_ra_values_item, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_ra_values_item }, }; static int dissect_x509if_T_ra_values(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_ra_values_sequence_of, hf_index, ett_x509if_T_ra_values); return offset; } static const ber_sequence_t T_defaultValues_item_sequence[] = { { &hf_x509if_entryType , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_T_entryType }, { &hf_x509if_ra_values , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_T_ra_values }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509if_T_defaultValues_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_defaultValues_item_sequence, hf_index, ett_x509if_T_defaultValues_item); return offset; } static const ber_sequence_t T_defaultValues_sequence_of[1] = { { &hf_x509if_defaultValues_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_T_defaultValues_item }, }; static int dissect_x509if_T_defaultValues(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_defaultValues_sequence_of, hf_index, ett_x509if_T_defaultValues); return offset; } static int dissect_x509if_T_contextType_01(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_contextValue_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t T_contextValue_sequence_of[1] = { { &hf_x509if_contextValue_item, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_contextValue_item }, }; static int dissect_x509if_T_contextValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_contextValue_sequence_of, hf_index, ett_x509if_T_contextValue); return offset; } static const ber_sequence_t ContextProfile_sequence[] = { { &hf_x509if_contextType_01, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_contextType_01 }, { &hf_x509if_contextValue , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_T_contextValue }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_ContextProfile(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ContextProfile_sequence, hf_index, ett_x509if_ContextProfile); return offset; } static const ber_sequence_t SEQUENCE_SIZE_0_MAX_OF_ContextProfile_sequence_of[1] = { { &hf_x509if_contexts_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_ContextProfile }, }; static int dissect_x509if_SEQUENCE_SIZE_0_MAX_OF_ContextProfile(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_0_MAX_OF_ContextProfile_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_0_MAX_OF_ContextProfile); return offset; } static const ber_sequence_t SEQUENCE_OF_ContextCombination_sequence_of[1] = { { &hf_x509if_contextcombination_and_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509if_ContextCombination }, }; static int dissect_x509if_SEQUENCE_OF_ContextCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_ContextCombination_sequence_of, hf_index, ett_x509if_SEQUENCE_OF_ContextCombination); return offset; } const value_string x509if_ContextCombination_vals[] = { { 0, "context" }, { 1, "and" }, { 2, "or" }, { 3, "not" }, { 0, NULL } }; static const ber_choice_t ContextCombination_choice[] = { { 0, &hf_x509if_context , BER_CLASS_CON, 0, 0, dissect_x509if_OBJECT_IDENTIFIER }, { 1, &hf_x509if_contextcombination_and, BER_CLASS_CON, 1, 0, dissect_x509if_SEQUENCE_OF_ContextCombination }, { 2, &hf_x509if_contextcombination_or, BER_CLASS_CON, 2, 0, dissect_x509if_SEQUENCE_OF_ContextCombination }, { 3, &hf_x509if_contextcombination_not, BER_CLASS_CON, 3, 0, dissect_x509if_ContextCombination }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509if_ContextCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, ContextCombination_choice, hf_index, ett_x509if_ContextCombination, NULL); return offset; } static int dissect_x509if_T_restrictionType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_restrictionValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t MatchingUse_sequence[] = { { &hf_x509if_restrictionType, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_restrictionType }, { &hf_x509if_restrictionValue, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_restrictionValue }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_MatchingUse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, MatchingUse_sequence, hf_index, ett_x509if_MatchingUse); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_MatchingUse_sequence_of[1] = { { &hf_x509if_matchingUse_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_MatchingUse }, }; static int dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_MatchingUse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_MatchingUse_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MatchingUse); return offset; } static const ber_sequence_t RequestAttribute_sequence[] = { { &hf_x509if_attributeType_01, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_attributeType }, { &hf_x509if_includeSubtypes, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509if_BOOLEAN }, { &hf_x509if_ra_selectedValues, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_T_ra_selectedValues }, { &hf_x509if_defaultValues, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509if_T_defaultValues }, { &hf_x509if_contexts , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_0_MAX_OF_ContextProfile }, { &hf_x509if_contextCombination, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_x509if_ContextCombination }, { &hf_x509if_matchingUse , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_MatchingUse }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_RequestAttribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, RequestAttribute_sequence, hf_index, ett_x509if_RequestAttribute); return offset; } static const ber_sequence_t SEQUENCE_SIZE_0_MAX_OF_RequestAttribute_sequence_of[1] = { { &hf_x509if_inputAttributeTypes_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_RequestAttribute }, }; static int dissect_x509if_SEQUENCE_SIZE_0_MAX_OF_RequestAttribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_0_MAX_OF_RequestAttribute_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_0_MAX_OF_RequestAttribute); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeCombination_sequence_of[1] = { { &hf_x509if_and_item , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509if_AttributeCombination }, }; static int dissect_x509if_SEQUENCE_OF_AttributeCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeCombination_sequence_of, hf_index, ett_x509if_SEQUENCE_OF_AttributeCombination); return offset; } const value_string x509if_AttributeCombination_vals[] = { { 0, "attribute" }, { 1, "and" }, { 2, "or" }, { 3, "not" }, { 0, NULL } }; static const ber_choice_t AttributeCombination_choice[] = { { 0, &hf_x509if_attribute , BER_CLASS_CON, 0, 0, dissect_x509if_AttributeType }, { 1, &hf_x509if_and , BER_CLASS_CON, 1, 0, dissect_x509if_SEQUENCE_OF_AttributeCombination }, { 2, &hf_x509if_or , BER_CLASS_CON, 2, 0, dissect_x509if_SEQUENCE_OF_AttributeCombination }, { 3, &hf_x509if_not , BER_CLASS_CON, 3, 0, dissect_x509if_AttributeCombination }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509if_AttributeCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, AttributeCombination_choice, hf_index, ett_x509if_AttributeCombination, NULL); return offset; } static int dissect_x509if_T_attributeType_01(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_x509if_object_identifier_id, &actx->external.direct_reference); return offset; } static int dissect_x509if_T_selectedValues_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL); return offset; } static const ber_sequence_t T_selectedValues_sequence_of[1] = { { &hf_x509if_selectedValues_item, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_x509if_T_selectedValues_item }, }; static int dissect_x509if_T_selectedValues(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_selectedValues_sequence_of, hf_index, ett_x509if_T_selectedValues); return offset; } static const value_string x509if_T_outputValues_vals[] = { { 0, "selectedValues" }, { 1, "matchedValuesOnly" }, { 0, NULL } }; static const ber_choice_t T_outputValues_choice[] = { { 0, &hf_x509if_selectedValues, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_T_selectedValues }, { 1, &hf_x509if_matchedValuesOnly, BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_x509if_NULL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509if_T_outputValues(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_outputValues_choice, hf_index, ett_x509if_T_outputValues, NULL); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_ContextProfile_sequence_of[1] = { { &hf_x509if_contexts_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_ContextProfile }, }; static int dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextProfile(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_ContextProfile_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextProfile); return offset; } static const ber_sequence_t ResultAttribute_sequence[] = { { &hf_x509if_attributeType_02, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_T_attributeType_01 }, { &hf_x509if_outputValues , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509if_T_outputValues }, { &hf_x509if_contexts_01 , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextProfile }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_ResultAttribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ResultAttribute_sequence, hf_index, ett_x509if_ResultAttribute); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_ResultAttribute_sequence_of[1] = { { &hf_x509if_outputAttributeTypes_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_ResultAttribute }, }; static int dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_ResultAttribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_ResultAttribute_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ResultAttribute); return offset; } static const ber_sequence_t ControlOptions_sequence[] = { { &hf_x509if_serviceControls, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_dap_ServiceControlOptions }, { &hf_x509if_searchOptions, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dap_SearchControlOptions }, { &hf_x509if_hierarchyOptions, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dap_HierarchySelections }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_ControlOptions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ControlOptions_sequence, hf_index, ett_x509if_ControlOptions); return offset; } static const ber_sequence_t Mapping_sequence[] = { { &hf_x509if_mappingFunction, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_level , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509if_INTEGER }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_Mapping(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Mapping_sequence, hf_index, ett_x509if_Mapping); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_Mapping_sequence_of[1] = { { &hf_x509if_mapping_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_Mapping }, }; static int dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_Mapping(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_Mapping_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_1_MAX_OF_Mapping); return offset; } static const ber_sequence_t MRSubstitution_sequence[] = { { &hf_x509if_attribute , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeType }, { &hf_x509if_oldMatchingRule, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_newMatchingRule, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_OBJECT_IDENTIFIER }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_MRSubstitution(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, MRSubstitution_sequence, hf_index, ett_x509if_MRSubstitution); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_MRSubstitution_sequence_of[1] = { { &hf_x509if_substitution_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_MRSubstitution }, }; static int dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_MRSubstitution(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_MRSubstitution_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MRSubstitution); return offset; } static const ber_sequence_t MRMapping_sequence[] = { { &hf_x509if_mapping , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_Mapping }, { &hf_x509if_substitution , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_MRSubstitution }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_MRMapping(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, MRMapping_sequence, hf_index, ett_x509if_MRMapping); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_MRMapping_sequence_of[1] = { { &hf_x509if_tightenings_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_MRMapping }, }; static int dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_MRMapping(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_MRMapping_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MRMapping); return offset; } static const ber_sequence_t RelaxationPolicy_sequence[] = { { &hf_x509if_basic , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509if_MRMapping }, { &hf_x509if_tightenings , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_MRMapping }, { &hf_x509if_relaxations , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_MRMapping }, { &hf_x509if_maximum_relaxation, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509if_INTEGER }, { &hf_x509if_minimum_relaxation, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_x509if_INTEGER }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_RelaxationPolicy(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, RelaxationPolicy_sequence, hf_index, ett_x509if_RelaxationPolicy); return offset; } static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_AttributeType_sequence_of[1] = { { &hf_x509if_additionalControl_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeType }, }; static int dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_AttributeType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_SIZE_1_MAX_OF_AttributeType_sequence_of, hf_index, ett_x509if_SEQUENCE_SIZE_1_MAX_OF_AttributeType); return offset; } static int * const AllowedSubset_bits[] = { &hf_x509if_AllowedSubset_baseObject, &hf_x509if_AllowedSubset_oneLevel, &hf_x509if_AllowedSubset_wholeSubtree, NULL }; int dissect_x509if_AllowedSubset(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, AllowedSubset_bits, 3, hf_index, ett_x509if_AllowedSubset, NULL); return offset; } const value_string x509if_ImposedSubset_vals[] = { { 0, "baseObject" }, { 1, "oneLevel" }, { 2, "wholeSubtree" }, { 0, NULL } }; int dissect_x509if_ImposedSubset(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t EntryLimit_sequence[] = { { &hf_x509if_default , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509if_INTEGER }, { &hf_x509if_max , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509if_INTEGER }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_EntryLimit(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EntryLimit_sequence, hf_index, ett_x509if_EntryLimit); return offset; } static const ber_sequence_t SET_SIZE_1_MAX_OF_DirectoryString_set_of[1] = { { &hf_x509if_name_item , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509sat_DirectoryString }, }; static int dissect_x509if_SET_SIZE_1_MAX_OF_DirectoryString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_SIZE_1_MAX_OF_DirectoryString_set_of, hf_index, ett_x509if_SET_SIZE_1_MAX_OF_DirectoryString); return offset; } static const ber_sequence_t SearchRuleDescription_sequence[] = { { &hf_x509if_id , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509if_INTEGER }, { &hf_x509if_dmdId , BER_CLASS_CON, 0, 0, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_serviceType , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_userClass , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509if_INTEGER }, { &hf_x509if_inputAttributeTypes, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_0_MAX_OF_RequestAttribute }, { &hf_x509if_attributeCombination, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_x509if_AttributeCombination }, { &hf_x509if_outputAttributeTypes, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_ResultAttribute }, { &hf_x509if_defaultControls, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL, dissect_x509if_ControlOptions }, { &hf_x509if_mandatoryControls, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_x509if_ControlOptions }, { &hf_x509if_searchRuleControls, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_x509if_ControlOptions }, { &hf_x509if_familyGrouping, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL, dissect_dap_FamilyGrouping }, { &hf_x509if_familyReturn , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL, dissect_dap_FamilyReturn }, { &hf_x509if_relaxation , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL, dissect_x509if_RelaxationPolicy }, { &hf_x509if_additionalControl, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_AttributeType }, { &hf_x509if_allowedSubset, BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL, dissect_x509if_AllowedSubset }, { &hf_x509if_imposedSubset, BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL, dissect_x509if_ImposedSubset }, { &hf_x509if_entryLimit , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL, dissect_x509if_EntryLimit }, { &hf_x509if_name , BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_x509if_SET_SIZE_1_MAX_OF_DirectoryString }, { &hf_x509if_description , BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_x509sat_DirectoryString }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_SearchRuleDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SearchRuleDescription_sequence, hf_index, ett_x509if_SearchRuleDescription); return offset; } static int dissect_x509if_HierarchyLevel(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509if_HierarchyBelow(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SearchRule_sequence[] = { { &hf_x509if_id , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509if_INTEGER }, { &hf_x509if_dmdId , BER_CLASS_CON, 0, 0, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_serviceType , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509if_OBJECT_IDENTIFIER }, { &hf_x509if_userClass , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509if_INTEGER }, { &hf_x509if_inputAttributeTypes, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_0_MAX_OF_RequestAttribute }, { &hf_x509if_attributeCombination, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_x509if_AttributeCombination }, { &hf_x509if_outputAttributeTypes, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_ResultAttribute }, { &hf_x509if_defaultControls, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL, dissect_x509if_ControlOptions }, { &hf_x509if_mandatoryControls, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_x509if_ControlOptions }, { &hf_x509if_searchRuleControls, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_x509if_ControlOptions }, { &hf_x509if_familyGrouping, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL, dissect_dap_FamilyGrouping }, { &hf_x509if_familyReturn , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL, dissect_dap_FamilyReturn }, { &hf_x509if_relaxation , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL, dissect_x509if_RelaxationPolicy }, { &hf_x509if_additionalControl, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL, dissect_x509if_SEQUENCE_SIZE_1_MAX_OF_AttributeType }, { &hf_x509if_allowedSubset, BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL, dissect_x509if_AllowedSubset }, { &hf_x509if_imposedSubset, BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL, dissect_x509if_ImposedSubset }, { &hf_x509if_entryLimit , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL, dissect_x509if_EntryLimit }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_SearchRule(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SearchRule_sequence, hf_index, ett_x509if_SearchRule); return offset; } static const ber_sequence_t SearchRuleId_sequence[] = { { &hf_x509if_id , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509if_INTEGER }, { &hf_x509if_dmdId , BER_CLASS_CON, 0, 0, dissect_x509if_OBJECT_IDENTIFIER }, { NULL, 0, 0, 0, NULL } }; int dissect_x509if_SearchRuleId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SearchRuleId_sequence, hf_index, ett_x509if_SearchRuleId); return offset; } /*--- PDUs ---*/ static int dissect_DistinguishedName_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509if_DistinguishedName(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509if_DistinguishedName_PDU); return offset; } static int dissect_SubtreeSpecification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509if_SubtreeSpecification(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509if_SubtreeSpecification_PDU); return offset; } static int dissect_HierarchyLevel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509if_HierarchyLevel(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509if_HierarchyLevel_PDU); return offset; } static int dissect_HierarchyBelow_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509if_HierarchyBelow(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509if_HierarchyBelow_PDU); return offset; } const char * x509if_get_last_dn(void) { return last_dn_buf ? wmem_strbuf_get_str(last_dn_buf) : NULL; } gboolean x509if_register_fmt(int hf_index, const gchar *fmt) { static int idx = 0; if(idx < (MAX_FMT_VALS - 1)) { fmt_vals[idx].value = hf_index; fmt_vals[idx].strptr = fmt; idx++; fmt_vals[idx].value = 0; fmt_vals[idx].strptr = NULL; return TRUE; } else return FALSE; /* couldn't register it */ } const char * x509if_get_last_ava(void) { return last_ava; } /*--- proto_register_x509if ----------------------------------------------*/ void proto_register_x509if(void) { /* List of fields */ static hf_register_info hf[] = { { &hf_x509if_object_identifier_id, { "Object Id", "x509if.oid", FT_OID, BASE_NONE, NULL, 0, "Object identifier Id", HFILL }}, { &hf_x509if_any_string, { "AnyString", "x509if.any.String", FT_BYTES, BASE_NONE, NULL, 0, "This is any String", HFILL }}, { &hf_x509if_DistinguishedName_PDU, { "DistinguishedName", "x509if.DistinguishedName", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_SubtreeSpecification_PDU, { "SubtreeSpecification", "x509if.SubtreeSpecification_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_HierarchyLevel_PDU, { "HierarchyLevel", "x509if.HierarchyLevel", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_HierarchyBelow_PDU, { "HierarchyBelow", "x509if.HierarchyBelow", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_type, { "type", "x509if.type", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_values, { "values", "x509if.values", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_values_item, { "values item", "x509if.values_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_valuesWithContext, { "valuesWithContext", "x509if.valuesWithContext", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_valuesWithContext_item, { "valuesWithContext item", "x509if.valuesWithContext_item_element", FT_NONE, BASE_NONE, NULL, 0, "T_valuesWithContext_item", HFILL }}, { &hf_x509if_value, { "value", "x509if.value_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_contextList, { "contextList", "x509if.contextList", FT_UINT32, BASE_DEC, NULL, 0, "SET_SIZE_1_MAX_OF_Context", HFILL }}, { &hf_x509if_contextList_item, { "Context", "x509if.Context_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_contextType, { "contextType", "x509if.contextType", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_contextValues, { "contextValues", "x509if.contextValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_contextValues_item, { "contextValues item", "x509if.contextValues_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_fallback, { "fallback", "x509if.fallback", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509if_type_01, { "type", "x509if.type", FT_OID, BASE_NONE, NULL, 0, "T_type_01", HFILL }}, { &hf_x509if_assertion, { "assertion", "x509if.assertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_assertedContexts, { "assertedContexts", "x509if.assertedContexts", FT_UINT32, BASE_DEC, VALS(x509if_T_assertedContexts_vals), 0, NULL, HFILL }}, { &hf_x509if_allContexts, { "allContexts", "x509if.allContexts_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_selectedContexts, { "selectedContexts", "x509if.selectedContexts", FT_UINT32, BASE_DEC, NULL, 0, "SET_SIZE_1_MAX_OF_ContextAssertion", HFILL }}, { &hf_x509if_selectedContexts_item, { "ContextAssertion", "x509if.ContextAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_ca_contextType, { "contextType", "x509if.contextType", FT_OID, BASE_NONE, NULL, 0, "T_ca_contextType", HFILL }}, { &hf_x509if_ca_contextValues, { "contextValues", "x509if.contextValues", FT_UINT32, BASE_DEC, NULL, 0, "T_ca_contextValues", HFILL }}, { &hf_x509if_ca_contextValues_item, { "contextValues item", "x509if.contextValues_item_element", FT_NONE, BASE_NONE, NULL, 0, "T_ca_contextValues_item", HFILL }}, { &hf_x509if_type_02, { "type", "x509if.type", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_ata_assertedContexts, { "assertedContexts", "x509if.assertedContexts", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_ContextAssertion", HFILL }}, { &hf_x509if_ata_assertedContexts_item, { "ContextAssertion", "x509if.ContextAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_rdnSequence, { "rdnSequence", "x509if.rdnSequence", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_RDNSequence_item, { "RDNSequence item", "x509if.RDNSequence_item", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_RelativeDistinguishedName_item, { "RelativeDistinguishedName item", "x509if.RelativeDistinguishedName_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_type_03, { "type", "x509if.type", FT_OID, BASE_NONE, NULL, 0, "T_type_02", HFILL }}, { &hf_x509if_atadv_value, { "value", "x509if.value_element", FT_NONE, BASE_NONE, NULL, 0, "T_atadv_value", HFILL }}, { &hf_x509if_primaryDistinguished, { "primaryDistinguished", "x509if.primaryDistinguished", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509if_valueswithContext, { "valuesWithContext", "x509if.valuesWithContext", FT_UINT32, BASE_DEC, NULL, 0, "T_valWithContext", HFILL }}, { &hf_x509if_valueswithContext_item, { "valuesWithContext item", "x509if.valuesWithContext_item_element", FT_NONE, BASE_NONE, NULL, 0, "T_valWithContext_item", HFILL }}, { &hf_x509if_distingAttrValue, { "distingAttrValue", "x509if.distingAttrValue_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_chopSpecificExclusions, { "specificExclusions", "x509if.specificExclusions", FT_UINT32, BASE_DEC, NULL, 0, "T_chopSpecificExclusions", HFILL }}, { &hf_x509if_chopSpecificExclusions_item, { "specificExclusions item", "x509if.specificExclusions_item", FT_UINT32, BASE_DEC, VALS(x509if_T_chopSpecificExclusions_item_vals), 0, "T_chopSpecificExclusions_item", HFILL }}, { &hf_x509if_chopBefore, { "chopBefore", "x509if.chopBefore", FT_UINT32, BASE_DEC, NULL, 0, "LocalName", HFILL }}, { &hf_x509if_chopAfter, { "chopAfter", "x509if.chopAfter", FT_UINT32, BASE_DEC, NULL, 0, "LocalName", HFILL }}, { &hf_x509if_minimum, { "minimum", "x509if.minimum", FT_UINT64, BASE_DEC, NULL, 0, "BaseDistance", HFILL }}, { &hf_x509if_maximum, { "maximum", "x509if.maximum", FT_UINT64, BASE_DEC, NULL, 0, "BaseDistance", HFILL }}, { &hf_x509if_item, { "item", "x509if.item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_refinement_and, { "and", "x509if.and", FT_UINT32, BASE_DEC, NULL, 0, "SET_OF_Refinement", HFILL }}, { &hf_x509if_refinement_and_item, { "Refinement", "x509if.Refinement", FT_UINT32, BASE_DEC, VALS(x509if_Refinement_vals), 0, NULL, HFILL }}, { &hf_x509if_refinement_or, { "or", "x509if.or", FT_UINT32, BASE_DEC, NULL, 0, "SET_OF_Refinement", HFILL }}, { &hf_x509if_refinement_or_item, { "Refinement", "x509if.Refinement", FT_UINT32, BASE_DEC, VALS(x509if_Refinement_vals), 0, NULL, HFILL }}, { &hf_x509if_refinement_not, { "not", "x509if.not", FT_UINT32, BASE_DEC, VALS(x509if_Refinement_vals), 0, "Refinement", HFILL }}, { &hf_x509if_ruleIdentifier, { "ruleIdentifier", "x509if.ruleIdentifier", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_nameForm, { "nameForm", "x509if.nameForm", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_superiorStructureRules, { "superiorStructureRules", "x509if.superiorStructureRules", FT_UINT32, BASE_DEC, NULL, 0, "SET_SIZE_1_MAX_OF_RuleIdentifier", HFILL }}, { &hf_x509if_superiorStructureRules_item, { "RuleIdentifier", "x509if.RuleIdentifier", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_structuralObjectClass, { "structuralObjectClass", "x509if.structuralObjectClass", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_auxiliaries, { "auxiliaries", "x509if.auxiliaries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_auxiliaries_item, { "auxiliaries item", "x509if.auxiliaries_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_mandatory, { "mandatory", "x509if.mandatory", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_mandatory_item, { "mandatory item", "x509if.mandatory_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_optional, { "optional", "x509if.optional", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_optional_item, { "optional item", "x509if.optional_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_precluded, { "precluded", "x509if.precluded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_precluded_item, { "precluded item", "x509if.precluded_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_attributeType, { "attributeType", "x509if.attributeType", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_mandatoryContexts, { "mandatoryContexts", "x509if.mandatoryContexts", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_mandatoryContexts_item, { "mandatoryContexts item", "x509if.mandatoryContexts_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_optionalContexts, { "optionalContexts", "x509if.optionalContexts", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_optionalContexts_item, { "optionalContexts item", "x509if.optionalContexts_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_id, { "id", "x509if.id", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509if_dmdId, { "dmdId", "x509if.dmdId", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_attributeType_01, { "attributeType", "x509if.attributeType", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_includeSubtypes, { "includeSubtypes", "x509if.includeSubtypes", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509if_ra_selectedValues, { "selectedValues", "x509if.selectedValues", FT_UINT32, BASE_DEC, NULL, 0, "T_ra_selectedValues", HFILL }}, { &hf_x509if_ra_selectedValues_item, { "selectedValues item", "x509if.selectedValues_item_element", FT_NONE, BASE_NONE, NULL, 0, "T_ra_selectedValues_item", HFILL }}, { &hf_x509if_defaultValues, { "defaultValues", "x509if.defaultValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_defaultValues_item, { "defaultValues item", "x509if.defaultValues_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_entryType, { "entryType", "x509if.entryType", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_ra_values, { "values", "x509if.values", FT_UINT32, BASE_DEC, NULL, 0, "T_ra_values", HFILL }}, { &hf_x509if_ra_values_item, { "values item", "x509if.values_item_element", FT_NONE, BASE_NONE, NULL, 0, "T_ra_values_item", HFILL }}, { &hf_x509if_contexts, { "contexts", "x509if.contexts", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_0_MAX_OF_ContextProfile", HFILL }}, { &hf_x509if_contexts_item, { "ContextProfile", "x509if.ContextProfile_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_contextCombination, { "contextCombination", "x509if.contextCombination", FT_UINT32, BASE_DEC, VALS(x509if_ContextCombination_vals), 0, NULL, HFILL }}, { &hf_x509if_matchingUse, { "matchingUse", "x509if.matchingUse", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_MatchingUse", HFILL }}, { &hf_x509if_matchingUse_item, { "MatchingUse", "x509if.MatchingUse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_contextType_01, { "contextType", "x509if.contextType", FT_OID, BASE_NONE, NULL, 0, "T_contextType_01", HFILL }}, { &hf_x509if_contextValue, { "contextValue", "x509if.contextValue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_contextValue_item, { "contextValue item", "x509if.contextValue_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_context, { "context", "x509if.context", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_contextcombination_and, { "and", "x509if.and", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ContextCombination", HFILL }}, { &hf_x509if_contextcombination_and_item, { "ContextCombination", "x509if.ContextCombination", FT_UINT32, BASE_DEC, VALS(x509if_ContextCombination_vals), 0, NULL, HFILL }}, { &hf_x509if_contextcombination_or, { "or", "x509if.or", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ContextCombination", HFILL }}, { &hf_x509if_contextcombination_or_item, { "ContextCombination", "x509if.ContextCombination", FT_UINT32, BASE_DEC, VALS(x509if_ContextCombination_vals), 0, NULL, HFILL }}, { &hf_x509if_contextcombination_not, { "not", "x509if.not", FT_UINT32, BASE_DEC, VALS(x509if_ContextCombination_vals), 0, "ContextCombination", HFILL }}, { &hf_x509if_restrictionType, { "restrictionType", "x509if.restrictionType", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_restrictionValue, { "restrictionValue", "x509if.restrictionValue_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_attribute, { "attribute", "x509if.attribute", FT_OID, BASE_NONE, NULL, 0, "AttributeType", HFILL }}, { &hf_x509if_and, { "and", "x509if.and", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeCombination", HFILL }}, { &hf_x509if_and_item, { "AttributeCombination", "x509if.AttributeCombination", FT_UINT32, BASE_DEC, VALS(x509if_AttributeCombination_vals), 0, NULL, HFILL }}, { &hf_x509if_or, { "or", "x509if.or", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeCombination", HFILL }}, { &hf_x509if_or_item, { "AttributeCombination", "x509if.AttributeCombination", FT_UINT32, BASE_DEC, VALS(x509if_AttributeCombination_vals), 0, NULL, HFILL }}, { &hf_x509if_not, { "not", "x509if.not", FT_UINT32, BASE_DEC, VALS(x509if_AttributeCombination_vals), 0, "AttributeCombination", HFILL }}, { &hf_x509if_attributeType_02, { "attributeType", "x509if.attributeType", FT_OID, BASE_NONE, NULL, 0, "T_attributeType_01", HFILL }}, { &hf_x509if_outputValues, { "outputValues", "x509if.outputValues", FT_UINT32, BASE_DEC, VALS(x509if_T_outputValues_vals), 0, NULL, HFILL }}, { &hf_x509if_selectedValues, { "selectedValues", "x509if.selectedValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_selectedValues_item, { "selectedValues item", "x509if.selectedValues_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_matchedValuesOnly, { "matchedValuesOnly", "x509if.matchedValuesOnly_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_contexts_01, { "contexts", "x509if.contexts", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_ContextProfile", HFILL }}, { &hf_x509if_serviceControls, { "serviceControls", "x509if.serviceControls_element", FT_NONE, BASE_NONE, NULL, 0, "ServiceControlOptions", HFILL }}, { &hf_x509if_searchOptions, { "searchOptions", "x509if.searchOptions_element", FT_NONE, BASE_NONE, NULL, 0, "SearchControlOptions", HFILL }}, { &hf_x509if_hierarchyOptions, { "hierarchyOptions", "x509if.hierarchyOptions_element", FT_NONE, BASE_NONE, NULL, 0, "HierarchySelections", HFILL }}, { &hf_x509if_default, { "default", "x509if.default", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509if_max, { "max", "x509if.max", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509if_basic, { "basic", "x509if.basic_element", FT_NONE, BASE_NONE, NULL, 0, "MRMapping", HFILL }}, { &hf_x509if_tightenings, { "tightenings", "x509if.tightenings", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_MRMapping", HFILL }}, { &hf_x509if_tightenings_item, { "MRMapping", "x509if.MRMapping_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_relaxations, { "relaxations", "x509if.relaxations", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_MRMapping", HFILL }}, { &hf_x509if_relaxations_item, { "MRMapping", "x509if.MRMapping_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_maximum_relaxation, { "maximum", "x509if.maximum", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509if_minimum_relaxation, { "minimum", "x509if.minimum", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509if_mapping, { "mapping", "x509if.mapping", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_Mapping", HFILL }}, { &hf_x509if_mapping_item, { "Mapping", "x509if.Mapping_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_substitution, { "substitution", "x509if.substitution", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_MRSubstitution", HFILL }}, { &hf_x509if_substitution_item, { "MRSubstitution", "x509if.MRSubstitution_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_mappingFunction, { "mappingFunction", "x509if.mappingFunction", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_level, { "level", "x509if.level", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509if_oldMatchingRule, { "oldMatchingRule", "x509if.oldMatchingRule", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_newMatchingRule, { "newMatchingRule", "x509if.newMatchingRule", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_base, { "base", "x509if.base", FT_UINT32, BASE_DEC, NULL, 0, "LocalName", HFILL }}, { &hf_x509if_specificExclusions, { "specificExclusions", "x509if.specificExclusions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509if_specificExclusions_item, { "specificExclusions item", "x509if.specificExclusions_item", FT_UINT32, BASE_DEC, VALS(x509if_T_specificExclusions_item_vals), 0, NULL, HFILL }}, { &hf_x509if_specificationFilter, { "specificationFilter", "x509if.specificationFilter", FT_UINT32, BASE_DEC, VALS(x509if_Refinement_vals), 0, "Refinement", HFILL }}, { &hf_x509if_serviceType, { "serviceType", "x509if.serviceType", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509if_userClass, { "userClass", "x509if.userClass", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509if_inputAttributeTypes, { "inputAttributeTypes", "x509if.inputAttributeTypes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_0_MAX_OF_RequestAttribute", HFILL }}, { &hf_x509if_inputAttributeTypes_item, { "RequestAttribute", "x509if.RequestAttribute_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_attributeCombination, { "attributeCombination", "x509if.attributeCombination", FT_UINT32, BASE_DEC, VALS(x509if_AttributeCombination_vals), 0, NULL, HFILL }}, { &hf_x509if_outputAttributeTypes, { "outputAttributeTypes", "x509if.outputAttributeTypes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_ResultAttribute", HFILL }}, { &hf_x509if_outputAttributeTypes_item, { "ResultAttribute", "x509if.ResultAttribute_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_defaultControls, { "defaultControls", "x509if.defaultControls_element", FT_NONE, BASE_NONE, NULL, 0, "ControlOptions", HFILL }}, { &hf_x509if_mandatoryControls, { "mandatoryControls", "x509if.mandatoryControls_element", FT_NONE, BASE_NONE, NULL, 0, "ControlOptions", HFILL }}, { &hf_x509if_searchRuleControls, { "searchRuleControls", "x509if.searchRuleControls_element", FT_NONE, BASE_NONE, NULL, 0, "ControlOptions", HFILL }}, { &hf_x509if_familyGrouping, { "familyGrouping", "x509if.familyGrouping_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_familyReturn, { "familyReturn", "x509if.familyReturn_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_relaxation, { "relaxation", "x509if.relaxation_element", FT_NONE, BASE_NONE, NULL, 0, "RelaxationPolicy", HFILL }}, { &hf_x509if_additionalControl, { "additionalControl", "x509if.additionalControl", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_MAX_OF_AttributeType", HFILL }}, { &hf_x509if_additionalControl_item, { "AttributeType", "x509if.AttributeType", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_allowedSubset, { "allowedSubset", "x509if.allowedSubset", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_imposedSubset, { "imposedSubset", "x509if.imposedSubset", FT_UINT32, BASE_DEC, VALS(x509if_ImposedSubset_vals), 0, NULL, HFILL }}, { &hf_x509if_entryLimit, { "entryLimit", "x509if.entryLimit_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509if_name, { "name", "x509if.name", FT_UINT32, BASE_DEC, NULL, 0, "SET_SIZE_1_MAX_OF_DirectoryString", HFILL }}, { &hf_x509if_name_item, { "DirectoryString", "x509if.DirectoryString", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, NULL, HFILL }}, { &hf_x509if_description, { "description", "x509if.description", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, "DirectoryString", HFILL }}, { &hf_x509if_AllowedSubset_baseObject, { "baseObject", "x509if.AllowedSubset.baseObject", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509if_AllowedSubset_oneLevel, { "oneLevel", "x509if.AllowedSubset.oneLevel", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509if_AllowedSubset_wholeSubtree, { "wholeSubtree", "x509if.AllowedSubset.wholeSubtree", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, }; /* List of subtrees */ static gint *ett[] = { &ett_x509if_Attribute, &ett_x509if_T_values, &ett_x509if_T_valuesWithContext, &ett_x509if_T_valuesWithContext_item, &ett_x509if_SET_SIZE_1_MAX_OF_Context, &ett_x509if_Context, &ett_x509if_T_contextValues, &ett_x509if_AttributeValueAssertion, &ett_x509if_T_assertedContexts, &ett_x509if_SET_SIZE_1_MAX_OF_ContextAssertion, &ett_x509if_ContextAssertion, &ett_x509if_T_ca_contextValues, &ett_x509if_AttributeTypeAssertion, &ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextAssertion, &ett_x509if_Name, &ett_x509if_RDNSequence, &ett_x509if_RelativeDistinguishedName, &ett_x509if_AttributeTypeAndDistinguishedValue, &ett_x509if_T_valWithContext, &ett_x509if_T_valWithContext_item, &ett_x509if_SubtreeSpecification, &ett_x509if_ChopSpecification, &ett_x509if_T_chopSpecificExclusions, &ett_x509if_T_chopSpecificExclusions_item, &ett_x509if_Refinement, &ett_x509if_SET_OF_Refinement, &ett_x509if_DITStructureRule, &ett_x509if_SET_SIZE_1_MAX_OF_RuleIdentifier, &ett_x509if_DITContentRule, &ett_x509if_T_auxiliaries, &ett_x509if_T_mandatory, &ett_x509if_T_optional, &ett_x509if_T_precluded, &ett_x509if_DITContextUse, &ett_x509if_T_mandatoryContexts, &ett_x509if_T_optionalContexts, &ett_x509if_SearchRuleDescription, &ett_x509if_SearchRule, &ett_x509if_SearchRuleId, &ett_x509if_AllowedSubset, &ett_x509if_RequestAttribute, &ett_x509if_T_ra_selectedValues, &ett_x509if_T_defaultValues, &ett_x509if_T_defaultValues_item, &ett_x509if_T_ra_values, &ett_x509if_SEQUENCE_SIZE_0_MAX_OF_ContextProfile, &ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MatchingUse, &ett_x509if_ContextProfile, &ett_x509if_T_contextValue, &ett_x509if_ContextCombination, &ett_x509if_SEQUENCE_OF_ContextCombination, &ett_x509if_MatchingUse, &ett_x509if_AttributeCombination, &ett_x509if_SEQUENCE_OF_AttributeCombination, &ett_x509if_ResultAttribute, &ett_x509if_T_outputValues, &ett_x509if_T_selectedValues, &ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ContextProfile, &ett_x509if_ControlOptions, &ett_x509if_EntryLimit, &ett_x509if_RelaxationPolicy, &ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MRMapping, &ett_x509if_MRMapping, &ett_x509if_SEQUENCE_SIZE_1_MAX_OF_Mapping, &ett_x509if_SEQUENCE_SIZE_1_MAX_OF_MRSubstitution, &ett_x509if_Mapping, &ett_x509if_MRSubstitution, &ett_x509if_T_specificExclusions, &ett_x509if_T_specificExclusions_item, &ett_x509if_SEQUENCE_SIZE_0_MAX_OF_RequestAttribute, &ett_x509if_SEQUENCE_SIZE_1_MAX_OF_ResultAttribute, &ett_x509if_SEQUENCE_SIZE_1_MAX_OF_AttributeType, &ett_x509if_SET_SIZE_1_MAX_OF_DirectoryString, }; /* Register protocol */ proto_x509if = proto_register_protocol(PNAME, PSNAME, PFNAME); /* Register fields and subtrees */ proto_register_field_array(proto_x509if, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* initialise array */ fmt_vals[0].value = 0; fmt_vals[0].strptr = NULL; } /*--- proto_reg_handoff_x509if -------------------------------------------*/ void proto_reg_handoff_x509if(void) { register_ber_oid_dissector("2.5.4.1", dissect_DistinguishedName_PDU, proto_x509if, "id-at-aliasedEntryName"); register_ber_oid_dissector("2.5.4.31", dissect_DistinguishedName_PDU, proto_x509if, "id-at-member"); register_ber_oid_dissector("2.5.4.32", dissect_DistinguishedName_PDU, proto_x509if, "id-at-owner"); register_ber_oid_dissector("2.5.4.33", dissect_DistinguishedName_PDU, proto_x509if, "id-at-roleOccupant"); register_ber_oid_dissector("2.5.4.34", dissect_DistinguishedName_PDU, proto_x509if, "id-at-seeAlso"); register_ber_oid_dissector("2.5.4.49", dissect_DistinguishedName_PDU, proto_x509if, "id-at-distinguishedName"); register_ber_oid_dissector("2.5.18.3", dissect_DistinguishedName_PDU, proto_x509if, "id-oa-creatorsName"); register_ber_oid_dissector("2.5.18.4", dissect_DistinguishedName_PDU, proto_x509if, "id-oa-modifiersName"); register_ber_oid_dissector("2.5.18.6", dissect_SubtreeSpecification_PDU, proto_x509if, "id-oa-subtreeSpecification"); register_ber_oid_dissector("2.5.18.10", dissect_DistinguishedName_PDU, proto_x509if, "id-oa-subschemaSubentry"); register_ber_oid_dissector("2.5.18.11", dissect_DistinguishedName_PDU, proto_x509if, "id-oa-accessControlSubentry"); register_ber_oid_dissector("2.5.18.12", dissect_DistinguishedName_PDU, proto_x509if, "id-oa-collectiveAttributeSubentry"); register_ber_oid_dissector("2.5.18.13", dissect_DistinguishedName_PDU, proto_x509if, "id-oa-contextDefaultSubentry"); register_ber_oid_dissector("2.5.18.17", dissect_HierarchyLevel_PDU, proto_x509if, "id-oa-hierarchyLevel"); register_ber_oid_dissector("2.5.18.18", dissect_HierarchyBelow_PDU, proto_x509if, "iid-oa-hierarchyBelow"); register_ber_oid_dissector("2.6.5.2.5", dissect_DistinguishedName_PDU, proto_x509if, "id-at-mhs-message-store-dn"); register_ber_oid_dissector("2.6.5.2.14", dissect_DistinguishedName_PDU, proto_x509if, "id-at-mhs-dl-related-lists"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.3", dissect_DistinguishedName_PDU, proto_x509if, "id-at-alternateRecipient"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.4", dissect_DistinguishedName_PDU, proto_x509if, "id-at-associatedOrganization"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.6", dissect_DistinguishedName_PDU, proto_x509if, "id-at-associatedPLA"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.49", dissect_DistinguishedName_PDU, proto_x509if, "id-at-aliasPointer"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.61", dissect_DistinguishedName_PDU, proto_x509if, "id-at-listPointer"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.110", dissect_DistinguishedName_PDU, proto_x509if, "id-at-administrator"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.111", dissect_DistinguishedName_PDU, proto_x509if, "id-at-aigsExpanded"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.113", dissect_DistinguishedName_PDU, proto_x509if, "id-at-associatedAL"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.114", dissect_DistinguishedName_PDU, proto_x509if, "id-at-copyMember"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.117", dissect_DistinguishedName_PDU, proto_x509if, "id-at-guard"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.121", dissect_DistinguishedName_PDU, proto_x509if, "id-at-networkDN"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.138", dissect_DistinguishedName_PDU, proto_x509if, "id-at-plasServed"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.139", dissect_DistinguishedName_PDU, proto_x509if, "id-at-deployed"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.140", dissect_DistinguishedName_PDU, proto_x509if, "id-at-garrison"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.184", dissect_DistinguishedName_PDU, proto_x509if, "id-at-aCPDutyOfficer"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.188", dissect_DistinguishedName_PDU, proto_x509if, "id-at-primaryMember"); }
C/C++
wireshark/epan/dissectors/packet-x509if.h
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x509if.h */ /* asn2wrs.py -b -L -p x509if -c ./x509if.cnf -s ./packet-x509if-template -D . -O ../.. InformationFramework.asn ServiceAdministration.asn */ /* packet-x509if.h * Routines for X.509 Information Framework packet dissection * Ronnie Sahlberg 2004 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_X509IF_H #define PACKET_X509IF_H extern const value_string x509if_Name_vals[]; extern const value_string x509if_Refinement_vals[]; extern const value_string x509if_AttributeUsage_vals[]; extern const value_string x509if_ImposedSubset_vals[]; extern const value_string x509if_ContextCombination_vals[]; extern const value_string x509if_AttributeCombination_vals[]; int dissect_x509if_Attribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_AttributeType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_AttributeValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_Context(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_AttributeValueAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_ContextAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_AttributeTypeAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_Name(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_RDNSequence(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_DistinguishedName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_RelativeDistinguishedName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_AttributeTypeAndDistinguishedValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_SubtreeSpecification(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_LocalName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_ChopSpecification(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_Refinement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_AttributeUsage(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_DITStructureRule(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_RuleIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_DITContentRule(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_DITContextUse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_SearchRuleDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_SearchRule(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_SearchRuleId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_AllowedSubset(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_ImposedSubset(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_RequestAttribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_ContextProfile(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_ContextCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_MatchingUse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_AttributeCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_ResultAttribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_ControlOptions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_EntryLimit(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_RelaxationPolicy(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_MRMapping(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_Mapping(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509if_MRSubstitution(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); extern const char * x509if_get_last_dn(void); extern gboolean x509if_register_fmt(int hf_index, const gchar *fmt); extern const char * x509if_get_last_ava(void); #endif /* PACKET_X509IF_H */
C
wireshark/epan/dissectors/packet-x509sat.c
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x509sat.c */ /* asn2wrs.py -b -r Syntax -L -p x509sat -c ./x509sat.cnf -s ./packet-x509sat-template -D . -O ../.. SelectedAttributeTypes.asn */ /* packet-x509sat.c * Routines for X.509 Selected Attribute Types packet dissection * Ronnie Sahlberg 2004 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/oids.h> #include <epan/asn1.h> #include <epan/strutil.h> #include "packet-ber.h" #include "packet-p1.h" #include "packet-x509sat.h" #include "packet-x509if.h" #define PNAME "X.509 Selected Attribute Types" #define PSNAME "X509SAT" #define PFNAME "x509sat" void proto_register_x509sat(void); void proto_reg_handoff_x509sat(void); /* Initialize the protocol and registered fields */ static int proto_x509sat = -1; static int hf_x509sat_DirectoryString_PDU = -1; /* DirectoryString */ static int hf_x509sat_UniqueIdentifier_PDU = -1; /* UniqueIdentifier */ static int hf_x509sat_CountryName_PDU = -1; /* CountryName */ static int hf_x509sat_Guide_PDU = -1; /* Guide */ static int hf_x509sat_EnhancedGuide_PDU = -1; /* EnhancedGuide */ static int hf_x509sat_PostalAddress_PDU = -1; /* PostalAddress */ static int hf_x509sat_TelephoneNumber_PDU = -1; /* TelephoneNumber */ static int hf_x509sat_TelexNumber_PDU = -1; /* TelexNumber */ static int hf_x509sat_FacsimileTelephoneNumber_PDU = -1; /* FacsimileTelephoneNumber */ static int hf_x509sat_X121Address_PDU = -1; /* X121Address */ static int hf_x509sat_InternationalISDNNumber_PDU = -1; /* InternationalISDNNumber */ static int hf_x509sat_DestinationIndicator_PDU = -1; /* DestinationIndicator */ static int hf_x509sat_PreferredDeliveryMethod_PDU = -1; /* PreferredDeliveryMethod */ static int hf_x509sat_PresentationAddress_PDU = -1; /* PresentationAddress */ static int hf_x509sat_ProtocolInformation_PDU = -1; /* ProtocolInformation */ static int hf_x509sat_NameAndOptionalUID_PDU = -1; /* NameAndOptionalUID */ static int hf_x509sat_CaseIgnoreListMatch_PDU = -1; /* CaseIgnoreListMatch */ static int hf_x509sat_ObjectIdentifier_PDU = -1; /* ObjectIdentifier */ static int hf_x509sat_OctetString_PDU = -1; /* OctetString */ static int hf_x509sat_BitString_PDU = -1; /* BitString */ static int hf_x509sat_Integer_PDU = -1; /* Integer */ static int hf_x509sat_Boolean_PDU = -1; /* Boolean */ static int hf_x509sat_SyntaxGeneralizedTime_PDU = -1; /* SyntaxGeneralizedTime */ static int hf_x509sat_SyntaxUTCTime_PDU = -1; /* SyntaxUTCTime */ static int hf_x509sat_SyntaxNumericString_PDU = -1; /* SyntaxNumericString */ static int hf_x509sat_SyntaxPrintableString_PDU = -1; /* SyntaxPrintableString */ static int hf_x509sat_SyntaxIA5String_PDU = -1; /* SyntaxIA5String */ static int hf_x509sat_SyntaxBMPString_PDU = -1; /* SyntaxBMPString */ static int hf_x509sat_SyntaxUniversalString_PDU = -1; /* SyntaxUniversalString */ static int hf_x509sat_SyntaxUTF8String_PDU = -1; /* SyntaxUTF8String */ static int hf_x509sat_SyntaxTeletexString_PDU = -1; /* SyntaxTeletexString */ static int hf_x509sat_SyntaxT61String_PDU = -1; /* SyntaxT61String */ static int hf_x509sat_SyntaxVideotexString_PDU = -1; /* SyntaxVideotexString */ static int hf_x509sat_SyntaxGraphicString_PDU = -1; /* SyntaxGraphicString */ static int hf_x509sat_SyntaxISO646String_PDU = -1; /* SyntaxISO646String */ static int hf_x509sat_SyntaxVisibleString_PDU = -1; /* SyntaxVisibleString */ static int hf_x509sat_SyntaxGeneralString_PDU = -1; /* SyntaxGeneralString */ static int hf_x509sat_GUID_PDU = -1; /* GUID */ static int hf_x509sat_teletexString = -1; /* TeletexString */ static int hf_x509sat_printableString = -1; /* PrintableString */ static int hf_x509sat_universalString = -1; /* UniversalString */ static int hf_x509sat_bmpString = -1; /* BMPString */ static int hf_x509sat_uTF8String = -1; /* UTF8String */ static int hf_x509sat_objectClass = -1; /* OBJECT_IDENTIFIER */ static int hf_x509sat_criteria = -1; /* Criteria */ static int hf_x509sat_type = -1; /* CriteriaItem */ static int hf_x509sat_and = -1; /* SET_OF_Criteria */ static int hf_x509sat_and_item = -1; /* Criteria */ static int hf_x509sat_or = -1; /* SET_OF_Criteria */ static int hf_x509sat_or_item = -1; /* Criteria */ static int hf_x509sat_not = -1; /* Criteria */ static int hf_x509sat_equality = -1; /* AttributeType */ static int hf_x509sat_substrings = -1; /* AttributeType */ static int hf_x509sat_greaterOrEqual = -1; /* AttributeType */ static int hf_x509sat_lessOrEqual = -1; /* AttributeType */ static int hf_x509sat_approximateMatch = -1; /* AttributeType */ static int hf_x509sat_subset = -1; /* T_subset */ static int hf_x509sat_PostalAddress_item = -1; /* DirectoryString */ static int hf_x509sat_telexNumber = -1; /* PrintableString */ static int hf_x509sat_countryCode = -1; /* PrintableString */ static int hf_x509sat_answerback = -1; /* PrintableString */ static int hf_x509sat_telephoneNumber = -1; /* TelephoneNumber */ static int hf_x509sat_parameters = -1; /* G3FacsimileNonBasicParameters */ static int hf_x509sat_PreferredDeliveryMethod_item = -1; /* PreferredDeliveryMethod_item */ static int hf_x509sat_pSelector = -1; /* OCTET_STRING */ static int hf_x509sat_sSelector = -1; /* OCTET_STRING */ static int hf_x509sat_tSelector = -1; /* OCTET_STRING */ static int hf_x509sat_nAddresses = -1; /* T_nAddresses */ static int hf_x509sat_nAddresses_item = -1; /* OCTET_STRING */ static int hf_x509sat_nAddress = -1; /* OCTET_STRING */ static int hf_x509sat_profiles = -1; /* T_profiles */ static int hf_x509sat_profiles_item = -1; /* OBJECT_IDENTIFIER */ static int hf_x509sat_dn = -1; /* DistinguishedName */ static int hf_x509sat_uid = -1; /* UniqueIdentifier */ static int hf_x509sat_matchingRuleUsed = -1; /* OBJECT_IDENTIFIER */ static int hf_x509sat_attributeList = -1; /* SEQUENCE_OF_AttributeValueAssertion */ static int hf_x509sat_attributeList_item = -1; /* AttributeValueAssertion */ static int hf_x509sat_SubstringAssertion_item = -1; /* SubstringAssertion_item */ static int hf_x509sat_initial = -1; /* DirectoryString */ static int hf_x509sat_any = -1; /* DirectoryString */ static int hf_x509sat_final = -1; /* DirectoryString */ static int hf_x509sat_control = -1; /* Attribute */ static int hf_x509sat_CaseIgnoreListMatch_item = -1; /* DirectoryString */ static int hf_x509sat_OctetSubstringAssertion_item = -1; /* OctetSubstringAssertion_item */ static int hf_x509sat_initial_substring = -1; /* OCTET_STRING */ static int hf_x509sat_any_substring = -1; /* OCTET_STRING */ static int hf_x509sat_finall_substring = -1; /* OCTET_STRING */ static int hf_x509sat_ZonalSelect_item = -1; /* AttributeType */ static int hf_x509sat_time = -1; /* T_time */ static int hf_x509sat_absolute = -1; /* T_absolute */ static int hf_x509sat_startTime = -1; /* GeneralizedTime */ static int hf_x509sat_endTime = -1; /* GeneralizedTime */ static int hf_x509sat_periodic = -1; /* SET_OF_Period */ static int hf_x509sat_periodic_item = -1; /* Period */ static int hf_x509sat_notThisTime = -1; /* BOOLEAN */ static int hf_x509sat_timeZone = -1; /* TimeZone */ static int hf_x509sat_timesOfDay = -1; /* SET_OF_DayTimeBand */ static int hf_x509sat_timesOfDay_item = -1; /* DayTimeBand */ static int hf_x509sat_days = -1; /* T_days */ static int hf_x509sat_intDay = -1; /* T_intDay */ static int hf_x509sat_intDay_item = -1; /* INTEGER */ static int hf_x509sat_bitDay = -1; /* T_bitDay */ static int hf_x509sat_dayOf = -1; /* XDayOf */ static int hf_x509sat_weeks = -1; /* T_weeks */ static int hf_x509sat_allWeeks = -1; /* NULL */ static int hf_x509sat_intWeek = -1; /* T_intWeek */ static int hf_x509sat_intWeek_item = -1; /* INTEGER */ static int hf_x509sat_bitWeek = -1; /* T_bitWeek */ static int hf_x509sat_months = -1; /* T_months */ static int hf_x509sat_allMonths = -1; /* NULL */ static int hf_x509sat_intMonth = -1; /* T_intMonth */ static int hf_x509sat_intMonth_item = -1; /* INTEGER */ static int hf_x509sat_bitMonth = -1; /* T_bitMonth */ static int hf_x509sat_years = -1; /* T_years */ static int hf_x509sat_years_item = -1; /* INTEGER */ static int hf_x509sat_first_dayof = -1; /* NamedDay */ static int hf_x509sat_second_dayof = -1; /* NamedDay */ static int hf_x509sat_third_dayof = -1; /* NamedDay */ static int hf_x509sat_fourth_dayof = -1; /* NamedDay */ static int hf_x509sat_fifth_dayof = -1; /* NamedDay */ static int hf_x509sat_intNamedDays = -1; /* T_intNamedDays */ static int hf_x509sat_bitNamedDays = -1; /* T_bitNamedDays */ static int hf_x509sat_startDayTime = -1; /* DayTime */ static int hf_x509sat_endDayTime = -1; /* DayTime */ static int hf_x509sat_hour = -1; /* INTEGER */ static int hf_x509sat_minute = -1; /* INTEGER */ static int hf_x509sat_second = -1; /* INTEGER */ static int hf_x509sat_now = -1; /* NULL */ static int hf_x509sat_at = -1; /* GeneralizedTime */ static int hf_x509sat_between = -1; /* T_between */ static int hf_x509sat_entirely = -1; /* BOOLEAN */ static int hf_x509sat_localeID1 = -1; /* OBJECT_IDENTIFIER */ static int hf_x509sat_localeID2 = -1; /* DirectoryString */ /* named bits */ static int hf_x509sat_T_bitDay_sunday = -1; static int hf_x509sat_T_bitDay_monday = -1; static int hf_x509sat_T_bitDay_tuesday = -1; static int hf_x509sat_T_bitDay_wednesday = -1; static int hf_x509sat_T_bitDay_thursday = -1; static int hf_x509sat_T_bitDay_friday = -1; static int hf_x509sat_T_bitDay_saturday = -1; static int hf_x509sat_T_bitWeek_week1 = -1; static int hf_x509sat_T_bitWeek_week2 = -1; static int hf_x509sat_T_bitWeek_week3 = -1; static int hf_x509sat_T_bitWeek_week4 = -1; static int hf_x509sat_T_bitWeek_week5 = -1; static int hf_x509sat_T_bitMonth_january = -1; static int hf_x509sat_T_bitMonth_february = -1; static int hf_x509sat_T_bitMonth_march = -1; static int hf_x509sat_T_bitMonth_april = -1; static int hf_x509sat_T_bitMonth_may = -1; static int hf_x509sat_T_bitMonth_june = -1; static int hf_x509sat_T_bitMonth_july = -1; static int hf_x509sat_T_bitMonth_august = -1; static int hf_x509sat_T_bitMonth_september = -1; static int hf_x509sat_T_bitMonth_october = -1; static int hf_x509sat_T_bitMonth_november = -1; static int hf_x509sat_T_bitMonth_december = -1; static int hf_x509sat_T_bitNamedDays_sunday = -1; static int hf_x509sat_T_bitNamedDays_monday = -1; static int hf_x509sat_T_bitNamedDays_tuesday = -1; static int hf_x509sat_T_bitNamedDays_wednesday = -1; static int hf_x509sat_T_bitNamedDays_thursday = -1; static int hf_x509sat_T_bitNamedDays_friday = -1; static int hf_x509sat_T_bitNamedDays_saturday = -1; /* Initialize the subtree pointers */ static gint ett_x509sat_DirectoryString = -1; static gint ett_x509sat_Guide = -1; static gint ett_x509sat_Criteria = -1; static gint ett_x509sat_SET_OF_Criteria = -1; static gint ett_x509sat_CriteriaItem = -1; static gint ett_x509sat_EnhancedGuide = -1; static gint ett_x509sat_PostalAddress = -1; static gint ett_x509sat_TelexNumber = -1; static gint ett_x509sat_FacsimileTelephoneNumber = -1; static gint ett_x509sat_PreferredDeliveryMethod = -1; static gint ett_x509sat_PresentationAddress = -1; static gint ett_x509sat_T_nAddresses = -1; static gint ett_x509sat_ProtocolInformation = -1; static gint ett_x509sat_T_profiles = -1; static gint ett_x509sat_NameAndOptionalUID = -1; static gint ett_x509sat_MultipleMatchingLocalities = -1; static gint ett_x509sat_SEQUENCE_OF_AttributeValueAssertion = -1; static gint ett_x509sat_SubstringAssertion = -1; static gint ett_x509sat_SubstringAssertion_item = -1; static gint ett_x509sat_CaseIgnoreListMatch = -1; static gint ett_x509sat_OctetSubstringAssertion = -1; static gint ett_x509sat_OctetSubstringAssertion_item = -1; static gint ett_x509sat_ZonalSelect = -1; static gint ett_x509sat_TimeSpecification = -1; static gint ett_x509sat_T_time = -1; static gint ett_x509sat_T_absolute = -1; static gint ett_x509sat_SET_OF_Period = -1; static gint ett_x509sat_Period = -1; static gint ett_x509sat_SET_OF_DayTimeBand = -1; static gint ett_x509sat_T_days = -1; static gint ett_x509sat_T_intDay = -1; static gint ett_x509sat_T_bitDay = -1; static gint ett_x509sat_T_weeks = -1; static gint ett_x509sat_T_intWeek = -1; static gint ett_x509sat_T_bitWeek = -1; static gint ett_x509sat_T_months = -1; static gint ett_x509sat_T_intMonth = -1; static gint ett_x509sat_T_bitMonth = -1; static gint ett_x509sat_T_years = -1; static gint ett_x509sat_XDayOf = -1; static gint ett_x509sat_NamedDay = -1; static gint ett_x509sat_T_bitNamedDays = -1; static gint ett_x509sat_DayTimeBand = -1; static gint ett_x509sat_DayTime = -1; static gint ett_x509sat_TimeAssertion = -1; static gint ett_x509sat_T_between = -1; static gint ett_x509sat_LocaleContextSyntax = -1; /*--- Cyclic dependencies ---*/ /* Criteria -> Criteria/and -> Criteria */ /* Criteria -> Criteria */ /*int dissect_x509sat_Criteria(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);*/ static int dissect_x509sat_TeletexString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_TeletexString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_PrintableString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_UniversalString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UniversalString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_BMPString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_BMPString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_UTF8String(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UTF8String, actx, tree, tvb, offset, hf_index, NULL); return offset; } const value_string x509sat_DirectoryString_vals[] = { { 0, "teletexString" }, { 1, "printableString" }, { 2, "universalString" }, { 3, "bmpString" }, { 4, "uTF8String" }, { 0, NULL } }; static const ber_choice_t DirectoryString_choice[] = { { 0, &hf_x509sat_teletexString, BER_CLASS_UNI, BER_UNI_TAG_TeletexString, BER_FLAGS_NOOWNTAG, dissect_x509sat_TeletexString }, { 1, &hf_x509sat_printableString, BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_x509sat_PrintableString }, { 2, &hf_x509sat_universalString, BER_CLASS_UNI, BER_UNI_TAG_UniversalString, BER_FLAGS_NOOWNTAG, dissect_x509sat_UniversalString }, { 3, &hf_x509sat_bmpString , BER_CLASS_UNI, BER_UNI_TAG_BMPString, BER_FLAGS_NOOWNTAG, dissect_x509sat_BMPString }, { 4, &hf_x509sat_uTF8String , BER_CLASS_UNI, BER_UNI_TAG_UTF8String, BER_FLAGS_NOOWNTAG, dissect_x509sat_UTF8String }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509sat_DirectoryString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, DirectoryString_choice, hf_index, ett_x509sat_DirectoryString, NULL); return offset; } int dissect_x509sat_UniqueIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, NULL, 0, hf_index, -1, NULL); return offset; } int dissect_x509sat_CountryName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_OBJECT_IDENTIFIER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string x509sat_CriteriaItem_vals[] = { { 0, "equality" }, { 1, "substrings" }, { 2, "greaterOrEqual" }, { 3, "lessOrEqual" }, { 4, "approximateMatch" }, { 0, NULL } }; static const ber_choice_t CriteriaItem_choice[] = { { 0, &hf_x509sat_equality , BER_CLASS_CON, 0, 0, dissect_x509if_AttributeType }, { 1, &hf_x509sat_substrings , BER_CLASS_CON, 1, 0, dissect_x509if_AttributeType }, { 2, &hf_x509sat_greaterOrEqual, BER_CLASS_CON, 2, 0, dissect_x509if_AttributeType }, { 3, &hf_x509sat_lessOrEqual , BER_CLASS_CON, 3, 0, dissect_x509if_AttributeType }, { 4, &hf_x509sat_approximateMatch, BER_CLASS_CON, 4, 0, dissect_x509if_AttributeType }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_CriteriaItem(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, CriteriaItem_choice, hf_index, ett_x509sat_CriteriaItem, NULL); return offset; } static const ber_sequence_t SET_OF_Criteria_set_of[1] = { { &hf_x509sat_and_item , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509sat_Criteria }, }; static int dissect_x509sat_SET_OF_Criteria(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_OF_Criteria_set_of, hf_index, ett_x509sat_SET_OF_Criteria); return offset; } const value_string x509sat_Criteria_vals[] = { { 0, "type" }, { 1, "and" }, { 2, "or" }, { 3, "not" }, { 0, NULL } }; static const ber_choice_t Criteria_choice[] = { { 0, &hf_x509sat_type , BER_CLASS_CON, 0, 0, dissect_x509sat_CriteriaItem }, { 1, &hf_x509sat_and , BER_CLASS_CON, 1, 0, dissect_x509sat_SET_OF_Criteria }, { 2, &hf_x509sat_or , BER_CLASS_CON, 2, 0, dissect_x509sat_SET_OF_Criteria }, { 3, &hf_x509sat_not , BER_CLASS_CON, 3, 0, dissect_x509sat_Criteria }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509sat_Criteria(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Criteria_choice, hf_index, ett_x509sat_Criteria, NULL); return offset; } static const ber_sequence_t Guide_set[] = { { &hf_x509sat_objectClass , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509sat_OBJECT_IDENTIFIER }, { &hf_x509sat_criteria , BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_x509sat_Criteria }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_Guide(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset, Guide_set, hf_index, ett_x509sat_Guide); return offset; } static const value_string x509sat_T_subset_vals[] = { { 0, "baseObject" }, { 1, "oneLevel" }, { 2, "wholeSubtree" }, { 0, NULL } }; static int dissect_x509sat_T_subset(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t EnhancedGuide_sequence[] = { { &hf_x509sat_objectClass , BER_CLASS_CON, 0, 0, dissect_x509sat_OBJECT_IDENTIFIER }, { &hf_x509sat_criteria , BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_x509sat_Criteria }, { &hf_x509sat_subset , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509sat_T_subset }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_EnhancedGuide(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EnhancedGuide_sequence, hf_index, ett_x509sat_EnhancedGuide); return offset; } static const ber_sequence_t PostalAddress_sequence_of[1] = { { &hf_x509sat_PostalAddress_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509sat_DirectoryString }, }; int dissect_x509sat_PostalAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, PostalAddress_sequence_of, hf_index, ett_x509sat_PostalAddress); return offset; } static int dissect_x509sat_TelephoneNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t TelexNumber_sequence[] = { { &hf_x509sat_telexNumber , BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_x509sat_PrintableString }, { &hf_x509sat_countryCode , BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_x509sat_PrintableString }, { &hf_x509sat_answerback , BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_x509sat_PrintableString }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_TelexNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TelexNumber_sequence, hf_index, ett_x509sat_TelexNumber); return offset; } static const ber_sequence_t FacsimileTelephoneNumber_sequence[] = { { &hf_x509sat_telephoneNumber, BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_x509sat_TelephoneNumber }, { &hf_x509sat_parameters , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_p1_G3FacsimileNonBasicParameters }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_FacsimileTelephoneNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, FacsimileTelephoneNumber_sequence, hf_index, ett_x509sat_FacsimileTelephoneNumber); return offset; } int dissect_x509sat_X121Address(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_NumericString, actx, tree, tvb, offset, hf_index, NULL); return offset; } int dissect_x509sat_InternationalISDNNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_NumericString, actx, tree, tvb, offset, hf_index, NULL); return offset; } int dissect_x509sat_DestinationIndicator(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string x509sat_PreferredDeliveryMethod_item_vals[] = { { 0, "any-delivery-method" }, { 1, "mhs-delivery" }, { 2, "physical-delivery" }, { 3, "telex-delivery" }, { 4, "teletex-delivery" }, { 5, "g3-facsimile-delivery" }, { 6, "g4-facsimile-delivery" }, { 7, "ia5-terminal-delivery" }, { 8, "videotex-delivery" }, { 9, "telephone-delivery" }, { 0, NULL } }; static int dissect_x509sat_PreferredDeliveryMethod_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t PreferredDeliveryMethod_sequence_of[1] = { { &hf_x509sat_PreferredDeliveryMethod_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509sat_PreferredDeliveryMethod_item }, }; int dissect_x509sat_PreferredDeliveryMethod(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, PreferredDeliveryMethod_sequence_of, hf_index, ett_x509sat_PreferredDeliveryMethod); return offset; } static int dissect_x509sat_OCTET_STRING(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_nAddresses_set_of[1] = { { &hf_x509sat_nAddresses_item, BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_x509sat_OCTET_STRING }, }; static int dissect_x509sat_T_nAddresses(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_nAddresses_set_of, hf_index, ett_x509sat_T_nAddresses); return offset; } static const ber_sequence_t PresentationAddress_sequence[] = { { &hf_x509sat_pSelector , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509sat_OCTET_STRING }, { &hf_x509sat_sSelector , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509sat_OCTET_STRING }, { &hf_x509sat_tSelector , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509sat_OCTET_STRING }, { &hf_x509sat_nAddresses , BER_CLASS_CON, 3, 0, dissect_x509sat_T_nAddresses }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_PresentationAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PresentationAddress_sequence, hf_index, ett_x509sat_PresentationAddress); return offset; } static const ber_sequence_t T_profiles_set_of[1] = { { &hf_x509sat_profiles_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509sat_OBJECT_IDENTIFIER }, }; static int dissect_x509sat_T_profiles(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_profiles_set_of, hf_index, ett_x509sat_T_profiles); return offset; } static const ber_sequence_t ProtocolInformation_sequence[] = { { &hf_x509sat_nAddress , BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_x509sat_OCTET_STRING }, { &hf_x509sat_profiles , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_profiles }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_ProtocolInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ProtocolInformation_sequence, hf_index, ett_x509sat_ProtocolInformation); return offset; } static const ber_sequence_t NameAndOptionalUID_sequence[] = { { &hf_x509sat_dn , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_DistinguishedName }, { &hf_x509sat_uid , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509sat_UniqueIdentifier }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_NameAndOptionalUID(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, NameAndOptionalUID_sequence, hf_index, ett_x509sat_NameAndOptionalUID); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeValueAssertion_sequence_of[1] = { { &hf_x509sat_attributeList_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeValueAssertion }, }; static int dissect_x509sat_SEQUENCE_OF_AttributeValueAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeValueAssertion_sequence_of, hf_index, ett_x509sat_SEQUENCE_OF_AttributeValueAssertion); return offset; } static const ber_sequence_t MultipleMatchingLocalities_sequence[] = { { &hf_x509sat_matchingRuleUsed, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509sat_OBJECT_IDENTIFIER }, { &hf_x509sat_attributeList, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509sat_SEQUENCE_OF_AttributeValueAssertion }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_MultipleMatchingLocalities(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, MultipleMatchingLocalities_sequence, hf_index, ett_x509sat_MultipleMatchingLocalities); return offset; } static const value_string x509sat_SubstringAssertion_item_vals[] = { { 0, "initial" }, { 1, "any" }, { 2, "final" }, { 3, "control" }, { 0, NULL } }; static const ber_choice_t SubstringAssertion_item_choice[] = { { 0, &hf_x509sat_initial , BER_CLASS_CON, 0, 0, dissect_x509sat_DirectoryString }, { 1, &hf_x509sat_any , BER_CLASS_CON, 1, 0, dissect_x509sat_DirectoryString }, { 2, &hf_x509sat_final , BER_CLASS_CON, 2, 0, dissect_x509sat_DirectoryString }, { 3, &hf_x509sat_control , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_Attribute }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_SubstringAssertion_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, SubstringAssertion_item_choice, hf_index, ett_x509sat_SubstringAssertion_item, NULL); return offset; } static const ber_sequence_t SubstringAssertion_sequence_of[1] = { { &hf_x509sat_SubstringAssertion_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509sat_SubstringAssertion_item }, }; int dissect_x509sat_SubstringAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SubstringAssertion_sequence_of, hf_index, ett_x509sat_SubstringAssertion); return offset; } static const ber_sequence_t CaseIgnoreListMatch_sequence_of[1] = { { &hf_x509sat_CaseIgnoreListMatch_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509sat_DirectoryString }, }; int dissect_x509sat_CaseIgnoreListMatch(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, CaseIgnoreListMatch_sequence_of, hf_index, ett_x509sat_CaseIgnoreListMatch); return offset; } static const value_string x509sat_OctetSubstringAssertion_item_vals[] = { { 0, "initial" }, { 1, "any" }, { 2, "final" }, { 0, NULL } }; static const ber_choice_t OctetSubstringAssertion_item_choice[] = { { 0, &hf_x509sat_initial_substring, BER_CLASS_CON, 0, 0, dissect_x509sat_OCTET_STRING }, { 1, &hf_x509sat_any_substring, BER_CLASS_CON, 1, 0, dissect_x509sat_OCTET_STRING }, { 2, &hf_x509sat_finall_substring, BER_CLASS_CON, 2, 0, dissect_x509sat_OCTET_STRING }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_OctetSubstringAssertion_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, OctetSubstringAssertion_item_choice, hf_index, ett_x509sat_OctetSubstringAssertion_item, NULL); return offset; } static const ber_sequence_t OctetSubstringAssertion_sequence_of[1] = { { &hf_x509sat_OctetSubstringAssertion_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509sat_OctetSubstringAssertion_item }, }; int dissect_x509sat_OctetSubstringAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, OctetSubstringAssertion_sequence_of, hf_index, ett_x509sat_OctetSubstringAssertion); return offset; } static const ber_sequence_t ZonalSelect_sequence_of[1] = { { &hf_x509sat_ZonalSelect_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeType }, }; int dissect_x509sat_ZonalSelect(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, ZonalSelect_sequence_of, hf_index, ett_x509sat_ZonalSelect); return offset; } const value_string x509sat_ZonalResult_vals[] = { { 0, "cannot-select-mapping" }, { 2, "zero-mappings" }, { 3, "multiple-mappings" }, { 0, NULL } }; int dissect_x509sat_ZonalResult(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } int dissect_x509sat_LanguageContextSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_GeneralizedTime(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_GeneralizedTime(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } static const ber_sequence_t T_absolute_sequence[] = { { &hf_x509sat_startTime , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509sat_GeneralizedTime }, { &hf_x509sat_endTime , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509sat_GeneralizedTime }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_T_absolute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_absolute_sequence, hf_index, ett_x509sat_T_absolute); return offset; } static int dissect_x509sat_INTEGER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t DayTime_sequence[] = { { &hf_x509sat_hour , BER_CLASS_CON, 0, 0, dissect_x509sat_INTEGER }, { &hf_x509sat_minute , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509sat_INTEGER }, { &hf_x509sat_second , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509sat_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_DayTime(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DayTime_sequence, hf_index, ett_x509sat_DayTime); return offset; } static const ber_sequence_t DayTimeBand_sequence[] = { { &hf_x509sat_startDayTime, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509sat_DayTime }, { &hf_x509sat_endDayTime , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509sat_DayTime }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_DayTimeBand(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DayTimeBand_sequence, hf_index, ett_x509sat_DayTimeBand); return offset; } static const ber_sequence_t SET_OF_DayTimeBand_set_of[1] = { { &hf_x509sat_timesOfDay_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509sat_DayTimeBand }, }; static int dissect_x509sat_SET_OF_DayTimeBand(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_OF_DayTimeBand_set_of, hf_index, ett_x509sat_SET_OF_DayTimeBand); return offset; } static const ber_sequence_t T_intDay_set_of[1] = { { &hf_x509sat_intDay_item , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509sat_INTEGER }, }; static int dissect_x509sat_T_intDay(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_intDay_set_of, hf_index, ett_x509sat_T_intDay); return offset; } static int * const T_bitDay_bits[] = { &hf_x509sat_T_bitDay_sunday, &hf_x509sat_T_bitDay_monday, &hf_x509sat_T_bitDay_tuesday, &hf_x509sat_T_bitDay_wednesday, &hf_x509sat_T_bitDay_thursday, &hf_x509sat_T_bitDay_friday, &hf_x509sat_T_bitDay_saturday, NULL }; static int dissect_x509sat_T_bitDay(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, T_bitDay_bits, 7, hf_index, ett_x509sat_T_bitDay, NULL); return offset; } static const value_string x509sat_T_intNamedDays_vals[] = { { 1, "sunday" }, { 2, "monday" }, { 3, "tuesday" }, { 4, "wednesday" }, { 5, "thursday" }, { 6, "friday" }, { 7, "saturday" }, { 0, NULL } }; static int dissect_x509sat_T_intNamedDays(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int * const T_bitNamedDays_bits[] = { &hf_x509sat_T_bitNamedDays_sunday, &hf_x509sat_T_bitNamedDays_monday, &hf_x509sat_T_bitNamedDays_tuesday, &hf_x509sat_T_bitNamedDays_wednesday, &hf_x509sat_T_bitNamedDays_thursday, &hf_x509sat_T_bitNamedDays_friday, &hf_x509sat_T_bitNamedDays_saturday, NULL }; static int dissect_x509sat_T_bitNamedDays(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, T_bitNamedDays_bits, 7, hf_index, ett_x509sat_T_bitNamedDays, NULL); return offset; } const value_string x509sat_NamedDay_vals[] = { { 0, "intNamedDays" }, { 1, "bitNamedDays" }, { 0, NULL } }; static const ber_choice_t NamedDay_choice[] = { { 0, &hf_x509sat_intNamedDays, BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_intNamedDays }, { 1, &hf_x509sat_bitNamedDays, BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_bitNamedDays }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509sat_NamedDay(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, NamedDay_choice, hf_index, ett_x509sat_NamedDay, NULL); return offset; } const value_string x509sat_XDayOf_vals[] = { { 1, "first" }, { 2, "second" }, { 3, "third" }, { 4, "fourth" }, { 5, "fifth" }, { 0, NULL } }; static const ber_choice_t XDayOf_choice[] = { { 1, &hf_x509sat_first_dayof , BER_CLASS_CON, 1, 0, dissect_x509sat_NamedDay }, { 2, &hf_x509sat_second_dayof, BER_CLASS_CON, 2, 0, dissect_x509sat_NamedDay }, { 3, &hf_x509sat_third_dayof , BER_CLASS_CON, 3, 0, dissect_x509sat_NamedDay }, { 4, &hf_x509sat_fourth_dayof, BER_CLASS_CON, 4, 0, dissect_x509sat_NamedDay }, { 5, &hf_x509sat_fifth_dayof , BER_CLASS_CON, 5, 0, dissect_x509sat_NamedDay }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509sat_XDayOf(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, XDayOf_choice, hf_index, ett_x509sat_XDayOf, NULL); return offset; } static const value_string x509sat_T_days_vals[] = { { 0, "intDay" }, { 1, "bitDay" }, { 2, "dayOf" }, { 0, NULL } }; static const ber_choice_t T_days_choice[] = { { 0, &hf_x509sat_intDay , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_intDay }, { 1, &hf_x509sat_bitDay , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_bitDay }, { 2, &hf_x509sat_dayOf , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509sat_XDayOf }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_T_days(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_days_choice, hf_index, ett_x509sat_T_days, NULL); return offset; } static int dissect_x509sat_NULL(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } static const ber_sequence_t T_intWeek_set_of[1] = { { &hf_x509sat_intWeek_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509sat_INTEGER }, }; static int dissect_x509sat_T_intWeek(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_intWeek_set_of, hf_index, ett_x509sat_T_intWeek); return offset; } static int * const T_bitWeek_bits[] = { &hf_x509sat_T_bitWeek_week1, &hf_x509sat_T_bitWeek_week2, &hf_x509sat_T_bitWeek_week3, &hf_x509sat_T_bitWeek_week4, &hf_x509sat_T_bitWeek_week5, NULL }; static int dissect_x509sat_T_bitWeek(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, T_bitWeek_bits, 5, hf_index, ett_x509sat_T_bitWeek, NULL); return offset; } static const value_string x509sat_T_weeks_vals[] = { { 0, "allWeeks" }, { 1, "intWeek" }, { 2, "bitWeek" }, { 0, NULL } }; static const ber_choice_t T_weeks_choice[] = { { 0, &hf_x509sat_allWeeks , BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_x509sat_NULL }, { 1, &hf_x509sat_intWeek , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_intWeek }, { 2, &hf_x509sat_bitWeek , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_bitWeek }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_T_weeks(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_weeks_choice, hf_index, ett_x509sat_T_weeks, NULL); return offset; } static const ber_sequence_t T_intMonth_set_of[1] = { { &hf_x509sat_intMonth_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509sat_INTEGER }, }; static int dissect_x509sat_T_intMonth(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_intMonth_set_of, hf_index, ett_x509sat_T_intMonth); return offset; } static int * const T_bitMonth_bits[] = { &hf_x509sat_T_bitMonth_january, &hf_x509sat_T_bitMonth_february, &hf_x509sat_T_bitMonth_march, &hf_x509sat_T_bitMonth_april, &hf_x509sat_T_bitMonth_may, &hf_x509sat_T_bitMonth_june, &hf_x509sat_T_bitMonth_july, &hf_x509sat_T_bitMonth_august, &hf_x509sat_T_bitMonth_september, &hf_x509sat_T_bitMonth_october, &hf_x509sat_T_bitMonth_november, &hf_x509sat_T_bitMonth_december, NULL }; static int dissect_x509sat_T_bitMonth(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, T_bitMonth_bits, 12, hf_index, ett_x509sat_T_bitMonth, NULL); return offset; } static const value_string x509sat_T_months_vals[] = { { 0, "allMonths" }, { 1, "intMonth" }, { 2, "bitMonth" }, { 0, NULL } }; static const ber_choice_t T_months_choice[] = { { 0, &hf_x509sat_allMonths , BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_x509sat_NULL }, { 1, &hf_x509sat_intMonth , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_intMonth }, { 2, &hf_x509sat_bitMonth , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_bitMonth }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_T_months(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_months_choice, hf_index, ett_x509sat_T_months, NULL); return offset; } static const ber_sequence_t T_years_set_of[1] = { { &hf_x509sat_years_item , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_x509sat_INTEGER }, }; static int dissect_x509sat_T_years(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, T_years_set_of, hf_index, ett_x509sat_T_years); return offset; } static const ber_sequence_t Period_sequence[] = { { &hf_x509sat_timesOfDay , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_x509sat_SET_OF_DayTimeBand }, { &hf_x509sat_days , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509sat_T_days }, { &hf_x509sat_weeks , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_x509sat_T_weeks }, { &hf_x509sat_months , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_x509sat_T_months }, { &hf_x509sat_years , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_x509sat_T_years }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_Period(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Period_sequence, hf_index, ett_x509sat_Period); return offset; } static const ber_sequence_t SET_OF_Period_set_of[1] = { { &hf_x509sat_periodic_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509sat_Period }, }; static int dissect_x509sat_SET_OF_Period(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset, SET_OF_Period_set_of, hf_index, ett_x509sat_SET_OF_Period); return offset; } static const value_string x509sat_T_time_vals[] = { { 0, "absolute" }, { 1, "periodic" }, { 0, NULL } }; static const ber_choice_t T_time_choice[] = { { 0, &hf_x509sat_absolute , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_absolute }, { 1, &hf_x509sat_periodic , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_x509sat_SET_OF_Period }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_T_time(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_time_choice, hf_index, ett_x509sat_T_time, NULL); return offset; } static int dissect_x509sat_BOOLEAN(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } int dissect_x509sat_TimeZone(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t TimeSpecification_sequence[] = { { &hf_x509sat_time , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_x509sat_T_time }, { &hf_x509sat_notThisTime , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509sat_BOOLEAN }, { &hf_x509sat_timeZone , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509sat_TimeZone }, { NULL, 0, 0, 0, NULL } }; int dissect_x509sat_TimeSpecification(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TimeSpecification_sequence, hf_index, ett_x509sat_TimeSpecification); return offset; } static const ber_sequence_t T_between_sequence[] = { { &hf_x509sat_startTime , BER_CLASS_CON, 0, 0, dissect_x509sat_GeneralizedTime }, { &hf_x509sat_endTime , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_x509sat_GeneralizedTime }, { &hf_x509sat_entirely , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_x509sat_BOOLEAN }, { NULL, 0, 0, 0, NULL } }; static int dissect_x509sat_T_between(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_between_sequence, hf_index, ett_x509sat_T_between); return offset; } const value_string x509sat_TimeAssertion_vals[] = { { 0, "now" }, { 1, "at" }, { 2, "between" }, { 0, NULL } }; static const ber_choice_t TimeAssertion_choice[] = { { 0, &hf_x509sat_now , BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_x509sat_NULL }, { 1, &hf_x509sat_at , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_x509sat_GeneralizedTime }, { 2, &hf_x509sat_between , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509sat_T_between }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509sat_TimeAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, TimeAssertion_choice, hf_index, ett_x509sat_TimeAssertion, NULL); return offset; } const value_string x509sat_LocaleContextSyntax_vals[] = { { 0, "localeID1" }, { 1, "localeID2" }, { 0, NULL } }; static const ber_choice_t LocaleContextSyntax_choice[] = { { 0, &hf_x509sat_localeID1 , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509sat_OBJECT_IDENTIFIER }, { 1, &hf_x509sat_localeID2 , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509sat_DirectoryString }, { 0, NULL, 0, 0, 0, NULL } }; int dissect_x509sat_LocaleContextSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, LocaleContextSyntax_choice, hf_index, ett_x509sat_LocaleContextSyntax, NULL); return offset; } static int dissect_x509sat_ObjectIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_OctetString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_BitString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, NULL, 0, hf_index, -1, NULL); return offset; } static int dissect_x509sat_Integer(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_Boolean(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxGeneralizedTime(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_GeneralizedTime(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } static int dissect_x509sat_SyntaxUTCTime(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { char *outstr, *newstr; guint32 tvblen; /* the 2-digit year can only be in the range 1950..2049 https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1 */ offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index, &outstr, &tvblen); if (hf_index >= 0 && outstr) { newstr = wmem_strconcat(actx->pinfo->pool, outstr[0] < '5' ? "20": "19", outstr, NULL); proto_tree_add_string(tree, hf_index, tvb, offset - tvblen, tvblen, newstr); } return offset; } static int dissect_x509sat_SyntaxNumericString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_NumericString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxPrintableString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxIA5String(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxBMPString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_BMPString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxUniversalString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UniversalString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxUTF8String(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UTF8String, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxTeletexString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_TeletexString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxT61String(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_TeletexString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxVideotexString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_VideotexString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxGraphicString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_GraphicString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxISO646String(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_VisibleString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxVisibleString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_VisibleString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_SyntaxGeneralString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_GeneralString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_x509sat_GUID(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { gint8 ber_class; bool pc; gint32 tag; guint32 len; e_guid_t uuid; if(!implicit_tag){ offset=dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag); offset=dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, NULL); } else { gint32 remaining=tvb_reported_length_remaining(tvb, offset); len=remaining>0 ? remaining : 0; } tvb_get_ntohguid (tvb, offset, &uuid); actx->created_item = proto_tree_add_guid(tree, hf_index, tvb, offset, len, &uuid); return offset; } /*--- PDUs ---*/ static int dissect_DirectoryString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_DirectoryString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_DirectoryString_PDU); return offset; } static int dissect_UniqueIdentifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_UniqueIdentifier(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_UniqueIdentifier_PDU); return offset; } static int dissect_CountryName_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_CountryName(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_CountryName_PDU); return offset; } static int dissect_Guide_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_Guide(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_Guide_PDU); return offset; } static int dissect_EnhancedGuide_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_EnhancedGuide(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_EnhancedGuide_PDU); return offset; } static int dissect_PostalAddress_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_PostalAddress(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_PostalAddress_PDU); return offset; } static int dissect_TelephoneNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_TelephoneNumber(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_TelephoneNumber_PDU); return offset; } static int dissect_TelexNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_TelexNumber(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_TelexNumber_PDU); return offset; } static int dissect_FacsimileTelephoneNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_FacsimileTelephoneNumber(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_FacsimileTelephoneNumber_PDU); return offset; } static int dissect_X121Address_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_X121Address(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_X121Address_PDU); return offset; } static int dissect_InternationalISDNNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_InternationalISDNNumber(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_InternationalISDNNumber_PDU); return offset; } static int dissect_DestinationIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_DestinationIndicator(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_DestinationIndicator_PDU); return offset; } static int dissect_PreferredDeliveryMethod_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_PreferredDeliveryMethod(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_PreferredDeliveryMethod_PDU); return offset; } static int dissect_PresentationAddress_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_PresentationAddress(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_PresentationAddress_PDU); return offset; } static int dissect_ProtocolInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_ProtocolInformation(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_ProtocolInformation_PDU); return offset; } static int dissect_NameAndOptionalUID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_NameAndOptionalUID(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_NameAndOptionalUID_PDU); return offset; } static int dissect_CaseIgnoreListMatch_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_CaseIgnoreListMatch(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_CaseIgnoreListMatch_PDU); return offset; } static int dissect_ObjectIdentifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_ObjectIdentifier(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_ObjectIdentifier_PDU); return offset; } static int dissect_OctetString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_OctetString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_OctetString_PDU); return offset; } static int dissect_BitString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_BitString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_BitString_PDU); return offset; } static int dissect_Integer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_Integer(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_Integer_PDU); return offset; } static int dissect_Boolean_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_Boolean(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_Boolean_PDU); return offset; } static int dissect_SyntaxGeneralizedTime_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxGeneralizedTime(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxGeneralizedTime_PDU); return offset; } static int dissect_SyntaxUTCTime_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxUTCTime(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxUTCTime_PDU); return offset; } static int dissect_SyntaxNumericString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxNumericString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxNumericString_PDU); return offset; } static int dissect_SyntaxPrintableString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxPrintableString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxPrintableString_PDU); return offset; } static int dissect_SyntaxIA5String_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxIA5String(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxIA5String_PDU); return offset; } static int dissect_SyntaxBMPString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxBMPString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxBMPString_PDU); return offset; } static int dissect_SyntaxUniversalString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxUniversalString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxUniversalString_PDU); return offset; } static int dissect_SyntaxUTF8String_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxUTF8String(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxUTF8String_PDU); return offset; } static int dissect_SyntaxTeletexString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxTeletexString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxTeletexString_PDU); return offset; } static int dissect_SyntaxT61String_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxT61String(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxT61String_PDU); return offset; } static int dissect_SyntaxVideotexString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxVideotexString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxVideotexString_PDU); return offset; } static int dissect_SyntaxGraphicString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxGraphicString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxGraphicString_PDU); return offset; } static int dissect_SyntaxISO646String_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxISO646String(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxISO646String_PDU); return offset; } static int dissect_SyntaxVisibleString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxVisibleString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxVisibleString_PDU); return offset; } static int dissect_SyntaxGeneralString_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_SyntaxGeneralString(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_SyntaxGeneralString_PDU); return offset; } static int dissect_GUID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_x509sat_GUID(FALSE, tvb, offset, &asn1_ctx, tree, hf_x509sat_GUID_PDU); return offset; } /*--- proto_register_x509sat ----------------------------------------------*/ void proto_register_x509sat(void) { /* List of fields */ static hf_register_info hf[] = { { &hf_x509sat_DirectoryString_PDU, { "DirectoryString", "x509sat.DirectoryString", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, NULL, HFILL }}, { &hf_x509sat_UniqueIdentifier_PDU, { "UniqueIdentifier", "x509sat.UniqueIdentifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_CountryName_PDU, { "CountryName", "x509sat.CountryName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_Guide_PDU, { "Guide", "x509sat.Guide_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_EnhancedGuide_PDU, { "EnhancedGuide", "x509sat.EnhancedGuide_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_PostalAddress_PDU, { "PostalAddress", "x509sat.PostalAddress", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_TelephoneNumber_PDU, { "TelephoneNumber", "x509sat.TelephoneNumber", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_TelexNumber_PDU, { "TelexNumber", "x509sat.TelexNumber_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_FacsimileTelephoneNumber_PDU, { "FacsimileTelephoneNumber", "x509sat.FacsimileTelephoneNumber_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_X121Address_PDU, { "X121Address", "x509sat.X121Address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_InternationalISDNNumber_PDU, { "InternationalISDNNumber", "x509sat.InternationalISDNNumber", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_DestinationIndicator_PDU, { "DestinationIndicator", "x509sat.DestinationIndicator", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_PreferredDeliveryMethod_PDU, { "PreferredDeliveryMethod", "x509sat.PreferredDeliveryMethod", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_PresentationAddress_PDU, { "PresentationAddress", "x509sat.PresentationAddress_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_ProtocolInformation_PDU, { "ProtocolInformation", "x509sat.ProtocolInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_NameAndOptionalUID_PDU, { "NameAndOptionalUID", "x509sat.NameAndOptionalUID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_CaseIgnoreListMatch_PDU, { "CaseIgnoreListMatch", "x509sat.CaseIgnoreListMatch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_ObjectIdentifier_PDU, { "ObjectIdentifier", "x509sat.ObjectIdentifier", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_OctetString_PDU, { "OctetString", "x509sat.OctetString", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_BitString_PDU, { "BitString", "x509sat.BitString", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_Integer_PDU, { "Integer", "x509sat.Integer", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_Boolean_PDU, { "Boolean", "x509sat.Boolean", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxGeneralizedTime_PDU, { "GeneralizedTime", "x509sat.GeneralizedTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxUTCTime_PDU, { "UTCTime", "x509sat.UTCTime", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxNumericString_PDU, { "NumericString", "x509sat.NumericString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxPrintableString_PDU, { "PrintableString", "x509sat.PrintableString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxIA5String_PDU, { "IA5String", "x509sat.IA5String", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxBMPString_PDU, { "BMPString", "x509sat.BMPString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxUniversalString_PDU, { "UniversalString", "x509sat.UniversalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxUTF8String_PDU, { "UTF8String", "x509sat.UTF8String", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxTeletexString_PDU, { "TeletexString", "x509sat.TeletexString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxT61String_PDU, { "T61String", "x509sat.T61String", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxVideotexString_PDU, { "VideotexString", "x509sat.VideotexString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxGraphicString_PDU, { "GraphicString", "x509sat.GraphicString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxISO646String_PDU, { "ISO646String", "x509sat.ISO646String", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxVisibleString_PDU, { "VisibleString", "x509sat.VisibleString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SyntaxGeneralString_PDU, { "GeneralString", "x509sat.GeneralString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_GUID_PDU, { "GUID", "x509sat.GUID", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_teletexString, { "teletexString", "x509sat.teletexString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_printableString, { "printableString", "x509sat.printableString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_universalString, { "universalString", "x509sat.universalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_bmpString, { "bmpString", "x509sat.bmpString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_uTF8String, { "uTF8String", "x509sat.uTF8String", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_objectClass, { "objectClass", "x509sat.objectClass", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509sat_criteria, { "criteria", "x509sat.criteria", FT_UINT32, BASE_DEC, VALS(x509sat_Criteria_vals), 0, NULL, HFILL }}, { &hf_x509sat_type, { "type", "x509sat.type", FT_UINT32, BASE_DEC, VALS(x509sat_CriteriaItem_vals), 0, "CriteriaItem", HFILL }}, { &hf_x509sat_and, { "and", "x509sat.and", FT_UINT32, BASE_DEC, NULL, 0, "SET_OF_Criteria", HFILL }}, { &hf_x509sat_and_item, { "Criteria", "x509sat.Criteria", FT_UINT32, BASE_DEC, VALS(x509sat_Criteria_vals), 0, NULL, HFILL }}, { &hf_x509sat_or, { "or", "x509sat.or", FT_UINT32, BASE_DEC, NULL, 0, "SET_OF_Criteria", HFILL }}, { &hf_x509sat_or_item, { "Criteria", "x509sat.Criteria", FT_UINT32, BASE_DEC, VALS(x509sat_Criteria_vals), 0, NULL, HFILL }}, { &hf_x509sat_not, { "not", "x509sat.not", FT_UINT32, BASE_DEC, VALS(x509sat_Criteria_vals), 0, "Criteria", HFILL }}, { &hf_x509sat_equality, { "equality", "x509sat.equality", FT_OID, BASE_NONE, NULL, 0, "AttributeType", HFILL }}, { &hf_x509sat_substrings, { "substrings", "x509sat.substrings", FT_OID, BASE_NONE, NULL, 0, "AttributeType", HFILL }}, { &hf_x509sat_greaterOrEqual, { "greaterOrEqual", "x509sat.greaterOrEqual", FT_OID, BASE_NONE, NULL, 0, "AttributeType", HFILL }}, { &hf_x509sat_lessOrEqual, { "lessOrEqual", "x509sat.lessOrEqual", FT_OID, BASE_NONE, NULL, 0, "AttributeType", HFILL }}, { &hf_x509sat_approximateMatch, { "approximateMatch", "x509sat.approximateMatch", FT_OID, BASE_NONE, NULL, 0, "AttributeType", HFILL }}, { &hf_x509sat_subset, { "subset", "x509sat.subset", FT_INT32, BASE_DEC, VALS(x509sat_T_subset_vals), 0, NULL, HFILL }}, { &hf_x509sat_PostalAddress_item, { "DirectoryString", "x509sat.DirectoryString", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, NULL, HFILL }}, { &hf_x509sat_telexNumber, { "telexNumber", "x509sat.telexNumber", FT_STRING, BASE_NONE, NULL, 0, "PrintableString", HFILL }}, { &hf_x509sat_countryCode, { "countryCode", "x509sat.countryCode", FT_STRING, BASE_NONE, NULL, 0, "PrintableString", HFILL }}, { &hf_x509sat_answerback, { "answerback", "x509sat.answerback", FT_STRING, BASE_NONE, NULL, 0, "PrintableString", HFILL }}, { &hf_x509sat_telephoneNumber, { "telephoneNumber", "x509sat.telephoneNumber", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_parameters, { "parameters", "x509sat.parameters", FT_BYTES, BASE_NONE, NULL, 0, "G3FacsimileNonBasicParameters", HFILL }}, { &hf_x509sat_PreferredDeliveryMethod_item, { "PreferredDeliveryMethod item", "x509sat.PreferredDeliveryMethod_item", FT_INT32, BASE_DEC, VALS(x509sat_PreferredDeliveryMethod_item_vals), 0, NULL, HFILL }}, { &hf_x509sat_pSelector, { "pSelector", "x509sat.pSelector", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_x509sat_sSelector, { "sSelector", "x509sat.sSelector", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_x509sat_tSelector, { "tSelector", "x509sat.tSelector", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_x509sat_nAddresses, { "nAddresses", "x509sat.nAddresses", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_nAddresses_item, { "nAddresses item", "x509sat.nAddresses_item", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_x509sat_nAddress, { "nAddress", "x509sat.nAddress", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_x509sat_profiles, { "profiles", "x509sat.profiles", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_profiles_item, { "profiles item", "x509sat.profiles_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509sat_dn, { "dn", "x509sat.dn", FT_UINT32, BASE_DEC, NULL, 0, "DistinguishedName", HFILL }}, { &hf_x509sat_uid, { "uid", "x509sat.uid", FT_BYTES, BASE_NONE, NULL, 0, "UniqueIdentifier", HFILL }}, { &hf_x509sat_matchingRuleUsed, { "matchingRuleUsed", "x509sat.matchingRuleUsed", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509sat_attributeList, { "attributeList", "x509sat.attributeList", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeValueAssertion", HFILL }}, { &hf_x509sat_attributeList_item, { "AttributeValueAssertion", "x509sat.AttributeValueAssertion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_SubstringAssertion_item, { "SubstringAssertion item", "x509sat.SubstringAssertion_item", FT_UINT32, BASE_DEC, VALS(x509sat_SubstringAssertion_item_vals), 0, NULL, HFILL }}, { &hf_x509sat_initial, { "initial", "x509sat.initial", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, "DirectoryString", HFILL }}, { &hf_x509sat_any, { "any", "x509sat.any", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, "DirectoryString", HFILL }}, { &hf_x509sat_final, { "final", "x509sat.final", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, "DirectoryString", HFILL }}, { &hf_x509sat_control, { "control", "x509sat.control_element", FT_NONE, BASE_NONE, NULL, 0, "Attribute", HFILL }}, { &hf_x509sat_CaseIgnoreListMatch_item, { "DirectoryString", "x509sat.DirectoryString", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, NULL, HFILL }}, { &hf_x509sat_OctetSubstringAssertion_item, { "OctetSubstringAssertion item", "x509sat.OctetSubstringAssertion_item", FT_UINT32, BASE_DEC, VALS(x509sat_OctetSubstringAssertion_item_vals), 0, NULL, HFILL }}, { &hf_x509sat_initial_substring, { "initial", "x509sat.initial", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_x509sat_any_substring, { "any", "x509sat.any", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_x509sat_finall_substring, { "final", "x509sat.final", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_x509sat_ZonalSelect_item, { "AttributeType", "x509sat.AttributeType", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_time, { "time", "x509sat.time", FT_UINT32, BASE_DEC, VALS(x509sat_T_time_vals), 0, NULL, HFILL }}, { &hf_x509sat_absolute, { "absolute", "x509sat.absolute_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_startTime, { "startTime", "x509sat.startTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509sat_endTime, { "endTime", "x509sat.endTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509sat_periodic, { "periodic", "x509sat.periodic", FT_UINT32, BASE_DEC, NULL, 0, "SET_OF_Period", HFILL }}, { &hf_x509sat_periodic_item, { "Period", "x509sat.Period_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_notThisTime, { "notThisTime", "x509sat.notThisTime", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509sat_timeZone, { "timeZone", "x509sat.timeZone", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_timesOfDay, { "timesOfDay", "x509sat.timesOfDay", FT_UINT32, BASE_DEC, NULL, 0, "SET_OF_DayTimeBand", HFILL }}, { &hf_x509sat_timesOfDay_item, { "DayTimeBand", "x509sat.DayTimeBand_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_days, { "days", "x509sat.days", FT_UINT32, BASE_DEC, VALS(x509sat_T_days_vals), 0, NULL, HFILL }}, { &hf_x509sat_intDay, { "intDay", "x509sat.intDay", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_intDay_item, { "intDay item", "x509sat.intDay_item", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509sat_bitDay, { "bitDay", "x509sat.bitDay", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_dayOf, { "dayOf", "x509sat.dayOf", FT_UINT32, BASE_DEC, VALS(x509sat_XDayOf_vals), 0, "XDayOf", HFILL }}, { &hf_x509sat_weeks, { "weeks", "x509sat.weeks", FT_UINT32, BASE_DEC, VALS(x509sat_T_weeks_vals), 0, NULL, HFILL }}, { &hf_x509sat_allWeeks, { "allWeeks", "x509sat.allWeeks_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_intWeek, { "intWeek", "x509sat.intWeek", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_intWeek_item, { "intWeek item", "x509sat.intWeek_item", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509sat_bitWeek, { "bitWeek", "x509sat.bitWeek", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_months, { "months", "x509sat.months", FT_UINT32, BASE_DEC, VALS(x509sat_T_months_vals), 0, NULL, HFILL }}, { &hf_x509sat_allMonths, { "allMonths", "x509sat.allMonths_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_intMonth, { "intMonth", "x509sat.intMonth", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_intMonth_item, { "intMonth item", "x509sat.intMonth_item", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509sat_bitMonth, { "bitMonth", "x509sat.bitMonth", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_years, { "years", "x509sat.years", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x509sat_years_item, { "years item", "x509sat.years_item", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509sat_first_dayof, { "first", "x509sat.first", FT_UINT32, BASE_DEC, VALS(x509sat_NamedDay_vals), 0, "NamedDay", HFILL }}, { &hf_x509sat_second_dayof, { "second", "x509sat.second", FT_UINT32, BASE_DEC, VALS(x509sat_NamedDay_vals), 0, "NamedDay", HFILL }}, { &hf_x509sat_third_dayof, { "third", "x509sat.third", FT_UINT32, BASE_DEC, VALS(x509sat_NamedDay_vals), 0, "NamedDay", HFILL }}, { &hf_x509sat_fourth_dayof, { "fourth", "x509sat.fourth", FT_UINT32, BASE_DEC, VALS(x509sat_NamedDay_vals), 0, "NamedDay", HFILL }}, { &hf_x509sat_fifth_dayof, { "fifth", "x509sat.fifth", FT_UINT32, BASE_DEC, VALS(x509sat_NamedDay_vals), 0, "NamedDay", HFILL }}, { &hf_x509sat_intNamedDays, { "intNamedDays", "x509sat.intNamedDays", FT_UINT32, BASE_DEC, VALS(x509sat_T_intNamedDays_vals), 0, NULL, HFILL }}, { &hf_x509sat_bitNamedDays, { "bitNamedDays", "x509sat.bitNamedDays", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_startDayTime, { "startDayTime", "x509sat.startDayTime_element", FT_NONE, BASE_NONE, NULL, 0, "DayTime", HFILL }}, { &hf_x509sat_endDayTime, { "endDayTime", "x509sat.endDayTime_element", FT_NONE, BASE_NONE, NULL, 0, "DayTime", HFILL }}, { &hf_x509sat_hour, { "hour", "x509sat.hour", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509sat_minute, { "minute", "x509sat.minute", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509sat_second, { "second", "x509sat.second", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_x509sat_now, { "now", "x509sat.now_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_at, { "at", "x509sat.at", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_x509sat_between, { "between", "x509sat.between_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x509sat_entirely, { "entirely", "x509sat.entirely", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_x509sat_localeID1, { "localeID1", "x509sat.localeID1", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_x509sat_localeID2, { "localeID2", "x509sat.localeID2", FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0, "DirectoryString", HFILL }}, { &hf_x509sat_T_bitDay_sunday, { "sunday", "x509sat.T.bitDay.sunday", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509sat_T_bitDay_monday, { "monday", "x509sat.T.bitDay.monday", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509sat_T_bitDay_tuesday, { "tuesday", "x509sat.T.bitDay.tuesday", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509sat_T_bitDay_wednesday, { "wednesday", "x509sat.T.bitDay.wednesday", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_x509sat_T_bitDay_thursday, { "thursday", "x509sat.T.bitDay.thursday", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_x509sat_T_bitDay_friday, { "friday", "x509sat.T.bitDay.friday", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_x509sat_T_bitDay_saturday, { "saturday", "x509sat.T.bitDay.saturday", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_x509sat_T_bitWeek_week1, { "week1", "x509sat.T.bitWeek.week1", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509sat_T_bitWeek_week2, { "week2", "x509sat.T.bitWeek.week2", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509sat_T_bitWeek_week3, { "week3", "x509sat.T.bitWeek.week3", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509sat_T_bitWeek_week4, { "week4", "x509sat.T.bitWeek.week4", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_x509sat_T_bitWeek_week5, { "week5", "x509sat.T.bitWeek.week5", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_january, { "january", "x509sat.T.bitMonth.january", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_february, { "february", "x509sat.T.bitMonth.february", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_march, { "march", "x509sat.T.bitMonth.march", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_april, { "april", "x509sat.T.bitMonth.april", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_may, { "may", "x509sat.T.bitMonth.may", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_june, { "june", "x509sat.T.bitMonth.june", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_july, { "july", "x509sat.T.bitMonth.july", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_august, { "august", "x509sat.T.bitMonth.august", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_september, { "september", "x509sat.T.bitMonth.september", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_october, { "october", "x509sat.T.bitMonth.october", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_november, { "november", "x509sat.T.bitMonth.november", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509sat_T_bitMonth_december, { "december", "x509sat.T.bitMonth.december", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_x509sat_T_bitNamedDays_sunday, { "sunday", "x509sat.T.bitNamedDays.sunday", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_x509sat_T_bitNamedDays_monday, { "monday", "x509sat.T.bitNamedDays.monday", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_x509sat_T_bitNamedDays_tuesday, { "tuesday", "x509sat.T.bitNamedDays.tuesday", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_x509sat_T_bitNamedDays_wednesday, { "wednesday", "x509sat.T.bitNamedDays.wednesday", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_x509sat_T_bitNamedDays_thursday, { "thursday", "x509sat.T.bitNamedDays.thursday", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_x509sat_T_bitNamedDays_friday, { "friday", "x509sat.T.bitNamedDays.friday", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_x509sat_T_bitNamedDays_saturday, { "saturday", "x509sat.T.bitNamedDays.saturday", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, }; /* List of subtrees */ static gint *ett[] = { &ett_x509sat_DirectoryString, &ett_x509sat_Guide, &ett_x509sat_Criteria, &ett_x509sat_SET_OF_Criteria, &ett_x509sat_CriteriaItem, &ett_x509sat_EnhancedGuide, &ett_x509sat_PostalAddress, &ett_x509sat_TelexNumber, &ett_x509sat_FacsimileTelephoneNumber, &ett_x509sat_PreferredDeliveryMethod, &ett_x509sat_PresentationAddress, &ett_x509sat_T_nAddresses, &ett_x509sat_ProtocolInformation, &ett_x509sat_T_profiles, &ett_x509sat_NameAndOptionalUID, &ett_x509sat_MultipleMatchingLocalities, &ett_x509sat_SEQUENCE_OF_AttributeValueAssertion, &ett_x509sat_SubstringAssertion, &ett_x509sat_SubstringAssertion_item, &ett_x509sat_CaseIgnoreListMatch, &ett_x509sat_OctetSubstringAssertion, &ett_x509sat_OctetSubstringAssertion_item, &ett_x509sat_ZonalSelect, &ett_x509sat_TimeSpecification, &ett_x509sat_T_time, &ett_x509sat_T_absolute, &ett_x509sat_SET_OF_Period, &ett_x509sat_Period, &ett_x509sat_SET_OF_DayTimeBand, &ett_x509sat_T_days, &ett_x509sat_T_intDay, &ett_x509sat_T_bitDay, &ett_x509sat_T_weeks, &ett_x509sat_T_intWeek, &ett_x509sat_T_bitWeek, &ett_x509sat_T_months, &ett_x509sat_T_intMonth, &ett_x509sat_T_bitMonth, &ett_x509sat_T_years, &ett_x509sat_XDayOf, &ett_x509sat_NamedDay, &ett_x509sat_T_bitNamedDays, &ett_x509sat_DayTimeBand, &ett_x509sat_DayTime, &ett_x509sat_TimeAssertion, &ett_x509sat_T_between, &ett_x509sat_LocaleContextSyntax, }; /* Register protocol */ proto_x509sat = proto_register_protocol(PNAME, PSNAME, PFNAME); /* Register fields and subtrees */ proto_register_field_array(proto_x509sat, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /*--- Syntax registrations ---*/ register_ber_syntax_dissector("BitString", proto_x509sat, dissect_BitString_PDU); register_ber_syntax_dissector("Boolean", proto_x509sat, dissect_Boolean_PDU); register_ber_syntax_dissector("CaseIgnoreListMatch", proto_x509sat, dissect_CaseIgnoreListMatch_PDU); register_ber_syntax_dissector("CountryName", proto_x509sat, dissect_CountryName_PDU); register_ber_syntax_dissector("DestinationIndicator", proto_x509sat, dissect_DestinationIndicator_PDU); register_ber_syntax_dissector("DirectoryString", proto_x509sat, dissect_DirectoryString_PDU); register_ber_syntax_dissector("EnhancedGuide", proto_x509sat, dissect_EnhancedGuide_PDU); register_ber_syntax_dissector("FacsimileTelephoneNumber", proto_x509sat, dissect_FacsimileTelephoneNumber_PDU); register_ber_syntax_dissector("GUID", proto_x509sat, dissect_GUID_PDU); register_ber_syntax_dissector("Guide", proto_x509sat, dissect_Guide_PDU); register_ber_syntax_dissector("InternationalISDNNumber", proto_x509sat, dissect_InternationalISDNNumber_PDU); register_ber_syntax_dissector("Integer", proto_x509sat, dissect_Integer_PDU); register_ber_syntax_dissector("NameAndOptionalUID", proto_x509sat, dissect_NameAndOptionalUID_PDU); register_ber_syntax_dissector("ObjectIdentifier", proto_x509sat, dissect_ObjectIdentifier_PDU); register_ber_syntax_dissector("OctetString", proto_x509sat, dissect_OctetString_PDU); register_ber_syntax_dissector("PostalAddress", proto_x509sat, dissect_PostalAddress_PDU); register_ber_syntax_dissector("PreferredDeliveryMethod", proto_x509sat, dissect_PreferredDeliveryMethod_PDU); register_ber_syntax_dissector("PresentationAddress", proto_x509sat, dissect_PresentationAddress_PDU); register_ber_syntax_dissector("BMPString", proto_x509sat, dissect_SyntaxBMPString_PDU); register_ber_syntax_dissector("GeneralizedTime", proto_x509sat, dissect_SyntaxGeneralizedTime_PDU); register_ber_syntax_dissector("GeneralString", proto_x509sat, dissect_SyntaxGeneralString_PDU); register_ber_syntax_dissector("GraphicString", proto_x509sat, dissect_SyntaxGraphicString_PDU); register_ber_syntax_dissector("IA5String", proto_x509sat, dissect_SyntaxIA5String_PDU); register_ber_syntax_dissector("ISO646String", proto_x509sat, dissect_SyntaxISO646String_PDU); register_ber_syntax_dissector("NumericString", proto_x509sat, dissect_SyntaxNumericString_PDU); register_ber_syntax_dissector("PrintableString", proto_x509sat, dissect_SyntaxPrintableString_PDU); register_ber_syntax_dissector("T61String", proto_x509sat, dissect_SyntaxT61String_PDU); register_ber_syntax_dissector("TeletexString", proto_x509sat, dissect_SyntaxTeletexString_PDU); register_ber_syntax_dissector("UniversalString", proto_x509sat, dissect_SyntaxUniversalString_PDU); register_ber_syntax_dissector("UTF8String", proto_x509sat, dissect_SyntaxUTF8String_PDU); register_ber_syntax_dissector("UTCTime", proto_x509sat, dissect_SyntaxUTCTime_PDU); register_ber_syntax_dissector("VideotexString", proto_x509sat, dissect_SyntaxVideotexString_PDU); register_ber_syntax_dissector("VisibleString", proto_x509sat, dissect_SyntaxVisibleString_PDU); register_ber_syntax_dissector("TelephoneNumber", proto_x509sat, dissect_TelephoneNumber_PDU); register_ber_syntax_dissector("TelexNumber", proto_x509sat, dissect_TelexNumber_PDU); register_ber_syntax_dissector("UniqueIdentifier", proto_x509sat, dissect_UniqueIdentifier_PDU); register_ber_syntax_dissector("X121Address", proto_x509sat, dissect_X121Address_PDU); } /*--- proto_reg_handoff_x509sat -------------------------------------------*/ void proto_reg_handoff_x509sat(void) { register_ber_oid_dissector("2.5.4.0", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-objectClass"); register_ber_oid_dissector("2.5.4.2", dissect_DirectoryString_PDU, proto_x509sat, "id-at-knowledgeInformation"); register_ber_oid_dissector("2.5.4.3", dissect_DirectoryString_PDU, proto_x509sat, "id-at-commonName"); register_ber_oid_dissector("2.5.4.4", dissect_DirectoryString_PDU, proto_x509sat, "id-at-surname"); register_ber_oid_dissector("2.5.4.5", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-serialNumber"); register_ber_oid_dissector("2.5.4.6", dissect_CountryName_PDU, proto_x509sat, "id-at-countryName"); register_ber_oid_dissector("2.5.4.7", dissect_DirectoryString_PDU, proto_x509sat, "id-at-localityName"); register_ber_oid_dissector("2.5.4.7.1", dissect_DirectoryString_PDU, proto_x509sat, "id-at-collectiveLocalityName"); register_ber_oid_dissector("2.5.4.8", dissect_DirectoryString_PDU, proto_x509sat, "id-at-stateOrProvinceName"); register_ber_oid_dissector("2.5.4.8.1", dissect_DirectoryString_PDU, proto_x509sat, "id-at-collectiveStateOrProvinceName"); register_ber_oid_dissector("2.5.4.9", dissect_DirectoryString_PDU, proto_x509sat, "id-at-streetAddress"); register_ber_oid_dissector("2.5.4.9.1", dissect_DirectoryString_PDU, proto_x509sat, "id-at-collectiveStreetAddress"); register_ber_oid_dissector("2.5.4.10.1", dissect_DirectoryString_PDU, proto_x509sat, "id-at-collectiveOrganizationName"); register_ber_oid_dissector("2.5.4.10", dissect_DirectoryString_PDU, proto_x509sat, "id-at-organizationName"); register_ber_oid_dissector("2.5.4.11", dissect_DirectoryString_PDU, proto_x509sat, "id-at-organizationalUnitName"); register_ber_oid_dissector("2.5.4.11.1", dissect_DirectoryString_PDU, proto_x509sat, "id-at-collectiveOrganizationalUnitName"); register_ber_oid_dissector("2.5.4.12", dissect_DirectoryString_PDU, proto_x509sat, "id-at-title"); register_ber_oid_dissector("2.5.4.13", dissect_DirectoryString_PDU, proto_x509sat, "id-at-description"); register_ber_oid_dissector("2.5.4.14", dissect_Guide_PDU, proto_x509sat, "id-at-searchGuide"); register_ber_oid_dissector("2.5.4.15", dissect_DirectoryString_PDU, proto_x509sat, "id-at-businessCategory"); register_ber_oid_dissector("2.5.4.16", dissect_PostalAddress_PDU, proto_x509sat, "id-at-postalAddress"); register_ber_oid_dissector("2.5.4.17", dissect_DirectoryString_PDU, proto_x509sat, "id-at-postalCode"); register_ber_oid_dissector("2.5.4.17.1", dissect_DirectoryString_PDU, proto_x509sat, "id-at-collectivePostalCode"); register_ber_oid_dissector("2.5.4.18", dissect_DirectoryString_PDU, proto_x509sat, "id-at-postOfficeBox"); register_ber_oid_dissector("2.5.4.18.1", dissect_DirectoryString_PDU, proto_x509sat, "id-at-collectivePostOfficeBox"); register_ber_oid_dissector("2.5.4.19", dissect_DirectoryString_PDU, proto_x509sat, "id-at-physicalDeliveryOfficeName"); register_ber_oid_dissector("2.5.4.19.1", dissect_DirectoryString_PDU, proto_x509sat, "id-at-collectivePhysicalDeliveryOfficeName"); register_ber_oid_dissector("2.5.4.20", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-telephoneNumber"); register_ber_oid_dissector("2.5.4.20.1", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-collectiveTelephoneNumber"); register_ber_oid_dissector("2.5.4.21", dissect_TelexNumber_PDU, proto_x509sat, "id-at-telexNumber"); register_ber_oid_dissector("2.5.4.21.1", dissect_TelexNumber_PDU, proto_x509sat, "id-at-collectiveTelexNumber"); register_ber_oid_dissector("2.5.4.23", dissect_FacsimileTelephoneNumber_PDU, proto_x509sat, "id-at-facsimileTelephoneNumber"); register_ber_oid_dissector("2.5.4.23.1", dissect_FacsimileTelephoneNumber_PDU, proto_x509sat, "id-at-collectiveFacsimileTelephoneNumber"); register_ber_oid_dissector("2.5.4.24", dissect_X121Address_PDU, proto_x509sat, "id-at-x121Address"); register_ber_oid_dissector("2.5.4.25", dissect_InternationalISDNNumber_PDU, proto_x509sat, "id-at-internationalISDNNumber"); register_ber_oid_dissector("2.5.4.25.1", dissect_InternationalISDNNumber_PDU, proto_x509sat, "id-at-collectiveInternationalISDNNumber"); register_ber_oid_dissector("2.5.4.26", dissect_PostalAddress_PDU, proto_x509sat, "id-at-registeredAddress"); register_ber_oid_dissector("2.5.4.27", dissect_DestinationIndicator_PDU, proto_x509sat, "id-at-destinationIndicator"); register_ber_oid_dissector("2.5.4.28", dissect_PreferredDeliveryMethod_PDU, proto_x509sat, "id-at-preferredDeliveryMethod"); register_ber_oid_dissector("2.5.4.29", dissect_PresentationAddress_PDU, proto_x509sat, "id-at-presentationAddress"); register_ber_oid_dissector("2.5.4.30", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-supportedApplicationContext"); register_ber_oid_dissector("2.5.4.35", dissect_OctetString_PDU, proto_x509sat, "id-at-userPassword"); register_ber_oid_dissector("2.5.4.41", dissect_DirectoryString_PDU, proto_x509sat, "id-at-name"); register_ber_oid_dissector("2.5.4.42", dissect_DirectoryString_PDU, proto_x509sat, "id-at-givenName"); register_ber_oid_dissector("2.5.4.43", dissect_DirectoryString_PDU, proto_x509sat, "id-at-initials"); register_ber_oid_dissector("2.5.4.44", dissect_DirectoryString_PDU, proto_x509sat, "id-at-generationQualifier"); register_ber_oid_dissector("2.5.4.45", dissect_UniqueIdentifier_PDU, proto_x509sat, "id-at-uniqueIdedntifier"); register_ber_oid_dissector("2.5.4.46", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-dnQualifier"); register_ber_oid_dissector("2.5.4.47", dissect_EnhancedGuide_PDU, proto_x509sat, "id-at-enhancedSearchGuide"); register_ber_oid_dissector("2.5.4.48", dissect_ProtocolInformation_PDU, proto_x509sat, "id-at-protocolInformation"); register_ber_oid_dissector("2.5.4.50", dissect_NameAndOptionalUID_PDU, proto_x509sat, "id-at-uniqueMember"); register_ber_oid_dissector("2.5.4.51", dissect_DirectoryString_PDU, proto_x509sat, "id-at-houseIdentifier"); register_ber_oid_dissector("2.5.4.52", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-supportedAlgorithms"); register_ber_oid_dissector("2.5.4.54", dissect_DirectoryString_PDU, proto_x509sat, "id-at-dmdName"); register_ber_oid_dissector("2.5.4.56", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-defaultDirQop"); register_ber_oid_dissector("2.5.4.65", dissect_DirectoryString_PDU, proto_x509sat, "id-at-pseudonym"); register_ber_oid_dissector("2.5.4.66", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-communuicationsService"); register_ber_oid_dissector("2.5.4.67", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-communuicationsNetwork"); register_ber_oid_dissector("2.5.13.8", dissect_SyntaxNumericString_PDU, proto_x509sat, "id-mr-numericStringMatch"); register_ber_oid_dissector("2.5.13.11", dissect_CaseIgnoreListMatch_PDU, proto_x509sat, "id-mr-caseIgnoreListMatch"); register_ber_oid_dissector("2.5.13.16", dissect_BitString_PDU, proto_x509sat, "id-mr-bitStringMatch"); register_ber_oid_dissector("2.5.13.26", dissect_SyntaxUTCTime_PDU, proto_x509sat, "id-mr-uTCTimeOrderingMatch"); register_ber_oid_dissector("2.5.18.1", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-oa-createTimeStamp"); register_ber_oid_dissector("2.5.18.2", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-oa-modifyTimeStamp"); register_ber_oid_dissector("2.5.18.5", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-oa-administrativeRole"); register_ber_oid_dissector("2.5.18.7", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-oa-collectiveExclusions"); register_ber_oid_dissector("2.5.18.8", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-oa-subschemaTimeStamp"); register_ber_oid_dissector("2.5.18.9", dissect_Boolean_PDU, proto_x509sat, "id-oa-hasSubordinates"); register_ber_oid_dissector("2.5.24.1", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-aca-accessControlScheme"); register_ber_oid_dissector("2.6.5.2.8", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-mhs-supported-automatic-actions"); register_ber_oid_dissector("2.6.5.2.10", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-mhs-supported-attributes"); register_ber_oid_dissector("2.6.5.2.11", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-mhs-supported-matching-rules"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.45", dissect_DirectoryString_PDU, proto_x509sat, "id-at-releaseAuthorityName"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.51", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-cognizantAuthority"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.53", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-accountingCode"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.54", dissect_Boolean_PDU, proto_x509sat, "id-at-dualRoute"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.55", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-at-effectiveDate"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.57", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-at-expirationDate"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.58", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-hostOrgACP127"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.60", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-at-lastRecapDate"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.62", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-lmf"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.63", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-longTitle"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.64", dissect_Boolean_PDU, proto_x509sat, "id-at-minimize"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.65", dissect_Boolean_PDU, proto_x509sat, "id-at-minimizeOverride"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.68", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-nationality"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.68.1", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-collectiveNationality"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.69", dissect_Boolean_PDU, proto_x509sat, "id-at-transferStation"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.70", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-plaNameACP127"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.72", dissect_Boolean_PDU, proto_x509sat, "id-at-plaReplace"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.73", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-primarySpellingACP127"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.74", dissect_Boolean_PDU, proto_x509sat, "id-at-publish"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.75", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-at-recapDueDate"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.77", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-rI"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.81", dissect_Boolean_PDU, proto_x509sat, "id-at-section"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.82", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-serviceOrAgency"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.83", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-sHD"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.84", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-shortTitle"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.85", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-sigad"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.86", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-spot"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.87", dissect_Boolean_PDU, proto_x509sat, "id-at-tARE"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.94", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-aCPMobileTelephoneNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.95", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-aCPPagerTelephoneNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.96", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-tCC"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.97", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-tRC"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.106", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-accessCodes"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.107", dissect_SyntaxGraphicString_PDU, proto_x509sat, "id-at-accessSchema"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.109", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-aCPTelephoneFaxNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.115", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-gatewayType"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.116", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-ghpType"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.118", dissect_DirectoryString_PDU, proto_x509sat, "id-at-mailDomains"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.119", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-militaryFacsimileNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.119.1", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-collectiveMilitaryFacsimileNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.120", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-militaryTelephoneNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.120.1", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-collectiveMilitaryTelephoneNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.122", dissect_SyntaxGraphicString_PDU, proto_x509sat, "id-at-networkSchema"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.124", dissect_DirectoryString_PDU, proto_x509sat, "id-at-operationName"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.125", dissect_DirectoryString_PDU, proto_x509sat, "id-at-positionNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.126", dissect_DirectoryString_PDU, proto_x509sat, "id-at-proprietaryMailboxes"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.127", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-secureFacsimileNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.127.1", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-collectiveSecureFacsimileNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.128", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-secureTelephoneNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.128.1", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-collectiveSecureTelephoneNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.129", dissect_DirectoryString_PDU, proto_x509sat, "id-at-serviceNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.133", dissect_DirectoryString_PDU, proto_x509sat, "id-at-rank"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.143", dissect_DirectoryString_PDU, proto_x509sat, "id-at-adminConversion"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.144", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-tCCG"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.145", dissect_DirectoryString_PDU, proto_x509sat, "id-at-usdConversion"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.158", dissect_DirectoryString_PDU, proto_x509sat, "id-at-aCPRoleInformation"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.159", dissect_DirectoryString_PDU, proto_x509sat, "id-at-coalitionGrade"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.160", dissect_TelephoneNumber_PDU, proto_x509sat, "id-at-militaryIPPhoneNumber"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.161", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-fileTypeInfoCapability"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.172", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPFunctionalDescription"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.173", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-alternatePLAName"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.174", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-at-aCPEntryCreationDate"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.175", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "id-at-aCPEntryModificationDate"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.176", dissect_ObjectIdentifier_PDU, proto_x509sat, "id-at-aCPEntryType"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.177", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPEntryUniqueId"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.178", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPCitizenship"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.179", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPEID"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.180", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPCOI"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.181", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPPublishTo"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.182", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPSvcApps"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.183", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPDirectionsTo"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.185", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPLatitude"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.186", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPLocationMap"); register_ber_oid_dissector("2.16.840.1.101.2.2.1.187", dissect_SyntaxPrintableString_PDU, proto_x509sat, "id-at-aCPLongitude"); register_ber_oid_dissector("1.2.840.113549.1.9.1", dissect_SyntaxIA5String_PDU, proto_x509sat, "pkcs-9-at-emailAddress"); register_ber_oid_dissector("1.2.840.113549.1.9.7", dissect_DirectoryString_PDU, proto_x509sat, "pkcs-9-at-challengePassword"); register_ber_oid_dissector("1.2.840.113549.1.9.8", dissect_DirectoryString_PDU, proto_x509sat, "pkcs-9-at-unstructuredAddress"); register_ber_oid_dissector("1.2.840.113549.1.9.13", dissect_DirectoryString_PDU, proto_x509sat, "pkcs-9-at-signingDescription"); register_ber_oid_dissector("1.2.840.113549.1.9.20", dissect_SyntaxBMPString_PDU, proto_x509sat, "pkcs-9-at-friendlyName"); register_ber_oid_dissector("1.2.840.113549.1.9.21", dissect_OctetString_PDU, proto_x509sat, "pkcs-9-at-localKeyId"); register_ber_oid_dissector("1.2.840.113549.1.9.25.3", dissect_OctetString_PDU, proto_x509sat, "pkcs-9-at-randomNonce"); register_ber_oid_dissector("1.2.840.113549.1.9.25.4", dissect_Integer_PDU, proto_x509sat, "pkcs-9-at-sequenceNumber"); register_ber_oid_dissector("1.3.6.1.5.5.7.9.1", dissect_SyntaxGeneralizedTime_PDU, proto_x509sat, "pkcs-9-at-dateOfBirth"); register_ber_oid_dissector("1.3.6.1.5.5.7.9.2", dissect_DirectoryString_PDU, proto_x509sat, "pkcs-9-at-placeOfBirth"); register_ber_oid_dissector("1.3.6.1.5.5.7.9.3", dissect_SyntaxPrintableString_PDU, proto_x509sat, "pkcs-9-at-gender"); register_ber_oid_dissector("1.3.6.1.5.5.7.9.4", dissect_SyntaxPrintableString_PDU, proto_x509sat, "pkcs-9-at-countryOfCitizenship"); register_ber_oid_dissector("1.3.6.1.5.5.7.9.5", dissect_SyntaxPrintableString_PDU, proto_x509sat, "pkcs-9-at-countryOfResidence"); register_ber_oid_dissector("0.9.2342.19200300.100.1.25", dissect_SyntaxIA5String_PDU, proto_x509sat, "dc"); register_ber_oid_dissector("2.16.840.1.113730.3.1.1", dissect_DirectoryString_PDU, proto_x509sat, "carLicense"); register_ber_oid_dissector("2.16.840.1.113730.3.1.2", dissect_DirectoryString_PDU, proto_x509sat, "departmentNumber"); register_ber_oid_dissector("2.16.840.1.113730.3.1.3", dissect_DirectoryString_PDU, proto_x509sat, "employeeNumber"); register_ber_oid_dissector("2.16.840.1.113730.3.1.4", dissect_DirectoryString_PDU, proto_x509sat, "employeeType"); register_ber_oid_dissector("2.16.840.1.113730.3.1.39", dissect_DirectoryString_PDU, proto_x509sat, "preferredLanguage"); register_ber_oid_dissector("2.16.840.1.113730.3.1.241", dissect_DirectoryString_PDU, proto_x509sat, "displayName"); register_ber_oid_dissector("1.3.6.1.4.1.311.20.2", dissect_SyntaxBMPString_PDU, proto_x509sat, "id-ms-certificate-template-name"); register_ber_oid_dissector("1.3.6.1.4.1.311.20.2.3", dissect_SyntaxUTF8String_PDU, proto_x509sat, "id-ms-user-principal-name"); register_ber_oid_dissector("1.3.6.1.4.1.311.17.1", dissect_SyntaxBMPString_PDU, proto_x509sat, "id-ms-local-machine-keyset"); register_ber_oid_dissector("1.3.6.1.4.1.311.21.1", dissect_Integer_PDU, proto_x509sat, "id-ms-ca-version"); register_ber_oid_dissector("1.3.6.1.4.1.311.21.2", dissect_OctetString_PDU, proto_x509sat, "id-ms-previous-cert-hash"); register_ber_oid_dissector("1.3.6.1.4.1.311.21.3", dissect_Integer_PDU, proto_x509sat, "id-ms-virtual-base"); register_ber_oid_dissector("1.3.6.1.4.1.311.21.4", dissect_SyntaxUTCTime_PDU, proto_x509sat, "id-ms-next-publish"); register_ber_oid_dissector("1.2.826.0.1063.7.0.0.0", dissect_Integer_PDU, proto_x509sat, "unknown-UK-organisation-defined-extension"); register_ber_oid_dissector("1.2.826.0.1004.10.1.1", dissect_SyntaxIA5String_PDU, proto_x509sat, "nexor-originating-ua"); register_ber_oid_dissector("2.6.1.6.3", dissect_Boolean_PDU, proto_x509sat, "id-sat-ipm-auto-discarded"); register_ber_oid_dissector("1.3.6.1.1.16.4", dissect_GUID_PDU, proto_x509sat, "entryUUID"); register_ber_oid_dissector("1.3.6.1.4.1.311.60.2.1.1", dissect_DirectoryString_PDU, proto_x509sat, "jurisdictionOfIncorporationLocalityName"); register_ber_oid_dissector("1.3.6.1.4.1.311.60.2.1.2", dissect_DirectoryString_PDU, proto_x509sat, "jurisdictionOfIncorporationStateOrProvinceName"); register_ber_oid_dissector("1.3.6.1.4.1.311.60.2.1.3", dissect_CountryName_PDU, proto_x509sat, "jurisdictionOfIncorporationCountryName"); /* OBJECT CLASSES */ oid_add_from_string("top","2.5.6.0"); oid_add_from_string("alias","2.5.6.1"); oid_add_from_string("country","2.5.6.2"); oid_add_from_string("locality","2.5.6.3"); oid_add_from_string("organization","2.5.6.4"); oid_add_from_string("organizationalUnit","2.5.6.5"); oid_add_from_string("person","2.5.6.6"); oid_add_from_string("organizationalPerson","2.5.6.7"); oid_add_from_string("organizationalRole","2.5.6.8"); oid_add_from_string("groupOfNames","2.5.6.9"); oid_add_from_string("residentialPerson","2.5.6.10"); oid_add_from_string("applicationProcess","2.5.6.11"); oid_add_from_string("applicationEntity","2.5.6.12"); oid_add_from_string("dSA","2.5.6.13"); oid_add_from_string("device","2.5.6.14"); oid_add_from_string("strongAuthenticationUser","2.5.6.15"); oid_add_from_string("certificationAuthority","2.5.6.16"); oid_add_from_string("certificationAuthorityV2","2.5.6.16.2"); oid_add_from_string("groupOfUniqueNames","2.5.6.17"); oid_add_from_string("userSecurityInformation","2.5.6.18"); oid_add_from_string("cRLDistributionPoint","2.5.6.19"); oid_add_from_string("dmd","2.5.6.20"); oid_add_from_string("pkiUser","2.5.6.21"); oid_add_from_string("pkiCA","2.5.6.22"); oid_add_from_string("parent","2.5.6.28"); oid_add_from_string("child","2.5.6.29"); /* RFC 2247 */ oid_add_from_string("dcObject","1.3.6.1.4.1.1446.344"); oid_add_from_string("domain","0.9.2342.19200300.100.4.13"); /* RFC 2798 */ oid_add_from_string("inetOrgPerson","2.16.840.1.113730.3.2.2"); }
C/C++
wireshark/epan/dissectors/packet-x509sat.h
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x509sat.h */ /* asn2wrs.py -b -r Syntax -L -p x509sat -c ./x509sat.cnf -s ./packet-x509sat-template -D . -O ../.. SelectedAttributeTypes.asn */ /* packet-x509sat.h * Routines for X.509 Selected Attribute Types packet dissection * Ronnie Sahlberg 2004 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_X509SAT_H #define PACKET_X509SAT_H extern const value_string x509sat_DirectoryString_vals[]; extern const value_string x509sat_Criteria_vals[]; extern const value_string x509sat_ZonalResult_vals[]; extern const value_string x509sat_XDayOf_vals[]; extern const value_string x509sat_NamedDay_vals[]; extern const value_string x509sat_TimeAssertion_vals[]; extern const value_string x509sat_LocaleContextSyntax_vals[]; int dissect_x509sat_DirectoryString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_UniqueIdentifier(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_CountryName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_Criteria(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_EnhancedGuide(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_PostalAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_FacsimileTelephoneNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_X121Address(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_InternationalISDNNumber(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_DestinationIndicator(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_PreferredDeliveryMethod(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_PresentationAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_ProtocolInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_NameAndOptionalUID(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_MultipleMatchingLocalities(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_SubstringAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_CaseIgnoreListMatch(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_OctetSubstringAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_ZonalSelect(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_ZonalResult(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_LanguageContextSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_TimeSpecification(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_Period(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_XDayOf(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_NamedDay(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_DayTimeBand(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_TimeZone(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_TimeAssertion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); int dissect_x509sat_LocaleContextSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); #endif /* PACKET_X509SAT_H */
C
wireshark/epan/dissectors/packet-xcsl.c
/* packet-xcsl.c * * Routines for the Xcsl dissection (Call Specification Language) * * Copyright 2008, Dick Gooris ([email protected]) * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <stdlib.h> #include <epan/packet.h> #include <wsutil/strtoi.h> /* string array size */ #define MAXLEN 4096 void proto_register_xcsl(void); void proto_reg_handoff_xcsl(void); static int proto_xcsl = -1; static int hf_xcsl_command = -1; static int hf_xcsl_information = -1; static int hf_xcsl_parameter = -1; static int hf_xcsl_protocol_version = -1; static int hf_xcsl_result = -1; static int hf_xcsl_transaction_id = -1; /* Initialize the subtree pointers */ static gint ett_xcsl = -1; /* Xcsl result codes */ #define XCSL_SUCCESS 0 #define XCSL_UNKNOWN 1 #define XCSL_USRUNKN 2 #define XCSL_ERROR 3 #define XCSL_BUSY 4 #define XCSL_UNDEFINED 5 #define XCSL_MORE 6 #define XCSL_MAINT 7 #define XCSL_PROTSEQERR 8 #define XCSL_NONE 9 /* Result code meanings. */ static const value_string xcsl_action_vals[] = { { XCSL_SUCCESS, "Success" }, { XCSL_UNKNOWN, "Unknown" }, { XCSL_USRUNKN, "User unknown" }, { XCSL_ERROR, "Error" }, { XCSL_BUSY, "Busy" }, { XCSL_UNDEFINED, "Undefined" }, { XCSL_MORE, "More" }, { XCSL_MAINT, "Maintenance" }, { XCSL_PROTSEQERR, "Protocol Sequence Error" }, { 0, NULL } }; /* patterns used for tvb_ws_mempbrk_pattern_guint8 */ static ws_mempbrk_pattern pbrk_param_end; /* Dissector for xcsl */ static void dissect_xcsl_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; gint length_remaining; guint8 idx; gboolean request; guint8 par; guint8 *str; guint8 result; const gchar *code; guint len; gint next_offset; proto_tree *xcsl_tree = NULL; /* color support */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "Xcsl"); col_clear(pinfo->cinfo, COL_INFO); /* Create display tree for the xcsl protocol */ if (tree) { proto_item *xcsl_item; xcsl_item = proto_tree_add_item(tree, proto_xcsl, tvb, offset, -1, ENC_NA); xcsl_tree = proto_item_add_subtree(xcsl_item, ett_xcsl); } /* reset idx */ idx = 0; /* reset the parameter count */ par = 0; /* switch whether it concerns a command or an answer */ request = FALSE; while ((length_remaining = tvb_reported_length_remaining(tvb, offset)) > 0) { /* get next item */ next_offset = tvb_ws_mempbrk_pattern_guint8(tvb, offset, length_remaining, &pbrk_param_end, NULL); if (next_offset == -1) { len = length_remaining; next_offset = offset + len; } else { len = next_offset - offset; } /* do not add to the tree when the string is of zero length */ if ( len == 0 ) { offset = next_offset + 1; continue; } str = tvb_get_string_enc(pinfo->pool, tvb, offset, len, ENC_ASCII); /* Xcsl (Call Specification Language) protocol in brief : * * Request : * * <xcsl-version>;<transaction-id>;<command>;[parameter1;parameter2;parameter3;....] * * Reply : * * <xcsl-version>;transaction-id;<result>;[answer data;answer data];... * * If result is one or more digits, this is determined as a Reply. * * Example : * * --> xcsl-1.0;1000;offhook;+31356871234 * <-- xcsl-1.0;1000;0 <- success * * --> xcsl-1.0;1001;dial;+31356871234;+31356875678 * <-- xcsl-1.0;1001;0 <- success * * * index : 0 1 2 3 4 * * Index 2 represents the return code (see the xcsl_action_vals[] definitions) * */ /* One by one go through each item ';' separated */ switch (idx) { /* This is the protocol item */ case 0: proto_tree_add_item(xcsl_tree, hf_xcsl_protocol_version, tvb, offset, len, ENC_ASCII); break; /* This should be the transaction ID, if non-digit, it is treated as info */ case 1: if ( g_ascii_isdigit(str[0]) ) { proto_tree_add_item(xcsl_tree, hf_xcsl_transaction_id, tvb, offset, len, ENC_ASCII); } else { proto_tree_add_item(xcsl_tree, hf_xcsl_information, tvb, offset, len, ENC_ASCII); } col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",str); break; /* Starting with non-digit -> Command, if it starts with a digit -> reply */ case 2: if ( g_ascii_isdigit(str[0]) ) { proto_item *xcsl_item; request = FALSE; result = XCSL_UNDEFINED; ws_strtou8(str, NULL, &result); if ( result >= XCSL_NONE ) { result = XCSL_UNDEFINED; } code = val_to_str(result, xcsl_action_vals, "Unknown: %d"); /* Print result code and description */ xcsl_item = proto_tree_add_item(xcsl_tree, hf_xcsl_result, tvb, offset, len, ENC_ASCII); proto_item_append_text(xcsl_item, " (%s)", code); if (result != 0) col_append_fstr(pinfo->cinfo, COL_INFO, "[%s] ", code); } else { request = TRUE; proto_tree_add_item(xcsl_tree, hf_xcsl_command, tvb, offset, len, ENC_ASCII); col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", str); } break; /* This is a command parameter */ default: proto_tree_add_item(xcsl_tree, hf_xcsl_parameter, tvb, offset, len, ENC_ASCII); if ( request == TRUE ) { col_append_fstr(pinfo->cinfo, COL_INFO, ": %s ",str); } else { if (par == 0) { col_append_fstr(pinfo->cinfo, COL_INFO, "reply: %s ",str); } else { col_append_fstr(pinfo->cinfo, COL_INFO, ": %s ",str); } } /* increment the parameter count */ par++; break; } offset = next_offset + 1; idx++; } return; } /* This function determines whether the first 4 octets equals to xcsl and the fifth is an ; or - */ static gboolean dissect_xcsl_tcp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { guint8 *protocol; if (tvb_captured_length (tvb) >= 5) { protocol = tvb_get_string_enc(pinfo->pool, tvb, 0, 5, ENC_ASCII); if (strncmp(protocol,"xcsl",4) == 0 && (protocol[4] == ';' || protocol[4] == '-')) { /* Disssect it as being an xcsl message */ dissect_xcsl_tcp(tvb, pinfo, tree); return TRUE; } } return FALSE; } /* register the various xcsl protocol filters */ void proto_register_xcsl(void) { static hf_register_info hf[] = { { &hf_xcsl_protocol_version, { "Protocol Version", "xcsl.protocol_version", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xcsl_transaction_id, { "Transaction ID", "xcsl.transaction_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xcsl_command, { "Command", "xcsl.command", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xcsl_result, { "Result", "xcsl.result", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xcsl_information, { "Information", "xcsl.information", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xcsl_parameter, { "Parameter", "xcsl.parameter", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, }; /* Setup protocol subtree array */ static gint *ett[] = { &ett_xcsl }; /* Register the protocol name and description */ proto_xcsl = proto_register_protocol("Call Specification Language (Xcsl)", "XCSL", "xcsl"); proto_register_field_array(proto_xcsl, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* compile patterns */ ws_mempbrk_compile(&pbrk_param_end, ";\r\n"); } /* In case it concerns TCP, try to match on the xcsl header */ void proto_reg_handoff_xcsl(void) { heur_dissector_add("tcp", dissect_xcsl_tcp_heur, "XCSL over TCP", "xcsl_tcp", proto_xcsl, HEURISTIC_ENABLE); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-xdmcp.c
/* packet-xdmcp.c * Routines for XDMCP message dissection * Copyright 2002, Pasi Eronen <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/to_str.h> #include <epan/expert.h> #define UDP_PORT_XDMCP 177 #define XDMCP_PROTOCOL_VERSION 1 #define XDMCP_BROADCAST_QUERY 1 #define XDMCP_QUERY 2 #define XDMCP_INDIRECT_QUERY 3 #define XDMCP_FORWARD_QUERY 4 #define XDMCP_WILLING 5 #define XDMCP_UNWILLING 6 #define XDMCP_REQUEST 7 #define XDMCP_ACCEPT 8 #define XDMCP_DECLINE 9 #define XDMCP_MANAGE 10 #define XDMCP_REFUSE 11 #define XDMCP_FAILED 12 #define XDMCP_KEEPALIVE 13 #define XDMCP_ALIVE 14 void proto_register_xdmcp(void); void proto_reg_handoff_xdmcp(void); static const value_string opcode_vals[] = { { XDMCP_BROADCAST_QUERY, "Broadcast_query" }, { XDMCP_QUERY, "Query" }, { XDMCP_INDIRECT_QUERY, "Indirect_query" }, { XDMCP_FORWARD_QUERY, "Forward_query" }, { XDMCP_WILLING, "Willing" }, { XDMCP_UNWILLING, "Unwilling" }, { XDMCP_REQUEST, "Request" }, { XDMCP_ACCEPT, "Accept "}, { XDMCP_DECLINE, "Decline" }, { XDMCP_MANAGE, "Manage" }, { XDMCP_REFUSE, "Refuse" }, { XDMCP_FAILED, "Failed" }, { XDMCP_KEEPALIVE, "Keepalive" }, { XDMCP_ALIVE, "Alive" }, { 0, NULL } }; /* Copied from packet-x11.c */ static const value_string family_vals[] = { { 0, "Internet" }, { 1, "DECnet" }, { 2, "Chaos" }, { 6, "InternetV6" }, { 0, NULL } }; static gint proto_xdmcp = -1; static gint hf_xdmcp_version = -1; static gint hf_xdmcp_opcode = -1; static gint hf_xdmcp_length = -1; static gint hf_xdmcp_authentication_name = -1; static gint hf_xdmcp_authorization_name = -1; static gint hf_xdmcp_hostname = -1; static gint hf_xdmcp_status = -1; static gint hf_xdmcp_session_id = -1; static gint hf_xdmcp_display_number = -1; static gint hf_xdmcp_manufacturer_display_id = -1; static gint hf_xdmcp_manufacturer_display_id_len = -1; static gint hf_xdmcp_display_class = -1; static gint hf_xdmcp_display_class_len = -1; static gint hf_xdmcp_client_address_ipv4 = -1; static gint hf_xdmcp_client_address_ipv6 = -1; static gint hf_xdmcp_client_address_bytes = -1; static gint hf_xdmcp_client_address_bytes_len = -1; static gint hf_xdmcp_client_port_u16 = -1; static gint hf_xdmcp_client_port_bytes = -1; static gint hf_xdmcp_client_port_len = -1; static gint hf_xdmcp_authentication_data = -1; static gint hf_xdmcp_authentication_data_len = -1; static gint hf_xdmcp_authorization_data = -1; static gint hf_xdmcp_authorization_data_len = -1; static gint hf_xdmcp_connection_type = -1; static gint hf_xdmcp_connection_address_ipv4 = -1; static gint hf_xdmcp_connection_address_ipv6 = -1; static gint hf_xdmcp_connection_address_bytes = -1; static gint hf_xdmcp_session_running = -1; static gint ett_xdmcp = -1; static gint ett_xdmcp_authentication_names = -1; static gint ett_xdmcp_authorization_names = -1; static gint ett_xdmcp_connections = -1; static gint ett_xdmcp_connection = -1; static expert_field ei_xdmcp_conn_address_mismatch = EI_INIT; static gint xdmcp_add_string(proto_tree *tree, gint hf, tvbuff_t *tvb, gint offset) { char *str; guint len; len = tvb_get_ntohs(tvb, offset); str = tvb_get_string_enc(wmem_packet_scope(), tvb, offset+2, len, ENC_ASCII); proto_tree_add_string(tree, hf, tvb, offset, len+2, str); return len+2; } static gint xdmcp_add_bytes(proto_tree *tree, gint hf_byte, gint hf_length, tvbuff_t *tvb, gint offset) { guint len; len = tvb_get_ntohs(tvb, offset); proto_tree_add_item(tree, hf_length, tvb, offset, 2, ENC_BIG_ENDIAN); proto_tree_add_item(tree, hf_byte, tvb, offset, len+2, ENC_NA); return len+2; } static gint xdmcp_add_authentication_names(proto_tree *tree, tvbuff_t *tvb, gint offset) { proto_tree *anames_tree; proto_item *anames_ti; gint anames_len, anames_start_offset; anames_start_offset = offset; anames_len = tvb_get_guint8(tvb, offset); anames_tree = proto_tree_add_subtree_format(tree, tvb, anames_start_offset, -1, ett_xdmcp_authentication_names, &anames_ti, "Authentication names (%d)", anames_len); anames_len = tvb_get_guint8(tvb, offset); offset++; while (anames_len > 0) { offset += xdmcp_add_string(anames_tree, hf_xdmcp_authentication_name, tvb, offset); anames_len--; } proto_item_set_len(anames_ti, offset - anames_start_offset); return offset - anames_start_offset; } static gint xdmcp_add_authorization_names(proto_tree *tree, tvbuff_t *tvb, gint offset) { proto_tree *anames_tree; proto_item *anames_ti; gint anames_len, anames_start_offset; anames_start_offset = offset; anames_len = tvb_get_guint8(tvb, offset); anames_tree = proto_tree_add_subtree_format(tree, tvb, anames_start_offset, -1, ett_xdmcp_authorization_names, &anames_ti, "Authorization names (%d)", anames_len); anames_len = tvb_get_guint8(tvb, offset); offset++; while (anames_len > 0) { offset += xdmcp_add_string(anames_tree, hf_xdmcp_authorization_name, tvb, offset); anames_len--; } proto_item_set_len(anames_ti, offset - anames_start_offset); return offset - anames_start_offset; } /* * I didn't find any documentation for the XDMCP protocol, so * this is reverse-engineered from XFree86 source files * xc/programs/xdm/xdmcp.c and xc/programs/Xserver/os/xdmcp.c. */ static int dissect_xdmcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { gint version = -1, opcode = -1; gint offset = 0; proto_item *ti; proto_tree *xdmcp_tree = 0; version = tvb_get_ntohs(tvb, offset); if (version != XDMCP_PROTOCOL_VERSION) { /* Only version 1 exists, so this probably is not XDMCP at all... */ return offset; } col_set_str(pinfo->cinfo, COL_PROTOCOL, "XDMCP"); col_clear(pinfo->cinfo, COL_INFO); ti = proto_tree_add_item(tree, proto_xdmcp, tvb, offset, -1, ENC_NA); xdmcp_tree = proto_item_add_subtree(ti, ett_xdmcp); proto_tree_add_uint(xdmcp_tree, hf_xdmcp_version, tvb, offset, 2, version); offset += 2; opcode = tvb_get_ntohs(tvb, offset); if (tree) { proto_tree_add_uint(xdmcp_tree, hf_xdmcp_opcode, tvb, offset, 2, opcode); } offset += 2; col_add_str(pinfo->cinfo, COL_INFO, val_to_str(opcode, opcode_vals, "Unknown (0x%04x)")); proto_tree_add_item(xdmcp_tree, hf_xdmcp_length, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; switch (opcode) { case XDMCP_FORWARD_QUERY: { gint alen, plen; alen = tvb_get_ntohs(tvb, offset); /* I have never seen anything except IPv4 addresses here, * but in theory the protocol should support other address * families. */ if (alen == 4) { proto_tree_add_item(xdmcp_tree, hf_xdmcp_client_address_ipv4, tvb, offset+2, alen, ENC_BIG_ENDIAN); offset += 6; } else if (alen == 16) { proto_tree_add_item(xdmcp_tree, hf_xdmcp_client_address_ipv6, tvb, offset+2, alen, ENC_NA); offset += 18; } else { offset += xdmcp_add_bytes(xdmcp_tree, hf_xdmcp_client_address_bytes, hf_xdmcp_client_address_bytes_len, tvb, offset); } plen = tvb_get_ntohs(tvb, offset); if (plen == 2) { proto_tree_add_item(xdmcp_tree, hf_xdmcp_client_port_u16, tvb, offset+2, plen, ENC_BIG_ENDIAN); offset += 4; } else { offset += xdmcp_add_bytes(xdmcp_tree, hf_xdmcp_client_port_bytes, hf_xdmcp_client_port_len, tvb, offset); } } /* fall-through */ case XDMCP_BROADCAST_QUERY: case XDMCP_QUERY: case XDMCP_INDIRECT_QUERY: offset += xdmcp_add_authentication_names(xdmcp_tree, tvb, offset); break; case XDMCP_WILLING: offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_authentication_name, tvb, offset); offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_hostname, tvb, offset); offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_status, tvb, offset); break; case XDMCP_UNWILLING: offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_hostname, tvb, offset); offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_status, tvb, offset); break; case XDMCP_REQUEST: { proto_tree *clist_tree; proto_item *clist_ti; gint ctypes_len, caddrs_len, n; gint ctypes_start_offset, caddrs_offset; ti = proto_tree_add_item(xdmcp_tree, hf_xdmcp_display_number, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; ctypes_len = tvb_get_guint8(tvb, offset); ctypes_start_offset = offset; caddrs_offset = offset + 1 + 2*ctypes_len; caddrs_len = tvb_get_guint8(tvb, caddrs_offset); if (ctypes_len != caddrs_len) { expert_add_info(pinfo, ti, &ei_xdmcp_conn_address_mismatch); return offset; } clist_tree = proto_tree_add_subtree_format(xdmcp_tree, tvb, ctypes_start_offset, -1, ett_xdmcp_connections, &clist_ti, "Connections (%d)", ctypes_len); offset++; caddrs_offset++; n = 1; while (ctypes_len > 0) { proto_item *connection_ti; proto_tree *connection_tree; gint alen; gint ctype = tvb_get_ntohs(tvb, offset); offset += 2; alen = tvb_get_ntohs(tvb, caddrs_offset); caddrs_offset += 2; connection_tree = proto_tree_add_subtree_format(clist_tree, tvb, 0, 0, ett_xdmcp_connection, &connection_ti, "Connection %d", n); proto_tree_add_item(connection_tree, hf_xdmcp_connection_type, tvb, offset-2, 2, ENC_BIG_ENDIAN); if ((ctype == 0) && (alen == 4)) { proto_tree_add_item(connection_tree, hf_xdmcp_connection_address_ipv4, tvb, caddrs_offset, alen, ENC_BIG_ENDIAN); proto_item_append_text(connection_ti, ": %s", tvb_ip_to_str(pinfo->pool, tvb, caddrs_offset)); } else if ((ctype == 6) && (alen == 16)) { proto_tree_add_item(connection_tree, hf_xdmcp_connection_address_ipv6, tvb, caddrs_offset, alen, ENC_NA); proto_item_append_text(connection_ti, ": %s", tvb_ip6_to_str(pinfo->pool, tvb, caddrs_offset)); } else { proto_tree_add_item(connection_tree, hf_xdmcp_connection_address_bytes, tvb, caddrs_offset, alen, ENC_NA); } caddrs_offset += alen; ctypes_len--; n++; } offset = caddrs_offset; proto_item_set_len(clist_ti, offset - ctypes_start_offset); offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_authentication_name, tvb, offset); offset += xdmcp_add_bytes(xdmcp_tree, hf_xdmcp_authentication_data, hf_xdmcp_authentication_data_len, tvb, offset); offset += xdmcp_add_authorization_names(xdmcp_tree, tvb, offset); offset += xdmcp_add_bytes(xdmcp_tree, hf_xdmcp_manufacturer_display_id, hf_xdmcp_manufacturer_display_id_len, tvb, offset); break; } case XDMCP_ACCEPT: proto_tree_add_item(xdmcp_tree, hf_xdmcp_session_id, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_authentication_name, tvb, offset); offset += xdmcp_add_bytes(xdmcp_tree, hf_xdmcp_authentication_data, hf_xdmcp_authentication_data_len, tvb, offset); offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_authorization_name, tvb, offset); offset += xdmcp_add_bytes(xdmcp_tree, hf_xdmcp_authorization_data, hf_xdmcp_authorization_data_len, tvb, offset); break; case XDMCP_DECLINE: offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_status, tvb, offset); offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_authentication_name, tvb, offset); offset += xdmcp_add_bytes(xdmcp_tree, hf_xdmcp_authentication_data, hf_xdmcp_authentication_data_len, tvb, offset); break; case XDMCP_MANAGE: proto_tree_add_item(xdmcp_tree, hf_xdmcp_session_id, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; proto_tree_add_item(xdmcp_tree, hf_xdmcp_display_number, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; offset += xdmcp_add_bytes(xdmcp_tree, hf_xdmcp_display_class, hf_xdmcp_display_class_len, tvb, offset); break; case XDMCP_REFUSE: proto_tree_add_item(xdmcp_tree, hf_xdmcp_session_id, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; break; case XDMCP_FAILED: proto_tree_add_item(xdmcp_tree, hf_xdmcp_session_id, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; offset += xdmcp_add_string(xdmcp_tree, hf_xdmcp_status, tvb, offset); break; case XDMCP_KEEPALIVE: proto_tree_add_item(xdmcp_tree, hf_xdmcp_display_number, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; proto_tree_add_item(xdmcp_tree, hf_xdmcp_session_id, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; break; case XDMCP_ALIVE: { guint8 session_running = tvb_get_guint8(tvb, offset); proto_tree_add_uint_format_value(xdmcp_tree, hf_xdmcp_session_running, tvb, offset, 1, session_running, "%s", session_running ? "Yes" : "No"); offset++; proto_tree_add_item(xdmcp_tree, hf_xdmcp_session_id, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } break; default: break; } return offset; } /* Register the protocol with Wireshark */ void proto_register_xdmcp(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_xdmcp_version, { "Version", "xdmcp.version", FT_UINT16, BASE_DEC, NULL, 0, "Protocol version", HFILL } }, { &hf_xdmcp_opcode, { "Opcode", "xdmcp.opcode", FT_UINT16, BASE_HEX, VALS(opcode_vals), 0, NULL, HFILL } }, { &hf_xdmcp_length, { "Message length", "xdmcp.length", FT_UINT16, BASE_DEC, NULL, 0, "Length of the remaining message", HFILL } }, { &hf_xdmcp_authentication_name, { "Authentication name", "xdmcp.authentication_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_authorization_name, { "Authorization name", "xdmcp.authorization_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_hostname, { "Hostname", "xdmcp.hostname", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_status, { "Status", "xdmcp.status", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_session_id, { "Session ID", "xdmcp.session_id", FT_UINT32, BASE_HEX, NULL, 0, "Session identifier", HFILL } }, { &hf_xdmcp_display_number, { "Display number", "xdmcp.display_number", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_manufacturer_display_id_len, { "Manufacturer display ID Length", "xdmcp.manufacturer_display_id_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_manufacturer_display_id, { "Manufacturer display ID", "xdmcp.manufacturer_display_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_display_class_len, { "Display class Length", "xdmcp.display_class_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_display_class, { "Display class", "xdmcp.display_class", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, /* XXX - the following 3 could be the same filter, but mixed types of the same filter seem to cause issues */ { &hf_xdmcp_client_address_ipv4, { "Client Address", "xdmcp.client_address_ipv4", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_client_address_ipv6, { "Client Address", "xdmcp.client_address_ipv6", FT_IPv6, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_client_address_bytes, { "Client Address", "xdmcp.client_address_bytes", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_client_address_bytes_len, { "Client Address Length", "xdmcp.client_address_bytes_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_client_port_len, { "Client port Length", "xdmcp.client_port_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_client_port_bytes, { "Client port", "xdmcp.client_port_bytes", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_client_port_u16, { "Client port", "xdmcp.client_port", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_authentication_data_len, { "Authentication data Length", "xdmcp.authentication_data_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_authentication_data, { "Authentication data", "xdmcp.authentication_data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_authorization_data_len, { "Authorization data Length", "xdmcp.authorization_data_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_authorization_data, { "Authorization data", "xdmcp.authorization_data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, /* XXX - the following 3 could be the same filter, but mixed types of the same filter seem to cause issues */ { &hf_xdmcp_connection_address_ipv4, { "Address", "xdmcp.connection_address_ipv4", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_connection_address_ipv6, { "Address", "xdmcp.connection_address_ipv6", FT_IPv6, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_connection_address_bytes, { "Address", "xdmcp.connection_address_bytes", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_xdmcp_connection_type, { "Type", "xdmcp.connection_type", FT_UINT16, BASE_HEX, VALS(family_vals), 0, NULL, HFILL } }, { &hf_xdmcp_session_running, { "Session running", "xdmcp.session_running", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL } }, }; /* Setup protocol subtree array */ static gint *ett[] = { &ett_xdmcp, &ett_xdmcp_authentication_names, &ett_xdmcp_authorization_names, &ett_xdmcp_connections, &ett_xdmcp_connection }; static ei_register_info ei[] = { { &ei_xdmcp_conn_address_mismatch, { "xdmcp.conn_address_mismatch", PI_PROTOCOL, PI_WARN, "Error: Connection type/address arrays don't match", EXPFILL }}, }; expert_module_t* expert_xdmcp; /* Register the protocol name and description */ proto_xdmcp = proto_register_protocol("X Display Manager Control Protocol", "XDMCP", "xdmcp"); /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_xdmcp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_xdmcp = expert_register_protocol(proto_xdmcp); expert_register_field_array(expert_xdmcp, ei, array_length(ei)); } void proto_reg_handoff_xdmcp(void) { dissector_handle_t xdmcp_handle; xdmcp_handle = create_dissector_handle(dissect_xdmcp, proto_xdmcp); dissector_add_uint_with_preference("udp.port", UDP_PORT_XDMCP, xdmcp_handle); } /* * Editor modelines * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-xip-serval.c
/* packet-xip-serval.c * Routines for XIP Serval dissection * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later * * Serval is a service-centric architecture that has been ported to XIA to * allow applications to communicate using service names. */ #include "config.h" #include <epan/packet.h> #include <epan/expert.h> #include <epan/in_cksum.h> #include <ipproto.h> void proto_register_xip_serval(void); void proto_reg_handoff_xip_serval(void); static dissector_handle_t tcp_handle; static dissector_handle_t udp_handle; static gint proto_xip_serval = -1; /* XIP Serval header. */ static gint hf_xip_serval_hl = -1; static gint hf_xip_serval_proto = -1; static gint hf_xip_serval_check = -1; static gint hf_xip_serval_check_status = -1; /* XIP Serval general extension header. */ static gint hf_xip_serval_ext_type = -1; static gint hf_xip_serval_ext_length = -1; /* XIP Serval control extension header. */ static gint hf_xip_serval_cext = -1; static gint hf_xip_serval_cext_flags = -1; static gint hf_xip_serval_cext_syn = -1; static gint hf_xip_serval_cext_rsyn = -1; static gint hf_xip_serval_cext_ack = -1; static gint hf_xip_serval_cext_nack = -1; static gint hf_xip_serval_cext_rst = -1; static gint hf_xip_serval_cext_fin = -1; static gint hf_xip_serval_cext_verno = -1; static gint hf_xip_serval_cext_ackno = -1; static gint hf_xip_serval_cext_nonce = -1; static gint ett_xip_serval_tree = -1; static gint ett_xip_serval_cext = -1; static gint ett_xip_serval_cext_flags = -1; static expert_field ei_xip_serval_bad_len = EI_INIT; static expert_field ei_xip_serval_bad_proto = EI_INIT; static expert_field ei_xip_serval_bad_checksum = EI_INIT; static expert_field ei_xip_serval_bad_ext = EI_INIT; #define XIP_SERVAL_PROTO_DATA 0 static const value_string xip_serval_proto_vals[] = { { XIP_SERVAL_PROTO_DATA, "Data" }, { IP_PROTO_TCP, "TCP" }, { IP_PROTO_UDP, "UDP" }, { 0, NULL }, }; static int * const xip_serval_cext_flags[] = { &hf_xip_serval_cext_syn, &hf_xip_serval_cext_rsyn, &hf_xip_serval_cext_ack, &hf_xip_serval_cext_nack, &hf_xip_serval_cext_rst, &hf_xip_serval_cext_fin, NULL }; #define XIP_SERVAL_MIN_LEN 4 #define XIP_SERVAL_EXT_MIN_LEN 2 #define XIP_SERVAL_EXT_TYPE_MASK 0xF0 #define XIP_SERVAL_EXT_TYPE_CONTROL 0 #define XIP_SERVAL_CEXT_FLAGS_WIDTH 8 #define XIP_SERVAL_CEXT_NONCE_SIZE 8 #define XIP_SERVAL_CEXT_LEN 20 #define XSRVL_LEN 0 #define XSRVL_PRO 1 #define XSRVL_CHK 2 #define XSRVL_EXT 4 static guint8 display_xip_serval_control_ext(tvbuff_t *tvb, proto_tree *xip_serval_tree, gint offset, guint8 type, guint8 length) { proto_tree *cext_tree; proto_item *ti; /* Create Serval Control Extension tree. */ ti = proto_tree_add_item(xip_serval_tree, hf_xip_serval_cext, tvb, offset, length, ENC_NA); cext_tree = proto_item_add_subtree(ti, ett_xip_serval_cext); /* Add XIP Serval extension type. */ proto_tree_add_uint(cext_tree, hf_xip_serval_ext_type, tvb, offset, 1, type); offset++; /* Add XIP Serval extension length. */ proto_tree_add_item(cext_tree, hf_xip_serval_ext_length, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; /* Create XIP Serval Control Extension flags tree. */ proto_tree_add_bitmask(cext_tree, tvb, offset, hf_xip_serval_cext_flags, ett_xip_serval_cext_flags, xip_serval_cext_flags, ENC_BIG_ENDIAN); /* Skip two bits for res1. */ offset++; /* Skip a byte for res2. */ offset++; /* Add verification number. */ proto_tree_add_item(cext_tree, hf_xip_serval_cext_verno, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; /* Add acknowledgement number. */ proto_tree_add_item(cext_tree, hf_xip_serval_cext_ackno, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; /* Add nonce. */ proto_tree_add_item(cext_tree, hf_xip_serval_cext_nonce, tvb, offset, 8, ENC_NA); /* Displayed XIP_SERVAL_CEXT_LEN bytes. */ return XIP_SERVAL_CEXT_LEN; } static guint8 display_xip_serval_ext(tvbuff_t *tvb, packet_info *pinfo, proto_item *ti, proto_tree *xip_serval_tree, gint offset) { guint8 type = tvb_get_guint8(tvb, offset) & XIP_SERVAL_EXT_TYPE_MASK; guint8 length = tvb_get_guint8(tvb, offset + 1); /* For now, the only type of extension header in XIP Serval is * the control extension header. */ switch (type) { case XIP_SERVAL_EXT_TYPE_CONTROL: return display_xip_serval_control_ext(tvb, xip_serval_tree, offset, type, length); default: expert_add_info_format(pinfo, ti, &ei_xip_serval_bad_ext, "Unrecognized Serval extension header type: 0x%02x", type); return 0; } } static void display_xip_serval(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *xip_serval_tree; proto_item *ti, *hl_ti; tvbuff_t *next_tvb; vec_t cksum_vec; gint offset; guint8 xsh_len, protocol, bytes_remaining; /* Get XIP Serval header length, stored as number of 32-bit words. */ xsh_len = tvb_get_guint8(tvb, XSRVL_LEN) << 2; /* Create XIP Serval header tree. */ ti = proto_tree_add_item(tree, proto_xip_serval, tvb, 0, xsh_len, ENC_NA); xip_serval_tree = proto_item_add_subtree(ti, ett_xip_serval_tree); /* Add XIP Serval header length. */ hl_ti = proto_tree_add_item(xip_serval_tree, hf_xip_serval_hl, tvb, XSRVL_LEN, 1, ENC_BIG_ENDIAN); if (tvb_captured_length(tvb) < xsh_len) expert_add_info_format(pinfo, hl_ti, &ei_xip_serval_bad_len, "Header Length field (%d bytes) cannot be greater than actual number of bytes left in packet (%d bytes)", xsh_len, tvb_captured_length(tvb)); /* Add XIP Serval protocol. If it's not data, TCP, or UDP, the * packet is malformed. */ proto_tree_add_item(xip_serval_tree, hf_xip_serval_proto, tvb, XSRVL_PRO, 1, ENC_BIG_ENDIAN); protocol = tvb_get_guint8(tvb, XSRVL_PRO); if (!try_val_to_str(protocol, xip_serval_proto_vals)) expert_add_info_format(pinfo, ti, &ei_xip_serval_bad_proto, "Unrecognized protocol type: %d", protocol); /* Compute checksum. */ SET_CKSUM_VEC_TVB(cksum_vec, tvb, 0, xsh_len); proto_tree_add_checksum(xip_serval_tree, tvb, XSRVL_CHK, hf_xip_serval_check, hf_xip_serval_check_status, &ei_xip_serval_bad_checksum, pinfo, in_cksum(&cksum_vec, 1), ENC_BIG_ENDIAN, PROTO_CHECKSUM_VERIFY|PROTO_CHECKSUM_IN_CKSUM); offset = XSRVL_EXT; /* If there's still more room, check for extension headers. */ bytes_remaining = xsh_len - offset; while (bytes_remaining >= XIP_SERVAL_EXT_MIN_LEN) { gint8 bytes_displayed = display_xip_serval_ext(tvb, pinfo, ti, xip_serval_tree, offset); /* Extension headers are malformed, so we can't say * what the rest of the packet holds. Stop dissecting. */ if (bytes_displayed <= 0) return; offset += bytes_displayed; bytes_remaining -= bytes_displayed; } switch (protocol) { case XIP_SERVAL_PROTO_DATA: next_tvb = tvb_new_subset_remaining(tvb, offset); call_data_dissector(next_tvb, pinfo, tree); break; case IP_PROTO_TCP: { /* Get the Data Offset field of the TCP header, which is * the high nibble of the 12th octet and represents the * size of the TCP header of 32-bit words. */ guint8 tcp_len = hi_nibble(tvb_get_guint8(tvb, offset + 12))*4; next_tvb = tvb_new_subset_length_caplen(tvb, offset, tcp_len, tcp_len); call_dissector(tcp_handle, next_tvb, pinfo, tree); break; } case IP_PROTO_UDP: /* The UDP header is always 8 bytes. */ next_tvb = tvb_new_subset_length_caplen(tvb, offset, 8, 8); call_dissector(udp_handle, next_tvb, pinfo, tree); break; default: break; } } static gint dissect_xip_serval(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { if (tvb_reported_length(tvb) < XIP_SERVAL_MIN_LEN) return 0; col_append_str(pinfo->cinfo, COL_INFO, " (with Serval)"); display_xip_serval(tvb, pinfo, tree); return tvb_captured_length(tvb); } void proto_register_xip_serval(void) { static hf_register_info hf[] = { /* Serval Header. */ { &hf_xip_serval_hl, { "Header Length", "xip_serval.hl", FT_UINT8, BASE_DEC|BASE_UNIT_STRING, &units_byte_bytes, 0x0, NULL, HFILL }}, { &hf_xip_serval_proto, { "Protocol", "xip_serval.proto", FT_UINT8, BASE_DEC, VALS(xip_serval_proto_vals), 0x0, NULL, HFILL }}, { &hf_xip_serval_check, { "Checksum", "xip_serval.check", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_xip_serval_check_status, { "Checksum Status", "xip_serval.check.status", FT_UINT8, BASE_NONE, VALS(proto_checksum_vals), 0x0, NULL, HFILL }}, /* Serval Extension Header. */ { &hf_xip_serval_ext_type, { "Extension Type", "xip_serval.ext_type", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_serval_ext_length, { "Extension Length", "xip_serval.ext_length", FT_UINT8, BASE_DEC|BASE_UNIT_STRING, &units_byte_bytes, 0x0, NULL, HFILL }}, /* Serval Control Extension Header. */ { &hf_xip_serval_cext, { "Serval Control Extension", "xip_serval.cext", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xip_serval_cext_flags, { "Flags", "xip_serval.cext_flags", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_xip_serval_cext_syn, { "SYN", "xip_serval.cext_syn", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x80, NULL, HFILL }}, { &hf_xip_serval_cext_rsyn, { "RSYN", "xip_serval.cext_rsyn", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x40, NULL, HFILL }}, { &hf_xip_serval_cext_ack, { "ACK", "xip_serval.cext_ack", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x20, NULL, HFILL }}, { &hf_xip_serval_cext_nack, { "NACK", "xip_serval.cext_nack", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x10, NULL, HFILL }}, { &hf_xip_serval_cext_rst, { "RST", "xip_serval.cext_rst", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x08, NULL, HFILL }}, { &hf_xip_serval_cext_fin, { "FIN", "xip_serval.cext_fin", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x04, NULL, HFILL }}, { &hf_xip_serval_cext_verno, { "Version Number", "xip_serval.cext_verno", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_serval_cext_ackno, { "Acknowledgement Number", "xip_serval.cext_ackno", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_serval_cext_nonce, { "Nonce", "xip_serval.cext_nonce", FT_BYTES, SEP_SPACE, NULL, 0x0, NULL, HFILL }} }; static gint *ett[] = { &ett_xip_serval_tree, &ett_xip_serval_cext, &ett_xip_serval_cext_flags }; static ei_register_info ei[] = { { &ei_xip_serval_bad_len, { "xip_serval.bad_len", PI_MALFORMED, PI_ERROR, "Bad header length", EXPFILL }}, { &ei_xip_serval_bad_ext, { "xip_serval.bad_ext", PI_MALFORMED, PI_ERROR, "Bad extension header type", EXPFILL }}, { &ei_xip_serval_bad_proto, { "xip_serval.bad_proto", PI_MALFORMED, PI_ERROR, "Bad protocol type", EXPFILL }}, { &ei_xip_serval_bad_checksum, { "xip_serval.bad_checksum", PI_MALFORMED, PI_ERROR, "Incorrect checksum", EXPFILL }} }; expert_module_t* expert_xip_serval; proto_xip_serval = proto_register_protocol( "XIP Serval", "XIP Serval", "xipserval"); register_dissector("xipserval", dissect_xip_serval, proto_xip_serval); proto_register_field_array(proto_xip_serval, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_xip_serval = expert_register_protocol(proto_xip_serval); expert_register_field_array(expert_xip_serval, ei, array_length(ei)); } void proto_reg_handoff_xip_serval(void) { tcp_handle = find_dissector_add_dependency("tcp", proto_xip_serval); udp_handle = find_dissector_add_dependency("udp", proto_xip_serval); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C
wireshark/epan/dissectors/packet-xip.c
/* packet-xip.c * Routines for XIP dissection * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later * * The eXpressive Internet Protocol (XIP) is the network layer protocol for * the eXpressive Internet Architecture (XIA), a future Internet architecture * project. The addresses in XIP are directed acyclic graphs, so some of the * code in this file verifies the correctness of the DAGs and displays them * in human-readable form. * * More information about XIA can be found here: * https://www.cs.cmu.edu/~xia/ * * And here: * https://github.com/AltraMayor/XIA-for-Linux/wiki * * More information about the format of the DAG can be found here: * https://github.com/AltraMayor/XIA-for-Linux/wiki/Human-readable-XIP-address-format */ #include "config.h" #include <epan/packet.h> #include <epan/expert.h> void proto_register_xip(void); void proto_reg_handoff_xip(void); /* Next dissector handles. */ static dissector_handle_t xip_serval_handle; static gint proto_xip = -1; static gint hf_xip_version = -1; static gint hf_xip_next_hdr = -1; static gint hf_xip_payload_len = -1; static gint hf_xip_hop_limit = -1; static gint hf_xip_num_dst = -1; static gint hf_xip_num_src = -1; static gint hf_xip_last_node = -1; static gint hf_xip_dst_dag = -1; static gint hf_xip_dst_dag_entry = -1; static gint hf_xip_src_dag = -1; static gint hf_xip_src_dag_entry = -1; static gint ett_xip_tree = -1; static gint ett_xip_ddag = -1; static gint ett_xip_sdag = -1; static expert_field ei_xip_invalid_len = EI_INIT; static expert_field ei_xip_next_header = EI_INIT; static expert_field ei_xip_bad_num_dst = EI_INIT; static expert_field ei_xip_bad_num_src = EI_INIT; static dissector_handle_t xip_handle; /* XIA principals. */ #define XIDTYPE_NAT 0x00 #define XIDTYPE_AD 0x10 #define XIDTYPE_HID 0x11 #define XIDTYPE_CID 0x12 #define XIDTYPE_SID 0x13 #define XIDTYPE_UNI4ID 0x14 #define XIDTYPE_I4ID 0x15 #define XIDTYPE_U4ID 0x16 #define XIDTYPE_XDP 0x17 #define XIDTYPE_SRVCID 0x18 #define XIDTYPE_FLOWID 0x19 #define XIDTYPE_ZF 0x20 /* Principal string values. */ static const value_string xidtype_vals[] = { { XIDTYPE_AD, "ad" }, { XIDTYPE_HID, "hid" }, { XIDTYPE_CID, "cid" }, { XIDTYPE_SID, "sid" }, { XIDTYPE_UNI4ID, "uni4id" }, { XIDTYPE_I4ID, "i4id" }, { XIDTYPE_U4ID, "u4id" }, { XIDTYPE_XDP, "xdp" }, { XIDTYPE_SRVCID, "serval" }, { XIDTYPE_FLOWID, "flowid" }, { XIDTYPE_ZF, "zf" }, { 0, NULL } }; enum xia_addr_error { /* There's a non-XIDTYPE_NAT node after an XIDTYPE_NAT node. */ XIAEADDR_NAT_MISPLACED = 1, /* Edge-selected bit is only valid in packets. */ XIAEADDR_CHOSEN_EDGE, /* There's a non-empty edge after an Empty Edge. * This error can also occur if an empty edge is selected. */ XIAEADDR_EE_MISPLACED, /* An edge of a node is out of range. */ XIAEADDR_EDGE_OUT_RANGE, /* The nodes are not in topological order. Notice that being in * topological guarantees that the graph is acyclic, and has a simple, * cheap test. */ XIAEADDR_NOT_TOPOLOGICAL, /* No single component. */ XIAEADDR_MULTI_COMPONENTS, /* Entry node is not present. */ XIAEADDR_NO_ENTRY }; /* Maximum number of nodes in a DAG. */ #define XIA_NODES_MAX 9 /* Number of outgoing edges for each node. */ #define XIA_OUTDEGREE_MAX 4 /* Sizes of an XIA node and its components. */ #define XIA_TYPE_SIZE 4 #define XIA_XID_SIZE 20 #define XIA_EDGES_SIZE 4 #define XIA_NODE_SIZE (XIA_TYPE_SIZE + XIA_XID_SIZE + XIA_EDGES_SIZE) /* Split XID up into 4 byte chunks. */ #define XIA_XID_CHUNK_SIZE 4 typedef guint32 xid_type_t; struct xia_xid { /* XID type. */ xid_type_t xid_type; /* XID, represented as 4 byte ints. */ guint32 xid_id[XIA_XID_SIZE / XIA_XID_CHUNK_SIZE]; }; struct xia_row { struct xia_xid s_xid; /* Outgoing edges. */ union { guint8 a[XIA_OUTDEGREE_MAX]; guint32 i; } s_edge; }; struct xia_addr { struct xia_row s_row[XIA_NODES_MAX]; }; /* XIA_MAX_STRADDR_SIZE - The maximum size of an XIA address as a string * in bytes. It's the recommended size to call xia_ntop with. It includes space * for an invalid sign (i.e. '!'), the type and name of a nodes in * hexadecimal, the out-edges, the two separators (i.e. '-') per node, * the edge-chosen sign (i.e. '>') for each selected edge, * the node separators (i.e. ':' or ":\n"), a string terminator (i.e. '\0'), * and an extra '\n' at the end the caller may want to add. */ #define MAX_PPAL_NAME_SIZE 32 #define XIA_MAX_STRID_SIZE (XIA_XID_SIZE * 2 + 1) #define XIA_MAX_STRXID_SIZE (MAX_PPAL_NAME_SIZE + XIA_MAX_STRID_SIZE) #define XIA_MAX_STRADDR_SIZE (1 + XIA_NODES_MAX * \ (XIA_MAX_STRXID_SIZE + XIA_OUTDEGREE_MAX * 2 + 2) + 1) /* * Validating addresses */ #define XIA_CHOSEN_EDGE 0x80 #define XIA_EMPTY_EDGE 0x7f #define XIA_ENTRY_NODE_INDEX 0x7e #define XIA_EMPTY_EDGES (XIA_EMPTY_EDGE << 24 | XIA_EMPTY_EDGE << 16 |\ XIA_EMPTY_EDGE << 8 | XIA_EMPTY_EDGE) #define XIA_CHOSEN_EDGES (XIA_CHOSEN_EDGE << 24 | XIA_CHOSEN_EDGE << 16 |\ XIA_CHOSEN_EDGE << 8 | XIA_CHOSEN_EDGE) static inline gint is_edge_chosen(guint8 e) { return e & XIA_CHOSEN_EDGE; } static inline gint is_any_edge_chosen(const struct xia_row *row) { return row->s_edge.i & XIA_CHOSEN_EDGES; } static inline gint is_empty_edge(guint8 e) { return (e & XIA_EMPTY_EDGE) == XIA_EMPTY_EDGE; } static inline gint xia_is_nat(xid_type_t ty) { return ty == XIDTYPE_NAT; } static gint xia_are_edges_valid(const struct xia_row *row, guint8 node, guint8 num_node, guint32 *pvisited) { const guint8 *edge; guint32 all_edges, bits; gint i; if (is_any_edge_chosen(row)) { /* Since at least an edge of last_node has already * been chosen, the address is corrupted. */ return -XIAEADDR_CHOSEN_EDGE; } edge = row->s_edge.a; all_edges = g_ntohl(row->s_edge.i); bits = 0xffffffff; for (i = 0; i < XIA_OUTDEGREE_MAX; i++, edge++) { guint8 e; e = *edge; if (e == XIA_EMPTY_EDGE) { if ((all_edges & bits) != (XIA_EMPTY_EDGES & bits)) return -XIAEADDR_EE_MISPLACED; else break; } else if (e >= num_node) { return -XIAEADDR_EDGE_OUT_RANGE; } else if (node < (num_node - 1) && e <= node) { /* Notice that if (node == XIA_ENTRY_NODE_INDEX) * it still works fine because XIA_ENTRY_NODE_INDEX * is greater than (num_node - 1). */ return -XIAEADDR_NOT_TOPOLOGICAL; } bits >>= 8; *pvisited |= 1 << e; } return 0; } static gint xia_test_addr(const struct xia_addr *addr) { gint i, n; gint saw_nat = 0; guint32 visited = 0; /* Test that XIDTYPE_NAT is present only on last rows. */ n = XIA_NODES_MAX; for (i = 0; i < XIA_NODES_MAX; i++) { xid_type_t ty; ty = addr->s_row[i].s_xid.xid_type; if (saw_nat) { if (!xia_is_nat(ty)) return -XIAEADDR_NAT_MISPLACED; } else if (xia_is_nat(ty)) { n = i; saw_nat = 1; } } /* n = number of nodes from here. */ /* Test edges are well formed. */ for (i = 0; i < n; i++) { gint rc; rc = xia_are_edges_valid(&addr->s_row[i], i, n, &visited); if (rc) return rc; } if (n >= 1) { /* Test entry point is present. Notice that it's just a * friendlier error since it's also XIAEADDR_MULTI_COMPONENTS. */ guint32 all_edges; all_edges = addr->s_row[n - 1].s_edge.i; if (all_edges == XIA_EMPTY_EDGES) return -XIAEADDR_NO_ENTRY; if (visited != ((1U << n) - 1)) return -XIAEADDR_MULTI_COMPONENTS; } return n; } /* * Printing addresses out */ #define INDEX_BASE 36 static inline gchar edge_to_char(guint8 e) { const gchar *ch_edge = "0123456789abcdefghijklmnopqrstuvwxyz"; e &= ~XIA_CHOSEN_EDGE; if (e < INDEX_BASE) return ch_edge[e]; else if (is_empty_edge(e)) return '*'; else return '+'; } static void add_edges_to_buf(gint valid, wmem_strbuf_t *buf, const guint8 *edges) { gint i; wmem_strbuf_append_c(buf, '-'); for (i = 0; i < XIA_OUTDEGREE_MAX; i++) { if (valid && edges[i] == XIA_EMPTY_EDGE) return; if (is_edge_chosen(edges[i])) wmem_strbuf_append_c(buf, '>'); wmem_strbuf_append_c(buf, edge_to_char(edges[i])); } } static void add_type_to_buf(xid_type_t ty, wmem_strbuf_t *buf) { const gchar *xid_name; gsize buflen = wmem_strbuf_get_len(buf); if (XIA_MAX_STRADDR_SIZE - buflen - 1 < MAX_PPAL_NAME_SIZE) return; xid_name = try_val_to_str(ty, xidtype_vals); if (xid_name) wmem_strbuf_append_printf(buf, "%s-", xid_name); else wmem_strbuf_append_printf(buf, "0x%x-", ty); } static inline void add_id_to_buf(const struct xia_xid *src, wmem_strbuf_t *buf) { wmem_strbuf_append_printf(buf, "%08x%08x%08x%08x%08x", src->xid_id[0], src->xid_id[1], src->xid_id[2], src->xid_id[3], src->xid_id[4]); } /* xia_ntop - convert an XIA address to a string. * @src can be ill-formed, but xia_ntop won't report an error and will return * a string that approximates that ill-formed address. */ static int xia_ntop(const struct xia_addr *src, wmem_strbuf_t *buf) { gint valid, i; valid = xia_test_addr(src) >= 1; if (!valid) wmem_strbuf_append_c(buf, '!'); for (i = 0; i < XIA_NODES_MAX; i++) { const struct xia_row *row = &src->s_row[i]; if (xia_is_nat(row->s_xid.xid_type)) break; if (i > 0) wmem_strbuf_append(buf, ":\n"); /* Add the type, ID, and edges for this node. */ add_type_to_buf(row->s_xid.xid_type, buf); add_id_to_buf(&row->s_xid, buf); add_edges_to_buf(valid, buf, row->s_edge.a); } return 0; } /* * Dissection */ #define XIPH_MIN_LEN 36 #define ETHERTYPE_XIP 0xC0DE #define XIA_NEXT_HEADER_DATA 0 /* Offsets of XIP fields in bytes. */ #define XIPH_VERS 0 #define XIPH_NXTH 1 #define XIPH_PLEN 2 #define XIPH_HOPL 4 #define XIPH_NDST 5 #define XIPH_NSRC 6 #define XIPH_LSTN 7 #define XIPH_DSTD 8 static void construct_dag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *xip_tree, const gint ett, const gint hf, const gint hf_entry, const guint8 num_nodes, guint8 offset) { proto_tree *dag_tree; proto_item *ti; struct xia_addr dag; wmem_strbuf_t *buf; const gchar *dag_str; guint i, j; guint8 dag_offset = offset; ti = proto_tree_add_item(xip_tree, hf, tvb, offset, num_nodes * XIA_NODE_SIZE, ENC_BIG_ENDIAN); buf = wmem_strbuf_new_sized(pinfo->pool, XIA_MAX_STRADDR_SIZE); dag_tree = proto_item_add_subtree(ti, ett); memset(&dag, 0, sizeof(dag)); for (i = 0; i < num_nodes; i++) { struct xia_row *row = &dag.s_row[i]; row->s_xid.xid_type = tvb_get_ntohl(tvb, offset); offset += XIA_TYPE_SIZE; /* Process the ID 32 bits at a time. */ for (j = 0; j < XIA_XID_SIZE / XIA_XID_CHUNK_SIZE; j++) { row->s_xid.xid_id[j] = tvb_get_ntohl(tvb, offset); offset += XIA_XID_CHUNK_SIZE; } /* Need to process the edges byte-by-byte, * so keep the bytes in network order. */ tvb_memcpy(tvb, row->s_edge.a, offset, XIA_EDGES_SIZE); offset += XIA_EDGES_SIZE; } xia_ntop(&dag, buf); dag_str = wmem_strbuf_get_str(buf); proto_tree_add_string_format(dag_tree, hf_entry, tvb, dag_offset, XIA_NODE_SIZE * num_nodes, dag_str, "%s", dag_str); } static gint dissect_xip_sink_node(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint8 sink_node) { tvbuff_t *next_tvb; switch (sink_node) { /* Serval XID types. */ case XIDTYPE_FLOWID: case XIDTYPE_SRVCID: next_tvb = tvb_new_subset_remaining(tvb, offset); return call_dissector(xip_serval_handle, next_tvb, pinfo, tree); /* No special sink processing. */ default: return 0; } } static gint dissect_xip_next_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *next_ti, gint offset) { tvbuff_t *next_tvb; guint8 next_header = tvb_get_guint8(tvb, XIPH_NXTH); switch (next_header) { case XIA_NEXT_HEADER_DATA: next_tvb = tvb_new_subset_remaining(tvb, offset); return call_data_dissector(next_tvb, pinfo, tree); default: expert_add_info_format(pinfo, next_ti, &ei_xip_next_header, "Unrecognized next header type: 0x%02x", next_header); return 0; } } static void display_xip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *xip_tree = NULL; proto_item *ti = NULL; proto_item *payload_ti = NULL; proto_item *next_ti = NULL; proto_item *num_ti = NULL; gint offset; guint16 xiph_len, payload_len; guint8 num_dst_nodes, num_src_nodes, last_node; num_dst_nodes = tvb_get_guint8(tvb, XIPH_NDST); num_src_nodes = tvb_get_guint8(tvb, XIPH_NSRC); xiph_len = 8 + (XIA_NODE_SIZE * num_dst_nodes) + (XIA_NODE_SIZE * num_src_nodes); /* Construct protocol tree. */ ti = proto_tree_add_item(tree, proto_xip, tvb, 0, xiph_len, ENC_NA); xip_tree = proto_item_add_subtree(ti, ett_xip_tree); /* Add XIP version. */ proto_tree_add_item(xip_tree, hf_xip_version, tvb, XIPH_VERS, 1, ENC_BIG_ENDIAN); /* Add XIP next header. */ next_ti = proto_tree_add_item(xip_tree, hf_xip_next_hdr, tvb, XIPH_NXTH, 1, ENC_BIG_ENDIAN); /* Add XIP payload length. */ payload_len = tvb_get_ntohs(tvb, XIPH_PLEN); payload_ti = proto_tree_add_uint_format(xip_tree, hf_xip_payload_len, tvb, XIPH_PLEN, 2, payload_len, "Payload Length: %u bytes", payload_len); if (tvb_captured_length_remaining(tvb, xiph_len) != payload_len) expert_add_info_format(pinfo, payload_ti, &ei_xip_invalid_len, "Payload length field (%d bytes) does not match actual payload length (%d bytes)", payload_len, tvb_captured_length_remaining(tvb, xiph_len)); /* Add XIP hop limit. */ proto_tree_add_item(xip_tree, hf_xip_hop_limit, tvb, XIPH_HOPL, 1, ENC_BIG_ENDIAN); /* Add XIP number of destination DAG nodes. */ num_ti = proto_tree_add_item(xip_tree, hf_xip_num_dst, tvb, XIPH_NDST, 1, ENC_BIG_ENDIAN); if (num_dst_nodes > XIA_NODES_MAX) { expert_add_info_format(pinfo, num_ti, &ei_xip_bad_num_dst, "The number of destination DAG nodes (%d) must be less than XIA_NODES_MAX (%d)", num_dst_nodes, XIA_NODES_MAX); num_dst_nodes = XIA_NODES_MAX; } /* Add XIP number of source DAG nodes. */ num_ti = proto_tree_add_item(xip_tree, hf_xip_num_src, tvb, XIPH_NSRC, 1, ENC_BIG_ENDIAN); if (num_src_nodes > XIA_NODES_MAX) { expert_add_info_format(pinfo, num_ti, &ei_xip_bad_num_src, "The number of source DAG nodes (%d) must be less than XIA_NODES_MAX (%d)", num_src_nodes, XIA_NODES_MAX); num_src_nodes = XIA_NODES_MAX; } /* Add XIP last node. */ last_node = tvb_get_guint8(tvb, XIPH_LSTN); proto_tree_add_uint_format_value(xip_tree, hf_xip_last_node, tvb, XIPH_LSTN, 1, last_node, "%d%s", last_node, last_node == XIA_ENTRY_NODE_INDEX ? " (entry node)" : ""); /* Construct Destination DAG subtree. */ if (num_dst_nodes > 0) construct_dag(tvb, pinfo, xip_tree, ett_xip_ddag, hf_xip_dst_dag, hf_xip_dst_dag_entry, num_dst_nodes, XIPH_DSTD); /* Construct Source DAG subtree. */ if (num_src_nodes > 0) construct_dag(tvb, pinfo, xip_tree, ett_xip_sdag, hf_xip_src_dag, hf_xip_src_dag_entry, num_src_nodes, XIPH_DSTD + num_dst_nodes * XIA_NODE_SIZE); /* First byte after XIP header. */ offset = XIPH_DSTD + XIA_NODE_SIZE * (num_dst_nodes + num_src_nodes); /* Dissect other headers according to the sink node, if needed. */ offset += dissect_xip_sink_node(tvb, pinfo, tree, offset, tvb_get_ntohl(tvb, XIPH_DSTD + (num_dst_nodes - 1) * XIA_NODE_SIZE)); dissect_xip_next_header(tvb, pinfo, tree, next_ti, offset); } static gint dissect_xip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { /* Not large enough to be valid XIP packet. */ if (tvb_reported_length(tvb) < XIPH_MIN_LEN) return 0; col_set_str(pinfo->cinfo, COL_PROTOCOL, "XIP"); col_set_str(pinfo->cinfo, COL_INFO, "XIP Packet"); display_xip(tvb, pinfo, tree); return tvb_captured_length(tvb); } void proto_register_xip(void) { static hf_register_info hf[] = { /* XIP Header. */ { &hf_xip_version, { "Version", "xip.version", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_next_hdr, { "Next Header", "xip.next_hdr", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_payload_len, { "Payload Length", "xip.payload_len", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_hop_limit, { "Hop Limit", "xip.hop_limit", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_num_dst, { "Number of Destination Nodes", "xip.num_dst", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_num_src, { "Number of Source Nodes", "xip.num_src", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_last_node, { "Last Node", "xip.last_node", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xip_dst_dag, { "Destination DAG", "xip.dst_dag", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xip_dst_dag_entry, { "Destination DAG Entry", "xip.dst_dag_entry", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xip_src_dag, { "Source DAG", "xip.src_dag", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xip_src_dag_entry, { "Source DAG Entry", "xip.src_dag_entry", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }} }; static gint *ett[] = { &ett_xip_tree, &ett_xip_ddag, &ett_xip_sdag }; static ei_register_info ei[] = { { &ei_xip_invalid_len, { "xip.invalid.len", PI_MALFORMED, PI_ERROR, "Invalid length", EXPFILL }}, { &ei_xip_next_header, { "xip.next.header", PI_MALFORMED, PI_ERROR, "Invalid next header", EXPFILL }}, { &ei_xip_bad_num_dst, { "xip.bad_num_dst", PI_MALFORMED, PI_ERROR, "Invalid number of destination DAG nodes", EXPFILL }}, { &ei_xip_bad_num_src, { "xip.bad_num_src", PI_MALFORMED, PI_ERROR, "Invalid number of source DAG nodes", EXPFILL }} }; expert_module_t* expert_xip; proto_xip = proto_register_protocol( "eXpressive Internet Protocol", "XIP", "xip"); xip_handle = register_dissector("xip", dissect_xip, proto_xip); proto_register_field_array(proto_xip, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_xip = expert_register_protocol(proto_xip); expert_register_field_array(expert_xip, ei, array_length(ei)); } void proto_reg_handoff_xip(void) { dissector_add_uint("ethertype", ETHERTYPE_XIP, xip_handle); xip_serval_handle = find_dissector_add_dependency("xipserval", proto_xip); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C
wireshark/epan/dissectors/packet-xmcp.c
/* packet-xmcp.c * Routines for eXtensible Messaging Client Protocol (XMCP) dissection * Copyright 2011, Glenn Matthews <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Copied from packet-stun.c * * SPDX-License-Identifier: GPL-2.0-or-later * * * XMCP is a proprietary Cisco protocol based very loosely on the * Session Traversal Utilities for NAT (STUN) protocol. * This dissector is capable of understanding XMCP versions 1.0 and 2.0. */ #include "config.h" #include <epan/packet.h> #include <epan/ipproto.h> #include <epan/addr_resolv.h> #include <epan/expert.h> #include "packet-tcp.h" void proto_register_xmcp(void); static dissector_table_t media_type_dissector_table; /* Initialize the protocol and registered fields */ static int proto_xmcp = -1; static int hf_xmcp_response_in = -1; static int hf_xmcp_response_to = -1; static int hf_xmcp_time = -1; typedef struct _xmcp_transaction_t { guint32 request_frame; guint32 response_frame; nstime_t request_time; gboolean request_is_keepalive; } xmcp_transaction_t; typedef struct _xmcp_conv_info_t { wmem_tree_t *transaction_pdus; } xmcp_conv_info_t; static int hf_xmcp_type = -1; static int hf_xmcp_type_reserved = -1; static int hf_xmcp_type_class = -1; static int hf_xmcp_type_method = -1; static int hf_xmcp_length = -1; static int hf_xmcp_cookie = -1; static int hf_xmcp_id = -1; static int hf_xmcp_attributes = -1; static int hf_xmcp_attr = -1; static int hf_xmcp_msg_is_keepalive = -1; static int xmcp_attr_type = -1; static int xmcp_attr_length = -1; static int xmcp_attr_value = -1; /* generic value for unrecognized attrs */ static int xmcp_attr_padding = -1; /* generic value for TLV padding bytes */ static int xmcp_attr_reserved = -1; static int xmcp_attr_username = -1; static int xmcp_attr_message_integrity = -1; static int xmcp_attr_error_reserved = -1; static int xmcp_attr_error_class = -1; static int xmcp_attr_error_number = -1; static int xmcp_attr_error_code = -1; static int xmcp_attr_error_reason = -1; static int xmcp_attr_realm = -1; static int xmcp_attr_nonce = -1; static int xmcp_attr_client_name = -1; static int xmcp_attr_client_handle = -1; static int xmcp_attr_version_major = -1; static int xmcp_attr_version_minor = -1; static int xmcp_attr_page_size = -1; static int xmcp_attr_client_label = -1; static int xmcp_attr_keepalive = -1; static int xmcp_attr_serv_service = -1; static int xmcp_attr_serv_subservice = -1; static int xmcp_attr_serv_instance = -1; static int xmcp_attr_servtrans_family = -1; static int xmcp_attr_servtrans_port = -1; static int xmcp_attr_servtrans_ipv4 = -1; static int xmcp_attr_servtrans_ipv6 = -1; static int xmcp_attr_service_protocol = -1; static int xmcp_attr_flag = -1; static int xmcp_attr_flag_type = -1; static int xmcp_attr_flag_value = -1; static int xmcp_attr_flag_removal_reason_network_withdraw = -1; static int xmcp_attr_flag_removal_reason_reserved = -1; static int xmcp_attr_flag_trust = -1; static int xmcp_attr_flag_visibility_unauthenticated = -1; static int xmcp_attr_flag_visibility_reserved = -1; static int xmcp_attr_service_version = -1; static int xmcp_attr_service_data = -1; static int xmcp_attr_subscription_id = -1; static int xmcp_attr_service_removed_reason = -1; static int xmcp_attr_domain = -1; static gint ett_xmcp = -1; static gint ett_xmcp_type = -1; static gint ett_xmcp_attr_all = -1; static gint ett_xmcp_attr = -1; static gint ett_xmcp_attr_flag = -1; static expert_field ei_xmcp_message_class_reserved = EI_INIT; static expert_field ei_xmcp_attr_length_bad = EI_INIT; static expert_field ei_xmcp_attr_error_number_out_of_range = EI_INIT; static expert_field ei_xmcp_type_reserved_not_zero = EI_INIT; static expert_field ei_xmcp_data_following_message_integrity = EI_INIT; static expert_field ei_xmcp_msg_type_method_reserved = EI_INIT; static expert_field ei_xmcp_xmcp_attr_servtrans_unknown = EI_INIT; static expert_field ei_xmcp_attr_realm_incorrect = EI_INIT; static expert_field ei_xmcp_new_session = EI_INIT; static expert_field ei_xmcp_response_without_request = EI_INIT; static expert_field ei_xmcp_length_bad = EI_INIT; static expert_field ei_xmcp_error_response = EI_INIT; static expert_field ei_xmcp_magic_cookie_incorrect = EI_INIT; static expert_field ei_xmcp_attr_type_unknown = EI_INIT; static expert_field ei_xmcp_session_termination = EI_INIT; static expert_field ei_xmcp_attr_error_code_unusual = EI_INIT; #define TCP_PORT_XMCP 4788 #define XMCP_MAGIC_COOKIE 0x7f5a9bc7 void proto_reg_handoff_xmcp(void); #define XMCP_HDR_LEN 20 #define XMCP_ATTR_HDR_LEN 4 #define XMCP_TYPE_RESERVED 0xc000 #define XMCP_TYPE_CLASS 0x0110 #define XMCP_TYPE_METHOD 0x3eef static int * const xmcp_type_fields[] = { &hf_xmcp_type_reserved, &hf_xmcp_type_method, &hf_xmcp_type_class, NULL }; #define XMCP_CLASS_REQUEST 0x00 #define XMCP_CLASS_RESERVED 0x01 #define XMCP_CLASS_RESPONSE_SUCCESS 0x10 #define XMCP_CLASS_RESPONSE_ERROR 0x11 static const value_string classes[] = { {XMCP_CLASS_REQUEST, "Request"}, {XMCP_CLASS_RESERVED, "RESERVED-CLASS"}, {XMCP_CLASS_RESPONSE_SUCCESS, "Success Response"}, {XMCP_CLASS_RESPONSE_ERROR, "Error Response"}, {0, NULL} }; #define XMCP_METHOD_ILLEGAL 0x000 #define XMCP_METHOD_REGISTER 0x001 #define XMCP_METHOD_UNREGISTER 0x002 #define XMCP_METHOD_REG_REVOKE 0x003 #define XMCP_METHOD_PUBLISH 0x004 #define XMCP_METHOD_UNPUBLISH 0x005 #define XMCP_METHOD_PUB_REVOKE 0x006 #define XMCP_METHOD_SUBSCRIBE 0x007 #define XMCP_METHOD_UNSUBSCRIBE 0x008 #define XMCP_METHOD_WITHDRAW 0x009 #define XMCP_METHOD_NOTIFY 0x00a #define XMCP_METHOD_KEEPALIVE 0x00b static const value_string methods[] = { {XMCP_METHOD_ILLEGAL, "Illegal"}, {XMCP_METHOD_REGISTER, "Register"}, {XMCP_METHOD_UNREGISTER, "Unregister"}, {XMCP_METHOD_REG_REVOKE, "RegisterRevoke"}, {XMCP_METHOD_PUBLISH, "Publish"}, {XMCP_METHOD_UNPUBLISH, "Unpublish"}, {XMCP_METHOD_PUB_REVOKE, "PublishRevoke"}, {XMCP_METHOD_SUBSCRIBE, "Subscribe"}, {XMCP_METHOD_UNSUBSCRIBE, "Unsubscribe"}, {XMCP_METHOD_WITHDRAW, "Withdraw"}, {XMCP_METHOD_NOTIFY, "Notify"}, {XMCP_METHOD_KEEPALIVE, "Keepalive"}, {0, NULL} }; #define XMCP_USERNAME 0x0006 #define XMCP_MESSAGE_INTEGRITY 0x0008 #define XMCP_ERROR_CODE 0x0009 #define XMCP_REALM 0x0014 #define XMCP_NONCE 0x0015 #define XMCP_CLIENT_NAME 0x1001 #define XMCP_CLIENT_HANDLE 0x1002 #define XMCP_PROTOCOL_VERSION 0x1003 #define XMCP_PAGE_SIZE 0x1004 #define XMCP_CLIENT_LABEL 0x1005 #define XMCP_KEEPALIVE 0x1006 #define XMCP_SERVICE_IDENTITY 0x1007 #define XMCP_SERVICE_TRANSPORT 0x1008 #define XMCP_SERVICE_PROTOCOL 0x1009 #define XMCP_FLAGS 0x100a #define XMCP_SERVICE_VERSION 0x100b #define XMCP_SERVICE_DATA 0x100c #define XMCP_SUBSCRIPTION_ID 0x100e #define XMCP_SERVICE_REMOVED_REASON 0x100f #define XMCP_DOMAIN 0x1011 static const value_string attributes[] = { /* Attributes inherited from STUN */ {XMCP_USERNAME, "Username"}, {XMCP_MESSAGE_INTEGRITY, "Message-Integrity"}, {XMCP_ERROR_CODE, "Error-Code"}, {XMCP_REALM, "Realm"}, {XMCP_NONCE, "Nonce"}, /* Attributes specific to XMCP */ {XMCP_CLIENT_NAME, "Client-Name"}, {XMCP_CLIENT_HANDLE, "Client-Handle"}, {XMCP_PROTOCOL_VERSION, "Protocol-Version"}, {XMCP_PAGE_SIZE, "PageSize"}, {XMCP_CLIENT_LABEL, "ClientLabel"}, {XMCP_KEEPALIVE, "Keepalive"}, {XMCP_SERVICE_IDENTITY, "ServiceIdentity"}, {XMCP_SERVICE_TRANSPORT, "ServiceTransportAddr"}, {XMCP_SERVICE_PROTOCOL, "ServiceProtocol"}, {XMCP_FLAGS, "Flags"}, {XMCP_SERVICE_VERSION, "ServiceVersion"}, {XMCP_SERVICE_DATA, "ServiceData"}, {XMCP_SUBSCRIPTION_ID, "SubscriptionID"}, {XMCP_SERVICE_REMOVED_REASON, "ServiceRemovedReason"}, {XMCP_DOMAIN, "Domain"}, {0, NULL} }; static const value_string error_codes[] = { {400, "Bad Request"}, {401, "Unauthorized"}, {413, "Request Too Large"}, {431, "Integrity Check Failure"}, {435, "Nonce Required"}, {436, "Unknown Username"}, {438, "Stale Nonce"}, {471, "Bad Client Handle"}, {472, "Version Number Too Low"}, {473, "Unknown Service"}, {474, "Unregistered"}, {475, "Invalid ServiceIdentity"}, {476, "Unknown Subscription"}, {477, "Already Registered"}, {478, "Unsupported Protocol Version"}, {479, "Unknown or Forbidden Domain"}, {499, "Miscellaneous Request Error"}, {500, "Responder Error"}, {501, "Not Implemented"}, {0, NULL} }; static const value_string address_families[] = { {0x01, "IPv4"}, {0x02, "IPv6"}, {0, NULL} }; #define XMCP_FLAG_REMOVAL_REASON 0x0001 #define XMCP_FLAG_TRUST 0x0002 #define XMCP_FLAG_SERVICE_VISIBILITY 0x0003 static const value_string flag_types[] = { {XMCP_FLAG_REMOVAL_REASON, "Removal Reason"}, {XMCP_FLAG_TRUST, "Trust"}, {XMCP_FLAG_SERVICE_VISIBILITY, "Service Visibility"}, {0, NULL} }; /* Values for specific flag types */ #define XMCP_REMOVAL_REASON_NETWORK_WITHDRAW 0x0001 #define XMCP_REMOVAL_REASON_RESERVED 0xfffe #define XMCP_TRUST_LOCAL 0 #define XMCP_TRUST_LEARNED 1 static const value_string flag_trust_values[] = { {XMCP_TRUST_LOCAL, "Local"}, {XMCP_TRUST_LEARNED, "Learned"}, {0, NULL} }; #define XMCP_SERVICE_VISIBILITY_UNAUTHENTICATED 0x0001 #define XMCP_SERVICE_VISIBILITY_RESERVED 0xfffe static const value_string service_removed_reasons[] = { {0, "Network withdraw"}, {1, "Source withdraw"}, {0, NULL} }; /* Dissector state variables */ static guint16 xmcp_msg_type_method = XMCP_METHOD_ILLEGAL; static guint16 xmcp_msg_type_class = XMCP_CLASS_RESERVED; static gboolean xmcp_msg_is_keepalive = FALSE; static gint16 xmcp_service_protocol = -1; static gint32 xmcp_service_port = -1; static proto_item *xmcp_it_service_port = NULL; static guint get_xmcp_message_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { return(XMCP_HDR_LEN + tvb_get_ntohs(tvb, offset+2)); } static guint16 get_xmcp_attr_padded_len(guint16 attr_length) { /* * As in STUN, all XMCP attributes report their length in bytes, * but are padded to the next 4-byte multiple. */ return((attr_length + 3) & 0xfffc); } static guint16 get_xmcp_attr_fixed_len(guint16 xmcp_attr) { /* * For fixed-length attributes, return their length. * For variable-length attributes, return 0. */ switch (xmcp_attr) { case XMCP_CLIENT_HANDLE: case XMCP_PROTOCOL_VERSION: case XMCP_PAGE_SIZE: case XMCP_KEEPALIVE: case XMCP_SERVICE_PROTOCOL: case XMCP_SERVICE_VERSION: case XMCP_SUBSCRIPTION_ID: case XMCP_SERVICE_REMOVED_REASON: case XMCP_DOMAIN: return(4); case XMCP_SERVICE_IDENTITY: return(20); default: return(0); } } static guint16 get_xmcp_attr_min_len(guint16 xmcp_attr) { switch (xmcp_attr) { case XMCP_USERNAME: case XMCP_NONCE: case XMCP_CLIENT_NAME: case XMCP_CLIENT_LABEL: return(1); case XMCP_ERROR_CODE: return(4); case XMCP_SERVICE_TRANSPORT: return(8); /* 4-byte fixed plus an IPv4 address */ case XMCP_MESSAGE_INTEGRITY: return(20); /* HMAC-SHA1 */ default: return(get_xmcp_attr_fixed_len(xmcp_attr)); } } static guint16 get_xmcp_attr_max_len(guint16 xmcp_attr) { guint16 fixed_len; switch (xmcp_attr) { case XMCP_SERVICE_TRANSPORT: return(20); /* 4-byte fixed plus an IPv6 address */ case XMCP_MESSAGE_INTEGRITY: return(32); /* HMAC-SHA-256 */ case XMCP_NONCE: case XMCP_CLIENT_NAME: case XMCP_CLIENT_LABEL: return(255); default: fixed_len = get_xmcp_attr_fixed_len(xmcp_attr); return(fixed_len ? fixed_len : 0xffff); } } static void add_xmcp_port_name (packet_info *pinfo) { if (!xmcp_it_service_port || xmcp_service_port == -1) return; switch(xmcp_service_protocol) { case IP_PROTO_TCP: proto_item_append_text(xmcp_it_service_port, " (TCP: %s)", tcp_port_to_display(pinfo->pool, xmcp_service_port)); break; case IP_PROTO_UDP: proto_item_append_text(xmcp_it_service_port, " (UDP: %s)", udp_port_to_display(pinfo->pool, xmcp_service_port)); break; case IP_PROTO_DCCP: proto_item_append_text(xmcp_it_service_port, " (DCCP: %s)", dccp_port_to_display(pinfo->pool, xmcp_service_port)); break; case IP_PROTO_SCTP: proto_item_append_text(xmcp_it_service_port, " (SCTP: %s)", sctp_port_to_display(pinfo->pool, xmcp_service_port)); break; default: break; } } static void decode_xmcp_attr_value (proto_tree *attr_tree, guint16 attr_type, guint16 attr_length, tvbuff_t *tvb, guint16 offset, packet_info *pinfo) { proto_item *it; switch (attr_type) { case XMCP_USERNAME: proto_tree_add_item(attr_tree, xmcp_attr_username, tvb, offset, attr_length, ENC_ASCII); proto_item_append_text(attr_tree, ": %s", tvb_get_string_enc(pinfo->pool, tvb, offset, attr_length, ENC_ASCII)); /* * Many message methods may include this attribute, * but it's only interesting when Registering at first */ if (xmcp_msg_type_method == XMCP_METHOD_REGISTER) { col_append_fstr(pinfo->cinfo, COL_INFO, ", user \"%s\"", tvb_get_string_enc(pinfo->pool, tvb, offset, attr_length, ENC_ASCII)); } break; case XMCP_MESSAGE_INTEGRITY: proto_tree_add_item(attr_tree, xmcp_attr_message_integrity, tvb, offset, attr_length, ENC_NA); /* Message-integrity should be the last attribute in the message */ if ((guint)(offset + get_xmcp_attr_padded_len(attr_length)) < tvb_reported_length(tvb)) { expert_add_info(pinfo, attr_tree, &ei_xmcp_data_following_message_integrity); } break; case XMCP_ERROR_CODE: if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_error_reserved, tvb, offset, 3, ENC_BIG_ENDIAN); proto_tree_add_item(attr_tree, xmcp_attr_error_class, tvb, offset, 3, ENC_BIG_ENDIAN); { guint8 error_class, error_number; guint16 error_code; it = proto_tree_add_item(attr_tree, xmcp_attr_error_number, tvb, (offset+3), 1, ENC_BIG_ENDIAN); error_class = tvb_get_guint8(tvb, offset+2) & 0x07; error_number = tvb_get_guint8(tvb, offset+3); if (error_number > 99) { expert_add_info(pinfo, it, &ei_xmcp_attr_error_number_out_of_range); } else { /* Error code = error class + (error num % 100) */ error_code = (error_class * 100) + error_number; it = proto_tree_add_uint(attr_tree, xmcp_attr_error_code, tvb, (offset+2), 2, error_code); proto_item_set_generated(it); proto_item_append_text(attr_tree, ": %d", error_code); col_append_fstr(pinfo->cinfo, COL_INFO, ", error %d (%s)", error_code, val_to_str_const(error_code, error_codes, "Unknown")); /* * All error responses default to a PI_NOTE severity. * Some specific error codes are more significant, so mark them up. */ switch (error_code) { case 400: /* Bad Request */ case 431: /* Integrity Check Failure */ case 473: /* Unknown Service */ case 476: /* Unknown Subscription */ case 477: /* Already Registered */ case 499: /* Miscellaneous Request Error */ case 500: /* Responder Error */ expert_add_info_format(pinfo, it, &ei_xmcp_attr_error_code_unusual, "Unusual error code (%u, %s)", error_code, val_to_str_const(error_code, error_codes, "Unknown")); break; default: break; } } } if (attr_length < 5) break; proto_tree_add_item(attr_tree, xmcp_attr_error_reason, tvb, (offset+4), (attr_length - 4), ENC_ASCII); proto_item_append_text(attr_tree, " (%s)", tvb_get_string_enc(pinfo->pool, tvb, (offset+4), (attr_length-4), ENC_ASCII)); break; case XMCP_REALM: it = proto_tree_add_item(attr_tree, xmcp_attr_realm, tvb, offset, attr_length, ENC_ASCII); { guint8 *realm; realm = tvb_get_string_enc(pinfo->pool, tvb, offset, attr_length, ENC_ASCII); proto_item_append_text(attr_tree, ": %s", realm); /* In XMCP the REALM string should always be "SAF" including the quotes */ if (attr_length != 5 || strncmp(realm, "\"SAF\"", attr_length)) { expert_add_info(pinfo, it, &ei_xmcp_attr_realm_incorrect); } } break; case XMCP_NONCE: proto_tree_add_item(attr_tree, xmcp_attr_nonce, tvb, offset, attr_length, ENC_ASCII); proto_item_append_text(attr_tree, ": %s", tvb_get_string_enc(pinfo->pool, tvb, offset, attr_length, ENC_ASCII)); break; case XMCP_CLIENT_NAME: proto_tree_add_item(attr_tree, xmcp_attr_client_name, tvb, offset, attr_length, ENC_ASCII); proto_item_append_text(attr_tree, ": %s", tvb_get_string_enc(pinfo->pool, tvb, offset, attr_length, ENC_ASCII)); col_append_fstr(pinfo->cinfo, COL_INFO, ", name \"%s\"", tvb_get_string_enc(pinfo->pool, tvb, offset, attr_length, ENC_ASCII)); break; case XMCP_CLIENT_HANDLE: if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_client_handle, tvb, offset, 4, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %u", tvb_get_ntohl(tvb, offset)); col_append_fstr(pinfo->cinfo, COL_INFO, ", handle %u", tvb_get_ntohl(tvb, offset)); /* * A Register request containing a Client-Handle is considered * to be a Keepalive. */ if (xmcp_msg_type_method == XMCP_METHOD_REGISTER && xmcp_msg_type_class == XMCP_CLASS_REQUEST) { xmcp_msg_is_keepalive = TRUE; } break; case XMCP_PROTOCOL_VERSION: if (attr_length < 2) break; proto_tree_add_item(attr_tree, xmcp_attr_version_major, tvb, offset, 2, ENC_BIG_ENDIAN); if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_version_minor, tvb, (offset+2), 2, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %u.%u", tvb_get_ntohs(tvb, offset), tvb_get_ntohs(tvb, (offset+2))); break; case XMCP_PAGE_SIZE: if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_page_size, tvb, offset, 4, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %u", tvb_get_ntohl(tvb, offset)); break; case XMCP_CLIENT_LABEL: proto_tree_add_item(attr_tree, xmcp_attr_client_label, tvb, offset, attr_length, ENC_ASCII); proto_item_append_text(attr_tree, ": %s", tvb_get_string_enc(pinfo->pool, tvb, offset, attr_length, ENC_ASCII)); col_append_fstr(pinfo->cinfo, COL_INFO, ", label \"%s\"", tvb_get_string_enc(pinfo->pool, tvb, offset, attr_length, ENC_ASCII)); break; case XMCP_KEEPALIVE: if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_keepalive, tvb, offset, 4, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %u", tvb_get_ntohl(tvb, offset)); break; case XMCP_SERVICE_IDENTITY: if (attr_length < 2) break; proto_tree_add_item(attr_tree, xmcp_attr_serv_service, tvb, offset, 2, ENC_BIG_ENDIAN); if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_serv_subservice, tvb, (offset+2), 2, ENC_BIG_ENDIAN); if (attr_length < 20) break; proto_tree_add_item(attr_tree, xmcp_attr_serv_instance, tvb, (offset+4), 16, ENC_BIG_ENDIAN); { e_guid_t guid; char buf[GUID_STR_LEN]; tvb_get_guid(tvb, (offset+4), &guid, ENC_BIG_ENDIAN); guid_to_str_buf(&guid, buf, sizeof(buf)); proto_item_append_text(attr_tree, ": %u:%u:%s", tvb_get_ntohs(tvb, offset), tvb_get_ntohs(tvb, (offset+2)), buf); col_append_fstr(pinfo->cinfo, COL_INFO, ", service %u:%u:%s", tvb_get_ntohs(tvb, offset), tvb_get_ntohs(tvb, (offset+2)), buf); } break; case XMCP_SERVICE_TRANSPORT: /* * One byte of padding, one byte indicating family, * two bytes for port, followed by addr */ if (attr_length < 1) break; proto_tree_add_item(attr_tree, xmcp_attr_reserved, tvb, offset, 1, ENC_NA); if (attr_length < 2) break; proto_tree_add_item(attr_tree, xmcp_attr_servtrans_family, tvb, (offset+1), 1, ENC_BIG_ENDIAN); if (attr_length < 4) break; xmcp_service_port = tvb_get_ntohs(tvb, (offset+2)); xmcp_it_service_port = proto_tree_add_item(attr_tree, xmcp_attr_servtrans_port, tvb, (offset+2), 2, ENC_BIG_ENDIAN); /* If we now know both port and protocol number, fill in the port name */ if (xmcp_service_protocol != -1) { add_xmcp_port_name(pinfo); } switch (tvb_get_guint8(tvb, (offset+1))) { case 0x01: /* IPv4 */ if (attr_length != 8) { expert_add_info_format(pinfo, attr_tree, &ei_xmcp_attr_length_bad, "Malformed IPv4 address"); } else { proto_tree_add_item(attr_tree, xmcp_attr_servtrans_ipv4, tvb, (offset+4), 4, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %s:%u", tvb_ip_to_str(pinfo->pool, tvb, offset+4), tvb_get_ntohs(tvb, (offset+2))); } break; case 0x02: /* IPv6 */ if (attr_length != 20) { expert_add_info_format(pinfo, attr_tree, &ei_xmcp_attr_length_bad, "Malformed IPv6 address"); } else { proto_tree_add_item(attr_tree, xmcp_attr_servtrans_ipv6, tvb, (offset+4), 16, ENC_NA); proto_item_append_text(attr_tree, ": [%s]:%u", tvb_ip6_to_str(pinfo->pool, tvb, (offset+4)), tvb_get_ntohs(tvb, (offset+2))); } break; default: expert_add_info(pinfo, attr_tree, &ei_xmcp_xmcp_attr_servtrans_unknown); break; } break; case XMCP_SERVICE_PROTOCOL: /* Three bytes of padding followed by a 1-byte protocol number */ if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_reserved, tvb, offset, 3, ENC_NA); proto_tree_add_item(attr_tree, xmcp_attr_service_protocol, tvb, (offset+3), 1, ENC_BIG_ENDIAN); xmcp_service_protocol = tvb_get_guint8(tvb, (offset+3)); proto_item_append_text(attr_tree, ": %u (%s)", xmcp_service_protocol, val_to_str_ext_const(xmcp_service_protocol, &ipproto_val_ext, "Unknown")); /* If we now know both port and protocol number, fill in the port name */ if (xmcp_service_port != -1 && xmcp_it_service_port != NULL) { add_xmcp_port_name(pinfo); } break; case XMCP_FLAGS: /* Flags is a series of type-value pairs */ if (attr_length % 4 != 0) { expert_add_info_format(pinfo, attr_tree, &ei_xmcp_attr_length_bad, "Malformed Flags - length not divisible by 4"); } { guint16 flag_type, flag_value, current_offset = offset; proto_item *ti; proto_tree *flag_tree; while ((current_offset-offset)+3 < attr_length) { flag_type = tvb_get_ntohs(tvb, (current_offset)); flag_value = tvb_get_ntohs(tvb, (current_offset+2)); ti = proto_tree_add_none_format(attr_tree, xmcp_attr_flag, tvb, current_offset, 4, "Flag: %s:", val_to_str_const(flag_type, flag_types, "Unknown")); flag_tree = proto_item_add_subtree(ti, ett_xmcp_attr_flag); proto_tree_add_item(flag_tree, xmcp_attr_flag_type, tvb, current_offset, 2, ENC_BIG_ENDIAN); current_offset += 2; switch (flag_type) { case XMCP_FLAG_REMOVAL_REASON: proto_tree_add_item(flag_tree, xmcp_attr_flag_removal_reason_reserved, tvb, current_offset, 2, ENC_BIG_ENDIAN); proto_tree_add_item(flag_tree, xmcp_attr_flag_removal_reason_network_withdraw, tvb, current_offset, 2, ENC_BIG_ENDIAN); if (flag_value & XMCP_REMOVAL_REASON_NETWORK_WITHDRAW) { proto_item_append_text(flag_tree, " (network withdraw)"); } if (!flag_value) { proto_item_append_text(flag_tree, " (source withdraw)"); } break; case XMCP_FLAG_TRUST: proto_tree_add_item(flag_tree, xmcp_attr_flag_trust, tvb, current_offset, 2, ENC_BIG_ENDIAN); proto_item_append_text(flag_tree, " %s", val_to_str_const(flag_value, flag_trust_values, "Unknown")); break; case XMCP_FLAG_SERVICE_VISIBILITY: proto_tree_add_item(flag_tree, xmcp_attr_flag_visibility_reserved, tvb, current_offset, 2, ENC_BIG_ENDIAN); proto_tree_add_item(flag_tree, xmcp_attr_flag_visibility_unauthenticated, tvb, current_offset, 2, ENC_BIG_ENDIAN); if (flag_value & XMCP_SERVICE_VISIBILITY_UNAUTHENTICATED) { proto_item_append_text(flag_tree, " (visible to unauthenticated clients)"); } if (!flag_value) { proto_item_append_text(flag_tree, " (default)"); } break; default: proto_tree_add_item(flag_tree, xmcp_attr_flag_value, tvb, current_offset, 2, ENC_BIG_ENDIAN); proto_item_append_text(flag_tree, " 0x%04x", flag_value); break; } current_offset += 2; } } break; case XMCP_SERVICE_VERSION: if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_service_version, tvb, offset, 4, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %u", tvb_get_ntohl(tvb, offset)); break; case XMCP_SERVICE_DATA: proto_tree_add_item(attr_tree, xmcp_attr_service_data, tvb, offset, attr_length, ENC_NA); if (attr_length > 0) { tvbuff_t *next_tvb; guint8 *test_string, *tok; next_tvb = tvb_new_subset_length(tvb, offset, attr_length); /* * Service-Data is usually (but not always) plain text, specifically XML. * If it "looks like" XML (begins with optional whitespace followed by * a '<'), try XML. * Otherwise, try plain-text. */ test_string = tvb_get_string_enc(pinfo->pool, next_tvb, 0, (attr_length < 32 ? attr_length : 32), ENC_ASCII); tok = strtok(test_string, " \t\r\n"); if (tok && tok[0] == '<') { /* Looks like XML */ dissector_try_string(media_type_dissector_table, "application/xml", next_tvb, pinfo, attr_tree, NULL); } else { /* Try plain text */ dissector_try_string(media_type_dissector_table, "text/plain", next_tvb, pinfo, attr_tree, NULL); } } break; case XMCP_SUBSCRIPTION_ID: if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_subscription_id, tvb, offset, 4, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %u", tvb_get_ntohl(tvb, offset)); col_append_fstr(pinfo->cinfo, COL_INFO, ", subscription %u", tvb_get_ntohl(tvb, offset)); break; case XMCP_SERVICE_REMOVED_REASON: if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_service_removed_reason, tvb, offset, 4, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %s", val_to_str_const(tvb_get_ntohl(tvb, offset), service_removed_reasons, "Unknown")); break; case XMCP_DOMAIN: if (attr_length < 4) break; proto_tree_add_item(attr_tree, xmcp_attr_domain, tvb, offset, 4, ENC_BIG_ENDIAN); proto_item_append_text(attr_tree, ": %u", tvb_get_ntohl(tvb, offset)); break; default: proto_tree_add_item(attr_tree, xmcp_attr_value, tvb, offset, attr_length, ENC_NA); expert_add_info(pinfo, attr_tree, &ei_xmcp_attr_type_unknown); break; } if (attr_length % 4 != 0) { proto_tree_add_item(attr_tree, xmcp_attr_padding, tvb, (offset+attr_length), (4 - (attr_length % 4)), ENC_NA); } if (attr_length < get_xmcp_attr_min_len(attr_type)) { expert_add_info_format(pinfo, attr_tree, &ei_xmcp_attr_length_bad, "Length less than minimum for this attribute type"); } else if (attr_length > get_xmcp_attr_max_len(attr_type)) { expert_add_info_format(pinfo, attr_tree, &ei_xmcp_attr_length_bad, "Length exceeds maximum for this attribute type"); } } static int dissect_xmcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { guint16 msg_type, msg_length; proto_item *ti = NULL; proto_tree *xmcp_tree, *attr_all_tree, *attr_tree; guint16 offset, attr_type, attr_length; /* For request/response association */ guint32 transaction_id[3]; wmem_tree_key_t transaction_id_key[2]; conversation_t *conversation; xmcp_conv_info_t *xmcp_conv_info; xmcp_transaction_t *xmcp_trans; if (tvb_reported_length(tvb) < XMCP_HDR_LEN) { return 0; } /* Check for valid message type field */ msg_type = tvb_get_ntohs(tvb, 0); if (msg_type & XMCP_TYPE_RESERVED) { /* First 2 bits must be 0 */ return 0; } /* Check for valid "magic cookie" field */ if (tvb_get_ntohl(tvb, 4) != XMCP_MAGIC_COOKIE) { return 0; } col_set_str(pinfo->cinfo, COL_PROTOCOL, "XMCP"); /* Clear out stuff in the info column */ col_clear(pinfo->cinfo, COL_INFO); /* As in STUN, the first 2 bytes contain the message class and method */ xmcp_msg_type_class = ((msg_type & XMCP_TYPE_CLASS) >> 4); xmcp_msg_type_method = (msg_type & XMCP_TYPE_METHOD); col_add_fstr(pinfo->cinfo, COL_INFO, "%s %s", val_to_str_const(xmcp_msg_type_method, methods, "Unknown"), val_to_str_const(xmcp_msg_type_class, classes, "Unknown")); /* Get the transaction ID */ transaction_id[0] = tvb_get_ntohl(tvb, 8); transaction_id[1] = tvb_get_ntohl(tvb, 12); transaction_id[2] = tvb_get_ntohl(tvb, 16); transaction_id_key[0].length = 3; transaction_id_key[0].key = transaction_id; transaction_id_key[1].length = 0; transaction_id_key[1].key = NULL; conversation = find_or_create_conversation(pinfo); /* Do we already have XMCP state for this conversation? */ xmcp_conv_info = (xmcp_conv_info_t *)conversation_get_proto_data(conversation, proto_xmcp); if (!xmcp_conv_info) { xmcp_conv_info = wmem_new(wmem_file_scope(), xmcp_conv_info_t); xmcp_conv_info->transaction_pdus = wmem_tree_new(wmem_file_scope()); conversation_add_proto_data(conversation, proto_xmcp, xmcp_conv_info); } /* Find existing transaction entry or create a new one */ xmcp_trans = (xmcp_transaction_t *)wmem_tree_lookup32_array(xmcp_conv_info->transaction_pdus, transaction_id_key); if (!xmcp_trans) { xmcp_trans = wmem_new(wmem_file_scope(), xmcp_transaction_t); xmcp_trans->request_frame = 0; xmcp_trans->response_frame = 0; xmcp_trans->request_time = pinfo->abs_ts; xmcp_trans->request_is_keepalive = FALSE; wmem_tree_insert32_array(xmcp_conv_info->transaction_pdus, transaction_id_key, (void *)xmcp_trans); } /* Update transaction entry */ if (!pinfo->fd->visited) { if (xmcp_msg_type_class == XMCP_CLASS_REQUEST) { if (xmcp_trans->request_frame == 0) { xmcp_trans->request_frame = pinfo->num; xmcp_trans->request_time = pinfo->abs_ts; } } else if (xmcp_msg_type_class != XMCP_CLASS_RESERVED) { if (xmcp_trans->response_frame == 0) { xmcp_trans->response_frame = pinfo->num; } } } ti = proto_tree_add_item(tree, proto_xmcp, tvb, 0, -1, ENC_NA); xmcp_tree = proto_item_add_subtree(ti, ett_xmcp); ti = proto_tree_add_bitmask(xmcp_tree, tvb, 0, hf_xmcp_type, ett_xmcp_type, xmcp_type_fields, ENC_BIG_ENDIAN); if (msg_type & XMCP_TYPE_RESERVED) { expert_add_info(pinfo, ti, &ei_xmcp_type_reserved_not_zero); } if (xmcp_msg_type_class == XMCP_CLASS_RESERVED) { expert_add_info(pinfo, ti, &ei_xmcp_message_class_reserved); } else if (xmcp_msg_type_class == XMCP_CLASS_RESPONSE_ERROR) { expert_add_info(pinfo, ti, &ei_xmcp_error_response); } if (xmcp_msg_type_method < 0x001 || xmcp_msg_type_method > 0x00b) { expert_add_info(pinfo, ti, &ei_xmcp_msg_type_method_reserved); } /* * Some forms of XMCP overload the Register method for Keepalive packets * rather than using a separate Keepalive method. We'll try to determine from * the message contents whether this message is a Keepalive. Initialize first. */ xmcp_msg_is_keepalive = (xmcp_trans->request_is_keepalive || (xmcp_msg_type_method == XMCP_METHOD_KEEPALIVE)); /* After the class/method, we have a 2 byte length...*/ ti = proto_tree_add_item(xmcp_tree, hf_xmcp_length, tvb, 2, 2, ENC_BIG_ENDIAN); msg_length = tvb_get_ntohs(tvb, 2); if ((guint)(msg_length + XMCP_HDR_LEN) > tvb_reported_length(tvb)) { expert_add_info_format(pinfo, ti, &ei_xmcp_length_bad, "XMCP message length (%u-byte header + %u) exceeds packet length (%u)", XMCP_HDR_LEN, msg_length, tvb_reported_length(tvb)); return tvb_captured_length(tvb); } /* ...a 4 byte magic cookie... */ ti = proto_tree_add_item(xmcp_tree, hf_xmcp_cookie, tvb, 4, 4, ENC_BIG_ENDIAN); if (tvb_get_ntohl(tvb, 4) != XMCP_MAGIC_COOKIE) { expert_add_info(pinfo, ti, &ei_xmcp_magic_cookie_incorrect); } /* ...and a 12-byte transaction id */ ti = proto_tree_add_item(xmcp_tree, hf_xmcp_id, tvb, 8, 12, ENC_NA); /* Print state tracking in the tree */ if (xmcp_msg_type_class == XMCP_CLASS_REQUEST) { if (xmcp_trans->response_frame) { ti = proto_tree_add_uint(xmcp_tree, hf_xmcp_response_in, tvb, 0, 0, xmcp_trans->response_frame); proto_item_set_generated(ti); } } else if (xmcp_msg_type_class != XMCP_CLASS_RESERVED) { if (xmcp_trans->request_frame) { nstime_t ns; ti = proto_tree_add_uint(xmcp_tree, hf_xmcp_response_to, tvb, 0, 0, xmcp_trans->request_frame); proto_item_set_generated(ti); nstime_delta(&ns, &pinfo->abs_ts, &xmcp_trans->request_time); ti = proto_tree_add_time(xmcp_tree, hf_xmcp_time, tvb, 0, 0, &ns); proto_item_set_generated(ti); } else { /* This is a response, but we don't know about a request for this response? */ expert_add_info(pinfo, ti, &ei_xmcp_response_without_request); } } xmcp_service_protocol = -1; xmcp_service_port = -1; xmcp_it_service_port = NULL; /* The header is then followed by "msg_length" bytes of TLV attributes */ if (msg_length > 0) { ti = proto_tree_add_item(xmcp_tree, hf_xmcp_attributes, tvb, XMCP_HDR_LEN, msg_length, ENC_NA); attr_all_tree = proto_item_add_subtree(ti, ett_xmcp_attr_all); offset = XMCP_HDR_LEN; while (offset < (msg_length + XMCP_HDR_LEN)) { /* Get type/length of next TLV */ attr_type = tvb_get_ntohs(tvb, offset); attr_length = tvb_get_ntohs(tvb, offset+2); ti = proto_tree_add_none_format(attr_all_tree, hf_xmcp_attr, tvb, offset, (XMCP_ATTR_HDR_LEN + get_xmcp_attr_padded_len(attr_length)), "%s, length %u", val_to_str_const(attr_type, attributes, "Unknown"), attr_length); /* Add subtree for this TLV */ attr_tree = proto_item_add_subtree(ti, ett_xmcp_attr); proto_tree_add_item(attr_tree, xmcp_attr_type, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; ti = proto_tree_add_item(attr_tree, xmcp_attr_length, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; if ((offset + attr_length) > (XMCP_HDR_LEN + msg_length)) { proto_item_append_text(ti, " (bogus, exceeds message length)"); expert_add_info_format(pinfo, attr_tree, &ei_xmcp_attr_length_bad, "Attribute length exceeds message length"); break; } decode_xmcp_attr_value(attr_tree, attr_type, attr_length, tvb, offset, pinfo); offset += get_xmcp_attr_padded_len(attr_length); } } /* * Flag this message as a keepalive if the attribute analysis * suggested that it is one */ if (xmcp_msg_is_keepalive) { ti = proto_tree_add_none_format(xmcp_tree, hf_xmcp_msg_is_keepalive, tvb, 0, 0, "This is a Keepalive message"); proto_item_set_generated(ti); if (xmcp_msg_type_method != XMCP_METHOD_KEEPALIVE) { col_prepend_fstr(pinfo->cinfo, COL_INFO, "[Keepalive] "); } if (xmcp_msg_type_class == XMCP_CLASS_REQUEST) { xmcp_trans->request_is_keepalive = TRUE; } } else if (xmcp_msg_type_class == XMCP_CLASS_REQUEST || xmcp_msg_type_class == XMCP_CLASS_RESPONSE_SUCCESS) { if (xmcp_msg_type_method == XMCP_METHOD_REGISTER) { expert_add_info_format(pinfo, xmcp_tree, &ei_xmcp_new_session, "New session - Register %s", val_to_str_const(xmcp_msg_type_class, classes, "")); } else if (xmcp_msg_type_method == XMCP_METHOD_UNREGISTER || xmcp_msg_type_method == XMCP_METHOD_REG_REVOKE) { expert_add_info_format(pinfo, xmcp_tree, &ei_xmcp_session_termination, "Session termination - %s %s", val_to_str_const(xmcp_msg_type_method, methods, ""), val_to_str_const(xmcp_msg_type_class, classes, "")); } } return tvb_captured_length(tvb); } static int dissect_xmcp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { tcp_dissect_pdus(tvb, pinfo, tree, TRUE, XMCP_HDR_LEN, get_xmcp_message_len, dissect_xmcp_message, data); return tvb_captured_length(tvb); } static gboolean dissect_xmcp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { /* See if this looks like a real XMCP packet */ if (tvb_captured_length(tvb) < XMCP_HDR_LEN) { return FALSE; } /* Check for valid message type field */ if (tvb_get_ntohs(tvb, 0) & XMCP_TYPE_RESERVED) { /* First 2 bits must be 0 */ return FALSE; } /* Check for valid "magic cookie" field */ if (tvb_get_ntohl(tvb, 4) != XMCP_MAGIC_COOKIE) { return FALSE; } /* Good enough to consider a match! */ tcp_dissect_pdus(tvb, pinfo, tree, TRUE, XMCP_HDR_LEN, get_xmcp_message_len, dissect_xmcp_message, data); return TRUE; } void proto_register_xmcp(void) { static hf_register_info hf[] = { { &hf_xmcp_type, { "Message Type", "xmcp.type", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_xmcp_type_reserved, { "Reserved", "xmcp.type.reserved", FT_UINT16, BASE_HEX, NULL, XMCP_TYPE_RESERVED, NULL, HFILL } }, { &hf_xmcp_type_class, { "Class", "xmcp.type.class", FT_UINT16, BASE_HEX, VALS(classes), XMCP_TYPE_CLASS, NULL, HFILL } }, { &hf_xmcp_type_method, { "Method", "xmcp.type.method", FT_UINT16, BASE_HEX, VALS(methods), XMCP_TYPE_METHOD, NULL, HFILL } }, { &hf_xmcp_msg_is_keepalive, { "Message is Keepalive", "xmcp.analysis.keepalive", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xmcp_length, { "Message Length", "xmcp.length", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xmcp_cookie, { "XMCP Magic Cookie", "xmcp.cookie", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_xmcp_id, { "Transaction ID", "xmcp.id", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xmcp_response_in, { "Response In", "xmcp.response-in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "The response to this XMCP request is in this frame", HFILL } }, { &hf_xmcp_response_to, { "Response To", "xmcp.response-to", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "This is a response to the XMCP request in this frame", HFILL } }, { &hf_xmcp_time, { "Elapsed Time", "xmcp.time", FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0, "The time between the Request and the Response", HFILL } }, { &hf_xmcp_attributes, { "Attributes", "xmcp.attributes", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xmcp_attr, { "Attribute", "xmcp.attr", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_type, { "Attribute Type", "xmcp.attr.type", FT_UINT16, BASE_HEX, VALS(attributes), 0x0, NULL, HFILL } }, { &xmcp_attr_length, { "Attribute Length", "xmcp.attr.length", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_value, { "Attribute Value", "xmcp.attr.value", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL} }, { &xmcp_attr_padding, { "Padding", "xmcp.attr.padding", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_reserved, { "Reserved", "xmcp.attr.reserved", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_username, { "Username", "xmcp.attr.username", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_message_integrity, { "Message-Integrity", "xmcp.attr.hmac", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_error_reserved, { "Reserved", "xmcp.attr.error.reserved", FT_UINT24, BASE_HEX, NULL, 0xFFFFF8, NULL, HFILL } }, { &xmcp_attr_error_class, { "Error Class", "xmcp.attr.error.class", FT_UINT24, BASE_DEC, NULL, 0x000007, NULL, HFILL} }, { &xmcp_attr_error_number, { "Error Number", "xmcp.attr.error.number", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, { &xmcp_attr_error_code, { "Error Code", "xmcp.attr.error", FT_UINT16, BASE_DEC, VALS(error_codes), 0x0, NULL, HFILL} }, { &xmcp_attr_error_reason, { "Error Reason Phrase", "xmcp.attr.error.reason", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL} }, { &xmcp_attr_realm, { "Realm", "xmcp.attr.realm", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_nonce, { "Nonce", "xmcp.attr.nonce", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_client_name, { "Client-Name", "xmcp.attr.client-name", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_client_handle, { "Client-Handle", "xmcp.attr.client-handle", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_version_major, { "Protocol Major Version", "xmcp.attr.version.major", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_version_minor, { "Protocol Minor Version", "xmcp.attr.version.minor", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_page_size, { "Page-Size", "xmcp.attr.page-size", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_client_label, { "Client-Label", "xmcp.attr.client-label", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_keepalive, { "Keepalive", "xmcp.attr.keepalive", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_serv_service, { "Service ID", "xmcp.attr.service.service", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_serv_subservice, { "Subservice ID", "xmcp.attr.service.subservice", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_serv_instance, { "Instance ID", "xmcp.attr.service.instance", FT_GUID, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_servtrans_family, { "Family", "xmcp.attr.service.transport.family", FT_UINT8, BASE_HEX, VALS(address_families), 0x0, NULL, HFILL } }, { &xmcp_attr_servtrans_port, { "Port", "xmcp.attr.service.transport.port", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_servtrans_ipv4, { "IPv4 Address", "xmcp.attr.service.transport.ipv4", FT_IPv4, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_servtrans_ipv6, { "IPv6 Address", "xmcp.attr.service.transport.ipv6", FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_service_protocol, { "Protocol", "xmcp.attr.service.transport.protocol", FT_UINT8, BASE_DEC|BASE_EXT_STRING, &ipproto_val_ext, 0x0, NULL, HFILL } }, { &xmcp_attr_flag, { "Flag", "xmcp.attr.flag", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_flag_type, { "Flag Type", "xmcp.attr.flag.type", FT_UINT16, BASE_HEX, VALS(flag_types), 0x0, NULL, HFILL } }, { &xmcp_attr_flag_value, { "Flag Value", "xmcp.attr.flag.value", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_flag_removal_reason_network_withdraw, { "Network Withdraw", "xmcp.attr.flag.removal-reason.network-withdraw", FT_BOOLEAN, 16, TFS(&tfs_true_false), XMCP_REMOVAL_REASON_NETWORK_WITHDRAW, NULL, HFILL } }, { &xmcp_attr_flag_removal_reason_reserved, { "Reserved", "xmcp.attr.flag.removal-reason.reserved", FT_UINT16, BASE_HEX, NULL, XMCP_REMOVAL_REASON_RESERVED, NULL, HFILL } }, { &xmcp_attr_flag_trust, { "Trust", "xmcp.attr.flag.trust", FT_UINT16, BASE_HEX, VALS(flag_trust_values), 0x0, NULL, HFILL } }, { &xmcp_attr_flag_visibility_unauthenticated, { "Visible to Unauthenticated Clients", "xmcp.attr.flag.service-visibility.unauthenticated", FT_BOOLEAN, 16, TFS(&tfs_yes_no), XMCP_SERVICE_VISIBILITY_UNAUTHENTICATED, NULL, HFILL } }, { &xmcp_attr_flag_visibility_reserved, { "Reserved", "xmcp.attr.flag.service-visibility.reserved", FT_UINT16, BASE_HEX, NULL, XMCP_SERVICE_VISIBILITY_RESERVED, NULL, HFILL } }, { &xmcp_attr_service_version, { "Service Version", "xmcp.attr.service.version", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_service_data, { "Service Data", "xmcp.attr.service.data", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_subscription_id, { "Subscription ID", "xmcp.attr.subscription-id", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &xmcp_attr_service_removed_reason, { "Service Removed Reason", "xmcp.attr.service-removed-reason", FT_UINT32, BASE_DEC, VALS(service_removed_reasons), 0x0, NULL, HFILL } }, { &xmcp_attr_domain, { "Domain", "xmcp.attr.domain", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } }; /* Setup protocol subtree array */ static gint *ett[] = { &ett_xmcp, &ett_xmcp_type, &ett_xmcp_attr_all, &ett_xmcp_attr, &ett_xmcp_attr_flag }; static ei_register_info ei[] = { { &ei_xmcp_data_following_message_integrity, { "xmcp.data_following_message_integrity", PI_PROTOCOL, PI_WARN, "Data following message-integrity", EXPFILL }}, { &ei_xmcp_attr_error_number_out_of_range, { "xmcp.attr.error.number.out_of_range", PI_PROTOCOL, PI_WARN, "Error number out of 0-99 range", EXPFILL }}, { &ei_xmcp_attr_error_code_unusual, { "xmcp.attr.error.unusual", PI_RESPONSE_CODE, PI_WARN, "Unusual error code", EXPFILL }}, { &ei_xmcp_attr_realm_incorrect, { "xmcp.attr.realm.incorrect", PI_PROTOCOL, PI_WARN, "Incorrect Realm", EXPFILL }}, { &ei_xmcp_attr_length_bad, { "xmcp.attr.length.bad", PI_PROTOCOL, PI_WARN, "Malformed IPv4 address", EXPFILL }}, { &ei_xmcp_xmcp_attr_servtrans_unknown, { "xmcp.attr.service.transport.unknown", PI_PROTOCOL, PI_WARN, "Unknown transport type", EXPFILL }}, { &ei_xmcp_attr_type_unknown, { "xmcp.attr.type.unknown", PI_PROTOCOL, PI_NOTE, "Unrecognized attribute type", EXPFILL }}, { &ei_xmcp_type_reserved_not_zero, { "xmcp.type.reserved.not_zero", PI_PROTOCOL, PI_WARN, "First two bits not zero", EXPFILL }}, { &ei_xmcp_message_class_reserved, { "xmcp.message_class.reserved", PI_PROTOCOL, PI_WARN, "Reserved message class", EXPFILL }}, { &ei_xmcp_error_response, { "xmcp.error_response", PI_RESPONSE_CODE, PI_NOTE, "Error Response", EXPFILL }}, { &ei_xmcp_msg_type_method_reserved, { "xmcp.msg_type_method.reserved", PI_PROTOCOL, PI_WARN, "Reserved message method", EXPFILL }}, { &ei_xmcp_length_bad, { "xmcp.length.bad", PI_PROTOCOL, PI_ERROR, "XMCP message length exceeds packet length", EXPFILL }}, { &ei_xmcp_magic_cookie_incorrect, { "xmcp.cookie.incorrect", PI_PROTOCOL, PI_WARN, "Magic cookie not correct for XMCP", EXPFILL }}, { &ei_xmcp_response_without_request, { "xmcp.response_without_request", PI_SEQUENCE, PI_NOTE, "Response without corresponding request", EXPFILL }}, { &ei_xmcp_new_session, { "xmcp.new_session", PI_SEQUENCE, PI_CHAT, "New session - Register", EXPFILL }}, { &ei_xmcp_session_termination, { "xmcp.session_termination", PI_SEQUENCE, PI_CHAT, "Session termination", EXPFILL }}, }; expert_module_t* expert_xmcp; proto_xmcp = proto_register_protocol("eXtensible Messaging Client Protocol", "XMCP", "xmcp"); proto_register_field_array(proto_xmcp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_xmcp = expert_register_protocol(proto_xmcp); expert_register_field_array(expert_xmcp, ei, array_length(ei)); } void proto_reg_handoff_xmcp(void) { dissector_handle_t xmcp_tcp_handle; xmcp_tcp_handle = create_dissector_handle(dissect_xmcp_tcp, proto_xmcp); heur_dissector_add("tcp", dissect_xmcp_heur, "XMCP over TCP", "xmcp_tcp", proto_xmcp, HEURISTIC_ENABLE); media_type_dissector_table = find_dissector_table("media_type"); dissector_add_uint_with_preference("tcp.port", TCP_PORT_XMCP, xmcp_tcp_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-xml.c
/* packet-xml.c * wireshark's xml dissector . * * (C) 2005, Luis E. Garcia Ontanon. * * Refer to the AUTHORS file or the AUTHORS section in the man page * for contacting the author(s) of this file. * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <string.h> #include <errno.h> #include <epan/packet.h> #include <epan/tvbparse.h> #include <epan/dtd.h> #include <epan/proto_data.h> #include <wsutil/filesystem.h> #include <epan/prefs.h> #include <epan/expert.h> #include <epan/iana_charsets.h> #include <wsutil/str_util.h> #include <wsutil/report_message.h> #include "packet-xml.h" #include "packet-acdr.h" void proto_register_xml(void); void proto_reg_handoff_xml(void); struct _attr_reg_data { wmem_array_t *hf; const gchar *basename; }; static gint ett_dtd = -1; static gint ett_xmpli = -1; static int hf_unknowwn_attrib = -1; static int hf_comment = -1; static int hf_xmlpi = -1; static int hf_dtd_tag = -1; static int hf_doctype = -1; static int hf_cdatasection = -1; static expert_field ei_xml_closing_unopened_tag = EI_INIT; static expert_field ei_xml_closing_unopened_xmpli_tag = EI_INIT; static expert_field ei_xml_unrecognized_text = EI_INIT; /* dissector handles */ static dissector_handle_t xml_handle; /* parser definitions */ static tvbparse_wanted_t *want; static tvbparse_wanted_t *want_ignore; static tvbparse_wanted_t *want_heur; static wmem_map_t *xmpli_names; static wmem_map_t *media_types; static xml_ns_t xml_ns = {"xml", "/", -1, -1, -1, NULL, NULL, NULL}; static xml_ns_t unknown_ns = {"unknown", "?", -1, -1, -1, NULL, NULL, NULL}; static xml_ns_t *root_ns; static gboolean pref_heuristic_unicode = FALSE; static gint pref_default_encoding = IANA_CS_UTF_8; #define XML_CDATA -1000 #define XML_SCOPED_NAME -1001 static wmem_array_t *hf_arr; static GArray *ett_arr; static GRegex* encoding_pattern; static const gchar *default_media_types[] = { "text/xml", "text/vnd.wap.wml", "text/vnd.wap.si", "text/vnd.wap.sl", "text/vnd.wap.co", "text/vnd.wap.emn", "application/3gpp-ims+xml", "application/atom+xml", "application/auth-policy+xml", "application/ccmp+xml", "application/conference-info+xml", /*RFC4575*/ "application/cpim-pidf+xml", "application/cpl+xml", "application/dds-web+xml", "application/im-iscomposing+xml", /*RFC3994*/ "application/load-control+xml", /*RFC7200*/ "application/mathml+xml", "application/media_control+xml", "application/note+xml", "application/pidf+xml", "application/pidf-diff+xml", "application/poc-settings+xml", "application/rdf+xml", "application/reginfo+xml", "application/resource-lists+xml", "application/rlmi+xml", "application/rls-services+xml", "application/rss+xml", "application/rs-metadata+xml", "application/smil", "application/simple-filter+xml", "application/simple-message-summary+xml", /*RFC3842*/ "application/simservs+xml", "application/soap+xml", "application/vnd.etsi.aoc+xml", "application/vnd.etsi.cug+xml", "application/vnd.etsi.iptvcommand+xml", "application/vnd.etsi.iptvdiscovery+xml", "application/vnd.etsi.iptvprofile+xml", "application/vnd.etsi.iptvsad-bc+xml", "application/vnd.etsi.iptvsad-cod+xml", "application/vnd.etsi.iptvsad-npvr+xml", "application/vnd.etsi.iptvservice+xml", "application/vnd.etsi.iptvsync+xml", "application/vnd.etsi.iptvueprofile+xml", "application/vnd.etsi.mcid+xml", "application/vnd.etsi.overload-control-policy-dataset+xml", "application/vnd.etsi.pstn+xml", "application/vnd.etsi.sci+xml", "application/vnd.etsi.simservs+xml", "application/vnd.etsi.tsl+xml", "application/vnd.oma.xdm-apd+xml", "application/vnd.oma.fnl+xml", "application/vnd.oma.access-permissions-list+xml", "application/vnd.oma.alias-principals-list+xml", "application/upp-directory+xml", /*OMA-ERELD-XDM-V2_2_1-20170124-A*/ "application/vnd.oma.xdm-hi+xml", "application/vnd.oma.xdm-rhi+xml", "application/vnd.oma.xdm-prefs+xml", "application/vnd.oma.xdcp+xml", "application/vnd.oma.bcast.associated-procedure-parameter+xml", "application/vnd.oma.bcast.drm-trigger+xml", "application/vnd.oma.bcast.imd+xml", "application/vnd.oma.bcast.notification+xml", "application/vnd.oma.bcast.sgdd+xml", "application/vnd.oma.bcast.smartcard-trigger+xml", "application/vnd.oma.bcast.sprov+xml", "application/vnd.oma.cab-address-book+xml", "application/vnd.oma.cab-feature-handler+xml", "application/vnd.oma.cab-pcc+xml", "application/vnd.oma.cab-subs-invite+xml", "application/vnd.oma.cab-user-prefs+xml", "application/vnd.oma.dd2+xml", "application/vnd.oma.drm.risd+xml", "application/vnd.oma.group-usage-list+xml", "application/vnd.oma.pal+xml", "application/vnd.oma.poc.detailed-progress-report+xml", "application/vnd.oma.poc.final-report+xml", "application/vnd.oma.poc.groups+xml", "application/vnd.oma.poc.invocation-descriptor+xml", "application/vnd.oma.poc.optimized-progress-report+xml", "application/vnd.oma.scidm.messages+xml", "application/vnd.oma.suppnot+xml", /*OMA-ERELD-Presence_SIMPLE-V2_0-20120710-A*/ "application/vnd.oma.xcap-directory+xml", "application/vnd.omads-email+xml", "application/vnd.omads-file+xml", "application/vnd.omads-folder+xml", "application/vnd.3gpp.access-transfer-events+xml", "application/vnd.3gpp.bsf+xml", "application/vnd.3gpp.comm-div-info+xml", /*3GPP TS 24.504 version 8.19.0*/ "application/vnd.3gpp.cw+xml", "application/vnd.3gpp.iut+xml", /*3GPP TS 24.337*/ "application/vnc.3gpp.iut-config+xml", /*3GPP TS 24.337*/ "application/vnd.3gpp.mcptt-info+xml", /*3GPP TS 24.379 version 17.6.0*/ "application/vnd.3gpp.mcptt-mbms-usage-info+xml", /*3GPP TS 24.379 version 17.6.0*/ "application/vnd.3gpp.mcptt-location-info+xml", /*3GPP TS 24.379 version 17.6.0*/ "application/vnd.3gpp.mcptt-affiliation-command+xml", /*3GPP TS 24.379 version 17.6.0*/ "application/vnd.3gpp.mcptt-floor-request+xml", /*3GPP TS 24.379 version 17.6.0*/ "application/vnd.3gpp.mcptt-signed+xml", /*3GPP TS 24.379 version 17.6.0*/ "application/vnd.3gpp.mcptt-regroup+xml", /*3GPP TS 24.379 version 17.6.0*/ "application/vnd.3gpp.mcdata-info+xml", /*3GPP TS 24.282 version 17.6.2*/ "application/vnd.3gpp.mcdata-mbms-usage-info+xml", /*3GPP TS 24.282 version 17.6.2*/ "application/vnd.3gpp.mcdata-location-info+xml", /*3GPP TS 24.282 version 17.6.2*/ "application/vnd.3gpp.mcdata-affiliation-command+xml", /*3GPP TS 24.282 version 17.6.2*/ "application/vnd.3gpp.mcdata-regroup+xml", /*3GPP TS 24.282 version 17.6.2*/ "application/vnd.3gpp.mcvideo-info+xml", /*3GPP TS 24.281 version 17.6.0*/ "application/vnd.3gpp.mcvideo-mbms-usage-info+xml", /*3GPP TS 24.281 version 17.6.0*/ "application/vnd.3gpp.mcvideo-location-info+xml", /*3GPP TS 24.281 version 17.6.0*/ "application/vnd.3gpp.mcvideo-affiliation-command+xml",/*3GPP TS 24.281 version 17.6.0*/ "application/vnd.3gpp.transmission-request+xml", /*3GPP TS 24.281 version 17.6.0*/ "application/vnd.3gpp.mcptt-ue-init-config+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcptt-ue-config+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcptt-user-profile+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcptt-service-config+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcdata-service-config+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcvideo-service-config+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcvideo-ue-config+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcvideo-user-profile+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcdata-ue-config+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mcdata-user-profile+xml", /*3GPP TS 24.484 version 17.5.0*/ "application/vnd.3gpp.mid-call+xml", "application/vnd.3gpp-prose-pc3ch+xml", "application/vnd.3gpp-prose+xml", "application/vnd.3gpp.replication+xml", /*3GPP TS 24.337*/ "application/vnd.3gpp.sms+xml", "application/vnd.3gpp.srvcc-info+xml", "application/vnd.3gpp.srvcc-ext+xml", "application/vnd.3gpp.state-and-event-info+xml", "application/vnd.3gpp.ussd+xml", "application/vnd.3gpp2.bcmcsinfo+xml", "application/vnd.wv.csp+xml", "application/vnd.wv.csp.xml", "application/watcherinfo+xml", "application/xcap-att+xml", "application/xcap-caps+xml", "application/xcap-diff+xml", "application/xcap-el+xml", "application/xcap-error+xml", "application/xcap-ns+xml", "application/xml", "application/xml-dtd", "application/xpidf+xml", "application/xslt+xml", "application/x-crd+xml", "application/x-wms-logconnectstats", "application/x-wms-logplaystats", "application/x-wms-sendevent", "image/svg+xml", "message/imdn+xml", /*RFC5438*/ }; static void insert_xml_frame(xml_frame_t *parent, xml_frame_t *new_child) { new_child->first_child = NULL; new_child->last_child = NULL; new_child->parent = parent; new_child->next_sibling = NULL; new_child->prev_sibling = NULL; if (parent == NULL) return; /* root */ if (parent->first_child == NULL) { /* the 1st child */ parent->first_child = new_child; } else { /* following children */ parent->last_child->next_sibling = new_child; new_child->prev_sibling = parent->last_child; } parent->last_child = new_child; } /* Try to get the 'encoding' attribute from XML declaration, and convert it to * Wireshark character encoding. */ static guint get_char_encoding(tvbuff_t* tvb, packet_info* pinfo, gchar** ret_encoding_name) { guint32 iana_charset_id; guint ws_encoding_id; gchar* encoding_str; GMatchInfo* match_info; const gchar* xmldecl = (gchar*)tvb_get_string_enc(pinfo->pool, tvb, 0, MIN(100, tvb_captured_length(tvb)), ENC_UTF_8); g_regex_match(encoding_pattern, xmldecl, 0, &match_info); if (g_match_info_matches(match_info)) { gchar* match_ret = g_match_info_fetch(match_info, 1); encoding_str = ascii_strup_inplace(wmem_strdup(pinfo->pool, match_ret)); g_free(match_ret); /* Get the iana charset enum number by the name of the charset. */ iana_charset_id = str_to_val(encoding_str, VALUE_STRING_EXT_VS_P(&mibenum_vals_character_sets_ext), IANA_CS_US_ASCII); } else { /* Use default encoding preference if this xml does not contains 'encoding' attribute. */ iana_charset_id = pref_default_encoding; encoding_str = val_to_str_ext_wmem(pinfo->pool, iana_charset_id, &mibenum_vals_character_sets_ext, "UNKNOWN"); } g_match_info_free(match_info); ws_encoding_id = mibenum_charset_to_encoding((guint)iana_charset_id); /* UTF-8 compatible with ASCII */ if (ws_encoding_id == (ENC_NA | ENC_ASCII)) { ws_encoding_id = ENC_UTF_8; *ret_encoding_name = wmem_strdup(pinfo->pool, "UTF-8"); } else { *ret_encoding_name = encoding_str; } return ws_encoding_id; } static int dissect_xml(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { tvbparse_t *tt; static GPtrArray *stack; xml_frame_t *current_frame; const char *colinfo_str; tvbuff_t *decoded; guint16 try_bom; if (stack != NULL) g_ptr_array_free(stack, TRUE); stack = g_ptr_array_new(); current_frame = wmem_new(wmem_packet_scope(), xml_frame_t); current_frame->type = XML_FRAME_ROOT; current_frame->name = NULL; current_frame->name_orig_case = NULL; current_frame->value = NULL; current_frame->pinfo = pinfo; insert_xml_frame(NULL, current_frame); g_ptr_array_add(stack, current_frame); /* Detect and act on possible byte-order mark (BOM) */ try_bom = tvb_get_ntohs(tvb, 0); if (try_bom == 0xFEFF) { /* UTF-16BE */ const guint8 *data_str = tvb_get_string_enc(pinfo->pool, tvb, 0, tvb_captured_length(tvb), ENC_UTF_16|ENC_BIG_ENDIAN); size_t l = strlen(data_str); decoded = tvb_new_child_real_data(tvb, data_str, (guint)l, (gint)l); add_new_data_source(pinfo, decoded, "Decoded UTF-16BE text"); } else if(try_bom == 0xFFFE) { /* UTF-16LE (or possibly UTF-32LE, but Wireshark doesn't support UTF-32) */ const guint8 *data_str = tvb_get_string_enc(pinfo->pool, tvb, 0, tvb_captured_length(tvb), ENC_UTF_16|ENC_LITTLE_ENDIAN); size_t l = strlen(data_str); decoded = tvb_new_child_real_data(tvb, data_str, (guint)l, (gint)l); add_new_data_source(pinfo, decoded, "Decoded UTF-16LE text"); } /* Could also test if try_bom is 0xnn00 or 0x00nn to guess endianness if we wanted */ else { /* Get character encoding according to XML declaration or preference. */ gchar* encoding_name; guint encoding = get_char_encoding(tvb, pinfo, &encoding_name); /* Encoding string with encoding, either with or without BOM */ const guint8 *data_str = tvb_get_string_enc(pinfo->pool, tvb, 0, tvb_captured_length(tvb), encoding); size_t l = strlen(data_str); decoded = tvb_new_child_real_data(tvb, data_str, (guint)l, (gint)l); add_new_data_source(pinfo, decoded, wmem_strdup_printf(pinfo->pool, "Decoded %s text", encoding_name)); } tt = tvbparse_init(pinfo->pool, decoded, 0, -1, stack, want_ignore); current_frame->start_offset = 0; current_frame->length = tvb_captured_length(decoded); root_ns = NULL; if (pinfo->match_string) root_ns = (xml_ns_t *)wmem_map_lookup(media_types, pinfo->match_string); if (! root_ns ) { root_ns = &xml_ns; colinfo_str = "/XML"; } else { char *colinfo_str_buf; colinfo_str_buf = wmem_strconcat(wmem_packet_scope(), "/", root_ns->name, NULL); ascii_strup_inplace(colinfo_str_buf); colinfo_str = colinfo_str_buf; } col_append_str(pinfo->cinfo, COL_PROTOCOL, colinfo_str); current_frame->ns = root_ns; current_frame->item = proto_tree_add_item(tree, current_frame->ns->hf_tag, decoded, 0, -1, ENC_UTF_8|ENC_NA); current_frame->tree = proto_item_add_subtree(current_frame->item, current_frame->ns->ett); current_frame->last_item = current_frame->item; while(tvbparse_get(tt, want)) ; /* Save XML structure in case it is useful for the caller */ p_add_proto_data(pinfo->pool, pinfo, xml_ns.hf_tag, 0, current_frame); return tvb_captured_length(tvb); } static gboolean dissect_xml_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { if (tvbparse_peek(tvbparse_init(pinfo->pool, tvb, 0, -1, NULL, want_ignore), want_heur)) { dissect_xml(tvb, pinfo, tree, data); return TRUE; } else if (pref_heuristic_unicode) { const guint8 *data_str; tvbuff_t *unicode_tvb; guint16 try_bom; /* XXX - UCS-2, or UTF-16? */ gint enc = ENC_UCS_2|ENC_LITTLE_ENDIAN; size_t l; try_bom = tvb_get_ntohs(tvb, 0); if (try_bom == 0xFEFF) { enc = ENC_UTF_16|ENC_BIG_ENDIAN; } else if(try_bom == 0xFFFE) { enc = ENC_UTF_16|ENC_LITTLE_ENDIAN; } data_str = tvb_get_string_enc(pinfo->pool, tvb, 0, tvb_captured_length(tvb), enc); l = strlen(data_str); unicode_tvb = tvb_new_child_real_data(tvb, data_str, (guint)l, (gint)l); if (tvbparse_peek(tvbparse_init(pinfo->pool, unicode_tvb, 0, -1, NULL, want_ignore), want_heur)) { add_new_data_source(pinfo, unicode_tvb, "UTF8"); dissect_xml(unicode_tvb, pinfo, tree, data); return TRUE; } } return FALSE; } xml_frame_t *xml_get_tag(xml_frame_t *frame, const gchar *name) { xml_frame_t *tag = NULL; xml_frame_t *xml_item = frame->first_child; while (xml_item) { if (xml_item->type == XML_FRAME_TAG) { if (!name) { /* get the 1st tag */ tag = xml_item; break; } else if (xml_item->name_orig_case && !strcmp(xml_item->name_orig_case, name)) { tag = xml_item; break; } } xml_item = xml_item->next_sibling; } return tag; } xml_frame_t *xml_get_attrib(xml_frame_t *frame, const gchar *name) { xml_frame_t *attr = NULL; xml_frame_t *xml_item = frame->first_child; while (xml_item) { if ((xml_item->type == XML_FRAME_ATTRIB) && xml_item->name_orig_case && !strcmp(xml_item->name_orig_case, name)) { attr = xml_item; break; } xml_item = xml_item->next_sibling; } return attr; } xml_frame_t *xml_get_cdata(xml_frame_t *frame) { xml_frame_t *cdata = NULL; xml_frame_t *xml_item = frame->first_child; while (xml_item) { if (xml_item->type == XML_FRAME_CDATA) { cdata = xml_item; break; } xml_item = xml_item->next_sibling; } return cdata; } static void after_token(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); int hfid; gboolean is_cdata = FALSE; proto_item *pi; xml_frame_t *new_frame; if (tok->id == XML_CDATA) { hfid = current_frame->ns ? current_frame->ns->hf_cdata : xml_ns.hf_cdata; is_cdata = TRUE; } else if ( tok->id > 0) { hfid = tok->id; } else { hfid = xml_ns.hf_cdata; } pi = proto_tree_add_item(current_frame->tree, hfid, tok->tvb, tok->offset, tok->len, ENC_UTF_8|ENC_NA); proto_item_set_text(pi, "%s", tvb_format_text(wmem_packet_scope(), tok->tvb, tok->offset, tok->len)); if (is_cdata) { new_frame = wmem_new(wmem_packet_scope(), xml_frame_t); new_frame->type = XML_FRAME_CDATA; new_frame->name = NULL; new_frame->name_orig_case = NULL; new_frame->value = tvb_new_subset_length(tok->tvb, tok->offset, tok->len); insert_xml_frame(current_frame, new_frame); new_frame->item = pi; new_frame->last_item = pi; new_frame->tree = NULL; new_frame->start_offset = tok->offset; new_frame->length = tok->len; new_frame->ns = NULL; new_frame->pinfo = current_frame->pinfo; } } static void before_xmpli(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); proto_item *pi; proto_tree *pt; tvbparse_elem_t *name_tok = tok->sub->next; gchar *name = tvb_get_string_enc(wmem_packet_scope(), name_tok->tvb, name_tok->offset, name_tok->len, ENC_ASCII); xml_ns_t *ns = (xml_ns_t *)wmem_map_lookup(xmpli_names, name); xml_frame_t *new_frame; int hf_tag; gint ett; ascii_strdown_inplace(name); if (!ns) { hf_tag = hf_xmlpi; ett = ett_xmpli; } else { hf_tag = ns->hf_tag; ett = ns->ett; } pi = proto_tree_add_item(current_frame->tree, hf_tag, tok->tvb, tok->offset, tok->len, ENC_UTF_8|ENC_NA); proto_item_set_text(pi, "%s", tvb_format_text(wmem_packet_scope(), tok->tvb, tok->offset, (name_tok->offset - tok->offset) + name_tok->len)); pt = proto_item_add_subtree(pi, ett); new_frame = wmem_new(wmem_packet_scope(), xml_frame_t); new_frame->type = XML_FRAME_XMPLI; new_frame->name = name; new_frame->name_orig_case = name; new_frame->value = NULL; insert_xml_frame(current_frame, new_frame); new_frame->item = pi; new_frame->last_item = pi; new_frame->tree = pt; new_frame->start_offset = tok->offset; new_frame->length = tok->len; new_frame->ns = ns; new_frame->pinfo = current_frame->pinfo; g_ptr_array_add(stack, new_frame); } static void after_xmlpi(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); proto_tree_add_format_text(current_frame->tree, tok->tvb, tok->offset, tok->len); if (stack->len > 1) { g_ptr_array_remove_index_fast(stack, stack->len - 1); } else { proto_tree_add_expert(current_frame->tree, current_frame->pinfo, &ei_xml_closing_unopened_xmpli_tag, tok->tvb, tok->offset, tok->len); } } static void before_tag(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); tvbparse_elem_t *name_tok = tok->sub->next; gchar *root_name; gchar *name = NULL, *name_orig_case = NULL; xml_ns_t *ns; xml_frame_t *new_frame; proto_item *pi; proto_tree *pt; if (name_tok->sub->id == XML_SCOPED_NAME) { tvbparse_elem_t *root_tok = name_tok->sub->sub; tvbparse_elem_t *leaf_tok = name_tok->sub->sub->next->next; xml_ns_t *nameroot_ns; root_name = (gchar *)tvb_get_string_enc(wmem_packet_scope(), root_tok->tvb, root_tok->offset, root_tok->len, ENC_ASCII); name = (gchar *)tvb_get_string_enc(wmem_packet_scope(), leaf_tok->tvb, leaf_tok->offset, leaf_tok->len, ENC_ASCII); name_orig_case = name; nameroot_ns = (xml_ns_t *)wmem_map_lookup(xml_ns.elements, root_name); if(nameroot_ns) { ns = (xml_ns_t *)wmem_map_lookup(nameroot_ns->elements, name); if (!ns) { ns = &unknown_ns; } } else { ns = &unknown_ns; } } else { name = tvb_get_string_enc(wmem_packet_scope(), name_tok->tvb, name_tok->offset, name_tok->len, ENC_ASCII); name_orig_case = wmem_strdup(wmem_packet_scope(), name); ascii_strdown_inplace(name); if(current_frame->ns) { ns = (xml_ns_t *)wmem_map_lookup(current_frame->ns->elements, name); if (!ns) { if (! ( ns = (xml_ns_t *)wmem_map_lookup(root_ns->elements, name) ) ) { ns = &unknown_ns; } } } else { ns = &unknown_ns; } } pi = proto_tree_add_item(current_frame->tree, ns->hf_tag, tok->tvb, tok->offset, tok->len, ENC_UTF_8|ENC_NA); proto_item_set_text(pi, "%s", tvb_format_text(wmem_packet_scope(), tok->tvb, tok->offset, (name_tok->offset - tok->offset) + name_tok->len)); pt = proto_item_add_subtree(pi, ns->ett); new_frame = wmem_new(wmem_packet_scope(), xml_frame_t); new_frame->type = XML_FRAME_TAG; new_frame->name = name; new_frame->name_orig_case = name_orig_case; new_frame->value = NULL; insert_xml_frame(current_frame, new_frame); new_frame->item = pi; new_frame->last_item = pi; new_frame->tree = pt; new_frame->start_offset = tok->offset; new_frame->length = tok->len; new_frame->ns = ns; new_frame->pinfo = current_frame->pinfo; g_ptr_array_add(stack, new_frame); } static void after_open_tag(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok _U_) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); proto_item_append_text(current_frame->last_item, ">"); } static void after_closed_tag(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); proto_item_append_text(current_frame->last_item, "/>"); if (stack->len > 1) { g_ptr_array_remove_index_fast(stack, stack->len - 1); } else { proto_tree_add_expert(current_frame->tree, current_frame->pinfo, &ei_xml_closing_unopened_tag, tok->tvb, tok->offset, tok->len); } } static void after_untag(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); proto_item_set_len(current_frame->item, (tok->offset - current_frame->start_offset) + tok->len); current_frame->length = (tok->offset - current_frame->start_offset) + tok->len; proto_tree_add_format_text(current_frame->tree, tok->tvb, tok->offset, tok->len); if (stack->len > 1) { g_ptr_array_remove_index_fast(stack, stack->len - 1); } else { proto_tree_add_expert(current_frame->tree, current_frame->pinfo, &ei_xml_closing_unopened_tag, tok->tvb, tok->offset, tok->len); } } static void before_dtd_doctype(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); xml_frame_t *new_frame; tvbparse_elem_t *name_tok = tok->sub->next->next->next->sub->sub; proto_tree *dtd_item = proto_tree_add_item(current_frame->tree, hf_doctype, name_tok->tvb, name_tok->offset, name_tok->len, ENC_ASCII); proto_item_set_text(dtd_item, "%s", tvb_format_text(wmem_packet_scope(), tok->tvb, tok->offset, tok->len)); new_frame = wmem_new(wmem_packet_scope(), xml_frame_t); new_frame->type = XML_FRAME_DTD_DOCTYPE; new_frame->name = (gchar *)tvb_get_string_enc(wmem_packet_scope(), name_tok->tvb, name_tok->offset, name_tok->len, ENC_ASCII); new_frame->name_orig_case = new_frame->name; new_frame->value = NULL; insert_xml_frame(current_frame, new_frame); new_frame->item = dtd_item; new_frame->last_item = dtd_item; new_frame->tree = proto_item_add_subtree(dtd_item, ett_dtd); new_frame->start_offset = tok->offset; new_frame->length = tok->len; new_frame->ns = NULL; new_frame->pinfo = current_frame->pinfo; g_ptr_array_add(stack, new_frame); } static void pop_stack(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok _U_) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); if (stack->len > 1) { g_ptr_array_remove_index_fast(stack, stack->len - 1); } else { proto_tree_add_expert(current_frame->tree, current_frame->pinfo, &ei_xml_closing_unopened_tag, tok->tvb, tok->offset, tok->len); } } static void after_dtd_close(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); proto_tree_add_format_text(current_frame->tree, tok->tvb, tok->offset, tok->len); if (stack->len > 1) { g_ptr_array_remove_index_fast(stack, stack->len - 1); } else { proto_tree_add_expert(current_frame->tree, current_frame->pinfo, &ei_xml_closing_unopened_tag, tok->tvb, tok->offset, tok->len); } } static void get_attrib_value(void *tvbparse_data _U_, const void *wanted_data _U_, tvbparse_elem_t *tok) { tok->data = tok->sub; } static void after_attrib(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); gchar *name, *name_orig_case; tvbparse_elem_t *value; tvbparse_elem_t *value_part = (tvbparse_elem_t *)tok->sub->next->next->data; int *hfidp; int hfid; proto_item *pi; xml_frame_t *new_frame; name = tvb_get_string_enc(wmem_packet_scope(), tok->sub->tvb, tok->sub->offset, tok->sub->len, ENC_ASCII); name_orig_case = wmem_strdup(wmem_packet_scope(), name); ascii_strdown_inplace(name); if(current_frame->ns && (hfidp = (int *)wmem_map_lookup(current_frame->ns->attributes, name) )) { hfid = *hfidp; value = value_part; } else { hfid = hf_unknowwn_attrib; value = tok; } pi = proto_tree_add_item(current_frame->tree, hfid, value->tvb, value->offset, value->len, ENC_UTF_8|ENC_NA); proto_item_set_text(pi, "%s", tvb_format_text(wmem_packet_scope(), tok->tvb, tok->offset, tok->len)); current_frame->last_item = pi; new_frame = wmem_new(wmem_packet_scope(), xml_frame_t); new_frame->type = XML_FRAME_ATTRIB; new_frame->name = name; new_frame->name_orig_case = name_orig_case; new_frame->value = tvb_new_subset_length(value_part->tvb, value_part->offset, value_part->len); insert_xml_frame(current_frame, new_frame); new_frame->item = pi; new_frame->last_item = pi; new_frame->tree = NULL; new_frame->start_offset = tok->offset; new_frame->length = tok->len; new_frame->ns = NULL; new_frame->pinfo = current_frame->pinfo; } static void unrecognized_token(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *tok _U_) { GPtrArray *stack = (GPtrArray *)tvbparse_data; xml_frame_t *current_frame = (xml_frame_t *)g_ptr_array_index(stack, stack->len - 1); proto_tree_add_expert(current_frame->tree, current_frame->pinfo, &ei_xml_unrecognized_text, tok->tvb, tok->offset, tok->len); } static void init_xml_parser(void) { tvbparse_wanted_t *want_name = tvbparse_chars(-1, 1, 0, "abcdefghijklmnopqrstuvwxyz.-_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", NULL, NULL, NULL); tvbparse_wanted_t *want_attr_name = tvbparse_chars(-1, 1, 0, "abcdefghijklmnopqrstuvwxyz.-_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:", NULL, NULL, NULL); tvbparse_wanted_t *want_scoped_name = tvbparse_set_seq(XML_SCOPED_NAME, NULL, NULL, NULL, want_name, tvbparse_char(-1, ":", NULL, NULL, NULL), want_name, NULL); tvbparse_wanted_t *want_tag_name = tvbparse_set_oneof(0, NULL, NULL, NULL, want_scoped_name, want_name, NULL); tvbparse_wanted_t *want_attrib_value = tvbparse_set_oneof(0, NULL, NULL, get_attrib_value, tvbparse_quoted(-1, NULL, NULL, tvbparse_shrink_token_cb, '\"', '\\'), tvbparse_quoted(-1, NULL, NULL, tvbparse_shrink_token_cb, '\'', '\\'), tvbparse_chars(-1, 1, 0, "0123456789", NULL, NULL, NULL), want_name, NULL); tvbparse_wanted_t *want_attributes = tvbparse_one_or_more(-1, NULL, NULL, NULL, tvbparse_set_seq(-1, NULL, NULL, after_attrib, want_attr_name, tvbparse_char(-1, "=", NULL, NULL, NULL), want_attrib_value, NULL)); tvbparse_wanted_t *want_stoptag = tvbparse_set_oneof(-1, NULL, NULL, NULL, tvbparse_char(-1, ">", NULL, NULL, after_open_tag), tvbparse_string(-1, "/>", NULL, NULL, after_closed_tag), NULL); tvbparse_wanted_t *want_stopxmlpi = tvbparse_string(-1, "?>", NULL, NULL, after_xmlpi); tvbparse_wanted_t *want_comment = tvbparse_set_seq(hf_comment, NULL, NULL, after_token, tvbparse_string(-1, "<!--", NULL, NULL, NULL), tvbparse_until(-1, NULL, NULL, NULL, tvbparse_string(-1, "-->", NULL, NULL, NULL), TP_UNTIL_INCLUDE), NULL); tvbparse_wanted_t *want_cdatasection = tvbparse_set_seq(hf_cdatasection, NULL, NULL, after_token, tvbparse_string(-1, "<![CDATA[", NULL, NULL, NULL), tvbparse_until(-1, NULL, NULL, NULL, tvbparse_string(-1, "]]>", NULL, NULL, NULL), TP_UNTIL_INCLUDE), NULL); tvbparse_wanted_t *want_xmlpi = tvbparse_set_seq(hf_xmlpi, NULL, before_xmpli, NULL, tvbparse_string(-1, "<?", NULL, NULL, NULL), want_name, tvbparse_set_oneof(-1, NULL, NULL, NULL, want_stopxmlpi, tvbparse_set_seq(-1, NULL, NULL, NULL, want_attributes, want_stopxmlpi, NULL), NULL), NULL); tvbparse_wanted_t *want_closing_tag = tvbparse_set_seq(0, NULL, NULL, after_untag, tvbparse_char(-1, "<", NULL, NULL, NULL), tvbparse_char(-1, "/", NULL, NULL, NULL), want_tag_name, tvbparse_char(-1, ">", NULL, NULL, NULL), NULL); tvbparse_wanted_t *want_doctype_start = tvbparse_set_seq(-1, NULL, before_dtd_doctype, NULL, tvbparse_char(-1, "<", NULL, NULL, NULL), tvbparse_char(-1, "!", NULL, NULL, NULL), tvbparse_casestring(-1, "DOCTYPE", NULL, NULL, NULL), tvbparse_set_oneof(-1, NULL, NULL, NULL, tvbparse_set_seq(-1, NULL, NULL, NULL, want_name, tvbparse_char(-1, "[", NULL, NULL, NULL), NULL), tvbparse_set_seq(-1, NULL, NULL, pop_stack, want_name, tvbparse_set_oneof(-1, NULL, NULL, NULL, tvbparse_casestring(-1, "PUBLIC", NULL, NULL, NULL), tvbparse_casestring(-1, "SYSTEM", NULL, NULL, NULL), NULL), tvbparse_until(-1, NULL, NULL, NULL, tvbparse_char(-1, ">", NULL, NULL, NULL), TP_UNTIL_INCLUDE), NULL), NULL), NULL); tvbparse_wanted_t *want_dtd_tag = tvbparse_set_seq(hf_dtd_tag, NULL, NULL, after_token, tvbparse_char(-1, "<", NULL, NULL, NULL), tvbparse_char(-1, "!", NULL, NULL, NULL), tvbparse_until(-1, NULL, NULL, NULL, tvbparse_char(-1, ">", NULL, NULL, NULL), TP_UNTIL_INCLUDE), NULL); tvbparse_wanted_t *want_tag = tvbparse_set_seq(-1, NULL, before_tag, NULL, tvbparse_char(-1, "<", NULL, NULL, NULL), want_tag_name, tvbparse_set_oneof(-1, NULL, NULL, NULL, tvbparse_set_seq(-1, NULL, NULL, NULL, want_attributes, want_stoptag, NULL), want_stoptag, NULL), NULL); tvbparse_wanted_t *want_dtd_close = tvbparse_set_seq(-1, NULL, NULL, after_dtd_close, tvbparse_char(-1, "]", NULL, NULL, NULL), tvbparse_char(-1, ">", NULL, NULL, NULL), NULL); want_ignore = tvbparse_chars(-1, 1, 0, " \t\r\n", NULL, NULL, NULL); want = tvbparse_set_oneof(-1, NULL, NULL, NULL, want_comment, want_cdatasection, want_xmlpi, want_closing_tag, want_doctype_start, want_dtd_close, want_dtd_tag, want_tag, tvbparse_not_chars(XML_CDATA, 1, 0, "<", NULL, NULL, after_token), tvbparse_not_chars(-1, 1, 0, " \t\r\n", NULL, NULL, unrecognized_token), NULL); want_heur = tvbparse_set_oneof(-1, NULL, NULL, NULL, want_comment, want_cdatasection, want_xmlpi, want_doctype_start, want_dtd_tag, want_tag, NULL); } static xml_ns_t *xml_new_namespace(wmem_map_t *hash, const gchar *name, ...) { xml_ns_t *ns = wmem_new(wmem_epan_scope(), xml_ns_t); va_list ap; gchar *attr_name; ns->name = wmem_strdup(wmem_epan_scope(), name); ns->hf_tag = -1; ns->hf_cdata = -1; ns->ett = -1; ns->attributes = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); ns->elements = NULL; va_start(ap, name); while(( attr_name = va_arg(ap, gchar *) )) { int *hfp = wmem_new(wmem_epan_scope(), int); *hfp = -1; wmem_map_insert(ns->attributes, wmem_strdup(wmem_epan_scope(), attr_name), hfp); }; va_end(ap); wmem_map_insert(hash, ns->name, ns); return ns; } static void add_xml_field(wmem_array_t *hfs, int *p_id, const gchar *name, const gchar *fqn) { hf_register_info hfri; hfri.p_id = p_id; hfri.hfinfo.name = name; hfri.hfinfo.abbrev = fqn; hfri.hfinfo.type = FT_STRING; hfri.hfinfo.display = BASE_NONE; hfri.hfinfo.strings = NULL; hfri.hfinfo.bitmask = 0x0; hfri.hfinfo.blurb = NULL; HFILL_INIT(hfri); wmem_array_append_one(hfs, hfri); } static void add_xml_attribute_names(gpointer k, gpointer v, gpointer p) { struct _attr_reg_data *d = (struct _attr_reg_data *)p; const gchar *basename = wmem_strconcat(wmem_epan_scope(), d->basename, ".", (gchar *)k, NULL); add_xml_field(d->hf, (int*) v, (gchar *)k, basename); } static void add_xmlpi_namespace(gpointer k _U_, gpointer v, gpointer p) { xml_ns_t *ns = (xml_ns_t *)v; const gchar *basename = wmem_strconcat(wmem_epan_scope(), (gchar *)p, ".", ns->name, NULL); gint *ett_p = &(ns->ett); struct _attr_reg_data d; add_xml_field(hf_arr, &(ns->hf_tag), basename, basename); g_array_append_val(ett_arr, ett_p); d.basename = basename; d.hf = hf_arr; wmem_map_foreach(ns->attributes, add_xml_attribute_names, &d); } static void destroy_dtd_data(dtd_build_data_t *dtd_data) { g_free(dtd_data->proto_name); g_free(dtd_data->media_type); g_free(dtd_data->description); g_free(dtd_data->proto_root); g_string_free(dtd_data->error, TRUE); while(dtd_data->elements->len) { dtd_named_list_t *nl = (dtd_named_list_t *)g_ptr_array_remove_index_fast(dtd_data->elements, 0); g_ptr_array_free(nl->list, TRUE); g_free(nl->name); g_free(nl); } g_ptr_array_free(dtd_data->elements, TRUE); while(dtd_data->attributes->len) { dtd_named_list_t *nl = (dtd_named_list_t *)g_ptr_array_remove_index_fast(dtd_data->attributes, 0); g_ptr_array_free(nl->list, TRUE); g_free(nl->name); g_free(nl); } g_ptr_array_free(dtd_data->attributes, TRUE); g_free(dtd_data); } static void copy_attrib_item(gpointer k, gpointer v _U_, gpointer p) { gchar *key = (gchar *)wmem_strdup(wmem_epan_scope(), (const gchar *)k); int *value = wmem_new(wmem_epan_scope(), int); wmem_map_t *dst = (wmem_map_t *)p; *value = -1; wmem_map_insert(dst, key, value); } static wmem_map_t *copy_attributes_hash(wmem_map_t *src) { wmem_map_t *dst = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); wmem_map_foreach(src, copy_attrib_item, dst); return dst; } static xml_ns_t *duplicate_element(xml_ns_t *orig) { xml_ns_t *new_item = wmem_new(wmem_epan_scope(), xml_ns_t); guint i; new_item->name = wmem_strdup(wmem_epan_scope(), orig->name); new_item->hf_tag = -1; new_item->hf_cdata = -1; new_item->ett = -1; new_item->attributes = copy_attributes_hash(orig->attributes); new_item->elements = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); new_item->element_names = g_ptr_array_new(); for(i=0; i < orig->element_names->len; i++) { g_ptr_array_add(new_item->element_names, g_ptr_array_index(orig->element_names, i)); } return new_item; } static gchar *fully_qualified_name(GPtrArray *hier, gchar *name, gchar *proto_name) { guint i; wmem_strbuf_t *s = wmem_strbuf_new(wmem_epan_scope(), proto_name); wmem_strbuf_append(s, "."); for (i = 1; i < hier->len; i++) { wmem_strbuf_append_printf(s, "%s.", (gchar *)g_ptr_array_index(hier, i)); } wmem_strbuf_append(s, name); return wmem_strbuf_finalize(s);; } static xml_ns_t *make_xml_hier(gchar *elem_name, xml_ns_t *root, wmem_map_t *elements, GPtrArray *hier, GString *error, wmem_array_t *hfs, GArray *etts, char *proto_name) { xml_ns_t *fresh; xml_ns_t *orig; gchar *fqn; gint *ett_p; gboolean recurred = FALSE; guint i; struct _attr_reg_data d; if ( g_str_equal(elem_name, root->name) ) { return NULL; } if (! ( orig = (xml_ns_t *)wmem_map_lookup(elements, elem_name) )) { g_string_append_printf(error, "element '%s' is not defined\n", elem_name); return NULL; } for (i = 0; i < hier->len; i++) { if( (elem_name) && (strcmp(elem_name, (gchar *) g_ptr_array_index(hier, i) ) == 0 )) { recurred = TRUE; } } if (recurred) { return NULL; } fqn = fully_qualified_name(hier, elem_name, proto_name); fresh = duplicate_element(orig); fresh->fqn = fqn; add_xml_field(hfs, &(fresh->hf_tag), wmem_strdup(wmem_epan_scope(), elem_name), fqn); add_xml_field(hfs, &(fresh->hf_cdata), wmem_strdup(wmem_epan_scope(), elem_name), fqn); ett_p = &fresh->ett; g_array_append_val(etts, ett_p); d.basename = fqn; d.hf = hfs; wmem_map_foreach(fresh->attributes, add_xml_attribute_names, &d); while(fresh->element_names->len) { gchar *child_name = (gchar *)g_ptr_array_remove_index(fresh->element_names, 0); xml_ns_t *child_element = NULL; g_ptr_array_add(hier, elem_name); child_element = make_xml_hier(child_name, root, elements, hier, error, hfs, etts, proto_name); g_ptr_array_remove_index_fast(hier, hier->len - 1); if (child_element) { wmem_map_insert(fresh->elements, child_element->name, child_element); } } g_ptr_array_free(fresh->element_names, TRUE); fresh->element_names = NULL; return fresh; } static void free_elements(gpointer k _U_, gpointer v, gpointer p _U_) { xml_ns_t *e = (xml_ns_t *)v; while (e->element_names->len) { g_free(g_ptr_array_remove_index(e->element_names, 0)); } g_ptr_array_free(e->element_names, TRUE); } static void register_dtd(dtd_build_data_t *dtd_data, GString *errors) { wmem_map_t *elements = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); gchar *root_name = NULL; xml_ns_t *root_element = NULL; wmem_array_t *hfs; GArray *etts; GPtrArray *hier; gchar *curr_name; GPtrArray *element_names = g_ptr_array_new(); /* we first populate elements with the those coming from the parser */ while(dtd_data->elements->len) { dtd_named_list_t *nl = (dtd_named_list_t *)g_ptr_array_remove_index(dtd_data->elements, 0); xml_ns_t *element = wmem_new(wmem_epan_scope(), xml_ns_t); /* we will use the first element found as root in case no other one was given. */ if (root_name == NULL) root_name = wmem_strdup(wmem_epan_scope(), nl->name); element->name = wmem_strdup(wmem_epan_scope(), nl->name); element->element_names = nl->list; element->hf_tag = -1; element->hf_cdata = -1; element->ett = -1; element->attributes = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); element->elements = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); if( wmem_map_lookup(elements, element->name) ) { g_string_append_printf(errors, "element %s defined more than once\n", element->name); free_elements(NULL, element, NULL); } else { wmem_map_insert(elements, element->name, element); g_ptr_array_add(element_names, wmem_strdup(wmem_epan_scope(), element->name)); } g_free(nl->name); g_free(nl); } /* then we add the attributes to its relative elements */ while(dtd_data->attributes->len) { dtd_named_list_t *nl = (dtd_named_list_t *)g_ptr_array_remove_index(dtd_data->attributes, 0); xml_ns_t *element = (xml_ns_t *)wmem_map_lookup(elements, nl->name); if (element) { while(nl->list->len) { gchar *name = (gchar *)g_ptr_array_remove_index(nl->list, 0); int *id_p = wmem_new(wmem_epan_scope(), int); *id_p = -1; wmem_map_insert(element->attributes, wmem_strdup(wmem_epan_scope(), name), id_p); g_free(name); } } else { g_string_append_printf(errors, "element %s is not defined\n", nl->name); } g_free(nl->name); g_ptr_array_free(nl->list, TRUE); g_free(nl); } /* if a proto_root is defined in the dtd we'll use that as root */ if( dtd_data->proto_root ) { wmem_free(wmem_epan_scope(), root_name); root_name = wmem_strdup(wmem_epan_scope(), dtd_data->proto_root); } /* we use a stack with the names to avoid recurring infinitelly */ hier = g_ptr_array_new(); /* * if a proto name was given in the dtd the dtd will be used as a protocol * or else the dtd will be loaded as a branch of the xml namespace */ if( ! dtd_data->proto_name ) { hfs = hf_arr; etts = ett_arr; g_ptr_array_add(hier, wmem_strdup(wmem_epan_scope(), "xml")); } else { /* * if we were given a proto_name the namespace will be registered * as an independent protocol with its own hf and ett arrays. */ hfs = wmem_array_new(wmem_epan_scope(), sizeof(hf_register_info)); etts = g_array_new(FALSE, FALSE, sizeof(gint *)); } /* the root element of the dtd's namespace */ root_element = wmem_new(wmem_epan_scope(), xml_ns_t); root_element->name = wmem_strdup(wmem_epan_scope(), root_name); root_element->fqn = dtd_data->proto_name ? wmem_strdup(wmem_epan_scope(), dtd_data->proto_name) : root_element->name; root_element->hf_tag = -1; root_element->hf_cdata = -1; root_element->ett = -1; root_element->elements = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); root_element->element_names = element_names; /* * we can either create a namespace as a flat namespace * in which all the elements are at the root level * or we can create a recursive namespace */ if (dtd_data->recursion) { xml_ns_t *orig_root; make_xml_hier(root_name, root_element, elements, hier, errors, hfs, etts, dtd_data->proto_name); wmem_map_insert(root_element->elements, (gpointer)root_element->name, root_element); orig_root = (xml_ns_t *)wmem_map_lookup(elements, root_name); /* if the root element was defined copy its attrlist to the child */ if(orig_root) { struct _attr_reg_data d; d.basename = dtd_data->proto_name; d.hf = hfs; root_element->attributes = copy_attributes_hash(orig_root->attributes); wmem_map_foreach(root_element->attributes, add_xml_attribute_names, &d); } else { root_element->attributes = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); } /* we then create all the sub hierarchies to catch the recurred cases */ g_ptr_array_add(hier, root_name); while(root_element->element_names->len) { curr_name = (gchar *)g_ptr_array_remove_index(root_element->element_names, 0); if( ! wmem_map_lookup(root_element->elements, curr_name) ) { xml_ns_t *fresh = make_xml_hier(curr_name, root_element, elements, hier, errors, hfs, etts, dtd_data->proto_name); wmem_map_insert(root_element->elements, (gpointer)fresh->name, fresh); } } } else { /* a flat namespace */ g_ptr_array_add(hier, root_name); root_element->attributes = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); while(root_element->element_names->len) { xml_ns_t *fresh; gint *ett_p; struct _attr_reg_data d; curr_name = (gchar *)g_ptr_array_remove_index(root_element->element_names, 0); fresh = duplicate_element((xml_ns_t *)wmem_map_lookup(elements, curr_name)); fresh->fqn = fully_qualified_name(hier, curr_name, root_name); add_xml_field(hfs, &(fresh->hf_tag), curr_name, fresh->fqn); add_xml_field(hfs, &(fresh->hf_cdata), curr_name, fresh->fqn); d.basename = fresh->fqn; d.hf = hfs; wmem_map_foreach(fresh->attributes, add_xml_attribute_names, &d); ett_p = &fresh->ett; g_array_append_val(etts, ett_p); g_ptr_array_free(fresh->element_names, TRUE); wmem_map_insert(root_element->elements, (gpointer)fresh->name, fresh); } } g_ptr_array_free(element_names, TRUE); g_ptr_array_free(hier, TRUE); /* * if we were given a proto_name the namespace will be registered * as an independent protocol. */ if( dtd_data->proto_name ) { gint *ett_p; gchar *full_name, *short_name; if (dtd_data->description) { full_name = wmem_strdup(wmem_epan_scope(), dtd_data->description); } else { full_name = wmem_strdup(wmem_epan_scope(), root_name); } short_name = wmem_strdup(wmem_epan_scope(), dtd_data->proto_name); ett_p = &root_element->ett; g_array_append_val(etts, ett_p); add_xml_field(hfs, &root_element->hf_cdata, root_element->name, root_element->fqn); root_element->hf_tag = proto_register_protocol(full_name, short_name, short_name); proto_register_field_array(root_element->hf_tag, (hf_register_info*)wmem_array_get_raw(hfs), wmem_array_get_count(hfs)); proto_register_subtree_array((gint **)etts->data, etts->len); if (dtd_data->media_type) { gchar* media_type = wmem_strdup(wmem_epan_scope(), dtd_data->media_type); wmem_map_insert(media_types, media_type, root_element); } g_array_free(etts, TRUE); } wmem_map_insert(xml_ns.elements, root_element->name, root_element); wmem_map_foreach(elements, free_elements, NULL); destroy_dtd_data(dtd_data); wmem_free(wmem_epan_scope(), root_name); } # define DIRECTORY_T GDir # define FILE_T gchar # define OPENDIR_OP(name) g_dir_open(name, 0, dummy) # define DIRGETNEXT_OP(dir) g_dir_read_name(dir) # define GETFNAME_OP(file) (file); # define CLOSEDIR_OP(dir) g_dir_close(dir) static void init_xml_names(void) { guint i; DIRECTORY_T *dir; const FILE_T *file; const gchar *filename; gchar *dirname; GError **dummy = wmem_new(wmem_epan_scope(), GError *); *dummy = NULL; xmpli_names = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); media_types = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); unknown_ns.elements = xml_ns.elements = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); unknown_ns.attributes = xml_ns.attributes = wmem_map_new(wmem_epan_scope(), g_str_hash, g_str_equal); xml_new_namespace(xmpli_names, "xml", "version", "encoding", "standalone", NULL); dirname = get_persconffile_path("dtds", FALSE); if (test_for_directory(dirname) != EISDIR) { /* Although dir isn't a directory it may still use memory */ g_free(dirname); dirname = get_datafile_path("dtds"); } if (test_for_directory(dirname) == EISDIR) { if ((dir = OPENDIR_OP(dirname)) != NULL) { GString *errors = g_string_new(""); while ((file = DIRGETNEXT_OP(dir)) != NULL) { guint namelen; filename = GETFNAME_OP(file); namelen = (int)strlen(filename); if ( namelen > 4 && ( g_ascii_strcasecmp(filename+(namelen-4), ".dtd") == 0 ) ) { GString *preparsed; dtd_build_data_t *dtd_data; g_string_truncate(errors, 0); preparsed = dtd_preparse(dirname, filename, errors); if (errors->len) { report_failure("Dtd Preparser in file %s%c%s: %s", dirname, G_DIR_SEPARATOR, filename, errors->str); continue; } dtd_data = dtd_parse(preparsed); g_string_free(preparsed, TRUE); if (dtd_data->error->len) { report_failure("Dtd Parser in file %s%c%s: %s", dirname, G_DIR_SEPARATOR, filename, dtd_data->error->str); destroy_dtd_data(dtd_data); continue; } register_dtd(dtd_data, errors); if (errors->len) { report_failure("Dtd Registration in file: %s%c%s: %s", dirname, G_DIR_SEPARATOR, filename, errors->str); continue; } } } g_string_free(errors, TRUE); CLOSEDIR_OP(dir); } } g_free(dirname); for(i=0;i<array_length(default_media_types);i++) { if( ! wmem_map_lookup(media_types, default_media_types[i]) ) { wmem_map_insert(media_types, (gpointer)default_media_types[i], &xml_ns); } } wmem_map_foreach(xmpli_names, add_xmlpi_namespace, (gpointer)"xml.xmlpi"); wmem_free(wmem_epan_scope(), dummy); } static void xml_init_protocol(void) { encoding_pattern = g_regex_new("^<[?]xml\\s+version\\s*=\\s*[\"']\\s*.+\\s*[\"']\\s+encoding\\s*=\\s*[\"']\\s*(.+)\\s*[\"']", G_REGEX_CASELESS, 0, 0); } static void xml_cleanup_protocol(void) { g_regex_unref(encoding_pattern); } void proto_register_xml(void) { static gint *ett_base[] = { &unknown_ns.ett, &xml_ns.ett, &ett_dtd, &ett_xmpli }; static hf_register_info hf_base[] = { { &hf_xmlpi, {"XMLPI", "xml.xmlpi", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_cdatasection, {"CDATASection", "xml.cdatasection", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_comment, {"Comment", "xml.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_unknowwn_attrib, {"Attribute", "xml.attribute", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_doctype, {"Doctype", "xml.doctype", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_dtd_tag, {"DTD Tag", "xml.dtdtag", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &unknown_ns.hf_cdata, {"CDATA", "xml.cdata", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &unknown_ns.hf_tag, {"Tag", "xml.tag", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &xml_ns.hf_cdata, {"Unknown", "xml.unknown", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } } }; static ei_register_info ei[] = { { &ei_xml_closing_unopened_tag, { "xml.closing_unopened_tag", PI_MALFORMED, PI_ERROR, "Closing an unopened tag", EXPFILL }}, { &ei_xml_closing_unopened_xmpli_tag, { "xml.closing_unopened_xmpli_tag", PI_MALFORMED, PI_ERROR, "Closing an unopened xmpli tag", EXPFILL }}, { &ei_xml_unrecognized_text, { "xml.unrecognized_text", PI_PROTOCOL, PI_WARN, "Unrecognized text", EXPFILL }}, }; module_t *xml_module; expert_module_t* expert_xml; hf_arr = wmem_array_new(wmem_epan_scope(), sizeof(hf_register_info)); ett_arr = g_array_new(FALSE, FALSE, sizeof(gint *)); wmem_array_append(hf_arr, hf_base, array_length(hf_base)); g_array_append_vals(ett_arr, ett_base, array_length(ett_base)); init_xml_names(); xml_ns.hf_tag = proto_register_protocol("eXtensible Markup Language", "XML", xml_ns.name); proto_register_field_array(xml_ns.hf_tag, (hf_register_info*)wmem_array_get_raw(hf_arr), wmem_array_get_count(hf_arr)); proto_register_subtree_array((gint **)ett_arr->data, ett_arr->len); expert_xml = expert_register_protocol(xml_ns.hf_tag); expert_register_field_array(expert_xml, ei, array_length(ei)); xml_module = prefs_register_protocol(xml_ns.hf_tag, NULL); prefs_register_obsolete_preference(xml_module, "heuristic"); prefs_register_obsolete_preference(xml_module, "heuristic_tcp"); prefs_register_obsolete_preference(xml_module, "heuristic_udp"); /* XXX - UCS-2, or UTF-16? */ prefs_register_bool_preference(xml_module, "heuristic_unicode", "Use Unicode in heuristics", "Try to recognize XML encoded in Unicode (UCS-2BE)", &pref_heuristic_unicode); prefs_register_enum_preference(xml_module, "default_encoding", "Default character encoding", "Use this charset if the 'encoding' attribute of XML declaration is missing." "Unsupported encoding will be replaced by the default UTF-8.", &pref_default_encoding, ws_supported_mibenum_vals_character_sets_ev_array, FALSE); g_array_free(ett_arr, TRUE); register_init_routine(&xml_init_protocol); register_cleanup_routine(&xml_cleanup_protocol); xml_handle = register_dissector("xml", dissect_xml, xml_ns.hf_tag); init_xml_parser(); } static void add_dissector_media(gpointer k, gpointer v _U_, gpointer p _U_) { dissector_add_string("media_type", (gchar *)k, xml_handle); } void proto_reg_handoff_xml(void) { wmem_map_foreach(media_types, add_dissector_media, NULL); dissector_add_uint_range_with_preference("tcp.port", "", xml_handle); heur_dissector_add("http", dissect_xml_heur, "XML in HTTP", "xml_http", xml_ns.hf_tag, HEURISTIC_DISABLE); heur_dissector_add("sip", dissect_xml_heur, "XML in SIP", "xml_sip", xml_ns.hf_tag, HEURISTIC_DISABLE); heur_dissector_add("media", dissect_xml_heur, "XML in media", "xml_media", xml_ns.hf_tag, HEURISTIC_DISABLE); heur_dissector_add("tcp", dissect_xml_heur, "XML over TCP", "xml_tcp", xml_ns.hf_tag, HEURISTIC_DISABLE); heur_dissector_add("udp", dissect_xml_heur, "XML over UDP", "xml_udp", xml_ns.hf_tag, HEURISTIC_DISABLE); heur_dissector_add("wtap_file", dissect_xml_heur, "XML file", "xml_wtap", xml_ns.hf_tag, HEURISTIC_ENABLE); dissector_add_uint("acdr.tls_application", TLS_APP_XML, xml_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-xml.h
/* packet-xml.h * wireshark's xml dissector . * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __PACKET_XML_H__ #define __PACKET_XML_H__ #include "ws_symbol_export.h" typedef struct _xml_ns_t { /* the name of this namespace */ gchar* name; /* its fully qualified name */ const gchar* fqn; /* the contents of the whole element from <> to </> */ int hf_tag; /* chunks of cdata from <> to </> excluding sub tags */ int hf_cdata; /* the subtree for its sub items */ gint ett; wmem_map_t* attributes; /* key: the attribute name value: hf_id of what's between quotes */ /* the namespace's namespaces */ wmem_map_t* elements; /* key: the element name value: the child namespace */ GPtrArray* element_names; /* imported directly from the parser and used while building the namespace */ } xml_ns_t; #define XML_FRAME_ROOT 0 #define XML_FRAME_TAG 1 #define XML_FRAME_XMPLI 2 #define XML_FRAME_DTD_DOCTYPE 3 #define XML_FRAME_ATTRIB 4 #define XML_FRAME_CDATA 5 typedef struct _xml_frame_t { int type; struct _xml_frame_t* parent; struct _xml_frame_t* first_child; struct _xml_frame_t* last_child; struct _xml_frame_t* prev_sibling; struct _xml_frame_t* next_sibling; const gchar *name; const gchar *name_orig_case; tvbuff_t *value; proto_tree* tree; proto_item* item; proto_item* last_item; xml_ns_t* ns; int start_offset; int length; packet_info* pinfo; } xml_frame_t; WS_DLL_PUBLIC xml_frame_t *xml_get_tag(xml_frame_t *frame, const gchar *name); WS_DLL_PUBLIC xml_frame_t *xml_get_attrib(xml_frame_t *frame, const gchar *name); WS_DLL_PUBLIC xml_frame_t *xml_get_cdata(xml_frame_t *frame); #endif /* __PACKET_XML_H__ */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-xmpp-conference.c
/* xmpp-conference.c * Wireshark's XMPP dissector. * * XEP-0298: Delivering Conference Information to Jingle Participants (Coin) * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include "packet-xmpp.h" #include "packet-xmpp-conference.h" static void xmpp_conf_desc(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_conf_state(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_conf_users(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_conf_user(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_conf_endpoint(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_conf_media(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); void xmpp_conferece_info_advert(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *cinfo_item; proto_tree *cinfo_tree; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"isfocus", NULL, TRUE, TRUE, NULL, NULL} }; cinfo_item = proto_tree_add_item(tree, hf_xmpp_conf_info, tvb, element->offset, element->length, ENC_BIG_ENDIAN); cinfo_tree = proto_item_add_subtree(cinfo_item, ett_xmpp_conf_info); xmpp_display_attrs(cinfo_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(cinfo_tree, element, pinfo, tvb, NULL, 0); } void xmpp_conference_info(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *cinfo_item; proto_tree *cinfo_tree; static const gchar *state_enums[] = {"full", "partial", "deleted"}; xmpp_array_t *state_array = xmpp_ep_init_array_t(pinfo->pool, state_enums, array_length(state_enums)); xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"entity", NULL, TRUE, TRUE, NULL, NULL}, {"state", NULL, FALSE, TRUE, xmpp_val_enum_list, state_array}, {"version", NULL, FALSE, TRUE, NULL, NULL}, {"sid", &hf_xmpp_conf_info_sid, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "conference-description", xmpp_conf_desc, ONE}, {NAME, "conference-state", xmpp_conf_state, ONE}, /*{NAME, "host-info", xmpp_conf_host_info, ONE},*/ {NAME, "users", xmpp_conf_users, ONE}, /*{NAME, "sidebars-by-ref", xmpp_conf_sidebars_by_ref, ONE},*/ /*{NAME, "sidebars-by-val", xmpp_conf_sidebars_by_val, ONE},*/ }; col_append_str(pinfo->cinfo, COL_INFO, "CONFERENC-INFO "); cinfo_item = proto_tree_add_item(tree, hf_xmpp_conf_info, tvb, element->offset, element->length, ENC_BIG_ENDIAN); cinfo_tree = proto_item_add_subtree(cinfo_item, ett_xmpp_conf_info); xmpp_display_attrs(cinfo_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(cinfo_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_conf_desc(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *desc_tree; xmpp_attr_info attrs_info [] = { {"subject", NULL, FALSE, TRUE, NULL, NULL}, {"display-text", NULL, FALSE, FALSE, NULL, NULL}, {"free-text", NULL, FALSE, FALSE, NULL, NULL}, {"max-user-count", NULL, FALSE, FALSE, NULL, NULL}, }; /* xmpp_elem_info elems_info [] = { {NAME, "keywords", xmpp_conf_desc_keywords, ONE}, {NAME, "conf-uris", xmpp_conf_desc_conf_uris, ONE}, {NAME, "service-uris", xmpp_conf_desc_serv_uris, ONE}, {NAME, "available-media", xmpp_conf_desc_avil_media, ONE}, }; */ desc_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_conf_desc, NULL, "CONFERENCE DESCRIPTION"); xmpp_change_elem_to_attrib(pinfo->pool, "subject", "subject", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "display-text", "display-text", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "free-text", "free-text", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "maximum-user-count", "max-user-count", element, xmpp_transform_func_cdata); xmpp_display_attrs(desc_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(desc_tree, element, pinfo, tvb, NULL,0); } static void xmpp_conf_state(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *state_tree; xmpp_attr_info attrs_info [] = { {"user-count", NULL, FALSE, TRUE, NULL, NULL}, {"active", NULL, FALSE, TRUE, NULL, NULL}, {"locked", NULL, FALSE, TRUE, NULL, NULL} }; state_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_conf_state, NULL, "CONFERENCE STATE"); xmpp_change_elem_to_attrib(pinfo->pool, "user-count", "user-count", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "active", "active", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "locked", "locked", element, xmpp_transform_func_cdata); xmpp_display_attrs(state_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(state_tree, element, pinfo, tvb, NULL,0); } static void xmpp_conf_users(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *users_tree; xmpp_attr_info attrs_info [] = { {"state", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "user", xmpp_conf_user, MANY} }; users_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_conf_users, NULL, "USERS"); xmpp_display_attrs(users_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(users_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_conf_user(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *user_tree; xmpp_attr_info attrs_info [] = { {"entity", NULL, FALSE, TRUE, NULL, NULL}, {"state", NULL, FALSE, TRUE, NULL, NULL}, {"display-text", NULL, FALSE, TRUE, NULL, NULL}, {"cascaded-focus", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { /*{NAME, "associated-aors", xmpp_conf_assoc_aors, ONE},*/ /*{NAME, "roles", xmpp_conf_roles, ONE},*/ /*{NAME, "languages", xmpp_conf_langs, ONE},*/ {NAME, "endpoint", xmpp_conf_endpoint, MANY}, }; user_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_conf_user, NULL, "USERS"); xmpp_change_elem_to_attrib(pinfo->pool, "display-text", "display-text", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "cascaded-focus", "cascaded-focus", element, xmpp_transform_func_cdata); xmpp_display_attrs(user_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(user_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_conf_endpoint(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *endpoint_tree; xmpp_attr_info attrs_info [] = { {"entity", NULL, FALSE, TRUE, NULL, NULL}, {"state", NULL, FALSE, TRUE, NULL, NULL}, {"display-text", NULL, FALSE, TRUE, NULL, NULL}, {"status", NULL, FALSE, TRUE, NULL, NULL}, {"joining-method", NULL, FALSE, TRUE, NULL, NULL}, {"disconnection-method", NULL, FALSE, TRUE, NULL, NULL}, }; xmpp_elem_info elems_info [] = { /*{NAME,"referred",...,ONE},*/ /*{NAME,"joining-info",...,ONE},*/ /*{NAME,"disconnection-info",...,ONE},*/ {NAME,"media", xmpp_conf_media, ONE}, /*{NAME,"call-info",...,ONE},*/ }; endpoint_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_conf_endpoint, NULL, "ENDPOINT"); xmpp_change_elem_to_attrib(pinfo->pool, "display-text", "display-text", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "status", "status", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "joining-method", "joining-method", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "disconnection-method", "disconnection-method", element, xmpp_transform_func_cdata); xmpp_display_attrs(endpoint_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(endpoint_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_conf_media(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *media_tree; xmpp_attr_info attrs_info[] = { {"id", NULL, TRUE, TRUE, NULL, NULL}, {"display-text", NULL, FALSE, TRUE, NULL, NULL}, {"type", NULL, FALSE, TRUE, NULL, NULL}, {"label", NULL, FALSE, TRUE, NULL, NULL}, {"src-id", NULL, FALSE, TRUE, NULL, NULL}, {"status", NULL, FALSE, TRUE, NULL, NULL}, }; media_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_conf_media, NULL, "MEDIA"); xmpp_change_elem_to_attrib(pinfo->pool, "display-text", "display-text", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "type", "type", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "label", "label", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "src-id", "src-id", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "status", "status", element, xmpp_transform_func_cdata); xmpp_display_attrs(media_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(media_tree, element, pinfo, tvb, NULL, 0); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-xmpp-conference.h
/* xmpp-conference.h * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef XMPP_CONFERENCE_H #define XMPP_CONFERENCE_H #include "packet-xmpp-utils.h" extern void xmpp_conferece_info_advert(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_conference_info(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); #endif /* XMPP_CONFERENCE_H */
C
wireshark/epan/dissectors/packet-xmpp-core.c
/* xmpp-core.c * Wireshark's XMPP dissector. * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/conversation.h> #include "packet-xmpp.h" #include "packet-xmpp-core.h" #include "packet-xmpp-jingle.h" #include "packet-xmpp-other.h" #include "packet-xmpp-gtalk.h" #include "packet-xmpp-conference.h" #include "packet-tls-utils.h" tvbparse_wanted_t *want_ignore; tvbparse_wanted_t *want_stream_end_tag; tvbparse_wanted_t *want_stream_end_with_ns; static void xmpp_error(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_error_text(proto_tree *tree, tvbuff_t *tvb, xmpp_element_t *element); static void xmpp_presence_status(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_message_thread(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_message_body(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_message_subject(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_failure_text(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_features_mechanisms(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); void xmpp_init_parsers(void) { tvbparse_wanted_t *want_name; tvbparse_wanted_t *want_stream_end; want_name = tvbparse_chars(2,1,0,"abcdefghijklmnopqrstuvwxyz.-_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",NULL,NULL,NULL); want_stream_end_with_ns = tvbparse_set_seq(3, NULL, NULL, NULL, want_name, tvbparse_char(4, ":", NULL, NULL, NULL), want_name, NULL); want_stream_end = tvbparse_set_oneof(5, NULL, NULL, NULL, want_stream_end_with_ns, want_name, NULL); want_ignore = tvbparse_chars(1,1,0," \t\r\n",NULL,NULL,NULL); want_stream_end_tag = tvbparse_set_seq(6, NULL, NULL, NULL, tvbparse_string(-1,"</",NULL,NULL,NULL), want_stream_end, tvbparse_char(-1,">",NULL,NULL,NULL), NULL); } void xmpp_iq(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet) { proto_item *xmpp_iq_item; proto_tree *xmpp_iq_tree; xmpp_attr_t *attr_id, *attr_type; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"id", &hf_xmpp_id, TRUE, TRUE, NULL, NULL}, {"type", &hf_xmpp_type, TRUE, TRUE, NULL, NULL}, {"from", &hf_xmpp_from, FALSE, TRUE, NULL, NULL}, {"to", &hf_xmpp_to, FALSE, TRUE, NULL, NULL}, {"xml:lang", NULL, FALSE, FALSE, NULL, NULL} }; conversation_t *conversation; xmpp_conv_info_t *xmpp_info; xmpp_transaction_t *reqresp_trans; xmpp_elem_info elems_info [] = { {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns","http://jabber.org/protocol/disco#items"), xmpp_disco_items_query, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns", "jabber:iq:roster"), xmpp_roster_query, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns", "http://jabber.org/protocol/disco#info"), xmpp_disco_info_query, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns", "http://jabber.org/protocol/bytestreams"), xmpp_bytestreams_query, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns", "http://jabber.org/protocol/muc#owner"), xmpp_muc_owner_query, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns", "http://jabber.org/protocol/muc#admin"), xmpp_muc_admin_query, ONE}, {NAME, "bind", xmpp_iq_bind, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "session", "xmlns", "urn:ietf:params:xml:ns:xmpp-session"), xmpp_session, ONE}, {NAME, "vCard", xmpp_vcard, ONE}, {NAME, "jingle", xmpp_jingle, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "services", "xmlns", "http://jabber.org/protocol/jinglenodes"), xmpp_jinglenodes_services, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "channel", "xmlns", "http://jabber.org/protocol/jinglenodes#channel"), xmpp_jinglenodes_channel, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "open", "xmlns", "http://jabber.org/protocol/ibb"), xmpp_ibb_open, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "close", "xmlns", "http://jabber.org/protocol/ibb"), xmpp_ibb_close, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "data", "xmlns", "http://jabber.org/protocol/ibb"), xmpp_ibb_data, ONE}, {NAME, "si", xmpp_si, ONE}, {NAME, "error", xmpp_error, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "session", "xmlns", "http://www.google.com/session"), xmpp_gtalk_session, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns","google:jingleinfo"), xmpp_gtalk_jingleinfo_query, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "usersetting", "xmlns","google:setting"), xmpp_gtalk_usersetting, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns","jabber:iq:last"), xmpp_last_query, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns","jabber:iq:version"), xmpp_version_query, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns","google:mail:notify"), xmpp_gtalk_mail_query, ONE}, {NAME, "mailbox", xmpp_gtalk_mail_mailbox, ONE}, {NAME, "new-mail", xmpp_gtalk_mail_new_mail, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns","google:shared-status"), xmpp_gtalk_status_query, ONE}, {NAME, "conference-info", xmpp_conference_info, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "ping", "xmlns","urn:xmpp:ping"), xmpp_ping, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "inputevt", "xmlns","http://jitsi.org/protocol/inputevt"), xmpp_jitsi_inputevt, ONE}, }; attr_id = xmpp_get_attr(packet, "id"); attr_type = xmpp_get_attr(packet, "type"); conversation = find_or_create_conversation(pinfo); xmpp_info = (xmpp_conv_info_t *)conversation_get_proto_data(conversation, proto_xmpp); xmpp_iq_item = proto_tree_add_item(tree, hf_xmpp_iq, tvb, packet->offset, packet->length, ENC_LITTLE_ENDIAN); xmpp_iq_tree = proto_item_add_subtree(xmpp_iq_item,ett_xmpp_iq); xmpp_display_attrs(xmpp_iq_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); col_add_fstr(pinfo->cinfo, COL_INFO, "IQ(%s) ", attr_type?attr_type->value:""); xmpp_display_elems(xmpp_iq_tree, packet, pinfo, tvb, elems_info, array_length(elems_info)); /*displays generated info such as req/resp tracking, jingle sid * in each packet related to specified jingle session and IBB sid in packet related to it*/ if(xmpp_info && attr_id) { gchar *jingle_sid, *ibb_sid, *gtalk_sid; jingle_sid = (gchar *)wmem_tree_lookup_string(xmpp_info->jingle_sessions, attr_id->value, WMEM_TREE_STRING_NOCASE); if (jingle_sid) { proto_item *it = proto_tree_add_string(tree, hf_xmpp_jingle_session, tvb, 0, 0, jingle_sid); proto_item_set_generated(it); } ibb_sid = (gchar *)wmem_tree_lookup_string(xmpp_info->ibb_sessions, attr_id->value, WMEM_TREE_STRING_NOCASE); if (ibb_sid) { proto_item *it = proto_tree_add_string(tree, hf_xmpp_ibb, tvb, 0, 0, ibb_sid); proto_item_set_generated(it); } gtalk_sid = (gchar *)wmem_tree_lookup_string(xmpp_info->gtalk_sessions, attr_id->value, WMEM_TREE_STRING_NOCASE); if (gtalk_sid) { proto_item *it = proto_tree_add_string(tree, hf_xmpp_gtalk, tvb, 0, 0, gtalk_sid); proto_item_set_generated(it); } reqresp_trans = (xmpp_transaction_t *)wmem_tree_lookup_string(xmpp_info->req_resp, attr_id->value, WMEM_TREE_STRING_NOCASE); /*displays request/response field in each iq packet*/ if (reqresp_trans) { if (reqresp_trans->req_frame == pinfo->num) { if (reqresp_trans->resp_frame) { proto_item *it = proto_tree_add_uint(tree, hf_xmpp_response_in, tvb, 0, 0, reqresp_trans->resp_frame); proto_item_set_generated(it); } else { expert_add_info(pinfo, xmpp_iq_item, &ei_xmpp_packet_without_response); } } else { if (reqresp_trans->req_frame) { proto_item *it = proto_tree_add_uint(tree, hf_xmpp_response_to, tvb, 0, 0, reqresp_trans->req_frame); proto_item_set_generated(it); } else { expert_add_info(pinfo, xmpp_iq_item, &ei_xmpp_packet_without_response); } } } } } static void xmpp_error(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *error_item; proto_tree *error_tree; xmpp_element_t *text_element, *cond_element; xmpp_attr_info attrs_info[] = { {"type", &hf_xmpp_error_type, TRUE, TRUE, NULL, NULL}, {"code", &hf_xmpp_error_code, FALSE, TRUE, NULL, NULL}, {"condition", &hf_xmpp_error_condition, TRUE, TRUE, NULL, NULL} /*TODO: validate list to the condition element*/ }; gchar *error_info; xmpp_attr_t *fake_condition = NULL; error_info = wmem_strdup(pinfo->pool, "Stanza error"); error_item = proto_tree_add_item(tree, hf_xmpp_error, tvb, element->offset, element->length, ENC_BIG_ENDIAN); error_tree = proto_item_add_subtree(error_item, ett_xmpp_query_item); cond_element = xmpp_steal_element_by_attr(element, "xmlns", "urn:ietf:params:xml:ns:xmpp-stanzas"); if(cond_element) { fake_condition = xmpp_ep_init_attr_t(pinfo->pool, cond_element->name, cond_element->offset, cond_element->length); g_hash_table_insert(element->attrs, (gpointer)"condition", fake_condition); error_info = wmem_strdup_printf(pinfo->pool, "%s: %s;", error_info, cond_element->name); } xmpp_display_attrs(error_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((text_element = xmpp_steal_element_by_name(element, "text")) != NULL) { xmpp_error_text(error_tree, tvb, text_element); error_info = wmem_strdup_printf(pinfo->pool, "%s Text: %s", error_info, text_element->data?text_element->data->value:""); } expert_add_info_format(pinfo, error_item, &ei_xmpp_response, "%s", error_info); xmpp_unknown(error_tree, tvb, pinfo, element); } static void xmpp_error_text(proto_tree *tree, tvbuff_t *tvb, xmpp_element_t *element) { proto_tree_add_string(tree, hf_xmpp_error_text, tvb, element->offset, element->length, element->data?element->data->value:""); } void xmpp_presence(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet) { proto_item *presence_item; proto_tree *presence_tree; static const gchar *type_enums[] = {"error", "probe", "subscribe", "subscribed", "unavailable", "unsubscribe", "unsubscribed"}; xmpp_array_t *type_array = xmpp_ep_init_array_t(pinfo->pool, type_enums, array_length(type_enums)); static const gchar *show_enums[] = {"away", "chat", "dnd", "xa"}; xmpp_array_t *show_array = xmpp_ep_init_array_t(pinfo->pool, show_enums, array_length(show_enums)); xmpp_attr_info attrs_info[] = { {"from", &hf_xmpp_from, FALSE, FALSE, NULL, NULL}, {"id", &hf_xmpp_id, FALSE, TRUE, NULL, NULL}, {"to", &hf_xmpp_to, FALSE, FALSE, NULL, NULL}, {"type", &hf_xmpp_type, FALSE, TRUE, xmpp_val_enum_list, type_array}, {"xml:lang", NULL, FALSE, FALSE, NULL,NULL}, {"show", &hf_xmpp_presence_show, FALSE, TRUE, xmpp_val_enum_list, show_array}, {"priority", NULL, FALSE, FALSE, NULL, NULL} }; xmpp_elem_info elems_info[] = { {NAME, "status", xmpp_presence_status, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "c","xmlns","http://jabber.org/protocol/caps"), xmpp_presence_caps, ONE}, {NAME, "delay", xmpp_delay, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "x","xmlns", "jabber:x:delay"), xmpp_delay, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "x","xmlns", "vcard-temp:x:update"), xmpp_vcard_x_update, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "x","xmlns","http://jabber.org/protocol/muc"), xmpp_muc_x, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "x","xmlns","http://jabber.org/protocol/muc#user"), xmpp_muc_user_x, ONE}, {NAME, "error", xmpp_error, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "query", "xmlns","jabber:iq:last"), xmpp_last_query, ONE} }; xmpp_element_t *show, *priority; col_set_str(pinfo->cinfo, COL_INFO, "PRESENCE "); presence_item = proto_tree_add_item(tree, hf_xmpp_presence, tvb, packet->offset, packet->length, ENC_BIG_ENDIAN); presence_tree = proto_item_add_subtree(presence_item, ett_xmpp_presence); if((show = xmpp_steal_element_by_name(packet, "show"))!=NULL) { xmpp_attr_t *fake_show = xmpp_ep_init_attr_t(pinfo->pool, show->data?show->data->value:"",show->offset, show->length); g_hash_table_insert(packet->attrs, (gpointer)"show", fake_show); } if((priority = xmpp_steal_element_by_name(packet, "priority"))!=NULL) { xmpp_attr_t *fake_priority = xmpp_ep_init_attr_t(pinfo->pool, priority->data?priority->data->value:"",priority->offset, priority->length); g_hash_table_insert(packet->attrs, (gpointer)"priority", fake_priority); } xmpp_display_attrs(presence_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(presence_tree, packet, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_presence_status(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *status_item; proto_tree *status_tree; xmpp_attr_info attrs_info[] = { {"xml:lang", NULL, FALSE, TRUE, NULL, NULL}, {"value", NULL, TRUE, TRUE, NULL, NULL} }; xmpp_attr_t *fake_value; status_item = proto_tree_add_item(tree, hf_xmpp_presence_status, tvb, element->offset, element->length, ENC_BIG_ENDIAN); status_tree = proto_item_add_subtree(status_item, ett_xmpp_presence_status); if(element->data) fake_value = xmpp_ep_init_attr_t(pinfo->pool, element->data->value, element->offset, element->length); else fake_value = xmpp_ep_init_attr_t(pinfo->pool, "(empty)", element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_value); xmpp_display_attrs(status_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(status_tree, tvb, pinfo, element); } void xmpp_message(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet) { proto_item *message_item; proto_tree *message_tree; static const gchar *type_enums[] = {"chat", "error", "groupchat", "headline", "normal"}; xmpp_array_t *type_array = xmpp_ep_init_array_t(pinfo->pool, type_enums, array_length(type_enums)); xmpp_attr_info attrs_info[] = { {"from", &hf_xmpp_from, FALSE, FALSE, NULL, NULL}, {"id", &hf_xmpp_id, FALSE, TRUE, NULL, NULL}, {"to", &hf_xmpp_to, FALSE, FALSE, NULL, NULL}, {"type", &hf_xmpp_type, FALSE, TRUE, xmpp_val_enum_list, type_array}, {"xml:lang", NULL, FALSE, FALSE, NULL,NULL}, {"chatstate", &hf_xmpp_message_chatstate, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "data", "xmlns", "http://jabber.org/protocol/ibb"), xmpp_ibb_data, ONE}, {NAME, "thread", xmpp_message_thread, ONE}, {NAME, "body", xmpp_message_body, MANY}, {NAME, "subject", xmpp_message_subject, MANY}, {NAME, "delay", xmpp_delay, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "x","xmlns","jabber:x:event"), xmpp_x_event, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "x","xmlns","http://jabber.org/protocol/muc#user"), xmpp_muc_user_x, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "x","xmlns","google:nosave"), xmpp_gtalk_nosave_x, ONE}, {NAME, "error", xmpp_error, ONE} }; xmpp_element_t *chatstate; xmpp_attr_t *id; conversation_t *conversation; xmpp_conv_info_t *xmpp_info; col_set_str(pinfo->cinfo, COL_INFO, "MESSAGE "); id = xmpp_get_attr(packet, "id"); conversation = find_or_create_conversation(pinfo); xmpp_info = (xmpp_conv_info_t *)conversation_get_proto_data(conversation, proto_xmpp); message_item = proto_tree_add_item(tree, hf_xmpp_message, tvb, packet->offset, packet->length, ENC_BIG_ENDIAN); message_tree = proto_item_add_subtree(message_item, ett_xmpp_message); if((chatstate = xmpp_steal_element_by_attr(packet, "xmlns", "http://jabber.org/protocol/chatstates"))!=NULL) { xmpp_attr_t *fake_chatstate_attr = xmpp_ep_init_attr_t(pinfo->pool, chatstate->name, chatstate->offset, chatstate->length); g_hash_table_insert(packet->attrs, (gpointer)"chatstate", fake_chatstate_attr); } xmpp_display_attrs(message_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(message_tree, packet, pinfo, tvb, elems_info, array_length(elems_info)); /*Displays data about IBB session*/ if(xmpp_info && id) { gchar *ibb_sid; ibb_sid = (gchar *)wmem_tree_lookup_string(xmpp_info->ibb_sessions, id->value, WMEM_TREE_STRING_NOCASE); if (ibb_sid) { proto_item *it = proto_tree_add_string(tree, hf_xmpp_ibb, tvb, 0, 0, ibb_sid); proto_item_set_generated(it); } } } static void xmpp_message_body(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *body_item; proto_tree *body_tree; xmpp_attr_info attrs_info[] = { {"xml:lang", NULL, FALSE, TRUE, NULL, NULL}, {"value", NULL, TRUE, TRUE, NULL, NULL} }; xmpp_attr_t *fake_data_attr; body_item = proto_tree_add_item(tree, hf_xmpp_message_body, tvb, element->offset, element->length, ENC_BIG_ENDIAN); body_tree = proto_item_add_subtree(body_item, ett_xmpp_message_body); fake_data_attr = xmpp_ep_init_attr_t(pinfo->pool, element->data?element->data->value:"", element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_data_attr); xmpp_display_attrs(body_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(body_tree, tvb, pinfo, element); } static void xmpp_message_subject(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *subject_item; proto_tree *subject_tree; xmpp_attr_info attrs_info[] = { {"xml:lang", NULL, FALSE, TRUE, NULL, NULL}, {"value", NULL, TRUE, FALSE, NULL, NULL} }; xmpp_attr_t *fake_data_attr; subject_item = proto_tree_add_item(tree, hf_xmpp_message_subject, tvb, element->offset, element->length, ENC_BIG_ENDIAN); subject_tree = proto_item_add_subtree(subject_item, ett_xmpp_message_subject); fake_data_attr = xmpp_ep_init_attr_t(pinfo->pool, element->data?element->data->value:"", element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_data_attr); xmpp_display_attrs(subject_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(subject_tree, tvb, pinfo, element); } static void xmpp_message_thread(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *thread_item; proto_tree *thread_tree; xmpp_attr_info attrs_info[] = { {"parent", &hf_xmpp_message_thread_parent, FALSE, TRUE, NULL, NULL}, {"value", NULL, TRUE, TRUE, NULL, NULL} }; xmpp_attr_t *fake_value; thread_item = proto_tree_add_item(tree, hf_xmpp_message_thread, tvb, element->offset, element->length, ENC_BIG_ENDIAN); thread_tree = proto_item_add_subtree(thread_item, ett_xmpp_message_thread); fake_value = xmpp_ep_init_attr_t(pinfo->pool, element->data?element->data->value:"", element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_value); xmpp_display_attrs(thread_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(thread_tree, tvb, pinfo, element); } void xmpp_auth(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet) { proto_item *auth_item; proto_tree *auth_tree; xmpp_attr_info_ext attrs_info[]={ {"urn:ietf:params:xml:ns:xmpp-sasl", {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}}, {"urn:ietf:params:xml:ns:xmpp-sasl", {"mechanism", NULL, TRUE, TRUE, NULL, NULL}}, {"http://www.google.com/talk/protocol/auth", {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}}, {"http://www.google.com/talk/protocol/auth", {"client-uses-full-bind-result", NULL, TRUE, TRUE, NULL, NULL}}, }; col_set_str(pinfo->cinfo, COL_INFO, "AUTH"); auth_item = proto_tree_add_item(tree, hf_xmpp_auth, tvb, packet->offset, packet->length, ENC_BIG_ENDIAN); auth_tree = proto_item_add_subtree(auth_item, ett_xmpp_auth); xmpp_display_attrs_ext(auth_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_cdata(auth_tree, tvb, packet, -1); xmpp_unknown(auth_tree, tvb, pinfo, packet); } void xmpp_challenge_response_success(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet, expert_field* ei, gint ett, const char *col_info) { proto_item *item; proto_tree *subtree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; col_set_str(pinfo->cinfo, COL_INFO, col_info); item = proto_tree_add_expert(tree, pinfo, ei, tvb, packet->offset, packet->length); subtree = proto_item_add_subtree(item, ett); xmpp_display_attrs(subtree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_cdata(subtree, tvb, packet, -1); xmpp_unknown(subtree, tvb, pinfo, packet); } void xmpp_failure(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet) { proto_item *fail_item; proto_tree *fail_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"condition", NULL, FALSE, TRUE, NULL, NULL} }; static const gchar *fail_names[] = {"aborted","account-disabled", "credentials-expired", "encryption-required", "incorrect-encoding", "invalid-authzid", "invalid-mechanism", "malformed-request", "mechanism-too-weak", "not-authorized", "temporary-auth-failure", "transition-needed" }; xmpp_element_t *fail_condition, *text; col_add_fstr(pinfo->cinfo, COL_INFO, "FAILURE "); fail_item = proto_tree_add_item(tree, hf_xmpp_failure, tvb, packet->offset, packet->length, ENC_BIG_ENDIAN); fail_tree = proto_item_add_subtree(fail_item, ett_xmpp_failure); if((fail_condition = xmpp_steal_element_by_names(packet, fail_names, array_length(fail_names)))!=NULL) { xmpp_attr_t *fake_cond = xmpp_ep_init_attr_t(pinfo->pool, fail_condition->name, fail_condition->offset, fail_condition->length); g_hash_table_insert(packet->attrs, (gpointer)"condition", fake_cond); } if((text = xmpp_steal_element_by_name(packet, "text"))!=NULL) { xmpp_failure_text(fail_tree, tvb, pinfo, text); } xmpp_display_attrs(fail_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(fail_tree, tvb, pinfo, packet); } static void xmpp_failure_text(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { xmpp_attr_t *lang = xmpp_get_attr(element,"xml:lang"); proto_tree_add_string_format(tree, hf_xmpp_failure_text, tvb, element->offset, element->length, element->data?element->data->value:"", "TEXT%s: %s", lang?wmem_strdup_printf(pinfo->pool, "(%s)",lang->value):"", element->data?element->data->value:""); } void xmpp_xml_header(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo _U_, xmpp_element_t *packet) { col_add_fstr(pinfo->cinfo, COL_INFO, "XML "); proto_tree_add_string(tree, hf_xmpp_xml_header_version, tvb, packet->offset, packet->length, "1.0"); } void xmpp_stream(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet) { proto_item *stream_item; proto_tree *stream_tree; xmpp_attr_info_ext attrs_info [] = { {"http://etherx.jabber.org/streams",{"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL}}, {"http://etherx.jabber.org/streams",{"version", NULL, FALSE, TRUE, NULL, NULL}}, {"http://etherx.jabber.org/streams",{"from", NULL, FALSE, TRUE, NULL, NULL}}, {"http://etherx.jabber.org/streams",{"to", NULL, FALSE, TRUE, NULL, NULL}}, {"http://etherx.jabber.org/streams",{"id", NULL, FALSE, TRUE, NULL, NULL}}, {"http://etherx.jabber.org/streams",{"xml:lang", NULL, FALSE, TRUE, NULL, NULL}}, {"jabber:client",{"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL}}, }; col_add_fstr(pinfo->cinfo, COL_INFO, "STREAM "); stream_item = proto_tree_add_item(tree, hf_xmpp_stream, tvb, packet->offset, packet->length, ENC_BIG_ENDIAN); stream_tree = proto_item_add_subtree(stream_item, ett_xmpp_stream); xmpp_display_attrs_ext(stream_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(stream_tree, packet, pinfo, tvb, NULL, 0); } /*returns TRUE if stream end occurs*/ gboolean xmpp_stream_close(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo) { tvbparse_t *tt; tvbparse_elem_t *elem; tt = tvbparse_init(pinfo->pool, tvb,0,-1,NULL,want_ignore); if((elem = tvbparse_get(tt,want_stream_end_tag))!=NULL) { proto_tree_add_item(tree, hf_xmpp_stream_end, tvb, elem->offset, elem->len, ENC_NA); col_add_fstr(pinfo->cinfo, COL_INFO, "STREAM END"); return TRUE; } return FALSE; } void xmpp_features(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet) { proto_item *features_item; proto_tree *features_tree; xmpp_elem_info elems_info [] = { {NAME, "mechanisms", xmpp_features_mechanisms, MANY} }; features_item = proto_tree_add_item(tree, hf_xmpp_features, tvb, packet->offset, packet->length, ENC_BIG_ENDIAN); features_tree = proto_item_add_subtree(features_item, ett_xmpp_features); col_add_fstr(pinfo->cinfo, COL_INFO, "FEATURES "); xmpp_display_attrs(features_tree, packet, pinfo, tvb, NULL, 0); xmpp_display_elems(features_tree, packet, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_features_mechanisms(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet) { proto_tree *mechanisms_tree; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "mechanism", xmpp_simple_cdata_elem, MANY}, }; mechanisms_tree = proto_tree_add_subtree(tree, tvb, packet->offset, packet->length, ett_xmpp_features_mechanisms, NULL, "MECHANISMS"); xmpp_display_attrs(mechanisms_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(mechanisms_tree, packet, pinfo, tvb, elems_info, array_length(elems_info)); } void xmpp_starttls(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info) { proto_item *tls_item; proto_tree *tls_tree; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, }; col_add_fstr(pinfo->cinfo, COL_INFO, "STARTTLS "); tls_item = proto_tree_add_item(tree, hf_xmpp_starttls, tvb, packet->offset, packet->length, ENC_BIG_ENDIAN); tls_tree = proto_item_add_subtree(tls_item, ett_xmpp_starttls); if (xmpp_info->ssl_start && xmpp_info->ssl_start != pinfo->num) { expert_add_info_format(pinfo, tls_item, &ei_xmpp_starttls_already_in_frame, "Already saw STARTTLS in frame %u", xmpp_info->ssl_start); } else { xmpp_info->ssl_start = pinfo->num; } xmpp_display_attrs(tls_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(tls_tree, packet, pinfo, tvb, NULL, 0); } void xmpp_proceed(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info) { proto_item *proceed_item; proto_tree *proceed_tree; guint32 ssl_proceed; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, }; col_add_fstr(pinfo->cinfo, COL_INFO, "PROCEED "); proceed_item = proto_tree_add_item(tree, hf_xmpp_proceed, tvb, packet->offset, packet->length, ENC_BIG_ENDIAN); proceed_tree = proto_item_add_subtree(proceed_item, ett_xmpp_proceed); if (!xmpp_info->ssl_start) { expert_add_info(pinfo, proceed_item, &ei_xmpp_starttls_missing); } ssl_proceed = ssl_starttls_ack(find_dissector("tls"), pinfo, find_dissector("xmpp")); if (ssl_proceed > 0 && ssl_proceed != pinfo->num) { expert_add_info_format(pinfo, proceed_item, &ei_xmpp_proceed_already_in_frame, "Already saw PROCEED in frame %u", ssl_proceed); } xmpp_display_attrs(proceed_tree, packet, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(proceed_tree, packet, pinfo, tvb, NULL, 0); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-xmpp-core.h
/* xmpp-core.h * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef XMPP_CORE_H #define XMPP_CORE_H #include "epan/tvbparse.h" #include "packet-xmpp-utils.h" extern void xmpp_init_parsers(void); extern tvbparse_wanted_t *want_ignore; extern tvbparse_wanted_t *want_stream_end_tag; extern tvbparse_wanted_t *want_stream_end_with_ns; extern void xmpp_iq(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); extern void xmpp_presence(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); extern void xmpp_message(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); extern void xmpp_auth(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); extern void xmpp_challenge_response_success(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet, expert_field* ei, gint ett, const char *col_info); extern void xmpp_failure(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); extern void xmpp_xml_header(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); extern void xmpp_stream(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); extern gboolean xmpp_stream_close(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo); extern void xmpp_features(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet); extern void xmpp_starttls(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info); extern void xmpp_proceed(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info); #endif /* XMPP_CORE_H */
C
wireshark/epan/dissectors/packet-xmpp-gtalk.c
/* xmpp-gtalk.c * Wireshark's XMPP dissector. * * GTalk extensions. * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include "packet-xmpp.h" #include "packet-xmpp-gtalk.h" #include "packet-xmpp-conference.h" static void xmpp_gtalk_session_desc(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_session_desc_payload(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_session_cand(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_session_reason(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_jingleinfo_stun(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_jingleinfo_server(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_jingleinfo_relay(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_jingleinfo_relay_serv(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_mail_mail_info(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_mail_senders(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_mail_sender(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_mail_snippet(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_status_status_list(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_gtalk_transport_p2p_cand(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); void xmpp_gtalk_session(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *session_item; proto_tree *session_tree; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"type", &hf_xmpp_gtalk_session_type, TRUE, TRUE, NULL, NULL}, {"initiator", NULL, FALSE, TRUE, NULL, NULL}, {"id", NULL, TRUE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME,"description", xmpp_gtalk_session_desc, ONE}, {NAME, "candidate", xmpp_gtalk_session_cand, MANY}, {NAME, "reason", xmpp_gtalk_session_reason, ONE}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "transport", "xmlns", "http://www.google.com/transport/p2p"), xmpp_gtalk_transport_p2p, ONE}, {NAME, "conference-info", xmpp_conferece_info_advert, ONE} }; xmpp_attr_t *attr_type = xmpp_get_attr(element, "type"); col_append_fstr(pinfo->cinfo, COL_INFO, "GTALK-SESSION(%s) ", attr_type?attr_type->value:""); session_item = proto_tree_add_item(tree, hf_xmpp_gtalk_session, tvb, element->offset, element->length, ENC_BIG_ENDIAN); session_tree = proto_item_add_subtree(session_item, ett_xmpp_gtalk_session); xmpp_display_attrs(session_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(session_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_session_desc(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *desc_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"xml:lang", NULL, FALSE, FALSE, NULL, NULL} }; xmpp_elem_info elems_info[] = { {NAME, "payload-type", xmpp_gtalk_session_desc_payload, MANY} }; desc_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_session_desc, NULL, "DESCRIPTION"); xmpp_display_attrs(desc_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(desc_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_session_desc_payload(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *payload_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL}, {"id", NULL, FALSE, TRUE, NULL, NULL}, {"name", NULL, FALSE, TRUE, NULL, NULL}, {"channels", NULL, FALSE, FALSE, NULL, NULL}, {"clockrate", NULL, FALSE, FALSE, NULL, NULL}, {"bitrate", NULL, FALSE, FALSE, NULL, NULL}, {"width", NULL, FALSE, FALSE, NULL, NULL}, {"height", NULL, FALSE, FALSE, NULL, NULL}, {"framerate", NULL, FALSE, FALSE, NULL, NULL}, }; payload_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_session_desc_payload, NULL, "PAYLOAD-TYPE"); xmpp_display_attrs(payload_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(payload_tree, element, pinfo, tvb, NULL, 0); } static void xmpp_gtalk_session_cand(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *cand_tree; xmpp_attr_info attrs_info[] = { {"name", NULL, TRUE, TRUE, NULL, NULL}, {"address", NULL, TRUE, FALSE, NULL, NULL}, {"port", NULL, TRUE, FALSE, NULL, NULL}, {"preference", NULL, TRUE, FALSE, NULL, NULL}, {"type", NULL, TRUE, TRUE, NULL, NULL}, {"protocol", NULL, TRUE, TRUE, NULL, NULL}, {"network", NULL, TRUE, FALSE, NULL, NULL}, {"username", NULL, TRUE, FALSE, NULL, NULL}, {"password", NULL, TRUE, FALSE, NULL, NULL}, {"generation", NULL, TRUE, FALSE, NULL, NULL}, {"foundation", NULL, FALSE, FALSE, NULL, NULL}, {"component", NULL, FALSE, FALSE, NULL, NULL} }; cand_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_session_cand, NULL, "CANDIDATE"); xmpp_display_attrs(cand_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(cand_tree, element, pinfo, tvb, NULL, 0); } static void xmpp_gtalk_session_reason(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *reason_tree; xmpp_attr_info attrs_info[] = { {"condition", NULL, TRUE, TRUE, NULL, NULL}, {"text", NULL, FALSE, FALSE, NULL, NULL} }; xmpp_element_t *condition; xmpp_element_t *text; static const gchar *reason_names[] = { "success", "busy", "cancel"}; reason_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_session_reason, NULL, "REASON"); /*Looks for reason description.*/ if((condition = xmpp_steal_element_by_names(element, reason_names, array_length(reason_names)))!=NULL) { xmpp_attr_t *fake_cond = xmpp_ep_init_attr_t(pinfo->pool, condition->name, condition->offset, condition->length); g_hash_table_insert(element->attrs, (gpointer)"condition", fake_cond); } if((text = xmpp_steal_element_by_name(element, "text"))!=NULL) { xmpp_attr_t *fake_text = xmpp_ep_init_attr_t(pinfo->pool, text->data?text->data->value:"", text->offset, text->length); g_hash_table_insert(element->attrs, (gpointer)"text", fake_text); } xmpp_display_attrs(reason_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(reason_tree, tvb, pinfo, element); } void xmpp_gtalk_jingleinfo_query(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "stun", xmpp_gtalk_jingleinfo_stun, ONE}, {NAME, "relay", xmpp_gtalk_jingleinfo_relay, ONE} }; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(google:jingleinfo) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(query_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_jingleinfo_stun(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *stun_tree; xmpp_elem_info elems_info [] = { {NAME, "server", xmpp_gtalk_jingleinfo_server, MANY}, }; stun_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_jingleinfo_stun, NULL, "STUN"); xmpp_display_attrs(stun_tree, element, pinfo, tvb, NULL, 0); xmpp_display_elems(stun_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_jingleinfo_server(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *serv_tree; xmpp_attr_info attrs_info[] = { {"host", NULL, TRUE, TRUE, NULL, NULL}, {"udp", NULL, TRUE, TRUE, NULL, NULL} }; serv_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_jingleinfo_server, NULL, "SERVER"); xmpp_display_attrs(serv_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(serv_tree, element, pinfo, tvb, NULL, 0); } static void xmpp_gtalk_jingleinfo_relay(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *relay_tree; xmpp_attr_info attrs_info[] = { {"token", NULL, FALSE, FALSE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "server", xmpp_gtalk_jingleinfo_relay_serv, ONE} }; xmpp_element_t *token; relay_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_jingleinfo_relay, NULL, "RELAY"); if((token = xmpp_steal_element_by_name(element, "token"))!=NULL) { xmpp_attr_t *fake_token = xmpp_ep_init_attr_t(pinfo->pool, token->data?token->data->value:"", token->offset, token->length); g_hash_table_insert(element->attrs, (gpointer)"token", fake_token); } xmpp_display_attrs(relay_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(relay_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_jingleinfo_relay_serv(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *serv_tree; xmpp_attr_info attrs_info[] = { {"host", NULL, TRUE, TRUE, NULL, NULL}, {"udp", NULL, FALSE, TRUE, NULL, NULL}, {"tcp", NULL, FALSE, TRUE, NULL, NULL}, {"tcpssl", NULL, FALSE, TRUE, NULL, NULL} }; serv_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_jingleinfo_relay_serv, NULL, "SERVER"); xmpp_display_attrs(serv_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(serv_tree, element, pinfo, tvb, NULL, 0); } void xmpp_gtalk_usersetting(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *sett_item; proto_tree *sett_tree; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; guint i; sett_item = proto_tree_add_item(tree, hf_xmpp_gtalk_setting, tvb, element->offset, element->length, ENC_BIG_ENDIAN); sett_tree = proto_item_add_subtree(sett_item, ett_xmpp_gtalk_setting); xmpp_display_attrs(sett_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); for(i = 0; i < g_list_length(element->elements); i++) { GList *elem_l = g_list_nth(element->elements,i); xmpp_element_t *elem = (xmpp_element_t *)(elem_l?elem_l->data:NULL); if(elem) { xmpp_attr_t *val = xmpp_get_attr(elem,"value"); proto_tree_add_string_format(sett_tree, hf_xmpp_gtalk_setting_element, tvb, elem->offset, elem->length, val?val->value:"", "%s [%s]",elem->name,val?val->value:""); } } } void xmpp_gtalk_nosave_x(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *x_item; proto_tree *x_tree; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"value", NULL, FALSE, TRUE, NULL, NULL} }; x_item = proto_tree_add_item(tree, hf_xmpp_gtalk_nosave_x, tvb, element->offset, element->length, ENC_BIG_ENDIAN); x_tree = proto_item_add_subtree(x_item, ett_xmpp_gtalk_nosave_x); xmpp_display_attrs(x_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(x_tree, element, pinfo, tvb, NULL, 0); } void xmpp_gtalk_mail_query(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"newer-than-time", NULL, FALSE, TRUE, NULL, NULL}, {"newer-than-tid", NULL, FALSE, TRUE, NULL, NULL}, {"q", NULL, FALSE, TRUE, NULL, NULL} }; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(google:mail:notify) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(query_tree, element, pinfo, tvb, NULL, 0); } void xmpp_gtalk_mail_mailbox(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *mail_item; proto_tree *mail_tree; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL}, {"result-time", NULL, FALSE, TRUE, NULL, NULL}, {"total-matched", NULL, FALSE, TRUE, NULL, NULL}, {"total-estimate", NULL, FALSE, TRUE, NULL, NULL}, {"url", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME,"mail-thread-info", xmpp_gtalk_mail_mail_info, MANY} }; col_append_str(pinfo->cinfo, COL_INFO, "MAILBOX "); mail_item = proto_tree_add_item(tree, hf_xmpp_gtalk_mail_mailbox, tvb, element->offset, element->length, ENC_BIG_ENDIAN); mail_tree = proto_item_add_subtree(mail_item, ett_xmpp_gtalk_mail_mailbox); xmpp_display_attrs(mail_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(mail_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_mail_mail_info(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *mail_info_tree; xmpp_attr_info attrs_info [] = { {"tid", NULL, FALSE, FALSE, NULL, NULL}, {"participation", NULL, FALSE, FALSE, NULL, NULL}, {"messages", NULL, FALSE, TRUE, NULL, NULL}, {"date", NULL, FALSE, TRUE, NULL, NULL}, {"url", NULL, FALSE, FALSE, NULL, NULL}, {"labels", NULL, FALSE, FALSE, NULL, NULL}, {"subject", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "senders", xmpp_gtalk_mail_senders, ONE}, {NAME, "snippet", xmpp_gtalk_mail_snippet, ONE}/*or MANY?*/ }; xmpp_element_t *labels, *subject; mail_info_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_mail_mail_info, NULL, "MAIL-THREAD-INFO"); if((labels = xmpp_steal_element_by_name(element,"labels"))!=NULL) { xmpp_attr_t *fake_labels = xmpp_ep_init_attr_t(pinfo->pool, labels->data?labels->data->value:"",labels->offset, labels->length); g_hash_table_insert(element->attrs, (gpointer)"labels", fake_labels); } if((subject = xmpp_steal_element_by_name(element,"subject"))!=NULL) { xmpp_attr_t *fake_subject = xmpp_ep_init_attr_t(pinfo->pool, subject->data?subject->data->value:"",subject->offset, subject->length); g_hash_table_insert(element->attrs, (gpointer)"subject", fake_subject); } xmpp_display_attrs(mail_info_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(mail_info_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_mail_senders(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *senders_tree; xmpp_elem_info elems_info [] = { {NAME, "sender", xmpp_gtalk_mail_sender, MANY} }; senders_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_mail_senders, NULL, "SENDERS"); xmpp_display_attrs(senders_tree, element, pinfo, tvb, NULL, 0); xmpp_display_elems(senders_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_mail_sender(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *sender_tree; xmpp_attr_info attrs_info [] = { {"name", NULL, FALSE, TRUE, NULL, NULL}, {"address", NULL, FALSE, TRUE, NULL, NULL}, {"originator", NULL, FALSE, TRUE, NULL, NULL}, {"unread", NULL, FALSE, TRUE, NULL, NULL} }; sender_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_mail_sender, NULL, "SENDER"); xmpp_display_attrs(sender_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(sender_tree, element, pinfo, tvb, NULL, 0); } static void xmpp_gtalk_mail_snippet(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree_add_string(tree, hf_xmpp_gtalk_mail_snippet, tvb, element->offset, element->length, element->data?element->data->value:""); xmpp_unknown(tree, tvb, pinfo, element); } void xmpp_gtalk_mail_new_mail(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { col_append_str(pinfo->cinfo, COL_INFO, "NEW-MAIL "); proto_tree_add_item(tree, hf_xmpp_gtalk_mail_new_mail, tvb, element->offset, element->length, ENC_BIG_ENDIAN); xmpp_unknown(tree, tvb, pinfo, element); } void xmpp_gtalk_status_query(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"version", NULL, FALSE, TRUE, NULL, NULL}, {"status-max", NULL, FALSE, FALSE, NULL, NULL}, {"status-list-max", NULL, FALSE, FALSE, NULL, NULL}, {"status-list-contents-max", NULL, FALSE, FALSE, NULL, NULL}, {"status-min-ver", NULL, FALSE, TRUE, NULL, NULL}, {"show", NULL, FALSE, TRUE, NULL, NULL}, {"status", NULL, FALSE, TRUE, NULL, NULL}, {"invisible", NULL, FALSE, TRUE, NULL, NULL}, }; xmpp_elem_info elems_info [] = { {NAME, "status-list", xmpp_gtalk_status_status_list, MANY} }; xmpp_element_t *status, *show, *invisible; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(google:shared-status) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); if((status = xmpp_steal_element_by_name(element,"status"))!=NULL) { xmpp_attr_t *fake_status = xmpp_ep_init_attr_t(pinfo->pool, status->data?status->data->value:"",status->offset, status->length); g_hash_table_insert(element->attrs, (gpointer)"status", fake_status); } if((show = xmpp_steal_element_by_name(element,"show"))!=NULL) { xmpp_attr_t *fake_show = xmpp_ep_init_attr_t(pinfo->pool, show->data?show->data->value:"",show->offset, show->length); g_hash_table_insert(element->attrs, (gpointer)"show", fake_show); } if((invisible = xmpp_steal_element_by_name(element,"invisible"))!=NULL) { xmpp_attr_t *value = xmpp_get_attr(invisible, "value"); xmpp_attr_t *fake_invisible = xmpp_ep_init_attr_t(pinfo->pool, value?value->value:"",invisible->offset, invisible->length); g_hash_table_insert(element->attrs, (gpointer)"invisible", fake_invisible); } xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(query_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_status_status_list(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *list_tree; xmpp_attr_info attrs_info [] = { {"show", NULL, TRUE, TRUE, NULL, NULL} }; xmpp_element_t *status; list_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_status_status_list, NULL, "STATUS LIST"); while((status = xmpp_steal_element_by_name(element, "status"))!=NULL) { proto_tree_add_string(list_tree, hf_xmpp_gtalk_status_status_list, tvb, status->offset, status->length, status->data?status->data->value:""); } xmpp_display_attrs(list_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(list_tree, element, pinfo, tvb, NULL, 0); } /*http://www.google.com/transport/p2p*/ void xmpp_gtalk_transport_p2p(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *trans_item; proto_tree *trans_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "candidate", xmpp_gtalk_transport_p2p_cand, MANY} }; trans_item = proto_tree_add_item(tree, hf_xmpp_gtalk_transport_p2p, tvb, element->offset, element->length, ENC_BIG_ENDIAN); trans_tree = proto_item_add_subtree(trans_item, ett_xmpp_gtalk_transport_p2p); xmpp_display_attrs(trans_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(trans_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_gtalk_transport_p2p_cand(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *cand_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"name", NULL, FALSE, TRUE, NULL, NULL}, {"generation", NULL, FALSE, FALSE, NULL, NULL}, {"network", NULL, FALSE, FALSE, NULL, NULL}, {"component", NULL, FALSE, FALSE, NULL, NULL}, {"type", NULL, FALSE, FALSE, NULL, NULL}, {"protocol", NULL, FALSE, TRUE, NULL, NULL}, {"preference", NULL, FALSE, FALSE, NULL, NULL}, {"password", NULL, FALSE, FALSE, NULL, NULL}, {"username", NULL, FALSE, FALSE, NULL, NULL}, {"port", NULL, FALSE, TRUE, NULL, NULL}, {"address", NULL, FALSE, TRUE, NULL, NULL} }; cand_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_gtalk_transport_p2p_cand, NULL, "CANDIDATE"); xmpp_display_attrs(cand_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(cand_tree, element, pinfo, tvb, NULL, 0); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-xmpp-gtalk.h
/* xmpp-gtalk.h * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef XMPP_GTALK_H #define XMPP_GTALK_H #include "packet-xmpp-utils.h" extern void xmpp_gtalk_session(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_gtalk_jingleinfo_query(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_gtalk_usersetting(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_gtalk_nosave_x(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_gtalk_mail_query(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_gtalk_mail_mailbox(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_gtalk_mail_new_mail(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_gtalk_status_query(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_gtalk_transport_p2p(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); #endif /* XMPP_GTALK_H */
C
wireshark/epan/dissectors/packet-xmpp-jingle.c
/* xmpp-jingle.c * Wireshark's XMPP dissector. * * urn:xmpp:jingle:1 * urn:xmpp:jingle:apps:rtp:1 * urn:xmpp:jingle:apps:rtp:errors:1 * urn:xmpp:jingle:apps:rtp:info:1 * urn:xmpp:jingle:apps:rtp:rtp-hdrext:0 * urn:xmpp:jingle:apps:rtp:izrtp:1 * * urn:xmpp:jingle:transports:ice-udp:1 * urn:xmpp:jingle:transports:raw-udp:1 * urn:xmpp:jingle:transports:s5b:1 * urn:xmpp:jingle:transports:ibb:1 * * http://jabber.org/protocol/jinglenodes * http://jabber.org/protocol/jinglenodes#channel * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include "packet-xmpp.h" #include "packet-xmpp-jingle.h" #include "packet-xmpp-conference.h" #include "packet-xmpp-gtalk.h" #include "packet-xmpp-other.h" static void xmpp_jingle_content(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_content_description_rtp(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_desc_rtp_payload(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_desc_rtp_payload_param(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_desc_rtp_enc(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_desc_rtp_enc_zrtp_hash(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_desc_rtp_enc_crypto(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_desc_rtp_bandwidth(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_desc_rtp_hdrext(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_trans_ice(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_ice_candidate(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_trans_ice_remote_candidate(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_reason(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_rtp_info(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jinglenodes_relay_stun_tracker(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_raw(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_raw_candidate(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_cont_trans_s5b(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_s5b_candidate(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_s5b_activated(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_s5b_cand_used(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_s5b_cand_error(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_s5b_proxy_error(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_cont_trans_ibb(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jingle_file_transfer_desc(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_file_transfer_offer(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_file_transfer_file(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_file_transfer_request(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_file_transfer_received(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_file_transfer_abort(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_jingle_file_transfer_checksum(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); /*XEP-0166: Jingle urn:xmpp:jingle:1*/ void xmpp_jingle(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *jingle_item; proto_tree *jingle_tree; static const gchar *rtp_info_msgs[] = {"active", "hold", "mute", "ringing", "unhold", "unmute"}; static const gchar *action_enums[] = {"content-accept","content-add", "content-modify", "content-modify", "content-remove", "description-info", "security-info", "session-accept", "session-info", "session-initiate", "session-terminate", "transport-accept", "transport-info", "transport-reject", "transport-replace" }; xmpp_array_t *action_array = xmpp_ep_init_array_t(pinfo->pool, action_enums,array_length(action_enums)); xmpp_array_t *rtp_info_array = xmpp_ep_init_array_t(pinfo->pool, rtp_info_msgs, array_length(rtp_info_msgs)); xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"action", &hf_xmpp_jingle_action, TRUE, TRUE, xmpp_val_enum_list, action_array}, {"sid", &hf_xmpp_jingle_sid, TRUE, FALSE, NULL, NULL}, {"initiator", &hf_xmpp_jingle_initiator, FALSE, FALSE, NULL, NULL}, {"responder", &hf_xmpp_jingle_responder, FALSE, FALSE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "content", xmpp_jingle_content, MANY}, {NAME, "reason", xmpp_jingle_reason, MANY}, {NAMES, rtp_info_array, xmpp_jingle_rtp_info, ONE}, {NAME, "conference-info", xmpp_conferece_info_advert, ONE} }; xmpp_attr_t *action = xmpp_get_attr(element,"action"); col_append_fstr(pinfo->cinfo, COL_INFO, "JINGLE(%s) ", action?action->value:""); jingle_item = proto_tree_add_item(tree, hf_xmpp_jingle, tvb, element->offset, element->length, ENC_BIG_ENDIAN); jingle_tree = proto_item_add_subtree(jingle_item, ett_xmpp_jingle); xmpp_display_attrs(jingle_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(jingle_item, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_content(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *content_item; proto_tree *content_tree; static const gchar *creator_enums[] = {"initiator","responder"}; xmpp_array_t *creator_enums_array = xmpp_ep_init_array_t(pinfo->pool, creator_enums,array_length(creator_enums)); xmpp_attr_info attrs_info[] = { {"creator", &hf_xmpp_jingle_content_creator, TRUE, FALSE, xmpp_val_enum_list, creator_enums_array}, {"name", &hf_xmpp_jingle_content_name, TRUE, TRUE, NULL, NULL}, {"disposition", &hf_xmpp_jingle_content_disposition, FALSE, FALSE, NULL, NULL}, {"senders", &hf_xmpp_jingle_content_senders, FALSE, FALSE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "description", "xmlns", "urn:xmpp:jingle:apps:rtp:1"), xmpp_jingle_content_description_rtp, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "description", "xmlns", "urn:xmpp:jingle:apps:file-transfer:3"), xmpp_jingle_file_transfer_desc, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "transport", "xmlns", "urn:xmpp:jingle:transports:ice-udp:1"), xmpp_jingle_cont_trans_ice, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "transport", "xmlns", "urn:xmpp:jingle:transports:raw-udp:1"), xmpp_jingle_cont_trans_raw, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "transport", "xmlns", "urn:xmpp:jingle:transports:s5b:1"), xmpp_jingle_cont_trans_s5b, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "transport", "xmlns", "urn:xmpp:jingle:transports:ibb:1"), xmpp_jingle_cont_trans_ibb, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "transport", "xmlns", "http://www.google.com/transport/p2p"), xmpp_gtalk_transport_p2p, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "received", "xmlns", "urn:xmpp:jingle:apps:file-transfer:3"), xmpp_jingle_file_transfer_received, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "abort", "xmlns", "urn:xmpp:jingle:apps:file-transfer:3"), xmpp_jingle_file_transfer_abort, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "checksum", "xmlns", "urn:xmpp:jingle:apps:file-transfer:3"), xmpp_jingle_file_transfer_checksum, MANY}, {NAME_AND_ATTR, xmpp_name_attr_struct(pinfo->pool, "inputevt", "xmlns","http://jitsi.org/protocol/inputevt"), xmpp_jitsi_inputevt, ONE}, }; content_item = proto_tree_add_item(tree, hf_xmpp_jingle_content, tvb, element->offset, element->length, ENC_BIG_ENDIAN); content_tree = proto_item_add_subtree(content_item, ett_xmpp_jingle_content); xmpp_display_attrs(content_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(content_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_reason(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *reason_item; proto_tree *reason_tree; xmpp_attr_info attrs_info[] = { {"condition", &hf_xmpp_jingle_reason_condition, TRUE, TRUE, NULL, NULL}, {"sid", NULL, FALSE, TRUE, NULL, NULL}, {"rtp-error", NULL, FALSE, TRUE, NULL, NULL}, {"text", &hf_xmpp_jingle_reason_text, FALSE, FALSE, NULL, NULL} }; xmpp_element_t *condition; /*1?*/ xmpp_element_t *text; /*0-1*/ xmpp_element_t *rtp_error; static const gchar *reason_names[] = { "success", "busy", "failed-application", "cancel", "connectivity-error", "decline", "expired", "failed-transport", "general-error", "gone", "incompatible-parameters", "media-error", "security-error", "timeout", "unsupported-applications", "unsupported-transports"}; static const gchar *rtp_error_names[] = {"crypto-required", "invalid-crypto"}; reason_item = proto_tree_add_item(tree, hf_xmpp_jingle_reason, tvb, element->offset, element->length, ENC_BIG_ENDIAN); reason_tree = proto_item_add_subtree(reason_item, ett_xmpp_jingle_reason); /*Looks for reason description. "alternative-session" may contain "sid" element Elements are changed into attribute*/ if((condition = xmpp_steal_element_by_names(element, reason_names, array_length(reason_names)))!=NULL) { xmpp_attr_t *fake_cond = xmpp_ep_init_attr_t(pinfo->pool, condition->name, condition->offset, condition->length); g_hash_table_insert(element->attrs, (gpointer)"condition", fake_cond); } else if((condition = xmpp_steal_element_by_name(element, "alternative-session"))!=NULL) { xmpp_attr_t *fake_cond,*fake_alter_sid; xmpp_element_t *sid; fake_cond = xmpp_ep_init_attr_t(pinfo->pool, condition->name, condition->offset, condition->length); g_hash_table_insert(element->attrs, (gpointer)"condition", fake_cond); if((sid = xmpp_steal_element_by_name(condition, "sid"))!=NULL) { fake_alter_sid = xmpp_ep_init_attr_t(pinfo->pool, sid->name, sid->offset, sid->length); g_hash_table_insert(element->attrs, (gpointer)"sid", fake_alter_sid); } } if((rtp_error = xmpp_steal_element_by_names(element, rtp_error_names, array_length(rtp_error_names)))!=NULL) { xmpp_attr_t *fake_rtp_error = xmpp_ep_init_attr_t(pinfo->pool, rtp_error->name, rtp_error->offset, rtp_error->length); g_hash_table_insert(element->attrs, (gpointer)"rtp-error", fake_rtp_error); } if((text = xmpp_steal_element_by_name(element, "text"))!=NULL) { xmpp_attr_t *fake_text = xmpp_ep_init_attr_t(pinfo->pool, text->data?text->data->value:"", text->offset, text->length); g_hash_table_insert(element->attrs, (gpointer)"text", fake_text); } xmpp_display_attrs(reason_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(reason_tree, tvb, pinfo, element); } /*XEP-0167: Jingle RTP Sessions urn:xmpp:jingle:apps:rtp:1*/ static void xmpp_jingle_content_description_rtp(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *desc_item; proto_tree *desc_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"media", &hf_xmpp_jingle_content_description_media, TRUE, TRUE, NULL, NULL}, {"ssrc", &hf_xmpp_jingle_content_description_ssrc , FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info[] = { {NAME, "payload-type", xmpp_jingle_cont_desc_rtp_payload, MANY}, {NAME, "bandwidth", xmpp_jingle_cont_desc_rtp_bandwidth, ONE}, {NAME, "encryption", xmpp_jingle_cont_desc_rtp_enc, ONE}, {NAME, "rtp-hdrext", xmpp_jingle_cont_desc_rtp_hdrext, MANY}, {NAME, "zrtp-hash", xmpp_jingle_cont_desc_rtp_enc_zrtp_hash, MANY}/*IMHO it shouldn't appear in description*/ }; desc_item = proto_tree_add_item(tree, hf_xmpp_jingle_content_description, tvb, element->offset, element->length, ENC_BIG_ENDIAN); desc_tree = proto_item_add_subtree(desc_item, ett_xmpp_jingle_content_description); xmpp_display_attrs(desc_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(desc_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_cont_desc_rtp_payload(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *payload_item; proto_tree *payload_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"id", &hf_xmpp_jingle_cont_desc_payload_id, TRUE, TRUE, NULL, NULL}, {"channels", &hf_xmpp_jingle_cont_desc_payload_channels, FALSE, FALSE, NULL, NULL}, {"clockrate", &hf_xmpp_jingle_cont_desc_payload_clockrate, FALSE, FALSE, NULL, NULL}, {"maxptime", &hf_xmpp_jingle_cont_desc_payload_maxptime, FALSE, FALSE, NULL, NULL}, {"name", &hf_xmpp_jingle_cont_desc_payload_name, FALSE, TRUE, NULL, NULL}, {"ptime", &hf_xmpp_jingle_cont_desc_payload_ptime, FALSE, FALSE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "parameter", xmpp_jingle_cont_desc_rtp_payload_param, MANY} }; payload_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_desc_payload, tvb, element->offset, element->length, ENC_BIG_ENDIAN); payload_tree = proto_item_add_subtree(payload_item, ett_xmpp_jingle_cont_desc_payload); xmpp_display_attrs(payload_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(payload_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_cont_desc_rtp_payload_param(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element) { proto_item *param_item; proto_tree *param_tree; proto_item *parent_item; xmpp_attr_t *name, *value; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"name", &hf_xmpp_jingle_cont_desc_payload_param_name, TRUE, TRUE, NULL, NULL}, {"value", &hf_xmpp_jingle_cont_desc_payload_param_value, TRUE, TRUE, NULL, NULL} }; name = xmpp_get_attr(element, "name"); value = xmpp_get_attr(element, "value"); if(name && value) { gchar *parent_item_label; parent_item = proto_tree_get_parent(tree); parent_item_label = proto_item_get_text(pinfo->pool, parent_item); if(parent_item_label) { parent_item_label[strlen(parent_item_label)-1]= '\0'; proto_item_set_text(parent_item, "%s param(\"%s\")=%s]", parent_item_label ,name->value, value->value); } } param_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_desc_payload_param, tvb, element->offset, element->length, ENC_BIG_ENDIAN); param_tree = proto_item_add_subtree(param_item, ett_xmpp_jingle_cont_desc_payload_param); xmpp_display_attrs(param_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(param_tree, tvb, pinfo, element); } static void xmpp_jingle_cont_desc_rtp_enc(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element) { proto_item *enc_item; proto_tree *enc_tree; xmpp_elem_info elems_info [] = { {NAME, "zrtp-hash", xmpp_jingle_cont_desc_rtp_enc_zrtp_hash, MANY}, {NAME, "crypto", xmpp_jingle_cont_desc_rtp_enc_crypto, MANY} }; enc_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_desc_enc, tvb, element->offset, element->length, ENC_BIG_ENDIAN); enc_tree = proto_item_add_subtree(enc_item, ett_xmpp_jingle_cont_desc_enc); xmpp_display_attrs(enc_tree, element, pinfo, tvb, NULL, 0); xmpp_display_elems(enc_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } /*urn:xmpp:jingle:apps:rtp:zrtp:1*/ static void xmpp_jingle_cont_desc_rtp_enc_zrtp_hash(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element) { proto_item *zrtp_hash_item; proto_tree *zrtp_hash_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"version", NULL, TRUE, TRUE,NULL,NULL}, {"hash", NULL, TRUE, FALSE, NULL, NULL} }; zrtp_hash_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_desc_enc_zrtp_hash, tvb, element->offset, element->length, ENC_BIG_ENDIAN); zrtp_hash_tree = proto_item_add_subtree(zrtp_hash_item, ett_xmpp_jingle_cont_desc_enc_zrtp_hash); if(element->data) { xmpp_attr_t *fake_hash = xmpp_ep_init_attr_t(pinfo->pool, element->data->value, element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"hash", fake_hash); } xmpp_display_attrs(zrtp_hash_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(zrtp_hash_tree, tvb, pinfo, element); } static void xmpp_jingle_cont_desc_rtp_enc_crypto(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element) { proto_item *crypto_item; proto_tree *crypto_tree; xmpp_attr_info attrs_info[] = { {"crypto-suite", NULL, TRUE, TRUE, NULL, NULL}, {"key-params", NULL, TRUE, FALSE,NULL,NULL}, {"session-params", NULL, FALSE, TRUE, NULL, NULL}, {"tag", NULL, TRUE, FALSE, NULL, NULL} }; crypto_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_desc_enc_crypto, tvb, element->offset, element->length, ENC_BIG_ENDIAN); crypto_tree = proto_item_add_subtree(crypto_item, ett_xmpp_jingle_cont_desc_enc_crypto); xmpp_display_attrs(crypto_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(crypto_tree, tvb, pinfo, element); } static void xmpp_jingle_cont_desc_rtp_bandwidth(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element) { proto_item *bandwidth_item; proto_tree *bandwidth_tree; xmpp_attr_info attrs_info[] = { {"type", NULL, TRUE, TRUE, NULL, NULL}, {"value", NULL, TRUE, TRUE, NULL, NULL} }; bandwidth_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_desc_bandwidth, tvb, element->offset, element->length, ENC_BIG_ENDIAN); bandwidth_tree = proto_item_add_subtree(bandwidth_item, ett_xmpp_jingle_cont_desc_bandwidth); if(element->data) { xmpp_attr_t *fake_value = xmpp_ep_init_attr_t(pinfo->pool, element->data->value, element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_value); } xmpp_display_attrs(bandwidth_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(bandwidth_tree, tvb, pinfo, element); } /*urn:xmpp:jingle:apps:rtp:rtp-hdrext:0*/ static void xmpp_jingle_cont_desc_rtp_hdrext(proto_tree* tree, tvbuff_t* tvb, packet_info *pinfo, xmpp_element_t* element) { proto_item *rtp_hdr_item; proto_tree *rtp_hdr_tree; static const gchar *senders[] = {"both", "initiator", "responder"}; xmpp_array_t *senders_enums = xmpp_ep_init_array_t(pinfo->pool, senders, 3); xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"id", NULL, TRUE, FALSE, NULL, NULL}, {"uri", NULL, TRUE, TRUE, NULL, NULL}, {"senders", NULL, FALSE, TRUE, xmpp_val_enum_list, senders_enums}, {"parameter", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *parameter; rtp_hdr_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_desc_rtp_hdr, tvb, element->offset, element->length, ENC_BIG_ENDIAN); rtp_hdr_tree = proto_item_add_subtree(rtp_hdr_item, ett_xmpp_jingle_cont_desc_rtp_hdr); if((parameter = xmpp_steal_element_by_name(element, "parameter"))!=NULL) { xmpp_attr_t *name = xmpp_get_attr(element, "name"); xmpp_attr_t *fake_attr = xmpp_ep_init_attr_t(pinfo->pool, name?name->value:"", parameter->offset, parameter->length); g_hash_table_insert(element->attrs, (gpointer)"parameter", fake_attr); } xmpp_display_attrs(rtp_hdr_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(rtp_hdr_tree, tvb, pinfo, element); } /*urn:xmpp:jingle:apps:rtp:info:1*/ static void xmpp_jingle_rtp_info(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *rtp_info_item; proto_tree *rtp_info_tree; static const gchar *creator[] = {"initiator","responder"}; xmpp_array_t *creator_enums = xmpp_ep_init_array_t(pinfo->pool, creator, array_length(creator)); xmpp_attr_info mute_attrs_info[] = { {"creator", NULL, TRUE, TRUE, xmpp_val_enum_list, creator_enums}, {"name", NULL, TRUE, TRUE, NULL, NULL} }; rtp_info_item = proto_tree_add_string(tree, hf_xmpp_jingle_rtp_info, tvb, element->offset, element->length, element->name); rtp_info_tree = proto_item_add_subtree(rtp_info_item, ett_xmpp_jingle_rtp_info); if(strcmp("mute", element->name) == 0 || strcmp("unmute", element->name) == 0) xmpp_display_attrs(rtp_info_tree, element, pinfo, tvb, mute_attrs_info, array_length(mute_attrs_info)); xmpp_unknown(rtp_info_tree, tvb, pinfo, element); } /*XEP-0176: Jingle ICE-UDP Transport Method urn:xmpp:jingle:transports:ice-udp:1*/ static void xmpp_jingle_cont_trans_ice(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *trans_item; proto_tree *trans_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL}, {"pwd", &hf_xmpp_jingle_cont_trans_pwd, FALSE, FALSE, NULL, NULL}, {"ufrag", &hf_xmpp_jingle_cont_trans_ufrag, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "candidate", xmpp_jingle_cont_trans_ice_candidate, MANY}, {NAME, "remote-candidate", xmpp_jingle_cont_trans_ice_remote_candidate, ONE} }; trans_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans, tvb, element->offset, element->length, ENC_BIG_ENDIAN); trans_tree = proto_item_add_subtree(trans_item, ett_xmpp_jingle_cont_trans); xmpp_display_attrs(trans_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(trans_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_cont_trans_ice_candidate(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *cand_item; proto_tree *cand_tree; static const gchar *type_enums[] = {"host", "prflx", "relay", "srflx"}; xmpp_array_t *type_enums_array = xmpp_ep_init_array_t(pinfo->pool, type_enums,array_length(type_enums)); xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"component", NULL, TRUE, FALSE, NULL, NULL}, {"foundation", NULL, TRUE, FALSE, NULL, NULL}, {"generation", NULL, TRUE, FALSE, NULL, NULL}, {"id", NULL, FALSE, FALSE, NULL, NULL}, /*in schemas id is marked as required, but in jitsi logs it doesn't appear*/ {"ip", NULL, TRUE, TRUE, NULL, NULL}, {"network", NULL, TRUE, FALSE, NULL, NULL}, {"port", NULL, TRUE, FALSE, NULL, NULL}, {"priority", NULL, TRUE, TRUE, NULL, NULL}, {"protocol", NULL, TRUE, TRUE, NULL, NULL}, {"rel-addr", NULL, FALSE, FALSE, NULL, NULL}, {"rel-port", NULL, FALSE, FALSE, NULL, NULL}, {"type", NULL, TRUE, TRUE, xmpp_val_enum_list, type_enums_array} }; cand_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans_cand, tvb, element->offset, element->length, ENC_BIG_ENDIAN); cand_tree = proto_item_add_subtree(cand_item, ett_xmpp_jingle_cont_trans_cand); xmpp_display_attrs(cand_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(cand_tree, tvb, pinfo, element); } static void xmpp_jingle_cont_trans_ice_remote_candidate(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *remote_cand_item; proto_tree *remote_cand_tree; xmpp_attr_info attrs_info[] = { {"component", NULL, TRUE, FALSE, NULL, NULL}, {"ip", NULL, TRUE, FALSE, NULL, NULL}, {"port", NULL, TRUE, FALSE, NULL, NULL} }; remote_cand_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans_rem_cand, tvb, element->offset, element->length, ENC_BIG_ENDIAN); remote_cand_tree = proto_item_add_subtree(remote_cand_item, ett_xmpp_jingle_cont_trans_rem_cand); xmpp_display_attrs(remote_cand_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(remote_cand_tree, tvb, pinfo, element); } /*XEP-0177: Jingle Raw UDP Transport Method urn:xmpp:jingle:transports:raw-udp:1*/ static void xmpp_jingle_cont_trans_raw(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *trans_item; proto_tree *trans_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info [] = { {NAME, "candidate", xmpp_jingle_cont_trans_raw_candidate, MANY} }; trans_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans, tvb, element->offset, element->length, ENC_BIG_ENDIAN); trans_tree = proto_item_add_subtree(trans_item, ett_xmpp_jingle_cont_trans); xmpp_display_attrs(trans_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(trans_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_cont_trans_raw_candidate(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *cand_item; proto_tree *cand_tree; static const gchar *type_enums[] = {"host", "prflx", "relay", "srflx"}; xmpp_array_t *type_enums_array = xmpp_ep_init_array_t(pinfo->pool, type_enums,array_length(type_enums)); xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"component", NULL, TRUE, FALSE, NULL, NULL}, {"generation", NULL, TRUE, FALSE, NULL, NULL}, {"id", NULL, TRUE, FALSE, NULL, NULL}, {"ip", NULL, TRUE, TRUE, NULL, NULL}, {"port", NULL, TRUE, TRUE, NULL, NULL}, {"type", NULL, TRUE, TRUE, xmpp_val_enum_list, type_enums_array} }; cand_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans_cand, tvb, element->offset, element->length, ENC_BIG_ENDIAN); cand_tree = proto_item_add_subtree(cand_item, ett_xmpp_jingle_cont_trans_cand); xmpp_display_attrs(cand_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(cand_tree, element, pinfo, tvb, NULL, 0); } /*XEP-0260: Jingle SOCKS5 Bytestreams Transport Method urn:xmpp:jingle:transports:s5b:1*/ static void xmpp_jingle_cont_trans_s5b(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *trans_item; proto_tree *trans_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL}, {"mode", NULL, FALSE, TRUE, NULL, NULL}, {"sid", NULL, FALSE, TRUE, NULL, NULL}, }; xmpp_elem_info elems_info [] = { {NAME, "candidate", xmpp_jingle_cont_trans_s5b_candidate, MANY}, {NAME, "activated", xmpp_jingle_cont_trans_s5b_activated, ONE}, {NAME, "candidate-used", xmpp_jingle_cont_trans_s5b_cand_used, ONE}, {NAME, "candidate-error", xmpp_jingle_cont_trans_s5b_cand_error, ONE}, {NAME, "proxy-error", xmpp_jingle_cont_trans_s5b_proxy_error, ONE}, }; trans_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans, tvb, element->offset, element->length, ENC_BIG_ENDIAN); trans_tree = proto_item_add_subtree(trans_item, ett_xmpp_jingle_cont_trans); xmpp_display_attrs(trans_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(trans_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_cont_trans_s5b_candidate(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *cand_item; proto_tree *cand_tree; static const gchar * type_enums[] = {"assisted", "direct", "proxy", "tunnel"}; xmpp_array_t *type_enums_array = xmpp_ep_init_array_t(pinfo->pool, type_enums, array_length(type_enums)); xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"cid", NULL, TRUE, TRUE, NULL, NULL}, {"jid", NULL, TRUE, TRUE, NULL, NULL}, {"port", NULL, FALSE, TRUE, NULL, NULL}, {"priority", NULL, TRUE, TRUE, NULL, NULL}, {"type", NULL, TRUE, TRUE, xmpp_val_enum_list, type_enums_array} }; cand_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans_cand, tvb, element->offset, element->length, ENC_BIG_ENDIAN); cand_tree = proto_item_add_subtree(cand_item, ett_xmpp_jingle_cont_trans_cand); xmpp_display_attrs(cand_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(cand_tree, element, pinfo, tvb, NULL, 0); } static void xmpp_jingle_cont_trans_s5b_activated(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *activated_item; xmpp_attr_t *cid = xmpp_get_attr(element, "cid"); activated_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans_activated, tvb, element->offset, element->length, ENC_BIG_ENDIAN); proto_item_append_text(activated_item, " [cid=\"%s\"]",cid?cid->value:""); xmpp_unknown(tree, tvb, pinfo, element); } static void xmpp_jingle_cont_trans_s5b_cand_used(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *cand_used_item; xmpp_attr_t *cid = xmpp_get_attr(element, "cid"); cand_used_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans_candidate_used, tvb, element->offset, element->length, ENC_BIG_ENDIAN); proto_item_append_text(cand_used_item, " [cid=\"%s\"]",cid?cid->value:""); xmpp_unknown(tree, tvb, pinfo, element); } static void xmpp_jingle_cont_trans_s5b_cand_error(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans_candidate_error, tvb, element->offset, element->length, ENC_BIG_ENDIAN); xmpp_unknown(tree, tvb, pinfo, element); } static void xmpp_jingle_cont_trans_s5b_proxy_error(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans_proxy_error, tvb, element->offset, element->length, ENC_BIG_ENDIAN); xmpp_unknown(tree, tvb, pinfo, element); } /*XEP-0261: Jingle In-Band Bytestreams Transport Method urn:xmpp:jingle:transports:ibb:1*/ static void xmpp_jingle_cont_trans_ibb(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *trans_item; proto_tree *trans_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, TRUE, NULL, NULL}, {"block-size", NULL, TRUE, TRUE, NULL, NULL}, {"sid", NULL, TRUE, TRUE, NULL, NULL}, {"stanza", NULL, FALSE, TRUE, NULL, NULL} }; trans_item = proto_tree_add_item(tree, hf_xmpp_jingle_cont_trans, tvb, element->offset, element->length, ENC_BIG_ENDIAN); trans_tree = proto_item_add_subtree(trans_item, ett_xmpp_jingle_cont_trans); xmpp_display_attrs(trans_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(trans_tree, element, pinfo, tvb, NULL, 0); } /*XEP-0234: Jingle File Transfer urn:xmpp:jingle:apps:file-transfer:3*/ static void xmpp_jingle_file_transfer_desc(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *desc_item; proto_tree *desc_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info[] = { {NAME, "offer", xmpp_jingle_file_transfer_offer, ONE}, {NAME, "request", xmpp_jingle_file_transfer_request, ONE} }; desc_item = proto_tree_add_item(tree, hf_xmpp_jingle_content_description, tvb, element->offset, element->length, ENC_BIG_ENDIAN); desc_tree = proto_item_add_subtree(desc_item, ett_xmpp_jingle_content_description); xmpp_display_attrs(desc_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(desc_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_file_transfer_offer(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *offer_item; proto_tree *offer_tree; xmpp_elem_info elems_info[] = { {NAME, "file", xmpp_jingle_file_transfer_file, MANY}, }; offer_item = proto_tree_add_item(tree, hf_xmpp_jingle_file_transfer_offer, tvb, element->offset, element->length, ENC_BIG_ENDIAN); offer_tree = proto_item_add_subtree(offer_item, ett_xmpp_jingle_file_transfer_offer); xmpp_display_attrs(offer_tree, element, pinfo, tvb, NULL, 0); xmpp_display_elems(offer_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_file_transfer_request(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *request_item; proto_tree *request_tree; xmpp_elem_info elems_info[] = { {NAME, "file", xmpp_jingle_file_transfer_file, MANY}, }; request_item = proto_tree_add_item(tree, hf_xmpp_jingle_file_transfer_request, tvb, element->offset, element->length, ENC_BIG_ENDIAN); request_tree = proto_item_add_subtree(request_item, ett_xmpp_jingle_file_transfer_request); xmpp_display_attrs(request_tree, element, pinfo, tvb, NULL, 0); xmpp_display_elems(request_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_file_transfer_received(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *received_item; proto_tree *received_tree; xmpp_elem_info elems_info[] = { {NAME, "file", xmpp_jingle_file_transfer_file, MANY}, }; received_item = proto_tree_add_item(tree, hf_xmpp_jingle_file_transfer_received, tvb, element->offset, element->length, ENC_BIG_ENDIAN); received_tree = proto_item_add_subtree(received_item, ett_xmpp_jingle_file_transfer_received); xmpp_display_attrs(received_tree, element, pinfo, tvb, NULL, 0); xmpp_display_elems(received_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_file_transfer_abort(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *abort_item; proto_tree *abort_tree; xmpp_elem_info elems_info[] = { {NAME, "file", xmpp_jingle_file_transfer_file, MANY}, }; abort_item = proto_tree_add_item(tree, hf_xmpp_jingle_file_transfer_abort, tvb, element->offset, element->length, ENC_BIG_ENDIAN); abort_tree = proto_item_add_subtree(abort_item, ett_xmpp_jingle_file_transfer_abort); xmpp_display_attrs(abort_tree, element, pinfo, tvb, NULL, 0); xmpp_display_elems(abort_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_file_transfer_checksum(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *checksum_item; proto_tree *checksum_tree; xmpp_elem_info elems_info[] = { {NAME, "file", xmpp_jingle_file_transfer_file, MANY}, }; checksum_item = proto_tree_add_item(tree, hf_xmpp_jingle_file_transfer_checksum, tvb, element->offset, element->length, ENC_BIG_ENDIAN); checksum_tree = proto_item_add_subtree(checksum_item, ett_xmpp_jingle_file_transfer_checksum); xmpp_display_attrs(checksum_tree, element, pinfo, tvb, NULL, 0); xmpp_display_elems(checksum_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jingle_file_transfer_file(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *file_tree; xmpp_attr_info attrs_info[] = { {"name", NULL, FALSE, TRUE, NULL, NULL}, {"size", NULL, FALSE, TRUE, NULL, NULL}, {"date", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info[] = { {NAME, "hashes", xmpp_hashes, ONE} }; file_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_jingle_file_transfer_file, NULL, "FILE"); xmpp_change_elem_to_attrib(pinfo->pool, "name", "name", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "size", "size", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "date", "date", element, xmpp_transform_func_cdata); xmpp_display_attrs(file_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(file_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } /*XEP-0278: Jingle Relay Nodes http://jabber.org/protocol/jinglenodes*/ void xmpp_jinglenodes_services(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *services_item; proto_tree *services_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info[] = { {NAME, "relay", xmpp_jinglenodes_relay_stun_tracker, ONE}, {NAME, "tracker", xmpp_jinglenodes_relay_stun_tracker, ONE}, {NAME, "stun", xmpp_jinglenodes_relay_stun_tracker, ONE}, }; col_append_str(pinfo->cinfo, COL_INFO, "SERVICES "); services_item = proto_tree_add_item(tree, hf_xmpp_services, tvb, element->offset, element->length, ENC_BIG_ENDIAN); services_tree = proto_item_add_subtree(services_item, ett_xmpp_services); xmpp_display_attrs(services_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(services_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jinglenodes_relay_stun_tracker(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *relay_tree; xmpp_attr_info attrs_info[] = { {"address", NULL, TRUE, TRUE, NULL, NULL}, {"port", NULL, FALSE, TRUE, NULL, NULL}, {"policy", NULL, TRUE, TRUE, NULL, NULL}, {"protocol", NULL, TRUE, TRUE, NULL, NULL}, }; relay_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_services_relay, NULL, element->name); xmpp_display_attrs(relay_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(relay_tree, element, pinfo, tvb, NULL, 0); } void xmpp_jinglenodes_channel(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *channel_item; proto_tree *channel_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"id", NULL, FALSE, FALSE, NULL, NULL}, {"host", NULL, FALSE, TRUE, NULL, NULL}, {"localport", NULL, FALSE, TRUE, NULL, NULL}, {"remoteport", NULL, FALSE, TRUE, NULL, NULL}, {"protocol", NULL, TRUE, TRUE, NULL, NULL}, {"maxkbps", NULL, FALSE, FALSE, NULL, NULL}, {"expire", NULL, FALSE, FALSE, NULL, NULL}, }; channel_item = proto_tree_add_item(tree, hf_xmpp_channel, tvb, element->offset, element->length, ENC_BIG_ENDIAN); channel_tree = proto_item_add_subtree(channel_item, ett_xmpp_channel); xmpp_display_attrs(channel_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(channel_tree, element, pinfo, tvb, NULL, 0); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-xmpp-jingle.h
/* xmpp-jingle.h * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef XMPP_JINGLE_H #define XMPP_JINGLE_H #include "packet-xmpp-utils.h" extern void xmpp_jingle(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_jinglenodes_services(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_jinglenodes_channel(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); #endif /* XMPP_JINGLE_H */
C
wireshark/epan/dissectors/packet-xmpp-other.c
/* xmpp-other.c * Wireshark's XMPP dissector. * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include "packet-xmpp.h" #include "packet-xmpp-other.h" static void xmpp_disco_items_item(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element); static void xmpp_roster_item(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element); static void xmpp_disco_info_identity(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element); static void xmpp_disco_info_feature(proto_tree *tree, tvbuff_t *tvb, xmpp_element_t *element); static void xmpp_bytestreams_streamhost(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_bytestreams_streamhost_used(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_bytestreams_activate(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_bytestreams_udpsuccess(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_si_file(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_si_file_range(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_x_data(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_x_data_field(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_x_data_field_option(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_x_data_field_value(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_x_data_instr(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); static void xmpp_muc_history(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_muc_user_item(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_muc_user_status(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_muc_user_invite(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_hashes_hash(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_jitsi_inputevt_rmt_ctrl(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); static void xmpp_feature_neg(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); void xmpp_iq_bind(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *bind_item; proto_tree *bind_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"resource", &hf_xmpp_iq_bind_resource, FALSE, TRUE, NULL, NULL}, {"jid", &hf_xmpp_iq_bind_jid, FALSE, TRUE, NULL, NULL} }; col_append_str(pinfo->cinfo, COL_INFO, "BIND "); bind_item = proto_tree_add_item(tree, hf_xmpp_iq_bind, tvb, element->offset, element->length, ENC_BIG_ENDIAN); bind_tree = proto_item_add_subtree(bind_item, ett_xmpp_iq_bind); xmpp_change_elem_to_attrib(pinfo->pool, "resource", "resource", element, xmpp_transform_func_cdata); xmpp_change_elem_to_attrib(pinfo->pool, "jid", "jid", element, xmpp_transform_func_cdata); xmpp_display_attrs(bind_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(bind_tree, tvb, pinfo, element); } void xmpp_session(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *session_item; proto_tree *session_tree; xmpp_attr_info attrs_info [] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; session_item = proto_tree_add_item(tree, hf_xmpp_iq_session, tvb, element->offset, element->length, ENC_BIG_ENDIAN); session_tree = proto_item_add_subtree(session_item, ett_xmpp_iq_session); col_append_str(pinfo->cinfo, COL_INFO, "SESSION "); xmpp_display_attrs(session_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(session_tree, element, pinfo, tvb, NULL, 0); } void xmpp_vcard(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *vcard_item; proto_tree *vcard_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"value", NULL, FALSE, FALSE, NULL, NULL} }; xmpp_element_t *cdata; col_append_str(pinfo->cinfo, COL_INFO, "VCARD "); vcard_item = proto_tree_add_item(tree, hf_xmpp_vcard, tvb, element->offset, element->length, ENC_BIG_ENDIAN); vcard_tree = proto_item_add_subtree(vcard_item, ett_xmpp_vcard); cdata = xmpp_get_first_element(element); if(cdata) { xmpp_attr_t *fake_cdata; fake_cdata = xmpp_ep_init_attr_t(pinfo->pool, xmpp_element_to_string(pinfo->pool, tvb, cdata), cdata->offset, cdata->length); g_hash_table_insert(element->attrs,(gpointer)"value", fake_cdata); } xmpp_display_attrs(vcard_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); } void xmpp_vcard_x_update(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *x_item; proto_tree *x_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"photo", NULL, FALSE, FALSE, NULL, NULL} }; xmpp_element_t *photo; x_item = proto_tree_add_item(tree, hf_xmpp_vcard_x_update, tvb, element->offset, element->length, ENC_BIG_ENDIAN); x_tree = proto_item_add_subtree(x_item, ett_xmpp_vcard_x_update); if((photo = xmpp_steal_element_by_name(element, "photo"))!=NULL) { xmpp_attr_t *fake_photo = xmpp_ep_init_attr_t(pinfo->pool, photo->data?photo->data->value:"", photo->offset, photo->length); g_hash_table_insert(element->attrs, (gpointer)"photo", fake_photo); } xmpp_display_attrs(x_tree, element,pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(x_tree, tvb, pinfo, element); } void xmpp_disco_items_query(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"node", &hf_xmpp_query_node, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *item; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(disco#items) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((item = xmpp_steal_element_by_name(element, "item")) != NULL) { xmpp_disco_items_item(query_tree, tvb, pinfo, item); } xmpp_unknown(query_tree, tvb, pinfo, element); } static void xmpp_disco_items_item(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element) { proto_item *item_item; proto_tree *item_tree; xmpp_attr_info attrs_info[] = { {"jid", &hf_xmpp_query_item_jid, TRUE, TRUE, NULL, NULL}, {"name", &hf_xmpp_query_item_name, FALSE, TRUE, NULL, NULL}, {"node", &hf_xmpp_query_item_node, FALSE, TRUE, NULL, NULL} }; item_item = proto_tree_add_item(tree, hf_xmpp_query_item, tvb, element->offset, element->length, ENC_BIG_ENDIAN); item_tree = proto_item_add_subtree(item_item, ett_xmpp_query_item); xmpp_display_attrs(item_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(item_tree, tvb, pinfo, element); } void xmpp_roster_query(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"ver", NULL, FALSE, TRUE, NULL, NULL}, }; xmpp_elem_info elems_info[] = { {NAME, "item", xmpp_roster_item, MANY}, }; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(jabber:iq:roster) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(query_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_roster_item(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element) { proto_item *item_item; proto_tree *item_tree; static const gchar *ask_enums[] = {"subscribe"}; static const gchar *subscription_enums[] = {"both", "from", "none", "remove", "to"}; xmpp_array_t *ask_enums_array = xmpp_ep_init_array_t(pinfo->pool, ask_enums,array_length(ask_enums)); xmpp_array_t *subscription_array = xmpp_ep_init_array_t(pinfo->pool, subscription_enums,array_length(subscription_enums)); xmpp_attr_info attrs_info[] = { {"jid", &hf_xmpp_query_item_jid, TRUE, TRUE, NULL, NULL}, {"name", &hf_xmpp_query_item_name, FALSE, TRUE, NULL, NULL}, {"ask", &hf_xmpp_query_item_ask, FALSE, TRUE, xmpp_val_enum_list, ask_enums_array}, {"approved", &hf_xmpp_query_item_approved, FALSE, TRUE, NULL, NULL}, {"subscription", &hf_xmpp_query_item_subscription, FALSE, TRUE, xmpp_val_enum_list, subscription_array}, }; xmpp_element_t *group; item_item = proto_tree_add_item(tree, hf_xmpp_query_item, tvb, element->offset, element->length, ENC_BIG_ENDIAN); item_tree = proto_item_add_subtree(item_item, ett_xmpp_query_item); xmpp_display_attrs(item_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((group = xmpp_steal_element_by_name(element,"group"))!=NULL) { proto_tree_add_string(item_tree, hf_xmpp_query_item_group, tvb, group->offset, group->length, xmpp_elem_cdata(group)); } xmpp_unknown(item_tree, tvb, pinfo, element); } void xmpp_disco_info_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"node", &hf_xmpp_query_node, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *identity, *feature, *x_data; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(disco#info) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((identity = xmpp_steal_element_by_name(element, "identity")) != NULL) { xmpp_disco_info_identity(query_tree, tvb, pinfo, identity); } while((feature = xmpp_steal_element_by_name(element, "feature")) != NULL) { xmpp_disco_info_feature(query_tree, tvb, feature); } if((x_data = xmpp_steal_element_by_name_and_attr(element, "x", "xmlns", "jabber:x:data")) != NULL) { xmpp_x_data(query_tree, tvb, pinfo, x_data); } xmpp_unknown(query_tree, tvb, pinfo, element); } static void xmpp_disco_info_identity(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element) { proto_item *identity_item; proto_tree *identity_tree; xmpp_attr_info attrs_info[] = { {"category", &hf_xmpp_query_identity_category, TRUE, TRUE, NULL, NULL}, {"name", &hf_xmpp_query_identity_name, FALSE, TRUE, NULL, NULL}, {"type", &hf_xmpp_query_identity_type, TRUE, TRUE, NULL, NULL} }; identity_item = proto_tree_add_item(tree, hf_xmpp_query_identity, tvb, element->offset, element->length, ENC_BIG_ENDIAN); identity_tree = proto_item_add_subtree(identity_item, ett_xmpp_query_identity); xmpp_display_attrs(identity_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(identity_tree, tvb, pinfo, element); } static void xmpp_disco_info_feature(proto_tree *tree, tvbuff_t *tvb, xmpp_element_t *element) { xmpp_attr_t *var = xmpp_get_attr(element, "var"); if(var) { proto_tree_add_string_format(tree, hf_xmpp_query_feature, tvb, var->offset, var->length, var->value, "FEATURE [%s]", var->value); } } void xmpp_bytestreams_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *query_item; proto_tree *query_tree; static const gchar *mode_enums[] = {"tcp", "udp"}; xmpp_array_t *mode_array = xmpp_ep_init_array_t(pinfo->pool, mode_enums, array_length(mode_enums)); xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"sid", NULL, FALSE, TRUE, NULL, NULL}, {"mode", NULL, FALSE, TRUE, xmpp_val_enum_list, mode_array}, {"dstaddr", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *streamhost, *streamhost_used, *activate, *udpsuccess; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(bytestreams) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((streamhost = xmpp_steal_element_by_name(element, "streamhost")) != NULL) { xmpp_bytestreams_streamhost(query_tree, tvb, pinfo, streamhost); } if((streamhost_used = xmpp_steal_element_by_name(element, "streamhost-used")) != NULL) { xmpp_bytestreams_streamhost_used(query_tree, tvb, pinfo, streamhost_used); } if((activate = xmpp_steal_element_by_name(element, "activate")) != NULL) { xmpp_bytestreams_activate(query_tree, tvb, pinfo, activate); } if((udpsuccess = xmpp_steal_element_by_name(element, "udpsuccess")) != NULL) { xmpp_bytestreams_udpsuccess(query_tree, tvb, pinfo, udpsuccess); } xmpp_unknown(query_tree, tvb, pinfo, element); } static void xmpp_bytestreams_streamhost(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *sh_item; proto_tree *sh_tree; xmpp_attr_info attrs_info[] = { {"jid", NULL, TRUE, TRUE, NULL, NULL}, {"host", NULL, TRUE, TRUE, NULL, NULL}, {"port", NULL, FALSE, TRUE, NULL, NULL} }; sh_item = proto_tree_add_item(tree, hf_xmpp_query_streamhost, tvb, element->offset, element->length, ENC_BIG_ENDIAN); sh_tree = proto_item_add_subtree(sh_item, ett_xmpp_query_streamhost); xmpp_display_attrs(sh_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(sh_tree, tvb, pinfo, element); } static void xmpp_bytestreams_streamhost_used(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *shu_item; proto_tree *shu_tree; xmpp_attr_info attrs_info[] = { {"jid", NULL, TRUE, TRUE, NULL, NULL} }; shu_item = proto_tree_add_item(tree, hf_xmpp_query_streamhost_used, tvb, element->offset, element->length, ENC_BIG_ENDIAN); shu_tree = proto_item_add_subtree(shu_item, ett_xmpp_query_streamhost_used); xmpp_display_attrs(shu_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(shu_tree, tvb, pinfo, element); } static void xmpp_bytestreams_activate(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree_add_string(tree, hf_xmpp_query_activate, tvb, element->offset, element->length, xmpp_elem_cdata(element)); xmpp_unknown(tree, tvb, pinfo, element); } static void xmpp_bytestreams_udpsuccess(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *udps_item; proto_tree *udps_tree; xmpp_attr_info attrs_info[] = { {"dstaddr", NULL, TRUE, TRUE, NULL, NULL} }; udps_item = proto_tree_add_item(tree, hf_xmpp_query_udpsuccess, tvb, element->offset, element->length, ENC_BIG_ENDIAN); udps_tree =proto_item_add_subtree(udps_item, ett_xmpp_query_udpsuccess); xmpp_display_attrs(udps_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(udps_tree, tvb, pinfo, element); } /*SI File Transfer*/ void xmpp_si(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *si_item; proto_tree *si_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"id", NULL, FALSE, FALSE, NULL, NULL}, {"mime-type", NULL, FALSE, TRUE, NULL, NULL}, {"profile", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *file, *feature_neg; col_append_str(pinfo->cinfo, COL_INFO, "SI "); si_item = proto_tree_add_item(tree, hf_xmpp_si, tvb, element->offset, element->length, ENC_BIG_ENDIAN); si_tree = proto_item_add_subtree(si_item, ett_xmpp_si); xmpp_display_attrs(si_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((file = xmpp_steal_element_by_name(element, "file"))!=NULL) { xmpp_si_file(si_tree, tvb, pinfo, file); } while((feature_neg = xmpp_steal_element_by_name(element, "feature"))!=NULL) { xmpp_feature_neg(si_tree, tvb, pinfo, feature_neg); } xmpp_unknown(si_tree, tvb, pinfo, element); } static void xmpp_si_file(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *file_item; proto_tree *file_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"name", NULL, TRUE, TRUE, NULL, NULL}, {"size", NULL, TRUE, TRUE, NULL, NULL}, {"date", NULL, FALSE, FALSE, NULL, NULL}, {"hash", NULL, FALSE, FALSE, NULL, NULL}, {"desc", NULL, FALSE, FALSE, NULL, NULL} }; xmpp_element_t *desc, *range; file_item = proto_tree_add_item(tree, hf_xmpp_si_file, tvb, element->offset, element->length, ENC_BIG_ENDIAN); file_tree = proto_item_add_subtree(file_item, ett_xmpp_si_file); if((desc = xmpp_steal_element_by_name(element, "desc"))!=NULL) { xmpp_attr_t *fake_desc = xmpp_ep_init_attr_t(pinfo->pool, desc->data?desc->data->value:"", desc->offset, desc->length); g_hash_table_insert(element->attrs, (gpointer)"desc", fake_desc); } if((range = xmpp_steal_element_by_name(element, "range"))!=NULL) { xmpp_si_file_range(file_tree, tvb, pinfo, range); } xmpp_display_attrs(file_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(file_tree, tvb, pinfo, element); } static void xmpp_si_file_range(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_tree *range_tree; xmpp_attr_info attrs_info[] = { {"offset", NULL, FALSE, TRUE, NULL, NULL}, {"length", NULL, FALSE, TRUE, NULL, NULL} }; range_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_si_file_range, NULL, "RANGE: "); xmpp_display_attrs(range_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(range_tree, tvb, pinfo, element); } /*Feature Negotiation*/ static void xmpp_feature_neg(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *feature_item; proto_tree *feature_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; xmpp_element_t *x_data; feature_item = proto_tree_add_item(tree, hf_xmpp_iq_feature_neg, tvb, element->offset, element->length, ENC_BIG_ENDIAN); feature_tree = proto_item_add_subtree(feature_item, ett_xmpp_iq_feature_neg); xmpp_display_attrs(feature_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((x_data = xmpp_steal_element_by_name_and_attr(element, "x", "xmlns", "jabber:x:data"))!=NULL) { xmpp_x_data(feature_tree, tvb, pinfo, x_data); } xmpp_unknown(feature_tree, tvb, pinfo, element); } /*jabber:x:data*/ static void xmpp_x_data(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *x_item; proto_tree *x_tree; static const gchar *type_enums[] = {"cancel", "form", "result", "submit"}; xmpp_array_t *type_array = xmpp_ep_init_array_t(pinfo->pool, type_enums, array_length(type_enums)); xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"type", NULL, TRUE, TRUE, xmpp_val_enum_list, type_array}, {"TITLE", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info[] = { {NAME, "instructions", xmpp_x_data_instr, MANY}, {NAME, "field", xmpp_x_data_field, MANY}, }; /*TODO reported, item*/ x_item = proto_tree_add_item(tree, hf_xmpp_x_data, tvb, element->offset, element->length, ENC_BIG_ENDIAN); x_tree = proto_item_add_subtree(x_item, ett_xmpp_x_data); xmpp_change_elem_to_attrib(pinfo->pool, "title", "TITLE", element, xmpp_transform_func_cdata); xmpp_display_attrs(x_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(x_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_x_data_field(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *field_item; proto_tree *field_tree; static const gchar *type_enums[] = {"boolean", "fixed", "hidden", "jid-multi", "jid-single", "list-multi", "list-single", "text-multi", "text-single", "text-private" }; xmpp_array_t *type_array = xmpp_ep_init_array_t(pinfo->pool, type_enums, array_length(type_enums)); xmpp_attr_info attrs_info[] = { {"label", NULL, FALSE, TRUE, NULL, NULL}, {"type", NULL, FALSE, TRUE, xmpp_val_enum_list, type_array}, {"var", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t /**desc, *required,*/ *value, *option; field_item = proto_tree_add_item(tree, hf_xmpp_x_data_field, tvb, element->offset, element->length, ENC_BIG_ENDIAN); field_tree = proto_item_add_subtree(field_item, ett_xmpp_x_data_field); xmpp_display_attrs(field_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((option = xmpp_steal_element_by_name(element, "option"))!=NULL) { xmpp_x_data_field_option(field_tree, tvb, pinfo, option); } while((value = xmpp_steal_element_by_name(element, "value"))!=NULL) { xmpp_x_data_field_value(field_tree, tvb, pinfo, value); } xmpp_unknown(field_item, tvb, pinfo, element); } static void xmpp_x_data_field_option(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *option_item; proto_tree *option_tree; xmpp_attr_info attrs_info[] = { {"label", NULL, FALSE, TRUE, NULL, NULL}, {"value", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *value; option_item = proto_tree_add_item(tree, hf_xmpp_x_data_field_value, tvb, element->offset, element->length, ENC_BIG_ENDIAN); option_tree = proto_item_add_subtree(option_item, ett_xmpp_x_data_field_value); if((value = xmpp_steal_element_by_name(element, "value"))!=NULL) { xmpp_attr_t *fake_value = xmpp_ep_init_attr_t(pinfo->pool, value->data?value->data->value:"",value->offset, value->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_value); } xmpp_display_attrs(option_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(option_tree, tvb, pinfo, element); } static void xmpp_x_data_field_value(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element) { proto_item *value_item; proto_tree *value_tree; xmpp_attr_info attrs_info[] = { {"label", NULL, FALSE, TRUE, NULL, NULL}, {"value", NULL, TRUE, TRUE, NULL, NULL} }; xmpp_attr_t *fake_value; value_item = proto_tree_add_item(tree, hf_xmpp_x_data_field_value, tvb, element->offset, element->length, ENC_BIG_ENDIAN); value_tree = proto_item_add_subtree(value_item, ett_xmpp_x_data_field_value); fake_value = xmpp_ep_init_attr_t(pinfo->pool, element->data?element->data->value:"",element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_value); xmpp_display_attrs(value_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(value_tree, tvb, pinfo, element); } static void xmpp_x_data_instr(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo _U_, xmpp_element_t* element) { proto_tree_add_string(tree, hf_xmpp_x_data_instructions, tvb, element->offset, element->length, xmpp_elem_cdata(element)); } /*In-Band Bytestreams*/ void xmpp_ibb_open(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *open_item; proto_tree *open_tree; static const gchar *stanza_enums[] = {"iq", "message"}; xmpp_array_t *stanza_array = xmpp_ep_init_array_t(pinfo->pool, stanza_enums, array_length(stanza_enums)); xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"sid", NULL, TRUE, TRUE, NULL, NULL}, {"block-size", NULL, TRUE, TRUE, NULL, NULL}, {"stanza", NULL, FALSE, TRUE, xmpp_val_enum_list, stanza_array} }; col_append_str(pinfo->cinfo, COL_INFO, "IBB-OPEN "); open_item = proto_tree_add_item(tree, hf_xmpp_ibb_open, tvb, element->offset, element->length, ENC_BIG_ENDIAN); open_tree = proto_item_add_subtree(open_item, ett_xmpp_ibb_open); xmpp_display_attrs(open_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(open_tree, tvb, pinfo, element); } void xmpp_ibb_close(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *close_item; proto_tree *close_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"sid", NULL, TRUE, TRUE, NULL, NULL} }; col_append_str(pinfo->cinfo, COL_INFO, "IBB-CLOSE "); close_item = proto_tree_add_item(tree, hf_xmpp_ibb_close, tvb, element->offset, element->length, ENC_BIG_ENDIAN); close_tree = proto_item_add_subtree(close_item, ett_xmpp_ibb_close); xmpp_display_attrs(close_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(close_tree, tvb, pinfo, element); } void xmpp_ibb_data(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *data_item; proto_tree *data_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"sid", NULL, TRUE, TRUE, NULL, NULL}, {"seq", NULL, TRUE, TRUE, NULL, NULL}, {"value", NULL, FALSE, FALSE, NULL, NULL} }; col_append_str(pinfo->cinfo, COL_INFO, "IBB-DATA "); data_item = proto_tree_add_item(tree, hf_xmpp_ibb_data, tvb, element->offset, element->length, ENC_BIG_ENDIAN); data_tree = proto_item_add_subtree(data_item, ett_xmpp_ibb_data); if(element->data) { xmpp_attr_t *fake_data = xmpp_ep_init_attr_t(pinfo->pool, element->data->value, element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_data); } xmpp_display_attrs(data_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(data_tree, tvb, pinfo, element); } /*Delayed Delivery urn:xmpp:delay and jabber:x:delay*/ void xmpp_delay(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *delay_item; proto_tree *delay_tree; xmpp_attr_info attrs_info[]={ {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"from", NULL, FALSE, TRUE, NULL, NULL}, {"stamp", NULL, TRUE, TRUE, NULL, NULL}, {"value", NULL, FALSE, TRUE, NULL, NULL} }; delay_item = proto_tree_add_item(tree, hf_xmpp_delay, tvb, element->offset, element->length, ENC_BIG_ENDIAN); delay_tree = proto_item_add_subtree(delay_item, ett_xmpp_delay); if(element->data) { xmpp_attr_t *fake_value = xmpp_ep_init_attr_t(pinfo->pool, element->data->value, element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_value); } xmpp_display_attrs(delay_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(delay_tree, tvb, pinfo, element); } /*Entity Capabilities http://jabber.org/protocol/caps*/ void xmpp_presence_caps(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *caps_item; proto_tree *caps_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"ext", NULL, FALSE, FALSE, NULL, NULL}, {"hash", NULL, TRUE, TRUE, NULL, NULL}, {"node", NULL, TRUE, TRUE, NULL, NULL}, {"ver", NULL, TRUE, FALSE, NULL, NULL} }; caps_item = proto_tree_add_item(tree, hf_xmpp_presence_caps, tvb, element->offset, element->length, ENC_BIG_ENDIAN); caps_tree = proto_item_add_subtree(caps_item, ett_xmpp_presence_caps); xmpp_display_attrs(caps_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(caps_tree, tvb, pinfo, element); } /*Message Events jabber:x:event*/ void xmpp_x_event(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *x_item; proto_tree *x_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"condition", &hf_xmpp_x_event_condition, TRUE, TRUE, NULL, NULL}, {"id", NULL, FALSE, TRUE, NULL, NULL} }; static const gchar *cond_names[] = {"offline", "delivered", "displayed", "composing"}; xmpp_attr_t *fake_cond; xmpp_element_t *cond, *id; gchar *cond_value = wmem_strdup(pinfo->pool, ""); x_item = proto_tree_add_item(tree, hf_xmpp_x_event, tvb, element->offset, element->length, ENC_BIG_ENDIAN); x_tree = proto_item_add_subtree(x_item, ett_xmpp_x_event); if((id = xmpp_steal_element_by_name(element, "id"))!=NULL) { xmpp_attr_t *fake_id = xmpp_ep_init_attr_t(pinfo->pool, id->data?id->data->value:"", id->offset, id->length); g_hash_table_insert(element->attrs, (gpointer)"id", fake_id); } while((cond = xmpp_steal_element_by_names(element, cond_names, array_length(cond_names))) != NULL) { if(strcmp(cond_value,"") != 0) cond_value = wmem_strdup_printf(pinfo->pool, "%s/%s",cond_value, cond->name); else cond_value = wmem_strdup(pinfo->pool, cond->name); } fake_cond = xmpp_ep_init_attr_t(pinfo->pool, cond_value, element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"condition", fake_cond); xmpp_display_attrs(x_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(x_tree, tvb, pinfo, element); } /*Multi-User Chat http://jabber.org/protocol/muc*/ void xmpp_muc_x(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *x_item; proto_tree *x_tree; xmpp_attr_info attrs_info [] ={ {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"password", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *pass, *hist; x_item = proto_tree_add_item(tree, hf_xmpp_muc_x, tvb, element->offset, element->length, ENC_BIG_ENDIAN); x_tree = proto_item_add_subtree(x_item, ett_xmpp_muc_x); if((pass = xmpp_steal_element_by_name(element, "password"))!=NULL) { xmpp_attr_t *fake_pass = xmpp_ep_init_attr_t(pinfo->pool, pass->data?pass->data->value:"",pass->offset, pass->length); g_hash_table_insert(element->attrs, (gpointer)"password", fake_pass); } xmpp_display_attrs(x_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); if((hist = xmpp_steal_element_by_name(element, "history"))!=NULL) { xmpp_muc_history(x_tree, tvb, pinfo, hist); } xmpp_unknown(x_tree, tvb, pinfo, element); } static void xmpp_muc_history(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *hist_tree; xmpp_attr_info attrs_info[] = { {"maxchars", NULL, FALSE, TRUE, NULL, NULL}, {"maxstanzas", NULL, FALSE, TRUE, NULL, NULL}, {"seconds", NULL, FALSE, TRUE, NULL, NULL}, {"since", NULL, FALSE, TRUE, NULL, NULL} }; hist_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_muc_hist, NULL, "HISTORY: "); xmpp_display_attrs(hist_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(hist_tree, tvb, pinfo, element); } /*Multi-User Chat http://jabber.org/protocol/muc#user*/ void xmpp_muc_user_x(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *x_item; proto_tree *x_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, FALSE, NULL, NULL}, {"password", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *item, *status, *invite, *password; /*TODO decline destroy*/ x_item = proto_tree_add_item(tree, hf_xmpp_muc_user_x, tvb, element->offset, element->length, ENC_BIG_ENDIAN); x_tree = proto_item_add_subtree(x_item, ett_xmpp_muc_user_x); if((password = xmpp_steal_element_by_name(element, "password"))!=NULL) { xmpp_attr_t *fake_pass = xmpp_ep_init_attr_t(pinfo->pool, password->data?password->data->value:"",password->offset, password->length); g_hash_table_insert(element->attrs, (gpointer)"password", fake_pass); } xmpp_display_attrs(x_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((item = xmpp_steal_element_by_name(element, "item"))!=NULL) { xmpp_muc_user_item(x_tree, tvb, pinfo, item); } while((status = xmpp_steal_element_by_name(element, "status"))!=NULL) { xmpp_muc_user_status(x_tree, tvb, pinfo, status); } while((invite = xmpp_steal_element_by_name(element, "invite"))!=NULL) { xmpp_muc_user_invite(x_tree, tvb, pinfo, invite); } xmpp_unknown(x_tree, tvb, pinfo, element); } static void xmpp_muc_user_item(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *item_item; proto_tree *item_tree; static const gchar *affiliation_enums[] = {"admin", "member", "none", "outcast", "owner"}; xmpp_array_t *affil_array = xmpp_ep_init_array_t(pinfo->pool, affiliation_enums, array_length(affiliation_enums)); static const gchar *role_enums[] = {"none", "moderator", "participant", "visitor"}; xmpp_array_t *role_array = xmpp_ep_init_array_t(pinfo->pool, role_enums, array_length(role_enums)); xmpp_attr_info attrs_info [] ={ {"affiliation", NULL, FALSE, TRUE, xmpp_val_enum_list, affil_array}, {"jid", NULL, FALSE, TRUE, NULL, NULL}, {"nick", NULL, FALSE, TRUE, NULL, NULL}, {"role", NULL, FALSE, TRUE, xmpp_val_enum_list, role_array}, {"reason", NULL, FALSE, TRUE, NULL, NULL}, {"actor_jid", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *reason, *actor; /*TODO continue - it's not clear to me, in schema it's marked as empty, but in examples it has CDATA*/ item_item = proto_tree_add_item(tree, hf_xmpp_muc_user_item, tvb, element->offset, element->length, ENC_BIG_ENDIAN); item_tree = proto_item_add_subtree(item_item, ett_xmpp_muc_user_item); if((reason = xmpp_steal_element_by_name(element, "reason"))!=NULL) { xmpp_attr_t *fake_reason = xmpp_ep_init_attr_t(pinfo->pool, reason->data?reason->data->value:"",reason->offset, reason->length); g_hash_table_insert(element->attrs,(gpointer)"reason",fake_reason); } if((actor = xmpp_steal_element_by_name(element, "actor"))!=NULL) { xmpp_attr_t *jid = xmpp_get_attr(actor, "jid"); xmpp_attr_t *fake_actor_jid = xmpp_ep_init_attr_t(pinfo->pool, jid?jid->value:"",actor->offset, actor->length); g_hash_table_insert(element->attrs, (gpointer)"actor_jid", fake_actor_jid); } xmpp_display_attrs(item_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(item_tree, tvb, pinfo, element); } static void xmpp_muc_user_status(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { xmpp_attr_t *code = xmpp_get_attr(element, "code"); proto_tree_add_string_format(tree, hf_xmpp_muc_user_status, tvb, element->offset, element->length, code?code->value:"", "STATUS [code=\"%s\"]", code?code->value:""); xmpp_unknown(tree, tvb, pinfo, element); } static void xmpp_muc_user_invite(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *invite_item; proto_tree *invite_tree; xmpp_attr_info attrs_info[] = { {"from", NULL, FALSE, TRUE, NULL, NULL}, {"to", NULL, FALSE, TRUE, NULL, NULL}, {"reason", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *reason; invite_item = proto_tree_add_item(tree, hf_xmpp_muc_user_invite, tvb, element->offset, element->length, ENC_BIG_ENDIAN); invite_tree = proto_item_add_subtree(invite_item, ett_xmpp_muc_user_invite); if((reason = xmpp_steal_element_by_name(element, "reason"))!=NULL) { xmpp_attr_t *fake_reason = xmpp_ep_init_attr_t(pinfo->pool, reason->data?reason->data->value:"",reason->offset, reason->length); g_hash_table_insert(element->attrs, (gpointer)"reason", fake_reason); } xmpp_display_attrs(invite_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_unknown(invite_tree, tvb, pinfo, element); } /*Multi-User Chat http://jabber.org/protocol/muc#owner*/ void xmpp_muc_owner_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; xmpp_element_t *x_data; /*TODO destroy*/ col_append_str(pinfo->cinfo, COL_INFO, "QUERY(muc#owner) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); if((x_data = xmpp_steal_element_by_name_and_attr(element, "x", "xmlns", "jabber:x:data"))!=NULL) { xmpp_x_data(query_tree, tvb, pinfo, x_data); } xmpp_unknown(query_tree, tvb, pinfo, element); } /*Multi-User Chat http://jabber.org/protocol/muc#admin*/ void xmpp_muc_admin_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL} }; xmpp_element_t *item; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(muc#admin) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); while((item = xmpp_steal_element_by_name(element, "item"))!=NULL) { /*from muc#user, because it is the same except continue element*/ xmpp_muc_user_item(query_tree, tvb, pinfo, item); } xmpp_unknown(query_tree, tvb, pinfo, element); } /*Last Activity jabber:iq:last*/ void xmpp_last_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"seconds", NULL, FALSE, TRUE, NULL, NULL}, {"value", NULL, FALSE, TRUE, NULL, NULL} }; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(jabber:iq:last) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); if(element->data) { xmpp_attr_t *fake_data = xmpp_ep_init_attr_t(pinfo->pool, element->data->value, element->data->offset, element->data->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_data); } xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(query_tree, element, pinfo, tvb, NULL, 0); } /*XEP-0092: Software Version jabber:iq:version*/ void xmpp_version_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *query_item; proto_tree *query_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"name", NULL, FALSE, TRUE, NULL, NULL}, {"version", NULL, FALSE, TRUE, NULL, NULL}, {"os", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_element_t *name, *version, *os; col_append_str(pinfo->cinfo, COL_INFO, "QUERY(jabber:iq:version) "); query_item = proto_tree_add_item(tree, hf_xmpp_query, tvb, element->offset, element->length, ENC_BIG_ENDIAN); query_tree = proto_item_add_subtree(query_item, ett_xmpp_query); if((name = xmpp_steal_element_by_name(element,"name"))!=NULL) { xmpp_attr_t *fake_name = xmpp_ep_init_attr_t(pinfo->pool, name->data?name->data->value:"", name->offset, name->length); g_hash_table_insert(element->attrs, (gpointer)"name", fake_name); } if((version = xmpp_steal_element_by_name(element,"version"))!=NULL) { xmpp_attr_t *fake_version = xmpp_ep_init_attr_t(pinfo->pool, version->data?version->data->value:"", version->offset, version->length); g_hash_table_insert(element->attrs, (gpointer)"version", fake_version); } if((os = xmpp_steal_element_by_name(element,"os"))!=NULL) { xmpp_attr_t *fake_os = xmpp_ep_init_attr_t(pinfo->pool, os->data?os->data->value:"", os->offset, os->length); g_hash_table_insert(element->attrs, (gpointer)"os", fake_os); } xmpp_display_attrs(query_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(query_tree, element, pinfo, tvb, NULL, 0); } /*XEP-0199: XMPP Ping*/ void xmpp_ping(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *ping_item; proto_tree *ping_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, }; col_append_str(pinfo->cinfo, COL_INFO, "PING "); ping_item = proto_tree_add_item(tree, hf_xmpp_ping, tvb, element->offset, element->length, ENC_BIG_ENDIAN); ping_tree = proto_item_add_subtree(ping_item, ett_xmpp_ping); xmpp_display_attrs(ping_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(ping_tree, element, pinfo, tvb, NULL, 0); } /*XEP-0300: Use of Cryptographic Hash Functions in XMPP urn:xmpp:hashes:0*/ void xmpp_hashes(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *hashes_item; proto_tree *hashes_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, }; xmpp_elem_info elems_info[] = { {NAME, "hash", xmpp_hashes_hash, MANY} }; hashes_item = proto_tree_add_item(tree, hf_xmpp_hashes, tvb, element->offset, element->length, ENC_BIG_ENDIAN); hashes_tree = proto_item_add_subtree(hashes_item, ett_xmpp_hashes); xmpp_display_attrs(hashes_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(hashes_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_hashes_hash(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_tree *hash_tree; xmpp_attr_info attrs_info[] = { {"algo", NULL, TRUE, TRUE, NULL, NULL}, {"value", NULL, TRUE, TRUE, NULL, NULL} }; xmpp_attr_t *fake_cdata = xmpp_ep_init_attr_t(pinfo->pool, xmpp_elem_cdata(element), element->offset, element->length); g_hash_table_insert(element->attrs, (gpointer)"value", fake_cdata); hash_tree = proto_tree_add_subtree(tree, tvb, element->offset, element->length, ett_xmpp_hashes_hash, NULL, "HASH"); xmpp_display_attrs(hash_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(hash_tree, element, pinfo, tvb, NULL, 0); } /*http://jitsi.org/protocol/inputevt*/ void xmpp_jitsi_inputevt(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *inputevt_item; proto_tree *inputevt_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, TRUE, TRUE, NULL, NULL}, {"action", NULL, FALSE, TRUE, NULL, NULL} }; xmpp_elem_info elems_info[] = { {NAME, "remote-control", xmpp_jitsi_inputevt_rmt_ctrl, MANY} }; inputevt_item = proto_tree_add_item(tree, hf_xmpp_jitsi_inputevt, tvb, element->offset, element->length, ENC_BIG_ENDIAN); inputevt_tree = proto_item_add_subtree(inputevt_item, ett_xmpp_jitsi_inputevt); xmpp_display_attrs(inputevt_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(inputevt_tree, element, pinfo, tvb, elems_info, array_length(elems_info)); } static void xmpp_jitsi_inputevt_rmt_ctrl(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { proto_item *rmt_ctrl_item; proto_tree *rmt_ctrl_tree; xmpp_attr_info attrs_info[] = { {"xmlns", &hf_xmpp_xmlns, FALSE, FALSE, NULL, NULL}, {"action", NULL, TRUE, TRUE, NULL, NULL}, {"x", NULL, FALSE, TRUE, NULL, NULL}, {"y", NULL, FALSE, TRUE, NULL, NULL}, {"btns", NULL, FALSE, TRUE, NULL, NULL}, {"keycode", NULL, FALSE, TRUE, NULL, NULL}, }; xmpp_element_t *action; static const gchar *action_names[] = {"mouse-move", "mouse-press", "mouse-release", "key-press", "key-release"}; if((action = xmpp_steal_element_by_names(element, action_names, array_length(action_names)))!=NULL) { xmpp_attr_t *fake_action = xmpp_ep_init_attr_t(pinfo->pool, action->name, action->offset, action->length); g_hash_table_insert(element->attrs,(gpointer)"action", fake_action); if(strcmp(action->name,"mouse-move") == 0) { xmpp_attr_t *x = xmpp_get_attr(action,"x"); xmpp_attr_t *y = xmpp_get_attr(action,"y"); if(x) g_hash_table_insert(element->attrs,(gpointer)"x",x); if(y) g_hash_table_insert(element->attrs,(gpointer)"y",y); } else if(strcmp(action->name,"mouse-press") == 0 || strcmp(action->name,"mouse-release") == 0) { xmpp_attr_t *btns = xmpp_get_attr(action,"btns"); if(btns) g_hash_table_insert(element->attrs,(gpointer)"btns",btns); } else if(strcmp(action->name,"key-press") == 0 || strcmp(action->name,"key-release") == 0) { xmpp_attr_t *keycode = xmpp_get_attr(action,"keycode"); if(keycode) g_hash_table_insert(element->attrs,(gpointer)"keycode",keycode); } } rmt_ctrl_item = proto_tree_add_item(tree, hf_xmpp_jitsi_inputevt_rmt_ctrl, tvb, element->offset, element->length, ENC_BIG_ENDIAN); rmt_ctrl_tree = proto_item_add_subtree(rmt_ctrl_item, ett_xmpp_jitsi_inputevt_rmt_ctrl); xmpp_display_attrs(rmt_ctrl_tree, element, pinfo, tvb, attrs_info, array_length(attrs_info)); xmpp_display_elems(rmt_ctrl_tree, element, pinfo, tvb, NULL, 0); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-xmpp-other.h
/* xmpp-others.h * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef XMPP_OTHER_H #define XMPP_OTHER_H #include "packet-xmpp-utils.h" extern void xmpp_iq_bind(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_session(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_vcard(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_disco_items_query(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element); extern void xmpp_roster_query(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo, xmpp_element_t *element); extern void xmpp_disco_info_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_bytestreams_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_si(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_ibb_open(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_ibb_close(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_ibb_data(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_delay(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_presence_caps(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_vcard_x_update(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); extern void xmpp_x_event(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_muc_x(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_muc_user_x(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_muc_owner_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_muc_admin_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_last_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_version_query(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_ping(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_hashes(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); extern void xmpp_jitsi_inputevt(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); #endif /* XMPP_OTHER_H */
C
wireshark/epan/dissectors/packet-xmpp-utils.c
/* packet-xmpp-utils.c * Wireshark's XMPP dissector. * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/strutil.h> #include <epan/exceptions.h> #include "packet-xmpp.h" #include "packet-xmpp-core.h" #include "packet-xmpp-utils.h" static void xmpp_copy_hash_table_func(gpointer key, gpointer value, gpointer user_data) { GHashTable *dst = (GHashTable *)user_data; g_hash_table_insert(dst, key, value); } static void xmpp_copy_hash_table(GHashTable *src, GHashTable *dst) { g_hash_table_foreach(src, xmpp_copy_hash_table_func, dst); } static GList* xmpp_find_element_by_name(xmpp_element_t *packet,const gchar *name); static gchar* xmpp_ep_string_upcase(wmem_allocator_t *pool, const gchar* string); static void xmpp_unknown_attrs(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo _U_, xmpp_element_t *element, gboolean displ_short_list); void xmpp_iq_reqresp_track(packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info) { xmpp_transaction_t *xmpp_trans = NULL; xmpp_attr_t *attr_id; char *id; attr_id = xmpp_get_attr(packet, "id"); if (!attr_id) { return; } id = wmem_strdup(pinfo->pool, attr_id->value); if (!pinfo->fd->visited) { xmpp_trans = (xmpp_transaction_t *)wmem_tree_lookup_string(xmpp_info->req_resp, id, WMEM_TREE_STRING_NOCASE); if (xmpp_trans) { xmpp_trans->resp_frame = pinfo->num; } else { char *se_id = wmem_strdup(wmem_file_scope(), id); xmpp_trans = wmem_new(wmem_file_scope(), xmpp_transaction_t); xmpp_trans->req_frame = pinfo->num; xmpp_trans->resp_frame = 0; wmem_tree_insert_string(xmpp_info->req_resp, se_id, (void *) xmpp_trans, WMEM_TREE_STRING_NOCASE); } } else { wmem_tree_lookup_string(xmpp_info->req_resp, id, WMEM_TREE_STRING_NOCASE); } } void xmpp_jingle_session_track(packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info) { xmpp_element_t *jingle_packet; GList *jingle_packet_l; jingle_packet_l = xmpp_find_element_by_name(packet,"jingle"); jingle_packet = (xmpp_element_t *)(jingle_packet_l?jingle_packet_l->data:NULL); if (jingle_packet && !pinfo->fd->visited) { xmpp_attr_t *attr_id; xmpp_attr_t *attr_sid; char *se_id; char *se_sid; attr_id = xmpp_get_attr(packet, "id"); if (!attr_id) { return; } attr_sid = xmpp_get_attr(jingle_packet, "sid"); if (!attr_sid) { return; } se_id = wmem_strdup(wmem_file_scope(), attr_id->value); se_sid = wmem_strdup(wmem_file_scope(), attr_sid->value); wmem_tree_insert_string(xmpp_info->jingle_sessions, se_id, (void*) se_sid, WMEM_TREE_STRING_NOCASE); } } void xmpp_gtalk_session_track(packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info) { xmpp_element_t *gtalk_packet; GList *gtalk_packet_l; gtalk_packet_l = xmpp_find_element_by_name(packet,"session"); gtalk_packet = (xmpp_element_t *)(gtalk_packet_l?gtalk_packet_l->data:NULL); if (gtalk_packet && !pinfo->fd->visited) { xmpp_attr_t *attr_id; xmpp_attr_t *attr_sid; char *se_id; char *se_sid; xmpp_attr_t *xmlns = xmpp_get_attr(gtalk_packet, "xmlns"); if(xmlns && strcmp(xmlns->value,"http://www.google.com/session") != 0) return; attr_id = xmpp_get_attr(packet, "id"); if (!attr_id) { return; } attr_sid = xmpp_get_attr(gtalk_packet, "id"); if (!attr_sid) { return; } se_id = wmem_strdup(wmem_file_scope(), attr_id->value); se_sid = wmem_strdup(wmem_file_scope(), attr_sid->value); wmem_tree_insert_string(xmpp_info->gtalk_sessions, se_id, (void*) se_sid, WMEM_TREE_STRING_NOCASE); } } void xmpp_ibb_session_track(packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info) { xmpp_element_t *ibb_packet = NULL; GList *ibb_packet_l; if(strcmp(packet->name, "message") == 0) { ibb_packet_l = xmpp_find_element_by_name(packet,"data"); ibb_packet = (xmpp_element_t *)(ibb_packet_l?ibb_packet_l->data:NULL); } else if(strcmp(packet->name, "iq") == 0) { ibb_packet_l = xmpp_find_element_by_name(packet,"open"); if(!ibb_packet_l) ibb_packet_l = xmpp_find_element_by_name(packet,"close"); if(!ibb_packet_l) ibb_packet_l = xmpp_find_element_by_name(packet,"data"); ibb_packet = (xmpp_element_t *)(ibb_packet_l?ibb_packet_l->data:NULL); } if (ibb_packet && !pinfo->fd->visited) { xmpp_attr_t *attr_id; xmpp_attr_t *attr_sid; char *se_id; char *se_sid; attr_id = xmpp_get_attr(packet, "id"); attr_sid = xmpp_get_attr(ibb_packet, "sid"); if(attr_id && attr_sid) { se_id = wmem_strdup(wmem_file_scope(), attr_id->value); se_sid = wmem_strdup(wmem_file_scope(), attr_sid->value); wmem_tree_insert_string(xmpp_info->ibb_sessions, se_id, (void*) se_sid, WMEM_TREE_STRING_NOCASE); } } } static void xmpp_unknown_items(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element, guint level) { GList *childs = element->elements; DISSECTOR_ASSERT( level < ETT_UNKNOWN_LEN ); xmpp_unknown_attrs(tree, tvb, pinfo, element, TRUE); if(element->data) { proto_tree_add_string(tree, hf_xmpp_cdata, tvb, element->data->offset, element->data->length, element->data->value); } while(childs) { xmpp_element_t *child = (xmpp_element_t *)childs->data; proto_item *child_item; proto_tree *child_tree = proto_tree_add_subtree(tree, tvb, child->offset, child->length, ett_unknown[level], &child_item, xmpp_ep_string_upcase(pinfo->pool, child->name)); if(child->default_ns_abbrev) proto_item_append_text(child_item, "(%s)", child->default_ns_abbrev); xmpp_unknown_items(child_tree, tvb, pinfo, child, level +1); childs = childs->next; } } void xmpp_unknown(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element) { GList *childs = element->elements; /*element has unrecognized elements*/ while(childs) { xmpp_element_t *child = (xmpp_element_t *)childs->data; if(!child->was_read) { proto_item *unknown_item; proto_tree *unknown_tree; unknown_item = proto_tree_add_string_format(tree, hf_xmpp_unknown, tvb, child->offset, child->length, child->name, "%s", xmpp_ep_string_upcase(pinfo->pool, child->name)); unknown_tree = proto_item_add_subtree(unknown_item, ett_unknown[0]); /*Add COL_INFO only if root element is IQ*/ if(strcmp(element->name,"iq")==0) col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", xmpp_ep_string_upcase(pinfo->pool, child->name)); if(child->default_ns_abbrev) proto_item_append_text(unknown_item,"(%s)",child->default_ns_abbrev); xmpp_unknown_items(unknown_tree, tvb, pinfo, child, 1); proto_item_append_text(unknown_item, " [UNKNOWN]"); expert_add_info_format(pinfo, unknown_item, &ei_xmpp_unknown_element, "Unknown element: %s", child->name); } childs = childs->next; } } static void xmpp_unknown_attrs(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo _U_, xmpp_element_t *element, gboolean displ_short_list) { proto_item *item = proto_tree_get_parent(tree); GList *keys = g_hash_table_get_keys(element->attrs); GList *values = g_hash_table_get_values(element->attrs); GList *keys_head = keys, *values_head = values; gboolean short_list_started = FALSE; while(keys && values) { xmpp_attr_t *attr = (xmpp_attr_t*) values->data; if (!attr->was_read) { if (displ_short_list) { if (!short_list_started) proto_item_append_text(item, " ["); else proto_item_append_text(item, " "); proto_item_append_text(item, "%s=\"%s\"", (gchar*) keys->data, attr->value); short_list_started = TRUE; } /*If unknown element has xmlns attrib then header field hf_xmpp_xmlns is added to the tree. In other case only text.*/ if (strcmp((const char *)keys->data, "xmlns") == 0) proto_tree_add_string(tree, hf_xmpp_xmlns, tvb, attr->offset, attr->length, attr->value); else { /*xmlns may looks like xmlns:abbrev="sth"*/ const gchar *xmlns_needle = ws_strcasestr((const char *)keys->data, "xmlns:"); if (xmlns_needle && xmlns_needle == keys->data) { proto_tree_add_string_format(tree, hf_xmpp_xmlns, tvb, attr->offset, attr->length, attr->value,"%s: %s", (gchar*)keys->data, attr->value); } else { proto_item* unknown_attr_item; unknown_attr_item = proto_tree_add_string_format(tree, hf_xmpp_unknown_attr, tvb, attr->offset, attr->length, attr->name, "%s: %s", attr->name, attr->value); proto_item_append_text(unknown_attr_item, " [UNKNOWN ATTR]"); expert_add_info_format(pinfo, unknown_attr_item, &ei_xmpp_unknown_attribute, "Unknown attribute %s", attr->name); } } } keys = keys->next; values = values->next; } if(short_list_started && displ_short_list) proto_item_append_text(item, "]"); g_list_free(keys_head); g_list_free(values_head); } void xmpp_cdata(proto_tree *tree, tvbuff_t *tvb, xmpp_element_t *element, gint hf) { if(element->data) { if (hf == -1) { proto_tree_add_string(tree, hf_xmpp_cdata, tvb, element->data->offset, element->data->length, element->data->value); } else { proto_tree_add_string(tree, hf, tvb, element->data->offset, element->data->length, element->data->value); } } else { if (hf == -1) { proto_tree_add_string_format_value(tree, hf_xmpp_cdata, tvb, 0, 0, "", "(empty)"); } else { proto_tree_add_string(tree, hf, tvb, 0, 0, ""); } } } /* displays element that looks like <element_name>element_value</element_name> * ELEMENT_NAME: element_value as TEXT in PROTO_TREE */ void xmpp_simple_cdata_elem(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo _U_, xmpp_element_t *element) { proto_tree_add_string_format(tree, hf_xmpp_cdata, tvb, element->offset, element->length, xmpp_elem_cdata(element), "%s: %s", xmpp_ep_string_upcase(pinfo->pool, element->name), xmpp_elem_cdata(element)); } xmpp_array_t* xmpp_ep_init_array_t(wmem_allocator_t *pool, const gchar** array, gint len) { xmpp_array_t *result; result = wmem_new(pool, xmpp_array_t); result->data = (gpointer) array; result->length = len; return result; } xmpp_attr_t* xmpp_ep_init_attr_t(wmem_allocator_t *pool, const gchar *value, gint offset, gint length) { xmpp_attr_t *result; result = wmem_new(pool, xmpp_attr_t); result->value = value; result->offset = offset; result->length = length; result->name = NULL; return result; } static gchar* xmpp_ep_string_upcase(wmem_allocator_t *pool, const gchar* string) { gint len = (int)strlen(string); gint i; gchar* result = (gchar *)wmem_alloc0(pool, len+1); for(i=0; i<len; i++) { result[i] = string[i]; if(string[i]>='a' && string[i]<='z') result[i]-='a'-'A'; } return result; } static gint xmpp_element_t_cmp(gconstpointer a, gconstpointer b) { gint result = strcmp(((const xmpp_element_t*)a)->name,((const xmpp_element_t*)b)->name); if(result == 0 && ((const xmpp_element_t*)a)->was_read) result = -1; return result; } static GList* xmpp_find_element_by_name(xmpp_element_t *packet,const gchar *name) { GList *found_elements; xmpp_element_t *search_element; /*create fake element only with name*/ search_element = wmem_new(wmem_packet_scope(), xmpp_element_t); search_element->name = wmem_strdup(wmem_packet_scope(), name); found_elements = g_list_find_custom(packet->elements, search_element, xmpp_element_t_cmp); if(found_elements) return found_elements; else return NULL; } /* steal_* * function searches element in packet and sets it as read. * if element doesn't exist, NULL is returned. * If element is set as read, it is invisible for these functions.*/ xmpp_element_t* xmpp_steal_element_by_name(xmpp_element_t *packet,const gchar *name) { GList *element_l; xmpp_element_t *element = NULL; element_l = xmpp_find_element_by_name(packet, name); if(element_l) { element = (xmpp_element_t *)element_l->data; element->was_read = TRUE; } return element; } xmpp_element_t* xmpp_steal_element_by_names(xmpp_element_t *packet, const gchar **names, gint names_len) { gint i; xmpp_element_t *el = NULL; for(i = 0; i<names_len; i++) { if((el = xmpp_steal_element_by_name(packet, names[i]))) break; } return el; } xmpp_element_t* xmpp_steal_element_by_attr(xmpp_element_t *packet, const gchar *attr_name, const gchar *attr_value) { GList *childs = packet->elements; xmpp_element_t *result = NULL; while (childs) { xmpp_element_t *child_elem = (xmpp_element_t *)childs->data; xmpp_attr_t *attr = xmpp_get_attr(child_elem, attr_name); if(attr) attr->was_read = FALSE; if (!child_elem->was_read && attr && strcmp(attr->value, attr_value) == 0) { result = (xmpp_element_t *)childs->data; result->was_read = TRUE; break; } else childs = childs->next; } return result; } xmpp_element_t* xmpp_steal_element_by_name_and_attr(xmpp_element_t *packet, const gchar *name, const gchar *attr_name, const gchar *attr_value) { GList *childs = packet->elements; xmpp_element_t *result = NULL; while (childs) { xmpp_element_t *child_elem = (xmpp_element_t *)childs->data; xmpp_attr_t *attr = xmpp_get_attr(child_elem, attr_name); if(attr) attr->was_read = FALSE; if (!child_elem->was_read && attr && strcmp(child_elem->name, name) == 0 && strcmp(attr->value, attr_value) == 0) { result = (xmpp_element_t *)childs->data; result->was_read = TRUE; break; } else childs = childs->next; } return result; } xmpp_element_t* xmpp_get_first_element(xmpp_element_t *packet) { if(packet->elements && packet->elements->data) return (xmpp_element_t *)packet->elements->data; else return NULL; } static void xmpp_element_t_cleanup(void* userdata) { xmpp_element_t *node = (xmpp_element_t*)userdata; xmpp_element_t_tree_free(node); } /* Function converts xml_frame_t structure to xmpp_element_t (simpler representation) */ xmpp_element_t* xmpp_xml_frame_to_element_t(wmem_allocator_t *pool, xml_frame_t *xml_frame, xmpp_element_t *parent, tvbuff_t *tvb) { xml_frame_t *child; xmpp_element_t *node = wmem_new0(pool, xmpp_element_t); tvbparse_t* tt; tvbparse_elem_t* elem; node->attrs = g_hash_table_new(g_str_hash, g_str_equal); node->elements = NULL; node->data = NULL; node->was_read = FALSE; node->default_ns_abbrev = NULL; node->name = wmem_strdup(pool, xml_frame->name_orig_case); node->offset = 0; node->length = 0; node->namespaces = g_hash_table_new(g_str_hash, g_str_equal); if(parent) { xmpp_copy_hash_table(parent->namespaces, node->namespaces); } else { g_hash_table_insert(node->namespaces, (gpointer)"", (gpointer)"jabber:client"); } node->offset = xml_frame->start_offset; node->length = xml_frame->length; /* We might throw an exception recursively creating child nodes. * Make sure we free the GHashTables created above (and the GList * or child nodes already added) if that happens. */ CLEANUP_PUSH(xmpp_element_t_cleanup, node); tt = tvbparse_init(pool, tvb,node->offset,-1,NULL,want_ignore); if((elem = tvbparse_get(tt,want_stream_end_with_ns))!=NULL) { node->default_ns_abbrev = tvb_get_string_enc(pool, elem->sub->tvb, elem->sub->offset, elem->sub->len, ENC_ASCII); } child = xml_frame->first_child; while(child) { if(child->type != XML_FRAME_TAG) { if(child->type == XML_FRAME_ATTRIB) { gint l; gchar *value = NULL; const gchar *xmlns_needle = NULL; xmpp_attr_t *attr = wmem_new(pool, xmpp_attr_t); attr->length = 0; attr->offset = 0; attr->was_read = FALSE; if (child->value != NULL) { l = tvb_reported_length(child->value); value = (gchar *)wmem_alloc0(pool, l + 1); tvb_memcpy(child->value, value, 0, l); } attr->offset = child->start_offset; attr->length = child->length; attr->value = value; attr->name = wmem_strdup(pool, child->name_orig_case); g_hash_table_insert(node->attrs,(gpointer)attr->name,(gpointer)attr); /*checking that attr->name looks like xmlns:ns*/ xmlns_needle = ws_strcasestr(attr->name, "xmlns"); if(xmlns_needle == attr->name) { if(attr->name[5] == ':' && strlen(attr->name) > 6) { g_hash_table_insert(node->namespaces, (gpointer)wmem_strdup(pool, &attr->name[6]), (gpointer)wmem_strdup(pool, attr->value)); } else if(attr->name[5] == '\0') { g_hash_table_insert(node->namespaces, (gpointer)"", (gpointer)wmem_strdup(pool, attr->value)); } } } else if( child->type == XML_FRAME_CDATA) { xmpp_data_t *data = NULL; gint l; gchar* value = NULL; data = wmem_new(pool, xmpp_data_t); data->length = 0; data->offset = 0; if (child->value != NULL) { l = tvb_reported_length(child->value); value = (gchar *)wmem_alloc0(pool, l + 1); tvb_memcpy(child->value, value, 0, l); } data->value = value; data->offset = child->start_offset; data->length = child->length; node->data = data; } } else { node->elements = g_list_append(node->elements,(gpointer)xmpp_xml_frame_to_element_t(pool, child, node,tvb)); } child = child->next_sibling; } CLEANUP_POP; return node; } void xmpp_element_t_tree_free(xmpp_element_t *root) { GList *childs = root->elements; g_hash_table_destroy(root->attrs); g_hash_table_destroy(root->namespaces); while(childs) { xmpp_element_t *child = (xmpp_element_t *)childs->data; xmpp_element_t_tree_free(child); childs = childs->next; } g_list_free(root->elements); } /*Function recognize attribute names if they looks like xmlns:ns*/ static gboolean attr_find_pred(gpointer key, gpointer value _U_, gpointer user_data) { gchar *attr_name = (gchar*) user_data; if( strcmp(attr_name, "xmlns") == 0 ) { const gchar *first_occur = ws_strcasestr((const char *)key, "xmlns:"); if(first_occur && first_occur == key) return TRUE; else return FALSE; } return FALSE; } /*Functions returns element's attribute by name and set as read*/ xmpp_attr_t* xmpp_get_attr(xmpp_element_t *element, const gchar* attr_name) { xmpp_attr_t *result = (xmpp_attr_t *)g_hash_table_lookup(element->attrs, attr_name); if(!result) { result = (xmpp_attr_t *)g_hash_table_find(element->attrs, attr_find_pred, (gpointer)attr_name); } if(result) result->was_read = TRUE; return result; } /*Functions returns element's attribute by name and namespace abbrev*/ static xmpp_attr_t* xmpp_get_attr_ext(packet_info *pinfo, xmpp_element_t *element, const gchar* attr_name, const gchar* ns_abbrev) { gchar* search_phrase; xmpp_attr_t *result; if(strcmp(ns_abbrev,"")==0) search_phrase = wmem_strdup(pinfo->pool, attr_name); else if(strcmp(attr_name, "xmlns") == 0) search_phrase = wmem_strdup_printf(pinfo->pool, "%s:%s",attr_name, ns_abbrev); else search_phrase = wmem_strdup_printf(pinfo->pool, "%s:%s", ns_abbrev, attr_name); result = (xmpp_attr_t *)g_hash_table_lookup(element->attrs, search_phrase); if(!result) { result = (xmpp_attr_t *)g_hash_table_find(element->attrs, attr_find_pred, (gpointer)attr_name); } if(result) result->was_read = TRUE; return result; } gchar* xmpp_element_to_string(wmem_allocator_t *pool, tvbuff_t *tvb, xmpp_element_t *element) { gchar *buff = NULL; if(tvb_offset_exists(tvb, element->offset+element->length-1)) { buff = tvb_get_string_enc(pool, tvb, element->offset, element->length, ENC_ASCII); } return buff; } static void children_foreach_hide_func(proto_node *node, gpointer data) { int *i = (int *)data; if((*i) == 0) proto_item_set_hidden(node); (*i)++; } static void children_foreach_show_func(proto_node *node, gpointer data) { int *i = (int *)data; if((*i) == 0) proto_item_set_visible(node); (*i)++; } void xmpp_proto_tree_hide_first_child(proto_tree *tree) { int i = 0; proto_tree_children_foreach(tree, children_foreach_hide_func, &i); } void xmpp_proto_tree_show_first_child(proto_tree *tree) { int i = 0; proto_tree_children_foreach(tree, children_foreach_show_func, &i); } gchar* proto_item_get_text(wmem_allocator_t *pool, proto_item *item) { field_info *fi = NULL; gchar *result; if(item == NULL) return NULL; fi = PITEM_FINFO(item); if(fi==NULL) return NULL; if (fi->rep == NULL) return NULL; result = wmem_strdup(pool, fi->rep->representation); return result; } void xmpp_display_attrs(proto_tree *tree, xmpp_element_t *element, packet_info *pinfo, tvbuff_t *tvb, const xmpp_attr_info *attrs, guint n) { proto_item *item = proto_tree_get_parent(tree); xmpp_attr_t *attr; guint i; gboolean short_list_started = FALSE; if(element->default_ns_abbrev) proto_item_append_text(item, "(%s)",element->default_ns_abbrev); proto_item_append_text(item," ["); for(i = 0; i < n && attrs!=NULL; i++) { attr = xmpp_get_attr(element, attrs[i].name); if(attr) { if(attrs[i].phf != NULL) { if(attr->name) proto_tree_add_string_format(tree, *attrs[i].phf, tvb, attr->offset, attr->length, attr->value,"%s: %s", attr->name, attr->value); else proto_tree_add_string(tree, *attrs[i].phf, tvb, attr->offset, attr->length, attr->value); } else { proto_tree_add_string_format(tree, hf_xmpp_attribute, tvb, attr->offset, attr->length, attr->value, "%s: %s", attr->name?attr->name:attrs[i].name, attr->value); } if(attrs[i].in_short_list) { if(short_list_started) { proto_item_append_text(item," "); } proto_item_append_text(item,"%s=\"%s\"",attr->name?attr->name:attrs[i].name, attr->value); short_list_started = TRUE; } } else if(attrs[i].is_required) { expert_add_info_format(pinfo, item, &ei_xmpp_required_attribute, "Required attribute \"%s\" doesn't appear in \"%s\".", attrs[i].name, element->name); } if(attrs[i].val_func) { if(attr) attrs[i].val_func(pinfo, item, attrs[i].name, attr->value, attrs[i].data); else attrs[i].val_func(pinfo, item, attrs[i].name, NULL, attrs[i].data); } } proto_item_append_text(item,"]"); /*displays attributes that weren't recognized*/ xmpp_unknown_attrs(tree, tvb, pinfo, element, FALSE); } void xmpp_display_attrs_ext(proto_tree *tree, xmpp_element_t *element, packet_info *pinfo, tvbuff_t *tvb, const xmpp_attr_info_ext *attrs, guint n) { proto_item *item = proto_tree_get_parent(tree); xmpp_attr_t *attr; guint i; gboolean short_list_started = FALSE; GList *ns_abbrevs_head, *ns_abbrevs = g_hash_table_get_keys(element->namespaces); GList *ns_fullnames_head, *ns_fullnames = g_hash_table_get_values(element->namespaces); ns_abbrevs_head = ns_abbrevs; ns_fullnames_head = ns_fullnames; if(element->default_ns_abbrev) proto_item_append_text(item, "(%s)",element->default_ns_abbrev); proto_item_append_text(item," ["); while(ns_abbrevs && ns_fullnames) { for (i = 0; i < n && attrs != NULL; i++) { if(strcmp((const char *)(ns_fullnames->data), attrs[i].ns) == 0) { attr = xmpp_get_attr_ext(pinfo, element, attrs[i].info.name, (const gchar *)(ns_abbrevs->data)); if(!attr && element->default_ns_abbrev && strcmp((const char *)ns_abbrevs->data, element->default_ns_abbrev)==0) attr = xmpp_get_attr_ext(pinfo, element, attrs[i].info.name, ""); if (attr) { if (attrs[i].info.phf != NULL) { if (attr->name) proto_tree_add_string_format(tree, *attrs[i].info.phf, tvb, attr->offset, attr->length, attr->value, "%s: %s", attr->name, attr->value); else proto_tree_add_string(tree, *attrs[i].info.phf, tvb, attr->offset, attr->length, attr->value); } else { proto_tree_add_string_format(tree, hf_xmpp_attribute, tvb, attr->offset, attr->length, attr->value, "%s: %s", attr->name ? attr->name : attrs[i].info.name, attr->value); } if (attrs[i].info.in_short_list) { if (short_list_started) { proto_item_append_text(item, " "); } proto_item_append_text(item, "%s=\"%s\"", attr->name ? attr->name : attrs[i].info.name, attr->value); short_list_started = TRUE; } } else if (attrs[i].info.is_required) { expert_add_info_format(pinfo, item, &ei_xmpp_required_attribute, "Required attribute \"%s\" doesn't appear in \"%s\".", attrs[i].info.name, element->name); } if (attrs[i].info.val_func) { if (attr) attrs[i].info.val_func(pinfo, item, attrs[i].info.name, attr->value, attrs[i].info.data); else attrs[i].info.val_func(pinfo, item, attrs[i].info.name, NULL, attrs[i].info.data); } } } ns_abbrevs = ns_abbrevs->next; ns_fullnames = ns_fullnames->next; } proto_item_append_text(item,"]"); /*displays attributes that weren't recognized*/ xmpp_unknown_attrs(tree, tvb, pinfo, element, FALSE); g_list_free(ns_abbrevs_head); g_list_free(ns_fullnames_head); } typedef struct _name_attr_t { const gchar *name; const gchar *attr_name; const gchar *attr_value; } name_attr_t; /* returns pointer to the struct that contains 3 strings(element name, attribute name, attribute value) */ gpointer xmpp_name_attr_struct(wmem_allocator_t *pool, const gchar *name, const gchar *attr_name, const gchar *attr_value) { name_attr_t *result; result = wmem_new(pool, name_attr_t); result->name = name; result->attr_name = attr_name; result->attr_value = attr_value; return result; } void xmpp_display_elems(proto_tree *tree, xmpp_element_t *parent, packet_info *pinfo, tvbuff_t *tvb, xmpp_elem_info *elems, guint n) { guint i; for(i = 0; i < n && elems!=NULL; i++) { xmpp_element_t *elem = NULL; if(elems[i].type == NAME_AND_ATTR) { gboolean loop = TRUE; const name_attr_t *a = (const name_attr_t *)(elems[i].data); while(loop && (elem = xmpp_steal_element_by_name_and_attr(parent, a->name, a->attr_name, a->attr_value))!=NULL) { elems[i].elem_func(tree, tvb, pinfo, elem); if(elems[i].occurrence == ONE) loop = FALSE; } } else if(elems[i].type == NAME) { gboolean loop = TRUE; const gchar *name = (const gchar *)(elems[i].data); while(loop && (elem = xmpp_steal_element_by_name(parent, name))!=NULL) { elems[i].elem_func(tree, tvb, pinfo, elem); if(elems[i].occurrence == ONE) loop = FALSE; } } else if(elems[i].type == ATTR) { gboolean loop = TRUE; const name_attr_t *attr = (const name_attr_t *)(elems[i].data); while(loop && (elem = xmpp_steal_element_by_attr(parent, attr->attr_name, attr->attr_value))!=NULL) { elems[i].elem_func(tree, tvb, pinfo, elem); if(elems[i].occurrence == ONE) loop = FALSE; } } else if(elems[i].type == NAMES) { gboolean loop = TRUE; const xmpp_array_t *names = (const xmpp_array_t *)(elems[i].data); while(loop && (elem = xmpp_steal_element_by_names(parent, (const gchar**)names->data, names->length))!=NULL) { elems[i].elem_func(tree, tvb, pinfo, elem); if(elems[i].occurrence == ONE) loop = FALSE; } } } xmpp_unknown(tree, tvb, pinfo, parent); } /* function checks that variable value is in array ((xmpp_array_t)data)->data */ void xmpp_val_enum_list(packet_info *pinfo, proto_item *item, const gchar *name, const gchar *value, gconstpointer data) { const xmpp_array_t *enums_array = (const xmpp_array_t *)data; gint i; gboolean value_in_enums = FALSE; gchar **enums = (char**)enums_array->data; if (value != NULL) { for (i = 0; i < enums_array->length; i++) { if (strcmp(value, enums[i]) == 0) { value_in_enums = TRUE; break; } } if (!value_in_enums) { expert_add_info_format(pinfo, item, &ei_xmpp_field_unexpected_value, "Field \"%s\" has unexpected value \"%s\"", name, value); } } } void xmpp_change_elem_to_attrib(wmem_allocator_t *pool, const gchar *elem_name, const gchar *attr_name, xmpp_element_t *parent, xmpp_attr_t* (*transform_func)(wmem_allocator_t *pool, xmpp_element_t *element)) { xmpp_element_t *element = NULL; xmpp_attr_t *fake_attr = NULL; element = xmpp_steal_element_by_name(parent, elem_name); if(element) fake_attr = transform_func(pool, element); if(fake_attr) g_hash_table_insert(parent->attrs, (gpointer)attr_name, fake_attr); } xmpp_attr_t* xmpp_transform_func_cdata(wmem_allocator_t *pool, xmpp_element_t *elem) { xmpp_attr_t *result = xmpp_ep_init_attr_t(pool, elem->data?elem->data->value:"", elem->offset, elem->length); return result; } #if 0 static void printf_hash_table_func(gpointer key, gpointer value, gpointer user_data _U_) { printf("'%s' '%s'\n", (gchar*)key, (gchar*)value); } void printf_elements(xmpp_element_t *root) { GList *elems = root->elements; printf("%s\n", root->name); g_hash_table_foreach(root->namespaces, printf_hash_table_func, NULL); while(elems) { printf_elements(elems->data); elems = elems->next; } } #endif /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-xmpp-utils.h
/* xmpp-utils.h * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef XMPP_UTILS_H #define XMPP_UTILS_H #include "ws_symbol_export.h" #include "tvbuff.h" #include "dissectors/packet-xml.h" #include <epan/wmem_scopes.h> #define xmpp_elem_cdata(elem) \ elem->data?elem->data->value:"" typedef struct _xmpp_array_t { gpointer data; gint length; } xmpp_array_t; typedef struct _xmpp_attr_t{ const gchar *value; const gchar *name; gint offset; gint length; gboolean was_read; } xmpp_attr_t; typedef struct _xmpp_data_t{ gchar *value; gint offset; gint length; } xmpp_data_t; typedef struct _xmpp_element_t{ gchar* name; /*abbreviation that apprears before tag name (<nos:x .../>) if abbrev doesn't appear then NULL*/ gchar* default_ns_abbrev; /*pair of namespace abbrev and namespace*/ GHashTable *namespaces; GHashTable *attrs; GList *elements; xmpp_data_t *data; gint offset; gint length; gboolean was_read; } xmpp_element_t; /*informations about attributes that are displayed in proto tree*/ typedef struct _xmpp_attr_info{ const gchar *name; const gint *phf; gboolean is_required; gboolean in_short_list; /*function validates this attribute it may impose other restrictions (e.g. validating atribut's name, ...)*/ void (*val_func)(packet_info *pinfo, proto_item *item, const gchar *name, const gchar *value, gconstpointer data); gpointer data; } xmpp_attr_info; typedef struct _xmpp_attr_info_ext{ const gchar* ns; xmpp_attr_info info; } xmpp_attr_info_ext; typedef enum _xmpp_elem_info_type{ NAME, ATTR, NAME_AND_ATTR, NAMES } xmpp_elem_info_type; typedef enum _xmpp_elem_info_occurrence { ONE,MANY } xmpp_elem_info_occurrence; /*informations about elements that are displayed in proto tree*/ typedef struct _xmpp_elem_info{ xmpp_elem_info_type type; gconstpointer data; /*function that displays element in tree*/ void (*elem_func)(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, xmpp_element_t* element); xmpp_elem_info_occurrence occurrence; } xmpp_elem_info; typedef struct _xmpp_conv_info_t { wmem_tree_t *req_resp; wmem_tree_t *jingle_sessions; wmem_tree_t *ibb_sessions; wmem_tree_t *gtalk_sessions; guint32 ssl_start; } xmpp_conv_info_t; /** Struct conatins frame numbers (request frame(IQ set/get) and * response frame(IQ result/error)). */ typedef struct _xmpp_reqresp_transaction_t { guint32 req_frame; guint32 resp_frame; } xmpp_transaction_t; /** Function that is responsibe for request/response tracking in IQ packets. * Each IQ set/get packet should have the response in other IQ result/error packet. * Both packet should have the same id attribute. Function saves in wmem_tree pairs of * packet id and struct xmpp_transaction_t. */ extern void xmpp_iq_reqresp_track(packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info); /** Function that is responsibe for jingle session tracking in IQ packets. * Function saves in wmem_tree pairs of packet's id and Jingle session's id. */ extern void xmpp_jingle_session_track(packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info); /** Function that is responsibe for ibb(in band bytestreams) session tracking in IQ packets. * Function saves in wmem_tree pairs of packet's id and In-Band Bytestreams session's id. */ extern void xmpp_ibb_session_track(packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info); /** Function that is responsibe for GTalk session(voice/video) tracking in IQ packets. * Function saves in wmem_tree pairs of packet's id and GTalk session's id. */ extern void xmpp_gtalk_session_track(packet_info *pinfo, xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info); /** Function detects unrecognized elements and displays them in tree. * It uses ett_unknown to display packets. ett_unknown has const size described by * ETT_UNKNOWN_LEN in packet-xmpp.h */ extern void xmpp_unknown(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); /** Displays CDATA from element in tree. You can use your own header field hf or * pass -1. If you pass -1 then CDATA will be display as text: * ELEMENT_NAME: CDATA * ELEMENT_NAME = element->name, if element is empty CDATA = "(empty)" */ extern void xmpp_cdata(proto_tree *tree, tvbuff_t *tvb, xmpp_element_t *element, gint hf); /** Function is similar to xmpp_cdata. But it display items only as a text and it is * compatibile with function display_elems */ extern void xmpp_simple_cdata_elem(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, xmpp_element_t *element); /** Converts xml_frame_t struct to xmpp_element_t. Should be call with parent==NULL. */ extern xmpp_element_t* xmpp_xml_frame_to_element_t(wmem_allocator_t *pool, xml_frame_t *xml_frame, xmpp_element_t *parent, tvbuff_t *tvb); /** Frees all GLib structs in xmpp_element_t struct. Should be call only for root element. * It works recursively. */ extern void xmpp_element_t_tree_free(xmpp_element_t *root); /** Allocs ephemeral memory for xmpp_array_t struct.*/ extern xmpp_array_t* xmpp_ep_init_array_t(wmem_allocator_t *pool, const gchar** array, gint len); /*Allocs ephemeral memory for xmpp_attr_t struct*/ extern xmpp_attr_t* xmpp_ep_init_attr_t(wmem_allocator_t *pool, const gchar *value, gint offset, gint length); /** steal_* * Functions searches and marks as read found elements. * If element is set as read, it is invisible for these functions.*/ extern xmpp_element_t* xmpp_steal_element_by_name(xmpp_element_t *packet, const gchar *name); extern xmpp_element_t* xmpp_steal_element_by_names(xmpp_element_t *packet, const gchar **names, gint names_len); extern xmpp_element_t* xmpp_steal_element_by_attr(xmpp_element_t *packet, const gchar *attr_name, const gchar *attr_value); extern xmpp_element_t* xmpp_steal_element_by_name_and_attr(xmpp_element_t *packet, const gchar *name, const gchar *attr_name, const gchar *attr_value); /*Returns first child in element*/ extern xmpp_element_t* xmpp_get_first_element(xmpp_element_t *packet); /*Converts element to string. Returns memory allocated from the given pool.*/ extern gchar* xmpp_element_to_string(wmem_allocator_t *pool, tvbuff_t *tvb, xmpp_element_t *element); /* Returns attribute by name and set as read. If attrib is set as read, it may be found * one more time, but it is invisible for function xmpp_unknown_attrib*/ extern xmpp_attr_t* xmpp_get_attr(xmpp_element_t *element, const gchar* attr_name); /*Function hides first element in tree.*/ extern void xmpp_proto_tree_hide_first_child(proto_tree *tree); /*Function shows first element in tree.*/ extern void xmpp_proto_tree_show_first_child(proto_tree *tree); /*Function returns item as text. Memory is allocated from the given pool.*/ extern gchar* proto_item_get_text(wmem_allocator_t *pool, proto_item *item); /*Function returns struct that contains 3 strings. It is used to build xmpp_attr_info struct.*/ extern gpointer xmpp_name_attr_struct(wmem_allocator_t *pool, const gchar *name, const gchar *attr_name, const gchar *attr_value); /** Function displays attributes from element in way described in attrs. * Elements that doesn't exist in attrs are displayed as text. * In XMPP_ATTR_INFO struct you can define several things: * - is_in_short_list - attribute should be displayed in short list e.g. ELEMENT_NAME [ATTR1='value' ATTR2='value'] * - is_required - attribute is required. If attribute doesn't appear then EXPERT INFO will be displayed * - val_func - validate function * - data - data passes to the val_func */ extern void xmpp_display_attrs(proto_tree *tree, xmpp_element_t *element, packet_info *pinfo, tvbuff_t *tvb, const xmpp_attr_info *attrs, guint n); /** Function does the same as shown above. It takes attrs(XMPP_ATTR_INFO_EXT) argument * that contains XMPP_ATTR_INFO struct and string with namespace. It is used when packet * contains several namespaces and each attribute belongs to particular namespace. * E.g. * @code * <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' * mechanism='PLAIN' * xmlns:ga='http://www.google.com/talk/protocol/auth' * ga:client-uses-full-bind-result='true'> * </auth> * @endcode */ extern void xmpp_display_attrs_ext(proto_tree *tree, xmpp_element_t *element, packet_info *pinfo, tvbuff_t *tvb, const xmpp_attr_info_ext *attrs, guint n); /** Displays elements from parent element in a way described in elems(XMPP_ELEM_INFO). * XMPP_ELEM_INFO describes how to find particular element and what action should be done * for this element. * Function calls xmpp_unknown. */ extern void xmpp_display_elems(proto_tree *tree, xmpp_element_t *parent, packet_info *pinfo, tvbuff_t *tvb, xmpp_elem_info *elems, guint n); /* Validates attribute value. Takes string array(gchar**) in parameter data. * Is used in XMPP_ATTR_INFO struct. */ extern void xmpp_val_enum_list(packet_info *pinfo, proto_item *item, const gchar *name, const gchar *value, gconstpointer data); /** Function changes element to attribute. It searches element by name in parent element, * next it create attribute using transform_func and inserts it to parent attributes hash table * using attr_name as key. */ extern void xmpp_change_elem_to_attrib(wmem_allocator_t *pool, const gchar *elem_name, const gchar *attr_name, xmpp_element_t *parent, xmpp_attr_t* (*transform_func)(wmem_allocator_t *pool, xmpp_element_t *element)); /** transform_func that creates attribute with element's cdata as value */ extern xmpp_attr_t* xmpp_transform_func_cdata(wmem_allocator_t *pool, xmpp_element_t *elem); #endif /* XMPP_UTILS_H */
C
wireshark/epan/dissectors/packet-xmpp.c
/* packet-xmpp.c * Wireshark's XMPP dissector. * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/conversation.h> #include <epan/prefs.h> #include <epan/proto_data.h> #include <epan/exceptions.h> #include "packet-xmpp.h" #include "packet-xmpp-core.h" #define XMPP_PORT 5222 void proto_register_xmpp(void); void proto_reg_handoff_xmpp(void); int proto_xmpp = -1; static gboolean xmpp_desegment = TRUE; gint hf_xmpp_xmlns = -1; gint hf_xmpp_id = -1; gint hf_xmpp_from = -1; gint hf_xmpp_to = -1; gint hf_xmpp_type = -1; gint hf_xmpp_cdata = -1; gint hf_xmpp_attribute = -1; gint hf_xmpp_iq = -1; gint hf_xmpp_query = -1; gint hf_xmpp_query_node = -1; gint hf_xmpp_query_item = -1; gint hf_xmpp_query_item_jid = -1; gint hf_xmpp_query_item_name = -1; gint hf_xmpp_query_item_subscription = -1; gint hf_xmpp_query_item_ask = -1; gint hf_xmpp_query_item_group = -1; gint hf_xmpp_query_item_node = -1; gint hf_xmpp_query_item_approved = -1; gint hf_xmpp_query_identity = -1; gint hf_xmpp_query_identity_category = -1; gint hf_xmpp_query_identity_type = -1; gint hf_xmpp_query_identity_name = -1; static gint hf_xmpp_query_identity_lang = -1; gint hf_xmpp_query_feature = -1; gint hf_xmpp_query_streamhost = -1; gint hf_xmpp_query_streamhost_used = -1; gint hf_xmpp_query_activate = -1; gint hf_xmpp_query_udpsuccess = -1; gint hf_xmpp_error = -1; gint hf_xmpp_error_type = -1; gint hf_xmpp_error_code = -1; gint hf_xmpp_error_condition = -1; gint hf_xmpp_error_text = -1; gint hf_xmpp_iq_bind = -1; gint hf_xmpp_iq_bind_jid = -1; gint hf_xmpp_iq_bind_resource = -1; gint hf_xmpp_services = -1; gint hf_xmpp_channel = -1; gint hf_xmpp_iq_session = -1; gint hf_xmpp_stream = -1; gint hf_xmpp_features = -1; gint hf_xmpp_vcard = -1; gint hf_xmpp_vcard_x_update = -1; gint hf_xmpp_jingle = -1; gint hf_xmpp_jingle_sid = -1; gint hf_xmpp_jingle_initiator = -1; gint hf_xmpp_jingle_responder = -1; gint hf_xmpp_jingle_action = -1; gint hf_xmpp_jingle_content = -1; gint hf_xmpp_jingle_content_creator = -1; gint hf_xmpp_jingle_content_name = -1; gint hf_xmpp_jingle_content_disposition = -1; gint hf_xmpp_jingle_content_senders = -1; gint hf_xmpp_jingle_content_description = -1; gint hf_xmpp_jingle_content_description_media = -1; gint hf_xmpp_jingle_content_description_ssrc = -1; gint hf_xmpp_jingle_cont_desc_payload = -1; gint hf_xmpp_jingle_cont_desc_payload_id = -1; gint hf_xmpp_jingle_cont_desc_payload_channels = -1; gint hf_xmpp_jingle_cont_desc_payload_clockrate = -1; gint hf_xmpp_jingle_cont_desc_payload_maxptime = -1; gint hf_xmpp_jingle_cont_desc_payload_name = -1; gint hf_xmpp_jingle_cont_desc_payload_ptime = -1; gint hf_xmpp_jingle_cont_desc_payload_param = -1; gint hf_xmpp_jingle_cont_desc_payload_param_value = -1; gint hf_xmpp_jingle_cont_desc_payload_param_name = -1; gint hf_xmpp_jingle_cont_desc_enc = -1; gint hf_xmpp_jingle_cont_desc_enc_zrtp_hash = -1; gint hf_xmpp_jingle_cont_desc_enc_crypto = -1; gint hf_xmpp_jingle_cont_desc_rtp_hdr = -1; gint hf_xmpp_jingle_cont_desc_bandwidth = -1; gint hf_xmpp_jingle_cont_trans = -1; gint hf_xmpp_jingle_cont_trans_pwd = -1; gint hf_xmpp_jingle_cont_trans_ufrag = -1; gint hf_xmpp_jingle_cont_trans_cand = -1; gint hf_xmpp_jingle_cont_trans_rem_cand = -1; gint hf_xmpp_jingle_cont_trans_activated = -1; gint hf_xmpp_jingle_cont_trans_candidate_error = -1; gint hf_xmpp_jingle_cont_trans_candidate_used = -1; gint hf_xmpp_jingle_cont_trans_proxy_error = -1; gint hf_xmpp_jingle_reason = -1; gint hf_xmpp_jingle_reason_condition = -1; gint hf_xmpp_jingle_reason_text = -1; gint hf_xmpp_jingle_rtp_info = -1; gint hf_xmpp_jingle_file_transfer_offer = -1; gint hf_xmpp_jingle_file_transfer_request = -1; gint hf_xmpp_jingle_file_transfer_received = -1; gint hf_xmpp_jingle_file_transfer_abort = -1; gint hf_xmpp_jingle_file_transfer_checksum = -1; gint hf_xmpp_si = -1; gint hf_xmpp_si_file = -1; gint hf_xmpp_iq_feature_neg = -1; gint hf_xmpp_x_data = -1; gint hf_xmpp_x_data_field = -1; gint hf_xmpp_x_data_field_value = -1; gint hf_xmpp_x_data_instructions = -1; gint hf_xmpp_muc_user_status = -1; gint hf_xmpp_message = -1; gint hf_xmpp_message_chatstate = -1; gint hf_xmpp_message_thread = -1; gint hf_xmpp_message_thread_parent = -1; gint hf_xmpp_message_body = -1; gint hf_xmpp_message_subject = -1; gint hf_xmpp_ibb_open = -1; gint hf_xmpp_ibb_close = -1; gint hf_xmpp_ibb_data = -1; gint hf_xmpp_delay = -1; gint hf_xmpp_x_event = -1; gint hf_xmpp_x_event_condition = -1; gint hf_xmpp_presence = -1; gint hf_xmpp_presence_show = -1; gint hf_xmpp_presence_status = -1; gint hf_xmpp_presence_caps = -1; gint hf_xmpp_auth = -1; gint hf_xmpp_failure = -1; gint hf_xmpp_failure_text = -1; gint hf_xmpp_starttls = -1; gint hf_xmpp_proceed = -1; gint hf_xmpp_xml_header_version = -1; gint hf_xmpp_stream_end = -1; gint hf_xmpp_muc_x = -1; gint hf_xmpp_muc_user_x = -1; gint hf_xmpp_muc_user_item = -1; gint hf_xmpp_muc_user_invite = -1; gint hf_xmpp_gtalk_session = -1; gint hf_xmpp_gtalk_session_type = -1; gint hf_xmpp_gtalk = -1; gint hf_xmpp_gtalk_setting = -1; gint hf_xmpp_gtalk_setting_element = -1; gint hf_xmpp_gtalk_nosave_x = -1; gint hf_xmpp_gtalk_mail_mailbox = -1; gint hf_xmpp_gtalk_mail_new_mail = -1; gint hf_xmpp_gtalk_transport_p2p = -1; gint hf_xmpp_gtalk_mail_snippet = -1; gint hf_xmpp_gtalk_status_status_list = -1; gint hf_xmpp_conf_info = -1; gint hf_xmpp_conf_info_sid = -1; gint hf_xmpp_unknown = -1; gint hf_xmpp_unknown_attr = -1; static gint hf_xmpp_out = -1; static gint hf_xmpp_in = -1; gint hf_xmpp_response_in = -1; gint hf_xmpp_response_to = -1; gint hf_xmpp_jingle_session = -1; gint hf_xmpp_ibb = -1; gint hf_xmpp_ping = -1; gint hf_xmpp_hashes = -1; gint hf_xmpp_jitsi_inputevt = -1; gint hf_xmpp_jitsi_inputevt_rmt_ctrl = -1; static gint ett_xmpp = -1; gint ett_xmpp_iq = -1; gint ett_xmpp_query = -1; gint ett_xmpp_query_item = -1; gint ett_xmpp_query_identity = -1; static gint ett_xmpp_query_feature = -1; gint ett_xmpp_query_streamhost = -1; gint ett_xmpp_query_streamhost_used = -1; gint ett_xmpp_query_udpsuccess = -1; static gint ett_xmpp_iq_error = -1; gint ett_xmpp_iq_bind = -1; gint ett_xmpp_iq_session = -1; gint ett_xmpp_vcard = -1; gint ett_xmpp_vcard_x_update = -1; gint ett_xmpp_jingle = -1; gint ett_xmpp_jingle_content = -1; gint ett_xmpp_jingle_content_description = -1; gint ett_xmpp_jingle_cont_desc_enc = -1; gint ett_xmpp_jingle_cont_desc_enc_zrtp_hash = -1; gint ett_xmpp_jingle_cont_desc_enc_crypto = -1; gint ett_xmpp_jingle_cont_desc_rtp_hdr = -1; gint ett_xmpp_jingle_cont_desc_bandwidth = -1; gint ett_xmpp_jingle_cont_desc_payload = -1; gint ett_xmpp_jingle_cont_desc_payload_param = -1; gint ett_xmpp_jingle_cont_trans = -1; gint ett_xmpp_jingle_cont_trans_cand = -1; gint ett_xmpp_jingle_cont_trans_rem_cand = -1; gint ett_xmpp_jingle_reason = -1; gint ett_xmpp_jingle_rtp_info = -1; gint ett_xmpp_jingle_file_transfer_offer = -1; gint ett_xmpp_jingle_file_transfer_request = -1; gint ett_xmpp_jingle_file_transfer_abort = -1; gint ett_xmpp_jingle_file_transfer_received = -1; gint ett_xmpp_jingle_file_transfer_checksum = -1; gint ett_xmpp_jingle_file_transfer_file = -1; gint ett_xmpp_services = -1; gint ett_xmpp_services_relay = -1; gint ett_xmpp_channel = -1; gint ett_xmpp_si = -1; gint ett_xmpp_si_file = -1; gint ett_xmpp_si_file_range = -1; gint ett_xmpp_iq_feature_neg = -1; gint ett_xmpp_x_data = -1; gint ett_xmpp_x_data_field = -1; gint ett_xmpp_x_data_field_value = -1; gint ett_xmpp_ibb_open = -1; gint ett_xmpp_ibb_close = -1; gint ett_xmpp_ibb_data = -1; gint ett_xmpp_delay = -1; gint ett_xmpp_x_event = -1; gint ett_xmpp_message = -1; gint ett_xmpp_message_thread = -1; gint ett_xmpp_message_body = -1; gint ett_xmpp_message_subject = -1; gint ett_xmpp_presence = -1; gint ett_xmpp_presence_status = -1; gint ett_xmpp_presence_caps = -1; gint ett_xmpp_auth = -1; static gint ett_xmpp_challenge = -1; static gint ett_xmpp_response = -1; static gint ett_xmpp_success = -1; gint ett_xmpp_failure = -1; gint ett_xmpp_stream = -1; gint ett_xmpp_features = -1; gint ett_xmpp_features_mechanisms = -1; gint ett_xmpp_starttls = -1; gint ett_xmpp_proceed = -1; gint ett_xmpp_muc_x = -1; gint ett_xmpp_muc_hist = -1; gint ett_xmpp_muc_user_x = -1; gint ett_xmpp_muc_user_item = -1; gint ett_xmpp_muc_user_invite = -1; gint ett_xmpp_gtalk_session = -1; gint ett_xmpp_gtalk_session_desc = -1; gint ett_xmpp_gtalk_session_cand = -1; gint ett_xmpp_gtalk_session_desc_payload = -1; gint ett_xmpp_gtalk_session_reason = -1; gint ett_xmpp_gtalk_jingleinfo_stun = -1; gint ett_xmpp_gtalk_jingleinfo_server = -1; gint ett_xmpp_gtalk_jingleinfo_relay = -1; gint ett_xmpp_gtalk_jingleinfo_relay_serv = -1; gint ett_xmpp_gtalk_setting = -1; gint ett_xmpp_gtalk_nosave_x = -1; gint ett_xmpp_gtalk_mail_mailbox = -1; gint ett_xmpp_gtalk_mail_mail_info = -1; gint ett_xmpp_gtalk_mail_senders = -1; gint ett_xmpp_gtalk_mail_sender = -1; gint ett_xmpp_gtalk_status_status_list = -1; gint ett_xmpp_gtalk_transport_p2p = -1; gint ett_xmpp_gtalk_transport_p2p_cand = -1; gint ett_xmpp_conf_info = -1; gint ett_xmpp_conf_desc = -1; gint ett_xmpp_conf_state = -1; gint ett_xmpp_conf_users = -1; gint ett_xmpp_conf_user = -1; gint ett_xmpp_conf_endpoint = -1; gint ett_xmpp_conf_media = -1; gint ett_xmpp_ping = -1; gint ett_xmpp_hashes = -1; gint ett_xmpp_hashes_hash = -1; gint ett_xmpp_jitsi_inputevt = -1; gint ett_xmpp_jitsi_inputevt_rmt_ctrl = -1; gint ett_unknown[ETT_UNKNOWN_LEN]; static expert_field ei_xmpp_xml_disabled = EI_INIT; static expert_field ei_xmpp_packet_unknown = EI_INIT; expert_field ei_xmpp_starttls_missing = EI_INIT; expert_field ei_xmpp_response = EI_INIT; static expert_field ei_xmpp_challenge = EI_INIT; static expert_field ei_xmpp_success = EI_INIT; expert_field ei_xmpp_proceed_already_in_frame = EI_INIT; expert_field ei_xmpp_starttls_already_in_frame = EI_INIT; expert_field ei_xmpp_packet_without_response = EI_INIT; expert_field ei_xmpp_unknown_element = EI_INIT; expert_field ei_xmpp_field_unexpected_value = EI_INIT; expert_field ei_xmpp_unknown_attribute = EI_INIT; expert_field ei_xmpp_required_attribute = EI_INIT; static dissector_handle_t xmpp_handle; static dissector_handle_t xml_handle; static void cleanup_xmpp(void *user_data) { xmpp_element_t *root = (xmpp_element_t*)user_data; xmpp_element_t_tree_free(root); } static int dissect_xmpp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { xml_frame_t *xml_frame; xml_frame_t *xml_dissector_frame; gboolean out_packet; conversation_t *conversation; xmpp_conv_info_t *xmpp_info; proto_tree *xmpp_tree = NULL; proto_item *xmpp_item = NULL; proto_item *outin_item; xmpp_element_t *packet = NULL; int proto_xml = dissector_handle_get_protocol_index(xml_handle); gboolean whitespace_keepalive = ((tvb_reported_length(tvb) == 1) && tvb_get_guint8(tvb, 0) == ' '); /*check if desegment * now it checks that last char is '>', * TODO checks that first element in packet is closed*/ int indx; gchar last_char; if (xmpp_desegment && !whitespace_keepalive) { indx = tvb_reported_length(tvb) - 1; if (indx >= 0) { last_char = tvb_get_guint8(tvb, indx); while ((last_char <= ' ') && (indx - 1 >= 0)) { indx--; last_char = tvb_get_guint8(tvb, indx); } if ((indx >= 0) && (last_char != '>')) { pinfo->desegment_len = DESEGMENT_ONE_MORE_SEGMENT; return tvb_captured_length(tvb); } } } col_set_str(pinfo->cinfo, COL_PROTOCOL, "XMPP"); col_clear(pinfo->cinfo, COL_INFO); /*if tree == NULL then xmpp_item and xmpp_tree will also NULL*/ xmpp_item = proto_tree_add_item(tree, proto_xmpp, tvb, 0, -1, ENC_NA); xmpp_tree = proto_item_add_subtree(xmpp_item, ett_xmpp); if (whitespace_keepalive) { /* RFC 6120 section 4.6.1 */ col_set_str(pinfo->cinfo, COL_INFO, "Whitespace Keepalive"); return tvb_captured_length(tvb); } call_dissector_with_data(xml_handle, tvb, pinfo, xmpp_tree, NULL); /* If XML dissector is disabled, we can't do much */ if (!proto_is_protocol_enabled(find_protocol_by_id(proto_xml))) { col_append_str(pinfo->cinfo, COL_INFO, "(XML dissector disabled, can't dissect XMPP)"); expert_add_info(pinfo, xmpp_item, &ei_xmpp_xml_disabled); return tvb_captured_length(tvb); } /*if stream end occurs then return*/ if(xmpp_stream_close(xmpp_tree,tvb, pinfo)) { if(xmpp_tree) xmpp_proto_tree_hide_first_child(xmpp_tree); return tvb_captured_length(tvb); } xml_dissector_frame = (xml_frame_t *)p_get_proto_data(pinfo->pool, pinfo, proto_xml, 0); if(xml_dissector_frame == NULL) return tvb_captured_length(tvb); /*data from XML dissector*/ xml_frame = xml_dissector_frame->first_child; if(!xml_frame) return tvb_captured_length(tvb); conversation = find_or_create_conversation(pinfo); xmpp_info = (xmpp_conv_info_t *)conversation_get_proto_data(conversation, proto_xmpp); if (!xmpp_info) { xmpp_info = wmem_new(wmem_file_scope(), xmpp_conv_info_t); xmpp_info->req_resp = wmem_tree_new(wmem_file_scope()); xmpp_info->jingle_sessions = wmem_tree_new(wmem_file_scope()); xmpp_info->ibb_sessions = wmem_tree_new(wmem_file_scope()); xmpp_info->gtalk_sessions = wmem_tree_new(wmem_file_scope()); xmpp_info->ssl_start = 0; conversation_add_proto_data(conversation, proto_xmpp, (void *) xmpp_info); } if (pinfo->match_uint == pinfo->destport) out_packet = TRUE; else out_packet = FALSE; while(xml_frame) { packet = xmpp_xml_frame_to_element_t(pinfo->pool, xml_frame, NULL, tvb); DISSECTOR_ASSERT(packet); CLEANUP_PUSH(cleanup_xmpp, packet); if (strcmp(packet->name, "iq") == 0) { xmpp_iq_reqresp_track(pinfo, packet, xmpp_info); xmpp_jingle_session_track(pinfo, packet, xmpp_info); xmpp_gtalk_session_track(pinfo, packet, xmpp_info); } if (strcmp(packet->name, "iq") == 0 || strcmp(packet->name, "message") == 0) { xmpp_ibb_session_track(pinfo, packet, xmpp_info); } if (out_packet) outin_item = proto_tree_add_boolean(xmpp_tree, hf_xmpp_out, tvb, 0, 0, TRUE); else outin_item = proto_tree_add_boolean(xmpp_tree, hf_xmpp_in, tvb, 0, 0, TRUE); proto_item_set_hidden(outin_item); /*it hides tree generated by XML dissector*/ xmpp_proto_tree_hide_first_child(xmpp_tree); if (strcmp(packet->name, "iq") == 0) { xmpp_iq(xmpp_tree, tvb, pinfo, packet); } else if (strcmp(packet->name, "presence") == 0) { xmpp_presence(xmpp_tree, tvb, pinfo, packet); } else if (strcmp(packet->name, "message") == 0) { xmpp_message(xmpp_tree, tvb, pinfo, packet); } else if (strcmp(packet->name, "auth") == 0) { xmpp_auth(xmpp_tree, tvb, pinfo, packet); } else if (strcmp(packet->name, "challenge") == 0) { xmpp_challenge_response_success(xmpp_tree, tvb, pinfo, packet, &ei_xmpp_challenge, ett_xmpp_challenge, "CHALLENGE"); } else if (strcmp(packet->name, "response") == 0) { xmpp_challenge_response_success(xmpp_tree, tvb, pinfo, packet, &ei_xmpp_response, ett_xmpp_response, "RESPONSE"); } else if (strcmp(packet->name, "success") == 0) { xmpp_challenge_response_success(xmpp_tree, tvb, pinfo, packet, &ei_xmpp_success, ett_xmpp_success, "SUCCESS"); } else if (strcmp(packet->name, "failure") == 0) { xmpp_failure(xmpp_tree, tvb, pinfo, packet); } else if (strcmp(packet->name, "xml") == 0) { xmpp_xml_header(xmpp_tree, tvb, pinfo, packet); } else if (strcmp(packet->name, "stream") == 0) { xmpp_stream(xmpp_tree, tvb, pinfo, packet); } else if (strcmp(packet->name, "features") == 0) { xmpp_features(xmpp_tree, tvb, pinfo, packet); } else if (strcmp(packet->name, "starttls") == 0) { xmpp_starttls(xmpp_tree, tvb, pinfo, packet, xmpp_info); } else if (strcmp(packet->name, "proceed") == 0) { xmpp_proceed(xmpp_tree, tvb, pinfo, packet, xmpp_info); } else { xmpp_proto_tree_show_first_child(xmpp_tree); expert_add_info_format(pinfo, xmpp_tree, &ei_xmpp_packet_unknown, "Unknown packet: %s", packet->name); col_set_str(pinfo->cinfo, COL_INFO, "UNKNOWN PACKET "); } /*appends to COL_INFO information about src or dst*/ if (pinfo->match_uint == pinfo->destport) { xmpp_attr_t *to = xmpp_get_attr(packet, "to"); if (to) col_append_fstr(pinfo->cinfo, COL_INFO, "> %s ", to->value); } else { xmpp_attr_t *from = xmpp_get_attr(packet, "from"); if (from) col_append_fstr(pinfo->cinfo, COL_INFO, "< %s ", from->value); } CLEANUP_CALL_AND_POP; xml_frame = xml_frame->next_sibling; } return tvb_captured_length(tvb); } void proto_register_xmpp(void) { static hf_register_info hf[] = { { &hf_xmpp_iq, { "IQ", "xmpp.iq", FT_NONE, BASE_NONE, NULL, 0x0, "iq packet", HFILL }}, {&hf_xmpp_xmlns, { "xmlns", "xmpp.xmlns", FT_STRING, BASE_NONE, NULL, 0x0, "element namespace", HFILL }}, {&hf_xmpp_cdata, { "CDATA", "xmpp.cdata", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, {&hf_xmpp_attribute, { "Attribute", "xmpp.attribute", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_id, { "id", "xmpp.id", FT_STRING, BASE_NONE, NULL, 0x0, "packet id", HFILL }}, { &hf_xmpp_type, { "type", "xmpp.type", FT_STRING, BASE_NONE, NULL, 0x0, "packet type", HFILL }}, { &hf_xmpp_from, { "from", "xmpp.from", FT_STRING, BASE_NONE, NULL, 0x0, "packet from", HFILL }}, { &hf_xmpp_to, { "to", "xmpp.to", FT_STRING, BASE_NONE, NULL, 0x0, "packet to", HFILL }}, { &hf_xmpp_query, { "QUERY", "xmpp.query", FT_NONE, BASE_NONE, NULL, 0x0, "iq query", HFILL }}, { &hf_xmpp_query_node, { "node", "xmpp.query.node", FT_STRING, BASE_NONE, NULL, 0x0, "iq query node", HFILL }}, { &hf_xmpp_query_item, { "ITEM", "xmpp.query.item", FT_NONE, BASE_NONE, NULL, 0x0, "iq query item", HFILL }}, { &hf_xmpp_query_item_jid, { "jid", "xmpp.query.item.jid", FT_STRING, BASE_NONE, NULL, 0x0, "iq query item jid", HFILL }}, { &hf_xmpp_query_item_name, { "name", "xmpp.query.item.name", FT_STRING, BASE_NONE, NULL, 0x0, "iq query item name", HFILL }}, { &hf_xmpp_query_item_subscription, { "subscription", "xmpp.query.item.subscription", FT_STRING, BASE_NONE, NULL, 0x0, "iq query item subscription", HFILL }}, { &hf_xmpp_query_item_ask, { "ask", "xmpp.query.item.ask", FT_STRING, BASE_NONE, NULL, 0x0, "iq query item ask", HFILL }}, { &hf_xmpp_query_item_group, { "GROUP", "xmpp.query.item.group", FT_STRING, BASE_NONE, NULL, 0x0, "iq query item group", HFILL }}, { &hf_xmpp_query_item_approved, { "approved", "xmpp.query.item.approved", FT_STRING, BASE_NONE, NULL, 0x0, "iq query item approved", HFILL }}, { &hf_xmpp_query_item_node, { "node", "xmpp.query.item.node", FT_STRING, BASE_NONE, NULL, 0x0, "iq query item node", HFILL }}, { &hf_xmpp_query_identity, { "IDENTITY", "xmpp.query.identity", FT_NONE, BASE_NONE, NULL, 0x0, "iq query identity", HFILL }}, { &hf_xmpp_query_identity_category, { "category", "xmpp.query.identity.category", FT_STRING, BASE_NONE, NULL, 0x0, "iq query identity category", HFILL }}, { &hf_xmpp_query_identity_type, { "type", "xmpp.query.identity.type", FT_STRING, BASE_NONE, NULL, 0x0, "iq query identity type", HFILL }}, { &hf_xmpp_query_identity_name, { "name", "xmpp.query.identity.name", FT_STRING, BASE_NONE, NULL, 0x0, "iq query identity name", HFILL }}, { &hf_xmpp_query_identity_lang, { "lang", "xmpp.query.identity.lang", FT_STRING, BASE_NONE, NULL, 0x0, "iq query identity lang", HFILL }}, { &hf_xmpp_query_feature, { "FEATURE", "xmpp.query.feature", FT_STRING, BASE_NONE, NULL, 0x0, "iq query feature", HFILL }}, { &hf_xmpp_query_streamhost, { "STREAMHOST", "xmpp.query.streamhost", FT_NONE, BASE_NONE, NULL, 0x0, "iq query streamhost", HFILL }}, { &hf_xmpp_query_streamhost_used, { "STREAMHOST-USED", "xmpp.query.streamhost-used", FT_NONE, BASE_NONE, NULL, 0x0, "iq query streamhost-used", HFILL }}, { &hf_xmpp_query_activate, { "ACTIVATE", "xmpp.query.activate", FT_STRING, BASE_NONE, NULL, 0x0, "iq query activate", HFILL }}, { &hf_xmpp_query_udpsuccess, { "UDPSUCCESS", "xmpp.query.udpsuccess", FT_NONE, BASE_NONE, NULL, 0x0, "iq query streamhost-used", HFILL }}, { &hf_xmpp_error, { "ERROR", "xmpp.error", FT_NONE, BASE_NONE, NULL, 0x0, "iq error", HFILL }}, { &hf_xmpp_error_code, { "code", "xmpp.error.code", FT_STRING, BASE_NONE, NULL, 0x0, "iq stanza error code", HFILL }}, { &hf_xmpp_error_type, { "type", "xmpp.error.type", FT_STRING, BASE_NONE, NULL, 0x0, "iq error type", HFILL }}, { &hf_xmpp_error_condition, { "CONDITION", "xmpp.error.condition", FT_STRING, BASE_NONE, NULL, 0x0, "iq error condition", HFILL }}, { &hf_xmpp_error_text, { "TEXT", "xmpp.error.text", FT_STRING, BASE_NONE, NULL, 0x0, "iq error text", HFILL }}, { &hf_xmpp_iq_bind, { "BIND", "xmpp.iq.bind", FT_NONE, BASE_NONE, NULL, 0x0, "iq bind", HFILL }}, { &hf_xmpp_iq_bind_jid, { "jid", "xmpp.iq.bind.jid", FT_STRING, BASE_NONE, NULL, 0x0, "iq bind jid", HFILL }}, { &hf_xmpp_iq_bind_resource, { "resource", "xmpp.iq.bind.resource", FT_STRING, BASE_NONE, NULL, 0x0, "iq bind resource", HFILL }}, { &hf_xmpp_services, { "SERVICES", "xmpp.services", FT_NONE, BASE_NONE, NULL, 0x0, "http://jabber.org/protocol/jinglenodes services", HFILL }}, { &hf_xmpp_channel, { "CHANNEL", "xmpp.channel", FT_NONE, BASE_NONE, NULL, 0x0, "http://jabber.org/protocol/jinglenodes#channel", HFILL }}, { &hf_xmpp_iq_session, { "SESSION", "xmpp.iq.session", FT_NONE, BASE_NONE, NULL, 0x0, "iq session", HFILL }}, { &hf_xmpp_vcard, { "VCARD", "xmpp.vcard", FT_NONE, BASE_NONE, NULL, 0x0, "vcard-temp", HFILL }}, { &hf_xmpp_vcard_x_update, { "X VCARD-UPDATE", "xmpp.vcard-update", FT_NONE, BASE_NONE, NULL, 0x0, "vcard-temp:x:update", HFILL }}, { &hf_xmpp_jingle, { "JINGLE", "xmpp.jingle", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle", HFILL }}, { &hf_xmpp_jingle_action, { "action", "xmpp.jingle.action", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle action", HFILL }}, { &hf_xmpp_jingle_sid, { "sid", "xmpp.jingle.sid", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle sid", HFILL }}, { &hf_xmpp_jingle_initiator, { "initiator", "xmpp.jingle.initiator", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle initiator", HFILL }}, { &hf_xmpp_jingle_responder, { "responder", "xmpp.jingle.responder", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle responder", HFILL }}, { &hf_xmpp_jingle_content, { "CONTENT", "xmpp.jingle.content", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content", HFILL }}, { &hf_xmpp_jingle_content_creator, { "creator", "xmpp.jingle.content.creator", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content creator", HFILL }}, { &hf_xmpp_jingle_content_name, { "name", "xmpp.jingle.content.name", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content name", HFILL }}, { &hf_xmpp_jingle_content_disposition, { "disposition", "xmpp.jingle.content.disposition", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content disposition", HFILL }}, { &hf_xmpp_jingle_content_senders, { "senders", "xmpp.jingle.content.senders", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content senders", HFILL }}, { &hf_xmpp_jingle_content_description, { "DESCRIPTION", "xmpp.jingle.content.description", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content description", HFILL }}, { &hf_xmpp_jingle_content_description_media, { "media", "xmpp.jingle.content.description.media", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description", HFILL }}, { &hf_xmpp_jingle_content_description_ssrc, { "ssrc", "xmpp.jingle.content.description.ssrc", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description ssrc", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload, { "PAYLOAD-TYPE", "xmpp.jingle.content.description.payload-type", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_id, { "id", "xmpp.jingle.content.description.payload-type.id", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type id", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_channels, { "channels", "xmpp.jingle.content.description.payload-type.channels", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type channels", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_clockrate, { "clockrate", "xmpp.jingle.content.description.payload-type.clockrate", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type clockrate", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_maxptime, { "maxptime", "xmpp.jingle.content.description.payload-type.maxptime", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type maxptime", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_name, { "name", "xmpp.jingle.content.description.payload-type.name", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type name", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_ptime, { "ptime", "xmpp.jingle.content.description.payload-type.ptime", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type ptime", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_param, { "PARAMETER", "xmpp.jingle.content.description.payload-type.parameter", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type parameter", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_param_name, { "name", "xmpp.jingle.content.description.payload-type.parameter.name", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type parameter name", HFILL }}, { &hf_xmpp_jingle_cont_desc_payload_param_value, { "value", "xmpp.jingle.content.description.payload-type.parameter.value", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content description payload-type parameter value", HFILL }}, { &hf_xmpp_jingle_cont_trans, { "TRANSPORT", "xmpp.jingle.content.transport", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content transport", HFILL }}, { &hf_xmpp_jingle_cont_trans_ufrag, { "ufrag", "xmpp.jingle.content.transport.ufrag", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content transport ufrag", HFILL }}, { &hf_xmpp_jingle_cont_trans_pwd, { "pwd", "xmpp.jingle.content.transport.pwd", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle content transport pwd", HFILL }}, { &hf_xmpp_jingle_cont_trans_cand, { "CANDIDATE", "xmpp.jingle.content.transport.candidate", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content transport candidate", HFILL }}, { &hf_xmpp_jingle_cont_trans_rem_cand, { "REMOTE-CANDIDATE", "xmpp.jingle.content.transport.remote-candidate", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content transport remote-candidate", HFILL }}, { &hf_xmpp_jingle_cont_trans_activated, { "ACTIVATED", "xmpp.jingle.content.transport.activated", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:transports:s5b:1 activated", HFILL }}, { &hf_xmpp_jingle_cont_trans_candidate_used, { "CANDIDATE-USED", "xmpp.jingle.content.transport.candidate-used", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:transports:s5b:1 candidate-used", HFILL }}, { &hf_xmpp_jingle_cont_trans_candidate_error, { "CANDIDATE-ERROR", "xmpp.jingle.content.transport.candidate-error", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:transports:s5b:1 candidate-error", HFILL }}, { &hf_xmpp_jingle_cont_trans_proxy_error, { "PROXY-ERROR", "xmpp.jingle.content.transport.proxy-error", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:transports:s5b:1 proxy-error", HFILL }}, { &hf_xmpp_jingle_cont_desc_enc, { "ENCRYPTION", "xmpp.jingle.content.description.encryption", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content description encryption", HFILL }}, { &hf_xmpp_jingle_cont_desc_enc_zrtp_hash, { "ZRTP-HASH", "xmpp.jingle.content.description.encryption.zrtp-hash", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content description encryption zrtp-hash", HFILL }}, { &hf_xmpp_jingle_cont_desc_enc_crypto, { "CRYPTO", "xmpp.jingle.content.description.encryption.crypto", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content description encryption crypto", HFILL }}, { &hf_xmpp_jingle_cont_desc_bandwidth, { "BANDWIDTH", "xmpp.jingle.content.description.bandwidth", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content description bandwidth", HFILL }}, { &hf_xmpp_jingle_cont_desc_rtp_hdr, { "RTP-HDREXT", "xmpp.jingle.content.description.rtp-hdrext", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle content description rtp-hdrext", HFILL }}, { &hf_xmpp_jingle_reason, { "REASON", "xmpp.jingle.reason", FT_NONE, BASE_NONE, NULL, 0x0, "iq jingle reason", HFILL }}, { &hf_xmpp_jingle_reason_condition, { "CONDITION", "xmpp.jingle.reason.condition", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle reason condition", HFILL }}, { &hf_xmpp_jingle_reason_text, { "TEXT", "xmpp.jingle.reason.text", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle reason text", HFILL }}, { &hf_xmpp_jingle_rtp_info, { "RTP-INFO", "xmpp.jingle.rtp_info", FT_STRING, BASE_NONE, NULL, 0x0, "iq jingle rtp-info(ringing, active, hold, mute, ...)", HFILL }}, { &hf_xmpp_jingle_file_transfer_offer, { "OFFER", "xmpp.jingle.content.description.offer", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:apps:file-transfer:3 offer", HFILL }}, { &hf_xmpp_jingle_file_transfer_request, { "REQUEST", "xmpp.jingle.content.description.request", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:apps:file-transfer:3 request", HFILL }}, { &hf_xmpp_jingle_file_transfer_received, { "RECEIVED", "xmpp.jingle.content.received", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:apps:file-transfer:3 received", HFILL }}, { &hf_xmpp_jingle_file_transfer_abort, { "ABORT", "xmpp.jingle.content.abort", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:apps:file-transfer:3 abort", HFILL }}, { &hf_xmpp_jingle_file_transfer_checksum, { "CHECKSUM", "xmpp.jingle.content.checksum", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:jingle:apps:file-transfer:3 checksum", HFILL }}, { &hf_xmpp_si, { "SI", "xmpp.si", FT_NONE, BASE_NONE, NULL, 0x0, "iq si", HFILL }}, { &hf_xmpp_si_file, { "FILE", "xmpp.si.file", FT_NONE, BASE_NONE, NULL, 0x0, "iq si file", HFILL }}, { &hf_xmpp_iq_feature_neg, { "FEATURE", "xmpp.feature-neg", FT_NONE, BASE_NONE, NULL, 0x0, "http://jabber.org/protocol/feature-neg", HFILL }}, { &hf_xmpp_x_data, { "X-DATA", "xmpp.x-data", FT_NONE, BASE_NONE, NULL, 0x0, "jabber:x:data", HFILL }}, { &hf_xmpp_x_data_field, { "FIELD", "xmpp.x-data.field", FT_NONE, BASE_NONE, NULL, 0x0, "jabber:x:data field", HFILL }}, { &hf_xmpp_x_data_field_value, { "VALUE", "xmpp.x-data.field.value", FT_NONE, BASE_NONE, NULL, 0x0, "jabber:x:data field value", HFILL }}, { &hf_xmpp_x_data_instructions, { "INSTRUCTIONS", "xmpp.x-data.instructions", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_muc_user_status, { "STATUS", "xmpp.muc_user_status", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_delay, { "DELAY", "xmpp.delay", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:delay", HFILL }}, { &hf_xmpp_x_event, { "X EVENT", "xmpp.x-event", FT_NONE, BASE_NONE, NULL, 0x0, "jabber:x:event", HFILL }}, { &hf_xmpp_x_event_condition, { "CONDITION", "xmpp.x-event.condition", FT_STRING, BASE_NONE, NULL, 0x0, "jabber:x:event condition", HFILL }}, { &hf_xmpp_presence, { "PRESENCE", "xmpp.presence", FT_NONE, BASE_NONE, NULL, 0x0, "presence packet", HFILL }}, { &hf_xmpp_presence_show, { "SHOW", "xmpp.presence.show", FT_STRING, BASE_NONE, NULL, 0x0, "presence show", HFILL }}, { &hf_xmpp_presence_status, { "STATUS", "xmpp.presence.status", FT_NONE, BASE_NONE, NULL, 0x0, "presence status", HFILL }}, { &hf_xmpp_presence_caps, { "CAPS", "xmpp.presence.caps", FT_NONE, BASE_NONE, NULL, 0x0, "presence caps", HFILL }}, { &hf_xmpp_message, { "MESSAGE", "xmpp.message", FT_NONE, BASE_NONE, NULL, 0x0, "message packet", HFILL }}, { &hf_xmpp_message_chatstate, { "CHATSTATE", "xmpp.message.chatstate", FT_STRING, BASE_NONE, NULL, 0x0, "message chatstate", HFILL }}, { &hf_xmpp_message_thread, { "THREAD", "xmpp.message.thread", FT_NONE, BASE_NONE, NULL, 0x0, "message thread", HFILL }}, { &hf_xmpp_message_body, { "BODY", "xmpp.message.body", FT_NONE, BASE_NONE, NULL, 0x0, "message body", HFILL }}, { &hf_xmpp_message_subject, { "SUBJECT", "xmpp.message.subject", FT_NONE, BASE_NONE, NULL, 0x0, "message subject", HFILL }}, { &hf_xmpp_message_thread_parent, { "parent", "xmpp.message.thread.parent", FT_STRING, BASE_NONE, NULL, 0x0, "message thread parent", HFILL }}, { &hf_xmpp_auth, { "AUTH", "xmpp.auth", FT_NONE, BASE_NONE, NULL, 0x0, "auth packet", HFILL }}, { &hf_xmpp_stream, { "STREAM", "xmpp.stream", FT_NONE, BASE_NONE, NULL, 0x0, "XMPP stream", HFILL }}, { &hf_xmpp_failure, { "FAILURE", "xmpp.failure", FT_NONE, BASE_NONE, NULL, 0x0, "failure packet", HFILL }}, { &hf_xmpp_failure_text, { "FAILURE TEXT", "xmpp.failure_text", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_xml_header_version, { "XML HEADER VER", "xmpp.xml_header_version", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_stream_end, { "STREAM END", "xmpp.stream_end", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_features, { "FEATURES", "xmpp.features", FT_NONE, BASE_NONE, NULL, 0x0, "stream features", HFILL }}, { &hf_xmpp_starttls, { "STARTTLS", "xmpp.starttls", FT_NONE, BASE_NONE, NULL, 0x0, "starttls packet", HFILL }}, { &hf_xmpp_proceed, { "PROCEED", "xmpp.proceed", FT_NONE, BASE_NONE, NULL, 0x0, "proceed packet", HFILL }}, { &hf_xmpp_unknown, { "UNKNOWN", "xmpp.unknown", FT_STRING, BASE_NONE, NULL, 0x0, "unknown element", HFILL }}, { &hf_xmpp_unknown_attr, { "UNKNOWN ATTR", "xmpp.unknown_attr", FT_STRING, BASE_NONE, NULL, 0x0, "unknown attribute", HFILL }}, { &hf_xmpp_ibb_open, { "IBB-OPEN", "xmpp.ibb.open", FT_NONE, BASE_NONE, NULL, 0x0, "xmpp ibb open", HFILL }}, { &hf_xmpp_ibb_close, { "IBB-CLOSE", "xmpp.ibb.close", FT_NONE, BASE_NONE, NULL, 0x0, "xmpp ibb close", HFILL }}, { &hf_xmpp_ibb_data, { "IBB-DATA", "xmpp.ibb.data", FT_NONE, BASE_NONE, NULL, 0x0, "xmpp ibb data", HFILL }}, { &hf_xmpp_muc_x, { "X MUC", "xmpp.muc-x", FT_NONE, BASE_NONE, NULL, 0x0, "http://jabber.org/protocol/muc", HFILL }}, { &hf_xmpp_muc_user_x, { "X MUC-USER", "xmpp.muc-user-x", FT_NONE, BASE_NONE, NULL, 0x0, "http://jabber.org/protocol/muc#user", HFILL }}, { &hf_xmpp_muc_user_item, { "ITEM", "xmpp.muc-user-x.item", FT_NONE, BASE_NONE, NULL, 0x0, "muc#user item", HFILL }}, { &hf_xmpp_muc_user_invite, { "INVITE", "xmpp.muc-user-x.invite", FT_NONE, BASE_NONE, NULL, 0x0, "muc#user invite", HFILL }}, { &hf_xmpp_gtalk_session, { "GTALK-SESSION", "xmpp.gtalk.session", FT_NONE, BASE_NONE, NULL, 0x0, "GTalk session", HFILL }}, { &hf_xmpp_gtalk_session_type, { "type", "xmpp.gtalk.session.type", FT_STRING, BASE_NONE, NULL, 0x0, "GTalk session type", HFILL }}, { &hf_xmpp_gtalk, { "GTALK SESSION", "xmpp.gtalk", FT_STRING, BASE_NONE, NULL, 0x0, "GTalk SID", HFILL }}, { &hf_xmpp_gtalk_setting, { "USERSETTING", "xmpp.gtalk.setting", FT_NONE, BASE_NONE, NULL, 0x0, "google:setting usersetting", HFILL }}, { &hf_xmpp_gtalk_setting_element, { "USERSETTING ELEMENT", "xmpp.gtalk.setting_element", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_gtalk_nosave_x, { "X-NOSAVE", "xmpp.gtalk.nosave.x", FT_NONE, BASE_NONE, NULL, 0x0, "google:nosave x", HFILL }}, { &hf_xmpp_gtalk_mail_mailbox, { "MAILBOX", "xmpp.gtalk.mailbox", FT_NONE, BASE_NONE, NULL, 0x0, "google:mail:notify mailbox", HFILL }}, { &hf_xmpp_gtalk_mail_new_mail, { "NEW MAIL", "xmpp.gtalk.new-mail", FT_NONE, BASE_NONE, NULL, 0x0, "google:mail:notify new-mail", HFILL }}, { &hf_xmpp_gtalk_transport_p2p, { "TRANSPORT", "xmpp.gtalk.transport-p2p", FT_NONE, BASE_NONE, NULL, 0x0, "google/transport/p2p", HFILL }}, { &hf_xmpp_gtalk_mail_snippet, { "SNIPPET", "xmpp.gtalk.mail_snippet", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_gtalk_status_status_list, { "STATUS", "xmpp.gtalk.status_status_list", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_xmpp_conf_info, { "CONFERENCE INFO", "xmpp.conf-info", FT_NONE, BASE_NONE, NULL, 0x0, "urn:ietf:params:xml:ns:conference-info", HFILL }}, { &hf_xmpp_conf_info_sid, { "sid", "xmpp.conf-info.sid", FT_STRING, BASE_NONE, NULL, 0x0, "urn:ietf:params:xml:ns:conference-info sid", HFILL }}, { &hf_xmpp_response_in, { "Response In", "xmpp.response_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "The response to this request is in this frame", HFILL } }, { &hf_xmpp_response_to, { "Request In", "xmpp.response_to", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "This is a response to the request in this frame", HFILL } }, { &hf_xmpp_out, { "Out", "xmpp.out", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "Outgoing packet", HFILL }}, { &hf_xmpp_in, { "In", "xmpp.in", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "Ingoing packet", HFILL }}, { &hf_xmpp_ibb, { "IBB SESSION", "xmpp.ibb", FT_STRING, BASE_NONE, NULL, 0x0, "In-Band Bytestreams session", HFILL }}, { &hf_xmpp_jingle_session, { "JINGLE SESSION", "xmpp.jingle_session", FT_STRING, BASE_NONE, NULL, 0x0, "Jingle SID", HFILL }}, { &hf_xmpp_ping, { "PING", "xmpp.ping", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:ping", HFILL }}, { &hf_xmpp_hashes, { "HASHES", "xmpp.hashes", FT_NONE, BASE_NONE, NULL, 0x0, "urn:xmpp:hashes:0", HFILL }}, { &hf_xmpp_jitsi_inputevt, { "INPUTEVT", "xmpp.inputevt", FT_NONE, BASE_NONE, NULL, 0x0, "http://jitsi.org/protocol/inputevt", HFILL }}, { &hf_xmpp_jitsi_inputevt_rmt_ctrl, { "REMOTE-CONTROL", "xmpp.inputevt.remote-control", FT_NONE, BASE_NONE, NULL, 0x0, "http://jitsi.org/protocol/inputevt remote-control", HFILL }}, }; static gint * ett[] = { &ett_xmpp, &ett_xmpp_iq, &ett_xmpp_query, &ett_xmpp_query_item, &ett_xmpp_query_identity, &ett_xmpp_query_feature, &ett_xmpp_query_streamhost, &ett_xmpp_query_streamhost_used, &ett_xmpp_query_udpsuccess, &ett_xmpp_iq_error, &ett_xmpp_iq_bind, &ett_xmpp_iq_session, &ett_xmpp_vcard, &ett_xmpp_vcard_x_update, &ett_xmpp_jingle, &ett_xmpp_jingle_content, &ett_xmpp_jingle_content_description, &ett_xmpp_jingle_cont_desc_payload, &ett_xmpp_jingle_cont_desc_payload_param, &ett_xmpp_jingle_cont_desc_enc, &ett_xmpp_jingle_cont_desc_enc_zrtp_hash, &ett_xmpp_jingle_cont_desc_enc_crypto, &ett_xmpp_jingle_cont_desc_bandwidth, &ett_xmpp_jingle_cont_desc_rtp_hdr, &ett_xmpp_jingle_cont_trans, &ett_xmpp_jingle_cont_trans_cand, &ett_xmpp_jingle_cont_trans_rem_cand, &ett_xmpp_jingle_reason, &ett_xmpp_jingle_rtp_info, &ett_xmpp_services, &ett_xmpp_services_relay, &ett_xmpp_channel, &ett_xmpp_si, &ett_xmpp_si_file, &ett_xmpp_si_file_range, &ett_xmpp_iq_feature_neg, &ett_xmpp_x_data, &ett_xmpp_x_data_field, &ett_xmpp_x_data_field_value, &ett_xmpp_ibb_open, &ett_xmpp_ibb_close, &ett_xmpp_ibb_data, &ett_xmpp_delay, &ett_xmpp_x_event, &ett_xmpp_message, &ett_xmpp_message_thread, &ett_xmpp_message_subject, &ett_xmpp_message_body, &ett_xmpp_presence, &ett_xmpp_presence_status, &ett_xmpp_presence_caps, &ett_xmpp_auth, &ett_xmpp_challenge, &ett_xmpp_response, &ett_xmpp_success, &ett_xmpp_failure, &ett_xmpp_muc_x, &ett_xmpp_muc_hist, &ett_xmpp_muc_user_x, &ett_xmpp_muc_user_item, &ett_xmpp_muc_user_invite, &ett_xmpp_gtalk_session, &ett_xmpp_gtalk_session_desc, &ett_xmpp_gtalk_session_desc_payload, &ett_xmpp_gtalk_session_cand, &ett_xmpp_gtalk_session_reason, &ett_xmpp_gtalk_jingleinfo_stun, &ett_xmpp_gtalk_jingleinfo_server, &ett_xmpp_gtalk_jingleinfo_relay, &ett_xmpp_gtalk_jingleinfo_relay_serv, &ett_xmpp_gtalk_setting, &ett_xmpp_gtalk_nosave_x, &ett_xmpp_gtalk_mail_mailbox, &ett_xmpp_gtalk_mail_mail_info, &ett_xmpp_gtalk_mail_senders, &ett_xmpp_gtalk_mail_sender, &ett_xmpp_gtalk_status_status_list, &ett_xmpp_conf_info, &ett_xmpp_conf_desc, &ett_xmpp_conf_state, &ett_xmpp_conf_users, &ett_xmpp_conf_user, &ett_xmpp_conf_endpoint, &ett_xmpp_conf_media, &ett_xmpp_gtalk_transport_p2p, &ett_xmpp_gtalk_transport_p2p_cand, &ett_xmpp_ping, &ett_xmpp_hashes_hash, &ett_xmpp_hashes, &ett_xmpp_jingle_file_transfer_offer, &ett_xmpp_jingle_file_transfer_request, &ett_xmpp_jingle_file_transfer_received, &ett_xmpp_jingle_file_transfer_abort, &ett_xmpp_jingle_file_transfer_checksum, &ett_xmpp_jingle_file_transfer_file, &ett_xmpp_jitsi_inputevt, &ett_xmpp_jitsi_inputevt_rmt_ctrl, &ett_xmpp_stream, &ett_xmpp_features, &ett_xmpp_features_mechanisms, &ett_xmpp_starttls, &ett_xmpp_proceed, }; static ei_register_info ei[] = { { &ei_xmpp_xml_disabled, { "xmpp.xml_disabled", PI_UNDECODED, PI_WARN, "XML dissector disabled, can't dissect XMPP", EXPFILL }}, { &ei_xmpp_packet_unknown, { "xmpp.packet_unknown", PI_UNDECODED, PI_NOTE, "Unknown packet", EXPFILL }}, { &ei_xmpp_packet_without_response, { "xmpp.packet_without_response", PI_PROTOCOL, PI_CHAT, "Packet without response", EXPFILL }}, { &ei_xmpp_response, { "xmpp.response", PI_RESPONSE_CODE, PI_CHAT, "RESPONSE", EXPFILL }}, { &ei_xmpp_challenge, { "xmpp.challenge", PI_RESPONSE_CODE, PI_CHAT, "CHALLENGE", EXPFILL }}, { &ei_xmpp_success, { "xmpp.success", PI_RESPONSE_CODE, PI_CHAT, "SUCCESS", EXPFILL }}, { &ei_xmpp_starttls_already_in_frame, { "xmpp.starttls.already_in_frame", PI_PROTOCOL, PI_WARN, "Already saw STARTTLS in frame X", EXPFILL }}, { &ei_xmpp_starttls_missing, { "xmpp.starttls.missing", PI_PROTOCOL, PI_WARN, "Haven't seen a STARTTLS, did the capture start in the middle of a session?", EXPFILL }}, { &ei_xmpp_proceed_already_in_frame, { "xmpp.proceed.already_in_frame", PI_PROTOCOL, PI_WARN, "Already saw PROCEED in frame X", EXPFILL }}, { &ei_xmpp_unknown_element, { "xmpp.unknown.element", PI_UNDECODED, PI_NOTE, "Unknown element", EXPFILL }}, { &ei_xmpp_unknown_attribute, { "xmpp.unknown.attribute", PI_UNDECODED, PI_NOTE, "Unknown attribute", EXPFILL }}, { &ei_xmpp_required_attribute, { "xmpp.required_attribute", PI_PROTOCOL, PI_WARN, "Required attribute doesn't appear", EXPFILL }}, { &ei_xmpp_field_unexpected_value, { "xmpp.field.unexpected_value", PI_PROTOCOL, PI_WARN, "Field has unexpected value", EXPFILL }}, }; module_t *xmpp_module; expert_module_t* expert_xmpp; static gint* ett_unknown_ptr[ETT_UNKNOWN_LEN]; gint i; for(i=0;i<ETT_UNKNOWN_LEN;i++) { ett_unknown[i] = -1; ett_unknown_ptr[i] = &ett_unknown[i]; } proto_xmpp = proto_register_protocol( "XMPP Protocol", /* name */ "XMPP", /* short name */ "xmpp" /* abbrev */ ); xmpp_module = prefs_register_protocol(proto_xmpp, NULL); prefs_register_bool_preference(xmpp_module, "desegment", "Reassemble XMPP messages", "Whether the XMPP dissector should reassemble messages. " "To use this option, you must also enable" " \"Allow subdissectors to reassemble TCP streams\"" " in the TCP protocol settings", &xmpp_desegment); proto_register_field_array(proto_xmpp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); proto_register_subtree_array(ett_unknown_ptr, array_length(ett_unknown_ptr)); expert_xmpp = expert_register_protocol(proto_xmpp); expert_register_field_array(expert_xmpp, ei, array_length(ei)); xmpp_handle = register_dissector("xmpp", dissect_xmpp, proto_xmpp); xmpp_init_parsers(); } void proto_reg_handoff_xmpp(void) { xml_handle = find_dissector_add_dependency("xml", proto_xmpp); dissector_add_uint_with_preference("tcp.port", XMPP_PORT, xmpp_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-xmpp.h
/* packet-xmpp.h * * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_XMPP_H #define PACKET_XMPP_H #include <epan/expert.h> #define ETT_UNKNOWN_LEN 20 /*#define XMPP_DEBUG*/ extern int proto_xmpp; extern gint hf_xmpp_xmlns; extern gint hf_xmpp_id; extern gint hf_xmpp_from; extern gint hf_xmpp_to; extern gint hf_xmpp_type; extern gint hf_xmpp_cdata; extern gint hf_xmpp_attribute; extern gint hf_xmpp_iq; extern gint hf_xmpp_query; extern gint hf_xmpp_query_node; extern gint hf_xmpp_query_item; extern gint hf_xmpp_query_item_jid; extern gint hf_xmpp_query_item_name; extern gint hf_xmpp_query_item_subscription; extern gint hf_xmpp_query_item_ask; extern gint hf_xmpp_query_item_group; extern gint hf_xmpp_query_item_node; extern gint hf_xmpp_query_item_approved; extern gint hf_xmpp_query_identity; extern gint hf_xmpp_query_identity_category; extern gint hf_xmpp_query_identity_type; extern gint hf_xmpp_query_identity_name; extern gint hf_xmpp_query_feature; extern gint hf_xmpp_query_streamhost; extern gint hf_xmpp_query_streamhost_used; extern gint hf_xmpp_query_activate; extern gint hf_xmpp_query_udpsuccess; extern gint hf_xmpp_error; extern gint hf_xmpp_error_type; extern gint hf_xmpp_error_code; extern gint hf_xmpp_error_condition; extern gint hf_xmpp_error_text; extern gint hf_xmpp_iq_bind; extern gint hf_xmpp_iq_bind_jid; extern gint hf_xmpp_iq_bind_resource; extern gint hf_xmpp_services; extern gint hf_xmpp_channel; extern gint hf_xmpp_iq_session; extern gint hf_xmpp_features; extern gint hf_xmpp_vcard; extern gint hf_xmpp_vcard_x_update; extern gint hf_xmpp_jingle; extern gint hf_xmpp_jingle_sid; extern gint hf_xmpp_jingle_initiator; extern gint hf_xmpp_jingle_responder; extern gint hf_xmpp_jingle_action; extern gint hf_xmpp_jingle_content; extern gint hf_xmpp_jingle_content_creator; extern gint hf_xmpp_jingle_content_name; extern gint hf_xmpp_jingle_content_disposition; extern gint hf_xmpp_jingle_content_senders; extern gint hf_xmpp_jingle_content_description; extern gint hf_xmpp_jingle_content_description_media; extern gint hf_xmpp_jingle_content_description_ssrc; extern gint hf_xmpp_jingle_cont_desc_payload; extern gint hf_xmpp_jingle_cont_desc_payload_id; extern gint hf_xmpp_jingle_cont_desc_payload_channels; extern gint hf_xmpp_jingle_cont_desc_payload_clockrate; extern gint hf_xmpp_jingle_cont_desc_payload_maxptime; extern gint hf_xmpp_jingle_cont_desc_payload_name; extern gint hf_xmpp_jingle_cont_desc_payload_ptime; extern gint hf_xmpp_jingle_cont_desc_payload_param; extern gint hf_xmpp_jingle_cont_desc_payload_param_value; extern gint hf_xmpp_jingle_cont_desc_payload_param_name; extern gint hf_xmpp_jingle_cont_desc_enc; extern gint hf_xmpp_jingle_cont_desc_enc_zrtp_hash; extern gint hf_xmpp_jingle_cont_desc_enc_crypto; extern gint hf_xmpp_jingle_cont_desc_rtp_hdr; extern gint hf_xmpp_jingle_cont_desc_bandwidth; extern gint hf_xmpp_jingle_cont_trans; extern gint hf_xmpp_jingle_cont_trans_pwd; extern gint hf_xmpp_jingle_cont_trans_ufrag; extern gint hf_xmpp_jingle_cont_trans_cand; extern gint hf_xmpp_jingle_cont_trans_rem_cand; extern gint hf_xmpp_jingle_cont_trans_activated; extern gint hf_xmpp_jingle_cont_trans_candidate_used; extern gint hf_xmpp_jingle_cont_trans_candidate_error; extern gint hf_xmpp_jingle_cont_trans_proxy_error; extern gint hf_xmpp_jingle_reason; extern gint hf_xmpp_jingle_reason_condition; extern gint hf_xmpp_jingle_reason_text; extern gint hf_xmpp_jingle_rtp_info; extern gint hf_xmpp_jingle_file_transfer_offer; extern gint hf_xmpp_jingle_file_transfer_request; extern gint hf_xmpp_jingle_file_transfer_received; extern gint hf_xmpp_jingle_file_transfer_abort; extern gint hf_xmpp_jingle_file_transfer_checksum; extern gint hf_xmpp_si; extern gint hf_xmpp_si_file; extern gint hf_xmpp_iq_feature_neg; extern gint hf_xmpp_x_data; extern gint hf_xmpp_x_data_field; extern gint hf_xmpp_x_data_field_value; extern gint hf_xmpp_x_data_instructions; extern gint hf_xmpp_muc_user_status; extern gint hf_xmpp_message; extern gint hf_xmpp_message_chatstate; extern gint hf_xmpp_message_thread; extern gint hf_xmpp_message_thread_parent; extern gint hf_xmpp_message_body; extern gint hf_xmpp_message_subject; extern gint hf_xmpp_ibb_open; extern gint hf_xmpp_ibb_close; extern gint hf_xmpp_ibb_data; extern gint hf_xmpp_delay; extern gint hf_xmpp_x_event; extern gint hf_xmpp_x_event_condition; extern gint hf_xmpp_presence; extern gint hf_xmpp_presence_show; extern gint hf_xmpp_presence_status; extern gint hf_xmpp_presence_caps; extern gint hf_xmpp_auth; extern gint hf_xmpp_failure; extern gint hf_xmpp_failure_text; extern gint hf_xmpp_stream; extern gint hf_xmpp_starttls; extern gint hf_xmpp_proceed; extern gint hf_xmpp_xml_header_version; extern gint hf_xmpp_stream_end; extern gint hf_xmpp_muc_x; extern gint hf_xmpp_muc_user_x; extern gint hf_xmpp_muc_user_item; extern gint hf_xmpp_muc_user_invite; extern gint hf_xmpp_gtalk_session; extern gint hf_xmpp_gtalk_session_type; extern gint hf_xmpp_gtalk; extern gint hf_xmpp_gtalk_setting; extern gint hf_xmpp_gtalk_setting_element; extern gint hf_xmpp_gtalk_nosave_x; extern gint hf_xmpp_gtalk_mail_mailbox; extern gint hf_xmpp_gtalk_mail_new_mail; extern gint hf_xmpp_gtalk_transport_p2p; extern gint hf_xmpp_gtalk_mail_snippet; extern gint hf_xmpp_gtalk_status_status_list; extern gint hf_xmpp_conf_info; extern gint hf_xmpp_conf_info_sid; extern gint hf_xmpp_unknown; extern gint hf_xmpp_unknown_attr; extern gint hf_xmpp_response_in; extern gint hf_xmpp_response_to; extern gint hf_xmpp_jingle_session; extern gint hf_xmpp_ibb; extern gint hf_xmpp_ping; extern gint hf_xmpp_hashes; extern gint hf_xmpp_jitsi_inputevt; extern gint hf_xmpp_jitsi_inputevt_rmt_ctrl; extern gint ett_xmpp_iq; extern gint ett_xmpp_query; extern gint ett_xmpp_query_item; extern gint ett_xmpp_query_identity; extern gint ett_xmpp_query_streamhost; extern gint ett_xmpp_query_streamhost_used; extern gint ett_xmpp_query_udpsuccess; extern gint ett_xmpp_iq_bind; extern gint ett_xmpp_iq_session; extern gint ett_xmpp_vcard; extern gint ett_xmpp_vcard_x_update; extern gint ett_xmpp_jingle; extern gint ett_xmpp_jingle_content; extern gint ett_xmpp_jingle_content_description; extern gint ett_xmpp_jingle_cont_desc_enc; extern gint ett_xmpp_jingle_cont_desc_enc_zrtp_hash; extern gint ett_xmpp_jingle_cont_desc_enc_crypto; extern gint ett_xmpp_jingle_cont_desc_rtp_hdr; extern gint ett_xmpp_jingle_cont_desc_bandwidth; extern gint ett_xmpp_jingle_cont_desc_payload; extern gint ett_xmpp_jingle_cont_desc_payload_param; extern gint ett_xmpp_jingle_cont_trans; extern gint ett_xmpp_jingle_cont_trans_cand; extern gint ett_xmpp_jingle_cont_trans_rem_cand; extern gint ett_xmpp_jingle_reason; extern gint ett_xmpp_jingle_rtp_info; extern gint ett_xmpp_jingle_file_transfer_offer; extern gint ett_xmpp_jingle_file_transfer_request; extern gint ett_xmpp_jingle_file_transfer_received; extern gint ett_xmpp_jingle_file_transfer_abort; extern gint ett_xmpp_jingle_file_transfer_checksum; extern gint ett_xmpp_jingle_file_transfer_file; extern gint ett_xmpp_services; extern gint ett_xmpp_services_relay; extern gint ett_xmpp_channel; extern gint ett_xmpp_si; extern gint ett_xmpp_si_file; extern gint ett_xmpp_si_file_range; extern gint ett_xmpp_iq_feature_neg; extern gint ett_xmpp_x_data; extern gint ett_xmpp_x_data_field; extern gint ett_xmpp_x_data_field_value; extern gint ett_xmpp_ibb_open; extern gint ett_xmpp_ibb_close; extern gint ett_xmpp_ibb_data; extern gint ett_xmpp_delay; extern gint ett_xmpp_x_event; extern gint ett_xmpp_message; extern gint ett_xmpp_message_thread; extern gint ett_xmpp_message_body; extern gint ett_xmpp_message_subject; extern gint ett_xmpp_presence; extern gint ett_xmpp_presence_status; extern gint ett_xmpp_presence_caps; extern gint ett_xmpp_auth; extern gint ett_xmpp_failure; extern gint ett_xmpp_stream; extern gint ett_xmpp_features; extern gint ett_xmpp_features_mechanisms; extern gint ett_xmpp_proceed; extern gint ett_xmpp_starttls; extern gint ett_xmpp_muc_x; extern gint ett_xmpp_muc_hist; extern gint ett_xmpp_muc_user_x; extern gint ett_xmpp_muc_user_item; extern gint ett_xmpp_muc_user_invite; extern gint ett_xmpp_gtalk_session; extern gint ett_xmpp_gtalk_session_desc; extern gint ett_xmpp_gtalk_session_desc_payload; extern gint ett_xmpp_gtalk_session_cand; extern gint ett_xmpp_gtalk_session_reason; extern gint ett_xmpp_gtalk_jingleinfo_stun; extern gint ett_xmpp_gtalk_jingleinfo_server; extern gint ett_xmpp_gtalk_jingleinfo_relay; extern gint ett_xmpp_gtalk_jingleinfo_relay_serv; extern gint ett_xmpp_gtalk_setting; extern gint ett_xmpp_gtalk_nosave_x; extern gint ett_xmpp_gtalk_mail_mailbox; extern gint ett_xmpp_gtalk_mail_mail_info; extern gint ett_xmpp_gtalk_mail_senders; extern gint ett_xmpp_gtalk_mail_sender; extern gint ett_xmpp_gtalk_status_status_list; extern gint ett_xmpp_gtalk_transport_p2p; extern gint ett_xmpp_gtalk_transport_p2p_cand; extern gint ett_xmpp_conf_info; extern gint ett_xmpp_conf_desc; extern gint ett_xmpp_conf_state; extern gint ett_xmpp_conf_users; extern gint ett_xmpp_conf_user; extern gint ett_xmpp_conf_endpoint; extern gint ett_xmpp_conf_media; extern gint ett_xmpp_ping; extern gint ett_xmpp_hashes; extern gint ett_xmpp_hashes_hash; extern gint ett_xmpp_jitsi_inputevt; extern gint ett_xmpp_jitsi_inputevt_rmt_ctrl; extern gint ett_unknown[ETT_UNKNOWN_LEN]; extern expert_field ei_xmpp_starttls_missing; extern expert_field ei_xmpp_response; extern expert_field ei_xmpp_proceed_already_in_frame; extern expert_field ei_xmpp_starttls_already_in_frame; extern expert_field ei_xmpp_packet_without_response; extern expert_field ei_xmpp_unknown_element; extern expert_field ei_xmpp_field_unexpected_value; extern expert_field ei_xmpp_unknown_attribute; extern expert_field ei_xmpp_required_attribute; #endif /* PACKET_XMPP_H */
C
wireshark/epan/dissectors/packet-xnap.c
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-xnap.c */ /* asn2wrs.py -L -p xnap -c ./xnap.cnf -s ./packet-xnap-template -D . -O ../.. XnAP-CommonDataTypes.asn XnAP-Constants.asn XnAP-Containers.asn XnAP-IEs.asn XnAP-PDU-Contents.asn XnAP-PDU-Descriptions.asn */ /* packet-xnap.c * Routines for dissecting NG-RAN Xn application protocol (XnAP) * 3GPP TS 38.423 packet dissection * Copyright 2018-2023, Pascal Quantin <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later * * Ref: * 3GPP TS 38.423 V17.5.0 (2023-06) */ #include "config.h" #include <epan/packet.h> #include <epan/asn1.h> #include <epan/prefs.h> #include <epan/sctpppids.h> #include <epan/proto_data.h> #include <epan/conversation.h> #include "packet-xnap.h" #include "packet-per.h" #include "packet-lte-rrc.h" #include "packet-nr-rrc.h" #include "packet-e212.h" #include "packet-ngap.h" #include "packet-s1ap.h" #include "packet-ranap.h" #include "packet-ntp.h" #include "packet-f1ap.h" #ifdef _MSC_VER /* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */ #pragma warning(disable:4146) #endif #define PNAME "NG-RAN Xn Application Protocol (XnAP)" #define PSNAME "XnAP" #define PFNAME "xnap" /* Dissector will use SCTP PPID 61 or SCTP port. IANA assigned port = 38422 */ #define SCTP_PORT_XnAP 38422 #define maxPrivateIEs 65535 #define maxProtocolExtensions 65535 #define maxProtocolIEs 65535 #define maxEARFCN 262143 #define maxnoofAllowedAreas 16 #define maxnoofAMFRegions 16 #define maxnoofAoIs 64 #define maxnoofBluetoothName 4 #define maxnoofBPLMNs 12 #define maxnoofCAGs 12 #define maxnoofCAGsperPLMN 256 #define maxnoofCellIDforMDT 32 #define maxnoofCellsinAoI 256 #define maxnoofCellsinUEHistoryInfo 16 #define maxnoofCellsinNG_RANnode 16384 #define maxnoofCellsinRNA 32 #define maxnoofCellsUEMovingTrajectory 16 #define maxnoofDRBs 32 #define maxnoofEUTRABands 16 #define maxnoofEUTRABPLMNs 6 #define maxnoofEPLMNs 15 #define maxnoofExtSliceItems 65535 #define maxnoofEPLMNsplus1 16 #define maxnoofForbiddenTACs 4096 #define maxnoofFreqforMDT 8 #define maxnoofMBSFNEUTRA 8 #define maxnoofMDTPLMNs 16 #define maxnoofMultiConnectivityMinusOne 3 #define maxnoofNeighbours 1024 #define maxnoofNeighPCIforMDT 32 #define maxnoofNIDs 12 #define maxnoofNRCellBands 32 #define maxnoofPLMNs 16 #define maxnoofPDUSessions 256 #define maxnoofProtectedResourcePatterns 16 #define maxnoofQoSFlows 64 #define maxnoofQoSParaSets 8 #define maxnoofRANAreaCodes 32 #define maxnoofRANAreasinRNA 16 #define maxnoofRANNodesinAoI 64 #define maxnoofSCellGroups 3 #define maxnoofSCellGroupsplus1 4 #define maxnoofSensorName 3 #define maxnoofSliceItems 1024 #define maxnoofSNPNIDs 12 #define maxnoofsupportedPLMNs 12 #define maxnoofsupportedTACs 256 #define maxnoofTAforMDT 8 #define maxnoofTAI 16 #define maxnoofTAIsinAoI 16 #define maxnooftimeperiods 2 #define maxnoofTNLAssociations 32 #define maxnoofUEContexts 8192 #define maxNRARFCN 3279165 #define maxNrOfErrors 256 #define maxnoofslots 5120 #define maxnoofExtTLAs 16 #define maxnoofGTPTLAs 16 #define maxnoofCHOcells 8 #define maxnoofPC5QoSFlows 2064 #define maxnoofSSBAreas 64 #define maxnoofRACHReports 64 #define maxnoofNRSCSs 5 #define maxnoofPhysicalResourceBlocks 275 #define maxnoofAdditionalPDCPDuplicationTNL 2 #define maxnoofRLCDuplicationstate 3 #define maxnoofWLANName 4 #define maxnoofNonAnchorCarrierFreqConfig 15 #define maxnoofDataForwardingTunneltoE_UTRAN 256 #define maxnoofMBSFSAs 256 #define maxnoofUEIDIndicesforMBSPaging 4096 #define maxnoofMBSQoSFlows 64 #define maxnoofMRBs 32 #define maxnoofCellsforMBS 8192 #define maxnoofMBSServiceAreaInformation 256 #define maxnoofTAIforMBS 1024 #define maxnoofAssociatedMBSSessions 32 #define maxnoofMBSSessions 256 #define maxnoofSuccessfulHOReports 64 #define maxnoofPSCellsPerSN 8 #define maxnoofNR_UChannelIDs 16 #define maxnoofCellsinCHO 8 #define maxnoofCHOexecutioncond 2 #define maxnoofServedCellsIAB 512 #define maxnoofServingCells 32 #define maxnoofBHInfo 1024 #define maxnoofTrafficIndexEntries 1024 #define maxnoofTLAsIAB 1024 #define maxnoofBAPControlPDURLCCHs 2 #define maxnoofIABSTCInfo 45 #define maxnoofSymbols 14 #define maxnoofDUFSlots 320 #define maxnoofHSNASlots 5120 #define maxnoofRBsetsPerCell 8 #define maxnoofRBsetsPerCell1 7 #define maxnoofChildIABNodes 1024 #define maxnoofPSCellCandidates 8 #define maxnoofTargetSNs 8 #define maxnoofUEAppLayerMeas 16 #define maxnoofSNSSAIforQMC 16 #define maxnoofCellIDforQMC 32 #define maxnoofPLMNforQMC 16 #define maxnoofTAforQMC 8 #define maxnoofMTCItems 16 #define maxnoofCSIRSconfigurations 96 #define maxnoofCSIRSneighbourCells 16 #define maxnoofCSIRSneighbourCellsInMTC 16 #define maxnoofNeighbour_NG_RAN_Nodes 256 #define maxnoofSRBs 5 #define maxnoofSMBR 8 #define maxnoofNSAGs 256 #define maxnoofTargetSNsMinusOne 7 #define maxnoofThresholdsForExcessPacketDelay 255 typedef enum _ProcedureCode_enum { id_handoverPreparation = 0, id_sNStatusTransfer = 1, id_handoverCancel = 2, id_retrieveUEContext = 3, id_rANPaging = 4, id_xnUAddressIndication = 5, id_uEContextRelease = 6, id_sNGRANnodeAdditionPreparation = 7, id_sNGRANnodeReconfigurationCompletion = 8, id_mNGRANnodeinitiatedSNGRANnodeModificationPreparation = 9, id_sNGRANnodeinitiatedSNGRANnodeModificationPreparation = 10, id_mNGRANnodeinitiatedSNGRANnodeRelease = 11, id_sNGRANnodeinitiatedSNGRANnodeRelease = 12, id_sNGRANnodeCounterCheck = 13, id_sNGRANnodeChange = 14, id_rRCTransfer = 15, id_xnRemoval = 16, id_xnSetup = 17, id_nGRANnodeConfigurationUpdate = 18, id_cellActivation = 19, id_reset = 20, id_errorIndication = 21, id_privateMessage = 22, id_notificationControl = 23, id_activityNotification = 24, id_e_UTRA_NR_CellResourceCoordination = 25, id_secondaryRATDataUsageReport = 26, id_deactivateTrace = 27, id_traceStart = 28, id_handoverSuccess = 29, id_conditionalHandoverCancel = 30, id_earlyStatusTransfer = 31, id_failureIndication = 32, id_handoverReport = 33, id_resourceStatusReportingInitiation = 34, id_resourceStatusReporting = 35, id_mobilitySettingsChange = 36, id_accessAndMobilityIndication = 37, id_cellTrafficTrace = 38, id_RANMulticastGroupPaging = 39, id_scgFailureInformationReport = 40, id_ProcedureCode41_NotToBeUsed = 41, id_scgFailureTransfer = 42, id_f1CTrafficTransfer = 43, id_iABTransportMigrationManagement = 44, id_iABTransportMigrationModification = 45, id_iABResourceCoordination = 46, id_retrieveUEContextConfirm = 47, id_cPCCancel = 48, id_partialUEContextTransfer = 49 } ProcedureCode_enum; typedef enum _ProtocolIE_ID_enum { id_ActivatedServedCells = 0, id_ActivationIDforCellActivation = 1, id_admittedSplitSRB = 2, id_admittedSplitSRBrelease = 3, id_AMF_Region_Information = 4, id_AssistanceDataForRANPaging = 5, id_BearersSubjectToCounterCheck = 6, id_Cause = 7, id_cellAssistanceInfo_NR = 8, id_ConfigurationUpdateInitiatingNodeChoice = 9, id_CriticalityDiagnostics = 10, id_XnUAddressInfoperPDUSession_List = 11, id_DRBsSubjectToStatusTransfer_List = 12, id_ExpectedUEBehaviour = 13, id_GlobalNG_RAN_node_ID = 14, id_GUAMI = 15, id_indexToRatFrequSelectionPriority = 16, id_initiatingNodeType_ResourceCoordRequest = 17, id_List_of_served_cells_E_UTRA = 18, id_List_of_served_cells_NR = 19, id_LocationReportingInformation = 20, id_MAC_I = 21, id_MaskedIMEISV = 22, id_M_NG_RANnodeUEXnAPID = 23, id_MN_to_SN_Container = 24, id_MobilityRestrictionList = 25, id_new_NG_RAN_Cell_Identity = 26, id_newNG_RANnodeUEXnAPID = 27, id_UEReportRRCTransfer = 28, id_oldNG_RANnodeUEXnAPID = 29, id_OldtoNewNG_RANnodeResumeContainer = 30, id_PagingDRX = 31, id_PCellID = 32, id_PDCPChangeIndication = 33, id_PDUSessionAdmittedAddedAddReqAck = 34, id_PDUSessionAdmittedModSNModConfirm = 35, id_PDUSessionAdmitted_SNModResponse = 36, id_PDUSessionNotAdmittedAddReqAck = 37, id_PDUSessionNotAdmitted_SNModResponse = 38, id_PDUSessionReleasedList_RelConf = 39, id_PDUSessionReleasedSNModConfirm = 40, id_PDUSessionResourcesActivityNotifyList = 41, id_PDUSessionResourcesAdmitted_List = 42, id_PDUSessionResourcesNotAdmitted_List = 43, id_PDUSessionResourcesNotifyList = 44, id_PDUSession_SNChangeConfirm_List = 45, id_PDUSession_SNChangeRequired_List = 46, id_PDUSessionToBeAddedAddReq = 47, id_PDUSessionToBeModifiedSNModRequired = 48, id_PDUSessionToBeReleasedList_RelRqd = 49, id_PDUSessionToBeReleased_RelReq = 50, id_PDUSessionToBeReleasedSNModRequired = 51, id_RANPagingArea = 52, id_PagingPriority = 53, id_requestedSplitSRB = 54, id_requestedSplitSRBrelease = 55, id_ResetRequestTypeInfo = 56, id_ResetResponseTypeInfo = 57, id_RespondingNodeTypeConfigUpdateAck = 58, id_respondingNodeType_ResourceCoordResponse = 59, id_ResponseInfo_ReconfCompl = 60, id_RRCConfigIndication = 61, id_RRCResumeCause = 62, id_SCGConfigurationQuery = 63, id_selectedPLMN = 64, id_ServedCellsToActivate = 65, id_servedCellsToUpdate_E_UTRA = 66, id_ServedCellsToUpdateInitiatingNodeChoice = 67, id_servedCellsToUpdate_NR = 68, id_s_ng_RANnode_SecurityKey = 69, id_S_NG_RANnodeUE_AMBR = 70, id_S_NG_RANnodeUEXnAPID = 71, id_SN_to_MN_Container = 72, id_sourceNG_RANnodeUEXnAPID = 73, id_SplitSRB_RRCTransfer = 74, id_TAISupport_list = 75, id_TimeToWait = 76, id_Target2SourceNG_RANnodeTranspContainer = 77, id_targetCellGlobalID = 78, id_targetNG_RANnodeUEXnAPID = 79, id_target_S_NG_RANnodeID = 80, id_TraceActivation = 81, id_UEContextID = 82, id_UEContextInfoHORequest = 83, id_UEContextInfoRetrUECtxtResp = 84, id_UEContextInfo_SNModRequest = 85, id_UEContextKeptIndicator = 86, id_UEContextRefAtSN_HORequest = 87, id_UEHistoryInformation = 88, id_UEIdentityIndexValue = 89, id_UERANPagingIdentity = 90, id_UESecurityCapabilities = 91, id_UserPlaneTrafficActivityReport = 92, id_XnRemovalThreshold = 93, id_DesiredActNotificationLevel = 94, id_AvailableDRBIDs = 95, id_AdditionalDRBIDs = 96, id_SpareDRBIDs = 97, id_RequiredNumberOfDRBIDs = 98, id_TNLA_To_Add_List = 99, id_TNLA_To_Update_List = 100, id_TNLA_To_Remove_List = 101, id_TNLA_Setup_List = 102, id_TNLA_Failed_To_Setup_List = 103, id_PDUSessionToBeReleased_RelReqAck = 104, id_S_NG_RANnodeMaxIPDataRate_UL = 105, id_Unknown_106 = 106, id_PDUSessionResourceSecondaryRATUsageList = 107, id_Additional_UL_NG_U_TNLatUPF_List = 108, id_SecondarydataForwardingInfoFromTarget_List = 109, id_LocationInformationSNReporting = 110, id_LocationInformationSN = 111, id_LastE_UTRANPLMNIdentity = 112, id_S_NG_RANnodeMaxIPDataRate_DL = 113, id_MaxIPrate_DL = 114, id_SecurityResult = 115, id_S_NSSAI = 116, id_MR_DC_ResourceCoordinationInfo = 117, id_AMF_Region_Information_To_Add = 118, id_AMF_Region_Information_To_Delete = 119, id_OldQoSFlowMap_ULendmarkerexpected = 120, id_RANPagingFailure = 121, id_UERadioCapabilityForPaging = 122, id_PDUSessionDataForwarding_SNModResponse = 123, id_DRBsNotAdmittedSetupModifyList = 124, id_Secondary_MN_Xn_U_TNLInfoatM = 125, id_NE_DC_TDM_Pattern = 126, id_PDUSessionCommonNetworkInstance = 127, id_BPLMN_ID_Info_EUTRA = 128, id_BPLMN_ID_Info_NR = 129, id_InterfaceInstanceIndication = 130, id_S_NG_RANnode_Addition_Trigger_Ind = 131, id_DefaultDRB_Allowed = 132, id_DRB_IDs_takenintouse = 133, id_SplitSessionIndicator = 134, id_CNTypeRestrictionsForEquivalent = 135, id_CNTypeRestrictionsForServing = 136, id_DRBs_transferred_to_MN = 137, id_ULForwardingProposal = 138, id_EndpointIPAddressAndPort = 139, id_IntendedTDD_DL_ULConfiguration_NR = 140, id_TNLConfigurationInfo = 141, id_PartialListIndicator_NR = 142, id_MessageOversizeNotification = 143, id_CellAndCapacityAssistanceInfo_NR = 144, id_NG_RANTraceID = 145, id_NonGBRResources_Offered = 146, id_FastMCGRecoveryRRCTransfer_SN_to_MN = 147, id_RequestedFastMCGRecoveryViaSRB3 = 148, id_AvailableFastMCGRecoveryViaSRB3 = 149, id_RequestedFastMCGRecoveryViaSRB3Release = 150, id_ReleaseFastMCGRecoveryViaSRB3 = 151, id_FastMCGRecoveryRRCTransfer_MN_to_SN = 152, id_ExtendedRATRestrictionInformation = 153, id_QoSMonitoringRequest = 154, id_FiveGCMobilityRestrictionListContainer = 155, id_PartialListIndicator_EUTRA = 156, id_CellAndCapacityAssistanceInfo_EUTRA = 157, id_CHOinformation_Req = 158, id_CHOinformation_Ack = 159, id_targetCellsToCancel = 160, id_requestedTargetCellGlobalID = 161, id_procedureStage = 162, id_DAPSRequestInfo = 163, id_DAPSResponseInfo_List = 164, id_CHO_MRDC_Indicator = 165, id_OffsetOfNbiotChannelNumberToDL_EARFCN = 166, id_OffsetOfNbiotChannelNumberToUL_EARFCN = 167, id_NBIoT_UL_DL_AlignmentOffset = 168, id_LTEV2XServicesAuthorized = 169, id_NRV2XServicesAuthorized = 170, id_LTEUESidelinkAggregateMaximumBitRate = 171, id_NRUESidelinkAggregateMaximumBitRate = 172, id_PC5QoSParameters = 173, id_AlternativeQoSParaSetList = 174, id_CurrentQoSParaSetIndex = 175, id_MobilityInformation = 176, id_InitiatingCondition_FailureIndication = 177, id_UEHistoryInformationFromTheUE = 178, id_HandoverReportType = 179, id_HandoverCause = 180, id_SourceCellCGI = 181, id_TargetCellCGI = 182, id_ReEstablishmentCellCGI = 183, id_TargetCellinEUTRAN = 184, id_SourceCellCRNTI = 185, id_UERLFReportContainer = 186, id_NGRAN_Node1_Measurement_ID = 187, id_NGRAN_Node2_Measurement_ID = 188, id_RegistrationRequest = 189, id_ReportCharacteristics = 190, id_CellToReport = 191, id_ReportingPeriodicity = 192, id_CellMeasurementResult = 193, id_NG_RANnode1CellID = 194, id_NG_RANnode2CellID = 195, id_NG_RANnode1MobilityParameters = 196, id_NG_RANnode2ProposedMobilityParameters = 197, id_MobilityParametersModificationRange = 198, id_TDDULDLConfigurationCommonNR = 199, id_CarrierList = 200, id_ULCarrierList = 201, id_FrequencyShift7p5khz = 202, id_SSB_PositionsInBurst = 203, id_NRCellPRACHConfig = 204, id_RACHReportInformation = 205, id_IABNodeIndication = 206, id_Redundant_UL_NG_U_TNLatUPF = 207, id_CNPacketDelayBudgetDownlink = 208, id_CNPacketDelayBudgetUplink = 209, id_Additional_Redundant_UL_NG_U_TNLatUPF_List = 210, id_RedundantCommonNetworkInstance = 211, id_TSCTrafficCharacteristics = 212, id_RedundantQoSFlowIndicator = 213, id_Redundant_DL_NG_U_TNLatNG_RAN = 214, id_ExtendedPacketDelayBudget = 215, id_Additional_PDCP_Duplication_TNL_List = 216, id_RedundantPDUSessionInformation = 217, id_UsedRSNInformation = 218, id_RLCDuplicationInformation = 219, id_NPN_Broadcast_Information = 220, id_NPNPagingAssistanceInformation = 221, id_NPNMobilityInformation = 222, id_NPN_Support = 223, id_MDT_Configuration = 224, id_MDTPLMNList = 225, id_TraceCollectionEntityURI = 226, id_UERadioCapabilityID = 227, id_CSI_RSTransmissionIndication = 228, id_SNTriggered = 229, id_DLCarrierList = 230, id_ExtendedTAISliceSupportList = 231, id_cellAssistanceInfo_EUTRA = 232, id_ConfiguredTACIndication = 233, id_secondary_SN_UL_PDCP_UP_TNLInfo = 234, id_pdcpDuplicationConfiguration = 235, id_duplicationActivation = 236, id_NPRACHConfiguration = 237, id_QosMonitoringReportingFrequency = 238, id_QoSFlowsMappedtoDRB_SetupResponse_MNterminated = 239, id_DL_scheduling_PDCCH_CCE_usage = 240, id_UL_scheduling_PDCCH_CCE_usage = 241, id_SFN_Offset = 242, id_QoSMonitoringDisabled = 243, id_ExtendedUEIdentityIndexValue = 244, id_EUTRAPagingeDRXInformation = 245, id_CHO_MRDC_EarlyDataForwarding = 246, id_SCGIndicator = 247, id_UESpecificDRX = 248, id_PDUSessionExpectedUEActivityBehaviour = 249, id_QoS_Mapping_Information = 250, id_AdditionLocationInformation = 251, id_dataForwardingInfoFromTargetE_UTRANnode = 252, id_DirectForwardingPathAvailability = 253, id_SourceNG_RAN_node_ID = 254, id_SourceDLForwardingIPAddress = 255, id_SourceNodeDLForwardingIPAddress = 256, id_ExtendedReportIntervalMDT = 257, id_SecurityIndication = 258, id_RRCConnReestab_Indicator = 259, id_TargetNodeID = 260, id_ManagementBasedMDTPLMNList = 261, id_PrivacyIndicator = 262, id_TraceCollectionEntityIPAddress = 263, id_M4ReportAmount = 264, id_M5ReportAmount = 265, id_M6ReportAmount = 266, id_M7ReportAmount = 267, id_BeamMeasurementIndicationM1 = 268, id_MBS_Session_ID = 269, id_UEIdentityIndexList_MBSGroupPaging = 270, id_MulticastRANPagingArea = 271, id_Supported_MBS_FSA_ID_List = 272, id_MBS_SessionInformation_List = 273, id_MBS_SessionInformationResponse_List = 274, id_MBS_SessionAssociatedInformation = 275, id_SuccessfulHOReportInformation = 276, id_SliceRadioResourceStatus_List = 277, id_CompositeAvailableCapacitySupplementaryUplink = 278, id_SCGUEHistoryInformation = 279, id_SSBOffsets_List = 280, id_NG_RANnode2SSBOffsetModificationRange = 281, id_Coverage_Modification_List = 282, id_NR_U_Channel_List = 283, id_SourcePSCellCGI = 284, id_FailedPSCellCGI = 285, id_SCGFailureReportContainer = 286, id_SNMobilityInformation = 287, id_SourcePSCellID = 288, id_SuitablePSCellCGI = 289, id_PSCellChangeHistory = 290, id_CHOConfiguration = 291, id_NR_U_ChannelInfo_List = 292, id_PSCellHistoryInformationRetrieve = 293, id_NG_RANnode2SSBOffsetsModificationRange = 294, id_MIMOPRBusageInformation = 295, id_F1CTrafficContainer = 296, id_IAB_MT_Cell_List = 297, id_NoPDUSessionIndication = 298, id_IAB_TNL_Address_Request = 299, id_IAB_TNL_Address_Response = 300, id_TrafficToBeAddedList = 301, id_TrafficToBeModifiedList = 302, id_TrafficToBeReleaseInformation = 303, id_TrafficAddedList = 304, id_TrafficModifiedList = 305, id_TrafficNotAddedList = 306, id_TrafficNotModifiedList = 307, id_TrafficRequiredToBeModifiedList = 308, id_TrafficRequiredModifiedList = 309, id_TrafficReleasedList = 310, id_IABTNLAddressToBeAdded = 311, id_IABTNLAddressToBeReleasedList = 312, id_nonF1_Terminating_IAB_DonorUEXnAPID = 313, id_F1_Terminating_IAB_DonorUEXnAPID = 314, id_BoundaryNodeCellsList = 315, id_ParentNodeCellsList = 316, id_tdd_GNB_DU_Cell_Resource_Configuration = 317, id_UL_GNB_DU_Cell_Resource_Configuration = 318, id_DL_GNB_DU_Cell_Resource_Configuration = 319, id_permutation = 320, id_IABTNLAddressException = 321, id_CHOinformation_AddReq = 322, id_CHOinformation_ModReq = 323, id_SurvivalTime = 324, id_TimeSynchronizationAssistanceInformation = 325, id_SCGActivationRequest = 326, id_SCGActivationStatus = 327, id_CPAInformationRequest = 328, id_CPAInformationAck = 329, id_CPCInformationRequired = 330, id_CPCInformationConfirm = 331, id_CPAInformationModReq = 332, id_CPAInformationModReqAck = 333, id_CPC_DataForwarding_Indicator = 334, id_CPCInformationUpdate = 335, id_CPACInformationModRequired = 336, id_QMCConfigInfo = 337, id_ProtocolIE_ID338_NotToBeUsed = 338, id_Additional_Measurement_Timing_Configuration_List = 339, id_PDUSession_PairID = 340, id_Local_NG_RAN_Node_Identifier = 341, id_Neighbour_NG_RAN_Node_List = 342, id_Local_NG_RAN_Node_Identifier_Removal = 343, id_FiveGProSeAuthorized = 344, id_FiveGProSePC5QoSParameters = 345, id_FiveGProSeUEPC5AggregateMaximumBitRate = 346, id_ServedCellSpecificInfoReq_NR = 347, id_NRPagingeDRXInformation = 348, id_NRPagingeDRXInformationforRRCINACTIVE = 349, id_Redcap_Bcast_Information = 350, id_SDTSupportRequest = 351, id_SDT_SRB_between_NewNode_OldNode = 352, id_SDT_Termination_Request = 353, id_SDTPartialUEContextInfo = 354, id_SDTDataForwardingDRBList = 355, id_PagingCause = 356, id_PEIPSassistanceInformation = 357, id_UESliceMaximumBitRateList = 358, id_S_NG_RANnodeUE_Slice_MBR = 359, id_PositioningInformation = 360, id_UEAssistantIdentifier = 361, id_ManagementBasedMDTPLMNModificationList = 362, id_F1_terminatingIAB_donorIndicator = 363, id_TAINSAGSupportList = 364, id_SCGreconfigNotification = 365, id_earlyMeasurement = 366, id_BeamMeasurementsReportConfiguration = 367, id_CoverageModificationCause = 368, id_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated = 369, id_UERLFReportContainerLTEExtension = 370, id_ExcessPacketDelayThresholdConfiguration = 371, id_HashedUEIdentityIndexValue = 372 } ProtocolIE_ID_enum; typedef enum _GlobalNG_RANNode_ID_enum { GlobalNG_RANNode_ID_gNB = 0, GlobalNG_RANNode_ID_ng_eNB = 1, GlobalNG_RANNode_ID_choice_extension = 2 } GlobalNG_RANNode_ID_enum; /* Initialize the protocol and registered fields */ static int proto_xnap = -1; static int hf_xnap_transportLayerAddressIPv4 = -1; static int hf_xnap_transportLayerAddressIPv6 = -1; static int hf_xnap_NG_RANTraceID_TraceID = -1; static int hf_xnap_NG_RANTraceID_TraceRecordingSessionReference = -1; static int hf_xnap_primaryRATRestriction_e_UTRA = -1; static int hf_xnap_primaryRATRestriction_nR = -1; static int hf_xnap_primaryRATRestriction_nR_unlicensed = -1; static int hf_xnap_primaryRATRestriction_nR_LEO = -1; static int hf_xnap_primaryRATRestriction_nR_MEO = -1; static int hf_xnap_primaryRATRestriction_nR_GEO = -1; static int hf_xnap_primaryRATRestriction_nR_OTHERSAT = -1; static int hf_xnap_primaryRATRestriction_reserved = -1; static int hf_xnap_secondaryRATRestriction_e_UTRA = -1; static int hf_xnap_secondaryRATRestriction_nR = -1; static int hf_xnap_secondaryRATRestriction_e_UTRA_unlicensed = -1; static int hf_xnap_secondaryRATRestriction_nR_unlicensed = -1; static int hf_xnap_secondaryRATRestriction_reserved = -1; static int hf_xnap_MDT_Location_Info_GNSS = -1; static int hf_xnap_MDT_Location_Info_reserved = -1; static int hf_xnap_MeasurementsToActivate_M1 = -1; static int hf_xnap_MeasurementsToActivate_M2 = -1; static int hf_xnap_MeasurementsToActivate_M3 = -1; static int hf_xnap_MeasurementsToActivate_M4 = -1; static int hf_xnap_MeasurementsToActivate_M5 = -1; static int hf_xnap_MeasurementsToActivate_LoggingM1FromEventTriggered = -1; static int hf_xnap_MeasurementsToActivate_M6 = -1; static int hf_xnap_MeasurementsToActivate_M7 = -1; static int hf_xnap_ReportCharacteristics_PRBPeriodic = -1; static int hf_xnap_ReportCharacteristics_TNLCapacityIndPeriodic = -1; static int hf_xnap_ReportCharacteristics_CompositeAvailableCapacityPeriodic = -1; static int hf_xnap_ReportCharacteristics_NumberOfActiveUEs = -1; static int hf_xnap_ReportCharacteristics_Reserved = -1; static int hf_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_PDU = -1; /* AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated */ static int hf_xnap_AdditionLocationInformation_PDU = -1; /* AdditionLocationInformation */ static int hf_xnap_Additional_PDCP_Duplication_TNL_List_PDU = -1; /* Additional_PDCP_Duplication_TNL_List */ static int hf_xnap_Additional_UL_NG_U_TNLatUPF_List_PDU = -1; /* Additional_UL_NG_U_TNLatUPF_List */ static int hf_xnap_Additional_Measurement_Timing_Configuration_List_PDU = -1; /* Additional_Measurement_Timing_Configuration_List */ static int hf_xnap_ActivationIDforCellActivation_PDU = -1; /* ActivationIDforCellActivation */ static int hf_xnap_AlternativeQoSParaSetList_PDU = -1; /* AlternativeQoSParaSetList */ static int hf_xnap_AMF_Region_Information_PDU = -1; /* AMF_Region_Information */ static int hf_xnap_AssistanceDataForRANPaging_PDU = -1; /* AssistanceDataForRANPaging */ static int hf_xnap_BeamMeasurementIndicationM1_PDU = -1; /* BeamMeasurementIndicationM1 */ static int hf_xnap_BeamMeasurementsReportConfiguration_PDU = -1; /* BeamMeasurementsReportConfiguration */ static int hf_xnap_BPLMN_ID_Info_EUTRA_PDU = -1; /* BPLMN_ID_Info_EUTRA */ static int hf_xnap_BPLMN_ID_Info_NR_PDU = -1; /* BPLMN_ID_Info_NR */ static int hf_xnap_BitRate_PDU = -1; /* BitRate */ static int hf_xnap_Cause_PDU = -1; /* Cause */ static int hf_xnap_CellAssistanceInfo_NR_PDU = -1; /* CellAssistanceInfo_NR */ static int hf_xnap_CellAndCapacityAssistanceInfo_NR_PDU = -1; /* CellAndCapacityAssistanceInfo_NR */ static int hf_xnap_CellAndCapacityAssistanceInfo_EUTRA_PDU = -1; /* CellAndCapacityAssistanceInfo_EUTRA */ static int hf_xnap_CellAssistanceInfo_EUTRA_PDU = -1; /* CellAssistanceInfo_EUTRA */ static int hf_xnap_CellMeasurementResult_PDU = -1; /* CellMeasurementResult */ static int hf_xnap_CellToReport_PDU = -1; /* CellToReport */ static int hf_xnap_CHOConfiguration_PDU = -1; /* CHOConfiguration */ static int hf_xnap_CompositeAvailableCapacity_PDU = -1; /* CompositeAvailableCapacity */ static int hf_xnap_CHO_MRDC_EarlyDataForwarding_PDU = -1; /* CHO_MRDC_EarlyDataForwarding */ static int hf_xnap_CHO_MRDC_Indicator_PDU = -1; /* CHO_MRDC_Indicator */ static int hf_xnap_CHOinformation_Req_PDU = -1; /* CHOinformation_Req */ static int hf_xnap_CHOinformation_Ack_PDU = -1; /* CHOinformation_Ack */ static int hf_xnap_CHOinformation_AddReq_PDU = -1; /* CHOinformation_AddReq */ static int hf_xnap_CHOinformation_ModReq_PDU = -1; /* CHOinformation_ModReq */ static int hf_xnap_ConfiguredTACIndication_PDU = -1; /* ConfiguredTACIndication */ static int hf_xnap_CoverageModificationCause_PDU = -1; /* CoverageModificationCause */ static int hf_xnap_Coverage_Modification_List_PDU = -1; /* Coverage_Modification_List */ static int hf_xnap_CPAInformationRequest_PDU = -1; /* CPAInformationRequest */ static int hf_xnap_CPAInformationAck_PDU = -1; /* CPAInformationAck */ static int hf_xnap_CPCInformationRequired_PDU = -1; /* CPCInformationRequired */ static int hf_xnap_CPCInformationConfirm_PDU = -1; /* CPCInformationConfirm */ static int hf_xnap_CPAInformationModReq_PDU = -1; /* CPAInformationModReq */ static int hf_xnap_CPAInformationModReqAck_PDU = -1; /* CPAInformationModReqAck */ static int hf_xnap_CPC_DataForwarding_Indicator_PDU = -1; /* CPC_DataForwarding_Indicator */ static int hf_xnap_CPACInformationModRequired_PDU = -1; /* CPACInformationModRequired */ static int hf_xnap_CPCInformationUpdate_PDU = -1; /* CPCInformationUpdate */ static int hf_xnap_CriticalityDiagnostics_PDU = -1; /* CriticalityDiagnostics */ static int hf_xnap_C_RNTI_PDU = -1; /* C_RNTI */ static int hf_xnap_CSI_RSTransmissionIndication_PDU = -1; /* CSI_RSTransmissionIndication */ static int hf_xnap_XnUAddressInfoperPDUSession_List_PDU = -1; /* XnUAddressInfoperPDUSession_List */ static int hf_xnap_DataForwardingInfoFromTargetE_UTRANnode_PDU = -1; /* DataForwardingInfoFromTargetE_UTRANnode */ static int hf_xnap_DAPSRequestInfo_PDU = -1; /* DAPSRequestInfo */ static int hf_xnap_DAPSResponseInfo_List_PDU = -1; /* DAPSResponseInfo_List */ static int hf_xnap_DesiredActNotificationLevel_PDU = -1; /* DesiredActNotificationLevel */ static int hf_xnap_DefaultDRB_Allowed_PDU = -1; /* DefaultDRB_Allowed */ static int hf_xnap_DirectForwardingPathAvailability_PDU = -1; /* DirectForwardingPathAvailability */ static int hf_xnap_DRB_List_PDU = -1; /* DRB_List */ static int hf_xnap_DRB_List_withCause_PDU = -1; /* DRB_List_withCause */ static int hf_xnap_DRB_Number_PDU = -1; /* DRB_Number */ static int hf_xnap_DRBsSubjectToStatusTransfer_List_PDU = -1; /* DRBsSubjectToStatusTransfer_List */ static int hf_xnap_DuplicationActivation_PDU = -1; /* DuplicationActivation */ static int hf_xnap_EarlyMeasurement_PDU = -1; /* EarlyMeasurement */ static int hf_xnap_EUTRAPagingeDRXInformation_PDU = -1; /* EUTRAPagingeDRXInformation */ static int hf_xnap_EndpointIPAddressAndPort_PDU = -1; /* EndpointIPAddressAndPort */ static int hf_xnap_ExcessPacketDelayThresholdConfiguration_PDU = -1; /* ExcessPacketDelayThresholdConfiguration */ static int hf_xnap_ExpectedUEActivityBehaviour_PDU = -1; /* ExpectedUEActivityBehaviour */ static int hf_xnap_ExpectedUEBehaviour_PDU = -1; /* ExpectedUEBehaviour */ static int hf_xnap_ExtendedRATRestrictionInformation_PDU = -1; /* ExtendedRATRestrictionInformation */ static int hf_xnap_ExtendedPacketDelayBudget_PDU = -1; /* ExtendedPacketDelayBudget */ static int hf_xnap_ExtendedSliceSupportList_PDU = -1; /* ExtendedSliceSupportList */ static int hf_xnap_ExtendedUEIdentityIndexValue_PDU = -1; /* ExtendedUEIdentityIndexValue */ static int hf_xnap_F1CTrafficContainer_PDU = -1; /* F1CTrafficContainer */ static int hf_xnap_F1_terminatingIAB_donorIndicator_PDU = -1; /* F1_terminatingIAB_donorIndicator */ static int hf_xnap_FiveGCMobilityRestrictionListContainer_PDU = -1; /* FiveGCMobilityRestrictionListContainer */ static int hf_xnap_FiveGProSeAuthorized_PDU = -1; /* FiveGProSeAuthorized */ static int hf_xnap_FiveGProSePC5QoSParameters_PDU = -1; /* FiveGProSePC5QoSParameters */ static int hf_xnap_FrequencyShift7p5khz_PDU = -1; /* FrequencyShift7p5khz */ static int hf_xnap_GNB_DU_Cell_Resource_Configuration_PDU = -1; /* GNB_DU_Cell_Resource_Configuration */ static int hf_xnap_GlobalCell_ID_PDU = -1; /* GlobalCell_ID */ static int hf_xnap_GlobalNG_RANCell_ID_PDU = -1; /* GlobalNG_RANCell_ID */ static int hf_xnap_GlobalNG_RANNode_ID_PDU = -1; /* GlobalNG_RANNode_ID */ static int hf_xnap_GUAMI_PDU = -1; /* GUAMI */ static int hf_xnap_HandoverReportType_PDU = -1; /* HandoverReportType */ static int hf_xnap_HashedUEIdentityIndexValue_PDU = -1; /* HashedUEIdentityIndexValue */ static int hf_xnap_IABNodeIndication_PDU = -1; /* IABNodeIndication */ static int hf_xnap_IAB_TNL_Address_Request_PDU = -1; /* IAB_TNL_Address_Request */ static int hf_xnap_IAB_TNL_Address_Response_PDU = -1; /* IAB_TNL_Address_Response */ static int hf_xnap_IABTNLAddressException_PDU = -1; /* IABTNLAddressException */ static int hf_xnap_InitiatingCondition_FailureIndication_PDU = -1; /* InitiatingCondition_FailureIndication */ static int hf_xnap_xnap_IntendedTDD_DL_ULConfiguration_NR_PDU = -1; /* IntendedTDD_DL_ULConfiguration_NR */ static int hf_xnap_InterfaceInstanceIndication_PDU = -1; /* InterfaceInstanceIndication */ static int hf_xnap_Local_NG_RAN_Node_Identifier_PDU = -1; /* Local_NG_RAN_Node_Identifier */ static int hf_xnap_SCGUEHistoryInformation_PDU = -1; /* SCGUEHistoryInformation */ static int hf_xnap_LocationInformationSNReporting_PDU = -1; /* LocationInformationSNReporting */ static int hf_xnap_LocationReportingInformation_PDU = -1; /* LocationReportingInformation */ static int hf_xnap_LTEV2XServicesAuthorized_PDU = -1; /* LTEV2XServicesAuthorized */ static int hf_xnap_LTEUESidelinkAggregateMaximumBitRate_PDU = -1; /* LTEUESidelinkAggregateMaximumBitRate */ static int hf_xnap_M4ReportAmountMDT_PDU = -1; /* M4ReportAmountMDT */ static int hf_xnap_M5ReportAmountMDT_PDU = -1; /* M5ReportAmountMDT */ static int hf_xnap_M6ReportAmountMDT_PDU = -1; /* M6ReportAmountMDT */ static int hf_xnap_M7ReportAmountMDT_PDU = -1; /* M7ReportAmountMDT */ static int hf_xnap_MAC_I_PDU = -1; /* MAC_I */ static int hf_xnap_MaskedIMEISV_PDU = -1; /* MaskedIMEISV */ static int hf_xnap_MaxIPrate_PDU = -1; /* MaxIPrate */ static int hf_xnap_MBS_Session_ID_PDU = -1; /* MBS_Session_ID */ static int hf_xnap_MBS_SessionAssociatedInformation_PDU = -1; /* MBS_SessionAssociatedInformation */ static int hf_xnap_MBS_SessionInformation_List_PDU = -1; /* MBS_SessionInformation_List */ static int hf_xnap_MBS_SessionInformationResponse_List_PDU = -1; /* MBS_SessionInformationResponse_List */ static int hf_xnap_MDT_Configuration_PDU = -1; /* MDT_Configuration */ static int hf_xnap_MDTPLMNList_PDU = -1; /* MDTPLMNList */ static int hf_xnap_MDTPLMNModificationList_PDU = -1; /* MDTPLMNModificationList */ static int hf_xnap_Measurement_ID_PDU = -1; /* Measurement_ID */ static int hf_xnap_MIMOPRBusageInformation_PDU = -1; /* MIMOPRBusageInformation */ static int hf_xnap_MobilityInformation_PDU = -1; /* MobilityInformation */ static int hf_xnap_MobilityParametersModificationRange_PDU = -1; /* MobilityParametersModificationRange */ static int hf_xnap_MobilityParametersInformation_PDU = -1; /* MobilityParametersInformation */ static int hf_xnap_MobilityRestrictionList_PDU = -1; /* MobilityRestrictionList */ static int hf_xnap_CNTypeRestrictionsForEquivalent_PDU = -1; /* CNTypeRestrictionsForEquivalent */ static int hf_xnap_CNTypeRestrictionsForServing_PDU = -1; /* CNTypeRestrictionsForServing */ static int hf_xnap_MR_DC_ResourceCoordinationInfo_PDU = -1; /* MR_DC_ResourceCoordinationInfo */ static int hf_xnap_MessageOversizeNotification_PDU = -1; /* MessageOversizeNotification */ static int hf_xnap_NBIoT_UL_DL_AlignmentOffset_PDU = -1; /* NBIoT_UL_DL_AlignmentOffset */ static int hf_xnap_NE_DC_TDM_Pattern_PDU = -1; /* NE_DC_TDM_Pattern */ static int hf_xnap_Neighbour_NG_RAN_Node_List_PDU = -1; /* Neighbour_NG_RAN_Node_List */ static int hf_xnap_NRCarrierList_PDU = -1; /* NRCarrierList */ static int hf_xnap_NRCellPRACHConfig_PDU = -1; /* NRCellPRACHConfig */ static int hf_xnap_NG_RAN_Cell_Identity_PDU = -1; /* NG_RAN_Cell_Identity */ static int hf_xnap_NG_RANnode2SSBOffsetsModificationRange_PDU = -1; /* NG_RANnode2SSBOffsetsModificationRange */ static int hf_xnap_NG_RANnodeUEXnAPID_PDU = -1; /* NG_RANnodeUEXnAPID */ static int hf_xnap_DL_scheduling_PDCCH_CCE_usage_PDU = -1; /* DL_scheduling_PDCCH_CCE_usage */ static int hf_xnap_UL_scheduling_PDCCH_CCE_usage_PDU = -1; /* UL_scheduling_PDCCH_CCE_usage */ static int hf_xnap_NoPDUSessionIndication_PDU = -1; /* NoPDUSessionIndication */ static int hf_xnap_NPN_Broadcast_Information_PDU = -1; /* NPN_Broadcast_Information */ static int hf_xnap_NPNMobilityInformation_PDU = -1; /* NPNMobilityInformation */ static int hf_xnap_NPNPagingAssistanceInformation_PDU = -1; /* NPNPagingAssistanceInformation */ static int hf_xnap_NPN_Support_PDU = -1; /* NPN_Support */ static int hf_xnap_NPRACHConfiguration_PDU = -1; /* NPRACHConfiguration */ static int hf_xnap_NR_U_Channel_List_PDU = -1; /* NR_U_Channel_List */ static int hf_xnap_NR_U_ChannelInfo_List_PDU = -1; /* NR_U_ChannelInfo_List */ static int hf_xnap_NRPagingeDRXInformation_PDU = -1; /* NRPagingeDRXInformation */ static int hf_xnap_NRPagingeDRXInformationforRRCINACTIVE_PDU = -1; /* NRPagingeDRXInformationforRRCINACTIVE */ static int hf_xnap_NG_RANTraceID_PDU = -1; /* NG_RANTraceID */ static int hf_xnap_NonGBRResources_Offered_PDU = -1; /* NonGBRResources_Offered */ static int hf_xnap_NRV2XServicesAuthorized_PDU = -1; /* NRV2XServicesAuthorized */ static int hf_xnap_NRUESidelinkAggregateMaximumBitRate_PDU = -1; /* NRUESidelinkAggregateMaximumBitRate */ static int hf_xnap_OffsetOfNbiotChannelNumberToEARFCN_PDU = -1; /* OffsetOfNbiotChannelNumberToEARFCN */ static int hf_xnap_PositioningInformation_PDU = -1; /* PositioningInformation */ static int hf_xnap_PagingCause_PDU = -1; /* PagingCause */ static int hf_xnap_PEIPSassistanceInformation_PDU = -1; /* PEIPSassistanceInformation */ static int hf_xnap_PagingDRX_PDU = -1; /* PagingDRX */ static int hf_xnap_PagingPriority_PDU = -1; /* PagingPriority */ static int hf_xnap_PartialListIndicator_PDU = -1; /* PartialListIndicator */ static int hf_xnap_PC5QoSParameters_PDU = -1; /* PC5QoSParameters */ static int hf_xnap_PDCPChangeIndication_PDU = -1; /* PDCPChangeIndication */ static int hf_xnap_PDCPDuplicationConfiguration_PDU = -1; /* PDCPDuplicationConfiguration */ static int hf_xnap_PDUSession_List_withCause_PDU = -1; /* PDUSession_List_withCause */ static int hf_xnap_PDUSessionResourcesAdmitted_List_PDU = -1; /* PDUSessionResourcesAdmitted_List */ static int hf_xnap_PDUSessionResourcesNotAdmitted_List_PDU = -1; /* PDUSessionResourcesNotAdmitted_List */ static int hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_PDU = -1; /* QoSFlowsMappedtoDRB_SetupResponse_MNterminated */ static int hf_xnap_PDUSessionResourceSecondaryRATUsageList_PDU = -1; /* PDUSessionResourceSecondaryRATUsageList */ static int hf_xnap_PDUSessionCommonNetworkInstance_PDU = -1; /* PDUSessionCommonNetworkInstance */ static int hf_xnap_PDUSession_PairID_PDU = -1; /* PDUSession_PairID */ static int hf_xnap_Permutation_PDU = -1; /* Permutation */ static int hf_xnap_PLMN_Identity_PDU = -1; /* PLMN_Identity */ static int hf_xnap_PrivacyIndicator_PDU = -1; /* PrivacyIndicator */ static int hf_xnap_PSCellChangeHistory_PDU = -1; /* PSCellChangeHistory */ static int hf_xnap_PSCellHistoryInformationRetrieve_PDU = -1; /* PSCellHistoryInformationRetrieve */ static int hf_xnap_QMCConfigInfo_PDU = -1; /* QMCConfigInfo */ static int hf_xnap_QoSFlows_List_PDU = -1; /* QoSFlows_List */ static int hf_xnap_QoS_Mapping_Information_PDU = -1; /* QoS_Mapping_Information */ static int hf_xnap_QoSParaSetNotifyIndex_PDU = -1; /* QoSParaSetNotifyIndex */ static int hf_xnap_QosMonitoringRequest_PDU = -1; /* QosMonitoringRequest */ static int hf_xnap_QoSMonitoringDisabled_PDU = -1; /* QoSMonitoringDisabled */ static int hf_xnap_QosMonitoringReportingFrequency_PDU = -1; /* QosMonitoringReportingFrequency */ static int hf_xnap_RACHReportInformation_PDU = -1; /* RACHReportInformation */ static int hf_xnap_RANPagingArea_PDU = -1; /* RANPagingArea */ static int hf_xnap_RANPagingFailure_PDU = -1; /* RANPagingFailure */ static int hf_xnap_Redcap_Bcast_Information_PDU = -1; /* Redcap_Bcast_Information */ static int hf_xnap_RedundantQoSFlowIndicator_PDU = -1; /* RedundantQoSFlowIndicator */ static int hf_xnap_RedundantPDUSessionInformation_PDU = -1; /* RedundantPDUSessionInformation */ static int hf_xnap_ExtendedReportIntervalMDT_PDU = -1; /* ExtendedReportIntervalMDT */ static int hf_xnap_ReportCharacteristics_PDU = -1; /* ReportCharacteristics */ static int hf_xnap_ReportingPeriodicity_PDU = -1; /* ReportingPeriodicity */ static int hf_xnap_RegistrationRequest_PDU = -1; /* RegistrationRequest */ static int hf_xnap_ResetRequestTypeInfo_PDU = -1; /* ResetRequestTypeInfo */ static int hf_xnap_ResetResponseTypeInfo_PDU = -1; /* ResetResponseTypeInfo */ static int hf_xnap_RLCDuplicationInformation_PDU = -1; /* RLCDuplicationInformation */ static int hf_xnap_RFSP_Index_PDU = -1; /* RFSP_Index */ static int hf_xnap_RRCConfigIndication_PDU = -1; /* RRCConfigIndication */ static int hf_xnap_RRCConnReestab_Indicator_PDU = -1; /* RRCConnReestab_Indicator */ static int hf_xnap_RRCResumeCause_PDU = -1; /* RRCResumeCause */ static int hf_xnap_SCGreconfigNotification_PDU = -1; /* SCGreconfigNotification */ static int hf_xnap_SecondarydataForwardingInfoFromTarget_List_PDU = -1; /* SecondarydataForwardingInfoFromTarget_List */ static int hf_xnap_SCGActivationRequest_PDU = -1; /* SCGActivationRequest */ static int hf_xnap_SCGActivationStatus_PDU = -1; /* SCGActivationStatus */ static int hf_xnap_SCGConfigurationQuery_PDU = -1; /* SCGConfigurationQuery */ static int hf_xnap_SCGIndicator_PDU = -1; /* SCGIndicator */ static int hf_xnap_SCGFailureReportContainer_PDU = -1; /* SCGFailureReportContainer */ static int hf_xnap_SDTSupportRequest_PDU = -1; /* SDTSupportRequest */ static int hf_xnap_SDT_Termination_Request_PDU = -1; /* SDT_Termination_Request */ static int hf_xnap_SDTPartialUEContextInfo_PDU = -1; /* SDTPartialUEContextInfo */ static int hf_xnap_SDTDataForwardingDRBList_PDU = -1; /* SDTDataForwardingDRBList */ static int hf_xnap_SecurityIndication_PDU = -1; /* SecurityIndication */ static int hf_xnap_SecurityResult_PDU = -1; /* SecurityResult */ static int hf_xnap_ServedCells_E_UTRA_PDU = -1; /* ServedCells_E_UTRA */ static int hf_xnap_ServedCellsToUpdate_E_UTRA_PDU = -1; /* ServedCellsToUpdate_E_UTRA */ static int hf_xnap_SFN_Offset_PDU = -1; /* SFN_Offset */ static int hf_xnap_ServedCells_NR_PDU = -1; /* ServedCells_NR */ static int hf_xnap_ServedCellSpecificInfoReq_NR_PDU = -1; /* ServedCellSpecificInfoReq_NR */ static int hf_xnap_ServedCellsToUpdate_NR_PDU = -1; /* ServedCellsToUpdate_NR */ static int hf_xnap_SliceRadioResourceStatus_List_PDU = -1; /* SliceRadioResourceStatus_List */ static int hf_xnap_S_NG_RANnode_SecurityKey_PDU = -1; /* S_NG_RANnode_SecurityKey */ static int hf_xnap_S_NG_RANnode_Addition_Trigger_Ind_PDU = -1; /* S_NG_RANnode_Addition_Trigger_Ind */ static int hf_xnap_S_NSSAI_PDU = -1; /* S_NSSAI */ static int hf_xnap_SNMobilityInformation_PDU = -1; /* SNMobilityInformation */ static int hf_xnap_SNTriggered_PDU = -1; /* SNTriggered */ static int hf_xnap_SplitSessionIndicator_PDU = -1; /* SplitSessionIndicator */ static int hf_xnap_SplitSRBsTypes_PDU = -1; /* SplitSRBsTypes */ static int hf_xnap_SSB_PositionsInBurst_PDU = -1; /* SSB_PositionsInBurst */ static int hf_xnap_SSBOffsets_List_PDU = -1; /* SSBOffsets_List */ static int hf_xnap_SuccessfulHOReportInformation_PDU = -1; /* SuccessfulHOReportInformation */ static int hf_xnap_Supported_MBS_FSA_ID_List_PDU = -1; /* Supported_MBS_FSA_ID_List */ static int hf_xnap_SurvivalTime_PDU = -1; /* SurvivalTime */ static int hf_xnap_TAINSAGSupportList_PDU = -1; /* TAINSAGSupportList */ static int hf_xnap_TAISupport_List_PDU = -1; /* TAISupport_List */ static int hf_xnap_TargetCellinEUTRAN_PDU = -1; /* TargetCellinEUTRAN */ static int hf_xnap_Target_CGI_PDU = -1; /* Target_CGI */ static int hf_xnap_TDDULDLConfigurationCommonNR_PDU = -1; /* TDDULDLConfigurationCommonNR */ static int hf_xnap_TargetCellList_PDU = -1; /* TargetCellList */ static int hf_xnap_TimeSynchronizationAssistanceInformation_PDU = -1; /* TimeSynchronizationAssistanceInformation */ static int hf_xnap_TimeToWait_PDU = -1; /* TimeToWait */ static int hf_xnap_TNLConfigurationInfo_PDU = -1; /* TNLConfigurationInfo */ static int hf_xnap_TNLA_To_Add_List_PDU = -1; /* TNLA_To_Add_List */ static int hf_xnap_TNLA_To_Update_List_PDU = -1; /* TNLA_To_Update_List */ static int hf_xnap_TNLA_To_Remove_List_PDU = -1; /* TNLA_To_Remove_List */ static int hf_xnap_TNLA_Setup_List_PDU = -1; /* TNLA_Setup_List */ static int hf_xnap_TNLA_Failed_To_Setup_List_PDU = -1; /* TNLA_Failed_To_Setup_List */ static int hf_xnap_TransportLayerAddress_PDU = -1; /* TransportLayerAddress */ static int hf_xnap_TraceActivation_PDU = -1; /* TraceActivation */ static int hf_xnap_TrafficToBeReleaseInformation_PDU = -1; /* TrafficToBeReleaseInformation */ static int hf_xnap_TSCTrafficCharacteristics_PDU = -1; /* TSCTrafficCharacteristics */ static int hf_xnap_UEAggregateMaximumBitRate_PDU = -1; /* UEAggregateMaximumBitRate */ static int hf_xnap_UEContextKeptIndicator_PDU = -1; /* UEContextKeptIndicator */ static int hf_xnap_UEContextID_PDU = -1; /* UEContextID */ static int hf_xnap_UEContextInfoRetrUECtxtResp_PDU = -1; /* UEContextInfoRetrUECtxtResp */ static int hf_xnap_UEHistoryInformation_PDU = -1; /* UEHistoryInformation */ static int hf_xnap_UEHistoryInformationFromTheUE_PDU = -1; /* UEHistoryInformationFromTheUE */ static int hf_xnap_UEIdentityIndexValue_PDU = -1; /* UEIdentityIndexValue */ static int hf_xnap_UEIdentityIndexList_MBSGroupPaging_PDU = -1; /* UEIdentityIndexList_MBSGroupPaging */ static int hf_xnap_UERadioCapabilityForPaging_PDU = -1; /* UERadioCapabilityForPaging */ static int hf_xnap_UERadioCapabilityID_PDU = -1; /* UERadioCapabilityID */ static int hf_xnap_UERANPagingIdentity_PDU = -1; /* UERANPagingIdentity */ static int hf_xnap_UERLFReportContainer_PDU = -1; /* UERLFReportContainer */ static int hf_xnap_UERLFReportContainerLTEExtension_PDU = -1; /* UERLFReportContainerLTEExtension */ static int hf_xnap_UESliceMaximumBitRateList_PDU = -1; /* UESliceMaximumBitRateList */ static int hf_xnap_UESecurityCapabilities_PDU = -1; /* UESecurityCapabilities */ static int hf_xnap_UESpecificDRX_PDU = -1; /* UESpecificDRX */ static int hf_xnap_ULForwardingProposal_PDU = -1; /* ULForwardingProposal */ static int hf_xnap_UPTransportLayerInformation_PDU = -1; /* UPTransportLayerInformation */ static int hf_xnap_UPTransportParameters_PDU = -1; /* UPTransportParameters */ static int hf_xnap_UserPlaneTrafficActivityReport_PDU = -1; /* UserPlaneTrafficActivityReport */ static int hf_xnap_URIaddress_PDU = -1; /* URIaddress */ static int hf_xnap_XnBenefitValue_PDU = -1; /* XnBenefitValue */ static int hf_xnap_HandoverRequest_PDU = -1; /* HandoverRequest */ static int hf_xnap_UEContextInfoHORequest_PDU = -1; /* UEContextInfoHORequest */ static int hf_xnap_UEContextRefAtSN_HORequest_PDU = -1; /* UEContextRefAtSN_HORequest */ static int hf_xnap_HandoverRequestAcknowledge_PDU = -1; /* HandoverRequestAcknowledge */ static int hf_xnap_Target2SourceNG_RANnodeTranspContainer_PDU = -1; /* Target2SourceNG_RANnodeTranspContainer */ static int hf_xnap_HandoverPreparationFailure_PDU = -1; /* HandoverPreparationFailure */ static int hf_xnap_SNStatusTransfer_PDU = -1; /* SNStatusTransfer */ static int hf_xnap_UEContextRelease_PDU = -1; /* UEContextRelease */ static int hf_xnap_HandoverCancel_PDU = -1; /* HandoverCancel */ static int hf_xnap_HandoverSuccess_PDU = -1; /* HandoverSuccess */ static int hf_xnap_ConditionalHandoverCancel_PDU = -1; /* ConditionalHandoverCancel */ static int hf_xnap_EarlyStatusTransfer_PDU = -1; /* EarlyStatusTransfer */ static int hf_xnap_ProcedureStageChoice_PDU = -1; /* ProcedureStageChoice */ static int hf_xnap_RANPaging_PDU = -1; /* RANPaging */ static int hf_xnap_RetrieveUEContextRequest_PDU = -1; /* RetrieveUEContextRequest */ static int hf_xnap_RetrieveUEContextResponse_PDU = -1; /* RetrieveUEContextResponse */ static int hf_xnap_RetrieveUEContextConfirm_PDU = -1; /* RetrieveUEContextConfirm */ static int hf_xnap_RetrieveUEContextFailure_PDU = -1; /* RetrieveUEContextFailure */ static int hf_xnap_OldtoNewNG_RANnodeResumeContainer_PDU = -1; /* OldtoNewNG_RANnodeResumeContainer */ static int hf_xnap_XnUAddressIndication_PDU = -1; /* XnUAddressIndication */ static int hf_xnap_SNodeAdditionRequest_PDU = -1; /* SNodeAdditionRequest */ static int hf_xnap_MN_to_SN_Container_PDU = -1; /* MN_to_SN_Container */ static int hf_xnap_PDUSessionToBeAddedAddReq_PDU = -1; /* PDUSessionToBeAddedAddReq */ static int hf_xnap_RequestedFastMCGRecoveryViaSRB3_PDU = -1; /* RequestedFastMCGRecoveryViaSRB3 */ static int hf_xnap_SNodeAdditionRequestAcknowledge_PDU = -1; /* SNodeAdditionRequestAcknowledge */ static int hf_xnap_SN_to_MN_Container_PDU = -1; /* SN_to_MN_Container */ static int hf_xnap_PDUSessionAdmittedAddedAddReqAck_PDU = -1; /* PDUSessionAdmittedAddedAddReqAck */ static int hf_xnap_PDUSessionNotAdmittedAddReqAck_PDU = -1; /* PDUSessionNotAdmittedAddReqAck */ static int hf_xnap_AvailableFastMCGRecoveryViaSRB3_PDU = -1; /* AvailableFastMCGRecoveryViaSRB3 */ static int hf_xnap_SNodeAdditionRequestReject_PDU = -1; /* SNodeAdditionRequestReject */ static int hf_xnap_SNodeReconfigurationComplete_PDU = -1; /* SNodeReconfigurationComplete */ static int hf_xnap_ResponseInfo_ReconfCompl_PDU = -1; /* ResponseInfo_ReconfCompl */ static int hf_xnap_SNodeModificationRequest_PDU = -1; /* SNodeModificationRequest */ static int hf_xnap_UEContextInfo_SNModRequest_PDU = -1; /* UEContextInfo_SNModRequest */ static int hf_xnap_RequestedFastMCGRecoveryViaSRB3Release_PDU = -1; /* RequestedFastMCGRecoveryViaSRB3Release */ static int hf_xnap_SNodeModificationRequestAcknowledge_PDU = -1; /* SNodeModificationRequestAcknowledge */ static int hf_xnap_PDUSessionAdmitted_SNModResponse_PDU = -1; /* PDUSessionAdmitted_SNModResponse */ static int hf_xnap_PDUSessionNotAdmitted_SNModResponse_PDU = -1; /* PDUSessionNotAdmitted_SNModResponse */ static int hf_xnap_PDUSessionDataForwarding_SNModResponse_PDU = -1; /* PDUSessionDataForwarding_SNModResponse */ static int hf_xnap_ReleaseFastMCGRecoveryViaSRB3_PDU = -1; /* ReleaseFastMCGRecoveryViaSRB3 */ static int hf_xnap_SNodeModificationRequestReject_PDU = -1; /* SNodeModificationRequestReject */ static int hf_xnap_SNodeModificationRequired_PDU = -1; /* SNodeModificationRequired */ static int hf_xnap_PDUSessionToBeModifiedSNModRequired_PDU = -1; /* PDUSessionToBeModifiedSNModRequired */ static int hf_xnap_PDUSessionToBeReleasedSNModRequired_PDU = -1; /* PDUSessionToBeReleasedSNModRequired */ static int hf_xnap_SNodeModificationConfirm_PDU = -1; /* SNodeModificationConfirm */ static int hf_xnap_PDUSessionAdmittedModSNModConfirm_PDU = -1; /* PDUSessionAdmittedModSNModConfirm */ static int hf_xnap_PDUSessionReleasedSNModConfirm_PDU = -1; /* PDUSessionReleasedSNModConfirm */ static int hf_xnap_SNodeModificationRefuse_PDU = -1; /* SNodeModificationRefuse */ static int hf_xnap_SNodeReleaseRequest_PDU = -1; /* SNodeReleaseRequest */ static int hf_xnap_SNodeReleaseRequestAcknowledge_PDU = -1; /* SNodeReleaseRequestAcknowledge */ static int hf_xnap_PDUSessionToBeReleasedList_RelReqAck_PDU = -1; /* PDUSessionToBeReleasedList_RelReqAck */ static int hf_xnap_SNodeReleaseReject_PDU = -1; /* SNodeReleaseReject */ static int hf_xnap_SNodeReleaseRequired_PDU = -1; /* SNodeReleaseRequired */ static int hf_xnap_PDUSessionToBeReleasedList_RelRqd_PDU = -1; /* PDUSessionToBeReleasedList_RelRqd */ static int hf_xnap_SNodeReleaseConfirm_PDU = -1; /* SNodeReleaseConfirm */ static int hf_xnap_PDUSessionReleasedList_RelConf_PDU = -1; /* PDUSessionReleasedList_RelConf */ static int hf_xnap_SNodeCounterCheckRequest_PDU = -1; /* SNodeCounterCheckRequest */ static int hf_xnap_BearersSubjectToCounterCheck_List_PDU = -1; /* BearersSubjectToCounterCheck_List */ static int hf_xnap_SNodeChangeRequired_PDU = -1; /* SNodeChangeRequired */ static int hf_xnap_PDUSession_SNChangeRequired_List_PDU = -1; /* PDUSession_SNChangeRequired_List */ static int hf_xnap_SNodeChangeConfirm_PDU = -1; /* SNodeChangeConfirm */ static int hf_xnap_PDUSession_SNChangeConfirm_List_PDU = -1; /* PDUSession_SNChangeConfirm_List */ static int hf_xnap_SNodeChangeRefuse_PDU = -1; /* SNodeChangeRefuse */ static int hf_xnap_RRCTransfer_PDU = -1; /* RRCTransfer */ static int hf_xnap_SplitSRB_RRCTransfer_PDU = -1; /* SplitSRB_RRCTransfer */ static int hf_xnap_UEReportRRCTransfer_PDU = -1; /* UEReportRRCTransfer */ static int hf_xnap_FastMCGRecoveryRRCTransfer_PDU = -1; /* FastMCGRecoveryRRCTransfer */ static int hf_xnap_SDT_SRB_between_NewNode_OldNode_PDU = -1; /* SDT_SRB_between_NewNode_OldNode */ static int hf_xnap_NotificationControlIndication_PDU = -1; /* NotificationControlIndication */ static int hf_xnap_PDUSessionResourcesNotifyList_PDU = -1; /* PDUSessionResourcesNotifyList */ static int hf_xnap_ActivityNotification_PDU = -1; /* ActivityNotification */ static int hf_xnap_PDUSessionResourcesActivityNotifyList_PDU = -1; /* PDUSessionResourcesActivityNotifyList */ static int hf_xnap_XnSetupRequest_PDU = -1; /* XnSetupRequest */ static int hf_xnap_XnSetupResponse_PDU = -1; /* XnSetupResponse */ static int hf_xnap_XnSetupFailure_PDU = -1; /* XnSetupFailure */ static int hf_xnap_NGRANNodeConfigurationUpdate_PDU = -1; /* NGRANNodeConfigurationUpdate */ static int hf_xnap_ConfigurationUpdateInitiatingNodeChoice_PDU = -1; /* ConfigurationUpdateInitiatingNodeChoice */ static int hf_xnap_NGRANNodeConfigurationUpdateAcknowledge_PDU = -1; /* NGRANNodeConfigurationUpdateAcknowledge */ static int hf_xnap_RespondingNodeTypeConfigUpdateAck_PDU = -1; /* RespondingNodeTypeConfigUpdateAck */ static int hf_xnap_NGRANNodeConfigurationUpdateFailure_PDU = -1; /* NGRANNodeConfigurationUpdateFailure */ static int hf_xnap_E_UTRA_NR_CellResourceCoordinationRequest_PDU = -1; /* E_UTRA_NR_CellResourceCoordinationRequest */ static int hf_xnap_InitiatingNodeType_ResourceCoordRequest_PDU = -1; /* InitiatingNodeType_ResourceCoordRequest */ static int hf_xnap_E_UTRA_NR_CellResourceCoordinationResponse_PDU = -1; /* E_UTRA_NR_CellResourceCoordinationResponse */ static int hf_xnap_RespondingNodeType_ResourceCoordResponse_PDU = -1; /* RespondingNodeType_ResourceCoordResponse */ static int hf_xnap_SecondaryRATDataUsageReport_PDU = -1; /* SecondaryRATDataUsageReport */ static int hf_xnap_XnRemovalRequest_PDU = -1; /* XnRemovalRequest */ static int hf_xnap_XnRemovalResponse_PDU = -1; /* XnRemovalResponse */ static int hf_xnap_XnRemovalFailure_PDU = -1; /* XnRemovalFailure */ static int hf_xnap_CellActivationRequest_PDU = -1; /* CellActivationRequest */ static int hf_xnap_ServedCellsToActivate_PDU = -1; /* ServedCellsToActivate */ static int hf_xnap_CellActivationResponse_PDU = -1; /* CellActivationResponse */ static int hf_xnap_ActivatedServedCells_PDU = -1; /* ActivatedServedCells */ static int hf_xnap_CellActivationFailure_PDU = -1; /* CellActivationFailure */ static int hf_xnap_ResetRequest_PDU = -1; /* ResetRequest */ static int hf_xnap_ResetResponse_PDU = -1; /* ResetResponse */ static int hf_xnap_ErrorIndication_PDU = -1; /* ErrorIndication */ static int hf_xnap_PrivateMessage_PDU = -1; /* PrivateMessage */ static int hf_xnap_TraceStart_PDU = -1; /* TraceStart */ static int hf_xnap_DeactivateTrace_PDU = -1; /* DeactivateTrace */ static int hf_xnap_FailureIndication_PDU = -1; /* FailureIndication */ static int hf_xnap_HandoverReport_PDU = -1; /* HandoverReport */ static int hf_xnap_ResourceStatusRequest_PDU = -1; /* ResourceStatusRequest */ static int hf_xnap_ResourceStatusResponse_PDU = -1; /* ResourceStatusResponse */ static int hf_xnap_ResourceStatusFailure_PDU = -1; /* ResourceStatusFailure */ static int hf_xnap_ResourceStatusUpdate_PDU = -1; /* ResourceStatusUpdate */ static int hf_xnap_MobilityChangeRequest_PDU = -1; /* MobilityChangeRequest */ static int hf_xnap_MobilityChangeAcknowledge_PDU = -1; /* MobilityChangeAcknowledge */ static int hf_xnap_MobilityChangeFailure_PDU = -1; /* MobilityChangeFailure */ static int hf_xnap_AccessAndMobilityIndication_PDU = -1; /* AccessAndMobilityIndication */ static int hf_xnap_CellTrafficTrace_PDU = -1; /* CellTrafficTrace */ static int hf_xnap_RANMulticastGroupPaging_PDU = -1; /* RANMulticastGroupPaging */ static int hf_xnap_ScgFailureInformationReport_PDU = -1; /* ScgFailureInformationReport */ static int hf_xnap_ScgFailureTransfer_PDU = -1; /* ScgFailureTransfer */ static int hf_xnap_F1CTrafficTransfer_PDU = -1; /* F1CTrafficTransfer */ static int hf_xnap_IABTransportMigrationManagementRequest_PDU = -1; /* IABTransportMigrationManagementRequest */ static int hf_xnap_TrafficToBeAddedList_PDU = -1; /* TrafficToBeAddedList */ static int hf_xnap_TrafficToBeModifiedList_PDU = -1; /* TrafficToBeModifiedList */ static int hf_xnap_IABTransportMigrationManagementResponse_PDU = -1; /* IABTransportMigrationManagementResponse */ static int hf_xnap_TrafficAddedList_PDU = -1; /* TrafficAddedList */ static int hf_xnap_TrafficModifiedList_PDU = -1; /* TrafficModifiedList */ static int hf_xnap_TrafficNotAddedList_PDU = -1; /* TrafficNotAddedList */ static int hf_xnap_TrafficNotModifiedList_PDU = -1; /* TrafficNotModifiedList */ static int hf_xnap_TrafficReleasedList_PDU = -1; /* TrafficReleasedList */ static int hf_xnap_IABTransportMigrationManagementReject_PDU = -1; /* IABTransportMigrationManagementReject */ static int hf_xnap_IABTransportMigrationModificationRequest_PDU = -1; /* IABTransportMigrationModificationRequest */ static int hf_xnap_TrafficRequiredToBeModifiedList_PDU = -1; /* TrafficRequiredToBeModifiedList */ static int hf_xnap_IABTNLAddressToBeReleasedList_PDU = -1; /* IABTNLAddressToBeReleasedList */ static int hf_xnap_IABTransportMigrationModificationResponse_PDU = -1; /* IABTransportMigrationModificationResponse */ static int hf_xnap_TrafficRequiredModifiedList_PDU = -1; /* TrafficRequiredModifiedList */ static int hf_xnap_IABResourceCoordinationRequest_PDU = -1; /* IABResourceCoordinationRequest */ static int hf_xnap_BoundaryNodeCellsList_PDU = -1; /* BoundaryNodeCellsList */ static int hf_xnap_ParentNodeCellsList_PDU = -1; /* ParentNodeCellsList */ static int hf_xnap_IABResourceCoordinationResponse_PDU = -1; /* IABResourceCoordinationResponse */ static int hf_xnap_CPCCancel_PDU = -1; /* CPCCancel */ static int hf_xnap_PartialUEContextTransfer_PDU = -1; /* PartialUEContextTransfer */ static int hf_xnap_PartialUEContextTransferAcknowledge_PDU = -1; /* PartialUEContextTransferAcknowledge */ static int hf_xnap_PartialUEContextTransferFailure_PDU = -1; /* PartialUEContextTransferFailure */ static int hf_xnap_XnAP_PDU_PDU = -1; /* XnAP_PDU */ static int hf_xnap_local = -1; /* INTEGER_0_maxPrivateIEs */ static int hf_xnap_global = -1; /* OBJECT_IDENTIFIER */ static int hf_xnap_ProtocolIE_Container_item = -1; /* ProtocolIE_Field */ static int hf_xnap_id = -1; /* ProtocolIE_ID */ static int hf_xnap_criticality = -1; /* Criticality */ static int hf_xnap_protocolIE_Field_value = -1; /* ProtocolIE_Field_value */ static int hf_xnap_ProtocolExtensionContainer_item = -1; /* ProtocolExtensionField */ static int hf_xnap_extension_id = -1; /* ProtocolIE_ID */ static int hf_xnap_extensionValue = -1; /* T_extensionValue */ static int hf_xnap_PrivateIE_Container_item = -1; /* PrivateIE_Field */ static int hf_xnap_private_id = -1; /* PrivateIE_ID */ static int hf_xnap_privateIE_Field_value = -1; /* PrivateIE_Field_value */ static int hf_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_item = -1; /* AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item */ static int hf_xnap_pDUSessionResourceChangeConfirmInfo_SNterminated = -1; /* PDUSessionResourceChangeConfirmInfo_SNterminated */ static int hf_xnap_iE_Extensions = -1; /* ProtocolExtensionContainer */ static int hf_xnap_Additional_PDCP_Duplication_TNL_List_item = -1; /* Additional_PDCP_Duplication_TNL_Item */ static int hf_xnap_additional_PDCP_Duplication_UP_TNL_Information = -1; /* UPTransportLayerInformation */ static int hf_xnap_additional_UL_NG_U_TNLatUPF = -1; /* UPTransportLayerInformation */ static int hf_xnap_Additional_UL_NG_U_TNLatUPF_List_item = -1; /* Additional_UL_NG_U_TNLatUPF_Item */ static int hf_xnap_Additional_Measurement_Timing_Configuration_List_item = -1; /* Additional_Measurement_Timing_Configuration_Item */ static int hf_xnap_additionalMeasurementTimingConfigurationIndex = -1; /* INTEGER_0_16 */ static int hf_xnap_csi_RS_MTC_Configuration_List = -1; /* CSI_RS_MTC_Configuration_List */ static int hf_xnap_mBS_QoSFlowsToAdd_List = -1; /* MBS_QoSFlowsToAdd_List */ static int hf_xnap_mBS_ServiceArea = -1; /* MBS_ServiceArea */ static int hf_xnap_mBS_MappingandDataForwardingRequestInfofromSource = -1; /* MBS_MappingandDataForwardingRequestInfofromSource */ static int hf_xnap_priorityLevel = -1; /* INTEGER_0_15_ */ static int hf_xnap_pre_emption_capability = -1; /* T_pre_emption_capability */ static int hf_xnap_pre_emption_vulnerability = -1; /* T_pre_emption_vulnerability */ static int hf_xnap_AllowedCAG_ID_List_perPLMN_item = -1; /* CAG_Identifier */ static int hf_xnap_AllowedPNI_NPN_ID_List_item = -1; /* AllowedPNI_NPN_ID_Item */ static int hf_xnap_plmn_id = -1; /* PLMN_Identity */ static int hf_xnap_pni_npn_restricted_information = -1; /* PNI_NPN_Restricted_Information */ static int hf_xnap_allowed_CAG_id_list_per_plmn = -1; /* AllowedCAG_ID_List_perPLMN */ static int hf_xnap_AlternativeQoSParaSetList_item = -1; /* AlternativeQoSParaSetItem */ static int hf_xnap_alternativeQoSParaSetIndex = -1; /* QoSParaSetIndex */ static int hf_xnap_guaranteedFlowBitRateDL = -1; /* BitRate */ static int hf_xnap_guaranteedFlowBitRateUL = -1; /* BitRate */ static int hf_xnap_packetDelayBudget = -1; /* PacketDelayBudget */ static int hf_xnap_packetErrorRate = -1; /* PacketErrorRate */ static int hf_xnap_AMF_Region_Information_item = -1; /* GlobalAMF_Region_Information */ static int hf_xnap_plmn_ID = -1; /* PLMN_Identity */ static int hf_xnap_amf_region_id = -1; /* BIT_STRING_SIZE_8 */ static int hf_xnap_AreaOfInterestInformation_item = -1; /* AreaOfInterest_Item */ static int hf_xnap_listOfTAIsinAoI = -1; /* ListOfTAIsinAoI */ static int hf_xnap_listOfCellsinAoI = -1; /* ListOfCells */ static int hf_xnap_listOfRANNodesinAoI = -1; /* ListOfRANNodesinAoI */ static int hf_xnap_requestReferenceID = -1; /* RequestReferenceID */ static int hf_xnap_cellBased = -1; /* CellBasedMDT_NR */ static int hf_xnap_tABased = -1; /* TABasedMDT */ static int hf_xnap_tAIBased = -1; /* TAIBasedMDT */ static int hf_xnap_choice_extension = -1; /* ProtocolIE_Single_Container */ static int hf_xnap_cellBased_01 = -1; /* CellBasedMDT_EUTRA */ static int hf_xnap_AreaScopeOfNeighCellsList_item = -1; /* AreaScopeOfNeighCellsItem */ static int hf_xnap_nrFrequencyInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_pciListForMDT = -1; /* PCIListForMDT */ static int hf_xnap_cellBased_02 = -1; /* CellBasedQMC */ static int hf_xnap_tABased_01 = -1; /* TABasedQMC */ static int hf_xnap_tAIBased_01 = -1; /* TAIBasedQMC */ static int hf_xnap_pLMNAreaBased = -1; /* PLMNAreaBasedQMC */ static int hf_xnap_key_NG_RAN_Star = -1; /* BIT_STRING_SIZE_256 */ static int hf_xnap_ncc = -1; /* INTEGER_0_7 */ static int hf_xnap_ran_paging_attempt_info = -1; /* RANPagingAttemptInfo */ static int hf_xnap_Associated_QoSFlowInfo_List_item = -1; /* Associated_QoSFlowInfo_Item */ static int hf_xnap_mBS_QoSFlowIdentifier = -1; /* QoSFlowIdentifier */ static int hf_xnap_associatedUnicastQoSFlowIdentifier = -1; /* QoSFlowIdentifier */ static int hf_xnap_bufferLevel = -1; /* T_bufferLevel */ static int hf_xnap_playoutDelayForMediaStartup = -1; /* T_playoutDelayForMediaStartup */ static int hf_xnap_bAPAddress = -1; /* BAPAddress */ static int hf_xnap_bAPPathID = -1; /* BAPPathID */ static int hf_xnap_beamMeasurementsReportQuantity = -1; /* BeamMeasurementsReportQuantity */ static int hf_xnap_maxNrofRS_IndexesToReport = -1; /* MaxNrofRS_IndexesToReport */ static int hf_xnap_rSRP = -1; /* T_rSRP */ static int hf_xnap_rSRQ = -1; /* T_rSRQ */ static int hf_xnap_sINR = -1; /* T_sINR */ static int hf_xnap_BHInfoList_item = -1; /* BHInfo_Item */ static int hf_xnap_bHInfoIndex = -1; /* BHInfoIndex */ static int hf_xnap_BAPControlPDURLCCH_List_item = -1; /* BAPControlPDURLCCH_Item */ static int hf_xnap_bHRLCCHID = -1; /* BHRLCChannelID */ static int hf_xnap_nexthopBAPAddress = -1; /* BAPAddress */ static int hf_xnap_bluetoothMeasConfig = -1; /* BluetoothMeasConfig */ static int hf_xnap_bluetoothMeasConfigNameList = -1; /* BluetoothMeasConfigNameList */ static int hf_xnap_bt_rssi = -1; /* T_bt_rssi */ static int hf_xnap_BluetoothMeasConfigNameList_item = -1; /* BluetoothName */ static int hf_xnap_BPLMN_ID_Info_EUTRA_item = -1; /* BPLMN_ID_Info_EUTRA_Item */ static int hf_xnap_broadcastPLMNs = -1; /* BroadcastEUTRAPLMNs */ static int hf_xnap_tac = -1; /* TAC */ static int hf_xnap_e_utraCI = -1; /* E_UTRA_Cell_Identity */ static int hf_xnap_ranac = -1; /* RANAC */ static int hf_xnap_iE_Extension = -1; /* ProtocolExtensionContainer */ static int hf_xnap_BPLMN_ID_Info_NR_item = -1; /* BPLMN_ID_Info_NR_Item */ static int hf_xnap_broadcastPLMNs_01 = -1; /* BroadcastPLMNs */ static int hf_xnap_nr_CI = -1; /* NR_Cell_Identity */ static int hf_xnap_BroadcastCAG_Identifier_List_item = -1; /* BroadcastCAG_Identifier_Item */ static int hf_xnap_cag_Identifier = -1; /* CAG_Identifier */ static int hf_xnap_BroadcastNID_List_item = -1; /* BroadcastNID_Item */ static int hf_xnap_nid = -1; /* NID */ static int hf_xnap_BroadcastPLMNs_item = -1; /* PLMN_Identity */ static int hf_xnap_BroadcastEUTRAPLMNs_item = -1; /* PLMN_Identity */ static int hf_xnap_tAISliceSupport_List = -1; /* SliceSupport_List */ static int hf_xnap_BroadcastPNI_NPN_ID_Information_item = -1; /* BroadcastPNI_NPN_ID_Information_Item */ static int hf_xnap_broadcastCAG_Identifier_List = -1; /* BroadcastCAG_Identifier_List */ static int hf_xnap_BroadcastSNPNID_List_item = -1; /* BroadcastSNPNID */ static int hf_xnap_broadcastNID_List = -1; /* BroadcastNID_List */ static int hf_xnap_capacityValue = -1; /* CapacityValue */ static int hf_xnap_ssbAreaCapacityValueList = -1; /* SSBAreaCapacityValue_List */ static int hf_xnap_radioNetwork = -1; /* CauseRadioNetworkLayer */ static int hf_xnap_transport = -1; /* CauseTransportLayer */ static int hf_xnap_protocol = -1; /* CauseProtocol */ static int hf_xnap_misc = -1; /* CauseMisc */ static int hf_xnap_limitedNR_List = -1; /* SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI */ static int hf_xnap_limitedNR_List_item = -1; /* NR_CGI */ static int hf_xnap_full_List = -1; /* T_full_List */ static int hf_xnap_maximumCellListSize = -1; /* MaximumCellListSize */ static int hf_xnap_cellAssistanceInfo_NR = -1; /* CellAssistanceInfo_NR */ static int hf_xnap_cellAssistanceInfo_EUTRA = -1; /* CellAssistanceInfo_EUTRA */ static int hf_xnap_limitedEUTRA_List = -1; /* SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI */ static int hf_xnap_limitedEUTRA_List_item = -1; /* E_UTRA_CGI */ static int hf_xnap_full_List_01 = -1; /* T_full_List_01 */ static int hf_xnap_cellIdListforMDT_NR = -1; /* CellIdListforMDT_NR */ static int hf_xnap_CellIdListforMDT_NR_item = -1; /* NR_CGI */ static int hf_xnap_cellIdListforQMC = -1; /* CellIdListforQMC */ static int hf_xnap_CellIdListforQMC_item = -1; /* GlobalNG_RANCell_ID */ static int hf_xnap_cellIdListforMDT_EUTRA = -1; /* CellIdListforMDT_EUTRA */ static int hf_xnap_CellIdListforMDT_EUTRA_item = -1; /* E_UTRA_CGI */ static int hf_xnap_CellMeasurementResult_item = -1; /* CellMeasurementResult_Item */ static int hf_xnap_cell_ID = -1; /* GlobalNG_RANCell_ID */ static int hf_xnap_radioResourceStatus = -1; /* RadioResourceStatus */ static int hf_xnap_tNLCapacityIndicator = -1; /* TNLCapacityIndicator */ static int hf_xnap_compositeAvailableCapacityGroup = -1; /* CompositeAvailableCapacityGroup */ static int hf_xnap_sliceAvailableCapacity = -1; /* SliceAvailableCapacity */ static int hf_xnap_numberofActiveUEs = -1; /* NumberofActiveUEs */ static int hf_xnap_rRCConnections = -1; /* RRCConnections */ static int hf_xnap_replacingCells = -1; /* ReplacingCells */ static int hf_xnap_CellToReport_item = -1; /* CellToReport_Item */ static int hf_xnap_sSBToReport_List = -1; /* SSBToReport_List */ static int hf_xnap_sliceToReport_List = -1; /* SliceToReport_List */ static int hf_xnap_ng_ran_e_utra = -1; /* E_UTRA_Cell_Identity */ static int hf_xnap_ng_ran_nr = -1; /* NR_Cell_Identity */ static int hf_xnap_e_utran = -1; /* E_UTRA_Cell_Identity */ static int hf_xnap_choCandidateCell_List = -1; /* CHOCandidateCell_List */ static int hf_xnap_CHOCandidateCell_List_item = -1; /* CHOCandidateCell_Item */ static int hf_xnap_choCandidateCellID = -1; /* GlobalNG_RANCell_ID */ static int hf_xnap_choExecutionCondition_List = -1; /* CHOExecutionCondition_List */ static int hf_xnap_CHOExecutionCondition_List_item = -1; /* CHOExecutionCondition_Item */ static int hf_xnap_measObjectContainer = -1; /* MeasObjectContainer */ static int hf_xnap_reportConfigContainer = -1; /* ReportConfigContainer */ static int hf_xnap_compositeAvailableCapacityDownlink = -1; /* CompositeAvailableCapacity */ static int hf_xnap_compositeAvailableCapacityUplink = -1; /* CompositeAvailableCapacity */ static int hf_xnap_cellCapacityClassValue = -1; /* CellCapacityClassValue */ static int hf_xnap_capacityValueInfo = -1; /* CapacityValueInfo */ static int hf_xnap_cho_trigger = -1; /* CHOtrigger */ static int hf_xnap_targetNG_RANnodeUEXnAPID = -1; /* NG_RANnodeUEXnAPID */ static int hf_xnap_cHO_EstimatedArrivalProbability = -1; /* CHO_Probability */ static int hf_xnap_requestedTargetCellGlobalID = -1; /* Target_CGI */ static int hf_xnap_maxCHOoperations = -1; /* MaxCHOpreparations */ static int hf_xnap_source_M_NGRAN_node_ID = -1; /* GlobalNG_RANNode_ID */ static int hf_xnap_source_M_NGRAN_node_UE_XnAP_ID = -1; /* NG_RANnodeUEXnAPID */ static int hf_xnap_conditionalReconfig = -1; /* T_conditionalReconfig */ static int hf_xnap_eNDC_Support = -1; /* T_eNDC_Support */ static int hf_xnap_pdcp_SN12 = -1; /* INTEGER_0_4095 */ static int hf_xnap_hfn_PDCP_SN12 = -1; /* INTEGER_0_1048575 */ static int hf_xnap_pdcp_SN18 = -1; /* INTEGER_0_262143 */ static int hf_xnap_hfn_PDCP_SN18 = -1; /* INTEGER_0_16383 */ static int hf_xnap_Coverage_Modification_List_item = -1; /* Coverage_Modification_List_Item */ static int hf_xnap_globalNG_RANCell_ID = -1; /* GlobalCell_ID */ static int hf_xnap_cellCoverageState = -1; /* INTEGER_0_63_ */ static int hf_xnap_cellDeploymentStatusIndicator = -1; /* CellDeploymentStatusIndicator */ static int hf_xnap_cellReplacingInfo = -1; /* CellReplacingInfo */ static int hf_xnap_sSB_Coverage_Modification_List = -1; /* SSB_Coverage_Modification_List */ static int hf_xnap_endpointIPAddress = -1; /* TransportLayerAddress */ static int hf_xnap_CPACcandidatePSCells_list_item = -1; /* CPACcandidatePSCells_item */ static int hf_xnap_pscell_id = -1; /* NR_CGI */ static int hf_xnap_max_no_of_pscells = -1; /* INTEGER_1_maxnoofPSCellCandidates_ */ static int hf_xnap_cpac_EstimatedArrivalProbability = -1; /* CHO_Probability */ static int hf_xnap_candidate_pscells = -1; /* CPACcandidatePSCells_list */ static int hf_xnap_cpc_target_sn_required_list = -1; /* CPC_target_SN_required_list */ static int hf_xnap_CPC_target_SN_required_list_item = -1; /* CPC_target_SN_required_list_Item */ static int hf_xnap_target_S_NG_RANnodeID = -1; /* GlobalNG_RANNode_ID */ static int hf_xnap_cpc_indicator = -1; /* CPCindicator */ static int hf_xnap_sN_to_MN_Container = -1; /* T_sN_to_MN_Container */ static int hf_xnap_cpc_target_sn_confirm_list = -1; /* CPC_target_SN_confirm_list */ static int hf_xnap_CPC_target_SN_confirm_list_item = -1; /* CPC_target_SN_confirm_list_Item */ static int hf_xnap_max_no_of_pscells_01 = -1; /* INTEGER_1_8_ */ static int hf_xnap_cpc_target_sn_list = -1; /* CPC_target_SN_mod_list */ static int hf_xnap_CPC_target_SN_mod_list_item = -1; /* CPC_target_SN_mod_item */ static int hf_xnap_candidate_pscells_01 = -1; /* CPCInformationUpdatePSCells_list */ static int hf_xnap_CPCInformationUpdatePSCells_list_item = -1; /* CPCInformationUpdatePSCells_item */ static int hf_xnap_procedureCode = -1; /* ProcedureCode */ static int hf_xnap_triggeringMessage = -1; /* TriggeringMessage */ static int hf_xnap_procedureCriticality = -1; /* Criticality */ static int hf_xnap_iEsCriticalityDiagnostics = -1; /* CriticalityDiagnostics_IE_List */ static int hf_xnap_CriticalityDiagnostics_IE_List_item = -1; /* CriticalityDiagnostics_IE_List_item */ static int hf_xnap_iECriticality = -1; /* Criticality */ static int hf_xnap_iE_ID = -1; /* ProtocolIE_ID */ static int hf_xnap_typeOfError = -1; /* TypeOfError */ static int hf_xnap_CSI_RS_MTC_Configuration_List_item = -1; /* CSI_RS_MTC_Configuration_Item */ static int hf_xnap_csi_RS_Index = -1; /* INTEGER_0_95 */ static int hf_xnap_csi_RS_Status = -1; /* T_csi_RS_Status */ static int hf_xnap_csi_RS_Neighbour_List = -1; /* CSI_RS_Neighbour_List */ static int hf_xnap_CSI_RS_Neighbour_List_item = -1; /* CSI_RS_Neighbour_Item */ static int hf_xnap_nr_cgi = -1; /* NR_CGI */ static int hf_xnap_csi_RS_MTC_Neighbour_List = -1; /* CSI_RS_MTC_Neighbour_List */ static int hf_xnap_CSI_RS_MTC_Neighbour_List_item = -1; /* CSI_RS_MTC_Neighbour_Item */ static int hf_xnap_XnUAddressInfoperPDUSession_List_item = -1; /* XnUAddressInfoperPDUSession_Item */ static int hf_xnap_pduSession_ID = -1; /* PDUSession_ID */ static int hf_xnap_dataForwardingInfoFromTargetNGRANnode = -1; /* DataForwardingInfoFromTargetNGRANnode */ static int hf_xnap_pduSessionResourceSetupCompleteInfo_SNterm = -1; /* PDUSessionResourceBearerSetupCompleteInfo_SNterminated */ static int hf_xnap_dataForwardingInfoFromTargetE_UTRANnode_List = -1; /* DataForwardingInfoFromTargetE_UTRANnode_List */ static int hf_xnap_DataForwardingInfoFromTargetE_UTRANnode_List_item = -1; /* DataForwardingInfoFromTargetE_UTRANnode_Item */ static int hf_xnap_dlForwardingUPTNLInformation = -1; /* UPTransportLayerInformation */ static int hf_xnap_qosFlowsToBeForwarded_List = -1; /* QoSFlowsToBeForwarded_List */ static int hf_xnap_QoSFlowsToBeForwarded_List_item = -1; /* QoSFlowsToBeForwarded_Item */ static int hf_xnap_qosFlowIdentifier = -1; /* QoSFlowIdentifier */ static int hf_xnap_qosFlowsAcceptedForDataForwarding_List = -1; /* QoSFLowsAcceptedToBeForwarded_List */ static int hf_xnap_pduSessionLevelDLDataForwardingInfo = -1; /* UPTransportLayerInformation */ static int hf_xnap_pduSessionLevelULDataForwardingInfo = -1; /* UPTransportLayerInformation */ static int hf_xnap_dataForwardingResponseDRBItemList = -1; /* DataForwardingResponseDRBItemList */ static int hf_xnap_QoSFLowsAcceptedToBeForwarded_List_item = -1; /* QoSFLowsAcceptedToBeForwarded_Item */ static int hf_xnap_qosFlowsToBeForwarded = -1; /* QoSFLowsToBeForwarded_List */ static int hf_xnap_sourceDRBtoQoSFlowMapping = -1; /* DRBToQoSFlowMapping_List */ static int hf_xnap_QoSFLowsToBeForwarded_List_item = -1; /* QoSFLowsToBeForwarded_Item */ static int hf_xnap_dl_dataforwarding = -1; /* DLForwarding */ static int hf_xnap_ul_dataforwarding = -1; /* ULForwarding */ static int hf_xnap_DataForwardingResponseDRBItemList_item = -1; /* DataForwardingResponseDRBItem */ static int hf_xnap_drb_ID = -1; /* DRB_ID */ static int hf_xnap_dlForwardingUPTNL = -1; /* UPTransportLayerInformation */ static int hf_xnap_ulForwardingUPTNL = -1; /* UPTransportLayerInformation */ static int hf_xnap_activationSFN = -1; /* ActivationSFN */ static int hf_xnap_sharedResourceType = -1; /* SharedResourceType */ static int hf_xnap_reservedSubframePattern = -1; /* ReservedSubframePattern */ static int hf_xnap_dapsIndicator = -1; /* T_dapsIndicator */ static int hf_xnap_DAPSResponseInfo_List_item = -1; /* DAPSResponseInfo_Item */ static int hf_xnap_drbID = -1; /* DRB_ID */ static int hf_xnap_dapsResponseIndicator = -1; /* T_dapsResponseIndicator */ static int hf_xnap_count12bits = -1; /* COUNT_PDCP_SN12 */ static int hf_xnap_count18bits = -1; /* COUNT_PDCP_SN18 */ static int hf_xnap_egressBAPRoutingID = -1; /* BAPRoutingID */ static int hf_xnap_egressBHRLCCHID = -1; /* BHRLCChannelID */ static int hf_xnap_ingressBAPRoutingID = -1; /* BAPRoutingID */ static int hf_xnap_ingressBHRLCCHID = -1; /* BHRLCChannelID */ static int hf_xnap_priorhopBAPAddress = -1; /* BAPAddress */ static int hf_xnap_iabqosMappingInformation = -1; /* IAB_QoS_Mapping_Information */ static int hf_xnap_DRB_List_item = -1; /* DRB_ID */ static int hf_xnap_DRB_List_withCause_item = -1; /* DRB_List_withCause_Item */ static int hf_xnap_drb_id = -1; /* DRB_ID */ static int hf_xnap_cause = -1; /* Cause */ static int hf_xnap_rLC_Mode = -1; /* RLCMode */ static int hf_xnap_DRBsSubjectToDLDiscarding_List_item = -1; /* DRBsSubjectToDLDiscarding_Item */ static int hf_xnap_dlCount = -1; /* DLCountChoice */ static int hf_xnap_DRBsSubjectToEarlyStatusTransfer_List_item = -1; /* DRBsSubjectToEarlyStatusTransfer_Item */ static int hf_xnap_DRBsSubjectToStatusTransfer_List_item = -1; /* DRBsSubjectToStatusTransfer_Item */ static int hf_xnap_pdcpStatusTransfer_UL = -1; /* DRBBStatusTransferChoice */ static int hf_xnap_pdcpStatusTransfer_DL = -1; /* DRBBStatusTransferChoice */ static int hf_xnap_pdcp_sn_12bits = -1; /* DRBBStatusTransfer12bitsSN */ static int hf_xnap_pdcp_sn_18bits = -1; /* DRBBStatusTransfer18bitsSN */ static int hf_xnap_receiveStatusofPDCPSDU = -1; /* BIT_STRING_SIZE_1_2048 */ static int hf_xnap_cOUNTValue = -1; /* COUNT_PDCP_SN12 */ static int hf_xnap_receiveStatusofPDCPSDU_01 = -1; /* BIT_STRING_SIZE_1_131072 */ static int hf_xnap_cOUNTValue_01 = -1; /* COUNT_PDCP_SN18 */ static int hf_xnap_DRBToQoSFlowMapping_List_item = -1; /* DRBToQoSFlowMapping_Item */ static int hf_xnap_qosFlows_List = -1; /* QoSFlows_List */ static int hf_xnap_DUF_Slot_Config_List_item = -1; /* DUF_Slot_Config_Item */ static int hf_xnap_explicitFormat = -1; /* ExplicitFormat */ static int hf_xnap_implicitFormat = -1; /* ImplicitFormat */ static int hf_xnap_priorityLevelQoS = -1; /* PriorityLevelQoS */ static int hf_xnap_fiveQI = -1; /* FiveQI */ static int hf_xnap_delayCritical = -1; /* T_delayCritical */ static int hf_xnap_averagingWindow = -1; /* AveragingWindow */ static int hf_xnap_maximumDataBurstVolume = -1; /* MaximumDataBurstVolume */ static int hf_xnap_e_utra_CI = -1; /* E_UTRA_Cell_Identity */ static int hf_xnap_E_UTRAMultibandInfoList_item = -1; /* E_UTRAFrequencyBandIndicator */ static int hf_xnap_eutrapaging_eDRX_Cycle = -1; /* EUTRAPaging_eDRX_Cycle */ static int hf_xnap_eutrapaging_Time_Window = -1; /* EUTRAPaging_Time_Window */ static int hf_xnap_rootSequenceIndex = -1; /* INTEGER_0_837 */ static int hf_xnap_zeroCorrelationIndex = -1; /* INTEGER_0_15 */ static int hf_xnap_highSpeedFlag = -1; /* T_highSpeedFlag */ static int hf_xnap_prach_FreqOffset = -1; /* INTEGER_0_94 */ static int hf_xnap_prach_ConfigIndex = -1; /* INTEGER_0_63 */ static int hf_xnap_portNumber = -1; /* PortNumber */ static int hf_xnap_loggedEventTriggeredConfig = -1; /* LoggedEventTriggeredConfig */ static int hf_xnap_outOfCoverage = -1; /* T_outOfCoverage */ static int hf_xnap_eventL1 = -1; /* EventL1 */ static int hf_xnap_choice_Extensions = -1; /* ProtocolIE_Single_Container */ static int hf_xnap_l1Threshold = -1; /* MeasurementThresholdL1LoggedMDT */ static int hf_xnap_hysteresis = -1; /* Hysteresis */ static int hf_xnap_timeToTrigger = -1; /* TimeToTrigger */ static int hf_xnap_threshold_RSRP = -1; /* Threshold_RSRP */ static int hf_xnap_threshold_RSRQ = -1; /* Threshold_RSRQ */ static int hf_xnap_ExcessPacketDelayThresholdConfiguration_item = -1; /* ExcessPacketDelayThresholdItem */ static int hf_xnap_excessPacketDelayThresholdValue = -1; /* ExcessPacketDelayThresholdValue */ static int hf_xnap_expectedActivityPeriod = -1; /* ExpectedActivityPeriod */ static int hf_xnap_expectedIdlePeriod = -1; /* ExpectedIdlePeriod */ static int hf_xnap_sourceOfUEActivityBehaviourInformation = -1; /* SourceOfUEActivityBehaviourInformation */ static int hf_xnap_expectedUEActivityBehaviour = -1; /* ExpectedUEActivityBehaviour */ static int hf_xnap_expectedHOInterval = -1; /* ExpectedHOInterval */ static int hf_xnap_expectedUEMobility = -1; /* ExpectedUEMobility */ static int hf_xnap_expectedUEMovingTrajectory = -1; /* ExpectedUEMovingTrajectory */ static int hf_xnap_ExpectedUEMovingTrajectory_item = -1; /* ExpectedUEMovingTrajectoryItem */ static int hf_xnap_nGRAN_CGI = -1; /* GlobalNG_RANCell_ID */ static int hf_xnap_timeStayedInCell = -1; /* INTEGER_0_4095 */ static int hf_xnap_permutation = -1; /* Permutation */ static int hf_xnap_noofDownlinkSymbols = -1; /* INTEGER_0_14 */ static int hf_xnap_noofUplinkSymbols = -1; /* INTEGER_0_14 */ static int hf_xnap_primaryRATRestriction = -1; /* T_primaryRATRestriction */ static int hf_xnap_secondaryRATRestriction = -1; /* T_secondaryRATRestriction */ static int hf_xnap_ExtendedSliceSupportList_item = -1; /* S_NSSAI */ static int hf_xnap_ExtTLAs_item = -1; /* ExtTLA_Item */ static int hf_xnap_iPsecTLA = -1; /* TransportLayerAddress */ static int hf_xnap_gTPTransportLayerAddresses = -1; /* GTPTLAs */ static int hf_xnap_GTPTLAs_item = -1; /* GTPTLA_Item */ static int hf_xnap_gTPTransportLayerAddresses_01 = -1; /* TransportLayerAddress */ static int hf_xnap_f1TerminatingBHInformation_List = -1; /* F1TerminatingBHInformation_List */ static int hf_xnap_F1TerminatingBHInformation_List_item = -1; /* F1TerminatingBHInformation_Item */ static int hf_xnap_dLTNLAddress = -1; /* IABTNLAddress */ static int hf_xnap_dlF1TerminatingBHInfo = -1; /* DLF1Terminating_BHInfo */ static int hf_xnap_ulF1TerminatingBHInfo = -1; /* ULF1Terminating_BHInfo */ static int hf_xnap_fiveGproSeDirectDiscovery = -1; /* FiveGProSeDirectDiscovery */ static int hf_xnap_fiveGproSeDirectCommunication = -1; /* FiveGProSeDirectCommunication */ static int hf_xnap_fiveGnrProSeLayer2UEtoNetworkRelay = -1; /* FiveGProSeLayer2UEtoNetworkRelay */ static int hf_xnap_fiveGnrProSeLayer3UEtoNetworkRelay = -1; /* FiveGProSeLayer3UEtoNetworkRelay */ static int hf_xnap_fiveGnrProSeLayer2RemoteUE = -1; /* FiveGProSeLayer2RemoteUE */ static int hf_xnap_fiveGProSepc5QoSFlowList = -1; /* FiveGProSePC5QoSFlowList */ static int hf_xnap_fiveGproSepc5LinkAggregateBitRates = -1; /* BitRate */ static int hf_xnap_FiveGProSePC5QoSFlowList_item = -1; /* FiveGProSePC5QoSFlowItem */ static int hf_xnap_fiveGproSepQI = -1; /* FiveQI */ static int hf_xnap_fiveGproSepc5FlowBitRates = -1; /* FiveGProSePC5FlowBitRates */ static int hf_xnap_fiveGproSerange = -1; /* Range */ static int hf_xnap_fiveGproSeguaranteedFlowBitRate = -1; /* BitRate */ static int hf_xnap_fiveGproSemaximumFlowBitRate = -1; /* BitRate */ static int hf_xnap_Flows_Mapped_To_DRB_List_item = -1; /* Flows_Mapped_To_DRB_Item */ static int hf_xnap_qoSFlowIdentifier = -1; /* QoSFlowIdentifier */ static int hf_xnap_qoSFlowLevelQoSParameters = -1; /* QoSFlowLevelQoSParameters */ static int hf_xnap_qoSFlowMappingIndication = -1; /* QoSFlowMappingIndication */ static int hf_xnap_FreqDomainHSNAconfiguration_List_item = -1; /* FreqDomainHSNAconfiguration_List_Item */ static int hf_xnap_rBsetIndex = -1; /* INTEGER_0_maxnoofRBsetsPerCell1_ */ static int hf_xnap_freqDomainSlotHSNAconfiguration_List = -1; /* FreqDomainSlotHSNAconfiguration_List */ static int hf_xnap_FreqDomainSlotHSNAconfiguration_List_item = -1; /* FreqDomainSlotHSNAconfiguration_List_Item */ static int hf_xnap_slotIndex = -1; /* INTEGER_1_maxnoofHSNASlots */ static int hf_xnap_hSNADownlink = -1; /* HSNADownlink */ static int hf_xnap_hSNAUplink = -1; /* HSNAUplink */ static int hf_xnap_hSNAFlexible = -1; /* HSNAFlexible */ static int hf_xnap_maxFlowBitRateDL = -1; /* BitRate */ static int hf_xnap_maxFlowBitRateUL = -1; /* BitRate */ static int hf_xnap_notificationControl = -1; /* T_notificationControl */ static int hf_xnap_maxPacketLossRateDL = -1; /* PacketLossRate */ static int hf_xnap_maxPacketLossRateUL = -1; /* PacketLossRate */ static int hf_xnap_gnb_id = -1; /* GNB_ID_Choice */ static int hf_xnap_subcarrierSpacing = -1; /* SSB_subcarrierSpacing */ static int hf_xnap_dUFTransmissionPeriodicity = -1; /* DUFTransmissionPeriodicity */ static int hf_xnap_dUF_Slot_Config_List = -1; /* DUF_Slot_Config_List */ static int hf_xnap_hSNATransmissionPeriodicity = -1; /* HSNATransmissionPeriodicity */ static int hf_xnap_hNSASlotConfigList = -1; /* HSNASlotConfigList */ static int hf_xnap_rBsetConfiguration = -1; /* RBsetConfiguration */ static int hf_xnap_freqDomainHSNAconfiguration_List = -1; /* FreqDomainHSNAconfiguration_List */ static int hf_xnap_nACellResourceConfigurationList = -1; /* NACellResourceConfigurationList */ static int hf_xnap_gnb_ID = -1; /* BIT_STRING_SIZE_22_32 */ static int hf_xnap_ssbAreaRadioResourceStatus_List = -1; /* SSBAreaRadioResourceStatus_List */ static int hf_xnap_cell_type = -1; /* Cell_Type_Choice */ static int hf_xnap_enb_id = -1; /* ENB_ID_Choice */ static int hf_xnap_enb_ID_macro = -1; /* BIT_STRING_SIZE_20 */ static int hf_xnap_enb_ID_shortmacro = -1; /* BIT_STRING_SIZE_18 */ static int hf_xnap_enb_ID_longmacro = -1; /* BIT_STRING_SIZE_21 */ static int hf_xnap_ng_RAN_Cell_id = -1; /* NG_RAN_Cell_Identity */ static int hf_xnap_gNB = -1; /* GlobalgNB_ID */ static int hf_xnap_ng_eNB = -1; /* GlobalngeNB_ID */ static int hf_xnap_tnl_address = -1; /* TransportLayerAddress */ static int hf_xnap_gtp_teid = -1; /* GTP_TEID */ static int hf_xnap_amf_set_id = -1; /* BIT_STRING_SIZE_10 */ static int hf_xnap_amf_pointer = -1; /* BIT_STRING_SIZE_6 */ static int hf_xnap_HSNASlotConfigList_item = -1; /* HSNASlotConfigItem */ static int hf_xnap_nRCGI = -1; /* NR_CGI */ static int hf_xnap_iAB_DU_Cell_Resource_Configuration_Mode_Info = -1; /* IAB_DU_Cell_Resource_Configuration_Mode_Info */ static int hf_xnap_iAB_STC_Info = -1; /* IAB_STC_Info */ static int hf_xnap_rACH_Config_Common = -1; /* RACH_Config_Common */ static int hf_xnap_rACH_Config_Common_IAB = -1; /* RACH_Config_Common_IAB */ static int hf_xnap_cSI_RS_Configuration = -1; /* T_cSI_RS_Configuration */ static int hf_xnap_sR_Configuration = -1; /* T_sR_Configuration */ static int hf_xnap_pDCCH_ConfigSIB1 = -1; /* T_pDCCH_ConfigSIB1 */ static int hf_xnap_sCS_Common = -1; /* T_sCS_Common */ static int hf_xnap_multiplexingInfo = -1; /* MultiplexingInfo */ static int hf_xnap_tDD = -1; /* IAB_DU_Cell_Resource_Configuration_TDD_Info */ static int hf_xnap_fDD = -1; /* IAB_DU_Cell_Resource_Configuration_FDD_Info */ static int hf_xnap_gNB_DU_Cell_Resource_Configuration_FDD_UL = -1; /* GNB_DU_Cell_Resource_Configuration */ static int hf_xnap_gNB_DU_Cell_Resource_Configuration_FDD_DL = -1; /* GNB_DU_Cell_Resource_Configuration */ static int hf_xnap_uLFrequencyInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_dLFrequencyInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_uLTransmissionBandwidth = -1; /* NRTransmissionBandwidth */ static int hf_xnap_dlTransmissionBandwidth = -1; /* NRTransmissionBandwidth */ static int hf_xnap_uLCarrierList = -1; /* NRCarrierList */ static int hf_xnap_dlCarrierList = -1; /* NRCarrierList */ static int hf_xnap_gNB_DU_Cell_Resource_Configuration_TDD = -1; /* GNB_DU_Cell_Resource_Configuration */ static int hf_xnap_frequencyInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_transmissionBandwidth = -1; /* NRTransmissionBandwidth */ static int hf_xnap_carrierList = -1; /* NRCarrierList */ static int hf_xnap_IAB_MT_Cell_List_item = -1; /* IAB_MT_Cell_List_Item */ static int hf_xnap_nRCellIdentity = -1; /* NR_Cell_Identity */ static int hf_xnap_dU_RX_MT_RX = -1; /* DU_RX_MT_RX */ static int hf_xnap_dU_TX_MT_TX = -1; /* DU_TX_MT_TX */ static int hf_xnap_dU_RX_MT_TX = -1; /* DU_RX_MT_TX */ static int hf_xnap_dU_TX_MT_RX = -1; /* DU_TX_MT_RX */ static int hf_xnap_dscp = -1; /* BIT_STRING_SIZE_6 */ static int hf_xnap_flow_label = -1; /* BIT_STRING_SIZE_20 */ static int hf_xnap_iAB_STC_Info_List = -1; /* IAB_STC_Info_List */ static int hf_xnap_IAB_STC_Info_List_item = -1; /* IAB_STC_Info_Item */ static int hf_xnap_sSB_freqInfo = -1; /* SSB_freqInfo */ static int hf_xnap_sSB_subcarrierSpacing = -1; /* SSB_subcarrierSpacing */ static int hf_xnap_sSB_transmissionPeriodicity = -1; /* SSB_transmissionPeriodicity */ static int hf_xnap_sSB_transmissionTimingOffset = -1; /* SSB_transmissionTimingOffset */ static int hf_xnap_sSB_transmissionBitmap = -1; /* SSB_transmissionBitmap */ static int hf_xnap_iABIPv4AddressesRequested = -1; /* IABTNLAddressesRequested */ static int hf_xnap_iABIPv6RequestType = -1; /* IABIPv6RequestType */ static int hf_xnap_iABTNLAddressToRemove_List = -1; /* IABTNLAddressToRemove_List */ static int hf_xnap_iPv6Address = -1; /* IABTNLAddressesRequested */ static int hf_xnap_iPv6Prefix = -1; /* IABTNLAddressesRequested */ static int hf_xnap_iABAllocatedTNLAddress_List = -1; /* IABAllocatedTNLAddress_List */ static int hf_xnap_IABAllocatedTNLAddress_List_item = -1; /* IABAllocatedTNLAddress_Item */ static int hf_xnap_iABTNLAddress = -1; /* IABTNLAddress */ static int hf_xnap_iABTNLAddressUsage = -1; /* IABTNLAddressUsage */ static int hf_xnap_associatedDonorDUAddress = -1; /* BAPAddress */ static int hf_xnap_iPv4Address = -1; /* T_iPv4Address */ static int hf_xnap_iPv6Address_01 = -1; /* T_iPv6Address */ static int hf_xnap_iPv6Prefix_01 = -1; /* T_iPv6Prefix */ static int hf_xnap_tNLAddressesOrPrefixesRequestedAllTraffic = -1; /* INTEGER_1_256 */ static int hf_xnap_tNLAddressesOrPrefixesRequestedF1_C = -1; /* INTEGER_1_256 */ static int hf_xnap_tNLAddressesOrPrefixesRequestedF1_U = -1; /* INTEGER_1_256 */ static int hf_xnap_tNLAddressesOrPrefixesRequestedNoNF1 = -1; /* INTEGER_1_256 */ static int hf_xnap_IABTNLAddressToRemove_List_item = -1; /* IABTNLAddressToRemove_Item */ static int hf_xnap_IABTNLAddressException_item = -1; /* IABTNLAddress_Item */ static int hf_xnap_measurementsToActivate = -1; /* MeasurementsToActivate */ static int hf_xnap_m1Configuration = -1; /* M1Configuration */ static int hf_xnap_m4Configuration = -1; /* M4Configuration */ static int hf_xnap_m5Configuration = -1; /* M5Configuration */ static int hf_xnap_mDT_Location_Info = -1; /* MDT_Location_Info */ static int hf_xnap_m6Configuration = -1; /* M6Configuration */ static int hf_xnap_m7Configuration = -1; /* M7Configuration */ static int hf_xnap_bluetoothMeasurementConfiguration = -1; /* BluetoothMeasurementConfiguration */ static int hf_xnap_wLANMeasurementConfiguration = -1; /* WLANMeasurementConfiguration */ static int hf_xnap_sensorMeasurementConfiguration = -1; /* SensorMeasurementConfiguration */ static int hf_xnap_dUFSlotformatIndex = -1; /* DUFSlotformatIndex */ static int hf_xnap_rRCReestab = -1; /* RRCReestab_initiated */ static int hf_xnap_rRCSetup = -1; /* RRCSetup_initiated */ static int hf_xnap_nrscs = -1; /* NRSCS */ static int hf_xnap_nrCyclicPrefix = -1; /* NRCyclicPrefix */ static int hf_xnap_nrDL_ULTransmissionPeriodicity = -1; /* NRDL_ULTransmissionPeriodicity */ static int hf_xnap_slotConfiguration_List = -1; /* SlotConfiguration_List */ static int hf_xnap_i_RNTI_full = -1; /* BIT_STRING_SIZE_40 */ static int hf_xnap_i_RNTI_short = -1; /* BIT_STRING_SIZE_24 */ static int hf_xnap_full_I_RNTI_Profile_List = -1; /* Full_I_RNTI_Profile_List */ static int hf_xnap_short_I_RNTI_Profile_List = -1; /* Short_I_RNTI_Profile_List */ static int hf_xnap_full_I_RNTI_Profile_0 = -1; /* BIT_STRING_SIZE_21 */ static int hf_xnap_full_I_RNTI_Profile_1 = -1; /* BIT_STRING_SIZE_18 */ static int hf_xnap_full_I_RNTI_Profile_2 = -1; /* BIT_STRING_SIZE_15 */ static int hf_xnap_full_I_RNTI_Profile_3 = -1; /* BIT_STRING_SIZE_12 */ static int hf_xnap_short_I_RNTI_Profile_0 = -1; /* BIT_STRING_SIZE_8 */ static int hf_xnap_short_I_RNTI_Profile_1 = -1; /* BIT_STRING_SIZE_6 */ static int hf_xnap_nG_RAN_Cell = -1; /* LastVisitedNGRANCellInformation */ static int hf_xnap_e_UTRAN_Cell = -1; /* LastVisitedEUTRANCellInformation */ static int hf_xnap_uTRAN_Cell = -1; /* LastVisitedUTRANCellInformation */ static int hf_xnap_gERAN_Cell = -1; /* LastVisitedGERANCellInformation */ static int hf_xnap_LastVisitedPSCellList_item = -1; /* LastVisitedPSCellList_Item */ static int hf_xnap_lastVisitedPSCellInformation = -1; /* LastVisitedPSCellInformation */ static int hf_xnap_lastVisitedPSCellList = -1; /* LastVisitedPSCellList */ static int hf_xnap_ListOfCells_item = -1; /* CellsinAoI_Item */ static int hf_xnap_pLMN_Identity = -1; /* PLMN_Identity */ static int hf_xnap_ng_ran_cell_id = -1; /* NG_RAN_Cell_Identity */ static int hf_xnap_ListOfRANNodesinAoI_item = -1; /* GlobalNG_RANNodesinAoI_Item */ static int hf_xnap_global_NG_RAN_Node_ID = -1; /* GlobalNG_RANNode_ID */ static int hf_xnap_ListOfTAIsinAoI_item = -1; /* TAIsinAoI_Item */ static int hf_xnap_tAC = -1; /* TAC */ static int hf_xnap_eventType = -1; /* EventType */ static int hf_xnap_reportArea = -1; /* ReportArea */ static int hf_xnap_areaOfInterest = -1; /* AreaOfInterestInformation */ static int hf_xnap_eventTypeTrigger = -1; /* EventTypeTrigger */ static int hf_xnap_loggingInterval = -1; /* LoggingInterval */ static int hf_xnap_loggingDuration = -1; /* LoggingDuration */ static int hf_xnap_reportType = -1; /* ReportType */ static int hf_xnap_areaScopeOfNeighCellsList = -1; /* AreaScopeOfNeighCellsList */ static int hf_xnap_vehicleUE = -1; /* VehicleUE */ static int hf_xnap_pedestrianUE = -1; /* PedestrianUE */ static int hf_xnap_uESidelinkAggregateMaximumBitRate = -1; /* BitRate */ static int hf_xnap_s_BasedMDT = -1; /* S_BasedMDT */ static int hf_xnap_m1reportingTrigger = -1; /* M1ReportingTrigger */ static int hf_xnap_m1thresholdeventA2 = -1; /* M1ThresholdEventA2 */ static int hf_xnap_m1periodicReporting = -1; /* M1PeriodicReporting */ static int hf_xnap_reportInterval = -1; /* ReportIntervalMDT */ static int hf_xnap_reportAmount = -1; /* ReportAmountMDT */ static int hf_xnap_measurementThreshold = -1; /* MeasurementThresholdA2 */ static int hf_xnap_m4period = -1; /* M4period */ static int hf_xnap_m4_links_to_log = -1; /* Links_to_log */ static int hf_xnap_m5period = -1; /* M5period */ static int hf_xnap_m5_links_to_log = -1; /* Links_to_log */ static int hf_xnap_m6report_Interval = -1; /* M6report_Interval */ static int hf_xnap_m6_links_to_log = -1; /* Links_to_log */ static int hf_xnap_m7period = -1; /* M7period */ static int hf_xnap_m7_links_to_log = -1; /* Links_to_log */ static int hf_xnap_maxIPrate_UL = -1; /* MaxIPrate */ static int hf_xnap_oneframe = -1; /* BIT_STRING_SIZE_6 */ static int hf_xnap_fourframes = -1; /* BIT_STRING_SIZE_24 */ static int hf_xnap_MBSFNSubframeInfo_E_UTRA_item = -1; /* MBSFNSubframeInfo_E_UTRA_Item */ static int hf_xnap_radioframeAllocationPeriod = -1; /* T_radioframeAllocationPeriod */ static int hf_xnap_radioframeAllocationOffset = -1; /* INTEGER_0_7_ */ static int hf_xnap_subframeAllocation = -1; /* MBSFNSubframeAllocation_E_UTRA */ static int hf_xnap_MBS_MappingandDataForwardingRequestInfofromSource_item = -1; /* MBS_MappingandDataForwardingRequestInfofromSource_Item */ static int hf_xnap_mRB_ID = -1; /* MRB_ID */ static int hf_xnap_mBS_QoSFlow_List = -1; /* MBS_QoSFlow_List */ static int hf_xnap_mRB_ProgressInformation = -1; /* MRB_ProgressInformation */ static int hf_xnap_MBS_DataForwardingResponseInfofromTarget_item = -1; /* MBS_DataForwardingResponseInfofromTarget_Item */ static int hf_xnap_MBS_QoSFlow_List_item = -1; /* QoSFlowIdentifier */ static int hf_xnap_MBS_QoSFlowsToAdd_List_item = -1; /* MBS_QoSFlowsToAdd_Item */ static int hf_xnap_mBS_QosFlowIdentifier = -1; /* QoSFlowIdentifier */ static int hf_xnap_mBS_QosFlowLevelQosParameters = -1; /* QoSFlowLevelQoSParameters */ static int hf_xnap_locationindependent = -1; /* MBS_ServiceAreaInformation */ static int hf_xnap_locationdependent = -1; /* MBS_ServiceAreaInformationList */ static int hf_xnap_MBS_ServiceAreaCell_List_item = -1; /* NR_CGI */ static int hf_xnap_mBS_ServiceAreaCell_List = -1; /* MBS_ServiceAreaCell_List */ static int hf_xnap_mBS_ServiceAreaTAI_List = -1; /* MBS_ServiceAreaTAI_List */ static int hf_xnap_MBS_ServiceAreaInformationList_item = -1; /* MBS_ServiceAreaInformation_Item */ static int hf_xnap_mBS_Area_Session_ID = -1; /* MBS_Area_Session_ID */ static int hf_xnap_mBS_ServiceAreaInformation = -1; /* MBS_ServiceAreaInformation */ static int hf_xnap_MBS_ServiceAreaTAI_List_item = -1; /* MBS_ServiceAreaTAI_Item */ static int hf_xnap_tMGI = -1; /* TMGI */ static int hf_xnap_nID = -1; /* NID */ static int hf_xnap_MBS_SessionAssociatedInformation_item = -1; /* MBS_SessionAssociatedInformation_Item */ static int hf_xnap_mBS_Session_ID = -1; /* MBS_Session_ID */ static int hf_xnap_associated_QoSFlowInfo_List = -1; /* Associated_QoSFlowInfo_List */ static int hf_xnap_MBS_SessionInformation_List_item = -1; /* MBS_SessionInformation_Item */ static int hf_xnap_active_MBS_SessioInformation = -1; /* Active_MBS_SessionInformation */ static int hf_xnap_MBS_SessionInformationResponse_List_item = -1; /* MBS_SessionInformationResponse_Item */ static int hf_xnap_mBS_DataForwardingResponseInfofromTarget = -1; /* MBS_DataForwardingResponseInfofromTarget */ static int hf_xnap_mDT_Configuration_NR = -1; /* MDT_Configuration_NR */ static int hf_xnap_mDT_Configuration_EUTRA = -1; /* MDT_Configuration_EUTRA */ static int hf_xnap_mdt_Activation = -1; /* MDT_Activation */ static int hf_xnap_areaScopeOfMDT_NR = -1; /* AreaScopeOfMDT_NR */ static int hf_xnap_mDTMode_NR = -1; /* MDTMode_NR */ static int hf_xnap_signallingBasedMDTPLMNList = -1; /* MDTPLMNList */ static int hf_xnap_areaScopeOfMDT_EUTRA = -1; /* AreaScopeOfMDT_EUTRA */ static int hf_xnap_mDTMode_EUTRA = -1; /* MDTMode_EUTRA */ static int hf_xnap_MDTPLMNList_item = -1; /* PLMN_Identity */ static int hf_xnap_MDTPLMNModificationList_item = -1; /* PLMN_Identity */ static int hf_xnap_immediateMDT = -1; /* ImmediateMDT_NR */ static int hf_xnap_loggedMDT = -1; /* LoggedMDT_NR */ static int hf_xnap_mDTMode_NR_Extension = -1; /* MDTMode_NR_Extension */ static int hf_xnap_threshold_SINR = -1; /* Threshold_SINR */ static int hf_xnap_dl_GBR_PRB_usage_for_MIMO = -1; /* DL_GBR_PRB_usage_for_MIMO */ static int hf_xnap_ul_GBR_PRB_usage_for_MIMO = -1; /* UL_GBR_PRB_usage_for_MIMO */ static int hf_xnap_dl_non_GBR_PRB_usage_for_MIMO = -1; /* DL_non_GBR_PRB_usage_for_MIMO */ static int hf_xnap_ul_non_GBR_PRB_usage_for_MIMO = -1; /* UL_non_GBR_PRB_usage_for_MIMO */ static int hf_xnap_dl_Total_PRB_usage_for_MIMO = -1; /* DL_Total_PRB_usage_for_MIMO */ static int hf_xnap_ul_Total_PRB_usage_for_MIMO = -1; /* UL_Total_PRB_usage_for_MIMO */ static int hf_xnap_handoverTriggerChangeLowerLimit = -1; /* INTEGER_M20_20 */ static int hf_xnap_handoverTriggerChangeUpperLimit = -1; /* INTEGER_M20_20 */ static int hf_xnap_handoverTriggerChange = -1; /* INTEGER_M20_20 */ static int hf_xnap_serving_PLMN = -1; /* PLMN_Identity */ static int hf_xnap_equivalent_PLMNs = -1; /* SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity */ static int hf_xnap_equivalent_PLMNs_item = -1; /* PLMN_Identity */ static int hf_xnap_rat_Restrictions = -1; /* RAT_RestrictionsList */ static int hf_xnap_forbiddenAreaInformation = -1; /* ForbiddenAreaList */ static int hf_xnap_serviceAreaInformation = -1; /* ServiceAreaList */ static int hf_xnap_CNTypeRestrictionsForEquivalent_item = -1; /* CNTypeRestrictionsForEquivalentItem */ static int hf_xnap_plmn_Identity = -1; /* PLMN_Identity */ static int hf_xnap_cn_Type = -1; /* T_cn_Type */ static int hf_xnap_RAT_RestrictionsList_item = -1; /* RAT_RestrictionsItem */ static int hf_xnap_rat_RestrictionInformation = -1; /* RAT_RestrictionInformation */ static int hf_xnap_ForbiddenAreaList_item = -1; /* ForbiddenAreaItem */ static int hf_xnap_forbidden_TACs = -1; /* SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC */ static int hf_xnap_forbidden_TACs_item = -1; /* TAC */ static int hf_xnap_ServiceAreaList_item = -1; /* ServiceAreaItem */ static int hf_xnap_allowed_TACs_ServiceArea = -1; /* SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC */ static int hf_xnap_allowed_TACs_ServiceArea_item = -1; /* TAC */ static int hf_xnap_not_allowed_TACs_ServiceArea = -1; /* SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC */ static int hf_xnap_not_allowed_TACs_ServiceArea_item = -1; /* TAC */ static int hf_xnap_ng_RAN_Node_ResourceCoordinationInfo = -1; /* NG_RAN_Node_ResourceCoordinationInfo */ static int hf_xnap_eutra_resource_coordination_info = -1; /* E_UTRA_ResourceCoordinationInfo */ static int hf_xnap_nr_resource_coordination_info = -1; /* NR_ResourceCoordinationInfo */ static int hf_xnap_e_utra_cell = -1; /* E_UTRA_CGI */ static int hf_xnap_ul_coordination_info = -1; /* BIT_STRING_SIZE_6_4400 */ static int hf_xnap_dl_coordination_info = -1; /* BIT_STRING_SIZE_6_4400 */ static int hf_xnap_nr_cell = -1; /* NR_CGI */ static int hf_xnap_e_utra_coordination_assistance_info = -1; /* E_UTRA_CoordinationAssistanceInfo */ static int hf_xnap_nr_coordination_assistance_info = -1; /* NR_CoordinationAssistanceInfo */ static int hf_xnap_iAB_MT_Cell_List = -1; /* IAB_MT_Cell_List */ static int hf_xnap_NACellResourceConfigurationList_item = -1; /* NACellResourceConfiguration_Item */ static int hf_xnap_nAdownlin = -1; /* T_nAdownlin */ static int hf_xnap_nAuplink = -1; /* T_nAuplink */ static int hf_xnap_nAflexible = -1; /* T_nAflexible */ static int hf_xnap_subframeAssignment = -1; /* T_subframeAssignment */ static int hf_xnap_harqOffset = -1; /* INTEGER_0_9 */ static int hf_xnap_NeighbourInformation_E_UTRA_item = -1; /* NeighbourInformation_E_UTRA_Item */ static int hf_xnap_e_utra_PCI = -1; /* E_UTRAPCI */ static int hf_xnap_e_utra_cgi = -1; /* E_UTRA_CGI */ static int hf_xnap_earfcn = -1; /* E_UTRAARFCN */ static int hf_xnap_NeighbourInformation_NR_item = -1; /* NeighbourInformation_NR_Item */ static int hf_xnap_nr_PCI = -1; /* NRPCI */ static int hf_xnap_nr_mode_info = -1; /* NeighbourInformation_NR_ModeInfo */ static int hf_xnap_connectivitySupport = -1; /* Connectivity_Support */ static int hf_xnap_measurementTimingConfiguration = -1; /* T_measurementTimingConfiguration */ static int hf_xnap_fdd_info = -1; /* NeighbourInformation_NR_ModeFDDInfo */ static int hf_xnap_tdd_info = -1; /* NeighbourInformation_NR_ModeTDDInfo */ static int hf_xnap_ul_NR_FreqInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_dl_NR_FequInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_ie_Extensions = -1; /* ProtocolExtensionContainer */ static int hf_xnap_nr_FreqInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_Neighbour_NG_RAN_Node_List_item = -1; /* Neighbour_NG_RAN_Node_Item */ static int hf_xnap_globalNG_RANNodeID = -1; /* GlobalNG_RANNode_ID */ static int hf_xnap_local_NG_RAN_Node_Identifier = -1; /* Local_NG_RAN_Node_Identifier */ static int hf_xnap_NRCarrierList_item = -1; /* NRCarrierItem */ static int hf_xnap_carrierSCS = -1; /* NRSCS */ static int hf_xnap_offsetToCarrier = -1; /* INTEGER_0_2199_ */ static int hf_xnap_carrierBandwidth = -1; /* INTEGER_0_maxnoofPhysicalResourceBlocks_ */ static int hf_xnap_nr = -1; /* NR_Cell_Identity */ static int hf_xnap_e_utra = -1; /* E_UTRA_Cell_Identity */ static int hf_xnap_nr_01 = -1; /* NRPCI */ static int hf_xnap_e_utra_01 = -1; /* E_UTRAPCI */ static int hf_xnap_NG_RANnode2SSBOffsetsModificationRange_item = -1; /* SSBOffsetModificationRange */ static int hf_xnap_dL_GBR_PRB_usage = -1; /* DL_GBR_PRB_usage */ static int hf_xnap_uL_GBR_PRB_usage = -1; /* UL_GBR_PRB_usage */ static int hf_xnap_dL_non_GBR_PRB_usage = -1; /* DL_non_GBR_PRB_usage */ static int hf_xnap_uL_non_GBR_PRB_usage = -1; /* UL_non_GBR_PRB_usage */ static int hf_xnap_dL_Total_PRB_usage = -1; /* DL_Total_PRB_usage */ static int hf_xnap_uL_Total_PRB_usage = -1; /* UL_Total_PRB_usage */ static int hf_xnap_dLTNLOfferedCapacity = -1; /* OfferedCapacity */ static int hf_xnap_dLTNLAvailableCapacity = -1; /* AvailableCapacity */ static int hf_xnap_uLTNLOfferedCapacity = -1; /* OfferedCapacity */ static int hf_xnap_uLTNLAvailableCapacity = -1; /* AvailableCapacity */ static int hf_xnap_nonF1TerminatingBHInformation_List = -1; /* NonF1TerminatingBHInformation_List */ static int hf_xnap_bAPControlPDURLCCH_List = -1; /* BAPControlPDURLCCH_List */ static int hf_xnap_NonF1TerminatingBHInformation_List_item = -1; /* NonF1TerminatingBHInformation_Item */ static int hf_xnap_dlNon_F1TerminatingBHInfo = -1; /* DLNonF1Terminating_BHInfo */ static int hf_xnap_ulNon_F1TerminatingBHInfo = -1; /* ULNonF1Terminating_BHInfo */ static int hf_xnap_nonUPTrafficType = -1; /* NonUPTrafficType */ static int hf_xnap_controlPlaneTrafficType = -1; /* ControlPlaneTrafficType */ static int hf_xnap_snpn_Information = -1; /* NPN_Broadcast_Information_SNPN */ static int hf_xnap_pni_npn_Information = -1; /* NPN_Broadcast_Information_PNI_NPN */ static int hf_xnap_broadcastSNPNID_List = -1; /* BroadcastSNPNID_List */ static int hf_xnap_broadcastPNI_NPN_ID_Information = -1; /* BroadcastPNI_NPN_ID_Information */ static int hf_xnap_snpn_mobility_information = -1; /* NPNMobilityInformation_SNPN */ static int hf_xnap_pni_npn_mobility_information = -1; /* NPNMobilityInformation_PNI_NPN */ static int hf_xnap_serving_NID = -1; /* NID */ static int hf_xnap_allowedPNI_NPN_ID_List = -1; /* AllowedPNI_NPN_ID_List */ static int hf_xnap_pni_npn_Information_01 = -1; /* NPNPagingAssistanceInformation_PNI_NPN */ static int hf_xnap_sNPN = -1; /* NPN_Support_SNPN */ static int hf_xnap_ie_Extension = -1; /* ProtocolExtensionContainer */ static int hf_xnap_fdd_or_tdd = -1; /* T_fdd_or_tdd */ static int hf_xnap_fdd = -1; /* NPRACHConfiguration_FDD */ static int hf_xnap_tdd = -1; /* NPRACHConfiguration_TDD */ static int hf_xnap_nprach_CP_length = -1; /* NPRACH_CP_Length */ static int hf_xnap_anchorCarrier_NPRACHConfig = -1; /* T_anchorCarrier_NPRACHConfig */ static int hf_xnap_anchorCarrier_EDT_NPRACHConfig = -1; /* T_anchorCarrier_EDT_NPRACHConfig */ static int hf_xnap_anchorCarrier_Format2_NPRACHConfig = -1; /* T_anchorCarrier_Format2_NPRACHConfig */ static int hf_xnap_anchorCarrier_Format2_EDT_NPRACHConfig = -1; /* T_anchorCarrier_Format2_EDT_NPRACHConfig */ static int hf_xnap_non_anchorCarrier_NPRACHConfig = -1; /* T_non_anchorCarrier_NPRACHConfig */ static int hf_xnap_non_anchorCarrier_Format2_NPRACHConfig = -1; /* T_non_anchorCarrier_Format2_NPRACHConfig */ static int hf_xnap_nprach_preambleFormat = -1; /* NPRACH_preambleFormat */ static int hf_xnap_anchorCarrier_NPRACHConfigTDD = -1; /* T_anchorCarrier_NPRACHConfigTDD */ static int hf_xnap_non_anchorCarrierFequencyConfiglist = -1; /* Non_AnchorCarrierFrequencylist */ static int hf_xnap_non_anchorCarrier_NPRACHConfigTDD = -1; /* T_non_anchorCarrier_NPRACHConfigTDD */ static int hf_xnap_Non_AnchorCarrierFrequencylist_item = -1; /* Non_AnchorCarrierFrequencylist_item */ static int hf_xnap_non_anchorCarrierFrquency = -1; /* T_non_anchorCarrierFrquency */ static int hf_xnap_NG_RAN_Cell_Identity_ListinRANPagingArea_item = -1; /* NG_RAN_Cell_Identity */ static int hf_xnap_NR_U_Channel_List_item = -1; /* NR_U_Channel_Item */ static int hf_xnap_nR_U_ChannelID = -1; /* NR_U_ChannelID */ static int hf_xnap_channelOccupancyTimePercentageDL = -1; /* ChannelOccupancyTimePercentage */ static int hf_xnap_energyDetectionThreshold = -1; /* EnergyDetectionThreshold */ static int hf_xnap_NR_U_ChannelInfo_List_item = -1; /* NR_U_ChannelInfo_Item */ static int hf_xnap_nRARFCN = -1; /* NRARFCN */ static int hf_xnap_bandwidth = -1; /* Bandwidth */ static int hf_xnap_NRFrequencyBand_List_item = -1; /* NRFrequencyBandItem */ static int hf_xnap_nr_frequency_band = -1; /* NRFrequencyBand */ static int hf_xnap_supported_SUL_Band_List = -1; /* SupportedSULBandList */ static int hf_xnap_nrARFCN = -1; /* NRARFCN */ static int hf_xnap_sul_information = -1; /* SUL_Information */ static int hf_xnap_frequencyBand_List = -1; /* NRFrequencyBand_List */ static int hf_xnap_fdd_01 = -1; /* NRModeInfoFDD */ static int hf_xnap_tdd_01 = -1; /* NRModeInfoTDD */ static int hf_xnap_ulNRFrequencyInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_dlNRFrequencyInfo = -1; /* NRFrequencyInfo */ static int hf_xnap_ulNRTransmissonBandwidth = -1; /* NRTransmissionBandwidth */ static int hf_xnap_dlNRTransmissonBandwidth = -1; /* NRTransmissionBandwidth */ static int hf_xnap_nrTransmissonBandwidth = -1; /* NRTransmissionBandwidth */ static int hf_xnap_nRPaging_eDRX_Cycle = -1; /* NRPaging_eDRX_Cycle */ static int hf_xnap_nRPaging_Time_Window = -1; /* NRPaging_Time_Window */ static int hf_xnap_nRPaging_eDRX_Cycle_Inactive = -1; /* NRPaging_eDRX_Cycle_Inactive */ static int hf_xnap_nRSCS = -1; /* NRSCS */ static int hf_xnap_nRNRB = -1; /* NRNRB */ static int hf_xnap_requestedSRSTransmissionCharacteristics = -1; /* RequestedSRSTransmissionCharacteristics */ static int hf_xnap_routingID = -1; /* RoutingID */ static int hf_xnap_nRPPaTransactionID = -1; /* INTEGER_0_32767 */ static int hf_xnap_pER_Scalar = -1; /* PER_Scalar */ static int hf_xnap_pER_Exponent = -1; /* PER_Exponent */ static int hf_xnap_cNsubgroupID = -1; /* CNsubgroupID */ static int hf_xnap_pc5QoSFlowList = -1; /* PC5QoSFlowList */ static int hf_xnap_pc5LinkAggregateBitRates = -1; /* BitRate */ static int hf_xnap_PC5QoSFlowList_item = -1; /* PC5QoSFlowItem */ static int hf_xnap_pQI = -1; /* FiveQI */ static int hf_xnap_pc5FlowBitRates = -1; /* PC5FlowBitRates */ static int hf_xnap_range = -1; /* Range */ static int hf_xnap_guaranteedFlowBitRate = -1; /* BitRate */ static int hf_xnap_maximumFlowBitRate = -1; /* BitRate */ static int hf_xnap_from_S_NG_RAN_node = -1; /* T_from_S_NG_RAN_node */ static int hf_xnap_from_M_NG_RAN_node = -1; /* T_from_M_NG_RAN_node */ static int hf_xnap_ulPDCPSNLength = -1; /* T_ulPDCPSNLength */ static int hf_xnap_dlPDCPSNLength = -1; /* T_dlPDCPSNLength */ static int hf_xnap_downlink_session_AMBR = -1; /* BitRate */ static int hf_xnap_uplink_session_AMBR = -1; /* BitRate */ static int hf_xnap_PDUSession_List_item = -1; /* PDUSession_ID */ static int hf_xnap_PDUSession_List_withCause_item = -1; /* PDUSession_List_withCause_Item */ static int hf_xnap_pduSessionId = -1; /* PDUSession_ID */ static int hf_xnap_PDUSession_List_withDataForwardingFromTarget_item = -1; /* PDUSession_List_withDataForwardingFromTarget_Item */ static int hf_xnap_dataforwardinginfoTarget = -1; /* DataForwardingInfoFromTargetNGRANnode */ static int hf_xnap_PDUSession_List_withDataForwardingRequest_item = -1; /* PDUSession_List_withDataForwardingRequest_Item */ static int hf_xnap_dataforwardingInfofromSource = -1; /* DataforwardingandOffloadingInfofromSource */ static int hf_xnap_dRBtoBeReleasedList = -1; /* DRBToQoSFlowMapping_List */ static int hf_xnap_PDUSessionResourcesAdmitted_List_item = -1; /* PDUSessionResourcesAdmitted_Item */ static int hf_xnap_pduSessionResourceAdmittedInfo = -1; /* PDUSessionResourceAdmittedInfo */ static int hf_xnap_dL_NG_U_TNL_Information_Unchanged = -1; /* T_dL_NG_U_TNL_Information_Unchanged */ static int hf_xnap_qosFlowsAdmitted_List = -1; /* QoSFlowsAdmitted_List */ static int hf_xnap_qosFlowsNotAdmitted_List = -1; /* QoSFlows_List_withCause */ static int hf_xnap_dataForwardingInfoFromTarget = -1; /* DataForwardingInfoFromTargetNGRANnode */ static int hf_xnap_PDUSessionResourcesNotAdmitted_List_item = -1; /* PDUSessionResourcesNotAdmitted_Item */ static int hf_xnap_PDUSessionResourcesToBeSetup_List_item = -1; /* PDUSessionResourcesToBeSetup_Item */ static int hf_xnap_s_NSSAI = -1; /* S_NSSAI */ static int hf_xnap_pduSessionAMBR = -1; /* PDUSessionAggregateMaximumBitRate */ static int hf_xnap_uL_NG_U_TNLatUPF = -1; /* UPTransportLayerInformation */ static int hf_xnap_source_DL_NG_U_TNL_Information = -1; /* UPTransportLayerInformation */ static int hf_xnap_securityIndication = -1; /* SecurityIndication */ static int hf_xnap_pduSessionType = -1; /* PDUSessionType */ static int hf_xnap_pduSessionNetworkInstance = -1; /* PDUSessionNetworkInstance */ static int hf_xnap_qosFlowsToBeSetup_List = -1; /* QoSFlowsToBeSetup_List */ static int hf_xnap_dataforwardinginfofromSource = -1; /* DataforwardingandOffloadingInfofromSource */ static int hf_xnap_qosFlowsToBeSetup_List_01 = -1; /* QoSFlowsToBeSetup_List_Setup_SNterminated */ static int hf_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated_item = -1; /* QoSFlowsToBeSetup_List_Setup_SNterminated_Item */ static int hf_xnap_qfi = -1; /* QoSFlowIdentifier */ static int hf_xnap_qosFlowLevelQoSParameters = -1; /* QoSFlowLevelQoSParameters */ static int hf_xnap_offeredGBRQoSFlowInfo = -1; /* GBRQoSFlowInfo */ static int hf_xnap_dL_NG_U_TNLatNG_RAN = -1; /* UPTransportLayerInformation */ static int hf_xnap_dRBsToBeSetup = -1; /* DRBsToBeSetupList_SetupResponse_SNterminated */ static int hf_xnap_qosFlowsNotAdmittedList = -1; /* QoSFlows_List_withCause */ static int hf_xnap_securityResult = -1; /* SecurityResult */ static int hf_xnap_DRBsToBeSetupList_SetupResponse_SNterminated_item = -1; /* DRBsToBeSetupList_SetupResponse_SNterminated_Item */ static int hf_xnap_sN_UL_PDCP_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_dRB_QoS = -1; /* QoSFlowLevelQoSParameters */ static int hf_xnap_pDCP_SNLength = -1; /* PDCPSNLength */ static int hf_xnap_uL_Configuration = -1; /* ULConfiguration */ static int hf_xnap_secondary_SN_UL_PDCP_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_duplicationActivation = -1; /* DuplicationActivation */ static int hf_xnap_qoSFlowsMappedtoDRB_SetupResponse_SNterminated = -1; /* QoSFlowsMappedtoDRB_SetupResponse_SNterminated */ static int hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated_item = -1; /* QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item */ static int hf_xnap_mCGRequestedGBRQoSFlowInfo = -1; /* GBRQoSFlowInfo */ static int hf_xnap_qosFlowMappingIndication = -1; /* QoSFlowMappingIndication */ static int hf_xnap_dRBsToBeSetup_01 = -1; /* DRBsToBeSetupList_Setup_MNterminated */ static int hf_xnap_DRBsToBeSetupList_Setup_MNterminated_item = -1; /* DRBsToBeSetupList_Setup_MNterminated_Item */ static int hf_xnap_mN_UL_PDCP_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_secondary_MN_UL_PDCP_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_qoSFlowsMappedtoDRB_Setup_MNterminated = -1; /* QoSFlowsMappedtoDRB_Setup_MNterminated */ static int hf_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated_item = -1; /* QoSFlowsMappedtoDRB_Setup_MNterminated_Item */ static int hf_xnap_dRBsAdmittedList = -1; /* DRBsAdmittedList_SetupResponse_MNterminated */ static int hf_xnap_DRBsAdmittedList_SetupResponse_MNterminated_item = -1; /* DRBsAdmittedList_SetupResponse_MNterminated_Item */ static int hf_xnap_sN_DL_SCG_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_secondary_SN_DL_SCG_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_lCID = -1; /* LCID */ static int hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_item = -1; /* QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item */ static int hf_xnap_currentQoSParaSetIndex = -1; /* QoSParaSetIndex */ static int hf_xnap_qosFlowsToBeModified_List = -1; /* QoSFlowsToBeSetup_List_Modified_SNterminated */ static int hf_xnap_qoSFlowsToBeReleased_List = -1; /* QoSFlows_List_withCause */ static int hf_xnap_drbsToBeModifiedList = -1; /* DRBsToBeModified_List_Modified_SNterminated */ static int hf_xnap_dRBsToBeReleased = -1; /* DRB_List_withCause */ static int hf_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated_item = -1; /* QoSFlowsToBeSetup_List_Modified_SNterminated_Item */ static int hf_xnap_DRBsToBeModified_List_Modified_SNterminated_item = -1; /* DRBsToBeModified_List_Modified_SNterminated_Item */ static int hf_xnap_mN_DL_SCG_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_secondary_MN_DL_SCG_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_rlc_status = -1; /* RLC_Status */ static int hf_xnap_dRBsToBeModified = -1; /* DRBsToBeModifiedList_ModificationResponse_SNterminated */ static int hf_xnap_qosFlowsNotAdmittedTBAdded = -1; /* QoSFlows_List_withCause */ static int hf_xnap_qosFlowsReleased = -1; /* QoSFlows_List_withCause */ static int hf_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated_item = -1; /* DRBsToBeModifiedList_ModificationResponse_SNterminated_Item */ static int hf_xnap_dRBsToBeModified_01 = -1; /* DRBsToBeModifiedList_Modification_MNterminated */ static int hf_xnap_DRBsToBeModifiedList_Modification_MNterminated_item = -1; /* DRBsToBeModifiedList_Modification_MNterminated_Item */ static int hf_xnap_pdcpDuplicationConfiguration = -1; /* PDCPDuplicationConfiguration */ static int hf_xnap_dRBsAdmittedList_01 = -1; /* DRBsAdmittedList_ModificationResponse_MNterminated */ static int hf_xnap_dRBsReleasedList = -1; /* DRB_List */ static int hf_xnap_dRBsNotAdmittedSetupModifyList = -1; /* DRB_List_withCause */ static int hf_xnap_DRBsAdmittedList_ModificationResponse_MNterminated_item = -1; /* DRBsAdmittedList_ModificationResponse_MNterminated_Item */ static int hf_xnap_drbsToBeSetupList = -1; /* DRBsToBeSetup_List_ModRqd_SNterminated */ static int hf_xnap_drbsToBeModifiedList_01 = -1; /* DRBsToBeModified_List_ModRqd_SNterminated */ static int hf_xnap_DRBsToBeSetup_List_ModRqd_SNterminated_item = -1; /* DRBsToBeSetup_List_ModRqd_SNterminated_Item */ static int hf_xnap_sn_UL_PDCP_UPTNLinfo = -1; /* UPTransportParameters */ static int hf_xnap_qoSFlowsMappedtoDRB_ModRqd_SNterminated = -1; /* QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated */ static int hf_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_item = -1; /* QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item */ static int hf_xnap_DRBsToBeModified_List_ModRqd_SNterminated_item = -1; /* DRBsToBeModified_List_ModRqd_SNterminated_Item */ static int hf_xnap_qoSFlowsMappedtoDRB_ModRqd_SNterminated_01 = -1; /* QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated */ static int hf_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_item = -1; /* QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item */ static int hf_xnap_dRBsAdmittedList_02 = -1; /* DRBsAdmittedList_ModConfirm_SNterminated */ static int hf_xnap_DRBsAdmittedList_ModConfirm_SNterminated_item = -1; /* DRBsAdmittedList_ModConfirm_SNterminated_Item */ static int hf_xnap_mN_DL_CG_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_secondary_MN_DL_CG_UP_TNLInfo = -1; /* UPTransportParameters */ static int hf_xnap_dRBsToBeModified_02 = -1; /* DRBsToBeModified_List_ModRqd_MNterminated */ static int hf_xnap_DRBsToBeModified_List_ModRqd_MNterminated_item = -1; /* DRBsToBeModified_List_ModRqd_MNterminated_Item */ static int hf_xnap_sN_DL_SCG_UP_TNLInfo_01 = -1; /* UPTransportLayerInformation */ static int hf_xnap_secondary_SN_DL_SCG_UP_TNLInfo_01 = -1; /* UPTransportLayerInformation */ static int hf_xnap_dRBsToBeSetupList = -1; /* SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item */ static int hf_xnap_dRBsToBeSetupList_item = -1; /* DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item */ static int hf_xnap_dRB_ID = -1; /* DRB_ID */ static int hf_xnap_mN_Xn_U_TNLInfoatM = -1; /* UPTransportLayerInformation */ static int hf_xnap_PDUSessionResourceSecondaryRATUsageList_item = -1; /* PDUSessionResourceSecondaryRATUsageItem */ static int hf_xnap_pDUSessionID = -1; /* PDUSession_ID */ static int hf_xnap_secondaryRATUsageInformation = -1; /* SecondaryRATUsageInformation */ static int hf_xnap_rATType = -1; /* T_rATType */ static int hf_xnap_pDUSessionTimedReportList = -1; /* VolumeTimedReportList */ static int hf_xnap_plmnListforQMC = -1; /* PLMNListforQMC */ static int hf_xnap_PLMNListforQMC_item = -1; /* PLMN_Identity */ static int hf_xnap_PCIListForMDT_item = -1; /* NRPCI */ static int hf_xnap_protectedResourceList = -1; /* ProtectedE_UTRAResourceList */ static int hf_xnap_mbsfnControlRegionLength = -1; /* MBSFNControlRegionLength */ static int hf_xnap_pDCCHRegionLength = -1; /* INTEGER_1_3 */ static int hf_xnap_ProtectedE_UTRAResourceList_item = -1; /* ProtectedE_UTRAResource_Item */ static int hf_xnap_resourceType = -1; /* T_resourceType */ static int hf_xnap_intra_PRBProtectedResourceFootprint = -1; /* BIT_STRING_SIZE_84_ */ static int hf_xnap_protectedFootprintFrequencyPattern = -1; /* BIT_STRING_SIZE_6_110_ */ static int hf_xnap_protectedFootprintTimePattern = -1; /* ProtectedE_UTRAFootprintTimePattern */ static int hf_xnap_protectedFootprintTimeperiodicity = -1; /* INTEGER_1_320_ */ static int hf_xnap_protectedFootrpintStartTime = -1; /* INTEGER_1_20_ */ static int hf_xnap_uEAppLayerMeasInfoList = -1; /* UEAppLayerMeasInfoList */ static int hf_xnap_UEAppLayerMeasInfoList_item = -1; /* UEAppLayerMeasInfo_Item */ static int hf_xnap_uEAppLayerMeasConfigInfo = -1; /* UEAppLayerMeasConfigInfo */ static int hf_xnap_non_dynamic = -1; /* NonDynamic5QIDescriptor */ static int hf_xnap_dynamic = -1; /* Dynamic5QIDescriptor */ static int hf_xnap_qos_characteristics = -1; /* QoSCharacteristics */ static int hf_xnap_allocationAndRetentionPrio = -1; /* AllocationandRetentionPriority */ static int hf_xnap_gBRQoSFlowInfo = -1; /* GBRQoSFlowInfo */ static int hf_xnap_reflectiveQoS = -1; /* ReflectiveQoSAttribute */ static int hf_xnap_additionalQoSflowInfo = -1; /* T_additionalQoSflowInfo */ static int hf_xnap_QoSFlowNotificationControlIndicationInfo_item = -1; /* QoSFlowNotify_Item */ static int hf_xnap_notificationInformation = -1; /* T_notificationInformation */ static int hf_xnap_QoSFlows_List_item = -1; /* QoSFlow_Item */ static int hf_xnap_QoSFlows_List_withCause_item = -1; /* QoSFlowwithCause_Item */ static int hf_xnap_QoSFlowsAdmitted_List_item = -1; /* QoSFlowsAdmitted_Item */ static int hf_xnap_QoSFlowsToBeSetup_List_item = -1; /* QoSFlowsToBeSetup_Item */ static int hf_xnap_e_RAB_ID = -1; /* E_RAB_ID */ static int hf_xnap_QoSFlowsUsageReportList_item = -1; /* QoSFlowsUsageReport_Item */ static int hf_xnap_rATType_01 = -1; /* T_rATType_01 */ static int hf_xnap_qoSFlowsTimedReportList = -1; /* VolumeTimedReportList */ static int hf_xnap_RACHReportInformation_item = -1; /* RACHReportList_Item */ static int hf_xnap_rACHReport = -1; /* RACHReportContainer */ static int hf_xnap_ng_eNB_RadioResourceStatus = -1; /* NG_eNB_RadioResourceStatus */ static int hf_xnap_gNB_RadioResourceStatus = -1; /* GNB_RadioResourceStatus */ static int hf_xnap_rANAC = -1; /* RANAC */ static int hf_xnap_RANAreaID_List_item = -1; /* RANAreaID */ static int hf_xnap_rANPagingAreaChoice = -1; /* RANPagingAreaChoice */ static int hf_xnap_cell_List = -1; /* NG_RAN_Cell_Identity_ListinRANPagingArea */ static int hf_xnap_rANAreaID_List = -1; /* RANAreaID_List */ static int hf_xnap_pagingAttemptCount = -1; /* INTEGER_1_16_ */ static int hf_xnap_intendedNumberOfPagingAttempts = -1; /* INTEGER_1_16_ */ static int hf_xnap_nextPagingAreaScope = -1; /* T_nextPagingAreaScope */ static int hf_xnap_rBsetSize = -1; /* T_rBsetSize */ static int hf_xnap_numberofRBSets = -1; /* INTEGER_1_maxnoofRBsetsPerCell */ static int hf_xnap_rSN = -1; /* RSN */ static int hf_xnap_ReplacingCells_item = -1; /* ReplacingCells_Item */ static int hf_xnap_periodical = -1; /* Periodical */ static int hf_xnap_eventTriggered = -1; /* EventTriggered */ static int hf_xnap_subframeType = -1; /* T_subframeType */ static int hf_xnap_reservedSubframePattern_01 = -1; /* BIT_STRING_SIZE_10_160 */ static int hf_xnap_fullReset = -1; /* ResetRequestTypeInfo_Full */ static int hf_xnap_partialReset = -1; /* ResetRequestTypeInfo_Partial */ static int hf_xnap_ue_contexts_ToBeReleasedList = -1; /* ResetRequestPartialReleaseList */ static int hf_xnap_ResetRequestPartialReleaseList_item = -1; /* ResetRequestPartialReleaseItem */ static int hf_xnap_ng_ran_node1UEXnAPID = -1; /* NG_RANnodeUEXnAPID */ static int hf_xnap_ng_ran_node2UEXnAPID = -1; /* NG_RANnodeUEXnAPID */ static int hf_xnap_fullReset_01 = -1; /* ResetResponseTypeInfo_Full */ static int hf_xnap_partialReset_01 = -1; /* ResetResponseTypeInfo_Partial */ static int hf_xnap_ue_contexts_AdmittedToBeReleasedList = -1; /* ResetResponsePartialReleaseList */ static int hf_xnap_ResetResponsePartialReleaseList_item = -1; /* ResetResponsePartialReleaseItem */ static int hf_xnap_reestablishment_Indication = -1; /* Reestablishment_Indication */ static int hf_xnap_rLCDuplicationStateList = -1; /* RLCDuplicationStateList */ static int hf_xnap_rLC_PrimaryIndicator = -1; /* T_rLC_PrimaryIndicator */ static int hf_xnap_RLCDuplicationStateList_item = -1; /* RLCDuplicationState_Item */ static int hf_xnap_duplicationState = -1; /* T_duplicationState */ static int hf_xnap_noofRRCConnections = -1; /* NoofRRCConnections */ static int hf_xnap_availableRRCConnectionCapacityValue = -1; /* AvailableRRCConnectionCapacityValue */ static int hf_xnap_rRRCReestab_initiated_reporting = -1; /* RRCReestab_Initiated_Reporting */ static int hf_xnap_rRCReestab_reporting_wo_UERLFReport = -1; /* RRCReestab_Initiated_Reporting_wo_UERLFReport */ static int hf_xnap_rRCReestab_reporting_with_UERLFReport = -1; /* RRCReestab_Initiated_Reporting_with_UERLFReport */ static int hf_xnap_failureCellPCI = -1; /* NG_RAN_CellPCI */ static int hf_xnap_reestabCellCGI = -1; /* GlobalNG_RANCell_ID */ static int hf_xnap_c_RNTI = -1; /* C_RNTI */ static int hf_xnap_shortMAC_I = -1; /* MAC_I */ static int hf_xnap_uERLFReportContainer = -1; /* UERLFReportContainer */ static int hf_xnap_rRRCSetup_Initiated_Reporting = -1; /* RRCSetup_Initiated_Reporting */ static int hf_xnap_rRCSetup_reporting_with_UERLFReport = -1; /* RRCSetup_Initiated_Reporting_with_UERLFReport */ static int hf_xnap_S_NSSAIListQoE_item = -1; /* S_NSSAI */ static int hf_xnap_ng_ran_TraceID = -1; /* NG_RANTraceID */ static int hf_xnap_secondarydataForwardingInfoFromTarget = -1; /* DataForwardingInfoFromTargetNGRANnode */ static int hf_xnap_SecondarydataForwardingInfoFromTarget_List_item = -1; /* SecondarydataForwardingInfoFromTarget_Item */ static int hf_xnap_sdtindicator = -1; /* SDTIndicator */ static int hf_xnap_sdtAssistantInfo = -1; /* SDTAssistantInfo */ static int hf_xnap_dRBsToBeSetup_02 = -1; /* SDT_DRBsToBeSetupList */ static int hf_xnap_sRBsToBeSetup = -1; /* SDT_SRBsToBeSetupList */ static int hf_xnap_SDT_DRBsToBeSetupList_item = -1; /* SDT_DRBsToBeSetupList_Item */ static int hf_xnap_uL_TNLInfo = -1; /* UPTransportLayerInformation */ static int hf_xnap_dRB_RLC_Bearer_Configuration = -1; /* T_dRB_RLC_Bearer_Configuration */ static int hf_xnap_s_nssai = -1; /* S_NSSAI */ static int hf_xnap_flows_Mapped_To_DRB_List = -1; /* Flows_Mapped_To_DRB_List */ static int hf_xnap_SDT_SRBsToBeSetupList_item = -1; /* SDT_SRBsToBeSetupList_Item */ static int hf_xnap_srb_ID = -1; /* SRB_ID */ static int hf_xnap_sRB_RLC_Bearer_Configuration = -1; /* T_sRB_RLC_Bearer_Configuration */ static int hf_xnap_SDTDataForwardingDRBList_item = -1; /* SDTDataForwardingDRBList_Item */ static int hf_xnap_dL_TNLInfo = -1; /* UPTransportLayerInformation */ static int hf_xnap_pDUSessionUsageReport = -1; /* PDUSessionUsageReport */ static int hf_xnap_qosFlowsUsageReportList = -1; /* QoSFlowsUsageReportList */ static int hf_xnap_integrityProtectionIndication = -1; /* T_integrityProtectionIndication */ static int hf_xnap_confidentialityProtectionIndication = -1; /* T_confidentialityProtectionIndication */ static int hf_xnap_maximumIPdatarate = -1; /* MaximumIPdatarate */ static int hf_xnap_integrityProtectionResult = -1; /* T_integrityProtectionResult */ static int hf_xnap_confidentialityProtectionResult = -1; /* T_confidentialityProtectionResult */ static int hf_xnap_sensorMeasConfig = -1; /* SensorMeasConfig */ static int hf_xnap_sensorMeasConfigNameList = -1; /* SensorMeasConfigNameList */ static int hf_xnap_SensorMeasConfigNameList_item = -1; /* SensorName */ static int hf_xnap_uncompensatedBarometricConfig = -1; /* T_uncompensatedBarometricConfig */ static int hf_xnap_ueSpeedConfig = -1; /* T_ueSpeedConfig */ static int hf_xnap_ueOrientationConfig = -1; /* T_ueOrientationConfig */ static int hf_xnap_e_utra_pci = -1; /* E_UTRAPCI */ static int hf_xnap_broadcastPLMNs_02 = -1; /* SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN */ static int hf_xnap_broadcastPLMNs_item = -1; /* ServedCellInformation_E_UTRA_perBPLMN */ static int hf_xnap_e_utra_mode_info = -1; /* ServedCellInformation_E_UTRA_ModeInfo */ static int hf_xnap_numberofAntennaPorts = -1; /* NumberOfAntennaPorts_E_UTRA */ static int hf_xnap_prach_configuration = -1; /* E_UTRAPRACHConfiguration */ static int hf_xnap_mBSFNsubframeInfo = -1; /* MBSFNSubframeInfo_E_UTRA */ static int hf_xnap_multibandInfo = -1; /* E_UTRAMultibandInfoList */ static int hf_xnap_freqBandIndicatorPriority = -1; /* T_freqBandIndicatorPriority */ static int hf_xnap_bandwidthReducedSI = -1; /* T_bandwidthReducedSI */ static int hf_xnap_protectedE_UTRAResourceIndication = -1; /* ProtectedE_UTRAResourceIndication */ static int hf_xnap_fdd_02 = -1; /* ServedCellInformation_E_UTRA_FDDInfo */ static int hf_xnap_tdd_02 = -1; /* ServedCellInformation_E_UTRA_TDDInfo */ static int hf_xnap_ul_earfcn = -1; /* E_UTRAARFCN */ static int hf_xnap_dl_earfcn = -1; /* E_UTRAARFCN */ static int hf_xnap_ul_e_utraTxBW = -1; /* E_UTRATransmissionBandwidth */ static int hf_xnap_dl_e_utraTxBW = -1; /* E_UTRATransmissionBandwidth */ static int hf_xnap_e_utraTxBW = -1; /* E_UTRATransmissionBandwidth */ static int hf_xnap_subframeAssignmnet = -1; /* T_subframeAssignmnet */ static int hf_xnap_specialSubframeInfo = -1; /* SpecialSubframeInfo_E_UTRA */ static int hf_xnap_ServedCells_E_UTRA_item = -1; /* ServedCells_E_UTRA_Item */ static int hf_xnap_served_cell_info_E_UTRA = -1; /* ServedCellInformation_E_UTRA */ static int hf_xnap_neighbour_info_NR = -1; /* NeighbourInformation_NR */ static int hf_xnap_neighbour_info_E_UTRA = -1; /* NeighbourInformation_E_UTRA */ static int hf_xnap_served_Cells_ToAdd_E_UTRA = -1; /* ServedCells_E_UTRA */ static int hf_xnap_served_Cells_ToModify_E_UTRA = -1; /* ServedCells_ToModify_E_UTRA */ static int hf_xnap_served_Cells_ToDelete_E_UTRA = -1; /* SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI */ static int hf_xnap_served_Cells_ToDelete_E_UTRA_item = -1; /* E_UTRA_CGI */ static int hf_xnap_ServedCells_ToModify_E_UTRA_item = -1; /* ServedCells_ToModify_E_UTRA_Item */ static int hf_xnap_old_ECGI = -1; /* E_UTRA_CGI */ static int hf_xnap_deactivation_indication = -1; /* T_deactivation_indication */ static int hf_xnap_nrPCI = -1; /* NRPCI */ static int hf_xnap_cellID = -1; /* NR_CGI */ static int hf_xnap_broadcastPLMN = -1; /* BroadcastPLMNs */ static int hf_xnap_nrModeInfo = -1; /* NRModeInfo */ static int hf_xnap_measurementTimingConfiguration_01 = -1; /* T_measurementTimingConfiguration_01 */ static int hf_xnap_sFN_Time_Offset = -1; /* BIT_STRING_SIZE_24 */ static int hf_xnap_ServedCells_NR_item = -1; /* ServedCells_NR_Item */ static int hf_xnap_served_cell_info_NR = -1; /* ServedCellInformation_NR */ static int hf_xnap_ServedCells_ToModify_NR_item = -1; /* ServedCells_ToModify_NR_Item */ static int hf_xnap_old_NR_CGI = -1; /* NR_CGI */ static int hf_xnap_deactivation_indication_01 = -1; /* T_deactivation_indication_01 */ static int hf_xnap_ServedCellSpecificInfoReq_NR_item = -1; /* ServedCellSpecificInfoReq_NR_Item */ static int hf_xnap_additionalMTCListRequestIndicator = -1; /* T_additionalMTCListRequestIndicator */ static int hf_xnap_served_Cells_ToAdd_NR = -1; /* ServedCells_NR */ static int hf_xnap_served_Cells_ToModify_NR = -1; /* ServedCells_ToModify_NR */ static int hf_xnap_served_Cells_ToDelete_NR = -1; /* SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI */ static int hf_xnap_served_Cells_ToDelete_NR_item = -1; /* NR_CGI */ static int hf_xnap_ul_onlySharing = -1; /* SharedResourceType_UL_OnlySharing */ static int hf_xnap_ul_and_dl_Sharing = -1; /* SharedResourceType_ULDL_Sharing */ static int hf_xnap_ul_resourceBitmap = -1; /* DataTrafficResources */ static int hf_xnap_ul_resources = -1; /* SharedResourceType_ULDL_Sharing_UL_Resources */ static int hf_xnap_dl_resources = -1; /* SharedResourceType_ULDL_Sharing_DL_Resources */ static int hf_xnap_unchanged = -1; /* NULL */ static int hf_xnap_changed = -1; /* SharedResourceType_ULDL_Sharing_UL_ResourcesChanged */ static int hf_xnap_changed_01 = -1; /* SharedResourceType_ULDL_Sharing_DL_ResourcesChanged */ static int hf_xnap_dl_resourceBitmap = -1; /* DataTrafficResources */ static int hf_xnap_SliceAvailableCapacity_item = -1; /* SliceAvailableCapacity_Item */ static int hf_xnap_pLMNIdentity = -1; /* PLMN_Identity */ static int hf_xnap_sNSSAIAvailableCapacity_List = -1; /* SNSSAIAvailableCapacity_List */ static int hf_xnap_SNSSAIAvailableCapacity_List_item = -1; /* SNSSAIAvailableCapacity_Item */ static int hf_xnap_sNSSAI = -1; /* S_NSSAI */ static int hf_xnap_sliceAvailableCapacityValueDownlink = -1; /* INTEGER_0_100 */ static int hf_xnap_sliceAvailableCapacityValueUplink = -1; /* INTEGER_0_100 */ static int hf_xnap_SliceRadioResourceStatus_List_item = -1; /* SliceRadioResourceStatus_Item */ static int hf_xnap_sNSSAIRadioResourceStatus_List = -1; /* SNSSAIRadioResourceStatus_List */ static int hf_xnap_SNSSAIRadioResourceStatus_List_item = -1; /* SNSSAIRadioResourceStatus_Item */ static int hf_xnap_slice_DL_GBR_PRB_Usage = -1; /* Slice_DL_GBR_PRB_Usage */ static int hf_xnap_slice_UL_GBR_PRB_Usage = -1; /* Slice_UL_GBR_PRB_Usage */ static int hf_xnap_slice_DL_non_GBR_PRB_Usage = -1; /* Slice_DL_non_GBR_PRB_Usage */ static int hf_xnap_slice_UL_non_GBR_PRB_Usage = -1; /* Slice_UL_non_GBR_PRB_Usage */ static int hf_xnap_slice_DL_Total_PRB_Allocation = -1; /* Slice_DL_Total_PRB_Allocation */ static int hf_xnap_slice_UL_Total_PRB_Allocation = -1; /* Slice_UL_Total_PRB_Allocation */ static int hf_xnap_SliceSupport_List_item = -1; /* S_NSSAI */ static int hf_xnap_SliceToReport_List_item = -1; /* SliceToReport_List_Item */ static int hf_xnap_sNSSAIlist = -1; /* SNSSAI_list */ static int hf_xnap_SNSSAI_list_item = -1; /* SNSSAI_Item */ static int hf_xnap_SlotConfiguration_List_item = -1; /* SlotConfiguration_List_Item */ static int hf_xnap_slotIndex_01 = -1; /* INTEGER_0_5119 */ static int hf_xnap_symbolAllocation_in_Slot = -1; /* SymbolAllocation_in_Slot */ static int hf_xnap_sst = -1; /* OCTET_STRING_SIZE_1 */ static int hf_xnap_sd = -1; /* OCTET_STRING_SIZE_3 */ static int hf_xnap_specialSubframePattern = -1; /* SpecialSubframePatterns_E_UTRA */ static int hf_xnap_cyclicPrefixDL = -1; /* CyclicPrefix_E_UTRA_DL */ static int hf_xnap_cyclicPrefixUL = -1; /* CyclicPrefix_E_UTRA_UL */ static int hf_xnap_SSBAreaCapacityValue_List_item = -1; /* SSBAreaCapacityValue_List_Item */ static int hf_xnap_sSBIndex = -1; /* INTEGER_0_63 */ static int hf_xnap_ssbAreaCapacityValue = -1; /* INTEGER_0_100 */ static int hf_xnap_SSBAreaRadioResourceStatus_List_item = -1; /* SSBAreaRadioResourceStatus_List_Item */ static int hf_xnap_ssb_Area_DL_GBR_PRB_usage = -1; /* DL_GBR_PRB_usage */ static int hf_xnap_ssb_Area_UL_GBR_PRB_usage = -1; /* UL_GBR_PRB_usage */ static int hf_xnap_ssb_Area_dL_non_GBR_PRB_usage = -1; /* DL_non_GBR_PRB_usage */ static int hf_xnap_ssb_Area_uL_non_GBR_PRB_usage = -1; /* UL_non_GBR_PRB_usage */ static int hf_xnap_ssb_Area_dL_Total_PRB_usage = -1; /* DL_Total_PRB_usage */ static int hf_xnap_ssb_Area_uL_Total_PRB_usage = -1; /* UL_Total_PRB_usage */ static int hf_xnap_SSB_Coverage_Modification_List_item = -1; /* SSB_Coverage_Modification_List_Item */ static int hf_xnap_sSBCoverageState = -1; /* INTEGER_0_15_ */ static int hf_xnap_shortBitmap = -1; /* BIT_STRING_SIZE_4 */ static int hf_xnap_mediumBitmap = -1; /* BIT_STRING_SIZE_8 */ static int hf_xnap_longBitmap = -1; /* BIT_STRING_SIZE_64 */ static int hf_xnap_SSBOffsets_List_item = -1; /* SSBOffsets_Item */ static int hf_xnap_nG_RANnode1SSBOffsets = -1; /* SSBOffsetInformation */ static int hf_xnap_nG_RANnode2ProposedSSBOffsets = -1; /* SSBOffsetInformation */ static int hf_xnap_sSBTriggeringOffset = -1; /* MobilityParametersInformation */ static int hf_xnap_sSBobilityParametersModificationRange = -1; /* MobilityParametersModificationRange */ static int hf_xnap_SSBToReport_List_item = -1; /* SSBToReport_List_Item */ static int hf_xnap_SuccessfulHOReportInformation_item = -1; /* SuccessfulHOReportList_Item */ static int hf_xnap_successfulHOReport = -1; /* SuccessfulHOReportContainer */ static int hf_xnap_sulFrequencyInfo = -1; /* NRARFCN */ static int hf_xnap_sulTransmissionBandwidth = -1; /* NRTransmissionBandwidth */ static int hf_xnap_Supported_MBS_FSA_ID_List_item = -1; /* MBS_FrequencySelectionArea_Identity */ static int hf_xnap_SupportedSULBandList_item = -1; /* SupportedSULBandItem */ static int hf_xnap_sulBandItem = -1; /* SUL_FrequencyBand */ static int hf_xnap_allDL = -1; /* SymbolAllocation_in_Slot_AllDL */ static int hf_xnap_allUL = -1; /* SymbolAllocation_in_Slot_AllUL */ static int hf_xnap_bothDLandUL = -1; /* SymbolAllocation_in_Slot_BothDLandUL */ static int hf_xnap_numberofDLSymbols = -1; /* INTEGER_0_13 */ static int hf_xnap_numberofULSymbols = -1; /* INTEGER_0_13 */ static int hf_xnap_tAListforMDT = -1; /* TAListforMDT */ static int hf_xnap_tAIListforMDT = -1; /* TAIListforMDT */ static int hf_xnap_TAIListforMDT_item = -1; /* TAIforMDT_Item */ static int hf_xnap_TAINSAGSupportList_item = -1; /* TAINSAGSupportItem */ static int hf_xnap_nSAG_ID = -1; /* NSAG_ID */ static int hf_xnap_nSAGSliceSupportList = -1; /* ExtendedSliceSupportList */ static int hf_xnap_TAISupport_List_item = -1; /* TAISupport_Item */ static int hf_xnap_broadcastPLMNs_03 = -1; /* SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item */ static int hf_xnap_broadcastPLMNs_item_01 = -1; /* BroadcastPLMNinTAISupport_Item */ static int hf_xnap_TAListforMDT_item = -1; /* TAC */ static int hf_xnap_tAListforQMC = -1; /* TAListforQMC */ static int hf_xnap_TAListforQMC_item = -1; /* TAC */ static int hf_xnap_tAIListforQMC = -1; /* TAIListforQMC */ static int hf_xnap_TAIListforQMC_item = -1; /* TAI_Item */ static int hf_xnap_nr_02 = -1; /* NR_CGI */ static int hf_xnap_e_utra_02 = -1; /* E_UTRA_CGI */ static int hf_xnap_TargetCellList_item = -1; /* TargetCellList_Item */ static int hf_xnap_target_cell = -1; /* Target_CGI */ static int hf_xnap_timeDistributionIndication = -1; /* T_timeDistributionIndication */ static int hf_xnap_uuTimeSynchronizationErrorBudget = -1; /* INTEGER_0_1000000_ */ static int hf_xnap_extendedUPTransportLayerAddressesToAdd = -1; /* ExtTLAs */ static int hf_xnap_extendedUPTransportLayerAddressesToRemove = -1; /* ExtTLAs */ static int hf_xnap_TNLA_To_Add_List_item = -1; /* TNLA_To_Add_Item */ static int hf_xnap_tNLAssociationTransportLayerAddress = -1; /* CPTransportLayerInformation */ static int hf_xnap_tNLAssociationUsage = -1; /* TNLAssociationUsage */ static int hf_xnap_TNLA_To_Update_List_item = -1; /* TNLA_To_Update_Item */ static int hf_xnap_TNLA_To_Remove_List_item = -1; /* TNLA_To_Remove_Item */ static int hf_xnap_TNLA_Setup_List_item = -1; /* TNLA_Setup_Item */ static int hf_xnap_TNLA_Failed_To_Setup_List_item = -1; /* TNLA_Failed_To_Setup_Item */ static int hf_xnap_interfaces_to_trace = -1; /* T_interfaces_to_trace */ static int hf_xnap_trace_depth = -1; /* Trace_Depth */ static int hf_xnap_trace_coll_address = -1; /* TransportLayerAddress */ static int hf_xnap_uPTraffic = -1; /* QoSFlowLevelQoSParameters */ static int hf_xnap_nonUPTraffic = -1; /* NonUPTraffic */ static int hf_xnap_fullRelease = -1; /* AllTrafficIndication */ static int hf_xnap_partialRelease = -1; /* TrafficToBeRelease_List */ static int hf_xnap_releaseType = -1; /* TrafficReleaseType */ static int hf_xnap_TrafficToBeRelease_List_item = -1; /* TrafficToBeRelease_Item */ static int hf_xnap_trafficIndex = -1; /* TrafficIndex */ static int hf_xnap_bHInfoList = -1; /* BHInfoList */ static int hf_xnap_tSCAssistanceInformationDownlink = -1; /* TSCAssistanceInformation */ static int hf_xnap_tSCAssistanceInformationUplink = -1; /* TSCAssistanceInformation */ static int hf_xnap_periodicity = -1; /* INTEGER_0_640000_ */ static int hf_xnap_burstArrivalTime = -1; /* T_burstArrivalTime */ static int hf_xnap_dl_UE_AMBR = -1; /* BitRate */ static int hf_xnap_ul_UE_AMBR = -1; /* BitRate */ static int hf_xnap_qOEReference = -1; /* QOEReference */ static int hf_xnap_qOEMeasConfigAppLayerID = -1; /* QOEMeasConfAppLayerID */ static int hf_xnap_serviceType = -1; /* ServiceType */ static int hf_xnap_qOEMeasStatus = -1; /* QOEMeasStatus */ static int hf_xnap_containerAppLayerMeasConfig = -1; /* ContainerAppLayerMeasConfig */ static int hf_xnap_mDTAlignmentInfo = -1; /* MDTAlignmentInfo */ static int hf_xnap_measCollectionEntityIPAddress = -1; /* MeasCollectionEntityIPAddress */ static int hf_xnap_areaScopeOfQMC = -1; /* AreaScopeOfQMC */ static int hf_xnap_s_NSSAIListQoE = -1; /* S_NSSAIListQoE */ static int hf_xnap_availableRVQoEMetrics = -1; /* AvailableRVQoEMetrics */ static int hf_xnap_rRCResume = -1; /* UEContextIDforRRCResume */ static int hf_xnap_rRRCReestablishment = -1; /* UEContextIDforRRCReestablishment */ static int hf_xnap_i_rnti = -1; /* I_RNTI */ static int hf_xnap_allocated_c_rnti = -1; /* C_RNTI */ static int hf_xnap_accessPCI = -1; /* NG_RAN_CellPCI */ static int hf_xnap_c_rnti = -1; /* C_RNTI */ static int hf_xnap_ng_c_UE_signalling_ref = -1; /* AMF_UE_NGAP_ID */ static int hf_xnap_signalling_TNL_at_source = -1; /* CPTransportLayerInformation */ static int hf_xnap_ueSecurityCapabilities = -1; /* UESecurityCapabilities */ static int hf_xnap_securityInformation = -1; /* AS_SecurityInformation */ static int hf_xnap_ue_AMBR = -1; /* UEAggregateMaximumBitRate */ static int hf_xnap_pduSessionResourcesToBeSetup_List = -1; /* PDUSessionResourcesToBeSetup_List */ static int hf_xnap_rrc_Context = -1; /* T_rrc_Context */ static int hf_xnap_mobilityRestrictionList = -1; /* MobilityRestrictionList */ static int hf_xnap_indexToRatFrequencySelectionPriority = -1; /* RFSP_Index */ static int hf_xnap_UEHistoryInformation_item = -1; /* LastVisitedCell_Item */ static int hf_xnap_nR = -1; /* NRMobilityHistoryReport */ static int hf_xnap_indexLength10 = -1; /* BIT_STRING_SIZE_10 */ static int hf_xnap_UEIdentityIndexList_MBSGroupPaging_item = -1; /* UEIdentityIndexList_MBSGroupPaging_Item */ static int hf_xnap_ueIdentityIndexList_MBSGroupPagingValue = -1; /* UEIdentityIndexList_MBSGroupPagingValue */ static int hf_xnap_pagingDRX = -1; /* UESpecificDRX */ static int hf_xnap_uEIdentityIndexValueMBSGroupPaging = -1; /* BIT_STRING_SIZE_10 */ static int hf_xnap_uERadioCapabilityForPagingOfNR = -1; /* UERadioCapabilityForPagingOfNR */ static int hf_xnap_uERadioCapabilityForPagingOfEUTRA = -1; /* UERadioCapabilityForPagingOfEUTRA */ static int hf_xnap_nR_UERLFReportContainer = -1; /* UERLFReportContainerNR */ static int hf_xnap_lTE_UERLFReportContainer = -1; /* UERLFReportContainerLTE */ static int hf_xnap_choice_Extension = -1; /* ProtocolIE_Single_Container */ static int hf_xnap_ueRLFReportContainerLTE = -1; /* UERLFReportContainerLTE */ static int hf_xnap_ueRLFReportContainerLTEExtendBand = -1; /* UERLFReportContainerLTEExtendBand */ static int hf_xnap_UESliceMaximumBitRateList_item = -1; /* UESliceMaximumBitRate_Item */ static int hf_xnap_dl_UE_Slice_MBR = -1; /* BitRate */ static int hf_xnap_ul_UE_Slice_MBR = -1; /* BitRate */ static int hf_xnap_nr_EncyptionAlgorithms = -1; /* T_nr_EncyptionAlgorithms */ static int hf_xnap_nr_IntegrityProtectionAlgorithms = -1; /* T_nr_IntegrityProtectionAlgorithms */ static int hf_xnap_e_utra_EncyptionAlgorithms = -1; /* T_e_utra_EncyptionAlgorithms */ static int hf_xnap_e_utra_IntegrityProtectionAlgorithms = -1; /* T_e_utra_IntegrityProtectionAlgorithms */ static int hf_xnap_uL_PDCP = -1; /* UL_UE_Configuration */ static int hf_xnap_gtpTunnel = -1; /* GTPtunnelTransportLayerInformation */ static int hf_xnap_UPTransportParameters_item = -1; /* UPTransportParametersItem */ static int hf_xnap_upTNLInfo = -1; /* UPTransportLayerInformation */ static int hf_xnap_cellGroupID = -1; /* CellGroupID */ static int hf_xnap_VolumeTimedReportList_item = -1; /* VolumeTimedReport_Item */ static int hf_xnap_startTimeStamp = -1; /* T_startTimeStamp */ static int hf_xnap_endTimeStamp = -1; /* T_endTimeStamp */ static int hf_xnap_usageCountUL = -1; /* INTEGER_0_18446744073709551615 */ static int hf_xnap_usageCountDL = -1; /* INTEGER_0_18446744073709551615 */ static int hf_xnap_wlanMeasConfig = -1; /* WLANMeasConfig */ static int hf_xnap_wlanMeasConfigNameList = -1; /* WLANMeasConfigNameList */ static int hf_xnap_wlan_rssi = -1; /* T_wlan_rssi */ static int hf_xnap_wlan_rtt = -1; /* T_wlan_rtt */ static int hf_xnap_WLANMeasConfigNameList_item = -1; /* WLANName */ static int hf_xnap_protocolIEs = -1; /* ProtocolIE_Container */ static int hf_xnap_ng_c_UE_reference = -1; /* AMF_UE_NGAP_ID */ static int hf_xnap_cp_TNL_info_source = -1; /* CPTransportLayerInformation */ static int hf_xnap_rrc_Context_01 = -1; /* T_rrc_Context_01 */ static int hf_xnap_locationReportingInformation = -1; /* LocationReportingInformation */ static int hf_xnap_mrl = -1; /* MobilityRestrictionList */ static int hf_xnap_globalNG_RANNode_ID = -1; /* GlobalNG_RANNode_ID */ static int hf_xnap_sN_NG_RANnodeUEXnAPID = -1; /* NG_RANnodeUEXnAPID */ static int hf_xnap_first_dl_count = -1; /* FirstDLCount */ static int hf_xnap_dl_discarding = -1; /* DLDiscarding */ static int hf_xnap_dRBsSubjectToEarlyStatusTransfer = -1; /* DRBsSubjectToEarlyStatusTransfer_List */ static int hf_xnap_dRBsSubjectToDLDiscarding = -1; /* DRBsSubjectToDLDiscarding_List */ static int hf_xnap_PDUSessionToBeAddedAddReq_item = -1; /* PDUSessionToBeAddedAddReq_Item */ static int hf_xnap_sN_PDUSessionAMBR = -1; /* PDUSessionAggregateMaximumBitRate */ static int hf_xnap_sn_terminated = -1; /* PDUSessionResourceSetupInfo_SNterminated */ static int hf_xnap_mn_terminated = -1; /* PDUSessionResourceSetupInfo_MNterminated */ static int hf_xnap_PDUSessionAdmittedAddedAddReqAck_item = -1; /* PDUSessionAdmittedAddedAddReqAck_Item */ static int hf_xnap_sn_terminated_01 = -1; /* PDUSessionResourceSetupResponseInfo_SNterminated */ static int hf_xnap_mn_terminated_01 = -1; /* PDUSessionResourceSetupResponseInfo_MNterminated */ static int hf_xnap_pduSessionResourcesNotAdmitted_SNterminated = -1; /* PDUSessionResourcesNotAdmitted_List */ static int hf_xnap_pduSessionResourcesNotAdmitted_MNterminated = -1; /* PDUSessionResourcesNotAdmitted_List */ static int hf_xnap_responseType_ReconfComplete = -1; /* ResponseType_ReconfComplete */ static int hf_xnap_configuration_successfully_applied = -1; /* Configuration_successfully_applied */ static int hf_xnap_configuration_rejected_by_M_NG_RANNode = -1; /* Configuration_rejected_by_M_NG_RANNode */ static int hf_xnap_m_NG_RANNode_to_S_NG_RANNode_Container = -1; /* T_m_NG_RANNode_to_S_NG_RANNode_Container */ static int hf_xnap_m_NG_RANNode_to_S_NG_RANNode_Container_01 = -1; /* T_m_NG_RANNode_to_S_NG_RANNode_Container_01 */ static int hf_xnap_s_ng_RANnode_SecurityKey = -1; /* S_NG_RANnode_SecurityKey */ static int hf_xnap_s_ng_RANnodeUE_AMBR = -1; /* UEAggregateMaximumBitRate */ static int hf_xnap_lowerLayerPresenceStatusChange = -1; /* LowerLayerPresenceStatusChange */ static int hf_xnap_pduSessionResourceToBeAdded = -1; /* PDUSessionsToBeAdded_SNModRequest_List */ static int hf_xnap_pduSessionResourceToBeModified = -1; /* PDUSessionsToBeModified_SNModRequest_List */ static int hf_xnap_pduSessionResourceToBeReleased = -1; /* PDUSessionsToBeReleased_SNModRequest_List */ static int hf_xnap_PDUSessionsToBeAdded_SNModRequest_List_item = -1; /* PDUSessionsToBeAdded_SNModRequest_Item */ static int hf_xnap_PDUSessionsToBeModified_SNModRequest_List_item = -1; /* PDUSessionsToBeModified_SNModRequest_Item */ static int hf_xnap_sn_terminated_02 = -1; /* PDUSessionResourceModificationInfo_SNterminated */ static int hf_xnap_mn_terminated_02 = -1; /* PDUSessionResourceModificationInfo_MNterminated */ static int hf_xnap_pdu_session_list = -1; /* PDUSession_List_withCause */ static int hf_xnap_pduSessionResourcesAdmittedToBeAdded = -1; /* PDUSessionAdmittedToBeAddedSNModResponse */ static int hf_xnap_pduSessionResourcesAdmittedToBeModified = -1; /* PDUSessionAdmittedToBeModifiedSNModResponse */ static int hf_xnap_pduSessionResourcesAdmittedToBeReleased = -1; /* PDUSessionAdmittedToBeReleasedSNModResponse */ static int hf_xnap_PDUSessionAdmittedToBeAddedSNModResponse_item = -1; /* PDUSessionAdmittedToBeAddedSNModResponse_Item */ static int hf_xnap_PDUSessionAdmittedToBeModifiedSNModResponse_item = -1; /* PDUSessionAdmittedToBeModifiedSNModResponse_Item */ static int hf_xnap_sn_terminated_03 = -1; /* PDUSessionResourceModificationResponseInfo_SNterminated */ static int hf_xnap_mn_terminated_03 = -1; /* PDUSessionResourceModificationResponseInfo_MNterminated */ static int hf_xnap_sn_terminated_04 = -1; /* PDUSession_List_withDataForwardingRequest */ static int hf_xnap_mn_terminated_04 = -1; /* PDUSession_List_withCause */ static int hf_xnap_pdu_Session_List = -1; /* PDUSession_List */ static int hf_xnap_PDUSessionToBeModifiedSNModRequired_item = -1; /* PDUSessionToBeModifiedSNModRequired_Item */ static int hf_xnap_sn_terminated_05 = -1; /* PDUSessionResourceModRqdInfo_SNterminated */ static int hf_xnap_mn_terminated_05 = -1; /* PDUSessionResourceModRqdInfo_MNterminated */ static int hf_xnap_PDUSessionAdmittedModSNModConfirm_item = -1; /* PDUSessionAdmittedModSNModConfirm_Item */ static int hf_xnap_sn_terminated_06 = -1; /* PDUSessionResourceModConfirmInfo_SNterminated */ static int hf_xnap_mn_terminated_06 = -1; /* PDUSessionResourceModConfirmInfo_MNterminated */ static int hf_xnap_sn_terminated_07 = -1; /* PDUSession_List_withDataForwardingFromTarget */ static int hf_xnap_mn_terminated_07 = -1; /* PDUSession_List */ static int hf_xnap_pduSessionsToBeReleasedList_SNterminated = -1; /* PDUSession_List_withDataForwardingRequest */ static int hf_xnap_pduSessionsReleasedList_SNterminated = -1; /* PDUSession_List_withDataForwardingFromTarget */ static int hf_xnap_BearersSubjectToCounterCheck_List_item = -1; /* BearersSubjectToCounterCheck_Item */ static int hf_xnap_ul_count = -1; /* INTEGER_0_4294967295 */ static int hf_xnap_dl_count = -1; /* INTEGER_0_4294967295 */ static int hf_xnap_PDUSession_SNChangeRequired_List_item = -1; /* PDUSession_SNChangeRequired_Item */ static int hf_xnap_sn_terminated_08 = -1; /* PDUSessionResourceChangeRequiredInfo_SNterminated */ static int hf_xnap_mn_terminated_08 = -1; /* PDUSessionResourceChangeRequiredInfo_MNterminated */ static int hf_xnap_PDUSession_SNChangeConfirm_List_item = -1; /* PDUSession_SNChangeConfirm_Item */ static int hf_xnap_sn_terminated_09 = -1; /* PDUSessionResourceChangeConfirmInfo_SNterminated */ static int hf_xnap_mn_terminated_09 = -1; /* PDUSessionResourceChangeConfirmInfo_MNterminated */ static int hf_xnap_rrcContainer = -1; /* OCTET_STRING */ static int hf_xnap_srbType = -1; /* T_srbType */ static int hf_xnap_deliveryStatus = -1; /* DeliveryStatus */ static int hf_xnap_PDUSessionResourcesNotifyList_item = -1; /* PDUSessionResourcesNotify_Item */ static int hf_xnap_qosFlowsNotificationContrIndInfo = -1; /* QoSFlowNotificationControlIndicationInfo */ static int hf_xnap_PDUSessionResourcesActivityNotifyList_item = -1; /* PDUSessionResourcesActivityNotify_Item */ static int hf_xnap_pduSessionLevelUPactivityreport = -1; /* UserPlaneTrafficActivityReport */ static int hf_xnap_qosFlowsActivityNotifyList = -1; /* QoSFlowsActivityNotifyList */ static int hf_xnap_QoSFlowsActivityNotifyList_item = -1; /* QoSFlowsActivityNotifyItem */ static int hf_xnap_gNB_01 = -1; /* ProtocolIE_Container */ static int hf_xnap_ng_eNB_01 = -1; /* ProtocolIE_Container */ static int hf_xnap_ng_eNB_02 = -1; /* RespondingNodeTypeConfigUpdateAck_ng_eNB */ static int hf_xnap_gNB_02 = -1; /* RespondingNodeTypeConfigUpdateAck_gNB */ static int hf_xnap_served_NR_Cells = -1; /* ServedCells_NR */ static int hf_xnap_ng_eNB_03 = -1; /* ResourceCoordRequest_ng_eNB_initiated */ static int hf_xnap_gNB_03 = -1; /* ResourceCoordRequest_gNB_initiated */ static int hf_xnap_dataTrafficResourceIndication = -1; /* DataTrafficResourceIndication */ static int hf_xnap_spectrumSharingGroupID = -1; /* SpectrumSharingGroupID */ static int hf_xnap_listofE_UTRACells = -1; /* SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI */ static int hf_xnap_listofE_UTRACells_item = -1; /* E_UTRA_CGI */ static int hf_xnap_listofNRCells = -1; /* SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI */ static int hf_xnap_listofNRCells_item = -1; /* NR_CGI */ static int hf_xnap_ng_eNB_04 = -1; /* ResourceCoordResponse_ng_eNB_initiated */ static int hf_xnap_gNB_04 = -1; /* ResourceCoordResponse_gNB_initiated */ static int hf_xnap_nr_cells = -1; /* SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI */ static int hf_xnap_nr_cells_item = -1; /* NR_CGI */ static int hf_xnap_e_utra_cells = -1; /* SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI */ static int hf_xnap_e_utra_cells_item = -1; /* E_UTRA_CGI */ static int hf_xnap_privateIEs = -1; /* PrivateIE_Container */ static int hf_xnap_TrafficToBeAddedList_item = -1; /* TrafficToBeAdded_Item */ static int hf_xnap_trafficProfile = -1; /* TrafficProfile */ static int hf_xnap_f1_TerminatingTopologyBHInformation = -1; /* F1_TerminatingTopologyBHInformation */ static int hf_xnap_TrafficToBeModifiedList_item = -1; /* TrafficToBeModified_Item */ static int hf_xnap_TrafficAddedList_item = -1; /* TrafficAdded_Item */ static int hf_xnap_non_F1_TerminatingTopologyBHInformation = -1; /* Non_F1_TerminatingTopologyBHInformation */ static int hf_xnap_TrafficModifiedList_item = -1; /* TrafficModified_Item */ static int hf_xnap_TrafficNotAddedList_item = -1; /* TrafficNotAdded_Item */ static int hf_xnap_casue = -1; /* Cause */ static int hf_xnap_TrafficNotModifiedList_item = -1; /* TrafficNotModified_Item */ static int hf_xnap_TrafficReleasedList_item = -1; /* TrafficReleased_Item */ static int hf_xnap_TrafficRequiredToBeModifiedList_item = -1; /* TrafficRequiredToBeModified_Item */ static int hf_xnap_non_f1_TerminatingTopologyBHInformation = -1; /* Non_F1_TerminatingTopologyBHInformation */ static int hf_xnap_IABTNLAddressToBeReleasedList_item = -1; /* IABTNLAddressToBeReleased_Item */ static int hf_xnap_iabTNLAddress = -1; /* IABTNLAddress */ static int hf_xnap_TrafficRequiredModifiedList_item = -1; /* TrafficRequiredModified_Item */ static int hf_xnap_BoundaryNodeCellsList_item = -1; /* BoundaryNodeCellsList_Item */ static int hf_xnap_boundaryNodeCellInformation = -1; /* IABCellInformation */ static int hf_xnap_ParentNodeCellsList_item = -1; /* ParentNodeCellsList_Item */ static int hf_xnap_parentNodeCellInformation = -1; /* IABCellInformation */ static int hf_xnap_initiatingMessage = -1; /* InitiatingMessage */ static int hf_xnap_successfulOutcome = -1; /* SuccessfulOutcome */ static int hf_xnap_unsuccessfulOutcome = -1; /* UnsuccessfulOutcome */ static int hf_xnap_initiatingMessage_value = -1; /* InitiatingMessage_value */ static int hf_xnap_successfulOutcome_value = -1; /* SuccessfulOutcome_value */ static int hf_xnap_value = -1; /* UnsuccessfulOutcome_value */ /* named bits */ static int hf_xnap_RAT_RestrictionInformation_e_UTRA = -1; static int hf_xnap_RAT_RestrictionInformation_nR = -1; static int hf_xnap_RAT_RestrictionInformation_nR_unlicensed = -1; static int hf_xnap_RAT_RestrictionInformation_nR_LEO = -1; static int hf_xnap_RAT_RestrictionInformation_nR_MEO = -1; static int hf_xnap_RAT_RestrictionInformation_nR_GEO = -1; static int hf_xnap_RAT_RestrictionInformation_nR_OTHERSAT = -1; static int hf_xnap_T_interfaces_to_trace_ng_c = -1; static int hf_xnap_T_interfaces_to_trace_x_nc = -1; static int hf_xnap_T_interfaces_to_trace_uu = -1; static int hf_xnap_T_interfaces_to_trace_f1_c = -1; static int hf_xnap_T_interfaces_to_trace_e1 = -1; static int hf_xnap_T_nr_EncyptionAlgorithms_spare_bit0 = -1; static int hf_xnap_T_nr_EncyptionAlgorithms_nea1_128 = -1; static int hf_xnap_T_nr_EncyptionAlgorithms_nea2_128 = -1; static int hf_xnap_T_nr_EncyptionAlgorithms_nea3_128 = -1; static int hf_xnap_T_nr_IntegrityProtectionAlgorithms_spare_bit0 = -1; static int hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia1_128 = -1; static int hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia2_128 = -1; static int hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia3_128 = -1; static int hf_xnap_T_e_utra_EncyptionAlgorithms_spare_bit0 = -1; static int hf_xnap_T_e_utra_EncyptionAlgorithms_eea1_128 = -1; static int hf_xnap_T_e_utra_EncyptionAlgorithms_eea2_128 = -1; static int hf_xnap_T_e_utra_EncyptionAlgorithms_eea3_128 = -1; static int hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_spare_bit0 = -1; static int hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia1_128 = -1; static int hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia2_128 = -1; static int hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia3_128 = -1; /* Initialize the subtree pointers */ static gint ett_xnap = -1; static gint ett_xnap_RRC_Context = -1; static gint ett_nxap_container = -1; static gint ett_xnap_PLMN_Identity = -1; static gint ett_xnap_measurementTimingConfiguration = -1; static gint ett_xnap_TransportLayerAddress = -1; static gint ett_xnap_NG_RANTraceID = -1; static gint ett_xnap_LastVisitedEUTRANCellInformation = -1; static gint ett_xnap_LastVisitedNGRANCellInformation = -1; static gint ett_xnap_LastVisitedUTRANCellInformation = -1; static gint ett_xnap_LastVisitedGERANCellInformation = -1; static gint ett_xnap_UERadioCapabilityForPagingOfNR = -1; static gint ett_xnap_UERadioCapabilityForPagingOfEUTRA = -1; static gint ett_xnap_FiveGCMobilityRestrictionListContainer = -1; static gint ett_xnap_primaryRATRestriction = -1; static gint ett_xnap_secondaryRATRestriction = -1; static gint ett_xnap_ImmediateMDT_EUTRA = -1; static gint ett_xnap_MDT_Location_Info = -1; static gint ett_xnap_MeasurementsToActivate = -1; static gint ett_xnap_NRMobilityHistoryReport = -1; static gint ett_xnap_RACHReportContainer = -1; static gint ett_xnap_TargetCellinEUTRAN = -1; static gint ett_xnap_TDDULDLConfigurationCommonNR = -1; static gint ett_xnap_UERLFReportContainerLTE = -1; static gint ett_xnap_UERLFReportContainerNR = -1; static gint ett_xnap_burstArrivalTime = -1; static gint ett_xnap_ReportCharacteristics = -1; static gint ett_xnap_NRCellPRACHConfig = -1; static gint ett_xnap_anchorCarrier_NPRACHConfig = -1; static gint ett_xnap_anchorCarrier_EDT_NPRACHConfig = -1; static gint ett_xnap_anchorCarrier_Format2_NPRACHConfig = -1; static gint ett_xnap_anchorCarrier_Format2_EDT_NPRACHConfig = -1; static gint ett_xnap_non_anchorCarrier_NPRACHConfig = -1; static gint ett_xnap_non_anchorCarrier_Format2_NPRACHConfig = -1; static gint ett_xnap_anchorCarrier_NPRACHConfigTDD = -1; static gint ett_xnap_non_anchorCarrier_NPRACHConfigTDD = -1; static gint ett_xnap_non_anchorCarrierFrequency = -1; static gint ett_xnap_cSI_RS_Configuration = -1; static gint ett_xnap_sR_Configuration = -1; static gint ett_xnap_pDCCH_ConfigSIB1 = -1; static gint ett_xnap_sCS_Common = -1; static gint ett_xnap_LastVisitedPSCellInformation = -1; static gint ett_xnap_MeasObjectContainer = -1; static gint ett_xnap_RACH_Config_Common = -1; static gint ett_xnap_RACH_Config_Common_IAB = -1; static gint ett_xnap_ReportConfigContainer = -1; static gint ett_xnap_RLC_Bearer_Configuration = -1; static gint ett_xnap_SuccessfulHOReportContainer = -1; static gint ett_xnap_UERLFReportContainerLTEExtendBand = -1; static gint ett_xnap_MDTMode_EUTRA = -1; static gint ett_xnap_PrivateIE_ID = -1; static gint ett_xnap_ProtocolIE_Container = -1; static gint ett_xnap_ProtocolIE_Field = -1; static gint ett_xnap_ProtocolExtensionContainer = -1; static gint ett_xnap_ProtocolExtensionField = -1; static gint ett_xnap_PrivateIE_Container = -1; static gint ett_xnap_PrivateIE_Field = -1; static gint ett_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated = -1; static gint ett_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item = -1; static gint ett_xnap_Additional_PDCP_Duplication_TNL_List = -1; static gint ett_xnap_Additional_PDCP_Duplication_TNL_Item = -1; static gint ett_xnap_Additional_UL_NG_U_TNLatUPF_Item = -1; static gint ett_xnap_Additional_UL_NG_U_TNLatUPF_List = -1; static gint ett_xnap_Additional_Measurement_Timing_Configuration_List = -1; static gint ett_xnap_Additional_Measurement_Timing_Configuration_Item = -1; static gint ett_xnap_Active_MBS_SessionInformation = -1; static gint ett_xnap_AllocationandRetentionPriority = -1; static gint ett_xnap_AllowedCAG_ID_List_perPLMN = -1; static gint ett_xnap_AllowedPNI_NPN_ID_List = -1; static gint ett_xnap_AllowedPNI_NPN_ID_Item = -1; static gint ett_xnap_AlternativeQoSParaSetList = -1; static gint ett_xnap_AlternativeQoSParaSetItem = -1; static gint ett_xnap_AMF_Region_Information = -1; static gint ett_xnap_GlobalAMF_Region_Information = -1; static gint ett_xnap_AreaOfInterestInformation = -1; static gint ett_xnap_AreaOfInterest_Item = -1; static gint ett_xnap_AreaScopeOfMDT_NR = -1; static gint ett_xnap_AreaScopeOfMDT_EUTRA = -1; static gint ett_xnap_AreaScopeOfNeighCellsList = -1; static gint ett_xnap_AreaScopeOfNeighCellsItem = -1; static gint ett_xnap_AreaScopeOfQMC = -1; static gint ett_xnap_AS_SecurityInformation = -1; static gint ett_xnap_AssistanceDataForRANPaging = -1; static gint ett_xnap_Associated_QoSFlowInfo_List = -1; static gint ett_xnap_Associated_QoSFlowInfo_Item = -1; static gint ett_xnap_AvailableRVQoEMetrics = -1; static gint ett_xnap_BAPRoutingID = -1; static gint ett_xnap_BeamMeasurementsReportConfiguration = -1; static gint ett_xnap_BeamMeasurementsReportQuantity = -1; static gint ett_xnap_BHInfoList = -1; static gint ett_xnap_BHInfo_Item = -1; static gint ett_xnap_BAPControlPDURLCCH_List = -1; static gint ett_xnap_BAPControlPDURLCCH_Item = -1; static gint ett_xnap_BluetoothMeasurementConfiguration = -1; static gint ett_xnap_BluetoothMeasConfigNameList = -1; static gint ett_xnap_BPLMN_ID_Info_EUTRA = -1; static gint ett_xnap_BPLMN_ID_Info_EUTRA_Item = -1; static gint ett_xnap_BPLMN_ID_Info_NR = -1; static gint ett_xnap_BPLMN_ID_Info_NR_Item = -1; static gint ett_xnap_BroadcastCAG_Identifier_List = -1; static gint ett_xnap_BroadcastCAG_Identifier_Item = -1; static gint ett_xnap_BroadcastNID_List = -1; static gint ett_xnap_BroadcastNID_Item = -1; static gint ett_xnap_BroadcastPLMNs = -1; static gint ett_xnap_BroadcastEUTRAPLMNs = -1; static gint ett_xnap_BroadcastPLMNinTAISupport_Item = -1; static gint ett_xnap_BroadcastPNI_NPN_ID_Information = -1; static gint ett_xnap_BroadcastPNI_NPN_ID_Information_Item = -1; static gint ett_xnap_BroadcastSNPNID_List = -1; static gint ett_xnap_BroadcastSNPNID = -1; static gint ett_xnap_CapacityValueInfo = -1; static gint ett_xnap_Cause = -1; static gint ett_xnap_CellAssistanceInfo_NR = -1; static gint ett_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI = -1; static gint ett_xnap_CellAndCapacityAssistanceInfo_NR = -1; static gint ett_xnap_CellAndCapacityAssistanceInfo_EUTRA = -1; static gint ett_xnap_CellAssistanceInfo_EUTRA = -1; static gint ett_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI = -1; static gint ett_xnap_CellBasedMDT_NR = -1; static gint ett_xnap_CellIdListforMDT_NR = -1; static gint ett_xnap_CellBasedQMC = -1; static gint ett_xnap_CellIdListforQMC = -1; static gint ett_xnap_CellBasedMDT_EUTRA = -1; static gint ett_xnap_CellIdListforMDT_EUTRA = -1; static gint ett_xnap_CellMeasurementResult = -1; static gint ett_xnap_CellMeasurementResult_Item = -1; static gint ett_xnap_CellReplacingInfo = -1; static gint ett_xnap_CellToReport = -1; static gint ett_xnap_CellToReport_Item = -1; static gint ett_xnap_Cell_Type_Choice = -1; static gint ett_xnap_CHOConfiguration = -1; static gint ett_xnap_CHOCandidateCell_List = -1; static gint ett_xnap_CHOCandidateCell_Item = -1; static gint ett_xnap_CHOExecutionCondition_List = -1; static gint ett_xnap_CHOExecutionCondition_Item = -1; static gint ett_xnap_CompositeAvailableCapacityGroup = -1; static gint ett_xnap_CompositeAvailableCapacity = -1; static gint ett_xnap_CHOinformation_Req = -1; static gint ett_xnap_CHOinformation_Ack = -1; static gint ett_xnap_CHOinformation_AddReq = -1; static gint ett_xnap_CHOinformation_ModReq = -1; static gint ett_xnap_Connectivity_Support = -1; static gint ett_xnap_COUNT_PDCP_SN12 = -1; static gint ett_xnap_COUNT_PDCP_SN18 = -1; static gint ett_xnap_Coverage_Modification_List = -1; static gint ett_xnap_Coverage_Modification_List_Item = -1; static gint ett_xnap_CPTransportLayerInformation = -1; static gint ett_xnap_CPACcandidatePSCells_list = -1; static gint ett_xnap_CPACcandidatePSCells_item = -1; static gint ett_xnap_CPAInformationRequest = -1; static gint ett_xnap_CPAInformationAck = -1; static gint ett_xnap_CPCInformationRequired = -1; static gint ett_xnap_CPC_target_SN_required_list = -1; static gint ett_xnap_CPC_target_SN_required_list_Item = -1; static gint ett_xnap_CPCInformationConfirm = -1; static gint ett_xnap_CPC_target_SN_confirm_list = -1; static gint ett_xnap_CPC_target_SN_confirm_list_Item = -1; static gint ett_xnap_CPAInformationModReq = -1; static gint ett_xnap_CPAInformationModReqAck = -1; static gint ett_xnap_CPACInformationModRequired = -1; static gint ett_xnap_CPCInformationUpdate = -1; static gint ett_xnap_CPC_target_SN_mod_list = -1; static gint ett_xnap_CPC_target_SN_mod_item = -1; static gint ett_xnap_CPCInformationUpdatePSCells_list = -1; static gint ett_xnap_CPCInformationUpdatePSCells_item = -1; static gint ett_xnap_CriticalityDiagnostics = -1; static gint ett_xnap_CriticalityDiagnostics_IE_List = -1; static gint ett_xnap_CriticalityDiagnostics_IE_List_item = -1; static gint ett_xnap_CSI_RS_MTC_Configuration_List = -1; static gint ett_xnap_CSI_RS_MTC_Configuration_Item = -1; static gint ett_xnap_CSI_RS_Neighbour_List = -1; static gint ett_xnap_CSI_RS_Neighbour_Item = -1; static gint ett_xnap_CSI_RS_MTC_Neighbour_List = -1; static gint ett_xnap_CSI_RS_MTC_Neighbour_Item = -1; static gint ett_xnap_XnUAddressInfoperPDUSession_List = -1; static gint ett_xnap_XnUAddressInfoperPDUSession_Item = -1; static gint ett_xnap_DataForwardingInfoFromTargetE_UTRANnode = -1; static gint ett_xnap_DataForwardingInfoFromTargetE_UTRANnode_List = -1; static gint ett_xnap_DataForwardingInfoFromTargetE_UTRANnode_Item = -1; static gint ett_xnap_QoSFlowsToBeForwarded_List = -1; static gint ett_xnap_QoSFlowsToBeForwarded_Item = -1; static gint ett_xnap_DataForwardingInfoFromTargetNGRANnode = -1; static gint ett_xnap_QoSFLowsAcceptedToBeForwarded_List = -1; static gint ett_xnap_QoSFLowsAcceptedToBeForwarded_Item = -1; static gint ett_xnap_DataforwardingandOffloadingInfofromSource = -1; static gint ett_xnap_QoSFLowsToBeForwarded_List = -1; static gint ett_xnap_QoSFLowsToBeForwarded_Item = -1; static gint ett_xnap_DataForwardingResponseDRBItemList = -1; static gint ett_xnap_DataForwardingResponseDRBItem = -1; static gint ett_xnap_DataTrafficResourceIndication = -1; static gint ett_xnap_DAPSRequestInfo = -1; static gint ett_xnap_DAPSResponseInfo_List = -1; static gint ett_xnap_DAPSResponseInfo_Item = -1; static gint ett_xnap_DLCountChoice = -1; static gint ett_xnap_DLF1Terminating_BHInfo = -1; static gint ett_xnap_DLNonF1Terminating_BHInfo = -1; static gint ett_xnap_DRB_List = -1; static gint ett_xnap_DRB_List_withCause = -1; static gint ett_xnap_DRB_List_withCause_Item = -1; static gint ett_xnap_DRBsSubjectToDLDiscarding_List = -1; static gint ett_xnap_DRBsSubjectToDLDiscarding_Item = -1; static gint ett_xnap_DRBsSubjectToEarlyStatusTransfer_List = -1; static gint ett_xnap_DRBsSubjectToEarlyStatusTransfer_Item = -1; static gint ett_xnap_DRBsSubjectToStatusTransfer_List = -1; static gint ett_xnap_DRBsSubjectToStatusTransfer_Item = -1; static gint ett_xnap_DRBBStatusTransferChoice = -1; static gint ett_xnap_DRBBStatusTransfer12bitsSN = -1; static gint ett_xnap_DRBBStatusTransfer18bitsSN = -1; static gint ett_xnap_DRBToQoSFlowMapping_List = -1; static gint ett_xnap_DRBToQoSFlowMapping_Item = -1; static gint ett_xnap_DUF_Slot_Config_List = -1; static gint ett_xnap_DUF_Slot_Config_Item = -1; static gint ett_xnap_Dynamic5QIDescriptor = -1; static gint ett_xnap_E_UTRA_CGI = -1; static gint ett_xnap_E_UTRAMultibandInfoList = -1; static gint ett_xnap_EUTRAPagingeDRXInformation = -1; static gint ett_xnap_E_UTRAPRACHConfiguration = -1; static gint ett_xnap_EndpointIPAddressAndPort = -1; static gint ett_xnap_EventTriggered = -1; static gint ett_xnap_EventTypeTrigger = -1; static gint ett_xnap_EventL1 = -1; static gint ett_xnap_MeasurementThresholdL1LoggedMDT = -1; static gint ett_xnap_ExcessPacketDelayThresholdConfiguration = -1; static gint ett_xnap_ExcessPacketDelayThresholdItem = -1; static gint ett_xnap_ExpectedUEActivityBehaviour = -1; static gint ett_xnap_ExpectedUEBehaviour = -1; static gint ett_xnap_ExpectedUEMovingTrajectory = -1; static gint ett_xnap_ExpectedUEMovingTrajectoryItem = -1; static gint ett_xnap_ExplicitFormat = -1; static gint ett_xnap_ExtendedRATRestrictionInformation = -1; static gint ett_xnap_ExtendedSliceSupportList = -1; static gint ett_xnap_ExtTLAs = -1; static gint ett_xnap_ExtTLA_Item = -1; static gint ett_xnap_GTPTLAs = -1; static gint ett_xnap_GTPTLA_Item = -1; static gint ett_xnap_F1_TerminatingTopologyBHInformation = -1; static gint ett_xnap_F1TerminatingBHInformation_List = -1; static gint ett_xnap_F1TerminatingBHInformation_Item = -1; static gint ett_xnap_FiveGProSeAuthorized = -1; static gint ett_xnap_FiveGProSePC5QoSParameters = -1; static gint ett_xnap_FiveGProSePC5QoSFlowList = -1; static gint ett_xnap_FiveGProSePC5QoSFlowItem = -1; static gint ett_xnap_FiveGProSePC5FlowBitRates = -1; static gint ett_xnap_Flows_Mapped_To_DRB_List = -1; static gint ett_xnap_Flows_Mapped_To_DRB_Item = -1; static gint ett_xnap_FreqDomainHSNAconfiguration_List = -1; static gint ett_xnap_FreqDomainHSNAconfiguration_List_Item = -1; static gint ett_xnap_FreqDomainSlotHSNAconfiguration_List = -1; static gint ett_xnap_FreqDomainSlotHSNAconfiguration_List_Item = -1; static gint ett_xnap_GBRQoSFlowInfo = -1; static gint ett_xnap_GlobalgNB_ID = -1; static gint ett_xnap_GNB_DU_Cell_Resource_Configuration = -1; static gint ett_xnap_GNB_ID_Choice = -1; static gint ett_xnap_GNB_RadioResourceStatus = -1; static gint ett_xnap_GlobalCell_ID = -1; static gint ett_xnap_GlobalngeNB_ID = -1; static gint ett_xnap_ENB_ID_Choice = -1; static gint ett_xnap_GlobalNG_RANCell_ID = -1; static gint ett_xnap_GlobalNG_RANNode_ID = -1; static gint ett_xnap_GTPtunnelTransportLayerInformation = -1; static gint ett_xnap_GUAMI = -1; static gint ett_xnap_HSNASlotConfigList = -1; static gint ett_xnap_HSNASlotConfigItem = -1; static gint ett_xnap_IABCellInformation = -1; static gint ett_xnap_IAB_DU_Cell_Resource_Configuration_Mode_Info = -1; static gint ett_xnap_IAB_DU_Cell_Resource_Configuration_FDD_Info = -1; static gint ett_xnap_IAB_DU_Cell_Resource_Configuration_TDD_Info = -1; static gint ett_xnap_IAB_MT_Cell_List = -1; static gint ett_xnap_IAB_MT_Cell_List_Item = -1; static gint ett_xnap_IAB_QoS_Mapping_Information = -1; static gint ett_xnap_IAB_STC_Info = -1; static gint ett_xnap_IAB_STC_Info_List = -1; static gint ett_xnap_IAB_STC_Info_Item = -1; static gint ett_xnap_IAB_TNL_Address_Request = -1; static gint ett_xnap_IABIPv6RequestType = -1; static gint ett_xnap_IAB_TNL_Address_Response = -1; static gint ett_xnap_IABAllocatedTNLAddress_List = -1; static gint ett_xnap_IABAllocatedTNLAddress_Item = -1; static gint ett_xnap_IABTNLAddress = -1; static gint ett_xnap_IABTNLAddressesRequested = -1; static gint ett_xnap_IABTNLAddressToRemove_List = -1; static gint ett_xnap_IABTNLAddressToRemove_Item = -1; static gint ett_xnap_IABTNLAddressException = -1; static gint ett_xnap_IABTNLAddress_Item = -1; static gint ett_xnap_ImmediateMDT_NR = -1; static gint ett_xnap_ImplicitFormat = -1; static gint ett_xnap_InitiatingCondition_FailureIndication = -1; static gint ett_xnap_IntendedTDD_DL_ULConfiguration_NR = -1; static gint ett_xnap_I_RNTI = -1; static gint ett_xnap_Local_NG_RAN_Node_Identifier = -1; static gint ett_xnap_Full_I_RNTI_Profile_List = -1; static gint ett_xnap_Short_I_RNTI_Profile_List = -1; static gint ett_xnap_LastVisitedCell_Item = -1; static gint ett_xnap_LastVisitedPSCellList = -1; static gint ett_xnap_LastVisitedPSCellList_Item = -1; static gint ett_xnap_SCGUEHistoryInformation = -1; static gint ett_xnap_ListOfCells = -1; static gint ett_xnap_CellsinAoI_Item = -1; static gint ett_xnap_ListOfRANNodesinAoI = -1; static gint ett_xnap_GlobalNG_RANNodesinAoI_Item = -1; static gint ett_xnap_ListOfTAIsinAoI = -1; static gint ett_xnap_TAIsinAoI_Item = -1; static gint ett_xnap_LocationReportingInformation = -1; static gint ett_xnap_LoggedEventTriggeredConfig = -1; static gint ett_xnap_LoggedMDT_NR = -1; static gint ett_xnap_LTEV2XServicesAuthorized = -1; static gint ett_xnap_LTEUESidelinkAggregateMaximumBitRate = -1; static gint ett_xnap_MDTAlignmentInfo = -1; static gint ett_xnap_M1Configuration = -1; static gint ett_xnap_M1PeriodicReporting = -1; static gint ett_xnap_M1ThresholdEventA2 = -1; static gint ett_xnap_M4Configuration = -1; static gint ett_xnap_M5Configuration = -1; static gint ett_xnap_M6Configuration = -1; static gint ett_xnap_M7Configuration = -1; static gint ett_xnap_MaximumIPdatarate = -1; static gint ett_xnap_MBSFNSubframeAllocation_E_UTRA = -1; static gint ett_xnap_MBSFNSubframeInfo_E_UTRA = -1; static gint ett_xnap_MBSFNSubframeInfo_E_UTRA_Item = -1; static gint ett_xnap_MBS_MappingandDataForwardingRequestInfofromSource = -1; static gint ett_xnap_MBS_MappingandDataForwardingRequestInfofromSource_Item = -1; static gint ett_xnap_MBS_DataForwardingResponseInfofromTarget = -1; static gint ett_xnap_MBS_DataForwardingResponseInfofromTarget_Item = -1; static gint ett_xnap_MBS_QoSFlow_List = -1; static gint ett_xnap_MBS_QoSFlowsToAdd_List = -1; static gint ett_xnap_MBS_QoSFlowsToAdd_Item = -1; static gint ett_xnap_MBS_ServiceArea = -1; static gint ett_xnap_MBS_ServiceAreaCell_List = -1; static gint ett_xnap_MBS_ServiceAreaInformation = -1; static gint ett_xnap_MBS_ServiceAreaInformationList = -1; static gint ett_xnap_MBS_ServiceAreaInformation_Item = -1; static gint ett_xnap_MBS_ServiceAreaTAI_List = -1; static gint ett_xnap_MBS_ServiceAreaTAI_Item = -1; static gint ett_xnap_MBS_Session_ID = -1; static gint ett_xnap_MBS_SessionAssociatedInformation = -1; static gint ett_xnap_MBS_SessionAssociatedInformation_Item = -1; static gint ett_xnap_MBS_SessionInformation_List = -1; static gint ett_xnap_MBS_SessionInformation_Item = -1; static gint ett_xnap_MBS_SessionInformationResponse_List = -1; static gint ett_xnap_MBS_SessionInformationResponse_Item = -1; static gint ett_xnap_MRB_ProgressInformation = -1; static gint ett_xnap_MDT_Configuration = -1; static gint ett_xnap_MDT_Configuration_NR = -1; static gint ett_xnap_MDT_Configuration_EUTRA = -1; static gint ett_xnap_MDTPLMNList = -1; static gint ett_xnap_MDTPLMNModificationList = -1; static gint ett_xnap_MDTMode_NR = -1; static gint ett_xnap_MeasurementThresholdA2 = -1; static gint ett_xnap_MIMOPRBusageInformation = -1; static gint ett_xnap_MobilityParametersModificationRange = -1; static gint ett_xnap_MobilityParametersInformation = -1; static gint ett_xnap_MobilityRestrictionList = -1; static gint ett_xnap_SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity = -1; static gint ett_xnap_CNTypeRestrictionsForEquivalent = -1; static gint ett_xnap_CNTypeRestrictionsForEquivalentItem = -1; static gint ett_xnap_RAT_RestrictionsList = -1; static gint ett_xnap_RAT_RestrictionsItem = -1; static gint ett_xnap_RAT_RestrictionInformation = -1; static gint ett_xnap_ForbiddenAreaList = -1; static gint ett_xnap_ForbiddenAreaItem = -1; static gint ett_xnap_SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC = -1; static gint ett_xnap_ServiceAreaList = -1; static gint ett_xnap_ServiceAreaItem = -1; static gint ett_xnap_SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC = -1; static gint ett_xnap_MR_DC_ResourceCoordinationInfo = -1; static gint ett_xnap_NG_RAN_Node_ResourceCoordinationInfo = -1; static gint ett_xnap_E_UTRA_ResourceCoordinationInfo = -1; static gint ett_xnap_NR_ResourceCoordinationInfo = -1; static gint ett_xnap_MessageOversizeNotification = -1; static gint ett_xnap_MultiplexingInfo = -1; static gint ett_xnap_NACellResourceConfigurationList = -1; static gint ett_xnap_NACellResourceConfiguration_Item = -1; static gint ett_xnap_NE_DC_TDM_Pattern = -1; static gint ett_xnap_NeighbourInformation_E_UTRA = -1; static gint ett_xnap_NeighbourInformation_E_UTRA_Item = -1; static gint ett_xnap_NeighbourInformation_NR = -1; static gint ett_xnap_NeighbourInformation_NR_Item = -1; static gint ett_xnap_NeighbourInformation_NR_ModeInfo = -1; static gint ett_xnap_NeighbourInformation_NR_ModeFDDInfo = -1; static gint ett_xnap_NeighbourInformation_NR_ModeTDDInfo = -1; static gint ett_xnap_Neighbour_NG_RAN_Node_List = -1; static gint ett_xnap_Neighbour_NG_RAN_Node_Item = -1; static gint ett_xnap_NRCarrierList = -1; static gint ett_xnap_NRCarrierItem = -1; static gint ett_xnap_NG_RAN_Cell_Identity = -1; static gint ett_xnap_NG_RAN_CellPCI = -1; static gint ett_xnap_NG_RANnode2SSBOffsetsModificationRange = -1; static gint ett_xnap_NonDynamic5QIDescriptor = -1; static gint ett_xnap_NG_eNB_RadioResourceStatus = -1; static gint ett_xnap_TNLCapacityIndicator = -1; static gint ett_xnap_Non_F1_TerminatingTopologyBHInformation = -1; static gint ett_xnap_NonF1TerminatingBHInformation_List = -1; static gint ett_xnap_NonF1TerminatingBHInformation_Item = -1; static gint ett_xnap_NonUPTraffic = -1; static gint ett_xnap_NPN_Broadcast_Information = -1; static gint ett_xnap_NPN_Broadcast_Information_SNPN = -1; static gint ett_xnap_NPN_Broadcast_Information_PNI_NPN = -1; static gint ett_xnap_NPNMobilityInformation = -1; static gint ett_xnap_NPNMobilityInformation_SNPN = -1; static gint ett_xnap_NPNMobilityInformation_PNI_NPN = -1; static gint ett_xnap_NPNPagingAssistanceInformation = -1; static gint ett_xnap_NPNPagingAssistanceInformation_PNI_NPN = -1; static gint ett_xnap_NPN_Support = -1; static gint ett_xnap_NPN_Support_SNPN = -1; static gint ett_xnap_NPRACHConfiguration = -1; static gint ett_xnap_T_fdd_or_tdd = -1; static gint ett_xnap_NPRACHConfiguration_FDD = -1; static gint ett_xnap_NPRACHConfiguration_TDD = -1; static gint ett_xnap_Non_AnchorCarrierFrequencylist = -1; static gint ett_xnap_Non_AnchorCarrierFrequencylist_item = -1; static gint ett_xnap_NG_RAN_Cell_Identity_ListinRANPagingArea = -1; static gint ett_xnap_NR_CGI = -1; static gint ett_xnap_NR_U_Channel_List = -1; static gint ett_xnap_NR_U_Channel_Item = -1; static gint ett_xnap_NR_U_ChannelInfo_List = -1; static gint ett_xnap_NR_U_ChannelInfo_Item = -1; static gint ett_xnap_NRFrequencyBand_List = -1; static gint ett_xnap_NRFrequencyBandItem = -1; static gint ett_xnap_NRFrequencyInfo = -1; static gint ett_xnap_NRModeInfo = -1; static gint ett_xnap_NRModeInfoFDD = -1; static gint ett_xnap_NRModeInfoTDD = -1; static gint ett_xnap_NRPagingeDRXInformation = -1; static gint ett_xnap_NRPagingeDRXInformationforRRCINACTIVE = -1; static gint ett_xnap_NRTransmissionBandwidth = -1; static gint ett_xnap_NRV2XServicesAuthorized = -1; static gint ett_xnap_NRUESidelinkAggregateMaximumBitRate = -1; static gint ett_xnap_PositioningInformation = -1; static gint ett_xnap_PacketErrorRate = -1; static gint ett_xnap_PEIPSassistanceInformation = -1; static gint ett_xnap_PC5QoSParameters = -1; static gint ett_xnap_PC5QoSFlowList = -1; static gint ett_xnap_PC5QoSFlowItem = -1; static gint ett_xnap_PC5FlowBitRates = -1; static gint ett_xnap_PDCPChangeIndication = -1; static gint ett_xnap_PDCPSNLength = -1; static gint ett_xnap_PDUSessionAggregateMaximumBitRate = -1; static gint ett_xnap_PDUSession_List = -1; static gint ett_xnap_PDUSession_List_withCause = -1; static gint ett_xnap_PDUSession_List_withCause_Item = -1; static gint ett_xnap_PDUSession_List_withDataForwardingFromTarget = -1; static gint ett_xnap_PDUSession_List_withDataForwardingFromTarget_Item = -1; static gint ett_xnap_PDUSession_List_withDataForwardingRequest = -1; static gint ett_xnap_PDUSession_List_withDataForwardingRequest_Item = -1; static gint ett_xnap_PDUSessionResourcesAdmitted_List = -1; static gint ett_xnap_PDUSessionResourcesAdmitted_Item = -1; static gint ett_xnap_PDUSessionResourceAdmittedInfo = -1; static gint ett_xnap_PDUSessionResourcesNotAdmitted_List = -1; static gint ett_xnap_PDUSessionResourcesNotAdmitted_Item = -1; static gint ett_xnap_PDUSessionResourcesToBeSetup_List = -1; static gint ett_xnap_PDUSessionResourcesToBeSetup_Item = -1; static gint ett_xnap_PDUSessionResourceSetupInfo_SNterminated = -1; static gint ett_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated = -1; static gint ett_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceSetupResponseInfo_SNterminated = -1; static gint ett_xnap_DRBsToBeSetupList_SetupResponse_SNterminated = -1; static gint ett_xnap_DRBsToBeSetupList_SetupResponse_SNterminated_Item = -1; static gint ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated = -1; static gint ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceSetupInfo_MNterminated = -1; static gint ett_xnap_DRBsToBeSetupList_Setup_MNterminated = -1; static gint ett_xnap_DRBsToBeSetupList_Setup_MNterminated_Item = -1; static gint ett_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated = -1; static gint ett_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceSetupResponseInfo_MNterminated = -1; static gint ett_xnap_DRBsAdmittedList_SetupResponse_MNterminated = -1; static gint ett_xnap_DRBsAdmittedList_SetupResponse_MNterminated_Item = -1; static gint ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated = -1; static gint ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceModificationInfo_SNterminated = -1; static gint ett_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated = -1; static gint ett_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated_Item = -1; static gint ett_xnap_DRBsToBeModified_List_Modified_SNterminated = -1; static gint ett_xnap_DRBsToBeModified_List_Modified_SNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceModificationResponseInfo_SNterminated = -1; static gint ett_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated = -1; static gint ett_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceModificationInfo_MNterminated = -1; static gint ett_xnap_DRBsToBeModifiedList_Modification_MNterminated = -1; static gint ett_xnap_DRBsToBeModifiedList_Modification_MNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceModificationResponseInfo_MNterminated = -1; static gint ett_xnap_DRBsAdmittedList_ModificationResponse_MNterminated = -1; static gint ett_xnap_DRBsAdmittedList_ModificationResponse_MNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceChangeRequiredInfo_SNterminated = -1; static gint ett_xnap_PDUSessionResourceChangeConfirmInfo_SNterminated = -1; static gint ett_xnap_PDUSessionResourceChangeRequiredInfo_MNterminated = -1; static gint ett_xnap_PDUSessionResourceChangeConfirmInfo_MNterminated = -1; static gint ett_xnap_PDUSessionResourceModRqdInfo_SNterminated = -1; static gint ett_xnap_DRBsToBeSetup_List_ModRqd_SNterminated = -1; static gint ett_xnap_DRBsToBeSetup_List_ModRqd_SNterminated_Item = -1; static gint ett_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated = -1; static gint ett_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item = -1; static gint ett_xnap_DRBsToBeModified_List_ModRqd_SNterminated = -1; static gint ett_xnap_DRBsToBeModified_List_ModRqd_SNterminated_Item = -1; static gint ett_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated = -1; static gint ett_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceModConfirmInfo_SNterminated = -1; static gint ett_xnap_DRBsAdmittedList_ModConfirm_SNterminated = -1; static gint ett_xnap_DRBsAdmittedList_ModConfirm_SNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceModRqdInfo_MNterminated = -1; static gint ett_xnap_DRBsToBeModified_List_ModRqd_MNterminated = -1; static gint ett_xnap_DRBsToBeModified_List_ModRqd_MNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceModConfirmInfo_MNterminated = -1; static gint ett_xnap_PDUSessionResourceBearerSetupCompleteInfo_SNterminated = -1; static gint ett_xnap_SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item = -1; static gint ett_xnap_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item = -1; static gint ett_xnap_PDUSessionResourceSecondaryRATUsageList = -1; static gint ett_xnap_PDUSessionResourceSecondaryRATUsageItem = -1; static gint ett_xnap_PDUSessionUsageReport = -1; static gint ett_xnap_Periodical = -1; static gint ett_xnap_PLMNAreaBasedQMC = -1; static gint ett_xnap_PLMNListforQMC = -1; static gint ett_xnap_PCIListForMDT = -1; static gint ett_xnap_ProtectedE_UTRAResourceIndication = -1; static gint ett_xnap_ProtectedE_UTRAResourceList = -1; static gint ett_xnap_ProtectedE_UTRAResource_Item = -1; static gint ett_xnap_ProtectedE_UTRAFootprintTimePattern = -1; static gint ett_xnap_QMCConfigInfo = -1; static gint ett_xnap_UEAppLayerMeasInfoList = -1; static gint ett_xnap_UEAppLayerMeasInfo_Item = -1; static gint ett_xnap_QoSCharacteristics = -1; static gint ett_xnap_QoSFlowLevelQoSParameters = -1; static gint ett_xnap_QoSFlowNotificationControlIndicationInfo = -1; static gint ett_xnap_QoSFlowNotify_Item = -1; static gint ett_xnap_QoSFlows_List = -1; static gint ett_xnap_QoSFlow_Item = -1; static gint ett_xnap_QoSFlows_List_withCause = -1; static gint ett_xnap_QoSFlowwithCause_Item = -1; static gint ett_xnap_QoS_Mapping_Information = -1; static gint ett_xnap_QoSFlowsAdmitted_List = -1; static gint ett_xnap_QoSFlowsAdmitted_Item = -1; static gint ett_xnap_QoSFlowsToBeSetup_List = -1; static gint ett_xnap_QoSFlowsToBeSetup_Item = -1; static gint ett_xnap_QoSFlowsUsageReportList = -1; static gint ett_xnap_QoSFlowsUsageReport_Item = -1; static gint ett_xnap_RACHReportInformation = -1; static gint ett_xnap_RACHReportList_Item = -1; static gint ett_xnap_RadioResourceStatus = -1; static gint ett_xnap_RANAreaID = -1; static gint ett_xnap_RANAreaID_List = -1; static gint ett_xnap_RANPagingArea = -1; static gint ett_xnap_RANPagingAreaChoice = -1; static gint ett_xnap_RANPagingAttemptInfo = -1; static gint ett_xnap_RBsetConfiguration = -1; static gint ett_xnap_RedundantPDUSessionInformation = -1; static gint ett_xnap_ReplacingCells = -1; static gint ett_xnap_ReplacingCells_Item = -1; static gint ett_xnap_ReportType = -1; static gint ett_xnap_ReservedSubframePattern = -1; static gint ett_xnap_ResetRequestTypeInfo = -1; static gint ett_xnap_ResetRequestTypeInfo_Full = -1; static gint ett_xnap_ResetRequestTypeInfo_Partial = -1; static gint ett_xnap_ResetRequestPartialReleaseList = -1; static gint ett_xnap_ResetRequestPartialReleaseItem = -1; static gint ett_xnap_ResetResponseTypeInfo = -1; static gint ett_xnap_ResetResponseTypeInfo_Full = -1; static gint ett_xnap_ResetResponseTypeInfo_Partial = -1; static gint ett_xnap_ResetResponsePartialReleaseList = -1; static gint ett_xnap_ResetResponsePartialReleaseItem = -1; static gint ett_xnap_RLC_Status = -1; static gint ett_xnap_RLCDuplicationInformation = -1; static gint ett_xnap_RLCDuplicationStateList = -1; static gint ett_xnap_RLCDuplicationState_Item = -1; static gint ett_xnap_RRCConnections = -1; static gint ett_xnap_RRCReestab_initiated = -1; static gint ett_xnap_RRCReestab_Initiated_Reporting = -1; static gint ett_xnap_RRCReestab_Initiated_Reporting_wo_UERLFReport = -1; static gint ett_xnap_RRCReestab_Initiated_Reporting_with_UERLFReport = -1; static gint ett_xnap_RRCSetup_initiated = -1; static gint ett_xnap_RRCSetup_Initiated_Reporting = -1; static gint ett_xnap_RRCSetup_Initiated_Reporting_with_UERLFReport = -1; static gint ett_xnap_S_NSSAIListQoE = -1; static gint ett_xnap_S_BasedMDT = -1; static gint ett_xnap_SecondarydataForwardingInfoFromTarget_Item = -1; static gint ett_xnap_SecondarydataForwardingInfoFromTarget_List = -1; static gint ett_xnap_SDTSupportRequest = -1; static gint ett_xnap_SDTPartialUEContextInfo = -1; static gint ett_xnap_SDT_DRBsToBeSetupList = -1; static gint ett_xnap_SDT_DRBsToBeSetupList_Item = -1; static gint ett_xnap_SDT_SRBsToBeSetupList = -1; static gint ett_xnap_SDT_SRBsToBeSetupList_Item = -1; static gint ett_xnap_SDTDataForwardingDRBList = -1; static gint ett_xnap_SDTDataForwardingDRBList_Item = -1; static gint ett_xnap_SecondaryRATUsageInformation = -1; static gint ett_xnap_SecurityIndication = -1; static gint ett_xnap_SecurityResult = -1; static gint ett_xnap_SensorMeasurementConfiguration = -1; static gint ett_xnap_SensorMeasConfigNameList = -1; static gint ett_xnap_SensorName = -1; static gint ett_xnap_ServedCellInformation_E_UTRA = -1; static gint ett_xnap_SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN = -1; static gint ett_xnap_ServedCellInformation_E_UTRA_perBPLMN = -1; static gint ett_xnap_ServedCellInformation_E_UTRA_ModeInfo = -1; static gint ett_xnap_ServedCellInformation_E_UTRA_FDDInfo = -1; static gint ett_xnap_ServedCellInformation_E_UTRA_TDDInfo = -1; static gint ett_xnap_ServedCells_E_UTRA = -1; static gint ett_xnap_ServedCells_E_UTRA_Item = -1; static gint ett_xnap_ServedCellsToUpdate_E_UTRA = -1; static gint ett_xnap_ServedCells_ToModify_E_UTRA = -1; static gint ett_xnap_ServedCells_ToModify_E_UTRA_Item = -1; static gint ett_xnap_ServedCellInformation_NR = -1; static gint ett_xnap_SFN_Offset = -1; static gint ett_xnap_ServedCells_NR = -1; static gint ett_xnap_ServedCells_NR_Item = -1; static gint ett_xnap_ServedCells_ToModify_NR = -1; static gint ett_xnap_ServedCells_ToModify_NR_Item = -1; static gint ett_xnap_ServedCellSpecificInfoReq_NR = -1; static gint ett_xnap_ServedCellSpecificInfoReq_NR_Item = -1; static gint ett_xnap_ServedCellsToUpdate_NR = -1; static gint ett_xnap_SharedResourceType = -1; static gint ett_xnap_SharedResourceType_UL_OnlySharing = -1; static gint ett_xnap_SharedResourceType_ULDL_Sharing = -1; static gint ett_xnap_SharedResourceType_ULDL_Sharing_UL_Resources = -1; static gint ett_xnap_SharedResourceType_ULDL_Sharing_UL_ResourcesChanged = -1; static gint ett_xnap_SharedResourceType_ULDL_Sharing_DL_Resources = -1; static gint ett_xnap_SharedResourceType_ULDL_Sharing_DL_ResourcesChanged = -1; static gint ett_xnap_SliceAvailableCapacity = -1; static gint ett_xnap_SliceAvailableCapacity_Item = -1; static gint ett_xnap_SNSSAIAvailableCapacity_List = -1; static gint ett_xnap_SNSSAIAvailableCapacity_Item = -1; static gint ett_xnap_SliceRadioResourceStatus_List = -1; static gint ett_xnap_SliceRadioResourceStatus_Item = -1; static gint ett_xnap_SNSSAIRadioResourceStatus_List = -1; static gint ett_xnap_SNSSAIRadioResourceStatus_Item = -1; static gint ett_xnap_SliceSupport_List = -1; static gint ett_xnap_SliceToReport_List = -1; static gint ett_xnap_SliceToReport_List_Item = -1; static gint ett_xnap_SNSSAI_list = -1; static gint ett_xnap_SNSSAI_Item = -1; static gint ett_xnap_SlotConfiguration_List = -1; static gint ett_xnap_SlotConfiguration_List_Item = -1; static gint ett_xnap_S_NSSAI = -1; static gint ett_xnap_SpecialSubframeInfo_E_UTRA = -1; static gint ett_xnap_SSBAreaCapacityValue_List = -1; static gint ett_xnap_SSBAreaCapacityValue_List_Item = -1; static gint ett_xnap_SSBAreaRadioResourceStatus_List = -1; static gint ett_xnap_SSBAreaRadioResourceStatus_List_Item = -1; static gint ett_xnap_SSB_Coverage_Modification_List = -1; static gint ett_xnap_SSB_Coverage_Modification_List_Item = -1; static gint ett_xnap_SSB_PositionsInBurst = -1; static gint ett_xnap_SSBOffsets_List = -1; static gint ett_xnap_SSBOffsets_Item = -1; static gint ett_xnap_SSBOffsetInformation = -1; static gint ett_xnap_SSBOffsetModificationRange = -1; static gint ett_xnap_SSBToReport_List = -1; static gint ett_xnap_SSBToReport_List_Item = -1; static gint ett_xnap_SSB_transmissionBitmap = -1; static gint ett_xnap_SuccessfulHOReportInformation = -1; static gint ett_xnap_SuccessfulHOReportList_Item = -1; static gint ett_xnap_SUL_Information = -1; static gint ett_xnap_Supported_MBS_FSA_ID_List = -1; static gint ett_xnap_SupportedSULBandList = -1; static gint ett_xnap_SupportedSULBandItem = -1; static gint ett_xnap_SymbolAllocation_in_Slot = -1; static gint ett_xnap_SymbolAllocation_in_Slot_AllDL = -1; static gint ett_xnap_SymbolAllocation_in_Slot_AllUL = -1; static gint ett_xnap_SymbolAllocation_in_Slot_BothDLandUL = -1; static gint ett_xnap_TABasedMDT = -1; static gint ett_xnap_TAIBasedMDT = -1; static gint ett_xnap_TAIListforMDT = -1; static gint ett_xnap_TAIforMDT_Item = -1; static gint ett_xnap_TAINSAGSupportList = -1; static gint ett_xnap_TAINSAGSupportItem = -1; static gint ett_xnap_TAISupport_List = -1; static gint ett_xnap_TAISupport_Item = -1; static gint ett_xnap_SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item = -1; static gint ett_xnap_TAListforMDT = -1; static gint ett_xnap_TABasedQMC = -1; static gint ett_xnap_TAListforQMC = -1; static gint ett_xnap_TAIBasedQMC = -1; static gint ett_xnap_TAIListforQMC = -1; static gint ett_xnap_TAI_Item = -1; static gint ett_xnap_Target_CGI = -1; static gint ett_xnap_TargetCellList = -1; static gint ett_xnap_TargetCellList_Item = -1; static gint ett_xnap_TimeSynchronizationAssistanceInformation = -1; static gint ett_xnap_TNLConfigurationInfo = -1; static gint ett_xnap_TNLA_To_Add_List = -1; static gint ett_xnap_TNLA_To_Add_Item = -1; static gint ett_xnap_TNLA_To_Update_List = -1; static gint ett_xnap_TNLA_To_Update_Item = -1; static gint ett_xnap_TNLA_To_Remove_List = -1; static gint ett_xnap_TNLA_To_Remove_Item = -1; static gint ett_xnap_TNLA_Setup_List = -1; static gint ett_xnap_TNLA_Setup_Item = -1; static gint ett_xnap_TNLA_Failed_To_Setup_List = -1; static gint ett_xnap_TNLA_Failed_To_Setup_Item = -1; static gint ett_xnap_TraceActivation = -1; static gint ett_xnap_T_interfaces_to_trace = -1; static gint ett_xnap_TrafficProfile = -1; static gint ett_xnap_TrafficReleaseType = -1; static gint ett_xnap_TrafficToBeReleaseInformation = -1; static gint ett_xnap_TrafficToBeRelease_List = -1; static gint ett_xnap_TrafficToBeRelease_Item = -1; static gint ett_xnap_TSCTrafficCharacteristics = -1; static gint ett_xnap_TSCAssistanceInformation = -1; static gint ett_xnap_UEAggregateMaximumBitRate = -1; static gint ett_xnap_UEAppLayerMeasConfigInfo = -1; static gint ett_xnap_UEContextID = -1; static gint ett_xnap_UEContextIDforRRCResume = -1; static gint ett_xnap_UEContextIDforRRCReestablishment = -1; static gint ett_xnap_UEContextInfoRetrUECtxtResp = -1; static gint ett_xnap_UEHistoryInformation = -1; static gint ett_xnap_UEHistoryInformationFromTheUE = -1; static gint ett_xnap_UEIdentityIndexValue = -1; static gint ett_xnap_UEIdentityIndexList_MBSGroupPaging = -1; static gint ett_xnap_UEIdentityIndexList_MBSGroupPaging_Item = -1; static gint ett_xnap_UEIdentityIndexList_MBSGroupPagingValue = -1; static gint ett_xnap_UERadioCapabilityForPaging = -1; static gint ett_xnap_UERANPagingIdentity = -1; static gint ett_xnap_UERLFReportContainer = -1; static gint ett_xnap_UERLFReportContainerLTEExtension = -1; static gint ett_xnap_UESliceMaximumBitRateList = -1; static gint ett_xnap_UESliceMaximumBitRate_Item = -1; static gint ett_xnap_UESecurityCapabilities = -1; static gint ett_xnap_T_nr_EncyptionAlgorithms = -1; static gint ett_xnap_T_nr_IntegrityProtectionAlgorithms = -1; static gint ett_xnap_T_e_utra_EncyptionAlgorithms = -1; static gint ett_xnap_T_e_utra_IntegrityProtectionAlgorithms = -1; static gint ett_xnap_ULConfiguration = -1; static gint ett_xnap_ULF1Terminating_BHInfo = -1; static gint ett_xnap_ULNonF1Terminating_BHInfo = -1; static gint ett_xnap_UPTransportLayerInformation = -1; static gint ett_xnap_UPTransportParameters = -1; static gint ett_xnap_UPTransportParametersItem = -1; static gint ett_xnap_VolumeTimedReportList = -1; static gint ett_xnap_VolumeTimedReport_Item = -1; static gint ett_xnap_WLANMeasurementConfiguration = -1; static gint ett_xnap_WLANMeasConfigNameList = -1; static gint ett_xnap_HandoverRequest = -1; static gint ett_xnap_UEContextInfoHORequest = -1; static gint ett_xnap_UEContextRefAtSN_HORequest = -1; static gint ett_xnap_HandoverRequestAcknowledge = -1; static gint ett_xnap_HandoverPreparationFailure = -1; static gint ett_xnap_SNStatusTransfer = -1; static gint ett_xnap_UEContextRelease = -1; static gint ett_xnap_HandoverCancel = -1; static gint ett_xnap_HandoverSuccess = -1; static gint ett_xnap_ConditionalHandoverCancel = -1; static gint ett_xnap_EarlyStatusTransfer = -1; static gint ett_xnap_ProcedureStageChoice = -1; static gint ett_xnap_FirstDLCount = -1; static gint ett_xnap_DLDiscarding = -1; static gint ett_xnap_RANPaging = -1; static gint ett_xnap_RetrieveUEContextRequest = -1; static gint ett_xnap_RetrieveUEContextResponse = -1; static gint ett_xnap_RetrieveUEContextConfirm = -1; static gint ett_xnap_RetrieveUEContextFailure = -1; static gint ett_xnap_XnUAddressIndication = -1; static gint ett_xnap_SNodeAdditionRequest = -1; static gint ett_xnap_PDUSessionToBeAddedAddReq = -1; static gint ett_xnap_PDUSessionToBeAddedAddReq_Item = -1; static gint ett_xnap_SNodeAdditionRequestAcknowledge = -1; static gint ett_xnap_PDUSessionAdmittedAddedAddReqAck = -1; static gint ett_xnap_PDUSessionAdmittedAddedAddReqAck_Item = -1; static gint ett_xnap_PDUSessionNotAdmittedAddReqAck = -1; static gint ett_xnap_SNodeAdditionRequestReject = -1; static gint ett_xnap_SNodeReconfigurationComplete = -1; static gint ett_xnap_ResponseInfo_ReconfCompl = -1; static gint ett_xnap_ResponseType_ReconfComplete = -1; static gint ett_xnap_Configuration_successfully_applied = -1; static gint ett_xnap_Configuration_rejected_by_M_NG_RANNode = -1; static gint ett_xnap_SNodeModificationRequest = -1; static gint ett_xnap_UEContextInfo_SNModRequest = -1; static gint ett_xnap_PDUSessionsToBeAdded_SNModRequest_List = -1; static gint ett_xnap_PDUSessionsToBeAdded_SNModRequest_Item = -1; static gint ett_xnap_PDUSessionsToBeModified_SNModRequest_List = -1; static gint ett_xnap_PDUSessionsToBeModified_SNModRequest_Item = -1; static gint ett_xnap_PDUSessionsToBeReleased_SNModRequest_List = -1; static gint ett_xnap_SNodeModificationRequestAcknowledge = -1; static gint ett_xnap_PDUSessionAdmitted_SNModResponse = -1; static gint ett_xnap_PDUSessionAdmittedToBeAddedSNModResponse = -1; static gint ett_xnap_PDUSessionAdmittedToBeAddedSNModResponse_Item = -1; static gint ett_xnap_PDUSessionAdmittedToBeModifiedSNModResponse = -1; static gint ett_xnap_PDUSessionAdmittedToBeModifiedSNModResponse_Item = -1; static gint ett_xnap_PDUSessionAdmittedToBeReleasedSNModResponse = -1; static gint ett_xnap_PDUSessionNotAdmitted_SNModResponse = -1; static gint ett_xnap_PDUSessionDataForwarding_SNModResponse = -1; static gint ett_xnap_SNodeModificationRequestReject = -1; static gint ett_xnap_SNodeModificationRequired = -1; static gint ett_xnap_PDUSessionToBeModifiedSNModRequired = -1; static gint ett_xnap_PDUSessionToBeModifiedSNModRequired_Item = -1; static gint ett_xnap_PDUSessionToBeReleasedSNModRequired = -1; static gint ett_xnap_SNodeModificationConfirm = -1; static gint ett_xnap_PDUSessionAdmittedModSNModConfirm = -1; static gint ett_xnap_PDUSessionAdmittedModSNModConfirm_Item = -1; static gint ett_xnap_PDUSessionReleasedSNModConfirm = -1; static gint ett_xnap_SNodeModificationRefuse = -1; static gint ett_xnap_SNodeReleaseRequest = -1; static gint ett_xnap_SNodeReleaseRequestAcknowledge = -1; static gint ett_xnap_PDUSessionToBeReleasedList_RelReqAck = -1; static gint ett_xnap_SNodeReleaseReject = -1; static gint ett_xnap_SNodeReleaseRequired = -1; static gint ett_xnap_PDUSessionToBeReleasedList_RelRqd = -1; static gint ett_xnap_SNodeReleaseConfirm = -1; static gint ett_xnap_PDUSessionReleasedList_RelConf = -1; static gint ett_xnap_SNodeCounterCheckRequest = -1; static gint ett_xnap_BearersSubjectToCounterCheck_List = -1; static gint ett_xnap_BearersSubjectToCounterCheck_Item = -1; static gint ett_xnap_SNodeChangeRequired = -1; static gint ett_xnap_PDUSession_SNChangeRequired_List = -1; static gint ett_xnap_PDUSession_SNChangeRequired_Item = -1; static gint ett_xnap_SNodeChangeConfirm = -1; static gint ett_xnap_PDUSession_SNChangeConfirm_List = -1; static gint ett_xnap_PDUSession_SNChangeConfirm_Item = -1; static gint ett_xnap_SNodeChangeRefuse = -1; static gint ett_xnap_RRCTransfer = -1; static gint ett_xnap_SplitSRB_RRCTransfer = -1; static gint ett_xnap_UEReportRRCTransfer = -1; static gint ett_xnap_FastMCGRecoveryRRCTransfer = -1; static gint ett_xnap_SDT_SRB_between_NewNode_OldNode = -1; static gint ett_xnap_NotificationControlIndication = -1; static gint ett_xnap_PDUSessionResourcesNotifyList = -1; static gint ett_xnap_PDUSessionResourcesNotify_Item = -1; static gint ett_xnap_ActivityNotification = -1; static gint ett_xnap_PDUSessionResourcesActivityNotifyList = -1; static gint ett_xnap_PDUSessionResourcesActivityNotify_Item = -1; static gint ett_xnap_QoSFlowsActivityNotifyList = -1; static gint ett_xnap_QoSFlowsActivityNotifyItem = -1; static gint ett_xnap_XnSetupRequest = -1; static gint ett_xnap_XnSetupResponse = -1; static gint ett_xnap_XnSetupFailure = -1; static gint ett_xnap_NGRANNodeConfigurationUpdate = -1; static gint ett_xnap_ConfigurationUpdateInitiatingNodeChoice = -1; static gint ett_xnap_NGRANNodeConfigurationUpdateAcknowledge = -1; static gint ett_xnap_RespondingNodeTypeConfigUpdateAck = -1; static gint ett_xnap_RespondingNodeTypeConfigUpdateAck_ng_eNB = -1; static gint ett_xnap_RespondingNodeTypeConfigUpdateAck_gNB = -1; static gint ett_xnap_NGRANNodeConfigurationUpdateFailure = -1; static gint ett_xnap_E_UTRA_NR_CellResourceCoordinationRequest = -1; static gint ett_xnap_InitiatingNodeType_ResourceCoordRequest = -1; static gint ett_xnap_ResourceCoordRequest_ng_eNB_initiated = -1; static gint ett_xnap_ResourceCoordRequest_gNB_initiated = -1; static gint ett_xnap_E_UTRA_NR_CellResourceCoordinationResponse = -1; static gint ett_xnap_RespondingNodeType_ResourceCoordResponse = -1; static gint ett_xnap_ResourceCoordResponse_ng_eNB_initiated = -1; static gint ett_xnap_ResourceCoordResponse_gNB_initiated = -1; static gint ett_xnap_SecondaryRATDataUsageReport = -1; static gint ett_xnap_XnRemovalRequest = -1; static gint ett_xnap_XnRemovalResponse = -1; static gint ett_xnap_XnRemovalFailure = -1; static gint ett_xnap_CellActivationRequest = -1; static gint ett_xnap_ServedCellsToActivate = -1; static gint ett_xnap_CellActivationResponse = -1; static gint ett_xnap_ActivatedServedCells = -1; static gint ett_xnap_CellActivationFailure = -1; static gint ett_xnap_ResetRequest = -1; static gint ett_xnap_ResetResponse = -1; static gint ett_xnap_ErrorIndication = -1; static gint ett_xnap_PrivateMessage = -1; static gint ett_xnap_TraceStart = -1; static gint ett_xnap_DeactivateTrace = -1; static gint ett_xnap_FailureIndication = -1; static gint ett_xnap_HandoverReport = -1; static gint ett_xnap_ResourceStatusRequest = -1; static gint ett_xnap_ResourceStatusResponse = -1; static gint ett_xnap_ResourceStatusFailure = -1; static gint ett_xnap_ResourceStatusUpdate = -1; static gint ett_xnap_MobilityChangeRequest = -1; static gint ett_xnap_MobilityChangeAcknowledge = -1; static gint ett_xnap_MobilityChangeFailure = -1; static gint ett_xnap_AccessAndMobilityIndication = -1; static gint ett_xnap_CellTrafficTrace = -1; static gint ett_xnap_RANMulticastGroupPaging = -1; static gint ett_xnap_ScgFailureInformationReport = -1; static gint ett_xnap_ScgFailureTransfer = -1; static gint ett_xnap_F1CTrafficTransfer = -1; static gint ett_xnap_IABTransportMigrationManagementRequest = -1; static gint ett_xnap_TrafficToBeAddedList = -1; static gint ett_xnap_TrafficToBeAdded_Item = -1; static gint ett_xnap_TrafficToBeModifiedList = -1; static gint ett_xnap_TrafficToBeModified_Item = -1; static gint ett_xnap_IABTransportMigrationManagementResponse = -1; static gint ett_xnap_TrafficAddedList = -1; static gint ett_xnap_TrafficAdded_Item = -1; static gint ett_xnap_TrafficModifiedList = -1; static gint ett_xnap_TrafficModified_Item = -1; static gint ett_xnap_TrafficNotAddedList = -1; static gint ett_xnap_TrafficNotAdded_Item = -1; static gint ett_xnap_TrafficNotModifiedList = -1; static gint ett_xnap_TrafficNotModified_Item = -1; static gint ett_xnap_TrafficReleasedList = -1; static gint ett_xnap_TrafficReleased_Item = -1; static gint ett_xnap_IABTransportMigrationManagementReject = -1; static gint ett_xnap_IABTransportMigrationModificationRequest = -1; static gint ett_xnap_TrafficRequiredToBeModifiedList = -1; static gint ett_xnap_TrafficRequiredToBeModified_Item = -1; static gint ett_xnap_IABTNLAddressToBeReleasedList = -1; static gint ett_xnap_IABTNLAddressToBeReleased_Item = -1; static gint ett_xnap_IABTransportMigrationModificationResponse = -1; static gint ett_xnap_TrafficRequiredModifiedList = -1; static gint ett_xnap_TrafficRequiredModified_Item = -1; static gint ett_xnap_IABResourceCoordinationRequest = -1; static gint ett_xnap_BoundaryNodeCellsList = -1; static gint ett_xnap_BoundaryNodeCellsList_Item = -1; static gint ett_xnap_ParentNodeCellsList = -1; static gint ett_xnap_ParentNodeCellsList_Item = -1; static gint ett_xnap_IABResourceCoordinationResponse = -1; static gint ett_xnap_CPCCancel = -1; static gint ett_xnap_PartialUEContextTransfer = -1; static gint ett_xnap_PartialUEContextTransferAcknowledge = -1; static gint ett_xnap_PartialUEContextTransferFailure = -1; static gint ett_xnap_XnAP_PDU = -1; static gint ett_xnap_InitiatingMessage = -1; static gint ett_xnap_SuccessfulOutcome = -1; static gint ett_xnap_UnsuccessfulOutcome = -1; enum { XNAP_NG_RAN_CONTAINER_AUTOMATIC, XNAP_NG_RAN_CONTAINER_GNB, XNAP_NG_RAN_CONTAINER_NG_ENB }; static const enum_val_t xnap_target_ng_ran_container_vals[] = { {"automatic", "automatic", XNAP_NG_RAN_CONTAINER_AUTOMATIC}, {"gnb", "gNB", XNAP_NG_RAN_CONTAINER_GNB}, {"ng-enb","ng-eNB", XNAP_NG_RAN_CONTAINER_NG_ENB}, {NULL, NULL, -1} }; enum { XNAP_LTE_RRC_CONTEXT_LTE, XNAP_LTE_RRC_CONTEXT_NBIOT }; static const enum_val_t xnap_lte_rrc_context_vals[] = { {"lte", "LTE", XNAP_LTE_RRC_CONTEXT_LTE}, {"nb-iot","NB-IoT", XNAP_LTE_RRC_CONTEXT_NBIOT}, {NULL, NULL, -1} }; /* Global variables */ static gint xnap_dissect_target_ng_ran_container_as = XNAP_NG_RAN_CONTAINER_AUTOMATIC; static gint xnap_dissect_lte_rrc_context_as = XNAP_LTE_RRC_CONTEXT_LTE; /* Dissector tables */ static dissector_table_t xnap_ies_dissector_table; static dissector_table_t xnap_extension_dissector_table; static dissector_table_t xnap_proc_imsg_dissector_table; static dissector_table_t xnap_proc_sout_dissector_table; static dissector_table_t xnap_proc_uout_dissector_table; void proto_register_xnap(void); void proto_reg_handoff_xnap(void); static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); static int dissect_XnAP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); static dissector_handle_t xnap_handle; static void xnap_PacketLossRate_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1f%% (%u)", (float)v/10, v); } static void xnap_PacketDelayBudget_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1fms (%u)", (float)v/2, v); } static void xnap_ExtendedPacketDelayBudget_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.2fms (%u)", (float)v/100, v); } static void xnap_handoverTriggerChange_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB (%d)", ((float)v)/2, (gint32)v); } static void xnap_Threshold_RSRP_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%ddBm (%u)", (gint32)v-156, v); } static void xnap_Threshold_RSRQ_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB (%u)", ((float)v/2)-43, v); } static void xnap_Threshold_SINR_fmt(gchar *s, guint32 v) { snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB (%u)", ((float)v/2)-23, v); } static const true_false_string xnap_tfs_activate_do_not_activate = { "Activate", "Do not activate" }; typedef enum { INITIATING_MESSAGE, SUCCESSFUL_OUTCOME, UNSUCCESSFUL_OUTCOME } xnap_message_type; struct xnap_conv_info { address addr_a; guint32 port_a; GlobalNG_RANNode_ID_enum ranmode_id_a; address addr_b; guint32 port_b; GlobalNG_RANNode_ID_enum ranmode_id_b; }; struct xnap_private_data { struct xnap_conv_info *xnap_conv; xnap_message_type message_type; guint32 procedure_code; guint32 protocol_ie_id; e212_number_type_t number_type; }; static struct xnap_private_data* xnap_get_private_data(packet_info *pinfo) { struct xnap_private_data *xnap_data = (struct xnap_private_data*)p_get_proto_data(pinfo->pool, pinfo, proto_xnap, 0); if (!xnap_data) { xnap_data = wmem_new0(pinfo->pool, struct xnap_private_data); p_add_proto_data(pinfo->pool, pinfo, proto_xnap, 0, xnap_data); } return xnap_data; } static GlobalNG_RANNode_ID_enum xnap_get_ranmode_id(address *addr, guint32 port, packet_info *pinfo) { struct xnap_private_data *xnap_data = xnap_get_private_data(pinfo); GlobalNG_RANNode_ID_enum ranmode_id = (GlobalNG_RANNode_ID_enum)-1; if (xnap_data->xnap_conv) { if (addresses_equal(addr, &xnap_data->xnap_conv->addr_a) && port == xnap_data->xnap_conv->port_a) { ranmode_id = xnap_data->xnap_conv->ranmode_id_a; } else if (addresses_equal(addr, &xnap_data->xnap_conv->addr_b) && port == xnap_data->xnap_conv->port_b) { ranmode_id = xnap_data->xnap_conv->ranmode_id_b; } } return ranmode_id; } static const value_string xnap_Criticality_vals[] = { { 0, "reject" }, { 1, "ignore" }, { 2, "notify" }, { 0, NULL } }; static int dissect_xnap_Criticality(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, FALSE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_0_maxPrivateIEs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxPrivateIEs, NULL, FALSE); return offset; } static int dissect_xnap_OBJECT_IDENTIFIER(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_object_identifier(tvb, offset, actx, tree, hf_index, NULL); return offset; } static const value_string xnap_PrivateIE_ID_vals[] = { { 0, "local" }, { 1, "global" }, { 0, NULL } }; static const per_choice_t PrivateIE_ID_choice[] = { { 0, &hf_xnap_local , ASN1_NO_EXTENSIONS , dissect_xnap_INTEGER_0_maxPrivateIEs }, { 1, &hf_xnap_global , ASN1_NO_EXTENSIONS , dissect_xnap_OBJECT_IDENTIFIER }, { 0, NULL, 0, NULL } }; static int dissect_xnap_PrivateIE_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_PrivateIE_ID, PrivateIE_ID_choice, NULL); return offset; } static const value_string xnap_ProcedureCode_vals[] = { { id_handoverPreparation, "id-handoverPreparation" }, { id_sNStatusTransfer, "id-sNStatusTransfer" }, { id_handoverCancel, "id-handoverCancel" }, { id_retrieveUEContext, "id-retrieveUEContext" }, { id_rANPaging, "id-rANPaging" }, { id_xnUAddressIndication, "id-xnUAddressIndication" }, { id_uEContextRelease, "id-uEContextRelease" }, { id_sNGRANnodeAdditionPreparation, "id-sNGRANnodeAdditionPreparation" }, { id_sNGRANnodeReconfigurationCompletion, "id-sNGRANnodeReconfigurationCompletion" }, { id_mNGRANnodeinitiatedSNGRANnodeModificationPreparation, "id-mNGRANnodeinitiatedSNGRANnodeModificationPreparation" }, { id_sNGRANnodeinitiatedSNGRANnodeModificationPreparation, "id-sNGRANnodeinitiatedSNGRANnodeModificationPreparation" }, { id_mNGRANnodeinitiatedSNGRANnodeRelease, "id-mNGRANnodeinitiatedSNGRANnodeRelease" }, { id_sNGRANnodeinitiatedSNGRANnodeRelease, "id-sNGRANnodeinitiatedSNGRANnodeRelease" }, { id_sNGRANnodeCounterCheck, "id-sNGRANnodeCounterCheck" }, { id_sNGRANnodeChange, "id-sNGRANnodeChange" }, { id_rRCTransfer, "id-rRCTransfer" }, { id_xnRemoval, "id-xnRemoval" }, { id_xnSetup, "id-xnSetup" }, { id_nGRANnodeConfigurationUpdate, "id-nGRANnodeConfigurationUpdate" }, { id_cellActivation, "id-cellActivation" }, { id_reset, "id-reset" }, { id_errorIndication, "id-errorIndication" }, { id_privateMessage, "id-privateMessage" }, { id_notificationControl, "id-notificationControl" }, { id_activityNotification, "id-activityNotification" }, { id_e_UTRA_NR_CellResourceCoordination, "id-e-UTRA-NR-CellResourceCoordination" }, { id_secondaryRATDataUsageReport, "id-secondaryRATDataUsageReport" }, { id_deactivateTrace, "id-deactivateTrace" }, { id_traceStart, "id-traceStart" }, { id_handoverSuccess, "id-handoverSuccess" }, { id_conditionalHandoverCancel, "id-conditionalHandoverCancel" }, { id_earlyStatusTransfer, "id-earlyStatusTransfer" }, { id_failureIndication, "id-failureIndication" }, { id_handoverReport, "id-handoverReport" }, { id_resourceStatusReportingInitiation, "id-resourceStatusReportingInitiation" }, { id_resourceStatusReporting, "id-resourceStatusReporting" }, { id_mobilitySettingsChange, "id-mobilitySettingsChange" }, { id_accessAndMobilityIndication, "id-accessAndMobilityIndication" }, { id_cellTrafficTrace, "id-cellTrafficTrace" }, { id_RANMulticastGroupPaging, "id-RANMulticastGroupPaging" }, { id_scgFailureInformationReport, "id-scgFailureInformationReport" }, { id_ProcedureCode41_NotToBeUsed, "id-ProcedureCode41-NotToBeUsed" }, { id_scgFailureTransfer, "id-scgFailureTransfer" }, { id_f1CTrafficTransfer, "id-f1CTrafficTransfer" }, { id_iABTransportMigrationManagement, "id-iABTransportMigrationManagement" }, { id_iABTransportMigrationModification, "id-iABTransportMigrationModification" }, { id_iABResourceCoordination, "id-iABResourceCoordination" }, { id_retrieveUEContextConfirm, "id-retrieveUEContextConfirm" }, { id_cPCCancel, "id-cPCCancel" }, { id_partialUEContextTransfer, "id-partialUEContextTransfer" }, { 0, NULL } }; static value_string_ext xnap_ProcedureCode_vals_ext = VALUE_STRING_EXT_INIT(xnap_ProcedureCode_vals); static int dissect_xnap_ProcedureCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &xnap_data->procedure_code, FALSE); return offset; } static const value_string xnap_ProtocolIE_ID_vals[] = { { id_ActivatedServedCells, "id-ActivatedServedCells" }, { id_ActivationIDforCellActivation, "id-ActivationIDforCellActivation" }, { id_admittedSplitSRB, "id-admittedSplitSRB" }, { id_admittedSplitSRBrelease, "id-admittedSplitSRBrelease" }, { id_AMF_Region_Information, "id-AMF-Region-Information" }, { id_AssistanceDataForRANPaging, "id-AssistanceDataForRANPaging" }, { id_BearersSubjectToCounterCheck, "id-BearersSubjectToCounterCheck" }, { id_Cause, "id-Cause" }, { id_cellAssistanceInfo_NR, "id-cellAssistanceInfo-NR" }, { id_ConfigurationUpdateInitiatingNodeChoice, "id-ConfigurationUpdateInitiatingNodeChoice" }, { id_CriticalityDiagnostics, "id-CriticalityDiagnostics" }, { id_XnUAddressInfoperPDUSession_List, "id-XnUAddressInfoperPDUSession-List" }, { id_DRBsSubjectToStatusTransfer_List, "id-DRBsSubjectToStatusTransfer-List" }, { id_ExpectedUEBehaviour, "id-ExpectedUEBehaviour" }, { id_GlobalNG_RAN_node_ID, "id-GlobalNG-RAN-node-ID" }, { id_GUAMI, "id-GUAMI" }, { id_indexToRatFrequSelectionPriority, "id-indexToRatFrequSelectionPriority" }, { id_initiatingNodeType_ResourceCoordRequest, "id-initiatingNodeType-ResourceCoordRequest" }, { id_List_of_served_cells_E_UTRA, "id-List-of-served-cells-E-UTRA" }, { id_List_of_served_cells_NR, "id-List-of-served-cells-NR" }, { id_LocationReportingInformation, "id-LocationReportingInformation" }, { id_MAC_I, "id-MAC-I" }, { id_MaskedIMEISV, "id-MaskedIMEISV" }, { id_M_NG_RANnodeUEXnAPID, "id-M-NG-RANnodeUEXnAPID" }, { id_MN_to_SN_Container, "id-MN-to-SN-Container" }, { id_MobilityRestrictionList, "id-MobilityRestrictionList" }, { id_new_NG_RAN_Cell_Identity, "id-new-NG-RAN-Cell-Identity" }, { id_newNG_RANnodeUEXnAPID, "id-newNG-RANnodeUEXnAPID" }, { id_UEReportRRCTransfer, "id-UEReportRRCTransfer" }, { id_oldNG_RANnodeUEXnAPID, "id-oldNG-RANnodeUEXnAPID" }, { id_OldtoNewNG_RANnodeResumeContainer, "id-OldtoNewNG-RANnodeResumeContainer" }, { id_PagingDRX, "id-PagingDRX" }, { id_PCellID, "id-PCellID" }, { id_PDCPChangeIndication, "id-PDCPChangeIndication" }, { id_PDUSessionAdmittedAddedAddReqAck, "id-PDUSessionAdmittedAddedAddReqAck" }, { id_PDUSessionAdmittedModSNModConfirm, "id-PDUSessionAdmittedModSNModConfirm" }, { id_PDUSessionAdmitted_SNModResponse, "id-PDUSessionAdmitted-SNModResponse" }, { id_PDUSessionNotAdmittedAddReqAck, "id-PDUSessionNotAdmittedAddReqAck" }, { id_PDUSessionNotAdmitted_SNModResponse, "id-PDUSessionNotAdmitted-SNModResponse" }, { id_PDUSessionReleasedList_RelConf, "id-PDUSessionReleasedList-RelConf" }, { id_PDUSessionReleasedSNModConfirm, "id-PDUSessionReleasedSNModConfirm" }, { id_PDUSessionResourcesActivityNotifyList, "id-PDUSessionResourcesActivityNotifyList" }, { id_PDUSessionResourcesAdmitted_List, "id-PDUSessionResourcesAdmitted-List" }, { id_PDUSessionResourcesNotAdmitted_List, "id-PDUSessionResourcesNotAdmitted-List" }, { id_PDUSessionResourcesNotifyList, "id-PDUSessionResourcesNotifyList" }, { id_PDUSession_SNChangeConfirm_List, "id-PDUSession-SNChangeConfirm-List" }, { id_PDUSession_SNChangeRequired_List, "id-PDUSession-SNChangeRequired-List" }, { id_PDUSessionToBeAddedAddReq, "id-PDUSessionToBeAddedAddReq" }, { id_PDUSessionToBeModifiedSNModRequired, "id-PDUSessionToBeModifiedSNModRequired" }, { id_PDUSessionToBeReleasedList_RelRqd, "id-PDUSessionToBeReleasedList-RelRqd" }, { id_PDUSessionToBeReleased_RelReq, "id-PDUSessionToBeReleased-RelReq" }, { id_PDUSessionToBeReleasedSNModRequired, "id-PDUSessionToBeReleasedSNModRequired" }, { id_RANPagingArea, "id-RANPagingArea" }, { id_PagingPriority, "id-PagingPriority" }, { id_requestedSplitSRB, "id-requestedSplitSRB" }, { id_requestedSplitSRBrelease, "id-requestedSplitSRBrelease" }, { id_ResetRequestTypeInfo, "id-ResetRequestTypeInfo" }, { id_ResetResponseTypeInfo, "id-ResetResponseTypeInfo" }, { id_RespondingNodeTypeConfigUpdateAck, "id-RespondingNodeTypeConfigUpdateAck" }, { id_respondingNodeType_ResourceCoordResponse, "id-respondingNodeType-ResourceCoordResponse" }, { id_ResponseInfo_ReconfCompl, "id-ResponseInfo-ReconfCompl" }, { id_RRCConfigIndication, "id-RRCConfigIndication" }, { id_RRCResumeCause, "id-RRCResumeCause" }, { id_SCGConfigurationQuery, "id-SCGConfigurationQuery" }, { id_selectedPLMN, "id-selectedPLMN" }, { id_ServedCellsToActivate, "id-ServedCellsToActivate" }, { id_servedCellsToUpdate_E_UTRA, "id-servedCellsToUpdate-E-UTRA" }, { id_ServedCellsToUpdateInitiatingNodeChoice, "id-ServedCellsToUpdateInitiatingNodeChoice" }, { id_servedCellsToUpdate_NR, "id-servedCellsToUpdate-NR" }, { id_s_ng_RANnode_SecurityKey, "id-s-ng-RANnode-SecurityKey" }, { id_S_NG_RANnodeUE_AMBR, "id-S-NG-RANnodeUE-AMBR" }, { id_S_NG_RANnodeUEXnAPID, "id-S-NG-RANnodeUEXnAPID" }, { id_SN_to_MN_Container, "id-SN-to-MN-Container" }, { id_sourceNG_RANnodeUEXnAPID, "id-sourceNG-RANnodeUEXnAPID" }, { id_SplitSRB_RRCTransfer, "id-SplitSRB-RRCTransfer" }, { id_TAISupport_list, "id-TAISupport-list" }, { id_TimeToWait, "id-TimeToWait" }, { id_Target2SourceNG_RANnodeTranspContainer, "id-Target2SourceNG-RANnodeTranspContainer" }, { id_targetCellGlobalID, "id-targetCellGlobalID" }, { id_targetNG_RANnodeUEXnAPID, "id-targetNG-RANnodeUEXnAPID" }, { id_target_S_NG_RANnodeID, "id-target-S-NG-RANnodeID" }, { id_TraceActivation, "id-TraceActivation" }, { id_UEContextID, "id-UEContextID" }, { id_UEContextInfoHORequest, "id-UEContextInfoHORequest" }, { id_UEContextInfoRetrUECtxtResp, "id-UEContextInfoRetrUECtxtResp" }, { id_UEContextInfo_SNModRequest, "id-UEContextInfo-SNModRequest" }, { id_UEContextKeptIndicator, "id-UEContextKeptIndicator" }, { id_UEContextRefAtSN_HORequest, "id-UEContextRefAtSN-HORequest" }, { id_UEHistoryInformation, "id-UEHistoryInformation" }, { id_UEIdentityIndexValue, "id-UEIdentityIndexValue" }, { id_UERANPagingIdentity, "id-UERANPagingIdentity" }, { id_UESecurityCapabilities, "id-UESecurityCapabilities" }, { id_UserPlaneTrafficActivityReport, "id-UserPlaneTrafficActivityReport" }, { id_XnRemovalThreshold, "id-XnRemovalThreshold" }, { id_DesiredActNotificationLevel, "id-DesiredActNotificationLevel" }, { id_AvailableDRBIDs, "id-AvailableDRBIDs" }, { id_AdditionalDRBIDs, "id-AdditionalDRBIDs" }, { id_SpareDRBIDs, "id-SpareDRBIDs" }, { id_RequiredNumberOfDRBIDs, "id-RequiredNumberOfDRBIDs" }, { id_TNLA_To_Add_List, "id-TNLA-To-Add-List" }, { id_TNLA_To_Update_List, "id-TNLA-To-Update-List" }, { id_TNLA_To_Remove_List, "id-TNLA-To-Remove-List" }, { id_TNLA_Setup_List, "id-TNLA-Setup-List" }, { id_TNLA_Failed_To_Setup_List, "id-TNLA-Failed-To-Setup-List" }, { id_PDUSessionToBeReleased_RelReqAck, "id-PDUSessionToBeReleased-RelReqAck" }, { id_S_NG_RANnodeMaxIPDataRate_UL, "id-S-NG-RANnodeMaxIPDataRate-UL" }, { id_Unknown_106, "id-Unknown-106" }, { id_PDUSessionResourceSecondaryRATUsageList, "id-PDUSessionResourceSecondaryRATUsageList" }, { id_Additional_UL_NG_U_TNLatUPF_List, "id-Additional-UL-NG-U-TNLatUPF-List" }, { id_SecondarydataForwardingInfoFromTarget_List, "id-SecondarydataForwardingInfoFromTarget-List" }, { id_LocationInformationSNReporting, "id-LocationInformationSNReporting" }, { id_LocationInformationSN, "id-LocationInformationSN" }, { id_LastE_UTRANPLMNIdentity, "id-LastE-UTRANPLMNIdentity" }, { id_S_NG_RANnodeMaxIPDataRate_DL, "id-S-NG-RANnodeMaxIPDataRate-DL" }, { id_MaxIPrate_DL, "id-MaxIPrate-DL" }, { id_SecurityResult, "id-SecurityResult" }, { id_S_NSSAI, "id-S-NSSAI" }, { id_MR_DC_ResourceCoordinationInfo, "id-MR-DC-ResourceCoordinationInfo" }, { id_AMF_Region_Information_To_Add, "id-AMF-Region-Information-To-Add" }, { id_AMF_Region_Information_To_Delete, "id-AMF-Region-Information-To-Delete" }, { id_OldQoSFlowMap_ULendmarkerexpected, "id-OldQoSFlowMap-ULendmarkerexpected" }, { id_RANPagingFailure, "id-RANPagingFailure" }, { id_UERadioCapabilityForPaging, "id-UERadioCapabilityForPaging" }, { id_PDUSessionDataForwarding_SNModResponse, "id-PDUSessionDataForwarding-SNModResponse" }, { id_DRBsNotAdmittedSetupModifyList, "id-DRBsNotAdmittedSetupModifyList" }, { id_Secondary_MN_Xn_U_TNLInfoatM, "id-Secondary-MN-Xn-U-TNLInfoatM" }, { id_NE_DC_TDM_Pattern, "id-NE-DC-TDM-Pattern" }, { id_PDUSessionCommonNetworkInstance, "id-PDUSessionCommonNetworkInstance" }, { id_BPLMN_ID_Info_EUTRA, "id-BPLMN-ID-Info-EUTRA" }, { id_BPLMN_ID_Info_NR, "id-BPLMN-ID-Info-NR" }, { id_InterfaceInstanceIndication, "id-InterfaceInstanceIndication" }, { id_S_NG_RANnode_Addition_Trigger_Ind, "id-S-NG-RANnode-Addition-Trigger-Ind" }, { id_DefaultDRB_Allowed, "id-DefaultDRB-Allowed" }, { id_DRB_IDs_takenintouse, "id-DRB-IDs-takenintouse" }, { id_SplitSessionIndicator, "id-SplitSessionIndicator" }, { id_CNTypeRestrictionsForEquivalent, "id-CNTypeRestrictionsForEquivalent" }, { id_CNTypeRestrictionsForServing, "id-CNTypeRestrictionsForServing" }, { id_DRBs_transferred_to_MN, "id-DRBs-transferred-to-MN" }, { id_ULForwardingProposal, "id-ULForwardingProposal" }, { id_EndpointIPAddressAndPort, "id-EndpointIPAddressAndPort" }, { id_IntendedTDD_DL_ULConfiguration_NR, "id-IntendedTDD-DL-ULConfiguration-NR" }, { id_TNLConfigurationInfo, "id-TNLConfigurationInfo" }, { id_PartialListIndicator_NR, "id-PartialListIndicator-NR" }, { id_MessageOversizeNotification, "id-MessageOversizeNotification" }, { id_CellAndCapacityAssistanceInfo_NR, "id-CellAndCapacityAssistanceInfo-NR" }, { id_NG_RANTraceID, "id-NG-RANTraceID" }, { id_NonGBRResources_Offered, "id-NonGBRResources-Offered" }, { id_FastMCGRecoveryRRCTransfer_SN_to_MN, "id-FastMCGRecoveryRRCTransfer-SN-to-MN" }, { id_RequestedFastMCGRecoveryViaSRB3, "id-RequestedFastMCGRecoveryViaSRB3" }, { id_AvailableFastMCGRecoveryViaSRB3, "id-AvailableFastMCGRecoveryViaSRB3" }, { id_RequestedFastMCGRecoveryViaSRB3Release, "id-RequestedFastMCGRecoveryViaSRB3Release" }, { id_ReleaseFastMCGRecoveryViaSRB3, "id-ReleaseFastMCGRecoveryViaSRB3" }, { id_FastMCGRecoveryRRCTransfer_MN_to_SN, "id-FastMCGRecoveryRRCTransfer-MN-to-SN" }, { id_ExtendedRATRestrictionInformation, "id-ExtendedRATRestrictionInformation" }, { id_QoSMonitoringRequest, "id-QoSMonitoringRequest" }, { id_FiveGCMobilityRestrictionListContainer, "id-FiveGCMobilityRestrictionListContainer" }, { id_PartialListIndicator_EUTRA, "id-PartialListIndicator-EUTRA" }, { id_CellAndCapacityAssistanceInfo_EUTRA, "id-CellAndCapacityAssistanceInfo-EUTRA" }, { id_CHOinformation_Req, "id-CHOinformation-Req" }, { id_CHOinformation_Ack, "id-CHOinformation-Ack" }, { id_targetCellsToCancel, "id-targetCellsToCancel" }, { id_requestedTargetCellGlobalID, "id-requestedTargetCellGlobalID" }, { id_procedureStage, "id-procedureStage" }, { id_DAPSRequestInfo, "id-DAPSRequestInfo" }, { id_DAPSResponseInfo_List, "id-DAPSResponseInfo-List" }, { id_CHO_MRDC_Indicator, "id-CHO-MRDC-Indicator" }, { id_OffsetOfNbiotChannelNumberToDL_EARFCN, "id-OffsetOfNbiotChannelNumberToDL-EARFCN" }, { id_OffsetOfNbiotChannelNumberToUL_EARFCN, "id-OffsetOfNbiotChannelNumberToUL-EARFCN" }, { id_NBIoT_UL_DL_AlignmentOffset, "id-NBIoT-UL-DL-AlignmentOffset" }, { id_LTEV2XServicesAuthorized, "id-LTEV2XServicesAuthorized" }, { id_NRV2XServicesAuthorized, "id-NRV2XServicesAuthorized" }, { id_LTEUESidelinkAggregateMaximumBitRate, "id-LTEUESidelinkAggregateMaximumBitRate" }, { id_NRUESidelinkAggregateMaximumBitRate, "id-NRUESidelinkAggregateMaximumBitRate" }, { id_PC5QoSParameters, "id-PC5QoSParameters" }, { id_AlternativeQoSParaSetList, "id-AlternativeQoSParaSetList" }, { id_CurrentQoSParaSetIndex, "id-CurrentQoSParaSetIndex" }, { id_MobilityInformation, "id-MobilityInformation" }, { id_InitiatingCondition_FailureIndication, "id-InitiatingCondition-FailureIndication" }, { id_UEHistoryInformationFromTheUE, "id-UEHistoryInformationFromTheUE" }, { id_HandoverReportType, "id-HandoverReportType" }, { id_HandoverCause, "id-HandoverCause" }, { id_SourceCellCGI, "id-SourceCellCGI" }, { id_TargetCellCGI, "id-TargetCellCGI" }, { id_ReEstablishmentCellCGI, "id-ReEstablishmentCellCGI" }, { id_TargetCellinEUTRAN, "id-TargetCellinEUTRAN" }, { id_SourceCellCRNTI, "id-SourceCellCRNTI" }, { id_UERLFReportContainer, "id-UERLFReportContainer" }, { id_NGRAN_Node1_Measurement_ID, "id-NGRAN-Node1-Measurement-ID" }, { id_NGRAN_Node2_Measurement_ID, "id-NGRAN-Node2-Measurement-ID" }, { id_RegistrationRequest, "id-RegistrationRequest" }, { id_ReportCharacteristics, "id-ReportCharacteristics" }, { id_CellToReport, "id-CellToReport" }, { id_ReportingPeriodicity, "id-ReportingPeriodicity" }, { id_CellMeasurementResult, "id-CellMeasurementResult" }, { id_NG_RANnode1CellID, "id-NG-RANnode1CellID" }, { id_NG_RANnode2CellID, "id-NG-RANnode2CellID" }, { id_NG_RANnode1MobilityParameters, "id-NG-RANnode1MobilityParameters" }, { id_NG_RANnode2ProposedMobilityParameters, "id-NG-RANnode2ProposedMobilityParameters" }, { id_MobilityParametersModificationRange, "id-MobilityParametersModificationRange" }, { id_TDDULDLConfigurationCommonNR, "id-TDDULDLConfigurationCommonNR" }, { id_CarrierList, "id-CarrierList" }, { id_ULCarrierList, "id-ULCarrierList" }, { id_FrequencyShift7p5khz, "id-FrequencyShift7p5khz" }, { id_SSB_PositionsInBurst, "id-SSB-PositionsInBurst" }, { id_NRCellPRACHConfig, "id-NRCellPRACHConfig" }, { id_RACHReportInformation, "id-RACHReportInformation" }, { id_IABNodeIndication, "id-IABNodeIndication" }, { id_Redundant_UL_NG_U_TNLatUPF, "id-Redundant-UL-NG-U-TNLatUPF" }, { id_CNPacketDelayBudgetDownlink, "id-CNPacketDelayBudgetDownlink" }, { id_CNPacketDelayBudgetUplink, "id-CNPacketDelayBudgetUplink" }, { id_Additional_Redundant_UL_NG_U_TNLatUPF_List, "id-Additional-Redundant-UL-NG-U-TNLatUPF-List" }, { id_RedundantCommonNetworkInstance, "id-RedundantCommonNetworkInstance" }, { id_TSCTrafficCharacteristics, "id-TSCTrafficCharacteristics" }, { id_RedundantQoSFlowIndicator, "id-RedundantQoSFlowIndicator" }, { id_Redundant_DL_NG_U_TNLatNG_RAN, "id-Redundant-DL-NG-U-TNLatNG-RAN" }, { id_ExtendedPacketDelayBudget, "id-ExtendedPacketDelayBudget" }, { id_Additional_PDCP_Duplication_TNL_List, "id-Additional-PDCP-Duplication-TNL-List" }, { id_RedundantPDUSessionInformation, "id-RedundantPDUSessionInformation" }, { id_UsedRSNInformation, "id-UsedRSNInformation" }, { id_RLCDuplicationInformation, "id-RLCDuplicationInformation" }, { id_NPN_Broadcast_Information, "id-NPN-Broadcast-Information" }, { id_NPNPagingAssistanceInformation, "id-NPNPagingAssistanceInformation" }, { id_NPNMobilityInformation, "id-NPNMobilityInformation" }, { id_NPN_Support, "id-NPN-Support" }, { id_MDT_Configuration, "id-MDT-Configuration" }, { id_MDTPLMNList, "id-MDTPLMNList" }, { id_TraceCollectionEntityURI, "id-TraceCollectionEntityURI" }, { id_UERadioCapabilityID, "id-UERadioCapabilityID" }, { id_CSI_RSTransmissionIndication, "id-CSI-RSTransmissionIndication" }, { id_SNTriggered, "id-SNTriggered" }, { id_DLCarrierList, "id-DLCarrierList" }, { id_ExtendedTAISliceSupportList, "id-ExtendedTAISliceSupportList" }, { id_cellAssistanceInfo_EUTRA, "id-cellAssistanceInfo-EUTRA" }, { id_ConfiguredTACIndication, "id-ConfiguredTACIndication" }, { id_secondary_SN_UL_PDCP_UP_TNLInfo, "id-secondary-SN-UL-PDCP-UP-TNLInfo" }, { id_pdcpDuplicationConfiguration, "id-pdcpDuplicationConfiguration" }, { id_duplicationActivation, "id-duplicationActivation" }, { id_NPRACHConfiguration, "id-NPRACHConfiguration" }, { id_QosMonitoringReportingFrequency, "id-QosMonitoringReportingFrequency" }, { id_QoSFlowsMappedtoDRB_SetupResponse_MNterminated, "id-QoSFlowsMappedtoDRB-SetupResponse-MNterminated" }, { id_DL_scheduling_PDCCH_CCE_usage, "id-DL-scheduling-PDCCH-CCE-usage" }, { id_UL_scheduling_PDCCH_CCE_usage, "id-UL-scheduling-PDCCH-CCE-usage" }, { id_SFN_Offset, "id-SFN-Offset" }, { id_QoSMonitoringDisabled, "id-QoSMonitoringDisabled" }, { id_ExtendedUEIdentityIndexValue, "id-ExtendedUEIdentityIndexValue" }, { id_EUTRAPagingeDRXInformation, "id-EUTRAPagingeDRXInformation" }, { id_CHO_MRDC_EarlyDataForwarding, "id-CHO-MRDC-EarlyDataForwarding" }, { id_SCGIndicator, "id-SCGIndicator" }, { id_UESpecificDRX, "id-UESpecificDRX" }, { id_PDUSessionExpectedUEActivityBehaviour, "id-PDUSessionExpectedUEActivityBehaviour" }, { id_QoS_Mapping_Information, "id-QoS-Mapping-Information" }, { id_AdditionLocationInformation, "id-AdditionLocationInformation" }, { id_dataForwardingInfoFromTargetE_UTRANnode, "id-dataForwardingInfoFromTargetE-UTRANnode" }, { id_DirectForwardingPathAvailability, "id-DirectForwardingPathAvailability" }, { id_SourceNG_RAN_node_ID, "id-SourceNG-RAN-node-ID" }, { id_SourceDLForwardingIPAddress, "id-SourceDLForwardingIPAddress" }, { id_SourceNodeDLForwardingIPAddress, "id-SourceNodeDLForwardingIPAddress" }, { id_ExtendedReportIntervalMDT, "id-ExtendedReportIntervalMDT" }, { id_SecurityIndication, "id-SecurityIndication" }, { id_RRCConnReestab_Indicator, "id-RRCConnReestab-Indicator" }, { id_TargetNodeID, "id-TargetNodeID" }, { id_ManagementBasedMDTPLMNList, "id-ManagementBasedMDTPLMNList" }, { id_PrivacyIndicator, "id-PrivacyIndicator" }, { id_TraceCollectionEntityIPAddress, "id-TraceCollectionEntityIPAddress" }, { id_M4ReportAmount, "id-M4ReportAmount" }, { id_M5ReportAmount, "id-M5ReportAmount" }, { id_M6ReportAmount, "id-M6ReportAmount" }, { id_M7ReportAmount, "id-M7ReportAmount" }, { id_BeamMeasurementIndicationM1, "id-BeamMeasurementIndicationM1" }, { id_MBS_Session_ID, "id-MBS-Session-ID" }, { id_UEIdentityIndexList_MBSGroupPaging, "id-UEIdentityIndexList-MBSGroupPaging" }, { id_MulticastRANPagingArea, "id-MulticastRANPagingArea" }, { id_Supported_MBS_FSA_ID_List, "id-Supported-MBS-FSA-ID-List" }, { id_MBS_SessionInformation_List, "id-MBS-SessionInformation-List" }, { id_MBS_SessionInformationResponse_List, "id-MBS-SessionInformationResponse-List" }, { id_MBS_SessionAssociatedInformation, "id-MBS-SessionAssociatedInformation" }, { id_SuccessfulHOReportInformation, "id-SuccessfulHOReportInformation" }, { id_SliceRadioResourceStatus_List, "id-SliceRadioResourceStatus-List" }, { id_CompositeAvailableCapacitySupplementaryUplink, "id-CompositeAvailableCapacitySupplementaryUplink" }, { id_SCGUEHistoryInformation, "id-SCGUEHistoryInformation" }, { id_SSBOffsets_List, "id-SSBOffsets-List" }, { id_NG_RANnode2SSBOffsetModificationRange, "id-NG-RANnode2SSBOffsetModificationRange" }, { id_Coverage_Modification_List, "id-Coverage-Modification-List" }, { id_NR_U_Channel_List, "id-NR-U-Channel-List" }, { id_SourcePSCellCGI, "id-SourcePSCellCGI" }, { id_FailedPSCellCGI, "id-FailedPSCellCGI" }, { id_SCGFailureReportContainer, "id-SCGFailureReportContainer" }, { id_SNMobilityInformation, "id-SNMobilityInformation" }, { id_SourcePSCellID, "id-SourcePSCellID" }, { id_SuitablePSCellCGI, "id-SuitablePSCellCGI" }, { id_PSCellChangeHistory, "id-PSCellChangeHistory" }, { id_CHOConfiguration, "id-CHOConfiguration" }, { id_NR_U_ChannelInfo_List, "id-NR-U-ChannelInfo-List" }, { id_PSCellHistoryInformationRetrieve, "id-PSCellHistoryInformationRetrieve" }, { id_NG_RANnode2SSBOffsetsModificationRange, "id-NG-RANnode2SSBOffsetsModificationRange" }, { id_MIMOPRBusageInformation, "id-MIMOPRBusageInformation" }, { id_F1CTrafficContainer, "id-F1CTrafficContainer" }, { id_IAB_MT_Cell_List, "id-IAB-MT-Cell-List" }, { id_NoPDUSessionIndication, "id-NoPDUSessionIndication" }, { id_IAB_TNL_Address_Request, "id-IAB-TNL-Address-Request" }, { id_IAB_TNL_Address_Response, "id-IAB-TNL-Address-Response" }, { id_TrafficToBeAddedList, "id-TrafficToBeAddedList" }, { id_TrafficToBeModifiedList, "id-TrafficToBeModifiedList" }, { id_TrafficToBeReleaseInformation, "id-TrafficToBeReleaseInformation" }, { id_TrafficAddedList, "id-TrafficAddedList" }, { id_TrafficModifiedList, "id-TrafficModifiedList" }, { id_TrafficNotAddedList, "id-TrafficNotAddedList" }, { id_TrafficNotModifiedList, "id-TrafficNotModifiedList" }, { id_TrafficRequiredToBeModifiedList, "id-TrafficRequiredToBeModifiedList" }, { id_TrafficRequiredModifiedList, "id-TrafficRequiredModifiedList" }, { id_TrafficReleasedList, "id-TrafficReleasedList" }, { id_IABTNLAddressToBeAdded, "id-IABTNLAddressToBeAdded" }, { id_IABTNLAddressToBeReleasedList, "id-IABTNLAddressToBeReleasedList" }, { id_nonF1_Terminating_IAB_DonorUEXnAPID, "id-nonF1-Terminating-IAB-DonorUEXnAPID" }, { id_F1_Terminating_IAB_DonorUEXnAPID, "id-F1-Terminating-IAB-DonorUEXnAPID" }, { id_BoundaryNodeCellsList, "id-BoundaryNodeCellsList" }, { id_ParentNodeCellsList, "id-ParentNodeCellsList" }, { id_tdd_GNB_DU_Cell_Resource_Configuration, "id-tdd-GNB-DU-Cell-Resource-Configuration" }, { id_UL_GNB_DU_Cell_Resource_Configuration, "id-UL-GNB-DU-Cell-Resource-Configuration" }, { id_DL_GNB_DU_Cell_Resource_Configuration, "id-DL-GNB-DU-Cell-Resource-Configuration" }, { id_permutation, "id-permutation" }, { id_IABTNLAddressException, "id-IABTNLAddressException" }, { id_CHOinformation_AddReq, "id-CHOinformation-AddReq" }, { id_CHOinformation_ModReq, "id-CHOinformation-ModReq" }, { id_SurvivalTime, "id-SurvivalTime" }, { id_TimeSynchronizationAssistanceInformation, "id-TimeSynchronizationAssistanceInformation" }, { id_SCGActivationRequest, "id-SCGActivationRequest" }, { id_SCGActivationStatus, "id-SCGActivationStatus" }, { id_CPAInformationRequest, "id-CPAInformationRequest" }, { id_CPAInformationAck, "id-CPAInformationAck" }, { id_CPCInformationRequired, "id-CPCInformationRequired" }, { id_CPCInformationConfirm, "id-CPCInformationConfirm" }, { id_CPAInformationModReq, "id-CPAInformationModReq" }, { id_CPAInformationModReqAck, "id-CPAInformationModReqAck" }, { id_CPC_DataForwarding_Indicator, "id-CPC-DataForwarding-Indicator" }, { id_CPCInformationUpdate, "id-CPCInformationUpdate" }, { id_CPACInformationModRequired, "id-CPACInformationModRequired" }, { id_QMCConfigInfo, "id-QMCConfigInfo" }, { id_ProtocolIE_ID338_NotToBeUsed, "id-ProtocolIE-ID338-NotToBeUsed" }, { id_Additional_Measurement_Timing_Configuration_List, "id-Additional-Measurement-Timing-Configuration-List" }, { id_PDUSession_PairID, "id-PDUSession-PairID" }, { id_Local_NG_RAN_Node_Identifier, "id-Local-NG-RAN-Node-Identifier" }, { id_Neighbour_NG_RAN_Node_List, "id-Neighbour-NG-RAN-Node-List" }, { id_Local_NG_RAN_Node_Identifier_Removal, "id-Local-NG-RAN-Node-Identifier-Removal" }, { id_FiveGProSeAuthorized, "id-FiveGProSeAuthorized" }, { id_FiveGProSePC5QoSParameters, "id-FiveGProSePC5QoSParameters" }, { id_FiveGProSeUEPC5AggregateMaximumBitRate, "id-FiveGProSeUEPC5AggregateMaximumBitRate" }, { id_ServedCellSpecificInfoReq_NR, "id-ServedCellSpecificInfoReq-NR" }, { id_NRPagingeDRXInformation, "id-NRPagingeDRXInformation" }, { id_NRPagingeDRXInformationforRRCINACTIVE, "id-NRPagingeDRXInformationforRRCINACTIVE" }, { id_Redcap_Bcast_Information, "id-Redcap-Bcast-Information" }, { id_SDTSupportRequest, "id-SDTSupportRequest" }, { id_SDT_SRB_between_NewNode_OldNode, "id-SDT-SRB-between-NewNode-OldNode" }, { id_SDT_Termination_Request, "id-SDT-Termination-Request" }, { id_SDTPartialUEContextInfo, "id-SDTPartialUEContextInfo" }, { id_SDTDataForwardingDRBList, "id-SDTDataForwardingDRBList" }, { id_PagingCause, "id-PagingCause" }, { id_PEIPSassistanceInformation, "id-PEIPSassistanceInformation" }, { id_UESliceMaximumBitRateList, "id-UESliceMaximumBitRateList" }, { id_S_NG_RANnodeUE_Slice_MBR, "id-S-NG-RANnodeUE-Slice-MBR" }, { id_PositioningInformation, "id-PositioningInformation" }, { id_UEAssistantIdentifier, "id-UEAssistantIdentifier" }, { id_ManagementBasedMDTPLMNModificationList, "id-ManagementBasedMDTPLMNModificationList" }, { id_F1_terminatingIAB_donorIndicator, "id-F1-terminatingIAB-donorIndicator" }, { id_TAINSAGSupportList, "id-TAINSAGSupportList" }, { id_SCGreconfigNotification, "id-SCGreconfigNotification" }, { id_earlyMeasurement, "id-earlyMeasurement" }, { id_BeamMeasurementsReportConfiguration, "id-BeamMeasurementsReportConfiguration" }, { id_CoverageModificationCause, "id-CoverageModificationCause" }, { id_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated, "id-AdditionalListofPDUSessionResourceChangeConfirmInfo-SNterminated" }, { id_UERLFReportContainerLTEExtension, "id-UERLFReportContainerLTEExtension" }, { id_ExcessPacketDelayThresholdConfiguration, "id-ExcessPacketDelayThresholdConfiguration" }, { id_HashedUEIdentityIndexValue, "id-HashedUEIdentityIndexValue" }, { 0, NULL } }; static value_string_ext xnap_ProtocolIE_ID_vals_ext = VALUE_STRING_EXT_INIT(xnap_ProtocolIE_ID_vals); static int dissect_xnap_ProtocolIE_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxProtocolIEs, &xnap_data->protocol_ie_id, FALSE); if (tree) { proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str_ext(xnap_data->protocol_ie_id, &xnap_ProtocolIE_ID_vals_ext, "unknown (%d)")); } return offset; } static const value_string xnap_TriggeringMessage_vals[] = { { 0, "initiating-message" }, { 1, "successful-outcome" }, { 2, "unsuccessful-outcome" }, { 0, NULL } }; static int dissect_xnap_TriggeringMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, FALSE, 0, NULL); return offset; } static int dissect_xnap_ProtocolIE_Field_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_ProtocolIEFieldValue); return offset; } static const per_sequence_t ProtocolIE_Field_sequence[] = { { &hf_xnap_id , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_ID }, { &hf_xnap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Criticality }, { &hf_xnap_protocolIE_Field_value, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Field_value }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ProtocolIE_Field(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ProtocolIE_Field, ProtocolIE_Field_sequence); return offset; } static const per_sequence_t ProtocolIE_Container_sequence_of[1] = { { &hf_xnap_ProtocolIE_Container_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Field }, }; static int dissect_xnap_ProtocolIE_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ProtocolIE_Container, ProtocolIE_Container_sequence_of, 0, maxProtocolIEs, FALSE); return offset; } static int dissect_xnap_ProtocolIE_Single_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_xnap_ProtocolIE_Field(tvb, offset, actx, tree, hf_index); return offset; } static int dissect_xnap_T_extensionValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_ProtocolExtensionFieldExtensionValue); return offset; } static const per_sequence_t ProtocolExtensionField_sequence[] = { { &hf_xnap_extension_id , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_ID }, { &hf_xnap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Criticality }, { &hf_xnap_extensionValue , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_T_extensionValue }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ProtocolExtensionField(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ProtocolExtensionField, ProtocolExtensionField_sequence); return offset; } static const per_sequence_t ProtocolExtensionContainer_sequence_of[1] = { { &hf_xnap_ProtocolExtensionContainer_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolExtensionField }, }; static int dissect_xnap_ProtocolExtensionContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ProtocolExtensionContainer, ProtocolExtensionContainer_sequence_of, 1, maxProtocolExtensions, FALSE); return offset; } static int dissect_xnap_PrivateIE_Field_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_open_type(tvb, offset, actx, tree, hf_index, NULL); return offset; } static const per_sequence_t PrivateIE_Field_sequence[] = { { &hf_xnap_private_id , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PrivateIE_ID }, { &hf_xnap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Criticality }, { &hf_xnap_privateIE_Field_value, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PrivateIE_Field_value }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PrivateIE_Field(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PrivateIE_Field, PrivateIE_Field_sequence); return offset; } static const per_sequence_t PrivateIE_Container_sequence_of[1] = { { &hf_xnap_PrivateIE_Container_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PrivateIE_Field }, }; static int dissect_xnap_PrivateIE_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PrivateIE_Container, PrivateIE_Container_sequence_of, 1, maxPrivateIEs, FALSE); return offset; } static int dissect_xnap_QoSFlowIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 63U, NULL, TRUE); return offset; } static const per_sequence_t QoSFLowsAcceptedToBeForwarded_Item_sequence[] = { { &hf_xnap_qosFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFLowsAcceptedToBeForwarded_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFLowsAcceptedToBeForwarded_Item, QoSFLowsAcceptedToBeForwarded_Item_sequence); return offset; } static const per_sequence_t QoSFLowsAcceptedToBeForwarded_List_sequence_of[1] = { { &hf_xnap_QoSFLowsAcceptedToBeForwarded_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFLowsAcceptedToBeForwarded_Item }, }; static int dissect_xnap_QoSFLowsAcceptedToBeForwarded_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFLowsAcceptedToBeForwarded_List, QoSFLowsAcceptedToBeForwarded_List_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static int dissect_xnap_TransportLayerAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; int len; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 160, TRUE, NULL, 0, &parameter_tvb, &len); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_xnap_TransportLayerAddress); if (len == 32) { /* IPv4 */ proto_tree_add_item(subtree, hf_xnap_transportLayerAddressIPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN); } else if (len == 128) { /* IPv6 */ proto_tree_add_item(subtree, hf_xnap_transportLayerAddressIPv6, parameter_tvb, 0, 16, ENC_NA); } else if (len == 160) { /* IPv4 */ proto_tree_add_item(subtree, hf_xnap_transportLayerAddressIPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN); /* IPv6 */ proto_tree_add_item(subtree, hf_xnap_transportLayerAddressIPv6, parameter_tvb, 4, 16, ENC_NA); } return offset; } static int dissect_xnap_GTP_TEID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, NULL); return offset; } static const per_sequence_t GTPtunnelTransportLayerInformation_sequence[] = { { &hf_xnap_tnl_address , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TransportLayerAddress }, { &hf_xnap_gtp_teid , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GTP_TEID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GTPtunnelTransportLayerInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GTPtunnelTransportLayerInformation, GTPtunnelTransportLayerInformation_sequence); return offset; } static const value_string xnap_UPTransportLayerInformation_vals[] = { { 0, "gtpTunnel" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t UPTransportLayerInformation_choice[] = { { 0, &hf_xnap_gtpTunnel , ASN1_NO_EXTENSIONS , dissect_xnap_GTPtunnelTransportLayerInformation }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_UPTransportLayerInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_UPTransportLayerInformation, UPTransportLayerInformation_choice, NULL); return offset; } static int dissect_xnap_DRB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 32U, NULL, TRUE); return offset; } static const per_sequence_t DataForwardingResponseDRBItem_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_dlForwardingUPTNL, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_ulForwardingUPTNL, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DataForwardingResponseDRBItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DataForwardingResponseDRBItem, DataForwardingResponseDRBItem_sequence); return offset; } static const per_sequence_t DataForwardingResponseDRBItemList_sequence_of[1] = { { &hf_xnap_DataForwardingResponseDRBItemList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DataForwardingResponseDRBItem }, }; static int dissect_xnap_DataForwardingResponseDRBItemList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DataForwardingResponseDRBItemList, DataForwardingResponseDRBItemList_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t DataForwardingInfoFromTargetNGRANnode_sequence[] = { { &hf_xnap_qosFlowsAcceptedForDataForwarding_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFLowsAcceptedToBeForwarded_List }, { &hf_xnap_pduSessionLevelDLDataForwardingInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_pduSessionLevelULDataForwardingInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_dataForwardingResponseDRBItemList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataForwardingResponseDRBItemList }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DataForwardingInfoFromTargetNGRANnode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DataForwardingInfoFromTargetNGRANnode, DataForwardingInfoFromTargetNGRANnode_sequence); return offset; } static const per_sequence_t PDUSessionResourceChangeConfirmInfo_SNterminated_sequence[] = { { &hf_xnap_dataforwardinginfoTarget, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataForwardingInfoFromTargetNGRANnode }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceChangeConfirmInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceChangeConfirmInfo_SNterminated, PDUSessionResourceChangeConfirmInfo_SNterminated_sequence); return offset; } static const per_sequence_t AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item_sequence[] = { { &hf_xnap_pDUSessionResourceChangeConfirmInfo_SNterminated, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourceChangeConfirmInfo_SNterminated }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item, AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item_sequence); return offset; } static const per_sequence_t AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_sequence_of[1] = { { &hf_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item }, }; static int dissect_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated, AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_sequence_of, 1, maxnoofTargetSNsMinusOne, FALSE); return offset; } static const value_string xnap_AdditionLocationInformation_vals[] = { { 0, "includePSCell" }, { 0, NULL } }; static int dissect_xnap_AdditionLocationInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t Additional_PDCP_Duplication_TNL_Item_sequence[] = { { &hf_xnap_additional_PDCP_Duplication_UP_TNL_Information, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Additional_PDCP_Duplication_TNL_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Additional_PDCP_Duplication_TNL_Item, Additional_PDCP_Duplication_TNL_Item_sequence); return offset; } static const per_sequence_t Additional_PDCP_Duplication_TNL_List_sequence_of[1] = { { &hf_xnap_Additional_PDCP_Duplication_TNL_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Additional_PDCP_Duplication_TNL_Item }, }; static int dissect_xnap_Additional_PDCP_Duplication_TNL_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Additional_PDCP_Duplication_TNL_List, Additional_PDCP_Duplication_TNL_List_sequence_of, 1, maxnoofAdditionalPDCPDuplicationTNL, FALSE); return offset; } static const per_sequence_t Additional_UL_NG_U_TNLatUPF_Item_sequence[] = { { &hf_xnap_additional_UL_NG_U_TNLatUPF, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Additional_UL_NG_U_TNLatUPF_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Additional_UL_NG_U_TNLatUPF_Item, Additional_UL_NG_U_TNLatUPF_Item_sequence); return offset; } static const per_sequence_t Additional_UL_NG_U_TNLatUPF_List_sequence_of[1] = { { &hf_xnap_Additional_UL_NG_U_TNLatUPF_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Additional_UL_NG_U_TNLatUPF_Item }, }; static int dissect_xnap_Additional_UL_NG_U_TNLatUPF_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Additional_UL_NG_U_TNLatUPF_List, Additional_UL_NG_U_TNLatUPF_List_sequence_of, 1, maxnoofMultiConnectivityMinusOne, FALSE); return offset; } static int dissect_xnap_INTEGER_0_16(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 16U, NULL, FALSE); return offset; } static int dissect_xnap_INTEGER_0_95(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 95U, NULL, FALSE); return offset; } static const value_string xnap_T_csi_RS_Status_vals[] = { { 0, "activated" }, { 1, "deactivated" }, { 0, NULL } }; static int dissect_xnap_T_csi_RS_Status(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_PLMN_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); e212_number_type_t number_type = xnap_data->number_type; xnap_data->number_type = E212_NONE; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_xnap_PLMN_Identity); dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, number_type, FALSE); return offset; } static int dissect_xnap_NR_Cell_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *cell_id_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, -1, 36, 36, FALSE, NULL, 0, &cell_id_tvb, NULL); if (cell_id_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, cell_id_tvb, 0, 5, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t NR_CGI_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_nr_CI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_Cell_Identity }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NR_CGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); xnap_data->number_type = E212_NRCGI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NR_CGI, NR_CGI_sequence); return offset; } static const per_sequence_t CSI_RS_MTC_Neighbour_Item_sequence[] = { { &hf_xnap_csi_RS_Index , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_95 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CSI_RS_MTC_Neighbour_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CSI_RS_MTC_Neighbour_Item, CSI_RS_MTC_Neighbour_Item_sequence); return offset; } static const per_sequence_t CSI_RS_MTC_Neighbour_List_sequence_of[1] = { { &hf_xnap_CSI_RS_MTC_Neighbour_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CSI_RS_MTC_Neighbour_Item }, }; static int dissect_xnap_CSI_RS_MTC_Neighbour_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CSI_RS_MTC_Neighbour_List, CSI_RS_MTC_Neighbour_List_sequence_of, 1, maxnoofCSIRSneighbourCellsInMTC, FALSE); return offset; } static const per_sequence_t CSI_RS_Neighbour_Item_sequence[] = { { &hf_xnap_nr_cgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_csi_RS_MTC_Neighbour_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CSI_RS_MTC_Neighbour_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CSI_RS_Neighbour_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CSI_RS_Neighbour_Item, CSI_RS_Neighbour_Item_sequence); return offset; } static const per_sequence_t CSI_RS_Neighbour_List_sequence_of[1] = { { &hf_xnap_CSI_RS_Neighbour_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CSI_RS_Neighbour_Item }, }; static int dissect_xnap_CSI_RS_Neighbour_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CSI_RS_Neighbour_List, CSI_RS_Neighbour_List_sequence_of, 1, maxnoofCSIRSneighbourCells, FALSE); return offset; } static const per_sequence_t CSI_RS_MTC_Configuration_Item_sequence[] = { { &hf_xnap_csi_RS_Index , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_95 }, { &hf_xnap_csi_RS_Status , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_csi_RS_Status }, { &hf_xnap_csi_RS_Neighbour_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CSI_RS_Neighbour_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CSI_RS_MTC_Configuration_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CSI_RS_MTC_Configuration_Item, CSI_RS_MTC_Configuration_Item_sequence); return offset; } static const per_sequence_t CSI_RS_MTC_Configuration_List_sequence_of[1] = { { &hf_xnap_CSI_RS_MTC_Configuration_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CSI_RS_MTC_Configuration_Item }, }; static int dissect_xnap_CSI_RS_MTC_Configuration_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CSI_RS_MTC_Configuration_List, CSI_RS_MTC_Configuration_List_sequence_of, 1, maxnoofCSIRSconfigurations, FALSE); return offset; } static const per_sequence_t Additional_Measurement_Timing_Configuration_Item_sequence[] = { { &hf_xnap_additionalMeasurementTimingConfigurationIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_16 }, { &hf_xnap_csi_RS_MTC_Configuration_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CSI_RS_MTC_Configuration_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Additional_Measurement_Timing_Configuration_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Additional_Measurement_Timing_Configuration_Item, Additional_Measurement_Timing_Configuration_Item_sequence); return offset; } static const per_sequence_t Additional_Measurement_Timing_Configuration_List_sequence_of[1] = { { &hf_xnap_Additional_Measurement_Timing_Configuration_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Additional_Measurement_Timing_Configuration_Item }, }; static int dissect_xnap_Additional_Measurement_Timing_Configuration_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Additional_Measurement_Timing_Configuration_List, Additional_Measurement_Timing_Configuration_List_sequence_of, 1, maxnoofMTCItems, FALSE); return offset; } static int dissect_xnap_ActivationIDforCellActivation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, FALSE); return offset; } static int dissect_xnap_FiveQI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, TRUE); return offset; } static int dissect_xnap_PriorityLevelQoS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 127U, NULL, TRUE); return offset; } static int dissect_xnap_AveragingWindow(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, TRUE); return offset; } static int dissect_xnap_MaximumDataBurstVolume(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, TRUE); return offset; } static const per_sequence_t NonDynamic5QIDescriptor_sequence[] = { { &hf_xnap_fiveQI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_FiveQI }, { &hf_xnap_priorityLevelQoS, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PriorityLevelQoS }, { &hf_xnap_averagingWindow, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_AveragingWindow }, { &hf_xnap_maximumDataBurstVolume, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MaximumDataBurstVolume }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NonDynamic5QIDescriptor(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NonDynamic5QIDescriptor, NonDynamic5QIDescriptor_sequence); return offset; } static int dissect_xnap_PacketDelayBudget(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1023U, NULL, TRUE); return offset; } static int dissect_xnap_PER_Scalar(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 9U, NULL, TRUE); return offset; } static int dissect_xnap_PER_Exponent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 9U, NULL, TRUE); return offset; } static const per_sequence_t PacketErrorRate_sequence[] = { { &hf_xnap_pER_Scalar , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PER_Scalar }, { &hf_xnap_pER_Exponent , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PER_Exponent }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PacketErrorRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PacketErrorRate, PacketErrorRate_sequence); return offset; } static const value_string xnap_T_delayCritical_vals[] = { { 0, "delay-critical" }, { 1, "non-delay-critical" }, { 0, NULL } }; static int dissect_xnap_T_delayCritical(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t Dynamic5QIDescriptor_sequence[] = { { &hf_xnap_priorityLevelQoS, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PriorityLevelQoS }, { &hf_xnap_packetDelayBudget, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PacketDelayBudget }, { &hf_xnap_packetErrorRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PacketErrorRate }, { &hf_xnap_fiveQI , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_FiveQI }, { &hf_xnap_delayCritical , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_delayCritical }, { &hf_xnap_averagingWindow, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_AveragingWindow }, { &hf_xnap_maximumDataBurstVolume, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MaximumDataBurstVolume }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Dynamic5QIDescriptor(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Dynamic5QIDescriptor, Dynamic5QIDescriptor_sequence); return offset; } static const value_string xnap_QoSCharacteristics_vals[] = { { 0, "non-dynamic" }, { 1, "dynamic" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t QoSCharacteristics_choice[] = { { 0, &hf_xnap_non_dynamic , ASN1_NO_EXTENSIONS , dissect_xnap_NonDynamic5QIDescriptor }, { 1, &hf_xnap_dynamic , ASN1_NO_EXTENSIONS , dissect_xnap_Dynamic5QIDescriptor }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_QoSCharacteristics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_QoSCharacteristics, QoSCharacteristics_choice, NULL); return offset; } static int dissect_xnap_INTEGER_0_15_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 15U, NULL, TRUE); return offset; } static const value_string xnap_T_pre_emption_capability_vals[] = { { 0, "shall-not-trigger-preemption" }, { 1, "may-trigger-preemption" }, { 0, NULL } }; static int dissect_xnap_T_pre_emption_capability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_pre_emption_vulnerability_vals[] = { { 0, "not-preemptable" }, { 1, "preemptable" }, { 0, NULL } }; static int dissect_xnap_T_pre_emption_vulnerability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t AllocationandRetentionPriority_sequence[] = { { &hf_xnap_priorityLevel , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_15_ }, { &hf_xnap_pre_emption_capability, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_pre_emption_capability }, { &hf_xnap_pre_emption_vulnerability, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_pre_emption_vulnerability }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AllocationandRetentionPriority(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AllocationandRetentionPriority, AllocationandRetentionPriority_sequence); return offset; } static int dissect_xnap_BitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer_64b(tvb, offset, actx, tree, hf_index, 0U, G_GUINT64_CONSTANT(4000000000000), NULL, TRUE); return offset; } static const value_string xnap_T_notificationControl_vals[] = { { 0, "notification-requested" }, { 0, NULL } }; static int dissect_xnap_T_notificationControl(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_PacketLossRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1000U, NULL, TRUE); return offset; } static const per_sequence_t GBRQoSFlowInfo_sequence[] = { { &hf_xnap_maxFlowBitRateDL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_maxFlowBitRateUL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_guaranteedFlowBitRateDL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_guaranteedFlowBitRateUL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_notificationControl, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_notificationControl }, { &hf_xnap_maxPacketLossRateDL, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PacketLossRate }, { &hf_xnap_maxPacketLossRateUL, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PacketLossRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GBRQoSFlowInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GBRQoSFlowInfo, GBRQoSFlowInfo_sequence); return offset; } static const value_string xnap_ReflectiveQoSAttribute_vals[] = { { 0, "subject-to-reflective-QoS" }, { 0, NULL } }; static int dissect_xnap_ReflectiveQoSAttribute(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_additionalQoSflowInfo_vals[] = { { 0, "more-likely" }, { 0, NULL } }; static int dissect_xnap_T_additionalQoSflowInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t QoSFlowLevelQoSParameters_sequence[] = { { &hf_xnap_qos_characteristics, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSCharacteristics }, { &hf_xnap_allocationAndRetentionPrio, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AllocationandRetentionPriority }, { &hf_xnap_gBRQoSFlowInfo , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_GBRQoSFlowInfo }, { &hf_xnap_reflectiveQoS , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ReflectiveQoSAttribute }, { &hf_xnap_additionalQoSflowInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_additionalQoSflowInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowLevelQoSParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowLevelQoSParameters, QoSFlowLevelQoSParameters_sequence); return offset; } static const per_sequence_t MBS_QoSFlowsToAdd_Item_sequence[] = { { &hf_xnap_mBS_QosFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_mBS_QosFlowLevelQosParameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_QoSFlowsToAdd_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_QoSFlowsToAdd_Item, MBS_QoSFlowsToAdd_Item_sequence); return offset; } static const per_sequence_t MBS_QoSFlowsToAdd_List_sequence_of[1] = { { &hf_xnap_MBS_QoSFlowsToAdd_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_QoSFlowsToAdd_Item }, }; static int dissect_xnap_MBS_QoSFlowsToAdd_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_QoSFlowsToAdd_List, MBS_QoSFlowsToAdd_List_sequence_of, 1, maxnoofMBSQoSFlows, FALSE); return offset; } static const per_sequence_t MBS_ServiceAreaCell_List_sequence_of[1] = { { &hf_xnap_MBS_ServiceAreaCell_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, }; static int dissect_xnap_MBS_ServiceAreaCell_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_ServiceAreaCell_List, MBS_ServiceAreaCell_List_sequence_of, 1, maxnoofCellsforMBS, FALSE); return offset; } static int dissect_xnap_TAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 3, 3, FALSE, &parameter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 3, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t MBS_ServiceAreaTAI_Item_sequence[] = { { &hf_xnap_plmn_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_tAC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_ServiceAreaTAI_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_ServiceAreaTAI_Item, MBS_ServiceAreaTAI_Item_sequence); return offset; } static const per_sequence_t MBS_ServiceAreaTAI_List_sequence_of[1] = { { &hf_xnap_MBS_ServiceAreaTAI_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_ServiceAreaTAI_Item }, }; static int dissect_xnap_MBS_ServiceAreaTAI_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_ServiceAreaTAI_List, MBS_ServiceAreaTAI_List_sequence_of, 1, maxnoofTAIforMBS, FALSE); return offset; } static const per_sequence_t MBS_ServiceAreaInformation_sequence[] = { { &hf_xnap_mBS_ServiceAreaCell_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBS_ServiceAreaCell_List }, { &hf_xnap_mBS_ServiceAreaTAI_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBS_ServiceAreaTAI_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_ServiceAreaInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_ServiceAreaInformation, MBS_ServiceAreaInformation_sequence); return offset; } static int dissect_xnap_MBS_Area_Session_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 65535U, NULL, TRUE); return offset; } static const per_sequence_t MBS_ServiceAreaInformation_Item_sequence[] = { { &hf_xnap_mBS_Area_Session_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_Area_Session_ID }, { &hf_xnap_mBS_ServiceAreaInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_ServiceAreaInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_ServiceAreaInformation_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_ServiceAreaInformation_Item, MBS_ServiceAreaInformation_Item_sequence); return offset; } static const per_sequence_t MBS_ServiceAreaInformationList_sequence_of[1] = { { &hf_xnap_MBS_ServiceAreaInformationList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_ServiceAreaInformation_Item }, }; static int dissect_xnap_MBS_ServiceAreaInformationList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_ServiceAreaInformationList, MBS_ServiceAreaInformationList_sequence_of, 1, maxnoofMBSServiceAreaInformation, FALSE); return offset; } static const value_string xnap_MBS_ServiceArea_vals[] = { { 0, "locationindependent" }, { 1, "locationdependent" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t MBS_ServiceArea_choice[] = { { 0, &hf_xnap_locationindependent, ASN1_NO_EXTENSIONS , dissect_xnap_MBS_ServiceAreaInformation }, { 1, &hf_xnap_locationdependent, ASN1_NO_EXTENSIONS , dissect_xnap_MBS_ServiceAreaInformationList }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_MBS_ServiceArea(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_ServiceArea, MBS_ServiceArea_choice, NULL); return offset; } static int dissect_xnap_MRB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 512U, NULL, TRUE); return offset; } static const per_sequence_t MBS_QoSFlow_List_sequence_of[1] = { { &hf_xnap_MBS_QoSFlow_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, }; static int dissect_xnap_MBS_QoSFlow_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_QoSFlow_List, MBS_QoSFlow_List_sequence_of, 1, maxnoofMBSQoSFlows, FALSE); return offset; } static int dissect_xnap_INTEGER_0_4095(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, FALSE); return offset; } static int dissect_xnap_INTEGER_0_262143(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 262143U, NULL, FALSE); return offset; } static const value_string xnap_MRB_ProgressInformation_vals[] = { { 0, "pdcp-SN12" }, { 1, "pdcp-SN18" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t MRB_ProgressInformation_choice[] = { { 0, &hf_xnap_pdcp_SN12 , ASN1_NO_EXTENSIONS , dissect_xnap_INTEGER_0_4095 }, { 1, &hf_xnap_pdcp_SN18 , ASN1_NO_EXTENSIONS , dissect_xnap_INTEGER_0_262143 }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_MRB_ProgressInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_MRB_ProgressInformation, MRB_ProgressInformation_choice, NULL); return offset; } static const per_sequence_t MBS_MappingandDataForwardingRequestInfofromSource_Item_sequence[] = { { &hf_xnap_mRB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MRB_ID }, { &hf_xnap_mBS_QoSFlow_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_QoSFlow_List }, { &hf_xnap_mRB_ProgressInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MRB_ProgressInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_MappingandDataForwardingRequestInfofromSource_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_MappingandDataForwardingRequestInfofromSource_Item, MBS_MappingandDataForwardingRequestInfofromSource_Item_sequence); return offset; } static const per_sequence_t MBS_MappingandDataForwardingRequestInfofromSource_sequence_of[1] = { { &hf_xnap_MBS_MappingandDataForwardingRequestInfofromSource_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_MappingandDataForwardingRequestInfofromSource_Item }, }; static int dissect_xnap_MBS_MappingandDataForwardingRequestInfofromSource(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_MappingandDataForwardingRequestInfofromSource, MBS_MappingandDataForwardingRequestInfofromSource_sequence_of, 1, maxnoofMRBs, FALSE); return offset; } static const per_sequence_t Active_MBS_SessionInformation_sequence[] = { { &hf_xnap_mBS_QoSFlowsToAdd_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_QoSFlowsToAdd_List }, { &hf_xnap_mBS_ServiceArea, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBS_ServiceArea }, { &hf_xnap_mBS_MappingandDataForwardingRequestInfofromSource, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBS_MappingandDataForwardingRequestInfofromSource }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Active_MBS_SessionInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Active_MBS_SessionInformation, Active_MBS_SessionInformation_sequence); return offset; } static int dissect_xnap_ActivationSFN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1023U, NULL, FALSE); return offset; } static int dissect_xnap_CAG_Identifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t AllowedCAG_ID_List_perPLMN_sequence_of[1] = { { &hf_xnap_AllowedCAG_ID_List_perPLMN_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CAG_Identifier }, }; static int dissect_xnap_AllowedCAG_ID_List_perPLMN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_AllowedCAG_ID_List_perPLMN, AllowedCAG_ID_List_perPLMN_sequence_of, 1, maxnoofCAGsperPLMN, FALSE); return offset; } static const value_string xnap_PNI_NPN_Restricted_Information_vals[] = { { 0, "restriced" }, { 1, "not-restricted" }, { 0, NULL } }; static int dissect_xnap_PNI_NPN_Restricted_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t AllowedPNI_NPN_ID_Item_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_pni_npn_restricted_information, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PNI_NPN_Restricted_Information }, { &hf_xnap_allowed_CAG_id_list_per_plmn, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AllowedCAG_ID_List_perPLMN }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AllowedPNI_NPN_ID_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AllowedPNI_NPN_ID_Item, AllowedPNI_NPN_ID_Item_sequence); return offset; } static const per_sequence_t AllowedPNI_NPN_ID_List_sequence_of[1] = { { &hf_xnap_AllowedPNI_NPN_ID_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_AllowedPNI_NPN_ID_Item }, }; static int dissect_xnap_AllowedPNI_NPN_ID_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_AllowedPNI_NPN_ID_List, AllowedPNI_NPN_ID_List_sequence_of, 1, maxnoofEPLMNsplus1, FALSE); return offset; } static const value_string xnap_AllTrafficIndication_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_AllTrafficIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_QoSParaSetIndex(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 8U, NULL, TRUE); return offset; } static const per_sequence_t AlternativeQoSParaSetItem_sequence[] = { { &hf_xnap_alternativeQoSParaSetIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSParaSetIndex }, { &hf_xnap_guaranteedFlowBitRateDL, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BitRate }, { &hf_xnap_guaranteedFlowBitRateUL, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BitRate }, { &hf_xnap_packetDelayBudget, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PacketDelayBudget }, { &hf_xnap_packetErrorRate, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PacketErrorRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AlternativeQoSParaSetItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AlternativeQoSParaSetItem, AlternativeQoSParaSetItem_sequence); return offset; } static const per_sequence_t AlternativeQoSParaSetList_sequence_of[1] = { { &hf_xnap_AlternativeQoSParaSetList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_AlternativeQoSParaSetItem }, }; static int dissect_xnap_AlternativeQoSParaSetList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_AlternativeQoSParaSetList, AlternativeQoSParaSetList_sequence_of, 1, maxnoofQoSParaSets, FALSE); return offset; } static int dissect_xnap_BIT_STRING_SIZE_8(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t GlobalAMF_Region_Information_sequence[] = { { &hf_xnap_plmn_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_amf_region_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_8 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GlobalAMF_Region_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GlobalAMF_Region_Information, GlobalAMF_Region_Information_sequence); return offset; } static const per_sequence_t AMF_Region_Information_sequence_of[1] = { { &hf_xnap_AMF_Region_Information_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalAMF_Region_Information }, }; static int dissect_xnap_AMF_Region_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_AMF_Region_Information, AMF_Region_Information_sequence_of, 1, maxnoofAMFRegions, FALSE); return offset; } static int dissect_xnap_AMF_UE_NGAP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer_64b(tvb, offset, actx, tree, hf_index, 0U, G_GUINT64_CONSTANT(1099511627775), NULL, FALSE); return offset; } static const per_sequence_t TAIsinAoI_Item_sequence[] = { { &hf_xnap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_tAC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TAIsinAoI_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); xnap_data->number_type = E212_5GSTAI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TAIsinAoI_Item, TAIsinAoI_Item_sequence); return offset; } static const per_sequence_t ListOfTAIsinAoI_sequence_of[1] = { { &hf_xnap_ListOfTAIsinAoI_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAIsinAoI_Item }, }; static int dissect_xnap_ListOfTAIsinAoI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ListOfTAIsinAoI, ListOfTAIsinAoI_sequence_of, 1, maxnoofTAIsinAoI, FALSE); return offset; } static int dissect_xnap_E_UTRA_Cell_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *cell_id_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, -1, 28, 28, FALSE, NULL, 0, &cell_id_tvb, NULL); if (cell_id_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, cell_id_tvb, 0, 4, ENC_BIG_ENDIAN); } return offset; } static const value_string xnap_NG_RAN_Cell_Identity_vals[] = { { 0, "nr" }, { 1, "e-utra" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t NG_RAN_Cell_Identity_choice[] = { { 0, &hf_xnap_nr , ASN1_NO_EXTENSIONS , dissect_xnap_NR_Cell_Identity }, { 1, &hf_xnap_e_utra , ASN1_NO_EXTENSIONS , dissect_xnap_E_UTRA_Cell_Identity }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NG_RAN_Cell_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NG_RAN_Cell_Identity, NG_RAN_Cell_Identity_choice, NULL); return offset; } static const per_sequence_t CellsinAoI_Item_sequence[] = { { &hf_xnap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_ng_ran_cell_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RAN_Cell_Identity }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellsinAoI_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellsinAoI_Item, CellsinAoI_Item_sequence); return offset; } static const per_sequence_t ListOfCells_sequence_of[1] = { { &hf_xnap_ListOfCells_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CellsinAoI_Item }, }; static int dissect_xnap_ListOfCells(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ListOfCells, ListOfCells_sequence_of, 1, maxnoofCellsinAoI, FALSE); return offset; } static int dissect_xnap_BIT_STRING_SIZE_22_32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 22, 32, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_GNB_ID_Choice_vals[] = { { 0, "gnb-ID" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t GNB_ID_Choice_choice[] = { { 0, &hf_xnap_gnb_ID , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_22_32 }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_GNB_ID_Choice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_GNB_ID_Choice, GNB_ID_Choice_choice, NULL); return offset; } static const per_sequence_t GlobalgNB_ID_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_gnb_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GNB_ID_Choice }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GlobalgNB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GlobalgNB_ID, GlobalgNB_ID_sequence); return offset; } static int dissect_xnap_BIT_STRING_SIZE_20(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 20, 20, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_18(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 18, 18, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_21(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 21, 21, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_ENB_ID_Choice_vals[] = { { 0, "enb-ID-macro" }, { 1, "enb-ID-shortmacro" }, { 2, "enb-ID-longmacro" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t ENB_ID_Choice_choice[] = { { 0, &hf_xnap_enb_ID_macro , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_20 }, { 1, &hf_xnap_enb_ID_shortmacro, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_18 }, { 2, &hf_xnap_enb_ID_longmacro, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_21 }, { 3, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ENB_ID_Choice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ENB_ID_Choice, ENB_ID_Choice_choice, NULL); return offset; } static const per_sequence_t GlobalngeNB_ID_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_enb_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ENB_ID_Choice }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GlobalngeNB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GlobalngeNB_ID, GlobalngeNB_ID_sequence); return offset; } static const value_string xnap_GlobalNG_RANNode_ID_vals[] = { { GlobalNG_RANNode_ID_gNB, "gNB" }, { GlobalNG_RANNode_ID_ng_eNB, "ng-eNB" }, { GlobalNG_RANNode_ID_choice_extension, "choice-extension" }, { 0, NULL } }; static const per_choice_t GlobalNG_RANNode_ID_choice[] = { { GlobalNG_RANNode_ID_gNB, &hf_xnap_gNB , ASN1_NO_EXTENSIONS , dissect_xnap_GlobalgNB_ID }, { GlobalNG_RANNode_ID_ng_eNB, &hf_xnap_ng_eNB , ASN1_NO_EXTENSIONS , dissect_xnap_GlobalngeNB_ID }, { GlobalNG_RANNode_ID_choice_extension, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_GlobalNG_RANNode_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { gint value; struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_GlobalNG_RANNode_ID, GlobalNG_RANNode_ID_choice, &value); if (xnap_data->xnap_conv && xnap_data->procedure_code == id_xnSetup) { if (addresses_equal(&actx->pinfo->src, &xnap_data->xnap_conv->addr_a) && actx->pinfo->srcport == xnap_data->xnap_conv->port_a) { xnap_data->xnap_conv->ranmode_id_a = (GlobalNG_RANNode_ID_enum)value; } else if (addresses_equal(&actx->pinfo->src, &xnap_data->xnap_conv->addr_b) && actx->pinfo->srcport == xnap_data->xnap_conv->port_b) { xnap_data->xnap_conv->ranmode_id_b = (GlobalNG_RANNode_ID_enum)value; } } return offset; } static const per_sequence_t GlobalNG_RANNodesinAoI_Item_sequence[] = { { &hf_xnap_global_NG_RAN_Node_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANNode_ID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GlobalNG_RANNodesinAoI_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GlobalNG_RANNodesinAoI_Item, GlobalNG_RANNodesinAoI_Item_sequence); return offset; } static const per_sequence_t ListOfRANNodesinAoI_sequence_of[1] = { { &hf_xnap_ListOfRANNodesinAoI_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANNodesinAoI_Item }, }; static int dissect_xnap_ListOfRANNodesinAoI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ListOfRANNodesinAoI, ListOfRANNodesinAoI_sequence_of, 1, maxnoofRANNodesinAoI, FALSE); return offset; } static int dissect_xnap_RequestReferenceID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 64U, NULL, TRUE); return offset; } static const per_sequence_t AreaOfInterest_Item_sequence[] = { { &hf_xnap_listOfTAIsinAoI, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ListOfTAIsinAoI }, { &hf_xnap_listOfCellsinAoI, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ListOfCells }, { &hf_xnap_listOfRANNodesinAoI, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ListOfRANNodesinAoI }, { &hf_xnap_requestReferenceID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RequestReferenceID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AreaOfInterest_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AreaOfInterest_Item, AreaOfInterest_Item_sequence); return offset; } static const per_sequence_t AreaOfInterestInformation_sequence_of[1] = { { &hf_xnap_AreaOfInterestInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_AreaOfInterest_Item }, }; static int dissect_xnap_AreaOfInterestInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_AreaOfInterestInformation, AreaOfInterestInformation_sequence_of, 1, maxnoofAoIs, FALSE); return offset; } static const per_sequence_t CellIdListforMDT_NR_sequence_of[1] = { { &hf_xnap_CellIdListforMDT_NR_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, }; static int dissect_xnap_CellIdListforMDT_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CellIdListforMDT_NR, CellIdListforMDT_NR_sequence_of, 1, maxnoofCellIDforMDT, FALSE); return offset; } static const per_sequence_t CellBasedMDT_NR_sequence[] = { { &hf_xnap_cellIdListforMDT_NR, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CellIdListforMDT_NR }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellBasedMDT_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellBasedMDT_NR, CellBasedMDT_NR_sequence); return offset; } static const per_sequence_t TAListforMDT_sequence_of[1] = { { &hf_xnap_TAListforMDT_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, }; static int dissect_xnap_TAListforMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TAListforMDT, TAListforMDT_sequence_of, 1, maxnoofTAforMDT, FALSE); return offset; } static const per_sequence_t TABasedMDT_sequence[] = { { &hf_xnap_tAListforMDT , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAListforMDT }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TABasedMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TABasedMDT, TABasedMDT_sequence); return offset; } static const per_sequence_t TAIforMDT_Item_sequence[] = { { &hf_xnap_plmn_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_tAC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TAIforMDT_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); xnap_data->number_type = E212_5GSTAI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TAIforMDT_Item, TAIforMDT_Item_sequence); return offset; } static const per_sequence_t TAIListforMDT_sequence_of[1] = { { &hf_xnap_TAIListforMDT_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAIforMDT_Item }, }; static int dissect_xnap_TAIListforMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TAIListforMDT, TAIListforMDT_sequence_of, 1, maxnoofTAforMDT, FALSE); return offset; } static const per_sequence_t TAIBasedMDT_sequence[] = { { &hf_xnap_tAIListforMDT , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAIListforMDT }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TAIBasedMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TAIBasedMDT, TAIBasedMDT_sequence); return offset; } static const value_string xnap_AreaScopeOfMDT_NR_vals[] = { { 0, "cellBased" }, { 1, "tABased" }, { 2, "tAIBased" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t AreaScopeOfMDT_NR_choice[] = { { 0, &hf_xnap_cellBased , ASN1_EXTENSION_ROOT , dissect_xnap_CellBasedMDT_NR }, { 1, &hf_xnap_tABased , ASN1_EXTENSION_ROOT , dissect_xnap_TABasedMDT }, { 2, &hf_xnap_tAIBased , ASN1_EXTENSION_ROOT , dissect_xnap_TAIBasedMDT }, { 3, &hf_xnap_choice_extension, ASN1_NOT_EXTENSION_ROOT, dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_AreaScopeOfMDT_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_AreaScopeOfMDT_NR, AreaScopeOfMDT_NR_choice, NULL); return offset; } static const per_sequence_t E_UTRA_CGI_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_e_utra_CI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRA_Cell_Identity }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_E_UTRA_CGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); xnap_data->number_type = E212_ECGI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_E_UTRA_CGI, E_UTRA_CGI_sequence); return offset; } static const per_sequence_t CellIdListforMDT_EUTRA_sequence_of[1] = { { &hf_xnap_CellIdListforMDT_EUTRA_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRA_CGI }, }; static int dissect_xnap_CellIdListforMDT_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CellIdListforMDT_EUTRA, CellIdListforMDT_EUTRA_sequence_of, 1, maxnoofCellIDforMDT, FALSE); return offset; } static const per_sequence_t CellBasedMDT_EUTRA_sequence[] = { { &hf_xnap_cellIdListforMDT_EUTRA, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CellIdListforMDT_EUTRA }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellBasedMDT_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellBasedMDT_EUTRA, CellBasedMDT_EUTRA_sequence); return offset; } static const value_string xnap_AreaScopeOfMDT_EUTRA_vals[] = { { 0, "cellBased" }, { 1, "tABased" }, { 2, "tAIBased" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t AreaScopeOfMDT_EUTRA_choice[] = { { 0, &hf_xnap_cellBased_01 , ASN1_EXTENSION_ROOT , dissect_xnap_CellBasedMDT_EUTRA }, { 1, &hf_xnap_tABased , ASN1_EXTENSION_ROOT , dissect_xnap_TABasedMDT }, { 2, &hf_xnap_tAIBased , ASN1_EXTENSION_ROOT , dissect_xnap_TAIBasedMDT }, { 3, &hf_xnap_choice_extension, ASN1_NOT_EXTENSION_ROOT, dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_AreaScopeOfMDT_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_AreaScopeOfMDT_EUTRA, AreaScopeOfMDT_EUTRA_choice, NULL); return offset; } static int dissect_xnap_NRARFCN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxNRARFCN, NULL, FALSE); return offset; } static const value_string xnap_NRSCS_vals[] = { { 0, "scs15" }, { 1, "scs30" }, { 2, "scs60" }, { 3, "scs120" }, { 4, "scs480" }, { 5, "scs960" }, { 0, NULL } }; static int dissect_xnap_NRSCS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 2, NULL); return offset; } static const value_string xnap_NRNRB_vals[] = { { 0, "nrb11" }, { 1, "nrb18" }, { 2, "nrb24" }, { 3, "nrb25" }, { 4, "nrb31" }, { 5, "nrb32" }, { 6, "nrb38" }, { 7, "nrb51" }, { 8, "nrb52" }, { 9, "nrb65" }, { 10, "nrb66" }, { 11, "nrb78" }, { 12, "nrb79" }, { 13, "nrb93" }, { 14, "nrb106" }, { 15, "nrb107" }, { 16, "nrb121" }, { 17, "nrb132" }, { 18, "nrb133" }, { 19, "nrb135" }, { 20, "nrb160" }, { 21, "nrb162" }, { 22, "nrb189" }, { 23, "nrb216" }, { 24, "nrb217" }, { 25, "nrb245" }, { 26, "nrb264" }, { 27, "nrb270" }, { 28, "nrb273" }, { 29, "nrb33" }, { 30, "nrb62" }, { 31, "nrb124" }, { 32, "nrb148" }, { 33, "nrb248" }, { 34, "nrb44" }, { 35, "nrb58" }, { 36, "nrb92" }, { 37, "nrb119" }, { 38, "nrb188" }, { 39, "nrb242" }, { 0, NULL } }; static value_string_ext xnap_NRNRB_vals_ext = VALUE_STRING_EXT_INIT(xnap_NRNRB_vals); static int dissect_xnap_NRNRB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 29, NULL, TRUE, 11, NULL); return offset; } static const per_sequence_t NRTransmissionBandwidth_sequence[] = { { &hf_xnap_nRSCS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRSCS }, { &hf_xnap_nRNRB , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRNRB }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRTransmissionBandwidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRTransmissionBandwidth, NRTransmissionBandwidth_sequence); return offset; } static const per_sequence_t SUL_Information_sequence[] = { { &hf_xnap_sulFrequencyInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRARFCN }, { &hf_xnap_sulTransmissionBandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRTransmissionBandwidth }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SUL_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SUL_Information, SUL_Information_sequence); return offset; } static int dissect_xnap_NRFrequencyBand(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 1024U, NULL, TRUE); return offset; } static int dissect_xnap_SUL_FrequencyBand(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 1024U, NULL, FALSE); return offset; } static const per_sequence_t SupportedSULBandItem_sequence[] = { { &hf_xnap_sulBandItem , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SUL_FrequencyBand }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SupportedSULBandItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SupportedSULBandItem, SupportedSULBandItem_sequence); return offset; } static const per_sequence_t SupportedSULBandList_sequence_of[1] = { { &hf_xnap_SupportedSULBandList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SupportedSULBandItem }, }; static int dissect_xnap_SupportedSULBandList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SupportedSULBandList, SupportedSULBandList_sequence_of, 1, maxnoofNRCellBands, FALSE); return offset; } static const per_sequence_t NRFrequencyBandItem_sequence[] = { { &hf_xnap_nr_frequency_band, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyBand }, { &hf_xnap_supported_SUL_Band_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SupportedSULBandList }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRFrequencyBandItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRFrequencyBandItem, NRFrequencyBandItem_sequence); return offset; } static const per_sequence_t NRFrequencyBand_List_sequence_of[1] = { { &hf_xnap_NRFrequencyBand_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyBandItem }, }; static int dissect_xnap_NRFrequencyBand_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NRFrequencyBand_List, NRFrequencyBand_List_sequence_of, 1, maxnoofNRCellBands, FALSE); return offset; } static const per_sequence_t NRFrequencyInfo_sequence[] = { { &hf_xnap_nrARFCN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRARFCN }, { &hf_xnap_sul_information, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SUL_Information }, { &hf_xnap_frequencyBand_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyBand_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRFrequencyInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRFrequencyInfo, NRFrequencyInfo_sequence); return offset; } static int dissect_xnap_NRPCI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1007U, NULL, TRUE); return offset; } static const per_sequence_t PCIListForMDT_sequence_of[1] = { { &hf_xnap_PCIListForMDT_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NRPCI }, }; static int dissect_xnap_PCIListForMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PCIListForMDT, PCIListForMDT_sequence_of, 1, maxnoofNeighPCIforMDT, FALSE); return offset; } static const per_sequence_t AreaScopeOfNeighCellsItem_sequence[] = { { &hf_xnap_nrFrequencyInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyInfo }, { &hf_xnap_pciListForMDT , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PCIListForMDT }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AreaScopeOfNeighCellsItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AreaScopeOfNeighCellsItem, AreaScopeOfNeighCellsItem_sequence); return offset; } static const per_sequence_t AreaScopeOfNeighCellsList_sequence_of[1] = { { &hf_xnap_AreaScopeOfNeighCellsList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_AreaScopeOfNeighCellsItem }, }; static int dissect_xnap_AreaScopeOfNeighCellsList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_AreaScopeOfNeighCellsList, AreaScopeOfNeighCellsList_sequence_of, 1, maxnoofFreqforMDT, FALSE); return offset; } static const per_sequence_t GlobalNG_RANCell_ID_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_ng_RAN_Cell_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RAN_Cell_Identity }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GlobalNG_RANCell_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GlobalNG_RANCell_ID, GlobalNG_RANCell_ID_sequence); return offset; } static const per_sequence_t CellIdListforQMC_sequence_of[1] = { { &hf_xnap_CellIdListforQMC_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANCell_ID }, }; static int dissect_xnap_CellIdListforQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CellIdListforQMC, CellIdListforQMC_sequence_of, 1, maxnoofCellIDforQMC, FALSE); return offset; } static const per_sequence_t CellBasedQMC_sequence[] = { { &hf_xnap_cellIdListforQMC, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CellIdListforQMC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellBasedQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellBasedQMC, CellBasedQMC_sequence); return offset; } static const per_sequence_t TAListforQMC_sequence_of[1] = { { &hf_xnap_TAListforQMC_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, }; static int dissect_xnap_TAListforQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TAListforQMC, TAListforQMC_sequence_of, 1, maxnoofTAforQMC, FALSE); return offset; } static const per_sequence_t TABasedQMC_sequence[] = { { &hf_xnap_tAListforQMC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAListforQMC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TABasedQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TABasedQMC, TABasedQMC_sequence); return offset; } static const per_sequence_t TAI_Item_sequence[] = { { &hf_xnap_tAC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TAI_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TAI_Item, TAI_Item_sequence); return offset; } static const per_sequence_t TAIListforQMC_sequence_of[1] = { { &hf_xnap_TAIListforQMC_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAI_Item }, }; static int dissect_xnap_TAIListforQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TAIListforQMC, TAIListforQMC_sequence_of, 1, maxnoofTAforQMC, FALSE); return offset; } static const per_sequence_t TAIBasedQMC_sequence[] = { { &hf_xnap_tAIListforQMC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAIListforQMC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TAIBasedQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TAIBasedQMC, TAIBasedQMC_sequence); return offset; } static const per_sequence_t PLMNListforQMC_sequence_of[1] = { { &hf_xnap_PLMNListforQMC_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, }; static int dissect_xnap_PLMNListforQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PLMNListforQMC, PLMNListforQMC_sequence_of, 1, maxnoofPLMNforQMC, FALSE); return offset; } static const per_sequence_t PLMNAreaBasedQMC_sequence[] = { { &hf_xnap_plmnListforQMC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMNListforQMC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PLMNAreaBasedQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PLMNAreaBasedQMC, PLMNAreaBasedQMC_sequence); return offset; } static const value_string xnap_AreaScopeOfQMC_vals[] = { { 0, "cellBased" }, { 1, "tABased" }, { 2, "tAIBased" }, { 3, "pLMNAreaBased" }, { 4, "choice-extension" }, { 0, NULL } }; static const per_choice_t AreaScopeOfQMC_choice[] = { { 0, &hf_xnap_cellBased_02 , ASN1_NO_EXTENSIONS , dissect_xnap_CellBasedQMC }, { 1, &hf_xnap_tABased_01 , ASN1_NO_EXTENSIONS , dissect_xnap_TABasedQMC }, { 2, &hf_xnap_tAIBased_01 , ASN1_NO_EXTENSIONS , dissect_xnap_TAIBasedQMC }, { 3, &hf_xnap_pLMNAreaBased , ASN1_NO_EXTENSIONS , dissect_xnap_PLMNAreaBasedQMC }, { 4, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_AreaScopeOfQMC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_AreaScopeOfQMC, AreaScopeOfQMC_choice, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_256(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 256, 256, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_INTEGER_0_7(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 7U, NULL, FALSE); return offset; } static const per_sequence_t AS_SecurityInformation_sequence[] = { { &hf_xnap_key_NG_RAN_Star, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_256 }, { &hf_xnap_ncc , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_7 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AS_SecurityInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AS_SecurityInformation, AS_SecurityInformation_sequence); return offset; } static int dissect_xnap_INTEGER_1_16_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 16U, NULL, TRUE); return offset; } static const value_string xnap_T_nextPagingAreaScope_vals[] = { { 0, "same" }, { 1, "changed" }, { 0, NULL } }; static int dissect_xnap_T_nextPagingAreaScope(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t RANPagingAttemptInfo_sequence[] = { { &hf_xnap_pagingAttemptCount, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_16_ }, { &hf_xnap_intendedNumberOfPagingAttempts, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_16_ }, { &hf_xnap_nextPagingAreaScope, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_nextPagingAreaScope }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RANPagingAttemptInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RANPagingAttemptInfo, RANPagingAttemptInfo_sequence); return offset; } static const per_sequence_t AssistanceDataForRANPaging_sequence[] = { { &hf_xnap_ran_paging_attempt_info, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RANPagingAttemptInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AssistanceDataForRANPaging(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AssistanceDataForRANPaging, AssistanceDataForRANPaging_sequence); return offset; } static const per_sequence_t Associated_QoSFlowInfo_Item_sequence[] = { { &hf_xnap_mBS_QoSFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_associatedUnicastQoSFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Associated_QoSFlowInfo_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Associated_QoSFlowInfo_Item, Associated_QoSFlowInfo_Item_sequence); return offset; } static const per_sequence_t Associated_QoSFlowInfo_List_sequence_of[1] = { { &hf_xnap_Associated_QoSFlowInfo_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Associated_QoSFlowInfo_Item }, }; static int dissect_xnap_Associated_QoSFlowInfo_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Associated_QoSFlowInfo_List, Associated_QoSFlowInfo_List_sequence_of, 1, maxnoofMBSQoSFlows, FALSE); return offset; } static int dissect_xnap_AvailableCapacity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 100U, NULL, TRUE); return offset; } static int dissect_xnap_AvailableRRCConnectionCapacityValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const value_string xnap_T_bufferLevel_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_bufferLevel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_playoutDelayForMediaStartup_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_playoutDelayForMediaStartup(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t AvailableRVQoEMetrics_sequence[] = { { &hf_xnap_bufferLevel , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_bufferLevel }, { &hf_xnap_playoutDelayForMediaStartup, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_playoutDelayForMediaStartup }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AvailableRVQoEMetrics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AvailableRVQoEMetrics, AvailableRVQoEMetrics_sequence); return offset; } static int dissect_xnap_BAPAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 10, 10, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_BAPPathID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 10, 10, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t BAPRoutingID_sequence[] = { { &hf_xnap_bAPAddress , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPAddress }, { &hf_xnap_bAPPathID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPPathID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BAPRoutingID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BAPRoutingID, BAPRoutingID_sequence); return offset; } static const value_string xnap_BeamMeasurementIndicationM1_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_BeamMeasurementIndicationM1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_rSRP_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_rSRP(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_rSRQ_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_rSRQ(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_sINR_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_sINR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t BeamMeasurementsReportQuantity_sequence[] = { { &hf_xnap_rSRP , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_rSRP }, { &hf_xnap_rSRQ , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_rSRQ }, { &hf_xnap_sINR , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_sINR }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BeamMeasurementsReportQuantity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BeamMeasurementsReportQuantity, BeamMeasurementsReportQuantity_sequence); return offset; } static int dissect_xnap_MaxNrofRS_IndexesToReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 64U, NULL, TRUE); return offset; } static const per_sequence_t BeamMeasurementsReportConfiguration_sequence[] = { { &hf_xnap_beamMeasurementsReportQuantity, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BeamMeasurementsReportQuantity }, { &hf_xnap_maxNrofRS_IndexesToReport, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MaxNrofRS_IndexesToReport }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BeamMeasurementsReportConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BeamMeasurementsReportConfiguration, BeamMeasurementsReportConfiguration_sequence); return offset; } static int dissect_xnap_BHInfoIndex(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, maxnoofBHInfo, NULL, FALSE); return offset; } static const per_sequence_t BHInfo_Item_sequence[] = { { &hf_xnap_bHInfoIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BHInfoIndex }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BHInfo_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BHInfo_Item, BHInfo_Item_sequence); return offset; } static const per_sequence_t BHInfoList_sequence_of[1] = { { &hf_xnap_BHInfoList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BHInfo_Item }, }; static int dissect_xnap_BHInfoList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BHInfoList, BHInfoList_sequence_of, 1, maxnoofBHInfo, FALSE); return offset; } static int dissect_xnap_BHRLCChannelID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t BAPControlPDURLCCH_Item_sequence[] = { { &hf_xnap_bHRLCCHID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BHRLCChannelID }, { &hf_xnap_nexthopBAPAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPAddress }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BAPControlPDURLCCH_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BAPControlPDURLCCH_Item, BAPControlPDURLCCH_Item_sequence); return offset; } static const per_sequence_t BAPControlPDURLCCH_List_sequence_of[1] = { { &hf_xnap_BAPControlPDURLCCH_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BAPControlPDURLCCH_Item }, }; static int dissect_xnap_BAPControlPDURLCCH_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BAPControlPDURLCCH_List, BAPControlPDURLCCH_List_sequence_of, 1, maxnoofBAPControlPDURLCCHs, FALSE); return offset; } static const value_string xnap_BluetoothMeasConfig_vals[] = { { 0, "setup" }, { 0, NULL } }; static int dissect_xnap_BluetoothMeasConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_BluetoothName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 1, 248, FALSE, &parameter_tvb); actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA); return offset; } static const per_sequence_t BluetoothMeasConfigNameList_sequence_of[1] = { { &hf_xnap_BluetoothMeasConfigNameList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BluetoothName }, }; static int dissect_xnap_BluetoothMeasConfigNameList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BluetoothMeasConfigNameList, BluetoothMeasConfigNameList_sequence_of, 1, maxnoofBluetoothName, FALSE); return offset; } static const value_string xnap_T_bt_rssi_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_bt_rssi(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t BluetoothMeasurementConfiguration_sequence[] = { { &hf_xnap_bluetoothMeasConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BluetoothMeasConfig }, { &hf_xnap_bluetoothMeasConfigNameList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BluetoothMeasConfigNameList }, { &hf_xnap_bt_rssi , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_bt_rssi }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BluetoothMeasurementConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BluetoothMeasurementConfiguration, BluetoothMeasurementConfiguration_sequence); return offset; } static const per_sequence_t BroadcastEUTRAPLMNs_sequence_of[1] = { { &hf_xnap_BroadcastEUTRAPLMNs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, }; static int dissect_xnap_BroadcastEUTRAPLMNs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastEUTRAPLMNs, BroadcastEUTRAPLMNs_sequence_of, 1, maxnoofEUTRABPLMNs, FALSE); return offset; } static int dissect_xnap_RANAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, FALSE); return offset; } static const per_sequence_t BPLMN_ID_Info_EUTRA_Item_sequence[] = { { &hf_xnap_broadcastPLMNs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastEUTRAPLMNs }, { &hf_xnap_tac , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_e_utraCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRA_Cell_Identity }, { &hf_xnap_ranac , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RANAC }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BPLMN_ID_Info_EUTRA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BPLMN_ID_Info_EUTRA_Item, BPLMN_ID_Info_EUTRA_Item_sequence); return offset; } static const per_sequence_t BPLMN_ID_Info_EUTRA_sequence_of[1] = { { &hf_xnap_BPLMN_ID_Info_EUTRA_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BPLMN_ID_Info_EUTRA_Item }, }; static int dissect_xnap_BPLMN_ID_Info_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BPLMN_ID_Info_EUTRA, BPLMN_ID_Info_EUTRA_sequence_of, 1, maxnoofEUTRABPLMNs, FALSE); return offset; } static const per_sequence_t BroadcastPLMNs_sequence_of[1] = { { &hf_xnap_BroadcastPLMNs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, }; static int dissect_xnap_BroadcastPLMNs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastPLMNs, BroadcastPLMNs_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static const per_sequence_t BPLMN_ID_Info_NR_Item_sequence[] = { { &hf_xnap_broadcastPLMNs_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastPLMNs }, { &hf_xnap_tac , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_nr_CI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_Cell_Identity }, { &hf_xnap_ranac , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RANAC }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BPLMN_ID_Info_NR_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BPLMN_ID_Info_NR_Item, BPLMN_ID_Info_NR_Item_sequence); return offset; } static const per_sequence_t BPLMN_ID_Info_NR_sequence_of[1] = { { &hf_xnap_BPLMN_ID_Info_NR_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BPLMN_ID_Info_NR_Item }, }; static int dissect_xnap_BPLMN_ID_Info_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BPLMN_ID_Info_NR, BPLMN_ID_Info_NR_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static const per_sequence_t BroadcastCAG_Identifier_Item_sequence[] = { { &hf_xnap_cag_Identifier , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CAG_Identifier }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BroadcastCAG_Identifier_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastCAG_Identifier_Item, BroadcastCAG_Identifier_Item_sequence); return offset; } static const per_sequence_t BroadcastCAG_Identifier_List_sequence_of[1] = { { &hf_xnap_BroadcastCAG_Identifier_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastCAG_Identifier_Item }, }; static int dissect_xnap_BroadcastCAG_Identifier_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastCAG_Identifier_List, BroadcastCAG_Identifier_List_sequence_of, 1, maxnoofCAGs, FALSE); return offset; } static int dissect_xnap_NID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 44, 44, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t BroadcastNID_Item_sequence[] = { { &hf_xnap_nid , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NID }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BroadcastNID_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastNID_Item, BroadcastNID_Item_sequence); return offset; } static const per_sequence_t BroadcastNID_List_sequence_of[1] = { { &hf_xnap_BroadcastNID_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastNID_Item }, }; static int dissect_xnap_BroadcastNID_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastNID_List, BroadcastNID_List_sequence_of, 1, maxnoofNIDs, FALSE); return offset; } static int dissect_xnap_OCTET_STRING_SIZE_1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 1, FALSE, NULL); return offset; } static int dissect_xnap_OCTET_STRING_SIZE_3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, FALSE, NULL); return offset; } static const per_sequence_t S_NSSAI_sequence[] = { { &hf_xnap_sst , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_OCTET_STRING_SIZE_1 }, { &hf_xnap_sd , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_OCTET_STRING_SIZE_3 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_S_NSSAI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_S_NSSAI, S_NSSAI_sequence); return offset; } static const per_sequence_t SliceSupport_List_sequence_of[1] = { { &hf_xnap_SliceSupport_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, }; static int dissect_xnap_SliceSupport_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SliceSupport_List, SliceSupport_List_sequence_of, 1, maxnoofSliceItems, FALSE); return offset; } static const per_sequence_t BroadcastPLMNinTAISupport_Item_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_tAISliceSupport_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SliceSupport_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BroadcastPLMNinTAISupport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastPLMNinTAISupport_Item, BroadcastPLMNinTAISupport_Item_sequence); return offset; } static const per_sequence_t BroadcastPNI_NPN_ID_Information_Item_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_broadcastCAG_Identifier_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastCAG_Identifier_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BroadcastPNI_NPN_ID_Information_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastPNI_NPN_ID_Information_Item, BroadcastPNI_NPN_ID_Information_Item_sequence); return offset; } static const per_sequence_t BroadcastPNI_NPN_ID_Information_sequence_of[1] = { { &hf_xnap_BroadcastPNI_NPN_ID_Information_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastPNI_NPN_ID_Information_Item }, }; static int dissect_xnap_BroadcastPNI_NPN_ID_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastPNI_NPN_ID_Information, BroadcastPNI_NPN_ID_Information_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static const per_sequence_t BroadcastSNPNID_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_broadcastNID_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastNID_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BroadcastSNPNID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastSNPNID, BroadcastSNPNID_sequence); return offset; } static const per_sequence_t BroadcastSNPNID_List_sequence_of[1] = { { &hf_xnap_BroadcastSNPNID_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastSNPNID }, }; static int dissect_xnap_BroadcastSNPNID_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BroadcastSNPNID_List, BroadcastSNPNID_List_sequence_of, 1, maxnoofSNPNIDs, FALSE); return offset; } static int dissect_xnap_CapacityValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_INTEGER_0_63(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 63U, NULL, FALSE); return offset; } static int dissect_xnap_INTEGER_0_100(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t SSBAreaCapacityValue_List_Item_sequence[] = { { &hf_xnap_sSBIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_63 }, { &hf_xnap_ssbAreaCapacityValue, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_100 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SSBAreaCapacityValue_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SSBAreaCapacityValue_List_Item, SSBAreaCapacityValue_List_Item_sequence); return offset; } static const per_sequence_t SSBAreaCapacityValue_List_sequence_of[1] = { { &hf_xnap_SSBAreaCapacityValue_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SSBAreaCapacityValue_List_Item }, }; static int dissect_xnap_SSBAreaCapacityValue_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SSBAreaCapacityValue_List, SSBAreaCapacityValue_List_sequence_of, 1, maxnoofSSBAreas, FALSE); return offset; } static const per_sequence_t CapacityValueInfo_sequence[] = { { &hf_xnap_capacityValue , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CapacityValue }, { &hf_xnap_ssbAreaCapacityValueList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SSBAreaCapacityValue_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CapacityValueInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CapacityValueInfo, CapacityValueInfo_sequence); return offset; } static const value_string xnap_CauseRadioNetworkLayer_vals[] = { { 0, "cell-not-available" }, { 1, "handover-desirable-for-radio-reasons" }, { 2, "handover-target-not-allowed" }, { 3, "invalid-AMF-Set-ID" }, { 4, "no-radio-resources-available-in-target-cell" }, { 5, "partial-handover" }, { 6, "reduce-load-in-serving-cell" }, { 7, "resource-optimisation-handover" }, { 8, "time-critical-handover" }, { 9, "tXnRELOCoverall-expiry" }, { 10, "tXnRELOCprep-expiry" }, { 11, "unknown-GUAMI-ID" }, { 12, "unknown-local-NG-RAN-node-UE-XnAP-ID" }, { 13, "inconsistent-remote-NG-RAN-node-UE-XnAP-ID" }, { 14, "encryption-and-or-integrity-protection-algorithms-not-supported" }, { 15, "not-used-causes-value-1" }, { 16, "multiple-PDU-session-ID-instances" }, { 17, "unknown-PDU-session-ID" }, { 18, "unknown-QoS-Flow-ID" }, { 19, "multiple-QoS-Flow-ID-instances" }, { 20, "switch-off-ongoing" }, { 21, "not-supported-5QI-value" }, { 22, "tXnDCoverall-expiry" }, { 23, "tXnDCprep-expiry" }, { 24, "action-desirable-for-radio-reasons" }, { 25, "reduce-load" }, { 26, "resource-optimisation" }, { 27, "time-critical-action" }, { 28, "target-not-allowed" }, { 29, "no-radio-resources-available" }, { 30, "invalid-QoS-combination" }, { 31, "encryption-algorithms-not-supported" }, { 32, "procedure-cancelled" }, { 33, "rRM-purpose" }, { 34, "improve-user-bit-rate" }, { 35, "user-inactivity" }, { 36, "radio-connection-with-UE-lost" }, { 37, "failure-in-the-radio-interface-procedure" }, { 38, "bearer-option-not-supported" }, { 39, "up-integrity-protection-not-possible" }, { 40, "up-confidentiality-protection-not-possible" }, { 41, "resources-not-available-for-the-slice-s" }, { 42, "ue-max-IP-data-rate-reason" }, { 43, "cP-integrity-protection-failure" }, { 44, "uP-integrity-protection-failure" }, { 45, "slice-not-supported-by-NG-RAN" }, { 46, "mN-Mobility" }, { 47, "sN-Mobility" }, { 48, "count-reaches-max-value" }, { 49, "unknown-old-NG-RAN-node-UE-XnAP-ID" }, { 50, "pDCP-Overload" }, { 51, "drb-id-not-available" }, { 52, "unspecified" }, { 53, "ue-context-id-not-known" }, { 54, "non-relocation-of-context" }, { 55, "cho-cpc-resources-tobechanged" }, { 56, "rSN-not-available-for-the-UP" }, { 57, "npn-access-denied" }, { 58, "report-characteristics-empty" }, { 59, "existing-measurement-ID" }, { 60, "measurement-temporarily-not-available" }, { 61, "measurement-not-supported-for-the-object" }, { 62, "ue-power-saving" }, { 63, "unknown-NG-RAN-node2-Measurement-ID" }, { 64, "insufficient-ue-capabilities" }, { 65, "normal-release" }, { 66, "value-out-of-allowed-range" }, { 67, "scg-activation-deactivation-failure" }, { 68, "scg-deactivation-failure-due-to-data-transmission" }, { 0, NULL } }; static value_string_ext xnap_CauseRadioNetworkLayer_vals_ext = VALUE_STRING_EXT_INIT(xnap_CauseRadioNetworkLayer_vals); static int dissect_xnap_CauseRadioNetworkLayer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 53, NULL, TRUE, 16, NULL); return offset; } static const value_string xnap_CauseTransportLayer_vals[] = { { 0, "transport-resource-unavailable" }, { 1, "unspecified" }, { 0, NULL } }; static int dissect_xnap_CauseTransportLayer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_CauseProtocol_vals[] = { { 0, "transfer-syntax-error" }, { 1, "abstract-syntax-error-reject" }, { 2, "abstract-syntax-error-ignore-and-notify" }, { 3, "message-not-compatible-with-receiver-state" }, { 4, "semantic-error" }, { 5, "abstract-syntax-error-falsely-constructed-message" }, { 6, "unspecified" }, { 0, NULL } }; static int dissect_xnap_CauseProtocol(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_CauseMisc_vals[] = { { 0, "control-processing-overload" }, { 1, "hardware-failure" }, { 2, "o-and-M-intervention" }, { 3, "not-enough-user-plane-processing-resources" }, { 4, "unspecified" }, { 0, NULL } }; static int dissect_xnap_CauseMisc(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_Cause_vals[] = { { 0, "radioNetwork" }, { 1, "transport" }, { 2, "protocol" }, { 3, "misc" }, { 4, "choice-extension" }, { 0, NULL } }; static const per_choice_t Cause_choice[] = { { 0, &hf_xnap_radioNetwork , ASN1_NO_EXTENSIONS , dissect_xnap_CauseRadioNetworkLayer }, { 1, &hf_xnap_transport , ASN1_NO_EXTENSIONS , dissect_xnap_CauseTransportLayer }, { 2, &hf_xnap_protocol , ASN1_NO_EXTENSIONS , dissect_xnap_CauseProtocol }, { 3, &hf_xnap_misc , ASN1_NO_EXTENSIONS , dissect_xnap_CauseMisc }, { 4, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_Cause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_Cause, Cause_choice, NULL); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI_sequence_of[1] = { { &hf_xnap_limitedNR_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, }; static int dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI, SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const value_string xnap_T_full_List_vals[] = { { 0, "all-served-cells-NR" }, { 0, NULL } }; static int dissect_xnap_T_full_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_CellAssistanceInfo_NR_vals[] = { { 0, "limitedNR-List" }, { 1, "full-List" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t CellAssistanceInfo_NR_choice[] = { { 0, &hf_xnap_limitedNR_List , ASN1_NO_EXTENSIONS , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI }, { 1, &hf_xnap_full_List , ASN1_NO_EXTENSIONS , dissect_xnap_T_full_List }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_CellAssistanceInfo_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_CellAssistanceInfo_NR, CellAssistanceInfo_NR_choice, NULL); return offset; } static int dissect_xnap_MaximumCellListSize(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 16384U, NULL, TRUE); return offset; } static const per_sequence_t CellAndCapacityAssistanceInfo_NR_sequence[] = { { &hf_xnap_maximumCellListSize, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MaximumCellListSize }, { &hf_xnap_cellAssistanceInfo_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CellAssistanceInfo_NR }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellAndCapacityAssistanceInfo_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellAndCapacityAssistanceInfo_NR, CellAndCapacityAssistanceInfo_NR_sequence); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI_sequence_of[1] = { { &hf_xnap_limitedEUTRA_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRA_CGI }, }; static int dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI, SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const value_string xnap_T_full_List_01_vals[] = { { 0, "all-served-cells-E-UTRA" }, { 0, NULL } }; static int dissect_xnap_T_full_List_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_CellAssistanceInfo_EUTRA_vals[] = { { 0, "limitedEUTRA-List" }, { 1, "full-List" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t CellAssistanceInfo_EUTRA_choice[] = { { 0, &hf_xnap_limitedEUTRA_List, ASN1_NO_EXTENSIONS , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI }, { 1, &hf_xnap_full_List_01 , ASN1_NO_EXTENSIONS , dissect_xnap_T_full_List_01 }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_CellAssistanceInfo_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_CellAssistanceInfo_EUTRA, CellAssistanceInfo_EUTRA_choice, NULL); return offset; } static const per_sequence_t CellAndCapacityAssistanceInfo_EUTRA_sequence[] = { { &hf_xnap_maximumCellListSize, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MaximumCellListSize }, { &hf_xnap_cellAssistanceInfo_EUTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CellAssistanceInfo_EUTRA }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellAndCapacityAssistanceInfo_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellAndCapacityAssistanceInfo_EUTRA, CellAndCapacityAssistanceInfo_EUTRA_sequence); return offset; } static int dissect_xnap_CellCapacityClassValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 100U, NULL, TRUE); return offset; } static const value_string xnap_CellDeploymentStatusIndicator_vals[] = { { 0, "pre-change-notification" }, { 0, NULL } }; static int dissect_xnap_CellDeploymentStatusIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_CellGroupID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxnoofSCellGroups, NULL, FALSE); return offset; } static int dissect_xnap_DL_GBR_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_UL_GBR_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_DL_non_GBR_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_UL_non_GBR_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_DL_Total_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_UL_Total_PRB_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t NG_eNB_RadioResourceStatus_sequence[] = { { &hf_xnap_dL_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_GBR_PRB_usage }, { &hf_xnap_uL_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_GBR_PRB_usage }, { &hf_xnap_dL_non_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_non_GBR_PRB_usage }, { &hf_xnap_uL_non_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_non_GBR_PRB_usage }, { &hf_xnap_dL_Total_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_Total_PRB_usage }, { &hf_xnap_uL_Total_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_Total_PRB_usage }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NG_eNB_RadioResourceStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NG_eNB_RadioResourceStatus, NG_eNB_RadioResourceStatus_sequence); return offset; } static const per_sequence_t SSBAreaRadioResourceStatus_List_Item_sequence[] = { { &hf_xnap_sSBIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_63 }, { &hf_xnap_ssb_Area_DL_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_GBR_PRB_usage }, { &hf_xnap_ssb_Area_UL_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_GBR_PRB_usage }, { &hf_xnap_ssb_Area_dL_non_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_non_GBR_PRB_usage }, { &hf_xnap_ssb_Area_uL_non_GBR_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_non_GBR_PRB_usage }, { &hf_xnap_ssb_Area_dL_Total_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_Total_PRB_usage }, { &hf_xnap_ssb_Area_uL_Total_PRB_usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_Total_PRB_usage }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SSBAreaRadioResourceStatus_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SSBAreaRadioResourceStatus_List_Item, SSBAreaRadioResourceStatus_List_Item_sequence); return offset; } static const per_sequence_t SSBAreaRadioResourceStatus_List_sequence_of[1] = { { &hf_xnap_SSBAreaRadioResourceStatus_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SSBAreaRadioResourceStatus_List_Item }, }; static int dissect_xnap_SSBAreaRadioResourceStatus_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SSBAreaRadioResourceStatus_List, SSBAreaRadioResourceStatus_List_sequence_of, 1, maxnoofSSBAreas, FALSE); return offset; } static const per_sequence_t GNB_RadioResourceStatus_sequence[] = { { &hf_xnap_ssbAreaRadioResourceStatus_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSBAreaRadioResourceStatus_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GNB_RadioResourceStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GNB_RadioResourceStatus, GNB_RadioResourceStatus_sequence); return offset; } static const value_string xnap_RadioResourceStatus_vals[] = { { 0, "ng-eNB-RadioResourceStatus" }, { 1, "gNB-RadioResourceStatus" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t RadioResourceStatus_choice[] = { { 0, &hf_xnap_ng_eNB_RadioResourceStatus, ASN1_NO_EXTENSIONS , dissect_xnap_NG_eNB_RadioResourceStatus }, { 1, &hf_xnap_gNB_RadioResourceStatus, ASN1_NO_EXTENSIONS , dissect_xnap_GNB_RadioResourceStatus }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_RadioResourceStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_RadioResourceStatus, RadioResourceStatus_choice, NULL); return offset; } static int dissect_xnap_OfferedCapacity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 16777216U, NULL, TRUE); return offset; } static const per_sequence_t TNLCapacityIndicator_sequence[] = { { &hf_xnap_dLTNLOfferedCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_OfferedCapacity }, { &hf_xnap_dLTNLAvailableCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AvailableCapacity }, { &hf_xnap_uLTNLOfferedCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_OfferedCapacity }, { &hf_xnap_uLTNLAvailableCapacity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AvailableCapacity }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TNLCapacityIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TNLCapacityIndicator, TNLCapacityIndicator_sequence); return offset; } static const per_sequence_t CompositeAvailableCapacity_sequence[] = { { &hf_xnap_cellCapacityClassValue, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CellCapacityClassValue }, { &hf_xnap_capacityValueInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CapacityValueInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CompositeAvailableCapacity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CompositeAvailableCapacity, CompositeAvailableCapacity_sequence); return offset; } static const per_sequence_t CompositeAvailableCapacityGroup_sequence[] = { { &hf_xnap_compositeAvailableCapacityDownlink, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CompositeAvailableCapacity }, { &hf_xnap_compositeAvailableCapacityUplink, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CompositeAvailableCapacity }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CompositeAvailableCapacityGroup(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CompositeAvailableCapacityGroup, CompositeAvailableCapacityGroup_sequence); return offset; } static const per_sequence_t SNSSAIAvailableCapacity_Item_sequence[] = { { &hf_xnap_sNSSAI , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, { &hf_xnap_sliceAvailableCapacityValueDownlink, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_100 }, { &hf_xnap_sliceAvailableCapacityValueUplink, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_100 }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNSSAIAvailableCapacity_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNSSAIAvailableCapacity_Item, SNSSAIAvailableCapacity_Item_sequence); return offset; } static const per_sequence_t SNSSAIAvailableCapacity_List_sequence_of[1] = { { &hf_xnap_SNSSAIAvailableCapacity_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SNSSAIAvailableCapacity_Item }, }; static int dissect_xnap_SNSSAIAvailableCapacity_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SNSSAIAvailableCapacity_List, SNSSAIAvailableCapacity_List_sequence_of, 1, maxnoofSliceItems, FALSE); return offset; } static const per_sequence_t SliceAvailableCapacity_Item_sequence[] = { { &hf_xnap_pLMNIdentity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_sNSSAIAvailableCapacity_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SNSSAIAvailableCapacity_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SliceAvailableCapacity_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SliceAvailableCapacity_Item, SliceAvailableCapacity_Item_sequence); return offset; } static const per_sequence_t SliceAvailableCapacity_sequence_of[1] = { { &hf_xnap_SliceAvailableCapacity_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SliceAvailableCapacity_Item }, }; static int dissect_xnap_SliceAvailableCapacity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SliceAvailableCapacity, SliceAvailableCapacity_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static int dissect_xnap_NumberofActiveUEs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 16777215U, NULL, TRUE); return offset; } static int dissect_xnap_NoofRRCConnections(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 65536U, NULL, TRUE); return offset; } static const per_sequence_t RRCConnections_sequence[] = { { &hf_xnap_noofRRCConnections, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NoofRRCConnections }, { &hf_xnap_availableRRCConnectionCapacityValue, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AvailableRRCConnectionCapacityValue }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RRCConnections(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RRCConnections, RRCConnections_sequence); return offset; } static const per_sequence_t CellMeasurementResult_Item_sequence[] = { { &hf_xnap_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANCell_ID }, { &hf_xnap_radioResourceStatus, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RadioResourceStatus }, { &hf_xnap_tNLCapacityIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_TNLCapacityIndicator }, { &hf_xnap_compositeAvailableCapacityGroup, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CompositeAvailableCapacityGroup }, { &hf_xnap_sliceAvailableCapacity, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SliceAvailableCapacity }, { &hf_xnap_numberofActiveUEs, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NumberofActiveUEs }, { &hf_xnap_rRCConnections , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RRCConnections }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellMeasurementResult_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellMeasurementResult_Item, CellMeasurementResult_Item_sequence); return offset; } static const per_sequence_t CellMeasurementResult_sequence_of[1] = { { &hf_xnap_CellMeasurementResult_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CellMeasurementResult_Item }, }; static int dissect_xnap_CellMeasurementResult(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CellMeasurementResult, CellMeasurementResult_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const value_string xnap_Cell_Type_Choice_vals[] = { { 0, "ng-ran-e-utra" }, { 1, "ng-ran-nr" }, { 2, "e-utran" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t Cell_Type_Choice_choice[] = { { 0, &hf_xnap_ng_ran_e_utra , ASN1_NO_EXTENSIONS , dissect_xnap_E_UTRA_Cell_Identity }, { 1, &hf_xnap_ng_ran_nr , ASN1_NO_EXTENSIONS , dissect_xnap_NR_Cell_Identity }, { 2, &hf_xnap_e_utran , ASN1_NO_EXTENSIONS , dissect_xnap_E_UTRA_Cell_Identity }, { 3, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_Cell_Type_Choice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_Cell_Type_Choice, Cell_Type_Choice_choice, NULL); return offset; } static const per_sequence_t GlobalCell_ID_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_cell_type , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Cell_Type_Choice }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GlobalCell_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GlobalCell_ID, GlobalCell_ID_sequence); return offset; } static const per_sequence_t ReplacingCells_Item_sequence[] = { { &hf_xnap_globalNG_RANCell_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalCell_ID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ReplacingCells_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ReplacingCells_Item, ReplacingCells_Item_sequence); return offset; } static const per_sequence_t ReplacingCells_sequence_of[1] = { { &hf_xnap_ReplacingCells_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ReplacingCells_Item }, }; static int dissect_xnap_ReplacingCells(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ReplacingCells, ReplacingCells_sequence_of, 0, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const per_sequence_t CellReplacingInfo_sequence[] = { { &hf_xnap_replacingCells , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ReplacingCells }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellReplacingInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellReplacingInfo, CellReplacingInfo_sequence); return offset; } static const per_sequence_t SSBToReport_List_Item_sequence[] = { { &hf_xnap_sSBIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_63 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SSBToReport_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SSBToReport_List_Item, SSBToReport_List_Item_sequence); return offset; } static const per_sequence_t SSBToReport_List_sequence_of[1] = { { &hf_xnap_SSBToReport_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SSBToReport_List_Item }, }; static int dissect_xnap_SSBToReport_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SSBToReport_List, SSBToReport_List_sequence_of, 1, maxnoofSSBAreas, FALSE); return offset; } static const per_sequence_t SNSSAI_Item_sequence[] = { { &hf_xnap_sNSSAI , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNSSAI_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNSSAI_Item, SNSSAI_Item_sequence); return offset; } static const per_sequence_t SNSSAI_list_sequence_of[1] = { { &hf_xnap_SNSSAI_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SNSSAI_Item }, }; static int dissect_xnap_SNSSAI_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SNSSAI_list, SNSSAI_list_sequence_of, 1, maxnoofSliceItems, FALSE); return offset; } static const per_sequence_t SliceToReport_List_Item_sequence[] = { { &hf_xnap_pLMNIdentity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_sNSSAIlist , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SNSSAI_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SliceToReport_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SliceToReport_List_Item, SliceToReport_List_Item_sequence); return offset; } static const per_sequence_t SliceToReport_List_sequence_of[1] = { { &hf_xnap_SliceToReport_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SliceToReport_List_Item }, }; static int dissect_xnap_SliceToReport_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SliceToReport_List, SliceToReport_List_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static const per_sequence_t CellToReport_Item_sequence[] = { { &hf_xnap_cell_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANCell_ID }, { &hf_xnap_sSBToReport_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SSBToReport_List }, { &hf_xnap_sliceToReport_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SliceToReport_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellToReport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellToReport_Item, CellToReport_Item_sequence); return offset; } static const per_sequence_t CellToReport_sequence_of[1] = { { &hf_xnap_CellToReport_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CellToReport_Item }, }; static int dissect_xnap_CellToReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CellToReport, CellToReport_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static int dissect_xnap_MeasObjectContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_MeasObjectContainer); dissect_nr_rrc_MeasObjectToAddMod_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_ReportConfigContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_ReportConfigContainer); dissect_nr_rrc_ReportConfigToAddMod_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t CHOExecutionCondition_Item_sequence[] = { { &hf_xnap_measObjectContainer, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MeasObjectContainer }, { &hf_xnap_reportConfigContainer, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ReportConfigContainer }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CHOExecutionCondition_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CHOExecutionCondition_Item, CHOExecutionCondition_Item_sequence); return offset; } static const per_sequence_t CHOExecutionCondition_List_sequence_of[1] = { { &hf_xnap_CHOExecutionCondition_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CHOExecutionCondition_Item }, }; static int dissect_xnap_CHOExecutionCondition_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CHOExecutionCondition_List, CHOExecutionCondition_List_sequence_of, 1, maxnoofCHOexecutioncond, FALSE); return offset; } static const per_sequence_t CHOCandidateCell_Item_sequence[] = { { &hf_xnap_choCandidateCellID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANCell_ID }, { &hf_xnap_choExecutionCondition_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CHOExecutionCondition_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CHOCandidateCell_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CHOCandidateCell_Item, CHOCandidateCell_Item_sequence); return offset; } static const per_sequence_t CHOCandidateCell_List_sequence_of[1] = { { &hf_xnap_CHOCandidateCell_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CHOCandidateCell_Item }, }; static int dissect_xnap_CHOCandidateCell_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CHOCandidateCell_List, CHOCandidateCell_List_sequence_of, 1, maxnoofCellsinCHO, FALSE); return offset; } static const per_sequence_t CHOConfiguration_sequence[] = { { &hf_xnap_choCandidateCell_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CHOCandidateCell_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CHOConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CHOConfiguration, CHOConfiguration_sequence); return offset; } static int dissect_xnap_ControlPlaneTrafficType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 3U, NULL, TRUE); return offset; } static const value_string xnap_CHO_MRDC_EarlyDataForwarding_vals[] = { { 0, "stop" }, { 0, NULL } }; static int dissect_xnap_CHO_MRDC_EarlyDataForwarding(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_CHO_MRDC_Indicator_vals[] = { { 0, "true" }, { 1, "coordination-only" }, { 0, NULL } }; static int dissect_xnap_CHO_MRDC_Indicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 1, NULL); return offset; } static const value_string xnap_CHOtrigger_vals[] = { { 0, "cho-initiation" }, { 1, "cho-replace" }, { 0, NULL } }; static int dissect_xnap_CHOtrigger(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_NG_RANnodeUEXnAPID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4294967295U, NULL, FALSE); return offset; } static int dissect_xnap_CHO_Probability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 100U, NULL, FALSE); return offset; } static const per_sequence_t CHOinformation_Req_sequence[] = { { &hf_xnap_cho_trigger , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CHOtrigger }, { &hf_xnap_targetNG_RANnodeUEXnAPID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NG_RANnodeUEXnAPID }, { &hf_xnap_cHO_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CHO_Probability }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CHOinformation_Req(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CHOinformation_Req, CHOinformation_Req_sequence); return offset; } static const value_string xnap_Target_CGI_vals[] = { { 0, "nr" }, { 1, "e-utra" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t Target_CGI_choice[] = { { 0, &hf_xnap_nr_02 , ASN1_NO_EXTENSIONS , dissect_xnap_NR_CGI }, { 1, &hf_xnap_e_utra_02 , ASN1_NO_EXTENSIONS , dissect_xnap_E_UTRA_CGI }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_Target_CGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_Target_CGI, Target_CGI_choice, NULL); return offset; } static int dissect_xnap_MaxCHOpreparations(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 8U, NULL, TRUE); return offset; } static const per_sequence_t CHOinformation_Ack_sequence[] = { { &hf_xnap_requestedTargetCellGlobalID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Target_CGI }, { &hf_xnap_maxCHOoperations, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MaxCHOpreparations }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CHOinformation_Ack(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CHOinformation_Ack, CHOinformation_Ack_sequence); return offset; } static const per_sequence_t CHOinformation_AddReq_sequence[] = { { &hf_xnap_source_M_NGRAN_node_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANNode_ID }, { &hf_xnap_source_M_NGRAN_node_UE_XnAP_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RANnodeUEXnAPID }, { &hf_xnap_cHO_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CHO_Probability }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CHOinformation_AddReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CHOinformation_AddReq, CHOinformation_AddReq_sequence); return offset; } static const value_string xnap_T_conditionalReconfig_vals[] = { { 0, "intra-mn-cho" }, { 0, NULL } }; static int dissect_xnap_T_conditionalReconfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t CHOinformation_ModReq_sequence[] = { { &hf_xnap_conditionalReconfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_conditionalReconfig }, { &hf_xnap_cHO_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CHO_Probability }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CHOinformation_ModReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CHOinformation_ModReq, CHOinformation_ModReq_sequence); return offset; } static int dissect_xnap_CNsubgroupID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 7U, NULL, TRUE); return offset; } static const value_string xnap_ConfiguredTACIndication_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_ConfiguredTACIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_eNDC_Support_vals[] = { { 0, "supported" }, { 1, "not-supported" }, { 0, NULL } }; static int dissect_xnap_T_eNDC_Support(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t Connectivity_Support_sequence[] = { { &hf_xnap_eNDC_Support , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_eNDC_Support }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Connectivity_Support(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Connectivity_Support, Connectivity_Support_sequence); return offset; } static int dissect_xnap_ContainerAppLayerMeasConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 8000, FALSE, NULL); return offset; } static int dissect_xnap_INTEGER_0_1048575(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1048575U, NULL, FALSE); return offset; } static const per_sequence_t COUNT_PDCP_SN12_sequence[] = { { &hf_xnap_pdcp_SN12 , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_4095 }, { &hf_xnap_hfn_PDCP_SN12 , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_1048575 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_COUNT_PDCP_SN12(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_COUNT_PDCP_SN12, COUNT_PDCP_SN12_sequence); return offset; } static int dissect_xnap_INTEGER_0_16383(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 16383U, NULL, FALSE); return offset; } static const per_sequence_t COUNT_PDCP_SN18_sequence[] = { { &hf_xnap_pdcp_SN18 , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_262143 }, { &hf_xnap_hfn_PDCP_SN18 , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_16383 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_COUNT_PDCP_SN18(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_COUNT_PDCP_SN18, COUNT_PDCP_SN18_sequence); return offset; } static const value_string xnap_CoverageModificationCause_vals[] = { { 0, "coverage" }, { 1, "cell-edge-capacity" }, { 0, NULL } }; static int dissect_xnap_CoverageModificationCause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_0_63_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 63U, NULL, TRUE); return offset; } static const per_sequence_t SSB_Coverage_Modification_List_Item_sequence[] = { { &hf_xnap_sSBIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_63 }, { &hf_xnap_sSBCoverageState, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_15_ }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SSB_Coverage_Modification_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SSB_Coverage_Modification_List_Item, SSB_Coverage_Modification_List_Item_sequence); return offset; } static const per_sequence_t SSB_Coverage_Modification_List_sequence_of[1] = { { &hf_xnap_SSB_Coverage_Modification_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_Coverage_Modification_List_Item }, }; static int dissect_xnap_SSB_Coverage_Modification_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SSB_Coverage_Modification_List, SSB_Coverage_Modification_List_sequence_of, 0, maxnoofSSBAreas, FALSE); return offset; } static const per_sequence_t Coverage_Modification_List_Item_sequence[] = { { &hf_xnap_globalNG_RANCell_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalCell_ID }, { &hf_xnap_cellCoverageState, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_63_ }, { &hf_xnap_cellDeploymentStatusIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CellDeploymentStatusIndicator }, { &hf_xnap_cellReplacingInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CellReplacingInfo }, { &hf_xnap_sSB_Coverage_Modification_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_Coverage_Modification_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Coverage_Modification_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Coverage_Modification_List_Item, Coverage_Modification_List_Item_sequence); return offset; } static const per_sequence_t Coverage_Modification_List_sequence_of[1] = { { &hf_xnap_Coverage_Modification_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Coverage_Modification_List_Item }, }; static int dissect_xnap_Coverage_Modification_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Coverage_Modification_List, Coverage_Modification_List_sequence_of, 0, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const value_string xnap_CPTransportLayerInformation_vals[] = { { 0, "endpointIPAddress" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t CPTransportLayerInformation_choice[] = { { 0, &hf_xnap_endpointIPAddress, ASN1_NO_EXTENSIONS , dissect_xnap_TransportLayerAddress }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_CPTransportLayerInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_CPTransportLayerInformation, CPTransportLayerInformation_choice, NULL); return offset; } static const per_sequence_t CPACcandidatePSCells_item_sequence[] = { { &hf_xnap_pscell_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPACcandidatePSCells_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPACcandidatePSCells_item, CPACcandidatePSCells_item_sequence); return offset; } static const per_sequence_t CPACcandidatePSCells_list_sequence_of[1] = { { &hf_xnap_CPACcandidatePSCells_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPACcandidatePSCells_item }, }; static int dissect_xnap_CPACcandidatePSCells_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CPACcandidatePSCells_list, CPACcandidatePSCells_list_sequence_of, 1, maxnoofPSCellCandidates, FALSE); return offset; } static const value_string xnap_CPCindicator_vals[] = { { 0, "cpc-initiation" }, { 1, "cpc-modification" }, { 2, "cpc-cancellation" }, { 0, NULL } }; static int dissect_xnap_CPCindicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_1_maxnoofPSCellCandidates_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, maxnoofPSCellCandidates, NULL, TRUE); return offset; } static const per_sequence_t CPAInformationRequest_sequence[] = { { &hf_xnap_max_no_of_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_maxnoofPSCellCandidates_ }, { &hf_xnap_cpac_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CHO_Probability }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPAInformationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPAInformationRequest, CPAInformationRequest_sequence); return offset; } static const per_sequence_t CPAInformationAck_sequence[] = { { &hf_xnap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPACcandidatePSCells_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPAInformationAck(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPAInformationAck, CPAInformationAck_sequence); return offset; } static int dissect_xnap_T_sN_to_MN_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree; subtree = proto_item_add_subtree(actx->created_item, ett_nxap_container); dissect_nr_rrc_CG_ConfigInfo_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t CPC_target_SN_required_list_Item_sequence[] = { { &hf_xnap_target_S_NG_RANnodeID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANNode_ID }, { &hf_xnap_cpc_indicator , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPCindicator }, { &hf_xnap_max_no_of_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_maxnoofPSCellCandidates_ }, { &hf_xnap_cpac_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CHO_Probability }, { &hf_xnap_sN_to_MN_Container, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_sN_to_MN_Container }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPC_target_SN_required_list_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPC_target_SN_required_list_Item, CPC_target_SN_required_list_Item_sequence); return offset; } static const per_sequence_t CPC_target_SN_required_list_sequence_of[1] = { { &hf_xnap_CPC_target_SN_required_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPC_target_SN_required_list_Item }, }; static int dissect_xnap_CPC_target_SN_required_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CPC_target_SN_required_list, CPC_target_SN_required_list_sequence_of, 1, maxnoofTargetSNs, FALSE); return offset; } static const per_sequence_t CPCInformationRequired_sequence[] = { { &hf_xnap_cpc_target_sn_required_list, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPC_target_SN_required_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPCInformationRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPCInformationRequired, CPCInformationRequired_sequence); return offset; } static const per_sequence_t CPC_target_SN_confirm_list_Item_sequence[] = { { &hf_xnap_target_S_NG_RANnodeID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANNode_ID }, { &hf_xnap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPACcandidatePSCells_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPC_target_SN_confirm_list_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPC_target_SN_confirm_list_Item, CPC_target_SN_confirm_list_Item_sequence); return offset; } static const per_sequence_t CPC_target_SN_confirm_list_sequence_of[1] = { { &hf_xnap_CPC_target_SN_confirm_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPC_target_SN_confirm_list_Item }, }; static int dissect_xnap_CPC_target_SN_confirm_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CPC_target_SN_confirm_list, CPC_target_SN_confirm_list_sequence_of, 1, maxnoofTargetSNs, FALSE); return offset; } static const per_sequence_t CPCInformationConfirm_sequence[] = { { &hf_xnap_cpc_target_sn_confirm_list, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPC_target_SN_confirm_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPCInformationConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPCInformationConfirm, CPCInformationConfirm_sequence); return offset; } static int dissect_xnap_INTEGER_1_8_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 8U, NULL, TRUE); return offset; } static const per_sequence_t CPAInformationModReq_sequence[] = { { &hf_xnap_max_no_of_pscells_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_INTEGER_1_8_ }, { &hf_xnap_cpac_EstimatedArrivalProbability, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CHO_Probability }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPAInformationModReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPAInformationModReq, CPAInformationModReq_sequence); return offset; } static const per_sequence_t CPAInformationModReqAck_sequence[] = { { &hf_xnap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPACcandidatePSCells_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPAInformationModReqAck(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPAInformationModReqAck, CPAInformationModReqAck_sequence); return offset; } static const value_string xnap_CPC_DataForwarding_Indicator_vals[] = { { 0, "triggered" }, { 1, "early-data-transmission-stop" }, { 2, "coordination-only" }, { 0, NULL } }; static int dissect_xnap_CPC_DataForwarding_Indicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 1, NULL); return offset; } static const per_sequence_t CPACInformationModRequired_sequence[] = { { &hf_xnap_candidate_pscells, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPACcandidatePSCells_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPACInformationModRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPACInformationModRequired, CPACInformationModRequired_sequence); return offset; } static const per_sequence_t CPCInformationUpdatePSCells_item_sequence[] = { { &hf_xnap_pscell_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPCInformationUpdatePSCells_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPCInformationUpdatePSCells_item, CPCInformationUpdatePSCells_item_sequence); return offset; } static const per_sequence_t CPCInformationUpdatePSCells_list_sequence_of[1] = { { &hf_xnap_CPCInformationUpdatePSCells_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPCInformationUpdatePSCells_item }, }; static int dissect_xnap_CPCInformationUpdatePSCells_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CPCInformationUpdatePSCells_list, CPCInformationUpdatePSCells_list_sequence_of, 1, maxnoofPSCellCandidates, FALSE); return offset; } static const per_sequence_t CPC_target_SN_mod_item_sequence[] = { { &hf_xnap_target_S_NG_RANnodeID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANNode_ID }, { &hf_xnap_candidate_pscells_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPCInformationUpdatePSCells_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPC_target_SN_mod_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPC_target_SN_mod_item, CPC_target_SN_mod_item_sequence); return offset; } static const per_sequence_t CPC_target_SN_mod_list_sequence_of[1] = { { &hf_xnap_CPC_target_SN_mod_list_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPC_target_SN_mod_item }, }; static int dissect_xnap_CPC_target_SN_mod_list(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CPC_target_SN_mod_list, CPC_target_SN_mod_list_sequence_of, 1, maxnoofTargetSNs, FALSE); return offset; } static const per_sequence_t CPCInformationUpdate_sequence[] = { { &hf_xnap_cpc_target_sn_list, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPC_target_SN_mod_list }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPCInformationUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPCInformationUpdate, CPCInformationUpdate_sequence); return offset; } static const value_string xnap_TypeOfError_vals[] = { { 0, "not-understood" }, { 1, "missing" }, { 0, NULL } }; static int dissect_xnap_TypeOfError(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t CriticalityDiagnostics_IE_List_item_sequence[] = { { &hf_xnap_iECriticality , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Criticality }, { &hf_xnap_iE_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_ID }, { &hf_xnap_typeOfError , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TypeOfError }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CriticalityDiagnostics_IE_List_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CriticalityDiagnostics_IE_List_item, CriticalityDiagnostics_IE_List_item_sequence); return offset; } static const per_sequence_t CriticalityDiagnostics_IE_List_sequence_of[1] = { { &hf_xnap_CriticalityDiagnostics_IE_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CriticalityDiagnostics_IE_List_item }, }; static int dissect_xnap_CriticalityDiagnostics_IE_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CriticalityDiagnostics_IE_List, CriticalityDiagnostics_IE_List_sequence_of, 1, maxNrOfErrors, FALSE); return offset; } static const per_sequence_t CriticalityDiagnostics_sequence[] = { { &hf_xnap_procedureCode , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProcedureCode }, { &hf_xnap_triggeringMessage, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_TriggeringMessage }, { &hf_xnap_procedureCriticality, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Criticality }, { &hf_xnap_iEsCriticalityDiagnostics, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_CriticalityDiagnostics_IE_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CriticalityDiagnostics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CriticalityDiagnostics, CriticalityDiagnostics_sequence); return offset; } static int dissect_xnap_C_RNTI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_CyclicPrefix_E_UTRA_DL_vals[] = { { 0, "normal" }, { 1, "extended" }, { 0, NULL } }; static int dissect_xnap_CyclicPrefix_E_UTRA_DL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_CyclicPrefix_E_UTRA_UL_vals[] = { { 0, "normal" }, { 1, "extended" }, { 0, NULL } }; static int dissect_xnap_CyclicPrefix_E_UTRA_UL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_CSI_RSTransmissionIndication_vals[] = { { 0, "activated" }, { 1, "deactivated" }, { 0, NULL } }; static int dissect_xnap_CSI_RSTransmissionIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_PDUSession_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, FALSE); return offset; } static const per_sequence_t DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item_sequence[] = { { &hf_xnap_dRB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_mN_Xn_U_TNLInfoatM, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item, DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item_sequence); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item_sequence_of[1] = { { &hf_xnap_dRBsToBeSetupList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item }, }; static int dissect_xnap_SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item, SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceBearerSetupCompleteInfo_SNterminated_sequence[] = { { &hf_xnap_dRBsToBeSetupList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceBearerSetupCompleteInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceBearerSetupCompleteInfo_SNterminated, PDUSessionResourceBearerSetupCompleteInfo_SNterminated_sequence); return offset; } static const per_sequence_t XnUAddressInfoperPDUSession_Item_sequence[] = { { &hf_xnap_pduSession_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_dataForwardingInfoFromTargetNGRANnode, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataForwardingInfoFromTargetNGRANnode }, { &hf_xnap_pduSessionResourceSetupCompleteInfo_SNterm, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceBearerSetupCompleteInfo_SNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_XnUAddressInfoperPDUSession_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_XnUAddressInfoperPDUSession_Item, XnUAddressInfoperPDUSession_Item_sequence); return offset; } static const per_sequence_t XnUAddressInfoperPDUSession_List_sequence_of[1] = { { &hf_xnap_XnUAddressInfoperPDUSession_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_XnUAddressInfoperPDUSession_Item }, }; static int dissect_xnap_XnUAddressInfoperPDUSession_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_XnUAddressInfoperPDUSession_List, XnUAddressInfoperPDUSession_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t QoSFlowsToBeForwarded_Item_sequence[] = { { &hf_xnap_qosFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsToBeForwarded_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsToBeForwarded_Item, QoSFlowsToBeForwarded_Item_sequence); return offset; } static const per_sequence_t QoSFlowsToBeForwarded_List_sequence_of[1] = { { &hf_xnap_QoSFlowsToBeForwarded_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsToBeForwarded_Item }, }; static int dissect_xnap_QoSFlowsToBeForwarded_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsToBeForwarded_List, QoSFlowsToBeForwarded_List_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t DataForwardingInfoFromTargetE_UTRANnode_Item_sequence[] = { { &hf_xnap_dlForwardingUPTNLInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_qosFlowsToBeForwarded_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsToBeForwarded_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DataForwardingInfoFromTargetE_UTRANnode_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DataForwardingInfoFromTargetE_UTRANnode_Item, DataForwardingInfoFromTargetE_UTRANnode_Item_sequence); return offset; } static const per_sequence_t DataForwardingInfoFromTargetE_UTRANnode_List_sequence_of[1] = { { &hf_xnap_DataForwardingInfoFromTargetE_UTRANnode_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DataForwardingInfoFromTargetE_UTRANnode_Item }, }; static int dissect_xnap_DataForwardingInfoFromTargetE_UTRANnode_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DataForwardingInfoFromTargetE_UTRANnode_List, DataForwardingInfoFromTargetE_UTRANnode_List_sequence_of, 1, maxnoofDataForwardingTunneltoE_UTRAN, FALSE); return offset; } static const per_sequence_t DataForwardingInfoFromTargetE_UTRANnode_sequence[] = { { &hf_xnap_dataForwardingInfoFromTargetE_UTRANnode_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataForwardingInfoFromTargetE_UTRANnode_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DataForwardingInfoFromTargetE_UTRANnode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DataForwardingInfoFromTargetE_UTRANnode, DataForwardingInfoFromTargetE_UTRANnode_sequence); return offset; } static const value_string xnap_DLForwarding_vals[] = { { 0, "dl-forwarding-proposed" }, { 0, NULL } }; static int dissect_xnap_DLForwarding(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_ULForwarding_vals[] = { { 0, "ul-forwarding-proposed" }, { 0, NULL } }; static int dissect_xnap_ULForwarding(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t QoSFLowsToBeForwarded_Item_sequence[] = { { &hf_xnap_qosFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_dl_dataforwarding, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DLForwarding }, { &hf_xnap_ul_dataforwarding, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ULForwarding }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFLowsToBeForwarded_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFLowsToBeForwarded_Item, QoSFLowsToBeForwarded_Item_sequence); return offset; } static const per_sequence_t QoSFLowsToBeForwarded_List_sequence_of[1] = { { &hf_xnap_QoSFLowsToBeForwarded_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFLowsToBeForwarded_Item }, }; static int dissect_xnap_QoSFLowsToBeForwarded_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFLowsToBeForwarded_List, QoSFLowsToBeForwarded_List_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const value_string xnap_QoSFlowMappingIndication_vals[] = { { 0, "ul" }, { 1, "dl" }, { 0, NULL } }; static int dissect_xnap_QoSFlowMappingIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t QoSFlow_Item_sequence[] = { { &hf_xnap_qfi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_qosFlowMappingIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowMappingIndication }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlow_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlow_Item, QoSFlow_Item_sequence); return offset; } static const per_sequence_t QoSFlows_List_sequence_of[1] = { { &hf_xnap_QoSFlows_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlow_Item }, }; static int dissect_xnap_QoSFlows_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlows_List, QoSFlows_List_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const value_string xnap_RLCMode_vals[] = { { 0, "rlc-am" }, { 1, "rlc-um-bidirectional" }, { 2, "rlc-um-unidirectional-ul" }, { 3, "rlc-um-unidirectional-dl" }, { 0, NULL } }; static int dissect_xnap_RLCMode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t DRBToQoSFlowMapping_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_qosFlows_List , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlows_List }, { &hf_xnap_rLC_Mode , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RLCMode }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBToQoSFlowMapping_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBToQoSFlowMapping_Item, DRBToQoSFlowMapping_Item_sequence); return offset; } static const per_sequence_t DRBToQoSFlowMapping_List_sequence_of[1] = { { &hf_xnap_DRBToQoSFlowMapping_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBToQoSFlowMapping_Item }, }; static int dissect_xnap_DRBToQoSFlowMapping_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBToQoSFlowMapping_List, DRBToQoSFlowMapping_List_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t DataforwardingandOffloadingInfofromSource_sequence[] = { { &hf_xnap_qosFlowsToBeForwarded, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFLowsToBeForwarded_List }, { &hf_xnap_sourceDRBtoQoSFlowMapping, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBToQoSFlowMapping_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DataforwardingandOffloadingInfofromSource(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DataforwardingandOffloadingInfofromSource, DataforwardingandOffloadingInfofromSource_sequence); return offset; } static int dissect_xnap_DataTrafficResources(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 17600, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t SharedResourceType_UL_OnlySharing_sequence[] = { { &hf_xnap_ul_resourceBitmap, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataTrafficResources }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SharedResourceType_UL_OnlySharing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SharedResourceType_UL_OnlySharing, SharedResourceType_UL_OnlySharing_sequence); return offset; } static int dissect_xnap_NULL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_null(tvb, offset, actx, tree, hf_index); return offset; } static const per_sequence_t SharedResourceType_ULDL_Sharing_UL_ResourcesChanged_sequence[] = { { &hf_xnap_ul_resourceBitmap, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataTrafficResources }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SharedResourceType_ULDL_Sharing_UL_ResourcesChanged(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SharedResourceType_ULDL_Sharing_UL_ResourcesChanged, SharedResourceType_ULDL_Sharing_UL_ResourcesChanged_sequence); return offset; } static const value_string xnap_SharedResourceType_ULDL_Sharing_UL_Resources_vals[] = { { 0, "unchanged" }, { 1, "changed" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t SharedResourceType_ULDL_Sharing_UL_Resources_choice[] = { { 0, &hf_xnap_unchanged , ASN1_NO_EXTENSIONS , dissect_xnap_NULL }, { 1, &hf_xnap_changed , ASN1_NO_EXTENSIONS , dissect_xnap_SharedResourceType_ULDL_Sharing_UL_ResourcesChanged }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_SharedResourceType_ULDL_Sharing_UL_Resources(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_SharedResourceType_ULDL_Sharing_UL_Resources, SharedResourceType_ULDL_Sharing_UL_Resources_choice, NULL); return offset; } static const per_sequence_t SharedResourceType_ULDL_Sharing_DL_ResourcesChanged_sequence[] = { { &hf_xnap_dl_resourceBitmap, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataTrafficResources }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SharedResourceType_ULDL_Sharing_DL_ResourcesChanged(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SharedResourceType_ULDL_Sharing_DL_ResourcesChanged, SharedResourceType_ULDL_Sharing_DL_ResourcesChanged_sequence); return offset; } static const value_string xnap_SharedResourceType_ULDL_Sharing_DL_Resources_vals[] = { { 0, "unchanged" }, { 1, "changed" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t SharedResourceType_ULDL_Sharing_DL_Resources_choice[] = { { 0, &hf_xnap_unchanged , ASN1_NO_EXTENSIONS , dissect_xnap_NULL }, { 1, &hf_xnap_changed_01 , ASN1_NO_EXTENSIONS , dissect_xnap_SharedResourceType_ULDL_Sharing_DL_ResourcesChanged }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_SharedResourceType_ULDL_Sharing_DL_Resources(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_SharedResourceType_ULDL_Sharing_DL_Resources, SharedResourceType_ULDL_Sharing_DL_Resources_choice, NULL); return offset; } static const value_string xnap_SharedResourceType_ULDL_Sharing_vals[] = { { 0, "ul-resources" }, { 1, "dl-resources" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t SharedResourceType_ULDL_Sharing_choice[] = { { 0, &hf_xnap_ul_resources , ASN1_NO_EXTENSIONS , dissect_xnap_SharedResourceType_ULDL_Sharing_UL_Resources }, { 1, &hf_xnap_dl_resources , ASN1_NO_EXTENSIONS , dissect_xnap_SharedResourceType_ULDL_Sharing_DL_Resources }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_SharedResourceType_ULDL_Sharing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_SharedResourceType_ULDL_Sharing, SharedResourceType_ULDL_Sharing_choice, NULL); return offset; } static const value_string xnap_SharedResourceType_vals[] = { { 0, "ul-onlySharing" }, { 1, "ul-and-dl-Sharing" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t SharedResourceType_choice[] = { { 0, &hf_xnap_ul_onlySharing , ASN1_NO_EXTENSIONS , dissect_xnap_SharedResourceType_UL_OnlySharing }, { 1, &hf_xnap_ul_and_dl_Sharing, ASN1_NO_EXTENSIONS , dissect_xnap_SharedResourceType_ULDL_Sharing }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_SharedResourceType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_SharedResourceType, SharedResourceType_choice, NULL); return offset; } static const value_string xnap_T_subframeType_vals[] = { { 0, "mbsfn" }, { 1, "non-mbsfn" }, { 0, NULL } }; static int dissect_xnap_T_subframeType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_10_160(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 10, 160, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_MBSFNControlRegionLength(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 3U, NULL, FALSE); return offset; } static const per_sequence_t ReservedSubframePattern_sequence[] = { { &hf_xnap_subframeType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_subframeType }, { &hf_xnap_reservedSubframePattern_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_10_160 }, { &hf_xnap_mbsfnControlRegionLength, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBSFNControlRegionLength }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ReservedSubframePattern(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ReservedSubframePattern, ReservedSubframePattern_sequence); return offset; } static const per_sequence_t DataTrafficResourceIndication_sequence[] = { { &hf_xnap_activationSFN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ActivationSFN }, { &hf_xnap_sharedResourceType, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SharedResourceType }, { &hf_xnap_reservedSubframePattern, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ReservedSubframePattern }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DataTrafficResourceIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DataTrafficResourceIndication, DataTrafficResourceIndication_sequence); return offset; } static const value_string xnap_T_dapsIndicator_vals[] = { { 0, "daps-HO-required" }, { 0, NULL } }; static int dissect_xnap_T_dapsIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t DAPSRequestInfo_sequence[] = { { &hf_xnap_dapsIndicator , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_dapsIndicator }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DAPSRequestInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DAPSRequestInfo, DAPSRequestInfo_sequence); return offset; } static const value_string xnap_T_dapsResponseIndicator_vals[] = { { 0, "daps-HO-accepted" }, { 1, "daps-HO-not-accepted" }, { 0, NULL } }; static int dissect_xnap_T_dapsResponseIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t DAPSResponseInfo_Item_sequence[] = { { &hf_xnap_drbID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_dapsResponseIndicator, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_dapsResponseIndicator }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DAPSResponseInfo_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DAPSResponseInfo_Item, DAPSResponseInfo_Item_sequence); return offset; } static const per_sequence_t DAPSResponseInfo_List_sequence_of[1] = { { &hf_xnap_DAPSResponseInfo_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DAPSResponseInfo_Item }, }; static int dissect_xnap_DAPSResponseInfo_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DAPSResponseInfo_List, DAPSResponseInfo_List_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static int dissect_xnap_DeliveryStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4095U, NULL, TRUE); return offset; } static const value_string xnap_DesiredActNotificationLevel_vals[] = { { 0, "none" }, { 1, "qos-flow" }, { 2, "pdu-session" }, { 3, "ue-level" }, { 0, NULL } }; static int dissect_xnap_DesiredActNotificationLevel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_DefaultDRB_Allowed_vals[] = { { 0, "true" }, { 1, "false" }, { 0, NULL } }; static int dissect_xnap_DefaultDRB_Allowed(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_DirectForwardingPathAvailability_vals[] = { { 0, "direct-path-available" }, { 0, NULL } }; static int dissect_xnap_DirectForwardingPathAvailability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_DLCountChoice_vals[] = { { 0, "count12bits" }, { 1, "count18bits" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t DLCountChoice_choice[] = { { 0, &hf_xnap_count12bits , ASN1_NO_EXTENSIONS , dissect_xnap_COUNT_PDCP_SN12 }, { 1, &hf_xnap_count18bits , ASN1_NO_EXTENSIONS , dissect_xnap_COUNT_PDCP_SN18 }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_DLCountChoice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_DLCountChoice, DLCountChoice_choice, NULL); return offset; } static int dissect_xnap_DL_GBR_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_DL_non_GBR_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t DLF1Terminating_BHInfo_sequence[] = { { &hf_xnap_egressBAPRoutingID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPRoutingID }, { &hf_xnap_egressBHRLCCHID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BHRLCChannelID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DLF1Terminating_BHInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DLF1Terminating_BHInfo, DLF1Terminating_BHInfo_sequence); return offset; } static int dissect_xnap_BIT_STRING_SIZE_6(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 6, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t IAB_QoS_Mapping_Information_sequence[] = { { &hf_xnap_dscp , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BIT_STRING_SIZE_6 }, { &hf_xnap_flow_label , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BIT_STRING_SIZE_20 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IAB_QoS_Mapping_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_QoS_Mapping_Information, IAB_QoS_Mapping_Information_sequence); return offset; } static const per_sequence_t DLNonF1Terminating_BHInfo_sequence[] = { { &hf_xnap_ingressBAPRoutingID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPRoutingID }, { &hf_xnap_ingressBHRLCCHID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BHRLCChannelID }, { &hf_xnap_priorhopBAPAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPAddress }, { &hf_xnap_iabqosMappingInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IAB_QoS_Mapping_Information }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DLNonF1Terminating_BHInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DLNonF1Terminating_BHInfo, DLNonF1Terminating_BHInfo_sequence); return offset; } static int dissect_xnap_DL_Total_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t DRB_List_sequence_of[1] = { { &hf_xnap_DRB_List_item , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, }; static int dissect_xnap_DRB_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRB_List, DRB_List_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t DRB_List_withCause_Item_sequence[] = { { &hf_xnap_drb_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_cause , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Cause }, { &hf_xnap_rLC_Mode , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RLCMode }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRB_List_withCause_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRB_List_withCause_Item, DRB_List_withCause_Item_sequence); return offset; } static const per_sequence_t DRB_List_withCause_sequence_of[1] = { { &hf_xnap_DRB_List_withCause_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_List_withCause_Item }, }; static int dissect_xnap_DRB_List_withCause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRB_List_withCause, DRB_List_withCause_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static int dissect_xnap_DRB_Number(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 32U, NULL, TRUE); return offset; } static const per_sequence_t DRBsSubjectToDLDiscarding_Item_sequence[] = { { &hf_xnap_drbID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_dlCount , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DLCountChoice }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsSubjectToDLDiscarding_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsSubjectToDLDiscarding_Item, DRBsSubjectToDLDiscarding_Item_sequence); return offset; } static const per_sequence_t DRBsSubjectToDLDiscarding_List_sequence_of[1] = { { &hf_xnap_DRBsSubjectToDLDiscarding_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsSubjectToDLDiscarding_Item }, }; static int dissect_xnap_DRBsSubjectToDLDiscarding_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsSubjectToDLDiscarding_List, DRBsSubjectToDLDiscarding_List_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t DRBsSubjectToEarlyStatusTransfer_Item_sequence[] = { { &hf_xnap_drbID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_dlCount , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DLCountChoice }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsSubjectToEarlyStatusTransfer_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsSubjectToEarlyStatusTransfer_Item, DRBsSubjectToEarlyStatusTransfer_Item_sequence); return offset; } static const per_sequence_t DRBsSubjectToEarlyStatusTransfer_List_sequence_of[1] = { { &hf_xnap_DRBsSubjectToEarlyStatusTransfer_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsSubjectToEarlyStatusTransfer_Item }, }; static int dissect_xnap_DRBsSubjectToEarlyStatusTransfer_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsSubjectToEarlyStatusTransfer_List, DRBsSubjectToEarlyStatusTransfer_List_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static int dissect_xnap_BIT_STRING_SIZE_1_2048(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 2048, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t DRBBStatusTransfer12bitsSN_sequence[] = { { &hf_xnap_receiveStatusofPDCPSDU, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BIT_STRING_SIZE_1_2048 }, { &hf_xnap_cOUNTValue , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_COUNT_PDCP_SN12 }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBBStatusTransfer12bitsSN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBBStatusTransfer12bitsSN, DRBBStatusTransfer12bitsSN_sequence); return offset; } static int dissect_xnap_BIT_STRING_SIZE_1_131072(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 131072, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t DRBBStatusTransfer18bitsSN_sequence[] = { { &hf_xnap_receiveStatusofPDCPSDU_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BIT_STRING_SIZE_1_131072 }, { &hf_xnap_cOUNTValue_01 , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_COUNT_PDCP_SN18 }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBBStatusTransfer18bitsSN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBBStatusTransfer18bitsSN, DRBBStatusTransfer18bitsSN_sequence); return offset; } static const value_string xnap_DRBBStatusTransferChoice_vals[] = { { 0, "pdcp-sn-12bits" }, { 1, "pdcp-sn-18bits" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t DRBBStatusTransferChoice_choice[] = { { 0, &hf_xnap_pdcp_sn_12bits , ASN1_NO_EXTENSIONS , dissect_xnap_DRBBStatusTransfer12bitsSN }, { 1, &hf_xnap_pdcp_sn_18bits , ASN1_NO_EXTENSIONS , dissect_xnap_DRBBStatusTransfer18bitsSN }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_DRBBStatusTransferChoice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_DRBBStatusTransferChoice, DRBBStatusTransferChoice_choice, NULL); return offset; } static const per_sequence_t DRBsSubjectToStatusTransfer_Item_sequence[] = { { &hf_xnap_drbID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_pdcpStatusTransfer_UL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRBBStatusTransferChoice }, { &hf_xnap_pdcpStatusTransfer_DL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRBBStatusTransferChoice }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsSubjectToStatusTransfer_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsSubjectToStatusTransfer_Item, DRBsSubjectToStatusTransfer_Item_sequence); return offset; } static const per_sequence_t DRBsSubjectToStatusTransfer_List_sequence_of[1] = { { &hf_xnap_DRBsSubjectToStatusTransfer_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsSubjectToStatusTransfer_Item }, }; static int dissect_xnap_DRBsSubjectToStatusTransfer_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsSubjectToStatusTransfer_List, DRBsSubjectToStatusTransfer_List_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const value_string xnap_Permutation_vals[] = { { 0, "dfu" }, { 1, "ufd" }, { 0, NULL } }; static int dissect_xnap_Permutation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_0_14(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 14U, NULL, FALSE); return offset; } static const per_sequence_t ExplicitFormat_sequence[] = { { &hf_xnap_permutation , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Permutation }, { &hf_xnap_noofDownlinkSymbols, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_INTEGER_0_14 }, { &hf_xnap_noofUplinkSymbols, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_INTEGER_0_14 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ExplicitFormat(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ExplicitFormat, ExplicitFormat_sequence); return offset; } static int dissect_xnap_DUFSlotformatIndex(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 254U, NULL, FALSE); return offset; } static const per_sequence_t ImplicitFormat_sequence[] = { { &hf_xnap_dUFSlotformatIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DUFSlotformatIndex }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ImplicitFormat(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ImplicitFormat, ImplicitFormat_sequence); return offset; } static const value_string xnap_DUF_Slot_Config_Item_vals[] = { { 0, "explicitFormat" }, { 1, "implicitFormat" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t DUF_Slot_Config_Item_choice[] = { { 0, &hf_xnap_explicitFormat , ASN1_NO_EXTENSIONS , dissect_xnap_ExplicitFormat }, { 1, &hf_xnap_implicitFormat , ASN1_NO_EXTENSIONS , dissect_xnap_ImplicitFormat }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_DUF_Slot_Config_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_DUF_Slot_Config_Item, DUF_Slot_Config_Item_choice, NULL); return offset; } static const per_sequence_t DUF_Slot_Config_List_sequence_of[1] = { { &hf_xnap_DUF_Slot_Config_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DUF_Slot_Config_Item }, }; static int dissect_xnap_DUF_Slot_Config_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DUF_Slot_Config_List, DUF_Slot_Config_List_sequence_of, 1, maxnoofDUFSlots, FALSE); return offset; } static const value_string xnap_DUFTransmissionPeriodicity_vals[] = { { 0, "ms0p5" }, { 1, "ms0p625" }, { 2, "ms1" }, { 3, "ms1p25" }, { 4, "ms2" }, { 5, "ms2p5" }, { 6, "ms5" }, { 7, "ms10" }, { 0, NULL } }; static int dissect_xnap_DUFTransmissionPeriodicity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_DU_RX_MT_RX_vals[] = { { 0, "supported" }, { 1, "not-supported" }, { 2, "supported-FDM-required" }, { 0, NULL } }; static int dissect_xnap_DU_RX_MT_RX(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_DU_TX_MT_TX_vals[] = { { 0, "supported" }, { 1, "not-supported" }, { 2, "supported-FDM-required" }, { 0, NULL } }; static int dissect_xnap_DU_TX_MT_TX(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_DU_RX_MT_TX_vals[] = { { 0, "supported" }, { 1, "not-supported" }, { 2, "supported-FDM-required" }, { 0, NULL } }; static int dissect_xnap_DU_RX_MT_TX(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_DU_TX_MT_RX_vals[] = { { 0, "supported" }, { 1, "not-supported" }, { 2, "supported-FDM-required" }, { 0, NULL } }; static int dissect_xnap_DU_TX_MT_RX(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_DuplicationActivation_vals[] = { { 0, "active" }, { 1, "inactive" }, { 0, NULL } }; static int dissect_xnap_DuplicationActivation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_EarlyMeasurement_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_EarlyMeasurement(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_E_RAB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 15U, NULL, TRUE); return offset; } static int dissect_xnap_E_UTRAARFCN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxEARFCN, NULL, FALSE); return offset; } static int dissect_xnap_E_UTRAFrequencyBandIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 256U, NULL, TRUE); return offset; } static const per_sequence_t E_UTRAMultibandInfoList_sequence_of[1] = { { &hf_xnap_E_UTRAMultibandInfoList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRAFrequencyBandIndicator }, }; static int dissect_xnap_E_UTRAMultibandInfoList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_E_UTRAMultibandInfoList, E_UTRAMultibandInfoList_sequence_of, 1, maxnoofEUTRABands, FALSE); return offset; } static const value_string xnap_EUTRAPaging_eDRX_Cycle_vals[] = { { 0, "hfhalf" }, { 1, "hf1" }, { 2, "hf2" }, { 3, "hf4" }, { 4, "hf6" }, { 5, "hf8" }, { 6, "hf10" }, { 7, "hf12" }, { 8, "hf14" }, { 9, "hf16" }, { 10, "hf32" }, { 11, "hf64" }, { 12, "hf128" }, { 13, "hf256" }, { 0, NULL } }; static int dissect_xnap_EUTRAPaging_eDRX_Cycle(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 14, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_EUTRAPaging_Time_Window_vals[] = { { 0, "s1" }, { 1, "s2" }, { 2, "s3" }, { 3, "s4" }, { 4, "s5" }, { 5, "s6" }, { 6, "s7" }, { 7, "s8" }, { 8, "s9" }, { 9, "s10" }, { 10, "s11" }, { 11, "s12" }, { 12, "s13" }, { 13, "s14" }, { 14, "s15" }, { 15, "s16" }, { 0, NULL } }; static int dissect_xnap_EUTRAPaging_Time_Window(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 16, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t EUTRAPagingeDRXInformation_sequence[] = { { &hf_xnap_eutrapaging_eDRX_Cycle, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_EUTRAPaging_eDRX_Cycle }, { &hf_xnap_eutrapaging_Time_Window, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_EUTRAPaging_Time_Window }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_EUTRAPagingeDRXInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_EUTRAPagingeDRXInformation, EUTRAPagingeDRXInformation_sequence); return offset; } static int dissect_xnap_E_UTRAPCI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 503U, NULL, TRUE); return offset; } static int dissect_xnap_INTEGER_0_837(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 837U, NULL, FALSE); return offset; } static int dissect_xnap_INTEGER_0_15(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 15U, NULL, FALSE); return offset; } static const value_string xnap_T_highSpeedFlag_vals[] = { { 0, "true" }, { 1, "false" }, { 0, NULL } }; static int dissect_xnap_T_highSpeedFlag(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_0_94(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 94U, NULL, FALSE); return offset; } static const per_sequence_t E_UTRAPRACHConfiguration_sequence[] = { { &hf_xnap_rootSequenceIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_837 }, { &hf_xnap_zeroCorrelationIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_15 }, { &hf_xnap_highSpeedFlag , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_highSpeedFlag }, { &hf_xnap_prach_FreqOffset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_94 }, { &hf_xnap_prach_ConfigIndex, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_INTEGER_0_63 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_E_UTRAPRACHConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_E_UTRAPRACHConfiguration, E_UTRAPRACHConfiguration_sequence); return offset; } static const value_string xnap_E_UTRATransmissionBandwidth_vals[] = { { 0, "bw6" }, { 1, "bw15" }, { 2, "bw25" }, { 3, "bw50" }, { 4, "bw75" }, { 5, "bw100" }, { 6, "bw1" }, { 0, NULL } }; static int dissect_xnap_E_UTRATransmissionBandwidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, TRUE, 1, NULL); return offset; } static int dissect_xnap_PortNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, -1, 16, 16, FALSE, NULL, 0, &parameter_tvb, NULL); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t EndpointIPAddressAndPort_sequence[] = { { &hf_xnap_endpointIPAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TransportLayerAddress }, { &hf_xnap_portNumber , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PortNumber }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_EndpointIPAddressAndPort(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_EndpointIPAddressAndPort, EndpointIPAddressAndPort_sequence); return offset; } static const value_string xnap_T_outOfCoverage_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_outOfCoverage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_Threshold_RSRP(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 127U, NULL, FALSE); return offset; } static int dissect_xnap_Threshold_RSRQ(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 127U, NULL, FALSE); return offset; } static const value_string xnap_MeasurementThresholdL1LoggedMDT_vals[] = { { 0, "threshold-RSRP" }, { 1, "threshold-RSRQ" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t MeasurementThresholdL1LoggedMDT_choice[] = { { 0, &hf_xnap_threshold_RSRP , ASN1_EXTENSION_ROOT , dissect_xnap_Threshold_RSRP }, { 1, &hf_xnap_threshold_RSRQ , ASN1_EXTENSION_ROOT , dissect_xnap_Threshold_RSRQ }, { 2, &hf_xnap_choice_extension, ASN1_NOT_EXTENSION_ROOT, dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_MeasurementThresholdL1LoggedMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_MeasurementThresholdL1LoggedMDT, MeasurementThresholdL1LoggedMDT_choice, NULL); return offset; } static int dissect_xnap_Hysteresis(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 30U, NULL, FALSE); return offset; } static const value_string xnap_TimeToTrigger_vals[] = { { 0, "ms0" }, { 1, "ms40" }, { 2, "ms64" }, { 3, "ms80" }, { 4, "ms100" }, { 5, "ms128" }, { 6, "ms160" }, { 7, "ms256" }, { 8, "ms320" }, { 9, "ms480" }, { 10, "ms512" }, { 11, "ms640" }, { 12, "ms1024" }, { 13, "ms1280" }, { 14, "ms2560" }, { 15, "ms5120" }, { 0, NULL } }; static int dissect_xnap_TimeToTrigger(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 16, NULL, FALSE, 0, NULL); return offset; } static const per_sequence_t EventL1_sequence[] = { { &hf_xnap_l1Threshold , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MeasurementThresholdL1LoggedMDT }, { &hf_xnap_hysteresis , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Hysteresis }, { &hf_xnap_timeToTrigger , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TimeToTrigger }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_EventL1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_EventL1, EventL1_sequence); return offset; } static const value_string xnap_EventTypeTrigger_vals[] = { { 0, "outOfCoverage" }, { 1, "eventL1" }, { 2, "choice-Extensions" }, { 0, NULL } }; static const per_choice_t EventTypeTrigger_choice[] = { { 0, &hf_xnap_outOfCoverage , ASN1_NO_EXTENSIONS , dissect_xnap_T_outOfCoverage }, { 1, &hf_xnap_eventL1 , ASN1_NO_EXTENSIONS , dissect_xnap_EventL1 }, { 2, &hf_xnap_choice_Extensions, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_EventTypeTrigger(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_EventTypeTrigger, EventTypeTrigger_choice, NULL); return offset; } static const per_sequence_t LoggedEventTriggeredConfig_sequence[] = { { &hf_xnap_eventTypeTrigger, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_EventTypeTrigger }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_LoggedEventTriggeredConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_LoggedEventTriggeredConfig, LoggedEventTriggeredConfig_sequence); return offset; } static const per_sequence_t EventTriggered_sequence[] = { { &hf_xnap_loggedEventTriggeredConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_LoggedEventTriggeredConfig }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_EventTriggered(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_EventTriggered, EventTriggered_sequence); return offset; } static const value_string xnap_EventType_vals[] = { { 0, "report-upon-change-of-serving-cell" }, { 1, "report-UE-moving-presence-into-or-out-of-the-Area-of-Interest" }, { 2, "report-upon-change-of-serving-cell-and-Area-of-Interest" }, { 0, NULL } }; static int dissect_xnap_EventType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 1, NULL); return offset; } static const value_string xnap_ExcessPacketDelayThresholdValue_vals[] = { { 0, "ms0dot25" }, { 1, "ms0dot5" }, { 2, "ms1" }, { 3, "ms2" }, { 4, "ms4" }, { 5, "ms5" }, { 6, "ms10" }, { 7, "ms20" }, { 8, "ms30" }, { 9, "ms40" }, { 10, "ms50" }, { 11, "ms60" }, { 12, "ms70" }, { 13, "ms80" }, { 14, "ms90" }, { 15, "ms100" }, { 16, "ms150" }, { 17, "ms300" }, { 18, "ms500" }, { 0, NULL } }; static int dissect_xnap_ExcessPacketDelayThresholdValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 19, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ExcessPacketDelayThresholdItem_sequence[] = { { &hf_xnap_fiveQI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_FiveQI }, { &hf_xnap_excessPacketDelayThresholdValue, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ExcessPacketDelayThresholdValue }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ExcessPacketDelayThresholdItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ExcessPacketDelayThresholdItem, ExcessPacketDelayThresholdItem_sequence); return offset; } static const per_sequence_t ExcessPacketDelayThresholdConfiguration_sequence_of[1] = { { &hf_xnap_ExcessPacketDelayThresholdConfiguration_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ExcessPacketDelayThresholdItem }, }; static int dissect_xnap_ExcessPacketDelayThresholdConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ExcessPacketDelayThresholdConfiguration, ExcessPacketDelayThresholdConfiguration_sequence_of, 1, maxnoofThresholdsForExcessPacketDelay, FALSE); return offset; } static int dissect_xnap_ExpectedActivityPeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 181U, NULL, TRUE); return offset; } static const value_string xnap_ExpectedHOInterval_vals[] = { { 0, "sec15" }, { 1, "sec30" }, { 2, "sec60" }, { 3, "sec90" }, { 4, "sec120" }, { 5, "sec180" }, { 6, "long-time" }, { 0, NULL } }; static int dissect_xnap_ExpectedHOInterval(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_ExpectedIdlePeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 181U, NULL, TRUE); return offset; } static const value_string xnap_SourceOfUEActivityBehaviourInformation_vals[] = { { 0, "subscription-information" }, { 1, "statistics" }, { 0, NULL } }; static int dissect_xnap_SourceOfUEActivityBehaviourInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ExpectedUEActivityBehaviour_sequence[] = { { &hf_xnap_expectedActivityPeriod, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ExpectedActivityPeriod }, { &hf_xnap_expectedIdlePeriod, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ExpectedIdlePeriod }, { &hf_xnap_sourceOfUEActivityBehaviourInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SourceOfUEActivityBehaviourInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ExpectedUEActivityBehaviour(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ExpectedUEActivityBehaviour, ExpectedUEActivityBehaviour_sequence); return offset; } static const value_string xnap_ExpectedUEMobility_vals[] = { { 0, "stationary" }, { 1, "mobile" }, { 0, NULL } }; static int dissect_xnap_ExpectedUEMobility(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ExpectedUEMovingTrajectoryItem_sequence[] = { { &hf_xnap_nGRAN_CGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANCell_ID }, { &hf_xnap_timeStayedInCell, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_INTEGER_0_4095 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ExpectedUEMovingTrajectoryItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ExpectedUEMovingTrajectoryItem, ExpectedUEMovingTrajectoryItem_sequence); return offset; } static const per_sequence_t ExpectedUEMovingTrajectory_sequence_of[1] = { { &hf_xnap_ExpectedUEMovingTrajectory_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ExpectedUEMovingTrajectoryItem }, }; static int dissect_xnap_ExpectedUEMovingTrajectory(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ExpectedUEMovingTrajectory, ExpectedUEMovingTrajectory_sequence_of, 1, maxnoofCellsUEMovingTrajectory, FALSE); return offset; } static const per_sequence_t ExpectedUEBehaviour_sequence[] = { { &hf_xnap_expectedUEActivityBehaviour, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ExpectedUEActivityBehaviour }, { &hf_xnap_expectedHOInterval, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ExpectedHOInterval }, { &hf_xnap_expectedUEMobility, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ExpectedUEMobility }, { &hf_xnap_expectedUEMovingTrajectory, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ExpectedUEMovingTrajectory }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ExpectedUEBehaviour(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ExpectedUEBehaviour, ExpectedUEBehaviour_sequence); return offset; } static int dissect_xnap_T_primaryRATRestriction(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, TRUE, NULL, 0, &parameter_tvb, NULL); if (parameter_tvb) { static int * const fields[] = { &hf_xnap_primaryRATRestriction_e_UTRA, &hf_xnap_primaryRATRestriction_nR, &hf_xnap_primaryRATRestriction_nR_unlicensed, &hf_xnap_primaryRATRestriction_nR_LEO, &hf_xnap_primaryRATRestriction_nR_MEO, &hf_xnap_primaryRATRestriction_nR_GEO, &hf_xnap_primaryRATRestriction_nR_OTHERSAT, &hf_xnap_primaryRATRestriction_reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_primaryRATRestriction); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static int dissect_xnap_T_secondaryRATRestriction(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, TRUE, NULL, 0, &parameter_tvb, NULL); if (parameter_tvb) { static int * const fields[] = { &hf_xnap_secondaryRATRestriction_e_UTRA, &hf_xnap_secondaryRATRestriction_nR, &hf_xnap_secondaryRATRestriction_e_UTRA_unlicensed, &hf_xnap_secondaryRATRestriction_nR_unlicensed, &hf_xnap_secondaryRATRestriction_reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_secondaryRATRestriction); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static const per_sequence_t ExtendedRATRestrictionInformation_sequence[] = { { &hf_xnap_primaryRATRestriction, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_primaryRATRestriction }, { &hf_xnap_secondaryRATRestriction, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_secondaryRATRestriction }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ExtendedRATRestrictionInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ExtendedRATRestrictionInformation, ExtendedRATRestrictionInformation_sequence); return offset; } static int dissect_xnap_ExtendedPacketDelayBudget(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 65535U, NULL, TRUE); return offset; } static const per_sequence_t ExtendedSliceSupportList_sequence_of[1] = { { &hf_xnap_ExtendedSliceSupportList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, }; static int dissect_xnap_ExtendedSliceSupportList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ExtendedSliceSupportList, ExtendedSliceSupportList_sequence_of, 1, maxnoofExtSliceItems, FALSE); return offset; } static int dissect_xnap_ExtendedUEIdentityIndexValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t GTPTLA_Item_sequence[] = { { &hf_xnap_gTPTransportLayerAddresses_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TransportLayerAddress }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GTPTLA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GTPTLA_Item, GTPTLA_Item_sequence); return offset; } static const per_sequence_t GTPTLAs_sequence_of[1] = { { &hf_xnap_GTPTLAs_item , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_GTPTLA_Item }, }; static int dissect_xnap_GTPTLAs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_GTPTLAs, GTPTLAs_sequence_of, 1, maxnoofGTPTLAs, FALSE); return offset; } static const per_sequence_t ExtTLA_Item_sequence[] = { { &hf_xnap_iPsecTLA , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_TransportLayerAddress }, { &hf_xnap_gTPTransportLayerAddresses, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_GTPTLAs }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ExtTLA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ExtTLA_Item, ExtTLA_Item_sequence); return offset; } static const per_sequence_t ExtTLAs_sequence_of[1] = { { &hf_xnap_ExtTLAs_item , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ExtTLA_Item }, }; static int dissect_xnap_ExtTLAs(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ExtTLAs, ExtTLAs_sequence_of, 1, maxnoofExtTLAs, FALSE); return offset; } static int dissect_xnap_F1CTrafficContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static const value_string xnap_F1_terminatingIAB_donorIndicator_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_F1_terminatingIAB_donorIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_T_iPv4Address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, -1, 32, 32, FALSE, NULL, 0, &parameter_tvb, NULL); actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 4, ENC_BIG_ENDIAN); return offset; } static int dissect_xnap_T_iPv6Address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, -1, 128, 128, FALSE, NULL, 0, &parameter_tvb, NULL); actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 16, ENC_BIG_ENDIAN); return offset; } static int dissect_xnap_T_iPv6Prefix(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, -1, 64, 64, FALSE, NULL, 0, &parameter_tvb, NULL); actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 8, ENC_NA); return offset; } static const value_string xnap_IABTNLAddress_vals[] = { { 0, "iPv4Address" }, { 1, "iPv6Address" }, { 2, "iPv6Prefix" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t IABTNLAddress_choice[] = { { 0, &hf_xnap_iPv4Address , ASN1_NO_EXTENSIONS , dissect_xnap_T_iPv4Address }, { 1, &hf_xnap_iPv6Address_01 , ASN1_NO_EXTENSIONS , dissect_xnap_T_iPv6Address }, { 2, &hf_xnap_iPv6Prefix_01 , ASN1_NO_EXTENSIONS , dissect_xnap_T_iPv6Prefix }, { 3, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_IABTNLAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_IABTNLAddress, IABTNLAddress_choice, NULL); return offset; } static const per_sequence_t ULF1Terminating_BHInfo_sequence[] = { { &hf_xnap_ingressBAPRoutingID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPRoutingID }, { &hf_xnap_ingressBHRLCCHID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BHRLCChannelID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ULF1Terminating_BHInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ULF1Terminating_BHInfo, ULF1Terminating_BHInfo_sequence); return offset; } static const per_sequence_t F1TerminatingBHInformation_Item_sequence[] = { { &hf_xnap_bHInfoIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BHInfoIndex }, { &hf_xnap_dLTNLAddress , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddress }, { &hf_xnap_dlF1TerminatingBHInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DLF1Terminating_BHInfo }, { &hf_xnap_ulF1TerminatingBHInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ULF1Terminating_BHInfo }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_F1TerminatingBHInformation_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_F1TerminatingBHInformation_Item, F1TerminatingBHInformation_Item_sequence); return offset; } static const per_sequence_t F1TerminatingBHInformation_List_sequence_of[1] = { { &hf_xnap_F1TerminatingBHInformation_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_F1TerminatingBHInformation_Item }, }; static int dissect_xnap_F1TerminatingBHInformation_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_F1TerminatingBHInformation_List, F1TerminatingBHInformation_List_sequence_of, 1, maxnoofBHInfo, FALSE); return offset; } static const per_sequence_t F1_TerminatingTopologyBHInformation_sequence[] = { { &hf_xnap_f1TerminatingBHInformation_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_F1TerminatingBHInformation_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_F1_TerminatingTopologyBHInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_F1_TerminatingTopologyBHInformation, F1_TerminatingTopologyBHInformation_sequence); return offset; } static int dissect_xnap_FiveGCMobilityRestrictionListContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_FiveGCMobilityRestrictionListContainer); dissect_ngap_MobilityRestrictionList_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const value_string xnap_FiveGProSeDirectDiscovery_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_xnap_FiveGProSeDirectDiscovery(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_FiveGProSeDirectCommunication_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_xnap_FiveGProSeDirectCommunication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_FiveGProSeLayer2UEtoNetworkRelay_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_xnap_FiveGProSeLayer2UEtoNetworkRelay(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_FiveGProSeLayer3UEtoNetworkRelay_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_xnap_FiveGProSeLayer3UEtoNetworkRelay(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_FiveGProSeLayer2RemoteUE_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_xnap_FiveGProSeLayer2RemoteUE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t FiveGProSeAuthorized_sequence[] = { { &hf_xnap_fiveGproSeDirectDiscovery, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_FiveGProSeDirectDiscovery }, { &hf_xnap_fiveGproSeDirectCommunication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_FiveGProSeDirectCommunication }, { &hf_xnap_fiveGnrProSeLayer2UEtoNetworkRelay, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_FiveGProSeLayer2UEtoNetworkRelay }, { &hf_xnap_fiveGnrProSeLayer3UEtoNetworkRelay, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_FiveGProSeLayer3UEtoNetworkRelay }, { &hf_xnap_fiveGnrProSeLayer2RemoteUE, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_FiveGProSeLayer2RemoteUE }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FiveGProSeAuthorized(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FiveGProSeAuthorized, FiveGProSeAuthorized_sequence); return offset; } static const per_sequence_t FiveGProSePC5FlowBitRates_sequence[] = { { &hf_xnap_fiveGproSeguaranteedFlowBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_fiveGproSemaximumFlowBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FiveGProSePC5FlowBitRates(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FiveGProSePC5FlowBitRates, FiveGProSePC5FlowBitRates_sequence); return offset; } static const value_string xnap_Range_vals[] = { { 0, "m50" }, { 1, "m80" }, { 2, "m180" }, { 3, "m200" }, { 4, "m350" }, { 5, "m400" }, { 6, "m500" }, { 7, "m700" }, { 8, "m1000" }, { 0, NULL } }; static int dissect_xnap_Range(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 9, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t FiveGProSePC5QoSFlowItem_sequence[] = { { &hf_xnap_fiveGproSepQI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_FiveQI }, { &hf_xnap_fiveGproSepc5FlowBitRates, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_FiveGProSePC5FlowBitRates }, { &hf_xnap_fiveGproSerange, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Range }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FiveGProSePC5QoSFlowItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FiveGProSePC5QoSFlowItem, FiveGProSePC5QoSFlowItem_sequence); return offset; } static const per_sequence_t FiveGProSePC5QoSFlowList_sequence_of[1] = { { &hf_xnap_FiveGProSePC5QoSFlowList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_FiveGProSePC5QoSFlowItem }, }; static int dissect_xnap_FiveGProSePC5QoSFlowList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_FiveGProSePC5QoSFlowList, FiveGProSePC5QoSFlowList_sequence_of, 1, maxnoofPC5QoSFlows, FALSE); return offset; } static const per_sequence_t FiveGProSePC5QoSParameters_sequence[] = { { &hf_xnap_fiveGProSepc5QoSFlowList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_FiveGProSePC5QoSFlowList }, { &hf_xnap_fiveGproSepc5LinkAggregateBitRates, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BitRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FiveGProSePC5QoSParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FiveGProSePC5QoSParameters, FiveGProSePC5QoSParameters_sequence); return offset; } static const per_sequence_t Flows_Mapped_To_DRB_Item_sequence[] = { { &hf_xnap_qoSFlowIdentifier, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_qoSFlowLevelQoSParameters, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_qoSFlowMappingIndication, ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_QoSFlowMappingIndication }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Flows_Mapped_To_DRB_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Flows_Mapped_To_DRB_Item, Flows_Mapped_To_DRB_Item_sequence); return offset; } static const per_sequence_t Flows_Mapped_To_DRB_List_sequence_of[1] = { { &hf_xnap_Flows_Mapped_To_DRB_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Flows_Mapped_To_DRB_Item }, }; static int dissect_xnap_Flows_Mapped_To_DRB_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Flows_Mapped_To_DRB_List, Flows_Mapped_To_DRB_List_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static int dissect_xnap_INTEGER_0_maxnoofRBsetsPerCell1_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxnoofRBsetsPerCell1, NULL, TRUE); return offset; } static int dissect_xnap_INTEGER_1_maxnoofHSNASlots(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, maxnoofHSNASlots, NULL, FALSE); return offset; } static const value_string xnap_HSNADownlink_vals[] = { { 0, "hard" }, { 1, "soft" }, { 2, "notavailable" }, { 0, NULL } }; static int dissect_xnap_HSNADownlink(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, FALSE, 0, NULL); return offset; } static const value_string xnap_HSNAUplink_vals[] = { { 0, "hard" }, { 1, "soft" }, { 2, "notavailable" }, { 0, NULL } }; static int dissect_xnap_HSNAUplink(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, FALSE, 0, NULL); return offset; } static const value_string xnap_HSNAFlexible_vals[] = { { 0, "hard" }, { 1, "soft" }, { 2, "notavailable" }, { 0, NULL } }; static int dissect_xnap_HSNAFlexible(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, FALSE, 0, NULL); return offset; } static const per_sequence_t FreqDomainSlotHSNAconfiguration_List_Item_sequence[] = { { &hf_xnap_slotIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_maxnoofHSNASlots }, { &hf_xnap_hSNADownlink , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_HSNADownlink }, { &hf_xnap_hSNAUplink , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_HSNAUplink }, { &hf_xnap_hSNAFlexible , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_HSNAFlexible }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FreqDomainSlotHSNAconfiguration_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FreqDomainSlotHSNAconfiguration_List_Item, FreqDomainSlotHSNAconfiguration_List_Item_sequence); return offset; } static const per_sequence_t FreqDomainSlotHSNAconfiguration_List_sequence_of[1] = { { &hf_xnap_FreqDomainSlotHSNAconfiguration_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_FreqDomainSlotHSNAconfiguration_List_Item }, }; static int dissect_xnap_FreqDomainSlotHSNAconfiguration_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_FreqDomainSlotHSNAconfiguration_List, FreqDomainSlotHSNAconfiguration_List_sequence_of, 1, maxnoofHSNASlots, FALSE); return offset; } static const per_sequence_t FreqDomainHSNAconfiguration_List_Item_sequence[] = { { &hf_xnap_rBsetIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_maxnoofRBsetsPerCell1_ }, { &hf_xnap_freqDomainSlotHSNAconfiguration_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_FreqDomainSlotHSNAconfiguration_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FreqDomainHSNAconfiguration_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FreqDomainHSNAconfiguration_List_Item, FreqDomainHSNAconfiguration_List_Item_sequence); return offset; } static const per_sequence_t FreqDomainHSNAconfiguration_List_sequence_of[1] = { { &hf_xnap_FreqDomainHSNAconfiguration_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_FreqDomainHSNAconfiguration_List_Item }, }; static int dissect_xnap_FreqDomainHSNAconfiguration_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_FreqDomainHSNAconfiguration_List, FreqDomainHSNAconfiguration_List_sequence_of, 1, maxnoofHSNASlots, FALSE); return offset; } static const value_string xnap_FrequencyShift7p5khz_vals[] = { { 0, "false" }, { 1, "true" }, { 0, NULL } }; static int dissect_xnap_FrequencyShift7p5khz(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SSB_subcarrierSpacing_vals[] = { { 0, "kHz15" }, { 1, "kHz30" }, { 2, "kHz120" }, { 3, "kHz240" }, { 4, "spare3" }, { 5, "spare2" }, { 6, "spare1" }, { 0, NULL } }; static int dissect_xnap_SSB_subcarrierSpacing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_HSNATransmissionPeriodicity_vals[] = { { 0, "ms0p5" }, { 1, "ms0p625" }, { 2, "ms1" }, { 3, "ms1p25" }, { 4, "ms2" }, { 5, "ms2p5" }, { 6, "ms5" }, { 7, "ms10" }, { 8, "ms20" }, { 9, "ms40" }, { 10, "ms80" }, { 11, "ms160" }, { 0, NULL } }; static int dissect_xnap_HSNATransmissionPeriodicity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 12, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t HSNASlotConfigItem_sequence[] = { { &hf_xnap_hSNADownlink , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_HSNADownlink }, { &hf_xnap_hSNAUplink , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_HSNAUplink }, { &hf_xnap_hSNAFlexible , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_HSNAFlexible }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_HSNASlotConfigItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_HSNASlotConfigItem, HSNASlotConfigItem_sequence); return offset; } static const per_sequence_t HSNASlotConfigList_sequence_of[1] = { { &hf_xnap_HSNASlotConfigList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_HSNASlotConfigItem }, }; static int dissect_xnap_HSNASlotConfigList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_HSNASlotConfigList, HSNASlotConfigList_sequence_of, 1, maxnoofHSNASlots, FALSE); return offset; } static const value_string xnap_T_rBsetSize_vals[] = { { 0, "rb2" }, { 1, "rb4" }, { 2, "rb8" }, { 3, "rb16" }, { 4, "rb32" }, { 5, "rb64" }, { 0, NULL } }; static int dissect_xnap_T_rBsetSize(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, FALSE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_1_maxnoofRBsetsPerCell(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, maxnoofRBsetsPerCell, NULL, FALSE); return offset; } static const per_sequence_t RBsetConfiguration_sequence[] = { { &hf_xnap_subcarrierSpacing, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_subcarrierSpacing }, { &hf_xnap_rBsetSize , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_rBsetSize }, { &hf_xnap_numberofRBSets , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_maxnoofRBsetsPerCell }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RBsetConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RBsetConfiguration, RBsetConfiguration_sequence); return offset; } static const value_string xnap_T_nAdownlin_vals[] = { { 0, "true" }, { 1, "false" }, { 0, NULL } }; static int dissect_xnap_T_nAdownlin(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_nAuplink_vals[] = { { 0, "true" }, { 1, "false" }, { 0, NULL } }; static int dissect_xnap_T_nAuplink(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_nAflexible_vals[] = { { 0, "true" }, { 1, "false" }, { 0, NULL } }; static int dissect_xnap_T_nAflexible(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t NACellResourceConfiguration_Item_sequence[] = { { &hf_xnap_nAdownlin , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_nAdownlin }, { &hf_xnap_nAuplink , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_nAuplink }, { &hf_xnap_nAflexible , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_nAflexible }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NACellResourceConfiguration_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NACellResourceConfiguration_Item, NACellResourceConfiguration_Item_sequence); return offset; } static const per_sequence_t NACellResourceConfigurationList_sequence_of[1] = { { &hf_xnap_NACellResourceConfigurationList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NACellResourceConfiguration_Item }, }; static int dissect_xnap_NACellResourceConfigurationList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NACellResourceConfigurationList, NACellResourceConfigurationList_sequence_of, 1, maxnoofHSNASlots, FALSE); return offset; } static const per_sequence_t GNB_DU_Cell_Resource_Configuration_sequence[] = { { &hf_xnap_subcarrierSpacing, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_subcarrierSpacing }, { &hf_xnap_dUFTransmissionPeriodicity, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DUFTransmissionPeriodicity }, { &hf_xnap_dUF_Slot_Config_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DUF_Slot_Config_List }, { &hf_xnap_hSNATransmissionPeriodicity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_HSNATransmissionPeriodicity }, { &hf_xnap_hNSASlotConfigList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_HSNASlotConfigList }, { &hf_xnap_rBsetConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RBsetConfiguration }, { &hf_xnap_freqDomainHSNAconfiguration_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_FreqDomainHSNAconfiguration_List }, { &hf_xnap_nACellResourceConfigurationList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NACellResourceConfigurationList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GNB_DU_Cell_Resource_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GNB_DU_Cell_Resource_Configuration, GNB_DU_Cell_Resource_Configuration_sequence); return offset; } static int dissect_xnap_BIT_STRING_SIZE_10(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 10, 10, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t GUAMI_sequence[] = { { &hf_xnap_plmn_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_amf_region_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_8 }, { &hf_xnap_amf_set_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_10 }, { &hf_xnap_amf_pointer , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_6 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_GUAMI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); xnap_data->number_type = E212_GUAMI; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_GUAMI, GUAMI_sequence); return offset; } static const value_string xnap_HandoverReportType_vals[] = { { 0, "hoTooEarly" }, { 1, "hoToWrongCell" }, { 2, "intersystempingpong" }, { 0, NULL } }; static int dissect_xnap_HandoverReportType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_HashedUEIdentityIndexValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 13, 13, TRUE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_INTEGER_0_2199_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 2199U, NULL, TRUE); return offset; } static int dissect_xnap_INTEGER_0_maxnoofPhysicalResourceBlocks_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxnoofPhysicalResourceBlocks, NULL, TRUE); return offset; } static const per_sequence_t NRCarrierItem_sequence[] = { { &hf_xnap_carrierSCS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRSCS }, { &hf_xnap_offsetToCarrier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_2199_ }, { &hf_xnap_carrierBandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_maxnoofPhysicalResourceBlocks_ }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRCarrierItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRCarrierItem, NRCarrierItem_sequence); return offset; } static const per_sequence_t NRCarrierList_sequence_of[1] = { { &hf_xnap_NRCarrierList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NRCarrierItem }, }; static int dissect_xnap_NRCarrierList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NRCarrierList, NRCarrierList_sequence_of, 1, maxnoofNRSCSs, FALSE); return offset; } static const per_sequence_t IAB_DU_Cell_Resource_Configuration_TDD_Info_sequence[] = { { &hf_xnap_gNB_DU_Cell_Resource_Configuration_TDD, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GNB_DU_Cell_Resource_Configuration }, { &hf_xnap_frequencyInfo , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRFrequencyInfo }, { &hf_xnap_transmissionBandwidth, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRTransmissionBandwidth }, { &hf_xnap_carrierList , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRCarrierList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IAB_DU_Cell_Resource_Configuration_TDD_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_DU_Cell_Resource_Configuration_TDD_Info, IAB_DU_Cell_Resource_Configuration_TDD_Info_sequence); return offset; } static const per_sequence_t IAB_DU_Cell_Resource_Configuration_FDD_Info_sequence[] = { { &hf_xnap_gNB_DU_Cell_Resource_Configuration_FDD_UL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GNB_DU_Cell_Resource_Configuration }, { &hf_xnap_gNB_DU_Cell_Resource_Configuration_FDD_DL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GNB_DU_Cell_Resource_Configuration }, { &hf_xnap_uLFrequencyInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRFrequencyInfo }, { &hf_xnap_dLFrequencyInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRFrequencyInfo }, { &hf_xnap_uLTransmissionBandwidth, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRTransmissionBandwidth }, { &hf_xnap_dlTransmissionBandwidth, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRTransmissionBandwidth }, { &hf_xnap_uLCarrierList , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRCarrierList }, { &hf_xnap_dlCarrierList , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRCarrierList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IAB_DU_Cell_Resource_Configuration_FDD_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_DU_Cell_Resource_Configuration_FDD_Info, IAB_DU_Cell_Resource_Configuration_FDD_Info_sequence); return offset; } static const value_string xnap_IAB_DU_Cell_Resource_Configuration_Mode_Info_vals[] = { { 0, "tDD" }, { 1, "fDD" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t IAB_DU_Cell_Resource_Configuration_Mode_Info_choice[] = { { 0, &hf_xnap_tDD , ASN1_NO_EXTENSIONS , dissect_xnap_IAB_DU_Cell_Resource_Configuration_TDD_Info }, { 1, &hf_xnap_fDD , ASN1_NO_EXTENSIONS , dissect_xnap_IAB_DU_Cell_Resource_Configuration_FDD_Info }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_IAB_DU_Cell_Resource_Configuration_Mode_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_DU_Cell_Resource_Configuration_Mode_Info, IAB_DU_Cell_Resource_Configuration_Mode_Info_choice, NULL); return offset; } static int dissect_xnap_SSB_freqInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, maxNRARFCN, NULL, FALSE); return offset; } static const value_string xnap_SSB_transmissionPeriodicity_vals[] = { { 0, "sf10" }, { 1, "sf20" }, { 2, "sf40" }, { 3, "sf80" }, { 4, "sf160" }, { 5, "sf320" }, { 6, "sf640" }, { 0, NULL } }; static int dissect_xnap_SSB_transmissionPeriodicity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_SSB_transmissionTimingOffset(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 127U, NULL, TRUE); return offset; } static int dissect_xnap_BIT_STRING_SIZE_4(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_64(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 64, 64, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_SSB_transmissionBitmap_vals[] = { { 0, "shortBitmap" }, { 1, "mediumBitmap" }, { 2, "longBitmap" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t SSB_transmissionBitmap_choice[] = { { 0, &hf_xnap_shortBitmap , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_4 }, { 1, &hf_xnap_mediumBitmap , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_8 }, { 2, &hf_xnap_longBitmap , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_64 }, { 3, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_SSB_transmissionBitmap(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_SSB_transmissionBitmap, SSB_transmissionBitmap_choice, NULL); return offset; } static const per_sequence_t IAB_STC_Info_Item_sequence[] = { { &hf_xnap_sSB_freqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_freqInfo }, { &hf_xnap_sSB_subcarrierSpacing, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_subcarrierSpacing }, { &hf_xnap_sSB_transmissionPeriodicity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_transmissionPeriodicity }, { &hf_xnap_sSB_transmissionTimingOffset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_transmissionTimingOffset }, { &hf_xnap_sSB_transmissionBitmap, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSB_transmissionBitmap }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IAB_STC_Info_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_STC_Info_Item, IAB_STC_Info_Item_sequence); return offset; } static const per_sequence_t IAB_STC_Info_List_sequence_of[1] = { { &hf_xnap_IAB_STC_Info_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_IAB_STC_Info_Item }, }; static int dissect_xnap_IAB_STC_Info_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_STC_Info_List, IAB_STC_Info_List_sequence_of, 1, maxnoofIABSTCInfo, FALSE); return offset; } static const per_sequence_t IAB_STC_Info_sequence[] = { { &hf_xnap_iAB_STC_Info_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IAB_STC_Info_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IAB_STC_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_STC_Info, IAB_STC_Info_sequence); return offset; } static int dissect_xnap_RACH_Config_Common(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_RACH_Config_Common); dissect_nr_rrc_RACH_ConfigCommon_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_RACH_Config_Common_IAB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_RACH_Config_Common_IAB); dissect_nr_rrc_rach_ConfigCommonIAB_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_cSI_RS_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_cSI_RS_Configuration); dissect_nr_rrc_NZP_CSI_RS_Resource_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_sR_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_sR_Configuration); dissect_nr_rrc_SchedulingRequestResourceConfig_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_pDCCH_ConfigSIB1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_pDCCH_ConfigSIB1); dissect_nr_rrc_PDCCH_ConfigSIB1_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_sCS_Common(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_sCS_Common); dissect_nr_rrc_subCarrierSpacingCommon_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t IAB_MT_Cell_List_Item_sequence[] = { { &hf_xnap_nRCellIdentity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_Cell_Identity }, { &hf_xnap_dU_RX_MT_RX , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DU_RX_MT_RX }, { &hf_xnap_dU_TX_MT_TX , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DU_TX_MT_TX }, { &hf_xnap_dU_RX_MT_TX , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DU_RX_MT_TX }, { &hf_xnap_dU_TX_MT_RX , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DU_TX_MT_RX }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IAB_MT_Cell_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_MT_Cell_List_Item, IAB_MT_Cell_List_Item_sequence); return offset; } static const per_sequence_t IAB_MT_Cell_List_sequence_of[1] = { { &hf_xnap_IAB_MT_Cell_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_IAB_MT_Cell_List_Item }, }; static int dissect_xnap_IAB_MT_Cell_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_MT_Cell_List, IAB_MT_Cell_List_sequence_of, 1, maxnoofServingCells, FALSE); return offset; } static const per_sequence_t MultiplexingInfo_sequence[] = { { &hf_xnap_iAB_MT_Cell_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IAB_MT_Cell_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MultiplexingInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MultiplexingInfo, MultiplexingInfo_sequence); return offset; } static const per_sequence_t IABCellInformation_sequence[] = { { &hf_xnap_nRCGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_iAB_DU_Cell_Resource_Configuration_Mode_Info, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_IAB_DU_Cell_Resource_Configuration_Mode_Info }, { &hf_xnap_iAB_STC_Info , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_IAB_STC_Info }, { &hf_xnap_rACH_Config_Common, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RACH_Config_Common }, { &hf_xnap_rACH_Config_Common_IAB, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RACH_Config_Common_IAB }, { &hf_xnap_cSI_RS_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_cSI_RS_Configuration }, { &hf_xnap_sR_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_sR_Configuration }, { &hf_xnap_pDCCH_ConfigSIB1, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_pDCCH_ConfigSIB1 }, { &hf_xnap_sCS_Common , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_sCS_Common }, { &hf_xnap_multiplexingInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MultiplexingInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABCellInformation, IABCellInformation_sequence); return offset; } static const value_string xnap_IABNodeIndication_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_IABNodeIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_1_256(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 256U, NULL, FALSE); return offset; } static const per_sequence_t IABTNLAddressesRequested_sequence[] = { { &hf_xnap_tNLAddressesOrPrefixesRequestedAllTraffic, ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_INTEGER_1_256 }, { &hf_xnap_tNLAddressesOrPrefixesRequestedF1_C, ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_INTEGER_1_256 }, { &hf_xnap_tNLAddressesOrPrefixesRequestedF1_U, ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_INTEGER_1_256 }, { &hf_xnap_tNLAddressesOrPrefixesRequestedNoNF1, ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_INTEGER_1_256 }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTNLAddressesRequested(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTNLAddressesRequested, IABTNLAddressesRequested_sequence); return offset; } static const value_string xnap_IABIPv6RequestType_vals[] = { { 0, "iPv6Address" }, { 1, "iPv6Prefix" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t IABIPv6RequestType_choice[] = { { 0, &hf_xnap_iPv6Address , ASN1_NO_EXTENSIONS , dissect_xnap_IABTNLAddressesRequested }, { 1, &hf_xnap_iPv6Prefix , ASN1_NO_EXTENSIONS , dissect_xnap_IABTNLAddressesRequested }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_IABIPv6RequestType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_IABIPv6RequestType, IABIPv6RequestType_choice, NULL); return offset; } static const per_sequence_t IABTNLAddressToRemove_Item_sequence[] = { { &hf_xnap_iABTNLAddress , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddress }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTNLAddressToRemove_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTNLAddressToRemove_Item, IABTNLAddressToRemove_Item_sequence); return offset; } static const per_sequence_t IABTNLAddressToRemove_List_sequence_of[1] = { { &hf_xnap_IABTNLAddressToRemove_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddressToRemove_Item }, }; static int dissect_xnap_IABTNLAddressToRemove_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_IABTNLAddressToRemove_List, IABTNLAddressToRemove_List_sequence_of, 1, maxnoofTLAsIAB, FALSE); return offset; } static const per_sequence_t IAB_TNL_Address_Request_sequence[] = { { &hf_xnap_iABIPv4AddressesRequested, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddressesRequested }, { &hf_xnap_iABIPv6RequestType, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABIPv6RequestType }, { &hf_xnap_iABTNLAddressToRemove_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddressToRemove_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IAB_TNL_Address_Request(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_TNL_Address_Request, IAB_TNL_Address_Request_sequence); return offset; } static const value_string xnap_IABTNLAddressUsage_vals[] = { { 0, "f1-c" }, { 1, "f1-u" }, { 2, "non-f1" }, { 3, "all" }, { 0, NULL } }; static int dissect_xnap_IABTNLAddressUsage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 1, NULL); return offset; } static const per_sequence_t IABAllocatedTNLAddress_Item_sequence[] = { { &hf_xnap_iABTNLAddress , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddress }, { &hf_xnap_iABTNLAddressUsage, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_IABTNLAddressUsage }, { &hf_xnap_associatedDonorDUAddress, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BAPAddress }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABAllocatedTNLAddress_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABAllocatedTNLAddress_Item, IABAllocatedTNLAddress_Item_sequence); return offset; } static const per_sequence_t IABAllocatedTNLAddress_List_sequence_of[1] = { { &hf_xnap_IABAllocatedTNLAddress_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_IABAllocatedTNLAddress_Item }, }; static int dissect_xnap_IABAllocatedTNLAddress_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_IABAllocatedTNLAddress_List, IABAllocatedTNLAddress_List_sequence_of, 1, maxnoofTLAsIAB, FALSE); return offset; } static const per_sequence_t IAB_TNL_Address_Response_sequence[] = { { &hf_xnap_iABAllocatedTNLAddress_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABAllocatedTNLAddress_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IAB_TNL_Address_Response(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IAB_TNL_Address_Response, IAB_TNL_Address_Response_sequence); return offset; } static const per_sequence_t IABTNLAddress_Item_sequence[] = { { &hf_xnap_iABTNLAddress , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddress }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTNLAddress_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTNLAddress_Item, IABTNLAddress_Item_sequence); return offset; } static const per_sequence_t IABTNLAddressException_sequence_of[1] = { { &hf_xnap_IABTNLAddressException_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddress_Item }, }; static int dissect_xnap_IABTNLAddressException(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_IABTNLAddressException, IABTNLAddressException_sequence_of, 1, maxnoofTLAsIAB, FALSE); return offset; } static int dissect_xnap_MeasurementsToActivate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_xnap_MeasurementsToActivate_M1, &hf_xnap_MeasurementsToActivate_M2, &hf_xnap_MeasurementsToActivate_M3, &hf_xnap_MeasurementsToActivate_M4, &hf_xnap_MeasurementsToActivate_M5, &hf_xnap_MeasurementsToActivate_LoggingM1FromEventTriggered, &hf_xnap_MeasurementsToActivate_M6, &hf_xnap_MeasurementsToActivate_M7, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_MeasurementsToActivate); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string xnap_M1ReportingTrigger_vals[] = { { 0, "periodic" }, { 1, "a2eventtriggered" }, { 2, "a2eventtriggered-periodic" }, { 0, NULL } }; static int dissect_xnap_M1ReportingTrigger(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_Threshold_SINR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 127U, NULL, FALSE); return offset; } static const value_string xnap_MeasurementThresholdA2_vals[] = { { 0, "threshold-RSRP" }, { 1, "threshold-RSRQ" }, { 2, "threshold-SINR" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t MeasurementThresholdA2_choice[] = { { 0, &hf_xnap_threshold_RSRP , ASN1_NO_EXTENSIONS , dissect_xnap_Threshold_RSRP }, { 1, &hf_xnap_threshold_RSRQ , ASN1_NO_EXTENSIONS , dissect_xnap_Threshold_RSRQ }, { 2, &hf_xnap_threshold_SINR , ASN1_NO_EXTENSIONS , dissect_xnap_Threshold_SINR }, { 3, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_MeasurementThresholdA2(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_MeasurementThresholdA2, MeasurementThresholdA2_choice, NULL); return offset; } static const per_sequence_t M1ThresholdEventA2_sequence[] = { { &hf_xnap_measurementThreshold, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MeasurementThresholdA2 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_M1ThresholdEventA2(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_M1ThresholdEventA2, M1ThresholdEventA2_sequence); return offset; } static const value_string xnap_ReportIntervalMDT_vals[] = { { 0, "ms120" }, { 1, "ms240" }, { 2, "ms480" }, { 3, "ms640" }, { 4, "ms1024" }, { 5, "ms2048" }, { 6, "ms5120" }, { 7, "ms10240" }, { 8, "min1" }, { 9, "min6" }, { 10, "min12" }, { 11, "min30" }, { 12, "min60" }, { 0, NULL } }; static int dissect_xnap_ReportIntervalMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 13, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_ReportAmountMDT_vals[] = { { 0, "r1" }, { 1, "r2" }, { 2, "r4" }, { 3, "r8" }, { 4, "r16" }, { 5, "r32" }, { 6, "r64" }, { 7, "infinity" }, { 0, NULL } }; static int dissect_xnap_ReportAmountMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t M1PeriodicReporting_sequence[] = { { &hf_xnap_reportInterval , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ReportIntervalMDT }, { &hf_xnap_reportAmount , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ReportAmountMDT }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_M1PeriodicReporting(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_M1PeriodicReporting, M1PeriodicReporting_sequence); return offset; } static const per_sequence_t M1Configuration_sequence[] = { { &hf_xnap_m1reportingTrigger, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_M1ReportingTrigger }, { &hf_xnap_m1thresholdeventA2, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_M1ThresholdEventA2 }, { &hf_xnap_m1periodicReporting, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_M1PeriodicReporting }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_M1Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_M1Configuration, M1Configuration_sequence); return offset; } static const value_string xnap_M4period_vals[] = { { 0, "ms1024" }, { 1, "ms2048" }, { 2, "ms5120" }, { 3, "ms10240" }, { 4, "min1" }, { 0, NULL } }; static int dissect_xnap_M4period(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_Links_to_log_vals[] = { { 0, "uplink" }, { 1, "downlink" }, { 2, "both-uplink-and-downlink" }, { 0, NULL } }; static int dissect_xnap_Links_to_log(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t M4Configuration_sequence[] = { { &hf_xnap_m4period , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_M4period }, { &hf_xnap_m4_links_to_log, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Links_to_log }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_M4Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_M4Configuration, M4Configuration_sequence); return offset; } static const value_string xnap_M5period_vals[] = { { 0, "ms1024" }, { 1, "ms2048" }, { 2, "ms5120" }, { 3, "ms10240" }, { 4, "min1" }, { 0, NULL } }; static int dissect_xnap_M5period(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t M5Configuration_sequence[] = { { &hf_xnap_m5period , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_M5period }, { &hf_xnap_m5_links_to_log, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Links_to_log }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_M5Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_M5Configuration, M5Configuration_sequence); return offset; } static int dissect_xnap_MDT_Location_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, &parameter_tvb, NULL); if (parameter_tvb) { static int * const fields[] = { &hf_xnap_MDT_Location_Info_GNSS, &hf_xnap_MDT_Location_Info_reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_MDT_Location_Info); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string xnap_M6report_Interval_vals[] = { { 0, "ms120" }, { 1, "ms240" }, { 2, "ms480" }, { 3, "ms640" }, { 4, "ms1024" }, { 5, "ms2048" }, { 6, "ms5120" }, { 7, "ms10240" }, { 8, "ms20480" }, { 9, "ms40960" }, { 10, "min1" }, { 11, "min6" }, { 12, "min12" }, { 13, "min30" }, { 0, NULL } }; static int dissect_xnap_M6report_Interval(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 14, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t M6Configuration_sequence[] = { { &hf_xnap_m6report_Interval, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_M6report_Interval }, { &hf_xnap_m6_links_to_log, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Links_to_log }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_M6Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_M6Configuration, M6Configuration_sequence); return offset; } static int dissect_xnap_M7period(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 60U, NULL, TRUE); return offset; } static const per_sequence_t M7Configuration_sequence[] = { { &hf_xnap_m7period , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_M7period }, { &hf_xnap_m7_links_to_log, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Links_to_log }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_M7Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_M7Configuration, M7Configuration_sequence); return offset; } static const value_string xnap_WLANMeasConfig_vals[] = { { 0, "setup" }, { 0, NULL } }; static int dissect_xnap_WLANMeasConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_WLANName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, 1, 32, FALSE, &parameter_tvb); actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA); return offset; } static const per_sequence_t WLANMeasConfigNameList_sequence_of[1] = { { &hf_xnap_WLANMeasConfigNameList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_WLANName }, }; static int dissect_xnap_WLANMeasConfigNameList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_WLANMeasConfigNameList, WLANMeasConfigNameList_sequence_of, 1, maxnoofWLANName, FALSE); return offset; } static const value_string xnap_T_wlan_rssi_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_wlan_rssi(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_wlan_rtt_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_wlan_rtt(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t WLANMeasurementConfiguration_sequence[] = { { &hf_xnap_wlanMeasConfig , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_WLANMeasConfig }, { &hf_xnap_wlanMeasConfigNameList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_WLANMeasConfigNameList }, { &hf_xnap_wlan_rssi , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_wlan_rssi }, { &hf_xnap_wlan_rtt , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_wlan_rtt }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_WLANMeasurementConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_WLANMeasurementConfiguration, WLANMeasurementConfiguration_sequence); return offset; } static const value_string xnap_SensorMeasConfig_vals[] = { { 0, "setup" }, { 0, NULL } }; static int dissect_xnap_SensorMeasConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_uncompensatedBarometricConfig_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_uncompensatedBarometricConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_ueSpeedConfig_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_ueSpeedConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_ueOrientationConfig_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_ueOrientationConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SensorName_sequence[] = { { &hf_xnap_uncompensatedBarometricConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_uncompensatedBarometricConfig }, { &hf_xnap_ueSpeedConfig , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_ueSpeedConfig }, { &hf_xnap_ueOrientationConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_ueOrientationConfig }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SensorName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SensorName, SensorName_sequence); return offset; } static const per_sequence_t SensorMeasConfigNameList_sequence_of[1] = { { &hf_xnap_SensorMeasConfigNameList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SensorName }, }; static int dissect_xnap_SensorMeasConfigNameList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SensorMeasConfigNameList, SensorMeasConfigNameList_sequence_of, 1, maxnoofSensorName, FALSE); return offset; } static const per_sequence_t SensorMeasurementConfiguration_sequence[] = { { &hf_xnap_sensorMeasConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SensorMeasConfig }, { &hf_xnap_sensorMeasConfigNameList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SensorMeasConfigNameList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SensorMeasurementConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SensorMeasurementConfiguration, SensorMeasurementConfiguration_sequence); return offset; } static const per_sequence_t ImmediateMDT_NR_sequence[] = { { &hf_xnap_measurementsToActivate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MeasurementsToActivate }, { &hf_xnap_m1Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_M1Configuration }, { &hf_xnap_m4Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_M4Configuration }, { &hf_xnap_m5Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_M5Configuration }, { &hf_xnap_mDT_Location_Info, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MDT_Location_Info }, { &hf_xnap_m6Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_M6Configuration }, { &hf_xnap_m7Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_M7Configuration }, { &hf_xnap_bluetoothMeasurementConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BluetoothMeasurementConfiguration }, { &hf_xnap_wLANMeasurementConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_WLANMeasurementConfiguration }, { &hf_xnap_sensorMeasurementConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SensorMeasurementConfiguration }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ImmediateMDT_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ImmediateMDT_NR, ImmediateMDT_NR_sequence); return offset; } static const value_string xnap_NG_RAN_CellPCI_vals[] = { { 0, "nr" }, { 1, "e-utra" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t NG_RAN_CellPCI_choice[] = { { 0, &hf_xnap_nr_01 , ASN1_NO_EXTENSIONS , dissect_xnap_NRPCI }, { 1, &hf_xnap_e_utra_01 , ASN1_NO_EXTENSIONS , dissect_xnap_E_UTRAPCI }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NG_RAN_CellPCI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NG_RAN_CellPCI, NG_RAN_CellPCI_choice, NULL); return offset; } static int dissect_xnap_MAC_I(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, FALSE, NULL, 0, NULL, NULL); return offset; } static const per_sequence_t RRCReestab_Initiated_Reporting_wo_UERLFReport_sequence[] = { { &hf_xnap_failureCellPCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RAN_CellPCI }, { &hf_xnap_reestabCellCGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANCell_ID }, { &hf_xnap_c_RNTI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_C_RNTI }, { &hf_xnap_shortMAC_I , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MAC_I }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RRCReestab_Initiated_Reporting_wo_UERLFReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RRCReestab_Initiated_Reporting_wo_UERLFReport, RRCReestab_Initiated_Reporting_wo_UERLFReport_sequence); return offset; } static int dissect_xnap_UERLFReportContainerNR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_UERLFReportContainerNR); dissect_nr_rrc_nr_RLF_Report_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_UERLFReportContainerLTE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_UERLFReportContainerLTE); dissect_lte_rrc_RLF_Report_r9_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const value_string xnap_UERLFReportContainer_vals[] = { { 0, "nR-UERLFReportContainer" }, { 1, "lTE-UERLFReportContainer" }, { 2, "choice-Extension" }, { 0, NULL } }; static const per_choice_t UERLFReportContainer_choice[] = { { 0, &hf_xnap_nR_UERLFReportContainer, ASN1_NO_EXTENSIONS , dissect_xnap_UERLFReportContainerNR }, { 1, &hf_xnap_lTE_UERLFReportContainer, ASN1_NO_EXTENSIONS , dissect_xnap_UERLFReportContainerLTE }, { 2, &hf_xnap_choice_Extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_UERLFReportContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_UERLFReportContainer, UERLFReportContainer_choice, NULL); return offset; } static const per_sequence_t RRCReestab_Initiated_Reporting_with_UERLFReport_sequence[] = { { &hf_xnap_uERLFReportContainer, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UERLFReportContainer }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RRCReestab_Initiated_Reporting_with_UERLFReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RRCReestab_Initiated_Reporting_with_UERLFReport, RRCReestab_Initiated_Reporting_with_UERLFReport_sequence); return offset; } static const value_string xnap_RRCReestab_Initiated_Reporting_vals[] = { { 0, "rRCReestab-reporting-wo-UERLFReport" }, { 1, "rRCReestab-reporting-with-UERLFReport" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t RRCReestab_Initiated_Reporting_choice[] = { { 0, &hf_xnap_rRCReestab_reporting_wo_UERLFReport, ASN1_NO_EXTENSIONS , dissect_xnap_RRCReestab_Initiated_Reporting_wo_UERLFReport }, { 1, &hf_xnap_rRCReestab_reporting_with_UERLFReport, ASN1_NO_EXTENSIONS , dissect_xnap_RRCReestab_Initiated_Reporting_with_UERLFReport }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_RRCReestab_Initiated_Reporting(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_RRCReestab_Initiated_Reporting, RRCReestab_Initiated_Reporting_choice, NULL); return offset; } static const per_sequence_t RRCReestab_initiated_sequence[] = { { &hf_xnap_rRRCReestab_initiated_reporting, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RRCReestab_Initiated_Reporting }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RRCReestab_initiated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RRCReestab_initiated, RRCReestab_initiated_sequence); return offset; } static const per_sequence_t RRCSetup_Initiated_Reporting_with_UERLFReport_sequence[] = { { &hf_xnap_uERLFReportContainer, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UERLFReportContainer }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RRCSetup_Initiated_Reporting_with_UERLFReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RRCSetup_Initiated_Reporting_with_UERLFReport, RRCSetup_Initiated_Reporting_with_UERLFReport_sequence); return offset; } static const value_string xnap_RRCSetup_Initiated_Reporting_vals[] = { { 0, "rRCSetup-reporting-with-UERLFReport" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t RRCSetup_Initiated_Reporting_choice[] = { { 0, &hf_xnap_rRCSetup_reporting_with_UERLFReport, ASN1_NO_EXTENSIONS , dissect_xnap_RRCSetup_Initiated_Reporting_with_UERLFReport }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_RRCSetup_Initiated_Reporting(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_RRCSetup_Initiated_Reporting, RRCSetup_Initiated_Reporting_choice, NULL); return offset; } static const per_sequence_t RRCSetup_initiated_sequence[] = { { &hf_xnap_rRRCSetup_Initiated_Reporting, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RRCSetup_Initiated_Reporting }, { &hf_xnap_uERLFReportContainer, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UERLFReportContainer }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RRCSetup_initiated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RRCSetup_initiated, RRCSetup_initiated_sequence); return offset; } static const value_string xnap_InitiatingCondition_FailureIndication_vals[] = { { 0, "rRCReestab" }, { 1, "rRCSetup" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t InitiatingCondition_FailureIndication_choice[] = { { 0, &hf_xnap_rRCReestab , ASN1_NO_EXTENSIONS , dissect_xnap_RRCReestab_initiated }, { 1, &hf_xnap_rRCSetup , ASN1_NO_EXTENSIONS , dissect_xnap_RRCSetup_initiated }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_InitiatingCondition_FailureIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_InitiatingCondition_FailureIndication, InitiatingCondition_FailureIndication_choice, NULL); return offset; } static const value_string xnap_NRCyclicPrefix_vals[] = { { 0, "normal" }, { 1, "extended" }, { 0, NULL } }; static int dissect_xnap_NRCyclicPrefix(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_NRDL_ULTransmissionPeriodicity_vals[] = { { 0, "ms0p5" }, { 1, "ms0p625" }, { 2, "ms1" }, { 3, "ms1p25" }, { 4, "ms2" }, { 5, "ms2p5" }, { 6, "ms3" }, { 7, "ms4" }, { 8, "ms5" }, { 9, "ms10" }, { 10, "ms20" }, { 11, "ms40" }, { 12, "ms60" }, { 13, "ms80" }, { 14, "ms100" }, { 15, "ms120" }, { 16, "ms140" }, { 17, "ms160" }, { 0, NULL } }; static int dissect_xnap_NRDL_ULTransmissionPeriodicity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 18, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_0_5119(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 5119U, NULL, FALSE); return offset; } static const per_sequence_t SymbolAllocation_in_Slot_AllDL_sequence[] = { { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SymbolAllocation_in_Slot_AllDL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SymbolAllocation_in_Slot_AllDL, SymbolAllocation_in_Slot_AllDL_sequence); return offset; } static const per_sequence_t SymbolAllocation_in_Slot_AllUL_sequence[] = { { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SymbolAllocation_in_Slot_AllUL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SymbolAllocation_in_Slot_AllUL, SymbolAllocation_in_Slot_AllUL_sequence); return offset; } static int dissect_xnap_INTEGER_0_13(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 13U, NULL, FALSE); return offset; } static const per_sequence_t SymbolAllocation_in_Slot_BothDLandUL_sequence[] = { { &hf_xnap_numberofDLSymbols, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_13 }, { &hf_xnap_numberofULSymbols, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_13 }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SymbolAllocation_in_Slot_BothDLandUL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SymbolAllocation_in_Slot_BothDLandUL, SymbolAllocation_in_Slot_BothDLandUL_sequence); return offset; } static const value_string xnap_SymbolAllocation_in_Slot_vals[] = { { 0, "allDL" }, { 1, "allUL" }, { 2, "bothDLandUL" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t SymbolAllocation_in_Slot_choice[] = { { 0, &hf_xnap_allDL , ASN1_NO_EXTENSIONS , dissect_xnap_SymbolAllocation_in_Slot_AllDL }, { 1, &hf_xnap_allUL , ASN1_NO_EXTENSIONS , dissect_xnap_SymbolAllocation_in_Slot_AllUL }, { 2, &hf_xnap_bothDLandUL , ASN1_NO_EXTENSIONS , dissect_xnap_SymbolAllocation_in_Slot_BothDLandUL }, { 3, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_SymbolAllocation_in_Slot(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_SymbolAllocation_in_Slot, SymbolAllocation_in_Slot_choice, NULL); return offset; } static const per_sequence_t SlotConfiguration_List_Item_sequence[] = { { &hf_xnap_slotIndex_01 , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_5119 }, { &hf_xnap_symbolAllocation_in_Slot, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SymbolAllocation_in_Slot }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SlotConfiguration_List_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SlotConfiguration_List_Item, SlotConfiguration_List_Item_sequence); return offset; } static const per_sequence_t SlotConfiguration_List_sequence_of[1] = { { &hf_xnap_SlotConfiguration_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SlotConfiguration_List_Item }, }; static int dissect_xnap_SlotConfiguration_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SlotConfiguration_List, SlotConfiguration_List_sequence_of, 1, maxnoofslots, FALSE); return offset; } static const per_sequence_t IntendedTDD_DL_ULConfiguration_NR_sequence[] = { { &hf_xnap_nrscs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRSCS }, { &hf_xnap_nrCyclicPrefix , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRCyclicPrefix }, { &hf_xnap_nrDL_ULTransmissionPeriodicity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRDL_ULTransmissionPeriodicity }, { &hf_xnap_slotConfiguration_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SlotConfiguration_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IntendedTDD_DL_ULConfiguration_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IntendedTDD_DL_ULConfiguration_NR, IntendedTDD_DL_ULConfiguration_NR_sequence); return offset; } static int dissect_xnap_InterfaceInstanceIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, TRUE); return offset; } static int dissect_xnap_BIT_STRING_SIZE_40(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 40, 40, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_24(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 24, 24, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_I_RNTI_vals[] = { { 0, "i-RNTI-full" }, { 1, "i-RNTI-short" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t I_RNTI_choice[] = { { 0, &hf_xnap_i_RNTI_full , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_40 }, { 1, &hf_xnap_i_RNTI_short , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_24 }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_I_RNTI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_I_RNTI, I_RNTI_choice, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_15(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 15, 15, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_12(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 12, 12, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_Full_I_RNTI_Profile_List_vals[] = { { 0, "full-I-RNTI-Profile-0" }, { 1, "full-I-RNTI-Profile-1" }, { 2, "full-I-RNTI-Profile-2" }, { 3, "full-I-RNTI-Profile-3" }, { 4, "choice-extension" }, { 0, NULL } }; static const per_choice_t Full_I_RNTI_Profile_List_choice[] = { { 0, &hf_xnap_full_I_RNTI_Profile_0, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_21 }, { 1, &hf_xnap_full_I_RNTI_Profile_1, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_18 }, { 2, &hf_xnap_full_I_RNTI_Profile_2, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_15 }, { 3, &hf_xnap_full_I_RNTI_Profile_3, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_12 }, { 4, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_Full_I_RNTI_Profile_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_Full_I_RNTI_Profile_List, Full_I_RNTI_Profile_List_choice, NULL); return offset; } static const value_string xnap_Short_I_RNTI_Profile_List_vals[] = { { 0, "short-I-RNTI-Profile-0" }, { 1, "short-I-RNTI-Profile-1" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t Short_I_RNTI_Profile_List_choice[] = { { 0, &hf_xnap_short_I_RNTI_Profile_0, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_8 }, { 1, &hf_xnap_short_I_RNTI_Profile_1, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_6 }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_Short_I_RNTI_Profile_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_Short_I_RNTI_Profile_List, Short_I_RNTI_Profile_List_choice, NULL); return offset; } static const value_string xnap_Local_NG_RAN_Node_Identifier_vals[] = { { 0, "full-I-RNTI-Profile-List" }, { 1, "short-I-RNTI-Profile-List" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t Local_NG_RAN_Node_Identifier_choice[] = { { 0, &hf_xnap_full_I_RNTI_Profile_List, ASN1_NO_EXTENSIONS , dissect_xnap_Full_I_RNTI_Profile_List }, { 1, &hf_xnap_short_I_RNTI_Profile_List, ASN1_NO_EXTENSIONS , dissect_xnap_Short_I_RNTI_Profile_List }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_Local_NG_RAN_Node_Identifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_Local_NG_RAN_Node_Identifier, Local_NG_RAN_Node_Identifier_choice, NULL); return offset; } static int dissect_xnap_LastVisitedNGRANCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_LastVisitedNGRANCellInformation); dissect_ngap_LastVisitedNGRANCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_LastVisitedEUTRANCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_LastVisitedEUTRANCellInformation); dissect_s1ap_LastVisitedEUTRANCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_LastVisitedUTRANCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_LastVisitedUTRANCellInformation); dissect_ranap_LastVisitedUTRANCell_Item_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_LastVisitedGERANCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_LastVisitedGERANCellInformation); dissect_s1ap_LastVisitedGERANCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const value_string xnap_LastVisitedCell_Item_vals[] = { { 0, "nG-RAN-Cell" }, { 1, "e-UTRAN-Cell" }, { 2, "uTRAN-Cell" }, { 3, "gERAN-Cell" }, { 4, "choice-extension" }, { 0, NULL } }; static const per_choice_t LastVisitedCell_Item_choice[] = { { 0, &hf_xnap_nG_RAN_Cell , ASN1_NO_EXTENSIONS , dissect_xnap_LastVisitedNGRANCellInformation }, { 1, &hf_xnap_e_UTRAN_Cell , ASN1_NO_EXTENSIONS , dissect_xnap_LastVisitedEUTRANCellInformation }, { 2, &hf_xnap_uTRAN_Cell , ASN1_NO_EXTENSIONS , dissect_xnap_LastVisitedUTRANCellInformation }, { 3, &hf_xnap_gERAN_Cell , ASN1_NO_EXTENSIONS , dissect_xnap_LastVisitedGERANCellInformation }, { 4, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_LastVisitedCell_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_LastVisitedCell_Item, LastVisitedCell_Item_choice, NULL); return offset; } static int dissect_xnap_LastVisitedPSCellInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_LastVisitedPSCellInformation); dissect_ngap_LastVisitedPSCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t LastVisitedPSCellList_Item_sequence[] = { { &hf_xnap_lastVisitedPSCellInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_LastVisitedPSCellInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_LastVisitedPSCellList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_LastVisitedPSCellList_Item, LastVisitedPSCellList_Item_sequence); return offset; } static const per_sequence_t LastVisitedPSCellList_sequence_of[1] = { { &hf_xnap_LastVisitedPSCellList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_LastVisitedPSCellList_Item }, }; static int dissect_xnap_LastVisitedPSCellList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_LastVisitedPSCellList, LastVisitedPSCellList_sequence_of, 1, maxnoofPSCellsPerSN, FALSE); return offset; } static const per_sequence_t SCGUEHistoryInformation_sequence[] = { { &hf_xnap_lastVisitedPSCellList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_LastVisitedPSCellList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SCGUEHistoryInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SCGUEHistoryInformation, SCGUEHistoryInformation_sequence); return offset; } static int dissect_xnap_LCID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 32U, NULL, TRUE); return offset; } static const value_string xnap_LocationInformationSNReporting_vals[] = { { 0, "pSCell" }, { 0, NULL } }; static int dissect_xnap_LocationInformationSNReporting(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_ReportArea_vals[] = { { 0, "cell" }, { 0, NULL } }; static int dissect_xnap_ReportArea(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t LocationReportingInformation_sequence[] = { { &hf_xnap_eventType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_EventType }, { &hf_xnap_reportArea , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ReportArea }, { &hf_xnap_areaOfInterest , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_AreaOfInterestInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_LocationReportingInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_LocationReportingInformation, LocationReportingInformation_sequence); return offset; } static const value_string xnap_LoggingInterval_vals[] = { { 0, "ms320" }, { 1, "ms640" }, { 2, "ms1280" }, { 3, "ms2560" }, { 4, "ms5120" }, { 5, "ms10240" }, { 6, "ms20480" }, { 7, "ms30720" }, { 8, "ms40960" }, { 9, "ms61440" }, { 10, "infinity" }, { 0, NULL } }; static int dissect_xnap_LoggingInterval(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 11, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_LoggingDuration_vals[] = { { 0, "m10" }, { 1, "m20" }, { 2, "m40" }, { 3, "m60" }, { 4, "m90" }, { 5, "m120" }, { 0, NULL } }; static int dissect_xnap_LoggingDuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, FALSE, 0, NULL); return offset; } static const per_sequence_t Periodical_sequence[] = { { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Periodical(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Periodical, Periodical_sequence); return offset; } static const value_string xnap_ReportType_vals[] = { { 0, "periodical" }, { 1, "eventTriggered" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ReportType_choice[] = { { 0, &hf_xnap_periodical , ASN1_EXTENSION_ROOT , dissect_xnap_Periodical }, { 1, &hf_xnap_eventTriggered , ASN1_EXTENSION_ROOT , dissect_xnap_EventTriggered }, { 2, &hf_xnap_choice_extension, ASN1_NOT_EXTENSION_ROOT, dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ReportType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ReportType, ReportType_choice, NULL); return offset; } static const per_sequence_t LoggedMDT_NR_sequence[] = { { &hf_xnap_loggingInterval, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_LoggingInterval }, { &hf_xnap_loggingDuration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_LoggingDuration }, { &hf_xnap_reportType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ReportType }, { &hf_xnap_bluetoothMeasurementConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BluetoothMeasurementConfiguration }, { &hf_xnap_wLANMeasurementConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_WLANMeasurementConfiguration }, { &hf_xnap_sensorMeasurementConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SensorMeasurementConfiguration }, { &hf_xnap_areaScopeOfNeighCellsList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_AreaScopeOfNeighCellsList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_LoggedMDT_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_LoggedMDT_NR, LoggedMDT_NR_sequence); return offset; } static const value_string xnap_LowerLayerPresenceStatusChange_vals[] = { { 0, "release-lower-layers" }, { 1, "re-establish-lower-layers" }, { 2, "suspend-lower-layers" }, { 3, "resume-lower-layers" }, { 0, NULL } }; static int dissect_xnap_LowerLayerPresenceStatusChange(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 2, NULL); return offset; } static const value_string xnap_VehicleUE_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_xnap_VehicleUE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_PedestrianUE_vals[] = { { 0, "authorized" }, { 1, "not-authorized" }, { 0, NULL } }; static int dissect_xnap_PedestrianUE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t LTEV2XServicesAuthorized_sequence[] = { { &hf_xnap_vehicleUE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_VehicleUE }, { &hf_xnap_pedestrianUE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PedestrianUE }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_LTEV2XServicesAuthorized(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_LTEV2XServicesAuthorized, LTEV2XServicesAuthorized_sequence); return offset; } static const per_sequence_t LTEUESidelinkAggregateMaximumBitRate_sequence[] = { { &hf_xnap_uESidelinkAggregateMaximumBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_LTEUESidelinkAggregateMaximumBitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_LTEUESidelinkAggregateMaximumBitRate, LTEUESidelinkAggregateMaximumBitRate_sequence); return offset; } static int dissect_xnap_NG_RANTraceID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; proto_tree *subtree = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, &parameter_tvb); if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_xnap_NG_RANTraceID); dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_NONE, FALSE); proto_tree_add_item(subtree, hf_xnap_NG_RANTraceID_TraceID, parameter_tvb, 3, 3, ENC_BIG_ENDIAN); proto_tree_add_item(subtree, hf_xnap_NG_RANTraceID_TraceRecordingSessionReference, parameter_tvb, 6, 2, ENC_BIG_ENDIAN); return offset; } static const per_sequence_t S_BasedMDT_sequence[] = { { &hf_xnap_ng_ran_TraceID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RANTraceID }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_S_BasedMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_S_BasedMDT, S_BasedMDT_sequence); return offset; } static const value_string xnap_MDTAlignmentInfo_vals[] = { { 0, "s-BasedMDT" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t MDTAlignmentInfo_choice[] = { { 0, &hf_xnap_s_BasedMDT , ASN1_NO_EXTENSIONS , dissect_xnap_S_BasedMDT }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_MDTAlignmentInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_MDTAlignmentInfo, MDTAlignmentInfo_choice, NULL); return offset; } static int dissect_xnap_MeasCollectionEntityIPAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_xnap_TransportLayerAddress(tvb, offset, actx, tree, hf_index); return offset; } static const value_string xnap_M4ReportAmountMDT_vals[] = { { 0, "r1" }, { 1, "r2" }, { 2, "r4" }, { 3, "r8" }, { 4, "r16" }, { 5, "r32" }, { 6, "r64" }, { 7, "infinity" }, { 0, NULL } }; static int dissect_xnap_M4ReportAmountMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_M5ReportAmountMDT_vals[] = { { 0, "r1" }, { 1, "r2" }, { 2, "r4" }, { 3, "r8" }, { 4, "r16" }, { 5, "r32" }, { 6, "r64" }, { 7, "infinity" }, { 0, NULL } }; static int dissect_xnap_M5ReportAmountMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_M6ReportAmountMDT_vals[] = { { 0, "r1" }, { 1, "r2" }, { 2, "r4" }, { 3, "r8" }, { 4, "r16" }, { 5, "r32" }, { 6, "r64" }, { 7, "infinity" }, { 0, NULL } }; static int dissect_xnap_M6ReportAmountMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_M7ReportAmountMDT_vals[] = { { 0, "r1" }, { 1, "r2" }, { 2, "r4" }, { 3, "r8" }, { 4, "r16" }, { 5, "r32" }, { 6, "r64" }, { 7, "infinity" }, { 0, NULL } }; static int dissect_xnap_M7ReportAmountMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_MaskedIMEISV(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 64, 64, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_MaxIPrate_vals[] = { { 0, "bitrate64kbs" }, { 1, "max-UErate" }, { 0, NULL } }; static int dissect_xnap_MaxIPrate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t MaximumIPdatarate_sequence[] = { { &hf_xnap_maxIPrate_UL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MaxIPrate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MaximumIPdatarate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MaximumIPdatarate, MaximumIPdatarate_sequence); return offset; } static const value_string xnap_MBSFNSubframeAllocation_E_UTRA_vals[] = { { 0, "oneframe" }, { 1, "fourframes" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t MBSFNSubframeAllocation_E_UTRA_choice[] = { { 0, &hf_xnap_oneframe , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_6 }, { 1, &hf_xnap_fourframes , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_24 }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_MBSFNSubframeAllocation_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_MBSFNSubframeAllocation_E_UTRA, MBSFNSubframeAllocation_E_UTRA_choice, NULL); return offset; } static const value_string xnap_T_radioframeAllocationPeriod_vals[] = { { 0, "n1" }, { 1, "n2" }, { 2, "n4" }, { 3, "n8" }, { 4, "n16" }, { 5, "n32" }, { 0, NULL } }; static int dissect_xnap_T_radioframeAllocationPeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_0_7_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 7U, NULL, TRUE); return offset; } static const per_sequence_t MBSFNSubframeInfo_E_UTRA_Item_sequence[] = { { &hf_xnap_radioframeAllocationPeriod, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_radioframeAllocationPeriod }, { &hf_xnap_radioframeAllocationOffset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_7_ }, { &hf_xnap_subframeAllocation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MBSFNSubframeAllocation_E_UTRA }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBSFNSubframeInfo_E_UTRA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBSFNSubframeInfo_E_UTRA_Item, MBSFNSubframeInfo_E_UTRA_Item_sequence); return offset; } static const per_sequence_t MBSFNSubframeInfo_E_UTRA_sequence_of[1] = { { &hf_xnap_MBSFNSubframeInfo_E_UTRA_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBSFNSubframeInfo_E_UTRA_Item }, }; static int dissect_xnap_MBSFNSubframeInfo_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBSFNSubframeInfo_E_UTRA, MBSFNSubframeInfo_E_UTRA_sequence_of, 1, maxnoofMBSFNEUTRA, FALSE); return offset; } static int dissect_xnap_MBS_FrequencySelectionArea_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, FALSE, NULL); return offset; } static const per_sequence_t MBS_DataForwardingResponseInfofromTarget_Item_sequence[] = { { &hf_xnap_mRB_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MRB_ID }, { &hf_xnap_dlForwardingUPTNL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_mRB_ProgressInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MRB_ProgressInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_DataForwardingResponseInfofromTarget_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_DataForwardingResponseInfofromTarget_Item, MBS_DataForwardingResponseInfofromTarget_Item_sequence); return offset; } static const per_sequence_t MBS_DataForwardingResponseInfofromTarget_sequence_of[1] = { { &hf_xnap_MBS_DataForwardingResponseInfofromTarget_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_DataForwardingResponseInfofromTarget_Item }, }; static int dissect_xnap_MBS_DataForwardingResponseInfofromTarget(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_DataForwardingResponseInfofromTarget, MBS_DataForwardingResponseInfofromTarget_sequence_of, 1, maxnoofMRBs, FALSE); return offset; } static int dissect_xnap_TMGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 6, 6, FALSE, NULL); return offset; } static const per_sequence_t MBS_Session_ID_sequence[] = { { &hf_xnap_tMGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TMGI }, { &hf_xnap_nID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_Session_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_Session_ID, MBS_Session_ID_sequence); return offset; } static const per_sequence_t MBS_SessionAssociatedInformation_Item_sequence[] = { { &hf_xnap_mBS_Session_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_Session_ID }, { &hf_xnap_associated_QoSFlowInfo_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Associated_QoSFlowInfo_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_SessionAssociatedInformation_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_SessionAssociatedInformation_Item, MBS_SessionAssociatedInformation_Item_sequence); return offset; } static const per_sequence_t MBS_SessionAssociatedInformation_sequence_of[1] = { { &hf_xnap_MBS_SessionAssociatedInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_SessionAssociatedInformation_Item }, }; static int dissect_xnap_MBS_SessionAssociatedInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_SessionAssociatedInformation, MBS_SessionAssociatedInformation_sequence_of, 1, maxnoofAssociatedMBSSessions, FALSE); return offset; } static const per_sequence_t MBS_SessionInformation_Item_sequence[] = { { &hf_xnap_mBS_Session_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_Session_ID }, { &hf_xnap_mBS_Area_Session_ID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBS_Area_Session_ID }, { &hf_xnap_active_MBS_SessioInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Active_MBS_SessionInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_SessionInformation_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_SessionInformation_Item, MBS_SessionInformation_Item_sequence); return offset; } static const per_sequence_t MBS_SessionInformation_List_sequence_of[1] = { { &hf_xnap_MBS_SessionInformation_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_SessionInformation_Item }, }; static int dissect_xnap_MBS_SessionInformation_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_SessionInformation_List, MBS_SessionInformation_List_sequence_of, 1, maxnoofMBSSessions, FALSE); return offset; } static const per_sequence_t MBS_SessionInformationResponse_Item_sequence[] = { { &hf_xnap_mBS_Session_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_Session_ID }, { &hf_xnap_mBS_DataForwardingResponseInfofromTarget, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBS_DataForwardingResponseInfofromTarget }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MBS_SessionInformationResponse_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_SessionInformationResponse_Item, MBS_SessionInformationResponse_Item_sequence); return offset; } static const per_sequence_t MBS_SessionInformationResponse_List_sequence_of[1] = { { &hf_xnap_MBS_SessionInformationResponse_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_SessionInformationResponse_Item }, }; static int dissect_xnap_MBS_SessionInformationResponse_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MBS_SessionInformationResponse_List, MBS_SessionInformationResponse_List_sequence_of, 1, maxnoofMBSSessions, FALSE); return offset; } static const value_string xnap_MDT_Activation_vals[] = { { 0, "immediate-MDT-only" }, { 1, "immediate-MDT-and-Trace" }, { 2, "logged-MDT-only" }, { 0, NULL } }; static int dissect_xnap_MDT_Activation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_MDTMode_NR_Extension(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_xnap_ProtocolIE_Single_Container(tvb, offset, actx, tree, hf_index); return offset; } static const value_string xnap_MDTMode_NR_vals[] = { { 0, "immediateMDT" }, { 1, "loggedMDT" }, { 2, "mDTMode-NR-Extension" }, { 0, NULL } }; static const per_choice_t MDTMode_NR_choice[] = { { 0, &hf_xnap_immediateMDT , ASN1_EXTENSION_ROOT , dissect_xnap_ImmediateMDT_NR }, { 1, &hf_xnap_loggedMDT , ASN1_EXTENSION_ROOT , dissect_xnap_LoggedMDT_NR }, { 2, &hf_xnap_mDTMode_NR_Extension, ASN1_NOT_EXTENSION_ROOT, dissect_xnap_MDTMode_NR_Extension }, { 0, NULL, 0, NULL } }; static int dissect_xnap_MDTMode_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_MDTMode_NR, MDTMode_NR_choice, NULL); return offset; } static const per_sequence_t MDTPLMNList_sequence_of[1] = { { &hf_xnap_MDTPLMNList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, }; static int dissect_xnap_MDTPLMNList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MDTPLMNList, MDTPLMNList_sequence_of, 1, maxnoofMDTPLMNs, FALSE); return offset; } static const per_sequence_t MDT_Configuration_NR_sequence[] = { { &hf_xnap_mdt_Activation , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MDT_Activation }, { &hf_xnap_areaScopeOfMDT_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_AreaScopeOfMDT_NR }, { &hf_xnap_mDTMode_NR , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MDTMode_NR }, { &hf_xnap_signallingBasedMDTPLMNList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MDTPLMNList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MDT_Configuration_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MDT_Configuration_NR, MDT_Configuration_NR_sequence); return offset; } static int dissect_xnap_MDTMode_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *mdt_mode_eutra_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &mdt_mode_eutra_tvb); if (mdt_mode_eutra_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_MDTMode_EUTRA); dissect_s1ap_MDTMode_PDU(mdt_mode_eutra_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t MDT_Configuration_EUTRA_sequence[] = { { &hf_xnap_mdt_Activation , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MDT_Activation }, { &hf_xnap_areaScopeOfMDT_EUTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_AreaScopeOfMDT_EUTRA }, { &hf_xnap_mDTMode_EUTRA , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MDTMode_EUTRA }, { &hf_xnap_signallingBasedMDTPLMNList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MDTPLMNList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MDT_Configuration_EUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MDT_Configuration_EUTRA, MDT_Configuration_EUTRA_sequence); return offset; } static const per_sequence_t MDT_Configuration_sequence[] = { { &hf_xnap_mDT_Configuration_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MDT_Configuration_NR }, { &hf_xnap_mDT_Configuration_EUTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MDT_Configuration_EUTRA }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MDT_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MDT_Configuration, MDT_Configuration_sequence); return offset; } static const per_sequence_t MDTPLMNModificationList_sequence_of[1] = { { &hf_xnap_MDTPLMNModificationList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, }; static int dissect_xnap_MDTPLMNModificationList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_MDTPLMNModificationList, MDTPLMNModificationList_sequence_of, 0, maxnoofMDTPLMNs, FALSE); return offset; } static int dissect_xnap_Measurement_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 4095U, NULL, TRUE); return offset; } static int dissect_xnap_UL_GBR_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_UL_non_GBR_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_UL_Total_PRB_usage_for_MIMO(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t MIMOPRBusageInformation_sequence[] = { { &hf_xnap_dl_GBR_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_GBR_PRB_usage_for_MIMO }, { &hf_xnap_ul_GBR_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_GBR_PRB_usage_for_MIMO }, { &hf_xnap_dl_non_GBR_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_non_GBR_PRB_usage_for_MIMO }, { &hf_xnap_ul_non_GBR_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_non_GBR_PRB_usage_for_MIMO }, { &hf_xnap_dl_Total_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DL_Total_PRB_usage_for_MIMO }, { &hf_xnap_ul_Total_PRB_usage_for_MIMO, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_Total_PRB_usage_for_MIMO }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MIMOPRBusageInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MIMOPRBusageInformation, MIMOPRBusageInformation_sequence); return offset; } static int dissect_xnap_MobilityInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_INTEGER_M20_20(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, -20, 20U, NULL, FALSE); return offset; } static const per_sequence_t MobilityParametersModificationRange_sequence[] = { { &hf_xnap_handoverTriggerChangeLowerLimit, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_M20_20 }, { &hf_xnap_handoverTriggerChangeUpperLimit, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_M20_20 }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MobilityParametersModificationRange(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MobilityParametersModificationRange, MobilityParametersModificationRange_sequence); return offset; } static const per_sequence_t MobilityParametersInformation_sequence[] = { { &hf_xnap_handoverTriggerChange, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_M20_20 }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MobilityParametersInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MobilityParametersInformation, MobilityParametersInformation_sequence); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity_sequence_of[1] = { { &hf_xnap_equivalent_PLMNs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, }; static int dissect_xnap_SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity, SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity_sequence_of, 1, maxnoofEPLMNs, FALSE); return offset; } static int * const RAT_RestrictionInformation_bits[] = { &hf_xnap_RAT_RestrictionInformation_e_UTRA, &hf_xnap_RAT_RestrictionInformation_nR, &hf_xnap_RAT_RestrictionInformation_nR_unlicensed, &hf_xnap_RAT_RestrictionInformation_nR_LEO, &hf_xnap_RAT_RestrictionInformation_nR_MEO, &hf_xnap_RAT_RestrictionInformation_nR_GEO, &hf_xnap_RAT_RestrictionInformation_nR_OTHERSAT, NULL }; static int dissect_xnap_RAT_RestrictionInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, TRUE, RAT_RestrictionInformation_bits, 7, NULL, NULL); return offset; } static const per_sequence_t RAT_RestrictionsItem_sequence[] = { { &hf_xnap_plmn_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_rat_RestrictionInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RAT_RestrictionInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RAT_RestrictionsItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RAT_RestrictionsItem, RAT_RestrictionsItem_sequence); return offset; } static const per_sequence_t RAT_RestrictionsList_sequence_of[1] = { { &hf_xnap_RAT_RestrictionsList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_RAT_RestrictionsItem }, }; static int dissect_xnap_RAT_RestrictionsList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_RAT_RestrictionsList, RAT_RestrictionsList_sequence_of, 1, maxnoofPLMNs, FALSE); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC_sequence_of[1] = { { &hf_xnap_forbidden_TACs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, }; static int dissect_xnap_SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC, SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC_sequence_of, 1, maxnoofForbiddenTACs, FALSE); return offset; } static const per_sequence_t ForbiddenAreaItem_sequence[] = { { &hf_xnap_plmn_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_forbidden_TACs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ForbiddenAreaItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ForbiddenAreaItem, ForbiddenAreaItem_sequence); return offset; } static const per_sequence_t ForbiddenAreaList_sequence_of[1] = { { &hf_xnap_ForbiddenAreaList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ForbiddenAreaItem }, }; static int dissect_xnap_ForbiddenAreaList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ForbiddenAreaList, ForbiddenAreaList_sequence_of, 1, maxnoofPLMNs, FALSE); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC_sequence_of[1] = { { &hf_xnap_allowed_TACs_ServiceArea_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, }; static int dissect_xnap_SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC, SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC_sequence_of, 1, maxnoofAllowedAreas, FALSE); return offset; } static const per_sequence_t ServiceAreaItem_sequence[] = { { &hf_xnap_plmn_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_allowed_TACs_ServiceArea, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC }, { &hf_xnap_not_allowed_TACs_ServiceArea, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServiceAreaItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServiceAreaItem, ServiceAreaItem_sequence); return offset; } static const per_sequence_t ServiceAreaList_sequence_of[1] = { { &hf_xnap_ServiceAreaList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ServiceAreaItem }, }; static int dissect_xnap_ServiceAreaList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ServiceAreaList, ServiceAreaList_sequence_of, 1, maxnoofPLMNs, FALSE); return offset; } static const per_sequence_t MobilityRestrictionList_sequence[] = { { &hf_xnap_serving_PLMN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_equivalent_PLMNs, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity }, { &hf_xnap_rat_Restrictions, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RAT_RestrictionsList }, { &hf_xnap_forbiddenAreaInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ForbiddenAreaList }, { &hf_xnap_serviceAreaInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ServiceAreaList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MobilityRestrictionList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MobilityRestrictionList, MobilityRestrictionList_sequence); return offset; } static const value_string xnap_T_cn_Type_vals[] = { { 0, "epc-forbidden" }, { 1, "fiveGC-forbidden" }, { 0, NULL } }; static int dissect_xnap_T_cn_Type(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t CNTypeRestrictionsForEquivalentItem_sequence[] = { { &hf_xnap_plmn_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_cn_Type , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_cn_Type }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CNTypeRestrictionsForEquivalentItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CNTypeRestrictionsForEquivalentItem, CNTypeRestrictionsForEquivalentItem_sequence); return offset; } static const per_sequence_t CNTypeRestrictionsForEquivalent_sequence_of[1] = { { &hf_xnap_CNTypeRestrictionsForEquivalent_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CNTypeRestrictionsForEquivalentItem }, }; static int dissect_xnap_CNTypeRestrictionsForEquivalent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_CNTypeRestrictionsForEquivalent, CNTypeRestrictionsForEquivalent_sequence_of, 1, maxnoofEPLMNs, FALSE); return offset; } static const value_string xnap_CNTypeRestrictionsForServing_vals[] = { { 0, "epc-forbidden" }, { 0, NULL } }; static int dissect_xnap_CNTypeRestrictionsForServing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_6_4400(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 4400, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_E_UTRA_CoordinationAssistanceInfo_vals[] = { { 0, "coordination-not-required" }, { 0, NULL } }; static int dissect_xnap_E_UTRA_CoordinationAssistanceInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t E_UTRA_ResourceCoordinationInfo_sequence[] = { { &hf_xnap_e_utra_cell , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRA_CGI }, { &hf_xnap_ul_coordination_info, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_6_4400 }, { &hf_xnap_dl_coordination_info, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BIT_STRING_SIZE_6_4400 }, { &hf_xnap_nr_cell , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NR_CGI }, { &hf_xnap_e_utra_coordination_assistance_info, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_E_UTRA_CoordinationAssistanceInfo }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_E_UTRA_ResourceCoordinationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_E_UTRA_ResourceCoordinationInfo, E_UTRA_ResourceCoordinationInfo_sequence); return offset; } static const value_string xnap_NR_CoordinationAssistanceInfo_vals[] = { { 0, "coordination-not-required" }, { 0, NULL } }; static int dissect_xnap_NR_CoordinationAssistanceInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t NR_ResourceCoordinationInfo_sequence[] = { { &hf_xnap_nr_cell , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_ul_coordination_info, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_6_4400 }, { &hf_xnap_dl_coordination_info, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BIT_STRING_SIZE_6_4400 }, { &hf_xnap_e_utra_cell , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_E_UTRA_CGI }, { &hf_xnap_nr_coordination_assistance_info, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NR_CoordinationAssistanceInfo }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NR_ResourceCoordinationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NR_ResourceCoordinationInfo, NR_ResourceCoordinationInfo_sequence); return offset; } static const value_string xnap_NG_RAN_Node_ResourceCoordinationInfo_vals[] = { { 0, "eutra-resource-coordination-info" }, { 1, "nr-resource-coordination-info" }, { 0, NULL } }; static const per_choice_t NG_RAN_Node_ResourceCoordinationInfo_choice[] = { { 0, &hf_xnap_eutra_resource_coordination_info, ASN1_NO_EXTENSIONS , dissect_xnap_E_UTRA_ResourceCoordinationInfo }, { 1, &hf_xnap_nr_resource_coordination_info, ASN1_NO_EXTENSIONS , dissect_xnap_NR_ResourceCoordinationInfo }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NG_RAN_Node_ResourceCoordinationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NG_RAN_Node_ResourceCoordinationInfo, NG_RAN_Node_ResourceCoordinationInfo_choice, NULL); return offset; } static const per_sequence_t MR_DC_ResourceCoordinationInfo_sequence[] = { { &hf_xnap_ng_RAN_Node_ResourceCoordinationInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RAN_Node_ResourceCoordinationInfo }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MR_DC_ResourceCoordinationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MR_DC_ResourceCoordinationInfo, MR_DC_ResourceCoordinationInfo_sequence); return offset; } static const per_sequence_t MessageOversizeNotification_sequence[] = { { &hf_xnap_maximumCellListSize, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MaximumCellListSize }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MessageOversizeNotification(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MessageOversizeNotification, MessageOversizeNotification_sequence); return offset; } static const value_string xnap_NBIoT_UL_DL_AlignmentOffset_vals[] = { { 0, "khz-7dot5" }, { 1, "khz0" }, { 2, "khz7dot5" }, { 0, NULL } }; static int dissect_xnap_NBIoT_UL_DL_AlignmentOffset(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_subframeAssignment_vals[] = { { 0, "sa0" }, { 1, "sa1" }, { 2, "sa2" }, { 3, "sa3" }, { 4, "sa4" }, { 5, "sa5" }, { 6, "sa6" }, { 0, NULL } }; static int dissect_xnap_T_subframeAssignment(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, FALSE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_0_9(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 9U, NULL, FALSE); return offset; } static const per_sequence_t NE_DC_TDM_Pattern_sequence[] = { { &hf_xnap_subframeAssignment, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_subframeAssignment }, { &hf_xnap_harqOffset , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_9 }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NE_DC_TDM_Pattern(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NE_DC_TDM_Pattern, NE_DC_TDM_Pattern_sequence); return offset; } static const per_sequence_t NeighbourInformation_E_UTRA_Item_sequence[] = { { &hf_xnap_e_utra_PCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRAPCI }, { &hf_xnap_e_utra_cgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRA_CGI }, { &hf_xnap_earfcn , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRAARFCN }, { &hf_xnap_tac , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_ranac , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RANAC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NeighbourInformation_E_UTRA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NeighbourInformation_E_UTRA_Item, NeighbourInformation_E_UTRA_Item_sequence); return offset; } static const per_sequence_t NeighbourInformation_E_UTRA_sequence_of[1] = { { &hf_xnap_NeighbourInformation_E_UTRA_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NeighbourInformation_E_UTRA_Item }, }; static int dissect_xnap_NeighbourInformation_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NeighbourInformation_E_UTRA, NeighbourInformation_E_UTRA_sequence_of, 1, maxnoofNeighbours, FALSE); return offset; } static const per_sequence_t NeighbourInformation_NR_ModeFDDInfo_sequence[] = { { &hf_xnap_ul_NR_FreqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyInfo }, { &hf_xnap_dl_NR_FequInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyInfo }, { &hf_xnap_ie_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NeighbourInformation_NR_ModeFDDInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NeighbourInformation_NR_ModeFDDInfo, NeighbourInformation_NR_ModeFDDInfo_sequence); return offset; } static const per_sequence_t NeighbourInformation_NR_ModeTDDInfo_sequence[] = { { &hf_xnap_nr_FreqInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyInfo }, { &hf_xnap_ie_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NeighbourInformation_NR_ModeTDDInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NeighbourInformation_NR_ModeTDDInfo, NeighbourInformation_NR_ModeTDDInfo_sequence); return offset; } static const value_string xnap_NeighbourInformation_NR_ModeInfo_vals[] = { { 0, "fdd-info" }, { 1, "tdd-info" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t NeighbourInformation_NR_ModeInfo_choice[] = { { 0, &hf_xnap_fdd_info , ASN1_NO_EXTENSIONS , dissect_xnap_NeighbourInformation_NR_ModeFDDInfo }, { 1, &hf_xnap_tdd_info , ASN1_NO_EXTENSIONS , dissect_xnap_NeighbourInformation_NR_ModeTDDInfo }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NeighbourInformation_NR_ModeInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NeighbourInformation_NR_ModeInfo, NeighbourInformation_NR_ModeInfo_choice, NULL); return offset; } static int dissect_xnap_T_measurementTimingConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *param_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &param_tvb); if (param_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_measurementTimingConfiguration); dissect_nr_rrc_MeasurementTimingConfiguration_PDU(param_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t NeighbourInformation_NR_Item_sequence[] = { { &hf_xnap_nr_PCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRPCI }, { &hf_xnap_nr_cgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_tac , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_ranac , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RANAC }, { &hf_xnap_nr_mode_info , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NeighbourInformation_NR_ModeInfo }, { &hf_xnap_connectivitySupport, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Connectivity_Support }, { &hf_xnap_measurementTimingConfiguration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_measurementTimingConfiguration }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NeighbourInformation_NR_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NeighbourInformation_NR_Item, NeighbourInformation_NR_Item_sequence); return offset; } static const per_sequence_t NeighbourInformation_NR_sequence_of[1] = { { &hf_xnap_NeighbourInformation_NR_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NeighbourInformation_NR_Item }, }; static int dissect_xnap_NeighbourInformation_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NeighbourInformation_NR, NeighbourInformation_NR_sequence_of, 1, maxnoofNeighbours, FALSE); return offset; } static const per_sequence_t Neighbour_NG_RAN_Node_Item_sequence[] = { { &hf_xnap_globalNG_RANNodeID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANNode_ID }, { &hf_xnap_local_NG_RAN_Node_Identifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Local_NG_RAN_Node_Identifier }, { &hf_xnap_ie_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Neighbour_NG_RAN_Node_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Neighbour_NG_RAN_Node_Item, Neighbour_NG_RAN_Node_Item_sequence); return offset; } static const per_sequence_t Neighbour_NG_RAN_Node_List_sequence_of[1] = { { &hf_xnap_Neighbour_NG_RAN_Node_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Neighbour_NG_RAN_Node_Item }, }; static int dissect_xnap_Neighbour_NG_RAN_Node_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Neighbour_NG_RAN_Node_List, Neighbour_NG_RAN_Node_List_sequence_of, 0, maxnoofNeighbour_NG_RAN_Nodes, FALSE); return offset; } static int dissect_xnap_NRCellPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_NRCellPRACHConfig); dissect_f1ap_NRPRACHConfig_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t SSBOffsetModificationRange_sequence[] = { { &hf_xnap_sSBIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_63 }, { &hf_xnap_sSBobilityParametersModificationRange, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MobilityParametersModificationRange }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SSBOffsetModificationRange(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SSBOffsetModificationRange, SSBOffsetModificationRange_sequence); return offset; } static const per_sequence_t NG_RANnode2SSBOffsetsModificationRange_sequence_of[1] = { { &hf_xnap_NG_RANnode2SSBOffsetsModificationRange_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SSBOffsetModificationRange }, }; static int dissect_xnap_NG_RANnode2SSBOffsetsModificationRange(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NG_RANnode2SSBOffsetsModificationRange, NG_RANnode2SSBOffsetsModificationRange_sequence_of, 1, maxnoofSSBAreas, FALSE); return offset; } static int dissect_xnap_DL_scheduling_PDCCH_CCE_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_UL_scheduling_PDCCH_CCE_usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t ULNonF1Terminating_BHInfo_sequence[] = { { &hf_xnap_egressBAPRoutingID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPRoutingID }, { &hf_xnap_egressBHRLCCHID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BHRLCChannelID }, { &hf_xnap_nexthopBAPAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BAPAddress }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ULNonF1Terminating_BHInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ULNonF1Terminating_BHInfo, ULNonF1Terminating_BHInfo_sequence); return offset; } static const per_sequence_t NonF1TerminatingBHInformation_Item_sequence[] = { { &hf_xnap_bHInfoIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BHInfoIndex }, { &hf_xnap_dlNon_F1TerminatingBHInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DLNonF1Terminating_BHInfo }, { &hf_xnap_ulNon_F1TerminatingBHInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ULNonF1Terminating_BHInfo }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NonF1TerminatingBHInformation_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NonF1TerminatingBHInformation_Item, NonF1TerminatingBHInformation_Item_sequence); return offset; } static const per_sequence_t NonF1TerminatingBHInformation_List_sequence_of[1] = { { &hf_xnap_NonF1TerminatingBHInformation_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NonF1TerminatingBHInformation_Item }, }; static int dissect_xnap_NonF1TerminatingBHInformation_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NonF1TerminatingBHInformation_List, NonF1TerminatingBHInformation_List_sequence_of, 1, maxnoofBHInfo, FALSE); return offset; } static const per_sequence_t Non_F1_TerminatingTopologyBHInformation_sequence[] = { { &hf_xnap_nonF1TerminatingBHInformation_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NonF1TerminatingBHInformation_List }, { &hf_xnap_bAPControlPDURLCCH_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BAPControlPDURLCCH_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Non_F1_TerminatingTopologyBHInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Non_F1_TerminatingTopologyBHInformation, Non_F1_TerminatingTopologyBHInformation_sequence); return offset; } static const value_string xnap_NonUPTrafficType_vals[] = { { 0, "ueassociatedf1ap" }, { 1, "nonueassociatedf1ap" }, { 2, "nonf1" }, { 0, NULL } }; static int dissect_xnap_NonUPTrafficType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_NonUPTraffic_vals[] = { { 0, "nonUPTrafficType" }, { 1, "controlPlaneTrafficType" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t NonUPTraffic_choice[] = { { 0, &hf_xnap_nonUPTrafficType, ASN1_NO_EXTENSIONS , dissect_xnap_NonUPTrafficType }, { 1, &hf_xnap_controlPlaneTrafficType, ASN1_NO_EXTENSIONS , dissect_xnap_ControlPlaneTrafficType }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NonUPTraffic(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NonUPTraffic, NonUPTraffic_choice, NULL); return offset; } static const value_string xnap_NoPDUSessionIndication_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_NoPDUSessionIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t NPN_Broadcast_Information_SNPN_sequence[] = { { &hf_xnap_broadcastSNPNID_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastSNPNID_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPN_Broadcast_Information_SNPN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPN_Broadcast_Information_SNPN, NPN_Broadcast_Information_SNPN_sequence); return offset; } static const per_sequence_t NPN_Broadcast_Information_PNI_NPN_sequence[] = { { &hf_xnap_broadcastPNI_NPN_ID_Information, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastPNI_NPN_ID_Information }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPN_Broadcast_Information_PNI_NPN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPN_Broadcast_Information_PNI_NPN, NPN_Broadcast_Information_PNI_NPN_sequence); return offset; } static const value_string xnap_NPN_Broadcast_Information_vals[] = { { 0, "snpn-Information" }, { 1, "pni-npn-Information" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t NPN_Broadcast_Information_choice[] = { { 0, &hf_xnap_snpn_Information, ASN1_NO_EXTENSIONS , dissect_xnap_NPN_Broadcast_Information_SNPN }, { 1, &hf_xnap_pni_npn_Information, ASN1_NO_EXTENSIONS , dissect_xnap_NPN_Broadcast_Information_PNI_NPN }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NPN_Broadcast_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NPN_Broadcast_Information, NPN_Broadcast_Information_choice, NULL); return offset; } static const per_sequence_t NPNMobilityInformation_SNPN_sequence[] = { { &hf_xnap_serving_NID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NID }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPNMobilityInformation_SNPN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPNMobilityInformation_SNPN, NPNMobilityInformation_SNPN_sequence); return offset; } static const per_sequence_t NPNMobilityInformation_PNI_NPN_sequence[] = { { &hf_xnap_allowedPNI_NPN_ID_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AllowedPNI_NPN_ID_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPNMobilityInformation_PNI_NPN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPNMobilityInformation_PNI_NPN, NPNMobilityInformation_PNI_NPN_sequence); return offset; } static const value_string xnap_NPNMobilityInformation_vals[] = { { 0, "snpn-mobility-information" }, { 1, "pni-npn-mobility-information" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t NPNMobilityInformation_choice[] = { { 0, &hf_xnap_snpn_mobility_information, ASN1_NO_EXTENSIONS , dissect_xnap_NPNMobilityInformation_SNPN }, { 1, &hf_xnap_pni_npn_mobility_information, ASN1_NO_EXTENSIONS , dissect_xnap_NPNMobilityInformation_PNI_NPN }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NPNMobilityInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NPNMobilityInformation, NPNMobilityInformation_choice, NULL); return offset; } static const per_sequence_t NPNPagingAssistanceInformation_PNI_NPN_sequence[] = { { &hf_xnap_allowedPNI_NPN_ID_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AllowedPNI_NPN_ID_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPNPagingAssistanceInformation_PNI_NPN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPNPagingAssistanceInformation_PNI_NPN, NPNPagingAssistanceInformation_PNI_NPN_sequence); return offset; } static const value_string xnap_NPNPagingAssistanceInformation_vals[] = { { 0, "pni-npn-Information" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t NPNPagingAssistanceInformation_choice[] = { { 0, &hf_xnap_pni_npn_Information_01, ASN1_NO_EXTENSIONS , dissect_xnap_NPNPagingAssistanceInformation_PNI_NPN }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NPNPagingAssistanceInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NPNPagingAssistanceInformation, NPNPagingAssistanceInformation_choice, NULL); return offset; } static const per_sequence_t NPN_Support_SNPN_sequence[] = { { &hf_xnap_nid , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NID }, { &hf_xnap_ie_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPN_Support_SNPN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPN_Support_SNPN, NPN_Support_SNPN_sequence); return offset; } static const value_string xnap_NPN_Support_vals[] = { { 0, "sNPN" }, { 1, "choice-Extensions" }, { 0, NULL } }; static const per_choice_t NPN_Support_choice[] = { { 0, &hf_xnap_sNPN , ASN1_NO_EXTENSIONS , dissect_xnap_NPN_Support_SNPN }, { 1, &hf_xnap_choice_Extensions, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NPN_Support(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NPN_Support, NPN_Support_choice, NULL); return offset; } static const value_string xnap_NPRACH_CP_Length_vals[] = { { 0, "us66dot7" }, { 1, "us266dot7" }, { 0, NULL } }; static int dissect_xnap_NPRACH_CP_Length(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_T_anchorCarrier_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_anchorCarrier_NPRACHConfig); dissect_lte_rrc_NPRACH_ParametersList_NB_r13_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_anchorCarrier_EDT_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_anchorCarrier_EDT_NPRACHConfig); dissect_lte_rrc_NPRACH_ParametersList_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_anchorCarrier_Format2_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_anchorCarrier_Format2_NPRACHConfig); dissect_lte_rrc_NPRACH_ParametersListFmt2_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_anchorCarrier_Format2_EDT_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_anchorCarrier_Format2_EDT_NPRACHConfig); dissect_lte_rrc_NPRACH_ParametersListFmt2_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_non_anchorCarrier_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_non_anchorCarrier_NPRACHConfig); dissect_lte_rrc_UL_ConfigCommonList_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_non_anchorCarrier_Format2_NPRACHConfig(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_non_anchorCarrier_Format2_NPRACHConfig); dissect_lte_rrc_UL_ConfigCommonList_NB_v1530_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t NPRACHConfiguration_FDD_sequence[] = { { &hf_xnap_nprach_CP_length, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NPRACH_CP_Length }, { &hf_xnap_anchorCarrier_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_anchorCarrier_NPRACHConfig }, { &hf_xnap_anchorCarrier_EDT_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_anchorCarrier_EDT_NPRACHConfig }, { &hf_xnap_anchorCarrier_Format2_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_anchorCarrier_Format2_NPRACHConfig }, { &hf_xnap_anchorCarrier_Format2_EDT_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_anchorCarrier_Format2_EDT_NPRACHConfig }, { &hf_xnap_non_anchorCarrier_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_non_anchorCarrier_NPRACHConfig }, { &hf_xnap_non_anchorCarrier_Format2_NPRACHConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_non_anchorCarrier_Format2_NPRACHConfig }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPRACHConfiguration_FDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPRACHConfiguration_FDD, NPRACHConfiguration_FDD_sequence); return offset; } static const value_string xnap_NPRACH_preambleFormat_vals[] = { { 0, "fmt0" }, { 1, "fmt1" }, { 2, "fmt2" }, { 3, "fmt0a" }, { 4, "fmt1a" }, { 0, NULL } }; static int dissect_xnap_NPRACH_preambleFormat(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_T_anchorCarrier_NPRACHConfigTDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_anchorCarrier_NPRACHConfigTDD); dissect_lte_rrc_NPRACH_ParametersListTDD_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_T_non_anchorCarrierFrquency(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_non_anchorCarrierFrequency); dissect_lte_rrc_DL_CarrierConfigCommon_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t Non_AnchorCarrierFrequencylist_item_sequence[] = { { &hf_xnap_non_anchorCarrierFrquency, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_non_anchorCarrierFrquency }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Non_AnchorCarrierFrequencylist_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Non_AnchorCarrierFrequencylist_item, Non_AnchorCarrierFrequencylist_item_sequence); return offset; } static const per_sequence_t Non_AnchorCarrierFrequencylist_sequence_of[1] = { { &hf_xnap_Non_AnchorCarrierFrequencylist_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Non_AnchorCarrierFrequencylist_item }, }; static int dissect_xnap_Non_AnchorCarrierFrequencylist(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Non_AnchorCarrierFrequencylist, Non_AnchorCarrierFrequencylist_sequence_of, 1, maxnoofNonAnchorCarrierFreqConfig, FALSE); return offset; } static int dissect_xnap_T_non_anchorCarrier_NPRACHConfigTDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_non_anchorCarrier_NPRACHConfigTDD); dissect_lte_rrc_UL_ConfigCommonListTDD_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t NPRACHConfiguration_TDD_sequence[] = { { &hf_xnap_nprach_preambleFormat, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NPRACH_preambleFormat }, { &hf_xnap_anchorCarrier_NPRACHConfigTDD, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_anchorCarrier_NPRACHConfigTDD }, { &hf_xnap_non_anchorCarrierFequencyConfiglist, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Non_AnchorCarrierFrequencylist }, { &hf_xnap_non_anchorCarrier_NPRACHConfigTDD, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_non_anchorCarrier_NPRACHConfigTDD }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPRACHConfiguration_TDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPRACHConfiguration_TDD, NPRACHConfiguration_TDD_sequence); return offset; } static const value_string xnap_T_fdd_or_tdd_vals[] = { { 0, "fdd" }, { 1, "tdd" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t T_fdd_or_tdd_choice[] = { { 0, &hf_xnap_fdd , ASN1_NO_EXTENSIONS , dissect_xnap_NPRACHConfiguration_FDD }, { 1, &hf_xnap_tdd , ASN1_NO_EXTENSIONS , dissect_xnap_NPRACHConfiguration_TDD }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_T_fdd_or_tdd(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_T_fdd_or_tdd, T_fdd_or_tdd_choice, NULL); return offset; } static const per_sequence_t NPRACHConfiguration_sequence[] = { { &hf_xnap_fdd_or_tdd , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_fdd_or_tdd }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NPRACHConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NPRACHConfiguration, NPRACHConfiguration_sequence); return offset; } static const per_sequence_t NG_RAN_Cell_Identity_ListinRANPagingArea_sequence_of[1] = { { &hf_xnap_NG_RAN_Cell_Identity_ListinRANPagingArea_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RAN_Cell_Identity }, }; static int dissect_xnap_NG_RAN_Cell_Identity_ListinRANPagingArea(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NG_RAN_Cell_Identity_ListinRANPagingArea, NG_RAN_Cell_Identity_ListinRANPagingArea_sequence_of, 1, maxnoofCellsinRNA, FALSE); return offset; } static int dissect_xnap_NR_U_ChannelID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, maxnoofNR_UChannelIDs, NULL, TRUE); return offset; } static int dissect_xnap_ChannelOccupancyTimePercentage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, TRUE); return offset; } static int dissect_xnap_EnergyDetectionThreshold(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, -100, -50, NULL, TRUE); return offset; } static const per_sequence_t NR_U_Channel_Item_sequence[] = { { &hf_xnap_nR_U_ChannelID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_U_ChannelID }, { &hf_xnap_channelOccupancyTimePercentageDL, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ChannelOccupancyTimePercentage }, { &hf_xnap_energyDetectionThreshold, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_EnergyDetectionThreshold }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NR_U_Channel_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NR_U_Channel_Item, NR_U_Channel_Item_sequence); return offset; } static const per_sequence_t NR_U_Channel_List_sequence_of[1] = { { &hf_xnap_NR_U_Channel_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NR_U_Channel_Item }, }; static int dissect_xnap_NR_U_Channel_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NR_U_Channel_List, NR_U_Channel_List_sequence_of, 1, maxnoofNR_UChannelIDs, FALSE); return offset; } static const value_string xnap_Bandwidth_vals[] = { { 0, "mhz10" }, { 1, "mhz20" }, { 2, "mhz40" }, { 3, "mhz60" }, { 4, "mhz80" }, { 0, NULL } }; static int dissect_xnap_Bandwidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t NR_U_ChannelInfo_Item_sequence[] = { { &hf_xnap_nR_U_ChannelID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_U_ChannelID }, { &hf_xnap_nRARFCN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRARFCN }, { &hf_xnap_bandwidth , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Bandwidth }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NR_U_ChannelInfo_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NR_U_ChannelInfo_Item, NR_U_ChannelInfo_Item_sequence); return offset; } static const per_sequence_t NR_U_ChannelInfo_List_sequence_of[1] = { { &hf_xnap_NR_U_ChannelInfo_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_NR_U_ChannelInfo_Item }, }; static int dissect_xnap_NR_U_ChannelInfo_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_NR_U_ChannelInfo_List, NR_U_ChannelInfo_List_sequence_of, 1, maxnoofNR_UChannelIDs, FALSE); return offset; } static int dissect_xnap_NRMobilityHistoryReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_NRMobilityHistoryReport); dissect_nr_rrc_VisitedCellInfoList_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t NRModeInfoFDD_sequence[] = { { &hf_xnap_ulNRFrequencyInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyInfo }, { &hf_xnap_dlNRFrequencyInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyInfo }, { &hf_xnap_ulNRTransmissonBandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRTransmissionBandwidth }, { &hf_xnap_dlNRTransmissonBandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRTransmissionBandwidth }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRModeInfoFDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRModeInfoFDD, NRModeInfoFDD_sequence); return offset; } static const per_sequence_t NRModeInfoTDD_sequence[] = { { &hf_xnap_nrFrequencyInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRFrequencyInfo }, { &hf_xnap_nrTransmissonBandwidth, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRTransmissionBandwidth }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRModeInfoTDD(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRModeInfoTDD, NRModeInfoTDD_sequence); return offset; } static const value_string xnap_NRModeInfo_vals[] = { { 0, "fdd" }, { 1, "tdd" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t NRModeInfo_choice[] = { { 0, &hf_xnap_fdd_01 , ASN1_NO_EXTENSIONS , dissect_xnap_NRModeInfoFDD }, { 1, &hf_xnap_tdd_01 , ASN1_NO_EXTENSIONS , dissect_xnap_NRModeInfoTDD }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_NRModeInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_NRModeInfo, NRModeInfo_choice, NULL); return offset; } static const value_string xnap_NRPaging_eDRX_Cycle_vals[] = { { 0, "hfquarter" }, { 1, "hfhalf" }, { 2, "hf1" }, { 3, "hf2" }, { 4, "hf4" }, { 5, "hf8" }, { 6, "hf16" }, { 7, "hf32" }, { 8, "hf64" }, { 9, "hf128" }, { 10, "hf256" }, { 11, "hf512" }, { 12, "hf1024" }, { 0, NULL } }; static int dissect_xnap_NRPaging_eDRX_Cycle(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 13, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_NRPaging_Time_Window_vals[] = { { 0, "s1" }, { 1, "s2" }, { 2, "s3" }, { 3, "s4" }, { 4, "s5" }, { 5, "s6" }, { 6, "s7" }, { 7, "s8" }, { 8, "s9" }, { 9, "s10" }, { 10, "s11" }, { 11, "s12" }, { 12, "s13" }, { 13, "s14" }, { 14, "s15" }, { 15, "s16" }, { 16, "s17" }, { 17, "s18" }, { 18, "s19" }, { 19, "s20" }, { 20, "s21" }, { 21, "s22" }, { 22, "s23" }, { 23, "s24" }, { 24, "s25" }, { 25, "s26" }, { 26, "s27" }, { 27, "s28" }, { 28, "s29" }, { 29, "s30" }, { 30, "s31" }, { 31, "s32" }, { 0, NULL } }; static int dissect_xnap_NRPaging_Time_Window(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 16, NULL, TRUE, 16, NULL); return offset; } static const per_sequence_t NRPagingeDRXInformation_sequence[] = { { &hf_xnap_nRPaging_eDRX_Cycle, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRPaging_eDRX_Cycle }, { &hf_xnap_nRPaging_Time_Window, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NRPaging_Time_Window }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRPagingeDRXInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRPagingeDRXInformation, NRPagingeDRXInformation_sequence); return offset; } static const value_string xnap_NRPaging_eDRX_Cycle_Inactive_vals[] = { { 0, "hfquarter" }, { 1, "hfhalf" }, { 2, "hf1" }, { 0, NULL } }; static int dissect_xnap_NRPaging_eDRX_Cycle_Inactive(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t NRPagingeDRXInformationforRRCINACTIVE_sequence[] = { { &hf_xnap_nRPaging_eDRX_Cycle_Inactive, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRPaging_eDRX_Cycle_Inactive }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRPagingeDRXInformationforRRCINACTIVE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRPagingeDRXInformationforRRCINACTIVE, NRPagingeDRXInformationforRRCINACTIVE_sequence); return offset; } static const value_string xnap_NumberOfAntennaPorts_E_UTRA_vals[] = { { 0, "an1" }, { 1, "an2" }, { 2, "an4" }, { 0, NULL } }; static int dissect_xnap_NumberOfAntennaPorts_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_NonGBRResources_Offered_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_NonGBRResources_Offered(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t NRV2XServicesAuthorized_sequence[] = { { &hf_xnap_vehicleUE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_VehicleUE }, { &hf_xnap_pedestrianUE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PedestrianUE }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRV2XServicesAuthorized(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRV2XServicesAuthorized, NRV2XServicesAuthorized_sequence); return offset; } static const per_sequence_t NRUESidelinkAggregateMaximumBitRate_sequence[] = { { &hf_xnap_uESidelinkAggregateMaximumBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NRUESidelinkAggregateMaximumBitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NRUESidelinkAggregateMaximumBitRate, NRUESidelinkAggregateMaximumBitRate_sequence); return offset; } static int dissect_xnap_NSAG_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, TRUE); return offset; } static const value_string xnap_OffsetOfNbiotChannelNumberToEARFCN_vals[] = { { 0, "minusTen" }, { 1, "minusNine" }, { 2, "minusEightDotFive" }, { 3, "minusEight" }, { 4, "minusSeven" }, { 5, "minusSix" }, { 6, "minusFive" }, { 7, "minusFourDotFive" }, { 8, "minusFour" }, { 9, "minusThree" }, { 10, "minusTwo" }, { 11, "minusOne" }, { 12, "minusZeroDotFive" }, { 13, "zero" }, { 14, "one" }, { 15, "two" }, { 16, "three" }, { 17, "threeDotFive" }, { 18, "four" }, { 19, "five" }, { 20, "six" }, { 21, "seven" }, { 22, "sevenDotFive" }, { 23, "eight" }, { 24, "nine" }, { 0, NULL } }; static int dissect_xnap_OffsetOfNbiotChannelNumberToEARFCN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 25, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_RequestedSRSTransmissionCharacteristics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static int dissect_xnap_RoutingID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static int dissect_xnap_INTEGER_0_32767(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 32767U, NULL, FALSE); return offset; } static const per_sequence_t PositioningInformation_sequence[] = { { &hf_xnap_requestedSRSTransmissionCharacteristics, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RequestedSRSTransmissionCharacteristics }, { &hf_xnap_routingID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RoutingID }, { &hf_xnap_nRPPaTransactionID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_32767 }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PositioningInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PositioningInformation, PositioningInformation_sequence); return offset; } static const value_string xnap_PagingCause_vals[] = { { 0, "voice" }, { 0, NULL } }; static int dissect_xnap_PagingCause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t PEIPSassistanceInformation_sequence[] = { { &hf_xnap_cNsubgroupID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CNsubgroupID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PEIPSassistanceInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PEIPSassistanceInformation, PEIPSassistanceInformation_sequence); return offset; } static const value_string xnap_PagingDRX_vals[] = { { 0, "v32" }, { 1, "v64" }, { 2, "v128" }, { 3, "v256" }, { 4, "v512" }, { 5, "v1024" }, { 0, NULL } }; static int dissect_xnap_PagingDRX(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 2, NULL); return offset; } static const value_string xnap_PagingPriority_vals[] = { { 0, "priolevel1" }, { 1, "priolevel2" }, { 2, "priolevel3" }, { 3, "priolevel4" }, { 4, "priolevel5" }, { 5, "priolevel6" }, { 6, "priolevel7" }, { 7, "priolevel8" }, { 0, NULL } }; static int dissect_xnap_PagingPriority(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_PartialListIndicator_vals[] = { { 0, "partial" }, { 0, NULL } }; static int dissect_xnap_PartialListIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t PC5FlowBitRates_sequence[] = { { &hf_xnap_guaranteedFlowBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_maximumFlowBitRate, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PC5FlowBitRates(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PC5FlowBitRates, PC5FlowBitRates_sequence); return offset; } static const per_sequence_t PC5QoSFlowItem_sequence[] = { { &hf_xnap_pQI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_FiveQI }, { &hf_xnap_pc5FlowBitRates, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PC5FlowBitRates }, { &hf_xnap_range , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Range }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PC5QoSFlowItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PC5QoSFlowItem, PC5QoSFlowItem_sequence); return offset; } static const per_sequence_t PC5QoSFlowList_sequence_of[1] = { { &hf_xnap_PC5QoSFlowList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PC5QoSFlowItem }, }; static int dissect_xnap_PC5QoSFlowList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PC5QoSFlowList, PC5QoSFlowList_sequence_of, 1, maxnoofPC5QoSFlows, FALSE); return offset; } static const per_sequence_t PC5QoSParameters_sequence[] = { { &hf_xnap_pc5QoSFlowList , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PC5QoSFlowList }, { &hf_xnap_pc5LinkAggregateBitRates, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BitRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PC5QoSParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PC5QoSParameters, PC5QoSParameters_sequence); return offset; } static const value_string xnap_T_from_S_NG_RAN_node_vals[] = { { 0, "s-ng-ran-node-key-update-required" }, { 1, "pdcp-data-recovery-required" }, { 0, NULL } }; static int dissect_xnap_T_from_S_NG_RAN_node(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_from_M_NG_RAN_node_vals[] = { { 0, "pdcp-data-recovery-required" }, { 0, NULL } }; static int dissect_xnap_T_from_M_NG_RAN_node(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_PDCPChangeIndication_vals[] = { { 0, "from-S-NG-RAN-node" }, { 1, "from-M-NG-RAN-node" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t PDCPChangeIndication_choice[] = { { 0, &hf_xnap_from_S_NG_RAN_node, ASN1_NO_EXTENSIONS , dissect_xnap_T_from_S_NG_RAN_node }, { 1, &hf_xnap_from_M_NG_RAN_node, ASN1_NO_EXTENSIONS , dissect_xnap_T_from_M_NG_RAN_node }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_PDCPChangeIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_PDCPChangeIndication, PDCPChangeIndication_choice, NULL); return offset; } static const value_string xnap_PDCPDuplicationConfiguration_vals[] = { { 0, "configured" }, { 1, "de-configured" }, { 0, NULL } }; static int dissect_xnap_PDCPDuplicationConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_ulPDCPSNLength_vals[] = { { 0, "v12bits" }, { 1, "v18bits" }, { 0, NULL } }; static int dissect_xnap_T_ulPDCPSNLength(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_dlPDCPSNLength_vals[] = { { 0, "v12bits" }, { 1, "v18bits" }, { 0, NULL } }; static int dissect_xnap_T_dlPDCPSNLength(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t PDCPSNLength_sequence[] = { { &hf_xnap_ulPDCPSNLength , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_ulPDCPSNLength }, { &hf_xnap_dlPDCPSNLength , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_dlPDCPSNLength }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDCPSNLength(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDCPSNLength, PDCPSNLength_sequence); return offset; } static const per_sequence_t PDUSessionAggregateMaximumBitRate_sequence[] = { { &hf_xnap_downlink_session_AMBR, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_uplink_session_AMBR, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionAggregateMaximumBitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAggregateMaximumBitRate, PDUSessionAggregateMaximumBitRate_sequence); return offset; } static const per_sequence_t PDUSession_List_sequence_of[1] = { { &hf_xnap_PDUSession_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, }; static int dissect_xnap_PDUSession_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_List, PDUSession_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSession_List_withCause_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_cause , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Cause }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSession_List_withCause_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_List_withCause_Item, PDUSession_List_withCause_Item_sequence); return offset; } static const per_sequence_t PDUSession_List_withCause_sequence_of[1] = { { &hf_xnap_PDUSession_List_withCause_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_List_withCause_Item }, }; static int dissect_xnap_PDUSession_List_withCause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_List_withCause, PDUSession_List_withCause_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSession_List_withDataForwardingFromTarget_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_dataforwardinginfoTarget, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataForwardingInfoFromTargetNGRANnode }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSession_List_withDataForwardingFromTarget_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_List_withDataForwardingFromTarget_Item, PDUSession_List_withDataForwardingFromTarget_Item_sequence); return offset; } static const per_sequence_t PDUSession_List_withDataForwardingFromTarget_sequence_of[1] = { { &hf_xnap_PDUSession_List_withDataForwardingFromTarget_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_List_withDataForwardingFromTarget_Item }, }; static int dissect_xnap_PDUSession_List_withDataForwardingFromTarget(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_List_withDataForwardingFromTarget, PDUSession_List_withDataForwardingFromTarget_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSession_List_withDataForwardingRequest_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_dataforwardingInfofromSource, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataforwardingandOffloadingInfofromSource }, { &hf_xnap_dRBtoBeReleasedList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBToQoSFlowMapping_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSession_List_withDataForwardingRequest_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_List_withDataForwardingRequest_Item, PDUSession_List_withDataForwardingRequest_Item_sequence); return offset; } static const per_sequence_t PDUSession_List_withDataForwardingRequest_sequence_of[1] = { { &hf_xnap_PDUSession_List_withDataForwardingRequest_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_List_withDataForwardingRequest_Item }, }; static int dissect_xnap_PDUSession_List_withDataForwardingRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_List_withDataForwardingRequest, PDUSession_List_withDataForwardingRequest_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const value_string xnap_T_dL_NG_U_TNL_Information_Unchanged_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_T_dL_NG_U_TNL_Information_Unchanged(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t QoSFlowsAdmitted_Item_sequence[] = { { &hf_xnap_qfi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsAdmitted_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsAdmitted_Item, QoSFlowsAdmitted_Item_sequence); return offset; } static const per_sequence_t QoSFlowsAdmitted_List_sequence_of[1] = { { &hf_xnap_QoSFlowsAdmitted_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsAdmitted_Item }, }; static int dissect_xnap_QoSFlowsAdmitted_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsAdmitted_List, QoSFlowsAdmitted_List_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t QoSFlowwithCause_Item_sequence[] = { { &hf_xnap_qfi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_cause , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Cause }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowwithCause_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowwithCause_Item, QoSFlowwithCause_Item_sequence); return offset; } static const per_sequence_t QoSFlows_List_withCause_sequence_of[1] = { { &hf_xnap_QoSFlows_List_withCause_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowwithCause_Item }, }; static int dissect_xnap_QoSFlows_List_withCause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlows_List_withCause, QoSFlows_List_withCause_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t PDUSessionResourceAdmittedInfo_sequence[] = { { &hf_xnap_dL_NG_U_TNL_Information_Unchanged, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_dL_NG_U_TNL_Information_Unchanged }, { &hf_xnap_qosFlowsAdmitted_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsAdmitted_List }, { &hf_xnap_qosFlowsNotAdmitted_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlows_List_withCause }, { &hf_xnap_dataForwardingInfoFromTarget, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataForwardingInfoFromTargetNGRANnode }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceAdmittedInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceAdmittedInfo, PDUSessionResourceAdmittedInfo_sequence); return offset; } static const per_sequence_t PDUSessionResourcesAdmitted_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_pduSessionResourceAdmittedInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourceAdmittedInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourcesAdmitted_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesAdmitted_Item, PDUSessionResourcesAdmitted_Item_sequence); return offset; } static const per_sequence_t PDUSessionResourcesAdmitted_List_sequence_of[1] = { { &hf_xnap_PDUSessionResourcesAdmitted_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourcesAdmitted_Item }, }; static int dissect_xnap_PDUSessionResourcesAdmitted_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesAdmitted_List, PDUSessionResourcesAdmitted_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSessionResourcesNotAdmitted_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_cause , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Cause }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourcesNotAdmitted_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesNotAdmitted_Item, PDUSessionResourcesNotAdmitted_Item_sequence); return offset; } static const per_sequence_t PDUSessionResourcesNotAdmitted_List_sequence_of[1] = { { &hf_xnap_PDUSessionResourcesNotAdmitted_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourcesNotAdmitted_Item }, }; static int dissect_xnap_PDUSessionResourcesNotAdmitted_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesNotAdmitted_List, PDUSessionResourcesNotAdmitted_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const value_string xnap_T_integrityProtectionIndication_vals[] = { { 0, "required" }, { 1, "preferred" }, { 2, "not-needed" }, { 0, NULL } }; static int dissect_xnap_T_integrityProtectionIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_confidentialityProtectionIndication_vals[] = { { 0, "required" }, { 1, "preferred" }, { 2, "not-needed" }, { 0, NULL } }; static int dissect_xnap_T_confidentialityProtectionIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SecurityIndication_sequence[] = { { &hf_xnap_integrityProtectionIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_integrityProtectionIndication }, { &hf_xnap_confidentialityProtectionIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_confidentialityProtectionIndication }, { &hf_xnap_maximumIPdatarate, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MaximumIPdatarate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SecurityIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SecurityIndication, SecurityIndication_sequence); return offset; } static const value_string xnap_PDUSessionType_vals[] = { { 0, "ipv4" }, { 1, "ipv6" }, { 2, "ipv4v6" }, { 3, "ethernet" }, { 4, "unstructured" }, { 0, NULL } }; static int dissect_xnap_PDUSessionType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_PDUSessionNetworkInstance(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 256U, NULL, TRUE); return offset; } static const per_sequence_t QoSFlowsToBeSetup_Item_sequence[] = { { &hf_xnap_qfi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_qosFlowLevelQoSParameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_e_RAB_ID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_E_RAB_ID }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsToBeSetup_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsToBeSetup_Item, QoSFlowsToBeSetup_Item_sequence); return offset; } static const per_sequence_t QoSFlowsToBeSetup_List_sequence_of[1] = { { &hf_xnap_QoSFlowsToBeSetup_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsToBeSetup_Item }, }; static int dissect_xnap_QoSFlowsToBeSetup_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsToBeSetup_List, QoSFlowsToBeSetup_List_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t PDUSessionResourcesToBeSetup_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_s_NSSAI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, { &hf_xnap_pduSessionAMBR , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionAggregateMaximumBitRate }, { &hf_xnap_uL_NG_U_TNLatUPF, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_source_DL_NG_U_TNL_Information, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_securityIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SecurityIndication }, { &hf_xnap_pduSessionType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionType }, { &hf_xnap_pduSessionNetworkInstance, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionNetworkInstance }, { &hf_xnap_qosFlowsToBeSetup_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsToBeSetup_List }, { &hf_xnap_dataforwardinginfofromSource, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataforwardingandOffloadingInfofromSource }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourcesToBeSetup_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesToBeSetup_Item, PDUSessionResourcesToBeSetup_Item_sequence); return offset; } static const per_sequence_t PDUSessionResourcesToBeSetup_List_sequence_of[1] = { { &hf_xnap_PDUSessionResourcesToBeSetup_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourcesToBeSetup_Item }, }; static int dissect_xnap_PDUSessionResourcesToBeSetup_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesToBeSetup_List, PDUSessionResourcesToBeSetup_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t QoSFlowsToBeSetup_List_Setup_SNterminated_Item_sequence[] = { { &hf_xnap_qfi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_qosFlowLevelQoSParameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_offeredGBRQoSFlowInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_GBRQoSFlowInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated_Item, QoSFlowsToBeSetup_List_Setup_SNterminated_Item_sequence); return offset; } static const per_sequence_t QoSFlowsToBeSetup_List_Setup_SNterminated_sequence_of[1] = { { &hf_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated_Item }, }; static int dissect_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated, QoSFlowsToBeSetup_List_Setup_SNterminated_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t PDUSessionResourceSetupInfo_SNterminated_sequence[] = { { &hf_xnap_uL_NG_U_TNLatUPF, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_pduSessionType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionType }, { &hf_xnap_pduSessionNetworkInstance, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionNetworkInstance }, { &hf_xnap_qosFlowsToBeSetup_List_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated }, { &hf_xnap_dataforwardinginfofromSource, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataforwardingandOffloadingInfofromSource }, { &hf_xnap_securityIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SecurityIndication }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceSetupInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceSetupInfo_SNterminated, PDUSessionResourceSetupInfo_SNterminated_sequence); return offset; } static const per_sequence_t UPTransportParametersItem_sequence[] = { { &hf_xnap_upTNLInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_cellGroupID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CellGroupID }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UPTransportParametersItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UPTransportParametersItem, UPTransportParametersItem_sequence); return offset; } static const per_sequence_t UPTransportParameters_sequence_of[1] = { { &hf_xnap_UPTransportParameters_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportParametersItem }, }; static int dissect_xnap_UPTransportParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_UPTransportParameters, UPTransportParameters_sequence_of, 1, maxnoofSCellGroupsplus1, FALSE); return offset; } static const value_string xnap_UL_UE_Configuration_vals[] = { { 0, "no-data" }, { 1, "shared" }, { 2, "only" }, { 0, NULL } }; static int dissect_xnap_UL_UE_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ULConfiguration_sequence[] = { { &hf_xnap_uL_PDCP , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UL_UE_Configuration }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ULConfiguration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ULConfiguration, ULConfiguration_sequence); return offset; } static const per_sequence_t QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item_sequence[] = { { &hf_xnap_qoSFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_mCGRequestedGBRQoSFlowInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_GBRQoSFlowInfo }, { &hf_xnap_qosFlowMappingIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowMappingIndication }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item, QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item_sequence); return offset; } static const per_sequence_t QoSFlowsMappedtoDRB_SetupResponse_SNterminated_sequence_of[1] = { { &hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item }, }; static int dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated, QoSFlowsMappedtoDRB_SetupResponse_SNterminated_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t DRBsToBeSetupList_SetupResponse_SNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_sN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportParameters }, { &hf_xnap_dRB_QoS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_pDCP_SNLength , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDCPSNLength }, { &hf_xnap_rLC_Mode , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RLCMode }, { &hf_xnap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ULConfiguration }, { &hf_xnap_secondary_SN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_duplicationActivation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DuplicationActivation }, { &hf_xnap_qoSFlowsMappedtoDRB_SetupResponse_SNterminated, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeSetupList_SetupResponse_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeSetupList_SetupResponse_SNterminated_Item, DRBsToBeSetupList_SetupResponse_SNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsToBeSetupList_SetupResponse_SNterminated_sequence_of[1] = { { &hf_xnap_DRBsToBeSetupList_SetupResponse_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeSetupList_SetupResponse_SNterminated_Item }, }; static int dissect_xnap_DRBsToBeSetupList_SetupResponse_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeSetupList_SetupResponse_SNterminated, DRBsToBeSetupList_SetupResponse_SNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const value_string xnap_T_integrityProtectionResult_vals[] = { { 0, "performed" }, { 1, "not-performed" }, { 0, NULL } }; static int dissect_xnap_T_integrityProtectionResult(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_confidentialityProtectionResult_vals[] = { { 0, "performed" }, { 1, "not-performed" }, { 0, NULL } }; static int dissect_xnap_T_confidentialityProtectionResult(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SecurityResult_sequence[] = { { &hf_xnap_integrityProtectionResult, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_integrityProtectionResult }, { &hf_xnap_confidentialityProtectionResult, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_confidentialityProtectionResult }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SecurityResult(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SecurityResult, SecurityResult_sequence); return offset; } static const per_sequence_t PDUSessionResourceSetupResponseInfo_SNterminated_sequence[] = { { &hf_xnap_dL_NG_U_TNLatNG_RAN, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_dRBsToBeSetup , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeSetupList_SetupResponse_SNterminated }, { &hf_xnap_dataforwardinginfoTarget, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataForwardingInfoFromTargetNGRANnode }, { &hf_xnap_qosFlowsNotAdmittedList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlows_List_withCause }, { &hf_xnap_securityResult , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SecurityResult }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceSetupResponseInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceSetupResponseInfo_SNterminated, PDUSessionResourceSetupResponseInfo_SNterminated_sequence); return offset; } static const per_sequence_t QoSFlowsMappedtoDRB_Setup_MNterminated_Item_sequence[] = { { &hf_xnap_qoSFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_qoSFlowLevelQoSParameters, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_qosFlowMappingIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowMappingIndication }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated_Item, QoSFlowsMappedtoDRB_Setup_MNterminated_Item_sequence); return offset; } static const per_sequence_t QoSFlowsMappedtoDRB_Setup_MNterminated_sequence_of[1] = { { &hf_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated_Item }, }; static int dissect_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated, QoSFlowsMappedtoDRB_Setup_MNterminated_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t DRBsToBeSetupList_Setup_MNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_mN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportParameters }, { &hf_xnap_rLC_Mode , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RLCMode }, { &hf_xnap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ULConfiguration }, { &hf_xnap_dRB_QoS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_pDCP_SNLength , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDCPSNLength }, { &hf_xnap_secondary_MN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_duplicationActivation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DuplicationActivation }, { &hf_xnap_qoSFlowsMappedtoDRB_Setup_MNterminated, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeSetupList_Setup_MNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeSetupList_Setup_MNterminated_Item, DRBsToBeSetupList_Setup_MNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsToBeSetupList_Setup_MNterminated_sequence_of[1] = { { &hf_xnap_DRBsToBeSetupList_Setup_MNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeSetupList_Setup_MNterminated_Item }, }; static int dissect_xnap_DRBsToBeSetupList_Setup_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeSetupList_Setup_MNterminated, DRBsToBeSetupList_Setup_MNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceSetupInfo_MNterminated_sequence[] = { { &hf_xnap_pduSessionType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionType }, { &hf_xnap_dRBsToBeSetup_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeSetupList_Setup_MNterminated }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceSetupInfo_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceSetupInfo_MNterminated, PDUSessionResourceSetupInfo_MNterminated_sequence); return offset; } static const per_sequence_t DRBsAdmittedList_SetupResponse_MNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_sN_DL_SCG_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportParameters }, { &hf_xnap_secondary_SN_DL_SCG_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_lCID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_LCID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsAdmittedList_SetupResponse_MNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsAdmittedList_SetupResponse_MNterminated_Item, DRBsAdmittedList_SetupResponse_MNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsAdmittedList_SetupResponse_MNterminated_sequence_of[1] = { { &hf_xnap_DRBsAdmittedList_SetupResponse_MNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsAdmittedList_SetupResponse_MNterminated_Item }, }; static int dissect_xnap_DRBsAdmittedList_SetupResponse_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsAdmittedList_SetupResponse_MNterminated, DRBsAdmittedList_SetupResponse_MNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceSetupResponseInfo_MNterminated_sequence[] = { { &hf_xnap_dRBsAdmittedList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsAdmittedList_SetupResponse_MNterminated }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceSetupResponseInfo_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceSetupResponseInfo_MNterminated, PDUSessionResourceSetupResponseInfo_MNterminated_sequence); return offset; } static const per_sequence_t QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item_sequence[] = { { &hf_xnap_qoSFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_currentQoSParaSetIndex, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSParaSetIndex }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item, QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item_sequence); return offset; } static const per_sequence_t QoSFlowsMappedtoDRB_SetupResponse_MNterminated_sequence_of[1] = { { &hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item }, }; static int dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated, QoSFlowsMappedtoDRB_SetupResponse_MNterminated_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t QoSFlowsToBeSetup_List_Modified_SNterminated_Item_sequence[] = { { &hf_xnap_qfi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_qosFlowLevelQoSParameters, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_offeredGBRQoSFlowInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_GBRQoSFlowInfo }, { &hf_xnap_qosFlowMappingIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowMappingIndication }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated_Item, QoSFlowsToBeSetup_List_Modified_SNterminated_Item_sequence); return offset; } static const per_sequence_t QoSFlowsToBeSetup_List_Modified_SNterminated_sequence_of[1] = { { &hf_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated_Item }, }; static int dissect_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated, QoSFlowsToBeSetup_List_Modified_SNterminated_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const value_string xnap_Reestablishment_Indication_vals[] = { { 0, "reestablished" }, { 0, NULL } }; static int dissect_xnap_Reestablishment_Indication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t RLC_Status_sequence[] = { { &hf_xnap_reestablishment_Indication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Reestablishment_Indication }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RLC_Status(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RLC_Status, RLC_Status_sequence); return offset; } static const per_sequence_t DRBsToBeModified_List_Modified_SNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_mN_DL_SCG_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_secondary_MN_DL_SCG_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_lCID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_LCID }, { &hf_xnap_rlc_status , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RLC_Status }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeModified_List_Modified_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModified_List_Modified_SNterminated_Item, DRBsToBeModified_List_Modified_SNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsToBeModified_List_Modified_SNterminated_sequence_of[1] = { { &hf_xnap_DRBsToBeModified_List_Modified_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeModified_List_Modified_SNterminated_Item }, }; static int dissect_xnap_DRBsToBeModified_List_Modified_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModified_List_Modified_SNterminated, DRBsToBeModified_List_Modified_SNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceModificationInfo_SNterminated_sequence[] = { { &hf_xnap_uL_NG_U_TNLatUPF, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_pduSessionNetworkInstance, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionNetworkInstance }, { &hf_xnap_qosFlowsToBeSetup_List_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated }, { &hf_xnap_dataforwardinginfofromSource, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataforwardingandOffloadingInfofromSource }, { &hf_xnap_qosFlowsToBeModified_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated }, { &hf_xnap_qoSFlowsToBeReleased_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlows_List_withCause }, { &hf_xnap_drbsToBeModifiedList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeModified_List_Modified_SNterminated }, { &hf_xnap_dRBsToBeReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRB_List_withCause }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceModificationInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceModificationInfo_SNterminated, PDUSessionResourceModificationInfo_SNterminated_sequence); return offset; } static const per_sequence_t DRBsToBeModifiedList_ModificationResponse_SNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_sN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_dRB_QoS , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_qoSFlowsMappedtoDRB_SetupResponse_SNterminated, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated_Item, DRBsToBeModifiedList_ModificationResponse_SNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsToBeModifiedList_ModificationResponse_SNterminated_sequence_of[1] = { { &hf_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated_Item }, }; static int dissect_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated, DRBsToBeModifiedList_ModificationResponse_SNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceModificationResponseInfo_SNterminated_sequence[] = { { &hf_xnap_dL_NG_U_TNLatNG_RAN, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_dRBsToBeSetup , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeSetupList_SetupResponse_SNterminated }, { &hf_xnap_dataforwardinginfoTarget, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataForwardingInfoFromTargetNGRANnode }, { &hf_xnap_dRBsToBeModified, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated }, { &hf_xnap_dRBsToBeReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRB_List_withCause }, { &hf_xnap_dataforwardinginfofromSource, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataforwardingandOffloadingInfofromSource }, { &hf_xnap_qosFlowsNotAdmittedTBAdded, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlows_List_withCause }, { &hf_xnap_qosFlowsReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlows_List_withCause }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceModificationResponseInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceModificationResponseInfo_SNterminated, PDUSessionResourceModificationResponseInfo_SNterminated_sequence); return offset; } static const per_sequence_t DRBsToBeModifiedList_Modification_MNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_mN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_dRB_QoS , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_secondary_MN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ULConfiguration }, { &hf_xnap_pdcpDuplicationConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDCPDuplicationConfiguration }, { &hf_xnap_duplicationActivation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DuplicationActivation }, { &hf_xnap_qoSFlowsMappedtoDRB_Setup_MNterminated, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeModifiedList_Modification_MNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModifiedList_Modification_MNterminated_Item, DRBsToBeModifiedList_Modification_MNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsToBeModifiedList_Modification_MNterminated_sequence_of[1] = { { &hf_xnap_DRBsToBeModifiedList_Modification_MNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeModifiedList_Modification_MNterminated_Item }, }; static int dissect_xnap_DRBsToBeModifiedList_Modification_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModifiedList_Modification_MNterminated, DRBsToBeModifiedList_Modification_MNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceModificationInfo_MNterminated_sequence[] = { { &hf_xnap_pduSessionType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionType }, { &hf_xnap_dRBsToBeSetup_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeSetupList_Setup_MNterminated }, { &hf_xnap_dRBsToBeModified_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeModifiedList_Modification_MNterminated }, { &hf_xnap_dRBsToBeReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRB_List_withCause }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceModificationInfo_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceModificationInfo_MNterminated, PDUSessionResourceModificationInfo_MNterminated_sequence); return offset; } static const per_sequence_t DRBsAdmittedList_ModificationResponse_MNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_sN_DL_SCG_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_secondary_SN_DL_SCG_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_lCID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_LCID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsAdmittedList_ModificationResponse_MNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsAdmittedList_ModificationResponse_MNterminated_Item, DRBsAdmittedList_ModificationResponse_MNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsAdmittedList_ModificationResponse_MNterminated_sequence_of[1] = { { &hf_xnap_DRBsAdmittedList_ModificationResponse_MNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsAdmittedList_ModificationResponse_MNterminated_Item }, }; static int dissect_xnap_DRBsAdmittedList_ModificationResponse_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsAdmittedList_ModificationResponse_MNterminated, DRBsAdmittedList_ModificationResponse_MNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceModificationResponseInfo_MNterminated_sequence[] = { { &hf_xnap_dRBsAdmittedList_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsAdmittedList_ModificationResponse_MNterminated }, { &hf_xnap_dRBsReleasedList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRB_List }, { &hf_xnap_dRBsNotAdmittedSetupModifyList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRB_List_withCause }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceModificationResponseInfo_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceModificationResponseInfo_MNterminated, PDUSessionResourceModificationResponseInfo_MNterminated_sequence); return offset; } static const per_sequence_t PDUSessionResourceChangeRequiredInfo_SNterminated_sequence[] = { { &hf_xnap_dataforwardinginfofromSource, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataforwardingandOffloadingInfofromSource }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceChangeRequiredInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceChangeRequiredInfo_SNterminated, PDUSessionResourceChangeRequiredInfo_SNterminated_sequence); return offset; } static const per_sequence_t PDUSessionResourceChangeRequiredInfo_MNterminated_sequence[] = { { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceChangeRequiredInfo_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceChangeRequiredInfo_MNterminated, PDUSessionResourceChangeRequiredInfo_MNterminated_sequence); return offset; } static const per_sequence_t PDUSessionResourceChangeConfirmInfo_MNterminated_sequence[] = { { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceChangeConfirmInfo_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceChangeConfirmInfo_MNterminated, PDUSessionResourceChangeConfirmInfo_MNterminated_sequence); return offset; } static const per_sequence_t QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item_sequence[] = { { &hf_xnap_qoSFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_mCGRequestedGBRQoSFlowInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_GBRQoSFlowInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item, QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item_sequence); return offset; } static const per_sequence_t QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_sequence_of[1] = { { &hf_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item }, }; static int dissect_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated, QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t DRBsToBeSetup_List_ModRqd_SNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_pDCP_SNLength , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDCPSNLength }, { &hf_xnap_sn_UL_PDCP_UPTNLinfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportParameters }, { &hf_xnap_dRB_QoS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_secondary_SN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_duplicationActivation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DuplicationActivation }, { &hf_xnap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ULConfiguration }, { &hf_xnap_qoSFlowsMappedtoDRB_ModRqd_SNterminated, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated }, { &hf_xnap_rLC_Mode , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RLCMode }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeSetup_List_ModRqd_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeSetup_List_ModRqd_SNterminated_Item, DRBsToBeSetup_List_ModRqd_SNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsToBeSetup_List_ModRqd_SNterminated_sequence_of[1] = { { &hf_xnap_DRBsToBeSetup_List_ModRqd_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeSetup_List_ModRqd_SNterminated_Item }, }; static int dissect_xnap_DRBsToBeSetup_List_ModRqd_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeSetup_List_ModRqd_SNterminated, DRBsToBeSetup_List_ModRqd_SNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item_sequence[] = { { &hf_xnap_qoSFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_mCGRequestedGBRQoSFlowInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_GBRQoSFlowInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item, QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item_sequence); return offset; } static const per_sequence_t QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_sequence_of[1] = { { &hf_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item }, }; static int dissect_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated, QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t DRBsToBeModified_List_ModRqd_SNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_sN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_dRB_QoS , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_secondary_SN_UL_PDCP_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_uL_Configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ULConfiguration }, { &hf_xnap_pdcpDuplicationConfiguration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDCPDuplicationConfiguration }, { &hf_xnap_duplicationActivation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DuplicationActivation }, { &hf_xnap_qoSFlowsMappedtoDRB_ModRqd_SNterminated_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeModified_List_ModRqd_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModified_List_ModRqd_SNterminated_Item, DRBsToBeModified_List_ModRqd_SNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsToBeModified_List_ModRqd_SNterminated_sequence_of[1] = { { &hf_xnap_DRBsToBeModified_List_ModRqd_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeModified_List_ModRqd_SNterminated_Item }, }; static int dissect_xnap_DRBsToBeModified_List_ModRqd_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModified_List_ModRqd_SNterminated, DRBsToBeModified_List_ModRqd_SNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceModRqdInfo_SNterminated_sequence[] = { { &hf_xnap_dL_NG_U_TNLatNG_RAN, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_qoSFlowsToBeReleased_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlows_List_withCause }, { &hf_xnap_dataforwardinginfofromSource, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataforwardingandOffloadingInfofromSource }, { &hf_xnap_drbsToBeSetupList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeSetup_List_ModRqd_SNterminated }, { &hf_xnap_drbsToBeModifiedList_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeModified_List_ModRqd_SNterminated }, { &hf_xnap_dRBsToBeReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRB_List_withCause }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceModRqdInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceModRqdInfo_SNterminated, PDUSessionResourceModRqdInfo_SNterminated_sequence); return offset; } static const per_sequence_t DRBsAdmittedList_ModConfirm_SNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_mN_DL_CG_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_secondary_MN_DL_CG_UP_TNLInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportParameters }, { &hf_xnap_lCID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_LCID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsAdmittedList_ModConfirm_SNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsAdmittedList_ModConfirm_SNterminated_Item, DRBsAdmittedList_ModConfirm_SNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsAdmittedList_ModConfirm_SNterminated_sequence_of[1] = { { &hf_xnap_DRBsAdmittedList_ModConfirm_SNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsAdmittedList_ModConfirm_SNterminated_Item }, }; static int dissect_xnap_DRBsAdmittedList_ModConfirm_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsAdmittedList_ModConfirm_SNterminated, DRBsAdmittedList_ModConfirm_SNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceModConfirmInfo_SNterminated_sequence[] = { { &hf_xnap_uL_NG_U_TNLatUPF, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_dRBsAdmittedList_02, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsAdmittedList_ModConfirm_SNterminated }, { &hf_xnap_dRBsNotAdmittedSetupModifyList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRB_List_withCause }, { &hf_xnap_dataforwardinginfoTarget, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DataForwardingInfoFromTargetNGRANnode }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceModConfirmInfo_SNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceModConfirmInfo_SNterminated, PDUSessionResourceModConfirmInfo_SNterminated_sequence); return offset; } static const per_sequence_t DRBsToBeModified_List_ModRqd_MNterminated_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_sN_DL_SCG_UP_TNLInfo_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_secondary_SN_DL_SCG_UP_TNLInfo_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_lCID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_LCID }, { &hf_xnap_rlc_status , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RLC_Status }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DRBsToBeModified_List_ModRqd_MNterminated_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModified_List_ModRqd_MNterminated_Item, DRBsToBeModified_List_ModRqd_MNterminated_Item_sequence); return offset; } static const per_sequence_t DRBsToBeModified_List_ModRqd_MNterminated_sequence_of[1] = { { &hf_xnap_DRBsToBeModified_List_ModRqd_MNterminated_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsToBeModified_List_ModRqd_MNterminated_Item }, }; static int dissect_xnap_DRBsToBeModified_List_ModRqd_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_DRBsToBeModified_List_ModRqd_MNterminated, DRBsToBeModified_List_ModRqd_MNterminated_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t PDUSessionResourceModRqdInfo_MNterminated_sequence[] = { { &hf_xnap_dRBsToBeModified_02, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRBsToBeModified_List_ModRqd_MNterminated }, { &hf_xnap_dRBsToBeReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DRB_List_withCause }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceModRqdInfo_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceModRqdInfo_MNterminated, PDUSessionResourceModRqdInfo_MNterminated_sequence); return offset; } static const per_sequence_t PDUSessionResourceModConfirmInfo_MNterminated_sequence[] = { { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceModConfirmInfo_MNterminated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceModConfirmInfo_MNterminated, PDUSessionResourceModConfirmInfo_MNterminated_sequence); return offset; } static const value_string xnap_T_rATType_vals[] = { { 0, "nr" }, { 1, "eutra" }, { 2, "nr-unlicensed" }, { 3, "e-utra-unlicensed" }, { 0, NULL } }; static int dissect_xnap_T_rATType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 2, NULL); return offset; } static int dissect_xnap_T_startTimeStamp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *timestamp_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, &timestamp_tvb); if (timestamp_tvb) { proto_item_append_text(actx->created_item, " (%s)", tvb_ntp_fmt_ts_sec(timestamp_tvb, 0)); } return offset; } static int dissect_xnap_T_endTimeStamp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *timestamp_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE, &timestamp_tvb); if (timestamp_tvb) { proto_item_append_text(actx->created_item, " (%s)", tvb_ntp_fmt_ts_sec(timestamp_tvb, 0)); } return offset; } static int dissect_xnap_INTEGER_0_18446744073709551615(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer_64b(tvb, offset, actx, tree, hf_index, 0U, G_GUINT64_CONSTANT(18446744073709551615), NULL, FALSE); return offset; } static const per_sequence_t VolumeTimedReport_Item_sequence[] = { { &hf_xnap_startTimeStamp , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_startTimeStamp }, { &hf_xnap_endTimeStamp , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_endTimeStamp }, { &hf_xnap_usageCountUL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_18446744073709551615 }, { &hf_xnap_usageCountDL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_18446744073709551615 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_VolumeTimedReport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_VolumeTimedReport_Item, VolumeTimedReport_Item_sequence); return offset; } static const per_sequence_t VolumeTimedReportList_sequence_of[1] = { { &hf_xnap_VolumeTimedReportList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_VolumeTimedReport_Item }, }; static int dissect_xnap_VolumeTimedReportList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_VolumeTimedReportList, VolumeTimedReportList_sequence_of, 1, maxnooftimeperiods, FALSE); return offset; } static const per_sequence_t PDUSessionUsageReport_sequence[] = { { &hf_xnap_rATType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_rATType }, { &hf_xnap_pDUSessionTimedReportList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_VolumeTimedReportList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionUsageReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionUsageReport, PDUSessionUsageReport_sequence); return offset; } static const value_string xnap_T_rATType_01_vals[] = { { 0, "nr" }, { 1, "eutra" }, { 2, "nr-unlicensed" }, { 3, "e-utra-unlicensed" }, { 0, NULL } }; static int dissect_xnap_T_rATType_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 2, NULL); return offset; } static const per_sequence_t QoSFlowsUsageReport_Item_sequence[] = { { &hf_xnap_qosFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_rATType_01 , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_rATType_01 }, { &hf_xnap_qoSFlowsTimedReportList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_VolumeTimedReportList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsUsageReport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsUsageReport_Item, QoSFlowsUsageReport_Item_sequence); return offset; } static const per_sequence_t QoSFlowsUsageReportList_sequence_of[1] = { { &hf_xnap_QoSFlowsUsageReportList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsUsageReport_Item }, }; static int dissect_xnap_QoSFlowsUsageReportList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsUsageReportList, QoSFlowsUsageReportList_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t SecondaryRATUsageInformation_sequence[] = { { &hf_xnap_pDUSessionUsageReport, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionUsageReport }, { &hf_xnap_qosFlowsUsageReportList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowsUsageReportList }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SecondaryRATUsageInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SecondaryRATUsageInformation, SecondaryRATUsageInformation_sequence); return offset; } static const per_sequence_t PDUSessionResourceSecondaryRATUsageItem_sequence[] = { { &hf_xnap_pDUSessionID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_secondaryRATUsageInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SecondaryRATUsageInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourceSecondaryRATUsageItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceSecondaryRATUsageItem, PDUSessionResourceSecondaryRATUsageItem_sequence); return offset; } static const per_sequence_t PDUSessionResourceSecondaryRATUsageList_sequence_of[1] = { { &hf_xnap_PDUSessionResourceSecondaryRATUsageList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourceSecondaryRATUsageItem }, }; static int dissect_xnap_PDUSessionResourceSecondaryRATUsageList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourceSecondaryRATUsageList, PDUSessionResourceSecondaryRATUsageList_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static int dissect_xnap_PDUSessionCommonNetworkInstance(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static int dissect_xnap_PDUSession_PairID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, NULL, TRUE); return offset; } static const value_string xnap_T_resourceType_vals[] = { { 0, "downlinknonCRS" }, { 1, "cRS" }, { 2, "uplink" }, { 0, NULL } }; static int dissect_xnap_T_resourceType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_84_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 84, 84, TRUE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_BIT_STRING_SIZE_6_110_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 6, 110, TRUE, NULL, 0, NULL, NULL); return offset; } static int dissect_xnap_INTEGER_1_320_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 320U, NULL, TRUE); return offset; } static int dissect_xnap_INTEGER_1_20_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 20U, NULL, TRUE); return offset; } static const per_sequence_t ProtectedE_UTRAFootprintTimePattern_sequence[] = { { &hf_xnap_protectedFootprintTimeperiodicity, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_320_ }, { &hf_xnap_protectedFootrpintStartTime, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_20_ }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ProtectedE_UTRAFootprintTimePattern(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ProtectedE_UTRAFootprintTimePattern, ProtectedE_UTRAFootprintTimePattern_sequence); return offset; } static const per_sequence_t ProtectedE_UTRAResource_Item_sequence[] = { { &hf_xnap_resourceType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_resourceType }, { &hf_xnap_intra_PRBProtectedResourceFootprint, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_84_ }, { &hf_xnap_protectedFootprintFrequencyPattern, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_6_110_ }, { &hf_xnap_protectedFootprintTimePattern, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtectedE_UTRAFootprintTimePattern }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ProtectedE_UTRAResource_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ProtectedE_UTRAResource_Item, ProtectedE_UTRAResource_Item_sequence); return offset; } static const per_sequence_t ProtectedE_UTRAResourceList_sequence_of[1] = { { &hf_xnap_ProtectedE_UTRAResourceList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProtectedE_UTRAResource_Item }, }; static int dissect_xnap_ProtectedE_UTRAResourceList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ProtectedE_UTRAResourceList, ProtectedE_UTRAResourceList_sequence_of, 1, maxnoofProtectedResourcePatterns, FALSE); return offset; } static int dissect_xnap_INTEGER_1_3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 3U, NULL, FALSE); return offset; } static const per_sequence_t ProtectedE_UTRAResourceIndication_sequence[] = { { &hf_xnap_activationSFN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ActivationSFN }, { &hf_xnap_protectedResourceList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtectedE_UTRAResourceList }, { &hf_xnap_mbsfnControlRegionLength, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBSFNControlRegionLength }, { &hf_xnap_pDCCHRegionLength, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_1_3 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ProtectedE_UTRAResourceIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ProtectedE_UTRAResourceIndication, ProtectedE_UTRAResourceIndication_sequence); return offset; } static const value_string xnap_PrivacyIndicator_vals[] = { { 0, "immediate-MDT" }, { 1, "logged-MDT" }, { 0, NULL } }; static int dissect_xnap_PrivacyIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_PSCellChangeHistory_vals[] = { { 0, "reporting-full-history" }, { 0, NULL } }; static int dissect_xnap_PSCellChangeHistory(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_PSCellHistoryInformationRetrieve_vals[] = { { 0, "query" }, { 0, NULL } }; static int dissect_xnap_PSCellHistoryInformationRetrieve(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_QOEReference(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 6, 6, FALSE, NULL); return offset; } static int dissect_xnap_QOEMeasConfAppLayerID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 15U, NULL, TRUE); return offset; } static const value_string xnap_ServiceType_vals[] = { { 0, "qMC-for-streaming-service" }, { 1, "qMC-for-MTSI-service" }, { 2, "qMC-for-VR-service" }, { 0, NULL } }; static int dissect_xnap_ServiceType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_QOEMeasStatus_vals[] = { { 0, "ongoing" }, { 0, NULL } }; static int dissect_xnap_QOEMeasStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t S_NSSAIListQoE_sequence_of[1] = { { &hf_xnap_S_NSSAIListQoE_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, }; static int dissect_xnap_S_NSSAIListQoE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_S_NSSAIListQoE, S_NSSAIListQoE_sequence_of, 1, maxnoofSNSSAIforQMC, FALSE); return offset; } static const per_sequence_t UEAppLayerMeasConfigInfo_sequence[] = { { &hf_xnap_qOEReference , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QOEReference }, { &hf_xnap_qOEMeasConfigAppLayerID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QOEMeasConfAppLayerID }, { &hf_xnap_serviceType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ServiceType }, { &hf_xnap_qOEMeasStatus , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QOEMeasStatus }, { &hf_xnap_containerAppLayerMeasConfig, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ContainerAppLayerMeasConfig }, { &hf_xnap_mDTAlignmentInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MDTAlignmentInfo }, { &hf_xnap_measCollectionEntityIPAddress, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MeasCollectionEntityIPAddress }, { &hf_xnap_areaScopeOfQMC , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_AreaScopeOfQMC }, { &hf_xnap_s_NSSAIListQoE , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_S_NSSAIListQoE }, { &hf_xnap_availableRVQoEMetrics, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_AvailableRVQoEMetrics }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEAppLayerMeasConfigInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEAppLayerMeasConfigInfo, UEAppLayerMeasConfigInfo_sequence); return offset; } static const per_sequence_t UEAppLayerMeasInfo_Item_sequence[] = { { &hf_xnap_uEAppLayerMeasConfigInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UEAppLayerMeasConfigInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEAppLayerMeasInfo_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEAppLayerMeasInfo_Item, UEAppLayerMeasInfo_Item_sequence); return offset; } static const per_sequence_t UEAppLayerMeasInfoList_sequence_of[1] = { { &hf_xnap_UEAppLayerMeasInfoList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_UEAppLayerMeasInfo_Item }, }; static int dissect_xnap_UEAppLayerMeasInfoList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_UEAppLayerMeasInfoList, UEAppLayerMeasInfoList_sequence_of, 1, maxnoofUEAppLayerMeas, FALSE); return offset; } static const per_sequence_t QMCConfigInfo_sequence[] = { { &hf_xnap_uEAppLayerMeasInfoList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UEAppLayerMeasInfoList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QMCConfigInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QMCConfigInfo, QMCConfigInfo_sequence); return offset; } static const value_string xnap_T_notificationInformation_vals[] = { { 0, "fulfilled" }, { 1, "not-fulfilled" }, { 0, NULL } }; static int dissect_xnap_T_notificationInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t QoSFlowNotify_Item_sequence[] = { { &hf_xnap_qosFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_notificationInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_notificationInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowNotify_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowNotify_Item, QoSFlowNotify_Item_sequence); return offset; } static const per_sequence_t QoSFlowNotificationControlIndicationInfo_sequence_of[1] = { { &hf_xnap_QoSFlowNotificationControlIndicationInfo_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowNotify_Item }, }; static int dissect_xnap_QoSFlowNotificationControlIndicationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowNotificationControlIndicationInfo, QoSFlowNotificationControlIndicationInfo_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t QoS_Mapping_Information_sequence[] = { { &hf_xnap_dscp , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BIT_STRING_SIZE_6 }, { &hf_xnap_flow_label , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BIT_STRING_SIZE_20 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoS_Mapping_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoS_Mapping_Information, QoS_Mapping_Information_sequence); return offset; } static int dissect_xnap_QoSParaSetNotifyIndex(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 8U, NULL, TRUE); return offset; } static const value_string xnap_QosMonitoringRequest_vals[] = { { 0, "ul" }, { 1, "dl" }, { 2, "both" }, { 0, NULL } }; static int dissect_xnap_QosMonitoringRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, FALSE, 0, NULL); return offset; } static const value_string xnap_QoSMonitoringDisabled_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_QoSMonitoringDisabled(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_QosMonitoringReportingFrequency(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 1800U, NULL, TRUE); return offset; } static int dissect_xnap_RACHReportContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_RACHReportContainer); dissect_nr_rrc_RA_ReportList_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t RACHReportList_Item_sequence[] = { { &hf_xnap_rACHReport , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RACHReportContainer }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RACHReportList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RACHReportList_Item, RACHReportList_Item_sequence); return offset; } static const per_sequence_t RACHReportInformation_sequence_of[1] = { { &hf_xnap_RACHReportInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_RACHReportList_Item }, }; static int dissect_xnap_RACHReportInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_RACHReportInformation, RACHReportInformation_sequence_of, 1, maxnoofRACHReports, FALSE); return offset; } static const per_sequence_t RANAreaID_sequence[] = { { &hf_xnap_tAC , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_rANAC , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RANAC }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RANAreaID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RANAreaID, RANAreaID_sequence); return offset; } static const per_sequence_t RANAreaID_List_sequence_of[1] = { { &hf_xnap_RANAreaID_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_RANAreaID }, }; static int dissect_xnap_RANAreaID_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_RANAreaID_List, RANAreaID_List_sequence_of, 1, maxnoofRANAreasinRNA, FALSE); return offset; } static const value_string xnap_RANPagingAreaChoice_vals[] = { { 0, "cell-List" }, { 1, "rANAreaID-List" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t RANPagingAreaChoice_choice[] = { { 0, &hf_xnap_cell_List , ASN1_NO_EXTENSIONS , dissect_xnap_NG_RAN_Cell_Identity_ListinRANPagingArea }, { 1, &hf_xnap_rANAreaID_List , ASN1_NO_EXTENSIONS , dissect_xnap_RANAreaID_List }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_RANPagingAreaChoice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_RANPagingAreaChoice, RANPagingAreaChoice_choice, NULL); return offset; } static const per_sequence_t RANPagingArea_sequence[] = { { &hf_xnap_pLMN_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_rANPagingAreaChoice, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RANPagingAreaChoice }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RANPagingArea(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RANPagingArea, RANPagingArea_sequence); return offset; } static const value_string xnap_RANPagingFailure_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_RANPagingFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_Redcap_Bcast_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_RedundantQoSFlowIndicator_vals[] = { { 0, "true" }, { 1, "false" }, { 0, NULL } }; static int dissect_xnap_RedundantQoSFlowIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, FALSE, 0, NULL); return offset; } static const value_string xnap_RSN_vals[] = { { 0, "v1" }, { 1, "v2" }, { 0, NULL } }; static int dissect_xnap_RSN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t RedundantPDUSessionInformation_sequence[] = { { &hf_xnap_rSN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RSN }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RedundantPDUSessionInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RedundantPDUSessionInformation, RedundantPDUSessionInformation_sequence); return offset; } static const value_string xnap_ExtendedReportIntervalMDT_vals[] = { { 0, "ms20480" }, { 1, "ms40960" }, { 0, NULL } }; static int dissect_xnap_ExtendedReportIntervalMDT(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_ReportCharacteristics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, &parameter_tvb, NULL); if(parameter_tvb){ static int * const fields[] = { &hf_xnap_ReportCharacteristics_PRBPeriodic, &hf_xnap_ReportCharacteristics_TNLCapacityIndPeriodic, &hf_xnap_ReportCharacteristics_CompositeAvailableCapacityPeriodic, &hf_xnap_ReportCharacteristics_NumberOfActiveUEs, &hf_xnap_ReportCharacteristics_Reserved, NULL }; proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_ReportCharacteristics); proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 4, fields, ENC_BIG_ENDIAN); } return offset; } static const value_string xnap_ReportingPeriodicity_vals[] = { { 0, "half-thousand-ms" }, { 1, "one-thousand-ms" }, { 2, "two-thousand-ms" }, { 3, "five-thousand-ms" }, { 4, "ten-thousand-ms" }, { 0, NULL } }; static int dissect_xnap_ReportingPeriodicity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 5, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_RegistrationRequest_vals[] = { { 0, "start" }, { 1, "stop" }, { 2, "add" }, { 0, NULL } }; static int dissect_xnap_RegistrationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ResetRequestTypeInfo_Full_sequence[] = { { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResetRequestTypeInfo_Full(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResetRequestTypeInfo_Full, ResetRequestTypeInfo_Full_sequence); return offset; } static const per_sequence_t ResetRequestPartialReleaseItem_sequence[] = { { &hf_xnap_ng_ran_node1UEXnAPID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NG_RANnodeUEXnAPID }, { &hf_xnap_ng_ran_node2UEXnAPID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NG_RANnodeUEXnAPID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResetRequestPartialReleaseItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResetRequestPartialReleaseItem, ResetRequestPartialReleaseItem_sequence); return offset; } static const per_sequence_t ResetRequestPartialReleaseList_sequence_of[1] = { { &hf_xnap_ResetRequestPartialReleaseList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ResetRequestPartialReleaseItem }, }; static int dissect_xnap_ResetRequestPartialReleaseList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ResetRequestPartialReleaseList, ResetRequestPartialReleaseList_sequence_of, 1, maxnoofUEContexts, FALSE); return offset; } static const per_sequence_t ResetRequestTypeInfo_Partial_sequence[] = { { &hf_xnap_ue_contexts_ToBeReleasedList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ResetRequestPartialReleaseList }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResetRequestTypeInfo_Partial(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResetRequestTypeInfo_Partial, ResetRequestTypeInfo_Partial_sequence); return offset; } static const value_string xnap_ResetRequestTypeInfo_vals[] = { { 0, "fullReset" }, { 1, "partialReset" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ResetRequestTypeInfo_choice[] = { { 0, &hf_xnap_fullReset , ASN1_NO_EXTENSIONS , dissect_xnap_ResetRequestTypeInfo_Full }, { 1, &hf_xnap_partialReset , ASN1_NO_EXTENSIONS , dissect_xnap_ResetRequestTypeInfo_Partial }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ResetRequestTypeInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ResetRequestTypeInfo, ResetRequestTypeInfo_choice, NULL); return offset; } static const per_sequence_t ResetResponseTypeInfo_Full_sequence[] = { { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResetResponseTypeInfo_Full(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResetResponseTypeInfo_Full, ResetResponseTypeInfo_Full_sequence); return offset; } static const per_sequence_t ResetResponsePartialReleaseItem_sequence[] = { { &hf_xnap_ng_ran_node1UEXnAPID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NG_RANnodeUEXnAPID }, { &hf_xnap_ng_ran_node2UEXnAPID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NG_RANnodeUEXnAPID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResetResponsePartialReleaseItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResetResponsePartialReleaseItem, ResetResponsePartialReleaseItem_sequence); return offset; } static const per_sequence_t ResetResponsePartialReleaseList_sequence_of[1] = { { &hf_xnap_ResetResponsePartialReleaseList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ResetResponsePartialReleaseItem }, }; static int dissect_xnap_ResetResponsePartialReleaseList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ResetResponsePartialReleaseList, ResetResponsePartialReleaseList_sequence_of, 1, maxnoofUEContexts, FALSE); return offset; } static const per_sequence_t ResetResponseTypeInfo_Partial_sequence[] = { { &hf_xnap_ue_contexts_AdmittedToBeReleasedList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ResetResponsePartialReleaseList }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResetResponseTypeInfo_Partial(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResetResponseTypeInfo_Partial, ResetResponseTypeInfo_Partial_sequence); return offset; } static const value_string xnap_ResetResponseTypeInfo_vals[] = { { 0, "fullReset" }, { 1, "partialReset" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ResetResponseTypeInfo_choice[] = { { 0, &hf_xnap_fullReset_01 , ASN1_NO_EXTENSIONS , dissect_xnap_ResetResponseTypeInfo_Full }, { 1, &hf_xnap_partialReset_01, ASN1_NO_EXTENSIONS , dissect_xnap_ResetResponseTypeInfo_Partial }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ResetResponseTypeInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ResetResponseTypeInfo, ResetResponseTypeInfo_choice, NULL); return offset; } static const value_string xnap_T_duplicationState_vals[] = { { 0, "active" }, { 1, "inactive" }, { 0, NULL } }; static int dissect_xnap_T_duplicationState(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t RLCDuplicationState_Item_sequence[] = { { &hf_xnap_duplicationState, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_duplicationState }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RLCDuplicationState_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RLCDuplicationState_Item, RLCDuplicationState_Item_sequence); return offset; } static const per_sequence_t RLCDuplicationStateList_sequence_of[1] = { { &hf_xnap_RLCDuplicationStateList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_RLCDuplicationState_Item }, }; static int dissect_xnap_RLCDuplicationStateList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_RLCDuplicationStateList, RLCDuplicationStateList_sequence_of, 1, maxnoofRLCDuplicationstate, FALSE); return offset; } static const value_string xnap_T_rLC_PrimaryIndicator_vals[] = { { 0, "true" }, { 1, "false" }, { 0, NULL } }; static int dissect_xnap_T_rLC_PrimaryIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, FALSE, 0, NULL); return offset; } static const per_sequence_t RLCDuplicationInformation_sequence[] = { { &hf_xnap_rLCDuplicationStateList, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_RLCDuplicationStateList }, { &hf_xnap_rLC_PrimaryIndicator, ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_T_rLC_PrimaryIndicator }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RLCDuplicationInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RLCDuplicationInformation, RLCDuplicationInformation_sequence); return offset; } static int dissect_xnap_RFSP_Index(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 256U, NULL, FALSE); return offset; } static const value_string xnap_RRCConfigIndication_vals[] = { { 0, "full-config" }, { 1, "delta-config" }, { 0, NULL } }; static int dissect_xnap_RRCConfigIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_RRCConnReestab_Indicator_vals[] = { { 0, "reconfigurationFailure" }, { 1, "handoverFailure" }, { 2, "otherFailure" }, { 0, NULL } }; static int dissect_xnap_RRCConnReestab_Indicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_RRCResumeCause_vals[] = { { 0, "rna-Update" }, { 0, NULL } }; static int dissect_xnap_RRCResumeCause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SCGreconfigNotification_vals[] = { { 0, "executed" }, { 1, "executed-deleted" }, { 2, "deleted" }, { 0, NULL } }; static int dissect_xnap_SCGreconfigNotification(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 2, NULL); return offset; } static const per_sequence_t SecondarydataForwardingInfoFromTarget_Item_sequence[] = { { &hf_xnap_secondarydataForwardingInfoFromTarget, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataForwardingInfoFromTargetNGRANnode }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SecondarydataForwardingInfoFromTarget_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SecondarydataForwardingInfoFromTarget_Item, SecondarydataForwardingInfoFromTarget_Item_sequence); return offset; } static const per_sequence_t SecondarydataForwardingInfoFromTarget_List_sequence_of[1] = { { &hf_xnap_SecondarydataForwardingInfoFromTarget_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SecondarydataForwardingInfoFromTarget_Item }, }; static int dissect_xnap_SecondarydataForwardingInfoFromTarget_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SecondarydataForwardingInfoFromTarget_List, SecondarydataForwardingInfoFromTarget_List_sequence_of, 1, maxnoofMultiConnectivityMinusOne, FALSE); return offset; } static const value_string xnap_SCGActivationRequest_vals[] = { { 0, "activate-scg" }, { 1, "deactivate-scg" }, { 0, NULL } }; static int dissect_xnap_SCGActivationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SCGActivationStatus_vals[] = { { 0, "scg-activated" }, { 1, "scg-deactivated" }, { 0, NULL } }; static int dissect_xnap_SCGActivationStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SCGConfigurationQuery_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_SCGConfigurationQuery(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SCGIndicator_vals[] = { { 0, "released" }, { 0, NULL } }; static int dissect_xnap_SCGIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_SCGFailureReportContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static const value_string xnap_SDTIndicator_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_SDTIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SDTAssistantInfo_vals[] = { { 0, "single-packet" }, { 1, "multiple-packets" }, { 0, NULL } }; static int dissect_xnap_SDTAssistantInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SDTSupportRequest_sequence[] = { { &hf_xnap_sdtindicator , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SDTIndicator }, { &hf_xnap_sdtAssistantInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SDTAssistantInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SDTSupportRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SDTSupportRequest, SDTSupportRequest_sequence); return offset; } static const value_string xnap_SDT_Termination_Request_vals[] = { { 0, "radio-link-problem" }, { 1, "normal" }, { 0, NULL } }; static int dissect_xnap_SDT_Termination_Request(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_T_dRB_RLC_Bearer_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_RLC_Bearer_Configuration); dissect_nr_rrc_RLC_BearerConfig_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t SDT_DRBsToBeSetupList_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_uL_TNLInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_dRB_RLC_Bearer_Configuration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_dRB_RLC_Bearer_Configuration }, { &hf_xnap_dRB_QoS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowLevelQoSParameters }, { &hf_xnap_rLC_Mode , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_RLCMode }, { &hf_xnap_s_nssai , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, { &hf_xnap_pDCP_SNLength , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDCPSNLength }, { &hf_xnap_flows_Mapped_To_DRB_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Flows_Mapped_To_DRB_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SDT_DRBsToBeSetupList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SDT_DRBsToBeSetupList_Item, SDT_DRBsToBeSetupList_Item_sequence); return offset; } static const per_sequence_t SDT_DRBsToBeSetupList_sequence_of[1] = { { &hf_xnap_SDT_DRBsToBeSetupList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SDT_DRBsToBeSetupList_Item }, }; static int dissect_xnap_SDT_DRBsToBeSetupList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SDT_DRBsToBeSetupList, SDT_DRBsToBeSetupList_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static int dissect_xnap_SRB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4U, NULL, TRUE); return offset; } static int dissect_xnap_T_sRB_RLC_Bearer_Configuration(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_RLC_Bearer_Configuration); dissect_nr_rrc_RLC_BearerConfig_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t SDT_SRBsToBeSetupList_Item_sequence[] = { { &hf_xnap_srb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SRB_ID }, { &hf_xnap_sRB_RLC_Bearer_Configuration, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_sRB_RLC_Bearer_Configuration }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SDT_SRBsToBeSetupList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SDT_SRBsToBeSetupList_Item, SDT_SRBsToBeSetupList_Item_sequence); return offset; } static const per_sequence_t SDT_SRBsToBeSetupList_sequence_of[1] = { { &hf_xnap_SDT_SRBsToBeSetupList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SDT_SRBsToBeSetupList_Item }, }; static int dissect_xnap_SDT_SRBsToBeSetupList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SDT_SRBsToBeSetupList, SDT_SRBsToBeSetupList_sequence_of, 1, maxnoofSRBs, FALSE); return offset; } static const per_sequence_t SDTPartialUEContextInfo_sequence[] = { { &hf_xnap_dRBsToBeSetup_02, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SDT_DRBsToBeSetupList }, { &hf_xnap_sRBsToBeSetup , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SDT_SRBsToBeSetupList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SDTPartialUEContextInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SDTPartialUEContextInfo, SDTPartialUEContextInfo_sequence); return offset; } static const per_sequence_t SDTDataForwardingDRBList_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_dL_TNLInfo , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UPTransportLayerInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SDTDataForwardingDRBList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SDTDataForwardingDRBList_Item, SDTDataForwardingDRBList_Item_sequence); return offset; } static const per_sequence_t SDTDataForwardingDRBList_sequence_of[1] = { { &hf_xnap_SDTDataForwardingDRBList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SDTDataForwardingDRBList_Item }, }; static int dissect_xnap_SDTDataForwardingDRBList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SDTDataForwardingDRBList, SDTDataForwardingDRBList_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t ServedCellInformation_E_UTRA_perBPLMN_sequence[] = { { &hf_xnap_plmn_id , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCellInformation_E_UTRA_perBPLMN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellInformation_E_UTRA_perBPLMN, ServedCellInformation_E_UTRA_perBPLMN_sequence); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN_sequence_of[1] = { { &hf_xnap_broadcastPLMNs_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCellInformation_E_UTRA_perBPLMN }, }; static int dissect_xnap_SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN, SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static const per_sequence_t ServedCellInformation_E_UTRA_FDDInfo_sequence[] = { { &hf_xnap_ul_earfcn , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRAARFCN }, { &hf_xnap_dl_earfcn , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRAARFCN }, { &hf_xnap_ul_e_utraTxBW , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRATransmissionBandwidth }, { &hf_xnap_dl_e_utraTxBW , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRATransmissionBandwidth }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCellInformation_E_UTRA_FDDInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellInformation_E_UTRA_FDDInfo, ServedCellInformation_E_UTRA_FDDInfo_sequence); return offset; } static const value_string xnap_T_subframeAssignmnet_vals[] = { { 0, "sa0" }, { 1, "sa1" }, { 2, "sa2" }, { 3, "sa3" }, { 4, "sa4" }, { 5, "sa5" }, { 6, "sa6" }, { 0, NULL } }; static int dissect_xnap_T_subframeAssignmnet(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 7, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SpecialSubframePatterns_E_UTRA_vals[] = { { 0, "ssp0" }, { 1, "ssp1" }, { 2, "ssp2" }, { 3, "ssp3" }, { 4, "ssp4" }, { 5, "ssp5" }, { 6, "ssp6" }, { 7, "ssp7" }, { 8, "ssp8" }, { 9, "ssp9" }, { 10, "ssp10" }, { 0, NULL } }; static int dissect_xnap_SpecialSubframePatterns_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 11, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SpecialSubframeInfo_E_UTRA_sequence[] = { { &hf_xnap_specialSubframePattern, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SpecialSubframePatterns_E_UTRA }, { &hf_xnap_cyclicPrefixDL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CyclicPrefix_E_UTRA_DL }, { &hf_xnap_cyclicPrefixUL , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CyclicPrefix_E_UTRA_UL }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SpecialSubframeInfo_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SpecialSubframeInfo_E_UTRA, SpecialSubframeInfo_E_UTRA_sequence); return offset; } static const per_sequence_t ServedCellInformation_E_UTRA_TDDInfo_sequence[] = { { &hf_xnap_earfcn , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRAARFCN }, { &hf_xnap_e_utraTxBW , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRATransmissionBandwidth }, { &hf_xnap_subframeAssignmnet, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_subframeAssignmnet }, { &hf_xnap_specialSubframeInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SpecialSubframeInfo_E_UTRA }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCellInformation_E_UTRA_TDDInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellInformation_E_UTRA_TDDInfo, ServedCellInformation_E_UTRA_TDDInfo_sequence); return offset; } static const value_string xnap_ServedCellInformation_E_UTRA_ModeInfo_vals[] = { { 0, "fdd" }, { 1, "tdd" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ServedCellInformation_E_UTRA_ModeInfo_choice[] = { { 0, &hf_xnap_fdd_02 , ASN1_NO_EXTENSIONS , dissect_xnap_ServedCellInformation_E_UTRA_FDDInfo }, { 1, &hf_xnap_tdd_02 , ASN1_NO_EXTENSIONS , dissect_xnap_ServedCellInformation_E_UTRA_TDDInfo }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ServedCellInformation_E_UTRA_ModeInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellInformation_E_UTRA_ModeInfo, ServedCellInformation_E_UTRA_ModeInfo_choice, NULL); return offset; } static const value_string xnap_T_freqBandIndicatorPriority_vals[] = { { 0, "not-broadcast" }, { 1, "broadcast" }, { 0, NULL } }; static int dissect_xnap_T_freqBandIndicatorPriority(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_T_bandwidthReducedSI_vals[] = { { 0, "scheduled" }, { 0, NULL } }; static int dissect_xnap_T_bandwidthReducedSI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ServedCellInformation_E_UTRA_sequence[] = { { &hf_xnap_e_utra_pci , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRAPCI }, { &hf_xnap_e_utra_cgi , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRA_CGI }, { &hf_xnap_tac , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_ranac , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RANAC }, { &hf_xnap_broadcastPLMNs_02, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN }, { &hf_xnap_e_utra_mode_info, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCellInformation_E_UTRA_ModeInfo }, { &hf_xnap_numberofAntennaPorts, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NumberOfAntennaPorts_E_UTRA }, { &hf_xnap_prach_configuration, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_E_UTRAPRACHConfiguration }, { &hf_xnap_mBSFNsubframeInfo, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MBSFNSubframeInfo_E_UTRA }, { &hf_xnap_multibandInfo , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_E_UTRAMultibandInfoList }, { &hf_xnap_freqBandIndicatorPriority, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_freqBandIndicatorPriority }, { &hf_xnap_bandwidthReducedSI, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_bandwidthReducedSI }, { &hf_xnap_protectedE_UTRAResourceIndication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtectedE_UTRAResourceIndication }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCellInformation_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellInformation_E_UTRA, ServedCellInformation_E_UTRA_sequence); return offset; } static const per_sequence_t ServedCells_E_UTRA_Item_sequence[] = { { &hf_xnap_served_cell_info_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCellInformation_E_UTRA }, { &hf_xnap_neighbour_info_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NeighbourInformation_NR }, { &hf_xnap_neighbour_info_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NeighbourInformation_E_UTRA }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCells_E_UTRA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCells_E_UTRA_Item, ServedCells_E_UTRA_Item_sequence); return offset; } static const per_sequence_t ServedCells_E_UTRA_sequence_of[1] = { { &hf_xnap_ServedCells_E_UTRA_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCells_E_UTRA_Item }, }; static int dissect_xnap_ServedCells_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCells_E_UTRA, ServedCells_E_UTRA_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const value_string xnap_T_deactivation_indication_vals[] = { { 0, "deactivated" }, { 0, NULL } }; static int dissect_xnap_T_deactivation_indication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ServedCells_ToModify_E_UTRA_Item_sequence[] = { { &hf_xnap_old_ECGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_E_UTRA_CGI }, { &hf_xnap_served_cell_info_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCellInformation_E_UTRA }, { &hf_xnap_neighbour_info_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NeighbourInformation_NR }, { &hf_xnap_neighbour_info_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NeighbourInformation_E_UTRA }, { &hf_xnap_deactivation_indication, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_deactivation_indication }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCells_ToModify_E_UTRA_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCells_ToModify_E_UTRA_Item, ServedCells_ToModify_E_UTRA_Item_sequence); return offset; } static const per_sequence_t ServedCells_ToModify_E_UTRA_sequence_of[1] = { { &hf_xnap_ServedCells_ToModify_E_UTRA_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCells_ToModify_E_UTRA_Item }, }; static int dissect_xnap_ServedCells_ToModify_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCells_ToModify_E_UTRA, ServedCells_ToModify_E_UTRA_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const per_sequence_t ServedCellsToUpdate_E_UTRA_sequence[] = { { &hf_xnap_served_Cells_ToAdd_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ServedCells_E_UTRA }, { &hf_xnap_served_Cells_ToModify_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ServedCells_ToModify_E_UTRA }, { &hf_xnap_served_Cells_ToDelete_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCellsToUpdate_E_UTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellsToUpdate_E_UTRA, ServedCellsToUpdate_E_UTRA_sequence); return offset; } static int dissect_xnap_T_measurementTimingConfiguration_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *param_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &param_tvb); if (param_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_measurementTimingConfiguration); dissect_nr_rrc_MeasurementTimingConfiguration_PDU(param_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t ServedCellInformation_NR_sequence[] = { { &hf_xnap_nrPCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRPCI }, { &hf_xnap_cellID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_tac , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_ranac , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RANAC }, { &hf_xnap_broadcastPLMN , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastPLMNs }, { &hf_xnap_nrModeInfo , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NRModeInfo }, { &hf_xnap_measurementTimingConfiguration_01, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_measurementTimingConfiguration_01 }, { &hf_xnap_connectivitySupport, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Connectivity_Support }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCellInformation_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellInformation_NR, ServedCellInformation_NR_sequence); return offset; } static const per_sequence_t SFN_Offset_sequence[] = { { &hf_xnap_sFN_Time_Offset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BIT_STRING_SIZE_24 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SFN_Offset(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SFN_Offset, SFN_Offset_sequence); return offset; } static const per_sequence_t ServedCells_NR_Item_sequence[] = { { &hf_xnap_served_cell_info_NR, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCellInformation_NR }, { &hf_xnap_neighbour_info_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NeighbourInformation_NR }, { &hf_xnap_neighbour_info_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NeighbourInformation_E_UTRA }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCells_NR_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCells_NR_Item, ServedCells_NR_Item_sequence); return offset; } static const per_sequence_t ServedCells_NR_sequence_of[1] = { { &hf_xnap_ServedCells_NR_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCells_NR_Item }, }; static int dissect_xnap_ServedCells_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCells_NR, ServedCells_NR_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const value_string xnap_T_deactivation_indication_01_vals[] = { { 0, "deactivated" }, { 0, NULL } }; static int dissect_xnap_T_deactivation_indication_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ServedCells_ToModify_NR_Item_sequence[] = { { &hf_xnap_old_NR_CGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_served_cell_info_NR, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCellInformation_NR }, { &hf_xnap_neighbour_info_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NeighbourInformation_NR }, { &hf_xnap_neighbour_info_E_UTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_NeighbourInformation_E_UTRA }, { &hf_xnap_deactivation_indication_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_deactivation_indication_01 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCells_ToModify_NR_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCells_ToModify_NR_Item, ServedCells_ToModify_NR_Item_sequence); return offset; } static const per_sequence_t ServedCells_ToModify_NR_sequence_of[1] = { { &hf_xnap_ServedCells_ToModify_NR_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCells_ToModify_NR_Item }, }; static int dissect_xnap_ServedCells_ToModify_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCells_ToModify_NR, ServedCells_ToModify_NR_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const value_string xnap_T_additionalMTCListRequestIndicator_vals[] = { { 0, "additionalMTCListRequested" }, { 0, NULL } }; static int dissect_xnap_T_additionalMTCListRequestIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t ServedCellSpecificInfoReq_NR_Item_sequence[] = { { &hf_xnap_nRCGI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NR_CGI }, { &hf_xnap_additionalMTCListRequestIndicator, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_additionalMTCListRequestIndicator }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCellSpecificInfoReq_NR_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellSpecificInfoReq_NR_Item, ServedCellSpecificInfoReq_NR_Item_sequence); return offset; } static const per_sequence_t ServedCellSpecificInfoReq_NR_sequence_of[1] = { { &hf_xnap_ServedCellSpecificInfoReq_NR_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ServedCellSpecificInfoReq_NR_Item }, }; static int dissect_xnap_ServedCellSpecificInfoReq_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellSpecificInfoReq_NR, ServedCellSpecificInfoReq_NR_sequence_of, 1, maxnoofCellsinNG_RANnode, FALSE); return offset; } static const per_sequence_t ServedCellsToUpdate_NR_sequence[] = { { &hf_xnap_served_Cells_ToAdd_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ServedCells_NR }, { &hf_xnap_served_Cells_ToModify_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ServedCells_ToModify_NR }, { &hf_xnap_served_Cells_ToDelete_NR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ServedCellsToUpdate_NR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellsToUpdate_NR, ServedCellsToUpdate_NR_sequence); return offset; } static int dissect_xnap_Slice_DL_GBR_PRB_Usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_Slice_UL_GBR_PRB_Usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_Slice_DL_non_GBR_PRB_Usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_Slice_UL_non_GBR_PRB_Usage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_Slice_DL_Total_PRB_Allocation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static int dissect_xnap_Slice_UL_Total_PRB_Allocation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 100U, NULL, FALSE); return offset; } static const per_sequence_t SNSSAIRadioResourceStatus_Item_sequence[] = { { &hf_xnap_sNSSAI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, { &hf_xnap_slice_DL_GBR_PRB_Usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Slice_DL_GBR_PRB_Usage }, { &hf_xnap_slice_UL_GBR_PRB_Usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Slice_UL_GBR_PRB_Usage }, { &hf_xnap_slice_DL_non_GBR_PRB_Usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Slice_DL_non_GBR_PRB_Usage }, { &hf_xnap_slice_UL_non_GBR_PRB_Usage, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Slice_UL_non_GBR_PRB_Usage }, { &hf_xnap_slice_DL_Total_PRB_Allocation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Slice_DL_Total_PRB_Allocation }, { &hf_xnap_slice_UL_Total_PRB_Allocation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Slice_UL_Total_PRB_Allocation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNSSAIRadioResourceStatus_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNSSAIRadioResourceStatus_Item, SNSSAIRadioResourceStatus_Item_sequence); return offset; } static const per_sequence_t SNSSAIRadioResourceStatus_List_sequence_of[1] = { { &hf_xnap_SNSSAIRadioResourceStatus_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SNSSAIRadioResourceStatus_Item }, }; static int dissect_xnap_SNSSAIRadioResourceStatus_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SNSSAIRadioResourceStatus_List, SNSSAIRadioResourceStatus_List_sequence_of, 1, maxnoofSliceItems, FALSE); return offset; } static const per_sequence_t SliceRadioResourceStatus_Item_sequence[] = { { &hf_xnap_plmn_Identity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PLMN_Identity }, { &hf_xnap_sNSSAIRadioResourceStatus_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SNSSAIRadioResourceStatus_List }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SliceRadioResourceStatus_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SliceRadioResourceStatus_Item, SliceRadioResourceStatus_Item_sequence); return offset; } static const per_sequence_t SliceRadioResourceStatus_List_sequence_of[1] = { { &hf_xnap_SliceRadioResourceStatus_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SliceRadioResourceStatus_Item }, }; static int dissect_xnap_SliceRadioResourceStatus_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SliceRadioResourceStatus_List, SliceRadioResourceStatus_List_sequence_of, 1, maxnoofBPLMNs, FALSE); return offset; } static int dissect_xnap_S_NG_RANnode_SecurityKey(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 256, 256, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_S_NG_RANnode_Addition_Trigger_Ind_vals[] = { { 0, "sn-change" }, { 1, "inter-MN-HO" }, { 2, "intra-MN-HO" }, { 0, NULL } }; static int dissect_xnap_S_NG_RANnode_Addition_Trigger_Ind(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_SNMobilityInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 32, 32, FALSE, NULL, 0, NULL, NULL); return offset; } static const value_string xnap_SNTriggered_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_SNTriggered(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_SpectrumSharingGroupID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, maxnoofCellsinNG_RANnode, NULL, FALSE); return offset; } static const value_string xnap_SplitSessionIndicator_vals[] = { { 0, "split" }, { 0, NULL } }; static int dissect_xnap_SplitSessionIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SplitSRBsTypes_vals[] = { { 0, "srb1" }, { 1, "srb2" }, { 2, "srb1and2" }, { 0, NULL } }; static int dissect_xnap_SplitSRBsTypes(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_SSB_PositionsInBurst_vals[] = { { 0, "shortBitmap" }, { 1, "mediumBitmap" }, { 2, "longBitmap" }, { 3, "choice-extension" }, { 0, NULL } }; static const per_choice_t SSB_PositionsInBurst_choice[] = { { 0, &hf_xnap_shortBitmap , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_4 }, { 1, &hf_xnap_mediumBitmap , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_8 }, { 2, &hf_xnap_longBitmap , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_64 }, { 3, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_SSB_PositionsInBurst(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_SSB_PositionsInBurst, SSB_PositionsInBurst_choice, NULL); return offset; } static const per_sequence_t SSBOffsetInformation_sequence[] = { { &hf_xnap_sSBIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_63 }, { &hf_xnap_sSBTriggeringOffset, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_MobilityParametersInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SSBOffsetInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SSBOffsetInformation, SSBOffsetInformation_sequence); return offset; } static const per_sequence_t SSBOffsets_Item_sequence[] = { { &hf_xnap_nG_RANnode1SSBOffsets, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SSBOffsetInformation }, { &hf_xnap_nG_RANnode2ProposedSSBOffsets, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SSBOffsetInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SSBOffsets_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SSBOffsets_Item, SSBOffsets_Item_sequence); return offset; } static const per_sequence_t SSBOffsets_List_sequence_of[1] = { { &hf_xnap_SSBOffsets_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SSBOffsets_Item }, }; static int dissect_xnap_SSBOffsets_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SSBOffsets_List, SSBOffsets_List_sequence_of, 1, maxnoofSSBAreas, FALSE); return offset; } static int dissect_xnap_SuccessfulHOReportContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *param_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &param_tvb); if (param_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_SuccessfulHOReportContainer); dissect_nr_rrc_SuccessHO_Report_r17_PDU(param_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t SuccessfulHOReportList_Item_sequence[] = { { &hf_xnap_successfulHOReport, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SuccessfulHOReportContainer }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SuccessfulHOReportList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SuccessfulHOReportList_Item, SuccessfulHOReportList_Item_sequence); return offset; } static const per_sequence_t SuccessfulHOReportInformation_sequence_of[1] = { { &hf_xnap_SuccessfulHOReportInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SuccessfulHOReportList_Item }, }; static int dissect_xnap_SuccessfulHOReportInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SuccessfulHOReportInformation, SuccessfulHOReportInformation_sequence_of, 1, maxnoofSuccessfulHOReports, FALSE); return offset; } static const per_sequence_t Supported_MBS_FSA_ID_List_sequence_of[1] = { { &hf_xnap_Supported_MBS_FSA_ID_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_MBS_FrequencySelectionArea_Identity }, }; static int dissect_xnap_Supported_MBS_FSA_ID_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_Supported_MBS_FSA_ID_List, Supported_MBS_FSA_ID_List_sequence_of, 1, maxnoofMBSFSAs, FALSE); return offset; } static int dissect_xnap_SurvivalTime(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1920000U, NULL, TRUE); return offset; } static const per_sequence_t TAINSAGSupportItem_sequence[] = { { &hf_xnap_nSAG_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NSAG_ID }, { &hf_xnap_nSAGSliceSupportList, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ExtendedSliceSupportList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TAINSAGSupportItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TAINSAGSupportItem, TAINSAGSupportItem_sequence); return offset; } static const per_sequence_t TAINSAGSupportList_sequence_of[1] = { { &hf_xnap_TAINSAGSupportList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAINSAGSupportItem }, }; static int dissect_xnap_TAINSAGSupportList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TAINSAGSupportList, TAINSAGSupportList_sequence_of, 1, maxnoofNSAGs, FALSE); return offset; } static const per_sequence_t SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item_sequence_of[1] = { { &hf_xnap_broadcastPLMNs_item_01, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BroadcastPLMNinTAISupport_Item }, }; static int dissect_xnap_SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item, SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item_sequence_of, 1, maxnoofsupportedPLMNs, FALSE); return offset; } static const per_sequence_t TAISupport_Item_sequence[] = { { &hf_xnap_tac , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TAC }, { &hf_xnap_broadcastPLMNs_03, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TAISupport_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TAISupport_Item, TAISupport_Item_sequence); return offset; } static const per_sequence_t TAISupport_List_sequence_of[1] = { { &hf_xnap_TAISupport_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TAISupport_Item }, }; static int dissect_xnap_TAISupport_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TAISupport_List, TAISupport_List_sequence_of, 1, maxnoofsupportedTACs, FALSE); return offset; } static int dissect_xnap_TargetCellinEUTRAN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_TargetCellinEUTRAN); dissect_s1ap_EUTRAN_CGI_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_TDDULDLConfigurationCommonNR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_TDDULDLConfigurationCommonNR); dissect_nr_rrc_TDD_UL_DL_ConfigCommon_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t TargetCellList_Item_sequence[] = { { &hf_xnap_target_cell , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Target_CGI }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TargetCellList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TargetCellList_Item, TargetCellList_Item_sequence); return offset; } static const per_sequence_t TargetCellList_sequence_of[1] = { { &hf_xnap_TargetCellList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TargetCellList_Item }, }; static int dissect_xnap_TargetCellList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TargetCellList, TargetCellList_sequence_of, 1, maxnoofCHOcells, FALSE); return offset; } static const value_string xnap_T_timeDistributionIndication_vals[] = { { 0, "enabled" }, { 1, "disabled" }, { 0, NULL } }; static int dissect_xnap_T_timeDistributionIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_INTEGER_0_1000000_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 1000000U, NULL, TRUE); return offset; } static const per_sequence_t TimeSynchronizationAssistanceInformation_sequence[] = { { &hf_xnap_timeDistributionIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_timeDistributionIndication }, { &hf_xnap_uuTimeSynchronizationErrorBudget, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_INTEGER_0_1000000_ }, { &hf_xnap_ie_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TimeSynchronizationAssistanceInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TimeSynchronizationAssistanceInformation, TimeSynchronizationAssistanceInformation_sequence); return offset; } static const value_string xnap_TimeToWait_vals[] = { { 0, "v1s" }, { 1, "v2s" }, { 2, "v5s" }, { 3, "v10s" }, { 4, "v20s" }, { 5, "v60s" }, { 0, NULL } }; static int dissect_xnap_TimeToWait(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t TNLConfigurationInfo_sequence[] = { { &hf_xnap_extendedUPTransportLayerAddressesToAdd, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ExtTLAs }, { &hf_xnap_extendedUPTransportLayerAddressesToRemove, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ExtTLAs }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TNLConfigurationInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TNLConfigurationInfo, TNLConfigurationInfo_sequence); return offset; } static const value_string xnap_TNLAssociationUsage_vals[] = { { 0, "ue" }, { 1, "non-ue" }, { 2, "both" }, { 0, NULL } }; static int dissect_xnap_TNLAssociationUsage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 3, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t TNLA_To_Add_Item_sequence[] = { { &hf_xnap_tNLAssociationTransportLayerAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPTransportLayerInformation }, { &hf_xnap_tNLAssociationUsage, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TNLAssociationUsage }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TNLA_To_Add_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_To_Add_Item, TNLA_To_Add_Item_sequence); return offset; } static const per_sequence_t TNLA_To_Add_List_sequence_of[1] = { { &hf_xnap_TNLA_To_Add_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TNLA_To_Add_Item }, }; static int dissect_xnap_TNLA_To_Add_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_To_Add_List, TNLA_To_Add_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static const per_sequence_t TNLA_To_Update_Item_sequence[] = { { &hf_xnap_tNLAssociationTransportLayerAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPTransportLayerInformation }, { &hf_xnap_tNLAssociationUsage, ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_TNLAssociationUsage }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TNLA_To_Update_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_To_Update_Item, TNLA_To_Update_Item_sequence); return offset; } static const per_sequence_t TNLA_To_Update_List_sequence_of[1] = { { &hf_xnap_TNLA_To_Update_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TNLA_To_Update_Item }, }; static int dissect_xnap_TNLA_To_Update_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_To_Update_List, TNLA_To_Update_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static const per_sequence_t TNLA_To_Remove_Item_sequence[] = { { &hf_xnap_tNLAssociationTransportLayerAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPTransportLayerInformation }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TNLA_To_Remove_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_To_Remove_Item, TNLA_To_Remove_Item_sequence); return offset; } static const per_sequence_t TNLA_To_Remove_List_sequence_of[1] = { { &hf_xnap_TNLA_To_Remove_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TNLA_To_Remove_Item }, }; static int dissect_xnap_TNLA_To_Remove_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_To_Remove_List, TNLA_To_Remove_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static const per_sequence_t TNLA_Setup_Item_sequence[] = { { &hf_xnap_tNLAssociationTransportLayerAddress, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPTransportLayerInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TNLA_Setup_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_Setup_Item, TNLA_Setup_Item_sequence); return offset; } static const per_sequence_t TNLA_Setup_List_sequence_of[1] = { { &hf_xnap_TNLA_Setup_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TNLA_Setup_Item }, }; static int dissect_xnap_TNLA_Setup_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_Setup_List, TNLA_Setup_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static const per_sequence_t TNLA_Failed_To_Setup_Item_sequence[] = { { &hf_xnap_tNLAssociationTransportLayerAddress, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_CPTransportLayerInformation }, { &hf_xnap_cause , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Cause }, { &hf_xnap_iE_Extensions , ASN1_NO_EXTENSIONS , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TNLA_Failed_To_Setup_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_Failed_To_Setup_Item, TNLA_Failed_To_Setup_Item_sequence); return offset; } static const per_sequence_t TNLA_Failed_To_Setup_List_sequence_of[1] = { { &hf_xnap_TNLA_Failed_To_Setup_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TNLA_Failed_To_Setup_Item }, }; static int dissect_xnap_TNLA_Failed_To_Setup_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TNLA_Failed_To_Setup_List, TNLA_Failed_To_Setup_List_sequence_of, 1, maxnoofTNLAssociations, FALSE); return offset; } static int * const T_interfaces_to_trace_bits[] = { &hf_xnap_T_interfaces_to_trace_ng_c, &hf_xnap_T_interfaces_to_trace_x_nc, &hf_xnap_T_interfaces_to_trace_uu, &hf_xnap_T_interfaces_to_trace_f1_c, &hf_xnap_T_interfaces_to_trace_e1, NULL }; static int dissect_xnap_T_interfaces_to_trace(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE, T_interfaces_to_trace_bits, 5, NULL, NULL); return offset; } static const value_string xnap_Trace_Depth_vals[] = { { 0, "minimum" }, { 1, "medium" }, { 2, "maximum" }, { 3, "minimumWithoutVendorSpecificExtension" }, { 4, "mediumWithoutVendorSpecificExtension" }, { 5, "maximumWithoutVendorSpecificExtension" }, { 0, NULL } }; static int dissect_xnap_Trace_Depth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 6, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t TraceActivation_sequence[] = { { &hf_xnap_ng_ran_TraceID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RANTraceID }, { &hf_xnap_interfaces_to_trace, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_interfaces_to_trace }, { &hf_xnap_trace_depth , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Trace_Depth }, { &hf_xnap_trace_coll_address, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TransportLayerAddress }, { &hf_xnap_ie_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TraceActivation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TraceActivation, TraceActivation_sequence); return offset; } static int dissect_xnap_TrafficIndex(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 1024U, NULL, TRUE); return offset; } static const value_string xnap_TrafficProfile_vals[] = { { 0, "uPTraffic" }, { 1, "nonUPTraffic" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t TrafficProfile_choice[] = { { 0, &hf_xnap_uPTraffic , ASN1_NO_EXTENSIONS , dissect_xnap_QoSFlowLevelQoSParameters }, { 1, &hf_xnap_nonUPTraffic , ASN1_NO_EXTENSIONS , dissect_xnap_NonUPTraffic }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_TrafficProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficProfile, TrafficProfile_choice, NULL); return offset; } static const per_sequence_t TrafficToBeRelease_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_bHInfoList , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BHInfoList }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficToBeRelease_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficToBeRelease_Item, TrafficToBeRelease_Item_sequence); return offset; } static const per_sequence_t TrafficToBeRelease_List_sequence_of[1] = { { &hf_xnap_TrafficToBeRelease_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficToBeRelease_Item }, }; static int dissect_xnap_TrafficToBeRelease_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficToBeRelease_List, TrafficToBeRelease_List_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const value_string xnap_TrafficReleaseType_vals[] = { { 0, "fullRelease" }, { 1, "partialRelease" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t TrafficReleaseType_choice[] = { { 0, &hf_xnap_fullRelease , ASN1_NO_EXTENSIONS , dissect_xnap_AllTrafficIndication }, { 1, &hf_xnap_partialRelease , ASN1_NO_EXTENSIONS , dissect_xnap_TrafficToBeRelease_List }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_TrafficReleaseType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficReleaseType, TrafficReleaseType_choice, NULL); return offset; } static const per_sequence_t TrafficToBeReleaseInformation_sequence[] = { { &hf_xnap_releaseType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficReleaseType }, { &hf_xnap_ie_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficToBeReleaseInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficToBeReleaseInformation, TrafficToBeReleaseInformation_sequence); return offset; } static int dissect_xnap_INTEGER_0_640000_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 640000U, NULL, TRUE); return offset; } static int dissect_xnap_T_burstArrivalTime(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_burstArrivalTime); dissect_nr_rrc_ReferenceTime_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t TSCAssistanceInformation_sequence[] = { { &hf_xnap_periodicity , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_640000_ }, { &hf_xnap_burstArrivalTime, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_burstArrivalTime }, { &hf_xnap_ie_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TSCAssistanceInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TSCAssistanceInformation, TSCAssistanceInformation_sequence); return offset; } static const per_sequence_t TSCTrafficCharacteristics_sequence[] = { { &hf_xnap_tSCAssistanceInformationDownlink, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_TSCAssistanceInformation }, { &hf_xnap_tSCAssistanceInformationUplink, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_TSCAssistanceInformation }, { &hf_xnap_ie_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TSCTrafficCharacteristics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TSCTrafficCharacteristics, TSCTrafficCharacteristics_sequence); return offset; } static const per_sequence_t UEAggregateMaximumBitRate_sequence[] = { { &hf_xnap_dl_UE_AMBR , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_ul_UE_AMBR , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEAggregateMaximumBitRate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEAggregateMaximumBitRate, UEAggregateMaximumBitRate_sequence); return offset; } static const value_string xnap_UEContextKeptIndicator_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_UEContextKeptIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t UEContextIDforRRCResume_sequence[] = { { &hf_xnap_i_rnti , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_I_RNTI }, { &hf_xnap_allocated_c_rnti, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_C_RNTI }, { &hf_xnap_accessPCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RAN_CellPCI }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEContextIDforRRCResume(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEContextIDforRRCResume, UEContextIDforRRCResume_sequence); return offset; } static const per_sequence_t UEContextIDforRRCReestablishment_sequence[] = { { &hf_xnap_c_rnti , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_C_RNTI }, { &hf_xnap_failureCellPCI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RAN_CellPCI }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEContextIDforRRCReestablishment(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEContextIDforRRCReestablishment, UEContextIDforRRCReestablishment_sequence); return offset; } static const value_string xnap_UEContextID_vals[] = { { 0, "rRCResume" }, { 1, "rRRCReestablishment" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t UEContextID_choice[] = { { 0, &hf_xnap_rRCResume , ASN1_NO_EXTENSIONS , dissect_xnap_UEContextIDforRRCResume }, { 1, &hf_xnap_rRRCReestablishment, ASN1_NO_EXTENSIONS , dissect_xnap_UEContextIDforRRCReestablishment }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_UEContextID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_UEContextID, UEContextID_choice, NULL); return offset; } static int * const T_nr_EncyptionAlgorithms_bits[] = { &hf_xnap_T_nr_EncyptionAlgorithms_spare_bit0, &hf_xnap_T_nr_EncyptionAlgorithms_nea1_128, &hf_xnap_T_nr_EncyptionAlgorithms_nea2_128, &hf_xnap_T_nr_EncyptionAlgorithms_nea3_128, NULL }; static int dissect_xnap_T_nr_EncyptionAlgorithms(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, TRUE, T_nr_EncyptionAlgorithms_bits, 4, NULL, NULL); return offset; } static int * const T_nr_IntegrityProtectionAlgorithms_bits[] = { &hf_xnap_T_nr_IntegrityProtectionAlgorithms_spare_bit0, &hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia1_128, &hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia2_128, &hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia3_128, NULL }; static int dissect_xnap_T_nr_IntegrityProtectionAlgorithms(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, TRUE, T_nr_IntegrityProtectionAlgorithms_bits, 4, NULL, NULL); return offset; } static int * const T_e_utra_EncyptionAlgorithms_bits[] = { &hf_xnap_T_e_utra_EncyptionAlgorithms_spare_bit0, &hf_xnap_T_e_utra_EncyptionAlgorithms_eea1_128, &hf_xnap_T_e_utra_EncyptionAlgorithms_eea2_128, &hf_xnap_T_e_utra_EncyptionAlgorithms_eea3_128, NULL }; static int dissect_xnap_T_e_utra_EncyptionAlgorithms(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, TRUE, T_e_utra_EncyptionAlgorithms_bits, 4, NULL, NULL); return offset; } static int * const T_e_utra_IntegrityProtectionAlgorithms_bits[] = { &hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_spare_bit0, &hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia1_128, &hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia2_128, &hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia3_128, NULL }; static int dissect_xnap_T_e_utra_IntegrityProtectionAlgorithms(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, TRUE, T_e_utra_IntegrityProtectionAlgorithms_bits, 4, NULL, NULL); return offset; } static const per_sequence_t UESecurityCapabilities_sequence[] = { { &hf_xnap_nr_EncyptionAlgorithms, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_nr_EncyptionAlgorithms }, { &hf_xnap_nr_IntegrityProtectionAlgorithms, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_nr_IntegrityProtectionAlgorithms }, { &hf_xnap_e_utra_EncyptionAlgorithms, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_e_utra_EncyptionAlgorithms }, { &hf_xnap_e_utra_IntegrityProtectionAlgorithms, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_e_utra_IntegrityProtectionAlgorithms }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UESecurityCapabilities(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UESecurityCapabilities, UESecurityCapabilities_sequence); return offset; } static int dissect_xnap_T_rrc_Context(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree; GlobalNG_RANNode_ID_enum target_ranmode_id = xnap_get_ranmode_id(&actx->pinfo->dst, actx->pinfo->destport, actx->pinfo); subtree = proto_item_add_subtree(actx->created_item, ett_xnap_RRC_Context); if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && target_ranmode_id == GlobalNG_RANNode_ID_gNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_GNB)) { dissect_nr_rrc_HandoverPreparationInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && target_ranmode_id == GlobalNG_RANNode_ID_ng_eNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_NG_ENB)) { dissect_lte_rrc_HandoverPreparationInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } } return offset; } static const per_sequence_t UEContextInfoRetrUECtxtResp_sequence[] = { { &hf_xnap_ng_c_UE_signalling_ref, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AMF_UE_NGAP_ID }, { &hf_xnap_signalling_TNL_at_source, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPTransportLayerInformation }, { &hf_xnap_ueSecurityCapabilities, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UESecurityCapabilities }, { &hf_xnap_securityInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AS_SecurityInformation }, { &hf_xnap_ue_AMBR , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UEAggregateMaximumBitRate }, { &hf_xnap_pduSessionResourcesToBeSetup_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourcesToBeSetup_List }, { &hf_xnap_rrc_Context , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_rrc_Context }, { &hf_xnap_mobilityRestrictionList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MobilityRestrictionList }, { &hf_xnap_indexToRatFrequencySelectionPriority, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RFSP_Index }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEContextInfoRetrUECtxtResp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEContextInfoRetrUECtxtResp, UEContextInfoRetrUECtxtResp_sequence); return offset; } static const per_sequence_t UEHistoryInformation_sequence_of[1] = { { &hf_xnap_UEHistoryInformation_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_LastVisitedCell_Item }, }; static int dissect_xnap_UEHistoryInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_UEHistoryInformation, UEHistoryInformation_sequence_of, 1, maxnoofCellsinUEHistoryInfo, FALSE); return offset; } static const value_string xnap_UEHistoryInformationFromTheUE_vals[] = { { 0, "nR" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t UEHistoryInformationFromTheUE_choice[] = { { 0, &hf_xnap_nR , ASN1_NO_EXTENSIONS , dissect_xnap_NRMobilityHistoryReport }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_UEHistoryInformationFromTheUE(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_UEHistoryInformationFromTheUE, UEHistoryInformationFromTheUE_choice, NULL); return offset; } static const value_string xnap_UEIdentityIndexValue_vals[] = { { 0, "indexLength10" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t UEIdentityIndexValue_choice[] = { { 0, &hf_xnap_indexLength10 , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_10 }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_UEIdentityIndexValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_UEIdentityIndexValue, UEIdentityIndexValue_choice, NULL); return offset; } static const value_string xnap_UEIdentityIndexList_MBSGroupPagingValue_vals[] = { { 0, "uEIdentityIndexValueMBSGroupPaging" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t UEIdentityIndexList_MBSGroupPagingValue_choice[] = { { 0, &hf_xnap_uEIdentityIndexValueMBSGroupPaging, ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_10 }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_UEIdentityIndexList_MBSGroupPagingValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_UEIdentityIndexList_MBSGroupPagingValue, UEIdentityIndexList_MBSGroupPagingValue_choice, NULL); return offset; } static const value_string xnap_UESpecificDRX_vals[] = { { 0, "v32" }, { 1, "v64" }, { 2, "v128" }, { 3, "v256" }, { 0, NULL } }; static int dissect_xnap_UESpecificDRX(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 4, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t UEIdentityIndexList_MBSGroupPaging_Item_sequence[] = { { &hf_xnap_ueIdentityIndexList_MBSGroupPagingValue, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UEIdentityIndexList_MBSGroupPagingValue }, { &hf_xnap_pagingDRX , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UESpecificDRX }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEIdentityIndexList_MBSGroupPaging_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEIdentityIndexList_MBSGroupPaging_Item, UEIdentityIndexList_MBSGroupPaging_Item_sequence); return offset; } static const per_sequence_t UEIdentityIndexList_MBSGroupPaging_sequence_of[1] = { { &hf_xnap_UEIdentityIndexList_MBSGroupPaging_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_UEIdentityIndexList_MBSGroupPaging_Item }, }; static int dissect_xnap_UEIdentityIndexList_MBSGroupPaging(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_UEIdentityIndexList_MBSGroupPaging, UEIdentityIndexList_MBSGroupPaging_sequence_of, 1, maxnoofUEIDIndicesforMBSPaging, FALSE); return offset; } static int dissect_xnap_UERadioCapabilityForPagingOfNR(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_UERadioCapabilityForPagingOfNR); dissect_nr_rrc_UERadioPagingInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static int dissect_xnap_UERadioCapabilityForPagingOfEUTRA(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_xnap_UERadioCapabilityForPagingOfEUTRA); dissect_lte_rrc_UERadioPagingInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t UERadioCapabilityForPaging_sequence[] = { { &hf_xnap_uERadioCapabilityForPagingOfNR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UERadioCapabilityForPagingOfNR }, { &hf_xnap_uERadioCapabilityForPagingOfEUTRA, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UERadioCapabilityForPagingOfEUTRA }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UERadioCapabilityForPaging(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UERadioCapabilityForPaging, UERadioCapabilityForPaging_sequence); return offset; } static int dissect_xnap_UERadioCapabilityID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static const value_string xnap_UERANPagingIdentity_vals[] = { { 0, "i-RNTI-full" }, { 1, "choice-extension" }, { 0, NULL } }; static const per_choice_t UERANPagingIdentity_choice[] = { { 0, &hf_xnap_i_RNTI_full , ASN1_NO_EXTENSIONS , dissect_xnap_BIT_STRING_SIZE_40 }, { 1, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_UERANPagingIdentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_UERANPagingIdentity, UERANPagingIdentity_choice, NULL); return offset; } static int dissect_xnap_UERLFReportContainerLTEExtendBand(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; proto_tree *subtree; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { subtree = proto_item_add_subtree(actx->created_item, ett_xnap_UERLFReportContainerLTEExtendBand); dissect_lte_rrc_RLF_Report_v9e0_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t UERLFReportContainerLTEExtension_sequence[] = { { &hf_xnap_ueRLFReportContainerLTE, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UERLFReportContainerLTE }, { &hf_xnap_ueRLFReportContainerLTEExtendBand, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UERLFReportContainerLTEExtendBand }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UERLFReportContainerLTEExtension(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UERLFReportContainerLTEExtension, UERLFReportContainerLTEExtension_sequence); return offset; } static const per_sequence_t UESliceMaximumBitRate_Item_sequence[] = { { &hf_xnap_s_NSSAI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, { &hf_xnap_dl_UE_Slice_MBR, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_ul_UE_Slice_MBR, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_BitRate }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UESliceMaximumBitRate_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UESliceMaximumBitRate_Item, UESliceMaximumBitRate_Item_sequence); return offset; } static const per_sequence_t UESliceMaximumBitRateList_sequence_of[1] = { { &hf_xnap_UESliceMaximumBitRateList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_UESliceMaximumBitRate_Item }, }; static int dissect_xnap_UESliceMaximumBitRateList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_UESliceMaximumBitRateList, UESliceMaximumBitRateList_sequence_of, 1, maxnoofSMBR, FALSE); return offset; } static const value_string xnap_ULForwardingProposal_vals[] = { { 0, "ul-forwarding-proposed" }, { 0, NULL } }; static int dissect_xnap_ULForwardingProposal(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const value_string xnap_UserPlaneTrafficActivityReport_vals[] = { { 0, "inactive" }, { 1, "re-activated" }, { 0, NULL } }; static int dissect_xnap_UserPlaneTrafficActivityReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static int dissect_xnap_URIaddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_VisibleString(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static int dissect_xnap_XnBenefitValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 1U, 8U, NULL, TRUE); return offset; } static const per_sequence_t HandoverRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_HandoverRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_HandoverRequest, HandoverRequest_sequence); return offset; } static int dissect_xnap_T_rrc_Context_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree; GlobalNG_RANNode_ID_enum target_ranmode_id = xnap_get_ranmode_id(&actx->pinfo->dst, actx->pinfo->destport, actx->pinfo); subtree = proto_item_add_subtree(actx->created_item, ett_xnap_RRC_Context); if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && target_ranmode_id == GlobalNG_RANNode_ID_gNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_GNB)) { dissect_nr_rrc_HandoverPreparationInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && target_ranmode_id == GlobalNG_RANNode_ID_ng_eNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_NG_ENB)) { if (xnap_dissect_lte_rrc_context_as == XNAP_LTE_RRC_CONTEXT_NBIOT) { dissect_lte_rrc_HandoverPreparationInformation_NB_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else { dissect_lte_rrc_HandoverPreparationInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } } } return offset; } static const per_sequence_t UEContextInfoHORequest_sequence[] = { { &hf_xnap_ng_c_UE_reference, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AMF_UE_NGAP_ID }, { &hf_xnap_cp_TNL_info_source, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_CPTransportLayerInformation }, { &hf_xnap_ueSecurityCapabilities, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UESecurityCapabilities }, { &hf_xnap_securityInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_AS_SecurityInformation }, { &hf_xnap_indexToRatFrequencySelectionPriority, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RFSP_Index }, { &hf_xnap_ue_AMBR , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UEAggregateMaximumBitRate }, { &hf_xnap_pduSessionResourcesToBeSetup_List, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourcesToBeSetup_List }, { &hf_xnap_rrc_Context_01 , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_rrc_Context_01 }, { &hf_xnap_locationReportingInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_LocationReportingInformation }, { &hf_xnap_mrl , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_MobilityRestrictionList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEContextInfoHORequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEContextInfoHORequest, UEContextInfoHORequest_sequence); return offset; } static const per_sequence_t UEContextRefAtSN_HORequest_sequence[] = { { &hf_xnap_globalNG_RANNode_ID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_GlobalNG_RANNode_ID }, { &hf_xnap_sN_NG_RANnodeUEXnAPID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_NG_RANnodeUEXnAPID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEContextRefAtSN_HORequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEContextRefAtSN_HORequest, UEContextRefAtSN_HORequest_sequence); return offset; } static const per_sequence_t HandoverRequestAcknowledge_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_HandoverRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_HandoverRequestAcknowledge, HandoverRequestAcknowledge_sequence); return offset; } static int dissect_xnap_Target2SourceNG_RANnodeTranspContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree; GlobalNG_RANNode_ID_enum source_ranmode_id = xnap_get_ranmode_id(&actx->pinfo->src, actx->pinfo->srcport, actx->pinfo); subtree = proto_item_add_subtree(actx->created_item, ett_nxap_container); if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && source_ranmode_id == GlobalNG_RANNode_ID_gNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_GNB)) { dissect_nr_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && source_ranmode_id == GlobalNG_RANNode_ID_ng_eNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_NG_ENB)) { dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } } return offset; } static const per_sequence_t HandoverPreparationFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_HandoverPreparationFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverPreparationFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_HandoverPreparationFailure, HandoverPreparationFailure_sequence); return offset; } static const per_sequence_t SNStatusTransfer_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNStatusTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNStatusTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNStatusTransfer, SNStatusTransfer_sequence); return offset; } static const per_sequence_t UEContextRelease_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEContextRelease(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextRelease"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEContextRelease, UEContextRelease_sequence); return offset; } static const per_sequence_t HandoverCancel_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_HandoverCancel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverCancel"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_HandoverCancel, HandoverCancel_sequence); return offset; } static const per_sequence_t HandoverSuccess_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_HandoverSuccess(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverSuccess"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_HandoverSuccess, HandoverSuccess_sequence); return offset; } static const per_sequence_t ConditionalHandoverCancel_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ConditionalHandoverCancel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ConditionalHandoverCancel"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ConditionalHandoverCancel, ConditionalHandoverCancel_sequence); return offset; } static const per_sequence_t EarlyStatusTransfer_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_EarlyStatusTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "EarlyStatusTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_EarlyStatusTransfer, EarlyStatusTransfer_sequence); return offset; } static const per_sequence_t FirstDLCount_sequence[] = { { &hf_xnap_dRBsSubjectToEarlyStatusTransfer, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsSubjectToEarlyStatusTransfer_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FirstDLCount(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FirstDLCount, FirstDLCount_sequence); return offset; } static const per_sequence_t DLDiscarding_sequence[] = { { &hf_xnap_dRBsSubjectToDLDiscarding, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRBsSubjectToDLDiscarding_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DLDiscarding(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DLDiscarding, DLDiscarding_sequence); return offset; } static const value_string xnap_ProcedureStageChoice_vals[] = { { 0, "first-dl-count" }, { 1, "dl-discarding" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ProcedureStageChoice_choice[] = { { 0, &hf_xnap_first_dl_count , ASN1_NO_EXTENSIONS , dissect_xnap_FirstDLCount }, { 1, &hf_xnap_dl_discarding , ASN1_NO_EXTENSIONS , dissect_xnap_DLDiscarding }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ProcedureStageChoice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ProcedureStageChoice, ProcedureStageChoice_choice, NULL); return offset; } static const per_sequence_t RANPaging_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RANPaging(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RANPaging"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RANPaging, RANPaging_sequence); return offset; } static const per_sequence_t RetrieveUEContextRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RetrieveUEContextRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RetrieveUEContextRequest, RetrieveUEContextRequest_sequence); return offset; } static const per_sequence_t RetrieveUEContextResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RetrieveUEContextResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RetrieveUEContextResponse, RetrieveUEContextResponse_sequence); return offset; } static const per_sequence_t RetrieveUEContextConfirm_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RetrieveUEContextConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RetrieveUEContextConfirm, RetrieveUEContextConfirm_sequence); return offset; } static const per_sequence_t RetrieveUEContextFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RetrieveUEContextFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RetrieveUEContextFailure, RetrieveUEContextFailure_sequence); return offset; } static int dissect_xnap_OldtoNewNG_RANnodeResumeContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static const per_sequence_t XnUAddressIndication_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_XnUAddressIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "XnUAddressIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_XnUAddressIndication, XnUAddressIndication_sequence); return offset; } static const per_sequence_t SNodeAdditionRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeAdditionRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeAdditionRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeAdditionRequest, SNodeAdditionRequest_sequence); return offset; } static int dissect_xnap_MN_to_SN_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree; struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); GlobalNG_RANNode_ID_enum target_ranmode_id = xnap_get_ranmode_id(&actx->pinfo->dst, actx->pinfo->destport, actx->pinfo); subtree = proto_item_add_subtree(actx->created_item, ett_nxap_container); if ((xnap_data->procedure_code == id_sNGRANnodeAdditionPreparation && xnap_data->message_type == INITIATING_MESSAGE) || (xnap_data->procedure_code == id_mNGRANnodeinitiatedSNGRANnodeModificationPreparation && xnap_data->message_type == INITIATING_MESSAGE) || (xnap_data->procedure_code == id_sNGRANnodeinitiatedSNGRANnodeModificationPreparation && xnap_data->message_type == UNSUCCESSFUL_OUTCOME) || (xnap_data->procedure_code == id_mNGRANnodeinitiatedSNGRANnodeRelease && xnap_data->message_type == INITIATING_MESSAGE)) { dissect_nr_rrc_CG_ConfigInfo_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else if (xnap_data->procedure_code == id_sNGRANnodeinitiatedSNGRANnodeModificationPreparation && xnap_data->message_type == SUCCESSFUL_OUTCOME) { if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && target_ranmode_id == GlobalNG_RANNode_ID_gNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_GNB)) { dissect_nr_rrc_RRCReconfigurationComplete_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && target_ranmode_id == GlobalNG_RANNode_ID_ng_eNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_NG_ENB)) { dissect_lte_rrc_RRCConnectionReconfigurationComplete_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } } else if (xnap_data->procedure_code == id_sNGRANnodeChange && xnap_data->message_type == SUCCESSFUL_OUTCOME) { dissect_nr_rrc_RRCReconfigurationComplete_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } } return offset; } static const per_sequence_t PDUSessionToBeAddedAddReq_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_s_NSSAI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, { &hf_xnap_sN_PDUSessionAMBR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionAggregateMaximumBitRate }, { &hf_xnap_sn_terminated , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceSetupInfo_SNterminated }, { &hf_xnap_mn_terminated , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceSetupInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionToBeAddedAddReq_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionToBeAddedAddReq_Item, PDUSessionToBeAddedAddReq_Item_sequence); return offset; } static const per_sequence_t PDUSessionToBeAddedAddReq_sequence_of[1] = { { &hf_xnap_PDUSessionToBeAddedAddReq_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionToBeAddedAddReq_Item }, }; static int dissect_xnap_PDUSessionToBeAddedAddReq(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionToBeAddedAddReq, PDUSessionToBeAddedAddReq_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const value_string xnap_RequestedFastMCGRecoveryViaSRB3_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_RequestedFastMCGRecoveryViaSRB3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SNodeAdditionRequestAcknowledge_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeAdditionRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeAdditionRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeAdditionRequestAcknowledge, SNodeAdditionRequestAcknowledge_sequence); return offset; } static int dissect_xnap_SN_to_MN_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree; subtree = proto_item_add_subtree(actx->created_item, ett_nxap_container); dissect_nr_rrc_CG_Config_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t PDUSessionAdmittedAddedAddReqAck_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_sn_terminated_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceSetupResponseInfo_SNterminated }, { &hf_xnap_mn_terminated_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceSetupResponseInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionAdmittedAddedAddReqAck_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedAddedAddReqAck_Item, PDUSessionAdmittedAddedAddReqAck_Item_sequence); return offset; } static const per_sequence_t PDUSessionAdmittedAddedAddReqAck_sequence_of[1] = { { &hf_xnap_PDUSessionAdmittedAddedAddReqAck_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionAdmittedAddedAddReqAck_Item }, }; static int dissect_xnap_PDUSessionAdmittedAddedAddReqAck(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedAddedAddReqAck, PDUSessionAdmittedAddedAddReqAck_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSessionNotAdmittedAddReqAck_sequence[] = { { &hf_xnap_pduSessionResourcesNotAdmitted_SNterminated, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourcesNotAdmitted_List }, { &hf_xnap_pduSessionResourcesNotAdmitted_MNterminated, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourcesNotAdmitted_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionNotAdmittedAddReqAck(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionNotAdmittedAddReqAck, PDUSessionNotAdmittedAddReqAck_sequence); return offset; } static const value_string xnap_AvailableFastMCGRecoveryViaSRB3_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_AvailableFastMCGRecoveryViaSRB3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SNodeAdditionRequestReject_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeAdditionRequestReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeAdditionRequestReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeAdditionRequestReject, SNodeAdditionRequestReject_sequence); return offset; } static const per_sequence_t SNodeReconfigurationComplete_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeReconfigurationComplete(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeReconfigurationComplete"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeReconfigurationComplete, SNodeReconfigurationComplete_sequence); return offset; } static int dissect_xnap_T_m_NG_RANNode_to_S_NG_RANNode_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree; GlobalNG_RANNode_ID_enum target_ranmode_id = xnap_get_ranmode_id(&actx->pinfo->dst, actx->pinfo->destport, actx->pinfo); subtree = proto_item_add_subtree(actx->created_item, ett_nxap_container); if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && target_ranmode_id == GlobalNG_RANNode_ID_gNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_GNB)) { dissect_nr_rrc_RRCReconfigurationComplete_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } else if ((xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_AUTOMATIC && target_ranmode_id == GlobalNG_RANNode_ID_ng_eNB) || (xnap_dissect_target_ng_ran_container_as == XNAP_NG_RAN_CONTAINER_NG_ENB)) { dissect_lte_rrc_RRCConnectionReconfigurationComplete_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } } return offset; } static const per_sequence_t Configuration_successfully_applied_sequence[] = { { &hf_xnap_m_NG_RANNode_to_S_NG_RANNode_Container, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_m_NG_RANNode_to_S_NG_RANNode_Container }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Configuration_successfully_applied(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Configuration_successfully_applied, Configuration_successfully_applied_sequence); return offset; } static int dissect_xnap_T_m_NG_RANNode_to_S_NG_RANNode_Container_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &parameter_tvb); if (parameter_tvb) { proto_tree *subtree; subtree = proto_item_add_subtree(actx->created_item, ett_nxap_container); dissect_nr_rrc_CG_ConfigInfo_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } return offset; } static const per_sequence_t Configuration_rejected_by_M_NG_RANNode_sequence[] = { { &hf_xnap_cause , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Cause }, { &hf_xnap_m_NG_RANNode_to_S_NG_RANNode_Container_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_T_m_NG_RANNode_to_S_NG_RANNode_Container_01 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_Configuration_rejected_by_M_NG_RANNode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_Configuration_rejected_by_M_NG_RANNode, Configuration_rejected_by_M_NG_RANNode_sequence); return offset; } static const value_string xnap_ResponseType_ReconfComplete_vals[] = { { 0, "configuration-successfully-applied" }, { 1, "configuration-rejected-by-M-NG-RANNode" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ResponseType_ReconfComplete_choice[] = { { 0, &hf_xnap_configuration_successfully_applied, ASN1_NO_EXTENSIONS , dissect_xnap_Configuration_successfully_applied }, { 1, &hf_xnap_configuration_rejected_by_M_NG_RANNode, ASN1_NO_EXTENSIONS , dissect_xnap_Configuration_rejected_by_M_NG_RANNode }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ResponseType_ReconfComplete(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ResponseType_ReconfComplete, ResponseType_ReconfComplete_choice, NULL); return offset; } static const per_sequence_t ResponseInfo_ReconfCompl_sequence[] = { { &hf_xnap_responseType_ReconfComplete, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ResponseType_ReconfComplete }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResponseInfo_ReconfCompl(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResponseInfo_ReconfCompl, ResponseInfo_ReconfCompl_sequence); return offset; } static const per_sequence_t SNodeModificationRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeModificationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeModificationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeModificationRequest, SNodeModificationRequest_sequence); return offset; } static const per_sequence_t PDUSessionsToBeAdded_SNModRequest_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_s_NSSAI , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_S_NSSAI }, { &hf_xnap_sN_PDUSessionAMBR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionAggregateMaximumBitRate }, { &hf_xnap_sn_terminated , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceSetupInfo_SNterminated }, { &hf_xnap_mn_terminated , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceSetupInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionsToBeAdded_SNModRequest_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionsToBeAdded_SNModRequest_Item, PDUSessionsToBeAdded_SNModRequest_Item_sequence); return offset; } static const per_sequence_t PDUSessionsToBeAdded_SNModRequest_List_sequence_of[1] = { { &hf_xnap_PDUSessionsToBeAdded_SNModRequest_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionsToBeAdded_SNModRequest_Item }, }; static int dissect_xnap_PDUSessionsToBeAdded_SNModRequest_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionsToBeAdded_SNModRequest_List, PDUSessionsToBeAdded_SNModRequest_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSessionsToBeModified_SNModRequest_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_sN_PDUSessionAMBR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionAggregateMaximumBitRate }, { &hf_xnap_sn_terminated_02, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceModificationInfo_SNterminated }, { &hf_xnap_mn_terminated_02, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceModificationInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionsToBeModified_SNModRequest_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionsToBeModified_SNModRequest_Item, PDUSessionsToBeModified_SNModRequest_Item_sequence); return offset; } static const per_sequence_t PDUSessionsToBeModified_SNModRequest_List_sequence_of[1] = { { &hf_xnap_PDUSessionsToBeModified_SNModRequest_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionsToBeModified_SNModRequest_Item }, }; static int dissect_xnap_PDUSessionsToBeModified_SNModRequest_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionsToBeModified_SNModRequest_List, PDUSessionsToBeModified_SNModRequest_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSessionsToBeReleased_SNModRequest_List_sequence[] = { { &hf_xnap_pdu_session_list, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withCause }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionsToBeReleased_SNModRequest_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionsToBeReleased_SNModRequest_List, PDUSessionsToBeReleased_SNModRequest_List_sequence); return offset; } static const per_sequence_t UEContextInfo_SNModRequest_sequence[] = { { &hf_xnap_ueSecurityCapabilities, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UESecurityCapabilities }, { &hf_xnap_s_ng_RANnode_SecurityKey, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_S_NG_RANnode_SecurityKey }, { &hf_xnap_s_ng_RANnodeUE_AMBR, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UEAggregateMaximumBitRate }, { &hf_xnap_indexToRatFrequencySelectionPriority, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_RFSP_Index }, { &hf_xnap_lowerLayerPresenceStatusChange, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_LowerLayerPresenceStatusChange }, { &hf_xnap_pduSessionResourceToBeAdded, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionsToBeAdded_SNModRequest_List }, { &hf_xnap_pduSessionResourceToBeModified, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionsToBeModified_SNModRequest_List }, { &hf_xnap_pduSessionResourceToBeReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionsToBeReleased_SNModRequest_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEContextInfo_SNModRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEContextInfo_SNModRequest, UEContextInfo_SNModRequest_sequence); return offset; } static const value_string xnap_RequestedFastMCGRecoveryViaSRB3Release_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_RequestedFastMCGRecoveryViaSRB3Release(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SNodeModificationRequestAcknowledge_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeModificationRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeModificationRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeModificationRequestAcknowledge, SNodeModificationRequestAcknowledge_sequence); return offset; } static const per_sequence_t PDUSessionAdmittedToBeAddedSNModResponse_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_sn_terminated_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceSetupResponseInfo_SNterminated }, { &hf_xnap_mn_terminated_01, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceSetupResponseInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionAdmittedToBeAddedSNModResponse_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedToBeAddedSNModResponse_Item, PDUSessionAdmittedToBeAddedSNModResponse_Item_sequence); return offset; } static const per_sequence_t PDUSessionAdmittedToBeAddedSNModResponse_sequence_of[1] = { { &hf_xnap_PDUSessionAdmittedToBeAddedSNModResponse_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionAdmittedToBeAddedSNModResponse_Item }, }; static int dissect_xnap_PDUSessionAdmittedToBeAddedSNModResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedToBeAddedSNModResponse, PDUSessionAdmittedToBeAddedSNModResponse_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSessionAdmittedToBeModifiedSNModResponse_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_sn_terminated_03, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceModificationResponseInfo_SNterminated }, { &hf_xnap_mn_terminated_03, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceModificationResponseInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionAdmittedToBeModifiedSNModResponse_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedToBeModifiedSNModResponse_Item, PDUSessionAdmittedToBeModifiedSNModResponse_Item_sequence); return offset; } static const per_sequence_t PDUSessionAdmittedToBeModifiedSNModResponse_sequence_of[1] = { { &hf_xnap_PDUSessionAdmittedToBeModifiedSNModResponse_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionAdmittedToBeModifiedSNModResponse_Item }, }; static int dissect_xnap_PDUSessionAdmittedToBeModifiedSNModResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedToBeModifiedSNModResponse, PDUSessionAdmittedToBeModifiedSNModResponse_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSessionAdmittedToBeReleasedSNModResponse_sequence[] = { { &hf_xnap_sn_terminated_04, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withDataForwardingRequest }, { &hf_xnap_mn_terminated_04, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withCause }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionAdmittedToBeReleasedSNModResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedToBeReleasedSNModResponse, PDUSessionAdmittedToBeReleasedSNModResponse_sequence); return offset; } static const per_sequence_t PDUSessionAdmitted_SNModResponse_sequence[] = { { &hf_xnap_pduSessionResourcesAdmittedToBeAdded, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionAdmittedToBeAddedSNModResponse }, { &hf_xnap_pduSessionResourcesAdmittedToBeModified, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionAdmittedToBeModifiedSNModResponse }, { &hf_xnap_pduSessionResourcesAdmittedToBeReleased, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionAdmittedToBeReleasedSNModResponse }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionAdmitted_SNModResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmitted_SNModResponse, PDUSessionAdmitted_SNModResponse_sequence); return offset; } static const per_sequence_t PDUSessionNotAdmitted_SNModResponse_sequence[] = { { &hf_xnap_pdu_Session_List, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionNotAdmitted_SNModResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionNotAdmitted_SNModResponse, PDUSessionNotAdmitted_SNModResponse_sequence); return offset; } static const per_sequence_t PDUSessionDataForwarding_SNModResponse_sequence[] = { { &hf_xnap_sn_terminated_04, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_List_withDataForwardingRequest }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionDataForwarding_SNModResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionDataForwarding_SNModResponse, PDUSessionDataForwarding_SNModResponse_sequence); return offset; } static const value_string xnap_ReleaseFastMCGRecoveryViaSRB3_vals[] = { { 0, "true" }, { 0, NULL } }; static int dissect_xnap_ReleaseFastMCGRecoveryViaSRB3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 1, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SNodeModificationRequestReject_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeModificationRequestReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeModificationRequestReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeModificationRequestReject, SNodeModificationRequestReject_sequence); return offset; } static const per_sequence_t SNodeModificationRequired_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeModificationRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeModificationRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeModificationRequired, SNodeModificationRequired_sequence); return offset; } static const per_sequence_t PDUSessionToBeModifiedSNModRequired_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_sn_terminated_05, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceModRqdInfo_SNterminated }, { &hf_xnap_mn_terminated_05, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceModRqdInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionToBeModifiedSNModRequired_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionToBeModifiedSNModRequired_Item, PDUSessionToBeModifiedSNModRequired_Item_sequence); return offset; } static const per_sequence_t PDUSessionToBeModifiedSNModRequired_sequence_of[1] = { { &hf_xnap_PDUSessionToBeModifiedSNModRequired_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionToBeModifiedSNModRequired_Item }, }; static int dissect_xnap_PDUSessionToBeModifiedSNModRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionToBeModifiedSNModRequired, PDUSessionToBeModifiedSNModRequired_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSessionToBeReleasedSNModRequired_sequence[] = { { &hf_xnap_sn_terminated_04, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withDataForwardingRequest }, { &hf_xnap_mn_terminated_04, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withCause }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionToBeReleasedSNModRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionToBeReleasedSNModRequired, PDUSessionToBeReleasedSNModRequired_sequence); return offset; } static const per_sequence_t SNodeModificationConfirm_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeModificationConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeModificationConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeModificationConfirm, SNodeModificationConfirm_sequence); return offset; } static const per_sequence_t PDUSessionAdmittedModSNModConfirm_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_sn_terminated_06, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceModConfirmInfo_SNterminated }, { &hf_xnap_mn_terminated_06, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceModConfirmInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionAdmittedModSNModConfirm_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedModSNModConfirm_Item, PDUSessionAdmittedModSNModConfirm_Item_sequence); return offset; } static const per_sequence_t PDUSessionAdmittedModSNModConfirm_sequence_of[1] = { { &hf_xnap_PDUSessionAdmittedModSNModConfirm_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionAdmittedModSNModConfirm_Item }, }; static int dissect_xnap_PDUSessionAdmittedModSNModConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionAdmittedModSNModConfirm, PDUSessionAdmittedModSNModConfirm_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t PDUSessionReleasedSNModConfirm_sequence[] = { { &hf_xnap_sn_terminated_07, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withDataForwardingFromTarget }, { &hf_xnap_mn_terminated_07, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionReleasedSNModConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionReleasedSNModConfirm, PDUSessionReleasedSNModConfirm_sequence); return offset; } static const per_sequence_t SNodeModificationRefuse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeModificationRefuse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeModificationRefuse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeModificationRefuse, SNodeModificationRefuse_sequence); return offset; } static const per_sequence_t SNodeReleaseRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeReleaseRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeReleaseRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeReleaseRequest, SNodeReleaseRequest_sequence); return offset; } static const per_sequence_t SNodeReleaseRequestAcknowledge_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeReleaseRequestAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeReleaseRequestAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeReleaseRequestAcknowledge, SNodeReleaseRequestAcknowledge_sequence); return offset; } static const per_sequence_t PDUSessionToBeReleasedList_RelReqAck_sequence[] = { { &hf_xnap_pduSessionsToBeReleasedList_SNterminated, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withDataForwardingRequest }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionToBeReleasedList_RelReqAck(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionToBeReleasedList_RelReqAck, PDUSessionToBeReleasedList_RelReqAck_sequence); return offset; } static const per_sequence_t SNodeReleaseReject_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeReleaseReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeReleaseReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeReleaseReject, SNodeReleaseReject_sequence); return offset; } static const per_sequence_t SNodeReleaseRequired_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeReleaseRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeReleaseRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeReleaseRequired, SNodeReleaseRequired_sequence); return offset; } static const per_sequence_t PDUSessionToBeReleasedList_RelRqd_sequence[] = { { &hf_xnap_pduSessionsToBeReleasedList_SNterminated, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withDataForwardingRequest }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionToBeReleasedList_RelRqd(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionToBeReleasedList_RelRqd, PDUSessionToBeReleasedList_RelRqd_sequence); return offset; } static const per_sequence_t SNodeReleaseConfirm_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeReleaseConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeReleaseConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeReleaseConfirm, SNodeReleaseConfirm_sequence); return offset; } static const per_sequence_t PDUSessionReleasedList_RelConf_sequence[] = { { &hf_xnap_pduSessionsReleasedList_SNterminated, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSession_List_withDataForwardingFromTarget }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionReleasedList_RelConf(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionReleasedList_RelConf, PDUSessionReleasedList_RelConf_sequence); return offset; } static const per_sequence_t SNodeCounterCheckRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeCounterCheckRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeCounterCheckRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeCounterCheckRequest, SNodeCounterCheckRequest_sequence); return offset; } static int dissect_xnap_INTEGER_0_4294967295(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 4294967295U, NULL, FALSE); return offset; } static const per_sequence_t BearersSubjectToCounterCheck_Item_sequence[] = { { &hf_xnap_drb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DRB_ID }, { &hf_xnap_ul_count , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_4294967295 }, { &hf_xnap_dl_count , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_INTEGER_0_4294967295 }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BearersSubjectToCounterCheck_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BearersSubjectToCounterCheck_Item, BearersSubjectToCounterCheck_Item_sequence); return offset; } static const per_sequence_t BearersSubjectToCounterCheck_List_sequence_of[1] = { { &hf_xnap_BearersSubjectToCounterCheck_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BearersSubjectToCounterCheck_Item }, }; static int dissect_xnap_BearersSubjectToCounterCheck_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BearersSubjectToCounterCheck_List, BearersSubjectToCounterCheck_List_sequence_of, 1, maxnoofDRBs, FALSE); return offset; } static const per_sequence_t SNodeChangeRequired_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeChangeRequired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeChangeRequired"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeChangeRequired, SNodeChangeRequired_sequence); return offset; } static const per_sequence_t PDUSession_SNChangeRequired_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_sn_terminated_08, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceChangeRequiredInfo_SNterminated }, { &hf_xnap_mn_terminated_08, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceChangeRequiredInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSession_SNChangeRequired_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_SNChangeRequired_Item, PDUSession_SNChangeRequired_Item_sequence); return offset; } static const per_sequence_t PDUSession_SNChangeRequired_List_sequence_of[1] = { { &hf_xnap_PDUSession_SNChangeRequired_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_SNChangeRequired_Item }, }; static int dissect_xnap_PDUSession_SNChangeRequired_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_SNChangeRequired_List, PDUSession_SNChangeRequired_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t SNodeChangeConfirm_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeChangeConfirm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeChangeConfirm"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeChangeConfirm, SNodeChangeConfirm_sequence); return offset; } static const per_sequence_t PDUSession_SNChangeConfirm_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_sn_terminated_09, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceChangeConfirmInfo_SNterminated }, { &hf_xnap_mn_terminated_09, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_PDUSessionResourceChangeConfirmInfo_MNterminated }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSession_SNChangeConfirm_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_SNChangeConfirm_Item, PDUSession_SNChangeConfirm_Item_sequence); return offset; } static const per_sequence_t PDUSession_SNChangeConfirm_List_sequence_of[1] = { { &hf_xnap_PDUSession_SNChangeConfirm_List_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_SNChangeConfirm_Item }, }; static int dissect_xnap_PDUSession_SNChangeConfirm_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSession_SNChangeConfirm_List, PDUSession_SNChangeConfirm_List_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t SNodeChangeRefuse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SNodeChangeRefuse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNodeChangeRefuse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SNodeChangeRefuse, SNodeChangeRefuse_sequence); return offset; } static const per_sequence_t RRCTransfer_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RRCTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RRCTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RRCTransfer, RRCTransfer_sequence); return offset; } static int dissect_xnap_OCTET_STRING(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL); return offset; } static const value_string xnap_T_srbType_vals[] = { { 0, "srb1" }, { 1, "srb2" }, { 0, NULL } }; static int dissect_xnap_T_srbType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 2, NULL, TRUE, 0, NULL); return offset; } static const per_sequence_t SplitSRB_RRCTransfer_sequence[] = { { &hf_xnap_rrcContainer , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_OCTET_STRING }, { &hf_xnap_srbType , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_T_srbType }, { &hf_xnap_deliveryStatus , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_DeliveryStatus }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SplitSRB_RRCTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SplitSRB_RRCTransfer, SplitSRB_RRCTransfer_sequence); return offset; } static const per_sequence_t UEReportRRCTransfer_sequence[] = { { &hf_xnap_rrcContainer , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_OCTET_STRING }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UEReportRRCTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UEReportRRCTransfer, UEReportRRCTransfer_sequence); return offset; } static const per_sequence_t FastMCGRecoveryRRCTransfer_sequence[] = { { &hf_xnap_rrcContainer , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_OCTET_STRING }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FastMCGRecoveryRRCTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FastMCGRecoveryRRCTransfer, FastMCGRecoveryRRCTransfer_sequence); return offset; } static const per_sequence_t SDT_SRB_between_NewNode_OldNode_sequence[] = { { &hf_xnap_rrcContainer , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_OCTET_STRING }, { &hf_xnap_srb_ID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SRB_ID }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SDT_SRB_between_NewNode_OldNode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SDT_SRB_between_NewNode_OldNode, SDT_SRB_between_NewNode_OldNode_sequence); return offset; } static const per_sequence_t NotificationControlIndication_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NotificationControlIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "NotificationControlIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NotificationControlIndication, NotificationControlIndication_sequence); return offset; } static const per_sequence_t PDUSessionResourcesNotify_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_qosFlowsNotificationContrIndInfo, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowNotificationControlIndicationInfo }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourcesNotify_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesNotify_Item, PDUSessionResourcesNotify_Item_sequence); return offset; } static const per_sequence_t PDUSessionResourcesNotifyList_sequence_of[1] = { { &hf_xnap_PDUSessionResourcesNotifyList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourcesNotify_Item }, }; static int dissect_xnap_PDUSessionResourcesNotifyList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesNotifyList, PDUSessionResourcesNotifyList_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t ActivityNotification_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ActivityNotification(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ActivityNotification"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ActivityNotification, ActivityNotification_sequence); return offset; } static const per_sequence_t QoSFlowsActivityNotifyItem_sequence[] = { { &hf_xnap_qosFlowIdentifier, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowIdentifier }, { &hf_xnap_pduSessionLevelUPactivityreport, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_UserPlaneTrafficActivityReport }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_QoSFlowsActivityNotifyItem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsActivityNotifyItem, QoSFlowsActivityNotifyItem_sequence); return offset; } static const per_sequence_t QoSFlowsActivityNotifyList_sequence_of[1] = { { &hf_xnap_QoSFlowsActivityNotifyList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_QoSFlowsActivityNotifyItem }, }; static int dissect_xnap_QoSFlowsActivityNotifyList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_QoSFlowsActivityNotifyList, QoSFlowsActivityNotifyList_sequence_of, 1, maxnoofQoSFlows, FALSE); return offset; } static const per_sequence_t PDUSessionResourcesActivityNotify_Item_sequence[] = { { &hf_xnap_pduSessionId , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSession_ID }, { &hf_xnap_pduSessionLevelUPactivityreport, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_UserPlaneTrafficActivityReport }, { &hf_xnap_qosFlowsActivityNotifyList, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_QoSFlowsActivityNotifyList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PDUSessionResourcesActivityNotify_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesActivityNotify_Item, PDUSessionResourcesActivityNotify_Item_sequence); return offset; } static const per_sequence_t PDUSessionResourcesActivityNotifyList_sequence_of[1] = { { &hf_xnap_PDUSessionResourcesActivityNotifyList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_PDUSessionResourcesActivityNotify_Item }, }; static int dissect_xnap_PDUSessionResourcesActivityNotifyList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_PDUSessionResourcesActivityNotifyList, PDUSessionResourcesActivityNotifyList_sequence_of, 1, maxnoofPDUSessions, FALSE); return offset; } static const per_sequence_t XnSetupRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_XnSetupRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "XnSetupRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_XnSetupRequest, XnSetupRequest_sequence); return offset; } static const per_sequence_t XnSetupResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_XnSetupResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "XnSetupResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_XnSetupResponse, XnSetupResponse_sequence); return offset; } static const per_sequence_t XnSetupFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_XnSetupFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "XnSetupFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_XnSetupFailure, XnSetupFailure_sequence); return offset; } static const per_sequence_t NGRANNodeConfigurationUpdate_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NGRANNodeConfigurationUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "NGRANNodeConfigurationUpdate"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NGRANNodeConfigurationUpdate, NGRANNodeConfigurationUpdate_sequence); return offset; } static const value_string xnap_ConfigurationUpdateInitiatingNodeChoice_vals[] = { { 0, "gNB" }, { 1, "ng-eNB" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ConfigurationUpdateInitiatingNodeChoice_choice[] = { { 0, &hf_xnap_gNB_01 , ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Container }, { 1, &hf_xnap_ng_eNB_01 , ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Container }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ConfigurationUpdateInitiatingNodeChoice(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ConfigurationUpdateInitiatingNodeChoice, ConfigurationUpdateInitiatingNodeChoice_choice, NULL); return offset; } static const per_sequence_t NGRANNodeConfigurationUpdateAcknowledge_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NGRANNodeConfigurationUpdateAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "NGRANNodeConfigurationUpdateAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NGRANNodeConfigurationUpdateAcknowledge, NGRANNodeConfigurationUpdateAcknowledge_sequence); return offset; } static const per_sequence_t RespondingNodeTypeConfigUpdateAck_ng_eNB_sequence[] = { { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RespondingNodeTypeConfigUpdateAck_ng_eNB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RespondingNodeTypeConfigUpdateAck_ng_eNB, RespondingNodeTypeConfigUpdateAck_ng_eNB_sequence); return offset; } static const per_sequence_t RespondingNodeTypeConfigUpdateAck_gNB_sequence[] = { { &hf_xnap_served_NR_Cells, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ServedCells_NR }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RespondingNodeTypeConfigUpdateAck_gNB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RespondingNodeTypeConfigUpdateAck_gNB, RespondingNodeTypeConfigUpdateAck_gNB_sequence); return offset; } static const value_string xnap_RespondingNodeTypeConfigUpdateAck_vals[] = { { 0, "ng-eNB" }, { 1, "gNB" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t RespondingNodeTypeConfigUpdateAck_choice[] = { { 0, &hf_xnap_ng_eNB_02 , ASN1_NO_EXTENSIONS , dissect_xnap_RespondingNodeTypeConfigUpdateAck_ng_eNB }, { 1, &hf_xnap_gNB_02 , ASN1_NO_EXTENSIONS , dissect_xnap_RespondingNodeTypeConfigUpdateAck_gNB }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_RespondingNodeTypeConfigUpdateAck(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_RespondingNodeTypeConfigUpdateAck, RespondingNodeTypeConfigUpdateAck_choice, NULL); return offset; } static const per_sequence_t NGRANNodeConfigurationUpdateFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_NGRANNodeConfigurationUpdateFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "NGRANNodeConfigurationUpdateFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_NGRANNodeConfigurationUpdateFailure, NGRANNodeConfigurationUpdateFailure_sequence); return offset; } static const per_sequence_t E_UTRA_NR_CellResourceCoordinationRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_E_UTRA_NR_CellResourceCoordinationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-UTRA-NR-CellResourceCoordinationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_E_UTRA_NR_CellResourceCoordinationRequest, E_UTRA_NR_CellResourceCoordinationRequest_sequence); return offset; } static const per_sequence_t ResourceCoordRequest_ng_eNB_initiated_sequence[] = { { &hf_xnap_dataTrafficResourceIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataTrafficResourceIndication }, { &hf_xnap_spectrumSharingGroupID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SpectrumSharingGroupID }, { &hf_xnap_listofE_UTRACells, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResourceCoordRequest_ng_eNB_initiated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResourceCoordRequest_ng_eNB_initiated, ResourceCoordRequest_ng_eNB_initiated_sequence); return offset; } static const per_sequence_t ResourceCoordRequest_gNB_initiated_sequence[] = { { &hf_xnap_dataTrafficResourceIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataTrafficResourceIndication }, { &hf_xnap_listofE_UTRACells, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI }, { &hf_xnap_spectrumSharingGroupID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SpectrumSharingGroupID }, { &hf_xnap_listofNRCells , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResourceCoordRequest_gNB_initiated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResourceCoordRequest_gNB_initiated, ResourceCoordRequest_gNB_initiated_sequence); return offset; } static const value_string xnap_InitiatingNodeType_ResourceCoordRequest_vals[] = { { 0, "ng-eNB" }, { 1, "gNB" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t InitiatingNodeType_ResourceCoordRequest_choice[] = { { 0, &hf_xnap_ng_eNB_03 , ASN1_NO_EXTENSIONS , dissect_xnap_ResourceCoordRequest_ng_eNB_initiated }, { 1, &hf_xnap_gNB_03 , ASN1_NO_EXTENSIONS , dissect_xnap_ResourceCoordRequest_gNB_initiated }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_InitiatingNodeType_ResourceCoordRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_InitiatingNodeType_ResourceCoordRequest, InitiatingNodeType_ResourceCoordRequest_choice, NULL); return offset; } static const per_sequence_t E_UTRA_NR_CellResourceCoordinationResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_E_UTRA_NR_CellResourceCoordinationResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-UTRA-NR-CellResourceCoordinationResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_E_UTRA_NR_CellResourceCoordinationResponse, E_UTRA_NR_CellResourceCoordinationResponse_sequence); return offset; } static const per_sequence_t ResourceCoordResponse_ng_eNB_initiated_sequence[] = { { &hf_xnap_dataTrafficResourceIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataTrafficResourceIndication }, { &hf_xnap_spectrumSharingGroupID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SpectrumSharingGroupID }, { &hf_xnap_listofE_UTRACells, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResourceCoordResponse_ng_eNB_initiated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResourceCoordResponse_ng_eNB_initiated, ResourceCoordResponse_ng_eNB_initiated_sequence); return offset; } static const per_sequence_t ResourceCoordResponse_gNB_initiated_sequence[] = { { &hf_xnap_dataTrafficResourceIndication, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_DataTrafficResourceIndication }, { &hf_xnap_spectrumSharingGroupID, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_SpectrumSharingGroupID }, { &hf_xnap_listofNRCells , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResourceCoordResponse_gNB_initiated(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResourceCoordResponse_gNB_initiated, ResourceCoordResponse_gNB_initiated_sequence); return offset; } static const value_string xnap_RespondingNodeType_ResourceCoordResponse_vals[] = { { 0, "ng-eNB" }, { 1, "gNB" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t RespondingNodeType_ResourceCoordResponse_choice[] = { { 0, &hf_xnap_ng_eNB_04 , ASN1_NO_EXTENSIONS , dissect_xnap_ResourceCoordResponse_ng_eNB_initiated }, { 1, &hf_xnap_gNB_04 , ASN1_NO_EXTENSIONS , dissect_xnap_ResourceCoordResponse_gNB_initiated }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_RespondingNodeType_ResourceCoordResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_RespondingNodeType_ResourceCoordResponse, RespondingNodeType_ResourceCoordResponse_choice, NULL); return offset; } static const per_sequence_t SecondaryRATDataUsageReport_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SecondaryRATDataUsageReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SecondaryRATDataUsageReport"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SecondaryRATDataUsageReport, SecondaryRATDataUsageReport_sequence); return offset; } static const per_sequence_t XnRemovalRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_XnRemovalRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "XnRemovalRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_XnRemovalRequest, XnRemovalRequest_sequence); return offset; } static const per_sequence_t XnRemovalResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_XnRemovalResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "XnRemovalResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_XnRemovalResponse, XnRemovalResponse_sequence); return offset; } static const per_sequence_t XnRemovalFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_XnRemovalFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "XnRemovalFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_XnRemovalFailure, XnRemovalFailure_sequence); return offset; } static const per_sequence_t CellActivationRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellActivationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellActivationRequest, CellActivationRequest_sequence); return offset; } static const value_string xnap_ServedCellsToActivate_vals[] = { { 0, "nr-cells" }, { 1, "e-utra-cells" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ServedCellsToActivate_choice[] = { { 0, &hf_xnap_nr_cells , ASN1_NO_EXTENSIONS , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI }, { 1, &hf_xnap_e_utra_cells , ASN1_NO_EXTENSIONS , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ServedCellsToActivate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ServedCellsToActivate, ServedCellsToActivate_choice, NULL); return offset; } static const per_sequence_t CellActivationResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellActivationResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellActivationResponse, CellActivationResponse_sequence); return offset; } static const value_string xnap_ActivatedServedCells_vals[] = { { 0, "nr-cells" }, { 1, "e-utra-cells" }, { 2, "choice-extension" }, { 0, NULL } }; static const per_choice_t ActivatedServedCells_choice[] = { { 0, &hf_xnap_nr_cells , ASN1_NO_EXTENSIONS , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI }, { 1, &hf_xnap_e_utra_cells , ASN1_NO_EXTENSIONS , dissect_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI }, { 2, &hf_xnap_choice_extension, ASN1_NO_EXTENSIONS , dissect_xnap_ProtocolIE_Single_Container }, { 0, NULL, 0, NULL } }; static int dissect_xnap_ActivatedServedCells(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_ActivatedServedCells, ActivatedServedCells_choice, NULL); return offset; } static const per_sequence_t CellActivationFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellActivationFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellActivationFailure, CellActivationFailure_sequence); return offset; } static const per_sequence_t ResetRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResetRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResetRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResetRequest, ResetRequest_sequence); return offset; } static const per_sequence_t ResetResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResetResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResetResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResetResponse, ResetResponse_sequence); return offset; } static const per_sequence_t ErrorIndication_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ErrorIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ErrorIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ErrorIndication, ErrorIndication_sequence); return offset; } static const per_sequence_t PrivateMessage_sequence[] = { { &hf_xnap_privateIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_PrivateIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PrivateMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PrivateMessage"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PrivateMessage, PrivateMessage_sequence); return offset; } static const per_sequence_t TraceStart_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TraceStart(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "TraceStart"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TraceStart, TraceStart_sequence); return offset; } static const per_sequence_t DeactivateTrace_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_DeactivateTrace(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DeactivateTrace"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_DeactivateTrace, DeactivateTrace_sequence); return offset; } static const per_sequence_t FailureIndication_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_FailureIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "FailureIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_FailureIndication, FailureIndication_sequence); return offset; } static const per_sequence_t HandoverReport_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_HandoverReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverReport"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_HandoverReport, HandoverReport_sequence); return offset; } static const per_sequence_t ResourceStatusRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResourceStatusRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResourceStatusRequest, ResourceStatusRequest_sequence); return offset; } static const per_sequence_t ResourceStatusResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResourceStatusResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResourceStatusResponse, ResourceStatusResponse_sequence); return offset; } static const per_sequence_t ResourceStatusFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResourceStatusFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResourceStatusFailure, ResourceStatusFailure_sequence); return offset; } static const per_sequence_t ResourceStatusUpdate_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ResourceStatusUpdate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusUpdate"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ResourceStatusUpdate, ResourceStatusUpdate_sequence); return offset; } static const per_sequence_t MobilityChangeRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MobilityChangeRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MobilityChangeRequest, MobilityChangeRequest_sequence); return offset; } static const per_sequence_t MobilityChangeAcknowledge_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MobilityChangeAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MobilityChangeAcknowledge, MobilityChangeAcknowledge_sequence); return offset; } static const per_sequence_t MobilityChangeFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_MobilityChangeFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_MobilityChangeFailure, MobilityChangeFailure_sequence); return offset; } static const per_sequence_t AccessAndMobilityIndication_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_AccessAndMobilityIndication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "AccessAndMobilityIndication"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_AccessAndMobilityIndication, AccessAndMobilityIndication_sequence); return offset; } static const per_sequence_t CellTrafficTrace_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CellTrafficTrace(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellTrafficTrace"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CellTrafficTrace, CellTrafficTrace_sequence); return offset; } static const per_sequence_t RANMulticastGroupPaging_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_RANMulticastGroupPaging(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RANMulticastGroupPaging"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_RANMulticastGroupPaging, RANMulticastGroupPaging_sequence); return offset; } static const per_sequence_t ScgFailureInformationReport_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ScgFailureInformationReport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ScgFailureInformationReport"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ScgFailureInformationReport, ScgFailureInformationReport_sequence); return offset; } static const per_sequence_t ScgFailureTransfer_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ScgFailureTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ScgFailureTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ScgFailureTransfer, ScgFailureTransfer_sequence); return offset; } static const per_sequence_t F1CTrafficTransfer_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_F1CTrafficTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "F1CTrafficTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_F1CTrafficTransfer, F1CTrafficTransfer_sequence); return offset; } static const per_sequence_t IABTransportMigrationManagementRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTransportMigrationManagementRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "IABTransportMigrationManagementRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTransportMigrationManagementRequest, IABTransportMigrationManagementRequest_sequence); return offset; } static const per_sequence_t TrafficToBeAdded_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_trafficProfile , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficProfile }, { &hf_xnap_f1_TerminatingTopologyBHInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_F1_TerminatingTopologyBHInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficToBeAdded_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficToBeAdded_Item, TrafficToBeAdded_Item_sequence); return offset; } static const per_sequence_t TrafficToBeAddedList_sequence_of[1] = { { &hf_xnap_TrafficToBeAddedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficToBeAdded_Item }, }; static int dissect_xnap_TrafficToBeAddedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficToBeAddedList, TrafficToBeAddedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t TrafficToBeModified_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_trafficProfile , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_TrafficProfile }, { &hf_xnap_f1_TerminatingTopologyBHInformation, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_F1_TerminatingTopologyBHInformation }, { &hf_xnap_iE_Extension , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficToBeModified_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficToBeModified_Item, TrafficToBeModified_Item_sequence); return offset; } static const per_sequence_t TrafficToBeModifiedList_sequence_of[1] = { { &hf_xnap_TrafficToBeModifiedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficToBeModified_Item }, }; static int dissect_xnap_TrafficToBeModifiedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficToBeModifiedList, TrafficToBeModifiedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t IABTransportMigrationManagementResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTransportMigrationManagementResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "IABTransportMigrationManagementResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTransportMigrationManagementResponse, IABTransportMigrationManagementResponse_sequence); return offset; } static const per_sequence_t TrafficAdded_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_non_F1_TerminatingTopologyBHInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Non_F1_TerminatingTopologyBHInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficAdded_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficAdded_Item, TrafficAdded_Item_sequence); return offset; } static const per_sequence_t TrafficAddedList_sequence_of[1] = { { &hf_xnap_TrafficAddedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficAdded_Item }, }; static int dissect_xnap_TrafficAddedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficAddedList, TrafficAddedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t TrafficModified_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_non_F1_TerminatingTopologyBHInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Non_F1_TerminatingTopologyBHInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficModified_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficModified_Item, TrafficModified_Item_sequence); return offset; } static const per_sequence_t TrafficModifiedList_sequence_of[1] = { { &hf_xnap_TrafficModifiedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficModified_Item }, }; static int dissect_xnap_TrafficModifiedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficModifiedList, TrafficModifiedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t TrafficNotAdded_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_casue , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Cause }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficNotAdded_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficNotAdded_Item, TrafficNotAdded_Item_sequence); return offset; } static const per_sequence_t TrafficNotAddedList_sequence_of[1] = { { &hf_xnap_TrafficNotAddedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficNotAdded_Item }, }; static int dissect_xnap_TrafficNotAddedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficNotAddedList, TrafficNotAddedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t TrafficNotModified_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_cause , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_Cause }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficNotModified_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficNotModified_Item, TrafficNotModified_Item_sequence); return offset; } static const per_sequence_t TrafficNotModifiedList_sequence_of[1] = { { &hf_xnap_TrafficNotModifiedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficNotModified_Item }, }; static int dissect_xnap_TrafficNotModifiedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficNotModifiedList, TrafficNotModifiedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t TrafficReleased_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_bHInfoList , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_BHInfoList }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficReleased_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficReleased_Item, TrafficReleased_Item_sequence); return offset; } static const per_sequence_t TrafficReleasedList_sequence_of[1] = { { &hf_xnap_TrafficReleasedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficReleased_Item }, }; static int dissect_xnap_TrafficReleasedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficReleasedList, TrafficReleasedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t IABTransportMigrationManagementReject_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTransportMigrationManagementReject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "IABTransportMigrationManagementReject"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTransportMigrationManagementReject, IABTransportMigrationManagementReject_sequence); return offset; } static const per_sequence_t IABTransportMigrationModificationRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTransportMigrationModificationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "IABTransportMigrationModificationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTransportMigrationModificationRequest, IABTransportMigrationModificationRequest_sequence); return offset; } static const per_sequence_t TrafficRequiredToBeModified_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_non_f1_TerminatingTopologyBHInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_Non_F1_TerminatingTopologyBHInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficRequiredToBeModified_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficRequiredToBeModified_Item, TrafficRequiredToBeModified_Item_sequence); return offset; } static const per_sequence_t TrafficRequiredToBeModifiedList_sequence_of[1] = { { &hf_xnap_TrafficRequiredToBeModifiedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficRequiredToBeModified_Item }, }; static int dissect_xnap_TrafficRequiredToBeModifiedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficRequiredToBeModifiedList, TrafficRequiredToBeModifiedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t IABTNLAddressToBeReleased_Item_sequence[] = { { &hf_xnap_iabTNLAddress , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddress }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTNLAddressToBeReleased_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTNLAddressToBeReleased_Item, IABTNLAddressToBeReleased_Item_sequence); return offset; } static const per_sequence_t IABTNLAddressToBeReleasedList_sequence_of[1] = { { &hf_xnap_IABTNLAddressToBeReleasedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_IABTNLAddressToBeReleased_Item }, }; static int dissect_xnap_IABTNLAddressToBeReleasedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_IABTNLAddressToBeReleasedList, IABTNLAddressToBeReleasedList_sequence_of, 1, maxnoofTLAsIAB, FALSE); return offset; } static const per_sequence_t IABTransportMigrationModificationResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABTransportMigrationModificationResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "IABTransportMigrationModificationResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABTransportMigrationModificationResponse, IABTransportMigrationModificationResponse_sequence); return offset; } static const per_sequence_t TrafficRequiredModified_Item_sequence[] = { { &hf_xnap_trafficIndex , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficIndex }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_TrafficRequiredModified_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficRequiredModified_Item, TrafficRequiredModified_Item_sequence); return offset; } static const per_sequence_t TrafficRequiredModifiedList_sequence_of[1] = { { &hf_xnap_TrafficRequiredModifiedList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_TrafficRequiredModified_Item }, }; static int dissect_xnap_TrafficRequiredModifiedList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_TrafficRequiredModifiedList, TrafficRequiredModifiedList_sequence_of, 1, maxnoofTrafficIndexEntries, FALSE); return offset; } static const per_sequence_t IABResourceCoordinationRequest_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABResourceCoordinationRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "IABResourceCoordinationRequest"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABResourceCoordinationRequest, IABResourceCoordinationRequest_sequence); return offset; } static const per_sequence_t BoundaryNodeCellsList_Item_sequence[] = { { &hf_xnap_boundaryNodeCellInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABCellInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_BoundaryNodeCellsList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_BoundaryNodeCellsList_Item, BoundaryNodeCellsList_Item_sequence); return offset; } static const per_sequence_t BoundaryNodeCellsList_sequence_of[1] = { { &hf_xnap_BoundaryNodeCellsList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_BoundaryNodeCellsList_Item }, }; static int dissect_xnap_BoundaryNodeCellsList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_BoundaryNodeCellsList, BoundaryNodeCellsList_sequence_of, 1, maxnoofServedCellsIAB, FALSE); return offset; } static const per_sequence_t ParentNodeCellsList_Item_sequence[] = { { &hf_xnap_parentNodeCellInformation, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_IABCellInformation }, { &hf_xnap_iE_Extensions , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_xnap_ProtocolExtensionContainer }, { NULL, 0, 0, NULL } }; static int dissect_xnap_ParentNodeCellsList_Item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_ParentNodeCellsList_Item, ParentNodeCellsList_Item_sequence); return offset; } static const per_sequence_t ParentNodeCellsList_sequence_of[1] = { { &hf_xnap_ParentNodeCellsList_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ParentNodeCellsList_Item }, }; static int dissect_xnap_ParentNodeCellsList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_xnap_ParentNodeCellsList, ParentNodeCellsList_sequence_of, 1, maxnoofServingCells, FALSE); return offset; } static const per_sequence_t IABResourceCoordinationResponse_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_IABResourceCoordinationResponse(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "IABResourceCoordinationResponse"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_IABResourceCoordinationResponse, IABResourceCoordinationResponse_sequence); return offset; } static const per_sequence_t CPCCancel_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_CPCCancel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CPCCancel"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_CPCCancel, CPCCancel_sequence); return offset; } static const per_sequence_t PartialUEContextTransfer_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PartialUEContextTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PartialUEContextTransfer"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PartialUEContextTransfer, PartialUEContextTransfer_sequence); return offset; } static const per_sequence_t PartialUEContextTransferAcknowledge_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PartialUEContextTransferAcknowledge(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PartialUEContextTransferAcknowledge"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PartialUEContextTransferAcknowledge, PartialUEContextTransferAcknowledge_sequence); return offset; } static const per_sequence_t PartialUEContextTransferFailure_sequence[] = { { &hf_xnap_protocolIEs , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_xnap_ProtocolIE_Container }, { NULL, 0, 0, NULL } }; static int dissect_xnap_PartialUEContextTransferFailure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PartialUEContextTransferFailure"); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_PartialUEContextTransferFailure, PartialUEContextTransferFailure_sequence); return offset; } static int dissect_xnap_InitiatingMessage_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); xnap_data->message_type = INITIATING_MESSAGE; offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_InitiatingMessageValue); return offset; } static const per_sequence_t InitiatingMessage_sequence[] = { { &hf_xnap_procedureCode , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProcedureCode }, { &hf_xnap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Criticality }, { &hf_xnap_initiatingMessage_value, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_InitiatingMessage_value }, { NULL, 0, 0, NULL } }; static int dissect_xnap_InitiatingMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_InitiatingMessage, InitiatingMessage_sequence); return offset; } static int dissect_xnap_SuccessfulOutcome_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); xnap_data->message_type = SUCCESSFUL_OUTCOME; offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_SuccessfulOutcomeValue); return offset; } static const per_sequence_t SuccessfulOutcome_sequence[] = { { &hf_xnap_procedureCode , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProcedureCode }, { &hf_xnap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Criticality }, { &hf_xnap_successfulOutcome_value, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_SuccessfulOutcome_value }, { NULL, 0, 0, NULL } }; static int dissect_xnap_SuccessfulOutcome(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_SuccessfulOutcome, SuccessfulOutcome_sequence); return offset; } static int dissect_xnap_UnsuccessfulOutcome_value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(actx->pinfo); xnap_data->message_type = UNSUCCESSFUL_OUTCOME; offset = dissect_per_open_type_pdu_new(tvb, offset, actx, tree, hf_index, dissect_UnsuccessfulOutcomeValue); return offset; } static const per_sequence_t UnsuccessfulOutcome_sequence[] = { { &hf_xnap_procedureCode , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_ProcedureCode }, { &hf_xnap_criticality , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_Criticality }, { &hf_xnap_value , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xnap_UnsuccessfulOutcome_value }, { NULL, 0, 0, NULL } }; static int dissect_xnap_UnsuccessfulOutcome(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_xnap_UnsuccessfulOutcome, UnsuccessfulOutcome_sequence); return offset; } static const value_string xnap_XnAP_PDU_vals[] = { { 0, "initiatingMessage" }, { 1, "successfulOutcome" }, { 2, "unsuccessfulOutcome" }, { 0, NULL } }; static const per_choice_t XnAP_PDU_choice[] = { { 0, &hf_xnap_initiatingMessage, ASN1_EXTENSION_ROOT , dissect_xnap_InitiatingMessage }, { 1, &hf_xnap_successfulOutcome, ASN1_EXTENSION_ROOT , dissect_xnap_SuccessfulOutcome }, { 2, &hf_xnap_unsuccessfulOutcome, ASN1_EXTENSION_ROOT , dissect_xnap_UnsuccessfulOutcome }, { 0, NULL, 0, NULL } }; static int dissect_xnap_XnAP_PDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_xnap_XnAP_PDU, XnAP_PDU_choice, NULL); return offset; } /*--- PDUs ---*/ static int dissect_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated(tvb, offset, &asn1_ctx, tree, hf_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AdditionLocationInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_AdditionLocationInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_AdditionLocationInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Additional_PDCP_Duplication_TNL_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Additional_PDCP_Duplication_TNL_List(tvb, offset, &asn1_ctx, tree, hf_xnap_Additional_PDCP_Duplication_TNL_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Additional_UL_NG_U_TNLatUPF_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Additional_UL_NG_U_TNLatUPF_List(tvb, offset, &asn1_ctx, tree, hf_xnap_Additional_UL_NG_U_TNLatUPF_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Additional_Measurement_Timing_Configuration_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Additional_Measurement_Timing_Configuration_List(tvb, offset, &asn1_ctx, tree, hf_xnap_Additional_Measurement_Timing_Configuration_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ActivationIDforCellActivation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ActivationIDforCellActivation(tvb, offset, &asn1_ctx, tree, hf_xnap_ActivationIDforCellActivation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AlternativeQoSParaSetList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_AlternativeQoSParaSetList(tvb, offset, &asn1_ctx, tree, hf_xnap_AlternativeQoSParaSetList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AMF_Region_Information_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_AMF_Region_Information(tvb, offset, &asn1_ctx, tree, hf_xnap_AMF_Region_Information_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AssistanceDataForRANPaging_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_AssistanceDataForRANPaging(tvb, offset, &asn1_ctx, tree, hf_xnap_AssistanceDataForRANPaging_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BeamMeasurementIndicationM1_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_BeamMeasurementIndicationM1(tvb, offset, &asn1_ctx, tree, hf_xnap_BeamMeasurementIndicationM1_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BeamMeasurementsReportConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_BeamMeasurementsReportConfiguration(tvb, offset, &asn1_ctx, tree, hf_xnap_BeamMeasurementsReportConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BPLMN_ID_Info_EUTRA_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_BPLMN_ID_Info_EUTRA(tvb, offset, &asn1_ctx, tree, hf_xnap_BPLMN_ID_Info_EUTRA_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BPLMN_ID_Info_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_BPLMN_ID_Info_NR(tvb, offset, &asn1_ctx, tree, hf_xnap_BPLMN_ID_Info_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BitRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_BitRate(tvb, offset, &asn1_ctx, tree, hf_xnap_BitRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Cause(tvb, offset, &asn1_ctx, tree, hf_xnap_Cause_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellAssistanceInfo_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellAssistanceInfo_NR(tvb, offset, &asn1_ctx, tree, hf_xnap_CellAssistanceInfo_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellAndCapacityAssistanceInfo_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellAndCapacityAssistanceInfo_NR(tvb, offset, &asn1_ctx, tree, hf_xnap_CellAndCapacityAssistanceInfo_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellAndCapacityAssistanceInfo_EUTRA_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellAndCapacityAssistanceInfo_EUTRA(tvb, offset, &asn1_ctx, tree, hf_xnap_CellAndCapacityAssistanceInfo_EUTRA_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellAssistanceInfo_EUTRA_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellAssistanceInfo_EUTRA(tvb, offset, &asn1_ctx, tree, hf_xnap_CellAssistanceInfo_EUTRA_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellMeasurementResult_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellMeasurementResult(tvb, offset, &asn1_ctx, tree, hf_xnap_CellMeasurementResult_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellToReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellToReport(tvb, offset, &asn1_ctx, tree, hf_xnap_CellToReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CHOConfiguration(tvb, offset, &asn1_ctx, tree, hf_xnap_CHOConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CompositeAvailableCapacity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CompositeAvailableCapacity(tvb, offset, &asn1_ctx, tree, hf_xnap_CompositeAvailableCapacity_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHO_MRDC_EarlyDataForwarding_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CHO_MRDC_EarlyDataForwarding(tvb, offset, &asn1_ctx, tree, hf_xnap_CHO_MRDC_EarlyDataForwarding_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHO_MRDC_Indicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CHO_MRDC_Indicator(tvb, offset, &asn1_ctx, tree, hf_xnap_CHO_MRDC_Indicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOinformation_Req_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CHOinformation_Req(tvb, offset, &asn1_ctx, tree, hf_xnap_CHOinformation_Req_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOinformation_Ack_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CHOinformation_Ack(tvb, offset, &asn1_ctx, tree, hf_xnap_CHOinformation_Ack_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOinformation_AddReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CHOinformation_AddReq(tvb, offset, &asn1_ctx, tree, hf_xnap_CHOinformation_AddReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CHOinformation_ModReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CHOinformation_ModReq(tvb, offset, &asn1_ctx, tree, hf_xnap_CHOinformation_ModReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ConfiguredTACIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ConfiguredTACIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_ConfiguredTACIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CoverageModificationCause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CoverageModificationCause(tvb, offset, &asn1_ctx, tree, hf_xnap_CoverageModificationCause_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Coverage_Modification_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Coverage_Modification_List(tvb, offset, &asn1_ctx, tree, hf_xnap_Coverage_Modification_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPAInformationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPAInformationRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_CPAInformationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPAInformationAck_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPAInformationAck(tvb, offset, &asn1_ctx, tree, hf_xnap_CPAInformationAck_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPCInformationRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPCInformationRequired(tvb, offset, &asn1_ctx, tree, hf_xnap_CPCInformationRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPCInformationConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPCInformationConfirm(tvb, offset, &asn1_ctx, tree, hf_xnap_CPCInformationConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPAInformationModReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPAInformationModReq(tvb, offset, &asn1_ctx, tree, hf_xnap_CPAInformationModReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPAInformationModReqAck_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPAInformationModReqAck(tvb, offset, &asn1_ctx, tree, hf_xnap_CPAInformationModReqAck_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPC_DataForwarding_Indicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPC_DataForwarding_Indicator(tvb, offset, &asn1_ctx, tree, hf_xnap_CPC_DataForwarding_Indicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPACInformationModRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPACInformationModRequired(tvb, offset, &asn1_ctx, tree, hf_xnap_CPACInformationModRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPCInformationUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPCInformationUpdate(tvb, offset, &asn1_ctx, tree, hf_xnap_CPCInformationUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CriticalityDiagnostics_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CriticalityDiagnostics(tvb, offset, &asn1_ctx, tree, hf_xnap_CriticalityDiagnostics_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_C_RNTI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_C_RNTI(tvb, offset, &asn1_ctx, tree, hf_xnap_C_RNTI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CSI_RSTransmissionIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CSI_RSTransmissionIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_CSI_RSTransmissionIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnUAddressInfoperPDUSession_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnUAddressInfoperPDUSession_List(tvb, offset, &asn1_ctx, tree, hf_xnap_XnUAddressInfoperPDUSession_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DataForwardingInfoFromTargetE_UTRANnode_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DataForwardingInfoFromTargetE_UTRANnode(tvb, offset, &asn1_ctx, tree, hf_xnap_DataForwardingInfoFromTargetE_UTRANnode_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DAPSRequestInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DAPSRequestInfo(tvb, offset, &asn1_ctx, tree, hf_xnap_DAPSRequestInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DAPSResponseInfo_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DAPSResponseInfo_List(tvb, offset, &asn1_ctx, tree, hf_xnap_DAPSResponseInfo_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DesiredActNotificationLevel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DesiredActNotificationLevel(tvb, offset, &asn1_ctx, tree, hf_xnap_DesiredActNotificationLevel_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DefaultDRB_Allowed_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DefaultDRB_Allowed(tvb, offset, &asn1_ctx, tree, hf_xnap_DefaultDRB_Allowed_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DirectForwardingPathAvailability_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DirectForwardingPathAvailability(tvb, offset, &asn1_ctx, tree, hf_xnap_DirectForwardingPathAvailability_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DRB_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DRB_List(tvb, offset, &asn1_ctx, tree, hf_xnap_DRB_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DRB_List_withCause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DRB_List_withCause(tvb, offset, &asn1_ctx, tree, hf_xnap_DRB_List_withCause_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DRB_Number_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DRB_Number(tvb, offset, &asn1_ctx, tree, hf_xnap_DRB_Number_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DRBsSubjectToStatusTransfer_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DRBsSubjectToStatusTransfer_List(tvb, offset, &asn1_ctx, tree, hf_xnap_DRBsSubjectToStatusTransfer_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DuplicationActivation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DuplicationActivation(tvb, offset, &asn1_ctx, tree, hf_xnap_DuplicationActivation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EarlyMeasurement_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_EarlyMeasurement(tvb, offset, &asn1_ctx, tree, hf_xnap_EarlyMeasurement_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EUTRAPagingeDRXInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_EUTRAPagingeDRXInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_EUTRAPagingeDRXInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EndpointIPAddressAndPort_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_EndpointIPAddressAndPort(tvb, offset, &asn1_ctx, tree, hf_xnap_EndpointIPAddressAndPort_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExcessPacketDelayThresholdConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ExcessPacketDelayThresholdConfiguration(tvb, offset, &asn1_ctx, tree, hf_xnap_ExcessPacketDelayThresholdConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExpectedUEActivityBehaviour_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ExpectedUEActivityBehaviour(tvb, offset, &asn1_ctx, tree, hf_xnap_ExpectedUEActivityBehaviour_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExpectedUEBehaviour_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ExpectedUEBehaviour(tvb, offset, &asn1_ctx, tree, hf_xnap_ExpectedUEBehaviour_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExtendedRATRestrictionInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ExtendedRATRestrictionInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_ExtendedRATRestrictionInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExtendedPacketDelayBudget_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ExtendedPacketDelayBudget(tvb, offset, &asn1_ctx, tree, hf_xnap_ExtendedPacketDelayBudget_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExtendedSliceSupportList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ExtendedSliceSupportList(tvb, offset, &asn1_ctx, tree, hf_xnap_ExtendedSliceSupportList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExtendedUEIdentityIndexValue_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ExtendedUEIdentityIndexValue(tvb, offset, &asn1_ctx, tree, hf_xnap_ExtendedUEIdentityIndexValue_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_F1CTrafficContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_F1CTrafficContainer(tvb, offset, &asn1_ctx, tree, hf_xnap_F1CTrafficContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_F1_terminatingIAB_donorIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_F1_terminatingIAB_donorIndicator(tvb, offset, &asn1_ctx, tree, hf_xnap_F1_terminatingIAB_donorIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FiveGCMobilityRestrictionListContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_FiveGCMobilityRestrictionListContainer(tvb, offset, &asn1_ctx, tree, hf_xnap_FiveGCMobilityRestrictionListContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FiveGProSeAuthorized_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_FiveGProSeAuthorized(tvb, offset, &asn1_ctx, tree, hf_xnap_FiveGProSeAuthorized_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FiveGProSePC5QoSParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_FiveGProSePC5QoSParameters(tvb, offset, &asn1_ctx, tree, hf_xnap_FiveGProSePC5QoSParameters_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FrequencyShift7p5khz_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_FrequencyShift7p5khz(tvb, offset, &asn1_ctx, tree, hf_xnap_FrequencyShift7p5khz_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GNB_DU_Cell_Resource_Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_GNB_DU_Cell_Resource_Configuration(tvb, offset, &asn1_ctx, tree, hf_xnap_GNB_DU_Cell_Resource_Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GlobalCell_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_GlobalCell_ID(tvb, offset, &asn1_ctx, tree, hf_xnap_GlobalCell_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GlobalNG_RANCell_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_GlobalNG_RANCell_ID(tvb, offset, &asn1_ctx, tree, hf_xnap_GlobalNG_RANCell_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GlobalNG_RANNode_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_GlobalNG_RANNode_ID(tvb, offset, &asn1_ctx, tree, hf_xnap_GlobalNG_RANNode_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_GUAMI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_GUAMI(tvb, offset, &asn1_ctx, tree, hf_xnap_GUAMI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverReportType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_HandoverReportType(tvb, offset, &asn1_ctx, tree, hf_xnap_HandoverReportType_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HashedUEIdentityIndexValue_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_HashedUEIdentityIndexValue(tvb, offset, &asn1_ctx, tree, hf_xnap_HashedUEIdentityIndexValue_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABNodeIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABNodeIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_IABNodeIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IAB_TNL_Address_Request_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IAB_TNL_Address_Request(tvb, offset, &asn1_ctx, tree, hf_xnap_IAB_TNL_Address_Request_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IAB_TNL_Address_Response_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IAB_TNL_Address_Response(tvb, offset, &asn1_ctx, tree, hf_xnap_IAB_TNL_Address_Response_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABTNLAddressException_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABTNLAddressException(tvb, offset, &asn1_ctx, tree, hf_xnap_IABTNLAddressException_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InitiatingCondition_FailureIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_InitiatingCondition_FailureIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_InitiatingCondition_FailureIndication_PDU); offset += 7; offset >>= 3; return offset; } int dissect_xnap_IntendedTDD_DL_ULConfiguration_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IntendedTDD_DL_ULConfiguration_NR(tvb, offset, &asn1_ctx, tree, hf_xnap_xnap_IntendedTDD_DL_ULConfiguration_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InterfaceInstanceIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_InterfaceInstanceIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_InterfaceInstanceIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Local_NG_RAN_Node_Identifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Local_NG_RAN_Node_Identifier(tvb, offset, &asn1_ctx, tree, hf_xnap_Local_NG_RAN_Node_Identifier_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGUEHistoryInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SCGUEHistoryInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_SCGUEHistoryInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LocationInformationSNReporting_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_LocationInformationSNReporting(tvb, offset, &asn1_ctx, tree, hf_xnap_LocationInformationSNReporting_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LocationReportingInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_LocationReportingInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_LocationReportingInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LTEV2XServicesAuthorized_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_LTEV2XServicesAuthorized(tvb, offset, &asn1_ctx, tree, hf_xnap_LTEV2XServicesAuthorized_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_LTEUESidelinkAggregateMaximumBitRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_LTEUESidelinkAggregateMaximumBitRate(tvb, offset, &asn1_ctx, tree, hf_xnap_LTEUESidelinkAggregateMaximumBitRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M4ReportAmountMDT_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_M4ReportAmountMDT(tvb, offset, &asn1_ctx, tree, hf_xnap_M4ReportAmountMDT_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M5ReportAmountMDT_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_M5ReportAmountMDT(tvb, offset, &asn1_ctx, tree, hf_xnap_M5ReportAmountMDT_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M6ReportAmountMDT_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_M6ReportAmountMDT(tvb, offset, &asn1_ctx, tree, hf_xnap_M6ReportAmountMDT_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_M7ReportAmountMDT_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_M7ReportAmountMDT(tvb, offset, &asn1_ctx, tree, hf_xnap_M7ReportAmountMDT_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MAC_I_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MAC_I(tvb, offset, &asn1_ctx, tree, hf_xnap_MAC_I_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MaskedIMEISV_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MaskedIMEISV(tvb, offset, &asn1_ctx, tree, hf_xnap_MaskedIMEISV_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MaxIPrate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MaxIPrate(tvb, offset, &asn1_ctx, tree, hf_xnap_MaxIPrate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MBS_Session_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MBS_Session_ID(tvb, offset, &asn1_ctx, tree, hf_xnap_MBS_Session_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MBS_SessionAssociatedInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MBS_SessionAssociatedInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_MBS_SessionAssociatedInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MBS_SessionInformation_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MBS_SessionInformation_List(tvb, offset, &asn1_ctx, tree, hf_xnap_MBS_SessionInformation_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MBS_SessionInformationResponse_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MBS_SessionInformationResponse_List(tvb, offset, &asn1_ctx, tree, hf_xnap_MBS_SessionInformationResponse_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MDT_Configuration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MDT_Configuration(tvb, offset, &asn1_ctx, tree, hf_xnap_MDT_Configuration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MDTPLMNList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MDTPLMNList(tvb, offset, &asn1_ctx, tree, hf_xnap_MDTPLMNList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MDTPLMNModificationList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MDTPLMNModificationList(tvb, offset, &asn1_ctx, tree, hf_xnap_MDTPLMNModificationList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Measurement_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Measurement_ID(tvb, offset, &asn1_ctx, tree, hf_xnap_Measurement_ID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MIMOPRBusageInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MIMOPRBusageInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_MIMOPRBusageInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MobilityInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_MobilityInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityParametersModificationRange_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MobilityParametersModificationRange(tvb, offset, &asn1_ctx, tree, hf_xnap_MobilityParametersModificationRange_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityParametersInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MobilityParametersInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_MobilityParametersInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityRestrictionList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MobilityRestrictionList(tvb, offset, &asn1_ctx, tree, hf_xnap_MobilityRestrictionList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CNTypeRestrictionsForEquivalent_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CNTypeRestrictionsForEquivalent(tvb, offset, &asn1_ctx, tree, hf_xnap_CNTypeRestrictionsForEquivalent_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CNTypeRestrictionsForServing_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CNTypeRestrictionsForServing(tvb, offset, &asn1_ctx, tree, hf_xnap_CNTypeRestrictionsForServing_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MR_DC_ResourceCoordinationInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MR_DC_ResourceCoordinationInfo(tvb, offset, &asn1_ctx, tree, hf_xnap_MR_DC_ResourceCoordinationInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MessageOversizeNotification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MessageOversizeNotification(tvb, offset, &asn1_ctx, tree, hf_xnap_MessageOversizeNotification_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NBIoT_UL_DL_AlignmentOffset_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NBIoT_UL_DL_AlignmentOffset(tvb, offset, &asn1_ctx, tree, hf_xnap_NBIoT_UL_DL_AlignmentOffset_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NE_DC_TDM_Pattern_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NE_DC_TDM_Pattern(tvb, offset, &asn1_ctx, tree, hf_xnap_NE_DC_TDM_Pattern_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Neighbour_NG_RAN_Node_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Neighbour_NG_RAN_Node_List(tvb, offset, &asn1_ctx, tree, hf_xnap_Neighbour_NG_RAN_Node_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRCarrierList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NRCarrierList(tvb, offset, &asn1_ctx, tree, hf_xnap_NRCarrierList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRCellPRACHConfig_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NRCellPRACHConfig(tvb, offset, &asn1_ctx, tree, hf_xnap_NRCellPRACHConfig_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NG_RAN_Cell_Identity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NG_RAN_Cell_Identity(tvb, offset, &asn1_ctx, tree, hf_xnap_NG_RAN_Cell_Identity_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NG_RANnode2SSBOffsetsModificationRange_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NG_RANnode2SSBOffsetsModificationRange(tvb, offset, &asn1_ctx, tree, hf_xnap_NG_RANnode2SSBOffsetsModificationRange_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NG_RANnodeUEXnAPID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NG_RANnodeUEXnAPID(tvb, offset, &asn1_ctx, tree, hf_xnap_NG_RANnodeUEXnAPID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DL_scheduling_PDCCH_CCE_usage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DL_scheduling_PDCCH_CCE_usage(tvb, offset, &asn1_ctx, tree, hf_xnap_DL_scheduling_PDCCH_CCE_usage_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UL_scheduling_PDCCH_CCE_usage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UL_scheduling_PDCCH_CCE_usage(tvb, offset, &asn1_ctx, tree, hf_xnap_UL_scheduling_PDCCH_CCE_usage_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NoPDUSessionIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NoPDUSessionIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_NoPDUSessionIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NPN_Broadcast_Information_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NPN_Broadcast_Information(tvb, offset, &asn1_ctx, tree, hf_xnap_NPN_Broadcast_Information_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NPNMobilityInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NPNMobilityInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_NPNMobilityInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NPNPagingAssistanceInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NPNPagingAssistanceInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_NPNPagingAssistanceInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NPN_Support_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NPN_Support(tvb, offset, &asn1_ctx, tree, hf_xnap_NPN_Support_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NPRACHConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NPRACHConfiguration(tvb, offset, &asn1_ctx, tree, hf_xnap_NPRACHConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NR_U_Channel_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NR_U_Channel_List(tvb, offset, &asn1_ctx, tree, hf_xnap_NR_U_Channel_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NR_U_ChannelInfo_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NR_U_ChannelInfo_List(tvb, offset, &asn1_ctx, tree, hf_xnap_NR_U_ChannelInfo_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRPagingeDRXInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NRPagingeDRXInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_NRPagingeDRXInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRPagingeDRXInformationforRRCINACTIVE_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NRPagingeDRXInformationforRRCINACTIVE(tvb, offset, &asn1_ctx, tree, hf_xnap_NRPagingeDRXInformationforRRCINACTIVE_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NG_RANTraceID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NG_RANTraceID(tvb, offset, &asn1_ctx, tree, hf_xnap_NG_RANTraceID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NonGBRResources_Offered_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NonGBRResources_Offered(tvb, offset, &asn1_ctx, tree, hf_xnap_NonGBRResources_Offered_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRV2XServicesAuthorized_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NRV2XServicesAuthorized(tvb, offset, &asn1_ctx, tree, hf_xnap_NRV2XServicesAuthorized_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NRUESidelinkAggregateMaximumBitRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NRUESidelinkAggregateMaximumBitRate(tvb, offset, &asn1_ctx, tree, hf_xnap_NRUESidelinkAggregateMaximumBitRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_OffsetOfNbiotChannelNumberToEARFCN_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_OffsetOfNbiotChannelNumberToEARFCN(tvb, offset, &asn1_ctx, tree, hf_xnap_OffsetOfNbiotChannelNumberToEARFCN_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PositioningInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PositioningInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_PositioningInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PagingCause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PagingCause(tvb, offset, &asn1_ctx, tree, hf_xnap_PagingCause_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PEIPSassistanceInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PEIPSassistanceInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_PEIPSassistanceInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PagingDRX_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PagingDRX(tvb, offset, &asn1_ctx, tree, hf_xnap_PagingDRX_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PagingPriority_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PagingPriority(tvb, offset, &asn1_ctx, tree, hf_xnap_PagingPriority_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PartialListIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PartialListIndicator(tvb, offset, &asn1_ctx, tree, hf_xnap_PartialListIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PC5QoSParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PC5QoSParameters(tvb, offset, &asn1_ctx, tree, hf_xnap_PC5QoSParameters_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDCPChangeIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDCPChangeIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_PDCPChangeIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDCPDuplicationConfiguration_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDCPDuplicationConfiguration(tvb, offset, &asn1_ctx, tree, hf_xnap_PDCPDuplicationConfiguration_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSession_List_withCause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSession_List_withCause(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSession_List_withCause_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionResourcesAdmitted_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionResourcesAdmitted_List(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionResourcesAdmitted_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionResourcesNotAdmitted_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionResourcesNotAdmitted_List(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionResourcesNotAdmitted_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated(tvb, offset, &asn1_ctx, tree, hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionResourceSecondaryRATUsageList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionResourceSecondaryRATUsageList(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionResourceSecondaryRATUsageList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionCommonNetworkInstance_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionCommonNetworkInstance(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionCommonNetworkInstance_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSession_PairID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSession_PairID(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSession_PairID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Permutation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Permutation(tvb, offset, &asn1_ctx, tree, hf_xnap_Permutation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PLMN_Identity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PLMN_Identity(tvb, offset, &asn1_ctx, tree, hf_xnap_PLMN_Identity_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PrivacyIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PrivacyIndicator(tvb, offset, &asn1_ctx, tree, hf_xnap_PrivacyIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PSCellChangeHistory_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PSCellChangeHistory(tvb, offset, &asn1_ctx, tree, hf_xnap_PSCellChangeHistory_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PSCellHistoryInformationRetrieve_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PSCellHistoryInformationRetrieve(tvb, offset, &asn1_ctx, tree, hf_xnap_PSCellHistoryInformationRetrieve_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QMCConfigInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_QMCConfigInfo(tvb, offset, &asn1_ctx, tree, hf_xnap_QMCConfigInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QoSFlows_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_QoSFlows_List(tvb, offset, &asn1_ctx, tree, hf_xnap_QoSFlows_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QoS_Mapping_Information_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_QoS_Mapping_Information(tvb, offset, &asn1_ctx, tree, hf_xnap_QoS_Mapping_Information_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QoSParaSetNotifyIndex_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_QoSParaSetNotifyIndex(tvb, offset, &asn1_ctx, tree, hf_xnap_QoSParaSetNotifyIndex_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QosMonitoringRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_QosMonitoringRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_QosMonitoringRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QoSMonitoringDisabled_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_QoSMonitoringDisabled(tvb, offset, &asn1_ctx, tree, hf_xnap_QoSMonitoringDisabled_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_QosMonitoringReportingFrequency_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_QosMonitoringReportingFrequency(tvb, offset, &asn1_ctx, tree, hf_xnap_QosMonitoringReportingFrequency_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RACHReportInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RACHReportInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_RACHReportInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RANPagingArea_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RANPagingArea(tvb, offset, &asn1_ctx, tree, hf_xnap_RANPagingArea_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RANPagingFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RANPagingFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_RANPagingFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Redcap_Bcast_Information_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Redcap_Bcast_Information(tvb, offset, &asn1_ctx, tree, hf_xnap_Redcap_Bcast_Information_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RedundantQoSFlowIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RedundantQoSFlowIndicator(tvb, offset, &asn1_ctx, tree, hf_xnap_RedundantQoSFlowIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RedundantPDUSessionInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RedundantPDUSessionInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_RedundantPDUSessionInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ExtendedReportIntervalMDT_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ExtendedReportIntervalMDT(tvb, offset, &asn1_ctx, tree, hf_xnap_ExtendedReportIntervalMDT_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReportCharacteristics_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ReportCharacteristics(tvb, offset, &asn1_ctx, tree, hf_xnap_ReportCharacteristics_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReportingPeriodicity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ReportingPeriodicity(tvb, offset, &asn1_ctx, tree, hf_xnap_ReportingPeriodicity_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RegistrationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RegistrationRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_RegistrationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResetRequestTypeInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResetRequestTypeInfo(tvb, offset, &asn1_ctx, tree, hf_xnap_ResetRequestTypeInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResetResponseTypeInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResetResponseTypeInfo(tvb, offset, &asn1_ctx, tree, hf_xnap_ResetResponseTypeInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RLCDuplicationInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RLCDuplicationInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_RLCDuplicationInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RFSP_Index_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RFSP_Index(tvb, offset, &asn1_ctx, tree, hf_xnap_RFSP_Index_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RRCConfigIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RRCConfigIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_RRCConfigIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RRCConnReestab_Indicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RRCConnReestab_Indicator(tvb, offset, &asn1_ctx, tree, hf_xnap_RRCConnReestab_Indicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RRCResumeCause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RRCResumeCause(tvb, offset, &asn1_ctx, tree, hf_xnap_RRCResumeCause_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGreconfigNotification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SCGreconfigNotification(tvb, offset, &asn1_ctx, tree, hf_xnap_SCGreconfigNotification_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecondarydataForwardingInfoFromTarget_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SecondarydataForwardingInfoFromTarget_List(tvb, offset, &asn1_ctx, tree, hf_xnap_SecondarydataForwardingInfoFromTarget_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGActivationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SCGActivationRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_SCGActivationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGActivationStatus_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SCGActivationStatus(tvb, offset, &asn1_ctx, tree, hf_xnap_SCGActivationStatus_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGConfigurationQuery_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SCGConfigurationQuery(tvb, offset, &asn1_ctx, tree, hf_xnap_SCGConfigurationQuery_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SCGIndicator(tvb, offset, &asn1_ctx, tree, hf_xnap_SCGIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SCGFailureReportContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SCGFailureReportContainer(tvb, offset, &asn1_ctx, tree, hf_xnap_SCGFailureReportContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SDTSupportRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SDTSupportRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_SDTSupportRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SDT_Termination_Request_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SDT_Termination_Request(tvb, offset, &asn1_ctx, tree, hf_xnap_SDT_Termination_Request_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SDTPartialUEContextInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SDTPartialUEContextInfo(tvb, offset, &asn1_ctx, tree, hf_xnap_SDTPartialUEContextInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SDTDataForwardingDRBList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SDTDataForwardingDRBList(tvb, offset, &asn1_ctx, tree, hf_xnap_SDTDataForwardingDRBList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecurityIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SecurityIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_SecurityIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecurityResult_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SecurityResult(tvb, offset, &asn1_ctx, tree, hf_xnap_SecurityResult_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCells_E_UTRA_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ServedCells_E_UTRA(tvb, offset, &asn1_ctx, tree, hf_xnap_ServedCells_E_UTRA_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCellsToUpdate_E_UTRA_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ServedCellsToUpdate_E_UTRA(tvb, offset, &asn1_ctx, tree, hf_xnap_ServedCellsToUpdate_E_UTRA_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SFN_Offset_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SFN_Offset(tvb, offset, &asn1_ctx, tree, hf_xnap_SFN_Offset_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCells_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ServedCells_NR(tvb, offset, &asn1_ctx, tree, hf_xnap_ServedCells_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCellSpecificInfoReq_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ServedCellSpecificInfoReq_NR(tvb, offset, &asn1_ctx, tree, hf_xnap_ServedCellSpecificInfoReq_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCellsToUpdate_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ServedCellsToUpdate_NR(tvb, offset, &asn1_ctx, tree, hf_xnap_ServedCellsToUpdate_NR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SliceRadioResourceStatus_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SliceRadioResourceStatus_List(tvb, offset, &asn1_ctx, tree, hf_xnap_SliceRadioResourceStatus_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_S_NG_RANnode_SecurityKey_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_S_NG_RANnode_SecurityKey(tvb, offset, &asn1_ctx, tree, hf_xnap_S_NG_RANnode_SecurityKey_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_S_NG_RANnode_Addition_Trigger_Ind_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_S_NG_RANnode_Addition_Trigger_Ind(tvb, offset, &asn1_ctx, tree, hf_xnap_S_NG_RANnode_Addition_Trigger_Ind_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_S_NSSAI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_S_NSSAI(tvb, offset, &asn1_ctx, tree, hf_xnap_S_NSSAI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNMobilityInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNMobilityInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_SNMobilityInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNTriggered_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNTriggered(tvb, offset, &asn1_ctx, tree, hf_xnap_SNTriggered_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SplitSessionIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SplitSessionIndicator(tvb, offset, &asn1_ctx, tree, hf_xnap_SplitSessionIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SplitSRBsTypes_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SplitSRBsTypes(tvb, offset, &asn1_ctx, tree, hf_xnap_SplitSRBsTypes_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SSB_PositionsInBurst_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SSB_PositionsInBurst(tvb, offset, &asn1_ctx, tree, hf_xnap_SSB_PositionsInBurst_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SSBOffsets_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SSBOffsets_List(tvb, offset, &asn1_ctx, tree, hf_xnap_SSBOffsets_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SuccessfulHOReportInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SuccessfulHOReportInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_SuccessfulHOReportInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Supported_MBS_FSA_ID_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Supported_MBS_FSA_ID_List(tvb, offset, &asn1_ctx, tree, hf_xnap_Supported_MBS_FSA_ID_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SurvivalTime_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SurvivalTime(tvb, offset, &asn1_ctx, tree, hf_xnap_SurvivalTime_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TAINSAGSupportList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TAINSAGSupportList(tvb, offset, &asn1_ctx, tree, hf_xnap_TAINSAGSupportList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TAISupport_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TAISupport_List(tvb, offset, &asn1_ctx, tree, hf_xnap_TAISupport_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TargetCellinEUTRAN_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TargetCellinEUTRAN(tvb, offset, &asn1_ctx, tree, hf_xnap_TargetCellinEUTRAN_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Target_CGI_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Target_CGI(tvb, offset, &asn1_ctx, tree, hf_xnap_Target_CGI_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TDDULDLConfigurationCommonNR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TDDULDLConfigurationCommonNR(tvb, offset, &asn1_ctx, tree, hf_xnap_TDDULDLConfigurationCommonNR_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TargetCellList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TargetCellList(tvb, offset, &asn1_ctx, tree, hf_xnap_TargetCellList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TimeSynchronizationAssistanceInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TimeSynchronizationAssistanceInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_TimeSynchronizationAssistanceInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TimeToWait_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TimeToWait(tvb, offset, &asn1_ctx, tree, hf_xnap_TimeToWait_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLConfigurationInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TNLConfigurationInfo(tvb, offset, &asn1_ctx, tree, hf_xnap_TNLConfigurationInfo_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_To_Add_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TNLA_To_Add_List(tvb, offset, &asn1_ctx, tree, hf_xnap_TNLA_To_Add_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_To_Update_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TNLA_To_Update_List(tvb, offset, &asn1_ctx, tree, hf_xnap_TNLA_To_Update_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_To_Remove_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TNLA_To_Remove_List(tvb, offset, &asn1_ctx, tree, hf_xnap_TNLA_To_Remove_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_Setup_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TNLA_Setup_List(tvb, offset, &asn1_ctx, tree, hf_xnap_TNLA_Setup_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TNLA_Failed_To_Setup_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TNLA_Failed_To_Setup_List(tvb, offset, &asn1_ctx, tree, hf_xnap_TNLA_Failed_To_Setup_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TransportLayerAddress_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TransportLayerAddress(tvb, offset, &asn1_ctx, tree, hf_xnap_TransportLayerAddress_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TraceActivation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TraceActivation(tvb, offset, &asn1_ctx, tree, hf_xnap_TraceActivation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficToBeReleaseInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficToBeReleaseInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficToBeReleaseInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TSCTrafficCharacteristics_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TSCTrafficCharacteristics(tvb, offset, &asn1_ctx, tree, hf_xnap_TSCTrafficCharacteristics_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEAggregateMaximumBitRate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEAggregateMaximumBitRate(tvb, offset, &asn1_ctx, tree, hf_xnap_UEAggregateMaximumBitRate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEContextKeptIndicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEContextKeptIndicator(tvb, offset, &asn1_ctx, tree, hf_xnap_UEContextKeptIndicator_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEContextID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEContextID(tvb, offset, &asn1_ctx, tree, hf_xnap_UEContextID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEContextInfoRetrUECtxtResp_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEContextInfoRetrUECtxtResp(tvb, offset, &asn1_ctx, tree, hf_xnap_UEContextInfoRetrUECtxtResp_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEHistoryInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEHistoryInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_UEHistoryInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEHistoryInformationFromTheUE_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEHistoryInformationFromTheUE(tvb, offset, &asn1_ctx, tree, hf_xnap_UEHistoryInformationFromTheUE_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEIdentityIndexValue_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEIdentityIndexValue(tvb, offset, &asn1_ctx, tree, hf_xnap_UEIdentityIndexValue_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEIdentityIndexList_MBSGroupPaging_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEIdentityIndexList_MBSGroupPaging(tvb, offset, &asn1_ctx, tree, hf_xnap_UEIdentityIndexList_MBSGroupPaging_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERadioCapabilityForPaging_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UERadioCapabilityForPaging(tvb, offset, &asn1_ctx, tree, hf_xnap_UERadioCapabilityForPaging_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERadioCapabilityID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UERadioCapabilityID(tvb, offset, &asn1_ctx, tree, hf_xnap_UERadioCapabilityID_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERANPagingIdentity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UERANPagingIdentity(tvb, offset, &asn1_ctx, tree, hf_xnap_UERANPagingIdentity_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERLFReportContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UERLFReportContainer(tvb, offset, &asn1_ctx, tree, hf_xnap_UERLFReportContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UERLFReportContainerLTEExtension_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UERLFReportContainerLTEExtension(tvb, offset, &asn1_ctx, tree, hf_xnap_UERLFReportContainerLTEExtension_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UESliceMaximumBitRateList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UESliceMaximumBitRateList(tvb, offset, &asn1_ctx, tree, hf_xnap_UESliceMaximumBitRateList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UESecurityCapabilities_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UESecurityCapabilities(tvb, offset, &asn1_ctx, tree, hf_xnap_UESecurityCapabilities_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UESpecificDRX_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UESpecificDRX(tvb, offset, &asn1_ctx, tree, hf_xnap_UESpecificDRX_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ULForwardingProposal_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ULForwardingProposal(tvb, offset, &asn1_ctx, tree, hf_xnap_ULForwardingProposal_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UPTransportLayerInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UPTransportLayerInformation(tvb, offset, &asn1_ctx, tree, hf_xnap_UPTransportLayerInformation_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UPTransportParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UPTransportParameters(tvb, offset, &asn1_ctx, tree, hf_xnap_UPTransportParameters_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UserPlaneTrafficActivityReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UserPlaneTrafficActivityReport(tvb, offset, &asn1_ctx, tree, hf_xnap_UserPlaneTrafficActivityReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_URIaddress_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_URIaddress(tvb, offset, &asn1_ctx, tree, hf_xnap_URIaddress_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnBenefitValue_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnBenefitValue(tvb, offset, &asn1_ctx, tree, hf_xnap_XnBenefitValue_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_HandoverRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_HandoverRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEContextInfoHORequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEContextInfoHORequest(tvb, offset, &asn1_ctx, tree, hf_xnap_UEContextInfoHORequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEContextRefAtSN_HORequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEContextRefAtSN_HORequest(tvb, offset, &asn1_ctx, tree, hf_xnap_UEContextRefAtSN_HORequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_HandoverRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_xnap_HandoverRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_Target2SourceNG_RANnodeTranspContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_Target2SourceNG_RANnodeTranspContainer(tvb, offset, &asn1_ctx, tree, hf_xnap_Target2SourceNG_RANnodeTranspContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverPreparationFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_HandoverPreparationFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_HandoverPreparationFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNStatusTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNStatusTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_SNStatusTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEContextRelease_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEContextRelease(tvb, offset, &asn1_ctx, tree, hf_xnap_UEContextRelease_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverCancel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_HandoverCancel(tvb, offset, &asn1_ctx, tree, hf_xnap_HandoverCancel_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverSuccess_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_HandoverSuccess(tvb, offset, &asn1_ctx, tree, hf_xnap_HandoverSuccess_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ConditionalHandoverCancel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ConditionalHandoverCancel(tvb, offset, &asn1_ctx, tree, hf_xnap_ConditionalHandoverCancel_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_EarlyStatusTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_EarlyStatusTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_EarlyStatusTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ProcedureStageChoice_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ProcedureStageChoice(tvb, offset, &asn1_ctx, tree, hf_xnap_ProcedureStageChoice_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RANPaging_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RANPaging(tvb, offset, &asn1_ctx, tree, hf_xnap_RANPaging_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RetrieveUEContextRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RetrieveUEContextRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_RetrieveUEContextRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RetrieveUEContextResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RetrieveUEContextResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_RetrieveUEContextResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RetrieveUEContextConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RetrieveUEContextConfirm(tvb, offset, &asn1_ctx, tree, hf_xnap_RetrieveUEContextConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RetrieveUEContextFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RetrieveUEContextFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_RetrieveUEContextFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_OldtoNewNG_RANnodeResumeContainer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_OldtoNewNG_RANnodeResumeContainer(tvb, offset, &asn1_ctx, tree, hf_xnap_OldtoNewNG_RANnodeResumeContainer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnUAddressIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnUAddressIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_XnUAddressIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeAdditionRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeAdditionRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeAdditionRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MN_to_SN_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MN_to_SN_Container(tvb, offset, &asn1_ctx, tree, hf_xnap_MN_to_SN_Container_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionToBeAddedAddReq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionToBeAddedAddReq(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionToBeAddedAddReq_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RequestedFastMCGRecoveryViaSRB3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RequestedFastMCGRecoveryViaSRB3(tvb, offset, &asn1_ctx, tree, hf_xnap_RequestedFastMCGRecoveryViaSRB3_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeAdditionRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeAdditionRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeAdditionRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SN_to_MN_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SN_to_MN_Container(tvb, offset, &asn1_ctx, tree, hf_xnap_SN_to_MN_Container_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionAdmittedAddedAddReqAck_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionAdmittedAddedAddReqAck(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionAdmittedAddedAddReqAck_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionNotAdmittedAddReqAck_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionNotAdmittedAddReqAck(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionNotAdmittedAddReqAck_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AvailableFastMCGRecoveryViaSRB3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_AvailableFastMCGRecoveryViaSRB3(tvb, offset, &asn1_ctx, tree, hf_xnap_AvailableFastMCGRecoveryViaSRB3_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeAdditionRequestReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeAdditionRequestReject(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeAdditionRequestReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeReconfigurationComplete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeReconfigurationComplete(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeReconfigurationComplete_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResponseInfo_ReconfCompl_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResponseInfo_ReconfCompl(tvb, offset, &asn1_ctx, tree, hf_xnap_ResponseInfo_ReconfCompl_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeModificationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeModificationRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeModificationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEContextInfo_SNModRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEContextInfo_SNModRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_UEContextInfo_SNModRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RequestedFastMCGRecoveryViaSRB3Release_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RequestedFastMCGRecoveryViaSRB3Release(tvb, offset, &asn1_ctx, tree, hf_xnap_RequestedFastMCGRecoveryViaSRB3Release_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeModificationRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeModificationRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeModificationRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionAdmitted_SNModResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionAdmitted_SNModResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionAdmitted_SNModResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionNotAdmitted_SNModResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionNotAdmitted_SNModResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionNotAdmitted_SNModResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionDataForwarding_SNModResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionDataForwarding_SNModResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionDataForwarding_SNModResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ReleaseFastMCGRecoveryViaSRB3_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ReleaseFastMCGRecoveryViaSRB3(tvb, offset, &asn1_ctx, tree, hf_xnap_ReleaseFastMCGRecoveryViaSRB3_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeModificationRequestReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeModificationRequestReject(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeModificationRequestReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeModificationRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeModificationRequired(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeModificationRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionToBeModifiedSNModRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionToBeModifiedSNModRequired(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionToBeModifiedSNModRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionToBeReleasedSNModRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionToBeReleasedSNModRequired(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionToBeReleasedSNModRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeModificationConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeModificationConfirm(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeModificationConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionAdmittedModSNModConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionAdmittedModSNModConfirm(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionAdmittedModSNModConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionReleasedSNModConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionReleasedSNModConfirm(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionReleasedSNModConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeModificationRefuse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeModificationRefuse(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeModificationRefuse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeReleaseRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeReleaseRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeReleaseRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeReleaseRequestAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeReleaseRequestAcknowledge(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeReleaseRequestAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionToBeReleasedList_RelReqAck_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionToBeReleasedList_RelReqAck(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionToBeReleasedList_RelReqAck_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeReleaseReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeReleaseReject(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeReleaseReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeReleaseRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeReleaseRequired(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeReleaseRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionToBeReleasedList_RelRqd_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionToBeReleasedList_RelRqd(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionToBeReleasedList_RelRqd_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeReleaseConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeReleaseConfirm(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeReleaseConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionReleasedList_RelConf_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionReleasedList_RelConf(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionReleasedList_RelConf_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeCounterCheckRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeCounterCheckRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeCounterCheckRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BearersSubjectToCounterCheck_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_BearersSubjectToCounterCheck_List(tvb, offset, &asn1_ctx, tree, hf_xnap_BearersSubjectToCounterCheck_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeChangeRequired_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeChangeRequired(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeChangeRequired_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSession_SNChangeRequired_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSession_SNChangeRequired_List(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSession_SNChangeRequired_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeChangeConfirm_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeChangeConfirm(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeChangeConfirm_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSession_SNChangeConfirm_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSession_SNChangeConfirm_List(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSession_SNChangeConfirm_List_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SNodeChangeRefuse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SNodeChangeRefuse(tvb, offset, &asn1_ctx, tree, hf_xnap_SNodeChangeRefuse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RRCTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RRCTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_RRCTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SplitSRB_RRCTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SplitSRB_RRCTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_SplitSRB_RRCTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_UEReportRRCTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_UEReportRRCTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_UEReportRRCTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FastMCGRecoveryRRCTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_FastMCGRecoveryRRCTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_FastMCGRecoveryRRCTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SDT_SRB_between_NewNode_OldNode_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SDT_SRB_between_NewNode_OldNode(tvb, offset, &asn1_ctx, tree, hf_xnap_SDT_SRB_between_NewNode_OldNode_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NotificationControlIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NotificationControlIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_NotificationControlIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionResourcesNotifyList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionResourcesNotifyList(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionResourcesNotifyList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ActivityNotification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ActivityNotification(tvb, offset, &asn1_ctx, tree, hf_xnap_ActivityNotification_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PDUSessionResourcesActivityNotifyList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PDUSessionResourcesActivityNotifyList(tvb, offset, &asn1_ctx, tree, hf_xnap_PDUSessionResourcesActivityNotifyList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnSetupRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnSetupRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_XnSetupRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnSetupResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnSetupResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_XnSetupResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnSetupFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnSetupFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_XnSetupFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NGRANNodeConfigurationUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NGRANNodeConfigurationUpdate(tvb, offset, &asn1_ctx, tree, hf_xnap_NGRANNodeConfigurationUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ConfigurationUpdateInitiatingNodeChoice_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ConfigurationUpdateInitiatingNodeChoice(tvb, offset, &asn1_ctx, tree, hf_xnap_ConfigurationUpdateInitiatingNodeChoice_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NGRANNodeConfigurationUpdateAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NGRANNodeConfigurationUpdateAcknowledge(tvb, offset, &asn1_ctx, tree, hf_xnap_NGRANNodeConfigurationUpdateAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RespondingNodeTypeConfigUpdateAck_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RespondingNodeTypeConfigUpdateAck(tvb, offset, &asn1_ctx, tree, hf_xnap_RespondingNodeTypeConfigUpdateAck_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_NGRANNodeConfigurationUpdateFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_NGRANNodeConfigurationUpdateFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_NGRANNodeConfigurationUpdateFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_UTRA_NR_CellResourceCoordinationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_E_UTRA_NR_CellResourceCoordinationRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_E_UTRA_NR_CellResourceCoordinationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_InitiatingNodeType_ResourceCoordRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_InitiatingNodeType_ResourceCoordRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_InitiatingNodeType_ResourceCoordRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_E_UTRA_NR_CellResourceCoordinationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_E_UTRA_NR_CellResourceCoordinationResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_E_UTRA_NR_CellResourceCoordinationResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RespondingNodeType_ResourceCoordResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RespondingNodeType_ResourceCoordResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_RespondingNodeType_ResourceCoordResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_SecondaryRATDataUsageReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_SecondaryRATDataUsageReport(tvb, offset, &asn1_ctx, tree, hf_xnap_SecondaryRATDataUsageReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnRemovalRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnRemovalRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_XnRemovalRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnRemovalResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnRemovalResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_XnRemovalResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnRemovalFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnRemovalFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_XnRemovalFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellActivationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellActivationRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_CellActivationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ServedCellsToActivate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ServedCellsToActivate(tvb, offset, &asn1_ctx, tree, hf_xnap_ServedCellsToActivate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellActivationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellActivationResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_CellActivationResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ActivatedServedCells_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ActivatedServedCells(tvb, offset, &asn1_ctx, tree, hf_xnap_ActivatedServedCells_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellActivationFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellActivationFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_CellActivationFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResetRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResetRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_ResetRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResetResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResetResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_ResetResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ErrorIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ErrorIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_ErrorIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PrivateMessage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PrivateMessage(tvb, offset, &asn1_ctx, tree, hf_xnap_PrivateMessage_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TraceStart_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TraceStart(tvb, offset, &asn1_ctx, tree, hf_xnap_TraceStart_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_DeactivateTrace_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_DeactivateTrace(tvb, offset, &asn1_ctx, tree, hf_xnap_DeactivateTrace_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_FailureIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_FailureIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_FailureIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_HandoverReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_HandoverReport(tvb, offset, &asn1_ctx, tree, hf_xnap_HandoverReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResourceStatusRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResourceStatusRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_ResourceStatusRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResourceStatusResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResourceStatusResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_ResourceStatusResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResourceStatusFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResourceStatusFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_ResourceStatusFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ResourceStatusUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ResourceStatusUpdate(tvb, offset, &asn1_ctx, tree, hf_xnap_ResourceStatusUpdate_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityChangeRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MobilityChangeRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_MobilityChangeRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityChangeAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MobilityChangeAcknowledge(tvb, offset, &asn1_ctx, tree, hf_xnap_MobilityChangeAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_MobilityChangeFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_MobilityChangeFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_MobilityChangeFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_AccessAndMobilityIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_AccessAndMobilityIndication(tvb, offset, &asn1_ctx, tree, hf_xnap_AccessAndMobilityIndication_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CellTrafficTrace_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CellTrafficTrace(tvb, offset, &asn1_ctx, tree, hf_xnap_CellTrafficTrace_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_RANMulticastGroupPaging_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_RANMulticastGroupPaging(tvb, offset, &asn1_ctx, tree, hf_xnap_RANMulticastGroupPaging_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ScgFailureInformationReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ScgFailureInformationReport(tvb, offset, &asn1_ctx, tree, hf_xnap_ScgFailureInformationReport_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ScgFailureTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ScgFailureTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_ScgFailureTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_F1CTrafficTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_F1CTrafficTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_F1CTrafficTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABTransportMigrationManagementRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABTransportMigrationManagementRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_IABTransportMigrationManagementRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficToBeAddedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficToBeAddedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficToBeAddedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficToBeModifiedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficToBeModifiedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficToBeModifiedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABTransportMigrationManagementResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABTransportMigrationManagementResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_IABTransportMigrationManagementResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficAddedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficAddedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficAddedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficModifiedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficModifiedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficModifiedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficNotAddedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficNotAddedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficNotAddedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficNotModifiedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficNotModifiedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficNotModifiedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficReleasedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficReleasedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficReleasedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABTransportMigrationManagementReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABTransportMigrationManagementReject(tvb, offset, &asn1_ctx, tree, hf_xnap_IABTransportMigrationManagementReject_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABTransportMigrationModificationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABTransportMigrationModificationRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_IABTransportMigrationModificationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficRequiredToBeModifiedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficRequiredToBeModifiedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficRequiredToBeModifiedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABTNLAddressToBeReleasedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABTNLAddressToBeReleasedList(tvb, offset, &asn1_ctx, tree, hf_xnap_IABTNLAddressToBeReleasedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABTransportMigrationModificationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABTransportMigrationModificationResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_IABTransportMigrationModificationResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_TrafficRequiredModifiedList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_TrafficRequiredModifiedList(tvb, offset, &asn1_ctx, tree, hf_xnap_TrafficRequiredModifiedList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABResourceCoordinationRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABResourceCoordinationRequest(tvb, offset, &asn1_ctx, tree, hf_xnap_IABResourceCoordinationRequest_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_BoundaryNodeCellsList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_BoundaryNodeCellsList(tvb, offset, &asn1_ctx, tree, hf_xnap_BoundaryNodeCellsList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ParentNodeCellsList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_ParentNodeCellsList(tvb, offset, &asn1_ctx, tree, hf_xnap_ParentNodeCellsList_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_IABResourceCoordinationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_IABResourceCoordinationResponse(tvb, offset, &asn1_ctx, tree, hf_xnap_IABResourceCoordinationResponse_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_CPCCancel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_CPCCancel(tvb, offset, &asn1_ctx, tree, hf_xnap_CPCCancel_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PartialUEContextTransfer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PartialUEContextTransfer(tvb, offset, &asn1_ctx, tree, hf_xnap_PartialUEContextTransfer_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PartialUEContextTransferAcknowledge_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PartialUEContextTransferAcknowledge(tvb, offset, &asn1_ctx, tree, hf_xnap_PartialUEContextTransferAcknowledge_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_PartialUEContextTransferFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_PartialUEContextTransferFailure(tvb, offset, &asn1_ctx, tree, hf_xnap_PartialUEContextTransferFailure_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_XnAP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_xnap_XnAP_PDU(tvb, offset, &asn1_ctx, tree, hf_xnap_XnAP_PDU_PDU); offset += 7; offset >>= 3; return offset; } static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(pinfo); return (dissector_try_uint_new(xnap_ies_dissector_table, xnap_data->protocol_ie_id, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(pinfo); return (dissector_try_uint_new(xnap_extension_dissector_table, xnap_data->protocol_ie_id, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(pinfo); return (dissector_try_uint_new(xnap_proc_imsg_dissector_table, xnap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(pinfo); return (dissector_try_uint_new(xnap_proc_sout_dissector_table, xnap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { struct xnap_private_data *xnap_data = xnap_get_private_data(pinfo); return (dissector_try_uint_new(xnap_proc_uout_dissector_table, xnap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_xnap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { proto_item *xnap_item; proto_tree *xnap_tree; conversation_t *conversation; struct xnap_private_data* xnap_data; col_set_str(pinfo->cinfo, COL_PROTOCOL, "XnAP"); col_clear_fence(pinfo->cinfo, COL_INFO); col_clear(pinfo->cinfo, COL_INFO); xnap_item = proto_tree_add_item(tree, proto_xnap, tvb, 0, -1, ENC_NA); xnap_tree = proto_item_add_subtree(xnap_item, ett_xnap); xnap_data = xnap_get_private_data(pinfo); conversation = find_or_create_conversation(pinfo); xnap_data->xnap_conv = (struct xnap_conv_info *)conversation_get_proto_data(conversation, proto_xnap); if (!xnap_data->xnap_conv) { xnap_data->xnap_conv = wmem_new0(wmem_file_scope(), struct xnap_conv_info); copy_address_wmem(wmem_file_scope(), &xnap_data->xnap_conv->addr_a, &pinfo->src); xnap_data->xnap_conv->port_a = pinfo->srcport; xnap_data->xnap_conv->ranmode_id_a = (GlobalNG_RANNode_ID_enum)-1; copy_address_wmem(wmem_file_scope(), &xnap_data->xnap_conv->addr_b, &pinfo->dst); xnap_data->xnap_conv->port_b = pinfo->destport; xnap_data->xnap_conv->ranmode_id_b = (GlobalNG_RANNode_ID_enum)-1; conversation_add_proto_data(conversation, proto_xnap, xnap_data->xnap_conv); } return dissect_XnAP_PDU_PDU(tvb, pinfo, xnap_tree, data); } void proto_register_xnap(void) { /* List of fields */ static hf_register_info hf[] = { { &hf_xnap_transportLayerAddressIPv4, { "TransportLayerAddress (IPv4)", "xnap.TransportLayerAddressIPv4", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_transportLayerAddressIPv6, { "TransportLayerAddress (IPv6)", "xnap.TransportLayerAddressIPv6", FT_IPv6, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NG_RANTraceID_TraceID, { "TraceID", "xnap.NG_RANTraceID.TraceID", FT_UINT24, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_NG_RANTraceID_TraceRecordingSessionReference, { "TraceRecordingSessionReference", "xnap.NG_RANTraceID.TraceRecordingSessionReference", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_primaryRATRestriction_e_UTRA, { "e-UTRA", "xnap.primaryRATRestriction.e_UTRA", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x80, NULL, HFILL }}, { &hf_xnap_primaryRATRestriction_nR, { "nR", "xnap.primaryRATRestriction.nR", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x40, NULL, HFILL }}, { &hf_xnap_primaryRATRestriction_nR_unlicensed, { "nR-unlicensed", "xnap.primaryRATRestriction.nR_unlicensed", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x20, NULL, HFILL }}, { &hf_xnap_primaryRATRestriction_nR_LEO, { "nR-LEO", "xnap.primaryRATRestriction.nR_LEO", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x10, NULL, HFILL }}, { &hf_xnap_primaryRATRestriction_nR_MEO, { "nR-MEO", "xnap.primaryRATRestriction.nR_MEO", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x08, NULL, HFILL }}, { &hf_xnap_primaryRATRestriction_nR_GEO, { "nR-GEO", "xnap.primaryRATRestriction.nR_GEO", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x04, NULL, HFILL }}, { &hf_xnap_primaryRATRestriction_nR_OTHERSAT, { "nR-unlicensed", "xnap.primaryRATRestriction.nR_unlicensed", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x02, NULL, HFILL }}, { &hf_xnap_primaryRATRestriction_reserved, { "reserved", "xnap.primaryRATRestriction.reserved", FT_UINT8, BASE_HEX, NULL, 0x01, NULL, HFILL }}, { &hf_xnap_secondaryRATRestriction_e_UTRA, { "e-UTRA", "xnap.secondaryRATRestriction.e_UTRA", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x80, NULL, HFILL }}, { &hf_xnap_secondaryRATRestriction_nR, { "nR", "xnap.secondaryRATRestriction.nR", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x40, NULL, HFILL }}, { &hf_xnap_secondaryRATRestriction_e_UTRA_unlicensed, { "e-UTRA-unlicensed", "xnap.secondaryRATRestriction.e_UTRA_unlicensed", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x20, NULL, HFILL }}, { &hf_xnap_secondaryRATRestriction_nR_unlicensed, { "nR-unlicensed", "xnap.secondaryRATRestriction.nR_unlicensed", FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x10, NULL, HFILL }}, { &hf_xnap_secondaryRATRestriction_reserved, { "reserved", "xnap.secondaryRATRestriction.reserved", FT_UINT8, BASE_HEX, NULL, 0x0f, NULL, HFILL }}, { &hf_xnap_MDT_Location_Info_GNSS, { "GNSS", "xnap.MDT_Location_Info.GNSS", FT_BOOLEAN, 8, TFS(&tfs_activated_deactivated), 0x80, NULL, HFILL }}, { &hf_xnap_MDT_Location_Info_reserved, { "Reserved", "xnap.MDT_Location_Info.reserved", FT_UINT8, BASE_HEX, NULL, 0x7f, NULL, HFILL }}, { &hf_xnap_MeasurementsToActivate_M1, { "M1", "xnap.MeasurementsToActivate.M1", FT_BOOLEAN, 8, TFS(&xnap_tfs_activate_do_not_activate), 0x80, NULL, HFILL }}, { &hf_xnap_MeasurementsToActivate_M2, { "M2", "xnap.MeasurementsToActivate.M2", FT_BOOLEAN, 8, TFS(&xnap_tfs_activate_do_not_activate), 0x40, NULL, HFILL }}, { &hf_xnap_MeasurementsToActivate_M3, { "M3", "xnap.MeasurementsToActivate.M3", FT_BOOLEAN, 8, TFS(&xnap_tfs_activate_do_not_activate), 0x20, NULL, HFILL }}, { &hf_xnap_MeasurementsToActivate_M4, { "M4", "xnap.MeasurementsToActivate.M4", FT_BOOLEAN, 8, TFS(&xnap_tfs_activate_do_not_activate), 0x10, NULL, HFILL }}, { &hf_xnap_MeasurementsToActivate_M5, { "M5", "xnap.MeasurementsToActivate.M5", FT_BOOLEAN, 8, TFS(&xnap_tfs_activate_do_not_activate), 0x08, NULL, HFILL }}, { &hf_xnap_MeasurementsToActivate_LoggingM1FromEventTriggered, { "LoggingOfM1FromEventTriggeredMeasurementReports", "xnap.MeasurementsToActivate.LoggingM1FromEventTriggered", FT_BOOLEAN, 8, TFS(&xnap_tfs_activate_do_not_activate), 0x04, NULL, HFILL }}, { &hf_xnap_MeasurementsToActivate_M6, { "M6", "xnap.MeasurementsToActivate.M6", FT_BOOLEAN, 8, TFS(&xnap_tfs_activate_do_not_activate), 0x02, NULL, HFILL }}, { &hf_xnap_MeasurementsToActivate_M7, { "M7", "xnap.MeasurementsToActivate.M7", FT_BOOLEAN, 8, TFS(&xnap_tfs_activate_do_not_activate), 0x01, NULL, HFILL }}, { &hf_xnap_ReportCharacteristics_PRBPeriodic, { "PRBPeriodic", "xnap.ReportCharacteristics.PRBPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x80000000, NULL, HFILL }}, { &hf_xnap_ReportCharacteristics_TNLCapacityIndPeriodic, { "TNLCapacityIndPeriodic", "xnap.ReportCharacteristics.TNLCapacityIndPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x40000000, NULL, HFILL }}, { &hf_xnap_ReportCharacteristics_CompositeAvailableCapacityPeriodic, { "CompositeAvailableCapacityPeriodic", "xnap.ReportCharacteristics.CompositeAvailableCapacityPeriodic", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x20000000, NULL, HFILL }}, { &hf_xnap_ReportCharacteristics_NumberOfActiveUEs, { "NumberOfActiveUEs", "xnap.ReportCharacteristics.NumberOfActiveUEs", FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x10000000, NULL, HFILL }}, { &hf_xnap_ReportCharacteristics_Reserved, { "Reserved", "xnap.ReportCharacteristics.Reserved", FT_UINT32, BASE_HEX, NULL, 0x0fffffff, NULL, HFILL }}, { &hf_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_PDU, { "AdditionalListofPDUSessionResourceChangeConfirmInfo-SNterminated", "xnap.AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_AdditionLocationInformation_PDU, { "AdditionLocationInformation", "xnap.AdditionLocationInformation", FT_UINT32, BASE_DEC, VALS(xnap_AdditionLocationInformation_vals), 0, NULL, HFILL }}, { &hf_xnap_Additional_PDCP_Duplication_TNL_List_PDU, { "Additional-PDCP-Duplication-TNL-List", "xnap.Additional_PDCP_Duplication_TNL_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_Additional_UL_NG_U_TNLatUPF_List_PDU, { "Additional-UL-NG-U-TNLatUPF-List", "xnap.Additional_UL_NG_U_TNLatUPF_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_Additional_Measurement_Timing_Configuration_List_PDU, { "Additional-Measurement-Timing-Configuration-List", "xnap.Additional_Measurement_Timing_Configuration_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ActivationIDforCellActivation_PDU, { "ActivationIDforCellActivation", "xnap.ActivationIDforCellActivation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_AlternativeQoSParaSetList_PDU, { "AlternativeQoSParaSetList", "xnap.AlternativeQoSParaSetList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_AMF_Region_Information_PDU, { "AMF-Region-Information", "xnap.AMF_Region_Information", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_AssistanceDataForRANPaging_PDU, { "AssistanceDataForRANPaging", "xnap.AssistanceDataForRANPaging_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BeamMeasurementIndicationM1_PDU, { "BeamMeasurementIndicationM1", "xnap.BeamMeasurementIndicationM1", FT_UINT32, BASE_DEC, VALS(xnap_BeamMeasurementIndicationM1_vals), 0, NULL, HFILL }}, { &hf_xnap_BeamMeasurementsReportConfiguration_PDU, { "BeamMeasurementsReportConfiguration", "xnap.BeamMeasurementsReportConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BPLMN_ID_Info_EUTRA_PDU, { "BPLMN-ID-Info-EUTRA", "xnap.BPLMN_ID_Info_EUTRA", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_BPLMN_ID_Info_NR_PDU, { "BPLMN-ID-Info-NR", "xnap.BPLMN_ID_Info_NR", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_BitRate_PDU, { "BitRate", "xnap.BitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, NULL, HFILL }}, { &hf_xnap_Cause_PDU, { "Cause", "xnap.Cause", FT_UINT32, BASE_DEC, VALS(xnap_Cause_vals), 0, NULL, HFILL }}, { &hf_xnap_CellAssistanceInfo_NR_PDU, { "CellAssistanceInfo-NR", "xnap.CellAssistanceInfo_NR", FT_UINT32, BASE_DEC, VALS(xnap_CellAssistanceInfo_NR_vals), 0, NULL, HFILL }}, { &hf_xnap_CellAndCapacityAssistanceInfo_NR_PDU, { "CellAndCapacityAssistanceInfo-NR", "xnap.CellAndCapacityAssistanceInfo_NR_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellAndCapacityAssistanceInfo_EUTRA_PDU, { "CellAndCapacityAssistanceInfo-EUTRA", "xnap.CellAndCapacityAssistanceInfo_EUTRA_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellAssistanceInfo_EUTRA_PDU, { "CellAssistanceInfo-EUTRA", "xnap.CellAssistanceInfo_EUTRA", FT_UINT32, BASE_DEC, VALS(xnap_CellAssistanceInfo_EUTRA_vals), 0, NULL, HFILL }}, { &hf_xnap_CellMeasurementResult_PDU, { "CellMeasurementResult", "xnap.CellMeasurementResult", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellToReport_PDU, { "CellToReport", "xnap.CellToReport", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CHOConfiguration_PDU, { "CHOConfiguration", "xnap.CHOConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CompositeAvailableCapacity_PDU, { "CompositeAvailableCapacity", "xnap.CompositeAvailableCapacity_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CHO_MRDC_EarlyDataForwarding_PDU, { "CHO-MRDC-EarlyDataForwarding", "xnap.CHO_MRDC_EarlyDataForwarding", FT_UINT32, BASE_DEC, VALS(xnap_CHO_MRDC_EarlyDataForwarding_vals), 0, NULL, HFILL }}, { &hf_xnap_CHO_MRDC_Indicator_PDU, { "CHO-MRDC-Indicator", "xnap.CHO_MRDC_Indicator", FT_UINT32, BASE_DEC, VALS(xnap_CHO_MRDC_Indicator_vals), 0, NULL, HFILL }}, { &hf_xnap_CHOinformation_Req_PDU, { "CHOinformation-Req", "xnap.CHOinformation_Req_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CHOinformation_Ack_PDU, { "CHOinformation-Ack", "xnap.CHOinformation_Ack_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CHOinformation_AddReq_PDU, { "CHOinformation-AddReq", "xnap.CHOinformation_AddReq_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CHOinformation_ModReq_PDU, { "CHOinformation-ModReq", "xnap.CHOinformation_ModReq_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ConfiguredTACIndication_PDU, { "ConfiguredTACIndication", "xnap.ConfiguredTACIndication", FT_UINT32, BASE_DEC, VALS(xnap_ConfiguredTACIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_CoverageModificationCause_PDU, { "CoverageModificationCause", "xnap.CoverageModificationCause", FT_UINT32, BASE_DEC, VALS(xnap_CoverageModificationCause_vals), 0, NULL, HFILL }}, { &hf_xnap_Coverage_Modification_List_PDU, { "Coverage-Modification-List", "xnap.Coverage_Modification_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPAInformationRequest_PDU, { "CPAInformationRequest", "xnap.CPAInformationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPAInformationAck_PDU, { "CPAInformationAck", "xnap.CPAInformationAck_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPCInformationRequired_PDU, { "CPCInformationRequired", "xnap.CPCInformationRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPCInformationConfirm_PDU, { "CPCInformationConfirm", "xnap.CPCInformationConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPAInformationModReq_PDU, { "CPAInformationModReq", "xnap.CPAInformationModReq_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPAInformationModReqAck_PDU, { "CPAInformationModReqAck", "xnap.CPAInformationModReqAck_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPC_DataForwarding_Indicator_PDU, { "CPC-DataForwarding-Indicator", "xnap.CPC_DataForwarding_Indicator", FT_UINT32, BASE_DEC, VALS(xnap_CPC_DataForwarding_Indicator_vals), 0, NULL, HFILL }}, { &hf_xnap_CPACInformationModRequired_PDU, { "CPACInformationModRequired", "xnap.CPACInformationModRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPCInformationUpdate_PDU, { "CPCInformationUpdate", "xnap.CPCInformationUpdate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CriticalityDiagnostics_PDU, { "CriticalityDiagnostics", "xnap.CriticalityDiagnostics_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_C_RNTI_PDU, { "C-RNTI", "xnap.C_RNTI", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CSI_RSTransmissionIndication_PDU, { "CSI-RSTransmissionIndication", "xnap.CSI_RSTransmissionIndication", FT_UINT32, BASE_DEC, VALS(xnap_CSI_RSTransmissionIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_XnUAddressInfoperPDUSession_List_PDU, { "XnUAddressInfoperPDUSession-List", "xnap.XnUAddressInfoperPDUSession_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DataForwardingInfoFromTargetE_UTRANnode_PDU, { "DataForwardingInfoFromTargetE-UTRANnode", "xnap.DataForwardingInfoFromTargetE_UTRANnode_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_DAPSRequestInfo_PDU, { "DAPSRequestInfo", "xnap.DAPSRequestInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_DAPSResponseInfo_List_PDU, { "DAPSResponseInfo-List", "xnap.DAPSResponseInfo_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DesiredActNotificationLevel_PDU, { "DesiredActNotificationLevel", "xnap.DesiredActNotificationLevel", FT_UINT32, BASE_DEC, VALS(xnap_DesiredActNotificationLevel_vals), 0, NULL, HFILL }}, { &hf_xnap_DefaultDRB_Allowed_PDU, { "DefaultDRB-Allowed", "xnap.DefaultDRB_Allowed", FT_UINT32, BASE_DEC, VALS(xnap_DefaultDRB_Allowed_vals), 0, NULL, HFILL }}, { &hf_xnap_DirectForwardingPathAvailability_PDU, { "DirectForwardingPathAvailability", "xnap.DirectForwardingPathAvailability", FT_UINT32, BASE_DEC, VALS(xnap_DirectForwardingPathAvailability_vals), 0, NULL, HFILL }}, { &hf_xnap_DRB_List_PDU, { "DRB-List", "xnap.DRB_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DRB_List_withCause_PDU, { "DRB-List-withCause", "xnap.DRB_List_withCause", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DRB_Number_PDU, { "DRB-Number", "xnap.DRB_Number", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DRBsSubjectToStatusTransfer_List_PDU, { "DRBsSubjectToStatusTransfer-List", "xnap.DRBsSubjectToStatusTransfer_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DuplicationActivation_PDU, { "DuplicationActivation", "xnap.DuplicationActivation", FT_UINT32, BASE_DEC, VALS(xnap_DuplicationActivation_vals), 0, NULL, HFILL }}, { &hf_xnap_EarlyMeasurement_PDU, { "EarlyMeasurement", "xnap.EarlyMeasurement", FT_UINT32, BASE_DEC, VALS(xnap_EarlyMeasurement_vals), 0, NULL, HFILL }}, { &hf_xnap_EUTRAPagingeDRXInformation_PDU, { "EUTRAPagingeDRXInformation", "xnap.EUTRAPagingeDRXInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_EndpointIPAddressAndPort_PDU, { "EndpointIPAddressAndPort", "xnap.EndpointIPAddressAndPort_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExcessPacketDelayThresholdConfiguration_PDU, { "ExcessPacketDelayThresholdConfiguration", "xnap.ExcessPacketDelayThresholdConfiguration", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExpectedUEActivityBehaviour_PDU, { "ExpectedUEActivityBehaviour", "xnap.ExpectedUEActivityBehaviour_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExpectedUEBehaviour_PDU, { "ExpectedUEBehaviour", "xnap.ExpectedUEBehaviour_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExtendedRATRestrictionInformation_PDU, { "ExtendedRATRestrictionInformation", "xnap.ExtendedRATRestrictionInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExtendedPacketDelayBudget_PDU, { "ExtendedPacketDelayBudget", "xnap.ExtendedPacketDelayBudget", FT_UINT32, BASE_CUSTOM, CF_FUNC(xnap_ExtendedPacketDelayBudget_fmt), 0, NULL, HFILL }}, { &hf_xnap_ExtendedSliceSupportList_PDU, { "ExtendedSliceSupportList", "xnap.ExtendedSliceSupportList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExtendedUEIdentityIndexValue_PDU, { "ExtendedUEIdentityIndexValue", "xnap.ExtendedUEIdentityIndexValue", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_F1CTrafficContainer_PDU, { "F1CTrafficContainer", "xnap.F1CTrafficContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_F1_terminatingIAB_donorIndicator_PDU, { "F1-terminatingIAB-donorIndicator", "xnap.F1_terminatingIAB_donorIndicator", FT_UINT32, BASE_DEC, VALS(xnap_F1_terminatingIAB_donorIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_FiveGCMobilityRestrictionListContainer_PDU, { "FiveGCMobilityRestrictionListContainer", "xnap.FiveGCMobilityRestrictionListContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_FiveGProSeAuthorized_PDU, { "FiveGProSeAuthorized", "xnap.FiveGProSeAuthorized_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_FiveGProSePC5QoSParameters_PDU, { "FiveGProSePC5QoSParameters", "xnap.FiveGProSePC5QoSParameters_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_FrequencyShift7p5khz_PDU, { "FrequencyShift7p5khz", "xnap.FrequencyShift7p5khz", FT_UINT32, BASE_DEC, VALS(xnap_FrequencyShift7p5khz_vals), 0, NULL, HFILL }}, { &hf_xnap_GNB_DU_Cell_Resource_Configuration_PDU, { "GNB-DU-Cell-Resource-Configuration", "xnap.GNB_DU_Cell_Resource_Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_GlobalCell_ID_PDU, { "GlobalCell-ID", "xnap.GlobalCell_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_GlobalNG_RANCell_ID_PDU, { "GlobalNG-RANCell-ID", "xnap.GlobalNG_RANCell_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_GlobalNG_RANNode_ID_PDU, { "GlobalNG-RANNode-ID", "xnap.GlobalNG_RANNode_ID", FT_UINT32, BASE_DEC, VALS(xnap_GlobalNG_RANNode_ID_vals), 0, NULL, HFILL }}, { &hf_xnap_GUAMI_PDU, { "GUAMI", "xnap.GUAMI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_HandoverReportType_PDU, { "HandoverReportType", "xnap.HandoverReportType", FT_UINT32, BASE_DEC, VALS(xnap_HandoverReportType_vals), 0, NULL, HFILL }}, { &hf_xnap_HashedUEIdentityIndexValue_PDU, { "HashedUEIdentityIndexValue", "xnap.HashedUEIdentityIndexValue", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABNodeIndication_PDU, { "IABNodeIndication", "xnap.IABNodeIndication", FT_UINT32, BASE_DEC, VALS(xnap_IABNodeIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_IAB_TNL_Address_Request_PDU, { "IAB-TNL-Address-Request", "xnap.IAB_TNL_Address_Request_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_IAB_TNL_Address_Response_PDU, { "IAB-TNL-Address-Response", "xnap.IAB_TNL_Address_Response_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTNLAddressException_PDU, { "IABTNLAddressException", "xnap.IABTNLAddressException", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_InitiatingCondition_FailureIndication_PDU, { "InitiatingCondition-FailureIndication", "xnap.InitiatingCondition_FailureIndication", FT_UINT32, BASE_DEC, VALS(xnap_InitiatingCondition_FailureIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_xnap_IntendedTDD_DL_ULConfiguration_NR_PDU, { "IntendedTDD-DL-ULConfiguration-NR", "xnap.IntendedTDD_DL_ULConfiguration_NR_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_InterfaceInstanceIndication_PDU, { "InterfaceInstanceIndication", "xnap.InterfaceInstanceIndication", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_Local_NG_RAN_Node_Identifier_PDU, { "Local-NG-RAN-Node-Identifier", "xnap.Local_NG_RAN_Node_Identifier", FT_UINT32, BASE_DEC, VALS(xnap_Local_NG_RAN_Node_Identifier_vals), 0, NULL, HFILL }}, { &hf_xnap_SCGUEHistoryInformation_PDU, { "SCGUEHistoryInformation", "xnap.SCGUEHistoryInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_LocationInformationSNReporting_PDU, { "LocationInformationSNReporting", "xnap.LocationInformationSNReporting", FT_UINT32, BASE_DEC, VALS(xnap_LocationInformationSNReporting_vals), 0, NULL, HFILL }}, { &hf_xnap_LocationReportingInformation_PDU, { "LocationReportingInformation", "xnap.LocationReportingInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_LTEV2XServicesAuthorized_PDU, { "LTEV2XServicesAuthorized", "xnap.LTEV2XServicesAuthorized_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_LTEUESidelinkAggregateMaximumBitRate_PDU, { "LTEUESidelinkAggregateMaximumBitRate", "xnap.LTEUESidelinkAggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_M4ReportAmountMDT_PDU, { "M4ReportAmountMDT", "xnap.M4ReportAmountMDT", FT_UINT32, BASE_DEC, VALS(xnap_M4ReportAmountMDT_vals), 0, NULL, HFILL }}, { &hf_xnap_M5ReportAmountMDT_PDU, { "M5ReportAmountMDT", "xnap.M5ReportAmountMDT", FT_UINT32, BASE_DEC, VALS(xnap_M5ReportAmountMDT_vals), 0, NULL, HFILL }}, { &hf_xnap_M6ReportAmountMDT_PDU, { "M6ReportAmountMDT", "xnap.M6ReportAmountMDT", FT_UINT32, BASE_DEC, VALS(xnap_M6ReportAmountMDT_vals), 0, NULL, HFILL }}, { &hf_xnap_M7ReportAmountMDT_PDU, { "M7ReportAmountMDT", "xnap.M7ReportAmountMDT", FT_UINT32, BASE_DEC, VALS(xnap_M7ReportAmountMDT_vals), 0, NULL, HFILL }}, { &hf_xnap_MAC_I_PDU, { "MAC-I", "xnap.MAC_I", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MaskedIMEISV_PDU, { "MaskedIMEISV", "xnap.MaskedIMEISV", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MaxIPrate_PDU, { "MaxIPrate", "xnap.MaxIPrate", FT_UINT32, BASE_DEC, VALS(xnap_MaxIPrate_vals), 0, NULL, HFILL }}, { &hf_xnap_MBS_Session_ID_PDU, { "MBS-Session-ID", "xnap.MBS_Session_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_SessionAssociatedInformation_PDU, { "MBS-SessionAssociatedInformation", "xnap.MBS_SessionAssociatedInformation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_SessionInformation_List_PDU, { "MBS-SessionInformation-List", "xnap.MBS_SessionInformation_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_SessionInformationResponse_List_PDU, { "MBS-SessionInformationResponse-List", "xnap.MBS_SessionInformationResponse_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_MDT_Configuration_PDU, { "MDT-Configuration", "xnap.MDT_Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MDTPLMNList_PDU, { "MDTPLMNList", "xnap.MDTPLMNList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_MDTPLMNModificationList_PDU, { "MDTPLMNModificationList", "xnap.MDTPLMNModificationList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_Measurement_ID_PDU, { "Measurement-ID", "xnap.Measurement_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_MIMOPRBusageInformation_PDU, { "MIMOPRBusageInformation", "xnap.MIMOPRBusageInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MobilityInformation_PDU, { "MobilityInformation", "xnap.MobilityInformation", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MobilityParametersModificationRange_PDU, { "MobilityParametersModificationRange", "xnap.MobilityParametersModificationRange_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MobilityParametersInformation_PDU, { "MobilityParametersInformation", "xnap.MobilityParametersInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MobilityRestrictionList_PDU, { "MobilityRestrictionList", "xnap.MobilityRestrictionList_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CNTypeRestrictionsForEquivalent_PDU, { "CNTypeRestrictionsForEquivalent", "xnap.CNTypeRestrictionsForEquivalent", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CNTypeRestrictionsForServing_PDU, { "CNTypeRestrictionsForServing", "xnap.CNTypeRestrictionsForServing", FT_UINT32, BASE_DEC, VALS(xnap_CNTypeRestrictionsForServing_vals), 0, NULL, HFILL }}, { &hf_xnap_MR_DC_ResourceCoordinationInfo_PDU, { "MR-DC-ResourceCoordinationInfo", "xnap.MR_DC_ResourceCoordinationInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MessageOversizeNotification_PDU, { "MessageOversizeNotification", "xnap.MessageOversizeNotification_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NBIoT_UL_DL_AlignmentOffset_PDU, { "NBIoT-UL-DL-AlignmentOffset", "xnap.NBIoT_UL_DL_AlignmentOffset", FT_UINT32, BASE_DEC, VALS(xnap_NBIoT_UL_DL_AlignmentOffset_vals), 0, NULL, HFILL }}, { &hf_xnap_NE_DC_TDM_Pattern_PDU, { "NE-DC-TDM-Pattern", "xnap.NE_DC_TDM_Pattern_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_Neighbour_NG_RAN_Node_List_PDU, { "Neighbour-NG-RAN-Node-List", "xnap.Neighbour_NG_RAN_Node_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NRCarrierList_PDU, { "NRCarrierList", "xnap.NRCarrierList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NRCellPRACHConfig_PDU, { "NRCellPRACHConfig", "xnap.NRCellPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NG_RAN_Cell_Identity_PDU, { "NG-RAN-Cell-Identity", "xnap.NG_RAN_Cell_Identity", FT_UINT32, BASE_DEC, VALS(xnap_NG_RAN_Cell_Identity_vals), 0, NULL, HFILL }}, { &hf_xnap_NG_RANnode2SSBOffsetsModificationRange_PDU, { "NG-RANnode2SSBOffsetsModificationRange", "xnap.NG_RANnode2SSBOffsetsModificationRange", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NG_RANnodeUEXnAPID_PDU, { "NG-RANnodeUEXnAPID", "xnap.NG_RANnodeUEXnAPID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DL_scheduling_PDCCH_CCE_usage_PDU, { "DL-scheduling-PDCCH-CCE-usage", "xnap.DL_scheduling_PDCCH_CCE_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_UL_scheduling_PDCCH_CCE_usage_PDU, { "UL-scheduling-PDCCH-CCE-usage", "xnap.UL_scheduling_PDCCH_CCE_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NoPDUSessionIndication_PDU, { "NoPDUSessionIndication", "xnap.NoPDUSessionIndication", FT_UINT32, BASE_DEC, VALS(xnap_NoPDUSessionIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_NPN_Broadcast_Information_PDU, { "NPN-Broadcast-Information", "xnap.NPN_Broadcast_Information", FT_UINT32, BASE_DEC, VALS(xnap_NPN_Broadcast_Information_vals), 0, NULL, HFILL }}, { &hf_xnap_NPNMobilityInformation_PDU, { "NPNMobilityInformation", "xnap.NPNMobilityInformation", FT_UINT32, BASE_DEC, VALS(xnap_NPNMobilityInformation_vals), 0, NULL, HFILL }}, { &hf_xnap_NPNPagingAssistanceInformation_PDU, { "NPNPagingAssistanceInformation", "xnap.NPNPagingAssistanceInformation", FT_UINT32, BASE_DEC, VALS(xnap_NPNPagingAssistanceInformation_vals), 0, NULL, HFILL }}, { &hf_xnap_NPN_Support_PDU, { "NPN-Support", "xnap.NPN_Support", FT_UINT32, BASE_DEC, VALS(xnap_NPN_Support_vals), 0, NULL, HFILL }}, { &hf_xnap_NPRACHConfiguration_PDU, { "NPRACHConfiguration", "xnap.NPRACHConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NR_U_Channel_List_PDU, { "NR-U-Channel-List", "xnap.NR_U_Channel_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NR_U_ChannelInfo_List_PDU, { "NR-U-ChannelInfo-List", "xnap.NR_U_ChannelInfo_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NRPagingeDRXInformation_PDU, { "NRPagingeDRXInformation", "xnap.NRPagingeDRXInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NRPagingeDRXInformationforRRCINACTIVE_PDU, { "NRPagingeDRXInformationforRRCINACTIVE", "xnap.NRPagingeDRXInformationforRRCINACTIVE_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NG_RANTraceID_PDU, { "NG-RANTraceID", "xnap.NG_RANTraceID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NonGBRResources_Offered_PDU, { "NonGBRResources-Offered", "xnap.NonGBRResources_Offered", FT_UINT32, BASE_DEC, VALS(xnap_NonGBRResources_Offered_vals), 0, NULL, HFILL }}, { &hf_xnap_NRV2XServicesAuthorized_PDU, { "NRV2XServicesAuthorized", "xnap.NRV2XServicesAuthorized_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NRUESidelinkAggregateMaximumBitRate_PDU, { "NRUESidelinkAggregateMaximumBitRate", "xnap.NRUESidelinkAggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_OffsetOfNbiotChannelNumberToEARFCN_PDU, { "OffsetOfNbiotChannelNumberToEARFCN", "xnap.OffsetOfNbiotChannelNumberToEARFCN", FT_UINT32, BASE_DEC, VALS(xnap_OffsetOfNbiotChannelNumberToEARFCN_vals), 0, NULL, HFILL }}, { &hf_xnap_PositioningInformation_PDU, { "PositioningInformation", "xnap.PositioningInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PagingCause_PDU, { "PagingCause", "xnap.PagingCause", FT_UINT32, BASE_DEC, VALS(xnap_PagingCause_vals), 0, NULL, HFILL }}, { &hf_xnap_PEIPSassistanceInformation_PDU, { "PEIPSassistanceInformation", "xnap.PEIPSassistanceInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PagingDRX_PDU, { "PagingDRX", "xnap.PagingDRX", FT_UINT32, BASE_DEC, VALS(xnap_PagingDRX_vals), 0, NULL, HFILL }}, { &hf_xnap_PagingPriority_PDU, { "PagingPriority", "xnap.PagingPriority", FT_UINT32, BASE_DEC, VALS(xnap_PagingPriority_vals), 0, NULL, HFILL }}, { &hf_xnap_PartialListIndicator_PDU, { "PartialListIndicator", "xnap.PartialListIndicator", FT_UINT32, BASE_DEC, VALS(xnap_PartialListIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_PC5QoSParameters_PDU, { "PC5QoSParameters", "xnap.PC5QoSParameters_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDCPChangeIndication_PDU, { "PDCPChangeIndication", "xnap.PDCPChangeIndication", FT_UINT32, BASE_DEC, VALS(xnap_PDCPChangeIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_PDCPDuplicationConfiguration_PDU, { "PDCPDuplicationConfiguration", "xnap.PDCPDuplicationConfiguration", FT_UINT32, BASE_DEC, VALS(xnap_PDCPDuplicationConfiguration_vals), 0, NULL, HFILL }}, { &hf_xnap_PDUSession_List_withCause_PDU, { "PDUSession-List-withCause", "xnap.PDUSession_List_withCause", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionResourcesAdmitted_List_PDU, { "PDUSessionResourcesAdmitted-List", "xnap.PDUSessionResourcesAdmitted_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionResourcesNotAdmitted_List_PDU, { "PDUSessionResourcesNotAdmitted-List", "xnap.PDUSessionResourcesNotAdmitted_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_PDU, { "QoSFlowsMappedtoDRB-SetupResponse-MNterminated", "xnap.QoSFlowsMappedtoDRB_SetupResponse_MNterminated", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionResourceSecondaryRATUsageList_PDU, { "PDUSessionResourceSecondaryRATUsageList", "xnap.PDUSessionResourceSecondaryRATUsageList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionCommonNetworkInstance_PDU, { "PDUSessionCommonNetworkInstance", "xnap.PDUSessionCommonNetworkInstance", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSession_PairID_PDU, { "PDUSession-PairID", "xnap.PDUSession_PairID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_Permutation_PDU, { "Permutation", "xnap.Permutation", FT_UINT32, BASE_DEC, VALS(xnap_Permutation_vals), 0, NULL, HFILL }}, { &hf_xnap_PLMN_Identity_PDU, { "PLMN-Identity", "xnap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PrivacyIndicator_PDU, { "PrivacyIndicator", "xnap.PrivacyIndicator", FT_UINT32, BASE_DEC, VALS(xnap_PrivacyIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_PSCellChangeHistory_PDU, { "PSCellChangeHistory", "xnap.PSCellChangeHistory", FT_UINT32, BASE_DEC, VALS(xnap_PSCellChangeHistory_vals), 0, NULL, HFILL }}, { &hf_xnap_PSCellHistoryInformationRetrieve_PDU, { "PSCellHistoryInformationRetrieve", "xnap.PSCellHistoryInformationRetrieve", FT_UINT32, BASE_DEC, VALS(xnap_PSCellHistoryInformationRetrieve_vals), 0, NULL, HFILL }}, { &hf_xnap_QMCConfigInfo_PDU, { "QMCConfigInfo", "xnap.QMCConfigInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlows_List_PDU, { "QoSFlows-List", "xnap.QoSFlows_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoS_Mapping_Information_PDU, { "QoS-Mapping-Information", "xnap.QoS_Mapping_Information_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSParaSetNotifyIndex_PDU, { "QoSParaSetNotifyIndex", "xnap.QoSParaSetNotifyIndex", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QosMonitoringRequest_PDU, { "QosMonitoringRequest", "xnap.QosMonitoringRequest", FT_UINT32, BASE_DEC, VALS(xnap_QosMonitoringRequest_vals), 0, NULL, HFILL }}, { &hf_xnap_QoSMonitoringDisabled_PDU, { "QoSMonitoringDisabled", "xnap.QoSMonitoringDisabled", FT_UINT32, BASE_DEC, VALS(xnap_QoSMonitoringDisabled_vals), 0, NULL, HFILL }}, { &hf_xnap_QosMonitoringReportingFrequency_PDU, { "QosMonitoringReportingFrequency", "xnap.QosMonitoringReportingFrequency", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, NULL, HFILL }}, { &hf_xnap_RACHReportInformation_PDU, { "RACHReportInformation", "xnap.RACHReportInformation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_RANPagingArea_PDU, { "RANPagingArea", "xnap.RANPagingArea_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RANPagingFailure_PDU, { "RANPagingFailure", "xnap.RANPagingFailure", FT_UINT32, BASE_DEC, VALS(xnap_RANPagingFailure_vals), 0, NULL, HFILL }}, { &hf_xnap_Redcap_Bcast_Information_PDU, { "Redcap-Bcast-Information", "xnap.Redcap_Bcast_Information", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RedundantQoSFlowIndicator_PDU, { "RedundantQoSFlowIndicator", "xnap.RedundantQoSFlowIndicator", FT_UINT32, BASE_DEC, VALS(xnap_RedundantQoSFlowIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_RedundantPDUSessionInformation_PDU, { "RedundantPDUSessionInformation", "xnap.RedundantPDUSessionInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExtendedReportIntervalMDT_PDU, { "ExtendedReportIntervalMDT", "xnap.ExtendedReportIntervalMDT", FT_UINT32, BASE_DEC, VALS(xnap_ExtendedReportIntervalMDT_vals), 0, NULL, HFILL }}, { &hf_xnap_ReportCharacteristics_PDU, { "ReportCharacteristics", "xnap.ReportCharacteristics", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ReportingPeriodicity_PDU, { "ReportingPeriodicity", "xnap.ReportingPeriodicity", FT_UINT32, BASE_DEC, VALS(xnap_ReportingPeriodicity_vals), 0, NULL, HFILL }}, { &hf_xnap_RegistrationRequest_PDU, { "RegistrationRequest", "xnap.RegistrationRequest", FT_UINT32, BASE_DEC, VALS(xnap_RegistrationRequest_vals), 0, NULL, HFILL }}, { &hf_xnap_ResetRequestTypeInfo_PDU, { "ResetRequestTypeInfo", "xnap.ResetRequestTypeInfo", FT_UINT32, BASE_DEC, VALS(xnap_ResetRequestTypeInfo_vals), 0, NULL, HFILL }}, { &hf_xnap_ResetResponseTypeInfo_PDU, { "ResetResponseTypeInfo", "xnap.ResetResponseTypeInfo", FT_UINT32, BASE_DEC, VALS(xnap_ResetResponseTypeInfo_vals), 0, NULL, HFILL }}, { &hf_xnap_RLCDuplicationInformation_PDU, { "RLCDuplicationInformation", "xnap.RLCDuplicationInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RFSP_Index_PDU, { "RFSP-Index", "xnap.RFSP_Index", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_RRCConfigIndication_PDU, { "RRCConfigIndication", "xnap.RRCConfigIndication", FT_UINT32, BASE_DEC, VALS(xnap_RRCConfigIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_RRCConnReestab_Indicator_PDU, { "RRCConnReestab-Indicator", "xnap.RRCConnReestab_Indicator", FT_UINT32, BASE_DEC, VALS(xnap_RRCConnReestab_Indicator_vals), 0, NULL, HFILL }}, { &hf_xnap_RRCResumeCause_PDU, { "RRCResumeCause", "xnap.RRCResumeCause", FT_UINT32, BASE_DEC, VALS(xnap_RRCResumeCause_vals), 0, NULL, HFILL }}, { &hf_xnap_SCGreconfigNotification_PDU, { "SCGreconfigNotification", "xnap.SCGreconfigNotification", FT_UINT32, BASE_DEC, VALS(xnap_SCGreconfigNotification_vals), 0, NULL, HFILL }}, { &hf_xnap_SecondarydataForwardingInfoFromTarget_List_PDU, { "SecondarydataForwardingInfoFromTarget-List", "xnap.SecondarydataForwardingInfoFromTarget_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SCGActivationRequest_PDU, { "SCGActivationRequest", "xnap.SCGActivationRequest", FT_UINT32, BASE_DEC, VALS(xnap_SCGActivationRequest_vals), 0, NULL, HFILL }}, { &hf_xnap_SCGActivationStatus_PDU, { "SCGActivationStatus", "xnap.SCGActivationStatus", FT_UINT32, BASE_DEC, VALS(xnap_SCGActivationStatus_vals), 0, NULL, HFILL }}, { &hf_xnap_SCGConfigurationQuery_PDU, { "SCGConfigurationQuery", "xnap.SCGConfigurationQuery", FT_UINT32, BASE_DEC, VALS(xnap_SCGConfigurationQuery_vals), 0, NULL, HFILL }}, { &hf_xnap_SCGIndicator_PDU, { "SCGIndicator", "xnap.SCGIndicator", FT_UINT32, BASE_DEC, VALS(xnap_SCGIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_SCGFailureReportContainer_PDU, { "SCGFailureReportContainer", "xnap.SCGFailureReportContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SDTSupportRequest_PDU, { "SDTSupportRequest", "xnap.SDTSupportRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SDT_Termination_Request_PDU, { "SDT-Termination-Request", "xnap.SDT_Termination_Request", FT_UINT32, BASE_DEC, VALS(xnap_SDT_Termination_Request_vals), 0, NULL, HFILL }}, { &hf_xnap_SDTPartialUEContextInfo_PDU, { "SDTPartialUEContextInfo", "xnap.SDTPartialUEContextInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SDTDataForwardingDRBList_PDU, { "SDTDataForwardingDRBList", "xnap.SDTDataForwardingDRBList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SecurityIndication_PDU, { "SecurityIndication", "xnap.SecurityIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SecurityResult_PDU, { "SecurityResult", "xnap.SecurityResult_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ServedCells_E_UTRA_PDU, { "ServedCells-E-UTRA", "xnap.ServedCells_E_UTRA", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ServedCellsToUpdate_E_UTRA_PDU, { "ServedCellsToUpdate-E-UTRA", "xnap.ServedCellsToUpdate_E_UTRA_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SFN_Offset_PDU, { "SFN-Offset", "xnap.SFN_Offset_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ServedCells_NR_PDU, { "ServedCells-NR", "xnap.ServedCells_NR", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ServedCellSpecificInfoReq_NR_PDU, { "ServedCellSpecificInfoReq-NR", "xnap.ServedCellSpecificInfoReq_NR", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ServedCellsToUpdate_NR_PDU, { "ServedCellsToUpdate-NR", "xnap.ServedCellsToUpdate_NR_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SliceRadioResourceStatus_List_PDU, { "SliceRadioResourceStatus-List", "xnap.SliceRadioResourceStatus_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_S_NG_RANnode_SecurityKey_PDU, { "S-NG-RANnode-SecurityKey", "xnap.S_NG_RANnode_SecurityKey", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_S_NG_RANnode_Addition_Trigger_Ind_PDU, { "S-NG-RANnode-Addition-Trigger-Ind", "xnap.S_NG_RANnode_Addition_Trigger_Ind", FT_UINT32, BASE_DEC, VALS(xnap_S_NG_RANnode_Addition_Trigger_Ind_vals), 0, NULL, HFILL }}, { &hf_xnap_S_NSSAI_PDU, { "S-NSSAI", "xnap.S_NSSAI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNMobilityInformation_PDU, { "SNMobilityInformation", "xnap.SNMobilityInformation", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNTriggered_PDU, { "SNTriggered", "xnap.SNTriggered", FT_UINT32, BASE_DEC, VALS(xnap_SNTriggered_vals), 0, NULL, HFILL }}, { &hf_xnap_SplitSessionIndicator_PDU, { "SplitSessionIndicator", "xnap.SplitSessionIndicator", FT_UINT32, BASE_DEC, VALS(xnap_SplitSessionIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_SplitSRBsTypes_PDU, { "SplitSRBsTypes", "xnap.SplitSRBsTypes", FT_UINT32, BASE_DEC, VALS(xnap_SplitSRBsTypes_vals), 0, NULL, HFILL }}, { &hf_xnap_SSB_PositionsInBurst_PDU, { "SSB-PositionsInBurst", "xnap.SSB_PositionsInBurst", FT_UINT32, BASE_DEC, VALS(xnap_SSB_PositionsInBurst_vals), 0, NULL, HFILL }}, { &hf_xnap_SSBOffsets_List_PDU, { "SSBOffsets-List", "xnap.SSBOffsets_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SuccessfulHOReportInformation_PDU, { "SuccessfulHOReportInformation", "xnap.SuccessfulHOReportInformation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_Supported_MBS_FSA_ID_List_PDU, { "Supported-MBS-FSA-ID-List", "xnap.Supported_MBS_FSA_ID_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SurvivalTime_PDU, { "SurvivalTime", "xnap.SurvivalTime", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_microseconds, 0, NULL, HFILL }}, { &hf_xnap_TAINSAGSupportList_PDU, { "TAINSAGSupportList", "xnap.TAINSAGSupportList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TAISupport_List_PDU, { "TAISupport-List", "xnap.TAISupport_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TargetCellinEUTRAN_PDU, { "TargetCellinEUTRAN", "xnap.TargetCellinEUTRAN", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_Target_CGI_PDU, { "Target-CGI", "xnap.Target_CGI", FT_UINT32, BASE_DEC, VALS(xnap_Target_CGI_vals), 0, NULL, HFILL }}, { &hf_xnap_TDDULDLConfigurationCommonNR_PDU, { "TDDULDLConfigurationCommonNR", "xnap.TDDULDLConfigurationCommonNR", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TargetCellList_PDU, { "TargetCellList", "xnap.TargetCellList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TimeSynchronizationAssistanceInformation_PDU, { "TimeSynchronizationAssistanceInformation", "xnap.TimeSynchronizationAssistanceInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TimeToWait_PDU, { "TimeToWait", "xnap.TimeToWait", FT_UINT32, BASE_DEC, VALS(xnap_TimeToWait_vals), 0, NULL, HFILL }}, { &hf_xnap_TNLConfigurationInfo_PDU, { "TNLConfigurationInfo", "xnap.TNLConfigurationInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TNLA_To_Add_List_PDU, { "TNLA-To-Add-List", "xnap.TNLA_To_Add_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TNLA_To_Update_List_PDU, { "TNLA-To-Update-List", "xnap.TNLA_To_Update_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TNLA_To_Remove_List_PDU, { "TNLA-To-Remove-List", "xnap.TNLA_To_Remove_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TNLA_Setup_List_PDU, { "TNLA-Setup-List", "xnap.TNLA_Setup_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TNLA_Failed_To_Setup_List_PDU, { "TNLA-Failed-To-Setup-List", "xnap.TNLA_Failed_To_Setup_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TransportLayerAddress_PDU, { "TransportLayerAddress", "xnap.TransportLayerAddress", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TraceActivation_PDU, { "TraceActivation", "xnap.TraceActivation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficToBeReleaseInformation_PDU, { "TrafficToBeReleaseInformation", "xnap.TrafficToBeReleaseInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TSCTrafficCharacteristics_PDU, { "TSCTrafficCharacteristics", "xnap.TSCTrafficCharacteristics_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEAggregateMaximumBitRate_PDU, { "UEAggregateMaximumBitRate", "xnap.UEAggregateMaximumBitRate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEContextKeptIndicator_PDU, { "UEContextKeptIndicator", "xnap.UEContextKeptIndicator", FT_UINT32, BASE_DEC, VALS(xnap_UEContextKeptIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_UEContextID_PDU, { "UEContextID", "xnap.UEContextID", FT_UINT32, BASE_DEC, VALS(xnap_UEContextID_vals), 0, NULL, HFILL }}, { &hf_xnap_UEContextInfoRetrUECtxtResp_PDU, { "UEContextInfoRetrUECtxtResp", "xnap.UEContextInfoRetrUECtxtResp_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEHistoryInformation_PDU, { "UEHistoryInformation", "xnap.UEHistoryInformation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEHistoryInformationFromTheUE_PDU, { "UEHistoryInformationFromTheUE", "xnap.UEHistoryInformationFromTheUE", FT_UINT32, BASE_DEC, VALS(xnap_UEHistoryInformationFromTheUE_vals), 0, NULL, HFILL }}, { &hf_xnap_UEIdentityIndexValue_PDU, { "UEIdentityIndexValue", "xnap.UEIdentityIndexValue", FT_UINT32, BASE_DEC, VALS(xnap_UEIdentityIndexValue_vals), 0, NULL, HFILL }}, { &hf_xnap_UEIdentityIndexList_MBSGroupPaging_PDU, { "UEIdentityIndexList-MBSGroupPaging", "xnap.UEIdentityIndexList_MBSGroupPaging", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_UERadioCapabilityForPaging_PDU, { "UERadioCapabilityForPaging", "xnap.UERadioCapabilityForPaging_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UERadioCapabilityID_PDU, { "UERadioCapabilityID", "xnap.UERadioCapabilityID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UERANPagingIdentity_PDU, { "UERANPagingIdentity", "xnap.UERANPagingIdentity", FT_UINT32, BASE_DEC, VALS(xnap_UERANPagingIdentity_vals), 0, NULL, HFILL }}, { &hf_xnap_UERLFReportContainer_PDU, { "UERLFReportContainer", "xnap.UERLFReportContainer", FT_UINT32, BASE_DEC, VALS(xnap_UERLFReportContainer_vals), 0, NULL, HFILL }}, { &hf_xnap_UERLFReportContainerLTEExtension_PDU, { "UERLFReportContainerLTEExtension", "xnap.UERLFReportContainerLTEExtension_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UESliceMaximumBitRateList_PDU, { "UESliceMaximumBitRateList", "xnap.UESliceMaximumBitRateList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_UESecurityCapabilities_PDU, { "UESecurityCapabilities", "xnap.UESecurityCapabilities_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UESpecificDRX_PDU, { "UESpecificDRX", "xnap.UESpecificDRX", FT_UINT32, BASE_DEC, VALS(xnap_UESpecificDRX_vals), 0, NULL, HFILL }}, { &hf_xnap_ULForwardingProposal_PDU, { "ULForwardingProposal", "xnap.ULForwardingProposal", FT_UINT32, BASE_DEC, VALS(xnap_ULForwardingProposal_vals), 0, NULL, HFILL }}, { &hf_xnap_UPTransportLayerInformation_PDU, { "UPTransportLayerInformation", "xnap.UPTransportLayerInformation", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, NULL, HFILL }}, { &hf_xnap_UPTransportParameters_PDU, { "UPTransportParameters", "xnap.UPTransportParameters", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_UserPlaneTrafficActivityReport_PDU, { "UserPlaneTrafficActivityReport", "xnap.UserPlaneTrafficActivityReport", FT_UINT32, BASE_DEC, VALS(xnap_UserPlaneTrafficActivityReport_vals), 0, NULL, HFILL }}, { &hf_xnap_URIaddress_PDU, { "URIaddress", "xnap.URIaddress", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnBenefitValue_PDU, { "XnBenefitValue", "xnap.XnBenefitValue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_HandoverRequest_PDU, { "HandoverRequest", "xnap.HandoverRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEContextInfoHORequest_PDU, { "UEContextInfoHORequest", "xnap.UEContextInfoHORequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEContextRefAtSN_HORequest_PDU, { "UEContextRefAtSN-HORequest", "xnap.UEContextRefAtSN_HORequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_HandoverRequestAcknowledge_PDU, { "HandoverRequestAcknowledge", "xnap.HandoverRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_Target2SourceNG_RANnodeTranspContainer_PDU, { "Target2SourceNG-RANnodeTranspContainer", "xnap.Target2SourceNG_RANnodeTranspContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_HandoverPreparationFailure_PDU, { "HandoverPreparationFailure", "xnap.HandoverPreparationFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNStatusTransfer_PDU, { "SNStatusTransfer", "xnap.SNStatusTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEContextRelease_PDU, { "UEContextRelease", "xnap.UEContextRelease_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_HandoverCancel_PDU, { "HandoverCancel", "xnap.HandoverCancel_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_HandoverSuccess_PDU, { "HandoverSuccess", "xnap.HandoverSuccess_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ConditionalHandoverCancel_PDU, { "ConditionalHandoverCancel", "xnap.ConditionalHandoverCancel_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_EarlyStatusTransfer_PDU, { "EarlyStatusTransfer", "xnap.EarlyStatusTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ProcedureStageChoice_PDU, { "ProcedureStageChoice", "xnap.ProcedureStageChoice", FT_UINT32, BASE_DEC, VALS(xnap_ProcedureStageChoice_vals), 0, NULL, HFILL }}, { &hf_xnap_RANPaging_PDU, { "RANPaging", "xnap.RANPaging_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RetrieveUEContextRequest_PDU, { "RetrieveUEContextRequest", "xnap.RetrieveUEContextRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RetrieveUEContextResponse_PDU, { "RetrieveUEContextResponse", "xnap.RetrieveUEContextResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RetrieveUEContextConfirm_PDU, { "RetrieveUEContextConfirm", "xnap.RetrieveUEContextConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RetrieveUEContextFailure_PDU, { "RetrieveUEContextFailure", "xnap.RetrieveUEContextFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_OldtoNewNG_RANnodeResumeContainer_PDU, { "OldtoNewNG-RANnodeResumeContainer", "xnap.OldtoNewNG_RANnodeResumeContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnUAddressIndication_PDU, { "XnUAddressIndication", "xnap.XnUAddressIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeAdditionRequest_PDU, { "SNodeAdditionRequest", "xnap.SNodeAdditionRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MN_to_SN_Container_PDU, { "MN-to-SN-Container", "xnap.MN_to_SN_Container", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionToBeAddedAddReq_PDU, { "PDUSessionToBeAddedAddReq", "xnap.PDUSessionToBeAddedAddReq", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_RequestedFastMCGRecoveryViaSRB3_PDU, { "RequestedFastMCGRecoveryViaSRB3", "xnap.RequestedFastMCGRecoveryViaSRB3", FT_UINT32, BASE_DEC, VALS(xnap_RequestedFastMCGRecoveryViaSRB3_vals), 0, NULL, HFILL }}, { &hf_xnap_SNodeAdditionRequestAcknowledge_PDU, { "SNodeAdditionRequestAcknowledge", "xnap.SNodeAdditionRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SN_to_MN_Container_PDU, { "SN-to-MN-Container", "xnap.SN_to_MN_Container", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionAdmittedAddedAddReqAck_PDU, { "PDUSessionAdmittedAddedAddReqAck", "xnap.PDUSessionAdmittedAddedAddReqAck", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionNotAdmittedAddReqAck_PDU, { "PDUSessionNotAdmittedAddReqAck", "xnap.PDUSessionNotAdmittedAddReqAck_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_AvailableFastMCGRecoveryViaSRB3_PDU, { "AvailableFastMCGRecoveryViaSRB3", "xnap.AvailableFastMCGRecoveryViaSRB3", FT_UINT32, BASE_DEC, VALS(xnap_AvailableFastMCGRecoveryViaSRB3_vals), 0, NULL, HFILL }}, { &hf_xnap_SNodeAdditionRequestReject_PDU, { "SNodeAdditionRequestReject", "xnap.SNodeAdditionRequestReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeReconfigurationComplete_PDU, { "SNodeReconfigurationComplete", "xnap.SNodeReconfigurationComplete_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ResponseInfo_ReconfCompl_PDU, { "ResponseInfo-ReconfCompl", "xnap.ResponseInfo_ReconfCompl_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeModificationRequest_PDU, { "SNodeModificationRequest", "xnap.SNodeModificationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEContextInfo_SNModRequest_PDU, { "UEContextInfo-SNModRequest", "xnap.UEContextInfo_SNModRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RequestedFastMCGRecoveryViaSRB3Release_PDU, { "RequestedFastMCGRecoveryViaSRB3Release", "xnap.RequestedFastMCGRecoveryViaSRB3Release", FT_UINT32, BASE_DEC, VALS(xnap_RequestedFastMCGRecoveryViaSRB3Release_vals), 0, NULL, HFILL }}, { &hf_xnap_SNodeModificationRequestAcknowledge_PDU, { "SNodeModificationRequestAcknowledge", "xnap.SNodeModificationRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionAdmitted_SNModResponse_PDU, { "PDUSessionAdmitted-SNModResponse", "xnap.PDUSessionAdmitted_SNModResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionNotAdmitted_SNModResponse_PDU, { "PDUSessionNotAdmitted-SNModResponse", "xnap.PDUSessionNotAdmitted_SNModResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionDataForwarding_SNModResponse_PDU, { "PDUSessionDataForwarding-SNModResponse", "xnap.PDUSessionDataForwarding_SNModResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ReleaseFastMCGRecoveryViaSRB3_PDU, { "ReleaseFastMCGRecoveryViaSRB3", "xnap.ReleaseFastMCGRecoveryViaSRB3", FT_UINT32, BASE_DEC, VALS(xnap_ReleaseFastMCGRecoveryViaSRB3_vals), 0, NULL, HFILL }}, { &hf_xnap_SNodeModificationRequestReject_PDU, { "SNodeModificationRequestReject", "xnap.SNodeModificationRequestReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeModificationRequired_PDU, { "SNodeModificationRequired", "xnap.SNodeModificationRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionToBeModifiedSNModRequired_PDU, { "PDUSessionToBeModifiedSNModRequired", "xnap.PDUSessionToBeModifiedSNModRequired", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionToBeReleasedSNModRequired_PDU, { "PDUSessionToBeReleasedSNModRequired", "xnap.PDUSessionToBeReleasedSNModRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeModificationConfirm_PDU, { "SNodeModificationConfirm", "xnap.SNodeModificationConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionAdmittedModSNModConfirm_PDU, { "PDUSessionAdmittedModSNModConfirm", "xnap.PDUSessionAdmittedModSNModConfirm", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionReleasedSNModConfirm_PDU, { "PDUSessionReleasedSNModConfirm", "xnap.PDUSessionReleasedSNModConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeModificationRefuse_PDU, { "SNodeModificationRefuse", "xnap.SNodeModificationRefuse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeReleaseRequest_PDU, { "SNodeReleaseRequest", "xnap.SNodeReleaseRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeReleaseRequestAcknowledge_PDU, { "SNodeReleaseRequestAcknowledge", "xnap.SNodeReleaseRequestAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionToBeReleasedList_RelReqAck_PDU, { "PDUSessionToBeReleasedList-RelReqAck", "xnap.PDUSessionToBeReleasedList_RelReqAck_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeReleaseReject_PDU, { "SNodeReleaseReject", "xnap.SNodeReleaseReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeReleaseRequired_PDU, { "SNodeReleaseRequired", "xnap.SNodeReleaseRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionToBeReleasedList_RelRqd_PDU, { "PDUSessionToBeReleasedList-RelRqd", "xnap.PDUSessionToBeReleasedList_RelRqd_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeReleaseConfirm_PDU, { "SNodeReleaseConfirm", "xnap.SNodeReleaseConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionReleasedList_RelConf_PDU, { "PDUSessionReleasedList-RelConf", "xnap.PDUSessionReleasedList_RelConf_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeCounterCheckRequest_PDU, { "SNodeCounterCheckRequest", "xnap.SNodeCounterCheckRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BearersSubjectToCounterCheck_List_PDU, { "BearersSubjectToCounterCheck-List", "xnap.BearersSubjectToCounterCheck_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeChangeRequired_PDU, { "SNodeChangeRequired", "xnap.SNodeChangeRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSession_SNChangeRequired_List_PDU, { "PDUSession-SNChangeRequired-List", "xnap.PDUSession_SNChangeRequired_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeChangeConfirm_PDU, { "SNodeChangeConfirm", "xnap.SNodeChangeConfirm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSession_SNChangeConfirm_List_PDU, { "PDUSession-SNChangeConfirm-List", "xnap.PDUSession_SNChangeConfirm_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNodeChangeRefuse_PDU, { "SNodeChangeRefuse", "xnap.SNodeChangeRefuse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RRCTransfer_PDU, { "RRCTransfer", "xnap.RRCTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SplitSRB_RRCTransfer_PDU, { "SplitSRB-RRCTransfer", "xnap.SplitSRB_RRCTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEReportRRCTransfer_PDU, { "UEReportRRCTransfer", "xnap.UEReportRRCTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_FastMCGRecoveryRRCTransfer_PDU, { "FastMCGRecoveryRRCTransfer", "xnap.FastMCGRecoveryRRCTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SDT_SRB_between_NewNode_OldNode_PDU, { "SDT-SRB-between-NewNode-OldNode", "xnap.SDT_SRB_between_NewNode_OldNode_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NotificationControlIndication_PDU, { "NotificationControlIndication", "xnap.NotificationControlIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionResourcesNotifyList_PDU, { "PDUSessionResourcesNotifyList", "xnap.PDUSessionResourcesNotifyList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ActivityNotification_PDU, { "ActivityNotification", "xnap.ActivityNotification_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionResourcesActivityNotifyList_PDU, { "PDUSessionResourcesActivityNotifyList", "xnap.PDUSessionResourcesActivityNotifyList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnSetupRequest_PDU, { "XnSetupRequest", "xnap.XnSetupRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnSetupResponse_PDU, { "XnSetupResponse", "xnap.XnSetupResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnSetupFailure_PDU, { "XnSetupFailure", "xnap.XnSetupFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NGRANNodeConfigurationUpdate_PDU, { "NGRANNodeConfigurationUpdate", "xnap.NGRANNodeConfigurationUpdate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ConfigurationUpdateInitiatingNodeChoice_PDU, { "ConfigurationUpdateInitiatingNodeChoice", "xnap.ConfigurationUpdateInitiatingNodeChoice", FT_UINT32, BASE_DEC, VALS(xnap_ConfigurationUpdateInitiatingNodeChoice_vals), 0, NULL, HFILL }}, { &hf_xnap_NGRANNodeConfigurationUpdateAcknowledge_PDU, { "NGRANNodeConfigurationUpdateAcknowledge", "xnap.NGRANNodeConfigurationUpdateAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RespondingNodeTypeConfigUpdateAck_PDU, { "RespondingNodeTypeConfigUpdateAck", "xnap.RespondingNodeTypeConfigUpdateAck", FT_UINT32, BASE_DEC, VALS(xnap_RespondingNodeTypeConfigUpdateAck_vals), 0, NULL, HFILL }}, { &hf_xnap_NGRANNodeConfigurationUpdateFailure_PDU, { "NGRANNodeConfigurationUpdateFailure", "xnap.NGRANNodeConfigurationUpdateFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_E_UTRA_NR_CellResourceCoordinationRequest_PDU, { "E-UTRA-NR-CellResourceCoordinationRequest", "xnap.E_UTRA_NR_CellResourceCoordinationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_InitiatingNodeType_ResourceCoordRequest_PDU, { "InitiatingNodeType-ResourceCoordRequest", "xnap.InitiatingNodeType_ResourceCoordRequest", FT_UINT32, BASE_DEC, VALS(xnap_InitiatingNodeType_ResourceCoordRequest_vals), 0, NULL, HFILL }}, { &hf_xnap_E_UTRA_NR_CellResourceCoordinationResponse_PDU, { "E-UTRA-NR-CellResourceCoordinationResponse", "xnap.E_UTRA_NR_CellResourceCoordinationResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RespondingNodeType_ResourceCoordResponse_PDU, { "RespondingNodeType-ResourceCoordResponse", "xnap.RespondingNodeType_ResourceCoordResponse", FT_UINT32, BASE_DEC, VALS(xnap_RespondingNodeType_ResourceCoordResponse_vals), 0, NULL, HFILL }}, { &hf_xnap_SecondaryRATDataUsageReport_PDU, { "SecondaryRATDataUsageReport", "xnap.SecondaryRATDataUsageReport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnRemovalRequest_PDU, { "XnRemovalRequest", "xnap.XnRemovalRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnRemovalResponse_PDU, { "XnRemovalResponse", "xnap.XnRemovalResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnRemovalFailure_PDU, { "XnRemovalFailure", "xnap.XnRemovalFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellActivationRequest_PDU, { "CellActivationRequest", "xnap.CellActivationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ServedCellsToActivate_PDU, { "ServedCellsToActivate", "xnap.ServedCellsToActivate", FT_UINT32, BASE_DEC, VALS(xnap_ServedCellsToActivate_vals), 0, NULL, HFILL }}, { &hf_xnap_CellActivationResponse_PDU, { "CellActivationResponse", "xnap.CellActivationResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ActivatedServedCells_PDU, { "ActivatedServedCells", "xnap.ActivatedServedCells", FT_UINT32, BASE_DEC, VALS(xnap_ActivatedServedCells_vals), 0, NULL, HFILL }}, { &hf_xnap_CellActivationFailure_PDU, { "CellActivationFailure", "xnap.CellActivationFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ResetRequest_PDU, { "ResetRequest", "xnap.ResetRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ResetResponse_PDU, { "ResetResponse", "xnap.ResetResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ErrorIndication_PDU, { "ErrorIndication", "xnap.ErrorIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PrivateMessage_PDU, { "PrivateMessage", "xnap.PrivateMessage_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TraceStart_PDU, { "TraceStart", "xnap.TraceStart_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_DeactivateTrace_PDU, { "DeactivateTrace", "xnap.DeactivateTrace_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_FailureIndication_PDU, { "FailureIndication", "xnap.FailureIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_HandoverReport_PDU, { "HandoverReport", "xnap.HandoverReport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ResourceStatusRequest_PDU, { "ResourceStatusRequest", "xnap.ResourceStatusRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ResourceStatusResponse_PDU, { "ResourceStatusResponse", "xnap.ResourceStatusResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ResourceStatusFailure_PDU, { "ResourceStatusFailure", "xnap.ResourceStatusFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ResourceStatusUpdate_PDU, { "ResourceStatusUpdate", "xnap.ResourceStatusUpdate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MobilityChangeRequest_PDU, { "MobilityChangeRequest", "xnap.MobilityChangeRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MobilityChangeAcknowledge_PDU, { "MobilityChangeAcknowledge", "xnap.MobilityChangeAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MobilityChangeFailure_PDU, { "MobilityChangeFailure", "xnap.MobilityChangeFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_AccessAndMobilityIndication_PDU, { "AccessAndMobilityIndication", "xnap.AccessAndMobilityIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellTrafficTrace_PDU, { "CellTrafficTrace", "xnap.CellTrafficTrace_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_RANMulticastGroupPaging_PDU, { "RANMulticastGroupPaging", "xnap.RANMulticastGroupPaging_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ScgFailureInformationReport_PDU, { "ScgFailureInformationReport", "xnap.ScgFailureInformationReport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ScgFailureTransfer_PDU, { "ScgFailureTransfer", "xnap.ScgFailureTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_F1CTrafficTransfer_PDU, { "F1CTrafficTransfer", "xnap.F1CTrafficTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTransportMigrationManagementRequest_PDU, { "IABTransportMigrationManagementRequest", "xnap.IABTransportMigrationManagementRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficToBeAddedList_PDU, { "TrafficToBeAddedList", "xnap.TrafficToBeAddedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficToBeModifiedList_PDU, { "TrafficToBeModifiedList", "xnap.TrafficToBeModifiedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTransportMigrationManagementResponse_PDU, { "IABTransportMigrationManagementResponse", "xnap.IABTransportMigrationManagementResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficAddedList_PDU, { "TrafficAddedList", "xnap.TrafficAddedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficModifiedList_PDU, { "TrafficModifiedList", "xnap.TrafficModifiedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficNotAddedList_PDU, { "TrafficNotAddedList", "xnap.TrafficNotAddedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficNotModifiedList_PDU, { "TrafficNotModifiedList", "xnap.TrafficNotModifiedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficReleasedList_PDU, { "TrafficReleasedList", "xnap.TrafficReleasedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTransportMigrationManagementReject_PDU, { "IABTransportMigrationManagementReject", "xnap.IABTransportMigrationManagementReject_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTransportMigrationModificationRequest_PDU, { "IABTransportMigrationModificationRequest", "xnap.IABTransportMigrationModificationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficRequiredToBeModifiedList_PDU, { "TrafficRequiredToBeModifiedList", "xnap.TrafficRequiredToBeModifiedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTNLAddressToBeReleasedList_PDU, { "IABTNLAddressToBeReleasedList", "xnap.IABTNLAddressToBeReleasedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTransportMigrationModificationResponse_PDU, { "IABTransportMigrationModificationResponse", "xnap.IABTransportMigrationModificationResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficRequiredModifiedList_PDU, { "TrafficRequiredModifiedList", "xnap.TrafficRequiredModifiedList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABResourceCoordinationRequest_PDU, { "IABResourceCoordinationRequest", "xnap.IABResourceCoordinationRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BoundaryNodeCellsList_PDU, { "BoundaryNodeCellsList", "xnap.BoundaryNodeCellsList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ParentNodeCellsList_PDU, { "ParentNodeCellsList", "xnap.ParentNodeCellsList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABResourceCoordinationResponse_PDU, { "IABResourceCoordinationResponse", "xnap.IABResourceCoordinationResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPCCancel_PDU, { "CPCCancel", "xnap.CPCCancel_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PartialUEContextTransfer_PDU, { "PartialUEContextTransfer", "xnap.PartialUEContextTransfer_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PartialUEContextTransferAcknowledge_PDU, { "PartialUEContextTransferAcknowledge", "xnap.PartialUEContextTransferAcknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PartialUEContextTransferFailure_PDU, { "PartialUEContextTransferFailure", "xnap.PartialUEContextTransferFailure_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnAP_PDU_PDU, { "XnAP-PDU", "xnap.XnAP_PDU", FT_UINT32, BASE_DEC, VALS(xnap_XnAP_PDU_vals), 0, NULL, HFILL }}, { &hf_xnap_local, { "local", "xnap.local", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_maxPrivateIEs", HFILL }}, { &hf_xnap_global, { "global", "xnap.global", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_xnap_ProtocolIE_Container_item, { "ProtocolIE-Field", "xnap.ProtocolIE_Field_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_id, { "id", "xnap.id", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &xnap_ProtocolIE_ID_vals_ext, 0, "ProtocolIE_ID", HFILL }}, { &hf_xnap_criticality, { "criticality", "xnap.criticality", FT_UINT32, BASE_DEC, VALS(xnap_Criticality_vals), 0, NULL, HFILL }}, { &hf_xnap_protocolIE_Field_value, { "value", "xnap.value_element", FT_NONE, BASE_NONE, NULL, 0, "ProtocolIE_Field_value", HFILL }}, { &hf_xnap_ProtocolExtensionContainer_item, { "ProtocolExtensionField", "xnap.ProtocolExtensionField_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_extension_id, { "id", "xnap.id", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &xnap_ProtocolIE_ID_vals_ext, 0, "ProtocolIE_ID", HFILL }}, { &hf_xnap_extensionValue, { "extensionValue", "xnap.extensionValue_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PrivateIE_Container_item, { "PrivateIE-Field", "xnap.PrivateIE_Field_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_private_id, { "id", "xnap.id", FT_UINT32, BASE_DEC, VALS(xnap_PrivateIE_ID_vals), 0, "PrivateIE_ID", HFILL }}, { &hf_xnap_privateIE_Field_value, { "value", "xnap.value_element", FT_NONE, BASE_NONE, NULL, 0, "PrivateIE_Field_value", HFILL }}, { &hf_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_item, { "AdditionalListofPDUSessionResourceChangeConfirmInfo-SNterminated-Item", "xnap.AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pDUSessionResourceChangeConfirmInfo_SNterminated, { "pDUSessionResourceChangeConfirmInfo-SNterminated", "xnap.pDUSessionResourceChangeConfirmInfo_SNterminated_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_iE_Extensions, { "iE-Extensions", "xnap.iE_Extensions", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolExtensionContainer", HFILL }}, { &hf_xnap_Additional_PDCP_Duplication_TNL_List_item, { "Additional-PDCP-Duplication-TNL-Item", "xnap.Additional_PDCP_Duplication_TNL_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_additional_PDCP_Duplication_UP_TNL_Information, { "additional-PDCP-Duplication-UP-TNL-Information", "xnap.additional_PDCP_Duplication_UP_TNL_Information", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_additional_UL_NG_U_TNLatUPF, { "additional-UL-NG-U-TNLatUPF", "xnap.additional_UL_NG_U_TNLatUPF", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_Additional_UL_NG_U_TNLatUPF_List_item, { "Additional-UL-NG-U-TNLatUPF-Item", "xnap.Additional_UL_NG_U_TNLatUPF_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_Additional_Measurement_Timing_Configuration_List_item, { "Additional-Measurement-Timing-Configuration-Item", "xnap.Additional_Measurement_Timing_Configuration_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_additionalMeasurementTimingConfigurationIndex, { "additionalMeasurementTimingConfigurationIndex", "xnap.additionalMeasurementTimingConfigurationIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_16", HFILL }}, { &hf_xnap_csi_RS_MTC_Configuration_List, { "csi-RS-MTC-Configuration-List", "xnap.csi_RS_MTC_Configuration_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_QoSFlowsToAdd_List, { "mBS-QoSFlowsToAdd-List", "xnap.mBS_QoSFlowsToAdd_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_ServiceArea, { "mBS-ServiceArea", "xnap.mBS_ServiceArea", FT_UINT32, BASE_DEC, VALS(xnap_MBS_ServiceArea_vals), 0, NULL, HFILL }}, { &hf_xnap_mBS_MappingandDataForwardingRequestInfofromSource, { "mBS-MappingandDataForwardingRequestInfofromSource", "xnap.mBS_MappingandDataForwardingRequestInfofromSource", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_priorityLevel, { "priorityLevel", "xnap.priorityLevel", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_15_", HFILL }}, { &hf_xnap_pre_emption_capability, { "pre-emption-capability", "xnap.pre_emption_capability", FT_UINT32, BASE_DEC, VALS(xnap_T_pre_emption_capability_vals), 0, NULL, HFILL }}, { &hf_xnap_pre_emption_vulnerability, { "pre-emption-vulnerability", "xnap.pre_emption_vulnerability", FT_UINT32, BASE_DEC, VALS(xnap_T_pre_emption_vulnerability_vals), 0, NULL, HFILL }}, { &hf_xnap_AllowedCAG_ID_List_perPLMN_item, { "CAG-Identifier", "xnap.CAG_Identifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_AllowedPNI_NPN_ID_List_item, { "AllowedPNI-NPN-ID-Item", "xnap.AllowedPNI_NPN_ID_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_plmn_id, { "plmn-id", "xnap.plmn_id", FT_BYTES, BASE_NONE, NULL, 0, "PLMN_Identity", HFILL }}, { &hf_xnap_pni_npn_restricted_information, { "pni-npn-restricted-information", "xnap.pni_npn_restricted_information", FT_UINT32, BASE_DEC, VALS(xnap_PNI_NPN_Restricted_Information_vals), 0, NULL, HFILL }}, { &hf_xnap_allowed_CAG_id_list_per_plmn, { "allowed-CAG-id-list-per-plmn", "xnap.allowed_CAG_id_list_per_plmn", FT_UINT32, BASE_DEC, NULL, 0, "AllowedCAG_ID_List_perPLMN", HFILL }}, { &hf_xnap_AlternativeQoSParaSetList_item, { "AlternativeQoSParaSetItem", "xnap.AlternativeQoSParaSetItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_alternativeQoSParaSetIndex, { "alternativeQoSParaSetIndex", "xnap.alternativeQoSParaSetIndex", FT_UINT32, BASE_DEC, NULL, 0, "QoSParaSetIndex", HFILL }}, { &hf_xnap_guaranteedFlowBitRateDL, { "guaranteedFlowBitRateDL", "xnap.guaranteedFlowBitRateDL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_guaranteedFlowBitRateUL, { "guaranteedFlowBitRateUL", "xnap.guaranteedFlowBitRateUL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_packetDelayBudget, { "packetDelayBudget", "xnap.packetDelayBudget", FT_UINT32, BASE_CUSTOM, CF_FUNC(xnap_PacketDelayBudget_fmt), 0, NULL, HFILL }}, { &hf_xnap_packetErrorRate, { "packetErrorRate", "xnap.packetErrorRate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_AMF_Region_Information_item, { "GlobalAMF-Region-Information", "xnap.GlobalAMF_Region_Information_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_plmn_ID, { "plmn-ID", "xnap.plmn_ID", FT_BYTES, BASE_NONE, NULL, 0, "PLMN_Identity", HFILL }}, { &hf_xnap_amf_region_id, { "amf-region-id", "xnap.amf_region_id", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_8", HFILL }}, { &hf_xnap_AreaOfInterestInformation_item, { "AreaOfInterest-Item", "xnap.AreaOfInterest_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_listOfTAIsinAoI, { "listOfTAIsinAoI", "xnap.listOfTAIsinAoI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_listOfCellsinAoI, { "listOfCellsinAoI", "xnap.listOfCellsinAoI", FT_UINT32, BASE_DEC, NULL, 0, "ListOfCells", HFILL }}, { &hf_xnap_listOfRANNodesinAoI, { "listOfRANNodesinAoI", "xnap.listOfRANNodesinAoI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_requestReferenceID, { "requestReferenceID", "xnap.requestReferenceID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_cellBased, { "cellBased", "xnap.cellBased_element", FT_NONE, BASE_NONE, NULL, 0, "CellBasedMDT_NR", HFILL }}, { &hf_xnap_tABased, { "tABased", "xnap.tABased_element", FT_NONE, BASE_NONE, NULL, 0, "TABasedMDT", HFILL }}, { &hf_xnap_tAIBased, { "tAIBased", "xnap.tAIBased_element", FT_NONE, BASE_NONE, NULL, 0, "TAIBasedMDT", HFILL }}, { &hf_xnap_choice_extension, { "choice-extension", "xnap.choice_extension_element", FT_NONE, BASE_NONE, NULL, 0, "ProtocolIE_Single_Container", HFILL }}, { &hf_xnap_cellBased_01, { "cellBased", "xnap.cellBased_element", FT_NONE, BASE_NONE, NULL, 0, "CellBasedMDT_EUTRA", HFILL }}, { &hf_xnap_AreaScopeOfNeighCellsList_item, { "AreaScopeOfNeighCellsItem", "xnap.AreaScopeOfNeighCellsItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nrFrequencyInfo, { "nrFrequencyInfo", "xnap.nrFrequencyInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pciListForMDT, { "pciListForMDT", "xnap.pciListForMDT", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_cellBased_02, { "cellBased", "xnap.cellBased_element", FT_NONE, BASE_NONE, NULL, 0, "CellBasedQMC", HFILL }}, { &hf_xnap_tABased_01, { "tABased", "xnap.tABased_element", FT_NONE, BASE_NONE, NULL, 0, "TABasedQMC", HFILL }}, { &hf_xnap_tAIBased_01, { "tAIBased", "xnap.tAIBased_element", FT_NONE, BASE_NONE, NULL, 0, "TAIBasedQMC", HFILL }}, { &hf_xnap_pLMNAreaBased, { "pLMNAreaBased", "xnap.pLMNAreaBased_element", FT_NONE, BASE_NONE, NULL, 0, "PLMNAreaBasedQMC", HFILL }}, { &hf_xnap_key_NG_RAN_Star, { "key-NG-RAN-Star", "xnap.key_NG_RAN_Star", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_256", HFILL }}, { &hf_xnap_ncc, { "ncc", "xnap.ncc", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_7", HFILL }}, { &hf_xnap_ran_paging_attempt_info, { "ran-paging-attempt-info", "xnap.ran_paging_attempt_info_element", FT_NONE, BASE_NONE, NULL, 0, "RANPagingAttemptInfo", HFILL }}, { &hf_xnap_Associated_QoSFlowInfo_List_item, { "Associated-QoSFlowInfo-Item", "xnap.Associated_QoSFlowInfo_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_QoSFlowIdentifier, { "mBS-QoSFlowIdentifier", "xnap.mBS_QoSFlowIdentifier", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowIdentifier", HFILL }}, { &hf_xnap_associatedUnicastQoSFlowIdentifier, { "associatedUnicastQoSFlowIdentifier", "xnap.associatedUnicastQoSFlowIdentifier", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowIdentifier", HFILL }}, { &hf_xnap_bufferLevel, { "bufferLevel", "xnap.bufferLevel", FT_UINT32, BASE_DEC, VALS(xnap_T_bufferLevel_vals), 0, NULL, HFILL }}, { &hf_xnap_playoutDelayForMediaStartup, { "playoutDelayForMediaStartup", "xnap.playoutDelayForMediaStartup", FT_UINT32, BASE_DEC, VALS(xnap_T_playoutDelayForMediaStartup_vals), 0, NULL, HFILL }}, { &hf_xnap_bAPAddress, { "bAPAddress", "xnap.bAPAddress", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_bAPPathID, { "bAPPathID", "xnap.bAPPathID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_beamMeasurementsReportQuantity, { "beamMeasurementsReportQuantity", "xnap.beamMeasurementsReportQuantity_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_maxNrofRS_IndexesToReport, { "maxNrofRS-IndexesToReport", "xnap.maxNrofRS_IndexesToReport", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_rSRP, { "rSRP", "xnap.rSRP", FT_UINT32, BASE_DEC, VALS(xnap_T_rSRP_vals), 0, NULL, HFILL }}, { &hf_xnap_rSRQ, { "rSRQ", "xnap.rSRQ", FT_UINT32, BASE_DEC, VALS(xnap_T_rSRQ_vals), 0, NULL, HFILL }}, { &hf_xnap_sINR, { "sINR", "xnap.sINR", FT_UINT32, BASE_DEC, VALS(xnap_T_sINR_vals), 0, NULL, HFILL }}, { &hf_xnap_BHInfoList_item, { "BHInfo-Item", "xnap.BHInfo_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_bHInfoIndex, { "bHInfoIndex", "xnap.bHInfoIndex", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_BAPControlPDURLCCH_List_item, { "BAPControlPDURLCCH-Item", "xnap.BAPControlPDURLCCH_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_bHRLCCHID, { "bHRLCCHID", "xnap.bHRLCCHID", FT_BYTES, BASE_NONE, NULL, 0, "BHRLCChannelID", HFILL }}, { &hf_xnap_nexthopBAPAddress, { "nexthopBAPAddress", "xnap.nexthopBAPAddress", FT_BYTES, BASE_NONE, NULL, 0, "BAPAddress", HFILL }}, { &hf_xnap_bluetoothMeasConfig, { "bluetoothMeasConfig", "xnap.bluetoothMeasConfig", FT_UINT32, BASE_DEC, VALS(xnap_BluetoothMeasConfig_vals), 0, NULL, HFILL }}, { &hf_xnap_bluetoothMeasConfigNameList, { "bluetoothMeasConfigNameList", "xnap.bluetoothMeasConfigNameList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_bt_rssi, { "bt-rssi", "xnap.bt_rssi", FT_UINT32, BASE_DEC, VALS(xnap_T_bt_rssi_vals), 0, "T_bt_rssi", HFILL }}, { &hf_xnap_BluetoothMeasConfigNameList_item, { "BluetoothName", "xnap.BluetoothName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BPLMN_ID_Info_EUTRA_item, { "BPLMN-ID-Info-EUTRA-Item", "xnap.BPLMN_ID_Info_EUTRA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_broadcastPLMNs, { "broadcastPLMNs", "xnap.broadcastPLMNs", FT_UINT32, BASE_DEC, NULL, 0, "BroadcastEUTRAPLMNs", HFILL }}, { &hf_xnap_tac, { "tac", "xnap.tac", FT_UINT24, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_e_utraCI, { "e-utraCI", "xnap.E_UTRA_Cell_Identity", FT_UINT32, BASE_HEX, NULL, 0xFFFFFFF0, "E_UTRA_Cell_Identity", HFILL }}, { &hf_xnap_ranac, { "ranac", "xnap.ranac", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_iE_Extension, { "iE-Extension", "xnap.iE_Extension", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolExtensionContainer", HFILL }}, { &hf_xnap_BPLMN_ID_Info_NR_item, { "BPLMN-ID-Info-NR-Item", "xnap.BPLMN_ID_Info_NR_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_broadcastPLMNs_01, { "broadcastPLMNs", "xnap.broadcastPLMNs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_nr_CI, { "nr-CI", "xnap.NR_Cell_Identity", FT_UINT40, BASE_HEX, NULL, 0xFFFFFFFFF0, "NR_Cell_Identity", HFILL }}, { &hf_xnap_BroadcastCAG_Identifier_List_item, { "BroadcastCAG-Identifier-Item", "xnap.BroadcastCAG_Identifier_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_cag_Identifier, { "cag-Identifier", "xnap.cag_Identifier", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BroadcastNID_List_item, { "BroadcastNID-Item", "xnap.BroadcastNID_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nid, { "nid", "xnap.nid", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BroadcastPLMNs_item, { "PLMN-Identity", "xnap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BroadcastEUTRAPLMNs_item, { "PLMN-Identity", "xnap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_tAISliceSupport_List, { "tAISliceSupport-List", "xnap.tAISliceSupport_List", FT_UINT32, BASE_DEC, NULL, 0, "SliceSupport_List", HFILL }}, { &hf_xnap_BroadcastPNI_NPN_ID_Information_item, { "BroadcastPNI-NPN-ID-Information-Item", "xnap.BroadcastPNI_NPN_ID_Information_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_broadcastCAG_Identifier_List, { "broadcastCAG-Identifier-List", "xnap.broadcastCAG_Identifier_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_BroadcastSNPNID_List_item, { "BroadcastSNPNID", "xnap.BroadcastSNPNID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_broadcastNID_List, { "broadcastNID-List", "xnap.broadcastNID_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_capacityValue, { "capacityValue", "xnap.capacityValue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ssbAreaCapacityValueList, { "ssbAreaCapacityValueList", "xnap.ssbAreaCapacityValueList", FT_UINT32, BASE_DEC, NULL, 0, "SSBAreaCapacityValue_List", HFILL }}, { &hf_xnap_radioNetwork, { "radioNetwork", "xnap.radioNetwork", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &xnap_CauseRadioNetworkLayer_vals_ext, 0, "CauseRadioNetworkLayer", HFILL }}, { &hf_xnap_transport, { "transport", "xnap.transport", FT_UINT32, BASE_DEC, VALS(xnap_CauseTransportLayer_vals), 0, "CauseTransportLayer", HFILL }}, { &hf_xnap_protocol, { "protocol", "xnap.protocol", FT_UINT32, BASE_DEC, VALS(xnap_CauseProtocol_vals), 0, "CauseProtocol", HFILL }}, { &hf_xnap_misc, { "misc", "xnap.misc", FT_UINT32, BASE_DEC, VALS(xnap_CauseMisc_vals), 0, "CauseMisc", HFILL }}, { &hf_xnap_limitedNR_List, { "limitedNR-List", "xnap.limitedNR_List", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI", HFILL }}, { &hf_xnap_limitedNR_List_item, { "NR-CGI", "xnap.NR_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_full_List, { "full-List", "xnap.full_List", FT_UINT32, BASE_DEC, VALS(xnap_T_full_List_vals), 0, NULL, HFILL }}, { &hf_xnap_maximumCellListSize, { "maximumCellListSize", "xnap.maximumCellListSize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_cellAssistanceInfo_NR, { "cellAssistanceInfo-NR", "xnap.cellAssistanceInfo_NR", FT_UINT32, BASE_DEC, VALS(xnap_CellAssistanceInfo_NR_vals), 0, NULL, HFILL }}, { &hf_xnap_cellAssistanceInfo_EUTRA, { "cellAssistanceInfo-EUTRA", "xnap.cellAssistanceInfo_EUTRA", FT_UINT32, BASE_DEC, VALS(xnap_CellAssistanceInfo_EUTRA_vals), 0, NULL, HFILL }}, { &hf_xnap_limitedEUTRA_List, { "limitedEUTRA-List", "xnap.limitedEUTRA_List", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI", HFILL }}, { &hf_xnap_limitedEUTRA_List_item, { "E-UTRA-CGI", "xnap.E_UTRA_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_full_List_01, { "full-List", "xnap.full_List", FT_UINT32, BASE_DEC, VALS(xnap_T_full_List_01_vals), 0, "T_full_List_01", HFILL }}, { &hf_xnap_cellIdListforMDT_NR, { "cellIdListforMDT-NR", "xnap.cellIdListforMDT_NR", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellIdListforMDT_NR_item, { "NR-CGI", "xnap.NR_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_cellIdListforQMC, { "cellIdListforQMC", "xnap.cellIdListforQMC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellIdListforQMC_item, { "GlobalNG-RANCell-ID", "xnap.GlobalNG_RANCell_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_cellIdListforMDT_EUTRA, { "cellIdListforMDT-EUTRA", "xnap.cellIdListforMDT_EUTRA", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellIdListforMDT_EUTRA_item, { "E-UTRA-CGI", "xnap.E_UTRA_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellMeasurementResult_item, { "CellMeasurementResult-Item", "xnap.CellMeasurementResult_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_cell_ID, { "cell-ID", "xnap.cell_ID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalNG_RANCell_ID", HFILL }}, { &hf_xnap_radioResourceStatus, { "radioResourceStatus", "xnap.radioResourceStatus", FT_UINT32, BASE_DEC, VALS(xnap_RadioResourceStatus_vals), 0, NULL, HFILL }}, { &hf_xnap_tNLCapacityIndicator, { "tNLCapacityIndicator", "xnap.tNLCapacityIndicator_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_compositeAvailableCapacityGroup, { "compositeAvailableCapacityGroup", "xnap.compositeAvailableCapacityGroup_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sliceAvailableCapacity, { "sliceAvailableCapacity", "xnap.sliceAvailableCapacity", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_numberofActiveUEs, { "numberofActiveUEs", "xnap.numberofActiveUEs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_rRCConnections, { "rRCConnections", "xnap.rRCConnections_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_replacingCells, { "replacingCells", "xnap.replacingCells", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CellToReport_item, { "CellToReport-Item", "xnap.CellToReport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sSBToReport_List, { "sSBToReport-List", "xnap.sSBToReport_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_sliceToReport_List, { "sliceToReport-List", "xnap.sliceToReport_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ng_ran_e_utra, { "ng-ran-e-utra", "xnap.E_UTRA_Cell_Identity", FT_UINT32, BASE_HEX, NULL, 0xFFFFFFF0, "E_UTRA_Cell_Identity", HFILL }}, { &hf_xnap_ng_ran_nr, { "ng-ran-nr", "xnap.NR_Cell_Identity", FT_UINT40, BASE_HEX, NULL, 0xFFFFFFFFF0, "NR_Cell_Identity", HFILL }}, { &hf_xnap_e_utran, { "e-utran", "xnap.E_UTRA_Cell_Identity", FT_UINT32, BASE_HEX, NULL, 0xFFFFFFF0, "E_UTRA_Cell_Identity", HFILL }}, { &hf_xnap_choCandidateCell_List, { "choCandidateCell-List", "xnap.choCandidateCell_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CHOCandidateCell_List_item, { "CHOCandidateCell-Item", "xnap.CHOCandidateCell_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_choCandidateCellID, { "choCandidateCellID", "xnap.choCandidateCellID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalNG_RANCell_ID", HFILL }}, { &hf_xnap_choExecutionCondition_List, { "choExecutionCondition-List", "xnap.choExecutionCondition_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CHOExecutionCondition_List_item, { "CHOExecutionCondition-Item", "xnap.CHOExecutionCondition_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_measObjectContainer, { "measObjectContainer", "xnap.measObjectContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_reportConfigContainer, { "reportConfigContainer", "xnap.reportConfigContainer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_compositeAvailableCapacityDownlink, { "compositeAvailableCapacityDownlink", "xnap.compositeAvailableCapacityDownlink_element", FT_NONE, BASE_NONE, NULL, 0, "CompositeAvailableCapacity", HFILL }}, { &hf_xnap_compositeAvailableCapacityUplink, { "compositeAvailableCapacityUplink", "xnap.compositeAvailableCapacityUplink_element", FT_NONE, BASE_NONE, NULL, 0, "CompositeAvailableCapacity", HFILL }}, { &hf_xnap_cellCapacityClassValue, { "cellCapacityClassValue", "xnap.cellCapacityClassValue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_capacityValueInfo, { "capacityValueInfo", "xnap.capacityValueInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_cho_trigger, { "cho-trigger", "xnap.cho_trigger", FT_UINT32, BASE_DEC, VALS(xnap_CHOtrigger_vals), 0, "CHOtrigger", HFILL }}, { &hf_xnap_targetNG_RANnodeUEXnAPID, { "targetNG-RANnodeUEXnAPID", "xnap.targetNG_RANnodeUEXnAPID", FT_UINT32, BASE_DEC, NULL, 0, "NG_RANnodeUEXnAPID", HFILL }}, { &hf_xnap_cHO_EstimatedArrivalProbability, { "cHO-EstimatedArrivalProbability", "xnap.cHO_EstimatedArrivalProbability", FT_UINT32, BASE_DEC, NULL, 0, "CHO_Probability", HFILL }}, { &hf_xnap_requestedTargetCellGlobalID, { "requestedTargetCellGlobalID", "xnap.requestedTargetCellGlobalID", FT_UINT32, BASE_DEC, VALS(xnap_Target_CGI_vals), 0, "Target_CGI", HFILL }}, { &hf_xnap_maxCHOoperations, { "maxCHOoperations", "xnap.maxCHOoperations", FT_UINT32, BASE_DEC, NULL, 0, "MaxCHOpreparations", HFILL }}, { &hf_xnap_source_M_NGRAN_node_ID, { "source-M-NGRAN-node-ID", "xnap.source_M_NGRAN_node_ID", FT_UINT32, BASE_DEC, VALS(xnap_GlobalNG_RANNode_ID_vals), 0, "GlobalNG_RANNode_ID", HFILL }}, { &hf_xnap_source_M_NGRAN_node_UE_XnAP_ID, { "source-M-NGRAN-node-UE-XnAP-ID", "xnap.source_M_NGRAN_node_UE_XnAP_ID", FT_UINT32, BASE_DEC, NULL, 0, "NG_RANnodeUEXnAPID", HFILL }}, { &hf_xnap_conditionalReconfig, { "conditionalReconfig", "xnap.conditionalReconfig", FT_UINT32, BASE_DEC, VALS(xnap_T_conditionalReconfig_vals), 0, NULL, HFILL }}, { &hf_xnap_eNDC_Support, { "eNDC-Support", "xnap.eNDC_Support", FT_UINT32, BASE_DEC, VALS(xnap_T_eNDC_Support_vals), 0, NULL, HFILL }}, { &hf_xnap_pdcp_SN12, { "pdcp-SN12", "xnap.pdcp_SN12", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_4095", HFILL }}, { &hf_xnap_hfn_PDCP_SN12, { "hfn-PDCP-SN12", "xnap.hfn_PDCP_SN12", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_1048575", HFILL }}, { &hf_xnap_pdcp_SN18, { "pdcp-SN18", "xnap.pdcp_SN18", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_262143", HFILL }}, { &hf_xnap_hfn_PDCP_SN18, { "hfn-PDCP-SN18", "xnap.hfn_PDCP_SN18", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_16383", HFILL }}, { &hf_xnap_Coverage_Modification_List_item, { "Coverage-Modification-List-Item", "xnap.Coverage_Modification_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_globalNG_RANCell_ID, { "globalNG-RANCell-ID", "xnap.globalNG_RANCell_ID_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalCell_ID", HFILL }}, { &hf_xnap_cellCoverageState, { "cellCoverageState", "xnap.cellCoverageState", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_63_", HFILL }}, { &hf_xnap_cellDeploymentStatusIndicator, { "cellDeploymentStatusIndicator", "xnap.cellDeploymentStatusIndicator", FT_UINT32, BASE_DEC, VALS(xnap_CellDeploymentStatusIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_cellReplacingInfo, { "cellReplacingInfo", "xnap.cellReplacingInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sSB_Coverage_Modification_List, { "sSB-Coverage-Modification-List", "xnap.sSB_Coverage_Modification_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_endpointIPAddress, { "endpointIPAddress", "xnap.endpointIPAddress", FT_BYTES, BASE_NONE, NULL, 0, "TransportLayerAddress", HFILL }}, { &hf_xnap_CPACcandidatePSCells_list_item, { "CPACcandidatePSCells-item", "xnap.CPACcandidatePSCells_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pscell_id, { "pscell-id", "xnap.pscell_id_element", FT_NONE, BASE_NONE, NULL, 0, "NR_CGI", HFILL }}, { &hf_xnap_max_no_of_pscells, { "max-no-of-pscells", "xnap.max_no_of_pscells", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_maxnoofPSCellCandidates_", HFILL }}, { &hf_xnap_cpac_EstimatedArrivalProbability, { "cpac-EstimatedArrivalProbability", "xnap.cpac_EstimatedArrivalProbability", FT_UINT32, BASE_DEC, NULL, 0, "CHO_Probability", HFILL }}, { &hf_xnap_candidate_pscells, { "candidate-pscells", "xnap.candidate_pscells", FT_UINT32, BASE_DEC, NULL, 0, "CPACcandidatePSCells_list", HFILL }}, { &hf_xnap_cpc_target_sn_required_list, { "cpc-target-sn-required-list", "xnap.cpc_target_sn_required_list", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPC_target_SN_required_list_item, { "CPC-target-SN-required-list-Item", "xnap.CPC_target_SN_required_list_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_target_S_NG_RANnodeID, { "target-S-NG-RANnodeID", "xnap.target_S_NG_RANnodeID", FT_UINT32, BASE_DEC, VALS(xnap_GlobalNG_RANNode_ID_vals), 0, "GlobalNG_RANNode_ID", HFILL }}, { &hf_xnap_cpc_indicator, { "cpc-indicator", "xnap.cpc_indicator", FT_UINT32, BASE_DEC, VALS(xnap_CPCindicator_vals), 0, "CPCindicator", HFILL }}, { &hf_xnap_sN_to_MN_Container, { "sN-to-MN-Container", "xnap.sN_to_MN_Container", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_cpc_target_sn_confirm_list, { "cpc-target-sn-confirm-list", "xnap.cpc_target_sn_confirm_list", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CPC_target_SN_confirm_list_item, { "CPC-target-SN-confirm-list-Item", "xnap.CPC_target_SN_confirm_list_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_max_no_of_pscells_01, { "max-no-of-pscells", "xnap.max_no_of_pscells", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_8_", HFILL }}, { &hf_xnap_cpc_target_sn_list, { "cpc-target-sn-list", "xnap.cpc_target_sn_list", FT_UINT32, BASE_DEC, NULL, 0, "CPC_target_SN_mod_list", HFILL }}, { &hf_xnap_CPC_target_SN_mod_list_item, { "CPC-target-SN-mod-item", "xnap.CPC_target_SN_mod_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_candidate_pscells_01, { "candidate-pscells", "xnap.candidate_pscells", FT_UINT32, BASE_DEC, NULL, 0, "CPCInformationUpdatePSCells_list", HFILL }}, { &hf_xnap_CPCInformationUpdatePSCells_list_item, { "CPCInformationUpdatePSCells-item", "xnap.CPCInformationUpdatePSCells_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_procedureCode, { "procedureCode", "xnap.procedureCode", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &xnap_ProcedureCode_vals_ext, 0, NULL, HFILL }}, { &hf_xnap_triggeringMessage, { "triggeringMessage", "xnap.triggeringMessage", FT_UINT32, BASE_DEC, VALS(xnap_TriggeringMessage_vals), 0, NULL, HFILL }}, { &hf_xnap_procedureCriticality, { "procedureCriticality", "xnap.procedureCriticality", FT_UINT32, BASE_DEC, VALS(xnap_Criticality_vals), 0, "Criticality", HFILL }}, { &hf_xnap_iEsCriticalityDiagnostics, { "iEsCriticalityDiagnostics", "xnap.iEsCriticalityDiagnostics", FT_UINT32, BASE_DEC, NULL, 0, "CriticalityDiagnostics_IE_List", HFILL }}, { &hf_xnap_CriticalityDiagnostics_IE_List_item, { "CriticalityDiagnostics-IE-List item", "xnap.CriticalityDiagnostics_IE_List_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_iECriticality, { "iECriticality", "xnap.iECriticality", FT_UINT32, BASE_DEC, VALS(xnap_Criticality_vals), 0, "Criticality", HFILL }}, { &hf_xnap_iE_ID, { "iE-ID", "xnap.iE_ID", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &xnap_ProtocolIE_ID_vals_ext, 0, "ProtocolIE_ID", HFILL }}, { &hf_xnap_typeOfError, { "typeOfError", "xnap.typeOfError", FT_UINT32, BASE_DEC, VALS(xnap_TypeOfError_vals), 0, NULL, HFILL }}, { &hf_xnap_CSI_RS_MTC_Configuration_List_item, { "CSI-RS-MTC-Configuration-Item", "xnap.CSI_RS_MTC_Configuration_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_csi_RS_Index, { "csi-RS-Index", "xnap.csi_RS_Index", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_95", HFILL }}, { &hf_xnap_csi_RS_Status, { "csi-RS-Status", "xnap.csi_RS_Status", FT_UINT32, BASE_DEC, VALS(xnap_T_csi_RS_Status_vals), 0, NULL, HFILL }}, { &hf_xnap_csi_RS_Neighbour_List, { "csi-RS-Neighbour-List", "xnap.csi_RS_Neighbour_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CSI_RS_Neighbour_List_item, { "CSI-RS-Neighbour-Item", "xnap.CSI_RS_Neighbour_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nr_cgi, { "nr-cgi", "xnap.nr_cgi_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_csi_RS_MTC_Neighbour_List, { "csi-RS-MTC-Neighbour-List", "xnap.csi_RS_MTC_Neighbour_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_CSI_RS_MTC_Neighbour_List_item, { "CSI-RS-MTC-Neighbour-Item", "xnap.CSI_RS_MTC_Neighbour_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_XnUAddressInfoperPDUSession_List_item, { "XnUAddressInfoperPDUSession-Item", "xnap.XnUAddressInfoperPDUSession_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pduSession_ID, { "pduSession-ID", "xnap.pduSession_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_dataForwardingInfoFromTargetNGRANnode, { "dataForwardingInfoFromTargetNGRANnode", "xnap.dataForwardingInfoFromTargetNGRANnode_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pduSessionResourceSetupCompleteInfo_SNterm, { "pduSessionResourceSetupCompleteInfo-SNterm", "xnap.pduSessionResourceSetupCompleteInfo_SNterm_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceBearerSetupCompleteInfo_SNterminated", HFILL }}, { &hf_xnap_dataForwardingInfoFromTargetE_UTRANnode_List, { "dataForwardingInfoFromTargetE-UTRANnode-List", "xnap.dataForwardingInfoFromTargetE_UTRANnode_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DataForwardingInfoFromTargetE_UTRANnode_List_item, { "DataForwardingInfoFromTargetE-UTRANnode-Item", "xnap.DataForwardingInfoFromTargetE_UTRANnode_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dlForwardingUPTNLInformation, { "dlForwardingUPTNLInformation", "xnap.dlForwardingUPTNLInformation", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_qosFlowsToBeForwarded_List, { "qosFlowsToBeForwarded-List", "xnap.qosFlowsToBeForwarded_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsToBeForwarded_List_item, { "QoSFlowsToBeForwarded-Item", "xnap.QoSFlowsToBeForwarded_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qosFlowIdentifier, { "qosFlowIdentifier", "xnap.qosFlowIdentifier", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_qosFlowsAcceptedForDataForwarding_List, { "qosFlowsAcceptedForDataForwarding-List", "xnap.qosFlowsAcceptedForDataForwarding_List", FT_UINT32, BASE_DEC, NULL, 0, "QoSFLowsAcceptedToBeForwarded_List", HFILL }}, { &hf_xnap_pduSessionLevelDLDataForwardingInfo, { "pduSessionLevelDLDataForwardingInfo", "xnap.pduSessionLevelDLDataForwardingInfo", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_pduSessionLevelULDataForwardingInfo, { "pduSessionLevelULDataForwardingInfo", "xnap.pduSessionLevelULDataForwardingInfo", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_dataForwardingResponseDRBItemList, { "dataForwardingResponseDRBItemList", "xnap.dataForwardingResponseDRBItemList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFLowsAcceptedToBeForwarded_List_item, { "QoSFLowsAcceptedToBeForwarded-Item", "xnap.QoSFLowsAcceptedToBeForwarded_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qosFlowsToBeForwarded, { "qosFlowsToBeForwarded", "xnap.qosFlowsToBeForwarded", FT_UINT32, BASE_DEC, NULL, 0, "QoSFLowsToBeForwarded_List", HFILL }}, { &hf_xnap_sourceDRBtoQoSFlowMapping, { "sourceDRBtoQoSFlowMapping", "xnap.sourceDRBtoQoSFlowMapping", FT_UINT32, BASE_DEC, NULL, 0, "DRBToQoSFlowMapping_List", HFILL }}, { &hf_xnap_QoSFLowsToBeForwarded_List_item, { "QoSFLowsToBeForwarded-Item", "xnap.QoSFLowsToBeForwarded_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dl_dataforwarding, { "dl-dataforwarding", "xnap.dl_dataforwarding", FT_UINT32, BASE_DEC, VALS(xnap_DLForwarding_vals), 0, "DLForwarding", HFILL }}, { &hf_xnap_ul_dataforwarding, { "ul-dataforwarding", "xnap.ul_dataforwarding", FT_UINT32, BASE_DEC, VALS(xnap_ULForwarding_vals), 0, "ULForwarding", HFILL }}, { &hf_xnap_DataForwardingResponseDRBItemList_item, { "DataForwardingResponseDRBItem", "xnap.DataForwardingResponseDRBItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_drb_ID, { "drb-ID", "xnap.drb_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_dlForwardingUPTNL, { "dlForwardingUPTNL", "xnap.dlForwardingUPTNL", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_ulForwardingUPTNL, { "ulForwardingUPTNL", "xnap.ulForwardingUPTNL", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_activationSFN, { "activationSFN", "xnap.activationSFN", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_sharedResourceType, { "sharedResourceType", "xnap.sharedResourceType", FT_UINT32, BASE_DEC, VALS(xnap_SharedResourceType_vals), 0, NULL, HFILL }}, { &hf_xnap_reservedSubframePattern, { "reservedSubframePattern", "xnap.reservedSubframePattern_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dapsIndicator, { "dapsIndicator", "xnap.dapsIndicator", FT_UINT32, BASE_DEC, VALS(xnap_T_dapsIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_DAPSResponseInfo_List_item, { "DAPSResponseInfo-Item", "xnap.DAPSResponseInfo_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_drbID, { "drbID", "xnap.drbID", FT_UINT32, BASE_DEC, NULL, 0, "DRB_ID", HFILL }}, { &hf_xnap_dapsResponseIndicator, { "dapsResponseIndicator", "xnap.dapsResponseIndicator", FT_UINT32, BASE_DEC, VALS(xnap_T_dapsResponseIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_count12bits, { "count12bits", "xnap.count12bits_element", FT_NONE, BASE_NONE, NULL, 0, "COUNT_PDCP_SN12", HFILL }}, { &hf_xnap_count18bits, { "count18bits", "xnap.count18bits_element", FT_NONE, BASE_NONE, NULL, 0, "COUNT_PDCP_SN18", HFILL }}, { &hf_xnap_egressBAPRoutingID, { "egressBAPRoutingID", "xnap.egressBAPRoutingID_element", FT_NONE, BASE_NONE, NULL, 0, "BAPRoutingID", HFILL }}, { &hf_xnap_egressBHRLCCHID, { "egressBHRLCCHID", "xnap.egressBHRLCCHID", FT_BYTES, BASE_NONE, NULL, 0, "BHRLCChannelID", HFILL }}, { &hf_xnap_ingressBAPRoutingID, { "ingressBAPRoutingID", "xnap.ingressBAPRoutingID_element", FT_NONE, BASE_NONE, NULL, 0, "BAPRoutingID", HFILL }}, { &hf_xnap_ingressBHRLCCHID, { "ingressBHRLCCHID", "xnap.ingressBHRLCCHID", FT_BYTES, BASE_NONE, NULL, 0, "BHRLCChannelID", HFILL }}, { &hf_xnap_priorhopBAPAddress, { "priorhopBAPAddress", "xnap.priorhopBAPAddress", FT_BYTES, BASE_NONE, NULL, 0, "BAPAddress", HFILL }}, { &hf_xnap_iabqosMappingInformation, { "iabqosMappingInformation", "xnap.iabqosMappingInformation_element", FT_NONE, BASE_NONE, NULL, 0, "IAB_QoS_Mapping_Information", HFILL }}, { &hf_xnap_DRB_List_item, { "DRB-ID", "xnap.DRB_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DRB_List_withCause_item, { "DRB-List-withCause-Item", "xnap.DRB_List_withCause_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_drb_id, { "drb-id", "xnap.drb_id", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_cause, { "cause", "xnap.cause", FT_UINT32, BASE_DEC, VALS(xnap_Cause_vals), 0, NULL, HFILL }}, { &hf_xnap_rLC_Mode, { "rLC-Mode", "xnap.rLC_Mode", FT_UINT32, BASE_DEC, VALS(xnap_RLCMode_vals), 0, "RLCMode", HFILL }}, { &hf_xnap_DRBsSubjectToDLDiscarding_List_item, { "DRBsSubjectToDLDiscarding-Item", "xnap.DRBsSubjectToDLDiscarding_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dlCount, { "dlCount", "xnap.dlCount", FT_UINT32, BASE_DEC, VALS(xnap_DLCountChoice_vals), 0, "DLCountChoice", HFILL }}, { &hf_xnap_DRBsSubjectToEarlyStatusTransfer_List_item, { "DRBsSubjectToEarlyStatusTransfer-Item", "xnap.DRBsSubjectToEarlyStatusTransfer_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_DRBsSubjectToStatusTransfer_List_item, { "DRBsSubjectToStatusTransfer-Item", "xnap.DRBsSubjectToStatusTransfer_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pdcpStatusTransfer_UL, { "pdcpStatusTransfer-UL", "xnap.pdcpStatusTransfer_UL", FT_UINT32, BASE_DEC, VALS(xnap_DRBBStatusTransferChoice_vals), 0, "DRBBStatusTransferChoice", HFILL }}, { &hf_xnap_pdcpStatusTransfer_DL, { "pdcpStatusTransfer-DL", "xnap.pdcpStatusTransfer_DL", FT_UINT32, BASE_DEC, VALS(xnap_DRBBStatusTransferChoice_vals), 0, "DRBBStatusTransferChoice", HFILL }}, { &hf_xnap_pdcp_sn_12bits, { "pdcp-sn-12bits", "xnap.pdcp_sn_12bits_element", FT_NONE, BASE_NONE, NULL, 0, "DRBBStatusTransfer12bitsSN", HFILL }}, { &hf_xnap_pdcp_sn_18bits, { "pdcp-sn-18bits", "xnap.pdcp_sn_18bits_element", FT_NONE, BASE_NONE, NULL, 0, "DRBBStatusTransfer18bitsSN", HFILL }}, { &hf_xnap_receiveStatusofPDCPSDU, { "receiveStatusofPDCPSDU", "xnap.receiveStatusofPDCPSDU", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_1_2048", HFILL }}, { &hf_xnap_cOUNTValue, { "cOUNTValue", "xnap.cOUNTValue_element", FT_NONE, BASE_NONE, NULL, 0, "COUNT_PDCP_SN12", HFILL }}, { &hf_xnap_receiveStatusofPDCPSDU_01, { "receiveStatusofPDCPSDU", "xnap.receiveStatusofPDCPSDU", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_1_131072", HFILL }}, { &hf_xnap_cOUNTValue_01, { "cOUNTValue", "xnap.cOUNTValue_element", FT_NONE, BASE_NONE, NULL, 0, "COUNT_PDCP_SN18", HFILL }}, { &hf_xnap_DRBToQoSFlowMapping_List_item, { "DRBToQoSFlowMapping-Item", "xnap.DRBToQoSFlowMapping_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qosFlows_List, { "qosFlows-List", "xnap.qosFlows_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_DUF_Slot_Config_List_item, { "DUF-Slot-Config-Item", "xnap.DUF_Slot_Config_Item", FT_UINT32, BASE_DEC, VALS(xnap_DUF_Slot_Config_Item_vals), 0, NULL, HFILL }}, { &hf_xnap_explicitFormat, { "explicitFormat", "xnap.explicitFormat_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_implicitFormat, { "implicitFormat", "xnap.implicitFormat_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_priorityLevelQoS, { "priorityLevelQoS", "xnap.priorityLevelQoS", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_fiveQI, { "fiveQI", "xnap.fiveQI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_delayCritical, { "delayCritical", "xnap.delayCritical", FT_UINT32, BASE_DEC, VALS(xnap_T_delayCritical_vals), 0, NULL, HFILL }}, { &hf_xnap_averagingWindow, { "averagingWindow", "xnap.averagingWindow", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_milliseconds, 0, NULL, HFILL }}, { &hf_xnap_maximumDataBurstVolume, { "maximumDataBurstVolume", "xnap.maximumDataBurstVolume", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_byte_bytes, 0, NULL, HFILL }}, { &hf_xnap_e_utra_CI, { "e-utra-CI", "xnap.E_UTRA_Cell_Identity", FT_UINT32, BASE_HEX, NULL, 0xFFFFFFF0, "E_UTRA_Cell_Identity", HFILL }}, { &hf_xnap_E_UTRAMultibandInfoList_item, { "E-UTRAFrequencyBandIndicator", "xnap.E_UTRAFrequencyBandIndicator", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_eutrapaging_eDRX_Cycle, { "eutrapaging-eDRX-Cycle", "xnap.eutrapaging_eDRX_Cycle", FT_UINT32, BASE_DEC, VALS(xnap_EUTRAPaging_eDRX_Cycle_vals), 0, NULL, HFILL }}, { &hf_xnap_eutrapaging_Time_Window, { "eutrapaging-Time-Window", "xnap.eutrapaging_Time_Window", FT_UINT32, BASE_DEC, VALS(xnap_EUTRAPaging_Time_Window_vals), 0, NULL, HFILL }}, { &hf_xnap_rootSequenceIndex, { "rootSequenceIndex", "xnap.rootSequenceIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_837", HFILL }}, { &hf_xnap_zeroCorrelationIndex, { "zeroCorrelationIndex", "xnap.zeroCorrelationIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_15", HFILL }}, { &hf_xnap_highSpeedFlag, { "highSpeedFlag", "xnap.highSpeedFlag", FT_UINT32, BASE_DEC, VALS(xnap_T_highSpeedFlag_vals), 0, NULL, HFILL }}, { &hf_xnap_prach_FreqOffset, { "prach-FreqOffset", "xnap.prach_FreqOffset", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_94", HFILL }}, { &hf_xnap_prach_ConfigIndex, { "prach-ConfigIndex", "xnap.prach_ConfigIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_63", HFILL }}, { &hf_xnap_portNumber, { "portNumber", "xnap.portNumber", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_loggedEventTriggeredConfig, { "loggedEventTriggeredConfig", "xnap.loggedEventTriggeredConfig_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_outOfCoverage, { "outOfCoverage", "xnap.outOfCoverage", FT_UINT32, BASE_DEC, VALS(xnap_T_outOfCoverage_vals), 0, NULL, HFILL }}, { &hf_xnap_eventL1, { "eventL1", "xnap.eventL1_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_choice_Extensions, { "choice-Extensions", "xnap.choice_Extensions_element", FT_NONE, BASE_NONE, NULL, 0, "ProtocolIE_Single_Container", HFILL }}, { &hf_xnap_l1Threshold, { "l1Threshold", "xnap.l1Threshold", FT_UINT32, BASE_DEC, VALS(xnap_MeasurementThresholdL1LoggedMDT_vals), 0, "MeasurementThresholdL1LoggedMDT", HFILL }}, { &hf_xnap_hysteresis, { "hysteresis", "xnap.hysteresis", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_timeToTrigger, { "timeToTrigger", "xnap.timeToTrigger", FT_UINT32, BASE_DEC, VALS(xnap_TimeToTrigger_vals), 0, NULL, HFILL }}, { &hf_xnap_threshold_RSRP, { "threshold-RSRP", "xnap.threshold_RSRP", FT_UINT32, BASE_CUSTOM, CF_FUNC(xnap_Threshold_RSRP_fmt), 0, NULL, HFILL }}, { &hf_xnap_threshold_RSRQ, { "threshold-RSRQ", "xnap.threshold_RSRQ", FT_UINT32, BASE_CUSTOM, CF_FUNC(xnap_Threshold_RSRQ_fmt), 0, NULL, HFILL }}, { &hf_xnap_ExcessPacketDelayThresholdConfiguration_item, { "ExcessPacketDelayThresholdItem", "xnap.ExcessPacketDelayThresholdItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_excessPacketDelayThresholdValue, { "excessPacketDelayThresholdValue", "xnap.excessPacketDelayThresholdValue", FT_UINT32, BASE_DEC, VALS(xnap_ExcessPacketDelayThresholdValue_vals), 0, NULL, HFILL }}, { &hf_xnap_expectedActivityPeriod, { "expectedActivityPeriod", "xnap.expectedActivityPeriod", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, NULL, HFILL }}, { &hf_xnap_expectedIdlePeriod, { "expectedIdlePeriod", "xnap.expectedIdlePeriod", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, NULL, HFILL }}, { &hf_xnap_sourceOfUEActivityBehaviourInformation, { "sourceOfUEActivityBehaviourInformation", "xnap.sourceOfUEActivityBehaviourInformation", FT_UINT32, BASE_DEC, VALS(xnap_SourceOfUEActivityBehaviourInformation_vals), 0, NULL, HFILL }}, { &hf_xnap_expectedUEActivityBehaviour, { "expectedUEActivityBehaviour", "xnap.expectedUEActivityBehaviour_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_expectedHOInterval, { "expectedHOInterval", "xnap.expectedHOInterval", FT_UINT32, BASE_DEC, VALS(xnap_ExpectedHOInterval_vals), 0, NULL, HFILL }}, { &hf_xnap_expectedUEMobility, { "expectedUEMobility", "xnap.expectedUEMobility", FT_UINT32, BASE_DEC, VALS(xnap_ExpectedUEMobility_vals), 0, NULL, HFILL }}, { &hf_xnap_expectedUEMovingTrajectory, { "expectedUEMovingTrajectory", "xnap.expectedUEMovingTrajectory", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExpectedUEMovingTrajectory_item, { "ExpectedUEMovingTrajectoryItem", "xnap.ExpectedUEMovingTrajectoryItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nGRAN_CGI, { "nGRAN-CGI", "xnap.nGRAN_CGI_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalNG_RANCell_ID", HFILL }}, { &hf_xnap_timeStayedInCell, { "timeStayedInCell", "xnap.timeStayedInCell", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_seconds, 0, "INTEGER_0_4095", HFILL }}, { &hf_xnap_permutation, { "permutation", "xnap.permutation", FT_UINT32, BASE_DEC, VALS(xnap_Permutation_vals), 0, NULL, HFILL }}, { &hf_xnap_noofDownlinkSymbols, { "noofDownlinkSymbols", "xnap.noofDownlinkSymbols", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_14", HFILL }}, { &hf_xnap_noofUplinkSymbols, { "noofUplinkSymbols", "xnap.noofUplinkSymbols", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_14", HFILL }}, { &hf_xnap_primaryRATRestriction, { "primaryRATRestriction", "xnap.primaryRATRestriction", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_secondaryRATRestriction, { "secondaryRATRestriction", "xnap.secondaryRATRestriction", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExtendedSliceSupportList_item, { "S-NSSAI", "xnap.S_NSSAI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ExtTLAs_item, { "ExtTLA-Item", "xnap.ExtTLA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_iPsecTLA, { "iPsecTLA", "xnap.iPsecTLA", FT_BYTES, BASE_NONE, NULL, 0, "TransportLayerAddress", HFILL }}, { &hf_xnap_gTPTransportLayerAddresses, { "gTPTransportLayerAddresses", "xnap.gTPTransportLayerAddresses", FT_UINT32, BASE_DEC, NULL, 0, "GTPTLAs", HFILL }}, { &hf_xnap_GTPTLAs_item, { "GTPTLA-Item", "xnap.GTPTLA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_gTPTransportLayerAddresses_01, { "gTPTransportLayerAddresses", "xnap.gTPTransportLayerAddresses", FT_BYTES, BASE_NONE, NULL, 0, "TransportLayerAddress", HFILL }}, { &hf_xnap_f1TerminatingBHInformation_List, { "f1TerminatingBHInformation-List", "xnap.f1TerminatingBHInformation_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_F1TerminatingBHInformation_List_item, { "F1TerminatingBHInformation-Item", "xnap.F1TerminatingBHInformation_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dLTNLAddress, { "dLTNLAddress", "xnap.dLTNLAddress", FT_UINT32, BASE_DEC, VALS(xnap_IABTNLAddress_vals), 0, "IABTNLAddress", HFILL }}, { &hf_xnap_dlF1TerminatingBHInfo, { "dlF1TerminatingBHInfo", "xnap.dlF1TerminatingBHInfo_element", FT_NONE, BASE_NONE, NULL, 0, "DLF1Terminating_BHInfo", HFILL }}, { &hf_xnap_ulF1TerminatingBHInfo, { "ulF1TerminatingBHInfo", "xnap.ulF1TerminatingBHInfo_element", FT_NONE, BASE_NONE, NULL, 0, "ULF1Terminating_BHInfo", HFILL }}, { &hf_xnap_fiveGproSeDirectDiscovery, { "fiveGproSeDirectDiscovery", "xnap.fiveGproSeDirectDiscovery", FT_UINT32, BASE_DEC, VALS(xnap_FiveGProSeDirectDiscovery_vals), 0, NULL, HFILL }}, { &hf_xnap_fiveGproSeDirectCommunication, { "fiveGproSeDirectCommunication", "xnap.fiveGproSeDirectCommunication", FT_UINT32, BASE_DEC, VALS(xnap_FiveGProSeDirectCommunication_vals), 0, NULL, HFILL }}, { &hf_xnap_fiveGnrProSeLayer2UEtoNetworkRelay, { "fiveGnrProSeLayer2UEtoNetworkRelay", "xnap.fiveGnrProSeLayer2UEtoNetworkRelay", FT_UINT32, BASE_DEC, VALS(xnap_FiveGProSeLayer2UEtoNetworkRelay_vals), 0, "FiveGProSeLayer2UEtoNetworkRelay", HFILL }}, { &hf_xnap_fiveGnrProSeLayer3UEtoNetworkRelay, { "fiveGnrProSeLayer3UEtoNetworkRelay", "xnap.fiveGnrProSeLayer3UEtoNetworkRelay", FT_UINT32, BASE_DEC, VALS(xnap_FiveGProSeLayer3UEtoNetworkRelay_vals), 0, "FiveGProSeLayer3UEtoNetworkRelay", HFILL }}, { &hf_xnap_fiveGnrProSeLayer2RemoteUE, { "fiveGnrProSeLayer2RemoteUE", "xnap.fiveGnrProSeLayer2RemoteUE", FT_UINT32, BASE_DEC, VALS(xnap_FiveGProSeLayer2RemoteUE_vals), 0, "FiveGProSeLayer2RemoteUE", HFILL }}, { &hf_xnap_fiveGProSepc5QoSFlowList, { "fiveGProSepc5QoSFlowList", "xnap.fiveGProSepc5QoSFlowList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_fiveGproSepc5LinkAggregateBitRates, { "fiveGproSepc5LinkAggregateBitRates", "xnap.fiveGproSepc5LinkAggregateBitRates", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_FiveGProSePC5QoSFlowList_item, { "FiveGProSePC5QoSFlowItem", "xnap.FiveGProSePC5QoSFlowItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_fiveGproSepQI, { "fiveGproSepQI", "xnap.fiveGproSepQI", FT_UINT32, BASE_DEC, NULL, 0, "FiveQI", HFILL }}, { &hf_xnap_fiveGproSepc5FlowBitRates, { "fiveGproSepc5FlowBitRates", "xnap.fiveGproSepc5FlowBitRates_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_fiveGproSerange, { "fiveGproSerange", "xnap.fiveGproSerange", FT_UINT32, BASE_DEC, VALS(xnap_Range_vals), 0, "Range", HFILL }}, { &hf_xnap_fiveGproSeguaranteedFlowBitRate, { "fiveGproSeguaranteedFlowBitRate", "xnap.fiveGproSeguaranteedFlowBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_fiveGproSemaximumFlowBitRate, { "fiveGproSemaximumFlowBitRate", "xnap.fiveGproSemaximumFlowBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_Flows_Mapped_To_DRB_List_item, { "Flows-Mapped-To-DRB-Item", "xnap.Flows_Mapped_To_DRB_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qoSFlowIdentifier, { "qoSFlowIdentifier", "xnap.qoSFlowIdentifier", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_qoSFlowLevelQoSParameters, { "qoSFlowLevelQoSParameters", "xnap.qoSFlowLevelQoSParameters_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qoSFlowMappingIndication, { "qoSFlowMappingIndication", "xnap.qoSFlowMappingIndication", FT_UINT32, BASE_DEC, VALS(xnap_QoSFlowMappingIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_FreqDomainHSNAconfiguration_List_item, { "FreqDomainHSNAconfiguration-List-Item", "xnap.FreqDomainHSNAconfiguration_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rBsetIndex, { "rBsetIndex", "xnap.rBsetIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_maxnoofRBsetsPerCell1_", HFILL }}, { &hf_xnap_freqDomainSlotHSNAconfiguration_List, { "freqDomainSlotHSNAconfiguration-List", "xnap.freqDomainSlotHSNAconfiguration_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_FreqDomainSlotHSNAconfiguration_List_item, { "FreqDomainSlotHSNAconfiguration-List-Item", "xnap.FreqDomainSlotHSNAconfiguration_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_slotIndex, { "slotIndex", "xnap.slotIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_maxnoofHSNASlots", HFILL }}, { &hf_xnap_hSNADownlink, { "hSNADownlink", "xnap.hSNADownlink", FT_UINT32, BASE_DEC, VALS(xnap_HSNADownlink_vals), 0, NULL, HFILL }}, { &hf_xnap_hSNAUplink, { "hSNAUplink", "xnap.hSNAUplink", FT_UINT32, BASE_DEC, VALS(xnap_HSNAUplink_vals), 0, NULL, HFILL }}, { &hf_xnap_hSNAFlexible, { "hSNAFlexible", "xnap.hSNAFlexible", FT_UINT32, BASE_DEC, VALS(xnap_HSNAFlexible_vals), 0, NULL, HFILL }}, { &hf_xnap_maxFlowBitRateDL, { "maxFlowBitRateDL", "xnap.maxFlowBitRateDL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_maxFlowBitRateUL, { "maxFlowBitRateUL", "xnap.maxFlowBitRateUL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_notificationControl, { "notificationControl", "xnap.notificationControl", FT_UINT32, BASE_DEC, VALS(xnap_T_notificationControl_vals), 0, NULL, HFILL }}, { &hf_xnap_maxPacketLossRateDL, { "maxPacketLossRateDL", "xnap.maxPacketLossRateDL", FT_UINT32, BASE_CUSTOM, CF_FUNC(xnap_PacketLossRate_fmt), 0, "PacketLossRate", HFILL }}, { &hf_xnap_maxPacketLossRateUL, { "maxPacketLossRateUL", "xnap.maxPacketLossRateUL", FT_UINT32, BASE_CUSTOM, CF_FUNC(xnap_PacketLossRate_fmt), 0, "PacketLossRate", HFILL }}, { &hf_xnap_gnb_id, { "gnb-id", "xnap.gnb_id", FT_UINT32, BASE_DEC, VALS(xnap_GNB_ID_Choice_vals), 0, "GNB_ID_Choice", HFILL }}, { &hf_xnap_subcarrierSpacing, { "subcarrierSpacing", "xnap.subcarrierSpacing", FT_UINT32, BASE_DEC, VALS(xnap_SSB_subcarrierSpacing_vals), 0, "SSB_subcarrierSpacing", HFILL }}, { &hf_xnap_dUFTransmissionPeriodicity, { "dUFTransmissionPeriodicity", "xnap.dUFTransmissionPeriodicity", FT_UINT32, BASE_DEC, VALS(xnap_DUFTransmissionPeriodicity_vals), 0, NULL, HFILL }}, { &hf_xnap_dUF_Slot_Config_List, { "dUF-Slot-Config-List", "xnap.dUF_Slot_Config_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_hSNATransmissionPeriodicity, { "hSNATransmissionPeriodicity", "xnap.hSNATransmissionPeriodicity", FT_UINT32, BASE_DEC, VALS(xnap_HSNATransmissionPeriodicity_vals), 0, NULL, HFILL }}, { &hf_xnap_hNSASlotConfigList, { "hNSASlotConfigList", "xnap.hNSASlotConfigList", FT_UINT32, BASE_DEC, NULL, 0, "HSNASlotConfigList", HFILL }}, { &hf_xnap_rBsetConfiguration, { "rBsetConfiguration", "xnap.rBsetConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_freqDomainHSNAconfiguration_List, { "freqDomainHSNAconfiguration-List", "xnap.freqDomainHSNAconfiguration_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_nACellResourceConfigurationList, { "nACellResourceConfigurationList", "xnap.nACellResourceConfigurationList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_gnb_ID, { "gnb-ID", "xnap.gnb_ID", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_22_32", HFILL }}, { &hf_xnap_ssbAreaRadioResourceStatus_List, { "ssbAreaRadioResourceStatus-List", "xnap.ssbAreaRadioResourceStatus_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_cell_type, { "cell-type", "xnap.cell_type", FT_UINT32, BASE_DEC, VALS(xnap_Cell_Type_Choice_vals), 0, "Cell_Type_Choice", HFILL }}, { &hf_xnap_enb_id, { "enb-id", "xnap.enb_id", FT_UINT32, BASE_DEC, VALS(xnap_ENB_ID_Choice_vals), 0, "ENB_ID_Choice", HFILL }}, { &hf_xnap_enb_ID_macro, { "enb-ID-macro", "xnap.enb_ID_macro", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_20", HFILL }}, { &hf_xnap_enb_ID_shortmacro, { "enb-ID-shortmacro", "xnap.enb_ID_shortmacro", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_18", HFILL }}, { &hf_xnap_enb_ID_longmacro, { "enb-ID-longmacro", "xnap.enb_ID_longmacro", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_21", HFILL }}, { &hf_xnap_ng_RAN_Cell_id, { "ng-RAN-Cell-id", "xnap.ng_RAN_Cell_id", FT_UINT32, BASE_DEC, VALS(xnap_NG_RAN_Cell_Identity_vals), 0, "NG_RAN_Cell_Identity", HFILL }}, { &hf_xnap_gNB, { "gNB", "xnap.gNB_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalgNB_ID", HFILL }}, { &hf_xnap_ng_eNB, { "ng-eNB", "xnap.ng_eNB_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalngeNB_ID", HFILL }}, { &hf_xnap_tnl_address, { "tnl-address", "xnap.tnl_address", FT_BYTES, BASE_NONE, NULL, 0, "TransportLayerAddress", HFILL }}, { &hf_xnap_gtp_teid, { "gtp-teid", "xnap.gtp_teid", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_amf_set_id, { "amf-set-id", "xnap.amf_set_id", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_10", HFILL }}, { &hf_xnap_amf_pointer, { "amf-pointer", "xnap.amf_pointer", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6", HFILL }}, { &hf_xnap_HSNASlotConfigList_item, { "HSNASlotConfigItem", "xnap.HSNASlotConfigItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nRCGI, { "nRCGI", "xnap.nRCGI_element", FT_NONE, BASE_NONE, NULL, 0, "NR_CGI", HFILL }}, { &hf_xnap_iAB_DU_Cell_Resource_Configuration_Mode_Info, { "iAB-DU-Cell-Resource-Configuration-Mode-Info", "xnap.iAB_DU_Cell_Resource_Configuration_Mode_Info", FT_UINT32, BASE_DEC, VALS(xnap_IAB_DU_Cell_Resource_Configuration_Mode_Info_vals), 0, NULL, HFILL }}, { &hf_xnap_iAB_STC_Info, { "iAB-STC-Info", "xnap.iAB_STC_Info_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rACH_Config_Common, { "rACH-Config-Common", "xnap.rACH_Config_Common", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rACH_Config_Common_IAB, { "rACH-Config-Common-IAB", "xnap.rACH_Config_Common_IAB", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_cSI_RS_Configuration, { "cSI-RS-Configuration", "xnap.cSI_RS_Configuration", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sR_Configuration, { "sR-Configuration", "xnap.sR_Configuration", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pDCCH_ConfigSIB1, { "pDCCH-ConfigSIB1", "xnap.pDCCH_ConfigSIB1", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sCS_Common, { "sCS-Common", "xnap.sCS_Common", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_multiplexingInfo, { "multiplexingInfo", "xnap.multiplexingInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_tDD, { "tDD", "xnap.tDD_element", FT_NONE, BASE_NONE, NULL, 0, "IAB_DU_Cell_Resource_Configuration_TDD_Info", HFILL }}, { &hf_xnap_fDD, { "fDD", "xnap.fDD_element", FT_NONE, BASE_NONE, NULL, 0, "IAB_DU_Cell_Resource_Configuration_FDD_Info", HFILL }}, { &hf_xnap_gNB_DU_Cell_Resource_Configuration_FDD_UL, { "gNB-DU-Cell-Resource-Configuration-FDD-UL", "xnap.gNB_DU_Cell_Resource_Configuration_FDD_UL_element", FT_NONE, BASE_NONE, NULL, 0, "GNB_DU_Cell_Resource_Configuration", HFILL }}, { &hf_xnap_gNB_DU_Cell_Resource_Configuration_FDD_DL, { "gNB-DU-Cell-Resource-Configuration-FDD-DL", "xnap.gNB_DU_Cell_Resource_Configuration_FDD_DL_element", FT_NONE, BASE_NONE, NULL, 0, "GNB_DU_Cell_Resource_Configuration", HFILL }}, { &hf_xnap_uLFrequencyInfo, { "uLFrequencyInfo", "xnap.uLFrequencyInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFrequencyInfo", HFILL }}, { &hf_xnap_dLFrequencyInfo, { "dLFrequencyInfo", "xnap.dLFrequencyInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFrequencyInfo", HFILL }}, { &hf_xnap_uLTransmissionBandwidth, { "uLTransmissionBandwidth", "xnap.uLTransmissionBandwidth_element", FT_NONE, BASE_NONE, NULL, 0, "NRTransmissionBandwidth", HFILL }}, { &hf_xnap_dlTransmissionBandwidth, { "dlTransmissionBandwidth", "xnap.dlTransmissionBandwidth_element", FT_NONE, BASE_NONE, NULL, 0, "NRTransmissionBandwidth", HFILL }}, { &hf_xnap_uLCarrierList, { "uLCarrierList", "xnap.uLCarrierList", FT_UINT32, BASE_DEC, NULL, 0, "NRCarrierList", HFILL }}, { &hf_xnap_dlCarrierList, { "dlCarrierList", "xnap.dlCarrierList", FT_UINT32, BASE_DEC, NULL, 0, "NRCarrierList", HFILL }}, { &hf_xnap_gNB_DU_Cell_Resource_Configuration_TDD, { "gNB-DU-Cell-Resource-Configuration-TDD", "xnap.gNB_DU_Cell_Resource_Configuration_TDD_element", FT_NONE, BASE_NONE, NULL, 0, "GNB_DU_Cell_Resource_Configuration", HFILL }}, { &hf_xnap_frequencyInfo, { "frequencyInfo", "xnap.frequencyInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFrequencyInfo", HFILL }}, { &hf_xnap_transmissionBandwidth, { "transmissionBandwidth", "xnap.transmissionBandwidth_element", FT_NONE, BASE_NONE, NULL, 0, "NRTransmissionBandwidth", HFILL }}, { &hf_xnap_carrierList, { "carrierList", "xnap.carrierList", FT_UINT32, BASE_DEC, NULL, 0, "NRCarrierList", HFILL }}, { &hf_xnap_IAB_MT_Cell_List_item, { "IAB-MT-Cell-List-Item", "xnap.IAB_MT_Cell_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nRCellIdentity, { "nRCellIdentity", "xnap.nRCellIdentity", FT_BYTES, BASE_NONE, NULL, 0, "NR_Cell_Identity", HFILL }}, { &hf_xnap_dU_RX_MT_RX, { "dU-RX-MT-RX", "xnap.dU_RX_MT_RX", FT_UINT32, BASE_DEC, VALS(xnap_DU_RX_MT_RX_vals), 0, NULL, HFILL }}, { &hf_xnap_dU_TX_MT_TX, { "dU-TX-MT-TX", "xnap.dU_TX_MT_TX", FT_UINT32, BASE_DEC, VALS(xnap_DU_TX_MT_TX_vals), 0, NULL, HFILL }}, { &hf_xnap_dU_RX_MT_TX, { "dU-RX-MT-TX", "xnap.dU_RX_MT_TX", FT_UINT32, BASE_DEC, VALS(xnap_DU_RX_MT_TX_vals), 0, NULL, HFILL }}, { &hf_xnap_dU_TX_MT_RX, { "dU-TX-MT-RX", "xnap.dU_TX_MT_RX", FT_UINT32, BASE_DEC, VALS(xnap_DU_TX_MT_RX_vals), 0, NULL, HFILL }}, { &hf_xnap_dscp, { "dscp", "xnap.dscp", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6", HFILL }}, { &hf_xnap_flow_label, { "flow-label", "xnap.flow_label", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_20", HFILL }}, { &hf_xnap_iAB_STC_Info_List, { "iAB-STC-Info-List", "xnap.iAB_STC_Info_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_IAB_STC_Info_List_item, { "IAB-STC-Info-Item", "xnap.IAB_STC_Info_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sSB_freqInfo, { "sSB-freqInfo", "xnap.sSB_freqInfo", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_sSB_subcarrierSpacing, { "sSB-subcarrierSpacing", "xnap.sSB_subcarrierSpacing", FT_UINT32, BASE_DEC, VALS(xnap_SSB_subcarrierSpacing_vals), 0, NULL, HFILL }}, { &hf_xnap_sSB_transmissionPeriodicity, { "sSB-transmissionPeriodicity", "xnap.sSB_transmissionPeriodicity", FT_UINT32, BASE_DEC, VALS(xnap_SSB_transmissionPeriodicity_vals), 0, NULL, HFILL }}, { &hf_xnap_sSB_transmissionTimingOffset, { "sSB-transmissionTimingOffset", "xnap.sSB_transmissionTimingOffset", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_sSB_transmissionBitmap, { "sSB-transmissionBitmap", "xnap.sSB_transmissionBitmap", FT_UINT32, BASE_DEC, VALS(xnap_SSB_transmissionBitmap_vals), 0, NULL, HFILL }}, { &hf_xnap_iABIPv4AddressesRequested, { "iABIPv4AddressesRequested", "xnap.iABIPv4AddressesRequested_element", FT_NONE, BASE_NONE, NULL, 0, "IABTNLAddressesRequested", HFILL }}, { &hf_xnap_iABIPv6RequestType, { "iABIPv6RequestType", "xnap.iABIPv6RequestType", FT_UINT32, BASE_DEC, VALS(xnap_IABIPv6RequestType_vals), 0, NULL, HFILL }}, { &hf_xnap_iABTNLAddressToRemove_List, { "iABTNLAddressToRemove-List", "xnap.iABTNLAddressToRemove_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_iPv6Address, { "iPv6Address", "xnap.iPv6Address_element", FT_NONE, BASE_NONE, NULL, 0, "IABTNLAddressesRequested", HFILL }}, { &hf_xnap_iPv6Prefix, { "iPv6Prefix", "xnap.iPv6Prefix_element", FT_NONE, BASE_NONE, NULL, 0, "IABTNLAddressesRequested", HFILL }}, { &hf_xnap_iABAllocatedTNLAddress_List, { "iABAllocatedTNLAddress-List", "xnap.iABAllocatedTNLAddress_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABAllocatedTNLAddress_List_item, { "IABAllocatedTNLAddress-Item", "xnap.IABAllocatedTNLAddress_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_iABTNLAddress, { "iABTNLAddress", "xnap.iABTNLAddress", FT_UINT32, BASE_DEC, VALS(xnap_IABTNLAddress_vals), 0, NULL, HFILL }}, { &hf_xnap_iABTNLAddressUsage, { "iABTNLAddressUsage", "xnap.iABTNLAddressUsage", FT_UINT32, BASE_DEC, VALS(xnap_IABTNLAddressUsage_vals), 0, NULL, HFILL }}, { &hf_xnap_associatedDonorDUAddress, { "associatedDonorDUAddress", "xnap.associatedDonorDUAddress", FT_BYTES, BASE_NONE, NULL, 0, "BAPAddress", HFILL }}, { &hf_xnap_iPv4Address, { "iPv4Address", "xnap.iPv4Address", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_iPv6Address_01, { "iPv6Address", "xnap.iPv6Address", FT_IPv6, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_iPv6Prefix_01, { "iPv6Prefix", "xnap.iPv6Prefix", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_tNLAddressesOrPrefixesRequestedAllTraffic, { "tNLAddressesOrPrefixesRequestedAllTraffic", "xnap.tNLAddressesOrPrefixesRequestedAllTraffic", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_256", HFILL }}, { &hf_xnap_tNLAddressesOrPrefixesRequestedF1_C, { "tNLAddressesOrPrefixesRequestedF1-C", "xnap.tNLAddressesOrPrefixesRequestedF1_C", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_256", HFILL }}, { &hf_xnap_tNLAddressesOrPrefixesRequestedF1_U, { "tNLAddressesOrPrefixesRequestedF1-U", "xnap.tNLAddressesOrPrefixesRequestedF1_U", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_256", HFILL }}, { &hf_xnap_tNLAddressesOrPrefixesRequestedNoNF1, { "tNLAddressesOrPrefixesRequestedNoNF1", "xnap.tNLAddressesOrPrefixesRequestedNoNF1", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_256", HFILL }}, { &hf_xnap_IABTNLAddressToRemove_List_item, { "IABTNLAddressToRemove-Item", "xnap.IABTNLAddressToRemove_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTNLAddressException_item, { "IABTNLAddress-Item", "xnap.IABTNLAddress_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_measurementsToActivate, { "measurementsToActivate", "xnap.measurementsToActivate", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m1Configuration, { "m1Configuration", "xnap.m1Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m4Configuration, { "m4Configuration", "xnap.m4Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m5Configuration, { "m5Configuration", "xnap.m5Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mDT_Location_Info, { "mDT-Location-Info", "xnap.mDT_Location_Info", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m6Configuration, { "m6Configuration", "xnap.m6Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m7Configuration, { "m7Configuration", "xnap.m7Configuration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_bluetoothMeasurementConfiguration, { "bluetoothMeasurementConfiguration", "xnap.bluetoothMeasurementConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_wLANMeasurementConfiguration, { "wLANMeasurementConfiguration", "xnap.wLANMeasurementConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sensorMeasurementConfiguration, { "sensorMeasurementConfiguration", "xnap.sensorMeasurementConfiguration_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dUFSlotformatIndex, { "dUFSlotformatIndex", "xnap.dUFSlotformatIndex", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_rRCReestab, { "rRCReestab", "xnap.rRCReestab_element", FT_NONE, BASE_NONE, NULL, 0, "RRCReestab_initiated", HFILL }}, { &hf_xnap_rRCSetup, { "rRCSetup", "xnap.rRCSetup_element", FT_NONE, BASE_NONE, NULL, 0, "RRCSetup_initiated", HFILL }}, { &hf_xnap_nrscs, { "nrscs", "xnap.nrscs", FT_UINT32, BASE_DEC, VALS(xnap_NRSCS_vals), 0, NULL, HFILL }}, { &hf_xnap_nrCyclicPrefix, { "nrCyclicPrefix", "xnap.nrCyclicPrefix", FT_UINT32, BASE_DEC, VALS(xnap_NRCyclicPrefix_vals), 0, NULL, HFILL }}, { &hf_xnap_nrDL_ULTransmissionPeriodicity, { "nrDL-ULTransmissionPeriodicity", "xnap.nrDL_ULTransmissionPeriodicity", FT_UINT32, BASE_DEC, VALS(xnap_NRDL_ULTransmissionPeriodicity_vals), 0, NULL, HFILL }}, { &hf_xnap_slotConfiguration_List, { "slotConfiguration-List", "xnap.slotConfiguration_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_i_RNTI_full, { "i-RNTI-full", "xnap.i_RNTI_full", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_40", HFILL }}, { &hf_xnap_i_RNTI_short, { "i-RNTI-short", "xnap.i_RNTI_short", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_24", HFILL }}, { &hf_xnap_full_I_RNTI_Profile_List, { "full-I-RNTI-Profile-List", "xnap.full_I_RNTI_Profile_List", FT_UINT32, BASE_DEC, VALS(xnap_Full_I_RNTI_Profile_List_vals), 0, NULL, HFILL }}, { &hf_xnap_short_I_RNTI_Profile_List, { "short-I-RNTI-Profile-List", "xnap.short_I_RNTI_Profile_List", FT_UINT32, BASE_DEC, VALS(xnap_Short_I_RNTI_Profile_List_vals), 0, NULL, HFILL }}, { &hf_xnap_full_I_RNTI_Profile_0, { "full-I-RNTI-Profile-0", "xnap.full_I_RNTI_Profile_0", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_21", HFILL }}, { &hf_xnap_full_I_RNTI_Profile_1, { "full-I-RNTI-Profile-1", "xnap.full_I_RNTI_Profile_1", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_18", HFILL }}, { &hf_xnap_full_I_RNTI_Profile_2, { "full-I-RNTI-Profile-2", "xnap.full_I_RNTI_Profile_2", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_15", HFILL }}, { &hf_xnap_full_I_RNTI_Profile_3, { "full-I-RNTI-Profile-3", "xnap.full_I_RNTI_Profile_3", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_12", HFILL }}, { &hf_xnap_short_I_RNTI_Profile_0, { "short-I-RNTI-Profile-0", "xnap.short_I_RNTI_Profile_0", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_8", HFILL }}, { &hf_xnap_short_I_RNTI_Profile_1, { "short-I-RNTI-Profile-1", "xnap.short_I_RNTI_Profile_1", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6", HFILL }}, { &hf_xnap_nG_RAN_Cell, { "nG-RAN-Cell", "xnap.nG_RAN_Cell", FT_BYTES, BASE_NONE, NULL, 0, "LastVisitedNGRANCellInformation", HFILL }}, { &hf_xnap_e_UTRAN_Cell, { "e-UTRAN-Cell", "xnap.e_UTRAN_Cell", FT_BYTES, BASE_NONE, NULL, 0, "LastVisitedEUTRANCellInformation", HFILL }}, { &hf_xnap_uTRAN_Cell, { "uTRAN-Cell", "xnap.uTRAN_Cell", FT_BYTES, BASE_NONE, NULL, 0, "LastVisitedUTRANCellInformation", HFILL }}, { &hf_xnap_gERAN_Cell, { "gERAN-Cell", "xnap.gERAN_Cell", FT_BYTES, BASE_NONE, NULL, 0, "LastVisitedGERANCellInformation", HFILL }}, { &hf_xnap_LastVisitedPSCellList_item, { "LastVisitedPSCellList-Item", "xnap.LastVisitedPSCellList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_lastVisitedPSCellInformation, { "lastVisitedPSCellInformation", "xnap.lastVisitedPSCellInformation", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_lastVisitedPSCellList, { "lastVisitedPSCellList", "xnap.lastVisitedPSCellList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ListOfCells_item, { "CellsinAoI-Item", "xnap.CellsinAoI_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pLMN_Identity, { "pLMN-Identity", "xnap.pLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ng_ran_cell_id, { "ng-ran-cell-id", "xnap.ng_ran_cell_id", FT_UINT32, BASE_DEC, VALS(xnap_NG_RAN_Cell_Identity_vals), 0, "NG_RAN_Cell_Identity", HFILL }}, { &hf_xnap_ListOfRANNodesinAoI_item, { "GlobalNG-RANNodesinAoI-Item", "xnap.GlobalNG_RANNodesinAoI_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_global_NG_RAN_Node_ID, { "global-NG-RAN-Node-ID", "xnap.global_NG_RAN_Node_ID", FT_UINT32, BASE_DEC, VALS(xnap_GlobalNG_RANNode_ID_vals), 0, "GlobalNG_RANNode_ID", HFILL }}, { &hf_xnap_ListOfTAIsinAoI_item, { "TAIsinAoI-Item", "xnap.TAIsinAoI_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_tAC, { "tAC", "xnap.tAC", FT_UINT24, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_eventType, { "eventType", "xnap.eventType", FT_UINT32, BASE_DEC, VALS(xnap_EventType_vals), 0, NULL, HFILL }}, { &hf_xnap_reportArea, { "reportArea", "xnap.reportArea", FT_UINT32, BASE_DEC, VALS(xnap_ReportArea_vals), 0, NULL, HFILL }}, { &hf_xnap_areaOfInterest, { "areaOfInterest", "xnap.areaOfInterest", FT_UINT32, BASE_DEC, NULL, 0, "AreaOfInterestInformation", HFILL }}, { &hf_xnap_eventTypeTrigger, { "eventTypeTrigger", "xnap.eventTypeTrigger", FT_UINT32, BASE_DEC, VALS(xnap_EventTypeTrigger_vals), 0, NULL, HFILL }}, { &hf_xnap_loggingInterval, { "loggingInterval", "xnap.loggingInterval", FT_UINT32, BASE_DEC, VALS(xnap_LoggingInterval_vals), 0, NULL, HFILL }}, { &hf_xnap_loggingDuration, { "loggingDuration", "xnap.loggingDuration", FT_UINT32, BASE_DEC, VALS(xnap_LoggingDuration_vals), 0, NULL, HFILL }}, { &hf_xnap_reportType, { "reportType", "xnap.reportType", FT_UINT32, BASE_DEC, VALS(xnap_ReportType_vals), 0, NULL, HFILL }}, { &hf_xnap_areaScopeOfNeighCellsList, { "areaScopeOfNeighCellsList", "xnap.areaScopeOfNeighCellsList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_vehicleUE, { "vehicleUE", "xnap.vehicleUE", FT_UINT32, BASE_DEC, VALS(xnap_VehicleUE_vals), 0, NULL, HFILL }}, { &hf_xnap_pedestrianUE, { "pedestrianUE", "xnap.pedestrianUE", FT_UINT32, BASE_DEC, VALS(xnap_PedestrianUE_vals), 0, NULL, HFILL }}, { &hf_xnap_uESidelinkAggregateMaximumBitRate, { "uESidelinkAggregateMaximumBitRate", "xnap.uESidelinkAggregateMaximumBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_s_BasedMDT, { "s-BasedMDT", "xnap.s_BasedMDT_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m1reportingTrigger, { "m1reportingTrigger", "xnap.m1reportingTrigger", FT_UINT32, BASE_DEC, VALS(xnap_M1ReportingTrigger_vals), 0, NULL, HFILL }}, { &hf_xnap_m1thresholdeventA2, { "m1thresholdeventA2", "xnap.m1thresholdeventA2_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m1periodicReporting, { "m1periodicReporting", "xnap.m1periodicReporting_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_reportInterval, { "reportInterval", "xnap.reportInterval", FT_UINT32, BASE_DEC, VALS(xnap_ReportIntervalMDT_vals), 0, "ReportIntervalMDT", HFILL }}, { &hf_xnap_reportAmount, { "reportAmount", "xnap.reportAmount", FT_UINT32, BASE_DEC, VALS(xnap_ReportAmountMDT_vals), 0, "ReportAmountMDT", HFILL }}, { &hf_xnap_measurementThreshold, { "measurementThreshold", "xnap.measurementThreshold", FT_UINT32, BASE_DEC, VALS(xnap_MeasurementThresholdA2_vals), 0, "MeasurementThresholdA2", HFILL }}, { &hf_xnap_m4period, { "m4period", "xnap.m4period", FT_UINT32, BASE_DEC, VALS(xnap_M4period_vals), 0, NULL, HFILL }}, { &hf_xnap_m4_links_to_log, { "m4-links-to-log", "xnap.m4_links_to_log", FT_UINT32, BASE_DEC, VALS(xnap_Links_to_log_vals), 0, "Links_to_log", HFILL }}, { &hf_xnap_m5period, { "m5period", "xnap.m5period", FT_UINT32, BASE_DEC, VALS(xnap_M5period_vals), 0, NULL, HFILL }}, { &hf_xnap_m5_links_to_log, { "m5-links-to-log", "xnap.m5_links_to_log", FT_UINT32, BASE_DEC, VALS(xnap_Links_to_log_vals), 0, "Links_to_log", HFILL }}, { &hf_xnap_m6report_Interval, { "m6report-Interval", "xnap.m6report_Interval", FT_UINT32, BASE_DEC, VALS(xnap_M6report_Interval_vals), 0, NULL, HFILL }}, { &hf_xnap_m6_links_to_log, { "m6-links-to-log", "xnap.m6_links_to_log", FT_UINT32, BASE_DEC, VALS(xnap_Links_to_log_vals), 0, "Links_to_log", HFILL }}, { &hf_xnap_m7period, { "m7period", "xnap.m7period", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_minutes, 0, NULL, HFILL }}, { &hf_xnap_m7_links_to_log, { "m7-links-to-log", "xnap.m7_links_to_log", FT_UINT32, BASE_DEC, VALS(xnap_Links_to_log_vals), 0, "Links_to_log", HFILL }}, { &hf_xnap_maxIPrate_UL, { "maxIPrate-UL", "xnap.maxIPrate_UL", FT_UINT32, BASE_DEC, VALS(xnap_MaxIPrate_vals), 0, "MaxIPrate", HFILL }}, { &hf_xnap_oneframe, { "oneframe", "xnap.oneframe", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6", HFILL }}, { &hf_xnap_fourframes, { "fourframes", "xnap.fourframes", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_24", HFILL }}, { &hf_xnap_MBSFNSubframeInfo_E_UTRA_item, { "MBSFNSubframeInfo-E-UTRA-Item", "xnap.MBSFNSubframeInfo_E_UTRA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_radioframeAllocationPeriod, { "radioframeAllocationPeriod", "xnap.radioframeAllocationPeriod", FT_UINT32, BASE_DEC, VALS(xnap_T_radioframeAllocationPeriod_vals), 0, NULL, HFILL }}, { &hf_xnap_radioframeAllocationOffset, { "radioframeAllocationOffset", "xnap.radioframeAllocationOffset", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_7_", HFILL }}, { &hf_xnap_subframeAllocation, { "subframeAllocation", "xnap.subframeAllocation", FT_UINT32, BASE_DEC, VALS(xnap_MBSFNSubframeAllocation_E_UTRA_vals), 0, "MBSFNSubframeAllocation_E_UTRA", HFILL }}, { &hf_xnap_MBS_MappingandDataForwardingRequestInfofromSource_item, { "MBS-MappingandDataForwardingRequestInfofromSource-Item", "xnap.MBS_MappingandDataForwardingRequestInfofromSource_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mRB_ID, { "mRB-ID", "xnap.mRB_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_QoSFlow_List, { "mBS-QoSFlow-List", "xnap.mBS_QoSFlow_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_mRB_ProgressInformation, { "mRB-ProgressInformation", "xnap.mRB_ProgressInformation", FT_UINT32, BASE_DEC, VALS(xnap_MRB_ProgressInformation_vals), 0, NULL, HFILL }}, { &hf_xnap_MBS_DataForwardingResponseInfofromTarget_item, { "MBS-DataForwardingResponseInfofromTarget-Item", "xnap.MBS_DataForwardingResponseInfofromTarget_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_QoSFlow_List_item, { "QoSFlowIdentifier", "xnap.QoSFlowIdentifier", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_QoSFlowsToAdd_List_item, { "MBS-QoSFlowsToAdd-Item", "xnap.MBS_QoSFlowsToAdd_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_QosFlowIdentifier, { "mBS-QosFlowIdentifier", "xnap.mBS_QosFlowIdentifier", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowIdentifier", HFILL }}, { &hf_xnap_mBS_QosFlowLevelQosParameters, { "mBS-QosFlowLevelQosParameters", "xnap.mBS_QosFlowLevelQosParameters_element", FT_NONE, BASE_NONE, NULL, 0, "QoSFlowLevelQoSParameters", HFILL }}, { &hf_xnap_locationindependent, { "locationindependent", "xnap.locationindependent_element", FT_NONE, BASE_NONE, NULL, 0, "MBS_ServiceAreaInformation", HFILL }}, { &hf_xnap_locationdependent, { "locationdependent", "xnap.locationdependent", FT_UINT32, BASE_DEC, NULL, 0, "MBS_ServiceAreaInformationList", HFILL }}, { &hf_xnap_MBS_ServiceAreaCell_List_item, { "NR-CGI", "xnap.NR_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_ServiceAreaCell_List, { "mBS-ServiceAreaCell-List", "xnap.mBS_ServiceAreaCell_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_ServiceAreaTAI_List, { "mBS-ServiceAreaTAI-List", "xnap.mBS_ServiceAreaTAI_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_ServiceAreaInformationList_item, { "MBS-ServiceAreaInformation-Item", "xnap.MBS_ServiceAreaInformation_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_Area_Session_ID, { "mBS-Area-Session-ID", "xnap.mBS_Area_Session_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_ServiceAreaInformation, { "mBS-ServiceAreaInformation", "xnap.mBS_ServiceAreaInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_ServiceAreaTAI_List_item, { "MBS-ServiceAreaTAI-Item", "xnap.MBS_ServiceAreaTAI_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_tMGI, { "tMGI", "xnap.tMGI", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nID, { "nID", "xnap.nID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_SessionAssociatedInformation_item, { "MBS-SessionAssociatedInformation-Item", "xnap.MBS_SessionAssociatedInformation_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_Session_ID, { "mBS-Session-ID", "xnap.mBS_Session_ID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_associated_QoSFlowInfo_List, { "associated-QoSFlowInfo-List", "xnap.associated_QoSFlowInfo_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_MBS_SessionInformation_List_item, { "MBS-SessionInformation-Item", "xnap.MBS_SessionInformation_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_active_MBS_SessioInformation, { "active-MBS-SessioInformation", "xnap.active_MBS_SessioInformation_element", FT_NONE, BASE_NONE, NULL, 0, "Active_MBS_SessionInformation", HFILL }}, { &hf_xnap_MBS_SessionInformationResponse_List_item, { "MBS-SessionInformationResponse-Item", "xnap.MBS_SessionInformationResponse_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mBS_DataForwardingResponseInfofromTarget, { "mBS-DataForwardingResponseInfofromTarget", "xnap.mBS_DataForwardingResponseInfofromTarget", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_mDT_Configuration_NR, { "mDT-Configuration-NR", "xnap.mDT_Configuration_NR_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mDT_Configuration_EUTRA, { "mDT-Configuration-EUTRA", "xnap.mDT_Configuration_EUTRA_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mdt_Activation, { "mdt-Activation", "xnap.mdt_Activation", FT_UINT32, BASE_DEC, VALS(xnap_MDT_Activation_vals), 0, NULL, HFILL }}, { &hf_xnap_areaScopeOfMDT_NR, { "areaScopeOfMDT-NR", "xnap.areaScopeOfMDT_NR", FT_UINT32, BASE_DEC, VALS(xnap_AreaScopeOfMDT_NR_vals), 0, NULL, HFILL }}, { &hf_xnap_mDTMode_NR, { "mDTMode-NR", "xnap.mDTMode_NR", FT_UINT32, BASE_DEC, VALS(xnap_MDTMode_NR_vals), 0, NULL, HFILL }}, { &hf_xnap_signallingBasedMDTPLMNList, { "signallingBasedMDTPLMNList", "xnap.signallingBasedMDTPLMNList", FT_UINT32, BASE_DEC, NULL, 0, "MDTPLMNList", HFILL }}, { &hf_xnap_areaScopeOfMDT_EUTRA, { "areaScopeOfMDT-EUTRA", "xnap.areaScopeOfMDT_EUTRA", FT_UINT32, BASE_DEC, VALS(xnap_AreaScopeOfMDT_EUTRA_vals), 0, NULL, HFILL }}, { &hf_xnap_mDTMode_EUTRA, { "mDTMode-EUTRA", "xnap.mDTMode_EUTRA", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MDTPLMNList_item, { "PLMN-Identity", "xnap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_MDTPLMNModificationList_item, { "PLMN-Identity", "xnap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_immediateMDT, { "immediateMDT", "xnap.immediateMDT_element", FT_NONE, BASE_NONE, NULL, 0, "ImmediateMDT_NR", HFILL }}, { &hf_xnap_loggedMDT, { "loggedMDT", "xnap.loggedMDT_element", FT_NONE, BASE_NONE, NULL, 0, "LoggedMDT_NR", HFILL }}, { &hf_xnap_mDTMode_NR_Extension, { "mDTMode-NR-Extension", "xnap.mDTMode_NR_Extension_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_threshold_SINR, { "threshold-SINR", "xnap.threshold_SINR", FT_UINT32, BASE_CUSTOM, CF_FUNC(xnap_Threshold_SINR_fmt), 0, NULL, HFILL }}, { &hf_xnap_dl_GBR_PRB_usage_for_MIMO, { "dl-GBR-PRB-usage-for-MIMO", "xnap.dl_GBR_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ul_GBR_PRB_usage_for_MIMO, { "ul-GBR-PRB-usage-for-MIMO", "xnap.ul_GBR_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_dl_non_GBR_PRB_usage_for_MIMO, { "dl-non-GBR-PRB-usage-for-MIMO", "xnap.dl_non_GBR_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ul_non_GBR_PRB_usage_for_MIMO, { "ul-non-GBR-PRB-usage-for-MIMO", "xnap.ul_non_GBR_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_dl_Total_PRB_usage_for_MIMO, { "dl-Total-PRB-usage-for-MIMO", "xnap.dl_Total_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_ul_Total_PRB_usage_for_MIMO, { "ul-Total-PRB-usage-for-MIMO", "xnap.ul_Total_PRB_usage_for_MIMO", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_handoverTriggerChangeLowerLimit, { "handoverTriggerChangeLowerLimit", "xnap.handoverTriggerChangeLowerLimit", FT_INT32, BASE_CUSTOM, CF_FUNC(xnap_handoverTriggerChange_fmt), 0, "INTEGER_M20_20", HFILL }}, { &hf_xnap_handoverTriggerChangeUpperLimit, { "handoverTriggerChangeUpperLimit", "xnap.handoverTriggerChangeUpperLimit", FT_INT32, BASE_CUSTOM, CF_FUNC(xnap_handoverTriggerChange_fmt), 0, "INTEGER_M20_20", HFILL }}, { &hf_xnap_handoverTriggerChange, { "handoverTriggerChange", "xnap.handoverTriggerChange", FT_INT32, BASE_DEC, NULL, 0, "INTEGER_M20_20", HFILL }}, { &hf_xnap_serving_PLMN, { "serving-PLMN", "xnap.serving_PLMN", FT_BYTES, BASE_NONE, NULL, 0, "PLMN_Identity", HFILL }}, { &hf_xnap_equivalent_PLMNs, { "equivalent-PLMNs", "xnap.equivalent_PLMNs", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity", HFILL }}, { &hf_xnap_equivalent_PLMNs_item, { "PLMN-Identity", "xnap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rat_Restrictions, { "rat-Restrictions", "xnap.rat_Restrictions", FT_UINT32, BASE_DEC, NULL, 0, "RAT_RestrictionsList", HFILL }}, { &hf_xnap_forbiddenAreaInformation, { "forbiddenAreaInformation", "xnap.forbiddenAreaInformation", FT_UINT32, BASE_DEC, NULL, 0, "ForbiddenAreaList", HFILL }}, { &hf_xnap_serviceAreaInformation, { "serviceAreaInformation", "xnap.serviceAreaInformation", FT_UINT32, BASE_DEC, NULL, 0, "ServiceAreaList", HFILL }}, { &hf_xnap_CNTypeRestrictionsForEquivalent_item, { "CNTypeRestrictionsForEquivalentItem", "xnap.CNTypeRestrictionsForEquivalentItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_plmn_Identity, { "plmn-Identity", "xnap.plmn_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_cn_Type, { "cn-Type", "xnap.cn_Type", FT_UINT32, BASE_DEC, VALS(xnap_T_cn_Type_vals), 0, NULL, HFILL }}, { &hf_xnap_RAT_RestrictionsList_item, { "RAT-RestrictionsItem", "xnap.RAT_RestrictionsItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rat_RestrictionInformation, { "rat-RestrictionInformation", "xnap.rat_RestrictionInformation", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ForbiddenAreaList_item, { "ForbiddenAreaItem", "xnap.ForbiddenAreaItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_forbidden_TACs, { "forbidden-TACs", "xnap.forbidden_TACs", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC", HFILL }}, { &hf_xnap_forbidden_TACs_item, { "TAC", "xnap.TAC", FT_UINT24, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_ServiceAreaList_item, { "ServiceAreaItem", "xnap.ServiceAreaItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_allowed_TACs_ServiceArea, { "allowed-TACs-ServiceArea", "xnap.allowed_TACs_ServiceArea", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC", HFILL }}, { &hf_xnap_allowed_TACs_ServiceArea_item, { "TAC", "xnap.TAC", FT_UINT24, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_not_allowed_TACs_ServiceArea, { "not-allowed-TACs-ServiceArea", "xnap.not_allowed_TACs_ServiceArea", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC", HFILL }}, { &hf_xnap_not_allowed_TACs_ServiceArea_item, { "TAC", "xnap.TAC", FT_UINT24, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_ng_RAN_Node_ResourceCoordinationInfo, { "ng-RAN-Node-ResourceCoordinationInfo", "xnap.ng_RAN_Node_ResourceCoordinationInfo", FT_UINT32, BASE_DEC, VALS(xnap_NG_RAN_Node_ResourceCoordinationInfo_vals), 0, NULL, HFILL }}, { &hf_xnap_eutra_resource_coordination_info, { "eutra-resource-coordination-info", "xnap.eutra_resource_coordination_info_element", FT_NONE, BASE_NONE, NULL, 0, "E_UTRA_ResourceCoordinationInfo", HFILL }}, { &hf_xnap_nr_resource_coordination_info, { "nr-resource-coordination-info", "xnap.nr_resource_coordination_info_element", FT_NONE, BASE_NONE, NULL, 0, "NR_ResourceCoordinationInfo", HFILL }}, { &hf_xnap_e_utra_cell, { "e-utra-cell", "xnap.e_utra_cell_element", FT_NONE, BASE_NONE, NULL, 0, "E_UTRA_CGI", HFILL }}, { &hf_xnap_ul_coordination_info, { "ul-coordination-info", "xnap.ul_coordination_info", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6_4400", HFILL }}, { &hf_xnap_dl_coordination_info, { "dl-coordination-info", "xnap.dl_coordination_info", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6_4400", HFILL }}, { &hf_xnap_nr_cell, { "nr-cell", "xnap.nr_cell_element", FT_NONE, BASE_NONE, NULL, 0, "NR_CGI", HFILL }}, { &hf_xnap_e_utra_coordination_assistance_info, { "e-utra-coordination-assistance-info", "xnap.e_utra_coordination_assistance_info", FT_UINT32, BASE_DEC, VALS(xnap_E_UTRA_CoordinationAssistanceInfo_vals), 0, "E_UTRA_CoordinationAssistanceInfo", HFILL }}, { &hf_xnap_nr_coordination_assistance_info, { "nr-coordination-assistance-info", "xnap.nr_coordination_assistance_info", FT_UINT32, BASE_DEC, VALS(xnap_NR_CoordinationAssistanceInfo_vals), 0, "NR_CoordinationAssistanceInfo", HFILL }}, { &hf_xnap_iAB_MT_Cell_List, { "iAB-MT-Cell-List", "xnap.iAB_MT_Cell_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NACellResourceConfigurationList_item, { "NACellResourceConfiguration-Item", "xnap.NACellResourceConfiguration_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nAdownlin, { "nAdownlin", "xnap.nAdownlin", FT_UINT32, BASE_DEC, VALS(xnap_T_nAdownlin_vals), 0, NULL, HFILL }}, { &hf_xnap_nAuplink, { "nAuplink", "xnap.nAuplink", FT_UINT32, BASE_DEC, VALS(xnap_T_nAuplink_vals), 0, NULL, HFILL }}, { &hf_xnap_nAflexible, { "nAflexible", "xnap.nAflexible", FT_UINT32, BASE_DEC, VALS(xnap_T_nAflexible_vals), 0, NULL, HFILL }}, { &hf_xnap_subframeAssignment, { "subframeAssignment", "xnap.subframeAssignment", FT_UINT32, BASE_DEC, VALS(xnap_T_subframeAssignment_vals), 0, NULL, HFILL }}, { &hf_xnap_harqOffset, { "harqOffset", "xnap.harqOffset", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_9", HFILL }}, { &hf_xnap_NeighbourInformation_E_UTRA_item, { "NeighbourInformation-E-UTRA-Item", "xnap.NeighbourInformation_E_UTRA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_e_utra_PCI, { "e-utra-PCI", "xnap.e_utra_PCI", FT_UINT32, BASE_DEC, NULL, 0, "E_UTRAPCI", HFILL }}, { &hf_xnap_e_utra_cgi, { "e-utra-cgi", "xnap.e_utra_cgi_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_earfcn, { "earfcn", "xnap.earfcn", FT_UINT32, BASE_DEC, NULL, 0, "E_UTRAARFCN", HFILL }}, { &hf_xnap_NeighbourInformation_NR_item, { "NeighbourInformation-NR-Item", "xnap.NeighbourInformation_NR_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nr_PCI, { "nr-PCI", "xnap.nr_PCI", FT_UINT32, BASE_DEC, NULL, 0, "NRPCI", HFILL }}, { &hf_xnap_nr_mode_info, { "nr-mode-info", "xnap.nr_mode_info", FT_UINT32, BASE_DEC, VALS(xnap_NeighbourInformation_NR_ModeInfo_vals), 0, "NeighbourInformation_NR_ModeInfo", HFILL }}, { &hf_xnap_connectivitySupport, { "connectivitySupport", "xnap.connectivitySupport_element", FT_NONE, BASE_NONE, NULL, 0, "Connectivity_Support", HFILL }}, { &hf_xnap_measurementTimingConfiguration, { "measurementTimingConfiguration", "xnap.measurementTimingConfiguration", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_fdd_info, { "fdd-info", "xnap.fdd_info_element", FT_NONE, BASE_NONE, NULL, 0, "NeighbourInformation_NR_ModeFDDInfo", HFILL }}, { &hf_xnap_tdd_info, { "tdd-info", "xnap.tdd_info_element", FT_NONE, BASE_NONE, NULL, 0, "NeighbourInformation_NR_ModeTDDInfo", HFILL }}, { &hf_xnap_ul_NR_FreqInfo, { "ul-NR-FreqInfo", "xnap.ul_NR_FreqInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFrequencyInfo", HFILL }}, { &hf_xnap_dl_NR_FequInfo, { "dl-NR-FequInfo", "xnap.dl_NR_FequInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFrequencyInfo", HFILL }}, { &hf_xnap_ie_Extensions, { "ie-Extensions", "xnap.ie_Extensions", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolExtensionContainer", HFILL }}, { &hf_xnap_nr_FreqInfo, { "nr-FreqInfo", "xnap.nr_FreqInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFrequencyInfo", HFILL }}, { &hf_xnap_Neighbour_NG_RAN_Node_List_item, { "Neighbour-NG-RAN-Node-Item", "xnap.Neighbour_NG_RAN_Node_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_globalNG_RANNodeID, { "globalNG-RANNodeID", "xnap.globalNG_RANNodeID", FT_UINT32, BASE_DEC, VALS(xnap_GlobalNG_RANNode_ID_vals), 0, "GlobalNG_RANNode_ID", HFILL }}, { &hf_xnap_local_NG_RAN_Node_Identifier, { "local-NG-RAN-Node-Identifier", "xnap.local_NG_RAN_Node_Identifier", FT_UINT32, BASE_DEC, VALS(xnap_Local_NG_RAN_Node_Identifier_vals), 0, NULL, HFILL }}, { &hf_xnap_NRCarrierList_item, { "NRCarrierItem", "xnap.NRCarrierItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_carrierSCS, { "carrierSCS", "xnap.carrierSCS", FT_UINT32, BASE_DEC, VALS(xnap_NRSCS_vals), 0, "NRSCS", HFILL }}, { &hf_xnap_offsetToCarrier, { "offsetToCarrier", "xnap.offsetToCarrier", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_2199_", HFILL }}, { &hf_xnap_carrierBandwidth, { "carrierBandwidth", "xnap.carrierBandwidth", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_maxnoofPhysicalResourceBlocks_", HFILL }}, { &hf_xnap_nr, { "nr", "xnap.NR_Cell_Identity", FT_UINT40, BASE_HEX, NULL, 0xFFFFFFFFF0, "NR_Cell_Identity", HFILL }}, { &hf_xnap_e_utra, { "e-utra", "xnap.E_UTRA_Cell_Identity", FT_UINT32, BASE_HEX, NULL, 0xFFFFFFF0, "E_UTRA_Cell_Identity", HFILL }}, { &hf_xnap_nr_01, { "nr", "xnap.nr", FT_UINT32, BASE_DEC, NULL, 0, "NRPCI", HFILL }}, { &hf_xnap_e_utra_01, { "e-utra", "xnap.e_utra", FT_UINT32, BASE_DEC, NULL, 0, "E_UTRAPCI", HFILL }}, { &hf_xnap_NG_RANnode2SSBOffsetsModificationRange_item, { "SSBOffsetModificationRange", "xnap.SSBOffsetModificationRange_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dL_GBR_PRB_usage, { "dL-GBR-PRB-usage", "xnap.dL_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_uL_GBR_PRB_usage, { "uL-GBR-PRB-usage", "xnap.uL_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_dL_non_GBR_PRB_usage, { "dL-non-GBR-PRB-usage", "xnap.dL_non_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_uL_non_GBR_PRB_usage, { "uL-non-GBR-PRB-usage", "xnap.uL_non_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_dL_Total_PRB_usage, { "dL-Total-PRB-usage", "xnap.dL_Total_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_uL_Total_PRB_usage, { "uL-Total-PRB-usage", "xnap.uL_Total_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_dLTNLOfferedCapacity, { "dLTNLOfferedCapacity", "xnap.dLTNLOfferedCapacity", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_kbps, 0, "OfferedCapacity", HFILL }}, { &hf_xnap_dLTNLAvailableCapacity, { "dLTNLAvailableCapacity", "xnap.dLTNLAvailableCapacity", FT_UINT32, BASE_DEC, NULL, 0, "AvailableCapacity", HFILL }}, { &hf_xnap_uLTNLOfferedCapacity, { "uLTNLOfferedCapacity", "xnap.uLTNLOfferedCapacity", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_kbps, 0, "OfferedCapacity", HFILL }}, { &hf_xnap_uLTNLAvailableCapacity, { "uLTNLAvailableCapacity", "xnap.uLTNLAvailableCapacity", FT_UINT32, BASE_DEC, NULL, 0, "AvailableCapacity", HFILL }}, { &hf_xnap_nonF1TerminatingBHInformation_List, { "nonF1TerminatingBHInformation-List", "xnap.nonF1TerminatingBHInformation_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_bAPControlPDURLCCH_List, { "bAPControlPDURLCCH-List", "xnap.bAPControlPDURLCCH_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NonF1TerminatingBHInformation_List_item, { "NonF1TerminatingBHInformation-Item", "xnap.NonF1TerminatingBHInformation_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dlNon_F1TerminatingBHInfo, { "dlNon-F1TerminatingBHInfo", "xnap.dlNon_F1TerminatingBHInfo_element", FT_NONE, BASE_NONE, NULL, 0, "DLNonF1Terminating_BHInfo", HFILL }}, { &hf_xnap_ulNon_F1TerminatingBHInfo, { "ulNon-F1TerminatingBHInfo", "xnap.ulNon_F1TerminatingBHInfo_element", FT_NONE, BASE_NONE, NULL, 0, "ULNonF1Terminating_BHInfo", HFILL }}, { &hf_xnap_nonUPTrafficType, { "nonUPTrafficType", "xnap.nonUPTrafficType", FT_UINT32, BASE_DEC, VALS(xnap_NonUPTrafficType_vals), 0, NULL, HFILL }}, { &hf_xnap_controlPlaneTrafficType, { "controlPlaneTrafficType", "xnap.controlPlaneTrafficType", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_snpn_Information, { "snpn-Information", "xnap.snpn_Information_element", FT_NONE, BASE_NONE, NULL, 0, "NPN_Broadcast_Information_SNPN", HFILL }}, { &hf_xnap_pni_npn_Information, { "pni-npn-Information", "xnap.pni_npn_Information_element", FT_NONE, BASE_NONE, NULL, 0, "NPN_Broadcast_Information_PNI_NPN", HFILL }}, { &hf_xnap_broadcastSNPNID_List, { "broadcastSNPNID-List", "xnap.broadcastSNPNID_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_broadcastPNI_NPN_ID_Information, { "broadcastPNI-NPN-ID-Information", "xnap.broadcastPNI_NPN_ID_Information", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_snpn_mobility_information, { "snpn-mobility-information", "xnap.snpn_mobility_information_element", FT_NONE, BASE_NONE, NULL, 0, "NPNMobilityInformation_SNPN", HFILL }}, { &hf_xnap_pni_npn_mobility_information, { "pni-npn-mobility-information", "xnap.pni_npn_mobility_information_element", FT_NONE, BASE_NONE, NULL, 0, "NPNMobilityInformation_PNI_NPN", HFILL }}, { &hf_xnap_serving_NID, { "serving-NID", "xnap.serving_NID", FT_BYTES, BASE_NONE, NULL, 0, "NID", HFILL }}, { &hf_xnap_allowedPNI_NPN_ID_List, { "allowedPNI-NPN-ID-List", "xnap.allowedPNI_NPN_ID_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_pni_npn_Information_01, { "pni-npn-Information", "xnap.pni_npn_Information_element", FT_NONE, BASE_NONE, NULL, 0, "NPNPagingAssistanceInformation_PNI_NPN", HFILL }}, { &hf_xnap_sNPN, { "sNPN", "xnap.sNPN_element", FT_NONE, BASE_NONE, NULL, 0, "NPN_Support_SNPN", HFILL }}, { &hf_xnap_ie_Extension, { "ie-Extension", "xnap.ie_Extension", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolExtensionContainer", HFILL }}, { &hf_xnap_fdd_or_tdd, { "fdd-or-tdd", "xnap.fdd_or_tdd", FT_UINT32, BASE_DEC, VALS(xnap_T_fdd_or_tdd_vals), 0, NULL, HFILL }}, { &hf_xnap_fdd, { "fdd", "xnap.fdd_element", FT_NONE, BASE_NONE, NULL, 0, "NPRACHConfiguration_FDD", HFILL }}, { &hf_xnap_tdd, { "tdd", "xnap.tdd_element", FT_NONE, BASE_NONE, NULL, 0, "NPRACHConfiguration_TDD", HFILL }}, { &hf_xnap_nprach_CP_length, { "nprach-CP-length", "xnap.nprach_CP_length", FT_UINT32, BASE_DEC, VALS(xnap_NPRACH_CP_Length_vals), 0, NULL, HFILL }}, { &hf_xnap_anchorCarrier_NPRACHConfig, { "anchorCarrier-NPRACHConfig", "xnap.anchorCarrier_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_anchorCarrier_EDT_NPRACHConfig, { "anchorCarrier-EDT-NPRACHConfig", "xnap.anchorCarrier_EDT_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, "T_anchorCarrier_EDT_NPRACHConfig", HFILL }}, { &hf_xnap_anchorCarrier_Format2_NPRACHConfig, { "anchorCarrier-Format2-NPRACHConfig", "xnap.anchorCarrier_Format2_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_anchorCarrier_Format2_EDT_NPRACHConfig, { "anchorCarrier-Format2-EDT-NPRACHConfig", "xnap.anchorCarrier_Format2_EDT_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, "T_anchorCarrier_Format2_EDT_NPRACHConfig", HFILL }}, { &hf_xnap_non_anchorCarrier_NPRACHConfig, { "non-anchorCarrier-NPRACHConfig", "xnap.non_anchorCarrier_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_non_anchorCarrier_Format2_NPRACHConfig, { "non-anchorCarrier-Format2-NPRACHConfig", "xnap.non_anchorCarrier_Format2_NPRACHConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nprach_preambleFormat, { "nprach-preambleFormat", "xnap.nprach_preambleFormat", FT_UINT32, BASE_DEC, VALS(xnap_NPRACH_preambleFormat_vals), 0, NULL, HFILL }}, { &hf_xnap_anchorCarrier_NPRACHConfigTDD, { "anchorCarrier-NPRACHConfigTDD", "xnap.anchorCarrier_NPRACHConfigTDD", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_non_anchorCarrierFequencyConfiglist, { "non-anchorCarrierFequencyConfiglist", "xnap.non_anchorCarrierFequencyConfiglist", FT_UINT32, BASE_DEC, NULL, 0, "Non_AnchorCarrierFrequencylist", HFILL }}, { &hf_xnap_non_anchorCarrier_NPRACHConfigTDD, { "non-anchorCarrier-NPRACHConfigTDD", "xnap.non_anchorCarrier_NPRACHConfigTDD", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_Non_AnchorCarrierFrequencylist_item, { "Non-AnchorCarrierFrequencylist item", "xnap.Non_AnchorCarrierFrequencylist_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_non_anchorCarrierFrquency, { "non-anchorCarrierFrquency", "xnap.non_anchorCarrierFrquency", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_NG_RAN_Cell_Identity_ListinRANPagingArea_item, { "NG-RAN-Cell-Identity", "xnap.NG_RAN_Cell_Identity", FT_UINT32, BASE_DEC, VALS(xnap_NG_RAN_Cell_Identity_vals), 0, NULL, HFILL }}, { &hf_xnap_NR_U_Channel_List_item, { "NR-U-Channel-Item", "xnap.NR_U_Channel_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nR_U_ChannelID, { "nR-U-ChannelID", "xnap.nR_U_ChannelID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_channelOccupancyTimePercentageDL, { "channelOccupancyTimePercentageDL", "xnap.channelOccupancyTimePercentageDL", FT_UINT32, BASE_DEC, NULL, 0, "ChannelOccupancyTimePercentage", HFILL }}, { &hf_xnap_energyDetectionThreshold, { "energyDetectionThreshold", "xnap.energyDetectionThreshold", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_NR_U_ChannelInfo_List_item, { "NR-U-ChannelInfo-Item", "xnap.NR_U_ChannelInfo_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nRARFCN, { "nRARFCN", "xnap.nRARFCN", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_bandwidth, { "bandwidth", "xnap.bandwidth", FT_UINT32, BASE_DEC, VALS(xnap_Bandwidth_vals), 0, NULL, HFILL }}, { &hf_xnap_NRFrequencyBand_List_item, { "NRFrequencyBandItem", "xnap.NRFrequencyBandItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nr_frequency_band, { "nr-frequency-band", "xnap.nr_frequency_band", FT_UINT32, BASE_DEC, NULL, 0, "NRFrequencyBand", HFILL }}, { &hf_xnap_supported_SUL_Band_List, { "supported-SUL-Band-List", "xnap.supported_SUL_Band_List", FT_UINT32, BASE_DEC, NULL, 0, "SupportedSULBandList", HFILL }}, { &hf_xnap_nrARFCN, { "nrARFCN", "xnap.nrARFCN", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_sul_information, { "sul-information", "xnap.sul_information_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_frequencyBand_List, { "frequencyBand-List", "xnap.frequencyBand_List", FT_UINT32, BASE_DEC, NULL, 0, "NRFrequencyBand_List", HFILL }}, { &hf_xnap_fdd_01, { "fdd", "xnap.fdd_element", FT_NONE, BASE_NONE, NULL, 0, "NRModeInfoFDD", HFILL }}, { &hf_xnap_tdd_01, { "tdd", "xnap.tdd_element", FT_NONE, BASE_NONE, NULL, 0, "NRModeInfoTDD", HFILL }}, { &hf_xnap_ulNRFrequencyInfo, { "ulNRFrequencyInfo", "xnap.ulNRFrequencyInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFrequencyInfo", HFILL }}, { &hf_xnap_dlNRFrequencyInfo, { "dlNRFrequencyInfo", "xnap.dlNRFrequencyInfo_element", FT_NONE, BASE_NONE, NULL, 0, "NRFrequencyInfo", HFILL }}, { &hf_xnap_ulNRTransmissonBandwidth, { "ulNRTransmissonBandwidth", "xnap.ulNRTransmissonBandwidth_element", FT_NONE, BASE_NONE, NULL, 0, "NRTransmissionBandwidth", HFILL }}, { &hf_xnap_dlNRTransmissonBandwidth, { "dlNRTransmissonBandwidth", "xnap.dlNRTransmissonBandwidth_element", FT_NONE, BASE_NONE, NULL, 0, "NRTransmissionBandwidth", HFILL }}, { &hf_xnap_nrTransmissonBandwidth, { "nrTransmissonBandwidth", "xnap.nrTransmissonBandwidth_element", FT_NONE, BASE_NONE, NULL, 0, "NRTransmissionBandwidth", HFILL }}, { &hf_xnap_nRPaging_eDRX_Cycle, { "nRPaging-eDRX-Cycle", "xnap.nRPaging_eDRX_Cycle", FT_UINT32, BASE_DEC, VALS(xnap_NRPaging_eDRX_Cycle_vals), 0, NULL, HFILL }}, { &hf_xnap_nRPaging_Time_Window, { "nRPaging-Time-Window", "xnap.nRPaging_Time_Window", FT_UINT32, BASE_DEC, VALS(xnap_NRPaging_Time_Window_vals), 0, NULL, HFILL }}, { &hf_xnap_nRPaging_eDRX_Cycle_Inactive, { "nRPaging-eDRX-Cycle-Inactive", "xnap.nRPaging_eDRX_Cycle_Inactive", FT_UINT32, BASE_DEC, VALS(xnap_NRPaging_eDRX_Cycle_Inactive_vals), 0, NULL, HFILL }}, { &hf_xnap_nRSCS, { "nRSCS", "xnap.nRSCS", FT_UINT32, BASE_DEC, VALS(xnap_NRSCS_vals), 0, NULL, HFILL }}, { &hf_xnap_nRNRB, { "nRNRB", "xnap.nRNRB", FT_UINT32, BASE_DEC|BASE_EXT_STRING, &xnap_NRNRB_vals_ext, 0, NULL, HFILL }}, { &hf_xnap_requestedSRSTransmissionCharacteristics, { "requestedSRSTransmissionCharacteristics", "xnap.requestedSRSTransmissionCharacteristics", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_routingID, { "routingID", "xnap.routingID", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nRPPaTransactionID, { "nRPPaTransactionID", "xnap.nRPPaTransactionID", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_32767", HFILL }}, { &hf_xnap_pER_Scalar, { "pER-Scalar", "xnap.pER_Scalar", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_pER_Exponent, { "pER-Exponent", "xnap.pER_Exponent", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_cNsubgroupID, { "cNsubgroupID", "xnap.cNsubgroupID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_pc5QoSFlowList, { "pc5QoSFlowList", "xnap.pc5QoSFlowList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_pc5LinkAggregateBitRates, { "pc5LinkAggregateBitRates", "xnap.pc5LinkAggregateBitRates", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_PC5QoSFlowList_item, { "PC5QoSFlowItem", "xnap.PC5QoSFlowItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pQI, { "pQI", "xnap.pQI", FT_UINT32, BASE_DEC, NULL, 0, "FiveQI", HFILL }}, { &hf_xnap_pc5FlowBitRates, { "pc5FlowBitRates", "xnap.pc5FlowBitRates_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_range, { "range", "xnap.range", FT_UINT32, BASE_DEC, VALS(xnap_Range_vals), 0, NULL, HFILL }}, { &hf_xnap_guaranteedFlowBitRate, { "guaranteedFlowBitRate", "xnap.guaranteedFlowBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_maximumFlowBitRate, { "maximumFlowBitRate", "xnap.maximumFlowBitRate", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_from_S_NG_RAN_node, { "from-S-NG-RAN-node", "xnap.from_S_NG_RAN_node", FT_UINT32, BASE_DEC, VALS(xnap_T_from_S_NG_RAN_node_vals), 0, NULL, HFILL }}, { &hf_xnap_from_M_NG_RAN_node, { "from-M-NG-RAN-node", "xnap.from_M_NG_RAN_node", FT_UINT32, BASE_DEC, VALS(xnap_T_from_M_NG_RAN_node_vals), 0, NULL, HFILL }}, { &hf_xnap_ulPDCPSNLength, { "ulPDCPSNLength", "xnap.ulPDCPSNLength", FT_UINT32, BASE_DEC, VALS(xnap_T_ulPDCPSNLength_vals), 0, NULL, HFILL }}, { &hf_xnap_dlPDCPSNLength, { "dlPDCPSNLength", "xnap.dlPDCPSNLength", FT_UINT32, BASE_DEC, VALS(xnap_T_dlPDCPSNLength_vals), 0, NULL, HFILL }}, { &hf_xnap_downlink_session_AMBR, { "downlink-session-AMBR", "xnap.downlink_session_AMBR", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_uplink_session_AMBR, { "uplink-session-AMBR", "xnap.uplink_session_AMBR", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_PDUSession_List_item, { "PDUSession-ID", "xnap.PDUSession_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSession_List_withCause_item, { "PDUSession-List-withCause-Item", "xnap.PDUSession_List_withCause_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pduSessionId, { "pduSessionId", "xnap.pduSessionId", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_ID", HFILL }}, { &hf_xnap_PDUSession_List_withDataForwardingFromTarget_item, { "PDUSession-List-withDataForwardingFromTarget-Item", "xnap.PDUSession_List_withDataForwardingFromTarget_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dataforwardinginfoTarget, { "dataforwardinginfoTarget", "xnap.dataforwardinginfoTarget_element", FT_NONE, BASE_NONE, NULL, 0, "DataForwardingInfoFromTargetNGRANnode", HFILL }}, { &hf_xnap_PDUSession_List_withDataForwardingRequest_item, { "PDUSession-List-withDataForwardingRequest-Item", "xnap.PDUSession_List_withDataForwardingRequest_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dataforwardingInfofromSource, { "dataforwardingInfofromSource", "xnap.dataforwardingInfofromSource_element", FT_NONE, BASE_NONE, NULL, 0, "DataforwardingandOffloadingInfofromSource", HFILL }}, { &hf_xnap_dRBtoBeReleasedList, { "dRBtoBeReleasedList", "xnap.dRBtoBeReleasedList", FT_UINT32, BASE_DEC, NULL, 0, "DRBToQoSFlowMapping_List", HFILL }}, { &hf_xnap_PDUSessionResourcesAdmitted_List_item, { "PDUSessionResourcesAdmitted-Item", "xnap.PDUSessionResourcesAdmitted_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pduSessionResourceAdmittedInfo, { "pduSessionResourceAdmittedInfo", "xnap.pduSessionResourceAdmittedInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dL_NG_U_TNL_Information_Unchanged, { "dL-NG-U-TNL-Information-Unchanged", "xnap.dL_NG_U_TNL_Information_Unchanged", FT_UINT32, BASE_DEC, VALS(xnap_T_dL_NG_U_TNL_Information_Unchanged_vals), 0, NULL, HFILL }}, { &hf_xnap_qosFlowsAdmitted_List, { "qosFlowsAdmitted-List", "xnap.qosFlowsAdmitted_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_qosFlowsNotAdmitted_List, { "qosFlowsNotAdmitted-List", "xnap.qosFlowsNotAdmitted_List", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlows_List_withCause", HFILL }}, { &hf_xnap_dataForwardingInfoFromTarget, { "dataForwardingInfoFromTarget", "xnap.dataForwardingInfoFromTarget_element", FT_NONE, BASE_NONE, NULL, 0, "DataForwardingInfoFromTargetNGRANnode", HFILL }}, { &hf_xnap_PDUSessionResourcesNotAdmitted_List_item, { "PDUSessionResourcesNotAdmitted-Item", "xnap.PDUSessionResourcesNotAdmitted_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionResourcesToBeSetup_List_item, { "PDUSessionResourcesToBeSetup-Item", "xnap.PDUSessionResourcesToBeSetup_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_s_NSSAI, { "s-NSSAI", "xnap.s_NSSAI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pduSessionAMBR, { "pduSessionAMBR", "xnap.pduSessionAMBR_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionAggregateMaximumBitRate", HFILL }}, { &hf_xnap_uL_NG_U_TNLatUPF, { "uL-NG-U-TNLatUPF", "xnap.uL_NG_U_TNLatUPF", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_source_DL_NG_U_TNL_Information, { "source-DL-NG-U-TNL-Information", "xnap.source_DL_NG_U_TNL_Information", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_securityIndication, { "securityIndication", "xnap.securityIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pduSessionType, { "pduSessionType", "xnap.pduSessionType", FT_UINT32, BASE_DEC, VALS(xnap_PDUSessionType_vals), 0, NULL, HFILL }}, { &hf_xnap_pduSessionNetworkInstance, { "pduSessionNetworkInstance", "xnap.pduSessionNetworkInstance", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_qosFlowsToBeSetup_List, { "qosFlowsToBeSetup-List", "xnap.qosFlowsToBeSetup_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_dataforwardinginfofromSource, { "dataforwardinginfofromSource", "xnap.dataforwardinginfofromSource_element", FT_NONE, BASE_NONE, NULL, 0, "DataforwardingandOffloadingInfofromSource", HFILL }}, { &hf_xnap_qosFlowsToBeSetup_List_01, { "qosFlowsToBeSetup-List", "xnap.qosFlowsToBeSetup_List", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowsToBeSetup_List_Setup_SNterminated", HFILL }}, { &hf_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated_item, { "QoSFlowsToBeSetup-List-Setup-SNterminated-Item", "xnap.QoSFlowsToBeSetup_List_Setup_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qfi, { "qfi", "xnap.qfi", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowIdentifier", HFILL }}, { &hf_xnap_qosFlowLevelQoSParameters, { "qosFlowLevelQoSParameters", "xnap.qosFlowLevelQoSParameters_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_offeredGBRQoSFlowInfo, { "offeredGBRQoSFlowInfo", "xnap.offeredGBRQoSFlowInfo_element", FT_NONE, BASE_NONE, NULL, 0, "GBRQoSFlowInfo", HFILL }}, { &hf_xnap_dL_NG_U_TNLatNG_RAN, { "dL-NG-U-TNLatNG-RAN", "xnap.dL_NG_U_TNLatNG_RAN", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_dRBsToBeSetup, { "dRBsToBeSetup", "xnap.dRBsToBeSetup", FT_UINT32, BASE_DEC, NULL, 0, "DRBsToBeSetupList_SetupResponse_SNterminated", HFILL }}, { &hf_xnap_qosFlowsNotAdmittedList, { "qosFlowsNotAdmittedList", "xnap.qosFlowsNotAdmittedList", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlows_List_withCause", HFILL }}, { &hf_xnap_securityResult, { "securityResult", "xnap.securityResult_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_DRBsToBeSetupList_SetupResponse_SNterminated_item, { "DRBsToBeSetupList-SetupResponse-SNterminated-Item", "xnap.DRBsToBeSetupList_SetupResponse_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sN_UL_PDCP_UP_TNLInfo, { "sN-UL-PDCP-UP-TNLInfo", "xnap.sN_UL_PDCP_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_dRB_QoS, { "dRB-QoS", "xnap.dRB_QoS_element", FT_NONE, BASE_NONE, NULL, 0, "QoSFlowLevelQoSParameters", HFILL }}, { &hf_xnap_pDCP_SNLength, { "pDCP-SNLength", "xnap.pDCP_SNLength_element", FT_NONE, BASE_NONE, NULL, 0, "PDCPSNLength", HFILL }}, { &hf_xnap_uL_Configuration, { "uL-Configuration", "xnap.uL_Configuration_element", FT_NONE, BASE_NONE, NULL, 0, "ULConfiguration", HFILL }}, { &hf_xnap_secondary_SN_UL_PDCP_UP_TNLInfo, { "secondary-SN-UL-PDCP-UP-TNLInfo", "xnap.secondary_SN_UL_PDCP_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_duplicationActivation, { "duplicationActivation", "xnap.duplicationActivation", FT_UINT32, BASE_DEC, VALS(xnap_DuplicationActivation_vals), 0, NULL, HFILL }}, { &hf_xnap_qoSFlowsMappedtoDRB_SetupResponse_SNterminated, { "qoSFlowsMappedtoDRB-SetupResponse-SNterminated", "xnap.qoSFlowsMappedtoDRB_SetupResponse_SNterminated", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated_item, { "QoSFlowsMappedtoDRB-SetupResponse-SNterminated-Item", "xnap.QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mCGRequestedGBRQoSFlowInfo, { "mCGRequestedGBRQoSFlowInfo", "xnap.mCGRequestedGBRQoSFlowInfo_element", FT_NONE, BASE_NONE, NULL, 0, "GBRQoSFlowInfo", HFILL }}, { &hf_xnap_qosFlowMappingIndication, { "qosFlowMappingIndication", "xnap.qosFlowMappingIndication", FT_UINT32, BASE_DEC, VALS(xnap_QoSFlowMappingIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_dRBsToBeSetup_01, { "dRBsToBeSetup", "xnap.dRBsToBeSetup", FT_UINT32, BASE_DEC, NULL, 0, "DRBsToBeSetupList_Setup_MNterminated", HFILL }}, { &hf_xnap_DRBsToBeSetupList_Setup_MNterminated_item, { "DRBsToBeSetupList-Setup-MNterminated-Item", "xnap.DRBsToBeSetupList_Setup_MNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mN_UL_PDCP_UP_TNLInfo, { "mN-UL-PDCP-UP-TNLInfo", "xnap.mN_UL_PDCP_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_secondary_MN_UL_PDCP_UP_TNLInfo, { "secondary-MN-UL-PDCP-UP-TNLInfo", "xnap.secondary_MN_UL_PDCP_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_qoSFlowsMappedtoDRB_Setup_MNterminated, { "qoSFlowsMappedtoDRB-Setup-MNterminated", "xnap.qoSFlowsMappedtoDRB_Setup_MNterminated", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated_item, { "QoSFlowsMappedtoDRB-Setup-MNterminated-Item", "xnap.QoSFlowsMappedtoDRB_Setup_MNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dRBsAdmittedList, { "dRBsAdmittedList", "xnap.dRBsAdmittedList", FT_UINT32, BASE_DEC, NULL, 0, "DRBsAdmittedList_SetupResponse_MNterminated", HFILL }}, { &hf_xnap_DRBsAdmittedList_SetupResponse_MNterminated_item, { "DRBsAdmittedList-SetupResponse-MNterminated-Item", "xnap.DRBsAdmittedList_SetupResponse_MNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sN_DL_SCG_UP_TNLInfo, { "sN-DL-SCG-UP-TNLInfo", "xnap.sN_DL_SCG_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_secondary_SN_DL_SCG_UP_TNLInfo, { "secondary-SN-DL-SCG-UP-TNLInfo", "xnap.secondary_SN_DL_SCG_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_lCID, { "lCID", "xnap.lCID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_item, { "QoSFlowsMappedtoDRB-SetupResponse-MNterminated-Item", "xnap.QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_currentQoSParaSetIndex, { "currentQoSParaSetIndex", "xnap.currentQoSParaSetIndex", FT_UINT32, BASE_DEC, NULL, 0, "QoSParaSetIndex", HFILL }}, { &hf_xnap_qosFlowsToBeModified_List, { "qosFlowsToBeModified-List", "xnap.qosFlowsToBeModified_List", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowsToBeSetup_List_Modified_SNterminated", HFILL }}, { &hf_xnap_qoSFlowsToBeReleased_List, { "qoSFlowsToBeReleased-List", "xnap.qoSFlowsToBeReleased_List", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlows_List_withCause", HFILL }}, { &hf_xnap_drbsToBeModifiedList, { "drbsToBeModifiedList", "xnap.drbsToBeModifiedList", FT_UINT32, BASE_DEC, NULL, 0, "DRBsToBeModified_List_Modified_SNterminated", HFILL }}, { &hf_xnap_dRBsToBeReleased, { "dRBsToBeReleased", "xnap.dRBsToBeReleased", FT_UINT32, BASE_DEC, NULL, 0, "DRB_List_withCause", HFILL }}, { &hf_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated_item, { "QoSFlowsToBeSetup-List-Modified-SNterminated-Item", "xnap.QoSFlowsToBeSetup_List_Modified_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_DRBsToBeModified_List_Modified_SNterminated_item, { "DRBsToBeModified-List-Modified-SNterminated-Item", "xnap.DRBsToBeModified_List_Modified_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mN_DL_SCG_UP_TNLInfo, { "mN-DL-SCG-UP-TNLInfo", "xnap.mN_DL_SCG_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_secondary_MN_DL_SCG_UP_TNLInfo, { "secondary-MN-DL-SCG-UP-TNLInfo", "xnap.secondary_MN_DL_SCG_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_rlc_status, { "rlc-status", "xnap.rlc_status_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dRBsToBeModified, { "dRBsToBeModified", "xnap.dRBsToBeModified", FT_UINT32, BASE_DEC, NULL, 0, "DRBsToBeModifiedList_ModificationResponse_SNterminated", HFILL }}, { &hf_xnap_qosFlowsNotAdmittedTBAdded, { "qosFlowsNotAdmittedTBAdded", "xnap.qosFlowsNotAdmittedTBAdded", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlows_List_withCause", HFILL }}, { &hf_xnap_qosFlowsReleased, { "qosFlowsReleased", "xnap.qosFlowsReleased", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlows_List_withCause", HFILL }}, { &hf_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated_item, { "DRBsToBeModifiedList-ModificationResponse-SNterminated-Item", "xnap.DRBsToBeModifiedList_ModificationResponse_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dRBsToBeModified_01, { "dRBsToBeModified", "xnap.dRBsToBeModified", FT_UINT32, BASE_DEC, NULL, 0, "DRBsToBeModifiedList_Modification_MNterminated", HFILL }}, { &hf_xnap_DRBsToBeModifiedList_Modification_MNterminated_item, { "DRBsToBeModifiedList-Modification-MNterminated-Item", "xnap.DRBsToBeModifiedList_Modification_MNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pdcpDuplicationConfiguration, { "pdcpDuplicationConfiguration", "xnap.pdcpDuplicationConfiguration", FT_UINT32, BASE_DEC, VALS(xnap_PDCPDuplicationConfiguration_vals), 0, NULL, HFILL }}, { &hf_xnap_dRBsAdmittedList_01, { "dRBsAdmittedList", "xnap.dRBsAdmittedList", FT_UINT32, BASE_DEC, NULL, 0, "DRBsAdmittedList_ModificationResponse_MNterminated", HFILL }}, { &hf_xnap_dRBsReleasedList, { "dRBsReleasedList", "xnap.dRBsReleasedList", FT_UINT32, BASE_DEC, NULL, 0, "DRB_List", HFILL }}, { &hf_xnap_dRBsNotAdmittedSetupModifyList, { "dRBsNotAdmittedSetupModifyList", "xnap.dRBsNotAdmittedSetupModifyList", FT_UINT32, BASE_DEC, NULL, 0, "DRB_List_withCause", HFILL }}, { &hf_xnap_DRBsAdmittedList_ModificationResponse_MNterminated_item, { "DRBsAdmittedList-ModificationResponse-MNterminated-Item", "xnap.DRBsAdmittedList_ModificationResponse_MNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_drbsToBeSetupList, { "drbsToBeSetupList", "xnap.drbsToBeSetupList", FT_UINT32, BASE_DEC, NULL, 0, "DRBsToBeSetup_List_ModRqd_SNterminated", HFILL }}, { &hf_xnap_drbsToBeModifiedList_01, { "drbsToBeModifiedList", "xnap.drbsToBeModifiedList", FT_UINT32, BASE_DEC, NULL, 0, "DRBsToBeModified_List_ModRqd_SNterminated", HFILL }}, { &hf_xnap_DRBsToBeSetup_List_ModRqd_SNterminated_item, { "DRBsToBeSetup-List-ModRqd-SNterminated-Item", "xnap.DRBsToBeSetup_List_ModRqd_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sn_UL_PDCP_UPTNLinfo, { "sn-UL-PDCP-UPTNLinfo", "xnap.sn_UL_PDCP_UPTNLinfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_qoSFlowsMappedtoDRB_ModRqd_SNterminated, { "qoSFlowsMappedtoDRB-ModRqd-SNterminated", "xnap.qoSFlowsMappedtoDRB_ModRqd_SNterminated", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated", HFILL }}, { &hf_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_item, { "QoSFlowsSetupMappedtoDRB-ModRqd-SNterminated-Item", "xnap.QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_DRBsToBeModified_List_ModRqd_SNterminated_item, { "DRBsToBeModified-List-ModRqd-SNterminated-Item", "xnap.DRBsToBeModified_List_ModRqd_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qoSFlowsMappedtoDRB_ModRqd_SNterminated_01, { "qoSFlowsMappedtoDRB-ModRqd-SNterminated", "xnap.qoSFlowsMappedtoDRB_ModRqd_SNterminated", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated", HFILL }}, { &hf_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_item, { "QoSFlowsModifiedMappedtoDRB-ModRqd-SNterminated-Item", "xnap.QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dRBsAdmittedList_02, { "dRBsAdmittedList", "xnap.dRBsAdmittedList", FT_UINT32, BASE_DEC, NULL, 0, "DRBsAdmittedList_ModConfirm_SNterminated", HFILL }}, { &hf_xnap_DRBsAdmittedList_ModConfirm_SNterminated_item, { "DRBsAdmittedList-ModConfirm-SNterminated-Item", "xnap.DRBsAdmittedList_ModConfirm_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mN_DL_CG_UP_TNLInfo, { "mN-DL-CG-UP-TNLInfo", "xnap.mN_DL_CG_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_secondary_MN_DL_CG_UP_TNLInfo, { "secondary-MN-DL-CG-UP-TNLInfo", "xnap.secondary_MN_DL_CG_UP_TNLInfo", FT_UINT32, BASE_DEC, NULL, 0, "UPTransportParameters", HFILL }}, { &hf_xnap_dRBsToBeModified_02, { "dRBsToBeModified", "xnap.dRBsToBeModified", FT_UINT32, BASE_DEC, NULL, 0, "DRBsToBeModified_List_ModRqd_MNterminated", HFILL }}, { &hf_xnap_DRBsToBeModified_List_ModRqd_MNterminated_item, { "DRBsToBeModified-List-ModRqd-MNterminated-Item", "xnap.DRBsToBeModified_List_ModRqd_MNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sN_DL_SCG_UP_TNLInfo_01, { "sN-DL-SCG-UP-TNLInfo", "xnap.sN_DL_SCG_UP_TNLInfo", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_secondary_SN_DL_SCG_UP_TNLInfo_01, { "secondary-SN-DL-SCG-UP-TNLInfo", "xnap.secondary_SN_DL_SCG_UP_TNLInfo", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_dRBsToBeSetupList, { "dRBsToBeSetupList", "xnap.dRBsToBeSetupList", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item", HFILL }}, { &hf_xnap_dRBsToBeSetupList_item, { "DRBsToBeSetupList-BearerSetupComplete-SNterminated-Item", "xnap.DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dRB_ID, { "dRB-ID", "xnap.dRB_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_mN_Xn_U_TNLInfoatM, { "mN-Xn-U-TNLInfoatM", "xnap.mN_Xn_U_TNLInfoatM", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_PDUSessionResourceSecondaryRATUsageList_item, { "PDUSessionResourceSecondaryRATUsageItem", "xnap.PDUSessionResourceSecondaryRATUsageItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pDUSessionID, { "pDUSessionID", "xnap.pDUSessionID", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_ID", HFILL }}, { &hf_xnap_secondaryRATUsageInformation, { "secondaryRATUsageInformation", "xnap.secondaryRATUsageInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rATType, { "rATType", "xnap.rATType", FT_UINT32, BASE_DEC, VALS(xnap_T_rATType_vals), 0, NULL, HFILL }}, { &hf_xnap_pDUSessionTimedReportList, { "pDUSessionTimedReportList", "xnap.pDUSessionTimedReportList", FT_UINT32, BASE_DEC, NULL, 0, "VolumeTimedReportList", HFILL }}, { &hf_xnap_plmnListforQMC, { "plmnListforQMC", "xnap.plmnListforQMC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PLMNListforQMC_item, { "PLMN-Identity", "xnap.PLMN_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PCIListForMDT_item, { "NRPCI", "xnap.NRPCI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_protectedResourceList, { "protectedResourceList", "xnap.protectedResourceList", FT_UINT32, BASE_DEC, NULL, 0, "ProtectedE_UTRAResourceList", HFILL }}, { &hf_xnap_mbsfnControlRegionLength, { "mbsfnControlRegionLength", "xnap.mbsfnControlRegionLength", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_pDCCHRegionLength, { "pDCCHRegionLength", "xnap.pDCCHRegionLength", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_3", HFILL }}, { &hf_xnap_ProtectedE_UTRAResourceList_item, { "ProtectedE-UTRAResource-Item", "xnap.ProtectedE_UTRAResource_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_resourceType, { "resourceType", "xnap.resourceType", FT_UINT32, BASE_DEC, VALS(xnap_T_resourceType_vals), 0, NULL, HFILL }}, { &hf_xnap_intra_PRBProtectedResourceFootprint, { "intra-PRBProtectedResourceFootprint", "xnap.intra_PRBProtectedResourceFootprint", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_84_", HFILL }}, { &hf_xnap_protectedFootprintFrequencyPattern, { "protectedFootprintFrequencyPattern", "xnap.protectedFootprintFrequencyPattern", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_6_110_", HFILL }}, { &hf_xnap_protectedFootprintTimePattern, { "protectedFootprintTimePattern", "xnap.protectedFootprintTimePattern_element", FT_NONE, BASE_NONE, NULL, 0, "ProtectedE_UTRAFootprintTimePattern", HFILL }}, { &hf_xnap_protectedFootprintTimeperiodicity, { "protectedFootprintTimeperiodicity", "xnap.protectedFootprintTimeperiodicity", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_320_", HFILL }}, { &hf_xnap_protectedFootrpintStartTime, { "protectedFootrpintStartTime", "xnap.protectedFootrpintStartTime", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_20_", HFILL }}, { &hf_xnap_uEAppLayerMeasInfoList, { "uEAppLayerMeasInfoList", "xnap.uEAppLayerMeasInfoList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_UEAppLayerMeasInfoList_item, { "UEAppLayerMeasInfo-Item", "xnap.UEAppLayerMeasInfo_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_uEAppLayerMeasConfigInfo, { "uEAppLayerMeasConfigInfo", "xnap.uEAppLayerMeasConfigInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_non_dynamic, { "non-dynamic", "xnap.non_dynamic_element", FT_NONE, BASE_NONE, NULL, 0, "NonDynamic5QIDescriptor", HFILL }}, { &hf_xnap_dynamic, { "dynamic", "xnap.dynamic_element", FT_NONE, BASE_NONE, NULL, 0, "Dynamic5QIDescriptor", HFILL }}, { &hf_xnap_qos_characteristics, { "qos-characteristics", "xnap.qos_characteristics", FT_UINT32, BASE_DEC, VALS(xnap_QoSCharacteristics_vals), 0, "QoSCharacteristics", HFILL }}, { &hf_xnap_allocationAndRetentionPrio, { "allocationAndRetentionPrio", "xnap.allocationAndRetentionPrio_element", FT_NONE, BASE_NONE, NULL, 0, "AllocationandRetentionPriority", HFILL }}, { &hf_xnap_gBRQoSFlowInfo, { "gBRQoSFlowInfo", "xnap.gBRQoSFlowInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_reflectiveQoS, { "reflectiveQoS", "xnap.reflectiveQoS", FT_UINT32, BASE_DEC, VALS(xnap_ReflectiveQoSAttribute_vals), 0, "ReflectiveQoSAttribute", HFILL }}, { &hf_xnap_additionalQoSflowInfo, { "additionalQoSflowInfo", "xnap.additionalQoSflowInfo", FT_UINT32, BASE_DEC, VALS(xnap_T_additionalQoSflowInfo_vals), 0, NULL, HFILL }}, { &hf_xnap_QoSFlowNotificationControlIndicationInfo_item, { "QoSFlowNotify-Item", "xnap.QoSFlowNotify_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_notificationInformation, { "notificationInformation", "xnap.notificationInformation", FT_UINT32, BASE_DEC, VALS(xnap_T_notificationInformation_vals), 0, NULL, HFILL }}, { &hf_xnap_QoSFlows_List_item, { "QoSFlow-Item", "xnap.QoSFlow_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlows_List_withCause_item, { "QoSFlowwithCause-Item", "xnap.QoSFlowwithCause_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsAdmitted_List_item, { "QoSFlowsAdmitted-Item", "xnap.QoSFlowsAdmitted_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsToBeSetup_List_item, { "QoSFlowsToBeSetup-Item", "xnap.QoSFlowsToBeSetup_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_e_RAB_ID, { "e-RAB-ID", "xnap.e_RAB_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsUsageReportList_item, { "QoSFlowsUsageReport-Item", "xnap.QoSFlowsUsageReport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rATType_01, { "rATType", "xnap.rATType", FT_UINT32, BASE_DEC, VALS(xnap_T_rATType_01_vals), 0, "T_rATType_01", HFILL }}, { &hf_xnap_qoSFlowsTimedReportList, { "qoSFlowsTimedReportList", "xnap.qoSFlowsTimedReportList", FT_UINT32, BASE_DEC, NULL, 0, "VolumeTimedReportList", HFILL }}, { &hf_xnap_RACHReportInformation_item, { "RACHReportList-Item", "xnap.RACHReportList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rACHReport, { "rACHReport", "xnap.rACHReport", FT_BYTES, BASE_NONE, NULL, 0, "RACHReportContainer", HFILL }}, { &hf_xnap_ng_eNB_RadioResourceStatus, { "ng-eNB-RadioResourceStatus", "xnap.ng_eNB_RadioResourceStatus_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_gNB_RadioResourceStatus, { "gNB-RadioResourceStatus", "xnap.gNB_RadioResourceStatus_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rANAC, { "rANAC", "xnap.rANAC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_RANAreaID_List_item, { "RANAreaID", "xnap.RANAreaID_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rANPagingAreaChoice, { "rANPagingAreaChoice", "xnap.rANPagingAreaChoice", FT_UINT32, BASE_DEC, VALS(xnap_RANPagingAreaChoice_vals), 0, NULL, HFILL }}, { &hf_xnap_cell_List, { "cell-List", "xnap.cell_List", FT_UINT32, BASE_DEC, NULL, 0, "NG_RAN_Cell_Identity_ListinRANPagingArea", HFILL }}, { &hf_xnap_rANAreaID_List, { "rANAreaID-List", "xnap.rANAreaID_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_pagingAttemptCount, { "pagingAttemptCount", "xnap.pagingAttemptCount", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_16_", HFILL }}, { &hf_xnap_intendedNumberOfPagingAttempts, { "intendedNumberOfPagingAttempts", "xnap.intendedNumberOfPagingAttempts", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_16_", HFILL }}, { &hf_xnap_nextPagingAreaScope, { "nextPagingAreaScope", "xnap.nextPagingAreaScope", FT_UINT32, BASE_DEC, VALS(xnap_T_nextPagingAreaScope_vals), 0, NULL, HFILL }}, { &hf_xnap_rBsetSize, { "rBsetSize", "xnap.rBsetSize", FT_UINT32, BASE_DEC, VALS(xnap_T_rBsetSize_vals), 0, NULL, HFILL }}, { &hf_xnap_numberofRBSets, { "numberofRBSets", "xnap.numberofRBSets", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_1_maxnoofRBsetsPerCell", HFILL }}, { &hf_xnap_rSN, { "rSN", "xnap.rSN", FT_UINT32, BASE_DEC, VALS(xnap_RSN_vals), 0, NULL, HFILL }}, { &hf_xnap_ReplacingCells_item, { "ReplacingCells-Item", "xnap.ReplacingCells_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_periodical, { "periodical", "xnap.periodical_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_eventTriggered, { "eventTriggered", "xnap.eventTriggered_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_subframeType, { "subframeType", "xnap.subframeType", FT_UINT32, BASE_DEC, VALS(xnap_T_subframeType_vals), 0, NULL, HFILL }}, { &hf_xnap_reservedSubframePattern_01, { "reservedSubframePattern", "xnap.reservedSubframePattern", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_10_160", HFILL }}, { &hf_xnap_fullReset, { "fullReset", "xnap.fullReset_element", FT_NONE, BASE_NONE, NULL, 0, "ResetRequestTypeInfo_Full", HFILL }}, { &hf_xnap_partialReset, { "partialReset", "xnap.partialReset_element", FT_NONE, BASE_NONE, NULL, 0, "ResetRequestTypeInfo_Partial", HFILL }}, { &hf_xnap_ue_contexts_ToBeReleasedList, { "ue-contexts-ToBeReleasedList", "xnap.ue_contexts_ToBeReleasedList", FT_UINT32, BASE_DEC, NULL, 0, "ResetRequestPartialReleaseList", HFILL }}, { &hf_xnap_ResetRequestPartialReleaseList_item, { "ResetRequestPartialReleaseItem", "xnap.ResetRequestPartialReleaseItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ng_ran_node1UEXnAPID, { "ng-ran-node1UEXnAPID", "xnap.ng_ran_node1UEXnAPID", FT_UINT32, BASE_DEC, NULL, 0, "NG_RANnodeUEXnAPID", HFILL }}, { &hf_xnap_ng_ran_node2UEXnAPID, { "ng-ran-node2UEXnAPID", "xnap.ng_ran_node2UEXnAPID", FT_UINT32, BASE_DEC, NULL, 0, "NG_RANnodeUEXnAPID", HFILL }}, { &hf_xnap_fullReset_01, { "fullReset", "xnap.fullReset_element", FT_NONE, BASE_NONE, NULL, 0, "ResetResponseTypeInfo_Full", HFILL }}, { &hf_xnap_partialReset_01, { "partialReset", "xnap.partialReset_element", FT_NONE, BASE_NONE, NULL, 0, "ResetResponseTypeInfo_Partial", HFILL }}, { &hf_xnap_ue_contexts_AdmittedToBeReleasedList, { "ue-contexts-AdmittedToBeReleasedList", "xnap.ue_contexts_AdmittedToBeReleasedList", FT_UINT32, BASE_DEC, NULL, 0, "ResetResponsePartialReleaseList", HFILL }}, { &hf_xnap_ResetResponsePartialReleaseList_item, { "ResetResponsePartialReleaseItem", "xnap.ResetResponsePartialReleaseItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_reestablishment_Indication, { "reestablishment-Indication", "xnap.reestablishment_Indication", FT_UINT32, BASE_DEC, VALS(xnap_Reestablishment_Indication_vals), 0, NULL, HFILL }}, { &hf_xnap_rLCDuplicationStateList, { "rLCDuplicationStateList", "xnap.rLCDuplicationStateList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_rLC_PrimaryIndicator, { "rLC-PrimaryIndicator", "xnap.rLC_PrimaryIndicator", FT_UINT32, BASE_DEC, VALS(xnap_T_rLC_PrimaryIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_RLCDuplicationStateList_item, { "RLCDuplicationState-Item", "xnap.RLCDuplicationState_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_duplicationState, { "duplicationState", "xnap.duplicationState", FT_UINT32, BASE_DEC, VALS(xnap_T_duplicationState_vals), 0, NULL, HFILL }}, { &hf_xnap_noofRRCConnections, { "noofRRCConnections", "xnap.noofRRCConnections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_availableRRCConnectionCapacityValue, { "availableRRCConnectionCapacityValue", "xnap.availableRRCConnectionCapacityValue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_rRRCReestab_initiated_reporting, { "rRRCReestab-initiated-reporting", "xnap.rRRCReestab_initiated_reporting", FT_UINT32, BASE_DEC, VALS(xnap_RRCReestab_Initiated_Reporting_vals), 0, "RRCReestab_Initiated_Reporting", HFILL }}, { &hf_xnap_rRCReestab_reporting_wo_UERLFReport, { "rRCReestab-reporting-wo-UERLFReport", "xnap.rRCReestab_reporting_wo_UERLFReport_element", FT_NONE, BASE_NONE, NULL, 0, "RRCReestab_Initiated_Reporting_wo_UERLFReport", HFILL }}, { &hf_xnap_rRCReestab_reporting_with_UERLFReport, { "rRCReestab-reporting-with-UERLFReport", "xnap.rRCReestab_reporting_with_UERLFReport_element", FT_NONE, BASE_NONE, NULL, 0, "RRCReestab_Initiated_Reporting_with_UERLFReport", HFILL }}, { &hf_xnap_failureCellPCI, { "failureCellPCI", "xnap.failureCellPCI", FT_UINT32, BASE_DEC, VALS(xnap_NG_RAN_CellPCI_vals), 0, "NG_RAN_CellPCI", HFILL }}, { &hf_xnap_reestabCellCGI, { "reestabCellCGI", "xnap.reestabCellCGI_element", FT_NONE, BASE_NONE, NULL, 0, "GlobalNG_RANCell_ID", HFILL }}, { &hf_xnap_c_RNTI, { "c-RNTI", "xnap.c_RNTI", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_shortMAC_I, { "shortMAC-I", "xnap.shortMAC_I", FT_BYTES, BASE_NONE, NULL, 0, "MAC_I", HFILL }}, { &hf_xnap_uERLFReportContainer, { "uERLFReportContainer", "xnap.uERLFReportContainer", FT_UINT32, BASE_DEC, VALS(xnap_UERLFReportContainer_vals), 0, NULL, HFILL }}, { &hf_xnap_rRRCSetup_Initiated_Reporting, { "rRRCSetup-Initiated-Reporting", "xnap.rRRCSetup_Initiated_Reporting", FT_UINT32, BASE_DEC, VALS(xnap_RRCSetup_Initiated_Reporting_vals), 0, "RRCSetup_Initiated_Reporting", HFILL }}, { &hf_xnap_rRCSetup_reporting_with_UERLFReport, { "rRCSetup-reporting-with-UERLFReport", "xnap.rRCSetup_reporting_with_UERLFReport_element", FT_NONE, BASE_NONE, NULL, 0, "RRCSetup_Initiated_Reporting_with_UERLFReport", HFILL }}, { &hf_xnap_S_NSSAIListQoE_item, { "S-NSSAI", "xnap.S_NSSAI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ng_ran_TraceID, { "ng-ran-TraceID", "xnap.ng_ran_TraceID", FT_BYTES, BASE_NONE, NULL, 0, "NG_RANTraceID", HFILL }}, { &hf_xnap_secondarydataForwardingInfoFromTarget, { "secondarydataForwardingInfoFromTarget", "xnap.secondarydataForwardingInfoFromTarget_element", FT_NONE, BASE_NONE, NULL, 0, "DataForwardingInfoFromTargetNGRANnode", HFILL }}, { &hf_xnap_SecondarydataForwardingInfoFromTarget_List_item, { "SecondarydataForwardingInfoFromTarget-Item", "xnap.SecondarydataForwardingInfoFromTarget_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sdtindicator, { "sdtindicator", "xnap.sdtindicator", FT_UINT32, BASE_DEC, VALS(xnap_SDTIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_sdtAssistantInfo, { "sdtAssistantInfo", "xnap.sdtAssistantInfo", FT_UINT32, BASE_DEC, VALS(xnap_SDTAssistantInfo_vals), 0, NULL, HFILL }}, { &hf_xnap_dRBsToBeSetup_02, { "dRBsToBeSetup", "xnap.dRBsToBeSetup", FT_UINT32, BASE_DEC, NULL, 0, "SDT_DRBsToBeSetupList", HFILL }}, { &hf_xnap_sRBsToBeSetup, { "sRBsToBeSetup", "xnap.sRBsToBeSetup", FT_UINT32, BASE_DEC, NULL, 0, "SDT_SRBsToBeSetupList", HFILL }}, { &hf_xnap_SDT_DRBsToBeSetupList_item, { "SDT-DRBsToBeSetupList-Item", "xnap.SDT_DRBsToBeSetupList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_uL_TNLInfo, { "uL-TNLInfo", "xnap.uL_TNLInfo", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_dRB_RLC_Bearer_Configuration, { "dRB-RLC-Bearer-Configuration", "xnap.dRB_RLC_Bearer_Configuration", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_s_nssai, { "s-nssai", "xnap.s_nssai_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_flows_Mapped_To_DRB_List, { "flows-Mapped-To-DRB-List", "xnap.flows_Mapped_To_DRB_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SDT_SRBsToBeSetupList_item, { "SDT-SRBsToBeSetupList-Item", "xnap.SDT_SRBsToBeSetupList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_srb_ID, { "srb-ID", "xnap.srb_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_sRB_RLC_Bearer_Configuration, { "sRB-RLC-Bearer-Configuration", "xnap.sRB_RLC_Bearer_Configuration", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SDTDataForwardingDRBList_item, { "SDTDataForwardingDRBList-Item", "xnap.SDTDataForwardingDRBList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dL_TNLInfo, { "dL-TNLInfo", "xnap.dL_TNLInfo", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_pDUSessionUsageReport, { "pDUSessionUsageReport", "xnap.pDUSessionUsageReport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qosFlowsUsageReportList, { "qosFlowsUsageReportList", "xnap.qosFlowsUsageReportList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_integrityProtectionIndication, { "integrityProtectionIndication", "xnap.integrityProtectionIndication", FT_UINT32, BASE_DEC, VALS(xnap_T_integrityProtectionIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_confidentialityProtectionIndication, { "confidentialityProtectionIndication", "xnap.confidentialityProtectionIndication", FT_UINT32, BASE_DEC, VALS(xnap_T_confidentialityProtectionIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_maximumIPdatarate, { "maximumIPdatarate", "xnap.maximumIPdatarate_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_integrityProtectionResult, { "integrityProtectionResult", "xnap.integrityProtectionResult", FT_UINT32, BASE_DEC, VALS(xnap_T_integrityProtectionResult_vals), 0, NULL, HFILL }}, { &hf_xnap_confidentialityProtectionResult, { "confidentialityProtectionResult", "xnap.confidentialityProtectionResult", FT_UINT32, BASE_DEC, VALS(xnap_T_confidentialityProtectionResult_vals), 0, NULL, HFILL }}, { &hf_xnap_sensorMeasConfig, { "sensorMeasConfig", "xnap.sensorMeasConfig", FT_UINT32, BASE_DEC, VALS(xnap_SensorMeasConfig_vals), 0, NULL, HFILL }}, { &hf_xnap_sensorMeasConfigNameList, { "sensorMeasConfigNameList", "xnap.sensorMeasConfigNameList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SensorMeasConfigNameList_item, { "SensorName", "xnap.SensorName_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_uncompensatedBarometricConfig, { "uncompensatedBarometricConfig", "xnap.uncompensatedBarometricConfig", FT_UINT32, BASE_DEC, VALS(xnap_T_uncompensatedBarometricConfig_vals), 0, NULL, HFILL }}, { &hf_xnap_ueSpeedConfig, { "ueSpeedConfig", "xnap.ueSpeedConfig", FT_UINT32, BASE_DEC, VALS(xnap_T_ueSpeedConfig_vals), 0, NULL, HFILL }}, { &hf_xnap_ueOrientationConfig, { "ueOrientationConfig", "xnap.ueOrientationConfig", FT_UINT32, BASE_DEC, VALS(xnap_T_ueOrientationConfig_vals), 0, NULL, HFILL }}, { &hf_xnap_e_utra_pci, { "e-utra-pci", "xnap.e_utra_pci", FT_UINT32, BASE_DEC, NULL, 0, "E_UTRAPCI", HFILL }}, { &hf_xnap_broadcastPLMNs_02, { "broadcastPLMNs", "xnap.broadcastPLMNs", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN", HFILL }}, { &hf_xnap_broadcastPLMNs_item, { "ServedCellInformation-E-UTRA-perBPLMN", "xnap.ServedCellInformation_E_UTRA_perBPLMN_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_e_utra_mode_info, { "e-utra-mode-info", "xnap.e_utra_mode_info", FT_UINT32, BASE_DEC, VALS(xnap_ServedCellInformation_E_UTRA_ModeInfo_vals), 0, "ServedCellInformation_E_UTRA_ModeInfo", HFILL }}, { &hf_xnap_numberofAntennaPorts, { "numberofAntennaPorts", "xnap.numberofAntennaPorts", FT_UINT32, BASE_DEC, VALS(xnap_NumberOfAntennaPorts_E_UTRA_vals), 0, "NumberOfAntennaPorts_E_UTRA", HFILL }}, { &hf_xnap_prach_configuration, { "prach-configuration", "xnap.prach_configuration_element", FT_NONE, BASE_NONE, NULL, 0, "E_UTRAPRACHConfiguration", HFILL }}, { &hf_xnap_mBSFNsubframeInfo, { "mBSFNsubframeInfo", "xnap.mBSFNsubframeInfo", FT_UINT32, BASE_DEC, NULL, 0, "MBSFNSubframeInfo_E_UTRA", HFILL }}, { &hf_xnap_multibandInfo, { "multibandInfo", "xnap.multibandInfo", FT_UINT32, BASE_DEC, NULL, 0, "E_UTRAMultibandInfoList", HFILL }}, { &hf_xnap_freqBandIndicatorPriority, { "freqBandIndicatorPriority", "xnap.freqBandIndicatorPriority", FT_UINT32, BASE_DEC, VALS(xnap_T_freqBandIndicatorPriority_vals), 0, NULL, HFILL }}, { &hf_xnap_bandwidthReducedSI, { "bandwidthReducedSI", "xnap.bandwidthReducedSI", FT_UINT32, BASE_DEC, VALS(xnap_T_bandwidthReducedSI_vals), 0, NULL, HFILL }}, { &hf_xnap_protectedE_UTRAResourceIndication, { "protectedE-UTRAResourceIndication", "xnap.protectedE_UTRAResourceIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_fdd_02, { "fdd", "xnap.fdd_element", FT_NONE, BASE_NONE, NULL, 0, "ServedCellInformation_E_UTRA_FDDInfo", HFILL }}, { &hf_xnap_tdd_02, { "tdd", "xnap.tdd_element", FT_NONE, BASE_NONE, NULL, 0, "ServedCellInformation_E_UTRA_TDDInfo", HFILL }}, { &hf_xnap_ul_earfcn, { "ul-earfcn", "xnap.ul_earfcn", FT_UINT32, BASE_DEC, NULL, 0, "E_UTRAARFCN", HFILL }}, { &hf_xnap_dl_earfcn, { "dl-earfcn", "xnap.dl_earfcn", FT_UINT32, BASE_DEC, NULL, 0, "E_UTRAARFCN", HFILL }}, { &hf_xnap_ul_e_utraTxBW, { "ul-e-utraTxBW", "xnap.ul_e_utraTxBW", FT_UINT32, BASE_DEC, VALS(xnap_E_UTRATransmissionBandwidth_vals), 0, "E_UTRATransmissionBandwidth", HFILL }}, { &hf_xnap_dl_e_utraTxBW, { "dl-e-utraTxBW", "xnap.dl_e_utraTxBW", FT_UINT32, BASE_DEC, VALS(xnap_E_UTRATransmissionBandwidth_vals), 0, "E_UTRATransmissionBandwidth", HFILL }}, { &hf_xnap_e_utraTxBW, { "e-utraTxBW", "xnap.e_utraTxBW", FT_UINT32, BASE_DEC, VALS(xnap_E_UTRATransmissionBandwidth_vals), 0, "E_UTRATransmissionBandwidth", HFILL }}, { &hf_xnap_subframeAssignmnet, { "subframeAssignmnet", "xnap.subframeAssignmnet", FT_UINT32, BASE_DEC, VALS(xnap_T_subframeAssignmnet_vals), 0, NULL, HFILL }}, { &hf_xnap_specialSubframeInfo, { "specialSubframeInfo", "xnap.specialSubframeInfo_element", FT_NONE, BASE_NONE, NULL, 0, "SpecialSubframeInfo_E_UTRA", HFILL }}, { &hf_xnap_ServedCells_E_UTRA_item, { "ServedCells-E-UTRA-Item", "xnap.ServedCells_E_UTRA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_served_cell_info_E_UTRA, { "served-cell-info-E-UTRA", "xnap.served_cell_info_E_UTRA_element", FT_NONE, BASE_NONE, NULL, 0, "ServedCellInformation_E_UTRA", HFILL }}, { &hf_xnap_neighbour_info_NR, { "neighbour-info-NR", "xnap.neighbour_info_NR", FT_UINT32, BASE_DEC, NULL, 0, "NeighbourInformation_NR", HFILL }}, { &hf_xnap_neighbour_info_E_UTRA, { "neighbour-info-E-UTRA", "xnap.neighbour_info_E_UTRA", FT_UINT32, BASE_DEC, NULL, 0, "NeighbourInformation_E_UTRA", HFILL }}, { &hf_xnap_served_Cells_ToAdd_E_UTRA, { "served-Cells-ToAdd-E-UTRA", "xnap.served_Cells_ToAdd_E_UTRA", FT_UINT32, BASE_DEC, NULL, 0, "ServedCells_E_UTRA", HFILL }}, { &hf_xnap_served_Cells_ToModify_E_UTRA, { "served-Cells-ToModify-E-UTRA", "xnap.served_Cells_ToModify_E_UTRA", FT_UINT32, BASE_DEC, NULL, 0, "ServedCells_ToModify_E_UTRA", HFILL }}, { &hf_xnap_served_Cells_ToDelete_E_UTRA, { "served-Cells-ToDelete-E-UTRA", "xnap.served_Cells_ToDelete_E_UTRA", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI", HFILL }}, { &hf_xnap_served_Cells_ToDelete_E_UTRA_item, { "E-UTRA-CGI", "xnap.E_UTRA_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ServedCells_ToModify_E_UTRA_item, { "ServedCells-ToModify-E-UTRA-Item", "xnap.ServedCells_ToModify_E_UTRA_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_old_ECGI, { "old-ECGI", "xnap.old_ECGI_element", FT_NONE, BASE_NONE, NULL, 0, "E_UTRA_CGI", HFILL }}, { &hf_xnap_deactivation_indication, { "deactivation-indication", "xnap.deactivation_indication", FT_UINT32, BASE_DEC, VALS(xnap_T_deactivation_indication_vals), 0, NULL, HFILL }}, { &hf_xnap_nrPCI, { "nrPCI", "xnap.nrPCI", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_cellID, { "cellID", "xnap.cellID_element", FT_NONE, BASE_NONE, NULL, 0, "NR_CGI", HFILL }}, { &hf_xnap_broadcastPLMN, { "broadcastPLMN", "xnap.broadcastPLMN", FT_UINT32, BASE_DEC, NULL, 0, "BroadcastPLMNs", HFILL }}, { &hf_xnap_nrModeInfo, { "nrModeInfo", "xnap.nrModeInfo", FT_UINT32, BASE_DEC, VALS(xnap_NRModeInfo_vals), 0, NULL, HFILL }}, { &hf_xnap_measurementTimingConfiguration_01, { "measurementTimingConfiguration", "xnap.measurementTimingConfiguration", FT_BYTES, BASE_NONE, NULL, 0, "T_measurementTimingConfiguration_01", HFILL }}, { &hf_xnap_sFN_Time_Offset, { "sFN-Time-Offset", "xnap.sFN_Time_Offset", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_24", HFILL }}, { &hf_xnap_ServedCells_NR_item, { "ServedCells-NR-Item", "xnap.ServedCells_NR_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_served_cell_info_NR, { "served-cell-info-NR", "xnap.served_cell_info_NR_element", FT_NONE, BASE_NONE, NULL, 0, "ServedCellInformation_NR", HFILL }}, { &hf_xnap_ServedCells_ToModify_NR_item, { "ServedCells-ToModify-NR-Item", "xnap.ServedCells_ToModify_NR_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_old_NR_CGI, { "old-NR-CGI", "xnap.old_NR_CGI_element", FT_NONE, BASE_NONE, NULL, 0, "NR_CGI", HFILL }}, { &hf_xnap_deactivation_indication_01, { "deactivation-indication", "xnap.deactivation_indication", FT_UINT32, BASE_DEC, VALS(xnap_T_deactivation_indication_01_vals), 0, "T_deactivation_indication_01", HFILL }}, { &hf_xnap_ServedCellSpecificInfoReq_NR_item, { "ServedCellSpecificInfoReq-NR-Item", "xnap.ServedCellSpecificInfoReq_NR_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_additionalMTCListRequestIndicator, { "additionalMTCListRequestIndicator", "xnap.additionalMTCListRequestIndicator", FT_UINT32, BASE_DEC, VALS(xnap_T_additionalMTCListRequestIndicator_vals), 0, NULL, HFILL }}, { &hf_xnap_served_Cells_ToAdd_NR, { "served-Cells-ToAdd-NR", "xnap.served_Cells_ToAdd_NR", FT_UINT32, BASE_DEC, NULL, 0, "ServedCells_NR", HFILL }}, { &hf_xnap_served_Cells_ToModify_NR, { "served-Cells-ToModify-NR", "xnap.served_Cells_ToModify_NR", FT_UINT32, BASE_DEC, NULL, 0, "ServedCells_ToModify_NR", HFILL }}, { &hf_xnap_served_Cells_ToDelete_NR, { "served-Cells-ToDelete-NR", "xnap.served_Cells_ToDelete_NR", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI", HFILL }}, { &hf_xnap_served_Cells_ToDelete_NR_item, { "NR-CGI", "xnap.NR_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ul_onlySharing, { "ul-onlySharing", "xnap.ul_onlySharing_element", FT_NONE, BASE_NONE, NULL, 0, "SharedResourceType_UL_OnlySharing", HFILL }}, { &hf_xnap_ul_and_dl_Sharing, { "ul-and-dl-Sharing", "xnap.ul_and_dl_Sharing", FT_UINT32, BASE_DEC, VALS(xnap_SharedResourceType_ULDL_Sharing_vals), 0, "SharedResourceType_ULDL_Sharing", HFILL }}, { &hf_xnap_ul_resourceBitmap, { "ul-resourceBitmap", "xnap.ul_resourceBitmap", FT_BYTES, BASE_NONE, NULL, 0, "DataTrafficResources", HFILL }}, { &hf_xnap_ul_resources, { "ul-resources", "xnap.ul_resources", FT_UINT32, BASE_DEC, VALS(xnap_SharedResourceType_ULDL_Sharing_UL_Resources_vals), 0, "SharedResourceType_ULDL_Sharing_UL_Resources", HFILL }}, { &hf_xnap_dl_resources, { "dl-resources", "xnap.dl_resources", FT_UINT32, BASE_DEC, VALS(xnap_SharedResourceType_ULDL_Sharing_DL_Resources_vals), 0, "SharedResourceType_ULDL_Sharing_DL_Resources", HFILL }}, { &hf_xnap_unchanged, { "unchanged", "xnap.unchanged_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_changed, { "changed", "xnap.changed_element", FT_NONE, BASE_NONE, NULL, 0, "SharedResourceType_ULDL_Sharing_UL_ResourcesChanged", HFILL }}, { &hf_xnap_changed_01, { "changed", "xnap.changed_element", FT_NONE, BASE_NONE, NULL, 0, "SharedResourceType_ULDL_Sharing_DL_ResourcesChanged", HFILL }}, { &hf_xnap_dl_resourceBitmap, { "dl-resourceBitmap", "xnap.dl_resourceBitmap", FT_BYTES, BASE_NONE, NULL, 0, "DataTrafficResources", HFILL }}, { &hf_xnap_SliceAvailableCapacity_item, { "SliceAvailableCapacity-Item", "xnap.SliceAvailableCapacity_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pLMNIdentity, { "pLMNIdentity", "xnap.pLMNIdentity", FT_BYTES, BASE_NONE, NULL, 0, "PLMN_Identity", HFILL }}, { &hf_xnap_sNSSAIAvailableCapacity_List, { "sNSSAIAvailableCapacity-List", "xnap.sNSSAIAvailableCapacity_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNSSAIAvailableCapacity_List_item, { "SNSSAIAvailableCapacity-Item", "xnap.SNSSAIAvailableCapacity_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sNSSAI, { "sNSSAI", "xnap.sNSSAI_element", FT_NONE, BASE_NONE, NULL, 0, "S_NSSAI", HFILL }}, { &hf_xnap_sliceAvailableCapacityValueDownlink, { "sliceAvailableCapacityValueDownlink", "xnap.sliceAvailableCapacityValueDownlink", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_xnap_sliceAvailableCapacityValueUplink, { "sliceAvailableCapacityValueUplink", "xnap.sliceAvailableCapacityValueUplink", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_xnap_SliceRadioResourceStatus_List_item, { "SliceRadioResourceStatus-Item", "xnap.SliceRadioResourceStatus_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sNSSAIRadioResourceStatus_List, { "sNSSAIRadioResourceStatus-List", "xnap.sNSSAIRadioResourceStatus_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SNSSAIRadioResourceStatus_List_item, { "SNSSAIRadioResourceStatus-Item", "xnap.SNSSAIRadioResourceStatus_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_slice_DL_GBR_PRB_Usage, { "slice-DL-GBR-PRB-Usage", "xnap.slice_DL_GBR_PRB_Usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_slice_UL_GBR_PRB_Usage, { "slice-UL-GBR-PRB-Usage", "xnap.slice_UL_GBR_PRB_Usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_slice_DL_non_GBR_PRB_Usage, { "slice-DL-non-GBR-PRB-Usage", "xnap.slice_DL_non_GBR_PRB_Usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_slice_UL_non_GBR_PRB_Usage, { "slice-UL-non-GBR-PRB-Usage", "xnap.slice_UL_non_GBR_PRB_Usage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_slice_DL_Total_PRB_Allocation, { "slice-DL-Total-PRB-Allocation", "xnap.slice_DL_Total_PRB_Allocation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_slice_UL_Total_PRB_Allocation, { "slice-UL-Total-PRB-Allocation", "xnap.slice_UL_Total_PRB_Allocation", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_SliceSupport_List_item, { "S-NSSAI", "xnap.S_NSSAI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SliceToReport_List_item, { "SliceToReport-List-Item", "xnap.SliceToReport_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sNSSAIlist, { "sNSSAIlist", "xnap.sNSSAIlist", FT_UINT32, BASE_DEC, NULL, 0, "SNSSAI_list", HFILL }}, { &hf_xnap_SNSSAI_list_item, { "SNSSAI-Item", "xnap.SNSSAI_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SlotConfiguration_List_item, { "SlotConfiguration-List-Item", "xnap.SlotConfiguration_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_slotIndex_01, { "slotIndex", "xnap.slotIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_5119", HFILL }}, { &hf_xnap_symbolAllocation_in_Slot, { "symbolAllocation-in-Slot", "xnap.symbolAllocation_in_Slot", FT_UINT32, BASE_DEC, VALS(xnap_SymbolAllocation_in_Slot_vals), 0, NULL, HFILL }}, { &hf_xnap_sst, { "sst", "xnap.sst", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING_SIZE_1", HFILL }}, { &hf_xnap_sd, { "sd", "xnap.sd", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING_SIZE_3", HFILL }}, { &hf_xnap_specialSubframePattern, { "specialSubframePattern", "xnap.specialSubframePattern", FT_UINT32, BASE_DEC, VALS(xnap_SpecialSubframePatterns_E_UTRA_vals), 0, "SpecialSubframePatterns_E_UTRA", HFILL }}, { &hf_xnap_cyclicPrefixDL, { "cyclicPrefixDL", "xnap.cyclicPrefixDL", FT_UINT32, BASE_DEC, VALS(xnap_CyclicPrefix_E_UTRA_DL_vals), 0, "CyclicPrefix_E_UTRA_DL", HFILL }}, { &hf_xnap_cyclicPrefixUL, { "cyclicPrefixUL", "xnap.cyclicPrefixUL", FT_UINT32, BASE_DEC, VALS(xnap_CyclicPrefix_E_UTRA_UL_vals), 0, "CyclicPrefix_E_UTRA_UL", HFILL }}, { &hf_xnap_SSBAreaCapacityValue_List_item, { "SSBAreaCapacityValue-List-Item", "xnap.SSBAreaCapacityValue_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sSBIndex, { "sSBIndex", "xnap.sSBIndex", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_63", HFILL }}, { &hf_xnap_ssbAreaCapacityValue, { "ssbAreaCapacityValue", "xnap.ssbAreaCapacityValue", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_100", HFILL }}, { &hf_xnap_SSBAreaRadioResourceStatus_List_item, { "SSBAreaRadioResourceStatus-List-Item", "xnap.SSBAreaRadioResourceStatus_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ssb_Area_DL_GBR_PRB_usage, { "ssb-Area-DL-GBR-PRB-usage", "xnap.ssb_Area_DL_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, "DL_GBR_PRB_usage", HFILL }}, { &hf_xnap_ssb_Area_UL_GBR_PRB_usage, { "ssb-Area-UL-GBR-PRB-usage", "xnap.ssb_Area_UL_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, "UL_GBR_PRB_usage", HFILL }}, { &hf_xnap_ssb_Area_dL_non_GBR_PRB_usage, { "ssb-Area-dL-non-GBR-PRB-usage", "xnap.ssb_Area_dL_non_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, "DL_non_GBR_PRB_usage", HFILL }}, { &hf_xnap_ssb_Area_uL_non_GBR_PRB_usage, { "ssb-Area-uL-non-GBR-PRB-usage", "xnap.ssb_Area_uL_non_GBR_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, "UL_non_GBR_PRB_usage", HFILL }}, { &hf_xnap_ssb_Area_dL_Total_PRB_usage, { "ssb-Area-dL-Total-PRB-usage", "xnap.ssb_Area_dL_Total_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, "DL_Total_PRB_usage", HFILL }}, { &hf_xnap_ssb_Area_uL_Total_PRB_usage, { "ssb-Area-uL-Total-PRB-usage", "xnap.ssb_Area_uL_Total_PRB_usage", FT_UINT32, BASE_DEC, NULL, 0, "UL_Total_PRB_usage", HFILL }}, { &hf_xnap_SSB_Coverage_Modification_List_item, { "SSB-Coverage-Modification-List-Item", "xnap.SSB_Coverage_Modification_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sSBCoverageState, { "sSBCoverageState", "xnap.sSBCoverageState", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_15_", HFILL }}, { &hf_xnap_shortBitmap, { "shortBitmap", "xnap.shortBitmap", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_4", HFILL }}, { &hf_xnap_mediumBitmap, { "mediumBitmap", "xnap.mediumBitmap", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_8", HFILL }}, { &hf_xnap_longBitmap, { "longBitmap", "xnap.longBitmap", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_64", HFILL }}, { &hf_xnap_SSBOffsets_List_item, { "SSBOffsets-Item", "xnap.SSBOffsets_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nG_RANnode1SSBOffsets, { "nG-RANnode1SSBOffsets", "xnap.nG_RANnode1SSBOffsets_element", FT_NONE, BASE_NONE, NULL, 0, "SSBOffsetInformation", HFILL }}, { &hf_xnap_nG_RANnode2ProposedSSBOffsets, { "nG-RANnode2ProposedSSBOffsets", "xnap.nG_RANnode2ProposedSSBOffsets_element", FT_NONE, BASE_NONE, NULL, 0, "SSBOffsetInformation", HFILL }}, { &hf_xnap_sSBTriggeringOffset, { "sSBTriggeringOffset", "xnap.sSBTriggeringOffset_element", FT_NONE, BASE_NONE, NULL, 0, "MobilityParametersInformation", HFILL }}, { &hf_xnap_sSBobilityParametersModificationRange, { "sSBobilityParametersModificationRange", "xnap.sSBobilityParametersModificationRange_element", FT_NONE, BASE_NONE, NULL, 0, "MobilityParametersModificationRange", HFILL }}, { &hf_xnap_SSBToReport_List_item, { "SSBToReport-List-Item", "xnap.SSBToReport_List_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SuccessfulHOReportInformation_item, { "SuccessfulHOReportList-Item", "xnap.SuccessfulHOReportList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_successfulHOReport, { "successfulHOReport", "xnap.successfulHOReport", FT_BYTES, BASE_NONE, NULL, 0, "SuccessfulHOReportContainer", HFILL }}, { &hf_xnap_sulFrequencyInfo, { "sulFrequencyInfo", "xnap.sulFrequencyInfo", FT_UINT32, BASE_DEC, NULL, 0, "NRARFCN", HFILL }}, { &hf_xnap_sulTransmissionBandwidth, { "sulTransmissionBandwidth", "xnap.sulTransmissionBandwidth_element", FT_NONE, BASE_NONE, NULL, 0, "NRTransmissionBandwidth", HFILL }}, { &hf_xnap_Supported_MBS_FSA_ID_List_item, { "MBS-FrequencySelectionArea-Identity", "xnap.MBS_FrequencySelectionArea_Identity", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_SupportedSULBandList_item, { "SupportedSULBandItem", "xnap.SupportedSULBandItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sulBandItem, { "sulBandItem", "xnap.sulBandItem", FT_UINT32, BASE_DEC, NULL, 0, "SUL_FrequencyBand", HFILL }}, { &hf_xnap_allDL, { "allDL", "xnap.allDL_element", FT_NONE, BASE_NONE, NULL, 0, "SymbolAllocation_in_Slot_AllDL", HFILL }}, { &hf_xnap_allUL, { "allUL", "xnap.allUL_element", FT_NONE, BASE_NONE, NULL, 0, "SymbolAllocation_in_Slot_AllUL", HFILL }}, { &hf_xnap_bothDLandUL, { "bothDLandUL", "xnap.bothDLandUL_element", FT_NONE, BASE_NONE, NULL, 0, "SymbolAllocation_in_Slot_BothDLandUL", HFILL }}, { &hf_xnap_numberofDLSymbols, { "numberofDLSymbols", "xnap.numberofDLSymbols", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_13", HFILL }}, { &hf_xnap_numberofULSymbols, { "numberofULSymbols", "xnap.numberofULSymbols", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_13", HFILL }}, { &hf_xnap_tAListforMDT, { "tAListforMDT", "xnap.tAListforMDT", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_tAIListforMDT, { "tAIListforMDT", "xnap.tAIListforMDT", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TAIListforMDT_item, { "TAIforMDT-Item", "xnap.TAIforMDT_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TAINSAGSupportList_item, { "TAINSAGSupportItem", "xnap.TAINSAGSupportItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nSAG_ID, { "nSAG-ID", "xnap.nSAG_ID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_nSAGSliceSupportList, { "nSAGSliceSupportList", "xnap.nSAGSliceSupportList", FT_UINT32, BASE_DEC, NULL, 0, "ExtendedSliceSupportList", HFILL }}, { &hf_xnap_TAISupport_List_item, { "TAISupport-Item", "xnap.TAISupport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_broadcastPLMNs_03, { "broadcastPLMNs", "xnap.broadcastPLMNs", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item", HFILL }}, { &hf_xnap_broadcastPLMNs_item_01, { "BroadcastPLMNinTAISupport-Item", "xnap.BroadcastPLMNinTAISupport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TAListforMDT_item, { "TAC", "xnap.TAC", FT_UINT24, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_tAListforQMC, { "tAListforQMC", "xnap.tAListforQMC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TAListforQMC_item, { "TAC", "xnap.TAC", FT_UINT24, BASE_DEC_HEX, NULL, 0, NULL, HFILL }}, { &hf_xnap_tAIListforQMC, { "tAIListforQMC", "xnap.tAIListforQMC", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_TAIListforQMC_item, { "TAI-Item", "xnap.TAI_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nr_02, { "nr", "xnap.nr_element", FT_NONE, BASE_NONE, NULL, 0, "NR_CGI", HFILL }}, { &hf_xnap_e_utra_02, { "e-utra", "xnap.e_utra_element", FT_NONE, BASE_NONE, NULL, 0, "E_UTRA_CGI", HFILL }}, { &hf_xnap_TargetCellList_item, { "TargetCellList-Item", "xnap.TargetCellList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_target_cell, { "target-cell", "xnap.target_cell", FT_UINT32, BASE_DEC, VALS(xnap_Target_CGI_vals), 0, "Target_CGI", HFILL }}, { &hf_xnap_timeDistributionIndication, { "timeDistributionIndication", "xnap.timeDistributionIndication", FT_UINT32, BASE_DEC, VALS(xnap_T_timeDistributionIndication_vals), 0, NULL, HFILL }}, { &hf_xnap_uuTimeSynchronizationErrorBudget, { "uuTimeSynchronizationErrorBudget", "xnap.uuTimeSynchronizationErrorBudget", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_1000000_", HFILL }}, { &hf_xnap_extendedUPTransportLayerAddressesToAdd, { "extendedUPTransportLayerAddressesToAdd", "xnap.extendedUPTransportLayerAddressesToAdd", FT_UINT32, BASE_DEC, NULL, 0, "ExtTLAs", HFILL }}, { &hf_xnap_extendedUPTransportLayerAddressesToRemove, { "extendedUPTransportLayerAddressesToRemove", "xnap.extendedUPTransportLayerAddressesToRemove", FT_UINT32, BASE_DEC, NULL, 0, "ExtTLAs", HFILL }}, { &hf_xnap_TNLA_To_Add_List_item, { "TNLA-To-Add-Item", "xnap.TNLA_To_Add_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_tNLAssociationTransportLayerAddress, { "tNLAssociationTransportLayerAddress", "xnap.tNLAssociationTransportLayerAddress", FT_UINT32, BASE_DEC, VALS(xnap_CPTransportLayerInformation_vals), 0, "CPTransportLayerInformation", HFILL }}, { &hf_xnap_tNLAssociationUsage, { "tNLAssociationUsage", "xnap.tNLAssociationUsage", FT_UINT32, BASE_DEC, VALS(xnap_TNLAssociationUsage_vals), 0, NULL, HFILL }}, { &hf_xnap_TNLA_To_Update_List_item, { "TNLA-To-Update-Item", "xnap.TNLA_To_Update_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TNLA_To_Remove_List_item, { "TNLA-To-Remove-Item", "xnap.TNLA_To_Remove_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TNLA_Setup_List_item, { "TNLA-Setup-Item", "xnap.TNLA_Setup_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TNLA_Failed_To_Setup_List_item, { "TNLA-Failed-To-Setup-Item", "xnap.TNLA_Failed_To_Setup_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_interfaces_to_trace, { "interfaces-to-trace", "xnap.interfaces_to_trace", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_trace_depth, { "trace-depth", "xnap.trace_depth", FT_UINT32, BASE_DEC, VALS(xnap_Trace_Depth_vals), 0, NULL, HFILL }}, { &hf_xnap_trace_coll_address, { "trace-coll-address", "xnap.trace_coll_address", FT_BYTES, BASE_NONE, NULL, 0, "TransportLayerAddress", HFILL }}, { &hf_xnap_uPTraffic, { "uPTraffic", "xnap.uPTraffic_element", FT_NONE, BASE_NONE, NULL, 0, "QoSFlowLevelQoSParameters", HFILL }}, { &hf_xnap_nonUPTraffic, { "nonUPTraffic", "xnap.nonUPTraffic", FT_UINT32, BASE_DEC, VALS(xnap_NonUPTraffic_vals), 0, NULL, HFILL }}, { &hf_xnap_fullRelease, { "fullRelease", "xnap.fullRelease", FT_UINT32, BASE_DEC, VALS(xnap_AllTrafficIndication_vals), 0, "AllTrafficIndication", HFILL }}, { &hf_xnap_partialRelease, { "partialRelease", "xnap.partialRelease", FT_UINT32, BASE_DEC, NULL, 0, "TrafficToBeRelease_List", HFILL }}, { &hf_xnap_releaseType, { "releaseType", "xnap.releaseType", FT_UINT32, BASE_DEC, VALS(xnap_TrafficReleaseType_vals), 0, "TrafficReleaseType", HFILL }}, { &hf_xnap_TrafficToBeRelease_List_item, { "TrafficToBeRelease-Item", "xnap.TrafficToBeRelease_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_trafficIndex, { "trafficIndex", "xnap.trafficIndex", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_bHInfoList, { "bHInfoList", "xnap.bHInfoList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_tSCAssistanceInformationDownlink, { "tSCAssistanceInformationDownlink", "xnap.tSCAssistanceInformationDownlink_element", FT_NONE, BASE_NONE, NULL, 0, "TSCAssistanceInformation", HFILL }}, { &hf_xnap_tSCAssistanceInformationUplink, { "tSCAssistanceInformationUplink", "xnap.tSCAssistanceInformationUplink_element", FT_NONE, BASE_NONE, NULL, 0, "TSCAssistanceInformation", HFILL }}, { &hf_xnap_periodicity, { "periodicity", "xnap.periodicity", FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_microseconds, 0, "INTEGER_0_640000_", HFILL }}, { &hf_xnap_burstArrivalTime, { "burstArrivalTime", "xnap.burstArrivalTime", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dl_UE_AMBR, { "dl-UE-AMBR", "xnap.dl_UE_AMBR", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_ul_UE_AMBR, { "ul-UE-AMBR", "xnap.ul_UE_AMBR", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_qOEReference, { "qOEReference", "xnap.qOEReference", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qOEMeasConfigAppLayerID, { "qOEMeasConfigAppLayerID", "xnap.qOEMeasConfigAppLayerID", FT_UINT32, BASE_DEC, NULL, 0, "QOEMeasConfAppLayerID", HFILL }}, { &hf_xnap_serviceType, { "serviceType", "xnap.serviceType", FT_UINT32, BASE_DEC, VALS(xnap_ServiceType_vals), 0, NULL, HFILL }}, { &hf_xnap_qOEMeasStatus, { "qOEMeasStatus", "xnap.qOEMeasStatus", FT_UINT32, BASE_DEC, VALS(xnap_QOEMeasStatus_vals), 0, NULL, HFILL }}, { &hf_xnap_containerAppLayerMeasConfig, { "containerAppLayerMeasConfig", "xnap.containerAppLayerMeasConfig", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mDTAlignmentInfo, { "mDTAlignmentInfo", "xnap.mDTAlignmentInfo", FT_UINT32, BASE_DEC, VALS(xnap_MDTAlignmentInfo_vals), 0, NULL, HFILL }}, { &hf_xnap_measCollectionEntityIPAddress, { "measCollectionEntityIPAddress", "xnap.measCollectionEntityIPAddress", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_areaScopeOfQMC, { "areaScopeOfQMC", "xnap.areaScopeOfQMC", FT_UINT32, BASE_DEC, VALS(xnap_AreaScopeOfQMC_vals), 0, NULL, HFILL }}, { &hf_xnap_s_NSSAIListQoE, { "s-NSSAIListQoE", "xnap.s_NSSAIListQoE", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_availableRVQoEMetrics, { "availableRVQoEMetrics", "xnap.availableRVQoEMetrics_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_rRCResume, { "rRCResume", "xnap.rRCResume_element", FT_NONE, BASE_NONE, NULL, 0, "UEContextIDforRRCResume", HFILL }}, { &hf_xnap_rRRCReestablishment, { "rRRCReestablishment", "xnap.rRRCReestablishment_element", FT_NONE, BASE_NONE, NULL, 0, "UEContextIDforRRCReestablishment", HFILL }}, { &hf_xnap_i_rnti, { "i-rnti", "xnap.i_rnti", FT_UINT32, BASE_DEC, VALS(xnap_I_RNTI_vals), 0, NULL, HFILL }}, { &hf_xnap_allocated_c_rnti, { "allocated-c-rnti", "xnap.allocated_c_rnti", FT_BYTES, BASE_NONE, NULL, 0, "C_RNTI", HFILL }}, { &hf_xnap_accessPCI, { "accessPCI", "xnap.accessPCI", FT_UINT32, BASE_DEC, VALS(xnap_NG_RAN_CellPCI_vals), 0, "NG_RAN_CellPCI", HFILL }}, { &hf_xnap_c_rnti, { "c-rnti", "xnap.c_rnti", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ng_c_UE_signalling_ref, { "ng-c-UE-signalling-ref", "xnap.ng_c_UE_signalling_ref", FT_UINT64, BASE_DEC, NULL, 0, "AMF_UE_NGAP_ID", HFILL }}, { &hf_xnap_signalling_TNL_at_source, { "signalling-TNL-at-source", "xnap.signalling_TNL_at_source", FT_UINT32, BASE_DEC, VALS(xnap_CPTransportLayerInformation_vals), 0, "CPTransportLayerInformation", HFILL }}, { &hf_xnap_ueSecurityCapabilities, { "ueSecurityCapabilities", "xnap.ueSecurityCapabilities_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_securityInformation, { "securityInformation", "xnap.securityInformation_element", FT_NONE, BASE_NONE, NULL, 0, "AS_SecurityInformation", HFILL }}, { &hf_xnap_ue_AMBR, { "ue-AMBR", "xnap.ue_AMBR_element", FT_NONE, BASE_NONE, NULL, 0, "UEAggregateMaximumBitRate", HFILL }}, { &hf_xnap_pduSessionResourcesToBeSetup_List, { "pduSessionResourcesToBeSetup-List", "xnap.pduSessionResourcesToBeSetup_List", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_rrc_Context, { "rrc-Context", "xnap.rrc_Context", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mobilityRestrictionList, { "mobilityRestrictionList", "xnap.mobilityRestrictionList_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_indexToRatFrequencySelectionPriority, { "indexToRatFrequencySelectionPriority", "xnap.indexToRatFrequencySelectionPriority", FT_UINT32, BASE_DEC, NULL, 0, "RFSP_Index", HFILL }}, { &hf_xnap_UEHistoryInformation_item, { "LastVisitedCell-Item", "xnap.LastVisitedCell_Item", FT_UINT32, BASE_DEC, VALS(xnap_LastVisitedCell_Item_vals), 0, NULL, HFILL }}, { &hf_xnap_nR, { "nR", "xnap.nR", FT_BYTES, BASE_NONE, NULL, 0, "NRMobilityHistoryReport", HFILL }}, { &hf_xnap_indexLength10, { "indexLength10", "xnap.indexLength10", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_10", HFILL }}, { &hf_xnap_UEIdentityIndexList_MBSGroupPaging_item, { "UEIdentityIndexList-MBSGroupPaging-Item", "xnap.UEIdentityIndexList_MBSGroupPaging_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ueIdentityIndexList_MBSGroupPagingValue, { "ueIdentityIndexList-MBSGroupPagingValue", "xnap.ueIdentityIndexList_MBSGroupPagingValue", FT_UINT32, BASE_DEC, VALS(xnap_UEIdentityIndexList_MBSGroupPagingValue_vals), 0, NULL, HFILL }}, { &hf_xnap_pagingDRX, { "pagingDRX", "xnap.pagingDRX", FT_UINT32, BASE_DEC, VALS(xnap_UESpecificDRX_vals), 0, "UESpecificDRX", HFILL }}, { &hf_xnap_uEIdentityIndexValueMBSGroupPaging, { "uEIdentityIndexValueMBSGroupPaging", "xnap.uEIdentityIndexValueMBSGroupPaging", FT_BYTES, BASE_NONE, NULL, 0, "BIT_STRING_SIZE_10", HFILL }}, { &hf_xnap_uERadioCapabilityForPagingOfNR, { "uERadioCapabilityForPagingOfNR", "xnap.uERadioCapabilityForPagingOfNR", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_uERadioCapabilityForPagingOfEUTRA, { "uERadioCapabilityForPagingOfEUTRA", "xnap.uERadioCapabilityForPagingOfEUTRA", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nR_UERLFReportContainer, { "nR-UERLFReportContainer", "xnap.nR_UERLFReportContainer", FT_BYTES, BASE_NONE, NULL, 0, "UERLFReportContainerNR", HFILL }}, { &hf_xnap_lTE_UERLFReportContainer, { "lTE-UERLFReportContainer", "xnap.lTE_UERLFReportContainer", FT_BYTES, BASE_NONE, NULL, 0, "UERLFReportContainerLTE", HFILL }}, { &hf_xnap_choice_Extension, { "choice-Extension", "xnap.choice_Extension_element", FT_NONE, BASE_NONE, NULL, 0, "ProtocolIE_Single_Container", HFILL }}, { &hf_xnap_ueRLFReportContainerLTE, { "ueRLFReportContainerLTE", "xnap.ueRLFReportContainerLTE", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ueRLFReportContainerLTEExtendBand, { "ueRLFReportContainerLTEExtendBand", "xnap.ueRLFReportContainerLTEExtendBand", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_UESliceMaximumBitRateList_item, { "UESliceMaximumBitRate-Item", "xnap.UESliceMaximumBitRate_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_dl_UE_Slice_MBR, { "dl-UE-Slice-MBR", "xnap.dl_UE_Slice_MBR", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_ul_UE_Slice_MBR, { "ul-UE-Slice-MBR", "xnap.ul_UE_Slice_MBR", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_bit_sec, 0, "BitRate", HFILL }}, { &hf_xnap_nr_EncyptionAlgorithms, { "nr-EncyptionAlgorithms", "xnap.nr_EncyptionAlgorithms", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_nr_IntegrityProtectionAlgorithms, { "nr-IntegrityProtectionAlgorithms", "xnap.nr_IntegrityProtectionAlgorithms", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_e_utra_EncyptionAlgorithms, { "e-utra-EncyptionAlgorithms", "xnap.e_utra_EncyptionAlgorithms", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_e_utra_IntegrityProtectionAlgorithms, { "e-utra-IntegrityProtectionAlgorithms", "xnap.e_utra_IntegrityProtectionAlgorithms", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_uL_PDCP, { "uL-PDCP", "xnap.uL_PDCP", FT_UINT32, BASE_DEC, VALS(xnap_UL_UE_Configuration_vals), 0, "UL_UE_Configuration", HFILL }}, { &hf_xnap_gtpTunnel, { "gtpTunnel", "xnap.gtpTunnel_element", FT_NONE, BASE_NONE, NULL, 0, "GTPtunnelTransportLayerInformation", HFILL }}, { &hf_xnap_UPTransportParameters_item, { "UPTransportParametersItem", "xnap.UPTransportParametersItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_upTNLInfo, { "upTNLInfo", "xnap.upTNLInfo", FT_UINT32, BASE_DEC, VALS(xnap_UPTransportLayerInformation_vals), 0, "UPTransportLayerInformation", HFILL }}, { &hf_xnap_cellGroupID, { "cellGroupID", "xnap.cellGroupID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_VolumeTimedReportList_item, { "VolumeTimedReport-Item", "xnap.VolumeTimedReport_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_startTimeStamp, { "startTimeStamp", "xnap.startTimeStamp", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_endTimeStamp, { "endTimeStamp", "xnap.endTimeStamp", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_usageCountUL, { "usageCountUL", "xnap.usageCountUL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_octet_octets, 0, "INTEGER_0_18446744073709551615", HFILL }}, { &hf_xnap_usageCountDL, { "usageCountDL", "xnap.usageCountDL", FT_UINT64, BASE_DEC|BASE_UNIT_STRING, &units_octet_octets, 0, "INTEGER_0_18446744073709551615", HFILL }}, { &hf_xnap_wlanMeasConfig, { "wlanMeasConfig", "xnap.wlanMeasConfig", FT_UINT32, BASE_DEC, VALS(xnap_WLANMeasConfig_vals), 0, NULL, HFILL }}, { &hf_xnap_wlanMeasConfigNameList, { "wlanMeasConfigNameList", "xnap.wlanMeasConfigNameList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_wlan_rssi, { "wlan-rssi", "xnap.wlan_rssi", FT_UINT32, BASE_DEC, VALS(xnap_T_wlan_rssi_vals), 0, NULL, HFILL }}, { &hf_xnap_wlan_rtt, { "wlan-rtt", "xnap.wlan_rtt", FT_UINT32, BASE_DEC, VALS(xnap_T_wlan_rtt_vals), 0, NULL, HFILL }}, { &hf_xnap_WLANMeasConfigNameList_item, { "WLANName", "xnap.WLANName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_protocolIEs, { "protocolIEs", "xnap.protocolIEs", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_xnap_ng_c_UE_reference, { "ng-c-UE-reference", "xnap.ng_c_UE_reference", FT_UINT64, BASE_DEC, NULL, 0, "AMF_UE_NGAP_ID", HFILL }}, { &hf_xnap_cp_TNL_info_source, { "cp-TNL-info-source", "xnap.cp_TNL_info_source", FT_UINT32, BASE_DEC, VALS(xnap_CPTransportLayerInformation_vals), 0, "CPTransportLayerInformation", HFILL }}, { &hf_xnap_rrc_Context_01, { "rrc-Context", "xnap.rrc_Context", FT_BYTES, BASE_NONE, NULL, 0, "T_rrc_Context_01", HFILL }}, { &hf_xnap_locationReportingInformation, { "locationReportingInformation", "xnap.locationReportingInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_mrl, { "mrl", "xnap.mrl_element", FT_NONE, BASE_NONE, NULL, 0, "MobilityRestrictionList", HFILL }}, { &hf_xnap_globalNG_RANNode_ID, { "globalNG-RANNode-ID", "xnap.globalNG_RANNode_ID", FT_UINT32, BASE_DEC, VALS(xnap_GlobalNG_RANNode_ID_vals), 0, NULL, HFILL }}, { &hf_xnap_sN_NG_RANnodeUEXnAPID, { "sN-NG-RANnodeUEXnAPID", "xnap.sN_NG_RANnodeUEXnAPID", FT_UINT32, BASE_DEC, NULL, 0, "NG_RANnodeUEXnAPID", HFILL }}, { &hf_xnap_first_dl_count, { "first-dl-count", "xnap.first_dl_count_element", FT_NONE, BASE_NONE, NULL, 0, "FirstDLCount", HFILL }}, { &hf_xnap_dl_discarding, { "dl-discarding", "xnap.dl_discarding_element", FT_NONE, BASE_NONE, NULL, 0, "DLDiscarding", HFILL }}, { &hf_xnap_dRBsSubjectToEarlyStatusTransfer, { "dRBsSubjectToEarlyStatusTransfer", "xnap.dRBsSubjectToEarlyStatusTransfer", FT_UINT32, BASE_DEC, NULL, 0, "DRBsSubjectToEarlyStatusTransfer_List", HFILL }}, { &hf_xnap_dRBsSubjectToDLDiscarding, { "dRBsSubjectToDLDiscarding", "xnap.dRBsSubjectToDLDiscarding", FT_UINT32, BASE_DEC, NULL, 0, "DRBsSubjectToDLDiscarding_List", HFILL }}, { &hf_xnap_PDUSessionToBeAddedAddReq_item, { "PDUSessionToBeAddedAddReq-Item", "xnap.PDUSessionToBeAddedAddReq_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sN_PDUSessionAMBR, { "sN-PDUSessionAMBR", "xnap.sN_PDUSessionAMBR_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionAggregateMaximumBitRate", HFILL }}, { &hf_xnap_sn_terminated, { "sn-terminated", "xnap.sn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceSetupInfo_SNterminated", HFILL }}, { &hf_xnap_mn_terminated, { "mn-terminated", "xnap.mn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceSetupInfo_MNterminated", HFILL }}, { &hf_xnap_PDUSessionAdmittedAddedAddReqAck_item, { "PDUSessionAdmittedAddedAddReqAck-Item", "xnap.PDUSessionAdmittedAddedAddReqAck_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sn_terminated_01, { "sn-terminated", "xnap.sn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceSetupResponseInfo_SNterminated", HFILL }}, { &hf_xnap_mn_terminated_01, { "mn-terminated", "xnap.mn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceSetupResponseInfo_MNterminated", HFILL }}, { &hf_xnap_pduSessionResourcesNotAdmitted_SNterminated, { "pduSessionResourcesNotAdmitted-SNterminated", "xnap.pduSessionResourcesNotAdmitted_SNterminated", FT_UINT32, BASE_DEC, NULL, 0, "PDUSessionResourcesNotAdmitted_List", HFILL }}, { &hf_xnap_pduSessionResourcesNotAdmitted_MNterminated, { "pduSessionResourcesNotAdmitted-MNterminated", "xnap.pduSessionResourcesNotAdmitted_MNterminated", FT_UINT32, BASE_DEC, NULL, 0, "PDUSessionResourcesNotAdmitted_List", HFILL }}, { &hf_xnap_responseType_ReconfComplete, { "responseType-ReconfComplete", "xnap.responseType_ReconfComplete", FT_UINT32, BASE_DEC, VALS(xnap_ResponseType_ReconfComplete_vals), 0, NULL, HFILL }}, { &hf_xnap_configuration_successfully_applied, { "configuration-successfully-applied", "xnap.configuration_successfully_applied_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_configuration_rejected_by_M_NG_RANNode, { "configuration-rejected-by-M-NG-RANNode", "xnap.configuration_rejected_by_M_NG_RANNode_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m_NG_RANNode_to_S_NG_RANNode_Container, { "m-NG-RANNode-to-S-NG-RANNode-Container", "xnap.m_NG_RANNode_to_S_NG_RANNode_Container", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_m_NG_RANNode_to_S_NG_RANNode_Container_01, { "m-NG-RANNode-to-S-NG-RANNode-Container", "xnap.m_NG_RANNode_to_S_NG_RANNode_Container", FT_BYTES, BASE_NONE, NULL, 0, "T_m_NG_RANNode_to_S_NG_RANNode_Container_01", HFILL }}, { &hf_xnap_s_ng_RANnode_SecurityKey, { "s-ng-RANnode-SecurityKey", "xnap.s_ng_RANnode_SecurityKey", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_s_ng_RANnodeUE_AMBR, { "s-ng-RANnodeUE-AMBR", "xnap.s_ng_RANnodeUE_AMBR_element", FT_NONE, BASE_NONE, NULL, 0, "UEAggregateMaximumBitRate", HFILL }}, { &hf_xnap_lowerLayerPresenceStatusChange, { "lowerLayerPresenceStatusChange", "xnap.lowerLayerPresenceStatusChange", FT_UINT32, BASE_DEC, VALS(xnap_LowerLayerPresenceStatusChange_vals), 0, NULL, HFILL }}, { &hf_xnap_pduSessionResourceToBeAdded, { "pduSessionResourceToBeAdded", "xnap.pduSessionResourceToBeAdded", FT_UINT32, BASE_DEC, NULL, 0, "PDUSessionsToBeAdded_SNModRequest_List", HFILL }}, { &hf_xnap_pduSessionResourceToBeModified, { "pduSessionResourceToBeModified", "xnap.pduSessionResourceToBeModified", FT_UINT32, BASE_DEC, NULL, 0, "PDUSessionsToBeModified_SNModRequest_List", HFILL }}, { &hf_xnap_pduSessionResourceToBeReleased, { "pduSessionResourceToBeReleased", "xnap.pduSessionResourceToBeReleased_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionsToBeReleased_SNModRequest_List", HFILL }}, { &hf_xnap_PDUSessionsToBeAdded_SNModRequest_List_item, { "PDUSessionsToBeAdded-SNModRequest-Item", "xnap.PDUSessionsToBeAdded_SNModRequest_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionsToBeModified_SNModRequest_List_item, { "PDUSessionsToBeModified-SNModRequest-Item", "xnap.PDUSessionsToBeModified_SNModRequest_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sn_terminated_02, { "sn-terminated", "xnap.sn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceModificationInfo_SNterminated", HFILL }}, { &hf_xnap_mn_terminated_02, { "mn-terminated", "xnap.mn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceModificationInfo_MNterminated", HFILL }}, { &hf_xnap_pdu_session_list, { "pdu-session-list", "xnap.pdu_session_list", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_List_withCause", HFILL }}, { &hf_xnap_pduSessionResourcesAdmittedToBeAdded, { "pduSessionResourcesAdmittedToBeAdded", "xnap.pduSessionResourcesAdmittedToBeAdded", FT_UINT32, BASE_DEC, NULL, 0, "PDUSessionAdmittedToBeAddedSNModResponse", HFILL }}, { &hf_xnap_pduSessionResourcesAdmittedToBeModified, { "pduSessionResourcesAdmittedToBeModified", "xnap.pduSessionResourcesAdmittedToBeModified", FT_UINT32, BASE_DEC, NULL, 0, "PDUSessionAdmittedToBeModifiedSNModResponse", HFILL }}, { &hf_xnap_pduSessionResourcesAdmittedToBeReleased, { "pduSessionResourcesAdmittedToBeReleased", "xnap.pduSessionResourcesAdmittedToBeReleased_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionAdmittedToBeReleasedSNModResponse", HFILL }}, { &hf_xnap_PDUSessionAdmittedToBeAddedSNModResponse_item, { "PDUSessionAdmittedToBeAddedSNModResponse-Item", "xnap.PDUSessionAdmittedToBeAddedSNModResponse_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionAdmittedToBeModifiedSNModResponse_item, { "PDUSessionAdmittedToBeModifiedSNModResponse-Item", "xnap.PDUSessionAdmittedToBeModifiedSNModResponse_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sn_terminated_03, { "sn-terminated", "xnap.sn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceModificationResponseInfo_SNterminated", HFILL }}, { &hf_xnap_mn_terminated_03, { "mn-terminated", "xnap.mn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceModificationResponseInfo_MNterminated", HFILL }}, { &hf_xnap_sn_terminated_04, { "sn-terminated", "xnap.sn_terminated", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_List_withDataForwardingRequest", HFILL }}, { &hf_xnap_mn_terminated_04, { "mn-terminated", "xnap.mn_terminated", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_List_withCause", HFILL }}, { &hf_xnap_pdu_Session_List, { "pdu-Session-List", "xnap.pdu_Session_List", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_List", HFILL }}, { &hf_xnap_PDUSessionToBeModifiedSNModRequired_item, { "PDUSessionToBeModifiedSNModRequired-Item", "xnap.PDUSessionToBeModifiedSNModRequired_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sn_terminated_05, { "sn-terminated", "xnap.sn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceModRqdInfo_SNterminated", HFILL }}, { &hf_xnap_mn_terminated_05, { "mn-terminated", "xnap.mn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceModRqdInfo_MNterminated", HFILL }}, { &hf_xnap_PDUSessionAdmittedModSNModConfirm_item, { "PDUSessionAdmittedModSNModConfirm-Item", "xnap.PDUSessionAdmittedModSNModConfirm_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sn_terminated_06, { "sn-terminated", "xnap.sn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceModConfirmInfo_SNterminated", HFILL }}, { &hf_xnap_mn_terminated_06, { "mn-terminated", "xnap.mn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceModConfirmInfo_MNterminated", HFILL }}, { &hf_xnap_sn_terminated_07, { "sn-terminated", "xnap.sn_terminated", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_List_withDataForwardingFromTarget", HFILL }}, { &hf_xnap_mn_terminated_07, { "mn-terminated", "xnap.mn_terminated", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_List", HFILL }}, { &hf_xnap_pduSessionsToBeReleasedList_SNterminated, { "pduSessionsToBeReleasedList-SNterminated", "xnap.pduSessionsToBeReleasedList_SNterminated", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_List_withDataForwardingRequest", HFILL }}, { &hf_xnap_pduSessionsReleasedList_SNterminated, { "pduSessionsReleasedList-SNterminated", "xnap.pduSessionsReleasedList_SNterminated", FT_UINT32, BASE_DEC, NULL, 0, "PDUSession_List_withDataForwardingFromTarget", HFILL }}, { &hf_xnap_BearersSubjectToCounterCheck_List_item, { "BearersSubjectToCounterCheck-Item", "xnap.BearersSubjectToCounterCheck_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ul_count, { "ul-count", "xnap.ul_count", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_4294967295", HFILL }}, { &hf_xnap_dl_count, { "dl-count", "xnap.dl_count", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_4294967295", HFILL }}, { &hf_xnap_PDUSession_SNChangeRequired_List_item, { "PDUSession-SNChangeRequired-Item", "xnap.PDUSession_SNChangeRequired_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sn_terminated_08, { "sn-terminated", "xnap.sn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceChangeRequiredInfo_SNterminated", HFILL }}, { &hf_xnap_mn_terminated_08, { "mn-terminated", "xnap.mn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceChangeRequiredInfo_MNterminated", HFILL }}, { &hf_xnap_PDUSession_SNChangeConfirm_List_item, { "PDUSession-SNChangeConfirm-Item", "xnap.PDUSession_SNChangeConfirm_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_sn_terminated_09, { "sn-terminated", "xnap.sn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceChangeConfirmInfo_SNterminated", HFILL }}, { &hf_xnap_mn_terminated_09, { "mn-terminated", "xnap.mn_terminated_element", FT_NONE, BASE_NONE, NULL, 0, "PDUSessionResourceChangeConfirmInfo_MNterminated", HFILL }}, { &hf_xnap_rrcContainer, { "rrcContainer", "xnap.rrcContainer", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_xnap_srbType, { "srbType", "xnap.srbType", FT_UINT32, BASE_DEC, VALS(xnap_T_srbType_vals), 0, NULL, HFILL }}, { &hf_xnap_deliveryStatus, { "deliveryStatus", "xnap.deliveryStatus", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_PDUSessionResourcesNotifyList_item, { "PDUSessionResourcesNotify-Item", "xnap.PDUSessionResourcesNotify_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_qosFlowsNotificationContrIndInfo, { "qosFlowsNotificationContrIndInfo", "xnap.qosFlowsNotificationContrIndInfo", FT_UINT32, BASE_DEC, NULL, 0, "QoSFlowNotificationControlIndicationInfo", HFILL }}, { &hf_xnap_PDUSessionResourcesActivityNotifyList_item, { "PDUSessionResourcesActivityNotify-Item", "xnap.PDUSessionResourcesActivityNotify_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_pduSessionLevelUPactivityreport, { "pduSessionLevelUPactivityreport", "xnap.pduSessionLevelUPactivityreport", FT_UINT32, BASE_DEC, VALS(xnap_UserPlaneTrafficActivityReport_vals), 0, "UserPlaneTrafficActivityReport", HFILL }}, { &hf_xnap_qosFlowsActivityNotifyList, { "qosFlowsActivityNotifyList", "xnap.qosFlowsActivityNotifyList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_QoSFlowsActivityNotifyList_item, { "QoSFlowsActivityNotifyItem", "xnap.QoSFlowsActivityNotifyItem_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_gNB_01, { "gNB", "xnap.gNB", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_xnap_ng_eNB_01, { "ng-eNB", "xnap.ng_eNB", FT_UINT32, BASE_DEC, NULL, 0, "ProtocolIE_Container", HFILL }}, { &hf_xnap_ng_eNB_02, { "ng-eNB", "xnap.ng_eNB_element", FT_NONE, BASE_NONE, NULL, 0, "RespondingNodeTypeConfigUpdateAck_ng_eNB", HFILL }}, { &hf_xnap_gNB_02, { "gNB", "xnap.gNB_element", FT_NONE, BASE_NONE, NULL, 0, "RespondingNodeTypeConfigUpdateAck_gNB", HFILL }}, { &hf_xnap_served_NR_Cells, { "served-NR-Cells", "xnap.served_NR_Cells", FT_UINT32, BASE_DEC, NULL, 0, "ServedCells_NR", HFILL }}, { &hf_xnap_ng_eNB_03, { "ng-eNB", "xnap.ng_eNB_element", FT_NONE, BASE_NONE, NULL, 0, "ResourceCoordRequest_ng_eNB_initiated", HFILL }}, { &hf_xnap_gNB_03, { "gNB", "xnap.gNB_element", FT_NONE, BASE_NONE, NULL, 0, "ResourceCoordRequest_gNB_initiated", HFILL }}, { &hf_xnap_dataTrafficResourceIndication, { "dataTrafficResourceIndication", "xnap.dataTrafficResourceIndication_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_spectrumSharingGroupID, { "spectrumSharingGroupID", "xnap.spectrumSharingGroupID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xnap_listofE_UTRACells, { "listofE-UTRACells", "xnap.listofE_UTRACells", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI", HFILL }}, { &hf_xnap_listofE_UTRACells_item, { "E-UTRA-CGI", "xnap.E_UTRA_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_listofNRCells, { "listofNRCells", "xnap.listofNRCells", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI", HFILL }}, { &hf_xnap_listofNRCells_item, { "NR-CGI", "xnap.NR_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_ng_eNB_04, { "ng-eNB", "xnap.ng_eNB_element", FT_NONE, BASE_NONE, NULL, 0, "ResourceCoordResponse_ng_eNB_initiated", HFILL }}, { &hf_xnap_gNB_04, { "gNB", "xnap.gNB_element", FT_NONE, BASE_NONE, NULL, 0, "ResourceCoordResponse_gNB_initiated", HFILL }}, { &hf_xnap_nr_cells, { "nr-cells", "xnap.nr_cells", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI", HFILL }}, { &hf_xnap_nr_cells_item, { "NR-CGI", "xnap.NR_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_e_utra_cells, { "e-utra-cells", "xnap.e_utra_cells", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI", HFILL }}, { &hf_xnap_e_utra_cells_item, { "E-UTRA-CGI", "xnap.E_UTRA_CGI_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_privateIEs, { "privateIEs", "xnap.privateIEs", FT_UINT32, BASE_DEC, NULL, 0, "PrivateIE_Container", HFILL }}, { &hf_xnap_TrafficToBeAddedList_item, { "TrafficToBeAdded-Item", "xnap.TrafficToBeAdded_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_trafficProfile, { "trafficProfile", "xnap.trafficProfile", FT_UINT32, BASE_DEC, VALS(xnap_TrafficProfile_vals), 0, NULL, HFILL }}, { &hf_xnap_f1_TerminatingTopologyBHInformation, { "f1-TerminatingTopologyBHInformation", "xnap.f1_TerminatingTopologyBHInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficToBeModifiedList_item, { "TrafficToBeModified-Item", "xnap.TrafficToBeModified_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficAddedList_item, { "TrafficAdded-Item", "xnap.TrafficAdded_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_non_F1_TerminatingTopologyBHInformation, { "non-F1-TerminatingTopologyBHInformation", "xnap.non_F1_TerminatingTopologyBHInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficModifiedList_item, { "TrafficModified-Item", "xnap.TrafficModified_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficNotAddedList_item, { "TrafficNotAdded-Item", "xnap.TrafficNotAdded_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_casue, { "casue", "xnap.casue", FT_UINT32, BASE_DEC, VALS(xnap_Cause_vals), 0, "Cause", HFILL }}, { &hf_xnap_TrafficNotModifiedList_item, { "TrafficNotModified-Item", "xnap.TrafficNotModified_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficReleasedList_item, { "TrafficReleased-Item", "xnap.TrafficReleased_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_TrafficRequiredToBeModifiedList_item, { "TrafficRequiredToBeModified-Item", "xnap.TrafficRequiredToBeModified_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_non_f1_TerminatingTopologyBHInformation, { "non-f1-TerminatingTopologyBHInformation", "xnap.non_f1_TerminatingTopologyBHInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_IABTNLAddressToBeReleasedList_item, { "IABTNLAddressToBeReleased-Item", "xnap.IABTNLAddressToBeReleased_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_iabTNLAddress, { "iabTNLAddress", "xnap.iabTNLAddress", FT_UINT32, BASE_DEC, VALS(xnap_IABTNLAddress_vals), 0, NULL, HFILL }}, { &hf_xnap_TrafficRequiredModifiedList_item, { "TrafficRequiredModified-Item", "xnap.TrafficRequiredModified_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_BoundaryNodeCellsList_item, { "BoundaryNodeCellsList-Item", "xnap.BoundaryNodeCellsList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_boundaryNodeCellInformation, { "boundaryNodeCellInformation", "xnap.boundaryNodeCellInformation_element", FT_NONE, BASE_NONE, NULL, 0, "IABCellInformation", HFILL }}, { &hf_xnap_ParentNodeCellsList_item, { "ParentNodeCellsList-Item", "xnap.ParentNodeCellsList_Item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_parentNodeCellInformation, { "parentNodeCellInformation", "xnap.parentNodeCellInformation_element", FT_NONE, BASE_NONE, NULL, 0, "IABCellInformation", HFILL }}, { &hf_xnap_initiatingMessage, { "initiatingMessage", "xnap.initiatingMessage_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_successfulOutcome, { "successfulOutcome", "xnap.successfulOutcome_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_unsuccessfulOutcome, { "unsuccessfulOutcome", "xnap.unsuccessfulOutcome_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xnap_initiatingMessage_value, { "value", "xnap.value_element", FT_NONE, BASE_NONE, NULL, 0, "InitiatingMessage_value", HFILL }}, { &hf_xnap_successfulOutcome_value, { "value", "xnap.value_element", FT_NONE, BASE_NONE, NULL, 0, "SuccessfulOutcome_value", HFILL }}, { &hf_xnap_value, { "value", "xnap.value_element", FT_NONE, BASE_NONE, NULL, 0, "UnsuccessfulOutcome_value", HFILL }}, { &hf_xnap_RAT_RestrictionInformation_e_UTRA, { "e-UTRA", "xnap.RAT.RestrictionInformation.e.UTRA", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_xnap_RAT_RestrictionInformation_nR, { "nR", "xnap.RAT.RestrictionInformation.nR", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_xnap_RAT_RestrictionInformation_nR_unlicensed, { "nR-unlicensed", "xnap.RAT.RestrictionInformation.nR.unlicensed", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_xnap_RAT_RestrictionInformation_nR_LEO, { "nR-LEO", "xnap.RAT.RestrictionInformation.nR.LEO", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_xnap_RAT_RestrictionInformation_nR_MEO, { "nR-MEO", "xnap.RAT.RestrictionInformation.nR.MEO", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_xnap_RAT_RestrictionInformation_nR_GEO, { "nR-GEO", "xnap.RAT.RestrictionInformation.nR.GEO", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_xnap_RAT_RestrictionInformation_nR_OTHERSAT, { "nR-OTHERSAT", "xnap.RAT.RestrictionInformation.nR.OTHERSAT", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_xnap_T_interfaces_to_trace_ng_c, { "ng-c", "xnap.T.interfaces.to.trace.ng.c", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_xnap_T_interfaces_to_trace_x_nc, { "x-nc", "xnap.T.interfaces.to.trace.x.nc", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_xnap_T_interfaces_to_trace_uu, { "uu", "xnap.T.interfaces.to.trace.uu", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_xnap_T_interfaces_to_trace_f1_c, { "f1-c", "xnap.T.interfaces.to.trace.f1.c", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_xnap_T_interfaces_to_trace_e1, { "e1", "xnap.T.interfaces.to.trace.e1", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_xnap_T_nr_EncyptionAlgorithms_spare_bit0, { "spare_bit0", "xnap.T.nr.EncyptionAlgorithms.spare.bit0", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_xnap_T_nr_EncyptionAlgorithms_nea1_128, { "nea1-128", "xnap.T.nr.EncyptionAlgorithms.nea1.128", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_xnap_T_nr_EncyptionAlgorithms_nea2_128, { "nea2-128", "xnap.T.nr.EncyptionAlgorithms.nea2.128", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_xnap_T_nr_EncyptionAlgorithms_nea3_128, { "nea3-128", "xnap.T.nr.EncyptionAlgorithms.nea3.128", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_xnap_T_nr_IntegrityProtectionAlgorithms_spare_bit0, { "spare_bit0", "xnap.T.nr.IntegrityProtectionAlgorithms.spare.bit0", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia1_128, { "nia1-128", "xnap.T.nr.IntegrityProtectionAlgorithms.nia1.128", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia2_128, { "nia2-128", "xnap.T.nr.IntegrityProtectionAlgorithms.nia2.128", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_xnap_T_nr_IntegrityProtectionAlgorithms_nia3_128, { "nia3-128", "xnap.T.nr.IntegrityProtectionAlgorithms.nia3.128", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_xnap_T_e_utra_EncyptionAlgorithms_spare_bit0, { "spare_bit0", "xnap.T.e.utra.EncyptionAlgorithms.spare.bit0", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_xnap_T_e_utra_EncyptionAlgorithms_eea1_128, { "eea1-128", "xnap.T.e.utra.EncyptionAlgorithms.eea1.128", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_xnap_T_e_utra_EncyptionAlgorithms_eea2_128, { "eea2-128", "xnap.T.e.utra.EncyptionAlgorithms.eea2.128", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_xnap_T_e_utra_EncyptionAlgorithms_eea3_128, { "eea3-128", "xnap.T.e.utra.EncyptionAlgorithms.eea3.128", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_spare_bit0, { "spare_bit0", "xnap.T.e.utra.IntegrityProtectionAlgorithms.spare.bit0", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia1_128, { "eia1-128", "xnap.T.e.utra.IntegrityProtectionAlgorithms.eia1.128", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia2_128, { "eia2-128", "xnap.T.e.utra.IntegrityProtectionAlgorithms.eia2.128", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_xnap_T_e_utra_IntegrityProtectionAlgorithms_eia3_128, { "eia3-128", "xnap.T.e.utra.IntegrityProtectionAlgorithms.eia3.128", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, }; /* List of subtrees */ static gint *ett[] = { &ett_xnap, &ett_xnap_RRC_Context, &ett_nxap_container, &ett_xnap_PLMN_Identity, &ett_xnap_measurementTimingConfiguration, &ett_xnap_TransportLayerAddress, &ett_xnap_NG_RANTraceID, &ett_xnap_LastVisitedEUTRANCellInformation, &ett_xnap_LastVisitedNGRANCellInformation, &ett_xnap_LastVisitedUTRANCellInformation, &ett_xnap_LastVisitedGERANCellInformation, &ett_xnap_UERadioCapabilityForPagingOfNR, &ett_xnap_UERadioCapabilityForPagingOfEUTRA, &ett_xnap_FiveGCMobilityRestrictionListContainer, &ett_xnap_primaryRATRestriction, &ett_xnap_secondaryRATRestriction, &ett_xnap_ImmediateMDT_EUTRA, &ett_xnap_MDT_Location_Info, &ett_xnap_MeasurementsToActivate, &ett_xnap_NRMobilityHistoryReport, &ett_xnap_RACHReportContainer, &ett_xnap_TargetCellinEUTRAN, &ett_xnap_TDDULDLConfigurationCommonNR, &ett_xnap_UERLFReportContainerLTE, &ett_xnap_UERLFReportContainerNR, &ett_xnap_burstArrivalTime, &ett_xnap_ReportCharacteristics, &ett_xnap_NRCellPRACHConfig, &ett_xnap_anchorCarrier_NPRACHConfig, &ett_xnap_anchorCarrier_EDT_NPRACHConfig, &ett_xnap_anchorCarrier_Format2_NPRACHConfig, &ett_xnap_anchorCarrier_Format2_EDT_NPRACHConfig, &ett_xnap_non_anchorCarrier_NPRACHConfig, &ett_xnap_non_anchorCarrier_Format2_NPRACHConfig, &ett_xnap_anchorCarrier_NPRACHConfigTDD, &ett_xnap_non_anchorCarrier_NPRACHConfigTDD, &ett_xnap_non_anchorCarrierFrequency, &ett_xnap_cSI_RS_Configuration, &ett_xnap_sR_Configuration, &ett_xnap_pDCCH_ConfigSIB1, &ett_xnap_sCS_Common, &ett_xnap_LastVisitedPSCellInformation, &ett_xnap_MeasObjectContainer, &ett_xnap_RACH_Config_Common, &ett_xnap_RACH_Config_Common_IAB, &ett_xnap_ReportConfigContainer, &ett_xnap_RLC_Bearer_Configuration, &ett_xnap_SuccessfulHOReportContainer, &ett_xnap_UERLFReportContainerLTEExtendBand, &ett_xnap_MDTMode_EUTRA, &ett_xnap_PrivateIE_ID, &ett_xnap_ProtocolIE_Container, &ett_xnap_ProtocolIE_Field, &ett_xnap_ProtocolExtensionContainer, &ett_xnap_ProtocolExtensionField, &ett_xnap_PrivateIE_Container, &ett_xnap_PrivateIE_Field, &ett_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated, &ett_xnap_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_Item, &ett_xnap_Additional_PDCP_Duplication_TNL_List, &ett_xnap_Additional_PDCP_Duplication_TNL_Item, &ett_xnap_Additional_UL_NG_U_TNLatUPF_Item, &ett_xnap_Additional_UL_NG_U_TNLatUPF_List, &ett_xnap_Additional_Measurement_Timing_Configuration_List, &ett_xnap_Additional_Measurement_Timing_Configuration_Item, &ett_xnap_Active_MBS_SessionInformation, &ett_xnap_AllocationandRetentionPriority, &ett_xnap_AllowedCAG_ID_List_perPLMN, &ett_xnap_AllowedPNI_NPN_ID_List, &ett_xnap_AllowedPNI_NPN_ID_Item, &ett_xnap_AlternativeQoSParaSetList, &ett_xnap_AlternativeQoSParaSetItem, &ett_xnap_AMF_Region_Information, &ett_xnap_GlobalAMF_Region_Information, &ett_xnap_AreaOfInterestInformation, &ett_xnap_AreaOfInterest_Item, &ett_xnap_AreaScopeOfMDT_NR, &ett_xnap_AreaScopeOfMDT_EUTRA, &ett_xnap_AreaScopeOfNeighCellsList, &ett_xnap_AreaScopeOfNeighCellsItem, &ett_xnap_AreaScopeOfQMC, &ett_xnap_AS_SecurityInformation, &ett_xnap_AssistanceDataForRANPaging, &ett_xnap_Associated_QoSFlowInfo_List, &ett_xnap_Associated_QoSFlowInfo_Item, &ett_xnap_AvailableRVQoEMetrics, &ett_xnap_BAPRoutingID, &ett_xnap_BeamMeasurementsReportConfiguration, &ett_xnap_BeamMeasurementsReportQuantity, &ett_xnap_BHInfoList, &ett_xnap_BHInfo_Item, &ett_xnap_BAPControlPDURLCCH_List, &ett_xnap_BAPControlPDURLCCH_Item, &ett_xnap_BluetoothMeasurementConfiguration, &ett_xnap_BluetoothMeasConfigNameList, &ett_xnap_BPLMN_ID_Info_EUTRA, &ett_xnap_BPLMN_ID_Info_EUTRA_Item, &ett_xnap_BPLMN_ID_Info_NR, &ett_xnap_BPLMN_ID_Info_NR_Item, &ett_xnap_BroadcastCAG_Identifier_List, &ett_xnap_BroadcastCAG_Identifier_Item, &ett_xnap_BroadcastNID_List, &ett_xnap_BroadcastNID_Item, &ett_xnap_BroadcastPLMNs, &ett_xnap_BroadcastEUTRAPLMNs, &ett_xnap_BroadcastPLMNinTAISupport_Item, &ett_xnap_BroadcastPNI_NPN_ID_Information, &ett_xnap_BroadcastPNI_NPN_ID_Information_Item, &ett_xnap_BroadcastSNPNID_List, &ett_xnap_BroadcastSNPNID, &ett_xnap_CapacityValueInfo, &ett_xnap_Cause, &ett_xnap_CellAssistanceInfo_NR, &ett_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_NR_CGI, &ett_xnap_CellAndCapacityAssistanceInfo_NR, &ett_xnap_CellAndCapacityAssistanceInfo_EUTRA, &ett_xnap_CellAssistanceInfo_EUTRA, &ett_xnap_SEQUENCE_SIZE_1_maxnoofCellsinNG_RANnode_OF_E_UTRA_CGI, &ett_xnap_CellBasedMDT_NR, &ett_xnap_CellIdListforMDT_NR, &ett_xnap_CellBasedQMC, &ett_xnap_CellIdListforQMC, &ett_xnap_CellBasedMDT_EUTRA, &ett_xnap_CellIdListforMDT_EUTRA, &ett_xnap_CellMeasurementResult, &ett_xnap_CellMeasurementResult_Item, &ett_xnap_CellReplacingInfo, &ett_xnap_CellToReport, &ett_xnap_CellToReport_Item, &ett_xnap_Cell_Type_Choice, &ett_xnap_CHOConfiguration, &ett_xnap_CHOCandidateCell_List, &ett_xnap_CHOCandidateCell_Item, &ett_xnap_CHOExecutionCondition_List, &ett_xnap_CHOExecutionCondition_Item, &ett_xnap_CompositeAvailableCapacityGroup, &ett_xnap_CompositeAvailableCapacity, &ett_xnap_CHOinformation_Req, &ett_xnap_CHOinformation_Ack, &ett_xnap_CHOinformation_AddReq, &ett_xnap_CHOinformation_ModReq, &ett_xnap_Connectivity_Support, &ett_xnap_COUNT_PDCP_SN12, &ett_xnap_COUNT_PDCP_SN18, &ett_xnap_Coverage_Modification_List, &ett_xnap_Coverage_Modification_List_Item, &ett_xnap_CPTransportLayerInformation, &ett_xnap_CPACcandidatePSCells_list, &ett_xnap_CPACcandidatePSCells_item, &ett_xnap_CPAInformationRequest, &ett_xnap_CPAInformationAck, &ett_xnap_CPCInformationRequired, &ett_xnap_CPC_target_SN_required_list, &ett_xnap_CPC_target_SN_required_list_Item, &ett_xnap_CPCInformationConfirm, &ett_xnap_CPC_target_SN_confirm_list, &ett_xnap_CPC_target_SN_confirm_list_Item, &ett_xnap_CPAInformationModReq, &ett_xnap_CPAInformationModReqAck, &ett_xnap_CPACInformationModRequired, &ett_xnap_CPCInformationUpdate, &ett_xnap_CPC_target_SN_mod_list, &ett_xnap_CPC_target_SN_mod_item, &ett_xnap_CPCInformationUpdatePSCells_list, &ett_xnap_CPCInformationUpdatePSCells_item, &ett_xnap_CriticalityDiagnostics, &ett_xnap_CriticalityDiagnostics_IE_List, &ett_xnap_CriticalityDiagnostics_IE_List_item, &ett_xnap_CSI_RS_MTC_Configuration_List, &ett_xnap_CSI_RS_MTC_Configuration_Item, &ett_xnap_CSI_RS_Neighbour_List, &ett_xnap_CSI_RS_Neighbour_Item, &ett_xnap_CSI_RS_MTC_Neighbour_List, &ett_xnap_CSI_RS_MTC_Neighbour_Item, &ett_xnap_XnUAddressInfoperPDUSession_List, &ett_xnap_XnUAddressInfoperPDUSession_Item, &ett_xnap_DataForwardingInfoFromTargetE_UTRANnode, &ett_xnap_DataForwardingInfoFromTargetE_UTRANnode_List, &ett_xnap_DataForwardingInfoFromTargetE_UTRANnode_Item, &ett_xnap_QoSFlowsToBeForwarded_List, &ett_xnap_QoSFlowsToBeForwarded_Item, &ett_xnap_DataForwardingInfoFromTargetNGRANnode, &ett_xnap_QoSFLowsAcceptedToBeForwarded_List, &ett_xnap_QoSFLowsAcceptedToBeForwarded_Item, &ett_xnap_DataforwardingandOffloadingInfofromSource, &ett_xnap_QoSFLowsToBeForwarded_List, &ett_xnap_QoSFLowsToBeForwarded_Item, &ett_xnap_DataForwardingResponseDRBItemList, &ett_xnap_DataForwardingResponseDRBItem, &ett_xnap_DataTrafficResourceIndication, &ett_xnap_DAPSRequestInfo, &ett_xnap_DAPSResponseInfo_List, &ett_xnap_DAPSResponseInfo_Item, &ett_xnap_DLCountChoice, &ett_xnap_DLF1Terminating_BHInfo, &ett_xnap_DLNonF1Terminating_BHInfo, &ett_xnap_DRB_List, &ett_xnap_DRB_List_withCause, &ett_xnap_DRB_List_withCause_Item, &ett_xnap_DRBsSubjectToDLDiscarding_List, &ett_xnap_DRBsSubjectToDLDiscarding_Item, &ett_xnap_DRBsSubjectToEarlyStatusTransfer_List, &ett_xnap_DRBsSubjectToEarlyStatusTransfer_Item, &ett_xnap_DRBsSubjectToStatusTransfer_List, &ett_xnap_DRBsSubjectToStatusTransfer_Item, &ett_xnap_DRBBStatusTransferChoice, &ett_xnap_DRBBStatusTransfer12bitsSN, &ett_xnap_DRBBStatusTransfer18bitsSN, &ett_xnap_DRBToQoSFlowMapping_List, &ett_xnap_DRBToQoSFlowMapping_Item, &ett_xnap_DUF_Slot_Config_List, &ett_xnap_DUF_Slot_Config_Item, &ett_xnap_Dynamic5QIDescriptor, &ett_xnap_E_UTRA_CGI, &ett_xnap_E_UTRAMultibandInfoList, &ett_xnap_EUTRAPagingeDRXInformation, &ett_xnap_E_UTRAPRACHConfiguration, &ett_xnap_EndpointIPAddressAndPort, &ett_xnap_EventTriggered, &ett_xnap_EventTypeTrigger, &ett_xnap_EventL1, &ett_xnap_MeasurementThresholdL1LoggedMDT, &ett_xnap_ExcessPacketDelayThresholdConfiguration, &ett_xnap_ExcessPacketDelayThresholdItem, &ett_xnap_ExpectedUEActivityBehaviour, &ett_xnap_ExpectedUEBehaviour, &ett_xnap_ExpectedUEMovingTrajectory, &ett_xnap_ExpectedUEMovingTrajectoryItem, &ett_xnap_ExplicitFormat, &ett_xnap_ExtendedRATRestrictionInformation, &ett_xnap_ExtendedSliceSupportList, &ett_xnap_ExtTLAs, &ett_xnap_ExtTLA_Item, &ett_xnap_GTPTLAs, &ett_xnap_GTPTLA_Item, &ett_xnap_F1_TerminatingTopologyBHInformation, &ett_xnap_F1TerminatingBHInformation_List, &ett_xnap_F1TerminatingBHInformation_Item, &ett_xnap_FiveGProSeAuthorized, &ett_xnap_FiveGProSePC5QoSParameters, &ett_xnap_FiveGProSePC5QoSFlowList, &ett_xnap_FiveGProSePC5QoSFlowItem, &ett_xnap_FiveGProSePC5FlowBitRates, &ett_xnap_Flows_Mapped_To_DRB_List, &ett_xnap_Flows_Mapped_To_DRB_Item, &ett_xnap_FreqDomainHSNAconfiguration_List, &ett_xnap_FreqDomainHSNAconfiguration_List_Item, &ett_xnap_FreqDomainSlotHSNAconfiguration_List, &ett_xnap_FreqDomainSlotHSNAconfiguration_List_Item, &ett_xnap_GBRQoSFlowInfo, &ett_xnap_GlobalgNB_ID, &ett_xnap_GNB_DU_Cell_Resource_Configuration, &ett_xnap_GNB_ID_Choice, &ett_xnap_GNB_RadioResourceStatus, &ett_xnap_GlobalCell_ID, &ett_xnap_GlobalngeNB_ID, &ett_xnap_ENB_ID_Choice, &ett_xnap_GlobalNG_RANCell_ID, &ett_xnap_GlobalNG_RANNode_ID, &ett_xnap_GTPtunnelTransportLayerInformation, &ett_xnap_GUAMI, &ett_xnap_HSNASlotConfigList, &ett_xnap_HSNASlotConfigItem, &ett_xnap_IABCellInformation, &ett_xnap_IAB_DU_Cell_Resource_Configuration_Mode_Info, &ett_xnap_IAB_DU_Cell_Resource_Configuration_FDD_Info, &ett_xnap_IAB_DU_Cell_Resource_Configuration_TDD_Info, &ett_xnap_IAB_MT_Cell_List, &ett_xnap_IAB_MT_Cell_List_Item, &ett_xnap_IAB_QoS_Mapping_Information, &ett_xnap_IAB_STC_Info, &ett_xnap_IAB_STC_Info_List, &ett_xnap_IAB_STC_Info_Item, &ett_xnap_IAB_TNL_Address_Request, &ett_xnap_IABIPv6RequestType, &ett_xnap_IAB_TNL_Address_Response, &ett_xnap_IABAllocatedTNLAddress_List, &ett_xnap_IABAllocatedTNLAddress_Item, &ett_xnap_IABTNLAddress, &ett_xnap_IABTNLAddressesRequested, &ett_xnap_IABTNLAddressToRemove_List, &ett_xnap_IABTNLAddressToRemove_Item, &ett_xnap_IABTNLAddressException, &ett_xnap_IABTNLAddress_Item, &ett_xnap_ImmediateMDT_NR, &ett_xnap_ImplicitFormat, &ett_xnap_InitiatingCondition_FailureIndication, &ett_xnap_IntendedTDD_DL_ULConfiguration_NR, &ett_xnap_I_RNTI, &ett_xnap_Local_NG_RAN_Node_Identifier, &ett_xnap_Full_I_RNTI_Profile_List, &ett_xnap_Short_I_RNTI_Profile_List, &ett_xnap_LastVisitedCell_Item, &ett_xnap_LastVisitedPSCellList, &ett_xnap_LastVisitedPSCellList_Item, &ett_xnap_SCGUEHistoryInformation, &ett_xnap_ListOfCells, &ett_xnap_CellsinAoI_Item, &ett_xnap_ListOfRANNodesinAoI, &ett_xnap_GlobalNG_RANNodesinAoI_Item, &ett_xnap_ListOfTAIsinAoI, &ett_xnap_TAIsinAoI_Item, &ett_xnap_LocationReportingInformation, &ett_xnap_LoggedEventTriggeredConfig, &ett_xnap_LoggedMDT_NR, &ett_xnap_LTEV2XServicesAuthorized, &ett_xnap_LTEUESidelinkAggregateMaximumBitRate, &ett_xnap_MDTAlignmentInfo, &ett_xnap_M1Configuration, &ett_xnap_M1PeriodicReporting, &ett_xnap_M1ThresholdEventA2, &ett_xnap_M4Configuration, &ett_xnap_M5Configuration, &ett_xnap_M6Configuration, &ett_xnap_M7Configuration, &ett_xnap_MaximumIPdatarate, &ett_xnap_MBSFNSubframeAllocation_E_UTRA, &ett_xnap_MBSFNSubframeInfo_E_UTRA, &ett_xnap_MBSFNSubframeInfo_E_UTRA_Item, &ett_xnap_MBS_MappingandDataForwardingRequestInfofromSource, &ett_xnap_MBS_MappingandDataForwardingRequestInfofromSource_Item, &ett_xnap_MBS_DataForwardingResponseInfofromTarget, &ett_xnap_MBS_DataForwardingResponseInfofromTarget_Item, &ett_xnap_MBS_QoSFlow_List, &ett_xnap_MBS_QoSFlowsToAdd_List, &ett_xnap_MBS_QoSFlowsToAdd_Item, &ett_xnap_MBS_ServiceArea, &ett_xnap_MBS_ServiceAreaCell_List, &ett_xnap_MBS_ServiceAreaInformation, &ett_xnap_MBS_ServiceAreaInformationList, &ett_xnap_MBS_ServiceAreaInformation_Item, &ett_xnap_MBS_ServiceAreaTAI_List, &ett_xnap_MBS_ServiceAreaTAI_Item, &ett_xnap_MBS_Session_ID, &ett_xnap_MBS_SessionAssociatedInformation, &ett_xnap_MBS_SessionAssociatedInformation_Item, &ett_xnap_MBS_SessionInformation_List, &ett_xnap_MBS_SessionInformation_Item, &ett_xnap_MBS_SessionInformationResponse_List, &ett_xnap_MBS_SessionInformationResponse_Item, &ett_xnap_MRB_ProgressInformation, &ett_xnap_MDT_Configuration, &ett_xnap_MDT_Configuration_NR, &ett_xnap_MDT_Configuration_EUTRA, &ett_xnap_MDTPLMNList, &ett_xnap_MDTPLMNModificationList, &ett_xnap_MDTMode_NR, &ett_xnap_MeasurementThresholdA2, &ett_xnap_MIMOPRBusageInformation, &ett_xnap_MobilityParametersModificationRange, &ett_xnap_MobilityParametersInformation, &ett_xnap_MobilityRestrictionList, &ett_xnap_SEQUENCE_SIZE_1_maxnoofEPLMNs_OF_PLMN_Identity, &ett_xnap_CNTypeRestrictionsForEquivalent, &ett_xnap_CNTypeRestrictionsForEquivalentItem, &ett_xnap_RAT_RestrictionsList, &ett_xnap_RAT_RestrictionsItem, &ett_xnap_RAT_RestrictionInformation, &ett_xnap_ForbiddenAreaList, &ett_xnap_ForbiddenAreaItem, &ett_xnap_SEQUENCE_SIZE_1_maxnoofForbiddenTACs_OF_TAC, &ett_xnap_ServiceAreaList, &ett_xnap_ServiceAreaItem, &ett_xnap_SEQUENCE_SIZE_1_maxnoofAllowedAreas_OF_TAC, &ett_xnap_MR_DC_ResourceCoordinationInfo, &ett_xnap_NG_RAN_Node_ResourceCoordinationInfo, &ett_xnap_E_UTRA_ResourceCoordinationInfo, &ett_xnap_NR_ResourceCoordinationInfo, &ett_xnap_MessageOversizeNotification, &ett_xnap_MultiplexingInfo, &ett_xnap_NACellResourceConfigurationList, &ett_xnap_NACellResourceConfiguration_Item, &ett_xnap_NE_DC_TDM_Pattern, &ett_xnap_NeighbourInformation_E_UTRA, &ett_xnap_NeighbourInformation_E_UTRA_Item, &ett_xnap_NeighbourInformation_NR, &ett_xnap_NeighbourInformation_NR_Item, &ett_xnap_NeighbourInformation_NR_ModeInfo, &ett_xnap_NeighbourInformation_NR_ModeFDDInfo, &ett_xnap_NeighbourInformation_NR_ModeTDDInfo, &ett_xnap_Neighbour_NG_RAN_Node_List, &ett_xnap_Neighbour_NG_RAN_Node_Item, &ett_xnap_NRCarrierList, &ett_xnap_NRCarrierItem, &ett_xnap_NG_RAN_Cell_Identity, &ett_xnap_NG_RAN_CellPCI, &ett_xnap_NG_RANnode2SSBOffsetsModificationRange, &ett_xnap_NonDynamic5QIDescriptor, &ett_xnap_NG_eNB_RadioResourceStatus, &ett_xnap_TNLCapacityIndicator, &ett_xnap_Non_F1_TerminatingTopologyBHInformation, &ett_xnap_NonF1TerminatingBHInformation_List, &ett_xnap_NonF1TerminatingBHInformation_Item, &ett_xnap_NonUPTraffic, &ett_xnap_NPN_Broadcast_Information, &ett_xnap_NPN_Broadcast_Information_SNPN, &ett_xnap_NPN_Broadcast_Information_PNI_NPN, &ett_xnap_NPNMobilityInformation, &ett_xnap_NPNMobilityInformation_SNPN, &ett_xnap_NPNMobilityInformation_PNI_NPN, &ett_xnap_NPNPagingAssistanceInformation, &ett_xnap_NPNPagingAssistanceInformation_PNI_NPN, &ett_xnap_NPN_Support, &ett_xnap_NPN_Support_SNPN, &ett_xnap_NPRACHConfiguration, &ett_xnap_T_fdd_or_tdd, &ett_xnap_NPRACHConfiguration_FDD, &ett_xnap_NPRACHConfiguration_TDD, &ett_xnap_Non_AnchorCarrierFrequencylist, &ett_xnap_Non_AnchorCarrierFrequencylist_item, &ett_xnap_NG_RAN_Cell_Identity_ListinRANPagingArea, &ett_xnap_NR_CGI, &ett_xnap_NR_U_Channel_List, &ett_xnap_NR_U_Channel_Item, &ett_xnap_NR_U_ChannelInfo_List, &ett_xnap_NR_U_ChannelInfo_Item, &ett_xnap_NRFrequencyBand_List, &ett_xnap_NRFrequencyBandItem, &ett_xnap_NRFrequencyInfo, &ett_xnap_NRModeInfo, &ett_xnap_NRModeInfoFDD, &ett_xnap_NRModeInfoTDD, &ett_xnap_NRPagingeDRXInformation, &ett_xnap_NRPagingeDRXInformationforRRCINACTIVE, &ett_xnap_NRTransmissionBandwidth, &ett_xnap_NRV2XServicesAuthorized, &ett_xnap_NRUESidelinkAggregateMaximumBitRate, &ett_xnap_PositioningInformation, &ett_xnap_PacketErrorRate, &ett_xnap_PEIPSassistanceInformation, &ett_xnap_PC5QoSParameters, &ett_xnap_PC5QoSFlowList, &ett_xnap_PC5QoSFlowItem, &ett_xnap_PC5FlowBitRates, &ett_xnap_PDCPChangeIndication, &ett_xnap_PDCPSNLength, &ett_xnap_PDUSessionAggregateMaximumBitRate, &ett_xnap_PDUSession_List, &ett_xnap_PDUSession_List_withCause, &ett_xnap_PDUSession_List_withCause_Item, &ett_xnap_PDUSession_List_withDataForwardingFromTarget, &ett_xnap_PDUSession_List_withDataForwardingFromTarget_Item, &ett_xnap_PDUSession_List_withDataForwardingRequest, &ett_xnap_PDUSession_List_withDataForwardingRequest_Item, &ett_xnap_PDUSessionResourcesAdmitted_List, &ett_xnap_PDUSessionResourcesAdmitted_Item, &ett_xnap_PDUSessionResourceAdmittedInfo, &ett_xnap_PDUSessionResourcesNotAdmitted_List, &ett_xnap_PDUSessionResourcesNotAdmitted_Item, &ett_xnap_PDUSessionResourcesToBeSetup_List, &ett_xnap_PDUSessionResourcesToBeSetup_Item, &ett_xnap_PDUSessionResourceSetupInfo_SNterminated, &ett_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated, &ett_xnap_QoSFlowsToBeSetup_List_Setup_SNterminated_Item, &ett_xnap_PDUSessionResourceSetupResponseInfo_SNterminated, &ett_xnap_DRBsToBeSetupList_SetupResponse_SNterminated, &ett_xnap_DRBsToBeSetupList_SetupResponse_SNterminated_Item, &ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated, &ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_SNterminated_Item, &ett_xnap_PDUSessionResourceSetupInfo_MNterminated, &ett_xnap_DRBsToBeSetupList_Setup_MNterminated, &ett_xnap_DRBsToBeSetupList_Setup_MNterminated_Item, &ett_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated, &ett_xnap_QoSFlowsMappedtoDRB_Setup_MNterminated_Item, &ett_xnap_PDUSessionResourceSetupResponseInfo_MNterminated, &ett_xnap_DRBsAdmittedList_SetupResponse_MNterminated, &ett_xnap_DRBsAdmittedList_SetupResponse_MNterminated_Item, &ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated, &ett_xnap_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_Item, &ett_xnap_PDUSessionResourceModificationInfo_SNterminated, &ett_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated, &ett_xnap_QoSFlowsToBeSetup_List_Modified_SNterminated_Item, &ett_xnap_DRBsToBeModified_List_Modified_SNterminated, &ett_xnap_DRBsToBeModified_List_Modified_SNterminated_Item, &ett_xnap_PDUSessionResourceModificationResponseInfo_SNterminated, &ett_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated, &ett_xnap_DRBsToBeModifiedList_ModificationResponse_SNterminated_Item, &ett_xnap_PDUSessionResourceModificationInfo_MNterminated, &ett_xnap_DRBsToBeModifiedList_Modification_MNterminated, &ett_xnap_DRBsToBeModifiedList_Modification_MNterminated_Item, &ett_xnap_PDUSessionResourceModificationResponseInfo_MNterminated, &ett_xnap_DRBsAdmittedList_ModificationResponse_MNterminated, &ett_xnap_DRBsAdmittedList_ModificationResponse_MNterminated_Item, &ett_xnap_PDUSessionResourceChangeRequiredInfo_SNterminated, &ett_xnap_PDUSessionResourceChangeConfirmInfo_SNterminated, &ett_xnap_PDUSessionResourceChangeRequiredInfo_MNterminated, &ett_xnap_PDUSessionResourceChangeConfirmInfo_MNterminated, &ett_xnap_PDUSessionResourceModRqdInfo_SNterminated, &ett_xnap_DRBsToBeSetup_List_ModRqd_SNterminated, &ett_xnap_DRBsToBeSetup_List_ModRqd_SNterminated_Item, &ett_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated, &ett_xnap_QoSFlowsSetupMappedtoDRB_ModRqd_SNterminated_Item, &ett_xnap_DRBsToBeModified_List_ModRqd_SNterminated, &ett_xnap_DRBsToBeModified_List_ModRqd_SNterminated_Item, &ett_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated, &ett_xnap_QoSFlowsModifiedMappedtoDRB_ModRqd_SNterminated_Item, &ett_xnap_PDUSessionResourceModConfirmInfo_SNterminated, &ett_xnap_DRBsAdmittedList_ModConfirm_SNterminated, &ett_xnap_DRBsAdmittedList_ModConfirm_SNterminated_Item, &ett_xnap_PDUSessionResourceModRqdInfo_MNterminated, &ett_xnap_DRBsToBeModified_List_ModRqd_MNterminated, &ett_xnap_DRBsToBeModified_List_ModRqd_MNterminated_Item, &ett_xnap_PDUSessionResourceModConfirmInfo_MNterminated, &ett_xnap_PDUSessionResourceBearerSetupCompleteInfo_SNterminated, &ett_xnap_SEQUENCE_SIZE_1_maxnoofDRBs_OF_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item, &ett_xnap_DRBsToBeSetupList_BearerSetupComplete_SNterminated_Item, &ett_xnap_PDUSessionResourceSecondaryRATUsageList, &ett_xnap_PDUSessionResourceSecondaryRATUsageItem, &ett_xnap_PDUSessionUsageReport, &ett_xnap_Periodical, &ett_xnap_PLMNAreaBasedQMC, &ett_xnap_PLMNListforQMC, &ett_xnap_PCIListForMDT, &ett_xnap_ProtectedE_UTRAResourceIndication, &ett_xnap_ProtectedE_UTRAResourceList, &ett_xnap_ProtectedE_UTRAResource_Item, &ett_xnap_ProtectedE_UTRAFootprintTimePattern, &ett_xnap_QMCConfigInfo, &ett_xnap_UEAppLayerMeasInfoList, &ett_xnap_UEAppLayerMeasInfo_Item, &ett_xnap_QoSCharacteristics, &ett_xnap_QoSFlowLevelQoSParameters, &ett_xnap_QoSFlowNotificationControlIndicationInfo, &ett_xnap_QoSFlowNotify_Item, &ett_xnap_QoSFlows_List, &ett_xnap_QoSFlow_Item, &ett_xnap_QoSFlows_List_withCause, &ett_xnap_QoSFlowwithCause_Item, &ett_xnap_QoS_Mapping_Information, &ett_xnap_QoSFlowsAdmitted_List, &ett_xnap_QoSFlowsAdmitted_Item, &ett_xnap_QoSFlowsToBeSetup_List, &ett_xnap_QoSFlowsToBeSetup_Item, &ett_xnap_QoSFlowsUsageReportList, &ett_xnap_QoSFlowsUsageReport_Item, &ett_xnap_RACHReportInformation, &ett_xnap_RACHReportList_Item, &ett_xnap_RadioResourceStatus, &ett_xnap_RANAreaID, &ett_xnap_RANAreaID_List, &ett_xnap_RANPagingArea, &ett_xnap_RANPagingAreaChoice, &ett_xnap_RANPagingAttemptInfo, &ett_xnap_RBsetConfiguration, &ett_xnap_RedundantPDUSessionInformation, &ett_xnap_ReplacingCells, &ett_xnap_ReplacingCells_Item, &ett_xnap_ReportType, &ett_xnap_ReservedSubframePattern, &ett_xnap_ResetRequestTypeInfo, &ett_xnap_ResetRequestTypeInfo_Full, &ett_xnap_ResetRequestTypeInfo_Partial, &ett_xnap_ResetRequestPartialReleaseList, &ett_xnap_ResetRequestPartialReleaseItem, &ett_xnap_ResetResponseTypeInfo, &ett_xnap_ResetResponseTypeInfo_Full, &ett_xnap_ResetResponseTypeInfo_Partial, &ett_xnap_ResetResponsePartialReleaseList, &ett_xnap_ResetResponsePartialReleaseItem, &ett_xnap_RLC_Status, &ett_xnap_RLCDuplicationInformation, &ett_xnap_RLCDuplicationStateList, &ett_xnap_RLCDuplicationState_Item, &ett_xnap_RRCConnections, &ett_xnap_RRCReestab_initiated, &ett_xnap_RRCReestab_Initiated_Reporting, &ett_xnap_RRCReestab_Initiated_Reporting_wo_UERLFReport, &ett_xnap_RRCReestab_Initiated_Reporting_with_UERLFReport, &ett_xnap_RRCSetup_initiated, &ett_xnap_RRCSetup_Initiated_Reporting, &ett_xnap_RRCSetup_Initiated_Reporting_with_UERLFReport, &ett_xnap_S_NSSAIListQoE, &ett_xnap_S_BasedMDT, &ett_xnap_SecondarydataForwardingInfoFromTarget_Item, &ett_xnap_SecondarydataForwardingInfoFromTarget_List, &ett_xnap_SDTSupportRequest, &ett_xnap_SDTPartialUEContextInfo, &ett_xnap_SDT_DRBsToBeSetupList, &ett_xnap_SDT_DRBsToBeSetupList_Item, &ett_xnap_SDT_SRBsToBeSetupList, &ett_xnap_SDT_SRBsToBeSetupList_Item, &ett_xnap_SDTDataForwardingDRBList, &ett_xnap_SDTDataForwardingDRBList_Item, &ett_xnap_SecondaryRATUsageInformation, &ett_xnap_SecurityIndication, &ett_xnap_SecurityResult, &ett_xnap_SensorMeasurementConfiguration, &ett_xnap_SensorMeasConfigNameList, &ett_xnap_SensorName, &ett_xnap_ServedCellInformation_E_UTRA, &ett_xnap_SEQUENCE_SIZE_1_maxnoofBPLMNs_OF_ServedCellInformation_E_UTRA_perBPLMN, &ett_xnap_ServedCellInformation_E_UTRA_perBPLMN, &ett_xnap_ServedCellInformation_E_UTRA_ModeInfo, &ett_xnap_ServedCellInformation_E_UTRA_FDDInfo, &ett_xnap_ServedCellInformation_E_UTRA_TDDInfo, &ett_xnap_ServedCells_E_UTRA, &ett_xnap_ServedCells_E_UTRA_Item, &ett_xnap_ServedCellsToUpdate_E_UTRA, &ett_xnap_ServedCells_ToModify_E_UTRA, &ett_xnap_ServedCells_ToModify_E_UTRA_Item, &ett_xnap_ServedCellInformation_NR, &ett_xnap_SFN_Offset, &ett_xnap_ServedCells_NR, &ett_xnap_ServedCells_NR_Item, &ett_xnap_ServedCells_ToModify_NR, &ett_xnap_ServedCells_ToModify_NR_Item, &ett_xnap_ServedCellSpecificInfoReq_NR, &ett_xnap_ServedCellSpecificInfoReq_NR_Item, &ett_xnap_ServedCellsToUpdate_NR, &ett_xnap_SharedResourceType, &ett_xnap_SharedResourceType_UL_OnlySharing, &ett_xnap_SharedResourceType_ULDL_Sharing, &ett_xnap_SharedResourceType_ULDL_Sharing_UL_Resources, &ett_xnap_SharedResourceType_ULDL_Sharing_UL_ResourcesChanged, &ett_xnap_SharedResourceType_ULDL_Sharing_DL_Resources, &ett_xnap_SharedResourceType_ULDL_Sharing_DL_ResourcesChanged, &ett_xnap_SliceAvailableCapacity, &ett_xnap_SliceAvailableCapacity_Item, &ett_xnap_SNSSAIAvailableCapacity_List, &ett_xnap_SNSSAIAvailableCapacity_Item, &ett_xnap_SliceRadioResourceStatus_List, &ett_xnap_SliceRadioResourceStatus_Item, &ett_xnap_SNSSAIRadioResourceStatus_List, &ett_xnap_SNSSAIRadioResourceStatus_Item, &ett_xnap_SliceSupport_List, &ett_xnap_SliceToReport_List, &ett_xnap_SliceToReport_List_Item, &ett_xnap_SNSSAI_list, &ett_xnap_SNSSAI_Item, &ett_xnap_SlotConfiguration_List, &ett_xnap_SlotConfiguration_List_Item, &ett_xnap_S_NSSAI, &ett_xnap_SpecialSubframeInfo_E_UTRA, &ett_xnap_SSBAreaCapacityValue_List, &ett_xnap_SSBAreaCapacityValue_List_Item, &ett_xnap_SSBAreaRadioResourceStatus_List, &ett_xnap_SSBAreaRadioResourceStatus_List_Item, &ett_xnap_SSB_Coverage_Modification_List, &ett_xnap_SSB_Coverage_Modification_List_Item, &ett_xnap_SSB_PositionsInBurst, &ett_xnap_SSBOffsets_List, &ett_xnap_SSBOffsets_Item, &ett_xnap_SSBOffsetInformation, &ett_xnap_SSBOffsetModificationRange, &ett_xnap_SSBToReport_List, &ett_xnap_SSBToReport_List_Item, &ett_xnap_SSB_transmissionBitmap, &ett_xnap_SuccessfulHOReportInformation, &ett_xnap_SuccessfulHOReportList_Item, &ett_xnap_SUL_Information, &ett_xnap_Supported_MBS_FSA_ID_List, &ett_xnap_SupportedSULBandList, &ett_xnap_SupportedSULBandItem, &ett_xnap_SymbolAllocation_in_Slot, &ett_xnap_SymbolAllocation_in_Slot_AllDL, &ett_xnap_SymbolAllocation_in_Slot_AllUL, &ett_xnap_SymbolAllocation_in_Slot_BothDLandUL, &ett_xnap_TABasedMDT, &ett_xnap_TAIBasedMDT, &ett_xnap_TAIListforMDT, &ett_xnap_TAIforMDT_Item, &ett_xnap_TAINSAGSupportList, &ett_xnap_TAINSAGSupportItem, &ett_xnap_TAISupport_List, &ett_xnap_TAISupport_Item, &ett_xnap_SEQUENCE_SIZE_1_maxnoofsupportedPLMNs_OF_BroadcastPLMNinTAISupport_Item, &ett_xnap_TAListforMDT, &ett_xnap_TABasedQMC, &ett_xnap_TAListforQMC, &ett_xnap_TAIBasedQMC, &ett_xnap_TAIListforQMC, &ett_xnap_TAI_Item, &ett_xnap_Target_CGI, &ett_xnap_TargetCellList, &ett_xnap_TargetCellList_Item, &ett_xnap_TimeSynchronizationAssistanceInformation, &ett_xnap_TNLConfigurationInfo, &ett_xnap_TNLA_To_Add_List, &ett_xnap_TNLA_To_Add_Item, &ett_xnap_TNLA_To_Update_List, &ett_xnap_TNLA_To_Update_Item, &ett_xnap_TNLA_To_Remove_List, &ett_xnap_TNLA_To_Remove_Item, &ett_xnap_TNLA_Setup_List, &ett_xnap_TNLA_Setup_Item, &ett_xnap_TNLA_Failed_To_Setup_List, &ett_xnap_TNLA_Failed_To_Setup_Item, &ett_xnap_TraceActivation, &ett_xnap_T_interfaces_to_trace, &ett_xnap_TrafficProfile, &ett_xnap_TrafficReleaseType, &ett_xnap_TrafficToBeReleaseInformation, &ett_xnap_TrafficToBeRelease_List, &ett_xnap_TrafficToBeRelease_Item, &ett_xnap_TSCTrafficCharacteristics, &ett_xnap_TSCAssistanceInformation, &ett_xnap_UEAggregateMaximumBitRate, &ett_xnap_UEAppLayerMeasConfigInfo, &ett_xnap_UEContextID, &ett_xnap_UEContextIDforRRCResume, &ett_xnap_UEContextIDforRRCReestablishment, &ett_xnap_UEContextInfoRetrUECtxtResp, &ett_xnap_UEHistoryInformation, &ett_xnap_UEHistoryInformationFromTheUE, &ett_xnap_UEIdentityIndexValue, &ett_xnap_UEIdentityIndexList_MBSGroupPaging, &ett_xnap_UEIdentityIndexList_MBSGroupPaging_Item, &ett_xnap_UEIdentityIndexList_MBSGroupPagingValue, &ett_xnap_UERadioCapabilityForPaging, &ett_xnap_UERANPagingIdentity, &ett_xnap_UERLFReportContainer, &ett_xnap_UERLFReportContainerLTEExtension, &ett_xnap_UESliceMaximumBitRateList, &ett_xnap_UESliceMaximumBitRate_Item, &ett_xnap_UESecurityCapabilities, &ett_xnap_T_nr_EncyptionAlgorithms, &ett_xnap_T_nr_IntegrityProtectionAlgorithms, &ett_xnap_T_e_utra_EncyptionAlgorithms, &ett_xnap_T_e_utra_IntegrityProtectionAlgorithms, &ett_xnap_ULConfiguration, &ett_xnap_ULF1Terminating_BHInfo, &ett_xnap_ULNonF1Terminating_BHInfo, &ett_xnap_UPTransportLayerInformation, &ett_xnap_UPTransportParameters, &ett_xnap_UPTransportParametersItem, &ett_xnap_VolumeTimedReportList, &ett_xnap_VolumeTimedReport_Item, &ett_xnap_WLANMeasurementConfiguration, &ett_xnap_WLANMeasConfigNameList, &ett_xnap_HandoverRequest, &ett_xnap_UEContextInfoHORequest, &ett_xnap_UEContextRefAtSN_HORequest, &ett_xnap_HandoverRequestAcknowledge, &ett_xnap_HandoverPreparationFailure, &ett_xnap_SNStatusTransfer, &ett_xnap_UEContextRelease, &ett_xnap_HandoverCancel, &ett_xnap_HandoverSuccess, &ett_xnap_ConditionalHandoverCancel, &ett_xnap_EarlyStatusTransfer, &ett_xnap_ProcedureStageChoice, &ett_xnap_FirstDLCount, &ett_xnap_DLDiscarding, &ett_xnap_RANPaging, &ett_xnap_RetrieveUEContextRequest, &ett_xnap_RetrieveUEContextResponse, &ett_xnap_RetrieveUEContextConfirm, &ett_xnap_RetrieveUEContextFailure, &ett_xnap_XnUAddressIndication, &ett_xnap_SNodeAdditionRequest, &ett_xnap_PDUSessionToBeAddedAddReq, &ett_xnap_PDUSessionToBeAddedAddReq_Item, &ett_xnap_SNodeAdditionRequestAcknowledge, &ett_xnap_PDUSessionAdmittedAddedAddReqAck, &ett_xnap_PDUSessionAdmittedAddedAddReqAck_Item, &ett_xnap_PDUSessionNotAdmittedAddReqAck, &ett_xnap_SNodeAdditionRequestReject, &ett_xnap_SNodeReconfigurationComplete, &ett_xnap_ResponseInfo_ReconfCompl, &ett_xnap_ResponseType_ReconfComplete, &ett_xnap_Configuration_successfully_applied, &ett_xnap_Configuration_rejected_by_M_NG_RANNode, &ett_xnap_SNodeModificationRequest, &ett_xnap_UEContextInfo_SNModRequest, &ett_xnap_PDUSessionsToBeAdded_SNModRequest_List, &ett_xnap_PDUSessionsToBeAdded_SNModRequest_Item, &ett_xnap_PDUSessionsToBeModified_SNModRequest_List, &ett_xnap_PDUSessionsToBeModified_SNModRequest_Item, &ett_xnap_PDUSessionsToBeReleased_SNModRequest_List, &ett_xnap_SNodeModificationRequestAcknowledge, &ett_xnap_PDUSessionAdmitted_SNModResponse, &ett_xnap_PDUSessionAdmittedToBeAddedSNModResponse, &ett_xnap_PDUSessionAdmittedToBeAddedSNModResponse_Item, &ett_xnap_PDUSessionAdmittedToBeModifiedSNModResponse, &ett_xnap_PDUSessionAdmittedToBeModifiedSNModResponse_Item, &ett_xnap_PDUSessionAdmittedToBeReleasedSNModResponse, &ett_xnap_PDUSessionNotAdmitted_SNModResponse, &ett_xnap_PDUSessionDataForwarding_SNModResponse, &ett_xnap_SNodeModificationRequestReject, &ett_xnap_SNodeModificationRequired, &ett_xnap_PDUSessionToBeModifiedSNModRequired, &ett_xnap_PDUSessionToBeModifiedSNModRequired_Item, &ett_xnap_PDUSessionToBeReleasedSNModRequired, &ett_xnap_SNodeModificationConfirm, &ett_xnap_PDUSessionAdmittedModSNModConfirm, &ett_xnap_PDUSessionAdmittedModSNModConfirm_Item, &ett_xnap_PDUSessionReleasedSNModConfirm, &ett_xnap_SNodeModificationRefuse, &ett_xnap_SNodeReleaseRequest, &ett_xnap_SNodeReleaseRequestAcknowledge, &ett_xnap_PDUSessionToBeReleasedList_RelReqAck, &ett_xnap_SNodeReleaseReject, &ett_xnap_SNodeReleaseRequired, &ett_xnap_PDUSessionToBeReleasedList_RelRqd, &ett_xnap_SNodeReleaseConfirm, &ett_xnap_PDUSessionReleasedList_RelConf, &ett_xnap_SNodeCounterCheckRequest, &ett_xnap_BearersSubjectToCounterCheck_List, &ett_xnap_BearersSubjectToCounterCheck_Item, &ett_xnap_SNodeChangeRequired, &ett_xnap_PDUSession_SNChangeRequired_List, &ett_xnap_PDUSession_SNChangeRequired_Item, &ett_xnap_SNodeChangeConfirm, &ett_xnap_PDUSession_SNChangeConfirm_List, &ett_xnap_PDUSession_SNChangeConfirm_Item, &ett_xnap_SNodeChangeRefuse, &ett_xnap_RRCTransfer, &ett_xnap_SplitSRB_RRCTransfer, &ett_xnap_UEReportRRCTransfer, &ett_xnap_FastMCGRecoveryRRCTransfer, &ett_xnap_SDT_SRB_between_NewNode_OldNode, &ett_xnap_NotificationControlIndication, &ett_xnap_PDUSessionResourcesNotifyList, &ett_xnap_PDUSessionResourcesNotify_Item, &ett_xnap_ActivityNotification, &ett_xnap_PDUSessionResourcesActivityNotifyList, &ett_xnap_PDUSessionResourcesActivityNotify_Item, &ett_xnap_QoSFlowsActivityNotifyList, &ett_xnap_QoSFlowsActivityNotifyItem, &ett_xnap_XnSetupRequest, &ett_xnap_XnSetupResponse, &ett_xnap_XnSetupFailure, &ett_xnap_NGRANNodeConfigurationUpdate, &ett_xnap_ConfigurationUpdateInitiatingNodeChoice, &ett_xnap_NGRANNodeConfigurationUpdateAcknowledge, &ett_xnap_RespondingNodeTypeConfigUpdateAck, &ett_xnap_RespondingNodeTypeConfigUpdateAck_ng_eNB, &ett_xnap_RespondingNodeTypeConfigUpdateAck_gNB, &ett_xnap_NGRANNodeConfigurationUpdateFailure, &ett_xnap_E_UTRA_NR_CellResourceCoordinationRequest, &ett_xnap_InitiatingNodeType_ResourceCoordRequest, &ett_xnap_ResourceCoordRequest_ng_eNB_initiated, &ett_xnap_ResourceCoordRequest_gNB_initiated, &ett_xnap_E_UTRA_NR_CellResourceCoordinationResponse, &ett_xnap_RespondingNodeType_ResourceCoordResponse, &ett_xnap_ResourceCoordResponse_ng_eNB_initiated, &ett_xnap_ResourceCoordResponse_gNB_initiated, &ett_xnap_SecondaryRATDataUsageReport, &ett_xnap_XnRemovalRequest, &ett_xnap_XnRemovalResponse, &ett_xnap_XnRemovalFailure, &ett_xnap_CellActivationRequest, &ett_xnap_ServedCellsToActivate, &ett_xnap_CellActivationResponse, &ett_xnap_ActivatedServedCells, &ett_xnap_CellActivationFailure, &ett_xnap_ResetRequest, &ett_xnap_ResetResponse, &ett_xnap_ErrorIndication, &ett_xnap_PrivateMessage, &ett_xnap_TraceStart, &ett_xnap_DeactivateTrace, &ett_xnap_FailureIndication, &ett_xnap_HandoverReport, &ett_xnap_ResourceStatusRequest, &ett_xnap_ResourceStatusResponse, &ett_xnap_ResourceStatusFailure, &ett_xnap_ResourceStatusUpdate, &ett_xnap_MobilityChangeRequest, &ett_xnap_MobilityChangeAcknowledge, &ett_xnap_MobilityChangeFailure, &ett_xnap_AccessAndMobilityIndication, &ett_xnap_CellTrafficTrace, &ett_xnap_RANMulticastGroupPaging, &ett_xnap_ScgFailureInformationReport, &ett_xnap_ScgFailureTransfer, &ett_xnap_F1CTrafficTransfer, &ett_xnap_IABTransportMigrationManagementRequest, &ett_xnap_TrafficToBeAddedList, &ett_xnap_TrafficToBeAdded_Item, &ett_xnap_TrafficToBeModifiedList, &ett_xnap_TrafficToBeModified_Item, &ett_xnap_IABTransportMigrationManagementResponse, &ett_xnap_TrafficAddedList, &ett_xnap_TrafficAdded_Item, &ett_xnap_TrafficModifiedList, &ett_xnap_TrafficModified_Item, &ett_xnap_TrafficNotAddedList, &ett_xnap_TrafficNotAdded_Item, &ett_xnap_TrafficNotModifiedList, &ett_xnap_TrafficNotModified_Item, &ett_xnap_TrafficReleasedList, &ett_xnap_TrafficReleased_Item, &ett_xnap_IABTransportMigrationManagementReject, &ett_xnap_IABTransportMigrationModificationRequest, &ett_xnap_TrafficRequiredToBeModifiedList, &ett_xnap_TrafficRequiredToBeModified_Item, &ett_xnap_IABTNLAddressToBeReleasedList, &ett_xnap_IABTNLAddressToBeReleased_Item, &ett_xnap_IABTransportMigrationModificationResponse, &ett_xnap_TrafficRequiredModifiedList, &ett_xnap_TrafficRequiredModified_Item, &ett_xnap_IABResourceCoordinationRequest, &ett_xnap_BoundaryNodeCellsList, &ett_xnap_BoundaryNodeCellsList_Item, &ett_xnap_ParentNodeCellsList, &ett_xnap_ParentNodeCellsList_Item, &ett_xnap_IABResourceCoordinationResponse, &ett_xnap_CPCCancel, &ett_xnap_PartialUEContextTransfer, &ett_xnap_PartialUEContextTransferAcknowledge, &ett_xnap_PartialUEContextTransferFailure, &ett_xnap_XnAP_PDU, &ett_xnap_InitiatingMessage, &ett_xnap_SuccessfulOutcome, &ett_xnap_UnsuccessfulOutcome, }; module_t *xnap_module; proto_xnap = proto_register_protocol(PNAME, PSNAME, PFNAME); proto_register_field_array(proto_xnap, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); xnap_handle = register_dissector("xnap", dissect_xnap, proto_xnap); xnap_ies_dissector_table = register_dissector_table("xnap.ies", "XNAP-PROTOCOL-IES", proto_xnap, FT_UINT32, BASE_DEC); xnap_extension_dissector_table = register_dissector_table("xnap.extension", "XNAP-PROTOCOL-EXTENSION", proto_xnap, FT_UINT32, BASE_DEC); xnap_proc_imsg_dissector_table = register_dissector_table("xnap.proc.imsg", "XNAP-ELEMENTARY-PROCEDURE InitiatingMessage", proto_xnap, FT_UINT32, BASE_DEC); xnap_proc_sout_dissector_table = register_dissector_table("xnap.proc.sout", "XNAP-ELEMENTARY-PROCEDURE SuccessfulOutcome", proto_xnap, FT_UINT32, BASE_DEC); xnap_proc_uout_dissector_table = register_dissector_table("xnap.proc.uout", "XNAP-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", proto_xnap, FT_UINT32, BASE_DEC); xnap_module = prefs_register_protocol(proto_xnap, NULL); prefs_register_enum_preference(xnap_module, "dissect_target_ng_ran_container_as", "Dissect target NG-RAN container as", "Select whether target NG-RAN container should be decoded automatically" " (based on Xn Setup procedure) or manually", &xnap_dissect_target_ng_ran_container_as, xnap_target_ng_ran_container_vals, FALSE); prefs_register_enum_preference(xnap_module, "dissect_lte_rrc_context_as", "Dissect LTE RRC Context as", "Select whether LTE RRC Context should be dissected as legacy LTE or NB-IOT", &xnap_dissect_lte_rrc_context_as, xnap_lte_rrc_context_vals, FALSE); } void proto_reg_handoff_xnap(void) { dissector_add_uint_with_preference("sctp.port", SCTP_PORT_XnAP, xnap_handle); dissector_add_uint("sctp.ppi", XNAP_PROTOCOL_ID, xnap_handle); dissector_add_uint("xnap.ies", id_ActivatedServedCells, create_dissector_handle(dissect_ActivatedServedCells_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ActivationIDforCellActivation, create_dissector_handle(dissect_ActivationIDforCellActivation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_admittedSplitSRB, create_dissector_handle(dissect_SplitSRBsTypes_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_admittedSplitSRBrelease, create_dissector_handle(dissect_SplitSRBsTypes_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_AMF_Region_Information, create_dissector_handle(dissect_AMF_Region_Information_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_AssistanceDataForRANPaging, create_dissector_handle(dissect_AssistanceDataForRANPaging_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_BearersSubjectToCounterCheck, create_dissector_handle(dissect_BearersSubjectToCounterCheck_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_Cause, create_dissector_handle(dissect_Cause_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_cellAssistanceInfo_NR, create_dissector_handle(dissect_CellAssistanceInfo_NR_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ConfigurationUpdateInitiatingNodeChoice, create_dissector_handle(dissect_ConfigurationUpdateInitiatingNodeChoice_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CriticalityDiagnostics, create_dissector_handle(dissect_CriticalityDiagnostics_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_XnUAddressInfoperPDUSession_List, create_dissector_handle(dissect_XnUAddressInfoperPDUSession_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_DRBsSubjectToStatusTransfer_List, create_dissector_handle(dissect_DRBsSubjectToStatusTransfer_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ExpectedUEBehaviour, create_dissector_handle(dissect_ExpectedUEBehaviour_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_GlobalNG_RAN_node_ID, create_dissector_handle(dissect_GlobalNG_RANNode_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_GUAMI, create_dissector_handle(dissect_GUAMI_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_indexToRatFrequSelectionPriority, create_dissector_handle(dissect_RFSP_Index_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_initiatingNodeType_ResourceCoordRequest, create_dissector_handle(dissect_InitiatingNodeType_ResourceCoordRequest_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_List_of_served_cells_E_UTRA, create_dissector_handle(dissect_ServedCells_E_UTRA_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_List_of_served_cells_NR, create_dissector_handle(dissect_ServedCells_NR_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_LocationReportingInformation, create_dissector_handle(dissect_LocationReportingInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MAC_I, create_dissector_handle(dissect_MAC_I_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MaskedIMEISV, create_dissector_handle(dissect_MaskedIMEISV_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_M_NG_RANnodeUEXnAPID, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MN_to_SN_Container, create_dissector_handle(dissect_MN_to_SN_Container_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MobilityRestrictionList, create_dissector_handle(dissect_MobilityRestrictionList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_new_NG_RAN_Cell_Identity, create_dissector_handle(dissect_NG_RAN_Cell_Identity_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_newNG_RANnodeUEXnAPID, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEReportRRCTransfer, create_dissector_handle(dissect_UEReportRRCTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_oldNG_RANnodeUEXnAPID, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_OldtoNewNG_RANnodeResumeContainer, create_dissector_handle(dissect_OldtoNewNG_RANnodeResumeContainer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PagingDRX, create_dissector_handle(dissect_PagingDRX_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PCellID, create_dissector_handle(dissect_GlobalNG_RANCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDCPChangeIndication, create_dissector_handle(dissect_PDCPChangeIndication_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionAdmittedAddedAddReqAck, create_dissector_handle(dissect_PDUSessionAdmittedAddedAddReqAck_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionAdmittedModSNModConfirm, create_dissector_handle(dissect_PDUSessionAdmittedModSNModConfirm_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionAdmitted_SNModResponse, create_dissector_handle(dissect_PDUSessionAdmitted_SNModResponse_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionNotAdmittedAddReqAck, create_dissector_handle(dissect_PDUSessionNotAdmittedAddReqAck_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionNotAdmitted_SNModResponse, create_dissector_handle(dissect_PDUSessionNotAdmitted_SNModResponse_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionReleasedList_RelConf, create_dissector_handle(dissect_PDUSessionReleasedList_RelConf_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionReleasedSNModConfirm, create_dissector_handle(dissect_PDUSessionReleasedSNModConfirm_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionResourcesActivityNotifyList, create_dissector_handle(dissect_PDUSessionResourcesActivityNotifyList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionResourcesAdmitted_List, create_dissector_handle(dissect_PDUSessionResourcesAdmitted_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionResourcesNotAdmitted_List, create_dissector_handle(dissect_PDUSessionResourcesNotAdmitted_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionResourcesNotifyList, create_dissector_handle(dissect_PDUSessionResourcesNotifyList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSession_SNChangeConfirm_List, create_dissector_handle(dissect_PDUSession_SNChangeConfirm_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSession_SNChangeRequired_List, create_dissector_handle(dissect_PDUSession_SNChangeRequired_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionToBeAddedAddReq, create_dissector_handle(dissect_PDUSessionToBeAddedAddReq_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionToBeModifiedSNModRequired, create_dissector_handle(dissect_PDUSessionToBeModifiedSNModRequired_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionToBeReleasedList_RelRqd, create_dissector_handle(dissect_PDUSessionToBeReleasedList_RelRqd_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionToBeReleased_RelReq, create_dissector_handle(dissect_PDUSession_List_withCause_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionToBeReleasedSNModRequired, create_dissector_handle(dissect_PDUSessionToBeReleasedSNModRequired_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RANPagingArea, create_dissector_handle(dissect_RANPagingArea_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PagingPriority, create_dissector_handle(dissect_PagingPriority_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_requestedSplitSRB, create_dissector_handle(dissect_SplitSRBsTypes_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_requestedSplitSRBrelease, create_dissector_handle(dissect_SplitSRBsTypes_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ResetRequestTypeInfo, create_dissector_handle(dissect_ResetRequestTypeInfo_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ResetResponseTypeInfo, create_dissector_handle(dissect_ResetResponseTypeInfo_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RespondingNodeTypeConfigUpdateAck, create_dissector_handle(dissect_RespondingNodeTypeConfigUpdateAck_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_respondingNodeType_ResourceCoordResponse, create_dissector_handle(dissect_RespondingNodeType_ResourceCoordResponse_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ResponseInfo_ReconfCompl, create_dissector_handle(dissect_ResponseInfo_ReconfCompl_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RRCConfigIndication, create_dissector_handle(dissect_RRCConfigIndication_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RRCResumeCause, create_dissector_handle(dissect_RRCResumeCause_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SCGConfigurationQuery, create_dissector_handle(dissect_SCGConfigurationQuery_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_selectedPLMN, create_dissector_handle(dissect_PLMN_Identity_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ServedCellsToActivate, create_dissector_handle(dissect_ServedCellsToActivate_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_servedCellsToUpdate_E_UTRA, create_dissector_handle(dissect_ServedCellsToUpdate_E_UTRA_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_servedCellsToUpdate_NR, create_dissector_handle(dissect_ServedCellsToUpdate_NR_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_s_ng_RANnode_SecurityKey, create_dissector_handle(dissect_S_NG_RANnode_SecurityKey_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_S_NG_RANnodeUE_AMBR, create_dissector_handle(dissect_UEAggregateMaximumBitRate_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_S_NG_RANnodeUEXnAPID, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SN_to_MN_Container, create_dissector_handle(dissect_SN_to_MN_Container_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_sourceNG_RANnodeUEXnAPID, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SplitSRB_RRCTransfer, create_dissector_handle(dissect_SplitSRB_RRCTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TAISupport_list, create_dissector_handle(dissect_TAISupport_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TimeToWait, create_dissector_handle(dissect_TimeToWait_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_Target2SourceNG_RANnodeTranspContainer, create_dissector_handle(dissect_Target2SourceNG_RANnodeTranspContainer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_targetCellGlobalID, create_dissector_handle(dissect_Target_CGI_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_targetNG_RANnodeUEXnAPID, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_target_S_NG_RANnodeID, create_dissector_handle(dissect_GlobalNG_RANNode_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TraceActivation, create_dissector_handle(dissect_TraceActivation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEContextID, create_dissector_handle(dissect_UEContextID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEContextInfoHORequest, create_dissector_handle(dissect_UEContextInfoHORequest_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEContextInfoRetrUECtxtResp, create_dissector_handle(dissect_UEContextInfoRetrUECtxtResp_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEContextInfo_SNModRequest, create_dissector_handle(dissect_UEContextInfo_SNModRequest_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEContextKeptIndicator, create_dissector_handle(dissect_UEContextKeptIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEContextRefAtSN_HORequest, create_dissector_handle(dissect_UEContextRefAtSN_HORequest_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEHistoryInformation, create_dissector_handle(dissect_UEHistoryInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEIdentityIndexValue, create_dissector_handle(dissect_UEIdentityIndexValue_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UERANPagingIdentity, create_dissector_handle(dissect_UERANPagingIdentity_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UESecurityCapabilities, create_dissector_handle(dissect_UESecurityCapabilities_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UserPlaneTrafficActivityReport, create_dissector_handle(dissect_UserPlaneTrafficActivityReport_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_XnRemovalThreshold, create_dissector_handle(dissect_XnBenefitValue_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_DesiredActNotificationLevel, create_dissector_handle(dissect_DesiredActNotificationLevel_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_AvailableDRBIDs, create_dissector_handle(dissect_DRB_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_AdditionalDRBIDs, create_dissector_handle(dissect_DRB_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SpareDRBIDs, create_dissector_handle(dissect_DRB_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RequiredNumberOfDRBIDs, create_dissector_handle(dissect_DRB_Number_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TNLA_To_Add_List, create_dissector_handle(dissect_TNLA_To_Add_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TNLA_To_Update_List, create_dissector_handle(dissect_TNLA_To_Update_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TNLA_To_Remove_List, create_dissector_handle(dissect_TNLA_To_Remove_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TNLA_Setup_List, create_dissector_handle(dissect_TNLA_Setup_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TNLA_Failed_To_Setup_List, create_dissector_handle(dissect_TNLA_Failed_To_Setup_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionToBeReleased_RelReqAck, create_dissector_handle(dissect_PDUSessionToBeReleasedList_RelReqAck_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_S_NG_RANnodeMaxIPDataRate_UL, create_dissector_handle(dissect_BitRate_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionResourceSecondaryRATUsageList, create_dissector_handle(dissect_PDUSessionResourceSecondaryRATUsageList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_LocationInformationSNReporting, create_dissector_handle(dissect_LocationInformationSNReporting_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_LocationInformationSN, create_dissector_handle(dissect_Target_CGI_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_S_NG_RANnodeMaxIPDataRate_DL, create_dissector_handle(dissect_BitRate_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MR_DC_ResourceCoordinationInfo, create_dissector_handle(dissect_MR_DC_ResourceCoordinationInfo_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_AMF_Region_Information_To_Add, create_dissector_handle(dissect_AMF_Region_Information_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_AMF_Region_Information_To_Delete, create_dissector_handle(dissect_AMF_Region_Information_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RANPagingFailure, create_dissector_handle(dissect_RANPagingFailure_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UERadioCapabilityForPaging, create_dissector_handle(dissect_UERadioCapabilityForPaging_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PDUSessionDataForwarding_SNModResponse, create_dissector_handle(dissect_PDUSessionDataForwarding_SNModResponse_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NE_DC_TDM_Pattern, create_dissector_handle(dissect_NE_DC_TDM_Pattern_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_InterfaceInstanceIndication, create_dissector_handle(dissect_InterfaceInstanceIndication_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_S_NG_RANnode_Addition_Trigger_Ind, create_dissector_handle(dissect_S_NG_RANnode_Addition_Trigger_Ind_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_DRBs_transferred_to_MN, create_dissector_handle(dissect_DRB_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_EndpointIPAddressAndPort, create_dissector_handle(dissect_EndpointIPAddressAndPort_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TNLConfigurationInfo, create_dissector_handle(dissect_TNLConfigurationInfo_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PartialListIndicator_NR, create_dissector_handle(dissect_PartialListIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MessageOversizeNotification, create_dissector_handle(dissect_MessageOversizeNotification_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CellAndCapacityAssistanceInfo_NR, create_dissector_handle(dissect_CellAndCapacityAssistanceInfo_NR_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NG_RANTraceID, create_dissector_handle(dissect_NG_RANTraceID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_FastMCGRecoveryRRCTransfer_SN_to_MN, create_dissector_handle(dissect_FastMCGRecoveryRRCTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RequestedFastMCGRecoveryViaSRB3, create_dissector_handle(dissect_RequestedFastMCGRecoveryViaSRB3_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_AvailableFastMCGRecoveryViaSRB3, create_dissector_handle(dissect_AvailableFastMCGRecoveryViaSRB3_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RequestedFastMCGRecoveryViaSRB3Release, create_dissector_handle(dissect_RequestedFastMCGRecoveryViaSRB3Release_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ReleaseFastMCGRecoveryViaSRB3, create_dissector_handle(dissect_ReleaseFastMCGRecoveryViaSRB3_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_FastMCGRecoveryRRCTransfer_MN_to_SN, create_dissector_handle(dissect_FastMCGRecoveryRRCTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PartialListIndicator_EUTRA, create_dissector_handle(dissect_PartialListIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CellAndCapacityAssistanceInfo_EUTRA, create_dissector_handle(dissect_CellAndCapacityAssistanceInfo_EUTRA_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CHOinformation_Req, create_dissector_handle(dissect_CHOinformation_Req_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CHOinformation_Ack, create_dissector_handle(dissect_CHOinformation_Ack_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_targetCellsToCancel, create_dissector_handle(dissect_TargetCellList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_requestedTargetCellGlobalID, create_dissector_handle(dissect_Target_CGI_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_procedureStage, create_dissector_handle(dissect_ProcedureStageChoice_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_DAPSResponseInfo_List, create_dissector_handle(dissect_DAPSResponseInfo_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CHO_MRDC_Indicator, create_dissector_handle(dissect_CHO_MRDC_Indicator_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_LTEV2XServicesAuthorized, create_dissector_handle(dissect_LTEV2XServicesAuthorized_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NRV2XServicesAuthorized, create_dissector_handle(dissect_NRV2XServicesAuthorized_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PC5QoSParameters, create_dissector_handle(dissect_PC5QoSParameters_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MobilityInformation, create_dissector_handle(dissect_MobilityInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_InitiatingCondition_FailureIndication, create_dissector_handle(dissect_InitiatingCondition_FailureIndication_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEHistoryInformationFromTheUE, create_dissector_handle(dissect_UEHistoryInformationFromTheUE_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_HandoverReportType, create_dissector_handle(dissect_HandoverReportType_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_HandoverCause, create_dissector_handle(dissect_Cause_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SourceCellCGI, create_dissector_handle(dissect_GlobalNG_RANCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TargetCellCGI, create_dissector_handle(dissect_GlobalNG_RANCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ReEstablishmentCellCGI, create_dissector_handle(dissect_GlobalCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TargetCellinEUTRAN, create_dissector_handle(dissect_TargetCellinEUTRAN_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SourceCellCRNTI, create_dissector_handle(dissect_C_RNTI_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UERLFReportContainer, create_dissector_handle(dissect_UERLFReportContainer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NGRAN_Node1_Measurement_ID, create_dissector_handle(dissect_Measurement_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NGRAN_Node2_Measurement_ID, create_dissector_handle(dissect_Measurement_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RegistrationRequest, create_dissector_handle(dissect_RegistrationRequest_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ReportCharacteristics, create_dissector_handle(dissect_ReportCharacteristics_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CellToReport, create_dissector_handle(dissect_CellToReport_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ReportingPeriodicity, create_dissector_handle(dissect_ReportingPeriodicity_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CellMeasurementResult, create_dissector_handle(dissect_CellMeasurementResult_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NG_RANnode1CellID, create_dissector_handle(dissect_GlobalNG_RANCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NG_RANnode2CellID, create_dissector_handle(dissect_GlobalNG_RANCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NG_RANnode1MobilityParameters, create_dissector_handle(dissect_MobilityParametersInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NG_RANnode2ProposedMobilityParameters, create_dissector_handle(dissect_MobilityParametersInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MobilityParametersModificationRange, create_dissector_handle(dissect_MobilityParametersModificationRange_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_RACHReportInformation, create_dissector_handle(dissect_RACHReportInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_IABNodeIndication, create_dissector_handle(dissect_IABNodeIndication_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MDTPLMNList, create_dissector_handle(dissect_MDTPLMNList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UERadioCapabilityID, create_dissector_handle(dissect_UERadioCapabilityID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SNTriggered, create_dissector_handle(dissect_SNTriggered_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_cellAssistanceInfo_EUTRA, create_dissector_handle(dissect_CellAssistanceInfo_EUTRA_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ExtendedUEIdentityIndexValue, create_dissector_handle(dissect_ExtendedUEIdentityIndexValue_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_EUTRAPagingeDRXInformation, create_dissector_handle(dissect_EUTRAPagingeDRXInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CHO_MRDC_EarlyDataForwarding, create_dissector_handle(dissect_CHO_MRDC_EarlyDataForwarding_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SCGIndicator, create_dissector_handle(dissect_SCGIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UESpecificDRX, create_dissector_handle(dissect_UESpecificDRX_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_DirectForwardingPathAvailability, create_dissector_handle(dissect_DirectForwardingPathAvailability_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SourceNG_RAN_node_ID, create_dissector_handle(dissect_GlobalNG_RANNode_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TargetNodeID, create_dissector_handle(dissect_GlobalNG_RANNode_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ManagementBasedMDTPLMNList, create_dissector_handle(dissect_MDTPLMNList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PrivacyIndicator, create_dissector_handle(dissect_PrivacyIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TraceCollectionEntityIPAddress, create_dissector_handle(dissect_TransportLayerAddress_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MBS_Session_ID, create_dissector_handle(dissect_MBS_Session_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UEIdentityIndexList_MBSGroupPaging, create_dissector_handle(dissect_UEIdentityIndexList_MBSGroupPaging_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MulticastRANPagingArea, create_dissector_handle(dissect_RANPagingArea_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_MBS_SessionInformationResponse_List, create_dissector_handle(dissect_MBS_SessionInformationResponse_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SuccessfulHOReportInformation, create_dissector_handle(dissect_SuccessfulHOReportInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SCGUEHistoryInformation, create_dissector_handle(dissect_SCGUEHistoryInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SSBOffsets_List, create_dissector_handle(dissect_SSBOffsets_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_Coverage_Modification_List, create_dissector_handle(dissect_Coverage_Modification_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SourcePSCellCGI, create_dissector_handle(dissect_GlobalNG_RANCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_FailedPSCellCGI, create_dissector_handle(dissect_GlobalNG_RANCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SCGFailureReportContainer, create_dissector_handle(dissect_SCGFailureReportContainer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SNMobilityInformation, create_dissector_handle(dissect_SNMobilityInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SourcePSCellID, create_dissector_handle(dissect_GlobalNG_RANCell_ID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PSCellChangeHistory, create_dissector_handle(dissect_PSCellChangeHistory_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CHOConfiguration, create_dissector_handle(dissect_CHOConfiguration_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PSCellHistoryInformationRetrieve, create_dissector_handle(dissect_PSCellHistoryInformationRetrieve_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NG_RANnode2SSBOffsetsModificationRange, create_dissector_handle(dissect_NG_RANnode2SSBOffsetsModificationRange_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_F1CTrafficContainer, create_dissector_handle(dissect_F1CTrafficContainer_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NoPDUSessionIndication, create_dissector_handle(dissect_NoPDUSessionIndication_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_IAB_TNL_Address_Request, create_dissector_handle(dissect_IAB_TNL_Address_Request_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_IAB_TNL_Address_Response, create_dissector_handle(dissect_IAB_TNL_Address_Response_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficToBeAddedList, create_dissector_handle(dissect_TrafficToBeAddedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficToBeModifiedList, create_dissector_handle(dissect_TrafficToBeModifiedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficToBeReleaseInformation, create_dissector_handle(dissect_TrafficToBeReleaseInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficAddedList, create_dissector_handle(dissect_TrafficAddedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficModifiedList, create_dissector_handle(dissect_TrafficModifiedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficNotAddedList, create_dissector_handle(dissect_TrafficNotAddedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficNotModifiedList, create_dissector_handle(dissect_TrafficNotModifiedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficRequiredToBeModifiedList, create_dissector_handle(dissect_TrafficRequiredToBeModifiedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficRequiredModifiedList, create_dissector_handle(dissect_TrafficRequiredModifiedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TrafficReleasedList, create_dissector_handle(dissect_TrafficReleasedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_IABTNLAddressToBeAdded, create_dissector_handle(dissect_IAB_TNL_Address_Response_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_IABTNLAddressToBeReleasedList, create_dissector_handle(dissect_IABTNLAddressToBeReleasedList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_nonF1_Terminating_IAB_DonorUEXnAPID, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_F1_Terminating_IAB_DonorUEXnAPID, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_BoundaryNodeCellsList, create_dissector_handle(dissect_BoundaryNodeCellsList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ParentNodeCellsList, create_dissector_handle(dissect_ParentNodeCellsList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_IABTNLAddressException, create_dissector_handle(dissect_IABTNLAddressException_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CHOinformation_AddReq, create_dissector_handle(dissect_CHOinformation_AddReq_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CHOinformation_ModReq, create_dissector_handle(dissect_CHOinformation_ModReq_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_TimeSynchronizationAssistanceInformation, create_dissector_handle(dissect_TimeSynchronizationAssistanceInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SCGActivationRequest, create_dissector_handle(dissect_SCGActivationRequest_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SCGActivationStatus, create_dissector_handle(dissect_SCGActivationStatus_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPAInformationRequest, create_dissector_handle(dissect_CPAInformationRequest_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPAInformationAck, create_dissector_handle(dissect_CPAInformationAck_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPCInformationRequired, create_dissector_handle(dissect_CPCInformationRequired_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPCInformationConfirm, create_dissector_handle(dissect_CPCInformationConfirm_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPAInformationModReq, create_dissector_handle(dissect_CPAInformationModReq_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPAInformationModReqAck, create_dissector_handle(dissect_CPAInformationModReqAck_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPC_DataForwarding_Indicator, create_dissector_handle(dissect_CPC_DataForwarding_Indicator_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPCInformationUpdate, create_dissector_handle(dissect_CPCInformationUpdate_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_CPACInformationModRequired, create_dissector_handle(dissect_CPACInformationModRequired_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_QMCConfigInfo, create_dissector_handle(dissect_QMCConfigInfo_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_Local_NG_RAN_Node_Identifier, create_dissector_handle(dissect_Local_NG_RAN_Node_Identifier_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_Neighbour_NG_RAN_Node_List, create_dissector_handle(dissect_Neighbour_NG_RAN_Node_List_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_Local_NG_RAN_Node_Identifier_Removal, create_dissector_handle(dissect_Local_NG_RAN_Node_Identifier_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_FiveGProSeAuthorized, create_dissector_handle(dissect_FiveGProSeAuthorized_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_FiveGProSePC5QoSParameters, create_dissector_handle(dissect_FiveGProSePC5QoSParameters_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ServedCellSpecificInfoReq_NR, create_dissector_handle(dissect_ServedCellSpecificInfoReq_NR_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NRPagingeDRXInformation, create_dissector_handle(dissect_NRPagingeDRXInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_NRPagingeDRXInformationforRRCINACTIVE, create_dissector_handle(dissect_NRPagingeDRXInformationforRRCINACTIVE_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SDTSupportRequest, create_dissector_handle(dissect_SDTSupportRequest_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SDT_SRB_between_NewNode_OldNode, create_dissector_handle(dissect_SDT_SRB_between_NewNode_OldNode_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SDT_Termination_Request, create_dissector_handle(dissect_SDT_Termination_Request_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SDTPartialUEContextInfo, create_dissector_handle(dissect_SDTPartialUEContextInfo_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SDTDataForwardingDRBList, create_dissector_handle(dissect_SDTDataForwardingDRBList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PagingCause, create_dissector_handle(dissect_PagingCause_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_PEIPSassistanceInformation, create_dissector_handle(dissect_PEIPSassistanceInformation_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_S_NG_RANnodeUE_Slice_MBR, create_dissector_handle(dissect_UESliceMaximumBitRateList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_ManagementBasedMDTPLMNModificationList, create_dissector_handle(dissect_MDTPLMNModificationList_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_F1_terminatingIAB_donorIndicator, create_dissector_handle(dissect_F1_terminatingIAB_donorIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_SCGreconfigNotification, create_dissector_handle(dissect_SCGreconfigNotification_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_UERLFReportContainerLTEExtension, create_dissector_handle(dissect_UERLFReportContainerLTEExtension_PDU, proto_xnap)); dissector_add_uint("xnap.ies", id_HashedUEIdentityIndexValue, create_dissector_handle(dissect_HashedUEIdentityIndexValue_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Additional_UL_NG_U_TNLatUPF_List, create_dissector_handle(dissect_Additional_UL_NG_U_TNLatUPF_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SecondarydataForwardingInfoFromTarget_List, create_dissector_handle(dissect_SecondarydataForwardingInfoFromTarget_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_LastE_UTRANPLMNIdentity, create_dissector_handle(dissect_PLMN_Identity_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_MaxIPrate_DL, create_dissector_handle(dissect_MaxIPrate_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SecurityResult, create_dissector_handle(dissect_SecurityResult_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_S_NSSAI, create_dissector_handle(dissect_S_NSSAI_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_OldQoSFlowMap_ULendmarkerexpected, create_dissector_handle(dissect_QoSFlows_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_DRBsNotAdmittedSetupModifyList, create_dissector_handle(dissect_DRB_List_withCause_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Secondary_MN_Xn_U_TNLInfoatM, create_dissector_handle(dissect_UPTransportLayerInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_PDUSessionCommonNetworkInstance, create_dissector_handle(dissect_PDUSessionCommonNetworkInstance_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_BPLMN_ID_Info_EUTRA, create_dissector_handle(dissect_BPLMN_ID_Info_EUTRA_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_BPLMN_ID_Info_NR, create_dissector_handle(dissect_BPLMN_ID_Info_NR_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_DefaultDRB_Allowed, create_dissector_handle(dissect_DefaultDRB_Allowed_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_DRB_IDs_takenintouse, create_dissector_handle(dissect_DRB_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SplitSessionIndicator, create_dissector_handle(dissect_SplitSessionIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CNTypeRestrictionsForEquivalent, create_dissector_handle(dissect_CNTypeRestrictionsForEquivalent_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CNTypeRestrictionsForServing, create_dissector_handle(dissect_CNTypeRestrictionsForServing_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ULForwardingProposal, create_dissector_handle(dissect_ULForwardingProposal_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_FiveGCMobilityRestrictionListContainer, create_dissector_handle(dissect_FiveGCMobilityRestrictionListContainer_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_IntendedTDD_DL_ULConfiguration_NR, create_dissector_handle(dissect_xnap_IntendedTDD_DL_ULConfiguration_NR_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_PartialListIndicator_NR, create_dissector_handle(dissect_PartialListIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CellAndCapacityAssistanceInfo_NR, create_dissector_handle(dissect_CellAndCapacityAssistanceInfo_NR_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NonGBRResources_Offered, create_dissector_handle(dissect_NonGBRResources_Offered_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ExtendedRATRestrictionInformation, create_dissector_handle(dissect_ExtendedRATRestrictionInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_QoSMonitoringRequest, create_dissector_handle(dissect_QosMonitoringRequest_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_DAPSRequestInfo, create_dissector_handle(dissect_DAPSRequestInfo_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_OffsetOfNbiotChannelNumberToDL_EARFCN, create_dissector_handle(dissect_OffsetOfNbiotChannelNumberToEARFCN_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_OffsetOfNbiotChannelNumberToUL_EARFCN, create_dissector_handle(dissect_OffsetOfNbiotChannelNumberToEARFCN_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NBIoT_UL_DL_AlignmentOffset, create_dissector_handle(dissect_NBIoT_UL_DL_AlignmentOffset_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_LTEUESidelinkAggregateMaximumBitRate, create_dissector_handle(dissect_LTEUESidelinkAggregateMaximumBitRate_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NRUESidelinkAggregateMaximumBitRate, create_dissector_handle(dissect_NRUESidelinkAggregateMaximumBitRate_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_AlternativeQoSParaSetList, create_dissector_handle(dissect_AlternativeQoSParaSetList_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CurrentQoSParaSetIndex, create_dissector_handle(dissect_QoSParaSetNotifyIndex_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_TDDULDLConfigurationCommonNR, create_dissector_handle(dissect_TDDULDLConfigurationCommonNR_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CarrierList, create_dissector_handle(dissect_NRCarrierList_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ULCarrierList, create_dissector_handle(dissect_NRCarrierList_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_FrequencyShift7p5khz, create_dissector_handle(dissect_FrequencyShift7p5khz_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SSB_PositionsInBurst, create_dissector_handle(dissect_SSB_PositionsInBurst_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NRCellPRACHConfig, create_dissector_handle(dissect_NRCellPRACHConfig_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Redundant_UL_NG_U_TNLatUPF, create_dissector_handle(dissect_UPTransportLayerInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CNPacketDelayBudgetDownlink, create_dissector_handle(dissect_ExtendedPacketDelayBudget_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CNPacketDelayBudgetUplink, create_dissector_handle(dissect_ExtendedPacketDelayBudget_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Additional_Redundant_UL_NG_U_TNLatUPF_List, create_dissector_handle(dissect_Additional_UL_NG_U_TNLatUPF_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_RedundantCommonNetworkInstance, create_dissector_handle(dissect_PDUSessionCommonNetworkInstance_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_TSCTrafficCharacteristics, create_dissector_handle(dissect_TSCTrafficCharacteristics_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_RedundantQoSFlowIndicator, create_dissector_handle(dissect_RedundantQoSFlowIndicator_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Redundant_DL_NG_U_TNLatNG_RAN, create_dissector_handle(dissect_UPTransportLayerInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ExtendedPacketDelayBudget, create_dissector_handle(dissect_ExtendedPacketDelayBudget_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Additional_PDCP_Duplication_TNL_List, create_dissector_handle(dissect_Additional_PDCP_Duplication_TNL_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_RedundantPDUSessionInformation, create_dissector_handle(dissect_RedundantPDUSessionInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_UsedRSNInformation, create_dissector_handle(dissect_RedundantPDUSessionInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_RLCDuplicationInformation, create_dissector_handle(dissect_RLCDuplicationInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NPN_Broadcast_Information, create_dissector_handle(dissect_NPN_Broadcast_Information_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NPNPagingAssistanceInformation, create_dissector_handle(dissect_NPNPagingAssistanceInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NPNMobilityInformation, create_dissector_handle(dissect_NPNMobilityInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NPN_Support, create_dissector_handle(dissect_NPN_Support_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_MDT_Configuration, create_dissector_handle(dissect_MDT_Configuration_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_MDTPLMNList, create_dissector_handle(dissect_MDTPLMNList_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_TraceCollectionEntityURI, create_dissector_handle(dissect_URIaddress_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_UERadioCapabilityID, create_dissector_handle(dissect_UERadioCapabilityID_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CSI_RSTransmissionIndication, create_dissector_handle(dissect_CSI_RSTransmissionIndication_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ExtendedTAISliceSupportList, create_dissector_handle(dissect_ExtendedSliceSupportList_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ConfiguredTACIndication, create_dissector_handle(dissect_ConfiguredTACIndication_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_secondary_SN_UL_PDCP_UP_TNLInfo, create_dissector_handle(dissect_UPTransportParameters_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_pdcpDuplicationConfiguration, create_dissector_handle(dissect_PDCPDuplicationConfiguration_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_duplicationActivation, create_dissector_handle(dissect_DuplicationActivation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NPRACHConfiguration, create_dissector_handle(dissect_NPRACHConfiguration_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_QosMonitoringReportingFrequency, create_dissector_handle(dissect_QosMonitoringReportingFrequency_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_QoSFlowsMappedtoDRB_SetupResponse_MNterminated, create_dissector_handle(dissect_QoSFlowsMappedtoDRB_SetupResponse_MNterminated_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_DL_scheduling_PDCCH_CCE_usage, create_dissector_handle(dissect_DL_scheduling_PDCCH_CCE_usage_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_UL_scheduling_PDCCH_CCE_usage, create_dissector_handle(dissect_UL_scheduling_PDCCH_CCE_usage_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SFN_Offset, create_dissector_handle(dissect_SFN_Offset_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_QoSMonitoringDisabled, create_dissector_handle(dissect_QoSMonitoringDisabled_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_PDUSessionExpectedUEActivityBehaviour, create_dissector_handle(dissect_ExpectedUEActivityBehaviour_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_QoS_Mapping_Information, create_dissector_handle(dissect_QoS_Mapping_Information_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Cause, create_dissector_handle(dissect_Cause_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_AdditionLocationInformation, create_dissector_handle(dissect_AdditionLocationInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_dataForwardingInfoFromTargetE_UTRANnode, create_dissector_handle(dissect_DataForwardingInfoFromTargetE_UTRANnode_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SourceDLForwardingIPAddress, create_dissector_handle(dissect_TransportLayerAddress_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SourceNodeDLForwardingIPAddress, create_dissector_handle(dissect_TransportLayerAddress_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ExtendedReportIntervalMDT, create_dissector_handle(dissect_ExtendedReportIntervalMDT_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SecurityIndication, create_dissector_handle(dissect_SecurityIndication_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_RRCConnReestab_Indicator, create_dissector_handle(dissect_RRCConnReestab_Indicator_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_M4ReportAmount, create_dissector_handle(dissect_M4ReportAmountMDT_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_M5ReportAmount, create_dissector_handle(dissect_M5ReportAmountMDT_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_M6ReportAmount, create_dissector_handle(dissect_M6ReportAmountMDT_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_M7ReportAmount, create_dissector_handle(dissect_M7ReportAmountMDT_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_BeamMeasurementIndicationM1, create_dissector_handle(dissect_BeamMeasurementIndicationM1_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Supported_MBS_FSA_ID_List, create_dissector_handle(dissect_Supported_MBS_FSA_ID_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_MBS_SessionInformation_List, create_dissector_handle(dissect_MBS_SessionInformation_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_MBS_SessionAssociatedInformation, create_dissector_handle(dissect_MBS_SessionAssociatedInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SliceRadioResourceStatus_List, create_dissector_handle(dissect_SliceRadioResourceStatus_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CompositeAvailableCapacitySupplementaryUplink, create_dissector_handle(dissect_CompositeAvailableCapacity_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NR_U_Channel_List, create_dissector_handle(dissect_NR_U_Channel_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NR_U_ChannelInfo_List, create_dissector_handle(dissect_NR_U_ChannelInfo_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_MIMOPRBusageInformation, create_dissector_handle(dissect_MIMOPRBusageInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_NoPDUSessionIndication, create_dissector_handle(dissect_NoPDUSessionIndication_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_tdd_GNB_DU_Cell_Resource_Configuration, create_dissector_handle(dissect_GNB_DU_Cell_Resource_Configuration_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_UL_GNB_DU_Cell_Resource_Configuration, create_dissector_handle(dissect_GNB_DU_Cell_Resource_Configuration_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_DL_GNB_DU_Cell_Resource_Configuration, create_dissector_handle(dissect_GNB_DU_Cell_Resource_Configuration_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_permutation, create_dissector_handle(dissect_Permutation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_SurvivalTime, create_dissector_handle(dissect_SurvivalTime_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Additional_Measurement_Timing_Configuration_List, create_dissector_handle(dissect_Additional_Measurement_Timing_Configuration_List_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_PDUSession_PairID, create_dissector_handle(dissect_PDUSession_PairID_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_FiveGProSeUEPC5AggregateMaximumBitRate, create_dissector_handle(dissect_NRUESidelinkAggregateMaximumBitRate_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ServedCellSpecificInfoReq_NR, create_dissector_handle(dissect_ServedCellSpecificInfoReq_NR_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_Redcap_Bcast_Information, create_dissector_handle(dissect_Redcap_Bcast_Information_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_UESliceMaximumBitRateList, create_dissector_handle(dissect_UESliceMaximumBitRateList_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_PositioningInformation, create_dissector_handle(dissect_PositioningInformation_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_UEAssistantIdentifier, create_dissector_handle(dissect_NG_RANnodeUEXnAPID_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_TAINSAGSupportList, create_dissector_handle(dissect_TAINSAGSupportList_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_earlyMeasurement, create_dissector_handle(dissect_EarlyMeasurement_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_BeamMeasurementsReportConfiguration, create_dissector_handle(dissect_BeamMeasurementsReportConfiguration_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_CoverageModificationCause, create_dissector_handle(dissect_CoverageModificationCause_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated, create_dissector_handle(dissect_AdditionalListofPDUSessionResourceChangeConfirmInfo_SNterminated_PDU, proto_xnap)); dissector_add_uint("xnap.extension", id_ExcessPacketDelayThresholdConfiguration, create_dissector_handle(dissect_ExcessPacketDelayThresholdConfiguration_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_handoverPreparation, create_dissector_handle(dissect_HandoverRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_handoverPreparation, create_dissector_handle(dissect_HandoverRequestAcknowledge_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_handoverPreparation, create_dissector_handle(dissect_HandoverPreparationFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_sNStatusTransfer, create_dissector_handle(dissect_SNStatusTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_handoverCancel, create_dissector_handle(dissect_HandoverCancel_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_retrieveUEContext, create_dissector_handle(dissect_RetrieveUEContextRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_retrieveUEContext, create_dissector_handle(dissect_RetrieveUEContextResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_retrieveUEContext, create_dissector_handle(dissect_RetrieveUEContextFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_rANPaging, create_dissector_handle(dissect_RANPaging_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_xnUAddressIndication, create_dissector_handle(dissect_XnUAddressIndication_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_uEContextRelease, create_dissector_handle(dissect_UEContextRelease_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_sNGRANnodeAdditionPreparation, create_dissector_handle(dissect_SNodeAdditionRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_sNGRANnodeAdditionPreparation, create_dissector_handle(dissect_SNodeAdditionRequestAcknowledge_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_sNGRANnodeAdditionPreparation, create_dissector_handle(dissect_SNodeAdditionRequestReject_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_sNGRANnodeReconfigurationCompletion, create_dissector_handle(dissect_SNodeReconfigurationComplete_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_mNGRANnodeinitiatedSNGRANnodeModificationPreparation, create_dissector_handle(dissect_SNodeModificationRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_mNGRANnodeinitiatedSNGRANnodeModificationPreparation, create_dissector_handle(dissect_SNodeModificationRequestAcknowledge_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_mNGRANnodeinitiatedSNGRANnodeModificationPreparation, create_dissector_handle(dissect_SNodeModificationRequestReject_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_sNGRANnodeinitiatedSNGRANnodeModificationPreparation, create_dissector_handle(dissect_SNodeModificationRequired_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_sNGRANnodeinitiatedSNGRANnodeModificationPreparation, create_dissector_handle(dissect_SNodeModificationConfirm_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_sNGRANnodeinitiatedSNGRANnodeModificationPreparation, create_dissector_handle(dissect_SNodeModificationRefuse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_mNGRANnodeinitiatedSNGRANnodeRelease, create_dissector_handle(dissect_SNodeReleaseRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_mNGRANnodeinitiatedSNGRANnodeRelease, create_dissector_handle(dissect_SNodeReleaseRequestAcknowledge_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_mNGRANnodeinitiatedSNGRANnodeRelease, create_dissector_handle(dissect_SNodeReleaseReject_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_sNGRANnodeinitiatedSNGRANnodeRelease, create_dissector_handle(dissect_SNodeReleaseRequired_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_sNGRANnodeinitiatedSNGRANnodeRelease, create_dissector_handle(dissect_SNodeReleaseConfirm_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_sNGRANnodeCounterCheck, create_dissector_handle(dissect_SNodeCounterCheckRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_sNGRANnodeChange, create_dissector_handle(dissect_SNodeChangeRequired_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_sNGRANnodeChange, create_dissector_handle(dissect_SNodeChangeConfirm_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_sNGRANnodeChange, create_dissector_handle(dissect_SNodeChangeRefuse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_rRCTransfer, create_dissector_handle(dissect_RRCTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_xnRemoval, create_dissector_handle(dissect_XnRemovalRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_xnRemoval, create_dissector_handle(dissect_XnRemovalResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_xnRemoval, create_dissector_handle(dissect_XnRemovalFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_xnSetup, create_dissector_handle(dissect_XnSetupRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_xnSetup, create_dissector_handle(dissect_XnSetupResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_xnSetup, create_dissector_handle(dissect_XnSetupFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_nGRANnodeConfigurationUpdate, create_dissector_handle(dissect_NGRANNodeConfigurationUpdate_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_nGRANnodeConfigurationUpdate, create_dissector_handle(dissect_NGRANNodeConfigurationUpdateAcknowledge_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_nGRANnodeConfigurationUpdate, create_dissector_handle(dissect_NGRANNodeConfigurationUpdateFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_partialUEContextTransfer, create_dissector_handle(dissect_PartialUEContextTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_partialUEContextTransfer, create_dissector_handle(dissect_PartialUEContextTransferAcknowledge_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_partialUEContextTransfer, create_dissector_handle(dissect_PartialUEContextTransferFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_e_UTRA_NR_CellResourceCoordination, create_dissector_handle(dissect_E_UTRA_NR_CellResourceCoordinationRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_e_UTRA_NR_CellResourceCoordination, create_dissector_handle(dissect_E_UTRA_NR_CellResourceCoordinationResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_cellActivation, create_dissector_handle(dissect_CellActivationRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_cellActivation, create_dissector_handle(dissect_CellActivationResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_cellActivation, create_dissector_handle(dissect_CellActivationFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_reset, create_dissector_handle(dissect_ResetRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_reset, create_dissector_handle(dissect_ResetResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_errorIndication, create_dissector_handle(dissect_ErrorIndication_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_notificationControl, create_dissector_handle(dissect_NotificationControlIndication_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_activityNotification, create_dissector_handle(dissect_ActivityNotification_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_privateMessage, create_dissector_handle(dissect_PrivateMessage_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_secondaryRATDataUsageReport, create_dissector_handle(dissect_SecondaryRATDataUsageReport_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_deactivateTrace, create_dissector_handle(dissect_DeactivateTrace_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_traceStart, create_dissector_handle(dissect_TraceStart_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_handoverSuccess, create_dissector_handle(dissect_HandoverSuccess_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_conditionalHandoverCancel, create_dissector_handle(dissect_ConditionalHandoverCancel_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_earlyStatusTransfer, create_dissector_handle(dissect_EarlyStatusTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_failureIndication, create_dissector_handle(dissect_FailureIndication_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_handoverReport, create_dissector_handle(dissect_HandoverReport_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_resourceStatusReportingInitiation, create_dissector_handle(dissect_ResourceStatusRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_resourceStatusReportingInitiation, create_dissector_handle(dissect_ResourceStatusResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_resourceStatusReportingInitiation, create_dissector_handle(dissect_ResourceStatusFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_resourceStatusReporting, create_dissector_handle(dissect_ResourceStatusUpdate_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_mobilitySettingsChange, create_dissector_handle(dissect_MobilityChangeRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_mobilitySettingsChange, create_dissector_handle(dissect_MobilityChangeAcknowledge_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_mobilitySettingsChange, create_dissector_handle(dissect_MobilityChangeFailure_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_accessAndMobilityIndication, create_dissector_handle(dissect_AccessAndMobilityIndication_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_cellTrafficTrace, create_dissector_handle(dissect_CellTrafficTrace_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_RANMulticastGroupPaging, create_dissector_handle(dissect_RANMulticastGroupPaging_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_scgFailureInformationReport, create_dissector_handle(dissect_ScgFailureInformationReport_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_scgFailureTransfer, create_dissector_handle(dissect_ScgFailureTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_f1CTrafficTransfer, create_dissector_handle(dissect_F1CTrafficTransfer_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_iABTransportMigrationManagement, create_dissector_handle(dissect_IABTransportMigrationManagementRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_iABTransportMigrationManagement, create_dissector_handle(dissect_IABTransportMigrationManagementResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.uout", id_iABTransportMigrationManagement, create_dissector_handle(dissect_IABTransportMigrationManagementReject_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_iABTransportMigrationModification, create_dissector_handle(dissect_IABTransportMigrationModificationRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_iABTransportMigrationModification, create_dissector_handle(dissect_IABTransportMigrationModificationResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_iABResourceCoordination, create_dissector_handle(dissect_IABResourceCoordinationRequest_PDU, proto_xnap)); dissector_add_uint("xnap.proc.sout", id_iABResourceCoordination, create_dissector_handle(dissect_IABResourceCoordinationResponse_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_retrieveUEContextConfirm, create_dissector_handle(dissect_RetrieveUEContextConfirm_PDU, proto_xnap)); dissector_add_uint("xnap.proc.imsg", id_cPCCancel, create_dissector_handle(dissect_CPCCancel_PDU, proto_xnap)); }
C/C++
wireshark/epan/dissectors/packet-xnap.h
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-xnap.h */ /* asn2wrs.py -L -p xnap -c ./xnap.cnf -s ./packet-xnap-template -D . -O ../.. XnAP-CommonDataTypes.asn XnAP-Constants.asn XnAP-Containers.asn XnAP-IEs.asn XnAP-PDU-Contents.asn XnAP-PDU-Descriptions.asn */ /* packet-xnap.h * Routines for dissecting NG-RAN Xn application protocol (XnAP) * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_XnAP_H #define PACKET_XnAP_H int dissect_xnap_IntendedTDD_DL_ULConfiguration_NR_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_); #endif /* PACKET_XnAP_H */ /* * Editor modelines * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-xot.c
/* packet-xot.c * Routines for X.25 over TCP dissection (RFC 1613) * * Copyright 2000, Paul Ionescu <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/prefs.h> #include <epan/conversation.h> #include "packet-tcp.h" #define TCP_PORT_XOT 1998 #define XOT_HEADER_LENGTH 4 #define XOT_VERSION 0 #define XOT_PVC_SETUP 0xF5 /* Some X25 macros from packet-x25.c - some adapted code as well below */ #define X25_MIN_HEADER_LENGTH 3 #define X25_MIN_M128_HEADER_LENGTH 4 #define X25_NONDATA_BIT 0x01 #define PACKET_IS_DATA(type) (!(type & X25_NONDATA_BIT)) #define X25_MBIT_MOD8 0x10 #define X25_MBIT_MOD128 0x01 void proto_register_xot(void); void proto_reg_handoff_xot(void); static const value_string vals_x25_type[] = { { XOT_PVC_SETUP, "PVC Setup" }, { 0, NULL} }; static const value_string xot_pvc_status_vals[] = { { 0x00, "Waiting to connect" }, { 0x08, "Destination disconnected" }, { 0x09, "PVC/TCP connection refused" }, { 0x0A, "PVC/TCP routing error" }, { 0x0B, "PVC/TCP connect timed out" }, { 0x10, "Trying to connect via TCP" }, { 0x11, "Awaiting PVC-SETUP reply" }, { 0x12, "Connected" }, { 0x13, "No such destination interface" }, { 0x14, "Destination interface is not up" }, { 0x15, "Non-X.25 destination interface" }, { 0x16, "No such destination PVC" }, { 0x17, "Destination PVC configuration mismatch" }, { 0x18, "Mismatched flow control values" }, { 0x19, "Can't support flow control values" }, { 0x1A, "PVC setup protocol error" }, { 0, NULL} }; static gint proto_xot = -1; static gint ett_xot = -1; static gint hf_xot_version = -1; static gint hf_xot_length = -1; static gint hf_x25_gfi = -1; static gint hf_x25_lcn = -1; static gint hf_x25_type = -1; static gint hf_xot_pvc_version = -1; static gint hf_xot_pvc_status = -1; static gint hf_xot_pvc_init_itf_name_len = -1; static gint hf_xot_pvc_init_lcn = -1; static gint hf_xot_pvc_resp_itf_name_len = -1; static gint hf_xot_pvc_resp_lcn = -1; static gint hf_xot_pvc_send_inc_window = -1; static gint hf_xot_pvc_send_out_window = -1; static gint hf_xot_pvc_send_inc_pkt_size = -1; static gint hf_xot_pvc_send_out_pkt_size = -1; static gint hf_xot_pvc_init_itf_name = -1; static gint hf_xot_pvc_resp_itf_name = -1; static dissector_handle_t xot_handle; static dissector_handle_t xot_tcp_handle; static dissector_handle_t x25_handle; /* desegmentation of X.25 over multiple TCP */ static gboolean xot_desegment = TRUE; /* desegmentation of X.25 packet sequences */ static gboolean x25_desegment = FALSE; static guint get_xot_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { guint16 plen; int remain = tvb_captured_length_remaining(tvb, offset); if ( remain < XOT_HEADER_LENGTH){ /* We did not get the data we asked for, use up what we can */ return remain; } /* * Get the length of the X.25-over-TCP packet. */ plen = tvb_get_ntohs(tvb, offset + 2); return XOT_HEADER_LENGTH + plen; } static guint get_xot_pdu_len_mult(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { int offset_before = offset; /* offset where we start this test */ int offset_next = offset + XOT_HEADER_LENGTH + X25_MIN_HEADER_LENGTH; int tvb_len; while ((tvb_len = tvb_captured_length_remaining(tvb, offset)) > 0){ guint16 plen = 0; int modulo; guint16 bytes0_1; guint8 pkt_type; gboolean m_bit_set; int offset_x25 = offset + XOT_HEADER_LENGTH; /* Minimum where next starts */ offset_next = offset_x25 + X25_MIN_HEADER_LENGTH; if (tvb_len < XOT_HEADER_LENGTH) { return offset_next-offset_before; } /* * Get the length of the current X.25-over-TCP packet. */ plen = get_xot_pdu_len(pinfo, tvb, offset, NULL); offset_next = offset + plen; /* Make sure we have enough data */ if (tvb_len < plen){ return offset_next-offset_before; } /*Some minor code copied from packet-x25.c */ bytes0_1 = tvb_get_ntohs(tvb, offset_x25+0); pkt_type = tvb_get_guint8(tvb, offset_x25+2); /* If this is the first packet and it is not data, no sequence needed */ if (offset == offset_before && !PACKET_IS_DATA(pkt_type)) { return offset_next-offset_before; } /* Check for data, there can be X25 control packets in the X25 data */ if (PACKET_IS_DATA(pkt_type)){ modulo = ((bytes0_1 & 0x2000) ? 128 : 8); if (modulo == 8) { m_bit_set = pkt_type & X25_MBIT_MOD8; } else { m_bit_set = tvb_get_guint8(tvb, offset_x25+3) & X25_MBIT_MOD128; } if (!m_bit_set){ /* We are done with this sequence when the mbit is no longer set */ return offset_next-offset_before; } } offset = offset_next; offset_next += XOT_HEADER_LENGTH + X25_MIN_HEADER_LENGTH; } /* not enough data */ pinfo->desegment_len = DESEGMENT_ONE_MORE_SEGMENT; return offset_next - offset_before; } static int dissect_xot_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int offset = 0; guint16 version; guint16 plen; guint8 pkt_type; proto_item *ti = NULL; proto_tree *xot_tree = NULL; tvbuff_t *next_tvb; /* * Dissect the X.25-over-TCP packet. */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "XOT"); version = tvb_get_ntohs(tvb, offset + 0); plen = tvb_get_ntohs(tvb, offset + 2); col_add_fstr(pinfo->cinfo, COL_INFO, "XOT Version = %u, size = %u", version, plen); if (offset == 0 && tvb_reported_length_remaining(tvb, offset) > XOT_HEADER_LENGTH + plen ) col_append_fstr(pinfo->cinfo, COL_INFO, " TotX25: %d", tvb_reported_length_remaining(tvb, offset)); if (tree) { ti = proto_tree_add_protocol_format(tree, proto_xot, tvb, offset, XOT_HEADER_LENGTH, "X.25 over TCP"); xot_tree = proto_item_add_subtree(ti, ett_xot); proto_tree_add_uint(xot_tree, hf_xot_version, tvb, offset, 2, version); proto_tree_add_uint(xot_tree, hf_xot_length, tvb, offset + 2, 2, plen); } offset += XOT_HEADER_LENGTH; /* * Construct a tvbuff containing the amount of the payload we have * available. Make its reported length the amount of data in the * X.25-over-TCP packet. */ if (plen >= X25_MIN_HEADER_LENGTH) { pkt_type = tvb_get_guint8(tvb, offset + 2); if (pkt_type == XOT_PVC_SETUP) { guint init_itf_name_len, resp_itf_name_len, pkt_size; gint hdr_offset = offset; col_set_str(pinfo->cinfo, COL_INFO, "XOT PVC Setup"); proto_item_set_len(ti, XOT_HEADER_LENGTH + plen); /* These fields are in overlay with packet-x25.c */ proto_tree_add_item(xot_tree, hf_x25_gfi, tvb, hdr_offset, 2, ENC_BIG_ENDIAN); proto_tree_add_item(xot_tree, hf_x25_lcn, tvb, hdr_offset, 2, ENC_BIG_ENDIAN); hdr_offset += 2; proto_tree_add_item(xot_tree, hf_x25_type, tvb, hdr_offset, 1, ENC_BIG_ENDIAN); hdr_offset += 1; proto_tree_add_item(xot_tree, hf_xot_pvc_version, tvb, hdr_offset, 1, ENC_BIG_ENDIAN); hdr_offset += 1; proto_tree_add_item(xot_tree, hf_xot_pvc_status, tvb, hdr_offset, 1, ENC_BIG_ENDIAN); hdr_offset += 1; proto_tree_add_item(xot_tree, hf_xot_pvc_init_itf_name_len, tvb, hdr_offset, 1, ENC_BIG_ENDIAN); init_itf_name_len = tvb_get_guint8(tvb, hdr_offset); hdr_offset += 1; proto_tree_add_item(xot_tree, hf_xot_pvc_init_lcn, tvb, hdr_offset, 2, ENC_BIG_ENDIAN); hdr_offset += 2; proto_tree_add_item(xot_tree, hf_xot_pvc_resp_itf_name_len, tvb, hdr_offset, 1, ENC_BIG_ENDIAN); resp_itf_name_len = tvb_get_guint8(tvb, hdr_offset); hdr_offset += 1; proto_tree_add_item(xot_tree, hf_xot_pvc_resp_lcn, tvb, hdr_offset, 2, ENC_BIG_ENDIAN); hdr_offset += 2; proto_tree_add_item(xot_tree, hf_xot_pvc_send_inc_window, tvb, hdr_offset, 1, ENC_BIG_ENDIAN); hdr_offset += 1; proto_tree_add_item(xot_tree, hf_xot_pvc_send_out_window, tvb, hdr_offset, 1, ENC_BIG_ENDIAN); hdr_offset += 1; pkt_size = tvb_get_guint8(tvb, hdr_offset); proto_tree_add_uint_format_value(xot_tree, hf_xot_pvc_send_inc_pkt_size, tvb, hdr_offset, 1, pkt_size, "2^%u", pkt_size); hdr_offset += 1; pkt_size = tvb_get_guint8(tvb, hdr_offset); proto_tree_add_uint_format_value(xot_tree, hf_xot_pvc_send_out_pkt_size, tvb, hdr_offset, 1, pkt_size, "2^%u", pkt_size); hdr_offset += 1; proto_tree_add_item(xot_tree, hf_xot_pvc_init_itf_name, tvb, hdr_offset, init_itf_name_len, ENC_ASCII); hdr_offset += init_itf_name_len; proto_tree_add_item(xot_tree, hf_xot_pvc_resp_itf_name, tvb, hdr_offset, resp_itf_name_len, ENC_ASCII); } else { next_tvb = tvb_new_subset_length_caplen(tvb, offset, MIN(plen, tvb_captured_length_remaining(tvb, offset)), plen); call_dissector(x25_handle, next_tvb, pinfo, tree); } } return tvb_captured_length(tvb); } static int dissect_xot_mult(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { int offset = 0; int len = get_xot_pdu_len_mult(pinfo, tvb, offset, NULL); tvbuff_t *next_tvb; int offset_max = offset+MIN(len,tvb_captured_length_remaining(tvb, offset)); proto_item *ti; proto_tree *xot_tree; if (tree) { /* Special header to show segments */ ti = proto_tree_add_protocol_format(tree, proto_xot, tvb, offset, offset_max-offset, "X.25 over TCP - X.25 Sequence"); xot_tree = proto_item_add_subtree(ti, ett_xot); proto_tree_add_uint(xot_tree, hf_xot_length, tvb, offset, offset_max, len); } while (offset <= offset_max - XOT_HEADER_LENGTH){ int plen = get_xot_pdu_len(pinfo, tvb, offset, NULL); next_tvb = tvb_new_subset_length_caplen(tvb, offset,plen, plen); /*MIN(plen,tvb_captured_length_remaining(tvb, offset)),plen*/ dissect_xot_pdu(next_tvb, pinfo, tree, data); offset += plen; } return tvb_captured_length(tvb); } static int dissect_xot_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { if (!x25_desegment || !xot_desegment){ tcp_dissect_pdus(tvb, pinfo, tree, xot_desegment, XOT_HEADER_LENGTH, get_xot_pdu_len, dissect_xot_pdu, data); } else { /* Use length version that "peeks" into X25, possibly several XOT packets */ tcp_dissect_pdus(tvb, pinfo, tree, xot_desegment, XOT_HEADER_LENGTH, get_xot_pdu_len_mult, dissect_xot_mult, data); } return tvb_reported_length(tvb); } static int dissect_xot_tcp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { int tvb_len = tvb_captured_length(tvb); conversation_t *conversation; if (tvb_len < 2 || tvb_get_ntohs(tvb, 0) != XOT_VERSION) { return 0; } conversation = find_or_create_conversation(pinfo); conversation_set_dissector(conversation, xot_tcp_handle); return dissect_xot_tcp(tvb, pinfo, tree, data); } /* Register the protocol with Wireshark */ void proto_register_xot(void) { static hf_register_info hf[] = { { &hf_xot_version, { "Version", "xot.version", FT_UINT16, BASE_DEC, NULL, 0, "Version of X.25 over TCP protocol", HFILL }}, { &hf_xot_length, { "Length", "xot.length", FT_UINT16, BASE_DEC, NULL, 0, "Length of X.25 over TCP packet", HFILL }}, /* These fields are in overlay with packet-x25.c */ { &hf_x25_gfi, { "GFI", "x25.gfi", FT_UINT16, BASE_DEC, NULL, 0xF000, "General Format Identifier", HFILL }}, { &hf_x25_lcn, { "Logical Channel", "x25.lcn", FT_UINT16, BASE_DEC, NULL, 0x0FFF, "Logical Channel Number", HFILL }}, { &hf_x25_type, { "Packet Type", "x25.type", FT_UINT8, BASE_HEX, VALS(vals_x25_type), 0x0, NULL, HFILL }}, { &hf_xot_pvc_version, { "Version", "xot.pvc.version", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_xot_pvc_status, { "Status", "xot.pvc.status", FT_UINT8, BASE_HEX, VALS(xot_pvc_status_vals), 0, NULL, HFILL }}, { &hf_xot_pvc_init_itf_name_len, { "Initiator interface name length", "xot.pvc.init_itf_name_len", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xot_pvc_init_lcn, { "Initiator LCN", "xot.pvc.init_lcn", FT_UINT16, BASE_DEC, NULL, 0, "Initiator Logical Channel Number", HFILL }}, { &hf_xot_pvc_resp_itf_name_len, { "Responder interface name length", "xot.pvc.resp_itf_name_len", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xot_pvc_resp_lcn, { "Responder LCN", "xot.pvc.resp_lcn", FT_UINT16, BASE_DEC, NULL, 0, "Responder Logical Channel Number", HFILL }}, { &hf_xot_pvc_send_inc_window, { "Sender incoming window", "xot.pvc.send_inc_window", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xot_pvc_send_out_window, { "Sender outgoing window", "xot.pvc.send_out_window", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xot_pvc_send_inc_pkt_size, { "Sender incoming packet size", "xot.pvc.send_inc_pkt_size", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xot_pvc_send_out_pkt_size, { "Sender outgoing packet size", "xot.pvc.send_out_pkt_size", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_xot_pvc_init_itf_name, { "Initiator interface name", "xot.pvc.init_itf_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_xot_pvc_resp_itf_name, { "Responder interface name", "xot.pvc.resp_itf_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }} }; static gint *ett[] = { &ett_xot }; module_t *xot_module; proto_xot = proto_register_protocol("X.25 over TCP", "XOT", "xot"); proto_register_field_array(proto_xot, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); xot_handle = register_dissector("xot", dissect_xot_tcp_heur, proto_xot); xot_tcp_handle = create_dissector_handle(dissect_xot_tcp, proto_xot); xot_module = prefs_register_protocol(proto_xot, NULL); prefs_register_bool_preference(xot_module, "desegment", "Reassemble X.25-over-TCP messages spanning multiple TCP segments", "Whether the X.25-over-TCP dissector should reassemble messages spanning multiple TCP segments. " "To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings", &xot_desegment); prefs_register_bool_preference(xot_module, "x25_desegment", "Reassemble X.25 packets with More flag to enable safe X.25 reassembly", "Whether the X.25-over-TCP dissector should reassemble all X.25 packets before calling the X25 dissector. " "If the TCP packets arrive out-of-order, the X.25 reassembly can otherwise fail. " "To use this option, you should also enable \"Reassemble X.25-over-TCP messages spanning multiple TCP segments\", \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings and \"Reassemble fragmented X.25 packets\" in the X.25 protocol settings.", &x25_desegment); } void proto_reg_handoff_xot(void) { dissector_add_uint_with_preference("tcp.port", TCP_PORT_XOT, xot_handle); x25_handle = find_dissector_add_dependency("x.25", proto_xot); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local Variables: * c-basic-offset: 3 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=3 tabstop=8 expandtab: * :indentSize=3:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-xra.c
/* packet-xra.c * Routines for Excentis DOCSIS31 XRA31 sniffer dissection * Copyright 2017, Bruno Verstuyft <bruno.verstuyft[AT]excentis.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <wiretap/wtap.h> #include <wsutil/utf8_entities.h> #include <epan/expert.h> #include <epan/crc16-tvb.h> void proto_register_xra(void); void proto_reg_handoff_xra(void); /* Initialize the protocol and registered fields */ static dissector_handle_t docsis_handle; static dissector_handle_t xra_handle; static int proto_xra = -1; static int proto_plc = -1; static int proto_ncp = -1; static int proto_segment = -1; static int proto_init_ranging = -1; static gint ett_xra = -1; static gint ett_xra_tlv = -1; static gint ett_xra_tlv_cw_info = -1; static gint ett_xra_tlv_ms_info = -1; static gint ett_xra_tlv_burst_info = -1; static gint ett_plc = -1; static gint ett_plc_mb = -1; static gint ett_plc_timestamp = -1; static gint ett_ncp = -1; static gint ett_ncp_mb = -1; static gint ett_init_ranging = -1; static gint hf_xra_version = -1; static gint hf_xra_direction = -1; static gint hf_xra_packettype = -1; static gint hf_xra_tlvlength = -1; static gint hf_xra_tlv = -1; /* XRA TLV */ static gint hf_xra_tlv_ds_channel_id = -1; static gint hf_xra_tlv_ds_channel_frequency = -1; static gint hf_xra_tlv_modulation = -1; static gint hf_xra_tlv_annex = -1; static gint hf_xra_tlv_us_channel_id = -1; static gint hf_xra_tlv_profile_id = -1; static gint hf_xra_tlv_sid = -1; static gint hf_xra_tlv_iuc = -1; static gint hf_xra_tlv_burstid = -1; static gint hf_xra_tlv_ms_info = -1; static gint hf_xra_tlv_burst_info = -1; static gint hf_xra_tlv_ucd_ccc_parity = -1; static gint hf_xra_tlv_grant_size = -1; static gint hf_xra_tlv_segment_header_present = -1; static gint hf_xra_tlv_ncp_trunc = -1; static gint hf_xra_tlv_ncp_symbolid = -1; /* Minislot Info */ static gint hf_xra_tlv_start_minislot_id_abs = -1; static gint hf_xra_tlv_start_minislot_id_rel = -1; static gint hf_xra_tlv_stop_minislot_id_rel = -1; /* Ranging TLV */ static gint hf_xra_tlv_ranging_number_ofdma_frames = -1; static gint hf_xra_tlv_ranging_timing_adjust = -1; static gint hf_xra_tlv_power_level = -1; static gint hf_xra_tlv_mer = -1; static gint hf_xra_tlv_subslot_id =-1; static gint hf_xra_tlv_control_word = -1; static gint hf_xra_unknown = -1; /* Codeword Info TLV */ static gint hf_xra_tlv_cw_info = -1; static gint hf_xra_tlv_cw_info_nr_of_info_bytes = -1; static gint hf_xra_tlv_cw_info_bch_decoding_successful = -1; static gint hf_xra_tlv_cw_info_profile_parity = -1; static gint hf_xra_tlv_cw_info_bch_number_of_corrected_bits = -1; static gint hf_xra_tlv_cw_info_ldpc_nr_of_code_bits = -1; static gint hf_xra_tlv_cw_info_ldpc_decoding_successful = -1; static gint hf_xra_tlv_cw_info_ldpc_number_of_corrected_bits = -1; static gint hf_xra_tlv_cw_info_ldpc_number_of_iterations = -1; static gint hf_xra_tlv_cw_info_rs_decoding_successful = -1; static gint hf_xra_tlv_cw_info_rs_number_of_corrected_symbols = -1; /* Burst Info TLV */ static gint hf_xra_tlv_burst_info_burst_id_reference = -1; /* PLC Specific */ static gint hf_plc_mb = -1; /* NCP Specific */ static gint hf_ncp_mb = -1; static gint hf_ncp_mb_profileid = -1; static gint hf_ncp_mb_z = -1; static gint hf_ncp_mb_c = -1; static gint hf_ncp_mb_n = -1; static gint hf_ncp_mb_l = -1; static gint hf_ncp_mb_t = -1; static gint hf_ncp_mb_u = -1; static gint hf_ncp_mb_r = -1; static gint hf_ncp_mb_subcarrier_start_pointer = -1; static gint hf_ncp_crc = -1; /* Init Ranging Specific */ static gint hf_xra_init_ranging_mac = -1; static gint hf_xra_init_ranging_ds_channel_id = -1; static gint hf_xra_init_ranging_crc = -1; /* PLC MB */ static gint hf_plc_em_mb = -1; static gint hf_plc_trigger_mb = -1; /* PLC Timestamp MB Specific */ static gint hf_plc_mb_ts_reserved = -1; static gint hf_plc_mb_ts_timestamp = -1; static gint hf_plc_mb_ts_timestamp_epoch = -1; static gint hf_plc_mb_ts_timestamp_d30timestamp = -1; static gint hf_plc_mb_ts_timestamp_extra_204_8 = -1; static gint hf_plc_mb_ts_timestamp_extra_204_8_X_16 = -1; static gint hf_plc_mb_ts_timestamp_formatted = -1; static gint hf_plc_mb_ts_crc24d = -1; /* PLC Message Channel MB Specific */ static gint hf_plc_mb_mc_reserved = -1; static gint hf_plc_mb_mc_pspf_present = -1; static gint hf_plc_mb_mc_psp = -1; /* OFDMA Segment */ static gint hf_docsis_segment_pfi = -1; static gint hf_docsis_segment_reserved = -1; static gint hf_docsis_segment_pointerfield = -1; static gint hf_docsis_segment_sequencenumber = -1; static gint hf_docsis_segment_sidclusterid = -1; static gint hf_docsis_segment_request = -1; static gint hf_docsis_segment_hcs = -1; static gint hf_docsis_segment_hcs_status = -1; static gint hf_docsis_segment_data = -1; static expert_field ei_docsis_segment_hcs_bad = EI_INIT; static int dissect_xra(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_); static int dissect_xra_tlv(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_, guint16 tlvLength, guint* segmentHeaderPresent); static int dissect_plc(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_); static int dissect_ncp(tvbuff_t * tvb, proto_tree * tree, void* data _U_); static int dissect_init_ranging(tvbuff_t * tvb, proto_tree * tree, void* data _U_); static int dissect_ofdma_segment(tvbuff_t * tvb, packet_info* pinfo, proto_tree * tree, void* data _U_); #define XRA_DIRECTION_DOWNSTREAM 0 #define XRA_DIRECTION_UPSTREAM 1 #define XRA_PACKETTYPE_DS_SCQAM_DOCSIS_MACFRAME 1 #define XRA_PACKETTYPE_OFDM_DOCSIS 8 #define XRA_PACKETTYPE_OFDM_NCP 9 #define XRA_PACKETTYPE_OFDM_PLC 10 #define XRA_PACKETTYPE_OFDM_PLC_MMM 11 #define XRA_PACKETTYPE_TDMA_BURST 65 #define XRA_PACKETTYPE_OFDMA_DATA_BURST 72 #define XRA_PACKETTTYPE_OFDMA_INITIAL_RANGING 73 #define XRA_PACKETTTYPE_OFDMA_FINE_RANGING 74 #define XRA_PACKETTYPE_OFDMA_REQ 75 #define XRA_PACKETTYPE_OFDMA_PROBING_SEQUENCE 76 #define XRA_PACKETTYPE_US_DOCSIS_MACFRAME 80 /* TLVs */ #define XRA_DS_CHANNEL_ID 1 #define XRA_DS_FREQUENCY 2 #define XRA_MODULATION 3 #define XRA_ANNEX 4 #define XRA_PROFILE_ID 5 #define XRA_CODEWORD_INFO 6 #define XRA_NCP_TRUNC 7 #define XRA_NCP_SYMBOLID 8 #define XRA_MER 9 #define XRA_US_CHANNEL_ID 10 #define XRA_SID 11 #define XRA_IUC 12 #define XRA_BURST_ID 13 #define XRA_BURST_INFO 14 #define XRA_MINISLOT_INFO 15 #define XRA_UCD_CCC_PARITY 16 #define XRA_GRANT_SIZE 17 #define XRA_SEGMENT_HEADER_PRESENT 18 #define XRA_NUMBER_OFDMA_FRAMES 19 #define XRA_ESTIMATED_TIMING_ADJUST 20 #define XRA_ESTIMATED_POWER_LEVEL 21 #define XRA_SUBSLOT_ID 22 #define XRA_CONTROL_WORD 23 #define XRA_CONFIGURATION_INFO 254 #define XRA_EXTENSION_TYPE 255 /* Codeword Info Sub-TLVs */ #define XRA_TLV_CW_INFO_PROFILE_PARITY 1 #define XRA_TLV_CW_INFO_NR_OF_INFO_BYTES 2 #define XRA_TLV_CW_INFO_BCH_DECODING_SUCCESFUL 3 #define XRA_TLV_CW_INFO_BCH_NUMBER_OF_CORRECTED_BITS 4 #define XRA_TLV_CW_INFO_LDPC_NUMBER_OF_CODE_BITS 5 #define XRA_TLV_CW_INFO_LDPC_DECODING_SUCCESSFUL 6 #define XRA_TLV_CW_INFO_LDPC_NUMBER_OF_CORRECTED_BITS 7 #define XRA_TLV_CW_INFO_LDPC_NUMBER_OF_ITERATIONS 8 #define XRA_TLV_CW_INFO_RS_DECODING_SUCCESFUL 9 #define XRA_TLV_CW_INFO_RS_NUMBER_OF_CORRECTED_SYMBOLS 10 /* Burst Info Sub-TLV */ #define XRA_BURST_INFO_BURST_ID_REFERENCE 1 /* Minislot Info Sub-TLVs */ #define XRA_TLV_MINISLOT_INFO_START_MINISLOT_ID 1 #define XRA_TLV_MINISLOT_INFO_REL_START_MINISLOT 2 #define XRA_TLV_MINISLOT_INFO_REL_STOP_MINISLOT 3 /* PLC Message Block Types */ #define PLC_TIMESTAMP_MB 1 #define PLC_ENERGY_MANAGEMENT_MB 2 #define PLC_MESSAGE_CHANNEL_MB 3 #define PLC_TRIGGER_MB 4 static const value_string direction_vals[] = { {XRA_DIRECTION_DOWNSTREAM, "Downstream"}, {XRA_DIRECTION_UPSTREAM, "Upstream"}, {0, NULL} }; static const value_string packettype[] = { {XRA_PACKETTYPE_DS_SCQAM_DOCSIS_MACFRAME, "SC-QAM DOCSIS MAC Frame"}, {XRA_PACKETTYPE_OFDM_DOCSIS, "OFDM DOCSIS"}, {XRA_PACKETTYPE_OFDM_NCP, "OFDM NCP"}, {XRA_PACKETTYPE_OFDM_PLC, "OFDM PLC"}, {XRA_PACKETTYPE_OFDM_PLC_MMM, "OFDM PLC MMM"}, {XRA_PACKETTYPE_TDMA_BURST, "TDMA Burst"}, {XRA_PACKETTYPE_OFDMA_DATA_BURST, "OFDMA Data Burst"}, {XRA_PACKETTTYPE_OFDMA_INITIAL_RANGING, "OFDMA Initial Ranging"}, {XRA_PACKETTTYPE_OFDMA_FINE_RANGING, "OFDMA Fine Ranging"}, {XRA_PACKETTYPE_OFDMA_REQ, "OFDMA REQ"}, {XRA_PACKETTYPE_OFDMA_PROBING_SEQUENCE, "OFDMA Probing Sequence"}, {XRA_PACKETTYPE_US_DOCSIS_MACFRAME, "US DOCSIS MAC Frame"}, {0, NULL} }; static const value_string annex_vals[] = { {0, "Annex A"}, {1, "Annex B"}, {0, NULL} }; static const value_string modulation_vals[] = { {0, "64-QAM"}, {1, "256-QAM"}, {0, NULL} }; static const value_string profile_id[] = { {0, "Profile A"}, {1, "Profile B"}, {2, "Profile C"}, {3, "Profile D"}, {4, "Profile E"}, {5, "Profile F"}, {6, "Profile G"}, {7, "Profile H"}, {8, "Profile I"}, {9, "Profile J"}, {10, "Profile K"}, {11, "Profile L"}, {12, "Profile M"}, {13, "Profile N"}, {14, "Profile O"}, {15, "Profile P"}, {0, NULL} }; static const value_string message_block_type[] = { {PLC_TIMESTAMP_MB, "Timestamp Message Block"}, {PLC_ENERGY_MANAGEMENT_MB, "Energy Management Message Block"}, {PLC_MESSAGE_CHANNEL_MB, "Message Channel Message Block"}, {PLC_TRIGGER_MB, "Trigger Message Block"}, {0, NULL} }; static const true_false_string zero_bit_loading = { "subcarriers are all zero-bit-loaded", "subcarriers follow profile" }; static const true_false_string data_profile_update = { "use odd profile", "use even profile" }; static const true_false_string ncp_profile_select = { "use odd profile", "use even profile" }; static const true_false_string last_ncp_block = { "this is the last NCP in the chain and is followed by an NCP CRC message block", "this NCP is followed by another NCP" }; static const true_false_string codeword_tagging = { "this codeword is included in the codeword counts reported by the CM in the OPT-RSP message", "this codeword is not included in the codeword counts reported by the CM in the OPT-RSP message" }; static const value_string local_proto_checksum_vals[] = { { PROTO_CHECKSUM_E_BAD, "Bad"}, { PROTO_CHECKSUM_E_GOOD, "Good"}, { 0, NULL} }; static const value_string control_word_vals[] = { { 0, "I=128, J=1"}, { 1, "I=128, J=1"}, { 2, "I=128, J=2"}, { 3, "I=64, J=2"}, { 4, "I=128, J=3"}, { 5, "I=32, J=4"}, { 6, "I=128, J=4"}, { 7, "I=16, J=8"}, { 8, "I=128, J=5"}, { 9, "I=8, J=16"}, { 10, "I=128, J=6"}, { 11, "Reserved"}, { 12, "I=128, J=7"}, { 13, "Reserved"}, { 14, "I=128, J=8"}, { 15, "Reserved"}, { 0, NULL} }; static int dissect_xra(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_) { proto_item *it; proto_tree *xra_tree; it = proto_tree_add_protocol_format (tree, proto_xra, tvb, 0, -1, "XRA"); xra_tree = proto_item_add_subtree (it, ett_xra); tvbuff_t *docsis_tvb; tvbuff_t *plc_tvb; tvbuff_t *ncp_tvb; tvbuff_t *xra_tlv_tvb; tvbuff_t *segment_tvb; tvbuff_t *init_ranging_tvb; guint direction, packet_type, tlv_length; proto_tree_add_item (xra_tree, hf_xra_version, tvb, 0, 1, ENC_BIG_ENDIAN); proto_tree_add_item_ret_uint (xra_tree, hf_xra_direction, tvb, 1, 1, ENC_BIG_ENDIAN, &direction); proto_tree_add_item_ret_uint (xra_tree, hf_xra_packettype, tvb, 1, 1, ENC_BIG_ENDIAN, &packet_type); proto_tree_add_item_ret_uint (xra_tree, hf_xra_tlvlength, tvb, 2, 2, ENC_BIG_ENDIAN, &tlv_length); guint16 xra_length = 4 + tlv_length; proto_item_append_text(it, " (Excentis XRA header: %d bytes). DOCSIS frame is %d bytes.", xra_length, tvb_reported_length_remaining(tvb, xra_length)); proto_item_set_len(it, xra_length); col_add_str(pinfo->cinfo, COL_INFO, val_to_str(packet_type, packettype, "Unknown XRA Packet Type: %u")); /* Dissecting TLVs */ guint segment_header_present = 0; xra_tlv_tvb = tvb_new_subset_length(tvb, 4, tlv_length); dissect_xra_tlv(xra_tlv_tvb, pinfo, xra_tree, data, tlv_length, &segment_header_present); if(tvb_reported_length_remaining(tvb, xra_length) == 0) { return xra_length; } /* Dissecting contents */ switch(packet_type) { case XRA_PACKETTYPE_DS_SCQAM_DOCSIS_MACFRAME: case XRA_PACKETTYPE_OFDM_DOCSIS: case XRA_PACKETTYPE_OFDM_PLC_MMM: /* Calling DOCSIS dissector */ docsis_tvb = tvb_new_subset_remaining(tvb, xra_length); if (docsis_handle) { call_dissector (docsis_handle, docsis_tvb, pinfo, tree); } break; case XRA_PACKETTYPE_OFDM_PLC: plc_tvb = tvb_new_subset_remaining(tvb, xra_length); return dissect_plc(plc_tvb , pinfo, tree, data); case XRA_PACKETTYPE_OFDM_NCP: ncp_tvb = tvb_new_subset_remaining(tvb, xra_length); return dissect_ncp(ncp_tvb, tree, data); case XRA_PACKETTYPE_TDMA_BURST: case XRA_PACKETTYPE_OFDMA_DATA_BURST: if(segment_header_present) { col_append_str(pinfo->cinfo, COL_INFO, ": Segment"); segment_tvb = tvb_new_subset_remaining(tvb, xra_length); return dissect_ofdma_segment(segment_tvb, pinfo, tree, data); } break; case XRA_PACKETTYPE_OFDMA_REQ: case XRA_PACKETTYPE_US_DOCSIS_MACFRAME: /* Calling DOCSIS dissector */ docsis_tvb = tvb_new_subset_remaining(tvb, xra_length); if (docsis_handle) { call_dissector (docsis_handle, docsis_tvb, pinfo, tree); } break; case XRA_PACKETTTYPE_OFDMA_FINE_RANGING: /* Calling DOCSIS dissector */ docsis_tvb = tvb_new_subset_remaining(tvb, xra_length); if (docsis_handle) { call_dissector (docsis_handle, docsis_tvb, pinfo, tree); } break; case XRA_PACKETTTYPE_OFDMA_INITIAL_RANGING: init_ranging_tvb = tvb_new_subset_remaining(tvb, xra_length); return dissect_init_ranging(init_ranging_tvb, tree, data); default: proto_tree_add_item (xra_tree, hf_xra_unknown, tvb, 1, 1, ENC_NA); break; } return tvb_captured_length(tvb); } static int dissect_xra_tlv_cw_info(tvbuff_t * tvb, proto_tree * tree, void* data _U_, guint16 tlv_length) { proto_item *it; proto_tree *xra_tlv_cw_info_tree; it = proto_tree_add_item (tree, hf_xra_tlv_cw_info, tvb, 0, tlv_length, ENC_NA); xra_tlv_cw_info_tree = proto_item_add_subtree (it, ett_xra_tlv_cw_info); unsigned tlv_index = 0; while (tlv_index < tlv_length) { guint8 type = tvb_get_guint8 (tvb, tlv_index); ++tlv_index; guint8 length = tvb_get_guint8 (tvb, tlv_index); ++tlv_index; switch (type) { case XRA_TLV_CW_INFO_NR_OF_INFO_BYTES: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_nr_of_info_bytes, tvb, tlv_index, length, ENC_NA); break; case XRA_TLV_CW_INFO_BCH_DECODING_SUCCESFUL: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_bch_decoding_successful, tvb, tlv_index, length, ENC_NA); break; case XRA_TLV_CW_INFO_PROFILE_PARITY: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_profile_parity, tvb, tlv_index, length, ENC_NA); break; case XRA_TLV_CW_INFO_BCH_NUMBER_OF_CORRECTED_BITS: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_bch_number_of_corrected_bits, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_TLV_CW_INFO_LDPC_NUMBER_OF_CODE_BITS: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_ldpc_nr_of_code_bits, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_TLV_CW_INFO_LDPC_DECODING_SUCCESSFUL: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_ldpc_decoding_successful, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_TLV_CW_INFO_LDPC_NUMBER_OF_CORRECTED_BITS: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_ldpc_number_of_corrected_bits, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_TLV_CW_INFO_LDPC_NUMBER_OF_ITERATIONS: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_ldpc_number_of_iterations, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_TLV_CW_INFO_RS_DECODING_SUCCESFUL: proto_tree_add_item(xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_rs_decoding_successful, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_TLV_CW_INFO_RS_NUMBER_OF_CORRECTED_SYMBOLS: proto_tree_add_item(xra_tlv_cw_info_tree, hf_xra_tlv_cw_info_rs_number_of_corrected_symbols, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; default: proto_tree_add_item (xra_tlv_cw_info_tree, hf_xra_unknown, tvb, tlv_index, length, ENC_NA); break; } tlv_index+=length; } return tvb_captured_length(tvb); } static int dissect_xra_tlv_ms_info(tvbuff_t * tvb, proto_tree * tree, void* data _U_, guint16 tlv_length) { proto_item *it; proto_tree *xra_tlv_ms_info_tree; it = proto_tree_add_item (tree, hf_xra_tlv_ms_info, tvb, 0, tlv_length, ENC_NA); xra_tlv_ms_info_tree = proto_item_add_subtree (it, ett_xra_tlv_ms_info); unsigned tlv_index = 0; while (tlv_index < tlv_length) { guint8 type = tvb_get_guint8 (tvb, tlv_index); ++tlv_index; guint8 length = tvb_get_guint8 (tvb, tlv_index); ++tlv_index; switch (type) { case XRA_TLV_MINISLOT_INFO_START_MINISLOT_ID: proto_tree_add_item (xra_tlv_ms_info_tree, hf_xra_tlv_start_minislot_id_abs, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_TLV_MINISLOT_INFO_REL_START_MINISLOT: proto_tree_add_item (xra_tlv_ms_info_tree, hf_xra_tlv_start_minislot_id_rel, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_TLV_MINISLOT_INFO_REL_STOP_MINISLOT: proto_tree_add_item (xra_tlv_ms_info_tree, hf_xra_tlv_stop_minislot_id_rel, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; default: proto_tree_add_item (xra_tlv_ms_info_tree, hf_xra_unknown, tvb, tlv_index, length, ENC_NA); break; } tlv_index+=length; } return tvb_captured_length(tvb); } static int dissect_xra_tlv_burst_info(tvbuff_t * tvb, proto_tree * tree, void* data _U_, guint16 tlv_length) { proto_item *it; proto_tree *xra_tlv_burst_info_tree; it = proto_tree_add_item (tree, hf_xra_tlv_burst_info, tvb, 0, tlv_length, ENC_NA); xra_tlv_burst_info_tree = proto_item_add_subtree (it, ett_xra_tlv_burst_info); unsigned tlv_index = 0; while (tlv_index < tlv_length) { guint8 type = tvb_get_guint8 (tvb, tlv_index); ++tlv_index; guint8 length = tvb_get_guint8 (tvb, tlv_index); ++tlv_index; switch (type) { case XRA_BURST_INFO_BURST_ID_REFERENCE: proto_tree_add_item (xra_tlv_burst_info_tree, hf_xra_tlv_burst_info_burst_id_reference, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_US_CHANNEL_ID: proto_tree_add_item (xra_tlv_burst_info_tree, hf_xra_tlv_us_channel_id, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_SID: proto_tree_add_item (xra_tlv_burst_info_tree, hf_xra_tlv_sid, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_IUC: proto_tree_add_item (xra_tlv_burst_info_tree, hf_xra_tlv_iuc, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; default: proto_tree_add_item (xra_tlv_burst_info_tree, hf_xra_unknown, tvb, tlv_index, length, ENC_NA); break; } tlv_index+=length; } return tvb_captured_length(tvb); } static int dissect_xra_tlv(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_, guint16 tlv_length, guint* segment_header_present) { proto_item *it; proto_tree *xra_tlv_tree; guint symbol_id; double mer, power_level; it = proto_tree_add_item (tree, hf_xra_tlv, tvb, 0, tlv_length, ENC_NA); xra_tlv_tree = proto_item_add_subtree (it, ett_xra_tlv); unsigned tlv_index = 0; tvbuff_t *xra_tlv_cw_info_tvb, *xra_tlv_ms_info_tvb, *xra_tlv_burst_info_tvb; while (tlv_index < tlv_length) { guint8 type = tvb_get_guint8 (tvb, tlv_index); ++tlv_index; guint8 length = tvb_get_guint8 (tvb, tlv_index); ++tlv_index; switch (type) { case XRA_DS_CHANNEL_ID: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_ds_channel_id, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_DS_FREQUENCY: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_ds_channel_frequency, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_MODULATION: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_modulation, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_ANNEX: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_annex, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_PROFILE_ID: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_profile_id, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_CODEWORD_INFO: xra_tlv_cw_info_tvb = tvb_new_subset_length(tvb, tlv_index, length); dissect_xra_tlv_cw_info(xra_tlv_cw_info_tvb, xra_tlv_tree, data, length); break; case XRA_NCP_TRUNC: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_ncp_trunc, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_NCP_SYMBOLID: proto_tree_add_item_ret_uint (xra_tlv_tree, hf_xra_tlv_ncp_symbolid, tvb, tlv_index, length, FALSE, &symbol_id); col_append_fstr(pinfo->cinfo, COL_INFO, ": (Symbol ID: %u):", symbol_id); break; case XRA_MER: mer = tvb_get_guint8(tvb, tlv_index)/4.0; proto_tree_add_double_format_value(xra_tlv_tree, hf_xra_tlv_mer, tvb, tlv_index, length, mer, "%.2f dB", mer); break; case XRA_US_CHANNEL_ID: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_us_channel_id, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_SID: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_sid, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_IUC: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_iuc, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_BURST_ID: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_burstid, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_BURST_INFO: xra_tlv_burst_info_tvb = tvb_new_subset_length(tvb, tlv_index, length); dissect_xra_tlv_burst_info(xra_tlv_burst_info_tvb, xra_tlv_tree, data, length); break; case XRA_MINISLOT_INFO: xra_tlv_ms_info_tvb = tvb_new_subset_length(tvb, tlv_index, length); dissect_xra_tlv_ms_info(xra_tlv_ms_info_tvb, xra_tlv_tree, data, length); break; case XRA_UCD_CCC_PARITY: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_ucd_ccc_parity, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_GRANT_SIZE: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_grant_size, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_SEGMENT_HEADER_PRESENT: proto_tree_add_item_ret_uint (xra_tlv_tree, hf_xra_tlv_segment_header_present, tvb, tlv_index, length, FALSE, segment_header_present); break; case XRA_NUMBER_OFDMA_FRAMES: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_ranging_number_ofdma_frames, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_ESTIMATED_TIMING_ADJUST: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_ranging_timing_adjust, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_ESTIMATED_POWER_LEVEL: power_level = ((gint16) (256*tvb_get_guint8(tvb, tlv_index) + tvb_get_guint8(tvb, tlv_index+1)) )/10.0; proto_tree_add_double_format_value(xra_tlv_tree, hf_xra_tlv_power_level, tvb, tlv_index, length, power_level, "%.1f dBmV", power_level); break; case XRA_SUBSLOT_ID: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_subslot_id, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; case XRA_CONTROL_WORD: proto_tree_add_item (xra_tlv_tree, hf_xra_tlv_control_word, tvb, tlv_index, length, ENC_BIG_ENDIAN); break; default: proto_tree_add_item (xra_tlv_tree, hf_xra_unknown, tvb, tlv_index, length, ENC_NA); break; } tlv_index+=length; } return tvb_captured_length(tvb); } static void dissect_timestamp_mb(tvbuff_t * tvb, proto_tree* tree) { nstime_t ts; guint64 plc_timestamp, plc_timestamp_ns; proto_item* timestamp_it; proto_tree* timestamp_tree; static int * const timestamp_parts[] = { &hf_plc_mb_ts_timestamp_epoch, &hf_plc_mb_ts_timestamp_d30timestamp, &hf_plc_mb_ts_timestamp_extra_204_8, &hf_plc_mb_ts_timestamp_extra_204_8_X_16, NULL }; proto_tree_add_item (tree, hf_plc_mb_ts_reserved, tvb, 0, 1, ENC_BIG_ENDIAN); timestamp_it = proto_tree_add_item_ret_uint64 (tree, hf_plc_mb_ts_timestamp, tvb, 1, 8, ENC_BIG_ENDIAN, &plc_timestamp); timestamp_tree = proto_item_add_subtree (timestamp_it, ett_plc_timestamp); /* See Figure 104 of CM-SP-MULPIv3.1-115-180509 */ proto_tree_add_bitmask_list(timestamp_tree, tvb, 1, 8, timestamp_parts, ENC_BIG_ENDIAN); /* Timestamp calculation in ns. Beware of overflow of guint64. Splitting off timestamp in composing contributions * Epoch (bits 63-41): 10.24 MHz/2^32 clock: *100000*2^22 ns * D3.0 timestamp (bits 40-9): 204.8MHz/20 clock: 10.24MHz clock * Bits 8-4: 204.8MHz clock * Lowest 4 bits (bits 3-0): 16*204.8MHz clock */ plc_timestamp_ns = ((plc_timestamp>>41)&0x7FFFFF)*100000*4194304 + ((plc_timestamp >>9)&0xFFFFFFFF)*100000/1024 + ((plc_timestamp>>4)&0x1F)*10000/2048 + (plc_timestamp&0x0F)*10000/2048/16; ts.secs= (time_t)(plc_timestamp_ns/1000000000); ts.nsecs=plc_timestamp_ns%1000000000; proto_tree_add_time(timestamp_tree, hf_plc_mb_ts_timestamp_formatted, tvb, 1, 8, &ts); proto_tree_add_item (tree, hf_plc_mb_ts_crc24d, tvb, 9, 3, ENC_NA); } static void dissect_message_channel_mb(tvbuff_t * tvb, packet_info * pinfo, proto_tree* tree, guint16 remaining_length) { proto_tree_add_item (tree, hf_plc_mb_mc_reserved, tvb, 0, 1, ENC_BIG_ENDIAN); gboolean packet_start_pointer_field_present; unsigned packet_start_pointer; proto_tree_add_item_ret_boolean(tree, hf_plc_mb_mc_pspf_present, tvb, 0, 1, FALSE, &packet_start_pointer_field_present); /* If not present, this contains stuff from other packet. We can't do much in this case */ if(packet_start_pointer_field_present) { proto_tree_add_item_ret_uint (tree, hf_plc_mb_mc_psp, tvb, 1, 2, FALSE, &packet_start_pointer); unsigned docsis_start = 3 + packet_start_pointer; while (docsis_start + 6 < remaining_length) { /* DOCSIS header in packet */ guint8 fc = tvb_get_guint8(tvb,docsis_start + 0); if (fc == 0xFF) { /* Skip fill bytes */ docsis_start += 1; continue; } unsigned docsis_length = 256*tvb_get_guint8(tvb,docsis_start + 2) + tvb_get_guint8(tvb,docsis_start + 3); if (docsis_start + 6 + docsis_length <= remaining_length) { /* DOCSIS packet included in packet */ tvbuff_t *docsis_tvb; docsis_tvb = tvb_new_subset_length(tvb, docsis_start, docsis_length + 6); if (docsis_handle) { call_dissector (docsis_handle, docsis_tvb, pinfo, tree); col_append_str(pinfo->cinfo, COL_INFO, "; "); col_set_fence(pinfo->cinfo,COL_INFO); } } docsis_start += 6 + docsis_length; } } } static int dissect_message_block(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, guint8 mb_type, guint16 mb_length) { proto_tree * mb_tree; proto_item *mb_item; mb_item = proto_tree_add_item (tree, hf_plc_mb, tvb, 0, 1, ENC_BIG_ENDIAN); mb_tree = proto_item_add_subtree (mb_item, ett_plc_mb); switch (mb_type) { case PLC_TIMESTAMP_MB: dissect_timestamp_mb(tvb, mb_tree); break; case PLC_ENERGY_MANAGEMENT_MB: proto_tree_add_item (mb_tree, hf_plc_em_mb, tvb, 0, mb_length, ENC_NA); break; case PLC_MESSAGE_CHANNEL_MB: dissect_message_channel_mb(tvb, pinfo, mb_tree, mb_length); break; case PLC_TRIGGER_MB: proto_tree_add_item (mb_tree, hf_plc_trigger_mb, tvb, 0, mb_length, ENC_NA); break; /* Future Use Message Block */ default: break; } return tvb_captured_length(tvb); } static int dissect_ncp_message_block(tvbuff_t * tvb, proto_tree * tree) { proto_tree * mb_tree; proto_item *mb_item; mb_item = proto_tree_add_item (tree, hf_ncp_mb, tvb, 0, 3, ENC_NA); mb_tree = proto_item_add_subtree (mb_item, ett_ncp_mb); proto_tree_add_item (mb_tree, hf_ncp_mb_profileid, tvb, 0, 1, ENC_BIG_ENDIAN); proto_tree_add_item (mb_tree, hf_ncp_mb_z, tvb, 0, 1, ENC_BIG_ENDIAN); proto_tree_add_item (mb_tree, hf_ncp_mb_c, tvb, 0, 1, ENC_BIG_ENDIAN); proto_tree_add_item (mb_tree, hf_ncp_mb_n, tvb, 0, 1, ENC_BIG_ENDIAN); proto_tree_add_item (mb_tree, hf_ncp_mb_l, tvb, 0, 1, ENC_BIG_ENDIAN); proto_tree_add_item (mb_tree, hf_ncp_mb_t, tvb, 1, 1, ENC_BIG_ENDIAN); proto_tree_add_item (mb_tree, hf_ncp_mb_u, tvb, 1, 1, ENC_BIG_ENDIAN); proto_tree_add_item (mb_tree, hf_ncp_mb_r, tvb, 1, 1, ENC_BIG_ENDIAN); proto_tree_add_item (mb_tree, hf_ncp_mb_subcarrier_start_pointer, tvb, 1, 2, ENC_BIG_ENDIAN); return tvb_captured_length(tvb); } static int dissect_plc(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_) { int offset = 0; proto_tree *plc_tree; proto_item *plc_item; tvbuff_t *mb_tvb; plc_item = proto_tree_add_protocol_format (tree, proto_plc, tvb, 0, -1, "DOCSIS PLC"); plc_tree = proto_item_add_subtree (plc_item, ett_plc); while (tvb_reported_length_remaining(tvb, offset) > 0) { guint8 mb_type = tvb_get_guint8 (tvb, offset) >>4; guint8 mb_nibble2 = tvb_get_guint8 (tvb, offset) & 0x0F; guint8 mb_byte2 = tvb_get_guint8 (tvb, offset+1); guint8 last_mb = 0; /* Do not initialize with 0, otherwise an infinite loop results in case mbLength is not initialized. */ guint16 mb_length = 1000; if(mb_type == 0xFF) { break; } switch (mb_type) { case PLC_TIMESTAMP_MB: mb_length =12; /* Note that a Timestamp Message Block is mandatory and always comes first. */ col_append_str(pinfo->cinfo, COL_INFO, ": TS-MB"); break; case PLC_ENERGY_MANAGEMENT_MB: mb_length = 4 + mb_nibble2*6; col_append_str(pinfo->cinfo, COL_INFO, ", EM-MB"); break; case PLC_MESSAGE_CHANNEL_MB: last_mb = 1; mb_length = tvb_reported_length_remaining(tvb, offset); col_append_str(pinfo->cinfo, COL_INFO, ", MC-MB"); break; case PLC_TRIGGER_MB: mb_length = 9; col_append_str(pinfo->cinfo, COL_INFO, ", TR-MB"); break; /* Future Use Message Block */ default: mb_length = 5 + 256*(mb_nibble2 &0x01) + mb_byte2; col_append_str(pinfo->cinfo, COL_INFO, ", FUT-MB"); break; } mb_tvb = tvb_new_subset_remaining(tvb, offset); dissect_message_block(mb_tvb,pinfo, plc_tree, mb_type, mb_length); if (last_mb) { break; } offset+= mb_length; } return tvb_captured_length(tvb); } static int dissect_ncp(tvbuff_t * tvb, proto_tree * tree, void* data _U_) { int offset = 0; proto_tree *ncp_tree; proto_item *ncp_item; tvbuff_t *ncp_mb_tvb; ncp_item = proto_tree_add_protocol_format (tree, proto_ncp, tvb, 0, -1, "DOCSIS NCP"); ncp_tree = proto_item_add_subtree (ncp_item, ett_ncp); while (tvb_captured_length_remaining(tvb, offset) > 3) { ncp_mb_tvb = tvb_new_subset_length(tvb, offset, 3); dissect_ncp_message_block(ncp_mb_tvb, ncp_tree); offset+= 3; } proto_tree_add_item (ncp_tree, hf_ncp_crc, tvb, offset, 3, ENC_NA); return tvb_captured_length(tvb); } static int dissect_init_ranging(tvbuff_t * tvb, proto_tree * tree, void* data _U_) { proto_tree *init_ranging_tree; proto_item *init_ranging_item; init_ranging_item = proto_tree_add_protocol_format (tree, proto_init_ranging, tvb, 0, -1, "OFDMA Initial Ranging Request"); init_ranging_tree = proto_item_add_subtree (init_ranging_item, ett_init_ranging); proto_tree_add_item (init_ranging_tree, hf_xra_init_ranging_mac, tvb, 0, 6, ENC_NA); proto_tree_add_item (init_ranging_tree, hf_xra_init_ranging_ds_channel_id, tvb, 6, 1, ENC_BIG_ENDIAN); proto_tree_add_item (init_ranging_tree, hf_xra_init_ranging_crc, tvb, 7, 3, ENC_NA); return tvb_captured_length(tvb); } static int dissect_ofdma_segment(tvbuff_t * tvb, packet_info* pinfo, proto_tree * tree, void* data _U_) { proto_tree *segment_tree; proto_item *segment_item; segment_item = proto_tree_add_protocol_format (tree, proto_segment, tvb, 0, -1, "DOCSIS Segment"); segment_tree = proto_item_add_subtree (segment_item, ett_plc); proto_tree_add_item (segment_tree, hf_docsis_segment_pfi, tvb, 0, 1, ENC_BIG_ENDIAN); proto_tree_add_item (segment_tree, hf_docsis_segment_reserved, tvb, 0, 1, ENC_BIG_ENDIAN); proto_tree_add_item (segment_tree, hf_docsis_segment_pointerfield, tvb, 0, 2, ENC_BIG_ENDIAN); proto_tree_add_item (segment_tree, hf_docsis_segment_sequencenumber, tvb, 2, 2, ENC_BIG_ENDIAN); proto_tree_add_item (segment_tree, hf_docsis_segment_sidclusterid, tvb, 3, 1, ENC_BIG_ENDIAN); proto_tree_add_item (segment_tree, hf_docsis_segment_request, tvb, 4, 2, ENC_BIG_ENDIAN); /* Dissect the header check sequence. */ /* CRC-CCITT(16+12+5+1). */ guint16 fcs = g_ntohs(crc16_ccitt_tvb(tvb, 6)); proto_tree_add_checksum(segment_tree, tvb, 6, hf_docsis_segment_hcs, hf_docsis_segment_hcs_status, &ei_docsis_segment_hcs_bad, pinfo, fcs, ENC_BIG_ENDIAN, PROTO_CHECKSUM_VERIFY); proto_tree_add_item (segment_tree, hf_docsis_segment_data, tvb, 8, tvb_reported_length_remaining(tvb, 8), ENC_NA); return tvb_captured_length(tvb); } void proto_register_xra (void) { static hf_register_info hf[] = { {&hf_xra_version, {"Version", "xra.version", FT_UINT8, BASE_DEC, NULL, 0x0, "XRA Header Version", HFILL} }, {&hf_xra_direction, {"Direction", "xra.direction", FT_UINT8, BASE_DEC, VALS(direction_vals), 0xC0, NULL, HFILL} }, {&hf_xra_packettype, {"Packet Type", "xra.packettype", FT_UINT8, BASE_DEC, VALS(packettype), 0x0, NULL, HFILL} }, {&hf_xra_tlvlength, {"TLV Length", "xra.tlvlength", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv, {"XRA TLV", "xra.tlv", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL} }, /* XRA TLVs */ {&hf_xra_tlv_ds_channel_id, {"DS Channel ID", "xra.tlv.ds_channel_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_ds_channel_frequency, {"DS Channel Frequency", "xra.tlv.ds_channel_frequency", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_modulation, {"Modulation", "xra.tlv.modulation", FT_UINT8, BASE_DEC, VALS(modulation_vals), 0x0, NULL, HFILL} }, {&hf_xra_tlv_annex, {"Annex", "xra.tlv.annex", FT_UINT8, BASE_DEC, VALS(annex_vals), 0x0, NULL, HFILL} }, {&hf_xra_tlv_us_channel_id, {"US Channel ID", "xra.tlv.us_channel_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_profile_id, {"Profile", "xra.tlv.profile_id", FT_UINT8, BASE_DEC, VALS(profile_id), 0x0, NULL, HFILL} }, {&hf_xra_tlv_sid, {"SID", "xra.tlv.sid", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_iuc, {"IUC", "xra.tlv.iuc", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_burstid, {"Burst ID", "xra.tlv.burstid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_ms_info, {"Minislot Info", "xra.tlv.ms_info", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_ucd_ccc_parity, {"UCD CCC Parity", "xra.tlv.ucd_ccc_parity", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_grant_size, {"Grant Size (bits)", "xra.tlv.grant_size", FT_UINT32, BASE_DEC, NULL, 0x00FFFFFF, NULL, HFILL} }, {&hf_xra_tlv_segment_header_present, {"Segment Header Present", "xra.tlv.segment_header_present", FT_UINT8, BASE_DEC, NULL,0x0, NULL, HFILL} }, {&hf_xra_tlv_ncp_trunc, {"Truncated due to Uncorrectables", "xra.tlv.ncp.trunc", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_ncp_symbolid, {"Symbol ID", "xra.tlv.ncp.symbolid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_start_minislot_id_abs, {"Start Minislot ID (absolute)", "xra.tlv.ms_info.start_minislot_id_abs", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_start_minislot_id_rel, {"Start Minislot ID (relative)", "xra.tlv.ms_info.start_minislot_id_rel", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_stop_minislot_id_rel, {"Stop Minislot ID (relative)", "xra.tlv.ms_info.stop_minislot_id_rel", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, /* Ranging */ {&hf_xra_tlv_ranging_number_ofdma_frames, {"Number of OFDMA Frames", "xra.tlv.ranging.number_ofdma_frames", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_ranging_timing_adjust, {"Estimated Timing Adjust (in 1/204.8 "UTF8_MICRO_SIGN"s units)", "xra.tlv.ranging.timing_adjust", FT_INT32, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_power_level, {"Estimated Power Level", "xra.tlv.power_level", FT_DOUBLE, BASE_NONE, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_mer, {"MER", "xra.tlv.mer", FT_DOUBLE, BASE_NONE, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_subslot_id, {"Subslot ID", "xra.tlv.subslot_id", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_control_word, {"Control Word", "xra.tlv.control_word", FT_UINT8, BASE_DEC, VALS(control_word_vals), 0x0, NULL, HFILL} }, /* Codeword Info */ {&hf_xra_tlv_cw_info, {"Codeword Info", "xra.tlv.cw_info", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_nr_of_info_bytes, {"Number of Info Bytes", "xra.tlv.cw_info.nr_of_info_bytes", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_bch_decoding_successful, {"BCH Decoding Successful", "xra.tlv.cw_info.bch_decoding_successful", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_profile_parity, {"Codeword Parity", "xra.tlv.cw_info.profile_parity", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_bch_number_of_corrected_bits, {"BCH Number of Corrected Bits", "xra.tlv.cw_info.bch_number_of_corrected_bits", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_ldpc_nr_of_code_bits, {"Number of Code Bits", "xra.tlv.cw_info.ldpc_nr_of_code_bits", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_ldpc_decoding_successful, {"LDPC Decoding Successful", "xra.tlv.cw_info.ldpc_decoding_successful", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_ldpc_number_of_iterations, {"LDPC Number of Iterations", "xra.tlv.cw_info.ldpc_number_of_iterations", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_ldpc_number_of_corrected_bits, {"LDPC Number of Corrected Info Bits", "xra.tlv.cw_info.ldpc_number_of_corrected_bits", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_rs_decoding_successful, {"Reed-Solomon Decoding Successful", "xra.tlv.cw_info.rs_decoding_successful", FT_BOOLEAN, 8, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_cw_info_rs_number_of_corrected_symbols, {"Reed-Solomon Number of Corrected Symbols", "xra.tlv.cw_info.rs_number_of_corrected_symbols", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_xra_unknown, {"Unknown", "xra.unknown", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL} }, /* Burst Info */ {&hf_xra_tlv_burst_info, {"Burst Info", "xra.tlv.burst_info", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL} }, {&hf_xra_tlv_burst_info_burst_id_reference, {"Burst ID Reference", "xra.tlv.burst_info.burst_id_reference", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL} }, /* PLC Specific */ {&hf_plc_mb, {"PLC Message Block", "docsis_plc.mb_type", FT_UINT8, BASE_DEC,VALS(message_block_type) , 0xF0, NULL, HFILL} }, /* NCP Specific */ {&hf_ncp_mb, {"NCP Message Block", "docsis_ncp.mb", FT_BYTES, BASE_NONE,NULL , 0x0, NULL, HFILL} }, {&hf_ncp_mb_profileid, {"NCP MB Profile ID", "docsis_ncp.mb.profileid", FT_UINT8, BASE_DEC,NULL , 0xF0, NULL, HFILL} }, {&hf_ncp_mb_z, {"NCP MB Zero Bit-Loading", "docsis_ncp.mb.z", FT_BOOLEAN, 8, TFS(&zero_bit_loading) , 0x08, NULL, HFILL} }, {&hf_ncp_mb_c, {"NCP MB Data Profile Update", "docsis_ncp.mb.c", FT_BOOLEAN, 8, TFS(&data_profile_update) , 0x04, NULL, HFILL} }, {&hf_ncp_mb_n, {"NCP MB NCP Profile Selected", "docsis_ncp.mb.n", FT_BOOLEAN, 8, TFS(&ncp_profile_select) , 0x02, NULL, HFILL} }, {&hf_ncp_mb_l, {"NCP MB Last NCP Block", "docsis_ncp.mb.l", FT_BOOLEAN, 8, TFS(&last_ncp_block) , 0x01, NULL, HFILL} }, {&hf_ncp_mb_t, {"NCP MB Codeword Tagging", "docsis_ncp.mb.t", FT_BOOLEAN, 8, TFS(&codeword_tagging) , 0x80, NULL, HFILL} }, {&hf_ncp_mb_u, {"NCP MB NCP Profile Update Indicator", "docsis_ncp.mb.u", FT_BOOLEAN, 8, NULL , 0x40, NULL, HFILL} }, {&hf_ncp_mb_r, {"NCP MB Reserved", "docsis_ncp.mb.r", FT_BOOLEAN, 8, NULL , 0x20, NULL, HFILL} }, {&hf_ncp_mb_subcarrier_start_pointer, {"NCP MB Subcarrier Start Pointer", "docsis_ncp.mb.subcarrier_start_pointer", FT_UINT16, BASE_DEC, NULL , 0x1FFF, NULL, HFILL} }, {&hf_ncp_crc, {"NCP CRC", "docsis_ncp.crc", FT_BYTES, BASE_NONE, NULL , 0x0, NULL, HFILL} }, /* Init Ranging Specific */ {&hf_xra_init_ranging_mac, {"MAC Address", "xra.init_ranging.mac", FT_ETHER, BASE_NONE, NULL , 0x0, NULL, HFILL} }, {&hf_xra_init_ranging_ds_channel_id, {"DS Channel ID", "xra.init_ranging.ds_channel_id", FT_UINT8, BASE_DEC, NULL , 0x0, NULL, HFILL} }, {&hf_xra_init_ranging_crc, {"CRC", "xra.init_ranging.crc", FT_BYTES, BASE_NONE, NULL , 0x0, NULL, HFILL} }, /* PLC MB */ {&hf_plc_em_mb, {"PLC EM MB", "docsis_plc.em_mb", FT_BYTES, BASE_NONE, NULL , 0x0, NULL, HFILL} }, {&hf_plc_trigger_mb, {"PLC Trigger MB", "docsis_plc.trigger_mb", FT_BYTES, BASE_NONE, NULL , 0x0, NULL, HFILL} }, /* Timestamp MB */ {&hf_plc_mb_ts_reserved, {"Reserved", "docsis_plc.mb_ts_reserved", FT_UINT8, BASE_DEC,0 , 0x0F, NULL, HFILL} }, {&hf_plc_mb_ts_timestamp, {"Timestamp", "docsis_plc.mb_ts_timestamp", FT_UINT64, BASE_DEC,0 , 0x0, NULL, HFILL} }, {&hf_plc_mb_ts_timestamp_epoch, {"Timestamp Epoch", "docsis_plc.mb_ts_timestamp_epoch", FT_UINT64, BASE_HEX,0 , 0xFFFFFE0000000000, NULL, HFILL} }, {&hf_plc_mb_ts_timestamp_d30timestamp, {"D3.0 Timestamp", "docsis_plc.mb_ts_timestamp_d30timestamp", FT_UINT64, BASE_HEX,0 , 0x000001FFFFFFFE00, NULL, HFILL} }, {&hf_plc_mb_ts_timestamp_extra_204_8, {"Timestamp: Extra 204.8MHz Samples", "docsis_plc.mb_ts_timestamp_extra_204_8", FT_UINT64, BASE_DEC,0 , 0x00000000000001F0, NULL, HFILL} }, {&hf_plc_mb_ts_timestamp_extra_204_8_X_16, {"Timestamp: Extra 16 x 204.8MHz Samples", "docsis_plc.mb_ts_timestamp_extra_204_8_X_16", FT_UINT64, BASE_DEC, 0 , 0x000000000000000F, NULL, HFILL} }, {&hf_plc_mb_ts_timestamp_formatted, {"Formatted PLC Timestamp", "docsis_plc.mb_ts_timestamp_formatted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL } }, {&hf_plc_mb_ts_crc24d, {"CRC-24-D", "docsis_plc.mb_ts_crc24d", FT_BYTES, BASE_NONE, 0 , 0x0, NULL, HFILL} }, /* Message Channel MB */ {&hf_plc_mb_mc_reserved, {"Reserved", "docsis_plc.mb_mc_reserved", FT_UINT8, BASE_DEC,0 , 0x0E, NULL, HFILL} }, {&hf_plc_mb_mc_pspf_present, {"Packet Start Pointer Field", "docsis_plc.mb_mc_pspf_present", FT_BOOLEAN, 8, TFS(&tfs_present_not_present), 0x01, NULL, HFILL} }, {&hf_plc_mb_mc_psp, {"Packet Start Pointer", "docsis_plc.mb_mc_psp", FT_UINT16, BASE_DEC, 0 , 0x0, NULL, HFILL} }, /* DOCSIS Segment */ {&hf_docsis_segment_pfi, {"Pointer Field Indicator", "docsis_segment.pfi", FT_UINT8, BASE_DEC, NULL, 0x80, NULL, HFILL} }, {&hf_docsis_segment_reserved, {"Reserved", "docsis_segment.reserved", FT_UINT8, BASE_DEC, NULL, 0x40, NULL, HFILL} }, {&hf_docsis_segment_pointerfield, {"Pointer Field", "docsis_segment.pointerfield", FT_UINT16, BASE_DEC, NULL, 0x3FFF, NULL, HFILL} }, {&hf_docsis_segment_sequencenumber, {"Sequence Number", "docsis_segment.sequencenumber", FT_UINT16, BASE_DEC, NULL, 0xFFF8, NULL, HFILL} }, {&hf_docsis_segment_sidclusterid, {"SID Cluster ID", "docsis_segment.sidclusterid", FT_UINT8, BASE_DEC, NULL, 0x07, NULL, HFILL} }, {&hf_docsis_segment_request, {"Request (N bytes)", "docsis_segment.request", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL} }, {&hf_docsis_segment_hcs, {"HCS", "docsis_segment.hcs", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL} }, { &hf_docsis_segment_hcs_status, { "Segment HCS Status", "docsis_segment.hcs.status", FT_UINT8, BASE_NONE, VALS(local_proto_checksum_vals), 0x0, NULL, HFILL} }, {&hf_docsis_segment_data, {"Data", "docsis_segment.data", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL} }, }; static ei_register_info ei[] = { { &ei_docsis_segment_hcs_bad, { "docsis_segment.hcs_bad", PI_CHECKSUM, PI_ERROR, "Bad Checksum", EXPFILL }}, }; /* Setup protocol subtree array */ static gint *ett[] = { &ett_xra, &ett_xra_tlv, &ett_xra_tlv_cw_info, &ett_xra_tlv_ms_info, &ett_xra_tlv_burst_info, &ett_plc, &ett_plc_mb, &ett_plc_timestamp, &ett_ncp, &ett_ncp_mb, &ett_init_ranging }; expert_module_t* expert_xra; /* Register the protocol name and description */ proto_xra = proto_register_protocol ("Excentis XRA Header", "XRA", "xra"); proto_segment = proto_register_protocol("DOCSIS Segment", "DOCSIS Segment", "docsis_segment"); proto_plc = proto_register_protocol("DOCSIS PHY Link Channel", "DOCSIS PLC", "docsis_plc"); proto_ncp = proto_register_protocol("DOCSIS_NCP", "DOCSIS_NCP", "docsis_ncp"); proto_init_ranging = proto_register_protocol("DOCSIS_INIT_RANGING", "DOCSIS_INIT_RANGING", "docsis_init_ranging"); /* Register expert notifications */ expert_xra = expert_register_protocol(proto_xra); expert_register_field_array(expert_xra, ei, array_length(ei)); /* Required function calls to register the header fields and subtrees used */ proto_register_field_array (proto_xra, hf, array_length (hf)); proto_register_subtree_array (ett, array_length (ett)); register_dissector ("xra", dissect_xra, proto_xra); } void proto_reg_handoff_xra(void) { docsis_handle = find_dissector ("docsis"); xra_handle = create_dissector_handle(dissect_xra, proto_xra); dissector_add_uint("wtap_encap", WTAP_ENCAP_DOCSIS31_XRA31, xra_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-xti.c
// auto-generated by Georg Sauthoff's eti2wireshark.py /* packet-eti.c * Routines for XTI dissection * Copyright 2021, Georg Sauthoff <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* * The Enhanced Cash Trading Interface 10.0 (XTI) is an electronic trading protocol * that is used by a few exchanges (Eurex, Xetra, ...). * * It's a Length-Tag based protocol consisting of mostly fix sized * request/response messages. * * Links: * https://en.wikipedia.org/wiki/List_of_electronic_trading_protocols#Europe * https://github.com/gsauthof/python-eti#protocol-descriptions * https://github.com/gsauthof/python-eti#protocol-introduction * */ #include <config.h> #include <epan/packet.h> // Should be first Wireshark include (other than config.h) #include "packet-tcp.h" // tcp_dissect_pdus() #include <epan/expert.h> // expert info #include <inttypes.h> #include <stdio.h> // snprintf() /* Prototypes */ /* (Required to prevent [-Wmissing-prototypes] warnings */ void proto_reg_handoff_xti(void); void proto_register_xti(void); static int proto_xti = -1; static expert_field ei_xti_counter_overflow = EI_INIT; static expert_field ei_xti_invalid_template = EI_INIT; static expert_field ei_xti_invalid_length = EI_INIT; static expert_field ei_xti_unaligned = EI_INIT; static expert_field ei_xti_missing = EI_INIT; static expert_field ei_xti_overused = EI_INIT; static int hf_xti[] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }; static int hf_xti_dscp_exec_summary = -1; static int hf_xti_dscp_improved = -1; static int hf_xti_dscp_widened = -1; enum Field_Handle_Index { ACCOUNT_FH_IDX , ACCRUEDINTERESAMT_FH_IDX , AFFECTEDORDERID_FH_IDX , AFFECTEDORDERREQUESTID_FH_IDX , AFFECTEDORIGCLORDID_FH_IDX , ALLOCID_FH_IDX , ALLOCMETHOD_FH_IDX , ALLOCQTY_FH_IDX , APPLBEGMSGID_FH_IDX , APPLBEGSEQNUM_FH_IDX , APPLENDMSGID_FH_IDX , APPLENDSEQNUM_FH_IDX , APPLID_FH_IDX , APPLIDSTATUS_FH_IDX , APPLMSGID_FH_IDX , APPLRESENDFLAG_FH_IDX , APPLSEQINDICATOR_FH_IDX , APPLSEQNUM_FH_IDX , APPLSEQSTATUS_FH_IDX , APPLSEQTRADEDATE_FH_IDX , APPLSUBID_FH_IDX , APPLTOTALMESSAGECOUNT_FH_IDX , APPLUSAGEORDERS_FH_IDX , APPLUSAGEQUOTES_FH_IDX , APPLICATIONSYSTEMNAME_FH_IDX , APPLICATIONSYSTEMVENDOR_FH_IDX , APPLICATIONSYSTEMVERSION_FH_IDX , AUTOAPPROVALRULEID_FH_IDX , BESTBIDPX_FH_IDX , BESTBIDSIZE_FH_IDX , BESTOFFERPX_FH_IDX , BESTOFFERSIZE_FH_IDX , BIDPX_FH_IDX , BIDSIZE_FH_IDX , BODYLEN_FH_IDX , CLORDID_FH_IDX , CLEARINGINSTRUCTION_FH_IDX , COUPONRATE_FH_IDX , CROSSEDINDICATOR_FH_IDX , CUMQTY_FH_IDX , CURRENCY_FH_IDX , CXLQTY_FH_IDX , CXLSIZE_FH_IDX , DEFAULTCSTMAPPLVERID_FH_IDX , DEFAULTCSTMAPPLVERSUBID_FH_IDX , DELETEREASON_FH_IDX , DELIVERYTYPE_FH_IDX , DISPLAYHIGHQTY_FH_IDX , DISPLAYLOWQTY_FH_IDX , DISPLAYQTY_FH_IDX , ENRICHMENTRULEID_FH_IDX , EVENTDATE_FH_IDX , EVENTPX_FH_IDX , EVENTTYPE_FH_IDX , EXECID_FH_IDX , EXECINST_FH_IDX , EXECRESTATEMENTREASON_FH_IDX , EXECTYPE_FH_IDX , EXECUTINGTRADER_FH_IDX , EXECUTINGTRADERQUALIFIER_FH_IDX , EXPIREDATE_FH_IDX , EXPIRETIME_FH_IDX , FIXCLORDID_FH_IDX , FIXENGINENAME_FH_IDX , FIXENGINEVENDOR_FH_IDX , FIXENGINEVERSION_FH_IDX , FILLEXECID_FH_IDX , FILLLIQUIDITYIND_FH_IDX , FILLMATCHID_FH_IDX , FILLPX_FH_IDX , FILLQTY_FH_IDX , FIRMNEGOTIATIONID_FH_IDX , FIRMTRADEID_FH_IDX , FREETEXT1_FH_IDX , FREETEXT2_FH_IDX , FREETEXT4_FH_IDX , FREETEXT5_FH_IDX , HEADLINE_FH_IDX , HEARTBTINT_FH_IDX , IMBALANCEQTY_FH_IDX , INDIVIDUALALLOCID_FH_IDX , LASTCOUPONDEVIATIONINDICATOR_FH_IDX , LASTENTITYPROCESSED_FH_IDX , LASTFRAGMENT_FH_IDX , LASTMKT_FH_IDX , LASTPX_FH_IDX , LASTQTY_FH_IDX , LEAVESQTY_FH_IDX , LISTUPDATEACTION_FH_IDX , MDBOOKTYPE_FH_IDX , MDSUBBOOKTYPE_FH_IDX , MARKETID_FH_IDX , MARKETSEGMENTID_FH_IDX , MASSACTIONREASON_FH_IDX , MASSACTIONREPORTID_FH_IDX , MASSACTIONTYPE_FH_IDX , MATCHDATE_FH_IDX , MATCHINSTCROSSID_FH_IDX , MATCHSUBTYPE_FH_IDX , MATCHTYPE_FH_IDX , MATCHINGENGINESTATUS_FH_IDX , MATCHINGENGINETRADEDATE_FH_IDX , MESSAGEEVENTSOURCE_FH_IDX , MSGSEQNUM_FH_IDX , NEGOTIATIONID_FH_IDX , NEGOTIATIONSTARTTIME_FH_IDX , NETWORKMSGID_FH_IDX , NOAFFECTEDORDERREQUESTS_FH_IDX , NOAFFECTEDORDERS_FH_IDX , NOENRICHMENTRULES_FH_IDX , NOEVENTS_FH_IDX , NOFILLS_FH_IDX , NONOTAFFECTEDORDERS_FH_IDX , NONOTAFFECTEDSECURITIES_FH_IDX , NOORDERBOOKITEMS_FH_IDX , NOORDEREVENTS_FH_IDX , NOPARTYDETAILS_FH_IDX , NOQUOTEENTRIES_FH_IDX , NOQUOTEEVENTS_FH_IDX , NOQUOTESIDEENTRIES_FH_IDX , NOSESSIONS_FH_IDX , NOSIDEALLOCS_FH_IDX , NOTARGETPARTYIDS_FH_IDX , NOTAFFORIGCLORDID_FH_IDX , NOTAFFECTEDORDERID_FH_IDX , NOTAFFECTEDSECURITYID_FH_IDX , NOTIFICATIONIN_FH_IDX , NUMDAYSINTEREST_FH_IDX , NUMBEROFRESPDISCLOSUREINSTRUCTION_FH_IDX , NUMBEROFRESPONDENTS_FH_IDX , OFFERPX_FH_IDX , OFFERSIZE_FH_IDX , ORDSTATUS_FH_IDX , ORDTYPE_FH_IDX , ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX , ORDERCATEGORY_FH_IDX , ORDEREVENTMATCHID_FH_IDX , ORDEREVENTPX_FH_IDX , ORDEREVENTQTY_FH_IDX , ORDEREVENTREASON_FH_IDX , ORDEREVENTTYPE_FH_IDX , ORDERID_FH_IDX , ORDERIDSFX_FH_IDX , ORDERORIGINATION_FH_IDX , ORDERQTY_FH_IDX , ORDERROUTINGINDICATOR_FH_IDX , ORIGCLORDID_FH_IDX , ORIGTIME_FH_IDX , ORIGTRADEID_FH_IDX , OWNERSHIPINDICATOR_FH_IDX , PACKAGEID_FH_IDX , PARTITIONID_FH_IDX , PARTYACTIONTYPE_FH_IDX , PARTYDETAILDESKID_FH_IDX , PARTYDETAILEXECUTINGTRADER_FH_IDX , PARTYDETAILIDEXECUTINGTRADER_FH_IDX , PARTYDETAILIDEXECUTINGUNIT_FH_IDX , PARTYDETAILROLEQUALIFIER_FH_IDX , PARTYDETAILSTATUS_FH_IDX , PARTYENTERINGFIRM_FH_IDX , PARTYENTERINGTRADER_FH_IDX , PARTYEXECUTINGFIRM_FH_IDX , PARTYEXECUTINGTRADER_FH_IDX , PARTYIDCLIENTID_FH_IDX , PARTYIDENTERINGFIRM_FH_IDX , PARTYIDENTERINGTRADER_FH_IDX , PARTYIDEXECUTINGTRADER_FH_IDX , PARTYIDEXECUTINGUNIT_FH_IDX , PARTYIDSESSIONID_FH_IDX , PARTYIDSPECIALISTTRADER_FH_IDX , PARTYIDINVESTMENTDECISIONMAKER_FH_IDX , PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX , PARTYSPECIALISTFIRM_FH_IDX , PARTYSPECIALISTTRADER_FH_IDX , PASSWORD_FH_IDX , PEGOFFSETVALUEABS_FH_IDX , PEGOFFSETVALUEPCT_FH_IDX , POTENTIALEXECVOLUME_FH_IDX , PRICE_FH_IDX , PRICEVALIDITYCHECKTYPE_FH_IDX , QUOTECANCELTYPE_FH_IDX , QUOTEENTRYREJECTREASON_FH_IDX , QUOTEENTRYSTATUS_FH_IDX , QUOTEEVENTEXECID_FH_IDX , QUOTEEVENTLIQUIDITYIND_FH_IDX , QUOTEEVENTMATCHID_FH_IDX , QUOTEEVENTPX_FH_IDX , QUOTEEVENTQTY_FH_IDX , QUOTEEVENTREASON_FH_IDX , QUOTEEVENTSIDE_FH_IDX , QUOTEEVENTTYPE_FH_IDX , QUOTEID_FH_IDX , QUOTEMSGID_FH_IDX , QUOTEREQID_FH_IDX , QUOTEREQUESTREJECTREASON_FH_IDX , QUOTERESPONSEID_FH_IDX , QUOTESIZETYPE_FH_IDX , QUOTESTATUS_FH_IDX , QUOTETYPE_FH_IDX , QUOTINGSTATUS_FH_IDX , RFQPUBLISHINDICATOR_FH_IDX , RFQREQUESTERDISCLOSUREINSTRUCTION_FH_IDX , REFAPPLID_FH_IDX , REFAPPLLASTMSGID_FH_IDX , REFAPPLLASTSEQNUM_FH_IDX , REFAPPLSUBID_FH_IDX , REFINANCINGELIGIBILITYINDICATOR_FH_IDX , REGULATORYTRADEID_FH_IDX , REQUESTTIME_FH_IDX , REQUESTINGPARTYCLEARINGFIRM_FH_IDX , REQUESTINGPARTYENTERINGFIRM_FH_IDX , REQUESTINGPARTYIDENTERINGFIRM_FH_IDX , REQUESTINGPARTYIDEXECUTINGSYSTEM_FH_IDX , REQUESTINGPARTYIDEXECUTINGTRADER_FH_IDX , RESPONDENTTYPE_FH_IDX , RESPONSEIN_FH_IDX , ROOTPARTYCLEARINGFIRM_FH_IDX , ROOTPARTYCONTRAFIRM_FH_IDX , ROOTPARTYCONTRAFIRMKVNUMBER_FH_IDX , ROOTPARTYCONTRASETTLEMENTACCOUNT_FH_IDX , ROOTPARTYCONTRASETTLEMENTFIRM_FH_IDX , ROOTPARTYCONTRASETTLEMENTLOCATION_FH_IDX , ROOTPARTYENTERINGTRADER_FH_IDX , ROOTPARTYEXECUTINGFIRM_FH_IDX , ROOTPARTYEXECUTINGFIRMKVNUMBER_FH_IDX , ROOTPARTYEXECUTINGTRADER_FH_IDX , ROOTPARTYIDCLEARINGUNIT_FH_IDX , ROOTPARTYIDCLIENTID_FH_IDX , ROOTPARTYIDCONTRASETTLEMENTUNIT_FH_IDX , ROOTPARTYIDCONTRAUNIT_FH_IDX , ROOTPARTYIDEXECUTINGTRADER_FH_IDX , ROOTPARTYIDEXECUTINGUNIT_FH_IDX , ROOTPARTYIDEXECUTIONVENUE_FH_IDX , ROOTPARTYIDINVESTMENTDECISIONMAKER_FH_IDX , ROOTPARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX , ROOTPARTYIDSESSIONID_FH_IDX , ROOTPARTYIDSETTLEMENTUNIT_FH_IDX , ROOTPARTYSETTLEMENTACCOUNT_FH_IDX , ROOTPARTYSETTLEMENTFIRM_FH_IDX , ROOTPARTYSETTLEMENTLOCATION_FH_IDX , SRQSRELATEDTRADEID_FH_IDX , SECONDARYQUOTEID_FH_IDX , SECONDARYTRADEID_FH_IDX , SECURITYID_FH_IDX , SECURITYSTATUS_FH_IDX , SECURITYSTATUSREPORTID_FH_IDX , SECURITYTRADINGSTATUS_FH_IDX , SELECTIVEREQUESTFORQUOTERTMSERVICESTATUS_FH_IDX , SELECTIVEREQUESTFORQUOTESERVICESTATUS_FH_IDX , SELECTIVEREQUESTFORQUOTESERVICETRADEDATE_FH_IDX , SENDERSUBID_FH_IDX , SENDINGTIME_FH_IDX , SESSIONINSTANCEID_FH_IDX , SESSIONMODE_FH_IDX , SESSIONREJECTREASON_FH_IDX , SESSIONSTATUS_FH_IDX , SESSIONSUBMODE_FH_IDX , SETTLCURRAMT_FH_IDX , SETTLCURRFXRATE_FH_IDX , SETTLCURRENCY_FH_IDX , SETTLDATE_FH_IDX , SIDE_FH_IDX , SIDEGROSSTRADEAMT_FH_IDX , SIDELASTQTY_FH_IDX , SIDELIQUIDITYIND_FH_IDX , SIDETRADEID_FH_IDX , SIDETRADEREPORTID_FH_IDX , SOLDOUTINDICATOR_FH_IDX , STOPPX_FH_IDX , STOPPXINDICATOR_FH_IDX , SUBSCRIPTIONSCOPE_FH_IDX , T7ENTRYSERVICERTMSTATUS_FH_IDX , T7ENTRYSERVICERTMTRADEDATE_FH_IDX , T7ENTRYSERVICESTATUS_FH_IDX , T7ENTRYSERVICETRADEDATE_FH_IDX , TESENRICHMENTRULEID_FH_IDX , TESEXECID_FH_IDX , TARGETPARTYENTERINGTRADER_FH_IDX , TARGETPARTYEXECUTINGFIRM_FH_IDX , TARGETPARTYEXECUTINGTRADER_FH_IDX , TARGETPARTYIDDESKID_FH_IDX , TARGETPARTYIDEXECUTINGTRADER_FH_IDX , TARGETPARTYIDSESSIONID_FH_IDX , TEMPLATEID_FH_IDX , THROTTLEDISCONNECTLIMIT_FH_IDX , THROTTLENOMSGS_FH_IDX , THROTTLETIMEINTERVAL_FH_IDX , TIMEINFORCE_FH_IDX , TRADSESEVENT_FH_IDX , TRADSESMODE_FH_IDX , TRADEALLOCSTATUS_FH_IDX , TRADEATCLOSEOPTIN_FH_IDX , TRADEDATE_FH_IDX , TRADEID_FH_IDX , TRADEMANAGERSTATUS_FH_IDX , TRADEMANAGERTRADEDATE_FH_IDX , TRADENUMBER_FH_IDX , TRADEPUBLISHINDICATOR_FH_IDX , TRADEREPORTID_FH_IDX , TRADEREPORTTEXT_FH_IDX , TRADEREPORTTYPE_FH_IDX , TRADINGCAPACITY_FH_IDX , TRADINGSESSIONSUBID_FH_IDX , TRANSBKDTIME_FH_IDX , TRANSACTTIME_FH_IDX , TRANSACTIONDELAYINDICATOR_FH_IDX , TRANSFERREASON_FH_IDX , TRDMATCHID_FH_IDX , TRDREGTSENTRYTIME_FH_IDX , TRDREGTSEXECUTIONTIME_FH_IDX , TRDREGTSTIMEIN_FH_IDX , TRDREGTSTIMEOUT_FH_IDX , TRDREGTSTIMEPRIORITY_FH_IDX , TRDRPTSTATUS_FH_IDX , TRDTYPE_FH_IDX , TRIGGERED_FH_IDX , USERSTATUS_FH_IDX , USERNAME_FH_IDX , VALIDUNTILTIME_FH_IDX , VALUECHECKTYPEQUANTITY_FH_IDX , VALUECHECKTYPEVALUE_FH_IDX , VARTEXT_FH_IDX , VARTEXTLEN_FH_IDX , VOLUMEDISCOVERYPRICE_FH_IDX }; static const value_string template_id_vals[] = { // TemplateID { 10000, "LogonRequest" }, { 10001, "LogonResponse" }, { 10002, "LogoutRequest" }, { 10003, "LogoutResponse" }, { 10004, "Unknown" }, { 10005, "SubscribeResponse" }, { 10006, "UnsubscribeRequest" }, { 10007, "UnsubscribeResponse" }, { 10008, "RetransmitRequest" }, { 10009, "RetransmitResponse" }, { 10010, "Reject" }, { 10011, "Heartbeat" }, { 10012, "ForcedLogoutNotification" }, { 10013, "Unknown" }, { 10014, "Unknown" }, { 10015, "Unknown" }, { 10016, "Unknown" }, { 10017, "Unknown" }, { 10018, "UserLoginRequest" }, { 10019, "UserLoginResponse" }, { 10020, "Unknown" }, { 10021, "Unknown" }, { 10022, "Unknown" }, { 10023, "HeartbeatNotification" }, { 10024, "UserLogoutResponse" }, { 10025, "SubscribeRequest" }, { 10026, "RetransmitMEMessageRequest" }, { 10027, "RetransmitMEMessageResponse" }, { 10028, "ThrottleUpdateNotification" }, { 10029, "UserLogoutRequest" }, { 10030, "ServiceAvailabilityBroadcast" }, { 10031, "NewsBroadcast" }, { 10032, "BroadcastErrorNotification" }, { 10033, "Unknown" }, { 10034, "PartyEntitlementsUpdateReport" }, { 10035, "InquireSessionListRequest" }, { 10036, "InquireSessionListResponse" }, { 10037, "LegalNotificationBroadcast" }, { 10038, "InquireUserRequest" }, { 10039, "InquireUserResponse" }, { 10040, "InquireEnrichmentRuleIDListRequest" }, { 10041, "InquireEnrichmentRuleIDListResponse" }, { 10042, "PartyActionReport" }, { 10043, "ForcedUserLogoutNotification" }, { 10044, "ServiceAvailabilityMarketBroadcast" }, { 10045, "Unknown" }, { 10046, "Unknown" }, { 10047, "Unknown" }, { 10048, "Unknown" }, { 10049, "Unknown" }, { 10050, "Unknown" }, { 10051, "Unknown" }, { 10052, "Unknown" }, { 10053, "Unknown" }, { 10054, "Unknown" }, { 10055, "Unknown" }, { 10056, "Unknown" }, { 10057, "Unknown" }, { 10058, "Unknown" }, { 10059, "Unknown" }, { 10060, "Unknown" }, { 10061, "Unknown" }, { 10062, "Unknown" }, { 10063, "Unknown" }, { 10064, "Unknown" }, { 10065, "Unknown" }, { 10066, "Unknown" }, { 10067, "Unknown" }, { 10068, "Unknown" }, { 10069, "Unknown" }, { 10070, "Unknown" }, { 10071, "Unknown" }, { 10072, "Unknown" }, { 10073, "Unknown" }, { 10074, "Unknown" }, { 10075, "Unknown" }, { 10076, "Unknown" }, { 10077, "Unknown" }, { 10078, "Unknown" }, { 10079, "Unknown" }, { 10080, "Unknown" }, { 10081, "Unknown" }, { 10082, "Unknown" }, { 10083, "Unknown" }, { 10084, "Unknown" }, { 10085, "Unknown" }, { 10086, "Unknown" }, { 10087, "Unknown" }, { 10088, "Unknown" }, { 10089, "Unknown" }, { 10090, "Unknown" }, { 10091, "Unknown" }, { 10092, "Unknown" }, { 10093, "Unknown" }, { 10094, "Unknown" }, { 10095, "Unknown" }, { 10096, "Unknown" }, { 10097, "Unknown" }, { 10098, "Unknown" }, { 10099, "Unknown" }, { 10100, "NewOrderSingleRequest" }, { 10101, "NewOrderResponse" }, { 10102, "NewOrderNRResponse" }, { 10103, "OrderExecResponse" }, { 10104, "OrderExecNotification" }, { 10105, "Unknown" }, { 10106, "ModifyOrderSingleRequest" }, { 10107, "ModifyOrderResponse" }, { 10108, "ModifyOrderNRResponse" }, { 10109, "DeleteOrderSingleRequest" }, { 10110, "DeleteOrderResponse" }, { 10111, "DeleteOrderNRResponse" }, { 10112, "DeleteOrderBroadcast" }, { 10113, "Unknown" }, { 10114, "Unknown" }, { 10115, "Unknown" }, { 10116, "Unknown" }, { 10117, "OrderExecReportBroadcast" }, { 10118, "CrossRequest" }, { 10119, "CrossRequestResponse" }, { 10120, "DeleteAllOrderRequest" }, { 10121, "DeleteAllOrderResponse" }, { 10122, "DeleteAllOrderBroadcast" }, { 10123, "Unknown" }, { 10124, "DeleteAllOrderNRResponse" }, { 10125, "NewOrderSingleShortRequest" }, { 10126, "ModifyOrderSingleShortRequest" }, { 10127, "TrailingStopUpdateNotification" }, { 10128, "ExtendedDeletionReport" }, { 10129, "Unknown" }, { 10130, "Unknown" }, { 10131, "Unknown" }, { 10132, "Unknown" }, { 10133, "Unknown" }, { 10134, "Unknown" }, { 10135, "Unknown" }, { 10136, "SpecialistOrderBookNotification" }, { 10137, "SpecialistDeleteAllOrderBroadcast" }, { 10138, "Unknown" }, { 10139, "Unknown" }, { 10140, "Unknown" }, { 10141, "Unknown" }, { 10142, "Unknown" }, { 10143, "Unknown" }, { 10144, "Unknown" }, { 10145, "Unknown" }, { 10146, "Unknown" }, { 10147, "Unknown" }, { 10148, "Unknown" }, { 10149, "Unknown" }, { 10150, "Unknown" }, { 10151, "Unknown" }, { 10152, "Unknown" }, { 10153, "Unknown" }, { 10154, "Unknown" }, { 10155, "Unknown" }, { 10156, "Unknown" }, { 10157, "Unknown" }, { 10158, "Unknown" }, { 10159, "Unknown" }, { 10160, "Unknown" }, { 10161, "Unknown" }, { 10162, "Unknown" }, { 10163, "Unknown" }, { 10164, "Unknown" }, { 10165, "Unknown" }, { 10166, "Unknown" }, { 10167, "Unknown" }, { 10168, "Unknown" }, { 10169, "Unknown" }, { 10170, "Unknown" }, { 10171, "Unknown" }, { 10172, "Unknown" }, { 10173, "Unknown" }, { 10174, "Unknown" }, { 10175, "Unknown" }, { 10176, "Unknown" }, { 10177, "Unknown" }, { 10178, "Unknown" }, { 10179, "Unknown" }, { 10180, "Unknown" }, { 10181, "Unknown" }, { 10182, "Unknown" }, { 10183, "Unknown" }, { 10184, "Unknown" }, { 10185, "Unknown" }, { 10186, "Unknown" }, { 10187, "Unknown" }, { 10188, "Unknown" }, { 10189, "Unknown" }, { 10190, "Unknown" }, { 10191, "Unknown" }, { 10192, "Unknown" }, { 10193, "Unknown" }, { 10194, "Unknown" }, { 10195, "Unknown" }, { 10196, "Unknown" }, { 10197, "Unknown" }, { 10198, "Unknown" }, { 10199, "Unknown" }, { 10200, "Unknown" }, { 10201, "Unknown" }, { 10202, "Unknown" }, { 10203, "Unknown" }, { 10204, "Unknown" }, { 10205, "Unknown" }, { 10206, "Unknown" }, { 10207, "Unknown" }, { 10208, "Unknown" }, { 10209, "Unknown" }, { 10210, "Unknown" }, { 10211, "Unknown" }, { 10212, "Unknown" }, { 10213, "Unknown" }, { 10214, "Unknown" }, { 10215, "Unknown" }, { 10216, "Unknown" }, { 10217, "Unknown" }, { 10218, "Unknown" }, { 10219, "Unknown" }, { 10220, "Unknown" }, { 10221, "Unknown" }, { 10222, "Unknown" }, { 10223, "Unknown" }, { 10224, "Unknown" }, { 10225, "Unknown" }, { 10226, "Unknown" }, { 10227, "Unknown" }, { 10228, "Unknown" }, { 10229, "Unknown" }, { 10230, "Unknown" }, { 10231, "Unknown" }, { 10232, "Unknown" }, { 10233, "Unknown" }, { 10234, "Unknown" }, { 10235, "Unknown" }, { 10236, "Unknown" }, { 10237, "Unknown" }, { 10238, "Unknown" }, { 10239, "Unknown" }, { 10240, "Unknown" }, { 10241, "Unknown" }, { 10242, "Unknown" }, { 10243, "Unknown" }, { 10244, "Unknown" }, { 10245, "Unknown" }, { 10246, "Unknown" }, { 10247, "Unknown" }, { 10248, "Unknown" }, { 10249, "Unknown" }, { 10250, "Unknown" }, { 10251, "Unknown" }, { 10252, "Unknown" }, { 10253, "Unknown" }, { 10254, "Unknown" }, { 10255, "Unknown" }, { 10256, "Unknown" }, { 10257, "Unknown" }, { 10258, "Unknown" }, { 10259, "Unknown" }, { 10260, "Unknown" }, { 10261, "Unknown" }, { 10262, "Unknown" }, { 10263, "Unknown" }, { 10264, "Unknown" }, { 10265, "Unknown" }, { 10266, "Unknown" }, { 10267, "Unknown" }, { 10268, "Unknown" }, { 10269, "Unknown" }, { 10270, "Unknown" }, { 10271, "Unknown" }, { 10272, "Unknown" }, { 10273, "Unknown" }, { 10274, "Unknown" }, { 10275, "Unknown" }, { 10276, "Unknown" }, { 10277, "Unknown" }, { 10278, "Unknown" }, { 10279, "Unknown" }, { 10280, "Unknown" }, { 10281, "Unknown" }, { 10282, "Unknown" }, { 10283, "Unknown" }, { 10284, "Unknown" }, { 10285, "Unknown" }, { 10286, "Unknown" }, { 10287, "Unknown" }, { 10288, "Unknown" }, { 10289, "Unknown" }, { 10290, "Unknown" }, { 10291, "Unknown" }, { 10292, "Unknown" }, { 10293, "Unknown" }, { 10294, "Unknown" }, { 10295, "Unknown" }, { 10296, "Unknown" }, { 10297, "Unknown" }, { 10298, "Unknown" }, { 10299, "Unknown" }, { 10300, "Unknown" }, { 10301, "Unknown" }, { 10302, "Unknown" }, { 10303, "Unknown" }, { 10304, "Unknown" }, { 10305, "Unknown" }, { 10306, "Unknown" }, { 10307, "TradingSessionStatusBroadcast" }, { 10308, "DeleteAllOrderQuoteEventBroadcast" }, { 10309, "Unknown" }, { 10310, "Unknown" }, { 10311, "Unknown" }, { 10312, "Unknown" }, { 10313, "Unknown" }, { 10314, "IssuerSecurityStateChangeRequest" }, { 10315, "IssuerSecurityStateChangeResponse" }, { 10316, "IssuerNotification" }, { 10317, "SpecialistSecurityStateChangeRequest" }, { 10318, "SpecialistSecurityStateChangeResponse" }, { 10319, "SpecialistInstrumentEventNotification" }, { 10320, "PingRequest" }, { 10321, "PingResponse" }, { 10322, "Unknown" }, { 10323, "Unknown" }, { 10324, "Unknown" }, { 10325, "Unknown" }, { 10326, "Unknown" }, { 10327, "Unknown" }, { 10328, "Unknown" }, { 10329, "Unknown" }, { 10330, "Unknown" }, { 10331, "Unknown" }, { 10332, "Unknown" }, { 10333, "Unknown" }, { 10334, "Unknown" }, { 10335, "Unknown" }, { 10336, "Unknown" }, { 10337, "Unknown" }, { 10338, "Unknown" }, { 10339, "Unknown" }, { 10340, "Unknown" }, { 10341, "Unknown" }, { 10342, "Unknown" }, { 10343, "Unknown" }, { 10344, "Unknown" }, { 10345, "Unknown" }, { 10346, "Unknown" }, { 10347, "Unknown" }, { 10348, "Unknown" }, { 10349, "Unknown" }, { 10350, "Unknown" }, { 10351, "Unknown" }, { 10352, "Unknown" }, { 10353, "Unknown" }, { 10354, "Unknown" }, { 10355, "Unknown" }, { 10356, "Unknown" }, { 10357, "Unknown" }, { 10358, "Unknown" }, { 10359, "Unknown" }, { 10360, "Unknown" }, { 10361, "Unknown" }, { 10362, "Unknown" }, { 10363, "Unknown" }, { 10364, "Unknown" }, { 10365, "Unknown" }, { 10366, "Unknown" }, { 10367, "Unknown" }, { 10368, "Unknown" }, { 10369, "Unknown" }, { 10370, "Unknown" }, { 10371, "Unknown" }, { 10372, "Unknown" }, { 10373, "Unknown" }, { 10374, "Unknown" }, { 10375, "Unknown" }, { 10376, "Unknown" }, { 10377, "Unknown" }, { 10378, "Unknown" }, { 10379, "Unknown" }, { 10380, "Unknown" }, { 10381, "Unknown" }, { 10382, "Unknown" }, { 10383, "Unknown" }, { 10384, "Unknown" }, { 10385, "Unknown" }, { 10386, "Unknown" }, { 10387, "Unknown" }, { 10388, "Unknown" }, { 10389, "Unknown" }, { 10390, "Unknown" }, { 10391, "Unknown" }, { 10392, "Unknown" }, { 10393, "Unknown" }, { 10394, "Unknown" }, { 10395, "Unknown" }, { 10396, "Unknown" }, { 10397, "Unknown" }, { 10398, "Unknown" }, { 10399, "Unknown" }, { 10400, "Unknown" }, { 10401, "RFQRequest" }, { 10402, "RFQResponse" }, { 10403, "QuoteActivationRequest" }, { 10404, "QuoteActivationResponse" }, { 10405, "MassQuoteRequest" }, { 10406, "MassQuoteResponse" }, { 10407, "QuoteExecutionReport" }, { 10408, "DeleteAllQuoteRequest" }, { 10409, "DeleteAllQuoteResponse" }, { 10410, "DeleteAllQuoteBroadcast" }, { 10411, "QuoteActivationNotification" }, { 10412, "Unknown" }, { 10413, "Unknown" }, { 10414, "Unknown" }, { 10415, "RFQBroadcast" }, { 10416, "Unknown" }, { 10417, "Unknown" }, { 10418, "SingleQuoteRequest" }, { 10419, "RFQSpecialistBroadcast" }, { 10420, "RFQRejectNotification" }, { 10421, "SpecialistRFQRejectRequest" }, { 10422, "SpecialistRFQReplyRequest" }, { 10423, "SpecialistRFQReplyResponse" }, { 10424, "SpecialistRFQReplyNotification" }, { 10425, "Unknown" }, { 10426, "Unknown" }, { 10427, "Unknown" }, { 10428, "Unknown" }, { 10429, "Unknown" }, { 10430, "Unknown" }, { 10431, "Unknown" }, { 10432, "Unknown" }, { 10433, "Unknown" }, { 10434, "Unknown" }, { 10435, "Unknown" }, { 10436, "Unknown" }, { 10437, "Unknown" }, { 10438, "Unknown" }, { 10439, "Unknown" }, { 10440, "Unknown" }, { 10441, "Unknown" }, { 10442, "Unknown" }, { 10443, "Unknown" }, { 10444, "Unknown" }, { 10445, "Unknown" }, { 10446, "Unknown" }, { 10447, "Unknown" }, { 10448, "Unknown" }, { 10449, "Unknown" }, { 10450, "Unknown" }, { 10451, "Unknown" }, { 10452, "Unknown" }, { 10453, "Unknown" }, { 10454, "Unknown" }, { 10455, "Unknown" }, { 10456, "Unknown" }, { 10457, "Unknown" }, { 10458, "Unknown" }, { 10459, "Unknown" }, { 10460, "Unknown" }, { 10461, "Unknown" }, { 10462, "Unknown" }, { 10463, "Unknown" }, { 10464, "Unknown" }, { 10465, "Unknown" }, { 10466, "Unknown" }, { 10467, "Unknown" }, { 10468, "Unknown" }, { 10469, "Unknown" }, { 10470, "Unknown" }, { 10471, "Unknown" }, { 10472, "Unknown" }, { 10473, "Unknown" }, { 10474, "Unknown" }, { 10475, "Unknown" }, { 10476, "Unknown" }, { 10477, "Unknown" }, { 10478, "Unknown" }, { 10479, "Unknown" }, { 10480, "Unknown" }, { 10481, "Unknown" }, { 10482, "Unknown" }, { 10483, "Unknown" }, { 10484, "Unknown" }, { 10485, "Unknown" }, { 10486, "Unknown" }, { 10487, "Unknown" }, { 10488, "Unknown" }, { 10489, "Unknown" }, { 10490, "Unknown" }, { 10491, "Unknown" }, { 10492, "Unknown" }, { 10493, "Unknown" }, { 10494, "Unknown" }, { 10495, "Unknown" }, { 10496, "Unknown" }, { 10497, "Unknown" }, { 10498, "Unknown" }, { 10499, "Unknown" }, { 10500, "TradeBroadcast" }, { 10501, "TMTradingSessionStatusBroadcast" }, { 10502, "Unknown" }, { 10503, "Unknown" }, { 10504, "Unknown" }, { 10505, "Unknown" }, { 10506, "Unknown" }, { 10507, "Unknown" }, { 10508, "Unknown" }, { 10509, "Unknown" }, { 10510, "Unknown" }, { 10511, "Unknown" }, { 10512, "Unknown" }, { 10513, "Unknown" }, { 10514, "Unknown" }, { 10515, "Unknown" }, { 10516, "Unknown" }, { 10517, "Unknown" }, { 10518, "Unknown" }, { 10519, "Unknown" }, { 10520, "Unknown" }, { 10521, "Unknown" }, { 10522, "Unknown" }, { 10523, "Unknown" }, { 10524, "Unknown" }, { 10525, "Unknown" }, { 10526, "Unknown" }, { 10527, "Unknown" }, { 10528, "Unknown" }, { 10529, "Unknown" }, { 10530, "Unknown" }, { 10531, "Unknown" }, { 10532, "Unknown" }, { 10533, "Unknown" }, { 10534, "Unknown" }, { 10535, "Unknown" }, { 10536, "Unknown" }, { 10537, "Unknown" }, { 10538, "Unknown" }, { 10539, "Unknown" }, { 10540, "Unknown" }, { 10541, "Unknown" }, { 10542, "Unknown" }, { 10543, "Unknown" }, { 10544, "Unknown" }, { 10545, "Unknown" }, { 10546, "Unknown" }, { 10547, "Unknown" }, { 10548, "Unknown" }, { 10549, "Unknown" }, { 10550, "Unknown" }, { 10551, "Unknown" }, { 10552, "Unknown" }, { 10553, "Unknown" }, { 10554, "Unknown" }, { 10555, "Unknown" }, { 10556, "Unknown" }, { 10557, "Unknown" }, { 10558, "Unknown" }, { 10559, "Unknown" }, { 10560, "Unknown" }, { 10561, "Unknown" }, { 10562, "Unknown" }, { 10563, "Unknown" }, { 10564, "Unknown" }, { 10565, "Unknown" }, { 10566, "Unknown" }, { 10567, "Unknown" }, { 10568, "Unknown" }, { 10569, "Unknown" }, { 10570, "Unknown" }, { 10571, "Unknown" }, { 10572, "Unknown" }, { 10573, "Unknown" }, { 10574, "Unknown" }, { 10575, "Unknown" }, { 10576, "Unknown" }, { 10577, "Unknown" }, { 10578, "Unknown" }, { 10579, "Unknown" }, { 10580, "Unknown" }, { 10581, "Unknown" }, { 10582, "Unknown" }, { 10583, "Unknown" }, { 10584, "Unknown" }, { 10585, "Unknown" }, { 10586, "Unknown" }, { 10587, "Unknown" }, { 10588, "Unknown" }, { 10589, "Unknown" }, { 10590, "Unknown" }, { 10591, "Unknown" }, { 10592, "Unknown" }, { 10593, "Unknown" }, { 10594, "Unknown" }, { 10595, "Unknown" }, { 10596, "Unknown" }, { 10597, "Unknown" }, { 10598, "Unknown" }, { 10599, "Unknown" }, { 10600, "EnterTESTradeRequest" }, { 10601, "ModifyTESTradeRequest" }, { 10602, "DeleteTESTradeRequest" }, { 10603, "ApproveTESTradeRequest" }, { 10604, "TESBroadcast" }, { 10605, "Unknown" }, { 10606, "TESDeleteBroadcast" }, { 10607, "TESApproveBroadcast" }, { 10608, "Unknown" }, { 10609, "Unknown" }, { 10610, "TESExecutionBroadcast" }, { 10611, "TESResponse" }, { 10612, "Unknown" }, { 10613, "Unknown" }, { 10614, "TESTradeBroadcast" }, { 10615, "TESTradingSessionStatusBroadcast" }, { 10616, "Unknown" }, { 10617, "Unknown" }, { 10618, "Unknown" }, { 10619, "Unknown" }, { 10620, "Unknown" }, { 10621, "Unknown" }, { 10622, "Unknown" }, { 10623, "Unknown" }, { 10624, "Unknown" }, { 10625, "Unknown" }, { 10626, "Unknown" }, { 10627, "Unknown" }, { 10628, "Unknown" }, { 10629, "Unknown" }, { 10630, "Unknown" }, { 10631, "Unknown" }, { 10632, "Unknown" }, { 10633, "Unknown" }, { 10634, "Unknown" }, { 10635, "Unknown" }, { 10636, "Unknown" }, { 10637, "Unknown" }, { 10638, "Unknown" }, { 10639, "Unknown" }, { 10640, "Unknown" }, { 10641, "Unknown" }, { 10642, "Unknown" }, { 10643, "Unknown" }, { 10644, "Unknown" }, { 10645, "Unknown" }, { 10646, "Unknown" }, { 10647, "Unknown" }, { 10648, "Unknown" }, { 10649, "Unknown" }, { 10650, "Unknown" }, { 10651, "Unknown" }, { 10652, "Unknown" }, { 10653, "Unknown" }, { 10654, "Unknown" }, { 10655, "Unknown" }, { 10656, "Unknown" }, { 10657, "Unknown" }, { 10658, "Unknown" }, { 10659, "Unknown" }, { 10660, "Unknown" }, { 10661, "Unknown" }, { 10662, "Unknown" }, { 10663, "Unknown" }, { 10664, "Unknown" }, { 10665, "Unknown" }, { 10666, "Unknown" }, { 10667, "Unknown" }, { 10668, "Unknown" }, { 10669, "Unknown" }, { 10670, "Unknown" }, { 10671, "Unknown" }, { 10672, "Unknown" }, { 10673, "Unknown" }, { 10674, "Unknown" }, { 10675, "Unknown" }, { 10676, "Unknown" }, { 10677, "Unknown" }, { 10678, "Unknown" }, { 10679, "Unknown" }, { 10680, "Unknown" }, { 10681, "Unknown" }, { 10682, "Unknown" }, { 10683, "Unknown" }, { 10684, "Unknown" }, { 10685, "Unknown" }, { 10686, "Unknown" }, { 10687, "Unknown" }, { 10688, "Unknown" }, { 10689, "Unknown" }, { 10690, "Unknown" }, { 10691, "Unknown" }, { 10692, "Unknown" }, { 10693, "Unknown" }, { 10694, "Unknown" }, { 10695, "Unknown" }, { 10696, "Unknown" }, { 10697, "Unknown" }, { 10698, "Unknown" }, { 10699, "Unknown" }, { 10700, "Unknown" }, { 10701, "Unknown" }, { 10702, "Unknown" }, { 10703, "Unknown" }, { 10704, "Unknown" }, { 10705, "Unknown" }, { 10706, "Unknown" }, { 10707, "Unknown" }, { 10708, "Unknown" }, { 10709, "Unknown" }, { 10710, "Unknown" }, { 10711, "Unknown" }, { 10712, "Unknown" }, { 10713, "Unknown" }, { 10714, "Unknown" }, { 10715, "Unknown" }, { 10716, "Unknown" }, { 10717, "Unknown" }, { 10718, "Unknown" }, { 10719, "Unknown" }, { 10720, "Unknown" }, { 10721, "Unknown" }, { 10722, "Unknown" }, { 10723, "Unknown" }, { 10724, "Unknown" }, { 10725, "Unknown" }, { 10726, "Unknown" }, { 10727, "Unknown" }, { 10728, "Unknown" }, { 10729, "Unknown" }, { 10730, "Unknown" }, { 10731, "Unknown" }, { 10732, "Unknown" }, { 10733, "Unknown" }, { 10734, "Unknown" }, { 10735, "Unknown" }, { 10736, "Unknown" }, { 10737, "Unknown" }, { 10738, "Unknown" }, { 10739, "Unknown" }, { 10740, "Unknown" }, { 10741, "Unknown" }, { 10742, "Unknown" }, { 10743, "Unknown" }, { 10744, "Unknown" }, { 10745, "Unknown" }, { 10746, "Unknown" }, { 10747, "Unknown" }, { 10748, "Unknown" }, { 10749, "Unknown" }, { 10750, "Unknown" }, { 10751, "Unknown" }, { 10752, "Unknown" }, { 10753, "Unknown" }, { 10754, "Unknown" }, { 10755, "Unknown" }, { 10756, "Unknown" }, { 10757, "Unknown" }, { 10758, "Unknown" }, { 10759, "Unknown" }, { 10760, "Unknown" }, { 10761, "Unknown" }, { 10762, "Unknown" }, { 10763, "Unknown" }, { 10764, "Unknown" }, { 10765, "Unknown" }, { 10766, "Unknown" }, { 10767, "Unknown" }, { 10768, "Unknown" }, { 10769, "Unknown" }, { 10770, "Unknown" }, { 10771, "Unknown" }, { 10772, "Unknown" }, { 10773, "Unknown" }, { 10774, "Unknown" }, { 10775, "Unknown" }, { 10776, "Unknown" }, { 10777, "Unknown" }, { 10778, "Unknown" }, { 10779, "Unknown" }, { 10780, "Unknown" }, { 10781, "Unknown" }, { 10782, "Unknown" }, { 10783, "Unknown" }, { 10784, "Unknown" }, { 10785, "Unknown" }, { 10786, "Unknown" }, { 10787, "Unknown" }, { 10788, "Unknown" }, { 10789, "Unknown" }, { 10790, "Unknown" }, { 10791, "Unknown" }, { 10792, "Unknown" }, { 10793, "Unknown" }, { 10794, "Unknown" }, { 10795, "Unknown" }, { 10796, "Unknown" }, { 10797, "Unknown" }, { 10798, "Unknown" }, { 10799, "Unknown" }, { 10800, "XetraEnLightOpenNegotiationRequest" }, { 10801, "XetraEnLightUpdateNegotiationRequest" }, { 10802, "XetraEnLightEnterQuoteRequest" }, { 10803, "XetraEnLightQuoteResponse" }, { 10804, "XetraEnLightHitQuoteRequest" }, { 10805, "XetraEnLightDealResponse" }, { 10806, "Unknown" }, { 10807, "XetraEnLightQuoteNotification" }, { 10808, "XetraEnLightCreateDealNotification" }, { 10809, "Unknown" }, { 10810, "XetraEnLightOpenNegotiationRequesterNotification" }, { 10811, "XetraEnLightOpenNegotiationNotification" }, { 10812, "XetraEnLightNegotiationRequesterNotification" }, { 10813, "XetraEnLightNegotiationNotification" }, { 10814, "XetraEnLightStatusBroadcast" }, { 10815, "XetraEnLightNegotiationStatusNotification" }, { 10816, "XetraEnLightQuoteRequesterNotification" }, { 10817, "XetraEnLightQuotingStatusRequest" }, { 0, NULL } }; static value_string_ext template_id_vals_ext = VALUE_STRING_EXT_INIT(template_id_vals); static const value_string alloc_method_vals[] = { // AllocMethod { 1, "Automatic_Random" }, { 3, "Manual" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string appl_id_vals[] = { // ApplID { 1, "Trade" }, { 2, "News" }, { 3, "Service_availability" }, { 4, "Session_data" }, { 5, "Listener_data" }, { 6, "RiskControl" }, { 7, "TES_Maintenance" }, { 8, "TES_Trade" }, { 9, "SRQS_Maintenance" }, { 10, "Service_Availability_Market" }, { 11, "Specialist_Data" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext appl_id_vals_ext = VALUE_STRING_EXT_INIT(appl_id_vals); static const value_string appl_idstatus_vals[] = { // ApplIDStatus { 105, "Outbound_conversion_error" }, { 0xFFFFFFFF, "NO_VALUE" }, { 0, NULL } }; static const value_string appl_resend_flag_vals[] = { // ApplResendFlag { 0, "False" }, { 1, "True" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string appl_seq_indicator_vals[] = { // ApplSeqIndicator { 0, "No_Recovery_Required" }, { 1, "Recovery_Required" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string appl_seq_status_vals[] = { // ApplSeqStatus { 0, "Unavailable" }, { 1, "Available" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string appl_usage_orders_vals[] = { // ApplUsageOrders { 0, "NO_VALUE" }, { 'A', "Automated" }, { 'B', "AutoSelect" }, { 'M', "Manual" }, { 'N', "None" }, { 0, NULL } }; // ApplUsageQuotes aliased by ApplUsageOrders static const value_string clearing_instruction_vals[] = { // ClearingInstruction { 2, "Bilateral_netting_only" }, { 13, "Self_clearing" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string crossed_indicator_vals[] = { // CrossedIndicator { 0, "No_crossing" }, { 1, "Cross_rejected" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string delete_reason_vals[] = { // DeleteReason { 100, "No_special_reason" }, { 101, "TAS_Change" }, { 102, "Intraday_Expiration" }, { 103, "Risk_Event" }, { 104, "Stop_Trading" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string delivery_type_vals[] = { // DeliveryType { 1, "AKV" }, { 2, "GS" }, { 3, "STR" }, { 4, "WPR" }, { 5, "AKT" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string event_type_vals[] = { // EventType { 26, "Redemption" }, { 100, "Delisting" }, { 104, "Instrument_Assignment_Added" }, { 105, "Instrument_Assignment_Removed" }, { 106, "Closed" }, { 107, "Restricted" }, { 108, "Book" }, { 109, "Continuous" }, { 110, "Auction" }, { 111, "Freeze" }, { 112, "Cancel_Freeze" }, { 113, "Pre_Call" }, { 114, "End_of_Restatement" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext event_type_vals_ext = VALUE_STRING_EXT_INIT(event_type_vals); static const value_string exec_inst_vals[] = { // ExecInst { 1, "H" }, { 2, "Q" }, { 3, "H_Q" }, { 5, "H_6" }, { 6, "Q_6" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string exec_restatement_reason_vals[] = { // ExecRestatementReason { 0, "Corporate_Action" }, { 1, "Order_Book_Restatement" }, { 8, "Exchange_Option" }, { 101, "Order_Added" }, { 102, "Order_Modified" }, { 103, "Order_Cancelled" }, { 105, "IOC_Order_Cancelled" }, { 107, "FOK_Order_Cancelled" }, { 108, "Book_Order_Executed" }, { 114, "Changed_to_IOC" }, { 119, "Change_of_Specialist" }, { 122, "Instrument_State_Change" }, { 138, "Pending_New" }, { 139, "Pending_Replace" }, { 141, "Pending_New_Applied" }, { 142, "Pending_Replace_Applied" }, { 146, "End_Of_Day_Processing" }, { 148, "Order_Expiration" }, { 149, "CAO_Order_Activated" }, { 150, "CAO_Order_Inactivated" }, { 151, "OAO_Order_Activated" }, { 152, "OAO_Order_Inactivated" }, { 153, "AAO_Order_Activated" }, { 154, "AAO_Order_Inactivated" }, { 155, "Order_Refreshed" }, { 159, "IAO_Order_Activated" }, { 160, "IAO_Order_Inactivated" }, { 164, "OCO_Order_Triggered" }, { 172, "Stop_Order_Triggered" }, { 181, "Ownership_Changed" }, { 197, "Order_Cancellation_Pending" }, { 199, "Pending_Cancellation_Executed" }, { 212, "BOC_Order_Cancelled" }, { 213, "Trailing_Stop_Update" }, { 237, "Exceeds_Maximum_Quantity" }, { 238, "Invalid_Limit_Price" }, { 241, "User_Does_Not_Exist" }, { 242, "Session_Does_Not_Exist" }, { 243, "Invalid_Stop_Price" }, { 245, "Instrument_Does_Not_Exist" }, { 246, "Business_Unit_Risk_Event" }, { 261, "Panic_Cancel" }, { 292, "Dividend_Payment" }, { 294, "Last_Trading_Day" }, { 295, "Trading_Parameter_Change" }, { 296, "Currency_Change" }, { 297, "Product_Assignment_Change" }, { 298, "Reference_Price_Change" }, { 300, "Tick_Rule_Change" }, { 316, "QRS_Expiry" }, { 0xFFFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext exec_restatement_reason_vals_ext = VALUE_STRING_EXT_INIT(exec_restatement_reason_vals); static const value_string exec_type_vals[] = { // ExecType { 0, "NO_VALUE" }, { '0', "New" }, { '4', "Canceled" }, { '5', "Replaced" }, { '6', "Pending_Cancel_e" }, { '9', "Suspended" }, { 'A', "Pending_New" }, { 'D', "Restated" }, { 'E', "Pending_Replace" }, { 'F', "Trade" }, { 'L', "Triggered" }, { 0, NULL } }; static value_string_ext exec_type_vals_ext = VALUE_STRING_EXT_INIT(exec_type_vals); static const value_string executing_trader_qualifier_vals[] = { // ExecutingTraderQualifier { 22, "Algo" }, { 24, "Human" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string fill_liquidity_ind_vals[] = { // FillLiquidityInd { 1, "Added_Liquidity" }, { 2, "Removed_Liquidity" }, { 4, "Auction" }, { 5, "Triggered_Stop_Order" }, { 6, "Triggered_OCO_Order" }, { 7, "Triggered_Market_Order" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string last_coupon_deviation_indicator_vals[] = { // LastCouponDeviationIndicator { 0, "None" }, { 1, "Short_period" }, { 2, "Long_period" }, { 3, "Only_one_coupon" }, { 4, "Short_two_interest_payments_due" }, { 5, "Long_two_interest_payments_due" }, { 6, "Perpetual" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext last_coupon_deviation_indicator_vals_ext = VALUE_STRING_EXT_INIT(last_coupon_deviation_indicator_vals); static const value_string last_fragment_vals[] = { // LastFragment { 0, "Not_Last_Message" }, { 1, "Last_Message" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string last_mkt_vals[] = { // LastMkt { 3, "XETR" }, { 4, "XVIE" }, { 6, "XMAL" }, { 7, "XBUL" }, { 8, "XBUD" }, { 9, "XLJU" }, { 10, "XPRA" }, { 11, "XZAG" }, { 13, "XFRA" }, { 0xFFFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext last_mkt_vals_ext = VALUE_STRING_EXT_INIT(last_mkt_vals); static const value_string list_update_action_vals[] = { // ListUpdateAction { 0, "NO_VALUE" }, { 'A', "Add" }, { 'D', "Delete" }, { 0, NULL } }; static const value_string mdbook_type_vals[] = { // MDBookType { 1, "TopOfBook" }, { 2, "PriceDepth" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string mdsub_book_type_vals[] = { // MDSubBookType { 2, "VolumeWeightedAverage" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // MarketID aliased by LastMkt static const value_string mass_action_reason_vals[] = { // MassActionReason { 0, "No_Special_Reason" }, { 1, "Stop_Trading" }, { 2, "Emergency" }, { 6, "Session_Loss" }, { 7, "Duplicate_Session_Login" }, { 8, "Clearing_Risk_Control" }, { 100, "Internal_Connection_Loss" }, { 105, "Product_State_Halt" }, { 106, "Product_State_Holiday" }, { 107, "Instrument_Suspended" }, { 110, "Volatility_Interruption" }, { 111, "Product_temporarily_not_tradeable" }, { 113, "Instrument_Stopped" }, { 115, "Instrument_Knock_Out" }, { 116, "Instrument_Sold_Out" }, { 118, "Instrument_Knock_Out_Reverted" }, { 119, "Automatic_Quote_Deletion" }, { 120, "Outside_Quoting_Period" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext mass_action_reason_vals_ext = VALUE_STRING_EXT_INIT(mass_action_reason_vals); static const value_string mass_action_type_vals[] = { // MassActionType { 1, "Suspend_quotes" }, { 2, "Release_quotes" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string match_sub_type_vals[] = { // MatchSubType { 1, "Opening_Auction" }, { 2, "Closing_Auction" }, { 3, "Intraday_Auction" }, { 4, "Circuit_Breaker_Auction" }, { 5, "TRADE_AT_CLOSE" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string match_type_vals[] = { // MatchType { 3, "Confirmed_Trade_Report" }, { 4, "Auto_match_incoming" }, { 5, "Cross_Auction" }, { 7, "Call_Auction" }, { 11, "Auto_match_resting" }, { 12, "Auto_match_at_mid_point" }, { 14, "Continuous_Auction" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext match_type_vals_ext = VALUE_STRING_EXT_INIT(match_type_vals); // MatchingEngineStatus aliased by ApplSeqStatus static const value_string message_event_source_vals[] = { // MessageEventSource { 0, "NO_VALUE" }, { 'A', "Broadcast_to_Approver" }, { 'I', "Broadcast_to_Initiator" }, { 'Q', "Broadcast_to_Quote_Submitter" }, { 'R', "Broadcast_to_Requester" }, { 0, NULL } }; static const value_string number_of_resp_disclosure_instruction_vals[] = { // NumberOfRespDisclosureInstruction { 0, "No" }, { 1, "Yes" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string ord_status_vals[] = { // OrdStatus { 0, "NO_VALUE" }, { '0', "New" }, { '1', "Partially_filled" }, { '2', "Filled" }, { '4', "Canceled" }, { '6', "Pending_Cancel" }, { '9', "Suspended" }, { 'A', "Pending_New" }, { 'E', "Pending_Replace" }, { 0, NULL } }; static value_string_ext ord_status_vals_ext = VALUE_STRING_EXT_INIT(ord_status_vals); static const value_string ord_type_vals[] = { // OrdType { 1, "Market" }, { 2, "Limit" }, { 3, "Stop" }, { 4, "Stop_Limit" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string order_attribute_liquidity_provision_vals[] = { // OrderAttributeLiquidityProvision { 0, "N" }, { 1, "Y" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string order_category_vals[] = { // OrderCategory { 0, "NO_VALUE" }, { '1', "Order" }, { '2', "Quote" }, { 0, NULL } }; static const value_string order_event_reason_vals[] = { // OrderEventReason { 100, "SMP" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string order_event_type_vals[] = { // OrderEventType { 100, "Pending_requests_discarded" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string order_origination_vals[] = { // OrderOrigination { 5, "Direct_access_or_sponsored_access_customer" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string order_routing_indicator_vals[] = { // OrderRoutingIndicator { 0, "NO_VALUE" }, { 'N', "No" }, { 'Y', "Yes" }, { 0, NULL } }; static const value_string ownership_indicator_vals[] = { // OwnershipIndicator { 0, "No_Change_of_Ownership" }, { 1, "Change_to_Executing_Trader" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string party_action_type_vals[] = { // PartyActionType { 1, "Halt_Trading" }, { 2, "Reinstate" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string party_detail_role_qualifier_vals[] = { // PartyDetailRoleQualifier { 10, "Trader" }, { 11, "Head_Trader" }, { 12, "Supervisor" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string party_detail_status_vals[] = { // PartyDetailStatus { 0, "Active" }, { 1, "Suspend" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string party_identering_firm_vals[] = { // PartyIDEnteringFirm { 1, "Participant" }, { 2, "MarketSupervision" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // PartyIdInvestmentDecisionMakerQualifier aliased by ExecutingTraderQualifier static const value_string price_validity_check_type_vals[] = { // PriceValidityCheckType { 0, "None" }, { 2, "Mandatory" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quote_cancel_type_vals[] = { // QuoteCancelType { 4, "Cancel_All_Quotes" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quote_entry_reject_reason_vals[] = { // QuoteEntryRejectReason { 1, "Unknown_Security" }, { 6, "Duplicate_Quote" }, { 8, "Invalid_Price" }, { 16, "No_Reference_Price_Available" }, { 100, "No_Single_Sided_Quotes" }, { 103, "Invalid_Quoting_Model" }, { 106, "Invalid_Size" }, { 108, "Bid_Price_Not_Reasonable" }, { 109, "Ask_Price_Not_Reasonable" }, { 110, "Bid_Price_Exceeds_Range" }, { 111, "Ask_Price_Exceeds_Range" }, { 115, "Instrument_State_Freeze" }, { 116, "Deletion_Already_Pending" }, { 120, "Bid_Value_Exceeds_Limit" }, { 121, "Ask_Value_Exceeds_Limit" }, { 122, "Not_Tradeable_For_BusinessUnit" }, { 125, "Quantity_Limit_Exceeded" }, { 126, "Value_Limit_Exceeded" }, { 127, "Invalid_Quote_Spread" }, { 131, "Cant_Proc_In_Curr_Instr_State" }, { 134, "Invalid_Quote_Type" }, { 135, "PWT_Quote_not_allowed_in_current_state" }, { 136, "Standard_Quote_not_allowed_in_current_state" }, { 137, "PWT_Quote_not_allowed_with_crossed_book" }, { 138, "Ask_side_quote_not_allowed" }, { 139, "Ask_side_quote_with_qty_not_allowed" }, { 140, "Invalid_change_LP_session" }, { 144, "On_Book_Trading_disabled_for_Instrument_Type" }, { 145, "LP_licence_not_assigned" }, { 146, "SP_licence_not_assigned" }, { 147, "Liquidity_provider_protection_bid_side_cancelled" }, { 148, "Liquidity_provider_protection_ask_side_cancelled" }, { 149, "Quantity_Limit_Exceeded_Instrument" }, { 150, "Value_Limit_Exceeded_Instrument" }, { 151, "Issuer_Stopped" }, { 152, "Partial_Exec_Of_QRS_Order" }, { 153, "Matching_Quote_Not_Allowed_In_Current_State" }, { 155, "Outside_Quoting_Period" }, { 156, "Match_Price_Not_On_Price_Step" }, { 161, "Quantity_Limit_Exceeds_TSL" }, { 162, "Invalid_TradingSessionSubID_for_Instrument" }, { 163, "Too_Many_Orders_and_Quotes_in_Order_Book" }, { 164, "Inactive_Cover" }, { 165, "Indicative_Quote_not_allowed_in_current_state" }, { 0xFFFFFFFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext quote_entry_reject_reason_vals_ext = VALUE_STRING_EXT_INIT(quote_entry_reject_reason_vals); static const value_string quote_entry_status_vals[] = { // QuoteEntryStatus { 0, "Accepted" }, { 5, "Rejected" }, { 6, "Removed_and_Rejected" }, { 10, "Pending" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quote_event_liquidity_ind_vals[] = { // QuoteEventLiquidityInd { 1, "Added_Liquidity" }, { 2, "Removed_Liquidity" }, { 4, "Auction" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quote_event_reason_vals[] = { // QuoteEventReason { 14, "Pending_cancellation_executed" }, { 15, "Invalid_price" }, { 16, "Cross_rejected" }, { 18, "PLP" }, { 19, "Price_not_Top_of_Book" }, { 20, "Random_Selection" }, { 21, "Manual_Selection" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext quote_event_reason_vals_ext = VALUE_STRING_EXT_INIT(quote_event_reason_vals); static const value_string quote_event_side_vals[] = { // QuoteEventSide { 1, "Buy" }, { 2, "Sell" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quote_event_type_vals[] = { // QuoteEventType { 2, "Modified_quote_side" }, { 3, "Removed_quote_side" }, { 4, "Partially_filled" }, { 5, "Filled" }, { 6, "Removed_Quantity" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quote_request_reject_reason_vals[] = { // QuoteRequestRejectReason { 2, "Exchange_closed" }, { 99, "Other" }, { 100, "Requested_size_too_small" }, { 101, "Requested_size_too_big" }, { 102, "No_valid_quote_from_issuer" }, { 103, "Sold_out" }, { 104, "Trading_restriction" }, { 105, "Pending_request_timed_out" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext quote_request_reject_reason_vals_ext = VALUE_STRING_EXT_INIT(quote_request_reject_reason_vals); static const value_string quote_size_type_vals[] = { // QuoteSizeType { 1, "TotalSize" }, { 2, "OpenSize" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quote_status_vals[] = { // QuoteStatus { 6, "Removed" }, { 7, "Expired" }, { 16, "Active" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quote_type_vals[] = { // QuoteType { 0, "Indicative" }, { 1, "Tradeable" }, { 101, "Tradeable_Matching" }, { 102, "Tradeable_PWT" }, { 103, "Special_Auction" }, { 104, "PWT_within_Special_Auction" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string quoting_status_vals[] = { // QuotingStatus { 1, "Open_Active" }, { 2, "Open_Idle" }, { 3, "Closed_Inactive" }, { 4, "Open_Not_Responded" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string rfqpublish_indicator_vals[] = { // RFQPublishIndicator { 1, "Market_Data" }, { 2, "Designated_Sponsor" }, { 3, "Market_Data_and_Designated_Sponsor" }, { 4, "Market_Maker_and_Designated_Sponsor" }, { 5, "Market_Data_and_Market_Maker_and_Designated_Sponsor" }, { 6, "Specialist" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // RFQRequesterDisclosureInstruction aliased by NumberOfRespDisclosureInstruction // RefApplID aliased by ApplID // RefinancingEligibilityIndicator aliased by NumberOfRespDisclosureInstruction // RequestingPartyIDEnteringFirm aliased by PartyIDEnteringFirm static const value_string requesting_party_idexecuting_system_vals[] = { // RequestingPartyIDExecutingSystem { 2, "T7" }, { 0xFFFFFFFF, "NO_VALUE" }, { 0, NULL } }; static const value_string respondent_type_vals[] = { // RespondentType { 2, "Specified_market_participants" }, { 100, "Specified_and_SmartRfQ_selected_participants" }, { 101, "SmartRfQ_selected_participants" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // RootPartyIDInvestmentDecisionMakerQualifier aliased by ExecutingTraderQualifier static const value_string security_status_vals[] = { // SecurityStatus { 6, "Knocked_out" }, { 7, "Knock_out_revoked" }, { 12, "Knocked_out_and_suspend" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string security_trading_status_vals[] = { // SecurityTradingStatus { 7, "Market_Imbalance_Buy" }, { 8, "Market_Imbalance_Sell" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // SelectiveRequestForQuoteRtmServiceStatus aliased by ApplSeqStatus // SelectiveRequestForQuoteServiceStatus aliased by ApplSeqStatus static const value_string session_mode_vals[] = { // SessionMode { 1, "HF" }, { 2, "LF" }, { 3, "GUI" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string session_reject_reason_vals[] = { // SessionRejectReason { 1, "Required_Tag_Missing" }, { 5, "Value_is_incorrect" }, { 7, "Decryption_problem" }, { 11, "Invalid_MsgID" }, { 16, "Incorrect_NumInGroup_count" }, { 99, "Other" }, { 100, "Throttle_Limit_Exceeded" }, { 101, "Exposure_Limit_Exceeded" }, { 102, "Service_Temporarily_Not_Available" }, { 103, "Service_Not_Available" }, { 105, "Outbound_conversion_error" }, { 152, "Heartbeat_Violation" }, { 200, "Internal_technical_error" }, { 210, "Validation_Error" }, { 211, "User_Already_Logged_In" }, { 216, "Gateway_Is_Standby" }, { 217, "Session_Login_Limit_Reached" }, { 223, "User_Entitlement_Data_Timeout" }, { 224, "PSGateway_Session_Limit_Reached" }, { 225, "User_Login_Limit_Reached" }, { 226, "Outstanding_Logins_Bu_Limit_Reached" }, { 227, "Outstanding_Logins_Session_Limit_Reached" }, { 10000, "Order_Not_Found" }, { 10001, "Price_Not_Reasonable" }, { 10002, "ClientOrderID_Not_Unique" }, { 10003, "Quote_Activation_In_Progress" }, { 10006, "Stop_Bid_Price_Not_Reasonable" }, { 10007, "Stop_Ask_Price_Not_Reasonable" }, { 10008, "Order_Not_Executable_Within_Validity" }, { 10009, "Invalid_Trading_Restriction_For_Instrument_State" }, { 10011, "Transaction_Not_Allowed_In_Current_State" }, { 10012, "Order_not_accepted_in_Volatility_Freeze" }, { 0xFFFFFFFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext session_reject_reason_vals_ext = VALUE_STRING_EXT_INIT(session_reject_reason_vals); static const value_string session_status_vals[] = { // SessionStatus { 0, "Active" }, { 4, "Logout" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string session_sub_mode_vals[] = { // SessionSubMode { 0, "Regular_trading_session" }, { 1, "FIX_trading_session" }, { 2, "Regular_Back_Office_session" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // Side aliased by QuoteEventSide // SideLiquidityInd aliased by QuoteEventLiquidityInd static const value_string sold_out_indicator_vals[] = { // SoldOutIndicator { 0, "Revert_sold_out" }, { 1, "Sold_out" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string stop_px_indicator_vals[] = { // StopPxIndicator { 0, "Do_not_overwrite" }, { 1, "Overwrite" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // T7EntryServiceRtmStatus aliased by ApplSeqStatus // T7EntryServiceStatus aliased by ApplSeqStatus static const value_string time_in_force_vals[] = { // TimeInForce { 0, "Day" }, { 1, "GTC" }, { 3, "IOC" }, { 4, "FOK" }, { 5, "GTX" }, { 6, "GTD" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string trad_ses_event_vals[] = { // TradSesEvent { 101, "Start_of_Service" }, { 102, "Market_Reset" }, { 103, "End_of_Restatement" }, { 104, "End_of_Day_Service" }, { 105, "Service_Resumed" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string trad_ses_mode_vals[] = { // TradSesMode { 1, "Testing" }, { 2, "Simulated" }, { 3, "Production" }, { 4, "Acceptance" }, { 5, "Disaster_Recovery" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string trade_alloc_status_vals[] = { // TradeAllocStatus { 1, "Pending" }, { 2, "Approved" }, { 3, "Auto_Approved" }, { 4, "Uploaded" }, { 5, "Canceled" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // TradeAtCloseOptIn aliased by NumberOfRespDisclosureInstruction // TradeManagerStatus aliased by ApplSeqStatus static const value_string trade_publish_indicator_vals[] = { // TradePublishIndicator { 2, "Deferred_Publication" }, { 3, "Published" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string trade_report_type_vals[] = { // TradeReportType { 0, "Submit" }, { 2, "Accept" }, { 3, "Decline" }, { 5, "No_Was_Replaced" }, { 6, "Trade_Report_Cancel" }, { 7, "Trade_Break" }, { 11, "Alleged_New" }, { 13, "Alleged_No_Was" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static value_string_ext trade_report_type_vals_ext = VALUE_STRING_EXT_INIT(trade_report_type_vals); static const value_string trading_capacity_vals[] = { // TradingCapacity { 1, "Customer" }, { 3, "Broker_dealer" }, { 5, "Principal" }, { 6, "Market_Maker" }, { 9, "Riskless_Principal" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string trading_session_sub_id_vals[] = { // TradingSessionSubID { 2, "Opening_auction" }, { 4, "Closing_auction" }, { 6, "Intraday_Auction" }, { 8, "Any_Auction" }, { 105, "Special_Auction" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string transaction_delay_indicator_vals[] = { // TransactionDelayIndicator { 0, "Not_delayed" }, { 1, "Delayed" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string transfer_reason_vals[] = { // TransferReason { 1, "Owner" }, { 2, "Clearer" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string trd_rpt_status_vals[] = { // TrdRptStatus { 0, "Accepted" }, { 1, "Rejected" }, { 2, "Cancelled" }, { 4, "Pending_New" }, { 7, "Terminated" }, { 9, "Deemed_Verified" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string trd_type_vals[] = { // TrdType { 54, "OTC" }, { 1005, "LIS" }, { 1006, "Enlight" }, { 0xFFFF, "NO_VALUE" }, { 0, NULL } }; static const value_string triggered_vals[] = { // Triggered { 0, "Not_triggered" }, { 1, "Triggered_Stop" }, { 2, "Triggered_OCO" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string user_status_vals[] = { // UserStatus { 7, "User_forced_logout" }, { 10, "User_stopped" }, { 11, "User_released" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; static const value_string value_check_type_quantity_vals[] = { // ValueCheckTypeQuantity { 0, "Do_not_check" }, { 1, "Check" }, { 0xFF, "NO_VALUE" }, { 0, NULL } }; // ValueCheckTypeValue aliased by ValueCheckTypeQuantity enum ETI_Type { ETI_EOF, ETI_PADDING, ETI_UINT, ETI_INT, ETI_UINT_ENUM, ETI_INT_ENUM, ETI_COUNTER, ETI_FIXED_POINT, ETI_TIMESTAMP_NS, ETI_CHAR, ETI_STRING, ETI_VAR_STRING, ETI_STRUCT, ETI_VAR_STRUCT, ETI_DSCP }; struct ETI_Field { uint8_t type; uint8_t counter_off; // offset into counter array // if ETI_COUNTER => storage // if ETI_VAR_STRING or ETI_VAR_STRUCT => load // to get length or repeat count // if ETI_FIXED_POINT: #fractional digits uint16_t size; // or offset into struct_names if ETI_STRUCT/ETI_VAR_STRUCT uint16_t field_handle_idx; // or index into fields array if ETI_STRUCT/ETI_VAR_STRUT uint16_t ett_idx; // index into ett array if ETI_STRUCT/ETI_VAR_STRUCT // or max value if ETI_COUNTER }; static gint ett_xti[] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }; static gint ett_xti_dscp = -1; /* This method dissects fully reassembled messages */ static int dissect_xti_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { col_set_str(pinfo->cinfo, COL_PROTOCOL, "XTI"); col_clear(pinfo->cinfo, COL_INFO); guint16 templateid = tvb_get_letohs(tvb, 4); const char *template_str = val_to_str_ext(templateid, &template_id_vals_ext, "Unknown XTI template: 0x%04x"); col_add_fstr(pinfo->cinfo, COL_INFO, "%s", template_str); /* create display subtree for the protocol */ proto_item *ti = proto_tree_add_item(tree, proto_xti, tvb, 0, -1, ENC_NA); guint32 bodylen= tvb_get_letohl(tvb, 0); proto_item_append_text(ti, ", %s (%" PRIu16 "), BodyLen: %u", template_str, templateid, bodylen); proto_tree *root = proto_item_add_subtree(ti, ett_xti[0]); static const char struct_names[] = "AffectedOrdGrp\0AffectedOrderRequestsGrp\0EnrichmentRulesGrp\0FillsGrp\0MessageHeaderIn\0MessageHeaderOut\0NRBCHeader\0NRResponseHeaderME\0NotAffectedOrdersGrp\0NotAffectedSecuritiesGrp\0NotifHeader\0OrderBookItemGrp\0OrderEventGrp\0PartyDetailsGrp\0QuoteEntryAckGrp\0QuoteEntryGrp\0QuoteEventGrp\0RBCHeader\0RBCHeaderME\0RequestHeader\0ResponseHeader\0ResponseHeaderME\0SRQSHitQuoteGrp\0SRQSQuoteEntryGrp\0SRQSQuoteGrp\0SRQSTargetPartyTrdGrp\0SecurityStatusEventGrp\0SessionsGrp\0SideAllocGrp\0SideAllocGrpBC\0XetraEnLightTargetParties"; static const struct ETI_Field fields[] = { // AffectedOrdGrpComp@0 { ETI_UINT, 0, 8, AFFECTEDORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, AFFECTEDORIGCLORDID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // AffectedOrderRequestsGrpComp@3 , { ETI_UINT, 0, 4, AFFECTEDORDERREQUESTID_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // EnrichmentRulesGrpComp@6 , { ETI_UINT, 0, 2, ENRICHMENTRULEID_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // FillsGrpComp@12 , { ETI_FIXED_POINT, 8, 8, FILLPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, FILLQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, FILLMATCHID_FH_IDX, 0 } , { ETI_INT, 0, 4, FILLEXECID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, FILLLIQUIDITYIND_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // MessageHeaderInComp@19 , { ETI_UINT, 0, 4, BODYLEN_FH_IDX, 0 } , { ETI_UINT, 0, 2, TEMPLATEID_FH_IDX, 0 } , { ETI_STRING, 0, 8, NETWORKMSGID_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // MessageHeaderOutComp@24 , { ETI_UINT, 0, 4, BODYLEN_FH_IDX, 0 } , { ETI_UINT, 0, 2, TEMPLATEID_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // NRBCHeaderComp@28 , { ETI_TIMESTAMP_NS, 0, 8, SENDINGTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, APPLSUBID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, LASTFRAGMENT_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // NRResponseHeaderMEComp@34 , { ETI_TIMESTAMP_NS, 0, 8, REQUESTTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEIN_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEOUT_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, RESPONSEIN_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, SENDINGTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, MSGSEQNUM_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, LASTFRAGMENT_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // NotAffectedOrdersGrpComp@43 , { ETI_UINT, 0, 8, NOTAFFECTEDORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, NOTAFFORIGCLORDID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // NotAffectedSecuritiesGrpComp@46 , { ETI_UINT, 0, 8, NOTAFFECTEDSECURITYID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // NotifHeaderComp@48 , { ETI_TIMESTAMP_NS, 0, 8, SENDINGTIME_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // OrderBookItemGrpComp@50 , { ETI_FIXED_POINT, 8, 8, BESTBIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BESTBIDSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BESTOFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BESTOFFERSIZE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MDBOOKTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MDSUBBOOKTYPE_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // OrderEventGrpComp@58 , { ETI_FIXED_POINT, 8, 8, ORDEREVENTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDEREVENTQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDEREVENTMATCHID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDEREVENTREASON_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // PartyDetailsGrpComp@64 , { ETI_UINT, 0, 4, PARTYDETAILIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYDETAILEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYDETAILROLEQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYDETAILSTATUS_FH_IDX, 0 } , { ETI_STRING, 0, 3, PARTYDETAILDESKID_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // QuoteEntryAckGrpComp@71 , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLSIZE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 4, QUOTEENTRYREJECTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTEENTRYSTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // QuoteEntryGrpComp@78 , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BIDSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, OFFERSIZE_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // QuoteEventGrpComp@84 , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, QUOTEEVENTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, QUOTEEVENTQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEMSGID_FH_IDX, 0 } , { ETI_UINT, 0, 4, QUOTEEVENTMATCHID_FH_IDX, 0 } , { ETI_INT, 0, 4, QUOTEEVENTEXECID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTEEVENTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTEEVENTSIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTEEVENTLIQUIDITYIND_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTEEVENTREASON_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RBCHeaderComp@96 , { ETI_TIMESTAMP_NS, 0, 8, SENDINGTIME_FH_IDX, 0 } , { ETI_UINT, 0, 8, APPLSEQNUM_FH_IDX, 0 } , { ETI_UINT, 0, 4, APPLSUBID_FH_IDX, 0 } , { ETI_UINT, 0, 2, PARTITIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLRESENDFLAG_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, LASTFRAGMENT_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RBCHeaderMEComp@105 , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEOUT_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, NOTIFICATIONIN_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, SENDINGTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, APPLSUBID_FH_IDX, 0 } , { ETI_UINT, 0, 2, PARTITIONID_FH_IDX, 0 } , { ETI_STRING, 0, 16, APPLMSGID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLRESENDFLAG_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, LASTFRAGMENT_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RequestHeaderComp@116 , { ETI_UINT, 0, 4, MSGSEQNUM_FH_IDX, 0 } , { ETI_UINT, 0, 4, SENDERSUBID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ResponseHeaderComp@119 , { ETI_TIMESTAMP_NS, 0, 8, REQUESTTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, SENDINGTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, MSGSEQNUM_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ResponseHeaderMEComp@124 , { ETI_TIMESTAMP_NS, 0, 8, REQUESTTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEIN_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEOUT_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, RESPONSEIN_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, SENDINGTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, MSGSEQNUM_FH_IDX, 0 } , { ETI_UINT, 0, 2, PARTITIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLID_FH_IDX, 0 } , { ETI_STRING, 0, 16, APPLMSGID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, LASTFRAGMENT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SRQSHitQuoteGrpComp@135 , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SRQSQuoteEntryGrpComp@140 , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT, 0, 8, SECONDARYQUOTEID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BIDSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, OFFERSIZE_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTINGSTATUS_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SRQSQuoteGrpComp@154 , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SRQSTargetPartyTrdGrpComp@156 , { ETI_FIXED_POINT, 4, 8, SIDELASTQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, TARGETPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, TARGETPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, TARGETPARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SecurityStatusEventGrpComp@164 , { ETI_FIXED_POINT, 8, 8, EVENTPX_FH_IDX, 0 } , { ETI_UINT, 0, 4, EVENTDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EVENTTYPE_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SessionsGrpComp@169 , { ETI_UINT, 0, 4, PARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SESSIONMODE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SESSIONSUBMODE_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SideAllocGrpComp@174 , { ETI_FIXED_POINT, 4, 8, ALLOCQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, INDIVIDUALALLOCID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESENRICHMENTRULEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SideAllocGrpBCComp@182 , { ETI_FIXED_POINT, 4, 8, ALLOCQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, INDIVIDUALALLOCID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESENRICHMENTRULEID_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEALLOCSTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightTargetPartiesComp@191 , { ETI_UINT, 0, 4, TARGETPARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, TARGETPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, TARGETPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ApproveTESTradeRequest@196 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, PARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ALLOCQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, PACKAGEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ALLOCID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESEXECID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTID_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // BroadcastErrorNotification@224 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 177, 48, 11 } // NotifHeader , { ETI_UINT_ENUM, 0, 4, APPLIDSTATUS_FH_IDX, 0 } , { ETI_UINT, 0, 4, REFAPPLSUBID_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, VARTEXTLEN_FH_IDX, 2000 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, REFAPPLID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SESSIONSTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_VAR_STRING, 0, 2000, VARTEXT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // CrossRequest@234 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // CrossRequestResponse@241 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteAllOrderBroadcast@245 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDENTERINGTRADER_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NONOTAFFECTEDORDERS_FH_IDX, 500 } // <- counter@0 , { ETI_COUNTER, 1, 2, NOAFFECTEDORDERS_FH_IDX, 500 } // <- counter@1 , { ETI_COUNTER, 2, 2, NOAFFECTEDORDERREQUESTS_FH_IDX, 500 } // <- counter@2 , { ETI_UINT_ENUM, 0, 1, PARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MASSACTIONREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_VAR_STRUCT, 0, 131, 43, 9 } // NotAffectedOrdersGrp , { ETI_VAR_STRUCT, 1, 0, 0, 1 } // AffectedOrdGrp , { ETI_VAR_STRUCT, 2, 15, 3, 2 } // AffectedOrderRequestsGrp , { ETI_EOF, 0, 0, 0, 0 } // DeleteAllOrderNRResponse@266 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteAllOrderQuoteEventBroadcast@270 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MASSACTIONREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteAllOrderRequest@279 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteAllOrderResponse@293 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 332, 124, 22 } // ResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NONOTAFFECTEDORDERS_FH_IDX, 500 } // <- counter@0 , { ETI_COUNTER, 1, 2, NOAFFECTEDORDERS_FH_IDX, 500 } // <- counter@1 , { ETI_COUNTER, 2, 2, NOAFFECTEDORDERREQUESTS_FH_IDX, 500 } // <- counter@2 , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_VAR_STRUCT, 0, 131, 43, 9 } // NotAffectedOrdersGrp , { ETI_VAR_STRUCT, 1, 0, 0, 1 } // AffectedOrdGrp , { ETI_VAR_STRUCT, 2, 15, 3, 2 } // AffectedOrderRequestsGrp , { ETI_EOF, 0, 0, 0, 0 } // DeleteAllQuoteBroadcast@304 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDENTERINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NONOTAFFECTEDSECURITIES_FH_IDX, 500 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, MASSACTIONREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 3, TARGETPARTYIDDESKID_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_VAR_STRUCT, 0, 152, 46, 10 } // NotAffectedSecuritiesGrp , { ETI_EOF, 0, 0, 0, 0 } // DeleteAllQuoteRequest@319 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteAllQuoteResponse@329 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NONOTAFFECTEDSECURITIES_FH_IDX, 500 } // <- counter@0 , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_VAR_STRUCT, 0, 152, 46, 10 } // NotAffectedSecuritiesGrp , { ETI_EOF, 0, 0, 0, 0 } // DeleteOrderBroadcast@336 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDENTERINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDEREVENTTYPE_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYENTERINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteOrderNRResponse@361 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSACTIONDELAYINDICATOR_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteOrderResponse@377 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 332, 124, 22 } // ResponseHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSACTIONDELAYINDICATOR_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteOrderSingleRequest@393 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // DeleteTESTradeRequest@411 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 4, PACKAGEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESEXECID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTID_FH_IDX, 0 } , { ETI_PADDING, 0, 5, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // EnterTESTradeRequest@421 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSBKDTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SETTLCURRFXRATE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOSIDEALLOCS_FH_IDX, 99 } // <- counter@0 , { ETI_STRING, 0, 20, TRADEREPORTTEXT_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTID_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_VAR_STRUCT, 0, 453, 174, 30 } // SideAllocGrp , { ETI_EOF, 0, 0, 0, 0 } // ExtendedDeletionReport@437 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSENTRYTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYLOWQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYHIGHQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, STOPPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, VOLUMEDISCOVERYPRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PEGOFFSETVALUEABS_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, PEGOFFSETVALUEPCT_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_UINT, 0, 4, EXPIREDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHINSTCROSSID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDENTERINGTRADER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TIMEINFORCE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGSESSIONSUBID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLSEQINDICATOR_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYENTERINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ForcedLogoutNotification@487 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 177, 48, 11 } // NotifHeader , { ETI_COUNTER, 0, 2, VARTEXTLEN_FH_IDX, 2000 } // <- counter@0 , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_VAR_STRING, 0, 2000, VARTEXT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ForcedUserLogoutNotification@493 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 177, 48, 11 } // NotifHeader , { ETI_UINT, 0, 4, USERNAME_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, VARTEXTLEN_FH_IDX, 2000 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, USERSTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_VAR_STRING, 0, 2000, VARTEXT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // Heartbeat@501 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_EOF, 0, 0, 0, 0 } // HeartbeatNotification@503 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 177, 48, 11 } // NotifHeader , { ETI_EOF, 0, 0, 0, 0 } // InquireEnrichmentRuleIDListRequest@506 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_STRING, 0, 16, LASTENTITYPROCESSED_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // InquireEnrichmentRuleIDListResponse@510 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_STRING, 0, 16, LASTENTITYPROCESSED_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NOENRICHMENTRULES_FH_IDX, 400 } // <- counter@0 , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_VAR_STRUCT, 0, 40, 6, 3 } // EnrichmentRulesGrp , { ETI_EOF, 0, 0, 0, 0 } // InquireSessionListRequest@517 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_EOF, 0, 0, 0, 0 } // InquireSessionListResponse@520 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_COUNTER, 0, 2, NOSESSIONS_FH_IDX, 1000 } // <- counter@0 , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_VAR_STRUCT, 0, 441, 169, 28 } // SessionsGrp , { ETI_EOF, 0, 0, 0, 0 } // InquireUserRequest@526 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_STRING, 0, 16, LASTENTITYPROCESSED_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // InquireUserResponse@530 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_STRING, 0, 16, LASTENTITYPROCESSED_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NOPARTYDETAILS_FH_IDX, 1000 } // <- counter@0 , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_VAR_STRUCT, 0, 220, 64, 14 } // PartyDetailsGrp , { ETI_EOF, 0, 0, 0, 0 } // IssuerNotification@537 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, POTENTIALEXECVOLUME_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LASTQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, IMBALANCEQTY_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SECURITYTRADINGSTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // IssuerSecurityStateChangeRequest@550 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOEVENTS_FH_IDX, 2 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, SECURITYSTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SOLDOUTINDICATOR_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_VAR_STRUCT, 0, 418, 164, 27 } // SecurityStatusEventGrp , { ETI_EOF, 0, 0, 0, 0 } // IssuerSecurityStateChangeResponse@561 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, SECURITYSTATUSREPORTID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // LegalNotificationBroadcast@565 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, VARTEXTLEN_FH_IDX, 2000 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, USERSTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 5, 0, 0 } , { ETI_VAR_STRING, 0, 2000, VARTEXT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // LogonRequest@573 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 4, HEARTBTINT_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDSESSIONID_FH_IDX, 0 } , { ETI_STRING, 0, 30, DEFAULTCSTMAPPLVERID_FH_IDX, 0 } , { ETI_STRING, 0, 32, PASSWORD_FH_IDX, 0 } , { ETI_CHAR, 0, 1, APPLUSAGEORDERS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, APPLUSAGEQUOTES_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDERROUTINGINDICATOR_FH_IDX, 0 } , { ETI_STRING, 0, 30, FIXENGINENAME_FH_IDX, 0 } , { ETI_STRING, 0, 30, FIXENGINEVERSION_FH_IDX, 0 } , { ETI_STRING, 0, 30, FIXENGINEVENDOR_FH_IDX, 0 } , { ETI_STRING, 0, 30, APPLICATIONSYSTEMNAME_FH_IDX, 0 } , { ETI_STRING, 0, 30, APPLICATIONSYSTEMVERSION_FH_IDX, 0 } , { ETI_STRING, 0, 30, APPLICATIONSYSTEMVENDOR_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // LogonResponse@590 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_INT, 0, 8, THROTTLETIMEINTERVAL_FH_IDX, 0 } , { ETI_UINT, 0, 4, THROTTLENOMSGS_FH_IDX, 0 } , { ETI_UINT, 0, 4, THROTTLEDISCONNECTLIMIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, HEARTBTINT_FH_IDX, 0 } , { ETI_UINT, 0, 4, SESSIONINSTANCEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, MARKETID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADSESMODE_FH_IDX, 0 } , { ETI_STRING, 0, 30, DEFAULTCSTMAPPLVERID_FH_IDX, 0 } , { ETI_STRING, 0, 5, DEFAULTCSTMAPPLVERSUBID_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // LogoutRequest@603 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_EOF, 0, 0, 0, 0 } // LogoutResponse@606 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_EOF, 0, 0, 0, 0 } // MassQuoteRequest@609 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHINSTCROSSID_FH_IDX, 0 } , { ETI_UINT, 0, 2, ENRICHMENTRULEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PRICEVALIDITYCHECKTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTESIZETYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTETYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOQUOTEENTRIES_FH_IDX, 100 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_VAR_STRUCT, 0, 253, 78, 16 } // QuoteEntryGrp , { ETI_EOF, 0, 0, 0, 0 } // MassQuoteResponse@630 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, QUOTERESPONSEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOQUOTESIDEENTRIES_FH_IDX, 200 } // <- counter@0 , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_VAR_STRUCT, 0, 236, 71, 15 } // QuoteEntryAckGrp , { ETI_EOF, 0, 0, 0, 0 } // ModifyOrderNRResponse@639 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, STOPPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CROSSEDINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSACTIONDELAYINDICATOR_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOORDEREVENTS_FH_IDX, 100 } // <- counter@0 , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_VAR_STRUCT, 0, 206, 58, 13 } // OrderEventGrp , { ETI_EOF, 0, 0, 0, 0 } // ModifyOrderResponse@662 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 332, 124, 22 } // ResponseHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, STOPPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYQTY_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEPRIORITY_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CROSSEDINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSACTIONDELAYINDICATOR_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOORDEREVENTS_FH_IDX, 100 } // <- counter@0 , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_VAR_STRUCT, 0, 206, 58, 13 } // OrderEventGrp , { ETI_EOF, 0, 0, 0, 0 } // ModifyOrderSingleRequest@686 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYLOWQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYHIGHQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, STOPPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, VOLUMEDISCOVERYPRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PEGOFFSETVALUEABS_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, PEGOFFSETVALUEPCT_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, EXPIREDATE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHINSTCROSSID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLSEQINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PRICEVALIDITYCHECKTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TIMEINFORCE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGSESSIONSUBID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, STOPPXINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, OWNERSHIPINDICATOR_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ModifyOrderSingleShortRequest@732 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHINSTCROSSID_FH_IDX, 0 } , { ETI_UINT, 0, 2, ENRICHMENTRULEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PRICEVALIDITYCHECKTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TIMEINFORCE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLSEQINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ModifyTESTradeRequest@758 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSBKDTIME_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PACKAGEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESEXECID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOSIDEALLOCS_FH_IDX, 99 } // <- counter@0 , { ETI_STRING, 0, 20, TRADEREPORTTEXT_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTID_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_VAR_STRUCT, 0, 453, 174, 30 } // SideAllocGrp , { ETI_EOF, 0, 0, 0, 0 } // NewOrderNRResponse@774 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CROSSEDINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSACTIONDELAYINDICATOR_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOORDEREVENTS_FH_IDX, 100 } // <- counter@0 , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_VAR_STRUCT, 0, 206, 58, 13 } // OrderEventGrp , { ETI_EOF, 0, 0, 0, 0 } // NewOrderResponse@793 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 332, 124, 22 } // ResponseHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSENTRYTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEPRIORITY_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CROSSEDINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSACTIONDELAYINDICATOR_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOORDEREVENTS_FH_IDX, 100 } // <- counter@0 , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_VAR_STRUCT, 0, 206, 58, 13 } // OrderEventGrp , { ETI_EOF, 0, 0, 0, 0 } // NewOrderSingleRequest@814 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYLOWQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYHIGHQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, STOPPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, VOLUMEDISCOVERYPRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PEGOFFSETVALUEABS_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, PEGOFFSETVALUEPCT_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, EXPIREDATE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHINSTCROSSID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLSEQINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PRICEVALIDITYCHECKTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TIMEINFORCE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGSESSIONSUBID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEATCLOSEOPTIN_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // NewOrderSingleShortRequest@858 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHINSTCROSSID_FH_IDX, 0 } , { ETI_UINT, 0, 2, ENRICHMENTRULEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLSEQINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PRICEVALIDITYCHECKTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TIMEINFORCE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // NewsBroadcast@883 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, ORIGTIME_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, VARTEXTLEN_FH_IDX, 2000 } // <- counter@0 , { ETI_STRING, 0, 256, HEADLINE_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_VAR_STRING, 0, 2000, VARTEXT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // OrderExecNotification@891 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYQTY_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDEREVENTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MATCHTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CROSSEDINDICATOR_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOFILLS_FH_IDX, 100 } // <- counter@0 , { ETI_COUNTER, 1, 1, NOORDEREVENTS_FH_IDX, 100 } // <- counter@1 , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_VAR_STRUCT, 0, 59, 12, 4 } // FillsGrp , { ETI_VAR_STRUCT, 1, 206, 58, 13 } // OrderEventGrp , { ETI_EOF, 0, 0, 0, 0 } // OrderExecReportBroadcast@919 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSENTRYTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEPRIORITY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYLOWQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYHIGHQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, STOPPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, VOLUMEDISCOVERYPRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PEGOFFSETVALUEABS_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, PEGOFFSETVALUEPCT_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_UINT, 0, 4, EXPIREDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHINSTCROSSID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDENTERINGTRADER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDEREVENTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MATCHTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TIMEINFORCE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGSESSIONSUBID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLSEQINDICATOR_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYENTERINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOFILLS_FH_IDX, 100 } // <- counter@0 , { ETI_COUNTER, 1, 1, NOORDEREVENTS_FH_IDX, 100 } // <- counter@1 , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CROSSEDINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEATCLOSEOPTIN_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_VAR_STRUCT, 0, 59, 12, 4 } // FillsGrp , { ETI_VAR_STRUCT, 1, 206, 58, 13 } // OrderEventGrp , { ETI_EOF, 0, 0, 0, 0 } // OrderExecResponse@979 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 332, 124, 22 } // ResponseHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSENTRYTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEPRIORITY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, DISPLAYQTY_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MATCHTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CROSSEDINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSACTIONDELAYINDICATOR_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOFILLS_FH_IDX, 100 } // <- counter@0 , { ETI_COUNTER, 1, 1, NOORDEREVENTS_FH_IDX, 100 } // <- counter@1 , { ETI_PADDING, 0, 5, 0, 0 } , { ETI_VAR_STRUCT, 0, 59, 12, 4 } // FillsGrp , { ETI_VAR_STRUCT, 1, 206, 58, 13 } // OrderEventGrp , { ETI_EOF, 0, 0, 0, 0 } // PartyActionReport@1008 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, REQUESTINGPARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 4, REQUESTINGPARTYIDEXECUTINGSYSTEM_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, MARKETID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYACTIONTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, REQUESTINGPARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // PartyEntitlementsUpdateReport@1020 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYDETAILIDEXECUTINGUNIT_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 4, REQUESTINGPARTYIDEXECUTINGSYSTEM_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, MARKETID_FH_IDX, 0 } , { ETI_CHAR, 0, 1, LISTUPDATEACTION_FH_IDX, 0 } , { ETI_STRING, 0, 9, REQUESTINGPARTYENTERINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 9, REQUESTINGPARTYCLEARINGFIRM_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYDETAILSTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // PingRequest@1033 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 2, PARTITIONID_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // PingResponse@1038 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // QuoteActivationNotification@1042 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDENTERINGTRADER_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NONOTAFFECTEDSECURITIES_FH_IDX, 500 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, PARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MASSACTIONTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MASSACTIONREASON_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_VAR_STRUCT, 0, 152, 46, 10 } // NotAffectedSecuritiesGrp , { ETI_EOF, 0, 0, 0, 0 } // QuoteActivationRequest@1054 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TARGETPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MASSACTIONTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_PADDING, 0, 5, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // QuoteActivationResponse@1065 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NONOTAFFECTEDSECURITIES_FH_IDX, 500 } // <- counter@0 , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_VAR_STRUCT, 0, 152, 46, 10 } // NotAffectedSecuritiesGrp , { ETI_EOF, 0, 0, 0, 0 } // QuoteExecutionReport@1072 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOQUOTEEVENTS_FH_IDX, 100 } // <- counter@0 , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_VAR_STRUCT, 0, 267, 84, 17 } // QuoteEventGrp , { ETI_EOF, 0, 0, 0, 0 } // RFQBroadcast@1080 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RFQRejectNotification@1090 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTEREQUESTREJECTREASON_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RFQRequest@1100 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, RFQPUBLISHINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, RFQREQUESTERDISCLOSUREINSTRUCTION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RFQResponse@1111 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RFQSpecialistBroadcast@1115 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // Reject@1126 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_UINT_ENUM, 0, 4, SESSIONREJECTREASON_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, VARTEXTLEN_FH_IDX, 2000 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, SESSIONSTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_VAR_STRING, 0, 2000, VARTEXT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RetransmitMEMessageRequest@1134 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 4, SUBSCRIPTIONSCOPE_FH_IDX, 0 } , { ETI_UINT, 0, 2, PARTITIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, REFAPPLID_FH_IDX, 0 } , { ETI_STRING, 0, 16, APPLBEGMSGID_FH_IDX, 0 } , { ETI_STRING, 0, 16, APPLENDMSGID_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RetransmitMEMessageResponse@1143 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_UINT, 0, 2, APPLTOTALMESSAGECOUNT_FH_IDX, 0 } , { ETI_STRING, 0, 16, APPLENDMSGID_FH_IDX, 0 } , { ETI_STRING, 0, 16, REFAPPLLASTMSGID_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RetransmitRequest@1150 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, APPLBEGSEQNUM_FH_IDX, 0 } , { ETI_UINT, 0, 8, APPLENDSEQNUM_FH_IDX, 0 } , { ETI_UINT, 0, 2, PARTITIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, REFAPPLID_FH_IDX, 0 } , { ETI_PADDING, 0, 5, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // RetransmitResponse@1158 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_UINT, 0, 8, APPLENDSEQNUM_FH_IDX, 0 } , { ETI_UINT, 0, 8, REFAPPLLASTSEQNUM_FH_IDX, 0 } , { ETI_UINT, 0, 2, APPLTOTALMESSAGECOUNT_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ServiceAvailabilityBroadcast@1165 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 101, 28, 7 } // NRBCHeader , { ETI_UINT, 0, 4, MATCHINGENGINETRADEDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEMANAGERTRADEDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, APPLSEQTRADEDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, T7ENTRYSERVICETRADEDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, T7ENTRYSERVICERTMTRADEDATE_FH_IDX, 0 } , { ETI_UINT, 0, 2, PARTITIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MATCHINGENGINESTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEMANAGERSTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLSEQSTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, T7ENTRYSERVICESTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, T7ENTRYSERVICERTMSTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 5, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ServiceAvailabilityMarketBroadcast@1180 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 101, 28, 7 } // NRBCHeader , { ETI_UINT, 0, 4, SELECTIVEREQUESTFORQUOTESERVICETRADEDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SELECTIVEREQUESTFORQUOTESERVICESTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SELECTIVEREQUESTFORQUOTERTMSERVICESTATUS_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SingleQuoteRequest@1187 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BIDSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, OFFERSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SETTLCURRFXRATE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHINSTCROSSID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PRICEVALIDITYCHECKTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTESIZETYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTETYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SpecialistDeleteAllOrderBroadcast@1214 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_TIMESTAMP_NS, 0, 8, MASSACTIONREPORTID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDENTERINGTRADER_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, NOAFFECTEDORDERS_FH_IDX, 500 } // <- counter@0 , { ETI_COUNTER, 1, 2, NONOTAFFECTEDORDERS_FH_IDX, 500 } // <- counter@1 , { ETI_UINT_ENUM, 0, 1, PARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MASSACTIONREASON_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_VAR_STRUCT, 0, 0, 0, 1 } // AffectedOrdGrp , { ETI_VAR_STRUCT, 1, 131, 43, 9 } // NotAffectedOrdersGrp , { ETI_EOF, 0, 0, 0, 0 } // SpecialistInstrumentEventNotification@1227 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EVENTTYPE_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SpecialistOrderBookNotification@1235 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSENTRYTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSTIMEPRIORITY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CXLQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, STOPPX_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_UINT, 0, 4, EXPIREDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDENTERINGTRADER_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOFILLS_FH_IDX, 100 } // <- counter@0 , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDEREVENTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MATCHTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TIMEINFORCE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECINST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGSESSIONSUBID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, APPLSEQINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRIGGERED_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYENTERINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_VAR_STRUCT, 0, 59, 12, 4 } // FillsGrp , { ETI_EOF, 0, 0, 0, 0 } // SpecialistRFQRejectRequest@1282 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTEREQUESTREJECTREASON_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SpecialistRFQReplyNotification@1291 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BIDSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, OFFERSIZE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SpecialistRFQReplyRequest@1304 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BIDSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, OFFERSIZE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SpecialistRFQReplyResponse@1316 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SpecialistSecurityStateChangeRequest@1320 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EVENTTYPE_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SpecialistSecurityStateChangeResponse@1327 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 112, 34, 8 } // NRResponseHeaderME , { ETI_TIMESTAMP_NS, 0, 8, SECURITYSTATUSREPORTID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SubscribeRequest@1331 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 4, SUBSCRIPTIONSCOPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, REFAPPLID_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // SubscribeResponse@1337 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_UINT, 0, 4, APPLSUBID_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TESApproveBroadcast@1342 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ALLOCQTY_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSBKDTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SETTLCURRFXRATE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PACKAGEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESEXECID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ALLOCID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESENRICHMENTRULEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, AUTOAPPROVALRULEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, VARTEXTLEN_FH_IDX, 2000 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRDRPTSTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEALLOCSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, MESSAGEEVENTSOURCE_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTID_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDENTERINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, ROOTPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_VAR_STRING, 0, 2000, VARTEXT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TESBroadcast@1380 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSBKDTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SETTLCURRFXRATE_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PACKAGEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESEXECID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, AUTOAPPROVALRULEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_COUNTER, 0, 2, VARTEXTLEN_FH_IDX, 2000 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRDRPTSTATUS_FH_IDX, 0 } , { ETI_COUNTER, 1, 1, NOSIDEALLOCS_FH_IDX, 99 } // <- counter@1 , { ETI_CHAR, 0, 1, MESSAGEEVENTSOURCE_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTTEXT_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTID_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, ROOTPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_VAR_STRUCT, 1, 466, 182, 29 } // SideAllocGrpBC , { ETI_VAR_STRING, 0, 2000, VARTEXT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TESDeleteBroadcast@1406 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PACKAGEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESEXECID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, DELETEREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRDRPTSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, MESSAGEEVENTSOURCE_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTID_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TESExecutionBroadcast@1420 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, PACKAGEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TESEXECID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ALLOCID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRDRPTSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, MESSAGEEVENTSOURCE_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TESResponse@1434 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_UINT, 0, 4, TESEXECID_FH_IDX, 0 } , { ETI_STRING, 0, 20, TRADEREPORTID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TESTradeBroadcast@1439 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LASTQTY_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SETTLCURRAMT_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SIDEGROSSTRADEAMT_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SETTLCURRFXRATE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, ACCRUEDINTERESAMT_FH_IDX, 0 } , { ETI_FIXED_POINT, 7, 8, COUPONRATE_FH_IDX, 0 } , { ETI_UINT, 0, 8, ROOTPARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 8, ROOTPARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 4, PACKAGEID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, SIDETRADEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDSETTLEMENTUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDCONTRAUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDCONTRASETTLEMENTUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORIGTRADEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDEXECUTINGUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDCLEARINGUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, NUMDAYSINTEREST_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SRQSRELATEDTRADEID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, TRDTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, LASTMKT_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSFERREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEPUBLISHINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, DELIVERYTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, LASTCOUPONDEVIATIONINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, REFINANCINGELIGIBILITYINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CLEARINGINSTRUCTION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ROOTPARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_STRING, 0, 2, ACCOUNT_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_STRING, 0, 3, SETTLCURRENCY_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, ROOTPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYCLEARINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 4, ROOTPARTYEXECUTINGFIRMKVNUMBER_FH_IDX, 0 } , { ETI_STRING, 0, 35, ROOTPARTYSETTLEMENTACCOUNT_FH_IDX, 0 } , { ETI_STRING, 0, 3, ROOTPARTYSETTLEMENTLOCATION_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYSETTLEMENTFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYCONTRAFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYCONTRASETTLEMENTFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 4, ROOTPARTYCONTRAFIRMKVNUMBER_FH_IDX, 0 } , { ETI_STRING, 0, 35, ROOTPARTYCONTRASETTLEMENTACCOUNT_FH_IDX, 0 } , { ETI_STRING, 0, 3, ROOTPARTYCONTRASETTLEMENTLOCATION_FH_IDX, 0 } , { ETI_STRING, 0, 4, ROOTPARTYIDEXECUTIONVENUE_FH_IDX, 0 } , { ETI_STRING, 0, 52, REGULATORYTRADEID_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TESTradingSessionStatusBroadcast@1506 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_UINT, 0, 4, TRADEDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADSESEVENT_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TMTradingSessionStatusBroadcast@1512 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_UINT_ENUM, 0, 1, TRADSESEVENT_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // ThrottleUpdateNotification@1517 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 177, 48, 11 } // NotifHeader , { ETI_INT, 0, 8, THROTTLETIMEINTERVAL_FH_IDX, 0 } , { ETI_UINT, 0, 4, THROTTLENOMSGS_FH_IDX, 0 } , { ETI_UINT, 0, 4, THROTTLEDISCONNECTLIMIT_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TradeBroadcast@1523 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LASTQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SETTLCURRAMT_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SETTLCURRFXRATE_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, CUMQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, SIDEGROSSTRADEAMT_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, ACCRUEDINTERESAMT_FH_IDX, 0 } , { ETI_FIXED_POINT, 7, 8, COUPONRATE_FH_IDX, 0 } , { ETI_UINT, 0, 8, ROOTPARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 8, ROOTPARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORIGTRADEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDEXECUTINGUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDSESSIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDEXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDSETTLEMENTUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDCLEARINGUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDCONTRAUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, ROOTPARTYIDCONTRASETTLEMENTUNIT_FH_IDX, 0 } , { ETI_UINT, 0, 4, PARTYIDSPECIALISTTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SIDETRADEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SIDETRADEREPORTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADENUMBER_FH_IDX, 0 } , { ETI_UINT, 0, 4, MATCHDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRDMATCHID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NUMDAYSINTEREST_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, LASTMKT_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADEREPORTTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRANSFERREASON_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MATCHTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, MATCHSUBTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDELIQUIDITYIND_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, DELIVERYTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, LASTCOUPONDEVIATIONINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, REFINANCINGELIGIBILITYINDICATOR_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, CLEARINGINSTRUCTION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ROOTPARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_STRING, 0, 2, ACCOUNT_FH_IDX, 0 } , { ETI_STRING, 0, 3, SETTLCURRENCY_FH_IDX, 0 } , { ETI_STRING, 0, 3, CURRENCY_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDERCATEGORY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDTYPE_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, ROOTPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYCLEARINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 4, ROOTPARTYEXECUTINGFIRMKVNUMBER_FH_IDX, 0 } , { ETI_STRING, 0, 35, ROOTPARTYSETTLEMENTACCOUNT_FH_IDX, 0 } , { ETI_STRING, 0, 3, ROOTPARTYSETTLEMENTLOCATION_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYSETTLEMENTFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYCONTRAFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYCONTRASETTLEMENTFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 4, ROOTPARTYCONTRAFIRMKVNUMBER_FH_IDX, 0 } , { ETI_STRING, 0, 35, ROOTPARTYCONTRASETTLEMENTACCOUNT_FH_IDX, 0 } , { ETI_STRING, 0, 3, ROOTPARTYCONTRASETTLEMENTLOCATION_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYSPECIALISTFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYSPECIALISTTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 52, REGULATORYTRADEID_FH_IDX, 0 } , { ETI_STRING, 0, 4, ROOTPARTYIDEXECUTIONVENUE_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TradingSessionStatusBroadcast@1603 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADSESEVENT_FH_IDX, 0 } , { ETI_STRING, 0, 16, REFAPPLLASTMSGID_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // TrailingStopUpdateNotification@1611 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 291, 105, 19 } // RBCHeaderME , { ETI_UINT, 0, 8, ORDERID_FH_IDX, 0 } , { ETI_UINT, 0, 8, CLORDID_FH_IDX, 0 } , { ETI_UINT, 0, 8, ORIGCLORDID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXECID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, STOPPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, ORDERIDSFX_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 2, EXECRESTATEMENTREASON_FH_IDX, 0 } , { ETI_CHAR, 0, 1, ORDSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, EXECTYPE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIXCLORDID_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // UnsubscribeRequest@1629 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 4, REFAPPLSUBID_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // UnsubscribeResponse@1634 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_EOF, 0, 0, 0, 0 } // UserLoginRequest@1637 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 4, USERNAME_FH_IDX, 0 } , { ETI_STRING, 0, 32, PASSWORD_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // UserLoginResponse@1643 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_EOF, 0, 0, 0, 0 } // UserLogoutRequest@1646 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 4, USERNAME_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // UserLogoutResponse@1651 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightCreateDealNotification@1654 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LASTQTY_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRDRPTSTATUS_FH_IDX, 0 } , { ETI_CHAR, 0, 1, MESSAGEEVENTSOURCE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ALLOCMETHOD_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOORDERBOOKITEMS_FH_IDX, 26 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_STRING, 0, 5, ROOTPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, ROOTPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, ROOTPARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, TARGETPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, TARGETPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, TARGETPARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMTRADEID_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMNEGOTIATIONID_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_VAR_STRUCT, 0, 189, 50, 12 } // OrderBookItemGrp , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightDealResponse@1690 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SECONDARYTRADEID_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMTRADEID_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMNEGOTIATIONID_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightEnterQuoteRequest@1701 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BIDSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, OFFERSIZE_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightHitQuoteRequest@1725 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, PRICE_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDCLIENTID_FH_IDX, 0 } , { ETI_UINT, 0, 8, PARTYIDINVESTMENTDECISIONMAKER_FH_IDX, 0 } , { ETI_UINT, 0, 8, EXECUTINGTRADER_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, EXECUTINGTRADERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ALLOCMETHOD_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, ORDERORIGINATION_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMTRADEID_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightNegotiationNotification@1751 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NUMBEROFRESPONDENTS_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTESTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, TARGETPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, TARGETPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMNEGOTIATIONID_FH_IDX, 0 } , { ETI_STRING, 0, 132, FREETEXT5_FH_IDX, 0 } , { ETI_PADDING, 0, 6, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightNegotiationRequesterNotification@1771 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, TRDREGTSEXECUTIONTIME_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LASTQTY_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NUMBEROFRESPONDENTS_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTESTATUS_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOTARGETPARTYIDS_FH_IDX, 50 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, NUMBEROFRESPDISCLOSUREINSTRUCTION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMNEGOTIATIONID_FH_IDX, 0 } , { ETI_STRING, 0, 132, FREETEXT5_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_VAR_STRUCT, 0, 481, 191, 31 } // XetraEnLightTargetParties , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightNegotiationStatusNotification@1796 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTESTATUS_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMNEGOTIATIONID_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightOpenNegotiationNotification@1804 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, NEGOTIATIONSTARTTIME_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LEAVESQTY_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXPIRETIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NUMBEROFRESPONDENTS_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTESTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, RESPONDENTTYPE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 5, TARGETPARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, TARGETPARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMNEGOTIATIONID_FH_IDX, 0 } , { ETI_STRING, 0, 132, FREETEXT5_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightOpenNegotiationRequest@1829 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, VALIDUNTILTIME_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOTARGETPARTYIDS_FH_IDX, 50 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, NUMBEROFRESPDISCLOSUREINSTRUCTION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEVALUE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, VALUECHECKTYPEQUANTITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, RESPONDENTTYPE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 132, FREETEXT5_FH_IDX, 0 } , { ETI_STRING, 0, 20, QUOTEREQID_FH_IDX, 0 } , { ETI_PADDING, 0, 7, 0, 0 } , { ETI_VAR_STRUCT, 0, 481, 191, 31 } // XetraEnLightTargetParties , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightOpenNegotiationRequesterNotification@1851 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_INT, 0, 8, SECURITYID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, LASTPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, LASTQTY_FH_IDX, 0 } , { ETI_TIMESTAMP_NS, 0, 8, EXPIRETIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NUMBEROFRESPONDENTS_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTESTATUS_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOTARGETPARTYIDS_FH_IDX, 50 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, NUMBEROFRESPDISCLOSUREINSTRUCTION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, RESPONDENTTYPE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, FIRMNEGOTIATIONID_FH_IDX, 0 } , { ETI_STRING, 0, 132, FREETEXT5_FH_IDX, 0 } , { ETI_PADDING, 0, 2, 0, 0 } , { ETI_VAR_STRUCT, 0, 481, 191, 31 } // XetraEnLightTargetParties , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightQuoteNotification@1878 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT, 0, 8, SECONDARYQUOTEID_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, BIDSIZE_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, OFFERSIZE_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADINGCAPACITY_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTINGSTATUS_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTEEVENTREASON_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYENTERINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 20, QUOTEREQID_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT1_FH_IDX, 0 } , { ETI_STRING, 0, 12, FREETEXT2_FH_IDX, 0 } , { ETI_STRING, 0, 16, FREETEXT4_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightQuoteRequesterNotification@1900 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_TIMESTAMP_NS, 0, 8, TRANSACTTIME_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, TRADEID_FH_IDX, 0 } , { ETI_STRING, 0, 20, QUOTEREQID_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOQUOTEENTRIES_FH_IDX, 100 } // <- counter@0 , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_VAR_STRUCT, 0, 365, 140, 24 } // SRQSQuoteEntryGrp , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightQuoteResponse@1910 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 317, 119, 21 } // ResponseHeader , { ETI_UINT, 0, 8, QUOTEID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_STRING, 0, 20, QUOTEREQID_FH_IDX, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightQuotingStatusRequest@1916 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTINGSTATUS_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_PADDING, 0, 4, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightStatusBroadcast@1925 , { ETI_STRUCT, 0, 84, 24, 6 } // MessageHeaderOut , { ETI_STRUCT, 0, 281, 96, 18 } // RBCHeader , { ETI_UINT, 0, 4, TRADEDATE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, TRADSESEVENT_FH_IDX, 0 } , { ETI_PADDING, 0, 3, 0, 0 } , { ETI_EOF, 0, 0, 0, 0 } // XetraEnLightUpdateNegotiationRequest@1931 , { ETI_STRUCT, 0, 68, 19, 5 } // MessageHeaderIn , { ETI_STRUCT, 0, 303, 116, 20 } // RequestHeader , { ETI_FIXED_POINT, 8, 8, BIDPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 8, 8, OFFERPX_FH_IDX, 0 } , { ETI_FIXED_POINT, 4, 8, ORDERQTY_FH_IDX, 0 } , { ETI_INT, 0, 4, MARKETSEGMENTID_FH_IDX, 0 } , { ETI_UINT, 0, 4, NEGOTIATIONID_FH_IDX, 0 } , { ETI_UINT, 0, 4, SETTLDATE_FH_IDX, 0 } , { ETI_COUNTER, 0, 1, NOTARGETPARTYIDS_FH_IDX, 50 } // <- counter@0 , { ETI_UINT_ENUM, 0, 1, NUMBEROFRESPDISCLOSUREINSTRUCTION_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, SIDE_FH_IDX, 0 } , { ETI_UINT_ENUM, 0, 1, QUOTECANCELTYPE_FH_IDX, 0 } , { ETI_STRING, 0, 5, PARTYEXECUTINGFIRM_FH_IDX, 0 } , { ETI_STRING, 0, 6, PARTYEXECUTINGTRADER_FH_IDX, 0 } , { ETI_STRING, 0, 132, FREETEXT5_FH_IDX, 0 } , { ETI_PADDING, 0, 1, 0, 0 } , { ETI_VAR_STRUCT, 0, 481, 191, 31 } // XetraEnLightTargetParties , { ETI_EOF, 0, 0, 0, 0 } }; static const int16_t tid2fidx[] = { 573 /* LogonRequest */ , 590 /* LogonResponse */ , 603 /* LogoutRequest */ , 606 /* LogoutResponse */ , -1 , 1337 /* SubscribeResponse */ , 1629 /* UnsubscribeRequest */ , 1634 /* UnsubscribeResponse */ , 1150 /* RetransmitRequest */ , 1158 /* RetransmitResponse */ , 1126 /* Reject */ , 501 /* Heartbeat */ , 487 /* ForcedLogoutNotification */ , -1 , -1 , -1 , -1 , -1 , 1637 /* UserLoginRequest */ , 1643 /* UserLoginResponse */ , -1 , -1 , -1 , 503 /* HeartbeatNotification */ , 1651 /* UserLogoutResponse */ , 1331 /* SubscribeRequest */ , 1134 /* RetransmitMEMessageRequest */ , 1143 /* RetransmitMEMessageResponse */ , 1517 /* ThrottleUpdateNotification */ , 1646 /* UserLogoutRequest */ , 1165 /* ServiceAvailabilityBroadcast */ , 883 /* NewsBroadcast */ , 224 /* BroadcastErrorNotification */ , -1 , 1020 /* PartyEntitlementsUpdateReport */ , 517 /* InquireSessionListRequest */ , 520 /* InquireSessionListResponse */ , 565 /* LegalNotificationBroadcast */ , 526 /* InquireUserRequest */ , 530 /* InquireUserResponse */ , 506 /* InquireEnrichmentRuleIDListRequest */ , 510 /* InquireEnrichmentRuleIDListResponse */ , 1008 /* PartyActionReport */ , 493 /* ForcedUserLogoutNotification */ , 1180 /* ServiceAvailabilityMarketBroadcast */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 814 /* NewOrderSingleRequest */ , 793 /* NewOrderResponse */ , 774 /* NewOrderNRResponse */ , 979 /* OrderExecResponse */ , 891 /* OrderExecNotification */ , -1 , 686 /* ModifyOrderSingleRequest */ , 662 /* ModifyOrderResponse */ , 639 /* ModifyOrderNRResponse */ , 393 /* DeleteOrderSingleRequest */ , 377 /* DeleteOrderResponse */ , 361 /* DeleteOrderNRResponse */ , 336 /* DeleteOrderBroadcast */ , -1 , -1 , -1 , -1 , 919 /* OrderExecReportBroadcast */ , 234 /* CrossRequest */ , 241 /* CrossRequestResponse */ , 279 /* DeleteAllOrderRequest */ , 293 /* DeleteAllOrderResponse */ , 245 /* DeleteAllOrderBroadcast */ , -1 , 266 /* DeleteAllOrderNRResponse */ , 858 /* NewOrderSingleShortRequest */ , 732 /* ModifyOrderSingleShortRequest */ , 1611 /* TrailingStopUpdateNotification */ , 437 /* ExtendedDeletionReport */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1235 /* SpecialistOrderBookNotification */ , 1214 /* SpecialistDeleteAllOrderBroadcast */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1603 /* TradingSessionStatusBroadcast */ , 270 /* DeleteAllOrderQuoteEventBroadcast */ , -1 , -1 , -1 , -1 , -1 , 550 /* IssuerSecurityStateChangeRequest */ , 561 /* IssuerSecurityStateChangeResponse */ , 537 /* IssuerNotification */ , 1320 /* SpecialistSecurityStateChangeRequest */ , 1327 /* SpecialistSecurityStateChangeResponse */ , 1227 /* SpecialistInstrumentEventNotification */ , 1033 /* PingRequest */ , 1038 /* PingResponse */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1100 /* RFQRequest */ , 1111 /* RFQResponse */ , 1054 /* QuoteActivationRequest */ , 1065 /* QuoteActivationResponse */ , 609 /* MassQuoteRequest */ , 630 /* MassQuoteResponse */ , 1072 /* QuoteExecutionReport */ , 319 /* DeleteAllQuoteRequest */ , 329 /* DeleteAllQuoteResponse */ , 304 /* DeleteAllQuoteBroadcast */ , 1042 /* QuoteActivationNotification */ , -1 , -1 , -1 , 1080 /* RFQBroadcast */ , -1 , -1 , 1187 /* SingleQuoteRequest */ , 1115 /* RFQSpecialistBroadcast */ , 1090 /* RFQRejectNotification */ , 1282 /* SpecialistRFQRejectRequest */ , 1304 /* SpecialistRFQReplyRequest */ , 1316 /* SpecialistRFQReplyResponse */ , 1291 /* SpecialistRFQReplyNotification */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1523 /* TradeBroadcast */ , 1512 /* TMTradingSessionStatusBroadcast */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 421 /* EnterTESTradeRequest */ , 758 /* ModifyTESTradeRequest */ , 411 /* DeleteTESTradeRequest */ , 196 /* ApproveTESTradeRequest */ , 1380 /* TESBroadcast */ , -1 , 1406 /* TESDeleteBroadcast */ , 1342 /* TESApproveBroadcast */ , -1 , -1 , 1420 /* TESExecutionBroadcast */ , 1434 /* TESResponse */ , -1 , -1 , 1439 /* TESTradeBroadcast */ , 1506 /* TESTradingSessionStatusBroadcast */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1829 /* XetraEnLightOpenNegotiationRequest */ , 1931 /* XetraEnLightUpdateNegotiationRequest */ , 1701 /* XetraEnLightEnterQuoteRequest */ , 1910 /* XetraEnLightQuoteResponse */ , 1725 /* XetraEnLightHitQuoteRequest */ , 1690 /* XetraEnLightDealResponse */ , -1 , 1878 /* XetraEnLightQuoteNotification */ , 1654 /* XetraEnLightCreateDealNotification */ , -1 , 1851 /* XetraEnLightOpenNegotiationRequesterNotification */ , 1804 /* XetraEnLightOpenNegotiationNotification */ , 1771 /* XetraEnLightNegotiationRequesterNotification */ , 1751 /* XetraEnLightNegotiationNotification */ , 1925 /* XetraEnLightStatusBroadcast */ , 1796 /* XetraEnLightNegotiationStatusNotification */ , 1900 /* XetraEnLightQuoteRequesterNotification */ , 1916 /* XetraEnLightQuotingStatusRequest */ }; static const uint32_t tid2size[818][2] = { { 280, 280 } /* LogonRequest */ , { 96, 96 } /* LogonResponse */ , { 24, 24 } /* LogoutRequest */ , { 32, 32 } /* LogoutResponse */ , { 0, 0} , { 40, 40 } /* SubscribeResponse */ , { 32, 32 } /* UnsubscribeRequest */ , { 32, 32 } /* UnsubscribeResponse */ , { 48, 48 } /* RetransmitRequest */ , { 56, 56 } /* RetransmitResponse */ , { 64, 2064 } /* Reject */ , { 16, 16 } /* Heartbeat */ , { 24, 2024 } /* ForcedLogoutNotification */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 64, 64 } /* UserLoginRequest */ , { 32, 32 } /* UserLoginResponse */ , { 0, 0} , { 0, 0} , { 0, 0} , { 16, 16 } /* HeartbeatNotification */ , { 32, 32 } /* UserLogoutResponse */ , { 32, 32 } /* SubscribeRequest */ , { 64, 64 } /* RetransmitMEMessageRequest */ , { 72, 72 } /* RetransmitMEMessageResponse */ , { 32, 32 } /* ThrottleUpdateNotification */ , { 32, 32 } /* UserLogoutRequest */ , { 56, 56 } /* ServiceAvailabilityBroadcast */ , { 312, 2312 } /* NewsBroadcast */ , { 32, 2032 } /* BroadcastErrorNotification */ , { 0, 0} , { 88, 88 } /* PartyEntitlementsUpdateReport */ , { 24, 24 } /* InquireSessionListRequest */ , { 48, 8040 } /* InquireSessionListResponse */ , { 56, 2056 } /* LegalNotificationBroadcast */ , { 40, 40 } /* InquireUserRequest */ , { 56, 16056 } /* InquireUserResponse */ , { 40, 40 } /* InquireEnrichmentRuleIDListRequest */ , { 56, 19256 } /* InquireEnrichmentRuleIDListResponse */ , { 72, 72 } /* PartyActionReport */ , { 24, 2024 } /* ForcedUserLogoutNotification */ , { 32, 32 } /* ServiceAvailabilityMarketBroadcast */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 248, 248 } /* NewOrderSingleRequest */ , { 152, 2552 } /* NewOrderResponse */ , { 120, 2520 } /* NewOrderNRResponse */ , { 184, 5784 } /* OrderExecResponse */ , { 176, 5776 } /* OrderExecNotification */ , { 0, 0} , { 256, 256 } /* ModifyOrderSingleRequest */ , { 176, 2576 } /* ModifyOrderResponse */ , { 152, 2552 } /* ModifyOrderNRResponse */ , { 120, 120 } /* DeleteOrderSingleRequest */ , { 144, 144 } /* DeleteOrderResponse */ , { 128, 128 } /* DeleteOrderNRResponse */ , { 184, 184 } /* DeleteOrderBroadcast */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 360, 5960 } /* OrderExecReportBroadcast */ , { 48, 48 } /* CrossRequest */ , { 64, 64 } /* CrossRequestResponse */ , { 72, 72 } /* DeleteAllOrderRequest */ , { 88, 20088 } /* DeleteAllOrderResponse */ , { 120, 20120 } /* DeleteAllOrderBroadcast */ , { 0, 0} , { 64, 64 } /* DeleteAllOrderNRResponse */ , { 104, 104 } /* NewOrderSingleShortRequest */ , { 112, 112 } /* ModifyOrderSingleShortRequest */ , { 160, 160 } /* TrailingStopUpdateNotification */ , { 344, 344 } /* ExtendedDeletionReport */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 264, 3464 } /* SpecialistOrderBookNotification */ , { 88, 16088 } /* SpecialistDeleteAllOrderBroadcast */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 96, 96 } /* TradingSessionStatusBroadcast */ , { 88, 88 } /* DeleteAllOrderQuoteEventBroadcast */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 48, 80 } /* IssuerSecurityStateChangeRequest */ , { 64, 64 } /* IssuerSecurityStateChangeResponse */ , { 128, 128 } /* IssuerNotification */ , { 40, 40 } /* SpecialistSecurityStateChangeRequest */ , { 64, 64 } /* SpecialistSecurityStateChangeResponse */ , { 88, 88 } /* SpecialistInstrumentEventNotification */ , { 32, 32 } /* PingRequest */ , { 64, 64 } /* PingResponse */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 56, 56 } /* RFQRequest */ , { 64, 64 } /* RFQResponse */ , { 56, 56 } /* QuoteActivationRequest */ , { 72, 4072 } /* QuoteActivationResponse */ , { 72, 4072 } /* MassQuoteRequest */ , { 80, 4880 } /* MassQuoteResponse */ , { 128, 4880 } /* QuoteExecutionReport */ , { 56, 56 } /* DeleteAllQuoteRequest */ , { 72, 4072 } /* DeleteAllQuoteResponse */ , { 104, 4104 } /* DeleteAllQuoteBroadcast */ , { 88, 4088 } /* QuoteActivationNotification */ , { 0, 0} , { 0, 0} , { 0, 0} , { 104, 104 } /* RFQBroadcast */ , { 0, 0} , { 0, 0} , { 160, 160 } /* SingleQuoteRequest */ , { 112, 112 } /* RFQSpecialistBroadcast */ , { 104, 104 } /* RFQRejectNotification */ , { 56, 56 } /* SpecialistRFQRejectRequest */ , { 88, 88 } /* SpecialistRFQReplyRequest */ , { 64, 64 } /* SpecialistRFQReplyResponse */ , { 136, 136 } /* SpecialistRFQReplyNotification */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 504, 504 } /* TradeBroadcast */ , { 48, 48 } /* TMTradingSessionStatusBroadcast */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 144, 3280 } /* EnterTESTradeRequest */ , { 136, 3272 } /* ModifyTESTradeRequest */ , { 64, 64 } /* DeleteTESTradeRequest */ , { 160, 160 } /* ApproveTESTradeRequest */ , { 192, 5328 } /* TESBroadcast */ , { 0, 0} , { 88, 88 } /* TESDeleteBroadcast */ , { 224, 2224 } /* TESApproveBroadcast */ , { 0, 0} , { 0, 0} , { 72, 72 } /* TESExecutionBroadcast */ , { 56, 56 } /* TESResponse */ , { 0, 0} , { 0, 0} , { 440, 440 } /* TESTradeBroadcast */ , { 48, 48 } /* TESTradingSessionStatusBroadcast */ , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 0, 0} , { 248, 1048 } /* XetraEnLightOpenNegotiationRequest */ , { 208, 1008 } /* XetraEnLightUpdateNegotiationRequest */ , { 152, 152 } /* XetraEnLightEnterQuoteRequest */ , { 64, 64 } /* XetraEnLightQuoteResponse */ , { 160, 160 } /* XetraEnLightHitQuoteRequest */ , { 104, 104 } /* XetraEnLightDealResponse */ , { 0, 0} , { 184, 184 } /* XetraEnLightQuoteNotification */ , { 240, 1280 } /* XetraEnLightCreateDealNotification */ , { 0, 0} , { 296, 1096 } /* XetraEnLightOpenNegotiationRequesterNotification */ , { 296, 296 } /* XetraEnLightOpenNegotiationNotification */ , { 296, 1096 } /* XetraEnLightNegotiationRequesterNotification */ , { 272, 272 } /* XetraEnLightNegotiationNotification */ , { 48, 48 } /* XetraEnLightStatusBroadcast */ , { 80, 80 } /* XetraEnLightNegotiationStatusNotification */ , { 80, 8080 } /* XetraEnLightQuoteRequesterNotification */ , { 48, 48 } /* XetraEnLightQuotingStatusRequest */ }; static const unsigned char usages[] = { // ApproveTESTradeRequest //// MessageHeaderInComp 0 // BodyLen#0 , 0 // TemplateID#1 , 2 // NetworkMsgID#2 /// //// RequestHeaderComp , 0 // MsgSeqNum#3 , 0 // SenderSubID#4 /// , 1 // PartyIDClientID#5 , 1 // PartyIdInvestmentDecisionMaker#6 , 1 // ExecutingTrader#7 , 0 // AllocQty#8 , 0 // PackageID#9 , 0 // AllocID#10 , 0 // TESExecID#11 , 0 // MarketSegmentID#12 , 0 // TrdType#13 , 0 // TradingCapacity#14 , 0 // TradeReportType#15 , 0 // Side#16 , 0 // ValueCheckTypeValue#17 , 0 // ValueCheckTypeQuantity#18 , 0 // OrderAttributeLiquidityProvision#19 , 1 // PartyIdInvestmentDecisionMakerQualifier#20 , 0 // ExecutingTraderQualifier#21 , 1 // OrderOrigination#22 , 1 // TradeReportID#23 , 0 // PartyExecutingFirm#24 , 0 // PartyExecutingTrader#25 , 1 // FreeText1#26 , 1 // FreeText2#27 , 1 // FreeText4#28 // BroadcastErrorNotification //// MessageHeaderOutComp , 0 // BodyLen#29 , 0 // TemplateID#30 /// //// NotifHeaderComp , 0 // SendingTime#31 /// , 0 // ApplIDStatus#32 , 1 // RefApplSubID#33 , 0 // VarTextLen#34 , 0 // RefApplID#35 , 0 // SessionStatus#36 , 0 // VarText#37 // CrossRequest //// MessageHeaderInComp , 0 // BodyLen#38 , 0 // TemplateID#39 , 2 // NetworkMsgID#40 /// //// RequestHeaderComp , 0 // MsgSeqNum#41 , 0 // SenderSubID#42 /// , 0 // SecurityID#43 , 0 // OrderQty#44 , 0 // MarketSegmentID#45 // CrossRequestResponse //// MessageHeaderOutComp , 0 // BodyLen#46 , 0 // TemplateID#47 /// //// NRResponseHeaderMEComp , 0 // RequestTime#48 , 0 // TrdRegTSTimeIn#49 , 0 // TrdRegTSTimeOut#50 , 0 // ResponseIn#51 , 0 // SendingTime#52 , 0 // MsgSeqNum#53 , 0 // LastFragment#54 /// , 0 // ExecID#55 // DeleteAllOrderBroadcast //// MessageHeaderOutComp , 0 // BodyLen#56 , 0 // TemplateID#57 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#58 , 1 // NotificationIn#59 , 0 // SendingTime#60 , 1 // ApplSubID#61 , 0 // PartitionID#62 , 0 // ApplMsgID#63 , 0 // ApplID#64 , 0 // ApplResendFlag#65 , 0 // LastFragment#66 /// , 0 // MassActionReportID#67 , 1 // SecurityID#68 , 1 // Price#69 , 0 // MarketSegmentID#70 , 0 // TargetPartyIDSessionID#71 , 1 // TargetPartyIDExecutingTrader#72 , 1 // PartyIDEnteringTrader#73 , 0 // NoNotAffectedOrders#74 , 0 // NoAffectedOrders#75 , 0 // NoAffectedOrderRequests#76 , 1 // PartyIDEnteringFirm#77 , 0 // MassActionReason#78 , 0 // ExecInst#79 , 1 // Side#80 //// NotAffectedOrdersGrpComp , 0 // NotAffectedOrderID#81 , 1 // NotAffOrigClOrdID#82 /// //// AffectedOrdGrpComp , 0 // AffectedOrderID#83 , 1 // AffectedOrigClOrdID#84 /// //// AffectedOrderRequestsGrpComp , 0 // AffectedOrderRequestID#85 /// // DeleteAllOrderNRResponse //// MessageHeaderOutComp , 0 // BodyLen#86 , 0 // TemplateID#87 /// //// NRResponseHeaderMEComp , 0 // RequestTime#88 , 0 // TrdRegTSTimeIn#89 , 0 // TrdRegTSTimeOut#90 , 0 // ResponseIn#91 , 0 // SendingTime#92 , 0 // MsgSeqNum#93 , 0 // LastFragment#94 /// , 0 // MassActionReportID#95 // DeleteAllOrderQuoteEventBroadcast //// MessageHeaderOutComp , 0 // BodyLen#96 , 0 // TemplateID#97 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#98 , 1 // NotificationIn#99 , 0 // SendingTime#100 , 1 // ApplSubID#101 , 0 // PartitionID#102 , 1 // ApplMsgID#103 , 0 // ApplID#104 , 0 // ApplResendFlag#105 , 0 // LastFragment#106 /// , 0 // MassActionReportID#107 , 1 // SecurityID#108 , 0 // MarketSegmentID#109 , 0 // MassActionReason#110 , 1 // ExecInst#111 // DeleteAllOrderRequest //// MessageHeaderInComp , 0 // BodyLen#112 , 0 // TemplateID#113 , 2 // NetworkMsgID#114 /// //// RequestHeaderComp , 0 // MsgSeqNum#115 , 0 // SenderSubID#116 /// , 1 // SecurityID#117 , 1 // Price#118 , 1 // PartyIdInvestmentDecisionMaker#119 , 1 // ExecutingTrader#120 , 0 // MarketSegmentID#121 , 1 // TargetPartyIDSessionID#122 , 1 // TargetPartyIDExecutingTrader#123 , 1 // Side#124 , 1 // OrderOrigination#125 , 1 // PartyIdInvestmentDecisionMakerQualifier#126 , 0 // ExecutingTraderQualifier#127 // DeleteAllOrderResponse //// MessageHeaderOutComp , 0 // BodyLen#128 , 0 // TemplateID#129 /// //// ResponseHeaderMEComp , 0 // RequestTime#130 , 0 // TrdRegTSTimeIn#131 , 0 // TrdRegTSTimeOut#132 , 0 // ResponseIn#133 , 0 // SendingTime#134 , 0 // MsgSeqNum#135 , 0 // PartitionID#136 , 0 // ApplID#137 , 0 // ApplMsgID#138 , 0 // LastFragment#139 /// , 0 // MassActionReportID#140 , 0 // NoNotAffectedOrders#141 , 0 // NoAffectedOrders#142 , 0 // NoAffectedOrderRequests#143 //// NotAffectedOrdersGrpComp , 0 // NotAffectedOrderID#144 , 1 // NotAffOrigClOrdID#145 /// //// AffectedOrdGrpComp , 0 // AffectedOrderID#146 , 1 // AffectedOrigClOrdID#147 /// //// AffectedOrderRequestsGrpComp , 0 // AffectedOrderRequestID#148 /// // DeleteAllQuoteBroadcast //// MessageHeaderOutComp , 0 // BodyLen#149 , 0 // TemplateID#150 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#151 , 1 // NotificationIn#152 , 0 // SendingTime#153 , 2 // ApplSubID#154 , 0 // PartitionID#155 , 1 // ApplMsgID#156 , 0 // ApplID#157 , 0 // ApplResendFlag#158 , 0 // LastFragment#159 /// , 0 // MassActionReportID#160 , 2 // SecurityID#161 , 0 // MarketSegmentID#162 , 0 // TargetPartyIDSessionID#163 , 1 // PartyIDEnteringTrader#164 , 1 // TargetPartyIDExecutingTrader#165 , 0 // NoNotAffectedSecurities#166 , 0 // MassActionReason#167 , 1 // PartyIDEnteringFirm#168 , 1 // TargetPartyIDDeskID#169 //// NotAffectedSecuritiesGrpComp , 0 // NotAffectedSecurityID#170 /// // DeleteAllQuoteRequest //// MessageHeaderInComp , 0 // BodyLen#171 , 0 // TemplateID#172 , 2 // NetworkMsgID#173 /// //// RequestHeaderComp , 0 // MsgSeqNum#174 , 0 // SenderSubID#175 /// , 1 // PartyIdInvestmentDecisionMaker#176 , 1 // ExecutingTrader#177 , 0 // MarketSegmentID#178 , 1 // TargetPartyIDSessionID#179 , 1 // PartyIdInvestmentDecisionMakerQualifier#180 , 0 // ExecutingTraderQualifier#181 // DeleteAllQuoteResponse //// MessageHeaderOutComp , 0 // BodyLen#182 , 0 // TemplateID#183 /// //// NRResponseHeaderMEComp , 0 // RequestTime#184 , 1 // TrdRegTSTimeIn#185 , 1 // TrdRegTSTimeOut#186 , 0 // ResponseIn#187 , 0 // SendingTime#188 , 0 // MsgSeqNum#189 , 0 // LastFragment#190 /// , 0 // MassActionReportID#191 , 0 // NoNotAffectedSecurities#192 //// NotAffectedSecuritiesGrpComp , 0 // NotAffectedSecurityID#193 /// // DeleteOrderBroadcast //// MessageHeaderOutComp , 0 // BodyLen#194 , 0 // TemplateID#195 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#196 , 1 // NotificationIn#197 , 0 // SendingTime#198 , 1 // ApplSubID#199 , 0 // PartitionID#200 , 1 // ApplMsgID#201 , 1 // ApplID#202 , 0 // ApplResendFlag#203 , 0 // LastFragment#204 /// , 0 // OrderID#205 , 1 // ClOrdID#206 , 1 // OrigClOrdID#207 , 0 // SecurityID#208 , 0 // ExecID#209 , 0 // CumQty#210 , 0 // CxlQty#211 , 1 // QuoteID#212 , 0 // OrderIDSfx#213 , 0 // MarketSegmentID#214 , 1 // PartyIDEnteringTrader#215 , 1 // PartyIDSessionID#216 , 0 // ExecRestatementReason#217 , 1 // PartyIDEnteringFirm#218 , 0 // OrdStatus#219 , 0 // ExecType#220 , 0 // Side#221 , 1 // OrderEventType#222 , 1 // FIXClOrdID#223 , 1 // PartyEnteringFirm#224 , 1 // PartyEnteringTrader#225 // DeleteOrderNRResponse //// MessageHeaderOutComp , 0 // BodyLen#226 , 0 // TemplateID#227 /// //// NRResponseHeaderMEComp , 0 // RequestTime#228 , 0 // TrdRegTSTimeIn#229 , 0 // TrdRegTSTimeOut#230 , 0 // ResponseIn#231 , 0 // SendingTime#232 , 0 // MsgSeqNum#233 , 0 // LastFragment#234 /// , 0 // OrderID#235 , 1 // ClOrdID#236 , 1 // OrigClOrdID#237 , 0 // SecurityID#238 , 0 // ExecID#239 , 0 // CumQty#240 , 0 // CxlQty#241 , 0 // OrderIDSfx#242 , 0 // OrdStatus#243 , 0 // ExecType#244 , 0 // ExecRestatementReason#245 , 0 // TransactionDelayIndicator#246 // DeleteOrderResponse //// MessageHeaderOutComp , 0 // BodyLen#247 , 0 // TemplateID#248 /// //// ResponseHeaderMEComp , 0 // RequestTime#249 , 0 // TrdRegTSTimeIn#250 , 0 // TrdRegTSTimeOut#251 , 0 // ResponseIn#252 , 0 // SendingTime#253 , 0 // MsgSeqNum#254 , 0 // PartitionID#255 , 0 // ApplID#256 , 1 // ApplMsgID#257 , 0 // LastFragment#258 /// , 0 // OrderID#259 , 1 // ClOrdID#260 , 1 // OrigClOrdID#261 , 0 // SecurityID#262 , 0 // ExecID#263 , 0 // CumQty#264 , 0 // CxlQty#265 , 0 // OrderIDSfx#266 , 0 // OrdStatus#267 , 0 // ExecType#268 , 0 // ExecRestatementReason#269 , 0 // TransactionDelayIndicator#270 // DeleteOrderSingleRequest //// MessageHeaderInComp , 0 // BodyLen#271 , 0 // TemplateID#272 , 2 // NetworkMsgID#273 /// //// RequestHeaderComp , 0 // MsgSeqNum#274 , 0 // SenderSubID#275 /// , 1 // OrderID#276 , 1 // ClOrdID#277 , 1 // OrigClOrdID#278 , 0 // SecurityID#279 , 1 // PartyIdInvestmentDecisionMaker#280 , 1 // ExecutingTrader#281 , 0 // MarketSegmentID#282 , 1 // TargetPartyIDSessionID#283 , 1 // OrderOrigination#284 , 1 // PartyIdInvestmentDecisionMakerQualifier#285 , 1 // ExecutingTraderQualifier#286 , 1 // FIXClOrdID#287 , 1 // PartyExecutingFirm#288 , 1 // PartyExecutingTrader#289 // DeleteTESTradeRequest //// MessageHeaderInComp , 0 // BodyLen#290 , 0 // TemplateID#291 , 2 // NetworkMsgID#292 /// //// RequestHeaderComp , 0 // MsgSeqNum#293 , 0 // SenderSubID#294 /// , 0 // PackageID#295 , 0 // MarketSegmentID#296 , 0 // TESExecID#297 , 0 // TrdType#298 , 0 // TradeReportType#299 , 1 // TradeReportID#300 // EnterTESTradeRequest //// MessageHeaderInComp , 0 // BodyLen#301 , 0 // TemplateID#302 , 2 // NetworkMsgID#303 /// //// RequestHeaderComp , 0 // MsgSeqNum#304 , 0 // SenderSubID#305 /// , 0 // SecurityID#306 , 0 // LastPx#307 , 1 // TransBkdTime#308 , 1 // SettlCurrFxRate#309 , 0 // MarketSegmentID#310 , 1 // SettlDate#311 , 0 // TrdType#312 , 0 // TradeReportType#313 , 0 // NoSideAllocs#314 , 1 // TradeReportText#315 , 1 // TradeReportID#316 //// SideAllocGrpComp , 0 // AllocQty#317 , 2 // IndividualAllocID#318 , 1 // TESEnrichmentRuleID#319 , 0 // Side#320 , 0 // PartyExecutingFirm#321 , 0 // PartyExecutingTrader#322 /// // ExtendedDeletionReport //// MessageHeaderOutComp , 0 // BodyLen#323 , 0 // TemplateID#324 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#325 , 1 // NotificationIn#326 , 0 // SendingTime#327 , 1 // ApplSubID#328 , 0 // PartitionID#329 , 1 // ApplMsgID#330 , 0 // ApplID#331 , 0 // ApplResendFlag#332 , 0 // LastFragment#333 /// , 0 // OrderID#334 , 1 // ClOrdID#335 , 1 // OrigClOrdID#336 , 0 // SecurityID#337 , 0 // ExecID#338 , 0 // TrdRegTSEntryTime#339 , 1 // Price#340 , 0 // LeavesQty#341 , 0 // CumQty#342 , 0 // CxlQty#343 , 0 // OrderQty#344 , 1 // DisplayQty#345 , 1 // DisplayLowQty#346 , 1 // DisplayHighQty#347 , 1 // StopPx#348 , 1 // VolumeDiscoveryPrice#349 , 1 // PegOffsetValueAbs#350 , 1 // PegOffsetValuePct#351 , 1 // QuoteID#352 , 0 // MarketSegmentID#353 , 0 // OrderIDSfx#354 , 1 // ExpireDate#355 , 1 // MatchInstCrossID#356 , 0 // PartyIDExecutingUnit#357 , 0 // PartyIDSessionID#358 , 0 // PartyIDExecutingTrader#359 , 1 // PartyIDEnteringTrader#360 , 0 // ExecRestatementReason#361 , 0 // OrdStatus#362 , 0 // ExecType#363 , 0 // Side#364 , 0 // OrdType#365 , 0 // TradingCapacity#366 , 1 // TimeInForce#367 , 1 // ExecInst#368 , 1 // TradingSessionSubID#369 , 1 // ApplSeqIndicator#370 , 1 // FreeText1#371 , 1 // FreeText2#372 , 1 // FreeText4#373 , 1 // PartyEnteringFirm#374 , 1 // PartyEnteringTrader#375 , 0 // PartyExecutingFirm#376 , 0 // PartyExecutingTrader#377 , 1 // FIXClOrdID#378 , 0 // Triggered#379 // ForcedLogoutNotification //// MessageHeaderOutComp , 0 // BodyLen#380 , 0 // TemplateID#381 /// //// NotifHeaderComp , 0 // SendingTime#382 /// , 0 // VarTextLen#383 , 0 // VarText#384 // ForcedUserLogoutNotification //// MessageHeaderOutComp , 0 // BodyLen#385 , 0 // TemplateID#386 /// //// NotifHeaderComp , 0 // SendingTime#387 /// , 0 // Username#388 , 0 // VarTextLen#389 , 0 // UserStatus#390 , 0 // VarText#391 // Heartbeat //// MessageHeaderInComp , 0 // BodyLen#392 , 0 // TemplateID#393 , 2 // NetworkMsgID#394 /// // HeartbeatNotification //// MessageHeaderOutComp , 0 // BodyLen#395 , 0 // TemplateID#396 /// //// NotifHeaderComp , 0 // SendingTime#397 /// // InquireEnrichmentRuleIDListRequest //// MessageHeaderInComp , 0 // BodyLen#398 , 0 // TemplateID#399 , 2 // NetworkMsgID#400 /// //// RequestHeaderComp , 0 // MsgSeqNum#401 , 2 // SenderSubID#402 /// , 1 // LastEntityProcessed#403 // InquireEnrichmentRuleIDListResponse //// MessageHeaderOutComp , 0 // BodyLen#404 , 0 // TemplateID#405 /// //// ResponseHeaderComp , 0 // RequestTime#406 , 0 // SendingTime#407 , 0 // MsgSeqNum#408 /// , 1 // LastEntityProcessed#409 , 0 // NoEnrichmentRules#410 //// EnrichmentRulesGrpComp , 0 // EnrichmentRuleID#411 , 1 // FreeText1#412 , 1 // FreeText2#413 , 1 // FreeText4#414 /// // InquireSessionListRequest //// MessageHeaderInComp , 0 // BodyLen#415 , 0 // TemplateID#416 , 2 // NetworkMsgID#417 /// //// RequestHeaderComp , 0 // MsgSeqNum#418 , 2 // SenderSubID#419 /// // InquireSessionListResponse //// MessageHeaderOutComp , 0 // BodyLen#420 , 0 // TemplateID#421 /// //// ResponseHeaderComp , 0 // RequestTime#422 , 0 // SendingTime#423 , 0 // MsgSeqNum#424 /// , 0 // NoSessions#425 //// SessionsGrpComp , 0 // PartyIDSessionID#426 , 0 // SessionMode#427 , 1 // SessionSubMode#428 /// // InquireUserRequest //// MessageHeaderInComp , 0 // BodyLen#429 , 0 // TemplateID#430 , 2 // NetworkMsgID#431 /// //// RequestHeaderComp , 0 // MsgSeqNum#432 , 2 // SenderSubID#433 /// , 1 // LastEntityProcessed#434 // InquireUserResponse //// MessageHeaderOutComp , 0 // BodyLen#435 , 0 // TemplateID#436 /// //// ResponseHeaderComp , 0 // RequestTime#437 , 0 // SendingTime#438 , 0 // MsgSeqNum#439 /// , 1 // LastEntityProcessed#440 , 0 // NoPartyDetails#441 //// PartyDetailsGrpComp , 0 // PartyDetailIDExecutingTrader#442 , 0 // PartyDetailExecutingTrader#443 , 0 // PartyDetailRoleQualifier#444 , 0 // PartyDetailStatus#445 , 1 // PartyDetailDeskID#446 /// // IssuerNotification //// MessageHeaderOutComp , 0 // BodyLen#447 , 0 // TemplateID#448 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#449 , 1 // NotificationIn#450 , 0 // SendingTime#451 , 2 // ApplSubID#452 , 0 // PartitionID#453 , 2 // ApplMsgID#454 , 0 // ApplID#455 , 0 // ApplResendFlag#456 , 0 // LastFragment#457 /// , 0 // SecurityID#458 , 0 // TransactTime#459 , 1 // LastPx#460 , 1 // PotentialExecVolume#461 , 1 // LastQty#462 , 1 // ImbalanceQty#463 , 0 // MarketSegmentID#464 , 1 // PartyIDSessionID#465 , 1 // SecurityTradingStatus#466 // IssuerSecurityStateChangeRequest //// MessageHeaderInComp , 0 // BodyLen#467 , 0 // TemplateID#468 , 2 // NetworkMsgID#469 /// //// RequestHeaderComp , 0 // MsgSeqNum#470 , 0 // SenderSubID#471 /// , 0 // SecurityID#472 , 1 // TransactTime#473 , 0 // MarketSegmentID#474 , 1 // NoEvents#475 , 1 // SecurityStatus#476 , 1 // SoldOutIndicator#477 //// SecurityStatusEventGrpComp , 1 // EventPx#478 , 1 // EventDate#479 , 0 // EventType#480 /// // IssuerSecurityStateChangeResponse //// MessageHeaderOutComp , 0 // BodyLen#481 , 0 // TemplateID#482 /// //// NRResponseHeaderMEComp , 0 // RequestTime#483 , 0 // TrdRegTSTimeIn#484 , 0 // TrdRegTSTimeOut#485 , 0 // ResponseIn#486 , 0 // SendingTime#487 , 0 // MsgSeqNum#488 , 0 // LastFragment#489 /// , 0 // SecurityStatusReportID#490 // LegalNotificationBroadcast //// MessageHeaderOutComp , 0 // BodyLen#491 , 0 // TemplateID#492 /// //// RBCHeaderComp , 0 // SendingTime#493 , 0 // ApplSeqNum#494 , 2 // ApplSubID#495 , 0 // PartitionID#496 , 0 // ApplResendFlag#497 , 0 // ApplID#498 , 0 // LastFragment#499 /// , 0 // TransactTime#500 , 0 // VarTextLen#501 , 0 // UserStatus#502 , 0 // VarText#503 // LogonRequest //// MessageHeaderInComp , 0 // BodyLen#504 , 0 // TemplateID#505 , 2 // NetworkMsgID#506 /// //// RequestHeaderComp , 0 // MsgSeqNum#507 , 2 // SenderSubID#508 /// , 1 // HeartBtInt#509 , 0 // PartyIDSessionID#510 , 0 // DefaultCstmApplVerID#511 , 0 // Password#512 , 0 // ApplUsageOrders#513 , 0 // ApplUsageQuotes#514 , 0 // OrderRoutingIndicator#515 , 1 // FIXEngineName#516 , 1 // FIXEngineVersion#517 , 1 // FIXEngineVendor#518 , 0 // ApplicationSystemName#519 , 0 // ApplicationSystemVersion#520 , 0 // ApplicationSystemVendor#521 // LogonResponse //// MessageHeaderOutComp , 0 // BodyLen#522 , 0 // TemplateID#523 /// //// ResponseHeaderComp , 0 // RequestTime#524 , 0 // SendingTime#525 , 0 // MsgSeqNum#526 /// , 0 // ThrottleTimeInterval#527 , 0 // ThrottleNoMsgs#528 , 0 // ThrottleDisconnectLimit#529 , 0 // HeartBtInt#530 , 0 // SessionInstanceID#531 , 0 // MarketID#532 , 0 // TradSesMode#533 , 0 // DefaultCstmApplVerID#534 , 0 // DefaultCstmApplVerSubID#535 // LogoutRequest //// MessageHeaderInComp , 0 // BodyLen#536 , 0 // TemplateID#537 , 2 // NetworkMsgID#538 /// //// RequestHeaderComp , 0 // MsgSeqNum#539 , 2 // SenderSubID#540 /// // LogoutResponse //// MessageHeaderOutComp , 0 // BodyLen#541 , 0 // TemplateID#542 /// //// ResponseHeaderComp , 0 // RequestTime#543 , 0 // SendingTime#544 , 0 // MsgSeqNum#545 /// // MassQuoteRequest //// MessageHeaderInComp , 0 // BodyLen#546 , 0 // TemplateID#547 , 2 // NetworkMsgID#548 /// //// RequestHeaderComp , 0 // MsgSeqNum#549 , 0 // SenderSubID#550 /// , 0 // QuoteID#551 , 1 // PartyIdInvestmentDecisionMaker#552 , 1 // ExecutingTrader#553 , 0 // MarketSegmentID#554 , 1 // MatchInstCrossID#555 , 1 // EnrichmentRuleID#556 , 0 // PriceValidityCheckType#557 , 0 // ValueCheckTypeValue#558 , 0 // ValueCheckTypeQuantity#559 , 0 // QuoteSizeType#560 , 0 // QuoteType#561 , 0 // TradingCapacity#562 , 0 // OrderAttributeLiquidityProvision#563 , 0 // NoQuoteEntries#564 , 1 // PartyIdInvestmentDecisionMakerQualifier#565 , 0 // ExecutingTraderQualifier#566 //// QuoteEntryGrpComp , 0 // SecurityID#567 , 1 // BidPx#568 , 1 // BidSize#569 , 1 // OfferPx#570 , 1 // OfferSize#571 /// // MassQuoteResponse //// MessageHeaderOutComp , 0 // BodyLen#572 , 0 // TemplateID#573 /// //// NRResponseHeaderMEComp , 0 // RequestTime#574 , 0 // TrdRegTSTimeIn#575 , 0 // TrdRegTSTimeOut#576 , 0 // ResponseIn#577 , 0 // SendingTime#578 , 0 // MsgSeqNum#579 , 0 // LastFragment#580 /// , 0 // QuoteID#581 , 0 // QuoteResponseID#582 , 0 // MarketSegmentID#583 , 0 // NoQuoteSideEntries#584 //// QuoteEntryAckGrpComp , 0 // SecurityID#585 , 1 // CxlSize#586 , 1 // QuoteEntryRejectReason#587 , 0 // QuoteEntryStatus#588 , 0 // Side#589 /// // ModifyOrderNRResponse //// MessageHeaderOutComp , 0 // BodyLen#590 , 0 // TemplateID#591 /// //// NRResponseHeaderMEComp , 0 // RequestTime#592 , 0 // TrdRegTSTimeIn#593 , 0 // TrdRegTSTimeOut#594 , 0 // ResponseIn#595 , 0 // SendingTime#596 , 0 // MsgSeqNum#597 , 0 // LastFragment#598 /// , 0 // OrderID#599 , 1 // ClOrdID#600 , 1 // OrigClOrdID#601 , 0 // SecurityID#602 , 0 // ExecID#603 , 1 // StopPx#604 , 0 // LeavesQty#605 , 0 // CumQty#606 , 0 // CxlQty#607 , 1 // DisplayQty#608 , 0 // OrderIDSfx#609 , 0 // OrdStatus#610 , 0 // ExecType#611 , 0 // ExecRestatementReason#612 , 0 // CrossedIndicator#613 , 0 // Triggered#614 , 0 // TransactionDelayIndicator#615 , 0 // NoOrderEvents#616 //// OrderEventGrpComp , 0 // OrderEventPx#617 , 0 // OrderEventQty#618 , 0 // OrderEventMatchID#619 , 0 // OrderEventReason#620 /// // ModifyOrderResponse //// MessageHeaderOutComp , 0 // BodyLen#621 , 0 // TemplateID#622 /// //// ResponseHeaderMEComp , 0 // RequestTime#623 , 0 // TrdRegTSTimeIn#624 , 0 // TrdRegTSTimeOut#625 , 0 // ResponseIn#626 , 0 // SendingTime#627 , 0 // MsgSeqNum#628 , 0 // PartitionID#629 , 0 // ApplID#630 , 1 // ApplMsgID#631 , 0 // LastFragment#632 /// , 0 // OrderID#633 , 1 // ClOrdID#634 , 1 // OrigClOrdID#635 , 0 // SecurityID#636 , 0 // ExecID#637 , 1 // StopPx#638 , 0 // LeavesQty#639 , 0 // CumQty#640 , 0 // CxlQty#641 , 1 // DisplayQty#642 , 0 // TrdRegTSTimePriority#643 , 0 // OrderIDSfx#644 , 0 // OrdStatus#645 , 0 // ExecType#646 , 0 // ExecRestatementReason#647 , 0 // CrossedIndicator#648 , 0 // Triggered#649 , 0 // TransactionDelayIndicator#650 , 0 // NoOrderEvents#651 //// OrderEventGrpComp , 0 // OrderEventPx#652 , 0 // OrderEventQty#653 , 0 // OrderEventMatchID#654 , 0 // OrderEventReason#655 /// // ModifyOrderSingleRequest //// MessageHeaderInComp , 0 // BodyLen#656 , 0 // TemplateID#657 , 2 // NetworkMsgID#658 /// //// RequestHeaderComp , 0 // MsgSeqNum#659 , 0 // SenderSubID#660 /// , 1 // OrderID#661 , 1 // ClOrdID#662 , 1 // OrigClOrdID#663 , 0 // SecurityID#664 , 1 // Price#665 , 0 // OrderQty#666 , 1 // DisplayQty#667 , 1 // DisplayLowQty#668 , 1 // DisplayHighQty#669 , 1 // StopPx#670 , 1 // VolumeDiscoveryPrice#671 , 1 // PegOffsetValueAbs#672 , 1 // PegOffsetValuePct#673 , 1 // PartyIDClientID#674 , 1 // PartyIdInvestmentDecisionMaker#675 , 1 // ExecutingTrader#676 , 1 // ExpireDate#677 , 0 // MarketSegmentID#678 , 1 // MatchInstCrossID#679 , 1 // TargetPartyIDSessionID#680 , 0 // ApplSeqIndicator#681 , 0 // Side#682 , 0 // OrdType#683 , 0 // PriceValidityCheckType#684 , 0 // ValueCheckTypeValue#685 , 0 // ValueCheckTypeQuantity#686 , 0 // OrderAttributeLiquidityProvision#687 , 0 // TimeInForce#688 , 0 // ExecInst#689 , 1 // TradingSessionSubID#690 , 1 // StopPxIndicator#691 , 0 // TradingCapacity#692 , 1 // OrderOrigination#693 , 1 // PartyIdInvestmentDecisionMakerQualifier#694 , 1 // ExecutingTraderQualifier#695 , 0 // OwnershipIndicator#696 , 1 // PartyExecutingFirm#697 , 1 // PartyExecutingTrader#698 , 1 // FreeText1#699 , 1 // FreeText2#700 , 1 // FreeText4#701 , 1 // FIXClOrdID#702 // ModifyOrderSingleShortRequest //// MessageHeaderInComp , 0 // BodyLen#703 , 0 // TemplateID#704 , 2 // NetworkMsgID#705 /// //// RequestHeaderComp , 0 // MsgSeqNum#706 , 0 // SenderSubID#707 /// , 1 // ClOrdID#708 , 0 // OrigClOrdID#709 , 0 // SecurityID#710 , 0 // Price#711 , 0 // OrderQty#712 , 1 // PartyIDClientID#713 , 1 // PartyIdInvestmentDecisionMaker#714 , 1 // ExecutingTrader#715 , 1 // MatchInstCrossID#716 , 1 // EnrichmentRuleID#717 , 0 // Side#718 , 0 // PriceValidityCheckType#719 , 0 // ValueCheckTypeValue#720 , 0 // ValueCheckTypeQuantity#721 , 0 // OrderAttributeLiquidityProvision#722 , 0 // TimeInForce#723 , 0 // ApplSeqIndicator#724 , 0 // ExecInst#725 , 0 // TradingCapacity#726 , 1 // OrderOrigination#727 , 1 // PartyIdInvestmentDecisionMakerQualifier#728 , 0 // ExecutingTraderQualifier#729 // ModifyTESTradeRequest //// MessageHeaderInComp , 0 // BodyLen#730 , 0 // TemplateID#731 , 2 // NetworkMsgID#732 /// //// RequestHeaderComp , 0 // MsgSeqNum#733 , 0 // SenderSubID#734 /// , 0 // LastPx#735 , 1 // TransBkdTime#736 , 0 // MarketSegmentID#737 , 0 // PackageID#738 , 0 // TESExecID#739 , 1 // SettlDate#740 , 0 // TrdType#741 , 0 // TradeReportType#742 , 0 // NoSideAllocs#743 , 1 // TradeReportText#744 , 1 // TradeReportID#745 //// SideAllocGrpComp , 0 // AllocQty#746 , 1 // IndividualAllocID#747 , 1 // TESEnrichmentRuleID#748 , 0 // Side#749 , 0 // PartyExecutingFirm#750 , 0 // PartyExecutingTrader#751 /// // NewOrderNRResponse //// MessageHeaderOutComp , 0 // BodyLen#752 , 0 // TemplateID#753 /// //// NRResponseHeaderMEComp , 0 // RequestTime#754 , 0 // TrdRegTSTimeIn#755 , 0 // TrdRegTSTimeOut#756 , 0 // ResponseIn#757 , 0 // SendingTime#758 , 0 // MsgSeqNum#759 , 0 // LastFragment#760 /// , 0 // OrderID#761 , 1 // ClOrdID#762 , 0 // SecurityID#763 , 0 // ExecID#764 , 0 // LeavesQty#765 , 0 // CxlQty#766 , 0 // OrderIDSfx#767 , 0 // OrdStatus#768 , 0 // ExecType#769 , 0 // ExecRestatementReason#770 , 0 // CrossedIndicator#771 , 0 // Triggered#772 , 0 // TransactionDelayIndicator#773 , 0 // NoOrderEvents#774 //// OrderEventGrpComp , 0 // OrderEventPx#775 , 0 // OrderEventQty#776 , 0 // OrderEventMatchID#777 , 0 // OrderEventReason#778 /// // NewOrderResponse //// MessageHeaderOutComp , 0 // BodyLen#779 , 0 // TemplateID#780 /// //// ResponseHeaderMEComp , 0 // RequestTime#781 , 0 // TrdRegTSTimeIn#782 , 0 // TrdRegTSTimeOut#783 , 0 // ResponseIn#784 , 0 // SendingTime#785 , 0 // MsgSeqNum#786 , 0 // PartitionID#787 , 0 // ApplID#788 , 1 // ApplMsgID#789 , 0 // LastFragment#790 /// , 0 // OrderID#791 , 1 // ClOrdID#792 , 0 // SecurityID#793 , 0 // ExecID#794 , 0 // LeavesQty#795 , 0 // CxlQty#796 , 0 // TrdRegTSEntryTime#797 , 0 // TrdRegTSTimePriority#798 , 0 // OrderIDSfx#799 , 0 // OrdStatus#800 , 0 // ExecType#801 , 0 // ExecRestatementReason#802 , 0 // CrossedIndicator#803 , 0 // Triggered#804 , 0 // TransactionDelayIndicator#805 , 0 // NoOrderEvents#806 //// OrderEventGrpComp , 0 // OrderEventPx#807 , 0 // OrderEventQty#808 , 0 // OrderEventMatchID#809 , 0 // OrderEventReason#810 /// // NewOrderSingleRequest //// MessageHeaderInComp , 0 // BodyLen#811 , 0 // TemplateID#812 , 2 // NetworkMsgID#813 /// //// RequestHeaderComp , 0 // MsgSeqNum#814 , 0 // SenderSubID#815 /// , 1 // Price#816 , 0 // OrderQty#817 , 1 // DisplayQty#818 , 1 // DisplayLowQty#819 , 1 // DisplayHighQty#820 , 1 // StopPx#821 , 1 // VolumeDiscoveryPrice#822 , 1 // PegOffsetValueAbs#823 , 1 // PegOffsetValuePct#824 , 1 // ClOrdID#825 , 0 // SecurityID#826 , 1 // PartyIDClientID#827 , 1 // PartyIdInvestmentDecisionMaker#828 , 1 // ExecutingTrader#829 , 1 // QuoteID#830 , 1 // ExpireDate#831 , 0 // MarketSegmentID#832 , 1 // TargetPartyIDSessionID#833 , 1 // MatchInstCrossID#834 , 0 // ApplSeqIndicator#835 , 0 // Side#836 , 0 // OrdType#837 , 0 // PriceValidityCheckType#838 , 0 // ValueCheckTypeValue#839 , 0 // ValueCheckTypeQuantity#840 , 0 // OrderAttributeLiquidityProvision#841 , 0 // TimeInForce#842 , 0 // ExecInst#843 , 1 // TradingSessionSubID#844 , 1 // TradeAtCloseOptIn#845 , 0 // TradingCapacity#846 , 1 // OrderOrigination#847 , 1 // PartyIdInvestmentDecisionMakerQualifier#848 , 0 // ExecutingTraderQualifier#849 , 1 // PartyExecutingFirm#850 , 1 // PartyExecutingTrader#851 , 1 // FreeText1#852 , 1 // FreeText2#853 , 1 // FreeText4#854 , 1 // FIXClOrdID#855 // NewOrderSingleShortRequest //// MessageHeaderInComp , 0 // BodyLen#856 , 0 // TemplateID#857 , 2 // NetworkMsgID#858 /// //// RequestHeaderComp , 0 // MsgSeqNum#859 , 0 // SenderSubID#860 /// , 0 // SecurityID#861 , 0 // Price#862 , 0 // OrderQty#863 , 0 // ClOrdID#864 , 1 // PartyIDClientID#865 , 1 // PartyIdInvestmentDecisionMaker#866 , 1 // ExecutingTrader#867 , 1 // MatchInstCrossID#868 , 1 // EnrichmentRuleID#869 , 0 // Side#870 , 0 // ApplSeqIndicator#871 , 0 // PriceValidityCheckType#872 , 0 // ValueCheckTypeValue#873 , 0 // ValueCheckTypeQuantity#874 , 0 // OrderAttributeLiquidityProvision#875 , 0 // TimeInForce#876 , 0 // ExecInst#877 , 0 // TradingCapacity#878 , 1 // OrderOrigination#879 , 1 // PartyIdInvestmentDecisionMakerQualifier#880 , 0 // ExecutingTraderQualifier#881 // NewsBroadcast //// MessageHeaderOutComp , 0 // BodyLen#882 , 0 // TemplateID#883 /// //// RBCHeaderComp , 0 // SendingTime#884 , 1 // ApplSeqNum#885 , 1 // ApplSubID#886 , 0 // PartitionID#887 , 0 // ApplResendFlag#888 , 0 // ApplID#889 , 0 // LastFragment#890 /// , 0 // OrigTime#891 , 0 // VarTextLen#892 , 0 // Headline#893 , 1 // VarText#894 // OrderExecNotification //// MessageHeaderOutComp , 0 // BodyLen#895 , 0 // TemplateID#896 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#897 , 1 // NotificationIn#898 , 0 // SendingTime#899 , 2 // ApplSubID#900 , 0 // PartitionID#901 , 0 // ApplMsgID#902 , 0 // ApplID#903 , 0 // ApplResendFlag#904 , 0 // LastFragment#905 /// , 0 // OrderID#906 , 1 // ClOrdID#907 , 1 // OrigClOrdID#908 , 0 // SecurityID#909 , 0 // ExecID#910 , 0 // LeavesQty#911 , 0 // CumQty#912 , 0 // CxlQty#913 , 1 // DisplayQty#914 , 0 // MarketSegmentID#915 , 0 // OrderIDSfx#916 , 0 // ExecRestatementReason#917 , 0 // Side#918 , 0 // OrdStatus#919 , 0 // ExecType#920 , 1 // OrderEventType#921 , 0 // MatchType#922 , 0 // Triggered#923 , 0 // CrossedIndicator#924 , 1 // FIXClOrdID#925 , 0 // NoFills#926 , 0 // NoOrderEvents#927 //// FillsGrpComp , 0 // FillPx#928 , 0 // FillQty#929 , 0 // FillMatchID#930 , 0 // FillExecID#931 , 1 // FillLiquidityInd#932 /// //// OrderEventGrpComp , 0 // OrderEventPx#933 , 0 // OrderEventQty#934 , 0 // OrderEventMatchID#935 , 0 // OrderEventReason#936 /// // OrderExecReportBroadcast //// MessageHeaderOutComp , 0 // BodyLen#937 , 0 // TemplateID#938 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#939 , 1 // NotificationIn#940 , 0 // SendingTime#941 , 1 // ApplSubID#942 , 0 // PartitionID#943 , 1 // ApplMsgID#944 , 0 // ApplID#945 , 0 // ApplResendFlag#946 , 0 // LastFragment#947 /// , 0 // OrderID#948 , 1 // ClOrdID#949 , 1 // OrigClOrdID#950 , 0 // SecurityID#951 , 0 // ExecID#952 , 0 // TrdRegTSEntryTime#953 , 0 // TrdRegTSTimePriority#954 , 1 // Price#955 , 0 // LeavesQty#956 , 0 // CumQty#957 , 0 // CxlQty#958 , 0 // OrderQty#959 , 1 // DisplayQty#960 , 1 // DisplayLowQty#961 , 1 // DisplayHighQty#962 , 1 // StopPx#963 , 1 // VolumeDiscoveryPrice#964 , 1 // PegOffsetValueAbs#965 , 1 // PegOffsetValuePct#966 , 1 // QuoteID#967 , 0 // MarketSegmentID#968 , 0 // OrderIDSfx#969 , 1 // ExpireDate#970 , 1 // MatchInstCrossID#971 , 1 // PartyIDExecutingUnit#972 , 1 // PartyIDSessionID#973 , 1 // PartyIDExecutingTrader#974 , 1 // PartyIDEnteringTrader#975 , 0 // ExecRestatementReason#976 , 1 // PartyIDEnteringFirm#977 , 0 // OrdStatus#978 , 0 // ExecType#979 , 1 // OrderEventType#980 , 1 // MatchType#981 , 0 // Side#982 , 0 // OrdType#983 , 0 // TradingCapacity#984 , 1 // TimeInForce#985 , 1 // ExecInst#986 , 1 // TradingSessionSubID#987 , 1 // ApplSeqIndicator#988 , 1 // PartyEnteringFirm#989 , 1 // PartyEnteringTrader#990 , 0 // PartyExecutingFirm#991 , 0 // PartyExecutingTrader#992 , 1 // FreeText1#993 , 1 // FreeText2#994 , 1 // FreeText4#995 , 1 // FIXClOrdID#996 , 0 // NoFills#997 , 0 // NoOrderEvents#998 , 0 // Triggered#999 , 0 // CrossedIndicator#1000 , 1 // TradeAtCloseOptIn#1001 //// FillsGrpComp , 0 // FillPx#1002 , 1 // FillQty#1003 , 0 // FillMatchID#1004 , 0 // FillExecID#1005 , 1 // FillLiquidityInd#1006 /// //// OrderEventGrpComp , 0 // OrderEventPx#1007 , 0 // OrderEventQty#1008 , 0 // OrderEventMatchID#1009 , 0 // OrderEventReason#1010 /// // OrderExecResponse //// MessageHeaderOutComp , 0 // BodyLen#1011 , 0 // TemplateID#1012 /// //// ResponseHeaderMEComp , 0 // RequestTime#1013 , 0 // TrdRegTSTimeIn#1014 , 0 // TrdRegTSTimeOut#1015 , 0 // ResponseIn#1016 , 0 // SendingTime#1017 , 0 // MsgSeqNum#1018 , 0 // PartitionID#1019 , 0 // ApplID#1020 , 1 // ApplMsgID#1021 , 0 // LastFragment#1022 /// , 0 // OrderID#1023 , 1 // ClOrdID#1024 , 1 // OrigClOrdID#1025 , 0 // SecurityID#1026 , 0 // ExecID#1027 , 1 // TrdRegTSEntryTime#1028 , 1 // TrdRegTSTimePriority#1029 , 0 // LeavesQty#1030 , 0 // CumQty#1031 , 0 // CxlQty#1032 , 1 // DisplayQty#1033 , 0 // MarketSegmentID#1034 , 0 // OrderIDSfx#1035 , 0 // ExecRestatementReason#1036 , 0 // Side#1037 , 0 // OrdStatus#1038 , 0 // ExecType#1039 , 0 // MatchType#1040 , 0 // Triggered#1041 , 0 // CrossedIndicator#1042 , 0 // TransactionDelayIndicator#1043 , 0 // NoFills#1044 , 0 // NoOrderEvents#1045 //// FillsGrpComp , 0 // FillPx#1046 , 0 // FillQty#1047 , 0 // FillMatchID#1048 , 0 // FillExecID#1049 , 1 // FillLiquidityInd#1050 /// //// OrderEventGrpComp , 0 // OrderEventPx#1051 , 0 // OrderEventQty#1052 , 0 // OrderEventMatchID#1053 , 0 // OrderEventReason#1054 /// // PartyActionReport //// MessageHeaderOutComp , 0 // BodyLen#1055 , 0 // TemplateID#1056 /// //// RBCHeaderComp , 0 // SendingTime#1057 , 0 // ApplSeqNum#1058 , 2 // ApplSubID#1059 , 0 // PartitionID#1060 , 0 // ApplResendFlag#1061 , 0 // ApplID#1062 , 0 // LastFragment#1063 /// , 0 // TransactTime#1064 , 1 // TradeDate#1065 , 1 // RequestingPartyIDExecutingTrader#1066 , 0 // PartyIDExecutingUnit#1067 , 1 // PartyIDExecutingTrader#1068 , 0 // RequestingPartyIDExecutingSystem#1069 , 1 // MarketID#1070 , 0 // PartyActionType#1071 , 0 // RequestingPartyIDEnteringFirm#1072 // PartyEntitlementsUpdateReport //// MessageHeaderOutComp , 0 // BodyLen#1073 , 0 // TemplateID#1074 /// //// RBCHeaderComp , 0 // SendingTime#1075 , 0 // ApplSeqNum#1076 , 2 // ApplSubID#1077 , 0 // PartitionID#1078 , 0 // ApplResendFlag#1079 , 0 // ApplID#1080 , 0 // LastFragment#1081 /// , 0 // TransactTime#1082 , 0 // TradeDate#1083 , 0 // PartyDetailIDExecutingUnit#1084 , 0 // RequestingPartyIDExecutingSystem#1085 , 1 // MarketID#1086 , 0 // ListUpdateAction#1087 , 0 // RequestingPartyEnteringFirm#1088 , 1 // RequestingPartyClearingFirm#1089 , 0 // PartyDetailStatus#1090 // PingRequest //// MessageHeaderInComp , 0 // BodyLen#1091 , 0 // TemplateID#1092 , 2 // NetworkMsgID#1093 /// //// RequestHeaderComp , 0 // MsgSeqNum#1094 , 0 // SenderSubID#1095 /// , 0 // PartitionID#1096 // PingResponse //// MessageHeaderOutComp , 0 // BodyLen#1097 , 0 // TemplateID#1098 /// //// NRResponseHeaderMEComp , 0 // RequestTime#1099 , 0 // TrdRegTSTimeIn#1100 , 0 // TrdRegTSTimeOut#1101 , 0 // ResponseIn#1102 , 0 // SendingTime#1103 , 0 // MsgSeqNum#1104 , 0 // LastFragment#1105 /// , 0 // TransactTime#1106 // QuoteActivationNotification //// MessageHeaderOutComp , 0 // BodyLen#1107 , 0 // TemplateID#1108 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1109 , 1 // NotificationIn#1110 , 0 // SendingTime#1111 , 2 // ApplSubID#1112 , 0 // PartitionID#1113 , 0 // ApplMsgID#1114 , 0 // ApplID#1115 , 0 // ApplResendFlag#1116 , 0 // LastFragment#1117 /// , 0 // MassActionReportID#1118 , 0 // MarketSegmentID#1119 , 1 // PartyIDEnteringTrader#1120 , 0 // NoNotAffectedSecurities#1121 , 1 // PartyIDEnteringFirm#1122 , 0 // MassActionType#1123 , 0 // MassActionReason#1124 //// NotAffectedSecuritiesGrpComp , 0 // NotAffectedSecurityID#1125 /// // QuoteActivationRequest //// MessageHeaderInComp , 0 // BodyLen#1126 , 0 // TemplateID#1127 , 2 // NetworkMsgID#1128 /// //// RequestHeaderComp , 0 // MsgSeqNum#1129 , 0 // SenderSubID#1130 /// , 1 // PartyIdInvestmentDecisionMaker#1131 , 1 // ExecutingTrader#1132 , 0 // MarketSegmentID#1133 , 0 // TargetPartyIDSessionID#1134 , 0 // MassActionType#1135 , 1 // PartyIdInvestmentDecisionMakerQualifier#1136 , 0 // ExecutingTraderQualifier#1137 // QuoteActivationResponse //// MessageHeaderOutComp , 0 // BodyLen#1138 , 0 // TemplateID#1139 /// //// NRResponseHeaderMEComp , 0 // RequestTime#1140 , 1 // TrdRegTSTimeIn#1141 , 1 // TrdRegTSTimeOut#1142 , 0 // ResponseIn#1143 , 0 // SendingTime#1144 , 0 // MsgSeqNum#1145 , 0 // LastFragment#1146 /// , 0 // MassActionReportID#1147 , 0 // NoNotAffectedSecurities#1148 //// NotAffectedSecuritiesGrpComp , 0 // NotAffectedSecurityID#1149 /// // QuoteExecutionReport //// MessageHeaderOutComp , 0 // BodyLen#1150 , 0 // TemplateID#1151 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1152 , 1 // NotificationIn#1153 , 0 // SendingTime#1154 , 2 // ApplSubID#1155 , 0 // PartitionID#1156 , 1 // ApplMsgID#1157 , 0 // ApplID#1158 , 0 // ApplResendFlag#1159 , 0 // LastFragment#1160 /// , 0 // ExecID#1161 , 0 // MarketSegmentID#1162 , 0 // NoQuoteEvents#1163 //// QuoteEventGrpComp , 0 // SecurityID#1164 , 1 // QuoteEventPx#1165 , 1 // QuoteEventQty#1166 , 0 // QuoteMsgID#1167 , 1 // QuoteEventMatchID#1168 , 1 // QuoteEventExecID#1169 , 0 // QuoteEventType#1170 , 0 // QuoteEventSide#1171 , 1 // QuoteEventLiquidityInd#1172 , 1 // QuoteEventReason#1173 /// // RFQBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1174 , 0 // TemplateID#1175 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1176 , 1 // NotificationIn#1177 , 0 // SendingTime#1178 , 2 // ApplSubID#1179 , 0 // PartitionID#1180 , 2 // ApplMsgID#1181 , 0 // ApplID#1182 , 0 // ApplResendFlag#1183 , 0 // LastFragment#1184 /// , 0 // SecurityID#1185 , 0 // ExecID#1186 , 1 // OrderQty#1187 , 0 // MarketSegmentID#1188 , 1 // Side#1189 , 1 // PartyExecutingFirm#1190 // RFQRejectNotification //// MessageHeaderOutComp , 0 // BodyLen#1191 , 0 // TemplateID#1192 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1193 , 1 // NotificationIn#1194 , 0 // SendingTime#1195 , 2 // ApplSubID#1196 , 0 // PartitionID#1197 , 0 // ApplMsgID#1198 , 0 // ApplID#1199 , 0 // ApplResendFlag#1200 , 0 // LastFragment#1201 /// , 0 // SecurityID#1202 , 0 // ExecID#1203 , 1 // QuoteID#1204 , 0 // MarketSegmentID#1205 , 0 // QuoteRequestRejectReason#1206 , 0 // PartyExecutingFirm#1207 // RFQRequest //// MessageHeaderInComp , 0 // BodyLen#1208 , 0 // TemplateID#1209 , 2 // NetworkMsgID#1210 /// //// RequestHeaderComp , 0 // MsgSeqNum#1211 , 0 // SenderSubID#1212 /// , 0 // SecurityID#1213 , 1 // OrderQty#1214 , 1 // QuoteID#1215 , 0 // MarketSegmentID#1216 , 0 // RFQPublishIndicator#1217 , 0 // RFQRequesterDisclosureInstruction#1218 , 1 // Side#1219 // RFQResponse //// MessageHeaderOutComp , 0 // BodyLen#1220 , 0 // TemplateID#1221 /// //// NRResponseHeaderMEComp , 0 // RequestTime#1222 , 0 // TrdRegTSTimeIn#1223 , 0 // TrdRegTSTimeOut#1224 , 0 // ResponseIn#1225 , 0 // SendingTime#1226 , 0 // MsgSeqNum#1227 , 0 // LastFragment#1228 /// , 0 // ExecID#1229 // RFQSpecialistBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1230 , 0 // TemplateID#1231 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1232 , 1 // NotificationIn#1233 , 0 // SendingTime#1234 , 1 // ApplSubID#1235 , 0 // PartitionID#1236 , 0 // ApplMsgID#1237 , 0 // ApplID#1238 , 0 // ApplResendFlag#1239 , 0 // LastFragment#1240 /// , 0 // SecurityID#1241 , 0 // ExecID#1242 , 1 // OrderQty#1243 , 1 // QuoteID#1244 , 0 // MarketSegmentID#1245 , 1 // Side#1246 , 0 // PartyExecutingFirm#1247 // Reject //// MessageHeaderOutComp , 0 // BodyLen#1248 , 0 // TemplateID#1249 /// //// NRResponseHeaderMEComp , 0 // RequestTime#1250 , 1 // TrdRegTSTimeIn#1251 , 1 // TrdRegTSTimeOut#1252 , 1 // ResponseIn#1253 , 0 // SendingTime#1254 , 0 // MsgSeqNum#1255 , 0 // LastFragment#1256 /// , 0 // SessionRejectReason#1257 , 0 // VarTextLen#1258 , 0 // SessionStatus#1259 , 0 // VarText#1260 // RetransmitMEMessageRequest //// MessageHeaderInComp , 0 // BodyLen#1261 , 0 // TemplateID#1262 , 2 // NetworkMsgID#1263 /// //// RequestHeaderComp , 0 // MsgSeqNum#1264 , 2 // SenderSubID#1265 /// , 1 // SubscriptionScope#1266 , 0 // PartitionID#1267 , 0 // RefApplID#1268 , 1 // ApplBegMsgID#1269 , 1 // ApplEndMsgID#1270 // RetransmitMEMessageResponse //// MessageHeaderOutComp , 0 // BodyLen#1271 , 0 // TemplateID#1272 /// //// ResponseHeaderComp , 0 // RequestTime#1273 , 0 // SendingTime#1274 , 0 // MsgSeqNum#1275 /// , 0 // ApplTotalMessageCount#1276 , 1 // ApplEndMsgID#1277 , 1 // RefApplLastMsgID#1278 // RetransmitRequest //// MessageHeaderInComp , 0 // BodyLen#1279 , 0 // TemplateID#1280 , 2 // NetworkMsgID#1281 /// //// RequestHeaderComp , 0 // MsgSeqNum#1282 , 2 // SenderSubID#1283 /// , 1 // ApplBegSeqNum#1284 , 1 // ApplEndSeqNum#1285 , 1 // PartitionID#1286 , 0 // RefApplID#1287 // RetransmitResponse //// MessageHeaderOutComp , 0 // BodyLen#1288 , 0 // TemplateID#1289 /// //// ResponseHeaderComp , 0 // RequestTime#1290 , 0 // SendingTime#1291 , 0 // MsgSeqNum#1292 /// , 1 // ApplEndSeqNum#1293 , 1 // RefApplLastSeqNum#1294 , 0 // ApplTotalMessageCount#1295 // ServiceAvailabilityBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1296 , 0 // TemplateID#1297 /// //// NRBCHeaderComp , 0 // SendingTime#1298 , 0 // ApplSubID#1299 , 0 // ApplID#1300 , 0 // LastFragment#1301 /// , 1 // MatchingEngineTradeDate#1302 , 1 // TradeManagerTradeDate#1303 , 1 // ApplSeqTradeDate#1304 , 1 // T7EntryServiceTradeDate#1305 , 1 // T7EntryServiceRtmTradeDate#1306 , 0 // PartitionID#1307 , 0 // MatchingEngineStatus#1308 , 0 // TradeManagerStatus#1309 , 0 // ApplSeqStatus#1310 , 0 // T7EntryServiceStatus#1311 , 0 // T7EntryServiceRtmStatus#1312 // ServiceAvailabilityMarketBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1313 , 0 // TemplateID#1314 /// //// NRBCHeaderComp , 0 // SendingTime#1315 , 0 // ApplSubID#1316 , 0 // ApplID#1317 , 0 // LastFragment#1318 /// , 1 // SelectiveRequestForQuoteServiceTradeDate#1319 , 0 // SelectiveRequestForQuoteServiceStatus#1320 , 0 // SelectiveRequestForQuoteRtmServiceStatus#1321 // SingleQuoteRequest //// MessageHeaderInComp , 0 // BodyLen#1322 , 0 // TemplateID#1323 , 2 // NetworkMsgID#1324 /// //// RequestHeaderComp , 0 // MsgSeqNum#1325 , 0 // SenderSubID#1326 /// , 0 // QuoteID#1327 , 0 // SecurityID#1328 , 1 // PartyIdInvestmentDecisionMaker#1329 , 1 // ExecutingTrader#1330 , 1 // BidPx#1331 , 1 // BidSize#1332 , 1 // OfferPx#1333 , 1 // OfferSize#1334 , 1 // SettlCurrFxRate#1335 , 0 // MarketSegmentID#1336 , 1 // MatchInstCrossID#1337 , 0 // PriceValidityCheckType#1338 , 0 // ValueCheckTypeValue#1339 , 0 // ValueCheckTypeQuantity#1340 , 0 // QuoteSizeType#1341 , 0 // QuoteType#1342 , 0 // TradingCapacity#1343 , 0 // OrderAttributeLiquidityProvision#1344 , 0 // ExecutingTraderQualifier#1345 , 1 // PartyIdInvestmentDecisionMakerQualifier#1346 , 1 // FreeText1#1347 , 1 // FreeText2#1348 , 1 // FreeText4#1349 // SpecialistDeleteAllOrderBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1350 , 0 // TemplateID#1351 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1352 , 1 // NotificationIn#1353 , 0 // SendingTime#1354 , 1 // ApplSubID#1355 , 0 // PartitionID#1356 , 0 // ApplMsgID#1357 , 0 // ApplID#1358 , 0 // ApplResendFlag#1359 , 0 // LastFragment#1360 /// , 0 // MassActionReportID#1361 , 0 // MarketSegmentID#1362 , 1 // PartyIDEnteringTrader#1363 , 0 // NoAffectedOrders#1364 , 0 // NoNotAffectedOrders#1365 , 1 // PartyIDEnteringFirm#1366 , 0 // MassActionReason#1367 //// AffectedOrdGrpComp , 0 // AffectedOrderID#1368 , 2 // AffectedOrigClOrdID#1369 /// //// NotAffectedOrdersGrpComp , 0 // NotAffectedOrderID#1370 , 1 // NotAffOrigClOrdID#1371 /// // SpecialistInstrumentEventNotification //// MessageHeaderOutComp , 0 // BodyLen#1372 , 0 // TemplateID#1373 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1374 , 1 // NotificationIn#1375 , 0 // SendingTime#1376 , 2 // ApplSubID#1377 , 0 // PartitionID#1378 , 2 // ApplMsgID#1379 , 0 // ApplID#1380 , 0 // ApplResendFlag#1381 , 0 // LastFragment#1382 /// , 0 // SecurityID#1383 , 0 // TransactTime#1384 , 0 // MarketSegmentID#1385 , 0 // EventType#1386 // SpecialistOrderBookNotification //// MessageHeaderOutComp , 0 // BodyLen#1387 , 0 // TemplateID#1388 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1389 , 1 // NotificationIn#1390 , 0 // SendingTime#1391 , 1 // ApplSubID#1392 , 0 // PartitionID#1393 , 1 // ApplMsgID#1394 , 0 // ApplID#1395 , 0 // ApplResendFlag#1396 , 0 // LastFragment#1397 /// , 0 // OrderID#1398 , 1 // ClOrdID#1399 , 1 // OrigClOrdID#1400 , 0 // SecurityID#1401 , 0 // ExecID#1402 , 0 // TrdRegTSEntryTime#1403 , 0 // TrdRegTSTimePriority#1404 , 1 // Price#1405 , 0 // LeavesQty#1406 , 0 // CumQty#1407 , 0 // CxlQty#1408 , 0 // OrderQty#1409 , 1 // StopPx#1410 , 1 // QuoteID#1411 , 0 // MarketSegmentID#1412 , 0 // OrderIDSfx#1413 , 1 // ExpireDate#1414 , 1 // PartyIDExecutingUnit#1415 , 1 // PartyIDSessionID#1416 , 1 // PartyIDExecutingTrader#1417 , 1 // PartyIDEnteringTrader#1418 , 0 // NoFills#1419 , 0 // ExecRestatementReason#1420 , 1 // PartyIDEnteringFirm#1421 , 0 // OrdStatus#1422 , 0 // ExecType#1423 , 1 // OrderEventType#1424 , 1 // MatchType#1425 , 0 // Side#1426 , 0 // OrdType#1427 , 0 // TradingCapacity#1428 , 1 // TimeInForce#1429 , 1 // ExecInst#1430 , 1 // TradingSessionSubID#1431 , 1 // ApplSeqIndicator#1432 , 0 // Triggered#1433 , 0 // OrderAttributeLiquidityProvision#1434 , 1 // PartyEnteringFirm#1435 , 1 // PartyEnteringTrader#1436 , 0 // PartyExecutingFirm#1437 , 0 // PartyExecutingTrader#1438 , 1 // FIXClOrdID#1439 //// FillsGrpComp , 0 // FillPx#1440 , 1 // FillQty#1441 , 0 // FillMatchID#1442 , 0 // FillExecID#1443 , 1 // FillLiquidityInd#1444 /// // SpecialistRFQRejectRequest //// MessageHeaderInComp , 0 // BodyLen#1445 , 0 // TemplateID#1446 , 2 // NetworkMsgID#1447 /// //// RequestHeaderComp , 0 // MsgSeqNum#1448 , 0 // SenderSubID#1449 /// , 0 // SecurityID#1450 , 0 // QuoteID#1451 , 0 // MarketSegmentID#1452 , 0 // QuoteRequestRejectReason#1453 , 0 // PartyExecutingFirm#1454 // SpecialistRFQReplyNotification //// MessageHeaderOutComp , 0 // BodyLen#1455 , 0 // TemplateID#1456 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1457 , 1 // NotificationIn#1458 , 0 // SendingTime#1459 , 2 // ApplSubID#1460 , 0 // PartitionID#1461 , 2 // ApplMsgID#1462 , 0 // ApplID#1463 , 0 // ApplResendFlag#1464 , 0 // LastFragment#1465 /// , 0 // SecurityID#1466 , 0 // TransactTime#1467 , 1 // QuoteID#1468 , 1 // BidPx#1469 , 1 // BidSize#1470 , 1 // OfferPx#1471 , 1 // OfferSize#1472 , 0 // MarketSegmentID#1473 , 0 // PartyExecutingFirm#1474 // SpecialistRFQReplyRequest //// MessageHeaderInComp , 0 // BodyLen#1475 , 0 // TemplateID#1476 , 2 // NetworkMsgID#1477 /// //// RequestHeaderComp , 0 // MsgSeqNum#1478 , 0 // SenderSubID#1479 /// , 0 // SecurityID#1480 , 0 // QuoteID#1481 , 1 // BidPx#1482 , 1 // BidSize#1483 , 1 // OfferPx#1484 , 1 // OfferSize#1485 , 0 // MarketSegmentID#1486 , 0 // PartyExecutingFirm#1487 // SpecialistRFQReplyResponse //// MessageHeaderOutComp , 0 // BodyLen#1488 , 0 // TemplateID#1489 /// //// NRResponseHeaderMEComp , 0 // RequestTime#1490 , 0 // TrdRegTSTimeIn#1491 , 0 // TrdRegTSTimeOut#1492 , 0 // ResponseIn#1493 , 0 // SendingTime#1494 , 0 // MsgSeqNum#1495 , 0 // LastFragment#1496 /// , 0 // TransactTime#1497 // SpecialistSecurityStateChangeRequest //// MessageHeaderInComp , 0 // BodyLen#1498 , 0 // TemplateID#1499 , 2 // NetworkMsgID#1500 /// //// RequestHeaderComp , 0 // MsgSeqNum#1501 , 0 // SenderSubID#1502 /// , 0 // SecurityID#1503 , 0 // MarketSegmentID#1504 , 0 // EventType#1505 // SpecialistSecurityStateChangeResponse //// MessageHeaderOutComp , 0 // BodyLen#1506 , 0 // TemplateID#1507 /// //// NRResponseHeaderMEComp , 0 // RequestTime#1508 , 0 // TrdRegTSTimeIn#1509 , 0 // TrdRegTSTimeOut#1510 , 0 // ResponseIn#1511 , 0 // SendingTime#1512 , 0 // MsgSeqNum#1513 , 0 // LastFragment#1514 /// , 0 // SecurityStatusReportID#1515 // SubscribeRequest //// MessageHeaderInComp , 0 // BodyLen#1516 , 0 // TemplateID#1517 , 2 // NetworkMsgID#1518 /// //// RequestHeaderComp , 0 // MsgSeqNum#1519 , 2 // SenderSubID#1520 /// , 1 // SubscriptionScope#1521 , 0 // RefApplID#1522 // SubscribeResponse //// MessageHeaderOutComp , 0 // BodyLen#1523 , 0 // TemplateID#1524 /// //// ResponseHeaderComp , 0 // RequestTime#1525 , 0 // SendingTime#1526 , 0 // MsgSeqNum#1527 /// , 0 // ApplSubID#1528 // TESApproveBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1529 , 0 // TemplateID#1530 /// //// RBCHeaderComp , 0 // SendingTime#1531 , 0 // ApplSeqNum#1532 , 1 // ApplSubID#1533 , 0 // PartitionID#1534 , 0 // ApplResendFlag#1535 , 0 // ApplID#1536 , 0 // LastFragment#1537 /// , 0 // SecurityID#1538 , 0 // LastPx#1539 , 0 // AllocQty#1540 , 0 // TransactTime#1541 , 1 // TransBkdTime#1542 , 1 // SettlCurrFxRate#1543 , 0 // MarketSegmentID#1544 , 0 // PackageID#1545 , 0 // TESExecID#1546 , 0 // AllocID#1547 , 1 // SettlDate#1548 , 1 // TESEnrichmentRuleID#1549 , 1 // AutoApprovalRuleID#1550 , 0 // TrdType#1551 , 1 // VarTextLen#1552 , 0 // Side#1553 , 1 // ValueCheckTypeValue#1554 , 1 // ValueCheckTypeQuantity#1555 , 0 // TradeReportType#1556 , 1 // TrdRptStatus#1557 , 0 // TradingCapacity#1558 , 0 // TradeAllocStatus#1559 , 0 // MessageEventSource#1560 , 1 // TradeReportID#1561 , 0 // PartyExecutingFirm#1562 , 0 // PartyExecutingTrader#1563 , 0 // PartyIDEnteringFirm#1564 , 0 // PartyEnteringTrader#1565 , 1 // RootPartyExecutingFirm#1566 , 1 // RootPartyExecutingTrader#1567 , 1 // FreeText1#1568 , 1 // FreeText2#1569 , 1 // FreeText4#1570 , 1 // VarText#1571 // TESBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1572 , 0 // TemplateID#1573 /// //// RBCHeaderComp , 0 // SendingTime#1574 , 0 // ApplSeqNum#1575 , 1 // ApplSubID#1576 , 0 // PartitionID#1577 , 0 // ApplResendFlag#1578 , 0 // ApplID#1579 , 0 // LastFragment#1580 /// , 0 // SecurityID#1581 , 0 // LastPx#1582 , 0 // TransactTime#1583 , 1 // TransBkdTime#1584 , 1 // SettlCurrFxRate#1585 , 0 // MarketSegmentID#1586 , 0 // PackageID#1587 , 0 // TESExecID#1588 , 1 // SettlDate#1589 , 1 // AutoApprovalRuleID#1590 , 0 // TrdType#1591 , 1 // VarTextLen#1592 , 0 // TradeReportType#1593 , 1 // TrdRptStatus#1594 , 0 // NoSideAllocs#1595 , 0 // MessageEventSource#1596 , 1 // TradeReportText#1597 , 1 // TradeReportID#1598 , 0 // RootPartyExecutingFirm#1599 , 0 // RootPartyExecutingTrader#1600 //// SideAllocGrpBCComp , 0 // AllocQty#1601 , 0 // IndividualAllocID#1602 , 1 // TESEnrichmentRuleID#1603 , 0 // PartyExecutingFirm#1604 , 0 // PartyExecutingTrader#1605 , 0 // Side#1606 , 0 // TradeAllocStatus#1607 /// , 1 // VarText#1608 // TESDeleteBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1609 , 0 // TemplateID#1610 /// //// RBCHeaderComp , 0 // SendingTime#1611 , 0 // ApplSeqNum#1612 , 1 // ApplSubID#1613 , 0 // PartitionID#1614 , 0 // ApplResendFlag#1615 , 0 // ApplID#1616 , 0 // LastFragment#1617 /// , 0 // TransactTime#1618 , 0 // MarketSegmentID#1619 , 0 // PackageID#1620 , 0 // TESExecID#1621 , 0 // TrdType#1622 , 0 // DeleteReason#1623 , 0 // TradeReportType#1624 , 1 // TrdRptStatus#1625 , 0 // MessageEventSource#1626 , 1 // TradeReportID#1627 // TESExecutionBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1628 , 0 // TemplateID#1629 /// //// RBCHeaderComp , 0 // SendingTime#1630 , 0 // ApplSeqNum#1631 , 1 // ApplSubID#1632 , 0 // PartitionID#1633 , 0 // ApplResendFlag#1634 , 0 // ApplID#1635 , 0 // LastFragment#1636 /// , 0 // TransactTime#1637 , 0 // MarketSegmentID#1638 , 0 // PackageID#1639 , 0 // TESExecID#1640 , 0 // AllocID#1641 , 0 // TrdType#1642 , 0 // TradeReportType#1643 , 0 // Side#1644 , 1 // TrdRptStatus#1645 , 0 // MessageEventSource#1646 // TESResponse //// MessageHeaderOutComp , 0 // BodyLen#1647 , 0 // TemplateID#1648 /// //// ResponseHeaderComp , 0 // RequestTime#1649 , 0 // SendingTime#1650 , 0 // MsgSeqNum#1651 /// , 0 // TESExecID#1652 , 0 // TradeReportID#1653 // TESTradeBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1654 , 0 // TemplateID#1655 /// //// RBCHeaderComp , 0 // SendingTime#1656 , 0 // ApplSeqNum#1657 , 1 // ApplSubID#1658 , 0 // PartitionID#1659 , 0 // ApplResendFlag#1660 , 0 // ApplID#1661 , 0 // LastFragment#1662 /// , 0 // SecurityID#1663 , 0 // LastPx#1664 , 0 // LastQty#1665 , 0 // TransactTime#1666 , 0 // SettlCurrAmt#1667 , 1 // SideGrossTradeAmt#1668 , 1 // SettlCurrFxRate#1669 , 1 // AccruedInteresAmt#1670 , 1 // CouponRate#1671 , 1 // RootPartyIDClientID#1672 , 1 // ExecutingTrader#1673 , 1 // RootPartyIDInvestmentDecisionMaker#1674 , 0 // PackageID#1675 , 0 // MarketSegmentID#1676 , 0 // TradeID#1677 , 0 // TradeDate#1678 , 0 // SideTradeID#1679 , 1 // RootPartyIDSessionID#1680 , 0 // RootPartyIDSettlementUnit#1681 , 1 // RootPartyIDContraUnit#1682 , 1 // RootPartyIDContraSettlementUnit#1683 , 1 // OrigTradeID#1684 , 0 // RootPartyIDExecutingUnit#1685 , 0 // RootPartyIDExecutingTrader#1686 , 0 // RootPartyIDClearingUnit#1687 , 0 // SettlDate#1688 , 1 // NumDaysInterest#1689 , 1 // NegotiationID#1690 , 1 // SRQSRelatedTradeID#1691 , 1 // TrdType#1692 , 0 // LastMkt#1693 , 0 // Side#1694 , 1 // TradingCapacity#1695 , 0 // TradeReportType#1696 , 0 // TransferReason#1697 , 0 // TradePublishIndicator#1698 , 0 // DeliveryType#1699 , 1 // LastCouponDeviationIndicator#1700 , 1 // RefinancingEligibilityIndicator#1701 , 1 // ClearingInstruction#1702 , 1 // OrderAttributeLiquidityProvision#1703 , 1 // ExecutingTraderQualifier#1704 , 1 // RootPartyIDInvestmentDecisionMakerQualifier#1705 , 1 // OrderOrigination#1706 , 1 // Account#1707 , 1 // FreeText1#1708 , 1 // FreeText2#1709 , 1 // FreeText4#1710 , 0 // SettlCurrency#1711 , 0 // RootPartyExecutingFirm#1712 , 0 // RootPartyExecutingTrader#1713 , 0 // RootPartyClearingFirm#1714 , 0 // RootPartyExecutingFirmKVNumber#1715 , 0 // RootPartySettlementAccount#1716 , 0 // RootPartySettlementLocation#1717 , 0 // RootPartySettlementFirm#1718 , 1 // RootPartyContraFirm#1719 , 1 // RootPartyContraSettlementFirm#1720 , 0 // RootPartyContraFirmKVNumber#1721 , 0 // RootPartyContraSettlementAccount#1722 , 1 // RootPartyContraSettlementLocation#1723 , 1 // RootPartyIDExecutionVenue#1724 , 1 // RegulatoryTradeID#1725 // TESTradingSessionStatusBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1726 , 0 // TemplateID#1727 /// //// RBCHeaderComp , 0 // SendingTime#1728 , 0 // ApplSeqNum#1729 , 1 // ApplSubID#1730 , 0 // PartitionID#1731 , 0 // ApplResendFlag#1732 , 0 // ApplID#1733 , 0 // LastFragment#1734 /// , 0 // TradeDate#1735 , 0 // TradSesEvent#1736 // TMTradingSessionStatusBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1737 , 0 // TemplateID#1738 /// //// RBCHeaderComp , 0 // SendingTime#1739 , 0 // ApplSeqNum#1740 , 1 // ApplSubID#1741 , 0 // PartitionID#1742 , 0 // ApplResendFlag#1743 , 0 // ApplID#1744 , 0 // LastFragment#1745 /// , 0 // TradSesEvent#1746 // ThrottleUpdateNotification //// MessageHeaderOutComp , 0 // BodyLen#1747 , 0 // TemplateID#1748 /// //// NotifHeaderComp , 0 // SendingTime#1749 /// , 0 // ThrottleTimeInterval#1750 , 0 // ThrottleNoMsgs#1751 , 0 // ThrottleDisconnectLimit#1752 // TradeBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1753 , 0 // TemplateID#1754 /// //// RBCHeaderComp , 0 // SendingTime#1755 , 0 // ApplSeqNum#1756 , 1 // ApplSubID#1757 , 0 // PartitionID#1758 , 0 // ApplResendFlag#1759 , 0 // ApplID#1760 , 0 // LastFragment#1761 /// , 0 // SecurityID#1762 , 1 // Price#1763 , 0 // LastPx#1764 , 0 // LastQty#1765 , 0 // SettlCurrAmt#1766 , 1 // SettlCurrFxRate#1767 , 0 // TransactTime#1768 , 1 // OrderID#1769 , 1 // ClOrdID#1770 , 1 // LeavesQty#1771 , 1 // CumQty#1772 , 1 // SideGrossTradeAmt#1773 , 1 // AccruedInteresAmt#1774 , 1 // CouponRate#1775 , 1 // RootPartyIDClientID#1776 , 1 // ExecutingTrader#1777 , 1 // RootPartyIDInvestmentDecisionMaker#1778 , 0 // TradeID#1779 , 1 // OrigTradeID#1780 , 0 // RootPartyIDExecutingUnit#1781 , 1 // RootPartyIDSessionID#1782 , 1 // RootPartyIDExecutingTrader#1783 , 0 // RootPartyIDSettlementUnit#1784 , 0 // RootPartyIDClearingUnit#1785 , 1 // RootPartyIDContraUnit#1786 , 1 // RootPartyIDContraSettlementUnit#1787 , 1 // PartyIDSpecialistTrader#1788 , 1 // OrderIDSfx#1789 , 0 // MarketSegmentID#1790 , 0 // SideTradeID#1791 , 0 // SideTradeReportID#1792 , 1 // TradeNumber#1793 , 0 // MatchDate#1794 , 0 // SettlDate#1795 , 0 // TrdMatchID#1796 , 1 // NumDaysInterest#1797 , 0 // LastMkt#1798 , 0 // TradeReportType#1799 , 0 // TransferReason#1800 , 1 // MatchType#1801 , 1 // MatchSubType#1802 , 0 // Side#1803 , 1 // SideLiquidityInd#1804 , 0 // DeliveryType#1805 , 0 // TradingCapacity#1806 , 1 // LastCouponDeviationIndicator#1807 , 1 // RefinancingEligibilityIndicator#1808 , 1 // ClearingInstruction#1809 , 1 // OrderOrigination#1810 , 1 // OrderAttributeLiquidityProvision#1811 , 1 // ExecutingTraderQualifier#1812 , 1 // RootPartyIDInvestmentDecisionMakerQualifier#1813 , 1 // Account#1814 , 0 // SettlCurrency#1815 , 0 // Currency#1816 , 1 // FreeText1#1817 , 1 // FreeText2#1818 , 1 // FreeText4#1819 , 1 // OrderCategory#1820 , 1 // OrdType#1821 , 0 // RootPartyExecutingFirm#1822 , 1 // RootPartyExecutingTrader#1823 , 0 // RootPartyClearingFirm#1824 , 0 // RootPartyExecutingFirmKVNumber#1825 , 0 // RootPartySettlementAccount#1826 , 0 // RootPartySettlementLocation#1827 , 0 // RootPartySettlementFirm#1828 , 1 // RootPartyContraFirm#1829 , 1 // RootPartyContraSettlementFirm#1830 , 0 // RootPartyContraFirmKVNumber#1831 , 0 // RootPartyContraSettlementAccount#1832 , 1 // RootPartyContraSettlementLocation#1833 , 1 // PartySpecialistFirm#1834 , 1 // PartySpecialistTrader#1835 , 1 // RegulatoryTradeID#1836 , 1 // RootPartyIDExecutionVenue#1837 // TradingSessionStatusBroadcast //// MessageHeaderOutComp , 0 // BodyLen#1838 , 0 // TemplateID#1839 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1840 , 1 // NotificationIn#1841 , 0 // SendingTime#1842 , 1 // ApplSubID#1843 , 0 // PartitionID#1844 , 0 // ApplMsgID#1845 , 0 // ApplID#1846 , 0 // ApplResendFlag#1847 , 0 // LastFragment#1848 /// , 1 // MarketSegmentID#1849 , 1 // TradeDate#1850 , 0 // TradSesEvent#1851 , 1 // RefApplLastMsgID#1852 // TrailingStopUpdateNotification //// MessageHeaderOutComp , 0 // BodyLen#1853 , 0 // TemplateID#1854 /// //// RBCHeaderMEComp , 1 // TrdRegTSTimeOut#1855 , 1 // NotificationIn#1856 , 0 // SendingTime#1857 , 1 // ApplSubID#1858 , 0 // PartitionID#1859 , 1 // ApplMsgID#1860 , 1 // ApplID#1861 , 0 // ApplResendFlag#1862 , 0 // LastFragment#1863 /// , 0 // OrderID#1864 , 1 // ClOrdID#1865 , 1 // OrigClOrdID#1866 , 0 // SecurityID#1867 , 0 // ExecID#1868 , 0 // StopPx#1869 , 0 // OrderQty#1870 , 0 // OrderIDSfx#1871 , 0 // MarketSegmentID#1872 , 0 // ExecRestatementReason#1873 , 0 // OrdStatus#1874 , 0 // ExecType#1875 , 0 // Side#1876 , 1 // FIXClOrdID#1877 // UnsubscribeRequest //// MessageHeaderInComp , 0 // BodyLen#1878 , 0 // TemplateID#1879 , 2 // NetworkMsgID#1880 /// //// RequestHeaderComp , 0 // MsgSeqNum#1881 , 2 // SenderSubID#1882 /// , 0 // RefApplSubID#1883 // UnsubscribeResponse //// MessageHeaderOutComp , 0 // BodyLen#1884 , 0 // TemplateID#1885 /// //// ResponseHeaderComp , 0 // RequestTime#1886 , 0 // SendingTime#1887 , 0 // MsgSeqNum#1888 /// // UserLoginRequest //// MessageHeaderInComp , 0 // BodyLen#1889 , 0 // TemplateID#1890 , 2 // NetworkMsgID#1891 /// //// RequestHeaderComp , 0 // MsgSeqNum#1892 , 2 // SenderSubID#1893 /// , 0 // Username#1894 , 0 // Password#1895 // UserLoginResponse //// MessageHeaderOutComp , 0 // BodyLen#1896 , 0 // TemplateID#1897 /// //// ResponseHeaderComp , 0 // RequestTime#1898 , 0 // SendingTime#1899 , 0 // MsgSeqNum#1900 /// // UserLogoutRequest //// MessageHeaderInComp , 0 // BodyLen#1901 , 0 // TemplateID#1902 , 2 // NetworkMsgID#1903 /// //// RequestHeaderComp , 0 // MsgSeqNum#1904 , 2 // SenderSubID#1905 /// , 0 // Username#1906 // UserLogoutResponse //// MessageHeaderOutComp , 0 // BodyLen#1907 , 0 // TemplateID#1908 /// //// ResponseHeaderComp , 0 // RequestTime#1909 , 0 // SendingTime#1910 , 0 // MsgSeqNum#1911 /// // XetraEnLightCreateDealNotification //// MessageHeaderOutComp , 0 // BodyLen#1912 , 0 // TemplateID#1913 /// //// RBCHeaderComp , 0 // SendingTime#1914 , 0 // ApplSeqNum#1915 , 1 // ApplSubID#1916 , 2 // PartitionID#1917 , 0 // ApplResendFlag#1918 , 0 // ApplID#1919 , 0 // LastFragment#1920 /// , 0 // TransactTime#1921 , 0 // LastPx#1922 , 0 // LastQty#1923 , 0 // QuoteID#1924 , 0 // SecurityID#1925 , 1 // PartyIDClientID#1926 , 1 // PartyIdInvestmentDecisionMaker#1927 , 1 // ExecutingTrader#1928 , 0 // NegotiationID#1929 , 0 // TradeID#1930 , 1 // SettlDate#1931 , 0 // TradingCapacity#1932 , 0 // TrdRptStatus#1933 , 0 // MessageEventSource#1934 , 0 // Side#1935 , 0 // AllocMethod#1936 , 0 // NoOrderBookItems#1937 , 0 // OrderAttributeLiquidityProvision#1938 , 0 // ExecutingTraderQualifier#1939 , 1 // PartyIdInvestmentDecisionMakerQualifier#1940 , 1 // RootPartyExecutingFirm#1941 , 1 // RootPartyExecutingTrader#1942 , 1 // RootPartyEnteringTrader#1943 , 1 // TargetPartyExecutingFirm#1944 , 1 // TargetPartyExecutingTrader#1945 , 1 // TargetPartyEnteringTrader#1946 , 1 // FirmTradeID#1947 , 1 // FirmNegotiationID#1948 , 1 // FreeText1#1949 , 1 // FreeText2#1950 , 1 // FreeText4#1951 //// OrderBookItemGrpComp , 1 // BestBidPx#1952 , 1 // BestBidSize#1953 , 1 // BestOfferPx#1954 , 1 // BestOfferSize#1955 , 0 // MDBookType#1956 , 1 // MDSubBookType#1957 /// // XetraEnLightDealResponse //// MessageHeaderOutComp , 0 // BodyLen#1958 , 0 // TemplateID#1959 /// //// ResponseHeaderComp , 0 // RequestTime#1960 , 0 // SendingTime#1961 , 0 // MsgSeqNum#1962 /// , 0 // SecurityID#1963 , 1 // QuoteID#1964 , 0 // NegotiationID#1965 , 1 // TradeID#1966 , 1 // SecondaryTradeID#1967 , 1 // FirmTradeID#1968 , 1 // FirmNegotiationID#1969 // XetraEnLightEnterQuoteRequest //// MessageHeaderInComp , 0 // BodyLen#1970 , 0 // TemplateID#1971 , 2 // NetworkMsgID#1972 /// //// RequestHeaderComp , 0 // MsgSeqNum#1973 , 0 // SenderSubID#1974 /// , 1 // BidPx#1975 , 1 // OfferPx#1976 , 1 // BidSize#1977 , 1 // OfferSize#1978 , 1 // PartyIDClientID#1979 , 1 // PartyIdInvestmentDecisionMaker#1980 , 1 // ExecutingTrader#1981 , 0 // MarketSegmentID#1982 , 0 // NegotiationID#1983 , 0 // ValueCheckTypeQuantity#1984 , 0 // ValueCheckTypeValue#1985 , 0 // TradingCapacity#1986 , 0 // OrderAttributeLiquidityProvision#1987 , 0 // ExecutingTraderQualifier#1988 , 1 // PartyIdInvestmentDecisionMakerQualifier#1989 , 0 // PartyExecutingFirm#1990 , 0 // PartyExecutingTrader#1991 , 1 // FreeText1#1992 , 1 // FreeText2#1993 , 1 // FreeText4#1994 // XetraEnLightHitQuoteRequest //// MessageHeaderInComp , 0 // BodyLen#1995 , 0 // TemplateID#1996 , 2 // NetworkMsgID#1997 /// //// RequestHeaderComp , 0 // MsgSeqNum#1998 , 0 // SenderSubID#1999 /// , 1 // QuoteID#2000 , 0 // OrderQty#2001 , 1 // Price#2002 , 1 // PartyIDClientID#2003 , 1 // PartyIdInvestmentDecisionMaker#2004 , 1 // ExecutingTrader#2005 , 0 // MarketSegmentID#2006 , 0 // NegotiationID#2007 , 0 // Side#2008 , 0 // ValueCheckTypeQuantity#2009 , 0 // ValueCheckTypeValue#2010 , 0 // TradingCapacity#2011 , 0 // OrderAttributeLiquidityProvision#2012 , 0 // ExecutingTraderQualifier#2013 , 0 // AllocMethod#2014 , 1 // PartyIdInvestmentDecisionMakerQualifier#2015 , 1 // OrderOrigination#2016 , 1 // PartyExecutingFirm#2017 , 1 // PartyExecutingTrader#2018 , 1 // FirmTradeID#2019 , 1 // FreeText1#2020 , 1 // FreeText2#2021 , 1 // FreeText4#2022 // XetraEnLightNegotiationNotification //// MessageHeaderOutComp , 0 // BodyLen#2023 , 0 // TemplateID#2024 /// //// RBCHeaderComp , 0 // SendingTime#2025 , 0 // ApplSeqNum#2026 , 1 // ApplSubID#2027 , 2 // PartitionID#2028 , 0 // ApplResendFlag#2029 , 0 // ApplID#2030 , 0 // LastFragment#2031 /// , 0 // TransactTime#2032 , 1 // BidPx#2033 , 1 // OfferPx#2034 , 1 // LeavesQty#2035 , 0 // NegotiationID#2036 , 1 // NumberOfRespondents#2037 , 1 // SettlDate#2038 , 0 // QuoteStatus#2039 , 1 // Side#2040 , 1 // PartyExecutingFirm#2041 , 1 // PartyExecutingTrader#2042 , 1 // PartyEnteringTrader#2043 , 0 // TargetPartyExecutingFirm#2044 , 0 // TargetPartyExecutingTrader#2045 , 1 // FirmNegotiationID#2046 , 1 // FreeText5#2047 // XetraEnLightNegotiationRequesterNotification //// MessageHeaderOutComp , 0 // BodyLen#2048 , 0 // TemplateID#2049 /// //// RBCHeaderComp , 0 // SendingTime#2050 , 0 // ApplSeqNum#2051 , 1 // ApplSubID#2052 , 2 // PartitionID#2053 , 0 // ApplResendFlag#2054 , 0 // ApplID#2055 , 0 // LastFragment#2056 /// , 0 // TransactTime#2057 , 1 // TrdRegTSExecutionTime#2058 , 1 // BidPx#2059 , 1 // OfferPx#2060 , 0 // OrderQty#2061 , 1 // LastPx#2062 , 1 // LeavesQty#2063 , 1 // LastQty#2064 , 0 // NegotiationID#2065 , 1 // NumberOfRespondents#2066 , 1 // SettlDate#2067 , 0 // QuoteStatus#2068 , 0 // NoTargetPartyIDs#2069 , 0 // NumberOfRespDisclosureInstruction#2070 , 1 // Side#2071 , 0 // PartyExecutingFirm#2072 , 0 // PartyExecutingTrader#2073 , 0 // PartyEnteringTrader#2074 , 1 // FirmNegotiationID#2075 , 1 // FreeText5#2076 //// XetraEnLightTargetPartiesComp , 1 // TargetPartyIDExecutingTrader#2077 , 1 // TargetPartyExecutingFirm#2078 , 1 // TargetPartyExecutingTrader#2079 /// // XetraEnLightNegotiationStatusNotification //// MessageHeaderOutComp , 0 // BodyLen#2080 , 0 // TemplateID#2081 /// //// RBCHeaderComp , 0 // SendingTime#2082 , 0 // ApplSeqNum#2083 , 1 // ApplSubID#2084 , 2 // PartitionID#2085 , 0 // ApplResendFlag#2086 , 0 // ApplID#2087 , 0 // LastFragment#2088 /// , 0 // TransactTime#2089 , 0 // NegotiationID#2090 , 0 // QuoteStatus#2091 , 1 // FirmNegotiationID#2092 // XetraEnLightOpenNegotiationNotification //// MessageHeaderOutComp , 0 // BodyLen#2093 , 0 // TemplateID#2094 /// //// RBCHeaderComp , 0 // SendingTime#2095 , 0 // ApplSeqNum#2096 , 1 // ApplSubID#2097 , 2 // PartitionID#2098 , 0 // ApplResendFlag#2099 , 0 // ApplID#2100 , 0 // LastFragment#2101 /// , 0 // TransactTime#2102 , 1 // NegotiationStartTime#2103 , 0 // SecurityID#2104 , 1 // BidPx#2105 , 1 // OfferPx#2106 , 1 // LeavesQty#2107 , 1 // ExpireTime#2108 , 0 // NegotiationID#2109 , 0 // MarketSegmentID#2110 , 1 // NumberOfRespondents#2111 , 1 // SettlDate#2112 , 0 // QuoteStatus#2113 , 1 // Side#2114 , 0 // RespondentType#2115 , 1 // PartyExecutingFirm#2116 , 1 // PartyExecutingTrader#2117 , 1 // PartyEnteringTrader#2118 , 0 // TargetPartyExecutingFirm#2119 , 0 // TargetPartyExecutingTrader#2120 , 1 // FirmNegotiationID#2121 , 1 // FreeText5#2122 // XetraEnLightOpenNegotiationRequest //// MessageHeaderInComp , 0 // BodyLen#2123 , 0 // TemplateID#2124 , 2 // NetworkMsgID#2125 /// //// RequestHeaderComp , 0 // MsgSeqNum#2126 , 0 // SenderSubID#2127 /// , 0 // SecurityID#2128 , 1 // BidPx#2129 , 1 // OfferPx#2130 , 0 // OrderQty#2131 , 1 // ValidUntilTime#2132 , 0 // MarketSegmentID#2133 , 1 // SettlDate#2134 , 0 // NoTargetPartyIDs#2135 , 0 // NumberOfRespDisclosureInstruction#2136 , 1 // Side#2137 , 0 // ValueCheckTypeValue#2138 , 0 // ValueCheckTypeQuantity#2139 , 0 // RespondentType#2140 , 0 // PartyExecutingFirm#2141 , 0 // PartyExecutingTrader#2142 , 1 // FreeText5#2143 , 1 // QuoteReqID#2144 //// XetraEnLightTargetPartiesComp , 2 // TargetPartyIDExecutingTrader#2145 , 1 // TargetPartyExecutingFirm#2146 , 1 // TargetPartyExecutingTrader#2147 /// // XetraEnLightOpenNegotiationRequesterNotification //// MessageHeaderOutComp , 0 // BodyLen#2148 , 0 // TemplateID#2149 /// //// RBCHeaderComp , 0 // SendingTime#2150 , 0 // ApplSeqNum#2151 , 1 // ApplSubID#2152 , 2 // PartitionID#2153 , 0 // ApplResendFlag#2154 , 0 // ApplID#2155 , 0 // LastFragment#2156 /// , 0 // TransactTime#2157 , 0 // SecurityID#2158 , 1 // BidPx#2159 , 1 // OfferPx#2160 , 0 // OrderQty#2161 , 1 // LastPx#2162 , 1 // LastQty#2163 , 1 // ExpireTime#2164 , 0 // NegotiationID#2165 , 0 // MarketSegmentID#2166 , 1 // NumberOfRespondents#2167 , 1 // SettlDate#2168 , 0 // QuoteStatus#2169 , 0 // NoTargetPartyIDs#2170 , 1 // Side#2171 , 0 // NumberOfRespDisclosureInstruction#2172 , 0 // RespondentType#2173 , 0 // PartyExecutingFirm#2174 , 0 // PartyExecutingTrader#2175 , 0 // PartyEnteringTrader#2176 , 1 // FirmNegotiationID#2177 , 1 // FreeText5#2178 //// XetraEnLightTargetPartiesComp , 1 // TargetPartyIDExecutingTrader#2179 , 1 // TargetPartyExecutingFirm#2180 , 1 // TargetPartyExecutingTrader#2181 /// // XetraEnLightQuoteNotification //// MessageHeaderOutComp , 0 // BodyLen#2182 , 0 // TemplateID#2183 /// //// RBCHeaderComp , 0 // SendingTime#2184 , 0 // ApplSeqNum#2185 , 1 // ApplSubID#2186 , 2 // PartitionID#2187 , 0 // ApplResendFlag#2188 , 0 // ApplID#2189 , 0 // LastFragment#2190 /// , 0 // TransactTime#2191 , 1 // QuoteID#2192 , 1 // SecondaryQuoteID#2193 , 1 // BidPx#2194 , 1 // BidSize#2195 , 1 // OfferPx#2196 , 1 // OfferSize#2197 , 0 // NegotiationID#2198 , 1 // TradingCapacity#2199 , 0 // QuotingStatus#2200 , 1 // QuoteEventReason#2201 , 0 // PartyExecutingFirm#2202 , 0 // PartyExecutingTrader#2203 , 0 // PartyEnteringTrader#2204 , 1 // QuoteReqID#2205 , 1 // FreeText1#2206 , 1 // FreeText2#2207 , 1 // FreeText4#2208 // XetraEnLightQuoteRequesterNotification //// MessageHeaderOutComp , 0 // BodyLen#2209 , 0 // TemplateID#2210 /// //// RBCHeaderComp , 0 // SendingTime#2211 , 0 // ApplSeqNum#2212 , 1 // ApplSubID#2213 , 2 // PartitionID#2214 , 0 // ApplResendFlag#2215 , 0 // ApplID#2216 , 0 // LastFragment#2217 /// , 1 // TransactTime#2218 , 0 // NegotiationID#2219 , 1 // TradeID#2220 , 1 // QuoteReqID#2221 , 0 // NoQuoteEntries#2222 //// SRQSQuoteEntryGrpComp , 1 // TransactTime#2223 , 1 // QuoteID#2224 , 1 // SecondaryQuoteID#2225 , 1 // BidPx#2226 , 1 // BidSize#2227 , 1 // OfferPx#2228 , 1 // OfferSize#2229 , 1 // PartyIDExecutingTrader#2230 , 0 // QuotingStatus#2231 , 1 // PartyExecutingFirm#2232 , 1 // PartyExecutingTrader#2233 , 1 // PartyEnteringTrader#2234 /// // XetraEnLightQuoteResponse //// MessageHeaderOutComp , 0 // BodyLen#2235 , 0 // TemplateID#2236 /// //// ResponseHeaderComp , 0 // RequestTime#2237 , 0 // SendingTime#2238 , 0 // MsgSeqNum#2239 /// , 1 // QuoteID#2240 , 0 // NegotiationID#2241 , 1 // QuoteReqID#2242 // XetraEnLightQuotingStatusRequest //// MessageHeaderInComp , 0 // BodyLen#2243 , 0 // TemplateID#2244 , 2 // NetworkMsgID#2245 /// //// RequestHeaderComp , 0 // MsgSeqNum#2246 , 0 // SenderSubID#2247 /// , 0 // MarketSegmentID#2248 , 0 // NegotiationID#2249 , 0 // QuotingStatus#2250 , 0 // PartyExecutingFirm#2251 , 0 // PartyExecutingTrader#2252 // XetraEnLightStatusBroadcast //// MessageHeaderOutComp , 0 // BodyLen#2253 , 0 // TemplateID#2254 /// //// RBCHeaderComp , 0 // SendingTime#2255 , 0 // ApplSeqNum#2256 , 1 // ApplSubID#2257 , 2 // PartitionID#2258 , 0 // ApplResendFlag#2259 , 0 // ApplID#2260 , 0 // LastFragment#2261 /// , 1 // TradeDate#2262 , 0 // TradSesEvent#2263 // XetraEnLightUpdateNegotiationRequest //// MessageHeaderInComp , 0 // BodyLen#2264 , 0 // TemplateID#2265 , 2 // NetworkMsgID#2266 /// //// RequestHeaderComp , 0 // MsgSeqNum#2267 , 0 // SenderSubID#2268 /// , 1 // BidPx#2269 , 1 // OfferPx#2270 , 0 // OrderQty#2271 , 0 // MarketSegmentID#2272 , 0 // NegotiationID#2273 , 1 // SettlDate#2274 , 0 // NoTargetPartyIDs#2275 , 0 // NumberOfRespDisclosureInstruction#2276 , 1 // Side#2277 , 1 // QuoteCancelType#2278 , 0 // PartyExecutingFirm#2279 , 0 // PartyExecutingTrader#2280 , 1 // FreeText5#2281 //// XetraEnLightTargetPartiesComp , 1 // TargetPartyIDExecutingTrader#2282 , 1 // TargetPartyExecutingFirm#2283 , 1 // TargetPartyExecutingTrader#2284 /// , 0 // filler }; static const int16_t tid2uidx[] = { 504 /* LogonRequest */ , 522 /* LogonResponse */ , 536 /* LogoutRequest */ , 541 /* LogoutResponse */ , -1 , 1523 /* SubscribeResponse */ , 1878 /* UnsubscribeRequest */ , 1884 /* UnsubscribeResponse */ , 1279 /* RetransmitRequest */ , 1288 /* RetransmitResponse */ , 1248 /* Reject */ , 392 /* Heartbeat */ , 380 /* ForcedLogoutNotification */ , -1 , -1 , -1 , -1 , -1 , 1889 /* UserLoginRequest */ , 1896 /* UserLoginResponse */ , -1 , -1 , -1 , 395 /* HeartbeatNotification */ , 1907 /* UserLogoutResponse */ , 1516 /* SubscribeRequest */ , 1261 /* RetransmitMEMessageRequest */ , 1271 /* RetransmitMEMessageResponse */ , 1747 /* ThrottleUpdateNotification */ , 1901 /* UserLogoutRequest */ , 1296 /* ServiceAvailabilityBroadcast */ , 882 /* NewsBroadcast */ , 29 /* BroadcastErrorNotification */ , -1 , 1073 /* PartyEntitlementsUpdateReport */ , 415 /* InquireSessionListRequest */ , 420 /* InquireSessionListResponse */ , 491 /* LegalNotificationBroadcast */ , 429 /* InquireUserRequest */ , 435 /* InquireUserResponse */ , 398 /* InquireEnrichmentRuleIDListRequest */ , 404 /* InquireEnrichmentRuleIDListResponse */ , 1055 /* PartyActionReport */ , 385 /* ForcedUserLogoutNotification */ , 1313 /* ServiceAvailabilityMarketBroadcast */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 811 /* NewOrderSingleRequest */ , 779 /* NewOrderResponse */ , 752 /* NewOrderNRResponse */ , 1011 /* OrderExecResponse */ , 895 /* OrderExecNotification */ , -1 , 656 /* ModifyOrderSingleRequest */ , 621 /* ModifyOrderResponse */ , 590 /* ModifyOrderNRResponse */ , 271 /* DeleteOrderSingleRequest */ , 247 /* DeleteOrderResponse */ , 226 /* DeleteOrderNRResponse */ , 194 /* DeleteOrderBroadcast */ , -1 , -1 , -1 , -1 , 937 /* OrderExecReportBroadcast */ , 38 /* CrossRequest */ , 46 /* CrossRequestResponse */ , 112 /* DeleteAllOrderRequest */ , 128 /* DeleteAllOrderResponse */ , 56 /* DeleteAllOrderBroadcast */ , -1 , 86 /* DeleteAllOrderNRResponse */ , 856 /* NewOrderSingleShortRequest */ , 703 /* ModifyOrderSingleShortRequest */ , 1853 /* TrailingStopUpdateNotification */ , 323 /* ExtendedDeletionReport */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1387 /* SpecialistOrderBookNotification */ , 1350 /* SpecialistDeleteAllOrderBroadcast */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1838 /* TradingSessionStatusBroadcast */ , 96 /* DeleteAllOrderQuoteEventBroadcast */ , -1 , -1 , -1 , -1 , -1 , 467 /* IssuerSecurityStateChangeRequest */ , 481 /* IssuerSecurityStateChangeResponse */ , 447 /* IssuerNotification */ , 1498 /* SpecialistSecurityStateChangeRequest */ , 1506 /* SpecialistSecurityStateChangeResponse */ , 1372 /* SpecialistInstrumentEventNotification */ , 1091 /* PingRequest */ , 1097 /* PingResponse */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1208 /* RFQRequest */ , 1220 /* RFQResponse */ , 1126 /* QuoteActivationRequest */ , 1138 /* QuoteActivationResponse */ , 546 /* MassQuoteRequest */ , 572 /* MassQuoteResponse */ , 1150 /* QuoteExecutionReport */ , 171 /* DeleteAllQuoteRequest */ , 182 /* DeleteAllQuoteResponse */ , 149 /* DeleteAllQuoteBroadcast */ , 1107 /* QuoteActivationNotification */ , -1 , -1 , -1 , 1174 /* RFQBroadcast */ , -1 , -1 , 1322 /* SingleQuoteRequest */ , 1230 /* RFQSpecialistBroadcast */ , 1191 /* RFQRejectNotification */ , 1445 /* SpecialistRFQRejectRequest */ , 1475 /* SpecialistRFQReplyRequest */ , 1488 /* SpecialistRFQReplyResponse */ , 1455 /* SpecialistRFQReplyNotification */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 1753 /* TradeBroadcast */ , 1737 /* TMTradingSessionStatusBroadcast */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 301 /* EnterTESTradeRequest */ , 730 /* ModifyTESTradeRequest */ , 290 /* DeleteTESTradeRequest */ , 0 /* ApproveTESTradeRequest */ , 1572 /* TESBroadcast */ , -1 , 1609 /* TESDeleteBroadcast */ , 1529 /* TESApproveBroadcast */ , -1 , -1 , 1628 /* TESExecutionBroadcast */ , 1647 /* TESResponse */ , -1 , -1 , 1654 /* TESTradeBroadcast */ , 1726 /* TESTradingSessionStatusBroadcast */ , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , 2123 /* XetraEnLightOpenNegotiationRequest */ , 2264 /* XetraEnLightUpdateNegotiationRequest */ , 1970 /* XetraEnLightEnterQuoteRequest */ , 2235 /* XetraEnLightQuoteResponse */ , 1995 /* XetraEnLightHitQuoteRequest */ , 1958 /* XetraEnLightDealResponse */ , -1 , 2182 /* XetraEnLightQuoteNotification */ , 1912 /* XetraEnLightCreateDealNotification */ , -1 , 2148 /* XetraEnLightOpenNegotiationRequesterNotification */ , 2093 /* XetraEnLightOpenNegotiationNotification */ , 2048 /* XetraEnLightNegotiationRequesterNotification */ , 2023 /* XetraEnLightNegotiationNotification */ , 2253 /* XetraEnLightStatusBroadcast */ , 2080 /* XetraEnLightNegotiationStatusNotification */ , 2209 /* XetraEnLightQuoteRequesterNotification */ , 2243 /* XetraEnLightQuotingStatusRequest */ }; static int * const dscp_bits[] = { &hf_xti_dscp_exec_summary, &hf_xti_dscp_improved, &hf_xti_dscp_widened, NULL }; if (templateid < 10000 || templateid > 10817) { proto_tree_add_expert_format(root, pinfo, &ei_xti_invalid_template, tvb, 4, 4, "Template ID out of range: %" PRIu16, templateid); return tvb_captured_length(tvb); } int fidx = tid2fidx[templateid - 10000]; if (fidx == -1) { proto_tree_add_expert_format(root, pinfo, &ei_xti_invalid_template, tvb, 4, 4, "Unallocated Template ID: %" PRIu16, templateid); return tvb_captured_length(tvb); } if (bodylen < tid2size[templateid - 10000][0] || bodylen > tid2size[templateid - 10000][1]) { if (tid2size[templateid - 10000][0] != tid2size[templateid - 10000][1]) proto_tree_add_expert_format(root, pinfo, &ei_xti_invalid_length, tvb, 0, 4, "Unexpected BodyLen value of %" PRIu32 ", expected: %" PRIu32 "..%" PRIu32, bodylen, tid2size[templateid - 10000][0], tid2size[templateid - 10000][1]); else proto_tree_add_expert_format(root, pinfo, &ei_xti_invalid_length, tvb, 0, 4, "Unexpected BodyLen value of %" PRIu32 ", expected: %" PRIu32, bodylen, tid2size[templateid - 10000][0]); } if (bodylen % 8) proto_tree_add_expert_format(root, pinfo, &ei_xti_unaligned, tvb, 0, 4, "BodyLen value of %" PRIu32 " is not divisible by 8", bodylen); int uidx = tid2uidx[templateid - 10000]; DISSECTOR_ASSERT_CMPINT(uidx, >=, 0); DISSECTOR_ASSERT_CMPUINT(((size_t)uidx), <, (sizeof usages / sizeof usages[0])); int old_fidx = 0; int old_uidx = 0; unsigned top = 1; unsigned counter[8] = {0}; unsigned off = 0; unsigned struct_off = 0; unsigned repeats = 0; proto_tree *t = root; while (top) { DISSECTOR_ASSERT_CMPINT(fidx, >=, 0); DISSECTOR_ASSERT_CMPUINT(((size_t)fidx), <, (sizeof fields / sizeof fields[0])); DISSECTOR_ASSERT_CMPINT(uidx, >=, 0); DISSECTOR_ASSERT_CMPUINT(((size_t)uidx), <, (sizeof usages / sizeof usages[0])); switch (fields[fidx].type) { case ETI_EOF: DISSECTOR_ASSERT_CMPUINT(top, >=, 1); DISSECTOR_ASSERT_CMPUINT(top, <=, 2); if (t != root) proto_item_set_len(t, off - struct_off); if (repeats) { --repeats; fidx = fields[old_fidx].field_handle_idx; uidx = old_uidx; t = proto_tree_add_subtree(root, tvb, off, -1, ett_xti[fields[old_fidx].ett_idx], NULL, &struct_names[fields[old_fidx].size]); struct_off = off; } else { fidx = old_fidx + 1; t = root; --top; } break; case ETI_VAR_STRUCT: case ETI_STRUCT: DISSECTOR_ASSERT_CMPUINT(fields[fidx].counter_off, <, sizeof counter / sizeof counter[0]); repeats = fields[fidx].type == ETI_VAR_STRUCT ? counter[fields[fidx].counter_off] : 1; if (repeats) { --repeats; t = proto_tree_add_subtree(root, tvb, off, -1, ett_xti[fields[fidx].ett_idx], NULL, &struct_names[fields[fidx].size]); struct_off = off; old_fidx = fidx; old_uidx = uidx; fidx = fields[fidx].field_handle_idx; DISSECTOR_ASSERT_CMPUINT(top, ==, 1); ++top; } else { ++fidx; } break; case ETI_PADDING: off += fields[fidx].size; ++fidx; break; case ETI_CHAR: proto_tree_add_item(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, ENC_ASCII); off += fields[fidx].size; ++fidx; ++uidx; break; case ETI_STRING: { guint8 c = tvb_get_guint8(tvb, off); if (c) proto_tree_add_item(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, ENC_ASCII); else { proto_item *e = proto_tree_add_string(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, "NO_VALUE ('0x00...')"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } } off += fields[fidx].size; ++fidx; ++uidx; break; case ETI_VAR_STRING: DISSECTOR_ASSERT_CMPUINT(fields[fidx].counter_off, <, sizeof counter / sizeof counter[0]); proto_tree_add_item(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, counter[fields[fidx].counter_off], ENC_ASCII); off += counter[fields[fidx].counter_off]; ++fidx; ++uidx; break; case ETI_COUNTER: DISSECTOR_ASSERT_CMPUINT(fields[fidx].counter_off, <, sizeof counter / sizeof counter[0]); DISSECTOR_ASSERT_CMPUINT(fields[fidx].size, <=, 2); { switch (fields[fidx].size) { case 1: { guint8 x = tvb_get_guint8(tvb, off); if (x == UINT8_MAX) { proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0xff)"); counter[fields[fidx].counter_off] = 0; } else { proto_item *e = proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIu8, x); if (x > fields[fidx].ett_idx) { counter[fields[fidx].counter_off] = fields[fidx].ett_idx; expert_add_info_format(pinfo, e, &ei_xti_counter_overflow, "Counter overflow: %" PRIu8 " > %" PRIu16, x, fields[fidx].ett_idx); } else { counter[fields[fidx].counter_off] = x; } } } break; case 2: { guint16 x = tvb_get_letohs(tvb, off); if (x == UINT16_MAX) { proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0xffff)"); counter[fields[fidx].counter_off] = 0; } else { proto_item *e = proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIu16, x); if (x > fields[fidx].ett_idx) { counter[fields[fidx].counter_off] = fields[fidx].ett_idx; expert_add_info_format(pinfo, e, &ei_xti_counter_overflow, "Counter overflow: %" PRIu16 " > %" PRIu16, x, fields[fidx].ett_idx); } else { counter[fields[fidx].counter_off] = x; } } } break; } } off += fields[fidx].size; ++fidx; ++uidx; break; case ETI_UINT: switch (fields[fidx].size) { case 1: { guint8 x = tvb_get_guint8(tvb, off); if (x == UINT8_MAX) { proto_item *e = proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0xff)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { proto_item *e = proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIu8, x); if (usages[uidx] == 2) expert_add_info_format(pinfo, e, &ei_xti_overused, "unused value is set"); } } break; case 2: { guint16 x = tvb_get_letohs(tvb, off); if (x == UINT16_MAX) { proto_item *e = proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0xffff)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { proto_item *e = proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIu16, x); if (usages[uidx] == 2) expert_add_info_format(pinfo, e, &ei_xti_overused, "unused value is set"); } } break; case 4: { guint32 x = tvb_get_letohl(tvb, off); if (x == UINT32_MAX) { proto_item *e = proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0xffffffff)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { proto_item *e = proto_tree_add_uint_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIu32, x); if (usages[uidx] == 2) expert_add_info_format(pinfo, e, &ei_xti_overused, "unused value is set"); } } break; case 8: { guint64 x = tvb_get_letoh64(tvb, off); if (x == UINT64_MAX) { proto_item *e = proto_tree_add_uint64_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0xffffffffffffffff)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { proto_item *e = proto_tree_add_uint64_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIu64, x); if (usages[uidx] == 2) expert_add_info_format(pinfo, e, &ei_xti_overused, "unused value is set"); } } break; } off += fields[fidx].size; ++fidx; ++uidx; break; case ETI_INT: switch (fields[fidx].size) { case 1: { gint8 x = tvb_get_gint8(tvb, off); if (x == INT8_MIN) { proto_item *e = proto_tree_add_int_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0x80)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { proto_item *e = proto_tree_add_int_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIi8, x); if (usages[uidx] == 2) expert_add_info_format(pinfo, e, &ei_xti_overused, "unused value is set"); } } break; case 2: { gint16 x = tvb_get_letohis(tvb, off); if (x == INT16_MIN) { proto_item *e = proto_tree_add_int_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0x8000)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { proto_item *e = proto_tree_add_int_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIi16, x); if (usages[uidx] == 2) expert_add_info_format(pinfo, e, &ei_xti_overused, "unused value is set"); } } break; case 4: { gint32 x = tvb_get_letohil(tvb, off); if (x == INT32_MIN) { proto_item *e = proto_tree_add_int_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0x80000000)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { proto_item *e = proto_tree_add_int_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIi32, x); if (usages[uidx] == 2) expert_add_info_format(pinfo, e, &ei_xti_overused, "unused value is set"); } } break; case 8: { gint64 x = tvb_get_letohi64(tvb, off); if (x == INT64_MIN) { proto_item *e = proto_tree_add_int64_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0x8000000000000000)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { proto_item *e = proto_tree_add_int64_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%" PRIi64, x); if (usages[uidx] == 2) expert_add_info_format(pinfo, e, &ei_xti_overused, "unused value is set"); } } break; } off += fields[fidx].size; ++fidx; ++uidx; break; case ETI_UINT_ENUM: case ETI_INT_ENUM: proto_tree_add_item(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, ENC_LITTLE_ENDIAN); off += fields[fidx].size; ++fidx; ++uidx; break; case ETI_FIXED_POINT: DISSECTOR_ASSERT_CMPUINT(fields[fidx].size, ==, 8); DISSECTOR_ASSERT_CMPUINT(fields[fidx].counter_off, >, 0); DISSECTOR_ASSERT_CMPUINT(fields[fidx].counter_off, <=, 16); { gint64 x = tvb_get_letohi64(tvb, off); if (x == INT64_MIN) { proto_item *e = proto_tree_add_int64_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "NO_VALUE (0x8000000000000000)"); if (!usages[uidx]) expert_add_info_format(pinfo, e, &ei_xti_missing, "required value is missing"); } else { unsigned slack = fields[fidx].counter_off + 1; if (x < 0) slack += 1; char s[21]; int n = snprintf(s, sizeof s, "%0*" PRIi64, slack, x); DISSECTOR_ASSERT_CMPUINT(n, >, 0); unsigned k = n - fields[fidx].counter_off; proto_tree_add_int64_format_value(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, x, "%.*s.%s", k, s, s + k); } } off += fields[fidx].size; ++fidx; ++uidx; break; case ETI_TIMESTAMP_NS: DISSECTOR_ASSERT_CMPUINT(fields[fidx].size, ==, 8); proto_tree_add_item(t, hf_xti[fields[fidx].field_handle_idx], tvb, off, fields[fidx].size, ENC_LITTLE_ENDIAN | ENC_TIME_NSECS); off += fields[fidx].size; ++fidx; ++uidx; break; case ETI_DSCP: DISSECTOR_ASSERT_CMPUINT(fields[fidx].size, ==, 1); proto_tree_add_bitmask(t, tvb, off, hf_xti[fields[fidx].field_handle_idx], ett_xti_dscp, dscp_bits, ENC_LITTLE_ENDIAN); off += fields[fidx].size; ++fidx; ++uidx; break; } } return tvb_captured_length(tvb); } /* determine PDU length of protocol XTI */ static guint get_xti_message_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { return (guint)tvb_get_letohl(tvb, offset); } static int dissect_xti(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 4 /* bytes to read for bodylen */, get_xti_message_len, dissect_xti_message, data); return tvb_captured_length(tvb); } void proto_register_xti(void) { static hf_register_info hf[] ={ { &hf_xti[ACCOUNT_FH_IDX], { "Account", "xti.account", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ACCRUEDINTERESAMT_FH_IDX], { "AccruedInteresAmt", "xti.accruedinteresamt", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[AFFECTEDORDERID_FH_IDX], { "AffectedOrderID", "xti.affectedorderid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[AFFECTEDORDERREQUESTID_FH_IDX], { "AffectedOrderRequestID", "xti.affectedorderrequestid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[AFFECTEDORIGCLORDID_FH_IDX], { "AffectedOrigClOrdID", "xti.affectedorigclordid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ALLOCID_FH_IDX], { "AllocID", "xti.allocid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ALLOCMETHOD_FH_IDX], { "AllocMethod", "xti.allocmethod", FT_UINT8, BASE_DEC, VALS(alloc_method_vals), 0x0, NULL, HFILL } } , { &hf_xti[ALLOCQTY_FH_IDX], { "AllocQty", "xti.allocqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLBEGMSGID_FH_IDX], { "ApplBegMsgID", "xti.applbegmsgid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLBEGSEQNUM_FH_IDX], { "ApplBegSeqNum", "xti.applbegseqnum", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLENDMSGID_FH_IDX], { "ApplEndMsgID", "xti.applendmsgid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLENDSEQNUM_FH_IDX], { "ApplEndSeqNum", "xti.applendseqnum", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLID_FH_IDX], { "ApplID", "xti.applid", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &appl_id_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[APPLIDSTATUS_FH_IDX], { "ApplIDStatus", "xti.applidstatus", FT_UINT32, BASE_DEC, VALS(appl_idstatus_vals), 0x0, NULL, HFILL } } , { &hf_xti[APPLMSGID_FH_IDX], { "ApplMsgID", "xti.applmsgid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLRESENDFLAG_FH_IDX], { "ApplResendFlag", "xti.applresendflag", FT_UINT8, BASE_DEC, VALS(appl_resend_flag_vals), 0x0, NULL, HFILL } } , { &hf_xti[APPLSEQINDICATOR_FH_IDX], { "ApplSeqIndicator", "xti.applseqindicator", FT_UINT8, BASE_DEC, VALS(appl_seq_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[APPLSEQNUM_FH_IDX], { "ApplSeqNum", "xti.applseqnum", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLSEQSTATUS_FH_IDX], { "ApplSeqStatus", "xti.applseqstatus", FT_UINT8, BASE_DEC, VALS(appl_seq_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[APPLSEQTRADEDATE_FH_IDX], { "ApplSeqTradeDate", "xti.applseqtradedate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLSUBID_FH_IDX], { "ApplSubID", "xti.applsubid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLTOTALMESSAGECOUNT_FH_IDX], { "ApplTotalMessageCount", "xti.appltotalmessagecount", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLUSAGEORDERS_FH_IDX], { "ApplUsageOrders", "xti.applusageorders", FT_CHAR, BASE_HEX, VALS(appl_usage_orders_vals), 0x0, NULL, HFILL } } , { &hf_xti[APPLUSAGEQUOTES_FH_IDX], { "ApplUsageQuotes", "xti.applusagequotes", FT_CHAR, BASE_HEX, VALS(appl_usage_orders_vals), 0x0, NULL, HFILL } } , { &hf_xti[APPLICATIONSYSTEMNAME_FH_IDX], { "ApplicationSystemName", "xti.applicationsystemname", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLICATIONSYSTEMVENDOR_FH_IDX], { "ApplicationSystemVendor", "xti.applicationsystemvendor", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[APPLICATIONSYSTEMVERSION_FH_IDX], { "ApplicationSystemVersion", "xti.applicationsystemversion", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[AUTOAPPROVALRULEID_FH_IDX], { "AutoApprovalRuleID", "xti.autoapprovalruleid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[BESTBIDPX_FH_IDX], { "BestBidPx", "xti.bestbidpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[BESTBIDSIZE_FH_IDX], { "BestBidSize", "xti.bestbidsize", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[BESTOFFERPX_FH_IDX], { "BestOfferPx", "xti.bestofferpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[BESTOFFERSIZE_FH_IDX], { "BestOfferSize", "xti.bestoffersize", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[BIDPX_FH_IDX], { "BidPx", "xti.bidpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[BIDSIZE_FH_IDX], { "BidSize", "xti.bidsize", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[BODYLEN_FH_IDX], { "BodyLen", "xti.bodylen", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[CLORDID_FH_IDX], { "ClOrdID", "xti.clordid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[CLEARINGINSTRUCTION_FH_IDX], { "ClearingInstruction", "xti.clearinginstruction", FT_UINT8, BASE_DEC, VALS(clearing_instruction_vals), 0x0, NULL, HFILL } } , { &hf_xti[COUPONRATE_FH_IDX], { "CouponRate", "xti.couponrate", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[CROSSEDINDICATOR_FH_IDX], { "CrossedIndicator", "xti.crossedindicator", FT_UINT8, BASE_DEC, VALS(crossed_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[CUMQTY_FH_IDX], { "CumQty", "xti.cumqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[CURRENCY_FH_IDX], { "Currency", "xti.currency", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[CXLQTY_FH_IDX], { "CxlQty", "xti.cxlqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[CXLSIZE_FH_IDX], { "CxlSize", "xti.cxlsize", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[DEFAULTCSTMAPPLVERID_FH_IDX], { "DefaultCstmApplVerID", "xti.defaultcstmapplverid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[DEFAULTCSTMAPPLVERSUBID_FH_IDX], { "DefaultCstmApplVerSubID", "xti.defaultcstmapplversubid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[DELETEREASON_FH_IDX], { "DeleteReason", "xti.deletereason", FT_UINT8, BASE_DEC, VALS(delete_reason_vals), 0x0, NULL, HFILL } } , { &hf_xti[DELIVERYTYPE_FH_IDX], { "DeliveryType", "xti.deliverytype", FT_UINT8, BASE_DEC, VALS(delivery_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[DISPLAYHIGHQTY_FH_IDX], { "DisplayHighQty", "xti.displayhighqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[DISPLAYLOWQTY_FH_IDX], { "DisplayLowQty", "xti.displaylowqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[DISPLAYQTY_FH_IDX], { "DisplayQty", "xti.displayqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ENRICHMENTRULEID_FH_IDX], { "EnrichmentRuleID", "xti.enrichmentruleid", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[EVENTDATE_FH_IDX], { "EventDate", "xti.eventdate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[EVENTPX_FH_IDX], { "EventPx", "xti.eventpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[EVENTTYPE_FH_IDX], { "EventType", "xti.eventtype", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &event_type_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[EXECID_FH_IDX], { "ExecID", "xti.execid", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[EXECINST_FH_IDX], { "ExecInst", "xti.execinst", FT_UINT8, BASE_DEC, VALS(exec_inst_vals), 0x0, NULL, HFILL } } , { &hf_xti[EXECRESTATEMENTREASON_FH_IDX], { "ExecRestatementReason", "xti.execrestatementreason", FT_UINT16, BASE_DEC| BASE_EXT_STRING, &exec_restatement_reason_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[EXECTYPE_FH_IDX], { "ExecType", "xti.exectype", FT_CHAR, BASE_HEX| BASE_EXT_STRING, &exec_type_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[EXECUTINGTRADER_FH_IDX], { "ExecutingTrader", "xti.executingtrader", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[EXECUTINGTRADERQUALIFIER_FH_IDX], { "ExecutingTraderQualifier", "xti.executingtraderqualifier", FT_UINT8, BASE_DEC, VALS(executing_trader_qualifier_vals), 0x0, NULL, HFILL } } , { &hf_xti[EXPIREDATE_FH_IDX], { "ExpireDate", "xti.expiredate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[EXPIRETIME_FH_IDX], { "ExpireTime", "xti.expiretime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FIXCLORDID_FH_IDX], { "FIXClOrdID", "xti.fixclordid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FIXENGINENAME_FH_IDX], { "FIXEngineName", "xti.fixenginename", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FIXENGINEVENDOR_FH_IDX], { "FIXEngineVendor", "xti.fixenginevendor", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FIXENGINEVERSION_FH_IDX], { "FIXEngineVersion", "xti.fixengineversion", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FILLEXECID_FH_IDX], { "FillExecID", "xti.fillexecid", FT_INT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FILLLIQUIDITYIND_FH_IDX], { "FillLiquidityInd", "xti.fillliquidityind", FT_UINT8, BASE_DEC, VALS(fill_liquidity_ind_vals), 0x0, NULL, HFILL } } , { &hf_xti[FILLMATCHID_FH_IDX], { "FillMatchID", "xti.fillmatchid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FILLPX_FH_IDX], { "FillPx", "xti.fillpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FILLQTY_FH_IDX], { "FillQty", "xti.fillqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FIRMNEGOTIATIONID_FH_IDX], { "FirmNegotiationID", "xti.firmnegotiationid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FIRMTRADEID_FH_IDX], { "FirmTradeID", "xti.firmtradeid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FREETEXT1_FH_IDX], { "FreeText1", "xti.freetext1", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FREETEXT2_FH_IDX], { "FreeText2", "xti.freetext2", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FREETEXT4_FH_IDX], { "FreeText4", "xti.freetext4", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[FREETEXT5_FH_IDX], { "FreeText5", "xti.freetext5", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[HEADLINE_FH_IDX], { "Headline", "xti.headline", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[HEARTBTINT_FH_IDX], { "HeartBtInt", "xti.heartbtint", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[IMBALANCEQTY_FH_IDX], { "ImbalanceQty", "xti.imbalanceqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[INDIVIDUALALLOCID_FH_IDX], { "IndividualAllocID", "xti.individualallocid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[LASTCOUPONDEVIATIONINDICATOR_FH_IDX], { "LastCouponDeviationIndicator", "xti.lastcoupondeviationindicator", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &last_coupon_deviation_indicator_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[LASTENTITYPROCESSED_FH_IDX], { "LastEntityProcessed", "xti.lastentityprocessed", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[LASTFRAGMENT_FH_IDX], { "LastFragment", "xti.lastfragment", FT_UINT8, BASE_DEC, VALS(last_fragment_vals), 0x0, NULL, HFILL } } , { &hf_xti[LASTMKT_FH_IDX], { "LastMkt", "xti.lastmkt", FT_UINT16, BASE_DEC| BASE_EXT_STRING, &last_mkt_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[LASTPX_FH_IDX], { "LastPx", "xti.lastpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[LASTQTY_FH_IDX], { "LastQty", "xti.lastqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[LEAVESQTY_FH_IDX], { "LeavesQty", "xti.leavesqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[LISTUPDATEACTION_FH_IDX], { "ListUpdateAction", "xti.listupdateaction", FT_CHAR, BASE_HEX, VALS(list_update_action_vals), 0x0, NULL, HFILL } } , { &hf_xti[MDBOOKTYPE_FH_IDX], { "MDBookType", "xti.mdbooktype", FT_UINT8, BASE_DEC, VALS(mdbook_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[MDSUBBOOKTYPE_FH_IDX], { "MDSubBookType", "xti.mdsubbooktype", FT_UINT8, BASE_DEC, VALS(mdsub_book_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[MARKETID_FH_IDX], { "MarketID", "xti.marketid", FT_UINT16, BASE_DEC| BASE_EXT_STRING, &last_mkt_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[MARKETSEGMENTID_FH_IDX], { "MarketSegmentID", "xti.marketsegmentid", FT_INT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[MASSACTIONREASON_FH_IDX], { "MassActionReason", "xti.massactionreason", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &mass_action_reason_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[MASSACTIONREPORTID_FH_IDX], { "MassActionReportID", "xti.massactionreportid", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[MASSACTIONTYPE_FH_IDX], { "MassActionType", "xti.massactiontype", FT_UINT8, BASE_DEC, VALS(mass_action_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[MATCHDATE_FH_IDX], { "MatchDate", "xti.matchdate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[MATCHINSTCROSSID_FH_IDX], { "MatchInstCrossID", "xti.matchinstcrossid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[MATCHSUBTYPE_FH_IDX], { "MatchSubType", "xti.matchsubtype", FT_UINT8, BASE_DEC, VALS(match_sub_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[MATCHTYPE_FH_IDX], { "MatchType", "xti.matchtype", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &match_type_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[MATCHINGENGINESTATUS_FH_IDX], { "MatchingEngineStatus", "xti.matchingenginestatus", FT_UINT8, BASE_DEC, VALS(appl_seq_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[MATCHINGENGINETRADEDATE_FH_IDX], { "MatchingEngineTradeDate", "xti.matchingenginetradedate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[MESSAGEEVENTSOURCE_FH_IDX], { "MessageEventSource", "xti.messageeventsource", FT_CHAR, BASE_HEX, VALS(message_event_source_vals), 0x0, NULL, HFILL } } , { &hf_xti[MSGSEQNUM_FH_IDX], { "MsgSeqNum", "xti.msgseqnum", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NEGOTIATIONID_FH_IDX], { "NegotiationID", "xti.negotiationid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NEGOTIATIONSTARTTIME_FH_IDX], { "NegotiationStartTime", "xti.negotiationstarttime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NETWORKMSGID_FH_IDX], { "NetworkMsgID", "xti.networkmsgid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOAFFECTEDORDERREQUESTS_FH_IDX], { "NoAffectedOrderRequests", "xti.noaffectedorderrequests", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOAFFECTEDORDERS_FH_IDX], { "NoAffectedOrders", "xti.noaffectedorders", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOENRICHMENTRULES_FH_IDX], { "NoEnrichmentRules", "xti.noenrichmentrules", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOEVENTS_FH_IDX], { "NoEvents", "xti.noevents", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOFILLS_FH_IDX], { "NoFills", "xti.nofills", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NONOTAFFECTEDORDERS_FH_IDX], { "NoNotAffectedOrders", "xti.nonotaffectedorders", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NONOTAFFECTEDSECURITIES_FH_IDX], { "NoNotAffectedSecurities", "xti.nonotaffectedsecurities", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOORDERBOOKITEMS_FH_IDX], { "NoOrderBookItems", "xti.noorderbookitems", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOORDEREVENTS_FH_IDX], { "NoOrderEvents", "xti.noorderevents", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOPARTYDETAILS_FH_IDX], { "NoPartyDetails", "xti.nopartydetails", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOQUOTEENTRIES_FH_IDX], { "NoQuoteEntries", "xti.noquoteentries", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOQUOTEEVENTS_FH_IDX], { "NoQuoteEvents", "xti.noquoteevents", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOQUOTESIDEENTRIES_FH_IDX], { "NoQuoteSideEntries", "xti.noquotesideentries", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOSESSIONS_FH_IDX], { "NoSessions", "xti.nosessions", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOSIDEALLOCS_FH_IDX], { "NoSideAllocs", "xti.nosideallocs", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOTARGETPARTYIDS_FH_IDX], { "NoTargetPartyIDs", "xti.notargetpartyids", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOTAFFORIGCLORDID_FH_IDX], { "NotAffOrigClOrdID", "xti.notafforigclordid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOTAFFECTEDORDERID_FH_IDX], { "NotAffectedOrderID", "xti.notaffectedorderid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOTAFFECTEDSECURITYID_FH_IDX], { "NotAffectedSecurityID", "xti.notaffectedsecurityid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NOTIFICATIONIN_FH_IDX], { "NotificationIn", "xti.notificationin", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NUMDAYSINTEREST_FH_IDX], { "NumDaysInterest", "xti.numdaysinterest", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[NUMBEROFRESPDISCLOSUREINSTRUCTION_FH_IDX], { "NumberOfRespDisclosureInstruction", "xti.numberofrespdisclosureinstruction", FT_UINT8, BASE_DEC, VALS(number_of_resp_disclosure_instruction_vals), 0x0, NULL, HFILL } } , { &hf_xti[NUMBEROFRESPONDENTS_FH_IDX], { "NumberOfRespondents", "xti.numberofrespondents", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[OFFERPX_FH_IDX], { "OfferPx", "xti.offerpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[OFFERSIZE_FH_IDX], { "OfferSize", "xti.offersize", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORDSTATUS_FH_IDX], { "OrdStatus", "xti.ordstatus", FT_CHAR, BASE_HEX| BASE_EXT_STRING, &ord_status_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[ORDTYPE_FH_IDX], { "OrdType", "xti.ordtype", FT_UINT8, BASE_DEC, VALS(ord_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[ORDERATTRIBUTELIQUIDITYPROVISION_FH_IDX], { "OrderAttributeLiquidityProvision", "xti.orderattributeliquidityprovision", FT_UINT8, BASE_DEC, VALS(order_attribute_liquidity_provision_vals), 0x0, NULL, HFILL } } , { &hf_xti[ORDERCATEGORY_FH_IDX], { "OrderCategory", "xti.ordercategory", FT_CHAR, BASE_HEX, VALS(order_category_vals), 0x0, NULL, HFILL } } , { &hf_xti[ORDEREVENTMATCHID_FH_IDX], { "OrderEventMatchID", "xti.ordereventmatchid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORDEREVENTPX_FH_IDX], { "OrderEventPx", "xti.ordereventpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORDEREVENTQTY_FH_IDX], { "OrderEventQty", "xti.ordereventqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORDEREVENTREASON_FH_IDX], { "OrderEventReason", "xti.ordereventreason", FT_UINT8, BASE_DEC, VALS(order_event_reason_vals), 0x0, NULL, HFILL } } , { &hf_xti[ORDEREVENTTYPE_FH_IDX], { "OrderEventType", "xti.ordereventtype", FT_UINT8, BASE_DEC, VALS(order_event_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[ORDERID_FH_IDX], { "OrderID", "xti.orderid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORDERIDSFX_FH_IDX], { "OrderIDSfx", "xti.orderidsfx", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORDERORIGINATION_FH_IDX], { "OrderOrigination", "xti.orderorigination", FT_UINT8, BASE_DEC, VALS(order_origination_vals), 0x0, NULL, HFILL } } , { &hf_xti[ORDERQTY_FH_IDX], { "OrderQty", "xti.orderqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORDERROUTINGINDICATOR_FH_IDX], { "OrderRoutingIndicator", "xti.orderroutingindicator", FT_CHAR, BASE_HEX, VALS(order_routing_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[ORIGCLORDID_FH_IDX], { "OrigClOrdID", "xti.origclordid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORIGTIME_FH_IDX], { "OrigTime", "xti.origtime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ORIGTRADEID_FH_IDX], { "OrigTradeID", "xti.origtradeid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[OWNERSHIPINDICATOR_FH_IDX], { "OwnershipIndicator", "xti.ownershipindicator", FT_UINT8, BASE_DEC, VALS(ownership_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[PACKAGEID_FH_IDX], { "PackageID", "xti.packageid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTITIONID_FH_IDX], { "PartitionID", "xti.partitionid", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYACTIONTYPE_FH_IDX], { "PartyActionType", "xti.partyactiontype", FT_UINT8, BASE_DEC, VALS(party_action_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[PARTYDETAILDESKID_FH_IDX], { "PartyDetailDeskID", "xti.partydetaildeskid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYDETAILEXECUTINGTRADER_FH_IDX], { "PartyDetailExecutingTrader", "xti.partydetailexecutingtrader", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYDETAILIDEXECUTINGTRADER_FH_IDX], { "PartyDetailIDExecutingTrader", "xti.partydetailidexecutingtrader", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYDETAILIDEXECUTINGUNIT_FH_IDX], { "PartyDetailIDExecutingUnit", "xti.partydetailidexecutingunit", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYDETAILROLEQUALIFIER_FH_IDX], { "PartyDetailRoleQualifier", "xti.partydetailrolequalifier", FT_UINT8, BASE_DEC, VALS(party_detail_role_qualifier_vals), 0x0, NULL, HFILL } } , { &hf_xti[PARTYDETAILSTATUS_FH_IDX], { "PartyDetailStatus", "xti.partydetailstatus", FT_UINT8, BASE_DEC, VALS(party_detail_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[PARTYENTERINGFIRM_FH_IDX], { "PartyEnteringFirm", "xti.partyenteringfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYENTERINGTRADER_FH_IDX], { "PartyEnteringTrader", "xti.partyenteringtrader", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYEXECUTINGFIRM_FH_IDX], { "PartyExecutingFirm", "xti.partyexecutingfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYEXECUTINGTRADER_FH_IDX], { "PartyExecutingTrader", "xti.partyexecutingtrader", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDCLIENTID_FH_IDX], { "PartyIDClientID", "xti.partyidclientid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDENTERINGFIRM_FH_IDX], { "PartyIDEnteringFirm", "xti.partyidenteringfirm", FT_UINT8, BASE_DEC, VALS(party_identering_firm_vals), 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDENTERINGTRADER_FH_IDX], { "PartyIDEnteringTrader", "xti.partyidenteringtrader", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDEXECUTINGTRADER_FH_IDX], { "PartyIDExecutingTrader", "xti.partyidexecutingtrader", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDEXECUTINGUNIT_FH_IDX], { "PartyIDExecutingUnit", "xti.partyidexecutingunit", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDSESSIONID_FH_IDX], { "PartyIDSessionID", "xti.partyidsessionid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDSPECIALISTTRADER_FH_IDX], { "PartyIDSpecialistTrader", "xti.partyidspecialisttrader", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDINVESTMENTDECISIONMAKER_FH_IDX], { "PartyIdInvestmentDecisionMaker", "xti.partyidinvestmentdecisionmaker", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX], { "PartyIdInvestmentDecisionMakerQualifier", "xti.partyidinvestmentdecisionmakerqualifier", FT_UINT8, BASE_DEC, VALS(executing_trader_qualifier_vals), 0x0, NULL, HFILL } } , { &hf_xti[PARTYSPECIALISTFIRM_FH_IDX], { "PartySpecialistFirm", "xti.partyspecialistfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PARTYSPECIALISTTRADER_FH_IDX], { "PartySpecialistTrader", "xti.partyspecialisttrader", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PASSWORD_FH_IDX], { "Password", "xti.password", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PEGOFFSETVALUEABS_FH_IDX], { "PegOffsetValueAbs", "xti.pegoffsetvalueabs", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PEGOFFSETVALUEPCT_FH_IDX], { "PegOffsetValuePct", "xti.pegoffsetvaluepct", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[POTENTIALEXECVOLUME_FH_IDX], { "PotentialExecVolume", "xti.potentialexecvolume", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PRICE_FH_IDX], { "Price", "xti.price", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[PRICEVALIDITYCHECKTYPE_FH_IDX], { "PriceValidityCheckType", "xti.pricevaliditychecktype", FT_UINT8, BASE_DEC, VALS(price_validity_check_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTECANCELTYPE_FH_IDX], { "QuoteCancelType", "xti.quotecanceltype", FT_UINT8, BASE_DEC, VALS(quote_cancel_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTEENTRYREJECTREASON_FH_IDX], { "QuoteEntryRejectReason", "xti.quoteentryrejectreason", FT_UINT32, BASE_DEC| BASE_EXT_STRING, &quote_entry_reject_reason_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEENTRYSTATUS_FH_IDX], { "QuoteEntryStatus", "xti.quoteentrystatus", FT_UINT8, BASE_DEC, VALS(quote_entry_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTEEVENTEXECID_FH_IDX], { "QuoteEventExecID", "xti.quoteeventexecid", FT_INT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEEVENTLIQUIDITYIND_FH_IDX], { "QuoteEventLiquidityInd", "xti.quoteeventliquidityind", FT_UINT8, BASE_DEC, VALS(quote_event_liquidity_ind_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTEEVENTMATCHID_FH_IDX], { "QuoteEventMatchID", "xti.quoteeventmatchid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEEVENTPX_FH_IDX], { "QuoteEventPx", "xti.quoteeventpx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEEVENTQTY_FH_IDX], { "QuoteEventQty", "xti.quoteeventqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEEVENTREASON_FH_IDX], { "QuoteEventReason", "xti.quoteeventreason", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &quote_event_reason_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEEVENTSIDE_FH_IDX], { "QuoteEventSide", "xti.quoteeventside", FT_UINT8, BASE_DEC, VALS(quote_event_side_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTEEVENTTYPE_FH_IDX], { "QuoteEventType", "xti.quoteeventtype", FT_UINT8, BASE_DEC, VALS(quote_event_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTEID_FH_IDX], { "QuoteID", "xti.quoteid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEMSGID_FH_IDX], { "QuoteMsgID", "xti.quotemsgid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEREQID_FH_IDX], { "QuoteReqID", "xti.quotereqid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[QUOTEREQUESTREJECTREASON_FH_IDX], { "QuoteRequestRejectReason", "xti.quoterequestrejectreason", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &quote_request_reject_reason_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[QUOTERESPONSEID_FH_IDX], { "QuoteResponseID", "xti.quoteresponseid", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[QUOTESIZETYPE_FH_IDX], { "QuoteSizeType", "xti.quotesizetype", FT_UINT8, BASE_DEC, VALS(quote_size_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTESTATUS_FH_IDX], { "QuoteStatus", "xti.quotestatus", FT_UINT8, BASE_DEC, VALS(quote_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTETYPE_FH_IDX], { "QuoteType", "xti.quotetype", FT_UINT8, BASE_DEC, VALS(quote_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[QUOTINGSTATUS_FH_IDX], { "QuotingStatus", "xti.quotingstatus", FT_UINT8, BASE_DEC, VALS(quoting_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[RFQPUBLISHINDICATOR_FH_IDX], { "RFQPublishIndicator", "xti.rfqpublishindicator", FT_UINT8, BASE_DEC, VALS(rfqpublish_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[RFQREQUESTERDISCLOSUREINSTRUCTION_FH_IDX], { "RFQRequesterDisclosureInstruction", "xti.rfqrequesterdisclosureinstruction", FT_UINT8, BASE_DEC, VALS(number_of_resp_disclosure_instruction_vals), 0x0, NULL, HFILL } } , { &hf_xti[REFAPPLID_FH_IDX], { "RefApplID", "xti.refapplid", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &appl_id_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[REFAPPLLASTMSGID_FH_IDX], { "RefApplLastMsgID", "xti.refappllastmsgid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[REFAPPLLASTSEQNUM_FH_IDX], { "RefApplLastSeqNum", "xti.refappllastseqnum", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[REFAPPLSUBID_FH_IDX], { "RefApplSubID", "xti.refapplsubid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[REFINANCINGELIGIBILITYINDICATOR_FH_IDX], { "RefinancingEligibilityIndicator", "xti.refinancingeligibilityindicator", FT_UINT8, BASE_DEC, VALS(number_of_resp_disclosure_instruction_vals), 0x0, NULL, HFILL } } , { &hf_xti[REGULATORYTRADEID_FH_IDX], { "RegulatoryTradeID", "xti.regulatorytradeid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[REQUESTTIME_FH_IDX], { "RequestTime", "xti.requesttime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[REQUESTINGPARTYCLEARINGFIRM_FH_IDX], { "RequestingPartyClearingFirm", "xti.requestingpartyclearingfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[REQUESTINGPARTYENTERINGFIRM_FH_IDX], { "RequestingPartyEnteringFirm", "xti.requestingpartyenteringfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[REQUESTINGPARTYIDENTERINGFIRM_FH_IDX], { "RequestingPartyIDEnteringFirm", "xti.requestingpartyidenteringfirm", FT_UINT8, BASE_DEC, VALS(party_identering_firm_vals), 0x0, NULL, HFILL } } , { &hf_xti[REQUESTINGPARTYIDEXECUTINGSYSTEM_FH_IDX], { "RequestingPartyIDExecutingSystem", "xti.requestingpartyidexecutingsystem", FT_UINT32, BASE_DEC, VALS(requesting_party_idexecuting_system_vals), 0x0, NULL, HFILL } } , { &hf_xti[REQUESTINGPARTYIDEXECUTINGTRADER_FH_IDX], { "RequestingPartyIDExecutingTrader", "xti.requestingpartyidexecutingtrader", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[RESPONDENTTYPE_FH_IDX], { "RespondentType", "xti.respondenttype", FT_UINT8, BASE_DEC, VALS(respondent_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[RESPONSEIN_FH_IDX], { "ResponseIn", "xti.responsein", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYCLEARINGFIRM_FH_IDX], { "RootPartyClearingFirm", "xti.rootpartyclearingfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYCONTRAFIRM_FH_IDX], { "RootPartyContraFirm", "xti.rootpartycontrafirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYCONTRAFIRMKVNUMBER_FH_IDX], { "RootPartyContraFirmKVNumber", "xti.rootpartycontrafirmkvnumber", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYCONTRASETTLEMENTACCOUNT_FH_IDX], { "RootPartyContraSettlementAccount", "xti.rootpartycontrasettlementaccount", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYCONTRASETTLEMENTFIRM_FH_IDX], { "RootPartyContraSettlementFirm", "xti.rootpartycontrasettlementfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYCONTRASETTLEMENTLOCATION_FH_IDX], { "RootPartyContraSettlementLocation", "xti.rootpartycontrasettlementlocation", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYENTERINGTRADER_FH_IDX], { "RootPartyEnteringTrader", "xti.rootpartyenteringtrader", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYEXECUTINGFIRM_FH_IDX], { "RootPartyExecutingFirm", "xti.rootpartyexecutingfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYEXECUTINGFIRMKVNUMBER_FH_IDX], { "RootPartyExecutingFirmKVNumber", "xti.rootpartyexecutingfirmkvnumber", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYEXECUTINGTRADER_FH_IDX], { "RootPartyExecutingTrader", "xti.rootpartyexecutingtrader", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDCLEARINGUNIT_FH_IDX], { "RootPartyIDClearingUnit", "xti.rootpartyidclearingunit", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDCLIENTID_FH_IDX], { "RootPartyIDClientID", "xti.rootpartyidclientid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDCONTRASETTLEMENTUNIT_FH_IDX], { "RootPartyIDContraSettlementUnit", "xti.rootpartyidcontrasettlementunit", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDCONTRAUNIT_FH_IDX], { "RootPartyIDContraUnit", "xti.rootpartyidcontraunit", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDEXECUTINGTRADER_FH_IDX], { "RootPartyIDExecutingTrader", "xti.rootpartyidexecutingtrader", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDEXECUTINGUNIT_FH_IDX], { "RootPartyIDExecutingUnit", "xti.rootpartyidexecutingunit", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDEXECUTIONVENUE_FH_IDX], { "RootPartyIDExecutionVenue", "xti.rootpartyidexecutionvenue", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDINVESTMENTDECISIONMAKER_FH_IDX], { "RootPartyIDInvestmentDecisionMaker", "xti.rootpartyidinvestmentdecisionmaker", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDINVESTMENTDECISIONMAKERQUALIFIER_FH_IDX], { "RootPartyIDInvestmentDecisionMakerQualifier", "xti.rootpartyidinvestmentdecisionmakerqualifier", FT_UINT8, BASE_DEC, VALS(executing_trader_qualifier_vals), 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDSESSIONID_FH_IDX], { "RootPartyIDSessionID", "xti.rootpartyidsessionid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYIDSETTLEMENTUNIT_FH_IDX], { "RootPartyIDSettlementUnit", "xti.rootpartyidsettlementunit", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYSETTLEMENTACCOUNT_FH_IDX], { "RootPartySettlementAccount", "xti.rootpartysettlementaccount", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYSETTLEMENTFIRM_FH_IDX], { "RootPartySettlementFirm", "xti.rootpartysettlementfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[ROOTPARTYSETTLEMENTLOCATION_FH_IDX], { "RootPartySettlementLocation", "xti.rootpartysettlementlocation", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SRQSRELATEDTRADEID_FH_IDX], { "SRQSRelatedTradeID", "xti.srqsrelatedtradeid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SECONDARYQUOTEID_FH_IDX], { "SecondaryQuoteID", "xti.secondaryquoteid", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SECONDARYTRADEID_FH_IDX], { "SecondaryTradeID", "xti.secondarytradeid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SECURITYID_FH_IDX], { "SecurityID", "xti.securityid", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SECURITYSTATUS_FH_IDX], { "SecurityStatus", "xti.securitystatus", FT_UINT8, BASE_DEC, VALS(security_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[SECURITYSTATUSREPORTID_FH_IDX], { "SecurityStatusReportID", "xti.securitystatusreportid", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SECURITYTRADINGSTATUS_FH_IDX], { "SecurityTradingStatus", "xti.securitytradingstatus", FT_UINT8, BASE_DEC, VALS(security_trading_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[SELECTIVEREQUESTFORQUOTERTMSERVICESTATUS_FH_IDX], { "SelectiveRequestForQuoteRtmServiceStatus", "xti.selectiverequestforquotertmservicestatus", FT_UINT8, BASE_DEC, VALS(appl_seq_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[SELECTIVEREQUESTFORQUOTESERVICESTATUS_FH_IDX], { "SelectiveRequestForQuoteServiceStatus", "xti.selectiverequestforquoteservicestatus", FT_UINT8, BASE_DEC, VALS(appl_seq_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[SELECTIVEREQUESTFORQUOTESERVICETRADEDATE_FH_IDX], { "SelectiveRequestForQuoteServiceTradeDate", "xti.selectiverequestforquoteservicetradedate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SENDERSUBID_FH_IDX], { "SenderSubID", "xti.sendersubid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SENDINGTIME_FH_IDX], { "SendingTime", "xti.sendingtime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SESSIONINSTANCEID_FH_IDX], { "SessionInstanceID", "xti.sessioninstanceid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SESSIONMODE_FH_IDX], { "SessionMode", "xti.sessionmode", FT_UINT8, BASE_DEC, VALS(session_mode_vals), 0x0, NULL, HFILL } } , { &hf_xti[SESSIONREJECTREASON_FH_IDX], { "SessionRejectReason", "xti.sessionrejectreason", FT_UINT32, BASE_DEC| BASE_EXT_STRING, &session_reject_reason_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[SESSIONSTATUS_FH_IDX], { "SessionStatus", "xti.sessionstatus", FT_UINT8, BASE_DEC, VALS(session_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[SESSIONSUBMODE_FH_IDX], { "SessionSubMode", "xti.sessionsubmode", FT_UINT8, BASE_DEC, VALS(session_sub_mode_vals), 0x0, NULL, HFILL } } , { &hf_xti[SETTLCURRAMT_FH_IDX], { "SettlCurrAmt", "xti.settlcurramt", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SETTLCURRFXRATE_FH_IDX], { "SettlCurrFxRate", "xti.settlcurrfxrate", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SETTLCURRENCY_FH_IDX], { "SettlCurrency", "xti.settlcurrency", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SETTLDATE_FH_IDX], { "SettlDate", "xti.settldate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SIDE_FH_IDX], { "Side", "xti.side", FT_UINT8, BASE_DEC, VALS(quote_event_side_vals), 0x0, NULL, HFILL } } , { &hf_xti[SIDEGROSSTRADEAMT_FH_IDX], { "SideGrossTradeAmt", "xti.sidegrosstradeamt", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SIDELASTQTY_FH_IDX], { "SideLastQty", "xti.sidelastqty", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SIDELIQUIDITYIND_FH_IDX], { "SideLiquidityInd", "xti.sideliquidityind", FT_UINT8, BASE_DEC, VALS(quote_event_liquidity_ind_vals), 0x0, NULL, HFILL } } , { &hf_xti[SIDETRADEID_FH_IDX], { "SideTradeID", "xti.sidetradeid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SIDETRADEREPORTID_FH_IDX], { "SideTradeReportID", "xti.sidetradereportid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[SOLDOUTINDICATOR_FH_IDX], { "SoldOutIndicator", "xti.soldoutindicator", FT_UINT8, BASE_DEC, VALS(sold_out_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[STOPPX_FH_IDX], { "StopPx", "xti.stoppx", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[STOPPXINDICATOR_FH_IDX], { "StopPxIndicator", "xti.stoppxindicator", FT_UINT8, BASE_DEC, VALS(stop_px_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[SUBSCRIPTIONSCOPE_FH_IDX], { "SubscriptionScope", "xti.subscriptionscope", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[T7ENTRYSERVICERTMSTATUS_FH_IDX], { "T7EntryServiceRtmStatus", "xti.t7entryservicertmstatus", FT_UINT8, BASE_DEC, VALS(appl_seq_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[T7ENTRYSERVICERTMTRADEDATE_FH_IDX], { "T7EntryServiceRtmTradeDate", "xti.t7entryservicertmtradedate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[T7ENTRYSERVICESTATUS_FH_IDX], { "T7EntryServiceStatus", "xti.t7entryservicestatus", FT_UINT8, BASE_DEC, VALS(appl_seq_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[T7ENTRYSERVICETRADEDATE_FH_IDX], { "T7EntryServiceTradeDate", "xti.t7entryservicetradedate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TESENRICHMENTRULEID_FH_IDX], { "TESEnrichmentRuleID", "xti.tesenrichmentruleid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TESEXECID_FH_IDX], { "TESExecID", "xti.tesexecid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TARGETPARTYENTERINGTRADER_FH_IDX], { "TargetPartyEnteringTrader", "xti.targetpartyenteringtrader", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TARGETPARTYEXECUTINGFIRM_FH_IDX], { "TargetPartyExecutingFirm", "xti.targetpartyexecutingfirm", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TARGETPARTYEXECUTINGTRADER_FH_IDX], { "TargetPartyExecutingTrader", "xti.targetpartyexecutingtrader", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TARGETPARTYIDDESKID_FH_IDX], { "TargetPartyIDDeskID", "xti.targetpartyiddeskid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TARGETPARTYIDEXECUTINGTRADER_FH_IDX], { "TargetPartyIDExecutingTrader", "xti.targetpartyidexecutingtrader", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TARGETPARTYIDSESSIONID_FH_IDX], { "TargetPartyIDSessionID", "xti.targetpartyidsessionid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TEMPLATEID_FH_IDX], { "TemplateID", "xti.templateid", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[THROTTLEDISCONNECTLIMIT_FH_IDX], { "ThrottleDisconnectLimit", "xti.throttledisconnectlimit", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[THROTTLENOMSGS_FH_IDX], { "ThrottleNoMsgs", "xti.throttlenomsgs", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[THROTTLETIMEINTERVAL_FH_IDX], { "ThrottleTimeInterval", "xti.throttletimeinterval", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TIMEINFORCE_FH_IDX], { "TimeInForce", "xti.timeinforce", FT_UINT8, BASE_DEC, VALS(time_in_force_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRADSESEVENT_FH_IDX], { "TradSesEvent", "xti.tradsesevent", FT_UINT8, BASE_DEC, VALS(trad_ses_event_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRADSESMODE_FH_IDX], { "TradSesMode", "xti.tradsesmode", FT_UINT8, BASE_DEC, VALS(trad_ses_mode_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRADEALLOCSTATUS_FH_IDX], { "TradeAllocStatus", "xti.tradeallocstatus", FT_UINT8, BASE_DEC, VALS(trade_alloc_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRADEATCLOSEOPTIN_FH_IDX], { "TradeAtCloseOptIn", "xti.tradeatcloseoptin", FT_UINT8, BASE_DEC, VALS(number_of_resp_disclosure_instruction_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRADEDATE_FH_IDX], { "TradeDate", "xti.tradedate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRADEID_FH_IDX], { "TradeID", "xti.tradeid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRADEMANAGERSTATUS_FH_IDX], { "TradeManagerStatus", "xti.trademanagerstatus", FT_UINT8, BASE_DEC, VALS(appl_seq_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRADEMANAGERTRADEDATE_FH_IDX], { "TradeManagerTradeDate", "xti.trademanagertradedate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRADENUMBER_FH_IDX], { "TradeNumber", "xti.tradenumber", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRADEPUBLISHINDICATOR_FH_IDX], { "TradePublishIndicator", "xti.tradepublishindicator", FT_UINT8, BASE_DEC, VALS(trade_publish_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRADEREPORTID_FH_IDX], { "TradeReportID", "xti.tradereportid", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRADEREPORTTEXT_FH_IDX], { "TradeReportText", "xti.tradereporttext", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRADEREPORTTYPE_FH_IDX], { "TradeReportType", "xti.tradereporttype", FT_UINT8, BASE_DEC| BASE_EXT_STRING, &trade_report_type_vals_ext, 0x0, NULL, HFILL } } , { &hf_xti[TRADINGCAPACITY_FH_IDX], { "TradingCapacity", "xti.tradingcapacity", FT_UINT8, BASE_DEC, VALS(trading_capacity_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRADINGSESSIONSUBID_FH_IDX], { "TradingSessionSubID", "xti.tradingsessionsubid", FT_UINT8, BASE_DEC, VALS(trading_session_sub_id_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRANSBKDTIME_FH_IDX], { "TransBkdTime", "xti.transbkdtime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRANSACTTIME_FH_IDX], { "TransactTime", "xti.transacttime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRANSACTIONDELAYINDICATOR_FH_IDX], { "TransactionDelayIndicator", "xti.transactiondelayindicator", FT_UINT8, BASE_DEC, VALS(transaction_delay_indicator_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRANSFERREASON_FH_IDX], { "TransferReason", "xti.transferreason", FT_UINT8, BASE_DEC, VALS(transfer_reason_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRDMATCHID_FH_IDX], { "TrdMatchID", "xti.trdmatchid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRDREGTSENTRYTIME_FH_IDX], { "TrdRegTSEntryTime", "xti.trdregtsentrytime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRDREGTSEXECUTIONTIME_FH_IDX], { "TrdRegTSExecutionTime", "xti.trdregtsexecutiontime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRDREGTSTIMEIN_FH_IDX], { "TrdRegTSTimeIn", "xti.trdregtstimein", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRDREGTSTIMEOUT_FH_IDX], { "TrdRegTSTimeOut", "xti.trdregtstimeout", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRDREGTSTIMEPRIORITY_FH_IDX], { "TrdRegTSTimePriority", "xti.trdregtstimepriority", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[TRDRPTSTATUS_FH_IDX], { "TrdRptStatus", "xti.trdrptstatus", FT_UINT8, BASE_DEC, VALS(trd_rpt_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRDTYPE_FH_IDX], { "TrdType", "xti.trdtype", FT_UINT16, BASE_DEC, VALS(trd_type_vals), 0x0, NULL, HFILL } } , { &hf_xti[TRIGGERED_FH_IDX], { "Triggered", "xti.triggered", FT_UINT8, BASE_DEC, VALS(triggered_vals), 0x0, NULL, HFILL } } , { &hf_xti[USERSTATUS_FH_IDX], { "UserStatus", "xti.userstatus", FT_UINT8, BASE_DEC, VALS(user_status_vals), 0x0, NULL, HFILL } } , { &hf_xti[USERNAME_FH_IDX], { "Username", "xti.username", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[VALIDUNTILTIME_FH_IDX], { "ValidUntilTime", "xti.validuntiltime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[VALUECHECKTYPEQUANTITY_FH_IDX], { "ValueCheckTypeQuantity", "xti.valuechecktypequantity", FT_UINT8, BASE_DEC, VALS(value_check_type_quantity_vals), 0x0, NULL, HFILL } } , { &hf_xti[VALUECHECKTYPEVALUE_FH_IDX], { "ValueCheckTypeValue", "xti.valuechecktypevalue", FT_UINT8, BASE_DEC, VALS(value_check_type_quantity_vals), 0x0, NULL, HFILL } } , { &hf_xti[VARTEXT_FH_IDX], { "VarText", "xti.vartext", FT_STRINGZTRUNC, BASE_NONE, NULL, 0x0, NULL, HFILL } } , { &hf_xti[VARTEXTLEN_FH_IDX], { "VarTextLen", "xti.vartextlen", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti[VOLUMEDISCOVERYPRICE_FH_IDX], { "VolumeDiscoveryPrice", "xti.volumediscoveryprice", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL } } , { &hf_xti_dscp_exec_summary, { "DSCP_ExecSummary", "xti.dscp_execsummary", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL } } , { &hf_xti_dscp_improved, { "DSCP_Improved", "xti.dscp_improved", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL } } , { &hf_xti_dscp_widened, { "DSCP_Widened", "xti.dscp_widened", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL } } }; static ei_register_info ei[] = { { &ei_xti_counter_overflow, { "xti.counter_overflow", PI_PROTOCOL, PI_WARN, "Counter Overflow", EXPFILL } }, { &ei_xti_invalid_template, { "xti.invalid_template", PI_PROTOCOL, PI_ERROR, "Invalid Template ID", EXPFILL } }, { &ei_xti_invalid_length, { "xti.invalid_length", PI_PROTOCOL, PI_ERROR, "Invalid Body Length", EXPFILL } }, { &ei_xti_unaligned, { "xti.unaligned", PI_PROTOCOL, PI_ERROR, "A Body Length not divisible by 8 leads to unaligned followup messages", EXPFILL } }, { &ei_xti_missing, { "xti.missing", PI_PROTOCOL, PI_WARN, "A required value is missing", EXPFILL } }, { &ei_xti_overused, { "xti.overused", PI_PROTOCOL, PI_WARN, "An unused value is set", EXPFILL } } }; proto_xti = proto_register_protocol("Enhanced Cash Trading Interface 10.0", "XTI", "xti"); expert_module_t *expert_xti = expert_register_protocol(proto_xti); expert_register_field_array(expert_xti, ei, array_length(ei)); proto_register_field_array(proto_xti, hf, array_length(hf)); static gint * const ett[] = { &ett_xti[0], &ett_xti[1], &ett_xti[2], &ett_xti[3], &ett_xti[4], &ett_xti[5], &ett_xti[6], &ett_xti[7], &ett_xti[8], &ett_xti[9], &ett_xti[10], &ett_xti[11], &ett_xti[12], &ett_xti[13], &ett_xti[14], &ett_xti[15], &ett_xti[16], &ett_xti[17], &ett_xti[18], &ett_xti[19], &ett_xti[20], &ett_xti[21], &ett_xti[22], &ett_xti[23], &ett_xti[24], &ett_xti[25], &ett_xti[26], &ett_xti[27], &ett_xti[28], &ett_xti[29], &ett_xti[30], &ett_xti[31], &ett_xti_dscp }; proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_xti(void) { dissector_handle_t xti_handle = create_dissector_handle(dissect_xti, proto_xti); // cf. N7 Network Access Guide, e.g. // https://www.xetra.com/xetra-en/technology/t7/system-documentation/release10-0/Release-10.0-2692700?frag=2692724 // https://www.xetra.com/resource/blob/2762078/388b727972b5122945eedf0e63c36920/data/N7-Network-Access-Guide-v2.0.59.pdf // NB: unfortunately, Cash-ETI shares the same ports as Derivatives-ETI ... // We thus can't really add a well-know port for XTI. // Use Wireshark's `Decode As...` or tshark's `-d tcp.port=19043,xti` feature // to switch from ETI to XTI dissection. dissector_add_uint_with_preference("tcp.port", 19042 /* dummy */, xti_handle); }
C
wireshark/epan/dissectors/packet-xtp.c
/* packet-xtp.c * Routines for Xpress Transport Protocol dissection * Copyright 2008, Shigeo Nakamura <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later * * Ref: http://www.packeteer.com/resources/prod-sol/XTP.pdf */ #include "config.h" #include <epan/packet.h> #include <epan/exceptions.h> #include <epan/expert.h> #include <epan/ipproto.h> #include <epan/in_cksum.h> #define XTP_VERSION_4 0x001 /* XTP type of Service */ #define XTP_TOS_UNSPEC 0 #define XTP_TOS_UNACKED_DGRAM 1 #define XTP_TOS_ACKED_DGRAM 2 #define XTP_TOS_TRANS 3 #define XTP_TOS_UNICAST_STREAM 4 #define XTP_TOS_UNACKED_MULTICAST_STREAM 5 #define XTP_TOS_MULTICAST_STREAM 6 /* Address Format */ #define XTP_ADDR_NULL 0 #define XTP_ADDR_IP 1 #define XTP_ADDR_ISO 2 #define XTP_ADDR_XEROX 3 #define XTP_ADDR_IPX 4 #define XTP_ADDR_LOCAL 5 #define XTP_ADDR_IP6 6 /* packet type */ #define XTP_DATA_PKT 0 #define XTP_CNTL_PKT 1 #define XTP_FIRST_PKT 2 #define XTP_ECNTL_PKT 3 #define XTP_TCNTL_PKT 5 #define XTP_JOIN_PKT 6 #define XTP_JCNTL_PKT 7 #define XTP_DIAG_PKT 8 /* cmd options mask */ #define XTP_CMD_OPTIONS_NOCHECK 0x400000 #define XTP_CMD_OPTIONS_EDGE 0x200000 #define XTP_CMD_OPTIONS_NOERR 0x100000 #define XTP_CMD_OPTIONS_MULTI 0x080000 #define XTP_CMD_OPTIONS_RES 0x040000 #define XTP_CMD_OPTIONS_SORT 0x020000 #define XTP_CMD_OPTIONS_NOFLOW 0x010000 #define XTP_CMD_OPTIONS_FASTNAK 0x008000 #define XTP_CMD_OPTIONS_SREQ 0x004000 #define XTP_CMD_OPTIONS_DREQ 0x002000 #define XTP_CMD_OPTIONS_RCLOSE 0x001000 #define XTP_CMD_OPTIONS_WCLOSE 0x000800 #define XTP_CMD_OPTIONS_EOM 0x000400 #define XTP_CMD_OPTIONS_END 0x000200 #define XTP_CMD_OPTIONS_BTAG 0x000100 #define XTP_KEY_RTN ((guint64)1<<63) void proto_register_xtp(void); void proto_reg_handoff_xtp(void); /** packet structures definition **/ struct xtp_cntl { guint64 rseq; guint64 alloc; guint32 echo; }; #define XTP_CNTL_PKT_LEN 20 struct xtp_ecntl { guint64 rseq; guint64 alloc; guint32 echo; guint32 nspan; }; #define MIN_XTP_ECNTL_PKT_LEN 24 struct xtp_traffic_cntl { guint64 rseq; guint64 alloc; guint32 echo; guint32 rsvd; guint64 xkey; }; #define XTP_TRAFFIC_CNTL_LEN 32 /* tformat = 0x00 */ struct xtp_traffic_spec0 { guint16 tlen; guint8 service; guint8 tformat; guint32 none; }; #define XTP_TRAFFIC_SPEC0_LEN 8 /* tformat = 0x01 */ struct xtp_traffic_spec1 { guint16 tlen; guint8 service; guint8 tformat; guint32 maxdata; guint32 inrate; guint32 inburst; guint32 outrate; guint32 outburst; }; #define XTP_TRAFFIC_SPEC1_LEN 24 struct xtp_ip_addr_seg { guint16 alen; guint8 adomain; guint8 aformat; guint32 dsthost; guint32 srchost; guint16 dstport; guint16 srcport; }; #define XTP_IP_ADDR_SEG_LEN 16 #define XTP_NULL_ADDR_SEG_LEN 8 struct xtp_diag { guint32 code; guint32 val; gchar *msg; }; #define XTP_DIAG_PKT_HEADER_LEN 8 struct xtphdr { guint64 key; guint32 cmd; guint32 cmd_options; /* 24 bits */ guint8 cmd_ptype; guint8 cmd_ptype_ver; /* 3 bits */ guint8 cmd_ptype_pformat; /* 5 bits */ guint32 dlen; guint16 check; guint16 sort; guint32 sync; guint64 seq; }; #define XTP_HEADER_LEN 32 static const value_string version_vals[] = { { XTP_VERSION_4, "XTP version 4.0" }, { 0, NULL } }; static const value_string service_vals[] = { { XTP_TOS_UNSPEC, "Unspecified" }, { XTP_TOS_UNACKED_DGRAM, "Traditional Unacknowledged Datagram Service" }, { XTP_TOS_ACKED_DGRAM, "Acknowledged Datagram Service" }, { XTP_TOS_TRANS, "Transaction Service" }, { XTP_TOS_UNICAST_STREAM, "Traditional Reliable Unicast Stream Service" }, { XTP_TOS_UNACKED_MULTICAST_STREAM, "Unacknowledged Multicast Stream Service" }, { XTP_TOS_MULTICAST_STREAM, "Reliable Multicast Stream Service" }, { 0, NULL } }; static const value_string aformat_vals[] = { { XTP_ADDR_NULL, "Null Address" }, { XTP_ADDR_IP, "Internet Protocol Address" }, { XTP_ADDR_ISO, "ISO Connectionless Network Layer Protocol Address" }, { XTP_ADDR_XEROX, "Xerox Network System Address" }, { XTP_ADDR_IPX, "IPX Address" }, { XTP_ADDR_LOCAL, "Local Address" }, { XTP_ADDR_IP6, "Internet Protocol Version 6 Address" }, { 0, NULL } }; static const value_string pformat_vals[] = { { XTP_DATA_PKT, "DATA" }, { XTP_CNTL_PKT, "CNTL" }, { XTP_FIRST_PKT, "FIRST" }, { XTP_ECNTL_PKT, "ECNTL" }, { XTP_TCNTL_PKT, "TCNTL" }, { XTP_JOIN_PKT, "JOIN<obsolete>" }, { XTP_JCNTL_PKT, "JCNTL" }, { XTP_DIAG_PKT, "DIAG" }, { 0, NULL } }; static const value_string diag_code_vals[] = { { 1, "Context Refused" }, { 2, "Context Abandoned" }, { 3, "Invalid Context" }, { 4, "Request Refused" }, { 5, "Join Refused" }, { 6, "Protocol Error" }, { 7, "Maximum Packet Size Error" }, { 0, NULL } }; static const value_string diag_val_vals[] = { { 0, "Unspecified" }, { 1, "No listener" }, { 2, "Options refused" }, { 3, "Address format not supported" }, { 4, "Malformed address format" }, { 5, "Traffic format not supported" }, { 6, "Traffic specification refused" }, { 7, "Malformed traffic format" }, { 8, "No provider for service" }, { 9, "No resource" }, { 10, "Host going down" }, { 11, "Invalid retransmission request" }, { 12, "Context in improper state" }, { 13, "Join request denied" }, { 0, NULL } }; /* Initialize the protocol and registered fields */ static int proto_xtp = -1; /* common header */ static int hf_xtp_key = -1; static int hf_xtp_cmd = -1; static int hf_xtp_cmd_options = -1; static int hf_xtp_cmd_options_nocheck = -1; static int hf_xtp_cmd_options_edge = -1; static int hf_xtp_cmd_options_noerr = -1; static int hf_xtp_cmd_options_multi = -1; static int hf_xtp_cmd_options_res = -1; static int hf_xtp_cmd_options_sort = -1; static int hf_xtp_cmd_options_noflow = -1; static int hf_xtp_cmd_options_fastnak = -1; static int hf_xtp_cmd_options_sreq = -1; static int hf_xtp_cmd_options_dreq = -1; static int hf_xtp_cmd_options_rclose = -1; static int hf_xtp_cmd_options_wclose = -1; static int hf_xtp_cmd_options_eom = -1; static int hf_xtp_cmd_options_end = -1; static int hf_xtp_cmd_options_btag = -1; static int hf_xtp_cmd_ptype = -1; static int hf_xtp_cmd_ptype_ver = -1; static int hf_xtp_cmd_ptype_pformat = -1; static int hf_xtp_dlen = -1; static int hf_xtp_sort = -1; static int hf_xtp_sync = -1; static int hf_xtp_seq = -1; /* control segment */ static int hf_xtp_cntl_rseq = -1; static int hf_xtp_cntl_alloc = -1; static int hf_xtp_cntl_echo = -1; static int hf_xtp_ecntl_rseq = -1; static int hf_xtp_ecntl_alloc = -1; static int hf_xtp_ecntl_echo = -1; static int hf_xtp_ecntl_nspan = -1; static int hf_xtp_ecntl_span_left = -1; static int hf_xtp_ecntl_span_right = -1; static int hf_xtp_tcntl_rseq = -1; static int hf_xtp_tcntl_alloc = -1; static int hf_xtp_tcntl_echo = -1; static int hf_xtp_tcntl_rsvd = -1; static int hf_xtp_tcntl_xkey = -1; /* traffic specifier */ static int hf_xtp_tspec_tlen = -1; static int hf_xtp_tspec_service = -1; static int hf_xtp_tspec_tformat = -1; static int hf_xtp_tspec_traffic = -1; static int hf_xtp_tspec_maxdata = -1; static int hf_xtp_tspec_inrate = -1; static int hf_xtp_tspec_outrate = -1; static int hf_xtp_tspec_inburst = -1; static int hf_xtp_tspec_outburst = -1; /* address segment */ static int hf_xtp_aseg_alen = -1; static int hf_xtp_aseg_adomain = -1; static int hf_xtp_aseg_aformat = -1; static int hf_xtp_aseg_address = -1; static int hf_xtp_aseg_dsthost = -1; static int hf_xtp_aseg_srchost = -1; static int hf_xtp_aseg_dstport = -1; static int hf_xtp_aseg_srcport = -1; /* others */ static int hf_xtp_btag = -1; static int hf_xtp_diag_code = -1; static int hf_xtp_diag_val = -1; static int hf_xtp_diag_msg = -1; static int hf_xtp_checksum = -1; static int hf_xtp_checksum_status = -1; static int hf_xtp_data = -1; /* Initialize the subtree pointers */ static gint ett_xtp = -1; static gint ett_xtp_cmd = -1; static gint ett_xtp_cmd_options = -1; static gint ett_xtp_cmd_ptype = -1; static gint ett_xtp_cntl = -1; static gint ett_xtp_ecntl = -1; static gint ett_xtp_tcntl = -1; static gint ett_xtp_tspec = -1; static gint ett_xtp_jcntl = -1; static gint ett_xtp_first = -1; static gint ett_xtp_aseg = -1; static gint ett_xtp_data = -1; static gint ett_xtp_diag = -1; static expert_field ei_xtp_spans_bad = EI_INIT; static expert_field ei_xtp_checksum = EI_INIT; /* dissector of each payload */ static int dissect_xtp_aseg(tvbuff_t *tvb, proto_tree *tree, guint32 offset) { guint32 len = tvb_reported_length_remaining(tvb, offset); guint32 start = offset; proto_item *ti, *ti2, *top_ti; proto_tree *xtp_subtree; struct xtp_ip_addr_seg aseg[1]; int error = 0; xtp_subtree = proto_tree_add_subtree(tree, tvb, offset, len, ett_xtp_aseg, &top_ti, "Address Segment"); if (len < XTP_NULL_ADDR_SEG_LEN) { proto_item_append_text(top_ti, ", bogus length(%u, must be at least %u)", len, XTP_NULL_ADDR_SEG_LEN); return 0; } /** parse common fields **/ /* alen(2) */ aseg->alen = tvb_get_ntohs(tvb, offset); offset += 2; /* adomain(1) */ aseg->adomain = tvb_get_guint8(tvb, offset); offset++; /* aformat(1) */ aseg->aformat = tvb_get_guint8(tvb, offset); /** display common fields **/ offset = start; /* alen(2) */ ti = proto_tree_add_uint(xtp_subtree, hf_xtp_aseg_alen, tvb, offset, 2, aseg->alen); offset += 2; if (aseg->alen > len) { proto_item_append_text(ti, ", bogus length(%u, must be at most %u)", aseg->alen, len); error = 1; } /* adomain(1) */ proto_tree_add_uint(xtp_subtree, hf_xtp_aseg_adomain, tvb, offset, 1, aseg->adomain); offset++; /* aformat(1) */ ti2 = proto_tree_add_uint(xtp_subtree, hf_xtp_aseg_aformat, tvb, offset, 1, aseg->aformat); offset++; switch (aseg->aformat) { case 0: if (aseg->alen != XTP_NULL_ADDR_SEG_LEN) { proto_item_append_text(ti, ", bogus length(%u, must be %u)", aseg->alen, XTP_NULL_ADDR_SEG_LEN); error = 1; } break; case 1: if (aseg->alen != XTP_IP_ADDR_SEG_LEN) { proto_item_append_text(ti, ", bogus length(%u, must be %u)", aseg->alen, XTP_IP_ADDR_SEG_LEN); error = 1; } break; default: if (aseg->aformat < 128) { proto_item_append_text(ti2, ", Unsupported aformat(%u)", aseg->aformat); error = 1; } break; } if (error) return (offset - start); /** parse and display each address fileds */ switch (aseg->aformat) { case 0: /* address(4) */ aseg->dsthost = tvb_get_ntohl(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_aseg_address, tvb, offset, 4, aseg->dsthost); offset += 4; break; case 1: /* dsthost(4) */ aseg->dsthost = tvb_get_ipv4(tvb, offset); proto_tree_add_ipv4(xtp_subtree, hf_xtp_aseg_dsthost, tvb, offset, 4, aseg->dsthost); offset += 4; /* srchost(4) */ aseg->srchost = tvb_get_ipv4(tvb, offset); proto_tree_add_ipv4(xtp_subtree, hf_xtp_aseg_srchost, tvb, offset, 4, aseg->srchost); offset += 4; /* dstport(2) */ aseg->dstport = tvb_get_ntohs(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_aseg_dstport, tvb, offset, 2, aseg->dstport); offset += 2; /* srcport(2) */ aseg->srcport = tvb_get_ntohs(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_aseg_srcport, tvb, offset, 2, aseg->srcport); offset += 2; /** add summary **/ proto_item_append_text(top_ti, ", Dst Port: %u", aseg->dstport); proto_item_append_text(top_ti, ", Src Port: %u", aseg->srcport); break; default: break; } return (offset - start); } static int dissect_xtp_traffic_cntl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset) { guint32 len = tvb_reported_length_remaining(tvb, offset); guint32 start = offset; proto_item *top_ti; proto_tree *xtp_subtree; struct xtp_traffic_cntl tcntl[1]; xtp_subtree = proto_tree_add_subtree(tree, tvb, offset, len, ett_xtp_tcntl, &top_ti, "Traffic Control Segment"); if (len < XTP_TRAFFIC_CNTL_LEN) { proto_item_append_text(top_ti, ", bogus length(%u, must be at least %u)", len, XTP_TRAFFIC_CNTL_LEN); return 0; } /** parse **/ /* rseq(8) */ tcntl->rseq = tvb_get_ntohl(tvb, offset); tcntl->rseq <<= 32; tcntl->rseq += tvb_get_ntohl(tvb, offset+4); offset += 8; /* alloc(8) */ tcntl->alloc = tvb_get_ntohl(tvb, offset); tcntl->alloc <<= 32; tcntl->alloc += tvb_get_ntohl(tvb, offset+4); offset += 8; /* echo(4) */ tcntl->echo = tvb_get_ntohl(tvb, offset); offset += 4; /* rsvd(4) */ tcntl->rsvd = tvb_get_ntohl(tvb, offset); offset += 4; /* xkey(8) */ tcntl->xkey = tvb_get_ntohl(tvb, offset); tcntl->xkey <<= 32; tcntl->xkey += tvb_get_ntohl(tvb, offset+4); /** add summary **/ col_append_fstr(pinfo->cinfo, COL_INFO, " Recv-Seq=%" PRIu64, tcntl->rseq); col_append_fstr(pinfo->cinfo, COL_INFO, " Alloc=%" PRIu64, tcntl->alloc); proto_item_append_text(top_ti, ", Recv-Seq: %" PRIu64, tcntl->rseq); /** display **/ offset = start; /* rseq(8) */ proto_tree_add_uint64(xtp_subtree, hf_xtp_tcntl_rseq, tvb, offset, 8, tcntl->rseq); offset += 8; /* alloc(8) */ proto_tree_add_uint64(xtp_subtree, hf_xtp_tcntl_alloc, tvb, offset, 8, tcntl->alloc); offset += 4; /* echo(4) */ proto_tree_add_uint(xtp_subtree, hf_xtp_tcntl_echo, tvb, offset, 4, tcntl->echo); offset += 4; /* rsvd(4) */ proto_tree_add_uint(xtp_subtree, hf_xtp_tcntl_rsvd, tvb, offset, 4, tcntl->rsvd); offset += 4; /* xkey(8) */ proto_tree_add_uint64(xtp_subtree, hf_xtp_tcntl_xkey, tvb, offset, 8, tcntl->xkey); offset += 8; return (offset - start); } static int dissect_xtp_tspec(tvbuff_t *tvb, proto_tree *tree, guint32 offset) { guint32 len = tvb_reported_length_remaining(tvb, offset); guint32 start = offset; proto_item *ti, *ti2; proto_tree *xtp_subtree; struct xtp_traffic_spec1 tspec[1]; int error = 0; xtp_subtree = proto_tree_add_subtree(tree, tvb, offset, len, ett_xtp_tspec, &ti, "Traffic Specifier"); if (len < XTP_TRAFFIC_SPEC0_LEN) { proto_item_append_text(ti, ", bogus length(%u, must be at least %u)", len, XTP_TRAFFIC_SPEC0_LEN); return 0; } /** parse common fields **/ /* tlen(2) */ tspec->tlen = tvb_get_ntohs(tvb, offset); offset += 2; /* service(1) */ tspec->service = tvb_get_guint8(tvb, offset); offset++; /* tformat(1) */ tspec->tformat = tvb_get_guint8(tvb, offset); /** display common fields */ offset = start; /* tlen(2) */ ti = proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_tlen, tvb, offset, 2, tspec->tlen); offset += 2; if (tspec->tlen > len) { proto_item_append_text(ti, ", bogus length(%u, must be at most %u)", tspec->tlen, len); error = 1; } /* service(1) */ proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_service, tvb, offset, 1, tspec->service); offset++; /* tformat(1) */ ti2 = proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_tformat, tvb, offset, 1, tspec->tformat); offset++; switch (tspec->tformat) { case 0: if (tspec->tlen != XTP_TRAFFIC_SPEC0_LEN) { proto_item_append_text(ti, ", bogus length(%u, must be %u)", tspec->tlen, XTP_TRAFFIC_SPEC0_LEN); error = 1; } break; case 1: if (tspec->tlen != XTP_TRAFFIC_SPEC1_LEN) { proto_item_append_text(ti, ", bogus length(%u, must be %u)", tspec->tlen, XTP_TRAFFIC_SPEC1_LEN); error = 1; } break; default: proto_item_append_text(ti2, ", Unsupported tformat(%u)", tspec->tformat); error = 1; break; } if (error) return (offset - start); /** parse and display each traffic fields **/ switch (tspec->tformat) { case 0: /* traffic(4) */ tspec->maxdata = tvb_get_ntohl(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_traffic, tvb, offset, 4, tspec->maxdata); offset += 4; break; case 1: /* maxdata(4) */ tspec->maxdata = tvb_get_ntohl(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_maxdata, tvb, offset, 4, tspec->maxdata); offset += 4; /* inrate(4) */ tspec->inrate = tvb_get_ntohl(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_inrate, tvb, offset, 4, tspec->inrate); offset += 4; /* inburst(4) */ tspec->inburst = tvb_get_ntohl(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_inburst, tvb, offset, 4, tspec->inburst); offset += 4; /* outrate(4) */ tspec->outrate = tvb_get_ntohl(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_outrate, tvb, offset, 4, tspec->outrate); offset += 4; /* outburst(4) */ tspec->outburst = tvb_get_ntohl(tvb, offset); proto_tree_add_uint(xtp_subtree, hf_xtp_tspec_outburst, tvb, offset, 4, tspec->outburst); offset += 4; break; default: break; } return (offset - start); } static void dissect_xtp_data(tvbuff_t *tvb, proto_tree *tree, guint32 offset, gboolean have_btag) { guint32 len = tvb_reported_length_remaining(tvb, offset); proto_tree *xtp_subtree; guint64 btag; xtp_subtree = proto_tree_add_subtree(tree, tvb, offset, len, ett_xtp_data, NULL, "Data Segment"); if (have_btag) { btag = tvb_get_ntohl(tvb, offset); btag <<= 32; btag += tvb_get_ntohl(tvb, offset+4); proto_tree_add_uint64(xtp_subtree, hf_xtp_btag, tvb, offset, 8, btag); offset += 8; len -= 8; } proto_tree_add_item(xtp_subtree, hf_xtp_data, tvb, offset, len, ENC_NA); return; } static void dissect_xtp_cntl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset) { guint32 len = tvb_reported_length_remaining(tvb, offset); guint32 start = offset; proto_item *top_ti; proto_tree *xtp_subtree; struct xtp_cntl cntl[1]; xtp_subtree = proto_tree_add_subtree(tree, tvb, offset, len, ett_xtp_cntl, &top_ti, "Common Control Segment"); if (len != XTP_CNTL_PKT_LEN) { proto_item_append_text(top_ti, ", bogus length(%u, must be %u)", len, XTP_CNTL_PKT_LEN); return; } /** parse **/ /* rseq(8) */ cntl->rseq = tvb_get_ntohl(tvb, offset); cntl->rseq <<= 32; cntl->rseq += tvb_get_ntohl(tvb, offset+4); offset += 8; /* alloc(8) */ cntl->alloc = tvb_get_ntohl(tvb, offset); cntl->alloc <<= 32; cntl->alloc += tvb_get_ntohl(tvb, offset+4); offset += 8; /* echo(4) */ cntl->echo = tvb_get_ntohl(tvb, offset); /** add summary **/ col_append_fstr(pinfo->cinfo, COL_INFO, " Recv-Seq=%" PRIu64, cntl->rseq); col_append_fstr(pinfo->cinfo, COL_INFO, " Alloc=%" PRIu64, cntl->alloc); proto_item_append_text(top_ti, ", Recv-Seq: %" PRIu64, cntl->rseq); /** display **/ offset = start; /* rseq(8) */ proto_tree_add_uint64(xtp_subtree, hf_xtp_cntl_rseq, tvb, offset, 8, cntl->rseq); offset += 8; /* alloc(8) */ proto_tree_add_uint64(xtp_subtree, hf_xtp_cntl_alloc, tvb, offset, 8, cntl->alloc); offset += 4; /* echo(4) */ proto_tree_add_uint(xtp_subtree, hf_xtp_cntl_echo, tvb, offset, 4, cntl->echo); return; } static void dissect_xtp_first(tvbuff_t *tvb, proto_tree *tree, guint32 offset) { if (!dissect_xtp_aseg(tvb, tree, offset)) return; offset += XTP_IP_ADDR_SEG_LEN; dissect_xtp_tspec(tvb, tree, offset); return; } #define XTP_MAX_NSPANS 10000 /* Arbitrary. (Documentation link is dead.) */ static void dissect_xtp_ecntl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset) { guint32 len = tvb_reported_length_remaining(tvb, offset); guint32 start = offset; proto_item *top_ti; proto_tree *xtp_subtree; struct xtp_ecntl ecntl[1]; guint spans_len; guint i; xtp_subtree = proto_tree_add_subtree(tree, tvb, offset, len, ett_xtp_ecntl, &top_ti, "Error Control Segment"); if (len < MIN_XTP_ECNTL_PKT_LEN) { proto_item_append_text(top_ti, ", bogus length (%u, must be at least %u)", len, MIN_XTP_ECNTL_PKT_LEN); return; } /** parse **/ /* rseq(8) */ ecntl->rseq = tvb_get_ntohl(tvb, offset); ecntl->rseq <<= 32; ecntl->rseq += tvb_get_ntohl(tvb, offset+4); offset += 8; /* alloc(8) */ ecntl->alloc = tvb_get_ntohl(tvb, offset); ecntl->alloc <<= 32; ecntl->alloc += tvb_get_ntohl(tvb, offset+4); offset += 8; /* echo(4) */ ecntl->echo = tvb_get_ntohl(tvb, offset); offset += 4; /* nspan(4) */ ecntl->nspan = tvb_get_ntohl(tvb, offset); offset += 4; len = len + XTP_HEADER_LEN - offset; spans_len = 16 * ecntl->nspan; if (len != spans_len) { expert_add_info_format(pinfo, top_ti, &ei_xtp_spans_bad, "Number of spans (%u) incorrect. Should be %u.", ecntl->nspan, len); return; } if (ecntl->nspan > XTP_MAX_NSPANS) { expert_add_info_format(pinfo, top_ti, &ei_xtp_spans_bad, "Too many spans: %u", ecntl->nspan); return; } /** add summary **/ col_append_fstr(pinfo->cinfo, COL_INFO, " Recv-Seq=%" PRIu64, ecntl->rseq); col_append_fstr(pinfo->cinfo, COL_INFO, " Alloc=%" PRIu64, ecntl->alloc); proto_item_append_text(top_ti, ", Recv-Seq: %" PRIu64, ecntl->rseq); /** display **/ offset = start; /* rseq(8) */ proto_tree_add_uint64(xtp_subtree, hf_xtp_ecntl_rseq, tvb, offset, 8, ecntl->rseq); offset += 8; /* alloc(8) */ proto_tree_add_uint64(xtp_subtree, hf_xtp_ecntl_alloc, tvb, offset, 8, ecntl->alloc); offset += 8; /* echo(4) */ proto_tree_add_uint(xtp_subtree, hf_xtp_ecntl_echo, tvb, offset, 4, ecntl->echo); offset += 4; /* nspan(4) */ proto_tree_add_uint(xtp_subtree, hf_xtp_ecntl_nspan, tvb, offset, 4, ecntl->nspan); offset += 4; /* spans(16n) */ for (i = 0; i < ecntl->nspan; i++) { proto_tree_add_item(xtp_subtree, hf_xtp_ecntl_span_left, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(xtp_subtree, hf_xtp_ecntl_span_right, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } return; } static void dissect_xtp_tcntl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset) { if (!dissect_xtp_traffic_cntl(tvb, pinfo, tree, offset)) return; offset += XTP_TRAFFIC_CNTL_LEN; dissect_xtp_tspec(tvb, tree, offset); return; } static void dissect_xtp_jcntl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset) { if (!dissect_xtp_traffic_cntl(tvb, pinfo, tree, offset)) return; offset += XTP_TRAFFIC_CNTL_LEN; if (!dissect_xtp_aseg(tvb, tree, offset)) return; offset += XTP_IP_ADDR_SEG_LEN; dissect_xtp_tspec(tvb, tree, offset); return; } static void dissect_xtp_diag(tvbuff_t *tvb, proto_tree *tree, guint32 offset) { guint32 len = tvb_reported_length_remaining(tvb, offset); proto_item *ti; proto_tree *xtp_subtree; xtp_subtree = proto_tree_add_subtree(tree, tvb, offset, len, ett_xtp_diag, &ti, "Diagnostic Segment"); if (len < XTP_DIAG_PKT_HEADER_LEN) { proto_item_append_text(ti, ", bogus length (%u, must be at least %u)", len, XTP_DIAG_PKT_HEADER_LEN); return; } /* code(4) */ proto_tree_add_item(xtp_subtree, hf_xtp_diag_code, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; /* val(4) */ proto_tree_add_item(xtp_subtree, hf_xtp_diag_val, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; /* message(n) */ proto_tree_add_item(xtp_subtree, hf_xtp_diag_msg, tvb, offset, tvb_reported_length_remaining(tvb, offset), ENC_ASCII); return; } /* main dissector */ static int dissect_xtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { guint32 offset, len; proto_item *ti; proto_tree *xtp_tree, *xtp_cmd_tree, *xtp_subtree; struct xtphdr xtph[1]; int error = 0; gchar *options; static const char *fstr[] = { "<None>", "NOCHECK", "EDGE", "NOERR", "MULTI", "RES", "SORT", "NOFLOW", "FASTNAK", "SREQ", "DREQ", "RCLOSE", "WCLOSE", "EOM", "END", "BTAG" }; gint fpos = 0, returned_length; guint i, bpos; guint cmd_options; vec_t cksum_vec[1]; gboolean have_btag; static int * const cmd_options_flags[] = { &hf_xtp_cmd_options_nocheck, &hf_xtp_cmd_options_edge, &hf_xtp_cmd_options_noerr, &hf_xtp_cmd_options_multi, &hf_xtp_cmd_options_res, &hf_xtp_cmd_options_sort, &hf_xtp_cmd_options_noflow, &hf_xtp_cmd_options_fastnak, &hf_xtp_cmd_options_sreq, &hf_xtp_cmd_options_dreq, &hf_xtp_cmd_options_rclose, &hf_xtp_cmd_options_wclose, &hf_xtp_cmd_options_eom, &hf_xtp_cmd_options_end, &hf_xtp_cmd_options_btag, NULL }; if ((len = tvb_reported_length(tvb)) < XTP_HEADER_LEN) return 0; col_set_str(pinfo->cinfo, COL_PROTOCOL, "XTP"); col_clear(pinfo->cinfo, COL_INFO); /** parse header **/ offset = 0; /* key(8) */ xtph->key = tvb_get_ntohl(tvb, offset); xtph->key <<= 32; xtph->key += tvb_get_ntohl(tvb, offset+4); offset += 8; /* cmd(4) */ xtph->cmd = tvb_get_ntohl(tvb, offset); xtph->cmd_options = xtph->cmd >> 8; xtph->cmd_ptype = xtph->cmd & 0xff; xtph->cmd_ptype_ver = (xtph->cmd_ptype & 0xe0) >> 5; xtph->cmd_ptype_pformat = xtph->cmd_ptype & 0x1f; offset += 4; /* dlen(4) */ xtph->dlen = tvb_get_ntohl(tvb, offset); offset += 4; /* check(2) */ xtph->check = tvb_get_ntohs(tvb, offset); offset += 2; /* sort(2) */ xtph->sort = tvb_get_ntohs(tvb, offset); offset += 2; /* sync(4) */ xtph->sync = tvb_get_ntohl(tvb, offset); offset += 4; /* seq(8) */ xtph->seq = tvb_get_ntohl(tvb, offset); xtph->seq <<= 32; xtph->seq += tvb_get_ntohl(tvb, offset+4); #define MAX_OPTIONS_LEN 128 options=(gchar *)wmem_alloc(pinfo->pool, MAX_OPTIONS_LEN); options[0]=0; cmd_options = xtph->cmd_options >> 8; for (i = 0; i < 16; i++) { bpos = 1 << (15 - i); if (cmd_options & bpos) { returned_length = snprintf(&options[fpos], MAX_OPTIONS_LEN-fpos, "%s%s", fpos?", ":"", fstr[i]); fpos += MIN(returned_length, MAX_OPTIONS_LEN-fpos); } } col_add_str(pinfo->cinfo, COL_INFO, val_to_str(xtph->cmd_ptype_pformat, pformat_vals, "Unknown pformat (%u)")); col_append_fstr(pinfo->cinfo, COL_INFO, " [%s]", options); col_append_fstr(pinfo->cinfo, COL_INFO, " Seq=%" PRIu64, xtph->seq); col_append_fstr(pinfo->cinfo, COL_INFO, " Len=%u", xtph->dlen); /* if (tree) */ { ti = proto_tree_add_item(tree, proto_xtp, tvb, 0, -1, ENC_NA); /** add summary **/ proto_item_append_text(ti, ", Key: 0x%016" PRIX64, xtph->key); proto_item_append_text(ti, ", Seq: %" PRIu64, xtph->seq); proto_item_append_text(ti, ", Len: %u", xtph->dlen); xtp_tree = proto_item_add_subtree(ti, ett_xtp); /* key(8) */ offset = 0; proto_tree_add_uint64(xtp_tree, hf_xtp_key, tvb, offset, 8, xtph->key); offset += 8; /* cmd(4) */ ti = proto_tree_add_uint(xtp_tree, hf_xtp_cmd, tvb, offset, 4, xtph->cmd); xtp_cmd_tree = proto_item_add_subtree(ti, ett_xtp_cmd); proto_tree_add_bitmask(xtp_cmd_tree, tvb, offset, hf_xtp_cmd_options, ett_xtp_cmd_options, cmd_options_flags, ENC_BIG_ENDIAN); offset += 3; ti = proto_tree_add_uint(xtp_cmd_tree, hf_xtp_cmd_ptype, tvb, offset, 1, xtph->cmd_ptype); xtp_subtree = proto_item_add_subtree(ti, ett_xtp_cmd_ptype); proto_tree_add_uint(xtp_subtree, hf_xtp_cmd_ptype_ver, tvb, offset, 1, xtph->cmd_ptype_ver); if (xtph->cmd_ptype_ver != XTP_VERSION_4) { proto_item_append_text(ti, ", Unknown XTP version (%03X)", xtph->cmd_ptype_ver); error = 1; } proto_tree_add_uint(xtp_subtree, hf_xtp_cmd_ptype_pformat, tvb, offset, 1, xtph->cmd_ptype_pformat); offset++; /* dlen(4) */ ti = proto_tree_add_uint(xtp_tree, hf_xtp_dlen, tvb, offset, 4, xtph->dlen); if (xtph->dlen != len - XTP_HEADER_LEN) { proto_item_append_text(ti, ", bogus length (%u, must be %u)", xtph->dlen, len - XTP_HEADER_LEN); error = 1; } offset += 4; /* check(2) */ if (!pinfo->fragmented) { guint32 check_len = XTP_HEADER_LEN; if (!(xtph->cmd_options & XTP_CMD_OPTIONS_NOCHECK)) check_len += xtph->dlen; SET_CKSUM_VEC_TVB(cksum_vec[0], tvb, 0, check_len); proto_tree_add_checksum(xtp_tree, tvb, offset, hf_xtp_checksum, hf_xtp_checksum_status, &ei_xtp_checksum, pinfo, in_cksum(cksum_vec, 1), ENC_BIG_ENDIAN, PROTO_CHECKSUM_VERIFY|PROTO_CHECKSUM_IN_CKSUM); } else { proto_tree_add_checksum(xtp_tree, tvb, offset, hf_xtp_checksum, hf_xtp_checksum_status, &ei_xtp_checksum, pinfo, 0, ENC_BIG_ENDIAN, PROTO_CHECKSUM_NO_FLAGS); } offset += 2; /* sort(2) */ proto_tree_add_uint(xtp_tree, hf_xtp_sort, tvb, offset, 2, xtph->sort); offset += 2; /* sync(4) */ proto_tree_add_uint(xtp_tree, hf_xtp_sync, tvb, offset, 4, xtph->sync); offset += 4; /* seq(8) */ proto_tree_add_uint64(xtp_tree, hf_xtp_seq, tvb, offset, 8, xtph->seq); offset += 8; if (!error) { switch (xtph->cmd_ptype_pformat) { case XTP_DATA_PKT: have_btag = !!(xtph->cmd_options & XTP_CMD_OPTIONS_BTAG); dissect_xtp_data(tvb, xtp_tree, offset, have_btag); break; case XTP_CNTL_PKT: dissect_xtp_cntl(tvb, pinfo, xtp_tree, offset); break; case XTP_FIRST_PKT: dissect_xtp_first(tvb, xtp_tree, offset); break; case XTP_ECNTL_PKT: dissect_xtp_ecntl(tvb, pinfo, xtp_tree, offset); break; case XTP_TCNTL_PKT: dissect_xtp_tcntl(tvb, pinfo, xtp_tree, offset); break; case XTP_JOIN_PKT: /* obsolete */ break; case XTP_JCNTL_PKT: dissect_xtp_jcntl(tvb, pinfo, xtp_tree, offset); break; case XTP_DIAG_PKT: dissect_xtp_diag(tvb, xtp_tree, offset); break; default: /* error */ break; } } } return tvb_reported_length(tvb); } void proto_register_xtp(void) { static hf_register_info hf[] = { /* command header */ { &hf_xtp_key, { "Key", "xtp.key", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_cmd, { "Command", "xtp.cmd", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_cmd_options, { "Options", "xtp.cmd.options", FT_UINT24, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_cmd_options_nocheck, { "NOCHECK", "xtp.cmd.options.nocheck", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_NOCHECK, NULL, HFILL } }, { &hf_xtp_cmd_options_edge, { "EDGE", "xtp.cmd.options.edge", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_EDGE, NULL, HFILL } }, { &hf_xtp_cmd_options_noerr, { "NOERR", "xtp.cmd.options.noerr", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_NOERR, NULL, HFILL } }, { &hf_xtp_cmd_options_multi, { "MULTI", "xtp.cmd.options.multi", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_MULTI, NULL, HFILL } }, { &hf_xtp_cmd_options_res, { "RES", "xtp.cmd.options.res", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_RES, NULL, HFILL } }, { &hf_xtp_cmd_options_sort, { "SORT", "xtp.cmd.options.sort", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_SORT, NULL, HFILL } }, { &hf_xtp_cmd_options_noflow, { "NOFLOW", "xtp.cmd.options.noflow", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_NOFLOW, NULL, HFILL } }, { &hf_xtp_cmd_options_fastnak, { "FASTNAK", "xtp.cmd.options.fastnak", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_FASTNAK, NULL, HFILL } }, { &hf_xtp_cmd_options_sreq, { "SREQ", "xtp.cmd.options.sreq", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_SREQ, NULL, HFILL } }, { &hf_xtp_cmd_options_dreq, { "DREQ", "xtp.cmd.options.dreq", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_DREQ, NULL, HFILL } }, { &hf_xtp_cmd_options_rclose, { "RCLOSE", "xtp.cmd.options.rclose", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_RCLOSE, NULL, HFILL } }, { &hf_xtp_cmd_options_wclose, { "WCLOSE", "xtp.cmd.options.wclose", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_WCLOSE, NULL, HFILL } }, { &hf_xtp_cmd_options_eom, { "EOM", "xtp.cmd.options.eom", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_EOM, NULL, HFILL } }, { &hf_xtp_cmd_options_end, { "END", "xtp.cmd.options.end", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_END, NULL, HFILL } }, { &hf_xtp_cmd_options_btag, { "BTAG", "xtp.cmd.options.btag", FT_BOOLEAN, 24, TFS(&tfs_set_notset), XTP_CMD_OPTIONS_BTAG, NULL, HFILL } }, { &hf_xtp_cmd_ptype, { "Packet type", "xtp.cmd.ptype", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_cmd_ptype_ver, { "Version", "xtp.cmd.ptype.ver", FT_UINT8, BASE_DEC, VALS(version_vals), 0x0, NULL, HFILL } }, { &hf_xtp_cmd_ptype_pformat, { "Format", "xtp.cmd.ptype.pformat", FT_UINT8, BASE_DEC, VALS(pformat_vals), 0x0, NULL, HFILL } }, { &hf_xtp_dlen, { "Data length", "xtp.dlen", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_sort, { "Sort", "xtp.sort", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_sync, { "Synchronizing handshake", "xtp.sync", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_seq, { "Sequence number", "xtp.seq", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* control segment */ { &hf_xtp_cntl_rseq, { "Received sequence number", "xtp.cntl.rseq", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_cntl_alloc, { "Allocation", "xtp.cntl.alloc", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_cntl_echo, { "Synchronizing handshake echo", "xtp.cntl.echo", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_ecntl_rseq, { "Received sequence number", "xtp.ecntl.rseq", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_ecntl_alloc, { "Allocation", "xtp.ecntl.alloc", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_ecntl_echo, { "Synchronizing handshake echo", "xtp.ecntl.echo", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_ecntl_nspan, { "Number of spans", "xtp.ecntl.nspan", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_ecntl_span_left, { "Span left edge", "xtp.ecntl.span_le", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_ecntl_span_right, { "Span right edge", "xtp.ecntl.span_re", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tcntl_rseq, { "Received sequence number", "xtp.tcntl.rseq", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tcntl_alloc, { "Allocation", "xtp.tcntl.alloc", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tcntl_echo, { "Synchronizing handshake echo", "xtp.tcntl.echo", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tcntl_rsvd, { "Reserved", "xtp.tcntl.rsvd", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tcntl_xkey, { "Exchange key", "xtp.tcntl.xkey", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* traffic specifier */ { &hf_xtp_tspec_tlen, { "Length", "xtp.tspec.tlen", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tspec_service, { "Service", "xtp.tspec.service", FT_UINT8, BASE_DEC, VALS(service_vals), 0x0, NULL, HFILL } }, { &hf_xtp_tspec_tformat, { "Format", "xtp.tspec.format", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tspec_traffic, { "Traffic", "xtp.tspec.traffic", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tspec_maxdata, { "Maxdata", "xtp.tspec.maxdata", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tspec_inrate, { "Incoming rate", "xtp.tspec.inrate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tspec_inburst, { "Incoming burst size", "xtp.tspec.inburst", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tspec_outrate, { "Outgoing rate", "xtp.tspec.outrate", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_tspec_outburst, { "Outgoing burst size", "xtp.tspec.outburst", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* address segment */ { &hf_xtp_aseg_alen, { "Length", "xtp.aseg.alen", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_aseg_adomain, { "Domain", "xtp.aseg.adomain", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_aseg_aformat, { "Format", "xtp.aseg.aformat", FT_UINT8, BASE_DEC, VALS(aformat_vals), 0x0, NULL, HFILL } }, { &hf_xtp_aseg_address, { "Traffic", "xtp.aseg.address", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_aseg_dsthost, { "Destination host", "xtp.aseg.dsthost", FT_IPv4, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_aseg_srchost, { "Source host", "xtp.aseg.srchost", FT_IPv4, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_aseg_dstport, { "Destination port", "xtp.aseg.dstport", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_aseg_srcport, { "Source port", "xtp.aseg.srcport", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* others */ { &hf_xtp_btag, { "Beginning tag", "xtp.data.btag", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_diag_code, { "Diagnostic code", "xtp.diag.code", FT_UINT32, BASE_DEC, VALS(diag_code_vals), 0x0, NULL, HFILL } }, { &hf_xtp_diag_val, { "Diagnostic value", "xtp.diag.val", FT_UINT32, BASE_DEC, VALS(diag_val_vals), 0x0, NULL, HFILL } }, { &hf_xtp_diag_msg, { "Message", "xtp.diag.msg", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_checksum, { "Checksum", "xtp.checksum", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_xtp_checksum_status, { "Checksum Status", "xtp.checksum.status", FT_UINT8, BASE_NONE, VALS(proto_checksum_vals), 0x0, NULL, HFILL } }, { &hf_xtp_data, { "Data", "xtp.data", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, }; static gint *ett[] = { &ett_xtp, &ett_xtp_cmd, &ett_xtp_cmd_options, &ett_xtp_cmd_ptype, &ett_xtp_cntl, &ett_xtp_ecntl, &ett_xtp_tcntl, &ett_xtp_tspec, &ett_xtp_jcntl, &ett_xtp_first, &ett_xtp_aseg, &ett_xtp_data, &ett_xtp_diag, }; static ei_register_info ei[] = { { &ei_xtp_spans_bad, { "xtp.spans_bad", PI_MALFORMED, PI_ERROR, "Number of spans incorrect", EXPFILL }}, { &ei_xtp_checksum, { "xtp.bad_checksum", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }}, }; expert_module_t* expert_xtp; proto_xtp = proto_register_protocol("Xpress Transport Protocol", "XTP", "xtp"); proto_register_field_array(proto_xtp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_xtp = expert_register_protocol(proto_xtp); expert_register_field_array(expert_xtp, ei, array_length(ei)); } void proto_reg_handoff_xtp(void) { dissector_handle_t xtp_handle; xtp_handle = create_dissector_handle(dissect_xtp, proto_xtp); dissector_add_uint("ip.proto", IP_PROTO_XTP, xtp_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C
wireshark/epan/dissectors/packet-xyplex.c
/* packet-xyplex.c * Routines for xyplex packet dissection * * Copyright 2002 Randy McEoin <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Copied from packet-tftp.c * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/conversation.h> void proto_register_xyplex(void); void proto_reg_handoff_xyplex(void); static int proto_xyplex = -1; static int hf_xyplex_type = -1; static int hf_xyplex_pad = -1; static int hf_xyplex_server_port = -1; static int hf_xyplex_return_port = -1; static int hf_xyplex_reserved = -1; static int hf_xyplex_reply = -1; static int hf_xyplex_data = -1; static gint ett_xyplex = -1; static dissector_handle_t xyplex_handle; #define UDP_PORT_XYPLEX 173 #define XYPLEX_REG_OK 0x00 #define XYPLEX_REG_QUEFULL 0x05 static const value_string xyplex_reg_vals[] = { { XYPLEX_REG_OK, "OK" }, { XYPLEX_REG_QUEFULL, "Queue Full" }, { 0, NULL } }; static int dissect_xyplex(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { proto_tree *xyplex_tree; proto_item *ti; conversation_t *conversation; gint offset = 0; guint8 prototype; guint8 padding; guint16 server_port; guint16 return_port; guint16 reserved; guint16 reply; col_set_str(pinfo->cinfo, COL_PROTOCOL, "XYPLEX"); ti = proto_tree_add_item(tree, proto_xyplex, tvb, offset, -1, ENC_NA); xyplex_tree = proto_item_add_subtree(ti, ett_xyplex); if (pinfo->destport == UDP_PORT_XYPLEX) { /* This is a registration request from a Unix server * to the Xyplex server. The server_port indicates * which Xyplex serial port is desired. The * return_port tells the Xyplex server what TCP port * to open to the Unix server. */ prototype = tvb_get_guint8(tvb, offset); padding = tvb_get_guint8(tvb, offset+1); server_port = tvb_get_ntohs(tvb, offset+2); return_port = tvb_get_ntohs(tvb, offset+4); reserved = tvb_get_ntohs(tvb, offset+6); col_add_fstr(pinfo->cinfo, COL_INFO, "Registration Request: %d Return: %d", server_port, return_port); if (tree) { proto_tree_add_uint(xyplex_tree, hf_xyplex_type, tvb, offset, 1, prototype); proto_tree_add_uint(xyplex_tree, hf_xyplex_pad, tvb, offset+1, 1, padding); proto_tree_add_uint(xyplex_tree, hf_xyplex_server_port, tvb, offset+2, 2, server_port); proto_tree_add_uint(xyplex_tree, hf_xyplex_return_port, tvb, offset+4, 2, return_port); proto_tree_add_uint(xyplex_tree, hf_xyplex_reserved, tvb, offset+6, 2, reserved); } offset += 8; /* Look for all future TCP conversations between the * requesting server and the Xyplex host using the * return_port. */ conversation = find_conversation(pinfo->num, &pinfo->src, &pinfo->dst, CONVERSATION_TCP, return_port, 0, NO_PORT_B); if (conversation == NULL) { conversation = conversation_new(pinfo->num, &pinfo->src, &pinfo->dst, CONVERSATION_TCP, return_port, 0, NO_PORT2); conversation_set_dissector(conversation, xyplex_handle); } return offset; } if (pinfo->srcport == UDP_PORT_XYPLEX) { prototype = tvb_get_guint8(tvb, offset); padding = tvb_get_guint8(tvb, offset+1); reply = tvb_get_ntohs(tvb, offset+2); col_add_fstr(pinfo->cinfo, COL_INFO, "Registration Reply: %s", val_to_str(reply, xyplex_reg_vals, "Unknown (0x%02x)")); if (tree) { proto_tree_add_uint(xyplex_tree, hf_xyplex_type, tvb, offset, 1, prototype); proto_tree_add_uint(xyplex_tree, hf_xyplex_pad, tvb, offset+1, 1, padding); proto_tree_add_uint(xyplex_tree, hf_xyplex_reply, tvb, offset+2, 2, reply); } offset += 4; return offset; } /* * This must be the TCP data stream. This will just be * the raw data being transferred from the remote server * and the Xyplex serial port. */ col_add_fstr(pinfo->cinfo, COL_INFO, "%d > %d Data", pinfo->srcport, pinfo->destport); proto_tree_add_item(xyplex_tree, hf_xyplex_data, tvb, offset, -1, ENC_NA); return tvb_reported_length_remaining(tvb, offset); } void proto_register_xyplex(void) { static hf_register_info hf[] = { { &hf_xyplex_type, { "Type", "xyplex.type", FT_UINT8, BASE_DEC, NULL, 0x0, "Protocol type", HFILL }}, { &hf_xyplex_pad, { "Pad", "xyplex.pad", FT_UINT8, BASE_DEC, NULL, 0x0, "Padding", HFILL }}, { &hf_xyplex_server_port, { "Server Port", "xyplex.server_port", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xyplex_return_port, { "Return Port", "xyplex.return_port", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xyplex_reserved, { "Reserved field", "xyplex.reserved", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_xyplex_reply, { "Registration Reply", "xyplex.reply", FT_UINT16, BASE_DEC, VALS(xyplex_reg_vals), 0x0, NULL, HFILL }}, { &hf_xyplex_data, { "Data", "xyplex.data", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, }; static gint *ett[] = { &ett_xyplex, }; proto_xyplex = proto_register_protocol("Xyplex", "XYPLEX", "xyplex"); proto_register_field_array(proto_xyplex, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_xyplex(void) { xyplex_handle = create_dissector_handle(dissect_xyplex, proto_xyplex); dissector_add_uint_with_preference("udp.port", UDP_PORT_XYPLEX, xyplex_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-yami.c
/* packet-yami.c * Routines for YAMI dissection * Copyright 2010, Pawel Korbut * Copyright 2012, Jakub Zawadzki <[email protected]> * * Protocol documentation available at http://www.inspirel.com/yami4/book/B-2.html * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/prefs.h> #include <epan/to_str.h> #include <wsutil/ws_roundup.h> #include "packet-tcp.h" void proto_reg_handoff_yami(void); void proto_register_yami(void); static gboolean yami_desegment = TRUE; static dissector_handle_t yami_handle; #define YAMI_TYPE_BOOLEAN 1 #define YAMI_TYPE_INTEGER 2 #define YAMI_TYPE_LONGLONG 3 #define YAMI_TYPE_DOUBLE 4 #define YAMI_TYPE_STRING 5 #define YAMI_TYPE_BINARY 6 #define YAMI_TYPE_BOOLEAN_ARRAY 7 #define YAMI_TYPE_INTEGER_ARRAY 8 #define YAMI_TYPE_LONGLONG_ARRAY 9 #define YAMI_TYPE_DOUBLE_ARRAY 10 #define YAMI_TYPE_STRING_ARRAY 11 #define YAMI_TYPE_BINARY_ARRAY 12 #define YAMI_TYPE_NESTED 13 static const value_string yami_param_type_vals[] = { { YAMI_TYPE_BOOLEAN, "boolean" }, { YAMI_TYPE_INTEGER, "integer" }, { YAMI_TYPE_LONGLONG, "long long" }, { YAMI_TYPE_DOUBLE, "double" }, { YAMI_TYPE_STRING, "string" }, { YAMI_TYPE_BINARY, "binary" }, { YAMI_TYPE_BOOLEAN_ARRAY, "boolean array" }, { YAMI_TYPE_INTEGER_ARRAY, "integer array" }, { YAMI_TYPE_LONGLONG_ARRAY, "long long array" }, { YAMI_TYPE_DOUBLE_ARRAY, "double array" }, { YAMI_TYPE_STRING_ARRAY, "string array" }, { YAMI_TYPE_BINARY_ARRAY, "binary array" }, { YAMI_TYPE_NESTED, "nested parameters" }, { 0, NULL } }; static int proto_yami = -1; static int hf_yami_frame_number = -1; static int hf_yami_frame_payload_size = -1; static int hf_yami_items_count = -1; static int hf_yami_message_data = -1; static int hf_yami_message_hdr = -1; static int hf_yami_message_header_size = -1; static int hf_yami_message_id = -1; static int hf_yami_param = -1; static int hf_yami_param_name = -1; static int hf_yami_param_type = -1; static int hf_yami_param_value_bin = -1; static int hf_yami_param_value_bool = -1; static int hf_yami_param_value_double = -1; static int hf_yami_param_value_int = -1; static int hf_yami_param_value_long = -1; static int hf_yami_param_value_str = -1; static int hf_yami_params_count = -1; static int ett_yami = -1; static int ett_yami_msg_hdr = -1; static int ett_yami_msg_data = -1; static int ett_yami_param = -1; static int dissect_yami_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, proto_item *par_ti) { const int orig_offset = offset; proto_tree *yami_param; proto_item *ti; char *name; int name_offset; guint32 name_len; guint32 type; ti = proto_tree_add_item(tree, hf_yami_param, tvb, offset, 0, ENC_NA); yami_param = proto_item_add_subtree(ti, ett_yami_param); name_offset = offset; name_len = tvb_get_letohl(tvb, offset); offset += 4; name = tvb_get_string_enc(pinfo->pool, tvb, offset, name_len, ENC_ASCII | ENC_NA); proto_item_append_text(ti, ": %s", name); proto_item_append_text(par_ti, "%s, ", name); offset += WS_ROUNDUP_4(name_len); proto_tree_add_string(yami_param, hf_yami_param_name, tvb, name_offset, offset - name_offset, name); type = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_param, hf_yami_param_type, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; switch (type) { case YAMI_TYPE_BOOLEAN: { guint32 val = tvb_get_letohl(tvb, offset); proto_item_append_text(ti, ", Type: boolean, Value: %s", val ? "True" : "False"); proto_tree_add_item(yami_param, hf_yami_param_value_bool, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; break; } case YAMI_TYPE_INTEGER: { gint32 val = tvb_get_letohl(tvb, offset); proto_item_append_text(ti, ", Type: integer, Value: %d", val); proto_tree_add_item(yami_param, hf_yami_param_value_int, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; break; } case YAMI_TYPE_LONGLONG: { gint64 val = tvb_get_letoh64(tvb, offset); proto_item_append_text(ti, ", Type: long, Value: %" PRId64, val); proto_tree_add_item(yami_param, hf_yami_param_value_long, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; break; } case YAMI_TYPE_DOUBLE: { gdouble val = tvb_get_letohieee_double(tvb, offset); proto_item_append_text(ti, ", Type: double, Value: %g", val); proto_tree_add_item(yami_param, hf_yami_param_value_double, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; break; } case YAMI_TYPE_STRING: { const int val_offset = offset; guint32 val_len; char *val; val_len = tvb_get_letohl(tvb, offset); offset += 4; val = tvb_get_string_enc(pinfo->pool, tvb, offset, val_len, ENC_ASCII | ENC_NA); proto_item_append_text(ti, ", Type: string, Value: \"%s\"", val); offset += WS_ROUNDUP_4(val_len); proto_tree_add_string(yami_param, hf_yami_param_value_str, tvb, val_offset, offset - val_offset, val); break; } case YAMI_TYPE_BINARY: { const int val_offset = offset; guint32 val_len; const guint8 *val; char *repr; val_len = tvb_get_letohl(tvb, offset); offset += 4; val = tvb_get_ptr(tvb, offset, val_len); repr = bytes_to_str(pinfo->pool, val, val_len); proto_item_append_text(ti, ", Type: binary, Value: %s", repr); offset += WS_ROUNDUP_4(val_len); proto_tree_add_bytes_format_value(yami_param, hf_yami_param_value_bin, tvb, val_offset, offset - val_offset, val, "%s", repr); break; } case YAMI_TYPE_BOOLEAN_ARRAY: { guint32 count; guint i; int j; count = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_param, hf_yami_items_count, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_item_append_text(ti, ", Type: boolean[], %u items: {", count); for (i = 0; i < count/32; i++) { guint32 val = tvb_get_letohl(tvb, offset); for (j = 0; j < 32; j++) { int r = !!(val & (1U << j)); proto_item_append_text(ti, "%s, ", r ? "T" : "F"); proto_tree_add_boolean(yami_param, hf_yami_param_value_bool, tvb, offset+(j/8), 1, r); } offset += 4; } if (count % 32) { guint32 val = tvb_get_letohl(tvb, offset); int tmp = count % 32; for (j = 0; j < tmp; j++) { int r = !!(val & (1 << j)); proto_item_append_text(ti, "%s, ", r ? "T" : "F"); proto_tree_add_boolean(yami_param, hf_yami_param_value_bool, tvb, offset+(j/8), 1, r); } offset += 4; } proto_item_append_text(ti, "}"); break; } case YAMI_TYPE_INTEGER_ARRAY: { guint32 count; guint i; count = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_param, hf_yami_items_count, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_item_append_text(ti, ", Type: integer[], %u items: {", count); for (i = 0; i < count; i++) { gint32 val = tvb_get_letohl(tvb, offset); proto_item_append_text(ti, "%d, ", val); proto_tree_add_item(yami_param, hf_yami_param_value_int, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } proto_item_append_text(ti, "}"); break; } case YAMI_TYPE_LONGLONG_ARRAY: { guint32 count; guint i; count = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_param, hf_yami_items_count, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_item_append_text(ti, ", Type: long long[], %u items: {", count); for (i = 0; i < count; i++) { gint64 val = tvb_get_letoh64(tvb, offset); proto_item_append_text(ti, "%" PRId64 ", ", val); proto_tree_add_item(yami_param, hf_yami_param_value_long, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } proto_item_append_text(ti, "}"); break; } case YAMI_TYPE_DOUBLE_ARRAY: { guint32 count; guint i; count = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_param, hf_yami_items_count, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_item_append_text(ti, ", Type: double[], %u items: {", count); for (i = 0; i < count; i++) { gdouble val = tvb_get_letohieee_double(tvb, offset); proto_item_append_text(ti, "%g, ", val); proto_tree_add_item(yami_param, hf_yami_param_value_double, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } proto_item_append_text(ti, "}"); break; } case YAMI_TYPE_STRING_ARRAY: { guint32 count; guint i; count = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_param, hf_yami_items_count, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_item_append_text(ti, ", Type: string[], %u items: {", count); for (i = 0; i < count; i++) { const int val_offset = offset; guint32 val_len; char *val; val_len = tvb_get_letohl(tvb, offset); offset += 4; val = tvb_get_string_enc(pinfo->pool, tvb, offset, val_len, ENC_ASCII | ENC_NA); proto_item_append_text(ti, "\"%s\", ", val); proto_tree_add_string(yami_param, hf_yami_param_value_str, tvb, val_offset, offset - val_offset, val); offset += WS_ROUNDUP_4(val_len); } proto_item_append_text(ti, "}"); break; } case YAMI_TYPE_BINARY_ARRAY: { guint32 count; guint i; count = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_param, hf_yami_items_count, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_item_append_text(ti, ", Type: binary[], %u items: {", count); for (i = 0; i < count; i++) { const int val_offset = offset; guint32 val_len; const guint8 *val; char *repr; val_len = tvb_get_letohl(tvb, offset); offset += 4; val = tvb_get_ptr(tvb, offset, val_len); repr = bytes_to_str(pinfo->pool, val, val_len); proto_item_append_text(ti, "%s, ", repr); offset += WS_ROUNDUP_4(val_len); proto_tree_add_bytes_format_value(yami_param, hf_yami_param_value_bin, tvb, val_offset, offset - val_offset, val, "%s", repr); } proto_item_append_text(ti, "}"); break; } case YAMI_TYPE_NESTED: { guint32 count; guint i; count = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_param, hf_yami_params_count, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_item_append_text(ti, ", Type: nested, %u parameters: ", count); for (i = 0; i < count; i++) { offset = dissect_yami_parameter(tvb, pinfo, yami_param, offset, ti); /* smth went wrong */ if (offset == -1) return -1; } break; } default: proto_item_append_text(ti, ", Type: unknown (%d)!", type); return -1; } proto_item_set_len(ti, offset - orig_offset); return offset; } static int dissect_yami_data(tvbuff_t *tvb, packet_info *pinfo, gboolean data, proto_tree *tree, int offset) { const int orig_offset = offset; proto_tree *yami_data_tree; proto_item *ti; guint32 count; guint i; ti = proto_tree_add_item(tree, (data) ? hf_yami_message_data : hf_yami_message_hdr, tvb, offset, 0, ENC_NA); yami_data_tree = proto_item_add_subtree(ti, (data) ? ett_yami_msg_data : ett_yami_msg_hdr); count = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_data_tree, hf_yami_params_count, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_item_append_text(ti, ", %u parameters: ", count); for (i = 0; i < count; i++) { offset = dissect_yami_parameter(tvb, pinfo, yami_data_tree, offset, ti); /* smth went wrong */ if (offset == -1) return -1; } proto_item_set_len(ti, offset - orig_offset); return offset; } static int dissect_yami_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { proto_tree *yami_tree; proto_item *ti; gint frame_number; gint message_header_size; gint frame_payload_size; gint frame_size; int offset; col_set_str(pinfo->cinfo, COL_PROTOCOL, "YAMI"); col_clear(pinfo->cinfo, COL_INFO); ti = proto_tree_add_item(tree, proto_yami, tvb, 0, -1, ENC_NA); yami_tree = proto_item_add_subtree(ti, ett_yami); offset = 0; proto_tree_add_item(yami_tree, hf_yami_message_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; frame_number = tvb_get_letohl(tvb, offset); ti = proto_tree_add_item(yami_tree, hf_yami_frame_number, tvb, offset, 4, ENC_LITTLE_ENDIAN); if(frame_number < 0) proto_item_append_text(ti, "%s", " (last frame)"); offset += 4; message_header_size = tvb_get_letohl(tvb, offset); proto_tree_add_item(yami_tree, hf_yami_message_header_size, tvb, offset, 4, ENC_LITTLE_ENDIAN); if (message_header_size < 4) { /* XXX, expert info */ } offset += 4; frame_payload_size = tvb_get_letohl(tvb, offset); ti = proto_tree_add_item(yami_tree, hf_yami_frame_payload_size, tvb, offset, 4, ENC_LITTLE_ENDIAN); frame_size = frame_payload_size + 16; proto_item_append_text(ti, ", (YAMI Frame Size: %d)", frame_size); offset += 4; if (frame_number == 1 || frame_number == -1) { if (message_header_size <= frame_payload_size) { const int orig_offset = offset; offset = dissect_yami_data(tvb, pinfo, FALSE, yami_tree, offset); if (offset != orig_offset + message_header_size) { /* XXX, expert info */ offset = orig_offset + message_header_size; } dissect_yami_data(tvb, pinfo, TRUE, yami_tree, offset); } } return tvb_captured_length(tvb); } #define FRAME_HEADER_LEN 16 static guint get_yami_message_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { guint32 len = tvb_get_letohl(tvb, offset + 12); return len + FRAME_HEADER_LEN; } static int dissect_yami(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { tcp_dissect_pdus(tvb, pinfo, tree, yami_desegment, FRAME_HEADER_LEN, get_yami_message_len, dissect_yami_pdu, data); return tvb_captured_length(tvb); } void proto_register_yami(void) { static hf_register_info hf[] = { { &hf_yami_message_id, { "Message ID", "yami.message_id", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_yami_frame_number, { "Frame Number", "yami.frame_number", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_yami_message_header_size, { "Message Header Size", "yami.message_header_size", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_yami_frame_payload_size, { "Frame Payload Size", "yami.frame_payload_size", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_yami_message_hdr, { "Header message", "yami.msg_hdr", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_yami_message_data, { "Data message", "yami.msg_data", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_yami_param, { "Parameter", "yami.param", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_yami_param_name, { "Name", "yami.param.name", FT_STRING, BASE_NONE, NULL, 0x00, "Parameter name", HFILL } }, { &hf_yami_param_type, { "Type", "yami.param.type", FT_INT32, BASE_DEC, VALS(yami_param_type_vals), 0x00, "Parameter type", HFILL } }, { &hf_yami_param_value_bool, { "Value", "yami.param.value_bool", FT_BOOLEAN, BASE_NONE, NULL, 0x00, "Parameter value (bool)", HFILL } }, { &hf_yami_param_value_int, { "Value", "yami.param.value_int", FT_INT32, BASE_DEC, NULL, 0x00, "Parameter value (int)", HFILL } }, { &hf_yami_param_value_long, { "Value", "yami.param.value_long", FT_INT64, BASE_DEC, NULL, 0x00, "Parameter value (long)", HFILL } }, { &hf_yami_param_value_double, { "Value", "yami.param.value_double", FT_DOUBLE, BASE_NONE, NULL, 0x00, "Parameter value (double)", HFILL } }, { &hf_yami_param_value_str, { "Value", "yami.param.value_str", FT_STRING, BASE_NONE, NULL, 0x00, "Parameter value (string)", HFILL } }, { &hf_yami_param_value_bin, { "Value", "yami.param.value_bin", FT_BYTES, BASE_NONE, NULL, 0x00, "Parameter value (binary)", HFILL } }, { &hf_yami_params_count, { "Parameters count", "yami.params_count", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_yami_items_count, { "Items count", "yami.items_count", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, }; static gint *ett[] = { &ett_yami, &ett_yami_msg_hdr, &ett_yami_msg_data, &ett_yami_param }; module_t *yami_module; proto_yami = proto_register_protocol("YAMI Protocol", "YAMI", "yami"); proto_register_field_array(proto_yami, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); yami_module = prefs_register_protocol(proto_yami, NULL); prefs_register_bool_preference(yami_module, "desegment", "Reassemble YAMI messages spanning multiple TCP segments", "Whether the YAMI dissector should reassemble messages spanning multiple TCP segments." "To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.", &yami_desegment); yami_handle = create_dissector_handle(dissect_yami, proto_yami); } void proto_reg_handoff_yami(void) { dissector_add_for_decode_as_with_preference("tcp.port", yami_handle); dissector_add_for_decode_as_with_preference("udp.port", yami_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C
wireshark/epan/dissectors/packet-yhoo.c
/* packet-yhoo.c * Routines for yahoo messenger packet dissection * Copyright 1999, Nathan Neulinger <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Copied from packet-tftp.c * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> void proto_register_yhoo(void); void proto_reg_handoff_yhoo(void); static int proto_yhoo = -1; static int hf_yhoo_version = -1; static int hf_yhoo_len = -1; static int hf_yhoo_service = -1; static int hf_yhoo_connection_id = -1; static int hf_yhoo_magic_id = -1; static int hf_yhoo_unknown1 = -1; static int hf_yhoo_msgtype = -1; static int hf_yhoo_nick1 = -1; static int hf_yhoo_nick2 = -1; static int hf_yhoo_content = -1; static gint ett_yhoo = -1; #define TCP_PORT_YHOO 5050 /* This is from yahoolib.h from gtkyahoo */ /* Service constants */ #define YAHOO_SERVICE_LOGON 1 #define YAHOO_SERVICE_LOGOFF 2 #define YAHOO_SERVICE_ISAWAY 3 #define YAHOO_SERVICE_ISBACK 4 #define YAHOO_SERVICE_IDLE 5 #define YAHOO_SERVICE_MESSAGE 6 #define YAHOO_SERVICE_IDACT 7 #define YAHOO_SERVICE_IDDEACT 8 #define YAHOO_SERVICE_MAILSTAT 9 #define YAHOO_SERVICE_USERSTAT 10 #define YAHOO_SERVICE_NEWMAIL 11 #define YAHOO_SERVICE_CHATINVITE 12 #define YAHOO_SERVICE_CALENDAR 13 #define YAHOO_SERVICE_NEWPERSONALMAIL 14 #define YAHOO_SERVICE_NEWCONTACT 15 #define YAHOO_SERVICE_ADDIDENT 16 #define YAHOO_SERVICE_ADDIGNORE 17 #define YAHOO_SERVICE_PING 18 #define YAHOO_SERVICE_GROUPRENAME 19 #define YAHOO_SERVICE_SYSMESSAGE 20 #define YAHOO_SERVICE_PASSTHROUGH2 22 #define YAHOO_SERVICE_CONFINVITE 24 #define YAHOO_SERVICE_CONFLOGON 25 #define YAHOO_SERVICE_CONFDECLINE 26 #define YAHOO_SERVICE_CONFLOGOFF 27 #define YAHOO_SERVICE_CONFADDINVITE 28 #define YAHOO_SERVICE_CONFMSG 29 #define YAHOO_SERVICE_CHATLOGON 30 #define YAHOO_SERVICE_CHATLOGOFF 31 #define YAHOO_SERVICE_CHATMSG 32 #define YAHOO_SERVICE_FILETRANSFER 70 #define YAHOO_SERVICE_CHATADDINVITE 157 #define YAHOO_SERVICE_AVATAR 188 #define YAHOO_SERVICE_PICTURE_CHECKSUM 189 #define YAHOO_SERVICE_PICTURE 190 #define YAHOO_SERVICE_PICTURE_UPDATE 193 #define YAHOO_SERVICE_PICTURE_UPLOAD 194 #define YAHOO_SERVICE_YAHOO6_STATUS_UPDATE 198 #define YAHOO_SERVICE_AVATAR_UPDATE 199 #define YAHOO_SERVICE_AUDIBLE 208 #define YAHOO_SERVICE_WEBLOGIN 550 #define YAHOO_SERVICE_SMS_MSG 746 /* Message flags */ #define YAHOO_MSGTYPE_NONE 0 #define YAHOO_MSGTYPE_NORMAL 1 #define YAHOO_MSGTYPE_BOUNCE 2 #define YAHOO_MSGTYPE_STATUS 4 #define YAHOO_MSGTYPE_OFFLINE 1515563606 /* yuck! */ #define YAHOO_RAWPACKET_LEN 105 #if 0 struct yahoo_rawpacket { char version[8]; /* 7 chars and trailing null */ unsigned char len[4]; /* length - little endian */ unsigned char service[4]; /* service - little endian */ unsigned char connection_id[4]; /* connection number - little endian */ unsigned char magic_id[4]; /* magic number used for http session */ unsigned char unknown1[4]; unsigned char msgtype[4]; char nick1[36]; char nick2[36]; char content[1]; /* was zero, had problems with aix xlc */ }; #endif static const value_string yhoo_service_vals[] = { {YAHOO_SERVICE_LOGON, "Pager Logon"}, {YAHOO_SERVICE_LOGOFF, "Pager Logoff"}, {YAHOO_SERVICE_ISAWAY, "Is Away"}, {YAHOO_SERVICE_ISBACK, "Is Back"}, {YAHOO_SERVICE_IDLE, "Idle"}, {YAHOO_SERVICE_MESSAGE, "Message"}, {YAHOO_SERVICE_IDACT, "Activate Identity"}, {YAHOO_SERVICE_IDDEACT, "Deactivate Identity"}, {YAHOO_SERVICE_MAILSTAT, "Mail Status"}, {YAHOO_SERVICE_USERSTAT, "User Status"}, {YAHOO_SERVICE_NEWMAIL, "New Mail"}, {YAHOO_SERVICE_CHATINVITE, "Chat Invitation"}, {YAHOO_SERVICE_CALENDAR, "Calendar Reminder"}, {YAHOO_SERVICE_NEWPERSONALMAIL, "New Personals Mail"}, {YAHOO_SERVICE_NEWCONTACT, "New Friend"}, {YAHOO_SERVICE_GROUPRENAME, "Group Renamed"}, {YAHOO_SERVICE_ADDIDENT, "Add Identity"}, {YAHOO_SERVICE_ADDIGNORE, "Add Ignore"}, {YAHOO_SERVICE_PING, "Ping"}, {YAHOO_SERVICE_SYSMESSAGE, "System Message"}, {YAHOO_SERVICE_CONFINVITE, "Conference Invitation"}, {YAHOO_SERVICE_CONFLOGON, "Conference Logon"}, {YAHOO_SERVICE_CONFDECLINE, "Conference Decline"}, {YAHOO_SERVICE_CONFLOGOFF, "Conference Logoff"}, {YAHOO_SERVICE_CONFMSG, "Conference Message"}, {YAHOO_SERVICE_CONFADDINVITE, "Conference Additional Invitation"}, {YAHOO_SERVICE_CHATLOGON, "Chat Logon"}, {YAHOO_SERVICE_CHATLOGOFF, "Chat Logoff"}, {YAHOO_SERVICE_CHATMSG, "Chat Message"}, {YAHOO_SERVICE_FILETRANSFER, "File Transfer"}, {YAHOO_SERVICE_PASSTHROUGH2, "Passthrough 2"}, {YAHOO_SERVICE_CHATADDINVITE, "Chat add Invite"}, {YAHOO_SERVICE_AVATAR, "Avatar"}, {YAHOO_SERVICE_PICTURE_CHECKSUM, "Picture Checksum"}, {YAHOO_SERVICE_PICTURE, "Picture"}, {YAHOO_SERVICE_PICTURE_UPDATE, "Picture Update"}, {YAHOO_SERVICE_PICTURE_UPLOAD, "Picture Upload"}, {YAHOO_SERVICE_YAHOO6_STATUS_UPDATE, "Status update"}, {YAHOO_SERVICE_AUDIBLE, "Audible"}, {YAHOO_SERVICE_WEBLOGIN, "Weblogin"}, {YAHOO_SERVICE_SMS_MSG, "SMS Message"}, {0, NULL} }; static const value_string yhoo_msgtype_vals[] = { {YAHOO_MSGTYPE_NONE, "None"}, {YAHOO_MSGTYPE_NORMAL, "Normal"}, {YAHOO_MSGTYPE_BOUNCE, "Bounce"}, {YAHOO_MSGTYPE_STATUS, "Status Update"}, {YAHOO_MSGTYPE_OFFLINE, "Request Offline"}, {0, NULL} }; static gboolean dissect_yhoo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { proto_tree *yhoo_tree, *ti; int offset = 0; if (pinfo->srcport != TCP_PORT_YHOO && pinfo->destport != TCP_PORT_YHOO) { /* Not the Yahoo port - not a Yahoo Messenger packet. */ return FALSE; } /* get at least a full packet structure */ if ( tvb_captured_length(tvb) < YAHOO_RAWPACKET_LEN ) { /* Not enough data captured; maybe it is a Yahoo Messenger packet, but it contains too little data to tell. */ return FALSE; } if (tvb_memeql(tvb, offset, (const guint8*)"YPNS", 4) != 0 && tvb_memeql(tvb, offset, (const guint8*)"YHOO", 4) != 0) { /* Not a Yahoo Messenger packet. */ return FALSE; } col_set_str(pinfo->cinfo, COL_PROTOCOL, "YHOO"); col_add_fstr(pinfo->cinfo, COL_INFO, "%s: %s", ( tvb_memeql(tvb, offset + 0, (const guint8*)"YPNS", 4) == 0 ) ? "Request" : "Response", val_to_str(tvb_get_letohl(tvb, offset + 12), yhoo_service_vals, "Unknown Service: %u")); if (tree) { ti = proto_tree_add_item(tree, proto_yhoo, tvb, offset, -1, ENC_NA); yhoo_tree = proto_item_add_subtree(ti, ett_yhoo); proto_tree_add_item(yhoo_tree, hf_yhoo_version, tvb, offset, 8, ENC_ASCII); offset += 8; proto_tree_add_item(yhoo_tree, hf_yhoo_len, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(yhoo_tree, hf_yhoo_service, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(yhoo_tree, hf_yhoo_connection_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(yhoo_tree, hf_yhoo_magic_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(yhoo_tree, hf_yhoo_unknown1, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(yhoo_tree, hf_yhoo_msgtype, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(yhoo_tree, hf_yhoo_nick1, tvb, offset, 36, ENC_ASCII); offset += 36; proto_tree_add_item(yhoo_tree, hf_yhoo_nick2, tvb, offset, 36, ENC_ASCII); offset += 36; proto_tree_add_item(yhoo_tree, hf_yhoo_content, tvb, -1, offset, ENC_ASCII); } return TRUE; } void proto_register_yhoo(void) { static hf_register_info hf[] = { { &hf_yhoo_service, { "Service Type", "yhoo.service", FT_UINT32, BASE_DEC, VALS(yhoo_service_vals), 0, NULL, HFILL }}, { &hf_yhoo_msgtype, { "Message Type", "yhoo.msgtype", FT_UINT32, BASE_DEC, VALS(yhoo_msgtype_vals), 0, "Message Type Flags", HFILL }}, { &hf_yhoo_connection_id, { "Connection ID", "yhoo.connection_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_yhoo_magic_id, { "Magic ID", "yhoo.magic_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_yhoo_unknown1, { "Unknown 1", "yhoo.unknown1", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_yhoo_len, { "Packet Length", "yhoo.len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_yhoo_nick1, { "Real Nick (nick1)", "yhoo.nick1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_yhoo_nick2, { "Active Nick (nick2)", "yhoo.nick2", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_yhoo_content, { "Content", "yhoo.content", FT_STRING, BASE_NONE, NULL, 0, "Data portion of the packet", HFILL }}, { &hf_yhoo_version, { "Version", "yhoo.version", FT_STRING, BASE_NONE, NULL, 0, "Packet version identifier", HFILL }}, }; static gint *ett[] = { &ett_yhoo, }; proto_yhoo = proto_register_protocol("Yahoo Messenger Protocol", "YHOO", "yhoo"); proto_register_field_array(proto_yhoo, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_yhoo(void) { /* * DO NOT register for port 5050, as that's used by the * old and new Yahoo messenger protocols. * * Just register as a heuristic TCP dissector, and reject stuff * not to or from that port. */ heur_dissector_add("tcp", dissect_yhoo, "Yahoo Messenger over TCP", "yhoo_tcp", proto_yhoo, HEURISTIC_ENABLE); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C
wireshark/epan/dissectors/packet-ymsg.c
/* packet-ymsg.c * Routines for Yahoo Messenger YMSG protocol packet version 13 dissection * Copyright 2003, Wayne Parrott <[email protected]> * Copied from packet-yhoo.c and updated * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include "packet-tcp.h" #include <epan/prefs.h> void proto_register_ymsg(void); void proto_reg_handoff_ymsg(void); static int proto_ymsg = -1; static int hf_ymsg_version = -1; static int hf_ymsg_vendor = -1; static int hf_ymsg_len = -1; static int hf_ymsg_service = -1; static int hf_ymsg_status = -1; static int hf_ymsg_session_id = -1; static int hf_ymsg_content = -1; static int hf_ymsg_content_line = -1; static int hf_ymsg_content_line_key = -1; static int hf_ymsg_content_line_value = -1; static gint ett_ymsg = -1; static gint ett_ymsg_content = -1; static gint ett_ymsg_content_line = -1; #define TCP_PORT_YMSG 23 /* XXX - this is Telnet! */ #define TCP_PORT_YMSG_2 25 /* And this is SMTP! */ #define TCP_PORT_YMSG_3 5050 /* This, however, is regular Yahoo Messenger */ /* desegmentation of YMSG over TCP */ static gboolean ymsg_desegment = TRUE; /* * This is from yahoolib2.c from libyahoo2. * * See also * * http://libyahoo2.sourceforge.net/ymsg-9.txt * * and * * http://www.venkydude.com/articles/yahoo.htm * * and * * http://www.cse.iitb.ac.in/~varunk/YahooProtocol.htm * * and * * http://www.geocrawler.com/archives/3/4893/2002/1/0/7459037/ * * and * * http://www.geocities.com/ziggycubbe/ym.html */ /* Service constants */ enum yahoo_service { /* these are easier to see in hex */ YAHOO_SERVICE_LOGON = 1, YAHOO_SERVICE_LOGOFF, YAHOO_SERVICE_ISAWAY, YAHOO_SERVICE_ISBACK, YAHOO_SERVICE_IDLE, /* 5 (placemarker) */ YAHOO_SERVICE_MESSAGE, YAHOO_SERVICE_IDACT, YAHOO_SERVICE_IDDEACT, YAHOO_SERVICE_MAILSTAT, YAHOO_SERVICE_USERSTAT, /* 0xa */ YAHOO_SERVICE_NEWMAIL, YAHOO_SERVICE_CHATINVITE, YAHOO_SERVICE_CALENDAR, YAHOO_SERVICE_NEWPERSONALMAIL, YAHOO_SERVICE_NEWCONTACT, YAHOO_SERVICE_ADDIDENT, /* 0x10 */ YAHOO_SERVICE_ADDIGNORE, YAHOO_SERVICE_PING, YAHOO_SERVICE_GOTGROUPRENAME, /* < 1, 36(old), 37(new) */ YAHOO_SERVICE_SYSMESSAGE = 0x14, YAHOO_SERVICE_SKINNAME = 0x15, YAHOO_SERVICE_PASSTHROUGH2 = 0x16, YAHOO_SERVICE_CONFINVITE = 0x18, YAHOO_SERVICE_CONFLOGON, YAHOO_SERVICE_CONFDECLINE, YAHOO_SERVICE_CONFLOGOFF, YAHOO_SERVICE_CONFADDINVITE, YAHOO_SERVICE_CONFMSG, YAHOO_SERVICE_CHATLOGON, YAHOO_SERVICE_CHATLOGOFF, YAHOO_SERVICE_CHATMSG = 0x20, YAHOO_SERVICE_GAMELOGON = 0x28, YAHOO_SERVICE_GAMELOGOFF, YAHOO_SERVICE_GAMEMSG = 0x2a, YAHOO_SERVICE_FILETRANSFER = 0x46, YAHOO_SERVICE_VOICECHAT = 0x4A, YAHOO_SERVICE_NOTIFY, YAHOO_SERVICE_VERIFY, YAHOO_SERVICE_P2PFILEXFER, YAHOO_SERVICE_PEERTOPEER = 0x4F, /* Checks if P2P possible */ YAHOO_SERVICE_WEBCAM, YAHOO_SERVICE_AUTHRESP = 0x54, YAHOO_SERVICE_LIST, YAHOO_SERVICE_AUTH = 0x57, YAHOO_SERVICE_AUTHBUDDY = 0x6d, YAHOO_SERVICE_ADDBUDDY = 0x83, YAHOO_SERVICE_REMBUDDY, YAHOO_SERVICE_IGNORECONTACT, /* > 1, 7, 13 < 1, 66, 13, 0*/ YAHOO_SERVICE_REJECTCONTACT, YAHOO_SERVICE_GROUPRENAME = 0x89, /* > 1, 65(new), 66(0), 67(old) */ YAHOO_SERVICE_KEEPALIVE = 0x8a, YAHOO_SERVICE_CHATONLINE = 0x96, /* > 109(id), 1, 6(abcde) < 0,1*/ YAHOO_SERVICE_CHATGOTO, YAHOO_SERVICE_CHATJOIN, /* > 1 104-room 129-1600326591 62-2 */ YAHOO_SERVICE_CHATLEAVE, YAHOO_SERVICE_CHATEXIT = 0x9b, YAHOO_SERVICE_CHATADDINVITE = 0x9d, YAHOO_SERVICE_CHATLOGOUT = 0xa0, YAHOO_SERVICE_CHATPING, YAHOO_SERVICE_COMMENT = 0xa8, YAHOO_SERVICE_GAME_INVITE = 0xb7, YAHOO_SERVICE_STEALTH_PERM = 0xb9, YAHOO_SERVICE_STEALTH_SESSION = 0xba, YAHOO_SERVICE_AVATAR = 0xbc, YAHOO_SERVICE_PICTURE_CHECKSUM = 0xbd, YAHOO_SERVICE_PICTURE = 0xbe, YAHOO_SERVICE_PICTURE_UPDATE = 0xc1, YAHOO_SERVICE_PICTURE_UPLOAD = 0xc2, YAHOO_SERVICE_YAB_UPDATE = 0xc4, YAHOO_SERVICE_Y6_VISIBLE_TOGGLE = 0xc5, /* YMSG13, key 13: 2 = invisible, 1 = visible */ YAHOO_SERVICE_Y6_STATUS_UPDATE = 0xc6, /* YMSG13 */ YAHOO_SERVICE_PICTURE_STATUS = 0xc7, /* YMSG13, key 213: 0 = none, 1 = avatar, 2 = picture */ YAHOO_SERVICE_VERIFY_ID_EXISTS = 0xc8, YAHOO_SERVICE_AUDIBLE = 0xd0, YAHOO_SERVICE_Y7_PHOTO_SHARING = 0xd2, YAHOO_SERVICE_Y7_CONTACT_DETAILS = 0xd3, /* YMSG13 */ YAHOO_SERVICE_Y7_CHAT_SESSION = 0xd4, YAHOO_SERVICE_Y7_AUTHORIZATION = 0xd6, /* YMSG13 */ YAHOO_SERVICE_Y7_FILETRANSFER = 0xdc, /* YMSG13 */ YAHOO_SERVICE_Y7_FILETRANSFERINFO, /* YMSG13 */ YAHOO_SERVICE_Y7_FILETRANSFERACCEPT, /* YMSG13 */ YAHOO_SERVICE_Y7_MINGLE = 0xe1, /* YMSG13 */ YAHOO_SERVICE_Y7_CHANGE_GROUP = 0xe7, /* YMSG13 */ YAHOO_SERVICE_STATUS_15 = 0xf0, YAHOO_SERVICE_LIST_15 = 0xf1, YAHOO_SERVICE_WEBLOGIN = 0x0226, YAHOO_SERVICE_SMS_MSG = 0x02ea }; /* Message flags */ enum yahoo_status { YAHOO_STATUS_AVAILABLE = 0, YAHOO_STATUS_BRB, YAHOO_STATUS_BUSY, YAHOO_STATUS_NOTATHOME, YAHOO_STATUS_NOTATDESK, YAHOO_STATUS_NOTINOFFICE, YAHOO_STATUS_ONPHONE, YAHOO_STATUS_ONVACATION, YAHOO_STATUS_OUTTOLUNCH, YAHOO_STATUS_STEPPEDOUT, YAHOO_STATUS_INVISIBLE = 12, YAHOO_STATUS_CUSTOM = 99, YAHOO_STATUS_IDLE = 999, YAHOO_STATUS_WEBLOGIN = 0x5a55aa55, YAHOO_STATUS_OFFLINE = 0x5a55aa56, /* don't ask */ YAHOO_STATUS_TYPING = 0x16, YAHOO_STATUS_DISCONNECTED = -1 /* in ymsg 15. doesn't mean the normal sense of 'disconnected' */ }; enum ypacket_status { YPACKET_STATUS_DISCONNECTED = -1, YPACKET_STATUS_DEFAULT = 0, YPACKET_STATUS_SERVERACK = 1, YPACKET_STATUS_GAME = 0x2, YPACKET_STATUS_AWAY = 0x4, YPACKET_STATUS_CONTINUED = 0x5, YPACKET_STATUS_INVISIBLE = 12, YPACKET_STATUS_NOTIFY = 0x16, /* TYPING */ YPACKET_STATUS_WEBLOGIN = 0x5a55aa55, YPACKET_STATUS_OFFLINE = 0x5a55aa56 }; /* The size of the below struct minus 6 bytes of content */ #define YAHOO_HEADER_SIZE 20 #if 0 struct yahoo_rawpacket { char ymsg[4]; /* Packet identification string (YMSG) */ unsigned char version[2]; /* 2 bytes, little endian */ unsigned char vendor[2]; /* 2 bytes, little endian */ unsigned char len[2]; /* length - little endian */ unsigned char service[2]; /* service - little endian */ unsigned char status[4]; /* Status - online, away etc.*/ unsigned char session_id[4]; /* Session ID */ char content[6]; /* 6 is the minimum size of the content */ }; #endif static const value_string ymsg_service_vals[] = { {YAHOO_SERVICE_LOGON, "Pager Logon"}, {YAHOO_SERVICE_LOGOFF, "Pager Logoff"}, {YAHOO_SERVICE_ISAWAY, "Is Away"}, {YAHOO_SERVICE_ISBACK, "Is Back"}, {YAHOO_SERVICE_IDLE, "Idle"}, {YAHOO_SERVICE_MESSAGE, "Message"}, {YAHOO_SERVICE_IDACT, "Activate Identity"}, {YAHOO_SERVICE_IDDEACT, "Deactivate Identity"}, {YAHOO_SERVICE_MAILSTAT, "Mail Status"}, {YAHOO_SERVICE_USERSTAT, "User Status"}, {YAHOO_SERVICE_NEWMAIL, "New Mail"}, {YAHOO_SERVICE_CHATINVITE, "Chat Invitation"}, {YAHOO_SERVICE_CALENDAR, "Calendar Reminder"}, {YAHOO_SERVICE_NEWPERSONALMAIL, "New Personals Mail"}, {YAHOO_SERVICE_NEWCONTACT, "New Friend"}, {YAHOO_SERVICE_ADDIDENT, "Add Identity"}, {YAHOO_SERVICE_ADDIGNORE, "Add Ignore"}, {YAHOO_SERVICE_PING, "Ping"}, {YAHOO_SERVICE_GOTGROUPRENAME, "Got Group Rename"}, {YAHOO_SERVICE_SYSMESSAGE, "System Message"}, {YAHOO_SERVICE_SKINNAME, "Skinname"}, {YAHOO_SERVICE_PASSTHROUGH2, "Passthrough 2"}, {YAHOO_SERVICE_CONFINVITE, "Conference Invitation"}, {YAHOO_SERVICE_CONFLOGON, "Conference Logon"}, {YAHOO_SERVICE_CONFDECLINE, "Conference Decline"}, {YAHOO_SERVICE_CONFLOGOFF, "Conference Logoff"}, {YAHOO_SERVICE_CONFADDINVITE, "Conference Additional Invitation"}, {YAHOO_SERVICE_CONFMSG, "Conference Message"}, {YAHOO_SERVICE_CHATLOGON, "Chat Logon"}, {YAHOO_SERVICE_CHATLOGOFF, "Chat Logoff"}, {YAHOO_SERVICE_CHATMSG, "Chat Message"}, {YAHOO_SERVICE_GAMELOGON, "Game Logon"}, {YAHOO_SERVICE_GAMELOGOFF, "Game Logoff"}, {YAHOO_SERVICE_GAMEMSG, "Game Message"}, {YAHOO_SERVICE_FILETRANSFER, "File Transfer"}, {YAHOO_SERVICE_VOICECHAT, "Voice Chat"}, {YAHOO_SERVICE_NOTIFY, "Notify"}, {YAHOO_SERVICE_VERIFY, "Verify"}, {YAHOO_SERVICE_P2PFILEXFER, "P2P File Transfer"}, {YAHOO_SERVICE_PEERTOPEER, "Peer To Peer"}, {YAHOO_SERVICE_WEBCAM, "WebCam"}, {YAHOO_SERVICE_AUTHRESP, "Authentication Response"}, {YAHOO_SERVICE_LIST, "List"}, {YAHOO_SERVICE_AUTH, "Authentication"}, {YAHOO_SERVICE_AUTHBUDDY, "Authorize Buddy"}, {YAHOO_SERVICE_ADDBUDDY, "Add Buddy"}, {YAHOO_SERVICE_REMBUDDY, "Remove Buddy"}, {YAHOO_SERVICE_IGNORECONTACT, "Ignore Contact"}, {YAHOO_SERVICE_REJECTCONTACT, "Reject Contact"}, {YAHOO_SERVICE_GROUPRENAME, "Group Rename"}, {YAHOO_SERVICE_KEEPALIVE, "Keep Alive"}, {YAHOO_SERVICE_CHATONLINE, "Chat Online"}, {YAHOO_SERVICE_CHATGOTO, "Chat Goto"}, {YAHOO_SERVICE_CHATJOIN, "Chat Join"}, {YAHOO_SERVICE_CHATLEAVE, "Chat Leave"}, {YAHOO_SERVICE_CHATEXIT, "Chat Exit"}, {YAHOO_SERVICE_CHATADDINVITE, "Chat Invite"}, {YAHOO_SERVICE_CHATLOGOUT, "Chat Logout"}, {YAHOO_SERVICE_CHATPING, "Chat Ping"}, {YAHOO_SERVICE_COMMENT, "Comment"}, {YAHOO_SERVICE_GAME_INVITE, "Game Invite"}, {YAHOO_SERVICE_STEALTH_PERM, "Stealth Permanent"}, {YAHOO_SERVICE_STEALTH_SESSION, "Stealth Session"}, {YAHOO_SERVICE_AVATAR, "Avatar"}, {YAHOO_SERVICE_PICTURE_CHECKSUM, "Picture Checksum"}, {YAHOO_SERVICE_PICTURE, "Picture"}, {YAHOO_SERVICE_PICTURE_UPDATE, "Picture Update"}, {YAHOO_SERVICE_PICTURE_UPLOAD, "Picture Upload"}, {YAHOO_SERVICE_YAB_UPDATE, "Yahoo Address Book Update"}, {YAHOO_SERVICE_Y6_VISIBLE_TOGGLE, "Y6 Visibility Toggle"}, {YAHOO_SERVICE_Y6_STATUS_UPDATE, "Y6 Status Update"}, {YAHOO_SERVICE_PICTURE_STATUS, "Picture Sharing Status"}, {YAHOO_SERVICE_VERIFY_ID_EXISTS, "Verify ID Exists"}, {YAHOO_SERVICE_AUDIBLE, "Audible"}, {YAHOO_SERVICE_Y7_CONTACT_DETAILS, "Y7 Contact Details"}, {YAHOO_SERVICE_Y7_CHAT_SESSION, "Y7 Chat Session"}, {YAHOO_SERVICE_Y7_AUTHORIZATION, "Y7 Buddy Authorization"}, {YAHOO_SERVICE_Y7_FILETRANSFER, "Y7 File Transfer"}, {YAHOO_SERVICE_Y7_FILETRANSFERINFO, "Y7 File Transfer Information"}, {YAHOO_SERVICE_Y7_FILETRANSFERACCEPT, "Y7 File Transfer Accept"}, {YAHOO_SERVICE_Y7_CHANGE_GROUP, "Y7 Change Group"}, {YAHOO_SERVICE_STATUS_15, "Status V15"}, {YAHOO_SERVICE_LIST_15, "List V15"}, {YAHOO_SERVICE_WEBLOGIN, "WebLogin"}, {YAHOO_SERVICE_SMS_MSG, "SMS Message"}, {0, NULL} }; static const value_string ymsg_status_vals[] = { {YPACKET_STATUS_DISCONNECTED, "Disconnected"}, {YPACKET_STATUS_DEFAULT, "Default"}, {YPACKET_STATUS_SERVERACK, "Server Ack"}, {YPACKET_STATUS_GAME, "Playing Game"}, {YPACKET_STATUS_AWAY, "Away"}, {YPACKET_STATUS_CONTINUED, "More Packets??"}, {YPACKET_STATUS_NOTIFY, "Notify"}, {YPACKET_STATUS_WEBLOGIN, "Web Login"}, {YPACKET_STATUS_OFFLINE, "Offline"}, {0, NULL} }; /* Find the end of the current content line and return its length */ static int get_content_item_length(tvbuff_t *tvb, int offset) { int origoffset = offset; /* Keep reading until the magic delimiter (or end of tvb) is found */ while (tvb_captured_length_remaining(tvb, offset) >= 2) { if (tvb_get_ntohs(tvb, offset) == 0xc080) { break; } offset += 1; } return offset - origoffset; } static guint get_ymsg_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { guint plen; /* * Get the length of the YMSG packet. */ plen = tvb_get_ntohs(tvb, offset + 8); /* * That length doesn't include the length of the header itself; add that in. */ return plen + YAHOO_HEADER_SIZE; } static int dissect_ymsg_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { proto_tree *ymsg_tree, *ti; proto_item *content_item; proto_tree *content_tree; char *keybuf; char *valbuf; int keylen; int vallen; int content_len; int offset = 0; col_set_str(pinfo->cinfo, COL_PROTOCOL, "YMSG"); col_add_fstr(pinfo->cinfo, COL_INFO, "%s (status=%s) ", val_to_str(tvb_get_ntohs(tvb, offset + 10), ymsg_service_vals, "Unknown Service: %u"), val_to_str(tvb_get_ntohl(tvb, offset + 12), ymsg_status_vals, "Unknown Status: %u") ); if (tree) { ti = proto_tree_add_item(tree, proto_ymsg, tvb, offset, -1, ENC_NA); ymsg_tree = proto_item_add_subtree(ti, ett_ymsg); offset += 4; /* skip the YMSG string */ /* Version */ proto_tree_add_item(ymsg_tree, hf_ymsg_version, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; /* Vendor ID */ proto_tree_add_item(ymsg_tree, hf_ymsg_vendor, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; /* Length */ content_len = tvb_get_ntohs(tvb, offset); proto_tree_add_item(ymsg_tree, hf_ymsg_len, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; /* Service */ proto_item_append_text(ti, " (%s)", val_to_str_const(tvb_get_ntohs(tvb, offset), ymsg_service_vals, "Unknown")); proto_tree_add_item(ymsg_tree, hf_ymsg_service, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; /* Status */ proto_tree_add_item(ymsg_tree, hf_ymsg_status, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; /* Session id */ proto_tree_add_item(ymsg_tree, hf_ymsg_session_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; /* Contents */ if (content_len) { /* Create content subtree */ content_item = proto_tree_add_item(ymsg_tree, hf_ymsg_content, tvb, offset, -1, ENC_NA); content_tree = proto_item_add_subtree(content_item, ett_ymsg_content); /* Each entry consists of: <key string> <delimiter> <value string> <delimiter> */ /* Parse and show each line of the contents */ for (;;) { proto_item *ti_2; proto_tree *content_line_tree; /* Don't continue unless there is room for another whole item. (including 2 2-byte delimiters */ if (offset >= (YAHOO_HEADER_SIZE+content_len-4)) { break; } /* Get the length of the key */ keylen = get_content_item_length(tvb, offset); /* Extract the key */ keybuf = tvb_format_text(pinfo->pool, tvb, offset, keylen); /* Get the length of the value */ vallen = get_content_item_length(tvb, offset+keylen+2); /* Extract the value */ valbuf = tvb_format_text(pinfo->pool, tvb, offset+keylen+2, vallen); /* Add a text item with the key... */ ti_2 = proto_tree_add_string_format(content_tree, hf_ymsg_content_line, tvb, offset, keylen+2+vallen+2, "", "%s:%s", keybuf, valbuf); content_line_tree = proto_item_add_subtree(ti_2, ett_ymsg_content_line); /* And add the key and value separately inside */ proto_tree_add_item(content_line_tree, hf_ymsg_content_line_key, tvb, offset, keylen, ENC_ASCII); proto_tree_add_item(content_line_tree, hf_ymsg_content_line_value, tvb, offset+keylen+2, vallen, ENC_ASCII); /* Move beyone key and value lines */ offset += keylen+2+vallen+2; } } } col_set_fence(pinfo->cinfo, COL_INFO); return tvb_captured_length(tvb); } static gboolean dissect_ymsg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { if (tvb_captured_length(tvb) < 4) { return FALSE; } if (tvb_memeql(tvb, 0, (const guint8*)"YMSG", 4) == -1) { /* Not a Yahoo Messenger packet. */ return FALSE; } tcp_dissect_pdus(tvb, pinfo, tree, ymsg_desegment, 10, get_ymsg_pdu_len, dissect_ymsg_pdu, data); return TRUE; } void proto_register_ymsg(void) { static hf_register_info hf[] = { { &hf_ymsg_version, { "Version", "ymsg.version", FT_UINT16, BASE_DEC, NULL, 0, "Packet version identifier", HFILL }}, { &hf_ymsg_vendor, { "Vendor ID", "ymsg.vendor", FT_UINT16, BASE_DEC, NULL, 0, "Vendor identifier", HFILL }}, { &hf_ymsg_len, { "Packet Length", "ymsg.len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_ymsg_service, { "Service", "ymsg.service", FT_UINT16, BASE_DEC, VALS(ymsg_service_vals), 0, "Service Type", HFILL }}, { &hf_ymsg_status, { "Status", "ymsg.status", FT_UINT32, BASE_DEC, VALS(ymsg_status_vals), 0, "Message Type Flags", HFILL }}, { &hf_ymsg_session_id, { "Session ID", "ymsg.session_id", FT_UINT32, BASE_HEX, NULL, 0, "Connection ID", HFILL }}, { &hf_ymsg_content, { "Content", "ymsg.content", FT_BYTES, BASE_NONE, NULL, 0, "Data portion of the packet", HFILL }}, { &hf_ymsg_content_line, { "Content-line", "ymsg.content-line", FT_STRING, BASE_NONE, NULL, 0, "Content line", HFILL }}, { &hf_ymsg_content_line_key, { "Key", "ymsg.content-line.key", FT_STRING, BASE_NONE, NULL, 0, "Content line key", HFILL }}, { &hf_ymsg_content_line_value, { "Value", "ymsg.content-line.value", FT_STRING, BASE_NONE, NULL, 0, "Content line value", HFILL }} }; static gint *ett[] = { &ett_ymsg, &ett_ymsg_content, &ett_ymsg_content_line }; module_t *ymsg_module; proto_ymsg = proto_register_protocol("Yahoo YMSG Messenger Protocol", "YMSG", "ymsg"); proto_register_field_array(proto_ymsg, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); ymsg_module = prefs_register_protocol(proto_ymsg, NULL); prefs_register_bool_preference(ymsg_module, "desegment", "Reassemble YMSG messages spanning multiple TCP segments", "Whether the YMSG dissector should reassemble messages spanning multiple TCP segments. " "To use this option, you must also enable" " \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.", &ymsg_desegment); } void proto_reg_handoff_ymsg(void) { /* * DO NOT register for port 23, as that's Telnet, or for port * 25, as that's SMTP. * * Also, DO NOT register for port 5050, as that's used by the * old and new Yahoo messenger protocols. * * Just register as a heuristic TCP dissector, and reject stuff * that doesn't begin with a YMSG signature. */ heur_dissector_add("tcp", dissect_ymsg, "Yahoo YMSG Messenger over TCP", "ymsg_tcp", proto_ymsg, HEURISTIC_ENABLE); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C
wireshark/epan/dissectors/packet-ypbind.c
/* packet-ypbind.c * Routines for ypbind dissection * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Copied from packet-smb.c * * 2001 Ronnie Sahlberg, added dissectors for the commands * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include "packet-rpc.h" #include "packet-ypbind.h" void proto_register_ypbind(void); void proto_reg_handoff_ypbind(void); static int proto_ypbind = -1; static int hf_ypbind_procedure_v1 = -1; static int hf_ypbind_procedure_v2 = -1; static int hf_ypbind_domain = -1; static int hf_ypbind_resp_type = -1; /* static int hf_ypbind_error = -1; */ static int hf_ypbind_addr = -1; static int hf_ypbind_port = -1; static int hf_ypbind_setdom_version = -1; static gint ett_ypbind = -1; static int dissect_ypbind_domain_v2_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { /* domain */ return dissect_rpc_string(tvb, tree, hf_ypbind_domain, 0, NULL); } #define YPBIND_RESP_TYPE_SUCC_VAL 1 #define YPBIND_RESP_TYPE_FAIL_VAL 2 static const value_string resp_type_vals[] = { {YPBIND_RESP_TYPE_SUCC_VAL, "SUCC_VAL"}, {YPBIND_RESP_TYPE_FAIL_VAL, "FAIL_VAL"}, {0, NULL} }; #if 0 #define YPBIND_ERROR_ERR 1 #define YPBIND_ERROR_NOSERV 2 #define YPBIND_ERROR_RESC 3 static const value_string error_vals[] = { {YPBIND_ERROR_ERR, "Internal error"}, {YPBIND_ERROR_NOSERV, "No bound server for passed domain"}, {YPBIND_ERROR_RESC, "System resource allocation failure"}, {0, NULL} }; #endif static int dissect_ypbind_domain_v2_reply(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { guint32 type; int offset = 0; /* response type */ type=tvb_get_ntohl(tvb, offset); offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_resp_type, offset); switch(type){ case YPBIND_RESP_TYPE_SUCC_VAL: /* ip address */ proto_tree_add_item(tree, hf_ypbind_addr, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; /* port */ offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_port, offset); break; case YPBIND_RESP_TYPE_FAIL_VAL: /* error */ offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_resp_type, offset); break; } return offset; } static int dissect_ypbind_setdomain_v2_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; /* domain */ offset = dissect_rpc_string(tvb, tree, hf_ypbind_domain, offset, NULL); /* ip address */ proto_tree_add_item(tree, hf_ypbind_addr, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; /* port */ offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_port, offset); /* version */ offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_setdom_version, offset); return offset; } /* proc number, "proc name", dissect_request, dissect_reply */ static const vsff ypbind1_proc[] = { { YPBINDPROC_NULL, "NULL", dissect_rpc_void, dissect_rpc_void }, { YPBINDPROC_DOMAIN, "DOMAIN", dissect_rpc_unknown, dissect_rpc_unknown }, { YPBINDPROC_SETDOM, "SETDOMAIN", dissect_rpc_unknown, dissect_rpc_unknown }, { 0, NULL, NULL, NULL } }; static const value_string ypbind1_proc_vals[] = { { YPBINDPROC_NULL, "NULL" }, { YPBINDPROC_DOMAIN, "DOMAIN" }, { YPBINDPROC_SETDOM, "SETDOMAIN" }, { 0, NULL } }; /* end of YPBind version 1 */ static const vsff ypbind2_proc[] = { { YPBINDPROC_NULL, "NULL", dissect_rpc_void, dissect_rpc_void }, { YPBINDPROC_DOMAIN, "DOMAIN", dissect_ypbind_domain_v2_request, dissect_ypbind_domain_v2_reply}, { YPBINDPROC_SETDOM, "SETDOMAIN", dissect_ypbind_setdomain_v2_request, dissect_rpc_void }, { 0, NULL, NULL, NULL } }; static const value_string ypbind2_proc_vals[] = { { YPBINDPROC_NULL, "NULL" }, { YPBINDPROC_DOMAIN, "DOMAIN" }, { YPBINDPROC_SETDOM, "SETDOMAIN" }, { 0, NULL } }; /* end of YPBind version 2 */ static const rpc_prog_vers_info ypbind_vers_info[] = { { 1, ypbind1_proc, &hf_ypbind_procedure_v1 }, { 2, ypbind2_proc, &hf_ypbind_procedure_v2 }, }; void proto_register_ypbind(void) { static hf_register_info hf[] = { { &hf_ypbind_procedure_v1, { "V1 Procedure", "ypbind.procedure_v1", FT_UINT32, BASE_DEC, VALS(ypbind1_proc_vals), 0, NULL, HFILL }}, { &hf_ypbind_procedure_v2, { "V2 Procedure", "ypbind.procedure_v2", FT_UINT32, BASE_DEC, VALS(ypbind2_proc_vals), 0, NULL, HFILL }}, { &hf_ypbind_domain, { "Domain", "ypbind.domain", FT_STRING, BASE_NONE, NULL, 0, "Name of the NIS/YP Domain", HFILL }}, { &hf_ypbind_resp_type, { "Response Type", "ypbind.resp_type", FT_UINT32, BASE_DEC, VALS(resp_type_vals), 0, NULL, HFILL }}, #if 0 { &hf_ypbind_error, { "Error", "ypbind.error", FT_UINT32, BASE_DEC, VALS(error_vals), 0, "YPBIND Error code", HFILL }}, #endif { &hf_ypbind_addr, { "IP Addr", "ypbind.addr", FT_IPv4, BASE_NONE, NULL, 0, "IP Address of server", HFILL }}, { &hf_ypbind_port, { "Port", "ypbind.port", FT_UINT32, BASE_DEC, NULL, 0, "Port to use", HFILL }}, { &hf_ypbind_setdom_version, { "Version", "ypbind.setdom.version", FT_UINT32, BASE_DEC, NULL, 0, "Version of setdom", HFILL }}, }; static gint *ett[] = { &ett_ypbind, }; proto_ypbind = proto_register_protocol("Yellow Pages Bind", "YPBIND", "ypbind"); proto_register_field_array(proto_ypbind, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_ypbind(void) { /* Register the protocol as RPC */ rpc_init_prog(proto_ypbind, YPBIND_PROGRAM, ett_ypbind, G_N_ELEMENTS(ypbind_vers_info), ypbind_vers_info); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C/C++
wireshark/epan/dissectors/packet-ypbind.h
/* packet-ypbind.h * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_YPBIND_H #define PACKET_YPBIND_H #define YPBINDPROC_NULL 0 #define YPBINDPROC_DOMAIN 1 #define YPBINDPROC_SETDOM 2 #define YPBIND_PROGRAM 100007 #endif
C
wireshark/epan/dissectors/packet-yppasswd.c
/* packet-yppasswd.c * Routines for yppasswd dissection * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include "packet-rpc.h" #include "packet-yppasswd.h" void proto_register_yppasswd(void); void proto_reg_handoff_yppasswd(void); static int proto_yppasswd = -1; static int hf_yppasswd_procedure_v1 = -1; static int hf_yppasswd_status = -1; static int hf_yppasswd_oldpass = -1; static int hf_yppasswd_newpw = -1; static int hf_yppasswd_newpw_name = -1; static int hf_yppasswd_newpw_passwd = -1; static int hf_yppasswd_newpw_uid = -1; static int hf_yppasswd_newpw_gid = -1; static int hf_yppasswd_newpw_gecos = -1; static int hf_yppasswd_newpw_dir = -1; static int hf_yppasswd_newpw_shell = -1; static gint ett_yppasswd = -1; static gint ett_yppasswd_newpw = -1; static int dissect_yppasswd_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { proto_item *lock_item = NULL; proto_tree *lock_tree = NULL; int offset = 0; offset = dissect_rpc_string(tvb, tree, hf_yppasswd_oldpass, offset, NULL); lock_item = proto_tree_add_item(tree, hf_yppasswd_newpw, tvb, offset, -1, ENC_NA); lock_tree = proto_item_add_subtree(lock_item, ett_yppasswd_newpw); offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_name, offset, NULL); offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_passwd, offset, NULL); offset = dissect_rpc_uint32(tvb, lock_tree, hf_yppasswd_newpw_uid, offset); offset = dissect_rpc_uint32(tvb, lock_tree, hf_yppasswd_newpw_gid, offset); offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_gecos, offset, NULL); offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_dir, offset, NULL); offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_shell, offset, NULL); return offset; } static int dissect_yppasswd_reply(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { return dissect_rpc_uint32(tvb, tree, hf_yppasswd_status, 0); } /* proc number, "proc name", dissect_request, dissect_reply */ static const vsff yppasswd1_proc[] = { { YPPASSWDPROC_NULL, "NULL", dissect_rpc_void, dissect_rpc_void }, { YPPASSWDPROC_UPDATE, "UPDATE", dissect_yppasswd_call, dissect_yppasswd_reply }, { 0, NULL, NULL, NULL } }; static const value_string yppasswd1_proc_vals[] = { { YPPASSWDPROC_NULL, "NULL" }, { YPPASSWDPROC_UPDATE, "UPDATE" }, { 0, NULL } }; static const rpc_prog_vers_info yppasswd_vers_info[] = { { 1, yppasswd1_proc, &hf_yppasswd_procedure_v1 }, }; void proto_register_yppasswd(void) { static hf_register_info hf[] = { { &hf_yppasswd_procedure_v1, { "V1 Procedure", "yppasswd.procedure_v1", FT_UINT32, BASE_DEC, VALS(yppasswd1_proc_vals), 0, NULL, HFILL }}, { &hf_yppasswd_status, { "status", "yppasswd.status", FT_UINT32, BASE_DEC, NULL, 0, "YPPasswd update status", HFILL }}, { &hf_yppasswd_oldpass, { "oldpass", "yppasswd.oldpass", FT_STRING, BASE_NONE, NULL, 0, "Old encrypted password", HFILL }}, { &hf_yppasswd_newpw, { "newpw", "yppasswd.newpw", FT_NONE, BASE_NONE, NULL, 0, "New passwd entry", HFILL }}, { &hf_yppasswd_newpw_name, { "name", "yppasswd.newpw.name", FT_STRING, BASE_NONE, NULL, 0, "Username", HFILL }}, { &hf_yppasswd_newpw_passwd, { "passwd", "yppasswd.newpw.passwd", FT_STRING, BASE_NONE, NULL, 0, "Encrypted passwd", HFILL }}, { &hf_yppasswd_newpw_uid, { "uid", "yppasswd.newpw.uid", FT_UINT32, BASE_DEC, NULL, 0, "UserID", HFILL }}, { &hf_yppasswd_newpw_gid, { "gid", "yppasswd.newpw.gid", FT_UINT32, BASE_DEC, NULL, 0, "GroupID", HFILL }}, { &hf_yppasswd_newpw_gecos, { "gecos", "yppasswd.newpw.gecos", FT_STRING, BASE_NONE, NULL, 0, "In real life name", HFILL }}, { &hf_yppasswd_newpw_dir, { "dir", "yppasswd.newpw.dir", FT_STRING, BASE_NONE, NULL, 0, "Home Directory", HFILL }}, { &hf_yppasswd_newpw_shell, { "shell", "yppasswd.newpw.shell", FT_STRING, BASE_NONE, NULL, 0, "Default shell", HFILL }}, }; static gint *ett[] = { &ett_yppasswd, &ett_yppasswd_newpw, }; proto_yppasswd = proto_register_protocol("Yellow Pages Passwd", "YPPASSWD", "yppasswd"); proto_register_field_array(proto_yppasswd, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_yppasswd(void) { /* Register the protocol as RPC */ rpc_init_prog(proto_yppasswd, YPPASSWD_PROGRAM, ett_yppasswd, G_N_ELEMENTS(yppasswd_vers_info), yppasswd_vers_info); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C/C++
wireshark/epan/dissectors/packet-yppasswd.h
/* packet-yppasswd.h * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_YPPASSWD_H #define PACKET_YPPASSWD_H #define YPPASSWDPROC_NULL 0 #define YPPASSWDPROC_UPDATE 1 #define YPPASSWD_PROGRAM 100009 #endif
C
wireshark/epan/dissectors/packet-ypserv.c
/* packet-ypserv.c * Routines for ypserv dissection * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Copied from packet-smb.c * * 2001 Ronnie Sahlberg <See AUTHORS for email> * Added all remaining dissectors for this protocol * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include "packet-rpc.h" #include "packet-ypserv.h" void proto_register_ypserv(void); void proto_reg_handoff_ypserv(void); static int proto_ypserv = -1; static int hf_ypserv_procedure_v1 = -1; static int hf_ypserv_procedure_v2 = -1; static int hf_ypserv_domain = -1; static int hf_ypserv_servesdomain = -1; static int hf_ypserv_map = -1; static int hf_ypserv_key = -1; static int hf_ypserv_peer = -1; static int hf_ypserv_more = -1; static int hf_ypserv_ordernum = -1; static int hf_ypserv_transid = -1; static int hf_ypserv_prog = -1; static int hf_ypserv_port = -1; static int hf_ypserv_value = -1; static int hf_ypserv_status = -1; static int hf_ypserv_map_parms = -1; static int hf_ypserv_xfrstat = -1; static gint ett_ypserv = -1; static gint ett_ypserv_map_parms = -1; static const value_string ypstat[] = { { 1, "YP_TRUE" }, { 2, "YP_NOMORE" }, { 0, "YP_FALSE" }, { -1, "YP_NOMAP" }, { -2, "YP_NODOM" }, { -3, "YP_NOKEY" }, { -4, "YP_BADOP" }, { -5, "YP_BADDB" }, { -6, "YP_YPERR" }, { -7, "YP_BADARGS" }, { -8, "YP_VERS" }, { 0, NULL }, }; static const value_string xfrstat[] = { { 1, "YPXFR_SUCC" }, { 2, "YPXFR_AGE" }, { -1, "YPXFR_NOMAP" }, { -2, "YPXFR_NODOM" }, { -3, "YPXFR_RSRC" }, { -4, "YPXFR_RPC" }, { -5, "YPXFR_MADDR" }, { -6, "YPXFR_YPERR" }, { -7, "YPXFR_BADARGS" }, { -8, "YPXFR_DBM" }, { -9, "YPXFR_FILE" }, { -10, "YPXFR_SKEW" }, { -11, "YPXFR_CLEAR" }, { -12, "YPXFR_FORCE" }, { -13, "YPXFR_XFRERR" }, { -14, "YPXFR_REFUSED" }, { 0, NULL }, }; static int dissect_ypserv_status(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, gint32 *rstatus) { gint32 status; const char *err; status=tvb_get_ntohl(tvb, offset); if(rstatus){ *rstatus=status; } offset = dissect_rpc_uint32(tvb, tree, hf_ypserv_status, offset); if(status<0){ err=val_to_str(status, ypstat, "Unknown error:%u"); col_append_fstr(pinfo->cinfo, COL_INFO," %s", err); proto_item_append_text(tree, " Error:%s", err); } return offset; } static int dissect_domain_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { proto_item_append_text(tree, " DOMAIN call"); return dissect_rpc_string(tvb,tree,hf_ypserv_domain,0,NULL); } static int dissect_domain_nonack_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { proto_item_append_text(tree, " DOMAIN_NONACK call"); return dissect_rpc_string(tvb,tree,hf_ypserv_domain,0,NULL); } static int dissect_maplist_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { proto_item_append_text(tree, " MAPLIST call"); return dissect_rpc_string(tvb,tree,hf_ypserv_domain,0,NULL); } static int dissect_domain_reply(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " DOMAIN reply"); proto_tree_add_item(tree, hf_ypserv_servesdomain, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; return offset; } static int dissect_domain_nonack_reply(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " DOMAIN_NONACK reply"); proto_tree_add_item(tree, hf_ypserv_servesdomain, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; return offset; } static int dissect_match_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { const char *str; int offset = 0; proto_item_append_text(tree, " MATCH call"); /*domain*/ offset = dissect_rpc_string(tvb, tree, hf_ypserv_domain, offset, &str); col_append_fstr(pinfo->cinfo, COL_INFO," %s/", str); proto_item_append_text(tree, " %s/", str); /*map*/ offset = dissect_rpc_string(tvb, tree, hf_ypserv_map, offset, &str); col_append_fstr(pinfo->cinfo, COL_INFO,"%s/", str); proto_item_append_text(tree, "%s/", str); /*key*/ offset = dissect_rpc_string(tvb, tree, hf_ypserv_key, offset, &str); col_append_str(pinfo->cinfo, COL_INFO, str); proto_item_append_text(tree, "%s", str); return offset; } static int dissect_match_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { gint32 status; const char *str; int offset = 0; proto_item_append_text(tree, " MATCH reply"); offset = dissect_ypserv_status(tvb, offset, pinfo, tree, &status); if(status>=0){ offset = dissect_rpc_string(tvb, tree, hf_ypserv_value,offset, &str); col_append_fstr(pinfo->cinfo, COL_INFO," %s", str); proto_item_append_text(tree, " %s", str); } else { offset = dissect_rpc_string(tvb, tree, hf_ypserv_value,offset, NULL); } return offset; } static int dissect_first_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " FIRST call"); /* * XXX - does Sun's "yp.x" lie, and claim that the argument to a * FIRST call is a "ypreq_key" rather than a "ypreq_nokey"? * You presumably need the key for NEXT, as "next" is "next * after some entry", and the key tells you which entry, but * you don't need a key for FIRST, as there's only one entry that * is the first entry. * * The NIS server originally used DBM, which has a "firstkey()" * call, with no argument, and a "nextkey()" argument, with * a key argument. (Heck, it might *still* use DBM.) * * Given that, and given that at least one FIRST call from a Sun * running Solaris 8 (the Sun on which I'm typing this, in fact) * had a "ypreq_nokey" as the argument, I'm assuming that "yp.x" * is buggy. */ offset = dissect_rpc_string(tvb, tree, hf_ypserv_domain, offset, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_map, offset, NULL); return offset; } static int dissect_first_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " FIRST reply"); offset = dissect_ypserv_status(tvb, offset, pinfo, tree, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_value, offset, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_key, offset, NULL); return offset; } static int dissect_next_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " NEXT reply"); offset = dissect_ypserv_status(tvb, offset, pinfo, tree, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_value, offset, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_key, offset, NULL); return offset; } static int dissect_next_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " NEXT call"); offset = dissect_rpc_string(tvb, tree, hf_ypserv_domain, offset, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_map, offset, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_key, offset, NULL); return offset; } static int dissect_xfr_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { proto_item *sub_item=NULL; proto_tree *sub_tree=NULL; int offset = 0; int start_offset = offset; proto_item_append_text(tree, " XFR call"); if(tree){ sub_item = proto_tree_add_item(tree, hf_ypserv_map_parms, tvb, offset, -1, ENC_NA); if(sub_item) sub_tree = proto_item_add_subtree(sub_item, ett_ypserv_map_parms); } offset = dissect_rpc_string(tvb, sub_tree, hf_ypserv_domain, offset, NULL); offset = dissect_rpc_string(tvb, sub_tree, hf_ypserv_map, offset, NULL); offset = dissect_rpc_uint32(tvb, sub_tree, hf_ypserv_ordernum, offset); offset = dissect_rpc_string(tvb, sub_tree, hf_ypserv_peer, offset, NULL); proto_tree_add_item(tree, hf_ypserv_transid, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; offset = dissect_rpc_uint32(tvb, tree, hf_ypserv_prog, offset); offset = dissect_rpc_uint32(tvb, tree, hf_ypserv_port, offset); if(sub_item) proto_item_set_len(sub_item, offset - start_offset); return offset; } static int dissect_clear_call(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " CLEAR call"); return offset; } static int dissect_clear_reply(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { proto_item_append_text(tree, " CLEAR reply"); return 0; } static int dissect_xfr_reply(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " XFR reply"); proto_tree_add_item(tree, hf_ypserv_transid, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; offset = dissect_rpc_uint32(tvb, tree, hf_ypserv_xfrstat, offset); return offset; } static int dissect_order_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { const char *str; int offset = 0; proto_item_append_text(tree, " ORDER call"); /*domain*/ offset = dissect_rpc_string(tvb, tree, hf_ypserv_domain, offset, &str); col_append_fstr(pinfo->cinfo, COL_INFO," %s/", str); proto_item_append_text(tree, " %s/", str); /*map*/ offset = dissect_rpc_string(tvb, tree, hf_ypserv_map, offset, &str); col_append_str(pinfo->cinfo, COL_INFO, str); proto_item_append_text(tree, "%s", str); return offset; } static int dissect_all_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " ALL call"); offset = dissect_rpc_string(tvb, tree, hf_ypserv_domain, offset, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_map, offset, NULL); return offset; } static int dissect_master_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " MASTER call"); offset = dissect_rpc_string(tvb, tree, hf_ypserv_domain, offset, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_map, offset, NULL); return offset; } static int dissect_all_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { guint32 more; int offset = 0; proto_item_append_text(tree, " ALL reply"); for (;;) { more = tvb_get_ntohl(tvb, offset); offset = dissect_rpc_uint32(tvb, tree, hf_ypserv_more, offset); if (!more) break; offset = dissect_ypserv_status(tvb, offset, pinfo, tree, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_value, offset, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_key, offset, NULL); } return offset; } static int dissect_master_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " MASTER reply"); offset = dissect_ypserv_status(tvb, offset, pinfo, tree, NULL); offset = dissect_rpc_string(tvb, tree, hf_ypserv_peer, offset, NULL); return offset; } static int dissect_order_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { guint32 num; int offset = 0; proto_item_append_text(tree, " ORDER reply"); offset = dissect_ypserv_status(tvb, offset, pinfo, tree, NULL); /*order number*/ num=tvb_get_ntohl(tvb, offset); offset = dissect_rpc_uint32(tvb, tree, hf_ypserv_ordernum, offset); col_append_fstr(pinfo->cinfo, COL_INFO," 0x%08x", num); proto_item_append_text(tree, " 0x%08x", num); return offset; } static int dissect_maplist_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int offset = 0; proto_item_append_text(tree, " MAPLIST reply"); offset = dissect_ypserv_status(tvb, offset, pinfo, tree, NULL); while(tvb_get_ntohl(tvb,offset)){ offset = dissect_rpc_uint32(tvb, tree, hf_ypserv_more, offset); offset = dissect_rpc_string(tvb, tree, hf_ypserv_map, offset, NULL); } offset = dissect_rpc_uint32(tvb, tree, hf_ypserv_more, offset); return offset; } /* proc number, "proc name", dissect_request, dissect_reply */ /* someone please get me a version 1 trace */ static const vsff ypserv1_proc[] = { { 0, "NULL", dissect_rpc_void, dissect_rpc_void }, { YPPROC_DOMAIN, "DOMAIN", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_DOMAIN_NONACK, "DOMAIN_NONACK", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_MATCH, "MATCH", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_FIRST, "FIRST", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_NEXT, "NEXT", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_XFR, "XFR", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_CLEAR, "CLEAR", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_ALL, "ALL", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_MASTER, "MASTER", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_ORDER, "ORDER", dissect_rpc_unknown, dissect_rpc_unknown }, { YPPROC_MAPLIST, "MAPLIST", dissect_rpc_unknown, dissect_rpc_unknown }, { 0, NULL, NULL, NULL } }; static const value_string ypserv1_proc_vals[] = { { YPPROC_DOMAIN, "DOMAIN" }, { YPPROC_DOMAIN_NONACK, "DOMAIN_NONACK" }, { YPPROC_MATCH, "MATCH" }, { YPPROC_FIRST, "FIRST" }, { YPPROC_NEXT, "NEXT" }, { YPPROC_XFR, "XFR" }, { YPPROC_CLEAR, "CLEAR" }, { YPPROC_ALL, "ALL" }, { YPPROC_MASTER, "MASTER" }, { YPPROC_ORDER, "ORDER" }, { YPPROC_MAPLIST, "MAPLIST" }, { 0, NULL } }; /* end of YPServ version 1 */ /* proc number, "proc name", dissect_request, dissect_reply */ static const vsff ypserv2_proc[] = { { 0, "NULL", dissect_rpc_void, dissect_rpc_void }, { YPPROC_DOMAIN, "DOMAIN", dissect_domain_call, dissect_domain_reply }, { YPPROC_DOMAIN_NONACK, "DOMAIN_NONACK", dissect_domain_nonack_call, dissect_domain_nonack_reply }, { YPPROC_MATCH, "MATCH", dissect_match_call, dissect_match_reply }, { YPPROC_FIRST, "FIRST", dissect_first_call, dissect_first_reply }, { YPPROC_NEXT, "NEXT", dissect_next_call, dissect_next_reply }, { YPPROC_XFR, "XFR", dissect_xfr_call, dissect_xfr_reply }, { YPPROC_CLEAR, "CLEAR", dissect_clear_call, dissect_clear_reply }, { YPPROC_ALL, "ALL", dissect_all_call, dissect_all_reply }, { YPPROC_MASTER, "MASTER", dissect_master_call, dissect_master_reply }, { YPPROC_ORDER, "ORDER", dissect_order_call, dissect_order_reply }, { YPPROC_MAPLIST, "MAPLIST", dissect_maplist_call, dissect_maplist_reply }, { 0, NULL, NULL, NULL } }; static const value_string ypserv2_proc_vals[] = { { YPPROC_DOMAIN, "DOMAIN" }, { YPPROC_DOMAIN_NONACK, "DOMAIN_NONACK" }, { YPPROC_MATCH, "MATCH" }, { YPPROC_FIRST, "FIRST" }, { YPPROC_NEXT, "NEXT" }, { YPPROC_XFR, "XFR" }, { YPPROC_CLEAR, "CLEAR" }, { YPPROC_ALL, "ALL" }, { YPPROC_MASTER, "MASTER" }, { YPPROC_ORDER, "ORDER" }, { YPPROC_MAPLIST, "MAPLIST" }, { 0, NULL } }; /* end of YPServ version 2 */ static const rpc_prog_vers_info ypserv_vers_info[] = { { 1, ypserv1_proc, &hf_ypserv_procedure_v1 }, { 2, ypserv2_proc, &hf_ypserv_procedure_v2 }, }; void proto_register_ypserv(void) { static hf_register_info hf[] = { { &hf_ypserv_procedure_v1, { "V1 Procedure", "ypserv.procedure_v1", FT_UINT32, BASE_DEC, VALS(ypserv1_proc_vals), 0, NULL, HFILL }}, { &hf_ypserv_procedure_v2, { "V2 Procedure", "ypserv.procedure_v2", FT_UINT32, BASE_DEC, VALS(ypserv2_proc_vals), 0, NULL, HFILL }}, { &hf_ypserv_domain, { "Domain", "ypserv.domain", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_ypserv_servesdomain, { "Serves Domain", "ypserv.servesdomain", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0x0, NULL, HFILL }}, { &hf_ypserv_map, { "Map Name", "ypserv.map", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_ypserv_peer, { "Peer Name", "ypserv.peer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_ypserv_more, { "More", "ypserv.more", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0x0, NULL, HFILL }}, { &hf_ypserv_ordernum, { "Order Number", "ypserv.ordernum", FT_UINT32, BASE_DEC, NULL, 0, "Order Number for XFR", HFILL }}, { &hf_ypserv_transid, { "Host Transport ID", "ypserv.transid", FT_IPv4, BASE_NONE, NULL, 0, "Host Transport ID to use for XFR Callback", HFILL }}, { &hf_ypserv_prog, { "Program Number", "ypserv.prog", FT_UINT32, BASE_DEC, NULL, 0, "Program Number to use for XFR Callback", HFILL }}, { &hf_ypserv_port, { "Port", "ypserv.port", FT_UINT32, BASE_DEC, NULL, 0, "Port to use for XFR Callback", HFILL }}, { &hf_ypserv_key, { "Key", "ypserv.key", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_ypserv_value, { "Value", "ypserv.value", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_ypserv_status, { "Status", "ypserv.status", FT_INT32, BASE_DEC, VALS(ypstat) , 0, NULL, HFILL }}, { &hf_ypserv_map_parms, { "YP Map Parameters", "ypserv.map_parms", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_ypserv_xfrstat, { "Xfrstat", "ypserv.xfrstat", FT_INT32, BASE_DEC, VALS(xfrstat), 0, NULL, HFILL }}, }; static gint *ett[] = { &ett_ypserv, &ett_ypserv_map_parms, }; proto_ypserv = proto_register_protocol("Yellow Pages Service", "YPSERV", "ypserv"); proto_register_field_array(proto_ypserv, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_ypserv(void) { /* Register the protocol as RPC */ rpc_init_prog(proto_ypserv, YPSERV_PROGRAM, ett_ypserv, G_N_ELEMENTS(ypserv_vers_info), ypserv_vers_info); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C/C++
wireshark/epan/dissectors/packet-ypserv.h
/* packet-ypserv.h * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_YPSERV_H #define PACKET_YPSERV_H #define YPSERV_PROGRAM 100004 #define YPPROC_NULL 0 #define YPPROC_DOMAIN 1 #define YPPROC_DOMAIN_NONACK 2 #define YPPROC_MATCH 3 #define YPPROC_FIRST 4 #define YPPROC_NEXT 5 #define YPPROC_XFR 6 #define YPPROC_CLEAR 7 #define YPPROC_ALL 8 #define YPPROC_MASTER 9 #define YPPROC_ORDER 10 #define YPPROC_MAPLIST 11 #endif
C
wireshark/epan/dissectors/packet-ypxfr.c
/* packet-ypxfr.c * Routines for ypxfr dissection * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Copied from packet-smb.c * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include "packet-rpc.h" #include "packet-ypxfr.h" void proto_register_ypxfr(void); void proto_reg_handoff_ypxfr(void); static int proto_ypxfr = -1; static int hf_ypxfr_procedure_v1 = -1; static gint ett_ypxfr = -1; /* proc number, "proc name", dissect_request, dissect_reply */ static const vsff ypxfr1_proc[] = { { YPXFRPROC_NULL, "NULL", dissect_rpc_void, dissect_rpc_void }, { YPXFRPROC_GETMAP, "GETMAP", dissect_rpc_unknown, dissect_rpc_unknown }, { 0, NULL, NULL, NULL } }; static const value_string ypxfr1_proc_vals[] = { { YPXFRPROC_NULL, "NULL" }, { YPXFRPROC_GETMAP, "GETMAP" }, { 0, NULL } }; /* end of YPXFR version 1 */ static const rpc_prog_vers_info ypxfr_vers_info[] = { { 1, ypxfr1_proc, &hf_ypxfr_procedure_v1 }, }; void proto_register_ypxfr(void) { static hf_register_info hf[] = { { &hf_ypxfr_procedure_v1, { "V1 Procedure", "ypxfr.procedure_v1", FT_UINT32, BASE_DEC, VALS(ypxfr1_proc_vals), 0, NULL, HFILL }} }; static gint *ett[] = { &ett_ypxfr }; proto_ypxfr = proto_register_protocol("Yellow Pages Transfer", "YPXFR", "ypxfr"); proto_register_field_array(proto_ypxfr, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_ypxfr(void) { /* Register the protocol as RPC */ rpc_init_prog(proto_ypxfr, YPXFR_PROGRAM, ett_ypxfr, G_N_ELEMENTS(ypxfr_vers_info), ypxfr_vers_info); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C/C++
wireshark/epan/dissectors/packet-ypxfr.h
/* packet-ypxfr.h * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_YPXFR_H #define PACKET_YPXFR_H #define YPXFRPROC_NULL 0 #define YPXFRPROC_GETMAP 1 #define YPXFR_PROGRAM 100069 #endif
C
wireshark/epan/dissectors/packet-z3950.c
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-z3950.c */ /* asn2wrs.py -b -L -p z3950 -c ./z3950.cnf -s ./packet-z3950-template -D . -O ../.. z3950.asn z3950-oclc.asn z3950-externals.asn */ /* packet-z3950.c * Routines for dissection of the NISO Z39.50 Information Retrieval protocol * Also contains a dissector for the MARC Machine Readable Cataloging file * format. The general format is specified by ISO 2709 and the specific * instance is MARC21. * * Copyright 2018, Craig Jackson <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later * * References: * ISO 2709: https://www.iso.org/standard/41319.html * MARC21: http://www.loc.gov/marc/bibliographic/ * Z39.50 Maintenance Agency: http://www.loc.gov/z3950/agency/ * Z39.50 2003 standard: http://www.loc.gov/z3950/agency/Z39-50-2003.pdf * Z39.50 1995 ASN.1: https://www.loc.gov/z3950/agency/asn1.html * Registered Z39.50 Object Identifiers: * http://www.loc.gov/z3950/agency/defns/oids.html * Bib-1 Attribute Set: https://www.loc.gov/z3950/agency/defns/bib1.html * Bib-1 Diagnostics: https://www.loc.gov/z3950/agency/defns/bib1diag.html * RFC for Z39.50 over TCP/IP: https://tools.ietf.org/html/rfc1729 * */ #include "config.h" #include <epan/packet.h> #include <epan/conversation.h> #include <epan/exceptions.h> #include <epan/expert.h> #include <epan/oids.h> #include <epan/proto_data.h> #include <wsutil/str_util.h> #include <string.h> #include "packet-ber.h" #include "packet-tcp.h" typedef struct z3950_atinfo_t { gint atsetidx; gint attype; } z3950_atinfo_t; typedef struct z3950_diaginfo_t { gint diagsetidx; gint diagcondition; } z3950_diaginfo_t; #define PNAME "Z39.50 Protocol" #define PSNAME "Z39.50" #define PFNAME "z3950" #define Z3950_PORT 210 /* UDP port */ /* Known attribute set ids */ #define Z3950_ATSET_BIB1_OID "1.2.840.10003.3.1" /* Known diagnostic set ids */ #define Z3950_DIAGSET_BIB1_OID "1.2.840.10003.4.1" /* Known record syntax ids */ #define Z3950_RECORDSYNTAX_MARC21_OID "1.2.840.10003.5.10" /* Indexes of known attribute set ids */ #define Z3950_ATSET_UNKNOWN 0 #define Z3950_ATSET_BIB1 1 /* bib-1 Attribute Types */ #define Z3950_BIB1_AT_USE 1 #define Z3950_BIB1_AT_RELATION 2 #define Z3950_BIB1_AT_POSITION 3 #define Z3950_BIB1_AT_STRUCTURE 4 #define Z3950_BIB1_AT_TRUNCATION 5 #define Z3950_BIB1_AT_COMPLETENESS 6 /* Indexes of known diagnostic set ids */ #define Z3950_DIAGSET_UNKNOWN 0 #define Z3950_DIAGSET_BIB1 1 /* Per-packet data keys */ #define Z3950_ATINFO_KEY 1 #define Z3950_DIAGSET_KEY 2 /* MARC defines */ #define MARC_SUBFIELD_INDICATOR '\x1f' #define MARC_LEADER_LENGTH 24 #define MARC_CHAR_UNINITIALIZED 256 #define marc_isdigit(x) (((x) >='0') && ((x) <= '9')) #define marc_char_to_int(x) ((x) - '0') typedef struct marc_directory_entry { guint32 tag; guint32 length; guint32 starting_character; } marc_directory_entry; static dissector_handle_t z3950_handle=NULL; void proto_reg_handoff_z3950(void); void proto_register_z3950(void); /* Initialize the protocol and registered fields */ static int proto_z3950 = -1; static int global_z3950_port = Z3950_PORT; static gboolean z3950_desegment = TRUE; static const value_string z3950_bib1_att_types[] = { { Z3950_BIB1_AT_USE, "Use" }, { Z3950_BIB1_AT_RELATION, "Relation" }, { Z3950_BIB1_AT_POSITION, "Position" }, { Z3950_BIB1_AT_STRUCTURE, "Structure" }, { Z3950_BIB1_AT_TRUNCATION, "Truncation" }, { Z3950_BIB1_AT_COMPLETENESS, "Completeness"}, { 0, NULL} }; static const value_string z3950_bib1_at_use[] = { { 1, "Personal name" }, { 2, "Corporate name" }, { 3, "Conference name" }, { 4, "Title" }, { 5, "Title series" }, { 6, "Title uniform" }, { 7, "ISBN" }, { 8, "ISSN" }, { 9, "LC card number" }, { 10, "BNB card number" }, { 11, "BGF card number" }, { 12, "Local number" }, { 13, "Dewey classification" }, { 14, "UDC classification" }, { 15, "Bliss classification" }, { 16, "LC call number" }, { 17, "NLM call number" }, { 18, "NAL call number" }, { 19, "MOS call number" }, { 20, "Local classification" }, { 21, "Subject heading" }, { 22, "Subject Rameau" }, { 23, "BDI index subject" }, { 24, "INSPEC subject" }, { 25, "MESH subject" }, { 26, "PA subject" }, { 27, "LC subject heading" }, { 28, "RVM subject heading" }, { 29, "Local subject index" }, { 30, "Date" }, { 31, "Date of publication" }, { 32, "Date of acquisition" }, { 33, "Title key" }, { 34, "Title collective" }, { 35, "Title parallel" }, { 36, "Title cover" }, { 37, "Title added title pagw" }, { 38, "Title caption" }, { 39, "Title running" }, { 40, "Title spine" }, { 41, "Title other variant" }, { 42, "Title former" }, { 43, "Title abbreviated" }, { 44, "Title expanded" }, { 45, "Subject precis" }, { 46, "Subject rswk" }, { 47, "Subject subdivision" }, { 48, "No. nat'l biblio." }, { 49, "No. legal deposit" }, { 50, "No. govt pub." }, { 51, "No. music publisher" }, { 52, "Number db" }, { 53, "Number local call" }, { 54, "Code-language" }, { 55, "Code-geographic area" }, { 56, "Code-institution" }, { 57, "Name and title *" }, { 58, "Name geographic" }, { 59, "Place publication" }, { 60, "CODEN" }, { 61, "Microform generation" }, { 62, "Abstract" }, { 63, "Note" }, { 1000, "Author-title" }, { 1001, "Record type" }, { 1002, "Name" }, { 1003, "Author" }, { 1004, "Author-name personal" }, { 1005, "Author-name corporate" }, { 1006, "Author-name conference" }, { 1007, "Identifier-standard" }, { 1008, "Subject-LC children's" }, { 1009, "Subject name-personal" }, { 1010, "Body of text" }, { 1011, "Date/time added to db" }, { 1012, "Date/time last modified" }, { 1013, "Authority/format id" }, { 1014, "Concept-text" }, { 1015, "Concept-reference" }, { 1016, "Any" }, { 1017, "Server-choice" }, { 1018, "Publisher" }, { 1019, "Record-source" }, { 1020, "Editor" }, { 1021, "Bib-level" }, { 1022, "Geographic class" }, { 1023, "Indexed-by" }, { 1024, "Map-scale" }, { 1025, "Music-key" }, { 1026, "Related-periodical" }, { 1027, "Report-number" }, { 1028, "Stock-number" }, { 1030, "Thematic-number" }, { 1031, "Material-type" }, { 1032, "Doc-id" }, { 1033, "Host-item" }, { 1034, "Content-type" }, { 1035, "Anywhere" }, { 1036, "Author-Title-Subject" }, { 1037, "Serial Item and Contribution Identifier (SICI)" }, { 1038, "Abstract-language" }, { 1039, "Application-kind" }, { 1040, "Classification" }, { 1041, "Classification-basic" }, { 1042, "Classification-local-record" }, { 1043, "Enzyme" }, { 1044, "Possessing-institution" }, { 1045, "Record-linking" }, { 1046, "Record-status" }, { 1047, "Treatment" }, { 1048, "Control-number-GKD" }, { 1049, "Control-number-linking" }, { 1050, "Control-number-PND" }, { 1051, "Control-number-SWD" }, { 1052, "Control-number-ZDB" }, { 1053, "Country-publication" }, { 1054, "Date-conference" }, { 1055, "Date-record-status" }, { 1056, "Dissertation-information" }, { 1057, "Meeting-organizer" }, { 1058, "Note-availability" }, { 1059, "Number-CAS-registry" }, { 1060, "Number-document" }, { 1061, "Number-local-accounting" }, { 1062, "Number-local-acquisition" }, { 1063, "Number-local-call-copy-specific" }, { 1064, "Number-of-reference" }, { 1065, "Number-norm" }, { 1066, "Number-volume" }, { 1067, "Place-conference (meeting location)" }, { 1068, "Reference (references and footnotes)" }, { 1069, "Referenced-journal" }, { 1070, "Section-code" }, { 1071, "Section-heading" }, { 1072, "Subject-GOO" }, { 1073, "Subject-name-conference" }, { 1074, "Subject-name-corporate" }, { 1075, "Subject-genre/form" }, { 1076, "Subject-name-geographical" }, { 1077, "Subject-chronological" }, { 1078, "Subject-title" }, { 1079, "Subject-topical" }, { 1080, "Subject-uncontrolled" }, { 1081, "Terminology-chemical" }, { 1082, "Title-translated" }, { 1083, "Year-of-beginning" }, { 1084, "Year-of-ending" }, { 1085, "Subject-AGROVOC" }, { 1086, "Subject-COMPASS" }, { 1087, "Subject-EPT" }, { 1088, "Subject-NAL" }, { 1089, "Classification-BCM" }, { 1090, "Classification-DB" }, { 1091, "Identifier-ISRC" }, { 1092, "Identifier-ISMN" }, { 1093, "Identifier-ISRN" }, { 1094, "Identifier-DOI" }, { 1095, "Code-language-original" }, { 1096, "Title-later" }, { 1097, "DC-Title" }, { 1098, "DC-Creator" }, { 1099, "DC-Subject" }, { 1100, "DC-Description" }, { 1101, "DC-Publisher" }, { 1102, "DC-Date" }, { 1103, "DC-ResourceType" }, { 1104, "DC-ResourceIdentifier" }, { 1105, "DC-Language" }, { 1106, "DC-OtherContributor" }, { 1107, "DC-Format" }, { 1108, "DC-Source" }, { 1109, "DC-Relation" }, { 1110, "DC-Coverage" }, { 1111, "DC-RightsManagment" }, { 1112, "GILS Controlled Subject Index" }, { 1113, "GILS Subject Thesaurus" }, { 1114, "GILS Index Terms -- Controlled" }, { 1115, "GILS Controlled Term" }, { 1116, "GILS Spacial Domain" }, { 1117, "GILS Bounding Coordinates" }, { 1118, "GILS West Bounding Coordinate" }, { 1119, "GILS East Bounding Coordinate" }, { 1120, "GILS North Bounding Coordinate" }, { 1121, "GILS South Bounding Coordinate" }, { 1122, "GILS Place" }, { 1123, "GILS Place Keyword Thesaurus" }, { 1124, "GILS Place Keyword" }, { 1125, "GILS Time Period" }, { 1126, "GILS Time Period Textual" }, { 1127, "GILS Time Period Structured" }, { 1128, "GILS Beginning Date" }, { 1129, "GILS Ending Date" }, { 1130, "GILS Availability" }, { 1131, "GILS Distributor" }, { 1132, "GILS Distributor Name" }, { 1133, "GILS Distributor Organization" }, { 1134, "GILS Distributor Street Address" }, { 1135, "GILS Distributor City" }, { 1136, "GILS Distributor State or Province" }, { 1137, "GILS Distributor Zip or Postal Code" }, { 1138, "GILS Distributor Country" }, { 1139, "GILS Distributor Network Address" }, { 1140, "GILS Distributor Hours of Service" }, { 1141, "GILS Distributor Telephone" }, { 1142, "GILS Distributor Fax" }, { 1143, "GILS Resource Description" }, { 1144, "GILS Order Process" }, { 1145, "GILS Order Information" }, { 1146, "GILS Cost" }, { 1147, "GILS Cost Information" }, { 1148, "GILS Technical Prerequisites" }, { 1149, "GILS Available Time Period" }, { 1150, "GILS Available Time Textual" }, { 1151, "GILS Available Time Structured" }, { 1152, "GILS Available Linkage" }, { 1153, "GILS Linkage Type" }, { 1154, "GILS Linkage" }, { 1155, "GILS Sources of Data" }, { 1156, "GILS Methodology" }, { 1157, "GILS Access Constraints" }, { 1158, "GILS General Access Constraints" }, { 1159, "GILS Originator Dissemination Control" }, { 1160, "GILS Security Classification Control" }, { 1161, "GILS Use Constraints" }, { 1162, "GILS Point of Contact" }, { 1163, "GILS Contact Name" }, { 1164, "GILS Contact Organization" }, { 1165, "GILS Contact Street Address" }, { 1166, "GILS Contact City" }, { 1167, "GILS Contact State or Province" }, { 1168, "GILS Contact Zip or Postal Code" }, { 1169, "GILS Contact Country" }, { 1170, "GILS Contact Network Address" }, { 1171, "GILS Contact Hours of Service" }, { 1172, "GILS Contact Telephone" }, { 1173, "GILS Contact Fax" }, { 1174, "GILS Supplemental Information" }, { 1175, "GILS Purpose" }, { 1176, "GILS Agency Program" }, { 1177, "GILS Cross Reference" }, { 1178, "GILS Cross Reference Title" }, { 1179, "GILS Cross Reference Relationship" }, { 1180, "GILS Cross Reference Linkage" }, { 1181, "GILS Schedule Number" }, { 1182, "GILS Original Control Identifier" }, { 1183, "GILS Language of Record" }, { 1184, "GILS Record Review Date" }, { 1185, "Performer" }, { 1186, "Performer-Individual" }, { 1187, "Performer-Group" }, { 1188, "Instrumentation" }, { 1189, "Instrumentation-Original" }, { 1190, "Instrumentation-Current" }, { 1191, "Arrangement" }, { 1192, "Arrangement-Original" }, { 1193, "Arrangement-Current" }, { 1194, "Musical Key-Original" }, { 1195, "Musical Key-Current" }, { 1196, "Date-Composition" }, { 1197, "Date-Recording" }, { 1198, "Place-Recording" }, { 1199, "Country-Recording" }, { 1200, "Number-ISWC" }, { 1201, "Number-Matrix" }, { 1202, "Number-Plate" }, { 1203, "Classification-McColvin" }, { 1204, "Duration" }, { 1205, "Number-Copies" }, { 1206, "Musical Theme" }, { 1207, "Instruments - total number" }, { 1208, "Instruments - distinct number" }, { 1209, "Identifier - URN" }, { 1210, "Sears Subject Heading" }, { 1211, "OCLC Number" }, { 1212, "NORZIG Composition" }, { 1213, "NORZIG Intellectual level" }, { 1214, "NORZIG EAN" }, { 1215, "NORZIG NLC" }, { 1216, "NORZIG CRCS" }, { 1217, "NORZIG Nationality" }, { 1218, "NORZIG Equinox" }, { 1219, "NORZIG Compression" }, { 1220, "NORZIG Format" }, { 1221, "NORZIG Subject - occupation" }, { 1222, "NORZIG Subject - function" }, { 1223, "NORZIG Edition" }, { 1224, "GPO Item Number" }, { 1225, "Provider" }, { 0, NULL} }; static const value_string z3950_bib1_at_relation[] = { { 1, "Less than" }, { 2, "Less than or equal" }, { 3, "Equal" }, { 4, "Greater than or equal" }, { 5, "Greater than" }, { 6, "Not equal" }, { 100, "Phonetic" }, { 101, "Stem" }, { 102, "Relevance" }, { 103, "Always Matches" }, { 0, NULL} }; static const value_string z3950_bib1_at_position[] = { { 1, "First in field" }, { 2, "First in subfield" }, { 3, "Any position in field" }, { 0, NULL} }; static const value_string z3950_bib1_at_structure[] = { { 1, "Phrase" }, { 2, "Word" }, { 3, "Key" }, { 4, "Year" }, { 5, "Date (normalized)" }, { 6, "Word list" }, { 100, "Date (un-normalized)" }, { 101, "Name (normalized)" }, { 102, "Name (un-normalized)" }, { 103, "Structure" }, { 104, "Urx" }, { 105, "Free-form-text" }, { 106, "Document-text" }, { 107, "Local" }, { 108, "String" }, { 109, "Numeric" }, { 0, NULL} }; static const value_string z3950_bib1_at_truncation[] = { { 1, "Right truncation" }, { 2, "Left truncation" }, { 3, "Left and right truncation" }, { 100, "Do not truncate" }, { 101, "Process # in search term" }, { 102, "regExpr-1" }, { 103, "regExpr-2" }, { 104, "Z39.58-1992 Character masking" }, { 0, NULL} }; static const value_string z3950_bib1_at_completeness[] = { { 1, "Incomplete subfield" }, { 2, "Complete subfield" }, { 3, "Complete field" }, { 0, NULL} }; static const value_string z3950_bib1_diagconditions[] = { { 1, "Permanent system error" }, { 2, "Temporary system error" }, { 3, "Unsupported search" }, { 4, "Terms only exclusion (stop) words" }, { 5, "Too many argument words" }, { 6, "Too many boolean operators" }, { 7, "Too many truncated words" }, { 8, "Too many incomplete subfields" }, { 9, "Truncated words too short" }, { 10, "Invalid format for record number (search term)" }, { 11, "Too many characters in search statement" }, { 12, "Too many records retrieved" }, { 13, "Present request out of range" }, { 14, "System error in presenting records" }, { 15, "Record no authorized to be sent intersystem" }, { 16, "Record exceeds Preferred-message-size" }, { 17, "Record exceeds Maximum-record-size" }, { 18, "Result set not supported as a search term" }, { 19, "Only single result set as search term supported" }, { 20, "Only ANDing of a single result set as search term supported" }, { 21, "Result set exists and replace indicator off" }, { 22, "Result set naming not supported" }, { 23, "Combination of specified databases not supported" }, { 24, "Element set names not supported" }, { 25, "Specified element set name not valid for specified database" }, { 26, "Only a single element set name supported" }, { 27, "Result set no longer exists - unilaterally deleted by target" }, { 28, "Result set is in use" }, { 29, "One of the specified databases is locked" }, { 30, "Specified result set does not exist" }, { 31, "Resources exhausted - no results available" }, { 32, "Resources exhausted - unpredictable partial results available" }, { 33, "Resources exhausted - valid subset of results available" }, { 100, "Unspecified error" }, { 101, "Access-control failure" }, { 102, "Security challenge required but could not be issued - request terminated" }, { 103, "Security challenge required but could not be issued - record not included" }, { 104, "Security challenge failed - record not included" }, { 105, "Terminated by negative continue response" }, { 106, "No abstract syntaxes agreed to for this record" }, { 107, "Query type not supported" }, { 108, "Malformed query" }, { 109, "Database unavailable" }, { 110, "Operator unsupported" }, { 111, "Too many databases specified" }, { 112, "Too many result sets created" }, { 113, "Unsupported attribute type" }, { 114, "Unsupported Use attribute" }, { 115, "Unsupported value for Use attribute" }, { 116, "Use attribute required but not supplied" }, { 117, "Unsupported Relation attribute" }, { 118, "Unsupported Structure attribute" }, { 119, "Unsupported Position attribute" }, { 120, "Unsupported Truncation attribute" }, { 121, "Unsupported Attribute Set" }, { 122, "Unsupported Completeness attribute" }, { 123, "Unsupported attribute combination" }, { 124, "Unsupported coded value for term" }, { 125, "Malformed search term" }, { 126, "Illegal term value for attribute" }, { 127, "Unparsable format for un-normalized value" }, { 128, "Illegal result set name" }, { 129, "Proximity search of sets not supported" }, { 130, "Illegal result set in proximity search" }, { 131, "Unsupported proximity relation" }, { 132, "Unsupported proximity unit code" }, { 201, "Proximity not supported with this attribute combination" }, { 202, "Unsupported distance for proximity" }, { 203, "Ordered flag not supported for proximity" }, { 205, "Only zero step size supported for Scan" }, { 206, "Specified step size not supported for Scan" }, { 207, "Cannot sort according to sequence" }, { 208, "No result set name supplied on Sort" }, { 209, "Generic sort not supported (database-specific sort only supported)" }, { 210, "Database specific sort not supported" }, { 211, "Too many sort keys" }, { 212, "Duplicate sort keys" }, { 213, "Unsupported missing data action" }, { 214, "Illegal sort relation" }, { 215, "Illegal case value" }, { 216, "Illegal missing data action" }, { 217, "Segmentation: Cannot guarantee records will fit in specified segments" }, { 218, "ES: Package name already in use" }, { 219, "ES: no such package, on modify/delete" }, { 220, "ES: quota exceeded" }, { 221, "ES: extended service type not supported" }, { 222, "ES: permission denied on ES - id not authorized" }, { 223, "ES: permission denied on ES - cannot modify or delete" }, { 224, "ES: immediate execution failed" }, { 225, "ES: immediate execution not supported for this service" }, { 226, "ES: immediate execution not supported for these parameters" }, { 227, "No data available in requested record syntax" }, { 228, "Scan: malformed scan" }, { 229, "Term type not supported" }, { 230, "Sort: too many input results" }, { 231, "Sort: incompatible record formats" }, { 232, "Scan: term list not supported" }, { 233, "Scan: unsupported value of position-in-response" }, { 234, "Too many index terms processed" }, { 235, "Database does not exist" }, { 236, "Access to specified database denied" }, { 237, "Sort: illegal sort" }, { 238, "Record not available in requested syntax" }, { 239, "Record syntax not supported" }, { 240, "Scan: Resources exhausted looking for satisfying terms" }, { 241, "Scan: Beginning or end of term list" }, { 242, "Segmentation: max-segment-size too small to segment record" }, { 243, "Present: additional-ranges parameter not supported" }, { 244, "Present: comp-spec parameter not supported" }, { 245, "Type-1 query: restriction ('resultAttr') operand not supported" }, { 246, "Type-1 query: 'complex' attributeValue not supported" }, { 247, "Type-1 query: 'attributeSet' as part of AttributeElement not supported" }, { 1001, "Malformed APDU" }, { 1002, "ES: EXTERNAL form of Item Order request not supported" }, { 1003, "ES: Result set item form of Item Order request not supported" }, { 1004, "ES: Extended services not supported unless access control is in effect" }, { 1005, "Response records in Search response not supported" }, { 1006, "Response records in Search response not possible for specified database (or database combination)" }, { 1007, "No Explain server. Addinfo: pointers to servers that have a surrogate Explain database for this server" }, { 1008, "ES: missing mandatory parameter for specified function. Addinfo: parameter" }, { 1009, "ES: Item Order, unsupported OID in itemRequest. Addinfo: OID" }, { 1010, "Init/AC: Bad Userid" }, { 1011, "Init/AC: Bad Userid and/or Password" }, { 1012, "Init/AC: No searches remaining (pre-purchased searches exhausted)" }, { 1013, "Init/AC: Incorrect interface type (specified id valid only when used with a particular access method or client)" }, { 1014, "Init/AC: Authentication System error" }, { 1015, "Init/AC: Maximum number of simultaneous sessions for Userid" }, { 1016, "Init/AC: Blocked network address" }, { 1017, "Init/AC: No databases available for specified userId" }, { 1018, "Init/AC: System temporarily out of resources" }, { 1019, "Init/AC: System not available due to maintenance" }, { 1020, "Init/AC: System temporarily unavailable (Addinfo: when it's expected back up)" }, { 1021, "Init/AC: Account has expired" }, { 1022, "Init/AC: Password has expired so a new one must be supplied" }, { 1023, "Init/AC: Password has been changed by an administrator so a new one must be supplied" }, { 1024, "Unsupported Attribute" }, { 1025, "Service not supported for this database" }, { 1026, "Record cannot be opened because it is locked" }, { 1027, "SQL error" }, { 1028, "Record deleted" }, { 1029, "Scan: too many terms requested. Addinfo: max terms supported" }, { 1040, "ES: Invalid function" }, { 1041, "ES: Error in retention time" }, { 1042, "ES: Permissions data not understood" }, { 1043, "ES: Invalid OID for task specific parameters" }, { 1044, "ES: Invalid action" }, { 1045, "ES: Unknown schema" }, { 1046, "ES: Too many records in package" }, { 1047, "ES: Invalid wait action" }, { 1048, "ES: Cannot create task package -- exceeds maximum permissible size" }, { 1049, "ES: Cannot return task package -- exceeds maximum permissible size" }, { 1050, "ES: Extended services request too large" }, { 1051, "Scan: Attribute set id required -- not supplied" }, { 1052, "ES: Cannot process task package record -- exceeds maximum permissible record size for ES" }, { 1053, "ES: Cannot return task package record -- exceeds maximum permissible record size for ES response" }, { 1054, "Init: Required negotiation record not included" }, { 1055, "Init: negotiation option required" }, { 1056, "Attribute not supported for database" }, { 1057, "ES: Unsupported value of task package parameter" }, { 1058, "Duplicate Detection: Cannot dedup on requested record portion" }, { 1059, "Duplicate Detection: Requested detection criterion not supported" }, { 1060, "Duplicate Detection: Requested level of match not supported" }, { 1061, "Duplicate Detection: Requested regular expression not supported" }, { 1062, "Duplicate Detection: Cannot do clustering" }, { 1063, "Duplicate Detection: Retention criterion not supported" }, { 1064, "Duplicate Detection: Requested number (or percentage) of entries for retention too large" }, { 1065, "Duplicate Detection: Requested sort criterion not supported" }, { 1066, "CompSpec: Unknown schema, or schema not supported." }, { 1067, "Encapsulation: Encapsulated sequence of PDUs not supported" }, { 1068, "Encapsulation: Base operation (and encapsulated PDUs) not executed based on pre-screening analysis" }, { 1069, "No syntaxes available for this request" }, { 1070, "user not authorized to receive record(s) in requested syntax" }, { 1071, "preferredRecordSyntax not supplied" }, { 1072, "Query term includes characters that do not translate into the target character set" }, { 1073, "Database records do not contain data associated with access point" }, { 1074, "Proxy failure" }, { 0, NULL} }; static int hf_z3950_OCLC_UserInformation_PDU = -1; /* OCLC_UserInformation */ static int hf_z3950_SutrsRecord_PDU = -1; /* SutrsRecord */ static int hf_z3950_OPACRecord_PDU = -1; /* OPACRecord */ static int hf_z3950_DiagnosticFormat_PDU = -1; /* DiagnosticFormat */ static int hf_z3950_Explain_Record_PDU = -1; /* Explain_Record */ static int hf_z3950_BriefBib_PDU = -1; /* BriefBib */ static int hf_z3950_GenericRecord_PDU = -1; /* GenericRecord */ static int hf_z3950_TaskPackage_PDU = -1; /* TaskPackage */ static int hf_z3950_PromptObject_PDU = -1; /* PromptObject */ static int hf_z3950_DES_RN_Object_PDU = -1; /* DES_RN_Object */ static int hf_z3950_KRBObject_PDU = -1; /* KRBObject */ static int hf_z3950_SearchInfoReport_PDU = -1; /* SearchInfoReport */ static int hf_z3950_initRequest = -1; /* InitializeRequest */ static int hf_z3950_initResponse = -1; /* InitializeResponse */ static int hf_z3950_searchRequest = -1; /* SearchRequest */ static int hf_z3950_searchResponse = -1; /* SearchResponse */ static int hf_z3950_presentRequest = -1; /* PresentRequest */ static int hf_z3950_presentResponse = -1; /* PresentResponse */ static int hf_z3950_deleteResultSetRequest = -1; /* DeleteResultSetRequest */ static int hf_z3950_deleteResultSetResponse = -1; /* DeleteResultSetResponse */ static int hf_z3950_accessControlRequest = -1; /* AccessControlRequest */ static int hf_z3950_accessControlResponse = -1; /* AccessControlResponse */ static int hf_z3950_resourceControlRequest = -1; /* ResourceControlRequest */ static int hf_z3950_resourceControlResponse = -1; /* ResourceControlResponse */ static int hf_z3950_triggerResourceControlRequest = -1; /* TriggerResourceControlRequest */ static int hf_z3950_resourceReportRequest = -1; /* ResourceReportRequest */ static int hf_z3950_resourceReportResponse = -1; /* ResourceReportResponse */ static int hf_z3950_scanRequest = -1; /* ScanRequest */ static int hf_z3950_scanResponse = -1; /* ScanResponse */ static int hf_z3950_sortRequest = -1; /* SortRequest */ static int hf_z3950_sortResponse = -1; /* SortResponse */ static int hf_z3950_segmentRequest = -1; /* Segment */ static int hf_z3950_extendedServicesRequest = -1; /* ExtendedServicesRequest */ static int hf_z3950_extendedServicesResponse = -1; /* ExtendedServicesResponse */ static int hf_z3950_close = -1; /* Close */ static int hf_z3950_referenceId = -1; /* ReferenceId */ static int hf_z3950_protocolVersion = -1; /* ProtocolVersion */ static int hf_z3950_options = -1; /* Options */ static int hf_z3950_preferredMessageSize = -1; /* INTEGER */ static int hf_z3950_exceptionalRecordSize = -1; /* INTEGER */ static int hf_z3950_idAuthentication = -1; /* T_idAuthentication */ static int hf_z3950_open = -1; /* VisibleString */ static int hf_z3950_idPass = -1; /* T_idPass */ static int hf_z3950_groupId = -1; /* InternationalString */ static int hf_z3950_userId = -1; /* InternationalString */ static int hf_z3950_password = -1; /* InternationalString */ static int hf_z3950_anonymous = -1; /* NULL */ static int hf_z3950_other = -1; /* EXTERNAL */ static int hf_z3950_implementationId = -1; /* InternationalString */ static int hf_z3950_implementationName = -1; /* InternationalString */ static int hf_z3950_implementationVersion = -1; /* InternationalString */ static int hf_z3950_userInformationField = -1; /* EXTERNAL */ static int hf_z3950_otherInfo = -1; /* OtherInformation */ static int hf_z3950_result = -1; /* BOOLEAN */ static int hf_z3950_smallSetUpperBound = -1; /* INTEGER */ static int hf_z3950_largeSetLowerBound = -1; /* INTEGER */ static int hf_z3950_mediumSetPresentNumber = -1; /* INTEGER */ static int hf_z3950_replaceIndicator = -1; /* BOOLEAN */ static int hf_z3950_resultSetName = -1; /* InternationalString */ static int hf_z3950_databaseNames = -1; /* SEQUENCE_OF_DatabaseName */ static int hf_z3950_databaseNames_item = -1; /* DatabaseName */ static int hf_z3950_smallSetElementSetNames = -1; /* ElementSetNames */ static int hf_z3950_mediumSetElementSetNames = -1; /* ElementSetNames */ static int hf_z3950_preferredRecordSyntax = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_query = -1; /* Query */ static int hf_z3950_additionalSearchInfo = -1; /* OtherInformation */ static int hf_z3950_type_0 = -1; /* T_type_0 */ static int hf_z3950_type_1 = -1; /* RPNQuery */ static int hf_z3950_type_2 = -1; /* OCTET_STRING */ static int hf_z3950_type_100 = -1; /* OCTET_STRING */ static int hf_z3950_type_101 = -1; /* RPNQuery */ static int hf_z3950_type_102 = -1; /* OCTET_STRING */ static int hf_z3950_attributeSet = -1; /* AttributeSetId */ static int hf_z3950_rpn = -1; /* RPNStructure */ static int hf_z3950_operandRpnOp = -1; /* Operand */ static int hf_z3950_rpnRpnOp = -1; /* T_rpnRpnOp */ static int hf_z3950_rpn1 = -1; /* RPNStructure */ static int hf_z3950_rpn2 = -1; /* RPNStructure */ static int hf_z3950_operatorRpnOp = -1; /* Operator */ static int hf_z3950_attrTerm = -1; /* AttributesPlusTerm */ static int hf_z3950_resultSet = -1; /* ResultSetId */ static int hf_z3950_resultAttr = -1; /* ResultSetPlusAttributes */ static int hf_z3950_attributes = -1; /* AttributeList */ static int hf_z3950_term = -1; /* Term */ static int hf_z3950_attributeList_item = -1; /* AttributeElement */ static int hf_z3950_general = -1; /* T_general */ static int hf_z3950_numeric = -1; /* INTEGER */ static int hf_z3950_characterString = -1; /* InternationalString */ static int hf_z3950_oid = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_dateTime = -1; /* GeneralizedTime */ static int hf_z3950_external = -1; /* EXTERNAL */ static int hf_z3950_integerAndUnit = -1; /* IntUnit */ static int hf_z3950_null = -1; /* NULL */ static int hf_z3950_and = -1; /* NULL */ static int hf_z3950_or = -1; /* NULL */ static int hf_z3950_and_not = -1; /* NULL */ static int hf_z3950_prox = -1; /* ProximityOperator */ static int hf_z3950_attributeElement_attributeType = -1; /* T_attributeElement_attributeType */ static int hf_z3950_attributeValue = -1; /* T_attributeValue */ static int hf_z3950_attributeValue_numeric = -1; /* T_attributeValue_numeric */ static int hf_z3950_attributeValue_complex = -1; /* T_attributeValue_complex */ static int hf_z3950_attributeValue_complex_list = -1; /* SEQUENCE_OF_StringOrNumeric */ static int hf_z3950_attributeValue_complex_list_item = -1; /* StringOrNumeric */ static int hf_z3950_semanticAction = -1; /* T_semanticAction */ static int hf_z3950_semanticAction_item = -1; /* INTEGER */ static int hf_z3950_exclusion = -1; /* BOOLEAN */ static int hf_z3950_distance = -1; /* INTEGER */ static int hf_z3950_ordered = -1; /* BOOLEAN */ static int hf_z3950_relationType = -1; /* T_relationType */ static int hf_z3950_proximityUnitCode = -1; /* T_proximityUnitCode */ static int hf_z3950_known = -1; /* KnownProximityUnit */ static int hf_z3950_private = -1; /* INTEGER */ static int hf_z3950_resultCount = -1; /* INTEGER */ static int hf_z3950_numberOfRecordsReturned = -1; /* INTEGER */ static int hf_z3950_nextResultSetPosition = -1; /* INTEGER */ static int hf_z3950_searchStatus = -1; /* BOOLEAN */ static int hf_z3950_search_resultSetStatus = -1; /* T_search_resultSetStatus */ static int hf_z3950_presentStatus = -1; /* PresentStatus */ static int hf_z3950_records = -1; /* Records */ static int hf_z3950_resultSetId = -1; /* ResultSetId */ static int hf_z3950_resultSetStartPoint = -1; /* INTEGER */ static int hf_z3950_numberOfRecordsRequested = -1; /* INTEGER */ static int hf_z3950_additionalRanges = -1; /* SEQUENCE_OF_Range */ static int hf_z3950_additionalRanges_item = -1; /* Range */ static int hf_z3950_recordComposition = -1; /* T_recordComposition */ static int hf_z3950_simple = -1; /* ElementSetNames */ static int hf_z3950_recordComposition_complex = -1; /* CompSpec */ static int hf_z3950_maxSegmentCount = -1; /* INTEGER */ static int hf_z3950_maxRecordSize = -1; /* INTEGER */ static int hf_z3950_maxSegmentSize = -1; /* INTEGER */ static int hf_z3950_segmentRecords = -1; /* SEQUENCE_OF_NamePlusRecord */ static int hf_z3950_segmentRecords_item = -1; /* NamePlusRecord */ static int hf_z3950_responseRecords = -1; /* SEQUENCE_OF_NamePlusRecord */ static int hf_z3950_responseRecords_item = -1; /* NamePlusRecord */ static int hf_z3950_nonSurrogateDiagnostic = -1; /* DefaultDiagFormat */ static int hf_z3950_multipleNonSurDiagnostics = -1; /* SEQUENCE_OF_DiagRec */ static int hf_z3950_multipleNonSurDiagnostics_item = -1; /* DiagRec */ static int hf_z3950_namePlusRecord_name = -1; /* DatabaseName */ static int hf_z3950_record = -1; /* T_record */ static int hf_z3950_retrievalRecord = -1; /* EXTERNAL */ static int hf_z3950_surrogateDiagnostic = -1; /* DiagRec */ static int hf_z3950_startingFragment = -1; /* FragmentSyntax */ static int hf_z3950_intermediateFragment = -1; /* FragmentSyntax */ static int hf_z3950_finalFragment = -1; /* FragmentSyntax */ static int hf_z3950_externallyTagged = -1; /* EXTERNAL */ static int hf_z3950_notExternallyTagged = -1; /* OCTET_STRING */ static int hf_z3950_defaultFormat = -1; /* DefaultDiagFormat */ static int hf_z3950_externallyDefined = -1; /* EXTERNAL */ static int hf_z3950_diagnosticSetId = -1; /* T_diagnosticSetId */ static int hf_z3950_condition = -1; /* T_condition */ static int hf_z3950_addinfo = -1; /* T_addinfo */ static int hf_z3950_v2Addinfo = -1; /* VisibleString */ static int hf_z3950_v3Addinfo = -1; /* InternationalString */ static int hf_z3950_startingPosition = -1; /* INTEGER */ static int hf_z3950_numberOfRecords = -1; /* INTEGER */ static int hf_z3950_genericElementSetName = -1; /* InternationalString */ static int hf_z3950_databaseSpecific = -1; /* T_databaseSpecific */ static int hf_z3950_databaseSpecific_item = -1; /* T_databaseSpecific_item */ static int hf_z3950_dbName = -1; /* DatabaseName */ static int hf_z3950_esn = -1; /* ElementSetName */ static int hf_z3950_selectAlternativeSyntax = -1; /* BOOLEAN */ static int hf_z3950_compSpec_generic = -1; /* Specification */ static int hf_z3950_dbSpecific = -1; /* T_dbSpecific */ static int hf_z3950_dbSpecific_item = -1; /* T_dbSpecific_item */ static int hf_z3950_db = -1; /* DatabaseName */ static int hf_z3950_spec = -1; /* Specification */ static int hf_z3950_compSpec_recordSyntax = -1; /* T_compSpec_recordSyntax */ static int hf_z3950_compSpec_recordSyntax_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_schema = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_specification_elementSpec = -1; /* T_specification_elementSpec */ static int hf_z3950_elementSetName = -1; /* InternationalString */ static int hf_z3950_externalEspec = -1; /* EXTERNAL */ static int hf_z3950_deleteFunction = -1; /* T_deleteFunction */ static int hf_z3950_resultSetList = -1; /* SEQUENCE_OF_ResultSetId */ static int hf_z3950_resultSetList_item = -1; /* ResultSetId */ static int hf_z3950_deleteOperationStatus = -1; /* DeleteSetStatus */ static int hf_z3950_deleteListStatuses = -1; /* ListStatuses */ static int hf_z3950_numberNotDeleted = -1; /* INTEGER */ static int hf_z3950_bulkStatuses = -1; /* ListStatuses */ static int hf_z3950_deleteMessage = -1; /* InternationalString */ static int hf_z3950_ListStatuses_item = -1; /* ListStatuses_item */ static int hf_z3950_listStatuses_id = -1; /* ResultSetId */ static int hf_z3950_status = -1; /* DeleteSetStatus */ static int hf_z3950_securityChallenge = -1; /* T_securityChallenge */ static int hf_z3950_simpleForm = -1; /* OCTET_STRING */ static int hf_z3950_securityChallengeResponse = -1; /* T_securityChallengeResponse */ static int hf_z3950_diagnostic = -1; /* DiagRec */ static int hf_z3950_suspendedFlag = -1; /* BOOLEAN */ static int hf_z3950_resourceReport = -1; /* ResourceReport */ static int hf_z3950_partialResultsAvailable = -1; /* T_partialResultsAvailable */ static int hf_z3950_resourceControlRequest_responseRequired = -1; /* BOOLEAN */ static int hf_z3950_triggeredRequestFlag = -1; /* BOOLEAN */ static int hf_z3950_continueFlag = -1; /* BOOLEAN */ static int hf_z3950_resultSetWanted = -1; /* BOOLEAN */ static int hf_z3950_requestedAction = -1; /* T_requestedAction */ static int hf_z3950_prefResourceReportFormat = -1; /* ResourceReportId */ static int hf_z3950_opId = -1; /* ReferenceId */ static int hf_z3950_resourceReportStatus = -1; /* T_resourceReportStatus */ static int hf_z3950_termListAndStartPoint = -1; /* AttributesPlusTerm */ static int hf_z3950_stepSize = -1; /* INTEGER */ static int hf_z3950_numberOfTermsRequested = -1; /* INTEGER */ static int hf_z3950_preferredPositionInResponse = -1; /* INTEGER */ static int hf_z3950_scanStatus = -1; /* T_scanStatus */ static int hf_z3950_numberOfEntriesReturned = -1; /* INTEGER */ static int hf_z3950_positionOfTerm = -1; /* INTEGER */ static int hf_z3950_scanResponse_entries = -1; /* ListEntries */ static int hf_z3950_listEntries_entries = -1; /* SEQUENCE_OF_Entry */ static int hf_z3950_listEntries_entries_item = -1; /* Entry */ static int hf_z3950_nonsurrogateDiagnostics = -1; /* SEQUENCE_OF_DiagRec */ static int hf_z3950_nonsurrogateDiagnostics_item = -1; /* DiagRec */ static int hf_z3950_termInfo = -1; /* TermInfo */ static int hf_z3950_displayTerm = -1; /* InternationalString */ static int hf_z3950_suggestedAttributes = -1; /* AttributeList */ static int hf_z3950_alternativeTerm = -1; /* SEQUENCE_OF_AttributesPlusTerm */ static int hf_z3950_alternativeTerm_item = -1; /* AttributesPlusTerm */ static int hf_z3950_globalOccurrences = -1; /* INTEGER */ static int hf_z3950_byAttributes = -1; /* OccurrenceByAttributes */ static int hf_z3950_otherTermInfo = -1; /* OtherInformation */ static int hf_z3950_OccurrenceByAttributes_item = -1; /* OccurrenceByAttributes_item */ static int hf_z3950_occurrences = -1; /* T_occurrences */ static int hf_z3950_global = -1; /* INTEGER */ static int hf_z3950_byDatabase = -1; /* T_byDatabase */ static int hf_z3950_byDatabase_item = -1; /* T_byDatabase_item */ static int hf_z3950_num = -1; /* INTEGER */ static int hf_z3950_otherDbInfo = -1; /* OtherInformation */ static int hf_z3950_otherOccurInfo = -1; /* OtherInformation */ static int hf_z3950_inputResultSetNames = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_inputResultSetNames_item = -1; /* InternationalString */ static int hf_z3950_sortedResultSetName = -1; /* InternationalString */ static int hf_z3950_sortSequence = -1; /* SEQUENCE_OF_SortKeySpec */ static int hf_z3950_sortSequence_item = -1; /* SortKeySpec */ static int hf_z3950_sortStatus = -1; /* T_sortStatus */ static int hf_z3950_sort_resultSetStatus = -1; /* T_sort_resultSetStatus */ static int hf_z3950_diagnostics = -1; /* SEQUENCE_OF_DiagRec */ static int hf_z3950_diagnostics_item = -1; /* DiagRec */ static int hf_z3950_sortElement = -1; /* SortElement */ static int hf_z3950_sortRelation = -1; /* T_sortRelation */ static int hf_z3950_caseSensitivity = -1; /* T_caseSensitivity */ static int hf_z3950_missingValueAction = -1; /* T_missingValueAction */ static int hf_z3950_abort = -1; /* NULL */ static int hf_z3950_missingValueData = -1; /* OCTET_STRING */ static int hf_z3950_sortElement_generic = -1; /* SortKey */ static int hf_z3950_datbaseSpecific = -1; /* T_datbaseSpecific */ static int hf_z3950_datbaseSpecific_item = -1; /* T_datbaseSpecific_item */ static int hf_z3950_databaseName = -1; /* DatabaseName */ static int hf_z3950_dbSort = -1; /* SortKey */ static int hf_z3950_sortfield = -1; /* InternationalString */ static int hf_z3950_sortKey_elementSpec = -1; /* Specification */ static int hf_z3950_sortAttributes = -1; /* T_sortAttributes */ static int hf_z3950_sortAttributes_id = -1; /* AttributeSetId */ static int hf_z3950_sortAttributes_list = -1; /* AttributeList */ static int hf_z3950_function = -1; /* T_function */ static int hf_z3950_packageType = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_packageName = -1; /* InternationalString */ static int hf_z3950_retentionTime = -1; /* IntUnit */ static int hf_z3950_permissions = -1; /* Permissions */ static int hf_z3950_extendedServicesRequest_description = -1; /* InternationalString */ static int hf_z3950_taskSpecificParameters = -1; /* EXTERNAL */ static int hf_z3950_waitAction = -1; /* T_waitAction */ static int hf_z3950_elements = -1; /* ElementSetName */ static int hf_z3950_operationStatus = -1; /* T_operationStatus */ static int hf_z3950_taskPackage = -1; /* EXTERNAL */ static int hf_z3950_Permissions_item = -1; /* Permissions_item */ static int hf_z3950_allowableFunctions = -1; /* T_allowableFunctions */ static int hf_z3950_allowableFunctions_item = -1; /* T_allowableFunctions_item */ static int hf_z3950_closeReason = -1; /* CloseReason */ static int hf_z3950_diagnosticInformation = -1; /* InternationalString */ static int hf_z3950_resourceReportFormat = -1; /* ResourceReportId */ static int hf_z3950_otherInformation_item = -1; /* T__untag_item */ static int hf_z3950_category = -1; /* InfoCategory */ static int hf_z3950_information = -1; /* T_information */ static int hf_z3950_characterInfo = -1; /* InternationalString */ static int hf_z3950_binaryInfo = -1; /* OCTET_STRING */ static int hf_z3950_externallyDefinedInfo = -1; /* EXTERNAL */ static int hf_z3950_categoryTypeId = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_categoryValue = -1; /* INTEGER */ static int hf_z3950_value = -1; /* INTEGER */ static int hf_z3950_unitUsed = -1; /* Unit */ static int hf_z3950_unitSystem = -1; /* InternationalString */ static int hf_z3950_unitType = -1; /* StringOrNumeric */ static int hf_z3950_unit = -1; /* StringOrNumeric */ static int hf_z3950_scaleFactor = -1; /* INTEGER */ static int hf_z3950_string = -1; /* InternationalString */ static int hf_z3950_motd = -1; /* VisibleString */ static int hf_z3950_dblist = -1; /* SEQUENCE_OF_DBName */ static int hf_z3950_dblist_item = -1; /* DBName */ static int hf_z3950_failReason = -1; /* BOOLEAN */ static int hf_z3950_oCLC_UserInformation_text = -1; /* VisibleString */ static int hf_z3950_bibliographicRecord = -1; /* EXTERNAL */ static int hf_z3950_holdingsData = -1; /* SEQUENCE_OF_HoldingsRecord */ static int hf_z3950_holdingsData_item = -1; /* HoldingsRecord */ static int hf_z3950_marcHoldingsRecord = -1; /* EXTERNAL */ static int hf_z3950_holdingsAndCirc = -1; /* HoldingsAndCircData */ static int hf_z3950_typeOfRecord = -1; /* InternationalString */ static int hf_z3950_encodingLevel = -1; /* InternationalString */ static int hf_z3950_format = -1; /* InternationalString */ static int hf_z3950_receiptAcqStatus = -1; /* InternationalString */ static int hf_z3950_generalRetention = -1; /* InternationalString */ static int hf_z3950_completeness = -1; /* InternationalString */ static int hf_z3950_dateOfReport = -1; /* InternationalString */ static int hf_z3950_nucCode = -1; /* InternationalString */ static int hf_z3950_localLocation = -1; /* InternationalString */ static int hf_z3950_shelvingLocation = -1; /* InternationalString */ static int hf_z3950_callNumber = -1; /* InternationalString */ static int hf_z3950_shelvingData = -1; /* InternationalString */ static int hf_z3950_copyNumber = -1; /* InternationalString */ static int hf_z3950_publicNote = -1; /* InternationalString */ static int hf_z3950_reproductionNote = -1; /* InternationalString */ static int hf_z3950_termsUseRepro = -1; /* InternationalString */ static int hf_z3950_enumAndChron = -1; /* InternationalString */ static int hf_z3950_volumes = -1; /* SEQUENCE_OF_Volume */ static int hf_z3950_volumes_item = -1; /* Volume */ static int hf_z3950_circulationData = -1; /* SEQUENCE_OF_CircRecord */ static int hf_z3950_circulationData_item = -1; /* CircRecord */ static int hf_z3950_enumeration = -1; /* InternationalString */ static int hf_z3950_chronology = -1; /* InternationalString */ static int hf_z3950_availableNow = -1; /* BOOLEAN */ static int hf_z3950_availablityDate = -1; /* InternationalString */ static int hf_z3950_availableThru = -1; /* InternationalString */ static int hf_z3950_circRecord_restrictions = -1; /* InternationalString */ static int hf_z3950_itemId = -1; /* InternationalString */ static int hf_z3950_renewable = -1; /* BOOLEAN */ static int hf_z3950_onHold = -1; /* BOOLEAN */ static int hf_z3950_midspine = -1; /* InternationalString */ static int hf_z3950_temporaryLocation = -1; /* InternationalString */ static int hf_z3950_DiagnosticFormat_item = -1; /* DiagnosticFormat_item */ static int hf_z3950_diagnosticFormat_item_diagnostic = -1; /* T_diagnosticFormat_item_diagnostic */ static int hf_z3950_defaultDiagRec = -1; /* DefaultDiagFormat */ static int hf_z3950_explicitDiagnostic = -1; /* DiagFormat */ static int hf_z3950_message = -1; /* InternationalString */ static int hf_z3950_tooMany = -1; /* T_tooMany */ static int hf_z3950_tooManyWhat = -1; /* T_tooManyWhat */ static int hf_z3950_max = -1; /* INTEGER */ static int hf_z3950_badSpec = -1; /* T_badSpec */ static int hf_z3950_goodOnes = -1; /* SEQUENCE_OF_Specification */ static int hf_z3950_goodOnes_item = -1; /* Specification */ static int hf_z3950_dbUnavail = -1; /* T_dbUnavail */ static int hf_z3950_why = -1; /* T_why */ static int hf_z3950_reasonCode = -1; /* T_reasonCode */ static int hf_z3950_unSupOp = -1; /* T_unSupOp */ static int hf_z3950_attribute = -1; /* T_attribute */ static int hf_z3950_id = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_type = -1; /* INTEGER */ static int hf_z3950_attCombo = -1; /* T_attCombo */ static int hf_z3950_unsupportedCombination = -1; /* AttributeList */ static int hf_z3950_recommendedAlternatives = -1; /* SEQUENCE_OF_AttributeList */ static int hf_z3950_recommendedAlternatives_item = -1; /* AttributeList */ static int hf_z3950_diagFormat_term = -1; /* T_diagFormat_term */ static int hf_z3950_problem = -1; /* T_problem */ static int hf_z3950_diagFormat_proximity = -1; /* T_diagFormat_proximity */ static int hf_z3950_resultSets = -1; /* NULL */ static int hf_z3950_badSet = -1; /* InternationalString */ static int hf_z3950_relation = -1; /* INTEGER */ static int hf_z3950_diagFormat_proximity_unit = -1; /* INTEGER */ static int hf_z3950_diagFormat_proximity_ordered = -1; /* NULL */ static int hf_z3950_diagFormat_proximity_exclusion = -1; /* NULL */ static int hf_z3950_scan = -1; /* T_scan */ static int hf_z3950_nonZeroStepSize = -1; /* NULL */ static int hf_z3950_specifiedStepSize = -1; /* NULL */ static int hf_z3950_termList1 = -1; /* NULL */ static int hf_z3950_termList2 = -1; /* SEQUENCE_OF_AttributeList */ static int hf_z3950_termList2_item = -1; /* AttributeList */ static int hf_z3950_posInResponse = -1; /* T_posInResponse */ static int hf_z3950_resources = -1; /* NULL */ static int hf_z3950_endOfList = -1; /* NULL */ static int hf_z3950_sort = -1; /* T_sort */ static int hf_z3950_sequence = -1; /* NULL */ static int hf_z3950_noRsName = -1; /* NULL */ static int hf_z3950_diagFormat_sort_tooMany = -1; /* INTEGER */ static int hf_z3950_incompatible = -1; /* NULL */ static int hf_z3950_generic = -1; /* NULL */ static int hf_z3950_diagFormat_sort_dbSpecific = -1; /* NULL */ static int hf_z3950_key = -1; /* T_key */ static int hf_z3950_action = -1; /* NULL */ static int hf_z3950_illegal = -1; /* T_illegal */ static int hf_z3950_inputTooLarge = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_inputTooLarge_item = -1; /* InternationalString */ static int hf_z3950_aggregateTooLarge = -1; /* NULL */ static int hf_z3950_segmentation = -1; /* T_segmentation */ static int hf_z3950_segmentCount = -1; /* NULL */ static int hf_z3950_segmentSize = -1; /* INTEGER */ static int hf_z3950_extServices = -1; /* T_extServices */ static int hf_z3950_req = -1; /* T_req */ static int hf_z3950_permission = -1; /* T_permission */ static int hf_z3950_immediate = -1; /* T_immediate */ static int hf_z3950_accessCtrl = -1; /* T_accessCtrl */ static int hf_z3950_noUser = -1; /* NULL */ static int hf_z3950_refused = -1; /* NULL */ static int hf_z3950_diagFormat_accessCtrl_simple = -1; /* NULL */ static int hf_z3950_diagFormat_accessCtrl_oid = -1; /* T_diagFormat_accessCtrl_oid */ static int hf_z3950_diagFormat_accessCtrl_oid_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_alternative = -1; /* T_alternative */ static int hf_z3950_alternative_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_pwdInv = -1; /* NULL */ static int hf_z3950_pwdExp = -1; /* NULL */ static int hf_z3950_diagFormat_recordSyntax = -1; /* T_diagFormat_recordSyntax */ static int hf_z3950_unsupportedSyntax = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_suggestedAlternatives = -1; /* T_suggestedAlternatives */ static int hf_z3950_suggestedAlternatives_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_targetInfo = -1; /* TargetInfo */ static int hf_z3950_databaseInfo = -1; /* DatabaseInfo */ static int hf_z3950_schemaInfo = -1; /* SchemaInfo */ static int hf_z3950_tagSetInfo = -1; /* TagSetInfo */ static int hf_z3950_recordSyntaxInfo = -1; /* RecordSyntaxInfo */ static int hf_z3950_attributeSetInfo = -1; /* AttributeSetInfo */ static int hf_z3950_termListInfo = -1; /* TermListInfo */ static int hf_z3950_extendedServicesInfo = -1; /* ExtendedServicesInfo */ static int hf_z3950_attributeDetails = -1; /* AttributeDetails */ static int hf_z3950_termListDetails = -1; /* TermListDetails */ static int hf_z3950_elementSetDetails = -1; /* ElementSetDetails */ static int hf_z3950_retrievalRecordDetails = -1; /* RetrievalRecordDetails */ static int hf_z3950_sortDetails = -1; /* SortDetails */ static int hf_z3950_processing = -1; /* ProcessingInformation */ static int hf_z3950_variants = -1; /* VariantSetInfo */ static int hf_z3950_units = -1; /* UnitInfo */ static int hf_z3950_categoryList = -1; /* CategoryList */ static int hf_z3950_commonInfo = -1; /* CommonInfo */ static int hf_z3950_name = -1; /* InternationalString */ static int hf_z3950_recent_news = -1; /* HumanString */ static int hf_z3950_icon = -1; /* IconObject */ static int hf_z3950_namedResultSets = -1; /* BOOLEAN */ static int hf_z3950_multipleDBsearch = -1; /* BOOLEAN */ static int hf_z3950_maxResultSets = -1; /* INTEGER */ static int hf_z3950_maxResultSize = -1; /* INTEGER */ static int hf_z3950_maxTerms = -1; /* INTEGER */ static int hf_z3950_timeoutInterval = -1; /* IntUnit */ static int hf_z3950_welcomeMessage = -1; /* HumanString */ static int hf_z3950_contactInfo = -1; /* ContactInfo */ static int hf_z3950_description = -1; /* HumanString */ static int hf_z3950_nicknames = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_nicknames_item = -1; /* InternationalString */ static int hf_z3950_usage_restrictions = -1; /* HumanString */ static int hf_z3950_paymentAddr = -1; /* HumanString */ static int hf_z3950_hours = -1; /* HumanString */ static int hf_z3950_dbCombinations = -1; /* SEQUENCE_OF_DatabaseList */ static int hf_z3950_dbCombinations_item = -1; /* DatabaseList */ static int hf_z3950_addresses = -1; /* SEQUENCE_OF_NetworkAddress */ static int hf_z3950_addresses_item = -1; /* NetworkAddress */ static int hf_z3950_languages = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_languages_item = -1; /* InternationalString */ static int hf_z3950_commonAccessInfo = -1; /* AccessInfo */ static int hf_z3950_databaseInfo_name = -1; /* DatabaseName */ static int hf_z3950_explainDatabase = -1; /* NULL */ static int hf_z3950_databaseInfo_nicknames = -1; /* SEQUENCE_OF_DatabaseName */ static int hf_z3950_databaseInfo_nicknames_item = -1; /* DatabaseName */ static int hf_z3950_user_fee = -1; /* BOOLEAN */ static int hf_z3950_available = -1; /* BOOLEAN */ static int hf_z3950_titleString = -1; /* HumanString */ static int hf_z3950_keywords = -1; /* SEQUENCE_OF_HumanString */ static int hf_z3950_keywords_item = -1; /* HumanString */ static int hf_z3950_associatedDbs = -1; /* DatabaseList */ static int hf_z3950_subDbs = -1; /* DatabaseList */ static int hf_z3950_disclaimers = -1; /* HumanString */ static int hf_z3950_news = -1; /* HumanString */ static int hf_z3950_recordCount = -1; /* T_recordCount */ static int hf_z3950_actualNumber = -1; /* INTEGER */ static int hf_z3950_approxNumber = -1; /* INTEGER */ static int hf_z3950_defaultOrder = -1; /* HumanString */ static int hf_z3950_avRecordSize = -1; /* INTEGER */ static int hf_z3950_bestTime = -1; /* HumanString */ static int hf_z3950_lastUpdate = -1; /* GeneralizedTime */ static int hf_z3950_updateInterval = -1; /* IntUnit */ static int hf_z3950_coverage = -1; /* HumanString */ static int hf_z3950_proprietary = -1; /* BOOLEAN */ static int hf_z3950_copyrightText = -1; /* HumanString */ static int hf_z3950_copyrightNotice = -1; /* HumanString */ static int hf_z3950_producerContactInfo = -1; /* ContactInfo */ static int hf_z3950_supplierContactInfo = -1; /* ContactInfo */ static int hf_z3950_submissionContactInfo = -1; /* ContactInfo */ static int hf_z3950_accessInfo = -1; /* AccessInfo */ static int hf_z3950_tagTypeMapping = -1; /* T_tagTypeMapping */ static int hf_z3950_tagTypeMapping_item = -1; /* T_tagTypeMapping_item */ static int hf_z3950_tagType = -1; /* INTEGER */ static int hf_z3950_tagSet = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_defaultTagType = -1; /* NULL */ static int hf_z3950_recordStructure = -1; /* SEQUENCE_OF_ElementInfo */ static int hf_z3950_recordStructure_item = -1; /* ElementInfo */ static int hf_z3950_elementName = -1; /* InternationalString */ static int hf_z3950_elementTagPath = -1; /* Path */ static int hf_z3950_elementInfo_dataType = -1; /* ElementDataType */ static int hf_z3950_required = -1; /* BOOLEAN */ static int hf_z3950_repeatable = -1; /* BOOLEAN */ static int hf_z3950_Path_item = -1; /* Path_item */ static int hf_z3950_tagValue = -1; /* StringOrNumeric */ static int hf_z3950_primitive = -1; /* PrimitiveDataType */ static int hf_z3950_structured = -1; /* SEQUENCE_OF_ElementInfo */ static int hf_z3950_structured_item = -1; /* ElementInfo */ static int hf_z3950_tagSetInfo_elements = -1; /* T_tagSetInfo_elements */ static int hf_z3950_tagSetInfo_elements_item = -1; /* T_tagSetInfo_elements_item */ static int hf_z3950_elementname = -1; /* InternationalString */ static int hf_z3950_elementTag = -1; /* StringOrNumeric */ static int hf_z3950_dataType = -1; /* PrimitiveDataType */ static int hf_z3950_otherTagInfo = -1; /* OtherInformation */ static int hf_z3950_recordSyntax = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_transferSyntaxes = -1; /* T_transferSyntaxes */ static int hf_z3950_transferSyntaxes_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_asn1Module = -1; /* InternationalString */ static int hf_z3950_abstractStructure = -1; /* SEQUENCE_OF_ElementInfo */ static int hf_z3950_abstractStructure_item = -1; /* ElementInfo */ static int hf_z3950_attributeSetInfo_attributes = -1; /* SEQUENCE_OF_AttributeType */ static int hf_z3950_attributeSetInfo_attributes_item = -1; /* AttributeType */ static int hf_z3950_attributeType = -1; /* INTEGER */ static int hf_z3950_attributeValues = -1; /* SEQUENCE_OF_AttributeDescription */ static int hf_z3950_attributeValues_item = -1; /* AttributeDescription */ static int hf_z3950_attributeDescription_attributeValue = -1; /* StringOrNumeric */ static int hf_z3950_equivalentAttributes = -1; /* SEQUENCE_OF_StringOrNumeric */ static int hf_z3950_equivalentAttributes_item = -1; /* StringOrNumeric */ static int hf_z3950_termLists = -1; /* T_termLists */ static int hf_z3950_termLists_item = -1; /* T_termLists_item */ static int hf_z3950_title = -1; /* HumanString */ static int hf_z3950_searchCost = -1; /* T_searchCost */ static int hf_z3950_scanable = -1; /* BOOLEAN */ static int hf_z3950_broader = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_broader_item = -1; /* InternationalString */ static int hf_z3950_narrower = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_narrower_item = -1; /* InternationalString */ static int hf_z3950_extendedServicesInfo_type = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_privateType = -1; /* BOOLEAN */ static int hf_z3950_restrictionsApply = -1; /* BOOLEAN */ static int hf_z3950_feeApply = -1; /* BOOLEAN */ static int hf_z3950_retentionSupported = -1; /* BOOLEAN */ static int hf_z3950_extendedServicesInfo_waitAction = -1; /* T_extendedServicesInfo_waitAction */ static int hf_z3950_specificExplain = -1; /* EXTERNAL */ static int hf_z3950_esASN = -1; /* InternationalString */ static int hf_z3950_attributesBySet = -1; /* SEQUENCE_OF_AttributeSetDetails */ static int hf_z3950_attributesBySet_item = -1; /* AttributeSetDetails */ static int hf_z3950_attributeCombinations = -1; /* AttributeCombinations */ static int hf_z3950_attributesByType = -1; /* SEQUENCE_OF_AttributeTypeDetails */ static int hf_z3950_attributesByType_item = -1; /* AttributeTypeDetails */ static int hf_z3950_defaultIfOmitted = -1; /* OmittedAttributeInterpretation */ static int hf_z3950_attributeTypeDetails_attributeValues = -1; /* SEQUENCE_OF_AttributeValue */ static int hf_z3950_attributeTypeDetails_attributeValues_item = -1; /* AttributeValue */ static int hf_z3950_defaultValue = -1; /* StringOrNumeric */ static int hf_z3950_defaultDescription = -1; /* HumanString */ static int hf_z3950_attributeValue_value = -1; /* StringOrNumeric */ static int hf_z3950_subAttributes = -1; /* SEQUENCE_OF_StringOrNumeric */ static int hf_z3950_subAttributes_item = -1; /* StringOrNumeric */ static int hf_z3950_superAttributes = -1; /* SEQUENCE_OF_StringOrNumeric */ static int hf_z3950_superAttributes_item = -1; /* StringOrNumeric */ static int hf_z3950_partialSupport = -1; /* NULL */ static int hf_z3950_termListName = -1; /* InternationalString */ static int hf_z3950_termListDetails_attributes = -1; /* AttributeCombinations */ static int hf_z3950_scanInfo = -1; /* T_scanInfo */ static int hf_z3950_maxStepSize = -1; /* INTEGER */ static int hf_z3950_collatingSequence = -1; /* HumanString */ static int hf_z3950_increasing = -1; /* BOOLEAN */ static int hf_z3950_estNumberTerms = -1; /* INTEGER */ static int hf_z3950_sampleTerms = -1; /* SEQUENCE_OF_Term */ static int hf_z3950_sampleTerms_item = -1; /* Term */ static int hf_z3950_elementSetDetails_elementSetName = -1; /* ElementSetName */ static int hf_z3950_detailsPerElement = -1; /* SEQUENCE_OF_PerElementDetails */ static int hf_z3950_detailsPerElement_item = -1; /* PerElementDetails */ static int hf_z3950_recordTag = -1; /* RecordTag */ static int hf_z3950_schemaTags = -1; /* SEQUENCE_OF_Path */ static int hf_z3950_schemaTags_item = -1; /* Path */ static int hf_z3950_maxSize = -1; /* INTEGER */ static int hf_z3950_minSize = -1; /* INTEGER */ static int hf_z3950_avgSize = -1; /* INTEGER */ static int hf_z3950_fixedSize = -1; /* INTEGER */ static int hf_z3950_contents = -1; /* HumanString */ static int hf_z3950_billingInfo = -1; /* HumanString */ static int hf_z3950_restrictions = -1; /* HumanString */ static int hf_z3950_alternateNames = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_alternateNames_item = -1; /* InternationalString */ static int hf_z3950_genericNames = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_genericNames_item = -1; /* InternationalString */ static int hf_z3950_searchAccess = -1; /* AttributeCombinations */ static int hf_z3950_qualifier = -1; /* StringOrNumeric */ static int hf_z3950_sortKeys = -1; /* SEQUENCE_OF_SortKeyDetails */ static int hf_z3950_sortKeys_item = -1; /* SortKeyDetails */ static int hf_z3950_elementSpecifications = -1; /* SEQUENCE_OF_Specification */ static int hf_z3950_elementSpecifications_item = -1; /* Specification */ static int hf_z3950_attributeSpecifications = -1; /* AttributeCombinations */ static int hf_z3950_sortType = -1; /* T_sortType */ static int hf_z3950_character = -1; /* NULL */ static int hf_z3950_sortKeyDetails_sortType_numeric = -1; /* NULL */ static int hf_z3950_sortKeyDetails_sortType_structured = -1; /* HumanString */ static int hf_z3950_sortKeyDetails_caseSensitivity = -1; /* T_sortKeyDetails_caseSensitivity */ static int hf_z3950_processingContext = -1; /* T_processingContext */ static int hf_z3950_instructions = -1; /* EXTERNAL */ static int hf_z3950_variantSet = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_variantSetInfo_variants = -1; /* SEQUENCE_OF_VariantClass */ static int hf_z3950_variantSetInfo_variants_item = -1; /* VariantClass */ static int hf_z3950_variantClass = -1; /* INTEGER */ static int hf_z3950_variantTypes = -1; /* SEQUENCE_OF_VariantType */ static int hf_z3950_variantTypes_item = -1; /* VariantType */ static int hf_z3950_variantType = -1; /* INTEGER */ static int hf_z3950_variantValue = -1; /* VariantValue */ static int hf_z3950_values = -1; /* ValueSet */ static int hf_z3950_range = -1; /* ValueRange */ static int hf_z3950_enumerated = -1; /* SEQUENCE_OF_ValueDescription */ static int hf_z3950_enumerated_item = -1; /* ValueDescription */ static int hf_z3950_lower = -1; /* ValueDescription */ static int hf_z3950_upper = -1; /* ValueDescription */ static int hf_z3950_integer = -1; /* INTEGER */ static int hf_z3950_octets = -1; /* OCTET_STRING */ static int hf_z3950_valueDescription_unit = -1; /* Unit */ static int hf_z3950_valueAndUnit = -1; /* IntUnit */ static int hf_z3950_unitInfo_units = -1; /* SEQUENCE_OF_UnitType */ static int hf_z3950_unitInfo_units_item = -1; /* UnitType */ static int hf_z3950_unitType_units = -1; /* SEQUENCE_OF_Units */ static int hf_z3950_unitType_units_item = -1; /* Units */ static int hf_z3950_categories = -1; /* SEQUENCE_OF_CategoryInfo */ static int hf_z3950_categories_item = -1; /* CategoryInfo */ static int hf_z3950_categoryInfo_category = -1; /* InternationalString */ static int hf_z3950_originalCategory = -1; /* InternationalString */ static int hf_z3950_dateAdded = -1; /* GeneralizedTime */ static int hf_z3950_dateChanged = -1; /* GeneralizedTime */ static int hf_z3950_expiry = -1; /* GeneralizedTime */ static int hf_z3950_humanString_Language = -1; /* LanguageCode */ static int hf_z3950_HumanString_item = -1; /* HumanString_item */ static int hf_z3950_language = -1; /* LanguageCode */ static int hf_z3950_text = -1; /* InternationalString */ static int hf_z3950_IconObject_item = -1; /* IconObject_item */ static int hf_z3950_bodyType = -1; /* T_bodyType */ static int hf_z3950_ianaType = -1; /* InternationalString */ static int hf_z3950_z3950type = -1; /* InternationalString */ static int hf_z3950_otherType = -1; /* InternationalString */ static int hf_z3950_content = -1; /* OCTET_STRING */ static int hf_z3950_address = -1; /* HumanString */ static int hf_z3950_email = -1; /* InternationalString */ static int hf_z3950_phone = -1; /* InternationalString */ static int hf_z3950_internetAddress = -1; /* T_internetAddress */ static int hf_z3950_hostAddress = -1; /* InternationalString */ static int hf_z3950_port = -1; /* INTEGER */ static int hf_z3950_osiPresentationAddress = -1; /* T_osiPresentationAddress */ static int hf_z3950_pSel = -1; /* InternationalString */ static int hf_z3950_sSel = -1; /* InternationalString */ static int hf_z3950_tSel = -1; /* InternationalString */ static int hf_z3950_nSap = -1; /* InternationalString */ static int hf_z3950_networkAddress_other = -1; /* T_networkAddress_other */ static int hf_z3950_networkAddress_other_type = -1; /* InternationalString */ static int hf_z3950_networkAddress_other_address = -1; /* InternationalString */ static int hf_z3950_queryTypesSupported = -1; /* SEQUENCE_OF_QueryTypeDetails */ static int hf_z3950_queryTypesSupported_item = -1; /* QueryTypeDetails */ static int hf_z3950_diagnosticsSets = -1; /* T_diagnosticsSets */ static int hf_z3950_diagnosticsSets_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_attributeSetIds = -1; /* SEQUENCE_OF_AttributeSetId */ static int hf_z3950_attributeSetIds_item = -1; /* AttributeSetId */ static int hf_z3950_schemas = -1; /* T_schemas */ static int hf_z3950_schemas_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_recordSyntaxes = -1; /* T_recordSyntaxes */ static int hf_z3950_recordSyntaxes_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_resourceChallenges = -1; /* T_resourceChallenges */ static int hf_z3950_resourceChallenges_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_restrictedAccess = -1; /* AccessRestrictions */ static int hf_z3950_costInfo = -1; /* Costs */ static int hf_z3950_variantSets = -1; /* T_variantSets */ static int hf_z3950_variantSets_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_elementSetNames = -1; /* SEQUENCE_OF_ElementSetName */ static int hf_z3950_elementSetNames_item = -1; /* ElementSetName */ static int hf_z3950_unitSystems = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_unitSystems_item = -1; /* InternationalString */ static int hf_z3950_queryTypeDetails_private = -1; /* PrivateCapabilities */ static int hf_z3950_queryTypeDetails_rpn = -1; /* RpnCapabilities */ static int hf_z3950_iso8777 = -1; /* Iso8777Capabilities */ static int hf_z3950_z39_58 = -1; /* HumanString */ static int hf_z3950_erpn = -1; /* RpnCapabilities */ static int hf_z3950_rankedList = -1; /* HumanString */ static int hf_z3950_privateCapabilities_operators = -1; /* T_privateCapabilities_operators */ static int hf_z3950_privateCapabilities_operators_item = -1; /* T_privateCapabilities_operators_item */ static int hf_z3950_operator = -1; /* InternationalString */ static int hf_z3950_searchKeys = -1; /* SEQUENCE_OF_SearchKey */ static int hf_z3950_searchKeys_item = -1; /* SearchKey */ static int hf_z3950_privateCapabilities_description = -1; /* SEQUENCE_OF_HumanString */ static int hf_z3950_privateCapabilities_description_item = -1; /* HumanString */ static int hf_z3950_operators = -1; /* T_operators */ static int hf_z3950_operators_item = -1; /* INTEGER */ static int hf_z3950_resultSetAsOperandSupported = -1; /* BOOLEAN */ static int hf_z3950_restrictionOperandSupported = -1; /* BOOLEAN */ static int hf_z3950_proximity = -1; /* ProximitySupport */ static int hf_z3950_anySupport = -1; /* BOOLEAN */ static int hf_z3950_unitsSupported = -1; /* T_unitsSupported */ static int hf_z3950_unitsSupported_item = -1; /* T_unitsSupported_item */ static int hf_z3950_proximitySupport_unitsSupported_item_known = -1; /* INTEGER */ static int hf_z3950_proximitySupport_unitsSupported_item_private = -1; /* T_proximitySupport_unitsSupported_item_private */ static int hf_z3950_proximitySupport_unitsSupported_item_private_unit = -1; /* INTEGER */ static int hf_z3950_searchKey = -1; /* InternationalString */ static int hf_z3950_AccessRestrictions_item = -1; /* AccessRestrictions_item */ static int hf_z3950_accessType = -1; /* T_accessType */ static int hf_z3950_accessText = -1; /* HumanString */ static int hf_z3950_accessChallenges = -1; /* T_accessChallenges */ static int hf_z3950_accessChallenges_item = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_connectCharge = -1; /* Charge */ static int hf_z3950_connectTime = -1; /* Charge */ static int hf_z3950_displayCharge = -1; /* Charge */ static int hf_z3950_searchCharge = -1; /* Charge */ static int hf_z3950_subscriptCharge = -1; /* Charge */ static int hf_z3950_otherCharges = -1; /* T_otherCharges */ static int hf_z3950_otherCharges_item = -1; /* T_otherCharges_item */ static int hf_z3950_forWhat = -1; /* HumanString */ static int hf_z3950_charge = -1; /* Charge */ static int hf_z3950_cost = -1; /* IntUnit */ static int hf_z3950_perWhat = -1; /* Unit */ static int hf_z3950_charge_text = -1; /* HumanString */ static int hf_z3950_DatabaseList_item = -1; /* DatabaseName */ static int hf_z3950_defaultAttributeSet = -1; /* AttributeSetId */ static int hf_z3950_legalCombinations = -1; /* SEQUENCE_OF_AttributeCombination */ static int hf_z3950_legalCombinations_item = -1; /* AttributeCombination */ static int hf_z3950_AttributeCombination_item = -1; /* AttributeOccurrence */ static int hf_z3950_mustBeSupplied = -1; /* NULL */ static int hf_z3950_attributeOccurrence_attributeValues = -1; /* T_attributeOccurrence_attributeValues */ static int hf_z3950_any_or_none = -1; /* NULL */ static int hf_z3950_specific = -1; /* SEQUENCE_OF_StringOrNumeric */ static int hf_z3950_specific_item = -1; /* StringOrNumeric */ static int hf_z3950_briefBib_title = -1; /* InternationalString */ static int hf_z3950_author = -1; /* InternationalString */ static int hf_z3950_recordType = -1; /* InternationalString */ static int hf_z3950_bibliographicLevel = -1; /* InternationalString */ static int hf_z3950_briefBib_format = -1; /* SEQUENCE_OF_FormatSpec */ static int hf_z3950_briefBib_format_item = -1; /* FormatSpec */ static int hf_z3950_publicationPlace = -1; /* InternationalString */ static int hf_z3950_publicationDate = -1; /* InternationalString */ static int hf_z3950_targetSystemKey = -1; /* InternationalString */ static int hf_z3950_satisfyingElement = -1; /* InternationalString */ static int hf_z3950_rank = -1; /* INTEGER */ static int hf_z3950_documentId = -1; /* InternationalString */ static int hf_z3950_abstract = -1; /* InternationalString */ static int hf_z3950_formatSpec_type = -1; /* InternationalString */ static int hf_z3950_size = -1; /* INTEGER */ static int hf_z3950_bestPosn = -1; /* INTEGER */ static int hf_z3950_GenericRecord_item = -1; /* TaggedElement */ static int hf_z3950_tagOccurrence = -1; /* INTEGER */ static int hf_z3950_taggedElement_content = -1; /* ElementData */ static int hf_z3950_metaData = -1; /* ElementMetaData */ static int hf_z3950_appliedVariant = -1; /* Variant */ static int hf_z3950_date = -1; /* GeneralizedTime */ static int hf_z3950_ext = -1; /* EXTERNAL */ static int hf_z3950_trueOrFalse = -1; /* BOOLEAN */ static int hf_z3950_intUnit = -1; /* IntUnit */ static int hf_z3950_elementNotThere = -1; /* NULL */ static int hf_z3950_elementEmpty = -1; /* NULL */ static int hf_z3950_noDataRequested = -1; /* NULL */ static int hf_z3950_elementData_diagnostic = -1; /* EXTERNAL */ static int hf_z3950_subtree = -1; /* SEQUENCE_OF_TaggedElement */ static int hf_z3950_subtree_item = -1; /* TaggedElement */ static int hf_z3950_seriesOrder = -1; /* Order */ static int hf_z3950_usageRight = -1; /* Usage */ static int hf_z3950_hits = -1; /* SEQUENCE_OF_HitVector */ static int hf_z3950_hits_item = -1; /* HitVector */ static int hf_z3950_displayName = -1; /* InternationalString */ static int hf_z3950_supportedVariants = -1; /* SEQUENCE_OF_Variant */ static int hf_z3950_supportedVariants_item = -1; /* Variant */ static int hf_z3950_elementDescriptor = -1; /* OCTET_STRING */ static int hf_z3950_surrogateFor = -1; /* TagPath */ static int hf_z3950_surrogateElement = -1; /* TagPath */ static int hf_z3950_TagPath_item = -1; /* TagPath_item */ static int hf_z3950_ascending = -1; /* BOOLEAN */ static int hf_z3950_order = -1; /* INTEGER */ static int hf_z3950_usage_type = -1; /* T_usage_type */ static int hf_z3950_restriction = -1; /* InternationalString */ static int hf_z3950_satisfier = -1; /* Term */ static int hf_z3950_offsetIntoElement = -1; /* IntUnit */ static int hf_z3950_length = -1; /* IntUnit */ static int hf_z3950_hitRank = -1; /* INTEGER */ static int hf_z3950_targetToken = -1; /* OCTET_STRING */ static int hf_z3950_globalVariantSetId = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_triples = -1; /* T_triples */ static int hf_z3950_triples_item = -1; /* T_triples_item */ static int hf_z3950_variantSetId = -1; /* OBJECT_IDENTIFIER */ static int hf_z3950_class = -1; /* INTEGER */ static int hf_z3950_variant_triples_item_value = -1; /* T_variant_triples_item_value */ static int hf_z3950_octetString = -1; /* OCTET_STRING */ static int hf_z3950_boolean = -1; /* BOOLEAN */ static int hf_z3950_variant_triples_item_value_unit = -1; /* Unit */ static int hf_z3950_taskPackage_description = -1; /* InternationalString */ static int hf_z3950_targetReference = -1; /* OCTET_STRING */ static int hf_z3950_creationDateTime = -1; /* GeneralizedTime */ static int hf_z3950_taskStatus = -1; /* T_taskStatus */ static int hf_z3950_packageDiagnostics = -1; /* SEQUENCE_OF_DiagRec */ static int hf_z3950_packageDiagnostics_item = -1; /* DiagRec */ static int hf_z3950_challenge = -1; /* Challenge */ static int hf_z3950_response = -1; /* Response */ static int hf_z3950_Challenge_item = -1; /* Challenge_item */ static int hf_z3950_promptId = -1; /* PromptId */ static int hf_z3950_defaultResponse = -1; /* InternationalString */ static int hf_z3950_promptInfo = -1; /* T_promptInfo */ static int hf_z3950_challenge_item_promptInfo_character = -1; /* InternationalString */ static int hf_z3950_encrypted = -1; /* Encryption */ static int hf_z3950_regExpr = -1; /* InternationalString */ static int hf_z3950_responseRequired = -1; /* NULL */ static int hf_z3950_allowedValues = -1; /* SEQUENCE_OF_InternationalString */ static int hf_z3950_allowedValues_item = -1; /* InternationalString */ static int hf_z3950_shouldSave = -1; /* NULL */ static int hf_z3950_challenge_item_dataType = -1; /* T_challenge_item_dataType */ static int hf_z3950_challenge_item_diagnostic = -1; /* EXTERNAL */ static int hf_z3950_Response_item = -1; /* Response_item */ static int hf_z3950_promptResponse = -1; /* T_promptResponse */ static int hf_z3950_accept = -1; /* BOOLEAN */ static int hf_z3950_acknowledge = -1; /* NULL */ static int hf_z3950_enummeratedPrompt = -1; /* T_enummeratedPrompt */ static int hf_z3950_promptId_enummeratedPrompt_type = -1; /* T_promptId_enummeratedPrompt_type */ static int hf_z3950_suggestedString = -1; /* InternationalString */ static int hf_z3950_nonEnumeratedPrompt = -1; /* InternationalString */ static int hf_z3950_cryptType = -1; /* OCTET_STRING */ static int hf_z3950_credential = -1; /* OCTET_STRING */ static int hf_z3950_data = -1; /* OCTET_STRING */ static int hf_z3950_dES_RN_Object_challenge = -1; /* DRNType */ static int hf_z3950_rES_RN_Object_response = -1; /* DRNType */ static int hf_z3950_dRNType_userId = -1; /* OCTET_STRING */ static int hf_z3950_salt = -1; /* OCTET_STRING */ static int hf_z3950_randomNumber = -1; /* OCTET_STRING */ static int hf_z3950_kRBObject_challenge = -1; /* KRBRequest */ static int hf_z3950_kRBObject_response = -1; /* KRBResponse */ static int hf_z3950_service = -1; /* InternationalString */ static int hf_z3950_instance = -1; /* InternationalString */ static int hf_z3950_realm = -1; /* InternationalString */ static int hf_z3950_userid = -1; /* InternationalString */ static int hf_z3950_ticket = -1; /* OCTET_STRING */ static int hf_z3950_SearchInfoReport_item = -1; /* SearchInfoReport_item */ static int hf_z3950_subqueryId = -1; /* InternationalString */ static int hf_z3950_fullQuery = -1; /* BOOLEAN */ static int hf_z3950_subqueryExpression = -1; /* QueryExpression */ static int hf_z3950_subqueryInterpretation = -1; /* QueryExpression */ static int hf_z3950_subqueryRecommendation = -1; /* QueryExpression */ static int hf_z3950_subqueryCount = -1; /* INTEGER */ static int hf_z3950_subqueryWeight = -1; /* IntUnit */ static int hf_z3950_resultsByDB = -1; /* ResultsByDB */ static int hf_z3950_ResultsByDB_item = -1; /* ResultsByDB_item */ static int hf_z3950_databases = -1; /* T_databases */ static int hf_z3950_all = -1; /* NULL */ static int hf_z3950_list = -1; /* SEQUENCE_OF_DatabaseName */ static int hf_z3950_list_item = -1; /* DatabaseName */ static int hf_z3950_count = -1; /* INTEGER */ static int hf_z3950_queryExpression_term = -1; /* T_queryExpression_term */ static int hf_z3950_queryTerm = -1; /* Term */ static int hf_z3950_termComment = -1; /* InternationalString */ /* named bits */ static int hf_z3950_ProtocolVersion_U_version_1 = -1; static int hf_z3950_ProtocolVersion_U_version_2 = -1; static int hf_z3950_ProtocolVersion_U_version_3 = -1; static int hf_z3950_Options_U_search = -1; static int hf_z3950_Options_U_present = -1; static int hf_z3950_Options_U_delSet = -1; static int hf_z3950_Options_U_resourceReport = -1; static int hf_z3950_Options_U_triggerResourceCtrl = -1; static int hf_z3950_Options_U_resourceCtrl = -1; static int hf_z3950_Options_U_accessCtrl = -1; static int hf_z3950_Options_U_scan = -1; static int hf_z3950_Options_U_sort = -1; static int hf_z3950_Options_U_spare_bit9 = -1; static int hf_z3950_Options_U_extendedServices = -1; static int hf_z3950_Options_U_level_1Segmentation = -1; static int hf_z3950_Options_U_level_2Segmentation = -1; static int hf_z3950_Options_U_concurrentOperations = -1; static int hf_z3950_Options_U_namedResultSets = -1; static int hf_z3950_referenceId_printable = -1; static int hf_z3950_general_printable = -1; /* Initialize the subtree pointers */ static int ett_z3950 = -1; static gint ett_z3950_PDU = -1; static gint ett_z3950_InitializeRequest = -1; static gint ett_z3950_T_idAuthentication = -1; static gint ett_z3950_T_idPass = -1; static gint ett_z3950_InitializeResponse = -1; static gint ett_z3950_ProtocolVersion_U = -1; static gint ett_z3950_Options_U = -1; static gint ett_z3950_SearchRequest = -1; static gint ett_z3950_SEQUENCE_OF_DatabaseName = -1; static gint ett_z3950_Query = -1; static gint ett_z3950_RPNQuery = -1; static gint ett_z3950_RPNStructure = -1; static gint ett_z3950_T_rpnRpnOp = -1; static gint ett_z3950_Operand = -1; static gint ett_z3950_AttributesPlusTerm_U = -1; static gint ett_z3950_ResultSetPlusAttributes_U = -1; static gint ett_z3950_SEQUENCE_OF_AttributeElement = -1; static gint ett_z3950_Term = -1; static gint ett_z3950_Operator_U = -1; static gint ett_z3950_AttributeElement = -1; static gint ett_z3950_T_attributeValue = -1; static gint ett_z3950_T_attributeValue_complex = -1; static gint ett_z3950_SEQUENCE_OF_StringOrNumeric = -1; static gint ett_z3950_T_semanticAction = -1; static gint ett_z3950_ProximityOperator = -1; static gint ett_z3950_T_proximityUnitCode = -1; static gint ett_z3950_SearchResponse = -1; static gint ett_z3950_PresentRequest = -1; static gint ett_z3950_SEQUENCE_OF_Range = -1; static gint ett_z3950_T_recordComposition = -1; static gint ett_z3950_Segment = -1; static gint ett_z3950_SEQUENCE_OF_NamePlusRecord = -1; static gint ett_z3950_PresentResponse = -1; static gint ett_z3950_Records = -1; static gint ett_z3950_SEQUENCE_OF_DiagRec = -1; static gint ett_z3950_NamePlusRecord = -1; static gint ett_z3950_T_record = -1; static gint ett_z3950_FragmentSyntax = -1; static gint ett_z3950_DiagRec = -1; static gint ett_z3950_DefaultDiagFormat = -1; static gint ett_z3950_T_addinfo = -1; static gint ett_z3950_Range = -1; static gint ett_z3950_ElementSetNames = -1; static gint ett_z3950_T_databaseSpecific = -1; static gint ett_z3950_T_databaseSpecific_item = -1; static gint ett_z3950_CompSpec = -1; static gint ett_z3950_T_dbSpecific = -1; static gint ett_z3950_T_dbSpecific_item = -1; static gint ett_z3950_T_compSpec_recordSyntax = -1; static gint ett_z3950_Specification = -1; static gint ett_z3950_T_specification_elementSpec = -1; static gint ett_z3950_DeleteResultSetRequest = -1; static gint ett_z3950_SEQUENCE_OF_ResultSetId = -1; static gint ett_z3950_DeleteResultSetResponse = -1; static gint ett_z3950_ListStatuses = -1; static gint ett_z3950_ListStatuses_item = -1; static gint ett_z3950_AccessControlRequest = -1; static gint ett_z3950_T_securityChallenge = -1; static gint ett_z3950_AccessControlResponse = -1; static gint ett_z3950_T_securityChallengeResponse = -1; static gint ett_z3950_ResourceControlRequest = -1; static gint ett_z3950_ResourceControlResponse = -1; static gint ett_z3950_TriggerResourceControlRequest = -1; static gint ett_z3950_ResourceReportRequest = -1; static gint ett_z3950_ResourceReportResponse = -1; static gint ett_z3950_ScanRequest = -1; static gint ett_z3950_ScanResponse = -1; static gint ett_z3950_ListEntries = -1; static gint ett_z3950_SEQUENCE_OF_Entry = -1; static gint ett_z3950_Entry = -1; static gint ett_z3950_TermInfo = -1; static gint ett_z3950_SEQUENCE_OF_AttributesPlusTerm = -1; static gint ett_z3950_OccurrenceByAttributes = -1; static gint ett_z3950_OccurrenceByAttributes_item = -1; static gint ett_z3950_T_occurrences = -1; static gint ett_z3950_T_byDatabase = -1; static gint ett_z3950_T_byDatabase_item = -1; static gint ett_z3950_SortRequest = -1; static gint ett_z3950_SEQUENCE_OF_InternationalString = -1; static gint ett_z3950_SEQUENCE_OF_SortKeySpec = -1; static gint ett_z3950_SortResponse = -1; static gint ett_z3950_SortKeySpec = -1; static gint ett_z3950_T_missingValueAction = -1; static gint ett_z3950_SortElement = -1; static gint ett_z3950_T_datbaseSpecific = -1; static gint ett_z3950_T_datbaseSpecific_item = -1; static gint ett_z3950_SortKey = -1; static gint ett_z3950_T_sortAttributes = -1; static gint ett_z3950_ExtendedServicesRequest = -1; static gint ett_z3950_ExtendedServicesResponse = -1; static gint ett_z3950_Permissions = -1; static gint ett_z3950_Permissions_item = -1; static gint ett_z3950_T_allowableFunctions = -1; static gint ett_z3950_Close = -1; static gint ett_z3950_OtherInformation_U = -1; static gint ett_z3950_T__untag_item = -1; static gint ett_z3950_T_information = -1; static gint ett_z3950_InfoCategory = -1; static gint ett_z3950_IntUnit = -1; static gint ett_z3950_Unit = -1; static gint ett_z3950_StringOrNumeric = -1; static gint ett_z3950_OCLC_UserInformation = -1; static gint ett_z3950_SEQUENCE_OF_DBName = -1; static gint ett_z3950_OPACRecord = -1; static gint ett_z3950_SEQUENCE_OF_HoldingsRecord = -1; static gint ett_z3950_HoldingsRecord = -1; static gint ett_z3950_HoldingsAndCircData = -1; static gint ett_z3950_SEQUENCE_OF_Volume = -1; static gint ett_z3950_SEQUENCE_OF_CircRecord = -1; static gint ett_z3950_Volume = -1; static gint ett_z3950_CircRecord = -1; static gint ett_z3950_DiagnosticFormat = -1; static gint ett_z3950_DiagnosticFormat_item = -1; static gint ett_z3950_T_diagnosticFormat_item_diagnostic = -1; static gint ett_z3950_DiagFormat = -1; static gint ett_z3950_T_tooMany = -1; static gint ett_z3950_T_badSpec = -1; static gint ett_z3950_SEQUENCE_OF_Specification = -1; static gint ett_z3950_T_dbUnavail = -1; static gint ett_z3950_T_why = -1; static gint ett_z3950_T_attribute = -1; static gint ett_z3950_T_attCombo = -1; static gint ett_z3950_SEQUENCE_OF_AttributeList = -1; static gint ett_z3950_T_diagFormat_term = -1; static gint ett_z3950_T_diagFormat_proximity = -1; static gint ett_z3950_T_scan = -1; static gint ett_z3950_T_sort = -1; static gint ett_z3950_T_segmentation = -1; static gint ett_z3950_T_extServices = -1; static gint ett_z3950_T_accessCtrl = -1; static gint ett_z3950_T_diagFormat_accessCtrl_oid = -1; static gint ett_z3950_T_alternative = -1; static gint ett_z3950_T_diagFormat_recordSyntax = -1; static gint ett_z3950_T_suggestedAlternatives = -1; static gint ett_z3950_Explain_Record = -1; static gint ett_z3950_TargetInfo = -1; static gint ett_z3950_SEQUENCE_OF_DatabaseList = -1; static gint ett_z3950_SEQUENCE_OF_NetworkAddress = -1; static gint ett_z3950_DatabaseInfo = -1; static gint ett_z3950_SEQUENCE_OF_HumanString = -1; static gint ett_z3950_T_recordCount = -1; static gint ett_z3950_SchemaInfo = -1; static gint ett_z3950_T_tagTypeMapping = -1; static gint ett_z3950_T_tagTypeMapping_item = -1; static gint ett_z3950_SEQUENCE_OF_ElementInfo = -1; static gint ett_z3950_ElementInfo = -1; static gint ett_z3950_Path = -1; static gint ett_z3950_Path_item = -1; static gint ett_z3950_ElementDataType = -1; static gint ett_z3950_TagSetInfo = -1; static gint ett_z3950_T_tagSetInfo_elements = -1; static gint ett_z3950_T_tagSetInfo_elements_item = -1; static gint ett_z3950_RecordSyntaxInfo = -1; static gint ett_z3950_T_transferSyntaxes = -1; static gint ett_z3950_AttributeSetInfo = -1; static gint ett_z3950_SEQUENCE_OF_AttributeType = -1; static gint ett_z3950_AttributeType = -1; static gint ett_z3950_SEQUENCE_OF_AttributeDescription = -1; static gint ett_z3950_AttributeDescription = -1; static gint ett_z3950_TermListInfo = -1; static gint ett_z3950_T_termLists = -1; static gint ett_z3950_T_termLists_item = -1; static gint ett_z3950_ExtendedServicesInfo = -1; static gint ett_z3950_AttributeDetails = -1; static gint ett_z3950_SEQUENCE_OF_AttributeSetDetails = -1; static gint ett_z3950_AttributeSetDetails = -1; static gint ett_z3950_SEQUENCE_OF_AttributeTypeDetails = -1; static gint ett_z3950_AttributeTypeDetails = -1; static gint ett_z3950_SEQUENCE_OF_AttributeValue = -1; static gint ett_z3950_OmittedAttributeInterpretation = -1; static gint ett_z3950_AttributeValue = -1; static gint ett_z3950_TermListDetails = -1; static gint ett_z3950_T_scanInfo = -1; static gint ett_z3950_SEQUENCE_OF_Term = -1; static gint ett_z3950_ElementSetDetails = -1; static gint ett_z3950_SEQUENCE_OF_PerElementDetails = -1; static gint ett_z3950_RetrievalRecordDetails = -1; static gint ett_z3950_PerElementDetails = -1; static gint ett_z3950_SEQUENCE_OF_Path = -1; static gint ett_z3950_RecordTag = -1; static gint ett_z3950_SortDetails = -1; static gint ett_z3950_SEQUENCE_OF_SortKeyDetails = -1; static gint ett_z3950_SortKeyDetails = -1; static gint ett_z3950_T_sortType = -1; static gint ett_z3950_ProcessingInformation = -1; static gint ett_z3950_VariantSetInfo = -1; static gint ett_z3950_SEQUENCE_OF_VariantClass = -1; static gint ett_z3950_VariantClass = -1; static gint ett_z3950_SEQUENCE_OF_VariantType = -1; static gint ett_z3950_VariantType = -1; static gint ett_z3950_VariantValue = -1; static gint ett_z3950_ValueSet = -1; static gint ett_z3950_SEQUENCE_OF_ValueDescription = -1; static gint ett_z3950_ValueRange = -1; static gint ett_z3950_ValueDescription = -1; static gint ett_z3950_UnitInfo = -1; static gint ett_z3950_SEQUENCE_OF_UnitType = -1; static gint ett_z3950_UnitType = -1; static gint ett_z3950_SEQUENCE_OF_Units = -1; static gint ett_z3950_Units = -1; static gint ett_z3950_CategoryList = -1; static gint ett_z3950_SEQUENCE_OF_CategoryInfo = -1; static gint ett_z3950_CategoryInfo = -1; static gint ett_z3950_CommonInfo = -1; static gint ett_z3950_HumanString = -1; static gint ett_z3950_HumanString_item = -1; static gint ett_z3950_IconObject = -1; static gint ett_z3950_IconObject_item = -1; static gint ett_z3950_T_bodyType = -1; static gint ett_z3950_ContactInfo = -1; static gint ett_z3950_NetworkAddress = -1; static gint ett_z3950_T_internetAddress = -1; static gint ett_z3950_T_osiPresentationAddress = -1; static gint ett_z3950_T_networkAddress_other = -1; static gint ett_z3950_AccessInfo = -1; static gint ett_z3950_SEQUENCE_OF_QueryTypeDetails = -1; static gint ett_z3950_T_diagnosticsSets = -1; static gint ett_z3950_SEQUENCE_OF_AttributeSetId = -1; static gint ett_z3950_T_schemas = -1; static gint ett_z3950_T_recordSyntaxes = -1; static gint ett_z3950_T_resourceChallenges = -1; static gint ett_z3950_T_variantSets = -1; static gint ett_z3950_SEQUENCE_OF_ElementSetName = -1; static gint ett_z3950_QueryTypeDetails = -1; static gint ett_z3950_PrivateCapabilities = -1; static gint ett_z3950_T_privateCapabilities_operators = -1; static gint ett_z3950_T_privateCapabilities_operators_item = -1; static gint ett_z3950_SEQUENCE_OF_SearchKey = -1; static gint ett_z3950_RpnCapabilities = -1; static gint ett_z3950_T_operators = -1; static gint ett_z3950_Iso8777Capabilities = -1; static gint ett_z3950_ProximitySupport = -1; static gint ett_z3950_T_unitsSupported = -1; static gint ett_z3950_T_unitsSupported_item = -1; static gint ett_z3950_T_proximitySupport_unitsSupported_item_private = -1; static gint ett_z3950_SearchKey = -1; static gint ett_z3950_AccessRestrictions = -1; static gint ett_z3950_AccessRestrictions_item = -1; static gint ett_z3950_T_accessChallenges = -1; static gint ett_z3950_Costs = -1; static gint ett_z3950_T_otherCharges = -1; static gint ett_z3950_T_otherCharges_item = -1; static gint ett_z3950_Charge = -1; static gint ett_z3950_DatabaseList = -1; static gint ett_z3950_AttributeCombinations = -1; static gint ett_z3950_SEQUENCE_OF_AttributeCombination = -1; static gint ett_z3950_AttributeCombination = -1; static gint ett_z3950_AttributeOccurrence = -1; static gint ett_z3950_T_attributeOccurrence_attributeValues = -1; static gint ett_z3950_BriefBib = -1; static gint ett_z3950_SEQUENCE_OF_FormatSpec = -1; static gint ett_z3950_FormatSpec = -1; static gint ett_z3950_GenericRecord = -1; static gint ett_z3950_TaggedElement = -1; static gint ett_z3950_ElementData = -1; static gint ett_z3950_SEQUENCE_OF_TaggedElement = -1; static gint ett_z3950_ElementMetaData = -1; static gint ett_z3950_SEQUENCE_OF_HitVector = -1; static gint ett_z3950_SEQUENCE_OF_Variant = -1; static gint ett_z3950_TagPath = -1; static gint ett_z3950_TagPath_item = -1; static gint ett_z3950_Order = -1; static gint ett_z3950_Usage = -1; static gint ett_z3950_HitVector = -1; static gint ett_z3950_Variant = -1; static gint ett_z3950_T_triples = -1; static gint ett_z3950_T_triples_item = -1; static gint ett_z3950_T_variant_triples_item_value = -1; static gint ett_z3950_TaskPackage = -1; static gint ett_z3950_PromptObject = -1; static gint ett_z3950_Challenge = -1; static gint ett_z3950_Challenge_item = -1; static gint ett_z3950_T_promptInfo = -1; static gint ett_z3950_Response = -1; static gint ett_z3950_Response_item = -1; static gint ett_z3950_T_promptResponse = -1; static gint ett_z3950_PromptId = -1; static gint ett_z3950_T_enummeratedPrompt = -1; static gint ett_z3950_Encryption = -1; static gint ett_z3950_DES_RN_Object = -1; static gint ett_z3950_DRNType = -1; static gint ett_z3950_KRBObject = -1; static gint ett_z3950_KRBRequest = -1; static gint ett_z3950_KRBResponse = -1; static gint ett_z3950_SearchInfoReport = -1; static gint ett_z3950_SearchInfoReport_item = -1; static gint ett_z3950_ResultsByDB = -1; static gint ett_z3950_ResultsByDB_item = -1; static gint ett_z3950_T_databases = -1; static gint ett_z3950_QueryExpression = -1; static gint ett_z3950_T_queryExpression_term = -1; /* MARC variables and forwards */ static int dissect_marc_record(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void * data _U_); /* MARC fields */ static int hf_marc_record = -1; static int hf_marc_record_terminator = -1; static int hf_marc_leader = -1; static int hf_marc_leader_length = -1; static int hf_marc_leader_status = -1; static int hf_marc_leader_type = -1; static int hf_marc_leader_biblevel = -1; static int hf_marc_leader_control = -1; static int hf_marc_leader_encoding = -1; static int hf_marc_leader_indicator_count = -1; static int hf_marc_leader_subfield_count = -1; static int hf_marc_leader_data_offset = -1; static int hf_marc_leader_encoding_level = -1; static int hf_marc_leader_descriptive_cataloging = -1; static int hf_marc_leader_multipart_level = -1; static int hf_marc_leader_length_of_field_length = -1; static int hf_marc_leader_starting_character_position_length = -1; static int hf_marc_leader_implementation_defined_length = -1; static int hf_marc_directory = -1; static int hf_marc_directory_entry = -1; static int hf_marc_directory_entry_tag = -1; static int hf_marc_directory_entry_length = -1; static int hf_marc_directory_entry_starting_position = -1; static int hf_marc_directory_terminator = -1; static int hf_marc_fields = -1; static int hf_marc_field = -1; static int hf_marc_field_control = -1; static int hf_marc_field_terminator = -1; static int hf_marc_field_indicator1 = -1; static int hf_marc_field_indicator2 = -1; static int hf_marc_field_subfield_indicator = -1; static int hf_marc_field_subfield_tag = -1; static int hf_marc_field_subfield = -1; /* MARC subtree pointers */ static int ett_marc_record = -1; static int ett_marc_leader = -1; static int ett_marc_directory = -1; static int ett_marc_directory_entry = -1; static int ett_marc_fields = -1; static int ett_marc_field = -1; /* MARC expert fields */ static expert_field ei_marc_invalid_length = EI_INIT; static expert_field ei_marc_invalid_value = EI_INIT; static expert_field ei_marc_invalid_record_length = EI_INIT; /* MARC value strings */ static const value_string marc_tag_names[] = { { 1, "Control Number" }, { 3, "Control Number Identifier" }, { 5, "Date and Time of Latest Transaction" }, { 6, "Fixed-length Data Elements - Additional Material Characteristics" }, { 8, "Fixed-length Data Elements" }, { 7, "Physical Description Fixed Field" }, { 10, "Library of Congress Control Number" }, { 15, "National Bibliography Number" }, { 16, "National Bibliographic Agency Control Number" }, { 17, "Copyright or Legal Deposit Number" }, { 20, "International Standard Book Number (ISBN)" }, { 22, "International Standard Serial Number (ISSN)" }, { 24, "Other Standard Identifier" }, { 25, "Overseas Acquisition Number" }, { 26, "Fingerprint Identifier" }, { 27, "Standard Technical Report Number" }, { 28, "Publisher or Distributor Number" }, { 30, "CODEN Designation" }, { 32, "Postal Registration Number" }, { 33, "Date/Time and Place of an Event" }, { 35, "System Control Number" }, { 37, "Source of Acquisition" }, { 38, "Record Content Licensor" }, { 40, "Cataloging Source" }, { 41, "Language Code" }, { 42, "Authentication Code" }, { 43, "Geographic Area Code" }, { 44, "Country of Publishing/Producing Entity Code" }, { 45, "Time Period of Content" }, { 47, "Form of Musical Composition Code" }, { 50, "Library of Congress Call Number" }, { 51, "Library of Congress Copy, Issue, Offprint Statement" }, { 60, "National Library of Medicine Call Number" }, { 66, "Character Sets Present" }, { 80, "Universal Decimal Classification Number" }, { 82, "Dewey Decimal Classification Number" }, { 83, "Additional Dewey Decimal Classification Number" }, { 84, "Other Classification Number" }, { 100, "Main Entry - Personal Name" }, { 110, "Main Entry - Corporate Name" }, { 111, "Main Entry - Meeting Name" }, { 130, "Main Entry - Uniform Title" }, { 210, "Abbreviated Title" }, { 222, "Key Title" }, { 240, "Uniform Title" }, { 242, "Translation of Title by Cataloging Agency" }, { 243, "Collective Uniform Title" }, { 245, "Title Statement" }, { 246, "Varying Form of Title" }, { 247, "Former Title" }, { 249, "Local LoC Varying Form of Title" }, { 250, "Edition Statement" }, { 260, "Publication, Distribution, etc. (Imprint)" }, { 264, "Production, Publication, Distribution, Manufacture, and Copyright Notice" }, { 300, "Physical Description" }, { 310, "Current Publication Frequency" }, { 321, "former Publication Frequency" }, { 336, "Content Type" }, { 337, "Media Type" }, { 338, "Carrier Type" }, { 340, "Physical Medium" }, { 362, "Dates of Publication and/or Sequential Designation" }, { 400, "Series Statement/Added Entry-Personal Name" }, { 410, "Series Statement/Added Entry-Corporate Name" }, { 411, "Series Statement/Added Entry-Meeting Name" }, { 440, "Series Statement/Added Entry-Title" }, { 490, "Series Statement" }, { 500, "General Note" }, { 504, "Bibliography, etc. Note" }, { 505, "Formatted Contents Note" }, { 506, "Restrictions on Access Note" }, { 508, "Creation/Production Credits Note" }, { 510, "Citation/References Note" }, { 511, "Participant or Performer Note" }, { 515, "Numbering Peculiarities Note" }, { 518, "Date/Time and Place of an Event Note" }, { 520, "Summary, etc." }, { 521, "Target Audience Note" }, { 522, "Geographic Coverage Note" }, { 524, "Preferred Citation of Described Materials Note" }, { 525, "Supplement Note" }, { 530, "Additional Physical Form available Note" }, { 532, "Accessibility Note" }, { 533, "Reproduction Note" }, { 534, "Original Version Note" }, { 538, "System Details Note" }, { 540, "Terms Governing Use and Reproduction Note" }, { 541, "Immediate Source of Acquisition Note" }, { 542, "Information Relating to Copyright Status" }, { 546, "Language Note" }, { 550, "Issuing Body Note" }, { 555, "Cumulative Index/Finding Aids Note" }, { 583, "Action Note" }, { 588, "Source of Description, Etc. Note" }, { 590, "Local LoC Note" }, { 591, "Local LoC \"With\" Note" }, { 592, "Local LoC Acquisition Note" }, { 600, "Subject Added Entry - Personal Name" }, { 610, "Subject Added Entry - Corporate Name" }, { 611, "Subject Added Entry - Meeting Name" }, { 630, "Subject Added Entry - Uniform Title" }, { 647, "Subject Added Entry - Named Event" }, { 648, "Subject Added Entry - Chronological Term" }, { 650, "Subject Added Entry - Topical Term" }, { 651, "Subject Added Entry - Geographic Name" }, { 653, "Index Term - Uncontrolled" }, { 654, "Subject Added Entry - Faceted Topical Terms" }, { 655, "Index Term - Genre/Form" }, { 656, "Index Term - Occupation" }, { 657, "Index Term - Function" }, { 658, "Index Term - Curriculum Objective" }, { 662, "Subject Added Entry - Hierarchical Place Name" }, { 700, "Added Entry - Personal Name" }, { 710, "Added Entry - Corporate Name" }, { 711, "Added Entry - Meeting Name" }, { 720, "Added Entry - Uncontrolled Name" }, { 730, "Added Entry - Uniform Title" }, { 740, "Added Entry - Uncontrolled Related/Analytical Title" }, { 751, "Added Entry - Geographic Name" }, { 752, "Added Entry - Hierarchical Place Name" }, { 753, "System Details Access to Computer Files" }, { 754, "Added Entry - Taxonomic Identification" }, { 758, "Resource Identifier" }, { 760, "Main Series Entry" }, { 762, "Subseries Entry" }, { 765, "Original Language Entry" }, { 767, "Translation Entry" }, { 770, "Supplement/Special Issue Entry" }, { 772, "Supplement Parent Entry" }, { 773, "Host Item Entry" }, { 774, "Constituent Unit Entry" }, { 775, "Other Edition Entry" }, { 776, "Additional Physical Form Entry" }, { 777, "Issued With Entry" }, { 780, "Preceding Entry" }, { 785, "Succeeding Entry" }, { 786, "Data Source Entry" }, { 787, "Other Relationship Entry" }, { 800, "Series Added Entry - Personal Name" }, { 810, "Series Added Entry - Corporate Name" }, { 811, "Series Added Entry - Meeting Name" }, { 830, "Series Added Entry - Uniform Title" }, { 850, "Holding Institution" }, { 852, "Location" }, { 853, "Captions and Pattern - Basic Bibliographic Unit" }, { 856, "Electronic Location and Access" }, { 859, "Local LoC Electronic Location and Access" }, { 863, "Enumeration and Chronology - Basic Bibliographic Unit" }, { 880, "Alternate Graphic Representation" }, { 890, "Local LoC Visible File Entry" }, { 906, "Local LoC Processing Data" }, { 920, "Local LoC Selection Decision" }, { 922, "Local LoC Book Source" }, { 923, "Local LoC Supplier Invoice or Shipment Id" }, { 925, "Local LoC Selection Decision" }, { 952, "Local LoC Cataloger's Permanent Note" }, { 955, "Local LoC Functional Identifying Information" }, { 984, "Local LoC Shelflist Compare Status" }, { 985, "Local LoC Record History" }, { 987, "Local LoC Conversation History" }, { 991, "Local LoC Location Information" }, { 992, "Local LoC Location Information" }, { 0, NULL} }; static int dissect_z3950_printable_OCTET_STRING(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *next_tvb = NULL; int hf_alternate = -1; guint old_offset = offset; if (hf_index == hf_z3950_referenceId) { hf_alternate = hf_z3950_referenceId_printable; } else if ( hf_index == hf_z3950_general) { hf_alternate = hf_z3950_general_printable; } if (hf_alternate > 0) { /* extract the value of the octet string so we can look at it. */ /* This does not display anything because tree is NULL. */ offset = dissect_ber_octet_string(implicit_tag, actx, NULL, tvb, offset, hf_index, &next_tvb); if (next_tvb && tvb_ascii_isprint(next_tvb, 0, tvb_reported_length(next_tvb))) { proto_tree_add_item(tree, hf_alternate, next_tvb, 0, tvb_reported_length(next_tvb), ENC_ASCII|ENC_NA); } else { offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, old_offset, hf_index, NULL); } } else { offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, old_offset, hf_index, NULL); } return offset; } /*--- Cyclic dependencies ---*/ /* RPNStructure -> RPNStructure/rpnRpnOp -> RPNStructure */ /* RPNStructure -> RPNStructure/rpnRpnOp -> RPNStructure */ static int dissect_z3950_RPNStructure(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); /* ElementInfo -> ElementDataType -> ElementDataType/structured -> ElementInfo */ static int dissect_z3950_ElementInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); /* TaggedElement -> ElementData -> ElementData/subtree -> TaggedElement */ static int dissect_z3950_TaggedElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); static int dissect_z3950_OCTET_STRING(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_z3950_ReferenceId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 2, TRUE, dissect_z3950_printable_OCTET_STRING); return offset; } static int * const ProtocolVersion_U_bits[] = { &hf_z3950_ProtocolVersion_U_version_1, &hf_z3950_ProtocolVersion_U_version_2, &hf_z3950_ProtocolVersion_U_version_3, NULL }; static int dissect_z3950_ProtocolVersion_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, ProtocolVersion_U_bits, 3, hf_index, ett_z3950_ProtocolVersion_U, NULL); return offset; } static int dissect_z3950_ProtocolVersion(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 3, TRUE, dissect_z3950_ProtocolVersion_U); return offset; } static int * const Options_U_bits[] = { &hf_z3950_Options_U_search, &hf_z3950_Options_U_present, &hf_z3950_Options_U_delSet, &hf_z3950_Options_U_resourceReport, &hf_z3950_Options_U_triggerResourceCtrl, &hf_z3950_Options_U_resourceCtrl, &hf_z3950_Options_U_accessCtrl, &hf_z3950_Options_U_scan, &hf_z3950_Options_U_sort, &hf_z3950_Options_U_spare_bit9, &hf_z3950_Options_U_extendedServices, &hf_z3950_Options_U_level_1Segmentation, &hf_z3950_Options_U_level_2Segmentation, &hf_z3950_Options_U_concurrentOperations, &hf_z3950_Options_U_namedResultSets, NULL }; static int dissect_z3950_Options_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset, Options_U_bits, 15, hf_index, ett_z3950_Options_U, NULL); return offset; } static int dissect_z3950_Options(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 4, TRUE, dissect_z3950_Options_U); return offset; } static int dissect_z3950_INTEGER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_z3950_VisibleString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_VisibleString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_z3950_InternationalString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_GeneralString, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_idPass_sequence[] = { { &hf_z3950_groupId , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_userId , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_password , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_idPass(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_idPass_sequence, hf_index, ett_z3950_T_idPass); return offset; } static int dissect_z3950_NULL(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } static int dissect_z3950_EXTERNAL(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_external_type(implicit_tag, tree, tvb, offset, actx, hf_index, NULL); return offset; } static const value_string z3950_T_idAuthentication_vals[] = { { 0, "open" }, { 1, "idPass" }, { 2, "anonymous" }, { 3, "other" }, { 0, NULL } }; static const ber_choice_t T_idAuthentication_choice[] = { { 0, &hf_z3950_open , BER_CLASS_UNI, BER_UNI_TAG_VisibleString, BER_FLAGS_NOOWNTAG, dissect_z3950_VisibleString }, { 1, &hf_z3950_idPass , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_idPass }, { 2, &hf_z3950_anonymous , BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_z3950_NULL }, { 3, &hf_z3950_other , BER_CLASS_UNI, BER_UNI_TAG_EXTERNAL, BER_FLAGS_NOOWNTAG, dissect_z3950_EXTERNAL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_idAuthentication(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_idAuthentication_choice, hf_index, ett_z3950_T_idAuthentication, NULL); return offset; } static int dissect_z3950_OBJECT_IDENTIFIER(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t InfoCategory_sequence[] = { { &hf_z3950_categoryTypeId, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_categoryValue , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_InfoCategory(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, InfoCategory_sequence, hf_index, ett_z3950_InfoCategory); return offset; } static const value_string z3950_T_information_vals[] = { { 2, "characterInfo" }, { 3, "binaryInfo" }, { 4, "externallyDefinedInfo" }, { 5, "oid" }, { 0, NULL } }; static const ber_choice_t T_information_choice[] = { { 2, &hf_z3950_characterInfo , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 3, &hf_z3950_binaryInfo , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { 4, &hf_z3950_externallyDefinedInfo, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { 5, &hf_z3950_oid , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_information(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_information_choice, hf_index, ett_z3950_T_information, NULL); return offset; } static const ber_sequence_t T__untag_item_sequence[] = { { &hf_z3950_category , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InfoCategory }, { &hf_z3950_information , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_information }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T__untag_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T__untag_item_sequence, hf_index, ett_z3950_T__untag_item); return offset; } static const ber_sequence_t OtherInformation_U_sequence_of[1] = { { &hf_z3950_otherInformation_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T__untag_item }, }; static int dissect_z3950_OtherInformation_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, OtherInformation_U_sequence_of, hf_index, ett_z3950_OtherInformation_U); return offset; } static int dissect_z3950_OtherInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 201, TRUE, dissect_z3950_OtherInformation_U); return offset; } static const ber_sequence_t InitializeRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_protocolVersion, BER_CLASS_CON, 3, BER_FLAGS_NOOWNTAG, dissect_z3950_ProtocolVersion }, { &hf_z3950_options , BER_CLASS_CON, 4, BER_FLAGS_NOOWNTAG, dissect_z3950_Options }, { &hf_z3950_preferredMessageSize, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_exceptionalRecordSize, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_idAuthentication, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_z3950_T_idAuthentication }, { &hf_z3950_implementationId, BER_CLASS_CON, 110, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_implementationName, BER_CLASS_CON, 111, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_implementationVersion, BER_CLASS_CON, 112, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_userInformationField, BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL, dissect_z3950_EXTERNAL }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_InitializeRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, InitializeRequest_sequence, hf_index, ett_z3950_InitializeRequest); return offset; } static int dissect_z3950_BOOLEAN(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t InitializeResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_protocolVersion, BER_CLASS_CON, 3, BER_FLAGS_NOOWNTAG, dissect_z3950_ProtocolVersion }, { &hf_z3950_options , BER_CLASS_CON, 4, BER_FLAGS_NOOWNTAG, dissect_z3950_Options }, { &hf_z3950_preferredMessageSize, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_exceptionalRecordSize, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_result , BER_CLASS_CON, 12, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_implementationId, BER_CLASS_CON, 110, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_implementationName, BER_CLASS_CON, 111, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_implementationVersion, BER_CLASS_CON, 112, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_userInformationField, BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL, dissect_z3950_EXTERNAL }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_InitializeResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, InitializeResponse_sequence, hf_index, ett_z3950_InitializeResponse); return offset; } static int dissect_z3950_DatabaseName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 105, TRUE, dissect_z3950_InternationalString); return offset; } static const ber_sequence_t SEQUENCE_OF_DatabaseName_sequence_of[1] = { { &hf_z3950_databaseNames_item, BER_CLASS_CON, 105, BER_FLAGS_NOOWNTAG, dissect_z3950_DatabaseName }, }; static int dissect_z3950_SEQUENCE_OF_DatabaseName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_DatabaseName_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_DatabaseName); return offset; } static int dissect_z3950_ElementSetName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 103, TRUE, dissect_z3950_InternationalString); return offset; } static const ber_sequence_t T_databaseSpecific_item_sequence[] = { { &hf_z3950_dbName , BER_CLASS_CON, 105, BER_FLAGS_NOOWNTAG, dissect_z3950_DatabaseName }, { &hf_z3950_esn , BER_CLASS_CON, 103, BER_FLAGS_NOOWNTAG, dissect_z3950_ElementSetName }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_databaseSpecific_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_databaseSpecific_item_sequence, hf_index, ett_z3950_T_databaseSpecific_item); return offset; } static const ber_sequence_t T_databaseSpecific_sequence_of[1] = { { &hf_z3950_databaseSpecific_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_databaseSpecific_item }, }; static int dissect_z3950_T_databaseSpecific(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_databaseSpecific_sequence_of, hf_index, ett_z3950_T_databaseSpecific); return offset; } static const value_string z3950_ElementSetNames_vals[] = { { 0, "genericElementSetName" }, { 1, "databaseSpecific" }, { 0, NULL } }; static const ber_choice_t ElementSetNames_choice[] = { { 0, &hf_z3950_genericElementSetName, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 1, &hf_z3950_databaseSpecific, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_databaseSpecific }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ElementSetNames(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, ElementSetNames_choice, hf_index, ett_z3950_ElementSetNames, NULL); return offset; } static int dissect_z3950_T_type_0(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { /*XXX Not implemented yet */ return offset; } static int dissect_z3950_AttributeSetId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *oid_tvb=NULL; offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, &oid_tvb); if (oid_tvb) { packet_info *pinfo = actx->pinfo; guint len = tvb_reported_length_remaining(oid_tvb, 0); gchar *oid_str = oid_encoded2string(pinfo->pool, tvb_get_ptr(oid_tvb, 0, len), len); gint attribute_set_idx = Z3950_ATSET_UNKNOWN; z3950_atinfo_t *atinfo_data; if (g_strcmp0(oid_str, Z3950_ATSET_BIB1_OID) == 0) { attribute_set_idx = Z3950_ATSET_BIB1; } if ((atinfo_data = (z3950_atinfo_t *)p_get_proto_data(pinfo->pool, pinfo, proto_z3950, Z3950_ATINFO_KEY)) == NULL) { atinfo_data = wmem_new0(pinfo->pool, z3950_atinfo_t); atinfo_data->atsetidx = attribute_set_idx; p_add_proto_data(pinfo->pool, pinfo, proto_z3950, Z3950_ATINFO_KEY, atinfo_data); } else { atinfo_data->atsetidx = attribute_set_idx; } } return offset; } static int dissect_z3950_T_attributeElement_attributeType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { gint att_type=0; packet_info *pinfo = actx->pinfo; z3950_atinfo_t *atinfo_data; offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &att_type); atinfo_data = (z3950_atinfo_t *)p_get_proto_data(pinfo->pool, pinfo, proto_z3950, Z3950_ATINFO_KEY); if (atinfo_data && atinfo_data->atsetidx == Z3950_ATSET_BIB1) { proto_item_append_text(actx->created_item, " (%s)", val_to_str(att_type, z3950_bib1_att_types, "Unknown bib-1 attributeType %d")); atinfo_data->attype = att_type; } return offset; } static int dissect_z3950_T_attributeValue_numeric(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { gint att_value=0; packet_info *pinfo = actx->pinfo; z3950_atinfo_t *atinfo_data; const value_string *att_value_string = NULL; offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &att_value); atinfo_data = (z3950_atinfo_t *)p_get_proto_data(pinfo->pool, pinfo, proto_z3950, Z3950_ATINFO_KEY); if (atinfo_data && atinfo_data->atsetidx == Z3950_ATSET_BIB1) { switch (atinfo_data->attype) { case Z3950_BIB1_AT_USE: att_value_string = z3950_bib1_at_use; break; case Z3950_BIB1_AT_RELATION: att_value_string = z3950_bib1_at_relation; break; case Z3950_BIB1_AT_POSITION: att_value_string = z3950_bib1_at_position; break; case Z3950_BIB1_AT_STRUCTURE: att_value_string = z3950_bib1_at_structure; break; case Z3950_BIB1_AT_TRUNCATION: att_value_string = z3950_bib1_at_truncation; break; case Z3950_BIB1_AT_COMPLETENESS: att_value_string = z3950_bib1_at_completeness; break; default: att_value_string = NULL; } if (att_value_string) { proto_item_append_text(actx->created_item, " (%s)", val_to_str(att_value, att_value_string, "Unknown bib-1 attributeValue %d")); } } return offset; } static const value_string z3950_StringOrNumeric_vals[] = { { 1, "string" }, { 2, "numeric" }, { 0, NULL } }; static const ber_choice_t StringOrNumeric_choice[] = { { 1, &hf_z3950_string , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 2, &hf_z3950_numeric , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_StringOrNumeric(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, StringOrNumeric_choice, hf_index, ett_z3950_StringOrNumeric, NULL); return offset; } static const ber_sequence_t SEQUENCE_OF_StringOrNumeric_sequence_of[1] = { { &hf_z3950_attributeValue_complex_list_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, }; static int dissect_z3950_SEQUENCE_OF_StringOrNumeric(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_StringOrNumeric_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_StringOrNumeric); return offset; } static const ber_sequence_t T_semanticAction_sequence_of[1] = { { &hf_z3950_semanticAction_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_z3950_INTEGER }, }; static int dissect_z3950_T_semanticAction(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_semanticAction_sequence_of, hf_index, ett_z3950_T_semanticAction); return offset; } static const ber_sequence_t T_attributeValue_complex_sequence[] = { { &hf_z3950_attributeValue_complex_list, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_StringOrNumeric }, { &hf_z3950_semanticAction, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_semanticAction }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_attributeValue_complex(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_attributeValue_complex_sequence, hf_index, ett_z3950_T_attributeValue_complex); return offset; } static const value_string z3950_T_attributeValue_vals[] = { { 121, "numeric" }, { 224, "complex" }, { 0, NULL } }; static const ber_choice_t T_attributeValue_choice[] = { { 121, &hf_z3950_attributeValue_numeric, BER_CLASS_CON, 121, BER_FLAGS_IMPLTAG, dissect_z3950_T_attributeValue_numeric }, { 224, &hf_z3950_attributeValue_complex, BER_CLASS_CON, 224, BER_FLAGS_IMPLTAG, dissect_z3950_T_attributeValue_complex }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_attributeValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_attributeValue_choice, hf_index, ett_z3950_T_attributeValue, NULL); return offset; } static const ber_sequence_t AttributeElement_sequence[] = { { &hf_z3950_attributeSet , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_attributeElement_attributeType, BER_CLASS_CON, 120, BER_FLAGS_IMPLTAG, dissect_z3950_T_attributeElement_attributeType }, { &hf_z3950_attributeValue, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_attributeValue }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeElement_sequence, hf_index, ett_z3950_AttributeElement); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeElement_sequence_of[1] = { { &hf_z3950_attributeList_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeElement }, }; static int dissect_z3950_SEQUENCE_OF_AttributeElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeElement_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeElement); return offset; } static int dissect_z3950_AttributeList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 44, TRUE, dissect_z3950_SEQUENCE_OF_AttributeElement); return offset; } static int dissect_z3950_T_general(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 2, TRUE, dissect_z3950_printable_OCTET_STRING); return offset; } static int dissect_z3950_GeneralizedTime(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_GeneralizedTime(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } static const ber_sequence_t Unit_sequence[] = { { &hf_z3950_unitSystem , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_z3950_InternationalString }, { &hf_z3950_unitType , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_unit , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_scaleFactor , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Unit(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Unit_sequence, hf_index, ett_z3950_Unit); return offset; } static const ber_sequence_t IntUnit_sequence[] = { { &hf_z3950_value , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_unitUsed , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_Unit }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_IntUnit(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, IntUnit_sequence, hf_index, ett_z3950_IntUnit); return offset; } static const value_string z3950_Term_vals[] = { { 45, "general" }, { 215, "numeric" }, { 216, "characterString" }, { 217, "oid" }, { 218, "dateTime" }, { 219, "external" }, { 220, "integerAndUnit" }, { 221, "null" }, { 0, NULL } }; static const ber_choice_t Term_choice[] = { { 45, &hf_z3950_general , BER_CLASS_CON, 45, BER_FLAGS_IMPLTAG, dissect_z3950_T_general }, { 215, &hf_z3950_numeric , BER_CLASS_CON, 215, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 216, &hf_z3950_characterString, BER_CLASS_CON, 216, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 217, &hf_z3950_oid , BER_CLASS_CON, 217, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { 218, &hf_z3950_dateTime , BER_CLASS_CON, 218, BER_FLAGS_IMPLTAG, dissect_z3950_GeneralizedTime }, { 219, &hf_z3950_external , BER_CLASS_CON, 219, BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { 220, &hf_z3950_integerAndUnit, BER_CLASS_CON, 220, BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { 221, &hf_z3950_null , BER_CLASS_CON, 221, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Term(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Term_choice, hf_index, ett_z3950_Term, NULL); return offset; } static const ber_sequence_t AttributesPlusTerm_U_sequence[] = { { &hf_z3950_attributes , BER_CLASS_CON, 44, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeList }, { &hf_z3950_term , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_Term }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributesPlusTerm_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributesPlusTerm_U_sequence, hf_index, ett_z3950_AttributesPlusTerm_U); return offset; } static int dissect_z3950_AttributesPlusTerm(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 102, TRUE, dissect_z3950_AttributesPlusTerm_U); return offset; } static int dissect_z3950_ResultSetId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 31, TRUE, dissect_z3950_InternationalString); return offset; } static const ber_sequence_t ResultSetPlusAttributes_U_sequence[] = { { &hf_z3950_resultSet , BER_CLASS_CON, 31, BER_FLAGS_NOOWNTAG, dissect_z3950_ResultSetId }, { &hf_z3950_attributes , BER_CLASS_CON, 44, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeList }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ResultSetPlusAttributes_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ResultSetPlusAttributes_U_sequence, hf_index, ett_z3950_ResultSetPlusAttributes_U); return offset; } static int dissect_z3950_ResultSetPlusAttributes(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 214, TRUE, dissect_z3950_ResultSetPlusAttributes_U); return offset; } static const value_string z3950_Operand_vals[] = { { 102, "attrTerm" }, { 31, "resultSet" }, { 214, "resultAttr" }, { 0, NULL } }; static const ber_choice_t Operand_choice[] = { { 102, &hf_z3950_attrTerm , BER_CLASS_CON, 102, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributesPlusTerm }, { 31, &hf_z3950_resultSet , BER_CLASS_CON, 31, BER_FLAGS_NOOWNTAG, dissect_z3950_ResultSetId }, { 214, &hf_z3950_resultAttr , BER_CLASS_CON, 214, BER_FLAGS_NOOWNTAG, dissect_z3950_ResultSetPlusAttributes }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Operand(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Operand_choice, hf_index, ett_z3950_Operand, NULL); return offset; } static const value_string z3950_T_relationType_vals[] = { { 1, "lessThan" }, { 2, "lessThanOrEqual" }, { 3, "equal" }, { 4, "greaterThanOrEqual" }, { 5, "greaterThan" }, { 6, "notEqual" }, { 0, NULL } }; static int dissect_z3950_T_relationType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_KnownProximityUnit_vals[] = { { 1, "character" }, { 2, "word" }, { 3, "sentence" }, { 4, "paragraph" }, { 5, "section" }, { 6, "chapter" }, { 7, "document" }, { 8, "element" }, { 9, "subelement" }, { 10, "elementType" }, { 11, "byte" }, { 0, NULL } }; static int dissect_z3950_KnownProximityUnit(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_proximityUnitCode_vals[] = { { 1, "known" }, { 2, "private" }, { 0, NULL } }; static const ber_choice_t T_proximityUnitCode_choice[] = { { 1, &hf_z3950_known , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_KnownProximityUnit }, { 2, &hf_z3950_private , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_proximityUnitCode(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_proximityUnitCode_choice, hf_index, ett_z3950_T_proximityUnitCode, NULL); return offset; } static const ber_sequence_t ProximityOperator_sequence[] = { { &hf_z3950_exclusion , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_distance , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_ordered , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_relationType , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_T_relationType }, { &hf_z3950_proximityUnitCode, BER_CLASS_CON, 5, 0, dissect_z3950_T_proximityUnitCode }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ProximityOperator(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ProximityOperator_sequence, hf_index, ett_z3950_ProximityOperator); return offset; } static const value_string z3950_Operator_U_vals[] = { { 0, "and" }, { 1, "or" }, { 2, "and-not" }, { 3, "prox" }, { 0, NULL } }; static const ber_choice_t Operator_U_choice[] = { { 0, &hf_z3950_and , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 1, &hf_z3950_or , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 2, &hf_z3950_and_not , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 3, &hf_z3950_prox , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_ProximityOperator }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Operator_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Operator_U_choice, hf_index, ett_z3950_Operator_U, NULL); return offset; } static int dissect_z3950_Operator(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 46, FALSE, dissect_z3950_Operator_U); return offset; } static const ber_sequence_t T_rpnRpnOp_sequence[] = { { &hf_z3950_rpn1 , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_RPNStructure }, { &hf_z3950_rpn2 , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_RPNStructure }, { &hf_z3950_operatorRpnOp , BER_CLASS_CON, 46, BER_FLAGS_NOOWNTAG, dissect_z3950_Operator }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_rpnRpnOp(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_rpnRpnOp_sequence, hf_index, ett_z3950_T_rpnRpnOp); return offset; } static const value_string z3950_RPNStructure_vals[] = { { 0, "op" }, { 1, "rpnRpnOp" }, { 0, NULL } }; static const ber_choice_t RPNStructure_choice[] = { { 0, &hf_z3950_operandRpnOp , BER_CLASS_CON, 0, 0, dissect_z3950_Operand }, { 1, &hf_z3950_rpnRpnOp , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_rpnRpnOp }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_RPNStructure(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, RPNStructure_choice, hf_index, ett_z3950_RPNStructure, NULL); return offset; } static const ber_sequence_t RPNQuery_sequence[] = { { &hf_z3950_attributeSet , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_rpn , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_RPNStructure }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_RPNQuery(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, RPNQuery_sequence, hf_index, ett_z3950_RPNQuery); return offset; } static const value_string z3950_Query_vals[] = { { 0, "type-0" }, { 1, "type-1" }, { 2, "type-2" }, { 100, "type-100" }, { 101, "type-101" }, { 102, "type-102" }, { 0, NULL } }; static const ber_choice_t Query_choice[] = { { 0, &hf_z3950_type_0 , BER_CLASS_CON, 0, 0, dissect_z3950_T_type_0 }, { 1, &hf_z3950_type_1 , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_RPNQuery }, { 2, &hf_z3950_type_2 , BER_CLASS_CON, 2, 0, dissect_z3950_OCTET_STRING }, { 100, &hf_z3950_type_100 , BER_CLASS_CON, 100, 0, dissect_z3950_OCTET_STRING }, { 101, &hf_z3950_type_101 , BER_CLASS_CON, 101, BER_FLAGS_IMPLTAG, dissect_z3950_RPNQuery }, { 102, &hf_z3950_type_102 , BER_CLASS_CON, 102, 0, dissect_z3950_OCTET_STRING }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Query(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Query_choice, hf_index, ett_z3950_Query, NULL); return offset; } static const ber_sequence_t SearchRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_smallSetUpperBound, BER_CLASS_CON, 13, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_largeSetLowerBound, BER_CLASS_CON, 14, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_mediumSetPresentNumber, BER_CLASS_CON, 15, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_replaceIndicator, BER_CLASS_CON, 16, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_resultSetName , BER_CLASS_CON, 17, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_databaseNames , BER_CLASS_CON, 18, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DatabaseName }, { &hf_z3950_smallSetElementSetNames, BER_CLASS_CON, 100, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_ElementSetNames }, { &hf_z3950_mediumSetElementSetNames, BER_CLASS_CON, 101, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_ElementSetNames }, { &hf_z3950_preferredRecordSyntax, BER_CLASS_CON, 104, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_query , BER_CLASS_CON, 21, BER_FLAGS_NOTCHKTAG, dissect_z3950_Query }, { &hf_z3950_additionalSearchInfo, BER_CLASS_CON, 203, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OtherInformation }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SearchRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SearchRequest_sequence, hf_index, ett_z3950_SearchRequest); return offset; } static const value_string z3950_T_search_resultSetStatus_vals[] = { { 1, "subset" }, { 2, "interim" }, { 3, "none" }, { 0, NULL } }; static int dissect_z3950_T_search_resultSetStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_PresentStatus_U_vals[] = { { 0, "success" }, { 1, "partial-1" }, { 2, "partial-2" }, { 3, "partial-3" }, { 4, "partial-4" }, { 5, "failure" }, { 0, NULL } }; static int dissect_z3950_PresentStatus_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_z3950_PresentStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 27, TRUE, dissect_z3950_PresentStatus_U); return offset; } static int dissect_z3950_T_diagnosticSetId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *oid_tvb=NULL; offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, &oid_tvb); if (oid_tvb) { packet_info *pinfo = actx->pinfo; guint len = tvb_reported_length_remaining(oid_tvb, 0); gchar *oid_str = oid_encoded2string(pinfo->pool, tvb_get_ptr(oid_tvb, 0, len), len); gint diagset_idx = Z3950_DIAGSET_UNKNOWN; z3950_diaginfo_t *diaginfo_data; if (g_strcmp0(oid_str, Z3950_DIAGSET_BIB1_OID) == 0) { diagset_idx = Z3950_DIAGSET_BIB1; } if ((diaginfo_data = (z3950_diaginfo_t *)p_get_proto_data(pinfo->pool, pinfo, proto_z3950, Z3950_DIAGSET_KEY)) == NULL) { diaginfo_data = wmem_new0(pinfo->pool, z3950_diaginfo_t); diaginfo_data->diagsetidx = diagset_idx; p_add_proto_data(pinfo->pool, pinfo, proto_z3950, Z3950_DIAGSET_KEY, diaginfo_data); } else { diaginfo_data->diagsetidx = diagset_idx; } } return offset; } static int dissect_z3950_T_condition(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { gint diag_condition=0; packet_info *pinfo = actx->pinfo; z3950_diaginfo_t *diaginfo_data; offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &diag_condition); diaginfo_data = (z3950_diaginfo_t *)p_get_proto_data(pinfo->pool, pinfo, proto_z3950, Z3950_DIAGSET_KEY); if (diaginfo_data && diaginfo_data->diagsetidx == Z3950_DIAGSET_BIB1) { proto_item_append_text(actx->created_item, " (%s)", val_to_str(diag_condition, z3950_bib1_diagconditions, "Unknown bib-1 diagnostic %d")); diaginfo_data->diagcondition = diag_condition; } return offset; } static const value_string z3950_T_addinfo_vals[] = { { 0, "v2Addinfo" }, { 1, "v3Addinfo" }, { 0, NULL } }; static const ber_choice_t T_addinfo_choice[] = { { 0, &hf_z3950_v2Addinfo , BER_CLASS_UNI, BER_UNI_TAG_VisibleString, BER_FLAGS_NOOWNTAG, dissect_z3950_VisibleString }, { 1, &hf_z3950_v3Addinfo , BER_CLASS_UNI, BER_UNI_TAG_GeneralString, BER_FLAGS_NOOWNTAG, dissect_z3950_InternationalString }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_addinfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_addinfo_choice, hf_index, ett_z3950_T_addinfo, NULL); return offset; } static const ber_sequence_t DefaultDiagFormat_sequence[] = { { &hf_z3950_diagnosticSetId, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_T_diagnosticSetId }, { &hf_z3950_condition , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_z3950_T_condition }, { &hf_z3950_addinfo , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_addinfo }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DefaultDiagFormat(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DefaultDiagFormat_sequence, hf_index, ett_z3950_DefaultDiagFormat); return offset; } static const value_string z3950_DiagRec_vals[] = { { 0, "defaultFormat" }, { 1, "externallyDefined" }, { 0, NULL } }; static const ber_choice_t DiagRec_choice[] = { { 0, &hf_z3950_defaultFormat , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_DefaultDiagFormat }, { 1, &hf_z3950_externallyDefined, BER_CLASS_UNI, BER_UNI_TAG_EXTERNAL, BER_FLAGS_NOOWNTAG, dissect_z3950_EXTERNAL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DiagRec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, DiagRec_choice, hf_index, ett_z3950_DiagRec, NULL); return offset; } static const value_string z3950_FragmentSyntax_vals[] = { { 0, "externallyTagged" }, { 1, "notExternallyTagged" }, { 0, NULL } }; static const ber_choice_t FragmentSyntax_choice[] = { { 0, &hf_z3950_externallyTagged, BER_CLASS_UNI, BER_UNI_TAG_EXTERNAL, BER_FLAGS_NOOWNTAG, dissect_z3950_EXTERNAL }, { 1, &hf_z3950_notExternallyTagged, BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_z3950_OCTET_STRING }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_FragmentSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, FragmentSyntax_choice, hf_index, ett_z3950_FragmentSyntax, NULL); return offset; } static const value_string z3950_T_record_vals[] = { { 1, "retrievalRecord" }, { 2, "surrogateDiagnostic" }, { 3, "startingFragment" }, { 4, "intermediateFragment" }, { 5, "finalFragment" }, { 0, NULL } }; static const ber_choice_t T_record_choice[] = { { 1, &hf_z3950_retrievalRecord, BER_CLASS_CON, 1, 0, dissect_z3950_EXTERNAL }, { 2, &hf_z3950_surrogateDiagnostic, BER_CLASS_CON, 2, 0, dissect_z3950_DiagRec }, { 3, &hf_z3950_startingFragment, BER_CLASS_CON, 3, 0, dissect_z3950_FragmentSyntax }, { 4, &hf_z3950_intermediateFragment, BER_CLASS_CON, 4, 0, dissect_z3950_FragmentSyntax }, { 5, &hf_z3950_finalFragment , BER_CLASS_CON, 5, 0, dissect_z3950_FragmentSyntax }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_record(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_record_choice, hf_index, ett_z3950_T_record, NULL); return offset; } static const ber_sequence_t NamePlusRecord_sequence[] = { { &hf_z3950_namePlusRecord_name, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_record , BER_CLASS_CON, 1, 0, dissect_z3950_T_record }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_NamePlusRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, NamePlusRecord_sequence, hf_index, ett_z3950_NamePlusRecord); return offset; } static const ber_sequence_t SEQUENCE_OF_NamePlusRecord_sequence_of[1] = { { &hf_z3950_segmentRecords_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_NamePlusRecord }, }; static int dissect_z3950_SEQUENCE_OF_NamePlusRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_NamePlusRecord_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_NamePlusRecord); return offset; } static const ber_sequence_t SEQUENCE_OF_DiagRec_sequence_of[1] = { { &hf_z3950_multipleNonSurDiagnostics_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_DiagRec }, }; static int dissect_z3950_SEQUENCE_OF_DiagRec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_DiagRec_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_DiagRec); return offset; } static const value_string z3950_Records_vals[] = { { 28, "responseRecords" }, { 130, "nonSurrogateDiagnostic" }, { 205, "multipleNonSurDiagnostics" }, { 0, NULL } }; static const ber_choice_t Records_choice[] = { { 28, &hf_z3950_responseRecords, BER_CLASS_CON, 28, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_NamePlusRecord }, { 130, &hf_z3950_nonSurrogateDiagnostic, BER_CLASS_CON, 130, BER_FLAGS_IMPLTAG, dissect_z3950_DefaultDiagFormat }, { 205, &hf_z3950_multipleNonSurDiagnostics, BER_CLASS_CON, 205, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DiagRec }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Records(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Records_choice, hf_index, ett_z3950_Records, NULL); return offset; } static const ber_sequence_t SearchResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_resultCount , BER_CLASS_CON, 23, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_numberOfRecordsReturned, BER_CLASS_CON, 24, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_nextResultSetPosition, BER_CLASS_CON, 25, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_searchStatus , BER_CLASS_CON, 22, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_search_resultSetStatus, BER_CLASS_CON, 26, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_search_resultSetStatus }, { &hf_z3950_presentStatus , BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_PresentStatus }, { &hf_z3950_records , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_Records }, { &hf_z3950_additionalSearchInfo, BER_CLASS_CON, 203, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OtherInformation }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SearchResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SearchResponse_sequence, hf_index, ett_z3950_SearchResponse); return offset; } static const ber_sequence_t Range_sequence[] = { { &hf_z3950_startingPosition, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_numberOfRecords, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Range(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Range_sequence, hf_index, ett_z3950_Range); return offset; } static const ber_sequence_t SEQUENCE_OF_Range_sequence_of[1] = { { &hf_z3950_additionalRanges_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Range }, }; static int dissect_z3950_SEQUENCE_OF_Range(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Range_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_Range); return offset; } static const value_string z3950_T_specification_elementSpec_vals[] = { { 1, "elementSetName" }, { 2, "externalEspec" }, { 0, NULL } }; static const ber_choice_t T_specification_elementSpec_choice[] = { { 1, &hf_z3950_elementSetName, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 2, &hf_z3950_externalEspec , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_specification_elementSpec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_specification_elementSpec_choice, hf_index, ett_z3950_T_specification_elementSpec, NULL); return offset; } static const ber_sequence_t Specification_sequence[] = { { &hf_z3950_schema , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_specification_elementSpec, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_z3950_T_specification_elementSpec }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Specification(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Specification_sequence, hf_index, ett_z3950_Specification); return offset; } static const ber_sequence_t T_dbSpecific_item_sequence[] = { { &hf_z3950_db , BER_CLASS_CON, 1, 0, dissect_z3950_DatabaseName }, { &hf_z3950_spec , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_Specification }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_dbSpecific_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_dbSpecific_item_sequence, hf_index, ett_z3950_T_dbSpecific_item); return offset; } static const ber_sequence_t T_dbSpecific_sequence_of[1] = { { &hf_z3950_dbSpecific_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_dbSpecific_item }, }; static int dissect_z3950_T_dbSpecific(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_dbSpecific_sequence_of, hf_index, ett_z3950_T_dbSpecific); return offset; } static const ber_sequence_t T_compSpec_recordSyntax_sequence_of[1] = { { &hf_z3950_compSpec_recordSyntax_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_compSpec_recordSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_compSpec_recordSyntax_sequence_of, hf_index, ett_z3950_T_compSpec_recordSyntax); return offset; } static const ber_sequence_t CompSpec_sequence[] = { { &hf_z3950_selectAlternativeSyntax, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_compSpec_generic, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Specification }, { &hf_z3950_dbSpecific , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_dbSpecific }, { &hf_z3950_compSpec_recordSyntax, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_compSpec_recordSyntax }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_CompSpec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CompSpec_sequence, hf_index, ett_z3950_CompSpec); return offset; } static const value_string z3950_T_recordComposition_vals[] = { { 19, "simple" }, { 209, "complex" }, { 0, NULL } }; static const ber_choice_t T_recordComposition_choice[] = { { 19, &hf_z3950_simple , BER_CLASS_CON, 19, 0, dissect_z3950_ElementSetNames }, { 209, &hf_z3950_recordComposition_complex, BER_CLASS_CON, 209, BER_FLAGS_IMPLTAG, dissect_z3950_CompSpec }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_recordComposition(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_recordComposition_choice, hf_index, ett_z3950_T_recordComposition, NULL); return offset; } static const ber_sequence_t PresentRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_resultSetId , BER_CLASS_CON, 31, BER_FLAGS_NOOWNTAG, dissect_z3950_ResultSetId }, { &hf_z3950_resultSetStartPoint, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_numberOfRecordsRequested, BER_CLASS_CON, 29, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_additionalRanges, BER_CLASS_CON, 212, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Range }, { &hf_z3950_recordComposition, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_recordComposition }, { &hf_z3950_preferredRecordSyntax, BER_CLASS_CON, 104, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_maxSegmentCount, BER_CLASS_CON, 204, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_maxRecordSize , BER_CLASS_CON, 206, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_maxSegmentSize, BER_CLASS_CON, 207, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_PresentRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PresentRequest_sequence, hf_index, ett_z3950_PresentRequest); return offset; } static const ber_sequence_t PresentResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_numberOfRecordsReturned, BER_CLASS_CON, 24, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_nextResultSetPosition, BER_CLASS_CON, 25, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_presentStatus , BER_CLASS_CON, 27, BER_FLAGS_NOOWNTAG, dissect_z3950_PresentStatus }, { &hf_z3950_records , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_Records }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_PresentResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PresentResponse_sequence, hf_index, ett_z3950_PresentResponse); return offset; } static const value_string z3950_T_deleteFunction_vals[] = { { 0, "list" }, { 1, "all" }, { 0, NULL } }; static int dissect_z3950_T_deleteFunction(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SEQUENCE_OF_ResultSetId_sequence_of[1] = { { &hf_z3950_resultSetList_item, BER_CLASS_CON, 31, BER_FLAGS_NOOWNTAG, dissect_z3950_ResultSetId }, }; static int dissect_z3950_SEQUENCE_OF_ResultSetId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_ResultSetId_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_ResultSetId); return offset; } static const ber_sequence_t DeleteResultSetRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_deleteFunction, BER_CLASS_CON, 32, BER_FLAGS_IMPLTAG, dissect_z3950_T_deleteFunction }, { &hf_z3950_resultSetList , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_SEQUENCE_OF_ResultSetId }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DeleteResultSetRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DeleteResultSetRequest_sequence, hf_index, ett_z3950_DeleteResultSetRequest); return offset; } static const value_string z3950_DeleteSetStatus_U_vals[] = { { 0, "success" }, { 1, "resultSetDidNotExist" }, { 2, "previouslyDeletedByTarget" }, { 3, "systemProblemAtTarget" }, { 4, "accessNotAllowed" }, { 5, "resourceControlAtOrigin" }, { 6, "resourceControlAtTarget" }, { 7, "bulkDeleteNotSupported" }, { 8, "notAllRsltSetsDeletedOnBulkDlte" }, { 9, "notAllRequestedResultSetsDeleted" }, { 10, "resultSetInUse" }, { 0, NULL } }; static int dissect_z3950_DeleteSetStatus_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_z3950_DeleteSetStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 33, TRUE, dissect_z3950_DeleteSetStatus_U); return offset; } static const ber_sequence_t ListStatuses_item_sequence[] = { { &hf_z3950_listStatuses_id, BER_CLASS_CON, 31, BER_FLAGS_NOOWNTAG, dissect_z3950_ResultSetId }, { &hf_z3950_status , BER_CLASS_CON, 33, BER_FLAGS_NOOWNTAG, dissect_z3950_DeleteSetStatus }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ListStatuses_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ListStatuses_item_sequence, hf_index, ett_z3950_ListStatuses_item); return offset; } static const ber_sequence_t ListStatuses_sequence_of[1] = { { &hf_z3950_ListStatuses_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_ListStatuses_item }, }; static int dissect_z3950_ListStatuses(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, ListStatuses_sequence_of, hf_index, ett_z3950_ListStatuses); return offset; } static const ber_sequence_t DeleteResultSetResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_deleteOperationStatus, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_DeleteSetStatus }, { &hf_z3950_deleteListStatuses, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ListStatuses }, { &hf_z3950_numberNotDeleted, BER_CLASS_CON, 34, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_bulkStatuses , BER_CLASS_CON, 35, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ListStatuses }, { &hf_z3950_deleteMessage , BER_CLASS_CON, 36, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DeleteResultSetResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DeleteResultSetResponse_sequence, hf_index, ett_z3950_DeleteResultSetResponse); return offset; } static const value_string z3950_T_securityChallenge_vals[] = { { 37, "simpleForm" }, { 0, "externallyDefined" }, { 0, NULL } }; static const ber_choice_t T_securityChallenge_choice[] = { { 37, &hf_z3950_simpleForm , BER_CLASS_CON, 37, BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { 0, &hf_z3950_externallyDefined, BER_CLASS_CON, 0, 0, dissect_z3950_EXTERNAL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_securityChallenge(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_securityChallenge_choice, hf_index, ett_z3950_T_securityChallenge, NULL); return offset; } static const ber_sequence_t AccessControlRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_securityChallenge, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_securityChallenge }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AccessControlRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AccessControlRequest_sequence, hf_index, ett_z3950_AccessControlRequest); return offset; } static const value_string z3950_T_securityChallengeResponse_vals[] = { { 38, "simpleForm" }, { 0, "externallyDefined" }, { 0, NULL } }; static const ber_choice_t T_securityChallengeResponse_choice[] = { { 38, &hf_z3950_simpleForm , BER_CLASS_CON, 38, BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { 0, &hf_z3950_externallyDefined, BER_CLASS_CON, 0, 0, dissect_z3950_EXTERNAL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_securityChallengeResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_securityChallengeResponse_choice, hf_index, ett_z3950_T_securityChallengeResponse, NULL); return offset; } static const ber_sequence_t AccessControlResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_securityChallengeResponse, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_securityChallengeResponse }, { &hf_z3950_diagnostic , BER_CLASS_CON, 223, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_DiagRec }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AccessControlResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AccessControlResponse_sequence, hf_index, ett_z3950_AccessControlResponse); return offset; } static int dissect_z3950_ResourceReport(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_external_type(implicit_tag, tree, tvb, offset, actx, hf_index, NULL); return offset; } static const value_string z3950_T_partialResultsAvailable_vals[] = { { 1, "subset" }, { 2, "interim" }, { 3, "none" }, { 0, NULL } }; static int dissect_z3950_T_partialResultsAvailable(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t ResourceControlRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_suspendedFlag , BER_CLASS_CON, 39, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_resourceReport, BER_CLASS_CON, 40, BER_FLAGS_OPTIONAL, dissect_z3950_ResourceReport }, { &hf_z3950_partialResultsAvailable, BER_CLASS_CON, 41, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_partialResultsAvailable }, { &hf_z3950_resourceControlRequest_responseRequired, BER_CLASS_CON, 42, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_triggeredRequestFlag, BER_CLASS_CON, 43, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ResourceControlRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ResourceControlRequest_sequence, hf_index, ett_z3950_ResourceControlRequest); return offset; } static const ber_sequence_t ResourceControlResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_continueFlag , BER_CLASS_CON, 44, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_resultSetWanted, BER_CLASS_CON, 45, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ResourceControlResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ResourceControlResponse_sequence, hf_index, ett_z3950_ResourceControlResponse); return offset; } static const value_string z3950_T_requestedAction_vals[] = { { 1, "resourceReport" }, { 2, "resourceControl" }, { 3, "cancel" }, { 0, NULL } }; static int dissect_z3950_T_requestedAction(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_z3950_ResourceReportId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t TriggerResourceControlRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_requestedAction, BER_CLASS_CON, 46, BER_FLAGS_IMPLTAG, dissect_z3950_T_requestedAction }, { &hf_z3950_prefResourceReportFormat, BER_CLASS_CON, 47, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ResourceReportId }, { &hf_z3950_resultSetWanted, BER_CLASS_CON, 48, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TriggerResourceControlRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TriggerResourceControlRequest_sequence, hf_index, ett_z3950_TriggerResourceControlRequest); return offset; } static const ber_sequence_t ResourceReportRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_opId , BER_CLASS_CON, 210, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ReferenceId }, { &hf_z3950_prefResourceReportFormat, BER_CLASS_CON, 49, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ResourceReportId }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ResourceReportRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ResourceReportRequest_sequence, hf_index, ett_z3950_ResourceReportRequest); return offset; } static const value_string z3950_T_resourceReportStatus_vals[] = { { 0, "success" }, { 1, "partial" }, { 2, "failure-1" }, { 3, "failure-2" }, { 4, "failure-3" }, { 5, "failure-4" }, { 6, "failure-5" }, { 7, "failure-6" }, { 0, NULL } }; static int dissect_z3950_T_resourceReportStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t ResourceReportResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_resourceReportStatus, BER_CLASS_CON, 50, BER_FLAGS_IMPLTAG, dissect_z3950_T_resourceReportStatus }, { &hf_z3950_resourceReport, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL, dissect_z3950_ResourceReport }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ResourceReportResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ResourceReportResponse_sequence, hf_index, ett_z3950_ResourceReportResponse); return offset; } static const ber_sequence_t ScanRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_databaseNames , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DatabaseName }, { &hf_z3950_attributeSet , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_termListAndStartPoint, BER_CLASS_CON, 102, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributesPlusTerm }, { &hf_z3950_stepSize , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_numberOfTermsRequested, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_preferredPositionInResponse, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ScanRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ScanRequest_sequence, hf_index, ett_z3950_ScanRequest); return offset; } static const value_string z3950_T_scanStatus_vals[] = { { 0, "success" }, { 1, "partial-1" }, { 2, "partial-2" }, { 3, "partial-3" }, { 4, "partial-4" }, { 5, "partial-5" }, { 6, "failure" }, { 0, NULL } }; static int dissect_z3950_T_scanStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributesPlusTerm_sequence_of[1] = { { &hf_z3950_alternativeTerm_item, BER_CLASS_CON, 102, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributesPlusTerm }, }; static int dissect_z3950_SEQUENCE_OF_AttributesPlusTerm(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributesPlusTerm_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributesPlusTerm); return offset; } static const ber_sequence_t T_byDatabase_item_sequence[] = { { &hf_z3950_db , BER_CLASS_CON, 105, BER_FLAGS_NOOWNTAG, dissect_z3950_DatabaseName }, { &hf_z3950_num , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_otherDbInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_byDatabase_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_byDatabase_item_sequence, hf_index, ett_z3950_T_byDatabase_item); return offset; } static const ber_sequence_t T_byDatabase_sequence_of[1] = { { &hf_z3950_byDatabase_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_byDatabase_item }, }; static int dissect_z3950_T_byDatabase(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_byDatabase_sequence_of, hf_index, ett_z3950_T_byDatabase); return offset; } static const value_string z3950_T_occurrences_vals[] = { { 2, "global" }, { 3, "byDatabase" }, { 0, NULL } }; static const ber_choice_t T_occurrences_choice[] = { { 2, &hf_z3950_global , BER_CLASS_CON, 2, 0, dissect_z3950_INTEGER }, { 3, &hf_z3950_byDatabase , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_T_byDatabase }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_occurrences(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_occurrences_choice, hf_index, ett_z3950_T_occurrences, NULL); return offset; } static const ber_sequence_t OccurrenceByAttributes_item_sequence[] = { { &hf_z3950_attributes , BER_CLASS_CON, 1, 0, dissect_z3950_AttributeList }, { &hf_z3950_occurrences , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_occurrences }, { &hf_z3950_otherOccurInfo, BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_OccurrenceByAttributes_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, OccurrenceByAttributes_item_sequence, hf_index, ett_z3950_OccurrenceByAttributes_item); return offset; } static const ber_sequence_t OccurrenceByAttributes_sequence_of[1] = { { &hf_z3950_OccurrenceByAttributes_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_OccurrenceByAttributes_item }, }; static int dissect_z3950_OccurrenceByAttributes(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, OccurrenceByAttributes_sequence_of, hf_index, ett_z3950_OccurrenceByAttributes); return offset; } static const ber_sequence_t TermInfo_sequence[] = { { &hf_z3950_term , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_Term }, { &hf_z3950_displayTerm , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_suggestedAttributes, BER_CLASS_CON, 44, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeList }, { &hf_z3950_alternativeTerm, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributesPlusTerm }, { &hf_z3950_globalOccurrences, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_byAttributes , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OccurrenceByAttributes }, { &hf_z3950_otherTermInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TermInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TermInfo_sequence, hf_index, ett_z3950_TermInfo); return offset; } static const value_string z3950_Entry_vals[] = { { 1, "termInfo" }, { 2, "surrogateDiagnostic" }, { 0, NULL } }; static const ber_choice_t Entry_choice[] = { { 1, &hf_z3950_termInfo , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_TermInfo }, { 2, &hf_z3950_surrogateDiagnostic, BER_CLASS_CON, 2, 0, dissect_z3950_DiagRec }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Entry(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Entry_choice, hf_index, ett_z3950_Entry, NULL); return offset; } static const ber_sequence_t SEQUENCE_OF_Entry_sequence_of[1] = { { &hf_z3950_listEntries_entries_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_Entry }, }; static int dissect_z3950_SEQUENCE_OF_Entry(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Entry_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_Entry); return offset; } static const ber_sequence_t ListEntries_sequence[] = { { &hf_z3950_listEntries_entries, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Entry }, { &hf_z3950_nonsurrogateDiagnostics, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DiagRec }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ListEntries(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ListEntries_sequence, hf_index, ett_z3950_ListEntries); return offset; } static const ber_sequence_t ScanResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_stepSize , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_scanStatus , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_T_scanStatus }, { &hf_z3950_numberOfEntriesReturned, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_positionOfTerm, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_scanResponse_entries, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ListEntries }, { &hf_z3950_attributeSet , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ScanResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ScanResponse_sequence, hf_index, ett_z3950_ScanResponse); return offset; } static const ber_sequence_t SEQUENCE_OF_InternationalString_sequence_of[1] = { { &hf_z3950_inputResultSetNames_item, BER_CLASS_UNI, BER_UNI_TAG_GeneralString, BER_FLAGS_NOOWNTAG, dissect_z3950_InternationalString }, }; static int dissect_z3950_SEQUENCE_OF_InternationalString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_InternationalString_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_InternationalString); return offset; } static const ber_sequence_t T_sortAttributes_sequence[] = { { &hf_z3950_sortAttributes_id, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_sortAttributes_list, BER_CLASS_CON, 44, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeList }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_sortAttributes(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_sortAttributes_sequence, hf_index, ett_z3950_T_sortAttributes); return offset; } static const value_string z3950_SortKey_vals[] = { { 0, "sortfield" }, { 1, "elementSpec" }, { 2, "sortAttributes" }, { 0, NULL } }; static const ber_choice_t SortKey_choice[] = { { 0, &hf_z3950_sortfield , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 1, &hf_z3950_sortKey_elementSpec, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_Specification }, { 2, &hf_z3950_sortAttributes, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_sortAttributes }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SortKey(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, SortKey_choice, hf_index, ett_z3950_SortKey, NULL); return offset; } static const ber_sequence_t T_datbaseSpecific_item_sequence[] = { { &hf_z3950_databaseName , BER_CLASS_CON, 105, BER_FLAGS_NOOWNTAG, dissect_z3950_DatabaseName }, { &hf_z3950_dbSort , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_SortKey }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_datbaseSpecific_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_datbaseSpecific_item_sequence, hf_index, ett_z3950_T_datbaseSpecific_item); return offset; } static const ber_sequence_t T_datbaseSpecific_sequence_of[1] = { { &hf_z3950_datbaseSpecific_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_datbaseSpecific_item }, }; static int dissect_z3950_T_datbaseSpecific(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_datbaseSpecific_sequence_of, hf_index, ett_z3950_T_datbaseSpecific); return offset; } static const value_string z3950_SortElement_vals[] = { { 1, "generic" }, { 2, "datbaseSpecific" }, { 0, NULL } }; static const ber_choice_t SortElement_choice[] = { { 1, &hf_z3950_sortElement_generic, BER_CLASS_CON, 1, 0, dissect_z3950_SortKey }, { 2, &hf_z3950_datbaseSpecific, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_datbaseSpecific }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SortElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, SortElement_choice, hf_index, ett_z3950_SortElement, NULL); return offset; } static const value_string z3950_T_sortRelation_vals[] = { { 0, "ascending" }, { 1, "descending" }, { 3, "ascendingByFrequency" }, { 4, "descendingByfrequency" }, { 0, NULL } }; static int dissect_z3950_T_sortRelation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_caseSensitivity_vals[] = { { 0, "caseSensitive" }, { 1, "caseInsensitive" }, { 0, NULL } }; static int dissect_z3950_T_caseSensitivity(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_missingValueAction_vals[] = { { 1, "abort" }, { 2, "null" }, { 3, "missingValueData" }, { 0, NULL } }; static const ber_choice_t T_missingValueAction_choice[] = { { 1, &hf_z3950_abort , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 2, &hf_z3950_null , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 3, &hf_z3950_missingValueData, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_missingValueAction(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_missingValueAction_choice, hf_index, ett_z3950_T_missingValueAction, NULL); return offset; } static const ber_sequence_t SortKeySpec_sequence[] = { { &hf_z3950_sortElement , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_SortElement }, { &hf_z3950_sortRelation , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_sortRelation }, { &hf_z3950_caseSensitivity, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_caseSensitivity }, { &hf_z3950_missingValueAction, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_z3950_T_missingValueAction }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SortKeySpec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SortKeySpec_sequence, hf_index, ett_z3950_SortKeySpec); return offset; } static const ber_sequence_t SEQUENCE_OF_SortKeySpec_sequence_of[1] = { { &hf_z3950_sortSequence_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_SortKeySpec }, }; static int dissect_z3950_SEQUENCE_OF_SortKeySpec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_SortKeySpec_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_SortKeySpec); return offset; } static const ber_sequence_t SortRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_inputResultSetNames, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { &hf_z3950_sortedResultSetName, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_sortSequence , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_SortKeySpec }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SortRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SortRequest_sequence, hf_index, ett_z3950_SortRequest); return offset; } static const value_string z3950_T_sortStatus_vals[] = { { 0, "success" }, { 1, "partial-1" }, { 2, "failure" }, { 0, NULL } }; static int dissect_z3950_T_sortStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_sort_resultSetStatus_vals[] = { { 1, "empty" }, { 2, "interim" }, { 3, "unchanged" }, { 4, "none" }, { 0, NULL } }; static int dissect_z3950_T_sort_resultSetStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SortResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_sortStatus , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_T_sortStatus }, { &hf_z3950_sort_resultSetStatus, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_sort_resultSetStatus }, { &hf_z3950_diagnostics , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DiagRec }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SortResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SortResponse_sequence, hf_index, ett_z3950_SortResponse); return offset; } static const ber_sequence_t Segment_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_numberOfRecordsReturned, BER_CLASS_CON, 24, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_segmentRecords, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_NamePlusRecord }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Segment(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Segment_sequence, hf_index, ett_z3950_Segment); return offset; } static const value_string z3950_T_function_vals[] = { { 1, "create" }, { 2, "delete" }, { 3, "modify" }, { 0, NULL } }; static int dissect_z3950_T_function(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_allowableFunctions_item_vals[] = { { 1, "delete" }, { 2, "modifyContents" }, { 3, "modifyPermissions" }, { 4, "present" }, { 5, "invoke" }, { 0, NULL } }; static int dissect_z3950_T_allowableFunctions_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_allowableFunctions_sequence_of[1] = { { &hf_z3950_allowableFunctions_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_z3950_T_allowableFunctions_item }, }; static int dissect_z3950_T_allowableFunctions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_allowableFunctions_sequence_of, hf_index, ett_z3950_T_allowableFunctions); return offset; } static const ber_sequence_t Permissions_item_sequence[] = { { &hf_z3950_userId , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_allowableFunctions, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_allowableFunctions }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Permissions_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Permissions_item_sequence, hf_index, ett_z3950_Permissions_item); return offset; } static const ber_sequence_t Permissions_sequence_of[1] = { { &hf_z3950_Permissions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Permissions_item }, }; static int dissect_z3950_Permissions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, Permissions_sequence_of, hf_index, ett_z3950_Permissions); return offset; } static const value_string z3950_T_waitAction_vals[] = { { 1, "wait" }, { 2, "waitIfPossible" }, { 3, "dontWait" }, { 4, "dontReturnPackage" }, { 0, NULL } }; static int dissect_z3950_T_waitAction(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t ExtendedServicesRequest_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_function , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_T_function }, { &hf_z3950_packageType , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_packageName , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_userId , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_retentionTime , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { &hf_z3950_permissions , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Permissions }, { &hf_z3950_extendedServicesRequest_description, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_taskSpecificParameters, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { &hf_z3950_waitAction , BER_CLASS_CON, 11, BER_FLAGS_IMPLTAG, dissect_z3950_T_waitAction }, { &hf_z3950_elements , BER_CLASS_CON, 103, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ElementSetName }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ExtendedServicesRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ExtendedServicesRequest_sequence, hf_index, ett_z3950_ExtendedServicesRequest); return offset; } static const value_string z3950_T_operationStatus_vals[] = { { 1, "done" }, { 2, "accepted" }, { 3, "failure" }, { 0, NULL } }; static int dissect_z3950_T_operationStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t ExtendedServicesResponse_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_operationStatus, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_T_operationStatus }, { &hf_z3950_diagnostics , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DiagRec }, { &hf_z3950_taskPackage , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ExtendedServicesResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ExtendedServicesResponse_sequence, hf_index, ett_z3950_ExtendedServicesResponse); return offset; } static const value_string z3950_CloseReason_U_vals[] = { { 0, "finished" }, { 1, "shutdown" }, { 2, "systemProblem" }, { 3, "costLimit" }, { 4, "resources" }, { 5, "securityViolation" }, { 6, "protocolError" }, { 7, "lackOfActivity" }, { 8, "peerAbort" }, { 9, "unspecified" }, { 0, NULL } }; static int dissect_z3950_CloseReason_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static int dissect_z3950_CloseReason(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 211, TRUE, dissect_z3950_CloseReason_U); return offset; } static const ber_sequence_t Close_sequence[] = { { &hf_z3950_referenceId , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_ReferenceId }, { &hf_z3950_closeReason , BER_CLASS_CON, 211, BER_FLAGS_NOOWNTAG, dissect_z3950_CloseReason }, { &hf_z3950_diagnosticInformation, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_resourceReportFormat, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ResourceReportId }, { &hf_z3950_resourceReport, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_z3950_ResourceReport }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Close(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Close_sequence, hf_index, ett_z3950_Close); return offset; } static const value_string z3950_PDU_vals[] = { { 20, "initRequest" }, { 21, "initResponse" }, { 22, "searchRequest" }, { 23, "searchResponse" }, { 24, "presentRequest" }, { 25, "presentResponse" }, { 26, "deleteResultSetRequest" }, { 27, "deleteResultSetResponse" }, { 28, "accessControlRequest" }, { 29, "accessControlResponse" }, { 30, "resourceControlRequest" }, { 31, "resourceControlResponse" }, { 32, "triggerResourceControlRequest" }, { 33, "resourceReportRequest" }, { 34, "resourceReportResponse" }, { 35, "scanRequest" }, { 36, "scanResponse" }, { 43, "sortRequest" }, { 44, "sortResponse" }, { 45, "segmentRequest" }, { 46, "extendedServicesRequest" }, { 47, "extendedServicesResponse" }, { 48, "close" }, { 0, NULL } }; static const ber_choice_t PDU_choice[] = { { 20, &hf_z3950_initRequest , BER_CLASS_CON, 20, BER_FLAGS_IMPLTAG, dissect_z3950_InitializeRequest }, { 21, &hf_z3950_initResponse , BER_CLASS_CON, 21, BER_FLAGS_IMPLTAG, dissect_z3950_InitializeResponse }, { 22, &hf_z3950_searchRequest , BER_CLASS_CON, 22, BER_FLAGS_IMPLTAG, dissect_z3950_SearchRequest }, { 23, &hf_z3950_searchResponse, BER_CLASS_CON, 23, BER_FLAGS_IMPLTAG, dissect_z3950_SearchResponse }, { 24, &hf_z3950_presentRequest, BER_CLASS_CON, 24, BER_FLAGS_IMPLTAG, dissect_z3950_PresentRequest }, { 25, &hf_z3950_presentResponse, BER_CLASS_CON, 25, BER_FLAGS_IMPLTAG, dissect_z3950_PresentResponse }, { 26, &hf_z3950_deleteResultSetRequest, BER_CLASS_CON, 26, BER_FLAGS_IMPLTAG, dissect_z3950_DeleteResultSetRequest }, { 27, &hf_z3950_deleteResultSetResponse, BER_CLASS_CON, 27, BER_FLAGS_IMPLTAG, dissect_z3950_DeleteResultSetResponse }, { 28, &hf_z3950_accessControlRequest, BER_CLASS_CON, 28, BER_FLAGS_IMPLTAG, dissect_z3950_AccessControlRequest }, { 29, &hf_z3950_accessControlResponse, BER_CLASS_CON, 29, BER_FLAGS_IMPLTAG, dissect_z3950_AccessControlResponse }, { 30, &hf_z3950_resourceControlRequest, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_z3950_ResourceControlRequest }, { 31, &hf_z3950_resourceControlResponse, BER_CLASS_CON, 31, BER_FLAGS_IMPLTAG, dissect_z3950_ResourceControlResponse }, { 32, &hf_z3950_triggerResourceControlRequest, BER_CLASS_CON, 32, BER_FLAGS_IMPLTAG, dissect_z3950_TriggerResourceControlRequest }, { 33, &hf_z3950_resourceReportRequest, BER_CLASS_CON, 33, BER_FLAGS_IMPLTAG, dissect_z3950_ResourceReportRequest }, { 34, &hf_z3950_resourceReportResponse, BER_CLASS_CON, 34, BER_FLAGS_IMPLTAG, dissect_z3950_ResourceReportResponse }, { 35, &hf_z3950_scanRequest , BER_CLASS_CON, 35, BER_FLAGS_IMPLTAG, dissect_z3950_ScanRequest }, { 36, &hf_z3950_scanResponse , BER_CLASS_CON, 36, BER_FLAGS_IMPLTAG, dissect_z3950_ScanResponse }, { 43, &hf_z3950_sortRequest , BER_CLASS_CON, 43, BER_FLAGS_IMPLTAG, dissect_z3950_SortRequest }, { 44, &hf_z3950_sortResponse , BER_CLASS_CON, 44, BER_FLAGS_IMPLTAG, dissect_z3950_SortResponse }, { 45, &hf_z3950_segmentRequest, BER_CLASS_CON, 45, BER_FLAGS_IMPLTAG, dissect_z3950_Segment }, { 46, &hf_z3950_extendedServicesRequest, BER_CLASS_CON, 46, BER_FLAGS_IMPLTAG, dissect_z3950_ExtendedServicesRequest }, { 47, &hf_z3950_extendedServicesResponse, BER_CLASS_CON, 47, BER_FLAGS_IMPLTAG, dissect_z3950_ExtendedServicesResponse }, { 48, &hf_z3950_close , BER_CLASS_CON, 48, BER_FLAGS_IMPLTAG, dissect_z3950_Close }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_PDU(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { gint choice; offset = dissect_ber_choice(actx, tree, tvb, offset, PDU_choice, hf_index, ett_z3950_PDU, &choice); if (choice >= 0) { packet_info *pinfo = actx->pinfo; gint32 tag = PDU_choice[choice].tag; col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(tag, z3950_PDU_vals, "Unknown Z39.50 PDU")); } return offset; } static int dissect_z3950_DBName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, hf_index, BER_CLASS_CON, 2, TRUE, dissect_z3950_VisibleString); return offset; } static const ber_sequence_t SEQUENCE_OF_DBName_sequence_of[1] = { { &hf_z3950_dblist_item , BER_CLASS_CON, 2, BER_FLAGS_NOOWNTAG, dissect_z3950_DBName }, }; static int dissect_z3950_SEQUENCE_OF_DBName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_DBName_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_DBName); return offset; } static const ber_sequence_t OCLC_UserInformation_sequence[] = { { &hf_z3950_motd , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_VisibleString }, { &hf_z3950_dblist , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_SEQUENCE_OF_DBName }, { &hf_z3950_failReason , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_oCLC_UserInformation_text, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_VisibleString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_OCLC_UserInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, OCLC_UserInformation_sequence, hf_index, ett_z3950_OCLC_UserInformation); return offset; } static int dissect_z3950_SutrsRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_z3950_InternationalString(implicit_tag, tvb, offset, actx, tree, hf_index); return offset; } static const ber_sequence_t Volume_sequence[] = { { &hf_z3950_enumeration , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_chronology , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_enumAndChron , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Volume(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Volume_sequence, hf_index, ett_z3950_Volume); return offset; } static const ber_sequence_t SEQUENCE_OF_Volume_sequence_of[1] = { { &hf_z3950_volumes_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Volume }, }; static int dissect_z3950_SEQUENCE_OF_Volume(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Volume_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_Volume); return offset; } static const ber_sequence_t CircRecord_sequence[] = { { &hf_z3950_availableNow , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_availablityDate, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_availableThru , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_circRecord_restrictions, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_itemId , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_renewable , BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_onHold , BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_enumAndChron , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_midspine , BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_temporaryLocation, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_CircRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CircRecord_sequence, hf_index, ett_z3950_CircRecord); return offset; } static const ber_sequence_t SEQUENCE_OF_CircRecord_sequence_of[1] = { { &hf_z3950_circulationData_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_CircRecord }, }; static int dissect_z3950_SEQUENCE_OF_CircRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_CircRecord_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_CircRecord); return offset; } static const ber_sequence_t HoldingsAndCircData_sequence[] = { { &hf_z3950_typeOfRecord , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_encodingLevel , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_format , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_receiptAcqStatus, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_generalRetention, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_completeness , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_dateOfReport , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_nucCode , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_localLocation , BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_shelvingLocation, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_callNumber , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_shelvingData , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_copyNumber , BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_publicNote , BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_reproductionNote, BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_termsUseRepro , BER_CLASS_CON, 16, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_enumAndChron , BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_volumes , BER_CLASS_CON, 18, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Volume }, { &hf_z3950_circulationData, BER_CLASS_CON, 19, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_CircRecord }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_HoldingsAndCircData(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, HoldingsAndCircData_sequence, hf_index, ett_z3950_HoldingsAndCircData); return offset; } static const value_string z3950_HoldingsRecord_vals[] = { { 1, "marcHoldingsRecord" }, { 2, "holdingsAndCirc" }, { 0, NULL } }; static const ber_choice_t HoldingsRecord_choice[] = { { 1, &hf_z3950_marcHoldingsRecord, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { 2, &hf_z3950_holdingsAndCirc, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_HoldingsAndCircData }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_HoldingsRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, HoldingsRecord_choice, hf_index, ett_z3950_HoldingsRecord, NULL); return offset; } static const ber_sequence_t SEQUENCE_OF_HoldingsRecord_sequence_of[1] = { { &hf_z3950_holdingsData_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_HoldingsRecord }, }; static int dissect_z3950_SEQUENCE_OF_HoldingsRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_HoldingsRecord_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_HoldingsRecord); return offset; } static const ber_sequence_t OPACRecord_sequence[] = { { &hf_z3950_bibliographicRecord, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { &hf_z3950_holdingsData , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_HoldingsRecord }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_OPACRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, OPACRecord_sequence, hf_index, ett_z3950_OPACRecord); return offset; } static const value_string z3950_T_tooManyWhat_vals[] = { { 1, "argumentWords" }, { 2, "truncatedWords" }, { 3, "booleanOperators" }, { 4, "incompleteSubfields" }, { 5, "characters" }, { 6, "recordsRetrieved" }, { 7, "dataBasesSpecified" }, { 8, "resultSetsCreated" }, { 9, "indexTermsProcessed" }, { 0, NULL } }; static int dissect_z3950_T_tooManyWhat(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_tooMany_sequence[] = { { &hf_z3950_tooManyWhat , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_tooManyWhat }, { &hf_z3950_max , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_tooMany(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_tooMany_sequence, hf_index, ett_z3950_T_tooMany); return offset; } static const ber_sequence_t SEQUENCE_OF_Specification_sequence_of[1] = { { &hf_z3950_goodOnes_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Specification }, }; static int dissect_z3950_SEQUENCE_OF_Specification(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Specification_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_Specification); return offset; } static const ber_sequence_t T_badSpec_sequence[] = { { &hf_z3950_spec , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_Specification }, { &hf_z3950_db , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_goodOnes , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Specification }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_badSpec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_badSpec_sequence, hf_index, ett_z3950_T_badSpec); return offset; } static const value_string z3950_T_reasonCode_vals[] = { { 0, "doesNotExist" }, { 1, "existsButUnavail" }, { 2, "locked" }, { 3, "accessDenied" }, { 0, NULL } }; static int dissect_z3950_T_reasonCode(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_why_sequence[] = { { &hf_z3950_reasonCode , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_reasonCode }, { &hf_z3950_message , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_why(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_why_sequence, hf_index, ett_z3950_T_why); return offset; } static const ber_sequence_t T_dbUnavail_sequence[] = { { &hf_z3950_db , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_why , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_why }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_dbUnavail(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_dbUnavail_sequence, hf_index, ett_z3950_T_dbUnavail); return offset; } static const value_string z3950_T_unSupOp_vals[] = { { 0, "and" }, { 1, "or" }, { 2, "and-not" }, { 3, "prox" }, { 0, NULL } }; static int dissect_z3950_T_unSupOp(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_attribute_sequence[] = { { &hf_z3950_id , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_type , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_value , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_term , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_Term }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_attribute(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_attribute_sequence, hf_index, ett_z3950_T_attribute); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeList_sequence_of[1] = { { &hf_z3950_recommendedAlternatives_item, BER_CLASS_CON, 44, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeList }, }; static int dissect_z3950_SEQUENCE_OF_AttributeList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeList_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeList); return offset; } static const ber_sequence_t T_attCombo_sequence[] = { { &hf_z3950_unsupportedCombination, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_AttributeList }, { &hf_z3950_recommendedAlternatives, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeList }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_attCombo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_attCombo_sequence, hf_index, ett_z3950_T_attCombo); return offset; } static const value_string z3950_T_problem_vals[] = { { 1, "codedValue" }, { 2, "unparsable" }, { 3, "tooShort" }, { 4, "type" }, { 0, NULL } }; static int dissect_z3950_T_problem(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_diagFormat_term_sequence[] = { { &hf_z3950_problem , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_problem }, { &hf_z3950_term , BER_CLASS_CON, 2, BER_FLAGS_NOTCHKTAG, dissect_z3950_Term }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_diagFormat_term(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_diagFormat_term_sequence, hf_index, ett_z3950_T_diagFormat_term); return offset; } static const value_string z3950_T_diagFormat_proximity_vals[] = { { 1, "resultSets" }, { 2, "badSet" }, { 3, "relation" }, { 4, "unit" }, { 5, "distance" }, { 6, "attributes" }, { 7, "ordered" }, { 8, "exclusion" }, { 0, NULL } }; static const ber_choice_t T_diagFormat_proximity_choice[] = { { 1, &hf_z3950_resultSets , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 2, &hf_z3950_badSet , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 3, &hf_z3950_relation , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 4, &hf_z3950_diagFormat_proximity_unit, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 5, &hf_z3950_distance , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 6, &hf_z3950_attributes , BER_CLASS_CON, 6, 0, dissect_z3950_AttributeList }, { 7, &hf_z3950_diagFormat_proximity_ordered, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 8, &hf_z3950_diagFormat_proximity_exclusion, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_diagFormat_proximity(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_diagFormat_proximity_choice, hf_index, ett_z3950_T_diagFormat_proximity, NULL); return offset; } static const value_string z3950_T_posInResponse_vals[] = { { 1, "mustBeOne" }, { 2, "mustBePositive" }, { 3, "mustBeNonNegative" }, { 4, "other" }, { 0, NULL } }; static int dissect_z3950_T_posInResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_scan_vals[] = { { 0, "nonZeroStepSize" }, { 1, "specifiedStepSize" }, { 3, "termList1" }, { 4, "termList2" }, { 5, "posInResponse" }, { 6, "resources" }, { 7, "endOfList" }, { 0, NULL } }; static const ber_choice_t T_scan_choice[] = { { 0, &hf_z3950_nonZeroStepSize, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 1, &hf_z3950_specifiedStepSize, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 3, &hf_z3950_termList1 , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 4, &hf_z3950_termList2 , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeList }, { 5, &hf_z3950_posInResponse , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_T_posInResponse }, { 6, &hf_z3950_resources , BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 7, &hf_z3950_endOfList , BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_scan(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_scan_choice, hf_index, ett_z3950_T_scan, NULL); return offset; } static const value_string z3950_T_key_vals[] = { { 1, "tooMany" }, { 2, "duplicate" }, { 0, NULL } }; static int dissect_z3950_T_key(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_illegal_vals[] = { { 1, "relation" }, { 2, "case" }, { 3, "action" }, { 4, "sort" }, { 0, NULL } }; static int dissect_z3950_T_illegal(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_sort_vals[] = { { 0, "sequence" }, { 1, "noRsName" }, { 2, "tooMany" }, { 3, "incompatible" }, { 4, "generic" }, { 5, "dbSpecific" }, { 6, "sortElement" }, { 7, "key" }, { 8, "action" }, { 9, "illegal" }, { 10, "inputTooLarge" }, { 11, "aggregateTooLarge" }, { 0, NULL } }; static const ber_choice_t T_sort_choice[] = { { 0, &hf_z3950_sequence , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 1, &hf_z3950_noRsName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 2, &hf_z3950_diagFormat_sort_tooMany, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 3, &hf_z3950_incompatible , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 4, &hf_z3950_generic , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 5, &hf_z3950_diagFormat_sort_dbSpecific, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 6, &hf_z3950_sortElement , BER_CLASS_CON, 6, 0, dissect_z3950_SortElement }, { 7, &hf_z3950_key , BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_z3950_T_key }, { 8, &hf_z3950_action , BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 9, &hf_z3950_illegal , BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_z3950_T_illegal }, { 10, &hf_z3950_inputTooLarge , BER_CLASS_CON, 10, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { 11, &hf_z3950_aggregateTooLarge, BER_CLASS_CON, 11, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_sort(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_sort_choice, hf_index, ett_z3950_T_sort, NULL); return offset; } static const value_string z3950_T_segmentation_vals[] = { { 0, "segmentCount" }, { 1, "segmentSize" }, { 0, NULL } }; static const ber_choice_t T_segmentation_choice[] = { { 0, &hf_z3950_segmentCount , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 1, &hf_z3950_segmentSize , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_segmentation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_segmentation_choice, hf_index, ett_z3950_T_segmentation, NULL); return offset; } static const value_string z3950_T_req_vals[] = { { 1, "nameInUse" }, { 2, "noSuchName" }, { 3, "quota" }, { 4, "type" }, { 0, NULL } }; static int dissect_z3950_T_req(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_permission_vals[] = { { 1, "id" }, { 2, "modifyDelete" }, { 0, NULL } }; static int dissect_z3950_T_permission(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_immediate_vals[] = { { 1, "failed" }, { 2, "service" }, { 3, "parameters" }, { 0, NULL } }; static int dissect_z3950_T_immediate(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const value_string z3950_T_extServices_vals[] = { { 1, "req" }, { 2, "permission" }, { 3, "immediate" }, { 0, NULL } }; static const ber_choice_t T_extServices_choice[] = { { 1, &hf_z3950_req , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_req }, { 2, &hf_z3950_permission , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_permission }, { 3, &hf_z3950_immediate , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_T_immediate }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_extServices(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_extServices_choice, hf_index, ett_z3950_T_extServices, NULL); return offset; } static const ber_sequence_t T_diagFormat_accessCtrl_oid_sequence_of[1] = { { &hf_z3950_diagFormat_accessCtrl_oid_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_diagFormat_accessCtrl_oid(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_diagFormat_accessCtrl_oid_sequence_of, hf_index, ett_z3950_T_diagFormat_accessCtrl_oid); return offset; } static const ber_sequence_t T_alternative_sequence_of[1] = { { &hf_z3950_alternative_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_alternative(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_alternative_sequence_of, hf_index, ett_z3950_T_alternative); return offset; } static const value_string z3950_T_accessCtrl_vals[] = { { 1, "noUser" }, { 2, "refused" }, { 3, "simple" }, { 4, "oid" }, { 5, "alternative" }, { 6, "pwdInv" }, { 7, "pwdExp" }, { 0, NULL } }; static const ber_choice_t T_accessCtrl_choice[] = { { 1, &hf_z3950_noUser , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 2, &hf_z3950_refused , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 3, &hf_z3950_diagFormat_accessCtrl_simple, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 4, &hf_z3950_diagFormat_accessCtrl_oid, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_T_diagFormat_accessCtrl_oid }, { 5, &hf_z3950_alternative , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_T_alternative }, { 6, &hf_z3950_pwdInv , BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 7, &hf_z3950_pwdExp , BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_accessCtrl(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_accessCtrl_choice, hf_index, ett_z3950_T_accessCtrl, NULL); return offset; } static const ber_sequence_t T_suggestedAlternatives_sequence_of[1] = { { &hf_z3950_suggestedAlternatives_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_suggestedAlternatives(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_suggestedAlternatives_sequence_of, hf_index, ett_z3950_T_suggestedAlternatives); return offset; } static const ber_sequence_t T_diagFormat_recordSyntax_sequence[] = { { &hf_z3950_unsupportedSyntax, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_suggestedAlternatives, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_suggestedAlternatives }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_diagFormat_recordSyntax(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_diagFormat_recordSyntax_sequence, hf_index, ett_z3950_T_diagFormat_recordSyntax); return offset; } static const value_string z3950_DiagFormat_vals[] = { { 1000, "tooMany" }, { 1001, "badSpec" }, { 1002, "dbUnavail" }, { 1003, "unSupOp" }, { 1004, "attribute" }, { 1005, "attCombo" }, { 1006, "term" }, { 1007, "proximity" }, { 1008, "scan" }, { 1009, "sort" }, { 1010, "segmentation" }, { 1011, "extServices" }, { 1012, "accessCtrl" }, { 1013, "recordSyntax" }, { 0, NULL } }; static const ber_choice_t DiagFormat_choice[] = { { 1000, &hf_z3950_tooMany , BER_CLASS_CON, 1000, BER_FLAGS_IMPLTAG, dissect_z3950_T_tooMany }, { 1001, &hf_z3950_badSpec , BER_CLASS_CON, 1001, BER_FLAGS_IMPLTAG, dissect_z3950_T_badSpec }, { 1002, &hf_z3950_dbUnavail , BER_CLASS_CON, 1002, BER_FLAGS_IMPLTAG, dissect_z3950_T_dbUnavail }, { 1003, &hf_z3950_unSupOp , BER_CLASS_CON, 1003, BER_FLAGS_IMPLTAG, dissect_z3950_T_unSupOp }, { 1004, &hf_z3950_attribute , BER_CLASS_CON, 1004, BER_FLAGS_IMPLTAG, dissect_z3950_T_attribute }, { 1005, &hf_z3950_attCombo , BER_CLASS_CON, 1005, BER_FLAGS_IMPLTAG, dissect_z3950_T_attCombo }, { 1006, &hf_z3950_diagFormat_term, BER_CLASS_CON, 1006, BER_FLAGS_IMPLTAG, dissect_z3950_T_diagFormat_term }, { 1007, &hf_z3950_diagFormat_proximity, BER_CLASS_CON, 1007, 0, dissect_z3950_T_diagFormat_proximity }, { 1008, &hf_z3950_scan , BER_CLASS_CON, 1008, 0, dissect_z3950_T_scan }, { 1009, &hf_z3950_sort , BER_CLASS_CON, 1009, 0, dissect_z3950_T_sort }, { 1010, &hf_z3950_segmentation , BER_CLASS_CON, 1010, 0, dissect_z3950_T_segmentation }, { 1011, &hf_z3950_extServices , BER_CLASS_CON, 1011, 0, dissect_z3950_T_extServices }, { 1012, &hf_z3950_accessCtrl , BER_CLASS_CON, 1012, 0, dissect_z3950_T_accessCtrl }, { 1013, &hf_z3950_diagFormat_recordSyntax, BER_CLASS_CON, 1013, BER_FLAGS_IMPLTAG, dissect_z3950_T_diagFormat_recordSyntax }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DiagFormat(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, DiagFormat_choice, hf_index, ett_z3950_DiagFormat, NULL); return offset; } static const value_string z3950_T_diagnosticFormat_item_diagnostic_vals[] = { { 1, "defaultDiagRec" }, { 2, "explicitDiagnostic" }, { 0, NULL } }; static const ber_choice_t T_diagnosticFormat_item_diagnostic_choice[] = { { 1, &hf_z3950_defaultDiagRec, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DefaultDiagFormat }, { 2, &hf_z3950_explicitDiagnostic, BER_CLASS_CON, 2, 0, dissect_z3950_DiagFormat }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_diagnosticFormat_item_diagnostic(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_diagnosticFormat_item_diagnostic_choice, hf_index, ett_z3950_T_diagnosticFormat_item_diagnostic, NULL); return offset; } static const ber_sequence_t DiagnosticFormat_item_sequence[] = { { &hf_z3950_diagnosticFormat_item_diagnostic, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_z3950_T_diagnosticFormat_item_diagnostic }, { &hf_z3950_message , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DiagnosticFormat_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DiagnosticFormat_item_sequence, hf_index, ett_z3950_DiagnosticFormat_item); return offset; } static const ber_sequence_t DiagnosticFormat_sequence_of[1] = { { &hf_z3950_DiagnosticFormat_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_DiagnosticFormat_item }, }; static int dissect_z3950_DiagnosticFormat(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, DiagnosticFormat_sequence_of, hf_index, ett_z3950_DiagnosticFormat); return offset; } static int dissect_z3950_LanguageCode(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_z3950_InternationalString(implicit_tag, tvb, offset, actx, tree, hf_index); return offset; } static const ber_sequence_t CommonInfo_sequence[] = { { &hf_z3950_dateAdded , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_GeneralizedTime }, { &hf_z3950_dateChanged , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_GeneralizedTime }, { &hf_z3950_expiry , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_GeneralizedTime }, { &hf_z3950_humanString_Language, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_LanguageCode }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_CommonInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CommonInfo_sequence, hf_index, ett_z3950_CommonInfo); return offset; } static const ber_sequence_t HumanString_item_sequence[] = { { &hf_z3950_language , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_LanguageCode }, { &hf_z3950_text , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_HumanString_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, HumanString_item_sequence, hf_index, ett_z3950_HumanString_item); return offset; } static const ber_sequence_t HumanString_sequence_of[1] = { { &hf_z3950_HumanString_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_HumanString_item }, }; static int dissect_z3950_HumanString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, HumanString_sequence_of, hf_index, ett_z3950_HumanString); return offset; } static const value_string z3950_T_bodyType_vals[] = { { 1, "ianaType" }, { 2, "z3950type" }, { 3, "otherType" }, { 0, NULL } }; static const ber_choice_t T_bodyType_choice[] = { { 1, &hf_z3950_ianaType , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 2, &hf_z3950_z3950type , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 3, &hf_z3950_otherType , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_bodyType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_bodyType_choice, hf_index, ett_z3950_T_bodyType, NULL); return offset; } static const ber_sequence_t IconObject_item_sequence[] = { { &hf_z3950_bodyType , BER_CLASS_CON, 1, 0, dissect_z3950_T_bodyType }, { &hf_z3950_content , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_IconObject_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, IconObject_item_sequence, hf_index, ett_z3950_IconObject_item); return offset; } static const ber_sequence_t IconObject_sequence_of[1] = { { &hf_z3950_IconObject_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_IconObject_item }, }; static int dissect_z3950_IconObject(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, IconObject_sequence_of, hf_index, ett_z3950_IconObject); return offset; } static const ber_sequence_t ContactInfo_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_address , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_email , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_phone , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ContactInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ContactInfo_sequence, hf_index, ett_z3950_ContactInfo); return offset; } static const ber_sequence_t DatabaseList_sequence_of[1] = { { &hf_z3950_DatabaseList_item, BER_CLASS_CON, 105, BER_FLAGS_NOOWNTAG, dissect_z3950_DatabaseName }, }; static int dissect_z3950_DatabaseList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, DatabaseList_sequence_of, hf_index, ett_z3950_DatabaseList); return offset; } static const ber_sequence_t SEQUENCE_OF_DatabaseList_sequence_of[1] = { { &hf_z3950_dbCombinations_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_DatabaseList }, }; static int dissect_z3950_SEQUENCE_OF_DatabaseList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_DatabaseList_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_DatabaseList); return offset; } static const ber_sequence_t T_internetAddress_sequence[] = { { &hf_z3950_hostAddress , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_port , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_internetAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_internetAddress_sequence, hf_index, ett_z3950_T_internetAddress); return offset; } static const ber_sequence_t T_osiPresentationAddress_sequence[] = { { &hf_z3950_pSel , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_sSel , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_tSel , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_nSap , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_osiPresentationAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_osiPresentationAddress_sequence, hf_index, ett_z3950_T_osiPresentationAddress); return offset; } static const ber_sequence_t T_networkAddress_other_sequence[] = { { &hf_z3950_networkAddress_other_type, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_networkAddress_other_address, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_networkAddress_other(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_networkAddress_other_sequence, hf_index, ett_z3950_T_networkAddress_other); return offset; } static const value_string z3950_NetworkAddress_vals[] = { { 0, "internetAddress" }, { 1, "osiPresentationAddress" }, { 2, "other" }, { 0, NULL } }; static const ber_choice_t NetworkAddress_choice[] = { { 0, &hf_z3950_internetAddress, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_T_internetAddress }, { 1, &hf_z3950_osiPresentationAddress, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_osiPresentationAddress }, { 2, &hf_z3950_networkAddress_other, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_networkAddress_other }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_NetworkAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, NetworkAddress_choice, hf_index, ett_z3950_NetworkAddress, NULL); return offset; } static const ber_sequence_t SEQUENCE_OF_NetworkAddress_sequence_of[1] = { { &hf_z3950_addresses_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_NetworkAddress }, }; static int dissect_z3950_SEQUENCE_OF_NetworkAddress(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_NetworkAddress_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_NetworkAddress); return offset; } static const ber_sequence_t T_privateCapabilities_operators_item_sequence[] = { { &hf_z3950_operator , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_privateCapabilities_operators_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_privateCapabilities_operators_item_sequence, hf_index, ett_z3950_T_privateCapabilities_operators_item); return offset; } static const ber_sequence_t T_privateCapabilities_operators_sequence_of[1] = { { &hf_z3950_privateCapabilities_operators_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_privateCapabilities_operators_item }, }; static int dissect_z3950_T_privateCapabilities_operators(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_privateCapabilities_operators_sequence_of, hf_index, ett_z3950_T_privateCapabilities_operators); return offset; } static const ber_sequence_t SearchKey_sequence[] = { { &hf_z3950_searchKey , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SearchKey(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SearchKey_sequence, hf_index, ett_z3950_SearchKey); return offset; } static const ber_sequence_t SEQUENCE_OF_SearchKey_sequence_of[1] = { { &hf_z3950_searchKeys_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_SearchKey }, }; static int dissect_z3950_SEQUENCE_OF_SearchKey(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_SearchKey_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_SearchKey); return offset; } static const ber_sequence_t SEQUENCE_OF_HumanString_sequence_of[1] = { { &hf_z3950_keywords_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_HumanString }, }; static int dissect_z3950_SEQUENCE_OF_HumanString(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_HumanString_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_HumanString); return offset; } static const ber_sequence_t PrivateCapabilities_sequence[] = { { &hf_z3950_privateCapabilities_operators, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_privateCapabilities_operators }, { &hf_z3950_searchKeys , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_SearchKey }, { &hf_z3950_privateCapabilities_description, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_PrivateCapabilities(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PrivateCapabilities_sequence, hf_index, ett_z3950_PrivateCapabilities); return offset; } static const ber_sequence_t T_operators_sequence_of[1] = { { &hf_z3950_operators_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_z3950_INTEGER }, }; static int dissect_z3950_T_operators(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_operators_sequence_of, hf_index, ett_z3950_T_operators); return offset; } static const ber_sequence_t T_proximitySupport_unitsSupported_item_private_sequence[] = { { &hf_z3950_proximitySupport_unitsSupported_item_private_unit, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_z3950_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_proximitySupport_unitsSupported_item_private(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_proximitySupport_unitsSupported_item_private_sequence, hf_index, ett_z3950_T_proximitySupport_unitsSupported_item_private); return offset; } static const value_string z3950_T_unitsSupported_item_vals[] = { { 1, "known" }, { 2, "private" }, { 0, NULL } }; static const ber_choice_t T_unitsSupported_item_choice[] = { { 1, &hf_z3950_proximitySupport_unitsSupported_item_known, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 2, &hf_z3950_proximitySupport_unitsSupported_item_private, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_proximitySupport_unitsSupported_item_private }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_unitsSupported_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_unitsSupported_item_choice, hf_index, ett_z3950_T_unitsSupported_item, NULL); return offset; } static const ber_sequence_t T_unitsSupported_sequence_of[1] = { { &hf_z3950_unitsSupported_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_unitsSupported_item }, }; static int dissect_z3950_T_unitsSupported(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_unitsSupported_sequence_of, hf_index, ett_z3950_T_unitsSupported); return offset; } static const ber_sequence_t ProximitySupport_sequence[] = { { &hf_z3950_anySupport , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_unitsSupported, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_unitsSupported }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ProximitySupport(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ProximitySupport_sequence, hf_index, ett_z3950_ProximitySupport); return offset; } static const ber_sequence_t RpnCapabilities_sequence[] = { { &hf_z3950_operators , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_operators }, { &hf_z3950_resultSetAsOperandSupported, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_restrictionOperandSupported, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_proximity , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ProximitySupport }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_RpnCapabilities(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, RpnCapabilities_sequence, hf_index, ett_z3950_RpnCapabilities); return offset; } static const ber_sequence_t Iso8777Capabilities_sequence[] = { { &hf_z3950_searchKeys , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_SearchKey }, { &hf_z3950_restrictions , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Iso8777Capabilities(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Iso8777Capabilities_sequence, hf_index, ett_z3950_Iso8777Capabilities); return offset; } static const value_string z3950_QueryTypeDetails_vals[] = { { 0, "private" }, { 1, "rpn" }, { 2, "iso8777" }, { 100, "z39-58" }, { 101, "erpn" }, { 102, "rankedList" }, { 0, NULL } }; static const ber_choice_t QueryTypeDetails_choice[] = { { 0, &hf_z3950_queryTypeDetails_private, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_PrivateCapabilities }, { 1, &hf_z3950_queryTypeDetails_rpn, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_RpnCapabilities }, { 2, &hf_z3950_iso8777 , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_Iso8777Capabilities }, { 100, &hf_z3950_z39_58 , BER_CLASS_CON, 100, BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { 101, &hf_z3950_erpn , BER_CLASS_CON, 101, BER_FLAGS_IMPLTAG, dissect_z3950_RpnCapabilities }, { 102, &hf_z3950_rankedList , BER_CLASS_CON, 102, BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_QueryTypeDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, QueryTypeDetails_choice, hf_index, ett_z3950_QueryTypeDetails, NULL); return offset; } static const ber_sequence_t SEQUENCE_OF_QueryTypeDetails_sequence_of[1] = { { &hf_z3950_queryTypesSupported_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_QueryTypeDetails }, }; static int dissect_z3950_SEQUENCE_OF_QueryTypeDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_QueryTypeDetails_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_QueryTypeDetails); return offset; } static const ber_sequence_t T_diagnosticsSets_sequence_of[1] = { { &hf_z3950_diagnosticsSets_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_diagnosticsSets(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_diagnosticsSets_sequence_of, hf_index, ett_z3950_T_diagnosticsSets); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeSetId_sequence_of[1] = { { &hf_z3950_attributeSetIds_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeSetId }, }; static int dissect_z3950_SEQUENCE_OF_AttributeSetId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeSetId_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeSetId); return offset; } static const ber_sequence_t T_schemas_sequence_of[1] = { { &hf_z3950_schemas_item , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_schemas(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_schemas_sequence_of, hf_index, ett_z3950_T_schemas); return offset; } static const ber_sequence_t T_recordSyntaxes_sequence_of[1] = { { &hf_z3950_recordSyntaxes_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_recordSyntaxes(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_recordSyntaxes_sequence_of, hf_index, ett_z3950_T_recordSyntaxes); return offset; } static const ber_sequence_t T_resourceChallenges_sequence_of[1] = { { &hf_z3950_resourceChallenges_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_resourceChallenges(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_resourceChallenges_sequence_of, hf_index, ett_z3950_T_resourceChallenges); return offset; } static const value_string z3950_T_accessType_vals[] = { { 0, "any" }, { 1, "search" }, { 2, "present" }, { 3, "specific-elements" }, { 4, "extended-services" }, { 5, "by-database" }, { 0, NULL } }; static int dissect_z3950_T_accessType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_accessChallenges_sequence_of[1] = { { &hf_z3950_accessChallenges_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_accessChallenges(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_accessChallenges_sequence_of, hf_index, ett_z3950_T_accessChallenges); return offset; } static const ber_sequence_t AccessRestrictions_item_sequence[] = { { &hf_z3950_accessType , BER_CLASS_CON, 0, 0, dissect_z3950_T_accessType }, { &hf_z3950_accessText , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_accessChallenges, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_accessChallenges }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AccessRestrictions_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AccessRestrictions_item_sequence, hf_index, ett_z3950_AccessRestrictions_item); return offset; } static const ber_sequence_t AccessRestrictions_sequence_of[1] = { { &hf_z3950_AccessRestrictions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AccessRestrictions_item }, }; static int dissect_z3950_AccessRestrictions(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, AccessRestrictions_sequence_of, hf_index, ett_z3950_AccessRestrictions); return offset; } static const ber_sequence_t Charge_sequence[] = { { &hf_z3950_cost , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { &hf_z3950_perWhat , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Unit }, { &hf_z3950_charge_text , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Charge(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Charge_sequence, hf_index, ett_z3950_Charge); return offset; } static const ber_sequence_t T_otherCharges_item_sequence[] = { { &hf_z3950_forWhat , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_charge , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_Charge }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_otherCharges_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_otherCharges_item_sequence, hf_index, ett_z3950_T_otherCharges_item); return offset; } static const ber_sequence_t T_otherCharges_sequence_of[1] = { { &hf_z3950_otherCharges_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_otherCharges_item }, }; static int dissect_z3950_T_otherCharges(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_otherCharges_sequence_of, hf_index, ett_z3950_T_otherCharges); return offset; } static const ber_sequence_t Costs_sequence[] = { { &hf_z3950_connectCharge , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Charge }, { &hf_z3950_connectTime , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Charge }, { &hf_z3950_displayCharge , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Charge }, { &hf_z3950_searchCharge , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Charge }, { &hf_z3950_subscriptCharge, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Charge }, { &hf_z3950_otherCharges , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_otherCharges }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Costs(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Costs_sequence, hf_index, ett_z3950_Costs); return offset; } static const ber_sequence_t T_variantSets_sequence_of[1] = { { &hf_z3950_variantSets_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_variantSets(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_variantSets_sequence_of, hf_index, ett_z3950_T_variantSets); return offset; } static const ber_sequence_t SEQUENCE_OF_ElementSetName_sequence_of[1] = { { &hf_z3950_elementSetNames_item, BER_CLASS_CON, 103, BER_FLAGS_NOOWNTAG, dissect_z3950_ElementSetName }, }; static int dissect_z3950_SEQUENCE_OF_ElementSetName(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_ElementSetName_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_ElementSetName); return offset; } static const ber_sequence_t AccessInfo_sequence[] = { { &hf_z3950_queryTypesSupported, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_QueryTypeDetails }, { &hf_z3950_diagnosticsSets, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_diagnosticsSets }, { &hf_z3950_attributeSetIds, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeSetId }, { &hf_z3950_schemas , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_schemas }, { &hf_z3950_recordSyntaxes, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_recordSyntaxes }, { &hf_z3950_resourceChallenges, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_resourceChallenges }, { &hf_z3950_restrictedAccess, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AccessRestrictions }, { &hf_z3950_costInfo , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Costs }, { &hf_z3950_variantSets , BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_variantSets }, { &hf_z3950_elementSetNames, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_ElementSetName }, { &hf_z3950_unitSystems , BER_CLASS_CON, 11, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AccessInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AccessInfo_sequence, hf_index, ett_z3950_AccessInfo); return offset; } static const ber_sequence_t TargetInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_name , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_recent_news , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_icon , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IconObject }, { &hf_z3950_namedResultSets, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_multipleDBsearch, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_maxResultSets , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_maxResultSize , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_maxTerms , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_timeoutInterval, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { &hf_z3950_welcomeMessage, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_contactInfo , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ContactInfo }, { &hf_z3950_description , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_nicknames , BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { &hf_z3950_usage_restrictions, BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_paymentAddr , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_hours , BER_CLASS_CON, 16, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_dbCombinations, BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DatabaseList }, { &hf_z3950_addresses , BER_CLASS_CON, 18, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_NetworkAddress }, { &hf_z3950_languages , BER_CLASS_CON, 101, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { &hf_z3950_commonAccessInfo, BER_CLASS_CON, 19, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AccessInfo }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TargetInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TargetInfo_sequence, hf_index, ett_z3950_TargetInfo); return offset; } static const value_string z3950_T_recordCount_vals[] = { { 0, "actualNumber" }, { 1, "approxNumber" }, { 0, NULL } }; static const ber_choice_t T_recordCount_choice[] = { { 0, &hf_z3950_actualNumber , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 1, &hf_z3950_approxNumber , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_recordCount(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_recordCount_choice, hf_index, ett_z3950_T_recordCount, NULL); return offset; } static const ber_sequence_t DatabaseInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_databaseInfo_name, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_explainDatabase, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { &hf_z3950_databaseInfo_nicknames, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DatabaseName }, { &hf_z3950_icon , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IconObject }, { &hf_z3950_user_fee , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_available , BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_titleString , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_keywords , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_HumanString }, { &hf_z3950_description , BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_associatedDbs , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseList }, { &hf_z3950_subDbs , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseList }, { &hf_z3950_disclaimers , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_news , BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_recordCount , BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL, dissect_z3950_T_recordCount }, { &hf_z3950_defaultOrder , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_avRecordSize , BER_CLASS_CON, 16, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_maxRecordSize , BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_hours , BER_CLASS_CON, 18, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_bestTime , BER_CLASS_CON, 19, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_lastUpdate , BER_CLASS_CON, 20, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_GeneralizedTime }, { &hf_z3950_updateInterval, BER_CLASS_CON, 21, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { &hf_z3950_coverage , BER_CLASS_CON, 22, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_proprietary , BER_CLASS_CON, 23, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_copyrightText , BER_CLASS_CON, 24, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_copyrightNotice, BER_CLASS_CON, 25, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_producerContactInfo, BER_CLASS_CON, 26, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ContactInfo }, { &hf_z3950_supplierContactInfo, BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ContactInfo }, { &hf_z3950_submissionContactInfo, BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ContactInfo }, { &hf_z3950_accessInfo , BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AccessInfo }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DatabaseInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DatabaseInfo_sequence, hf_index, ett_z3950_DatabaseInfo); return offset; } static const ber_sequence_t T_tagTypeMapping_item_sequence[] = { { &hf_z3950_tagType , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_tagSet , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_defaultTagType, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_tagTypeMapping_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_tagTypeMapping_item_sequence, hf_index, ett_z3950_T_tagTypeMapping_item); return offset; } static const ber_sequence_t T_tagTypeMapping_sequence_of[1] = { { &hf_z3950_tagTypeMapping_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_tagTypeMapping_item }, }; static int dissect_z3950_T_tagTypeMapping(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_tagTypeMapping_sequence_of, hf_index, ett_z3950_T_tagTypeMapping); return offset; } static const ber_sequence_t Path_item_sequence[] = { { &hf_z3950_tagType , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_tagValue , BER_CLASS_CON, 2, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Path_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Path_item_sequence, hf_index, ett_z3950_Path_item); return offset; } static const ber_sequence_t Path_sequence_of[1] = { { &hf_z3950_Path_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Path_item }, }; static int dissect_z3950_Path(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, Path_sequence_of, hf_index, ett_z3950_Path); return offset; } static const value_string z3950_PrimitiveDataType_vals[] = { { 0, "octetString" }, { 1, "numeric" }, { 2, "date" }, { 3, "external" }, { 4, "string" }, { 5, "trueOrFalse" }, { 6, "oid" }, { 7, "intUnit" }, { 8, "empty" }, { 100, "noneOfTheAbove" }, { 0, NULL } }; static int dissect_z3950_PrimitiveDataType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SEQUENCE_OF_ElementInfo_sequence_of[1] = { { &hf_z3950_recordStructure_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_ElementInfo }, }; static int dissect_z3950_SEQUENCE_OF_ElementInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_ElementInfo_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_ElementInfo); return offset; } static const value_string z3950_ElementDataType_vals[] = { { 0, "primitive" }, { 1, "structured" }, { 0, NULL } }; static const ber_choice_t ElementDataType_choice[] = { { 0, &hf_z3950_primitive , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_PrimitiveDataType }, { 1, &hf_z3950_structured , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_ElementInfo }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ElementDataType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, ElementDataType_choice, hf_index, ett_z3950_ElementDataType, NULL); return offset; } static const ber_sequence_t ElementInfo_sequence[] = { { &hf_z3950_elementName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_elementTagPath, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_Path }, { &hf_z3950_elementInfo_dataType, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_ElementDataType }, { &hf_z3950_required , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_repeatable , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_description , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ElementInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ElementInfo_sequence, hf_index, ett_z3950_ElementInfo); return offset; } static const ber_sequence_t SchemaInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_schema , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_name , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_tagTypeMapping, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_tagTypeMapping }, { &hf_z3950_recordStructure, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_ElementInfo }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SchemaInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SchemaInfo_sequence, hf_index, ett_z3950_SchemaInfo); return offset; } static const ber_sequence_t T_tagSetInfo_elements_item_sequence[] = { { &hf_z3950_elementname , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_nicknames , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { &hf_z3950_elementTag , BER_CLASS_CON, 3, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_description , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_dataType , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_z3950_PrimitiveDataType }, { &hf_z3950_otherTagInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_tagSetInfo_elements_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_tagSetInfo_elements_item_sequence, hf_index, ett_z3950_T_tagSetInfo_elements_item); return offset; } static const ber_sequence_t T_tagSetInfo_elements_sequence_of[1] = { { &hf_z3950_tagSetInfo_elements_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_tagSetInfo_elements_item }, }; static int dissect_z3950_T_tagSetInfo_elements(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_tagSetInfo_elements_sequence_of, hf_index, ett_z3950_T_tagSetInfo_elements); return offset; } static const ber_sequence_t TagSetInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_tagSet , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_name , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_tagSetInfo_elements, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_tagSetInfo_elements }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TagSetInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TagSetInfo_sequence, hf_index, ett_z3950_TagSetInfo); return offset; } static const ber_sequence_t T_transferSyntaxes_sequence_of[1] = { { &hf_z3950_transferSyntaxes_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, }; static int dissect_z3950_T_transferSyntaxes(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_transferSyntaxes_sequence_of, hf_index, ett_z3950_T_transferSyntaxes); return offset; } static const ber_sequence_t RecordSyntaxInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_recordSyntax , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_name , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_transferSyntaxes, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_transferSyntaxes }, { &hf_z3950_description , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_asn1Module , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_abstractStructure, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_ElementInfo }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_RecordSyntaxInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, RecordSyntaxInfo_sequence, hf_index, ett_z3950_RecordSyntaxInfo); return offset; } static const ber_sequence_t AttributeDescription_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_attributeDescription_attributeValue, BER_CLASS_CON, 2, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_equivalentAttributes, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_StringOrNumeric }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeDescription_sequence, hf_index, ett_z3950_AttributeDescription); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeDescription_sequence_of[1] = { { &hf_z3950_attributeValues_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeDescription }, }; static int dissect_z3950_SEQUENCE_OF_AttributeDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeDescription_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeDescription); return offset; } static const ber_sequence_t AttributeType_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_attributeType , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_attributeValues, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeDescription }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeType_sequence, hf_index, ett_z3950_AttributeType); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeType_sequence_of[1] = { { &hf_z3950_attributeSetInfo_attributes_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeType }, }; static int dissect_z3950_SEQUENCE_OF_AttributeType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeType_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeType); return offset; } static const ber_sequence_t AttributeSetInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_attributeSet , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_name , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_attributeSetInfo_attributes, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeType }, { &hf_z3950_description , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeSetInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeSetInfo_sequence, hf_index, ett_z3950_AttributeSetInfo); return offset; } static const value_string z3950_T_searchCost_vals[] = { { 0, "optimized" }, { 1, "normal" }, { 2, "expensive" }, { 3, "filter" }, { 0, NULL } }; static int dissect_z3950_T_searchCost(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_termLists_item_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_title , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_searchCost , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_searchCost }, { &hf_z3950_scanable , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_broader , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { &hf_z3950_narrower , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_termLists_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_termLists_item_sequence, hf_index, ett_z3950_T_termLists_item); return offset; } static const ber_sequence_t T_termLists_sequence_of[1] = { { &hf_z3950_termLists_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_termLists_item }, }; static int dissect_z3950_T_termLists(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_termLists_sequence_of, hf_index, ett_z3950_T_termLists); return offset; } static const ber_sequence_t TermListInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_databaseName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_termLists , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_termLists }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TermListInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TermListInfo_sequence, hf_index, ett_z3950_TermListInfo); return offset; } static const value_string z3950_T_extendedServicesInfo_waitAction_vals[] = { { 1, "waitSupported" }, { 2, "waitAlways" }, { 3, "waitNotSupported" }, { 4, "depends" }, { 5, "notSaying" }, { 0, NULL } }; static int dissect_z3950_T_extendedServicesInfo_waitAction(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t ExtendedServicesInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_extendedServicesInfo_type, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_name , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_privateType , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_restrictionsApply, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_feeApply , BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_available , BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_retentionSupported, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_extendedServicesInfo_waitAction, BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_z3950_T_extendedServicesInfo_waitAction }, { &hf_z3950_description , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_specificExplain, BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { &hf_z3950_esASN , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ExtendedServicesInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ExtendedServicesInfo_sequence, hf_index, ett_z3950_ExtendedServicesInfo); return offset; } static const ber_sequence_t OmittedAttributeInterpretation_sequence[] = { { &hf_z3950_defaultValue , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_defaultDescription, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_OmittedAttributeInterpretation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, OmittedAttributeInterpretation_sequence, hf_index, ett_z3950_OmittedAttributeInterpretation); return offset; } static const ber_sequence_t AttributeValue_sequence[] = { { &hf_z3950_attributeValue_value, BER_CLASS_CON, 0, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_subAttributes , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_StringOrNumeric }, { &hf_z3950_superAttributes, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_StringOrNumeric }, { &hf_z3950_partialSupport, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeValue_sequence, hf_index, ett_z3950_AttributeValue); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeValue_sequence_of[1] = { { &hf_z3950_attributeTypeDetails_attributeValues_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeValue }, }; static int dissect_z3950_SEQUENCE_OF_AttributeValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeValue_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeValue); return offset; } static const ber_sequence_t AttributeTypeDetails_sequence[] = { { &hf_z3950_attributeType , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_defaultIfOmitted, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OmittedAttributeInterpretation }, { &hf_z3950_attributeTypeDetails_attributeValues, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeValue }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeTypeDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeTypeDetails_sequence, hf_index, ett_z3950_AttributeTypeDetails); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeTypeDetails_sequence_of[1] = { { &hf_z3950_attributesByType_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeTypeDetails }, }; static int dissect_z3950_SEQUENCE_OF_AttributeTypeDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeTypeDetails_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeTypeDetails); return offset; } static const ber_sequence_t AttributeSetDetails_sequence[] = { { &hf_z3950_attributeSet , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_attributesByType, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeTypeDetails }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeSetDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeSetDetails_sequence, hf_index, ett_z3950_AttributeSetDetails); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeSetDetails_sequence_of[1] = { { &hf_z3950_attributesBySet_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeSetDetails }, }; static int dissect_z3950_SEQUENCE_OF_AttributeSetDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeSetDetails_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeSetDetails); return offset; } static const value_string z3950_T_attributeOccurrence_attributeValues_vals[] = { { 3, "any-or-none" }, { 4, "specific" }, { 0, NULL } }; static const ber_choice_t T_attributeOccurrence_attributeValues_choice[] = { { 3, &hf_z3950_any_or_none , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 4, &hf_z3950_specific , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_StringOrNumeric }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_attributeOccurrence_attributeValues(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_attributeOccurrence_attributeValues_choice, hf_index, ett_z3950_T_attributeOccurrence_attributeValues, NULL); return offset; } static const ber_sequence_t AttributeOccurrence_sequence[] = { { &hf_z3950_attributeSet , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_attributeType , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_mustBeSupplied, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { &hf_z3950_attributeOccurrence_attributeValues, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_T_attributeOccurrence_attributeValues }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeOccurrence(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeOccurrence_sequence, hf_index, ett_z3950_AttributeOccurrence); return offset; } static const ber_sequence_t AttributeCombination_sequence_of[1] = { { &hf_z3950_AttributeCombination_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeOccurrence }, }; static int dissect_z3950_AttributeCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, AttributeCombination_sequence_of, hf_index, ett_z3950_AttributeCombination); return offset; } static const ber_sequence_t SEQUENCE_OF_AttributeCombination_sequence_of[1] = { { &hf_z3950_legalCombinations_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_AttributeCombination }, }; static int dissect_z3950_SEQUENCE_OF_AttributeCombination(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_AttributeCombination_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_AttributeCombination); return offset; } static const ber_sequence_t AttributeCombinations_sequence[] = { { &hf_z3950_defaultAttributeSet, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_AttributeSetId }, { &hf_z3950_legalCombinations, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeCombination }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeCombinations(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeCombinations_sequence, hf_index, ett_z3950_AttributeCombinations); return offset; } static const ber_sequence_t AttributeDetails_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_databaseName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_attributesBySet, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_AttributeSetDetails }, { &hf_z3950_attributeCombinations, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AttributeCombinations }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_AttributeDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, AttributeDetails_sequence, hf_index, ett_z3950_AttributeDetails); return offset; } static const ber_sequence_t T_scanInfo_sequence[] = { { &hf_z3950_maxStepSize , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_collatingSequence, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_increasing , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_scanInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_scanInfo_sequence, hf_index, ett_z3950_T_scanInfo); return offset; } static const ber_sequence_t SEQUENCE_OF_Term_sequence_of[1] = { { &hf_z3950_sampleTerms_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_Term }, }; static int dissect_z3950_SEQUENCE_OF_Term(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Term_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_Term); return offset; } static const ber_sequence_t TermListDetails_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_termListName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_termListDetails_attributes, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AttributeCombinations }, { &hf_z3950_scanInfo , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_scanInfo }, { &hf_z3950_estNumberTerms, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_sampleTerms , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Term }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TermListDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TermListDetails_sequence, hf_index, ett_z3950_TermListDetails); return offset; } static const ber_sequence_t RecordTag_sequence[] = { { &hf_z3950_qualifier , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_tagValue , BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_RecordTag(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, RecordTag_sequence, hf_index, ett_z3950_RecordTag); return offset; } static const ber_sequence_t SEQUENCE_OF_Path_sequence_of[1] = { { &hf_z3950_schemaTags_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Path }, }; static int dissect_z3950_SEQUENCE_OF_Path(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Path_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_Path); return offset; } static const ber_sequence_t PerElementDetails_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_recordTag , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_RecordTag }, { &hf_z3950_schemaTags , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Path }, { &hf_z3950_maxSize , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_minSize , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_avgSize , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_fixedSize , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_repeatable , BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_required , BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_description , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_contents , BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_billingInfo , BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_restrictions , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_alternateNames, BER_CLASS_CON, 16, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { &hf_z3950_genericNames , BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { &hf_z3950_searchAccess , BER_CLASS_CON, 18, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AttributeCombinations }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_PerElementDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, PerElementDetails_sequence, hf_index, ett_z3950_PerElementDetails); return offset; } static const ber_sequence_t SEQUENCE_OF_PerElementDetails_sequence_of[1] = { { &hf_z3950_detailsPerElement_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_PerElementDetails }, }; static int dissect_z3950_SEQUENCE_OF_PerElementDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_PerElementDetails_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_PerElementDetails); return offset; } static const ber_sequence_t ElementSetDetails_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_databaseName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_elementSetDetails_elementSetName, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_ElementSetName }, { &hf_z3950_recordSyntax , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_schema , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_description , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_detailsPerElement, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_PerElementDetails }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ElementSetDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ElementSetDetails_sequence, hf_index, ett_z3950_ElementSetDetails); return offset; } static const ber_sequence_t RetrievalRecordDetails_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_databaseName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_schema , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_recordSyntax , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_description , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_detailsPerElement, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_PerElementDetails }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_RetrievalRecordDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, RetrievalRecordDetails_sequence, hf_index, ett_z3950_RetrievalRecordDetails); return offset; } static const value_string z3950_T_sortType_vals[] = { { 0, "character" }, { 1, "numeric" }, { 2, "structured" }, { 0, NULL } }; static const ber_choice_t T_sortType_choice[] = { { 0, &hf_z3950_character , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 1, &hf_z3950_sortKeyDetails_sortType_numeric, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 2, &hf_z3950_sortKeyDetails_sortType_structured, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_sortType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_sortType_choice, hf_index, ett_z3950_T_sortType, NULL); return offset; } static const value_string z3950_T_sortKeyDetails_caseSensitivity_vals[] = { { 0, "always" }, { 1, "never" }, { 2, "default-yes" }, { 3, "default-no" }, { 0, NULL } }; static int dissect_z3950_T_sortKeyDetails_caseSensitivity(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t SortKeyDetails_sequence[] = { { &hf_z3950_description , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_elementSpecifications, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Specification }, { &hf_z3950_attributeSpecifications, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_AttributeCombinations }, { &hf_z3950_sortType , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_z3950_T_sortType }, { &hf_z3950_sortKeyDetails_caseSensitivity, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_sortKeyDetails_caseSensitivity }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SortKeyDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SortKeyDetails_sequence, hf_index, ett_z3950_SortKeyDetails); return offset; } static const ber_sequence_t SEQUENCE_OF_SortKeyDetails_sequence_of[1] = { { &hf_z3950_sortKeys_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_SortKeyDetails }, }; static int dissect_z3950_SEQUENCE_OF_SortKeyDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_SortKeyDetails_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_SortKeyDetails); return offset; } static const ber_sequence_t SortDetails_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_databaseName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_sortKeys , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_SortKeyDetails }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SortDetails(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SortDetails_sequence, hf_index, ett_z3950_SortDetails); return offset; } static const value_string z3950_T_processingContext_vals[] = { { 0, "access" }, { 1, "search" }, { 2, "retrieval" }, { 3, "record-presentation" }, { 4, "record-handling" }, { 0, NULL } }; static int dissect_z3950_T_processingContext(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t ProcessingInformation_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_databaseName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseName }, { &hf_z3950_processingContext, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_processingContext }, { &hf_z3950_name , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_oid , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_description , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_instructions , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ProcessingInformation(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ProcessingInformation_sequence, hf_index, ett_z3950_ProcessingInformation); return offset; } static const value_string z3950_ValueDescription_vals[] = { { 0, "integer" }, { 1, "string" }, { 2, "octets" }, { 3, "oid" }, { 4, "unit" }, { 5, "valueAndUnit" }, { 0, NULL } }; static const ber_choice_t ValueDescription_choice[] = { { 0, &hf_z3950_integer , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_z3950_INTEGER }, { 1, &hf_z3950_string , BER_CLASS_UNI, BER_UNI_TAG_GeneralString, BER_FLAGS_NOOWNTAG, dissect_z3950_InternationalString }, { 2, &hf_z3950_octets , BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_z3950_OCTET_STRING }, { 3, &hf_z3950_oid , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, { 4, &hf_z3950_valueDescription_unit, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_Unit }, { 5, &hf_z3950_valueAndUnit , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ValueDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, ValueDescription_choice, hf_index, ett_z3950_ValueDescription, NULL); return offset; } static const ber_sequence_t ValueRange_sequence[] = { { &hf_z3950_lower , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_ValueDescription }, { &hf_z3950_upper , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_ValueDescription }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ValueRange(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ValueRange_sequence, hf_index, ett_z3950_ValueRange); return offset; } static const ber_sequence_t SEQUENCE_OF_ValueDescription_sequence_of[1] = { { &hf_z3950_enumerated_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_ValueDescription }, }; static int dissect_z3950_SEQUENCE_OF_ValueDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_ValueDescription_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_ValueDescription); return offset; } static const value_string z3950_ValueSet_vals[] = { { 0, "range" }, { 1, "enumerated" }, { 0, NULL } }; static const ber_choice_t ValueSet_choice[] = { { 0, &hf_z3950_range , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_ValueRange }, { 1, &hf_z3950_enumerated , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_ValueDescription }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ValueSet(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, ValueSet_choice, hf_index, ett_z3950_ValueSet, NULL); return offset; } static const ber_sequence_t VariantValue_sequence[] = { { &hf_z3950_dataType , BER_CLASS_CON, 0, 0, dissect_z3950_PrimitiveDataType }, { &hf_z3950_values , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_ValueSet }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_VariantValue(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, VariantValue_sequence, hf_index, ett_z3950_VariantValue); return offset; } static const ber_sequence_t VariantType_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_variantType , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_variantValue , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_VariantValue }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_VariantType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, VariantType_sequence, hf_index, ett_z3950_VariantType); return offset; } static const ber_sequence_t SEQUENCE_OF_VariantType_sequence_of[1] = { { &hf_z3950_variantTypes_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_VariantType }, }; static int dissect_z3950_SEQUENCE_OF_VariantType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_VariantType_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_VariantType); return offset; } static const ber_sequence_t VariantClass_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_variantClass , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_variantTypes , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_VariantType }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_VariantClass(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, VariantClass_sequence, hf_index, ett_z3950_VariantClass); return offset; } static const ber_sequence_t SEQUENCE_OF_VariantClass_sequence_of[1] = { { &hf_z3950_variantSetInfo_variants_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_VariantClass }, }; static int dissect_z3950_SEQUENCE_OF_VariantClass(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_VariantClass_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_VariantClass); return offset; } static const ber_sequence_t VariantSetInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_variantSet , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_name , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_variantSetInfo_variants, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_VariantClass }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_VariantSetInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, VariantSetInfo_sequence, hf_index, ett_z3950_VariantSetInfo); return offset; } static const ber_sequence_t Units_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_unit , BER_CLASS_CON, 2, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Units(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Units_sequence, hf_index, ett_z3950_Units); return offset; } static const ber_sequence_t SEQUENCE_OF_Units_sequence_of[1] = { { &hf_z3950_unitType_units_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Units }, }; static int dissect_z3950_SEQUENCE_OF_Units(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Units_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_Units); return offset; } static const ber_sequence_t UnitType_sequence[] = { { &hf_z3950_name , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_unitType , BER_CLASS_CON, 2, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_unitType_units, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Units }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_UnitType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, UnitType_sequence, hf_index, ett_z3950_UnitType); return offset; } static const ber_sequence_t SEQUENCE_OF_UnitType_sequence_of[1] = { { &hf_z3950_unitInfo_units_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_UnitType }, }; static int dissect_z3950_SEQUENCE_OF_UnitType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_UnitType_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_UnitType); return offset; } static const ber_sequence_t UnitInfo_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_unitSystem , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_unitInfo_units, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_UnitType }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_UnitInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, UnitInfo_sequence, hf_index, ett_z3950_UnitInfo); return offset; } static const ber_sequence_t CategoryInfo_sequence[] = { { &hf_z3950_categoryInfo_category, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_originalCategory, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_description , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_HumanString }, { &hf_z3950_asn1Module , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_CategoryInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CategoryInfo_sequence, hf_index, ett_z3950_CategoryInfo); return offset; } static const ber_sequence_t SEQUENCE_OF_CategoryInfo_sequence_of[1] = { { &hf_z3950_categories_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_CategoryInfo }, }; static int dissect_z3950_SEQUENCE_OF_CategoryInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_CategoryInfo_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_CategoryInfo); return offset; } static const ber_sequence_t CategoryList_sequence[] = { { &hf_z3950_commonInfo , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_CommonInfo }, { &hf_z3950_categories , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_CategoryInfo }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_CategoryList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, CategoryList_sequence, hf_index, ett_z3950_CategoryList); return offset; } static const value_string z3950_Explain_Record_vals[] = { { 0, "targetInfo" }, { 1, "databaseInfo" }, { 2, "schemaInfo" }, { 3, "tagSetInfo" }, { 4, "recordSyntaxInfo" }, { 5, "attributeSetInfo" }, { 6, "termListInfo" }, { 7, "extendedServicesInfo" }, { 8, "attributeDetails" }, { 9, "termListDetails" }, { 10, "elementSetDetails" }, { 11, "retrievalRecordDetails" }, { 12, "sortDetails" }, { 13, "processing" }, { 14, "variants" }, { 15, "units" }, { 100, "categoryList" }, { 0, NULL } }; static const ber_choice_t Explain_Record_choice[] = { { 0, &hf_z3950_targetInfo , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_z3950_TargetInfo }, { 1, &hf_z3950_databaseInfo , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DatabaseInfo }, { 2, &hf_z3950_schemaInfo , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_SchemaInfo }, { 3, &hf_z3950_tagSetInfo , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_TagSetInfo }, { 4, &hf_z3950_recordSyntaxInfo, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_RecordSyntaxInfo }, { 5, &hf_z3950_attributeSetInfo, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_AttributeSetInfo }, { 6, &hf_z3950_termListInfo , BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_z3950_TermListInfo }, { 7, &hf_z3950_extendedServicesInfo, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_z3950_ExtendedServicesInfo }, { 8, &hf_z3950_attributeDetails, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_z3950_AttributeDetails }, { 9, &hf_z3950_termListDetails, BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_z3950_TermListDetails }, { 10, &hf_z3950_elementSetDetails, BER_CLASS_CON, 10, BER_FLAGS_IMPLTAG, dissect_z3950_ElementSetDetails }, { 11, &hf_z3950_retrievalRecordDetails, BER_CLASS_CON, 11, BER_FLAGS_IMPLTAG, dissect_z3950_RetrievalRecordDetails }, { 12, &hf_z3950_sortDetails , BER_CLASS_CON, 12, BER_FLAGS_IMPLTAG, dissect_z3950_SortDetails }, { 13, &hf_z3950_processing , BER_CLASS_CON, 13, BER_FLAGS_IMPLTAG, dissect_z3950_ProcessingInformation }, { 14, &hf_z3950_variants , BER_CLASS_CON, 14, BER_FLAGS_IMPLTAG, dissect_z3950_VariantSetInfo }, { 15, &hf_z3950_units , BER_CLASS_CON, 15, BER_FLAGS_IMPLTAG, dissect_z3950_UnitInfo }, { 100, &hf_z3950_categoryList , BER_CLASS_CON, 100, BER_FLAGS_IMPLTAG, dissect_z3950_CategoryList }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Explain_Record(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, Explain_Record_choice, hf_index, ett_z3950_Explain_Record, NULL); return offset; } static const ber_sequence_t FormatSpec_sequence[] = { { &hf_z3950_formatSpec_type, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_size , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_bestPosn , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_FormatSpec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, FormatSpec_sequence, hf_index, ett_z3950_FormatSpec); return offset; } static const ber_sequence_t SEQUENCE_OF_FormatSpec_sequence_of[1] = { { &hf_z3950_briefBib_format_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_FormatSpec }, }; static int dissect_z3950_SEQUENCE_OF_FormatSpec(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_FormatSpec_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_FormatSpec); return offset; } static const ber_sequence_t BriefBib_sequence[] = { { &hf_z3950_briefBib_title, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_author , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_callNumber , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_recordType , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_bibliographicLevel, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_briefBib_format, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_FormatSpec }, { &hf_z3950_publicationPlace, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_publicationDate, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_targetSystemKey, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_satisfyingElement, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_rank , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_documentId , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_abstract , BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_otherInfo , BER_CLASS_CON, 201, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_z3950_OtherInformation }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_BriefBib(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, BriefBib_sequence, hf_index, ett_z3950_BriefBib); return offset; } static const ber_sequence_t SEQUENCE_OF_TaggedElement_sequence_of[1] = { { &hf_z3950_subtree_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_TaggedElement }, }; static int dissect_z3950_SEQUENCE_OF_TaggedElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_TaggedElement_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_TaggedElement); return offset; } static const value_string z3950_ElementData_vals[] = { { 0, "octets" }, { 1, "numeric" }, { 2, "date" }, { 3, "ext" }, { 4, "string" }, { 5, "trueOrFalse" }, { 6, "oid" }, { 7, "intUnit" }, { 8, "elementNotThere" }, { 9, "elementEmpty" }, { 10, "noDataRequested" }, { 11, "diagnostic" }, { 12, "subtree" }, { 0, NULL } }; static const ber_choice_t ElementData_choice[] = { { 0, &hf_z3950_octets , BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_z3950_OCTET_STRING }, { 1, &hf_z3950_numeric , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_z3950_INTEGER }, { 2, &hf_z3950_date , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_z3950_GeneralizedTime }, { 3, &hf_z3950_ext , BER_CLASS_UNI, BER_UNI_TAG_EXTERNAL, BER_FLAGS_NOOWNTAG, dissect_z3950_EXTERNAL }, { 4, &hf_z3950_string , BER_CLASS_UNI, BER_UNI_TAG_GeneralString, BER_FLAGS_NOOWNTAG, dissect_z3950_InternationalString }, { 5, &hf_z3950_trueOrFalse , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_NOOWNTAG, dissect_z3950_BOOLEAN }, { 6, &hf_z3950_oid , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, { 7, &hf_z3950_intUnit , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { 8, &hf_z3950_elementNotThere, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 9, &hf_z3950_elementEmpty , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 10, &hf_z3950_noDataRequested, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 11, &hf_z3950_elementData_diagnostic, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { 12, &hf_z3950_subtree , BER_CLASS_CON, 6, 0, dissect_z3950_SEQUENCE_OF_TaggedElement }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ElementData(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, ElementData_choice, hf_index, ett_z3950_ElementData, NULL); return offset; } static const ber_sequence_t Order_sequence[] = { { &hf_z3950_ascending , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_order , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Order(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Order_sequence, hf_index, ett_z3950_Order); return offset; } static const value_string z3950_T_usage_type_vals[] = { { 1, "redistributable" }, { 2, "restricted" }, { 3, "licensePointer" }, { 0, NULL } }; static int dissect_z3950_T_usage_type(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t Usage_sequence[] = { { &hf_z3950_usage_type , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_usage_type }, { &hf_z3950_restriction , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Usage(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Usage_sequence, hf_index, ett_z3950_Usage); return offset; } static const ber_sequence_t HitVector_sequence[] = { { &hf_z3950_satisfier , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_z3950_Term }, { &hf_z3950_offsetIntoElement, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { &hf_z3950_length , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { &hf_z3950_hitRank , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_targetToken , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_HitVector(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, HitVector_sequence, hf_index, ett_z3950_HitVector); return offset; } static const ber_sequence_t SEQUENCE_OF_HitVector_sequence_of[1] = { { &hf_z3950_hits_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_HitVector }, }; static int dissect_z3950_SEQUENCE_OF_HitVector(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_HitVector_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_HitVector); return offset; } static const value_string z3950_T_variant_triples_item_value_vals[] = { { 0, "integer" }, { 1, "string" }, { 2, "octetString" }, { 3, "oid" }, { 4, "boolean" }, { 5, "null" }, { 6, "unit" }, { 7, "valueAndUnit" }, { 0, NULL } }; static const ber_choice_t T_variant_triples_item_value_choice[] = { { 0, &hf_z3950_integer , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_z3950_INTEGER }, { 1, &hf_z3950_string , BER_CLASS_UNI, BER_UNI_TAG_GeneralString, BER_FLAGS_NOOWNTAG, dissect_z3950_InternationalString }, { 2, &hf_z3950_octetString , BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_z3950_OCTET_STRING }, { 3, &hf_z3950_oid , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_z3950_OBJECT_IDENTIFIER }, { 4, &hf_z3950_boolean , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_NOOWNTAG, dissect_z3950_BOOLEAN }, { 5, &hf_z3950_null , BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_z3950_NULL }, { 6, &hf_z3950_variant_triples_item_value_unit, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_Unit }, { 7, &hf_z3950_valueAndUnit , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_variant_triples_item_value(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_variant_triples_item_value_choice, hf_index, ett_z3950_T_variant_triples_item_value, NULL); return offset; } static const ber_sequence_t T_triples_item_sequence[] = { { &hf_z3950_variantSetId , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_class , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_type , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_variant_triples_item_value, BER_CLASS_CON, 3, 0, dissect_z3950_T_variant_triples_item_value }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_triples_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_triples_item_sequence, hf_index, ett_z3950_T_triples_item); return offset; } static const ber_sequence_t T_triples_sequence_of[1] = { { &hf_z3950_triples_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_T_triples_item }, }; static int dissect_z3950_T_triples(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, T_triples_sequence_of, hf_index, ett_z3950_T_triples); return offset; } static const ber_sequence_t Variant_sequence[] = { { &hf_z3950_globalVariantSetId, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_triples , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_T_triples }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Variant(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Variant_sequence, hf_index, ett_z3950_Variant); return offset; } static const ber_sequence_t SEQUENCE_OF_Variant_sequence_of[1] = { { &hf_z3950_supportedVariants_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Variant }, }; static int dissect_z3950_SEQUENCE_OF_Variant(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SEQUENCE_OF_Variant_sequence_of, hf_index, ett_z3950_SEQUENCE_OF_Variant); return offset; } static const ber_sequence_t TagPath_item_sequence[] = { { &hf_z3950_tagType , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_tagValue , BER_CLASS_CON, 2, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_tagOccurrence , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TagPath_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TagPath_item_sequence, hf_index, ett_z3950_TagPath_item); return offset; } static const ber_sequence_t TagPath_sequence_of[1] = { { &hf_z3950_TagPath_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_TagPath_item }, }; static int dissect_z3950_TagPath(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, TagPath_sequence_of, hf_index, ett_z3950_TagPath); return offset; } static const ber_sequence_t ElementMetaData_sequence[] = { { &hf_z3950_seriesOrder , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Order }, { &hf_z3950_usageRight , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Usage }, { &hf_z3950_hits , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_HitVector }, { &hf_z3950_displayName , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_supportedVariants, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_Variant }, { &hf_z3950_message , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_elementDescriptor, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { &hf_z3950_surrogateFor , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_TagPath }, { &hf_z3950_surrogateElement, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_TagPath }, { &hf_z3950_other , BER_CLASS_CON, 99, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ElementMetaData(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ElementMetaData_sequence, hf_index, ett_z3950_ElementMetaData); return offset; } static const ber_sequence_t TaggedElement_sequence[] = { { &hf_z3950_tagType , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_tagValue , BER_CLASS_CON, 2, BER_FLAGS_NOTCHKTAG, dissect_z3950_StringOrNumeric }, { &hf_z3950_tagOccurrence , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_taggedElement_content, BER_CLASS_CON, 4, BER_FLAGS_NOTCHKTAG, dissect_z3950_ElementData }, { &hf_z3950_metaData , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ElementMetaData }, { &hf_z3950_appliedVariant, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Variant }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TaggedElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TaggedElement_sequence, hf_index, ett_z3950_TaggedElement); return offset; } static const ber_sequence_t GenericRecord_sequence_of[1] = { { &hf_z3950_GenericRecord_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_TaggedElement }, }; static int dissect_z3950_GenericRecord(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, GenericRecord_sequence_of, hf_index, ett_z3950_GenericRecord); return offset; } static const value_string z3950_T_taskStatus_vals[] = { { 0, "pending" }, { 1, "active" }, { 2, "complete" }, { 3, "aborted" }, { 0, NULL } }; static int dissect_z3950_T_taskStatus(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t TaskPackage_sequence[] = { { &hf_z3950_packageType , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_OBJECT_IDENTIFIER }, { &hf_z3950_packageName , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_userId , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_retentionTime , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { &hf_z3950_permissions , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_Permissions }, { &hf_z3950_taskPackage_description, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_targetReference, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { &hf_z3950_creationDateTime, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_GeneralizedTime }, { &hf_z3950_taskStatus , BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_z3950_T_taskStatus }, { &hf_z3950_packageDiagnostics, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DiagRec }, { &hf_z3950_taskSpecificParameters, BER_CLASS_CON, 11, BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_TaskPackage(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, TaskPackage_sequence, hf_index, ett_z3950_TaskPackage); return offset; } static const value_string z3950_T_promptId_enummeratedPrompt_type_vals[] = { { 0, "groupId" }, { 1, "userId" }, { 2, "password" }, { 3, "newPassword" }, { 4, "copyright" }, { 5, "sessionId" }, { 0, NULL } }; static int dissect_z3950_T_promptId_enummeratedPrompt_type(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t T_enummeratedPrompt_sequence[] = { { &hf_z3950_promptId_enummeratedPrompt_type, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_promptId_enummeratedPrompt_type }, { &hf_z3950_suggestedString, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_enummeratedPrompt(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_enummeratedPrompt_sequence, hf_index, ett_z3950_T_enummeratedPrompt); return offset; } static const value_string z3950_PromptId_vals[] = { { 1, "enummeratedPrompt" }, { 2, "nonEnumeratedPrompt" }, { 0, NULL } }; static const ber_choice_t PromptId_choice[] = { { 1, &hf_z3950_enummeratedPrompt, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_enummeratedPrompt }, { 2, &hf_z3950_nonEnumeratedPrompt, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_PromptId(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, PromptId_choice, hf_index, ett_z3950_PromptId, NULL); return offset; } static const ber_sequence_t Encryption_sequence[] = { { &hf_z3950_cryptType , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { &hf_z3950_credential , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { &hf_z3950_data , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Encryption(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Encryption_sequence, hf_index, ett_z3950_Encryption); return offset; } static const value_string z3950_T_promptInfo_vals[] = { { 1, "character" }, { 2, "encrypted" }, { 0, NULL } }; static const ber_choice_t T_promptInfo_choice[] = { { 1, &hf_z3950_challenge_item_promptInfo_character, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 2, &hf_z3950_encrypted , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_Encryption }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_promptInfo(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_promptInfo_choice, hf_index, ett_z3950_T_promptInfo, NULL); return offset; } static const value_string z3950_T_challenge_item_dataType_vals[] = { { 1, "integer" }, { 2, "date" }, { 3, "float" }, { 4, "alphaNumeric" }, { 5, "url-urn" }, { 6, "boolean" }, { 0, NULL } }; static int dissect_z3950_T_challenge_item_dataType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; } static const ber_sequence_t Challenge_item_sequence[] = { { &hf_z3950_promptId , BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_z3950_PromptId }, { &hf_z3950_defaultResponse, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_promptInfo , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_z3950_T_promptInfo }, { &hf_z3950_regExpr , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_responseRequired, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { &hf_z3950_allowedValues , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_InternationalString }, { &hf_z3950_shouldSave , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { &hf_z3950_challenge_item_dataType, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_T_challenge_item_dataType }, { &hf_z3950_challenge_item_diagnostic, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_EXTERNAL }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Challenge_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Challenge_item_sequence, hf_index, ett_z3950_Challenge_item); return offset; } static const ber_sequence_t Challenge_sequence_of[1] = { { &hf_z3950_Challenge_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Challenge_item }, }; static int dissect_z3950_Challenge(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, Challenge_sequence_of, hf_index, ett_z3950_Challenge); return offset; } static const value_string z3950_T_promptResponse_vals[] = { { 1, "string" }, { 2, "accept" }, { 3, "acknowledge" }, { 4, "diagnostic" }, { 5, "encrypted" }, { 0, NULL } }; static const ber_choice_t T_promptResponse_choice[] = { { 1, &hf_z3950_string , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { 2, &hf_z3950_accept , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { 3, &hf_z3950_acknowledge , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 4, &hf_z3950_diagnostic , BER_CLASS_CON, 4, 0, dissect_z3950_DiagRec }, { 5, &hf_z3950_encrypted , BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_z3950_Encryption }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_promptResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_promptResponse_choice, hf_index, ett_z3950_T_promptResponse, NULL); return offset; } static const ber_sequence_t Response_item_sequence[] = { { &hf_z3950_promptId , BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_z3950_PromptId }, { &hf_z3950_promptResponse, BER_CLASS_CON, 2, 0, dissect_z3950_T_promptResponse }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_Response_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Response_item_sequence, hf_index, ett_z3950_Response_item); return offset; } static const ber_sequence_t Response_sequence_of[1] = { { &hf_z3950_Response_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_Response_item }, }; static int dissect_z3950_Response(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, Response_sequence_of, hf_index, ett_z3950_Response); return offset; } static const value_string z3950_PromptObject_vals[] = { { 1, "challenge" }, { 2, "response" }, { 0, NULL } }; static const ber_choice_t PromptObject_choice[] = { { 1, &hf_z3950_challenge , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_Challenge }, { 2, &hf_z3950_response , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_Response }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_PromptObject(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, PromptObject_choice, hf_index, ett_z3950_PromptObject, NULL); return offset; } static const ber_sequence_t DRNType_sequence[] = { { &hf_z3950_dRNType_userId, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { &hf_z3950_salt , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { &hf_z3950_randomNumber , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DRNType(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, DRNType_sequence, hf_index, ett_z3950_DRNType); return offset; } static const value_string z3950_DES_RN_Object_vals[] = { { 1, "challenge" }, { 2, "response" }, { 0, NULL } }; static const ber_choice_t DES_RN_Object_choice[] = { { 1, &hf_z3950_dES_RN_Object_challenge, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_DRNType }, { 2, &hf_z3950_rES_RN_Object_response, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_DRNType }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_DES_RN_Object(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, DES_RN_Object_choice, hf_index, ett_z3950_DES_RN_Object, NULL); return offset; } static const ber_sequence_t KRBRequest_sequence[] = { { &hf_z3950_service , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_instance , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_realm , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_KRBRequest(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, KRBRequest_sequence, hf_index, ett_z3950_KRBRequest); return offset; } static const ber_sequence_t KRBResponse_sequence[] = { { &hf_z3950_userid , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_ticket , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_OCTET_STRING }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_KRBResponse(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, KRBResponse_sequence, hf_index, ett_z3950_KRBResponse); return offset; } static const value_string z3950_KRBObject_vals[] = { { 1, "challenge" }, { 2, "response" }, { 0, NULL } }; static const ber_choice_t KRBObject_choice[] = { { 1, &hf_z3950_kRBObject_challenge, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_KRBRequest }, { 2, &hf_z3950_kRBObject_response, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_KRBResponse }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_KRBObject(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, KRBObject_choice, hf_index, ett_z3950_KRBObject, NULL); return offset; } static const ber_sequence_t T_queryExpression_term_sequence[] = { { &hf_z3950_queryTerm , BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_z3950_Term }, { &hf_z3950_termComment , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_queryExpression_term(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, T_queryExpression_term_sequence, hf_index, ett_z3950_T_queryExpression_term); return offset; } static const value_string z3950_QueryExpression_vals[] = { { 1, "term" }, { 2, "query" }, { 0, NULL } }; static const ber_choice_t QueryExpression_choice[] = { { 1, &hf_z3950_queryExpression_term, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_T_queryExpression_term }, { 2, &hf_z3950_query , BER_CLASS_CON, 2, 0, dissect_z3950_Query }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_QueryExpression(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, QueryExpression_choice, hf_index, ett_z3950_QueryExpression, NULL); return offset; } static const value_string z3950_T_databases_vals[] = { { 1, "all" }, { 2, "list" }, { 0, NULL } }; static const ber_choice_t T_databases_choice[] = { { 1, &hf_z3950_all , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_z3950_NULL }, { 2, &hf_z3950_list , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_SEQUENCE_OF_DatabaseName }, { 0, NULL, 0, 0, 0, NULL } }; static int dissect_z3950_T_databases(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_choice(actx, tree, tvb, offset, T_databases_choice, hf_index, ett_z3950_T_databases, NULL); return offset; } static const ber_sequence_t ResultsByDB_item_sequence[] = { { &hf_z3950_databases , BER_CLASS_CON, 1, 0, dissect_z3950_T_databases }, { &hf_z3950_count , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_resultSetName , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_ResultsByDB_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ResultsByDB_item_sequence, hf_index, ett_z3950_ResultsByDB_item); return offset; } static const ber_sequence_t ResultsByDB_sequence_of[1] = { { &hf_z3950_ResultsByDB_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_ResultsByDB_item }, }; static int dissect_z3950_ResultsByDB(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, ResultsByDB_sequence_of, hf_index, ett_z3950_ResultsByDB); return offset; } static const ber_sequence_t SearchInfoReport_item_sequence[] = { { &hf_z3950_subqueryId , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_InternationalString }, { &hf_z3950_fullQuery , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_z3950_BOOLEAN }, { &hf_z3950_subqueryExpression, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_QueryExpression }, { &hf_z3950_subqueryInterpretation, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_QueryExpression }, { &hf_z3950_subqueryRecommendation, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_z3950_QueryExpression }, { &hf_z3950_subqueryCount , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_INTEGER }, { &hf_z3950_subqueryWeight, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_IntUnit }, { &hf_z3950_resultsByDB , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_z3950_ResultsByDB }, { NULL, 0, 0, 0, NULL } }; static int dissect_z3950_SearchInfoReport_item(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, SearchInfoReport_item_sequence, hf_index, ett_z3950_SearchInfoReport_item); return offset; } static const ber_sequence_t SearchInfoReport_sequence_of[1] = { { &hf_z3950_SearchInfoReport_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_z3950_SearchInfoReport_item }, }; static int dissect_z3950_SearchInfoReport(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, SearchInfoReport_sequence_of, hf_index, ett_z3950_SearchInfoReport); return offset; } /*--- PDUs ---*/ static int dissect_OCLC_UserInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_OCLC_UserInformation(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_OCLC_UserInformation_PDU); return offset; } static int dissect_SutrsRecord_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_SutrsRecord(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_SutrsRecord_PDU); return offset; } static int dissect_OPACRecord_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_OPACRecord(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_OPACRecord_PDU); return offset; } static int dissect_DiagnosticFormat_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_DiagnosticFormat(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_DiagnosticFormat_PDU); return offset; } static int dissect_Explain_Record_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_Explain_Record(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_Explain_Record_PDU); return offset; } static int dissect_BriefBib_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_BriefBib(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_BriefBib_PDU); return offset; } static int dissect_GenericRecord_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_GenericRecord(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_GenericRecord_PDU); return offset; } static int dissect_TaskPackage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_TaskPackage(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_TaskPackage_PDU); return offset; } static int dissect_PromptObject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_PromptObject(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_PromptObject_PDU); return offset; } static int dissect_DES_RN_Object_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_DES_RN_Object(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_DES_RN_Object_PDU); return offset; } static int dissect_KRBObject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_KRBObject(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_KRBObject_PDU); return offset; } static int dissect_SearchInfoReport_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); offset = dissect_z3950_SearchInfoReport(FALSE, tvb, offset, &asn1_ctx, tree, hf_z3950_SearchInfoReport_PDU); return offset; } static int dissect_z3950(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { proto_item *z3950_item = NULL; proto_tree *z3950_tree = NULL; int offset = 0; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); /* make entry in the Protocol column on summary display */ col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); /* create the z3950 protocol tree */ z3950_item = proto_tree_add_item(tree, proto_z3950, tvb, 0, -1, ENC_NA); z3950_tree = proto_item_add_subtree(z3950_item, ett_z3950); return dissect_z3950_PDU(FALSE, tvb, offset, &asn1_ctx, z3950_tree, -1); } static guint get_z3950_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { guint plen; guint ber_offset; TRY { /* Skip past identifier */ ber_offset = get_ber_identifier(tvb, offset, NULL, NULL, NULL); ber_offset = get_ber_length(tvb, ber_offset, &plen, NULL); plen += (ber_offset - offset); } CATCH(ReportedBoundsError) { plen = 0; } ENDTRY; return plen; } static int dissect_z3950_segment(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void * data _U_) { /* Min length of 8 assumes 3 for identifer and 5 for length. */ tcp_dissect_pdus(tvb, pinfo, tree, z3950_desegment, 8, get_z3950_pdu_len, dissect_z3950, data); return tvb_captured_length(tvb); } /*--- proto_register_z3950 -------------------------------------------*/ void proto_register_z3950(void) { /* List of fields */ static hf_register_info hf[] = { { &hf_z3950_OCLC_UserInformation_PDU, { "OCLC-UserInformation", "z3950.OCLC_UserInformation_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_SutrsRecord_PDU, { "SutrsRecord", "z3950.SutrsRecord", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_OPACRecord_PDU, { "OPACRecord", "z3950.OPACRecord_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_DiagnosticFormat_PDU, { "DiagnosticFormat", "z3950.DiagnosticFormat", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_Explain_Record_PDU, { "Explain-Record", "z3950.Explain_Record", FT_UINT32, BASE_DEC, VALS(z3950_Explain_Record_vals), 0, NULL, HFILL }}, { &hf_z3950_BriefBib_PDU, { "BriefBib", "z3950.BriefBib_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_GenericRecord_PDU, { "GenericRecord", "z3950.GenericRecord", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_TaskPackage_PDU, { "TaskPackage", "z3950.TaskPackage_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_PromptObject_PDU, { "PromptObject", "z3950.PromptObject", FT_UINT32, BASE_DEC, VALS(z3950_PromptObject_vals), 0, NULL, HFILL }}, { &hf_z3950_DES_RN_Object_PDU, { "DES-RN-Object", "z3950.DES_RN_Object", FT_UINT32, BASE_DEC, VALS(z3950_DES_RN_Object_vals), 0, NULL, HFILL }}, { &hf_z3950_KRBObject_PDU, { "KRBObject", "z3950.KRBObject", FT_UINT32, BASE_DEC, VALS(z3950_KRBObject_vals), 0, NULL, HFILL }}, { &hf_z3950_SearchInfoReport_PDU, { "SearchInfoReport", "z3950.SearchInfoReport", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_initRequest, { "initRequest", "z3950.initRequest_element", FT_NONE, BASE_NONE, NULL, 0, "InitializeRequest", HFILL }}, { &hf_z3950_initResponse, { "initResponse", "z3950.initResponse_element", FT_NONE, BASE_NONE, NULL, 0, "InitializeResponse", HFILL }}, { &hf_z3950_searchRequest, { "searchRequest", "z3950.searchRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_searchResponse, { "searchResponse", "z3950.searchResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_presentRequest, { "presentRequest", "z3950.presentRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_presentResponse, { "presentResponse", "z3950.presentResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_deleteResultSetRequest, { "deleteResultSetRequest", "z3950.deleteResultSetRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_deleteResultSetResponse, { "deleteResultSetResponse", "z3950.deleteResultSetResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_accessControlRequest, { "accessControlRequest", "z3950.accessControlRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_accessControlResponse, { "accessControlResponse", "z3950.accessControlResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_resourceControlRequest, { "resourceControlRequest", "z3950.resourceControlRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_resourceControlResponse, { "resourceControlResponse", "z3950.resourceControlResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_triggerResourceControlRequest, { "triggerResourceControlRequest", "z3950.triggerResourceControlRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_resourceReportRequest, { "resourceReportRequest", "z3950.resourceReportRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_resourceReportResponse, { "resourceReportResponse", "z3950.resourceReportResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_scanRequest, { "scanRequest", "z3950.scanRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_scanResponse, { "scanResponse", "z3950.scanResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sortRequest, { "sortRequest", "z3950.sortRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sortResponse, { "sortResponse", "z3950.sortResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_segmentRequest, { "segmentRequest", "z3950.segmentRequest_element", FT_NONE, BASE_NONE, NULL, 0, "Segment", HFILL }}, { &hf_z3950_extendedServicesRequest, { "extendedServicesRequest", "z3950.extendedServicesRequest_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_extendedServicesResponse, { "extendedServicesResponse", "z3950.extendedServicesResponse_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_close, { "close", "z3950.close_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_referenceId, { "referenceId", "z3950.referenceId", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_protocolVersion, { "protocolVersion", "z3950.protocolVersion", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_options, { "options", "z3950.options", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_preferredMessageSize, { "preferredMessageSize", "z3950.preferredMessageSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_exceptionalRecordSize, { "exceptionalRecordSize", "z3950.exceptionalRecordSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_idAuthentication, { "idAuthentication", "z3950.idAuthentication", FT_UINT32, BASE_DEC, VALS(z3950_T_idAuthentication_vals), 0, NULL, HFILL }}, { &hf_z3950_open, { "open", "z3950.open", FT_STRING, BASE_NONE, NULL, 0, "VisibleString", HFILL }}, { &hf_z3950_idPass, { "idPass", "z3950.idPass_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_groupId, { "groupId", "z3950.groupId", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_userId, { "userId", "z3950.userId", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_password, { "password", "z3950.password", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_anonymous, { "anonymous", "z3950.anonymous_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_other, { "other", "z3950.other_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_implementationId, { "implementationId", "z3950.implementationId", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_implementationName, { "implementationName", "z3950.implementationName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_implementationVersion, { "implementationVersion", "z3950.implementationVersion", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_userInformationField, { "userInformationField", "z3950.userInformationField_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_otherInfo, { "otherInfo", "z3950.otherInfo", FT_UINT32, BASE_DEC, NULL, 0, "OtherInformation", HFILL }}, { &hf_z3950_result, { "result", "z3950.result", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_smallSetUpperBound, { "smallSetUpperBound", "z3950.smallSetUpperBound", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_largeSetLowerBound, { "largeSetLowerBound", "z3950.largeSetLowerBound", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_mediumSetPresentNumber, { "mediumSetPresentNumber", "z3950.mediumSetPresentNumber", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_replaceIndicator, { "replaceIndicator", "z3950.replaceIndicator", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_resultSetName, { "resultSetName", "z3950.resultSetName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_databaseNames, { "databaseNames", "z3950.databaseNames", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DatabaseName", HFILL }}, { &hf_z3950_databaseNames_item, { "DatabaseName", "z3950.DatabaseName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_smallSetElementSetNames, { "smallSetElementSetNames", "z3950.smallSetElementSetNames", FT_UINT32, BASE_DEC, VALS(z3950_ElementSetNames_vals), 0, "ElementSetNames", HFILL }}, { &hf_z3950_mediumSetElementSetNames, { "mediumSetElementSetNames", "z3950.mediumSetElementSetNames", FT_UINT32, BASE_DEC, VALS(z3950_ElementSetNames_vals), 0, "ElementSetNames", HFILL }}, { &hf_z3950_preferredRecordSyntax, { "preferredRecordSyntax", "z3950.preferredRecordSyntax", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_query, { "query", "z3950.query", FT_UINT32, BASE_DEC, VALS(z3950_Query_vals), 0, NULL, HFILL }}, { &hf_z3950_additionalSearchInfo, { "additionalSearchInfo", "z3950.additionalSearchInfo", FT_UINT32, BASE_DEC, NULL, 0, "OtherInformation", HFILL }}, { &hf_z3950_type_0, { "type-0", "z3950.type_0_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_type_1, { "type-1", "z3950.type_1_element", FT_NONE, BASE_NONE, NULL, 0, "RPNQuery", HFILL }}, { &hf_z3950_type_2, { "type-2", "z3950.type_2", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_type_100, { "type-100", "z3950.type_100", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_type_101, { "type-101", "z3950.type_101_element", FT_NONE, BASE_NONE, NULL, 0, "RPNQuery", HFILL }}, { &hf_z3950_type_102, { "type-102", "z3950.type_102", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_attributeSet, { "attributeSet", "z3950.attributeSet", FT_OID, BASE_NONE, NULL, 0, "AttributeSetId", HFILL }}, { &hf_z3950_rpn, { "rpn", "z3950.rpn", FT_UINT32, BASE_DEC, VALS(z3950_RPNStructure_vals), 0, "RPNStructure", HFILL }}, { &hf_z3950_operandRpnOp, { "op", "z3950.op", FT_UINT32, BASE_DEC, VALS(z3950_Operand_vals), 0, "Operand", HFILL }}, { &hf_z3950_rpnRpnOp, { "rpnRpnOp", "z3950.rpnRpnOp_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_rpn1, { "rpn1", "z3950.rpn1", FT_UINT32, BASE_DEC, VALS(z3950_RPNStructure_vals), 0, "RPNStructure", HFILL }}, { &hf_z3950_rpn2, { "rpn2", "z3950.rpn2", FT_UINT32, BASE_DEC, VALS(z3950_RPNStructure_vals), 0, "RPNStructure", HFILL }}, { &hf_z3950_operatorRpnOp, { "op", "z3950.op", FT_UINT32, BASE_DEC, VALS(z3950_Operator_U_vals), 0, "Operator", HFILL }}, { &hf_z3950_attrTerm, { "attrTerm", "z3950.attrTerm_element", FT_NONE, BASE_NONE, NULL, 0, "AttributesPlusTerm", HFILL }}, { &hf_z3950_resultSet, { "resultSet", "z3950.resultSet", FT_STRING, BASE_NONE, NULL, 0, "ResultSetId", HFILL }}, { &hf_z3950_resultAttr, { "resultAttr", "z3950.resultAttr_element", FT_NONE, BASE_NONE, NULL, 0, "ResultSetPlusAttributes", HFILL }}, { &hf_z3950_attributes, { "attributes", "z3950.attributes", FT_UINT32, BASE_DEC, NULL, 0, "AttributeList", HFILL }}, { &hf_z3950_term, { "term", "z3950.term", FT_UINT32, BASE_DEC, VALS(z3950_Term_vals), 0, NULL, HFILL }}, { &hf_z3950_attributeList_item, { "AttributeElement", "z3950.AttributeElement_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_general, { "general", "z3950.general", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_numeric, { "numeric", "z3950.numeric", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_characterString, { "characterString", "z3950.characterString", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_oid, { "oid", "z3950.oid", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_dateTime, { "dateTime", "z3950.dateTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_z3950_external, { "external", "z3950.external_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_integerAndUnit, { "integerAndUnit", "z3950.integerAndUnit_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_null, { "null", "z3950.null_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_and, { "and", "z3950.and_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_or, { "or", "z3950.or_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_and_not, { "and-not", "z3950.and_not_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_prox, { "prox", "z3950.prox_element", FT_NONE, BASE_NONE, NULL, 0, "ProximityOperator", HFILL }}, { &hf_z3950_attributeElement_attributeType, { "attributeType", "z3950.attributeType", FT_INT32, BASE_DEC, NULL, 0, "T_attributeElement_attributeType", HFILL }}, { &hf_z3950_attributeValue, { "attributeValue", "z3950.attributeValue", FT_UINT32, BASE_DEC, VALS(z3950_T_attributeValue_vals), 0, NULL, HFILL }}, { &hf_z3950_attributeValue_numeric, { "numeric", "z3950.numeric", FT_INT32, BASE_DEC, NULL, 0, "T_attributeValue_numeric", HFILL }}, { &hf_z3950_attributeValue_complex, { "complex", "z3950.complex_element", FT_NONE, BASE_NONE, NULL, 0, "T_attributeValue_complex", HFILL }}, { &hf_z3950_attributeValue_complex_list, { "list", "z3950.list", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_StringOrNumeric", HFILL }}, { &hf_z3950_attributeValue_complex_list_item, { "StringOrNumeric", "z3950.StringOrNumeric", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, NULL, HFILL }}, { &hf_z3950_semanticAction, { "semanticAction", "z3950.semanticAction", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_semanticAction_item, { "semanticAction item", "z3950.semanticAction_item", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_exclusion, { "exclusion", "z3950.exclusion", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_distance, { "distance", "z3950.distance", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_ordered, { "ordered", "z3950.ordered", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_relationType, { "relationType", "z3950.relationType", FT_INT32, BASE_DEC, VALS(z3950_T_relationType_vals), 0, NULL, HFILL }}, { &hf_z3950_proximityUnitCode, { "proximityUnitCode", "z3950.proximityUnitCode", FT_UINT32, BASE_DEC, VALS(z3950_T_proximityUnitCode_vals), 0, NULL, HFILL }}, { &hf_z3950_known, { "known", "z3950.known", FT_INT32, BASE_DEC, VALS(z3950_KnownProximityUnit_vals), 0, "KnownProximityUnit", HFILL }}, { &hf_z3950_private, { "private", "z3950.private", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_resultCount, { "resultCount", "z3950.resultCount", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_numberOfRecordsReturned, { "numberOfRecordsReturned", "z3950.numberOfRecordsReturned", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_nextResultSetPosition, { "nextResultSetPosition", "z3950.nextResultSetPosition", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_searchStatus, { "searchStatus", "z3950.searchStatus", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_search_resultSetStatus, { "resultSetStatus", "z3950.resultSetStatus", FT_INT32, BASE_DEC, VALS(z3950_T_search_resultSetStatus_vals), 0, "T_search_resultSetStatus", HFILL }}, { &hf_z3950_presentStatus, { "presentStatus", "z3950.presentStatus", FT_INT32, BASE_DEC, VALS(z3950_PresentStatus_U_vals), 0, NULL, HFILL }}, { &hf_z3950_records, { "records", "z3950.records", FT_UINT32, BASE_DEC, VALS(z3950_Records_vals), 0, NULL, HFILL }}, { &hf_z3950_resultSetId, { "resultSetId", "z3950.resultSetId", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_resultSetStartPoint, { "resultSetStartPoint", "z3950.resultSetStartPoint", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_numberOfRecordsRequested, { "numberOfRecordsRequested", "z3950.numberOfRecordsRequested", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_additionalRanges, { "additionalRanges", "z3950.additionalRanges", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Range", HFILL }}, { &hf_z3950_additionalRanges_item, { "Range", "z3950.Range_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_recordComposition, { "recordComposition", "z3950.recordComposition", FT_UINT32, BASE_DEC, VALS(z3950_T_recordComposition_vals), 0, NULL, HFILL }}, { &hf_z3950_simple, { "simple", "z3950.simple", FT_UINT32, BASE_DEC, VALS(z3950_ElementSetNames_vals), 0, "ElementSetNames", HFILL }}, { &hf_z3950_recordComposition_complex, { "complex", "z3950.complex_element", FT_NONE, BASE_NONE, NULL, 0, "CompSpec", HFILL }}, { &hf_z3950_maxSegmentCount, { "maxSegmentCount", "z3950.maxSegmentCount", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_maxRecordSize, { "maxRecordSize", "z3950.maxRecordSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_maxSegmentSize, { "maxSegmentSize", "z3950.maxSegmentSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_segmentRecords, { "segmentRecords", "z3950.segmentRecords", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_NamePlusRecord", HFILL }}, { &hf_z3950_segmentRecords_item, { "NamePlusRecord", "z3950.NamePlusRecord_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_responseRecords, { "responseRecords", "z3950.responseRecords", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_NamePlusRecord", HFILL }}, { &hf_z3950_responseRecords_item, { "NamePlusRecord", "z3950.NamePlusRecord_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_nonSurrogateDiagnostic, { "nonSurrogateDiagnostic", "z3950.nonSurrogateDiagnostic_element", FT_NONE, BASE_NONE, NULL, 0, "DefaultDiagFormat", HFILL }}, { &hf_z3950_multipleNonSurDiagnostics, { "multipleNonSurDiagnostics", "z3950.multipleNonSurDiagnostics", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DiagRec", HFILL }}, { &hf_z3950_multipleNonSurDiagnostics_item, { "DiagRec", "z3950.DiagRec", FT_UINT32, BASE_DEC, VALS(z3950_DiagRec_vals), 0, NULL, HFILL }}, { &hf_z3950_namePlusRecord_name, { "name", "z3950.name", FT_STRING, BASE_NONE, NULL, 0, "DatabaseName", HFILL }}, { &hf_z3950_record, { "record", "z3950.record", FT_UINT32, BASE_DEC, VALS(z3950_T_record_vals), 0, NULL, HFILL }}, { &hf_z3950_retrievalRecord, { "retrievalRecord", "z3950.retrievalRecord_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_surrogateDiagnostic, { "surrogateDiagnostic", "z3950.surrogateDiagnostic", FT_UINT32, BASE_DEC, VALS(z3950_DiagRec_vals), 0, "DiagRec", HFILL }}, { &hf_z3950_startingFragment, { "startingFragment", "z3950.startingFragment", FT_UINT32, BASE_DEC, VALS(z3950_FragmentSyntax_vals), 0, "FragmentSyntax", HFILL }}, { &hf_z3950_intermediateFragment, { "intermediateFragment", "z3950.intermediateFragment", FT_UINT32, BASE_DEC, VALS(z3950_FragmentSyntax_vals), 0, "FragmentSyntax", HFILL }}, { &hf_z3950_finalFragment, { "finalFragment", "z3950.finalFragment", FT_UINT32, BASE_DEC, VALS(z3950_FragmentSyntax_vals), 0, "FragmentSyntax", HFILL }}, { &hf_z3950_externallyTagged, { "externallyTagged", "z3950.externallyTagged_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_notExternallyTagged, { "notExternallyTagged", "z3950.notExternallyTagged", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_defaultFormat, { "defaultFormat", "z3950.defaultFormat_element", FT_NONE, BASE_NONE, NULL, 0, "DefaultDiagFormat", HFILL }}, { &hf_z3950_externallyDefined, { "externallyDefined", "z3950.externallyDefined_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_diagnosticSetId, { "diagnosticSetId", "z3950.diagnosticSetId", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_condition, { "condition", "z3950.condition", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_addinfo, { "addinfo", "z3950.addinfo", FT_UINT32, BASE_DEC, VALS(z3950_T_addinfo_vals), 0, NULL, HFILL }}, { &hf_z3950_v2Addinfo, { "v2Addinfo", "z3950.v2Addinfo", FT_STRING, BASE_NONE, NULL, 0, "VisibleString", HFILL }}, { &hf_z3950_v3Addinfo, { "v3Addinfo", "z3950.v3Addinfo", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_startingPosition, { "startingPosition", "z3950.startingPosition", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_numberOfRecords, { "numberOfRecords", "z3950.numberOfRecords", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_genericElementSetName, { "genericElementSetName", "z3950.genericElementSetName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_databaseSpecific, { "databaseSpecific", "z3950.databaseSpecific", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_databaseSpecific_item, { "databaseSpecific item", "z3950.databaseSpecific_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_dbName, { "dbName", "z3950.dbName", FT_STRING, BASE_NONE, NULL, 0, "DatabaseName", HFILL }}, { &hf_z3950_esn, { "esn", "z3950.esn", FT_STRING, BASE_NONE, NULL, 0, "ElementSetName", HFILL }}, { &hf_z3950_selectAlternativeSyntax, { "selectAlternativeSyntax", "z3950.selectAlternativeSyntax", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_compSpec_generic, { "generic", "z3950.generic_element", FT_NONE, BASE_NONE, NULL, 0, "Specification", HFILL }}, { &hf_z3950_dbSpecific, { "dbSpecific", "z3950.dbSpecific", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_dbSpecific_item, { "dbSpecific item", "z3950.dbSpecific_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_db, { "db", "z3950.db", FT_STRING, BASE_NONE, NULL, 0, "DatabaseName", HFILL }}, { &hf_z3950_spec, { "spec", "z3950.spec_element", FT_NONE, BASE_NONE, NULL, 0, "Specification", HFILL }}, { &hf_z3950_compSpec_recordSyntax, { "recordSyntax", "z3950.recordSyntax", FT_UINT32, BASE_DEC, NULL, 0, "T_compSpec_recordSyntax", HFILL }}, { &hf_z3950_compSpec_recordSyntax_item, { "recordSyntax item", "z3950.recordSyntax_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_schema, { "schema", "z3950.schema", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_specification_elementSpec, { "elementSpec", "z3950.elementSpec", FT_UINT32, BASE_DEC, VALS(z3950_T_specification_elementSpec_vals), 0, "T_specification_elementSpec", HFILL }}, { &hf_z3950_elementSetName, { "elementSetName", "z3950.elementSetName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_externalEspec, { "externalEspec", "z3950.externalEspec_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_deleteFunction, { "deleteFunction", "z3950.deleteFunction", FT_INT32, BASE_DEC, VALS(z3950_T_deleteFunction_vals), 0, NULL, HFILL }}, { &hf_z3950_resultSetList, { "resultSetList", "z3950.resultSetList", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ResultSetId", HFILL }}, { &hf_z3950_resultSetList_item, { "ResultSetId", "z3950.ResultSetId", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_deleteOperationStatus, { "deleteOperationStatus", "z3950.deleteOperationStatus", FT_INT32, BASE_DEC, VALS(z3950_DeleteSetStatus_U_vals), 0, "DeleteSetStatus", HFILL }}, { &hf_z3950_deleteListStatuses, { "deleteListStatuses", "z3950.deleteListStatuses", FT_UINT32, BASE_DEC, NULL, 0, "ListStatuses", HFILL }}, { &hf_z3950_numberNotDeleted, { "numberNotDeleted", "z3950.numberNotDeleted", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_bulkStatuses, { "bulkStatuses", "z3950.bulkStatuses", FT_UINT32, BASE_DEC, NULL, 0, "ListStatuses", HFILL }}, { &hf_z3950_deleteMessage, { "deleteMessage", "z3950.deleteMessage", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_ListStatuses_item, { "ListStatuses item", "z3950.ListStatuses_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_listStatuses_id, { "id", "z3950.id", FT_STRING, BASE_NONE, NULL, 0, "ResultSetId", HFILL }}, { &hf_z3950_status, { "status", "z3950.status", FT_INT32, BASE_DEC, VALS(z3950_DeleteSetStatus_U_vals), 0, "DeleteSetStatus", HFILL }}, { &hf_z3950_securityChallenge, { "securityChallenge", "z3950.securityChallenge", FT_UINT32, BASE_DEC, VALS(z3950_T_securityChallenge_vals), 0, NULL, HFILL }}, { &hf_z3950_simpleForm, { "simpleForm", "z3950.simpleForm", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_securityChallengeResponse, { "securityChallengeResponse", "z3950.securityChallengeResponse", FT_UINT32, BASE_DEC, VALS(z3950_T_securityChallengeResponse_vals), 0, NULL, HFILL }}, { &hf_z3950_diagnostic, { "diagnostic", "z3950.diagnostic", FT_UINT32, BASE_DEC, VALS(z3950_DiagRec_vals), 0, "DiagRec", HFILL }}, { &hf_z3950_suspendedFlag, { "suspendedFlag", "z3950.suspendedFlag", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_resourceReport, { "resourceReport", "z3950.resourceReport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_partialResultsAvailable, { "partialResultsAvailable", "z3950.partialResultsAvailable", FT_INT32, BASE_DEC, VALS(z3950_T_partialResultsAvailable_vals), 0, NULL, HFILL }}, { &hf_z3950_resourceControlRequest_responseRequired, { "responseRequired", "z3950.responseRequired", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_triggeredRequestFlag, { "triggeredRequestFlag", "z3950.triggeredRequestFlag", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_continueFlag, { "continueFlag", "z3950.continueFlag", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_resultSetWanted, { "resultSetWanted", "z3950.resultSetWanted", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_requestedAction, { "requestedAction", "z3950.requestedAction", FT_INT32, BASE_DEC, VALS(z3950_T_requestedAction_vals), 0, NULL, HFILL }}, { &hf_z3950_prefResourceReportFormat, { "prefResourceReportFormat", "z3950.prefResourceReportFormat", FT_OID, BASE_NONE, NULL, 0, "ResourceReportId", HFILL }}, { &hf_z3950_opId, { "opId", "z3950.opId", FT_BYTES, BASE_NONE, NULL, 0, "ReferenceId", HFILL }}, { &hf_z3950_resourceReportStatus, { "resourceReportStatus", "z3950.resourceReportStatus", FT_INT32, BASE_DEC, VALS(z3950_T_resourceReportStatus_vals), 0, NULL, HFILL }}, { &hf_z3950_termListAndStartPoint, { "termListAndStartPoint", "z3950.termListAndStartPoint_element", FT_NONE, BASE_NONE, NULL, 0, "AttributesPlusTerm", HFILL }}, { &hf_z3950_stepSize, { "stepSize", "z3950.stepSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_numberOfTermsRequested, { "numberOfTermsRequested", "z3950.numberOfTermsRequested", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_preferredPositionInResponse, { "preferredPositionInResponse", "z3950.preferredPositionInResponse", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_scanStatus, { "scanStatus", "z3950.scanStatus", FT_INT32, BASE_DEC, VALS(z3950_T_scanStatus_vals), 0, NULL, HFILL }}, { &hf_z3950_numberOfEntriesReturned, { "numberOfEntriesReturned", "z3950.numberOfEntriesReturned", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_positionOfTerm, { "positionOfTerm", "z3950.positionOfTerm", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_scanResponse_entries, { "entries", "z3950.entries_element", FT_NONE, BASE_NONE, NULL, 0, "ListEntries", HFILL }}, { &hf_z3950_listEntries_entries, { "entries", "z3950.entries", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Entry", HFILL }}, { &hf_z3950_listEntries_entries_item, { "Entry", "z3950.Entry", FT_UINT32, BASE_DEC, VALS(z3950_Entry_vals), 0, NULL, HFILL }}, { &hf_z3950_nonsurrogateDiagnostics, { "nonsurrogateDiagnostics", "z3950.nonsurrogateDiagnostics", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DiagRec", HFILL }}, { &hf_z3950_nonsurrogateDiagnostics_item, { "DiagRec", "z3950.DiagRec", FT_UINT32, BASE_DEC, VALS(z3950_DiagRec_vals), 0, NULL, HFILL }}, { &hf_z3950_termInfo, { "termInfo", "z3950.termInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_displayTerm, { "displayTerm", "z3950.displayTerm", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_suggestedAttributes, { "suggestedAttributes", "z3950.suggestedAttributes", FT_UINT32, BASE_DEC, NULL, 0, "AttributeList", HFILL }}, { &hf_z3950_alternativeTerm, { "alternativeTerm", "z3950.alternativeTerm", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributesPlusTerm", HFILL }}, { &hf_z3950_alternativeTerm_item, { "AttributesPlusTerm", "z3950.AttributesPlusTerm_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_globalOccurrences, { "globalOccurrences", "z3950.globalOccurrences", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_byAttributes, { "byAttributes", "z3950.byAttributes", FT_UINT32, BASE_DEC, NULL, 0, "OccurrenceByAttributes", HFILL }}, { &hf_z3950_otherTermInfo, { "otherTermInfo", "z3950.otherTermInfo", FT_UINT32, BASE_DEC, NULL, 0, "OtherInformation", HFILL }}, { &hf_z3950_OccurrenceByAttributes_item, { "OccurrenceByAttributes item", "z3950.OccurrenceByAttributes_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_occurrences, { "occurrences", "z3950.occurrences", FT_UINT32, BASE_DEC, VALS(z3950_T_occurrences_vals), 0, NULL, HFILL }}, { &hf_z3950_global, { "global", "z3950.global", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_byDatabase, { "byDatabase", "z3950.byDatabase", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_byDatabase_item, { "byDatabase item", "z3950.byDatabase_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_num, { "num", "z3950.num", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_otherDbInfo, { "otherDbInfo", "z3950.otherDbInfo", FT_UINT32, BASE_DEC, NULL, 0, "OtherInformation", HFILL }}, { &hf_z3950_otherOccurInfo, { "otherOccurInfo", "z3950.otherOccurInfo", FT_UINT32, BASE_DEC, NULL, 0, "OtherInformation", HFILL }}, { &hf_z3950_inputResultSetNames, { "inputResultSetNames", "z3950.inputResultSetNames", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_inputResultSetNames_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sortedResultSetName, { "sortedResultSetName", "z3950.sortedResultSetName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_sortSequence, { "sortSequence", "z3950.sortSequence", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_SortKeySpec", HFILL }}, { &hf_z3950_sortSequence_item, { "SortKeySpec", "z3950.SortKeySpec_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sortStatus, { "sortStatus", "z3950.sortStatus", FT_INT32, BASE_DEC, VALS(z3950_T_sortStatus_vals), 0, NULL, HFILL }}, { &hf_z3950_sort_resultSetStatus, { "resultSetStatus", "z3950.resultSetStatus", FT_INT32, BASE_DEC, VALS(z3950_T_sort_resultSetStatus_vals), 0, "T_sort_resultSetStatus", HFILL }}, { &hf_z3950_diagnostics, { "diagnostics", "z3950.diagnostics", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DiagRec", HFILL }}, { &hf_z3950_diagnostics_item, { "DiagRec", "z3950.DiagRec", FT_UINT32, BASE_DEC, VALS(z3950_DiagRec_vals), 0, NULL, HFILL }}, { &hf_z3950_sortElement, { "sortElement", "z3950.sortElement", FT_UINT32, BASE_DEC, VALS(z3950_SortElement_vals), 0, NULL, HFILL }}, { &hf_z3950_sortRelation, { "sortRelation", "z3950.sortRelation", FT_INT32, BASE_DEC, VALS(z3950_T_sortRelation_vals), 0, NULL, HFILL }}, { &hf_z3950_caseSensitivity, { "caseSensitivity", "z3950.caseSensitivity", FT_INT32, BASE_DEC, VALS(z3950_T_caseSensitivity_vals), 0, NULL, HFILL }}, { &hf_z3950_missingValueAction, { "missingValueAction", "z3950.missingValueAction", FT_UINT32, BASE_DEC, VALS(z3950_T_missingValueAction_vals), 0, NULL, HFILL }}, { &hf_z3950_abort, { "abort", "z3950.abort_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_missingValueData, { "missingValueData", "z3950.missingValueData", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_sortElement_generic, { "generic", "z3950.generic", FT_UINT32, BASE_DEC, VALS(z3950_SortKey_vals), 0, "SortKey", HFILL }}, { &hf_z3950_datbaseSpecific, { "datbaseSpecific", "z3950.datbaseSpecific", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_datbaseSpecific_item, { "datbaseSpecific item", "z3950.datbaseSpecific_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_databaseName, { "databaseName", "z3950.databaseName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_dbSort, { "dbSort", "z3950.dbSort", FT_UINT32, BASE_DEC, VALS(z3950_SortKey_vals), 0, "SortKey", HFILL }}, { &hf_z3950_sortfield, { "sortfield", "z3950.sortfield", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_sortKey_elementSpec, { "elementSpec", "z3950.elementSpec_element", FT_NONE, BASE_NONE, NULL, 0, "Specification", HFILL }}, { &hf_z3950_sortAttributes, { "sortAttributes", "z3950.sortAttributes_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sortAttributes_id, { "id", "z3950.id", FT_OID, BASE_NONE, NULL, 0, "AttributeSetId", HFILL }}, { &hf_z3950_sortAttributes_list, { "list", "z3950.list", FT_UINT32, BASE_DEC, NULL, 0, "AttributeList", HFILL }}, { &hf_z3950_function, { "function", "z3950.function", FT_INT32, BASE_DEC, VALS(z3950_T_function_vals), 0, NULL, HFILL }}, { &hf_z3950_packageType, { "packageType", "z3950.packageType", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_packageName, { "packageName", "z3950.packageName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_retentionTime, { "retentionTime", "z3950.retentionTime_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_permissions, { "permissions", "z3950.permissions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_extendedServicesRequest_description, { "description", "z3950.description", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_taskSpecificParameters, { "taskSpecificParameters", "z3950.taskSpecificParameters_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_waitAction, { "waitAction", "z3950.waitAction", FT_INT32, BASE_DEC, VALS(z3950_T_waitAction_vals), 0, NULL, HFILL }}, { &hf_z3950_elements, { "elements", "z3950.elements", FT_STRING, BASE_NONE, NULL, 0, "ElementSetName", HFILL }}, { &hf_z3950_operationStatus, { "operationStatus", "z3950.operationStatus", FT_INT32, BASE_DEC, VALS(z3950_T_operationStatus_vals), 0, NULL, HFILL }}, { &hf_z3950_taskPackage, { "taskPackage", "z3950.taskPackage_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_Permissions_item, { "Permissions item", "z3950.Permissions_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_allowableFunctions, { "allowableFunctions", "z3950.allowableFunctions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_allowableFunctions_item, { "allowableFunctions item", "z3950.allowableFunctions_item", FT_INT32, BASE_DEC, VALS(z3950_T_allowableFunctions_item_vals), 0, NULL, HFILL }}, { &hf_z3950_closeReason, { "closeReason", "z3950.closeReason", FT_INT32, BASE_DEC, VALS(z3950_CloseReason_U_vals), 0, NULL, HFILL }}, { &hf_z3950_diagnosticInformation, { "diagnosticInformation", "z3950.diagnosticInformation", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_resourceReportFormat, { "resourceReportFormat", "z3950.resourceReportFormat", FT_OID, BASE_NONE, NULL, 0, "ResourceReportId", HFILL }}, { &hf_z3950_otherInformation_item, { "_untag item", "z3950._untag_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_category, { "category", "z3950.category_element", FT_NONE, BASE_NONE, NULL, 0, "InfoCategory", HFILL }}, { &hf_z3950_information, { "information", "z3950.information", FT_UINT32, BASE_DEC, VALS(z3950_T_information_vals), 0, NULL, HFILL }}, { &hf_z3950_characterInfo, { "characterInfo", "z3950.characterInfo", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_binaryInfo, { "binaryInfo", "z3950.binaryInfo", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_externallyDefinedInfo, { "externallyDefinedInfo", "z3950.externallyDefinedInfo_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_categoryTypeId, { "categoryTypeId", "z3950.categoryTypeId", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_categoryValue, { "categoryValue", "z3950.categoryValue", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_value, { "value", "z3950.value", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_unitUsed, { "unitUsed", "z3950.unitUsed_element", FT_NONE, BASE_NONE, NULL, 0, "Unit", HFILL }}, { &hf_z3950_unitSystem, { "unitSystem", "z3950.unitSystem", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_unitType, { "unitType", "z3950.unitType", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, "StringOrNumeric", HFILL }}, { &hf_z3950_unit, { "unit", "z3950.unit", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, "StringOrNumeric", HFILL }}, { &hf_z3950_scaleFactor, { "scaleFactor", "z3950.scaleFactor", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_string, { "string", "z3950.string", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_motd, { "motd", "z3950.motd", FT_STRING, BASE_NONE, NULL, 0, "VisibleString", HFILL }}, { &hf_z3950_dblist, { "dblist", "z3950.dblist", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DBName", HFILL }}, { &hf_z3950_dblist_item, { "DBName", "z3950.DBName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_failReason, { "failReason", "z3950.failReason", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_oCLC_UserInformation_text, { "text", "z3950.text", FT_STRING, BASE_NONE, NULL, 0, "VisibleString", HFILL }}, { &hf_z3950_bibliographicRecord, { "bibliographicRecord", "z3950.bibliographicRecord_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_holdingsData, { "holdingsData", "z3950.holdingsData", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_HoldingsRecord", HFILL }}, { &hf_z3950_holdingsData_item, { "HoldingsRecord", "z3950.HoldingsRecord", FT_UINT32, BASE_DEC, VALS(z3950_HoldingsRecord_vals), 0, NULL, HFILL }}, { &hf_z3950_marcHoldingsRecord, { "marcHoldingsRecord", "z3950.marcHoldingsRecord_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_holdingsAndCirc, { "holdingsAndCirc", "z3950.holdingsAndCirc_element", FT_NONE, BASE_NONE, NULL, 0, "HoldingsAndCircData", HFILL }}, { &hf_z3950_typeOfRecord, { "typeOfRecord", "z3950.typeOfRecord", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_encodingLevel, { "encodingLevel", "z3950.encodingLevel", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_format, { "format", "z3950.format", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_receiptAcqStatus, { "receiptAcqStatus", "z3950.receiptAcqStatus", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_generalRetention, { "generalRetention", "z3950.generalRetention", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_completeness, { "completeness", "z3950.completeness", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_dateOfReport, { "dateOfReport", "z3950.dateOfReport", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_nucCode, { "nucCode", "z3950.nucCode", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_localLocation, { "localLocation", "z3950.localLocation", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_shelvingLocation, { "shelvingLocation", "z3950.shelvingLocation", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_callNumber, { "callNumber", "z3950.callNumber", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_shelvingData, { "shelvingData", "z3950.shelvingData", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_copyNumber, { "copyNumber", "z3950.copyNumber", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_publicNote, { "publicNote", "z3950.publicNote", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_reproductionNote, { "reproductionNote", "z3950.reproductionNote", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_termsUseRepro, { "termsUseRepro", "z3950.termsUseRepro", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_enumAndChron, { "enumAndChron", "z3950.enumAndChron", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_volumes, { "volumes", "z3950.volumes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Volume", HFILL }}, { &hf_z3950_volumes_item, { "Volume", "z3950.Volume_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_circulationData, { "circulationData", "z3950.circulationData", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_CircRecord", HFILL }}, { &hf_z3950_circulationData_item, { "CircRecord", "z3950.CircRecord_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_enumeration, { "enumeration", "z3950.enumeration", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_chronology, { "chronology", "z3950.chronology", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_availableNow, { "availableNow", "z3950.availableNow", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_availablityDate, { "availablityDate", "z3950.availablityDate", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_availableThru, { "availableThru", "z3950.availableThru", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_circRecord_restrictions, { "restrictions", "z3950.restrictions", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_itemId, { "itemId", "z3950.itemId", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_renewable, { "renewable", "z3950.renewable", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_onHold, { "onHold", "z3950.onHold", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_midspine, { "midspine", "z3950.midspine", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_temporaryLocation, { "temporaryLocation", "z3950.temporaryLocation", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_DiagnosticFormat_item, { "DiagnosticFormat item", "z3950.DiagnosticFormat_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagnosticFormat_item_diagnostic, { "diagnostic", "z3950.diagnostic", FT_UINT32, BASE_DEC, VALS(z3950_T_diagnosticFormat_item_diagnostic_vals), 0, "T_diagnosticFormat_item_diagnostic", HFILL }}, { &hf_z3950_defaultDiagRec, { "defaultDiagRec", "z3950.defaultDiagRec_element", FT_NONE, BASE_NONE, NULL, 0, "DefaultDiagFormat", HFILL }}, { &hf_z3950_explicitDiagnostic, { "explicitDiagnostic", "z3950.explicitDiagnostic", FT_UINT32, BASE_DEC, VALS(z3950_DiagFormat_vals), 0, "DiagFormat", HFILL }}, { &hf_z3950_message, { "message", "z3950.message", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_tooMany, { "tooMany", "z3950.tooMany_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_tooManyWhat, { "tooManyWhat", "z3950.tooManyWhat", FT_INT32, BASE_DEC, VALS(z3950_T_tooManyWhat_vals), 0, NULL, HFILL }}, { &hf_z3950_max, { "max", "z3950.max", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_badSpec, { "badSpec", "z3950.badSpec_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_goodOnes, { "goodOnes", "z3950.goodOnes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Specification", HFILL }}, { &hf_z3950_goodOnes_item, { "Specification", "z3950.Specification_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_dbUnavail, { "dbUnavail", "z3950.dbUnavail_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_why, { "why", "z3950.why_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_reasonCode, { "reasonCode", "z3950.reasonCode", FT_INT32, BASE_DEC, VALS(z3950_T_reasonCode_vals), 0, NULL, HFILL }}, { &hf_z3950_unSupOp, { "unSupOp", "z3950.unSupOp", FT_INT32, BASE_DEC, VALS(z3950_T_unSupOp_vals), 0, NULL, HFILL }}, { &hf_z3950_attribute, { "attribute", "z3950.attribute_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_id, { "id", "z3950.id", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_type, { "type", "z3950.type", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_attCombo, { "attCombo", "z3950.attCombo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_unsupportedCombination, { "unsupportedCombination", "z3950.unsupportedCombination", FT_UINT32, BASE_DEC, NULL, 0, "AttributeList", HFILL }}, { &hf_z3950_recommendedAlternatives, { "recommendedAlternatives", "z3950.recommendedAlternatives", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeList", HFILL }}, { &hf_z3950_recommendedAlternatives_item, { "AttributeList", "z3950.AttributeList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagFormat_term, { "term", "z3950.term_element", FT_NONE, BASE_NONE, NULL, 0, "T_diagFormat_term", HFILL }}, { &hf_z3950_problem, { "problem", "z3950.problem", FT_INT32, BASE_DEC, VALS(z3950_T_problem_vals), 0, NULL, HFILL }}, { &hf_z3950_diagFormat_proximity, { "proximity", "z3950.proximity", FT_UINT32, BASE_DEC, VALS(z3950_T_diagFormat_proximity_vals), 0, "T_diagFormat_proximity", HFILL }}, { &hf_z3950_resultSets, { "resultSets", "z3950.resultSets_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_badSet, { "badSet", "z3950.badSet", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_relation, { "relation", "z3950.relation", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_diagFormat_proximity_unit, { "unit", "z3950.unit", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_diagFormat_proximity_ordered, { "ordered", "z3950.ordered_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagFormat_proximity_exclusion, { "exclusion", "z3950.exclusion_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_scan, { "scan", "z3950.scan", FT_UINT32, BASE_DEC, VALS(z3950_T_scan_vals), 0, NULL, HFILL }}, { &hf_z3950_nonZeroStepSize, { "nonZeroStepSize", "z3950.nonZeroStepSize_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_specifiedStepSize, { "specifiedStepSize", "z3950.specifiedStepSize_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_termList1, { "termList1", "z3950.termList1_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_termList2, { "termList2", "z3950.termList2", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeList", HFILL }}, { &hf_z3950_termList2_item, { "AttributeList", "z3950.AttributeList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_posInResponse, { "posInResponse", "z3950.posInResponse", FT_INT32, BASE_DEC, VALS(z3950_T_posInResponse_vals), 0, NULL, HFILL }}, { &hf_z3950_resources, { "resources", "z3950.resources_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_endOfList, { "endOfList", "z3950.endOfList_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sort, { "sort", "z3950.sort", FT_UINT32, BASE_DEC, VALS(z3950_T_sort_vals), 0, NULL, HFILL }}, { &hf_z3950_sequence, { "sequence", "z3950.sequence_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_noRsName, { "noRsName", "z3950.noRsName_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagFormat_sort_tooMany, { "tooMany", "z3950.tooMany", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_incompatible, { "incompatible", "z3950.incompatible_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_generic, { "generic", "z3950.generic_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagFormat_sort_dbSpecific, { "dbSpecific", "z3950.dbSpecific_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_key, { "key", "z3950.key", FT_INT32, BASE_DEC, VALS(z3950_T_key_vals), 0, NULL, HFILL }}, { &hf_z3950_action, { "action", "z3950.action_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_illegal, { "illegal", "z3950.illegal", FT_INT32, BASE_DEC, VALS(z3950_T_illegal_vals), 0, NULL, HFILL }}, { &hf_z3950_inputTooLarge, { "inputTooLarge", "z3950.inputTooLarge", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_inputTooLarge_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_aggregateTooLarge, { "aggregateTooLarge", "z3950.aggregateTooLarge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_segmentation, { "segmentation", "z3950.segmentation", FT_UINT32, BASE_DEC, VALS(z3950_T_segmentation_vals), 0, NULL, HFILL }}, { &hf_z3950_segmentCount, { "segmentCount", "z3950.segmentCount_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_segmentSize, { "segmentSize", "z3950.segmentSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_extServices, { "extServices", "z3950.extServices", FT_UINT32, BASE_DEC, VALS(z3950_T_extServices_vals), 0, NULL, HFILL }}, { &hf_z3950_req, { "req", "z3950.req", FT_INT32, BASE_DEC, VALS(z3950_T_req_vals), 0, NULL, HFILL }}, { &hf_z3950_permission, { "permission", "z3950.permission", FT_INT32, BASE_DEC, VALS(z3950_T_permission_vals), 0, NULL, HFILL }}, { &hf_z3950_immediate, { "immediate", "z3950.immediate", FT_INT32, BASE_DEC, VALS(z3950_T_immediate_vals), 0, NULL, HFILL }}, { &hf_z3950_accessCtrl, { "accessCtrl", "z3950.accessCtrl", FT_UINT32, BASE_DEC, VALS(z3950_T_accessCtrl_vals), 0, NULL, HFILL }}, { &hf_z3950_noUser, { "noUser", "z3950.noUser_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_refused, { "refused", "z3950.refused_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagFormat_accessCtrl_simple, { "simple", "z3950.simple_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagFormat_accessCtrl_oid, { "oid", "z3950.oid", FT_UINT32, BASE_DEC, NULL, 0, "T_diagFormat_accessCtrl_oid", HFILL }}, { &hf_z3950_diagFormat_accessCtrl_oid_item, { "oid item", "z3950.oid_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_alternative, { "alternative", "z3950.alternative", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_alternative_item, { "alternative item", "z3950.alternative_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_pwdInv, { "pwdInv", "z3950.pwdInv_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_pwdExp, { "pwdExp", "z3950.pwdExp_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagFormat_recordSyntax, { "recordSyntax", "z3950.recordSyntax_element", FT_NONE, BASE_NONE, NULL, 0, "T_diagFormat_recordSyntax", HFILL }}, { &hf_z3950_unsupportedSyntax, { "unsupportedSyntax", "z3950.unsupportedSyntax", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_suggestedAlternatives, { "suggestedAlternatives", "z3950.suggestedAlternatives", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_suggestedAlternatives_item, { "suggestedAlternatives item", "z3950.suggestedAlternatives_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_targetInfo, { "targetInfo", "z3950.targetInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_databaseInfo, { "databaseInfo", "z3950.databaseInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_schemaInfo, { "schemaInfo", "z3950.schemaInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_tagSetInfo, { "tagSetInfo", "z3950.tagSetInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_recordSyntaxInfo, { "recordSyntaxInfo", "z3950.recordSyntaxInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributeSetInfo, { "attributeSetInfo", "z3950.attributeSetInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_termListInfo, { "termListInfo", "z3950.termListInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_extendedServicesInfo, { "extendedServicesInfo", "z3950.extendedServicesInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributeDetails, { "attributeDetails", "z3950.attributeDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_termListDetails, { "termListDetails", "z3950.termListDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_elementSetDetails, { "elementSetDetails", "z3950.elementSetDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_retrievalRecordDetails, { "retrievalRecordDetails", "z3950.retrievalRecordDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sortDetails, { "sortDetails", "z3950.sortDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_processing, { "processing", "z3950.processing_element", FT_NONE, BASE_NONE, NULL, 0, "ProcessingInformation", HFILL }}, { &hf_z3950_variants, { "variants", "z3950.variants_element", FT_NONE, BASE_NONE, NULL, 0, "VariantSetInfo", HFILL }}, { &hf_z3950_units, { "units", "z3950.units_element", FT_NONE, BASE_NONE, NULL, 0, "UnitInfo", HFILL }}, { &hf_z3950_categoryList, { "categoryList", "z3950.categoryList_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_commonInfo, { "commonInfo", "z3950.commonInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_name, { "name", "z3950.name", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_recent_news, { "recent-news", "z3950.recent_news", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_icon, { "icon", "z3950.icon", FT_UINT32, BASE_DEC, NULL, 0, "IconObject", HFILL }}, { &hf_z3950_namedResultSets, { "namedResultSets", "z3950.namedResultSets", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_multipleDBsearch, { "multipleDBsearch", "z3950.multipleDBsearch", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_maxResultSets, { "maxResultSets", "z3950.maxResultSets", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_maxResultSize, { "maxResultSize", "z3950.maxResultSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_maxTerms, { "maxTerms", "z3950.maxTerms", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_timeoutInterval, { "timeoutInterval", "z3950.timeoutInterval_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_welcomeMessage, { "welcomeMessage", "z3950.welcomeMessage", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_contactInfo, { "contactInfo", "z3950.contactInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_description, { "description", "z3950.description", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_nicknames, { "nicknames", "z3950.nicknames", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_nicknames_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_usage_restrictions, { "usage-restrictions", "z3950.usage_restrictions", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_paymentAddr, { "paymentAddr", "z3950.paymentAddr", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_hours, { "hours", "z3950.hours", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_dbCombinations, { "dbCombinations", "z3950.dbCombinations", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DatabaseList", HFILL }}, { &hf_z3950_dbCombinations_item, { "DatabaseList", "z3950.DatabaseList", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_addresses, { "addresses", "z3950.addresses", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_NetworkAddress", HFILL }}, { &hf_z3950_addresses_item, { "NetworkAddress", "z3950.NetworkAddress", FT_UINT32, BASE_DEC, VALS(z3950_NetworkAddress_vals), 0, NULL, HFILL }}, { &hf_z3950_languages, { "languages", "z3950.languages", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_languages_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_commonAccessInfo, { "commonAccessInfo", "z3950.commonAccessInfo_element", FT_NONE, BASE_NONE, NULL, 0, "AccessInfo", HFILL }}, { &hf_z3950_databaseInfo_name, { "name", "z3950.name", FT_STRING, BASE_NONE, NULL, 0, "DatabaseName", HFILL }}, { &hf_z3950_explainDatabase, { "explainDatabase", "z3950.explainDatabase_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_databaseInfo_nicknames, { "nicknames", "z3950.nicknames", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DatabaseName", HFILL }}, { &hf_z3950_databaseInfo_nicknames_item, { "DatabaseName", "z3950.DatabaseName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_user_fee, { "user-fee", "z3950.user_fee", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_available, { "available", "z3950.available", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_titleString, { "titleString", "z3950.titleString", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_keywords, { "keywords", "z3950.keywords", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_HumanString", HFILL }}, { &hf_z3950_keywords_item, { "HumanString", "z3950.HumanString", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_associatedDbs, { "associatedDbs", "z3950.associatedDbs", FT_UINT32, BASE_DEC, NULL, 0, "DatabaseList", HFILL }}, { &hf_z3950_subDbs, { "subDbs", "z3950.subDbs", FT_UINT32, BASE_DEC, NULL, 0, "DatabaseList", HFILL }}, { &hf_z3950_disclaimers, { "disclaimers", "z3950.disclaimers", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_news, { "news", "z3950.news", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_recordCount, { "recordCount", "z3950.recordCount", FT_UINT32, BASE_DEC, VALS(z3950_T_recordCount_vals), 0, NULL, HFILL }}, { &hf_z3950_actualNumber, { "actualNumber", "z3950.actualNumber", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_approxNumber, { "approxNumber", "z3950.approxNumber", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_defaultOrder, { "defaultOrder", "z3950.defaultOrder", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_avRecordSize, { "avRecordSize", "z3950.avRecordSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_bestTime, { "bestTime", "z3950.bestTime", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_lastUpdate, { "lastUpdate", "z3950.lastUpdate", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_z3950_updateInterval, { "updateInterval", "z3950.updateInterval_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_coverage, { "coverage", "z3950.coverage", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_proprietary, { "proprietary", "z3950.proprietary", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_copyrightText, { "copyrightText", "z3950.copyrightText", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_copyrightNotice, { "copyrightNotice", "z3950.copyrightNotice", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_producerContactInfo, { "producerContactInfo", "z3950.producerContactInfo_element", FT_NONE, BASE_NONE, NULL, 0, "ContactInfo", HFILL }}, { &hf_z3950_supplierContactInfo, { "supplierContactInfo", "z3950.supplierContactInfo_element", FT_NONE, BASE_NONE, NULL, 0, "ContactInfo", HFILL }}, { &hf_z3950_submissionContactInfo, { "submissionContactInfo", "z3950.submissionContactInfo_element", FT_NONE, BASE_NONE, NULL, 0, "ContactInfo", HFILL }}, { &hf_z3950_accessInfo, { "accessInfo", "z3950.accessInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_tagTypeMapping, { "tagTypeMapping", "z3950.tagTypeMapping", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_tagTypeMapping_item, { "tagTypeMapping item", "z3950.tagTypeMapping_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_tagType, { "tagType", "z3950.tagType", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_tagSet, { "tagSet", "z3950.tagSet", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_defaultTagType, { "defaultTagType", "z3950.defaultTagType_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_recordStructure, { "recordStructure", "z3950.recordStructure", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ElementInfo", HFILL }}, { &hf_z3950_recordStructure_item, { "ElementInfo", "z3950.ElementInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_elementName, { "elementName", "z3950.elementName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_elementTagPath, { "elementTagPath", "z3950.elementTagPath", FT_UINT32, BASE_DEC, NULL, 0, "Path", HFILL }}, { &hf_z3950_elementInfo_dataType, { "dataType", "z3950.dataType", FT_UINT32, BASE_DEC, VALS(z3950_ElementDataType_vals), 0, "ElementDataType", HFILL }}, { &hf_z3950_required, { "required", "z3950.required", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_repeatable, { "repeatable", "z3950.repeatable", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_Path_item, { "Path item", "z3950.Path_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_tagValue, { "tagValue", "z3950.tagValue", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, "StringOrNumeric", HFILL }}, { &hf_z3950_primitive, { "primitive", "z3950.primitive", FT_INT32, BASE_DEC, VALS(z3950_PrimitiveDataType_vals), 0, "PrimitiveDataType", HFILL }}, { &hf_z3950_structured, { "structured", "z3950.structured", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ElementInfo", HFILL }}, { &hf_z3950_structured_item, { "ElementInfo", "z3950.ElementInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_tagSetInfo_elements, { "elements", "z3950.elements", FT_UINT32, BASE_DEC, NULL, 0, "T_tagSetInfo_elements", HFILL }}, { &hf_z3950_tagSetInfo_elements_item, { "elements item", "z3950.elements_item_element", FT_NONE, BASE_NONE, NULL, 0, "T_tagSetInfo_elements_item", HFILL }}, { &hf_z3950_elementname, { "elementname", "z3950.elementname", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_elementTag, { "elementTag", "z3950.elementTag", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, "StringOrNumeric", HFILL }}, { &hf_z3950_dataType, { "dataType", "z3950.dataType", FT_INT32, BASE_DEC, VALS(z3950_PrimitiveDataType_vals), 0, "PrimitiveDataType", HFILL }}, { &hf_z3950_otherTagInfo, { "otherTagInfo", "z3950.otherTagInfo", FT_UINT32, BASE_DEC, NULL, 0, "OtherInformation", HFILL }}, { &hf_z3950_recordSyntax, { "recordSyntax", "z3950.recordSyntax", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_transferSyntaxes, { "transferSyntaxes", "z3950.transferSyntaxes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_transferSyntaxes_item, { "transferSyntaxes item", "z3950.transferSyntaxes_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_asn1Module, { "asn1Module", "z3950.asn1Module", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_abstractStructure, { "abstractStructure", "z3950.abstractStructure", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ElementInfo", HFILL }}, { &hf_z3950_abstractStructure_item, { "ElementInfo", "z3950.ElementInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributeSetInfo_attributes, { "attributes", "z3950.attributes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeType", HFILL }}, { &hf_z3950_attributeSetInfo_attributes_item, { "AttributeType", "z3950.AttributeType_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributeType, { "attributeType", "z3950.attributeType", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_attributeValues, { "attributeValues", "z3950.attributeValues", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeDescription", HFILL }}, { &hf_z3950_attributeValues_item, { "AttributeDescription", "z3950.AttributeDescription_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributeDescription_attributeValue, { "attributeValue", "z3950.attributeValue", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, "StringOrNumeric", HFILL }}, { &hf_z3950_equivalentAttributes, { "equivalentAttributes", "z3950.equivalentAttributes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_StringOrNumeric", HFILL }}, { &hf_z3950_equivalentAttributes_item, { "StringOrNumeric", "z3950.StringOrNumeric", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, NULL, HFILL }}, { &hf_z3950_termLists, { "termLists", "z3950.termLists", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_termLists_item, { "termLists item", "z3950.termLists_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_title, { "title", "z3950.title", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_searchCost, { "searchCost", "z3950.searchCost", FT_INT32, BASE_DEC, VALS(z3950_T_searchCost_vals), 0, NULL, HFILL }}, { &hf_z3950_scanable, { "scanable", "z3950.scanable", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_broader, { "broader", "z3950.broader", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_broader_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_narrower, { "narrower", "z3950.narrower", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_narrower_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_extendedServicesInfo_type, { "type", "z3950.type", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_privateType, { "privateType", "z3950.privateType", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_restrictionsApply, { "restrictionsApply", "z3950.restrictionsApply", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_feeApply, { "feeApply", "z3950.feeApply", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_retentionSupported, { "retentionSupported", "z3950.retentionSupported", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_extendedServicesInfo_waitAction, { "waitAction", "z3950.waitAction", FT_INT32, BASE_DEC, VALS(z3950_T_extendedServicesInfo_waitAction_vals), 0, "T_extendedServicesInfo_waitAction", HFILL }}, { &hf_z3950_specificExplain, { "specificExplain", "z3950.specificExplain_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_esASN, { "esASN", "z3950.esASN", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_attributesBySet, { "attributesBySet", "z3950.attributesBySet", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeSetDetails", HFILL }}, { &hf_z3950_attributesBySet_item, { "AttributeSetDetails", "z3950.AttributeSetDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributeCombinations, { "attributeCombinations", "z3950.attributeCombinations_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributesByType, { "attributesByType", "z3950.attributesByType", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeTypeDetails", HFILL }}, { &hf_z3950_attributesByType_item, { "AttributeTypeDetails", "z3950.AttributeTypeDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_defaultIfOmitted, { "defaultIfOmitted", "z3950.defaultIfOmitted_element", FT_NONE, BASE_NONE, NULL, 0, "OmittedAttributeInterpretation", HFILL }}, { &hf_z3950_attributeTypeDetails_attributeValues, { "attributeValues", "z3950.attributeValues", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeValue", HFILL }}, { &hf_z3950_attributeTypeDetails_attributeValues_item, { "AttributeValue", "z3950.AttributeValue_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_defaultValue, { "defaultValue", "z3950.defaultValue", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, "StringOrNumeric", HFILL }}, { &hf_z3950_defaultDescription, { "defaultDescription", "z3950.defaultDescription", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_attributeValue_value, { "value", "z3950.value", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, "StringOrNumeric", HFILL }}, { &hf_z3950_subAttributes, { "subAttributes", "z3950.subAttributes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_StringOrNumeric", HFILL }}, { &hf_z3950_subAttributes_item, { "StringOrNumeric", "z3950.StringOrNumeric", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, NULL, HFILL }}, { &hf_z3950_superAttributes, { "superAttributes", "z3950.superAttributes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_StringOrNumeric", HFILL }}, { &hf_z3950_superAttributes_item, { "StringOrNumeric", "z3950.StringOrNumeric", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, NULL, HFILL }}, { &hf_z3950_partialSupport, { "partialSupport", "z3950.partialSupport_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_termListName, { "termListName", "z3950.termListName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_termListDetails_attributes, { "attributes", "z3950.attributes_element", FT_NONE, BASE_NONE, NULL, 0, "AttributeCombinations", HFILL }}, { &hf_z3950_scanInfo, { "scanInfo", "z3950.scanInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_maxStepSize, { "maxStepSize", "z3950.maxStepSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_collatingSequence, { "collatingSequence", "z3950.collatingSequence", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_increasing, { "increasing", "z3950.increasing", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_estNumberTerms, { "estNumberTerms", "z3950.estNumberTerms", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_sampleTerms, { "sampleTerms", "z3950.sampleTerms", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Term", HFILL }}, { &hf_z3950_sampleTerms_item, { "Term", "z3950.Term", FT_UINT32, BASE_DEC, VALS(z3950_Term_vals), 0, NULL, HFILL }}, { &hf_z3950_elementSetDetails_elementSetName, { "elementSetName", "z3950.elementSetName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_detailsPerElement, { "detailsPerElement", "z3950.detailsPerElement", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_PerElementDetails", HFILL }}, { &hf_z3950_detailsPerElement_item, { "PerElementDetails", "z3950.PerElementDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_recordTag, { "recordTag", "z3950.recordTag_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_schemaTags, { "schemaTags", "z3950.schemaTags", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Path", HFILL }}, { &hf_z3950_schemaTags_item, { "Path", "z3950.Path", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_maxSize, { "maxSize", "z3950.maxSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_minSize, { "minSize", "z3950.minSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_avgSize, { "avgSize", "z3950.avgSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_fixedSize, { "fixedSize", "z3950.fixedSize", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_contents, { "contents", "z3950.contents", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_billingInfo, { "billingInfo", "z3950.billingInfo", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_restrictions, { "restrictions", "z3950.restrictions", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_alternateNames, { "alternateNames", "z3950.alternateNames", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_alternateNames_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_genericNames, { "genericNames", "z3950.genericNames", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_genericNames_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_searchAccess, { "searchAccess", "z3950.searchAccess_element", FT_NONE, BASE_NONE, NULL, 0, "AttributeCombinations", HFILL }}, { &hf_z3950_qualifier, { "qualifier", "z3950.qualifier", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, "StringOrNumeric", HFILL }}, { &hf_z3950_sortKeys, { "sortKeys", "z3950.sortKeys", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_SortKeyDetails", HFILL }}, { &hf_z3950_sortKeys_item, { "SortKeyDetails", "z3950.SortKeyDetails_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_elementSpecifications, { "elementSpecifications", "z3950.elementSpecifications", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Specification", HFILL }}, { &hf_z3950_elementSpecifications_item, { "Specification", "z3950.Specification_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributeSpecifications, { "attributeSpecifications", "z3950.attributeSpecifications_element", FT_NONE, BASE_NONE, NULL, 0, "AttributeCombinations", HFILL }}, { &hf_z3950_sortType, { "sortType", "z3950.sortType", FT_UINT32, BASE_DEC, VALS(z3950_T_sortType_vals), 0, NULL, HFILL }}, { &hf_z3950_character, { "character", "z3950.character_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sortKeyDetails_sortType_numeric, { "numeric", "z3950.numeric_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_sortKeyDetails_sortType_structured, { "structured", "z3950.structured", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_sortKeyDetails_caseSensitivity, { "caseSensitivity", "z3950.caseSensitivity", FT_INT32, BASE_DEC, VALS(z3950_T_sortKeyDetails_caseSensitivity_vals), 0, "T_sortKeyDetails_caseSensitivity", HFILL }}, { &hf_z3950_processingContext, { "processingContext", "z3950.processingContext", FT_INT32, BASE_DEC, VALS(z3950_T_processingContext_vals), 0, NULL, HFILL }}, { &hf_z3950_instructions, { "instructions", "z3950.instructions_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_variantSet, { "variantSet", "z3950.variantSet", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_variantSetInfo_variants, { "variants", "z3950.variants", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_VariantClass", HFILL }}, { &hf_z3950_variantSetInfo_variants_item, { "VariantClass", "z3950.VariantClass_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_variantClass, { "variantClass", "z3950.variantClass", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_variantTypes, { "variantTypes", "z3950.variantTypes", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_VariantType", HFILL }}, { &hf_z3950_variantTypes_item, { "VariantType", "z3950.VariantType_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_variantType, { "variantType", "z3950.variantType", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_variantValue, { "variantValue", "z3950.variantValue_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_values, { "values", "z3950.values", FT_UINT32, BASE_DEC, VALS(z3950_ValueSet_vals), 0, "ValueSet", HFILL }}, { &hf_z3950_range, { "range", "z3950.range_element", FT_NONE, BASE_NONE, NULL, 0, "ValueRange", HFILL }}, { &hf_z3950_enumerated, { "enumerated", "z3950.enumerated", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ValueDescription", HFILL }}, { &hf_z3950_enumerated_item, { "ValueDescription", "z3950.ValueDescription", FT_UINT32, BASE_DEC, VALS(z3950_ValueDescription_vals), 0, NULL, HFILL }}, { &hf_z3950_lower, { "lower", "z3950.lower", FT_UINT32, BASE_DEC, VALS(z3950_ValueDescription_vals), 0, "ValueDescription", HFILL }}, { &hf_z3950_upper, { "upper", "z3950.upper", FT_UINT32, BASE_DEC, VALS(z3950_ValueDescription_vals), 0, "ValueDescription", HFILL }}, { &hf_z3950_integer, { "integer", "z3950.integer", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_octets, { "octets", "z3950.octets", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_valueDescription_unit, { "unit", "z3950.unit_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_valueAndUnit, { "valueAndUnit", "z3950.valueAndUnit_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_unitInfo_units, { "units", "z3950.units", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_UnitType", HFILL }}, { &hf_z3950_unitInfo_units_item, { "UnitType", "z3950.UnitType_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_unitType_units, { "units", "z3950.units", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Units", HFILL }}, { &hf_z3950_unitType_units_item, { "Units", "z3950.Units_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_categories, { "categories", "z3950.categories", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_CategoryInfo", HFILL }}, { &hf_z3950_categories_item, { "CategoryInfo", "z3950.CategoryInfo_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_categoryInfo_category, { "category", "z3950.category", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_originalCategory, { "originalCategory", "z3950.originalCategory", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_dateAdded, { "dateAdded", "z3950.dateAdded", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_z3950_dateChanged, { "dateChanged", "z3950.dateChanged", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_z3950_expiry, { "expiry", "z3950.expiry", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_z3950_humanString_Language, { "humanString-Language", "z3950.humanString_Language", FT_STRING, BASE_NONE, NULL, 0, "LanguageCode", HFILL }}, { &hf_z3950_HumanString_item, { "HumanString item", "z3950.HumanString_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_language, { "language", "z3950.language", FT_STRING, BASE_NONE, NULL, 0, "LanguageCode", HFILL }}, { &hf_z3950_text, { "text", "z3950.text", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_IconObject_item, { "IconObject item", "z3950.IconObject_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_bodyType, { "bodyType", "z3950.bodyType", FT_UINT32, BASE_DEC, VALS(z3950_T_bodyType_vals), 0, NULL, HFILL }}, { &hf_z3950_ianaType, { "ianaType", "z3950.ianaType", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_z3950type, { "z3950type", "z3950.z3950type", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_otherType, { "otherType", "z3950.otherType", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_content, { "content", "z3950.content", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_address, { "address", "z3950.address", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_email, { "email", "z3950.email", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_phone, { "phone", "z3950.phone", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_internetAddress, { "internetAddress", "z3950.internetAddress_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_hostAddress, { "hostAddress", "z3950.hostAddress", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_port, { "port", "z3950.port", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_osiPresentationAddress, { "osiPresentationAddress", "z3950.osiPresentationAddress_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_pSel, { "pSel", "z3950.pSel", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_sSel, { "sSel", "z3950.sSel", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_tSel, { "tSel", "z3950.tSel", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_nSap, { "nSap", "z3950.nSap", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_networkAddress_other, { "other", "z3950.other_element", FT_NONE, BASE_NONE, NULL, 0, "T_networkAddress_other", HFILL }}, { &hf_z3950_networkAddress_other_type, { "type", "z3950.type", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_networkAddress_other_address, { "address", "z3950.address", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_queryTypesSupported, { "queryTypesSupported", "z3950.queryTypesSupported", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_QueryTypeDetails", HFILL }}, { &hf_z3950_queryTypesSupported_item, { "QueryTypeDetails", "z3950.QueryTypeDetails", FT_UINT32, BASE_DEC, VALS(z3950_QueryTypeDetails_vals), 0, NULL, HFILL }}, { &hf_z3950_diagnosticsSets, { "diagnosticsSets", "z3950.diagnosticsSets", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_diagnosticsSets_item, { "diagnosticsSets item", "z3950.diagnosticsSets_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_attributeSetIds, { "attributeSetIds", "z3950.attributeSetIds", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeSetId", HFILL }}, { &hf_z3950_attributeSetIds_item, { "AttributeSetId", "z3950.AttributeSetId", FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_schemas, { "schemas", "z3950.schemas", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_schemas_item, { "schemas item", "z3950.schemas_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_recordSyntaxes, { "recordSyntaxes", "z3950.recordSyntaxes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_recordSyntaxes_item, { "recordSyntaxes item", "z3950.recordSyntaxes_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_resourceChallenges, { "resourceChallenges", "z3950.resourceChallenges", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_resourceChallenges_item, { "resourceChallenges item", "z3950.resourceChallenges_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_restrictedAccess, { "restrictedAccess", "z3950.restrictedAccess", FT_UINT32, BASE_DEC, NULL, 0, "AccessRestrictions", HFILL }}, { &hf_z3950_costInfo, { "costInfo", "z3950.costInfo_element", FT_NONE, BASE_NONE, NULL, 0, "Costs", HFILL }}, { &hf_z3950_variantSets, { "variantSets", "z3950.variantSets", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_variantSets_item, { "variantSets item", "z3950.variantSets_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_elementSetNames, { "elementSetNames", "z3950.elementSetNames", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_ElementSetName", HFILL }}, { &hf_z3950_elementSetNames_item, { "ElementSetName", "z3950.ElementSetName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_unitSystems, { "unitSystems", "z3950.unitSystems", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_unitSystems_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_queryTypeDetails_private, { "private", "z3950.private_element", FT_NONE, BASE_NONE, NULL, 0, "PrivateCapabilities", HFILL }}, { &hf_z3950_queryTypeDetails_rpn, { "rpn", "z3950.rpn_element", FT_NONE, BASE_NONE, NULL, 0, "RpnCapabilities", HFILL }}, { &hf_z3950_iso8777, { "iso8777", "z3950.iso8777_element", FT_NONE, BASE_NONE, NULL, 0, "Iso8777Capabilities", HFILL }}, { &hf_z3950_z39_58, { "z39-58", "z3950.z39_58", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_erpn, { "erpn", "z3950.erpn_element", FT_NONE, BASE_NONE, NULL, 0, "RpnCapabilities", HFILL }}, { &hf_z3950_rankedList, { "rankedList", "z3950.rankedList", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_privateCapabilities_operators, { "operators", "z3950.operators", FT_UINT32, BASE_DEC, NULL, 0, "T_privateCapabilities_operators", HFILL }}, { &hf_z3950_privateCapabilities_operators_item, { "operators item", "z3950.operators_item_element", FT_NONE, BASE_NONE, NULL, 0, "T_privateCapabilities_operators_item", HFILL }}, { &hf_z3950_operator, { "operator", "z3950.operator", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_searchKeys, { "searchKeys", "z3950.searchKeys", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_SearchKey", HFILL }}, { &hf_z3950_searchKeys_item, { "SearchKey", "z3950.SearchKey_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_privateCapabilities_description, { "description", "z3950.description", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_HumanString", HFILL }}, { &hf_z3950_privateCapabilities_description_item, { "HumanString", "z3950.HumanString", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_operators, { "operators", "z3950.operators", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_operators_item, { "operators item", "z3950.operators_item", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_resultSetAsOperandSupported, { "resultSetAsOperandSupported", "z3950.resultSetAsOperandSupported", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_restrictionOperandSupported, { "restrictionOperandSupported", "z3950.restrictionOperandSupported", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_proximity, { "proximity", "z3950.proximity_element", FT_NONE, BASE_NONE, NULL, 0, "ProximitySupport", HFILL }}, { &hf_z3950_anySupport, { "anySupport", "z3950.anySupport", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_unitsSupported, { "unitsSupported", "z3950.unitsSupported", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_unitsSupported_item, { "unitsSupported item", "z3950.unitsSupported_item", FT_UINT32, BASE_DEC, VALS(z3950_T_unitsSupported_item_vals), 0, NULL, HFILL }}, { &hf_z3950_proximitySupport_unitsSupported_item_known, { "known", "z3950.known", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_proximitySupport_unitsSupported_item_private, { "private", "z3950.private_element", FT_NONE, BASE_NONE, NULL, 0, "T_proximitySupport_unitsSupported_item_private", HFILL }}, { &hf_z3950_proximitySupport_unitsSupported_item_private_unit, { "unit", "z3950.unit", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_searchKey, { "searchKey", "z3950.searchKey", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_AccessRestrictions_item, { "AccessRestrictions item", "z3950.AccessRestrictions_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_accessType, { "accessType", "z3950.accessType", FT_INT32, BASE_DEC, VALS(z3950_T_accessType_vals), 0, NULL, HFILL }}, { &hf_z3950_accessText, { "accessText", "z3950.accessText", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_accessChallenges, { "accessChallenges", "z3950.accessChallenges", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_accessChallenges_item, { "accessChallenges item", "z3950.accessChallenges_item", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_connectCharge, { "connectCharge", "z3950.connectCharge_element", FT_NONE, BASE_NONE, NULL, 0, "Charge", HFILL }}, { &hf_z3950_connectTime, { "connectTime", "z3950.connectTime_element", FT_NONE, BASE_NONE, NULL, 0, "Charge", HFILL }}, { &hf_z3950_displayCharge, { "displayCharge", "z3950.displayCharge_element", FT_NONE, BASE_NONE, NULL, 0, "Charge", HFILL }}, { &hf_z3950_searchCharge, { "searchCharge", "z3950.searchCharge_element", FT_NONE, BASE_NONE, NULL, 0, "Charge", HFILL }}, { &hf_z3950_subscriptCharge, { "subscriptCharge", "z3950.subscriptCharge_element", FT_NONE, BASE_NONE, NULL, 0, "Charge", HFILL }}, { &hf_z3950_otherCharges, { "otherCharges", "z3950.otherCharges", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_otherCharges_item, { "otherCharges item", "z3950.otherCharges_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_forWhat, { "forWhat", "z3950.forWhat", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_charge, { "charge", "z3950.charge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_cost, { "cost", "z3950.cost_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_perWhat, { "perWhat", "z3950.perWhat_element", FT_NONE, BASE_NONE, NULL, 0, "Unit", HFILL }}, { &hf_z3950_charge_text, { "text", "z3950.text", FT_UINT32, BASE_DEC, NULL, 0, "HumanString", HFILL }}, { &hf_z3950_DatabaseList_item, { "DatabaseName", "z3950.DatabaseName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_defaultAttributeSet, { "defaultAttributeSet", "z3950.defaultAttributeSet", FT_OID, BASE_NONE, NULL, 0, "AttributeSetId", HFILL }}, { &hf_z3950_legalCombinations, { "legalCombinations", "z3950.legalCombinations", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_AttributeCombination", HFILL }}, { &hf_z3950_legalCombinations_item, { "AttributeCombination", "z3950.AttributeCombination", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_AttributeCombination_item, { "AttributeOccurrence", "z3950.AttributeOccurrence_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_mustBeSupplied, { "mustBeSupplied", "z3950.mustBeSupplied_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_attributeOccurrence_attributeValues, { "attributeValues", "z3950.attributeValues", FT_UINT32, BASE_DEC, VALS(z3950_T_attributeOccurrence_attributeValues_vals), 0, "T_attributeOccurrence_attributeValues", HFILL }}, { &hf_z3950_any_or_none, { "any-or-none", "z3950.any_or_none_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_specific, { "specific", "z3950.specific", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_StringOrNumeric", HFILL }}, { &hf_z3950_specific_item, { "StringOrNumeric", "z3950.StringOrNumeric", FT_UINT32, BASE_DEC, VALS(z3950_StringOrNumeric_vals), 0, NULL, HFILL }}, { &hf_z3950_briefBib_title, { "title", "z3950.title", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_author, { "author", "z3950.author", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_recordType, { "recordType", "z3950.recordType", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_bibliographicLevel, { "bibliographicLevel", "z3950.bibliographicLevel", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_briefBib_format, { "format", "z3950.format", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_FormatSpec", HFILL }}, { &hf_z3950_briefBib_format_item, { "FormatSpec", "z3950.FormatSpec_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_publicationPlace, { "publicationPlace", "z3950.publicationPlace", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_publicationDate, { "publicationDate", "z3950.publicationDate", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_targetSystemKey, { "targetSystemKey", "z3950.targetSystemKey", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_satisfyingElement, { "satisfyingElement", "z3950.satisfyingElement", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_rank, { "rank", "z3950.rank", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_documentId, { "documentId", "z3950.documentId", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_abstract, { "abstract", "z3950.abstract", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_formatSpec_type, { "type", "z3950.type", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_size, { "size", "z3950.size", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_bestPosn, { "bestPosn", "z3950.bestPosn", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_GenericRecord_item, { "TaggedElement", "z3950.TaggedElement_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_tagOccurrence, { "tagOccurrence", "z3950.tagOccurrence", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_taggedElement_content, { "content", "z3950.content", FT_UINT32, BASE_DEC, VALS(z3950_ElementData_vals), 0, "ElementData", HFILL }}, { &hf_z3950_metaData, { "metaData", "z3950.metaData_element", FT_NONE, BASE_NONE, NULL, 0, "ElementMetaData", HFILL }}, { &hf_z3950_appliedVariant, { "appliedVariant", "z3950.appliedVariant_element", FT_NONE, BASE_NONE, NULL, 0, "Variant", HFILL }}, { &hf_z3950_date, { "date", "z3950.date", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_z3950_ext, { "ext", "z3950.ext_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_trueOrFalse, { "trueOrFalse", "z3950.trueOrFalse", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_intUnit, { "intUnit", "z3950.intUnit_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_elementNotThere, { "elementNotThere", "z3950.elementNotThere_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_elementEmpty, { "elementEmpty", "z3950.elementEmpty_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_noDataRequested, { "noDataRequested", "z3950.noDataRequested_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_elementData_diagnostic, { "diagnostic", "z3950.diagnostic_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_subtree, { "subtree", "z3950.subtree", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_TaggedElement", HFILL }}, { &hf_z3950_subtree_item, { "TaggedElement", "z3950.TaggedElement_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_seriesOrder, { "seriesOrder", "z3950.seriesOrder_element", FT_NONE, BASE_NONE, NULL, 0, "Order", HFILL }}, { &hf_z3950_usageRight, { "usageRight", "z3950.usageRight_element", FT_NONE, BASE_NONE, NULL, 0, "Usage", HFILL }}, { &hf_z3950_hits, { "hits", "z3950.hits", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_HitVector", HFILL }}, { &hf_z3950_hits_item, { "HitVector", "z3950.HitVector_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_displayName, { "displayName", "z3950.displayName", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_supportedVariants, { "supportedVariants", "z3950.supportedVariants", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_Variant", HFILL }}, { &hf_z3950_supportedVariants_item, { "Variant", "z3950.Variant_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_elementDescriptor, { "elementDescriptor", "z3950.elementDescriptor", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_surrogateFor, { "surrogateFor", "z3950.surrogateFor", FT_UINT32, BASE_DEC, NULL, 0, "TagPath", HFILL }}, { &hf_z3950_surrogateElement, { "surrogateElement", "z3950.surrogateElement", FT_UINT32, BASE_DEC, NULL, 0, "TagPath", HFILL }}, { &hf_z3950_TagPath_item, { "TagPath item", "z3950.TagPath_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_ascending, { "ascending", "z3950.ascending", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_order, { "order", "z3950.order", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_usage_type, { "type", "z3950.type", FT_INT32, BASE_DEC, VALS(z3950_T_usage_type_vals), 0, "T_usage_type", HFILL }}, { &hf_z3950_restriction, { "restriction", "z3950.restriction", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_satisfier, { "satisfier", "z3950.satisfier", FT_UINT32, BASE_DEC, VALS(z3950_Term_vals), 0, "Term", HFILL }}, { &hf_z3950_offsetIntoElement, { "offsetIntoElement", "z3950.offsetIntoElement_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_length, { "length", "z3950.length_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_hitRank, { "hitRank", "z3950.hitRank", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_targetToken, { "targetToken", "z3950.targetToken", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_globalVariantSetId, { "globalVariantSetId", "z3950.globalVariantSetId", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_triples, { "triples", "z3950.triples", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_triples_item, { "triples item", "z3950.triples_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_variantSetId, { "variantSetId", "z3950.variantSetId", FT_OID, BASE_NONE, NULL, 0, "OBJECT_IDENTIFIER", HFILL }}, { &hf_z3950_class, { "class", "z3950.class", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_variant_triples_item_value, { "value", "z3950.value", FT_UINT32, BASE_DEC, VALS(z3950_T_variant_triples_item_value_vals), 0, "T_variant_triples_item_value", HFILL }}, { &hf_z3950_octetString, { "octetString", "z3950.octetString", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_boolean, { "boolean", "z3950.boolean", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_variant_triples_item_value_unit, { "unit", "z3950.unit_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_taskPackage_description, { "description", "z3950.description", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_targetReference, { "targetReference", "z3950.targetReference", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_creationDateTime, { "creationDateTime", "z3950.creationDateTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "GeneralizedTime", HFILL }}, { &hf_z3950_taskStatus, { "taskStatus", "z3950.taskStatus", FT_INT32, BASE_DEC, VALS(z3950_T_taskStatus_vals), 0, NULL, HFILL }}, { &hf_z3950_packageDiagnostics, { "packageDiagnostics", "z3950.packageDiagnostics", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DiagRec", HFILL }}, { &hf_z3950_packageDiagnostics_item, { "DiagRec", "z3950.DiagRec", FT_UINT32, BASE_DEC, VALS(z3950_DiagRec_vals), 0, NULL, HFILL }}, { &hf_z3950_challenge, { "challenge", "z3950.challenge", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_response, { "response", "z3950.response", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_Challenge_item, { "Challenge item", "z3950.Challenge_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_promptId, { "promptId", "z3950.promptId", FT_UINT32, BASE_DEC, VALS(z3950_PromptId_vals), 0, NULL, HFILL }}, { &hf_z3950_defaultResponse, { "defaultResponse", "z3950.defaultResponse", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_promptInfo, { "promptInfo", "z3950.promptInfo", FT_UINT32, BASE_DEC, VALS(z3950_T_promptInfo_vals), 0, NULL, HFILL }}, { &hf_z3950_challenge_item_promptInfo_character, { "character", "z3950.character", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_encrypted, { "encrypted", "z3950.encrypted_element", FT_NONE, BASE_NONE, NULL, 0, "Encryption", HFILL }}, { &hf_z3950_regExpr, { "regExpr", "z3950.regExpr", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_responseRequired, { "responseRequired", "z3950.responseRequired_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_allowedValues, { "allowedValues", "z3950.allowedValues", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_InternationalString", HFILL }}, { &hf_z3950_allowedValues_item, { "InternationalString", "z3950.InternationalString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_shouldSave, { "shouldSave", "z3950.shouldSave_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_challenge_item_dataType, { "dataType", "z3950.dataType", FT_INT32, BASE_DEC, VALS(z3950_T_challenge_item_dataType_vals), 0, "T_challenge_item_dataType", HFILL }}, { &hf_z3950_challenge_item_diagnostic, { "diagnostic", "z3950.diagnostic_element", FT_NONE, BASE_NONE, NULL, 0, "EXTERNAL", HFILL }}, { &hf_z3950_Response_item, { "Response item", "z3950.Response_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_promptResponse, { "promptResponse", "z3950.promptResponse", FT_UINT32, BASE_DEC, VALS(z3950_T_promptResponse_vals), 0, NULL, HFILL }}, { &hf_z3950_accept, { "accept", "z3950.accept", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_acknowledge, { "acknowledge", "z3950.acknowledge_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_enummeratedPrompt, { "enummeratedPrompt", "z3950.enummeratedPrompt_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_promptId_enummeratedPrompt_type, { "type", "z3950.type", FT_INT32, BASE_DEC, VALS(z3950_T_promptId_enummeratedPrompt_type_vals), 0, "T_promptId_enummeratedPrompt_type", HFILL }}, { &hf_z3950_suggestedString, { "suggestedString", "z3950.suggestedString", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_nonEnumeratedPrompt, { "nonEnumeratedPrompt", "z3950.nonEnumeratedPrompt", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_cryptType, { "cryptType", "z3950.cryptType", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_credential, { "credential", "z3950.credential", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_data, { "data", "z3950.data", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_dES_RN_Object_challenge, { "challenge", "z3950.challenge_element", FT_NONE, BASE_NONE, NULL, 0, "DRNType", HFILL }}, { &hf_z3950_rES_RN_Object_response, { "response", "z3950.response_element", FT_NONE, BASE_NONE, NULL, 0, "DRNType", HFILL }}, { &hf_z3950_dRNType_userId, { "userId", "z3950.userId", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_salt, { "salt", "z3950.salt", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_randomNumber, { "randomNumber", "z3950.randomNumber", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_kRBObject_challenge, { "challenge", "z3950.challenge_element", FT_NONE, BASE_NONE, NULL, 0, "KRBRequest", HFILL }}, { &hf_z3950_kRBObject_response, { "response", "z3950.response_element", FT_NONE, BASE_NONE, NULL, 0, "KRBResponse", HFILL }}, { &hf_z3950_service, { "service", "z3950.service", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_instance, { "instance", "z3950.instance", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_realm, { "realm", "z3950.realm", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_userid, { "userid", "z3950.userid", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_ticket, { "ticket", "z3950.ticket", FT_BYTES, BASE_NONE, NULL, 0, "OCTET_STRING", HFILL }}, { &hf_z3950_SearchInfoReport_item, { "SearchInfoReport item", "z3950.SearchInfoReport_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_subqueryId, { "subqueryId", "z3950.subqueryId", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_fullQuery, { "fullQuery", "z3950.fullQuery", FT_BOOLEAN, BASE_NONE, NULL, 0, "BOOLEAN", HFILL }}, { &hf_z3950_subqueryExpression, { "subqueryExpression", "z3950.subqueryExpression", FT_UINT32, BASE_DEC, VALS(z3950_QueryExpression_vals), 0, "QueryExpression", HFILL }}, { &hf_z3950_subqueryInterpretation, { "subqueryInterpretation", "z3950.subqueryInterpretation", FT_UINT32, BASE_DEC, VALS(z3950_QueryExpression_vals), 0, "QueryExpression", HFILL }}, { &hf_z3950_subqueryRecommendation, { "subqueryRecommendation", "z3950.subqueryRecommendation", FT_UINT32, BASE_DEC, VALS(z3950_QueryExpression_vals), 0, "QueryExpression", HFILL }}, { &hf_z3950_subqueryCount, { "subqueryCount", "z3950.subqueryCount", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_subqueryWeight, { "subqueryWeight", "z3950.subqueryWeight_element", FT_NONE, BASE_NONE, NULL, 0, "IntUnit", HFILL }}, { &hf_z3950_resultsByDB, { "resultsByDB", "z3950.resultsByDB", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_z3950_ResultsByDB_item, { "ResultsByDB item", "z3950.ResultsByDB_item_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_databases, { "databases", "z3950.databases", FT_UINT32, BASE_DEC, VALS(z3950_T_databases_vals), 0, NULL, HFILL }}, { &hf_z3950_all, { "all", "z3950.all_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_list, { "list", "z3950.list", FT_UINT32, BASE_DEC, NULL, 0, "SEQUENCE_OF_DatabaseName", HFILL }}, { &hf_z3950_list_item, { "DatabaseName", "z3950.DatabaseName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_count, { "count", "z3950.count", FT_INT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_z3950_queryExpression_term, { "term", "z3950.term_element", FT_NONE, BASE_NONE, NULL, 0, "T_queryExpression_term", HFILL }}, { &hf_z3950_queryTerm, { "queryTerm", "z3950.queryTerm", FT_UINT32, BASE_DEC, VALS(z3950_Term_vals), 0, "Term", HFILL }}, { &hf_z3950_termComment, { "termComment", "z3950.termComment", FT_STRING, BASE_NONE, NULL, 0, "InternationalString", HFILL }}, { &hf_z3950_ProtocolVersion_U_version_1, { "version-1", "z3950.ProtocolVersion.U.version.1", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_z3950_ProtocolVersion_U_version_2, { "version-2", "z3950.ProtocolVersion.U.version.2", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_z3950_ProtocolVersion_U_version_3, { "version-3", "z3950.ProtocolVersion.U.version.3", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_z3950_Options_U_search, { "search", "z3950.Options.U.search", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_z3950_Options_U_present, { "present", "z3950.Options.U.present", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_z3950_Options_U_delSet, { "delSet", "z3950.Options.U.delSet", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_z3950_Options_U_resourceReport, { "resourceReport", "z3950.Options.U.resourceReport", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_z3950_Options_U_triggerResourceCtrl, { "triggerResourceCtrl", "z3950.Options.U.triggerResourceCtrl", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_z3950_Options_U_resourceCtrl, { "resourceCtrl", "z3950.Options.U.resourceCtrl", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_z3950_Options_U_accessCtrl, { "accessCtrl", "z3950.Options.U.accessCtrl", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_z3950_Options_U_scan, { "scan", "z3950.Options.U.scan", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL }}, { &hf_z3950_Options_U_sort, { "sort", "z3950.Options.U.sort", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL }}, { &hf_z3950_Options_U_spare_bit9, { "spare_bit9", "z3950.Options.U.spare.bit9", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL }}, { &hf_z3950_Options_U_extendedServices, { "extendedServices", "z3950.Options.U.extendedServices", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL }}, { &hf_z3950_Options_U_level_1Segmentation, { "level-1Segmentation", "z3950.Options.U.level.1Segmentation", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_z3950_Options_U_level_2Segmentation, { "level-2Segmentation", "z3950.Options.U.level.2Segmentation", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL }}, { &hf_z3950_Options_U_concurrentOperations, { "concurrentOperations", "z3950.Options.U.concurrentOperations", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_z3950_Options_U_namedResultSets, { "namedResultSets", "z3950.Options.U.namedResultSets", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_z3950_referenceId_printable, { "referenceId", "z3950.referenceId.printable", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_z3950_general_printable, { "general", "z3950.general.printable", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, /* MARC hf definitions */ { &hf_marc_record, { "MARC record", "marc", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_record_terminator, { "MARC record terminator", "marc.terminator", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader, { "MARC leader", "marc.leader", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_length, { "MARC leader length", "marc.leader.length", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_status, { "MARC leader status", "marc.leader.status", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_type, { "MARC leader type", "marc.leader.type", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_biblevel, { "MARC leader biblevel", "marc.leader.biblevel", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_control, { "MARC leader control", "marc.leader.control", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_encoding, { "MARC leader encoding", "marc.leader.encoding", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_indicator_count, { "MARC leader indicator count", "marc.leader.indicator_count", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_subfield_count, { "MARC leader subfield count", "marc.leader.subfield_count", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_data_offset, { "MARC leader data offset", "marc.leader.data_offset", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_encoding_level, { "MARC leader encoding level", "marc.leader.encoding_level", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_descriptive_cataloging, { "MARC leader descriptive cataloging", "marc.leader.descriptive_cataloging", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_multipart_level, { "MARC leader multipart level", "marc.leader.multipart_level", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_length_of_field_length, { "MARC leader length-of-field length", "marc.leader.length_of_field_length", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_starting_character_position_length, { "MARC leader starting-character-position length", "marc.leader.starting_character_position_length", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_leader_implementation_defined_length, { "MARC leader implementation-defined length", "marc.leader.implementation_defined_length", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_directory, { "MARC directory", "marc.directory", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_directory_entry, { "MARC directory entry", "marc.directory.entry", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_directory_entry_tag, { "tag", "marc.directory.entry.tag", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_directory_entry_length, { "length", "marc.directory.entry.length", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_directory_entry_starting_position, { "starting position", "marc.directory.entry.starting_position", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_directory_terminator, { "MARC directory terminator", "marc.directory.terminator", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_fields, { "MARC data fields", "marc.fields", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_field, { "MARC field", "marc.field", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_field_control, { "Control field", "marc.field.control", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_marc_field_terminator, { "MARC field terminator", "marc.field.terminator", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_field_indicator1, { "MARC field indicator1", "marc.field.indicator1", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_field_indicator2, { "MARC field indicator2", "marc.field.indicator2", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_field_subfield_indicator, { "MARC field subfield indicator", "marc.field.subfield.indicator", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_field_subfield_tag, { "MARC field subfield tag", "marc.field.subfield.tag", FT_CHAR, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_marc_field_subfield, { "MARC Subfield", "marc.field.subfield", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, }; /* List of subtrees */ static gint *ett[] = { &ett_z3950, /* MARC etts */ &ett_marc_record, &ett_marc_leader, &ett_marc_directory, &ett_marc_directory_entry, &ett_marc_fields, &ett_marc_field, &ett_z3950_PDU, &ett_z3950_InitializeRequest, &ett_z3950_T_idAuthentication, &ett_z3950_T_idPass, &ett_z3950_InitializeResponse, &ett_z3950_ProtocolVersion_U, &ett_z3950_Options_U, &ett_z3950_SearchRequest, &ett_z3950_SEQUENCE_OF_DatabaseName, &ett_z3950_Query, &ett_z3950_RPNQuery, &ett_z3950_RPNStructure, &ett_z3950_T_rpnRpnOp, &ett_z3950_Operand, &ett_z3950_AttributesPlusTerm_U, &ett_z3950_ResultSetPlusAttributes_U, &ett_z3950_SEQUENCE_OF_AttributeElement, &ett_z3950_Term, &ett_z3950_Operator_U, &ett_z3950_AttributeElement, &ett_z3950_T_attributeValue, &ett_z3950_T_attributeValue_complex, &ett_z3950_SEQUENCE_OF_StringOrNumeric, &ett_z3950_T_semanticAction, &ett_z3950_ProximityOperator, &ett_z3950_T_proximityUnitCode, &ett_z3950_SearchResponse, &ett_z3950_PresentRequest, &ett_z3950_SEQUENCE_OF_Range, &ett_z3950_T_recordComposition, &ett_z3950_Segment, &ett_z3950_SEQUENCE_OF_NamePlusRecord, &ett_z3950_PresentResponse, &ett_z3950_Records, &ett_z3950_SEQUENCE_OF_DiagRec, &ett_z3950_NamePlusRecord, &ett_z3950_T_record, &ett_z3950_FragmentSyntax, &ett_z3950_DiagRec, &ett_z3950_DefaultDiagFormat, &ett_z3950_T_addinfo, &ett_z3950_Range, &ett_z3950_ElementSetNames, &ett_z3950_T_databaseSpecific, &ett_z3950_T_databaseSpecific_item, &ett_z3950_CompSpec, &ett_z3950_T_dbSpecific, &ett_z3950_T_dbSpecific_item, &ett_z3950_T_compSpec_recordSyntax, &ett_z3950_Specification, &ett_z3950_T_specification_elementSpec, &ett_z3950_DeleteResultSetRequest, &ett_z3950_SEQUENCE_OF_ResultSetId, &ett_z3950_DeleteResultSetResponse, &ett_z3950_ListStatuses, &ett_z3950_ListStatuses_item, &ett_z3950_AccessControlRequest, &ett_z3950_T_securityChallenge, &ett_z3950_AccessControlResponse, &ett_z3950_T_securityChallengeResponse, &ett_z3950_ResourceControlRequest, &ett_z3950_ResourceControlResponse, &ett_z3950_TriggerResourceControlRequest, &ett_z3950_ResourceReportRequest, &ett_z3950_ResourceReportResponse, &ett_z3950_ScanRequest, &ett_z3950_ScanResponse, &ett_z3950_ListEntries, &ett_z3950_SEQUENCE_OF_Entry, &ett_z3950_Entry, &ett_z3950_TermInfo, &ett_z3950_SEQUENCE_OF_AttributesPlusTerm, &ett_z3950_OccurrenceByAttributes, &ett_z3950_OccurrenceByAttributes_item, &ett_z3950_T_occurrences, &ett_z3950_T_byDatabase, &ett_z3950_T_byDatabase_item, &ett_z3950_SortRequest, &ett_z3950_SEQUENCE_OF_InternationalString, &ett_z3950_SEQUENCE_OF_SortKeySpec, &ett_z3950_SortResponse, &ett_z3950_SortKeySpec, &ett_z3950_T_missingValueAction, &ett_z3950_SortElement, &ett_z3950_T_datbaseSpecific, &ett_z3950_T_datbaseSpecific_item, &ett_z3950_SortKey, &ett_z3950_T_sortAttributes, &ett_z3950_ExtendedServicesRequest, &ett_z3950_ExtendedServicesResponse, &ett_z3950_Permissions, &ett_z3950_Permissions_item, &ett_z3950_T_allowableFunctions, &ett_z3950_Close, &ett_z3950_OtherInformation_U, &ett_z3950_T__untag_item, &ett_z3950_T_information, &ett_z3950_InfoCategory, &ett_z3950_IntUnit, &ett_z3950_Unit, &ett_z3950_StringOrNumeric, &ett_z3950_OCLC_UserInformation, &ett_z3950_SEQUENCE_OF_DBName, &ett_z3950_OPACRecord, &ett_z3950_SEQUENCE_OF_HoldingsRecord, &ett_z3950_HoldingsRecord, &ett_z3950_HoldingsAndCircData, &ett_z3950_SEQUENCE_OF_Volume, &ett_z3950_SEQUENCE_OF_CircRecord, &ett_z3950_Volume, &ett_z3950_CircRecord, &ett_z3950_DiagnosticFormat, &ett_z3950_DiagnosticFormat_item, &ett_z3950_T_diagnosticFormat_item_diagnostic, &ett_z3950_DiagFormat, &ett_z3950_T_tooMany, &ett_z3950_T_badSpec, &ett_z3950_SEQUENCE_OF_Specification, &ett_z3950_T_dbUnavail, &ett_z3950_T_why, &ett_z3950_T_attribute, &ett_z3950_T_attCombo, &ett_z3950_SEQUENCE_OF_AttributeList, &ett_z3950_T_diagFormat_term, &ett_z3950_T_diagFormat_proximity, &ett_z3950_T_scan, &ett_z3950_T_sort, &ett_z3950_T_segmentation, &ett_z3950_T_extServices, &ett_z3950_T_accessCtrl, &ett_z3950_T_diagFormat_accessCtrl_oid, &ett_z3950_T_alternative, &ett_z3950_T_diagFormat_recordSyntax, &ett_z3950_T_suggestedAlternatives, &ett_z3950_Explain_Record, &ett_z3950_TargetInfo, &ett_z3950_SEQUENCE_OF_DatabaseList, &ett_z3950_SEQUENCE_OF_NetworkAddress, &ett_z3950_DatabaseInfo, &ett_z3950_SEQUENCE_OF_HumanString, &ett_z3950_T_recordCount, &ett_z3950_SchemaInfo, &ett_z3950_T_tagTypeMapping, &ett_z3950_T_tagTypeMapping_item, &ett_z3950_SEQUENCE_OF_ElementInfo, &ett_z3950_ElementInfo, &ett_z3950_Path, &ett_z3950_Path_item, &ett_z3950_ElementDataType, &ett_z3950_TagSetInfo, &ett_z3950_T_tagSetInfo_elements, &ett_z3950_T_tagSetInfo_elements_item, &ett_z3950_RecordSyntaxInfo, &ett_z3950_T_transferSyntaxes, &ett_z3950_AttributeSetInfo, &ett_z3950_SEQUENCE_OF_AttributeType, &ett_z3950_AttributeType, &ett_z3950_SEQUENCE_OF_AttributeDescription, &ett_z3950_AttributeDescription, &ett_z3950_TermListInfo, &ett_z3950_T_termLists, &ett_z3950_T_termLists_item, &ett_z3950_ExtendedServicesInfo, &ett_z3950_AttributeDetails, &ett_z3950_SEQUENCE_OF_AttributeSetDetails, &ett_z3950_AttributeSetDetails, &ett_z3950_SEQUENCE_OF_AttributeTypeDetails, &ett_z3950_AttributeTypeDetails, &ett_z3950_SEQUENCE_OF_AttributeValue, &ett_z3950_OmittedAttributeInterpretation, &ett_z3950_AttributeValue, &ett_z3950_TermListDetails, &ett_z3950_T_scanInfo, &ett_z3950_SEQUENCE_OF_Term, &ett_z3950_ElementSetDetails, &ett_z3950_SEQUENCE_OF_PerElementDetails, &ett_z3950_RetrievalRecordDetails, &ett_z3950_PerElementDetails, &ett_z3950_SEQUENCE_OF_Path, &ett_z3950_RecordTag, &ett_z3950_SortDetails, &ett_z3950_SEQUENCE_OF_SortKeyDetails, &ett_z3950_SortKeyDetails, &ett_z3950_T_sortType, &ett_z3950_ProcessingInformation, &ett_z3950_VariantSetInfo, &ett_z3950_SEQUENCE_OF_VariantClass, &ett_z3950_VariantClass, &ett_z3950_SEQUENCE_OF_VariantType, &ett_z3950_VariantType, &ett_z3950_VariantValue, &ett_z3950_ValueSet, &ett_z3950_SEQUENCE_OF_ValueDescription, &ett_z3950_ValueRange, &ett_z3950_ValueDescription, &ett_z3950_UnitInfo, &ett_z3950_SEQUENCE_OF_UnitType, &ett_z3950_UnitType, &ett_z3950_SEQUENCE_OF_Units, &ett_z3950_Units, &ett_z3950_CategoryList, &ett_z3950_SEQUENCE_OF_CategoryInfo, &ett_z3950_CategoryInfo, &ett_z3950_CommonInfo, &ett_z3950_HumanString, &ett_z3950_HumanString_item, &ett_z3950_IconObject, &ett_z3950_IconObject_item, &ett_z3950_T_bodyType, &ett_z3950_ContactInfo, &ett_z3950_NetworkAddress, &ett_z3950_T_internetAddress, &ett_z3950_T_osiPresentationAddress, &ett_z3950_T_networkAddress_other, &ett_z3950_AccessInfo, &ett_z3950_SEQUENCE_OF_QueryTypeDetails, &ett_z3950_T_diagnosticsSets, &ett_z3950_SEQUENCE_OF_AttributeSetId, &ett_z3950_T_schemas, &ett_z3950_T_recordSyntaxes, &ett_z3950_T_resourceChallenges, &ett_z3950_T_variantSets, &ett_z3950_SEQUENCE_OF_ElementSetName, &ett_z3950_QueryTypeDetails, &ett_z3950_PrivateCapabilities, &ett_z3950_T_privateCapabilities_operators, &ett_z3950_T_privateCapabilities_operators_item, &ett_z3950_SEQUENCE_OF_SearchKey, &ett_z3950_RpnCapabilities, &ett_z3950_T_operators, &ett_z3950_Iso8777Capabilities, &ett_z3950_ProximitySupport, &ett_z3950_T_unitsSupported, &ett_z3950_T_unitsSupported_item, &ett_z3950_T_proximitySupport_unitsSupported_item_private, &ett_z3950_SearchKey, &ett_z3950_AccessRestrictions, &ett_z3950_AccessRestrictions_item, &ett_z3950_T_accessChallenges, &ett_z3950_Costs, &ett_z3950_T_otherCharges, &ett_z3950_T_otherCharges_item, &ett_z3950_Charge, &ett_z3950_DatabaseList, &ett_z3950_AttributeCombinations, &ett_z3950_SEQUENCE_OF_AttributeCombination, &ett_z3950_AttributeCombination, &ett_z3950_AttributeOccurrence, &ett_z3950_T_attributeOccurrence_attributeValues, &ett_z3950_BriefBib, &ett_z3950_SEQUENCE_OF_FormatSpec, &ett_z3950_FormatSpec, &ett_z3950_GenericRecord, &ett_z3950_TaggedElement, &ett_z3950_ElementData, &ett_z3950_SEQUENCE_OF_TaggedElement, &ett_z3950_ElementMetaData, &ett_z3950_SEQUENCE_OF_HitVector, &ett_z3950_SEQUENCE_OF_Variant, &ett_z3950_TagPath, &ett_z3950_TagPath_item, &ett_z3950_Order, &ett_z3950_Usage, &ett_z3950_HitVector, &ett_z3950_Variant, &ett_z3950_T_triples, &ett_z3950_T_triples_item, &ett_z3950_T_variant_triples_item_value, &ett_z3950_TaskPackage, &ett_z3950_PromptObject, &ett_z3950_Challenge, &ett_z3950_Challenge_item, &ett_z3950_T_promptInfo, &ett_z3950_Response, &ett_z3950_Response_item, &ett_z3950_T_promptResponse, &ett_z3950_PromptId, &ett_z3950_T_enummeratedPrompt, &ett_z3950_Encryption, &ett_z3950_DES_RN_Object, &ett_z3950_DRNType, &ett_z3950_KRBObject, &ett_z3950_KRBRequest, &ett_z3950_KRBResponse, &ett_z3950_SearchInfoReport, &ett_z3950_SearchInfoReport_item, &ett_z3950_ResultsByDB, &ett_z3950_ResultsByDB_item, &ett_z3950_T_databases, &ett_z3950_QueryExpression, &ett_z3950_T_queryExpression_term, }; module_t *z3950_module; /* Expert info */ static ei_register_info ei[] = { /* Z39.50 expert info */ /* MARC expert info */ { &ei_marc_invalid_length, { "marc.invalid_length", PI_MALFORMED, PI_ERROR, "MARC record too short", EXPFILL }}, { &ei_marc_invalid_value, { "marc.invalid_value", PI_MALFORMED, PI_ERROR, "MARC field has invalid value", EXPFILL }}, { &ei_marc_invalid_record_length, { "marc.invalid_record_length", PI_MALFORMED, PI_ERROR, "MARC length field has invalid value", EXPFILL }}, }; expert_module_t* expert_z3950; /* Register protocol */ proto_z3950 = proto_register_protocol(PNAME, PSNAME, PFNAME); /* Register fields and subtrees */ proto_register_field_array(proto_z3950, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_z3950 = expert_register_protocol(proto_z3950); expert_register_field_array(expert_z3950, ei, array_length(ei)); /* Register preferences */ z3950_module = prefs_register_protocol(proto_z3950, NULL); prefs_register_bool_preference(z3950_module, "desegment_buffers", "Reassemble Z39.50 buffers spanning multiple TCP segments", "Whether the Z39.50 dissector should reassemble TDS buffers spanning multiple TCP segments. " "To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.", &z3950_desegment); /* Allow dissector to be found by name. */ z3950_handle = register_dissector(PSNAME, dissect_z3950_segment, proto_z3950); } /*--- proto_reg_handoff_z3950 ---------------------------------------*/ void proto_reg_handoff_z3950(void) { dissector_add_uint_with_preference("tcp.port", global_z3950_port, z3950_handle); register_ber_oid_dissector("1.2.840.10003.5.100", dissect_Explain_Record_PDU, proto_z3950, "Explain-record"); register_ber_oid_dissector("1.2.840.10003.5.101", dissect_SutrsRecord_PDU, proto_z3950, "Sutrs-record"); register_ber_oid_dissector("1.2.840.10003.5.102", dissect_OPACRecord_PDU, proto_z3950, "OPAC-record"); register_ber_oid_dissector("1.2.840.10003.5.103", dissect_BriefBib_PDU, proto_z3950, "Summary-record"); register_ber_oid_dissector("1.2.840.10003.5.105", dissect_GenericRecord_PDU, proto_z3950, "GRS-1-record"); register_ber_oid_dissector("1.2.840.10003.5.106", dissect_TaskPackage_PDU, proto_z3950, "ESTaskPackage"); register_ber_oid_dissector("1.2.840.10003.4.2", dissect_DiagnosticFormat_PDU, proto_z3950, "diag-1"); register_ber_oid_dissector("1.2.840.10003.8.1", dissect_PromptObject_PDU, proto_z3950, "Prompt-1"); register_ber_oid_dissector("1.2.840.10003.8.2", dissect_DES_RN_Object_PDU, proto_z3950, "DES-1"); register_ber_oid_dissector("1.2.840.10003.8.3", dissect_KRBObject_PDU, proto_z3950, "KRB-1"); register_ber_oid_dissector("1.2.840.10003.10.1", dissect_SearchInfoReport_PDU, proto_z3950, "SearchResult-1"); register_ber_oid_dissector("1.2.840.10003.10.1000.17.1", dissect_OCLC_UserInformation_PDU, proto_z3950, "OCLC-UserInfo-1"); register_ber_oid_dissector(Z3950_RECORDSYNTAX_MARC21_OID, dissect_marc_record, proto_z3950, "MARC21"); oid_add_from_string("Z39.50", "1.2.840.10003"); oid_add_from_string("Z39.50-APDU", "1.2.840.10003.2"); oid_add_from_string("Z39.50-attributeSet", "1.2.840.10003.3"); oid_add_from_string("Z39.50-diagnostic", "1.2.840.10003.4"); oid_add_from_string("Z39.50-recordSyntax", "1.2.840.10003.5"); oid_add_from_string("Z39.50-resourceReport", "1.2.840.10003.7"); oid_add_from_string("Z39.50-accessControl", "1.2.840.10003.8"); oid_add_from_string("Z39.50-extendedService", "1.2.840.10003.9"); oid_add_from_string("Z39.50-userinfoFormat", "1.2.840.10003.10"); oid_add_from_string("Z39.50-elementSpec", "1.2.840.10003.11"); oid_add_from_string("Z39.50-variantSet", "1.2.840.10003.12"); oid_add_from_string("Z39.50-schema", "1.2.840.10003.13"); oid_add_from_string("Z39.50-tagSet", "1.2.840.10003.14"); oid_add_from_string("Z39.50-negotiation", "1.2.840.10003.15"); oid_add_from_string("Z39.50-query", "1.2.840.10003.16"); /* MARC Record Syntaxes */ oid_add_from_string("UNIMARC","1.2.840.10003.5.1"); oid_add_from_string("INTERMARC","1.2.840.10003.5.2"); oid_add_from_string("CCF","1.2.840.10003.5.3"); oid_add_from_string("MARC21 (formerly USMARC)",Z3950_RECORDSYNTAX_MARC21_OID); oid_add_from_string("UKMARC","1.2.840.10003.5.11"); oid_add_from_string("NORMARC","1.2.840.10003.5.12"); oid_add_from_string("Librismarc","1.2.840.10003.5.13"); oid_add_from_string("danMARC2","1.2.840.10003.5.14"); oid_add_from_string("Finmarc","1.2.840.10003.5.15"); oid_add_from_string("MAB","1.2.840.10003.5.16"); oid_add_from_string("Canmarc","1.2.840.10003.5.17"); oid_add_from_string("SBN","1.2.840.10003.5.18"); oid_add_from_string("Picamarc","1.2.840.10003.5.19"); oid_add_from_string("Ausmarc","1.2.840.10003.5.20"); oid_add_from_string("Ibermarc","1.2.840.10003.5.21"); oid_add_from_string("Catmarc","1.2.840.10003.5.22"); oid_add_from_string("Malmarc","1.2.840.10003.5.23"); oid_add_from_string("JPmarc","1.2.840.10003.5.24"); oid_add_from_string("SWEMarc","1.2.840.10003.5.25"); oid_add_from_string("SIGLEmarc","1.2.840.10003.5.26"); oid_add_from_string("ISDS/ISSNmarc","1.2.840.10003.5.27"); oid_add_from_string("RUSMarc","1.2.840.10003.5.28"); oid_add_from_string("Hunmarc","1.2.840.10003.5.29"); oid_add_from_string("NACSIS-CATP","1.2.840.10003.5.30"); oid_add_from_string("FINMARC2000","1.2.840.10003.5.31"); oid_add_from_string("MARC21-fin","1.2.840.10003.5.32"); oid_add_from_string("COMARC","1.2.840.10003.5.33"); /* Non-MARC record syntaxes */ oid_add_from_string("Explain","1.2.840.10003.5.100"); oid_add_from_string("Explain with ZSQL","1.2.840.10003.5.100.1"); oid_add_from_string("SUTRS","1.2.840.10003.5.101"); oid_add_from_string("OPAC","1.2.840.10003.5.102"); oid_add_from_string("Summary","1.2.840.10003.5.103"); oid_add_from_string("GRS-0","1.2.840.10003.5.104"); oid_add_from_string("GRS-1","1.2.840.10003.5.105"); oid_add_from_string("ESTaskPackage","1.2.840.10003.5.106"); oid_add_from_string("fragment","1.2.840.10003.5.108"); /* Attribute sets */ oid_add_from_string("bib-1",Z3950_ATSET_BIB1_OID); oid_add_from_string("exp-1","1.2.840.10003.3.2"); oid_add_from_string("ext-1","1.2.840.10003.3.3"); oid_add_from_string("ccl-1","1.2.840.10003.3.4"); oid_add_from_string("gils","1.2.840.10003.3.5"); oid_add_from_string("stas","1.2.840.10003.3.6"); oid_add_from_string("collections-1","1.2.840.10003.3.7"); oid_add_from_string("cimi-1","1.2.840.10003.3.8"); oid_add_from_string("geo-1","1.2.840.10003.3.9"); oid_add_from_string("ZBIG","1.2.840.10003.3.10"); oid_add_from_string("util","1.2.840.10003.3.11"); oid_add_from_string("xd-1","1.2.840.10003.3.12"); oid_add_from_string("Zthes","1.2.840.10003.3.13"); oid_add_from_string("Fin-1","1.2.840.10003.3.14"); oid_add_from_string("Dan-1","1.2.840.10003.3.15"); oid_add_from_string("Holdings","1.2.840.10003.3.16"); oid_add_from_string("MARC","1.2.840.10003.3.17"); oid_add_from_string("bib-2","1.2.840.10003.3.18"); oid_add_from_string("ZeeRex","1.2.840.10003.3.19"); /* Diagnostic sets */ oid_add_from_string("bib-1-diagnostics",Z3950_DIAGSET_BIB1_OID); } /* MARC routines */ static int dissect_marc_record(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void * data _U_) { proto_item *record_item, *leader_item, *directory_item, *fields_item, *item; proto_tree *marc_tree, *leader_tree, *directory_tree, *fields_tree; marc_directory_entry *marc_directory; guint len = tvb_reported_length(tvb); const guint8 *marc_value_str; guint record_length = 0, data_offset = 0, length_of_field_size, starting_character_position_size, directory_entry_len, directory_entry_count, dir_index, offset = 0; guint32 marc_value_char; record_item = proto_tree_add_item(tree, hf_marc_record, tvb, 0, len, ENC_NA); marc_tree = proto_item_add_subtree(record_item, ett_marc_record); if (len < MARC_LEADER_LENGTH) { expert_add_info_format(pinfo, record_item, &ei_marc_invalid_record_length, "MARC record length %d is shorter than leader", len); } leader_item = proto_tree_add_item(marc_tree, hf_marc_leader, tvb, 0, MARC_LEADER_LENGTH, ENC_NA); leader_tree = proto_item_add_subtree(leader_item, ett_marc_leader); marc_value_str = NULL; item = proto_tree_add_item_ret_string(leader_tree, hf_marc_leader_length, tvb, offset, 5, ENC_ASCII|ENC_NA, pinfo->pool,&marc_value_str); offset += 5; if (marc_value_str) { if (isdigit_string(marc_value_str)) { record_length = (guint)strtoul(marc_value_str, NULL, 10); } else { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "MARC length field '%s' contains invalid characters", marc_value_str ); } if (record_length != len) { expert_add_info_format(pinfo, item, &ei_marc_invalid_length, "MARC length field value %d does not match reported length %d", record_length, len); } } proto_tree_add_item(leader_tree, hf_marc_leader_status, tvb, offset, 1, ENC_ASCII); offset += 1; proto_tree_add_item(leader_tree, hf_marc_leader_type, tvb, offset, 1, ENC_ASCII); offset += 1; proto_tree_add_item(leader_tree, hf_marc_leader_biblevel, tvb, offset, 1, ENC_ASCII); offset += 1; proto_tree_add_item(leader_tree, hf_marc_leader_control, tvb, offset, 1, ENC_ASCII); offset += 1; proto_tree_add_item(leader_tree, hf_marc_leader_encoding, tvb, offset, 1, ENC_ASCII); offset += 1; marc_value_char = MARC_CHAR_UNINITIALIZED; item = proto_tree_add_item_ret_uint(leader_tree, hf_marc_leader_indicator_count, tvb, offset, 1, ENC_ASCII, &marc_value_char); offset += 1; if (marc_value_char != MARC_CHAR_UNINITIALIZED) { if (!marc_isdigit(marc_value_char)) { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "Indicator count '%c' is invalid", marc_value_char); } else { if (marc_char_to_int(marc_value_char) != 2) { expert_add_info_format(pinfo, item, &ei_marc_invalid_length, "MARC21 requires indicator count equal 2, not %d", marc_char_to_int(marc_value_char)); } } } marc_value_char = MARC_CHAR_UNINITIALIZED; item = proto_tree_add_item_ret_uint(leader_tree, hf_marc_leader_subfield_count, tvb, offset, 1, ENC_ASCII, &marc_value_char); offset += 1; if (marc_value_char != MARC_CHAR_UNINITIALIZED) { if (!marc_isdigit(marc_value_char)) { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "Subfield count '%c' is invalid", marc_value_char); } else { if (marc_char_to_int(marc_value_char) != 2) { expert_add_info_format(pinfo, item, &ei_marc_invalid_length, "MARC21 requires subfield count equal 2, not %d", marc_char_to_int(marc_value_char)); } } } item = proto_tree_add_item_ret_string(leader_tree, hf_marc_leader_data_offset, tvb, offset, 5, ENC_ASCII|ENC_NA, pinfo->pool,&marc_value_str); offset += 5; if (marc_value_str) { if (isdigit_string(marc_value_str)) { data_offset = (guint)strtoul(marc_value_str, NULL, 10); } else { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "MARC data offset field '%s' contains invalid characters", marc_value_str ); } if (data_offset < MARC_LEADER_LENGTH || data_offset > record_length) { expert_add_info_format(pinfo, item, &ei_marc_invalid_length, "MARC data offset %d does not lie within record (length %d)", data_offset, len); } } proto_tree_add_item(leader_tree, hf_marc_leader_encoding_level, tvb, offset, 1, ENC_ASCII); offset += 1; proto_tree_add_item(leader_tree, hf_marc_leader_descriptive_cataloging, tvb, offset, 1, ENC_ASCII); offset += 1; proto_tree_add_item(leader_tree, hf_marc_leader_multipart_level, tvb, offset, 1, ENC_ASCII); offset += 1; marc_value_char = MARC_CHAR_UNINITIALIZED; item = proto_tree_add_item_ret_uint(leader_tree, hf_marc_leader_length_of_field_length, tvb, offset, 1, ENC_ASCII, &marc_value_char); offset += 1; length_of_field_size = 4; if (marc_value_char != MARC_CHAR_UNINITIALIZED) { if (!marc_isdigit(marc_value_char)) { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "Length-of field-length '%c' is invalid", marc_value_char); } else { if (marc_char_to_int(marc_value_char) != 4) { expert_add_info_format(pinfo, item, &ei_marc_invalid_length, "MARC21 requires length-of-field equal 4, not %d", marc_char_to_int(marc_value_char)); } } } marc_value_char = MARC_CHAR_UNINITIALIZED; item = proto_tree_add_item_ret_uint(leader_tree, hf_marc_leader_starting_character_position_length, tvb, offset, 1, ENC_ASCII, &marc_value_char); offset += 1; starting_character_position_size = 5; if (marc_value_char != MARC_CHAR_UNINITIALIZED) { if (!marc_isdigit(marc_value_char)) { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "Starting-character-position length '%c' is invalid", marc_value_char); } else { if (marc_char_to_int(marc_value_char) != 5) { expert_add_info_format(pinfo, item, &ei_marc_invalid_length, "MARC21 requires starting-character-position equal 5, not %d", marc_char_to_int(marc_value_char)); } } } proto_tree_add_item(leader_tree, hf_marc_leader_implementation_defined_length, tvb, offset, 1, ENC_ASCII); offset += 1; /* One position is defined as unused-must-be-zero. * Don't bother displaying or checking it. */ offset += 1; /* Process the directory */ directory_entry_len = 3 + length_of_field_size + starting_character_position_size; directory_entry_count = ((data_offset - 1) - MARC_LEADER_LENGTH) / directory_entry_len; marc_directory = (marc_directory_entry *)wmem_alloc0(pinfo->pool, directory_entry_count * sizeof(marc_directory_entry)); directory_item = proto_tree_add_item(marc_tree, hf_marc_directory, tvb, offset, data_offset - offset, ENC_NA); directory_tree = proto_item_add_subtree(directory_item, ett_marc_directory); dir_index = 0; /* Minus one for the terminator character */ while (offset < (data_offset - 1)) { guint32 tag_value = 0, length_value = 0, starting_char_value = 0; proto_item *length_item; proto_item *directory_entry_item; proto_tree *directory_entry_tree; directory_entry_item = proto_tree_add_item(directory_tree, hf_marc_directory_entry, tvb, offset, directory_entry_len, ENC_NA); directory_entry_tree = proto_item_add_subtree(directory_entry_item, ett_marc_directory_entry); marc_value_str = NULL; item = proto_tree_add_item_ret_string(directory_entry_tree, hf_marc_directory_entry_tag, tvb, offset, 3, ENC_ASCII, pinfo->pool, &marc_value_str); offset += 3; if (marc_value_str) { if (isdigit_string(marc_value_str)) { tag_value = (guint)strtoul(marc_value_str, NULL, 10); } else { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "MARC directory tag value %d ('%s') contains invalid characters", dir_index, marc_value_str ); } } marc_value_str = NULL; length_item = proto_tree_add_item_ret_string(directory_entry_tree, hf_marc_directory_entry_length, tvb, offset, length_of_field_size, ENC_ASCII, pinfo->pool, &marc_value_str); offset += length_of_field_size; if (marc_value_str) { if (isdigit_string(marc_value_str)) { length_value = (guint)strtoul(marc_value_str, NULL, 10); } else { expert_add_info_format(pinfo, length_item, &ei_marc_invalid_value, "MARC directory length value %d ('%s') contains invalid characters", dir_index, marc_value_str ); } } marc_value_str = NULL; item = proto_tree_add_item_ret_string(directory_entry_tree, hf_marc_directory_entry_starting_position, tvb, offset, starting_character_position_size, ENC_ASCII, pinfo->pool, &marc_value_str); offset += starting_character_position_size; if (marc_value_str) { if (isdigit_string(marc_value_str)) { starting_char_value = (guint)strtoul(marc_value_str, NULL, 10); } else { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "MARC directory entry %d starting char value '%s' contains invalid characters", dir_index, marc_value_str ); } } if (starting_char_value >= (record_length - data_offset)) { expert_add_info_format(pinfo, item, &ei_marc_invalid_value, "MARC directory entry %d starting char value %d is outside record size %d", dir_index, starting_char_value, (record_length - data_offset)); } if ((starting_char_value + length_value) >= (record_length - data_offset)) { expert_add_info_format(pinfo, length_item, &ei_marc_invalid_value, "MARC directory entry %d length value %d goes outside record size %d", dir_index, length_value, (record_length - data_offset)); } marc_directory[dir_index].tag = tag_value; marc_directory[dir_index].length = length_value; marc_directory[dir_index].starting_character = starting_char_value; dir_index++; } proto_tree_add_item(directory_tree, hf_marc_directory_terminator, tvb, offset, 1, ENC_ASCII); offset += 1; fields_item = proto_tree_add_item(marc_tree, hf_marc_fields, tvb, offset, record_length - offset, ENC_NA); fields_tree = proto_item_add_subtree(fields_item, ett_marc_fields); for (dir_index = 0; dir_index < directory_entry_count; dir_index++) { const gchar *tag_str; proto_item *field_item; proto_tree *field_tree; field_item = proto_tree_add_item(fields_tree, hf_marc_field, tvb, offset, marc_directory[dir_index].length, ENC_NA); field_tree = proto_item_add_subtree(field_item, ett_marc_field); tag_str = try_val_to_str(marc_directory[dir_index].tag, marc_tag_names); if (tag_str) { proto_item_append_text(field_item," Tag %03d (%s)", marc_directory[dir_index].tag, tag_str); } else { proto_item_append_text(field_item," Tag %03d", marc_directory[dir_index].tag); } if (marc_directory[dir_index].tag < 10) { proto_tree_add_item(field_tree, hf_marc_field_control, tvb, offset, marc_directory[dir_index].length - 1, ENC_ASCII); offset += marc_directory[dir_index].length - 1; proto_tree_add_item(field_tree, hf_marc_field_terminator, tvb, offset, 1, ENC_ASCII); offset += 1; } else { guint next_offset = offset + marc_directory[dir_index].length - 1; proto_tree_add_item(field_tree, hf_marc_field_indicator1, tvb, offset, 1, ENC_ASCII); offset += 1; proto_tree_add_item(field_tree, hf_marc_field_indicator2, tvb, offset, 1, ENC_ASCII); offset += 1; do { gint next_subfield; proto_tree_add_item(field_tree, hf_marc_field_subfield_indicator, tvb, offset, 1, ENC_ASCII); offset += 1; proto_tree_add_item(field_tree, hf_marc_field_subfield_tag, tvb, offset, 1, ENC_ASCII); offset += 1; next_subfield = tvb_find_guint8(tvb, offset, next_offset - offset, MARC_SUBFIELD_INDICATOR); if (next_subfield >= 0) { proto_tree_add_item(field_tree, hf_marc_field_subfield, tvb, offset, next_subfield - offset, ENC_ASCII); offset += (next_subfield - offset); } else { proto_tree_add_item(field_tree, hf_marc_field_subfield, tvb, offset, next_offset - offset, ENC_ASCII); offset = next_offset; } } while (offset < next_offset); proto_tree_add_item(field_tree, hf_marc_field_terminator, tvb, offset, 1, ENC_ASCII); offset += 1; } } proto_tree_add_item(marc_tree, hf_marc_record_terminator, tvb, offset, 1, ENC_ASCII); offset += 1; if (offset != len) { expert_add_info_format(pinfo, record_item, &ei_marc_invalid_record_length, "MARC record component length %d does not match record length %d", offset, len); } return len; } /* * Editor modelines * * Local Variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zabbix.c
/* packet-zabbix.c * Routines for Zabbix protocol dissection * Copyright 2023, Markku Leiniö <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* * Zabbix protocol specifications can be found in Zabbix documentation: * https://www.zabbix.com/documentation/current/en/manual/appendix/protocols */ #include "config.h" #include <epan/conversation.h> #include <epan/expert.h> #include <epan/packet.h> #include <epan/prefs.h> #include <wsutil/inet_addr.h> #include <wsutil/nstime.h> #include <wsutil/wsjson.h> #include "packet-tcp.h" void proto_register_zabbix(void); void proto_reg_handoff_zabbix(void); static dissector_handle_t zabbix_handle; /* Desegmentation of Zabbix protocol over TCP */ static gboolean zabbix_desegment = true; /* Initialize the protocol and registered fields */ static int proto_zabbix = -1; static int hf_zabbix_header = -1; static int hf_zabbix_flags = -1; static int hf_zabbix_flag_zabbix_communications = -1; static int hf_zabbix_flag_compressed = -1; static int hf_zabbix_flag_largepacket = -1; static int hf_zabbix_flag_reserved = -1; static int hf_zabbix_length = -1; static int hf_zabbix_reserved = -1; static int hf_zabbix_uncompressed_length = -1; static int hf_zabbix_large_length = -1; static int hf_zabbix_large_reserved = -1; static int hf_zabbix_large_uncompressed_length = -1; static int hf_zabbix_data = -1; static int hf_zabbix_time = -1; static int hf_zabbix_agent = -1; static int hf_zabbix_agent_config = -1; static int hf_zabbix_agent_data = -1; static int hf_zabbix_agent_passive = -1; static int hf_zabbix_agent_name = -1; static int hf_zabbix_agent_hb = -1; static int hf_zabbix_agent_hb_freq = -1; static int hf_zabbix_agent_hostmetadata = -1; static int hf_zabbix_agent_hostinterface = -1; static int hf_zabbix_agent_listenipv4 = -1; static int hf_zabbix_agent_listenipv6 = -1; static int hf_zabbix_agent_listenport = -1; static int hf_zabbix_proxy = -1; static int hf_zabbix_proxy_hb = -1; static int hf_zabbix_proxy_name = -1; static int hf_zabbix_proxy_data = -1; static int hf_zabbix_proxy_config = -1; static int hf_zabbix_proxy_fullsync = -1; static int hf_zabbix_proxy_incr_config = -1; static int hf_zabbix_proxy_no_config_change = -1; static int hf_zabbix_sender = -1; static int hf_zabbix_sender_name = -1; static int hf_zabbix_request = -1; static int hf_zabbix_response = -1; static int hf_zabbix_success = -1; static int hf_zabbix_failed = -1; static int hf_zabbix_config_revision = -1; static int hf_zabbix_session = -1; static int hf_zabbix_version = -1; /* Initialize the subtree pointers */ static int ett_zabbix = -1; /* Initialize expert fields */ static expert_field ei_zabbix_packet_too_large = EI_INIT; static expert_field ei_zabbix_json_error = EI_INIT; /* Other dissector-specifics */ static range_t *zabbix_port_range; static const guint8 ZABBIX_HDR_SIGNATURE[] = "ZBXD"; static const char ZABBIX_UNKNOWN[] = "<unknown>"; typedef struct _zabbix_conv_info_t { guint32 req_framenum; nstime_t req_timestamp; uint16_t oper_flags; /* ZABBIX_T_XXX macros below */ const guint8 *host_name; } zabbix_conv_info_t; #define ZABBIX_HDR_MIN_LEN 13 /* When not large packet */ #define ZABBIX_HDR_MAX_LEN 21 /* When large packet */ #define ZABBIX_MAX_LENGTH_ALLOWED 1024*1024*1024 /* 1 GB */ #define ZABBIX_TCP_PORTS "10050,10051" /* IANA registered ports */ #define ZABBIX_FLAG_ZABBIX_COMMUNICATIONS 0x01 #define ZABBIX_FLAG_COMPRESSED 0x02 #define ZABBIX_FLAG_LARGEPACKET 0x04 #define ZABBIX_FLAG_RESERVED 0xf8 /* Response flags are not saved in the conversations */ #define ZABBIX_RESPONSE_SUCCESS 0x01 #define ZABBIX_RESPONSE_FAILED 0x02 #define ZABBIX_RESPONSE_FULLSYNC 0x04 #define ZABBIX_RESPONSE_INCREMENTAL 0x08 #define ZABBIX_RESPONSE_NOCHANGE 0x10 /* Flags for saving and comparing operation types, * max 16 bits as defined in zabbix_conv_info_t above */ #define ZABBIX_T_REQUEST 0x00000001 /* Not set for heartbeats */ #define ZABBIX_T_RESPONSE 0x00000002 #define ZABBIX_T_ACTIVE 0x00000004 #define ZABBIX_T_PASSIVE 0x00000008 #define ZABBIX_T_AGENT 0x00000010 #define ZABBIX_T_PROXY 0x00000020 #define ZABBIX_T_SENDER 0x00000040 #define ZABBIX_T_CONFIG 0x00000080 #define ZABBIX_T_DATA 0x00000100 #define ZABBIX_T_HEARTBEAT 0x00000200 #define ADD_ZABBIX_T_FLAGS(flags) (zabbix_info->oper_flags |= (flags)) #define CLEAR_ZABBIX_T_FLAGS(flags) (zabbix_info->oper_flags &= (0xffff-(flags))) #define IS_ZABBIX_T_FLAGS(flags) ((zabbix_info->oper_flags & (flags)) == (flags)) #define CONV_IS_ZABBIX_REQUEST(zabbix_info,pinfo) ((zabbix_info)->req_framenum == (pinfo)->fd->num) #define CONV_IS_ZABBIX_RESPONSE(zabbix_info,pinfo) ((zabbix_info)->req_framenum != (pinfo)->fd->num) static zabbix_conv_info_t* zabbix_find_conversation_and_get_conv_data(packet_info *pinfo) { conversation_t *conversation; zabbix_conv_info_t *zabbix_info = NULL; conversation = find_conversation_pinfo(pinfo, 0); if (conversation) { zabbix_info = (zabbix_conv_info_t *)conversation_get_proto_data(conversation, proto_zabbix); } else { conversation = conversation_new(pinfo->num, &pinfo->src, &pinfo->dst, conversation_pt_to_conversation_type(pinfo->ptype), pinfo->srcport, pinfo->destport, 0); } if (!zabbix_info) { /* New conversation, or there was no Zabbix data yet in the existing conv */ zabbix_info = wmem_alloc(wmem_file_scope(), sizeof(zabbix_conv_info_t)); if (value_is_in_range(zabbix_port_range, pinfo->destport)) { /* Let's assume this is the first Zabbix packet (request) */ zabbix_info->req_framenum = pinfo->fd->num; zabbix_info->req_timestamp = pinfo->abs_ts; } else { /* For any reason we didn't have Zabbix data yet but this is not * the first packet for the connection, so don't save it as a request */ zabbix_info->req_framenum = 0; nstime_set_unset(&zabbix_info->req_timestamp); /* For some reason this produces "syntax error: '{'" when compiling: zabbix_info->req_timestamp = NSTIME_INIT_UNSET; */ } zabbix_info->oper_flags = 0; zabbix_info->host_name = NULL; conversation_add_proto_data(conversation, proto_zabbix, (void *)zabbix_info); } return zabbix_info; } static void zabbix_add_expert_info_if_too_large(packet_info *pinfo, proto_tree *tree_item, uint64_t length, bool *is_too_large) { if (length > ZABBIX_MAX_LENGTH_ALLOWED) { expert_add_info(pinfo, tree_item, &ei_zabbix_packet_too_large); *is_too_large = true; } return; } static int dissect_zabbix_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { int offset = 0; int agent_hb_freq = 0; unsigned oper_response = 0; proto_item *ti; proto_item *pi; proto_tree *temp_ti; proto_tree *zabbix_tree = NULL; uint8_t flags; uint16_t agent_listenport = 0; uint64_t length; uint64_t uncompressed_length; uint64_t datalen; int64_t config_revision = -1; bool is_compressed; bool is_large_packet; bool is_too_large = false; char *json_str; jsmntok_t *data_array = NULL; jsmntok_t *data_object = NULL; const char *agent_name = NULL; const char *agent_hostmetadata = NULL; const char *agent_hostinterface = NULL; const char *agent_listenip = NULL; const char *proxy_name = NULL; const char *sender_name = NULL; const char *session = NULL; const char *request_type = NULL; const char *response_status = NULL; const char *version = NULL; gdouble temp_double; tvbuff_t *next_tvb; zabbix_conv_info_t *zabbix_info; static int* const flagbits[] = { &hf_zabbix_flag_reserved, &hf_zabbix_flag_largepacket, &hf_zabbix_flag_compressed, &hf_zabbix_flag_zabbix_communications, NULL }; /* Make entries in Protocol column and Info column on summary display */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "Zabbix"); col_clear(pinfo->cinfo, COL_INFO); if ((tvb_reported_length(tvb) < ZABBIX_HDR_MIN_LEN) || (tvb_memeql(tvb, offset, ZABBIX_HDR_SIGNATURE, 4) == -1)) { /* Encrypted or not Zabbix at all */ return 0; } flags = tvb_get_guint8(tvb, offset+4); if (!(flags & ZABBIX_FLAG_ZABBIX_COMMUNICATIONS)) { return 0; } zabbix_info = zabbix_find_conversation_and_get_conv_data(pinfo); is_compressed = (flags & ZABBIX_FLAG_COMPRESSED) > 0; is_large_packet = (flags & ZABBIX_FLAG_LARGEPACKET) > 0; /* create display subtree for the protocol */ ti = proto_tree_add_item(tree, proto_zabbix, tvb, 0, -1, ENC_NA); zabbix_tree = proto_item_add_subtree(ti, ett_zabbix); proto_tree_add_item(zabbix_tree, hf_zabbix_header, tvb, offset, 4, ENC_UTF_8); offset += 4; proto_tree_add_bitmask(zabbix_tree, tvb, offset, hf_zabbix_flags, ett_zabbix, flagbits, ENC_BIG_ENDIAN); offset += 1; if (is_large_packet) { /* 8-byte values */ temp_ti = proto_tree_add_item_ret_uint64(zabbix_tree, hf_zabbix_large_length, tvb, offset, 8, ENC_LITTLE_ENDIAN, &length); zabbix_add_expert_info_if_too_large(pinfo, temp_ti, length, &is_too_large); offset += 8; if (is_compressed) { temp_ti = proto_tree_add_item_ret_uint64(zabbix_tree, hf_zabbix_large_uncompressed_length, tvb, offset, 8, ENC_LITTLE_ENDIAN, &uncompressed_length); zabbix_add_expert_info_if_too_large(pinfo, temp_ti, uncompressed_length, &is_too_large); } else { proto_tree_add_item(zabbix_tree, hf_zabbix_large_reserved, tvb, offset, 8, ENC_LITTLE_ENDIAN); } offset += 8; } else { /* 4-byte values */ uint32_t temp_uint32; temp_ti = proto_tree_add_item_ret_uint(zabbix_tree, hf_zabbix_length, tvb, offset, 4, ENC_LITTLE_ENDIAN, &temp_uint32); length = (uint64_t)temp_uint32; zabbix_add_expert_info_if_too_large(pinfo, temp_ti, length, &is_too_large); offset += 4; if (is_compressed) { temp_ti = proto_tree_add_item_ret_uint(zabbix_tree, hf_zabbix_uncompressed_length, tvb, offset, 4, ENC_LITTLE_ENDIAN, &temp_uint32); uncompressed_length = (uint64_t)temp_uint32; zabbix_add_expert_info_if_too_large(pinfo, temp_ti, uncompressed_length, &is_too_large); } else { proto_tree_add_item(zabbix_tree, hf_zabbix_reserved, tvb, offset, 4, ENC_LITTLE_ENDIAN); } offset += 4; } if (is_too_large) { /* Set next_tvb for response time calculation to work later */ next_tvb = tvb_new_subset_remaining(tvb, offset); /* ... but don't do any content-based inspection, just skip to the end */ goto final_outputs; } else if (is_compressed) { next_tvb = tvb_uncompress(tvb, offset, tvb_reported_length_remaining(tvb, offset)); if (next_tvb) { tvb_set_child_real_data_tvbuff(tvb, next_tvb); add_new_data_source(pinfo, next_tvb, "Uncompressed data"); datalen = uncompressed_length; } else { /* Handle uncompressed */ next_tvb = tvb_new_subset_remaining(tvb, offset); datalen = length; } } else { next_tvb = tvb_new_subset_remaining(tvb, offset); datalen = length; } /* Use only next_tvb and datalen for data extraction from here on! */ offset = 0; /* Rewrite the default texts in the protocol tree and initialize request/response flags */ if (CONV_IS_ZABBIX_REQUEST(zabbix_info, pinfo)) { proto_item_set_text(ti, "Zabbix Protocol request"); ADD_ZABBIX_T_FLAGS(ZABBIX_T_REQUEST); CLEAR_ZABBIX_T_FLAGS(ZABBIX_T_RESPONSE); } else if (CONV_IS_ZABBIX_RESPONSE(zabbix_info, pinfo)) { proto_item_set_text(ti, "Zabbix Protocol response"); ADD_ZABBIX_T_FLAGS(ZABBIX_T_RESPONSE); CLEAR_ZABBIX_T_FLAGS(ZABBIX_T_REQUEST); } /* * Note that json_str is modified when using json_get_xxx() functions below! * So don't use it to anything else (make a wmem_strdup() if needed) */ json_str = tvb_get_string_enc(pinfo->pool, next_tvb, offset, (int)datalen, ENC_UTF_8); if (CONV_IS_ZABBIX_REQUEST(zabbix_info, pinfo) && !json_validate(json_str, datalen)) { /* The only non-JSON Zabbix request is passive agent, update the conversation data */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_AGENT | ZABBIX_T_PASSIVE); } if (IS_ZABBIX_T_FLAGS(ZABBIX_T_AGENT | ZABBIX_T_PASSIVE)) { if (CONV_IS_ZABBIX_REQUEST(zabbix_info, pinfo)) { proto_item_set_text(ti, "Zabbix Passive agent request"); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Passive agent request"); } else if (CONV_IS_ZABBIX_RESPONSE(zabbix_info, pinfo)) { proto_item_set_text(ti, "Zabbix Passive agent response"); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Passive agent response"); } /* Don't do content-based searches for passive agents */ goto show_agent_outputs; } /* Parse JSON, first get the token count */ int token_count = json_parse(json_str, NULL, 0); if (token_count <= 0) { temp_ti = proto_tree_add_item(zabbix_tree, hf_zabbix_data, next_tvb, 0, (int)datalen, ENC_UTF_8); expert_add_info_format(pinfo, temp_ti, &ei_zabbix_json_error, "Error in initial JSON parse"); goto final_outputs; } jsmntok_t *tokens = wmem_alloc_array(pinfo->pool, jsmntok_t, token_count); int ret = json_parse(json_str, tokens, token_count); if (ret <= 0) { temp_ti = proto_tree_add_item(zabbix_tree, hf_zabbix_data, next_tvb, 0, (int)datalen, ENC_UTF_8); expert_add_info_format(pinfo, temp_ti, &ei_zabbix_json_error, "Error parsing JSON tokens"); goto final_outputs; } /* * Now we have JSON tokens analyzed, let's do all the logic to populate the fields. * Also set Zabbix tree item and Info column texts, Len= and ports will be added later below. */ /* First populate common fields */ version = json_get_string(json_str, tokens, "version"); session = json_get_string(json_str, tokens, "session"); if (json_get_double(json_str, tokens, "config_revision", &temp_double)) { config_revision = (int64_t)temp_double; } request_type = json_get_string(json_str, tokens, "request"); response_status = json_get_string(json_str, tokens, "response"); data_array = json_get_array(json_str, tokens, "data"); data_object = json_get_object(json_str, tokens, "data"); if (request_type) { if (strcmp(request_type, "active checks") == 0) { /* Active agent requesting configs */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_AGENT | ZABBIX_T_CONFIG | ZABBIX_T_ACTIVE); agent_name = json_get_string(json_str, tokens, "host"); zabbix_info->host_name = wmem_strdup(wmem_file_scope(), agent_name); proto_item_set_text(ti, "Zabbix Request for active checks for \"%s\"", (agent_name ? agent_name : ZABBIX_UNKNOWN)); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Request for active checks for \"%s\"", (agent_name ? agent_name : ZABBIX_UNKNOWN)); agent_hostmetadata = json_get_string(json_str, tokens, "host_metadata"); agent_hostinterface = json_get_string(json_str, tokens, "interface"); agent_listenip = json_get_string(json_str, tokens, "ip"); if (json_get_double(json_str, tokens, "port", &temp_double)) { agent_listenport = (uint16_t)temp_double; } } else if (strcmp(request_type, "agent data") == 0) { /* Active agent sending data */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_AGENT | ZABBIX_T_DATA | ZABBIX_T_ACTIVE); /* Zabbix Agent 2 has Host in the top level */ agent_name = json_get_string(json_str, tokens, "host"); if (!agent_name) { /* For Zabbix Agent try parsing agent name inside data array */ jsmntok_t *tok = json_get_array(json_str, tokens, "data"); if (tok && json_get_array_len(tok) > 0) { jsmntok_t *datatok = json_get_array_index(tok, 0); agent_name = json_get_string(json_str, datatok, "host"); } } zabbix_info->host_name = wmem_strdup(wmem_file_scope(), agent_name); proto_item_set_text(ti, "Zabbix Send agent data from \"%s\"", (agent_name ? agent_name : ZABBIX_UNKNOWN)); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Send agent data from \"%s\"", (agent_name ? agent_name : ZABBIX_UNKNOWN)); } else if (strcmp(request_type, "active check heartbeat") == 0) { /* Active agent sending heartbeat */ /* Clear the request flag first */ zabbix_info->oper_flags = 0; ADD_ZABBIX_T_FLAGS(ZABBIX_T_AGENT | ZABBIX_T_HEARTBEAT | ZABBIX_T_ACTIVE); agent_name = json_get_string(json_str, tokens, "host"); if (json_get_double(json_str, tokens, "heartbeat_freq", &temp_double)) { agent_hb_freq = (int)temp_double; } proto_item_set_text(ti, "Zabbix Agent heartbeat from \"%s\"", (agent_name ? agent_name : ZABBIX_UNKNOWN)); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Agent heartbeat from \"%s\"", (agent_name ? agent_name : ZABBIX_UNKNOWN)); } else if (strcmp(request_type, "sender data") == 0) { /* Sender/trapper */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_SENDER); /* Try to get the sender name from the first data array item */ jsmntok_t *tok = json_get_array(json_str, tokens, "data"); if (tok && json_get_array_len(tok) > 0) { jsmntok_t *datatok = json_get_array_index(tok, 0); sender_name = json_get_string(json_str, datatok, "host"); } zabbix_info->host_name = wmem_strdup(wmem_file_scope(), sender_name); proto_item_set_text(ti, "Zabbix Sender data from \"%s\"", (sender_name ? sender_name : ZABBIX_UNKNOWN)); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Sender data from \"%s\"", (sender_name ? sender_name : ZABBIX_UNKNOWN)); } else if ((strcmp(request_type, "proxy data") == 0) || (strcmp(request_type, "host availability") == 0) || (strcmp(request_type, "history data") == 0) || (strcmp(request_type, "discovery data") == 0) || (strcmp(request_type, "auto registration") == 0)) { /* Either active or passive proxy; "proxy data" = Zabbix 3.4+, * others = Zabbix 3.2 or older */ proxy_name = json_get_string(json_str, tokens, "host"); if (token_count == 3) { /* Only '{"request":"xxx"}' */ /* This is Zabbix server connecting to passive proxy */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_DATA | ZABBIX_T_PASSIVE); proto_item_set_text(ti, "Zabbix Request for passive proxy data"); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Request for passive proxy data"); } else if (proxy_name) { /* This is an active proxy connecting to server */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_DATA | ZABBIX_T_ACTIVE); zabbix_info->host_name = wmem_strdup(wmem_file_scope(), proxy_name); proto_item_set_text(ti, "Zabbix Proxy data from \"%s\"", proxy_name); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Proxy data from \"%s\"", proxy_name); } } else if (strcmp(request_type, "proxy config") == 0) { /* Either active or passive proxy */ proxy_name = json_get_string(json_str, tokens, "host"); if (token_count == 3) { /* Only '{"request":"proxy config"}' */ /* This is Zabbix 6.4+ server connecting to passive proxy */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_CONFIG | ZABBIX_T_PASSIVE); proto_item_set_text(ti, "Zabbix Start send proxy config to passive proxy"); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Start send proxy config to passive proxy"); } else if (proxy_name) { /* This is an active proxy connecting to server */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_CONFIG | ZABBIX_T_ACTIVE); zabbix_info->host_name = wmem_strdup(wmem_file_scope(), proxy_name); proto_item_set_text(ti, "Zabbix Request proxy config for \"%s\"", proxy_name); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Request proxy config for \"%s\"", proxy_name); } } else if (strcmp(request_type, "proxy heartbeat") == 0) { /* Heartbeat from active proxy, not used in Zabbix 6.4+ */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_HEARTBEAT | ZABBIX_T_ACTIVE); proxy_name = json_get_string(json_str, tokens, "host"); zabbix_info->host_name = wmem_strdup(wmem_file_scope(), proxy_name); proto_item_set_text(ti, "Zabbix Proxy heartbeat from \"%s\"", proxy_name); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Proxy heartbeat from \"%s\"", proxy_name); } } else if (json_get_object(json_str, tokens, "globalmacro")) { /* This is Zabbix server before 6.4 sending configurations to active proxy */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_CONFIG | ZABBIX_T_ACTIVE); proxy_name = zabbix_info->host_name; proto_item_set_text(ti, "Zabbix Response for proxy config for \"%s\"", (proxy_name ? proxy_name : ZABBIX_UNKNOWN)); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for proxy config for \"%s\"", (proxy_name ? proxy_name : ZABBIX_UNKNOWN)); } else if (json_get_double(json_str, tokens, "full_sync", &temp_double)) { /* This is Zabbix 6.4+ server sending proxy config to active or passive proxy */ /* Only present when value is 1 */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_CONFIG); oper_response |= ZABBIX_RESPONSE_FULLSYNC; /* Active/passive flag was set in the earlier packet */ if (IS_ZABBIX_T_FLAGS(ZABBIX_T_PASSIVE)) { /* There is no proxy name anywhere to use */ proto_item_set_text(ti, "Zabbix Passive proxy config"); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Passive proxy config"); } else { proxy_name = zabbix_info->host_name; proto_item_set_text(ti, "Zabbix Response for proxy config for \"%s\"", (proxy_name ? proxy_name : ZABBIX_UNKNOWN)); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for proxy config for \"%s\"", (proxy_name ? proxy_name : ZABBIX_UNKNOWN)); } } else if (response_status) { if (strcmp(response_status, "success") == 0) { oper_response |= ZABBIX_RESPONSE_SUCCESS; } else if (strcmp(response_status, "failed") == 0) { oper_response |= ZABBIX_RESPONSE_FAILED; } if (IS_ZABBIX_T_FLAGS(ZABBIX_T_AGENT)) { agent_name = zabbix_info->host_name; if (IS_ZABBIX_T_FLAGS(ZABBIX_T_CONFIG | ZABBIX_T_ACTIVE)) { proto_item_set_text(ti, "Zabbix Response for active checks for \"%s\" (%s)", (agent_name ? agent_name : ZABBIX_UNKNOWN), response_status); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for active checks for \"%s\" (%s)", (agent_name ? agent_name : ZABBIX_UNKNOWN), response_status); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_DATA | ZABBIX_T_ACTIVE)) { proto_item_set_text(ti, "Zabbix Response for agent data for \"%s\" (%s)", (agent_name ? agent_name : ZABBIX_UNKNOWN), response_status); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for agent data for \"%s\" (%s)", (agent_name ? agent_name : ZABBIX_UNKNOWN), response_status); } } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_PROXY)) { proxy_name = zabbix_info->host_name; if (IS_ZABBIX_T_FLAGS(ZABBIX_T_CONFIG | ZABBIX_T_ACTIVE)) { proto_item_set_text(ti, "Zabbix Response for active proxy config request for \"%s\" (%s)", (proxy_name ? proxy_name : ZABBIX_UNKNOWN), response_status); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for active proxy config request for \"%s\" (%s)", (proxy_name ? proxy_name : ZABBIX_UNKNOWN), response_status); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_DATA | ZABBIX_T_ACTIVE)) { proto_item_set_text(ti, "Zabbix Response for active proxy data for \"%s\" (%s)", (proxy_name ? proxy_name : ZABBIX_UNKNOWN), response_status); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for active proxy data for \"%s\" (%s)", (proxy_name ? proxy_name : ZABBIX_UNKNOWN), response_status); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_CONFIG | ZABBIX_T_PASSIVE)) { proto_item_set_text(ti, "Zabbix Response for passive proxy config (%s)", response_status); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for passive proxy config (%s)", response_status); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_DATA | ZABBIX_T_PASSIVE)) { proto_item_set_text(ti, "Zabbix Response for passive proxy data (%s)", response_status); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for passive proxy data (%s)", response_status); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_HEARTBEAT | ZABBIX_T_ACTIVE)) { proto_item_set_text(ti, "Zabbix Response for active proxy heartbeat for \"%s\" (%s)", (proxy_name ? proxy_name : ZABBIX_UNKNOWN), response_status); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for active proxy heartbeat for \"%s\" (%s)", (proxy_name ? proxy_name : ZABBIX_UNKNOWN), response_status); } } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_SENDER)) { sender_name = zabbix_info->host_name; proto_item_set_text(ti, "Zabbix Response for sender data for \"%s\" (%s)", (sender_name ? sender_name : ZABBIX_UNKNOWN), response_status); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for sender data for \"%s\" (%s)", (sender_name ? sender_name : ZABBIX_UNKNOWN), response_status); } } else if (data_object || data_array) { /* No other match above, let's assume this is server sending incremental * configuration to a proxy */ ADD_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_CONFIG); if (data_object && (data_object->size == 0)) { /* Empty data object */ oper_response |= ZABBIX_RESPONSE_NOCHANGE; } else if (data_array) { /* This was not a "full_sync" but data array exists */ oper_response |= ZABBIX_RESPONSE_INCREMENTAL; } if (IS_ZABBIX_T_FLAGS(ZABBIX_T_PASSIVE)) { /* There is no proxy name anywhere to use */ proto_item_set_text(ti, "Zabbix Passive proxy config"); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Passive proxy config"); } else { proxy_name = zabbix_info->host_name; proto_item_set_text(ti, "Zabbix Response for proxy config for \"%s\"", (proxy_name ? proxy_name : ZABBIX_UNKNOWN)); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Response for proxy config for \"%s\"", (proxy_name ? proxy_name : ZABBIX_UNKNOWN)); } } else if (session && version) { /* Last guesses: responses from passive proxy */ if (IS_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_CONFIG | ZABBIX_T_PASSIVE)) { proto_item_set_text(ti, "Zabbix Passive proxy response for config push"); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Passive proxy response for config push"); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_PROXY | ZABBIX_T_DATA | ZABBIX_T_PASSIVE)) { proto_item_set_text(ti, "Zabbix Passive proxy data response"); col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Passive proxy data response"); } } /* Add all relevant fields to the tree */ show_agent_outputs: if (IS_ZABBIX_T_FLAGS(ZABBIX_T_AGENT)) { temp_ti = proto_tree_add_boolean(zabbix_tree, hf_zabbix_agent, NULL, 0, 0, true); proto_item_set_text(temp_ti, "This is an agent connection"); proto_item_set_generated(temp_ti); if (IS_ZABBIX_T_FLAGS(ZABBIX_T_DATA)) { temp_ti = proto_tree_add_boolean(zabbix_tree, hf_zabbix_agent_data, NULL, 0, 0, true); if (IS_ZABBIX_T_FLAGS(ZABBIX_T_RESPONSE)) { /* Set as generated, not seen in data */ proto_item_set_generated(temp_ti); } } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_CONFIG)) { temp_ti = proto_tree_add_boolean(zabbix_tree, hf_zabbix_agent_config, NULL, 0, 0, true); if (IS_ZABBIX_T_FLAGS(ZABBIX_T_RESPONSE)) { /* Set as generated, not seen in data */ proto_item_set_generated(temp_ti); } } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_HEARTBEAT)) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_agent_hb, NULL, 0, 0, true); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_PASSIVE)) { temp_ti = proto_tree_add_boolean(zabbix_tree, hf_zabbix_agent_passive, NULL, 0, 0, true); proto_item_set_text(temp_ti, "Agent is in passive mode"); proto_item_set_generated(temp_ti); } } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_PROXY)) { temp_ti = proto_tree_add_boolean(zabbix_tree, hf_zabbix_proxy, NULL, 0, 0, true); proto_item_set_text(temp_ti, "This is a proxy connection"); proto_item_set_generated(temp_ti); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_SENDER)) { temp_ti = proto_tree_add_boolean(zabbix_tree, hf_zabbix_sender, NULL, 0, 0, true); proto_item_set_text(temp_ti, "This is a sender connection"); proto_item_set_generated(temp_ti); } if (oper_response & ZABBIX_RESPONSE_SUCCESS) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_success, NULL, 0, 0, true); } else if (oper_response & ZABBIX_RESPONSE_FAILED) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_failed, NULL, 0, 0, true); } if (IS_ZABBIX_T_FLAGS(ZABBIX_T_AGENT)) { if (agent_name) { temp_ti = proto_tree_add_string(zabbix_tree, hf_zabbix_agent_name, NULL, 0, 0, agent_name); if (IS_ZABBIX_T_FLAGS(ZABBIX_T_RESPONSE)) { /* agent_name was populated from the conversation */ proto_item_set_generated(temp_ti); proto_item_append_text(temp_ti, " (from the request)"); } } if (agent_hb_freq) { proto_tree_add_int(zabbix_tree, hf_zabbix_agent_hb_freq, NULL, 0, 0, agent_hb_freq); } if (agent_hostmetadata) { proto_tree_add_string(zabbix_tree, hf_zabbix_agent_hostmetadata, NULL, 0, 0, agent_hostmetadata); } if (agent_hostinterface) { proto_tree_add_string(zabbix_tree, hf_zabbix_agent_hostinterface, NULL, 0, 0, agent_hostinterface); } if (agent_listenip) { if (strstr(agent_listenip, ":") != NULL) { ws_in6_addr addr6; if (ws_inet_pton6(agent_listenip, &addr6)) { proto_tree_add_ipv6(zabbix_tree, hf_zabbix_agent_listenipv6, NULL, 0, 0, &addr6); } } else { ws_in4_addr addr4; if (ws_inet_pton4(agent_listenip, &addr4)) { proto_tree_add_ipv4(zabbix_tree, hf_zabbix_agent_listenipv4, NULL, 0, 0, addr4); } } } if (agent_listenport) { proto_tree_add_uint(zabbix_tree, hf_zabbix_agent_listenport, NULL, 0, 0, agent_listenport); } } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_PROXY)) { if (proxy_name) { temp_ti = proto_tree_add_string(zabbix_tree, hf_zabbix_proxy_name, NULL, 0, 0, proxy_name); if (IS_ZABBIX_T_FLAGS(ZABBIX_T_RESPONSE)) { /* proxy_name was populated from the conversation */ proto_item_set_generated(temp_ti); proto_item_append_text(temp_ti, " (from the request)"); } } if (IS_ZABBIX_T_FLAGS(ZABBIX_T_DATA)) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_proxy_data, NULL, 0, 0, true); } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_CONFIG)) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_proxy_config, NULL, 0, 0, true); if (oper_response & ZABBIX_RESPONSE_FULLSYNC) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_proxy_fullsync, NULL, 0, 0, true); } else if (oper_response & ZABBIX_RESPONSE_INCREMENTAL) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_proxy_incr_config, NULL, 0, 0, true); } else if (oper_response & ZABBIX_RESPONSE_NOCHANGE) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_proxy_no_config_change, NULL, 0, 0, true); } } else if (IS_ZABBIX_T_FLAGS(ZABBIX_T_HEARTBEAT)) { proto_tree_add_boolean(zabbix_tree, hf_zabbix_proxy_hb, NULL, 0, 0, true); } } else if (sender_name) { temp_ti = proto_tree_add_string(zabbix_tree, hf_zabbix_sender_name, NULL, 0, 0, sender_name); if (IS_ZABBIX_T_FLAGS(ZABBIX_T_RESPONSE)) { /* sender_name was populated from the conversation */ proto_item_set_generated(temp_ti); proto_item_append_text(temp_ti, " (from the request)"); } } if (version) { proto_tree_add_string(zabbix_tree, hf_zabbix_version, NULL, 0, 0, version); } if (config_revision > -1) { proto_tree_add_int64(zabbix_tree, hf_zabbix_config_revision, NULL, 0, 0, config_revision); } if (session) { proto_tree_add_string(zabbix_tree, hf_zabbix_session, NULL, 0, 0, session); } /* Show also the full JSON (or passive agent request/response) */ proto_tree_add_item(zabbix_tree, hf_zabbix_data, next_tvb, 0, (int)datalen, ENC_UTF_8); final_outputs: /* These are common for all cases, too large or not */ /* Check the ZABBIX_T_REQUEST flag (and not CONV_IS_ZABBIX_REQUEST macro) because * heartbeats are not marked as requests */ if (IS_ZABBIX_T_FLAGS(ZABBIX_T_REQUEST)) { temp_ti = proto_tree_add_boolean(zabbix_tree, hf_zabbix_request, NULL, 0, 0, true); proto_item_set_text(temp_ti, "This is Zabbix request"); } else if (CONV_IS_ZABBIX_RESPONSE(zabbix_info, pinfo)) { temp_ti = proto_tree_add_boolean(zabbix_tree, hf_zabbix_response, NULL, 0, 0, true); proto_item_set_text(temp_ti, "This is Zabbix response"); if (!nstime_is_unset(&zabbix_info->req_timestamp)) { nstime_t delta; nstime_delta(&delta, &pinfo->abs_ts, &zabbix_info->req_timestamp); pi = proto_tree_add_time(zabbix_tree, hf_zabbix_time, next_tvb, 0, 0, &delta); proto_item_set_generated(pi); } } /* Add length to the Zabbix tree text */ proto_item_append_text(ti, ", Len=%u", (unsigned)length); /* Add/set Info column texts */ const gchar *info_text = col_get_text(pinfo->cinfo, COL_INFO); if (!info_text || !strlen(info_text)) { /* Info column is still empty, set the default text */ if (CONV_IS_ZABBIX_REQUEST(zabbix_info, pinfo)) { col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Protocol request, Flags=0x%02x", flags); } else if (CONV_IS_ZABBIX_RESPONSE(zabbix_info, pinfo)) { col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Protocol response, Flags=0x%02x", flags); } else { col_add_fstr(pinfo->cinfo, COL_INFO, "Zabbix Protocol, Flags=0x%02x", flags); } } col_append_fstr(pinfo->cinfo, COL_INFO, ", Len=%u (", (unsigned)length); col_append_ports(pinfo->cinfo, COL_INFO, PT_TCP, pinfo->srcport, pinfo->destport); col_append_str(pinfo->cinfo, COL_INFO, ")"); return tvb_reported_length(tvb); } /* Determine PDU length of Zabbix protocol */ static unsigned get_zabbix_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { uint8_t flags; uint64_t length; flags = tvb_get_guint8(tvb, offset+4); if (flags & ZABBIX_FLAG_LARGEPACKET) { /* 8-byte length field * Note that ZABBIX_HDR_MIN_LEN check (in dissect_zabbix()) is still enough * due to the header structure (there are reserved bytes) */ length = tvb_get_guint64(tvb, offset+5, ENC_LITTLE_ENDIAN) + ZABBIX_HDR_MAX_LEN; } else { /* 4-byte length */ length = tvb_get_guint32(tvb, offset+5, ENC_LITTLE_ENDIAN) + ZABBIX_HDR_MIN_LEN; } return (unsigned)length; } /* The main dissecting routine */ static int dissect_zabbix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { uint8_t flags; if (tvb_captured_length(tvb) < ZABBIX_HDR_MIN_LEN) { /* Not enough data */ return 0; } if (tvb_memeql(tvb, 0, ZABBIX_HDR_SIGNATURE, 4)) { /* Encrypted or not Zabbix at all */ return 0; } flags = tvb_get_guint8(tvb, 4); if (!(flags & ZABBIX_FLAG_ZABBIX_COMMUNICATIONS)) { return 0; } /* This is unencrypted Zabbix protocol, continue with dissecting it */ tcp_dissect_pdus(tvb, pinfo, tree, zabbix_desegment, ZABBIX_HDR_MIN_LEN, get_zabbix_pdu_len, dissect_zabbix_pdu, data); return tvb_reported_length(tvb); } /* Register the protocol with Wireshark */ void proto_register_zabbix(void) { static hf_register_info hf[] = { { &hf_zabbix_header, { "Header", "zabbix.header", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_flags, { "Flags", "zabbix.flags", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_zabbix_flag_zabbix_communications, { "Zabbix communications protocol", "zabbix.flags.zabbix", FT_BOOLEAN, 8, TFS(&tfs_yes_no), ZABBIX_FLAG_ZABBIX_COMMUNICATIONS, NULL, HFILL } }, { &hf_zabbix_flag_compressed, { "Compressed", "zabbix.flags.compressed", FT_BOOLEAN, 8, TFS(&tfs_yes_no), ZABBIX_FLAG_COMPRESSED, NULL, HFILL } }, { &hf_zabbix_flag_largepacket, { "Large packet", "zabbix.flags.large_packet", FT_BOOLEAN, 8, TFS(&tfs_yes_no), ZABBIX_FLAG_LARGEPACKET, NULL, HFILL } }, { &hf_zabbix_flag_reserved, { "Reserved bits", "zabbix.flags.reserved", FT_UINT8, BASE_DEC, NULL, ZABBIX_FLAG_RESERVED, NULL, HFILL } }, { &hf_zabbix_length, { "Length", "zabbix.len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zabbix_reserved, { "Reserved", "zabbix.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zabbix_uncompressed_length, { "Uncompressed length", "zabbix.uncompressed_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zabbix_large_length, { "Large length", "zabbix.large.len", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zabbix_large_reserved, { "Large reserved", "zabbix.large.reserved", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zabbix_large_uncompressed_length, { "Large uncompressed length", "zabbix.large.uncompressed_len", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zabbix_data, { "Data", "zabbix.data", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_time, { "Response time", "zabbix.time", FT_RELATIVE_TIME, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_request, { "Zabbix protocol request", "zabbix.request", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_response, { "Zabbix protocol response", "zabbix.response", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_success, { "Success", "zabbix.success", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_failed, { "Failed", "zabbix.failed", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_agent, { "Zabbix agent connection", "zabbix.agent", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_agent_config, { "Zabbix agent config", "zabbix.agent.config", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_agent_data, { "Zabbix agent data", "zabbix.agent.data", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_agent_passive, { "Passive agent", "zabbix.agent.passive", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_agent_name, { "Agent name", "zabbix.agent.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_agent_hb, { "Agent heartbeat", "zabbix.agent.heartbeat", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_agent_hb_freq, { "Agent heartbeat frequency", "zabbix.agent.heartbeat_freq", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zabbix_agent_hostmetadata, { "Agent host metadata", "zabbix.agent.host_metadata", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_agent_hostinterface, { "Agent host interface", "zabbix.agent.host_interface", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_agent_listenipv4, { "Agent listen IPv4", "zabbix.agent.listen_ipv4", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_agent_listenipv6, { "Agent listen IPv6", "zabbix.agent.listen_ipv6", FT_IPv6, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_agent_listenport, { "Agent listen port", "zabbix.agent.listen_port", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zabbix_proxy, { "Proxy connection", "zabbix.proxy", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_proxy_name, { "Proxy name", "zabbix.proxy.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_proxy_hb, { "Proxy heartbeat", "zabbix.proxy.heartbeat", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_proxy_data, { "Proxy data", "zabbix.proxy.data", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_proxy_config, { "Proxy config", "zabbix.proxy.config", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_proxy_fullsync, { "Proxy config full sync", "zabbix.proxy.full_sync", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_proxy_incr_config, { "Proxy incremental config", "zabbix.proxy.incremental_config", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_proxy_no_config_change, { "Proxy no config changes", "zabbix.proxy.no_config_changes", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_sender, { "Sender connection", "zabbix.sender", FT_BOOLEAN, BASE_NONE, TFS(&tfs_yes_no), 0, NULL, HFILL } }, { &hf_zabbix_sender_name, { "Sender name", "zabbix.sender.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_version, { "Version", "zabbix.version", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_session, { "Session", "zabbix.session", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zabbix_config_revision, { "Config revision", "zabbix.config_revision", FT_INT64, BASE_DEC, NULL, 0, NULL, HFILL } }, }; static ei_register_info ei[] = { { &ei_zabbix_packet_too_large, { "zabbix.packet_too_large", PI_UNDECODED, PI_WARN, "Packet is too large for detailed dissection", EXPFILL } }, { &ei_zabbix_json_error, { "zabbix.json_error", PI_PROTOCOL, PI_ERROR, "Cannot parse JSON", EXPFILL } }, }; /* Setup protocol subtree array */ static gint *ett[] = { &ett_zabbix, }; module_t *zabbix_module; expert_module_t *expert_zabbix; /* Register the protocol name and description */ proto_zabbix = proto_register_protocol("Zabbix Protocol", "Zabbix", "zabbix"); /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_zabbix, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); zabbix_module = prefs_register_protocol(proto_zabbix, NULL); prefs_register_bool_preference(zabbix_module, "desegment", "Reassemble Zabbix messages spanning multiple TCP segments", "Whether the Zabbix protocol dissector should reassemble messages spanning multiple TCP segments." " To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.", &zabbix_desegment); zabbix_handle = register_dissector("zabbix", dissect_zabbix, proto_zabbix); expert_zabbix = expert_register_protocol(proto_zabbix); expert_register_field_array(expert_zabbix, ei, array_length(ei)); } void proto_reg_handoff_zabbix(void) { dissector_add_uint_range_with_preference("tcp.port", ZABBIX_TCP_PORTS, zabbix_handle); zabbix_port_range = prefs_get_range_value("Zabbix", "tcp.port"); dissector_add_uint_range("tls.port", zabbix_port_range, zabbix_handle); }
C
wireshark/epan/dissectors/packet-zbee-aps.c
/* packet-zbee-aps.c * Dissector routines for the ZigBee Application Support Sub-layer (APS) * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/exceptions.h> #include <epan/prefs.h> /* req'd for packet-zbee-security.h */ #include <epan/expert.h> #include <epan/reassemble.h> #include <epan/proto_data.h> #include "packet-zbee.h" #include "packet-zbee-nwk.h" #include "packet-zbee-security.h" #include "packet-zbee-aps.h" #include "packet-zbee-zdp.h" #include "packet-zbee-tlv.h" /************************* * Function Declarations * ************************* */ /* Dissector Routines */ static void dissect_zbee_aps_cmd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version, void *data); /* Command Dissector Helpers */ static guint dissect_zbee_aps_skke_challenge (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_skke_data (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_transport_key (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_update_device (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint8 version); static guint dissect_zbee_aps_remove_device (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_request_key (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_switch_key (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_auth_challenge (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_auth_data (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_tunnel (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, void *data); static guint dissect_zbee_aps_verify_key (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_aps_confirm_key (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_t2 (tvbuff_t *tvb, proto_tree *tree, guint16 cluster_id); /* Helper routine. */ static guint zbee_apf_transaction_len (tvbuff_t *tvb, guint offset, guint8 type); void dissect_zbee_aps_status_code(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); void proto_register_zbee_aps(void); /******************** * Global Variables * ******************** */ /* Field indices. */ static int proto_zbee_aps = -1; static int hf_zbee_aps_fcf_frame_type = -1; static int hf_zbee_aps_fcf_delivery = -1; static int hf_zbee_aps_fcf_indirect_mode = -1; /* ZigBee 2004 and earlier. */ static int hf_zbee_aps_fcf_ack_format = -1; /* ZigBee 2007 and later. */ static int hf_zbee_aps_fcf_security = -1; static int hf_zbee_aps_fcf_ack_req = -1; static int hf_zbee_aps_fcf_ext_header = -1; static int hf_zbee_aps_dst = -1; static int hf_zbee_aps_group = -1; static int hf_zbee_aps_cluster = -1; static int hf_zbee_aps_profile = -1; static int hf_zbee_aps_src = -1; static int hf_zbee_aps_counter = -1; static int hf_zbee_aps_fragmentation = -1; static int hf_zbee_aps_block_number = -1; static int hf_zbee_aps_block_ack = -1; static int hf_zbee_aps_block_ack1 = -1; static int hf_zbee_aps_block_ack2 = -1; static int hf_zbee_aps_block_ack3 = -1; static int hf_zbee_aps_block_ack4 = -1; static int hf_zbee_aps_block_ack5 = -1; static int hf_zbee_aps_block_ack6 = -1; static int hf_zbee_aps_block_ack7 = -1; static int hf_zbee_aps_block_ack8 = -1; static int hf_zbee_aps_cmd_id = -1; static int hf_zbee_aps_cmd_initiator = -1; static int hf_zbee_aps_cmd_responder = -1; static int hf_zbee_aps_cmd_partner = -1; static int hf_zbee_aps_cmd_initiator_flag = -1; static int hf_zbee_aps_cmd_device = -1; static int hf_zbee_aps_cmd_challenge = -1; static int hf_zbee_aps_cmd_mac = -1; static int hf_zbee_aps_cmd_key = -1; static int hf_zbee_aps_cmd_key_hash = -1; static int hf_zbee_aps_cmd_key_type = -1; static int hf_zbee_aps_cmd_dst = -1; static int hf_zbee_aps_cmd_src = -1; static int hf_zbee_aps_cmd_seqno = -1; static int hf_zbee_aps_cmd_short_addr = -1; static int hf_zbee_aps_cmd_device_status = -1; static int hf_zbee_aps_cmd_status = -1; static int hf_zbee_aps_cmd_ea_key_type = -1; static int hf_zbee_aps_cmd_ea_data = -1; /* Field indices for ZigBee 2003 & earlier Application Framework. */ static int proto_zbee_apf = -1; static int hf_zbee_apf_count = -1; static int hf_zbee_apf_type = -1; /* Subtree indices. */ static gint ett_zbee_aps = -1; static gint ett_zbee_aps_fcf = -1; static gint ett_zbee_aps_ext = -1; static gint ett_zbee_aps_cmd = -1; /* Fragmentation indices. */ static int hf_zbee_aps_fragments = -1; static int hf_zbee_aps_fragment = -1; static int hf_zbee_aps_fragment_overlap = -1; static int hf_zbee_aps_fragment_overlap_conflicts = -1; static int hf_zbee_aps_fragment_multiple_tails = -1; static int hf_zbee_aps_fragment_too_long_fragment = -1; static int hf_zbee_aps_fragment_error = -1; static int hf_zbee_aps_fragment_count = -1; static int hf_zbee_aps_reassembled_in = -1; static int hf_zbee_aps_reassembled_length = -1; static gint ett_zbee_aps_fragment = -1; static gint ett_zbee_aps_fragments = -1; /* Test Profile #2 indices. */ static int hf_zbee_aps_t2_cluster = -1; static int hf_zbee_aps_t2_btres_octet_sequence = -1; static int hf_zbee_aps_t2_btres_octet_sequence_length_requested = -1; static int hf_zbee_aps_t2_btres_status = -1; static int hf_zbee_aps_t2_btreq_octet_sequence_length = -1; /* ZDP indices. */ static int hf_zbee_aps_zdp_cluster = -1; /* Subtree indices for the ZigBee 2004 & earlier Application Framework. */ static gint ett_zbee_apf = -1; static gint ett_zbee_aps_frag_ack = -1; /* Subtree indices for the ZigBee Test Profile #2. */ static gint ett_zbee_aps_t2 = -1; static expert_field ei_zbee_aps_invalid_delivery_mode = EI_INIT; static expert_field ei_zbee_aps_missing_payload = EI_INIT; /* Dissector Handles. */ static dissector_handle_t zbee_aps_handle; static dissector_handle_t zbee_apf_handle; /* Dissector List. */ static dissector_table_t zbee_aps_dissector_table; /* Reassembly table. */ static reassembly_table zbee_aps_reassembly_table; static const fragment_items zbee_aps_frag_items = { /* Fragment subtrees */ &ett_zbee_aps_fragment, &ett_zbee_aps_fragments, /* Fragment fields */ &hf_zbee_aps_fragments, &hf_zbee_aps_fragment, &hf_zbee_aps_fragment_overlap, &hf_zbee_aps_fragment_overlap_conflicts, &hf_zbee_aps_fragment_multiple_tails, &hf_zbee_aps_fragment_too_long_fragment, &hf_zbee_aps_fragment_error, &hf_zbee_aps_fragment_count, /* Reassembled in field */ &hf_zbee_aps_reassembled_in, /* Reassembled length field */ &hf_zbee_aps_reassembled_length, /* Reassembled data field */ NULL, /* Tag */ "APS Message fragments" }; static GHashTable *zbee_table_aps_extended_counters = NULL; /********************/ /* Field Names */ /********************/ /* Frame Type Names */ static const value_string zbee_aps_frame_types[] = { { ZBEE_APS_FCF_DATA, "Data" }, { ZBEE_APS_FCF_CMD, "Command" }, { ZBEE_APS_FCF_ACK, "Ack" }, { ZBEE_APS_FCF_INTERPAN, "Interpan" }, { 0, NULL } }; /* Delivery Mode Names */ static const value_string zbee_aps_delivery_modes[] = { { ZBEE_APS_FCF_UNICAST, "Unicast" }, { ZBEE_APS_FCF_INDIRECT, "Indirect" }, { ZBEE_APS_FCF_BCAST, "Broadcast" }, { ZBEE_APS_FCF_GROUP, "Group" }, { 0, NULL } }; /* Fragmentation Mode Names */ static const value_string zbee_aps_fragmentation_modes[] = { { ZBEE_APS_EXT_FCF_FRAGMENT_NONE, "None" }, { ZBEE_APS_EXT_FCF_FRAGMENT_FIRST, "First Block" }, { ZBEE_APS_EXT_FCF_FRAGMENT_MIDDLE, "Middle Block" }, { 0, NULL } }; /* APS Command Names */ static const value_string zbee_aps_cmd_names[] = { { ZBEE_APS_CMD_SKKE1, "SKKE-1" }, { ZBEE_APS_CMD_SKKE2, "SKKE-2" }, { ZBEE_APS_CMD_SKKE3, "SKKE-3" }, { ZBEE_APS_CMD_SKKE4, "SKKE-4" }, { ZBEE_APS_CMD_TRANSPORT_KEY, "Transport Key" }, { ZBEE_APS_CMD_UPDATE_DEVICE, "Update Device" }, { ZBEE_APS_CMD_REMOVE_DEVICE, "Remove Device" }, { ZBEE_APS_CMD_REQUEST_KEY, "Request Key" }, { ZBEE_APS_CMD_SWITCH_KEY, "Switch Key" }, { ZBEE_APS_CMD_EA_INIT_CHLNG, "EA Initiator Challenge" }, { ZBEE_APS_CMD_EA_RESP_CHLNG, "EA Responder Challenge" }, { ZBEE_APS_CMD_EA_INIT_MAC_DATA,"EA Initiator MAC" }, { ZBEE_APS_CMD_EA_RESP_MAC_DATA,"EA Responder MAC" }, { ZBEE_APS_CMD_TUNNEL, "Tunnel" }, { ZBEE_APS_CMD_VERIFY_KEY, "Verify Key" }, { ZBEE_APS_CMD_CONFIRM_KEY, "Confirm Key" }, { ZBEE_APS_CMD_RELAY_MSG_DOWNSTREAM, "Relay Message Downstream" }, { ZBEE_APS_CMD_RELAY_MSG_UPSTREAM, "Relay Message Upstream" }, { 0, NULL } }; /* APS Key Names */ static const value_string zbee_aps_key_names[] = { { ZBEE_APS_CMD_KEY_TC_MASTER, "Trust Center Master Key" }, { ZBEE_APS_CMD_KEY_STANDARD_NWK, "Standard Network Key" }, { ZBEE_APS_CMD_KEY_APP_MASTER, "Application Master Key" }, { ZBEE_APS_CMD_KEY_APP_LINK, "Application Link Key" }, { ZBEE_APS_CMD_KEY_TC_LINK, "Trust Center Link Key" }, { ZBEE_APS_CMD_KEY_HIGH_SEC_NWK, "High-Security Network Key" }, { 0, NULL } }; /* APS Key Names (Entity-Authentication). */ static const value_string zbee_aps_ea_key_names[] = { { ZBEE_APS_CMD_EA_KEY_NWK, "Network Key" }, { ZBEE_APS_CMD_EA_KEY_LINK, "Link Key" }, { 0, NULL } }; /* Update Device Status Names */ static const value_string zbee_aps_update_status_names[] = { { ZBEE_APS_CMD_UPDATE_STANDARD_SEC_REJOIN, "Standard security, secured rejoin" }, { ZBEE_APS_CMD_UPDATE_STANDARD_UNSEC_JOIN, "Standard security, unsecured join" }, { ZBEE_APS_CMD_UPDATE_LEAVE, "Device left" }, { ZBEE_APS_CMD_UPDATE_STANDARD_UNSEC_REJOIN,"Standard security, unsecured rejoin" }, { ZBEE_APS_CMD_UPDATE_HIGH_SEC_REJOIN, "High security, secured rejoin" }, { ZBEE_APS_CMD_UPDATE_HIGH_UNSEC_JOIN, "High security, unsecured join" }, { ZBEE_APS_CMD_UPDATE_HIGH_UNSEC_REJOIN, "High security, unsecured rejoin" }, { 0, NULL } }; /* Update Device Status Names */ static const value_string zbee_aps_status_names[] = { { ZBEE_APP_STATUS_SUCCESS, "SUCCESS" }, { ZBEE_APP_STATUS_ASDU_TOO_LONG, "ASDU_TOO_LONG" }, { ZBEE_APP_STATUS_DEFRAG_DEFERRED, "DEFRAG_DEFERRED" }, { ZBEE_APP_STATUS_DEFRAG_UNSUPPORTED, "DEFRAG_UNSUPPORTED" }, { ZBEE_APP_STATUS_ILLEGAL_REQUEST, "ILLEGAL_REQUEST" }, { ZBEE_APP_STATUS_INVALID_BINDING, "INVALID_BINDING" }, { ZBEE_APP_STATUS_INVALID_GROUP, "INVALID_GROUP" }, { ZBEE_APP_STATUS_INVALID_PARAMETER, "INVALID_PARAMETER" }, { ZBEE_APP_STATUS_NO_ACK, "NO_ACK" }, { ZBEE_APP_STATUS_NO_BOUND_DEVICE, "NO_BOUND_DEVICE" }, { ZBEE_APP_STATUS_NO_SHORT_ADDRESS, "NO_SHORT_ADDRESS" }, { ZBEE_APP_STATUS_NOT_SUPPORTED, "NOT_SUPPORTED" }, { ZBEE_APP_STATUS_SECURED_LINK_KEY, "SECURED_LINK_KEY" }, { ZBEE_APP_STATUS_SECURED_NWK_KEY, "SECURED_NWK_KEY" }, { ZBEE_APP_STATUS_SECURITY_FAIL, "SECURITY_FAIL" }, { ZBEE_APP_STATUS_TABLE_FULL, "TABLE_FULL" }, { ZBEE_APP_STATUS_UNSECURED, "UNSECURED" }, { ZBEE_APP_STATUS_UNSUPPORTED_ATTRIBUTE, "UNSUPPORTED_ATTRIBUTE" }, { 0, NULL } }; /* Outdated ZigBee 2004 Value Strings. */ static const value_string zbee_apf_type_names[] = { { ZBEE_APP_TYPE_KVP, "Key-Value Pair" }, { ZBEE_APP_TYPE_MSG, "Message" }, { 0, NULL } }; #if 0 static const value_string zbee_apf_kvp_command_names[] = { { ZBEE_APP_KVP_SET, "Set" }, { ZBEE_APP_KVP_EVENT, "Event" }, { ZBEE_APP_KVP_GET_ACK, "Get Acknowledgement" }, { ZBEE_APP_KVP_SET_ACK, "Set Acknowledgement" }, { ZBEE_APP_KVP_EVENT_ACK, "Event Acknowledgement" }, { ZBEE_APP_KVP_GET_RESP, "Get Response" }, { ZBEE_APP_KVP_SET_RESP, "Set Response" }, { ZBEE_APP_KVP_EVENT_RESP, "Event Response" }, { 0, NULL } }; #endif #if 0 static const value_string zbee_apf_kvp_type_names[] = { { ZBEE_APP_KVP_NO_DATA, "No Data" }, { ZBEE_APP_KVP_UINT8, "8-bit Unsigned Integer" }, { ZBEE_APP_KVP_INT8, "8-bit Signed Integer" }, { ZBEE_APP_KVP_UINT16, "16-bit Unsigned Integer" }, { ZBEE_APP_KVP_INT16, "16-bit Signed Integer" }, { ZBEE_APP_KVP_FLOAT16, "16-bit Floating Point" }, { ZBEE_APP_KVP_ABS_TIME, "Absolute Time" }, { ZBEE_APP_KVP_REL_TIME, "Relative Time" }, { ZBEE_APP_KVP_CHAR_STRING, "Character String" }, { ZBEE_APP_KVP_OCT_STRING, "Octet String" }, { 0, NULL } }; #endif /* ZigBee Application Profile ID Names */ const range_string zbee_aps_apid_names[] = { { ZBEE_DEVICE_PROFILE, ZBEE_DEVICE_PROFILE, "ZigBee Device Profile" }, { ZBEE_PROFILE_IPM, ZBEE_PROFILE_IPM, "Industrial Plant Monitoring" }, { ZBEE_PROFILE_T1, ZBEE_PROFILE_T1, "Test Profile #1" }, { ZBEE_PROFILE_HA, ZBEE_PROFILE_HA, "Home Automation" }, { ZBEE_PROFILE_CBA, ZBEE_PROFILE_CBA, "Commercial Building Automation" }, { ZBEE_PROFILE_WSN, ZBEE_PROFILE_WSN, "Wireless Sensor Network" }, { ZBEE_PROFILE_TA, ZBEE_PROFILE_TA, "Telecom Automation" }, { ZBEE_PROFILE_HC, ZBEE_PROFILE_HC, "Health Care" }, { ZBEE_PROFILE_SE, ZBEE_PROFILE_SE, "Smart Energy" }, { ZBEE_PROFILE_RS, ZBEE_PROFILE_RS, "Retail Services" }, { ZBEE_PROFILE_STD_MIN, ZBEE_PROFILE_STD_MAX, "Unknown ZigBee Standard" }, { ZBEE_PROFILE_T2, ZBEE_PROFILE_T2, "Test Profile #2" }, { ZBEE_PROFILE_GP, ZBEE_PROFILE_GP, "Green Power" }, { ZBEE_PROFILE_RSVD0_MIN, ZBEE_PROFILE_RSVD0_MAX, "Unknown ZigBee Reserved" }, { ZBEE_PROFILE_RSVD1_MIN, ZBEE_PROFILE_RSVD1_MAX, "Unknown ZigBee Reserved" }, { ZBEE_PROFILE_IEEE_1451_5, ZBEE_PROFILE_IEEE_1451_5, "IEEE_1451_5" }, { ZBEE_PROFILE_MFR_SPEC_ORG_MIN, ZBEE_PROFILE_MFR_SPEC_ORG_MAX, "Unallocated Manufacturer-Specific" }, /* Manufacturer Allocations */ { ZBEE_PROFILE_CIRRONET_0_MIN, ZBEE_PROFILE_CIRRONET_0_MAX, ZBEE_MFG_CIRRONET }, { ZBEE_PROFILE_CHIPCON_MIN, ZBEE_PROFILE_CHIPCON_MAX, ZBEE_MFG_CHIPCON }, { ZBEE_PROFILE_EMBER_MIN, ZBEE_PROFILE_EMBER_MAX, ZBEE_MFG_EMBER }, { ZBEE_PROFILE_NTS_MIN, ZBEE_PROFILE_NTS_MAX, ZBEE_MFG_CHIPCON }, { ZBEE_PROFILE_FREESCALE_MIN, ZBEE_PROFILE_FREESCALE_MAX, ZBEE_MFG_FREESCALE }, { ZBEE_PROFILE_IPCOM_MIN, ZBEE_PROFILE_IPCOM_MAX, ZBEE_MFG_IPCOM }, { ZBEE_PROFILE_SAN_JUAN_MIN, ZBEE_PROFILE_SAN_JUAN_MAX, ZBEE_MFG_SAN_JUAN }, { ZBEE_PROFILE_TUV_MIN, ZBEE_PROFILE_TUV_MAX, ZBEE_MFG_TUV }, { ZBEE_PROFILE_COMPXS_MIN, ZBEE_PROFILE_COMPXS_MAX, ZBEE_MFG_COMPXS }, { ZBEE_PROFILE_BM_MIN, ZBEE_PROFILE_BM_MAX, ZBEE_MFG_BM }, { ZBEE_PROFILE_AWAREPOINT_MIN, ZBEE_PROFILE_AWAREPOINT_MAX, ZBEE_MFG_AWAREPOINT }, { ZBEE_PROFILE_SAN_JUAN_1_MIN, ZBEE_PROFILE_SAN_JUAN_1_MAX, ZBEE_MFG_SAN_JUAN }, { ZBEE_PROFILE_ZLL, ZBEE_PROFILE_ZLL, "ZLL" }, { ZBEE_PROFILE_PHILIPS_MIN, ZBEE_PROFILE_PHILIPS_MAX, ZBEE_MFG_PHILIPS }, { ZBEE_PROFILE_LUXOFT_MIN, ZBEE_PROFILE_LUXOFT_MAX, ZBEE_MFG_LUXOFT }, { ZBEE_PROFILE_KORWIN_MIN, ZBEE_PROFILE_KORWIN_MAX, ZBEE_MFG_KORWIN }, { ZBEE_PROFILE_1_RF_MIN, ZBEE_PROFILE_1_RF_MAX, ZBEE_MFG_1_RF }, { ZBEE_PROFILE_STG_MIN, ZBEE_PROFILE_STG_MAX, ZBEE_MFG_STG }, { ZBEE_PROFILE_TELEGESIS_MIN, ZBEE_PROFILE_TELEGESIS_MAX, ZBEE_MFG_TELEGESIS }, { ZBEE_PROFILE_CIRRONET_1_MIN, ZBEE_PROFILE_CIRRONET_1_MAX, ZBEE_MFG_CIRRONET }, { ZBEE_PROFILE_VISIONIC_MIN, ZBEE_PROFILE_VISIONIC_MAX, ZBEE_MFG_VISIONIC }, { ZBEE_PROFILE_INSTA_MIN, ZBEE_PROFILE_INSTA_MAX, ZBEE_MFG_INSTA }, { ZBEE_PROFILE_ATALUM_MIN, ZBEE_PROFILE_ATALUM_MAX, ZBEE_MFG_ATALUM }, { ZBEE_PROFILE_ATMEL_MIN, ZBEE_PROFILE_ATMEL_MAX, ZBEE_MFG_ATMEL }, { ZBEE_PROFILE_DEVELCO_MIN, ZBEE_PROFILE_DEVELCO_MAX, ZBEE_MFG_DEVELCO }, { ZBEE_PROFILE_HONEYWELL_MIN, ZBEE_PROFILE_HONEYWELL_MAX, ZBEE_MFG_HONEYWELL }, { ZBEE_PROFILE_NEC_MIN, ZBEE_PROFILE_NEC_MAX, ZBEE_MFG_NEC }, { ZBEE_PROFILE_YAMATAKE_MIN, ZBEE_PROFILE_YAMATAKE_MAX, ZBEE_MFG_YAMATAKE }, { ZBEE_PROFILE_TENDRIL_MIN, ZBEE_PROFILE_TENDRIL_MAX, ZBEE_MFG_TENDRIL }, { ZBEE_PROFILE_ASSA_MIN, ZBEE_PROFILE_ASSA_MAX, ZBEE_MFG_ASSA }, { ZBEE_PROFILE_MAXSTREAM_MIN, ZBEE_PROFILE_MAXSTREAM_MAX, ZBEE_MFG_MAXSTREAM }, { ZBEE_PROFILE_XANADU_MIN, ZBEE_PROFILE_XANADU_MAX, ZBEE_MFG_XANADU }, { ZBEE_PROFILE_NEUROCOM_MIN, ZBEE_PROFILE_NEUROCOM_MAX, ZBEE_MFG_NEUROCOM }, { ZBEE_PROFILE_III_MIN, ZBEE_PROFILE_III_MAX, ZBEE_MFG_III }, { ZBEE_PROFILE_VANTAGE_MIN, ZBEE_PROFILE_VANTAGE_MAX, ZBEE_MFG_VANTAGE }, { ZBEE_PROFILE_ICONTROL_MIN, ZBEE_PROFILE_ICONTROL_MAX, ZBEE_MFG_ICONTROL }, { ZBEE_PROFILE_RAYMARINE_MIN, ZBEE_PROFILE_RAYMARINE_MAX, ZBEE_MFG_RAYMARINE }, { ZBEE_PROFILE_RENESAS_MIN, ZBEE_PROFILE_RENESAS_MAX, ZBEE_MFG_RENESAS }, { ZBEE_PROFILE_LSR_MIN, ZBEE_PROFILE_LSR_MAX, ZBEE_MFG_LSR }, { ZBEE_PROFILE_ONITY_MIN, ZBEE_PROFILE_ONITY_MAX, ZBEE_MFG_ONITY }, { ZBEE_PROFILE_MONO_MIN, ZBEE_PROFILE_MONO_MAX, ZBEE_MFG_MONO }, { ZBEE_PROFILE_RFT_MIN, ZBEE_PROFILE_RFT_MAX, ZBEE_MFG_RFT }, { ZBEE_PROFILE_ITRON_MIN, ZBEE_PROFILE_ITRON_MAX, ZBEE_MFG_ITRON }, { ZBEE_PROFILE_TRITECH_MIN, ZBEE_PROFILE_TRITECH_MAX, ZBEE_MFG_TRITECH }, { ZBEE_PROFILE_EMBEDIT_MIN, ZBEE_PROFILE_EMBEDIT_MAX, ZBEE_MFG_EMBEDIT }, { ZBEE_PROFILE_S3C_MIN, ZBEE_PROFILE_S3C_MAX, ZBEE_MFG_S3C }, { ZBEE_PROFILE_SIEMENS_MIN, ZBEE_PROFILE_SIEMENS_MAX, ZBEE_MFG_SIEMENS }, { ZBEE_PROFILE_MINDTECH_MIN, ZBEE_PROFILE_MINDTECH_MAX, ZBEE_MFG_MINDTECH }, { ZBEE_PROFILE_LGE_MIN, ZBEE_PROFILE_LGE_MAX, ZBEE_MFG_LGE }, { ZBEE_PROFILE_MITSUBISHI_MIN, ZBEE_PROFILE_MITSUBISHI_MAX, ZBEE_MFG_MITSUBISHI }, { ZBEE_PROFILE_JOHNSON_MIN, ZBEE_PROFILE_JOHNSON_MAX, ZBEE_MFG_JOHNSON }, { ZBEE_PROFILE_PRI_MIN, ZBEE_PROFILE_PRI_MAX, ZBEE_MFG_PRI }, { ZBEE_PROFILE_KNICK_MIN, ZBEE_PROFILE_KNICK_MAX, ZBEE_MFG_KNICK }, { ZBEE_PROFILE_VICONICS_MIN, ZBEE_PROFILE_VICONICS_MAX, ZBEE_MFG_VICONICS }, { ZBEE_PROFILE_FLEXIPANEL_MIN, ZBEE_PROFILE_FLEXIPANEL_MAX, ZBEE_MFG_FLEXIPANEL }, { ZBEE_PROFILE_TRANE_MIN, ZBEE_PROFILE_TRANE_MAX, ZBEE_MFG_TRANE }, { ZBEE_PROFILE_JENNIC_MIN, ZBEE_PROFILE_JENNIC_MAX, ZBEE_MFG_JENNIC }, { ZBEE_PROFILE_LIG_MIN, ZBEE_PROFILE_LIG_MAX, ZBEE_MFG_LIG }, { ZBEE_PROFILE_ALERTME_MIN, ZBEE_PROFILE_ALERTME_MAX, ZBEE_MFG_ALERTME }, { ZBEE_PROFILE_DAINTREE_MIN, ZBEE_PROFILE_DAINTREE_MAX, ZBEE_MFG_DAINTREE }, { ZBEE_PROFILE_AIJI_MIN, ZBEE_PROFILE_AIJI_MAX, ZBEE_MFG_AIJI }, { ZBEE_PROFILE_TEL_ITALIA_MIN, ZBEE_PROFILE_TEL_ITALIA_MAX, ZBEE_MFG_TEL_ITALIA }, { ZBEE_PROFILE_MIKROKRETS_MIN, ZBEE_PROFILE_MIKROKRETS_MAX, ZBEE_MFG_MIKROKRETS }, { ZBEE_PROFILE_OKI_MIN, ZBEE_PROFILE_OKI_MAX, ZBEE_MFG_OKI }, { ZBEE_PROFILE_NEWPORT_MIN, ZBEE_PROFILE_NEWPORT_MAX, ZBEE_MFG_NEWPORT }, { ZBEE_PROFILE_C4_CL, ZBEE_PROFILE_C4_CL, ZBEE_MFG_C4 " Cluster Library"}, { ZBEE_PROFILE_C4_MIN, ZBEE_PROFILE_C4_MAX, ZBEE_MFG_C4 }, { ZBEE_PROFILE_STM_MIN, ZBEE_PROFILE_STM_MAX, ZBEE_MFG_STM }, { ZBEE_PROFILE_ASN_0_MIN, ZBEE_PROFILE_ASN_0_MAX, ZBEE_MFG_ASN }, { ZBEE_PROFILE_DCSI_MIN, ZBEE_PROFILE_DCSI_MAX, ZBEE_MFG_DCSI }, { ZBEE_PROFILE_FRANCE_TEL_MIN, ZBEE_PROFILE_FRANCE_TEL_MAX, ZBEE_MFG_FRANCE_TEL }, { ZBEE_PROFILE_MUNET_MIN, ZBEE_PROFILE_MUNET_MAX, ZBEE_MFG_MUNET }, { ZBEE_PROFILE_AUTANI_MIN, ZBEE_PROFILE_AUTANI_MAX, ZBEE_MFG_AUTANI }, { ZBEE_PROFILE_COL_VNET_MIN, ZBEE_PROFILE_COL_VNET_MAX, ZBEE_MFG_COL_VNET }, { ZBEE_PROFILE_AEROCOMM_MIN, ZBEE_PROFILE_AEROCOMM_MAX, ZBEE_MFG_AEROCOMM }, { ZBEE_PROFILE_SI_LABS_MIN, ZBEE_PROFILE_SI_LABS_MAX, ZBEE_MFG_SI_LABS }, { ZBEE_PROFILE_INNCOM_MIN, ZBEE_PROFILE_INNCOM_MAX, ZBEE_MFG_INNCOM }, { ZBEE_PROFILE_CANNON_MIN, ZBEE_PROFILE_CANNON_MAX, ZBEE_MFG_CANNON }, { ZBEE_PROFILE_SYNAPSE_MIN, ZBEE_PROFILE_SYNAPSE_MAX, ZBEE_MFG_SYNAPSE }, { ZBEE_PROFILE_FPS_MIN, ZBEE_PROFILE_FPS_MAX, ZBEE_MFG_FPS }, { ZBEE_PROFILE_CLS_MIN, ZBEE_PROFILE_CLS_MAX, ZBEE_MFG_CLS }, { ZBEE_PROFILE_CRANE_MIN, ZBEE_PROFILE_CRANE_MAX, ZBEE_MFG_CRANE }, { ZBEE_PROFILE_ASN_1_MIN, ZBEE_PROFILE_ASN_1_MAX, ZBEE_MFG_ASN }, { ZBEE_PROFILE_MOBILARM_MIN, ZBEE_PROFILE_MOBILARM_MAX, ZBEE_MFG_MOBILARM }, { ZBEE_PROFILE_IMONITOR_MIN, ZBEE_PROFILE_IMONITOR_MAX, ZBEE_MFG_IMONITOR }, { ZBEE_PROFILE_BARTECH_MIN, ZBEE_PROFILE_BARTECH_MAX, ZBEE_MFG_BARTECH }, { ZBEE_PROFILE_MESHNETICS_MIN, ZBEE_PROFILE_MESHNETICS_MAX, ZBEE_MFG_MESHNETICS }, { ZBEE_PROFILE_LS_IND_MIN, ZBEE_PROFILE_LS_IND_MAX, ZBEE_MFG_LS_IND }, { ZBEE_PROFILE_CASON_MIN, ZBEE_PROFILE_CASON_MAX, ZBEE_MFG_CASON }, { ZBEE_PROFILE_WLESS_GLUE_MIN, ZBEE_PROFILE_WLESS_GLUE_MAX, ZBEE_MFG_WLESS_GLUE }, { ZBEE_PROFILE_ELSTER_MIN, ZBEE_PROFILE_ELSTER_MAX, ZBEE_MFG_ELSTER }, { ZBEE_PROFILE_ONSET_MIN, ZBEE_PROFILE_ONSET_MAX, ZBEE_MFG_ONSET }, { ZBEE_PROFILE_RIGA_MIN, ZBEE_PROFILE_RIGA_MAX, ZBEE_MFG_RIGA }, { ZBEE_PROFILE_ENERGATE_MIN, ZBEE_PROFILE_ENERGATE_MAX, ZBEE_MFG_ENERGATE }, { ZBEE_PROFILE_VANTAGE_1_MIN, ZBEE_PROFILE_VANTAGE_1_MAX, ZBEE_MFG_VANTAGE }, { ZBEE_PROFILE_CONMED_MIN, ZBEE_PROFILE_CONMED_MAX, ZBEE_MFG_CONMED }, { ZBEE_PROFILE_SMS_TEC_MIN, ZBEE_PROFILE_SMS_TEC_MAX, ZBEE_MFG_SMS_TEC }, { ZBEE_PROFILE_POWERMAND_MIN, ZBEE_PROFILE_POWERMAND_MAX, ZBEE_MFG_POWERMAND }, { ZBEE_PROFILE_SCHNEIDER_MIN, ZBEE_PROFILE_SCHNEIDER_MAX, ZBEE_MFG_SCHNEIDER }, { ZBEE_PROFILE_EATON_MIN, ZBEE_PROFILE_EATON_MAX, ZBEE_MFG_EATON }, { ZBEE_PROFILE_TELULAR_MIN, ZBEE_PROFILE_TELULAR_MAX, ZBEE_MFG_TELULAR }, { ZBEE_PROFILE_DELPHI_MIN, ZBEE_PROFILE_DELPHI_MAX, ZBEE_MFG_DELPHI }, { ZBEE_PROFILE_EPISENSOR_MIN, ZBEE_PROFILE_EPISENSOR_MAX, ZBEE_MFG_EPISENSOR }, { ZBEE_PROFILE_LANDIS_GYR_MIN, ZBEE_PROFILE_LANDIS_GYR_MAX, ZBEE_MFG_LANDIS_GYR }, { ZBEE_PROFILE_SHURE_MIN, ZBEE_PROFILE_SHURE_MAX, ZBEE_MFG_SHURE }, { ZBEE_PROFILE_COMVERGE_MIN, ZBEE_PROFILE_COMVERGE_MAX, ZBEE_MFG_COMVERGE }, { ZBEE_PROFILE_KABA_MIN, ZBEE_PROFILE_KABA_MAX, ZBEE_MFG_KABA }, { ZBEE_PROFILE_HIDALGO_MIN, ZBEE_PROFILE_HIDALGO_MAX, ZBEE_MFG_HIDALGO }, { ZBEE_PROFILE_AIR2APP_MIN, ZBEE_PROFILE_AIR2APP_MAX, ZBEE_MFG_AIR2APP }, { ZBEE_PROFILE_AMX_MIN, ZBEE_PROFILE_AMX_MAX, ZBEE_MFG_AMX }, { ZBEE_PROFILE_EDMI_MIN, ZBEE_PROFILE_EDMI_MAX, ZBEE_MFG_EDMI }, { ZBEE_PROFILE_CYAN_MIN, ZBEE_PROFILE_CYAN_MAX, ZBEE_MFG_CYAN }, { ZBEE_PROFILE_SYS_SPA_MIN, ZBEE_PROFILE_SYS_SPA_MAX, ZBEE_MFG_SYS_SPA }, { ZBEE_PROFILE_TELIT_MIN, ZBEE_PROFILE_TELIT_MAX, ZBEE_MFG_TELIT }, { ZBEE_PROFILE_KAGA_MIN, ZBEE_PROFILE_KAGA_MAX, ZBEE_MFG_KAGA }, { ZBEE_PROFILE_4_NOKS_MIN, ZBEE_PROFILE_4_NOKS_MAX, ZBEE_MFG_4_NOKS }, { ZBEE_PROFILE_PROFILE_SYS_MIN, ZBEE_PROFILE_PROFILE_SYS_MAX, ZBEE_MFG_PROFILE_SYS }, { ZBEE_PROFILE_FREESTYLE_MIN, ZBEE_PROFILE_FREESTYLE_MAX, ZBEE_MFG_FREESTYLE }, { ZBEE_PROFILE_REMOTE_MIN, ZBEE_PROFILE_REMOTE_MAX, ZBEE_MFG_REMOTE_TECH }, { ZBEE_PROFILE_WAVECOM_MIN, ZBEE_PROFILE_WAVECOM_MAX, ZBEE_MFG_WAVECOM }, { ZBEE_PROFILE_ENERGY_OPT_MIN, ZBEE_PROFILE_ENERGY_OPT_MAX, ZBEE_MFG_GREEN_ENERGY }, { ZBEE_PROFILE_GE_MIN, ZBEE_PROFILE_GE_MAX, ZBEE_MFG_GE }, { ZBEE_PROFILE_MESHWORKS_MIN, ZBEE_PROFILE_MESHWORKS_MAX, ZBEE_MFG_MESHWORKS }, { ZBEE_PROFILE_ELLIPS_MIN, ZBEE_PROFILE_ELLIPS_MAX, ZBEE_MFG_ELLIPS }, { ZBEE_PROFILE_CEDO_MIN, ZBEE_PROFILE_CEDO_MAX, ZBEE_MFG_CEDO }, { ZBEE_PROFILE_A_D_MIN, ZBEE_PROFILE_A_D_MAX, ZBEE_MFG_A_AND_D }, { ZBEE_PROFILE_CARRIER_MIN, ZBEE_PROFILE_CARRIER_MAX, ZBEE_MFG_CARRIER }, { ZBEE_PROFILE_PASSIVESYS_MIN, ZBEE_PROFILE_PASSIVESYS_MAX, ZBEE_MFG_PASSIVE }, { ZBEE_PROFILE_SUNRISE_MIN, ZBEE_PROFILE_SUNRISE_MAX, ZBEE_MFG_SUNRISE }, { ZBEE_PROFILE_MEMTEC_MIN, ZBEE_PROFILE_MEMTEC_MAX, ZBEE_MFG_MEMTECH }, { ZBEE_PROFILE_BRITISH_GAS_MIN, ZBEE_PROFILE_BRITISH_GAS_MAX, ZBEE_MFG_BRITISH_GAS }, { ZBEE_PROFILE_SENTEC_MIN, ZBEE_PROFILE_SENTEC_MAX, ZBEE_MFG_SENTEC }, { ZBEE_PROFILE_NAVETAS_MIN, ZBEE_PROFILE_NAVETAS_MAX, ZBEE_MFG_NAVETAS }, { ZBEE_PROFILE_ENERNOC_MIN, ZBEE_PROFILE_ENERNOC_MAX, ZBEE_MFG_ENERNOC }, { ZBEE_PROFILE_ELTAV_MIN, ZBEE_PROFILE_ELTAV_MAX, ZBEE_MFG_ELTAV }, { ZBEE_PROFILE_XSTREAMHD_MIN, ZBEE_PROFILE_XSTREAMHD_MAX, ZBEE_MFG_XSTREAMHD }, { ZBEE_PROFILE_OMRON_MIN, ZBEE_PROFILE_OMRON_MAX, ZBEE_MFG_OMRON }, { ZBEE_PROFILE_NEC_TOKIN_MIN, ZBEE_PROFILE_NEC_TOKIN_MAX, ZBEE_MFG_NEC_TOKIN }, { ZBEE_PROFILE_PEEL_MIN, ZBEE_PROFILE_PEEL_MAX, ZBEE_MFG_PEEL }, { ZBEE_PROFILE_ELECTROLUX_MIN, ZBEE_PROFILE_ELECTROLUX_MAX, ZBEE_MFG_ELECTROLUX }, { ZBEE_PROFILE_SAMSUNG_MIN, ZBEE_PROFILE_SAMSUNG_MAX, ZBEE_MFG_SAMSUNG }, { ZBEE_PROFILE_MAINSTREAM_MIN, ZBEE_PROFILE_MAINSTREAM_MAX, ZBEE_MFG_MAINSTREAM }, { ZBEE_PROFILE_DIGI_MIN, ZBEE_PROFILE_DIGI_MAX, ZBEE_MFG_DIGI }, { ZBEE_PROFILE_RADIOCRAFTS_MIN, ZBEE_PROFILE_RADIOCRAFTS_MAX, ZBEE_MFG_RADIOCRAFTS }, { ZBEE_PROFILE_SCHNEIDER2_MIN, ZBEE_PROFILE_SCHNEIDER2_MAX, ZBEE_MFG_SCHNEIDER }, { ZBEE_PROFILE_HUAWEI_MIN, ZBEE_PROFILE_HUAWEI_MAX, ZBEE_MFG_HUAWEI }, { ZBEE_PROFILE_BGLOBAL_MIN, ZBEE_PROFILE_BGLOBAL_MAX, ZBEE_MFG_BGLOBAL }, { ZBEE_PROFILE_ABB_MIN, ZBEE_PROFILE_ABB_MAX, ZBEE_MFG_ABB }, { ZBEE_PROFILE_GENUS_MIN, ZBEE_PROFILE_GENUS_MAX, ZBEE_MFG_GENUS }, { ZBEE_PROFILE_UBISYS_MIN, ZBEE_PROFILE_UBISYS_MAX, ZBEE_MFG_UBISYS }, { ZBEE_PROFILE_CRESTRON_MIN, ZBEE_PROFILE_CRESTRON_MAX, ZBEE_MFG_CRESTRON }, { ZBEE_PROFILE_AAC_TECH_MIN, ZBEE_PROFILE_AAC_TECH_MAX, ZBEE_MFG_AAC_TECH }, { ZBEE_PROFILE_STEELCASE_MIN, ZBEE_PROFILE_STEELCASE_MAX, ZBEE_MFG_STEELCASE }, { 0, 0, NULL } }; /* ZigBee Application Profile ID Abbreviations */ static const range_string zbee_aps_apid_abbrs[] = { { ZBEE_DEVICE_PROFILE, ZBEE_DEVICE_PROFILE, "ZDP" }, { ZBEE_PROFILE_IPM, ZBEE_PROFILE_IPM, "IPM" }, { ZBEE_PROFILE_T1, ZBEE_PROFILE_T1, "T1" }, { ZBEE_PROFILE_HA, ZBEE_PROFILE_HA, "HA" }, { ZBEE_PROFILE_CBA, ZBEE_PROFILE_CBA, "CBA" }, { ZBEE_PROFILE_WSN, ZBEE_PROFILE_WSN, "WSN" }, { ZBEE_PROFILE_TA, ZBEE_PROFILE_TA, "TA" }, { ZBEE_PROFILE_HC, ZBEE_PROFILE_HC, "HC" }, { ZBEE_PROFILE_SE, ZBEE_PROFILE_SE, "SE" }, { ZBEE_PROFILE_RS, ZBEE_PROFILE_RS, "RS" }, { ZBEE_PROFILE_T2, ZBEE_PROFILE_T2, "T2" }, { ZBEE_PROFILE_GP, ZBEE_PROFILE_GP, "GP" }, /* Manufacturer Allocations */ { ZBEE_PROFILE_C4_MIN, ZBEE_PROFILE_C4_MAX, "C4" }, { 0, 0, NULL } }; /* ZCL Cluster Names */ /* BUGBUG: big enough to hash? */ const range_string zbee_aps_cid_names[] = { /* General */ { ZBEE_ZCL_CID_BASIC, ZBEE_ZCL_CID_BASIC, "Basic"}, { ZBEE_ZCL_CID_POWER_CONFIG, ZBEE_ZCL_CID_POWER_CONFIG, "Power Configuration"}, { ZBEE_ZCL_CID_DEVICE_TEMP_CONFIG, ZBEE_ZCL_CID_DEVICE_TEMP_CONFIG, "Device Temperature Configuration"}, { ZBEE_ZCL_CID_IDENTIFY, ZBEE_ZCL_CID_IDENTIFY, "Identify"}, { ZBEE_ZCL_CID_GROUPS, ZBEE_ZCL_CID_GROUPS, "Groups"}, { ZBEE_ZCL_CID_SCENES, ZBEE_ZCL_CID_SCENES, "Scenes"}, { ZBEE_ZCL_CID_ON_OFF, ZBEE_ZCL_CID_ON_OFF, "On/Off"}, { ZBEE_ZCL_CID_ON_OFF_SWITCH_CONFIG, ZBEE_ZCL_CID_ON_OFF_SWITCH_CONFIG, "On/Off Switch Configuration"}, { ZBEE_ZCL_CID_LEVEL_CONTROL, ZBEE_ZCL_CID_LEVEL_CONTROL, "Level Control"}, { ZBEE_ZCL_CID_ALARMS, ZBEE_ZCL_CID_ALARMS, "Alarms"}, { ZBEE_ZCL_CID_TIME, ZBEE_ZCL_CID_TIME, "Time"}, { ZBEE_ZCL_CID_RSSI_LOCATION, ZBEE_ZCL_CID_RSSI_LOCATION, "RSSI Location"}, { ZBEE_ZCL_CID_ANALOG_INPUT_BASIC, ZBEE_ZCL_CID_ANALOG_INPUT_BASIC, "Analog Input (Basic)"}, { ZBEE_ZCL_CID_ANALOG_OUTPUT_BASIC, ZBEE_ZCL_CID_ANALOG_OUTPUT_BASIC, "Analog Output (Basic)"}, { ZBEE_ZCL_CID_ANALOG_VALUE_BASIC, ZBEE_ZCL_CID_ANALOG_VALUE_BASIC, "Analog Value (Basic)"}, { ZBEE_ZCL_CID_BINARY_INPUT_BASIC, ZBEE_ZCL_CID_BINARY_INPUT_BASIC, "Binary Input (Basic)"}, { ZBEE_ZCL_CID_BINARY_OUTPUT_BASIC, ZBEE_ZCL_CID_BINARY_OUTPUT_BASIC, "Binary Output (Basic)"}, { ZBEE_ZCL_CID_BINARY_VALUE_BASIC, ZBEE_ZCL_CID_BINARY_VALUE_BASIC, "Binary Value (Basic)"}, { ZBEE_ZCL_CID_MULTISTATE_INPUT_BASIC, ZBEE_ZCL_CID_MULTISTATE_INPUT_BASIC, "Multistate Input (Basic)"}, { ZBEE_ZCL_CID_MULTISTATE_OUTPUT_BASIC, ZBEE_ZCL_CID_MULTISTATE_OUTPUT_BASIC, "Multistate Output (Basic)"}, { ZBEE_ZCL_CID_MULTISTATE_VALUE_BASIC, ZBEE_ZCL_CID_MULTISTATE_VALUE_BASIC, "Multistate Value (Basic)"}, { ZBEE_ZCL_CID_COMMISSIONING, ZBEE_ZCL_CID_COMMISSIONING, "Commissioning"}, { ZBEE_ZCL_CID_PARTITION, ZBEE_ZCL_CID_PARTITION, "Partition"}, { ZBEE_ZCL_CID_OTA_UPGRADE, ZBEE_ZCL_CID_OTA_UPGRADE, "OTA Upgrade"}, { ZBEE_ZCL_CID_POLL_CONTROL, ZBEE_ZCL_CID_POLL_CONTROL, "Poll Control"}, { ZBEE_ZCL_CID_GP, ZBEE_ZCL_CID_GP, "Green Power"}, /* */ { ZBEE_ZCL_CID_POWER_PROFILE, ZBEE_ZCL_CID_POWER_PROFILE, "Power Profile"}, { ZBEE_ZCL_CID_APPLIANCE_CONTROL, ZBEE_ZCL_CID_APPLIANCE_CONTROL, "Appliance Control"}, /* Closures */ { ZBEE_ZCL_CID_SHADE_CONFIG, ZBEE_ZCL_CID_SHADE_CONFIG, "Shade Configuration"}, { ZBEE_ZCL_CID_DOOR_LOCK, ZBEE_ZCL_CID_DOOR_LOCK, "Door Lock"}, /* HVAC */ { ZBEE_ZCL_CID_PUMP_CONFIG_CONTROL, ZBEE_ZCL_CID_PUMP_CONFIG_CONTROL, "Pump Configuration Control"}, { ZBEE_ZCL_CID_THERMOSTAT, ZBEE_ZCL_CID_THERMOSTAT, "Thermostat"}, { ZBEE_ZCL_CID_FAN_CONTROL, ZBEE_ZCL_CID_FAN_CONTROL, "Fan Control"}, { ZBEE_ZCL_CID_DEHUMIDIFICATION_CONTROL, ZBEE_ZCL_CID_DEHUMIDIFICATION_CONTROL, "Dehumidification Control"}, { ZBEE_ZCL_CID_THERMOSTAT_UI_CONFIG, ZBEE_ZCL_CID_THERMOSTAT_UI_CONFIG, "Thermostat User Interface Configuration"}, /* Lighting */ { ZBEE_ZCL_CID_COLOR_CONTROL, ZBEE_ZCL_CID_COLOR_CONTROL, "Color Control"}, { ZBEE_ZCL_CID_BALLAST_CONFIG, ZBEE_ZCL_CID_BALLAST_CONFIG, "Ballast Configuration"}, /* Measurement and Sensing */ { ZBEE_ZCL_CID_ILLUMINANCE_MEASUREMENT, ZBEE_ZCL_CID_ILLUMINANCE_MEASUREMENT, "Illuminance Measurement"}, { ZBEE_ZCL_CID_ILLUMINANCE_LEVEL_SENSING, ZBEE_ZCL_CID_ILLUMINANCE_LEVEL_SENSING, "Illuminance Level Sensing"}, { ZBEE_ZCL_CID_TEMPERATURE_MEASUREMENT, ZBEE_ZCL_CID_TEMPERATURE_MEASUREMENT, "Temperature Measurement"}, { ZBEE_ZCL_CID_PRESSURE_MEASUREMENT, ZBEE_ZCL_CID_PRESSURE_MEASUREMENT, "Pressure Measurement"}, { ZBEE_ZCL_CID_FLOW_MEASUREMENT, ZBEE_ZCL_CID_FLOW_MEASUREMENT, "Flow Measurement"}, { ZBEE_ZCL_CID_REL_HUMIDITY_MEASUREMENT, ZBEE_ZCL_CID_REL_HUMIDITY_MEASUREMENT, "Relative Humidity Measurement"}, { ZBEE_ZCL_CID_OCCUPANCY_SENSING, ZBEE_ZCL_CID_OCCUPANCY_SENSING, "Occupancy Sensing"}, { ZBEE_ZCL_CID_ELECTRICAL_MEASUREMENT, ZBEE_ZCL_CID_ELECTRICAL_MEASUREMENT, "Electrical Measurement"}, /* Security and Safety */ { ZBEE_ZCL_CID_IAS_ZONE, ZBEE_ZCL_CID_IAS_ZONE, "Intruder Alarm System Zone"}, { ZBEE_ZCL_CID_IAS_ACE, ZBEE_ZCL_CID_IAS_ACE, "Intruder Alarm System ACE"}, { ZBEE_ZCL_CID_IAS_WD, ZBEE_ZCL_CID_IAS_WD, "Intruder Alarm System WD"}, /* Protocol Interfaces */ { ZBEE_ZCL_CID_GENERIC_TUNNEL, ZBEE_ZCL_CID_GENERIC_TUNNEL, "BACnet Generic Tunnel"}, { ZBEE_ZCL_CID_BACNET_PROTOCOL_TUNNEL, ZBEE_ZCL_CID_BACNET_PROTOCOL_TUNNEL, "BACnet Protocol Tunnel"}, { ZBEE_ZCL_CID_BACNET_ANALOG_INPUT_REG, ZBEE_ZCL_CID_BACNET_ANALOG_INPUT_REG, "BACnet Analog Input (Regular)"}, { ZBEE_ZCL_CID_BACNET_ANALOG_INPUT_EXT, ZBEE_ZCL_CID_BACNET_ANALOG_INPUT_EXT, "BACnet Analog Input (Extended)"}, { ZBEE_ZCL_CID_BACNET_ANALOG_OUTPUT_REG, ZBEE_ZCL_CID_BACNET_ANALOG_OUTPUT_REG, "BACnet Analog Output (Regular)"}, { ZBEE_ZCL_CID_BACNET_ANALOG_OUTPUT_EXT, ZBEE_ZCL_CID_BACNET_ANALOG_OUTPUT_EXT, "BACnet Analog Output (Extended)"}, { ZBEE_ZCL_CID_BACNET_ANALOG_VALUE_REG, ZBEE_ZCL_CID_BACNET_ANALOG_VALUE_REG, "BACnet Analog Value (Regular)"}, { ZBEE_ZCL_CID_BACNET_ANALOG_VALUE_EXT, ZBEE_ZCL_CID_BACNET_ANALOG_VALUE_EXT, "BACnet Analog Value (Extended)"}, { ZBEE_ZCL_CID_BACNET_BINARY_INPUT_REG, ZBEE_ZCL_CID_BACNET_BINARY_INPUT_REG, "BACnet Binary Input (Regular)"}, { ZBEE_ZCL_CID_BACNET_BINARY_INPUT_EXT, ZBEE_ZCL_CID_BACNET_BINARY_INPUT_EXT, "BACnet Binary Input (Extended)"}, { ZBEE_ZCL_CID_BACNET_BINARY_OUTPUT_REG, ZBEE_ZCL_CID_BACNET_BINARY_OUTPUT_REG, "BACnet Binary Output (Regular)"}, { ZBEE_ZCL_CID_BACNET_BINARY_OUTPUT_EXT, ZBEE_ZCL_CID_BACNET_BINARY_OUTPUT_EXT, "BACnet Binary Output (Extended)"}, { ZBEE_ZCL_CID_BACNET_BINARY_VALUE_REG, ZBEE_ZCL_CID_BACNET_BINARY_VALUE_REG, "BACnet Binary Value (Regular)"}, { ZBEE_ZCL_CID_BACNET_BINARY_VALUE_EXT, ZBEE_ZCL_CID_BACNET_BINARY_VALUE_EXT, "BACnet Binary Value (Extended)"}, { ZBEE_ZCL_CID_BACNET_MULTISTATE_INPUT_REG, ZBEE_ZCL_CID_BACNET_MULTISTATE_INPUT_REG, "BACnet Multistage Input (Regular)"}, { ZBEE_ZCL_CID_BACNET_MULTISTATE_INPUT_EXT, ZBEE_ZCL_CID_BACNET_MULTISTATE_INPUT_EXT, "BACnet Multistage Input (Extended)"}, { ZBEE_ZCL_CID_BACNET_MULTISTATE_OUTPUT_REG, ZBEE_ZCL_CID_BACNET_MULTISTATE_OUTPUT_REG, "BACnet Multistage Output (Regular)"}, { ZBEE_ZCL_CID_BACNET_MULTISTATE_OUTPUT_EXT, ZBEE_ZCL_CID_BACNET_MULTISTATE_OUTPUT_EXT, "BACnet Multistage Output (Extended)"}, { ZBEE_ZCL_CID_BACNET_MULTISTATE_VALUE_REG, ZBEE_ZCL_CID_BACNET_MULTISTATE_VALUE_REG, "BACnet Multistage Value (Regular)"}, { ZBEE_ZCL_CID_BACNET_MULTISTATE_VALUE_EXT, ZBEE_ZCL_CID_BACNET_MULTISTATE_VALUE_EXT, "BACnet Multistage Value (Extended)"}, /* ZCL Cluster IDs - Smart Energy */ { ZBEE_ZCL_CID_KEEP_ALIVE, ZBEE_ZCL_CID_KEEP_ALIVE, "Keep-Alive"}, { ZBEE_ZCL_CID_PRICE, ZBEE_ZCL_CID_PRICE, "Price"}, { ZBEE_ZCL_CID_DEMAND_RESPONSE_LOAD_CONTROL, ZBEE_ZCL_CID_DEMAND_RESPONSE_LOAD_CONTROL, "Demand Response and Load Control"}, { ZBEE_ZCL_CID_SIMPLE_METERING, ZBEE_ZCL_CID_SIMPLE_METERING, "Simple Metering"}, { ZBEE_ZCL_CID_MESSAGE, ZBEE_ZCL_CID_MESSAGE, "Message"}, { ZBEE_ZCL_CID_TUNNELING, ZBEE_ZCL_CID_TUNNELING, "Tunneling"}, { ZBEE_ZCL_CID_PRE_PAYMENT, ZBEE_ZCL_CID_PRE_PAYMENT, "Pre-Payment"}, { ZBEE_ZCL_CID_ENERGY_MANAGEMENT, ZBEE_ZCL_CID_ENERGY_MANAGEMENT, "Energy Management"}, { ZBEE_ZCL_CID_CALENDAR, ZBEE_ZCL_CID_CALENDAR, "Calendar"}, { ZBEE_ZCL_CID_DEVICE_MANAGEMENT, ZBEE_ZCL_CID_DEVICE_MANAGEMENT, "Device Management"}, { ZBEE_ZCL_CID_EVENTS, ZBEE_ZCL_CID_EVENTS, "Events"}, { ZBEE_ZCL_CID_MDU_PAIRING, ZBEE_ZCL_CID_MDU_PAIRING, "MDU Pairing"}, { ZBEE_ZCL_CID_SUB_GHZ, ZBEE_ZCL_CID_SUB_GHZ, "Sub-Ghz"}, { ZBEE_ZCL_CID_DAILY_SCHEDULE, ZBEE_ZCL_CID_DAILY_SCHEDULE, "Daily Schedule"}, /* ZCL Cluster IDs - Key Establishment */ { ZBEE_ZCL_CID_KE, ZBEE_ZCL_CID_KE, "Key Establishment"}, /* ZCL Cluster IDs - Home Automation */ {ZBEE_ZCL_CID_APPLIANCE_IDENTIFICATION, ZBEE_ZCL_CID_APPLIANCE_IDENTIFICATION, "Appliance Identification"}, {ZBEE_ZCL_CID_METER_IDENTIFICATION, ZBEE_ZCL_CID_METER_IDENTIFICATION, "Meter Identification"}, {ZBEE_ZCL_CID_APPLIANCE_EVENTS_AND_ALERT, ZBEE_ZCL_CID_APPLIANCE_EVENTS_AND_ALERT, "Appliance Events And Alerts"}, {ZBEE_ZCL_CID_APPLIANCE_STATISTICS, ZBEE_ZCL_CID_APPLIANCE_STATISTICS, "Appliance Statistics"}, {ZBEE_ZCL_CID_ZLL, ZBEE_ZCL_CID_ZLL, "ZLL Commissioning"}, /* ZCL Cluster IDs - Manufacturer Specific */ {ZBEE_ZCL_CID_MANUFACTURER_SPECIFIC_MIN, ZBEE_ZCL_CID_MANUFACTURER_SPECIFIC_MAX, "Manufacturer Specific"}, { 0, 0, NULL } }; /* APS Test Profile #2 Cluster Names */ static const value_string zbee_aps_t2_cid_names[] = { { ZBEE_APS_T2_CID_BR, "Broadcast Request"}, { ZBEE_APS_T2_CID_BTADR, "Broadcast to All Devices Response"}, { ZBEE_APS_T2_CID_BTARACR, "Broadcast to All Routers and Coordinator Response"}, { ZBEE_APS_T2_CID_BTARXOWIDR, "Broadcast to All RXOnWhenIdle Devices Response"}, { ZBEE_APS_T2_CID_BTGREQ, "Buffer Test Group Request"}, { ZBEE_APS_T2_CID_BTGRES, "Buffer Test Group Response"}, { ZBEE_APS_T2_CID_BTREQ, "Buffer Test Request"}, { ZBEE_APS_T2_CID_BTRES, "Buffer Test Response"}, { ZBEE_APS_T2_CID_FNDR, "Freeform No Data Response"}, { ZBEE_APS_T2_CID_FREQ, "Freeform Request"}, { ZBEE_APS_T2_CID_FRES, "Freeform Response"}, { ZBEE_APS_T2_CID_PCR, "Packet Count Response"}, { ZBEE_APS_T2_CID_RDREQ, "Route Discovery Request"}, { ZBEE_APS_T2_CID_RDRES, "Route Discovery Response"}, { ZBEE_APS_T2_CID_RESPC, "Reset Packet Count"}, { ZBEE_APS_T2_CID_RETPC, "Retrieve Packet Count"}, { ZBEE_APS_T2_CID_TCP, "Transmit Counted Packets"}, { 0, NULL } }; /* APS Test Profile #2 Buffer Test Response Status Names */ static const value_string zbee_aps_t2_btres_status_names[] = { { ZBEE_APS_T2_CID_BTRES_S_SBT, "Successful Buffer Test"}, { ZBEE_APS_T2_CID_BTRES_S_TFOFA, "Transmission Failure on First Attempt"}, { 0, NULL } }; /* APS Fragmented Block Acknowledgements */ #define ZBEE_APS_FRAG_BLOCK1_ACK 0x01 #define ZBEE_APS_FRAG_BLOCK2_ACK 0x02 #define ZBEE_APS_FRAG_BLOCK3_ACK 0x04 #define ZBEE_APS_FRAG_BLOCK4_ACK 0x08 #define ZBEE_APS_FRAG_BLOCK5_ACK 0x10 #define ZBEE_APS_FRAG_BLOCK6_ACK 0x20 #define ZBEE_APS_FRAG_BLOCK7_ACK 0x40 #define ZBEE_APS_FRAG_BLOCK8_ACK 0x80 /* calculate the extended counter - top 24 bits of the previous counter, * plus our own; then correct for wrapping */ static guint32 zbee_aps_calculate_extended_counter(guint32 previous_counter, guint8 raw_counter) { guint32 counter = (previous_counter & 0xffffff00) | raw_counter; if ((counter + 0x40) < previous_counter) { counter += 0x100; } else if ((previous_counter + 0x40) < counter) { /* we got an out-of-order packet which happened to go backwards over the * wrap boundary */ counter -= 0x100; } return counter; } static struct zbee_aps_node_packet_info* zbee_aps_node_packet_info(packet_info *pinfo, const zbee_nwk_packet *nwk, const zbee_nwk_hints_t *nwk_hints, const zbee_aps_packet *packet) { struct zbee_aps_node_packet_info *node_data_packet; node_data_packet = (struct zbee_aps_node_packet_info *)p_get_proto_data(wmem_file_scope(), pinfo, proto_zbee_aps, ZBEE_APS_NODE_PROTO_DATA); if (node_data_packet == NULL) { ieee802154_short_addr addr16; struct zbee_aps_node_info *node_data; guint32 counter; if (nwk_hints) { addr16.pan = nwk_hints->src_pan; } else { addr16.pan = 0x0000; } if (packet->type != ZBEE_APS_FCF_ACK) { addr16.addr = nwk->src; } else { addr16.addr = nwk->dst; } node_data = (struct zbee_aps_node_info*) g_hash_table_lookup(zbee_table_aps_extended_counters, &addr16); if (node_data == NULL) { node_data = wmem_new0(wmem_file_scope(), struct zbee_aps_node_info); node_data->extended_counter = 0x100; g_hash_table_insert(zbee_table_aps_extended_counters, wmem_memdup(wmem_file_scope(), &addr16, sizeof(addr16)), node_data); } node_data_packet = wmem_new(wmem_file_scope(), struct zbee_aps_node_packet_info); p_add_proto_data(wmem_file_scope(), pinfo, proto_zbee_aps, ZBEE_APS_NODE_PROTO_DATA, node_data_packet); counter = zbee_aps_calculate_extended_counter(node_data->extended_counter, packet->counter); node_data->extended_counter = counter; node_data_packet->extended_counter = counter; } return node_data_packet; } /** *ZigBee Application Support Sublayer dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_aps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { tvbuff_t *payload_tvb = NULL; dissector_handle_t profile_handle = NULL; dissector_handle_t zcl_handle = NULL; proto_tree *aps_tree; proto_tree *field_tree; proto_item *proto_root; zbee_aps_packet packet; zbee_nwk_packet *nwk; zbee_nwk_hints_t *nwk_hints; struct zbee_aps_node_packet_info *node_data_packet; guint8 fcf; guint8 offset = 0; static int * const frag_ack_flags[] = { &hf_zbee_aps_block_ack1, &hf_zbee_aps_block_ack2, &hf_zbee_aps_block_ack3, &hf_zbee_aps_block_ack4, &hf_zbee_aps_block_ack5, &hf_zbee_aps_block_ack6, &hf_zbee_aps_block_ack7, &hf_zbee_aps_block_ack8, NULL }; /* Reject the packet if data is NULL */ if (data == NULL) return 0; nwk = (zbee_nwk_packet *)data; /* Init. */ memset(&packet, 0, sizeof(zbee_aps_packet)); nwk_hints = (zbee_nwk_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_get_id_by_filter_name(ZBEE_PROTOABBREV_NWK), 0); /* Create the protocol tree */ proto_root = proto_tree_add_protocol_format(tree, proto_zbee_aps, tvb, offset, tvb_captured_length(tvb), "ZigBee Application Support Layer"); aps_tree = proto_item_add_subtree(proto_root, ett_zbee_aps); /* Set the protocol column, if the NWK layer hasn't already done so. */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZigBee"); /* Get the FCF */ fcf = tvb_get_guint8(tvb, offset); packet.type = zbee_get_bit_field(fcf, ZBEE_APS_FCF_FRAME_TYPE); packet.delivery = zbee_get_bit_field(fcf, ZBEE_APS_FCF_DELIVERY_MODE); packet.indirect_mode = zbee_get_bit_field(fcf, ZBEE_APS_FCF_INDIRECT_MODE); packet.ack_format = zbee_get_bit_field(fcf, ZBEE_APS_FCF_ACK_FORMAT); packet.security = zbee_get_bit_field(fcf, ZBEE_APS_FCF_SECURITY); packet.ack_req = zbee_get_bit_field(fcf, ZBEE_APS_FCF_ACK_REQ); packet.ext_header = zbee_get_bit_field(fcf, ZBEE_APS_FCF_EXT_HEADER); /* Display the frame type to the proto root and info column. */ proto_item_append_text(proto_root, " %s", val_to_str_const(packet.type, zbee_aps_frame_types, "Unknown Type")); col_set_str(pinfo->cinfo, COL_INFO, "APS: "); col_append_str(pinfo->cinfo, COL_INFO, val_to_str_const(packet.type, zbee_aps_frame_types, "Unknown Frame Type")); /* Display the FCF */ /* Create the subtree */ field_tree = proto_tree_add_subtree_format(aps_tree, tvb, offset, 1, ett_zbee_aps_fcf, NULL, "Frame Control Field: %s (0x%02x)", val_to_str_const(packet.type, zbee_aps_frame_types, "Unknown"), fcf); /* Add the frame type and delivery mode. */ proto_tree_add_uint(field_tree, hf_zbee_aps_fcf_frame_type, tvb, offset, 1, fcf & ZBEE_APS_FCF_FRAME_TYPE); proto_tree_add_uint(field_tree, hf_zbee_aps_fcf_delivery, tvb, offset, 1, fcf & ZBEE_APS_FCF_DELIVERY_MODE); if (nwk->version >= ZBEE_VERSION_2007) { /* ZigBee 2007 and later uses an ack mode flag. */ if (packet.type == ZBEE_APS_FCF_ACK) { proto_tree_add_boolean(field_tree, hf_zbee_aps_fcf_ack_format, tvb, offset, 1, fcf & ZBEE_APS_FCF_ACK_FORMAT); } } else { /* ZigBee 2004, uses indirect mode. */ if (packet.delivery == ZBEE_APS_FCF_INDIRECT) { proto_tree_add_boolean(field_tree, hf_zbee_aps_fcf_indirect_mode, tvb, offset, 1, fcf & ZBEE_APS_FCF_INDIRECT_MODE); } } /* Add the rest of the flags */ proto_tree_add_boolean(field_tree, hf_zbee_aps_fcf_security, tvb, offset, 1, fcf & ZBEE_APS_FCF_SECURITY); proto_tree_add_boolean(field_tree, hf_zbee_aps_fcf_ack_req, tvb, offset, 1, fcf & ZBEE_APS_FCF_ACK_REQ); proto_tree_add_boolean(field_tree, hf_zbee_aps_fcf_ext_header, tvb, offset, 1, fcf & ZBEE_APS_FCF_EXT_HEADER); offset += 1; /* Check if the endpoint addressing fields are present. */ switch (packet.type) { case ZBEE_APS_FCF_DATA: /* Endpoint addressing must exist to some extent on data frames. */ break; case ZBEE_APS_FCF_ACK: if ((nwk->version >= ZBEE_VERSION_2007) && (packet.ack_format)) { /* Command Ack: endpoint addressing does not exist. */ goto dissect_zbee_aps_no_endpt; } break; case ZBEE_APS_FCF_INTERPAN: packet.dst_present = FALSE; packet.src_present = FALSE; break; default: case ZBEE_APS_FCF_CMD: /* Endpoint addressing does not exist for these frames. */ goto dissect_zbee_aps_no_endpt; } /* switch */ if (packet.type != ZBEE_APS_FCF_INTERPAN) { /* Determine whether the source and/or destination endpoints are present. * We should only get here for endpoint-addressed data or ack frames. */ if ((packet.delivery == ZBEE_APS_FCF_UNICAST) || (packet.delivery == ZBEE_APS_FCF_BCAST)) { /* Source and destination endpoints exist. (Although, I strongly * disagree with the presence of the endpoint in broadcast delivery * mode). */ packet.dst_present = TRUE; packet.src_present = TRUE; } else if ((packet.delivery == ZBEE_APS_FCF_INDIRECT) && (nwk->version <= ZBEE_VERSION_2004)) { /* Indirect addressing was removed in ZigBee 2006, basically because it * was a useless, broken feature which only complicated things. Treat * this mode as invalid for ZigBee 2006 and later. When using indirect * addressing, only one of the source and destination endpoints exist, * and is controlled by the setting of indirect_mode. */ packet.dst_present = (!packet.indirect_mode); packet.src_present = (packet.indirect_mode); } else if ((packet.delivery == ZBEE_APS_FCF_GROUP) && (nwk->version >= ZBEE_VERSION_2007)) { /* Group addressing was added in ZigBee 2006, and contains only the * source endpoint. (IMO, Broacast deliveries should do the same). */ packet.dst_present = FALSE; packet.src_present = TRUE; } else { /* Illegal Delivery Mode. */ expert_add_info(pinfo, proto_root, &ei_zbee_aps_invalid_delivery_mode); return tvb_captured_length(tvb); } /* If the destination endpoint is present, get and display it. */ if (packet.dst_present) { packet.dst = tvb_get_guint8(tvb, offset); proto_tree_add_uint(aps_tree, hf_zbee_aps_dst, tvb, offset, 1, packet.dst); proto_item_append_text(proto_root, ", Dst Endpt: %d", packet.dst); offset += 1; /* Update the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, ", Dst Endpt: %d", packet.dst); } } /* if !interpan */ /* If the group address is present, display it. */ if (packet.delivery == ZBEE_APS_FCF_GROUP) { packet.group = tvb_get_letohs(tvb, offset); proto_tree_add_uint(aps_tree, hf_zbee_aps_group, tvb, offset,2, packet.group); proto_item_append_text(proto_root, ", Group: 0x%04x", packet.group); offset +=2; /* Update the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, ", Group: 0x%04x", packet.group); } /* Get and display the cluster ID. */ if (nwk->version >= ZBEE_VERSION_2007) { /* Cluster ID is 16-bits long in ZigBee 2007 and later. */ nwk->cluster_id = tvb_get_letohs(tvb, offset); switch (tvb_get_letohs(tvb, offset + 2)) { case ZBEE_DEVICE_PROFILE: proto_tree_add_uint_format(aps_tree, hf_zbee_aps_zdp_cluster, tvb, offset, 2, nwk->cluster_id, "%s (Cluster ID: 0x%04x)", val_to_str_const(nwk->cluster_id, zbee_zdp_cluster_names, "Unknown Device Profile Cluster"), nwk->cluster_id); break; case ZBEE_PROFILE_T2: proto_tree_add_item(aps_tree, hf_zbee_aps_t2_cluster, tvb, offset, 2, ENC_LITTLE_ENDIAN); if (packet.type == ZBEE_APS_FCF_DATA) { col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(nwk->cluster_id, zbee_aps_t2_cid_names, "Unknown T2 cluster")); } break; default: proto_tree_add_item(aps_tree, hf_zbee_aps_cluster, tvb, offset, 2, ENC_LITTLE_ENDIAN); break; } offset += 2; } else { /* Cluster ID is 8-bits long in ZigBee 2004 and earlier. */ nwk->cluster_id = tvb_get_guint8(tvb, offset); proto_tree_add_uint_format_value(aps_tree, hf_zbee_aps_cluster, tvb, offset, 1, nwk->cluster_id, "0x%02x", nwk->cluster_id); offset += 1; } /* Get and display the profile ID. */ packet.profile = tvb_get_letohs(tvb, offset); profile_handle = dissector_get_uint_handle(zbee_aps_dissector_table, packet.profile); proto_tree_add_uint(aps_tree, hf_zbee_aps_profile, tvb, offset,2, packet.profile); /* Update the protocol root and info column later, after the source endpoint * so that the source and destination will be back-to-back in the text. */ offset +=2; /* The source endpoint is present for all cases except indirect /w indirect_mode == FALSE */ if (packet.type != ZBEE_APS_FCF_INTERPAN && ((packet.delivery != ZBEE_APS_FCF_INDIRECT) || (!packet.indirect_mode))) { packet.src = tvb_get_guint8(tvb, offset); proto_tree_add_uint(aps_tree, hf_zbee_aps_src, tvb, offset, 1, packet.src); proto_item_append_text(proto_root, ", Src Endpt: %d", packet.src); offset += 1; /* Update the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, ", Src Endpt: %d", packet.src); } /* Display the profile ID now that the source endpoint was listed. */ if (packet.type == ZBEE_APS_FCF_DATA) { col_append_fstr(pinfo->cinfo, COL_PROTOCOL, " %s", rval_to_str_const(packet.profile, zbee_aps_apid_abbrs, "")); } /* Jump here if there is no endpoint addressing in this frame. */ dissect_zbee_aps_no_endpt: /* Get and display the APS counter. Only present on ZigBee 2007 and later. */ if (nwk->version >= ZBEE_VERSION_2007 && packet.type != ZBEE_APS_FCF_INTERPAN) { packet.counter = tvb_get_guint8(tvb, offset); proto_tree_add_uint(aps_tree, hf_zbee_aps_counter, tvb, offset, 1, packet.counter); offset += 1; } node_data_packet = zbee_aps_node_packet_info(pinfo, nwk, nwk_hints, &packet); /* Get and display the extended header, if present. */ if (packet.ext_header) { fcf = tvb_get_guint8(tvb, offset); packet.fragmentation = fcf & ZBEE_APS_EXT_FCF_FRAGMENT; /* Create a subtree */ field_tree = proto_tree_add_subtree_format(aps_tree, tvb, offset, 1, ett_zbee_aps_fcf, NULL, "Extended Frame Control Field (0x%02x)", fcf); /* Display the fragmentation sub-field. */ proto_tree_add_uint(field_tree, hf_zbee_aps_fragmentation, tvb, offset, 1, packet.fragmentation); offset += 1; /* If fragmentation is enabled, get and display the block number. */ if (packet.fragmentation != ZBEE_APS_EXT_FCF_FRAGMENT_NONE) { packet.block_number = tvb_get_guint8(tvb, offset); proto_tree_add_uint(field_tree, hf_zbee_aps_block_number, tvb, offset, 1, packet.block_number); offset += 1; } /* If fragmentation is enabled, and this is an acknowledgement, get and display the ack bitfield. */ if ((packet.fragmentation != ZBEE_APS_EXT_FCF_FRAGMENT_NONE) && (packet.type == ZBEE_APS_FCF_ACK)) { proto_tree_add_bitmask(field_tree, tvb, offset, hf_zbee_aps_block_ack, ett_zbee_aps_frag_ack, frag_ack_flags, ENC_NA); offset += 1; } } else { /* Ensure the fragmentation mode is set off, so that the reassembly handler * doesn't get called. */ packet.fragmentation = ZBEE_APS_EXT_FCF_FRAGMENT_NONE; } /* If a payload is present, and security is enabled, decrypt the payload. */ if ((offset < tvb_captured_length(tvb)) && packet.security) { payload_tvb = dissect_zbee_secure(tvb, pinfo, aps_tree, offset); if (payload_tvb == NULL) { /* If Payload_tvb is NULL, then the security dissector cleaned up. */ return tvb_captured_length(tvb); } } /* If the payload exists, create a tvb subset. */ else if (offset < tvb_captured_length(tvb)) { payload_tvb = tvb_new_subset_remaining(tvb, offset); } /* If the payload exists, and the packet is fragmented, attempt reassembly. */ if ((payload_tvb) && (packet.fragmentation != ZBEE_APS_EXT_FCF_FRAGMENT_NONE)) { guint32 msg_id; guint32 block_num; guint32 num_blocks; fragment_head *frag_msg = NULL; tvbuff_t *new_tvb; /* Set the fragmented flag. */ pinfo->fragmented = TRUE; /* The source address (short address and PAN ID) and APS Counter pair form a unique identifier * for each message (fragmented or not). Hash these together to * create the message id for the fragmentation handler. */ msg_id = ((nwk->src)<<16) + (node_data_packet->extended_counter & 0xffff); if (nwk_hints) { msg_id ^= (nwk_hints->src_pan)<<16; } /* If this is the first block of a fragmented message, than the block * number field is the maximum number of blocks in the message. Otherwise * the block number is the block being sent. */ if (packet.fragmentation == ZBEE_APS_EXT_FCF_FRAGMENT_FIRST) { num_blocks = packet.block_number - 1; block_num = 0; /* first packet. */ } else { block_num = packet.block_number; num_blocks = 0; } /* Add this fragment to the reassembly handler. */ frag_msg = fragment_add_seq_check(&zbee_aps_reassembly_table, payload_tvb, 0, pinfo, msg_id, NULL, block_num, tvb_captured_length(payload_tvb), TRUE); if (num_blocks > 0) { fragment_set_tot_len(&zbee_aps_reassembly_table, pinfo, msg_id, NULL, num_blocks); } new_tvb = process_reassembled_data(payload_tvb, 0, pinfo, "Reassembled ZigBee APS" , frag_msg, &zbee_aps_frag_items, NULL, aps_tree); if (new_tvb) { /* The reassembly handler defragmented the message, and created a new tvbuff. */ payload_tvb = new_tvb; } else { /* The reassembly handler could not defragment the message. */ col_append_fstr(pinfo->cinfo, COL_INFO, " (fragment %d)", block_num); call_data_dissector(payload_tvb, pinfo, tree); return tvb_captured_length(tvb); } } /* Handle the packet type. */ switch (packet.type) { case ZBEE_APS_FCF_DATA: case ZBEE_APS_FCF_INTERPAN: if (!payload_tvb) { break; } if (nwk->version <= ZBEE_VERSION_2004) { /* * In ZigBee 2004, an "application framework" sits between the * APS and application. Call a subdissector to handle it. */ nwk->private_data = profile_handle; profile_handle = zbee_apf_handle; } else if (profile_handle == NULL) { if (payload_tvb && (packet.profile == ZBEE_PROFILE_T2)) { /* Move T2 dissect here: don't want to show T2 contents as * ZCL mess, broken packets etc */ payload_tvb = tvb_new_subset_remaining(payload_tvb, dissect_zbee_t2(payload_tvb, aps_tree, nwk->cluster_id)); } else { /* Could not locate a profile dissector, but there may be profile-wide commands so try to dissect them */ zcl_handle = find_dissector(ZBEE_PROTOABBREV_ZCL); } if (zcl_handle) { call_dissector_with_data(zcl_handle, payload_tvb, pinfo, tree, nwk); } break; } call_dissector_with_data(profile_handle, payload_tvb, pinfo, tree, nwk); return tvb_captured_length(tvb); case ZBEE_APS_FCF_CMD: if (!payload_tvb) { /* Command packets MUST contain a payload. */ expert_add_info(pinfo, proto_root, &ei_zbee_aps_missing_payload); return tvb_captured_length(tvb); } dissect_zbee_aps_cmd(payload_tvb, pinfo, aps_tree, nwk->version, data); return tvb_captured_length(tvb); case ZBEE_APS_FCF_ACK: /* Acks should never contain a payload. */ break; default: /* Illegal frame type. */ break; } /* switch */ /* * If we get this far, then no subdissectors have been called, use the data * dissector to display the leftover bytes, if any. */ if (payload_tvb) { call_data_dissector(payload_tvb, pinfo, tree); } return tvb_captured_length(tvb); } /* dissect_zbee_aps */ /** *ZigBee APS sub-dissector for APS Command frames * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param version version of APS *@param data raw packet private data. */ static void dissect_zbee_aps_cmd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version, void *data) { proto_item *cmd_root; proto_tree *cmd_tree; guint offset = 0; guint8 cmd_id = tvb_get_guint8(tvb, offset); /* Create a subtree for the APS Command frame, and add the command ID to it. */ cmd_tree = proto_tree_add_subtree_format(tree, tvb, offset, -1, ett_zbee_aps_cmd, &cmd_root, "Command Frame: %s", val_to_str_const(cmd_id, zbee_aps_cmd_names, "Unknown")); /* Add the command ID. */ proto_tree_add_uint(cmd_tree, hf_zbee_aps_cmd_id, tvb, offset, 1, cmd_id); offset += 1; /* Add the command name to the info column. */ col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(cmd_id, zbee_aps_cmd_names, "Unknown Command")); /* Handle the contents of the command frame. */ switch(cmd_id){ case ZBEE_APS_CMD_SKKE1: case ZBEE_APS_CMD_SKKE2: offset = dissect_zbee_aps_skke_challenge(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_SKKE3: case ZBEE_APS_CMD_SKKE4: offset = dissect_zbee_aps_skke_data(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_TRANSPORT_KEY: /* Transport Key Command. */ offset = dissect_zbee_aps_transport_key(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_UPDATE_DEVICE: /* Update Device Command. */ offset = dissect_zbee_aps_update_device(tvb, pinfo, cmd_tree, offset, version); break; case ZBEE_APS_CMD_REMOVE_DEVICE: /* Remove Device. */ offset = dissect_zbee_aps_remove_device(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_REQUEST_KEY: /* Request Key Command. */ offset = dissect_zbee_aps_request_key(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_SWITCH_KEY: /* Switch Key Command. */ offset = dissect_zbee_aps_switch_key(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_EA_INIT_CHLNG: case ZBEE_APS_CMD_EA_RESP_CHLNG: /* Entity Authentication Challenge Command. */ offset = dissect_zbee_aps_auth_challenge(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_EA_INIT_MAC_DATA: case ZBEE_APS_CMD_EA_RESP_MAC_DATA: /* Entity Authentication Data Command. */ offset = dissect_zbee_aps_auth_data(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_TUNNEL: /* Tunnel Command. */ offset = dissect_zbee_aps_tunnel(tvb, pinfo, cmd_tree, offset, data); break; case ZBEE_APS_CMD_VERIFY_KEY: /* Verify Key Command. */ offset = dissect_zbee_aps_verify_key(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_CONFIRM_KEY: /* Confirm Key Command. */ offset = dissect_zbee_aps_confirm_key(tvb, pinfo, cmd_tree, offset); break; case ZBEE_APS_CMD_RELAY_MSG_DOWNSTREAM: case ZBEE_APS_CMD_RELAY_MSG_UPSTREAM: break; default: break; } /* switch */ /* Dissect any TLVs */ offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, data, ZBEE_TLV_SRC_TYPE_ZBEE_APS, cmd_id); /* Check for any excess bytes. */ if (offset < tvb_captured_length(tvb)) { /* There are leftover bytes! */ proto_tree *root; tvbuff_t *leftover_tvb = tvb_new_subset_remaining(tvb, offset); /* Get the APS Root. */ root = proto_tree_get_root(tree); /* Correct the length of the command tree. */ proto_item_set_len(cmd_root, offset); /* Dump the leftover to the data dissector. */ call_data_dissector(leftover_tvb, pinfo, root); } } /* dissect_zbee_aps_cmd */ /** *Helper dissector for the SKKE Challenge commands (SKKE1 and * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_skke_challenge(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { /* Get and display the initiator address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_initiator, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the responder address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_responder, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the SKKE data. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_challenge, tvb, offset, ZBEE_APS_CMD_SKKE_DATA_LENGTH, ENC_NA); offset += ZBEE_APS_CMD_SKKE_DATA_LENGTH; /* Done */ return offset; } /* dissect_zbee_aps_skke_challenge */ /** *Helper dissector for the SKKE Data commands (SKKE3 and * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_skke_data(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { /* Get and display the initiator address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_initiator, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the responder address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_responder, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the SKKE data. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_mac, tvb, offset, ZBEE_APS_CMD_SKKE_DATA_LENGTH, ENC_NA); offset += ZBEE_APS_CMD_SKKE_DATA_LENGTH; /* Done */ return offset; } /* dissect_zbee_aps_skke_data */ /** *Helper dissector for the Transport Key command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_transport_key(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 key_type; guint8 key[ZBEE_APS_CMD_KEY_LENGTH]; guint i; /* Get and display the key type. */ key_type = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_aps_cmd_key_type, tvb, offset, 1, key_type); offset += 1; /* Coincidentally, all the key descriptors start with the key. So * get and display it. */ for (i=0; i<ZBEE_APS_CMD_KEY_LENGTH ; i++) { key[i] = tvb_get_guint8(tvb, offset+i); } /* for */ proto_tree_add_item(tree, hf_zbee_aps_cmd_key, tvb, offset, ZBEE_APS_CMD_KEY_LENGTH, ENC_NA); offset += ZBEE_APS_CMD_KEY_LENGTH; /* Update the key ring for this pan */ zbee_sec_add_key_to_keyring(pinfo, key); /* Parse the rest of the key descriptor. */ switch (key_type) { case ZBEE_APS_CMD_KEY_STANDARD_NWK: case ZBEE_APS_CMD_KEY_HIGH_SEC_NWK: { /* Network Key */ guint8 seqno; /* Get and display the sequence number. */ seqno = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_aps_cmd_seqno, tvb, offset, 1, seqno); offset += 1; /* Get and display the destination address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_dst, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the source address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_src, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; break; } case ZBEE_APS_CMD_KEY_TC_MASTER: case ZBEE_APS_CMD_KEY_TC_LINK: { /* Trust Center master key. */ /* Get and display the destination address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_dst, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the source address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_src, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; break; } case ZBEE_APS_CMD_KEY_APP_MASTER: case ZBEE_APS_CMD_KEY_APP_LINK: { /* Application master or link key, both have the same format. */ guint8 initiator; /* get and display the partner address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_partner, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* get and display the initiator flag. */ initiator = tvb_get_guint8(tvb, offset); proto_tree_add_boolean(tree, hf_zbee_aps_cmd_initiator_flag, tvb, offset, 1, initiator); offset += 1; break; } default: break; } /* switch */ /* Done */ return offset; } /* dissect_zbee_aps_transport_key */ /** *Helper dissector for the Verify Key Command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_verify_key(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { /* display the key type. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_key_type, tvb, offset, 1, ENC_NA); offset += 1; /* Get and display the source address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_src, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* This value is the outcome of executing the specialized keyed hash * function specified in section B.1.4 using a key with the 1-octet string * 03 as the input string. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_key_hash, tvb, offset, ZBEE_APS_CMD_KEY_LENGTH, ENC_NA); offset += ZBEE_APS_CMD_KEY_LENGTH; /* Done */ return offset; } /* dissect_zbee_aps_verify_key */ /** *Helper dissector for the Confirm Key command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_confirm_key(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { /* display status. */ guint status = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_aps_cmd_status, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* display the key type. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_key_type, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_aps_cmd_dst, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_item_append_text(tree, ", %s", val_to_str_const(status, zbee_aps_status_names, "Unknown Status")); col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str_const(status, zbee_aps_status_names, "Unknown Status")); /* Done */ return offset; } /* dissect_zbee_aps_confirm_key */ /** *Helper dissector for the Update Device command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_update_device(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint8 version) { /* Get and display the device address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_device, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the short address. Only on ZigBee 2006 and later. */ if (version >= ZBEE_VERSION_2007) { proto_tree_add_item(tree, hf_zbee_aps_cmd_short_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset +=2; } /* Get and display the status. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_device_status, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Done */ return offset; } /* dissect_zbee_aps_update_device */ /** *Helper dissector for the Remove Device command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_remove_device(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { /* Get and display the device address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_device, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Done */ return offset; } /* dissect_zbee_aps_remove_device */ /** *Helper dissector for the Request Key command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_request_key(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 key_type; /* Get and display the key type. */ key_type = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_aps_cmd_key_type, tvb, offset, 1, key_type); offset += 1; /* Get and display the partner address. Only present on application master key. */ if (key_type == ZBEE_APS_CMD_KEY_APP_MASTER) { proto_tree_add_item(tree, hf_zbee_aps_cmd_partner, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } /* Done */ return offset; } /* dissect_zbee_aps_request_key */ /** *Helper dissector for the Switch Key command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_switch_key(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 seqno; /* Get and display the sequence number. */ seqno = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_aps_cmd_seqno, tvb, offset, 1, seqno); offset += 1; /* Done */ return offset; } /* dissect_zbee_aps_switch_key */ /** *Helper dissector for the Entity-Authentication Initiator * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_auth_challenge(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 key_type; guint8 key_seqno; /* Get and display the key type. */ key_type = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_aps_cmd_ea_key_type, tvb, offset, 1, key_type); offset += 1; /* If using the network key, display the key sequence number. */ if (key_type == ZBEE_APS_CMD_EA_KEY_NWK) { key_seqno = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_aps_cmd_seqno, tvb, offset, 1, key_seqno); offset += 1; } /* Get and display the initiator address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_initiator, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the responder address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_responder, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the challenge. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_challenge, tvb, offset, ZBEE_APS_CMD_EA_CHALLENGE_LENGTH, ENC_NA); offset += ZBEE_APS_CMD_EA_CHALLENGE_LENGTH; /* Done*/ return offset; } /* dissect_zbee_aps_auth_challenge */ /** *Helper dissector for the Entity-Authentication Initiator * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_aps_auth_data(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 data_type; /* Display the MAC. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_mac, tvb, offset, ZBEE_APS_CMD_EA_MAC_LENGTH, ENC_NA); offset += ZBEE_APS_CMD_EA_MAC_LENGTH; /* Get and display the data type. */ data_type = tvb_get_guint8(tvb, offset); /* Note! We're interpreting the DataType field to be the same as * KeyType field in the challenge frames. So far, this seems * consistent, although ZigBee appears to have left some holes * in the definition of the DataType and Data fields (ie: what * happens when KeyType == Link Key?) */ proto_tree_add_uint(tree, hf_zbee_aps_cmd_ea_key_type, tvb, offset, 1, data_type); offset += 1; /* Display the data field. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_ea_data, tvb, offset, ZBEE_APS_CMD_EA_DATA_LENGTH, ENC_NA); offset += ZBEE_APS_CMD_EA_DATA_LENGTH; /* Done */ return offset; } /* dissect_zbee_aps_auth_data */ /** *Helper dissector for the Tunnel command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@param data raw packet private data. *@return offset after command dissection. */ static guint dissect_zbee_aps_tunnel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, void *data) { proto_tree *root; tvbuff_t *tunnel_tvb; /* Get and display the destination address. */ proto_tree_add_item(tree, hf_zbee_aps_cmd_dst, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* The remainder is a tunneled APS frame. */ tunnel_tvb = tvb_new_subset_remaining(tvb, offset); root = proto_tree_get_root(tree); call_dissector_with_data(zbee_aps_handle, tunnel_tvb, pinfo, root, data); offset = tvb_captured_length(tvb); /* Done */ return offset; } /* dissect_zbee_aps_tunnel */ /** *ZigBee Application Framework dissector for Wireshark. Note * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree. */ static int dissect_zbee_apf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *apf_tree; proto_item *proto_root; guint8 count; guint8 type; guint offset = 0; guint i; tvbuff_t *app_tvb; dissector_handle_t app_dissector = NULL; zbee_nwk_packet *nwk = (zbee_nwk_packet *)data; if (nwk != NULL) app_dissector = (dissector_handle_t)(nwk->private_data); /* Create the tree for the application framework. */ proto_root = proto_tree_add_protocol_format(tree, proto_zbee_apf, tvb, 0, tvb_captured_length(tvb), "ZigBee Application Framework"); apf_tree = proto_item_add_subtree(proto_root, ett_zbee_apf); /* Get the count and type. */ count = zbee_get_bit_field(tvb_get_guint8(tvb, offset), ZBEE_APP_COUNT); type = zbee_get_bit_field(tvb_get_guint8(tvb, offset), ZBEE_APP_TYPE); proto_tree_add_uint(apf_tree, hf_zbee_apf_count, tvb, offset, 1, count); proto_tree_add_uint(apf_tree, hf_zbee_apf_type, tvb, offset, 1, type); offset += 1; /* Ensure the application dissector exists. */ if (app_dissector == NULL) { /* No dissector for this profile. */ goto dissect_app_end; } /* Handle the transactions. */ for (i=0; i<count; i++) { guint length; /* Create a tvb for this transaction. */ length = zbee_apf_transaction_len(tvb, offset, type); app_tvb = tvb_new_subset_length(tvb, offset, length); /* Call the application dissector. */ call_dissector_with_data(app_dissector, app_tvb, pinfo, tree, data); /* Adjust the offset. */ offset += length; } dissect_app_end: if (offset < tvb_captured_length(tvb)) { /* There are bytes remaining! */ app_tvb = tvb_new_subset_remaining(tvb, offset); call_data_dissector(app_tvb, pinfo, tree); } return tvb_captured_length(tvb); } /* dissect_zbee_apf */ /** *ZigBee Test Profile #2 dissector for Wireshark. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to the command subtree. *@param cluster_id ZigBee Test Profile #2 cluster ID. */ static guint dissect_zbee_t2(tvbuff_t *tvb, proto_tree *tree, guint16 cluster_id) { guint offset = 0; guint8 payload_length; proto_tree *t2_tree; t2_tree = proto_tree_add_subtree(tree, tvb, 0, -1, ett_zbee_aps_t2, NULL, "ZigBee Test Profile #2"); switch (cluster_id) { case ZBEE_APS_T2_CID_BTRES: payload_length = tvb_get_guint8(tvb, offset); proto_tree_add_uint(t2_tree, hf_zbee_aps_t2_btres_octet_sequence_length_requested, tvb, offset, 1, payload_length); offset += 1; proto_tree_add_item(t2_tree, hf_zbee_aps_t2_btres_status, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(t2_tree, hf_zbee_aps_t2_btres_octet_sequence, tvb, offset, payload_length, ENC_NA); offset += payload_length; break; case ZBEE_APS_T2_CID_BTREQ: payload_length = tvb_get_guint8(tvb, offset); proto_tree_add_uint(t2_tree, hf_zbee_aps_t2_btreq_octet_sequence_length, tvb, offset, 1, payload_length); offset += 1; break; } return offset; } /* dissect_zbee_t2 */ /** *Peeks into the application framework, and determines the * *@param tvb packet buffer. *@param offset offset into the buffer. *@param type message type: KVP or MSG. */ static guint zbee_apf_transaction_len(tvbuff_t *tvb, guint offset, guint8 type) { if (type == ZBEE_APP_TYPE_KVP) { /* KVP Type. */ /* | 1 Byte | 1 Byte | 2 Bytes | 0/1 Bytes | Variable | * | SeqNo | Cmd/Data Type | Attribute | Error Code | Data | */ guint8 kvp_cmd = zbee_get_bit_field(tvb_get_guint8(tvb, offset+1), ZBEE_APP_KVP_CMD); guint8 kvp_type = zbee_get_bit_field(tvb_get_guint8(tvb, offset+1), ZBEE_APP_KVP_TYPE); guint kvp_len = ZBEE_APP_KVP_OVERHEAD; /* Add the length of the error code, if present. */ switch (kvp_cmd) { case ZBEE_APP_KVP_SET_RESP: case ZBEE_APP_KVP_EVENT_RESP: /* Error Code Present. */ kvp_len += 1; /* Data Not Present. */ return kvp_len; case ZBEE_APP_KVP_GET_RESP: /* Error Code Present. */ kvp_len += 1; /* Data Present. */ break; case ZBEE_APP_KVP_SET: case ZBEE_APP_KVP_SET_ACK: case ZBEE_APP_KVP_EVENT: case ZBEE_APP_KVP_EVENT_ACK: /* No Error Code Present. */ /* Data Present. */ break; case ZBEE_APP_KVP_GET_ACK: default: /* No Error Code Present. */ /* No Data Present. */ return kvp_len; } /* switch */ /* Add the length of the data. */ switch (kvp_type) { case ZBEE_APP_KVP_ABS_TIME: case ZBEE_APP_KVP_REL_TIME: kvp_len += 4; break; case ZBEE_APP_KVP_UINT16: case ZBEE_APP_KVP_INT16: case ZBEE_APP_KVP_FLOAT16: kvp_len += 2; break; case ZBEE_APP_KVP_UINT8: case ZBEE_APP_KVP_INT8: kvp_len += 1; break; case ZBEE_APP_KVP_CHAR_STRING: case ZBEE_APP_KVP_OCT_STRING: /* Variable Length Types, first byte is the length-1 */ kvp_len += tvb_get_guint8(tvb, offset+kvp_len)+1; break; case ZBEE_APP_KVP_NO_DATA: default: break; } /* switch */ return kvp_len; } else { /* Message Type. */ /* | 1 Byte | 1 Byte | Length Bytes | * | SeqNo | Length | Message | */ return (tvb_get_guint8(tvb, offset+1) + 2); } } /* zbee_apf_transaction_len */ static void proto_init_zbee_aps(void) { zbee_table_aps_extended_counters = g_hash_table_new(ieee802154_short_addr_hash, ieee802154_short_addr_equal); } static void proto_cleanup_zbee_aps(void) { g_hash_table_destroy(zbee_table_aps_extended_counters); } /* The ZigBee Smart Energy version in enum_val_t for the ZigBee Smart Energy version preferences. */ static const enum_val_t zbee_zcl_protocol_version_enums[] = { { "se1.1b", "SE 1.1b", ZBEE_SE_VERSION_1_1B }, { "se1.2", "SE 1.2", ZBEE_SE_VERSION_1_2 }, { "se1.2a", "SE 1.2a", ZBEE_SE_VERSION_1_2A }, { "se1.2b", "SE 1.2b", ZBEE_SE_VERSION_1_2B }, { "se1.4", "SE 1.4", ZBEE_SE_VERSION_1_4 }, { NULL, NULL, 0 } }; gint gPREF_zbee_se_protocol_version = ZBEE_SE_VERSION_1_4; void dissect_zbee_aps_status_code(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { guint status = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_aps_cmd_status, tvb, offset, 1, ENC_LITTLE_ENDIAN); col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str_const(status, zbee_aps_status_names, "Unknown Status")); } /** *ZigBee APS protocol registration routine. * */ void proto_register_zbee_aps(void) { static hf_register_info hf[] = { { &hf_zbee_aps_fcf_frame_type, { "Frame Type", "zbee_aps.type", FT_UINT8, BASE_HEX, VALS(zbee_aps_frame_types), ZBEE_APS_FCF_FRAME_TYPE, NULL, HFILL }}, { &hf_zbee_aps_fcf_delivery, { "Delivery Mode", "zbee_aps.delivery", FT_UINT8, BASE_HEX, VALS(zbee_aps_delivery_modes), ZBEE_APS_FCF_DELIVERY_MODE, NULL, HFILL }}, { &hf_zbee_aps_fcf_indirect_mode, { "Indirect Address Mode", "zbee_aps.indirect_mode", FT_BOOLEAN, 8, NULL, ZBEE_APS_FCF_INDIRECT_MODE, NULL, HFILL }}, { &hf_zbee_aps_fcf_ack_format, { "Acknowledgement Format", "zbee_aps.ack_format", FT_BOOLEAN, 8, NULL, ZBEE_APS_FCF_ACK_FORMAT, NULL, HFILL }}, { &hf_zbee_aps_fcf_security, { "Security", "zbee_aps.security", FT_BOOLEAN, 8, NULL, ZBEE_APS_FCF_SECURITY, "Whether security operations are performed on the APS payload.", HFILL }}, { &hf_zbee_aps_fcf_ack_req, { "Acknowledgement Request","zbee_aps.ack_req", FT_BOOLEAN, 8, NULL, ZBEE_APS_FCF_ACK_REQ, "Flag requesting an acknowledgement frame for this packet.", HFILL }}, { &hf_zbee_aps_fcf_ext_header, { "Extended Header", "zbee_aps.ext_header", FT_BOOLEAN, 8, NULL, ZBEE_APS_FCF_EXT_HEADER, NULL, HFILL }}, { &hf_zbee_aps_dst, { "Destination Endpoint", "zbee_aps.dst", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_group, { "Group", "zbee_aps.group", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_cluster, { "Cluster", "zbee_aps.cluster", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_cid_names), 0x0, NULL, HFILL }}, { &hf_zbee_aps_profile, { "Profile", "zbee_aps.profile", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_apid_names), 0x0, NULL, HFILL }}, { &hf_zbee_aps_src, { "Source Endpoint", "zbee_aps.src", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_counter, { "Counter", "zbee_aps.counter", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_fragmentation, { "Fragmentation", "zbee_aps.fragmentation", FT_UINT8, BASE_HEX, VALS(zbee_aps_fragmentation_modes), ZBEE_APS_EXT_FCF_FRAGMENT, NULL, HFILL }}, { &hf_zbee_aps_block_number, { "Block Number", "zbee_aps.block", FT_UINT8, BASE_DEC, NULL, 0x0, "A block identifier within a fragmented transmission, or the number of expected blocks if the first block.", HFILL }}, { &hf_zbee_aps_block_ack, { "Block Acknowledgements", "zbee_aps.block_acks", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_block_ack1, { "Block 1", "zbee_aps.block1_ack", FT_BOOLEAN, 8, TFS(&tfs_acknowledged_not_acknowledged), ZBEE_APS_FRAG_BLOCK1_ACK, NULL, HFILL }}, { &hf_zbee_aps_block_ack2, { "Block 2", "zbee_aps.block2_ack", FT_BOOLEAN, 8, TFS(&tfs_acknowledged_not_acknowledged), ZBEE_APS_FRAG_BLOCK2_ACK, NULL, HFILL }}, { &hf_zbee_aps_block_ack3, { "Block 3", "zbee_aps.block3_ack", FT_BOOLEAN, 8, TFS(&tfs_acknowledged_not_acknowledged), ZBEE_APS_FRAG_BLOCK3_ACK, NULL, HFILL }}, { &hf_zbee_aps_block_ack4, { "Block 4", "zbee_aps.block4_ack", FT_BOOLEAN, 8, TFS(&tfs_acknowledged_not_acknowledged), ZBEE_APS_FRAG_BLOCK4_ACK, NULL, HFILL }}, { &hf_zbee_aps_block_ack5, { "Block 5", "zbee_aps.block5_ack", FT_BOOLEAN, 8, TFS(&tfs_acknowledged_not_acknowledged), ZBEE_APS_FRAG_BLOCK5_ACK, NULL, HFILL }}, { &hf_zbee_aps_block_ack6, { "Block 6", "zbee_aps.block6_ack", FT_BOOLEAN, 8, TFS(&tfs_acknowledged_not_acknowledged), ZBEE_APS_FRAG_BLOCK6_ACK, NULL, HFILL }}, { &hf_zbee_aps_block_ack7, { "Block 7", "zbee_aps.block7_ack", FT_BOOLEAN, 8, TFS(&tfs_acknowledged_not_acknowledged), ZBEE_APS_FRAG_BLOCK7_ACK, NULL, HFILL }}, { &hf_zbee_aps_block_ack8, { "Block 8", "zbee_aps.block8_ack", FT_BOOLEAN, 8, TFS(&tfs_acknowledged_not_acknowledged), ZBEE_APS_FRAG_BLOCK8_ACK, NULL, HFILL }}, { &hf_zbee_aps_cmd_id, { "Command Identifier", "zbee_aps.cmd.id", FT_UINT8, BASE_HEX, VALS(zbee_aps_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_aps_cmd_initiator, { "Initiator Address", "zbee_aps.cmd.initiator", FT_EUI64, BASE_NONE, NULL, 0x0, "The extended address of the device to initiate the SKKE procedure", HFILL }}, { &hf_zbee_aps_cmd_responder, { "Responder Address", "zbee_aps.cmd.responder", FT_EUI64, BASE_NONE, NULL, 0x0, "The extended address of the device responding to the SKKE procedure", HFILL }}, { &hf_zbee_aps_cmd_partner, { "Partner Address", "zbee_aps.cmd.partner", FT_EUI64, BASE_NONE, NULL, 0x0, "The partner to use this key with for link-level security.", HFILL }}, { &hf_zbee_aps_cmd_initiator_flag, { "Initiator", "zbee_aps.cmd.init_flag", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "Indicates the destination of the transport-key command requested this key.", HFILL }}, { &hf_zbee_aps_cmd_device, { "Device Address", "zbee_aps.cmd.device", FT_EUI64, BASE_NONE, NULL, 0x0, "The device whose status is being updated.", HFILL }}, { &hf_zbee_aps_cmd_challenge, { "Challenge", "zbee_aps.cmd.challenge", FT_BYTES, BASE_NONE, NULL, 0x0, "Random challenge value used during SKKE and authentication.", HFILL }}, { &hf_zbee_aps_cmd_mac, { "Message Authentication Code", "zbee_aps.cmd.mac", FT_BYTES, BASE_NONE, NULL, 0x0, "Message authentication values used during SKKE and authentication.", HFILL }}, { &hf_zbee_aps_cmd_key, { "Key", "zbee_aps.cmd.key", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_cmd_key_hash, { "Key Hash", "zbee_aps.cmd.key_hash", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_cmd_key_type, { "Key Type", "zbee_aps.cmd.key_type", FT_UINT8, BASE_HEX, VALS(zbee_aps_key_names), 0x0, NULL, HFILL }}, { &hf_zbee_aps_cmd_dst, { "Extended Destination", "zbee_aps.cmd.dst", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_cmd_src, { "Extended Source", "zbee_aps.cmd.src", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_cmd_seqno, { "Sequence Number", "zbee_aps.cmd.seqno", FT_UINT8, BASE_DEC, NULL, 0x0, "The key sequence number associated with the network key.", HFILL }}, { &hf_zbee_aps_cmd_short_addr, { "Device Address", "zbee_aps.cmd.addr", FT_UINT16, BASE_HEX, NULL, 0x0, "The device whose status is being updated.", HFILL }}, { &hf_zbee_aps_cmd_device_status, { "Device Status", "zbee_aps.cmd.update_status", FT_UINT8, BASE_HEX, VALS(zbee_aps_update_status_names), 0x0, "Update device status.", HFILL }}, { &hf_zbee_aps_cmd_status, { "Status", "zbee_aps.cmd.status", FT_UINT8, BASE_HEX, VALS(zbee_aps_status_names), 0x0, "APS status.", HFILL }}, { &hf_zbee_aps_cmd_ea_key_type, { "Key Type", "zbee_aps.cmd.ea.key_type", FT_UINT8, BASE_HEX, VALS(zbee_aps_ea_key_names), 0x0, NULL, HFILL }}, { &hf_zbee_aps_cmd_ea_data, { "Data", "zbee_aps.cmd.ea.data", FT_BYTES, BASE_NONE, NULL, 0x0, "Additional data used in entity authentication. Typically this will be the outgoing frame counter associated with the key used for entity authentication.", HFILL }}, { &hf_zbee_aps_fragments, { "Message fragments", "zbee_aps.fragments", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_fragment, { "Message fragment", "zbee_aps.fragment", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_fragment_overlap, { "Message fragment overlap", "zbee_aps.fragment.overlap", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_fragment_overlap_conflicts, { "Message fragment overlapping with conflicting data", "zbee_aps.fragment.overlap.conflicts", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_fragment_multiple_tails, { "Message has multiple tail fragments", "zbee_aps.fragment.multiple_tails", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_fragment_too_long_fragment, { "Message fragment too long", "zbee_aps.fragment.too_long_fragment", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_fragment_error, { "Message defragmentation error", "zbee_aps.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_fragment_count, { "Message fragment count", "zbee_aps.fragment.count", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_reassembled_in, { "Reassembled in", "zbee_aps.reassembled.in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_reassembled_length, { "Reassembled ZigBee APS length", "zbee_aps.reassembled.length", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_t2_cluster, { "Cluster", "zbee_aps.t2.cluster", FT_UINT16, BASE_HEX, VALS(zbee_aps_t2_cid_names), 0x0, NULL, HFILL }}, { &hf_zbee_aps_t2_btres_octet_sequence, { "Octet Sequence", "zbee_aps.t2.btres.octet_sequence", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_t2_btres_octet_sequence_length_requested, { "Octet Sequence Length Requested", "zbee_aps.t2.btres.octet_sequence_length_requested", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_t2_btres_status, { "Status", "zbee_aps.t2.btres.status", FT_UINT8, BASE_HEX, VALS(zbee_aps_t2_btres_status_names), 0x0, NULL, HFILL }}, { &hf_zbee_aps_t2_btreq_octet_sequence_length, { "Octet Sequence Length", "zbee_aps.t2.btreq.octet_sequence_length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_aps_zdp_cluster, { "Cluster", "zbee_aps.zdp_cluster", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }} }; static hf_register_info hf_apf[] = { { &hf_zbee_apf_count, { "Count", "zbee_apf.count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_apf_type, { "Type", "zbee_apf.type", FT_UINT8, BASE_HEX, VALS(zbee_apf_type_names), 0x0, NULL, HFILL }} }; /* APS subtrees */ static gint *ett[] = { &ett_zbee_aps, &ett_zbee_aps_fcf, &ett_zbee_aps_ext, &ett_zbee_aps_cmd, &ett_zbee_aps_fragment, &ett_zbee_aps_fragments, &ett_zbee_aps_t2, &ett_zbee_aps_frag_ack }; static gint *ett_apf[] = { &ett_zbee_apf }; static ei_register_info ei[] = { { &ei_zbee_aps_invalid_delivery_mode, { "zbee_aps.invalid_delivery_mode", PI_PROTOCOL, PI_WARN, "Invalid Delivery Mode", EXPFILL }}, { &ei_zbee_aps_missing_payload, { "zbee_aps.missing_payload", PI_MALFORMED, PI_ERROR, "Missing Payload", EXPFILL }}, }; register_init_routine(proto_init_zbee_aps); register_cleanup_routine(proto_cleanup_zbee_aps); expert_module_t* expert_zbee_aps; /* Register ZigBee APS protocol with Wireshark. */ proto_zbee_aps = proto_register_protocol("ZigBee Application Support Layer", "ZigBee APS", ZBEE_PROTOABBREV_APS); proto_register_field_array(proto_zbee_aps, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_zbee_aps = expert_register_protocol(proto_zbee_aps); expert_register_field_array(expert_zbee_aps, ei, array_length(ei)); /* Register the APS dissector and subdissector list. */ zbee_aps_dissector_table = register_dissector_table("zbee.profile", "ZigBee Profile ID", proto_zbee_aps, FT_UINT16, BASE_HEX); zbee_aps_handle = register_dissector(ZBEE_PROTOABBREV_APS, dissect_zbee_aps, proto_zbee_aps); /* Register preferences */ module_t* zbee_se_prefs = prefs_register_protocol(proto_zbee_aps, NULL); prefs_register_enum_preference(zbee_se_prefs, "zbeeseversion", "ZigBee Smart Energy Version", "Specifies the ZigBee Smart Energy version used when dissecting " "ZigBee APS messages within the Smart Energy Profile", &gPREF_zbee_se_protocol_version, zbee_zcl_protocol_version_enums, FALSE); /* Register reassembly table. */ reassembly_table_register(&zbee_aps_reassembly_table, &addresses_reassembly_table_functions); /* Register the ZigBee Application Framework protocol with Wireshark. */ proto_zbee_apf = proto_register_protocol("ZigBee Application Framework", "ZigBee APF", "zbee_apf"); proto_register_field_array(proto_zbee_apf, hf_apf, array_length(hf_apf)); proto_register_subtree_array(ett_apf, array_length(ett_apf)); /* Register the App dissector. */ zbee_apf_handle = register_dissector("zbee_apf", dissect_zbee_apf, proto_zbee_apf); } /* proto_register_zbee_aps */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-zbee-aps.h
/* packet-zbee-aps.h * Dissector routines for the ZigBee Application Support Sub-layer (APS) * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_ZBEE_APS_H #define PACKET_ZBEE_APS_H /* ZigBee APS */ #define ZBEE_APS_FCF_FRAME_TYPE 0x03 #define ZBEE_APS_FCF_DELIVERY_MODE 0x0c #define ZBEE_APS_FCF_INDIRECT_MODE 0x10 /* ZigBee 2004 and earlier. */ #define ZBEE_APS_FCF_ACK_FORMAT 0x10 /* ZigBee 2007 and later. */ #define ZBEE_APS_FCF_SECURITY 0x20 #define ZBEE_APS_FCF_ACK_REQ 0x40 #define ZBEE_APS_FCF_EXT_HEADER 0x80 #define ZBEE_APS_FCF_DATA 0x00 #define ZBEE_APS_FCF_CMD 0x01 #define ZBEE_APS_FCF_ACK 0x02 #define ZBEE_APS_FCF_INTERPAN 0x03 #define ZBEE_APS_FCF_UNICAST 0x00 #define ZBEE_APS_FCF_INDIRECT 0x01 #define ZBEE_APS_FCF_BCAST 0x02 #define ZBEE_APS_FCF_GROUP 0x03 /* ZigBee 2006 and later. */ #define ZBEE_APS_EXT_FCF_FRAGMENT 0x03 #define ZBEE_APS_EXT_FCF_FRAGMENT_NONE 0x00 #define ZBEE_APS_EXT_FCF_FRAGMENT_FIRST 0x01 #define ZBEE_APS_EXT_FCF_FRAGMENT_MIDDLE 0x02 #define ZBEE_APS_CMD_SKKE1 0x01 #define ZBEE_APS_CMD_SKKE2 0x02 #define ZBEE_APS_CMD_SKKE3 0x03 #define ZBEE_APS_CMD_SKKE4 0x04 #define ZBEE_APS_CMD_TRANSPORT_KEY 0x05 #define ZBEE_APS_CMD_UPDATE_DEVICE 0x06 #define ZBEE_APS_CMD_REMOVE_DEVICE 0x07 #define ZBEE_APS_CMD_REQUEST_KEY 0x08 #define ZBEE_APS_CMD_SWITCH_KEY 0x09 #define ZBEE_APS_CMD_EA_INIT_CHLNG 0x0a #define ZBEE_APS_CMD_EA_RESP_CHLNG 0x0b #define ZBEE_APS_CMD_EA_INIT_MAC_DATA 0x0c #define ZBEE_APS_CMD_EA_RESP_MAC_DATA 0x0d #define ZBEE_APS_CMD_TUNNEL 0x0e #define ZBEE_APS_CMD_VERIFY_KEY 0x0f #define ZBEE_APS_CMD_CONFIRM_KEY 0x10 #define ZBEE_APS_CMD_RELAY_MSG_DOWNSTREAM 0x11 #define ZBEE_APS_CMD_RELAY_MSG_UPSTREAM 0x12 #define ZBEE_APS_CMD_KEY_TC_MASTER 0x00 #define ZBEE_APS_CMD_KEY_STANDARD_NWK 0x01 #define ZBEE_APS_CMD_KEY_APP_MASTER 0x02 #define ZBEE_APS_CMD_KEY_APP_LINK 0x03 #define ZBEE_APS_CMD_KEY_TC_LINK 0x04 #define ZBEE_APS_CMD_KEY_HIGH_SEC_NWK 0x05 #define ZBEE_APS_CMD_SKKE_DATA_LENGTH 16 #define ZBEE_APS_CMD_KEY_LENGTH 16 #define ZBEE_APS_CMD_REQ_NWK_KEY 0x01 #define ZBEE_APS_CMD_REQ_APP_KEY 0x02 #define ZBEE_APS_CMD_UPDATE_STANDARD_SEC_REJOIN 0x00 #define ZBEE_APS_CMD_UPDATE_STANDARD_UNSEC_JOIN 0x01 #define ZBEE_APS_CMD_UPDATE_LEAVE 0x02 #define ZBEE_APS_CMD_UPDATE_STANDARD_UNSEC_REJOIN 0x03 #define ZBEE_APS_CMD_UPDATE_HIGH_SEC_REJOIN 0x04 #define ZBEE_APS_CMD_UPDATE_HIGH_UNSEC_JOIN 0x05 #define ZBEE_APS_CMD_UPDATE_HIGH_UNSEC_REJOIN 0x07 #define ZBEE_APS_CMD_EA_KEY_NWK 0x00 #define ZBEE_APS_CMD_EA_KEY_LINK 0x01 #define ZBEE_APS_CMD_EA_CHALLENGE_LENGTH 16 #define ZBEE_APS_CMD_EA_MAC_LENGTH 16 #define ZBEE_APS_CMD_EA_DATA_LENGTH 4 /* Fields for ZigBee 2004 and earlier. */ #define ZBEE_APP_TYPE 0xF0 #define ZBEE_APP_COUNT 0x0F #define ZBEE_APP_TYPE_KVP 0x01 #define ZBEE_APP_TYPE_MSG 0x02 #define ZBEE_APP_KVP_CMD 0x0F #define ZBEE_APP_KVP_TYPE 0xF0 #define ZBEE_APP_KVP_SET 0x01 #define ZBEE_APP_KVP_EVENT 0x02 #define ZBEE_APP_KVP_GET_ACK 0x04 #define ZBEE_APP_KVP_SET_ACK 0x05 #define ZBEE_APP_KVP_EVENT_ACK 0x06 #define ZBEE_APP_KVP_GET_RESP 0x08 #define ZBEE_APP_KVP_SET_RESP 0x09 #define ZBEE_APP_KVP_EVENT_RESP 0x0A #define ZBEE_APP_KVP_NO_DATA 0x00 #define ZBEE_APP_KVP_UINT8 0x01 #define ZBEE_APP_KVP_INT8 0x02 #define ZBEE_APP_KVP_UINT16 0x03 #define ZBEE_APP_KVP_INT16 0x04 #define ZBEE_APP_KVP_FLOAT16 0x0B #define ZBEE_APP_KVP_ABS_TIME 0x0C #define ZBEE_APP_KVP_REL_TIME 0x0D #define ZBEE_APP_KVP_CHAR_STRING 0x0E #define ZBEE_APP_KVP_OCT_STRING 0x0F #define ZBEE_APP_KVP_OVERHEAD 4 /* ZCL Cluster IDs - General */ #define ZBEE_ZCL_CID_BASIC 0x0000 #define ZBEE_ZCL_CID_POWER_CONFIG 0x0001 #define ZBEE_ZCL_CID_DEVICE_TEMP_CONFIG 0x0002 #define ZBEE_ZCL_CID_IDENTIFY 0x0003 #define ZBEE_ZCL_CID_GROUPS 0x0004 #define ZBEE_ZCL_CID_SCENES 0x0005 #define ZBEE_ZCL_CID_ON_OFF 0x0006 #define ZBEE_ZCL_CID_ON_OFF_SWITCH_CONFIG 0x0007 #define ZBEE_ZCL_CID_LEVEL_CONTROL 0x0008 #define ZBEE_ZCL_CID_ALARMS 0x0009 #define ZBEE_ZCL_CID_TIME 0x000a #define ZBEE_ZCL_CID_RSSI_LOCATION 0x000b #define ZBEE_ZCL_CID_ANALOG_INPUT_BASIC 0x000c #define ZBEE_ZCL_CID_ANALOG_OUTPUT_BASIC 0x000d #define ZBEE_ZCL_CID_ANALOG_VALUE_BASIC 0x000e #define ZBEE_ZCL_CID_BINARY_INPUT_BASIC 0x000f #define ZBEE_ZCL_CID_BINARY_OUTPUT_BASIC 0x0010 #define ZBEE_ZCL_CID_BINARY_VALUE_BASIC 0x0011 #define ZBEE_ZCL_CID_MULTISTATE_INPUT_BASIC 0x0012 #define ZBEE_ZCL_CID_MULTISTATE_OUTPUT_BASIC 0x0013 #define ZBEE_ZCL_CID_MULTISTATE_VALUE_BASIC 0x0014 #define ZBEE_ZCL_CID_COMMISSIONING 0x0015 #define ZBEE_ZCL_CID_PARTITION 0x0016 #define ZBEE_ZCL_CID_OTA_UPGRADE 0x0019 #define ZBEE_ZCL_CID_POLL_CONTROL 0x0020 #define ZBEE_ZCL_CID_GP 0x0021 /* */ #define ZBEE_ZCL_CID_POWER_PROFILE 0x001a #define ZBEE_ZCL_CID_APPLIANCE_CONTROL 0x001b /* ZCL Cluster IDs - Closures */ #define ZBEE_ZCL_CID_SHADE_CONFIG 0x0100 #define ZBEE_ZCL_CID_DOOR_LOCK 0X0101 #define ZBEE_ZCL_CID_WINDOW_COVERING 0X0102 /* ZCL Cluster IDs - HVAC */ #define ZBEE_ZCL_CID_PUMP_CONFIG_CONTROL 0x0200 #define ZBEE_ZCL_CID_THERMOSTAT 0x0201 #define ZBEE_ZCL_CID_FAN_CONTROL 0x0202 #define ZBEE_ZCL_CID_DEHUMIDIFICATION_CONTROL 0x0203 #define ZBEE_ZCL_CID_THERMOSTAT_UI_CONFIG 0x0204 /* ZCL Cluster IDs - Lighting */ #define ZBEE_ZCL_CID_COLOR_CONTROL 0x0300 #define ZBEE_ZCL_CID_BALLAST_CONFIG 0x0301 /* ZCL Cluster IDs - Measurement and Sensing */ #define ZBEE_ZCL_CID_ILLUMINANCE_MEASUREMENT 0x0400 #define ZBEE_ZCL_CID_ILLUMINANCE_LEVEL_SENSING 0x0401 #define ZBEE_ZCL_CID_TEMPERATURE_MEASUREMENT 0x0402 #define ZBEE_ZCL_CID_PRESSURE_MEASUREMENT 0x0403 #define ZBEE_ZCL_CID_FLOW_MEASUREMENT 0x0404 #define ZBEE_ZCL_CID_REL_HUMIDITY_MEASUREMENT 0x0405 #define ZBEE_ZCL_CID_OCCUPANCY_SENSING 0x0406 #define ZBEE_ZCL_CID_ELECTRICAL_MEASUREMENT 0x0b04 /* ZCL Cluster IDs - Security and Safety */ #define ZBEE_ZCL_CID_IAS_ZONE 0x0500 #define ZBEE_ZCL_CID_IAS_ACE 0x0501 #define ZBEE_ZCL_CID_IAS_WD 0x0502 /* ZCL Cluster IDs - Protocol Interfaces */ #define ZBEE_ZCL_CID_GENERIC_TUNNEL 0x0600 #define ZBEE_ZCL_CID_BACNET_PROTOCOL_TUNNEL 0x0601 #define ZBEE_ZCL_CID_BACNET_ANALOG_INPUT_REG 0x0602 #define ZBEE_ZCL_CID_BACNET_ANALOG_INPUT_EXT 0x0603 #define ZBEE_ZCL_CID_BACNET_ANALOG_OUTPUT_REG 0x0604 #define ZBEE_ZCL_CID_BACNET_ANALOG_OUTPUT_EXT 0x0605 #define ZBEE_ZCL_CID_BACNET_ANALOG_VALUE_REG 0x0606 #define ZBEE_ZCL_CID_BACNET_ANALOG_VALUE_EXT 0x0607 #define ZBEE_ZCL_CID_BACNET_BINARY_INPUT_REG 0x0608 #define ZBEE_ZCL_CID_BACNET_BINARY_INPUT_EXT 0x0609 #define ZBEE_ZCL_CID_BACNET_BINARY_OUTPUT_REG 0x060a #define ZBEE_ZCL_CID_BACNET_BINARY_OUTPUT_EXT 0x060b #define ZBEE_ZCL_CID_BACNET_BINARY_VALUE_REG 0x060c #define ZBEE_ZCL_CID_BACNET_BINARY_VALUE_EXT 0x060d #define ZBEE_ZCL_CID_BACNET_MULTISTATE_INPUT_REG 0x060e #define ZBEE_ZCL_CID_BACNET_MULTISTATE_INPUT_EXT 0x060f #define ZBEE_ZCL_CID_BACNET_MULTISTATE_OUTPUT_REG 0x0610 #define ZBEE_ZCL_CID_BACNET_MULTISTATE_OUTPUT_EXT 0x0611 #define ZBEE_ZCL_CID_BACNET_MULTISTATE_VALUE_REG 0x0612 #define ZBEE_ZCL_CID_BACNET_MULTISTATE_VALUE_EXT 0x0613 /* ZCL Cluster IDs - Smart Energy */ #define ZBEE_ZCL_CID_KEEP_ALIVE 0x0025 #define ZBEE_ZCL_CID_PRICE 0x0700 #define ZBEE_ZCL_CID_DEMAND_RESPONSE_LOAD_CONTROL 0x0701 #define ZBEE_ZCL_CID_SIMPLE_METERING 0x0702 #define ZBEE_ZCL_CID_MESSAGE 0x0703 #define ZBEE_ZCL_CID_TUNNELING 0x0704 #define ZBEE_ZCL_CID_PRE_PAYMENT 0x0705 #define ZBEE_ZCL_CID_ENERGY_MANAGEMENT 0x0706 #define ZBEE_ZCL_CID_CALENDAR 0x0707 #define ZBEE_ZCL_CID_DEVICE_MANAGEMENT 0x0708 #define ZBEE_ZCL_CID_EVENTS 0x0709 #define ZBEE_ZCL_CID_MDU_PAIRING 0x070A #define ZBEE_ZCL_CID_SUB_GHZ 0x070B #define ZBEE_ZCL_CID_DAILY_SCHEDULE 0x070D /* ZCL Cluster IDs - Key Establishment */ #define ZBEE_ZCL_CID_KE 0x0800 /* ZCL Cluster IDs - Home Automation */ #define ZBEE_ZCL_CID_APPLIANCE_IDENTIFICATION 0x0b00 #define ZBEE_ZCL_CID_METER_IDENTIFICATION 0x0b01 #define ZBEE_ZCL_CID_APPLIANCE_EVENTS_AND_ALERT 0x0b02 #define ZBEE_ZCL_CID_APPLIANCE_STATISTICS 0x0b03 #define ZBEE_ZCL_CID_ZLL 0x1000 #define ZBEE_ZCL_CID_MANUFACTURER_SPECIFIC_MIN 0xFC00 #define ZBEE_ZCL_CID_MANUFACTURER_SPECIFIC_MAX 0xFFFF /* ZCL Test Profile #2 Clusters */ #define ZBEE_APS_T2_CID_TCP 0x0001 #define ZBEE_APS_T2_CID_RESPC 0x0002 #define ZBEE_APS_T2_CID_RETPC 0x0003 #define ZBEE_APS_T2_CID_PCR 0x0004 #define ZBEE_APS_T2_CID_BTREQ 0x001c #define ZBEE_APS_T2_CID_BTGREQ 0x001d #define ZBEE_APS_T2_CID_BTRES 0x0054 #define ZBEE_APS_T2_CID_BTRES_S_SBT 0x00 #define ZBEE_APS_T2_CID_BTRES_S_TFOFA 0x01 #define ZBEE_APS_T2_CID_BTGRES 0x0055 #define ZBEE_APS_T2_CID_RDREQ 0x1000 #define ZBEE_APS_T2_CID_RDRES 0x1001 #define ZBEE_APS_T2_CID_FREQ 0xa0a8 #define ZBEE_APS_T2_CID_FRES 0xe000 #define ZBEE_APS_T2_CID_FNDR 0xe001 #define ZBEE_APS_T2_CID_BR 0xf000 #define ZBEE_APS_T2_CID_BTADR 0xf001 #define ZBEE_APS_T2_CID_BTARXOWIDR 0xf00a #define ZBEE_APS_T2_CID_BTARACR 0xf00e #define ZBEE_APP_STATUS_SUCCESS 0x00 /*A request has been executed successfully.*/ #define ZBEE_APP_STATUS_ASDU_TOO_LONG 0xa0 /*A transmit request failed since the ASDU is too large and fragmentation is not supported.*/ #define ZBEE_APP_STATUS_DEFRAG_DEFERRED 0xa1 /*A received fragmented frame could not be defragmented at the current time.*/ #define ZBEE_APP_STATUS_DEFRAG_UNSUPPORTED 0xa2 /*A received fragmented frame could not be defragmented since the device does not support fragmentation.*/ #define ZBEE_APP_STATUS_ILLEGAL_REQUEST 0xa3 /*A parameter value was out of range.*/ #define ZBEE_APP_STATUS_INVALID_BINDING 0xa4 /*An APSME-UNBIND.request failed due to the requested binding link not existing in the binding table.*/ #define ZBEE_APP_STATUS_INVALID_GROUP 0xa5 /*An APSME-REMOVE-GROUP.request has been issued with a group identifier that does not appear in the group table.*/ #define ZBEE_APP_STATUS_INVALID_PARAMETER 0xa6 /*A parameter value was invalid or out of range.*/ #define ZBEE_APP_STATUS_NO_ACK 0xa7 /*An APSDE-DATA.request requesting acknowledged trans-mission failed due to no acknowledgement being received.*/ #define ZBEE_APP_STATUS_NO_BOUND_DEVICE 0xa8 /*An APSDE-DATA.request with a destination addressing mode set to 0x00 failed due to there being no devices bound to this device.*/ #define ZBEE_APP_STATUS_NO_SHORT_ADDRESS 0xa9 /*An APSDE-DATA.request with a destination addressing mode set to 0x03 failed due to no corresponding short address found*/ #define ZBEE_APP_STATUS_NOT_SUPPORTED 0xaa /*An APSDE-DATA.request with a destination addressing mode set to 0x00 failed due to a binding table not being supported on the device.*/ #define ZBEE_APP_STATUS_SECURED_LINK_KEY 0xab /*An ASDU was received that was secured using a link key.*/ #define ZBEE_APP_STATUS_SECURED_NWK_KEY 0xac /*An ASDU was received that was secured using a network key.*/ #define ZBEE_APP_STATUS_SECURITY_FAIL 0xad /*An APSDE-DATA.request requesting security has resulted in an error during the corresponding security processing.*/ #define ZBEE_APP_STATUS_TABLE_FULL 0xae /*An APSME-BIND.request or APSME.ADD-GROUP.request issued when the binding or group tables, respectively, were full.*/ #define ZBEE_APP_STATUS_UNSECURED 0xaf /*An ASDU was received without any security.*/ #define ZBEE_APP_STATUS_UNSUPPORTED_ATTRIBUTE 0xb0 /*An APSME-GET.request or APSME-SET.request has been issued with an unknown attribute identifier.*/ #define ZBEE_APS_NODE_PROTO_DATA 0 /* Structure to contain the APS frame information */ typedef struct{ gboolean indirect_mode; /* ZigBee 2004 and Earlier */ guint8 type; guint8 delivery; gboolean ack_format; /* ZigBee 2007 and Later */ gboolean security; gboolean ack_req; gboolean ext_header; /* ZigBee 2007 and Later */ guint8 dst; guint16 group; /* ZigBee 2006 and Later */ guint16 profile; guint8 src; guint8 counter; /* Fragmentation Fields. */ guint8 fragmentation; /* ZigBee 2007 and Later */ guint8 block_number; /* ZigBee 2007 and Later */ /* Some helpers for the upper layers. */ gboolean profile_present; gboolean dst_present; gboolean src_present; } zbee_aps_packet; /* Structure to contain APS node information */ struct zbee_aps_node_info { guint32 extended_counter; /**> the counter, extended to a 32-bit * int to guarantee it increasing monotonically */ }; /* Structure to contain APS node information for a packet */ struct zbee_aps_node_packet_info { guint32 extended_counter; /**> the counter, extended to a 32-bit * int to guarantee it increasing monotonically */ }; /* ZigBee Smart Energy version used for preferences */ extern gint gPREF_zbee_se_protocol_version; enum { ZBEE_SE_VERSION_1_1B, ZBEE_SE_VERSION_1_2, ZBEE_SE_VERSION_1_2A, ZBEE_SE_VERSION_1_2B, ZBEE_SE_VERSION_1_4 }; /************************************** * Value Strings ************************************** */ extern const range_string zbee_aps_cid_names[]; extern const range_string zbee_aps_apid_names[]; #endif /* PACKET_ZBEE_APS_H*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-nwk-gp.c
/* packet-zbee-nwk-gp.c * Dissector routines for the ZigBee Green Power profile (GP) * Copyright 2013 DSR Corporation, http://dsr-wireless.com/ * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Used Owen Kirby's packet-zbee-aps module as a template. Based * on ZigBee Cluster Library Specification document 075123r02ZB * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include files. */ #include "config.h" #include <epan/packet.h> #include <epan/exceptions.h> #include <epan/expert.h> #include <epan/prefs.h> #include <epan/uat.h> #include <wsutil/bits_ctz.h> #include <wsutil/pint.h> #include "packet-zbee.h" #include "packet-zbee-nwk.h" #include "packet-zbee-security.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" void proto_register_zbee_nwk_gp(void); void proto_reg_handoff_zbee_nwk_gp(void); /**************************/ /* Defines. */ /**************************/ /* ZigBee NWK GP FCF frame types. */ #define ZBEE_NWK_GP_FCF_DATA 0x00 #define ZBEE_NWK_GP_FCF_MAINTENANCE 0x01 /* ZigBee NWK GP FCF fields. */ #define ZBEE_NWK_GP_FCF_AUTO_COMMISSIONING 0x40 #define ZBEE_NWK_GP_FCF_CONTROL_EXTENSION 0x80 #define ZBEE_NWK_GP_FCF_FRAME_TYPE 0x03 #define ZBEE_NWK_GP_FCF_VERSION 0x3C /* Extended NWK Frame Control field. */ #define ZBEE_NWK_GP_FCF_EXT_APP_ID 0x07 /* 0 - 2 b. */ #define ZBEE_NWK_GP_FCF_EXT_SECURITY_LEVEL 0x18 /* 3 - 4 b. */ #define ZBEE_NWK_GP_FCF_EXT_SECURITY_KEY 0x20 /* 5 b. */ #define ZBEE_NWK_GP_FCF_EXT_RX_AFTER_TX 0x40 /* 6 b. */ #define ZBEE_NWK_GP_FCF_EXT_DIRECTION 0x80 /* 7 b. */ /* Definitions for application IDs. */ #define ZBEE_NWK_GP_APP_ID_DEFAULT 0x00 #define ZBEE_NWK_GP_APP_ID_LPED 0x01 #define ZBEE_NWK_GP_APP_ID_ZGP 0x02 /* Definitions for GP directions. */ #define ZBEE_NWK_GP_FC_EXT_DIRECTION_DEFAULT 0x00 #define ZBEE_NWK_GP_FC_EXT_DIRECTION_FROM_ZGPD 0x00 #define ZBEE_NWK_GP_FC_EXT_DIRECTION_FROM_ZGPP 0x01 /* Definitions for ZGPD Source IDs. */ #define ZBEE_NWK_GP_ZGPD_SRCID_ALL 0xFFFFFFFF #define ZBEE_NWK_GP_ZGPD_SRCID_UNKNOWN 0x00000000 /* Security level values. */ #define ZBEE_NWK_GP_SECURITY_LEVEL_NO 0x00 #define ZBEE_NWK_GP_SECURITY_LEVEL_1LSB 0x01 #define ZBEE_NWK_GP_SECURITY_LEVEL_FULL 0x02 #define ZBEE_NWK_GP_SECURITY_LEVEL_FULLENCR 0x03 /* GP Security key types. */ #define ZBEE_NWK_GP_SECURITY_KEY_TYPE_NO_KEY 0x00 #define ZBEE_NWK_GP_SECURITY_KEY_TYPE_ZB_NWK_KEY 0x01 #define ZBEE_NWK_GP_SECURITY_KEY_TYPE_GPD_GROUP_KEY 0x02 #define ZBEE_NWK_GP_SECURITY_KEY_TYPE_NWK_KEY_DERIVED_GPD_KEY_GROUP_KEY 0x03 #define ZBEE_NWK_GP_SECURITY_KEY_TYPE_PRECONFIGURED_INDIVIDUAL_GPD_KEY 0x04 #define ZBEE_NWK_GP_SECURITY_KEY_TYPE_DERIVED_INDIVIDUAL_GPD_KEY 0x07 typedef struct { /* FCF Data. */ guint8 frame_type; gboolean nwk_frame_control_extension; /* Ext FCF Data. */ guint8 application_id; guint8 security_level; guint8 direction; /* Src ID. */ guint32 source_id; /* GPD Endpoint */ guint8 endpoint; /* Security Frame Counter. */ guint32 security_frame_counter; /* MIC. */ guint8 mic_size; guint32 mic; /* Application Payload. */ guint8 payload_len; } zbee_nwk_green_power_packet; /* Definitions for GP Commissioning command opt field (bitmask). */ #define ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_MAC_SEQ 0x01 #define ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_RX_ON_CAP 0x02 #define ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_APPLICATION_INFO 0x04 #define ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_PAN_ID_REQ 0x10 #define ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_GP_SEC_KEY_REQ 0x20 #define ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_FIXED_LOCATION 0x40 #define ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_EXT_OPTIONS 0x80 /* Definitions for GP Commissioning command ext_opt field (bitmask). */ #define ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_SEC_LEVEL_CAP 0x03 #define ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_KEY_TYPE 0x1C #define ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_GPD_KEY_PRESENT 0x20 #define ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_GPD_KEY_ENCR 0x40 #define ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_OUT_COUNTER 0x80 /* Definitions for GP Commissioning command application information field (bitmask). */ #define ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_MIP 0x01 #define ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_MMIP 0x02 #define ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_GCLP 0x04 #define ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_CRP 0x08 /* Definitions for GP Commissioning command Number of server ClusterIDs (bitmask) */ #define ZBEE_NWK_GP_CMD_COMMISSIONING_CLID_LIST_LEN_SRV 0x0F #define ZBEE_NWK_GP_CMD_COMMISSIONING_CLID_LIST_LEN_CLI 0xF0 /* Definitions for GP Decommissioning command opt field (bitmask). */ #define ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_PAN_ID_PRESENT 0x01 #define ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_KEY_PRESENT 0x02 #define ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_KEY_ENCR 0x04 #define ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_LEVEL 0x18 #define ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_KEY_TYPE 0xE0 /* Definition for GP read attributes command opt field (bitmask). */ #define ZBEE_NWK_GP_CMD_READ_ATTRIBUTE_OPT_MULTI_RECORD 0x01 #define ZBEE_NWK_GP_CMD_READ_ATTRIBUTE_OPT_MAN_FIELD_PRESENT 0x02 /* Definitions for GP Channel Request command. */ #define ZBEE_NWK_GP_CMD_CHANNEL_REQUEST_1ST 0x0F #define ZBEE_NWK_GP_CMD_CHANNEL_REQUEST_2ND 0xF0 /* GP Channel Configuration command. */ #define ZBEE_NWK_GP_CMD_CHANNEL_CONFIGURATION_OPERATION_CH 0x0F /* GP GENERIC IDS. */ #define GPD_DEVICE_ID_GENERIC_GP_SIMPLE_GENERIC_1STATE_SWITCH 0x00 #define GPD_DEVICE_ID_GENERIC_GP_SIMPLE_GENERIC_2STATE_SWITCH 0x01 #define GPD_DEVICE_ID_GENERIC_GP_ON_OFF_SWITCH 0x02 #define GPD_DEVICE_ID_GENERIC_GP_LEVEL_CONTROL_SWITCH 0x03 #define GPD_DEVICE_ID_GENERIC_GP_SIMPLE_SENSOR 0x04 #define GPD_DEVICE_ID_GENERIC_GP_ADVANCED_GENERIC_1STATE_SWITCH 0x05 #define GPD_DEVICE_ID_GENERIC_GP_ADVANCED_GENERIC_2STATE_SWITCH 0x06 /* GP LIGHTING IDS. */ #define GPD_DEVICE_ID_LIGHTING_GP_COLOR_DIMMER_SWITCH 0x10 #define GPD_DEVICE_ID_LIGHTING_GP_LIGHT_SENSOR 0x11 #define GPD_DEVICE_ID_LIGHTING_GP_OCCUPANCY_SENSOR 0x12 /* GP CLOSURES IDS. */ #define GPD_DEVICE_ID_CLOSURES_GP_DOOR_LOCK_CONTROLLER 0x20 /* HVAC IDS. */ #define GPD_DEVICE_ID_HVAC_GP_TEMPERATURE_SENSOR 0x30 #define GPD_DEVICE_ID_HVAC_GP_PRESSURE_SENSOR 0x31 #define GPD_DEVICE_ID_HVAC_GP_FLOW_SENSOR 0x32 #define GPD_DEVICE_ID_HVAC_GP_INDOOR_ENVIRONMENT_SENSOR 0x33 /* Manufacturer specific device. */ #define GPD_DEVICE_ID_MANUFACTURER_SPECIFIC 0xFE /* GPD manufacturers. */ #define ZBEE_NWK_GP_MANUF_ID_GREENPEAK 0x10D0 /* GPD devices by GreenPeak. */ #define ZBEE_NWK_GP_MANUF_GREENPEAK_IZDS 0x0000 #define ZBEE_NWK_GP_MANUF_GREENPEAK_IZDWS 0x0001 #define ZBEE_NWK_GP_MANUF_GREENPEAK_IZLS 0x0002 #define ZBEE_NWK_GP_MANUF_GREENPEAK_IZRHS 0x0003 /*********************/ /* Global variables. */ /*********************/ /* GP proto handle. */ static int proto_zbee_nwk_gp = -1; /* GP NWK FC. */ static int hf_zbee_nwk_gp_auto_commissioning = -1; static int hf_zbee_nwk_gp_fc_ext = -1; static int hf_zbee_nwk_gp_fcf = -1; static int hf_zbee_nwk_gp_frame_type = -1; static int hf_zbee_nwk_gp_proto_version = -1; /* GP NWK FC extension. */ static int hf_zbee_nwk_gp_fc_ext_field = -1; static int hf_zbee_nwk_gp_fc_ext_app_id = -1; static int hf_zbee_nwk_gp_fc_ext_direction = -1; static int hf_zbee_nwk_gp_fc_ext_rx_after_tx = -1; static int hf_zbee_nwk_gp_fc_ext_sec_key = -1; static int hf_zbee_nwk_gp_fc_ext_sec_level = -1; /* ZGPD Src ID. */ static int hf_zbee_nwk_gp_zgpd_src_id = -1; /* ZGPD Endpoint */ static int hf_zbee_nwk_gp_zgpd_endpoint = -1; /* Security frame counter. */ static int hf_zbee_nwk_gp_security_frame_counter = -1; /* Security MIC. */ static int hf_zbee_nwk_gp_security_mic_2b = -1; static int hf_zbee_nwk_gp_security_mic_4b = -1; /* Payload subframe. */ static int hf_zbee_nwk_gp_command_id = -1; /* Commissioning. */ static int hf_zbee_nwk_gp_cmd_comm_device_id = -1; static int hf_zbee_nwk_gp_cmd_comm_ext_opt = -1; static int hf_zbee_nwk_gp_cmd_comm_ext_opt_gpd_key_encr = -1; static int hf_zbee_nwk_gp_cmd_comm_ext_opt_gpd_key_present = -1; static int hf_zbee_nwk_gp_cmd_comm_ext_opt_key_type = -1; static int hf_zbee_nwk_gp_cmd_comm_ext_opt_outgoing_counter = -1; static int hf_zbee_nwk_gp_cmd_comm_ext_opt_sec_level_cap = -1; static int hf_zbee_nwk_gp_cmd_comm_security_key = -1; static int hf_zbee_nwk_gp_cmd_comm_gpd_sec_key_mic = -1; static int hf_zbee_nwk_gp_cmd_comm_opt_ext_opt = -1; static int hf_zbee_nwk_gp_cmd_comm_opt = -1; static int hf_zbee_nwk_gp_cmd_comm_opt_fixed_location = -1; static int hf_zbee_nwk_gp_cmd_comm_opt_mac_sec_num_cap = -1; static int hf_zbee_nwk_gp_cmd_comm_opt_appli_info_present = -1; static int hf_zbee_nwk_gp_cmd_comm_opt_panid_req = -1; static int hf_zbee_nwk_gp_cmd_comm_opt_rx_on_cap = -1; static int hf_zbee_nwk_gp_cmd_comm_opt_sec_key_req = -1; static int hf_zbee_nwk_gp_cmd_comm_outgoing_counter = -1; static int hf_zbee_nwk_gp_cmd_comm_manufacturer_greenpeak_dev_id = -1; static int hf_zbee_nwk_gp_cmd_comm_manufacturer_dev_id = -1; static int hf_zbee_nwk_gp_cmd_comm_manufacturer_id = -1; static int hf_zbee_nwk_gp_cmd_comm_appli_info = -1; static int hf_zbee_nwk_gp_cmd_comm_appli_info_crp = -1; static int hf_zbee_nwk_gp_cmd_comm_appli_info_gclp = -1; static int hf_zbee_nwk_gp_cmd_comm_appli_info_mip = -1; static int hf_zbee_nwk_gp_cmd_comm_appli_info_mmip = -1; static int hf_zbee_nwk_gp_cmd_comm_gpd_cmd_num = -1; static int hf_zbee_nwk_gp_cmd_comm_gpd_cmd_id_list = -1; static int hf_zbee_nwk_gp_cmd_comm_length_of_clid_list = -1; static int hf_zbee_nwk_gp_cmd_comm_length_of_clid_list_server = -1; static int hf_zbee_nwk_gp_cmd_comm_length_of_clid_list_client = -1; static int hf_zbee_nwk_cmd_comm_clid_list_server = -1; static int hf_zbee_nwk_cmd_comm_clid_list_client = -1; static int hf_zbee_nwk_cmd_comm_cluster_id = -1; /* Commissioning reply. */ static int hf_zbee_nwk_gp_cmd_comm_rep_opt = -1; static int hf_zbee_nwk_gp_cmd_comm_rep_opt_key_encr = -1; static int hf_zbee_nwk_gp_cmd_comm_rep_opt_panid_present = -1; static int hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_key_present = -1; static int hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_level = -1; static int hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_type = -1; static int hf_zbee_nwk_gp_cmd_comm_rep_pan_id = -1; static int hf_zbee_nwk_gp_cmd_comm_rep_frame_counter = -1; /* Read attribute and read attribute response. */ static int hf_zbee_nwk_gp_cmd_read_att_opt_multi_rec = -1; static int hf_zbee_nwk_gp_cmd_read_att_opt_man_field_present = -1; static int hf_zbee_nwk_gp_cmd_read_att_opt = -1; static int hf_zbee_nwk_gp_cmd_read_att_record_len = -1; /* Common to commands returning data */ static int hf_zbee_nwk_gp_zcl_attr_status = -1; static int hf_zbee_nwk_gp_zcl_attr_data_type = -1; static int hf_zbee_nwk_gp_zcl_attr_cluster_id = -1; /* Common to all manufacturer specific commands */ static int hf_zbee_zcl_gp_cmd_ms_manufacturer_code = -1; /* Channel request. */ static int hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour = -1; static int hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour_1st = -1; static int hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour_2nd = -1; /* Channel Configuration command. */ static int hf_zbee_nwk_gp_cmd_operational_channel = -1; static int hf_zbee_nwk_gp_cmd_channel_configuration = -1; /* Move Color command. */ static int hf_zbee_nwk_gp_cmd_move_color_ratex = -1; static int hf_zbee_nwk_gp_cmd_move_color_ratey = -1; /* Move Up/Down command. */ static int hf_zbee_nwk_gp_cmd_move_up_down_rate = -1; /* Step Color command. */ static int hf_zbee_nwk_gp_cmd_step_color_stepx = -1; static int hf_zbee_nwk_gp_cmd_step_color_stepy = -1; static int hf_zbee_nwk_gp_cmd_step_color_transition_time = -1; /* Step Up/Down command. */ static int hf_zbee_nwk_gp_cmd_step_up_down_step_size = -1; static int hf_zbee_nwk_gp_cmd_step_up_down_transition_time = -1; static expert_field ei_zbee_nwk_gp_no_payload = EI_INIT; static expert_field ei_zbee_nwk_gp_inval_residual_data = EI_INIT; static expert_field ei_zbee_nwk_gp_com_rep_no_out_cnt = EI_INIT; /* Proto tree elements. */ static gint ett_zbee_nwk = -1; static gint ett_zbee_nwk_cmd = -1; static gint ett_zbee_nwk_cmd_cinfo = -1; static gint ett_zbee_nwk_cmd_appli_info = -1; static gint ett_zbee_nwk_cmd_options = -1; static gint ett_zbee_nwk_fcf = -1; static gint ett_zbee_nwk_fcf_ext = -1; static gint ett_zbee_nwk_clu_rec = -1; static gint ett_zbee_nwk_att_rec = -1; static gint ett_zbee_nwk_cmd_comm_gpd_cmd_id_list = -1; static gint ett_zbee_nwk_cmd_comm_length_of_clid_list = -1; static gint ett_zbee_nwk_cmd_comm_clid_list_server = -1; static gint ett_zbee_nwk_cmd_comm_clid_list_client = -1; /* Common. */ static GSList *zbee_gp_keyring = NULL; static guint num_uat_key_records = 0; typedef struct { gchar *string; guint8 byte_order; gchar *label; guint8 key[ZBEE_SEC_CONST_KEYSIZE]; } uat_key_record_t; static const guint8 empty_key[ZBEE_SEC_CONST_KEYSIZE] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; static uat_key_record_t *gp_uat_key_records = NULL; static uat_t *zbee_gp_sec_key_table_uat; /* UAT. */ UAT_CSTRING_CB_DEF(gp_uat_key_records, string, uat_key_record_t) UAT_VS_DEF(gp_uat_key_records, byte_order, uat_key_record_t, guint8, 0, "Normal") UAT_CSTRING_CB_DEF(gp_uat_key_records, label, uat_key_record_t) /****************/ /* Field names. */ /****************/ /* Byte order. */ static const value_string byte_order_vals[] = { { 0, "Normal"}, { 1, "Reverse"}, { 0, NULL } }; /* Application ID names. */ static const value_string zbee_nwk_gp_app_id_names[] = { { ZBEE_NWK_GP_APP_ID_LPED, "LPED" }, { ZBEE_NWK_GP_APP_ID_ZGP, "ZGP" }, { 0, NULL } }; /* Green Power commands. */ /* Abbreviations: * GPDF commands sent: * From GPD w/o payload: "F " * From GPD w payload: "FP" * To GPD: "T " */ #define zbee_nwk_gp_cmd_names_VALUE_STRING_LIST(XXX) \ XXX( /*F */ ZB_GP_CMD_ID_IDENTIFY , 0x00, "Identify" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE0 , 0x10, "Scene 0" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE1 , 0x11, "Scene 1" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE2 , 0x12, "Scene 2" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE3 , 0x13, "Scene 3" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE4 , 0x14, "Scene 4" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE5 , 0x15, "Scene 5" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE6 , 0x16, "Scene 6" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE7 , 0x17, "Scene 7" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE8 , 0x18, "Scene 8" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE9 , 0x19, "Scene 9" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE10 , 0x1A, "Scene 10" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE11 , 0x1B, "Scene 11" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE12 , 0x1C, "Scene 12" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE13 , 0x1D, "Scene 13" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE14 , 0x1E, "Scene 14" ) \ XXX( /*F */ ZB_GP_CMD_ID_SCENE15 , 0x1F, "Scene 15" ) \ XXX( /*F */ ZB_GP_CMD_ID_OFF , 0x20, "Off" ) \ XXX( /*F */ ZB_GP_CMD_ID_ON , 0x21, "On" ) \ XXX( /*F */ ZB_GP_CMD_ID_TOGGLE , 0x22, "Toggle" ) \ XXX( /*F */ ZB_GP_CMD_ID_RELEASE , 0x23, "Release" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_UP , 0x30, "Move Up" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_DOWN , 0x31, "Move Down" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_UP , 0x32, "Step Up" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_DOWN , 0x33, "Step Down" ) \ XXX( /*F */ ZB_GP_CMD_ID_LEVEL_CONTROL_STOP , 0x34, "Level Control/Stop" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_UP_WITH_ON_OFF , 0x35, "Move Up (with On/Off)" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_DOWN_WITH_ON_OFF , 0x36, "Move Down (with On/Off)" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_UP_WITH_ON_OFF , 0x37, "Step Up (with On/Off)" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_DOWN_WITH_ON_OFF , 0x38, "Step Down (with On/Off)" ) \ XXX( /*F */ ZB_GP_CMD_ID_MOVE_HUE_STOP , 0x40, "Move Hue Stop" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_HUE_UP , 0x41, "Move Hue Up" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_HUE_DOWN , 0x42, "Move Hue Down" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_HUE_UP , 0x43, "Step Hue Up" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_HUW_DOWN , 0x44, "Step Hue Down" ) \ XXX( /*F */ ZB_GP_CMD_ID_MOVE_SATURATION_STOP , 0x45, "Move Saturation Stop" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_SATURATION_UP , 0x46, "Move Saturation Up" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_SATURATION_DOWN , 0x47, "Move Saturation Down" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_SATURATION_UP , 0x48, "Step Saturation Up" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_SATURATION_DOWN , 0x49, "Step Saturation Down" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MOVE_COLOR , 0x4A, "Move Color" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_STEP_COLOR , 0x4B, "Step Color" ) \ XXX( /*F */ ZB_GP_CMD_ID_LOCK_DOOR , 0x50, "Lock Door" ) \ XXX( /*F */ ZB_GP_CMD_ID_UNLOCK_DOOR , 0x51, "Unlock Door" ) \ XXX( /*F */ ZB_GP_CMD_ID_PRESS11 , 0x60, "Press 1 of 1" ) \ XXX( /*F */ ZB_GP_CMD_ID_RELEASE11 , 0x61, "Release 1 of 1" ) \ XXX( /*F */ ZB_GP_CMD_ID_PRESS12 , 0x62, "Press 1 of 2" ) \ XXX( /*F */ ZB_GP_CMD_ID_RELEASE12 , 0x63, "Release 1 of 2" ) \ XXX( /*F */ ZB_GP_CMD_ID_PRESS22 , 0x64, "Press 2 of 2" ) \ XXX( /*F */ ZB_GP_CMD_ID_RELEASE22 , 0x65, "Release 2 of 2" ) \ XXX( /*F */ ZB_GP_CMD_ID_SHORT_PRESS11 , 0x66, "Short press 1 of 1" ) \ XXX( /*F */ ZB_GP_CMD_ID_SHORT_PRESS12 , 0x67, "Short press 1 of 2" ) \ XXX( /*F */ ZB_GP_CMD_ID_SHORT_PRESS22 , 0x68, "Short press 2 of 2" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_ATTRIBUTE_REPORTING , 0xA0, "Attribute reporting" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MANUFACTURE_SPECIFIC_ATTR_REPORTING , 0xA1, "Manufacturer-specific attribute reporting" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MULTI_CLUSTER_REPORTING , 0xA2, "Multi-cluster reporting" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_MANUFACTURER_SPECIFIC_MCLUSTER_REPORTING , 0xA3, "Manufacturer-specific multi-cluster reporting" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_REQUEST_ATTRIBUTES , 0xA4, "Request Attributes" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_READ_ATTRIBUTES_RESPONSE , 0xA5, "Read Attributes Response" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_ANY_SENSOR_COMMAND_A0_A3 , 0xAF, "Any GPD sensor command (0xA0 - 0xA3)" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_COMMISSIONING , 0xE0, "Commissioning" ) \ XXX( /*F */ ZB_GP_CMD_ID_DECOMMISSIONING , 0xE1, "Decommissioning" ) \ XXX( /*F */ ZB_GP_CMD_ID_SUCCESS , 0xE2, "Success" ) \ XXX( /*FP*/ ZB_GP_CMD_ID_CHANNEL_REQUEST , 0xE3, "Channel Request" ) \ XXX( /*T */ ZB_GP_CMD_ID_COMMISSIONING_REPLY , 0xF0, "Commissioning Reply" ) \ XXX( /*T */ ZB_GP_CMD_ID_WRITE_ATTRIBUTES , 0xF1, "Write Attributes" ) \ XXX( /*T */ ZB_GP_CMD_ID_READ_ATTRIBUTES , 0xF2, "Read Attributes" ) \ XXX( /*T */ ZB_GP_CMD_ID_CHANNEL_CONFIGURATION , 0xF3, "Channel Configuration" ) VALUE_STRING_ENUM(zbee_nwk_gp_cmd_names); VALUE_STRING_ARRAY(zbee_nwk_gp_cmd_names); value_string_ext zbee_nwk_gp_cmd_names_ext = VALUE_STRING_EXT_INIT(zbee_nwk_gp_cmd_names); /* Green Power devices. */ const value_string zbee_nwk_gp_device_ids_names[] = { /* GP GENERIC */ { GPD_DEVICE_ID_GENERIC_GP_SIMPLE_GENERIC_1STATE_SWITCH, "Generic: GP Simple Generic 1-state Switch" }, { GPD_DEVICE_ID_GENERIC_GP_SIMPLE_GENERIC_2STATE_SWITCH, "Generic: GP Simple Generic 2-state Switch" }, { GPD_DEVICE_ID_GENERIC_GP_ON_OFF_SWITCH, "Generic: GP On/Off Switch" }, { GPD_DEVICE_ID_GENERIC_GP_LEVEL_CONTROL_SWITCH, "Generic: GP Level Control Switch" }, { GPD_DEVICE_ID_GENERIC_GP_SIMPLE_SENSOR, "Generic: GP Simple Sensor" }, { GPD_DEVICE_ID_GENERIC_GP_ADVANCED_GENERIC_1STATE_SWITCH, "Generic: GP Advanced Generic 1-state Switch" }, { GPD_DEVICE_ID_GENERIC_GP_ADVANCED_GENERIC_2STATE_SWITCH, "Generic: GP Advanced Generic 2-state Switch" }, /* GP LIGHTING */ { GPD_DEVICE_ID_LIGHTING_GP_COLOR_DIMMER_SWITCH, "Lighting: GP Color Dimmer Switch" }, { GPD_DEVICE_ID_LIGHTING_GP_LIGHT_SENSOR, "Lighting: GP Light Sensor" }, { GPD_DEVICE_ID_LIGHTING_GP_OCCUPANCY_SENSOR, "Lighting: GP Occupancy Sensor" }, /* GP CLOSURES */ { GPD_DEVICE_ID_CLOSURES_GP_DOOR_LOCK_CONTROLLER, "Closures: GP Door Lock Controller" }, /* HVAC */ { GPD_DEVICE_ID_HVAC_GP_TEMPERATURE_SENSOR, "HVAC: GP Temperature Sensor" }, { GPD_DEVICE_ID_HVAC_GP_PRESSURE_SENSOR, "HVAC: GP Pressure Sensor" }, { GPD_DEVICE_ID_HVAC_GP_FLOW_SENSOR, "HVAC: GP Flow Sensor" }, { GPD_DEVICE_ID_HVAC_GP_INDOOR_ENVIRONMENT_SENSOR, "HVAC: GP Indoor Environment Sensor" }, /* CUSTOM */ { GPD_DEVICE_ID_MANUFACTURER_SPECIFIC, "Manufacturer Specific" }, { 0, NULL } }; static value_string_ext zbee_nwk_gp_device_ids_names_ext = VALUE_STRING_EXT_INIT(zbee_nwk_gp_device_ids_names); /* GP directions. */ static const value_string zbee_nwk_gp_directions[] = { { ZBEE_NWK_GP_FC_EXT_DIRECTION_FROM_ZGPD, "From ZGPD" }, { ZBEE_NWK_GP_FC_EXT_DIRECTION_FROM_ZGPP, "From ZGPP" }, { 0, NULL } }; /* Frame types for Green Power profile. */ static const value_string zbee_nwk_gp_frame_types[] = { { ZBEE_NWK_GP_FCF_DATA, "Data" }, { ZBEE_NWK_GP_FCF_MAINTENANCE, "Maintenance" }, { 0, NULL } }; /* GreenPeak Green Power devices. */ static const value_string zbee_nwk_gp_manufacturer_greenpeak_dev_names[] = { { ZBEE_NWK_GP_MANUF_GREENPEAK_IZDS, "IAS Zone Door Sensor" }, { ZBEE_NWK_GP_MANUF_GREENPEAK_IZDWS, "IAS Zone Door/Window Sensor" }, { ZBEE_NWK_GP_MANUF_GREENPEAK_IZLS, "IAS Zone Leakage Sensor" }, { ZBEE_NWK_GP_MANUF_GREENPEAK_IZRHS, "IAS Zone Relative Humidity Sensor" }, { 0, NULL } }; /* GP Src ID names. */ static const value_string zbee_nwk_gp_src_id_names[] = { { ZBEE_NWK_GP_ZGPD_SRCID_ALL, "All" }, { ZBEE_NWK_GP_ZGPD_SRCID_UNKNOWN, "Unspecified" }, { 0, NULL } }; /* GP security key type names. */ static const value_string zbee_nwk_gp_src_sec_keys_type_names[] = { { ZBEE_NWK_GP_SECURITY_KEY_TYPE_DERIVED_INDIVIDUAL_GPD_KEY, "Derived individual GPD key" }, { ZBEE_NWK_GP_SECURITY_KEY_TYPE_GPD_GROUP_KEY, "GPD group key" }, { ZBEE_NWK_GP_SECURITY_KEY_TYPE_NO_KEY, "No key" }, { ZBEE_NWK_GP_SECURITY_KEY_TYPE_NWK_KEY_DERIVED_GPD_KEY_GROUP_KEY, "NWK key derived GPD group key" }, { ZBEE_NWK_GP_SECURITY_KEY_TYPE_PRECONFIGURED_INDIVIDUAL_GPD_KEY, "Individual, out of the box GPD key" }, { ZBEE_NWK_GP_SECURITY_KEY_TYPE_ZB_NWK_KEY, "ZigBee NWK key" }, { 0, NULL } }; /* GP security levels. */ static const value_string zbee_nwk_gp_src_sec_levels_names[] = { { ZBEE_NWK_GP_SECURITY_LEVEL_1LSB, "1 LSB of frame counter and short MIC only" }, { ZBEE_NWK_GP_SECURITY_LEVEL_FULL, "Full frame counter and full MIC only" }, { ZBEE_NWK_GP_SECURITY_LEVEL_FULLENCR, "Encryption with full frame counter and full MIC" }, { ZBEE_NWK_GP_SECURITY_LEVEL_NO, "No security" }, { 0, NULL } }; /*************************/ /* Function definitions. */ /*************************/ /* UAT record copy callback. */ static void * uat_key_record_copy_cb(void *n, const void *o, size_t siz _U_) { uat_key_record_t *new_key = (uat_key_record_t *)n; const uat_key_record_t *old_key = (const uat_key_record_t *)o; new_key->string = g_strdup(old_key->string); new_key->label = g_strdup(old_key->label); return new_key; } /* UAT record free callback. */ static void uat_key_record_free_cb(void *r) { uat_key_record_t *key = (uat_key_record_t *)r; g_free(key->string); g_free(key->label); } /** *Parses a key string from left to right into a buffer with increasing (normal byte order) or decreasing (reverse * *@param key_str pointer to the string *@param key_buf destination buffer in memory *@param byte_order byte order */ static gboolean zbee_gp_security_parse_key(const gchar *key_str, guint8 *key_buf, gboolean byte_order) { gboolean string_mode = FALSE; gchar temp; int i, j; memset(key_buf, 0, ZBEE_SEC_CONST_KEYSIZE); if (key_str == NULL) { return FALSE; } if ((temp = *key_str++) == '"') { string_mode = TRUE; temp = *key_str++; } j = byte_order ? ZBEE_SEC_CONST_KEYSIZE - 1 : 0; for (i = ZBEE_SEC_CONST_KEYSIZE - 1; i >= 0; i--) { if (string_mode) { if (g_ascii_isprint(temp)) { key_buf[j] = temp; temp = *key_str++; } else { return FALSE; } } else { if ((temp == ':') || (temp == '-') || (temp == ' ')) { temp = *(key_str++); } if (g_ascii_isxdigit(temp)) { key_buf[j] = g_ascii_xdigit_value(temp) << 4; } else { return FALSE; } temp = *(key_str++); if (g_ascii_isxdigit(temp)) { key_buf[j] |= g_ascii_xdigit_value(temp); } else { return FALSE; } temp = *(key_str++); } if (byte_order) { j--; } else { j++; } } return TRUE; } /* UAT record update callback. */ static gboolean uat_key_record_update_cb(void *r, char **err) { uat_key_record_t *rec = (uat_key_record_t *)r; if (rec->string == NULL) { *err = g_strdup("Key can't be blank."); return FALSE; } else { g_strstrip(rec->string); if (rec->string[0] != 0) { *err = NULL; if (!zbee_gp_security_parse_key(rec->string, rec->key, rec->byte_order)) { *err = ws_strdup_printf("Expecting %d hexadecimal bytes or a %d character double-quoted string", ZBEE_SEC_CONST_KEYSIZE, ZBEE_SEC_CONST_KEYSIZE); return FALSE; } } else { *err = g_strdup("Key can't be blank."); return FALSE; } } return TRUE; } static void uat_key_record_post_update_cb(void) { guint i; for (i = 0; i < num_uat_key_records; i++) { if (memcmp(gp_uat_key_records[i].key, empty_key, ZBEE_SEC_CONST_KEYSIZE) == 0) { /* key was not loaded from string yet */ zbee_gp_security_parse_key(gp_uat_key_records[i].string, gp_uat_key_records[i].key, gp_uat_key_records[i].byte_order); } } } /** *Fills in ZigBee GP security nonce from the provided packet structure. * *@param packet ZigBee NWK packet. *@param nonce nonce buffer. */ static void zbee_gp_make_nonce(zbee_nwk_green_power_packet *packet, gchar *nonce) { memset(nonce, 0, ZBEE_SEC_CONST_NONCE_LEN); if (packet->direction == ZBEE_NWK_GP_FC_EXT_DIRECTION_FROM_ZGPD) { phtole32(nonce, packet->source_id); } phtole32(nonce+4, packet->source_id); phtole32(nonce+8, packet->security_frame_counter); if ((packet->application_id == ZBEE_NWK_GP_APP_ID_ZGP) && (packet->direction != ZBEE_NWK_GP_FC_EXT_DIRECTION_FROM_ZGPD)) { nonce[12] = (gchar)0xa3; } else { nonce[12] = (gchar)0x05; } /* TODO: implement if application_id == ZB_ZGP_APP_ID_0000. */ /* TODO: implement if application_id != ZB_ZGP_APP_ID_0000. */ } /** *Creates a nonce and decrypts secured ZigBee GP payload. * *@param packet ZigBee NWK packet. *@param enc_buffer encoded payload buffer. *@param offset payload offset. *@param dec_buffer decoded payload buffer. *@param payload_len payload length. *@param mic_len MIC length. *@param key key. */ static gboolean zbee_gp_decrypt_payload(zbee_nwk_green_power_packet *packet, const gchar *enc_buffer, const gchar offset, guint8 *dec_buffer, guint payload_len, guint mic_len, guint8 *key) { guint8 *key_buffer = key; guint8 nonce[ZBEE_SEC_CONST_NONCE_LEN]; zbee_gp_make_nonce(packet, nonce); if (zbee_sec_ccm_decrypt(key_buffer, nonce, enc_buffer, enc_buffer + offset, dec_buffer, offset, payload_len, mic_len)) { return TRUE; } return FALSE; } /** *Dissector for ZigBee Green Power commissioning. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_commissioning(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_green_power_packet *packet, guint offset) { guint8 comm_options; guint8 comm_ext_options = 0; guint8 appli_info_options = 0; guint16 manufacturer_id = 0; guint8 i; guint8 gpd_cmd_num = 0; proto_item *gpd_cmd_list; proto_tree *gpd_cmd_list_tree; guint8 length_of_clid_list_bm; guint8 server_clid_num; guint8 client_clid_num; proto_item *server_clid_list, *client_clid_list; proto_tree *server_clid_list_tree, *client_clid_list_tree; void *enc_buffer; guint8 *enc_buffer_withA; guint8 *dec_buffer; gboolean gp_decrypted; GSList *GSList_i; tvbuff_t *payload_tvb; static int * const options[] = { &hf_zbee_nwk_gp_cmd_comm_opt_mac_sec_num_cap, &hf_zbee_nwk_gp_cmd_comm_opt_rx_on_cap, &hf_zbee_nwk_gp_cmd_comm_opt_appli_info_present, &hf_zbee_nwk_gp_cmd_comm_opt_panid_req, &hf_zbee_nwk_gp_cmd_comm_opt_sec_key_req, &hf_zbee_nwk_gp_cmd_comm_opt_fixed_location, &hf_zbee_nwk_gp_cmd_comm_opt_ext_opt, NULL }; static int * const ext_options[] = { &hf_zbee_nwk_gp_cmd_comm_ext_opt_sec_level_cap, &hf_zbee_nwk_gp_cmd_comm_ext_opt_key_type, &hf_zbee_nwk_gp_cmd_comm_ext_opt_gpd_key_present, &hf_zbee_nwk_gp_cmd_comm_ext_opt_gpd_key_encr, &hf_zbee_nwk_gp_cmd_comm_ext_opt_outgoing_counter, NULL }; static int * const appli_info[] = { &hf_zbee_nwk_gp_cmd_comm_appli_info_mip, &hf_zbee_nwk_gp_cmd_comm_appli_info_mmip, &hf_zbee_nwk_gp_cmd_comm_appli_info_gclp, &hf_zbee_nwk_gp_cmd_comm_appli_info_crp, NULL }; static int * const length_of_clid_list[] = { &hf_zbee_nwk_gp_cmd_comm_length_of_clid_list_server, &hf_zbee_nwk_gp_cmd_comm_length_of_clid_list_client, NULL }; /* Get Device ID and display it. */ proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_device_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Get Options Field, build subtree and display the results. */ comm_options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_comm_opt, ett_zbee_nwk_cmd_options, options, ENC_NA); offset += 1; if (comm_options & ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_EXT_OPTIONS) { /* Get extended Options Field, build subtree and display the results. */ comm_ext_options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_comm_ext_opt, ett_zbee_nwk_cmd_options, ext_options, ENC_NA); offset += 1; if (comm_ext_options & ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_GPD_KEY_PRESENT) { /* Get security key and display it. */ proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_security_key, tvb, offset, ZBEE_SEC_CONST_KEYSIZE, ENC_NA); offset += ZBEE_SEC_CONST_KEYSIZE; /* Key is encrypted */ if (comm_ext_options & ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_GPD_KEY_ENCR) { /* Get Security MIC and display it. */ proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_gpd_sec_key_mic, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; if (packet != NULL) { /* Decrypt the security key */ dec_buffer = (guint8 *)wmem_alloc(pinfo->pool, ZBEE_SEC_CONST_KEYSIZE); enc_buffer_withA = (guint8 *)wmem_alloc(pinfo->pool, 4 + ZBEE_SEC_CONST_KEYSIZE + 4); /* CCM* a (this is SrcID) + encKey + MIC */ enc_buffer = tvb_memdup(pinfo->pool, tvb, offset - ZBEE_SEC_CONST_KEYSIZE - 4, ZBEE_SEC_CONST_KEYSIZE + 4); phtole32(enc_buffer_withA, packet->source_id); memcpy(enc_buffer_withA+4, enc_buffer, ZBEE_SEC_CONST_KEYSIZE + 4); gp_decrypted = FALSE; for (GSList_i = zbee_gp_keyring; GSList_i && !gp_decrypted; GSList_i = g_slist_next(GSList_i)) { packet->security_frame_counter = packet->source_id; /* for Nonce creation*/ gp_decrypted = zbee_gp_decrypt_payload(packet, enc_buffer_withA, 4 , dec_buffer, ZBEE_SEC_CONST_KEYSIZE, 4, ((key_record_t *)(GSList_i->data))->key); } if (gp_decrypted) { key_record_t key_record; key_record.frame_num = 0; key_record.label = NULL; memcpy(key_record.key, dec_buffer, ZBEE_SEC_CONST_KEYSIZE); zbee_gp_keyring = g_slist_prepend(zbee_gp_keyring, g_memdup2(&key_record, sizeof(key_record_t))); payload_tvb = tvb_new_child_real_data(tvb, dec_buffer, ZBEE_SEC_CONST_KEYSIZE, ZBEE_SEC_CONST_KEYSIZE); add_new_data_source(pinfo, payload_tvb, "Decrypted security key"); } } } else { key_record_t key_record; void *key; key_record.frame_num = 0; key_record.label = NULL; key = tvb_memdup(pinfo->pool, tvb, offset - ZBEE_SEC_CONST_KEYSIZE, ZBEE_SEC_CONST_KEYSIZE); memcpy(key_record.key, key, ZBEE_SEC_CONST_KEYSIZE); zbee_gp_keyring = g_slist_prepend(zbee_gp_keyring, g_memdup2(&key_record, sizeof(key_record_t))); } } if (comm_ext_options & ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_OUT_COUNTER) { /* Get GPD Outgoing Frame Counter and display it. */ proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_outgoing_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } } /* Display manufacturer specific data. */ if (comm_options & ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_APPLICATION_INFO) { /* Display application information. */ appli_info_options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_comm_appli_info, ett_zbee_nwk_cmd_appli_info, appli_info, ENC_NA); offset += 1; if (appli_info_options & ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_MIP) { /* Get Manufacturer ID. */ manufacturer_id = tvb_get_letohs(tvb, offset); proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_manufacturer_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } if (appli_info_options & ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_MMIP) { /* Get Manufacturer Device ID. */ switch (manufacturer_id) { case ZBEE_NWK_GP_MANUF_ID_GREENPEAK: proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_manufacturer_greenpeak_dev_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; break; default: proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_manufacturer_dev_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; break; } } if (appli_info_options & ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_GCLP) { /* Get and display number of GPD commands */ gpd_cmd_num = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_gpd_cmd_num, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Display GPD command list */ if (gpd_cmd_num > 0) { gpd_cmd_list = proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_gpd_cmd_id_list, tvb, offset, gpd_cmd_num, ENC_NA); gpd_cmd_list_tree = proto_item_add_subtree(gpd_cmd_list, ett_zbee_nwk_cmd_comm_gpd_cmd_id_list); for (i = 0; i < gpd_cmd_num; i++, offset++) { /* Display command id */ proto_tree_add_item(gpd_cmd_list_tree, hf_zbee_nwk_gp_command_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); } } } if (appli_info_options & ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_CRP) { /* Get and display Cluster List */ length_of_clid_list_bm = tvb_get_guint8(tvb, offset); server_clid_num = (length_of_clid_list_bm & ZBEE_NWK_GP_CMD_COMMISSIONING_CLID_LIST_LEN_SRV) >> ws_ctz(ZBEE_NWK_GP_CMD_COMMISSIONING_CLID_LIST_LEN_SRV); client_clid_num = (length_of_clid_list_bm & ZBEE_NWK_GP_CMD_COMMISSIONING_CLID_LIST_LEN_CLI ) >> ws_ctz(ZBEE_NWK_GP_CMD_COMMISSIONING_CLID_LIST_LEN_CLI); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_comm_length_of_clid_list, ett_zbee_nwk_cmd_comm_length_of_clid_list, length_of_clid_list, ENC_NA); offset += 1; if (server_clid_num > 0) { /* Display server cluster list */ server_clid_list = proto_tree_add_item(tree, hf_zbee_nwk_cmd_comm_clid_list_server, tvb, offset, 2*server_clid_num, ENC_NA); server_clid_list_tree = proto_item_add_subtree(server_clid_list, ett_zbee_nwk_cmd_comm_clid_list_server); /* Retrieve server clusters */ for (i = 0; i < server_clid_num; i++, offset += 2) { proto_tree_add_item(server_clid_list_tree, hf_zbee_nwk_cmd_comm_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); } } if (client_clid_num > 0) { /* Display client cluster list */ client_clid_list = proto_tree_add_item(tree, hf_zbee_nwk_cmd_comm_clid_list_client, tvb, offset, 2*client_clid_num, ENC_NA); client_clid_list_tree = proto_item_add_subtree(client_clid_list, ett_zbee_nwk_cmd_comm_clid_list_client); /* Retrieve client clusters */ for (i = 0; i < client_clid_num; i++, offset += 2) { proto_tree_add_item(client_clid_list_tree, hf_zbee_nwk_cmd_comm_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); } } } } return offset; } /* dissect_zbee_nwk_gp_cmd_commissioning */ /** *Dissector for ZigBee Green Power channel request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_channel_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { static int * const channels[] = { &hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour_1st, &hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour_2nd, NULL }; /* Get Command Options Field, build subtree and display the results. */ proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour, ett_zbee_nwk_cmd_options, channels, ENC_NA); offset += 1; return offset; } /* dissect_zbee_nwk_gp_cmd_channel_request */ /** *Dissector for ZigBee Green Power channel configuration. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_channel_configuration(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { static int * const channels[] = { &hf_zbee_nwk_gp_cmd_channel_configuration, NULL }; /* Get Command Options Field, build subtree and display the results. */ proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_operational_channel, ett_zbee_nwk_cmd_options, channels, ENC_NA); offset += 1; return offset; } /* dissect_zbee_nwk_gp_cmd_channel_configuration */ /** *Dissector for ZigBee Green Power commands attrib reporting. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@param mfr_code manufacturer code. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_attr_reporting(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset, guint16 mfr_code) { guint16 cluster_id; proto_tree *field_tree; /* Get cluster ID and add it into the tree. */ cluster_id = tvb_get_letohs(tvb, offset); proto_tree_add_item(tree, hf_zbee_nwk_gp_zcl_attr_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Create subtree and parse ZCL Write Attribute Payload. */ field_tree = proto_tree_add_subtree_format(tree, tvb, offset, 2, ett_zbee_nwk_cmd_options, NULL, "Attribute reporting command for cluster: 0x%04X", cluster_id); dissect_zcl_report_attr(tvb, pinfo, field_tree, &offset, cluster_id, mfr_code, ZBEE_ZCL_FCF_TO_CLIENT); return offset; } /* dissect_zbee_nwk_gp_cmd_attr_reporting */ /** * Dissector for ZigBee Green Power manufacturer specific attribute reporting. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_MS_attr_reporting(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { guint16 mfr_code; /*dissect manufacturer ID*/ proto_tree_add_item(tree, hf_zbee_zcl_gp_cmd_ms_manufacturer_code, tvb, offset, 2, ENC_LITTLE_ENDIAN); mfr_code = tvb_get_letohs(tvb, offset); offset += 2; offset = dissect_zbee_nwk_gp_cmd_attr_reporting(tvb, pinfo, tree, packet, offset, mfr_code); return offset; }/*dissect_zbee_nwk_gp_cmd_MS_attr_reporting*/ /** *Dissector for ZigBee Green Power commissioning reply. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_commissioning_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_green_power_packet *packet, guint offset) { guint8 cr_options; guint8 cr_sec_level; void *enc_buffer; guint8 *enc_buffer_withA; guint8 *dec_buffer; gboolean gp_decrypted; GSList *GSList_i; tvbuff_t *payload_tvb; static int * const options[] = { &hf_zbee_nwk_gp_cmd_comm_rep_opt_panid_present, &hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_key_present, &hf_zbee_nwk_gp_cmd_comm_rep_opt_key_encr, &hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_level, &hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_type, NULL }; /* Get Options Field, build subtree and display the results. */ cr_options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_comm_rep_opt, ett_zbee_nwk_cmd_options, options, ENC_NA); offset += 1; /* Parse and display security Pan ID value. */ if (cr_options & ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_PAN_ID_PRESENT) { proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_rep_pan_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } cr_sec_level = (cr_options & ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_LEVEL) >> ws_ctz(ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_LEVEL); /* Parse and display security key. */ if (cr_options & ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_KEY_PRESENT) { proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_security_key, tvb, offset, ZBEE_SEC_CONST_KEYSIZE, ENC_NA); offset += ZBEE_SEC_CONST_KEYSIZE; /* Key is present clear, add to the key ring */ if (!(cr_options & ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_KEY_ENCR)) { key_record_t key_record; void *key; key_record.frame_num = 0; key_record.label = NULL; key = tvb_memdup(pinfo->pool, tvb, offset - ZBEE_SEC_CONST_KEYSIZE, ZBEE_SEC_CONST_KEYSIZE); memcpy(key_record.key, key, ZBEE_SEC_CONST_KEYSIZE); zbee_gp_keyring = g_slist_prepend(zbee_gp_keyring, g_memdup2(&key_record, sizeof(key_record_t))); } } /* Parse and display security MIC. */ if ((cr_options & ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_KEY_ENCR) && (cr_options & ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_KEY_PRESENT)) { proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_gpd_sec_key_mic, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } /* Parse and display Frame Counter and decrypt key */ if ((cr_options & ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_KEY_ENCR) && (cr_options & ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_KEY_PRESENT) && ((cr_sec_level == ZBEE_NWK_GP_SECURITY_LEVEL_FULL) || (cr_sec_level == ZBEE_NWK_GP_SECURITY_LEVEL_FULLENCR))) { if (offset + 4 <= tvb_captured_length(tvb)){ proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_comm_rep_frame_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; if (packet != NULL) { /* decrypt the security key*/ dec_buffer = (guint8 *)wmem_alloc(pinfo->pool, ZBEE_SEC_CONST_KEYSIZE); enc_buffer_withA = (guint8 *)wmem_alloc(pinfo->pool, 4 + ZBEE_SEC_CONST_KEYSIZE + 4); /* CCM* a (this is SrcID) + encKey + MIC */ enc_buffer = tvb_memdup(pinfo->pool, tvb, offset - ZBEE_SEC_CONST_KEYSIZE - 4 - 4, ZBEE_SEC_CONST_KEYSIZE + 4); phtole32(enc_buffer_withA, packet->source_id); /* enc_buffer_withA = CCM* a (srcID) | enc_buffer */ memcpy(enc_buffer_withA+4, enc_buffer, ZBEE_SEC_CONST_KEYSIZE + 4); gp_decrypted = FALSE; for (GSList_i = zbee_gp_keyring; GSList_i && !gp_decrypted; GSList_i = g_slist_next(GSList_i)) { packet->security_frame_counter = tvb_get_guint32(tvb, offset - 4, ENC_LITTLE_ENDIAN); /*for Nonce creation */ gp_decrypted = zbee_gp_decrypt_payload(packet, enc_buffer_withA, 4 , dec_buffer, ZBEE_SEC_CONST_KEYSIZE, 4, ((key_record_t *)(GSList_i->data))->key); } if (gp_decrypted) { key_record_t key_record; key_record.frame_num = 0; key_record.label = NULL; memcpy(key_record.key, dec_buffer, ZBEE_SEC_CONST_KEYSIZE); zbee_gp_keyring = g_slist_prepend(zbee_gp_keyring, g_memdup2(&key_record, sizeof(key_record_t))); payload_tvb = tvb_new_child_real_data(tvb, dec_buffer, ZBEE_SEC_CONST_KEYSIZE, ZBEE_SEC_CONST_KEYSIZE); add_new_data_source(pinfo, payload_tvb, "Decrypted security key"); } } } else{ /* This field is new in 2016 specification, older implementation may exist without it */ proto_tree_add_expert(tree, pinfo, &ei_zbee_nwk_gp_com_rep_no_out_cnt, tvb, 0, -1); } } return offset; } /* dissect_zbee_nwk_gp_cmd_commissioning_reply */ /** * Dissector for ZigBee Green Power read attributes and request attributes commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_read_attributes(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { guint8 cr_options = 0; proto_tree *subtree = NULL; guint16 cluster_id; guint16 mfr_code = ZBEE_MFG_CODE_NONE; guint8 record_list_len; guint tvb_len; guint8 i; static int * const options[] = { &hf_zbee_nwk_gp_cmd_read_att_opt_multi_rec, &hf_zbee_nwk_gp_cmd_read_att_opt_man_field_present, NULL }; /* Get Options Field, build subtree and display the results. */ cr_options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_read_att_opt, ett_zbee_nwk_cmd_options, options, ENC_NA); offset += 1; /* Parse and display manufacturer ID value. */ if (cr_options & ZBEE_NWK_GP_CMD_READ_ATTRIBUTE_OPT_MAN_FIELD_PRESENT) { proto_tree_add_item(tree, hf_zbee_zcl_gp_cmd_ms_manufacturer_code, tvb, offset, 2, ENC_LITTLE_ENDIAN); mfr_code = tvb_get_letohs(tvb, offset); offset += 2; } tvb_len = tvb_captured_length(tvb); while (offset < tvb_len) { /* Create subtree and parse attributes list. */ subtree = proto_tree_add_subtree_format(tree, tvb, offset, -1, ett_zbee_nwk_clu_rec, NULL, "Cluster Record Request"); /* Get cluster ID and add it into the subtree. */ cluster_id = tvb_get_letohs(tvb, offset); proto_tree_add_item(subtree, hf_zbee_nwk_gp_zcl_attr_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Get length of record list (number of attributes * 2). */ record_list_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(subtree, hf_zbee_nwk_gp_cmd_read_att_record_len, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; for(i=0 ; i<record_list_len ; i+=2) { /* Dissect the attribute identifier */ dissect_zcl_attr_id(tvb, subtree, &offset, cluster_id, mfr_code, ZBEE_ZCL_FCF_TO_CLIENT); } } return offset; } /* dissect_zbee_nwk_gp_cmd_read_attributes */ /** * Dissector for ZigBee Green Power write attributes commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_write_attributes(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { guint8 cr_options = 0; proto_tree *subtree = NULL; proto_tree *att_tree = NULL; guint16 mfr_code = ZBEE_MFG_CODE_NONE; guint16 cluster_id; guint8 record_list_len; guint tvb_len; guint16 attr_id; guint end_byte; //guint8 i; static int * const options[] = { &hf_zbee_nwk_gp_cmd_read_att_opt_multi_rec, &hf_zbee_nwk_gp_cmd_read_att_opt_man_field_present, NULL }; /* Get Options Field, build subtree and display the results. */ cr_options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_read_att_opt, ett_zbee_nwk_cmd_options, options, ENC_NA); offset += 1; /* Parse and display manufacturer ID value. */ if (cr_options & ZBEE_NWK_GP_CMD_READ_ATTRIBUTE_OPT_MAN_FIELD_PRESENT) { proto_tree_add_item(tree, hf_zbee_zcl_gp_cmd_ms_manufacturer_code, tvb, offset, 2, ENC_LITTLE_ENDIAN); mfr_code = tvb_get_letohs(tvb, offset); offset += 2; } tvb_len = tvb_captured_length(tvb); while (offset < tvb_len) { /* Create subtree and parse attributes list. */ subtree = proto_tree_add_subtree_format(tree, tvb, offset, -1, ett_zbee_nwk_clu_rec, NULL, "Write Cluster Record"); /* Get cluster ID and add it into the subtree. */ cluster_id = tvb_get_letohs(tvb, offset); proto_tree_add_item(subtree, hf_zbee_nwk_gp_zcl_attr_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Get length of record list. */ record_list_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(subtree, hf_zbee_nwk_gp_cmd_read_att_record_len, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; end_byte = offset + record_list_len; while ( offset < end_byte) { /* Create subtree for attribute status field */ att_tree = proto_tree_add_subtree_format(subtree, tvb, offset, 0, ett_zbee_nwk_att_rec, NULL, "Write Attribute record"); /* Dissect the attribute identifier */ attr_id = tvb_get_letohs(tvb, offset); dissect_zcl_attr_id(tvb, att_tree, &offset, cluster_id, mfr_code, ZBEE_ZCL_FCF_TO_CLIENT); /* Dissect the attribute data type and data */ dissect_zcl_attr_data_type_val(tvb, att_tree, &offset, attr_id, cluster_id, mfr_code, ZBEE_ZCL_FCF_TO_CLIENT); } } return offset; } /* dissect_zbee_nwk_gp_cmd_write_attributes */ /** * Dissector for ZigBee Green Power read attribute response command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_read_attributes_response(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { guint8 cr_options; proto_tree *subtree = NULL; proto_tree *att_tree = NULL; guint16 cluster_id; guint16 attr_id; guint16 mfr_code = ZBEE_MFG_CODE_NONE; guint8 record_list_len; guint tvb_len; guint end_byte; static int * const options[] = { &hf_zbee_nwk_gp_cmd_read_att_opt_multi_rec, &hf_zbee_nwk_gp_cmd_read_att_opt_man_field_present, NULL }; /* Get Options Field, build subtree and display the results. */ cr_options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_gp_cmd_read_att_opt, ett_zbee_nwk_cmd_options, options, ENC_NA); offset += 1; /* Parse and display manufacturer ID value. */ if (cr_options & ZBEE_NWK_GP_CMD_READ_ATTRIBUTE_OPT_MAN_FIELD_PRESENT) { proto_tree_add_item(tree, hf_zbee_zcl_gp_cmd_ms_manufacturer_code, tvb, offset, 2, ENC_LITTLE_ENDIAN); mfr_code = tvb_get_letohs(tvb, offset); offset += 2; } tvb_len = tvb_captured_length(tvb); while (offset < tvb_len) { /* Create subtree and parse attributes list. */ subtree = proto_tree_add_subtree_format(tree, tvb, offset,0, ett_zbee_nwk_clu_rec, NULL, "Cluster record"); /* Get cluster ID and add it into the subtree. */ cluster_id = tvb_get_letohs(tvb, offset); proto_tree_add_item(subtree, hf_zbee_nwk_gp_zcl_attr_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Get length of record list in bytes. */ record_list_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(subtree, hf_zbee_nwk_gp_cmd_read_att_record_len, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; end_byte = offset + record_list_len; while ( offset < end_byte) { /* Create subtree for attribute status field */ /* TODO ett_ could be an array to permit not to unroll all always */ att_tree = proto_tree_add_subtree_format(subtree, tvb, offset, 0, ett_zbee_nwk_att_rec, NULL, "Read Attribute record"); /* Dissect the attribute identifier */ attr_id = tvb_get_letohs(tvb, offset); dissect_zcl_attr_id(tvb, att_tree, &offset, cluster_id, mfr_code, ZBEE_ZCL_FCF_TO_CLIENT); /* Dissect the status and optionally the data type and value */ if (dissect_zcl_attr_uint8(tvb, att_tree, &offset, &hf_zbee_nwk_gp_zcl_attr_status) == ZBEE_ZCL_STAT_SUCCESS) { /* Dissect the attribute data type and data */ dissect_zcl_attr_data_type_val(tvb, att_tree, &offset, attr_id, cluster_id, mfr_code, ZBEE_ZCL_FCF_TO_CLIENT); } else { /* Data type field is always present (not like in ZCL read attribute response command) */ dissect_zcl_attr_data(tvb, att_tree, &offset, dissect_zcl_attr_uint8(tvb, att_tree, &offset, &hf_zbee_nwk_gp_zcl_attr_data_type), ZBEE_ZCL_FCF_TO_CLIENT ); } } } return offset; } /* dissect_zbee_nwk_gp_cmd_read_attributes_response */ /** *Dissector for ZigBee Green Power multi-cluster reporting command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@param mfr_code manufacturer code. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_multi_cluster_reporting(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset, guint16 mfr_code) { proto_tree *subtree = NULL; guint16 cluster_id; guint16 attr_id; guint tvb_len; tvb_len = tvb_captured_length(tvb); while (offset < tvb_len) { /* Create subtree and parse attributes list. */ subtree = proto_tree_add_subtree_format(tree, tvb, offset, 0, ett_zbee_nwk_clu_rec, NULL, "Cluster record"); //TODO for cluster %% blabla /* Get cluster ID and add it into the subtree. */ cluster_id = tvb_get_letohs(tvb, offset); proto_tree_add_item(subtree, hf_zbee_nwk_gp_zcl_attr_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Dissect the attribute identifier */ attr_id = tvb_get_letohs(tvb, offset); dissect_zcl_attr_id(tvb, subtree, &offset, cluster_id, mfr_code, ZBEE_ZCL_FCF_TO_CLIENT); /* Dissect the attribute data type and data */ dissect_zcl_attr_data_type_val(tvb, subtree, &offset, attr_id, cluster_id, mfr_code, ZBEE_ZCL_FCF_TO_CLIENT); // TODO how to dissect when data type is different from expected one for this attribute ? this shouldn't happen } return offset; } /* dissect_zbee_nwk_gp_cmd_multi_cluster_reporting */ /** *Dissector for ZigBee Green Power commands manufacturer specific attrib reporting. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_MS_multi_cluster_reporting(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { guint16 mfr_code; /*dissect manufacturer ID*/ proto_tree_add_item(tree, hf_zbee_zcl_gp_cmd_ms_manufacturer_code, tvb, offset, 2, ENC_LITTLE_ENDIAN); mfr_code = tvb_get_letohs(tvb, offset); offset += 2; offset = dissect_zbee_nwk_gp_cmd_multi_cluster_reporting(tvb, pinfo, tree, packet, offset, mfr_code); return offset; }/*dissect_zbee_nwk_gp_cmd_MS_multi_cluster_reporting*/ /** *Dissector for ZigBee Green Power Move Color. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_move_color(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_move_color_ratex, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_move_color_ratey, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; return offset; } /* dissect_zbee_nwk_gp_cmd_move_color */ /** *Dissector for ZigBee Green Power Move Up/Down. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_move_up_down(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_move_up_down_rate, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; return offset; } /* dissect_zbee_nwk_gp_cmd_move_up_down */ /** *Dissector for ZigBee Green Power Step Color. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_step_color(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_step_color_stepx, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_step_color_stepy, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Optional time field. */ if (tvb_reported_length(tvb) - offset >= 2) { proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_step_color_transition_time, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } return offset; } /* dissect_zbee_nwk_gp_cmd_step_color */ /** *Dissector for ZigBee Green Power Step Up/Down. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param packet packet data. *@param offset current payload offset. *@return payload processed offset. */ static guint dissect_zbee_nwk_gp_cmd_step_up_down(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, zbee_nwk_green_power_packet *packet _U_, guint offset) { proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_step_up_down_step_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_nwk_gp_cmd_step_up_down_transition_time, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; return offset; } /* dissect_zbee_nwk_gp_cmd_step_up_down */ /** *Dissector for ZigBee Green Power commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param data raw packet private data. *@return payload processed offset */ static int dissect_zbee_nwk_gp_cmd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { guint offset = 0; guint8 cmd_id = tvb_get_guint8(tvb, offset); proto_item *cmd_root; proto_tree *cmd_tree; zbee_nwk_green_power_packet *packet = (zbee_nwk_green_power_packet *)data; /* Create a subtree for the command. */ cmd_tree = proto_tree_add_subtree_format(tree, tvb, offset, -1, ett_zbee_nwk_cmd, &cmd_root, "Command Frame: %s", val_to_str_ext_const(cmd_id, &zbee_nwk_gp_cmd_names_ext, "Unknown Command Frame")); /* Add the command ID. */ proto_tree_add_uint(cmd_tree, hf_zbee_nwk_gp_command_id, tvb, offset, 1, cmd_id); offset += 1; /* Add the command name to the info column. */ col_set_str(pinfo->cinfo, COL_INFO, val_to_str_ext_const(cmd_id, &zbee_nwk_gp_cmd_names_ext, "Unknown command")); /* Handle the command for one of the following devices: * - Door Lock Controller (IDs: 0x50 - 0x51); * - GP Flow Sensor (IDs: 0xE0, 0xA0 - 0xA3); * - GP Temperature Sensor (IDs: 0xE0, 0xA0 - 0xA3); */ switch(cmd_id) { /* Payloadless GPDF commands sent by GPD. */ case ZB_GP_CMD_ID_IDENTIFY: case ZB_GP_CMD_ID_SCENE0: case ZB_GP_CMD_ID_SCENE1: case ZB_GP_CMD_ID_SCENE2: case ZB_GP_CMD_ID_SCENE3: case ZB_GP_CMD_ID_SCENE4: case ZB_GP_CMD_ID_SCENE5: case ZB_GP_CMD_ID_SCENE6: case ZB_GP_CMD_ID_SCENE7: case ZB_GP_CMD_ID_SCENE8: case ZB_GP_CMD_ID_SCENE9: case ZB_GP_CMD_ID_SCENE10: case ZB_GP_CMD_ID_SCENE11: case ZB_GP_CMD_ID_SCENE12: case ZB_GP_CMD_ID_SCENE13: case ZB_GP_CMD_ID_SCENE14: case ZB_GP_CMD_ID_SCENE15: case ZB_GP_CMD_ID_OFF: case ZB_GP_CMD_ID_ON: case ZB_GP_CMD_ID_TOGGLE: case ZB_GP_CMD_ID_RELEASE: case ZB_GP_CMD_ID_LEVEL_CONTROL_STOP: case ZB_GP_CMD_ID_MOVE_HUE_STOP: case ZB_GP_CMD_ID_MOVE_SATURATION_STOP: case ZB_GP_CMD_ID_LOCK_DOOR: case ZB_GP_CMD_ID_UNLOCK_DOOR: case ZB_GP_CMD_ID_PRESS11: case ZB_GP_CMD_ID_RELEASE11: case ZB_GP_CMD_ID_PRESS12: case ZB_GP_CMD_ID_RELEASE12: case ZB_GP_CMD_ID_PRESS22: case ZB_GP_CMD_ID_RELEASE22: case ZB_GP_CMD_ID_SHORT_PRESS11: case ZB_GP_CMD_ID_SHORT_PRESS12: case ZB_GP_CMD_ID_SHORT_PRESS22: case ZB_GP_CMD_ID_DECOMMISSIONING: case ZB_GP_CMD_ID_SUCCESS: break; /* GPDF commands with payload sent by GPD. */ case ZB_GP_CMD_ID_MOVE_UP: case ZB_GP_CMD_ID_MOVE_DOWN: case ZB_GP_CMD_ID_MOVE_UP_WITH_ON_OFF: case ZB_GP_CMD_ID_MOVE_DOWN_WITH_ON_OFF: case ZB_GP_CMD_ID_MOVE_HUE_UP: case ZB_GP_CMD_ID_MOVE_HUE_DOWN: case ZB_GP_CMD_ID_MOVE_SATURATION_UP: case ZB_GP_CMD_ID_MOVE_SATURATION_DOWN: offset = dissect_zbee_nwk_gp_cmd_move_up_down(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_STEP_UP: case ZB_GP_CMD_ID_STEP_DOWN: case ZB_GP_CMD_ID_STEP_UP_WITH_ON_OFF: case ZB_GP_CMD_ID_STEP_DOWN_WITH_ON_OFF: case ZB_GP_CMD_ID_STEP_HUE_UP: case ZB_GP_CMD_ID_STEP_HUW_DOWN: case ZB_GP_CMD_ID_STEP_SATURATION_UP: case ZB_GP_CMD_ID_STEP_SATURATION_DOWN: offset = dissect_zbee_nwk_gp_cmd_step_up_down(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_MOVE_COLOR: offset = dissect_zbee_nwk_gp_cmd_move_color(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_STEP_COLOR: offset = dissect_zbee_nwk_gp_cmd_step_color(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_ATTRIBUTE_REPORTING: offset = dissect_zbee_nwk_gp_cmd_attr_reporting(tvb, pinfo, cmd_tree, packet, offset, ZBEE_MFG_CODE_NONE); break; case ZB_GP_CMD_ID_MANUFACTURE_SPECIFIC_ATTR_REPORTING: offset = dissect_zbee_nwk_gp_cmd_MS_attr_reporting(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_MULTI_CLUSTER_REPORTING: offset = dissect_zbee_nwk_gp_cmd_multi_cluster_reporting(tvb, pinfo, cmd_tree, packet, offset, ZBEE_MFG_CODE_NONE); break; case ZB_GP_CMD_ID_MANUFACTURER_SPECIFIC_MCLUSTER_REPORTING: offset = dissect_zbee_nwk_gp_cmd_MS_multi_cluster_reporting(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_READ_ATTRIBUTES_RESPONSE: offset = dissect_zbee_nwk_gp_cmd_read_attributes_response(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_ANY_SENSOR_COMMAND_A0_A3: /* TODO: implement it. */ break; case ZB_GP_CMD_ID_COMMISSIONING: offset = dissect_zbee_nwk_gp_cmd_commissioning(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_CHANNEL_REQUEST: offset = dissect_zbee_nwk_gp_cmd_channel_request(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_REQUEST_ATTRIBUTES: /* GPDF commands sent to GPD. */ case ZB_GP_CMD_ID_READ_ATTRIBUTES: offset = dissect_zbee_nwk_gp_cmd_read_attributes(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_COMMISSIONING_REPLY: offset = dissect_zbee_nwk_gp_cmd_commissioning_reply(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_WRITE_ATTRIBUTES: offset = dissect_zbee_nwk_gp_cmd_write_attributes(tvb, pinfo, cmd_tree, packet, offset); break; case ZB_GP_CMD_ID_CHANNEL_CONFIGURATION: offset = dissect_zbee_nwk_gp_cmd_channel_configuration(tvb, pinfo, cmd_tree, packet, offset); break; } if (offset < tvb_reported_length(tvb)) { /* There are leftover bytes! */ proto_tree *root; tvbuff_t *leftover_tvb = tvb_new_subset_remaining(tvb, offset); /* Correct the length of the command tree. */ root = proto_tree_get_root(tree); proto_item_set_len(cmd_root, offset); /* Dump the tail. */ call_data_dissector(leftover_tvb, pinfo, root); } return offset; } /* dissect_zbee_nwk_gp_cmd */ /** *ZigBee NWK packet dissection routine for Green Power profile. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param data raw packet private data. */ static int dissect_zbee_nwk_gp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { gboolean gp_decrypted; GSList *GSList_i; guint offset = 0; guint8 *dec_buffer; guint8 *enc_buffer; guint8 fcf; proto_tree *nwk_tree; proto_item *proto_root; proto_item *ti = NULL; tvbuff_t *payload_tvb; zbee_nwk_green_power_packet packet; static int * const fields[] = { &hf_zbee_nwk_gp_frame_type, &hf_zbee_nwk_gp_proto_version, &hf_zbee_nwk_gp_auto_commissioning, &hf_zbee_nwk_gp_fc_ext, NULL }; static int * const ext_fields[] = { &hf_zbee_nwk_gp_fc_ext_app_id, &hf_zbee_nwk_gp_fc_ext_sec_level, &hf_zbee_nwk_gp_fc_ext_sec_key, &hf_zbee_nwk_gp_fc_ext_rx_after_tx, &hf_zbee_nwk_gp_fc_ext_direction, NULL }; memset(&packet, 0, sizeof(packet)); /* Add ourself to the protocol column, clear the info column and create the protocol tree. */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZigBee Green Power"); col_clear(pinfo->cinfo, COL_INFO); proto_root = proto_tree_add_protocol_format(tree, proto_zbee_nwk_gp, tvb, offset, tvb_captured_length(tvb), "ZGP stub NWK header"); nwk_tree = proto_item_add_subtree(proto_root, ett_zbee_nwk); enc_buffer = (guint8 *)tvb_memdup(pinfo->pool, tvb, 0, tvb_captured_length(tvb)); /* Get and parse the FCF. */ fcf = tvb_get_guint8(tvb, offset); packet.frame_type = zbee_get_bit_field(fcf, ZBEE_NWK_GP_FCF_FRAME_TYPE); packet.nwk_frame_control_extension = zbee_get_bit_field(fcf, ZBEE_NWK_GP_FCF_CONTROL_EXTENSION); /* Display the FCF. */ ti = proto_tree_add_bitmask(nwk_tree, tvb, offset, hf_zbee_nwk_gp_fcf, ett_zbee_nwk_fcf, fields, ENC_NA); proto_item_append_text(ti, " %s", val_to_str_const(packet.frame_type, zbee_nwk_gp_frame_types, "Unknown Frame Type")); offset += 1; /* Add the frame type to the info column and protocol root. */ proto_item_append_text(proto_root, " %s", val_to_str_const(packet.frame_type, zbee_nwk_gp_frame_types, "Unknown type")); col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(packet.frame_type, zbee_nwk_gp_frame_types, "Reserved frame type")); if (packet.nwk_frame_control_extension) { /* Display ext FCF. */ fcf = tvb_get_guint8(tvb, offset); packet.application_id = zbee_get_bit_field(fcf, ZBEE_NWK_GP_FCF_EXT_APP_ID); packet.security_level = zbee_get_bit_field(fcf, ZBEE_NWK_GP_FCF_EXT_SECURITY_LEVEL); packet.direction = zbee_get_bit_field(fcf, ZBEE_NWK_GP_FCF_EXT_DIRECTION); /* Create a subtree for the extended FCF. */ proto_tree_add_bitmask(nwk_tree, tvb, offset, hf_zbee_nwk_gp_fc_ext_field, ett_zbee_nwk_fcf_ext, ext_fields, ENC_NA); offset += 1; } if ((packet.frame_type == ZBEE_NWK_GP_FCF_DATA && !packet.nwk_frame_control_extension) || (packet.frame_type == ZBEE_NWK_GP_FCF_DATA && packet.nwk_frame_control_extension && packet.application_id == ZBEE_NWK_GP_APP_ID_DEFAULT) || (packet.frame_type == ZBEE_NWK_GP_FCF_MAINTENANCE && packet.nwk_frame_control_extension && packet.application_id == ZBEE_NWK_GP_APP_ID_DEFAULT && tvb_get_guint8(tvb, offset) != ZB_GP_CMD_ID_CHANNEL_CONFIGURATION)) { /* Display GPD Src ID. */ packet.source_id = tvb_get_letohl(tvb, offset); proto_tree_add_item(nwk_tree, hf_zbee_nwk_gp_zgpd_src_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); proto_item_append_text(proto_root, ", GPD Src ID: 0x%08x", packet.source_id); col_append_fstr(pinfo->cinfo, COL_INFO, ", GPD Src ID: 0x%08x", packet.source_id); col_clear(pinfo->cinfo, COL_DEF_SRC); col_append_fstr(pinfo->cinfo, COL_DEF_SRC, "0x%08x", packet.source_id); offset += 4; } if (packet.application_id == ZBEE_NWK_GP_APP_ID_ZGP) { /* Display GPD endpoint */ packet.endpoint = tvb_get_guint8(tvb, offset); proto_tree_add_item(nwk_tree, hf_zbee_nwk_gp_zgpd_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN); proto_item_append_text(proto_root, ", Endpoint: %d", packet.endpoint); col_append_fstr(pinfo->cinfo, COL_INFO, ", Endpoint: %d", packet.endpoint); offset += 1; } /* Display Security Frame Counter. */ packet.mic_size = 0; if (packet.nwk_frame_control_extension) { if (packet.application_id == ZBEE_NWK_GP_APP_ID_DEFAULT || packet.application_id == ZBEE_NWK_GP_APP_ID_ZGP || packet.application_id == ZBEE_NWK_GP_APP_ID_LPED) { if (packet.security_level == ZBEE_NWK_GP_SECURITY_LEVEL_1LSB && packet.application_id != ZBEE_NWK_GP_APP_ID_LPED) { packet.mic_size = 2; } else if (packet.security_level == ZBEE_NWK_GP_SECURITY_LEVEL_FULL || packet.security_level == ZBEE_NWK_GP_SECURITY_LEVEL_FULLENCR) { /* Get Security Frame Counter and display it. */ packet.mic_size = 4; packet.security_frame_counter = tvb_get_letohl(tvb, offset); proto_tree_add_item(nwk_tree, hf_zbee_nwk_gp_security_frame_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } } } /* Parse application payload. */ packet.payload_len = tvb_reported_length(tvb) - offset - packet.mic_size; /* Ensure that the payload exists. */ if (packet.payload_len <= 0) { proto_tree_add_expert(nwk_tree, pinfo, &ei_zbee_nwk_gp_no_payload, tvb, 0, -1); return offset; } /* OK, payload exists. Parse MIC field if needed. */ if (packet.mic_size == 2) { packet.mic = tvb_get_letohs(tvb, offset + packet.payload_len); } else if (packet.mic_size == 4) { packet.mic = tvb_get_letohl(tvb, offset + packet.payload_len); } /* Save packet private data. */ data = (void *)&packet; payload_tvb = tvb_new_subset_length(tvb, offset, packet.payload_len); if (packet.security_level != ZBEE_NWK_GP_SECURITY_LEVEL_FULLENCR) { dissect_zbee_nwk_gp_cmd(payload_tvb, pinfo, nwk_tree, data); } offset += packet.payload_len; /* Display MIC field. */ if (packet.mic_size) { proto_tree_add_uint(nwk_tree, packet.mic_size == 4 ? hf_zbee_nwk_gp_security_mic_4b : hf_zbee_nwk_gp_security_mic_2b, tvb, offset, packet.mic_size, packet.mic); offset += packet.mic_size; } if ((offset < tvb_captured_length(tvb)) && (packet.security_level != ZBEE_NWK_GP_SECURITY_LEVEL_FULLENCR)) { proto_tree_add_expert(nwk_tree, pinfo, &ei_zbee_nwk_gp_inval_residual_data, tvb, offset, -1); return offset; } if (packet.security_level == ZBEE_NWK_GP_SECURITY_LEVEL_FULLENCR) { dec_buffer = (guint8 *)wmem_alloc(pinfo->pool, packet.payload_len); gp_decrypted = FALSE; for (GSList_i = zbee_gp_keyring; GSList_i && !gp_decrypted; GSList_i = g_slist_next(GSList_i)) { gp_decrypted = zbee_gp_decrypt_payload(&packet, enc_buffer, offset - packet.payload_len - packet.mic_size, dec_buffer, packet.payload_len, packet.mic_size, ((key_record_t *)(GSList_i->data))->key); } if (gp_decrypted) { payload_tvb = tvb_new_child_real_data(tvb, dec_buffer, packet.payload_len, packet.payload_len); add_new_data_source(pinfo, payload_tvb, "Decrypted GP Payload"); dissect_zbee_nwk_gp_cmd(payload_tvb, pinfo, nwk_tree, data); } else { payload_tvb = tvb_new_subset_length_caplen(tvb, offset - packet.payload_len - packet.mic_size, packet.payload_len, -1); call_data_dissector(payload_tvb, pinfo, tree); } } return tvb_captured_length(tvb); } /* dissect_zbee_nwk_gp */ /** *Heuristic interpreter for the ZigBee Green Power dissectors. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param data raw packet private data. */ static gboolean dissect_zbee_nwk_heur_gp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { ieee802154_packet *packet = (ieee802154_packet *)data; guint8 fcf; /* We must have the IEEE 802.15.4 headers. */ if (packet == NULL) return FALSE; /* ZigBee green power never uses 16-bit source addresses. */ if (packet->src_addr_mode == IEEE802154_FCF_ADDR_SHORT) return FALSE; /* If the frame type and version are not sane, then it's probably not ZGP. */ fcf = tvb_get_guint8(tvb, 0); if (zbee_get_bit_field(fcf, ZBEE_NWK_GP_FCF_VERSION) != ZBEE_VERSION_GREEN_POWER) return FALSE; if (!try_val_to_str(zbee_get_bit_field(fcf, ZBEE_NWK_FCF_FRAME_TYPE), zbee_nwk_gp_frame_types)) return FALSE; /* ZigBee greenpower frames are either sent to broadcast or the extended address. */ if (packet->dst_pan == IEEE802154_BCAST_PAN && packet->dst_addr_mode == IEEE802154_FCF_ADDR_SHORT && packet->dst16 == IEEE802154_BCAST_ADDR) { dissect_zbee_nwk_gp(tvb, pinfo, tree, data); return TRUE; } /* 64-bit destination addressing mode support. */ if (packet->dst_addr_mode == IEEE802154_FCF_ADDR_EXT) { dissect_zbee_nwk_gp(tvb, pinfo, tree, data); return TRUE; } return FALSE; } /* dissect_zbee_nwk_heur_gp */ /** *Init routine for the ZigBee GP profile security. * */ static void gp_init_zbee_security(void) { guint i; key_record_t key_record; for (i = 0; gp_uat_key_records && (i < num_uat_key_records); i++) { key_record.frame_num = 0; key_record.label = g_strdup(gp_uat_key_records[i].label); memcpy(key_record.key, gp_uat_key_records[i].key, ZBEE_SEC_CONST_KEYSIZE); zbee_gp_keyring = g_slist_prepend(zbee_gp_keyring, g_memdup2(&key_record, sizeof(key_record_t))); } } static void zbee_free_key_record(gpointer ptr) { key_record_t *k; k = (key_record_t *)ptr; if (!k) return; g_free(k->label); g_free(k); } static void gp_cleanup_zbee_security(void) { if (!zbee_gp_keyring) return; g_slist_free_full(zbee_gp_keyring, zbee_free_key_record); zbee_gp_keyring = NULL; } /** *ZigBee NWK GP protocol registration routine. * */ void proto_register_zbee_nwk_gp(void) { module_t *gp_zbee_prefs; expert_module_t* expert_zbee_nwk_gp; static hf_register_info hf[] = { { &hf_zbee_nwk_gp_auto_commissioning, { "Auto Commissioning", "zbee_nwk_gp.auto_commissioning", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_FCF_AUTO_COMMISSIONING, NULL, HFILL }}, { &hf_zbee_nwk_gp_fc_ext, { "NWK Frame Extension", "zbee_nwk_gp.fc_extension", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_FCF_CONTROL_EXTENSION, NULL, HFILL }}, { &hf_zbee_nwk_gp_fcf, { "Frame Control Field", "zbee_nwk_gp.fcf", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_frame_type, { "Frame Type", "zbee_nwk_gp.frame_type", FT_UINT8, BASE_HEX, VALS(zbee_nwk_gp_frame_types), ZBEE_NWK_GP_FCF_FRAME_TYPE, NULL, HFILL }}, { &hf_zbee_nwk_gp_proto_version, { "Protocol Version", "zbee_nwk_gp.proto_version", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_GP_FCF_VERSION, NULL, HFILL }}, { &hf_zbee_nwk_gp_fc_ext_field, { "Extended NWK Frame Control Field", "zbee_nwk_gp.fc_ext", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_fc_ext_app_id, { "Application ID", "zbee_nwk_gp.fc_ext_app_id", FT_UINT8, BASE_HEX, VALS(zbee_nwk_gp_app_id_names), ZBEE_NWK_GP_FCF_EXT_APP_ID, NULL, HFILL }}, { &hf_zbee_nwk_gp_fc_ext_direction, { "Direction", "zbee_nwk_gp.fc_ext_direction", FT_UINT8, BASE_HEX, VALS(zbee_nwk_gp_directions), ZBEE_NWK_GP_FCF_EXT_DIRECTION, NULL, HFILL }}, { &hf_zbee_nwk_gp_fc_ext_rx_after_tx, { "Rx After Tx", "zbee_nwk_gp.fc_ext_rxaftertx", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_FCF_EXT_RX_AFTER_TX, NULL, HFILL }}, { &hf_zbee_nwk_gp_fc_ext_sec_key, { "Security Key", "zbee_nwk_gp.fc_ext_security_key", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_FCF_EXT_SECURITY_KEY, NULL, HFILL }}, { &hf_zbee_nwk_gp_fc_ext_sec_level, { "Security Level", "zbee_nwk_gp.fc_ext_security_level", FT_UINT8, BASE_HEX, VALS(zbee_nwk_gp_src_sec_levels_names), ZBEE_NWK_GP_FCF_EXT_SECURITY_LEVEL, NULL, HFILL }}, { &hf_zbee_nwk_gp_zgpd_src_id, { "Src ID", "zbee_nwk_gp.source_id", FT_UINT32, BASE_HEX, VALS(zbee_nwk_gp_src_id_names), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_zgpd_endpoint, { "Endpoint", "zbee_nwk_gp.endpoint", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_security_frame_counter, { "Security Frame Counter", "zbee_nwk_gp.security_frame_counter", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_security_mic_2b, { "Security MIC", "zbee_nwk_gp.security_mic2", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_security_mic_4b, { "Security MIC", "zbee_nwk_gp.security_mic4", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_command_id, { "ZGPD Command ID", "zbee_nwk_gp.command_id", FT_UINT8, BASE_HEX | BASE_EXT_STRING, &zbee_nwk_gp_cmd_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_device_id, { "ZGPD Device ID", "zbee_nwk_gp.cmd.comm.dev_id", FT_UINT8, BASE_HEX | BASE_EXT_STRING, &zbee_nwk_gp_device_ids_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_ext_opt_gpd_key_encr, { "GPD Key Encryption", "zbee_nwk_gp.cmd.comm.ext_opt.gpd_key_encr", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_GPD_KEY_ENCR, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_ext_opt_gpd_key_present, { "GPD Key Present", "zbee_nwk_gp.cmd.comm.ext_opt.gpd_key_present", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_GPD_KEY_PRESENT, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_ext_opt_key_type, { "Key Type", "zbee_nwk_gp.cmd.comm.ext_opt.key_type", FT_UINT8, BASE_HEX, VALS(zbee_nwk_gp_src_sec_keys_type_names), ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_KEY_TYPE, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_outgoing_counter, { "GPD Outgoing Counter", "zbee_nwk_gp.cmd.comm.out_counter", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_ext_opt_sec_level_cap, { "Security Level Capabilities", "zbee_nwk_gp.cmd.comm.ext_opt.seclevel_cap", FT_UINT8, BASE_HEX, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_SEC_LEVEL_CAP, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_security_key, { "Security Key", "zbee_nwk_gp.cmd.comm.security_key", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_gpd_sec_key_mic, { "GPD Key MIC", "zbee_nwk_gp.cmd.comm.gpd_key_mic", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_opt_ext_opt, { "Extended Option Field", "zbee_nwk_gp.cmd.comm.opt.ext_opt_field", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_EXT_OPTIONS, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_opt, { "Options Field", "zbee_nwk_gp.cmd.comm.opt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_opt_fixed_location, { "Fixed Location", "zbee_nwk_gp.cmd.comm.opt.fixed_location", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_FIXED_LOCATION, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_opt_mac_sec_num_cap, { "MAC Sequence number capability", "zbee_nwk_gp.cmd.comm.opt.mac_seq_num_cap", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_MAC_SEQ, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_opt_appli_info_present, { "Application information present", "zbee_nwk_gp.cmd.comm.opt.appli_info_present", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_APPLICATION_INFO, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_opt_panid_req, { "PANId request", "zbee_nwk_gp.cmd.comm.opt.panid_req", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_PAN_ID_REQ, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_opt_rx_on_cap, { "RxOnCapability", "zbee_nwk_gp.cmd.comm.opt.rxon_cap", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_RX_ON_CAP, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_opt_sec_key_req, { "GP Security Key Request", "zbee_nwk_gp.cmd.comm.opt.seq_key_req", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_OPT_GP_SEC_KEY_REQ, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_ext_opt, { "Extended Options Field", "zbee_nwk_gp.cmd.comm.ext_opt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_ext_opt_outgoing_counter, { "GPD Outgoing present", "zbee_nwk_gp.cmd.comm.ext_opt.outgoing_counter", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_EXT_OPT_OUT_COUNTER, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_manufacturer_greenpeak_dev_id, { "Manufacturer Model ID", "zbee_nwk_gp.cmd.comm.manufacturer_model_id", FT_UINT16, BASE_HEX, VALS(zbee_nwk_gp_manufacturer_greenpeak_dev_names), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_manufacturer_dev_id, { "Manufacturer Model ID", "zbee_nwk_gp.cmd.comm.manufacturer_model_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_manufacturer_id, { "Manufacturer ID", "zbee_nwk_gp.cmd.comm.manufacturer_id", FT_UINT16, BASE_HEX, VALS(zbee_mfr_code_names), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_appli_info_crp, { "Cluster reports present", "zbee_nwk_gp.cmd.comm.appli_info.crp", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_CRP , NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_appli_info_gclp, { "GP commands list present", "zbee_nwk_gp.cmd.comm.appli_info.gclp", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_GCLP , NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_appli_info, { "Application information Field", "zbee_nwk_gp.cmd.comm.appli_info", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_appli_info_mip, { "Manufacturer ID present", "zbee_nwk_gp.cmd.comm.appli_info.mip", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_MIP , NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_appli_info_mmip, { "Manufacturer Model ID present", "zbee_nwk_gp.cmd.comm.appli_info.mmip", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_APPLI_INFO_MMIP , NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_gpd_cmd_num, { "Number of GPD commands", "zbee_nwk_gp.cmd.comm.gpd_cmd_num", FT_UINT8, BASE_DEC, NULL, 0x0 , NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_gpd_cmd_id_list, { "GPD CommandID list", "zbee_nwk_gp.cmd.comm.gpd_cmd_id_list", FT_NONE, BASE_NONE, NULL, 0x0 , NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_length_of_clid_list, { "Length of ClusterID list", "zbee_nwk_gp.cmd.comm.length_of_clid_list", FT_UINT8, BASE_HEX, NULL, 0x0 , NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_length_of_clid_list_server, { "Number of server ClusterIDs", "zbee_nwk_gp.cmd.comm.length_of_clid_list_srv", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_CLID_LIST_LEN_SRV, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_length_of_clid_list_client, { "Number of client ClusterIDs", "zbee_nwk_gp.cmd.comm.length_of_clid_list_cli", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_CLID_LIST_LEN_CLI, NULL, HFILL }}, { &hf_zbee_nwk_cmd_comm_clid_list_server, { "Cluster ID List Server", "zbee_nwk_gp.cmd.comm.clid_list_server", FT_NONE, BASE_NONE, NULL, 0x0 , NULL, HFILL }}, { &hf_zbee_nwk_cmd_comm_clid_list_client, { "ClusterID List Client", "zbee_nwk_gp.cmd.comm.clid_list_client", FT_NONE, BASE_NONE, NULL, 0x0 , NULL, HFILL }}, { &hf_zbee_nwk_cmd_comm_cluster_id, { "Cluster ID", "zbee_nwk_gp.cmd.comm.cluster_id", FT_UINT16, BASE_HEX, NULL, 0x0 , NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_rep_opt_key_encr, { "GPD Key Encryption", "zbee_nwk_gp.cmd.comm_reply.opt.sec_key_encr", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_KEY_ENCR, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_rep_opt, { "Options Field", "zbee_nwk_gp.cmd.comm_reply.opt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_rep_opt_panid_present, { "PANID Present", "zbee_nwk_gp.cmd.comm_reply.opt.pan_id_present", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_PAN_ID_PRESENT, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_key_present, { "GPD Security Key Present", "zbee_nwk_gp.cmd.comm_reply.opt.sec_key_present", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_KEY_PRESENT, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_level, { "Security Level", "zbee_nwk_gp.cmd.comm_reply.opt.sec_level", FT_UINT8, BASE_HEX, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_SEC_LEVEL, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_rep_opt_sec_type, { "Key Type", "zbee_nwk_gp.cmd.comm_reply.opt.key_type", FT_UINT8, BASE_HEX, NULL, ZBEE_NWK_GP_CMD_COMMISSIONING_REP_OPT_KEY_TYPE, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_rep_pan_id, { "PAN ID", "zbee_nwk_gp.cmd.comm_reply.pan_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_comm_rep_frame_counter, { "Frame Counter", "zbee_nwk_gp.cmd.comm_reply.frame_counter", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_read_att_opt_multi_rec, { "Multi-record", "zbee_nwk_gp.cmd.read_att.opt.multi_record", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_READ_ATTRIBUTE_OPT_MULTI_RECORD, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_read_att_opt_man_field_present, { "Manufacturer field present", "zbee_nwk_gp.cmd.read_att.opt.man_field_present", FT_BOOLEAN, 8, NULL, ZBEE_NWK_GP_CMD_READ_ATTRIBUTE_OPT_MAN_FIELD_PRESENT, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_read_att_opt, { "Option field", "zbee_nwk_gp.cmd.read_att.opt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_gp_cmd_ms_manufacturer_code, { "Manufacturer Code", "zbee_nwk_gp.cmd.manufacturer_code", FT_UINT16, BASE_HEX, VALS(zbee_mfr_code_names), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_read_att_record_len, { "Length of Record List", "zbee_nwk_gp.cmd.read_att.record_len", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_zcl_attr_status, { "Status", "zbee_nwk_gp.zcl.attr.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_status_names), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_zcl_attr_data_type, { "Data Type", "zbee_nwk_gp.zcl.attr.datatype", FT_UINT8, BASE_HEX, VALS(zbee_zcl_short_data_type_names), 0x0, NULL, HFILL } }, { &hf_zbee_nwk_gp_zcl_attr_cluster_id, { "ZigBee Cluster ID", "zbee_nwk_gp.zcl.attr.cluster_id", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_cid_names), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour, { "Channel Toggling Behaviour", "zbee_nwk_gp.cmd.ch_req", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour_1st, { "Rx channel in the next attempt", "zbee_nwk_gp.cmd.ch_req.1st", FT_UINT8, BASE_HEX, NULL, ZBEE_NWK_GP_CMD_CHANNEL_REQUEST_1ST, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_channel_request_toggling_behaviour_2nd, { "Rx channel in the second next attempt", "zbee_nwk_gp.ch_req.2nd", FT_UINT8, BASE_HEX, NULL, ZBEE_NWK_GP_CMD_CHANNEL_REQUEST_2ND, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_operational_channel, { "Operational Channel", "zbee_nwk_gp.cmd.configuration_ch", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_channel_configuration, { "Operation channel", "zbee_nwk_gp.cmd.configuration_ch.operation_ch", FT_UINT8, BASE_HEX, NULL, ZBEE_NWK_GP_CMD_CHANNEL_CONFIGURATION_OPERATION_CH, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_move_color_ratex, { "RateX", "zbee_nwk_gp.cmd.move_color.ratex", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_move_color_ratey, { "RateY", "zbee_nwk_gp.cmd.move_color.ratey", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_move_up_down_rate, { "Rate", "zbee_nwk_gp.cmd.move_up_down.rate", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_step_color_stepx, { "StepX", "zbee_nwk_gp.cmd.step_color.stepx", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_step_color_stepy, { "StepY", "zbee_nwk_gp.cmd.step_color.stepy", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_step_color_transition_time, { "Transition Time", "zbee_nwk_gp.cmd.step_color.transition_time", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_step_up_down_step_size, { "Step Size", "zbee_nwk_gp.cmd.step_up_down.step_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_gp_cmd_step_up_down_transition_time, { "Transition Time", "zbee_nwk_gp.cmd.step_up_down.transition_time", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }} }; static ei_register_info ei[] = { { &ei_zbee_nwk_gp_no_payload, { "zbee_nwk_gp.no_payload", PI_MALFORMED, PI_ERROR, "Payload is missing", EXPFILL }}, { &ei_zbee_nwk_gp_inval_residual_data, { "zbee_nwk_gp.inval_residual_data", PI_MALFORMED, PI_ERROR, "Invalid residual data", EXPFILL }}, { &ei_zbee_nwk_gp_com_rep_no_out_cnt, { "zbee_nwk_gp.com_rep_no_out_cnt", PI_DEBUG, PI_WARN, "Missing outgoing frame counter", EXPFILL }} }; static gint *ett[] = { &ett_zbee_nwk, &ett_zbee_nwk_cmd, &ett_zbee_nwk_cmd_cinfo, &ett_zbee_nwk_cmd_appli_info, &ett_zbee_nwk_cmd_options, &ett_zbee_nwk_fcf, &ett_zbee_nwk_fcf_ext, &ett_zbee_nwk_clu_rec, &ett_zbee_nwk_att_rec, &ett_zbee_nwk_cmd_comm_gpd_cmd_id_list, &ett_zbee_nwk_cmd_comm_length_of_clid_list, &ett_zbee_nwk_cmd_comm_clid_list_server, &ett_zbee_nwk_cmd_comm_clid_list_client }; static uat_field_t key_uat_fields[] = { UAT_FLD_CSTRING(gp_uat_key_records, string, "Key", "A 16-byte key."), UAT_FLD_VS(gp_uat_key_records, byte_order, "Byte Order", byte_order_vals, "Byte order of a key."), UAT_FLD_LSTRING(gp_uat_key_records, label, "Label", "User label for a key."), UAT_END_FIELDS }; proto_zbee_nwk_gp = proto_register_protocol("ZigBee Green Power Profile", "ZigBee Green Power", ZBEE_PROTOABBREV_NWK_GP); gp_zbee_prefs = prefs_register_protocol(proto_zbee_nwk_gp, NULL); zbee_gp_sec_key_table_uat = uat_new("ZigBee GP Security Keys", sizeof(uat_key_record_t), "zigbee_gp_keys", TRUE, &gp_uat_key_records, &num_uat_key_records, UAT_AFFECTS_DISSECTION, NULL, uat_key_record_copy_cb, uat_key_record_update_cb, uat_key_record_free_cb, uat_key_record_post_update_cb, NULL, key_uat_fields); prefs_register_uat_preference(gp_zbee_prefs, "gp_key_table", "Pre-configured GP Security Keys", "Pre-configured GP Security Keys.", zbee_gp_sec_key_table_uat); register_init_routine(gp_init_zbee_security); register_cleanup_routine(gp_cleanup_zbee_security); /* Register the Wireshark protocol. */ proto_register_field_array(proto_zbee_nwk_gp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_zbee_nwk_gp = expert_register_protocol(proto_zbee_nwk_gp); expert_register_field_array(expert_zbee_nwk_gp, ei, array_length(ei)); /* Register the dissectors. */ register_dissector(ZBEE_PROTOABBREV_NWK_GP, dissect_zbee_nwk_gp, proto_zbee_nwk_gp); register_dissector(ZBEE_PROTOABBREV_NWK_GP_CMD, dissect_zbee_nwk_gp_cmd, proto_zbee_nwk_gp); } /* proto_register_zbee_nwk_gp */ /** *Registers the ZigBee dissector with Wireshark. * */ void proto_reg_handoff_zbee_nwk_gp(void) { /* Register our dissector with IEEE 802.15.4. */ dissector_add_for_decode_as(IEEE802154_PROTOABBREV_WPAN_PANID, find_dissector(ZBEE_PROTOABBREV_NWK_GP)); heur_dissector_add(IEEE802154_PROTOABBREV_WPAN, dissect_zbee_nwk_heur_gp, "ZigBee Green Power over IEEE 802.15.4", "zbee_nwk_gp_wlan", proto_zbee_nwk_gp, HEURISTIC_ENABLE); } /* proto_reg_handoff_zbee */ /* * Editor modelines * * Local Variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-nwk.c
/* packet-zbee-nwk.c * Dissector routines for the ZigBee Network Layer (NWK) * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/exceptions.h> #include <epan/prefs.h> #include <epan/addr_resolv.h> #include <epan/address_types.h> #include <epan/expert.h> #include <epan/proto_data.h> #include <epan/conversation_table.h> #include <epan/conversation_filter.h> #include <epan/tap.h> #include <wsutil/bits_ctz.h> /* for ws_ctz */ #include <wsutil/pint.h> #include "packet-ieee802154.h" #include "packet-zbee.h" #include "packet-zbee-nwk.h" #include "packet-zbee-aps.h" /* for ZBEE_APS_CMD_KEY_LENGTH */ #include "packet-zbee-zdp.h" #include "packet-zbee-security.h" #include "packet-zbee-tlv.h" /*************************/ /* Function Declarations */ /*************************/ /* Dissector Routines */ static int dissect_zbee_nwk (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data); static void dissect_zbee_nwk_cmd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet* packet); static int dissect_zbee_beacon (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data); static int dissect_zbip_beacon (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data); static int dissect_zbee_ie (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data); static void dissect_ieee802154_zigbee_rejoin(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset); static void dissect_ieee802154_zigbee_txpower(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset); /* Command Dissector Helpers */ static guint dissect_zbee_nwk_route_req (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset); static guint dissect_zbee_nwk_route_rep (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint8 version); static guint dissect_zbee_nwk_status (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_nwk_leave (tvbuff_t *tvb, proto_tree *tree, guint offset); static guint dissect_zbee_nwk_route_rec (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset); static guint dissect_zbee_nwk_rejoin_req (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset); static guint dissect_zbee_nwk_rejoin_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset); static guint dissect_zbee_nwk_link_status(tvbuff_t *tvb, proto_tree *tree, guint offset); static guint dissect_zbee_nwk_report (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_nwk_update (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_nwk_ed_timeout_request(tvbuff_t *tvb, proto_tree *tree, guint offset); static guint dissect_zbee_nwk_ed_timeout_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_nwk_link_pwr_delta(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); static guint dissect_zbee_nwk_commissioning_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset); static guint dissect_zbee_nwk_commissioning_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset); static void proto_init_zbee_nwk (void); static void proto_cleanup_zbee_nwk(void); void proto_register_zbee_nwk(void); void proto_reg_handoff_zbee_nwk(void); /********************/ /* Global Variables */ /********************/ static int proto_zbee_nwk = -1; static int proto_zbee_beacon = -1; static int proto_zbip_beacon = -1; static int proto_zbee_ie = -1; static int hf_zbee_nwk_fcf = -1; static int hf_zbee_nwk_frame_type = -1; static int hf_zbee_nwk_proto_version = -1; static int hf_zbee_nwk_discover_route = -1; static int hf_zbee_nwk_multicast = -1; static int hf_zbee_nwk_security = -1; static int hf_zbee_nwk_source_route = -1; static int hf_zbee_nwk_ext_dst = -1; static int hf_zbee_nwk_ext_src = -1; static int hf_zbee_nwk_end_device_initiator = -1; static int hf_zbee_nwk_dst = -1; static int hf_zbee_nwk_src = -1; static int hf_zbee_nwk_addr = -1; static int hf_zbee_nwk_radius = -1; static int hf_zbee_nwk_seqno = -1; static int hf_zbee_nwk_mcast = -1; static int hf_zbee_nwk_mcast_mode = -1; static int hf_zbee_nwk_mcast_radius = -1; static int hf_zbee_nwk_mcast_max_radius = -1; static int hf_zbee_nwk_dst64 = -1; static int hf_zbee_nwk_src64 = -1; static int hf_zbee_nwk_addr64 = -1; static int hf_zbee_nwk_src64_origin = -1; static int hf_zbee_nwk_relay_count = -1; static int hf_zbee_nwk_relay_index = -1; static int hf_zbee_nwk_relay = -1; static int hf_zbee_nwk_cmd_id = -1; static int hf_zbee_nwk_cmd_addr = -1; static int hf_zbee_nwk_cmd_route_id = -1; static int hf_zbee_nwk_cmd_route_dest = -1; static int hf_zbee_nwk_cmd_route_orig = -1; static int hf_zbee_nwk_cmd_route_resp = -1; static int hf_zbee_nwk_cmd_route_dest_ext = -1; static int hf_zbee_nwk_cmd_route_orig_ext = -1; static int hf_zbee_nwk_cmd_route_resp_ext = -1; static int hf_zbee_nwk_cmd_route_cost = -1; static int hf_zbee_nwk_cmd_route_options = -1; static int hf_zbee_nwk_cmd_route_opt_repair = -1; static int hf_zbee_nwk_cmd_route_opt_multicast = -1; static int hf_zbee_nwk_cmd_route_opt_dest_ext = -1; static int hf_zbee_nwk_cmd_route_opt_resp_ext = -1; static int hf_zbee_nwk_cmd_route_opt_orig_ext = -1; static int hf_zbee_nwk_cmd_route_opt_many_to_one = -1; static int hf_zbee_nwk_cmd_nwk_status = -1; static int hf_zbee_nwk_cmd_nwk_status_command_id = -1; static int hf_zbee_nwk_cmd_leave_rejoin = -1; static int hf_zbee_nwk_cmd_leave_request = -1; static int hf_zbee_nwk_cmd_leave_children = -1; static int hf_zbee_nwk_cmd_relay_count = -1; static int hf_zbee_nwk_cmd_relay_device = -1; static int hf_zbee_nwk_cmd_cinfo = -1; static int hf_zbee_nwk_cmd_cinfo_alt_coord = -1; static int hf_zbee_nwk_cmd_cinfo_type = -1; static int hf_zbee_nwk_cmd_cinfo_power = -1; static int hf_zbee_nwk_cmd_cinfo_idle_rx = -1; static int hf_zbee_nwk_cmd_cinfo_security = -1; static int hf_zbee_nwk_cmd_cinfo_alloc = -1; static int hf_zbee_nwk_cmd_rejoin_status = -1; static int hf_zbee_nwk_cmd_link_last = -1; static int hf_zbee_nwk_cmd_link_first = -1; static int hf_zbee_nwk_cmd_link_count = -1; static int hf_zbee_nwk_cmd_link_address = -1; static int hf_zbee_nwk_cmd_link_incoming_cost = -1; static int hf_zbee_nwk_cmd_link_outgoing_cost = -1; static int hf_zbee_nwk_cmd_report_type = -1; static int hf_zbee_nwk_cmd_report_count = -1; static int hf_zbee_nwk_cmd_update_type = -1; static int hf_zbee_nwk_cmd_update_count = -1; static int hf_zbee_nwk_cmd_update_id = -1; static int hf_zbee_nwk_panid = -1; static int hf_zbee_zboss_nwk_cmd_key = -1; static int hf_zbee_nwk_cmd_epid = -1; static int hf_zbee_nwk_cmd_end_device_timeout_request_enum = -1; static int hf_zbee_nwk_cmd_end_device_configuration = -1; static int hf_zbee_nwk_cmd_end_device_timeout_resp_status = -1; static int hf_zbee_nwk_cmd_end_device_timeout_resp_parent_info = -1; static int hf_zbee_nwk_cmd_prnt_info_mac_data_poll_keepalive_supported = -1; static int hf_zbee_nwk_cmd_prnt_info_ed_to_req_keepalive_supported = -1; static int hf_zbee_nwk_cmd_prnt_info_power_negotiation_supported = -1; static int hf_zbee_nwk_cmd_link_pwr_list_count = -1; static int hf_zbee_nwk_cmd_link_pwr_type = -1; static int hf_zbee_nwk_cmd_link_pwr_device_address = -1; static int hf_zbee_nwk_cmd_link_pwr_power_delta = -1; static int hf_zbee_nwk_cmd_association_type = -1; /* ZigBee Beacons */ static int hf_zbee_beacon_protocol = -1; static int hf_zbee_beacon_stack_profile = -1; static int hf_zbee_beacon_version = -1; static int hf_zbee_beacon_router_capacity = -1; static int hf_zbee_beacon_depth = -1; static int hf_zbee_beacon_end_device_capacity = -1; static int hf_zbee_beacon_epid = -1; static int hf_zbee_beacon_tx_offset = -1; static int hf_zbee_beacon_update_id = -1; static int hf_zbip_beacon_allow_join = -1; static int hf_zbip_beacon_router_capacity = -1; static int hf_zbip_beacon_host_capacity = -1; static int hf_zbip_beacon_unsecure = -1; static int hf_zbip_beacon_network_id = -1; /* IEEE 802.15.4 IEs (Information Elements) */ static int hf_ieee802154_zigbee_ie = -1; static int hf_ieee802154_zigbee_ie_id = -1; static int hf_ieee802154_zigbee_ie_length = -1; static int hf_ieee802154_zigbee_ie_tx_power = -1; static int hf_ieee802154_zigbee_ie_source_addr = -1; static int hf_ieee802154_zigbee_rejoin_epid = -1; static int hf_ieee802154_zigbee_rejoin_source_addr = -1; static gint ett_zbee_nwk = -1; static gint ett_zbee_nwk_beacon = -1; static gint ett_zbee_nwk_fcf = -1; static gint ett_zbee_nwk_fcf_ext = -1; static gint ett_zbee_nwk_mcast = -1; static gint ett_zbee_nwk_route = -1; static gint ett_zbee_nwk_cmd = -1; static gint ett_zbee_nwk_cmd_options = -1; static gint ett_zbee_nwk_cmd_cinfo = -1; static gint ett_zbee_nwk_cmd_link = -1; static gint ett_zbee_nwk_cmd_ed_to_rsp_prnt_info = -1; static gint ett_zbee_nwk_cmd_link_pwr_struct = -1; static gint ett_zbee_nwk_zigbee_ie_fields = -1; static gint ett_zbee_nwk_ie_rejoin = -1; static gint ett_zbee_nwk_header = -1; static gint ett_zbee_nwk_header_ie = -1; static gint ett_zbee_nwk_beacon_bitfield = -1; static expert_field ei_zbee_nwk_missing_payload = EI_INIT; static dissector_handle_t aps_handle; static dissector_handle_t zbee_gp_handle; static int zbee_nwk_address_type = -1; static int zbee_nwk_tap = -1; /********************/ /* Field Names */ /********************/ /* Frame Types */ static const value_string zbee_nwk_frame_types[] = { { ZBEE_NWK_FCF_DATA, "Data" }, { ZBEE_NWK_FCF_CMD, "Command" }, { ZBEE_NWK_FCF_INTERPAN,"Interpan" }, { 0, NULL } }; /* Route Discovery Modes */ static const value_string zbee_nwk_discovery_modes[] = { { ZBEE_NWK_FCF_DISCOVERY_SUPPRESS, "Suppress" }, { ZBEE_NWK_FCF_DISCOVERY_ENABLE, "Enable" }, { ZBEE_NWK_FCF_DISCOVERY_FORCE, "Force" }, { 0, NULL } }; /* Command Names*/ static const value_string zbee_nwk_cmd_names[] = { { ZBEE_NWK_CMD_ROUTE_REQ, "Route Request" }, { ZBEE_NWK_CMD_ROUTE_REPLY, "Route Reply" }, { ZBEE_NWK_CMD_NWK_STATUS, "Network Status" }, { ZBEE_NWK_CMD_LEAVE, "Leave" }, { ZBEE_NWK_CMD_ROUTE_RECORD, "Route Record" }, { ZBEE_NWK_CMD_REJOIN_REQ, "Rejoin Request" }, { ZBEE_NWK_CMD_REJOIN_RESP, "Rejoin Response" }, { ZBEE_NWK_CMD_LINK_STATUS, "Link Status" }, { ZBEE_NWK_CMD_NWK_REPORT, "Network Report" }, { ZBEE_NWK_CMD_NWK_UPDATE, "Network Update" }, { ZBEE_NWK_CMD_ED_TIMEOUT_REQUEST, "End Device Timeout Request" }, { ZBEE_NWK_CMD_ED_TIMEOUT_RESPONSE, "End Device Timeout Response" }, { ZBEE_NWK_CMD_LINK_PWR_DELTA, "Link Power Delta" }, { ZBEE_NWK_CMD_COMMISSIONING_REQUEST, "Network Commissioning Request" }, { ZBEE_NWK_CMD_COMMISSIONING_RESPONSE, "Network Commissioning Response" }, { 0, NULL } }; /* Many-To-One Route Discovery Modes. */ static const value_string zbee_nwk_cmd_route_many_modes[] = { { ZBEE_NWK_CMD_ROUTE_OPTION_MANY_NONE, "Not Many-to-One" }, { ZBEE_NWK_CMD_ROUTE_OPTION_MANY_REC, "With Source Routing" }, { ZBEE_NWK_CMD_ROUTE_OPTION_MANY_NOREC, "Without Source Routing" }, { 0, NULL } }; /* Rejoin Status Codes */ static const value_string zbee_nwk_rejoin_codes[] = { { IEEE802154_CMD_ASRSP_AS_SUCCESS, "Success" }, { IEEE802154_CMD_ASRSP_PAN_FULL, "PAN Full" }, { IEEE802154_CMD_ASRSP_PAN_DENIED, "PAN Access Denied" }, { 0, NULL } }; /* Network Report Types */ static const value_string zbee_nwk_report_types[] = { { ZBEE_NWK_CMD_NWK_REPORT_ID_PAN_CONFLICT, "PAN Identifier Conflict" }, { ZBEE_NWK_CMD_NWK_REPORT_ID_ZBOSS_KEY_TRACE, "ZBOSS key trace" }, { 0, NULL } }; /* Network Update Types */ static const value_string zbee_nwk_update_types[] = { { ZBEE_NWK_CMD_NWK_UPDATE_ID_PAN_UPDATE, "PAN Identifier Update" }, { 0, NULL } }; /* Network Status Codes */ static const value_string zbee_nwk_status_codes[] = { { ZBEE_NWK_STATUS_NO_ROUTE_AVAIL, "No Route Available" }, { ZBEE_NWK_STATUS_TREE_LINK_FAIL, "Tree Link Failure" }, { ZBEE_NWK_STATUS_NON_TREE_LINK_FAIL, "Non-tree Link Failure" }, { ZBEE_NWK_STATUS_LOW_BATTERY, "Low Battery" }, { ZBEE_NWK_STATUS_NO_ROUTING, "No Routing Capacity" }, { ZBEE_NWK_STATUS_NO_INDIRECT, "No Indirect Capacity" }, { ZBEE_NWK_STATUS_INDIRECT_EXPIRE, "Indirect Transaction Expiry" }, { ZBEE_NWK_STATUS_DEVICE_UNAVAIL, "Target Device Unavailable" }, { ZBEE_NWK_STATUS_ADDR_UNAVAIL, "Target Address Unallocated" }, { ZBEE_NWK_STATUS_PARENT_LINK_FAIL, "Parent Link Failure" }, { ZBEE_NWK_STATUS_VALIDATE_ROUTE, "Validate Route" }, { ZBEE_NWK_STATUS_SOURCE_ROUTE_FAIL, "Source Route Failure" }, { ZBEE_NWK_STATUS_MANY_TO_ONE_FAIL, "Many-to-One Route Failure" }, { ZBEE_NWK_STATUS_ADDRESS_CONFLICT, "Address Conflict" }, { ZBEE_NWK_STATUS_VERIFY_ADDRESS, "Verify Address" }, { ZBEE_NWK_STATUS_PANID_UPDATE, "PAN ID Update" }, { ZBEE_NWK_STATUS_ADDRESS_UPDATE, "Network Address Update" }, { ZBEE_NWK_STATUS_BAD_FRAME_COUNTER, "Bad Frame Counter" }, { ZBEE_NWK_STATUS_BAD_KEY_SEQNO, "Bad Key Sequence Number" }, { 0, NULL } }; /* Stack Profile Values. */ static const value_string zbee_nwk_stack_profiles[] = { { 0x00, "Network Specific" }, { 0x01, "ZigBee Home" }, { 0x02, "ZigBee PRO" }, { 0, NULL } }; /* ED Requested Timeout Enumerated Values */ static const value_string zbee_nwk_end_device_timeout_request[] = { { 0, "10 sec" }, { 1, "2 min" }, { 2, "4 min" }, { 3, "8 min" }, { 4, "16 min" }, { 5, "32 min" }, { 6, "64 min" }, { 7, "128 min" }, { 8, "256 min" }, { 9, "512 min" }, { 10, "1024 min" }, { 11, "2048 min" }, { 12, "4096 min" }, { 13, "8192 min" }, { 14, "16384 min" }, { 0, NULL } }; /* End Device Timeout Response Status Codes */ static const value_string zbee_nwk_end_device_timeout_resp_status[] = { { 0, "Success" }, { 1, "Incorrect value" }, { 0, NULL } }; /* Names of IEEE 802.15.4 IEs (Information Elements) for ZigBee */ static const value_string ieee802154_zigbee_ie_names[] = { { ZBEE_ZIGBEE_IE_REJOIN, "Rejoin" }, { ZBEE_ZIGBEE_IE_TX_POWER, "Tx Power" }, { ZBEE_ZIGBEE_IE_BEACON_PAYLOAD, "Extended Beacon Payload" }, { 0, NULL } }; /* Stack Profile Values. */ static const value_string zbee_nwk_link_power_delta_types[] = { { 0x00, "Notification" }, { 0x01, "Request" }, { 0x02, "Response" }, { 0x03, "Reserved" }, { 0, NULL } }; static const value_string zbee_nwk_commissioning_types[] = { { 0x00, "Initial Join with Key Negotiation" }, { 0x01, "Rejoin with Key Negotiation" }, { 0, NULL } }; /* TODO: much of the following copied from ieee80154 dissector */ /*------------------------------------- * Hash Tables and Lists *------------------------------------- */ ieee802154_map_tab_t zbee_nwk_map = { NULL, NULL }; GHashTable *zbee_table_nwk_keyring = NULL; GHashTable *zbee_table_link_keyring = NULL; static int zbee_nwk_address_to_str(const address* addr, gchar *buf, int buf_len) { guint16 zbee_nwk_addr = pletoh16(addr->data); if ((zbee_nwk_addr == ZBEE_BCAST_ALL) || (zbee_nwk_addr == ZBEE_BCAST_ACTIVE) || (zbee_nwk_addr == ZBEE_BCAST_ROUTERS)) { return (int)g_strlcpy(buf, "Broadcast", buf_len) + 1; } else { return snprintf(buf, buf_len, "0x%04x", zbee_nwk_addr) + 1; } } static int zbee_nwk_address_str_len(const address* addr _U_) { return sizeof("Broadcast"); } static int zbee_nwk_address_len(void) { return sizeof(guint16); } /** *Extracts an integer sub-field from an int with a given mask * */ guint zbee_get_bit_field(guint input, guint mask) { /* Sanity Check, don't want infinite loops. */ if (mask == 0) return 0; /* Shift input and mask together. */ while (!(mask & 0x1)) { input >>= 1; mask >>=1; } /* while */ return (input & mask); } /* zbee_get_bit_field */ /** *Heuristic interpreter for the ZigBee network dissectors. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@return Boolean value, whether it handles the packet or not. */ static gboolean dissect_zbee_nwk_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { ieee802154_packet *packet = (ieee802154_packet *)data; guint16 fcf; guint ver; guint type; /* All ZigBee frames must always have a 16-bit source and destination address. */ if (packet == NULL) return FALSE; /* If the frame type and version are not sane, then it's probably not ZigBee. */ fcf = tvb_get_letohs(tvb, 0); ver = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_VERSION); type = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_FRAME_TYPE); if ((ver < ZBEE_VERSION_2004) || (ver > ZBEE_VERSION_2007)) return FALSE; if (!try_val_to_str(type, zbee_nwk_frame_types)) return FALSE; /* All interpan frames should originate from an extended address. */ if (type == ZBEE_NWK_FCF_INTERPAN) { if (packet->src_addr_mode != IEEE802154_FCF_ADDR_EXT) return FALSE; } /* All other ZigBee frames must have 16-bit source and destination addresses. */ else { if (packet->src_addr_mode != IEEE802154_FCF_ADDR_SHORT) return FALSE; if (packet->dst_addr_mode != IEEE802154_FCF_ADDR_SHORT) return FALSE; } /* Assume it's ZigBee */ dissect_zbee_nwk(tvb, pinfo, tree, packet); return TRUE; } /* dissect_zbee_heur */ /** *ZigBee NWK packet dissection routine for 2006, 2007 and Pro stack versions. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param data raw packet private data. */ static int dissect_zbee_nwk_full(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { tvbuff_t *payload_tvb = NULL; proto_item *proto_root; proto_item *ti = NULL; proto_tree *nwk_tree; zbee_nwk_packet packet; ieee802154_packet *ieee_packet; guint offset = 0; gchar *src_addr, *dst_addr; guint16 fcf; ieee802154_short_addr addr16; ieee802154_map_rec *map_rec; ieee802154_hints_t *ieee_hints; zbee_nwk_hints_t *nwk_hints; gboolean unicast_src; static int * const fcf_flags_2007[] = { &hf_zbee_nwk_frame_type, &hf_zbee_nwk_proto_version, &hf_zbee_nwk_discover_route, &hf_zbee_nwk_multicast, &hf_zbee_nwk_security, &hf_zbee_nwk_source_route, &hf_zbee_nwk_ext_dst, &hf_zbee_nwk_ext_src, &hf_zbee_nwk_end_device_initiator, NULL }; static int * const fcf_flags[] = { &hf_zbee_nwk_frame_type, &hf_zbee_nwk_proto_version, &hf_zbee_nwk_discover_route, &hf_zbee_nwk_security, NULL }; /* Reject the packet if data is NULL */ if (data == NULL) return 0; ieee_packet = (ieee802154_packet *)data; memset(&packet, 0, sizeof(packet)); /* Set up hint structures */ if (!pinfo->fd->visited) { /* Allocate frame data with hints for upper layers */ nwk_hints = wmem_new0(wmem_file_scope(), zbee_nwk_hints_t); p_add_proto_data(wmem_file_scope(), pinfo, proto_zbee_nwk, 0, nwk_hints); } else { /* Retrieve existing structure */ nwk_hints = (zbee_nwk_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_zbee_nwk, 0); } ieee_hints = (ieee802154_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_get_id_by_filter_name(IEEE802154_PROTOABBREV_WPAN), 0); /* Add ourself to the protocol column, clear the info column, and create the protocol tree. */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZigBee"); col_clear(pinfo->cinfo, COL_INFO); proto_root = proto_tree_add_item(tree, proto_zbee_nwk, tvb, offset, -1, ENC_NA); nwk_tree = proto_item_add_subtree(proto_root, ett_zbee_nwk); /* Get and parse the FCF */ fcf = tvb_get_letohs(tvb, offset); packet.type = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_FRAME_TYPE); packet.version = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_VERSION); packet.discovery = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_DISCOVER_ROUTE); packet.security = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_SECURITY); packet.multicast = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_MULTICAST); packet.route = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_SOURCE_ROUTE); packet.ext_dst = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_EXT_DEST); packet.ext_src = zbee_get_bit_field(fcf, ZBEE_NWK_FCF_EXT_SOURCE); /* Display the FCF. */ if (packet.version >= ZBEE_VERSION_2007) { ti = proto_tree_add_bitmask(nwk_tree, tvb, offset, hf_zbee_nwk_fcf, ett_zbee_nwk_fcf, fcf_flags_2007, ENC_LITTLE_ENDIAN); } else { ti = proto_tree_add_bitmask(nwk_tree, tvb, offset, hf_zbee_nwk_fcf, ett_zbee_nwk_fcf, fcf_flags, ENC_LITTLE_ENDIAN); } proto_item_append_text(ti, " %s", val_to_str_const(packet.type, zbee_nwk_frame_types, "Unknown")); offset += 2; /* Add the frame type to the info column and protocol root. */ proto_item_append_text(proto_root, " %s", val_to_str_const(packet.type, zbee_nwk_frame_types, "Unknown Type")); col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(packet.type, zbee_nwk_frame_types, "Reserved Frame Type")); if (packet.type != ZBEE_NWK_FCF_INTERPAN) { /* Get the destination address. */ packet.dst = tvb_get_letohs(tvb, offset); set_address_tvb(&pinfo->net_dst, zbee_nwk_address_type, 2, tvb, offset); copy_address_shallow(&pinfo->dst, &pinfo->net_dst); dst_addr = address_to_str(pinfo->pool, &pinfo->dst); proto_tree_add_uint(nwk_tree, hf_zbee_nwk_dst, tvb, offset, 2, packet.dst); ti = proto_tree_add_uint(nwk_tree, hf_zbee_nwk_addr, tvb, offset, 2, packet.dst); proto_item_set_generated(ti); proto_item_set_hidden(ti); offset += 2; proto_item_append_text(proto_root, ", Dst: %s", dst_addr); col_append_fstr(pinfo->cinfo, COL_INFO, ", Dst: %s", dst_addr); /* Get the short nwk source address and pass it to upper layers */ packet.src = tvb_get_letohs(tvb, offset); set_address_tvb(&pinfo->net_src, zbee_nwk_address_type, 2, tvb, offset); copy_address_shallow(&pinfo->src, &pinfo->net_src); src_addr = address_to_str(pinfo->pool, &pinfo->src); if (nwk_hints) nwk_hints->src = packet.src; proto_tree_add_uint(nwk_tree, hf_zbee_nwk_src, tvb, offset, 2, packet.src); ti = proto_tree_add_uint(nwk_tree, hf_zbee_nwk_addr, tvb, offset, 2, packet.src); proto_item_set_generated(ti); proto_item_set_hidden(ti); offset += 2; if ( (packet.src == ZBEE_BCAST_ALL) || (packet.src == ZBEE_BCAST_ACTIVE) || (packet.src == ZBEE_BCAST_ROUTERS)){ /* Source Broadcast doesn't make much sense. */ unicast_src = FALSE; } else { unicast_src = TRUE; } proto_item_append_text(proto_root, ", Src: %s", src_addr); col_append_fstr(pinfo->cinfo, COL_INFO, ", Src: %s", src_addr); /* Get and display the radius. */ packet.radius = tvb_get_guint8(tvb, offset); proto_tree_add_uint(nwk_tree, hf_zbee_nwk_radius, tvb, offset, 1, packet.radius); offset += 1; /* Get and display the sequence number. */ packet.seqno = tvb_get_guint8(tvb, offset); proto_tree_add_uint(nwk_tree, hf_zbee_nwk_seqno, tvb, offset, 1, packet.seqno); offset += 1; /* Add the extended destination address (ZigBee 2006 and later). */ if ((packet.version >= ZBEE_VERSION_2007) && packet.ext_dst) { packet.dst64 = tvb_get_letoh64(tvb, offset); proto_tree_add_item(nwk_tree, hf_zbee_nwk_dst64, tvb, offset, 8, ENC_LITTLE_ENDIAN); ti = proto_tree_add_eui64(nwk_tree, hf_zbee_nwk_addr64, tvb, offset, 8, packet.dst64); proto_item_set_generated(ti); proto_item_set_hidden(ti); offset += 8; } /* Display the extended source address. (ZigBee 2006 and later). */ if (packet.version >= ZBEE_VERSION_2007) { addr16.pan = ieee_packet->src_pan; if (packet.ext_src) { packet.src64 = tvb_get_letoh64(tvb, offset); proto_tree_add_item(nwk_tree, hf_zbee_nwk_src64, tvb, offset, 8, ENC_LITTLE_ENDIAN); ti = proto_tree_add_eui64(nwk_tree, hf_zbee_nwk_addr64, tvb, offset, 8, packet.src64); proto_item_set_generated(ti); proto_item_set_hidden(ti); offset += 8; if (!pinfo->fd->visited && nwk_hints) { /* Provide hints to upper layers */ nwk_hints->src_pan = ieee_packet->src_pan; /* Update nwk extended address hash table */ if ( unicast_src ) { nwk_hints->map_rec = ieee802154_addr_update(&zbee_nwk_map, packet.src, addr16.pan, packet.src64, pinfo->current_proto, pinfo->num); } } } else { /* See if extended source info was previously sniffed */ if (!pinfo->fd->visited && nwk_hints) { nwk_hints->src_pan = ieee_packet->src_pan; addr16.addr = packet.src; map_rec = (ieee802154_map_rec *) g_hash_table_lookup(zbee_nwk_map.short_table, &addr16); if (map_rec) { /* found a nwk mapping record */ nwk_hints->map_rec = map_rec; } else { /* does ieee layer know? */ map_rec = (ieee802154_map_rec *) g_hash_table_lookup(ieee_packet->short_table, &addr16); if (map_rec) nwk_hints->map_rec = map_rec; } } /* (!pinfo->fd->visited) */ else { if (nwk_hints && nwk_hints->map_rec ) { /* Display inferred source address info */ ti = proto_tree_add_eui64(nwk_tree, hf_zbee_nwk_src64, tvb, offset, 0, nwk_hints->map_rec->addr64); proto_item_set_generated(ti); ti = proto_tree_add_eui64(nwk_tree, hf_zbee_nwk_addr64, tvb, offset, 0, nwk_hints->map_rec->addr64); proto_item_set_generated(ti); proto_item_set_hidden(ti); if ( nwk_hints->map_rec->start_fnum ) { ti = proto_tree_add_uint(nwk_tree, hf_zbee_nwk_src64_origin, tvb, 0, 0, nwk_hints->map_rec->start_fnum); } else { ti = proto_tree_add_uint_format_value(nwk_tree, hf_zbee_nwk_src64_origin, tvb, 0, 0, 0, "Pre-configured"); } proto_item_set_generated(ti); } } } /* If ieee layer didn't know its extended source address, and nwk layer does, fill it in */ if (!pinfo->fd->visited) { if ( (ieee_packet->src_addr_mode == IEEE802154_FCF_ADDR_SHORT) && ieee_hints && !ieee_hints->map_rec ) { addr16.pan = ieee_packet->src_pan; addr16.addr = ieee_packet->src16; map_rec = (ieee802154_map_rec *) g_hash_table_lookup(zbee_nwk_map.short_table, &addr16); if (map_rec) { /* found a ieee mapping record */ ieee_hints->map_rec = map_rec; } } } /* (!pinfo->fd->visited */ } /* (pinfo->zbee_stack_vers >= ZBEE_VERSION_2007) */ /* Add multicast control field (ZigBee 2006 and later). */ if ((packet.version >= ZBEE_VERSION_2007) && packet.multicast) { static int * const multicast_flags[] = { &hf_zbee_nwk_mcast_mode, &hf_zbee_nwk_mcast_radius, &hf_zbee_nwk_mcast_max_radius, NULL }; guint8 mcast_control = tvb_get_guint8(tvb, offset); packet.mcast_mode = zbee_get_bit_field(mcast_control, ZBEE_NWK_MCAST_MODE); packet.mcast_radius = zbee_get_bit_field(mcast_control, ZBEE_NWK_MCAST_RADIUS); packet.mcast_max_radius = zbee_get_bit_field(mcast_control, ZBEE_NWK_MCAST_MAX_RADIUS); proto_tree_add_bitmask(nwk_tree, tvb, offset, hf_zbee_nwk_mcast, ett_zbee_nwk_mcast, multicast_flags, ENC_NA); offset += 1; } /* Add the Source Route field. (ZigBee 2006 and later). */ if ((packet.version >= ZBEE_VERSION_2007) && packet.route) { proto_tree *field_tree; guint8 relay_count; guint16 relay_addr; guint i; /* Create a subtree for the source route field. */ field_tree = proto_tree_add_subtree(nwk_tree, tvb, offset, 1, ett_zbee_nwk_route, &ti, "Source Route"); /* Get and display the relay count. */ relay_count = tvb_get_guint8(tvb, offset); proto_tree_add_uint(field_tree, hf_zbee_nwk_relay_count, tvb, offset, 1, relay_count); proto_item_append_text(ti, ", Length: %d", relay_count); offset += 1; /* Correct the length of the source route fields. */ proto_item_set_len(ti, 1 + relay_count*2); /* Get and display the relay index. */ proto_tree_add_item(field_tree, hf_zbee_nwk_relay_index, tvb, offset, 1, ENC_NA); offset += 1; /* Get and display the relay list. */ for (i=0; i<relay_count; i++) { relay_addr = tvb_get_letohs(tvb, offset); proto_tree_add_uint_format(field_tree, hf_zbee_nwk_relay, tvb, offset, 2, relay_addr, "Relay %d: 0x%04x", i+1, relay_addr); offset += 2; } /* for */ } } /* if not interpan */ /* * Ensure that the payload exists. There are no valid ZigBee network * packets that have no payload. */ if (offset >= tvb_captured_length(tvb)) { /* Non-existent or truncated payload. */ expert_add_info(pinfo, proto_root, &ei_zbee_nwk_missing_payload); return tvb_captured_length(tvb); } /* Payload is encrypted, attempt security operations. */ else if (packet.security) { payload_tvb = dissect_zbee_secure(tvb, pinfo, nwk_tree, offset); if (payload_tvb == NULL) { /* If Payload_tvb is NULL, then the security dissector cleaned up. */ return tvb_captured_length(tvb); } } /* Plaintext payload. */ else { payload_tvb = tvb_new_subset_remaining(tvb, offset); } if (packet.type == ZBEE_NWK_FCF_CMD) { /* Dissect the Network Command. */ dissect_zbee_nwk_cmd(payload_tvb, pinfo, nwk_tree, &packet); } else if (packet.type == ZBEE_NWK_FCF_DATA || packet.type == ZBEE_NWK_FCF_INTERPAN) { /* Dissect the Network Payload (APS layer). */ call_dissector_with_data(aps_handle, payload_tvb, pinfo, tree, &packet); } else { /* Invalid type. */ call_data_dissector(payload_tvb, pinfo, tree); } tap_queue_packet(zbee_nwk_tap, pinfo, NULL); return tvb_captured_length(tvb); } /* dissect_zbee_nwk */ /** *ZigBee packet dissection with proto version determination. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree Wireshark uses to display packet. *@param data raw packet private data. */ static int dissect_zbee_nwk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { guint8 fcf0; guint8 proto_version; fcf0 = tvb_get_guint8(tvb, 0); proto_version = (fcf0 & ZBEE_NWK_FCF_VERSION) >> 2; if (proto_version == ZBEE_VERSION_GREEN_POWER) { call_dissector(zbee_gp_handle, tvb, pinfo, tree); } else { /* TODO: add check for FCF proto versions. */ dissect_zbee_nwk_full(tvb, pinfo, tree, data); } return tvb_captured_length(tvb); } /** *ZigBee Network command packet dissection routine for Wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static void dissect_zbee_nwk_cmd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet* packet) { proto_tree *cmd_tree; proto_item *cmd_root; guint offset=0; guint8 cmd_id = tvb_get_guint8(tvb, offset); /* Create a subtree for this command. */ cmd_tree = proto_tree_add_subtree_format(tree, tvb, offset, -1, ett_zbee_nwk_cmd, &cmd_root, "Command Frame: %s", val_to_str_const(cmd_id, zbee_nwk_cmd_names, "Unknown")); /* Add the command ID. */ proto_tree_add_uint(cmd_tree, hf_zbee_nwk_cmd_id, tvb, offset, 1, cmd_id); offset += 1; /* Add the command name to the info column. */ col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(cmd_id, zbee_nwk_cmd_names, "Unknown Command")); /* Handle the command. */ switch(cmd_id){ case ZBEE_NWK_CMD_ROUTE_REQ: /* Route Request Command. */ offset = dissect_zbee_nwk_route_req(tvb, pinfo, cmd_tree, packet, offset); break; case ZBEE_NWK_CMD_ROUTE_REPLY: /* Route Reply Command. */ offset = dissect_zbee_nwk_route_rep(tvb, pinfo, cmd_tree, offset, packet->version); break; case ZBEE_NWK_CMD_NWK_STATUS: /* Network Status Command. */ offset = dissect_zbee_nwk_status(tvb, pinfo, cmd_tree, offset); break; case ZBEE_NWK_CMD_LEAVE: /* Leave Command. */ offset = dissect_zbee_nwk_leave(tvb, cmd_tree, offset); break; case ZBEE_NWK_CMD_ROUTE_RECORD: /* Route Record Command. */ offset = dissect_zbee_nwk_route_rec(tvb, pinfo, cmd_tree, packet, offset); break; case ZBEE_NWK_CMD_REJOIN_REQ: /* Rejoin Request Command. */ offset = dissect_zbee_nwk_rejoin_req(tvb, pinfo, cmd_tree, packet, offset); break; case ZBEE_NWK_CMD_REJOIN_RESP: /* Rejoin Response Command. */ offset = dissect_zbee_nwk_rejoin_resp(tvb, pinfo, cmd_tree, packet, offset); break; case ZBEE_NWK_CMD_LINK_STATUS: /* Link Status Command. */ offset = dissect_zbee_nwk_link_status(tvb, cmd_tree, offset); break; case ZBEE_NWK_CMD_NWK_REPORT: /* Network Report Command. */ offset = dissect_zbee_nwk_report(tvb, pinfo, cmd_tree, offset); break; case ZBEE_NWK_CMD_NWK_UPDATE: /* Network Update Command. */ offset = dissect_zbee_nwk_update(tvb, pinfo, cmd_tree, offset); break; case ZBEE_NWK_CMD_ED_TIMEOUT_REQUEST: /* Network End Device Timeout Request Command. */ offset = dissect_zbee_nwk_ed_timeout_request(tvb, cmd_tree, offset); break; case ZBEE_NWK_CMD_ED_TIMEOUT_RESPONSE: /* Network End Device Timeout Response Command. */ offset = dissect_zbee_nwk_ed_timeout_response(tvb, pinfo, cmd_tree, offset); break; case ZBEE_NWK_CMD_LINK_PWR_DELTA: offset = dissect_zbee_nwk_link_pwr_delta(tvb, pinfo, cmd_tree, offset); break; case ZBEE_NWK_CMD_COMMISSIONING_REQUEST: /* Network Commissioning Request Command. */ offset = dissect_zbee_nwk_commissioning_request(tvb, pinfo, cmd_tree, packet, offset); break; case ZBEE_NWK_CMD_COMMISSIONING_RESPONSE: /* Network Commissioning Response Command. */ offset = dissect_zbee_nwk_commissioning_response(tvb, pinfo, cmd_tree, packet, offset); break; default: /* Just break out and let the overflow handler deal with the payload. */ break; } /* switch */ /* Dissect any TLVs */ offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_NWK, cmd_id); /* There is excess data in the packet. */ if (offset < tvb_captured_length(tvb)) { /* There are leftover bytes! */ tvbuff_t *leftover_tvb = tvb_new_subset_remaining(tvb, offset); proto_tree *root; /* Correct the length of the command tree. */ root = proto_tree_get_root(tree); proto_item_set_len(cmd_root, offset); /* Dump the leftover to the data dissector. */ call_data_dissector(leftover_tvb, pinfo, root); } } /* dissect_zbee_nwk_cmd */ /** *Helper dissector for the Route Request command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param packet pointer to the network packet struct. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_route_req(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset) { guint8 route_options; guint16 dest_addr; static int * const nwk_route_command_options_2007[] = { &hf_zbee_nwk_cmd_route_opt_multicast, &hf_zbee_nwk_cmd_route_opt_dest_ext, &hf_zbee_nwk_cmd_route_opt_many_to_one, NULL }; static int * const nwk_route_command_options[] = { &hf_zbee_nwk_cmd_route_opt_repair, NULL }; /* Get and display the route options field. */ route_options = tvb_get_guint8(tvb, offset); if (packet->version >= ZBEE_VERSION_2007) { proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_cmd_route_options, ett_zbee_nwk_cmd_options, nwk_route_command_options_2007, ENC_NA); } else { proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_cmd_route_options, ett_zbee_nwk_cmd_options, nwk_route_command_options, ENC_NA); } offset += 1; /* Get and display the route request ID. */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_route_id, tvb, offset, 1, ENC_NA); offset += 1; /* Get and display the destination address. */ dest_addr = tvb_get_letohs(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_route_dest, tvb, offset, 2, dest_addr); offset += 2; /* Get and display the path cost. */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_route_cost, tvb, offset, 1, ENC_NA); offset += 1; /* Get and display the extended destination address. */ if (route_options & ZBEE_NWK_CMD_ROUTE_OPTION_DEST_EXT) { proto_tree_add_item(tree, hf_zbee_nwk_cmd_route_dest_ext, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } /* Update the info column. */ if (route_options & ZBEE_NWK_CMD_ROUTE_OPTION_MANY_MASK) { col_clear(pinfo->cinfo, COL_INFO); col_append_fstr(pinfo->cinfo, COL_INFO, "Many-to-One Route Request"); } col_append_fstr(pinfo->cinfo, COL_INFO, ", Dst: 0x%04x, Src: 0x%04x", dest_addr, packet->src); /* Done */ return offset; } /* dissect_zbee_nwk_route_req */ /** *Helper dissector for the Route Reply command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_route_rep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint8 version) { guint8 route_options; guint16 orig_addr; guint16 resp_addr; static int * const nwk_route_command_options_2007[] = { &hf_zbee_nwk_cmd_route_opt_multicast, &hf_zbee_nwk_cmd_route_opt_resp_ext, &hf_zbee_nwk_cmd_route_opt_orig_ext, NULL }; static int * const nwk_route_command_options[] = { &hf_zbee_nwk_cmd_route_opt_repair, NULL }; /* Get and display the route options field. */ route_options = tvb_get_guint8(tvb, offset); if (version >= ZBEE_VERSION_2007) { proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_cmd_route_options, ett_zbee_nwk_cmd_options, nwk_route_command_options_2007, ENC_NA); } else { proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_cmd_route_options, ett_zbee_nwk_cmd_options, nwk_route_command_options, ENC_NA); } offset += 1; /* Get and display the route request ID. */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_route_id, tvb, offset, 1, ENC_NA); offset += 1; /* Get and display the originator address. */ orig_addr = tvb_get_letohs(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_route_orig, tvb, offset, 2, orig_addr); offset += 2; /* Get and display the responder address. */ resp_addr = tvb_get_letohs(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_route_resp, tvb, offset, 2, resp_addr); offset += 2; /* Get and display the path cost. */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_route_cost, tvb, offset, 1, ENC_NA); offset += 1; /* Get and display the originator extended address. */ if (route_options & ZBEE_NWK_CMD_ROUTE_OPTION_ORIG_EXT) { proto_tree_add_item(tree, hf_zbee_nwk_cmd_route_orig_ext, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } /* Get and display the responder extended address. */ if (route_options & ZBEE_NWK_CMD_ROUTE_OPTION_RESP_EXT) { proto_tree_add_item(tree, hf_zbee_nwk_cmd_route_resp_ext, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } /* Update the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, ", Responder: 0x%04x, Originator: 0x%04x", resp_addr, orig_addr); /* Done */ return offset; } /* dissect_zbee_nwk_route_rep */ /** *Helper dissector for the Network Status command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { guint8 status_code; guint8 command_id; guint16 addr; /* Get and display the status code. */ status_code = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_nwk_status, tvb, offset, 1, status_code); offset += 1; /* Get and display the destination address. */ addr = tvb_get_letohs(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_route_dest, tvb, offset, 2, addr); offset += 2; /* Update the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, ", 0x%04x: %s", addr, val_to_str_const(status_code, zbee_nwk_status_codes, "Unknown Status Code")); if (status_code == ZBEE_NWK_STATUS_UNKNOWN_COMMAND) { command_id = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_nwk_status_command_id, tvb, offset, 1, command_id); col_append_fstr(pinfo->cinfo, COL_INFO, ", Unknown Command ID 0x%02x (%s)", command_id, val_to_str_const(command_id, zbee_nwk_cmd_names, "Unknown ID")); offset++; } /* Done */ return offset; } /* dissect_zbee_nwk_status */ /** *Helper dissector for the Leave command. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_leave(tvbuff_t *tvb, proto_tree *tree, guint offset) { static int * const leave_options[] = { &hf_zbee_nwk_cmd_leave_rejoin, &hf_zbee_nwk_cmd_leave_request, &hf_zbee_nwk_cmd_leave_children, NULL }; /* Get and display the leave options. */ proto_tree_add_bitmask_list(tree, tvb, offset, 1, leave_options, ENC_NA); offset += 1; /* Done */ return offset; } /* dissect_zbee_nwk_leave */ /** *Helper dissector for the Route Record command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param packet pointer to the network packet struct. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_route_rec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset) { guint8 relay_count; guint16 relay_addr; guint i; /* Get and display the relay count. */ relay_count = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_relay_count, tvb, offset, 1, relay_count); offset += 1; /* Get and display the relay addresses. */ for (i=0; i<relay_count; i++) { relay_addr = tvb_get_letohs(tvb, offset); proto_tree_add_uint_format(tree, hf_zbee_nwk_cmd_relay_device, tvb, offset, 2, relay_addr, "Relay Device %d: 0x%04x", i+1, relay_addr); offset += 2; } /* for */ /* Update the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, ", Dst: 0x%04x", packet->dst); /* Done */ return offset; } /* dissect_zbee_nwk_route_rec */ /** *Helper dissector for the Rejoin Request command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param packet pointer to the network packet struct. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_rejoin_req(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset) { static int * const capabilities[] = { &hf_zbee_nwk_cmd_cinfo_alt_coord, &hf_zbee_nwk_cmd_cinfo_type, &hf_zbee_nwk_cmd_cinfo_power, &hf_zbee_nwk_cmd_cinfo_idle_rx, &hf_zbee_nwk_cmd_cinfo_security, &hf_zbee_nwk_cmd_cinfo_alloc, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_cmd_cinfo, ett_zbee_nwk_cmd_cinfo, capabilities, ENC_NA); offset += 1; /* Update the info column.*/ col_append_fstr(pinfo->cinfo, COL_INFO, ", Device: 0x%04x", packet->src); /* Done */ return offset; } /* dissect_zbee_nwk_rejoin_req */ /** *Helper dissector for the Rejoin Response command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param packet pointer to the network packet struct. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_rejoin_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet _U_, guint offset) { guint8 status; guint16 new_address; /* Get and display the short address. */ new_address = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(tree, hf_zbee_nwk_cmd_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Get and display the rejoin status. */ status = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_rejoin_status, tvb, offset, 1, status); offset += 1; /* Update the info column. */ if (status == IEEE802154_CMD_ASRSP_AS_SUCCESS) { col_append_fstr(pinfo->cinfo, COL_INFO, ", New Address: 0x%04x", new_address); } else { col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str_const(status, zbee_nwk_rejoin_codes, "Unknown Rejoin Response")); } /* Done */ return offset; } /* dissect_zbee_nwk_rejoin_resp */ /** *Helper dissector for the Link Status command. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_link_status(tvbuff_t *tvb, proto_tree *tree, guint offset) { guint8 options; int i, link_count; proto_tree *subtree; static int * const link_options[] = { &hf_zbee_nwk_cmd_link_last, &hf_zbee_nwk_cmd_link_first, &hf_zbee_nwk_cmd_link_count, NULL }; /* Get and Display the link status options. */ options = tvb_get_guint8(tvb, offset); link_count = options & ZBEE_NWK_CMD_LINK_OPTION_COUNT_MASK; proto_tree_add_bitmask_list(tree, tvb, offset, 1, link_options, ENC_NA); offset += 1; /* Get and Display the link status list. */ for (i=0; i<link_count; i++) { /* Get the address and link status. */ subtree = proto_tree_add_subtree_format(tree, tvb, offset, 3, ett_zbee_nwk_cmd_link, NULL, "Link %d", i+1); proto_tree_add_item(subtree, hf_zbee_nwk_cmd_link_address, tvb, offset, 2, ENC_LITTLE_ENDIAN); proto_tree_add_item(subtree, hf_zbee_nwk_cmd_link_incoming_cost, tvb, offset+2, 1, ENC_NA); proto_tree_add_item(subtree, hf_zbee_nwk_cmd_link_outgoing_cost, tvb, offset+2, 1, ENC_NA); offset += (2+1); } /* for */ /* TODO: Update the info column. */ return offset; } /* dissect_zbee_nwk_link_status */ /** *Helper dissector for the End Device Timeout Request command. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_ed_timeout_request(tvbuff_t *tvb, proto_tree *tree, guint offset) { /* See 3.4.11 End Device Timeout Request Command */ /* 3.4.11.3.1 Requested Timeout Field */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_end_device_timeout_request_enum, tvb, offset, 1, ENC_NA); offset++; /* 3.4.11.3.2 End Device Configuration Field */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_end_device_configuration, tvb, offset, 1, ENC_NA); offset++; return offset; } /* dissect_zbee_nwk_ed_timeout_request */ /** *Helper dissector for the End Device Timeout Response command. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_ed_timeout_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { static int * const end_device_parent_info[] = { &hf_zbee_nwk_cmd_prnt_info_mac_data_poll_keepalive_supported, &hf_zbee_nwk_cmd_prnt_info_ed_to_req_keepalive_supported, &hf_zbee_nwk_cmd_prnt_info_power_negotiation_supported, NULL }; guint status = tvb_get_guint8(tvb, offset); /* 3.4.12 End Device Timeout Response Command */ /* status */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_end_device_timeout_resp_status, tvb, offset, 1, ENC_NA); offset++; /* Parent Information bitmask */ proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_cmd_end_device_timeout_resp_parent_info, ett_zbee_nwk_cmd_ed_to_rsp_prnt_info, end_device_parent_info, ENC_NA); offset++; proto_item_append_text(tree, ", %s", val_to_str_const(status, zbee_nwk_end_device_timeout_resp_status, "Unknown Status")); col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str_const(status, zbee_nwk_end_device_timeout_resp_status, "Unknown Status")); return offset; } /* dissect_zbee_nwk_ed_timeout_response */ /** *Helper dissector for the Link Power Delta command. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_link_pwr_delta(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { int i; int count; gint delta; guint8 type; guint16 addr; proto_tree *subtree; type = tvb_get_guint8(tvb, offset) & ZBEE_NWK_CMD_NWK_LINK_PWR_DELTA_TYPE_MASK; proto_tree_add_item(tree, hf_zbee_nwk_cmd_link_pwr_type, tvb, offset, 1, ENC_NA); offset++; count = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_nwk_cmd_link_pwr_list_count, tvb, offset, 1, ENC_NA); offset++; proto_item_append_text(tree, ": %s, Count %d", val_to_str_const(type, zbee_nwk_link_power_delta_types, "Unknown"), count); for (i=0; i<count; i++) { subtree = proto_tree_add_subtree(tree, tvb, count, 3, ett_zbee_nwk_cmd_link_pwr_struct, NULL, "Power Delta Structure"); addr = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(subtree, hf_zbee_nwk_cmd_link_pwr_device_address, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; delta = (char)tvb_get_guint8(tvb, offset); proto_tree_add_item(subtree, hf_zbee_nwk_cmd_link_pwr_power_delta, tvb, offset, 1, ENC_NA); offset++; proto_item_append_text(subtree, ": Device Address 0x%04X, Power Delta %d dBm", addr, delta); } return offset; } /** *Helper dissector for the Network Commissioning Request command. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_commissioning_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet, guint offset) { /* See 3.4.14 Network Commissioning Request Command */ static int * const capabilities[] = { &hf_zbee_nwk_cmd_cinfo_alt_coord, &hf_zbee_nwk_cmd_cinfo_type, &hf_zbee_nwk_cmd_cinfo_power, &hf_zbee_nwk_cmd_cinfo_idle_rx, &hf_zbee_nwk_cmd_cinfo_security, &hf_zbee_nwk_cmd_cinfo_alloc, NULL }; /* 3.4.14.3 Association Type */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_association_type, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_nwk_cmd_cinfo, ett_zbee_nwk_cmd_cinfo, capabilities, ENC_NA); offset += 1; /* Update the info column.*/ col_append_fstr(pinfo->cinfo, COL_INFO, ", Device: 0x%04x", packet->src); return offset; } /* dissect_zbee_nwk_commissioning_request */ /** *Helper dissector for the Commissioning Response command. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_commissioning_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, zbee_nwk_packet * packet _U_, guint offset) { guint8 status; guint16 new_address; /* Get and display the short address. */ new_address = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(tree, hf_zbee_nwk_cmd_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Get and display the rejoin status. */ status = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_rejoin_status, tvb, offset, 1, status); offset += 1; /* Update the info column. */ if (status == IEEE802154_CMD_ASRSP_AS_SUCCESS) { col_append_fstr(pinfo->cinfo, COL_INFO, ", New Address: 0x%04x", new_address); } else { col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str_const(status, zbee_nwk_rejoin_codes, "Unknown Commissioning Response")); } return offset; } /* dissect_zbee_nwk_commissioning_response */ /** *Helper dissector for the Network Report command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_report(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { guint8 options; guint8 report_type; int report_count; int i; /* Get and display the command options field. */ options = tvb_get_guint8(tvb, offset); report_count = options & ZBEE_NWK_CMD_NWK_REPORT_COUNT_MASK; report_type = options & ZBEE_NWK_CMD_NWK_REPORT_ID_MASK; proto_tree_add_uint(tree, hf_zbee_nwk_cmd_report_type, tvb, offset, 1, report_type); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_report_count, tvb, offset, 1, report_count); offset += 1; report_type >>= ws_ctz(ZBEE_NWK_CMD_NWK_REPORT_ID_MASK); /* Get and display the epid. */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_epid, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; if (report_type == ZBEE_NWK_CMD_NWK_REPORT_ID_PAN_CONFLICT) { /* Report information contains a list of PANS with range of the sender. */ for (i=0; i<report_count; i++) { proto_tree_add_item(tree, hf_zbee_nwk_panid, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } /* for */ } if (report_type == ZBEE_NWK_CMD_NWK_REPORT_ID_ZBOSS_KEY_TRACE) { guint8 key[ZBEE_APS_CMD_KEY_LENGTH]; for (i=0; i<ZBEE_APS_CMD_KEY_LENGTH ; i++) { key[i] = tvb_get_guint8(tvb, offset+i); } /* for */ proto_tree_add_item(tree, hf_zbee_zboss_nwk_cmd_key, tvb, offset, ZBEE_APS_CMD_KEY_LENGTH, ENC_NA); offset += ZBEE_APS_CMD_KEY_LENGTH; zbee_sec_add_key_to_keyring(pinfo, key); } /* Update the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str_const(report_type, zbee_nwk_report_types, "Unknown Report Type")); /* Done */ return offset; } /* dissect_zbee_nwk_report */ /** *Helper dissector for the Network Update command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_nwk_update(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { guint8 options; guint8 update_type; guint8 update_id; int update_count; int i; /* Get and display the command options field. */ options = tvb_get_guint8(tvb, offset); update_count = options & ZBEE_NWK_CMD_NWK_UPDATE_COUNT_MASK; update_type = options & ZBEE_NWK_CMD_NWK_UPDATE_ID_MASK; proto_tree_add_uint(tree, hf_zbee_nwk_cmd_update_type, tvb, offset, 1, update_type); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_update_count, tvb, offset, 1, update_count); offset += 1; /* Get and display the epid. */ proto_tree_add_item(tree, hf_zbee_nwk_cmd_epid, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; /* Get and display the updateID. */ update_id = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_nwk_cmd_update_id, tvb, offset, 1, update_id); offset += 1; if (update_type == ZBEE_NWK_CMD_NWK_UPDATE_ID_PAN_UPDATE) { /* Report information contains a list of PANS with range of the sender. */ for (i=0; i<update_count; i++) { proto_tree_add_item(tree, hf_zbee_nwk_panid, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } /* for */ } /* Update the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str_const(update_type, zbee_nwk_update_types, "Unknown Update Type")); /* Done */ return offset; } /* dissect_zbee_nwk_update */ /** *Heuristic interpreter for the ZigBee PRO beacon dissectors. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@return Boolean value, whether it handles the packet or not. */ static gboolean dissect_zbee_beacon_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { ieee802154_packet *packet = (ieee802154_packet *)data; /* All ZigBee frames must always have a 16-bit source address. */ if (!packet) return FALSE; if (packet->src_addr_mode != IEEE802154_FCF_ADDR_SHORT) return FALSE; if (tvb_captured_length(tvb) == 0) return FALSE; /* ZigBee beacons begin with a protocol identifier. */ if (tvb_get_guint8(tvb, 0) != ZBEE_NWK_BEACON_PROTOCOL_ID) return FALSE; dissect_zbee_beacon(tvb, pinfo, tree, packet); return TRUE; } /* dissect_zbee_beacon_heur */ /** *Dissector for Legacy ZigBee Beacon Payloads (prior to the Enhanced Beacon) * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_beacon(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { proto_item *beacon_root; proto_tree *beacon_tree; guint offset = 0; guint8 version; guint32 profile; static int * const beacon_fields[] = { &hf_zbee_beacon_stack_profile, &hf_zbee_beacon_version, &hf_zbee_beacon_router_capacity, &hf_zbee_beacon_depth, &hf_zbee_beacon_end_device_capacity, NULL }; /* Add ourself to the protocol column. */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZigBee"); /* Create the tree for this beacon. */ beacon_root = proto_tree_add_item(tree, proto_zbee_beacon, tvb, 0, -1, ENC_NA); beacon_tree = proto_item_add_subtree(beacon_root, ett_zbee_nwk_beacon); /* Get and display the protocol id, must be 0 on all ZigBee beacons. */ proto_tree_add_item(beacon_tree, hf_zbee_beacon_protocol, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask_text(beacon_tree, tvb, offset, 2, "Beacon: ", NULL , ett_zbee_nwk_beacon_bitfield, beacon_fields, ENC_LITTLE_ENDIAN, BMT_NO_INT|BMT_NO_TFS); /* Get and display the stack profile and protocol version. */ version = (guint8)((tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN) & ZBEE_NWK_BEACON_PROTOCOL_VERSION) >> 4); profile = (guint32)(tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN) & ZBEE_NWK_BEACON_STACK_PROFILE); proto_item_append_text(beacon_root, ", %s", val_to_str_const(profile, zbee_nwk_stack_profiles, "Unknown Profile")); offset += 2; if (version >= ZBEE_VERSION_2007) { /* In ZigBee 2006 and later, the beacon contains an extended PAN ID. */ proto_tree_add_item(beacon_tree, hf_zbee_beacon_epid, tvb, offset, 8, ENC_LITTLE_ENDIAN); col_append_fstr(pinfo->cinfo, COL_INFO, ", EPID: %s", eui64_to_display(pinfo->pool, tvb_get_guint64(tvb, offset, ENC_LITTLE_ENDIAN))); proto_item_append_text(beacon_root, ", EPID: %s", eui64_to_display(pinfo->pool, tvb_get_guint64(tvb, offset, ENC_LITTLE_ENDIAN))); offset += 8; /* * In ZigBee 2006 the Tx-Offset is optional, while in the 2007 and * later versions, the Tx-Offset is a required value. Since both 2006 and * and 2007 versions have the same protocol version (2), we should treat * the Tx-Offset as well as the update ID as optional elements */ if (tvb_bytes_exist(tvb, offset, 3)) { proto_tree_add_item(beacon_tree, hf_zbee_beacon_tx_offset, tvb, offset, 3, ENC_LITTLE_ENDIAN); offset += 3; /* Get and display the update ID. */ if(tvb_captured_length_remaining(tvb, offset)) { proto_tree_add_item(beacon_tree, hf_zbee_beacon_update_id, tvb, offset, 1, ENC_NA); offset += 1; } } } else if (tvb_bytes_exist(tvb, offset, 3)) { /* In ZigBee 2004, the Tx-Offset is an optional value. */ proto_tree_add_item(beacon_tree, hf_zbee_beacon_tx_offset, tvb, offset, 3, ENC_LITTLE_ENDIAN); offset += 3; } offset = dissect_zbee_tlvs(tvb, pinfo, beacon_tree, offset, data, ZBEE_TLV_SRC_TYPE_DEFAULT, 0); return offset; } /* dissect_zbee_beacon */ /** *Heuristic interpreter for the ZigBee IP beacon dissectors. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@return Boolean value, whether it handles the packet or not. */ static gboolean dissect_zbip_beacon_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { ieee802154_packet *packet = (ieee802154_packet *)data; /* All ZigBee frames must always have a 16-bit source address. */ if (!packet) return FALSE; if (packet->src_addr_mode != IEEE802154_FCF_ADDR_SHORT) return FALSE; if (tvb_captured_length(tvb) == 0) return FALSE; /* ZigBee beacons begin with a protocol identifier. */ if (tvb_get_guint8(tvb, 0) != ZBEE_IP_BEACON_PROTOCOL_ID) return FALSE; dissect_zbip_beacon(tvb, pinfo, tree, packet); return TRUE; } /* dissect_zbip_beacon_heur */ /** *Dissector for ZigBee IP beacons. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbip_beacon(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { ieee802154_packet *packet = (ieee802154_packet *)data; proto_item *beacon_root; proto_tree *beacon_tree; guint offset = 0; guint8 proto_id; char *ssid; /* Reject the packet if data is NULL */ if (!packet) return 0; /* Add ourself to the protocol column. */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZigBee IP"); /* Create the tree for this beacon. */ beacon_root = proto_tree_add_item(tree, proto_zbip_beacon, tvb, 0, -1, ENC_NA); beacon_tree = proto_item_add_subtree(beacon_root, ett_zbee_nwk_beacon); /* Update the info column. */ col_clear(pinfo->cinfo, COL_INFO); col_append_fstr(pinfo->cinfo, COL_INFO, "Beacon, Src: 0x%04x", packet->src16); /* Get and display the protocol id, must be 0x02 on all ZigBee beacons. */ proto_id = tvb_get_guint8(tvb, offset); proto_tree_add_uint(beacon_tree, hf_zbee_beacon_protocol, tvb, offset, 1, proto_id); offset += 1; /* Get and display the beacon flags */ proto_tree_add_item(beacon_tree, hf_zbip_beacon_allow_join, tvb, offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(beacon_tree, hf_zbip_beacon_router_capacity, tvb, offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(beacon_tree, hf_zbip_beacon_host_capacity, tvb, offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(beacon_tree, hf_zbip_beacon_unsecure, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Get and display the network ID. */ proto_tree_add_item(beacon_tree, hf_zbip_beacon_network_id, tvb, offset, 16, ENC_ASCII); ssid = tvb_get_string_enc(pinfo->pool, tvb, offset, 16, ENC_ASCII|ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", SSID: %s", ssid); offset += 16; offset = dissect_zbee_tlvs(tvb, pinfo, beacon_tree, offset, data, ZBEE_TLV_SRC_TYPE_DEFAULT, 0); /* Check for leftover bytes. */ if (offset < tvb_captured_length(tvb)) { /* Bytes leftover! */ tvbuff_t *leftover_tvb = tvb_new_subset_remaining(tvb, offset); proto_tree *root; /* Correct the length of the beacon tree. */ root = proto_tree_get_root(tree); proto_item_set_len(beacon_root, offset); /* Dump the leftover to the data dissector. */ call_data_dissector(leftover_tvb, pinfo, root); } return tvb_captured_length(tvb); } /* dissect_zbip_beacon */ /** *Subdissector command for ZigBee Specific IEs (Information Elements) * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields (unused). *@param tree pointer to command subtree. *@param data pointer to the length of the payload IE. */ static int dissect_zbee_ie(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { proto_tree *subtree; tvbuff_t *ie_tvb; guint16 zigbee_ie; guint16 id; guint16 length; guint pie_length; guint offset = 0; static int * const fields[] = { &hf_ieee802154_zigbee_ie_id, &hf_ieee802154_zigbee_ie_length, NULL }; pie_length = *(gint *)data; do { zigbee_ie = tvb_get_letohs(tvb, offset); id = (zigbee_ie & ZBEE_ZIGBEE_IE_ID_MASK) >> 6; length = zigbee_ie & ZBEE_ZIGBEE_IE_LENGTH_MASK; /* Create a subtree for this command frame. */ subtree = proto_tree_add_subtree(tree, tvb, offset, 2+length, ett_zbee_nwk_header, NULL, "ZigBee IE"); proto_item_append_text(subtree, ", %s, Length: %d", val_to_str_const(id, ieee802154_zigbee_ie_names, "Unknown"), length); proto_tree_add_bitmask(subtree, tvb, offset, hf_ieee802154_zigbee_ie, ett_zbee_nwk_zigbee_ie_fields, fields, ENC_LITTLE_ENDIAN); offset += 2; switch (id) { case ZBEE_ZIGBEE_IE_REJOIN: dissect_ieee802154_zigbee_rejoin(tvb, pinfo, subtree, &offset); break; case ZBEE_ZIGBEE_IE_TX_POWER: dissect_ieee802154_zigbee_txpower(tvb, pinfo, subtree, &offset); break; case ZBEE_ZIGBEE_IE_BEACON_PAYLOAD: ie_tvb = tvb_new_subset_length(tvb, offset, ZBEE_NWK_BEACON_LENGTH); offset += dissect_zbee_beacon(ie_tvb, pinfo, subtree, NULL); /* Legacy ZigBee Beacon */ dissect_ieee802154_superframe(tvb, pinfo, subtree, &offset); proto_tree_add_item(subtree, hf_ieee802154_zigbee_ie_source_addr, tvb, offset, 2, ENC_NA); offset += 2; break; default: if (length > 0) { /* just use the data dissector */ call_data_dissector(tvb, pinfo, tree); offset += length; } break; } } while (offset < pie_length); return tvb_captured_length(tvb); } /** *Subdissector for the ZigBee specific TX Power IE (information element) * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields (unused). *@param tree pointer to command subtree. *@param offset offset into the tvbuff to begin dissection. */ static void dissect_ieee802154_zigbee_txpower(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset) { gint32 txpower; txpower = (char)tvb_get_guint8(tvb, *offset); /* tx power is a signed byte */ proto_tree_add_item_ret_int(tree, hf_ieee802154_zigbee_ie_tx_power, tvb, *offset, 1, ENC_NA, &txpower); proto_item_append_text(tree, ", TX Power %d dBm", txpower); *offset += 1; } /** *Subdissector for the ZigBee specific Rejoin IE (information element) * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields (unused). *@param tree pointer to command subtree. *@param offset offset into the tvbuff to begin dissection. */ static void dissect_ieee802154_zigbee_rejoin(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset) { proto_tree *subtree; subtree = proto_tree_add_subtree(tree, tvb, *offset, 10, ett_zbee_nwk_ie_rejoin, NULL, "ZigBee Rejoin"); proto_tree_add_item(subtree, hf_ieee802154_zigbee_rejoin_epid, tvb, *offset, 8, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", EPID %s", eui64_to_display(pinfo->pool, tvb_get_guint64(tvb, *offset, ENC_LITTLE_ENDIAN))); *offset += 8; proto_tree_add_item(subtree, hf_ieee802154_zigbee_rejoin_source_addr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Src: 0x%04x", tvb_get_guint16(tvb, *offset, ENC_LITTLE_ENDIAN)); *offset += 2; } /* dissect_ieee802154_zigbee_rejoin */ static const char* zbee_nwk_conv_get_filter_type(conv_item_t* conv, conv_filter_type_e filter) { if ((filter == CONV_FT_SRC_ADDRESS) && (conv->src_address.type == zbee_nwk_address_type)) return "zbee_nwk.src"; if ((filter == CONV_FT_DST_ADDRESS) && (conv->dst_address.type == zbee_nwk_address_type)) return "zbee_nwk.dst"; if ((filter == CONV_FT_ANY_ADDRESS) && (conv->src_address.type == zbee_nwk_address_type)) return "zbee_nwk.addr"; return CONV_FILTER_INVALID; } static ct_dissector_info_t zbee_nwk_ct_dissector_info = {&zbee_nwk_conv_get_filter_type }; static tap_packet_status zbee_nwk_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip _U_, tap_flags_t flags) { conv_hash_t *hash = (conv_hash_t*)pct; hash->flags = flags; add_conversation_table_data(hash, &pinfo->net_src, &pinfo->net_dst, 0, 0, 1, pinfo->fd->pkt_len, &pinfo->rel_ts, &pinfo->abs_ts, &zbee_nwk_ct_dissector_info, CONVERSATION_NONE); return TAP_PACKET_REDRAW; } static const char* zbee_nwk_endpoint_get_filter_type(endpoint_item_t* endpoint, conv_filter_type_e filter) { if ((filter == CONV_FT_ANY_ADDRESS) && (endpoint->myaddress.type == zbee_nwk_address_type)) { return "zbee_nwk.addr"; } else { return CONV_FILTER_INVALID; } } static et_dissector_info_t zbee_nwk_endpoint_dissector_info = {&zbee_nwk_endpoint_get_filter_type }; static tap_packet_status zbee_nwk_endpoint_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip _U_, tap_flags_t flags) { conv_hash_t *hash = (conv_hash_t*)pit; hash->flags = flags; /* Take two "add" passes per packet, adding for each direction, ensures that all packets are counted properly (even if address is sending to itself) XXX - this could probably be done more efficiently inside endpoint_table */ add_endpoint_table_data(hash, &pinfo->net_src, 0, TRUE, 1, pinfo->fd->pkt_len, &zbee_nwk_endpoint_dissector_info, ENDPOINT_NONE); add_endpoint_table_data(hash, &pinfo->net_dst, 0, FALSE, 1, pinfo->fd->pkt_len, &zbee_nwk_endpoint_dissector_info, ENDPOINT_NONE); return TAP_PACKET_REDRAW; } static gboolean zbee_nwk_filter_valid(packet_info *pinfo, void *user_data _U_) { return proto_is_frame_protocol(pinfo->layers, "zbee_nwk"); } static gchar* zbee_nwk_build_filter(packet_info *pinfo, void *user_data _U_) { return ws_strdup_printf("zbee_nwk.addr eq %s and zbee_nwk.addr eq %s", address_to_str(pinfo->pool, &pinfo->net_src), address_to_str(pinfo->pool, &pinfo->net_dst)); } /** *ZigBee protocol registration routine. * */ void proto_register_zbee_nwk(void) { static hf_register_info hf[] = { { &hf_zbee_nwk_fcf, { "Frame Control Field", "zbee_nwk.fcf", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_frame_type, { "Frame Type", "zbee_nwk.frame_type", FT_UINT16, BASE_HEX, VALS(zbee_nwk_frame_types), ZBEE_NWK_FCF_FRAME_TYPE, NULL, HFILL }}, { &hf_zbee_nwk_proto_version, { "Protocol Version", "zbee_nwk.proto_version", FT_UINT16, BASE_DEC, NULL, ZBEE_NWK_FCF_VERSION, NULL, HFILL }}, { &hf_zbee_nwk_discover_route, { "Discover Route", "zbee_nwk.discovery", FT_UINT16, BASE_HEX, VALS(zbee_nwk_discovery_modes), ZBEE_NWK_FCF_DISCOVER_ROUTE, "Determines how route discovery may be handled, if at all.", HFILL }}, { &hf_zbee_nwk_multicast, { "Multicast", "zbee_nwk.multicast", FT_BOOLEAN, 16, NULL, ZBEE_NWK_FCF_MULTICAST, NULL, HFILL }}, { &hf_zbee_nwk_security, { "Security", "zbee_nwk.security", FT_BOOLEAN, 16, NULL, ZBEE_NWK_FCF_SECURITY, "Whether or not security operations are performed on the network payload.", HFILL }}, { &hf_zbee_nwk_source_route, { "Source Route", "zbee_nwk.src_route", FT_BOOLEAN, 16, NULL, ZBEE_NWK_FCF_SOURCE_ROUTE, NULL, HFILL }}, { &hf_zbee_nwk_ext_dst, { "Destination", "zbee_nwk.ext_dst", FT_BOOLEAN, 16, NULL, ZBEE_NWK_FCF_EXT_DEST, NULL, HFILL }}, { &hf_zbee_nwk_ext_src, { "Extended Source", "zbee_nwk.ext_src", FT_BOOLEAN, 16, NULL, ZBEE_NWK_FCF_EXT_SOURCE, NULL, HFILL }}, { &hf_zbee_nwk_end_device_initiator, { "End Device Initiator", "zbee_nwk.end_device_initiator", FT_BOOLEAN, 16, NULL, ZBEE_NWK_FCF_END_DEVICE_INITIATOR, NULL, HFILL }}, { &hf_zbee_nwk_dst, { "Destination", "zbee_nwk.dst", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_src, { "Source", "zbee_nwk.src", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_addr, { "Address", "zbee_nwk.addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_radius, { "Radius", "zbee_nwk.radius", FT_UINT8, BASE_DEC, NULL, 0x0, "Number of hops remaining for a range-limited broadcast packet.", HFILL }}, { &hf_zbee_nwk_seqno, { "Sequence Number", "zbee_nwk.seqno", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_mcast, { "Multicast Control Field", "zbee_nwk.multicast.cf", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_mcast_mode, { "Multicast Mode", "zbee_nwk.multicast.mode", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_MCAST_MODE, "Controls whether this packet is permitted to be routed through non-members of the multicast group.", HFILL }}, { &hf_zbee_nwk_mcast_radius, { "Non-Member Radius", "zbee_nwk.multicast.radius", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_MCAST_RADIUS, "Limits the range of multicast packets when being routed through non-members.", HFILL }}, { &hf_zbee_nwk_mcast_max_radius, { "Max Non-Member Radius", "zbee_nwk.multicast.max_radius", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_MCAST_MAX_RADIUS, NULL, HFILL }}, { &hf_zbee_nwk_dst64, { "Destination", "zbee_nwk.dst64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_src64, { "Extended Source", "zbee_nwk.src64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_addr64, { "Extended Address", "zbee_nwk.addr64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_src64_origin, { "Origin", "zbee_nwk.src64.origin", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_relay_count, { "Relay Count", "zbee_nwk.relay.count", FT_UINT8, BASE_DEC, NULL, 0x0, "Number of entries in the relay list.", HFILL }}, { &hf_zbee_nwk_relay_index, { "Relay Index", "zbee_nwk.relay.index", FT_UINT8, BASE_DEC, NULL, 0x0, "Number of relays required to route to the source device.", HFILL }}, { &hf_zbee_nwk_relay, { "Relay", "zbee_nwk.relay", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_id, { "Command Identifier", "zbee_nwk.cmd.id", FT_UINT8, BASE_HEX, VALS(zbee_nwk_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_addr, { "Address", "zbee_nwk.cmd.addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_id, { "Route ID", "zbee_nwk.cmd.route.id", FT_UINT8, BASE_DEC, NULL, 0x0, "A sequence number for routing commands.", HFILL }}, { &hf_zbee_nwk_cmd_route_dest, { "Destination", "zbee_nwk.cmd.route.dest", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_orig, { "Originator", "zbee_nwk.cmd.route.orig", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_resp, { "Responder", "zbee_nwk.cmd.route.resp", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_dest_ext, { "Extended Destination", "zbee_nwk.cmd.route.dest_ext", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_orig_ext, { "Extended Originator", "zbee_nwk.cmd.route.orig_ext", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_resp_ext, { "Extended Responder", "zbee_nwk.cmd.route.resp_ext", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_cost, { "Path Cost", "zbee_nwk.cmd.route.cost", FT_UINT8, BASE_DEC, NULL, 0x0, "A value specifying the efficiency of this route.", HFILL }}, { &hf_zbee_nwk_cmd_route_options, { "Command Options", "zbee_nwk.cmd.route.opts", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_opt_repair, { "Route Repair", "zbee_nwk.cmd.route.opts.repair", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_ROUTE_OPTION_REPAIR, "Flag identifying whether the route request command was to repair a failed route.", HFILL }}, { &hf_zbee_nwk_cmd_route_opt_multicast, { "Multicast", "zbee_nwk.cmd.route.opts.mcast", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_ROUTE_OPTION_MCAST, "Flag identifying this as a multicast route request.", HFILL }}, { &hf_zbee_nwk_cmd_route_opt_dest_ext, { "Extended Destination", "zbee_nwk.cmd.route.opts.dest_ext", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_ROUTE_OPTION_DEST_EXT, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_opt_resp_ext, { "Extended Responder", "zbee_nwk.cmd.route.opts.resp_ext", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_ROUTE_OPTION_RESP_EXT, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_opt_orig_ext, { "Extended Originator", "zbee_nwk.cmd.route.opts.orig_ext", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_ROUTE_OPTION_ORIG_EXT, NULL, HFILL }}, { &hf_zbee_nwk_cmd_route_opt_many_to_one, { "Many-to-One Discovery", "zbee_nwk.cmd.route.opts.many2one", FT_UINT8, BASE_HEX, VALS(zbee_nwk_cmd_route_many_modes), ZBEE_NWK_CMD_ROUTE_OPTION_MANY_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_nwk_status, { "Status Code", "zbee_nwk.cmd.status", FT_UINT8, BASE_HEX, VALS(zbee_nwk_status_codes), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_nwk_status_command_id, { "Unknown Command ID", "zbee_nwk.cmd.status.unknown_command_id", FT_UINT8, BASE_HEX, VALS(zbee_nwk_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_leave_rejoin, { "Rejoin", "zbee_nwk.cmd.leave.rejoin", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_LEAVE_OPTION_REJOIN, "Flag instructing the device to rejoin the network.", HFILL }}, { &hf_zbee_nwk_cmd_leave_request, { "Request", "zbee_nwk.cmd.leave.request", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_LEAVE_OPTION_REQUEST, "Flag identifying the direction of this command. 1=Request, 0=Indication", HFILL }}, { &hf_zbee_nwk_cmd_leave_children, { "Remove Children", "zbee_nwk.cmd.leave.children", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_LEAVE_OPTION_CHILDREN, "Flag instructing the device to remove its children in addition to itself.", HFILL }}, { &hf_zbee_nwk_cmd_relay_count, { "Relay Count", "zbee_nwk.cmd.relay_count", FT_UINT8, BASE_DEC, NULL, 0x0, "Number of relays required to route to the destination.", HFILL }}, { &hf_zbee_nwk_cmd_relay_device, { "Relay Device", "zbee_nwk.cmd.relay_device", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_cinfo, { "Capability Information", "zbee_nwk.cmd.cinfo", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_cinfo_alt_coord, { "Alternate Coordinator", "zbee_nwk.cmd.cinfo.alt_coord", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_ALT_PAN_COORD, "Indicates that the device is able to operate as a PAN coordinator.", HFILL }}, { &hf_zbee_nwk_cmd_cinfo_type, { "Full-Function Device", "zbee_nwk.cmd.cinfo.ffd", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_DEVICE_TYPE, NULL, HFILL }}, { &hf_zbee_nwk_cmd_cinfo_power, { "AC Power", "zbee_nwk.cmd.cinfo.power", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_POWER_SRC, "Indicates this device is using AC/Mains power.", HFILL }}, { &hf_zbee_nwk_cmd_cinfo_idle_rx, { "Rx On When Idle", "zbee_nwk.cmd.cinfo.on_idle", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_IDLE_RX, "Indicates the receiver is active when the device is idle.", HFILL }}, { &hf_zbee_nwk_cmd_cinfo_security, { "Security Capability", "zbee_nwk.cmd.cinfo.security", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_SEC_CAPABLE, "Indicates this device is capable of performing encryption/decryption.", HFILL }}, { &hf_zbee_nwk_cmd_cinfo_alloc, { "Allocate Short Address", "zbee_nwk.cmd.cinfo.alloc", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_ALLOC_ADDR, "Flag requesting the parent to allocate a short address for this device.", HFILL }}, { &hf_zbee_nwk_cmd_rejoin_status, { "Status", "zbee_nwk.cmd.rejoin_status", FT_UINT8, BASE_HEX, VALS(zbee_nwk_rejoin_codes), 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_link_last, { "Last Frame", "zbee_nwk.cmd.link.last", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_LINK_OPTION_LAST_FRAME, "Flag indicating the last in a series of link status commands.", HFILL }}, { &hf_zbee_nwk_cmd_link_first, { "First Frame", "zbee_nwk.cmd.link.first", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_LINK_OPTION_FIRST_FRAME, "Flag indicating the first in a series of link status commands.", HFILL }}, { &hf_zbee_nwk_cmd_link_count, { "Link Status Count", "zbee_nwk.cmd.link.count", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_CMD_LINK_OPTION_COUNT_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_link_address, { "Address", "zbee_nwk.cmd.link.address", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_link_incoming_cost, { "Incoming Cost", "zbee_nwk.cmd.link.incoming_cost", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_CMD_LINK_INCOMMING_COST_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_link_outgoing_cost, { "Outgoing Cost", "zbee_nwk.cmd.link.outgoing_cost", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_CMD_LINK_OUTGOING_COST_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_report_type, { "Report Type", "zbee_nwk.cmd.report.type", FT_UINT8, BASE_HEX, VALS(zbee_nwk_report_types), ZBEE_NWK_CMD_NWK_REPORT_ID_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_report_count, { "Report Information Count", "zbee_nwk.cmd.report.count", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_CMD_NWK_REPORT_COUNT_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_update_type, { "Update Type", "zbee_nwk.cmd.update.type", FT_UINT8, BASE_HEX, VALS(zbee_nwk_update_types), ZBEE_NWK_CMD_NWK_UPDATE_ID_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_update_count, { "Update Information Count", "zbee_nwk.cmd.update.count", FT_UINT8, BASE_DEC, NULL, ZBEE_NWK_CMD_NWK_UPDATE_COUNT_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_update_id, { "Update ID", "zbee_nwk.cmd.update.id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_panid, { "PAN ID", "zbee_nwk.panid", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zboss_nwk_cmd_key, { "ZBOSS Key", "zbee_nwk.zboss_key", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_epid, { "Extended PAN ID", "zbee_nwk.cmd.epid", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_end_device_timeout_request_enum, { "Requested Timeout Enumeration", "zbee_nwk.cmd.ed_tmo_req", FT_UINT8, BASE_DEC, VALS(zbee_nwk_end_device_timeout_request), 0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_end_device_configuration, { "End Device Configuration", "zbee_nwk.cmd.ed_config", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_end_device_timeout_resp_status, { "Status", "zbee_nwk.cmd.ed_tmo_rsp_status", FT_UINT8, BASE_DEC, VALS(zbee_nwk_end_device_timeout_resp_status), 0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_end_device_timeout_resp_parent_info, { "Parent Information", "zbee_nwk.cmd.ed_prnt_info", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_prnt_info_mac_data_poll_keepalive_supported, { "MAC Data Poll Keepalive", "zbee_nwk.cmd.ed_prnt_info.mac_data_poll_keepalive", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_ED_TIMEO_RSP_PRNT_INFO_MAC_DATA_POLL_KEEPAL_SUPP, NULL, HFILL }}, { &hf_zbee_nwk_cmd_prnt_info_ed_to_req_keepalive_supported, { "End Device Timeout Request Keepalive", "zbee_nwk.cmd.ed_prnt_info.ed_tmo_req_keepalive", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_ED_TIMEO_RSP_PRNT_INFO_ED_TIMOU_REQ_KEEPAL_SUPP, NULL, HFILL }}, { &hf_zbee_nwk_cmd_prnt_info_power_negotiation_supported, { "Power Negotiation Supported", "zbee_nwk.cmd.power_negotiation_supported", FT_BOOLEAN, 8, NULL, ZBEE_NWK_CMD_ED_TIMEO_RSP_PRNT_INFO_PWR_NEG_SUPP, NULL, HFILL }}, { &hf_zbee_nwk_cmd_link_pwr_type, { "Type", "zbee_nwk.cmd.link_pwr_delta.type", FT_UINT8, BASE_HEX, VALS(zbee_nwk_link_power_delta_types), ZBEE_NWK_CMD_NWK_LINK_PWR_DELTA_TYPE_MASK, NULL, HFILL }}, { &hf_zbee_nwk_cmd_link_pwr_list_count, { "Structure Count", "zbee_nwk.cmd.link_pwr_delta.list_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_link_pwr_device_address, { "Device Address", "zbee_nwk.cmd.link_pwr_delta.address", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_link_pwr_power_delta, { "Power Delta", "zbee_nwk.cmd.link_pwr_delta.power_delta", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_nwk_cmd_association_type, { "Association Type", "zbee_nwk.cmd.association_type", FT_UINT8, BASE_HEX, VALS(zbee_nwk_commissioning_types), 0x0, NULL, HFILL }}, { &hf_zbee_beacon_protocol, { "Protocol ID", "zbee_beacon.protocol", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_beacon_stack_profile, { "Stack Profile", "zbee_beacon.profile", FT_UINT16, BASE_HEX, VALS(zbee_nwk_stack_profiles), ZBEE_NWK_BEACON_STACK_PROFILE, NULL, HFILL }}, { &hf_zbee_beacon_version, { "Protocol Version", "zbee_beacon.version", FT_UINT16, BASE_DEC, NULL, ZBEE_NWK_BEACON_PROTOCOL_VERSION, NULL, HFILL }}, { &hf_zbee_beacon_router_capacity, { "Router Capacity", "zbee_beacon.router", FT_BOOLEAN, 16, NULL, ZBEE_NWK_BEACON_ROUTER_CAPACITY, "Whether the device can accept join requests from routing capable devices.", HFILL }}, { &hf_zbee_beacon_depth, { "Device Depth", "zbee_beacon.depth", FT_UINT16, BASE_DEC, NULL, ZBEE_NWK_BEACON_NETWORK_DEPTH, "The tree depth of the device, 0 indicates the network coordinator.", HFILL }}, { &hf_zbee_beacon_end_device_capacity, { "End Device Capacity", "zbee_beacon.end_dev", FT_BOOLEAN, 16, NULL, ZBEE_NWK_BEACON_END_DEVICE_CAPACITY, "Whether the device can accept join requests from ZigBee end devices.", HFILL }}, { &hf_zbee_beacon_epid, { "Extended PAN ID", "zbee_beacon.ext_panid", FT_EUI64, BASE_NONE, NULL, 0x0, "Extended PAN identifier.", HFILL }}, { &hf_zbee_beacon_tx_offset, { "Tx Offset", "zbee_beacon.tx_offset", FT_UINT24, BASE_DEC, NULL, 0x0, "The time difference between a device and its parent's beacon.", HFILL }}, { &hf_zbee_beacon_update_id, { "Update ID", "zbee_beacon.update_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbip_beacon_allow_join, { "Allow Join", "zbip_beacon.allow_join", FT_BOOLEAN, 8, NULL, ZBEE_IP_BEACON_ALLOW_JOIN, NULL, HFILL }}, { &hf_zbip_beacon_router_capacity, { "Router Capacity", "zbip_beacon.router", FT_BOOLEAN, 8, NULL, ZBEE_IP_BEACON_ROUTER_CAPACITY, "Whether this device can accept new routers on the network.", HFILL }}, { &hf_zbip_beacon_host_capacity, { "Host Capacity", "zbip_beacon.host", FT_BOOLEAN, 8, NULL, ZBEE_IP_BEACON_HOST_CAPACITY, "Whether this device can accept new host on the network.", HFILL }}, { &hf_zbip_beacon_unsecure, { "Unsecure Network", "zbip_beacon.unsecure", FT_BOOLEAN, 8, NULL, ZBEE_IP_BEACON_UNSECURE, "Indicates that this network is not using link layer security.", HFILL }}, { &hf_zbip_beacon_network_id, { "Network ID", "zbip_beacon.network_id", FT_STRING, BASE_NONE, NULL, 0x0, "A string that uniquely identifies this network.", HFILL }}, { &hf_ieee802154_zigbee_ie, { "IE header", "zbee_nwk.zigbee_ie", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_ieee802154_zigbee_ie_id, { "Id", "zbee_nwk.zigbee_ie.id", FT_UINT16, BASE_HEX, VALS(ieee802154_zigbee_ie_names), ZBEE_ZIGBEE_IE_ID_MASK, NULL, HFILL }}, { &hf_ieee802154_zigbee_ie_length, { "Length", "zbee_nwk.zigbee_ie.length", FT_UINT16, BASE_DEC, NULL, ZBEE_ZIGBEE_IE_LENGTH_MASK, NULL, HFILL }}, { &hf_ieee802154_zigbee_ie_tx_power, { "Tx Power (dBm)", "zbee_nwk.zigbee_ie.tx_power", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_ieee802154_zigbee_ie_source_addr, { "Source Address", "zbee_nwk.zigbee_ie.source_address", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_ieee802154_zigbee_rejoin_epid, { "Extended PAN ID", "zbee_nwk.zigbee_rejoin.ext_panid", FT_EUI64, BASE_NONE, NULL, 0x0, "Extended PAN identifier", HFILL }}, { &hf_ieee802154_zigbee_rejoin_source_addr, { "Source Address", "zbee_nwk.zigbee_rejoin.source_address", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, }; /* NWK Layer subtrees */ static gint *ett[] = { &ett_zbee_nwk, &ett_zbee_nwk_beacon, &ett_zbee_nwk_fcf, &ett_zbee_nwk_fcf_ext, &ett_zbee_nwk_mcast, &ett_zbee_nwk_route, &ett_zbee_nwk_cmd, &ett_zbee_nwk_cmd_options, &ett_zbee_nwk_cmd_cinfo, &ett_zbee_nwk_cmd_link, &ett_zbee_nwk_cmd_ed_to_rsp_prnt_info, &ett_zbee_nwk_cmd_link_pwr_struct, &ett_zbee_nwk_zigbee_ie_fields, &ett_zbee_nwk_ie_rejoin, &ett_zbee_nwk_header, &ett_zbee_nwk_header_ie, &ett_zbee_nwk_beacon_bitfield, }; static ei_register_info ei[] = { { &ei_zbee_nwk_missing_payload, { "zbee_nwk.missing_payload", PI_MALFORMED, PI_ERROR, "Missing Payload", EXPFILL }}, }; expert_module_t* expert_zbee_nwk; register_init_routine(proto_init_zbee_nwk); register_cleanup_routine(proto_cleanup_zbee_nwk); /* Register the protocol with Wireshark. */ proto_zbee_nwk = proto_register_protocol("ZigBee Network Layer", "ZigBee", ZBEE_PROTOABBREV_NWK); proto_zbee_beacon = proto_register_protocol("ZigBee Beacon", "ZigBee Beacon", "zbee_beacon"); proto_zbip_beacon = proto_register_protocol("ZigBee IP Beacon", "ZigBee IP Beacon", "zbip_beacon"); proto_zbee_ie = proto_register_protocol("ZigBee IE", "ZigBee IE", "zbee_ie"); proto_register_field_array(proto_zbee_nwk, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_zbee_nwk = expert_register_protocol(proto_zbee_nwk); expert_register_field_array(expert_zbee_nwk, ei, array_length(ei)); /* Register the dissectors with Wireshark. */ register_dissector(ZBEE_PROTOABBREV_NWK, dissect_zbee_nwk, proto_zbee_nwk); register_dissector("zbee_beacon", dissect_zbee_beacon, proto_zbee_beacon); register_dissector("zbip_beacon", dissect_zbip_beacon, proto_zbip_beacon); register_dissector("zbee_ie", dissect_zbee_ie, proto_zbee_ie); zbee_nwk_address_type = address_type_dissector_register("AT_ZIGBEE", "ZigBee 16-bit address", zbee_nwk_address_to_str, zbee_nwk_address_str_len, NULL, NULL, zbee_nwk_address_len, NULL, NULL); /* Register the Security dissector. */ zbee_security_register(NULL, proto_zbee_nwk); zbee_nwk_tap = register_tap(ZBEE_PROTOABBREV_NWK); register_conversation_table(proto_zbee_nwk, TRUE, zbee_nwk_conversation_packet, zbee_nwk_endpoint_packet); register_conversation_filter(ZBEE_PROTOABBREV_NWK, "ZigBee Network Layer", zbee_nwk_filter_valid, zbee_nwk_build_filter, NULL); } /* proto_register_zbee_nwk */ /** *Registers the zigbee dissector with Wireshark. * */ void proto_reg_handoff_zbee_nwk(void) { /* Find the other dissectors we need. */ aps_handle = find_dissector_add_dependency(ZBEE_PROTOABBREV_APS, proto_zbee_nwk); zbee_gp_handle = find_dissector_add_dependency(ZBEE_PROTOABBREV_NWK_GP, proto_zbee_nwk); /* Register our dissector with IEEE 802.15.4 */ dissector_add_for_decode_as(IEEE802154_PROTOABBREV_WPAN_PANID, find_dissector(ZBEE_PROTOABBREV_NWK)); heur_dissector_add(IEEE802154_PROTOABBREV_WPAN_BEACON, dissect_zbee_beacon_heur, "ZigBee Beacon", "zbee_wpan_beacon", proto_zbee_beacon, HEURISTIC_ENABLE); heur_dissector_add(IEEE802154_PROTOABBREV_WPAN_BEACON, dissect_zbip_beacon_heur, "ZigBee IP Beacon", "zbip_wpan_beacon", proto_zbip_beacon, HEURISTIC_ENABLE); heur_dissector_add(IEEE802154_PROTOABBREV_WPAN, dissect_zbee_nwk_heur, "ZigBee Network Layer over IEEE 802.15.4", "zbee_nwk_wpan", proto_zbee_nwk, HEURISTIC_ENABLE); } /* proto_reg_handoff_zbee */ static void free_keyring_key(gpointer key) { g_free(key); } static void free_keyring_val(gpointer a) { GSList **slist = (GSList **)a; g_slist_free_full(*slist, g_free); g_free(slist); } /** *Init routine for the nwk dissector. Creates a * */ static void proto_init_zbee_nwk(void) { zbee_nwk_map.short_table = g_hash_table_new(ieee802154_short_addr_hash, ieee802154_short_addr_equal); zbee_nwk_map.long_table = g_hash_table_new(ieee802154_long_addr_hash, ieee802154_long_addr_equal); zbee_table_nwk_keyring = g_hash_table_new_full(g_int_hash, g_int_equal, free_keyring_key, free_keyring_val); } /* proto_init_zbee_nwk */ static void proto_cleanup_zbee_nwk(void) { g_hash_table_destroy(zbee_nwk_map.short_table); g_hash_table_destroy(zbee_nwk_map.long_table); g_hash_table_destroy(zbee_table_nwk_keyring); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-zbee-nwk.h
/* packet-zbee-nwk.h * Dissector routines for the ZigBee Network Layer (NWK) * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_ZBEE_NWK_H #define PACKET_ZBEE_NWK_H /* ZigBee NWK FCF fields */ #define ZBEE_NWK_FCF_FRAME_TYPE 0x0003 #define ZBEE_NWK_FCF_VERSION 0x003C #define ZBEE_NWK_FCF_DISCOVER_ROUTE 0x00C0 #define ZBEE_NWK_FCF_MULTICAST 0x0100 /* ZigBee 2006 and Later */ #define ZBEE_NWK_FCF_SECURITY 0x0200 #define ZBEE_NWK_FCF_SOURCE_ROUTE 0x0400 /* ZigBee 2006 and Later */ #define ZBEE_NWK_FCF_EXT_DEST 0x0800 /* ZigBee 2006 and Later */ #define ZBEE_NWK_FCF_EXT_SOURCE 0x1000 /* ZigBee 2006 and Later */ #define ZBEE_NWK_FCF_END_DEVICE_INITIATOR 0x2000 /* ZigBee PRO r21 */ /* ZigBee NWK FCF Frame Types */ #define ZBEE_NWK_FCF_DATA 0x0000 #define ZBEE_NWK_FCF_CMD 0x0001 #define ZBEE_NWK_FCF_INTERPAN 0x0003 /* ZigBee NWK Discovery Modes. */ #define ZBEE_NWK_FCF_DISCOVERY_SUPPRESS 0x0000 #define ZBEE_NWK_FCF_DISCOVERY_ENABLE 0x0001 #define ZBEE_NWK_FCF_DISCOVERY_FORCE 0x0003 /* Multicast Control */ #define ZBEE_NWK_MCAST_MODE 0x03 /* ZigBee 2006 and later */ #define ZBEE_NWK_MCAST_RADIUS 0x1c /* ZigBee 2006 and later */ #define ZBEE_NWK_MCAST_MAX_RADIUS 0xe0 /* ZigBee 2006 and later */ #define ZBEE_NWK_MCAST_MODE_NONMEMBER 0x00 /* ZigBee 2006 and later */ #define ZBEE_NWK_MCAST_MODE_MEMBER 0x01 /* ZigBee 2006 and later */ /* ZigBee NWK Command Types */ #define ZBEE_NWK_CMD_ROUTE_REQ 0x01 #define ZBEE_NWK_CMD_ROUTE_REPLY 0x02 #define ZBEE_NWK_CMD_NWK_STATUS 0x03 #define ZBEE_NWK_CMD_LEAVE 0x04 /* ZigBee 2006 and Later */ #define ZBEE_NWK_CMD_ROUTE_RECORD 0x05 /* ZigBee 2006 and later */ #define ZBEE_NWK_CMD_REJOIN_REQ 0x06 /* ZigBee 2006 and later */ #define ZBEE_NWK_CMD_REJOIN_RESP 0x07 /* ZigBee 2006 and later */ #define ZBEE_NWK_CMD_LINK_STATUS 0x08 /* ZigBee 2007 and later */ #define ZBEE_NWK_CMD_NWK_REPORT 0x09 /* ZigBee 2007 and later */ #define ZBEE_NWK_CMD_NWK_UPDATE 0x0a /* ZigBee 2007 and later */ #define ZBEE_NWK_CMD_ED_TIMEOUT_REQUEST 0x0b /* r21 */ #define ZBEE_NWK_CMD_ED_TIMEOUT_RESPONSE 0x0c /* r21 */ #define ZBEE_NWK_CMD_LINK_PWR_DELTA 0x0d /* r22 */ #define ZBEE_NWK_CMD_COMMISSIONING_REQUEST 0x0e /* r23 */ #define ZBEE_NWK_CMD_COMMISSIONING_RESPONSE 0x0f /* r23 */ /* ZigBee NWK Route Options Flags */ #define ZBEE_NWK_CMD_ROUTE_OPTION_REPAIR 0x80 /* ZigBee 2004 only. */ #define ZBEE_NWK_CMD_ROUTE_OPTION_MCAST 0x40 /* ZigBee 2006 and later */ #define ZBEE_NWK_CMD_ROUTE_OPTION_DEST_EXT 0x20 /* ZigBee 2007 and later (route request only). */ #define ZBEE_NWK_CMD_ROUTE_OPTION_MANY_MASK 0x18 /* ZigBee 2007 and later (route request only). */ #define ZBEE_NWK_CMD_ROUTE_OPTION_RESP_EXT 0x20 /* ZigBee 2007 and layer (route reply only). */ #define ZBEE_NWK_CMD_ROUTE_OPTION_ORIG_EXT 0x10 /* ZigBee 2007 and later (route reply only). */ /* Many-to-One modes, ZigBee 2007 and later (route request only). */ #define ZBEE_NWK_CMD_ROUTE_OPTION_MANY_NONE 0x00 #define ZBEE_NWK_CMD_ROUTE_OPTION_MANY_REC 0x01 #define ZBEE_NWK_CMD_ROUTE_OPTION_MANY_NOREC 0x02 /* ZigBee NWK Leave Options Flags */ #define ZBEE_NWK_CMD_LEAVE_OPTION_CHILDREN 0x80 #define ZBEE_NWK_CMD_LEAVE_OPTION_REQUEST 0x40 #define ZBEE_NWK_CMD_LEAVE_OPTION_REJOIN 0x20 /* ZigBee NWK Link Status Options. */ #define ZBEE_NWK_CMD_LINK_OPTION_LAST_FRAME 0x40 #define ZBEE_NWK_CMD_LINK_OPTION_FIRST_FRAME 0x20 #define ZBEE_NWK_CMD_LINK_OPTION_COUNT_MASK 0x1f /* ZigBee NWK Link Status cost fields. */ #define ZBEE_NWK_CMD_LINK_INCOMMING_COST_MASK 0x07 #define ZBEE_NWK_CMD_LINK_OUTGOING_COST_MASK 0x70 /* ZigBee NWK Report Options. */ #define ZBEE_NWK_CMD_NWK_REPORT_COUNT_MASK 0x1f #define ZBEE_NWK_CMD_NWK_REPORT_ID_MASK 0xe0 #define ZBEE_NWK_CMD_NWK_REPORT_ID_PAN_CONFLICT 0x00 #define ZBEE_NWK_CMD_NWK_REPORT_ID_ZBOSS_KEY_TRACE 6 /* ZigBee NWK Update Options. */ #define ZBEE_NWK_CMD_NWK_UPDATE_COUNT_MASK 0x1f #define ZBEE_NWK_CMD_NWK_UPDATE_ID_MASK 0xe0 #define ZBEE_NWK_CMD_NWK_UPDATE_ID_PAN_UPDATE 0x00 /* ZigBee NWK Values of the Parent Information Bitmask (Table 3.47) */ #define ZBEE_NWK_CMD_ED_TIMEO_RSP_PRNT_INFO_MAC_DATA_POLL_KEEPAL_SUPP 0x01 #define ZBEE_NWK_CMD_ED_TIMEO_RSP_PRNT_INFO_ED_TIMOU_REQ_KEEPAL_SUPP 0x02 #define ZBEE_NWK_CMD_ED_TIMEO_RSP_PRNT_INFO_PWR_NEG_SUPP 0x04 /* ZigBee NWK Link Power Delta Options */ #define ZBEE_NWK_CMD_NWK_LINK_PWR_DELTA_TYPE_MASK 0x03 /* Network Status Code Definitions. */ #define ZBEE_NWK_STATUS_NO_ROUTE_AVAIL 0x00 #define ZBEE_NWK_STATUS_TREE_LINK_FAIL 0x01 #define ZBEE_NWK_STATUS_NON_TREE_LINK_FAIL 0x02 #define ZBEE_NWK_STATUS_LOW_BATTERY 0x03 #define ZBEE_NWK_STATUS_NO_ROUTING 0x04 #define ZBEE_NWK_STATUS_NO_INDIRECT 0x05 #define ZBEE_NWK_STATUS_INDIRECT_EXPIRE 0x06 #define ZBEE_NWK_STATUS_DEVICE_UNAVAIL 0x07 #define ZBEE_NWK_STATUS_ADDR_UNAVAIL 0x08 #define ZBEE_NWK_STATUS_PARENT_LINK_FAIL 0x09 #define ZBEE_NWK_STATUS_VALIDATE_ROUTE 0x0a #define ZBEE_NWK_STATUS_SOURCE_ROUTE_FAIL 0x0b #define ZBEE_NWK_STATUS_MANY_TO_ONE_FAIL 0x0c #define ZBEE_NWK_STATUS_ADDRESS_CONFLICT 0x0d #define ZBEE_NWK_STATUS_VERIFY_ADDRESS 0x0e #define ZBEE_NWK_STATUS_PANID_UPDATE 0x0f #define ZBEE_NWK_STATUS_ADDRESS_UPDATE 0x10 #define ZBEE_NWK_STATUS_BAD_FRAME_COUNTER 0x11 #define ZBEE_NWK_STATUS_BAD_KEY_SEQNO 0x12 #define ZBEE_NWK_STATUS_UNKNOWN_COMMAND 0x13 #define ZBEE_SEC_CONST_KEYSIZE 16 typedef struct{ gboolean security; gboolean discovery; gboolean multicast; /* ZigBee 2006 and Later */ gboolean route; /* ZigBee 2006 and Later */ gboolean ext_dst; /* ZigBee 2006 and Later */ gboolean ext_src; /* ZigBee 2006 and Later */ guint16 type; guint8 version; guint16 dst; guint16 src; guint64 dst64; /* ZigBee 2006 and Later */ guint64 src64; /* ZigBee 2006 and Later */ guint8 radius; guint8 seqno; guint8 mcast_mode; /* ZigBee 2006 and Later */ guint8 mcast_radius; /* ZigBee 2006 and Later */ guint8 mcast_max_radius; /* ZigBee 2006 and Later */ guint8 payload_offset; guint8 payload_len; guint16 cluster_id; /* an application-specific message identifier that * happens to be included in the transport (APS) layer header. */ void *private_data; /* For ZigBee (sub)dissector specific data */ } zbee_nwk_packet; /* Key used for link key hash table. */ typedef struct { guint64 lt_addr64; /* lesser than address */ guint64 gt_addr64; /* greater than address */ } table_link_key_t; typedef enum { ZBEE_APS_NO_RELAY, ZBEE_APS_RELAY_UPSTREAM, ZBEE_APS_RELAY_DOWNSTREAM } aps_relay_type_t; /* Values in the key rings. */ typedef struct { guint frame_num; gchar *label; guint8 key[ZBEE_SEC_CONST_KEYSIZE]; } key_record_t; typedef struct { gint src_pan; /* source pan */ gint src; /* short source address from nwk */ #if 0 gint ieee_src; /* short source address from mac */ #endif ieee802154_map_rec *map_rec; /* extended src from nwk */ key_record_t *nwk; /* Network key found for this packet */ key_record_t *link; /* Link key found for this packet */ aps_relay_type_t relay_type ; /* Is it upstream/downstream relayed packet? */ guint64 joiner_addr64; /* long address from Relay frame */ } zbee_nwk_hints_t; extern ieee802154_map_tab_t zbee_nwk_map; extern GHashTable *zbee_table_nwk_keyring; extern GHashTable *zbee_table_link_keyring; /* Key Types */ #define ZBEE_USER_KEY 0x01 /* ZigBee PRO beacons */ #define ZBEE_NWK_BEACON_PROTOCOL_ID 0x00 #define ZBEE_NWK_BEACON_STACK_PROFILE 0x000f #define ZBEE_NWK_BEACON_PROTOCOL_VERSION 0x00f0 #define ZBEE_NWK_BEACON_ROUTER_CAPACITY 0x0400 #define ZBEE_NWK_BEACON_NETWORK_DEPTH 0x7800 #define ZBEE_NWK_BEACON_END_DEVICE_CAPACITY 0x8000 #define ZBEE_NWK_BEACON_LENGTH 15 /* ZigBee IP beacons */ #define ZBEE_IP_BEACON_PROTOCOL_ID 0x02 #define ZBEE_IP_BEACON_ALLOW_JOIN 0x01 #define ZBEE_IP_BEACON_ROUTER_CAPACITY 0x02 #define ZBEE_IP_BEACON_HOST_CAPACITY 0x04 #define ZBEE_IP_BEACON_UNSECURE 0x80 /* Undocumented bit for test networks. */ #define ZBEE_IP_BEACON_TLV_LENGTH_MASK 0x0f #define ZBEE_IP_BEACON_TLV_TYPE_MASK 0xf0 #define ZBEE_IP_BEACON_TLV_TYPE_LFDI 0x0 #endif /* PACKET_ZBEE_NWK_H */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-security.c
/* packet-zbee-security.c * Dissector helper routines for encrypted ZigBee frames. * By Owen Kirby <[email protected]>; portions by Fred Fierling <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/exceptions.h> #include <epan/prefs.h> #include <epan/expert.h> #include <epan/uat.h> #include <epan/proto_data.h> /* We require libgcrpyt in order to decrypt ZigBee packets. Without it the best * we can do is parse the security header and give up. */ #include <wsutil/wsgcrypt.h> #include <wsutil/pint.h> #include "packet-ieee802154.h" #include "packet-zbee.h" #include "packet-zbee-nwk.h" #include "packet-zbee-aps.h" /* for ZBEE_APS_CMD_KEY_LENGTH */ #include "packet-zbee-security.h" /* Helper Functions */ static void zbee_sec_key_hash(guint8 *, guint8, guint8 *); static void zbee_sec_make_nonce (zbee_security_packet *, guint8 *); static gboolean zbee_sec_decrypt_payload(zbee_security_packet *, const gchar *, const gchar, guint8 *, guint, guint, guint8 *); static gboolean zbee_security_parse_key(const gchar *, guint8 *, gboolean); /* Field pointers. */ static int hf_zbee_sec_field = -1; static int hf_zbee_sec_level = -1; static int hf_zbee_sec_key_id = -1; static int hf_zbee_sec_nonce = -1; static int hf_zbee_sec_counter = -1; static int hf_zbee_sec_src64 = -1; static int hf_zbee_sec_key_seqno = -1; static int hf_zbee_sec_mic = -1; static int hf_zbee_sec_key = -1; static int hf_zbee_sec_key_origin = -1; static int hf_zbee_sec_decryption_key = -1; /* Subtree pointers. */ static gint ett_zbee_sec = -1; static gint ett_zbee_sec_control = -1; static expert_field ei_zbee_sec_encrypted_payload = EI_INIT; static expert_field ei_zbee_sec_encrypted_payload_sliced = EI_INIT; static expert_field ei_zbee_sec_extended_source_unknown = EI_INIT; static const value_string zbee_sec_key_names[] = { { ZBEE_SEC_KEY_LINK, "Link Key" }, { ZBEE_SEC_KEY_NWK, "Network Key" }, { ZBEE_SEC_KEY_TRANSPORT, "Key-Transport Key" }, { ZBEE_SEC_KEY_LOAD, "Key-Load Key" }, { 0, NULL } }; #if 0 /* These aren't really used anymore, as ZigBee no longer includes them in the * security control field. If we were to display them all we would ever see is * security level 0. */ static const value_string zbee_sec_level_names[] = { { ZBEE_SEC_NONE, "None" }, { ZBEE_SEC_MIC32, "No Encryption, 32-bit MIC" }, { ZBEE_SEC_MIC64, "No Encryption, 64-bit MIC" }, { ZBEE_SEC_MIC128, "No Encryption, 128-bit MIC" }, { ZBEE_SEC_ENC, "Encryption, No MIC" }, { ZBEE_SEC_ENC_MIC32, "Encryption, 32-bit MIC" }, { ZBEE_SEC_ENC_MIC64, "Encryption, 64-bit MIC" }, { ZBEE_SEC_ENC_MIC128, "Encryption, 128-bit MIC" }, { 0, NULL } }; #endif /* The ZigBee security level, in enum_val_t for the security preferences. */ static const enum_val_t zbee_sec_level_enums[] = { { "None", "No Security", ZBEE_SEC_NONE }, { "MIC32", "No Encryption, 32-bit Integrity Protection", ZBEE_SEC_MIC32 }, { "MIC64", "No Encryption, 64-bit Integrity Protection", ZBEE_SEC_MIC64 }, { "MIC128", "No Encryption, 128-bit Integrity Protection", ZBEE_SEC_MIC128 }, { "ENC", "AES-128 Encryption, No Integrity Protection", ZBEE_SEC_ENC }, { "ENC-MIC32", "AES-128 Encryption, 32-bit Integrity Protection", ZBEE_SEC_ENC_MIC32 }, { "ENC-MIC64", "AES-128 Encryption, 64-bit Integrity Protection", ZBEE_SEC_ENC_MIC64 }, { "ENC-MIC128", "AES-128 Encryption, 128-bit Integrity Protection", ZBEE_SEC_ENC_MIC128 }, { NULL, NULL, 0 } }; static gint gPREF_zbee_sec_level = ZBEE_SEC_ENC_MIC32; static uat_t *zbee_sec_key_table_uat; static const value_string byte_order_vals[] = { { 0, "Normal"}, { 1, "Reverse"}, { 0, NULL } }; /* UAT Key Entry */ typedef struct _uat_key_record_t { gchar *string; guint8 byte_order; gchar *label; } uat_key_record_t; UAT_CSTRING_CB_DEF(uat_key_records, string, uat_key_record_t) UAT_VS_DEF(uat_key_records, byte_order, uat_key_record_t, guint8, 0, "Normal") UAT_CSTRING_CB_DEF(uat_key_records, label, uat_key_record_t) static GSList *zbee_pc_keyring = NULL; static uat_key_record_t *uat_key_records = NULL; static guint num_uat_key_records = 0; static void* uat_key_record_copy_cb(void* n, const void* o, size_t siz _U_) { uat_key_record_t* new_key = (uat_key_record_t *)n; const uat_key_record_t* old_key = (const uat_key_record_t *)o; new_key->string = g_strdup(old_key->string); new_key->label = g_strdup(old_key->label); new_key->byte_order = old_key->byte_order; return new_key; } static gboolean uat_key_record_update_cb(void* r, char** err) { uat_key_record_t* rec = (uat_key_record_t *)r; guint8 key[ZBEE_SEC_CONST_KEYSIZE]; if (rec->string == NULL) { *err = g_strdup("Key can't be blank"); return FALSE; } else { g_strstrip(rec->string); if (rec->string[0] != 0) { *err = NULL; if ( !zbee_security_parse_key(rec->string, key, rec->byte_order) ) { *err = ws_strdup_printf("Expecting %d hexadecimal bytes or\n" "a %d character double-quoted string", ZBEE_SEC_CONST_KEYSIZE, ZBEE_SEC_CONST_KEYSIZE); return FALSE; } } else { *err = g_strdup("Key can't be blank"); return FALSE; } } return TRUE; } static void uat_key_record_free_cb(void*r) { uat_key_record_t* key = (uat_key_record_t *)r; g_free(key->string); g_free(key->label); } static void zbee_free_key_record(gpointer ptr) { key_record_t *k = (key_record_t *)ptr; g_free(k->label); g_free(k); } static void uat_key_record_post_update(void) { guint i; key_record_t key_record; guint8 key[ZBEE_SEC_CONST_KEYSIZE]; /* empty the key ring */ if (zbee_pc_keyring) { g_slist_free_full(zbee_pc_keyring, zbee_free_key_record); zbee_pc_keyring = NULL; } /* Load the pre-configured slist from the UAT. */ for (i=0; (uat_key_records) && (i<num_uat_key_records) ; i++) { if (zbee_security_parse_key(uat_key_records[i].string, key, uat_key_records[i].byte_order)) { key_record.frame_num = ZBEE_SEC_PC_KEY; /* means it's a user PC key */ key_record.label = g_strdup(uat_key_records[i].label); memcpy(key_record.key, key, ZBEE_SEC_CONST_KEYSIZE); zbee_pc_keyring = g_slist_prepend(zbee_pc_keyring, g_memdup2(&key_record, sizeof(key_record_t))); } } } /* * Enable this macro to use libgcrypt's CBC_MAC mode for the authentication * phase. Unfortunately, this is broken, and I don't know why. However, using * the messier EBC mode (to emulate CCM*) still works fine. */ #if 0 #define ZBEE_SEC_USE_GCRYPT_CBC_MAC #endif /*FUNCTION:------------------------------------------------------ * NAME * zbee_security_register * DESCRIPTION * Called by proto_register_zbee_nwk() to initialize the security * dissectors. * PARAMETERS * module_t zbee_prefs - Prefs module to load preferences under. * RETURNS * none *--------------------------------------------------------------- */ void zbee_security_register(module_t *zbee_prefs, int proto) { static hf_register_info hf[] = { { &hf_zbee_sec_field, { "Security Control Field", "zbee.sec.field", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_sec_level, { "Security Level", "zbee.sec.sec_level", FT_UINT8, BASE_HEX, NULL, ZBEE_SEC_CONTROL_LEVEL, NULL, HFILL }}, { &hf_zbee_sec_key_id, { "Key Id", "zbee.sec.key_id", FT_UINT8, BASE_HEX, VALS(zbee_sec_key_names), ZBEE_SEC_CONTROL_KEY, NULL, HFILL }}, { &hf_zbee_sec_nonce, { "Extended Nonce", "zbee.sec.ext_nonce", FT_BOOLEAN, 8, NULL, ZBEE_SEC_CONTROL_NONCE, NULL, HFILL }}, { &hf_zbee_sec_counter, { "Frame Counter", "zbee.sec.counter", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_sec_src64, { "Extended Source", "zbee.sec.src64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_sec_key_seqno, { "Key Sequence Number", "zbee.sec.key_seqno", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_sec_mic, { "Message Integrity Code", "zbee.sec.mic", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_sec_key, { "Key", "zbee.sec.key", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_sec_key_origin, { "Key Origin", "zbee.sec.key.origin", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_sec_decryption_key, { "Key Label", "zbee.sec.decryption_key", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }} }; static gint *ett[] = { &ett_zbee_sec, &ett_zbee_sec_control }; static ei_register_info ei[] = { { &ei_zbee_sec_encrypted_payload, { "zbee_sec.encrypted_payload", PI_UNDECODED, PI_WARN, "Encrypted Payload", EXPFILL }}, { &ei_zbee_sec_encrypted_payload_sliced, { "zbee_sec.encrypted_payload_sliced", PI_UNDECODED, PI_WARN, "Encrypted payload, cut short when capturing - can't decrypt", EXPFILL }}, { &ei_zbee_sec_extended_source_unknown, { "zbee_sec.extended_source_unknown", PI_PROTOCOL, PI_NOTE, "Extended Source: Unknown", EXPFILL }}, }; expert_module_t* expert_zbee_sec; static uat_field_t key_uat_fields[] = { UAT_FLD_CSTRING(uat_key_records, string, "Key", "A 16-byte key in hexadecimal with optional dash-,\n" "colon-, or space-separator characters, or a\n" "a 16-character string in double-quotes."), UAT_FLD_VS(uat_key_records, byte_order, "Byte Order", byte_order_vals, "Byte order of key."), UAT_FLD_CSTRING(uat_key_records, label, "Label", "User label for key."), UAT_END_FIELDS }; /* If no prefs module was supplied, register our own. */ if (zbee_prefs == NULL) { zbee_prefs = prefs_register_protocol(proto, NULL); } /* Register preferences */ prefs_register_enum_preference(zbee_prefs, "seclevel", "Security Level", "Specifies the security level to use in the\n" "decryption process. This value is ignored\n" "for ZigBee 2004 and unsecured networks.", &gPREF_zbee_sec_level, zbee_sec_level_enums, FALSE); zbee_sec_key_table_uat = uat_new("Pre-configured Keys", sizeof(uat_key_record_t), "zigbee_pc_keys", TRUE, &uat_key_records, &num_uat_key_records, UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */ NULL, /* TODO: ptr to help manual? */ uat_key_record_copy_cb, uat_key_record_update_cb, uat_key_record_free_cb, uat_key_record_post_update, NULL, key_uat_fields ); prefs_register_uat_preference(zbee_prefs, "key_table", "Pre-configured Keys", "Pre-configured link or network keys.", zbee_sec_key_table_uat); proto_register_field_array(proto, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_zbee_sec = expert_register_protocol(proto); expert_register_field_array(expert_zbee_sec, ei, array_length(ei)); } /* zbee_security_register */ /*FUNCTION:------------------------------------------------------ * NAME * zbee_security_parse_key * DESCRIPTION * Parses a key string from left to right into a buffer with * increasing (normal byte order) or decreasing (reverse byte * order) address. * PARAMETERS * const gchar *key_str - pointer to the string * guint8 *key_buf - destination buffer in memory * gboolean big_end - fill key_buf with incrementing address * RETURNS * gboolean *--------------------------------------------------------------- */ static gboolean zbee_security_parse_key(const gchar *key_str, guint8 *key_buf, gboolean byte_order) { int i, j; gchar temp; gboolean string_mode = FALSE; /* Clear the key. */ memset(key_buf, 0, ZBEE_SEC_CONST_KEYSIZE); if (key_str == NULL) { return FALSE; } /* * Attempt to parse the key string. The key string must * be at least 16 pairs of hexidecimal digits with the * following optional separators: ':', '-', " ", or 16 * alphanumeric characters after a double-quote. */ if ( (temp = *key_str++) == '"') { string_mode = TRUE; temp = *key_str++; } j = byte_order?ZBEE_SEC_CONST_KEYSIZE-1:0; for (i=ZBEE_SEC_CONST_KEYSIZE-1; i>=0; i--) { if ( string_mode ) { if ( g_ascii_isprint(temp) ) { key_buf[j] = temp; temp = *key_str++; } else { return FALSE; } } else { /* If this character is a separator, skip it. */ if ( (temp == ':') || (temp == '-') || (temp == ' ') ) temp = *(key_str++); /* Process a nibble. */ if ( g_ascii_isxdigit (temp) ) key_buf[j] = g_ascii_xdigit_value(temp)<<4; else return FALSE; /* Get the next nibble. */ temp = *(key_str++); /* Process another nibble. */ if ( g_ascii_isxdigit (temp) ) key_buf[j] |= g_ascii_xdigit_value(temp); else return FALSE; /* Get the next nibble. */ temp = *(key_str++); } /* Move key_buf pointer */ if ( byte_order ) { j--; } else { j++; } } /* for */ /* If we get this far, then the key was good. */ return TRUE; } /* zbee_security_parse_key */ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_secure * DESCRIPTION * Dissects and decrypts secured ZigBee frames. * * Will return a valid tvbuff only if security processing was * successful. If processing fails, then this function will * handle internally and return NULL. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint offset - pointer to the start of the auxiliary security header. * guint64 src64 - extended source address, or 0 if unknown. * RETURNS * tvbuff_t * *--------------------------------------------------------------- */ tvbuff_t * dissect_zbee_secure(tvbuff_t *tvb, packet_info *pinfo, proto_tree* tree, guint offset) { proto_tree *sec_tree; zbee_security_packet packet; guint mic_len; gint payload_len; tvbuff_t *payload_tvb; proto_item *ti; proto_item *key_item; guint8 *enc_buffer; guint8 *dec_buffer; gboolean decrypted; GSList **nwk_keyring; GSList *GSList_i; key_record_t *key_rec = NULL; zbee_nwk_hints_t *nwk_hints; ieee802154_hints_t *ieee_hints; ieee802154_map_rec *map_rec = NULL; static int * const sec_flags[] = { &hf_zbee_sec_level, &hf_zbee_sec_key_id, &hf_zbee_sec_nonce, NULL }; /* Init */ memset(&packet, 0, sizeof(zbee_security_packet)); /* Get pointers to any useful frame data from lower layers */ nwk_hints = (zbee_nwk_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_get_id_by_filter_name(ZBEE_PROTOABBREV_NWK), 0); ieee_hints = (ieee802154_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_get_id_by_filter_name(IEEE802154_PROTOABBREV_WPAN), 0); /* Create a subtree for the security information. */ sec_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zbee_sec, NULL, "ZigBee Security Header"); /* Get and display the Security control field */ packet.control = tvb_get_guint8(tvb, offset); /* Patch the security level. */ packet.control &= ~ZBEE_SEC_CONTROL_LEVEL; packet.control |= (ZBEE_SEC_CONTROL_LEVEL & gPREF_zbee_sec_level); /* * Eww, I think I just threw up a little... ZigBee requires this field * to be patched before computing the MIC, but we don't have write-access * to the tvbuff. So we need to allocate a copy of the whole thing just * so we can fix these 3 bits. Memory allocated by tvb_memdup(pinfo->pool,...) * is automatically freed before the next packet is processed. */ enc_buffer = (guint8 *)tvb_memdup(pinfo->pool, tvb, 0, tvb_captured_length(tvb)); /* * Override the const qualifiers and patch the security level field, we * know it is safe to overide the const qualifiers because we just * allocated this memory via tvb_memdup(pinfo->pool,...). */ enc_buffer[offset] = packet.control; packet.level = zbee_get_bit_field(packet.control, ZBEE_SEC_CONTROL_LEVEL); packet.key_id = zbee_get_bit_field(packet.control, ZBEE_SEC_CONTROL_KEY); packet.nonce = zbee_get_bit_field(packet.control, ZBEE_SEC_CONTROL_NONCE); proto_tree_add_bitmask(sec_tree, tvb, offset, hf_zbee_sec_field, ett_zbee_sec_control, sec_flags, ENC_NA); offset += 1; /* Get and display the frame counter field. */ packet.counter = tvb_get_letohl(tvb, offset); proto_tree_add_uint(sec_tree, hf_zbee_sec_counter, tvb, offset, 4, packet.counter); offset += 4; if (packet.nonce) { /* Get and display the source address of the device that secured this payload. */ packet.src64 = tvb_get_letoh64(tvb, offset); proto_tree_add_item(sec_tree, hf_zbee_sec_src64, tvb, offset, 8, ENC_LITTLE_ENDIAN); #if 1 if (!pinfo->fd->visited) { switch ( packet.key_id ) { case ZBEE_SEC_KEY_LINK: if (nwk_hints && ieee_hints) { /* Map this long address with the nwk layer short address. */ nwk_hints->map_rec = ieee802154_addr_update(&zbee_nwk_map, nwk_hints->src, ieee_hints->src_pan, packet.src64, pinfo->current_proto, pinfo->num); } break; case ZBEE_SEC_KEY_NWK: if (ieee_hints) { /* Map this long address with the ieee short address. */ ieee_hints->map_rec = ieee802154_addr_update(&zbee_nwk_map, ieee_hints->src16, ieee_hints->src_pan, packet.src64, pinfo->current_proto, pinfo->num); } break; /* We ignore the extended source addresses used to encrypt payloads with these * types of keys, because they can emerge from APS tunnels created by nodes whose * short address is not recorded in the packet. */ case ZBEE_SEC_KEY_TRANSPORT: case ZBEE_SEC_KEY_LOAD: break; } } #endif offset += 8; } else { /* Look for a source address in hints */ switch ( packet.key_id ) { case ZBEE_SEC_KEY_NWK: /* use the ieee extended source address for NWK decryption */ if ( ieee_hints && (map_rec = ieee_hints->map_rec) ) packet.src64 = map_rec->addr64; else proto_tree_add_expert(sec_tree, pinfo, &ei_zbee_sec_extended_source_unknown, tvb, 0, 0); break; default: /* use the nwk extended source address for APS decryption */ if ( nwk_hints && (map_rec = nwk_hints->map_rec) ) { switch (nwk_hints->relay_type) { case ZBEE_APS_RELAY_DOWNSTREAM: { ieee802154_short_addr addr16; /* In case of downstream Relay must use long address * of ZC. Seek for it in the address translation * table. */ addr16.addr = 0; addr16.pan = ieee_hints->src_pan; map_rec = (ieee802154_map_rec *) g_hash_table_lookup(zbee_nwk_map.short_table, &addr16); if (map_rec) { packet.src64 = map_rec->addr64; } } break; case ZBEE_APS_RELAY_UPSTREAM: /* In case of downstream Relay must use long address of Joiner from the Relay message */ packet.src64 = nwk_hints->joiner_addr64; break; default: packet.src64 = map_rec->addr64; break; } } else proto_tree_add_expert(sec_tree, pinfo, &ei_zbee_sec_extended_source_unknown, tvb, 0, 0); break; } } if (packet.key_id == ZBEE_SEC_KEY_NWK) { /* Get and display the key sequence number. */ packet.key_seqno = tvb_get_guint8(tvb, offset); proto_tree_add_uint(sec_tree, hf_zbee_sec_key_seqno, tvb, offset, 1, packet.key_seqno); offset += 1; } /* Determine the length of the MIC. */ switch (packet.level) { case ZBEE_SEC_ENC: case ZBEE_SEC_NONE: default: mic_len=0; break; case ZBEE_SEC_ENC_MIC32: case ZBEE_SEC_MIC32: mic_len=4; break; case ZBEE_SEC_ENC_MIC64: case ZBEE_SEC_MIC64: mic_len=8; break; case ZBEE_SEC_ENC_MIC128: case ZBEE_SEC_MIC128: mic_len=16; break; } /* switch */ /* Get and display the MIC. */ if (mic_len) { /* Display the MIC. */ proto_tree_add_item(sec_tree, hf_zbee_sec_mic, tvb, (gint)(tvb_captured_length(tvb)-mic_len), mic_len, ENC_NA); } payload_len = tvb_reported_length_remaining(tvb, offset+mic_len); /* Check for null payload. */ if (payload_len == 0) return NULL; /********************************************** * Perform Security Operations on the Frame * ********************************************** */ if ((packet.level == ZBEE_SEC_NONE) || (packet.level == ZBEE_SEC_MIC32) || (packet.level == ZBEE_SEC_MIC64) || (packet.level == ZBEE_SEC_MIC128)) { /* Payload is only integrity protected. Just return the sub-tvbuff. */ return tvb_new_subset_length(tvb, offset, payload_len); } /* Have we captured all the payload? */ if (tvb_captured_length_remaining(tvb, offset+mic_len) < payload_len) { /* * No - don't try to decrypt it. * * XXX - it looks as if the decryption code is assuming we have the * MIC, which won't be the case if the packet was cut short. Is * that in fact that case, or can we still make this work with a * partially-captured packet? */ /* Add expert info. */ expert_add_info(pinfo, sec_tree, &ei_zbee_sec_encrypted_payload_sliced); /* Create a buffer for the undecrypted payload. */ payload_tvb = tvb_new_subset_length(tvb, offset, payload_len); /* Dump the payload to the data dissector. */ call_data_dissector(payload_tvb, pinfo, tree); /* Couldn't decrypt, so return NULL. */ return NULL; } /* Allocate memory to decrypt the payload into. */ dec_buffer = (guint8 *)wmem_alloc(pinfo->pool, payload_len); decrypted = FALSE; if ( packet.src64 ) { if (pinfo->fd->visited) { if ( nwk_hints ) { /* Use previously found key */ switch ( packet.key_id ) { case ZBEE_SEC_KEY_NWK: if ( (key_rec = nwk_hints->nwk) ) { decrypted = zbee_sec_decrypt_payload( &packet, enc_buffer, offset, dec_buffer, payload_len, mic_len, nwk_hints->nwk->key); } break; default: if ( (key_rec = nwk_hints->link) ) { decrypted = zbee_sec_decrypt_payload( &packet, enc_buffer, offset, dec_buffer, payload_len, mic_len, nwk_hints->link->key); } break; } } } /* ( !pinfo->fd->visited ) */ else { /* We only search for sniffed keys in the first pass, * to save time, and because decrypting with keys * transported in future packets is cheating */ /* Lookup NWK and link key in hash for this pan. */ /* This overkill approach is a placeholder for a hash that looks up * a key ring for a link key associated with a pair of devices. */ if ( nwk_hints ) { nwk_keyring = (GSList **)g_hash_table_lookup(zbee_table_nwk_keyring, &nwk_hints->src_pan); if ( nwk_keyring ) { GSList_i = *nwk_keyring; while ( GSList_i && !decrypted ) { decrypted = zbee_sec_decrypt_payload( &packet, enc_buffer, offset, dec_buffer, payload_len, mic_len, ((key_record_t *)(GSList_i->data))->key); if (decrypted) { /* save pointer to the successful key record */ switch (packet.key_id) { case ZBEE_SEC_KEY_NWK: key_rec = nwk_hints->nwk = (key_record_t *)(GSList_i->data); break; default: key_rec = nwk_hints->link = (key_record_t *)(GSList_i->data); break; } } else { GSList_i = g_slist_next(GSList_i); } } } /* Loop through user's password table for preconfigured keys, our last resort */ GSList_i = zbee_pc_keyring; while ( GSList_i && !decrypted ) { decrypted = zbee_sec_decrypt_payload( &packet, enc_buffer, offset, dec_buffer, payload_len, mic_len, ((key_record_t *)(GSList_i->data))->key); if (decrypted) { /* save pointer to the successful key record */ switch (packet.key_id) { case ZBEE_SEC_KEY_NWK: key_rec = nwk_hints->nwk = (key_record_t *)(GSList_i->data); break; default: key_rec = nwk_hints->link = (key_record_t *)(GSList_i->data); break; } } else { GSList_i = g_slist_next(GSList_i); } } } } /* ( ! pinfo->fd->visited ) */ } /* ( packet.src64 ) */ if ( decrypted ) { if ( tree && key_rec ) { key_item = proto_tree_add_bytes(sec_tree, hf_zbee_sec_key, tvb, 0, ZBEE_SEC_CONST_KEYSIZE, key_rec->key); proto_item_set_generated(key_item); if ( key_rec->frame_num == ZBEE_SEC_PC_KEY ) { ti = proto_tree_add_string(sec_tree, hf_zbee_sec_decryption_key, tvb, 0, 0, key_rec->label); } else { ti = proto_tree_add_uint(sec_tree, hf_zbee_sec_key_origin, tvb, 0, 0, key_rec->frame_num); } proto_item_set_generated(ti); } /* Found a key that worked, setup the new tvbuff_t and return */ payload_tvb = tvb_new_child_real_data(tvb, dec_buffer, payload_len, payload_len); add_new_data_source(pinfo, payload_tvb, "Decrypted ZigBee Payload"); /* Done! */ return payload_tvb; } /* Add expert info. */ expert_add_info(pinfo, sec_tree, &ei_zbee_sec_encrypted_payload); /* Create a buffer for the undecrypted payload. */ payload_tvb = tvb_new_subset_length(tvb, offset, payload_len); /* Dump the payload to the data dissector. */ call_data_dissector(payload_tvb, pinfo, tree); /* Couldn't decrypt, so return NULL. */ return NULL; } /* dissect_zbee_secure */ /*FUNCTION:------------------------------------------------------ * NAME * zbee_sec_decrypt_payload * DESCRIPTION * Creates a nonce and decrypts a secured payload. * PARAMETERS * gchar *nonce - Nonce Buffer. * zbee_security_packet *packet - Security information. * RETURNS * void *--------------------------------------------------------------- */ static gboolean zbee_sec_decrypt_payload(zbee_security_packet *packet, const gchar *enc_buffer, const gchar offset, guint8 *dec_buffer, guint payload_len, guint mic_len, guint8 *key) { guint8 nonce[ZBEE_SEC_CONST_NONCE_LEN]; guint8 buffer[ZBEE_SEC_CONST_BLOCKSIZE+1]; guint8 *key_buffer = buffer; switch (packet->key_id) { case ZBEE_SEC_KEY_NWK: /* Decrypt with the PAN's current network key */ case ZBEE_SEC_KEY_LINK: /* Decrypt with the unhashed link key assigned by the trust center to this * source/destination pair */ key_buffer = key; break; case ZBEE_SEC_KEY_TRANSPORT: /* Decrypt with a Key-Transport key, a hashed link key that protects network * keys sent from the trust center */ zbee_sec_key_hash(key, 0x00, buffer); key_buffer = buffer; break; case ZBEE_SEC_KEY_LOAD: /* Decrypt with a Key-Load key, a hashed link key that protects link keys * sent from the trust center. */ zbee_sec_key_hash(key, 0x02, buffer); key_buffer = buffer; break; default: break; } /* switch */ /* Perform Decryption. */ zbee_sec_make_nonce(packet, nonce); if ( zbee_sec_ccm_decrypt(key_buffer, /* key */ nonce, /* Nonce */ enc_buffer, /* a, length l(a) */ enc_buffer+offset, /* c, length l(c) = l(m) + M */ dec_buffer, /* m, length l(m) */ offset, /* l(a) */ payload_len, /* l(m) */ mic_len) ) { /* M */ return TRUE; } else return FALSE; } /*FUNCTION:------------------------------------------------------ * NAME * zbee_sec_make_nonce * DESCRIPTION * Fills in the ZigBee security nonce from the provided security * packet structure. * PARAMETERS * zbee_security_packet *packet - Security information. * gchar *nonce - Nonce Buffer. * RETURNS * void *--------------------------------------------------------------- */ static void zbee_sec_make_nonce(zbee_security_packet *packet, guint8 *nonce) { /* First 8 bytes are the extended source address (little endian). */ phtole64(nonce, packet->src64); nonce += 8; /* Next 4 bytes are the frame counter (little endian). */ phtole32(nonce, packet->counter); nonce += 4; /* Next byte is the security control field. */ *(nonce) = packet->control; } /* zbee_sec_make_nonce */ /*FUNCTION:------------------------------------------------------ * NAME * zbee_sec_ccm_decrypt * DESCRIPTION * Performs the Reverse CCM* Transformation (specified in * section A.3 of ZigBee Specification (053474r17). * * The length of parameter c (l(c)) is derived from the length * of the payload and length of the MIC tag. Input buffer a * will NOT be modified. * * When l_m is 0, then there is no payload to encrypt (ie: the * payload is in plaintext), and this function will perform * MIC verification only. When l_m is 0, m may be NULL. * PARAMETERS * gchar *key - ZigBee Security Key (must be ZBEE_SEC_CONST_KEYSIZE) in length. * gchar *nonce - ZigBee CCM* Nonce (must be ZBEE_SEC_CONST_NONCE_LEN) in length. * gchar *a - CCM* Parameter a (must be l(a) in length). Additional data covered * by the authentication process. * gchar *c - CCM* Parameter c (must be l(c) = l(m) + M in length). Encrypted * payload + encrypted authentication tag U. * gchar *m - CCM* Output (must be l(m) in length). Decrypted Payload. * guint l_a - l(a), length of CCM* parameter a. * guint l_m - l(m), length of expected payload. * guint M - M, length of CCM* authentication tag. * RETURNS * gboolean - TRUE if successful. *--------------------------------------------------------------- */ gboolean zbee_sec_ccm_decrypt(const gchar *key, /* Input */ const gchar *nonce, /* Input */ const gchar *a, /* Input */ const gchar *c, /* Input */ gchar *m, /* Output */ guint l_a, /* sizeof(a) */ guint l_m, /* sizeof(m) */ guint M) /* sizeof(c) - sizeof(m) = sizeof(MIC) */ { guint8 cipher_in[ZBEE_SEC_CONST_BLOCKSIZE]; guint8 cipher_out[ZBEE_SEC_CONST_BLOCKSIZE]; guint8 decrypted_mic[ZBEE_SEC_CONST_BLOCKSIZE]; guint i, j; /* Cipher Instance. */ gcry_cipher_hd_t cipher_hd; /* Sanity-Check. */ if (M > ZBEE_SEC_CONST_BLOCKSIZE) return FALSE; /* * The CCM* counter is L bytes in length, ensure that the payload * isn't long enough to overflow it. */ if ((1 + (l_a/ZBEE_SEC_CONST_BLOCKSIZE)) > (1<<(ZBEE_SEC_CONST_L*8))) return FALSE; /****************************************************** * Step 1: Encryption/Decryption Transformation ****************************************************** */ /* Create the CCM* counter block A0 */ memset(cipher_in, 0, ZBEE_SEC_CONST_BLOCKSIZE); cipher_in[0] = ZBEE_SEC_CCM_FLAG_L; memcpy(cipher_in + 1, nonce, ZBEE_SEC_CONST_NONCE_LEN); /* * The encryption/decryption process of CCM* works in CTR mode. Open a CTR * mode cipher for this phase. NOTE: The 'counter' part of the CCM* counter * block is the last two bytes, and is big-endian. */ if (gcry_cipher_open(&cipher_hd, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_CTR, 0)) { return FALSE; } /* Set the Key. */ if (gcry_cipher_setkey(cipher_hd, key, ZBEE_SEC_CONST_KEYSIZE)) { gcry_cipher_close(cipher_hd); return FALSE; } /* Set the counter. */ if (gcry_cipher_setctr(cipher_hd, cipher_in, ZBEE_SEC_CONST_BLOCKSIZE)) { gcry_cipher_close(cipher_hd); return FALSE; } /* * Copy the MIC into the stack buffer. We need to feed the cipher a full * block when decrypting the MIC (so that the payload starts on the second * block). However, the MIC may be less than a full block so use a fixed * size buffer to store the MIC, letting the CTR cipher overstep the MIC * if need be. */ memset(decrypted_mic, 0, ZBEE_SEC_CONST_BLOCKSIZE); memcpy(decrypted_mic, c + l_m, M); /* Encrypt/Decrypt the MIC in-place. */ if (gcry_cipher_encrypt(cipher_hd, decrypted_mic, ZBEE_SEC_CONST_BLOCKSIZE, decrypted_mic, ZBEE_SEC_CONST_BLOCKSIZE)) { gcry_cipher_close(cipher_hd); return FALSE; } /* Encrypt/Decrypt the payload. */ if (gcry_cipher_encrypt(cipher_hd, m, l_m, c, l_m)) { gcry_cipher_close(cipher_hd); return FALSE; } /* Done with the CTR Cipher. */ gcry_cipher_close(cipher_hd); /****************************************************** * Step 3: Authentication Transformation ****************************************************** */ if (M == 0) { /* There is no authentication tag. We're done! */ return TRUE; } /* * The authentication process in CCM* operates in CBC-MAC mode, but * unfortunately, the input to the CBC-MAC process needs some substantial * transformation and padding before we can feed it into the CBC-MAC * algorithm. Instead we will operate in ECB mode and perform the * transformation and padding on the fly. * * I also think that libgcrypt requires the input to be memory-aligned * when using CBC-MAC mode, in which case can't just feed it with data * from the packet buffer. All things considered it's just a lot easier * to use ECB mode and do CBC-MAC manually. */ /* Re-open the cipher in ECB mode. */ if (gcry_cipher_open(&cipher_hd, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_ECB, 0)) { return FALSE; } /* Re-load the key. */ if (gcry_cipher_setkey(cipher_hd, key, ZBEE_SEC_CONST_KEYSIZE)) { gcry_cipher_close(cipher_hd); return FALSE; } /* Generate the first cipher block B0. */ cipher_in[0] = ZBEE_SEC_CCM_FLAG_M(M) | ZBEE_SEC_CCM_FLAG_ADATA(l_a) | ZBEE_SEC_CCM_FLAG_L; memcpy(cipher_in+sizeof(gchar), nonce, ZBEE_SEC_CONST_NONCE_LEN); for (i=0;i<ZBEE_SEC_CONST_L; i++) { cipher_in[(ZBEE_SEC_CONST_BLOCKSIZE-1)-i] = (l_m >> (8*i)) & 0xff; } /* for */ /* Generate the first cipher block, X1 = E(Key, 0^128 XOR B0). */ if (gcry_cipher_encrypt(cipher_hd, cipher_out, ZBEE_SEC_CONST_BLOCKSIZE, cipher_in, ZBEE_SEC_CONST_BLOCKSIZE)) { gcry_cipher_close(cipher_hd); return FALSE; } /* * We avoid mallocing() big chunks of memory by recycling small stack * buffers for the encryption process. Throughout this process, j is always * pointed to the position within the current buffer. */ j = 0; /* AuthData = L(a) || a || Padding || m || Padding * Where L(a) = * - an empty string if l(a) == 0. * - 2-octet encoding of l(a) if 0 < l(a) < (2^16 - 2^8) * - 0xff || 0xfe || 4-octet encoding of l(a) if (2^16 - 2^8) <= l(a) < 2^32 * - 0xff || 0xff || 8-octet encoding of l(a) * But for ZigBee, the largest packet size we should ever see is 2^7, so we * are only really concerned with the first two cases. * * To generate the MIC tag CCM* operates similar to CBC-MAC mode. Each block * of AuthData is XOR'd with the last block of cipher output to produce the * next block of cipher output. Padding sections have the minimum non-negative * length such that the padding ends on a block boundary. Padded bytes are 0. */ if (l_a > 0) { /* Process L(a) into the cipher block. */ cipher_in[j] = cipher_out[j] ^ ((l_a >> 8) & 0xff); j++; cipher_in[j] = cipher_out[j] ^ ((l_a >> 0) & 0xff); j++; /* Process a into the cipher block. */ for (i=0;i<l_a;i++,j++) { if (j>=ZBEE_SEC_CONST_BLOCKSIZE) { /* Generate the next cipher block. */ if (gcry_cipher_encrypt(cipher_hd, cipher_out, ZBEE_SEC_CONST_BLOCKSIZE, cipher_in, ZBEE_SEC_CONST_BLOCKSIZE)) { gcry_cipher_close(cipher_hd); return FALSE; } /* Reset j to point back to the start of the new cipher block. */ j = 0; } /* Cipher in = cipher_out ^ a */ cipher_in[j] = cipher_out[j] ^ a[i]; } /* for */ /* Process padding into the cipher block. */ for (;j<ZBEE_SEC_CONST_BLOCKSIZE;j++) cipher_in[j] = cipher_out[j]; } /* Process m into the cipher block. */ for (i=0; i<l_m; i++, j++) { if (j>=ZBEE_SEC_CONST_BLOCKSIZE) { /* Generate the next cipher block. */ if (gcry_cipher_encrypt(cipher_hd, cipher_out, ZBEE_SEC_CONST_BLOCKSIZE, cipher_in, ZBEE_SEC_CONST_BLOCKSIZE)) { gcry_cipher_close(cipher_hd); return FALSE; } /* Reset j to point back to the start of the new cipher block. */ j = 0; } /* Cipher in = cipher out ^ m */ cipher_in[j] = cipher_out[j] ^ m[i]; } /* for */ /* Padding. */ for (;j<ZBEE_SEC_CONST_BLOCKSIZE;j++) cipher_in[j] = cipher_out[j]; /* Generate the last cipher block, which will be the MIC tag. */ if (gcry_cipher_encrypt(cipher_hd, cipher_out, ZBEE_SEC_CONST_BLOCKSIZE, cipher_in, ZBEE_SEC_CONST_BLOCKSIZE)) { gcry_cipher_close(cipher_hd); return FALSE; } /* Done with the Cipher. */ gcry_cipher_close(cipher_hd); /* Compare the MIC's */ return (memcmp(cipher_out, decrypted_mic, M) == 0); } /* zbee_ccm_decrypt */ /*FUNCTION:------------------------------------------------------ * NAME * zbee_sec_hash * DESCRIPTION * ZigBee Cryptographic Hash Function, described in ZigBee * specification sections B.1.3 and B.6. * * This is a Matyas-Meyer-Oseas hash function using the AES-128 * cipher. We use the ECB mode of libgcrypt to get a raw block * cipher. * * Input may be any length, and the output must be exactly 1-block in length. * * Implements the function: * Hash(text) = Hash[t]; * Hash[0] = 0^(blocksize). * Hash[i] = E(Hash[i-1], M[i]) XOR M[j]; * M[i] = i'th block of text, with some padding and flags concatenated. * PARAMETERS * guint8 * input - Hash Input (any length). * guint8 input_len - Hash Input Length. * guint8 * output - Hash Output (exactly one block in length). * RETURNS * void *--------------------------------------------------------------- */ static void zbee_sec_hash(guint8 *input, guint input_len, guint8 *output) { guint8 cipher_in[ZBEE_SEC_CONST_BLOCKSIZE]; guint i, j; /* Cipher Instance. */ gcry_cipher_hd_t cipher_hd; /* Clear the first hash block (Hash0). */ memset(output, 0, ZBEE_SEC_CONST_BLOCKSIZE); /* Create the cipher instance in ECB mode. */ if (gcry_cipher_open(&cipher_hd, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_ECB, 0)) { return; /* Failed. */ } /* Create the subsequent hash blocks using the formula: Hash[i] = E(Hash[i-1], M[i]) XOR M[i] * * because we can't guarantee that M will be exactly a multiple of the * block size, we will need to copy it into local buffers and pad it. * * Note that we check for the next cipher block at the end of the loop * rather than the start. This is so that if the input happens to end * on a block boundary, the next cipher block will be generated for the * start of the padding to be placed into. */ i = 0; j = 0; while (i<input_len) { /* Copy data into the cipher input. */ cipher_in[j++] = input[i++]; /* Check if this cipher block is done. */ if (j >= ZBEE_SEC_CONST_BLOCKSIZE) { /* We have reached the end of this block. Process it with the * cipher, note that the Key input to the cipher is actually * the previous hash block, which we are keeping in output. */ (void)gcry_cipher_setkey(cipher_hd, output, ZBEE_SEC_CONST_BLOCKSIZE); (void)gcry_cipher_encrypt(cipher_hd, output, ZBEE_SEC_CONST_BLOCKSIZE, cipher_in, ZBEE_SEC_CONST_BLOCKSIZE); /* Now we have to XOR the input into the hash block. */ for (j=0;j<ZBEE_SEC_CONST_BLOCKSIZE;j++) output[j] ^= cipher_in[j]; /* Reset j to start again at the beginning at the next block. */ j = 0; } } /* for */ /* Need to append the bit '1', followed by '0' padding long enough to end * the hash input on a block boundary. However, because 'n' is 16, and 'l' * will be a multiple of 8, the padding will be >= 7-bits, and we can just * append the byte 0x80. */ cipher_in[j++] = 0x80; /* Pad with '0' until the current block is exactly 'n' bits from the * end. */ while (j!=(ZBEE_SEC_CONST_BLOCKSIZE-2)) { if (j >= ZBEE_SEC_CONST_BLOCKSIZE) { /* We have reached the end of this block. Process it with the * cipher, note that the Key input to the cipher is actually * the previous hash block, which we are keeping in output. */ (void)gcry_cipher_setkey(cipher_hd, output, ZBEE_SEC_CONST_BLOCKSIZE); (void)gcry_cipher_encrypt(cipher_hd, output, ZBEE_SEC_CONST_BLOCKSIZE, cipher_in, ZBEE_SEC_CONST_BLOCKSIZE); /* Now we have to XOR the input into the hash block. */ for (j=0;j<ZBEE_SEC_CONST_BLOCKSIZE;j++) output[j] ^= cipher_in[j]; /* Reset j to start again at the beginning at the next block. */ j = 0; } /* Pad the input with 0. */ cipher_in[j++] = 0x00; } /* while */ /* Add the 'n'-bit representation of 'l' to the end of the block. */ cipher_in[j++] = ((input_len * 8) >> 8) & 0xff; cipher_in[j] = ((input_len * 8) >> 0) & 0xff; /* Process the last cipher block. */ (void)gcry_cipher_setkey(cipher_hd, output, ZBEE_SEC_CONST_BLOCKSIZE); (void)gcry_cipher_encrypt(cipher_hd, output, ZBEE_SEC_CONST_BLOCKSIZE, cipher_in, ZBEE_SEC_CONST_BLOCKSIZE); /* XOR the last input block back into the cipher output to get the hash. */ for (j=0;j<ZBEE_SEC_CONST_BLOCKSIZE;j++) output[j] ^= cipher_in[j]; /* Cleanup the cipher. */ gcry_cipher_close(cipher_hd); /* Done */ } /* zbee_sec_hash */ /*FUNCTION:------------------------------------------------------ * NAME * zbee_sec_key_hash * DESCRIPTION * ZigBee Keyed Hash Function. Described in ZigBee specification * section B.1.4, and in FIPS Publication 198. Strictly speaking * there is nothing about the Keyed Hash Function which restricts * it to only a single byte input, but that's all ZigBee ever uses. * * This function implements the hash function: * Hash(Key, text) = H((Key XOR opad) || H((Key XOR ipad) || text)); * ipad = 0x36 repeated. * opad = 0x5c repeated. * H() = ZigBee Cryptographic Hash (B.1.3 and B.6). * PARAMETERS * guint8 *key - ZigBee Security Key (must be ZBEE_SEC_CONST_KEYSIZE) in length. * guint8 input - ZigBee CCM* Nonce (must be ZBEE_SEC_CONST_NONCE_LEN) in length. * guint8 *hash_out - buffer into which the key-hashed output is placed * RETURNS * void *--------------------------------------------------------------- */ static void zbee_sec_key_hash(guint8 *key, guint8 input, guint8 *hash_out) { guint8 hash_in[2*ZBEE_SEC_CONST_BLOCKSIZE]; int i; static const guint8 ipad = 0x36; static const guint8 opad = 0x5c; /* Copy the key into hash_in and XOR with opad to form: (Key XOR opad) */ for (i=0; i<ZBEE_SEC_CONST_KEYSIZE; i++) hash_in[i] = key[i] ^ opad; /* Copy the Key into hash_out and XOR with ipad to form: (Key XOR ipad) */ for (i=0; i<ZBEE_SEC_CONST_KEYSIZE; i++) hash_out[i] = key[i] ^ ipad; /* Append the input byte to form: (Key XOR ipad) || text. */ hash_out[ZBEE_SEC_CONST_BLOCKSIZE] = input; /* Hash the contents of hash_out and append the contents to hash_in to * form: (Key XOR opad) || H((Key XOR ipad) || text). */ zbee_sec_hash(hash_out, ZBEE_SEC_CONST_BLOCKSIZE+1, hash_in+ZBEE_SEC_CONST_BLOCKSIZE); /* Hash the contents of hash_in to get the final result. */ zbee_sec_hash(hash_in, 2*ZBEE_SEC_CONST_BLOCKSIZE, hash_out); } /* zbee_sec_key_hash */ /** *Add NWK or APS key into NWK keyring * *@param pinfo pointer to packet information fields *@param key APS or NWK key */ void zbee_sec_add_key_to_keyring(packet_info *pinfo, const guint8 *key) { GSList **nwk_keyring; key_record_t key_record; zbee_nwk_hints_t *nwk_hints; /* Update the key ring for this pan */ if ( !pinfo->fd->visited && (nwk_hints = (zbee_nwk_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_get_id_by_filter_name(ZBEE_PROTOABBREV_NWK), 0))) { nwk_keyring = (GSList **)g_hash_table_lookup(zbee_table_nwk_keyring, &nwk_hints->src_pan); if ( !nwk_keyring ) { nwk_keyring = (GSList **)g_malloc0(sizeof(GSList*)); g_hash_table_insert(zbee_table_nwk_keyring, g_memdup2(&nwk_hints->src_pan, sizeof(nwk_hints->src_pan)), nwk_keyring); } if ( nwk_keyring ) { if ( !*nwk_keyring || memcmp( ((key_record_t *)((GSList *)(*nwk_keyring))->data)->key, key, ZBEE_APS_CMD_KEY_LENGTH) ) { /* Store a new or different key in the key ring */ key_record.frame_num = pinfo->num; key_record.label = NULL; memcpy(&key_record.key, key, ZBEE_APS_CMD_KEY_LENGTH); *nwk_keyring = g_slist_prepend(*nwk_keyring, g_memdup2(&key_record, sizeof(key_record_t))); } } } } /* nwk_add_key_to_keyring */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-zbee-security.h
/* packet-zbee-security.h * Dissector helper routines for encrypted ZigBee frames. * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_ZBEE_SECURITY_H #define PACKET_ZBEE_SECURITY_H /* Structure containing the fields stored in the Aux Header */ typedef struct{ /* The fields of the Aux Header */ guint8 control; /* needed to decrypt */ guint32 counter; /* needed to decrypt */ guint64 src64; /* needed to decrypt */ guint8 key_seqno; guint8 level; guint8 key_id; /* needed to decrypt */ gboolean nonce; } zbee_security_packet; /* Bit masks for the Security Control Field. */ #define ZBEE_SEC_CONTROL_LEVEL 0x07 #define ZBEE_SEC_CONTROL_KEY 0x18 #define ZBEE_SEC_CONTROL_NONCE 0x20 /* ZigBee security levels. */ #define ZBEE_SEC_NONE 0x00 #define ZBEE_SEC_MIC32 0x01 #define ZBEE_SEC_MIC64 0x02 #define ZBEE_SEC_MIC128 0x03 #define ZBEE_SEC_ENC 0x04 #define ZBEE_SEC_ENC_MIC32 0x05 #define ZBEE_SEC_ENC_MIC64 0x06 #define ZBEE_SEC_ENC_MIC128 0x07 /* ZigBee Key Types */ #define ZBEE_SEC_KEY_LINK 0x00 #define ZBEE_SEC_KEY_NWK 0x01 #define ZBEE_SEC_KEY_TRANSPORT 0x02 #define ZBEE_SEC_KEY_LOAD 0x03 /* ZigBee Security Constants. */ #define ZBEE_SEC_CONST_L 2 #define ZBEE_SEC_CONST_NONCE_LEN (ZBEE_SEC_CONST_BLOCKSIZE-ZBEE_SEC_CONST_L-1) #define ZBEE_SEC_CONST_BLOCKSIZE 16 /* CCM* Flags */ #define ZBEE_SEC_CCM_FLAG_L 0x01 /* 3-bit encoding of (L-1). */ #define ZBEE_SEC_CCM_FLAG_M(m) ((((m-2)/2) & 0x7)<<3) /* 3-bit encoding of (M-2)/2 shifted 3 bits. */ #define ZBEE_SEC_CCM_FLAG_ADATA(l_a) ((l_a>0)?0x40:0x00) /* Adata flag. */ /* Program Constants */ #define ZBEE_SEC_PC_KEY 0 /* Init routine for the Security dissectors. */ extern void zbee_security_register (module_t *module, int proto); /* Security Dissector Routine. */ extern tvbuff_t *dissect_zbee_secure(tvbuff_t *, packet_info *, proto_tree *, guint); extern gboolean zbee_sec_ccm_decrypt(const gchar *, const gchar *, const gchar *, const gchar *, gchar *, guint, guint, guint); /* nwk key ring update */ extern void zbee_sec_add_key_to_keyring(packet_info *, const guint8 *); #endif /* PACKET_ZBEE_SECURITY_H */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-tlv.c
/* packet-zbee-tlv.c * Dissector routines for the Zbee TLV (R23+) * Copyright 2021 DSR Corporation, http://dsr-wireless.com/ * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include <config.h> #include <epan/packet.h> #include <epan/proto_data.h> #include "packet-ieee802154.h" #include "packet-ieee802154.h" #include "packet-zbee-tlv.h" #include "packet-zbee.h" #include "packet-zbee-nwk.h" #include "packet-zbee-zdp.h" #include "packet-zbee-aps.h" #include "conversation.h" /*------------------------------------- * Dissector Function Prototypes *------------------------------------- */ static int dissect_zbee_tlv_default(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_); static guint dissect_zdp_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint cmd_id); static guint dissect_aps_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, void *data, guint cmd_id); static guint dissect_unknown_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); //Global TLV Dissector Routines static guint dissect_zbee_tlv_manufacturer_specific(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint8 length); static guint dissect_zbee_tlv_supported_key_negotiation_methods(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_configuration_parameters(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_dev_cap_ext(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_panid_conflict_report(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_next_pan_id(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_next_channel_change(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_passphrase(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_router_information(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_fragmentation_parameters(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_potential_parents(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); //Local TLV Dissector Routines static guint dissect_zbee_tlv_selected_key_negotiation_method(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_curve25519_public_point(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_eui64(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_clear_all_bindigs_eui64(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_requested_auth_token_id(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_target_ieee_address(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); static guint dissect_zbee_tlv_device_auth_level(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset); void proto_register_zbee_tlv(void); /* Initialize Protocol and Registered fields */ static int proto_zbee_tlv = -1; static dissector_handle_t zigbee_aps_handle; static int hf_zbee_tlv_global_type = -1; static int hf_zbee_tlv_local_type_key_update_req_rsp = -1; static int hf_zbee_tlv_local_type_key_negotiation_req_rsp = -1; static int hf_zbee_tlv_local_type_get_auth_level_rsp = -1; static int hf_zbee_tlv_local_type_clear_all_bindings_req = -1; static int hf_zbee_tlv_local_type_req_security_get_auth_token = -1; static int hf_zbee_tlv_local_type_req_security_get_auth_level = -1; static int hf_zbee_tlv_local_type_req_security_decommission = -1; static int hf_zbee_tlv_local_type_req_beacon_survey = -1; static int hf_zbee_tlv_local_type_rsp_beacon_survey = -1; static int hf_zbee_tlv_local_type_req_challenge = -1; static int hf_zbee_tlv_local_type_rsp_challenge = -1; static int hf_zbee_tlv_local_type_rsp_set_configuration = -1; static int hf_zbee_tlv_length = -1; static int hf_zbee_tlv_type = -1; static int hf_zbee_tlv_value = -1; static int hf_zbee_tlv_count = -1; static int hf_zbee_tlv_manufacturer_specific = -1; static int hf_zbee_zdp_tlv_status_count = -1; static int hf_zbee_zdp_tlv_type_id = -1; static int hf_zbee_zdp_tlv_proc_status = -1; static int hf_zbee_tlv_next_pan_id = -1; static int hf_zbee_tlv_next_channel_change =-1; static int hf_zbee_tlv_passphrase = -1; static int hf_zbee_tlv_configuration_param = -1; static int hf_zbee_tlv_configuration_param_restricted_mode =-1; static int hf_zbee_tlv_configuration_param_link_key_enc = -1; static int hf_zbee_tlv_configuration_param_leave_req_allowed = -1; static int hf_zbee_tlv_dev_cap_ext_capability_information = -1; static int hf_zbee_tlv_dev_cap_ext_zbdirect_virt_device = -1; static int hf_zbee_tlv_challenge_value = -1; static int hf_zbee_tlv_aps_frame_counter = -1; static int hf_zbee_tlv_challenge_counter = -1; static int hf_zbee_tlv_mic64 = -1; static int hf_zbee_tlv_lqa = -1; static int hf_zbee_tlv_router_information = -1; static int hf_zbee_tlv_router_information_hub_connectivity = -1; static int hf_zbee_tlv_router_information_uptime = -1; static int hf_zbee_tlv_router_information_pref_parent = -1; static int hf_zbee_tlv_router_information_battery_backup = -1; static int hf_zbee_tlv_router_information_enhanced_beacon_request_support = -1; static int hf_zbee_tlv_router_information_mac_data_poll_keepalive_support = -1; static int hf_zbee_tlv_router_information_end_device_keepalive_support = -1; static int hf_zbee_tlv_router_information_power_negotiation_support = -1; static int hf_zbee_tlv_node_id = -1; static int hf_zbee_tlv_frag_opt = -1; static int hf_zbee_tlv_max_reassembled_buf_size = -1; static int hf_zbee_tlv_supported_key_negotiation_methods = -1; static int hf_zbee_tlv_supported_key_negotiation_methods_key_request = -1; static int hf_zbee_tlv_supported_key_negotiation_methods_ecdhe_using_curve25519_aes_mmo128 = -1; static int hf_zbee_tlv_supported_key_negotiation_methods_ecdhe_using_curve25519_sha256 = -1; static int hf_zbee_tlv_supported_secrets = -1; static int hf_zbee_tlv_supported_preshared_secrets_auth_token = -1; static int hf_zbee_tlv_supported_preshared_secrets_ic = -1; static int hf_zbee_tlv_supported_preshared_secrets_passcode_pake = -1; static int hf_zbee_tlv_supported_preshared_secrets_basic_access_key = -1; static int hf_zbee_tlv_supported_preshared_secrets_admin_access_key = -1; static int hf_zbee_tlv_panid_conflict_cnt = -1; static int hf_zbee_tlv_selected_key_negotiation_method = -1; static int hf_zbee_tlv_selected_pre_shared_secret = -1; static int hf_zbee_tlv_device_eui64 = -1; static int hf_zbee_tlv_curve25519_public_point = -1; static int hf_zbee_tlv_global_tlv_id = -1; static int hf_zbee_tlv_local_ieee_addr = -1; static int hf_zbee_tlv_local_initial_join_method = -1; static int hf_zbee_tlv_local_active_lk_type = -1; static int hf_zbee_tlv_relay_msg_type = -1; static int hf_zbee_tlv_relay_msg_length = -1; static int hf_zbee_tlv_relay_msg_joiner_ieee = -1; /* Subtree indices. */ static gint ett_zbee_aps_tlv = -1; static gint ett_zbee_aps_relay = -1; static gint ett_zbee_tlv = -1; static gint ett_zbee_tlv_supported_key_negotiation_methods = -1; static gint ett_zbee_tlv_supported_secrets = -1; static gint ett_zbee_tlv_router_information = -1; static gint ett_zbee_tlv_configuration_param = -1; static gint ett_zbee_tlv_capability_information = -1; static const value_string zbee_aps_relay_tlvs[] = { { 0, "Relay Message TLV" }, { 0, NULL } }; static const value_string zbee_tlv_global_types[] = { { ZBEE_TLV_TYPE_MANUFACTURER_SPECIFIC, "Manufacturer Specific Global TLV" }, { ZBEE_TLV_TYPE_SUPPORTED_KEY_NEGOTIATION_METHODS, "Supported Key Negotiation Methods Global TLV" }, { ZBEE_TLV_TYPE_PANID_CONFLICT_REPORT, "PAN ID Conflict Report Global TLV"}, { ZBEE_TLV_TYPE_NEXT_PAN_ID, "Next PAN ID Global TLV" }, { ZBEE_TLV_TYPE_NEXT_CHANNEL_CHANGE, "Next Channel Change Global TLV" }, { ZBEE_TLV_TYPE_PASSPHRASE, "Passphrase Global TLV" }, { ZBEE_TLV_TYPE_ROUTER_INFORMATION, "Router Information Global TLV" }, { ZBEE_TLV_TYPE_FRAGMENTATION_PARAMETERS, "Fragmentation Parameters Global TLV" }, { ZBEE_TLV_TYPE_JOINER_ENCAPSULATION_GLOBAL, "Joiner Encapsulation Global TLV" }, { ZBEE_TLV_TYPE_BEACON_APPENDIX_ENCAPSULATION_GLOBAL, "Beacon Appendix Encapsulation Global TLV" }, { ZBEE_TLV_TYPE_CONFIGURATION_MODE_PARAMETERS, "Configuration Mode Parameters Global TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_key_update_req_rsp[] = { { ZBEE_TLV_TYPE_KEY_UPD_REQ_SELECTED_KEY_NEGOTIATION_METHOD, "Selected Key Negotiations Method Local TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_key_negotiation_req_rsp[] = { { ZBEE_TLV_TYPE_KEY_NEG_REQ_CURVE25519_PUBLIC_POINT, "Curve25519 Public Point Local TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_get_auth_level_rsp[] = { { ZBEE_TLV_TYPE_GET_AUTH_LEVEL, "Device Authentication Level TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_clear_all_bindings_req[] = { { ZBEE_TLV_TYPE_CLEAR_ALL_BINDIGS_REQ_EUI64, "Clear All Bindings Req EUI64 TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_req_security_get_auth_token[] = { { ZBEE_TLV_TYPE_REQUESTED_AUTH_TOKEN_ID, "Requested Authentication Token ID TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_req_security_get_auth_level[] = { { ZBEE_TLV_TYPE_TARGET_IEEE_ADDRESS, "Target IEEE Address TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_req_security_decommission[] = { { ZBEE_TLV_TYPE_EUI64, "EUI64 TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_req_beacon_survey[] = { { ZBEE_TLV_TYPE_BEACON_SURVEY_CONFIGURATION, "Beacon Survey Configuration TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_req_challenge[] = { { 0, "APS Frame Counter Challenge Request TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_rsp_challenge[] = { { 0, "APS Frame Counter Challenge Response TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_rsp_set_configuration[] = { { 0, "Processing status TLV" }, { 0, NULL } }; static const value_string zbee_tlv_local_types_rsp_beacon_survey[] = { { ZBEE_TLV_TYPE_BEACON_SURVEY_CONFIGURATION, "Beacon Survey Configuration TLV" }, { ZBEE_TLV_TYPE_BEACON_SURVEY_RESULTS, "Beacon Survey Results TLV" }, { ZBEE_TLV_TYPE_BEACON_SURVEY_POTENTIAL_PARENTS, "Beacon Survey Potential Parents TLV"}, { 0, NULL } }; static const value_string zbee_tlv_selected_key_negotiation_method[] = { { ZBEE_TLV_SELECTED_KEY_NEGOTIATION_METHODS_ZB_30, "Zigbee 3.0" }, { ZBEE_TLV_SELECTED_KEY_NEGOTIATION_METHODS_ECDHE_USING_CURVE25519_AES_MMO128, "ECDHE using Curve25519 with Hash AES-MMO-128" }, { ZBEE_TLV_SELECTED_KEY_NEGOTIATION_METHODS_ECDHE_USING_CURVE25519_SHA256, "ECDHE using Curve25519 with Hash SHA-256" }, { 0, NULL } }; static const value_string zbee_tlv_selected_pre_shared_secret[] = { { ZBEE_TLV_SELECTED_PRE_SHARED_WELL_KNOWN_KEY, "Well Known Key" }, { ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_AUTH_TOKEN, "Symmetric Authentication Token" }, { ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_LINK_KEY_IC, "Pre-configured link-ley derived from installation code" }, { ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_VLEN_PASSCODE, "Variable-length pass code" }, { ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_BASIC_ACCESS_KEY, "Basic Access Key" }, { ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_ADMIN_ACCESS_KEY, "Administrative Access Key" }, { 0, NULL } }; static const value_string zbee_initial_join_methods[] = { { 0x00, "No authentication" }, { 0x01, "Install Code Key" }, { 0x02, "Anonymous key negotiation" }, { 0x03, "Authentication Key Negotiation" }, { 0, NULL } }; static const value_string zbee_active_lk_types[] = { { 0x00, "Not Updated" }, { 0x01, "Key Request Method" }, { 0x02, "Unauthentication Key Negotiation" }, { 0x03, "Authentication Key Negotiation" }, { 0x04, "Application Defined Certificate Based Mutual" }, { 0, NULL } }; static guint dissect_aps_relay_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, void *data) { tvbuff_t *relay_tvb; proto_item *relayed_frame_root; proto_tree *relayed_frame_tree; guint8 length; zbee_nwk_hints_t *nwk_hints; zigbee_aps_handle = find_dissector("zbee_aps"); proto_tree_add_item(tree, hf_zbee_tlv_relay_msg_type, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset) + 1; proto_tree_add_item(tree, hf_zbee_tlv_relay_msg_length, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_tlv_relay_msg_joiner_ieee, tvb, offset, 8, ENC_LITTLE_ENDIAN); nwk_hints = (zbee_nwk_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_get_id_by_filter_name(ZBEE_PROTOABBREV_NWK), 0); nwk_hints->joiner_addr64 = tvb_get_letoh64(tvb, offset); offset += 8; /* The remainder is a relayed APS frame. */ relay_tvb = tvb_new_subset_remaining(tvb, offset); relayed_frame_tree = proto_tree_add_subtree_format(tree, tvb, offset, length - 8, ett_zbee_aps_relay, &relayed_frame_root, "Relayed APS Frame"); call_dissector_with_data(zigbee_aps_handle, relay_tvb, pinfo, relayed_frame_tree, data); /* Add column info */ col_append_str(pinfo->cinfo, COL_INFO, ", Relay"); return tvb_captured_length(tvb); } static guint dissect_aps_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, void *data, guint cmd_id) { switch (cmd_id) { case ZBEE_APS_CMD_RELAY_MSG_UPSTREAM: case ZBEE_APS_CMD_RELAY_MSG_DOWNSTREAM: { zbee_nwk_hints_t *nwk_hints = (zbee_nwk_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, proto_get_id_by_filter_name(ZBEE_PROTOABBREV_NWK), 0); nwk_hints->relay_type = (cmd_id == ZBEE_APS_CMD_RELAY_MSG_DOWNSTREAM ? ZBEE_APS_RELAY_DOWNSTREAM : ZBEE_APS_RELAY_UPSTREAM); } offset = dissect_aps_relay_local_tlv(tvb, pinfo, tree, offset, data); break; default: { offset = dissect_unknown_tlv(tvb, pinfo, tree, offset); break; } } return offset; } /* *Helper dissector for the Security Decommission Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_req_security_decommission_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_req_security_decommission, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case ZBEE_TLV_TYPE_EUI64: offset = dissect_zbee_tlv_eui64(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Security Get Authentication Level Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_req_security_get_auth_level_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_req_security_get_auth_level, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case ZBEE_TLV_TYPE_TARGET_IEEE_ADDRESS: offset = dissect_zbee_tlv_target_ieee_address(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Security Get Authentication Token Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_req_security_get_auth_token_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_req_security_get_auth_token, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case ZBEE_TLV_TYPE_REQUESTED_AUTH_TOKEN_ID: offset = dissect_zbee_tlv_requested_auth_token_id(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Clear All Bindings Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_req_clear_all_bindings_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_clear_all_bindings_req, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case ZBEE_TLV_TYPE_CLEAR_ALL_BINDIGS_REQ_EUI64: offset = dissect_zbee_tlv_clear_all_bindigs_eui64(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Beacon Survey Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_req_beacon_survey_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_req_beacon_survey, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case ZBEE_TLV_TYPE_BEACON_SURVEY_CONFIGURATION: { guint8 cnt; guint8 i; cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_scan_mask_cnt, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; for (i = 0; i < cnt; i++) { proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_scan_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_conf_mask, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; break; } default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Beacon Survey Response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_rsp_beacon_survey_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_rsp_beacon_survey, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case ZBEE_TLV_TYPE_BEACON_SURVEY_CONFIGURATION: { guint8 cnt; guint8 i; proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_conf_mask, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_scan_mask_cnt, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; for (i = 0; i < cnt; i++) { proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_scan_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; } case ZBEE_TLV_TYPE_BEACON_SURVEY_RESULTS: { proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_total, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_cur_zbn, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_cur_zbn_potent_parents, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_other_zbn, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; break; } case ZBEE_TLV_TYPE_BEACON_SURVEY_POTENTIAL_PARENTS: offset = dissect_zbee_tlv_potential_parents(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Security Challenge Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_req_security_challenge_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_req_challenge, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case 0: { proto_tree_add_item(tree, hf_zbee_tlv_local_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_tlv_challenge_value, tvb, offset, 8, ENC_NA); offset += 8; break; } default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Security Challenge Response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_rsp_security_challenge_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_rsp_challenge, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case 0: { proto_tree_add_item(tree, hf_zbee_tlv_local_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_tlv_challenge_value, tvb, offset, 8, ENC_NA); offset += 8; proto_tree_add_item(tree, hf_zbee_tlv_aps_frame_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_zbee_tlv_challenge_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_zbee_tlv_mic64, tvb, offset, 8, ENC_NA); offset += 8; break; } default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Security Challenge Response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_rsp_security_set_configuration_local_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_rsp_set_configuration, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case 0: { guint8 count; guint8 i; count = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_zdp_tlv_status_count, tvb, offset, 1, ENC_NA); offset += 1; for (i = 0; i < count; i++) { proto_tree_add_item(tree, hf_zbee_zdp_tlv_type_id, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_tlv_proc_status, tvb, offset, 1, ENC_NA); offset += 1; } break; } default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Security Start Key Negotiation req/rsp * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_security_start_key_neg_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_key_negotiation_req_rsp, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; /* actual length */ switch (type) { case ZBEE_TLV_TYPE_KEY_NEG_REQ_CURVE25519_PUBLIC_POINT: offset = dissect_zbee_tlv_curve25519_public_point(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Security Start Key Update req/rsp * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_security_key_upd_local_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_key_update_req_rsp, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; /* actual length */ switch (type) { case ZBEE_TLV_TYPE_KEY_UPD_REQ_SELECTED_KEY_NEGOTIATION_METHOD: offset = dissect_zbee_tlv_selected_key_negotiation_method(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the Security Get Auth Level Response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zdp_rsp_security_get_auth_level_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_local_type_get_auth_level_rsp, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; switch (type) { case ZBEE_TLV_TYPE_GET_AUTH_LEVEL: offset = dissect_zbee_tlv_device_auth_level(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } return offset; } /* *Helper dissector for the ZDP commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to the command subtree. *@param offset into the tvb to begin dissection. *@param cmd_id - ZDP command id . *@return offset after command dissection. */ static guint dissect_zdp_local_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint cmd_id) { guint8 total_tlv_length = 2 /*type + len fields*/ + tvb_get_guint8(tvb, offset + 1) + 1; guint8 tmp_offset = offset; switch (cmd_id) { case ZBEE_ZDP_REQ_CLEAR_ALL_BINDINGS: offset = dissect_zdp_req_clear_all_bindings_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_REQ_SECURITY_START_KEY_UPDATE: case ZBEE_ZDP_RSP_SECURITY_START_KEY_UPDATE: case ZBEE_ZDP_RSP_NODE_DESC: offset = dissect_zdp_security_key_upd_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_REQ_SECURITY_START_KEY_NEGOTIATION: case ZBEE_ZDP_RSP_SECURITY_START_KEY_NEGOTIATION: offset = dissect_zdp_security_start_key_neg_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_REQ_SECURITY_GET_AUTH_TOKEN: offset = dissect_zdp_req_security_get_auth_token_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_REQ_SECURITY_GET_AUTH_LEVEL: offset = dissect_zdp_req_security_get_auth_level_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_REQ_SECURITY_DECOMMISSION: offset = dissect_zdp_req_security_decommission_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_RSP_SECURITY_GET_AUTH_LEVEL: offset = dissect_zdp_rsp_security_get_auth_level_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_REQ_MGMT_NWK_BEACON_SURVEY: offset = dissect_zdp_req_beacon_survey_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_RSP_MGMT_NWK_BEACON_SURVEY: offset = dissect_zdp_rsp_beacon_survey_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_REQ_SECURITY_CHALLENGE: offset = dissect_zdp_req_security_challenge_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_RSP_SECURITY_CHALLENGE: offset = dissect_zdp_rsp_security_challenge_local_tlv(tvb, pinfo, tree, offset); break; case ZBEE_ZDP_RSP_SECURITY_SET_CONFIGURATION: offset = dissect_zdp_rsp_security_set_configuration_local_tlv(tvb, pinfo, tree, offset); break; default: { offset = dissect_unknown_tlv(tvb, pinfo, tree, offset); break; } } /* check extra bytes */ if ((offset - tmp_offset) < total_tlv_length) { proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, total_tlv_length - 2, ENC_NA); offset = tmp_offset + total_tlv_length; } return offset; } /** * *Dissector for Zigbee Manufacturer Specific Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param length of TLV data *@return offset after command dissection. */ static guint dissect_zbee_tlv_manufacturer_specific(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint8 length) { proto_tree_add_item(tree, hf_zbee_tlv_manufacturer_specific, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length - 2, ENC_NA); offset += length - 2; return offset; } /* dissect_zbee_tlv_manufacturer_specific */ /** *Dissector for Zigbee Supported Key Negotiation Methods Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_supported_key_negotiation_methods(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { static int * const supported_key_negotiation_methods[] = { &hf_zbee_tlv_supported_key_negotiation_methods_key_request, &hf_zbee_tlv_supported_key_negotiation_methods_ecdhe_using_curve25519_aes_mmo128, &hf_zbee_tlv_supported_key_negotiation_methods_ecdhe_using_curve25519_sha256, NULL }; static int * const supported_secrets[] = { &hf_zbee_tlv_supported_preshared_secrets_auth_token, &hf_zbee_tlv_supported_preshared_secrets_ic, &hf_zbee_tlv_supported_preshared_secrets_passcode_pake, &hf_zbee_tlv_supported_preshared_secrets_basic_access_key, &hf_zbee_tlv_supported_preshared_secrets_admin_access_key, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_tlv_supported_key_negotiation_methods, ett_zbee_tlv_supported_key_negotiation_methods, supported_key_negotiation_methods, ENC_NA); offset += 1; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_tlv_supported_secrets, ett_zbee_tlv_supported_secrets, supported_secrets, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_tlv_device_eui64, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; return offset; } /* dissect_zbee_tlv_supported_key_negotiation_methods */ /** *Dissector for Zigbee PAN ID conflict report Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_panid_conflict_report(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_panid_conflict_cnt, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; return offset; } /** * *Dissector for Zigbee Configuration Parameters Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_configuration_parameters(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { static int * const bitmask[] = { &hf_zbee_tlv_configuration_param_restricted_mode, &hf_zbee_tlv_configuration_param_link_key_enc, &hf_zbee_tlv_configuration_param_leave_req_allowed, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_tlv_configuration_param, ett_zbee_tlv_configuration_param, bitmask, ENC_LITTLE_ENDIAN); offset += 2; return offset; } /* dissect_zbee_tlv_configuration_parameters */ /** * *Dissector for Zigbee Configuration Parameters Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_dev_cap_ext(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { static int * const bitmask[] = { &hf_zbee_tlv_dev_cap_ext_zbdirect_virt_device, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_tlv_dev_cap_ext_capability_information, ett_zbee_tlv_capability_information, bitmask, ENC_LITTLE_ENDIAN); offset += 2; return offset; } /* dissect_zbee_tlv_configuration_parameters */ /** * *Dissector for Zigbee CPotential Parents Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_potential_parents(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 count, i; proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_current_parent, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_tlv_lqa, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; count = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_cnt_parents, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; for (i = 0; i < count; i++) { proto_tree_add_item(tree, hf_zbee_zdp_beacon_survey_parent, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_tlv_lqa, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } return offset; } /** * *Dissector for Zigbee Next PAN ID Change Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_next_pan_id(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_next_pan_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; return offset; } /* dissect_zbee_tlv_next_pan_id */ /** * *Dissector for Zigbee Next Channel Change Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_next_channel_change(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { /* todo: fix this (do channel mask) */ proto_tree_add_item(tree, hf_zbee_tlv_next_channel_change, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; return offset; } /* dissect_zbee_tlv_next_channel_change */ /** * *Dissector for Zigbee Passphrase Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_passphrase(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_passphrase, tvb, offset, 16, ENC_NA); offset += 16; return offset; } /* dissect_zbee_tlv_passphrase */ /** * *Dissector for Zigbee Router Information Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_router_information(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { static int * const router_information[] = { &hf_zbee_tlv_router_information_hub_connectivity, &hf_zbee_tlv_router_information_uptime, &hf_zbee_tlv_router_information_pref_parent, &hf_zbee_tlv_router_information_battery_backup, &hf_zbee_tlv_router_information_enhanced_beacon_request_support, &hf_zbee_tlv_router_information_mac_data_poll_keepalive_support, &hf_zbee_tlv_router_information_end_device_keepalive_support, &hf_zbee_tlv_router_information_power_negotiation_support, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_tlv_router_information, ett_zbee_tlv_router_information, router_information, ENC_LITTLE_ENDIAN); offset += 2; return offset; } /* dissect_zbee_tlv_router_information */ /** * *Dissector for Zigbee Fragmentation Parameters Global TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_fragmentation_parameters(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_node_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_tlv_frag_opt, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_tlv_max_reassembled_buf_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; return offset; } /* dissect_zbee_tlv_fragmentation_parameters */ /** *Dissector for Zigbee Selected Key Negotiation Methods TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_selected_key_negotiation_method(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_selected_key_negotiation_method, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_tlv_selected_pre_shared_secret, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_tlv_device_eui64, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; return offset; } /* dissect_zbee_tlv_selected_key_negotiation_methods */ /** *Dissector for Curve25519 Public Point TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_curve25519_public_point(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_device_eui64, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_tlv_curve25519_public_point, tvb, offset, 32, ENC_NA); offset += 32; return offset; } /* dissect_zbee_tlv_curve25519_public_point */ /* *Dissector for Security Decommission Req EUI64 TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_eui64(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 eui64_count; guint8 i; eui64_count = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_count, tvb, offset, 1, ENC_NA); offset += 1; for (i = 0; i < eui64_count; i++) { proto_tree_add_item(tree, hf_zbee_tlv_device_eui64, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } return offset; } /* *Dissector for Clear All Bindings Req EUI64 TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_clear_all_bindigs_eui64(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { return dissect_zbee_tlv_eui64(tvb, pinfo, tree, offset); } /* *Dissector for Requested Authentication Token ID TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_requested_auth_token_id(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_global_tlv_id, tvb, offset, 1, ENC_NA); offset += 1; return offset; } /* *Dissector for Target IEEE Address TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_target_ieee_address(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_local_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; return offset; } /** * *Dissector for Device Authentication Level TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv_device_auth_level(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree_add_item(tree, hf_zbee_tlv_local_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_tlv_local_initial_join_method, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_tlv_local_active_lk_type, tvb, offset, 1, ENC_NA); offset += 1; return offset; } /* dissect_zbee_tlv_device_auth_level */ /* * ToDo: descr */ static guint dissect_global_tlv (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 type; guint8 length; guint tmp_offset; type = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_global_type, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; tmp_offset = offset; switch (type) { case ZBEE_TLV_TYPE_MANUFACTURER_SPECIFIC: offset = dissect_zbee_tlv_manufacturer_specific(tvb, pinfo, tree, offset, length); break; case ZBEE_TLV_TYPE_SUPPORTED_KEY_NEGOTIATION_METHODS: offset = dissect_zbee_tlv_supported_key_negotiation_methods(tvb, pinfo, tree, offset); break; case ZBEE_TLV_TYPE_PANID_CONFLICT_REPORT: offset = dissect_zbee_tlv_panid_conflict_report(tvb, pinfo, tree, offset); break; case ZBEE_TLV_TYPE_NEXT_PAN_ID: offset = dissect_zbee_tlv_next_pan_id(tvb, pinfo, tree, offset); break; case ZBEE_TLV_TYPE_NEXT_CHANNEL_CHANGE: offset = dissect_zbee_tlv_next_channel_change(tvb, pinfo, tree, offset); break; case ZBEE_TLV_TYPE_PASSPHRASE: offset = dissect_zbee_tlv_passphrase(tvb, pinfo, tree, offset); break; case ZBEE_TLV_TYPE_ROUTER_INFORMATION: offset = dissect_zbee_tlv_router_information(tvb, pinfo, tree, offset); break; case ZBEE_TLV_TYPE_FRAGMENTATION_PARAMETERS: offset = dissect_zbee_tlv_fragmentation_parameters(tvb, pinfo, tree, offset); break; case ZBEE_TLV_TYPE_JOINER_ENCAPSULATION_GLOBAL: offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_DEFAULT, 0); break; case ZBEE_TLV_TYPE_BEACON_APPENDIX_ENCAPSULATION_GLOBAL: offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_DEFAULT, 0); break; case ZBEE_TLV_TYPE_CONFIGURATION_MODE_PARAMETERS: offset = dissect_zbee_tlv_configuration_parameters(tvb, pinfo, tree, offset); break; case ZBEE_TLV_TYPE_DEVICE_CAPABILITY_EXTENSION: offset = dissect_zbee_tlv_dev_cap_ext(tvb, pinfo, tree, offset); break; default: proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; break; } /* check extra bytes */ if ((offset - tmp_offset) < length) { proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset = tmp_offset + length; } return offset; } /** *Dissector for Unknown Zigbee TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_unknown_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 length; proto_tree_add_item(tree, hf_zbee_tlv_type, tvb, offset, 1, ENC_NA); offset += 1; length = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_tlv_length, tvb, offset, 1, ENC_NA); offset += 1; length += 1; /* length of tlv_val == tlv_len + 1 */ proto_tree_add_item(tree, hf_zbee_tlv_value, tvb, offset, length, ENC_NA); offset += length; return offset; } /** *Dissector for Zigbee TLV * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@return offset after command dissection. */ static guint dissect_zbee_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, void *data, guint8 source_type, guint cmd_id) { guint8 type; type = tvb_get_guint8(tvb, offset); if (type >= ZBEE_TLV_GLOBAL_START_NUMBER) { offset = dissect_global_tlv (tvb, pinfo, tree, offset); } else { switch (source_type) { case ZBEE_TLV_SRC_TYPE_ZBEE_ZDP: offset = dissect_zdp_local_tlv(tvb, pinfo, tree, offset, cmd_id); break; case ZBEE_TLV_SRC_TYPE_ZBEE_APS: offset = dissect_aps_local_tlv(tvb, pinfo, tree, offset, data, cmd_id); break; default: offset = dissect_unknown_tlv(tvb, pinfo, tree, offset); break; } } return offset; } /* dissect_zbee_tlv */ /** *Dissector for Zigbee TLVs * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param source_type ToDo: *@param cmd_id ToDo: *@return offset after command dissection. */ guint dissect_zbee_tlvs(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, void *data, guint8 source_type, guint cmd_id) { proto_tree *subtree; guint8 length; while (tvb_bytes_exist(tvb, offset, ZBEE_TLV_HEADER_LENGTH)) { length = tvb_get_guint8(tvb, offset + 1) + 1; subtree = proto_tree_add_subtree(tree, tvb, offset, ZBEE_TLV_HEADER_LENGTH + length, ett_zbee_tlv, NULL, "TLV"); offset = dissect_zbee_tlv(tvb, pinfo, subtree, offset, data, source_type, cmd_id); } return offset; } /* dissect_zbee_tlvs */ /** * Dissector for ZBEE TLV. * * @param tvb pointer to buffer containing raw packet. * @param pinfo pointer to packet information fields. * @param tree pointer to data tree wireshark uses to display packet. */ static int dissect_zbee_tlv_default(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, data, ZBEE_TLV_SRC_TYPE_DEFAULT, 0); /* Check for leftover bytes. */ if (offset < tvb_captured_length(tvb)) { /* Bytes leftover! */ tvbuff_t *leftover_tvb = tvb_new_subset_remaining(tvb, offset); /* Dump the leftover to the data dissector. */ call_data_dissector(leftover_tvb, pinfo, tree); } return tvb_captured_length(tvb); } /** * Proto ZBOSS Network Coprocessor product registration routine */ void proto_register_zbee_tlv(void) { /* NCP protocol headers */ static hf_register_info hf[] = { { &hf_zbee_tlv_relay_msg_type, { "Type", "zbee_tlv.relay.type", FT_UINT8, BASE_HEX, VALS(zbee_aps_relay_tlvs), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_relay_msg_length, { "Length", "zbee_tlv.relay.length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_relay_msg_joiner_ieee, { "Joiner IEEE", "zbee_tlv.relay.joiner_ieee", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_global_type, { "Type", "zbee_tlv.type_global", FT_UINT8, BASE_HEX, VALS(zbee_tlv_global_types), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_key_update_req_rsp, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_key_update_req_rsp), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_key_negotiation_req_rsp, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_key_negotiation_req_rsp), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_get_auth_level_rsp, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_get_auth_level_rsp), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_clear_all_bindings_req, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_clear_all_bindings_req), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_req_security_get_auth_token, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_req_security_get_auth_token), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_req_security_get_auth_level, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_req_security_get_auth_level), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_req_security_decommission, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_req_security_decommission), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_req_beacon_survey, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_req_beacon_survey), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_rsp_beacon_survey, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_rsp_beacon_survey), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_req_challenge, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_req_challenge), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_rsp_challenge, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_rsp_challenge), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_type_rsp_set_configuration, { "Type", "zbee_tlv.type_local", FT_UINT8, BASE_HEX, VALS(zbee_tlv_local_types_rsp_set_configuration), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_type, { "Unknown Type", "zbee_tlv.type", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_length, { "Length", "zbee_tlv.length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_value, { "Value", "zbee_tlv.value", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_count, { "Count", "zbee_tlv.count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_tlv_status_count, { "TLV Status Count", "zbee_tlv.tlv_status_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_tlv_type_id, { "TLV Type ID", "zbee_tlv.tlv_type_id", FT_UINT8, BASE_HEX, VALS(zbee_tlv_global_types), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_tlv_proc_status, { "TLV Processing Status", "zbee_tlv.tlv_proc_status", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_manufacturer_specific, { "ZigBee Manufacturer ID", "zbee_tlv.manufacturer_specific", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_supported_key_negotiation_methods, { "Supported Key Negotiation Methods", "zbee_tlv.supported_key_negotiation_methods", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_supported_key_negotiation_methods_key_request, { "Key Request (ZigBee 3.0)", "zbee_tlv.supported_key_negotiation_methods.key_request", FT_BOOLEAN, 8, NULL, ZBEE_TLV_SUPPORTED_KEY_NEGOTIATION_METHODS_KEY_REQUEST, NULL, HFILL }}, { &hf_zbee_tlv_supported_key_negotiation_methods_ecdhe_using_curve25519_aes_mmo128, { "ECDHE using Curve25519 with Hash AES-MMO-128", "zbee_tlv.supported_key_negotiation_methods.ecdhe_using_curve25519_aes_mmo128", FT_BOOLEAN, 8, NULL, ZBEE_TLV_SUPPORTED_KEY_NEGOTIATION_METHODS_ANONYMOUS_ECDHE_USING_CURVE25519_AES_MMO128, NULL, HFILL }}, { &hf_zbee_tlv_supported_key_negotiation_methods_ecdhe_using_curve25519_sha256, { "ECDHE using Curve25519 with Hash SHA-256", "zbee_tlv.supported_key_negotiation_methods.ecdhe_using_curve25519_sha256", FT_BOOLEAN, 8, NULL, ZBEE_TLV_SUPPORTED_KEY_NEGOTIATION_METHODS_ANONYMOUS_ECDHE_USING_CURVE25519_SHA256, NULL, HFILL }}, { &hf_zbee_tlv_supported_secrets, { "Supported Pre-shared Secrets Bitmask", "zbee_tlv.supported_secrets", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_supported_preshared_secrets_auth_token, { "Symmetric Authentication Token", "zbee_tlv.supported_secrets.auth_token", FT_BOOLEAN, 8, NULL, 0x1, NULL, HFILL }}, { &hf_zbee_tlv_supported_preshared_secrets_ic, { "128-bit pre-configured link-key from install code", "zbee_tlv.supported_secrets.ic", FT_BOOLEAN, 8, NULL, 0x2, NULL, HFILL }}, { &hf_zbee_tlv_supported_preshared_secrets_passcode_pake, { "Variable-length pass code for PAKE protocols", "zbee_tlv.supported_secrets.passcode_pake", FT_BOOLEAN, 8, NULL, 0x4, NULL, HFILL }}, { &hf_zbee_tlv_supported_preshared_secrets_basic_access_key, { "Basic Access Key", "zbee_tlv.supported_secrets.basic_key", FT_BOOLEAN, 8, NULL, 0x8, NULL, HFILL }}, { &hf_zbee_tlv_supported_preshared_secrets_admin_access_key, { "Administrative Access Key", "zbee_tlv.supported_secrets.admin_key", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL }}, { &hf_zbee_tlv_panid_conflict_cnt, { "PAN ID Conflict Count", "zbee_tlv.panid_conflict_cnt", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_next_pan_id, { "Next PAN ID Change", "zbee_tlv.next_pan_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_next_channel_change, { "Next Channel Change", "zbee_tlv.next_channel", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_passphrase, { "128-bit Symmetric Passphrase", "zbee_tlv.passphrase", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_challenge_value, { "Challenge Value", "zbee_tlv.challenge_val", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_aps_frame_counter, { "APS Frame Counter", "zbee_tlv.aps_frame_cnt", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_challenge_counter, { "Challenge Counter", "zbee_tlv.challenge_cnt", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_configuration_param, { "Configuration Parameters", "zbee_tlv.configuration_parameters", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_configuration_param_restricted_mode, { "apsZdoRestrictedMode", "zbee_tlv.conf_param.restricted_mode", FT_UINT16, BASE_DEC, NULL, 0x1, NULL, HFILL }}, { &hf_zbee_tlv_configuration_param_link_key_enc, { "requireLinkKeyEncryptionForApsTransportKey", "zbee_tlv.conf_param.req_link_key_enc", FT_UINT16, BASE_DEC, NULL, 0x2, NULL, HFILL }}, { &hf_zbee_tlv_configuration_param_leave_req_allowed, { "nwkLeaveRequestAllowed", "zbee_tlv.conf_param.leave_req_allowed", FT_UINT16, BASE_DEC, NULL, 0x4, NULL, HFILL }}, { &hf_zbee_tlv_dev_cap_ext_capability_information, { "Capability Information", "zbee_tlv.dev_cap_ext_cap_info", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_dev_cap_ext_zbdirect_virt_device, { "Zigbee Direct Virtual Device", "zbee_tlv.dev_cap_ext.zbdirect_virt_dev", FT_UINT16, BASE_DEC, NULL, 0x1, NULL, HFILL }}, { &hf_zbee_tlv_lqa, { "LQA", "zbee_tlv.lqa", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_router_information, { "Router Information", "zbee_tlv.router_information", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_router_information_hub_connectivity, { "Hub Connectivity", "zbee_tlv.router_information.hub_connectivity", FT_BOOLEAN, 16, NULL, ZBEE_TLV_ROUTER_INFORMATION_HUB_CONNECTIVITY, NULL, HFILL }}, { &hf_zbee_tlv_router_information_uptime, { "Uptime", "zbee_tlv.router_information.uptime", FT_BOOLEAN, 16, NULL, ZBEE_TLV_ROUTER_INFORMATION_UPTIME, NULL, HFILL }}, { &hf_zbee_tlv_router_information_pref_parent, { "Preferred parent", "zbee_tlv.router_information.pref_parent", FT_BOOLEAN, 16, NULL, ZBEE_TLV_ROUTER_INFORMATION_PREF_PARENT, NULL, HFILL }}, { &hf_zbee_tlv_router_information_battery_backup, { "Battery Backup", "zbee_tlv.router_information.battery", FT_BOOLEAN, 16, NULL, ZBEE_TLV_ROUTER_INFORMATION_BATTERY_BACKUP, NULL, HFILL }}, { &hf_zbee_tlv_router_information_enhanced_beacon_request_support, { "Enhanced Beacon Request Support", "zbee_tlv.router_information.enhanced_beacon", FT_BOOLEAN, 16, NULL, ZBEE_TLV_ROUTER_INFORMATION_ENHANCED_BEACON_REQUEST_SUPPORT, NULL, HFILL }}, { &hf_zbee_tlv_router_information_mac_data_poll_keepalive_support, { "MAC Data Poll Keepalive Support", "zbee_tlv.router_information.mac_data_poll_keepalive", FT_BOOLEAN, 16, NULL, ZBEE_TLV_ROUTER_INFORMATION_MAC_DATA_POLL_KEEPALIVE_SUPPORT, NULL, HFILL }}, { &hf_zbee_tlv_router_information_end_device_keepalive_support, { "End Device Keepalive Support", "zbee_tlv.router_information.end_dev_keepalive", FT_BOOLEAN, 16, NULL, ZBEE_TLV_ROUTER_INFORMATION_END_DEVICE_KEEPALIVE_SUPPORT, NULL, HFILL }}, { &hf_zbee_tlv_router_information_power_negotiation_support, { "Power Negotiation Support", "zbee_tlv.router_information.power_negotiation", FT_BOOLEAN, 16, NULL, ZBEE_TLV_ROUTER_INFORMATION_POWER_NEGOTIATION_SUPPORT, NULL, HFILL }}, { &hf_zbee_tlv_node_id, { "Node ID", "zbee_tlv.node_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_frag_opt, { "Fragmentation Options", "zbee_tlv.frag_opt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_max_reassembled_buf_size, { "Maximum Reassembled Input Buffer Size", "zbee_tlv.max_buf_size", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_selected_key_negotiation_method, { "Selected Key Negotiation Method", "zbee_tlv.selected_key_negotiation_method", FT_UINT8, BASE_HEX, VALS(zbee_tlv_selected_key_negotiation_method), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_selected_pre_shared_secret, { "Selected Pre Shared Secret", "zbee_tlv.selected_pre_shared_secret", FT_UINT8, BASE_HEX, VALS(zbee_tlv_selected_pre_shared_secret), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_device_eui64, { "Device EUI64", "zbee_tlv.device_eui64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_curve25519_public_point, { "Curve25519 Public Point", "zbee_tlv.curve25519_public_point", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_global_tlv_id, { "TLV Type ID", "zbee_tlv.global_tlv_id", FT_UINT8, BASE_HEX, VALS(zbee_tlv_global_types), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_ieee_addr, { "IEEE Addr", "zbee_tlv.ieee_addr", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_mic64, { "MIC", "zbee_tlv.mic64", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_initial_join_method, { "Initial Join Method", "zbee_tlv.init_method", FT_UINT8, BASE_HEX, VALS(zbee_initial_join_methods), 0x0, NULL, HFILL }}, { &hf_zbee_tlv_local_active_lk_type, { "Active link key type", "zbee_tlv.lk_type", FT_UINT8, BASE_HEX, VALS(zbee_active_lk_types), 0x0, NULL, HFILL }}, }; /* Protocol subtrees */ static gint *ett[] = { &ett_zbee_aps_tlv, &ett_zbee_aps_relay, &ett_zbee_tlv, &ett_zbee_tlv_supported_key_negotiation_methods, &ett_zbee_tlv_supported_secrets, &ett_zbee_tlv_router_information, &ett_zbee_tlv_configuration_param, &ett_zbee_tlv_capability_information, }; proto_zbee_tlv = proto_register_protocol("Zigbee TLV", "ZB TLV", "zbee_tlv"); proto_register_field_array(proto_zbee_tlv, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); register_dissector("zbee_tlv", dissect_zbee_tlv_default, proto_zbee_tlv); } /* proto_register_zbee_tlv */
C/C++
wireshark/epan/dissectors/packet-zbee-tlv.h
/* packet-zbee-tlv.h * Dissector routines for the Zbee TLV (R23+) * Copyright 2021 DSR Corporation, http://dsr-wireless.com/ * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _PACKET_ZBEE_TLV_H #define _PACKET_ZBEE_TLV_H #define ZBEE_TLV_HEADER_LENGTH 2 #define ZBEE_TLV_GLOBAL_START_NUMBER 64 /* Global TLV */ #define ZBEE_TLV_TYPE_MANUFACTURER_SPECIFIC 64 #define ZBEE_TLV_TYPE_SUPPORTED_KEY_NEGOTIATION_METHODS 65 #define ZBEE_TLV_TYPE_PANID_CONFLICT_REPORT 66 #define ZBEE_TLV_TYPE_NEXT_PAN_ID 67 #define ZBEE_TLV_TYPE_NEXT_CHANNEL_CHANGE 68 #define ZBEE_TLV_TYPE_PASSPHRASE 69 #define ZBEE_TLV_TYPE_ROUTER_INFORMATION 70 #define ZBEE_TLV_TYPE_FRAGMENTATION_PARAMETERS 71 #define ZBEE_TLV_TYPE_JOINER_ENCAPSULATION_GLOBAL 72 #define ZBEE_TLV_TYPE_BEACON_APPENDIX_ENCAPSULATION_GLOBAL 73 /* RESERVED 74 */ #define ZBEE_TLV_TYPE_CONFIGURATION_MODE_PARAMETERS 75 #define ZBEE_TLV_TYPE_DEVICE_CAPABILITY_EXTENSION 76 /* zb direct */ /* ZigBee local TLV source types */ #define ZBEE_TLV_SRC_TYPE_DEFAULT 0x00 #define ZBEE_TLV_SRC_TYPE_ZBEE_NWK 0x01 #define ZBEE_TLV_SRC_TYPE_ZBEE_APS 0x02 #define ZBEE_TLV_SRC_TYPE_ZBEE_ZDP 0x03 /* Local TLV Tags*/ /* Clear All Bindings Request */ #define ZBEE_TLV_TYPE_CLEAR_ALL_BINDIGS_REQ_EUI64 0 /* Security Key Update request/response */ #define ZBEE_TLV_TYPE_KEY_UPD_REQ_SELECTED_KEY_NEGOTIATION_METHOD 0 /* Security Start Key Negotiation request/response */ #define ZBEE_TLV_TYPE_KEY_NEG_REQ_CURVE25519_PUBLIC_POINT 0 /* Security Get Authentication Token Request */ #define ZBEE_TLV_TYPE_REQUESTED_AUTH_TOKEN_ID 0 /* Security Get Authentication Token Request */ #define ZBEE_TLV_TYPE_TARGET_IEEE_ADDRESS 0 /* Security Decommission Request */ #define ZBEE_TLV_TYPE_EUI64 0 /* Beacon Survey Request */ #define ZBEE_TLV_TYPE_BEACON_SURVEY_CONFIGURATION 0 #define ZBEE_TLV_TYPE_BEACON_SURVEY_RESULTS 1 #define ZBEE_TLV_TYPE_BEACON_SURVEY_POTENTIAL_PARENTS 2 /* Security Get_Authentication_Level Response */ #define ZBEE_TLV_TYPE_GET_AUTH_LEVEL 0 /* TLV parameters*/ #define ZBEE_TLV_SUPPORTED_KEY_NEGOTIATION_METHODS_KEY_REQUEST 1 << 0 #define ZBEE_TLV_SUPPORTED_KEY_NEGOTIATION_METHODS_ANONYMOUS_ECDHE_USING_CURVE25519_AES_MMO128 1 << 1 #define ZBEE_TLV_SUPPORTED_KEY_NEGOTIATION_METHODS_ANONYMOUS_ECDHE_USING_CURVE25519_SHA256 1 << 2 #define ZBEE_TLV_SUPPORTED_KEY_NEGOTIATION_METHODS_ECDHE_AUTHENTICATION_CURVE25519_AES_MMO128 1 << 3 #define ZBEE_TLV_SUPPORTED_KEY_NEGOTIATION_METHODS_ECDHE_AUTHENTICATION_CURVE25519_SHA256 1 << 4 #define ZBEE_TLV_SELECTED_KEY_NEGOTIATION_METHODS_ZB_30 0x0 #define ZBEE_TLV_SELECTED_KEY_NEGOTIATION_METHODS_ECDHE_USING_CURVE25519_AES_MMO128 0x1 #define ZBEE_TLV_SELECTED_KEY_NEGOTIATION_METHODS_ECDHE_USING_CURVE25519_SHA256 0x2 #define ZBEE_TLV_SELECTED_PRE_SHARED_WELL_KNOWN_KEY 0xff #define ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_AUTH_TOKEN 0x00 #define ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_LINK_KEY_IC 0x01 #define ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_VLEN_PASSCODE 0x02 #define ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_BASIC_ACCESS_KEY 0x03 #define ZBEE_TLV_SELECTED_PRE_SHARED_SECRET_ADMIN_ACCESS_KEY 0x04 #define ZBEE_TLV_ROUTER_INFORMATION_HUB_CONNECTIVITY 1 << 0 #define ZBEE_TLV_ROUTER_INFORMATION_UPTIME 1 << 1 #define ZBEE_TLV_ROUTER_INFORMATION_PREF_PARENT 1 << 2 #define ZBEE_TLV_ROUTER_INFORMATION_BATTERY_BACKUP 1 << 3 #define ZBEE_TLV_ROUTER_INFORMATION_ENHANCED_BEACON_REQUEST_SUPPORT 1 << 4 #define ZBEE_TLV_ROUTER_INFORMATION_MAC_DATA_POLL_KEEPALIVE_SUPPORT 1 << 5 #define ZBEE_TLV_ROUTER_INFORMATION_END_DEVICE_KEEPALIVE_SUPPORT 1 << 6 #define ZBEE_TLV_ROUTER_INFORMATION_POWER_NEGOTIATION_SUPPORT 1 << 7 guint dissect_zbee_tlvs(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, void *data, guint8 source_type, guint cmd_id); #endif
C
wireshark/epan/dissectors/packet-zbee-zcl-closures.c
/* packet-zbee-zcl-closures.c * Dissector routines for the ZigBee ZCL Closures clusters * Shade configuration, Door Lock * By <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/to_str.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" /* ########################################################################## */ /* #### (0x0100) SHADE CONFIGURATION CLUSTER ################################ */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_SHADE_CONFIGURATION_NUM_ETT 2 /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_PHYSICAL_CLOSED_LIMIT 0x0000 /* Physical Closed Limit */ #define ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_MOTOR_STEP_SIZE 0x0001 /* Motor Step Size */ #define ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_STATUS 0x0002 /* Status */ #define ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_CLOSED_LIMIT 0x0010 /* Closed Limit */ #define ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_MODE 0x0011 /* Mode */ /*Server commands received - none*/ /*Server commands generated - none*/ /*Status Mask Value*/ #define ZBEE_ZCL_SHADE_CONFIGURATION_STATUS_SHADE_OPERATIONAL 0x01 /* Shade Operational */ #define ZBEE_ZCL_SHADE_CONFIGURATION_STATUS_SHADE_ADJUSTING 0x02 /* Shade Adjusting */ #define ZBEE_ZCL_SHADE_CONFIGURATION_STATUS_SHADE_DIRECTION 0x04 /* Shade Direction */ #define ZBEE_ZCL_SHADE_CONFIGURATION_STATUS_MOTOR_FORWARD_DIRECTION 0x08 /* Motor Forward Direction */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_shade_configuration(void); void proto_reg_handoff_zbee_zcl_shade_configuration(void); /* Command Dissector Helpers */ static void dissect_zcl_shade_configuration_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_shade_configuration = -1; static int hf_zbee_zcl_shade_configuration_attr_id = -1; static int hf_zbee_zcl_shade_configuration_status = -1; static int hf_zbee_zcl_shade_configuration_status_shade_operational = -1; static int hf_zbee_zcl_shade_configuration_status_shade_adjusting = -1; static int hf_zbee_zcl_shade_configuration_status_shade_direction = -1; static int hf_zbee_zcl_shade_configuration_status_motor_forward_direction = -1; static int hf_zbee_zcl_shade_configuration_mode = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_shade_configuration = -1; static gint ett_zbee_zcl_shade_configuration_status = -1; /* Attributes */ static const value_string zbee_zcl_shade_configuration_attr_names[] = { { ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_PHYSICAL_CLOSED_LIMIT, "Physical Closed Limit" }, { ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_MOTOR_STEP_SIZE, "Motor Step Size" }, { ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_STATUS, "Status" }, { ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_CLOSED_LIMIT, "Closed Limit" }, { ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_MODE, "Mode" }, { 0, NULL } }; /*Shade and motor direction values*/ static const value_string zbee_zcl_shade_configuration_shade_motor_direction_names[] = { {0, "Closing"}, {1, "Opening"}, {0, NULL} }; /*Mode Values*/ static const value_string zbee_zcl_shade_configuration_mode_names[] = { {0, "Normal"}, {1, "Configure"}, {0, NULL} }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Shade Configuration cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_shade_configuration(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_shade_configuration*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_shade_configuration_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const shade_config_status[] = { &hf_zbee_zcl_shade_configuration_status_shade_operational, &hf_zbee_zcl_shade_configuration_status_shade_adjusting, &hf_zbee_zcl_shade_configuration_status_shade_direction, &hf_zbee_zcl_shade_configuration_status_motor_forward_direction, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_STATUS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_shade_configuration_status, ett_zbee_zcl_shade_configuration_status, shade_config_status, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_MODE: proto_tree_add_item(tree, hf_zbee_zcl_shade_configuration_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_PHYSICAL_CLOSED_LIMIT: case ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_MOTOR_STEP_SIZE: case ZBEE_ZCL_ATTR_ID_SHADE_CONFIGURATION_CLOSED_LIMIT: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_shade_configuration_attr_data*/ /** *ZigBee ZCL Shade Configuration cluster protocol registration routine. * */ void proto_register_zbee_zcl_shade_configuration(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_shade_configuration_attr_id, { "Attribute", "zbee_zcl_closures.shade_configuration.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_shade_configuration_attr_names), 0x00, NULL, HFILL } }, /* start Shade Configuration Status fields */ { &hf_zbee_zcl_shade_configuration_status, { "Shade Configuration Status", "zbee_zcl_closures.shade_configuration.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_shade_configuration_status_shade_operational, { "Shade Operational", "zbee_zcl_closures.shade_configuration.attr.status.shade_operational", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_SHADE_CONFIGURATION_STATUS_SHADE_OPERATIONAL, NULL, HFILL } }, { &hf_zbee_zcl_shade_configuration_status_shade_adjusting, { "Shade Adjusting", "zbee_zcl_closures.shade_configuration.attr.status.shade_adjusting", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_SHADE_CONFIGURATION_STATUS_SHADE_ADJUSTING, NULL, HFILL } }, { &hf_zbee_zcl_shade_configuration_status_shade_direction, { "Shade Direction", "zbee_zcl_closures.shade_configuration.attr.status.shade_direction", FT_UINT8, BASE_DEC, VALS(zbee_zcl_shade_configuration_shade_motor_direction_names), ZBEE_ZCL_SHADE_CONFIGURATION_STATUS_SHADE_DIRECTION, NULL, HFILL } }, { &hf_zbee_zcl_shade_configuration_status_motor_forward_direction, { "Motor Forward Direction", "zbee_zcl_closures.shade_configuration.attr.status.motor_forward_direction", FT_UINT8, BASE_DEC, VALS(zbee_zcl_shade_configuration_shade_motor_direction_names), ZBEE_ZCL_SHADE_CONFIGURATION_STATUS_MOTOR_FORWARD_DIRECTION, NULL, HFILL } }, /* end Shade Configuration Status fields */ { &hf_zbee_zcl_shade_configuration_mode, { "Mode", "zbee_zcl_closures.shade_configuration.attr.mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_shade_configuration_mode_names), 0x00, NULL, HFILL } } }; /* ZCL Shade Configuration subtrees */ static gint *ett[ZBEE_ZCL_SHADE_CONFIGURATION_NUM_ETT]; ett[0] = &ett_zbee_zcl_shade_configuration; ett[1] = &ett_zbee_zcl_shade_configuration_status; /* Register the ZigBee ZCL Shade Configuration cluster protocol name and description */ proto_zbee_zcl_shade_configuration = proto_register_protocol("ZigBee ZCL Shade Configuration", "ZCL Shade Configuration", ZBEE_PROTOABBREV_ZCL_SHADE_CONFIG); proto_register_field_array(proto_zbee_zcl_shade_configuration, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Shade Configuration dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_SHADE_CONFIG, dissect_zbee_zcl_shade_configuration, proto_zbee_zcl_shade_configuration); } /*proto_register_zbee_zcl_shade_configuration*/ /** *Hands off the ZCL Shade Configuration dissector. * */ void proto_reg_handoff_zbee_zcl_shade_configuration(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_SHADE_CONFIG, proto_zbee_zcl_shade_configuration, ett_zbee_zcl_shade_configuration, ZBEE_ZCL_CID_SHADE_CONFIG, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_shade_configuration_attr_id, hf_zbee_zcl_shade_configuration_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_shade_configuration_attr_data ); } /*proto_reg_handoff_zbee_zcl_shade_configuration*/ /* ########################################################################## */ /* #### (0x0101) DOOR LOCK CLUSTER ########################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_DOOR_LOCK_NUM_ETT 1 /* Attributes */ #define ZBEE_ZCL_ATTR_ID_DOOR_LOCK_LOCK_STATE 0x0000 /* Lock State */ #define ZBEE_ZCL_ATTR_ID_DOOR_LOCK_LOCK_TYPE 0x0001 /* Lock Type */ #define ZBEE_ZCL_ATTR_ID_DOOR_LOCK_ACTUATOR_ENABLED 0x0002 /* Actuator Enabled */ #define ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_STATE 0x0003 /* Door State */ #define ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_OPEN_EVENTS 0x0004 /* Door Open Events */ #define ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_CLOSED_EVENTS 0x0005 /* Door Closed Events */ #define ZBEE_ZCL_ATTR_ID_DOOR_LOCK_OPEN_PERIOD 0x0006 /* Open Period */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_DOOR_LOCK_LOCK_DOOR 0x00 /* Lock Door */ #define ZBEE_ZCL_CMD_ID_DOOR_LOCK_UNLOCK_DOOR 0x01 /* Unlock Door */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_DOOR_LOCK_LOCK_DOOR_RESPONSE 0x00 /* Lock Door Response */ #define ZBEE_ZCL_CMD_ID_DOOR_LOCK_UNLOCK_DOOR_RESPONSE 0x01 /* Unlock Door Response */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_door_lock(void); void proto_reg_handoff_zbee_zcl_door_lock(void); /* Command Dissector Helpers */ static void dissect_zcl_door_lock_lock_unlock_door_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_door_lock_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_door_lock = -1; static int hf_zbee_zcl_door_lock_attr_id = -1; static int hf_zbee_zcl_door_lock_lock_state = -1; static int hf_zbee_zcl_door_lock_lock_type = -1; static int hf_zbee_zcl_door_lock_door_state = -1; static int hf_zbee_zcl_door_lock_actuator_enabled = -1; static int hf_zbee_zcl_door_lock_status = -1; static int hf_zbee_zcl_door_lock_srv_rx_cmd_id = -1; static int hf_zbee_zcl_door_lock_srv_tx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_door_lock = -1; /* Attributes */ static const value_string zbee_zcl_door_lock_attr_names[] = { { ZBEE_ZCL_ATTR_ID_DOOR_LOCK_LOCK_STATE, "Lock State" }, { ZBEE_ZCL_ATTR_ID_DOOR_LOCK_LOCK_TYPE, "Lock Type" }, { ZBEE_ZCL_ATTR_ID_DOOR_LOCK_ACTUATOR_ENABLED, "Actuator Enabled" }, { ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_STATE, "Door State" }, { ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_OPEN_EVENTS, "Door Open Events" }, { ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_CLOSED_EVENTS, "Door Closed Events" }, { ZBEE_ZCL_ATTR_ID_DOOR_LOCK_OPEN_PERIOD, "Open Period" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_door_lock_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_DOOR_LOCK_LOCK_DOOR, "Lock Door" }, { ZBEE_ZCL_CMD_ID_DOOR_LOCK_UNLOCK_DOOR, "Unlock Door" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_door_lock_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_DOOR_LOCK_LOCK_DOOR_RESPONSE, "Lock Door Response" }, { ZBEE_ZCL_CMD_ID_DOOR_LOCK_UNLOCK_DOOR_RESPONSE, "Unlock Door Response" }, { 0, NULL } }; /* Lock State Values */ static const value_string zbee_zcl_door_lock_lock_state_values[] = { { 0x00, "Not Fully Locked" }, { 0x01, "Locked" }, { 0x02, "Unlocked" }, { 0, NULL } }; /* Lock Type Values */ static const value_string zbee_zcl_door_lock_lock_type_values[] = { { 0x00, "Deadbolt" }, { 0x01, "Magnetic" }, { 0x02, "Other" }, { 0, NULL } }; /* Door State Values */ static const value_string zbee_zcl_door_lock_door_state_values[] = { { 0x00, "Open" }, { 0x01, "Closed" }, { 0x02, "Error (Jammed)" }, { 0x03, "Error (Forced Open)" }, { 0x04, "Error (Unspecified)" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Door Lock cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_door_lock(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_door_lock_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_door_lock_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { /*payload_tree =*/ proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_door_lock, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_DOOR_LOCK_LOCK_DOOR: case ZBEE_ZCL_CMD_ID_DOOR_LOCK_UNLOCK_DOOR: /* No Payload */ default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_door_lock_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_door_lock_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_door_lock, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_DOOR_LOCK_LOCK_DOOR_RESPONSE: case ZBEE_ZCL_CMD_ID_DOOR_LOCK_UNLOCK_DOOR_RESPONSE: dissect_zcl_door_lock_lock_unlock_door_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_door_lock*/ /** *This function decodes the lock and unlock door response * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_door_lock_lock_unlock_door_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Status" field */ proto_tree_add_item(tree, hf_zbee_zcl_door_lock_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_door_lock_lock_unlock_door_response*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_door_lock_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_DOOR_LOCK_LOCK_STATE: proto_tree_add_item(tree, hf_zbee_zcl_door_lock_lock_state, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_DOOR_LOCK_LOCK_TYPE: proto_tree_add_item(tree, hf_zbee_zcl_door_lock_lock_type, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_DOOR_LOCK_ACTUATOR_ENABLED: proto_tree_add_item(tree, hf_zbee_zcl_door_lock_actuator_enabled, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_STATE: proto_tree_add_item(tree, hf_zbee_zcl_door_lock_door_state, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_OPEN_EVENTS: case ZBEE_ZCL_ATTR_ID_DOOR_LOCK_DOOR_CLOSED_EVENTS: case ZBEE_ZCL_ATTR_ID_DOOR_LOCK_OPEN_PERIOD: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_door_lock_attr_data*/ /** *ZigBee ZCL Door Lock cluster protocol registration routine. * */ void proto_register_zbee_zcl_door_lock(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_door_lock_attr_id, { "Attribute", "zbee_zcl_closures.door_lock.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_door_lock_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_door_lock_lock_state, { "Lock State", "zbee_zcl_closures.door_lock.attr.lock_state", FT_UINT8, BASE_HEX, VALS(zbee_zcl_door_lock_lock_state_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_door_lock_lock_type, { "Lock Type", "zbee_zcl_closures.door_lock.attr.lock_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_door_lock_lock_type_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_door_lock_door_state, { "Door State", "zbee_zcl_closures.door_lock.attr.door_state", FT_UINT8, BASE_HEX, VALS(zbee_zcl_door_lock_door_state_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_door_lock_actuator_enabled, { "Actuator enabled", "zbee_zcl_closures.door_lock.attr.actuator_enabled", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), 0x01, NULL, HFILL } }, { &hf_zbee_zcl_door_lock_status, { "Lock Status", "zbee_zcl_closures.door_lock.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_door_lock_srv_rx_cmd_id, { "Command", "zbee_zcl_closures.door_lock.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_door_lock_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_door_lock_srv_tx_cmd_id, { "Command", "zbee_zcl_closures.door_lock.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_door_lock_srv_tx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Door Lock subtrees */ static gint *ett[ZBEE_ZCL_DOOR_LOCK_NUM_ETT]; ett[0] = &ett_zbee_zcl_door_lock; /* Register the ZigBee ZCL Door Lock cluster protocol name and description */ proto_zbee_zcl_door_lock = proto_register_protocol("ZigBee ZCL Door Lock", "ZCL Door Lock", ZBEE_PROTOABBREV_ZCL_DOOR_LOCK); proto_register_field_array(proto_zbee_zcl_door_lock, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Door Lock dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_DOOR_LOCK, dissect_zbee_zcl_door_lock, proto_zbee_zcl_door_lock); } /*proto_register_zbee_zcl_door_lock*/ /** *Hands off the ZCL Door Lock dissector. * */ void proto_reg_handoff_zbee_zcl_door_lock(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_DOOR_LOCK, proto_zbee_zcl_door_lock, ett_zbee_zcl_door_lock, ZBEE_ZCL_CID_DOOR_LOCK, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_door_lock_attr_id, hf_zbee_zcl_door_lock_attr_id, hf_zbee_zcl_door_lock_srv_rx_cmd_id, hf_zbee_zcl_door_lock_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_door_lock_attr_data ); } /*proto_reg_handoff_zbee_zcl_door_lock*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl-general.c
/* packet-zbee-zcl-general.c * Dissector routines for the ZigBee ZCL General clusters like * Basic, Identify, OnOff ... * By Fabio Tarabelloni <[email protected]> * Copyright 2013 RELOC s.r.l. * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/to_str.h> #include <wsutil/bits_ctz.h> #include <wsutil/utf8_entities.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" /* ########################################################################## */ /* #### (0x0000) BASIC CLUSTER ############################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_BASIC_ZCL_VERSION 0x0000 /* ZCL Version */ #define ZBEE_ZCL_ATTR_ID_BASIC_APPL_VERSION 0x0001 /* Application Version */ #define ZBEE_ZCL_ATTR_ID_BASIC_STACK_VERSION 0x0002 /* Stack Version */ #define ZBEE_ZCL_ATTR_ID_BASIC_HW_VERSION 0x0003 /* HW Version */ #define ZBEE_ZCL_ATTR_ID_BASIC_MANUFACTURER_NAME 0x0004 /* Manufacturer Name */ #define ZBEE_ZCL_ATTR_ID_BASIC_MODEL_ID 0x0005 /* Model Identifier */ #define ZBEE_ZCL_ATTR_ID_BASIC_DATE_CODE 0x0006 /* Date Code */ #define ZBEE_ZCL_ATTR_ID_BASIC_POWER_SOURCE 0x0007 /* Power Source */ #define ZBEE_ZCL_ATTR_ID_BASIC_LOCATION_DESCR 0x0010 /* Location Description */ #define ZBEE_ZCL_ATTR_ID_BASIC_PHY_ENVIRONMENT 0x0011 /* Physical Environment */ #define ZBEE_ZCL_ATTR_ID_BASIC_DEVICE_ENABLED 0x0012 /* Device Enabled */ #define ZBEE_ZCL_ATTR_ID_BASIC_ALARM_MASK 0x0013 /* Alarm Mask */ #define ZBEE_ZCL_ATTR_ID_BASIC_DISABLE_LOCAL_CFG 0x0014 /* Disable Local Config */ #define ZBEE_ZCL_ATTR_ID_BASIC_SW_BUILD_ID 0x4000 /* SW Build Id */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_BASIC_RESET_FACTORY_DEFAULTS 0x00 /* Reset to Factory Defaults */ /* Server Commands Generated - None */ /* Power Source Id */ #define ZBEE_ZCL_BASIC_PWR_SRC_UNKNOWN 0x00 /* Unknown */ #define ZBEE_ZCL_BASIC_PWR_SRC_MAINS_1PH 0x01 /* Mains (single phase) */ #define ZBEE_ZCL_BASIC_PWR_SRC_MAINS_3PH 0x02 /* Mains (3 phase) */ #define ZBEE_ZCL_BASIC_PWR_SRC_BATTERY 0x03 /* Battery */ #define ZBEE_ZCL_BASIC_PWR_SRC_DC_SRC 0x04 /* DC source */ #define ZBEE_ZCL_BASIC_PWR_SRC_EMERGENCY_1 0x05 /* Emergency mains constantly powered */ #define ZBEE_ZCL_BASIC_PWR_SRC_EMERGENCY_2 0x06 /* Emergency mains and tranfer switch */ /* Device Enable Values */ #define ZBEE_ZCL_BASIC_DISABLED 0x00 /* Disabled */ #define ZBEE_ZCL_BASIC_ENABLED 0x01 /* Enabled */ /* Alarm Mask bit-mask */ #define ZBEE_ZCL_BASIC_ALARM_GEN_HW_FAULT 0x01 /* General hardware fault */ #define ZBEE_ZCL_BASIC_ALARM_GEN_SW_FAULT 0x02 /* General software fault */ #define ZBEE_ZCL_BASIC_ALARM_RESERVED 0xfc /* Reserved */ /* Disable Local Config bit-mask */ #define ZBEE_ZCL_BASIC_DIS_LOC_CFG_RESET 0x01 /* Reset (to factory defaults) */ #define ZBEE_ZCL_BASIC_DIS_LOC_CFG_DEV_CFG 0x02 /* Device configuration */ #define ZBEE_ZCL_BASIC_DIS_LOC_CFG_RESERVED 0xfc /* Reserved */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_basic(void); void proto_reg_handoff_zbee_zcl_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_basic = -1; static int hf_zbee_zcl_basic_attr_id = -1; static int hf_zbee_zcl_basic_pwr_src = -1; static int hf_zbee_zcl_basic_dev_en = -1; static int hf_zbee_zcl_basic_alarm_mask = -1; static int hf_zbee_zcl_basic_alarm_mask_gen_hw_fault = -1; static int hf_zbee_zcl_basic_alarm_mask_gen_sw_fault = -1; static int hf_zbee_zcl_basic_alarm_mask_reserved = -1; static int hf_zbee_zcl_basic_disable_local_cfg = -1; static int hf_zbee_zcl_basic_disable_local_cfg_reset = -1; static int hf_zbee_zcl_basic_disable_local_cfg_device_cfg = -1; static int hf_zbee_zcl_basic_disable_local_cfg_reserved = -1; static int hf_zbee_zcl_basic_srv_rx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_basic = -1; static gint ett_zbee_zcl_basic_alarm_mask = -1; static gint ett_zbee_zcl_basic_dis_local_cfg = -1; /* Attributes */ static const value_string zbee_zcl_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_BASIC_ZCL_VERSION, "ZCL Version" }, { ZBEE_ZCL_ATTR_ID_BASIC_APPL_VERSION, "Application Version" }, { ZBEE_ZCL_ATTR_ID_BASIC_STACK_VERSION, "Stack Version" }, { ZBEE_ZCL_ATTR_ID_BASIC_HW_VERSION, "HW Version" }, { ZBEE_ZCL_ATTR_ID_BASIC_MANUFACTURER_NAME, "Manufacturer Name" }, { ZBEE_ZCL_ATTR_ID_BASIC_MODEL_ID, "Model Identifier" }, { ZBEE_ZCL_ATTR_ID_BASIC_DATE_CODE, "Date Code" }, { ZBEE_ZCL_ATTR_ID_BASIC_POWER_SOURCE, "Power Source" }, { ZBEE_ZCL_ATTR_ID_BASIC_LOCATION_DESCR, "Location Description" }, { ZBEE_ZCL_ATTR_ID_BASIC_PHY_ENVIRONMENT, "Physical Environment" }, { ZBEE_ZCL_ATTR_ID_BASIC_DEVICE_ENABLED, "Device Enabled" }, { ZBEE_ZCL_ATTR_ID_BASIC_ALARM_MASK, "Alarm Mask" }, { ZBEE_ZCL_ATTR_ID_BASIC_DISABLE_LOCAL_CFG, "Disable Local Config" }, { ZBEE_ZCL_ATTR_ID_BASIC_SW_BUILD_ID, "Software Build Id" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_basic_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_BASIC_RESET_FACTORY_DEFAULTS, "Reset to Factory Defaults" }, { 0, NULL } }; /* Power Source Names */ static const value_string zbee_zcl_basic_pwr_src_names[] = { { ZBEE_ZCL_BASIC_PWR_SRC_UNKNOWN, "Unknown" }, { ZBEE_ZCL_BASIC_PWR_SRC_MAINS_1PH, "Mains (single phase)" }, { ZBEE_ZCL_BASIC_PWR_SRC_MAINS_3PH, "Mains (3 phase)" }, { ZBEE_ZCL_BASIC_PWR_SRC_BATTERY, "Battery" }, { ZBEE_ZCL_BASIC_PWR_SRC_DC_SRC, "DC source" }, { ZBEE_ZCL_BASIC_PWR_SRC_EMERGENCY_1, "Emergency mains constantly powered" }, { ZBEE_ZCL_BASIC_PWR_SRC_EMERGENCY_2, "Emergency mains and transfer switch" }, { 0, NULL } }; /* Device Enable Names */ static const value_string zbee_zcl_basic_dev_en_names[] = { { ZBEE_ZCL_BASIC_DISABLED, "Disabled" }, { ZBEE_ZCL_BASIC_ENABLED, "Enabled" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_basic * DESCRIPTION * ZigBee ZCL Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * void *data - pointer to ZCL packet structure. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_basic(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_basic_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); if (tree) { /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_basic_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); } /*offset++;*/ /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_BASIC_RESET_FACTORY_DEFAULTS: /* No payload */ break; default: break; } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const alarm_mask[] = { &hf_zbee_zcl_basic_alarm_mask_gen_hw_fault, &hf_zbee_zcl_basic_alarm_mask_gen_sw_fault, &hf_zbee_zcl_basic_alarm_mask_reserved, NULL }; static int * const local_cfg[] = { &hf_zbee_zcl_basic_disable_local_cfg_reset, &hf_zbee_zcl_basic_disable_local_cfg_device_cfg, &hf_zbee_zcl_basic_disable_local_cfg_reserved, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_BASIC_POWER_SOURCE: proto_tree_add_item(tree, hf_zbee_zcl_basic_pwr_src, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BASIC_DEVICE_ENABLED: proto_tree_add_item(tree, hf_zbee_zcl_basic_dev_en, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BASIC_ALARM_MASK: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_basic_alarm_mask , ett_zbee_zcl_basic_alarm_mask, alarm_mask, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BASIC_DISABLE_LOCAL_CFG: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_basic_disable_local_cfg , ett_zbee_zcl_basic_dis_local_cfg, local_cfg, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BASIC_ZCL_VERSION: case ZBEE_ZCL_ATTR_ID_BASIC_APPL_VERSION: case ZBEE_ZCL_ATTR_ID_BASIC_STACK_VERSION: case ZBEE_ZCL_ATTR_ID_BASIC_HW_VERSION: case ZBEE_ZCL_ATTR_ID_BASIC_MANUFACTURER_NAME: case ZBEE_ZCL_ATTR_ID_BASIC_MODEL_ID: case ZBEE_ZCL_ATTR_ID_BASIC_DATE_CODE: case ZBEE_ZCL_ATTR_ID_BASIC_PHY_ENVIRONMENT: case ZBEE_ZCL_ATTR_ID_BASIC_LOCATION_DESCR: case ZBEE_ZCL_ATTR_ID_BASIC_SW_BUILD_ID: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_basic * DESCRIPTION * ZigBee ZCL Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_basic_attr_id, { "Attribute", "zbee_zcl_general.basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_basic_pwr_src, { "Power Source", "zbee_zcl_general.basic.attr.pwr_src", FT_UINT8, BASE_HEX, VALS(zbee_zcl_basic_pwr_src_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_basic_dev_en, { "Device Enabled", "zbee_zcl_general.basic.attr.dev_en", FT_UINT8, BASE_HEX, VALS(zbee_zcl_basic_dev_en_names), 0x00, NULL, HFILL } }, /* start Alarm Mask fields */ { &hf_zbee_zcl_basic_alarm_mask, { "Alarm Mask", "zbee_zcl_general.basic.attr.alarm_mask", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_basic_alarm_mask_gen_hw_fault, { "General hardware fault", "zbee_zcl_general.basic.attr.alarm_mask.gen_hw_fault", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_BASIC_ALARM_GEN_HW_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_basic_alarm_mask_gen_sw_fault, { "General software fault", "zbee_zcl_general.basic.attr.alarm_mask.gen_sw_fault", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_BASIC_ALARM_GEN_SW_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_basic_alarm_mask_reserved, { "Reserved", "zbee_zcl_general.basic.attr.alarm_mask.reserved", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_BASIC_ALARM_RESERVED, NULL, HFILL } }, /* end Alarm Mask fields */ /* start Disable Local Config fields */ { &hf_zbee_zcl_basic_disable_local_cfg, { "Disable Local Config", "zbee_zcl_general.basic.attr.dis_loc_cfg", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_basic_disable_local_cfg_reset, { "Reset (to factory defaults)", "zbee_zcl_general.basic.attr.dis_loc_cfg.reset", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_BASIC_DIS_LOC_CFG_RESET , NULL, HFILL } }, { &hf_zbee_zcl_basic_disable_local_cfg_device_cfg, { "Device configuration", "zbee_zcl_general.basic.attr.dis_loc_cfg.dev_cfg", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_BASIC_DIS_LOC_CFG_DEV_CFG , NULL, HFILL } }, { &hf_zbee_zcl_basic_disable_local_cfg_reserved, { "Reserved", "zbee_zcl_general.basic.attr.dis_loc_cfg.reserved", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_BASIC_DIS_LOC_CFG_RESERVED , NULL, HFILL } }, /* end Disable Local Config fields */ { &hf_zbee_zcl_basic_srv_rx_cmd_id, { "Command", "zbee_zcl_general.basic.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_basic_srv_rx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_basic, &ett_zbee_zcl_basic_alarm_mask, &ett_zbee_zcl_basic_dis_local_cfg }; /* Register the ZigBee ZCL Basic cluster protocol name and description */ proto_zbee_zcl_basic = proto_register_protocol("ZigBee ZCL Basic", "ZCL Basic", ZBEE_PROTOABBREV_ZCL_BASIC); proto_register_field_array(proto_zbee_zcl_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_BASIC, dissect_zbee_zcl_basic, proto_zbee_zcl_basic); } /*proto_register_zbee_zcl_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_basic * DESCRIPTION * Hands off the ZCL Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_BASIC, proto_zbee_zcl_basic, ett_zbee_zcl_basic, ZBEE_ZCL_CID_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_basic_attr_id, hf_zbee_zcl_basic_attr_id, hf_zbee_zcl_basic_srv_rx_cmd_id, -1, (zbee_zcl_fn_attr_data)dissect_zcl_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_basic*/ /* ########################################################################## */ /* #### (0x0001) POWER CONFIGURATION CLUSTER ################################ */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE 0x0000 /* Mains voltage */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_FREQUENCY 0x0001 /* Mains frerquency */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_ALARM_MASK 0x0010 /* Mains Alarm Mask */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_MIN_THR 0x0011 /* Mains Voltage Min Threshold */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_MAX_THR 0x0012 /* Mains Voltage Max Threshold */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_DWELL_TP 0x0013 /* Mains Voltage Dwell Trip Point */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_VOLTAGE 0x0020 /* Battery Voltage */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_PERCENTAGE 0x0021 /* Battery Percentage Remaining */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_MANUFACTURER 0x0030 /* Battery Manufacturer */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_SIZE 0x0031 /* Battery Size */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_AH_RATING 0x0032 /* Battery AHr Rating */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_QUANTITY 0x0033 /* Battery Quantity */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_RATED_VOLTAGE 0x0034 /* Battery Rated Voltage */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_ALARM_MASK 0x0035 /* Battery Alarm Mask */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_VOLTAGE_MIN_THR 0x0036 /* Battery Voltage Min Threshold */ /* Server Commands Received - None */ /* Server Commands Generated - None */ /* Mains Alarm Mask bit-mask */ #define ZBEE_ZCL_POWER_CONF_MAINS_ALARM_LOW 0x01 /* Mains voltage too low */ #define ZBEE_ZCL_POWER_CONF_MAINS_ALARM_HIGH 0x02 /* Mains voltage too high */ #define ZBEE_ZCL_POWER_CONF_MAINS_ALARM_RESERVED 0xfc /* Reserved */ /* Battery Size values */ #define ZBEE_ZCL_POWER_CONF_BAT_TYPE_NO_BAT 0x00 /* No battery */ #define ZBEE_ZCL_POWER_CONF_BAT_TYPE_BUILT_IN 0x01 /* Built in */ #define ZBEE_ZCL_POWER_CONF_BAT_TYPE_OTHER 0x02 /* Other */ #define ZBEE_ZCL_POWER_CONF_BAT_TYPE_AA 0x03 /* AA */ #define ZBEE_ZCL_POWER_CONF_BAT_TYPE_AAA 0x04 /* AAA */ #define ZBEE_ZCL_POWER_CONF_BAT_TYPE_C 0x05 /* C */ #define ZBEE_ZCL_POWER_CONF_BAT_TYPE_D 0x06 /* D */ #define ZBEE_ZCL_POWER_CONF_BAT_TYPE_UNKNOWN 0xFF /* Unknown */ /* Battery alarm mask bit-mask */ #define ZBEE_ZCL_POWER_CONF_BATTERY_ALARM_LOW 0x01 /* Battery voltage too low */ #define ZBEE_ZCL_POWER_CONF_BATTERY_ALARM_RESERVED 0xfe /* Reserved */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_power_config(void); void proto_reg_handoff_zbee_zcl_power_config(void); /* Command Dissector Helpers */ static void dissect_zcl_power_config_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_power_config = -1; static int hf_zbee_zcl_power_config_attr_id = -1; static int hf_zbee_zcl_power_config_batt_type = -1; static int hf_zbee_zcl_power_config_mains_alarm_mask = -1; static int hf_zbee_zcl_power_config_mains_alarm_mask_low = -1; static int hf_zbee_zcl_power_config_mains_alarm_mask_high = -1; static int hf_zbee_zcl_power_config_mains_alarm_mask_reserved = -1; static int hf_zbee_zcl_power_config_batt_alarm_mask = -1; static int hf_zbee_zcl_power_config_batt_alarm_mask_low = -1; static int hf_zbee_zcl_power_config_batt_alarm_mask_reserved = -1; static int hf_zbee_zcl_power_config_mains_voltage = -1; static int hf_zbee_zcl_power_config_mains_frequency = -1; static int hf_zbee_zcl_power_config_mains_voltage_min_thr = -1; static int hf_zbee_zcl_power_config_mains_voltage_max_thr = -1; static int hf_zbee_zcl_power_config_mains_voltage_dwell_tp = -1; static int hf_zbee_zcl_power_config_batt_voltage = -1; static int hf_zbee_zcl_power_config_batt_percentage = -1; static int hf_zbee_zcl_power_config_batt_ah_rating = -1; static int hf_zbee_zcl_power_config_batt_rated_voltage = -1; static int hf_zbee_zcl_power_config_batt_voltage_min_thr = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_power_config = -1; static gint ett_zbee_zcl_power_config_mains_alarm_mask = -1; static gint ett_zbee_zcl_power_config_batt_alarm_mask = -1; /* Attributes */ static const value_string zbee_zcl_power_config_attr_names[] = { { ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE, "Mains Voltage" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_FREQUENCY, "Mains Frequency" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_ALARM_MASK, "Mains Alarm Mask" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_MIN_THR, "Mains Voltage Min Threshold" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_MAX_THR, "Mains Voltage Max Threshold" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_DWELL_TP, "Mains Voltage Dwell Trip Point" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_VOLTAGE, "Battery Voltage" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_PERCENTAGE, "Battery Percentage Remaining" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_MANUFACTURER, "Battery Manufacturer" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_SIZE, "Battery Size" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_AH_RATING, "Battery AHr Rating" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_QUANTITY, "Battery Quantity" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_RATED_VOLTAGE, "Battery Rated Voltage" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_ALARM_MASK, "Battery Alarm Mask" }, { ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_VOLTAGE_MIN_THR, "Battery Voltage Minimum Threshold" }, { 0, NULL } }; /* Battery size Names */ static const value_string zbee_zcl_power_config_batt_type_names[] = { { ZBEE_ZCL_POWER_CONF_BAT_TYPE_NO_BAT, "No battery" }, { ZBEE_ZCL_POWER_CONF_BAT_TYPE_BUILT_IN, "Built in" }, { ZBEE_ZCL_POWER_CONF_BAT_TYPE_OTHER, "Other" }, { ZBEE_ZCL_POWER_CONF_BAT_TYPE_AA, "AA" }, { ZBEE_ZCL_POWER_CONF_BAT_TYPE_AAA, "AAA" }, { ZBEE_ZCL_POWER_CONF_BAT_TYPE_C, "C" }, { ZBEE_ZCL_POWER_CONF_BAT_TYPE_D, "D" }, { ZBEE_ZCL_POWER_CONF_BAT_TYPE_UNKNOWN, "Unknown" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_power_config * DESCRIPTION * ZigBee ZCL power configuration cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_power_config(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_power_config*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_power_conf_voltage * DESCRIPTION * this function decodes voltage values * PARAMETERS * guint *s - string to display * guint32 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_power_conf_voltage(gchar *s, guint32 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d.%d [V]", value/10, value%10); return; } /*decode_power_conf_voltage*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_power_conf_percentage * DESCRIPTION * this function decodes percentage values * PARAMETERS * guint *s - string to display * guint32 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_power_conf_percentage(gchar *s, guint32 value) { snprintf(s, ITEM_LABEL_LENGTH, "%.1f [%%]", value/2.0); return; } /*decode_power_conf_percentage*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_power_conf_frequency * DESCRIPTION * this function decodes mains frequency values * PARAMETERS * guint *s - string to display * guint32 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_power_conf_frequency(gchar *s, guint32 value) { if(value == 0x00) snprintf(s, ITEM_LABEL_LENGTH, "Frequency too low to be measured (or DC supply)"); else if(value == 0xfe) snprintf(s, ITEM_LABEL_LENGTH, "Frequency too high to be measured"); else if (value == 0xff) snprintf(s, ITEM_LABEL_LENGTH, "Frequency could not be measured"); else snprintf(s, ITEM_LABEL_LENGTH, "%d [Hz]", value*2); return; } /*decode_power_conf_frequency*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_power_conf_batt_AHr * DESCRIPTION * this function decodes battery capacity values * PARAMETERS * guint *s - string to display * guint32 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_power_conf_batt_AHr(gchar *s, guint32 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d [mAHr]", value*10); return; } /*decode_power_conf_batt_AHr*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_power_config_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_power_config_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { proto_item *it; static int * const mains_alarm_mask[] = { &hf_zbee_zcl_power_config_mains_alarm_mask_low, &hf_zbee_zcl_power_config_mains_alarm_mask_high, &hf_zbee_zcl_power_config_mains_alarm_mask_reserved, NULL }; static int * const batt_alarm_mask[] = { &hf_zbee_zcl_power_config_batt_alarm_mask_low, &hf_zbee_zcl_power_config_batt_alarm_mask_reserved, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE: proto_tree_add_item(tree, hf_zbee_zcl_power_config_mains_voltage, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_FREQUENCY: proto_tree_add_item(tree, hf_zbee_zcl_power_config_mains_frequency, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_ALARM_MASK: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_power_config_mains_alarm_mask, ett_zbee_zcl_power_config_mains_alarm_mask, mains_alarm_mask, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_MIN_THR: proto_tree_add_item(tree, hf_zbee_zcl_power_config_mains_voltage_min_thr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_MAX_THR: proto_tree_add_item(tree, hf_zbee_zcl_power_config_mains_voltage_max_thr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_DWELL_TP: it = proto_tree_add_item(tree, hf_zbee_zcl_power_config_mains_voltage_dwell_tp, tvb, *offset, 2, ENC_LITTLE_ENDIAN); proto_item_append_text(it, " [s]"); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_SIZE: proto_tree_add_item(tree, hf_zbee_zcl_power_config_batt_type, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_VOLTAGE: proto_tree_add_item(tree, hf_zbee_zcl_power_config_batt_voltage, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_PERCENTAGE: proto_tree_add_item(tree, hf_zbee_zcl_power_config_batt_percentage, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_AH_RATING: proto_tree_add_item(tree, hf_zbee_zcl_power_config_batt_ah_rating, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_RATED_VOLTAGE: proto_tree_add_item(tree, hf_zbee_zcl_power_config_batt_rated_voltage, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_ALARM_MASK: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_power_config_batt_alarm_mask, ett_zbee_zcl_power_config_batt_alarm_mask, batt_alarm_mask, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_VOLTAGE_MIN_THR: proto_tree_add_item(tree, hf_zbee_zcl_power_config_batt_voltage_min_thr, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_MANUFACTURER: case ZBEE_ZCL_ATTR_ID_POWER_CONF_BATTERY_QUANTITY: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_power_config_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_power_config * DESCRIPTION * ZigBee ZCL power configuration cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_power_config(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_power_config_attr_id, { "Attribute", "zbee_zcl_general.power_config.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_power_config_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_batt_type, { "Battery Type", "zbee_zcl_general.power_config.attr.batt_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_power_config_batt_type_names), 0x00, NULL, HFILL } }, /* start mains Alarm Mask fields */ { &hf_zbee_zcl_power_config_mains_alarm_mask, { "Mains Alarm Mask", "zbee_zcl_general.power_config.attr.mains_alarm_mask", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_power_config_mains_alarm_mask_low, { "Mains Voltage too low", "zbee_zcl_general.power_config.attr.mains_alarm_mask.mains_too_low", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_POWER_CONF_MAINS_ALARM_LOW, NULL, HFILL } }, { &hf_zbee_zcl_power_config_mains_alarm_mask_high, { "Mains Voltage too high", "zbee_zcl_general.power_config.attr.mains_alarm_mask.mains_too_high", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_POWER_CONF_MAINS_ALARM_HIGH, NULL, HFILL } }, { &hf_zbee_zcl_power_config_mains_alarm_mask_reserved, { "Reserved", "zbee_zcl_general.power_config.attr.mains_alarm_mask.reserved", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_POWER_CONF_MAINS_ALARM_RESERVED, NULL, HFILL } }, /* end mains Alarm Mask fields */ /* start battery Alarm Mask fields */ { &hf_zbee_zcl_power_config_batt_alarm_mask, { "Battery Alarm Mask", "zbee_zcl_general.power_config.attr.batt_alarm_mask", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_power_config_batt_alarm_mask_low, { "Battery Voltage too low", "zbee_zcl_general.power_config.batt_attr.alarm_mask.batt_too_low", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_POWER_CONF_BATTERY_ALARM_LOW, NULL, HFILL } }, { &hf_zbee_zcl_power_config_batt_alarm_mask_reserved, { "Reserved", "zbee_zcl_general.power_config.attr.batt_alarm_mask.reserved", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_POWER_CONF_BATTERY_ALARM_RESERVED, NULL, HFILL } }, /* end battery Alarm Mask fields */ { &hf_zbee_zcl_power_config_mains_voltage, { "Measured Mains Voltage", "zbee_zcl_general.power_config.attr.mains_voltage", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_power_conf_voltage), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_mains_frequency, { "Measured Mains Frequency", "zbee_zcl_general.power_config.attr.mains_frequency", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_power_conf_frequency), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_mains_voltage_min_thr, { "Mains Voltage Minimum Threshold", "zbee_zcl_general.power_config.attr.mains_volt_min", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_power_conf_voltage), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_mains_voltage_max_thr, { "Mains Voltage Maximum Threshold", "zbee_zcl_general.power_config.attr.mains_volt_max", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_power_conf_voltage), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_batt_voltage, { "Measured Battery Voltage", "zbee_zcl_general.power_config.attr.batt_voltage", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_power_conf_voltage), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_batt_percentage, { "Remaining Battery Percentage", "zbee_zcl_general.power_config.attr.batt_percentage", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_power_conf_percentage), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_batt_ah_rating, { "Battery Capacity", "zbee_zcl_general.power_config.attr.batt_AHr", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_power_conf_batt_AHr), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_batt_rated_voltage, { "Battery Rated Voltage", "zbee_zcl_general.power_config.attr.batt_rated_voltage", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_power_conf_voltage), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_batt_voltage_min_thr, { "Battery Voltage Minimum Threshold", "zbee_zcl_general.power_config.attr.batt_voltage_min_thr", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_power_conf_voltage), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_power_config_mains_voltage_dwell_tp, { "Mains Voltage Dwell Trip Point", "zbee_zcl_general.power_config.attr.mains_dwell_tp", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, }; /* ZCL power configuration subtrees */ static gint *ett[] = { &ett_zbee_zcl_power_config, &ett_zbee_zcl_power_config_mains_alarm_mask, &ett_zbee_zcl_power_config_batt_alarm_mask }; /* Register the ZigBee ZCL power configuration cluster protocol name and description */ proto_zbee_zcl_power_config = proto_register_protocol("ZigBee ZCL Power Configuration", "ZCL Power Configuration", ZBEE_PROTOABBREV_ZCL_POWER_CONFIG); proto_register_field_array(proto_zbee_zcl_power_config, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL power configuration dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_POWER_CONFIG, dissect_zbee_zcl_power_config, proto_zbee_zcl_power_config); } /*proto_register_zbee_zcl_power_config*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_power_config * DESCRIPTION * Hands off the ZCL power configuration dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_power_config(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_POWER_CONFIG, proto_zbee_zcl_power_config, ett_zbee_zcl_power_config, ZBEE_ZCL_CID_POWER_CONFIG, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_power_config_attr_id, hf_zbee_zcl_power_config_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_power_config_attr_data ); } /*proto_reg_handoff_zbee_zcl_power_config*/ /* ########################################################################## */ /* #### (0x0002) DEVICE TEMPERATURE CONFIGURATION CLUSTER ################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_CURRENT_TEMP 0x0000 /*Current Temperature*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_MIN_TEMP_EXP 0x0001 /*Min Temperature Experienced*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_MAX_TEMP_EXP 0x0002 /*Max Temperature Experienced*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_OVER_TEMP_TOTAL_DWELL 0x0003 /*Over Temperature Total Dwell*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK 0x0010 /*Device Temperature Alarm Mask*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_LOW_TEMP_THRESHOLD 0x0011 /*Low Temperature Threshold*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_HIGH_TEMP_THRESHOLD 0x0012 /*High Temperature Threshold*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_LOW_TEMP_DWELL_TRIP_POINT 0x0013 /*Low Temperature Dwell Trip Point*/ #define ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_HIGH_TEMP_DWELL_TRIP_POINT 0x0014 /*High Temperature Dwell Trip Point*/ /*Server commands received - none*/ /*Server commands generated - none*/ /*Device Temperature Alarm Mask Value*/ #define ZBEE_ZCL_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK_TOO_LOW 0x01 /*Mains Voltage too low*/ #define ZBEE_ZCL_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK_TOO_HIGH 0x02 /*Mains Voltage too high*/ #define ZBEE_ZCL_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK_RESERVED 0xfc /*Mains Voltage reserved*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_device_temperature_configuration(void); void proto_reg_handoff_zbee_zcl_device_temperature_configuration(void); /* Command Dissector Helpers */ static void dissect_zcl_device_temperature_configuration_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_device_temperature_configuration = -1; static int hf_zbee_zcl_device_temperature_configuration_attr_id = -1; static int hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask = -1; static int hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_too_low = -1; static int hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_too_high = -1; static int hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_reserved = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_device_temperature_configuration = -1; static gint ett_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask = -1; /* Attributes */ static const value_string zbee_zcl_device_temperature_configuration_attr_names[] = { { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_CURRENT_TEMP, "Current Temperature" }, { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_MIN_TEMP_EXP, "Min Temperature Experienced" }, { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_MAX_TEMP_EXP, "Max Temperature Experienced" }, { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_OVER_TEMP_TOTAL_DWELL, "Over Temperature Total Dwell" }, { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK, "Device Temperature Alarm Mask" }, { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_LOW_TEMP_THRESHOLD, "Low Temperature Threshold" }, { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_HIGH_TEMP_THRESHOLD, "High Temperature Threshold" }, { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_LOW_TEMP_DWELL_TRIP_POINT, "Low Temperature Dwell Trip Point" }, { ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_HIGH_TEMP_DWELL_TRIP_POINT, "High Temperature Dwell Trip Point" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_device_temperature_configuration * DESCRIPTION * ZigBee ZCL Device Temperature Configuration cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_device_temperature_configuration(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb);; } /*dissect_zbee_zcl_device_temperature_configuration*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_device_temperature_configuration_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_device_temperature_configuration_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const device_temp_alarm_mask[] = { &hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_too_low, &hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_too_high, &hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_reserved, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask, ett_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask, device_temp_alarm_mask, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_CURRENT_TEMP: case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_MIN_TEMP_EXP: case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_MAX_TEMP_EXP: case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_OVER_TEMP_TOTAL_DWELL: case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_LOW_TEMP_THRESHOLD: case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_HIGH_TEMP_THRESHOLD: case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_LOW_TEMP_DWELL_TRIP_POINT: case ZBEE_ZCL_ATTR_ID_DEVICE_TEMPERATURE_CONFIGURATION_HIGH_TEMP_DWELL_TRIP_POINT: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_device_temperature_configuration_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_device_temperature_configuration * DESCRIPTION * ZigBee ZCL Device Temperature Configuration cluster protocol registration routine. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_device_temperature_configuration(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_device_temperature_configuration_attr_id, { "Attribute", "zbee_zcl_general.device_temperature_configuration.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_device_temperature_configuration_attr_names), 0x00, NULL, HFILL } }, /* start Device Temperature Alarm Mask fields */ { &hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask, { "Device Temperature Alarm Mask", "zbee_zcl_general.device_temperature_configuration.attr.device_temp_alarm_mask", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_too_low, { "Device Temperature too low", "zbee_zcl_general.device_temperature_configuration.attr.device_temp_alarm_mask.too_low", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK_TOO_LOW, NULL, HFILL } }, { &hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_too_high, { "Device Temperature too high", "zbee_zcl_general.device_temperature_configuration.attr.device_temp_alarm_mask.too_high", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK_TOO_HIGH, NULL, HFILL } }, { &hf_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask_reserved, { "Reserved", "zbee_zcl_general.device_temperature_configuration.attr.device_temp_alarm_mask.reserved", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_DEVICE_TEMPERATURE_CONFIGURATION_DEVICE_TEMP_ALARM_MASK_RESERVED, NULL, HFILL } } /* end Device Temperature Alarm Mask fields */ }; /* ZCL Device Temperature Configuration subtrees */ static gint *ett[] = { &ett_zbee_zcl_device_temperature_configuration, &ett_zbee_zcl_device_temperature_configuration_device_temp_alarm_mask }; /* Register the ZigBee ZCL Device Temperature Configuration cluster protocol name and description */ proto_zbee_zcl_device_temperature_configuration = proto_register_protocol("ZigBee ZCL Device Temperature Configuration", "ZCL Device Temperature Configuration", ZBEE_PROTOABBREV_ZCL_DEVICE_TEMP_CONFIG); proto_register_field_array(proto_zbee_zcl_device_temperature_configuration, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Device Temperature Configuration dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_DEVICE_TEMP_CONFIG, dissect_zbee_zcl_device_temperature_configuration, proto_zbee_zcl_device_temperature_configuration); } /*proto_register_zbee_zcl_device_temperature_configuration*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_device_temperature_configuration * DESCRIPTION * Hands off the ZCL Device Temperature Configuration dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_device_temperature_configuration(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_DEVICE_TEMP_CONFIG, proto_zbee_zcl_device_temperature_configuration, ett_zbee_zcl_device_temperature_configuration, ZBEE_ZCL_CID_DEVICE_TEMP_CONFIG, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_device_temperature_configuration_attr_id, hf_zbee_zcl_device_temperature_configuration_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_device_temperature_configuration_attr_data ); } /*proto_reg_handoff_zbee_zcl_device_temperature_configuration*/ /* ########################################################################## */ /* #### (0x0003) IDENTIFY CLUSTER ########################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_IDENTIFY_IDENTIFY_TIME 0x0000 /* Identify Time */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY 0x00 /* Identify */ #define ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY_QUERY 0x01 /* Identify Query */ #define ZBEE_ZCL_CMD_ID_IDENTIFY_TRIGGER_EFFECT 0x40 /* Trigger Effect */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY_QUERY_RSP 0x00 /* Identify Query Response */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_identify(void); void proto_reg_handoff_zbee_zcl_identify(void); /* Command Dissector Helpers */ static void dissect_zcl_identify_identify (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_identify_identifyqueryrsp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_identify_triggereffect (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_identify_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_identify = -1; static int hf_zbee_zcl_identify_attr_id = -1; static int hf_zbee_zcl_identify_identify_time = -1; static int hf_zbee_zcl_identify_identify_timeout = -1; static int hf_zbee_zcl_identify_effect_id = -1; static int hf_zbee_zcl_identify_effect_variant = -1; static int hf_zbee_zcl_identify_srv_rx_cmd_id = -1; static int hf_zbee_zcl_identify_srv_tx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_identify = -1; /* Attributes */ static const value_string zbee_zcl_identify_attr_names[] = { { ZBEE_ZCL_ATTR_ID_IDENTIFY_IDENTIFY_TIME, "Identify Time" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_identify_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY, "Identify" }, { ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY_QUERY, "Identify Query" }, { ZBEE_ZCL_CMD_ID_IDENTIFY_TRIGGER_EFFECT, "Trigger Effect" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_identify_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY_QUERY_RSP, "Identify Query Response" }, { 0, NULL } }; /* Trigger Effects */ static const value_string zbee_zcl_identify_effect_id_names[] = { { 0x00, "Blink" }, { 0x01, "Breathe" }, { 0x02, "Okay" }, { 0x0b, "Channel change" }, { 0xfe, "Finish" }, { 0xff, "Stop" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_identify * DESCRIPTION * ZigBee ZCL Identify cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * void *data - pointer to ZCL packet structure. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_identify(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_identify_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_identify_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_identify, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY: dissect_zcl_identify_identify(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY_QUERY: /* without payload*/ break; case ZBEE_ZCL_CMD_ID_IDENTIFY_TRIGGER_EFFECT: dissect_zcl_identify_triggereffect(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_identify_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_identify_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_identify, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_IDENTIFY_IDENTITY_QUERY_RSP: dissect_zcl_identify_identifyqueryrsp(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_identify*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_identify_identify * DESCRIPTION * this function decodes the Identify payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_identify_identify(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Identify Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_identify_identify_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_identify_identify*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_identify_identifyqueryrsp * DESCRIPTION * this function decodes the IdentifyQueryResponse payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_identify_identifyqueryrsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Identify Timeout" field */ proto_tree_add_item(tree, hf_zbee_zcl_identify_identify_timeout, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_identify_identifyqueryrsp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_identify_triggereffect * DESCRIPTION * this function decodes the Trigger Effect payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_identify_triggereffect(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Trigger Effect Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_identify_effect_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Trigger Effect Variant" field */ proto_tree_add_item(tree, hf_zbee_zcl_identify_effect_variant, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_identify_triggereffect*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_identify_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_identify_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_IDENTIFY_IDENTIFY_TIME: proto_tree_add_item(tree, hf_zbee_zcl_identify_identify_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_identify_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_identify * DESCRIPTION * ZigBee ZCL Identify cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_identify(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_identify_attr_id, { "Attribute", "zbee_zcl_general.identify.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_identify_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_identify_identify_time, { "Identify Time", "zbee_zcl_general.identify.attr.identify_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_seconds), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_identify_identify_timeout, { "Identify Timeout", "zbee_zcl_general.identify.identify_timeout", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_seconds), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_identify_effect_id, { "Effect", "zbee_zcl_general.identify.effect_id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_identify_effect_id_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_identify_effect_variant, { "Variant", "zbee_zcl_general.identify.effect_variant", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_identify_srv_rx_cmd_id, { "Command", "zbee_zcl_general.identify.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_identify_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_identify_srv_tx_cmd_id, { "Command", "zbee_zcl_general.identify.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_identify_srv_tx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Identify subtrees */ static gint *ett[] = { &ett_zbee_zcl_identify }; /* Register the ZigBee ZCL Identify cluster protocol name and description */ proto_zbee_zcl_identify = proto_register_protocol("ZigBee ZCL Identify", "ZCL Identify", ZBEE_PROTOABBREV_ZCL_IDENTIFY); proto_register_field_array(proto_zbee_zcl_identify, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Identify dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_IDENTIFY, dissect_zbee_zcl_identify, proto_zbee_zcl_identify); } /*proto_register_zbee_zcl_identify*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_identify * DESCRIPTION * Hands off the ZCL Identify dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_identify(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_IDENTIFY, proto_zbee_zcl_identify, ett_zbee_zcl_identify, ZBEE_ZCL_CID_IDENTIFY, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_identify_attr_id, hf_zbee_zcl_identify_attr_id, hf_zbee_zcl_identify_srv_rx_cmd_id, hf_zbee_zcl_identify_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_identify_attr_data ); } /*proto_reg_handoff_zbee_zcl_identify*/ /* ########################################################################## */ /* #### (0x0004) GROUPS CLUSTER ############################################# */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_CMD_ID_GROUPS_NAME_SUPPORT_MASK 0x80 /*Name support Mask*/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_GROUPS_NAME_SUPPORT 0x0000 /* Groups Name Support*/ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP 0x00 /* Add Group */ #define ZBEE_ZCL_CMD_ID_GROUPS_VIEW_GROUP 0x01 /* View Group */ #define ZBEE_ZCL_CMD_ID_GROUPS_ADD_GET_GROUP_MEMBERSHIP 0x02 /* Get Group Membership */ #define ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_GROUP 0x03 /* Remove a Group */ #define ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_ALL_GROUPS 0x04 /* Remove all Groups */ #define ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP_IF_IDENTIFYING 0x05 /* Add Group if Identifying */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP_RESPONSE 0x00 /* Add Group Response */ #define ZBEE_ZCL_CMD_ID_GROUPS_VIEW_GROUP_RESPONSE 0x01 /* View Group Response */ #define ZBEE_ZCL_CMD_ID_GROUPS_GET_GROUP_MEMBERSHIP_RESPONSE 0x02 /* Get Group Membership Response */ #define ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_GROUP_RESPONSE 0x03 /* Remove a Group Response */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_groups(void); void proto_reg_handoff_zbee_zcl_groups(void); /* Command Dissector Helpers */ static void dissect_zcl_groups_add_group_or_if_identifying (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_groups_view_group (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_groups_get_group_membership (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_groups_remove_group (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_groups_add_remove_group_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_groups_view_group_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_groups_get_group_membership_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_groups_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_groups = -1; static int hf_zbee_zcl_groups_attr_id = -1; static int hf_zbee_zcl_groups_group_name_support = -1; static int hf_zbee_zcl_groups_group_id = -1; static int hf_zbee_zcl_groups_group_count = -1; static int hf_zbee_zcl_groups_group_capacity = -1; static int hf_zbee_zcl_groups_status = -1; static int hf_zbee_zcl_groups_attr_str_len = -1; static int hf_zbee_zcl_groups_attr_str = -1; static int hf_zbee_zcl_groups_srv_rx_cmd_id = -1; static int hf_zbee_zcl_groups_srv_tx_cmd_id = -1; static int hf_zbee_zcl_groups_group_list = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_groups = -1; static gint ett_zbee_zcl_groups_grp_ctrl = -1; /* Attributes */ static const value_string zbee_zcl_groups_attr_names[] = { { ZBEE_ZCL_ATTR_ID_GROUPS_NAME_SUPPORT, "Groups Name Support" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_groups_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP, "Add Group" }, { ZBEE_ZCL_CMD_ID_GROUPS_VIEW_GROUP, "View Group" }, { ZBEE_ZCL_CMD_ID_GROUPS_ADD_GET_GROUP_MEMBERSHIP, "Get Group Membership" }, { ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_GROUP, "Remove a Group" }, { ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_ALL_GROUPS, "Remove all Groups" }, { ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP_IF_IDENTIFYING, "Add Group if Identifying" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_groups_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP_RESPONSE, "Add Group Response" }, { ZBEE_ZCL_CMD_ID_GROUPS_VIEW_GROUP_RESPONSE, "View Group Response" }, { ZBEE_ZCL_CMD_ID_GROUPS_GET_GROUP_MEMBERSHIP_RESPONSE, "Get Group Membership Response" }, { ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_GROUP_RESPONSE, "Remove a Group Response" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_groups * DESCRIPTION * ZigBee ZCL Groups cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_groups(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_groups_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_groups_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_groups, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP: dissect_zcl_groups_add_group_or_if_identifying(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_GROUPS_VIEW_GROUP: dissect_zcl_groups_view_group(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_GROUPS_ADD_GET_GROUP_MEMBERSHIP: dissect_zcl_groups_get_group_membership(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_GROUP: dissect_zcl_groups_remove_group(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_ALL_GROUPS: /* without payload*/ break; case ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP_IF_IDENTIFYING: dissect_zcl_groups_add_group_or_if_identifying(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_groups_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_groups_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_groups, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_GROUPS_ADD_GROUP_RESPONSE: dissect_zcl_groups_add_remove_group_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_GROUPS_VIEW_GROUP_RESPONSE: dissect_zcl_groups_view_group_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_GROUPS_GET_GROUP_MEMBERSHIP_RESPONSE: dissect_zcl_groups_get_group_membership_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_GROUPS_REMOVE_GROUP_RESPONSE: dissect_zcl_groups_add_remove_group_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_groups*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_groups_add_group_or_if_identifying * DESCRIPTION * this function decodes the Add Group or Add Group If * Identifying payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_groups_add_group_or_if_identifying(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint attr_uint; guint8 *attr_string; /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_groups_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Group Name" field */ attr_uint = tvb_get_guint8(tvb, *offset); /* string length */ if (attr_uint == 0xff) attr_uint = 0; proto_tree_add_uint(tree, hf_zbee_zcl_groups_attr_str_len, tvb, *offset, 1, attr_uint); *offset += 1; attr_string = tvb_get_string_enc(wmem_packet_scope(), tvb, *offset, attr_uint, ENC_ASCII); proto_item_append_text(tree, ", String: %s", attr_string); proto_tree_add_string(tree, hf_zbee_zcl_groups_attr_str, tvb, *offset, attr_uint, attr_string); *offset += attr_uint; } /*dissect_zcl_groups_add_group*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_groups_view_group * DESCRIPTION * this function decodes the View Group payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_groups_view_group(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Groups Timeout" field */ proto_tree_add_item(tree, hf_zbee_zcl_groups_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_groups_view_group*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_groups_get_group_membership * DESCRIPTION * this function decodes the Get Group Membership payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_groups_get_group_membership(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_item *grp_list; proto_tree *grp_list_tree; guint8 count, i; /* Retrieve "Group Count" field */ count = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_groups_group_count, tvb, *offset, 1, count); *offset += 1; if(count > 0) { grp_list = proto_tree_add_item(tree, hf_zbee_zcl_groups_group_list, tvb, *offset, 2*count, ENC_NA); grp_list_tree = proto_item_add_subtree(grp_list, ett_zbee_zcl_groups_grp_ctrl); /* Retrieve "Group List" members */ for( i = 0; i < count; i++) { proto_tree_add_item(grp_list_tree, hf_zbee_zcl_groups_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } } /*dissect_zcl_groups_get_group_membership*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_groups_remove_group * DESCRIPTION * this function decodes the Remove Group payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_groups_remove_group(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Groups ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_groups_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_groups_remove_group*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_groups_add_group_response * DESCRIPTION * this function decodes the Add Group Response payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_groups_add_remove_group_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Status" field */ proto_tree_add_item(tree, hf_zbee_zcl_groups_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Groups ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_groups_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_groups_remove_group*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_groups_view_group_response * DESCRIPTION * this function decodes the View Group Response payload * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_groups_view_group_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint attr_uint; guint8 *attr_string; /* Retrieve "Status" field */ proto_tree_add_item(tree, hf_zbee_zcl_groups_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_groups_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Group Name" field */ attr_uint = tvb_get_guint8(tvb, *offset); /* string length */ if (attr_uint == 0xff) attr_uint = 0; proto_tree_add_uint(tree, hf_zbee_zcl_groups_attr_str_len, tvb, *offset, 1, attr_uint); *offset += 1; attr_string = tvb_get_string_enc(wmem_packet_scope(), tvb, *offset, attr_uint, ENC_ASCII); proto_item_append_text(tree, ", String: %s", attr_string); proto_tree_add_string(tree, hf_zbee_zcl_groups_attr_str, tvb, *offset, attr_uint, attr_string); *offset += attr_uint; } /*dissect_zcl_groups_add_group*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_groups_get_group_membership_response * DESCRIPTION * this function decodes the Get Group Membership Response payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_groups_get_group_membership_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_item *grp_list; proto_tree *grp_list_tree; guint8 count, i; /* Retrieve "Capacity" field */ proto_tree_add_item(tree, hf_zbee_zcl_groups_group_capacity, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Group Count" field */ count = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_groups_group_count, tvb, *offset, 1, count); *offset += 1; if(count > 0) { grp_list = proto_tree_add_item(tree, hf_zbee_zcl_groups_group_list, tvb, *offset, 2*count, ENC_NA); grp_list_tree = proto_item_add_subtree(grp_list, ett_zbee_zcl_groups_grp_ctrl); /* Retrieve "Group List" members */ for( i = 0; i < count; i++) { proto_tree_add_item(grp_list_tree, hf_zbee_zcl_groups_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } } /*dissect_zcl_groups_get_group_membership*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_groups_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_groups_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_GROUPS_NAME_SUPPORT: proto_tree_add_item(tree, hf_zbee_zcl_groups_group_name_support, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_groups_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_groups * DESCRIPTION * ZigBee ZCL Groups cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_groups(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_groups_attr_id, { "Attribute", "zbee_zcl_general.groups.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_groups_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_groups_group_name_support, { "Group Name Support", "zbee_zcl_general.groups.attr.group_name_support", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_CMD_ID_GROUPS_NAME_SUPPORT_MASK, NULL, HFILL } }, { &hf_zbee_zcl_groups_group_id, { "Group ID", "zbee_zcl_general.groups.group_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_groups_group_list, {"Group List", "zbee_zcl_general.groups.group_list",FT_NONE,BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_groups_group_count, { "Group Count", "zbee_zcl_general.groups.group_count", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_groups_group_capacity, { "Group Capacity", "zbee_zcl_general.groups.group_capacity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_groups_status, { "Group Status", "zbee_zcl_general.groups.group_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_groups_attr_str_len, { "Length", "zbee_zcl_general.groups.attr_str_len", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_groups_attr_str, { "String", "zbee_zcl_general.groups_attr_str", FT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_groups_srv_rx_cmd_id, { "Command", "zbee_zcl_general.groups.cmd_srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_groups_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_groups_srv_tx_cmd_id, { "Command", "zbee_zcl_general.groups.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_groups_srv_tx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Groups subtrees */ static gint *ett[] = { &ett_zbee_zcl_groups, &ett_zbee_zcl_groups_grp_ctrl }; /* Register the ZigBee ZCL Groups cluster protocol name and description */ proto_zbee_zcl_groups = proto_register_protocol("ZigBee ZCL Groups", "ZCL Groups", ZBEE_PROTOABBREV_ZCL_GROUPS); proto_register_field_array(proto_zbee_zcl_groups, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Groups dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_GROUPS, dissect_zbee_zcl_groups, proto_zbee_zcl_groups); } /*proto_register_zbee_zcl_groups*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_groups * DESCRIPTION * Hands off the ZCL Groups dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_groups(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_GROUPS, proto_zbee_zcl_groups, ett_zbee_zcl_groups, ZBEE_ZCL_CID_GROUPS, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_groups_attr_id, hf_zbee_zcl_groups_attr_id, hf_zbee_zcl_groups_srv_rx_cmd_id, hf_zbee_zcl_groups_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_groups_attr_data ); } /*proto_reg_handoff_zbee_zcl_groups*/ /* ########################################################################## */ /* #### (0x0005) SCENES CLUSTER ############################################# */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_ATTR_SCENES_SCENE_VALID_MASK 0x01 /* bit 0 */ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_SCENES_SCENE_COUNT 0x0000 /* Scene Count */ #define ZBEE_ZCL_ATTR_ID_SCENES_CURRENT_SCENE 0x0001 /* Current Scene */ #define ZBEE_ZCL_ATTR_ID_SCENES_CURRENT_GROUP 0x0002 /* Current Group */ #define ZBEE_ZCL_ATTR_ID_SCENES_SCENE_VALID 0x0003 /* Scene Valid */ #define ZBEE_ZCL_ATTR_ID_SCENES_NAME_SUPPORT 0x0004 /* Name Support */ #define ZBEE_ZCL_ATTR_ID_SCENES_LAST_CONFIGURED_BY 0x0005 /* Last Configured By */ /* Scene Name Support */ #define ZBEE_ZCL_SCENES_NAME_SUPPORTED 0x80 /* Scene Names Supported */ #define ZBEE_ZCL_SCENES_NAME_NOT_SUPPORTED 0x00 /* Scene Names Not Supported */ /* Copy Mode */ #define ZBEE_ZCL_SCENES_COPY_SPECIFIED 0x00 /* Copy Specified Scenes */ #define ZBEE_ZCL_SCENES_COPY_ALL 0x01 /* Copy All Scenes */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_SCENES_ADD_SCENE 0x00 /* Add Scene */ #define ZBEE_ZCL_CMD_ID_SCENES_VIEW_SCENE 0x01 /* View Scene */ #define ZBEE_ZCL_CMD_ID_SCENES_REMOVE_SCENE 0x02 /* Remove a Scene */ #define ZBEE_ZCL_CMD_ID_SCENES_REMOVE_ALL_SCENES 0x03 /* Remove all Scenes */ #define ZBEE_ZCL_CMD_ID_SCENES_STORE_SCENE 0x04 /* Store Scene */ #define ZBEE_ZCL_CMD_ID_SCENES_RECALL_SCENE 0x05 /* Recall Scene */ #define ZBEE_ZCL_CMD_ID_SCENES_GET_SCENE_MEMBERSHIP 0x06 /* Get Scene Membership */ #define ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_ADD_SCENE 0x40 /* Enhanced Add Scene */ #define ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_VIEW_SCENE 0x41 /* Enhanced View Scene */ #define ZBEE_ZCL_CMD_ID_SCENES_COPY_SCENE 0x42 /* Copy Scene */ #define ZBEE_ZCL_CMD_ID_SCENES_NAME_SUPPORT_MASK 0x80 /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_SCENES_ADD_SCENE_RESPONSE 0x00 /* Add Scene Response */ #define ZBEE_ZCL_CMD_ID_SCENES_VIEW_SCENE_RESPONSE 0x01 /* View Scene Response */ #define ZBEE_ZCL_CMD_ID_SCENES_REMOVE_SCENE_RESPONSE 0x02 /* Remove a Scene Response */ #define ZBEE_ZCL_CMD_ID_SCENES_REMOVE_ALL_SCENES_RESPONSE 0x03 /* Remove all Scenes Response */ #define ZBEE_ZCL_CMD_ID_SCENES_STORE_SCENE_RESPONSE 0x04 /* Store Scene Response */ #define ZBEE_ZCL_CMD_ID_SCENES_GET_SCENE_MEMBERSHIP_RESPONSE 0x06 /* Get Scene Membership Response */ #define ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_ADD_SCENE_RESPONSE 0x40 /* Enhanced Add Scene Response */ #define ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_VIEW_SCENE_RESPONSE 0x41 /* Enhanced View Scene Response */ #define ZBEE_ZCL_CMD_ID_SCENES_COPY_SCENE_RESPONSE 0x42 /* Copy Scene Response */ /* Enhanced */ #define IS_ENHANCED TRUE #define IS_NOT_ENHANCED FALSE /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_scenes(void); void proto_reg_handoff_zbee_zcl_scenes(void); /* Command Dissector Helpers */ static void dissect_zcl_scenes_add_scene (tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced); static void dissect_zcl_scenes_view_remove_store_recall_scene (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_scenes_remove_all_get_scene_membership (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_scenes_copy_scene (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_scenes_add_remove_store_scene_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_scenes_view_scene_response (tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced); static void dissect_zcl_scenes_remove_all_scenes_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_scenes_get_scene_membership_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_scenes_copy_scene_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_scenes_extension_fields (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_scenes_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_scenes = -1; static int hf_zbee_zcl_scenes_attr_id = -1; static int hf_zbee_zcl_scenes_attr_id_scene_valid = -1; static int hf_zbee_zcl_scenes_attr_id_name_support = -1; static int hf_zbee_zcl_scenes_group_id = -1; static int hf_zbee_zcl_scenes_group_id_from = -1; static int hf_zbee_zcl_scenes_group_id_to = -1; static int hf_zbee_zcl_scenes_scene_id = -1; static int hf_zbee_zcl_scenes_scene_id_from = -1; static int hf_zbee_zcl_scenes_scene_id_to = -1; static int hf_zbee_zcl_scenes_transit_time = -1; static int hf_zbee_zcl_scenes_enh_transit_time = -1; static int hf_zbee_zcl_scenes_extension_set_cluster = -1; static int hf_zbee_zcl_scenes_extension_set_onoff = -1; static int hf_zbee_zcl_scenes_extension_set_level = -1; static int hf_zbee_zcl_scenes_extension_set_x = -1; static int hf_zbee_zcl_scenes_extension_set_y = -1; static int hf_zbee_zcl_scenes_extension_set_hue = -1; static int hf_zbee_zcl_scenes_extension_set_saturation = -1; static int hf_zbee_zcl_scenes_extension_set_color_loop_active = -1; static int hf_zbee_zcl_scenes_extension_set_color_loop_direction = -1; static int hf_zbee_zcl_scenes_extension_set_color_loop_time = -1; static int hf_zbee_zcl_scenes_extension_set_cooling_setpoint = -1; static int hf_zbee_zcl_scenes_extension_set_heating_setpoint = -1; static int hf_zbee_zcl_scenes_extension_set_system_mode = -1; static int hf_zbee_zcl_scenes_extension_set_lock_state = -1; static int hf_zbee_zcl_scenes_extension_set_lift_percentage = -1; static int hf_zbee_zcl_scenes_extension_set_tilt_percentage = -1; static int hf_zbee_zcl_scenes_status = -1; static int hf_zbee_zcl_scenes_capacity = -1; static int hf_zbee_zcl_scenes_scene_count = -1; static int hf_zbee_zcl_scenes_attr_str_len = -1; static int hf_zbee_zcl_scenes_attr_str = -1; static int hf_zbee_zcl_scenes_srv_rx_cmd_id = -1; static int hf_zbee_zcl_scenes_srv_tx_cmd_id = -1; static int hf_zbee_zcl_scenes_scene_list = -1; static int hf_zbee_zcl_scenes_copy_mode = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_scenes = -1; static gint ett_zbee_zcl_scenes_scene_ctrl = -1; static gint ett_zbee_zcl_scenes_extension_field_set = -1; /* Attributes */ static const value_string zbee_zcl_scenes_attr_names[] = { { ZBEE_ZCL_ATTR_ID_SCENES_SCENE_COUNT, "Scene Count" }, { ZBEE_ZCL_ATTR_ID_SCENES_CURRENT_SCENE, "Current Scene" }, { ZBEE_ZCL_ATTR_ID_SCENES_CURRENT_GROUP, "Current Group" }, { ZBEE_ZCL_ATTR_ID_SCENES_SCENE_VALID, "Scene Valid" }, { ZBEE_ZCL_ATTR_ID_SCENES_NAME_SUPPORT, "Name Support" }, { ZBEE_ZCL_ATTR_ID_SCENES_LAST_CONFIGURED_BY, "Last Configured By" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_scenes_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_SCENES_ADD_SCENE, "Add Scene" }, { ZBEE_ZCL_CMD_ID_SCENES_VIEW_SCENE, "View Scene" }, { ZBEE_ZCL_CMD_ID_SCENES_REMOVE_SCENE, "Remove a Scene" }, { ZBEE_ZCL_CMD_ID_SCENES_REMOVE_ALL_SCENES, "Remove all Scenes" }, { ZBEE_ZCL_CMD_ID_SCENES_STORE_SCENE, "Store Scene" }, { ZBEE_ZCL_CMD_ID_SCENES_RECALL_SCENE, "Recall Scene" }, { ZBEE_ZCL_CMD_ID_SCENES_GET_SCENE_MEMBERSHIP, "Get Scene Membership" }, { ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_ADD_SCENE, "Enhanced Add Scene" }, { ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_VIEW_SCENE, "Enhanced View Scene" }, { ZBEE_ZCL_CMD_ID_SCENES_COPY_SCENE, "Copy Scene" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_scenes_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_SCENES_ADD_SCENE_RESPONSE, "Add Scene Response" }, { ZBEE_ZCL_CMD_ID_SCENES_VIEW_SCENE_RESPONSE, "View Scene Response" }, { ZBEE_ZCL_CMD_ID_SCENES_REMOVE_SCENE_RESPONSE, "Remove a Scene Response" }, { ZBEE_ZCL_CMD_ID_SCENES_REMOVE_ALL_SCENES_RESPONSE, "Remove all Scene Response" }, { ZBEE_ZCL_CMD_ID_SCENES_STORE_SCENE_RESPONSE, "Store Scene Response" }, { ZBEE_ZCL_CMD_ID_SCENES_GET_SCENE_MEMBERSHIP_RESPONSE, "Get Scene Membership Response" }, { ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_ADD_SCENE_RESPONSE, "Enhanced Add Scene Response" }, { ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_VIEW_SCENE_RESPONSE, "Enhanced View Scene Response" }, { ZBEE_ZCL_CMD_ID_SCENES_COPY_SCENE_RESPONSE, "Copy Scene Response" }, { 0, NULL } }; /* Scene Names Support Values */ static const value_string zbee_zcl_scenes_group_names_support_values[] = { { ZBEE_ZCL_SCENES_NAME_NOT_SUPPORTED, "Scene names not supported" }, { ZBEE_ZCL_SCENES_NAME_SUPPORTED, "Scene names supported" }, { 0, NULL } }; /* Scene Copy Mode Values */ static const value_string zbee_zcl_scenes_copy_mode_values[] = { { ZBEE_ZCL_SCENES_COPY_SPECIFIED, "Copy Specified Scenes" }, { ZBEE_ZCL_SCENES_COPY_ALL, "Copy All Scenes" }, { 0, NULL } }; /* Color Loop Directions */ static const value_string zbee_zcl_scenes_color_loop_direction_values[] = { { 0x00, "Hue is Decrementing" }, { 0x01, "Hue is Incrementing" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * decode_color_xy * DESCRIPTION * this function decodes color xy values * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_color_xy(gchar *s, guint16 value) { snprintf(s, ITEM_LABEL_LENGTH, "%.4lf", value/65535.0); } /*FUNCTION:------------------------------------------------------ * NAME * decode_setpoint * DESCRIPTION * this function decodes the setpoint * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_setpoint(gchar *s, gint16 value) { snprintf(s, ITEM_LABEL_LENGTH, "%.2lf [" UTF8_DEGREE_SIGN "C]", value/100.0); } /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_scenes * DESCRIPTION * ZigBee ZCL Scenes cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_scenes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_scenes_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_scenes, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_SCENES_ADD_SCENE: dissect_zcl_scenes_add_scene(tvb, payload_tree, &offset, IS_NOT_ENHANCED); break; case ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_ADD_SCENE: dissect_zcl_scenes_add_scene(tvb, payload_tree, &offset, IS_ENHANCED); break; case ZBEE_ZCL_CMD_ID_SCENES_VIEW_SCENE: case ZBEE_ZCL_CMD_ID_SCENES_REMOVE_SCENE: case ZBEE_ZCL_CMD_ID_SCENES_STORE_SCENE: case ZBEE_ZCL_CMD_ID_SCENES_RECALL_SCENE: case ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_VIEW_SCENE: dissect_zcl_scenes_view_remove_store_recall_scene(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_SCENES_REMOVE_ALL_SCENES: case ZBEE_ZCL_CMD_ID_SCENES_GET_SCENE_MEMBERSHIP: dissect_zcl_scenes_remove_all_get_scene_membership(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_SCENES_COPY_SCENE: dissect_zcl_scenes_copy_scene(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_scenes_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_scenes, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_SCENES_ADD_SCENE_RESPONSE: case ZBEE_ZCL_CMD_ID_SCENES_REMOVE_SCENE_RESPONSE: case ZBEE_ZCL_CMD_ID_SCENES_STORE_SCENE_RESPONSE: case ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_ADD_SCENE_RESPONSE: dissect_zcl_scenes_add_remove_store_scene_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_SCENES_VIEW_SCENE_RESPONSE: dissect_zcl_scenes_view_scene_response(tvb, payload_tree, &offset, IS_NOT_ENHANCED); break; case ZBEE_ZCL_CMD_ID_SCENES_ENHANCED_VIEW_SCENE_RESPONSE: dissect_zcl_scenes_view_scene_response(tvb, payload_tree, &offset, IS_ENHANCED); break; case ZBEE_ZCL_CMD_ID_SCENES_REMOVE_ALL_SCENES_RESPONSE: dissect_zcl_scenes_remove_all_scenes_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_SCENES_GET_SCENE_MEMBERSHIP_RESPONSE: dissect_zcl_scenes_get_scene_membership_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_SCENES_COPY_SCENE_RESPONSE: dissect_zcl_scenes_copy_scene_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_scenes*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_scenes_add_scene * DESCRIPTION * this function decodes the Add Scene payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * enhanced - use enhanced transition time * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_scenes_add_scene(tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced) { guint attr_uint; guint8 *attr_string; /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Scene ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_scene_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, enhanced ? hf_zbee_zcl_scenes_enh_transit_time : hf_zbee_zcl_scenes_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve Scene Name */ attr_uint = tvb_get_guint8(tvb, *offset); /* string length */ if (attr_uint == 0xff) attr_uint = 0; proto_tree_add_uint(tree, hf_zbee_zcl_scenes_attr_str_len, tvb, *offset, 1, attr_uint); *offset += 1; attr_string = tvb_get_string_enc(wmem_packet_scope(), tvb, *offset, attr_uint, ENC_ASCII); proto_item_append_text(tree, ", String: %s", attr_string); proto_tree_add_string(tree, hf_zbee_zcl_scenes_attr_str, tvb, *offset, attr_uint, attr_string); *offset += attr_uint; /* Retrieve "Extension Set" field */ dissect_zcl_scenes_extension_fields(tvb, tree, offset); } /*dissect_zcl_scenes_add_scene*/ /*FUNCTION:-------------------------------------------------------------------- * NAME * dissect_zcl_scenes_view_remove_store_recall_scene * DESCRIPTION * this function decodes the View, Remove, Store and Recall Scene payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *------------------------------------------------------------------------------ */ static void dissect_zcl_scenes_view_remove_store_recall_scene(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Scene ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_scene_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_scenes_view_remove_store_recall_scene*/ /*FUNCTION:------------------------------------------------------------------- * NAME * dissect_zcl_scenes_remove_all_get_scene_membership * DESCRIPTION * this function decodes the Remove all and Get Scene Membership payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *----------------------------------------------------------------------------- */ static void dissect_zcl_scenes_remove_all_get_scene_membership(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_scenes_remove_all_get_scene_membership*/ /*FUNCTION:-------------------------------------------------------------------- * NAME * dissect_zcl_scenes_copy_scene * DESCRIPTION * this function decodes the Copy Scene payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *------------------------------------------------------------------------------ */ static void dissect_zcl_scenes_copy_scene(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_copy_mode, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Group ID From" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id_from, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Scene ID From" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_scene_id_from, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Group ID To" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id_to, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Scene ID To" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_scene_id_to, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_scenes_copy_scene*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_scenes_add_remove_store_scene_response * DESCRIPTION * this function decodes the Add, Remove, Store Scene payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_scenes_add_remove_store_scene_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Status" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Scene ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_scene_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_scenes_add_remove_store_scene_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_scenes_view_scene_response * DESCRIPTION * this function decodes the View Scene Response payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * enhanced - use enhanced transition time * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_scenes_view_scene_response(tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced) { guint8 status, *attr_string; guint attr_uint; /* Retrieve "Status" field */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_scenes_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Scene ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_scene_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; if(status == ZBEE_ZCL_STAT_SUCCESS) { /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, enhanced ? hf_zbee_zcl_scenes_enh_transit_time : hf_zbee_zcl_scenes_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve Scene Name */ attr_uint = tvb_get_guint8(tvb, *offset); /* string length */ if (attr_uint == 0xff) attr_uint = 0; proto_tree_add_uint(tree, hf_zbee_zcl_scenes_attr_str_len, tvb, *offset, 1, attr_uint); *offset += 1; attr_string = tvb_get_string_enc(wmem_packet_scope(), tvb, *offset, attr_uint, ENC_ASCII); proto_item_append_text(tree, ", String: %s", attr_string); proto_tree_add_string(tree, hf_zbee_zcl_scenes_attr_str, tvb, *offset, attr_uint, attr_string); *offset += attr_uint; /* Retrieve "Extension Set" field */ dissect_zcl_scenes_extension_fields(tvb, tree, offset); } } /*dissect_zcl_scenes_view_scene_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_scenes_remove_all_scenes_response * DESCRIPTION * this function decodes the Remove All Scenes Response payload * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_scenes_remove_all_scenes_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Status" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_scenes_remove_all_scenes_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_scenes_get_scene_membership_response * DESCRIPTION * this function decodes the Get Scene Membership Response payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_scenes_get_scene_membership_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_item *scene_list; proto_tree *scene_list_tree; guint8 status, count, i; /* Retrieve "Status" field */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_scenes_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Capacity" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_capacity, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Group ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; if(status == ZBEE_ZCL_STAT_SUCCESS) { /* Retrieve "Scene Count" field */ count = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_scenes_scene_count, tvb, *offset, 1, count); *offset += 1; if(count>0) { scene_list=proto_tree_add_item(tree, hf_zbee_zcl_scenes_scene_list, tvb, *offset, count, ENC_NA); scene_list_tree = proto_item_add_subtree(scene_list, ett_zbee_zcl_scenes_scene_ctrl); /* Retrieve "Scene List" */ for( i = 0; i < count; i++) { proto_tree_add_item(scene_list_tree, hf_zbee_zcl_scenes_scene_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } } } } /*dissect_zcl_scenes_get_scene_membership_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_scenes_copy_scene_response * DESCRIPTION * this function decodes the Copy Scene payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_scenes_copy_scene_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Status" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Group ID From" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_group_id_from, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Scene ID From" field */ proto_tree_add_item(tree, hf_zbee_zcl_scenes_scene_id_from, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_scenes_copy_scene_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_scenes_extension_fields * DESCRIPTION * this function decodes the extension set fields * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_scenes_extension_fields(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 set = 1; proto_tree *subtree; // Is there an extension field? gboolean hasExtensionField = tvb_offset_exists(tvb, *offset+2); while (hasExtensionField) { // Retrieve the cluster and the length guint32 cluster = tvb_get_guint16(tvb, *offset, ENC_LITTLE_ENDIAN); guint8 length = tvb_get_guint8 (tvb, *offset+2); // Create a subtree subtree = proto_tree_add_subtree_format(tree, tvb, *offset, length, ett_zbee_zcl_scenes_extension_field_set, NULL, "Extension field set %d", set++); proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_cluster, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 3; switch (cluster) { case ZBEE_ZCL_CID_ON_OFF: if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_onoff, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } break; case ZBEE_ZCL_CID_LEVEL_CONTROL: if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_level, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } break; case ZBEE_ZCL_CID_COLOR_CONTROL: if (length >= 2) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); length -= 2; *offset += 2; } if (length >= 2) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); length -= 2; *offset += 2; } if (length >= 2) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_hue, tvb, *offset, 2, ENC_LITTLE_ENDIAN); length -= 2; *offset += 2; } if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_saturation, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_color_loop_active, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_color_loop_direction, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } if (length >= 2) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_color_loop_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); length -= 2; *offset += 2; } break; case ZBEE_ZCL_CID_DOOR_LOCK: if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_lock_state, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } break; case ZBEE_ZCL_CID_WINDOW_COVERING: if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_lift_percentage, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_tilt_percentage, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } break; case ZBEE_ZCL_CID_THERMOSTAT: if (length >= 2) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_cooling_setpoint, tvb, *offset, 2, ENC_LITTLE_ENDIAN); length -= 2; *offset += 2; } if (length >= 2) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_heating_setpoint, tvb, *offset, 2, ENC_LITTLE_ENDIAN); length -= 2; *offset += 2; } if (length >= 1) { proto_tree_add_item(subtree, hf_zbee_zcl_scenes_extension_set_system_mode, tvb, *offset, 1, ENC_NA); length -= 1; *offset += 1; } break; } *offset += length; hasExtensionField = tvb_offset_exists(tvb, *offset+2); } } /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_scenes_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_scenes_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_SCENES_SCENE_VALID: proto_tree_add_item(tree, hf_zbee_zcl_scenes_attr_id_scene_valid, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_SCENES_NAME_SUPPORT: proto_tree_add_item(tree, hf_zbee_zcl_scenes_attr_id_name_support, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_SCENES_SCENE_COUNT: case ZBEE_ZCL_ATTR_ID_SCENES_CURRENT_SCENE: case ZBEE_ZCL_ATTR_ID_SCENES_CURRENT_GROUP: case ZBEE_ZCL_ATTR_ID_SCENES_LAST_CONFIGURED_BY: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_scenes_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_scenes * DESCRIPTION * ZigBee ZCL Scenes cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_scenes(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_scenes_attr_id, { "Attribute", "zbee_zcl_general.scenes.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_scenes_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_scene_list, {"Scene List", "zbee_zcl_general.groups.scene_list",FT_NONE,BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_group_id, { "Group ID", "zbee_zcl_general.scenes.group_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_group_id_from, { "Group ID From", "zbee_zcl_general.scenes.group_id_from", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_group_id_to, { "Group ID To", "zbee_zcl_general.scenes.group_id_to", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_scene_id, { "Scene ID", "zbee_zcl_general.scenes.scene_id", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_scene_id_from, { "Scene ID From", "zbee_zcl_general.scenes.scene_id_from", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_scene_id_to, { "Scene ID To", "zbee_zcl_general.scenes.scene_id_to", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_transit_time, { "Transition Time", "zbee_zcl_general.scenes.transit_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_seconds), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_enh_transit_time, { "Transition Time", "zbee_zcl_general.scenes.enh_transit_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_status, { "Scenes Status", "zbee_zcl_general.scenes.scenes_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_capacity, { "Scene Capacity", "zbee_zcl_general.scenes.scene_capacity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_scene_count, { "Scene Count", "zbee_zcl_general.scenes.scene_count", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_attr_id_name_support, { "Scene Name Support", "zbee_zcl_general.scenes.attr.name_support", FT_UINT8, BASE_HEX, VALS(zbee_zcl_scenes_group_names_support_values), ZBEE_ZCL_CMD_ID_SCENES_NAME_SUPPORT_MASK, NULL, HFILL } }, { &hf_zbee_zcl_scenes_attr_id_scene_valid, { "Scene Valid", "zbee_zcl_general.scenes.scene_valid", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_ATTR_SCENES_SCENE_VALID_MASK, NULL, HFILL } }, { &hf_zbee_zcl_scenes_attr_str_len, { "Length", "zbee_zcl_general.scenes.attr_str_len", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_attr_str, { "String", "zbee_zcl_general.scenes.attr_str", FT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_cluster, { "Cluster", "zbee_zcl_general.scenes.extension_set.cluster", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_cid_names), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_onoff, { "On/Off", "zbee_zcl_general.scenes.extension_set.onoff", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_level, { "Level", "zbee_zcl_general.scenes.extension_set.level", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_x, { "Color X", "zbee_zcl_general.scenes.extension_set.color_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_y, { "Color Y", "zbee_zcl_general.scenes.extension_set.color_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_hue, { "Enhanced Hue", "zbee_zcl_general.scenes.extension_set.hue", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_saturation, { "Saturation", "zbee_zcl_general.scenes.extension_set.saturation", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_color_loop_active, { "Color Loop Active", "zbee_zcl_general.scenes.extension_set.color_loop_active", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_color_loop_direction, { "Color Loop Direction", "zbee_zcl_general.scenes.extension_set.color_loop_direction", FT_UINT8, BASE_DEC, VALS(zbee_zcl_scenes_color_loop_direction_values), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_color_loop_time, { "Color Loop Time", "zbee_zcl_general.scenes.extension_set.color_loop_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_seconds), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_lock_state, { "Lock State", "zbee_zcl_general.scenes.extension_set.lock_state", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_lift_percentage, { "Current Position Lift Percentage", "zbee_zcl_general.scenes.extension_set.current_position_lift_percentage", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_tilt_percentage, { "Current Position Tilt Percentage", "zbee_zcl_general.scenes.extension_set.current_position_tilt_percentage", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_cooling_setpoint, { "Occupied Cooling Setpoint", "zbee_zcl_general.scenes.extension_set.occupied_cooling_setpoint", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_setpoint), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_heating_setpoint, { "Occupied Heating Setpoint", "zbee_zcl_general.scenes.extension_set.occupied_heating_setpoint", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_setpoint), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_extension_set_system_mode, { "System Mode", "zbee_zcl_general.scenes.extension_set.system_mode", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_scenes_copy_mode, { "Scene Copy Mode", "zbee_zcl_general.scenes.copy_mode", FT_UINT8, BASE_DEC, VALS(zbee_zcl_scenes_copy_mode_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_srv_rx_cmd_id, { "Command", "zbee_zcl_general.scenes.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_scenes_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_scenes_srv_tx_cmd_id, { "Command", "zbee_zcl_general.scenes.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_scenes_srv_tx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Scenes subtrees */ static gint *ett[] = { &ett_zbee_zcl_scenes, &ett_zbee_zcl_scenes_scene_ctrl, &ett_zbee_zcl_scenes_extension_field_set }; /* Register the ZigBee ZCL Scenes cluster protocol name and description */ proto_zbee_zcl_scenes = proto_register_protocol("ZigBee ZCL Scenes", "ZCL Scenes", ZBEE_PROTOABBREV_ZCL_SCENES); proto_register_field_array(proto_zbee_zcl_scenes, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Scenes dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_SCENES, dissect_zbee_zcl_scenes, proto_zbee_zcl_scenes); } /*proto_register_zbee_zcl_scenes*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_scenes * DESCRIPTION * Hands off the ZCL Scenes dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_scenes(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_SCENES, proto_zbee_zcl_scenes, ett_zbee_zcl_scenes, ZBEE_ZCL_CID_SCENES, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_scenes_attr_id, hf_zbee_zcl_scenes_attr_id, hf_zbee_zcl_scenes_srv_rx_cmd_id, hf_zbee_zcl_scenes_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_scenes_attr_data ); } /*proto_reg_handoff_zbee_zcl_scenes*/ /* ########################################################################## */ /* #### (0x0006) ON/OFF CLUSTER ############################################# */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ON_OFF_ATTR_ID_ONOFF 0x0000 #define ZBEE_ZCL_ON_OFF_ATTR_ID_GLOBALSCENECONTROL 0x4000 #define ZBEE_ZCL_ON_OFF_ATTR_ID_ONTIME 0x4001 #define ZBEE_ZCL_ON_OFF_ATTR_ID_OFFWAITTIME 0x4002 #define ZBEE_ZCL_ON_OFF_ATTR_ID_STARTUPONOFF 0x4003 /* Server Commands Received */ #define ZBEE_ZCL_ON_OFF_CMD_OFF 0x00 /* Off */ #define ZBEE_ZCL_ON_OFF_CMD_ON 0x01 /* On */ #define ZBEE_ZCL_ON_OFF_CMD_TOGGLE 0x02 /* Toggle */ #define ZBEE_ZCL_ON_OFF_CMD_OFF_WITH_EFFECT 0x40 /* Off with effect */ #define ZBEE_ZCL_ON_OFF_CMD_ON_WITH_RECALL_GLOBAL_SCENE 0x41 /* On with recall global scene */ #define ZBEE_ZCL_ON_OFF_CMD_ON_WITH_TIMED_OFF 0x42 /* On with timed off */ /* On/Off Control Field */ #define ZBEE_ZCL_ON_OFF_TIMED_OFF_CONTROL_MASK_ACCEPT_ONLY_WHEN_ON 0x01 #define ZBEE_ZCL_ON_OFF_TIMED_OFF_CONTROL_MASK_RESERVED 0xFE /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_on_off(void); void proto_reg_handoff_zbee_zcl_on_off(void); /* Command Dissector Helpers */ static void dissect_zcl_on_off_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_on_off = -1; static int hf_zbee_zcl_on_off_attr_id = -1; static int hf_zbee_zcl_on_off_attr_onoff = -1; static int hf_zbee_zcl_on_off_attr_globalscenecontrol = -1; static int hf_zbee_zcl_on_off_attr_ontime = -1; static int hf_zbee_zcl_on_off_attr_offwaittime = -1; static int hf_zbee_zcl_on_off_attr_startuponoff = -1; static int hf_zbee_zcl_on_off_srv_rx_cmd_id = -1; static int hf_zbee_zcl_on_off_effect_identifier = -1; static int hf_zbee_zcl_on_off_effect_variant_delayed_all_off = -1; static int hf_zbee_zcl_on_off_effect_variant_dying_light = -1; static int hf_zbee_zcl_on_off_effect_variant_reserved = -1; static int hf_zbee_zcl_on_off_timed_off_control_mask = -1; static int hf_zbee_zcl_on_off_timed_off_control_mask_accept_only_when_on = -1; static int hf_zbee_zcl_on_off_timed_off_control_mask_reserved = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_on_off = -1; static gint ett_zbee_zcl_on_off_timed_off_control_mask = -1; /* Attributes */ static const value_string zbee_zcl_on_off_attr_names[] = { { ZBEE_ZCL_ON_OFF_ATTR_ID_ONOFF, "OnOff" }, { ZBEE_ZCL_ON_OFF_ATTR_ID_GLOBALSCENECONTROL, "GlobalSceneControl" }, { ZBEE_ZCL_ON_OFF_ATTR_ID_ONTIME, "OnTime" }, { ZBEE_ZCL_ON_OFF_ATTR_ID_OFFWAITTIME, "OffWaitTime" }, { ZBEE_ZCL_ON_OFF_ATTR_ID_STARTUPONOFF, "StartUpOnOff" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_on_off_srv_rx_cmd_names[] = { { ZBEE_ZCL_ON_OFF_CMD_OFF, "Off" }, { ZBEE_ZCL_ON_OFF_CMD_ON, "On" }, { ZBEE_ZCL_ON_OFF_CMD_TOGGLE, "Toggle" }, { ZBEE_ZCL_ON_OFF_CMD_OFF_WITH_EFFECT, "Off with effect" }, { ZBEE_ZCL_ON_OFF_CMD_ON_WITH_RECALL_GLOBAL_SCENE, "On with recall global scene" }, { ZBEE_ZCL_ON_OFF_CMD_ON_WITH_TIMED_OFF, "On with timed off" }, { 0, NULL } }; static const range_string zbee_zcl_on_off_effect_identifier_names[] = { { 0x00, 0x00, "Delayed All Off" }, { 0x01, 0x01, "Dying Light" }, { 0x02, 0xFF, "Reserved" }, { 0, 0, NULL } }; static const range_string zbee_zcl_on_off_effect_variant_delayed_all_off_names[] = { { 0x00, 0x00, "Fade to off in 0.8 seconds" }, { 0x01, 0x01, "No fade" }, { 0x02, 0x02, "50% dim down in 0.8 seconds then fade to off in 12 seconds" }, { 0x03, 0xFF, "Reserved" }, { 0, 0, NULL } }; static const range_string zbee_zcl_on_off_effect_variant_dying_light_names[] = { { 0x00, 0x00, "20% dim up in 0.5s then fade to off in 1 second" }, { 0x01, 0xFF, "Reserved" }, { 0, 0, NULL } }; static const range_string zbee_zcl_on_off_effect_variant_reserved_names[] = { { 0x00, 0xFF, "Reserved" }, { 0, 0, NULL } }; static const range_string zbee_zcl_on_off_startup_on_off_names[] = { { 0x00, 0x00, "Set the OnOff attribute to Off" }, { 0x01, 0x01, "Set the OnOff attribute to On" }, { 0x02, 0x02, "Toggle the OnOff attribute" }, { 0x03, 0xFE, "Reserved" }, { 0xFF, 0xFF, "Set the OnOff attribute to its previous value" }, { 0, 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_onoff * DESCRIPTION * ZigBee ZCL OnOff cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * void *data - pointer to ZCL packet structure. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_on_off(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; guint8 effect_identifier = 0; static int * const onoff_control_mask[] = { &hf_zbee_zcl_on_off_timed_off_control_mask_accept_only_when_on, &hf_zbee_zcl_on_off_timed_off_control_mask_reserved, NULL }; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_on_off_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_on_off_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_on_off, NULL, "Payload"); switch (cmd_id) { case ZBEE_ZCL_ON_OFF_CMD_OFF_WITH_EFFECT: proto_tree_add_item(payload_tree, hf_zbee_zcl_on_off_effect_identifier, tvb, offset, 1, ENC_NA); effect_identifier = tvb_get_guint8(tvb, offset); offset += 1; switch (effect_identifier) { case 0x00: proto_tree_add_item(payload_tree, hf_zbee_zcl_on_off_effect_variant_delayed_all_off, tvb, offset, 1, ENC_NA); break; case 0x01: proto_tree_add_item(payload_tree, hf_zbee_zcl_on_off_effect_variant_dying_light, tvb, offset, 1, ENC_NA); break; default: proto_tree_add_item(payload_tree, hf_zbee_zcl_on_off_effect_variant_reserved, tvb, offset, 1, ENC_NA); break; } break; case ZBEE_ZCL_ON_OFF_CMD_ON_WITH_TIMED_OFF: proto_tree_add_bitmask(payload_tree, tvb, offset, hf_zbee_zcl_on_off_timed_off_control_mask, ett_zbee_zcl_on_off_timed_off_control_mask, onoff_control_mask, ENC_LITTLE_ENDIAN); offset += 1; dissect_zcl_on_off_attr_data(payload_tree, tvb, &offset, ZBEE_ZCL_ON_OFF_ATTR_ID_ONTIME, FT_UINT16, FALSE); dissect_zcl_on_off_attr_data(payload_tree, tvb, &offset, ZBEE_ZCL_ON_OFF_ATTR_ID_OFFWAITTIME, FT_UINT16, FALSE); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_on_off*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_on_off_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_on_off_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ON_OFF_ATTR_ID_ONOFF: proto_tree_add_item(tree, hf_zbee_zcl_on_off_attr_onoff, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ON_OFF_ATTR_ID_GLOBALSCENECONTROL: proto_tree_add_item(tree, hf_zbee_zcl_on_off_attr_globalscenecontrol, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ON_OFF_ATTR_ID_ONTIME: proto_tree_add_item(tree, hf_zbee_zcl_on_off_attr_ontime, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ON_OFF_ATTR_ID_OFFWAITTIME: proto_tree_add_item(tree, hf_zbee_zcl_on_off_attr_offwaittime, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ON_OFF_ATTR_ID_STARTUPONOFF: proto_tree_add_item(tree, hf_zbee_zcl_on_off_attr_startuponoff, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_on_off_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_on_off * DESCRIPTION * ZigBee ZCL OnOff cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_on_off(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_on_off_attr_id, { "Attribute", "zbee_zcl_general.onoff.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_on_off_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_attr_onoff, { "On/off Control", "zbee_zcl_general.onoff.attr.onoff", FT_BOOLEAN, 8, TFS(&tfs_on_off), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_attr_globalscenecontrol, { "Global Scene Control", "zbee_zcl_general.onoff.attr.globalscenecontrol", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_attr_ontime, { "On Time", "zbee_zcl_general.onoff.attr.ontime", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_attr_offwaittime, { "Off Wait Time", "zbee_zcl_general.onoff.attr.offwaittime", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_attr_startuponoff, { "Startup On Off", "zbee_zcl_general.onoff.attr.startuponoff", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_on_off_startup_on_off_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_effect_identifier, { "Effect Identifier", "zbee_zcl_general.onoff.effect_identifier", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_on_off_effect_identifier_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_effect_variant_delayed_all_off, { "Effect Variant", "zbee_zcl_general.onoff.effect_variant", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_on_off_effect_variant_delayed_all_off_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_effect_variant_dying_light, { "Effect Variant", "zbee_zcl_general.onoff.effect_variant", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_on_off_effect_variant_dying_light_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_effect_variant_reserved, { "Effect Variant", "zbee_zcl_general.onoff.effect_variant", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_on_off_effect_variant_reserved_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_timed_off_control_mask, { "On/Off Control Mask", "zbee_zcl_general.onoff.onoff_control_mask", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_timed_off_control_mask_accept_only_when_on, { "Accept Only When On", "zbee_zcl_general.onoff.onoff_control_mask.accept_only_when_on", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_ON_OFF_TIMED_OFF_CONTROL_MASK_ACCEPT_ONLY_WHEN_ON, NULL, HFILL } }, { &hf_zbee_zcl_on_off_timed_off_control_mask_reserved, { "Reserved", "zbee_zcl_general.onoff.onoff_control_mask.reserved", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_ON_OFF_TIMED_OFF_CONTROL_MASK_RESERVED, NULL, HFILL } }, { &hf_zbee_zcl_on_off_srv_rx_cmd_id, { "Command", "zbee_zcl_general.onoff.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_on_off_srv_rx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL OnOff subtrees */ static gint *ett[] = { &ett_zbee_zcl_on_off, &ett_zbee_zcl_on_off_timed_off_control_mask }; /* Register the ZigBee ZCL OnOff cluster protocol name and description */ proto_zbee_zcl_on_off = proto_register_protocol("ZigBee ZCL OnOff", "ZCL OnOff", ZBEE_PROTOABBREV_ZCL_ONOFF); proto_register_field_array(proto_zbee_zcl_on_off, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL OnOff dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ONOFF, dissect_zbee_zcl_on_off, proto_zbee_zcl_on_off); } /* proto_register_zbee_zcl_on_off */ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_on_off * DESCRIPTION * Hands off the Zcl OnOff cluster dissector. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_on_off(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ONOFF, proto_zbee_zcl_on_off, ett_zbee_zcl_on_off, ZBEE_ZCL_CID_ON_OFF, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_on_off_attr_id, hf_zbee_zcl_on_off_attr_id, hf_zbee_zcl_on_off_srv_rx_cmd_id, -1, (zbee_zcl_fn_attr_data)dissect_zcl_on_off_attr_data ); } /*proto_reg_handoff_zbee_zcl_on_off*/ /* ############################################################################################### */ /* #### (0x0007) ON/OFF SWITCH CONFIGURATION CLUSTER ############################################# */ /* ############################################################################################### */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ON_OFF_SWITCH_CONFIGURATION_ATTR_ID_SWITCH_TYPE 0x0000 /* Switch Type */ #define ZBEE_ZCL_ON_OFF_SWITCH_CONFIGURATION_ATTR_ID_SWITCH_ACTIONS 0x0010 /* Switch Actions */ /* No Server Commands Received */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_on_off_switch_configuration(void); void proto_reg_handoff_zbee_zcl_on_off_switch_configuration(void); /* Command Dissector Helpers */ static void dissect_zcl_on_off_switch_configuration_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_on_off_switch_configuration = -1; static int hf_zbee_zcl_on_off_switch_configuration_attr_id = -1; static int hf_zbee_zcl_on_off_switch_configuration_attr_switch_type = -1; static int hf_zbee_zcl_on_off_switch_configuration_attr_switch_actions = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_on_off_switch_configuration = -1; /* Attributes */ static const value_string zbee_zcl_on_off_switch_configuration_attr_names[] = { { ZBEE_ZCL_ON_OFF_SWITCH_CONFIGURATION_ATTR_ID_SWITCH_TYPE, "Switch Type" }, { ZBEE_ZCL_ON_OFF_SWITCH_CONFIGURATION_ATTR_ID_SWITCH_ACTIONS, "Switch Actions" }, { 0, NULL } }; /* Switch Type Names */ static const value_string zbee_zcl_on_off_switch_configuration_switch_type_names[] = { { 0x00, "Toggle" }, { 0x01, "Momentary" }, { 0, NULL } }; /* Switch Actions Names */ static const value_string zbee_zcl_on_off_switch_configuration_switch_actions_names[] = { { 0x00, "On" }, { 0x01, "Off" }, { 0x02, "Toggle" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_on_off_switch_configuration * DESCRIPTION * ZigBee ZCL OnOff Switch Configuration cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_on_off_switch_configuration(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_on_off_switch_configuration*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_on_off_switch_configuration_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_on_off_switch_configuration_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ON_OFF_SWITCH_CONFIGURATION_ATTR_ID_SWITCH_TYPE: proto_tree_add_item(tree, hf_zbee_zcl_on_off_switch_configuration_attr_switch_type, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ON_OFF_SWITCH_CONFIGURATION_ATTR_ID_SWITCH_ACTIONS: proto_tree_add_item(tree, hf_zbee_zcl_on_off_switch_configuration_attr_switch_actions, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_on_off_switch_configuration_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_on_off_switch_configuration * DESCRIPTION * ZigBee ZCL OnOff cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_on_off_switch_configuration(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_on_off_switch_configuration_attr_id, { "Attribute", "zbee_zcl_general.onoff_switch_configuration.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_on_off_switch_configuration_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_switch_configuration_attr_switch_type, { "Switch Type", "zbee_zcl_general.onoff.attr.switch_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_on_off_switch_configuration_switch_type_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_on_off_switch_configuration_attr_switch_actions, { "Switch Action", "zbee_zcl_general.onoff.attr.switch_actions", FT_UINT8, BASE_HEX, VALS(zbee_zcl_on_off_switch_configuration_switch_actions_names), 0x00, NULL, HFILL } } }; /* ZCL Identify subtrees */ static gint *ett[] = { &ett_zbee_zcl_on_off_switch_configuration }; /* Register the ZigBee ZCL OnOff Switch Configuration cluster protocol name and description */ proto_zbee_zcl_on_off_switch_configuration = proto_register_protocol("ZigBee ZCL OnOff Switch Configuration", "ZCL OnOff Switch Configuration", ZBEE_PROTOABBREV_ZCL_ONOFF_SWITCH_CONFIG); proto_register_field_array(proto_zbee_zcl_on_off_switch_configuration, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL OnOff dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ONOFF_SWITCH_CONFIG, dissect_zbee_zcl_on_off_switch_configuration, proto_zbee_zcl_on_off_switch_configuration); } /* proto_register_zbee_zcl_on_off_switch_configuration */ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_on_off_switch_configuration * DESCRIPTION * Hands off the Zcl OnOff cluster dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_on_off_switch_configuration(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ONOFF_SWITCH_CONFIG, proto_zbee_zcl_on_off_switch_configuration, ett_zbee_zcl_on_off_switch_configuration, ZBEE_ZCL_CID_ON_OFF_SWITCH_CONFIG, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_on_off_switch_configuration_attr_id, hf_zbee_zcl_on_off_switch_configuration_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_on_off_switch_configuration_attr_data ); } /*proto_reg_handoff_zbee_zcl_on_off_switch_configuration*/ /* ########################################################################## */ /* #### (0x0009) ALARMS CLUSTER ############################################# */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_ALARMS_ALARM_COUNT 0x0000 /* Alarm Count */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALARM 0x00 /* Reset Alarm */ #define ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALL_ALARMS 0x01 /* Reset All Alarms */ #define ZBEE_ZCL_CMD_ID_ALARMS_GET_ALARM 0x02 /* Get Alarm */ #define ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALARM_LOG 0x03 /* Reset Alarm Log */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_ALARMS_ALARM 0x00 /* Alarm */ #define ZBEE_ZCL_CMD_ID_ALARMS_GET_ALARM_RESPONSE 0x01 /* Get Alarm Response */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_alarms(void); void proto_reg_handoff_zbee_zcl_alarms(void); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_alarms = -1; static int hf_zbee_zcl_alarms_attr_id = -1; static int hf_zbee_zcl_alarms_alarm_code = -1; static int hf_zbee_zcl_alarms_cluster_id = -1; static int hf_zbee_zcl_alarms_status = -1; static int hf_zbee_zcl_alarms_timestamp = -1; static int hf_zbee_zcl_alarms_srv_rx_cmd_id = -1; static int hf_zbee_zcl_alarms_srv_tx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_alarms = -1; /* Attributes */ static const value_string zbee_zcl_alarms_attr_names[] = { { ZBEE_ZCL_ATTR_ID_ALARMS_ALARM_COUNT, "Alarm Count" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_alarms_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALARM, "Reset Alarm" }, { ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALL_ALARMS, "Reset All Alarms" }, { ZBEE_ZCL_CMD_ID_ALARMS_GET_ALARM, "Get Alarm" }, { ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALARM_LOG, "Reset Alarm Log" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_alarms_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_ALARMS_ALARM, "Alarm" }, { ZBEE_ZCL_CMD_ID_ALARMS_GET_ALARM_RESPONSE,"Get Alarm Response" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_alarms_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_alarms_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_ALARMS_ALARM_COUNT: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_alarms_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_alarms_alarm_and_reset_alarm * DESCRIPTION * this function decodes the Alarm and Reset Alarm payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_alarms_alarm_and_reset_alarm(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Alarm Code" field */ proto_tree_add_item(tree, hf_zbee_zcl_alarms_alarm_code, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Cluster ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_alarms_cluster_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_alarms_alarm_and_reset_alarm*/ /*FUNCTION:-------------------------------------------------------------------- * NAME * dissect_zcl_alarms_get_alarm_response * DESCRIPTION * this function decodes the Get Alarm Response payload * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *------------------------------------------------------------------------------ */ static void dissect_zcl_alarms_get_alarm_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 status; /* Retrieve "Status" field */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_alarms_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; if(status == ZBEE_ZCL_STAT_SUCCESS) { /* Retrieve "Alarm Code" field */ proto_tree_add_item(tree, hf_zbee_zcl_alarms_alarm_code, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Cluster ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_alarms_cluster_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Timestamp" field */ proto_tree_add_item(tree, hf_zbee_zcl_alarms_timestamp, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } } /*dissect_zcl_alarms_get_alarm_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_alarms * DESCRIPTION * ZigBee ZCL Alarms cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_alarms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_alarms_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_alarms_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_alarms, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALARM: dissect_zcl_alarms_alarm_and_reset_alarm(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALL_ALARMS: case ZBEE_ZCL_CMD_ID_ALARMS_GET_ALARM: case ZBEE_ZCL_CMD_ID_ALARMS_RESET_ALARM_LOG: /* No Payload */ default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_alarms_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_alarms_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_alarms, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_ALARMS_ALARM: dissect_zcl_alarms_alarm_and_reset_alarm(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_ALARMS_GET_ALARM_RESPONSE: dissect_zcl_alarms_get_alarm_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_alarms*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_alarms * DESCRIPTION * ZigBee ZCL Alarms cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_alarms(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_alarms_attr_id, { "Attribute", "zbee_zcl_general.alarms.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_alarms_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_alarms_alarm_code, { "Alarm Code", "zbee_zcl_general.alarms.alarm_code", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_alarms_cluster_id, { "Cluster ID", "zbee_zcl_general.alarms.cluster_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_alarms_status, { "Status", "zbee_zcl_general.alarms.status", FT_UINT8, BASE_DEC, VALS(zbee_zcl_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_alarms_timestamp, { "Timestamp", "zbee_zcl_general.alarms.timestamp", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_alarms_srv_rx_cmd_id, { "Command", "zbee_zcl_general.alarms.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_alarms_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_alarms_srv_tx_cmd_id, { "Command", "zbee_zcl_general.alarms.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_alarms_srv_tx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Alarms subtrees */ static gint *ett[] = { &ett_zbee_zcl_alarms }; /* Register the ZigBee ZCL Alarms cluster protocol name and description */ proto_zbee_zcl_alarms = proto_register_protocol("ZigBee ZCL Alarms", "ZCL Alarms", ZBEE_PROTOABBREV_ZCL_ALARMS); proto_register_field_array(proto_zbee_zcl_alarms, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Alarms dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ALARMS, dissect_zbee_zcl_alarms, proto_zbee_zcl_alarms); } /*proto_register_zbee_zcl_alarms*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_alarms * DESCRIPTION * Hands off the ZCL Alarms dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_alarms(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ALARMS, proto_zbee_zcl_alarms, ett_zbee_zcl_alarms, ZBEE_ZCL_CID_ALARMS, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_alarms_attr_id, hf_zbee_zcl_alarms_attr_id, hf_zbee_zcl_alarms_srv_rx_cmd_id, hf_zbee_zcl_alarms_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_alarms_attr_data ); } /*proto_reg_handoff_zbee_zcl_alarms*/ /* ########################################################################## */ /* #### (0x000A) TIME CLUSTER ############################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_TIME_TIME 0x0000 /* Time */ #define ZBEE_ZCL_ATTR_ID_TIME_TIME_STATUS 0x0001 /* Time Status */ #define ZBEE_ZCL_ATTR_ID_TIME_TIME_ZONE 0x0002 /* Time Zone */ #define ZBEE_ZCL_ATTR_ID_TIME_DST_START 0x0003 /* Daylight Saving Time Start*/ #define ZBEE_ZCL_ATTR_ID_TIME_DST_END 0x0004 /* Daylight Saving Time End */ #define ZBEE_ZCL_ATTR_ID_TIME_DST_SHIFT 0x0005 /* Daylight Saving Time Shift */ #define ZBEE_ZCL_ATTR_ID_TIME_STD_TIME 0x0006 /* Standard Time */ #define ZBEE_ZCL_ATTR_ID_TIME_LOCAL_TIME 0x0007 /* Local Time */ #define ZBEE_ZCL_ATTR_ID_TIME_LAST_SET_TIME 0x0008 /* Last Set Time */ #define ZBEE_ZCL_ATTR_ID_TIME_VALID_UNTIL_TIME 0x0009 /* Valid Until Time */ /* Server commands received - none */ /* Server commands generated - none */ /* Time Status Mask Value */ #define ZBEE_ZCL_TIME_MASTER 0x01 /* Master Clock */ #define ZBEE_ZCL_TIME_SYNCHRONIZED 0x02 /* Synchronized */ #define ZBEE_ZCL_TIME_MASTER_ZONE_DST 0x04 /* Master for Time Zone and DST */ #define ZBEE_ZCL_TIME_SUPERSEDING 0x08 /* Superseded */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_time(void); void proto_reg_handoff_zbee_zcl_time(void); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_time = -1; static int hf_zbee_zcl_time_attr_id = -1; static int hf_zbee_zcl_time_status = -1; static int hf_zbee_zcl_time_status_master = -1; static int hf_zbee_zcl_time_status_synchronized = -1; static int hf_zbee_zcl_time_status_master_zone_dst = -1; static int hf_zbee_zcl_time_status_superseding = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_time = -1; static gint ett_zbee_zcl_time_status_mask = -1; /* Attributes */ static const value_string zbee_zcl_time_attr_names[] = { { ZBEE_ZCL_ATTR_ID_TIME_TIME, "Time" }, { ZBEE_ZCL_ATTR_ID_TIME_TIME_STATUS, "Time Status" }, { ZBEE_ZCL_ATTR_ID_TIME_TIME_ZONE, "Time Zone" }, { ZBEE_ZCL_ATTR_ID_TIME_DST_START, "Daylight Saving Time Start" }, { ZBEE_ZCL_ATTR_ID_TIME_DST_END, "Daylight Saving Time End" }, { ZBEE_ZCL_ATTR_ID_TIME_DST_SHIFT, "Daylight Saving Time Shift" }, { ZBEE_ZCL_ATTR_ID_TIME_STD_TIME, "Standard Time" }, { ZBEE_ZCL_ATTR_ID_TIME_LOCAL_TIME, "Local Time" }, { ZBEE_ZCL_ATTR_ID_TIME_LAST_SET_TIME, "Last Set Time" }, { ZBEE_ZCL_ATTR_ID_TIME_VALID_UNTIL_TIME, "Valid Until Time" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_time_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_time_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const time_status_mask[] = { &hf_zbee_zcl_time_status_master, &hf_zbee_zcl_time_status_synchronized, &hf_zbee_zcl_time_status_master_zone_dst, &hf_zbee_zcl_time_status_superseding, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_TIME_TIME_STATUS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_time_status, ett_zbee_zcl_time_status_mask, time_status_mask, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_TIME_TIME: case ZBEE_ZCL_ATTR_ID_TIME_TIME_ZONE: case ZBEE_ZCL_ATTR_ID_TIME_DST_START: case ZBEE_ZCL_ATTR_ID_TIME_DST_END: case ZBEE_ZCL_ATTR_ID_TIME_DST_SHIFT: case ZBEE_ZCL_ATTR_ID_TIME_STD_TIME: case ZBEE_ZCL_ATTR_ID_TIME_LOCAL_TIME: case ZBEE_ZCL_ATTR_ID_TIME_LAST_SET_TIME: case ZBEE_ZCL_ATTR_ID_TIME_VALID_UNTIL_TIME: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_time_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_time * DESCRIPTION * ZigBee ZCL Time cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_time(tvbuff_t _U_ *tvb, packet_info _U_ * pinfo, proto_tree _U_* tree, void _U_* data) { /* No commands is being received and generated by server * No cluster specific commands are received by client */ return 0; } /*dissect_zbee_zcl_time*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_time * DESCRIPTION * ZigBee ZCL Time cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_time(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_time_attr_id, { "Attribute", "zbee_zcl_general.time.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_time_attr_names), 0x00, NULL, HFILL } }, /* start Time Status Mask fields */ { &hf_zbee_zcl_time_status, { "Time Status", "zbee_zcl_general.time.attr.time_status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_time_status_master, { "Master", "zbee_zcl_general.time.attr.time_status.master", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_TIME_MASTER, NULL, HFILL } }, { &hf_zbee_zcl_time_status_synchronized, { "Synchronized", "zbee_zcl_general.time.attr.time_status.synchronized", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_TIME_SYNCHRONIZED, NULL, HFILL } }, { &hf_zbee_zcl_time_status_master_zone_dst, { "Master for Time Zone and DST", "zbee_zcl_general.time.attr.time_status.master_zone_dst", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_TIME_MASTER_ZONE_DST, NULL, HFILL } }, { &hf_zbee_zcl_time_status_superseding, { "Superseded", "zbee_zcl_general.time.attr.time_status.superseding", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_TIME_SUPERSEDING, NULL, HFILL } } /* end Time Status Mask fields */ }; /* ZCL Time subtrees */ static gint *ett[] = { &ett_zbee_zcl_time, &ett_zbee_zcl_time_status_mask }; /* Register the ZigBee ZCL Time cluster protocol name and description */ proto_zbee_zcl_time = proto_register_protocol("ZigBee ZCL Time", "ZCL Time", ZBEE_PROTOABBREV_ZCL_TIME); proto_register_field_array(proto_zbee_zcl_time, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Time dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_TIME, dissect_zbee_zcl_time, proto_zbee_zcl_time); } /*proto_register_zbee_zcl_time*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_time * DESCRIPTION * Hands off the ZCL Time dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_time(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_TIME, proto_zbee_zcl_time, ett_zbee_zcl_time, ZBEE_ZCL_CID_TIME, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_time_attr_id, hf_zbee_zcl_time_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_time_attr_data ); } /*proto_reg_handoff_zbee_zcl_time*/ /* ########################################################################## */ /* #### (0x0008) LEVEL_CONTROL CLUSTER ###################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_CURRENT_LEVEL 0x0000 /* Current Level */ #define ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_REMAINING_TIME 0x0001 /* Remaining Time */ #define ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_ONOFF_TRANSIT_TIME 0x0010 /* OnOff Transition Time */ #define ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_ON_LEVEL 0x0011 /* On Level */ #define ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_STARTUP_LEVEL 0x4000 /* Startup Level */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_TO_LEVEL 0x00 /* Move to Level */ #define ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE 0x01 /* Move */ #define ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STEP 0x02 /* Step */ #define ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STOP 0x03 /* Stop */ #define ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_TO_LEVEL_WITH_ONOFF 0x04 /* Move to Level with OnOff */ #define ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_WITH_ONOFF 0x05 /* Move with OnOff */ #define ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STEP_WITH_ONOFF 0x06 /* Step with OnOff */ #define ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STOP_WITH_ONOFF 0x07 /* Stop with OnOff */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_level_control(void); void proto_reg_handoff_zbee_zcl_level_control(void); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_level_control = -1; static int hf_zbee_zcl_level_control_attr_id = -1; static int hf_zbee_zcl_level_control_attr_current_level = -1; static int hf_zbee_zcl_level_control_attr_remaining_time = -1; static int hf_zbee_zcl_level_control_attr_onoff_transmit_time = -1; static int hf_zbee_zcl_level_control_attr_on_level = -1; static int hf_zbee_zcl_level_control_attr_startup_level = -1; static int hf_zbee_zcl_level_control_level = -1; static int hf_zbee_zcl_level_control_move_mode = -1; static int hf_zbee_zcl_level_control_rate = -1; static int hf_zbee_zcl_level_control_step_mode = -1; static int hf_zbee_zcl_level_control_step_size = -1; static int hf_zbee_zcl_level_control_transit_time = -1; static int hf_zbee_zcl_level_control_srv_rx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_level_control = -1; /* Attributes */ static const value_string zbee_zcl_level_control_attr_names[] = { { ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_CURRENT_LEVEL, "Current Level" }, { ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_REMAINING_TIME, "Remaining Time" }, { ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_ONOFF_TRANSIT_TIME, "OnOff Transition Time" }, { ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_ON_LEVEL, "On Level" }, { ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_STARTUP_LEVEL, "Startup Level" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_level_control_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_TO_LEVEL, "Move to Level" }, { ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE, "Move" }, { ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STEP, "Step" }, { ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STOP, "Stop" }, { ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_TO_LEVEL_WITH_ONOFF, "Move to Level with OnOff" }, { ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_WITH_ONOFF, "Move with OnOff" }, { ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STEP_WITH_ONOFF, "Step with OnOff" }, { ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STOP_WITH_ONOFF, "Stop with OnOff" }, { 0, NULL } }; /* Move Mode Values */ static const value_string zbee_zcl_level_control_move_step_mode_values[] = { { 0x00, "Up" }, { 0x01, "Down" }, { 0, NULL } }; static const range_string zbee_zcl_level_control_startup_level_names[] = { { 0x00, 0x00, "Set the CurrentLevel attribute to the minimum" }, { 0x01, 0xFE, "Set the CurrentLevel attribute to this value" }, { 0xFF, 0xFF, "Set the CurrentLevel attribute to its previous value" }, { 0, 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_level_control_move_to_level * DESCRIPTION * this function decodes the Move to Level payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_level_control_move_to_level(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Level" field */ proto_tree_add_item(tree, hf_zbee_zcl_level_control_level, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_level_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_level_control_move_to_level*/ /*FUNCTION:-------------------------------------------------------------------- * NAME * dissect_zcl_level_control_move * DESCRIPTION * this function decodes the Move payload * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *------------------------------------------------------------------------------ */ static void dissect_zcl_level_control_move(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Move Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_level_control_move_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Rate" field */ proto_tree_add_item(tree, hf_zbee_zcl_level_control_rate, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_level_control_move*/ /*FUNCTION:------------------------------------------------------------------- * NAME * dissect_zcl_level_control_step * DESCRIPTION * this function decodes the Step payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *----------------------------------------------------------------------------- */ static void dissect_zcl_level_control_step(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Step Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_level_control_step_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Step Size" field */ proto_tree_add_item(tree, hf_zbee_zcl_level_control_step_size, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_level_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_level_control_step*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_level_control_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * RETURNS * none *--------------------------------------------------------------- */ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_level_control * DESCRIPTION * ZigBee ZCL Level Control cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_level_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_level_control_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_level_control_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_level_control, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_TO_LEVEL: case ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_TO_LEVEL_WITH_ONOFF: dissect_zcl_level_control_move_to_level(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE: case ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_MOVE_WITH_ONOFF: dissect_zcl_level_control_move(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STEP: case ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STEP_WITH_ONOFF: dissect_zcl_level_control_step(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STOP: case ZBEE_ZCL_CMD_ID_LEVEL_CONTROL_STOP_WITH_ONOFF: /* No Payload */ default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_level_control*/ static void dissect_zcl_level_control_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_CURRENT_LEVEL: proto_tree_add_item(tree, hf_zbee_zcl_level_control_attr_current_level, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_REMAINING_TIME: proto_tree_add_item(tree, hf_zbee_zcl_level_control_attr_remaining_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_ONOFF_TRANSIT_TIME: proto_tree_add_item(tree, hf_zbee_zcl_level_control_attr_onoff_transmit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_ON_LEVEL: proto_tree_add_item(tree, hf_zbee_zcl_level_control_attr_on_level, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_LEVEL_CONTROL_STARTUP_LEVEL: proto_tree_add_item(tree, hf_zbee_zcl_level_control_attr_startup_level, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_level_control_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_level_control * DESCRIPTION * ZigBee ZCL Level Control cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_level_control(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_level_control_attr_id, { "Attribute", "zbee_zcl_general.level_control.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_level_control_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_attr_current_level, { "Current Level", "zbee_zcl_general.level_control.attr.current_level", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_attr_remaining_time, { "Remaining Time", "zbee_zcl_general.level_control.attr.remaining_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_attr_onoff_transmit_time, { "Current Level", "zbee_zcl_general.level_control.attr.onoff_transmit_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_attr_on_level, { "On Level", "zbee_zcl_general.level_control.attr.on_level", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_attr_startup_level, { "Startup Level", "zbee_zcl_general.level_control.attr.startup_level", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_level_control_startup_level_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_level, { "Level", "zbee_zcl_general.level_control.level", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_move_mode, { "Move Mode", "zbee_zcl_general.level_control.move_mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_level_control_move_step_mode_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_rate, { "Rate", "zbee_zcl_general.level_control.rate", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_step_mode, { "Step Mode", "zbee_zcl_general.level_control.step_mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_level_control_move_step_mode_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_step_size, { "Step Size", "zbee_zcl_general.level_control.step_size", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_transit_time, { "Transition Time", "zbee_zcl_general.level_control.transit_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_level_control_srv_rx_cmd_id, { "Command", "zbee_zcl_general.level_control.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_level_control_srv_rx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Identify subtrees */ static gint *ett[] = { &ett_zbee_zcl_level_control }; /* Register the ZigBee ZCL Level Control cluster protocol name and description */ proto_zbee_zcl_level_control = proto_register_protocol("ZigBee ZCL Level Control", "ZCL Level Control", ZBEE_PROTOABBREV_ZCL_LEVEL_CONTROL); proto_register_field_array(proto_zbee_zcl_level_control, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Level Control dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_LEVEL_CONTROL, dissect_zbee_zcl_level_control, proto_zbee_zcl_level_control); } /*proto_register_zbee_zcl_level_control*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_level_control * DESCRIPTION * Hands off the ZCL Level Control dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_level_control(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_LEVEL_CONTROL, proto_zbee_zcl_level_control, ett_zbee_zcl_level_control, ZBEE_ZCL_CID_LEVEL_CONTROL, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_level_control_attr_id, hf_zbee_zcl_level_control_attr_id, hf_zbee_zcl_level_control_srv_rx_cmd_id, -1, (zbee_zcl_fn_attr_data)dissect_zcl_level_control_attr_data ); } /*proto_reg_handoff_zbee_zcl_level_control*/ /* ########################################################################## */ /* #### (0x000B) RSSI LOCATION CLUSTER ###################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE 0x0000 /* Location Type */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD 0x0001 /* Location Method */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_AGE 0x0002 /* Location Age */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_QUALITY_MEASURE 0x0003 /* Quality Measure */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_NUMBER_OF_DEVICES 0x0004 /* Number of Devices */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_1 0x0010 /* Coordinate 1 */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_2 0x0011 /* Coordinate 2 */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_3 0x0012 /* Coordinate 3 */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_POWER 0x0013 /* Power */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_PATH_LOSS_EXPONENT 0x0014 /* Path Loss Exponent */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_REPORTING_PERIOD 0x0015 /* Reporting Period */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_CALCULATION_PERIOD 0x0016 /* Calculation Period */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_NUMBER_RSSI_MEAS 0x0017 /* Number RSSI Measurements */ /* Location Type Mask Values */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_ABSOLUTE 0x01 /* Absolute/Measured */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_2D 0x02 /* 2D/3D */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_COORDINATE 0x0C /* Coordinate System */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_RESERVED 0xF0 /* Coordinate System */ /* Location Method Values */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_LATERATION 0x00 /* Lateration */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_SIGNPOSTING 0x01 /* Signposting */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_RF_FINGERPRINTING 0x02 /* RF Fingerprinting */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_OUT_OF_BAND 0x03 /* Out of Band */ #define ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_CENTRALIZED 0x04 /* Centralized */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SET_ABSOLUTE_LOCATION 0x00 /* Set Absolute Location */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SET_DEVICE_CONFIG 0x01 /* Set Device Configuration */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_GET_DEVICE_CONFIG 0x02 /* Get Device Configuration */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_GET_LOCATION_DATA 0x03 /* Get Location Data */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_RESPONSE 0x04 /* RSSI Response */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SEND_PINGS 0x05 /* Send Pings */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_ANCHOR_NODE_ANNOUNCE 0x06 /* Anchor Node Announce */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_DEVICE_CONFIG_RESPONSE 0x00 /* Device Configuration Response */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_LOCATION_DATA_RESPONSE 0x01 /* Location Data Response */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_LOCATION_DATA_NOTIF 0x02 /* Location Data Notification */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_COMPACT_LOCATION_DATA_NOTIF 0x03 /* Compact Location Data Notification */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_PING 0x04 /* RSSI Ping */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_REQUEST 0x05 /* RSSI Request */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_REPORT_RSSI_MEAS 0x06 /* Report RSSI Measurements */ #define ZBEE_ZCL_CMD_ID_RSSI_LOCATION_REQUEST_OWN_LOCATION 0x07 /* Request Own Location */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_rssi_location(void); void proto_reg_handoff_zbee_zcl_rssi_location(void); /* Command Dissector Helpers */ static void dissect_zcl_rssi_location_set_absolute_location (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_set_device_config (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_get_device_config (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_get_location_data (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_rssi_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_send_pings (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_anchor_node_announce (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_device_config_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_location_data_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_location_data_notif (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_compact_location_data_notif (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_rssi_ping (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_report_rssi_meas (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_request_own_location (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_rssi_location_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_rssi_location = -1; static int hf_zbee_zcl_rssi_location_attr_id = -1; static int hf_zbee_zcl_rssi_location_location_type = -1; static int hf_zbee_zcl_rssi_location_location_type_absolute = -1; static int hf_zbee_zcl_rssi_location_location_type_2D = -1; static int hf_zbee_zcl_rssi_location_location_type_coordinate_system = -1; static int hf_zbee_zcl_rssi_location_location_type_reserved = -1; static int hf_zbee_zcl_rssi_location_attr_id_location_method = -1; static int hf_zbee_zcl_rssi_location_coordinate1 = -1; static int hf_zbee_zcl_rssi_location_coordinate2 = -1; static int hf_zbee_zcl_rssi_location_coordinate3 = -1; static int hf_zbee_zcl_rssi_location_power = -1; static int hf_zbee_zcl_rssi_location_path_loss_expo = -1; static int hf_zbee_zcl_rssi_location_calc_period = -1; static int hf_zbee_zcl_rssi_location_number_rssi_meas = -1; static int hf_zbee_zcl_rssi_location_reporting_period = -1; static int hf_zbee_zcl_rssi_location_target_add = -1; static int hf_zbee_zcl_rssi_location_header = -1; static int hf_zbee_zcl_rssi_location_header_abs_only = -1; static int hf_zbee_zcl_rssi_location_header_recalc = -1; static int hf_zbee_zcl_rssi_location_header_bcast_ind = -1; static int hf_zbee_zcl_rssi_location_header_bcast_res = -1; static int hf_zbee_zcl_rssi_location_header_compact_res = -1; static int hf_zbee_zcl_rssi_location_header_res = -1; static int hf_zbee_zcl_rssi_location_number_responses = -1; static int hf_zbee_zcl_rssi_location_replaying_device = -1; static int hf_zbee_zcl_rssi_location_rssi = -1; static int hf_zbee_zcl_rssi_location_anchor_node_add = -1; static int hf_zbee_zcl_rssi_location_status = -1; static int hf_zbee_zcl_rssi_location_quality_measure = -1; static int hf_zbee_zcl_rssi_location_location_age = -1; static int hf_zbee_zcl_rssi_location_reporting_add = -1; static int hf_zbee_zcl_rssi_location_no_of_neigh = -1; static int hf_zbee_zcl_rssi_location_neighbour_add = -1; static int hf_zbee_zcl_rssi_location_request_add = -1; static int hf_zbee_zcl_rssi_location_srv_rx_cmd_id = -1; static int hf_zbee_zcl_rssi_location_srv_tx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_rssi_location = -1; static gint ett_zbee_zcl_rssi_location_location_type = -1; static gint ett_zbee_zcl_rssi_location_header = -1; /* Attributes */ static const value_string zbee_zcl_rssi_location_attr_names[] = { { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE, "Location Type" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD, "Location Method" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_AGE, "Location Age" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_QUALITY_MEASURE, "Quality Measure" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_NUMBER_OF_DEVICES, "Number of Devices" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_1, "Coordinate 1" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_2, "Coordinate 2" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_3, "Coordinate 3" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_POWER, "Power" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_PATH_LOSS_EXPONENT, "Path Loss Exponent" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_REPORTING_PERIOD, "Reporting Period" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_CALCULATION_PERIOD, "Calculation Period" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_NUMBER_RSSI_MEAS, "Number RSSI Measurements" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_rssi_location_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SET_ABSOLUTE_LOCATION, "Set Absolute Location" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SET_DEVICE_CONFIG, "Set Device Configuration" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_GET_DEVICE_CONFIG, "Get Device Configuration" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_GET_LOCATION_DATA, "Get Location Data" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_RESPONSE, "RSSI Response" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SEND_PINGS, "Send Pings" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_ANCHOR_NODE_ANNOUNCE, "Anchor Node Announce" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_rssi_location_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_DEVICE_CONFIG_RESPONSE, "Device Configuration Response" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_LOCATION_DATA_RESPONSE, "Location Data Response" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_LOCATION_DATA_NOTIF, "Location Data Notification" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_COMPACT_LOCATION_DATA_NOTIF, "Compact Location Data Notification" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_PING, "RSSI Ping" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_REQUEST, "RSSI Request" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_REPORT_RSSI_MEAS, "Report RSSI Measurements" }, { ZBEE_ZCL_CMD_ID_RSSI_LOCATION_REQUEST_OWN_LOCATION, "Request Own Location" }, { 0, NULL } }; /* Location Method Values */ static const value_string zbee_zcl_rssi_location_location_method_values[] = { { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_LATERATION, "Lateration" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_SIGNPOSTING, "Signposting" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_RF_FINGERPRINTING, "RF Fingerprinting" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_OUT_OF_BAND, "Out of Band" }, { ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD_CENTRALIZED, "Centralized" }, { 0, NULL } }; /* Location type absolute values*/ static const value_string zbee_zcl_rssi_location_location_type_abs_values[] = { {0, "Measured Location"}, {1, "Absolute Location"}, {0, NULL} }; /* Location type 2D/3D values*/ static const value_string zbee_zcl_rssi_location_location_type_2D_values[] = { {0, "Three Dimensional"}, {1, "Two Dimensional"}, {0, NULL} }; /* Location type Coordinate System values*/ static const value_string zbee_zcl_rssi_location_location_type_coordinate_values[] = { {0, "Rectangular"}, {1, "Reserved"}, {2, "Reserved"}, {3, "Reserved"}, {0, NULL} }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_rssi_location * DESCRIPTION * ZigBee ZCL RSSI Location cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_rssi_location(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_rssi_location_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_rssi_location, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SET_ABSOLUTE_LOCATION: dissect_zcl_rssi_location_set_absolute_location(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SET_DEVICE_CONFIG: dissect_zcl_rssi_location_set_device_config(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_GET_DEVICE_CONFIG: dissect_zcl_rssi_location_get_device_config(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_GET_LOCATION_DATA: dissect_zcl_rssi_location_get_location_data(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_RESPONSE: dissect_zcl_rssi_location_rssi_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_SEND_PINGS: dissect_zcl_rssi_location_send_pings(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_ANCHOR_NODE_ANNOUNCE: dissect_zcl_rssi_location_anchor_node_announce(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_rssi_location_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_rssi_location, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_DEVICE_CONFIG_RESPONSE: dissect_zcl_rssi_location_device_config_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_LOCATION_DATA_RESPONSE: dissect_zcl_rssi_location_location_data_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_LOCATION_DATA_NOTIF: dissect_zcl_rssi_location_location_data_notif(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_COMPACT_LOCATION_DATA_NOTIF: dissect_zcl_rssi_location_compact_location_data_notif(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_PING: dissect_zcl_rssi_location_rssi_ping(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_RSSI_REQUEST: /* No Payload */ break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_REPORT_RSSI_MEAS: dissect_zcl_rssi_location_report_rssi_meas(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_RSSI_LOCATION_REQUEST_OWN_LOCATION: dissect_zcl_rssi_location_request_own_location(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_rssi_location*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_set_absolute_location * DESCRIPTION * this function decodes the Set Absolute Location payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_rssi_location_set_absolute_location(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Coordinate 1" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate1, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 2" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate2, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 3" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate3, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Power" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_power, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Path Loss Exponent" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_path_loss_expo, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_rssi_location_set_absolute_location*/ /*FUNCTION:-------------------------------------------------------------------- * NAME * dissect_zcl_rssi_location_set_device_config * DESCRIPTION * this function decodes the Set Device Configuration payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *------------------------------------------------------------------------------ */ static void dissect_zcl_rssi_location_set_device_config(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Power" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_power, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Path Loss Exponent" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_path_loss_expo, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Calculation Period" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_calc_period, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Number RSSI Measurements" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_number_rssi_meas, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Reporting Period" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_reporting_period, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_rssi_location_set_device_config*/ /*FUNCTION:------------------------------------------------------------------- * NAME * dissect_zcl_rssi_location_get_device_config * DESCRIPTION * this function decodes the Get Device Configuration payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *----------------------------------------------------------------------------- */ static void dissect_zcl_rssi_location_get_device_config(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Target Address" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_target_add, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; } /*dissect_zcl_rssi_location_get_device_config*/ /*FUNCTION:------------------------------------------------------------------- * NAME * dissect_zcl_rssi_location_get_location_data * DESCRIPTION * this function decodes the Get Location Data payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *----------------------------------------------------------------------------- */ static void dissect_zcl_rssi_location_get_location_data(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 header; static int * const location_header_fields[] = { &hf_zbee_zcl_rssi_location_header_abs_only, &hf_zbee_zcl_rssi_location_header_recalc, &hf_zbee_zcl_rssi_location_header_bcast_ind, &hf_zbee_zcl_rssi_location_header_bcast_res, &hf_zbee_zcl_rssi_location_header_compact_res, &hf_zbee_zcl_rssi_location_header_res, NULL }; /* Retrieve "8-bit header" field */ header = tvb_get_guint8(tvb, *offset); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_rssi_location_header, ett_zbee_zcl_rssi_location_header, location_header_fields, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve the number responses field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_number_responses, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve the IEEE address field */ if(header & 0x04) { proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_target_add, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; } } /*dissect_zcl_rssi_location_get_location_data*/ /*FUNCTION:-------------------------------------------------------------------- * NAME * dissect_zcl_rssi_location_rssi_response * DESCRIPTION * this function decodes the RSSI Response payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *------------------------------------------------------------------------------ */ static void dissect_zcl_rssi_location_rssi_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Replaying Device" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_replaying_device, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; /* Retrieve "Coordinate 1" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate1, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 2" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate2, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 3" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate3, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "RSSI" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_rssi, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Number RSSI Measurements" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_number_rssi_meas, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_rssi_location_rssi_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_send_pings * DESCRIPTION * this function decodes the Send Pings payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_rssi_location_send_pings(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Target Address" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_target_add, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; /* Retrieve "Number RSSI Measurements" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_number_rssi_meas, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Calculation Period" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_calc_period, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_rssi_location_send_pings*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_anchor_node_announce * DESCRIPTION * this function decodes the Anchor Node Announce payload * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_rssi_location_anchor_node_announce(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Anchor Node Address" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_anchor_node_add, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; /* Retrieve "Coordinate 1" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate1, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 2" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate2, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 3" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate3, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_rssi_location_anchor_node_announce*/ /*FUNCTION:-------------------------------------------------------------------- * NAME * dissect_zcl_rssi_location_device_config_response * DESCRIPTION * this function decodes the Device Configuration Response payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *------------------------------------------------------------------------------ */ static void dissect_zcl_rssi_location_device_config_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 status; /* Retrieve "Status" field */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; if(status == ZBEE_ZCL_STAT_SUCCESS) { /* Retrieve "Power" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_power, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Path Loss Exponent" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_path_loss_expo, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Calculation Period" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_calc_period, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Number RSSI Measurements" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_number_rssi_meas, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Reporting Period" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_reporting_period, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } /*dissect_zcl_rssi_location_device_config_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_location_data_response * DESCRIPTION * this function decodes the Location Data Response payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_rssi_location_location_data_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 status; /* Retrieve "Status" field */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; if(status == ZBEE_ZCL_STAT_SUCCESS) { /* Retrieve "Location Type" field */ dissect_zcl_rssi_location_attr_data(tree, tvb, offset, ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE, ZBEE_ZCL_8_BIT_DATA, FALSE); /* Retrieve "Coordinate 1" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate1, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 2" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate2, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 3" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate3, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Power" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_power, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Path Loss Exponent" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_path_loss_expo, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Location Method" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_attr_id_location_method, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Quality Measure" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_quality_measure, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Location Age" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_location_age, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } /*dissect_zcl_rssi_location_location_data_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_location_data_notif * DESCRIPTION * this function decodes the Location Data Notification payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_rssi_location_location_data_notif(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 temp; /* Retrieve "Location Type" field */ temp = tvb_get_guint8(tvb, *offset); dissect_zcl_rssi_location_attr_data(tree, tvb, offset, ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE, ZBEE_ZCL_8_BIT_DATA, FALSE); /* Retrieve "Coordinate 1" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate1, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 2" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate2, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; if((temp & ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_2D) != 0x02) { /* Retrieve "Coordinate 3" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate3, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /* Retrieve "Power" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_power, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Path Loss Exponent" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_path_loss_expo, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; if((temp & ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_COORDINATE) != 0x0C) { /* Retrieve "Location Method" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_attr_id_location_method, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Quality Measure" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_quality_measure, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Location Age" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_location_age, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } /*dissect_zcl_rssi_location_location_data_notif*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_compact_location_data_notif * DESCRIPTION * this function decodes the Location Data Notification payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_rssi_location_compact_location_data_notif(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 temp; /* Retrieve "Location Type" field */ temp = tvb_get_guint8(tvb, *offset); dissect_zcl_rssi_location_attr_data(tree, tvb, offset, ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE, ZBEE_ZCL_8_BIT_DATA, FALSE); /* Retrieve "Coordinate 1" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate1, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 2" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate2, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; if((temp & ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_2D) != 0x02) { /* Retrieve "Coordinate 3" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate3, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } if((temp & ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_COORDINATE) != 0x0C) { /* Retrieve "Quality Measure" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_quality_measure, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Location Age" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_location_age, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } /*dissect_zcl_rssi_location_compact_location_data_notif*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_rssi_ping * DESCRIPTION * this function decodes the RSSI Ping payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_rssi_location_rssi_ping(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Location Type" field */ dissect_zcl_rssi_location_attr_data(tree, tvb, offset, ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE, ZBEE_ZCL_8_BIT_DATA, FALSE); } /*dissect_zcl_rssi_location_rssi_ping*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_report_rssi_meas * DESCRIPTION * this function decodes the Report RSSI Measurements payload * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_rssi_location_report_rssi_meas(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 count, i; /* Retrieve "Reporting Address" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_reporting_add, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; /* Retrieve "Number of Neighbours" field */ count = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_no_of_neigh, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; for( i = 0; i < count; i++) { /* Retrieve "Neighbour Address" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_neighbour_add, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; /* Retrieve "Coordinate 1" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate1, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 2" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate2, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Coordinate 3" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_coordinate3, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "RSSI" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_rssi, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Number RSSI Measurements" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_number_rssi_meas, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } } /*dissect_zcl_rssi_location_report_rssi_meas*/ /*FUNCTION:------------------------------------------------------------------- * NAME * dissect_zcl_rssi_location_request_own_location * DESCRIPTION * this function decodes the Request Own Location payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *----------------------------------------------------------------------------- */ static void dissect_zcl_rssi_location_request_own_location(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Requesting Address Address" field */ proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_request_add, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; } /*dissect_zcl_rssi_location_request_own_location*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_rssi_location_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_rssi_location_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const location_type[] = { &hf_zbee_zcl_rssi_location_location_type_absolute, &hf_zbee_zcl_rssi_location_location_type_2D, &hf_zbee_zcl_rssi_location_location_type_coordinate_system, &hf_zbee_zcl_rssi_location_location_type_reserved, NULL }; /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_rssi_location_location_type, ett_zbee_zcl_rssi_location_location_type, location_type, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_METHOD: proto_tree_add_item(tree, hf_zbee_zcl_rssi_location_attr_id_location_method, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_AGE: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_QUALITY_MEASURE: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_NUMBER_OF_DEVICES: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_1: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_2: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_COORDINATE_3: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_POWER: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_PATH_LOSS_EXPONENT: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_REPORTING_PERIOD: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_CALCULATION_PERIOD: case ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_NUMBER_RSSI_MEAS: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_rssi_location_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_rssi_location * DESCRIPTION * ZigBee ZCL RSSI Location cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_rssi_location(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_rssi_location_attr_id, { "Attribute", "zbee_zcl_general.rssi_location.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_rssi_location_attr_names), 0x00, NULL, HFILL } }, /* start Location Type fields */ { &hf_zbee_zcl_rssi_location_location_type, { "Location Type", "zbee_zcl_general.rssi_location.attr_id.location_type", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_location_type_absolute, { "Location Type Absolute/Measured", "zbee_zcl_general.rssi_location.attr_id.location_type.abs", FT_UINT8, BASE_HEX, VALS(zbee_zcl_rssi_location_location_type_abs_values), ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_ABSOLUTE, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_location_type_2D, { "Location Type 2D/3D", "zbee_zcl_general.rssi_location.attr_id.location_type.2D", FT_UINT8, BASE_HEX, VALS(zbee_zcl_rssi_location_location_type_2D_values), ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_2D, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_location_type_coordinate_system, { "Location Type Coordinate System", "zbee_zcl_general.rssi_location.attr_id.location_type.coordinate", FT_UINT8, BASE_HEX, VALS(zbee_zcl_rssi_location_location_type_coordinate_values), ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_COORDINATE, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_location_type_reserved, { "Reserved", "zbee_zcl_general.rssi_location.attr_id.location_type.reserved", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_ATTR_ID_RSSI_LOCATION_LOCATION_TYPE_RESERVED, NULL, HFILL } }, /* end Location Type fields */ { &hf_zbee_zcl_rssi_location_attr_id_location_method, { "Location Method", "zbee_zcl_general.rssi_location.attr_id.location_method", FT_UINT8, BASE_HEX, VALS(zbee_zcl_rssi_location_location_method_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_coordinate1, { "Coordinate 1", "zbee_zcl_general.rssi_location.coordinate1", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_coordinate2, { "Coordinate 2", "zbee_zcl_general.rssi_location.coordinate2", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_coordinate3, { "Coordinate 3", "zbee_zcl_general.rssi_location.coordinate3", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_power, { "Power", "zbee_zcl_general.rssi_location.power", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_path_loss_expo, { "Path Loss Exponent", "zbee_zcl_general.rssi_location.path_loss_exponent", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_calc_period, { "Calculation Period", "zbee_zcl_general.rssi_location.calc_period", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_number_rssi_meas, { "Number RSSI Measurements", "zbee_zcl_general.rssi_location.number_rssi_meas", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_reporting_period, { "Reporting Period", "zbee_zcl_general.rssi_location.reporting_period", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_target_add, { "Target Address", "zbee_zcl_general.rssi_location.target_add", FT_UINT64, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_header, { "Header Data", "zbee_zcl_general.rssi_location.location_header", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_header_abs_only, { "Absolute Only", "zbee_zcl_general.rssi_location.header.abs_only", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_header_recalc, { "Recalculate", "zbee_zcl_general.rssi_location.header.recalc", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_header_bcast_ind, { "Broadcast Indicator", "zbee_zcl_general.rssi_location.header.bcast_ind", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_header_bcast_res, { "Broadcast Response", "zbee_zcl_general.rssi_location.header.bcast_response", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_header_compact_res, { "Compact Response", "zbee_zcl_general.rssi_location.compact_res", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_header_res, { "Reserved", "zbee_zcl_general.rssi_location.reserved", FT_BOOLEAN, 8, NULL, 0xE0, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_number_responses, { "Number Responses", "zbee_zcl_general.rssi_location.number_responses", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_replaying_device, { "Replying Device", "zbee_zcl_general.rssi_location.replying_device", FT_UINT64, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_rssi, { "RSSI", "zbee_zcl_general.rssi_location.rssi", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_anchor_node_add, { "Anchor Node Address", "zbee_zcl_general.rssi_location.anchor_node_add", FT_UINT64, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_status, { "Status", "zbee_zcl_general.rssi_location.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_quality_measure, { "Quality Measure", "zbee_zcl_general.rssi_location.quality_measure", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_location_age, { "Location Age", "zbee_zcl_general.rssi_location.location_age", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_reporting_add, { "Reporting Address", "zbee_zcl_general.rssi_location.reporting_add", FT_UINT64, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_no_of_neigh, { "Number of Neighbours", "zbee_zcl_general.rssi_location.no_of_neigh", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_neighbour_add, { "Neighbour Address", "zbee_zcl_general.rssi_location.neighbour_add", FT_UINT64, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_request_add, { "Requesting Address", "zbee_zcl_general.rssi_location.request_add", FT_UINT64, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_srv_rx_cmd_id, { "Command", "zbee_zcl_general.rssi_location.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_rssi_location_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_rssi_location_srv_tx_cmd_id, { "Command", "zbee_zcl_general.rssi_location.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_rssi_location_srv_tx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL RSSI Location subtrees */ static gint *ett[] = { &ett_zbee_zcl_rssi_location, &ett_zbee_zcl_rssi_location_location_type, &ett_zbee_zcl_rssi_location_header }; /* Register the ZigBee ZCL RSSI Location cluster protocol name and description */ proto_zbee_zcl_rssi_location = proto_register_protocol("ZigBee ZCL RSSI Location", "ZCL RSSI Location", ZBEE_PROTOABBREV_ZCL_RSSI_LOCATION); proto_register_field_array(proto_zbee_zcl_rssi_location, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL RSSI Location dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_RSSI_LOCATION, dissect_zbee_zcl_rssi_location, proto_zbee_zcl_rssi_location); } /*proto_register_zbee_zcl_rssi_location*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_rssi_location * DESCRIPTION * Hands off the ZCL RSSI Location dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_rssi_location(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_RSSI_LOCATION, proto_zbee_zcl_rssi_location, ett_zbee_zcl_rssi_location, ZBEE_ZCL_CID_RSSI_LOCATION, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_rssi_location_attr_id, hf_zbee_zcl_rssi_location_attr_id, hf_zbee_zcl_rssi_location_srv_rx_cmd_id, hf_zbee_zcl_rssi_location_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_rssi_location_attr_data ); } /*proto_reg_handoff_zbee_zcl_rssi_location*/ /****************************************************************************************************/ /****************************************************************************************************/ /****************************************************************************************************/ /* Reliability Enumeration Values */ #define ZBEE_ZCL_RELIABILITY_NO_FAULT_DETECTED 0x00 /* No Fault Detected */ #define ZBEE_ZCL_RELIABILITY_NO_SENSOR 0x01 /* No Sensor */ #define ZBEE_ZCL_RELIABILITY_OVER_RANGE 0x02 /* Over Range */ #define ZBEE_ZCL_RELIABILITY_UNDER_RANGE 0x03 /* Under Range */ #define ZBEE_ZCL_RELIABILITY_OPEN_LOOP 0x04 /* Open Loop */ #define ZBEE_ZCL_RELIABILITY_SHORTED_LOOP 0x05 /* Shorted Loop */ #define ZBEE_ZCL_RELIABILITY_NO_OUTPUT 0x06 /* No Output */ #define ZBEE_ZCL_RELIABILITY_UNRELIABLE_OTHER 0x07 /* Unreliable Other */ #define ZBEE_ZCL_RELIABILITY_PROCESS_ERROR 0x08 /* Process Error */ #define ZBEE_ZCL_RELIABILITY_MULTI_STATE_FAULT 0x09 /* Multi-State Fault */ #define ZBEE_ZCL_RELIABILITY_CONFIGURATION_ERROR 0x0A /* Configuration Error */ static const value_string zbee_zcl_reliability_names[] = { {ZBEE_ZCL_RELIABILITY_NO_FAULT_DETECTED, "No Fault Detected"}, {ZBEE_ZCL_RELIABILITY_NO_SENSOR, "No Sensor"}, {ZBEE_ZCL_RELIABILITY_OVER_RANGE, "Over Range"}, {ZBEE_ZCL_RELIABILITY_UNDER_RANGE, "Under Range"}, {ZBEE_ZCL_RELIABILITY_OPEN_LOOP, "Open Loop"}, {ZBEE_ZCL_RELIABILITY_SHORTED_LOOP, "Shorted Loop"}, {ZBEE_ZCL_RELIABILITY_NO_OUTPUT, "No Output"}, {ZBEE_ZCL_RELIABILITY_UNRELIABLE_OTHER, "Unreliable Other"}, {ZBEE_ZCL_RELIABILITY_PROCESS_ERROR, "Process Error"}, {ZBEE_ZCL_RELIABILITY_MULTI_STATE_FAULT, "Multi-State Fault"}, {ZBEE_ZCL_RELIABILITY_CONFIGURATION_ERROR, "Configuration Error"}, {0, NULL} }; /* Status Flags Mask Values */ #define ZBEE_ZCL_STATUS_IN_ALARM 0x01 /* In Alarm Flag */ #define ZBEE_ZCL_STATUS_FAULT 0x02 /* Fault Flag */ #define ZBEE_ZCL_STATUS_OVERRIDDEN 0x04 /* Overridden Flag */ #define ZBEE_ZCL_STATUS_OUT_OF_SERVICE 0x08 /* Out of Service Flag */ /* ########################################################################## */ /* #### (0x000C) ANALOG INPUT (BASIC) CLUSTER ############################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_MAX_PRESENT_VALUE 0x0041 /* Max Present Value */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_MIN_PRESENT_VALUE 0x0045 /* Min Present Value */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_RESOLUTION 0x006A /* Resolution */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_ENGINEERING_UNITS 0x0075 /* Engineering Units */ #define ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_analog_input_basic(void); void proto_reg_handoff_zbee_zcl_analog_input_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_analog_input_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_analog_input_basic = -1; static int hf_zbee_zcl_analog_input_basic_attr_id = -1; static int hf_zbee_zcl_analog_input_basic_reliability = -1; static int hf_zbee_zcl_analog_input_basic_status_flags = -1; static int hf_zbee_zcl_analog_input_basic_status_in_alarm = -1; static int hf_zbee_zcl_analog_input_basic_status_fault = -1; static int hf_zbee_zcl_analog_input_basic_status_overridden = -1; static int hf_zbee_zcl_analog_input_basic_status_out_of_service = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_analog_input_basic = -1; static gint ett_zbee_zcl_analog_input_basic_status_flags = -1; /* Attributes */ static const value_string zbee_zcl_analog_input_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_MAX_PRESENT_VALUE, "Max Present Value" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_MIN_PRESENT_VALUE, "Min Present Value" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_RESOLUTION, "Resolution" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_ENGINEERING_UNITS, "Engineering Units" }, { ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_analog_input_basic * DESCRIPTION * ZigBee ZCL Analog Input Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_analog_input_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_analog_input_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_analog_input_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_analog_input_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const status_flags[] = { &hf_zbee_zcl_analog_input_basic_status_in_alarm, &hf_zbee_zcl_analog_input_basic_status_fault, &hf_zbee_zcl_analog_input_basic_status_overridden, &hf_zbee_zcl_analog_input_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_analog_input_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_analog_input_basic_status_flags, ett_zbee_zcl_analog_input_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_MAX_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_MIN_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_RESOLUTION: case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_ENGINEERING_UNITS: case ZBEE_ZCL_ATTR_ID_ANALOG_INPUT_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_analog_input_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_analog_input_basic * DESCRIPTION * ZigBee ZCL Analog Input Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_analog_input_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_analog_input_basic_attr_id, { "Attribute", "zbee_zcl_general.analog_input_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_analog_input_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_analog_input_basic_reliability, { "Reliability", "zbee_zcl_general.analog_input_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x00, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_analog_input_basic_status_flags, { "Status Flags", "zbee_zcl_general.analog_input_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_analog_input_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.analog_input_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_analog_input_basic_status_fault, { "Fault Status", "zbee_zcl_general.analog_input_basic.attr.status.fault",FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_analog_input_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.analog_input_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_analog_input_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.analog_input_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } } /* end Status Flags fields */ }; /* ZCL Analog Input Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_analog_input_basic, &ett_zbee_zcl_analog_input_basic_status_flags }; /* Register the ZigBee ZCL Analog Input Basic cluster protocol name and description */ proto_zbee_zcl_analog_input_basic = proto_register_protocol("ZigBee ZCL Analog Input Basic", "ZCL Analog Input Basic", ZBEE_PROTOABBREV_ZCL_ANALOG_INPUT_BASIC); proto_register_field_array(proto_zbee_zcl_analog_input_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Analog Input Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ANALOG_INPUT_BASIC, dissect_zbee_zcl_analog_input_basic, proto_zbee_zcl_analog_input_basic); } /*proto_register_zbee_zcl_analog_input_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_analog_input_basic * DESCRIPTION * Hands off the ZCL Analog Input Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_analog_input_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ANALOG_INPUT_BASIC, proto_zbee_zcl_analog_input_basic, ett_zbee_zcl_analog_input_basic, ZBEE_ZCL_CID_ANALOG_INPUT_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_analog_input_basic_attr_id, hf_zbee_zcl_analog_input_basic_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_analog_input_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_analog_input_basic*/ /* ########################################################################## */ /* #### (0x000D) ANALOG OUTPUT (BASIC) CLUSTER ############################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_MAX_PRESENT_VALUE 0x0041 /* Max Present Value */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_MIN_PRESENT_VALUE 0x0045 /* Min Present Value */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_PRIORITY_ARRAY 0x0057 /* Priority Array */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RELINQUISH_DEFAULT 0x0068 /* Relinquish Default */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RESOLUTION 0x006A /* Resolution */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_ENGINEERING_UNITS 0x0075 /* Engineering Units */ #define ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_analog_output_basic(void); void proto_reg_handoff_zbee_zcl_analog_output_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_analog_output_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_analog_output_basic = -1; static int hf_zbee_zcl_analog_output_basic_attr_id = -1; static int hf_zbee_zcl_analog_output_basic_reliability = -1; static int hf_zbee_zcl_analog_output_basic_status_flags = -1; static int hf_zbee_zcl_analog_output_basic_status_in_alarm = -1; static int hf_zbee_zcl_analog_output_basic_status_fault = -1; static int hf_zbee_zcl_analog_output_basic_status_overridden = -1; static int hf_zbee_zcl_analog_output_basic_status_out_of_service = -1; static int hf_zbee_zcl_analog_output_basic_priority_array_bool = -1; static int hf_zbee_zcl_analog_output_basic_priority_array_sing_prec = -1; static int hf_zbee_zcl_analog_output_basic_priority_array = -1; static int hf_zbee_zcl_analog_output_basic_structure = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_analog_output_basic = -1; static gint ett_zbee_zcl_analog_output_basic_status_flags = -1; static gint ett_zbee_zcl_analog_output_basic_priority_array = -1; static gint ett_zbee_zcl_analog_output_basic_priority_array_structure = -1; /* Attributes */ static const value_string zbee_zcl_analog_output_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_MAX_PRESENT_VALUE, "Max Present Value" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_MIN_PRESENT_VALUE, "Min Present Value" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_PRIORITY_ARRAY, "Priority Array" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RELINQUISH_DEFAULT, "Relinquish Default" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RESOLUTION, "Resolution" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_ENGINEERING_UNITS, "Engineering Units" }, { ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_analog_output_basic * DESCRIPTION * ZigBee ZCL Analog Output Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_analog_output_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_analog_output_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_analog_output_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_analog_output_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { proto_item *ti = NULL, *tj = NULL; proto_tree *sub_tree = NULL, *sub = NULL; int i; static int * const status_flags[] = { &hf_zbee_zcl_analog_output_basic_status_in_alarm, &hf_zbee_zcl_analog_output_basic_status_fault, &hf_zbee_zcl_analog_output_basic_status_overridden, &hf_zbee_zcl_analog_output_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_PRIORITY_ARRAY: ti = proto_tree_add_item(tree,hf_zbee_zcl_analog_output_basic_priority_array, tvb, *offset, 80, ENC_NA); sub_tree = proto_item_add_subtree(ti, ett_zbee_zcl_analog_output_basic_priority_array); for(i = 1; i <= 16; i++) { tj = proto_tree_add_item(sub_tree, hf_zbee_zcl_analog_output_basic_structure, tvb, *offset, 5, ENC_NA); proto_item_append_text(tj," %d",i); sub = proto_item_add_subtree(tj, ett_zbee_zcl_analog_output_basic_priority_array_structure); proto_tree_add_item(sub, hf_zbee_zcl_analog_output_basic_priority_array_bool, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(sub, hf_zbee_zcl_analog_output_basic_priority_array_sing_prec, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } break; case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_analog_output_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_analog_output_basic_status_flags, ett_zbee_zcl_analog_output_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_MAX_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_MIN_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RELINQUISH_DEFAULT: case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_RESOLUTION: case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_ENGINEERING_UNITS: case ZBEE_ZCL_ATTR_ID_ANALOG_OUTPUT_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_analog_output_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_analog_output_basic * DESCRIPTION * ZigBee ZCL Analog Output Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_analog_output_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_analog_output_basic_attr_id, { "Attribute", "zbee_zcl_general.analog_output_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_analog_output_basic_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_analog_output_basic_reliability, { "Reliability", "zbee_zcl_general.analog_output_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x0, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_analog_output_basic_status_flags, { "Status Flags", "zbee_zcl_general.analog_output_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_analog_output_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.analog_output_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_analog_output_basic_status_fault, { "Fault Status", "zbee_zcl_general.analog_output_basic.attr.status.fault", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_analog_output_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.analog_output_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_analog_output_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.analog_output_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } }, /* end Status Flags fields */ { &hf_zbee_zcl_analog_output_basic_priority_array_bool, { "Valid/Invalid", "zbee_zcl_general.analog_output_basic.attr.priority_array.bool", FT_BOOLEAN, 8, TFS(&tfs_invalid_valid), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_analog_output_basic_priority_array_sing_prec, { "Priority Value", "zbee_zcl_general.analog_output_basic.attr.priority_array.sing_prec", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_analog_output_basic_priority_array, { "Priority Array", "zbee_zcl_general.analog_output_basic.priority_array", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_analog_output_basic_structure, { "Structure", "zbee_zcl_general.analog_output_basic.structure", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } } }; /* ZCL Analog Output Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_analog_output_basic, &ett_zbee_zcl_analog_output_basic_status_flags, &ett_zbee_zcl_analog_output_basic_priority_array, &ett_zbee_zcl_analog_output_basic_priority_array_structure }; /* Register the ZigBee ZCL Analog Output Basic cluster protocol name and description */ proto_zbee_zcl_analog_output_basic = proto_register_protocol("ZigBee ZCL Analog Output Basic", "ZCL Analog Output Basic", ZBEE_PROTOABBREV_ZCL_ANALOG_OUTPUT_BASIC); proto_register_field_array(proto_zbee_zcl_analog_output_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Analog Output Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ANALOG_OUTPUT_BASIC, dissect_zbee_zcl_analog_output_basic, proto_zbee_zcl_analog_output_basic); } /*proto_register_zbee_zcl_analog_output_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_analog_output_basic * DESCRIPTION * Hands off the ZCL Analog Output Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_analog_output_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ANALOG_OUTPUT_BASIC, proto_zbee_zcl_analog_output_basic, ett_zbee_zcl_analog_output_basic, ZBEE_ZCL_CID_ANALOG_OUTPUT_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_analog_output_basic_attr_id, hf_zbee_zcl_analog_output_basic_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_analog_output_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_analog_output_basic*/ /* ########################################################################## */ /* #### (0x000E) ANALOG VALUE (BASIC) CLUSTER ############################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_PRIORITY_ARRAY 0x0057 /* Priority Array */ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_RELINQUISH_DEFAULT 0x0068 /* Relinquish Default */ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_ENGINEERING_UNITS 0x0075 /* Engineering Units */ #define ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_analog_value_basic(void); void proto_reg_handoff_zbee_zcl_analog_value_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_analog_value_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_analog_value_basic = -1; static int hf_zbee_zcl_analog_value_basic_attr_id = -1; static int hf_zbee_zcl_analog_value_basic_reliability = -1; static int hf_zbee_zcl_analog_value_basic_status_flags = -1; static int hf_zbee_zcl_analog_value_basic_status_in_alarm = -1; static int hf_zbee_zcl_analog_value_basic_status_fault = -1; static int hf_zbee_zcl_analog_value_basic_status_overridden = -1; static int hf_zbee_zcl_analog_value_basic_status_out_of_service = -1; static int hf_zbee_zcl_analog_value_basic_priority_array_bool = -1; static int hf_zbee_zcl_analog_value_basic_priority_array_sing_prec = -1; static int hf_zbee_zcl_analog_value_basic_priority_array = -1; static int hf_zbee_zcl_analog_value_basic_structure = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_analog_value_basic = -1; static gint ett_zbee_zcl_analog_value_basic_status_flags = -1; static gint ett_zbee_zcl_analog_value_basic_priority_array = -1; static gint ett_zbee_zcl_analog_value_basic_priority_array_structure = -1; /* Attributes */ static const value_string zbee_zcl_analog_value_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_PRIORITY_ARRAY, "Priority Array" }, { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_RELINQUISH_DEFAULT, "Relinquish Default" }, { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_ENGINEERING_UNITS, "Engineering Units" }, { ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_analog_value_basic * DESCRIPTION * ZigBee ZCL Analog Value Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_analog_value_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_analog_value_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_analog_value_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_analog_value_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { proto_item *ti = NULL, *tj = NULL; proto_tree *sub_tree = NULL, *sub = NULL; int i; static int * const status_flags[] = { &hf_zbee_zcl_analog_value_basic_status_in_alarm, &hf_zbee_zcl_analog_value_basic_status_fault, &hf_zbee_zcl_analog_value_basic_status_overridden, &hf_zbee_zcl_analog_value_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_PRIORITY_ARRAY: ti = proto_tree_add_item(tree,hf_zbee_zcl_analog_value_basic_priority_array, tvb, *offset, 80, ENC_NA); sub_tree = proto_item_add_subtree(ti, ett_zbee_zcl_analog_value_basic_priority_array); for( i = 1; i <= 16; i++) { tj = proto_tree_add_item(sub_tree, hf_zbee_zcl_analog_value_basic_structure, tvb, *offset, 5, ENC_NA); proto_item_append_text(tj," %d",i); sub = proto_item_add_subtree(tj, ett_zbee_zcl_analog_value_basic_priority_array_structure); proto_tree_add_item(sub, hf_zbee_zcl_analog_value_basic_priority_array_bool, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(sub, hf_zbee_zcl_analog_value_basic_priority_array_sing_prec, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } break; case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_analog_value_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_analog_value_basic_status_flags, ett_zbee_zcl_analog_value_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_RELINQUISH_DEFAULT: case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_ENGINEERING_UNITS: case ZBEE_ZCL_ATTR_ID_ANALOG_VALUE_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_analog_value_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_analog_value_basic * DESCRIPTION * ZigBee ZCL Analog Value Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_analog_value_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_analog_value_basic_attr_id, { "Attribute", "zbee_zcl_general.analog_value_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_analog_value_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_analog_value_basic_reliability, { "Reliability", "zbee_zcl_general.analog_value_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x00, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_analog_value_basic_status_flags, { "Status Flags", "zbee_zcl_general.analog_value_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_analog_value_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.analog_value_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_analog_value_basic_status_fault, { "Fault Status", "zbee_zcl_general.analog_value_basic.attr.status.fault", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_analog_value_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.analog_value_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_analog_value_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.analog_value_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } }, /* end Status Flags fields */ { &hf_zbee_zcl_analog_value_basic_priority_array_bool, { "Valid/Invalid", "zbee_zcl_general.analog_value_basic.attr.priority_array.bool", FT_BOOLEAN, 8, TFS(&tfs_invalid_valid), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_analog_value_basic_priority_array_sing_prec, { "Priority Value", "zbee_zcl_general.analog_value_basic.attr.priority_array.sing_prec", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_analog_value_basic_priority_array, { "Priority Array", "zbee_zcl_general.analog_value_basic.priority_array", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_analog_value_basic_structure, { "Structure", "zbee_zcl_general.analog_value_basic.structure", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } } }; /* ZCL Analog Value Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_analog_value_basic, &ett_zbee_zcl_analog_value_basic_status_flags, &ett_zbee_zcl_analog_value_basic_priority_array, &ett_zbee_zcl_analog_value_basic_priority_array_structure }; /* Register the ZigBee ZCL Analog Value Basic cluster protocol name and description */ proto_zbee_zcl_analog_value_basic = proto_register_protocol("ZigBee ZCL Analog Value Basic", "ZCL Analog Value Basic", ZBEE_PROTOABBREV_ZCL_ANALOG_VALUE_BASIC); proto_register_field_array(proto_zbee_zcl_analog_value_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Analog Value Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ANALOG_VALUE_BASIC, dissect_zbee_zcl_analog_value_basic, proto_zbee_zcl_analog_value_basic); } /*proto_register_zbee_zcl_analog_value_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_analog_value_basic * DESCRIPTION * Hands off the ZCL Analog Value Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_analog_value_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ANALOG_VALUE_BASIC, proto_zbee_zcl_analog_value_basic, ett_zbee_zcl_analog_value_basic, ZBEE_ZCL_CID_ANALOG_VALUE_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_analog_value_basic_attr_id, hf_zbee_zcl_analog_value_basic_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_analog_value_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_analog_value_basic*/ /* ########################################################################## */ /* #### (0x000F) BINARY INPUT (BASIC) CLUSTER ############################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_ACTIVE_TEXT 0x0004 /* Active Text */ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_INACTIVE_TEXT 0x002E /* Inactive Text */ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_POLARITY 0x0054 /* Polarity */ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ static const value_string zbee_zcl_binary_input_polarity_values[] = { {0, "Normal"}, {1, "Reversed"}, {0, NULL} }; /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_binary_input_basic(void); void proto_reg_handoff_zbee_zcl_binary_input_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_binary_input_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_binary_input_basic = -1; static int hf_zbee_zcl_binary_input_basic_attr_id = -1; static int hf_zbee_zcl_binary_input_basic_status_flags = -1; static int hf_zbee_zcl_binary_input_basic_status_in_alarm = -1; static int hf_zbee_zcl_binary_input_basic_status_fault = -1; static int hf_zbee_zcl_binary_input_basic_status_overridden = -1; static int hf_zbee_zcl_binary_input_basic_status_out_of_service = -1; static int hf_zbee_zcl_binary_input_basic_polarity = -1; static int hf_zbee_zcl_binary_input_basic_reliability= -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_binary_input_basic = -1; static gint ett_zbee_zcl_binary_input_basic_status_flags = -1; /* Attributes */ static const value_string zbee_zcl_binary_input_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_ACTIVE_TEXT, "Active Text" }, { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_INACTIVE_TEXT, "Inactive Text" }, { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_POLARITY, "Polarity" }, { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_binary_input_basic * DESCRIPTION * ZigBee ZCL Binary Input Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_binary_input_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_binary_input_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_binary_input_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_binary_input_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const status_flags[] = { &hf_zbee_zcl_binary_input_basic_status_in_alarm, &hf_zbee_zcl_binary_input_basic_status_fault, &hf_zbee_zcl_binary_input_basic_status_overridden, &hf_zbee_zcl_binary_input_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_POLARITY: proto_tree_add_item(tree, hf_zbee_zcl_binary_input_basic_polarity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_binary_input_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_binary_input_basic_status_flags, ett_zbee_zcl_binary_input_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_ACTIVE_TEXT: case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_INACTIVE_TEXT: case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_BINARY_INPUT_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_binary_input_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_binary_input_basic * DESCRIPTION * ZigBee ZCL Binary Input Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_binary_input_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_binary_input_basic_attr_id, { "Attribute", "zbee_zcl_general.binary_input_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_binary_input_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_input_basic_reliability, { "Reliability", "zbee_zcl_general.binary_input_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x00, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_binary_input_basic_status_flags, { "Status Flags", "zbee_zcl_general.binary_input_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_input_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.binary_input_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_binary_input_basic_status_fault, { "Fault Status", "zbee_zcl_general.binary_input_basic.attr.status.fault", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_binary_input_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.binary_input_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_binary_input_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.binary_input_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } }, /* end Status Flags fields */ { &hf_zbee_zcl_binary_input_basic_polarity, { "Polarity", "zbee_zcl_general.binary_input_basic.attr.polarity", FT_UINT8, BASE_HEX, VALS(zbee_zcl_binary_input_polarity_values), 0x00, NULL, HFILL } } }; /* ZCL Binary Input Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_binary_input_basic, &ett_zbee_zcl_binary_input_basic_status_flags }; /* Register the ZigBee ZCL Binary Input Basic cluster protocol name and description */ proto_zbee_zcl_binary_input_basic = proto_register_protocol("ZigBee ZCL Binary Input Basic", "ZCL Binary Input Basic", ZBEE_PROTOABBREV_ZCL_BINARY_INPUT_BASIC); proto_register_field_array(proto_zbee_zcl_binary_input_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Binary Input Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_BINARY_INPUT_BASIC, dissect_zbee_zcl_binary_input_basic, proto_zbee_zcl_binary_input_basic); } /*proto_register_zbee_zcl_binary_input_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_binary_input_basic * DESCRIPTION * Hands off the ZCL Binary Input Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_binary_input_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_BINARY_INPUT_BASIC, proto_zbee_zcl_binary_input_basic, ett_zbee_zcl_binary_input_basic, ZBEE_ZCL_CID_BINARY_INPUT_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_binary_input_basic_attr_id, hf_zbee_zcl_binary_input_basic_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_binary_input_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_binary_input_basic*/ /* ########################################################################## */ /* #### (0x0010) BINARY OUTPUT (BASIC) CLUSTER ############################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_ACTIVE_TEXT 0x0004 /* Active Text */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_INACTIVE_TEXT 0x002E /* Inactive Text */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_MIN_OFF_TIME 0x0042 /* Maximum Off Time */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_MIN_ON_TIME 0x0043 /* Minimum On Time */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_POLARITY 0x0054 /* Polarity */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_PRIORITY_ARRAY 0x0057 /* Priority Array */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_RELINQUISH_DEFAULT 0x0068 /* Relinquish Default */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ static const value_string zbee_zcl_binary_output_polarity_values[] = { {0, "Normal"}, {1, "Reversed"}, {0, NULL} }; /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_binary_output_basic(void); void proto_reg_handoff_zbee_zcl_binary_output_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_binary_output_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_binary_output_basic = -1; static int hf_zbee_zcl_binary_output_basic_attr_id = -1; static int hf_zbee_zcl_binary_output_basic_status_flags = -1; static int hf_zbee_zcl_binary_output_basic_status_in_alarm = -1; static int hf_zbee_zcl_binary_output_basic_status_fault = -1; static int hf_zbee_zcl_binary_output_basic_status_overridden = -1; static int hf_zbee_zcl_binary_output_basic_status_out_of_service = -1; static int hf_zbee_zcl_binary_output_basic_priority_array_bool = -1; static int hf_zbee_zcl_binary_output_basic_priority_array_sing_prec = -1; static int hf_zbee_zcl_binary_output_basic_polarity = -1; static int hf_zbee_zcl_binary_output_basic_reliability = -1; static int hf_zbee_zcl_binary_output_basic_priority_array = -1; static int hf_zbee_zcl_binary_output_basic_structure = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_binary_output_basic = -1; static gint ett_zbee_zcl_binary_output_basic_status_flags = -1; static gint ett_zbee_zcl_binary_output_basic_priority_array = -1; static gint ett_zbee_zcl_binary_output_basic_priority_array_structure = -1; /* Attributes */ static const value_string zbee_zcl_binary_output_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_ACTIVE_TEXT, "Active Text" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_INACTIVE_TEXT, "Inactive Text" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_MIN_OFF_TIME, "Minimum Off Time" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_MIN_ON_TIME, "Minimum On Time" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_POLARITY, "Polarity" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_PRIORITY_ARRAY, "Priority Array" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_RELINQUISH_DEFAULT, "Relinquish Default" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_binary_output_basic * DESCRIPTION * ZigBee ZCL Binary Output Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_binary_output_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_binary_output_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_binary_output_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_binary_output_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { proto_item *ti = NULL, *tj = NULL; proto_tree *sub_tree = NULL, *sub = NULL; int i; static int * const status_flags[] = { &hf_zbee_zcl_binary_output_basic_status_in_alarm, &hf_zbee_zcl_binary_output_basic_status_fault, &hf_zbee_zcl_binary_output_basic_status_overridden, &hf_zbee_zcl_binary_output_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_PRIORITY_ARRAY: ti = proto_tree_add_item(tree,hf_zbee_zcl_binary_output_basic_priority_array, tvb, *offset, 80, ENC_NA); sub_tree = proto_item_add_subtree(ti, ett_zbee_zcl_binary_output_basic_priority_array); for(i = 1; i <= 16; i++) { tj = proto_tree_add_item(sub_tree, hf_zbee_zcl_binary_output_basic_structure, tvb, *offset, 5, ENC_NA); proto_item_append_text(tj," %d",i); sub = proto_item_add_subtree(tj, ett_zbee_zcl_binary_output_basic_priority_array_structure); proto_tree_add_item(sub, hf_zbee_zcl_binary_output_basic_priority_array_bool, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(sub, hf_zbee_zcl_binary_output_basic_priority_array_sing_prec, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } break; case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_POLARITY: proto_tree_add_item(tree, hf_zbee_zcl_binary_output_basic_polarity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_binary_output_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_binary_output_basic_status_flags, ett_zbee_zcl_binary_output_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_ACTIVE_TEXT: case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_INACTIVE_TEXT: case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_MIN_OFF_TIME: case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_MIN_ON_TIME: case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_RELINQUISH_DEFAULT: case ZBEE_ZCL_ATTR_ID_BINARY_OUTPUT_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_binary_output_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_binary_output_basic * DESCRIPTION * ZigBee ZCL Binary Output Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_binary_output_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_binary_output_basic_attr_id, { "Attribute", "zbee_zcl_general.binary_output_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_binary_output_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_reliability, { "Reliability", "zbee_zcl_general.binary_output_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x00, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_binary_output_basic_status_flags, { "Status Flags", "zbee_zcl_general.binary_output_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.binary_output_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_status_fault, { "Fault Status", "zbee_zcl_general.binary_output_basic.attr.status.fault", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.binary_output_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.binary_output_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } }, /* end Status Flags fields */ { &hf_zbee_zcl_binary_output_basic_polarity, { "Polarity", "zbee_zcl_general.binary_output_basic.attr.polarity", FT_UINT8, BASE_HEX, VALS(zbee_zcl_binary_output_polarity_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_priority_array_bool, { "Valid/Invalid", "zbee_zcl_general.binary_output_basic.attr.priority_array.bool", FT_BOOLEAN, 8, TFS(&tfs_invalid_valid), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_priority_array_sing_prec, { "Priority Value", "zbee_zcl_general.binary_output_basic.attr.priority_array.sing_prec", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_priority_array, { "Priority Array", "zbee_zcl_general.binary_output_basic.priority_array", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_output_basic_structure, { "Structure", "zbee_zcl_general.binary_output_basic.structure", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } } }; /* ZCL Binary Output Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_binary_output_basic, &ett_zbee_zcl_binary_output_basic_status_flags, &ett_zbee_zcl_binary_output_basic_priority_array, &ett_zbee_zcl_binary_output_basic_priority_array_structure }; /* Register the ZigBee ZCL Binary Output Basic cluster protocol name and description */ proto_zbee_zcl_binary_output_basic = proto_register_protocol("ZigBee ZCL Binary Output Basic", "ZCL Binary Output Basic", ZBEE_PROTOABBREV_ZCL_BINARY_OUTPUT_BASIC); proto_register_field_array(proto_zbee_zcl_binary_output_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Binary Output Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_BINARY_OUTPUT_BASIC, dissect_zbee_zcl_binary_output_basic, proto_zbee_zcl_binary_output_basic); } /*proto_register_zbee_zcl_binary_output_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_binary_output_basic * DESCRIPTION * Hands off the ZCL Binary Output Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_binary_output_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_BINARY_OUTPUT_BASIC, proto_zbee_zcl_binary_output_basic, ett_zbee_zcl_binary_output_basic, ZBEE_ZCL_CID_BINARY_OUTPUT_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_binary_output_basic_attr_id, hf_zbee_zcl_binary_output_basic_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_binary_output_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_binary_output_basic*/ /* ########################################################################## */ /* #### (0x0011) BINARY VALUE (BASIC) CLUSTER ############################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_ACTIVE_TEXT 0x0004 /* Active Text */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_INACTIVE_TEXT 0x002E /* Inactive Text */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_MIN_OFF_TIME 0x0042 /* Maximum Off Time */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_MIN_ON_TIME 0x0043 /* Minimum On Time */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_PRIORITY_ARRAY 0x0057 /* Priority Array */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_RELINQUISH_DEFAULT 0x0068 /* Relinquish Default */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_binary_value_basic(void); void proto_reg_handoff_zbee_zcl_binary_value_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_binary_value_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_binary_value_basic = -1; static int hf_zbee_zcl_binary_value_basic_attr_id = -1; static int hf_zbee_zcl_binary_value_basic_status_flags = -1; static int hf_zbee_zcl_binary_value_basic_status_in_alarm = -1; static int hf_zbee_zcl_binary_value_basic_status_fault = -1; static int hf_zbee_zcl_binary_value_basic_status_overridden = -1; static int hf_zbee_zcl_binary_value_basic_status_out_of_service = -1; static int hf_zbee_zcl_binary_value_basic_priority_array_bool = -1; static int hf_zbee_zcl_binary_value_basic_priority_array_sing_prec = -1; static int hf_zbee_zcl_binary_value_basic_reliability = -1; static int hf_zbee_zcl_binary_value_basic_priority_array = -1; static int hf_zbee_zcl_binary_value_basic_structure = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_binary_value_basic = -1; static gint ett_zbee_zcl_binary_value_basic_status_flags = -1; static gint ett_zbee_zcl_binary_value_basic_priority_array = -1; static gint ett_zbee_zcl_binary_value_basic_priority_array_structure = -1; /* Attributes */ static const value_string zbee_zcl_binary_value_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_ACTIVE_TEXT, "Active Text" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_INACTIVE_TEXT, "Inactive Text" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_MIN_OFF_TIME, "Minimum Off Time" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_MIN_ON_TIME, "Minimum On Time" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_PRIORITY_ARRAY, "Priority Array" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_RELINQUISH_DEFAULT, "Relinquish Default" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_binary_value_basic * DESCRIPTION * ZigBee ZCL Binary Value Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_binary_value_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_binary_value_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_binary_value_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_binary_value_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { proto_item *ti = NULL, *tj = NULL; proto_tree *sub_tree = NULL, *sub = NULL; int i; static int * const status_flags[] = { &hf_zbee_zcl_binary_value_basic_status_in_alarm, &hf_zbee_zcl_binary_value_basic_status_fault, &hf_zbee_zcl_binary_value_basic_status_overridden, &hf_zbee_zcl_binary_value_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_PRIORITY_ARRAY: ti = proto_tree_add_item(tree,hf_zbee_zcl_binary_value_basic_priority_array, tvb, *offset, 80, ENC_NA); sub_tree = proto_item_add_subtree(ti, ett_zbee_zcl_binary_value_basic_priority_array); for( i = 1; i <= 16; i++) { tj = proto_tree_add_item(sub_tree, hf_zbee_zcl_binary_value_basic_structure, tvb, *offset, 5, ENC_NA); proto_item_append_text(tj," %d",i); sub = proto_item_add_subtree(tj, ett_zbee_zcl_binary_value_basic_priority_array_structure); proto_tree_add_item(sub, hf_zbee_zcl_binary_value_basic_priority_array_bool, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(sub, hf_zbee_zcl_binary_value_basic_priority_array_sing_prec, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } break; case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_binary_value_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_binary_value_basic_status_flags, ett_zbee_zcl_binary_value_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_ACTIVE_TEXT: case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_INACTIVE_TEXT: case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_MIN_OFF_TIME: case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_MIN_ON_TIME: case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_RELINQUISH_DEFAULT: case ZBEE_ZCL_ATTR_ID_BINARY_VALUE_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_binary_value_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_binary_value_basic * DESCRIPTION * ZigBee ZCL Binary Value Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_binary_value_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_binary_value_basic_attr_id, { "Attribute", "zbee_zcl_general.binary_value_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_binary_value_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_value_basic_reliability, { "Reliability", "zbee_zcl_general.binary_value_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x00, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_binary_value_basic_status_flags, { "Status Flags", "zbee_zcl_general.binary_value_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_value_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.binary_value_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_binary_value_basic_status_fault, { "Fault Status", "zbee_zcl_general.binary_value_basic.attr.status.fault", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_binary_value_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.binary_value_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_binary_value_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.binary_value_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } }, /* end Status Flags fields */ { &hf_zbee_zcl_binary_value_basic_priority_array_bool, { "Valid/Invalid", "zbee_zcl_general.binary_value_basic.attr.priority_array.bool", FT_BOOLEAN, 8,TFS(&tfs_invalid_valid), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_value_basic_priority_array_sing_prec, { "Priority Value", "zbee_zcl_general.binary_value_basic.attr.priority_array.sing_prec", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_value_basic_priority_array, { "Priority Array", "zbee_zcl_general.binary_value_basic.priority_array", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_binary_value_basic_structure, { "Structure", "zbee_zcl_general.binary_value_basic.structure", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } } }; /* ZCL Binary Value Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_binary_value_basic, &ett_zbee_zcl_binary_value_basic_status_flags, &ett_zbee_zcl_binary_value_basic_priority_array, &ett_zbee_zcl_binary_value_basic_priority_array_structure }; /* Register the ZigBee ZCL Binary Value Basic cluster protocol name and description */ proto_zbee_zcl_binary_value_basic = proto_register_protocol("ZigBee ZCL Binary Value Basic", "ZCL Binary Value Basic", ZBEE_PROTOABBREV_ZCL_BINARY_VALUE_BASIC); proto_register_field_array(proto_zbee_zcl_binary_value_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Binary Value Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_BINARY_VALUE_BASIC, dissect_zbee_zcl_binary_value_basic, proto_zbee_zcl_binary_value_basic); } /*proto_register_zbee_zcl_binary_value_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_binary_value_basic * DESCRIPTION * Hands off the ZCL Binary Value Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_binary_value_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_BINARY_VALUE_BASIC, proto_zbee_zcl_binary_value_basic, ett_zbee_zcl_binary_value_basic, ZBEE_ZCL_CID_BINARY_VALUE_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_binary_value_basic_attr_id, hf_zbee_zcl_binary_value_basic_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_binary_value_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_binary_value_basic*/ /* ########################################################################## */ /* #### (0x0012) MULTISTATE INPUT (BASIC) CLUSTER ########################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_STATE_TEXT 0x000E /* State Text */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_NUMBER_OF_STATES 0x004A /* Number of States */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_multistate_input_basic(void); void proto_reg_handoff_zbee_zcl_multistate_input_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_multistate_input_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_multistate_input_basic = -1; static int hf_zbee_zcl_multistate_input_basic_attr_id = -1; static int hf_zbee_zcl_multistate_input_basic_status_flags = -1; static int hf_zbee_zcl_multistate_input_basic_status_in_alarm = -1; static int hf_zbee_zcl_multistate_input_basic_status_fault = -1; static int hf_zbee_zcl_multistate_input_basic_status_overridden = -1; static int hf_zbee_zcl_multistate_input_basic_status_out_of_service = -1; static int hf_zbee_zcl_multistate_input_basic_reliability = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_multistate_input_basic = -1; static gint ett_zbee_zcl_multistate_input_basic_status_flags = -1; /* Attributes */ static const value_string zbee_zcl_multistate_input_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_STATE_TEXT, "State Text" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_NUMBER_OF_STATES, "Number of States" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_multistate_input_basic * DESCRIPTION * ZigBee ZCL Multistate Input Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_multistate_input_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_multistate_input_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_multistate_input_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_multistate_input_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const status_flags[] = { &hf_zbee_zcl_multistate_input_basic_status_in_alarm, &hf_zbee_zcl_multistate_input_basic_status_fault, &hf_zbee_zcl_multistate_input_basic_status_overridden, &hf_zbee_zcl_multistate_input_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_multistate_input_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_multistate_input_basic_status_flags, ett_zbee_zcl_multistate_input_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_NUMBER_OF_STATES: case ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_MULTISTATE_INPUT_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_multistate_input_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_multistate_input_basic * DESCRIPTION * ZigBee ZCL Multistate Input Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_multistate_input_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_multistate_input_basic_attr_id, { "Attribute", "zbee_zcl_general.multistate_input_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_multistate_input_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_input_basic_reliability, { "Reliability", "zbee_zcl_general.multistate_input_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x00, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_multistate_input_basic_status_flags, { "Status Flags", "zbee_zcl_general.multistate_input_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_input_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.multistate_input_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_multistate_input_basic_status_fault, { "Fault Status", "zbee_zcl_general.multistate_input_basic.attr.status.fault", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_multistate_input_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.multistate_input_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_multistate_input_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.multistate_input_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } } /* end Status Flags fields */ }; /* ZCL Multistate Input Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_multistate_input_basic, &ett_zbee_zcl_multistate_input_basic_status_flags }; /* Register the ZigBee ZCL Multistate Input Basic cluster protocol name and description */ proto_zbee_zcl_multistate_input_basic = proto_register_protocol("ZigBee ZCL Multistate Input Basic", "ZCL Multistate Input Basic", ZBEE_PROTOABBREV_ZCL_MULTISTATE_INPUT_BASIC); proto_register_field_array(proto_zbee_zcl_multistate_input_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Multistate Input Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_MULTISTATE_INPUT_BASIC, dissect_zbee_zcl_multistate_input_basic, proto_zbee_zcl_multistate_input_basic); } /*proto_register_zbee_zcl_multistate_input_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_multistate_input_basic * DESCRIPTION * Hands off the ZCL Multistate Input Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_multistate_input_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_MULTISTATE_INPUT_BASIC, proto_zbee_zcl_multistate_input_basic, ett_zbee_zcl_multistate_input_basic, ZBEE_ZCL_CID_MULTISTATE_INPUT_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_multistate_input_basic_attr_id, hf_zbee_zcl_multistate_input_basic_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_multistate_input_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_multistate_input_basic*/ /* ########################################################################## */ /* #### (0x0013) MULTISTATE OUTPUT (BASIC) CLUSTER ########################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_STATE_TEXT 0x000E /* State Text */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_NUMBER_OF_STATES 0x004A /* Number of States */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_PRIORITY_ARRAY 0x0057 /* Priority Array */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_RELINQUISH_DEFAULT 0x0068 /* Relinquish Default */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_multistate_output_basic(void); void proto_reg_handoff_zbee_zcl_multistate_output_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_multistate_output_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_multistate_output_basic = -1; static int hf_zbee_zcl_multistate_output_basic_attr_id = -1; static int hf_zbee_zcl_multistate_output_basic_status_flags = -1; static int hf_zbee_zcl_multistate_output_basic_status_in_alarm = -1; static int hf_zbee_zcl_multistate_output_basic_status_fault = -1; static int hf_zbee_zcl_multistate_output_basic_status_overridden = -1; static int hf_zbee_zcl_multistate_output_basic_status_out_of_service = -1; static int hf_zbee_zcl_multistate_output_basic_reliability = -1; static int hf_zbee_zcl_multistate_output_basic_priority_array_bool = -1; static int hf_zbee_zcl_multistate_output_basic_priority_array_sing_prec = -1; static int hf_zbee_zcl_multistate_output_basic_priority_array = -1; static int hf_zbee_zcl_multistate_output_basic_structure = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_multistate_output_basic = -1; static gint ett_zbee_zcl_multistate_output_basic_status_flags = -1; static gint ett_zbee_zcl_multistate_output_basic_priority_array = -1; static gint ett_zbee_zcl_multistate_output_basic_priority_array_structure = -1; /* Attributes */ static const value_string zbee_zcl_multistate_output_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_STATE_TEXT, "State Text" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_NUMBER_OF_STATES, "Number of States" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_PRIORITY_ARRAY, "Priority Array" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_RELINQUISH_DEFAULT, "Relinquish Default" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; static const value_string zbee_zcl_multistate_output_basic_priority_array_bool_values[] = { { 0x01, "Valid" }, { 0x00, "Invalid" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_multistate_output_basic * DESCRIPTION * ZigBee ZCL Multistate Output Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_multistate_output_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_multistate_output_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_multistate_output_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_multistate_output_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { proto_item *ti = NULL, *tj = NULL; proto_tree *sub_tree = NULL, *sub = NULL; int i; static int * const status_flags[] = { &hf_zbee_zcl_multistate_output_basic_status_in_alarm, &hf_zbee_zcl_multistate_output_basic_status_fault, &hf_zbee_zcl_multistate_output_basic_status_overridden, &hf_zbee_zcl_multistate_output_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_PRIORITY_ARRAY: ti = proto_tree_add_item(tree,hf_zbee_zcl_multistate_output_basic_priority_array, tvb, *offset, 80, ENC_NA); sub_tree = proto_item_add_subtree(ti, ett_zbee_zcl_multistate_output_basic_priority_array); for( i = 1; i <= 16; i++) { tj = proto_tree_add_item(sub_tree, hf_zbee_zcl_multistate_output_basic_structure, tvb, *offset, 5, ENC_NA); proto_item_append_text(tj," %d",i); sub = proto_item_add_subtree(tj, ett_zbee_zcl_multistate_output_basic_priority_array_structure); proto_tree_add_item(sub, hf_zbee_zcl_multistate_output_basic_priority_array_bool, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(sub, hf_zbee_zcl_multistate_output_basic_priority_array_sing_prec, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } break; case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_multistate_output_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_multistate_output_basic_status_flags, ett_zbee_zcl_multistate_output_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_NUMBER_OF_STATES: case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_RELINQUISH_DEFAULT: case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_MULTISTATE_OUTPUT_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_multistate_output_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_multistate_output_basic * DESCRIPTION * ZigBee ZCL Multistate Output Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_multistate_output_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_multistate_output_basic_attr_id, { "Attribute", "zbee_zcl_general.multistate_output_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_multistate_output_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_output_basic_reliability, { "Reliability", "zbee_zcl_general.multistate_output_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x00, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_multistate_output_basic_status_flags, { "Status Flags", "zbee_zcl_general.multistate_output_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_output_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.multistate_output_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_multistate_output_basic_status_fault, { "Fault Status", "zbee_zcl_general.multistate_output_basic.attr.status.fault", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_multistate_output_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.multistate_output_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_multistate_output_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.multistate_output_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } }, /* end Status Flags fields */ { &hf_zbee_zcl_multistate_output_basic_priority_array_bool, { "Valid/Invalid", "zbee_zcl_general.multistate_output_basic.attr.priority_array.bool", FT_UINT8, BASE_HEX, VALS(zbee_zcl_multistate_output_basic_priority_array_bool_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_output_basic_priority_array_sing_prec, { "Priority Value", "zbee_zcl_general.multistate_output_basic.attr.priority_array.sing_prec", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } } , { &hf_zbee_zcl_multistate_output_basic_priority_array, { "Priority Array", "zbee_zcl_general.multistate_output_basic.priority_array", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_output_basic_structure, { "Structure", "zbee_zcl_general.multistate_output_basic.structure", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } } }; /* ZCL Multistate Output Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_multistate_output_basic, &ett_zbee_zcl_multistate_output_basic_status_flags, &ett_zbee_zcl_multistate_output_basic_priority_array, &ett_zbee_zcl_multistate_output_basic_priority_array_structure }; /* Register the ZigBee ZCL Multistate Output Basic cluster protocol name and description */ proto_zbee_zcl_multistate_output_basic = proto_register_protocol("ZigBee ZCL Multistate Output Basic", "ZCL Multistate Output Basic", ZBEE_PROTOABBREV_ZCL_MULTISTATE_OUTPUT_BASIC); proto_register_field_array(proto_zbee_zcl_multistate_output_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Multistate Output Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_MULTISTATE_OUTPUT_BASIC, dissect_zbee_zcl_multistate_output_basic, proto_zbee_zcl_multistate_output_basic); } /*proto_register_zbee_zcl_multistate_output_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_multistate_output_basic * DESCRIPTION * Hands off the ZCL Multistate Output Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_multistate_output_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_MULTISTATE_OUTPUT_BASIC, proto_zbee_zcl_multistate_output_basic, ett_zbee_zcl_multistate_output_basic, ZBEE_ZCL_CID_MULTISTATE_OUTPUT_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_multistate_output_basic_attr_id, hf_zbee_zcl_multistate_output_basic_attr_id, -1,-1, (zbee_zcl_fn_attr_data)dissect_zcl_multistate_output_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_multistate_output_basic*/ /* ########################################################################## */ /* #### (0x0014) MULTISTATE VALUE (BASIC) CLUSTER ########################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_STATE_TEXT 0x000E /* State Text */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_DESCRIPTION 0x001C /* Description */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_NUMBER_OF_STATES 0x004A /* Number of States */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_OUT_OF_SERVICE 0x0051 /* Out of Service */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_PRESENT_VALUE 0x0055 /* Present Value */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_PRIORITY_ARRAY 0x0057 /* Priority Array */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_RELIABILITY 0x0067 /* Reliability */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_RELINQUISH_DEFAULT 0x0068 /* Relinquish Default */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_STATUS_FLAGS 0x006F /* Status Flags */ #define ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_APPLICATION_TYPE 0x0100 /* Application Type */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_multistate_value_basic(void); void proto_reg_handoff_zbee_zcl_multistate_value_basic(void); /* Command Dissector Helpers */ static void dissect_zcl_multistate_value_basic_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_multistate_value_basic = -1; static int hf_zbee_zcl_multistate_value_basic_attr_id = -1; static int hf_zbee_zcl_multistate_value_basic_status_flags = -1; static int hf_zbee_zcl_multistate_value_basic_status_in_alarm = -1; static int hf_zbee_zcl_multistate_value_basic_status_fault = -1; static int hf_zbee_zcl_multistate_value_basic_status_overridden = -1; static int hf_zbee_zcl_multistate_value_basic_status_out_of_service = -1; static int hf_zbee_zcl_multistate_value_basic_reliability = -1; static int hf_zbee_zcl_multistate_value_basic_priority_array_bool = -1; static int hf_zbee_zcl_multistate_value_basic_priority_array_sing_prec = -1; static int hf_zbee_zcl_multistate_value_basic_priority_array = -1; static int hf_zbee_zcl_multistate_value_basic_structure = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_multistate_value_basic = -1; static gint ett_zbee_zcl_multistate_value_basic_status_flags = -1; static gint ett_zbee_zcl_multistate_value_basic_priority_array = -1; static gint ett_zbee_zcl_multistate_value_basic_priority_array_structure = -1; /* Attributes */ static const value_string zbee_zcl_multistate_value_basic_attr_names[] = { { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_STATE_TEXT, "State Text" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_DESCRIPTION, "Description" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_NUMBER_OF_STATES, "Number of States" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_OUT_OF_SERVICE, "Out of Service" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_PRESENT_VALUE, "Present Value" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_PRIORITY_ARRAY, "Priority Array" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_RELIABILITY, "Reliability" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_RELINQUISH_DEFAULT, "Relinquish Default" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_STATUS_FLAGS, "Status Flags" }, { ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_APPLICATION_TYPE, "Application Type" }, { 0, NULL } }; static const value_string zbee_zcl_multistate_value_basic_priority_array_bool_values[] = { { 0x01, "Valid" }, { 0x00, "Invalid" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_multistate_value_basic * DESCRIPTION * ZigBee ZCL Multistate Value Basic cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_multistate_value_basic(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_multistate_value_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_multistate_value_basic_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_multistate_value_basic_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { proto_item *ti = NULL, *tj = NULL; proto_tree *sub_tree = NULL, *sub = NULL; int i; static int * const status_flags[] = { &hf_zbee_zcl_multistate_value_basic_status_in_alarm, &hf_zbee_zcl_multistate_value_basic_status_fault, &hf_zbee_zcl_multistate_value_basic_status_overridden, &hf_zbee_zcl_multistate_value_basic_status_out_of_service, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_PRIORITY_ARRAY: ti = proto_tree_add_item(tree,hf_zbee_zcl_multistate_value_basic_priority_array, tvb, *offset, 80, ENC_NA); sub_tree = proto_item_add_subtree(ti, ett_zbee_zcl_multistate_value_basic_priority_array); for( i = 1; i <= 16; i++) { tj = proto_tree_add_item(sub_tree,hf_zbee_zcl_multistate_value_basic_structure, tvb, *offset, 5,ENC_NA); proto_item_append_text(tj," %d",i); sub = proto_item_add_subtree(tj, ett_zbee_zcl_multistate_value_basic_priority_array_structure); proto_tree_add_item(sub, hf_zbee_zcl_multistate_value_basic_priority_array_bool, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(sub, hf_zbee_zcl_multistate_value_basic_priority_array_sing_prec, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } break; case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_RELIABILITY: proto_tree_add_item(tree, hf_zbee_zcl_multistate_value_basic_reliability, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_STATUS_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_multistate_value_basic_status_flags, ett_zbee_zcl_multistate_value_basic_status_flags, status_flags, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_DESCRIPTION: case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_NUMBER_OF_STATES: case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_OUT_OF_SERVICE: case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_RELINQUISH_DEFAULT: case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_PRESENT_VALUE: case ZBEE_ZCL_ATTR_ID_MULTISTATE_VALUE_BASIC_APPLICATION_TYPE: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_multistate_value_basic_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_multistate_value_basic * DESCRIPTION * ZigBee ZCL Multistate Value Basic cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_multistate_value_basic(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_multistate_value_basic_attr_id, { "Attribute", "zbee_zcl_general.multistate_value_basic.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_multistate_value_basic_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_value_basic_reliability, { "Reliability", "zbee_zcl_general.multistate_value_basic.attr.reliability", FT_UINT8, BASE_HEX, VALS(zbee_zcl_reliability_names), 0x00, NULL, HFILL } }, /* start Status Flags fields */ { &hf_zbee_zcl_multistate_value_basic_status_flags, { "Status Flags", "zbee_zcl_general.multistate_value_basic.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_value_basic_status_in_alarm, { "In Alarm Status", "zbee_zcl_general.multistate_value_basic.attr.status.in_alarm", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_IN_ALARM, NULL, HFILL } }, { &hf_zbee_zcl_multistate_value_basic_status_fault, { "Fault Status", "zbee_zcl_general.multistate_value_basic.attr.status.fault", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_multistate_value_basic_status_overridden, { "Overridden Status", "zbee_zcl_general.multistate_value_basic.attr.status.overridden", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OVERRIDDEN, NULL, HFILL } }, { &hf_zbee_zcl_multistate_value_basic_status_out_of_service, { "Out of Service Status", "zbee_zcl_general.multistate_value_basic.attr.status.out_of_service", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_STATUS_OUT_OF_SERVICE, NULL, HFILL } }, /* end Status Flags fields */ { &hf_zbee_zcl_multistate_value_basic_priority_array_bool, { "Valid/Invalid", "zbee_zcl_general.multistate_value_basic.attr.priority_array.bool", FT_UINT8, BASE_HEX, VALS(zbee_zcl_multistate_value_basic_priority_array_bool_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_value_basic_priority_array_sing_prec, { "Priority Value", "zbee_zcl_general.multistate_value_basic.attr.priority_array.sing_prec", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_value_basic_priority_array, { "Priority Array", "zbee_zcl_general.multistate_value_basic.priority_array", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_multistate_value_basic_structure, { "Structure", "zbee_zcl_general.multistate_value_basic.structure", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } } }; /* ZCL Multistate Value Basic subtrees */ static gint *ett[] = { &ett_zbee_zcl_multistate_value_basic, &ett_zbee_zcl_multistate_value_basic_status_flags, &ett_zbee_zcl_multistate_value_basic_priority_array, &ett_zbee_zcl_multistate_value_basic_priority_array_structure }; /* Register the ZigBee ZCL Multistate Value Basic cluster protocol name and description */ proto_zbee_zcl_multistate_value_basic = proto_register_protocol("ZigBee ZCL Multistate Value Basic", "ZCL Multistate Value Basic", ZBEE_PROTOABBREV_ZCL_MULTISTATE_VALUE_BASIC); proto_register_field_array(proto_zbee_zcl_multistate_value_basic, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Multistate Value Basic dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_MULTISTATE_VALUE_BASIC, dissect_zbee_zcl_multistate_value_basic, proto_zbee_zcl_multistate_value_basic); } /*proto_register_zbee_zcl_multistate_value_basic*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_multistate_value_basic * DESCRIPTION * Hands off the ZCL Multistate Value Basic dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_multistate_value_basic(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_MULTISTATE_VALUE_BASIC, proto_zbee_zcl_multistate_value_basic, ett_zbee_zcl_multistate_value_basic, ZBEE_ZCL_CID_MULTISTATE_VALUE_BASIC, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_multistate_value_basic_attr_id, hf_zbee_zcl_multistate_value_basic_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_multistate_value_basic_attr_data ); } /*proto_reg_handoff_zbee_zcl_multistate_value_basic*/ /* ########################################################################## */ /* #### (0x0015) COMMISSIONING CLUSTER ###################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_SHORT_ADDRESS 0x0000 /* Short Address */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_EXTENDED_PAN_ID 0x0001 /* Extended PAN Id */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_PAN_ID 0x0002 /* PAN Id */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_CHANNEL_MASK 0x0003 /* Channel Mask */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_PROTOCOL_VERSION 0x0004 /* Protocol Version */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_STACK_PROFILE 0x0005 /* Stack Profile */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_STARTUP_CONTROL 0x0006 /* Startup Control */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_TRUST_CENTER_ADDRESS 0x0010 /* Trust Center Address */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_TRUST_CENTER_MASTER_KEY 0x0011 /* Trust Center Master Key */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY 0x0012 /* Network Key */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_USE_INSECURE_JOIN 0x0013 /* Use Insecure Join */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_PRECONFIGURED_LINK_KEY 0x0014 /* Preconfigured Link Key */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY_SEQ_NUM 0x0015 /* Network Key Sequence Number */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY_TYPE 0x0016 /* Network Key Type */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_MANAGER_ADDRESS 0x0017 /* Network Manager Address */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_SCAN_ATTEMPTS 0x0020 /* Scan Attempts */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_TIME_BETWEEN_SCANS 0x0021 /* Time Between Scans */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_REJOIN_INTERVAL 0x0022 /* Rejoin Interval */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_MAX_REJOIN_INTERVAL 0x0023 /* Max Rejoin Interval */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_INDIRECT_POLL_RATE 0x0030 /* Indirect Poll Rate */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_PARENT_RETRY_THRESHOLD 0x0031 /* Parent Retry Threshold */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_FLAG 0x0040 /* Concentrator Flag */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_RADIUS 0x0041 /* Concentrator Radius */ #define ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_DISCOVERY_TIME 0x0042 /* Concentrator Discovery Time */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTART_DEVICE 0x00 /* Restart Device */ #define ZBEE_ZCL_CMD_ID_COMMISSIONING_SAVE_STARTUP_PARAMETERS 0x01 /* Save Startup Parameters */ #define ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTORE_STARTUP_PARAMETERS 0x02 /* Restore Startup Parameters */ #define ZBEE_ZCL_CMD_ID_COMMISSIONING_RESET_STARTUP_PARAMETERS 0x03 /* Reset Startup Parameters */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTART_DEVICE_RESPONSE 0x00 /* Restart Device Response */ #define ZBEE_ZCL_CMD_ID_COMMISSIONING_SAVE_STARTUP_PARAMETERS_RESPONSE 0x01 /* Save Startup Parameters Response */ #define ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTORE_STARTUP_PARAMETERS_RESPONSE 0x02 /* Restore Startup Parameters Response */ #define ZBEE_ZCL_CMD_ID_COMMISSIONING_RESET_STARTUP_PARAMETERS_RESPONSE 0x03 /* Reset Startup Parameters Response */ /* Restart Device Options Field Mask Values */ #define ZBEE_ZCL_COMMISSIONING_RESTART_DEVICE_OPTIONS_STARTUP_MODE 0x07 #define ZBEE_ZCL_COMMISSIONING_RESTART_DEVICE_OPTIONS_IMMEDIATE 0x08 #define ZBEE_ZCL_COMMISSIONING_RESTART_DEVICE_OPTIONS_RESERVED 0xF0 /* Reset Startup Parameters Options Field Mask Values */ #define ZBEE_ZCL_COMMISSIONING_RESET_STARTUP_OPTIONS_RESET_CURRENT 0x01 #define ZBEE_ZCL_COMMISSIONING_RESET_STARTUP_OPTIONS_RESET_ALL 0x02 #define ZBEE_ZCL_COMMISSIONING_RESET_STARTUP_OPTIONS_ERASE_INDEX 0x04 #define ZBEE_ZCL_COMMISSIONING_RESET_STARTUP_OPTIONS_RESERVED 0xFC /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_commissioning(void); void proto_reg_handoff_zbee_zcl_commissioning(void); /* Command Dissector Helpers */ static void dissect_zcl_commissioning_restart_device (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_commissioning_save_restore_startup_parameters (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_commissioning_reset_startup_parameters (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_commissioning_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_commissioning_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_commissioning = -1; static int hf_zbee_zcl_commissioning_attr_id = -1; static int hf_zbee_zcl_commissioning_attr_stack_profile = -1; static int hf_zbee_zcl_commissioning_attr_startup_control = -1; static int hf_zbee_zcl_commissioning_restart_device_options = -1; static int hf_zbee_zcl_commissioning_restart_device_options_startup_mode = -1; static int hf_zbee_zcl_commissioning_restart_device_options_immediate = -1; static int hf_zbee_zcl_commissioning_restart_device_options_reserved = -1; static int hf_zbee_zcl_commissioning_delay = -1; static int hf_zbee_zcl_commissioning_jitter = -1; static int hf_zbee_zcl_commissioning_options = -1; static int hf_zbee_zcl_commissioning_index = -1; static int hf_zbee_zcl_commissioning_reset_startup_options = -1; static int hf_zbee_zcl_commissioning_reset_startup_options_reset_current = -1; static int hf_zbee_zcl_commissioning_reset_startup_options_reset_all = -1; static int hf_zbee_zcl_commissioning_reset_startup_options_erase_index = -1; static int hf_zbee_zcl_commissioning_reset_startup_options_reserved = -1; static int hf_zbee_zcl_commissioning_status = -1; static int hf_zbee_zcl_commissioning_srv_rx_cmd_id = -1; static int hf_zbee_zcl_commissioning_srv_tx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_commissioning = -1; static gint ett_zbee_zcl_commissioning_restart_device_options = -1; static gint ett_zbee_zcl_commissioning_reset_startup_options = -1; /* Attributes */ static const value_string zbee_zcl_commissioning_attr_names[] = { { ZBEE_ZCL_ATTR_ID_COMMISSIONING_SHORT_ADDRESS, "Short Address" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_EXTENDED_PAN_ID, "Extended PAN Id" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_PAN_ID, "PAN Id" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_CHANNEL_MASK, "Channel Mask" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_PROTOCOL_VERSION, "Protocol Version" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_STACK_PROFILE, "Stack Profile" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_STARTUP_CONTROL, "Startup Control" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_TRUST_CENTER_ADDRESS, "Trust Center Address" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_TRUST_CENTER_MASTER_KEY, "Trust Center Master Key" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY, "Network Key" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_USE_INSECURE_JOIN, "Use Insecure Join" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_PRECONFIGURED_LINK_KEY, "Preconfigured Link Key" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY_SEQ_NUM, "Network Key Sequence Number" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY_TYPE, "Network Key Type" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_MANAGER_ADDRESS, "Network Manager Address" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_SCAN_ATTEMPTS, "Scan Attempts" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_TIME_BETWEEN_SCANS, "Time Between Scans" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_REJOIN_INTERVAL, "Rejoin Interval" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_MAX_REJOIN_INTERVAL, "Max Rejoin Interval" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_INDIRECT_POLL_RATE, "Indirect Poll Rate" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_PARENT_RETRY_THRESHOLD, "Parent Retry Threshold" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_FLAG, "Concentrator Flag" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_RADIUS, "Concentrator Radius" }, { ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_DISCOVERY_TIME, "Concentrator Discovery Time" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_commissioning_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTART_DEVICE, "Commissioning" }, { ZBEE_ZCL_CMD_ID_COMMISSIONING_SAVE_STARTUP_PARAMETERS, "Commissioning" }, { ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTORE_STARTUP_PARAMETERS, "Commissioning" }, { ZBEE_ZCL_CMD_ID_COMMISSIONING_RESET_STARTUP_PARAMETERS, "Commissioning" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_commissioning_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTART_DEVICE_RESPONSE, "Commissioning" }, { ZBEE_ZCL_CMD_ID_COMMISSIONING_SAVE_STARTUP_PARAMETERS_RESPONSE, "Commissioning" }, { ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTORE_STARTUP_PARAMETERS_RESPONSE, "Commissioning" }, { ZBEE_ZCL_CMD_ID_COMMISSIONING_RESET_STARTUP_PARAMETERS_RESPONSE, "Commissioning" }, { 0, NULL } }; static const value_string zbee_zcl_commissioning_stack_profile_values[] = { {0x01, "ZigBee Stack Profile"}, {0x02, "ZigBee PRO Stack Profile"}, {0, NULL} }; static const value_string zbee_zcl_commissioning_startup_control_values[] = { {0x00, "Device is part of the network indicated by the Extended PAN Id"}, {0x01, "Device should form a network with the Extended PAN Id"}, {0x02, "Device should rejoin the network with Extended PAN Id"}, {0x03, "Device should join the network using MAC Association"}, {0, NULL} }; static const value_string zbee_zcl_commissioning_startup_mode_values[] ={ {0, "Restart Device using current set of startup parameters"}, {1, "Restart Device using current set of stack attributes"}, {0, NULL} }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_commissioning * DESCRIPTION * ZigBee ZCL Commissioning cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * none *--------------------------------------------------------------- */ static int dissect_zbee_zcl_commissioning(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_commissioning_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_commissioning_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_commissioning, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTART_DEVICE: dissect_zcl_commissioning_restart_device(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COMMISSIONING_RESET_STARTUP_PARAMETERS: dissect_zcl_commissioning_reset_startup_parameters(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COMMISSIONING_SAVE_STARTUP_PARAMETERS: case ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTORE_STARTUP_PARAMETERS: dissect_zcl_commissioning_save_restore_startup_parameters(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_commissioning_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_commissioning_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_commissioning, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTART_DEVICE_RESPONSE: case ZBEE_ZCL_CMD_ID_COMMISSIONING_SAVE_STARTUP_PARAMETERS_RESPONSE: case ZBEE_ZCL_CMD_ID_COMMISSIONING_RESTORE_STARTUP_PARAMETERS_RESPONSE: case ZBEE_ZCL_CMD_ID_COMMISSIONING_RESET_STARTUP_PARAMETERS_RESPONSE: dissect_zcl_commissioning_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_commissioning*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_commissioning_restart_device * DESCRIPTION * this function decodes the Restart Device payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_commissioning_restart_device(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const restart_device_mask[] = { &hf_zbee_zcl_commissioning_restart_device_options_startup_mode, &hf_zbee_zcl_commissioning_restart_device_options_immediate, &hf_zbee_zcl_commissioning_restart_device_options_reserved, NULL }; /* Retrieve "Options" field */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_commissioning_restart_device_options, ett_zbee_zcl_commissioning_restart_device_options, restart_device_mask, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Delay" field */ proto_tree_add_item(tree, hf_zbee_zcl_commissioning_delay, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Jitter" field */ proto_tree_add_item(tree, hf_zbee_zcl_commissioning_jitter, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_commissioning_restart_device*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_commissioning_save_restore_startup_parameters * DESCRIPTION * this function decodes the Save and Restore payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_commissioning_save_restore_startup_parameters(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Options" field */ proto_tree_add_item(tree, hf_zbee_zcl_commissioning_options, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Index" field */ proto_tree_add_item(tree, hf_zbee_zcl_commissioning_index, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_commissioning_save_restore_startup_parameters*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_commissioning_reset_startup_parameters * DESCRIPTION * this function decodes the Reset Startup Parameters payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_commissioning_reset_startup_parameters(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const reset_startup_mask[] = { &hf_zbee_zcl_commissioning_reset_startup_options_reset_current, &hf_zbee_zcl_commissioning_reset_startup_options_reset_all, &hf_zbee_zcl_commissioning_reset_startup_options_erase_index, &hf_zbee_zcl_commissioning_reset_startup_options_reserved, NULL }; /* Retrieve "Options" field */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_commissioning_reset_startup_options, ett_zbee_zcl_commissioning_reset_startup_options, reset_startup_mask, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Index" field */ proto_tree_add_item(tree, hf_zbee_zcl_commissioning_index, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_commissioning_reset_startup_parameters*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_commissioning_response * DESCRIPTION * this function decodes the Response payload. * PARAMETERS * tvb - the tv buffer of the current data_type * tree - the tree to append this item to * offset - offset of data in tvb * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_commissioning_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Status" field */ proto_tree_add_item(tree, hf_zbee_zcl_commissioning_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_commissioning_response*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_commissioning_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ void dissect_zcl_commissioning_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_COMMISSIONING_STACK_PROFILE: proto_tree_add_item(tree, hf_zbee_zcl_commissioning_attr_stack_profile, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COMMISSIONING_STARTUP_CONTROL: proto_tree_add_item(tree, hf_zbee_zcl_commissioning_attr_startup_control, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COMMISSIONING_SHORT_ADDRESS: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_EXTENDED_PAN_ID: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_PAN_ID: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_CHANNEL_MASK: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_PROTOCOL_VERSION: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_TRUST_CENTER_ADDRESS: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_TRUST_CENTER_MASTER_KEY: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_USE_INSECURE_JOIN: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_PRECONFIGURED_LINK_KEY: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY_SEQ_NUM: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_KEY_TYPE: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_NETWORK_MANAGER_ADDRESS: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_SCAN_ATTEMPTS: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_TIME_BETWEEN_SCANS: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_REJOIN_INTERVAL: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_MAX_REJOIN_INTERVAL: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_INDIRECT_POLL_RATE: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_PARENT_RETRY_THRESHOLD: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_FLAG: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_RADIUS: case ZBEE_ZCL_ATTR_ID_COMMISSIONING_CONCENTRATOR_DISCOVERY_TIME: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_commissioning_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_commissioning * DESCRIPTION * ZigBee ZCL Commissioning cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_commissioning(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_commissioning_attr_id, { "Attribute", "zbee_zcl_general.commissioning.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_commissioning_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_attr_stack_profile, { "Stack Profile", "zbee_zcl_general.commissioning.attr.stack_profile", FT_UINT8, BASE_HEX, VALS(zbee_zcl_commissioning_stack_profile_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_attr_startup_control, { "Startup Control", "zbee_zcl_general.commissioning.attr.startup_control", FT_UINT8, BASE_HEX, VALS(zbee_zcl_commissioning_startup_control_values), 0x00, NULL, HFILL } }, /* start Restart Device Options fields */ { &hf_zbee_zcl_commissioning_restart_device_options, { "Restart Device Options", "zbee_zcl_general.commissioning.restart_device_options", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_restart_device_options_startup_mode, { "Startup Mode", "zbee_zcl_general.commissioning.restart_device_options.startup_mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_commissioning_startup_mode_values), ZBEE_ZCL_COMMISSIONING_RESTART_DEVICE_OPTIONS_STARTUP_MODE, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_restart_device_options_immediate, { "Immediate", "zbee_zcl_general.commissioning.restart_device_options.immediate", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_COMMISSIONING_RESTART_DEVICE_OPTIONS_IMMEDIATE, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_restart_device_options_reserved, { "Reserved", "zbee_zcl_general.commissioning.restart_device_options.reserved", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_COMMISSIONING_RESTART_DEVICE_OPTIONS_RESERVED, NULL, HFILL } }, /* end Restart Device Options fields */ { &hf_zbee_zcl_commissioning_delay, { "Delay", "zbee_zcl_general.commissioning.delay", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_jitter, { "Jitter", "zbee_zcl_general.commissioning.jitter", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_options, { "Options (Reserved)", "zbee_zcl_general.commissioning.options", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_index, { "Index", "zbee_zcl_general.commissioning.index", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, /* start Reset Startup Options fields */ { &hf_zbee_zcl_commissioning_reset_startup_options, { "Reset Startup Options", "zbee_zcl_general.commissioning.reset_startup_options", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_reset_startup_options_reset_current, { "Reset Current", "zbee_zcl_general.commissioning.reset_startup_options.current", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_COMMISSIONING_RESET_STARTUP_OPTIONS_RESET_CURRENT, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_reset_startup_options_reset_all, { "Reset All", "zbee_zcl_general.commissioning.reset_startup_options.reset_all", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_COMMISSIONING_RESET_STARTUP_OPTIONS_RESET_ALL, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_reset_startup_options_erase_index, { "Erase Index", "zbee_zcl_general.commissioning.reset_startup_options.erase_index", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_COMMISSIONING_RESET_STARTUP_OPTIONS_ERASE_INDEX, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_reset_startup_options_reserved, { "Reserved", "zbee_zcl_general.commissioning.reset_startup_options.reserved", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_COMMISSIONING_RESET_STARTUP_OPTIONS_RESERVED, NULL, HFILL } }, /* end Reset Startup Options fields */ { &hf_zbee_zcl_commissioning_status, { "Status", "zbee_zcl_general.commissioning.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_status_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_srv_rx_cmd_id, { "Command", "zbee_zcl_general.commissioning.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_commissioning_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_commissioning_srv_tx_cmd_id, { "Command", "zbee_zcl_general.commissioning.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_commissioning_srv_tx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Commissioning subtrees */ static gint *ett[] = { &ett_zbee_zcl_commissioning, &ett_zbee_zcl_commissioning_restart_device_options, &ett_zbee_zcl_commissioning_reset_startup_options }; /* Register the ZigBee ZCL Commissioning cluster protocol name and description */ proto_zbee_zcl_commissioning = proto_register_protocol("ZigBee ZCL Commissioning", "ZCL Commissioning", ZBEE_PROTOABBREV_ZCL_COMMISSIONING); proto_register_field_array(proto_zbee_zcl_commissioning, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Commissioning dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_COMMISSIONING, dissect_zbee_zcl_commissioning, proto_zbee_zcl_commissioning); } /*proto_register_zbee_zcl_commissioning*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_commissioning * DESCRIPTION * Hands off the ZCL Commissioning dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_commissioning(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_COMMISSIONING, proto_zbee_zcl_commissioning, ett_zbee_zcl_commissioning, ZBEE_ZCL_CID_COMMISSIONING, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_commissioning_attr_id, hf_zbee_zcl_commissioning_attr_id, hf_zbee_zcl_commissioning_srv_rx_cmd_id, hf_zbee_zcl_commissioning_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_commissioning_attr_data ); } /*proto_reg_handoff_zbee_zcl_commissioning*/ /* ########################################################################## */ /* #### (0x0016) PARTITION ################################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_PART_NUM_GENERIC_ETT 3 #define ZBEE_ZCL_PART_NUM_NACK_ID_ETT 16 #define ZBEE_ZCL_PART_NUM_ATTRS_ID_ETT 16 #define ZBEE_ZCL_PART_NUM_ETT (ZBEE_ZCL_PART_NUM_GENERIC_ETT + \ ZBEE_ZCL_PART_NUM_NACK_ID_ETT + \ ZBEE_ZCL_PART_NUM_ATTRS_ID_ETT) #define ZBEE_ZCL_PART_OPT_1_BLOCK 0x01 #define ZBEE_ZCL_PART_OPT_INDIC_LEN 0x02 #define ZBEE_ZCL_PART_OPT_RESERVED 0xc0 #define ZBEE_ZCL_PART_ACK_OPT_NACK_LEN 0x01 #define ZBEE_ZCL_PART_ACK_OPT_RESERVED 0xFE /* Attributes */ #define ZBEE_ZCL_ATTR_ID_PART_MAX_IN_TRANSF_SIZE 0x0000 /* Maximum Incoming Transfer Size */ #define ZBEE_ZCL_ATTR_ID_PART_MAX_OUT_TRANSF_SIZE 0x0001 /* Maximum Outgoing Transfer Size */ #define ZBEE_ZCL_ATTR_ID_PART_PARTITIONED_FRAME_SIZE 0x0002 /* Partitioned Frame Size */ #define ZBEE_ZCL_ATTR_ID_PART_LARGE_FRAME_SIZE 0x0003 /* Large Frame Size */ #define ZBEE_ZCL_ATTR_ID_PART_ACK_FRAME_NUM 0x0004 /* Number of Ack Frame*/ #define ZBEE_ZCL_ATTR_ID_PART_NACK_TIMEOUT 0x0005 /* Nack Timeout */ #define ZBEE_ZCL_ATTR_ID_PART_INTERFRAME_DELEAY 0x0006 /* Interframe Delay */ #define ZBEE_ZCL_ATTR_ID_PART_SEND_RETRIES_NUM 0x0007 /* Number of Send Retries */ #define ZBEE_ZCL_ATTR_ID_PART_SENDER_TIMEOUT 0x0008 /* Sender Timeout */ #define ZBEE_ZCL_ATTR_ID_PART_RECEIVER_TIMEOUT 0x0009 /* Receiver Timeout */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_PART_TRANSF_PART_FRAME 0x00 /* Transfer Partitioned Frame */ #define ZBEE_ZCL_CMD_ID_PART_RD_HANDSHAKE_PARAM 0x01 /* Read Handshake Param */ #define ZBEE_ZCL_CMD_ID_PART_WR_HANDSHAKE_PARAM 0x02 /* Write Handshake Param */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_PART_MULTI_ACK 0x00 /* Multiple Ack */ #define ZBEE_ZCL_CMD_ID_PART_RD_HANDSHAKE_PARAM_RSP 0x01 /* Read Handshake Param Response */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_part(void); void proto_reg_handoff_zbee_zcl_part(void); /* Command Dissector Helpers */ static void dissect_zcl_part_trasfpartframe (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_part_rdhandshakeparam (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, gboolean direction); static void dissect_zcl_part_wrhandshakeparam (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, gboolean direction); static void dissect_zcl_part_multiack (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_part_rdhandshakeparamrsp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, gboolean direction); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_part = -1; static int hf_zbee_zcl_part_attr_id = -1; static int hf_zbee_zcl_part_srv_tx_cmd_id = -1; static int hf_zbee_zcl_part_srv_rx_cmd_id = -1; static int hf_zbee_zcl_part_opt = -1; static int hf_zbee_zcl_part_opt_first_block = -1; static int hf_zbee_zcl_part_opt_indic_len = -1; static int hf_zbee_zcl_part_opt_res = -1; static int hf_zbee_zcl_part_first_frame_id = -1; static int hf_zbee_zcl_part_part_indicator = -1; static int hf_zbee_zcl_part_part_frame = -1; static int hf_zbee_zcl_part_partitioned_cluster_id = -1; static int hf_zbee_zcl_part_ack_opt = -1; static int hf_zbee_zcl_part_ack_opt_nack_id_len = -1; static int hf_zbee_zcl_part_ack_opt_res = -1; static int hf_zbee_zcl_part_nack_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_part = -1; static gint ett_zbee_zcl_part_fragm_options = -1; static gint ett_zbee_zcl_part_ack_opts = -1; static gint ett_zbee_zcl_part_nack_id_list[ZBEE_ZCL_PART_NUM_NACK_ID_ETT]; static gint ett_zbee_zcl_part_attrs_id_list[ZBEE_ZCL_PART_NUM_ATTRS_ID_ETT]; /* Attributes */ static const value_string zbee_zcl_part_attr_names[] = { { ZBEE_ZCL_ATTR_ID_PART_MAX_IN_TRANSF_SIZE, "Maximum Incoming Transfer Size" }, { ZBEE_ZCL_ATTR_ID_PART_MAX_OUT_TRANSF_SIZE, "Maximum Outgoing Transfer Size" }, { ZBEE_ZCL_ATTR_ID_PART_PARTITIONED_FRAME_SIZE, "Partitioned Frame Size" }, { ZBEE_ZCL_ATTR_ID_PART_LARGE_FRAME_SIZE, "Large Frame Size" }, { ZBEE_ZCL_ATTR_ID_PART_ACK_FRAME_NUM, "Number of Ack Frame" }, { ZBEE_ZCL_ATTR_ID_PART_NACK_TIMEOUT, "Nack Timeout" }, { ZBEE_ZCL_ATTR_ID_PART_INTERFRAME_DELEAY, "Interframe Delay" }, { ZBEE_ZCL_ATTR_ID_PART_SEND_RETRIES_NUM, "Number of Send Retries" }, { ZBEE_ZCL_ATTR_ID_PART_SENDER_TIMEOUT, "Sender Timeout" }, { ZBEE_ZCL_ATTR_ID_PART_RECEIVER_TIMEOUT, "Receiver Timeout" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_part_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_PART_TRANSF_PART_FRAME, "Transfer Partitioned Frame" }, { ZBEE_ZCL_CMD_ID_PART_RD_HANDSHAKE_PARAM, "Read Handshake Param" }, { ZBEE_ZCL_CMD_ID_PART_WR_HANDSHAKE_PARAM, "Write Handshake Param" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_part_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_PART_MULTI_ACK, "Multiple Ack" }, { ZBEE_ZCL_CMD_ID_PART_RD_HANDSHAKE_PARAM_RSP, "Read Handshake Param Response" }, { 0, NULL } }; /* ID Length */ static const value_string zbee_zcl_part_id_length_names[] = { { 0, "1-Byte length" }, { 1, "2-Bytes length" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_part * DESCRIPTION * ZigBee ZCL Partition cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * void *data - pointer to ZCL packet structure. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_part(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_part_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_part_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_part, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_PART_TRANSF_PART_FRAME: dissect_zcl_part_trasfpartframe(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PART_RD_HANDSHAKE_PARAM: dissect_zcl_part_rdhandshakeparam(tvb, pinfo, payload_tree, &offset, zcl->direction); break; case ZBEE_ZCL_CMD_ID_PART_WR_HANDSHAKE_PARAM: dissect_zcl_part_wrhandshakeparam(tvb, pinfo, payload_tree, &offset, zcl->direction); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_part_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_part_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_part, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_PART_MULTI_ACK: dissect_zcl_part_multiack(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PART_RD_HANDSHAKE_PARAM_RSP: dissect_zcl_part_rdhandshakeparamrsp(tvb, pinfo, payload_tree, &offset, zcl->direction); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_part*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_part_trasfpartframe * DESCRIPTION * This function manages the Transfer Partition Frame payload * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * offset - pointer of buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_part_trasfpartframe(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 options; gint frame_len; static int * const part_opt[] = { &hf_zbee_zcl_part_opt_first_block, &hf_zbee_zcl_part_opt_indic_len, &hf_zbee_zcl_part_opt_res, NULL }; /* Retrieve "Fragmentation Options" field */ options = tvb_get_guint8(tvb, *offset); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_part_opt, ett_zbee_zcl_part_fragm_options, part_opt, ENC_NA); *offset += 1; /* Retrieve "PartitionIndicator" field */ if ((options & ZBEE_ZCL_PART_OPT_INDIC_LEN) == 0) { /* 1-byte length */ proto_tree_add_item(tree, hf_zbee_zcl_part_part_indicator, tvb, *offset, 1, ENC_NA); *offset += 1; } else { /* 2-bytes length */ proto_tree_add_item(tree, hf_zbee_zcl_part_part_indicator, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /* Retrieve "PartitionedFrame" field */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_part_part_frame, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &frame_len); *offset += frame_len; } /*dissect_zcl_part_trasfpartframe*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_part_rdhandshakeparam * DESCRIPTION * This function manages the ReadHandshakeParam payload * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * offset - offset * direction - ZCL direction * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_part_rdhandshakeparam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, gboolean direction) { /* Retrieve "Partitioned Cluster ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_part_partitioned_cluster_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Dissect the attribute id list */ dissect_zcl_read_attr(tvb, pinfo, tree, offset, ZBEE_ZCL_CID_PARTITION, ZBEE_MFG_CODE_NONE, direction); } /*dissect_zcl_part_rdhandshakeparam*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_part_wrhandshakeparam * DESCRIPTION * This function manages the WriteAndShakeParam payload * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * offset - offset * direction - ZCL direction * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_part_wrhandshakeparam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, gboolean direction) { /* Retrieve "Partitioned Cluster ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_part_partitioned_cluster_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Dissect the attributes list */ dissect_zcl_write_attr(tvb, pinfo, tree, offset, ZBEE_ZCL_CID_PARTITION, ZBEE_MFG_CODE_NONE, direction); } /*dissect_zcl_part_wrhandshakeparam*/ /* Management of Cluster specific commands sent by the server */ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_part_multiack * DESCRIPTION * This function manages the MultipleACK payload * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo, - * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * offset - offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_part_multiack(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint tvb_len = tvb_reported_length(tvb); guint i = 0; guint8 options; static int * const ack_opts[] = { &hf_zbee_zcl_part_ack_opt_nack_id_len, &hf_zbee_zcl_part_ack_opt_res, NULL }; /* Retrieve "Ack Options" field */ options = tvb_get_guint8(tvb, *offset); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_part_ack_opt, ett_zbee_zcl_part_ack_opts, ack_opts, ENC_NA); *offset += 1; /* Retrieve "First Frame ID" field */ if ((options & ZBEE_ZCL_PART_ACK_OPT_NACK_LEN) == 0) { /* 1-byte length */ proto_tree_add_item(tree, hf_zbee_zcl_part_first_frame_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } else { /* 2-bytes length */ proto_tree_add_item(tree, hf_zbee_zcl_part_first_frame_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /* Dissect the nack id list */ while ( *offset < tvb_len && i < ZBEE_ZCL_PART_NUM_NACK_ID_ETT ) { if ((options & ZBEE_ZCL_PART_ACK_OPT_NACK_LEN) == 0) { /* 1-byte length */ proto_tree_add_item(tree, hf_zbee_zcl_part_nack_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } else { /* 2-bytes length */ proto_tree_add_item(tree, hf_zbee_zcl_part_nack_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } i++; } } /*dissect_zcl_part_multiack*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_part_rdhandshakeparamrsp * DESCRIPTION * This function manages the ReadHandshakeParamResponse payload * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * offset - offset * direction - ZCL direction * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_part_rdhandshakeparamrsp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, gboolean direction) { /* Retrieve "Partitioned Cluster ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_part_partitioned_cluster_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Dissect the attributes list */ dissect_zcl_read_attr_resp(tvb, pinfo, tree, offset, ZBEE_ZCL_CID_PARTITION, ZBEE_MFG_CODE_NONE, direction); } /*dissect_zcl_part_rdhandshakeparamrsp*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_part * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_part(void) { guint8 i, j; static hf_register_info hf[] = { { &hf_zbee_zcl_part_attr_id, { "Attribute", "zbee_zcl_general.part.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_part_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_part_srv_tx_cmd_id, { "Command", "zbee_zcl_general.part.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_part_srv_tx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_part_srv_rx_cmd_id, { "Command", "zbee_zcl_general.part.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_part_srv_rx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_part_opt, { "Fragmentation Options", "zbee_zcl_general.part.opt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_part_opt_first_block, { "First Block", "zbee_zcl_general.part.opt.first_block", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_PART_OPT_1_BLOCK, NULL, HFILL } }, { &hf_zbee_zcl_part_opt_indic_len, { "Indicator length", "zbee_zcl_general.part.opt.indic_len", FT_UINT8, BASE_DEC, VALS(zbee_zcl_part_id_length_names), ZBEE_ZCL_PART_OPT_INDIC_LEN, NULL, HFILL } }, { &hf_zbee_zcl_part_opt_res, { "Reserved", "zbee_zcl_general.part.opt.res", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_PART_OPT_RESERVED, NULL, HFILL } }, { &hf_zbee_zcl_part_first_frame_id, { "First Frame ID", "zbee_zcl_general.part.first_frame_id", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_part_part_indicator, { "Partition Indicator", "zbee_zcl_general.part.part_indicator", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_part_part_frame, { "Partition Frame", "zbee_zcl_general.part.part_frame", FT_UINT_BYTES, SEP_COLON, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_part_partitioned_cluster_id, { "Partitioned Cluster ID", "zbee_zcl_general.part.part_cluster_id", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_cid_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_part_ack_opt, { "Ack Options", "zbee_zcl_general.ack_opt.part", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_part_ack_opt_nack_id_len, { "Nack Id Length", "zbee_zcl_general.ack_opt.part.nack_id.len", FT_UINT8, BASE_HEX, VALS(zbee_zcl_part_id_length_names), ZBEE_ZCL_PART_ACK_OPT_NACK_LEN, NULL, HFILL } }, { &hf_zbee_zcl_part_ack_opt_res, { "Reserved", "zbee_zcl_general.part.ack_opt.reserved", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_PART_ACK_OPT_RESERVED, NULL, HFILL } }, { &hf_zbee_zcl_part_nack_id, { "Nack Id", "zbee_zcl_general.part.nack_id", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } } }; /* ZCL Partition subtrees */ gint *ett[ZBEE_ZCL_PART_NUM_ETT] = { &ett_zbee_zcl_part, &ett_zbee_zcl_part_fragm_options, &ett_zbee_zcl_part_ack_opts }; /* initialize attribute subtree types */ for ( i = 0, j = ZBEE_ZCL_PART_NUM_GENERIC_ETT; i < ZBEE_ZCL_PART_NUM_NACK_ID_ETT; i++, j++) { ett_zbee_zcl_part_nack_id_list[i] = -1; ett[j] = &ett_zbee_zcl_part_nack_id_list[i]; } for ( i = 0; i < ZBEE_ZCL_PART_NUM_ATTRS_ID_ETT; i++, j++) { ett_zbee_zcl_part_attrs_id_list[i] = -1; ett[j] = &ett_zbee_zcl_part_attrs_id_list[i]; } /* Register ZigBee ZCL Partition protocol with Wireshark. */ proto_zbee_zcl_part = proto_register_protocol("ZigBee ZCL Partition", "ZCL Partition", ZBEE_PROTOABBREV_ZCL_PART); proto_register_field_array(proto_zbee_zcl_part, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Partition dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_PART, dissect_zbee_zcl_part, proto_zbee_zcl_part); } /* proto_register_zbee_zcl_part */ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_part * DESCRIPTION * Registers the zigbee ZCL Partition cluster dissector with Wireshark. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_part(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_PART, proto_zbee_zcl_part, ett_zbee_zcl_part, ZBEE_ZCL_CID_PARTITION, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_part_attr_id, hf_zbee_zcl_part_attr_id, hf_zbee_zcl_part_srv_rx_cmd_id, hf_zbee_zcl_part_srv_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_part*/ /* ########################################################################## */ /* #### (0x0019) OTA UPGRADE CLUSTER ######################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_OTA_UPGRADE_SERVER_ID 0x0000 /* Upgrade Server ID */ #define ZBEE_ZCL_ATTR_ID_OTA_FILE_OFFSET 0x0001 /* File Offset */ #define ZBEE_ZCL_ATTR_ID_OTA_CURRENT_FILE_VERSION 0x0002 /* Current File Version */ #define ZBEE_ZCL_ATTR_ID_OTA_CURRENT_ZB_STACK_VERSION 0x0003 /* Current ZigBee Stack Version */ #define ZBEE_ZCL_ATTR_ID_OTA_DOWNLOADED_FILE_VERSION 0x0004 /* Downloaded File Version */ #define ZBEE_ZCL_ATTR_ID_OTA_DOWNLOADED_ZB_STACK_VERSION 0x0005 /* Downloaded ZigBee Stack Version */ #define ZBEE_ZCL_ATTR_ID_OTA_IMAGE_UPGRADE_STATUS 0x0006 /* Image Upgrade Status */ #define ZBEE_ZCL_ATTR_ID_OTA_MANUFACTURER_ID 0x0007 /* Manufacturer ID */ #define ZBEE_ZCL_ATTR_ID_OTA_IMAGE_TYPE_ID 0x0008 /* Image Type ID */ #define ZBEE_ZCL_ATTR_ID_OTA_MIN_BLOCK_REQ_DELAY 0x0009 /* Minimum Block Request Delay */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_OTA_IMAGE_NOTIFY 0x00 /* Image Notify */ #define ZBEE_ZCL_CMD_ID_OTA_QUERY_NEXT_IMAGE_RSP 0x02 /* Query Next Image Response */ #define ZBEE_ZCL_CMD_ID_OTA_IMAGE_BLOCK_RSP 0x05 /* Image Block Response */ #define ZBEE_ZCL_CMD_ID_OTA_UPGRADE_END_RSP 0x07 /* Upgrade End Response */ #define ZBEE_ZCL_CMD_ID_OTA_QUERY_SPEC_FILE_RSP 0x09 /* Query Specific File Response */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_OTA_QUERY_NEXT_IMAGE_REQ 0x01 /* Query Next Image Request */ #define ZBEE_ZCL_CMD_ID_OTA_IMAGE_BLOCK_REQ 0x03 /* Image Block Request */ #define ZBEE_ZCL_CMD_ID_OTA_IMAGE_PAGE_REQ 0x04 /* Image Page Request */ #define ZBEE_ZCL_CMD_ID_OTA_UPGRADE_END_REQ 0x06 /* Upgrade End Request */ #define ZBEE_ZCL_CMD_ID_OTA_QUERY_SPEC_FILE_REQ 0x08 /* Query Specific File Request */ /* Payload Type */ #define ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ 0x00 /* Query Jitter */ #define ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC 0x01 /* Query Jitter and Manufacturer Code */ #define ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC_IT 0x02 /* Query Jitter, Manufacturer Code and Image Type */ #define ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC_IT_FV 0x03 /* Query Jitter, Manufacturer Code, Image Type and File Version */ /* Image Type */ #define ZBEE_ZCL_OTA_IMG_TYPE_MFR_LOW 0x0000 /* Manufacturer Specific (Low value) */ #define ZBEE_ZCL_OTA_IMG_TYPE_MFR_HIGH 0xffbf /* Manufacturer Specific (High value) */ #define ZBEE_ZCL_OTA_IMG_TYPE_SECURITY 0xffc0 /* Security Credential */ #define ZBEE_ZCL_OTA_IMG_TYPE_CONFIG 0xffc1 /* Configuration */ #define ZBEE_ZCL_OTA_IMG_TYPE_LOG 0xffc2 /* Log */ #define ZBEE_ZCL_OTA_IMG_TYPE_UNASSIGNED_LOW 0xffc3 /* Reserved: Unassigned (Low value) */ #define ZBEE_ZCL_OTA_IMG_TYPE_UNASSIGNED_HIGH 0xfffe /* Reserved: Unassigned (High value) */ #define ZBEE_ZCL_OTA_IMG_TYPE_WILD_CARD 0xffff /* Reserved: Wild Card */ /* ZigBee Stack Version */ #define ZBEE_ZCL_OTA_ZB_STACK_VER_2006 0x0000 /* ZigBee 2006 */ #define ZBEE_ZCL_OTA_ZB_STACK_VER_2007 0x0001 /* ZigBee 2007 */ #define ZBEE_ZCL_OTA_ZB_STACK_VER_PRO 0x0002 /* ZigBee Pro */ #define ZBEE_ZCL_OTA_ZB_STACK_VER_IP 0x0003 /* ZigBee IP */ #define ZBEE_ZCL_OTA_ZB_STACK_VER_RESERVED_LO 0x0004 /* Reserved Low */ #define ZBEE_ZCL_OTA_ZB_STACK_VER_RESERVED_HI 0xffff /* Reserved High */ /* Image Upgrade Status */ #define ZBEE_ZCL_OTA_STATUS_NORMAL 0x00 /* Normal */ #define ZBEE_ZCL_OTA_STATUS_DOWNLOAD_IN_PROGRESS 0x01 /* Download in progress */ #define ZBEE_ZCL_OTA_STATUS_DOWNLOAD_COMPLETE 0x02 /* Download complete */ #define ZBEE_ZCL_OTA_STATUS_WAITING_TO_UPGRADE 0x03 /* Waiting to upgrade */ #define ZBEE_ZCL_OTA_STATUS_COUNT_DOWN 0x04 /* Count down */ #define ZBEE_ZCL_OTA_STATUS_WAIT_FOR_MORE 0x05 /* Wait for more */ /* 0x06-0xff - Reserved */ /* File Version mask */ #define ZBEE_ZCL_OTA_FILE_VERS_APPL_RELEASE 0xFF000000 /* Application Release */ #define ZBEE_ZCL_OTA_FILE_VERS_APPL_BUILD 0x00FF0000 /* Application Build */ #define ZBEE_ZCL_OTA_FILE_VERS_STACK_RELEASE 0x0000FF00 /* Stack Release */ #define ZBEE_ZCL_OTA_FILE_VERS_STACK_BUILD 0x000000FF /* Stack Build */ /* Field Control bitmask field list for Query Next Image Request */ #define ZBEE_ZCL_OTA_QUERY_NEXT_IMAGE_REQ_FIELD_CTRL_HW_VER_PRESENT 0x01 /* bit 0 */ #define ZBEE_ZCL_OTA_QUERY_NEXT_IMAGE_REQ_FIELD_CTRL_RESERVED 0xfe /* bit 1-7 */ /* Field Control bitmask field list for Image Block Request */ #define ZBEE_ZCL_OTA_IMAGE_BLOCK_REQ_FIELD_CTRL_REQUEST_NODE_ADDR_PRESENT 0x01 /* bit 0 - Request node IEEE address Present */ #define ZBEE_ZCL_OTA_IMAGE_BLOCK_REQ_FIELD_CTRL_MIN_BLOCK_PERIOD_PRESENT 0x02 /* bit 1 - Minimum block period Present */ #define ZBEE_ZCL_OTA_IMAGE_BLOCK_REQ_FIELD_CTRL_RESERVED 0xfc /* bit 2-7 */ /* Field Control bitmask field list for Image Page Request */ #define ZBEE_ZCL_OTA_IMAGE_PAGE_REQ_FIELD_CTRL_REQUEST_NODE_ADDR_PRESENT 0x01 /* bit 0 - Request node IEEE address Present */ #define ZBEE_ZCL_OTA_IMAGE_PAGE_REQ_FIELD_CTRL_RESERVED 0xfe /* bit 1-7 */ /* OTA Time */ #define ZBEE_ZCL_OTA_TIME_NOW 0x00000000 /* Now */ #define ZBEE_ZCL_OTA_TIME_UTC_LO 0x00000001 /* UTC Low Boundary */ #define ZBEE_ZCL_OTA_TIME_UTC_HI 0xfffffffe /* UTC High Boundary */ #define ZBEE_ZCL_OTA_TIME_WAIT 0xffffffff /* Wait for a Upgrade command (not used for RequesTime) */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_ota(void); void proto_reg_handoff_zbee_zcl_ota(void); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_ota = -1; static int hf_zbee_zcl_ota_attr_id = -1; static int hf_zbee_zcl_ota_srv_tx_cmd_id = -1; static int hf_zbee_zcl_ota_srv_rx_cmd_id = -1; static int hf_zbee_zcl_ota_image_upgrade_status = -1; static int hf_zbee_zcl_ota_zb_stack_ver = -1; static int hf_zbee_zcl_ota_file_offset = -1; static int hf_zbee_zcl_ota_payload_type = -1; static int hf_zbee_zcl_ota_query_jitter = -1; static int hf_zbee_zcl_ota_manufacturer_code = -1; static int hf_zbee_zcl_ota_image_type = -1; static int hf_zbee_zcl_ota_file_version = -1; static int hf_zbee_zcl_ota_file_version_appl_release = -1; static int hf_zbee_zcl_ota_file_version_appl_build = -1; static int hf_zbee_zcl_ota_file_version_stack_release = -1; static int hf_zbee_zcl_ota_file_version_stack_build = -1; static int hf_zbee_zcl_ota_query_next_image_req_field_ctrl = -1; static int hf_zbee_zcl_ota_query_next_image_req_field_ctrl_hw_ver_present = -1; static int hf_zbee_zcl_ota_query_next_image_req_field_ctrl_reserved = -1; static int hf_zbee_zcl_ota_image_block_req_field_ctrl = -1; static int hf_zbee_zcl_ota_image_block_req_field_ctrl_ieee_addr_present = -1; static int hf_zbee_zcl_ota_image_block_req_field_ctrl_min_block_period_present = -1; static int hf_zbee_zcl_ota_image_block_req_field_ctrl_reserved = -1; static int hf_zbee_zcl_ota_image_page_req_field_ctrl = -1; static int hf_zbee_zcl_ota_image_page_req_field_ctrl_ieee_addr_present = -1; static int hf_zbee_zcl_ota_image_page_req_field_ctrl_reserved = -1; static int hf_zbee_zcl_ota_hw_version = -1; static int hf_zbee_zcl_ota_status = -1; static int hf_zbee_zcl_ota_image_size = -1; static int hf_zbee_zcl_ota_max_data_size = -1; static int hf_zbee_zcl_ota_min_block_period = -1; static int hf_zbee_zcl_ota_req_node_addr = -1; static int hf_zbee_zcl_ota_current_time = -1; static int hf_zbee_zcl_ota_request_time = -1; static int hf_zbee_zcl_ota_upgrade_time = -1; static int hf_zbee_zcl_ota_data_size = -1; static int hf_zbee_zcl_ota_image_data = -1; static int hf_zbee_zcl_ota_page_size = -1; static int hf_zbee_zcl_ota_rsp_spacing = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_ota = -1; static gint ett_zbee_zcl_ota_query_next_image_req_field_ctrl = -1; static gint ett_zbee_zcl_ota_image_block_req_field_ctrl = -1; static gint ett_zbee_zcl_ota_image_page_req_field_ctrl = -1; static gint ett_zbee_zcl_ota_file_version = -1; /* Attributes */ static const value_string zbee_zcl_ota_attr_names[] = { { ZBEE_ZCL_ATTR_ID_OTA_UPGRADE_SERVER_ID, "Upgrade Server ID" }, { ZBEE_ZCL_ATTR_ID_OTA_FILE_OFFSET, "File Offset" }, { ZBEE_ZCL_ATTR_ID_OTA_CURRENT_FILE_VERSION, "Current File Version" }, { ZBEE_ZCL_ATTR_ID_OTA_CURRENT_ZB_STACK_VERSION, "Current ZigBee Stack Version" }, { ZBEE_ZCL_ATTR_ID_OTA_DOWNLOADED_FILE_VERSION, "Downloaded File Version" }, { ZBEE_ZCL_ATTR_ID_OTA_DOWNLOADED_ZB_STACK_VERSION, "Downloaded ZigBee Stack Version" }, { ZBEE_ZCL_ATTR_ID_OTA_IMAGE_UPGRADE_STATUS, "Image Upgrade Status" }, { ZBEE_ZCL_ATTR_ID_OTA_MANUFACTURER_ID, "Manufacturer ID" }, { ZBEE_ZCL_ATTR_ID_OTA_IMAGE_TYPE_ID, "Image Type ID" }, { ZBEE_ZCL_ATTR_ID_OTA_MIN_BLOCK_REQ_DELAY, "Minimum Block Request Delay" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_ota_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_OTA_QUERY_NEXT_IMAGE_REQ, "Query Next Image Request" }, { ZBEE_ZCL_CMD_ID_OTA_IMAGE_BLOCK_REQ, "Image Block Request" }, { ZBEE_ZCL_CMD_ID_OTA_IMAGE_PAGE_REQ, "Image Page Request" }, { ZBEE_ZCL_CMD_ID_OTA_UPGRADE_END_REQ, "Upgrade End Request" }, { ZBEE_ZCL_CMD_ID_OTA_QUERY_SPEC_FILE_REQ, "Query Specific File Request" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_ota_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_OTA_IMAGE_NOTIFY, "Image Notify" }, { ZBEE_ZCL_CMD_ID_OTA_QUERY_NEXT_IMAGE_RSP, "Query Next Image Response" }, { ZBEE_ZCL_CMD_ID_OTA_IMAGE_BLOCK_RSP, "Image Block Response" }, { ZBEE_ZCL_CMD_ID_OTA_UPGRADE_END_RSP, "Upgrade End Response" }, { ZBEE_ZCL_CMD_ID_OTA_QUERY_SPEC_FILE_RSP, "Query Specific File Response" }, { 0, NULL } }; /* Payload Type */ static const value_string zbee_zcl_ota_paylaod_type_names[] = { { ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ, "Query Jitter" }, { ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC, "Query Jitter and Manufacturer Code" }, { ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC_IT, "Query Jitter, Manufacturer Code and Image Type" }, { ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC_IT_FV, "Query Jitter, Manufacturer Code, Image Type and File Version" }, { 0, NULL } }; /* Image Upgrade Status */ static const value_string zbee_zcl_ota_image_upgrade_attr_status_names[] = { { ZBEE_ZCL_OTA_STATUS_NORMAL, "Normal" }, { ZBEE_ZCL_OTA_STATUS_DOWNLOAD_IN_PROGRESS, "Download in progress" }, { ZBEE_ZCL_OTA_STATUS_DOWNLOAD_COMPLETE, "Download complete" }, { ZBEE_ZCL_OTA_STATUS_WAITING_TO_UPGRADE, "Waiting to upgrade" }, { ZBEE_ZCL_OTA_STATUS_COUNT_DOWN, "Count down" }, { ZBEE_ZCL_OTA_STATUS_WAIT_FOR_MORE, "Wait for more" }, { 0, NULL } }; /* ZigBee Stack Version */ static const range_string zbee_zcl_ota_zb_stack_ver_names[] = { { ZBEE_ZCL_OTA_ZB_STACK_VER_2006, ZBEE_ZCL_OTA_ZB_STACK_VER_2006, "ZigBee 2006" }, { ZBEE_ZCL_OTA_ZB_STACK_VER_2007, ZBEE_ZCL_OTA_ZB_STACK_VER_2007, "ZigBee 2007" }, { ZBEE_ZCL_OTA_ZB_STACK_VER_PRO, ZBEE_ZCL_OTA_ZB_STACK_VER_PRO, "ZigBee Pro" }, { ZBEE_ZCL_OTA_ZB_STACK_VER_IP, ZBEE_ZCL_OTA_ZB_STACK_VER_IP, "ZigBee IP" }, { ZBEE_ZCL_OTA_ZB_STACK_VER_RESERVED_LO, ZBEE_ZCL_OTA_ZB_STACK_VER_RESERVED_HI, "Reserved" }, { 0, 0, NULL }, }; /* Image Type */ static const range_string zbee_zcl_ota_image_type_names[] = { {ZBEE_ZCL_OTA_IMG_TYPE_MFR_LOW, ZBEE_ZCL_OTA_IMG_TYPE_MFR_HIGH, "Manufacturer Specific" }, {ZBEE_ZCL_OTA_IMG_TYPE_SECURITY, ZBEE_ZCL_OTA_IMG_TYPE_SECURITY, "Security Credential" }, {ZBEE_ZCL_OTA_IMG_TYPE_CONFIG, ZBEE_ZCL_OTA_IMG_TYPE_CONFIG, "Configuration" }, {ZBEE_ZCL_OTA_IMG_TYPE_LOG, ZBEE_ZCL_OTA_IMG_TYPE_LOG, "Log" }, {ZBEE_ZCL_OTA_IMG_TYPE_UNASSIGNED_LOW, ZBEE_ZCL_OTA_IMG_TYPE_UNASSIGNED_HIGH, "Reserved: Unassigned" }, {ZBEE_ZCL_OTA_IMG_TYPE_WILD_CARD, ZBEE_ZCL_OTA_IMG_TYPE_WILD_CARD, "Reserved: Wild Card" }, { 0, 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * decode_zcl_ota_curr_time * DESCRIPTION * this function decode the current time field * PARAMETERS * RETURNS * none *--------------------------------------------------------------- */ static void decode_zcl_ota_curr_time(gchar *s, guint32 value) { if (value == ZBEE_ZCL_OTA_TIME_NOW) { snprintf(s, ITEM_LABEL_LENGTH, "Now"); } else { gchar *tmp; value += ZBEE_ZCL_NSTIME_UTC_OFFSET; tmp = abs_time_secs_to_str(NULL, value, ABSOLUTE_TIME_LOCAL, 1); snprintf(s, ITEM_LABEL_LENGTH, "%s", tmp); wmem_free(NULL, tmp); } return; } /*decode_zcl_ota_curr_time*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_zcl_ota_req_time * DESCRIPTION * this function decode the request time field * PARAMETERS * RETURNS * none *--------------------------------------------------------------- */ static void decode_zcl_ota_req_time(gchar *s, guint32 value) { if (value == ZBEE_ZCL_OTA_TIME_WAIT) { snprintf(s, ITEM_LABEL_LENGTH, "Wrong Value"); } else { /* offset from now */ gchar *tmp = signed_time_secs_to_str(NULL, value); snprintf(s, ITEM_LABEL_LENGTH, "%s from now", tmp); wmem_free(NULL, tmp); } return; } /*decode_zcl_ota_req_time*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_zcl_ota_upgr_time * DESCRIPTION * this function decode the upgrade time field * PARAMETERS * RETURNS * none *--------------------------------------------------------------- */ static void decode_zcl_ota_upgr_time(gchar *s, guint32 value) { if (value == ZBEE_ZCL_OTA_TIME_WAIT) { snprintf(s, ITEM_LABEL_LENGTH, "Wait for upgrade command"); } else { /* offset from now */ gchar *tmp = signed_time_secs_to_str(NULL, value); snprintf(s, ITEM_LABEL_LENGTH, "%s from now", tmp); wmem_free(NULL, tmp); } return; } /*decode_zcl_ota_upgr_time*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_zcl_ota_size_in_bytes * DESCRIPTION * this function decodes size in bytes * PARAMETERS * RETURNS * none *--------------------------------------------------------------- */ static void decode_zcl_ota_size_in_bytes(gchar *s, guint32 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d [Bytes]", value); } /*decode_zcl_ota_size_in_bytes*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_file_version_field * DESCRIPTION * this function is called in order to decode "FileVersion" field, * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_file_version_field(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const file_version[] = { &hf_zbee_zcl_ota_file_version_appl_release, &hf_zbee_zcl_ota_file_version_appl_build, &hf_zbee_zcl_ota_file_version_stack_release, &hf_zbee_zcl_ota_file_version_stack_build, NULL }; /* 'File Version' field present, retrieves it */ /* File version is Little endian. as well as all ZigBee data structures: "The endianness used in each data field shall be little endian in order to be compliant with general ZigBee messages." File version A: 0x10053519 represents application release 1.0 build 05 with stack release 3.5 b19 */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_ota_file_version, ett_zbee_zcl_ota_file_version, file_version, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_ota_file_version_field*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_field_ctrl_field * DESCRIPTION * this function is called in order to decode "FileVersion" field, * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * int hf_hdr - hf_hdr * gint ett - ett subtree index * int* const *fields - fields an array of pointers to int that lists all the fields of the bitmask * RETURNS * guint8 - field ctrl value *--------------------------------------------------------------- */ static guint8 dissect_zcl_ota_field_ctrl_field(tvbuff_t *tvb, proto_tree *tree, guint *offset, int hf_hdr, gint ett, int * const *fields) { guint8 field; /* Retrieve 'Field Control' field */ field = tvb_get_guint8(tvb, *offset); proto_tree_add_bitmask(tree, tvb, *offset, hf_hdr, ett, fields, ENC_NA); *offset += 1; return field; } /*dissect_zcl_ota_field_ctrl_field*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_imagenotify * DESCRIPTION * this function is called in order to decode "ImageNotify", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_imagenotify(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 payload_type; /* Retrieve 'Payload type' field */ payload_type = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ota_payload_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve 'Query Jitter' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_query_jitter, tvb, *offset, 1, ENC_NA); *offset += 1; /* Check if there are optional fields */ if (payload_type >= ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC) { /* 'Manufacturer Code' field present, retrieves it */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } if (payload_type >= ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC_IT) { /* 'Image Type' field present, retrieves it */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } if (payload_type >= ZBEE_ZCL_OTA_PAYLOAD_TYPE_QJ_MC_IT_FV) { /* 'File Version' field present, retrieves it */ dissect_zcl_ota_file_version_field(tvb, tree, offset); } } /*dissect_zcl_ota_imagenotify*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_querynextimagereq * DESCRIPTION * this function is called in order to decode "QueryNextImageRequest", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_querynextimagereq(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const fields[] = { &hf_zbee_zcl_ota_query_next_image_req_field_ctrl_hw_ver_present, &hf_zbee_zcl_ota_query_next_image_req_field_ctrl_reserved, NULL }; guint8 field_ctrl; /* Retrieve 'Field Control' field */ field_ctrl = dissect_zcl_ota_field_ctrl_field(tvb, tree, offset, hf_zbee_zcl_ota_query_next_image_req_field_ctrl, ett_zbee_zcl_ota_query_next_image_req_field_ctrl, fields); /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); /* Check if there are optional fields */ if (field_ctrl & ZBEE_ZCL_OTA_QUERY_NEXT_IMAGE_REQ_FIELD_CTRL_HW_VER_PRESENT) { /* 'Hardware Version' field present, retrieves it */ proto_tree_add_item(tree, hf_zbee_zcl_ota_hw_version, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } /*dissect_zcl_ota_querynextimagereq*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_querynextimagersp * DESCRIPTION * this function is called in order to decode "QueryNextImageResponse", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_querynextimagersp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 status; /* Retrieve 'Status' field */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ota_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Check if there are optional fields */ if (status == ZBEE_ZCL_STAT_SUCCESS) { /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); /* Retrieve 'Image Size' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_size, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } } /*dissect_zcl_ota_querynextimagersp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_imageblockreq * DESCRIPTION * this function is called in order to decode "ImageBlockRequest", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_imageblockreq(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const fields[] = { &hf_zbee_zcl_ota_image_block_req_field_ctrl_ieee_addr_present, &hf_zbee_zcl_ota_image_block_req_field_ctrl_min_block_period_present, &hf_zbee_zcl_ota_image_block_req_field_ctrl_reserved, NULL }; guint8 field_ctrl; /* Retrieve 'Field Control' field */ field_ctrl = dissect_zcl_ota_field_ctrl_field(tvb, tree, offset, hf_zbee_zcl_ota_image_block_req_field_ctrl, ett_zbee_zcl_ota_image_block_req_field_ctrl, fields); /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); /* Retrieve 'File Offset' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_file_offset, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve 'Maximum Data Size' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_max_data_size, tvb, *offset, 1, ENC_NA); *offset += 1; /* Check if there are optional fields */ if (field_ctrl & ZBEE_ZCL_OTA_IMAGE_BLOCK_REQ_FIELD_CTRL_REQUEST_NODE_ADDR_PRESENT) { /* 'Request Node Address' field present, retrieve it */ proto_tree_add_item(tree, hf_zbee_zcl_ota_req_node_addr, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; } if (field_ctrl & ZBEE_ZCL_OTA_IMAGE_BLOCK_REQ_FIELD_CTRL_MIN_BLOCK_PERIOD_PRESENT) { /* 'Minimum Block Period' field present, retrieve it */ proto_tree_add_item(tree, hf_zbee_zcl_ota_min_block_period, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } /*dissect_zcl_ota_imageblockreq*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_imagepagereq * DESCRIPTION * this function is called in order to decode "ImagePageRequest", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_imagepagereq(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const fields[] = { &hf_zbee_zcl_ota_image_page_req_field_ctrl_ieee_addr_present, &hf_zbee_zcl_ota_image_page_req_field_ctrl_reserved, NULL }; guint8 field_ctrl; /* Retrieve 'Field Control' field */ field_ctrl = dissect_zcl_ota_field_ctrl_field(tvb, tree, offset, hf_zbee_zcl_ota_image_page_req_field_ctrl, ett_zbee_zcl_ota_image_page_req_field_ctrl, fields); /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); /* Retrieve 'File Offset' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_file_offset, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve 'Maximum Data Size' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_max_data_size, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve 'Page Size' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_page_size, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Response Spacing' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_rsp_spacing, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Check if there are optional fields */ if (field_ctrl & ZBEE_ZCL_OTA_IMAGE_PAGE_REQ_FIELD_CTRL_REQUEST_NODE_ADDR_PRESENT) { /* 'Request Node Address' field present, retrieves it */ proto_tree_add_item(tree, hf_zbee_zcl_ota_req_node_addr, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; } } /*dissect_zcl_ota_imagepagereq*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_imageblockrsp * DESCRIPTION * this function is called in order to decode "ImageBlockResponse", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_imageblockrsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 status; guint8 data_size; /* Retrieve 'Status' field */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ota_status, tvb, *offset, 1, ENC_NA); *offset += 1; if (status == ZBEE_ZCL_STAT_SUCCESS) { /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); /* Retrieve 'File Offset' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_file_offset, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve 'Data Size' field */ data_size = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ota_data_size, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve 'Image Data' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_data, tvb, *offset, data_size, ENC_NA); *offset += data_size; } else if (status == ZBEE_ZCL_STAT_OTA_WAIT_FOR_DATA) { /* Retrieve 'Current Time' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_current_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve 'Request Time' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_request_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } else { /* */ } } /*dissect_zcl_ota_imageblockrsp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_upgradeendreq * DESCRIPTION * this function is called in order to decode "UpgradeEndRequest", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_upgradeendreq(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve 'Status' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); } /*dissect_zcl_ota_upgradeendreq*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_upgradeendrsp * DESCRIPTION * this function is called in order to decode "UpgradeEndResponse", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_upgradeendrsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); /* Retrieve 'Current Time' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_current_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve 'Upgrade Time' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_upgrade_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_ota_upgradeendrsp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_queryspecfilereq * DESCRIPTION * this function is called in order to decode "QuerySpecificFileRequest", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_queryspecfilereq(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* 'Request Node Address' field present, retrieves it */ proto_tree_add_item(tree, hf_zbee_zcl_ota_req_node_addr, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); /* Retrieve 'ZigBee Stack Version' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_zb_stack_ver, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_ota_queryspecfilereq*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_queryspecfilersp * DESCRIPTION * this function is called in order to decode "QuerySpecificFileResponse", * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_queryspecfilersp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 status; /* Retrieve 'Status' field */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ota_status, tvb, *offset, 1, ENC_NA); *offset += 1; if (status == ZBEE_ZCL_STAT_SUCCESS) { /* Retrieve 'Manufacturer Code' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'Image Type' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve 'File Version' field */ dissect_zcl_ota_file_version_field(tvb, tree, offset); /* Retrieve 'Image Size' field */ proto_tree_add_item(tree, hf_zbee_zcl_ota_image_size, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } } /*dissect_zcl_ota_queryspecfilersp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_ota_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_ota_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_OTA_CURRENT_FILE_VERSION: case ZBEE_ZCL_ATTR_ID_OTA_DOWNLOADED_FILE_VERSION: dissect_zcl_ota_file_version_field(tvb, tree, offset); break; case ZBEE_ZCL_ATTR_ID_OTA_CURRENT_ZB_STACK_VERSION: case ZBEE_ZCL_ATTR_ID_OTA_DOWNLOADED_ZB_STACK_VERSION: proto_tree_add_item(tree, hf_zbee_zcl_ota_zb_stack_ver, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_OTA_IMAGE_UPGRADE_STATUS: proto_tree_add_item(tree, hf_zbee_zcl_ota_image_upgrade_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_OTA_MANUFACTURER_ID: proto_tree_add_item(tree, hf_zbee_zcl_ota_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_OTA_IMAGE_TYPE_ID: proto_tree_add_item(tree, hf_zbee_zcl_ota_image_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_OTA_MIN_BLOCK_REQ_DELAY: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_ota_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_ota * DESCRIPTION * ZigBee ZCL OTA cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * void *data - pointer to ZCL packet structure. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_ota(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ota_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_ota_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_ota, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_OTA_QUERY_NEXT_IMAGE_REQ: dissect_zcl_ota_querynextimagereq(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_OTA_IMAGE_BLOCK_REQ: dissect_zcl_ota_imageblockreq(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_OTA_IMAGE_PAGE_REQ: dissect_zcl_ota_imagepagereq(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_OTA_UPGRADE_END_REQ: dissect_zcl_ota_upgradeendreq(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_OTA_QUERY_SPEC_FILE_REQ: dissect_zcl_ota_queryspecfilereq(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ota_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_ota_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_ota, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_OTA_IMAGE_NOTIFY: dissect_zcl_ota_imagenotify(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_OTA_QUERY_NEXT_IMAGE_RSP: dissect_zcl_ota_querynextimagersp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_OTA_IMAGE_BLOCK_RSP: dissect_zcl_ota_imageblockrsp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_OTA_UPGRADE_END_RSP: dissect_zcl_ota_upgradeendrsp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_OTA_QUERY_SPEC_FILE_RSP: dissect_zcl_ota_queryspecfilersp(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_ota*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_ota * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_ota(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_ota_attr_id, { "Attribute", "zbee_zcl_general.ota.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_ota_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_srv_tx_cmd_id, { "Command", "zbee_zcl_general.ota.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ota_srv_tx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_srv_rx_cmd_id, { "Command", "zbee_zcl_general.ota.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ota_srv_rx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_upgrade_status, { "Image Upgrade Status", "zbee_zcl_general.ota.status_attr", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ota_image_upgrade_attr_status_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_zb_stack_ver, { "ZigBee Stack Version", "zbee_zcl_general.ota.zb_stack.ver", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_ota_zb_stack_ver_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_payload_type, { "Payload Type", "zbee_zcl_general.ota.payload.type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ota_paylaod_type_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_query_jitter, { "Query Jitter", "zbee_zcl_general.ota.query_jitter", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_seconds), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_manufacturer_code, { "Manufacturer Code", "zbee_zcl_general.ota.manufacturer_code", FT_UINT16, BASE_HEX, VALS(zbee_mfr_code_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_type, { "Image Type", "zbee_zcl_general.ota.image.type", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_ota_image_type_names), 0x0, NULL, HFILL } }, /* Begin FileVersion fields */ { &hf_zbee_zcl_ota_file_version, { "File Version", "zbee_zcl_general.ota.file.version", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_file_version_appl_release, { "Application Release", "zbee_zcl_general.ota.file.version.appl.release", FT_UINT32, BASE_DEC, NULL, ZBEE_ZCL_OTA_FILE_VERS_APPL_RELEASE, NULL, HFILL } }, { &hf_zbee_zcl_ota_file_version_appl_build, { "Application Build", "zbee_zcl_general.ota.file.version.appl.build", FT_UINT32, BASE_DEC, NULL, ZBEE_ZCL_OTA_FILE_VERS_APPL_BUILD, NULL, HFILL } }, { &hf_zbee_zcl_ota_file_version_stack_release, { "Stack Release", "zbee_zcl_general.ota.file.version.stack.release", FT_UINT32, BASE_DEC, NULL, ZBEE_ZCL_OTA_FILE_VERS_STACK_RELEASE, NULL, HFILL } }, { &hf_zbee_zcl_ota_file_version_stack_build, { "Stack Build", "zbee_zcl_general.ota.file.version.stack.build", FT_UINT32, BASE_DEC, NULL, ZBEE_ZCL_OTA_FILE_VERS_STACK_BUILD, NULL, HFILL } }, /* End FileVersion fields */ /* Begin FieldControl fields Query Next Image Request */ { &hf_zbee_zcl_ota_query_next_image_req_field_ctrl, { "Field Control", "zbee_zcl_general.ota.query_next_image_req.field_ctrl", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_query_next_image_req_field_ctrl_hw_ver_present, { "Hardware Version", "zbee_zcl_general.ota.query_next_image_req.field_ctrl.hw_ver_present", FT_BOOLEAN, 8, TFS(&tfs_present_not_present), ZBEE_ZCL_OTA_QUERY_NEXT_IMAGE_REQ_FIELD_CTRL_HW_VER_PRESENT, NULL, HFILL } }, { &hf_zbee_zcl_ota_query_next_image_req_field_ctrl_reserved, { "Reserved", "zbee_zcl_general.ota.query_next_image_req.field_ctrl.reserved", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_OTA_QUERY_NEXT_IMAGE_REQ_FIELD_CTRL_RESERVED, NULL, HFILL } }, /* End FieldControl fields Query Next Image Request */ /* Begin FieldControl fields Image Block Request */ { &hf_zbee_zcl_ota_image_block_req_field_ctrl, { "Field Control", "zbee_zcl_general.ota.image_block_req.field_ctrl", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_block_req_field_ctrl_ieee_addr_present, { "Request Node Address", "zbee_zcl_general.ota.image_block_req.field_ctrl.request_node_addr_present", FT_BOOLEAN, 8, TFS(&tfs_present_not_present), ZBEE_ZCL_OTA_IMAGE_BLOCK_REQ_FIELD_CTRL_REQUEST_NODE_ADDR_PRESENT, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_block_req_field_ctrl_min_block_period_present, { "Minimum Block Period", "zbee_zcl_general.ota.image_block_req.field_ctrl.min_block_period", FT_BOOLEAN, 8, TFS(&tfs_present_not_present), ZBEE_ZCL_OTA_IMAGE_BLOCK_REQ_FIELD_CTRL_MIN_BLOCK_PERIOD_PRESENT, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_block_req_field_ctrl_reserved, { "Reserved", "zbee_zcl_general.ota.query_next_image_req.field_ctrl.reserved", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_OTA_IMAGE_BLOCK_REQ_FIELD_CTRL_RESERVED, NULL, HFILL } }, /* End FieldControl fields Image Block Request */ /* Begin FieldControl fields Image Page Request */ { &hf_zbee_zcl_ota_image_page_req_field_ctrl, { "Field Control", "zbee_zcl_general.ota.image_page_req.field_ctrl", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_page_req_field_ctrl_ieee_addr_present, { "Request Node Address", "zbee_zcl_general.ota.query_next_image_req.field_ctrl.request_node_addr_present", FT_BOOLEAN, 8, TFS(&tfs_present_not_present), ZBEE_ZCL_OTA_IMAGE_PAGE_REQ_FIELD_CTRL_REQUEST_NODE_ADDR_PRESENT, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_page_req_field_ctrl_reserved, { "Reserved", "zbee_zcl_general.ota.image_page_req.field_ctrl.reserved", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_OTA_IMAGE_PAGE_REQ_FIELD_CTRL_RESERVED, NULL, HFILL } }, /* End FieldControl fields Image Page Request */ { &hf_zbee_zcl_ota_hw_version, { "Hardware Version", "zbee_zcl_general.ota.hw_ver", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_status, { "Status", "zbee_zcl_general.ota.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_status_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_size, { "Image Size", "zbee_zcl_general.ota.image.size", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_zcl_ota_size_in_bytes), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_file_offset, { "File Offset", "zbee_zcl_general.ota.file.offset", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_max_data_size, { "Max Data Size", "zbee_zcl_general.ota.max_data_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_min_block_period, { "Minimum Block Period", "zbee_zcl_general.ota.min_block_period", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_req_node_addr, { "Ieee Address", "zbee_zcl_general.ota.ieee_addr", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_page_size, { "Page Size", "zbee_zcl_general.ota.page.size", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_ota_size_in_bytes), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_rsp_spacing, { "Response Spacing", "zbee_zcl_general.ota.rsp_spacing", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ota_current_time, { "Current Time", "zbee_zcl_general.ota.current_time", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_zcl_ota_curr_time), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ota_request_time, { "Request Time", "zbee_zcl_general.ota.request_time", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_zcl_ota_req_time), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ota_upgrade_time, { "Upgrade Time", "zbee_zcl_general.ota.upgrade_time", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_zcl_ota_upgr_time), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ota_data_size, { "Data Size", "zbee_zcl_general.ota.data_size", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ota_image_data, { "Image Data", "zbee_zcl_general.ota.image.data", FT_BYTES, SEP_COLON, NULL, 0x00, NULL, HFILL } } }; /* ZCL OTA subtrees */ gint *ett[] = { &ett_zbee_zcl_ota, &ett_zbee_zcl_ota_query_next_image_req_field_ctrl, &ett_zbee_zcl_ota_image_block_req_field_ctrl, &ett_zbee_zcl_ota_image_page_req_field_ctrl, &ett_zbee_zcl_ota_file_version }; /* Register ZigBee ZCL Ota protocol with Wireshark. */ proto_zbee_zcl_ota = proto_register_protocol("ZigBee ZCL OTA", "ZCL OTA", ZBEE_PROTOABBREV_ZCL_OTA); proto_register_field_array(proto_zbee_zcl_ota, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL OTA dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_OTA, dissect_zbee_zcl_ota, proto_zbee_zcl_ota); } /* proto_register_zbee_zcl_ota */ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_ota * DESCRIPTION * Registers the zigbee ZCL OTA cluster dissector with Wireshark. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_ota(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_OTA, proto_zbee_zcl_ota, ett_zbee_zcl_ota, ZBEE_ZCL_CID_OTA_UPGRADE, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_ota_attr_id, hf_zbee_zcl_ota_attr_id, hf_zbee_zcl_ota_srv_rx_cmd_id, hf_zbee_zcl_ota_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_ota_attr_data ); } /*proto_reg_handoff_zbee_zcl_ota*/ /* ########################################################################## */ /* #### (0x001A) POWER PROFILE CLUSTER ###################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_PWR_PROF_NUM_GENERIC_ETT 4 #define ZBEE_ZCL_PWR_PROF_NUM_PWR_PROF_ETT 5 #define ZBEE_ZCL_PWR_PROF_NUM_EN_PHS_ETT 16 #define ZBEE_ZCL_PWR_PROF_NUM_ETT (ZBEE_ZCL_PWR_PROF_NUM_GENERIC_ETT + \ ZBEE_ZCL_PWR_PROF_NUM_PWR_PROF_ETT + \ ZBEE_ZCL_PWR_PROF_NUM_EN_PHS_ETT) /* Attributes */ #define ZBEE_ZCL_ATTR_ID_PWR_PROF_TOT_PROF_NUM 0x0000 /* Total Profile Number */ #define ZBEE_ZCL_ATTR_ID_PWR_PROF_MULTIPLE_SCHED 0x0001 /* Multiple Schedule */ #define ZBEE_ZCL_ATTR_ID_PWR_PROF_ENERGY_FORMAT 0x0002 /* Energy Formatting */ #define ZBEE_ZCL_ATTR_ID_PWR_PROF_ENERGY_REMOTE 0x0003 /* Energy Remote */ #define ZBEE_ZCL_ATTR_ID_PWR_PROF_SCHED_MODE 0x0004 /* Schedule Mode */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_REQ 0x00 /* Power Profile Request */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_REQ 0x01 /* Power Profile State Request */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_RSP 0x02 /* Get Power Profile Price Response */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_GET_OVERALL_SCHED_PRICE_RSP 0x03 /* Get Overall Schedule Price Response */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_NOTIF 0x04 /* Energy Phases Schedule Notification */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_RSP 0x05 /* Energy Phases Schedule Response */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_REQ 0x06 /* Power Profile Schedule Constraints Request */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_REQ 0x07 /* Energy Phases Schedule State Request */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_EXT_RSP 0x08 /* Get Power Profile Price Extended Response */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_NOTIF 0x00 /* Power Profile Notification */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_RSP 0x01 /* Power Profile Response */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_RSP 0x02 /* Power Profile State Response */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE 0x03 /* Get Power Profile Price */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_NOTIF 0x04 /* Power Profile State Notification */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_GET_OVERALL_SCHED_PRICE 0x05 /* Get Overall Schedule Price */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_REQ 0x06 /* Energy Phases Schedule Request */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_RSP 0x07 /* Energy Phases Schedule State Response */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_NOITIF 0x08 /* Energy Phases Schedule State Notification */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_NOTIF 0x09 /* Power Profile Schedule Constraints Notification */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_RSP 0x0A /* Power Profile Schedule Constraints Response */ #define ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_EXT 0x0B /* Get Power Profile Price Extended */ /* Power Profile StateId */ #define ZBEE_ZCL_PWR_PROF_STATE_ID_PWR_PROF_IDLE 0x00 /* Power Profile Idle */ #define ZBEE_ZCL_PWR_PROF_STATE_ID_PWR_PROF_PROGRAMMED 0x01 /* Power Profile Programmed */ #define ZBEE_ZCL_PWR_PROF_STATE_ID_EN_PH_RUNNING 0x03 /* Energy Phase Running */ #define ZBEE_ZCL_PWR_PROF_STATE_ID_EN_PH_PAUSE 0x04 /* Energy Phase Pause */ #define ZBEE_ZCL_PWR_PROF_STATE_ID_EN_PH_WAITING_TO_START 0x05 /* Energy Phase Waiting to Start */ #define ZBEE_ZCL_PWR_PROF_STATE_ID_EN_PH_WAITING_PAUSED 0x06 /* Energy Phase Waiting Pause */ #define ZBEE_ZCL_PWR_PROF_STATE_ID_PWR_PROF_ENDED 0x07 /* Power Profile Ended */ /* Energy Formatting bitmask field list */ #define ZBEE_ZCL_OPT_PWRPROF_NUM_R_DIGIT 0x07 /* bits 0..2 */ #define ZBEE_ZCL_OPT_PWRPROF_NUM_L_DIGIT 0x78 /* bits 3..6 */ #define ZBEE_ZCL_OPT_PWRPROF_NO_LEADING_ZERO 0x80 /* bit 7 */ /* Schedule Mode bitmask field list */ #define ZBEE_ZCL_OPT_PWRPROF_SCHED_CHEAPEST 0x01 /* bit 0 */ #define ZBEE_ZCL_OPT_PWRPROF_SCHED_GREENEST 0x02 /* bit 1 */ #define ZBEE_ZCL_OPT_PWRPROF_SCHED_RESERVED 0xfc /* bits 2..7 */ /* Options bitmask field list */ #define ZBEE_ZCL_OPT_PWRPROF_STIME_PRESENT 0x01 /* bit 0 */ #define ZBEE_ZCL_OPT_PWRPROF_RESERVED 0xfe /* bits 1..7 */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_pwr_prof(void); void proto_reg_handoff_zbee_zcl_pwr_prof(void); /* Command Dissector Helpers */ static void dissect_zcl_pwr_prof_pwrprofreq (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pwr_prof_getpwrprofpricersp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pwr_prof_getoverallschedpricersp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pwr_prof_enphsschednotif (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_energy_phase (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pwr_prof_pwrprofnotif (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_power_profile (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pwr_prof_pwrprofstatersp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pwr_prof_pwrprofschedcontrsnotif (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pwr_prof_pwrprofpriceext (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pwr_prof_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ static void decode_power_profile_id (gchar *s, guint8 id); static void decode_price_in_cents (gchar *s, guint32 value); static void decode_power_in_watt (gchar *s, guint16 value); static void decode_energy (gchar *s, guint16 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_pwr_prof = -1; static int hf_zbee_zcl_pwr_prof_attr_id = -1; static int hf_zbee_zcl_pwr_prof_tot_prof_num = -1; static int hf_zbee_zcl_pwr_prof_multiple_sched = -1; static int hf_zbee_zcl_pwr_prof_energy_format = -1; static int hf_zbee_zcl_pwr_prof_energy_format_rdigit = -1; static int hf_zbee_zcl_pwr_prof_energy_format_ldigit = -1; static int hf_zbee_zcl_pwr_prof_energy_format_noleadingzero = -1; static int hf_zbee_zcl_pwr_prof_energy_remote = -1; static int hf_zbee_zcl_pwr_prof_sched_mode = -1; static int hf_zbee_zcl_pwr_prof_sched_mode_cheapest = -1; static int hf_zbee_zcl_pwr_prof_sched_mode_greenest = -1; static int hf_zbee_zcl_pwr_prof_sched_mode_reserved = -1; static int hf_zbee_zcl_pwr_prof_srv_tx_cmd_id = -1; static int hf_zbee_zcl_pwr_prof_srv_rx_cmd_id = -1; static int hf_zbee_zcl_pwr_prof_pwr_prof_id = -1; static int hf_zbee_zcl_pwr_prof_currency = -1; static int hf_zbee_zcl_pwr_prof_price = -1; static int hf_zbee_zcl_pwr_prof_price_trailing_digit = -1; static int hf_zbee_zcl_pwr_prof_num_of_sched_phases = -1; static int hf_zbee_zcl_pwr_prof_scheduled_time = -1; static int hf_zbee_zcl_pwr_prof_pwr_prof_count = -1; static int hf_zbee_zcl_pwr_prof_num_of_trans_phases = -1; static int hf_zbee_zcl_pwr_prof_energy_phase_id = -1; static int hf_zbee_zcl_pwr_prof_macro_phase_id = -1; static int hf_zbee_zcl_pwr_prof_expect_duration = -1; static int hf_zbee_zcl_pwr_prof_peak_power = -1; static int hf_zbee_zcl_pwr_prof_energy = -1; static int hf_zbee_zcl_pwr_prof_max_active_delay = -1; static int hf_zbee_zcl_pwr_prof_pwr_prof_rem_ctrl = -1; static int hf_zbee_zcl_pwr_prof_pwr_prof_state = -1; static int hf_zbee_zcl_pwr_prof_start_after = -1; static int hf_zbee_zcl_pwr_prof_stop_before = -1; static int hf_zbee_zcl_pwr_prof_options = -1; static int hf_zbee_zcl_pwr_prof_options_01 = -1; static int hf_zbee_zcl_pwr_prof_options_res = -1; static int hf_zbee_zcl_pwr_prof_pwr_prof_stime = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_pwr_prof = -1; static gint ett_zbee_zcl_pwr_prof_options = -1; static gint ett_zbee_zcl_pwr_prof_en_format = -1; static gint ett_zbee_zcl_pwr_prof_sched_mode = -1; static gint ett_zbee_zcl_pwr_prof_pwrprofiles[ZBEE_ZCL_PWR_PROF_NUM_PWR_PROF_ETT]; static gint ett_zbee_zcl_pwr_prof_enphases[ZBEE_ZCL_PWR_PROF_NUM_EN_PHS_ETT]; /* Attributes */ static const value_string zbee_zcl_pwr_prof_attr_names[] = { { ZBEE_ZCL_ATTR_ID_PWR_PROF_TOT_PROF_NUM, "Total Profile Number" }, { ZBEE_ZCL_ATTR_ID_PWR_PROF_MULTIPLE_SCHED, "Multiple Scheduling" }, { ZBEE_ZCL_ATTR_ID_PWR_PROF_ENERGY_FORMAT, "Energy Formatting" }, { ZBEE_ZCL_ATTR_ID_PWR_PROF_ENERGY_REMOTE, "Energy Remote" }, { ZBEE_ZCL_ATTR_ID_PWR_PROF_SCHED_MODE, "Schedule Mode" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_pwr_prof_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_REQ, "Power Profile Request" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_REQ, "Power Profile State Request" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_RSP, "Get Power Profile Price Response" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_GET_OVERALL_SCHED_PRICE_RSP, "Get Overall Schedule Price Response" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_NOTIF, "Energy Phases Schedule Notification" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_RSP, "Energy Phases Schedule Response" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_REQ, "Power Profile Schedule Constraints Request" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_REQ, "Energy Phases Schedule State Request" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_EXT_RSP, "Get Power Profile Price Extended Response" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_pwr_prof_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_NOTIF, "Power Profile Notification" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_RSP, "Power Profile Response" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_RSP, "Power Profile State Response" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE, "Get Power Profile Price" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_NOTIF, "Power Profile State Notification" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_GET_OVERALL_SCHED_PRICE, "Get Overall Schedule Price" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_REQ, "Energy Phases Schedule Request" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_RSP, "Energy Phases Schedule State Response" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_NOITIF, "Energy Phases Schedule State Notification" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_NOTIF, "Power Profile Schedule Constraints Notification" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_RSP, "Power Profile Schedule Constraints Response" }, { ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_EXT, "Get Power Profile Price Extended" }, { 0, NULL } }; /* Currencies (values defined by ISO 4217) */ static const value_string zbee_zcl_currecy_names[] = { { 0x03D2, "EUR" }, { 0x033A, "GBP" }, { 0x0348, "USD" }, { 0, NULL } }; /* Power Profile State */ static const value_string zbee_zcl_pwr_prof_state_names[] = { { ZBEE_ZCL_PWR_PROF_STATE_ID_PWR_PROF_IDLE, "Power Profile Idle" }, { ZBEE_ZCL_PWR_PROF_STATE_ID_PWR_PROF_PROGRAMMED, "Power Profile Programmed" }, { ZBEE_ZCL_PWR_PROF_STATE_ID_EN_PH_RUNNING, "Energy Phase Running" }, { ZBEE_ZCL_PWR_PROF_STATE_ID_EN_PH_PAUSE, "Energy Phase Pause" }, { ZBEE_ZCL_PWR_PROF_STATE_ID_EN_PH_WAITING_TO_START, "Energy Phase Waiting to Start" }, { ZBEE_ZCL_PWR_PROF_STATE_ID_EN_PH_WAITING_PAUSED, "Energy Phase Waiting Paused" }, { ZBEE_ZCL_PWR_PROF_STATE_ID_PWR_PROF_ENDED, "Power Profile Ended" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_pwr_prof * DESCRIPTION * ZigBee ZCL Power Profile cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * void *data - pointer to ZCL packet structure. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_pwr_prof (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_pwr_prof_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_pwr_prof, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_REQ: case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_REQ: case ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_REQ: dissect_zcl_pwr_prof_pwrprofreq(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_REQ: /* No payload */ break; case ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_RSP: case ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_EXT_RSP: dissect_zcl_pwr_prof_getpwrprofpricersp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PWR_PROF_GET_OVERALL_SCHED_PRICE_RSP: dissect_zcl_pwr_prof_getoverallschedpricersp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_NOTIF: case ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_RSP: dissect_zcl_pwr_prof_enphsschednotif(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_pwr_prof_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_pwr_prof, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_NOTIF: case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_RSP: dissect_zcl_pwr_prof_pwrprofnotif(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_RSP: case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_STATE_NOTIF: dissect_zcl_pwr_prof_pwrprofstatersp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PWR_PROF_GET_OVERALL_SCHED_PRICE: /* no payload */ break; case ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_RSP: case ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_STATE_NOITIF: dissect_zcl_pwr_prof_enphsschednotif(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE: case ZBEE_ZCL_CMD_ID_PWR_PROF_ENERGY_PHASES_SCHED_REQ: dissect_zcl_pwr_prof_pwrprofreq(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_NOTIF: case ZBEE_ZCL_CMD_ID_PWR_PROF_PWR_PROF_SCHED_CONSTRS_RSP: dissect_zcl_pwr_prof_pwrprofschedcontrsnotif(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PWR_PROF_GET_PWR_PROF_PRICE_EXT: dissect_zcl_pwr_prof_pwrprofpriceext(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_pwr_prof*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_pwrprofreq * DESCRIPTION * this function is called in order to decode "PowerProfileRequest", * "PowerProfileScheduleConstraintsRequest", "EnergyPhasesScheduleStateRequest", * "GetPowerProfilePrice" and "EnergyPhasesScheduleRequest" payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_pwrprofreq(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Power Profile Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_id, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_pwr_prof_pwrprofreq*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_getpwrprofpricersp * DESCRIPTION * this function is called in order to decode "GetPowerProfilePriceResponse" * and "PowerProfilePriceExtendedResponse" payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_getpwrprofpricersp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Power Profile Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Currency" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_currency, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Price" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_price, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve "Price Trailing Digit" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_price_trailing_digit, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_pwr_prof_getpwrprofpricersp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_getoverallschedpricersp * DESCRIPTION * this function is called in order to decode "GetOverallSchedulePriceResponse" * payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_getoverallschedpricersp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Currency" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_currency, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Price" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_price, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve "Price Trailing Digit" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_price_trailing_digit, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_pwr_prof_getoverallschedpricersp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_sched_energy_phase * DESCRIPTION * this function is called in order to decode "ScheduledEnergyPhases" * element. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_sched_energy_phase(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Energy Phase ID */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_energy_phase_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Scheduled Time */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_scheduled_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_sched_energy_phase*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_enphsschednotif * DESCRIPTION * this function is called in order to decode "EnergyPhasesScheduleNotification" * and "EnergyPhasesScheduleResoponse" payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_enphsschednotif(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree *sub_tree = NULL; guint i; guint8 num_of_sched_phases; /* Retrieve "Power Profile Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Number of Scheduled Phases" field */ num_of_sched_phases = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_num_of_sched_phases, tvb, *offset, 1, ENC_NA); *offset += 1; /* Scheduled Energy Phases decoding */ for (i=0 ; (i<num_of_sched_phases && i < ZBEE_ZCL_PWR_PROF_NUM_EN_PHS_ETT); i++) { /* Create subtree */ sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 1, ett_zbee_zcl_pwr_prof_enphases[i], NULL, "Energy Phase #%u", i); dissect_zcl_sched_energy_phase(tvb, sub_tree, offset); } } /*dissect_zcl_pwr_prof_enphsschednotif*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_energy_phase * DESCRIPTION * this function is called in order to decode "EnergyPhases" * element. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_energy_phase(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_energy_phase_id, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_macro_phase_id, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_expect_duration, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_peak_power, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_energy, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_max_active_delay, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_energy_phase*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_pwrprofnotif * DESCRIPTION * this function is called in order to decode "PowerProfileNotification" * and "PowerProfileResponse" payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_pwrprofnotif(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree *sub_tree = NULL; guint i; guint8 total_profile_number; guint8 num_of_transferred_phases; /* Retrieve "Total Profile Number" field */ total_profile_number = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_tot_prof_num, tvb, *offset, 1, ENC_NA); *offset += 1; if ( total_profile_number != 0 ) { /* Retrieve "Power Profile Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Number of Transferred Phases" field */ num_of_transferred_phases = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_num_of_trans_phases, tvb, *offset, 1, ENC_NA); *offset += 1; /* Energy Phases decoding */ for ( i=0 ; (i<num_of_transferred_phases && i < ZBEE_ZCL_PWR_PROF_NUM_EN_PHS_ETT); i++) { /* Create subtree */ sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 1, ett_zbee_zcl_pwr_prof_enphases[i], NULL, "Energy Phase #%u", i); dissect_zcl_energy_phase(tvb, sub_tree, offset); } } } /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_power_profile * DESCRIPTION * this function is called in order to decode "PowerProfile" * element. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_power_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Power Profile Id */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Energy Phase Id */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_energy_phase_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Power Profile Remote Control */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_rem_ctrl, tvb, *offset, 1, ENC_NA); *offset += 1; /* Power Profile State */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_state, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_power_profile*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_pwrprofstatersp * DESCRIPTION * this function is called in order to decode "PowerProfileStateResponse" * and "PowerProfileStateNotification" payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_pwrprofstatersp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree *sub_tree = NULL; guint i; guint8 power_profile_count; /* Retrieve "Total Profile Number" field */ power_profile_count = MIN(tvb_get_guint8(tvb, *offset), ZBEE_ZCL_PWR_PROF_NUM_PWR_PROF_ETT); proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_count, tvb, *offset, 1, ENC_NA); *offset += 1; /* Energy Phases decoding */ for (i=0 ; i<power_profile_count ; i++) { /* Create subtree */ sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 1, ett_zbee_zcl_pwr_prof_pwrprofiles[i], NULL, "Power Profile #%u", i); dissect_zcl_power_profile(tvb, sub_tree, offset); } } /*dissect_zcl_pwr_prof_pwrprofstatersp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_pwrprofschedcontrsnotif * DESCRIPTION * this function is called in order to decode "PowerProfileScheduleConstraintsNotification" * and "PowerProfileScheduleConstraintsResponse" payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_pwrprofschedcontrsnotif(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Power Profile Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Start After" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_start_after, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Stop Before" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_stop_before, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_pwr_prof_pwrprofschedcontrsnotif*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_pwrprofpriceext * DESCRIPTION * this function is called in order to decode "GetPowerProfilePriceExtended" * and "PowerProfileScheduleConstraintsResponse" payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_pwrprofpriceext(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const options[] = { &hf_zbee_zcl_pwr_prof_options_01, &hf_zbee_zcl_pwr_prof_options_res, NULL }; /* Retrieve "Options" field */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pwr_prof_options, ett_zbee_zcl_pwr_prof_options, options, ENC_NA); *offset += 1; /* Retrieve "Power Profile Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Power Profile Start Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_pwr_prof_stime, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_pwr_prof_pwrprofpriceext*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_pwr_prof_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_pwr_prof_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const format_fields[] = { &hf_zbee_zcl_pwr_prof_energy_format_rdigit, &hf_zbee_zcl_pwr_prof_energy_format_ldigit, &hf_zbee_zcl_pwr_prof_energy_format_noleadingzero, NULL }; static int * const modes[] = { &hf_zbee_zcl_pwr_prof_sched_mode_cheapest, &hf_zbee_zcl_pwr_prof_sched_mode_greenest, &hf_zbee_zcl_pwr_prof_sched_mode_reserved, NULL }; /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_PWR_PROF_TOT_PROF_NUM: proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_tot_prof_num, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PWR_PROF_MULTIPLE_SCHED: proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_multiple_sched, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PWR_PROF_ENERGY_FORMAT: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pwr_prof_energy_format, ett_zbee_zcl_pwr_prof_en_format, format_fields, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PWR_PROF_ENERGY_REMOTE: proto_tree_add_item(tree, hf_zbee_zcl_pwr_prof_energy_remote, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PWR_PROF_SCHED_MODE: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pwr_prof_sched_mode, ett_zbee_zcl_pwr_prof_sched_mode, modes, ENC_NA); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_pwr_prof_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_power_profile_id * DESCRIPTION * this function decodes the power profile custom type * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_power_profile_id(gchar *s, guint8 id) { if (id == 0) { snprintf(s, ITEM_LABEL_LENGTH, "%d (All)", id); } else { snprintf(s, ITEM_LABEL_LENGTH, "%d", id); } } /*decode_power_profile_id*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_price_in_cents * DESCRIPTION * this function decodes price type variable * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_price_in_cents(gchar *s, guint32 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d cents", value); } /* decode_price_in_cents */ /*FUNCTION:------------------------------------------------------ * NAME * decode_power_in_watt * DESCRIPTION * this function decodes watt power type variable * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_power_in_watt(gchar *s, guint16 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d Watt", value); } /* decode_power_in_watt */ /*FUNCTION:------------------------------------------------------ * NAME * decode_energy * DESCRIPTION * this function decodes energy type variable * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_energy(gchar *s, guint16 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d Watt per hours", value); } /* decode_energy */ /*FUNCTION:------------------------------------------------------ * NAME * func_decode_delayinminute * DESCRIPTION * this function decodes minute delay type variable * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void func_decode_delayinminute(gchar *s, guint16 value) { if (value == 0) { snprintf(s, ITEM_LABEL_LENGTH, "%d minutes (Not permitted)", value); } else { snprintf(s, ITEM_LABEL_LENGTH, "%d minutes", value); } } /* func_decode_delayinminute*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_pwr_prof * DESCRIPTION * ZigBee ZCL PowerProfile cluster protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_pwr_prof(void) { guint i, j; static hf_register_info hf[] = { { &hf_zbee_zcl_pwr_prof_tot_prof_num, { "Total Profile Number", "zbee_zcl_general.pwrprof.attr.totprofnum", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_multiple_sched, { "Multiple Scheduling", "zbee_zcl_general.pwrprof.attr.multiplesched", FT_BOOLEAN, BASE_NONE, TFS(&tfs_supported_not_supported), 0x0, NULL, HFILL } }, /* Begin EnergyFormatting fields */ { &hf_zbee_zcl_pwr_prof_energy_format, { "Data", "zbee_zcl_general.pwrprof.attr.energyformat", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_energy_format_rdigit, { "Number of Digits to the right of the Decimal Point", "zbee_zcl_general.pwrprof.attr.energyformat.rdigit", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_OPT_PWRPROF_NUM_R_DIGIT, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_energy_format_ldigit, { "Number of Digits to the left of the Decimal Point", "zbee_zcl_general.pwrprof.attr.energyformat.ldigit", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_OPT_PWRPROF_NUM_L_DIGIT, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_energy_format_noleadingzero, { "Suppress leading zeros.", "zbee_zcl_general.pwrprof.attr.energyformat.noleadingzero", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_OPT_PWRPROF_NO_LEADING_ZERO, NULL, HFILL } }, /* End EnergyFormatting fields */ { &hf_zbee_zcl_pwr_prof_energy_remote, { "Energy Remote", "zbee_zcl_general.pwrprof.attr.energyremote", FT_BOOLEAN, BASE_NONE, TFS(&tfs_enabled_disabled), 0x0, NULL, HFILL } }, /* Begin ScheduleMode fields */ { &hf_zbee_zcl_pwr_prof_sched_mode, { "Schedule Mode", "zbee_zcl_general.pwrprof.attr.schedmode", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_sched_mode_cheapest, { "Schedule Mode Cheapest", "zbee_zcl_general.pwrprof.attr.schedmode.cheapest", FT_BOOLEAN, 8, TFS(&tfs_active_inactive), ZBEE_ZCL_OPT_PWRPROF_SCHED_CHEAPEST, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_sched_mode_greenest, { "Schedule Mode Greenest", "zbee_zcl_general.pwrprof.attr.schedmode.greenest", FT_BOOLEAN, 8, TFS(&tfs_active_inactive), ZBEE_ZCL_OPT_PWRPROF_SCHED_GREENEST, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_sched_mode_reserved, { "Schedule Mode Reserved", "zbee_zcl_general.pwrprof.attr.schedmode.reserved", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_OPT_PWRPROF_SCHED_RESERVED, NULL, HFILL } }, /* End ScheduleMode fields */ { &hf_zbee_zcl_pwr_prof_attr_id, { "Attribute", "zbee_zcl_general.pwrprof.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_pwr_prof_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_srv_tx_cmd_id, { "Command", "zbee_zcl_general.pwrprof.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_pwr_prof_srv_tx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_srv_rx_cmd_id, { "Command", "zbee_zcl_general.pwrprof.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_pwr_prof_srv_rx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_pwr_prof_id, { "Power Profile ID", "zbee_zcl_general.pwrprof.pwrprofid", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_power_profile_id), 0x00, "Identifier of the specific profile", HFILL } }, { &hf_zbee_zcl_pwr_prof_currency, { "Currency", "zbee_zcl_general.pwrprof.currency", FT_UINT16, BASE_HEX, VALS(zbee_zcl_currecy_names), 0x0, "Local unit of currency (ISO 4217) used in the price field.", HFILL } }, { &hf_zbee_zcl_pwr_prof_price, { "Price", "zbee_zcl_general.pwrprof.price", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_price_in_cents), 0x0, "Price of the energy of a specific Power Profile.", HFILL } }, { &hf_zbee_zcl_pwr_prof_price_trailing_digit, { "Price Trailing Digit", "zbee_zcl_general.pwrprof.pricetrailingdigit", FT_UINT8, BASE_DEC, NULL, 0x0, "Number of digits to the right of the decimal point.", HFILL } }, { &hf_zbee_zcl_pwr_prof_num_of_sched_phases, { "Number of Scheduled Phases", "zbee_zcl_general.pwrprof.numofschedphases", FT_UINT8, BASE_DEC, NULL, 0x0, "Total number of the energy phases of the Power Profile that need to be scheduled.", HFILL } }, { &hf_zbee_zcl_pwr_prof_energy_phase_id, { "Energy Phase ID", "zbee_zcl_general.pwrprof.energyphaseid", FT_UINT8, BASE_DEC, NULL, 0x0, "Identifier of the specific phase.", HFILL } }, { &hf_zbee_zcl_pwr_prof_scheduled_time, { "Scheduled Time", "zbee_zcl_general.pwrprof.scheduledtime", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_minutes), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_macro_phase_id, { "Macro Phase ID", "zbee_zcl_general.pwrprof.macrophaseid", FT_UINT8, BASE_DEC, NULL, 0x0, "Identifier of the specific energy phase.", HFILL } }, { &hf_zbee_zcl_pwr_prof_expect_duration, { "Expected Duration", "zbee_zcl_general.pwrprof.expectduration", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_minutes), 0x0, "The estimated duration of the specific phase.", HFILL } }, { &hf_zbee_zcl_pwr_prof_num_of_trans_phases, { "Number of Transferred Phases", "zbee_zcl_general.pwrprof.numoftransphases", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_peak_power, { "Peak Power", "zbee_zcl_general.pwrprof.peakpower", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_power_in_watt), 0x0, "The estimated power for the specific phase.", HFILL } }, { &hf_zbee_zcl_pwr_prof_energy, { "Energy", "zbee_zcl_general.pwrprof.energy", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_energy), 0x0, "The estimated energy consumption for the accounted phase.", HFILL } }, { &hf_zbee_zcl_pwr_prof_max_active_delay, { "Max Activation Delay", "zbee_zcl_general.pwrprof.maxactivdelay", FT_UINT16, BASE_CUSTOM, CF_FUNC(func_decode_delayinminute), 0x0, "The maximum interruption time between the end of the previous phase and the beginning of the specific phase.", HFILL } }, { &hf_zbee_zcl_pwr_prof_pwr_prof_count, { "Power Profile Count", "zbee_zcl_general.pwrprof.pwrprofcount", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_pwr_prof_rem_ctrl, { "Power Profile Remote Control", "zbee_zcl_general.pwrprof.pwrprofremctrl", FT_BOOLEAN, BASE_NONE, TFS(&tfs_enabled_disabled), 0x00, "It indicates if the PowerProfile is currently remotely controllable or not.", HFILL } }, { &hf_zbee_zcl_pwr_prof_pwr_prof_state, { "Power Profile State", "zbee_zcl_general.pwrprof.pwrprofstate", FT_UINT8, BASE_HEX, VALS(zbee_zcl_pwr_prof_state_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_start_after, { "Start After", "zbee_zcl_general.pwrprof.startafter", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_minutes), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_stop_before, { "Stop Before", "zbee_zcl_general.pwrprof.stopbefore", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_minutes), 0x0, NULL, HFILL } }, /* Begin Options fields */ { &hf_zbee_zcl_pwr_prof_options, { "Options", "zbee_zcl_general.pwrprof.options", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_options_01, { "PowerProfileStartTime Field Present", "zbee_zcl_general.pwrprof.options.01", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_OPT_PWRPROF_STIME_PRESENT, NULL, HFILL } }, { &hf_zbee_zcl_pwr_prof_options_res, { "Reserved", "zbee_zcl_general.pwrprof.options.reserved", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_OPT_PWRPROF_RESERVED, NULL, HFILL } }, /* End Options fields */ { &hf_zbee_zcl_pwr_prof_pwr_prof_stime, { "Power Profile Start Time", "zbee_zcl_general.pwrprof.pwrprofstime", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_minutes), 0x0, NULL, HFILL } } }; /* ZCL PowerProfile subtrees */ static gint *ett[ZBEE_ZCL_PWR_PROF_NUM_ETT] = { &ett_zbee_zcl_pwr_prof, &ett_zbee_zcl_pwr_prof_options, &ett_zbee_zcl_pwr_prof_en_format, &ett_zbee_zcl_pwr_prof_sched_mode }; /* initialize attribute subtree types */ for ( i = 0, j = ZBEE_ZCL_PWR_PROF_NUM_GENERIC_ETT; i < ZBEE_ZCL_PWR_PROF_NUM_PWR_PROF_ETT; i++, j++ ) { ett_zbee_zcl_pwr_prof_pwrprofiles[i] = -1; ett[j] = &ett_zbee_zcl_pwr_prof_pwrprofiles[i]; } for ( i = 0; i < ZBEE_ZCL_PWR_PROF_NUM_EN_PHS_ETT; i++, j++ ) { ett_zbee_zcl_pwr_prof_enphases[i] = -1; ett[j] = &ett_zbee_zcl_pwr_prof_enphases[i]; } /* Register the ZigBee ZCL PowerProfile cluster protocol name and description */ proto_zbee_zcl_pwr_prof = proto_register_protocol("ZigBee ZCL Power Profile", "ZCL Power Profile", ZBEE_PROTOABBREV_ZCL_PWRPROF); proto_register_field_array(proto_zbee_zcl_pwr_prof, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Power Profile dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_PWRPROF, dissect_zbee_zcl_pwr_prof, proto_zbee_zcl_pwr_prof); } /* proto_register_zbee_zcl_pwr_prof */ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_pwr_prof * DESCRIPTION * Hands off the Zcl Power Profile cluster dissector. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_pwr_prof(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_PWRPROF, proto_zbee_zcl_pwr_prof, ett_zbee_zcl_pwr_prof, ZBEE_ZCL_CID_POWER_PROFILE, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_pwr_prof_attr_id, hf_zbee_zcl_pwr_prof_attr_id, hf_zbee_zcl_pwr_prof_srv_rx_cmd_id, hf_zbee_zcl_pwr_prof_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_pwr_prof_attr_data ); } /*proto_reg_handoff_zbee_zcl_pwr_prof*/ /* ########################################################################## */ /* #### (0x001B) APPLIANCE CONTROL CLUSTER ################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_APPL_CTRL_NUM_GENERIC_ETT 3 #define ZBEE_ZCL_APPL_CTRL_NUM_FUNC_ETT 32 #define ZBEE_ZCL_APPL_CTRL_NUM_ETT (ZBEE_ZCL_APPL_CTRL_NUM_GENERIC_ETT + \ ZBEE_ZCL_APPL_CTRL_NUM_FUNC_ETT) /* Attributes */ #define ZBEE_ZCL_ATTR_ID_APPL_CTRL_START_TIME 0x0000 /* Start Time */ #define ZBEE_ZCL_ATTR_ID_APPL_CTRL_FINISH_TIME 0x0001 /* Finish Time */ #define ZBEE_ZCL_ATTR_ID_APPL_CTRL_REMAINING_TIME 0x0002 /* Remaining Time */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_APPL_CTRL_EXECUTION_CMD 0x00 /* Execution of a Command */ #define ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE 0x01 /* Signal State */ #define ZBEE_ZCL_CMD_ID_APPL_CTRL_WRITE_FUNCS 0x02 /* Write Functions */ #define ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_PAUSE_RESUME 0x03 /* Overload Pause Resume */ #define ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_PAUSE 0x04 /* Overload Pause */ #define ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_WARNING 0x05 /* Overload Warning */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE_RSP 0x00 /* Signal State Response */ #define ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE_NOTIF 0x01 /* Signal State Notification */ /* Execution Of a Command - Command Ids list */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_RESERVED 0x00 /* Reserved */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_START 0x01 /* Start appliance cycle */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_STOP 0x02 /* Stop appliance cycle */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_PAUSE 0x03 /* Pause appliance cycle */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_START_SUPERFREEZING 0x04 /* Start superfreezing cycle */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_STOP_SUPERFREEZING 0x05 /* Stop superfreezing cycle */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_START_SUPERCOOLING 0x06 /* Start supercooling cycle */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_STOP_SUPERCOOLING 0x07 /* Stop supercooling cycle */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_DISABLE_GAS 0x08 /* Disable gas */ #define ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_ENABLE_GAS 0x09 /* Enable gas */ /* CECED Time mask */ #define ZBEE_ZCL_APPL_CTRL_TIME_MM 0x003f /* Minutes */ #define ZBEE_ZCL_APPL_CTRL_TIME_ENCOD_TYPE 0x00c0 /* Encoding Type */ #define ZBEE_ZCL_APPL_CTRL_TIME_HH 0xff00 /* Hours */ /* Time encoding values */ #define ZBEE_ZCL_APPL_CTRL_TIME_ENCOD_REL 0x00 #define ZBEE_ZCL_APPL_CTRL_TIME_ENCOD_ABS 0x01 /* Overload Warnings */ #define ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_1 0x00 #define ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_2 0x01 #define ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_3 0x02 #define ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_4 0x03 #define ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_5 0x04 /* Appliance Status Ids list */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_RESERVED 0x00 /* Reserved */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_OFF 0x01 /* Appliance in off state */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_STANDBY 0x02 /* Appliance in stand-by */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_PRG 0x03 /* Appliance already programmed */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_PRG_WAITING_TO_START 0x04 /* Appliance already programmed and ready to start */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_RUNNING 0x05 /* Appliance is running */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_PAUSE 0x06 /* Appliance is in pause */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_END_PRG 0x07 /* Appliance end programmed tasks */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_FAILURE 0x08 /* Appliance is in a failure state */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_PRG_INTERRUPTED 0x09 /* The appliance programmed tasks have been interrupted */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_IDLE 0x1a /* Appliance in idle state */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_RINSE_HOLD 0x1b /* Appliance rinse hold */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_SERVICE 0x1c /* Appliance in service state */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_SUPERFREEZING 0x1d /* Appliance in superfreezing state */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_SUPERCOOLING 0x1e /* Appliance in supercooling state */ #define ZBEE_ZCL_APPL_CTRL_ID_STATUS_SUPERHEATING 0x1f /* Appliance in superheating state */ /* Remote Enable Flags mask */ #define ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_FLAGS 0x0f #define ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_STATUS2 0xf0 /* Remote Enable Flags values */ #define ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_DIS 0x00 /* Disabled */ #define ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_EN_REM_EN_CTRL 0x01 /* Enable Remote and Energy Control */ #define ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_TEMP_LOCK_DIS 0x07 /* Temporarily locked/disabled */ #define ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_EN_REM_CTRL 0x0f /* Enable Remote Control */ /* Device Status 2 values */ #define ZBEE_ZCL_APPL_CTRL_STATUS2_PROPRIETARY_0 0x00 /* Proprietary */ #define ZBEE_ZCL_APPL_CTRL_STATUS2_PROPRIETARY_1 0x01 /* Proprietary */ #define ZBEE_ZCL_APPL_CTRL_STATUS2_IRIS_SYMPTOM_CODE 0x02 /* Iris symptom code */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_appl_ctrl(void); void proto_reg_handoff_zbee_zcl_appl_ctrl(void); /* Command Dissector Helpers */ static void dissect_zcl_appl_ctrl_exec_cmd (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_appl_ctrl_attr_func (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_appl_ctrl_wr_funcs (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_appl_ctrl_ovrl_warning (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_appl_ctrl_signal_state_rsp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_appl_ctrl_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_appl_ctrl = -1; static int hf_zbee_zcl_appl_ctrl_attr_id = -1; static int hf_zbee_zcl_appl_ctrl_time = -1; static int hf_zbee_zcl_appl_ctrl_time_mm = -1; static int hf_zbee_zcl_appl_ctrl_time_encoding_type = -1; static int hf_zbee_zcl_appl_ctrl_time_hh = -1; static int hf_zbee_zcl_appl_ctrl_srv_tx_cmd_id = -1; static int hf_zbee_zcl_appl_ctrl_srv_rx_cmd_id = -1; static int hf_zbee_zcl_appl_ctrl_exec_cmd_id = -1; static int hf_zbee_zcl_appl_ctrl_attr_func_id = -1; static int hf_zbee_zcl_appl_ctrl_attr_func_data_type = -1; static int hf_zbee_zcl_appl_ctrl_warning_id = -1; static int hf_zbee_zcl_appl_ctrl_appl_status = -1; static int hf_zbee_zcl_appl_ctrl_rem_en_flags_raw = -1; static int hf_zbee_zcl_appl_ctrl_rem_en_flags = -1; static int hf_zbee_zcl_appl_ctrl_status2 = -1; static int hf_zbee_zcl_appl_ctrl_status2_array = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_appl_ctrl = -1; static gint ett_zbee_zcl_appl_ctrl_flags = -1; static gint ett_zbee_zcl_appl_ctrl_time = -1; static gint ett_zbee_zcl_appl_ctrl_func[ZBEE_ZCL_APPL_CTRL_NUM_FUNC_ETT]; /* Attributes */ static const value_string zbee_zcl_appl_ctrl_attr_names[] = { { ZBEE_ZCL_ATTR_ID_APPL_CTRL_START_TIME, "Start Time" }, { ZBEE_ZCL_ATTR_ID_APPL_CTRL_FINISH_TIME, "Finish Time" }, { ZBEE_ZCL_ATTR_ID_APPL_CTRL_REMAINING_TIME, "Remaining Time" }, { 0, NULL } }; static value_string_ext zbee_zcl_appl_ctrl_attr_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_appl_ctrl_attr_names); /* Server Commands Received */ static const value_string zbee_zcl_appl_ctrl_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_APPL_CTRL_EXECUTION_CMD, "Execution of a Command" }, { ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE, "Signal State" }, { ZBEE_ZCL_CMD_ID_APPL_CTRL_WRITE_FUNCS, "Write Functions" }, { ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_PAUSE_RESUME, "Overload Pause Resume" }, { ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_PAUSE, "Overload Pause" }, { ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_WARNING, "Overload Warning" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_appl_ctrl_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE_RSP, "Signal State Response" }, { ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE_NOTIF, "Signal State Notification" }, { 0, NULL } }; /* Execution Of a Command - Command Name */ static const value_string zbee_zcl_appl_ctrl_exec_cmd_names[] = { { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_RESERVED, "Reserved" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_START, "Start" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_STOP, "Stop" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_PAUSE, "Pause" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_START_SUPERFREEZING, "Start Superfreezing" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_STOP_SUPERFREEZING, "Stop Superfreezing" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_START_SUPERCOOLING, "Start Supercooling" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_STOP_SUPERCOOLING, "Stop Supercooling" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_DISABLE_GAS, "Disable Gas" }, { ZBEE_ZCL_APPL_CTRL_EXEC_CMD_ID_ENABLE_GAS, "Enable Gas" }, { 0, NULL } }; /* Appliance Status Names list */ static const value_string zbee_zcl_appl_ctrl_appl_status_names[] = { { ZBEE_ZCL_APPL_CTRL_ID_STATUS_RESERVED, "Reserved" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_OFF, "Off" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_STANDBY, "Stand-by" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_PRG, "Programmed" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_PRG_WAITING_TO_START, "Waiting to Start" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_RUNNING, "Running" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_PAUSE, "Pause" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_END_PRG, "End Programmed" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_FAILURE, "Failure" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_PRG_INTERRUPTED, "Programme Interrupted" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_IDLE, "Idle" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_RINSE_HOLD, "Raise Hold" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_SERVICE, "Service" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_SUPERFREEZING, "Superfreezing" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_SUPERCOOLING, "Supercooling" }, { ZBEE_ZCL_APPL_CTRL_ID_STATUS_SUPERHEATING, "Superheating" }, { 0, NULL } }; /* Remote Enable Flags Names list */ static const value_string zbee_zcl_appl_ctrl_rem_flags_names[] = { { ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_DIS, "Disable" }, { ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_EN_REM_EN_CTRL, "Enable Remote and Energy Control" }, { ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_TEMP_LOCK_DIS, "Temporarily locked/disabled" }, { ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_EN_REM_CTRL, "Enable Remote Control" }, { 0, NULL } }; /* Appliance Status 2 Names list */ static const value_string zbee_zcl_appl_ctrl_status2_names[] = { { ZBEE_ZCL_APPL_CTRL_STATUS2_PROPRIETARY_0, "Proprietary" }, { ZBEE_ZCL_APPL_CTRL_STATUS2_PROPRIETARY_1, "Proprietary" }, { ZBEE_ZCL_APPL_CTRL_STATUS2_IRIS_SYMPTOM_CODE, "Iris symptom code" }, { 0, NULL } }; /* Overload Warning Names list */ static const value_string zbee_zcl_appl_ctrl_ovrl_warning_names[] = { { ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_1, "Overall power above 'available power' level" }, { ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_2, "Overall power above 'power threshold' level" }, { ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_3, "Overall power back below the 'available power' level" }, { ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_4, "Overall power back below the 'power threshold' level" }, { ZBEE_ZCL_APPL_CTRL_ID_OVRL_WARN_5, "Overall power will be potentially above 'available power' level if the appliance starts" }, { 0, NULL } }; /* CEDEC Time Encoding Names list */ static const value_string zbee_zcl_appl_ctrl_time_encoding_type_names[] = { { ZBEE_ZCL_APPL_CTRL_TIME_ENCOD_REL, "Relative" }, { ZBEE_ZCL_APPL_CTRL_TIME_ENCOD_ABS, "Absolute" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_appl_ctrl * DESCRIPTION * ZigBee ZCL Appliance Control cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * void *data - pointer to ZCL packet structure. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_appl_ctrl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_appl_ctrl_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_appl_ctrl_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_appl_ctrl, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_APPL_CTRL_EXECUTION_CMD: dissect_zcl_appl_ctrl_exec_cmd(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE: case ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_PAUSE_RESUME: case ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_PAUSE: /* No payload */ break; case ZBEE_ZCL_CMD_ID_APPL_CTRL_WRITE_FUNCS: dissect_zcl_appl_ctrl_wr_funcs(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_APPL_CTRL_OVERLOAD_WARNING: dissect_zcl_appl_ctrl_ovrl_warning(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_appl_ctrl_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_appl_ctrl_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_appl_ctrl, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE_RSP: case ZBEE_ZCL_CMD_ID_APPL_CTRL_SIGNAL_STATE_NOTIF: dissect_zcl_appl_ctrl_signal_state_rsp(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_appl_ctrl_exec_cmd * DESCRIPTION * this function is called in order to decode "ExecutionOfACommand" * payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_appl_ctrl_exec_cmd(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Command Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_ctrl_exec_cmd_id, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_appl_ctrl_exec_cmd*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_appl_ctrl_attr_func * DESCRIPTION * this function is called in order to decode "Function" element. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_appl_ctrl_attr_func(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 func_data_type; guint16 func_id; /* ID */ func_id = tvb_get_letohs(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_appl_ctrl_attr_func_id, tvb, *offset, 2,ENC_LITTLE_ENDIAN); *offset += 2; proto_item_append_text(tree, ", %s", val_to_str_ext_const(func_id, &zbee_zcl_appl_ctrl_attr_names_ext, "Reserved")); /* Data Type */ func_data_type = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_appl_ctrl_attr_func_data_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Function Data Dissector */ dissect_zcl_appl_ctrl_attr_data(tree, tvb, offset, func_id, func_data_type, FALSE); } /*dissect_zcl_appl_ctrl_attr_func*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_appl_ctrl_wr_funcs * DESCRIPTION * this function is called in order to decode "WriteFunctions" * payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_appl_ctrl_wr_funcs(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree *sub_tree = NULL; guint tvb_len; guint i = 0; tvb_len = tvb_reported_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_APPL_CTRL_NUM_FUNC_ETT ) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 0, ett_zbee_zcl_appl_ctrl_func[i], NULL, "Function #%d", i); i++; /* Dissect the attribute identifier */ dissect_zcl_appl_ctrl_attr_func(tvb, sub_tree, offset); } } /*dissect_zcl_appl_ctrl_wr_funcs*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_appl_ctrl_ovrl_warning * DESCRIPTION * this function is called in order to decode "OverloadWarning" * payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_appl_ctrl_ovrl_warning(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Warning Id" field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_ctrl_warning_id, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_appl_ctrl_ovrl_warning*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_appl_ctrl_signal_state_rsp * DESCRIPTION * this function is called in order to decode "SignalStateResponse" * "SignalStateNotification" payload. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * guint *offset - pointer to buffer offset * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_appl_ctrl_signal_state_rsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const flags[] = { &hf_zbee_zcl_appl_ctrl_rem_en_flags, &hf_zbee_zcl_appl_ctrl_status2, NULL }; /* Retrieve "Appliance Status" field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_ctrl_appl_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Remote Enable" field */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_appl_ctrl_rem_en_flags_raw, ett_zbee_zcl_appl_ctrl_flags, flags, ENC_NA); *offset += 1; /* Retrieve "Appliance Status 2" field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_ctrl_status2_array, tvb, *offset, 3, ENC_BIG_ENDIAN); } /*dissect_zcl_appl_ctrl_signal_state_rsp*/ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_appl_ctrl_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_appl_ctrl_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const flags[] = { &hf_zbee_zcl_appl_ctrl_time_mm, &hf_zbee_zcl_appl_ctrl_time_encoding_type, &hf_zbee_zcl_appl_ctrl_time_hh, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_APPL_CTRL_START_TIME: case ZBEE_ZCL_ATTR_ID_APPL_CTRL_FINISH_TIME: case ZBEE_ZCL_ATTR_ID_APPL_CTRL_REMAINING_TIME: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_appl_ctrl_time, ett_zbee_zcl_appl_ctrl_time, flags, ENC_LITTLE_ENDIAN); *offset += 2; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_appl_ctrl_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_appl_ctrl * DESCRIPTION * this function registers the ZCL Appliance Control dissector * and all its information. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_register_zbee_zcl_appl_ctrl(void) { guint i, j; static hf_register_info hf[] = { { &hf_zbee_zcl_appl_ctrl_attr_id, { "Attribute", "zbee_zcl_general.applctrl.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_ctrl_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_time, { "Data", "zbee_zcl_general.applctrl.time", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_time_mm, { "Minutes", "zbee_zcl_general.applctrl.time.mm", FT_UINT16, BASE_DEC, NULL, ZBEE_ZCL_APPL_CTRL_TIME_MM, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_time_encoding_type, { "Encoding Type", "zbee_zcl_general.applctrl.time.encoding_type", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_ctrl_time_encoding_type_names), ZBEE_ZCL_APPL_CTRL_TIME_ENCOD_TYPE, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_time_hh, { "Hours", "zbee_zcl_general.applctrl.time.hh", FT_UINT16, BASE_DEC, NULL, ZBEE_ZCL_APPL_CTRL_TIME_HH, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_srv_tx_cmd_id, { "Command", "zbee_zcl_general.applctrl.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_ctrl_srv_tx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_srv_rx_cmd_id, { "Command", "zbee_zcl_general.applctrl.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_ctrl_srv_rx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_appl_status, { "Appliance Status", "zbee_zcl_general.applctrl.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_ctrl_appl_status_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_rem_en_flags_raw, { "Remote Enable Flags", "zbee_zcl_general.applctrl.remote_enable_flags", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_rem_en_flags, { "Remote Enable Flags", "zbee_zcl_general.applctrl.remenflags", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_ctrl_rem_flags_names), ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_FLAGS, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_status2, { "Appliance Status 2", "zbee_zcl_general.applctrl.status2", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_ctrl_status2_names), ZBEE_ZCL_APPL_CTRL_REM_EN_FLAGS_STATUS2, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_status2_array, { "Appliance Status 2", "zbee_zcl_general.applctrl.status2.array", FT_UINT24, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_exec_cmd_id, { "Command", "zbee_zcl_general.applctrl.execcmd.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_ctrl_exec_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_attr_func_id, { "ID", "zbee_zcl_general.applctrl.attr_func.id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_ctrl_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_attr_func_data_type, { "Data Type", "zbee_zcl_general.applctrl.attr_func.datatype", FT_UINT8, BASE_HEX, VALS(zbee_zcl_short_data_type_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_ctrl_warning_id, { "Warning", "zbee_zcl_general.applctrl.ovrlwarning.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_ctrl_ovrl_warning_names), 0x0, NULL, HFILL } } }; /* ZCL ApplianceControl subtrees */ gint *ett[ZBEE_ZCL_APPL_CTRL_NUM_ETT] = { &ett_zbee_zcl_appl_ctrl, &ett_zbee_zcl_appl_ctrl_flags, &ett_zbee_zcl_appl_ctrl_time }; /* initialize attribute subtree types */ for ( i = 0, j = ZBEE_ZCL_APPL_CTRL_NUM_GENERIC_ETT; i < ZBEE_ZCL_APPL_CTRL_NUM_FUNC_ETT; i++, j++) { ett_zbee_zcl_appl_ctrl_func[i] = -1; ett[j] = &ett_zbee_zcl_appl_ctrl_func[i]; } /* Register the ZigBee ZCL ApplianceControl cluster protocol name and description */ proto_zbee_zcl_appl_ctrl = proto_register_protocol("ZigBee ZCL Appliance Control", "ZCL Appliance Control", ZBEE_PROTOABBREV_ZCL_APPLCTRL); proto_register_field_array(proto_zbee_zcl_appl_ctrl, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Appliance Control dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_APPLCTRL, dissect_zbee_zcl_appl_ctrl, proto_zbee_zcl_appl_ctrl); } /*proto_register_zbee_zcl_appl_ctrl*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_appl_ctrl * DESCRIPTION * Hands off the Zcl Appliance Control dissector. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_appl_ctrl(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_APPLCTRL, proto_zbee_zcl_appl_ctrl, ett_zbee_zcl_appl_ctrl, ZBEE_ZCL_CID_APPLIANCE_CONTROL, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_appl_ctrl_attr_id, hf_zbee_zcl_appl_ctrl_attr_id, hf_zbee_zcl_appl_ctrl_srv_rx_cmd_id, hf_zbee_zcl_appl_ctrl_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_appl_ctrl_attr_data ); } /*proto_reg_handoff_zbee_zcl_appl_ctrl*/ /* ########################################################################## */ /* #### (0x0020) POLL CONTROL CLUSTER ####################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Poll Control Attributes */ #define ZBEE_ZCL_ATTR_ID_POLL_CTRL_CHECK_IN 0x0000 #define ZBEE_ZCL_ATTR_ID_POLL_CTRL_LONG_POLL 0x0001 #define ZBEE_ZCL_ATTR_ID_POLL_CTRL_SHORT_POLL 0x0002 #define ZBEE_ZCL_ATTR_ID_POLL_CTRL_FAST_POLL 0x0003 #define ZBEE_ZCL_ATTR_ID_POLL_CTRL_CHECK_IN_MIN 0x0004 #define ZBEE_ZCL_ATTR_ID_POLL_CTRL_LONG_POLL_MIN 0x0005 #define ZBEE_ZCL_ATTR_ID_POLL_CTRL_FAST_POLL_TIMEOUT 0x0006 static const value_string zbee_zcl_poll_ctrl_attr_names[] = { { ZBEE_ZCL_ATTR_ID_POLL_CTRL_CHECK_IN, "Check-inInterval" }, { ZBEE_ZCL_ATTR_ID_POLL_CTRL_LONG_POLL, "LongPollInterval" }, { ZBEE_ZCL_ATTR_ID_POLL_CTRL_SHORT_POLL, "ShortPollInterval" }, { ZBEE_ZCL_ATTR_ID_POLL_CTRL_FAST_POLL, "FastPollTimeout" }, { ZBEE_ZCL_ATTR_ID_POLL_CTRL_CHECK_IN_MIN, "Check-inIntervalMin" }, { ZBEE_ZCL_ATTR_ID_POLL_CTRL_LONG_POLL_MIN, "LongPollIntervalMin" }, { ZBEE_ZCL_ATTR_ID_POLL_CTRL_FAST_POLL_TIMEOUT, "FastPollTimeoutMax" }, { 0, NULL } }; /* Server-to-client command IDs. */ #define ZBEE_ZCL_CMD_ID_POLL_CTRL_CHECK_IN 0x00 static const value_string zbee_zcl_poll_ctrl_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_POLL_CTRL_CHECK_IN, "Check-in" }, { 0, NULL } }; /* Client-to-server command IDs. */ #define ZBEE_ZCL_CMD_ID_POLL_CTRL_CHECK_IN_RESPONSE 0x00 #define ZBEE_ZCL_CMD_ID_POLL_CTRL_FAST_POLL_STOP 0x01 #define ZBEE_ZCL_CMD_ID_POLL_CTRL_SET_LONG_POLL 0x02 #define ZBEE_ZCL_CMD_ID_POLL_CTRL_SET_SHORT_POLL 0x03 static const value_string zbee_zcl_poll_ctrl_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_POLL_CTRL_CHECK_IN_RESPONSE, "Check-in Response" }, { ZBEE_ZCL_CMD_ID_POLL_CTRL_FAST_POLL_STOP, "Fast Poll Stop" }, { ZBEE_ZCL_CMD_ID_POLL_CTRL_SET_LONG_POLL, "Set Long Poll Interval" }, { ZBEE_ZCL_CMD_ID_POLL_CTRL_SET_SHORT_POLL, "Set Short Poll Interval" }, { 0, NULL } }; /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_poll_ctrl = -1; static int hf_zbee_zcl_poll_ctrl_attr_id = -1; static int hf_zbee_zcl_poll_ctrl_srv_rx_cmd_id = -1; static int hf_zbee_zcl_poll_ctrl_srv_tx_cmd_id = -1; static int hf_zbee_zcl_poll_ctrl_start_fast_polling = -1; static int hf_zbee_zcl_poll_ctrl_fast_poll_timeout = -1; static int hf_zbee_zcl_poll_ctrl_new_long_poll_interval = -1; static int hf_zbee_zcl_poll_ctrl_new_short_poll_interval = -1; static gint ett_zbee_zcl_poll_ctrl = -1; /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_poll_ctrl(void); void proto_reg_handoff_zbee_zcl_poll_ctrl(void); /*FUNCTION:------------------------------------------------------ * NAME * dissect_zbee_zcl_poll_ctrl * DESCRIPTION * ZigBee ZCL Poll Control cluster dissector for wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * void *data - pointer to ZCL packet structure. * RETURNS * int - length of parsed data. *--------------------------------------------------------------- */ static int dissect_zbee_zcl_poll_ctrl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_poll_ctrl_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_poll_ctrl_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset++; /* Handle the command dissection. */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_POLL_CTRL_CHECK_IN_RESPONSE: proto_tree_add_item(tree, hf_zbee_zcl_poll_ctrl_start_fast_polling, tvb, offset, 1, ENC_NA); offset++; proto_tree_add_item(tree, hf_zbee_zcl_poll_ctrl_fast_poll_timeout, tvb, offset, 2, ENC_LITTLE_ENDIAN); break; case ZBEE_ZCL_CMD_ID_POLL_CTRL_FAST_POLL_STOP: /* no payload. */ break; case ZBEE_ZCL_CMD_ID_POLL_CTRL_SET_LONG_POLL: proto_tree_add_item(tree, hf_zbee_zcl_poll_ctrl_new_long_poll_interval, tvb, offset, 4, ENC_LITTLE_ENDIAN); break; case ZBEE_ZCL_CMD_ID_POLL_CTRL_SET_SHORT_POLL: proto_tree_add_item(tree, hf_zbee_zcl_poll_ctrl_new_short_poll_interval, tvb, offset, 2, ENC_LITTLE_ENDIAN); break; default: break; } /* switch */ } else { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_poll_ctrl_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_poll_ctrl_srv_tx_cmd_id, tvb, offset, 1, ENC_NA); offset++; /* Handle the command dissection. */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_POLL_CTRL_CHECK_IN: /* No payload - fall through. */ default: break; } /* switch */ } return tvb_captured_length(tvb); } /* dissect_zbee_zcl_poll_ctrl */ /*FUNCTION:------------------------------------------------------ * NAME * dissect_zcl_poll_ctrl_attr_data * DESCRIPTION * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * PARAMETERS * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * tvbuff_t *tvb - pointer to buffer containing raw packet. * guint *offset - pointer to buffer offset * guint16 attr_id - attribute identifier * guint data_type - attribute data type * gboolean client_attr- ZCL client * RETURNS * none *--------------------------------------------------------------- */ static void dissect_zcl_poll_ctrl_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id _U_, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); } /*dissect_zcl_poll_ctrl_attr_data*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zbee_zcl_poll_ctrl * DESCRIPTION * ZigBee ZCL Poll Control cluster protocol registration. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zbee_zcl_poll_ctrl(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_poll_ctrl_attr_id, { "Attribute", "zbee_zcl_general.poll.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_poll_ctrl_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_poll_ctrl_srv_rx_cmd_id, { "Command", "zbee_zcl_general.poll.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_poll_ctrl_srv_rx_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_poll_ctrl_srv_tx_cmd_id, { "Command", "zbee_zcl_general.poll.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_poll_ctrl_srv_tx_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_poll_ctrl_start_fast_polling, { "Start Fast Polling", "zbee_zcl_general.poll.start", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_poll_ctrl_fast_poll_timeout, { "Fast Poll Timeout (quarterseconds)", "zbee_zcl_general.poll.fast_timeout", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_poll_ctrl_new_long_poll_interval, { "New Long Poll Interval", "zbee_zcl_general.poll.new_long_interval", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_poll_ctrl_new_short_poll_interval, { "New Short Poll Interval", "zbee_zcl_general.poll.new_short_interval", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }} }; /* ZCL Poll Control subtrees */ static gint *ett[] = { &ett_zbee_zcl_poll_ctrl }; /* Register the ZigBee ZCL Poll Control cluster protocol name and description */ proto_zbee_zcl_poll_ctrl = proto_register_protocol("ZigBee ZCL Poll Control", "ZCL Poll Control", ZBEE_PROTOABBREV_ZCL_POLL); proto_register_field_array(proto_zbee_zcl_poll_ctrl, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Poll Control dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_POLL, dissect_zbee_zcl_poll_ctrl, proto_zbee_zcl_poll_ctrl); } /*proto_register_zbee_zcl_poll_ctrl*/ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zbee_zcl_poll_ctrl * DESCRIPTION * Hands off the ZCL Poll Control dissector. * PARAMETERS * none * RETURNS * none *--------------------------------------------------------------- */ void proto_reg_handoff_zbee_zcl_poll_ctrl(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_POLL, proto_zbee_zcl_poll_ctrl, ett_zbee_zcl_poll_ctrl, ZBEE_ZCL_CID_POLL_CONTROL, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_poll_ctrl_attr_id, hf_zbee_zcl_poll_ctrl_attr_id, hf_zbee_zcl_poll_ctrl_srv_rx_cmd_id, hf_zbee_zcl_poll_ctrl_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_poll_ctrl_attr_data ); } /*proto_reg_handoff_zbee_zcl_poll_ctrl*/ /* ########################################################################## */ /* #### (0x0021) GREEN POWER CLUSTER ######################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Green Power Attributes */ #define ZBEE_ZCL_ATTR_GPS_MAX_SINK_TABLE_ENTRIES 0x0000 #define ZBEE_ZCL_ATTR_GPS_SINK_TABLE 0x0001 #define ZBEE_ZCL_ATTR_GPS_COMMUNICATION_MODE 0x0002 #define ZBEE_ZCL_ATTR_GPS_COMMISSIONING_EXIT_MODE 0x0003 #define ZBEE_ZCL_ATTR_GPS_COMMISSIONING_WINDOW 0x0004 #define ZBEE_ZCL_ATTR_GPS_SECURITY_LEVEL 0x0005 #define ZBEE_ZCL_ATTR_GPS_FUNCTIONALITY 0x0006 #define ZBEE_ZCL_ATTR_GPS_ACTIVE_FUNCTIONALITY 0x0007 #define ZBEE_ZCL_ATTR_GPP_MAX_PROXY_TABLE_ENTRIES 0x0010 #define ZBEE_ZCL_ATTR_GPP_PROXY_TABLE 0x0011 #define ZBEE_ZCL_ATTR_GPP_NOTIFICATION_RETRY_NUMBER 0x0012 #define ZBEE_ZCL_ATTR_GPP_NOTIFICATION_RETRY_TIMER 0x0013 #define ZBEE_ZCL_ATTR_GPP_MAX_SEARCH_COUNTER 0x0014 #define ZBEE_ZCL_ATTR_GPP_BLOCKED_GPDID 0x0015 #define ZBEE_ZCL_ATTR_GPP_FUNCTIONALITY 0x0016 #define ZBEE_ZCL_ATTR_GPP_ACTIVE_FUNCTIONALITY 0x0017 #define ZBEE_ZCL_ATTR_GP_SHARED_SECURITY_KEY_TYPE 0x0020 #define ZBEE_ZCL_ATTR_GP_SHARED_SECURITY_KEY 0x0021 #define ZBEE_ZCL_ATTR_GP_LINK_KEY 0x0022 static const value_string zbee_zcl_gp_attr_names[] = { { ZBEE_ZCL_ATTR_GPS_MAX_SINK_TABLE_ENTRIES, "gpsMaxSinkTableEntries" }, { ZBEE_ZCL_ATTR_GPS_SINK_TABLE, "SinkTable" }, { ZBEE_ZCL_ATTR_GPS_COMMUNICATION_MODE, "gpsCommunicationMode" }, { ZBEE_ZCL_ATTR_GPS_COMMISSIONING_EXIT_MODE, "gpsCommissioningExitMode" }, { ZBEE_ZCL_ATTR_GPS_COMMISSIONING_WINDOW, "gpsCommissioningWindow" }, { ZBEE_ZCL_ATTR_GPS_SECURITY_LEVEL, "gpsSecurityLevel" }, { ZBEE_ZCL_ATTR_GPS_FUNCTIONALITY, "gpsFunctionality" }, { ZBEE_ZCL_ATTR_GPS_ACTIVE_FUNCTIONALITY, "gpsActiveFunctionality" }, { ZBEE_ZCL_ATTR_GPP_MAX_PROXY_TABLE_ENTRIES, "gppMaxProxyTableEntries" }, { ZBEE_ZCL_ATTR_GPP_PROXY_TABLE, "ProxyTable" }, { ZBEE_ZCL_ATTR_GPP_NOTIFICATION_RETRY_NUMBER, "gppNotificationRetryNumber" }, { ZBEE_ZCL_ATTR_GPP_NOTIFICATION_RETRY_TIMER, "gppNotificationRetryTimer" }, { ZBEE_ZCL_ATTR_GPP_MAX_SEARCH_COUNTER, "gppMaxSearchCounter" }, { ZBEE_ZCL_ATTR_GPP_BLOCKED_GPDID, "gppBlockedGPDID" }, { ZBEE_ZCL_ATTR_GPP_FUNCTIONALITY, "gppFunctionality" }, { ZBEE_ZCL_ATTR_GPP_ACTIVE_FUNCTIONALITY, "gppActiveFunctionality" }, { ZBEE_ZCL_ATTR_GP_SHARED_SECURITY_KEY_TYPE, "gpSharedSecurityKeyType" }, { ZBEE_ZCL_ATTR_GP_SHARED_SECURITY_KEY, "gpSharedSecurityKey" }, { ZBEE_ZCL_ATTR_GP_LINK_KEY, "gpLinkKey" }, { 0, NULL } }; /* Server-to-client command IDs. */ #define ZBEE_ZCL_CMD_ID_GP_NOTIFICATION_RESPONSE 0x00 #define ZBEE_ZCL_CMD_ID_GP_PAIRING 0x01 #define ZBEE_ZCL_CMD_ID_GP_PROXY_COMMISSIONING_MODE 0x02 #define ZBEE_ZCL_CMD_ID_GP_RESPONSE 0x06 #define ZBEE_ZCL_CMD_ID_GP_TRANS_TBL_RESPONSE 0x08 #define ZBEE_ZCL_CMD_ID_GP_SINK_TABLE_RESPONSE 0x0a #define ZBEE_ZCL_CMD_ID_GP_PROXY_TABLE_REQUEST 0x0b static const value_string zbee_zcl_gp_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_GP_NOTIFICATION_RESPONSE, "GP Notification Response" }, { ZBEE_ZCL_CMD_ID_GP_PAIRING, "GP Pairing" }, { ZBEE_ZCL_CMD_ID_GP_PROXY_COMMISSIONING_MODE, "GP Proxy Commissioning Mode" }, { ZBEE_ZCL_CMD_ID_GP_RESPONSE, "GP Response" }, { ZBEE_ZCL_CMD_ID_GP_TRANS_TBL_RESPONSE, "GP Translation Table Response" }, { ZBEE_ZCL_CMD_ID_GP_SINK_TABLE_RESPONSE, "GP Sink Table Response" }, { ZBEE_ZCL_CMD_ID_GP_PROXY_TABLE_REQUEST, "GP Proxy Table Request" }, { 0, NULL } }; /* Client-to-server command IDs. */ #define ZBEE_CMD_ID_GP_NOTIFICATION 0x00 #define ZBEE_CMD_ID_GP_PAIRING_SEARCH 0x01 #define ZBEE_CMD_ID_GP_TUNNELING_STOP 0x03 #define ZBEE_CMD_ID_GP_COMMISSIONING_NOTIFICATION 0x04 #define ZBEE_CMD_ID_GP_SINK_COMMISSIONING_MODE 0x05 #define ZBEE_CMD_ID_GP_TRANSLATION_TABLE_UPDATE_COMMAND 0x07 #define ZBEE_CMD_ID_GP_TRANSLATION_TABLE_REQUEST 0x08 #define ZBEE_CMD_ID_GP_PAIRING_CONFIGURATION 0x09 #define ZBEE_CMD_ID_GP_SINK_TABLE_REQUEST 0x0a #define ZBEE_CMD_ID_GP_PROXY_TABLE_RESPONSE 0x0b static const value_string zbee_zcl_gp_srv_rx_cmd_names[] = { { ZBEE_CMD_ID_GP_NOTIFICATION, "GP Notification" }, { ZBEE_CMD_ID_GP_PAIRING_SEARCH, "GP Pairing Search" }, { ZBEE_CMD_ID_GP_TUNNELING_STOP, "GP Tunneling Stop" }, { ZBEE_CMD_ID_GP_COMMISSIONING_NOTIFICATION, "GP Commissioning Notification" }, { ZBEE_CMD_ID_GP_SINK_COMMISSIONING_MODE, "GP Sink Commissioning Mode" }, { ZBEE_CMD_ID_GP_TRANSLATION_TABLE_UPDATE_COMMAND, "GP Translation Table Update" }, { ZBEE_CMD_ID_GP_TRANSLATION_TABLE_REQUEST, "GP Translation Table Request" }, { ZBEE_CMD_ID_GP_PAIRING_CONFIGURATION, "GP Pairing Configuration" }, { ZBEE_CMD_ID_GP_SINK_TABLE_REQUEST, "GP Sink Table Request" }, { ZBEE_CMD_ID_GP_PROXY_TABLE_RESPONSE, "GP Proxy Table Response" }, { 0, NULL } }; static const value_string zbee_zcl_gp_comm_mode_actions[] = { { 0, "Exit commissioning mode" }, { 1, "Enter commissioning mode" }, { 0, NULL } }; static const value_string zbee_zcl_gp_app_ids[] = { { 0, "0b000 4b SrcID; no Endpoint" }, { 2, "0b010 8b IEEE; Endpoint presents" }, { 0, NULL } }; static const value_string zbee_zcl_gp_secur_levels[] = { { 0, "No security" }, { 1, "Reserved" }, { 2, "4B frame counter and 4B MIC only" }, { 3, "Encryption & 4B frame counter and 4B MIC" }, { 0, NULL } }; static const value_string zbee_zcl_gp_secur_key_types[] = { { 0, "No key" }, { 1, "ZigBee NWK key" }, { 2, "GPD group key" }, { 3, "NWK-key derived GPD group key" }, { 4, "(individual) out-of-the-box GPD key" }, { 7, "Derived individual GPD key" }, { 0, NULL } }; static const value_string zbee_zcl_gp_communication_modes[] = { { 0, "Full unicast" }, { 1, "Groupcast to DGroupID" }, { 2, "Groupcast to pre-commissioned GroupID" }, { 3, "Lightweight unicast" }, { 0, NULL } }; static const value_string zbee_zcl_gp_lqi_vals[] = { { 0, "Poor" }, { 1, "Moderate" }, { 2, "High" }, { 3, "Excellent" }, { 0, NULL } }; static const value_string zbee_zcl_gp_channels[] = { { 0, "Channel 11" }, { 1, "Channel 12" }, { 2, "Channel 13" }, { 3, "Channel 14" }, { 4, "Channel 15" }, { 5, "Channel 16" }, { 6, "Channel 17" }, { 7, "Channel 18" }, { 8, "Channel 19" }, { 9, "Channel 20" }, { 10, "Channel 21" }, { 11, "Channel 22" }, { 12, "Channel 23" }, { 13, "Channel 24" }, { 14, "Channel 25" }, { 15, "Channel 26" }, { 0, NULL } }; static const value_string zbee_gp_pc_actions[] = { { 0, "No action" }, { 1, "Extend Sink Table entry" }, { 2, "Replace Sink Table entry" }, { 3, "Remove a pairing" }, { 4, "Remove GPD" }, { 0, NULL } }; static const value_string zbee_zcl_gp_proxy_sink_tbl_req_type[] = { { 0, "Request table entries by GPD ID" }, { 1, "Request table entries by Index" }, { 0, NULL } }; #define ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ACTION 1 #define ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_EXIT_MODE (7<<1) #define ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ON_COMMISSIONING_WINDOW_EXPIRATION ((1<<0)<<1) #define ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ON_PAIRING_SUCCESS ((1<<1)<<1) #define ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ON_GP_PROXY_COMM_MODE ((1<<2)<<1) #define ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_CHANNEL_PRESENT (1<<4) #define ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_UNICAST (1<<5) #define ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_APP_ID (7<<0) #define ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_RX_AFTER_TX (1<<3) #define ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_SECUR_LEVEL (3<<4) #define ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_SECUR_KEY_TYPE (7<<6) #define ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_SECUR_FAILED (1<<9) #define ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_BIDIR_CAP (1<<10) #define ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_PROXY_INFO_PRESENT (1<<11) #define ZBEE_ZCL_GP_GPP_GPD_LINK_RSSI 0x3f #define ZBEE_ZCL_GP_GPP_GPD_LINK_LQI (3<<6) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_APP_ID (7<<0) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_ALSO_UNICAST (1<<3) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_ALSO_DERIVED_GROUP (1<<4) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_ALSO_COMMISSIONED_GROUP (1<<5) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_SECUR_LEVEL (3<<6) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_SECUR_KEY_TYPE (7<<8) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_RX_AFTER_TX (1<<11) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_TX_Q_FULL (1<<12) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_BIDIR_CAP (1<<13) #define ZBEE_ZCL_GP_NOTIFICATION_OPTION_PROXY_INFO_PRESENT (1<<14) #define ZBEE_ZCL_GP_PAIRING_OPTION_APP_ID (7<<0) #define ZBEE_ZCL_GP_PAIRING_OPTION_ADD_SINK (1<<3) #define ZBEE_ZCL_GP_PAIRING_OPTION_REMOVE_GPD (1<<4) #define ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE (3<<5) #define ZBEE_ZCL_GP_PAIRING_OPTION_GPD_FIXED (1<<7) #define ZBEE_ZCL_GP_PAIRING_OPTION_GPD_MAC_SEQ_NUM_CAP (1<<8) #define ZBEE_ZCL_GP_PAIRING_OPTION_SECUR_LEVEL (3<<9) #define ZBEE_ZCL_GP_PAIRING_OPTION_SECUR_KEY_TYPE (7<<11) #define ZBEE_ZCL_GP_PAIRING_OPTION_GPD_FRAME_CNT_PRESENT (1<<14) #define ZBEE_ZCL_GP_PAIRING_OPTION_GPD_SECUR_KEY_PRESENT (1<<15) #define ZBEE_ZCL_GP_PAIRING_OPTION_ASSIGNED_ALIAS_PRESENT (1<<16) #define ZBEE_ZCL_GP_PAIRING_OPTION_FWD_RADIUS_PRESENT (1<<17) #define ZBEE_ZCL_GP_RESPONSE_OPTION_APP_ID (7<<0) #define ZBEE_ZCL_GP_RESPONSE_OPTION_TX_ON_ENDPOINT_MATCH (1<<3) #define ZBEE_ZCL_GP_RESPONSE_TX_CHANNEL (0xf<<0) #define ZBEE_ZCL_GP_CMD_PC_ACTIONS_ACTION (7<<0) #define ZBEE_ZCL_GP_CMD_PC_ACTIONS_SEND_GP_PAIRING (1<<3) #define ZBEE_ZCL_GP_CMD_PC_OPT_APP_ID (7<<0) #define ZBEE_ZCL_GP_CMD_PC_OPT_COMMUNICATION_MODE (3<<3) #define ZBEE_ZCL_GP_CMD_PC_OPT_SEQ_NUMBER_CAP (1<<5) #define ZBEE_ZCL_GP_CMD_PC_OPT_RX_ON_CAP (1<<6) #define ZBEE_ZCL_GP_CMD_PC_OPT_FIXED_LOCATION (1<<7) #define ZBEE_ZCL_GP_CMD_PC_OPT_ASSIGNED_ALIAS (1<<8) #define ZBEE_ZCL_GP_CMD_PC_OPT_SECURITY_USE (1<<9) #define ZBEE_ZCL_GP_CMD_PC_OPT_APP_INFO_PRESENT (1<<10) #define ZBEE_ZCL_GP_COMMUNICATION_MODE_GROUPCAST_PRECOMMISSIONED 2 #define ZBEE_ZCL_GP_PAIRING_CONFIGURATION_OPTION_COMMUNICATION_MODE_SHIFT 3 #define ZBEE_ZCL_GP_CMD_PC_SECUR_LEVEL (3<<0) #define ZBEE_ZCL_GP_CMD_PC_SECUR_KEY_TYPE (7<<2) #define ZBEE_ZCL_GP_CMD_PC_APP_INFO_MANUF_ID_PRESENT (1<<0) #define ZBEE_ZCL_GP_CMD_PC_APP_INFO_MODEL_ID_PRESENT (1<<1) #define ZBEE_ZCL_GP_CMD_PC_APP_INFO_GPD_COMMANDS_PRESENT (1<<2) #define ZBEE_ZCL_GP_CMD_PC_APP_INFO_CLUSTER_LIST_PRESENT (1<<3) #define ZBEE_ZCL_GP_CLUSTER_LIST_LEN_SRV (0xf<<0) #define ZBEE_ZCL_GP_CLUSTER_LIST_LEN_CLI (0xf<<4) #define ZBEE_ZCL_GP_CLUSTER_LIST_LEN_CLI_SHIFT 4 #define ZBEE_ZCL_GP_PROXY_SINK_TBL_REQ_CMD_APP_ID (0x07<<0) #define ZBEE_ZCL_GP_PROXY_SINK_TBL_REQ_CMD_REQ_TYPE (0x03<<3) #define ZBEE_ZCL_GP_PROXY_SINK_TBL_REQ_CMD_REQ_TYPE_SHIFT 3 #define ZBEE_ZCL_GP_SINK_TBL_OPT_APP_ID (7<<0) #define ZBEE_ZCL_GP_SINK_TBL_OPT_COMMUNICATION_MODE (3<<3) #define ZBEE_ZCL_GP_SINK_TBL_OPT_SEQ_NUMBER_CAP (1<<5) #define ZBEE_ZCL_GP_SINK_TBL_OPT_RX_ON_CAP (1<<6) #define ZBEE_ZCL_GP_SINK_TBL_OPT_FIXED_LOCATION (1<<7) #define ZBEE_ZCL_GP_SINK_TBL_OPT_ASSIGNED_ALIAS (1<<8) #define ZBEE_ZCL_GP_SINK_TBL_OPT_SECURITY_USE (1<<9) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_APP_ID (7<<0) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_ENTRY_ACTIVE (1<<3) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_ENTRY_VALID (1<<4) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_SEQ_NUMBER_CAP (1<<5) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_LW_UCAST_GPS (1<<6) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_DERIVED_GROUP_GPS (1<<7) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_COMM_GROUP_GPS (1<<8) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_FIRST_TO_FORWARD (1<<9) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_IN_RANGE (1<<10) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_GPD_FIXED (1<<11) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_HAS_ALL_UCAST_ROUTES (1<<12) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_ASSIGNED_ALIAS (1<<13) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_SECURITY_USE (1<<14) #define ZBEE_ZCL_GP_PROXY_TBL_OPT_OPTIONS_EXTENTIONS (1<<15) #define ZBEE_ZCL_GP_PROXY_TBL_EXT_OPT_FULL_UCAST_GPS (1<<0) #define ZBEE_ZCL_GP_SECUR_OPT_SECUR_LEVEL (3<<0) #define ZBEE_ZCL_GP_SECUR_OPT_SECUR_KEY_TYPE (7<<2) /* Sink Commissioning Mode command */ #define ZBEE_ZCL_GP_CMD_SINK_COMM_MODE_OPTIONS_FLD_ACTION (1<<0) #define ZBEE_ZCL_GP_CMD_SINK_COMM_MODE_OPTIONS_FLD_INV_GPM_IN_SECUR (1<<1) #define ZBEE_ZCL_GP_CMD_SINK_COMM_MODE_OPTIONS_FLD_INV_GPM_IN_PAIRING (1<<2) #define ZBEE_ZCL_GP_CMD_SINK_COMM_MODE_OPTIONS_FLD_INV_PROXIES (1<<3) /* gppFunctionality attribute */ #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GP_FEATURE (1<<0) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_DIRECT_COMM (1<<1) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_DERIVED_GCAST_COMM (1<<2) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_PRE_COMMISSIONED_GCAST_COMM (1<<3) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_FULL_UCAST_COMM (1<<4) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_LW_UCAST_COMM (1<<5) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_BIDIR_OP (1<<7) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_PROXY_TBL_MAINTENANCE (1<<8) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GP_COMMISSIONING (1<<10) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_CT_BASED_COMMISSIONING (1<<11) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_MAINTENANCE_OF_GPD (1<<12) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_SECUR_LVL_00 (1<<13) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_SECUR_LVL_01 (1<<14) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_SECUR_LVL_10 (1<<15) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_SECUR_LVL_11 (1<<16) #define ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_IEEE_ADDRESS (1<<19) /* gppActiveFunctionality attribute */ #define ZBEE_ZCL_GP_ATTR_GPP_ACTIVE_FUNC_FLD_GP_FUNCTIONALITY (1<<0) /* gpsFunctionality attribute */ #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GP_FEATURE (1<<0) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_DIRECT_COMM (1<<1) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_DERIVED_GCAST_COMM (1<<2) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_PRE_COMMISSIONED_GCAST_COMM (1<<3) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_FULL_UCAST_COMM (1<<4) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_LW_UCAST_COMM (1<<5) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_PROXIMITY_BIDIR_OP (1<<6) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_MULTI_HOP_BIDIR_OP (1<<7) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_PROXY_TBL_MAINTENANCE (1<<8) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_PROXIMITY_COMMISSIONING (1<<9) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_MULTI_HOP_COMMISSIONING (1<<10) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_CT_BASED_COMMISSIONING (1<<11) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_MAINTENANCE_OF_GPD (1<<12) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_SECUR_LVL_00 (1<<13) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_SECUR_LVL_01 (1<<14) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_SECUR_LVL_10 (1<<15) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_SECUR_LVL_11 (1<<16) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_SINK_TBL_BASED_GCAST_FORWARDING (1<<17) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_TRANSLATION_TABLE (1<<18) #define ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_IEEE_ADDRESS (1<<19) /* gpsActiveFunctionality attribute */ #define ZBEE_ZCL_GP_ATTR_GPS_ACTIVE_FUNC_FLD_GP_FUNCTIONALITY (1<<0) /* gpsCommissioningExitMode attribute */ #define ZBEE_ZCL_GP_ATTR_GPS_COMM_EXIT_MODE_FLD_ON_COMM_WINDOW_EXPIRE (1<<0) #define ZBEE_ZCL_GP_ATTR_GPS_COMM_EXIT_MODE_FLD_ON_PAIRING_SUCCESS (1<<1) #define ZBEE_ZCL_GP_ATTR_GPS_COMM_EXIT_MODE_FLD_ON_GP_PROXY_COMM_MODE (1<<2) /* gpsCommunicationMode attribute */ #define ZBEE_ZCL_GP_ATTR_GPS_COMMUNICATION_MODE_FLD_MODE (3<<0) /* gpsSecurityLevel attribute */ #define ZBEE_ZCL_GP_ATTR_GPS_SECUR_LVL_FLD_MIN_GPD_SECUR_LVL (3<<0) #define ZBEE_ZCL_GP_ATTR_GPS_SECUR_LVL_FLD_PROTECTION_WITH_GP_LINK_KEY (1<<2) #define ZBEE_ZCL_GP_ATTR_GPS_SECUR_LVL_FLD_INVOLVE_TC (1<<3) /* Definitions for application IDs. */ #define ZBEE_ZCL_GP_APP_ID_DEFAULT 0x00 #define ZBEE_ZCL_GP_APP_ID_ZGP 0x02 /** Definitions for Request type sub-field of the Options field of the * GP Sink Table Request and GP Proxy Table request commands */ #define ZBEE_ZCL_GP_PROXY_SINK_TABLE_REQ_CMD_REQUSET_BY_GPD_ID 0 #define ZBEE_ZCL_GP_PROXY_SINK_TABLE_REQ_CMD_REQUSET_BY_INDEX 1 /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_gp = -1; static int hf_zbee_zcl_gp_attr_id = -1; static int hf_zbee_zcl_gp_srv_rx_cmd_id = -1; static int hf_zbee_zcl_gp_srv_tx_cmd_id = -1; static gint ett_zbee_zcl_gp = -1; /* GP_PROXY_COMMISSIONING_MODE */ static gint ett_zbee_gp_cmd_proxy_commissioning_mode_options = -1; static gint ett_zbee_gp_cmd_proxy_commissioning_mode_exit_mode = -1; static gint hf_zbee_gp_cmd_proxy_commissioning_mode_options = -1; static gint hf_zbee_gp_cmd_pcm_opt_action = -1; static gint hf_zbee_gp_cmd_pcm_opt_exit_mode = -1; static gint hf_zbee_gp_cmd_pcm_opt_channel_present = -1; static gint hf_zbee_gp_cmd_pcm_opt_unicast_comm = -1; static gint hf_zbee_gp_cmd_proxy_commissioning_mode_exit_mode = -1; static gint hf_zbee_gp_cmd_pcm_exit_mode_on_comm_window_expire = -1; static gint hf_zbee_gp_cmd_pcm_exit_mode_on_pairing_success = -1; static gint hf_zbee_gp_cmd_pcm_exit_mode_on_gp_proxy_comm_mode = -1; static gint hf_zbee_zcl_gp_commissioning_window = -1; static gint hf_zbee_zcl_gp_channel = -1; /* GP_COMMISSIONING_NOTIFICATION */ static gint hf_zbee_gp_cmd_comm_notif_opt_app_id = -1; static gint hf_zbee_gp_cmd_comm_notif_opt_rx_after_tx = -1; static gint hf_zbee_gp_cmd_comm_notif_opt_secur_level = -1; static gint hf_zbee_gp_cmd_comm_notif_opt_secur_key_type = -1; static gint hf_zbee_gp_cmd_comm_notif_opt_secur_fail = -1; static gint hf_zbee_gp_cmd_comm_notif_opt_bidir_cap = -1; static gint hf_zbee_gp_cmd_comm_notif_opt_proxy_info_present = -1; static gint hf_zbee_gp_cmd_commissioning_notification_options = -1; static gint ett_zbee_gp_cmd_commissioning_notification_options = -1; static gint hf_zbee_gp_src_id = -1; static gint hf_zbee_gp_ieee = -1; static gint hf_zbee_gp_endpoint = -1; static gint hf_zbee_gp_secur_frame_counter = -1; static gint hf_zbee_gp_gpd_command_id = -1; static gint hf_zbee_gp_short_addr = -1; static gint hf_zbee_gp_gpp_gpd_link = -1; static gint hf_zbee_gp_mic = -1; static gint ett_zbee_gp_gpp_gpd_link = -1; static gint hf_zbee_gpp_gpd_link_rssi = -1; static gint hf_zbee_gpp_gpd_link_lqi = -1; static gint hf_zbee_gp_gpd_payload_size = -1; /* GP_NOTIFICATION */ static gint hf_zbee_gp_cmd_notification_options = -1; static gint ett_zbee_gp_cmd_notification_options = -1; static gint hf_zbee_gp_cmd_notif_opt_app_id = -1; static gint hf_zbee_gp_cmd_notif_opt_also_unicast = -1; static gint hf_zbee_gp_cmd_notif_opt_also_derived_group = -1; static gint hf_zbee_gp_cmd_notif_opt_also_comm_group = -1; static gint hf_zbee_gp_cmd_notif_opt_secur_level = -1; static gint hf_zbee_gp_cmd_notif_opt_secur_key_type = -1; static gint hf_zbee_gp_cmd_notif_opt_rx_after_tx = -1; static gint hf_zbee_gp_cmd_notif_opt_tx_q_full = -1; static gint hf_zbee_gp_cmd_notif_opt_bidir_cap = -1; static gint hf_zbee_gp_cmd_notif_opt_proxy_info_present = -1; /* GP_PAIRING */ static gint hf_zbee_gp_cmd_pairing_opt_app_id = -1; static gint hf_zbee_gp_cmd_pairing_opt_add_sink = -1; static gint hf_zbee_gp_cmd_pairing_opt_remove_gpd = -1; static gint hf_zbee_gp_cmd_pairing_opt_communication_mode = -1; static gint hf_zbee_gp_cmd_pairing_opt_gpd_fixed = -1; static gint hf_zbee_gp_cmd_pairing_opt_gpd_mac_seq_num_cap = -1; static gint hf_zbee_gp_cmd_pairing_opt_secur_level = -1; static gint hf_zbee_gp_cmd_pairing_opt_secur_key_type = -1; static gint hf_zbee_gp_cmd_pairing_opt_gpd_frame_cnt_present = -1; static gint hf_zbee_gp_cmd_pairing_opt_gpd_secur_key_present = -1; static gint hf_zbee_gp_cmd_pairing_opt_assigned_alias_present = -1; static gint hf_zbee_gp_cmd_pairing_opt_fwd_radius_present = -1; static gint hf_zbee_gp_cmd_pairing_options = -1; static gint ett_zbee_gp_cmd_pairing_options = -1; static gint hf_zbee_gp_sink_ieee = -1; static gint hf_zbee_gp_sink_nwk = -1; static gint hf_zbee_gp_sink_group_id = -1; static gint hf_zbee_gp_device_id = -1; static gint hf_zbee_gp_assigned_alias = -1; static gint hf_zbee_gp_forwarding_radius = -1; static gint hf_zbee_gp_gpd_key = -1; static gint hf_zbee_gp_groupcast_radius = -1; /* GP Response */ static gint hf_zbee_gp_cmd_response_options = -1; static gint ett_zbee_gp_cmd_response_options = -1; static gint hf_zbee_gp_cmd_response_tx_channel = -1; static gint ett_zbee_gp_cmd_response_tx_channel = -1; static gint hf_zbee_gp_cmd_resp_opt_app_id = -1; static gint hf_zbee_gp_cmd_resp_opt_tx_on_ep_match = -1; static gint hf_zbee_gp_tmp_master_short_addr = -1; static gint hf_zbee_gp_cmd_resp_tx_channel = -1; /* GP_PAIRING_CONFIGURATION */ static int hf_zbee_gp_cmd_pc_actions_action = -1; static int hf_zbee_gp_cmd_pc_actions_send_gp_pairing = -1; static int hf_zbee_gp_cmd_pc_opt_app_id = -1; static int hf_zbee_gp_cmd_pc_opt_communication_mode = -1; static int hf_zbee_gp_cmd_pc_opt_seq_number_cap = -1; static int hf_zbee_gp_cmd_px_opt_rx_on_cap = -1; static int hf_zbee_gp_cmd_pc_opt_fixed_location = -1; static int hf_zbee_gp_cmd_pc_opt_assigned_alias = -1; static int hf_zbee_gp_cmd_pc_opt_security_use = -1; static int hf_zbee_gp_cmd_pc_opt_app_info_present = -1; static int hf_zbee_gp_cmd_pc_secur_level = -1; static int hf_zbee_gp_cmd_pc_secur_key_type = -1; static int hf_zbee_gp_cmd_pc_app_info_manuf_id_present = -1; static int hf_zbee_gp_cmd_pc_app_info_model_id_present = -1; static int hf_zbee_gp_cmd_pc_app_info_gpd_commands_present = -1; static int hf_zbee_gp_cmd_pc_app_info_cluster_list_present = -1; static int hf_zbee_gp_cmd_pc_actions = -1; static guint ett_zbee_gp_cmd_pc_actions = -1; static int hf_zbee_gp_cmd_pc_options = -1; static guint ett_zbee_gp_cmd_pc_options = -1; static guint ett_zbee_zcl_gp_group_list = -1; static int hf_zbee_gp_group_list_len = -1; static int hf_zbee_gp_group_list_group_id = -1; static int hf_zbee_gp_group_list_alias = -1; static int hf_zbee_gp_cmd_pc_secur_options = -1; static guint ett_zbee_gp_cmd_pc_secur_options = -1; static int hf_zbee_gp_n_paired_endpoints = -1; static int hf_zbee_gp_paired_endpoint = -1; static int hf_zbee_gp_cmd_pc_app_info = -1; static guint ett_zbee_gp_cmd_pc_app_info = -1; static int hf_zbee_zcl_gp_manufacturer_id = -1; static int hf_zbee_zcl_gp_model_id = -1; static int hf_zbee_gp_n_gpd_commands = -1; static int hf_zbee_gp_gpd_command = -1; static int hf_zbee_gp_n_srv_clusters = -1; static int hf_zbee_gp_n_cli_clusters = -1; static int hf_zbee_gp_gpd_cluster_id = -1; static guint ett_zbee_zcl_gp_ep = -1; static guint ett_zbee_zcl_gp_cmds = -1; static guint ett_zbee_zcl_gp_clusters = -1; static guint ett_zbee_zcl_gp_srv_clusters = -1; static guint ett_zbee_zcl_gp_cli_clusters = -1; /* GP_SINK_TABLE_REQUEST and GP_PROXY_TABLE_REQUEST */ static guint ett_zbee_zcl_proxy_sink_tbl_req_options = -1; static int hf_zbee_zcl_proxy_sink_tbl_req_options = -1; static int hf_zbee_zcl_proxy_sink_tbl_req_fld_app_id = -1; static int hf_zbee_zcl_proxy_sink_tbl_req_fld_req_type = -1; static int hf_zbee_zcl_proxy_sink_tbl_req_index = -1; /* GP_SINK_TABLE_RESPONSE and GP_PROXY_TABLE_RESPONSE */ static int hf_zbee_zcl_proxy_sink_tbl_resp_status = -1; static int hf_zbee_zcl_proxy_sink_tbl_resp_entries_total = -1; static int hf_zbee_zcl_proxy_sink_tbl_resp_start_index = -1; static int hf_zbee_zcl_proxy_sink_tbl_resp_entries_count = -1; /* GP SINK_COMMISSIONING_MODE */ static gint ett_zbee_zcl_gp_cmd_sink_comm_mode_options = -1; static gint hf_zbee_zcl_gp_cmd_sink_comm_mode_options = -1; static gint hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_action = -1; static gint hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_gpm_in_secur = -1; static gint hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_gpm_in_pairing = -1; static gint hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_proxies = -1; static gint hf_zbee_gp_zcl_cmd_sink_comm_mode_gpm_addr_for_secur = -1; static gint hf_zbee_gp_zcl_cmd_sink_comm_mode_gpm_addr_for_pairing = -1; static gint hf_zbee_gp_zcl_cmd_sink_comm_mode_sink_ep = -1; /* GP Sink Table Attribute */ static gint ett_zbee_gp_sink_tbl = -1; static gint ett_zbee_gp_sink_tbl_entry = -1; static gint ett_zbee_gp_sink_tbl_entry_options = -1; static gint hf_zbee_gp_sink_tbl_length = -1; static gint hf_zbee_gp_sink_tbl_entry_options = -1; static gint hf_zbee_gp_sink_tbl_entry_options_app_id = -1; static gint hf_zbee_gp_sink_tbl_entry_options_comm_mode = -1; static gint hf_zbee_gp_sink_tbl_entry_options_seq_num_cap = -1; static gint hf_zbee_gp_sink_tbl_entry_options_rx_on_cap = -1; static gint hf_zbee_gp_sink_tbl_entry_options_fixed_loc = -1; static gint hf_zbee_gp_sink_tbl_entry_options_assigned_alias = -1; static gint hf_zbee_gp_sink_tbl_entry_options_sec_use = -1; static gint ett_zbee_gp_sec_options = -1; static gint hf_zbee_gp_sec_options = -1; static gint hf_zbee_gp_sec_options_sec_level = -1; static gint hf_zbee_gp_sec_options_sec_key_type = -1; /* GP Proxy Table Attribute */ static gint ett_zbee_gp_proxy_tbl = -1; static gint ett_zbee_gp_proxy_tbl_entry = -1; static gint ett_zbee_gp_proxy_tbl_entry_options = -1; static gint ett_zbee_gp_proxy_tbl_entry_ext_options = -1; static gint hf_zbee_gp_proxy_tbl_length = -1; static gint hf_zbee_gp_proxy_tbl_entry_options = -1; static gint hf_zbee_gp_proxy_tbl_entry_ext_options = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_app_id = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_entry_active = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_entry_valid = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_seq_num_cap = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_lw_ucast_gps = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_derived_group_gps = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_comm_group_gps = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_first_to_forward = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_in_range = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_gpd_fixed = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_has_all_ucast_routes = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_assigned_alias = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_sec_use = -1; static gint hf_zbee_gp_proxy_tbl_entry_options_opt_ext = -1; static gint hf_zbee_gp_proxy_tbl_entry_search_counter = -1; static gint hf_zbee_gp_proxy_tbl_entry_ext_options_full_ucast_gps = -1; static gint ett_zbee_gp_sink_address_list = -1; static gint hf_zbee_gp_sink_address_list_length = -1; /* GP gppFunctionality Attribute */ static gint ett_zbee_zcl_gp_attr_gpp_func = -1; static gint hf_zbee_zcl_gp_attr_gpp_func = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_gp_feature = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_direct_comm = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_derived_gcast_comm = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_pre_commissioned_gcast_comm = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_full_ucast_comm = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_lw_ucast_comm = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_bidir_op = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_proxy_tbl_maintenance = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_gp_commissioning = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_ct_based_commissioning = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_maintenance_of_gpd = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_00 = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_01 = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_10 = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_11 = -1; static gint hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_ieee_address = -1; /* GP gppActiveFunctionality Attribute */ static gint ett_zbee_zcl_gp_attr_gpp_active_func = -1; static gint hf_zbee_zcl_gp_attr_gpp_active_func = -1; static gint hf_zbee_zcl_gp_attr_gpp_active_func_fld_gp_functionality = -1; /* GP gpsFunctionality Attribute */ static gint ett_zbee_zcl_gp_attr_gps_func = -1; static gint hf_zbee_zcl_gp_attr_gps_func = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_gp_feature = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_direct_comm = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_derived_gcast_comm = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_pre_commissioned_gcast_comm = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_full_ucast_comm = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_lw_ucast_comm = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_proximity_bidir_op = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_multi_hop_bidir_op = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_proxy_tbl_maintenance = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_proximity_commissioning = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_multi_hop_commissioning = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_ct_based_commissioning = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_maintenance_of_gpd = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_00 = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_01 = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_10 = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_11 = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_sink_tbl_based_gcast_forwarding = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_translation_table = -1; static gint hf_zbee_zcl_gp_attr_gps_func_fld_gpd_ieee_address = -1; /* GP gppActiveFunctionality Attribute */ static gint ett_zbee_zcl_gp_attr_gps_active_func = -1; static gint hf_zbee_zcl_gp_attr_gps_active_func = -1; static gint hf_zbee_zcl_gp_attr_gps_active_func_fld_gp_functionality = -1; /* GP gpsCommissioningExitMode Attribute */ static gint ett_zbee_zcl_gp_attr_gps_comm_exit_mode = -1; static gint hf_zbee_zcl_gp_attr_gps_comm_exit_mode = -1; static gint hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_comm_window_expire = -1; static gint hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_pairing_success = -1; static gint hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_gp_proxy_comm_mode = -1; /* GP gpsCommunicationMode Attribute */ static gint ett_zbee_zcl_gp_attr_gps_communication_mode = -1; static gint hf_zbee_zcl_gp_attr_gps_communication_mode = -1; static gint hf_zbee_zcl_gp_attr_gps_communication_mode_fld_mode = -1; /* GP gpsSecurityLevel Attribute */ static gint ett_zbee_zcl_gp_attr_gps_secur_lvl = -1; static gint hf_zbee_zcl_gp_attr_gps_secur_lvl = -1; static gint hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_min_gpd_secur_lvl = -1; static gint hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_protection_with_gp_link_key = -1; static gint hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_involve_tc = -1; /* reuse ZGPD command names */ extern value_string_ext zbee_nwk_gp_cmd_names_ext; /* reuse devices table from ZGPD parser */ extern const value_string zbee_nwk_gp_device_ids_names[]; /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_gp(void); void proto_reg_handoff_zbee_zcl_gp(void); static dissector_handle_t zgp_handle; /** * dissect_zbee_zcl_gp_payload * * ZigBee ZCL Green Power data payload cluster dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param pinfo - pointer to packet information fields * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { guint payload_size; proto_tree_add_item(tree, hf_zbee_gp_gpd_command_id, tvb, offset, 1, ENC_NA); offset += 1; payload_size = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_gp_gpd_payload_size, tvb, offset, 1, ENC_NA); offset += 1; if (payload_size != 0 && payload_size != 0xff) { tvbuff_t *gtvb = tvb_new_composite(); gboolean writable = col_get_writable(pinfo->cinfo, COL_INFO); /* remove payload length and put command id instead */ tvb_composite_append(gtvb, tvb_new_subset_length(tvb, offset-2, 1)); tvb_composite_append(gtvb, tvb_new_subset_length(tvb, offset, payload_size)); tvb_composite_finalize(gtvb); /* prevent overwriting COL_INFO */ col_set_writable(pinfo->cinfo, COL_INFO, FALSE); call_dissector_only(zgp_handle, gtvb, pinfo, tree, NULL); col_set_writable(pinfo->cinfo, COL_INFO, writable); offset += payload_size; } return offset; } /** * dissect_zbee_zcl_gp_group_list * * ZigBee ZCL Green Power Group List dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * @param text - string attached to Group list subtree * @return new offset. */ static int dissect_zbee_zcl_gp_group_list(tvbuff_t *tvb, proto_tree *tree, guint offset, const char* text) { guint8 len = tvb_get_guint8(tvb, offset); proto_tree *gl_tree = proto_tree_add_subtree_format(tree, tvb, offset, len*4+1, ett_zbee_zcl_gp_group_list, NULL, "%s #%d", text, len); proto_tree_add_item(gl_tree, hf_zbee_gp_group_list_len, tvb, offset, 1, ENC_NA); offset += 1; while (len) { proto_tree_add_item(gl_tree, hf_zbee_gp_group_list_group_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(gl_tree, hf_zbee_gp_group_list_alias, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; len--; } return offset; } /*dissect_zbee_zcl_gp_group_list*/ /** * dissect_zbee_zcl_gp_sink_address_list * * ZigBee ZCL Green Power Sink Address List dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * @param text - string attached to Sink Address list subtree * @return new offset. */ static int dissect_zbee_zcl_gp_sink_address_list(tvbuff_t *tvb, proto_tree *tree, guint offset, const char* text) { guint8 len = tvb_get_guint8(tvb, offset); proto_tree *subtree = proto_tree_add_subtree_format(tree, tvb, offset, len*10+1, ett_zbee_gp_sink_address_list, NULL, "%s #%d", text, len); proto_tree_add_item(subtree, hf_zbee_gp_sink_address_list_length, tvb, offset, 1, ENC_NA); offset += 1; while (len) { proto_tree_add_item(subtree, hf_zbee_gp_sink_ieee, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(subtree, hf_zbee_gp_sink_nwk, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; len--; } return offset; } /*dissect_zbee_zcl_gp_sink_address_list*/ /** * dissect_zbee_zcl_gp_sink_table_entry * * ZigBee ZCL Green Power Sink Table entry dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * @param idx - entry index * * @return 1 if entry parsed, 0 - otherwise. */ static int dissect_zbee_zcl_gp_sink_table_entry(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint idx) { guint16 options = 0; guint16 app_id, comm_mode; proto_tree *subtree; static int * const n_options[] = { &hf_zbee_gp_sink_tbl_entry_options_app_id, &hf_zbee_gp_sink_tbl_entry_options_comm_mode, &hf_zbee_gp_sink_tbl_entry_options_seq_num_cap, &hf_zbee_gp_sink_tbl_entry_options_rx_on_cap, &hf_zbee_gp_sink_tbl_entry_options_fixed_loc, &hf_zbee_gp_sink_tbl_entry_options_assigned_alias, &hf_zbee_gp_sink_tbl_entry_options_sec_use, NULL }; static int * const n_secur_options[] = { &hf_zbee_gp_sec_options_sec_level, &hf_zbee_gp_sec_options_sec_key_type, NULL }; subtree = proto_tree_add_subtree_format(tree, tvb, *offset, -1, ett_zbee_gp_sink_tbl_entry, NULL, "Sink Table Entry #%d", idx); /* Options - 2 bytes */ options = tvb_get_guint16(tvb, *offset, ENC_LITTLE_ENDIAN); proto_tree_add_bitmask(subtree, tvb, *offset, hf_zbee_gp_sink_tbl_entry_options, ett_zbee_gp_sink_tbl_entry_options, n_options, ENC_LITTLE_ENDIAN); *offset += 2; app_id = (options & ZBEE_ZCL_GP_SINK_TBL_OPT_APP_ID) >> ws_ctz(ZBEE_ZCL_GP_SINK_TBL_OPT_APP_ID); switch (app_id) { case ZBEE_ZCL_GP_APP_ID_DEFAULT: /* Add 4 byte SRC ID */ proto_tree_add_item(subtree, hf_zbee_gp_src_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_GP_APP_ID_ZGP: /* Add IEEE address and endpoint (9 bytes) */ proto_tree_add_item(subtree, hf_zbee_gp_ieee, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(subtree, hf_zbee_gp_endpoint, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Bad entry - stop Sink Table Entry parsing */ return 0; } /* Device ID - 1 byte */ proto_tree_add_item(subtree, hf_zbee_gp_device_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Group list */ comm_mode = (options & ZBEE_ZCL_GP_SINK_TBL_OPT_COMMUNICATION_MODE) >> ws_ctz(ZBEE_ZCL_GP_SINK_TBL_OPT_COMMUNICATION_MODE); if (comm_mode == ZBEE_ZCL_GP_COMMUNICATION_MODE_GROUPCAST_PRECOMMISSIONED) { *offset = dissect_zbee_zcl_gp_group_list(tvb, subtree, *offset, "GroupList"); } /* GPD Assigned Alias: 2 bytes */ if (options & ZBEE_ZCL_GP_SINK_TBL_OPT_ASSIGNED_ALIAS) { proto_tree_add_item(subtree, hf_zbee_gp_assigned_alias, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /* Groupcast radius: 1 byte */ proto_tree_add_item(subtree, hf_zbee_gp_groupcast_radius, tvb, *offset, 1, ENC_NA); *offset += 1; /* Security options: 1 byte */ if (options & ZBEE_ZCL_GP_SINK_TBL_OPT_SECURITY_USE) { proto_tree_add_bitmask(subtree, tvb, *offset, hf_zbee_gp_sec_options, ett_zbee_gp_sec_options, n_secur_options, ENC_NA); *offset += 1; } /* GPD Frame Counter: 4 bytes */ if ((options & ZBEE_ZCL_GP_SINK_TBL_OPT_SECURITY_USE) || (options & ZBEE_ZCL_GP_SINK_TBL_OPT_SEQ_NUMBER_CAP)) { proto_tree_add_item(subtree, hf_zbee_gp_secur_frame_counter, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /* GPD key: 16 bytes */ if (options & ZBEE_ZCL_GP_SINK_TBL_OPT_SECURITY_USE) { proto_tree_add_item(subtree, hf_zbee_gp_gpd_key, tvb, *offset, 16, ENC_NA); *offset += 16; } return 1; } /** * dissect_zbee_zcl_gp_sink_table * * ZigBee ZCL Green Power Sink Table dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_sink_table(tvbuff_t *tvb, proto_tree *tree, guint offset) { guint16 sink_tbl_len, n_parsed_octets; guint8 n_tbl_entries; proto_tree *sink_tbl_tree; n_parsed_octets = 0; n_tbl_entries = 0; sink_tbl_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); sink_tbl_tree = proto_tree_add_subtree_format(tree, tvb, offset, sink_tbl_len, ett_zbee_gp_sink_tbl, NULL, "Sink Table: length = %d", sink_tbl_len); proto_tree_add_item(sink_tbl_tree, hf_zbee_gp_sink_tbl_length, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; if (sink_tbl_len == 0) { return offset; } while (n_parsed_octets < sink_tbl_len) { guint old_offset = offset; if (dissect_zbee_zcl_gp_sink_table_entry(tvb, sink_tbl_tree, &offset, n_tbl_entries + 1)) { n_parsed_octets += offset - old_offset; } else { /* Bad Sink Table Entry - stop Sink Table attribute dissection */ break; } ++n_tbl_entries; } return offset; } /*dissect_zbee_zcl_gp_sink_table*/ /** * dissect_zbee_zcl_gp_proxy_table_entry * * ZigBee ZCL Green Power Proxy Table entry dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * @param idx - entry index * * @return 1 if entry parsed, 0 - otherwise. */ static int dissect_zbee_zcl_gp_proxy_table_entry(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint idx) { guint16 options = 0; guint16 ext_options = 0; guint16 app_id; proto_tree *subtree; static int * const n_options[] = { &hf_zbee_gp_proxy_tbl_entry_options_app_id, &hf_zbee_gp_proxy_tbl_entry_options_entry_active, &hf_zbee_gp_proxy_tbl_entry_options_entry_valid, &hf_zbee_gp_proxy_tbl_entry_options_seq_num_cap, &hf_zbee_gp_proxy_tbl_entry_options_lw_ucast_gps, &hf_zbee_gp_proxy_tbl_entry_options_derived_group_gps, &hf_zbee_gp_proxy_tbl_entry_options_comm_group_gps, &hf_zbee_gp_proxy_tbl_entry_options_first_to_forward, &hf_zbee_gp_proxy_tbl_entry_options_in_range, &hf_zbee_gp_proxy_tbl_entry_options_gpd_fixed, &hf_zbee_gp_proxy_tbl_entry_options_has_all_ucast_routes, &hf_zbee_gp_proxy_tbl_entry_options_assigned_alias, &hf_zbee_gp_proxy_tbl_entry_options_sec_use, &hf_zbee_gp_proxy_tbl_entry_options_opt_ext, NULL }; static int * const n_ext_options[] = { &hf_zbee_gp_proxy_tbl_entry_ext_options_full_ucast_gps, NULL }; static int * const n_secur_options[] = { &hf_zbee_gp_sec_options_sec_level, &hf_zbee_gp_sec_options_sec_key_type, NULL }; subtree = proto_tree_add_subtree_format(tree, tvb, *offset, -1, ett_zbee_gp_proxy_tbl_entry, NULL, "Proxy Table Entry #%d", idx); /* Options - 2 bytes */ options = tvb_get_guint16(tvb, *offset, ENC_LITTLE_ENDIAN); proto_tree_add_bitmask(subtree, tvb, *offset, hf_zbee_gp_proxy_tbl_entry_options, ett_zbee_gp_proxy_tbl_entry_options, n_options, ENC_LITTLE_ENDIAN); *offset += 2; app_id = (options & ZBEE_ZCL_GP_PROXY_TBL_OPT_APP_ID) >> ws_ctz(ZBEE_ZCL_GP_PROXY_TBL_OPT_APP_ID); switch (app_id) { case ZBEE_ZCL_GP_APP_ID_DEFAULT: /* Add 4 byte SRC ID */ proto_tree_add_item(subtree, hf_zbee_gp_src_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_GP_APP_ID_ZGP: /* Add IEEE address and endpoint (9 bytes) */ proto_tree_add_item(subtree, hf_zbee_gp_ieee, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(subtree, hf_zbee_gp_endpoint, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Bad entry - stop Proxy Table entry parsing */ return 0; } /* Assigned Alias - 2 bytes */ if (options & ZBEE_ZCL_GP_PROXY_TBL_OPT_ASSIGNED_ALIAS) { proto_tree_add_item(subtree, hf_zbee_gp_assigned_alias, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /* Security Options - 1 byte */ if (options & ZBEE_ZCL_GP_PROXY_TBL_OPT_SECURITY_USE) { proto_tree_add_bitmask(subtree, tvb, *offset, hf_zbee_gp_sec_options, ett_zbee_gp_sec_options, n_secur_options, ENC_NA); *offset += 1; } /* GPD Frame Counter: 4 bytes */ if ((options & ZBEE_ZCL_GP_PROXY_TBL_OPT_SECURITY_USE) || (options & ZBEE_ZCL_GP_PROXY_TBL_OPT_SEQ_NUMBER_CAP)) { proto_tree_add_item(subtree, hf_zbee_gp_secur_frame_counter, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /* GPD key: 16 bytes */ if (options & ZBEE_ZCL_GP_PROXY_TBL_OPT_SECURITY_USE) { proto_tree_add_item(subtree, hf_zbee_gp_gpd_key, tvb, *offset, 16, ENC_NA); *offset += 16; } if (options & ZBEE_ZCL_GP_PROXY_TBL_OPT_LW_UCAST_GPS) { *offset = dissect_zbee_zcl_gp_sink_address_list(tvb, subtree, *offset, "Lightweight Sink Address list"); } /* Sink Group list */ if (options & ZBEE_ZCL_GP_PROXY_TBL_OPT_COMM_GROUP_GPS) { *offset = dissect_zbee_zcl_gp_group_list(tvb, subtree, *offset, "Sink GroupList"); } /* Groupcast radius: 1 byte */ proto_tree_add_item(subtree, hf_zbee_gp_groupcast_radius, tvb, *offset, 1, ENC_NA); *offset += 1; /* Search Counter: 1 byte */ if (!(options & ZBEE_ZCL_GP_PROXY_TBL_OPT_ENTRY_ACTIVE) || !(options & ZBEE_ZCL_GP_PROXY_TBL_OPT_ENTRY_VALID)) { proto_tree_add_item(subtree, hf_zbee_gp_proxy_tbl_entry_search_counter, tvb, *offset, 1, ENC_NA); *offset += 1; } /* Extended Options: 2 bytes */ if (options & ZBEE_ZCL_GP_PROXY_TBL_OPT_OPTIONS_EXTENTIONS) { ext_options = tvb_get_guint16(tvb, *offset, ENC_LITTLE_ENDIAN); proto_tree_add_bitmask(subtree, tvb, *offset, hf_zbee_gp_proxy_tbl_entry_ext_options, ett_zbee_gp_proxy_tbl_entry_ext_options, n_ext_options, ENC_LITTLE_ENDIAN); *offset += 1; } /* Full unicast sink address list */ if (ext_options & ZBEE_ZCL_GP_PROXY_TBL_EXT_OPT_FULL_UCAST_GPS) { *offset = dissect_zbee_zcl_gp_sink_address_list(tvb, subtree, *offset, "Full unicast Sink Address list"); } return 1; } /** * dissect_zbee_zcl_gp_proxy_table * * ZigBee ZCL Green Power Proxy Table dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_proxy_table(tvbuff_t *tvb, proto_tree *tree, guint offset) { guint16 proxy_tbl_len, n_parsed_octets; guint8 n_tbl_entries; proto_tree *proxy_tbl_tree; n_parsed_octets = 0; n_tbl_entries = 0; proxy_tbl_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proxy_tbl_tree = proto_tree_add_subtree_format(tree, tvb, offset, proxy_tbl_len, ett_zbee_gp_proxy_tbl, NULL, "Proxy Table: length = %d", proxy_tbl_len); proto_tree_add_item(proxy_tbl_tree, hf_zbee_gp_proxy_tbl_length, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; if (proxy_tbl_len == 0) { return offset; } while (n_parsed_octets < proxy_tbl_len) { guint old_offset = offset; if (dissect_zbee_zcl_gp_proxy_table_entry(tvb, proxy_tbl_tree, &offset, n_tbl_entries + 1)) { n_parsed_octets += offset - old_offset; } else { /* Bad Proxy Table entry - stop Proxy Table attribute dissection */ break; } ++n_tbl_entries; } return offset; } /*dissect_zbee_zcl_gp_proxy_table*/ /** * dissect_zbee_zcl_gp_attr_gpp_functionality * * ZigBee ZCL Green Power gppFunctionality dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_attr_gpp_functionality(tvbuff_t *tvb, proto_tree *tree, guint offset) { static int * const n_fields[] = { &hf_zbee_zcl_gp_attr_gpp_func_fld_gp_feature, &hf_zbee_zcl_gp_attr_gpp_func_fld_direct_comm, &hf_zbee_zcl_gp_attr_gpp_func_fld_derived_gcast_comm, &hf_zbee_zcl_gp_attr_gpp_func_fld_pre_commissioned_gcast_comm, &hf_zbee_zcl_gp_attr_gpp_func_fld_full_ucast_comm, &hf_zbee_zcl_gp_attr_gpp_func_fld_lw_ucast_comm, &hf_zbee_zcl_gp_attr_gpp_func_fld_bidir_op, &hf_zbee_zcl_gp_attr_gpp_func_fld_proxy_tbl_maintenance, &hf_zbee_zcl_gp_attr_gpp_func_fld_gp_commissioning, &hf_zbee_zcl_gp_attr_gpp_func_fld_ct_based_commissioning, &hf_zbee_zcl_gp_attr_gpp_func_fld_maintenance_of_gpd, &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_00, &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_01, &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_10, &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_11, &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_ieee_address, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_gp_attr_gpp_func, ett_zbee_zcl_gp_attr_gpp_func, n_fields, ENC_LITTLE_ENDIAN); offset += 3; return offset; } /*dissect_zbee_zcl_gp_attr_gpp_functionality*/ /** * dissect_zbee_zcl_gp_attr_gpp_active_functionality * * ZigBee ZCL Green Power gppActiveFunctionality dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_attr_gpp_active_functionality(tvbuff_t *tvb, proto_tree *tree, guint offset) { static int * const n_fields[] = { &hf_zbee_zcl_gp_attr_gpp_active_func_fld_gp_functionality, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_gp_attr_gpp_active_func, ett_zbee_zcl_gp_attr_gpp_active_func, n_fields, ENC_LITTLE_ENDIAN); offset += 3; return offset; } /*dissect_zbee_zcl_gp_attr_gpp_active_functionality*/ /** * dissect_zbee_zcl_gp_attr_gps_functionality * * ZigBee ZCL Green Power gpsFunctionality dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_attr_gps_functionality(tvbuff_t *tvb, proto_tree *tree, guint offset) { static int * const n_fields[] = { &hf_zbee_zcl_gp_attr_gps_func_fld_gp_feature, &hf_zbee_zcl_gp_attr_gps_func_fld_direct_comm, &hf_zbee_zcl_gp_attr_gps_func_fld_derived_gcast_comm, &hf_zbee_zcl_gp_attr_gps_func_fld_pre_commissioned_gcast_comm, &hf_zbee_zcl_gp_attr_gps_func_fld_full_ucast_comm, &hf_zbee_zcl_gp_attr_gps_func_fld_lw_ucast_comm, &hf_zbee_zcl_gp_attr_gps_func_fld_proximity_bidir_op, &hf_zbee_zcl_gp_attr_gps_func_fld_multi_hop_bidir_op, &hf_zbee_zcl_gp_attr_gps_func_fld_proxy_tbl_maintenance, &hf_zbee_zcl_gp_attr_gps_func_fld_proximity_commissioning, &hf_zbee_zcl_gp_attr_gps_func_fld_multi_hop_commissioning, &hf_zbee_zcl_gp_attr_gps_func_fld_ct_based_commissioning, &hf_zbee_zcl_gp_attr_gps_func_fld_maintenance_of_gpd, &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_00, &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_01, &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_10, &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_11, &hf_zbee_zcl_gp_attr_gps_func_fld_sink_tbl_based_gcast_forwarding, &hf_zbee_zcl_gp_attr_gps_func_fld_translation_table, &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_ieee_address, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_gp_attr_gps_func, ett_zbee_zcl_gp_attr_gps_func, n_fields, ENC_LITTLE_ENDIAN); offset += 3; return offset; } /*dissect_zbee_zcl_gp_attr_gps_functionality*/ /** * dissect_zbee_zcl_gp_attr_gps_active_functionality * * ZigBee ZCL Green Power gpsActiveFunctionality dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_attr_gps_active_functionality(tvbuff_t *tvb, proto_tree *tree, guint offset) { static int * const n_fields[] = { &hf_zbee_zcl_gp_attr_gps_active_func_fld_gp_functionality, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_gp_attr_gps_active_func, ett_zbee_zcl_gp_attr_gps_active_func, n_fields, ENC_LITTLE_ENDIAN); offset += 3; return offset; } /*dissect_zbee_zcl_gp_attr_gps_active_functionality*/ /** * dissect_zbee_zcl_gp_attr_gps_communication_mode * * ZigBee ZCL Green Power gpsCommunicationMode dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_attr_gps_communication_mode(tvbuff_t *tvb, proto_tree *tree, guint offset) { static int * const n_fields[] = { &hf_zbee_zcl_gp_attr_gps_communication_mode_fld_mode, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_gp_attr_gps_communication_mode, ett_zbee_zcl_gp_attr_gps_communication_mode, n_fields, ENC_NA); offset += 1; return offset; } /*dissect_zbee_zcl_gp_attr_gps_communication_mode*/ /** * dissect_zbee_zcl_gp_attr_gps_comm_exit_mode * * ZigBee ZCL Green Power gpsCommissioningExitMode dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_attr_gps_comm_exit_mode(tvbuff_t *tvb, proto_tree *tree, guint offset) { static int * const n_fields[] = { &hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_comm_window_expire, &hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_pairing_success, &hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_gp_proxy_comm_mode, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_gp_attr_gps_comm_exit_mode, ett_zbee_zcl_gp_attr_gps_comm_exit_mode, n_fields, ENC_NA); offset += 1; return offset; } /*dissect_zbee_zcl_gp_attr_gps_comm_exit_mode*/ /** * dissect_zbee_zcl_gp_attr_gps_secur_lvl * * ZigBee ZCL Green Power gpsSecurityLevel dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param tree - pointer to data tree Wireshark uses to display packet. * @param offset - offset in a buffer * * @return new offset. */ static int dissect_zbee_zcl_gp_attr_gps_secur_lvl(tvbuff_t *tvb, proto_tree *tree, guint offset) { static int * const n_fields[] = { &hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_min_gpd_secur_lvl, &hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_protection_with_gp_link_key, &hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_involve_tc, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_gp_attr_gps_secur_lvl, ett_zbee_zcl_gp_attr_gps_secur_lvl, n_fields, ENC_NA); offset += 1; return offset; } /*dissect_zbee_zcl_gp_attr_gps_secur_lvl*/ /** * dissect_zcl_gp_proxy_sink_table_request * * ZigBee ZCL Green Power cluster dissector for Proxy Table Request * and Sink Table Request commands * * @param tree - pointer to data tree Wireshark uses to display packet. * @param tvb - pointer to buffer containing raw packet. * @param offset - pointer to buffer offset */ static void dissect_zcl_gp_proxy_sink_table_request(proto_tree *tree, tvbuff_t *tvb, guint *offset) { /* get Options field */ guint8 options = tvb_get_guint8(tvb, *offset); guint8 app_id, req_type; static int * const n_options[] = { &hf_zbee_zcl_proxy_sink_tbl_req_fld_app_id, &hf_zbee_zcl_proxy_sink_tbl_req_fld_req_type, NULL }; proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_proxy_sink_tbl_req_options, ett_zbee_zcl_proxy_sink_tbl_req_options, n_options, ENC_NA); *offset += 1; app_id = options & ZBEE_ZCL_GP_PROXY_SINK_TBL_REQ_CMD_APP_ID; req_type = (options & ZBEE_ZCL_GP_PROXY_SINK_TBL_REQ_CMD_REQ_TYPE) >> ZBEE_ZCL_GP_PROXY_SINK_TBL_REQ_CMD_REQ_TYPE_SHIFT; if (req_type == ZBEE_ZCL_GP_PROXY_SINK_TABLE_REQ_CMD_REQUSET_BY_GPD_ID) { /* Include GPD ID and/or Endpoint */ if (app_id == ZBEE_ZCL_GP_APP_ID_DEFAULT) { /* App_id = 000: GPD SRC ID only */ proto_tree_add_item(tree, hf_zbee_gp_src_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } else if (app_id == ZBEE_ZCL_GP_APP_ID_ZGP) { /* App_id = 010: MAC address + Endoint */ proto_tree_add_item(tree, hf_zbee_gp_ieee, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(tree, hf_zbee_gp_endpoint, tvb, *offset, 1, ENC_NA); *offset += 1; } } else if (req_type == ZBEE_ZCL_GP_PROXY_SINK_TABLE_REQ_CMD_REQUSET_BY_INDEX) { /* Include index only */ proto_tree_add_item(tree, hf_zbee_zcl_proxy_sink_tbl_req_index, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_gp_proxy_sink_table_request*/ /** * dissect_zcl_gp_proxy_sink_table_response * * ZigBee ZCL Green Power cluster dissector for Proxy Table response * and Sink Table Request commands * * @param tree - pointer to data tree Wireshark uses to display packet. * @param tvb - pointer to buffer containing raw packet. * @param offset - pointer to buffer offset * @param attr_id - attribute (should be ZBEE_ZCL_ATTR_GPS_SINK_TABLE or * ZBEE_ZCL_ATTR_GPP_PROXY_TABLE) that will be reported */ static void dissect_zcl_gp_proxy_sink_table_response(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id) { guint8 entries_count, start_index; guint i, stop; if ( !((attr_id == ZBEE_ZCL_ATTR_GPS_SINK_TABLE) || (attr_id == ZBEE_ZCL_ATTR_GPP_PROXY_TABLE)) ) { return; } proto_tree_add_item(tree, hf_zbee_zcl_proxy_sink_tbl_resp_status, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_proxy_sink_tbl_resp_entries_total, tvb, *offset, 1, ENC_NA); *offset += 1; start_index = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_proxy_sink_tbl_resp_start_index, tvb, *offset, 1, ENC_NA); *offset += 1; entries_count = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_proxy_sink_tbl_resp_entries_count, tvb, *offset, 1, ENC_NA); *offset += 1; for (i = 0, stop = 0; i < entries_count && !stop; i++) { switch (attr_id) { case ZBEE_ZCL_ATTR_GPS_SINK_TABLE: stop = !dissect_zbee_zcl_gp_sink_table_entry(tvb, tree, (guint*) offset, start_index + i); break; case ZBEE_ZCL_ATTR_GPP_PROXY_TABLE: stop = !dissect_zbee_zcl_gp_proxy_table_entry(tvb, tree, (guint*) offset, start_index + i); break; } } } /*dissect_zcl_gp_proxy_sink_table_response*/ /** * dissect_zcl_gp_sink_comm_mode * * ZigBee ZCL Green Power cluster dissector for Sink Commissioning Mode * and Sink Table Request commands * * @param tree - pointer to data tree Wireshark uses to display packet. * @param tvb - pointer to buffer containing raw packet. * @param offset - pointer to buffer offset */ static void dissect_zcl_gp_sink_comm_mode(proto_tree *tree, tvbuff_t *tvb, guint *offset) { static int * const n_options[] = { &hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_action, &hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_gpm_in_secur, &hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_gpm_in_pairing, &hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_proxies, NULL }; proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_gp_cmd_sink_comm_mode_options, ett_zbee_zcl_gp_cmd_sink_comm_mode_options, n_options, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_gp_zcl_cmd_sink_comm_mode_gpm_addr_for_secur, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_gp_zcl_cmd_sink_comm_mode_gpm_addr_for_pairing, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_gp_zcl_cmd_sink_comm_mode_sink_ep, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_gp_sink_comm_mode*/ /** * dissect_zbee_zcl_gp * * ZigBee ZCL Green Power cluster dissector for wireshark. * * @param tvb - pointer to buffer containing raw packet. * @param pinfo - pointer to packet information fields * @param tree - pointer to data tree Wireshark uses to display packet. * @param data - pointer to ZCL packet structure. * * @return length of parsed data. */ static int dissect_zbee_zcl_gp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { static int * const gpp_gpd_link[] = { &hf_zbee_gpp_gpd_link_rssi, &hf_zbee_gpp_gpd_link_lqi, NULL }; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_gp_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_gp_srv_rx_cmd_id, tvb, offset, 1, ENC_NA); offset++; /* Handle the command dissection. */ switch (cmd_id) { case ZBEE_CMD_ID_GP_NOTIFICATION: { static int * const n_options[] = { &hf_zbee_gp_cmd_notif_opt_app_id, &hf_zbee_gp_cmd_notif_opt_also_unicast, &hf_zbee_gp_cmd_notif_opt_also_derived_group, &hf_zbee_gp_cmd_notif_opt_also_comm_group, &hf_zbee_gp_cmd_notif_opt_secur_level, &hf_zbee_gp_cmd_notif_opt_secur_key_type, &hf_zbee_gp_cmd_notif_opt_rx_after_tx, &hf_zbee_gp_cmd_notif_opt_tx_q_full, &hf_zbee_gp_cmd_notif_opt_bidir_cap, &hf_zbee_gp_cmd_notif_opt_proxy_info_present, NULL }; guint16 options = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_notification_options, ett_zbee_gp_cmd_notification_options, n_options, ENC_LITTLE_ENDIAN); offset += 2; if ((options & ZBEE_ZCL_GP_NOTIFICATION_OPTION_APP_ID) == 0) { proto_tree_add_item(tree, hf_zbee_gp_src_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } else { proto_tree_add_item(tree, hf_zbee_gp_ieee, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_gp_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } proto_tree_add_item(tree, hf_zbee_gp_secur_frame_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; offset = dissect_zbee_zcl_gp_payload(tvb, pinfo, tree, offset); if (options & ZBEE_ZCL_GP_NOTIFICATION_OPTION_PROXY_INFO_PRESENT) { proto_tree_add_item(tree, hf_zbee_gp_short_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_gpp_gpd_link, ett_zbee_gp_gpp_gpd_link, gpp_gpd_link, ENC_LITTLE_ENDIAN); offset += 1; } break; } case ZBEE_CMD_ID_GP_PAIRING_SEARCH: case ZBEE_CMD_ID_GP_TUNNELING_STOP: /* TODO: add commands parse */ break; case ZBEE_CMD_ID_GP_COMMISSIONING_NOTIFICATION: { static int * const commn_options[] = { &hf_zbee_gp_cmd_comm_notif_opt_app_id, &hf_zbee_gp_cmd_comm_notif_opt_rx_after_tx, &hf_zbee_gp_cmd_comm_notif_opt_secur_level, &hf_zbee_gp_cmd_comm_notif_opt_secur_key_type, &hf_zbee_gp_cmd_comm_notif_opt_secur_fail, &hf_zbee_gp_cmd_comm_notif_opt_bidir_cap, &hf_zbee_gp_cmd_comm_notif_opt_proxy_info_present, NULL }; guint16 options = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_commissioning_notification_options, ett_zbee_gp_cmd_commissioning_notification_options, commn_options, ENC_LITTLE_ENDIAN); offset += 2; if ((options & ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_APP_ID) == 0) { proto_tree_add_item(tree, hf_zbee_gp_src_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } else { proto_tree_add_item(tree, hf_zbee_gp_ieee, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_gp_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } proto_tree_add_item(tree, hf_zbee_gp_secur_frame_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; offset = dissect_zbee_zcl_gp_payload(tvb, pinfo, tree, offset); if (options & ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_PROXY_INFO_PRESENT) { proto_tree_add_item(tree, hf_zbee_gp_short_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_gpp_gpd_link, ett_zbee_gp_gpp_gpd_link, gpp_gpd_link, ENC_LITTLE_ENDIAN); offset += 1; } if (options & ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_SECUR_FAILED) { proto_tree_add_item(tree, hf_zbee_gp_mic, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; } case ZBEE_CMD_ID_GP_PAIRING_CONFIGURATION: { static int * const pc_actions[] = { &hf_zbee_gp_cmd_pc_actions_action, &hf_zbee_gp_cmd_pc_actions_send_gp_pairing, NULL }; static int * const pc_options[] = { &hf_zbee_gp_cmd_pc_opt_app_id, &hf_zbee_gp_cmd_pc_opt_communication_mode, &hf_zbee_gp_cmd_pc_opt_seq_number_cap, &hf_zbee_gp_cmd_px_opt_rx_on_cap, &hf_zbee_gp_cmd_pc_opt_fixed_location, &hf_zbee_gp_cmd_pc_opt_assigned_alias, &hf_zbee_gp_cmd_pc_opt_security_use, &hf_zbee_gp_cmd_pc_opt_app_info_present, NULL }; guint16 options; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_pc_actions, ett_zbee_gp_cmd_pc_actions, pc_actions, ENC_NA); offset += 1; options = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_pc_options, ett_zbee_gp_cmd_pc_options, pc_options, ENC_LITTLE_ENDIAN); offset += 2; if ((options & ZBEE_ZCL_GP_CMD_PC_OPT_APP_ID) == 0) { proto_tree_add_item(tree, hf_zbee_gp_src_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } else { proto_tree_add_item(tree, hf_zbee_gp_ieee, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_gp_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } proto_tree_add_item(tree, hf_zbee_gp_device_id, tvb, offset, 1, ENC_NA); offset += 1; if (((options & ZBEE_ZCL_GP_CMD_PC_OPT_COMMUNICATION_MODE) >> ZBEE_ZCL_GP_PAIRING_CONFIGURATION_OPTION_COMMUNICATION_MODE_SHIFT) == ZBEE_ZCL_GP_COMMUNICATION_MODE_GROUPCAST_PRECOMMISSIONED) { guint8 len = tvb_get_guint8(tvb, offset); proto_tree *gl_tree = proto_tree_add_subtree_format(tree, tvb, offset, len*4+1, ett_zbee_zcl_gp_group_list, NULL, "GroupList #%d", len); proto_tree_add_item(gl_tree, hf_zbee_gp_group_list_len, tvb, offset, 1, ENC_NA); offset += 1; while (len) { proto_tree_add_item(gl_tree, hf_zbee_gp_group_list_group_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(gl_tree, hf_zbee_gp_group_list_alias, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; len--; } } if (options & ZBEE_ZCL_GP_CMD_PC_OPT_ASSIGNED_ALIAS) { proto_tree_add_item(tree, hf_zbee_gp_assigned_alias, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } proto_tree_add_item(tree, hf_zbee_gp_forwarding_radius, tvb, offset, 1, ENC_NA); offset += 1; if (options & ZBEE_ZCL_GP_CMD_PC_OPT_SECURITY_USE) { static int * const secur_options[] = { &hf_zbee_gp_cmd_pc_secur_level, &hf_zbee_gp_cmd_pc_secur_key_type, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_pc_secur_options, ett_zbee_gp_cmd_pc_secur_options, secur_options, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_gp_secur_frame_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_zbee_gp_gpd_key, tvb, offset, 16, ENC_NA); offset += 16; } { guint8 n_paired_endpoints = tvb_get_guint8(tvb, offset); proto_tree *ep_tree = proto_tree_add_subtree_format(tree, tvb, offset, n_paired_endpoints+1, ett_zbee_zcl_gp_ep, NULL, "Paired Endpoints #%d", n_paired_endpoints); proto_tree_add_item(ep_tree, hf_zbee_gp_n_paired_endpoints, tvb, offset, 1, ENC_NA); offset += 1; if (n_paired_endpoints != 0 && n_paired_endpoints != 0xfd && n_paired_endpoints != 0xfe && n_paired_endpoints != 0xff) { while (n_paired_endpoints) { proto_tree_add_item(ep_tree, hf_zbee_gp_paired_endpoint, tvb, offset, 1, ENC_NA); offset += 1; n_paired_endpoints--; } } } if (options & ZBEE_ZCL_GP_CMD_PC_OPT_APP_INFO_PRESENT) { static int * const app_info[] = { &hf_zbee_gp_cmd_pc_app_info_manuf_id_present, &hf_zbee_gp_cmd_pc_app_info_model_id_present, &hf_zbee_gp_cmd_pc_app_info_gpd_commands_present, &hf_zbee_gp_cmd_pc_app_info_cluster_list_present, NULL }; guint8 appi = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_pc_app_info, ett_zbee_gp_cmd_pc_app_info, app_info, ENC_NA); offset += 1; if (appi & ZBEE_ZCL_GP_CMD_PC_APP_INFO_MANUF_ID_PRESENT) { proto_tree_add_item(tree, hf_zbee_zcl_gp_manufacturer_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } if (appi & ZBEE_ZCL_GP_CMD_PC_APP_INFO_MODEL_ID_PRESENT) { proto_tree_add_item(tree, hf_zbee_zcl_gp_model_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } if (appi & ZBEE_ZCL_GP_CMD_PC_APP_INFO_GPD_COMMANDS_PRESENT) { guint8 n_commands = tvb_get_guint8(tvb, offset); proto_tree *c_tree = proto_tree_add_subtree_format(tree, tvb, offset, n_commands+1, ett_zbee_zcl_gp_cmds, NULL, "GPD CommandID list #%d", n_commands); proto_tree_add_item(c_tree, hf_zbee_gp_n_gpd_commands, tvb, offset, 1, ENC_NA); offset += 1; while (n_commands) { proto_tree_add_item(c_tree, hf_zbee_gp_gpd_command, tvb, offset, 1, ENC_NA); offset += 1; n_commands--; } } if (appi & ZBEE_ZCL_GP_CMD_PC_APP_INFO_CLUSTER_LIST_PRESENT) { guint8 n = tvb_get_guint8(tvb, offset); guint8 n_srv_clusters = n & ZBEE_ZCL_GP_CLUSTER_LIST_LEN_SRV; guint8 n_cli_clusters = (n & ZBEE_ZCL_GP_CLUSTER_LIST_LEN_CLI) >> ZBEE_ZCL_GP_CLUSTER_LIST_LEN_CLI_SHIFT; proto_tree *cl_tree = proto_tree_add_subtree_format(tree, tvb, offset, n*2+1, ett_zbee_zcl_gp_clusters, NULL, "Cluster List #%d/%d", n_srv_clusters, n_cli_clusters); proto_tree_add_item(cl_tree, hf_zbee_gp_n_srv_clusters, tvb, offset, 1, ENC_NA); proto_tree_add_item(cl_tree, hf_zbee_gp_n_cli_clusters, tvb, offset, 1, ENC_NA); offset += 1; if (n_srv_clusters) { proto_tree *s_tree = proto_tree_add_subtree_format(cl_tree, tvb, offset, n_srv_clusters*2, ett_zbee_zcl_gp_srv_clusters, NULL, "Server clusters #%d", n_srv_clusters); while (n_srv_clusters) { proto_tree_add_item(s_tree, hf_zbee_gp_gpd_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; n_srv_clusters--; } } if (n_cli_clusters) { proto_tree *c_tree = proto_tree_add_subtree_format(cl_tree, tvb, offset, n_cli_clusters*2, ett_zbee_zcl_gp_cli_clusters, NULL, "Client clusters #%d", n_cli_clusters); while (n_cli_clusters) { proto_tree_add_item(c_tree, hf_zbee_gp_gpd_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; n_cli_clusters--; } } } } break; } case ZBEE_CMD_ID_GP_SINK_COMMISSIONING_MODE: dissect_zcl_gp_sink_comm_mode(tree, tvb, &offset); break; case ZBEE_CMD_ID_GP_TRANSLATION_TABLE_UPDATE_COMMAND: case ZBEE_CMD_ID_GP_TRANSLATION_TABLE_REQUEST: /* TODO: add commands parse */ break; case ZBEE_CMD_ID_GP_SINK_TABLE_REQUEST: dissect_zcl_gp_proxy_sink_table_request(tree, tvb, &offset); break; case ZBEE_CMD_ID_GP_PROXY_TABLE_RESPONSE: dissect_zcl_gp_proxy_sink_table_response(tree, tvb, &offset, ZBEE_ZCL_ATTR_GPP_PROXY_TABLE); break; default: break; } /* switch */ } else { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_gp_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_gp_srv_tx_cmd_id, tvb, offset, 1, ENC_NA); offset++; /* Handle the command dissection. */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_GP_NOTIFICATION_RESPONSE: /* TODO: add commands parse */ break; case ZBEE_ZCL_CMD_ID_GP_PAIRING: { static int * const p_options[] = { &hf_zbee_gp_cmd_pairing_opt_app_id, &hf_zbee_gp_cmd_pairing_opt_add_sink, &hf_zbee_gp_cmd_pairing_opt_remove_gpd, &hf_zbee_gp_cmd_pairing_opt_communication_mode, &hf_zbee_gp_cmd_pairing_opt_gpd_fixed, &hf_zbee_gp_cmd_pairing_opt_gpd_mac_seq_num_cap, &hf_zbee_gp_cmd_pairing_opt_secur_level, &hf_zbee_gp_cmd_pairing_opt_secur_key_type, &hf_zbee_gp_cmd_pairing_opt_gpd_frame_cnt_present, &hf_zbee_gp_cmd_pairing_opt_gpd_secur_key_present, &hf_zbee_gp_cmd_pairing_opt_assigned_alias_present, &hf_zbee_gp_cmd_pairing_opt_fwd_radius_present, NULL }; guint32 options = tvb_get_guint24(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_pairing_options, ett_zbee_gp_cmd_pairing_options, p_options, ENC_LITTLE_ENDIAN); offset += 3; if ((options & ZBEE_ZCL_GP_PAIRING_OPTION_APP_ID) == 0) { proto_tree_add_item(tree, hf_zbee_gp_src_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } else { proto_tree_add_item(tree, hf_zbee_gp_ieee, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_gp_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } if ((options & ZBEE_ZCL_GP_PAIRING_OPTION_REMOVE_GPD) == 0 && /* see Table 37 */ (options & ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE) == ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE) { proto_tree_add_item(tree, hf_zbee_gp_sink_ieee, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_gp_sink_nwk, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } if ((options & ZBEE_ZCL_GP_PAIRING_OPTION_REMOVE_GPD) == 0 && (options & ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE) != ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE && (options & ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE) != 0) { proto_tree_add_item(tree, hf_zbee_gp_sink_group_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } if (options & ZBEE_ZCL_GP_PAIRING_OPTION_ADD_SINK) { proto_tree_add_item(tree, hf_zbee_gp_device_id, tvb, offset, 1, ENC_NA); offset += 1; } if (options & ZBEE_ZCL_GP_PAIRING_OPTION_GPD_FRAME_CNT_PRESENT) { proto_tree_add_item(tree, hf_zbee_gp_secur_frame_counter, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } if (options & ZBEE_ZCL_GP_PAIRING_OPTION_GPD_SECUR_KEY_PRESENT) { proto_tree_add_item(tree, hf_zbee_gp_gpd_key, tvb, offset, 16, ENC_NA); offset += 16; } if (options & ZBEE_ZCL_GP_PAIRING_OPTION_ASSIGNED_ALIAS_PRESENT) { proto_tree_add_item(tree, hf_zbee_gp_assigned_alias, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } if (options & ZBEE_ZCL_GP_PAIRING_OPTION_FWD_RADIUS_PRESENT) { proto_tree_add_item(tree, hf_zbee_gp_forwarding_radius, tvb, offset, 1, ENC_NA); offset += 1; } break; } case ZBEE_ZCL_CMD_ID_GP_PROXY_COMMISSIONING_MODE: { static int * const pcm_options[] = { &hf_zbee_gp_cmd_pcm_opt_action, &hf_zbee_gp_cmd_pcm_opt_exit_mode, &hf_zbee_gp_cmd_pcm_opt_channel_present, &hf_zbee_gp_cmd_pcm_opt_unicast_comm, NULL }; guint8 options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_proxy_commissioning_mode_options, ett_zbee_gp_cmd_proxy_commissioning_mode_options, pcm_options, ENC_NA); if (options & ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ACTION) { static int * const exit_mode[] = { &hf_zbee_gp_cmd_pcm_exit_mode_on_comm_window_expire, &hf_zbee_gp_cmd_pcm_exit_mode_on_pairing_success, &hf_zbee_gp_cmd_pcm_exit_mode_on_gp_proxy_comm_mode, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_proxy_commissioning_mode_exit_mode, ett_zbee_gp_cmd_proxy_commissioning_mode_exit_mode, exit_mode, ENC_NA); } offset += 1; if (options & ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ON_COMMISSIONING_WINDOW_EXPIRATION) { proto_tree_add_item(tree, hf_zbee_zcl_gp_commissioning_window, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } if (options & ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_CHANNEL_PRESENT) { proto_tree_add_item(tree, hf_zbee_zcl_gp_channel, tvb, offset, 1, ENC_NA); offset += 1; } break; } case ZBEE_ZCL_CMD_ID_GP_RESPONSE: { static int * const rsp_options[] = { &hf_zbee_gp_cmd_resp_opt_app_id, &hf_zbee_gp_cmd_resp_opt_tx_on_ep_match, NULL }; static int * const tx_ch[] = { &hf_zbee_gp_cmd_resp_tx_channel, NULL }; guint8 options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_response_options, ett_zbee_gp_cmd_response_options, rsp_options, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_gp_tmp_master_short_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_gp_cmd_response_tx_channel, ett_zbee_gp_cmd_response_tx_channel, tx_ch, ENC_LITTLE_ENDIAN); offset += 1; if ((options & ZBEE_ZCL_GP_RESPONSE_OPTION_APP_ID) == 0) { proto_tree_add_item(tree, hf_zbee_gp_src_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } else { proto_tree_add_item(tree, hf_zbee_gp_ieee, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_zbee_gp_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } offset = dissect_zbee_zcl_gp_payload(tvb, pinfo, tree, offset); break; } case ZBEE_ZCL_CMD_ID_GP_TRANS_TBL_RESPONSE: /* TODO: add commands parse */ break; case ZBEE_ZCL_CMD_ID_GP_SINK_TABLE_RESPONSE: dissect_zcl_gp_proxy_sink_table_response(tree, tvb, &offset, ZBEE_ZCL_ATTR_GPS_SINK_TABLE); break; case ZBEE_ZCL_CMD_ID_GP_PROXY_TABLE_REQUEST: dissect_zcl_gp_proxy_sink_table_request(tree, tvb, &offset); break; default: break; } /* switch */ } /* Call the data dissector for any leftover bytes. */ if (tvb_captured_length(tvb) > offset) { call_data_dissector(tvb_new_subset_remaining(tvb, offset), pinfo, tree); } return tvb_captured_length(tvb); } /* dissect_zbee_zcl_gp */ /** * dissect_zcl_gp_attr_data * * this function is called by ZCL foundation dissector in order to decode * specific cluster attributes data. * * @param tree - pointer to data tree Wireshark uses to display packet. * @param tvb - pointer to buffer containing raw packet. * @param offset - pointer to buffer offset * @param attr_id - attribute identifier * @param data_type - attribute data type * @param client_attr - ZCL client */ static void dissect_zcl_gp_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id _U_, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_GPS_SINK_TABLE: *offset = dissect_zbee_zcl_gp_sink_table(tvb, tree, *offset); break; case ZBEE_ZCL_ATTR_GPS_COMMUNICATION_MODE: *offset = dissect_zbee_zcl_gp_attr_gps_communication_mode(tvb, tree, *offset); break; case ZBEE_ZCL_ATTR_GPS_COMMISSIONING_EXIT_MODE: *offset = dissect_zbee_zcl_gp_attr_gps_comm_exit_mode(tvb, tree, *offset); break; case ZBEE_ZCL_ATTR_GPS_SECURITY_LEVEL: *offset = dissect_zbee_zcl_gp_attr_gps_secur_lvl(tvb, tree, *offset); break; case ZBEE_ZCL_ATTR_GPS_FUNCTIONALITY: *offset = dissect_zbee_zcl_gp_attr_gps_functionality(tvb, tree, *offset); break; case ZBEE_ZCL_ATTR_GPS_ACTIVE_FUNCTIONALITY: *offset = dissect_zbee_zcl_gp_attr_gps_active_functionality(tvb, tree, *offset); break; case ZBEE_ZCL_ATTR_GPP_PROXY_TABLE: *offset = dissect_zbee_zcl_gp_proxy_table(tvb, tree, *offset); break; case ZBEE_ZCL_ATTR_GPP_FUNCTIONALITY: *offset = dissect_zbee_zcl_gp_attr_gpp_functionality(tvb, tree, *offset); break; case ZBEE_ZCL_ATTR_GPP_ACTIVE_FUNCTIONALITY: *offset = dissect_zbee_zcl_gp_attr_gpp_active_functionality(tvb, tree, *offset); break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); } } /*dissect_zcl_gp_attr_data*/ /** * proto_register_zbee_zcl_gp * * ZigBee ZCL Green Power cluster protocol registration. */ void proto_register_zbee_zcl_gp(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_gp_attr_id, { "Attribute", "zbee_zcl_general.gp.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_gp_srv_rx_cmd_id, { "Command", "zbee_zcl_general.gp.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_srv_rx_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_gp_srv_tx_cmd_id, { "Command", "zbee_zcl_general.gp.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_srv_tx_cmd_names), 0x0, NULL, HFILL }}, /* GP Proxy Commissioning Mode command */ { &hf_zbee_gp_cmd_proxy_commissioning_mode_options, { "Options", "zbee_zcl_general.gp.proxy_comm_mode.options", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_gp_commissioning_window, { "Commissioning window", "zbee_zcl_general.gp.proxy_comm_mode.comm_window", FT_UINT16, BASE_DEC, NULL, 0x0, "Commissioning window in seconds", HFILL }}, { &hf_zbee_zcl_gp_channel, { "Channel", "zbee_zcl_general.gp.proxy_comm_mode.channel", FT_UINT8, BASE_DEC, NULL, 0x0, "Identifier of the channel the devices SHOULD switch to on reception", HFILL }}, { &hf_zbee_gp_cmd_pcm_opt_action, { "Action", "zbee_zcl_general.gp.proxy_comm_mode.opt.action", FT_UINT8, BASE_DEC, VALS(zbee_zcl_gp_comm_mode_actions), ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ACTION, NULL, HFILL }}, { &hf_zbee_gp_cmd_pcm_opt_exit_mode, { "Exit mode", "zbee_zcl_general.gp.proxy_comm_mode.opt.exit_mode", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_EXIT_MODE, "Commissioning mode exit requirements", HFILL }}, { &hf_zbee_gp_cmd_pcm_opt_channel_present, { "Channel present", "zbee_zcl_general.gp.proxy_comm_mode.opt.ch_present", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_CHANNEL_PRESENT, "If set to 0b1, it indicates that the Channel field is present", HFILL }}, { &hf_zbee_gp_cmd_pcm_opt_unicast_comm, { "Unicast", "zbee_zcl_general.gp.proxy_comm_mode.opt.unicast", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_UNICAST, "Send the GP Commissioning Notification commands in broadcast (0) vs unicast (1)", HFILL }}, { &hf_zbee_gp_cmd_proxy_commissioning_mode_exit_mode, { "Exit mode", "zbee_zcl_general.gp.proxy_comm_mode.opt.exit_mode", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_EXIT_MODE, "Commissioning mode exit requirements", HFILL }}, { &hf_zbee_gp_cmd_pcm_exit_mode_on_comm_window_expire, { "On Window expire", "zbee_zcl_general.gp.proxy_comm_mode.opt.exit_mode.win_expire", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ON_COMMISSIONING_WINDOW_EXPIRATION, "On CommissioningWindow expiration", HFILL }}, { &hf_zbee_gp_cmd_pcm_exit_mode_on_pairing_success, { "On first Pairing success", "zbee_zcl_general.gp.proxy_comm_mode.opt.exit_mode.pair_succs", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ON_PAIRING_SUCCESS, NULL, HFILL }}, { &hf_zbee_gp_cmd_pcm_exit_mode_on_gp_proxy_comm_mode, { "On GP Proxy Commissioning Mode", "zbee_zcl_general.gp.proxy_comm_mode.opt.exit_mode.proxy_comm_mode", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_PROXY_COMMISSIONING_MODE_OPTION_ON_GP_PROXY_COMM_MODE, "On GP Proxy Commissioning Mode (exit)", HFILL }}, /* GP Commissioning Notification command */ { &hf_zbee_gp_cmd_commissioning_notification_options, { "Options", "zbee_zcl_general.gp.comm_notif.options", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_gp_cmd_comm_notif_opt_app_id, { "ApplicationID", "zbee_zcl_general.gp.comm_notif.opt.app_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_app_ids), ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_APP_ID, NULL, HFILL }}, { &hf_zbee_gp_cmd_comm_notif_opt_rx_after_tx, { "RxAfterTx", "zbee_zcl_general.gp.comm_notif.opt.rx_after_tx", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_RX_AFTER_TX, NULL, HFILL }}, { &hf_zbee_gp_cmd_comm_notif_opt_secur_level, { "SecurityLevel", "zbee_zcl_general.gp.comm_notif.opt.secur_lev", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_secur_levels), ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_SECUR_LEVEL, NULL, HFILL }}, { &hf_zbee_gp_cmd_comm_notif_opt_secur_key_type, { "SecurityKeyType", "zbee_zcl_general.gp.comm_notif.opt.secur_key_type", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_secur_key_types), ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_SECUR_KEY_TYPE, NULL, HFILL }}, { &hf_zbee_gp_cmd_comm_notif_opt_secur_fail, { "Security processing failed", "zbee_zcl_general.gp.comm_notif.opt.secur_failed", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_SECUR_FAILED, NULL, HFILL }}, { &hf_zbee_gp_cmd_comm_notif_opt_bidir_cap, { "Bidirectional Capability", "zbee_zcl_general.gp.comm_notif.opt.bidir_cap", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_BIDIR_CAP, NULL, HFILL }}, { &hf_zbee_gp_cmd_comm_notif_opt_proxy_info_present, { "Proxy info present", "zbee_zcl_general.gp.comm_notif.opt.proxy_info", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_COMMISSIONING_NOTIFICATION_OPTION_PROXY_INFO_PRESENT, NULL, HFILL }}, { &hf_zbee_gp_src_id, { "SrcID", "zbee_zcl_general.gp.src_id", FT_UINT32, BASE_HEX, NULL, 0, "GPD Source identifier", HFILL }}, { &hf_zbee_gp_ieee, { "GPD IEEE", "zbee_zcl_general.gp.gpd_ieee", FT_EUI64, BASE_NONE, NULL, 0, "GPD IEEE address", HFILL }}, { &hf_zbee_gp_endpoint, { "Endpoint", "zbee_zcl_general.gp.endpoint", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_secur_frame_counter, { "Frame counter", "zbee_zcl_general.gp.frame_cnt", FT_UINT32, BASE_DEC, NULL, 0, "GPD security frame counter", HFILL }}, { &hf_zbee_gp_gpd_command_id, { "ZGPD CommandID", "zbee_zcl_general.gp.command_id", FT_UINT8, BASE_HEX | BASE_EXT_STRING, &zbee_nwk_gp_cmd_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_gp_short_addr, { "GPP short address", "zbee_zcl_general.gp.gpp_short", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_gpp_gpd_link, { "GPP-GPD link", "zbee_zcl_general.gp.gpd_gpp_link", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_mic, { "MIC", "zbee_zcl_general.gp.mic", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gpp_gpd_link_rssi, { "RSSI", "zbee_zcl_general.gp.gpp_gpd_link.rssi", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_GP_GPP_GPD_LINK_RSSI, NULL, HFILL }}, { &hf_zbee_gpp_gpd_link_lqi, { "LQI", "zbee_zcl_general.gp.gpp_gpd_link.lqi", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_lqi_vals), ZBEE_ZCL_GP_GPP_GPD_LINK_LQI, NULL, HFILL }}, { &hf_zbee_gp_gpd_payload_size, { "Payload size", "zbee_zcl_general.gp.payload_size", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, /* GP Notification */ { &hf_zbee_gp_cmd_notification_options, { "Options", "zbee_zcl_general.gp.notif.opt", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_app_id, { "ApplicationID", "zbee_zcl_general.gp.notif.opt.app_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_app_ids), ZBEE_ZCL_GP_NOTIFICATION_OPTION_APP_ID, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_also_unicast, { "Also Unicast", "zbee_zcl_general.gp.notif.opt.also_unicast", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_NOTIFICATION_OPTION_ALSO_UNICAST, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_also_derived_group, { "Also Derived Group", "zbee_zcl_general.gp.notif.opt.also_derived_grp", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_NOTIFICATION_OPTION_ALSO_DERIVED_GROUP, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_also_comm_group, { "Also Commissioned Group", "zbee_zcl_general.gp.notif.opt.also_comm_grp", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_NOTIFICATION_OPTION_ALSO_COMMISSIONED_GROUP, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_secur_level, { "SecurityLevel", "zbee_zcl_general.gp.notif.opt.secur_lev", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_secur_levels), ZBEE_ZCL_GP_NOTIFICATION_OPTION_SECUR_LEVEL, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_secur_key_type, { "SecurityKeyType", "zbee_zcl_general.gp.notif.opt.secur_key_type", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_secur_key_types), ZBEE_ZCL_GP_NOTIFICATION_OPTION_SECUR_KEY_TYPE, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_rx_after_tx, { "RxAfterTx", "zbee_zcl_general.gp.comm_notif.opt.rx_after_tx", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_NOTIFICATION_OPTION_RX_AFTER_TX, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_tx_q_full, { "gpTxQueueFull", "zbee_zcl_general.gp.comm_notif.opt.tx_q_full", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_NOTIFICATION_OPTION_TX_Q_FULL, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_bidir_cap, { "Bidirectional Capability", "zbee_zcl_general.gp.notif.opt.bidir_cap", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_NOTIFICATION_OPTION_BIDIR_CAP, NULL, HFILL }}, { &hf_zbee_gp_cmd_notif_opt_proxy_info_present, { "Proxy info present", "zbee_zcl_general.gp.notif.opt.proxy_info", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_NOTIFICATION_OPTION_PROXY_INFO_PRESENT, NULL, HFILL }}, /* GP Pairing */ { &hf_zbee_gp_cmd_pairing_opt_app_id, { "ApplicationID", "zbee_zcl_general.gp.pairing.opt.app_id", FT_UINT24, BASE_HEX, VALS(zbee_zcl_gp_app_ids), ZBEE_ZCL_GP_PAIRING_OPTION_APP_ID, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_add_sink, { "Add Sink", "zbee_zcl_general.gp.pairing.opt.add_sink", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_PAIRING_OPTION_ADD_SINK, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_remove_gpd, { "Remove GPD", "zbee_zcl_general.gp.pairing.opt.remove_gpd", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_PAIRING_OPTION_REMOVE_GPD, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_communication_mode, { "Communication mode", "zbee_zcl_general.gp.pairing.opt.comm_mode", FT_UINT24, BASE_HEX, VALS(zbee_zcl_gp_communication_modes), ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_gpd_fixed, { "GPD Fixed", "zbee_zcl_general.gp.pairing.opt.gpd_fixed", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_PAIRING_OPTION_GPD_FIXED, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_gpd_mac_seq_num_cap, { "MAC Seq number cap", "zbee_zcl_general.gp.pairing.opt.seq_num_cap", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_PAIRING_OPTION_GPD_MAC_SEQ_NUM_CAP, "GPD MAC sequence number capabilities", HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_secur_level, { "SecurityLevel", "zbee_zcl_general.gp.pairing.opt.secur_lev", FT_UINT24, BASE_HEX, VALS(zbee_zcl_gp_secur_levels), ZBEE_ZCL_GP_PAIRING_OPTION_SECUR_LEVEL, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_secur_key_type, { "SecurityKeyType", "zbee_zcl_general.gp.pairing.opt.secur_key_type", FT_UINT24, BASE_HEX, VALS(zbee_zcl_gp_secur_key_types), ZBEE_ZCL_GP_PAIRING_OPTION_SECUR_KEY_TYPE, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_gpd_frame_cnt_present, { "Frame Counter present", "zbee_zcl_general.gp.pairing.opt.frame_counter_present", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_PAIRING_OPTION_GPD_FRAME_CNT_PRESENT, "GPD security Frame Counter present", HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_gpd_secur_key_present, { "Key present", "zbee_zcl_general.gp.pairing.opt.key_present", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_PAIRING_OPTION_GPD_SECUR_KEY_PRESENT, "GPD security key present", HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_assigned_alias_present, { "Assigned Alias present", "zbee_zcl_general.gp.pairing.opt.asn_alias_present", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_PAIRING_OPTION_ASSIGNED_ALIAS_PRESENT, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_opt_fwd_radius_present, { "Forwarding Radius present", "zbee_zcl_general.gp.pairing.opt.fwd_radius_present", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_PAIRING_OPTION_FWD_RADIUS_PRESENT, NULL, HFILL }}, { &hf_zbee_gp_cmd_pairing_options, { "Options", "zbee_zcl_general.gp.pairing.opt", FT_UINT24, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_sink_ieee, { "Sink IEEE", "zbee_zcl_general.gp.sink_ieee", FT_EUI64, BASE_NONE, NULL, 0, "Sink IEEE address", HFILL }}, { &hf_zbee_gp_sink_nwk, { "Sink NWK", "zbee_zcl_general.gp.sink_nwk", FT_UINT16, BASE_HEX, NULL, 0, "Sink NWK address", HFILL }}, { &hf_zbee_gp_sink_group_id, { "Sink GroupID", "zbee_zcl_general.gp.sink_grp", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_device_id, { "DeviceID", "zbee_zcl_general.gp.dev_id", FT_UINT8, BASE_HEX, VALS(zbee_nwk_gp_device_ids_names), 0, NULL, HFILL }}, { &hf_zbee_gp_assigned_alias, { "Assigned alias", "zbee_zcl_general.gp.asn_alias", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_forwarding_radius, { "Forwarding Radius", "zbee_zcl_general.gp.fw_radius", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_gpd_key, { "GPD key", "zbee_zcl_general.gp.gpd_key", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_groupcast_radius, { "Groupcast radius", "zbee_zcl_general.gp.groupcast_radius", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, /* GP Response */ { &hf_zbee_gp_cmd_response_options, { "Options", "zbee_zcl_general.gp.response.opt", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_cmd_resp_opt_app_id, { "ApplicationID", "zbee_zcl_general.gp.response.opt.app_id", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_GP_RESPONSE_OPTION_APP_ID, NULL, HFILL }}, { &hf_zbee_gp_cmd_resp_opt_tx_on_ep_match, { "Transmit on endpoint match", "zbee_zcl_general.gp.response.opt.tx_on_ep_match", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_GP_RESPONSE_OPTION_TX_ON_ENDPOINT_MATCH, NULL, HFILL }}, { &hf_zbee_gp_cmd_response_tx_channel, { "TempMaster Tx channel", "zbee_zcl_general.gp.response.tmpmaster_tx_chan", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_cmd_resp_tx_channel, { "Transmit channel", "zbee_zcl_general.gp.response.opt.tx_chan", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_channels), ZBEE_ZCL_GP_RESPONSE_TX_CHANNEL, NULL, HFILL }}, { &hf_zbee_gp_tmp_master_short_addr, { "TempMaster short address", "zbee_zcl_general.gp.response.tmpmaster_addr", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, /* GP Pairing Configuration */ { &hf_zbee_gp_cmd_pc_actions_action, { "Action", "zbee_zcl_general.gp.pc.action.action", FT_UINT8, BASE_HEX, VALS(zbee_gp_pc_actions), ZBEE_ZCL_GP_CMD_PC_ACTIONS_ACTION, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_actions_send_gp_pairing, { "Send GP Pairing", "zbee_zcl_general.gp.pc.action.send_gp_pairing", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_PC_ACTIONS_SEND_GP_PAIRING, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_opt_app_id, { "ApplicationID", "zbee_zcl_general.gp.pp.opt.app_id", FT_UINT16, BASE_HEX, NULL, ZBEE_ZCL_GP_CMD_PC_OPT_APP_ID, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_opt_communication_mode, { "Communication mode", "zbee_zcl_general.gp.pc.opt.comm_mode", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_communication_modes), ZBEE_ZCL_GP_CMD_PC_OPT_COMMUNICATION_MODE, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_opt_seq_number_cap, { "Sequence number capabilities", "zbee_zcl_general.gp.pc.opt.seq_num_cap", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_CMD_PC_OPT_SEQ_NUMBER_CAP, NULL, HFILL }}, { &hf_zbee_gp_cmd_px_opt_rx_on_cap, { "RxOnCapability", "zbee_zcl_general.gp.pc.opt.rx_on_cap", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_CMD_PC_OPT_RX_ON_CAP, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_opt_fixed_location, { "FixedLocation", "zbee_zcl_general.gp.pc.opt.fixed_loc", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_CMD_PC_OPT_FIXED_LOCATION, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_opt_assigned_alias, { "AssignedAlias", "zbee_zcl_general.gp.pc.opt.asn_alias", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_CMD_PC_OPT_ASSIGNED_ALIAS, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_opt_security_use, { "Security use", "zbee_zcl_general.gp.pc.opt.secur_use", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_CMD_PC_OPT_SECURITY_USE, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_opt_app_info_present, { "Application in-formation present", "zbee_zcl_general.gp.pc.opt.app_info_present", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_CMD_PC_OPT_APP_INFO_PRESENT, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_secur_level, { "SecurityLevel", "zbee_zcl_general.gp.pc.secur.secur_lev", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_secur_levels), ZBEE_ZCL_GP_CMD_PC_SECUR_LEVEL, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_secur_key_type, { "SecurityKeyType", "zbee_zcl_general.gp.pc.secur.secur_key_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_secur_key_types), ZBEE_ZCL_GP_CMD_PC_SECUR_KEY_TYPE, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_app_info_manuf_id_present, { "ManufacturerID present", "zbee_zcl_general.gp.pc.app.manuf_id_present", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_PC_APP_INFO_MANUF_ID_PRESENT, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_app_info_model_id_present, { "ModelID present", "zbee_zcl_general.gp.pc.app.model_id_present", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_PC_APP_INFO_MODEL_ID_PRESENT, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_app_info_gpd_commands_present, { "GPD commands present", "zbee_zcl_general.gp.pc.app.gpd_cmds_present", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_PC_APP_INFO_GPD_COMMANDS_PRESENT, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_app_info_cluster_list_present, { "Cluster list present", "zbee_zcl_general.gp.pc.app.cluster_list_present", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_PC_APP_INFO_CLUSTER_LIST_PRESENT, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_actions, { "Actions", "zbee_zcl_general.gp.pc.actions", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_options, { "Options", "zbee_zcl_general.gp.pc.options", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_group_list_len, { "Group list length", "zbee_zcl_general.gp.group_list.len", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_group_list_group_id, { "Group id", "zbee_zcl_general.gp.group_list.group", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_group_list_alias, { "Alias", "zbee_zcl_general.gp.group_list.alias", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_secur_options, { "Security Options", "zbee_zcl_general.gp.pc.secur_options", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_n_paired_endpoints, { "Number of paired endpoints", "zbee_zcl_general.gp.pc.n_ep", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_paired_endpoint, { "Paired endpoint", "zbee_zcl_general.gp.pc.endpoint", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_cmd_pc_app_info, { "Application information", "zbee_zcl_general.gp.pc.app_info", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_manufacturer_id, { "Manufacturer ID", "zbee_zcl_general.gp.pc.manufacturer_id", FT_UINT16, BASE_HEX, VALS(zbee_mfr_code_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_gp_model_id, { "Model ID", "zbee_zcl_general.gp.pc.model_id", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_n_gpd_commands, { "Number of GPD commands", "zbee_zcl_general.gp.pc.n_gpd_commands", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_gpd_command, { "ZGPD Command ID", "zbee_zcl_general.gp.pc.gpd_command", FT_UINT8, BASE_HEX | BASE_EXT_STRING, &zbee_nwk_gp_cmd_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_gp_n_srv_clusters, { "Number of Server clusters", "zbee_zcl_general.gp.pc.n_srv_clusters", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_GP_CLUSTER_LIST_LEN_SRV, NULL, HFILL }}, { &hf_zbee_gp_n_cli_clusters, { "Number of Client clusters", "zbee_zcl_general.gp.pc.n_clnt_clusters", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_GP_CLUSTER_LIST_LEN_CLI, NULL, HFILL }}, { &hf_zbee_gp_gpd_cluster_id, { "Cluster ID", "zbee_zcl_general.gp.pc.cluster", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_cid_names), 0x0, NULL, HFILL }}, /* GP Sink Table Request and GP Proxy Table Request commands */ { &hf_zbee_zcl_proxy_sink_tbl_req_options, { "Options", "zbee_zcl_general.gp.proxy_sink_tbl_req.options", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_proxy_sink_tbl_req_fld_app_id, { "Application ID", "zbee_zcl_general.gp.proxy_sink_tbl_req.options.app_id", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_GP_PROXY_SINK_TBL_REQ_CMD_APP_ID, NULL, HFILL }}, { &hf_zbee_zcl_proxy_sink_tbl_req_fld_req_type, { "Request type", "zbee_zcl_general.gp.proxy_sink_tbl_req.options.req_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_proxy_sink_tbl_req_type), ZBEE_ZCL_GP_PROXY_SINK_TBL_REQ_CMD_REQ_TYPE, NULL, HFILL }}, { &hf_zbee_zcl_proxy_sink_tbl_req_index, { "Index", "zbee_zcl_general.gp.proxy_sink_tbl_req.index", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, /* GP Sink Table Response and GP Proxy Table Response commands */ { &hf_zbee_zcl_proxy_sink_tbl_resp_status, { "Status", "zbee_zcl_general.gp.proxy_sink_tbl_resp.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_status_names), 0, NULL, HFILL }}, { &hf_zbee_zcl_proxy_sink_tbl_resp_entries_total, { "Total number of non-empty entries", "zbee_zcl_general.gp.proxy_sink_tbl_resp.entries_total", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_proxy_sink_tbl_resp_start_index, { "Start index", "zbee_zcl_general.gp.proxy_sink_tbl_resp.start_index", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_proxy_sink_tbl_resp_entries_count, { "Entries count", "zbee_zcl_general.gp.proxy_sink_tbl_resp.entries_count", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, /* GP Sink Commissioning Mode command */ { &hf_zbee_zcl_gp_cmd_sink_comm_mode_options, { "Options", "zbee_zcl_general.gp.sink_comm_mode.options", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_action, { "Action", "zbee_zcl_general.gp.sink_comm_mode.options.action", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_SINK_COMM_MODE_OPTIONS_FLD_ACTION, NULL, HFILL }}, { &hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_gpm_in_secur, { "Involve GPM in security", "zbee_zcl_general.gp.sink_comm_mode.options.inv_gpm_in_secur", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_SINK_COMM_MODE_OPTIONS_FLD_INV_GPM_IN_SECUR, NULL, HFILL }}, { &hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_gpm_in_pairing, { "Involve GPM in pairing", "zbee_zcl_general.gp.sink_comm_mode.options.inv_gpm_in_pairing", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_SINK_COMM_MODE_OPTIONS_FLD_INV_GPM_IN_PAIRING, NULL, HFILL }}, { &hf_zbee_zcl_gp_cmd_sink_comm_mode_options_fld_inv_proxies, { "Involve proxies", "zbee_zcl_general.gp.sink_comm_mode.options.inv_proxies", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_CMD_SINK_COMM_MODE_OPTIONS_FLD_INV_PROXIES, NULL, HFILL }}, { &hf_zbee_gp_zcl_cmd_sink_comm_mode_gpm_addr_for_secur, { "GPM address for security", "zbee_zcl_general.gp.sink_comm_mode.gpm_addr_for_secur", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_zcl_cmd_sink_comm_mode_gpm_addr_for_pairing, { "GPM address for pairing", "zbee_zcl_general.gp.sink_comm_mode.gpm_addr_for_pairing", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_zcl_cmd_sink_comm_mode_sink_ep, { "Sink Endpoint", "zbee_zcl_general.gp.sink_comm_mode.sink_ep", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, /* GP Sink Table attribute */ { &hf_zbee_gp_sink_tbl_length, { "Sink Table length", "zbee_zcl_general.gp.sink_tbl_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_sink_tbl_entry_options, { "Options", "zbee_zcl_general.gp.sink_tbl.entry.opt", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_sec_options, { "Security Options", "zbee_zcl_general.gp.secur", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_sink_tbl_entry_options_app_id, { "ApplicationID", "zbee_zcl_general.gp.sink_tbl.entry.opt.app_id", FT_UINT16, BASE_HEX, NULL, ZBEE_ZCL_GP_SINK_TBL_OPT_APP_ID, NULL, HFILL }}, { &hf_zbee_gp_sink_tbl_entry_options_comm_mode, { "Communication Mode", "zbee_zcl_general.gp.sink_tbl.entry.opt.comm_mode", FT_UINT16, BASE_HEX, VALS(zbee_zcl_gp_communication_modes), ZBEE_ZCL_GP_SINK_TBL_OPT_COMMUNICATION_MODE, NULL, HFILL }}, { &hf_zbee_gp_sink_tbl_entry_options_seq_num_cap, { "Sequence number capabilities", "zbee_zcl_general.gp.sink_tbl.entry.opt.seq_num_cap", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_SINK_TBL_OPT_SEQ_NUMBER_CAP, NULL, HFILL }}, { &hf_zbee_gp_sink_tbl_entry_options_rx_on_cap, { "Rx On Capability", "zbee_zcl_general.gp.sink_tbl.entry.opt.rx_on_cap", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_SINK_TBL_OPT_RX_ON_CAP, NULL, HFILL }}, { &hf_zbee_gp_sink_tbl_entry_options_fixed_loc, { "Fixed Location", "zbee_zcl_general.gp.sink_tbl.entry.opt.fixed_loc", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_SINK_TBL_OPT_FIXED_LOCATION, NULL, HFILL }}, { &hf_zbee_gp_sink_tbl_entry_options_assigned_alias, { "Assigned Alias", "zbee_zcl_general.gp.sink_tbl.entry.opt.asn_alias", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_SINK_TBL_OPT_ASSIGNED_ALIAS, NULL, HFILL }}, { &hf_zbee_gp_sink_tbl_entry_options_sec_use, { "Security use", "zbee_zcl_general.gp.sink_tbl.entry.opt.secur_use", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_SINK_TBL_OPT_SECURITY_USE, NULL, HFILL }}, { &hf_zbee_gp_sec_options_sec_level, { "Security Level", "zbee_zcl_general.gp.secur.secur_lev", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_secur_levels), ZBEE_ZCL_GP_SECUR_OPT_SECUR_LEVEL, NULL, HFILL }}, { &hf_zbee_gp_sec_options_sec_key_type, { "Security Key Type", "zbee_zcl_general.gp.secur.secur_key_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_secur_key_types), ZBEE_ZCL_GP_SECUR_OPT_SECUR_KEY_TYPE, NULL, HFILL }}, /* GP Proxy Table attribute */ { &hf_zbee_gp_proxy_tbl_length, { "Proxy Table length", "zbee_zcl_general.gp.proxy_tbl_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options, { "Options", "zbee_zcl_general.gp.proxy_tbl.entry.opt", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_ext_options, { "Extended Options", "zbee_zcl_general.gp.proxy_tbl.entry.ext_opt", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_app_id, { "ApplicationID", "zbee_zcl_general.gp.proxy_tbl.entry.opt.app_id", FT_UINT16, BASE_HEX, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_APP_ID, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_entry_active, { "EntryActive", "zbee_zcl_general.gp.proxy_tbl.entry.opt.entry_active", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_ENTRY_ACTIVE, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_entry_valid, { "EntryValid", "zbee_zcl_general.gp.proxy_tbl.entry.opt.entry_valid", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_ENTRY_VALID, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_seq_num_cap, { "Sequence number capabilities", "zbee_zcl_general.gp.proxy_tbl.entry.opt.seq_num_cap", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_SEQ_NUMBER_CAP, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_lw_ucast_gps, { "Lightweight Unicast GPS", "zbee_zcl_general.gp.proxy_tbl.entry.opt.lw_ucast_gps", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_LW_UCAST_GPS, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_derived_group_gps, { "Derived Group GPS", "zbee_zcl_general.gp.proxy_tbl.entry.opt.derived_group_gps", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_DERIVED_GROUP_GPS, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_comm_group_gps, { "Commissioned Group GPS", "zbee_zcl_general.gp.proxy_tbl.entry.opt.comm_group_gps", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_COMM_GROUP_GPS, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_first_to_forward, { "FirstToForward", "zbee_zcl_general.gp.proxy_tbl.entry.opt.first_to_forward", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_FIRST_TO_FORWARD, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_in_range, { "InRange", "zbee_zcl_general.gp.proxy_tbl.entry.opt.in_range", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_IN_RANGE, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_gpd_fixed, { "GPD Fixed", "zbee_zcl_general.gp.proxy_tbl.entry.opt.gpd_fixed", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_GPD_FIXED, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_has_all_ucast_routes, { "HasAllUnicastRoutes", "zbee_zcl_general.gp.proxy_tbl.entry.opt.has_all_ucast_routes", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_HAS_ALL_UCAST_ROUTES, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_assigned_alias, { "AssignedAlias", "zbee_zcl_general.gp.proxy_tbl.entry.opt.asn_alias", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_ASSIGNED_ALIAS, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_sec_use, { "SecurityUse", "zbee_zcl_general.gp.proxy_tbl.entry.opt.secur_use", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_SECURITY_USE, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_options_opt_ext, { "Options Extension", "zbee_zcl_general.gp.proxy_tbl.entry.opt.ext_opt", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_OPT_OPTIONS_EXTENTIONS, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_search_counter, { "Search Counter", "zbee_zcl_general.gp.proxy_tbl.entry.search_counter", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_zbee_gp_proxy_tbl_entry_ext_options_full_ucast_gps, { "Full unicast GPS", "zbee_zcl_general.gp.proxy_tbl.entry.ext_opt.full_ucast_gps", FT_BOOLEAN, 16, NULL, ZBEE_ZCL_GP_PROXY_TBL_EXT_OPT_FULL_UCAST_GPS, NULL, HFILL }}, { &hf_zbee_gp_sink_address_list_length, { "Sink Address list length", "zbee_zcl_general.gp.sink_addr_list_len", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, /* gppFunctionality attribute */ { &hf_zbee_zcl_gp_attr_gpp_func, { "gppFunctionality", "zbee_zcl_general.gp.attr.gpp_func", FT_UINT24, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_gp_feature, { "GP feature", "zbee_zcl_general.gp.attr.gpp_func.gp_feature", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GP_FEATURE, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_direct_comm, { "Direct communication", "zbee_zcl_general.gp.attr.gpp_func.direct_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_DIRECT_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_derived_gcast_comm, { "Derived groupcast communication", "zbee_zcl_general.gp.attr.gpp_func.derived_gcast_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_DERIVED_GCAST_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_pre_commissioned_gcast_comm, { "Pre-commissioned groupcast communication", "zbee_zcl_general.gp.attr.gpp_func.pre_commissioned_gcast_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_PRE_COMMISSIONED_GCAST_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_full_ucast_comm, { "Full unicast communication", "zbee_zcl_general.gp.attr.gpp_func.full_ucast_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_FULL_UCAST_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_lw_ucast_comm, { "Lightweight unicast communication", "zbee_zcl_general.gp.attr.gpp_func.lw_ucast_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_LW_UCAST_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_bidir_op, { "Bidirectional operation", "zbee_zcl_general.gp.attr.gpp_func.bidir_op", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_BIDIR_OP, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_proxy_tbl_maintenance, { "Proxy Table maintenance", "zbee_zcl_general.gp.attr.gpp_func.proxy_tbl_maintenance", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_PROXY_TBL_MAINTENANCE, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_gp_commissioning, { "GP commissioning", "zbee_zcl_general.gp.attr.gpp_func.gp_commissioning", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GP_COMMISSIONING, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_ct_based_commissioning, { "CT-based commissioning", "zbee_zcl_general.gp.attr.gpp_func.ct_based_commissioning", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_CT_BASED_COMMISSIONING, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_maintenance_of_gpd, { "Maintenance of GPD", "zbee_zcl_general.gp.attr.gpp_func.maintenance_of_gpd", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_MAINTENANCE_OF_GPD, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_00, { "gpdSecurityLevel = 0b00", "zbee_zcl_general.gp.attr.gpp_func.gpd_secur_lvl_00", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_SECUR_LVL_00, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_01, { "Deprecated: gpdSecurityLevel = 0b01", "zbee_zcl_general.gp.attr.gpp_func.gpd_secur_lvl_01", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_SECUR_LVL_01, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_10, { "gpdSecurityLevel = 0b10", "zbee_zcl_general.gp.attr.gpp_func.gpd_secur_lvl_10", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_SECUR_LVL_10, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_secur_lvl_11, { "gpdSecurityLevel = 0b11", "zbee_zcl_general.gp.attr.gpp_func.gpd_secur_lvl_11", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_SECUR_LVL_11, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_func_fld_gpd_ieee_address, { "GPD IEEE address", "zbee_zcl_general.gp.attr.gpp_func.gpd_ieee_address", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_FUNC_FLD_GPD_IEEE_ADDRESS, NULL, HFILL }}, /* gppActiveFunctionality attribute */ { &hf_zbee_zcl_gp_attr_gpp_active_func, { "gppActiveFunctionality", "zbee_zcl_general.gp.attr.gpp_active_func", FT_UINT24, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gpp_active_func_fld_gp_functionality, { "GP functionality", "zbee_zcl_general.gp.attr.gpp_active_func.gp_functionality", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPP_ACTIVE_FUNC_FLD_GP_FUNCTIONALITY, NULL, HFILL }}, /* gpsFunctionality attribute */ { &hf_zbee_zcl_gp_attr_gps_func, { "gpsFunctionality", "zbee_zcl_general.gp.attr.gps_func", FT_UINT24, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_gp_feature, { "GP feature", "zbee_zcl_general.gp.attr.gps_func.gp_feature", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GP_FEATURE, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_direct_comm, { "Direct communication", "zbee_zcl_general.gp.attr.gps_func.direct_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_DIRECT_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_derived_gcast_comm, { "Derived groupcast communication", "zbee_zcl_general.gp.attr.gps_func.derived_gcast_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_DERIVED_GCAST_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_pre_commissioned_gcast_comm, { "Pre-commissioned groupcast communication", "zbee_zcl_general.gp.attr.gps_func.pre_commissioned_gcast_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_PRE_COMMISSIONED_GCAST_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_full_ucast_comm, { "Full unicast communication", "zbee_zcl_general.gp.attr.gps_func.full_ucast_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_FULL_UCAST_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_lw_ucast_comm, { "Lightweight unicast communication", "zbee_zcl_general.gp.attr.gps_func.lw_ucast_comm", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_LW_UCAST_COMM, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_proximity_bidir_op, { "Proximity bidirectional operation", "zbee_zcl_general.gp.attr.gps_func.proximity_bidir_op", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_PROXIMITY_BIDIR_OP, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_multi_hop_bidir_op, { "Multi-hop bidirectional operation", "zbee_zcl_general.gp.attr.gps_func.multi_hop_bidir_op", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_MULTI_HOP_BIDIR_OP, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_proxy_tbl_maintenance, { "Proxy Table maintenance", "zbee_zcl_general.gp.attr.gps_func.proxy_tbl_maintenance", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_PROXY_TBL_MAINTENANCE, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_proximity_commissioning, { "Proximity commissioning", "zbee_zcl_general.gp.attr.gps_func.proximity_commissioning", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_PROXIMITY_COMMISSIONING, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_multi_hop_commissioning, { "Multi-hop commissioning","zbee_zcl_general.gp.attr.gps_func.multi_hop_commissioning", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_MULTI_HOP_COMMISSIONING, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_ct_based_commissioning, { "CT-based commissioning", "zbee_zcl_general.gp.attr.gps_func.ct_based_commissioning", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_CT_BASED_COMMISSIONING, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_maintenance_of_gpd, { "Maintenance of GPD", "zbee_zcl_general.gp.attr.gps_func.maintenance_of_gpd", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_MAINTENANCE_OF_GPD, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_00, { "gpdSecurityLevel = 0b00", "zbee_zcl_general.gp.attr.gps_func.gpd_secur_lvl_00", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_SECUR_LVL_00, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_01, { "Deprecated: gpdSecurityLevel = 0b01", "zbee_zcl_general.gp.attr.gps_func.gpd_secur_lvl_01", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_SECUR_LVL_01, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_10, { "gpdSecurityLevel = 0b10", "zbee_zcl_general.gp.attr.gps_func.gpd_secur_lvl_10", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_SECUR_LVL_10, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_secur_lvl_11, { "gpdSecurityLevel = 0b11", "zbee_zcl_general.gp.attr.gps_func.gpd_secur_lvl_11", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_SECUR_LVL_11, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_sink_tbl_based_gcast_forwarding, { "Sink Table-based groupcast forwarding", "zbee_zcl_general.gp.attr.gps_func.sink_tbl_based_gcast_forwarding", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_SINK_TBL_BASED_GCAST_FORWARDING, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_translation_table, { "Translation Table", "zbee_zcl_general.gp.attr.gps_func.translation_table", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_TRANSLATION_TABLE, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_func_fld_gpd_ieee_address, { "GPD IEEE address", "zbee_zcl_general.gp.attr.gps_func.gpd_ieee_address", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_FUNC_FLD_GPD_IEEE_ADDRESS, NULL, HFILL }}, /* gpsActiveFunctionality attribute */ { &hf_zbee_zcl_gp_attr_gps_active_func, { "gpsActiveFunctionality", "zbee_zcl_general.gp.attr.gps_active_func", FT_UINT24, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_active_func_fld_gp_functionality, { "GP functionality", "zbee_zcl_general.gp.attr.gps_active_func.gp_functionality", FT_BOOLEAN, 24, NULL, ZBEE_ZCL_GP_ATTR_GPS_ACTIVE_FUNC_FLD_GP_FUNCTIONALITY, NULL, HFILL }}, /* gpsCommunicationMode attribute */ { &hf_zbee_zcl_gp_attr_gps_communication_mode, { "gpsCommunicationMode", "zbee_zcl_general.gp.attr.gps_communication_mode", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_communication_mode_fld_mode, { "Mode", "zbee_zcl_general.gp.attr.gps_communication_mode.mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_communication_modes), ZBEE_ZCL_GP_ATTR_GPS_COMMUNICATION_MODE_FLD_MODE, NULL, HFILL }}, /* gpsCommissioningExitMode attribute */ { &hf_zbee_zcl_gp_attr_gps_comm_exit_mode, { "gpsCommissioningExitMode", "zbee_zcl_general.gp.attr.gps_comm_exit_mode", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_comm_window_expire, { "On CommissioningWindow expiration", "zbee_zcl_general.gp.attr.gps_comm_exit_mode.on_comm_window_expire", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_ATTR_GPS_COMM_EXIT_MODE_FLD_ON_COMM_WINDOW_EXPIRE, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_pairing_success, { "On first Pairing success", "zbee_zcl_general.gp.attr.gps_comm_exit_mode.on_pairing_success", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_ATTR_GPS_COMM_EXIT_MODE_FLD_ON_PAIRING_SUCCESS, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_comm_exit_mode_fld_on_gp_proxy_comm_mode, { "On GP Proxy Commissioning Mode (exit)", "zbee_zcl_general.gp.attr.gps_comm_exit_mode.on_gp_proxy_comm_mode", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_ATTR_GPS_COMM_EXIT_MODE_FLD_ON_GP_PROXY_COMM_MODE, NULL, HFILL }}, /* gpsSecurityLevel attribute */ { &hf_zbee_zcl_gp_attr_gps_secur_lvl, { "gpsSecurityLevel", "zbee_zcl_general.gp.attr.gps_secur_lvl", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_min_gpd_secur_lvl, { "Minimal GPD Security Level", "zbee_zcl_general.gp.attr.gps_secur_lvl.min_gpd_secur_lvl", FT_UINT8, BASE_HEX, VALS(zbee_zcl_gp_secur_levels), ZBEE_ZCL_GP_ATTR_GPS_SECUR_LVL_FLD_MIN_GPD_SECUR_LVL, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_protection_with_gp_link_key, { "Protection with gpLinkKey", "zbee_zcl_general.gp.attr.gps_secur_lvl.protection_with_gp_link_key", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_ATTR_GPS_SECUR_LVL_FLD_PROTECTION_WITH_GP_LINK_KEY, NULL, HFILL }}, { &hf_zbee_zcl_gp_attr_gps_secur_lvl_fld_involve_tc, { "Involve TC", "zbee_zcl_general.gp.attr.gps_secur_lvl.involve_tc", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_GP_ATTR_GPS_SECUR_LVL_FLD_INVOLVE_TC, NULL, HFILL }} }; /* ZCL Green Power subtrees */ static gint *ett[] = { &ett_zbee_zcl_gp, &ett_zbee_gp_cmd_proxy_commissioning_mode_options, &ett_zbee_gp_cmd_proxy_commissioning_mode_exit_mode, &ett_zbee_gp_cmd_commissioning_notification_options, &ett_zbee_gp_gpp_gpd_link, &ett_zbee_gp_cmd_notification_options, &ett_zbee_gp_cmd_pairing_options, &ett_zbee_gp_cmd_response_options, &ett_zbee_gp_cmd_response_tx_channel, &ett_zbee_gp_cmd_pc_actions, &ett_zbee_gp_cmd_pc_options, &ett_zbee_zcl_gp_group_list, &ett_zbee_gp_cmd_pc_secur_options, &ett_zbee_gp_cmd_pc_app_info, &ett_zbee_zcl_gp_ep, &ett_zbee_zcl_gp_cmds, &ett_zbee_zcl_gp_clusters, &ett_zbee_zcl_gp_srv_clusters, &ett_zbee_zcl_gp_cli_clusters, &ett_zbee_zcl_proxy_sink_tbl_req_options, &ett_zbee_zcl_gp_cmd_sink_comm_mode_options, &ett_zbee_gp_sink_tbl, &ett_zbee_gp_sink_tbl_entry, &ett_zbee_gp_sink_tbl_entry_options, &ett_zbee_gp_sec_options, &ett_zbee_gp_proxy_tbl, &ett_zbee_gp_proxy_tbl_entry, &ett_zbee_gp_proxy_tbl_entry_options, &ett_zbee_gp_proxy_tbl_entry_ext_options, &ett_zbee_gp_sink_address_list, &ett_zbee_zcl_gp_attr_gpp_func, &ett_zbee_zcl_gp_attr_gpp_active_func, &ett_zbee_zcl_gp_attr_gps_func, &ett_zbee_zcl_gp_attr_gps_active_func, &ett_zbee_zcl_gp_attr_gps_communication_mode, &ett_zbee_zcl_gp_attr_gps_comm_exit_mode, &ett_zbee_zcl_gp_attr_gps_secur_lvl }; /* Register the ZigBee ZCL Green Power cluster protocol name and description */ proto_zbee_zcl_gp = proto_register_protocol("ZigBee ZCL Green Power", "ZCL Green Power", ZBEE_PROTOABBREV_ZCL_GP); proto_register_field_array(proto_zbee_zcl_gp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Green Power dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_GP, dissect_zbee_zcl_gp, proto_zbee_zcl_gp); } /*proto_register_zbee_zcl_gp*/ /** * proto_reg_handoff_zbee_zcl_gp * * Hands off the ZCL Green Power dissector. */ void proto_reg_handoff_zbee_zcl_gp(void) { zgp_handle = find_dissector(ZBEE_PROTOABBREV_NWK_GP_CMD); zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_GP, proto_zbee_zcl_gp, ett_zbee_zcl_gp, ZBEE_ZCL_CID_GP, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_gp_attr_id, hf_zbee_zcl_gp_attr_id, hf_zbee_zcl_gp_srv_rx_cmd_id, hf_zbee_zcl_gp_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_gp_attr_data ); } /*proto_reg_handoff_zbee_zcl_gp*/ /* ########################################################################## */ /* #### (0x1000) TOUCHLINK COMMISSIONING CLUSTER ############################ */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /*Server commands received*/ #define ZBEE_ZCL_CMD_ID_SCAN_REQUEST 0x00 #define ZBEE_ZCL_CMD_ID_DEVICE_INFO_REQUEST 0x02 #define ZBEE_ZCL_CMD_ID_IDENTIFY_REQUEST 0x06 #define ZBEE_ZCL_CMD_ID_FACTORT_RESET_REQUEST 0x07 #define ZBEE_ZCL_CMD_ID_NETWORK_START_REQUEST 0x10 #define ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ROUTER_REQUEST 0x12 #define ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ENDDEV_REQUEST 0x14 #define ZBEE_ZCL_CMD_ID_NETWORK_UPDATE_REQUEST 0x16 #define ZBEE_ZCL_CMD_ID_GET_GROUP_IDENTIFIERS_REQUEST 0x41 #define ZBEE_ZCL_CMD_ID_GET_ENDPOINT_LIST_REQUEST 0x42 /*Server commands generated*/ #define ZBEE_ZCL_CMD_ID_SCAN_RESPONSE 0x01 #define ZBEE_ZCL_CMD_ID_DEVICE_INFO_RESPONSE 0x03 #define ZBEE_ZCL_CMD_ID_NETWORK_START_RESPONSE 0x11 #define ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ROUTER_RESPONSE 0x13 #define ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ENDDEV_RESPONSE 0x15 #define ZBEE_ZCL_CMD_ID_ENDPOINT_INFORMATION 0x40 #define ZBEE_ZCL_CMD_ID_GET_GROUP_IDENTIFIERS_RESPONSE 0x41 #define ZBEE_ZCL_CMD_ID_GET_ENDPOINT_LIST_RESPONSE 0x42 /*ZigBee Information Mask Value*/ #define ZBEE_ZCL_TOUCHLINK_ZBEE_INFO_TYPE 0x03 #define ZBEE_ZCL_TOUCHLINK_ZBEE_INFO_RXIDLE 0x04 /*Touchlink Information Mask Values*/ #define ZBEE_ZCL_TOUCHLINK_INFO_FACTORY 0x01 #define ZBEE_ZCL_TOUCHLINK_INFO_ASSIGNMENT 0x02 #define ZBEE_ZCL_TOUCHLINK_INFO_INITIATOR 0x10 #define ZBEE_ZCL_TOUCHLINK_INFO_UNDEFINED 0x20 #define ZBEE_ZCL_TOUCHLINK_INFO_PROFILE_INTEROP 0x80 /*Touchlink Key Indicies*/ #define ZBEE_ZCL_TOUCHLINK_KEYID_DEVELOPMENT 0 #define ZBEE_ZCL_TOUCHLINK_KEYID_MASTER 4 #define ZBEE_ZCL_TOUCHLINK_KEYID_CERTIFICATION 15 /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_touchlink(void); void proto_reg_handoff_zbee_zcl_touchlink(void); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_touchlink = -1; static int hf_zbee_zcl_touchlink_rx_cmd_id = -1; static int hf_zbee_zcl_touchlink_tx_cmd_id = -1; static int hf_zbee_zcl_touchlink_transaction_id = -1; static int hf_zbee_zcl_touchlink_zbee = -1; static int hf_zbee_zcl_touchlink_zbee_type = -1; static int hf_zbee_zcl_touchlink_zbee_rxidle = -1; static int hf_zbee_zcl_touchlink_info = -1; static int hf_zbee_zcl_touchlink_info_factory = -1; static int hf_zbee_zcl_touchlink_info_assignment = -1; static int hf_zbee_zcl_touchlink_info_initiator = -1; static int hf_zbee_zcl_touchlink_info_undefined = -1; static int hf_zbee_zcl_touchlink_info_profile_introp = -1; static int hf_zbee_zcl_touchlink_start_index = -1; static int hf_zbee_zcl_touchlink_ident_duration = -1; static int hf_zbee_zcl_touchlink_rssi_correction = -1; static int hf_zbee_zcl_touchlink_response_id = -1; static int hf_zbee_zcl_touchlink_ext_panid = -1; static int hf_zbee_zcl_touchlink_nwk_update_id = -1; static int hf_zbee_zcl_touchlink_channel = -1; static int hf_zbee_zcl_touchlink_nwk_addr = -1; static int hf_zbee_zcl_touchlink_ext_addr = -1; static int hf_zbee_zcl_touchlink_panid = -1; static int hf_zbee_zcl_touchlink_sub_devices = -1; static int hf_zbee_zcl_touchlink_total_groups = -1; static int hf_zbee_zcl_touchlink_endpoint = -1; static int hf_zbee_zcl_touchlink_profile_id = -1; static int hf_zbee_zcl_touchlink_device_id = -1; static int hf_zbee_zcl_touchlink_version = -1; static int hf_zbee_zcl_touchlink_group_count = -1; static int hf_zbee_zcl_touchlink_group_begin = -1; static int hf_zbee_zcl_touchlink_group_end = -1; static int hf_zbee_zcl_touchlink_group_type = -1; static int hf_zbee_zcl_touchlink_group_id = -1; static int hf_zbee_zcl_touchlink_addr_range_begin = -1; static int hf_zbee_zcl_touchlink_addr_range_end = -1; static int hf_zbee_zcl_touchlink_group_range_begin = -1; static int hf_zbee_zcl_touchlink_group_range_end = -1; static int hf_zbee_zcl_touchlink_key_bitmask = -1; static int hf_zbee_zcl_touchlink_key_bit_dev = -1; static int hf_zbee_zcl_touchlink_key_bit_master = -1; static int hf_zbee_zcl_touchlink_key_bit_cert = -1; static int hf_zbee_zcl_touchlink_key_index = -1; static int hf_zbee_zcl_touchlink_key = -1; static int hf_zbee_zcl_touchlink_init_addr = -1; static int hf_zbee_zcl_touchlink_init_eui64 = -1; static int hf_zbee_zcl_touchlink_status = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_touchlink = -1; static gint ett_zbee_zcl_touchlink_zbee = -1; static gint ett_zbee_zcl_touchlink_info = -1; static gint ett_zbee_zcl_touchlink_keybits = -1; static gint ett_zbee_zcl_touchlink_groups = -1; /* Command names */ static const value_string zbee_zcl_touchlink_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_SCAN_REQUEST, "Scan Request" }, { ZBEE_ZCL_CMD_ID_DEVICE_INFO_REQUEST, "Device Information Request" }, { ZBEE_ZCL_CMD_ID_IDENTIFY_REQUEST, "Identify Request" }, { ZBEE_ZCL_CMD_ID_FACTORT_RESET_REQUEST, "Reset to Factory New Request" }, { ZBEE_ZCL_CMD_ID_NETWORK_START_REQUEST, "Network Start Request" }, { ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ROUTER_REQUEST, "Network Join Router Request" }, { ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ENDDEV_REQUEST, "Network Join End Device Request" }, { ZBEE_ZCL_CMD_ID_NETWORK_UPDATE_REQUEST, "Network Update Request" }, { ZBEE_ZCL_CMD_ID_GET_GROUP_IDENTIFIERS_REQUEST, "Get Group Identifiers Request" }, { ZBEE_ZCL_CMD_ID_GET_ENDPOINT_LIST_REQUEST, "Get Group Identifiers Request" }, { 0, NULL } }; static const value_string zbee_zcl_touchlink_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_SCAN_RESPONSE, "Scan Response" }, { ZBEE_ZCL_CMD_ID_DEVICE_INFO_RESPONSE, "Device Information Response" }, { ZBEE_ZCL_CMD_ID_NETWORK_START_RESPONSE, "Network Start Response" }, { ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ROUTER_RESPONSE, "Network Join Router Response" }, { ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ENDDEV_RESPONSE, "Network Join End Device Response" }, { ZBEE_ZCL_CMD_ID_ENDPOINT_INFORMATION, "Endpoint Information" }, { ZBEE_ZCL_CMD_ID_GET_GROUP_IDENTIFIERS_RESPONSE, "Get Group Identifiers Response" }, { ZBEE_ZCL_CMD_ID_GET_ENDPOINT_LIST_RESPONSE, "Get Group Identifiers Response" }, { 0, NULL } }; /* ZigBee logical types */ static const value_string zbee_zcl_touchlink_zbee_type_names[] = { { 0, "coordinator" }, { 1, "router" }, { 2, "end device" }, { 0, NULL } }; static const value_string zbee_zcl_touchlink_status_names[] = { { 0x00, "Success" }, { 0x01, "Failure" }, { 0, NULL } }; static const value_string zbee_zcl_touchlink_profile_interop_names[] = { { 0, "ZLL" }, { 1, "Zigbee 3.0" }, { 0, NULL } }; static const value_string zbee_zcl_touchlink_keyid_names[] = { { ZBEE_ZCL_TOUCHLINK_KEYID_DEVELOPMENT, "Development Key" }, { ZBEE_ZCL_TOUCHLINK_KEYID_MASTER, "Master Key" }, { ZBEE_ZCL_TOUCHLINK_KEYID_CERTIFICATION, "Certification Key" }, { 0, NULL } }; #define ZBEE_ZCL_TOUCHLINK_NUM_KEYID 16 #define ZBEE_ZCL_TOUCHLINK_KEY_SIZE 16 /*************************/ /* Function Bodies */ /*************************/ /** *This function decodes the Scan Request payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_scan_request(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const zbee_info_flags[] = { &hf_zbee_zcl_touchlink_zbee_type, &hf_zbee_zcl_touchlink_zbee_rxidle, NULL }; static int * const zll_info_flags[] = { &hf_zbee_zcl_touchlink_info_factory, &hf_zbee_zcl_touchlink_info_assignment, &hf_zbee_zcl_touchlink_info_initiator, &hf_zbee_zcl_touchlink_info_undefined, &hf_zbee_zcl_touchlink_info_profile_introp, NULL }; proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_touchlink_zbee, ett_zbee_zcl_touchlink_zbee, zbee_info_flags, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_touchlink_info, ett_zbee_zcl_touchlink_info, zll_info_flags, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_touchlink_scan_request*/ /** *This function decodes the Identify Request payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_identify_request(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_touchlink_ident_duration, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_touchlink_identify_request*/ /** *This function decodes the Network Start Request payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_network_start_request(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_touchlink_ext_panid, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_key_index, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_key, tvb, *offset, 16, ENC_NA); *offset += 16; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_channel, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_panid, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_addr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_begin, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_end, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_addr_range_begin, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_addr_range_end, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_range_begin, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_range_end, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_init_eui64, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_init_addr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_touchlink_network_start_request*/ /** *This function decodes the Network Join Router/EndDevice Request payloads. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_network_join_request(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_touchlink_ext_panid, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_key_index, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_key, tvb, *offset, 16, ENC_NA); *offset += 16; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_update_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_channel, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_panid, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_addr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_begin, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_end, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_addr_range_begin, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_addr_range_end, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_range_begin, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_range_end, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_touchlink_network_join_request*/ /** *This function decodes the Scan Response payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_network_update_request(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_touchlink_ext_panid, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_update_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_channel, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_panid, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_addr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_touchlink_network_update_request*/ /** *This function decodes the Scan Response payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_scan_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const zbee_info_flags[] = { &hf_zbee_zcl_touchlink_zbee_type, &hf_zbee_zcl_touchlink_zbee_rxidle, NULL }; static int * const zll_info_flags[] = { &hf_zbee_zcl_touchlink_info_factory, &hf_zbee_zcl_touchlink_info_assignment, &hf_zbee_zcl_touchlink_info_initiator, &hf_zbee_zcl_touchlink_info_undefined, &hf_zbee_zcl_touchlink_info_profile_introp, NULL }; static int * const zll_keybit_flags[] = { &hf_zbee_zcl_touchlink_key_bit_dev, &hf_zbee_zcl_touchlink_key_bit_master, &hf_zbee_zcl_touchlink_key_bit_cert, NULL }; guint8 subdev; /* Parse out the fixed-format stuff */ proto_tree_add_item(tree, hf_zbee_zcl_touchlink_rssi_correction, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_touchlink_zbee, ett_zbee_zcl_touchlink_zbee, zbee_info_flags, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_touchlink_info, ett_zbee_zcl_touchlink_info, zll_info_flags, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_touchlink_key_bitmask, ett_zbee_zcl_touchlink_keybits, zll_keybit_flags, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_response_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_ext_panid, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_update_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_channel, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_panid, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_addr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; subdev = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_touchlink_sub_devices, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_total_groups, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* The remaining fields are only present when sub-devices is one. */ if (subdev == 1) { proto_tree_add_item(tree, hf_zbee_zcl_touchlink_endpoint, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_profile_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_device_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_version, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_count, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } } /*dissect_zcl_touchlink_scan_response*/ /** *This function decodes the Network Start Response payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_network_start_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_touchlink_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_ext_panid, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_update_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_channel, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_panid, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /* dissect_zcl_touchlink_network_start_response */ /** *This function decodes the Endpoint Information payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_endpoint_info(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_touchlink_ext_addr, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_nwk_addr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_endpoint, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_profile_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_device_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_version, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /* dissect_zcl_touchlink_endpoint_info */ /** *This function decodes the Get Group Identifiers Response payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_touchlink_group_id_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree *list_tree; guint8 count; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_total_groups, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_touchlink_start_index, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; count = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_touchlink_group_count, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; list_tree = proto_tree_add_subtree(tree, tvb, *offset, count * 3, ett_zbee_zcl_touchlink_groups, NULL, "Group Information Records"); while (count--) { proto_tree_add_item(list_tree, hf_zbee_zcl_touchlink_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(list_tree, hf_zbee_zcl_touchlink_group_type, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } } /* dissect_zcl_touchlink_group_id_response */ /** *ZigBee ZCL Touchlink Commissioining cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_touchlink(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; int hf_cmd_id; const value_string *vals_cmd_id; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { hf_cmd_id = hf_zbee_zcl_touchlink_rx_cmd_id; vals_cmd_id = zbee_zcl_touchlink_rx_cmd_names; } else { hf_cmd_id = hf_zbee_zcl_touchlink_tx_cmd_id; vals_cmd_id = zbee_zcl_touchlink_tx_cmd_names; } /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, vals_cmd_id, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ if (tree) { proto_tree_add_item(tree, hf_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); } offset++; /* All touchlink commands begin with a transaction identifier. */ proto_tree_add_item(tree, hf_zbee_zcl_touchlink_transaction_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_SCAN_REQUEST: dissect_zcl_touchlink_scan_request(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_IDENTIFY_REQUEST: dissect_zcl_touchlink_identify_request(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_FACTORT_RESET_REQUEST: /* No payload */ break; case ZBEE_ZCL_CMD_ID_NETWORK_START_REQUEST: dissect_zcl_touchlink_network_start_request(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ROUTER_REQUEST: case ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ENDDEV_REQUEST: dissect_zcl_touchlink_network_join_request(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_NETWORK_UPDATE_REQUEST: dissect_zcl_touchlink_network_update_request(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_INFO_REQUEST: case ZBEE_ZCL_CMD_ID_GET_GROUP_IDENTIFIERS_REQUEST: case ZBEE_ZCL_CMD_ID_GET_ENDPOINT_LIST_REQUEST: proto_tree_add_item(tree, hf_zbee_zcl_touchlink_start_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset++; break; default: break; } } else { /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_SCAN_RESPONSE: dissect_zcl_touchlink_scan_response(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_NETWORK_START_RESPONSE: dissect_zcl_touchlink_network_start_response(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ROUTER_RESPONSE: case ZBEE_ZCL_CMD_ID_NETWORK_JOIN_ENDDEV_RESPONSE: proto_tree_add_item(tree, hf_zbee_zcl_touchlink_status, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset++; break; case ZBEE_ZCL_CMD_ID_DEVICE_INFO_RESPONSE: break; case ZBEE_ZCL_CMD_ID_ENDPOINT_INFORMATION: dissect_zcl_touchlink_endpoint_info(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_GET_GROUP_IDENTIFIERS_RESPONSE: dissect_zcl_touchlink_group_id_response(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_GET_ENDPOINT_LIST_RESPONSE: /* No payload */ break; default: break; } } /* Dump leftover data. */ if (tvb_captured_length_remaining(tvb, offset) > 0) { tvbuff_t *excess = tvb_new_subset_remaining(tvb, offset); call_data_dissector(excess, pinfo, proto_tree_get_root(tree)); } return offset; } /*dissect_zbee_zcl_touchlink*/ /** *ZigBee ZCL Touchlink Commissioning cluster protocol registration routine. * */ void proto_register_zbee_zcl_touchlink(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_touchlink_rx_cmd_id, { "Command", "zbee_zcl_general.touchlink.rx_cmd_id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_touchlink_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_tx_cmd_id, { "Command", "zbee_zcl_general.touchlink.tx_cmd_id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_touchlink_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_transaction_id, { "Transaction ID", "zbee_zcl_general.touchlink.transaction_id", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, /* ZigBee Information Bitmask */ { &hf_zbee_zcl_touchlink_zbee, { "ZigBee Information", "zbee_zcl_general.touchlink.zbee", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_touchlink_zbee_type, { "Logical type", "zbee_zcl_general.touchlink.zbee.type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_touchlink_zbee_type_names), ZBEE_ZCL_TOUCHLINK_ZBEE_INFO_TYPE, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_zbee_rxidle, { "Rx on when idle", "zbee_zcl_general.touchlink.zbee.rxidle", FT_BOOLEAN, 8, TFS(&tfs_yes_no), ZBEE_ZCL_TOUCHLINK_ZBEE_INFO_RXIDLE, NULL, HFILL } }, /* Touchlink Information Bitmask */ { &hf_zbee_zcl_touchlink_info, { "Touchlink Information", "zbee_zcl_general.touchlink.info", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_touchlink_info_factory, { "Factory new", "zbee_zcl_general.touchlink.info.factory", FT_BOOLEAN, 8, TFS(&tfs_yes_no), ZBEE_ZCL_TOUCHLINK_INFO_FACTORY, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_info_assignment, { "Address assignment", "zbee_zcl_general.touchlink.info.assignment", FT_BOOLEAN, 8, TFS(&tfs_yes_no), ZBEE_ZCL_TOUCHLINK_INFO_ASSIGNMENT, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_info_initiator, { "Link initiator", "zbee_zcl_general.touchlink.info.initiator", FT_BOOLEAN, 8, TFS(&tfs_yes_no), ZBEE_ZCL_TOUCHLINK_INFO_INITIATOR, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_info_undefined, { "Undefined", "zbee_zcl_general.touchlink.info.undefined", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_TOUCHLINK_INFO_UNDEFINED, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_info_profile_introp, { "Profile Interop", "zbee_zcl_general.touchlink.info.profile.interop", FT_UINT8, BASE_HEX, VALS(zbee_zcl_touchlink_profile_interop_names), ZBEE_ZCL_TOUCHLINK_INFO_PROFILE_INTEROP, NULL, HFILL } }, /* Touchlink Key Information Bitmask */ { &hf_zbee_zcl_touchlink_key_bitmask, { "Key Bitmask", "zbee_zcl_general.touchlink.key_bitmask", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_key_bit_dev, { "Development Key", "zbee_zcl_general.touchlink.key_bitmask.dev", FT_BOOLEAN, 16, TFS(&tfs_yes_no), (1<<ZBEE_ZCL_TOUCHLINK_KEYID_DEVELOPMENT), NULL, HFILL } }, { &hf_zbee_zcl_touchlink_key_bit_master, { "Master Key", "zbee_zcl_general.touchlink.key_bitmask.master", FT_BOOLEAN, 16, TFS(&tfs_yes_no), (1<<ZBEE_ZCL_TOUCHLINK_KEYID_MASTER), NULL, HFILL } }, { &hf_zbee_zcl_touchlink_key_bit_cert, { "Certification Key", "zbee_zcl_general.touchlink.key_bitmask.cert", FT_BOOLEAN, 16, TFS(&tfs_yes_no), (1<<ZBEE_ZCL_TOUCHLINK_KEYID_CERTIFICATION), NULL, HFILL } }, { &hf_zbee_zcl_touchlink_start_index, { "Start index", "zbee_zcl_general.touchlink.index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_ident_duration, { "Identify duration", "zbee_zcl_general.touchlink.duration", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_rssi_correction, { "RSSI Correction", "zbee_zcl_general.touchlink.rssi_correction", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_response_id, { "Response ID", "zbee_zcl_general.touchlink.response_id", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_ext_panid, { "Extended PAN ID", "zbee_zcl_general.touchlink.ext_panid", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_nwk_update_id, { "Network Update ID", "zbee_zcl_general.touchlink.nwk_update_id", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_channel, { "Logical Channel", "zbee_zcl_general.touchlink.channel", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_nwk_addr, { "Network Address", "zbee_zcl_general.touchlink.nwk_addr", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_ext_addr, { "Extended Address", "zbee_zcl_general.touchlink.ext_addr", FT_EUI64, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_panid, { "PAN ID", "zbee_zcl_general.touchlink.panid", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_sub_devices, { "Sub-devices", "zbee_zcl_general.touchlink.sub_devices", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_total_groups, { "Total Group Identifiers", "zbee_zcl_general.touchlink.total_groups", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_endpoint, { "Endpoint", "zbee_zcl_general.touchlink.endpoint", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_profile_id, { "Profile ID", "zbee_zcl_general.touchlink.profile_id", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_apid_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_device_id, { "Device ID", "zbee_zcl_general.touchlink.device_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_version, { "Version", "zbee_zcl_general.touchlink.version", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_group_count, { "Group ID Count", "zbee_zcl_general.touchlink.group_count", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_group_begin, { "Group ID Begin", "zbee_zcl_general.touchlink.group_begin", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_group_end, { "Group ID End", "zbee_zcl_general.touchlink.group_end", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_group_type, { "Group Type", "zbee_zcl_general.touchlink.group_type", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_group_id, { "Group ID", "zbee_zcl_general.touchlink.group_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_addr_range_begin, { "Free Address Range Begin", "zbee_zcl_general.touchlink.addr_range_begin", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_addr_range_end, { "Free Address Range End", "zbee_zcl_general.touchlink.addr_range_end", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_group_range_begin, { "Free Group ID Range Begin", "zbee_zcl_general.touchlink.group_range_begin", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_group_range_end, { "Free Group ID Range End", "zbee_zcl_general.touchlink.group_range_end", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_key_index, { "Key Index", "zbee_zcl_general.touchlink.key_index", FT_UINT8, BASE_DEC, VALS(zbee_zcl_touchlink_keyid_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_key, { "Encrypted Network Key", "zbee_zcl_general.touchlink.key", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_init_eui64, { "Initiator Extended Address", "zbee_zcl_general.touchlink.init_eui", FT_EUI64, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_init_addr, { "Initiator Network Address", "zbee_zcl_general.touchlink.init_addr", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_touchlink_status, { "Status", "zbee_zcl_general.touchlink.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_touchlink_status_names), 0x00, NULL, HFILL } }, }; /* ZCL Touchlink subtrees */ static gint *ett[] = { &ett_zbee_zcl_touchlink, &ett_zbee_zcl_touchlink_zbee, &ett_zbee_zcl_touchlink_info, &ett_zbee_zcl_touchlink_keybits, &ett_zbee_zcl_touchlink_groups, }; /* Register the ZigBee ZCL Touchlink cluster protocol name and description */ proto_zbee_zcl_touchlink = proto_register_protocol("ZigBee ZCL Touchlink", "ZCL Touchlink", ZBEE_PROTOABBREV_ZCL_TOUCHLINK); proto_register_field_array(proto_zbee_zcl_touchlink, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Touchlink Commissioning dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_TOUCHLINK, dissect_zbee_zcl_touchlink, proto_zbee_zcl_touchlink); } /*proto_register_zbee_zcl_touchlink*/ /** *Hands off the ZCL Touchlink Commissioning dissector. * */ void proto_reg_handoff_zbee_zcl_touchlink(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_TOUCHLINK, proto_zbee_zcl_touchlink, ett_zbee_zcl_touchlink, ZBEE_ZCL_CID_ZLL, ZBEE_MFG_CODE_NONE, -1, -1, hf_zbee_zcl_touchlink_rx_cmd_id, hf_zbee_zcl_touchlink_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_touchlink*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl-ha.c
/* packet-zbee-zcl-ha.c * Dissector routines for the ZigBee ZCL HA clusters like * Appliance Identification, Meter Identification ... * By Fabio Tarabelloni <[email protected]> * Copyright 2013 RELOC s.r.l. * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/to_str.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" /* ########################################################################## */ /* #### (0x0B00) APPLIANCE IDENTIFICATION CLUSTER ########################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_APPL_IDT_NUM_GENERIC_ETT 2 #define ZBEE_ZCL_APPL_IDT_NUM_ETT ZBEE_ZCL_APPL_IDT_NUM_GENERIC_ETT /* Attributes */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_BASIC_IDENT 0x0000 /* Basic Identification */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_COMPANY_NAME 0x0010 /* Company Name */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_COMPANY_ID 0x0011 /* Company ID */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_BRAND_NAME 0x0012 /* Brand Name */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_BRAND_ID 0x0013 /* Brand ID */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_MODEL 0x0014 /* Model */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_PART_NUM 0x0015 /* Part Number */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_PROD_REV 0x0016 /* Product Revision */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_SW_REV 0x0017 /* Software Revision */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_PROD_TYPE_NAME 0x0018 /* Product Type Name */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_PROD_TYPE_ID 0x0019 /* Product Type ID */ #define ZBEE_ZCL_ATTR_ID_APPL_IDT_CECED_SPEC_VER 0x001A /* CECED Specification Version */ /* Server Commands Received - None */ /* Server Commands Generated - None */ /* Companies Id */ #define ZBEE_ZCL_APPL_IDT_COMPANY_ID_IC 0x4943 /* Indesit Company */ /* Brands Id */ #define ZBEE_ZCL_APPL_IDT_BRAND_ID_AR 0x4152 /* Ariston */ #define ZBEE_ZCL_APPL_IDT_BRAND_ID_IN 0x494E /* Indesit */ #define ZBEE_ZCL_APPL_IDT_BRAND_ID_SC 0x5343 /* Scholtes */ #define ZBEE_ZCL_APPL_IDT_BRAND_ID_ST 0x5354 /* Stinol */ /* Product Types Id */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_WG 0x0000 /* WhiteGoods */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_DW 0x5601 /* Dishwasher */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_TD 0x5602 /* Tumble Dryer */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_WD 0x5603 /* Washer Dryer */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_WM 0x5604 /* Washing Machine */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_GO 0x5E01 /* Oven */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_HB 0x5E03 /* Hobs */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_OV 0x5E06 /* Electrical Oven */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_IH 0x5E09 /* Induction Hobs */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_RF 0x6601 /* Refrigerator Freezer */ /* Product Name Types Id */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_WG 0x0000 /* WhiteGoods */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_DW 0x4457 /* Dishwasher */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_TD 0x5444 /* Tumble Dryer */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_WD 0x5744 /* Washer Dryer */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_WM 0x574D /* Washing Machine */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_GO 0x474F /* Oven */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_HB 0x4842 /* Hobs */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_OV 0x4F56 /* Electrical Oven */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_IH 0x4948 /* Induction Hobs */ #define ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_RF 0x5246 /* Refrigerator Freezer */ /* CECED Specification Version values */ #define ZBEE_ZCL_APPL_IDT_CECED_SPEC_VAL_1_0_NOT_CERT 0x10 /* Compliant with v1.0, not certified */ #define ZBEE_ZCL_APPL_IDT_CECED_SPEC_VAL_1_0_CERT 0x1A /* Compliant with v1.0, certified */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_appl_idt(void); void proto_reg_handoff_zbee_zcl_appl_idt(void); /* Command Dissector Helpers */ static void dissect_zcl_appl_idt_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_appl_idt = -1; static int hf_zbee_zcl_appl_idt_attr_id = -1; static int hf_zbee_zcl_appl_idt_company_id = -1; static int hf_zbee_zcl_appl_idt_brand_id = -1; static int hf_zbee_zcl_appl_idt_string_len = -1; static int hf_zbee_zcl_appl_idt_prod_type_name = -1; static int hf_zbee_zcl_appl_idt_prod_type_id = -1; static int hf_zbee_zcl_appl_idt_ceced_spec_ver = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_appl_idt = -1; static gint ett_zbee_zcl_appl_idt_basic = -1; /* Attributes */ static const value_string zbee_zcl_appl_idt_attr_names[] = { { ZBEE_ZCL_ATTR_ID_APPL_IDT_BASIC_IDENT, "Basic Identification" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_COMPANY_NAME, "Company Name" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_COMPANY_ID, "Company Id" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_BRAND_NAME, "Brand Name" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_BRAND_ID, "Brand Id" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_MODEL, "Model" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_PART_NUM, "Part Number" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_PROD_REV, "Product Revision" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_SW_REV, "Software Revision" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_PROD_TYPE_NAME, "Product Type Name" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_PROD_TYPE_ID, "Product Type Id" }, { ZBEE_ZCL_ATTR_ID_APPL_IDT_CECED_SPEC_VER, "CECED Specification Version" }, { 0, NULL } }; /* Company Names */ static const value_string zbee_zcl_appl_idt_company_names[] = { { ZBEE_ZCL_APPL_IDT_COMPANY_ID_IC, "Indesit Company" }, { 0, NULL } }; /* Brand Names */ static const value_string zbee_zcl_appl_idt_brand_names[] = { { ZBEE_ZCL_APPL_IDT_BRAND_ID_AR, "Ariston" }, { ZBEE_ZCL_APPL_IDT_BRAND_ID_IN, "Indesit" }, { ZBEE_ZCL_APPL_IDT_BRAND_ID_SC, "Scholtes" }, { ZBEE_ZCL_APPL_IDT_BRAND_ID_ST, "Stinol" }, { 0, NULL } }; /* Product Type Names */ static const value_string zbee_zcl_appl_idt_prod_type_names[] = { { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_WG, "WhiteGoods" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_DW, "Dishwasher" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_TD, "Tumble Dryer" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_WD, "Washer Dryer" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_WM, "Washing Machine" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_GO, "Oven" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_HB, "Hobs" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_OV, "Electrical Oven" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_IH, "Induction Hobs" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_ID_RF, "Refrigerator Freezer" }, { 0, NULL } }; /* Product Type Name Names */ static const value_string zbee_zcl_appl_idt_prod_type_name_names[] = { { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_WG, "WhiteGoods" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_DW, "Dishwasher" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_TD, "Tumble Dryer" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_WD, "Washer Dryer" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_WM, "Washing Machine" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_GO, "Oven" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_HB, "Hobs" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_OV, "Electrical Oven" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_IH, "Induction Hobs" }, { ZBEE_ZCL_APPL_IDT_PROD_TYPE_NAME_ID_RF, "Refrigerator Freezer" }, { 0, NULL } }; /* CECED Specification Version Names */ static const value_string zbee_zcl_appl_idt_ceced_spec_ver_names[] = { { ZBEE_ZCL_APPL_IDT_CECED_SPEC_VAL_1_0_NOT_CERT, "Compliant with v1.0, not certified" }, { ZBEE_ZCL_APPL_IDT_CECED_SPEC_VAL_1_0_CERT, "Compliant with v1.0, certified" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Appliance Identification cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_appl_idt(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_appl_idt*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_appl_idt_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { proto_tree *sub_tree; guint64 value64; /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_APPL_IDT_BASIC_IDENT: value64 = tvb_get_letoh56(tvb, *offset); sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 8, ett_zbee_zcl_appl_idt_basic, NULL, "Basic Identification: 0x%" PRIx64, value64); proto_tree_add_item(sub_tree, hf_zbee_zcl_appl_idt_company_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(sub_tree, hf_zbee_zcl_appl_idt_brand_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(sub_tree, hf_zbee_zcl_appl_idt_prod_type_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(sub_tree, hf_zbee_zcl_appl_idt_ceced_spec_ver, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_APPL_IDT_COMPANY_ID: proto_tree_add_item(tree, hf_zbee_zcl_appl_idt_company_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_APPL_IDT_BRAND_ID: proto_tree_add_item(tree, hf_zbee_zcl_appl_idt_brand_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_APPL_IDT_PROD_TYPE_NAME: proto_tree_add_item(tree, hf_zbee_zcl_appl_idt_string_len, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_appl_idt_prod_type_name, tvb, *offset, 2, ENC_BIG_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_APPL_IDT_PROD_TYPE_ID: proto_tree_add_item(tree, hf_zbee_zcl_appl_idt_prod_type_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_APPL_IDT_CECED_SPEC_VER: proto_tree_add_item(tree, hf_zbee_zcl_appl_idt_ceced_spec_ver, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_appl_idt_attr_data*/ /** *This function registers the ZCL Appliance Identification dissector * */ void proto_register_zbee_zcl_appl_idt(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_appl_idt_attr_id, { "Attribute", "zbee_zcl_ha.applident.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_idt_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_appl_idt_company_id, { "Company ID", "zbee_zcl_ha.applident.attr.company.id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_idt_company_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_appl_idt_brand_id, { "Brand ID", "zbee_zcl_ha.applident.attr.brand.id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_idt_brand_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_appl_idt_string_len, { "Length", "zbee_zcl_ha.applident.string.len", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_appl_idt_prod_type_name, { "Product Type Name", "zbee_zcl_ha.applident.attr.prod_type.name", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_idt_prod_type_name_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_appl_idt_prod_type_id, { "Product Type ID", "zbee_zcl_ha.applident.attr.prod_type.id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_idt_prod_type_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_appl_idt_ceced_spec_ver, { "CECED Spec. Version", "zbee_zcl_ha.applident.attr.ceced_spec_ver", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_idt_ceced_spec_ver_names), 0x00, NULL, HFILL } } }; /* ZCL Appliance Identification subtrees */ gint *ett[ZBEE_ZCL_APPL_IDT_NUM_ETT]; ett[0] = &ett_zbee_zcl_appl_idt; ett[1] = &ett_zbee_zcl_appl_idt_basic; /* Register the ZigBee ZCL Appliance Identification cluster protocol name and description */ proto_zbee_zcl_appl_idt = proto_register_protocol("ZigBee ZCL Appliance Identification", "ZCL Appliance Identification", ZBEE_PROTOABBREV_ZCL_APPLIDT); proto_register_field_array(proto_zbee_zcl_appl_idt, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Appliance Identification dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_APPLIDT, dissect_zbee_zcl_appl_idt, proto_zbee_zcl_appl_idt); } /*proto_register_zbee_zcl_appl_idt*/ /** *Hands off the Zcl Appliance Identification dissector. * */ void proto_reg_handoff_zbee_zcl_appl_idt(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_APPLIDT, proto_zbee_zcl_appl_idt, ett_zbee_zcl_appl_idt, ZBEE_ZCL_CID_APPLIANCE_IDENTIFICATION, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_appl_idt_attr_id, hf_zbee_zcl_appl_idt_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_appl_idt_attr_data ); } /*proto_reg_handoff_zbee_zcl_appl_idt*/ /* ########################################################################## */ /* #### (0x0B01) METER IDENTIFICATION CLUSTER ############################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_COMPANY_NAME 0x0000 /* Company Name */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_METER_TYPE_ID 0x0001 /* Meter Type ID */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_DATA_QUALITY_ID 0x0004 /* Data Quality ID */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_CUSTOMER_NAME 0x0005 /* Customer Name */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_MODEL 0x0006 /* Model */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_PART_NUM 0x0007 /* Part Number */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_PRODUCT_REVISION 0x0008 /* Product Revision */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_SW_REVISION 0x000a /* Software Revision */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_UTILITY_NAME 0x000b /* Utility Name */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_POD 0x000c /* POD */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_AVAILABLE_PWR 0x000d /* Available Power */ #define ZBEE_ZCL_ATTR_ID_MET_IDT_PWR_TH 0x000e /* Power Threshold */ /* Server Commands Received - None */ /* Server Commands Generated - None */ /* Meter Type IDs */ #define ZBEE_ZCL_MET_IDT_MET_TYPE_UTILITY_1_METER 0x0000 /* Utility Primary Meter */ #define ZBEE_ZCL_MET_IDT_MET_TYPE_UTILITY_P_METER 0x0001 /* Utility Production Meter */ #define ZBEE_ZCL_MET_IDT_MET_TYPE_UTILITY_2_METER 0x0002 /* Utility Secondary Meter */ #define ZBEE_ZCL_MET_IDT_MET_TYPE_PRIVATE_1_METER 0x0100 /* Private Primary Meter */ #define ZBEE_ZCL_MET_IDT_MET_TYPE_PRIVATE_P_METER 0x0101 /* Private Primary Meter */ #define ZBEE_ZCL_MET_IDT_MET_TYPE_PRIVATE_2_METER 0x0102 /* Private Primary Meter */ #define ZBEE_ZCL_MET_IDT_MET_TYPE_GENERIC_METER 0x0110 /* Generic Meter */ /* Data Quality IDs */ #define ZBEE_ZCL_MET_IDT_DATA_QLTY_ALL_DATA_CERTIF 0x0000 /* All Data Certified */ #define ZBEE_ZCL_MET_IDT_DATA_QLTY_ALL_CERTIF_WO_INST_PWR 0x0001 /* Only Instantaneous Power not Certified */ #define ZBEE_ZCL_MET_IDT_DATA_QLTY_ALL_CERTIF_WO_CUM_CONS 0x0002 /* Only Cumulated Consumption not Certified */ #define ZBEE_ZCL_MET_IDT_DATA_QLTY_NOT_CERTIF_DATA 0x0003 /* Not Certified Data */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_met_idt(void); void proto_reg_handoff_zbee_zcl_met_idt(void); /* Command Dissector Helpers */ static void dissect_zcl_met_idt_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_met_idt = -1; static int hf_zbee_zcl_met_idt_attr_id = -1; static int hf_zbee_zcl_met_idt_meter_type_id = -1; static int hf_zbee_zcl_met_idt_data_quality_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_met_idt = -1; /* Attributes */ static const value_string zbee_zcl_met_idt_attr_names[] = { { ZBEE_ZCL_ATTR_ID_MET_IDT_COMPANY_NAME, "Company Name" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_METER_TYPE_ID, "Meter Type ID" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_DATA_QUALITY_ID, "Data Quality ID" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_CUSTOMER_NAME, "Customer Name" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_MODEL, "Model" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_PART_NUM, "Part Number" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_PRODUCT_REVISION, "Product Revision" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_SW_REVISION, "Software Revision" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_UTILITY_NAME, "Utility Name" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_POD, "POD" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_AVAILABLE_PWR, "Available Power" }, { ZBEE_ZCL_ATTR_ID_MET_IDT_PWR_TH, "Power Threshold" }, { 0, NULL } }; /* Meter Type IDs */ static const value_string zbee_zcl_met_idt_meter_type_names[] = { { ZBEE_ZCL_MET_IDT_MET_TYPE_UTILITY_1_METER, "Utility Primary Meter" }, { ZBEE_ZCL_MET_IDT_MET_TYPE_UTILITY_P_METER, "Meter Type ID" }, { ZBEE_ZCL_MET_IDT_MET_TYPE_UTILITY_2_METER, "Data Quality ID" }, { ZBEE_ZCL_MET_IDT_MET_TYPE_PRIVATE_1_METER, "Customer Name" }, { ZBEE_ZCL_MET_IDT_MET_TYPE_PRIVATE_P_METER, "Model" }, { ZBEE_ZCL_MET_IDT_MET_TYPE_PRIVATE_2_METER, "Part Number" }, { ZBEE_ZCL_MET_IDT_MET_TYPE_GENERIC_METER, "Product Revision" }, { 0, NULL } }; /* Data Quality IDs */ static const value_string zbee_zcl_met_idt_data_quality_names[] = { { ZBEE_ZCL_MET_IDT_DATA_QLTY_ALL_DATA_CERTIF, "All Data Certified" }, { ZBEE_ZCL_MET_IDT_DATA_QLTY_ALL_CERTIF_WO_INST_PWR, "Only Instantaneous Power not Certified" }, { ZBEE_ZCL_MET_IDT_DATA_QLTY_ALL_CERTIF_WO_CUM_CONS, "Only Cumulated Consumption not Certified" }, { ZBEE_ZCL_MET_IDT_DATA_QLTY_NOT_CERTIF_DATA, "Not Certified Data" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Meter Identification cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_met_idt(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_met_idt*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_met_idt_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_MET_IDT_METER_TYPE_ID: proto_tree_add_item(tree, hf_zbee_zcl_met_idt_meter_type_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_MET_IDT_DATA_QUALITY_ID: proto_tree_add_item(tree, hf_zbee_zcl_met_idt_data_quality_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_met_idt_attr_data*/ /** *This function registers the ZCL Meter Identification dissector * */ void proto_register_zbee_zcl_met_idt(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_met_idt_attr_id, { "Attribute", "zbee_zcl_ha.metidt.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_met_idt_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_idt_meter_type_id, { "Meter Type ID", "zbee_zcl_ha.metidt.attr.meter_type.id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_met_idt_meter_type_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_idt_data_quality_id, { "Data Quality ID", "zbee_zcl_ha.metidt.attr.data_quality.id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_met_idt_data_quality_names), 0x00, NULL, HFILL } } }; /* ZCL Meter Identification subtrees */ gint *ett[] = { &ett_zbee_zcl_met_idt }; /* Register the ZigBee ZCL Meter Identification cluster protocol name and description */ proto_zbee_zcl_met_idt = proto_register_protocol("ZigBee ZCL Meter Identification", "ZCL Meter Identification", ZBEE_PROTOABBREV_ZCL_METIDT); proto_register_field_array(proto_zbee_zcl_met_idt, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Meter Identification dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_METIDT, dissect_zbee_zcl_met_idt, proto_zbee_zcl_met_idt); } /*proto_register_zbee_zcl_met_idt*/ /** *Hands off the Zcl Meter Identification dissector. * */ void proto_reg_handoff_zbee_zcl_met_idt(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_METIDT, proto_zbee_zcl_met_idt, ett_zbee_zcl_met_idt, ZBEE_ZCL_CID_METER_IDENTIFICATION, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_met_idt_attr_id, hf_zbee_zcl_met_idt_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_met_idt_attr_data ); } /*proto_reg_handoff_zbee_zcl_met_idt*/ /* ########################################################################## */ /* #### (0x0B02) APPLIANCE EVENTS AND ALERT CLUSTER ######################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_APPL_EVTALT_NUM_GENERIC_ETT 1 #define ZBEE_ZCL_APPL_EVTALT_NUM_STRUCT_ETT 15 #define ZBEE_ZCL_APPL_EVTALT_NUM_ETT (ZBEE_ZCL_APPL_EVTALT_NUM_GENERIC_ETT + \ ZBEE_ZCL_APPL_EVTALT_NUM_STRUCT_ETT) /* Attributes - None */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_APPL_EVTALT_GET_ALERTS_CMD 0x00 /* Get Alerts */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_APPL_EVTALT_GET_ALERTS_RSP_CMD 0x00 /* Get Alerts Response */ #define ZBEE_ZCL_CMD_ID_APPL_EVTALT_ALERTS_NOTIF_CMD 0x01 /* Alerts Notification */ #define ZBEE_ZCL_CMD_ID_APPL_EVTALT_EVENT_NOTIF_CMD 0x02 /* Event Notification */ /* Alert Count masks */ #define ZBEE_ZCL_APPL_EVTALT_COUNT_NUM_MASK 0x0F /* Number of Alerts : [0..3] */ #define ZBEE_ZCL_APPL_EVTALT_COUNT_TYPE_MASK 0xF0 /* Type of Alerts : [4..7] */ /* Alert structure masks */ #define ZBEE_ZCL_APPL_EVTALT_ALERT_ID_MASK 0x0000FF /* Alerts Id : [0..7] */ #define ZBEE_ZCL_APPL_EVTALT_CATEGORY_MASK 0x000F00 /* Cetegory : [8..11] */ #define ZBEE_ZCL_APPL_EVTALT_STATUS_MASK 0x003000 /* Presence / Recovery: [12..13] */ #define ZBEE_ZCL_APPL_EVTALT_RESERVED_MASK 0x00C000 /* Reserved : [14..15] */ #define ZBEE_ZCL_APPL_EVTALT_PROPRIETARY_MASK 0xFF0000 /* Non-Standardized / Proprietary : [16..23] */ /* Category values */ #define ZBEE_ZCL_APPL_EVTALT_CATEGORY_RESERVED 0x00 /* Reserved */ #define ZBEE_ZCL_APPL_EVTALT_CATEGORY_WARNING 0x01 /* Warning */ #define ZBEE_ZCL_APPL_EVTALT_CATEGORY_DANGER 0x02 /* Danger */ #define ZBEE_ZCL_APPL_EVTALT_CATEGORY_FAILURE 0x03 /* Failure */ /* Status values */ #define ZBEE_ZCL_APPL_EVTALT_STATUS_RECOVERY 0x00 /* Recovery */ #define ZBEE_ZCL_APPL_EVTALT_STATUS_PRESENCE 0x01 /* Presence */ /* Event Identification */ #define ZBEE_ZCL_APPL_EVTALT_EVENT_END_OF_CYCLE 0x01 /* End Of Cycle */ #define ZBEE_ZCL_APPL_EVTALT_EVENT_RESERVED_1 0x02 /* Reserved */ #define ZBEE_ZCL_APPL_EVTALT_EVENT_RESERVED_2 0x03 /* Reserved */ #define ZBEE_ZCL_APPL_EVTALT_EVENT_TEMP_REACHED 0x04 /* Temperature Reached */ #define ZBEE_ZCL_APPL_EVTALT_EVENT_END_OF_COOKING 0x05 /* End Of Cooking */ #define ZBEE_ZCL_APPL_EVTALT_EVENT_SW_OFF 0x06 /* Switching Off */ #define ZBEE_ZCL_APPL_EVTALT_EVENT_WRONG_DATA 0xf7 /* Wrong Data */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_appl_evtalt(void); void proto_reg_handoff_zbee_zcl_appl_evtalt(void); /* Command Dissector Helpers */ static void dissect_zcl_appl_evtalt_get_alerts_rsp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_appl_evtalt_event_notif (tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_appl_evtalt = -1; static int hf_zbee_zcl_appl_evtalt_srv_tx_cmd_id = -1; static int hf_zbee_zcl_appl_evtalt_srv_rx_cmd_id = -1; static int hf_zbee_zcl_appl_evtalt_count_num = -1; static int hf_zbee_zcl_appl_evtalt_count_type = -1; static int hf_zbee_zcl_appl_evtalt_alert_id = -1; static int hf_zbee_zcl_appl_evtalt_category = -1; static int hf_zbee_zcl_appl_evtalt_status = -1; static int hf_zbee_zcl_appl_evtalt_reserved = -1; static int hf_zbee_zcl_appl_evtalt_proprietary = -1; static int hf_zbee_zcl_appl_evtalt_event_hdr = -1; static int hf_zbee_zcl_appl_evtalt_event_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_appl_evtalt = -1; static gint ett_zbee_zcl_appl_evtalt_alerts_struct[ZBEE_ZCL_APPL_EVTALT_NUM_STRUCT_ETT]; /* Server Commands Received */ static const value_string zbee_zcl_appl_evtalt_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_APPL_EVTALT_GET_ALERTS_CMD, "Get Alerts" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_appl_evtalt_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_APPL_EVTALT_GET_ALERTS_RSP_CMD, "Get Alerts Response" }, { ZBEE_ZCL_CMD_ID_APPL_EVTALT_ALERTS_NOTIF_CMD, "Alerts Notification" }, { ZBEE_ZCL_CMD_ID_APPL_EVTALT_EVENT_NOTIF_CMD, "Event Notification" }, { 0, NULL } }; /* Event Identification */ static const value_string zbee_zcl_appl_evtalt_event_id_names[] = { { ZBEE_ZCL_APPL_EVTALT_EVENT_END_OF_CYCLE, "End Of Cycle" }, { ZBEE_ZCL_APPL_EVTALT_EVENT_RESERVED_1, "Reserved" }, { ZBEE_ZCL_APPL_EVTALT_EVENT_RESERVED_2, "Reserved" }, { ZBEE_ZCL_APPL_EVTALT_EVENT_TEMP_REACHED, "Temperature Reached" }, { ZBEE_ZCL_APPL_EVTALT_EVENT_END_OF_COOKING, "End Of Cooking" }, { ZBEE_ZCL_APPL_EVTALT_EVENT_SW_OFF, "Switching Off" }, { ZBEE_ZCL_APPL_EVTALT_EVENT_WRONG_DATA, "Wrong Data" }, { 0, NULL } }; /* Category values */ static const value_string zbee_zcl_appl_evtalt_category_names[] = { { ZBEE_ZCL_APPL_EVTALT_CATEGORY_RESERVED, "Reserved" }, { ZBEE_ZCL_APPL_EVTALT_CATEGORY_WARNING, "Warning" }, { ZBEE_ZCL_APPL_EVTALT_CATEGORY_DANGER, "Danger" }, { ZBEE_ZCL_APPL_EVTALT_CATEGORY_FAILURE, "Failure" }, { 0, NULL } }; /* Status values */ static const value_string zbee_zcl_appl_evtalt_status_names[] = { { ZBEE_ZCL_APPL_EVTALT_STATUS_RECOVERY, "Recovery" }, { ZBEE_ZCL_APPL_EVTALT_STATUS_PRESENCE, "Presence" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Appliance Events and Alerts cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_appl_evtalt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_appl_evtalt_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { /*payload_tree = */proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_appl_evtalt, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_APPL_EVTALT_GET_ALERTS_CMD: /* No payload */ break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_appl_evtalt_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_appl_evtalt, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_APPL_EVTALT_GET_ALERTS_RSP_CMD: case ZBEE_ZCL_CMD_ID_APPL_EVTALT_ALERTS_NOTIF_CMD: dissect_zcl_appl_evtalt_get_alerts_rsp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_APPL_EVTALT_EVENT_NOTIF_CMD: dissect_zcl_appl_evtalt_event_notif(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_appl_evtalt*/ /** *This function is called in order to decode alerts structure payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset offset in the tvb buffer */ static void dissect_zcl_appl_evtalt_alerts_struct(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_alert_id, tvb, *offset, 3, ENC_BIG_ENDIAN); proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_category, tvb, *offset, 3, ENC_BIG_ENDIAN); proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_status, tvb, *offset, 3, ENC_BIG_ENDIAN); proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_reserved, tvb, *offset, 3, ENC_BIG_ENDIAN); proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_proprietary, tvb, *offset, 3, ENC_BIG_ENDIAN); *offset += 3; } /*dissect_zcl_appl_evtalt_alerts_struct*/ /** *This function is called in order to decode the GetAlertsRespose payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset offset in the tvb buffer */ static void dissect_zcl_appl_evtalt_get_alerts_rsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree *sub_tree = NULL; guint i; guint8 count; /* Retrieve "Alert Count" field */ count = tvb_get_guint8(tvb, *offset) & ZBEE_ZCL_APPL_EVTALT_COUNT_NUM_MASK; proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_count_num, tvb, *offset, 1, ENC_NA); proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_count_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Alerts structure decoding */ for ( i=0 ; i<count ; i++) { /* Create subtree */ sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 1, ett_zbee_zcl_appl_evtalt_alerts_struct[i], NULL, "Alerts Structure #%u", i); dissect_zcl_appl_evtalt_alerts_struct(tvb, sub_tree, offset); } } /*dissect_zcl_appl_evtalt_get_alerts_rsp*/ /** *This function is called in order to decode the EventNotification payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset offset in the tvb buffer */ static void dissect_zcl_appl_evtalt_event_notif(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Event Header" field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_event_hdr, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Event Identification" field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_evtalt_event_id, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_appl_evtalt_event_notif*/ /** *This function registers the ZCL Appliance Events and Alert dissector * */ void proto_register_zbee_zcl_appl_evtalt(void) { guint i, j; static hf_register_info hf[] = { { &hf_zbee_zcl_appl_evtalt_srv_tx_cmd_id, { "Command", "zbee_zcl_ha.applevtalt.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_evtalt_srv_tx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_srv_rx_cmd_id, { "Command", "zbee_zcl_ha.applevtalt.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_evtalt_srv_rx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_count_num, { "Number of Alerts", "zbee_zcl_ha.applevtalt.count.num", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_APPL_EVTALT_COUNT_NUM_MASK, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_count_type, { "Type of Alerts", "zbee_zcl_ha.applevtalt.count.type", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_APPL_EVTALT_COUNT_TYPE_MASK, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_alert_id, { "Alert Id", "zbee_zcl_ha.applevtalt.alert_id", FT_UINT24, BASE_HEX, NULL, ZBEE_ZCL_APPL_EVTALT_ALERT_ID_MASK, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_category, { "Category", "zbee_zcl_ha.applevtalt.category", FT_UINT24, BASE_HEX, VALS(zbee_zcl_appl_evtalt_category_names), ZBEE_ZCL_APPL_EVTALT_CATEGORY_MASK, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_status, { "Status", "zbee_zcl_ha.applevtalt.status", FT_UINT24, BASE_HEX, VALS(zbee_zcl_appl_evtalt_status_names), ZBEE_ZCL_APPL_EVTALT_STATUS_MASK, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_reserved, { "Reserved", "zbee_zcl_ha.applevtalt.reserved", FT_UINT24, BASE_HEX, NULL, ZBEE_ZCL_APPL_EVTALT_RESERVED_MASK, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_proprietary, { "Proprietary", "zbee_zcl_ha.applevtalt.proprietary", FT_UINT24, BASE_HEX, NULL, ZBEE_ZCL_APPL_EVTALT_PROPRIETARY_MASK, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_event_hdr, { "Event Header", "zbee_zcl_ha.applevtalt.event.header", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_appl_evtalt_event_id, { "Event Id", "zbee_zcl_ha.applevtalt.event.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_evtalt_event_id_names), 0x00, NULL, HFILL } } }; /* ZCL Appliance Events And Alerts subtrees */ gint *ett[ZBEE_ZCL_APPL_EVTALT_NUM_ETT]; ett[0] = &ett_zbee_zcl_appl_evtalt; /* initialize attribute subtree types */ for ( i = 0, j = ZBEE_ZCL_APPL_EVTALT_NUM_GENERIC_ETT; i < ZBEE_ZCL_APPL_EVTALT_NUM_STRUCT_ETT; i++, j++) { ett_zbee_zcl_appl_evtalt_alerts_struct[i] = -1; ett[j] = &ett_zbee_zcl_appl_evtalt_alerts_struct[i]; } /* Register the ZigBee ZCL Appliance Events And Alerts cluster protocol name and description */ proto_zbee_zcl_appl_evtalt = proto_register_protocol("ZigBee ZCL Appliance Events & Alert", "ZCL Appliance Events & Alert", ZBEE_PROTOABBREV_ZCL_APPLEVTALT); proto_register_field_array(proto_zbee_zcl_appl_evtalt, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Appliance Control dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_APPLEVTALT, dissect_zbee_zcl_appl_evtalt, proto_zbee_zcl_appl_evtalt); } /*proto_register_zbee_zcl_appl_evtalt*/ /** *Hands off the Zcl Appliance Events And Alerts dissector. * */ void proto_reg_handoff_zbee_zcl_appl_evtalt(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_APPLEVTALT, proto_zbee_zcl_appl_evtalt, ett_zbee_zcl_appl_evtalt, ZBEE_ZCL_CID_APPLIANCE_EVENTS_AND_ALERT, ZBEE_MFG_CODE_NONE, -1, -1, hf_zbee_zcl_appl_evtalt_srv_rx_cmd_id, hf_zbee_zcl_appl_evtalt_srv_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_appl_evtalt*/ /* ########################################################################## */ /* #### (0x0B03) APPLIANCE STATISTICS CLUSTER ############################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_APPL_STATS_NUM_GENERIC_ETT 1 #define ZBEE_ZCL_APPL_STATS_NUM_LOGS_ETT 16 #define ZBEE_ZCL_APPL_STATS_NUM_ETT (ZBEE_ZCL_APPL_STATS_NUM_GENERIC_ETT + \ ZBEE_ZCL_APPL_STATS_NUM_LOGS_ETT) /* Attributes */ #define ZBEE_ZCL_ATTR_ID_APPL_STATS_LOG_MAX_SIZE 0x0000 /* Log Max Size */ #define ZBEE_ZCL_ATTR_ID_APPL_STATS_LOG_QUEUE_MAX_SIZE 0x0001 /* Log Queue Max Size */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_REQ 0x00 /* Log Request */ #define ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_QUEUE_REQ 0x01 /* Log Queue Request */ /* Server Commands Generated - None */ #define ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_NOTIF 0x00 /* Log Notification */ #define ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_RSP 0x01 /* Log Response */ #define ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_QUEUE_RSP 0x02 /* Log Queue Response */ #define ZBEE_ZCL_CMD_ID_APPL_STATS_STATS_AVAILABLE 0x03 /* Statistics Available */ /* Others */ #define ZBEE_ZCL_APPL_STATS_INVALID_TIME 0xffffffff /* Invalid UTC Time */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_appl_stats(void); void proto_reg_handoff_zbee_zcl_appl_stats(void); /* Command Dissector Helpers */ static void dissect_zcl_appl_stats_log_req (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_appl_stats_log_rsp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_appl_stats_log_queue_rsp (tvbuff_t *tvb, proto_tree *tree, guint *offset); /* Private functions prototype */ static void decode_zcl_appl_stats_utc_time (gchar *s, guint32 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_appl_stats = -1; static int hf_zbee_zcl_appl_stats_attr_id = -1; static int hf_zbee_zcl_appl_stats_srv_tx_cmd_id = -1; static int hf_zbee_zcl_appl_stats_srv_rx_cmd_id = -1; static int hf_zbee_zcl_appl_stats_utc_time = -1; static int hf_zbee_zcl_appl_stats_log_length = -1; static int hf_zbee_zcl_appl_stats_log_payload = -1; static int hf_zbee_zcl_appl_stats_log_queue_size = -1; static int hf_zbee_zcl_appl_stats_log_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_appl_stats = -1; static gint ett_zbee_zcl_appl_stats_logs[ZBEE_ZCL_APPL_STATS_NUM_LOGS_ETT]; /* Attributes */ static const value_string zbee_zcl_appl_stats_attr_names[] = { { ZBEE_ZCL_ATTR_ID_APPL_STATS_LOG_MAX_SIZE, "Log Max Size" }, { ZBEE_ZCL_ATTR_ID_APPL_STATS_LOG_QUEUE_MAX_SIZE, "Log Queue Max Size" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_appl_stats_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_REQ, "Log Request" }, { ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_QUEUE_REQ, "Log Queue Request" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_appl_stats_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_NOTIF, "Log Notification" }, { ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_RSP, "Log Response" }, { ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_QUEUE_RSP, "Log Queue Response" }, { ZBEE_ZCL_CMD_ID_APPL_STATS_STATS_AVAILABLE, "Statistics Available" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Appliance Statistics cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_appl_stats (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_appl_stats_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_appl_stats, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_REQ: dissect_zcl_appl_stats_log_req(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_QUEUE_REQ: /* No payload */ break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_appl_stats_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_appl_stats, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_NOTIF: case ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_RSP: dissect_zcl_appl_stats_log_rsp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_APPL_STATS_LOG_QUEUE_RSP: case ZBEE_ZCL_CMD_ID_APPL_STATS_STATS_AVAILABLE: dissect_zcl_appl_stats_log_queue_rsp(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_appl_stats*/ /** *This function is called in order to decode "LogRequest" payload command. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to buffer offset */ static void dissect_zcl_appl_stats_log_req(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve 'Log ID' field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_log_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_appl_stats_log_req*/ /** *This function is called in order to decode "LogNotification" and * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to buffer offset */ static void dissect_zcl_appl_stats_log_rsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint32 log_len; /* Retrieve 'UTCTime' field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_utc_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve 'Log ID' field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_log_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve 'Log Length' field */ log_len = tvb_get_letohl(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_log_length, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Retrieve 'Log Payload' field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_log_payload, tvb, *offset, log_len, ENC_NA); *offset += log_len; }/*dissect_zcl_appl_stats_log_rsp*/ /** *This function is called in order to decode "LogQueueResponse" and * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to buffer offset */ static void dissect_zcl_appl_stats_log_queue_rsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { gint list_len; /* Retrieve 'Log Queue Size' field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_log_queue_size, tvb, *offset, 1, ENC_NA); *offset += 1; /* Dissect the attribute id list */ list_len = tvb_reported_length_remaining(tvb, *offset); if ( list_len > 0 ) { while ( *offset < (guint)list_len ) { /* Retrieve 'Log ID' field */ proto_tree_add_item(tree, hf_zbee_zcl_appl_stats_log_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } } }/*dissect_zcl_appl_stats_log_queue_rsp*/ /** *This function decodes utc time, with peculiarity case for * *@param s string to display *@param value value to decode */ static void decode_zcl_appl_stats_utc_time(gchar *s, guint32 value) { if (value == ZBEE_ZCL_APPL_STATS_INVALID_TIME) snprintf(s, ITEM_LABEL_LENGTH, "Invalid UTC Time"); else { gchar *utc_time; value += ZBEE_ZCL_NSTIME_UTC_OFFSET; utc_time = abs_time_secs_to_str (NULL, value, ABSOLUTE_TIME_LOCAL, TRUE); snprintf(s, ITEM_LABEL_LENGTH, "%s", utc_time); wmem_free(NULL, utc_time); } } /* decode_zcl_appl_stats_utc_time */ /** *This function registers the ZCL Appliance Statistics dissector * */ void proto_register_zbee_zcl_appl_stats(void) { guint i, j; static hf_register_info hf[] = { { &hf_zbee_zcl_appl_stats_attr_id, { "Attribute", "zbee_zcl_ha.applstats.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_appl_stats_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_stats_srv_tx_cmd_id, { "Command", "zbee_zcl_ha.applstats.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_stats_srv_tx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_stats_srv_rx_cmd_id, { "Command", "zbee_zcl_ha.applstats.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_appl_stats_srv_rx_cmd_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_stats_utc_time, { "UTC Time", "zbee_zcl_ha.applstats.utc_time", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_zcl_appl_stats_utc_time), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_appl_stats_log_length, { "Log Length", "zbee_zcl_ha.applstats.log.length", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_stats_log_id, { "Log ID", "zbee_zcl_ha.applstats.log.id", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_stats_log_queue_size, { "Log Queue Size", "zbee_zcl_ha.applstats.log_queue_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_appl_stats_log_payload, { "Log Payload", "zbee_zcl_ha.applstats.log.payload", FT_BYTES, SEP_COLON, NULL, 0x00, NULL, HFILL } }, }; /* ZCL ApplianceStatistics subtrees */ static gint *ett[ZBEE_ZCL_APPL_STATS_NUM_ETT]; ett[0] = &ett_zbee_zcl_appl_stats; /* initialize attribute subtree types */ for ( i = 0, j = ZBEE_ZCL_APPL_STATS_NUM_GENERIC_ETT; i < ZBEE_ZCL_APPL_STATS_NUM_LOGS_ETT; i++, j++ ) { ett_zbee_zcl_appl_stats_logs[i] = -1; ett[j] = &ett_zbee_zcl_appl_stats_logs[i]; } /* Register the ZigBee ZCL Appliance Statistics cluster protocol name and description */ proto_zbee_zcl_appl_stats = proto_register_protocol("ZigBee ZCL Appliance Statistics", "ZCL Appliance Statistics", ZBEE_PROTOABBREV_ZCL_APPLSTATS); proto_register_field_array(proto_zbee_zcl_appl_stats, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Appliance Statistics dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_APPLSTATS, dissect_zbee_zcl_appl_stats, proto_zbee_zcl_appl_stats); } /* proto_register_zbee_zcl_appl_stats */ /** *Hands off the Zcl Appliance Statistics cluster dissector. * */ void proto_reg_handoff_zbee_zcl_appl_stats(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_APPLSTATS, proto_zbee_zcl_appl_stats, ett_zbee_zcl_appl_stats, ZBEE_ZCL_CID_APPLIANCE_STATISTICS, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_appl_stats_attr_id, hf_zbee_zcl_appl_stats_attr_id, hf_zbee_zcl_appl_stats_srv_rx_cmd_id, hf_zbee_zcl_appl_stats_srv_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_appl_stats*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl-hvac.c
/* packet-zbee-zcl-hvac.c * Dissector routines for the ZigBee ZCL HVAC clusters * By Aditya Jain <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/to_str.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" /* ########################################################################## */ /* #### (0x0200) PUMP CONFIGURATION AND CONTROL CLUSTER ##################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_NUM_ETT 3 /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_PRESSURE 0x0000 /* Maximum Pressure */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_SPEED 0x0001 /* Maximum Speed */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_FLOW 0x0002 /* Maximum Flow */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_PRESSURE 0x0003 /* Minimum Constant Pressure */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_PRESSURE 0x0004 /* Maximum Constant Pressure */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_COMP_PRESSURE 0x0005 /* Minimum Compensated Pressure */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_POWER_MAX_COMP_PRESSURE 0x0006 /* Maximum Compensated Pressure */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_SPEED 0x0007 /* Minimum Constant Speed */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_SPEED 0x0008 /* Maximum Constant Speed */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_FLOW 0x0009 /* Minimum Constant Flow */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_FLOW 0x000a /* Maximum Constant Flow */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_TEMP 0x000b /* Minimum Constant Temperature */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_TEMP 0x000c /* Maximum Constant Temperature */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_PUMP_STATUS 0x0010 /* Pump Status */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_EFFECTIVE_OPR_MODE 0x0011 /* Effective Operation Mode */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_EFFECTIVE_CTRL_MODE 0x0012 /* Effective Control Mode */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_CAPACITY 0x0013 /* Capacity */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_SPEED 0x0014 /* Speed */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_LIFETIME_RUNNING_HOURS 0x0015 /* Lifetime Running Hours */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_POWER 0x0016 /* Power */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_LIFETIME_ENERGY_CONS 0x0017 /* Lifetime Energy Consumed */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_OPR_MODE 0x0020 /* Operation Mode */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_CTRL_MODE 0x0021 /* Control Mode */ #define ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_ALARM_MASK 0x0022 /* Alarm Mask */ /*Server commands received - none*/ /*Server commands generated - none*/ /*Pump Status Mask Values*/ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_DEVICE_FAULT 0x0001 /* Device Fault */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_SUPPLY_FAULT 0x0002 /* Supply Fault */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_SPEED_LOW 0x0004 /* Speed Low */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_SPEED_HIGH 0x0008 /* Speed High */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_LOCAL_OVERRIDE 0x0010 /* Local Override */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_RUNNING 0x0020 /* Running */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_REMOTE_PRESSURE 0x0040 /* Remote Pressure */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_REMOTE_FLOW 0x0080 /* Remote Flow */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_REMOTE_TEMP 0x0100 /* Remote Temperature */ /*Alarm Mask Values*/ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_VOLTAGE_TOO_LOW 0x0001 /* Supply voltage too low */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_VOLTAGE_TOO_HIGH 0x0002 /* Supply voltage too high */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PWR_MISSING_PHASE 0x0004 /* Power missing phase */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PRESSURE_TOO_LOW 0x0008 /* System pressure too low */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PRESSURE_TOO_HIGH 0x0010 /* System pressure too high */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_DRY_RUNNING 0x0020 /* Dry running */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_MTR_TEMP_TOO_HIGH 0x0040 /* Motor temperature too high */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PUMP_MTR_FATAL_FAILURE 0x0080 /* Pump motor has fatal failure */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_ELEC_TEMP_TOO_HIGH 0x0100 /* Electronic temperature too high */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PUMP_BLOCK 0x0200 /* Pump blocked */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_SENSOR_FAILURE 0x0400 /* Sensor failure */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_ELEC_NON_FATAL_FAILURE 0x0800 /* Electronic non-fatal failure */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_ELEC_FATAL_FAILURE 0x1000 /* Electronic fatal failure */ #define ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_GENERAL_FAULT 0x2000 /* General fault */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_pump_config_control(void); void proto_reg_handoff_zbee_zcl_pump_config_control(void); /* Command Dissector Helpers */ static void dissect_zcl_pump_config_control_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_pump_config_control = -1; static int hf_zbee_zcl_pump_config_control_attr_id = -1; static int hf_zbee_zcl_pump_config_control_attr_eff_opr_mode = -1; static int hf_zbee_zcl_pump_config_control_attr_opr_mode = -1; static int hf_zbee_zcl_pump_config_control_attr_eff_ctrl_mode = -1; static int hf_zbee_zcl_pump_config_control_attr_ctrl_mode = -1; static int hf_zbee_zcl_pump_config_control_status = -1; static int hf_zbee_zcl_pump_config_control_status_device_fault = -1; static int hf_zbee_zcl_pump_config_control_status_supply_fault = -1; static int hf_zbee_zcl_pump_config_control_status_speed_low = -1; static int hf_zbee_zcl_pump_config_control_status_speed_high = -1; static int hf_zbee_zcl_pump_config_control_status_local_override = -1; static int hf_zbee_zcl_pump_config_control_status_running = -1; static int hf_zbee_zcl_pump_config_control_status_rem_pressure = -1; static int hf_zbee_zcl_pump_config_control_status_rem_flow = -1; static int hf_zbee_zcl_pump_config_control_status_rem_temp = -1; static int hf_zbee_zcl_pump_config_control_alarm = -1; static int hf_zbee_zcl_pump_config_control_alarm_volt_too_low = -1; static int hf_zbee_zcl_pump_config_control_alarm_volt_too_high = -1; static int hf_zbee_zcl_pump_config_control_alarm_pwr_missing_phase = -1; static int hf_zbee_zcl_pump_config_control_alarm_press_too_low = -1; static int hf_zbee_zcl_pump_config_control_alarm_press_too_high = -1; static int hf_zbee_zcl_pump_config_control_alarm_dry_running = -1; static int hf_zbee_zcl_pump_config_control_alarm_mtr_temp_too_high = -1; static int hf_zbee_zcl_pump_config_control_alarm_pump_mtr_fatal_fail = -1; static int hf_zbee_zcl_pump_config_control_alarm_elec_temp_too_high = -1; static int hf_zbee_zcl_pump_config_control_alarm_pump_block = -1; static int hf_zbee_zcl_pump_config_control_alarm_sensor_fail = -1; static int hf_zbee_zcl_pump_config_control_alarm_elec_non_fatal_fail = -1; static int hf_zbee_zcl_pump_config_control_alarm_fatal_fail = -1; static int hf_zbee_zcl_pump_config_control_alarm_gen_fault = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_pump_config_control = -1; static gint ett_zbee_zcl_pump_config_control_status = -1; static gint ett_zbee_zcl_pump_config_control_alarm = -1; /* Attributes */ static const value_string zbee_zcl_pump_config_control_attr_names[] = { { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_PRESSURE, "Maximum Pressure" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_SPEED, "Maximum Speed" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_FLOW, "Maximum Flow" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_PRESSURE, "Minimum Constant Pressure" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_PRESSURE, "Maximum Constant Pressure" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_COMP_PRESSURE, "Minimum Compensated Pressure" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_POWER_MAX_COMP_PRESSURE, "Maximum Compensated Pressure" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_SPEED, "Minimum Constant Speed" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_SPEED, "Maximum Constant Speed" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_FLOW, "Minimum Constant Flow" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_FLOW, "Maximum Constant Flow" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_TEMP, "Minimum Constant Temperature" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_TEMP, "Maximum Constant Temperature" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_PUMP_STATUS, "Pump Status" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_EFFECTIVE_OPR_MODE, "Effective Operation Mode" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_EFFECTIVE_CTRL_MODE, "Effective Control Mode" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_CAPACITY, "Capacity" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_SPEED, "Speed" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_LIFETIME_RUNNING_HOURS, "Lifetime Running Hours" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_POWER, "Power" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_LIFETIME_ENERGY_CONS, "Lifetime Energy Consumed" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_OPR_MODE, "Operation Mode" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_CTRL_MODE, "Control Mode" }, { ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_ALARM_MASK, "Alarm Mask" }, { 0, NULL } }; /*Operation Mode Values*/ static const value_string zbee_zcl_pump_config_control_operation_mode_names[] = { {0, "Normal"}, {1, "Minimum"}, {2, "Maximum"}, {3, "Local"}, {0, NULL} }; /*Control Mode Values*/ static const value_string zbee_zcl_pump_config_control_control_mode_names[] = { {0, "Constant Speed"}, {1, "Constant Pressure"}, {2, "proportional Pressure"}, {3, "Constant Flow"}, {4, "Reserved"}, {5, "Constant Temperature"}, {6, "Reserved"}, {7, "Automatic"}, {0, NULL} }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Pump Configuration and Control cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_pump_config_control(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_pump_config_control*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_pump_config_control_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const pump_status[] = { &hf_zbee_zcl_pump_config_control_status_device_fault, &hf_zbee_zcl_pump_config_control_status_supply_fault, &hf_zbee_zcl_pump_config_control_status_speed_low, &hf_zbee_zcl_pump_config_control_status_speed_high, &hf_zbee_zcl_pump_config_control_status_local_override, &hf_zbee_zcl_pump_config_control_status_running, &hf_zbee_zcl_pump_config_control_status_rem_pressure, &hf_zbee_zcl_pump_config_control_status_rem_flow, &hf_zbee_zcl_pump_config_control_status_rem_temp, NULL }; static int * const alarm_mask[] = { &hf_zbee_zcl_pump_config_control_alarm_volt_too_low, &hf_zbee_zcl_pump_config_control_alarm_volt_too_high, &hf_zbee_zcl_pump_config_control_alarm_pwr_missing_phase, &hf_zbee_zcl_pump_config_control_alarm_press_too_low, &hf_zbee_zcl_pump_config_control_alarm_press_too_high, &hf_zbee_zcl_pump_config_control_alarm_dry_running, &hf_zbee_zcl_pump_config_control_alarm_mtr_temp_too_high, &hf_zbee_zcl_pump_config_control_alarm_pump_mtr_fatal_fail, &hf_zbee_zcl_pump_config_control_alarm_elec_temp_too_high, &hf_zbee_zcl_pump_config_control_alarm_pump_block, &hf_zbee_zcl_pump_config_control_alarm_sensor_fail, &hf_zbee_zcl_pump_config_control_alarm_elec_non_fatal_fail, &hf_zbee_zcl_pump_config_control_alarm_fatal_fail, &hf_zbee_zcl_pump_config_control_alarm_gen_fault, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_EFFECTIVE_OPR_MODE: proto_tree_add_item(tree, hf_zbee_zcl_pump_config_control_attr_eff_opr_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_OPR_MODE: proto_tree_add_item(tree, hf_zbee_zcl_pump_config_control_attr_opr_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_EFFECTIVE_CTRL_MODE: proto_tree_add_item(tree, hf_zbee_zcl_pump_config_control_attr_eff_ctrl_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_CTRL_MODE: proto_tree_add_item(tree, hf_zbee_zcl_pump_config_control_attr_ctrl_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_PUMP_STATUS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pump_config_control_status, ett_zbee_zcl_pump_config_control_status, pump_status, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_ALARM_MASK: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pump_config_control_alarm, ett_zbee_zcl_pump_config_control_alarm, alarm_mask, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_PRESSURE: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_SPEED: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_FLOW: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_PRESSURE: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_PRESSURE: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_COMP_PRESSURE: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_POWER_MAX_COMP_PRESSURE: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_SPEED: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_SPEED: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_FLOW: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_FLOW: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MIN_CONST_TEMP: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_MAX_CONST_TEMP: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_CAPACITY: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_SPEED: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_LIFETIME_RUNNING_HOURS: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_POWER: case ZBEE_ZCL_ATTR_ID_PUMP_CONFIG_CONTROL_LIFETIME_ENERGY_CONS: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_pump_config_control_attr_data*/ /** *ZigBee ZCL Pump Configuration and Control cluster protocol registration routine. * */ void proto_register_zbee_zcl_pump_config_control(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_pump_config_control_attr_id, { "Attribute", "zbee_zcl_hvac.pump_config_control.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_pump_config_control_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_attr_eff_opr_mode, { "Effective Operation Mode", "zbee_zcl_hvac.pump_config_control.attr.effective_opr_mode", FT_UINT8, BASE_DEC, VALS(zbee_zcl_pump_config_control_operation_mode_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_attr_opr_mode, { "Operation Mode", "zbee_zcl_hvac.pump_config_control.attr.opr_mode", FT_UINT8, BASE_DEC, VALS(zbee_zcl_pump_config_control_operation_mode_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_attr_eff_ctrl_mode, { "Effective Control Mode", "zbee_zcl_hvac.pump_config_control.attr.ctrl_mode", FT_UINT8, BASE_DEC, VALS(zbee_zcl_pump_config_control_control_mode_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_attr_ctrl_mode, { "Control Mode", "zbee_zcl_hvac.pump_config_control.attr.ctrl_mode", FT_UINT8, BASE_DEC, VALS(zbee_zcl_pump_config_control_control_mode_names), 0x00, NULL, HFILL } }, /* start Pump Status fields */ { &hf_zbee_zcl_pump_config_control_status, { "Pump Status", "zbee_zcl_hvac.pump_config_control.attr.status", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_device_fault, { "Device Fault", "zbee_zcl_hvac.pump_config_control.attr.status.device_fault", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_DEVICE_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_supply_fault, { "Supply Fault", "zbee_zcl_hvac.pump_config_control.attr.status.supply_fault", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_SUPPLY_FAULT, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_speed_low, { "Speed Low", "zbee_zcl_hvac.pump_config_control.attr.status.speed_low", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_SPEED_LOW, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_speed_high, { "Speed High", "zbee_zcl_hvac.pump_config_control.attr.status.speed_high", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_SPEED_HIGH, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_local_override, { "Local Override", "zbee_zcl_hvac.pump_config_control.attr.status.local_override", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_LOCAL_OVERRIDE, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_running, { "Running", "zbee_zcl_hvac.pump_config_control.attr.status.running", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_RUNNING, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_rem_pressure, { "Remote Pressure", "zbee_zcl_hvac.pump_config_control.attr.status.rem_pressure", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_REMOTE_PRESSURE, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_rem_flow, { "Remote Flow", "zbee_zcl_hvac.pump_config_control.attr.status.rem_flow", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_REMOTE_FLOW, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_status_rem_temp, { "Remote Temperature", "zbee_zcl_hvac.pump_config_control.attr.status.rem_temp", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_PUMP_CONFIG_CONTROL_STATUS_REMOTE_TEMP, NULL, HFILL } }, /* end Pump Status fields */ /*start Alarm Mask fields*/ { &hf_zbee_zcl_pump_config_control_alarm, { "Alarm Mask", "zbee_zcl_hvac.pump_config_control.attr.alarm", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_volt_too_low, { "Supply voltage too low", "zbee_zcl_hvac.pump_config_control.attr.alarm.volt_too_low", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_VOLTAGE_TOO_LOW, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_volt_too_high, { "Supply voltage too high", "zbee_zcl_hvac.pump_config_control.attr.alarm.volt_too_high", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_VOLTAGE_TOO_HIGH, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_pwr_missing_phase, { "Power missing phase", "zbee_zcl_hvac.pump_config_control.attr.alarm.pwr_missing_phase", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PWR_MISSING_PHASE, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_press_too_low, { "System pressure too low", "zbee_zcl_hvac.pump_config_control.attr.alarm.press_too_low", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PRESSURE_TOO_LOW, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_press_too_high, { "System pressure too high", "zbee_zcl_hvac.pump_config_control.attr.alarm.press_too_high", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PRESSURE_TOO_HIGH, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_dry_running, { "Dry running", "zbee_zcl_hvac.pump_config_control.attr.alarm.dry_running", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_DRY_RUNNING, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_mtr_temp_too_high, { "Motor temperature too high", "zbee_zcl_hvac.pump_config_control.attr.alarm.mtr_temp_too_high", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_MTR_TEMP_TOO_HIGH, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_pump_mtr_fatal_fail, { "Pump motor has fatal failure", "zbee_zcl_hvac.pump_config_control.attr.alarm.mtr_fatal_fail", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PUMP_MTR_FATAL_FAILURE, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_elec_temp_too_high, { "Electronic temperature too high", "zbee_zcl_hvac.pump_config_control.attr.alarm.elec_temp_too_high", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_ELEC_TEMP_TOO_HIGH, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_pump_block, { "Pump blocked", "zbee_zcl_hvac.pump_config_control.attr.alarm.pump_block", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_PUMP_BLOCK, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_sensor_fail, { "Sensor failure", "zbee_zcl_hvac.pump_config_control.attr.alarm.sensor_fail", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_SENSOR_FAILURE, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_elec_non_fatal_fail, { "Electronic non-fatal failure", "zbee_zcl_hvac.pump_config_control.attr.alarm.elec_non_fatal_fail", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_ELEC_NON_FATAL_FAILURE, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_fatal_fail, { "Electronic fatal failure", "zbee_zcl_hvac.pump_config_control.attr.alarm.elec_fatal_fail", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_ELEC_FATAL_FAILURE, NULL, HFILL } }, { &hf_zbee_zcl_pump_config_control_alarm_gen_fault, { "General fault", "zbee_zcl_hvac.pump_config_control.attr.alarm.gen_fault", FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), ZBEE_ZCL_PUMP_CONFIG_CONTROL_ALARM_GENERAL_FAULT, NULL, HFILL } } /* end Alarm Mask fields */ }; /* ZCL Pump Configuration and Control subtrees */ static gint *ett[ZBEE_ZCL_PUMP_CONFIG_CONTROL_NUM_ETT]; ett[0] = &ett_zbee_zcl_pump_config_control; ett[1] = &ett_zbee_zcl_pump_config_control_status; ett[2] = &ett_zbee_zcl_pump_config_control_alarm; /* Register the ZigBee ZCL Pump Configuration and Control cluster protocol name and description */ proto_zbee_zcl_pump_config_control = proto_register_protocol("ZigBee ZCL Pump Configuration and Control", "ZCL Pump Configuration and Control", ZBEE_PROTOABBREV_ZCL_PUMP_CONFIG_CTRL); proto_register_field_array(proto_zbee_zcl_pump_config_control, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Pump Configuration and Control dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_PUMP_CONFIG_CTRL, dissect_zbee_zcl_pump_config_control, proto_zbee_zcl_pump_config_control); } /*proto_register_zbee_zcl_pump_config_control*/ /** *Hands off the ZCL Pump Configuration and Control dissector. * */ void proto_reg_handoff_zbee_zcl_pump_config_control(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_PUMP_CONFIG_CTRL, proto_zbee_zcl_pump_config_control, ett_zbee_zcl_pump_config_control, ZBEE_ZCL_CID_PUMP_CONFIG_CONTROL, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_pump_config_control_attr_id, hf_zbee_zcl_pump_config_control_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_pump_config_control_attr_data ); } /*proto_reg_handoff_zbee_zcl_pump_config_control*/ /* ########################################################################## */ /* #### (0x0202) FAN CONTROL CLUSTER ######################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_FAN_CONTROL_NUM_ETT 1 /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_FAN_CONTROL_FAN_MODE 0x0000 /* Fan Mode */ #define ZBEE_ZCL_ATTR_ID_FAN_CONTROL_FAN_MODE_SEQUENCE 0x0001 /* Fan Mode Sequence */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_fan_control(void); void proto_reg_handoff_zbee_zcl_fan_control(void); /* Command Dissector Helpers */ static void dissect_zcl_fan_control_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_fan_control = -1; static int hf_zbee_zcl_fan_control_attr_id = -1; static int hf_zbee_zcl_fan_control_attr_fan_mode = -1; static int hf_zbee_zcl_fan_control_attr_fan_mode_seq = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_fan_control = -1; /* Attributes */ static const value_string zbee_zcl_fan_control_attr_names[] = { { ZBEE_ZCL_ATTR_ID_FAN_CONTROL_FAN_MODE, "Fan Mode" }, { ZBEE_ZCL_ATTR_ID_FAN_CONTROL_FAN_MODE_SEQUENCE, "Fan Mode Sequence" }, { 0, NULL } }; /*Fan Mode Sequence Values*/ static const value_string zbee_zcl_fan_control_fan_mode_seq_names[] = { { 0x00, "Low/Med/High" }, { 0x01, "Low/High" }, { 0x02, "Low/Med/High/Auto" }, { 0x03, "Low/High/Auto" }, { 0x04, "On/Auto" }, { 0, NULL} }; /*Fan Mode Values*/ static const value_string zbee_zcl_fan_control_fan_mode_names[] = { { 0x00, "Off" }, { 0x01, "Low" }, { 0x02, "Medium" }, { 0x03, "High" }, { 0x04, "On" }, { 0x05, "Auto" }, { 0x06, "Smart" }, { 0, NULL} }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Fan Control cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_fan_control(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_fan_control*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_fan_control_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_FAN_CONTROL_FAN_MODE: proto_tree_add_item(tree, hf_zbee_zcl_fan_control_attr_fan_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_FAN_CONTROL_FAN_MODE_SEQUENCE: proto_tree_add_item(tree, hf_zbee_zcl_fan_control_attr_fan_mode_seq, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_fan_control_attr_data*/ /** *ZigBee ZCL Fan Control cluster protocol registration routine. * */ void proto_register_zbee_zcl_fan_control(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_fan_control_attr_id, { "Attribute", "zbee_zcl_hvac.fan_control.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_fan_control_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_fan_control_attr_fan_mode, { "Fan Mode", "zbee_zcl_hvac.fan_control.attr.fan_mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_fan_control_fan_mode_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_fan_control_attr_fan_mode_seq, { "Fan Mode Sequence", "zbee_zcl_hvac.fan_control.attr.fan_mode_seq", FT_UINT8, BASE_HEX, VALS(zbee_zcl_fan_control_fan_mode_seq_names), 0x00, NULL, HFILL } } }; /* ZCL Fan Control subtrees */ static gint *ett[ZBEE_ZCL_FAN_CONTROL_NUM_ETT]; ett[0] = &ett_zbee_zcl_fan_control; /* Register the ZigBee ZCL Fan Control cluster protocol name and description */ proto_zbee_zcl_fan_control = proto_register_protocol("ZigBee ZCL Fan Control", "ZCL Fan Control", ZBEE_PROTOABBREV_ZCL_FAN_CONTROL); proto_register_field_array(proto_zbee_zcl_fan_control, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Fan Control dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_FAN_CONTROL, dissect_zbee_zcl_fan_control, proto_zbee_zcl_fan_control); } /*proto_register_zbee_zcl_fan_control*/ /** *Hands off the ZCL Fan Control dissector. * */ void proto_reg_handoff_zbee_zcl_fan_control(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_FAN_CONTROL, proto_zbee_zcl_fan_control, ett_zbee_zcl_fan_control, ZBEE_ZCL_CID_FAN_CONTROL, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_fan_control_attr_id, hf_zbee_zcl_fan_control_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_fan_control_attr_data ); } /*proto_reg_handoff_zbee_zcl_fan_control*/ /* ########################################################################## */ /* #### (0x0203) DEHUMIDIFICATION CONTROL CLUSTER ########################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_DEHUMIDIFICATION_CONTROL_NUM_ETT 1 /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY 0x0000 /* Relative Humidity */ #define ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_COOLING 0x0001 /* Dehumidification Cooling */ #define ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RH_DEHUM_SETPOINT 0x0010 /* Relative Humidity Dehumidification Setpoint */ #define ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY_MODE 0x0011 /* Relative Humidity Mode */ #define ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_LOCKOUT 0x0012 /* Dehumidification Lockout */ #define ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_HYSTERESIS 0x0013 /* Dehumidification Hysteresis */ #define ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_MAX_COOL 0x0014 /* Dehumidification Max Cool */ #define ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY_DISPLAY 0x0015 /* Relative Humidity Display */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_dehumidification_control(void); void proto_reg_handoff_zbee_zcl_dehumidification_control(void); /* Command Dissector Helpers */ static void dissect_zcl_dehumidification_control_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_dehumidification_control = -1; static int hf_zbee_zcl_dehumidification_control_attr_id = -1; static int hf_zbee_zcl_dehumidification_control_attr_rel_hum_mode = -1; static int hf_zbee_zcl_dehumidification_control_attr_dehum_lockout = -1; static int hf_zbee_zcl_dehumidification_control_attr_rel_hum_display = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_dehumidification_control = -1; /* Attributes */ static const value_string zbee_zcl_dehumidification_control_attr_names[] = { { ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY, "Relative Humidity" }, { ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_COOLING, "Dehumidification Cooling" }, { ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RH_DEHUM_SETPOINT, "Relative Humidity Dehumidification Setpoint" }, { ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY_MODE, "Relative Humidity Mode" }, { ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_LOCKOUT, "Dehumidification Lockout" }, { ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_HYSTERESIS, "Dehumidification Hysteresis" }, { ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_MAX_COOL, "Dehumidification Max Cool" }, { ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY_DISPLAY, "Relative Humidity Display" }, { 0, NULL } }; /*Relative Humidity Mode Values*/ static const value_string zbee_zcl_dehumidification_control_rel_hum_mode_names[] = { { 0x00, "Relative Humidity measured locally" }, { 0x01, "Relative Humidity updated over network" }, { 0, NULL} }; /*Dehumidification Lockout Values*/ static const value_string zbee_zcl_dehumidification_control_dehum_lockout_names[] = { { 0x00, "Dehumidification is not allowed" }, { 0x01, "Dehumidification is allowed" }, { 0, NULL} }; /*Relative Humidity Display Values*/ static const value_string zbee_zcl_dehumidification_control_rel_hum_display_names[] = { { 0x00, "Relative Humidity is not displayed" }, { 0x01, "Relative Humidity is displayed" }, { 0, NULL} }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Dehumidification Control cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_dehumidification_control(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb);; } /*dissect_zbee_zcl_dehumidification_control*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_dehumidification_control_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY_MODE: proto_tree_add_item(tree, hf_zbee_zcl_dehumidification_control_attr_rel_hum_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_LOCKOUT: proto_tree_add_item(tree, hf_zbee_zcl_dehumidification_control_attr_dehum_lockout, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY_DISPLAY: proto_tree_add_item(tree, hf_zbee_zcl_dehumidification_control_attr_rel_hum_display, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY: case ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_COOLING: case ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_RH_DEHUM_SETPOINT: case ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_HYSTERESIS: case ZBEE_ZCL_ATTR_ID_DEHUMIDIFICATION_CONTROL_DEHUM_MAX_COOL: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_dehumidification_control_attr_data*/ /** *ZigBee ZCL Dehumidification Control cluster protocol registration routine. * */ void proto_register_zbee_zcl_dehumidification_control(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_dehumidification_control_attr_id, { "Attribute", "zbee_zcl_hvac.dehumidification_control.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_dehumidification_control_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_dehumidification_control_attr_rel_hum_mode, { "Relative Humidity Mode", "zbee_zcl_hvac.dehumidification_control.attr.rel_humidity_mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_dehumidification_control_rel_hum_mode_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_dehumidification_control_attr_dehum_lockout, { "Dehumidification Lockout", "zbee_zcl_hvac.dehumidification_control.attr.dehumidification_lockout", FT_UINT8, BASE_HEX, VALS(zbee_zcl_dehumidification_control_dehum_lockout_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_dehumidification_control_attr_rel_hum_display, { "Relative Humidity Display", "zbee_zcl_hvac.dehumidification_control.attr.rel_humidity_display", FT_UINT8, BASE_HEX, VALS(zbee_zcl_dehumidification_control_rel_hum_display_names), 0x00, NULL, HFILL } } }; /* ZCL Dehumidification Control subtrees */ static gint *ett[ZBEE_ZCL_DEHUMIDIFICATION_CONTROL_NUM_ETT]; ett[0] = &ett_zbee_zcl_dehumidification_control; /* Register the ZigBee ZCL Dehumidification Control cluster protocol name and description */ proto_zbee_zcl_dehumidification_control = proto_register_protocol("ZigBee ZCL Dehumidification Control", "ZCL Dehumidification Control", ZBEE_PROTOABBREV_ZCL_DEHUMIDIFICATION_CONTROL); proto_register_field_array(proto_zbee_zcl_dehumidification_control, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Dehumidification Control dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_DEHUMIDIFICATION_CONTROL, dissect_zbee_zcl_dehumidification_control, proto_zbee_zcl_dehumidification_control); } /*proto_register_zbee_zcl_dehumidification_control*/ /** *Hands off the ZCL Dehumidification Control dissector. * */ void proto_reg_handoff_zbee_zcl_dehumidification_control(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_DEHUMIDIFICATION_CONTROL, proto_zbee_zcl_dehumidification_control, ett_zbee_zcl_dehumidification_control, ZBEE_ZCL_CID_DEHUMIDIFICATION_CONTROL, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_dehumidification_control_attr_id, hf_zbee_zcl_dehumidification_control_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_dehumidification_control_attr_data ); } /*proto_reg_handoff_zbee_zcl_dehumidification_control*/ /* ########################################################################## */ /* #### (0x0204) THERMOSTAT USER INTERFACE CONFIGURATION CLUSTER ############ */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_THERMOSTAT_UI_CONFIG_NUM_ETT 1 /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_UI_CONFIG_TEMP_DISP_MODE 0x0000 /* Temperature Display Mode */ #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_UI_CONFIG_KEYPAD_LOCKOUT 0x0001 /* Keypad Lockout */ /*Server commands received - none*/ /*Server commands generated - none*/ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_thermostat_ui_config(void); void proto_reg_handoff_zbee_zcl_thermostat_ui_config(void); /* Command Dissector Helpers */ static void dissect_zcl_thermostat_ui_config_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_thermostat_ui_config = -1; static int hf_zbee_zcl_thermostat_ui_config_attr_id = -1; static int hf_zbee_zcl_thermostat_ui_config_attr_temp_disp_mode = -1; static int hf_zbee_zcl_thermostat_ui_config_attr_keypad_lockout = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_thermostat_ui_config = -1; /* Attributes */ static const value_string zbee_zcl_thermostat_ui_config_attr_names[] = { { ZBEE_ZCL_ATTR_ID_THERMOSTAT_UI_CONFIG_TEMP_DISP_MODE, "Temperature Display Mode" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_UI_CONFIG_KEYPAD_LOCKOUT, "Keypad Lockout" }, { 0, NULL } }; /*Temp Display Mode Values*/ static const value_string zbee_zcl_thermostat_ui_config_temp_disp_mode_names[] = { { 0x00, "Temperature in degree Celsius" }, { 0x01, "Temperature in degree Fahrenheit" }, { 0, NULL} }; /*Keypad Lockout Values*/ static const value_string zbee_zcl_thermostat_ui_config_keypad_lockout_names[] = { { 0x00, "No lockout" }, { 0x01, "Level 1 lockout" }, { 0x02, "Level 2 lockout" }, { 0x03, "Level 3 lockout" }, { 0x04, "Level 4 lockout" }, { 0x05, "Level 5 lockout" }, { 0, NULL} }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Thermostat User Interface Configuration cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_thermostat_ui_config(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_thermostat_ui_config*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_thermostat_ui_config_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_THERMOSTAT_UI_CONFIG_TEMP_DISP_MODE: proto_tree_add_item(tree, hf_zbee_zcl_thermostat_ui_config_attr_temp_disp_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_THERMOSTAT_UI_CONFIG_KEYPAD_LOCKOUT: proto_tree_add_item(tree, hf_zbee_zcl_thermostat_ui_config_attr_keypad_lockout, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_thermostat_ui_config_attr_data*/ /** *ZigBee ZCL Thermostat User Interface Configuration cluster protocol registration routine. * */ void proto_register_zbee_zcl_thermostat_ui_config(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_thermostat_ui_config_attr_id, { "Attribute", "zbee_zcl_hvac.thermostat_ui_config.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_thermostat_ui_config_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_thermostat_ui_config_attr_temp_disp_mode, { "Temperature Display Mode", "zbee_zcl_hvac.thermostat_ui_config.attr.temp_disp_mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_thermostat_ui_config_temp_disp_mode_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_thermostat_ui_config_attr_keypad_lockout, { "Keypad Lockout", "zbee_zcl_hvac.thermostat_ui_config.attr.keypad_lockout", FT_UINT8, BASE_HEX, VALS(zbee_zcl_thermostat_ui_config_keypad_lockout_names), 0x00, NULL, HFILL } } }; /* ZCL Thermostat User Interface Configuration subtrees */ static gint *ett[ZBEE_ZCL_THERMOSTAT_UI_CONFIG_NUM_ETT]; ett[0] = &ett_zbee_zcl_thermostat_ui_config; /* Register the ZigBee ZCL Thermostat User Interface Configuration cluster protocol name and description */ proto_zbee_zcl_thermostat_ui_config = proto_register_protocol("ZigBee ZCL Thermostat User Interface Configuration", "ZCL Thermostat User Interface Configuration", ZBEE_PROTOABBREV_ZCL_THERMOSTAT_UI_CONFIG); proto_register_field_array(proto_zbee_zcl_thermostat_ui_config, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Thermostat User Interface Configuration dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_THERMOSTAT_UI_CONFIG, dissect_zbee_zcl_thermostat_ui_config, proto_zbee_zcl_thermostat_ui_config); } /*proto_register_zbee_zcl_thermostat_ui_config*/ /** *Hands off the ZCL Thermostat User Interface Configuration dissector. * */ void proto_reg_handoff_zbee_zcl_thermostat_ui_config(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_THERMOSTAT_UI_CONFIG, proto_zbee_zcl_thermostat_ui_config, ett_zbee_zcl_thermostat_ui_config, ZBEE_ZCL_CID_THERMOSTAT_UI_CONFIG, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_thermostat_ui_config_attr_id, hf_zbee_zcl_thermostat_ui_config_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_thermostat_ui_config_attr_data ); } /*proto_reg_handoff_zbee_zcl_thermostat_ui_config*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl-lighting.c
/* packet-zbee-zcl-lighting.c * Dissector routines for the ZigBee ZCL Lighting clusters * Color Control, Ballast Configuration * By Aditya Jain <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/to_str.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" /* ########################################################################## */ /* #### (0x0300) COLOR CONTROL CLUSTER ###################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_COLOR_CONTROL_NUM_ETT 3 #define ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_HS_MASK 0x0001 /* bit 0 */ #define ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_EHS_MASK 0x0002 /* bit 1 */ #define ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_LOOP_MASK 0x0004 /* bit 2 */ #define ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_XY_MASK 0x0008 /* bit 3 */ #define ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_CT_MASK 0x0010 /* bit 4 */ #define ZBEE_ZCL_COLOR_LOOP_UPDATE_ACTION_MASK 0x01 /* bit 0 */ #define ZBEE_ZCL_COLOR_LOOP_UPDATE_DIRECTION_MASK 0x02 /* bit 1 */ #define ZBEE_ZCL_COLOR_LOOP_UPDATE_TIME_MASK 0x04 /* bit 2 */ #define ZBEE_ZCL_COLOR_LOOP_UPDATE_START_HUE_MASK 0x08 /* bit 3 */ /* Attributes */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_HUE 0x0000 /* Current Hue */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_SATURATION 0x0001 /* Current Saturation */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_REMAINING_TIME 0x0002 /* Remaining Time */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_X 0x0003 /* Current X */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_Y 0x0004 /* Current Y */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_DRIFT_COMPENSATION 0x0005 /* Drift Compensation */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COMPENSATION_TEXT 0x0006 /* Compensation Text */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMP 0x0007 /* Color Temperature */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_MODE 0x0008 /* Color Mode */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_NO_OF_PRIMARIES 0x0010 /* Number of Primaries */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_X 0x0011 /* Primary 1X */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_Y 0x0012 /* Primary 1Y */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_INTENSITY 0x0013 /* Primary 1intensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_X 0x0015 /* Primary 2X */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_Y 0x0016 /* Primary 2Y */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_INTENSITY 0x0017 /* Primary 2intensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_X 0x0019 /* Primary 3X */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_Y 0x001a /* Primary 3Y */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_INTENSITY 0x001b /* Primary 3intensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_X 0x0020 /* Primary 4X */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_Y 0x0021 /* Primary 4Y */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_INTENSITY 0x0022 /* Primary 4intensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_X 0x0024 /* Primary 5X */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_Y 0x0025 /* Primary 5Y */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_INTENSITY 0x0026 /* Primary 5intensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_X 0x0028 /* Primary 6X */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_Y 0x0029 /* Primary 6Y */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_INTENSITY 0x002a /* Primary 6intensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_WHITE_POINT_X 0x0030 /* White Point X */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_WHITE_POINT_Y 0x0031 /* White Point Y */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_X 0x0032 /* Color Point RX */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_Y 0x0033 /* Color Point RY */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_INTENSITY 0x0034 /* Color Point Rintensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_X 0x0036 /* Color Point GX */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_Y 0x0037 /* Color Point GY */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_INTENSITY 0x0038 /* Color Point Gintensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_X 0x003a /* Color Point BX */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_Y 0x003b /* Color Point BY */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_INTENSITY 0x003c /* Color Point Bintensity */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_ENHANCED_CURRENT_HUE 0x4000 /* Enhanced Current Hue */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_ENHANCED_COLOR_MODE 0x4001 /* Enhanced Color Mode */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_ACTIVE 0x4002 /* Color Loop Active */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_DIRECTION 0x4003 /* Color Loop Direction */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_TIME 0x4004 /* Color Loop Time */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_START_ENH_HUE 0x4005 /* Color Loop Start Enhanced Hue */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_STORED_ENH_HUE 0x4006 /* Color Loop Stored Enhanced Hue */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_CAPABILITIES 0x400a /* Color Capabilities */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMPERATURE_PHYS_MIN 0x400b /* Color Temperature Physical Min */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMPERATURE_PHYS_MAX 0x400c /* Color Temperature Physical Max */ #define ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_STARTUP_COLOR_TEMPERATURE 0x4010 /* Startup Color Temperature */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_HUE 0x00 /* Move to Hue */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_HUE 0x01 /* Move Hue */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_HUE 0x02 /* Step Hue */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_SATURATION 0x03 /* Move to Saturation */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_SATURATION 0x04 /* Move Saturation */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_SATURATION 0x05 /* Step Saturation */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_HUE_AND_SATURATION 0x06 /* Move to Hue and Saturation */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_COLOR 0x07 /* Move to Color */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_COLOR 0x08 /* Move Color */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_COLOR 0x09 /* Step Color */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_COLOR_TEMP 0x0a /* Move to Color Temperature */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE 0x40 /* Enhanced Move to Hue */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_HUE 0x41 /* Enhanced Move Hue */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_STEP_HUE 0x42 /* Enhanced Step Hue */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE_AND_SATURATION 0x43 /* Enhanced Move to Hue and Saturation */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_COLOR_LOOP_SET 0x44 /* Color Loop Set */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STOP_MOVE_STEP 0x47 /* Stop Move Step */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_COLOR_TEMP 0x4b /* Move Color Temperature */ #define ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_COLOR_TEMP 0x4c /* Step Color Temperature */ #define ZBEE_ZCL_NORMAL_HUE FALSE #define ZBEE_ZCL_ENHANCED_HUE TRUE /* Server Commands Generated - None */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_color_control(void); void proto_reg_handoff_zbee_zcl_color_control(void); /* Command Dissector Helpers */ static void dissect_zcl_color_control_move_to_hue (tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced); static void dissect_zcl_color_control_move_hue_saturation (tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced); static void dissect_zcl_color_control_step_hue_saturation (tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced); static void dissect_zcl_color_control_move_to_saturation (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_color_control_move_to_hue_and_saturation (tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced); static void dissect_zcl_color_control_move_to_color (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_color_control_move_color (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_color_control_step_color (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_color_control_move_to_color_temp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_color_control_color_loop_set (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_color_control_move_color_temp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_color_control_step_color_temp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_color_control_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_color_control = -1; static int hf_zbee_zcl_color_control_attr_id = -1; static int hf_zbee_zcl_color_control_attr_current_hue = -1; static int hf_zbee_zcl_color_control_attr_current_saturation = -1; static int hf_zbee_zcl_color_control_attr_remaining_time = -1; static int hf_zbee_zcl_color_control_attr_color_x = -1; static int hf_zbee_zcl_color_control_attr_color_y = -1; static int hf_zbee_zcl_color_control_attr_drift_compensation = -1; static int hf_zbee_zcl_color_control_attr_color_temperature = -1; static int hf_zbee_zcl_color_control_attr_color_mode = -1; static int hf_zbee_zcl_color_control_attr_nr_of_primaries = -1; static int hf_zbee_zcl_color_control_attr_primary_1_x = -1; static int hf_zbee_zcl_color_control_attr_primary_1_y = -1; static int hf_zbee_zcl_color_control_attr_primary_1_intensity = -1; static int hf_zbee_zcl_color_control_attr_primary_2_x = -1; static int hf_zbee_zcl_color_control_attr_primary_2_y = -1; static int hf_zbee_zcl_color_control_attr_primary_2_intensity = -1; static int hf_zbee_zcl_color_control_attr_primary_3_x = -1; static int hf_zbee_zcl_color_control_attr_primary_3_y = -1; static int hf_zbee_zcl_color_control_attr_primary_3_intensity = -1; static int hf_zbee_zcl_color_control_attr_primary_4_x = -1; static int hf_zbee_zcl_color_control_attr_primary_4_y = -1; static int hf_zbee_zcl_color_control_attr_primary_4_intensity = -1; static int hf_zbee_zcl_color_control_attr_primary_5_x = -1; static int hf_zbee_zcl_color_control_attr_primary_5_y = -1; static int hf_zbee_zcl_color_control_attr_primary_5_intensity = -1; static int hf_zbee_zcl_color_control_attr_primary_6_x = -1; static int hf_zbee_zcl_color_control_attr_primary_6_y = -1; static int hf_zbee_zcl_color_control_attr_primary_6_intensity = -1; static int hf_zbee_zcl_color_control_attr_white_point_x = -1; static int hf_zbee_zcl_color_control_attr_white_point_y = -1; static int hf_zbee_zcl_color_control_attr_red_x = -1; static int hf_zbee_zcl_color_control_attr_red_y = -1; static int hf_zbee_zcl_color_control_attr_red_intensity = -1; static int hf_zbee_zcl_color_control_attr_green_x = -1; static int hf_zbee_zcl_color_control_attr_green_y = -1; static int hf_zbee_zcl_color_control_attr_green_intensity = -1; static int hf_zbee_zcl_color_control_attr_blue_x = -1; static int hf_zbee_zcl_color_control_attr_blue_y = -1; static int hf_zbee_zcl_color_control_attr_blue_intensity = -1; static int hf_zbee_zcl_color_control_attr_enhanced_current_hue = -1; static int hf_zbee_zcl_color_control_attr_enhanced_color_mode = -1; static int hf_zbee_zcl_color_control_attr_color_loop_active = -1; static int hf_zbee_zcl_color_control_attr_color_loop_direction = -1; static int hf_zbee_zcl_color_control_attr_color_loop_time = -1; static int hf_zbee_zcl_color_control_attr_color_loop_start_enhanced_hue = -1; static int hf_zbee_zcl_color_control_attr_color_loop_stored_enhanced_hue = -1; static int hf_zbee_zcl_color_control_attr_color_capabilities = -1; static int hf_zbee_zcl_color_control_attr_color_capabilities_hs = -1; static int hf_zbee_zcl_color_control_attr_color_capabilities_ehs = -1; static int hf_zbee_zcl_color_control_attr_color_capabilities_loop = -1; static int hf_zbee_zcl_color_control_attr_color_capabilities_xy = -1; static int hf_zbee_zcl_color_control_attr_color_capabilities_ct = -1; static int hf_zbee_zcl_color_control_attr_color_temperature_phys_min = -1; static int hf_zbee_zcl_color_control_attr_color_temperature_phys_max = -1; static int hf_zbee_zcl_color_control_attr_startup_color_temperature = -1; static int hf_zbee_zcl_color_control_hue = -1; static int hf_zbee_zcl_color_control_direction = -1; static int hf_zbee_zcl_color_control_transit_time = -1; static int hf_zbee_zcl_color_control_move_mode = -1; static int hf_zbee_zcl_color_control_rate = -1; static int hf_zbee_zcl_color_control_step_mode = -1; static int hf_zbee_zcl_color_control_step_size = -1; static int hf_zbee_zcl_color_control_transit_time_8bit = -1; static int hf_zbee_zcl_color_control_saturation = -1; static int hf_zbee_zcl_color_control_color_X = -1; static int hf_zbee_zcl_color_control_color_Y = -1; static int hf_zbee_zcl_color_control_rate_X = -1; static int hf_zbee_zcl_color_control_rate_Y = -1; static int hf_zbee_zcl_color_control_step_X = -1; static int hf_zbee_zcl_color_control_step_Y = -1; static int hf_zbee_zcl_color_control_color_temp = -1; static int hf_zbee_zcl_color_control_enhanced_hue = -1; static int hf_zbee_zcl_color_control_enhanced_rate = -1; static int hf_zbee_zcl_color_control_enhanced_step_size = -1; static int hf_zbee_zcl_color_control_color_loop_update_flags = -1; static int hf_zbee_zcl_color_control_color_loop_update_action = -1; static int hf_zbee_zcl_color_control_color_loop_update_direction = -1; static int hf_zbee_zcl_color_control_color_loop_update_time = -1; static int hf_zbee_zcl_color_control_color_loop_update_start_hue = -1; static int hf_zbee_zcl_color_control_color_loop_action = -1; static int hf_zbee_zcl_color_control_color_loop_direction = -1; static int hf_zbee_zcl_color_control_color_loop_time = -1; static int hf_zbee_zcl_color_control_color_loop_start_hue = -1; static int hf_zbee_zcl_color_control_color_temp_min = -1; static int hf_zbee_zcl_color_control_color_temp_max = -1; static int hf_zbee_zcl_color_control_srv_rx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_color_control = -1; static gint ett_zbee_zcl_color_control_color_capabilities = -1; static gint ett_zbee_zcl_color_control_color_loop_settings = -1; /* Attributes */ static const value_string zbee_zcl_color_control_attr_names[] = { { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_HUE, "Current Hue" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_SATURATION, "Current Saturation" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_REMAINING_TIME, "Remaining Time" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_X, "Current X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_Y, "Current Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_DRIFT_COMPENSATION, "Drift Compensation" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COMPENSATION_TEXT, "Compensation Text" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMP, "Color Temperature" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_MODE, "Color Mode" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_NO_OF_PRIMARIES, "Number of Primaries" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_X, "Primary 1 X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_Y, "Primary 1 Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_INTENSITY, "Primary 1 Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_X, "Primary 2 X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_Y, "Primary 2 Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_INTENSITY, "Primary 2 Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_X, "Primary 3 X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_Y, "Primary 3 Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_INTENSITY, "Primary 3 Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_X, "Primary 4 X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_Y, "Primary 4 Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_INTENSITY, "Primary 4 Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_X, "Primary 5 X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_Y, "Primary 5 Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_INTENSITY, "Primary 5 Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_X, "Primary 6 X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_Y, "Primary 6 Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_INTENSITY, "Primary 6 Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_WHITE_POINT_X, "White Point X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_WHITE_POINT_Y, "White Point Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_X, "Color Point Red X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_Y, "Color Point Red Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_INTENSITY, "Color Point Red Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_X, "Color Point Green X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_Y, "Color Point Green Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_INTENSITY, "Color Point Green Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_X, "Color Point Blue X" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_Y, "Color Point Blue Y" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_INTENSITY, "Color Point Blue Intensity" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_ENHANCED_CURRENT_HUE, "Enhanced Current Hue" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_ENHANCED_COLOR_MODE, "Enhanced Color Mode" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_ACTIVE, "Color Loop Active" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_DIRECTION, "Color Loop Direction" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_TIME, "Color Loop Time" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_START_ENH_HUE, "Color Loop Start Enhanced Hue" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_STORED_ENH_HUE, "Color Loop Stored Enhanced Hue" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_CAPABILITIES, "Color Capabilities" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMPERATURE_PHYS_MIN, "Color Temperature Physical Min" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMPERATURE_PHYS_MAX, "Color Temperature Physical Max" }, { ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_STARTUP_COLOR_TEMPERATURE, "Startup Color Temperature" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_color_control_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_HUE, "Move to Hue" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_HUE, "Move Hue" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_HUE, "Step Hue" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_SATURATION, "Move to Saturation" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_SATURATION, "Move Saturation" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_SATURATION, "Step Saturation" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_HUE_AND_SATURATION, "Move to Hue and Saturation" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_COLOR, "Move to Color" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_COLOR, "Move Color" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_COLOR, "Step Color" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_COLOR_TEMP, "Move to Color Temperature" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE, "Enhanced Move to Hue" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_HUE, "Enhanced Move Hue" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_STEP_HUE, "Enhanced Step Hue" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE_AND_SATURATION, "Enhanced Move to Hue and Saturation" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_COLOR_LOOP_SET, "Color Loop Set" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STOP_MOVE_STEP, "Stop Move Step" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_COLOR_TEMP, "Move Color Temperature" }, { ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_COLOR_TEMP, "Step Color Temperature" }, { 0, NULL } }; /* Drift Compensation Values */ static const value_string zbee_zcl_color_control_drift_compensation_values[] = { { 0x00, "None" }, { 0x01, "Other/Unknown" }, { 0x02, "Temperature monitoring" }, { 0x03, "Optical Luminance Monitoring and Feedback" }, { 0x04, "Optical Color Monitoring and Feedback" }, { 0, NULL } }; /* Color Mode Values */ static const value_string zbee_zcl_color_control_color_mode_values[] = { { 0x00, "Hue and Saturation" }, { 0x01, "Color X and Y" }, { 0x02, "Color Temperature" }, { 0x03, "Enhanced Hue and Saturation" }, { 0, NULL } }; /* Color Loop Directions */ static const value_string zbee_zcl_color_control_color_loop_direction_values[] = { { 0x00, "Hue is Decrementing" }, { 0x01, "Hue is Incrementing" }, { 0, NULL } }; /* Direction Values */ static const value_string zbee_zcl_color_control_direction_values[] = { { 0x00, "Shortest Distance" }, { 0x01, "Longest Distance" }, { 0x02, "Up" }, { 0x03, "Down" }, { 0, NULL } }; /* Move Mode Values */ static const value_string zbee_zcl_color_control_move_mode[] = { { 0x00, "Stop" }, { 0x01, "Up" }, { 0x02, "Reserved" }, { 0x03, "Down" }, { 0, NULL } }; /* Step Mode Values */ static const value_string zbee_zcl_color_control_step_mode[] = { { 0x00, "Reserved" }, { 0x01, "Up" }, { 0x02, "Reserved" }, { 0x03, "Down" }, { 0, NULL } }; /* Move Mode Values */ static const value_string zbee_zcl_color_control_action[] = { { 0x00, "De-activate" }, { 0x01, "Activate from the value in the ColorLoopStartEnhancedHue field" }, { 0x02, "Activate from the value of the EnhancedCurrentHue attribute" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Color Control cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_color_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_color_control_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_color_control, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_HUE: dissect_zcl_color_control_move_to_hue(tvb, payload_tree, &offset, ZBEE_ZCL_NORMAL_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_HUE: dissect_zcl_color_control_move_hue_saturation(tvb, payload_tree, &offset, ZBEE_ZCL_NORMAL_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_HUE: dissect_zcl_color_control_step_hue_saturation(tvb, payload_tree, &offset, ZBEE_ZCL_NORMAL_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_SATURATION: dissect_zcl_color_control_move_to_saturation(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_SATURATION: dissect_zcl_color_control_move_hue_saturation(tvb, payload_tree, &offset, ZBEE_ZCL_NORMAL_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_SATURATION: dissect_zcl_color_control_step_hue_saturation(tvb, payload_tree, &offset, ZBEE_ZCL_NORMAL_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_HUE_AND_SATURATION: dissect_zcl_color_control_move_to_hue_and_saturation(tvb, payload_tree, &offset, ZBEE_ZCL_NORMAL_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_COLOR: dissect_zcl_color_control_move_to_color(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_COLOR: dissect_zcl_color_control_move_color(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_COLOR: dissect_zcl_color_control_step_color(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_TO_COLOR_TEMP: dissect_zcl_color_control_move_to_color_temp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE: dissect_zcl_color_control_move_to_hue(tvb, payload_tree, &offset, ZBEE_ZCL_ENHANCED_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_HUE: dissect_zcl_color_control_move_hue_saturation(tvb, payload_tree, &offset, ZBEE_ZCL_ENHANCED_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_STEP_HUE: dissect_zcl_color_control_step_hue_saturation(tvb, payload_tree, &offset, ZBEE_ZCL_ENHANCED_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE_AND_SATURATION: dissect_zcl_color_control_move_to_hue_and_saturation(tvb, payload_tree, &offset, ZBEE_ZCL_ENHANCED_HUE); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_COLOR_LOOP_SET: dissect_zcl_color_control_color_loop_set(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_MOVE_COLOR_TEMP: dissect_zcl_color_control_move_color_temp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STEP_COLOR_TEMP: dissect_zcl_color_control_step_color_temp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_COLOR_CONTROL_STOP_MOVE_STEP: default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_color_control*/ /** *This function decodes the Add Group or Add Group If * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_move_to_hue(tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced) { /* Retrieve "Hue" field */ if (enhanced) { proto_tree_add_item(tree, hf_zbee_zcl_color_control_enhanced_hue, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } else { proto_tree_add_item(tree, hf_zbee_zcl_color_control_hue, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /* Retrieve "Direction" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_direction, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_move_to_hue*/ /** *This function decodes the Move Hue and Move Saturation payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_move_hue_saturation(tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced) { /* Retrieve "Move Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_move_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Rate" field */ if (enhanced) { proto_tree_add_item(tree, hf_zbee_zcl_color_control_enhanced_rate, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } else { proto_tree_add_item(tree, hf_zbee_zcl_color_control_rate, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } } /*dissect_zcl_color_control_move_hue_saturation*/ /** *This function decodes the Step Hue and Step Saturation payload * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_step_hue_saturation(tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced) { /* Retrieve "Step Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_step_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Step Size" field */ if (enhanced) { proto_tree_add_item(tree, hf_zbee_zcl_color_control_enhanced_step_size, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } else { proto_tree_add_item(tree, hf_zbee_zcl_color_control_step_size, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_transit_time_8bit, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_color_control_step_hue_saturation*/ /** *This function decodes the Move to Saturation payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_move_to_saturation(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Saturation" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_saturation, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_move_to_saturation*/ /** *This function decodes the Move to Hue and Saturation payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_move_to_hue_and_saturation(tvbuff_t *tvb, proto_tree *tree, guint *offset, gboolean enhanced) { /* Retrieve "Hue" field */ if (enhanced) { proto_tree_add_item(tree, hf_zbee_zcl_color_control_enhanced_hue, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } else { proto_tree_add_item(tree, hf_zbee_zcl_color_control_hue, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /* Retrieve "Saturation" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_saturation, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_move_to_hue_and_saturation*/ /** *This function decodes the Move to Color payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_move_to_color(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Color X" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_X, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Color Y" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_Y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_move_to_color*/ /** *This function decodes the Move Color payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_move_color(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Rate X" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_rate_X, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Rate Y" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_rate_Y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_move_color*/ /** *This function decodes the Step Color payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_step_color(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Step X" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_step_X, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Step Y" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_step_Y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_step_color*/ /** *This function decodes the Move to Color Temperature payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_move_to_color_temp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Color Temperature" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_temp, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Transition Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_move_to_color_temp*/ /** *This function decodes the Color Loop Set payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_color_loop_set(tvbuff_t *tvb, proto_tree *tree, guint *offset) { static int * const color_loop_update_fields[] = { &hf_zbee_zcl_color_control_color_loop_update_action, &hf_zbee_zcl_color_control_color_loop_update_direction, &hf_zbee_zcl_color_control_color_loop_update_time, &hf_zbee_zcl_color_control_color_loop_update_start_hue, NULL }; /* Retrieve "Update Flags" field */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_color_control_color_loop_update_flags, ett_zbee_zcl_color_control_color_loop_settings, color_loop_update_fields, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Action" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_loop_action, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Direction" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_loop_direction, tvb, *offset, 1, ENC_NA); *offset += 1; /* Retrieve "Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_loop_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Start Hue" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_loop_start_hue, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_color_loop_set*/ /** *This function decodes the Move Color Temperature payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_move_color_temp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Move Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_move_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Rate" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_enhanced_rate, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Color Temperature Min" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_temp_min, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Color Temperature Max" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_temp_max, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_move_color_temp*/ /** *This function decodes the Step Color Temperature payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_color_control_step_color_temp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Step Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_step_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Step" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_enhanced_step_size, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Time" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_transit_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Color Temperature Min" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_temp_min, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "Color Temperature Max" field */ proto_tree_add_item(tree, hf_zbee_zcl_color_control_color_temp_max, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_color_control_step_color_temp*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_color_xy * DESCRIPTION * this function decodes color xy values * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_color_xy(gchar *s, guint16 value) { snprintf(s, ITEM_LABEL_LENGTH, "%.4lf", value/65535.0); return; } /*decode_power_conf_voltage*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_color_temperature * DESCRIPTION * this function decodes color temperature values * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_color_temperature(gchar *s, guint16 value) { if (value == 0) { snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired]", value); } else { snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired] (%u [K])", value, 1000000/value); } return; } /*decode_color_temperature*/ /*FUNCTION:------------------------------------------------------ * NAME * decode_startup_color_temperature * DESCRIPTION * this function decodes color temperature values * PARAMETERS * guint *s - string to display * guint16 value - value to decode * RETURNS * none *--------------------------------------------------------------- */ static void decode_startup_color_temperature(gchar *s, guint16 value) { if (value == 0xffff) { snprintf(s, ITEM_LABEL_LENGTH, "Set the Color Temperature attribute to its previous value"); } else { decode_color_temperature(s, value); } return; } /*decode_startup_color_temperature*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_color_control_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const capabilities_fields[] = { &hf_zbee_zcl_color_control_attr_color_capabilities_hs, &hf_zbee_zcl_color_control_attr_color_capabilities_ehs, &hf_zbee_zcl_color_control_attr_color_capabilities_loop, &hf_zbee_zcl_color_control_attr_color_capabilities_xy, &hf_zbee_zcl_color_control_attr_color_capabilities_ct, NULL }; /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_HUE: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_current_hue, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_SATURATION: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_current_saturation, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_REMAINING_TIME: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_remaining_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_CURRENT_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_DRIFT_COMPENSATION: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_drift_compensation, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMP: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_temperature, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_MODE: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_NO_OF_PRIMARIES: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_nr_of_primaries, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_1_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_1_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_1_INTENSITY: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_1_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_2_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_2_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_2_INTENSITY: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_2_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_3_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_3_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_3_INTENSITY: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_3_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_4_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_4_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_4_INTENSITY: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_4_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_5_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_5_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_5_INTENSITY: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_5_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_6_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_6_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_PRIMARY_6_INTENSITY: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_primary_6_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_WHITE_POINT_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_white_point_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_WHITE_POINT_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_white_point_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_red_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_red_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_R_INTENSITY: proto_tree_add_item(tree,hf_zbee_zcl_color_control_attr_red_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_green_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_green_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_G_INTENSITY: proto_tree_add_item(tree,hf_zbee_zcl_color_control_attr_green_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_X: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_blue_x, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_Y: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_blue_y, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_POINT_B_INTENSITY: proto_tree_add_item(tree,hf_zbee_zcl_color_control_attr_blue_intensity, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_ENHANCED_CURRENT_HUE: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_enhanced_current_hue, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_ENHANCED_COLOR_MODE: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_enhanced_color_mode, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_ACTIVE: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_loop_active, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_DIRECTION: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_loop_direction, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_TIME: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_loop_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_START_ENH_HUE: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_loop_start_enhanced_hue, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_LOOP_STORED_ENH_HUE: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_loop_stored_enhanced_hue, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_CAPABILITIES: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_color_control_attr_color_capabilities, ett_zbee_zcl_color_control_color_capabilities, capabilities_fields, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMPERATURE_PHYS_MIN: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_temperature_phys_min, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COLOR_TEMPERATURE_PHYS_MAX: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_color_temperature_phys_max, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_STARTUP_COLOR_TEMPERATURE: proto_tree_add_item(tree, hf_zbee_zcl_color_control_attr_startup_color_temperature, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_COLOR_CONTROL_COMPENSATION_TEXT: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_color_control_attr_data*/ /** *ZigBee ZCL Color Control cluster protocol registration routine. * */ void proto_register_zbee_zcl_color_control(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_color_control_attr_id, { "Attribute", "zbee_zcl_lighting.color_control.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_color_control_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_current_hue, { "Hue", "zbee_zcl_lighting.color_control.attr.current_hue", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_current_saturation, { "Saturation", "zbee_zcl_lighting.color_control.attr.current_saturation", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_remaining_time, { "Time", "zbee_zcl_lighting.color_control.attr.remaining_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_x, { "X", "zbee_zcl_lighting.color_control.attr.color_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_y, { "Y", "zbee_zcl_lighting.color_control.attr.color_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_drift_compensation, { "Drift Compensation", "zbee_zcl_lighting.color_control.attr.drift_compensation", FT_UINT8, BASE_HEX, VALS(zbee_zcl_color_control_drift_compensation_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_temperature, { "Color Temperature", "zbee_zcl_lighting.color_control.attr.color_temperature", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_temperature), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_mode, { "Color Mode", "zbee_zcl_lighting.color_control.attr.color_mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_color_control_color_mode_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_nr_of_primaries, { "Number", "zbee_zcl_lighting.color_control.attr.nr_of_primaries", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_1_x, { "X", "zbee_zcl_lighting.color_control.attr.primary_1_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_1_y, { "Y", "zbee_zcl_lighting.color_control.attr.primary_1_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_1_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.primary_1_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_2_x, { "X", "zbee_zcl_lighting.color_control.attr.primary_2_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_2_y, { "Y", "zbee_zcl_lighting.color_control.attr.primary_2_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_2_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.primary_2_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_3_x, { "X", "zbee_zcl_lighting.color_control.attr.primary_3_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_3_y, { "Y", "zbee_zcl_lighting.color_control.attr.primary_3_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_3_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.primary_3_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_4_x, { "X", "zbee_zcl_lighting.color_control.attr.primary_4_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_4_y, { "Y", "zbee_zcl_lighting.color_control.attr.primary_4_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_4_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.primary_4_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_5_x, { "X", "zbee_zcl_lighting.color_control.attr.primary_5_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_5_y, { "Y", "zbee_zcl_lighting.color_control.attr.primary_5_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_5_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.primary_5_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_6_x, { "X", "zbee_zcl_lighting.color_control.attr.primary_6_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_6_y, { "Y", "zbee_zcl_lighting.color_control.attr.primary_6_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_primary_6_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.primary_6_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_white_point_x, { "X", "zbee_zcl_lighting.color_control.attr.white_point_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_white_point_y, { "Y", "zbee_zcl_lighting.color_control.attr.white_point_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_red_x, { "X", "zbee_zcl_lighting.color_control.attr.red_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_red_y, { "Y", "zbee_zcl_lighting.color_control.attr.red_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_red_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.red_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_green_x, { "X", "zbee_zcl_lighting.color_control.attr.green_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_green_y, { "Y", "zbee_zcl_lighting.color_control.attr.green_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_green_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.green_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_blue_x, { "X", "zbee_zcl_lighting.color_control.attr.blue_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_blue_y, { "Y", "zbee_zcl_lighting.color_control.attr.blue_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_blue_intensity, { "Intensity", "zbee_zcl_lighting.color_control.attr.blue_intensity", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_enhanced_current_hue, { "Enhanced Hue", "zbee_zcl_lighting.color_control.attr.enhanced_current_hue", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_enhanced_color_mode, { "Enhanced Color Mode", "zbee_zcl_lighting.color_control.attr.enhanced_color_mode", FT_UINT8, BASE_DEC, VALS(zbee_zcl_color_control_color_mode_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_loop_active, { "Active", "zbee_zcl_lighting.color_control.attr.color_loop_active", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_loop_direction, { "Direction", "zbee_zcl_lighting.color_control.attr.color_loop_direction", FT_UINT8, BASE_DEC, VALS(zbee_zcl_color_control_color_loop_direction_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_loop_time, { "Time", "zbee_zcl_lighting.color_control.attr.color_loop_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_seconds), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_loop_start_enhanced_hue, { "Enhanced Hue", "zbee_zcl_lighting.color_control.attr.color_loop_start_enhanced_hue", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_loop_stored_enhanced_hue, { "Enhanced Hue", "zbee_zcl_lighting.color_control.attr.color_loop_stored_enhanced_hue", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_capabilities, { "Capabilities", "zbee_zcl_lighting.color_control.attr.color_capabilities", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_capabilities_hs, { "Support Hue and Saturation", "zbee_zcl_lighting.color_control.attr.color_capabilities.hue_saturation", FT_UINT16, BASE_DEC, NULL, ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_HS_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_capabilities_ehs, { "Support Enhanced Hue and Saturation", "zbee_zcl_lighting.color_control.attr.color_capabilities.enhanced_hue_saturation", FT_UINT16, BASE_DEC, NULL, ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_EHS_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_capabilities_loop, { "Support Color Loop", "zbee_zcl_lighting.color_control.attr.color_capabilities.color_loop", FT_UINT16, BASE_DEC, NULL, ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_LOOP_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_capabilities_xy, { "Support Color XY", "zbee_zcl_lighting.color_control.attr.color_capabilities.color_xy", FT_UINT16, BASE_DEC, NULL, ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_XY_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_capabilities_ct, { "Support Color Temperature", "zbee_zcl_lighting.color_control.attr.color_capabilities.color_temperature", FT_UINT16, BASE_DEC, NULL, ZBEE_ZCL_COLOR_CAPABILITIES_SUPPORT_CT_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_temperature_phys_min, { "Color Temperature", "zbee_zcl_lighting.color_control.attr.color_temperature_physical_min", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_temperature), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_color_temperature_phys_max, { "Color Temperature", "zbee_zcl_lighting.color_control.attr.color_temperature_physical_max", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_temperature), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_attr_startup_color_temperature, { "Startup Color Temperature", "zbee_zcl_lighting.color_control.attr.startup_color_temperature", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_startup_color_temperature), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_hue, { "Hue", "zbee_zcl_lighting.color_control.hue", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_direction, { "Direction", "zbee_zcl_lighting.color_control.direction", FT_UINT8, BASE_DEC, VALS(zbee_zcl_color_control_direction_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_transit_time, { "Transition Time", "zbee_zcl_lighting.color_control.transit_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_move_mode, { "Move Mode", "zbee_zcl_lighting.color_control.move_mode", FT_UINT8, BASE_DEC, VALS(zbee_zcl_color_control_move_mode), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_rate, { "Rate", "zbee_zcl_lighting.color_control.rate", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_step_mode, { "Step Mode", "zbee_zcl_lighting.color_control.step_mode", FT_UINT8, BASE_DEC, VALS(zbee_zcl_color_control_step_mode), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_step_size, { "Step Size", "zbee_zcl_lighting.color_control.step_size", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_transit_time_8bit, { "Transition Time", "zbee_zcl_lighting.color_control.transition_time_8bit", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_100ms), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_saturation, { "Saturation", "zbee_zcl_lighting.color_control.saturation", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_color_X, { "Color X", "zbee_zcl_lighting.color_control.color_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_color_Y, { "Color Y", "zbee_zcl_lighting.color_control.color_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_rate_X, { "Rate X", "zbee_zcl_lighting.color_control.rate_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_rate_Y, { "Rate Y", "zbee_zcl_lighting.color_control.rate_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_step_X, { "Step X", "zbee_zcl_lighting.color_control.step_x", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_step_Y, { "Step Y", "zbee_zcl_lighting.color_control.step_y", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_xy), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_color_temp, { "Color temperature", "zbee_zcl_lighting.color_control.color_temp", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_temperature), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_enhanced_hue, { "Enhanced Hue", "zbee_zcl_lighting.color_control.enhanced_hue", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_enhanced_rate, { "Enhanced Rate", "zbee_zcl_lighting.color_control.enhanced_rate", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_enhanced_step_size, { "Enhanced Step Size", "zbee_zcl_lighting.color_control.enhanced_step_size", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_color_loop_update_flags, { "Update Flags", "zbee_zcl_lighting.color_control.color_loop_update", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_color_loop_update_action, { "Update Action", "zbee_zcl_lighting.color_control.color_loop_update.action", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_COLOR_LOOP_UPDATE_ACTION_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_color_loop_update_direction, { "Update Direction", "zbee_zcl_lighting.color_control.color_loop_update.direction", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_COLOR_LOOP_UPDATE_DIRECTION_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_color_loop_update_time, { "Update Time", "zbee_zcl_lighting.color_control.color_loop_update.time", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_COLOR_LOOP_UPDATE_TIME_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_color_loop_update_start_hue, { "Update Start Hue", "zbee_zcl_lighting.color_control.color_loop_update.start_hue", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_COLOR_LOOP_UPDATE_START_HUE_MASK, NULL, HFILL } }, { &hf_zbee_zcl_color_control_color_loop_action, { "Action", "zbee_zcl_lighting.color_control.color_loop_action", FT_UINT8, BASE_DEC, VALS(zbee_zcl_color_control_action), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_color_loop_direction, { "Direction", "zbee_zcl_lighting.color_control.color_loop_direction", FT_UINT8, BASE_DEC, VALS(zbee_zcl_color_control_color_loop_direction_values), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_color_loop_time, { "Time", "zbee_zcl_lighting.color_control.color_loop_time", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_time_in_seconds), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_color_loop_start_hue, { "Enhanced Hue", "zbee_zcl_lighting.color_control.color_loop_start_hue", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_color_control_color_temp_min, { "Color Temperature Minimum Mired", "zbee_zcl_lighting.color_control.color_temp_min", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_temperature), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_color_temp_max, { "Color Temperature Maximum Mired", "zbee_zcl_lighting.color_control.color_temp_max", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_color_temperature), 0x00, NULL, HFILL }}, { &hf_zbee_zcl_color_control_srv_rx_cmd_id, { "Command", "zbee_zcl_lighting.color_control.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_color_control_srv_rx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL Color Control subtrees */ static gint *ett[ZBEE_ZCL_COLOR_CONTROL_NUM_ETT]; ett[0] = &ett_zbee_zcl_color_control; ett[1] = &ett_zbee_zcl_color_control_color_capabilities; ett[2] = &ett_zbee_zcl_color_control_color_loop_settings; /* Register the ZigBee ZCL Color Control cluster protocol name and description */ proto_zbee_zcl_color_control = proto_register_protocol("ZigBee ZCL Color Control", "ZCL Color Control", ZBEE_PROTOABBREV_ZCL_COLOR_CONTROL); proto_register_field_array(proto_zbee_zcl_color_control, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Color Control dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_COLOR_CONTROL, dissect_zbee_zcl_color_control, proto_zbee_zcl_color_control); } /*proto_register_zbee_zcl_color_control*/ /** *Hands off the ZCL Color Control dissector. * */ void proto_reg_handoff_zbee_zcl_color_control(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_COLOR_CONTROL, proto_zbee_zcl_color_control, ett_zbee_zcl_color_control, ZBEE_ZCL_CID_COLOR_CONTROL, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_color_control_attr_id, hf_zbee_zcl_color_control_attr_id, hf_zbee_zcl_color_control_srv_rx_cmd_id, -1, (zbee_zcl_fn_attr_data)dissect_zcl_color_control_attr_data ); } /*proto_reg_handoff_zbee_zcl_color_control*/ /* ########################################################################## */ /* #### (0x0300) BALLAST CONFIGURATION CLUSTER ############################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_BALLAST_CONFIGURATION_NUM_ETT 3 /*Attributes*/ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_PHYSICAL_MIN_LEVEL 0x0000 /* Physical Min Level */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_PHYSICAL_MAX_LEVEL 0x0001 /* Physical Max Level */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_BALLAST_STATUS 0x0002 /* Ballast Status */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_MIN_LEVEL 0x0010 /* Min Level */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_MAX_LEVEL 0x0011 /* Max Level */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_POWER_ON_LEVEL 0x0012 /* Power On Level */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_POWER_ON_FADE_TIME 0x0013 /* Power On Fade Time */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_INTRINSIC_BALLAST_FACTOR 0x0014 /* Intrinsic Ballast Factor */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_BALLAST_FACT_ADJ 0x0015 /* Ballast Factor Adjustment */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_QUANTITY 0x0020 /* Lamp Quantity */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_TYPE 0x0030 /* Lamp Type */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_MANUFACTURER 0x0031 /* Lamp Manufacturer */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_RATED_HOURS 0x0032 /* Lamp Rated Hours */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_BURN_HOURS 0x0033 /* Lamp Burn Hours */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_ALARM_MODE 0x0034 /* Lamp Alarm Mode */ #define ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_BURN_HOURS_TRIP_POINT 0x0035 /* Lamp Burn Hours Trip Point */ /*Server commands received - none*/ /*Server commands generated - none*/ /*Ballast Status Mask Values*/ #define ZBEE_ZCL_BALLAST_CONFIGURATION_STATUS_NON_OPERATIONAL 0x01 /* Non-operational */ #define ZBEE_ZCL_BALLAST_CONFIGURATION_STATUS_LAMP_NOT_IN_SOCKET 0x02 /* Lamp Not in Socket */ /*Lamp Alarm Mode Mask Value*/ #define ZBEE_ZCL_BALLAST_CONFIGURATION_LAMP_ALARM_MODE_LAMP_BURN_HOURS 0x01 /* Lamp Burn Hours */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_ballast_configuration(void); void proto_reg_handoff_zbee_zcl_ballast_configuration(void); /* Command Dissector Helpers */ static void dissect_zcl_ballast_configuration_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_ballast_configuration = -1; static int hf_zbee_zcl_ballast_configuration_attr_id = -1; static int hf_zbee_zcl_ballast_configuration_status = -1; static int hf_zbee_zcl_ballast_configuration_status_non_operational = -1; static int hf_zbee_zcl_ballast_configuration_status_lamp_not_in_socket = -1; static int hf_zbee_zcl_ballast_configuration_lamp_alarm_mode = -1; static int hf_zbee_zcl_ballast_configuration_lamp_alarm_mode_lamp_burn_hours = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_ballast_configuration = -1; static gint ett_zbee_zcl_ballast_configuration_status = -1; static gint ett_zbee_zcl_ballast_configuration_lamp_alarm_mode = -1; /* Attributes */ static const value_string zbee_zcl_ballast_configuration_attr_names[] = { { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_PHYSICAL_MIN_LEVEL, "Physical Min Level" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_PHYSICAL_MAX_LEVEL, "Physical Max Level" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_BALLAST_STATUS, "Ballast Status" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_MIN_LEVEL, "Min Level" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_MAX_LEVEL, "Max Level" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_POWER_ON_LEVEL, "Power On Level" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_POWER_ON_FADE_TIME, "Power On Fade Time" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_INTRINSIC_BALLAST_FACTOR, "Intrinsic Ballast Factor" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_BALLAST_FACT_ADJ, "Ballast Factor Adjustment" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_QUANTITY, "Lamp Quantity" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_TYPE, "Lamp Type" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_MANUFACTURER, "Lamp Manufacturer" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_RATED_HOURS, "Lamp Rated Hours" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_BURN_HOURS, "Lamp Burn Hours" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_ALARM_MODE, "Lamp Alarm Mode" }, { ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_BURN_HOURS_TRIP_POINT, "Lamp Burn Hours Trip Point" }, { 0, NULL } }; /*Non-operational Values*/ static const value_string zbee_zcl_ballast_configuration_status_non_operational_names[] = { {0, "Fully Operational"}, {1, "Not Fully Operational"}, {0, NULL} }; /*Not in Socket Values*/ static const value_string zbee_zcl_ballast_configuration_status_lamp_not_in_socket_names[] = { {0, "All lamps in Socket"}, {1, "At least one lamp not in Socket"}, {0, NULL} }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Ballast Configuration cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_ballast_configuration(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_ballast_configuration*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_ballast_configuration_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const ballast_status[] = { &hf_zbee_zcl_ballast_configuration_status_non_operational, &hf_zbee_zcl_ballast_configuration_status_lamp_not_in_socket, NULL }; static int * const lamp_alarm_mode[] = { &hf_zbee_zcl_ballast_configuration_lamp_alarm_mode_lamp_burn_hours, NULL }; /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_BALLAST_STATUS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_ballast_configuration_status, ett_zbee_zcl_ballast_configuration_status, ballast_status, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_ALARM_MODE: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_ballast_configuration_lamp_alarm_mode, ett_zbee_zcl_ballast_configuration_lamp_alarm_mode, lamp_alarm_mode, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_PHYSICAL_MIN_LEVEL: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_PHYSICAL_MAX_LEVEL: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_MIN_LEVEL: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_MAX_LEVEL: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_POWER_ON_LEVEL: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_POWER_ON_FADE_TIME: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_INTRINSIC_BALLAST_FACTOR: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_BALLAST_FACT_ADJ: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_QUANTITY: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_TYPE: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_MANUFACTURER: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_RATED_HOURS: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_BURN_HOURS: case ZBEE_ZCL_ATTR_ID_BALLAST_CONFIGURATION_LAMP_BURN_HOURS_TRIP_POINT: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_ballast_configuration_attr_data*/ /** *ZigBee ZCL Ballast Configuration cluster protocol registration routine. * */ void proto_register_zbee_zcl_ballast_configuration(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_ballast_configuration_attr_id, { "Attribute", "zbee_zcl_lighting.ballast_configuration.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_ballast_configuration_attr_names), 0x00, NULL, HFILL } }, /* start Ballast Status fields */ { &hf_zbee_zcl_ballast_configuration_status, { "Status", "zbee_zcl_lighting.ballast_configuration.attr.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ballast_configuration_status_non_operational, { "Non-operational", "zbee_zcl_lighting.ballast_configuration.attr.status.non_operational", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ballast_configuration_status_non_operational_names), ZBEE_ZCL_BALLAST_CONFIGURATION_STATUS_NON_OPERATIONAL, NULL, HFILL } }, { &hf_zbee_zcl_ballast_configuration_status_lamp_not_in_socket, { "Not in Socket", "zbee_zcl_lighting.ballast_configuration.attr.status.not_in_socket", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ballast_configuration_status_lamp_not_in_socket_names), ZBEE_ZCL_BALLAST_CONFIGURATION_STATUS_LAMP_NOT_IN_SOCKET, NULL, HFILL } }, /* end Ballast Status fields */ /*stat Lamp Alarm Mode fields*/ { &hf_zbee_zcl_ballast_configuration_lamp_alarm_mode, { "Lamp Alarm Mode", "zbee_zcl_lighting.ballast_configuration.attr.lamp_alarm_mode", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ballast_configuration_lamp_alarm_mode_lamp_burn_hours, { "Lamp Burn Hours", "zbee_zcl_lighting.ballast_configuration.attr.lamp_alarm_mode.lamp_burn_hours", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_BALLAST_CONFIGURATION_LAMP_ALARM_MODE_LAMP_BURN_HOURS, NULL, HFILL } } /* end Lamp Alarm Mode fields */ }; /* ZCL Ballast Configuration subtrees */ static gint *ett[ZBEE_ZCL_BALLAST_CONFIGURATION_NUM_ETT]; ett[0] = &ett_zbee_zcl_ballast_configuration; ett[1] = &ett_zbee_zcl_ballast_configuration_status; ett[2] = &ett_zbee_zcl_ballast_configuration_lamp_alarm_mode; /* Register the ZigBee ZCL Ballast Configuration cluster protocol name and description */ proto_zbee_zcl_ballast_configuration = proto_register_protocol("ZigBee ZCL Ballast Configuration", "ZCL Ballast Configuration", ZBEE_PROTOABBREV_ZCL_BALLAST_CONFIG); proto_register_field_array(proto_zbee_zcl_ballast_configuration, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Ballast Configuration dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_BALLAST_CONFIG, dissect_zbee_zcl_ballast_configuration, proto_zbee_zcl_ballast_configuration); } /*proto_register_zbee_zcl_ballast_configuration*/ /** *Hands off the ZCL Ballast Configuration dissector. * */ void proto_reg_handoff_zbee_zcl_ballast_configuration(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_BALLAST_CONFIG, proto_zbee_zcl_ballast_configuration, ett_zbee_zcl_ballast_configuration, ZBEE_ZCL_CID_BALLAST_CONFIG, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_ballast_configuration_attr_id, hf_zbee_zcl_ballast_configuration_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_ballast_configuration_attr_data ); } /*proto_reg_handoff_zbee_zcl_ballast_configuration*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl-meas-sensing.c
/* packet-zbee-zcl-meas-sensing.c * Dissector routines for the ZigBee ZCL Measurement & Sensing clusters like * Illuminance Measurement, Temperature Measurement ... * By Fabio Tarabelloni <[email protected]> * Copyright 2013 RELOC s.r.l. * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <math.h> #include <epan/packet.h> #include <wsutil/utf8_entities.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" /* ########################################################################## */ /* #### (0x0400) ILLUMINANCE MEASUREMENT CLUSTER ############################ */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_ILLUM_MEAS_NUM_GENERIC_ETT 1 #define ZBEE_ZCL_ILLUM_MEAS_NUM_ETT ZBEE_ZCL_ILLUM_MEAS_NUM_GENERIC_ETT /* Attributes */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MEASURED_VALUE 0x0000 /* Measured Value */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MIN_MEASURED_VALUE 0x0001 /* Min Measured Value */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MAX_MEASURED_VALUE 0x0002 /* Max Measured Value */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_TOLERANCE 0x0003 /* Tolerance */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_LIGHT_SENSOR_TYPE 0x0004 /* Light Sensor Type */ /* Server Commands Received - None */ /* Server Commands Generated - None */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_TOO_LOW_VALUE 0x0000 /* Too Low Value */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_INVALID_VALUE 0x8000 /* Invalid Value */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MIN_LO_VALUE 0x0002 /* Minimum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MIN_HI_VALUE 0xfffd /* Minimum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MAX_LO_VALUE 0x0001 /* Maximum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MAX_HI_VALUE 0xfffe /* Maximum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_TOL_LO_VALUE 0x0000 /* Tolerance (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_TOL_HI_VALUE 0x0800 /* Tolerance (Low Bound) */ #define ZBEE_ZCL_ILLUM_MEAS_SENSOR_TYPE_PHOTODIODE 0x00 /* Photodiode */ #define ZBEE_ZCL_ILLUM_MEAS_SENSOR_TYPE_CMOS 0x01 /* CMOS */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_illum_meas(void); void proto_reg_handoff_zbee_zcl_illum_meas(void); /* Command Dissector Helpers */ static void dissect_zcl_illum_meas_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ static void decode_illum_meas_value (gchar *s, guint16 value); static void decode_illum_meas_min_value (gchar *s, guint16 value); static void decode_illum_meas_max_value (gchar *s, guint16 value); static void decode_illum_meas_tolerance (gchar *s, guint16 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_illum_meas = -1; static int hf_zbee_zcl_illum_meas_attr_id = -1; static int hf_zbee_zcl_illum_meas_measured_value = -1; static int hf_zbee_zcl_illum_meas_min_measured_value = -1; static int hf_zbee_zcl_illum_meas_max_measured_value = -1; static int hf_zbee_zcl_illum_meas_tolerance = -1; static int hf_zbee_zcl_illum_meas_sensor_type = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_illum_meas = -1; /* Attributes */ static const value_string zbee_zcl_illum_meas_attr_names[] = { { ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MEASURED_VALUE, "Measured Value" }, { ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MIN_MEASURED_VALUE, "Min Measured Value" }, { ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MAX_MEASURED_VALUE, "Max Measured Value" }, { ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_TOLERANCE, "Tolerance" }, { ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_LIGHT_SENSOR_TYPE, "Light Sensor Type" }, { 0, NULL } }; static const value_string zbee_zcl_illum_meas_sensor_type_names[] = { { ZBEE_ZCL_ILLUM_MEAS_SENSOR_TYPE_PHOTODIODE, "Photodiode" }, { ZBEE_ZCL_ILLUM_MEAS_SENSOR_TYPE_CMOS, "CMOS" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Illuminance Measurement cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_illum_meas(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_illum_meas*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_illum_meas_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_illum_meas_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MIN_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_illum_meas_min_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MAX_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_illum_meas_max_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_TOLERANCE: proto_tree_add_item(tree, hf_zbee_zcl_illum_meas_tolerance, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_LIGHT_SENSOR_TYPE: proto_tree_add_item(tree, hf_zbee_zcl_illum_meas_sensor_type, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_illum_meas_attr_data*/ /** *This function decodes illuminance value * *@param s string to display *@param value value to decode */ static void decode_illum_meas_value(gchar *s, guint16 value) { if (value == ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_TOO_LOW_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Value too low to be measured"); else if (value == ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_INVALID_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Invalid value"); else /* calculate lux value from measured value according to doc 07-5123-04 */ snprintf(s, ITEM_LABEL_LENGTH, "%d (=%f [lx])", value, pow(10,value/10000.0)-1); return; } /*decode_illum_meas_value*/ /** *This function decodes minimum illuminance value * *@param s string to display *@param value value to decode */ static void decode_illum_meas_min_value(gchar *s, guint16 value) { if ( (value < ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MIN_LO_VALUE) || (value > ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MIN_HI_VALUE) ) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d (=%f [lx])", value, pow(10,value/10000.0)-1); return; } /*decode_illum_meas_min_value*/ /** *This function decodes maximum illuminance value * *@param s string to display *@param value value to decode */ static void decode_illum_meas_max_value(gchar *s, guint16 value) { if ( (value < ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MAX_LO_VALUE) || (value > ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_MAX_HI_VALUE) ) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d (=%f [lx])", value, pow(10,value/10000.0)-1); return; } /*decode_illum_meas_max_value*/ /** *This function decodes tolerance value * *@param s string to display *@param value value to decode */ static void decode_illum_meas_tolerance(gchar *s, guint16 value) { if (value > ZBEE_ZCL_ATTR_ID_ILLUM_MEAS_TOL_HI_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d", value); return; } /*decode_illum_meas_tolerance*/ /** *This function registers the ZCL Illuminance Measurement dissector * */ void proto_register_zbee_zcl_illum_meas(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_illum_meas_attr_id, { "Attribute", "zbee_zcl_meas_sensing.illummeas.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_illum_meas_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_illum_meas_measured_value, { "Measured Value", "zbee_zcl_meas_sensing.illummeas.attr.value", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_illum_meas_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_illum_meas_min_measured_value, { "Min Measured Value", "zbee_zcl_meas_sensing.illummeas.attr.value.min", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_illum_meas_min_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_illum_meas_max_measured_value, { "Max Measured Value", "zbee_zcl_meas_sensing.illummeas.attr.value.max", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_illum_meas_max_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_illum_meas_tolerance, { "Tolerance", "zbee_zcl_meas_sensing.illummeas.attr.tolerance", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_illum_meas_tolerance), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_illum_meas_sensor_type, { "Sensor Type", "zbee_zcl_meas_sensing.illummeas.attr.sensor_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_illum_meas_sensor_type_names), 0x00, NULL, HFILL } } }; /* ZCL Illuminance Measurement subtrees */ gint *ett[] = { &ett_zbee_zcl_illum_meas }; /* Register the ZigBee ZCL Illuminance Measurement cluster protocol name and description */ proto_zbee_zcl_illum_meas = proto_register_protocol("ZigBee ZCL Illuminance Meas.", "ZCL Illuminance Meas.", ZBEE_PROTOABBREV_ZCL_ILLUMMEAS); proto_register_field_array(proto_zbee_zcl_illum_meas, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Illuminance Measurement dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ILLUMMEAS, dissect_zbee_zcl_illum_meas, proto_zbee_zcl_illum_meas); } /*proto_register_zbee_zcl_illum_meas*/ /** *Hands off the ZCL Illuminance Measurement dissector. * */ void proto_reg_handoff_zbee_zcl_illum_meas(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ILLUMMEAS, proto_zbee_zcl_illum_meas, ett_zbee_zcl_illum_meas, ZBEE_ZCL_CID_ILLUMINANCE_MEASUREMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_illum_meas_attr_id, hf_zbee_zcl_illum_meas_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_illum_meas_attr_data ); } /*proto_reg_handoff_zbee_zcl_illum_meas*/ /* ########################################################################## */ /* #### (0x0401) ILLUMINANCE LEVEL SENSING CLUSTER ########################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_ILLUM_LEVEL_SEN_NUM_GENERIC_ETT 1 #define ZBEE_ZCL_ILLUM_LEVEL_SEN_NUM_ETT ZBEE_ZCL_ILLUM_LEVEL_SEN_NUM_GENERIC_ETT /* Attributes */ #define ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_LEVEL_STATUS 0x0000 /* Level Status */ #define ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_LIGHT_SENSOR_TYPE 0x0001 /* Light Sensor Type */ #define ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_ILLUM_TARGET_LEVEL 0x0010 /* Illuminance Target Level */ /* Server Commands Received - None */ /* Server Commands Generated - None */ #define ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_TOO_LOW_VALUE 0x0000 /* Too Low Value */ #define ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_INVALID_VALUE 0x8000 /* Invalid Value */ #define ZBEE_ZCL_ILLUM_LEVEL_SEN_SENSOR_TYPE_PHOTODIODE 0x00 /* Photodiode */ #define ZBEE_ZCL_ILLUM_LEVEL_SEN_SENSOR_TYPE_CMOS 0x01 /* CMOS */ #define ZBEE_ZCL_ILLUM_LEVEL_SEN_ILLUM_ON_TARGET 0x00 /* Illuminance on Target */ #define ZBEE_ZCL_ILLUM_LEVEL_SEN_ILLUM_BELOW_TARGET 0x01 /* Illuminance below Target */ #define ZBEE_ZCL_ILLUM_LEVEL_SEN_ILLUM_ABOVE_TARGET 0x02 /* Illuminance above Target */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_illum_level_sen(void); void proto_reg_handoff_zbee_zcl_illum_level_sen(void); /* Command Dissector Helpers */ static void dissect_zcl_illum_level_sen_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ static void decode_illum_level_sen_target_level (gchar *s, guint16 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_illum_level_sen = -1; static int hf_zbee_zcl_illum_level_sen_attr_id = -1; static int hf_zbee_zcl_illum_level_sen_level_status = -1; static int hf_zbee_zcl_illum_level_sen_light_sensor_type = -1; static int hf_zbee_zcl_illum_level_sen_illum_target_level = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_illum_level_sen = -1; /* Attributes */ static const value_string zbee_zcl_illum_level_sen_attr_names[] = { { ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_LEVEL_STATUS, "Level Status" }, { ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_LIGHT_SENSOR_TYPE, "Light Sensor Type" }, { ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_ILLUM_TARGET_LEVEL, "Illuminance Target Level" }, { 0, NULL } }; static const value_string zbee_zcl_illum_level_sen_sensor_type_names[] = { { ZBEE_ZCL_ILLUM_LEVEL_SEN_SENSOR_TYPE_PHOTODIODE, "Photodiode" }, { ZBEE_ZCL_ILLUM_LEVEL_SEN_SENSOR_TYPE_CMOS, "CMOS" }, { 0, NULL } }; static const value_string zbee_zcl_illum_level_sen_level_status_names[] = { { ZBEE_ZCL_ILLUM_LEVEL_SEN_ILLUM_ON_TARGET, "Illuminance on Target" }, { ZBEE_ZCL_ILLUM_LEVEL_SEN_ILLUM_BELOW_TARGET, "Illuminance below Target" }, { ZBEE_ZCL_ILLUM_LEVEL_SEN_ILLUM_ABOVE_TARGET, "Illuminance above Target" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Illuminance Level Sensing cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_illum_level_sen(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_illum_level_sen*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_illum_level_sen_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_LEVEL_STATUS: proto_tree_add_item(tree, hf_zbee_zcl_illum_level_sen_level_status, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_LIGHT_SENSOR_TYPE: proto_tree_add_item(tree, hf_zbee_zcl_illum_level_sen_light_sensor_type, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_ILLUM_TARGET_LEVEL: proto_tree_add_item(tree, hf_zbee_zcl_illum_level_sen_illum_target_level, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_illum_level_sen_attr_data*/ /** *This function decodes illuminance value * *@param s string to display *@param value value to decode */ static void decode_illum_level_sen_target_level(gchar *s, guint16 value) { if (value == ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_TOO_LOW_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Value too low to be measured"); else if (value == ZBEE_ZCL_ATTR_ID_ILLUM_LEVEL_SEN_INVALID_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Invalid value"); else /* calculate lux value from measured value according to doc 07-5123-04 */ snprintf(s, ITEM_LABEL_LENGTH, "%d (=%f [lx])", value, pow(10,value/10000.0)-1); return; } /*decode_illum_level_sen_value*/ /** *This function registers the ZCL Illuminance Level Sensing dissector * */ void proto_register_zbee_zcl_illum_level_sen(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_illum_level_sen_attr_id, { "Attribute", "zbee_zcl_meas_sensing.illumlevelsen.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_illum_level_sen_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_illum_level_sen_level_status, { "Level Status", "zbee_zcl_meas_sensing.illumlevelsen.attr.level_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_illum_level_sen_level_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_illum_level_sen_light_sensor_type, { "Light Sensor Type", "zbee_zcl_meas_sensing.illumlevelsen.attr.light_sensor_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_illum_level_sen_sensor_type_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_illum_level_sen_illum_target_level, { "Target Level", "zbee_zcl_meas_sensing.illumlevelsen.attr.target_level", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_illum_level_sen_target_level), 0x00, NULL, HFILL } } }; /* ZCL Illuminance Level Sensing subtrees */ gint *ett[] = { &ett_zbee_zcl_illum_level_sen }; /* Register the ZigBee ZCL Illuminance Level Sensing cluster protocol name and description */ proto_zbee_zcl_illum_level_sen = proto_register_protocol("ZigBee ZCL Illuminance Level Sensing", "ZCL Illuminance Level Sensing", ZBEE_PROTOABBREV_ZCL_ILLUMLEVELSEN); proto_register_field_array(proto_zbee_zcl_illum_level_sen, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Illuminance Level Sensing dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ILLUMLEVELSEN, dissect_zbee_zcl_illum_level_sen, proto_zbee_zcl_illum_level_sen); } /*proto_register_zbee_zcl_illum_level_sen*/ /** *Hands off the ZCL Illuminance Level Sensing dissector. * */ void proto_reg_handoff_zbee_zcl_illum_level_sen(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ILLUMLEVELSEN, proto_zbee_zcl_illum_level_sen, ett_zbee_zcl_illum_level_sen, ZBEE_ZCL_CID_ILLUMINANCE_LEVEL_SENSING, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_illum_level_sen_attr_id, hf_zbee_zcl_illum_level_sen_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_illum_level_sen_attr_data ); } /*proto_reg_handoff_zbee_zcl_illum_level_sen*/ /* ########################################################################## */ /* #### (0x0402) TEMPERATURE MEASUREMENT CLUSTER ############################ */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_TEMP_MEAS_NUM_GENERIC_ETT 1 #define ZBEE_ZCL_TEMP_MEAS_NUM_ETT ZBEE_ZCL_TEMP_MEAS_NUM_GENERIC_ETT /* Attributes */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MEASURED_VALUE 0x0000 /* Measured Value */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MIN_MEASURED_VALUE 0x0001 /* Min Measured Value */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MAX_MEASURED_VALUE 0x0002 /* Max Measured Value */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_TOLERANCE 0x0003 /* Tolerance */ /* Server Commands Received - None */ /* Server Commands Generated - None */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_INVALID_VALUE 0x8000 /* Invalid Value */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MIN_LO_VALUE 0x954d /* Minimum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MIN_HI_VALUE 0x7ffe /* Minimum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MAX_LO_VALUE 0x954e /* Maximum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MAX_HI_VALUE 0x7fff /* Maximum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_TOL_LO_VALUE 0x0000 /* Tolerance (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_TEMP_MEAS_TOL_HI_VALUE 0x0800 /* Tolerance (Low Bound) */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_temp_meas(void); void proto_reg_handoff_zbee_zcl_temp_meas(void); /* Command Dissector Helpers */ static void dissect_zcl_temp_meas_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ static void decode_temp_meas_value (gchar *s, gint16 value); static void decode_temp_meas_min_value (gchar *s, gint16 value); static void decode_temp_meas_max_value (gchar *s, gint16 value); static void decode_temp_meas_tolerance (gchar *s, guint16 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_temp_meas = -1; static int hf_zbee_zcl_temp_meas_attr_id = -1; static int hf_zbee_zcl_temp_meas_measured_value = -1; static int hf_zbee_zcl_temp_meas_min_measured_value = -1; static int hf_zbee_zcl_temp_meas_max_measured_value = -1; static int hf_zbee_zcl_temp_meas_tolerance = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_temp_meas = -1; /* Attributes */ static const value_string zbee_zcl_temp_meas_attr_names[] = { { ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MEASURED_VALUE, "Measured Value" }, { ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MIN_MEASURED_VALUE, "Min Measured Value" }, { ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MAX_MEASURED_VALUE, "Max Measured Value" }, { ZBEE_ZCL_ATTR_ID_TEMP_MEAS_TOLERANCE, "Tolerance" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Temperature Measurement cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_temp_meas(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_temp_meas*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_temp_meas_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_temp_meas_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MIN_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_temp_meas_min_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MAX_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_temp_meas_max_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_TEMP_MEAS_TOLERANCE: proto_tree_add_item(tree, hf_zbee_zcl_temp_meas_tolerance, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_temp_meas_attr_data*/ /** *This function decodes temperature value * *@param s string to display *@param value value to decode */ static void decode_temp_meas_value(gchar *s, gint16 value) { if (value == (gint16)ZBEE_ZCL_ATTR_ID_TEMP_MEAS_INVALID_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Invalid value"); else snprintf(s, ITEM_LABEL_LENGTH, "%.2f [" UTF8_DEGREE_SIGN "C]", value/100.0); return; } /*decode_temp_meas_value*/ /** *This function decodes minimum temperature value * *@param s string to display *@param value value to decode */ static void decode_temp_meas_min_value(gchar *s, gint16 value) { if ( (value < (gint16)ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MIN_LO_VALUE) || (value > (gint16)ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MIN_HI_VALUE) ) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%.2f [" UTF8_DEGREE_SIGN "C]", value/100.0); return; } /*decode_temp_meas_min_value*/ /** *This function decodes maximum temperature value * *@param s string to display *@param value value to decode */ static void decode_temp_meas_max_value(gchar *s, gint16 value) { if (value < (gint16)ZBEE_ZCL_ATTR_ID_TEMP_MEAS_MAX_LO_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%.2f [" UTF8_DEGREE_SIGN "C]", value/100.0); return; } /*decode_temp_meas_max_value*/ /** *This function decodes tolerance value * *@param s string to display *@param value value to decode */ static void decode_temp_meas_tolerance(gchar *s, guint16 value) { if (value > ZBEE_ZCL_ATTR_ID_TEMP_MEAS_TOL_HI_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%d [" UTF8_DEGREE_SIGN "C]", value/100, value%100); return; } /*decode_temp_meas_tolerance*/ /** *This function registers the ZCL Temperature Measurement dissector * */ void proto_register_zbee_zcl_temp_meas(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_temp_meas_attr_id, { "Attribute", "zbee_zcl_meas_sensing.tempmeas.attr_idd", FT_UINT16, BASE_HEX, VALS(zbee_zcl_temp_meas_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_temp_meas_measured_value, { "Measured Value", "zbee_zcl_meas_sensing.tempmeas.attr.value", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_temp_meas_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_temp_meas_min_measured_value, { "Min Measured Value", "zbee_zcl_meas_sensing.tempmeas.attr.value.min", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_temp_meas_min_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_temp_meas_max_measured_value, { "Max Measured Value", "zbee_zcl_meas_sensing.tempmeas.attr.value.max", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_temp_meas_max_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_temp_meas_tolerance, { "Tolerance", "zbee_zcl_meas_sensing.tempmeas.attr.tolerance", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_temp_meas_tolerance), 0x00, NULL, HFILL } } }; /* ZCL Temperature Measurement subtrees */ gint *ett[] = { &ett_zbee_zcl_temp_meas }; /* Register the ZigBee ZCL Temperature Measurement cluster protocol name and description */ proto_zbee_zcl_temp_meas = proto_register_protocol("ZigBee ZCL Temperature Meas.", "ZCL Temperature Meas.", ZBEE_PROTOABBREV_ZCL_TEMPMEAS); proto_register_field_array(proto_zbee_zcl_temp_meas, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Temperature Measurement dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_TEMPMEAS, dissect_zbee_zcl_temp_meas, proto_zbee_zcl_temp_meas); } /*proto_register_zbee_zcl_temp_meas*/ /** *Hands off the ZCL Temperature Measurement dissector. * */ void proto_reg_handoff_zbee_zcl_temp_meas(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_TEMPMEAS, proto_zbee_zcl_temp_meas, ett_zbee_zcl_temp_meas, ZBEE_ZCL_CID_TEMPERATURE_MEASUREMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_temp_meas_attr_id, hf_zbee_zcl_temp_meas_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_temp_meas_attr_data ); } /*proto_reg_handoff_zbee_zcl_temp_meas*/ /* ########################################################################## */ /* #### (0x0403) PRESSURE MEASUREMENT CLUSTER ############################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_PRESS_MEAS_NUM_GENERIC_ETT 1 #define ZBEE_ZCL_PRESS_MEAS_NUM_ETT ZBEE_ZCL_PRESS_MEAS_NUM_GENERIC_ETT /* Attributes */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MEASURED_VALUE 0x0000 /* Measured Value */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_MEASURED_VALUE 0x0001 /* Min Measured Value */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_MEASURED_VALUE 0x0002 /* Max Measured Value */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_TOLERANCE 0x0003 /* Tolerance */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALED_VALUE 0x0010 /* Scaled Value */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_SCALED_VALUE 0x0011 /* Min Scaled Value */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_SCALED_VALUE 0x0012 /* Max Scaled Value */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALED_TOLERANCE 0x0013 /* Scaled Tolerance */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALE 0x0014 /* Scale */ /* Server Commands Received - None */ /* Server Commands Generated - None */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_INVALID_VALUE 0x8000 /* Invalid Value */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_LO_VALUE 0x8001 /* Minimum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_HI_VALUE 0x7ffe /* Minimum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_LO_VALUE 0x8002 /* Maximum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_HI_VALUE 0x7fff /* Maximum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_TOL_LO_VALUE 0x0000 /* Tolerance (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_TOL_HI_VALUE 0x0800 /* Tolerance (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALE_LO_VALUE 0x81 /* Scale (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALE_HI_VALUE 0x7f /* Scale (Low Bound) */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_press_meas(void); void proto_reg_handoff_zbee_zcl_press_meas(void); /* Command Dissector Helpers */ static void dissect_zcl_press_meas_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ static void decode_press_meas_value (gchar *s, gint16 value); static void decode_press_meas_min_value (gchar *s, gint16 value); static void decode_press_meas_max_value (gchar *s, gint16 value); static void decode_press_meas_tolerance (gchar *s, guint16 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_press_meas = -1; static int hf_zbee_zcl_press_meas_attr_id = -1; static int hf_zbee_zcl_press_meas_measured_value = -1; static int hf_zbee_zcl_press_meas_min_measured_value = -1; static int hf_zbee_zcl_press_meas_max_measured_value = -1; static int hf_zbee_zcl_press_meas_tolerance = -1; static int hf_zbee_zcl_press_meas_scaled_value = -1; static int hf_zbee_zcl_press_meas_min_scaled_value = -1; static int hf_zbee_zcl_press_meas_max_scaled_value = -1; static int hf_zbee_zcl_press_meas_scaled_tolerance = -1; static int hf_zbee_zcl_press_meas_scale = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_press_meas = -1; /* Attributes */ static const value_string zbee_zcl_press_meas_attr_names[] = { { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MEASURED_VALUE, "Measured Value" }, { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_MEASURED_VALUE, "Min Measured Value" }, { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_MEASURED_VALUE, "Max Measured Value" }, { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_TOLERANCE, "Tolerance" }, { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALED_VALUE, "Scaled Value" }, { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_SCALED_VALUE, "Min Scaled Value" }, { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_SCALED_VALUE, "Max Scaled Value" }, { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALED_TOLERANCE, "Scaled Tolerance" }, { ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALE, "Scale" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Pressure Measurement cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_press_meas(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_press_meas*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_press_meas_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_min_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_max_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_TOLERANCE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_tolerance, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_scaled_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_SCALED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_min_scaled_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_SCALED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_max_scaled_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALED_TOLERANCE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_scaled_tolerance, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_PRESS_MEAS_SCALE: proto_tree_add_item(tree, hf_zbee_zcl_press_meas_scale, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_press_meas_attr_data*/ /** *This function decodes pressure value * *@param s string to display *@param value value to decode */ static void decode_press_meas_value(gchar *s, gint16 value) { if (value == (gint16)ZBEE_ZCL_ATTR_ID_PRESS_MEAS_INVALID_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Invalid value"); if (value < (gint16)ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_LO_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%d [kPa]", value/10, value%10); return; } /*decode_press_meas_value*/ /** *This function decodes minimum pressure value * *@param s string to display *@param value value to decode */ static void decode_press_meas_min_value(gchar *s, gint16 value) { if (value > (gint16)ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MIN_HI_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%d [kPa]", value/10, value%10); return; } /*decode_press_meas_min_value*/ /** *This function decodes maximum pressure value * *@param s string to display *@param value value to decode */ static void decode_press_meas_max_value(gchar *s, gint16 value) { if (value < (gint16)ZBEE_ZCL_ATTR_ID_PRESS_MEAS_MAX_LO_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%d [kPa]", value/10, value%10); return; } /*decode_press_meas_max_value*/ /** *This function decodes tolerance value * *@param s string to display *@param value value to decode */ static void decode_press_meas_tolerance(gchar *s, guint16 value) { if (value > (guint16)ZBEE_ZCL_ATTR_ID_PRESS_MEAS_TOL_HI_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%d [kPa]", value/10, value%10); return; } /*decode_press_meas_tolerance*/ /** *This function registers the ZCL Pressure Measurement dissector * */ void proto_register_zbee_zcl_press_meas(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_press_meas_attr_id, { "Attribute", "zbee_zcl_meas_sensing.pressmeas.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_press_meas_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_measured_value, { "Measured Value", "zbee_zcl_meas_sensing.pressmeas.attr.value", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_press_meas_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_min_measured_value, { "Min Measured Value", "zbee_zcl_meas_sensing.pressmeas.attr.value.min", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_press_meas_min_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_max_measured_value, { "Max Measured Value", "zbee_zcl_meas_sensing.pressmeas.attr.value.max", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_press_meas_max_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_tolerance, { "Tolerance", "zbee_zcl_meas_sensing.pressmeas.attr.tolerance", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_press_meas_tolerance), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_scaled_value, { "Scaled Value", "zbee_zcl_meas_sensing.pressmeas.attr.scaled_value", FT_INT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_min_scaled_value, { "Min Scaled Value", "zbee_zcl_meas_sensing.pressmeas.attr.scaled_value.min", FT_INT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_max_scaled_value, { "Max Scaled Value", "zbee_zcl_meas_sensing.pressmeas.attr.scaled_value.max", FT_INT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_scaled_tolerance, { "Scaled Tolerance", "zbee_zcl_meas_sensing.pressmeas.attr.scaled_tolerance", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_press_meas_scale, { "Scale", "zbee_zcl_meas_sensing.pressmeas.attr.scale", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } } }; /* ZCL Pressure Measurement subtrees */ gint *ett[] = { &ett_zbee_zcl_press_meas }; /* Register the ZigBee ZCL Pressure Measurement cluster protocol name and description */ proto_zbee_zcl_press_meas = proto_register_protocol("ZigBee ZCL Pressure Meas.", "ZCL Pressure Meas.", ZBEE_PROTOABBREV_ZCL_PRESSMEAS); proto_register_field_array(proto_zbee_zcl_press_meas, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Pressure Measurement dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_PRESSMEAS, dissect_zbee_zcl_press_meas, proto_zbee_zcl_press_meas); } /*proto_register_zbee_zcl_press_meas*/ /** *Hands off the ZCL Pressure Measurement dissector. * */ void proto_reg_handoff_zbee_zcl_press_meas(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_PRESSMEAS, proto_zbee_zcl_press_meas, ett_zbee_zcl_press_meas, ZBEE_ZCL_CID_PRESSURE_MEASUREMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_press_meas_attr_id, hf_zbee_zcl_press_meas_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_press_meas_attr_data ); } /*proto_reg_handoff_zbee_zcl_press_meas*/ /* ########################################################################## */ /* #### (0x0404) FLOW MEASUREMENT CLUSTER ################################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_FLOW_MEAS_NUM_GENERIC_ETT 1 #define ZBEE_ZCL_FLOW_MEAS_NUM_ETT ZBEE_ZCL_FLOW_MEAS_NUM_GENERIC_ETT /* Attributes */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MEASURED_VALUE 0x0000 /* Measured Value */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MIN_MEASURED_VALUE 0x0001 /* Min Measured Value */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MAX_MEASURED_VALUE 0x0002 /* Max Measured Value */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_TOLERANCE 0x0003 /* Tolerance */ /* Server Commands Received - None */ /* Server Commands Generated - None */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_TOO_LOW_VALUE 0x0000 /* Too Low Value */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_INVALID_VALUE 0xffff /* Invalid Value */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MIN_LO_VALUE 0x0000 /* Minimum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MIN_HI_VALUE 0xfffd /* Minimum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MAX_LO_VALUE 0x0001 /* Maximum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MAX_HI_VALUE 0xfffe /* Maximum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_TOL_LO_VALUE 0x0000 /* Tolerance (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_FLOW_MEAS_TOL_HI_VALUE 0x0800 /* Tolerance (Low Bound) */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_flow_meas(void); void proto_reg_handoff_zbee_zcl_flow_meas(void); /* Command Dissector Helpers */ static void dissect_zcl_flow_meas_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ static void decode_flow_meas_value (gchar *s, guint16 value); static void decode_flow_meas_min_value (gchar *s, guint16 value); static void decode_flow_meas_max_value (gchar *s, guint16 value); static void decode_flow_meas_tolerance (gchar *s, guint16 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_flow_meas = -1; static int hf_zbee_zcl_flow_meas_attr_id = -1; static int hf_zbee_zcl_flow_meas_measured_value = -1; static int hf_zbee_zcl_flow_meas_min_measured_value = -1; static int hf_zbee_zcl_flow_meas_max_measured_value = -1; static int hf_zbee_zcl_flow_meas_tolerance = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_flow_meas = -1; /* Attributes */ static const value_string zbee_zcl_flow_meas_attr_names[] = { { ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MEASURED_VALUE, "Measured Value" }, { ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MIN_MEASURED_VALUE, "Min Measured Value" }, { ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MAX_MEASURED_VALUE, "Max Measured Value" }, { ZBEE_ZCL_ATTR_ID_FLOW_MEAS_TOLERANCE, "Tolerance" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Flow Measurement cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_flow_meas(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_flow_meas*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_flow_meas_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_flow_meas_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MIN_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_flow_meas_min_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MAX_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_flow_meas_max_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_FLOW_MEAS_TOLERANCE: proto_tree_add_item(tree, hf_zbee_zcl_flow_meas_tolerance, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_flow_meas_attr_data*/ /** *This function decodes flow value * *@param s string to display *@param value value to decode */ static void decode_flow_meas_value(gchar *s, guint16 value) { if (value == ZBEE_ZCL_ATTR_ID_FLOW_MEAS_TOO_LOW_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Value too low to be measured"); else if (value == ZBEE_ZCL_ATTR_ID_FLOW_MEAS_INVALID_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Invalid value"); else /* calculate flow value from measured value according to doc 07-5123-04 */ snprintf(s, ITEM_LABEL_LENGTH, "%d (=%f [m^3/h])", value, value/10.0); return; } /*decode_flow_meas_value*/ /** *This function decodes minimum flow value * *@param s string to display *@param value value to decode */ static void decode_flow_meas_min_value(gchar *s, guint16 value) { if ( /*(value < ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MIN_LO_VALUE) ||*/ (value > ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MIN_HI_VALUE) ) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d (=%f [m^3/h])", value, value/10.0); return; } /*decode_flow_meas_min_value*/ /** *This function decodes maximum flow value * *@param s string to display *@param value value to decode */ static void decode_flow_meas_max_value(gchar *s, guint16 value) { if ( (value < ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MAX_LO_VALUE) || (value > ZBEE_ZCL_ATTR_ID_FLOW_MEAS_MAX_HI_VALUE) ) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d (=%f [m^3/h])", value, value/10.0); return; } /*decode_flow_meas_max_value*/ /** *This function decodes tolerance value * *@param s string to display *@param value value to decode */ static void decode_flow_meas_tolerance(gchar *s, guint16 value) { if (value > ZBEE_ZCL_ATTR_ID_FLOW_MEAS_TOL_HI_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d", value); return; } /*decode_flow_meas_tolerance*/ /** *This function registers the ZCL Flow Measurement dissector * */ void proto_register_zbee_zcl_flow_meas(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_flow_meas_attr_id, { "Attribute", "zbee_zcl_meas_sensing.flowmeas.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_flow_meas_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_flow_meas_measured_value, { "Measured Value", "zbee_zcl_meas_sensing.flowmeas.attr.value", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_flow_meas_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_flow_meas_min_measured_value, { "Min Measured Value", "zbee_zcl_meas_sensing.flowmeas.attr.value.min", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_flow_meas_min_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_flow_meas_max_measured_value, { "Max Measured Value", "zbee_zcl_meas_sensing.flowmeas.attr.value.max", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_flow_meas_max_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_flow_meas_tolerance, { "Tolerance", "zbee_zcl_meas_sensing.flowmeas.attr.tolerance", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_flow_meas_tolerance), 0x00, NULL, HFILL } } }; /* ZCL Flow Measurement subtrees */ gint *ett[] = { &ett_zbee_zcl_flow_meas }; /* Register the ZigBee ZCL Flow Measurement cluster protocol name and description */ proto_zbee_zcl_flow_meas = proto_register_protocol("ZigBee ZCL Flow Meas.", "ZCL Flow Meas.", ZBEE_PROTOABBREV_ZCL_FLOWMEAS); proto_register_field_array(proto_zbee_zcl_flow_meas, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Flow Measurement dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_FLOWMEAS, dissect_zbee_zcl_flow_meas, proto_zbee_zcl_flow_meas); } /*proto_register_zbee_zcl_flow_meas*/ /** *Hands off the ZCL Flow Measurement dissector. * */ void proto_reg_handoff_zbee_zcl_flow_meas(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_FLOWMEAS, proto_zbee_zcl_flow_meas, ett_zbee_zcl_flow_meas, ZBEE_ZCL_CID_FLOW_MEASUREMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_flow_meas_attr_id, hf_zbee_zcl_flow_meas_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_flow_meas_attr_data ); } /*proto_reg_handoff_zbee_zcl_flow_meas*/ /* ########################################################################## */ /* #### (0x0405) RELATIVE HUMIDITY MEASUREMENT CLUSTER ###################### */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_RELHUM_MEAS_NUM_GENERIC_ETT 1 #define ZBEE_ZCL_RELHUM_MEAS_NUM_ETT ZBEE_ZCL_RELHUM_MEAS_NUM_GENERIC_ETT /* Attributes */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MEASURED_VALUE 0x0000 /* Measured Value */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MIN_MEASURED_VALUE 0x0001 /* Min Measured Value */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MAX_MEASURED_VALUE 0x0002 /* Max Measured Value */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_TOLERANCE 0x0003 /* Tolerance */ /* Server Commands Received - None */ /* Server Commands Generated - None */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_INVALID_VALUE 0xffff /* Invalid Value */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MIN_LO_VALUE 0x0000 /* Minimum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MIN_HI_VALUE 0x270f /* Minimum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MAX_LO_VALUE 0x0000 /* Maximum Value (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MAX_HI_VALUE 0x2710 /* Maximum Value (High Bound) */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_TOL_LO_VALUE 0x0000 /* Tolerance (Low Bound) */ #define ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_TOL_HI_VALUE 0x0800 /* Tolerance (Low Bound) */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_relhum_meas(void); void proto_reg_handoff_zbee_zcl_relhum_meas(void); /* Command Dissector Helpers */ static void dissect_zcl_relhum_meas_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ static void decode_relhum_meas_value (gchar *s, guint16 value); static void decode_relhum_meas_min_value (gchar *s, guint16 value); static void decode_relhum_meas_max_value (gchar *s, guint16 value); static void decode_relhum_meas_tolerance (gchar *s, guint16 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_relhum_meas = -1; static int hf_zbee_zcl_relhum_meas_attr_id = -1; static int hf_zbee_zcl_relhum_meas_measured_value = -1; static int hf_zbee_zcl_relhum_meas_min_measured_value = -1; static int hf_zbee_zcl_relhum_meas_max_measured_value = -1; static int hf_zbee_zcl_relhum_meas_tolerance = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_relhum_meas = -1; /* Attributes */ static const value_string zbee_zcl_relhum_meas_attr_names[] = { { ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MEASURED_VALUE, "Measured Value" }, { ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MIN_MEASURED_VALUE, "Min Measured Value" }, { ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MAX_MEASURED_VALUE, "Max Measured Value" }, { ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_TOLERANCE, "Tolerance" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Relative Humidity Measurement cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_relhum_meas(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_relhum_meas*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_relhum_meas_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_relhum_meas_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MIN_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_relhum_meas_min_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MAX_MEASURED_VALUE: proto_tree_add_item(tree, hf_zbee_zcl_relhum_meas_max_measured_value, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_TOLERANCE: proto_tree_add_item(tree, hf_zbee_zcl_relhum_meas_tolerance, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_relhum_meas_attr_data*/ /** *This function decodes relative humidity value * *@param s string to display *@param value value to decode */ static void decode_relhum_meas_value(gchar *s, guint16 value) { if (value == ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_INVALID_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Invalid value"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%02d [%%]", value/100, value%100); return; } /*decode_relhum_meas_value*/ /** *This function decodes minimum relative humidity value * *@param s string to display *@param value value to decode */ static void decode_relhum_meas_min_value(gchar *s, guint16 value) { if (value > ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MIN_HI_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%02d [%%]", value/100, value%100); return; } /*decode_relhum_meas_min_value*/ /** *This function decodes maximum relative humidity value * *@param s string to display *@param value value to decode */ static void decode_relhum_meas_max_value(gchar *s, guint16 value) { if (value > ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_MAX_HI_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%02d [%%]", value/100, value%100); return; } /*decode_relhum_meas_max_value*/ /** *This function decodes tolerance value * *@param s string to display *@param value value to decode */ static void decode_relhum_meas_tolerance(gchar *s, guint16 value) { if (value > ZBEE_ZCL_ATTR_ID_RELHUM_MEAS_TOL_HI_VALUE) snprintf(s, ITEM_LABEL_LENGTH, "Out of range"); else snprintf(s, ITEM_LABEL_LENGTH, "%d.%02d [%%]", value/100, value%100); return; } /*decode_relhum_meas_tolerance*/ /** *This function registers the ZCL Relative Humidity Measurement dissector * */ void proto_register_zbee_zcl_relhum_meas(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_relhum_meas_attr_id, { "Attribute", "zbee_zcl_meas_sensing.relhummeas.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_relhum_meas_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_relhum_meas_measured_value, { "Measured Value", "zbee_zcl_meas_sensing.relhummeas.attr.value", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_relhum_meas_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_relhum_meas_min_measured_value, { "Min Measured Value", "zbee_zcl_meas_sensing.relhummeas.attr.value.min", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_relhum_meas_min_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_relhum_meas_max_measured_value, { "Max Measured Value", "zbee_zcl_meas_sensing.relhummeas.attr.value.max", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_relhum_meas_max_value), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_relhum_meas_tolerance, { "Tolerance", "zbee_zcl_meas_sensing.relhummeas.attr.tolerance", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_relhum_meas_tolerance), 0x00, NULL, HFILL } } }; /* ZCL Relative Humidity Measurement subtrees */ gint *ett[] = { &ett_zbee_zcl_relhum_meas }; /* Register the ZigBee ZCL Relative Humidity Measurement cluster protocol name and description */ proto_zbee_zcl_relhum_meas = proto_register_protocol("ZigBee ZCL Rel. Humidity Meas.", "ZCL Relative Humidity Meas.", ZBEE_PROTOABBREV_ZCL_RELHUMMEAS); proto_register_field_array(proto_zbee_zcl_relhum_meas, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Relative Humidity Measurement dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_RELHUMMEAS, dissect_zbee_zcl_relhum_meas, proto_zbee_zcl_relhum_meas); } /*proto_register_zbee_zcl_relhum_meas*/ /** *Hands off the ZCL Relative Humidity Measurement dissector. * */ void proto_reg_handoff_zbee_zcl_relhum_meas(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_RELHUMMEAS, proto_zbee_zcl_relhum_meas, ett_zbee_zcl_relhum_meas, ZBEE_ZCL_CID_REL_HUMIDITY_MEASUREMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_relhum_meas_attr_id, hf_zbee_zcl_relhum_meas_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_relhum_meas_attr_data ); } /*proto_reg_handoff_zbee_zcl_relhum_meas*/ /* ########################################################################## */ /* #### (0x0406) OCCUPANCY SENSING CLUSTER ################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_OCC_SEN_NUM_ETT 2 /* Attributes */ #define ZBEE_ZCL_ATTR_ID_OCC_SEN_OCCUPANCY 0x0000 /* Occupancy */ #define ZBEE_ZCL_ATTR_ID_OCC_SEN_OCC_SENSOR_TYPE 0x0001 /* Occupancy Sensor Type */ #define ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_OCC_TO_UNOCC_DELAY 0x0010 /* PIR Occupied to Unoccupied Delay */ #define ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_UNOCC_TO_OCC_DELAY 0x0011 /* PIR Unoccupied to Occupied Delay */ #define ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_UNOCC_TO_OCC_THOLD 0x0012 /* PIR Unoccupied to Occupied Threshold */ #define ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_OCC_TO_UNOCC_DELAY 0x0020 /* Ultrasonic Occupied to Unoccupied Threshold */ #define ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_UNOCC_TO_OCC_DELAY 0x0021 /* Ultrasonic Unoccupied to Occupied Delay */ #define ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_UNOCC_TO_OCC_THOLD 0x0022 /* Ultrasonic Unoccupied to Occupied Threshold */ /* Server Commands Received - None */ /* Server Commands Generated - None */ /* Occupancy Mask fields */ #define ZBEE_ZCL_OCCUPANCY_SENSED_OCC 0x01 /* Sensed Occupancy */ /* Occupancy Sensor Type */ #define ZBEE_ZCL_OCC_SENSOR_TYPE_PIR 0x00 /* PIR */ #define ZBEE_ZCL_OCC_SENSOR_TYPE_USONIC 0x01 /* Ultrasonic */ #define ZBEE_ZCL_OCC_SENSOR_TYPE_PIR_AND_USONIC 0x02 /* PIR and Ultrasonic */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_occ_sen(void); void proto_reg_handoff_zbee_zcl_occ_sen(void); /* Command Dissector Helpers */ static void dissect_zcl_occ_sen_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_occ_sen = -1; static int hf_zbee_zcl_occ_sen_attr_id = -1; static int hf_zbee_zcl_occ_sen_occupancy = -1; static int hf_zbee_zcl_occ_sen_occupancy_occupied = -1; static int hf_zbee_zcl_occ_sen_occ_sensor_type = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_occ_sen = -1; static gint ett_zbee_zcl_occ_sen_occupancy = -1; /* Attributes */ static const value_string zbee_zcl_occ_sen_attr_names[] = { { ZBEE_ZCL_ATTR_ID_OCC_SEN_OCCUPANCY, "Occupancy" }, { ZBEE_ZCL_ATTR_ID_OCC_SEN_OCC_SENSOR_TYPE, "Occupancy Sensor Type" }, { ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_OCC_TO_UNOCC_DELAY, "PIR Occupied to Unoccupied Delay" }, { ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_UNOCC_TO_OCC_DELAY, "PIR Unoccupied to Occupied Delay" }, { ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_UNOCC_TO_OCC_THOLD, "PIR Unoccupied to Occupied Threshold" }, { ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_OCC_TO_UNOCC_DELAY, "Ultrasonic Occupied to Unoccupied Threshold" }, { ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_UNOCC_TO_OCC_DELAY, "Ultrasonic Unoccupied to Occupied Delay" }, { ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_UNOCC_TO_OCC_THOLD, "Ultrasonic Unoccupied to Occupied Threshold" }, { 0, NULL } }; /* Occupancy Sensor types */ static const value_string zbee_zcl_occ_sen_sensor_type_names[] = { { ZBEE_ZCL_OCC_SENSOR_TYPE_PIR, "PIR" }, { ZBEE_ZCL_OCC_SENSOR_TYPE_USONIC, "Ultrasonic" }, { ZBEE_ZCL_OCC_SENSOR_TYPE_PIR_AND_USONIC, "PIR and Ultrasonic" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Occupancy Sensing cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_occ_sen(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_occ_sen*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_occ_sen_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { static int * const occupancy[] = { &hf_zbee_zcl_occ_sen_occupancy_occupied, NULL }; /* Dissect attribute data type and data */ switch ( attr_id ) { case ZBEE_ZCL_ATTR_ID_OCC_SEN_OCCUPANCY: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_occ_sen_occupancy, ett_zbee_zcl_occ_sen_occupancy, occupancy, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_OCC_SEN_OCC_SENSOR_TYPE: proto_tree_add_item(tree, hf_zbee_zcl_occ_sen_occ_sensor_type, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_OCC_TO_UNOCC_DELAY: case ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_UNOCC_TO_OCC_DELAY: case ZBEE_ZCL_ATTR_ID_OCC_SEN_PIR_UNOCC_TO_OCC_THOLD: case ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_OCC_TO_UNOCC_DELAY: case ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_UNOCC_TO_OCC_DELAY: case ZBEE_ZCL_ATTR_ID_OCC_SEN_USONIC_UNOCC_TO_OCC_THOLD: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_occ_sen_attr_data*/ /** *This function registers the ZCL Occupancy Sensing dissector * */ void proto_register_zbee_zcl_occ_sen(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_occ_sen_attr_id, { "Attribute", "zbee_zcl_meas_sensing.occsen.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_occ_sen_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_occ_sen_occupancy, { "Occupancy", "zbee_zcl_meas_sensing.occsen.attr.occupancy", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_occ_sen_occupancy_occupied, { "Occupied", "zbee_zcl_meas_sensing.occsen.attr.occupancy_occupied", FT_BOOLEAN, 8, TFS(&tfs_true_false), ZBEE_ZCL_OCCUPANCY_SENSED_OCC, NULL, HFILL } }, { &hf_zbee_zcl_occ_sen_occ_sensor_type, { "Occupancy Sensor Type", "zbee_zcl_meas_sensing.occsen.attr.occ_sensor_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_occ_sen_sensor_type_names), 0x00, NULL, HFILL } } }; /* ZCL Occupancy Sensing subtrees */ static gint *ett[ZBEE_ZCL_OCC_SEN_NUM_ETT]; ett[0] = &ett_zbee_zcl_occ_sen; ett[1] = &ett_zbee_zcl_occ_sen_occupancy; /* Register the ZigBee ZCL Occupancy Sensing cluster protocol name and description */ proto_zbee_zcl_occ_sen = proto_register_protocol("ZigBee ZCL Occupancy Sensing", "ZCL Occupancy Sensing", ZBEE_PROTOABBREV_ZCL_OCCSEN); proto_register_field_array(proto_zbee_zcl_occ_sen, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Occupancy Sensing dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_OCCSEN, dissect_zbee_zcl_occ_sen, proto_zbee_zcl_occ_sen); } /*proto_register_zbee_zcl_occ_sen*/ /** *Hands off the ZCL Occupancy Sensing dissector. * */ void proto_reg_handoff_zbee_zcl_occ_sen(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_OCCSEN, proto_zbee_zcl_occ_sen, ett_zbee_zcl_occ_sen, ZBEE_ZCL_CID_OCCUPANCY_SENSING, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_occ_sen_attr_id, hf_zbee_zcl_occ_sen_attr_id, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_occ_sen_attr_data ); } /*proto_reg_handoff_zbee_zcl_occ_sen*/ /* ########################################################################## */ /* #### (0x0b04) ELECTRICAL MEASUREMENT CLUSTER ############################# */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_ELEC_MES_NUM_ETT 1 /* Attributes */ #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASUREMENT_TYPE 0x0000 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE 0x0100 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_MIN 0x0101 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_MAX 0x0102 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT 0x0103 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_MIN 0x0104 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_MAX 0x0105 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER 0x0106 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER_MIN 0x0107 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER_MAX 0x0108 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_MULTIPLIER 0x0200 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_DIVISOR 0x0201 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_MULTIPLIER 0x0202 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_DIVISOR 0x0203 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER_MULTIPLIER 0x0204 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER_DIVISOR 0x0205 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY 0x0300 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY_MIN 0x0301 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY_MAX 0x0302 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_NEUTRAL_CURRENT 0x0303 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_TOTAL_ACTIVE_POWER 0x0304 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_TOTAL_REACTIVE_POWER 0x0305 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_TOTAL_APPARENT_POWER 0x0306 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_1ST_HARMONIC_CURRENT 0x0307 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_3RD_HARMONIC_CURRENT 0x0308 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_5TH_HARMONIC_CURRENT 0x0309 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_7TH_HARMONIC_CURRENT 0x030A #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_9TH_HARMONIC_CURRENT 0x030B #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_11TH_HARMONIC_CURRENT 0x030C #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_1ST_HARMONIC_CURRENT 0x030D #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_3RD_HARMONIC_CURRENT 0x030E #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_5TH_HARMONIC_CURRENT 0x030F #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_7TH_HARMONIC_CURRENT 0x0310 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_9TH_HARMONIC_CURRENT 0x0311 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_11TH_HARMONIC_CURRENT 0x0312 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY_MULTIPLIER 0x0400 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY_DIVISOR 0x0401 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_MULTIPLIER 0x0402 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_DIVISOR 0x0403 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_HARMONIC_CURRENT_MULTIPLIER 0x0404 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_PHASE_HARMONIC_CURRENT_MULTIPLIER 0x0405 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_LINE_CURRENT 0x0501 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_CURRENT 0x0502 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_CURRENT 0x0503 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE 0x0505 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MIN 0x0506 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MAX 0x0507 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT 0x0508 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MIN 0x0509 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MAX 0x050A #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER 0x050B #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MIN 0x050C #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MAX 0x050D #define ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_POWER 0x050E #define ZBEE_ZCL_ATTR_ID_ELEC_MES_APPARENT_POWER 0x050F #define ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_FACTOR 0x0510 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD 0x0511 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_OVER_VOLTAGE_COUNTER 0x0512 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_UNDER_VOLTAGE_COUNTER 0x0513 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_OVER_VOLTAGE_PERIOD 0x0514 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_UNDER_VOLTAGE_PERIOD 0x0515 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SAG_PERIOD 0x0516 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SWELL_PERIOD 0x0517 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_VOLTAGE_MULTIPLIER 0x0600 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_VOLTAGE_DIVISOR 0x0601 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_CURRENT_MULTIPLIER 0x0602 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_CURRENT_DIVISOR 0x0603 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_POWER_MULTIPLIER 0x0604 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_POWER_DIVISOR 0x0605 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_OVERLOAD_ALARMS_MASK 0x0700 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_OVERLOAD 0x0701 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_OVERLOAD 0x0702 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_ALARMS_MASK 0x0800 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_VOLTAGE_OVERLOAD 0x0801 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_CURRENT_OVERLOAD 0x0802 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_ACTIVE_POWER_OVERLOAD 0x0803 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_REACTIVE_POWER_OVERLOAD 0x0804 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_OVER_VOLTAGE 0x0805 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_UNDER_VOLTAGE 0x0806 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_OVER_VOLTAGE 0x0807 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_UNDER_VOLTAGE 0x0808 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SAG 0x0809 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SWELL 0x080A #define ZBEE_ZCL_ATTR_ID_ELEC_MES_LINE_CURRENT_PH_B 0x0901 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_CURRENT_PH_B 0x0902 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_CURRENT_PH_B 0x0903 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_PH_B 0x0905 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MIN_PH_B 0x0906 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MAX_PH_B 0x0907 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_PH_B 0x0908 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MIN_PH_B 0x0909 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MAX_PH_B 0x090A #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_PH_B 0x090B #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MIN_PH_B 0x090C #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MAX_PH_B 0x090D #define ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_POWER_PH_B 0x090E #define ZBEE_ZCL_ATTR_ID_ELEC_MES_APPARENT_POWER_PH_B 0x090F #define ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_FACTOR_PH_B 0x0910 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PH_B 0x0911 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PH_B 0x0912 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PH_B 0x0913 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_OVER_VOLTAGE_PERIOD_PH_B 0x0914 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PH_B 0x0915 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SAG_PERIOD_PH_B 0x0916 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SWELL_PERIOD_PH_B 0x0917 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_LINE_CURRENT_PH_C 0x0A01 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_CURRENT_PH_C 0x0A03 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_PH_C 0x0A05 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MIN_PH_C 0x0A06 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MAX_PH_C 0x0A07 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_PH_C 0x0A08 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MIN_PH_C 0x0A09 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MAX_PH_C 0x0A0A #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_PH_C 0x0A0B #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MIN_PH_C 0x0A0C #define ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MAX_PH_C 0x0A0D #define ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_POWER_PH_C 0x0A0E #define ZBEE_ZCL_ATTR_ID_ELEC_MES_APPARENT_POWER_PH_C 0x0A0F #define ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_FACTOR_PH_C 0x0A10 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PH_C 0x0A11 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PH_C 0x0A12 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PH_C 0x0A13 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_OVER_VOLTAGE_PERIOD_PH_C 0x0A14 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PH_C 0x0A15 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SAG_PERIOD_PH_C 0x0A16 #define ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SWELL_PERIOD_PH_C 0x0A17 /* Server Commands Received */ #define ZBEE_ZCL_CMD_GET_PROFILE_INFO 0x00 #define ZBEE_ZCL_CMD_GET_MEASUREMENT_PROFILE_INFO 0x01 /* Server Commands Generated */ #define ZBEE_ZCL_CMD_GET_PROFILE_INFO_RESPONSE 0x00 #define ZBEE_ZCL_CMD_GET_MEASUREMENT_PROFILE_INFO_RESPONSE 0x01 /* Profile Interval Period */ #define ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_DAILY 0 #define ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_60_MINUTES 1 #define ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_30_MINUTES 2 #define ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_15_MINUTES 3 #define ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_10_MINUTES 4 #define ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_7_5_MINUTES 5 #define ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_5_MINUTES 6 #define ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_2_5_MINUTES 7 /* List of Status Valid Values */ #define ZBEE_ZCL_ELEC_MES_STATUS_SUCCESS 0x00 #define ZBEE_ZCL_ELEC_MES_STATUS_ATTRIBUTE_PROFILE_NOT_SUPPORTED 0x01 #define ZBEE_ZCL_ELEC_MES_STATUS_INVALID_START_TIME 0x02 #define ZBEE_ZCL_ELEC_MES_STATUS_MORE_INTERVALS_REQUESTED_THAN_CAN_BE_RET 0x03 #define ZBEE_ZCL_ELEC_MES_STATUS_NO_INTERVALS_AVAILABLE_FOR_THE_REQ_TIME 0x04 /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_elec_mes(void); void proto_reg_handoff_zbee_zcl_elec_mes(void); /* Command Dissector Helpers */ static void dissect_zcl_elec_mes_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); static void dissect_zcl_elec_mes_get_measurement_profile_info (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_elec_mes_get_profile_info_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_elec_mes_get_measurement_profile_info_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_elec_mes = -1; static int hf_zbee_zcl_elec_mes_srv_tx_cmd_id = -1; static int hf_zbee_zcl_elec_mes_srv_rx_cmd_id = -1; static int hf_zbee_zcl_elec_mes_attr_id = -1; static int hf_zbee_zcl_elec_mes_start_time = -1; static int hf_zbee_zcl_elec_mes_number_of_intervals = -1; static int hf_zbee_zcl_elec_mes_profile_count = -1; static int hf_zbee_zcl_elec_mes_profile_interval_period = -1; static int hf_zbee_zcl_elec_mes_max_number_of_intervals = -1; static int hf_zbee_zcl_elec_mes_status = -1; static int hf_zbee_zcl_elec_mes_number_of_intervals_delivered = -1; static int hf_zbee_zcl_elec_mes_intervals = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_elec_mes = -1; /* Attributes */ static const value_string zbee_zcl_elec_mes_attr_names[] = { { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASUREMENT_TYPE, "Measurement Type" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE, "DC Voltage" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_MIN, "DC Voltage Min" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_MAX, "DC Voltage Max" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT, "DC Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_MIN, "DC Current Min" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_MAX, "DC Current Max" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER, "DC Power" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER_MIN, "DC Power Min" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER_MAX, "DC Power Max" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_MULTIPLIER, "DC Voltage Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_DIVISOR, "DC Voltage Divisor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_MULTIPLIER, "DC Current Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_DIVISOR, "DC Current Divisor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER_MULTIPLIER, "DC Power Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_POWER_DIVISOR, "DC Power Divisor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY, "AC Frequency" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY_MIN, "AC Frequency Min" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY_MAX, "AC Frequency Max" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_NEUTRAL_CURRENT, "Neutral Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_TOTAL_ACTIVE_POWER, "Total Active Power" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_TOTAL_REACTIVE_POWER, "Total Reactive Power" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_TOTAL_APPARENT_POWER, "Total Apparent Power" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_1ST_HARMONIC_CURRENT, "Measured 1st Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_3RD_HARMONIC_CURRENT, "Measured 3rd Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_5TH_HARMONIC_CURRENT, "Measured 5th Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_7TH_HARMONIC_CURRENT, "Measured 7th Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_9TH_HARMONIC_CURRENT, "Measured 9th Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_11TH_HARMONIC_CURRENT, "Measured 11th Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_1ST_HARMONIC_CURRENT, "Measured Phase 1st Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_3RD_HARMONIC_CURRENT, "Measured Phase 3rd Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_5TH_HARMONIC_CURRENT, "Measured Phase 5th Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_7TH_HARMONIC_CURRENT, "Measured Phase 7th Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_9TH_HARMONIC_CURRENT, "Measured Phase 9th Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_MEASURED_PHASE_11TH_HARMONIC_CURRENT, "Measured Phase 11th Harmonic Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY_MULTIPLIER, "AC Frequency Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_FREQUENCY_DIVISOR, "AC Frequency Divisor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_MULTIPLIER, "Power Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_DIVISOR, "Power Divisor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_HARMONIC_CURRENT_MULTIPLIER, "Harmonic Current Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_PHASE_HARMONIC_CURRENT_MULTIPLIER, "Phase Harmonic Current Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_LINE_CURRENT, "Line Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_CURRENT, "Active Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_CURRENT, "Reactive Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE, "RMS Voltage" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MIN, "RMS Voltage Min" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MAX, "RMS Voltage Max" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT, "RMS Current" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MIN, "RMS Current Min" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MAX, "RMS Current Max" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER, "Active Power" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MIN, "Active Power Min" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MAX, "Active Power Max" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_POWER, "Reactive Power" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_APPARENT_POWER, "Apparent Power" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_FACTOR, "Power Factor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD, "Average RMS Voltage Measurement Period" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_OVER_VOLTAGE_COUNTER, "Average RMS Over Voltage Counter" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_UNDER_VOLTAGE_COUNTER, "Average RMS Under Voltage Counter" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_OVER_VOLTAGE_PERIOD, "RMS Extreme Over Voltage Period" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_UNDER_VOLTAGE_PERIOD, "RMS Extreme Under Voltage Period" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SAG_PERIOD, "RMS Voltage Sag Period" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SWELL_PERIOD, "RMS Voltage Swell Period" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_VOLTAGE_MULTIPLIER, "AC Voltage Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_VOLTAGE_DIVISOR, "AC Voltage Divisor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_CURRENT_MULTIPLIER, "AC Current Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_CURRENT_DIVISOR, "AC Current Divisor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_POWER_MULTIPLIER, "AC Power Multiplier" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_POWER_DIVISOR, "AC Power Divisor" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_OVERLOAD_ALARMS_MASK, "DC Overload Alarms Mask" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_VOLTAGE_OVERLOAD, "DC Voltage Overload" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_DC_CURRENT_OVERLOAD, "DC Current Overload" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_ALARMS_MASK, "AC Alarms Mask" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_VOLTAGE_OVERLOAD, "AC Voltage Overload" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_CURRENT_OVERLOAD, "AC Current Overload" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_ACTIVE_POWER_OVERLOAD, "AC Active Power Overload" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AC_REACTIVE_POWER_OVERLOAD, "AC Reactive Power Overload" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_OVER_VOLTAGE, "Average RMS Over Voltage" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_UNDER_VOLTAGE, "Average RMS Under Voltage" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_OVER_VOLTAGE, "RMS Extreme Over Voltage" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_UNDER_VOLTAGE, "RMS Extreme Under Voltage" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SAG, "RMS Voltage Sag" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SWELL, "RMS Voltage Swell" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_LINE_CURRENT_PH_B, "Line Current Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_CURRENT_PH_B, "Active Current Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_CURRENT_PH_B, "Reactive Current Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_PH_B, "RMS Voltage Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MIN_PH_B, "RMS Voltage Min Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MAX_PH_B, "RMS Voltage Max Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_PH_B, "RMS Current Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MIN_PH_B, "RMS Current Min Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MAX_PH_B, "RMS Current Max Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_PH_B, "Active Power Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MIN_PH_B, "Active Power Min Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MAX_PH_B, "Active Power Max Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_POWER_PH_B, "Reactive Power Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_APPARENT_POWER_PH_B, "Apparent Power Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_FACTOR_PH_B, "Power Factor Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PH_B, "Average RMS Voltage Measurement Period Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PH_B, "Average RMS Over Voltage Counter Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PH_B, "Average RMS Under Voltage Counter Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_OVER_VOLTAGE_PERIOD_PH_B, "RMS Extreme Over Voltage Period Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PH_B, "RMS Extreme Under Voltage Period Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SAG_PERIOD_PH_B, "RMS Voltage Sag Period Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SWELL_PERIOD_PH_B, "RMS Voltage Swell Period Ph B" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_LINE_CURRENT_PH_C, "Line Current Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_CURRENT_PH_C, "Reactive Current Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_PH_C, "RMS Voltage Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MIN_PH_C, "RMS Voltage Min Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_MAX_PH_C, "RMS Voltage Max Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_PH_C, "RMS Current Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MIN_PH_C, "RMS Current Min Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_CURRENT_MAX_PH_C, "RMS Current Max Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_PH_C, "Active Power Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MIN_PH_C, "Active Power Min Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_ACTIVE_POWER_MAX_PH_C, "Active Power Max Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_REACTIVE_POWER_PH_C, "Reactive Power Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_APPARENT_POWER_PH_C, "Apparent Power Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_POWER_FACTOR_PH_C, "Power Factor Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PH_C, "Average RMS Voltage Measurement Period Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PH_C, "Average RMS Over Voltage Counter Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PH_C, "Average RMS Under Voltage Counter Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_OVER_VOLTAGE_PERIOD_PH_C, "RMS Extreme Over Voltage Period Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PH_C, "RMS Extreme Under Voltage Period Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SAG_PERIOD_PH_C, "RMS Voltage Sag Period Ph C" }, { ZBEE_ZCL_ATTR_ID_ELEC_MES_RMS_VOLTAGE_SWELL_PERIOD_PH_C, "RMS Voltage Swell Period Ph C" }, { 0, NULL } }; static value_string_ext zbee_zcl_elec_mes_attr_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_elec_mes_attr_names); /* Server Commands Received */ static const value_string zbee_zcl_elec_mes_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_GET_PROFILE_INFO, "Get Profile Info", }, { ZBEE_ZCL_CMD_GET_MEASUREMENT_PROFILE_INFO, "Get Measurement Profile", }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_elec_mes_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_GET_PROFILE_INFO_RESPONSE, "Get Profile Info Response", }, { ZBEE_ZCL_CMD_GET_MEASUREMENT_PROFILE_INFO_RESPONSE, "Get Measurement Profile Response", }, { 0, NULL } }; /* Profile Interval Period */ static const value_string zbee_zcl_elec_mes_profile_interval_period_names[] = { { ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_DAILY, "Daily", }, { ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_60_MINUTES, "60 Minutes", }, { ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_30_MINUTES, "30 Minutes", }, { ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_15_MINUTES, "15 Minutes", }, { ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_10_MINUTES, "10 Minutes", }, { ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_7_5_MINUTES, "7.5 Minutes", }, { ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_5_MINUTES, "5 Minutes", }, { ZBEE_ZCL_ELEC_MES_PROFILE_INTERVAL_PERIOD_2_5_MINUTES, "2.5 Minutes", }, { 0, NULL } }; /* List of Status Valid Values */ static const value_string zbee_zcl_elec_mes_status_names[] = { { ZBEE_ZCL_ELEC_MES_STATUS_SUCCESS, "Success", }, { ZBEE_ZCL_ELEC_MES_STATUS_ATTRIBUTE_PROFILE_NOT_SUPPORTED, "Attribute Profile not supported", }, { ZBEE_ZCL_ELEC_MES_STATUS_INVALID_START_TIME, "Invalid Start Time", }, { ZBEE_ZCL_ELEC_MES_STATUS_MORE_INTERVALS_REQUESTED_THAN_CAN_BE_RET, "More intervals requested than can be returned", }, { ZBEE_ZCL_ELEC_MES_STATUS_NO_INTERVALS_AVAILABLE_FOR_THE_REQ_TIME, "No intervals available for the requested time", }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Electrical Measurement cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_elec_mes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_elec_mes_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_elec_mes_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_elec_mes, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_GET_PROFILE_INFO: /* No Payload */ break; case ZBEE_ZCL_CMD_GET_MEASUREMENT_PROFILE_INFO: dissect_zcl_elec_mes_get_measurement_profile_info(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_elec_mes_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_elec_mes_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_elec_mes, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_GET_PROFILE_INFO_RESPONSE: dissect_zcl_elec_mes_get_profile_info_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_GET_MEASUREMENT_PROFILE_INFO_RESPONSE: dissect_zcl_elec_mes_get_measurement_profile_info_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_elec_mes*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_elec_mes_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch ( attr_id ) { default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_elec_mes_attr_data*/ /** *This function manages the Get Measurement Profile Info payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_elec_mes_get_measurement_profile_info(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_attr_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_elec_mes_start_time, tvb, *offset, 4, &start_time); *offset += 4; proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_number_of_intervals, tvb, *offset, 1, ENC_NA); *offset += 1; } /** *This function manages the Get Profile Info Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_elec_mes_get_profile_info_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_profile_count, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_profile_interval_period, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_max_number_of_intervals, tvb, *offset, 1, ENC_NA); *offset += 1; while (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_attr_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } /** *This function manages the Get Measurement Profile Info Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_elec_mes_get_measurement_profile_info_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; guint rem_len; start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_elec_mes_start_time, tvb, *offset, 4, &start_time); *offset += 4; proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_status, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_profile_interval_period, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_number_of_intervals_delivered, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_attr_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; rem_len = tvb_reported_length_remaining(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_elec_mes_intervals, tvb, *offset, rem_len, ENC_NA); *offset += rem_len; } /** *This function registers the ZCL Occupancy Sensing dissector * */ void proto_register_zbee_zcl_elec_mes(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_elec_mes_srv_tx_cmd_id, { "Command", "zbee_zcl_meas_sensing.elecmes.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_elec_mes_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_srv_rx_cmd_id, { "Command", "zbee_zcl_meas_sensing.elecmes.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_elec_mes_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_attr_id, { "Attribute", "zbee_zcl_meas_sensing.elecmes.attr_id", FT_UINT16, BASE_HEX | BASE_EXT_STRING, &zbee_zcl_elec_mes_attr_names_ext, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_start_time, { "Start Time", "zbee_zcl_meas_sensing.elecmes.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_number_of_intervals, { "Number of Intervals", "zbee_zcl_meas_sensing.elecmes.number_of_intervals", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_profile_count, { "Profile Count", "zbee_zcl_meas_sensing.elecmes.profile_count", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_profile_interval_period, { "Profile Interval Period", "zbee_zcl_meas_sensing.elecmes.profile_interval_period", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_max_number_of_intervals, { "Max Number of Intervals", "zbee_zcl_meas_sensing.elecmes.max_number_of_intervals", FT_UINT8, BASE_DEC, VALS(zbee_zcl_elec_mes_profile_interval_period_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_status, { "Status", "zbee_zcl_meas_sensing.elecmes.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_elec_mes_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_number_of_intervals_delivered, { "Number of Intervals Delivered", "zbee_zcl_meas_sensing.elecmes.number_of_intervals_delivered", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_elec_mes_intervals, { "Intervals", "zbee_zcl_meas_sensing.elecmes.intervals", FT_BYTES, BASE_NONE, NULL, 0x00, NULL, HFILL } } }; /* ZCL Electrical Measurement subtrees */ static gint *ett[ZBEE_ZCL_ELEC_MES_NUM_ETT]; ett[0] = &ett_zbee_zcl_elec_mes; /* Register the ZigBee ZCL Electrical Measurement cluster protocol name and description */ proto_zbee_zcl_elec_mes = proto_register_protocol("ZigBee ZCL Electrical Measurement", "ZCL Electrical Measurement", ZBEE_PROTOABBREV_ZCL_ELECMES); proto_register_field_array(proto_zbee_zcl_elec_mes, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Electrical Measurement dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ELECMES, dissect_zbee_zcl_elec_mes, proto_zbee_zcl_elec_mes); } /*proto_register_zbee_zcl_elec_mes*/ /** *Hands off the ZCL Electrical Measurement dissector. * */ void proto_reg_handoff_zbee_zcl_elec_mes(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ELECMES, proto_zbee_zcl_elec_mes, ett_zbee_zcl_elec_mes, ZBEE_ZCL_CID_ELECTRICAL_MEASUREMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_elec_mes_attr_id, -1, hf_zbee_zcl_elec_mes_srv_rx_cmd_id, hf_zbee_zcl_elec_mes_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_elec_mes_attr_data ); } /*proto_reg_handoff_zbee_zcl_elec_mes*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl-misc.c
/* packet-zbee-zcl-misc.c * Dissector routines for the ZigBee ZCL SE clusters like * Messaging * By Fabio Tarabelloni <[email protected]> * Copyright 2013 RELOC s.r.l. * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" /* ########################################################################## */ /* #### (0x0201) THERMOSTAT CLUSTER ######################################### */ /* ########################################################################## */ /* Cluster-specific commands and parameters */ #define ZBEE_ZCL_CSC_POLL_CONTROL_C_CIR 0x00 #define ZBEE_ZCL_CSC_POLL_CONTROL_C_FPS 0x01 #define ZBEE_ZCL_CSC_POLL_CONTROL_C_SLPI 0x02 #define ZBEE_ZCL_CSC_POLL_CONTROL_C_SSPI 0x03 #define ZBEE_ZCL_CSC_POLL_CONTROL_S_CI 0x00 #define ZBEE_ZCL_CSC_THERMOSTAT_C_CWS 0x03 #define ZBEE_ZCL_CSC_THERMOSTAT_C_GWS 0x02 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SRL 0x00 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS 0x01 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_AV 0x80 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_FR 0x20 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_MO 0x02 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_SA 0x40 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_SU 0x01 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_TH 0x10 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_TU 0x04 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_WE 0x08 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_SP_B 0x03 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_SP_C 0x02 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_SP_H 0x01 #define ZBEE_ZCL_CSC_THERMOSTAT_S_GWSR 0x00 #define ZBEE_ZCL_THERMOSTAT_NUM_ETT 3 /* Thermostat Information Attributes */ #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_LOCAL_TEMP 0x0000 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_OUTDOOR_TEMP 0x0001 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_OCCUPANCY 0x0002 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_ABS_MIN_HEAT_SETPOINT 0x0003 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_ABS_MAX_HEAT_SETPOINT 0x0004 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_ABS_MIN_COOL_SETPOINT 0x0005 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_ABS_MAX_COOL_SETPOINT 0x0006 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_PI_COOL_DEMAND 0x0007 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_PI_HEAT_DEMAND 0x0008 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_HVAC_TYPE_CONFIG 0x0009 /* Thermostat Settings Attributes */ #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_LOCAL_TEMP_CALIBRATION 0x0010 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_OCCUPIED_COOL_SETPOINT 0x0011 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_OCCUPIED_HEAT_SETPOINT 0x0012 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_UNOCCUPIED_COOL_SETPOINT 0x0013 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_UNOCCUPIED_HEAT_SETPOINT 0x0014 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_MIN_HEAT_SETPOINT 0x0015 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_MAX_HEAT_SETPOINT 0x0016 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_MIN_COOL_SETPOINT 0x0017 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_MAX_COOL_SETPOINT 0x0018 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_MIN_SETPOINT_DEADBAND 0x0019 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_REMOTE_SENSING 0x001A #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_CONTROL_SEQUENCE 0x001B #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_SYSTEM_MODE 0x001C #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_ALARM_MASK 0x001D #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_RUNNING_MODE 0x001E /* Schedule & HVAC Relay Attributes. */ #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_START_OF_WEEK 0x0020 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_NUM_WEEKLY_TRANSITIONS 0x0021 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_NUM_DAILY_TRANSITIONS 0x0022 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_SETPOINT_HOLD 0x0023 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_SETPOINT_HOLD_DURATION 0x0024 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_PROGRAMMING_MODE 0x0025 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_RUNNING_STATE 0x0029 /* Setpoint Change Tracking Attributes. */ #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_SETPOINT_CHANGE_SOURCE 0x0030 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_SETPOINT_CHANGE_AMOUNT 0x0031 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_SETPOINT_CHANGE_TIME 0x0032 /* Air Conditioning Atrributes. */ #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_AC_TYPE 0x0040 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_AC_CAPACITY 0x0041 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_AC_REFRIGERANT_TYPE 0x0042 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_AC_COMPRESSOR_TYPE 0x0043 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_AC_ERROR_CODE 0x0044 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_AC_LOUVER_POSITION 0x0045 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_AC_COIL_TEMPERATURE 0x0046 #define ZBEE_ZCL_ATTR_ID_THERMOSTAT_AC_CAPACITY_FORMAT 0x0047 static const value_string zbee_zcl_thermostat_attr_names[] = { { ZBEE_ZCL_ATTR_ID_THERMOSTAT_LOCAL_TEMP, "LocalTemperature" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_OUTDOOR_TEMP, "OutdoorTemperature" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_OCCUPANCY, "Occupancy" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_ABS_MIN_HEAT_SETPOINT, "AbsMinHeatSetpointLimit" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_ABS_MAX_HEAT_SETPOINT, "AbsMaxHeatSetpointLimit" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_ABS_MIN_COOL_SETPOINT, "AbsMinCoolSetpointLimit" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_ABS_MAX_COOL_SETPOINT, "AbsMaxCoolSetpointLimit" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_PI_COOL_DEMAND, "PICoolingDemand" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_PI_HEAT_DEMAND, "PIHeatingDemand" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_HVAC_TYPE_CONFIG, "HVACSystemTypeConfiguration" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_LOCAL_TEMP_CALIBRATION, "LocalTemperatureCalibration" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_OCCUPIED_COOL_SETPOINT, "OccupiedCoolingSetpoint" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_OCCUPIED_HEAT_SETPOINT, "OccupiedHeatingSetpoint" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_UNOCCUPIED_COOL_SETPOINT, "UnoccupiedCoolingSetpoint" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_UNOCCUPIED_HEAT_SETPOINT, "UnoccupiedHeatingSetpoint" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_MIN_HEAT_SETPOINT, "MinHeatSetpointLimit" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_MAX_HEAT_SETPOINT, "MaxHeatSetpointLimit" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_MIN_COOL_SETPOINT, "MinCoolSetpointLimit" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_MAX_COOL_SETPOINT, "MaxCoolSetpointLimit" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_MIN_SETPOINT_DEADBAND, "MinSetpointDeadBand" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_REMOTE_SENSING, "RemoteSensing" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_CONTROL_SEQUENCE, "ControlSequenceOfOperation" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_SYSTEM_MODE, "SystemMode" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_ALARM_MASK, "AlarmMask" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_RUNNING_MODE, "ThermostatRunningMode" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_START_OF_WEEK, "StartOfWeek" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_NUM_WEEKLY_TRANSITIONS, "NumberOfWeeklyTransitions" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_NUM_DAILY_TRANSITIONS, "NumberOfDailyTransitions" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_SETPOINT_HOLD, "TemperatureSetpointHold" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_SETPOINT_HOLD_DURATION, "TemperatureSetpointHoldDuration" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_PROGRAMMING_MODE, "ThermostatProgrammingOperationMode" }, { ZBEE_ZCL_ATTR_ID_THERMOSTAT_RUNNING_STATE, "ThermostatRunningState" }, { 0, NULL } }; /* RemoteSensing bitmask. */ #define ZBEE_ZCL_THERMOSTAT_REMOTE_SENSE_LOCAL 0x01 #define ZBEE_ZCL_THERMOSTAT_REMOTE_SENSE_OUTDOOR 0x02 #define ZBEE_ZCL_THERMOSTAT_REMOTE_SENSE_OCCUPANCY 0x04 #define ZBEE_ZCL_THERMOSTAT_ALARM_INIT_FAILURE 0x01 #define ZBEE_ZCL_THERMOSTAT_ALARM_HARDWARE_FAILURE 0x02 #define ZBEE_ZCL_THERMOSTAT_ALARM_CALIBRATION_FAILURE 0x04 /* Programming operation mode bits. */ #define ZBEE_ZCL_THERMOSTAT_PROGRAM_MODE_SCHEDULE 0x01 #define ZBEE_ZCL_THERMOSTAT_PROGRAM_MODE_AUTO 0x02 #define ZBEE_ZCL_THERMOSTAT_PROGRAM_MODE_ENERGY_STAR 0x04 /* HVAC Running State bits. */ #define ZBEE_ZCL_THERMOSTAT_RUNNING_STATE_HEAT 0x0001 #define ZBEE_ZCL_THERMOSTAT_RUNNING_STATE_COOL 0x0002 #define ZBEE_ZCL_THERMOSTAT_RUNNING_STATE_FAN 0x0004 #define ZBEE_ZCL_THERMOSTAT_RUNNING_STATE_HEAT2 0x0008 #define ZBEE_ZCL_THERMOSTAT_RUNNING_STATE_COOL2 0x0010 #define ZBEE_ZCL_THERMOSTAT_RUNNING_STATE_FAN2 0x0020 #define ZBEE_ZCL_THERMOSTAT_RUNNING_STATE_FAN3 0x0040 /* Client-to-server commands. */ #define ZBEE_ZCL_CMD_ID_THERMOSTAT_SETPOINT 0x00 #define ZBEE_ZCL_CMD_ID_THERMOSTAT_SET_SCHEDULE 0x01 #define ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_SCHEDULE 0x02 #define ZBEE_ZCL_CMD_ID_THERMOSTAT_CLEAR_SCHEDULE 0x03 #define ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_RELAY_LOG 0x04 static const value_string zbee_zcl_thermostat_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_THERMOSTAT_SETPOINT, "Setpoint Raise/Lower" }, { ZBEE_ZCL_CMD_ID_THERMOSTAT_SET_SCHEDULE, "Set Weekly Schedule" }, { ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_SCHEDULE, "Get Weekly Schedule" }, { ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_RELAY_LOG, "Get Relay Status Log" }, { 0, NULL } }; #define ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_SCHEDULE_RESPONSE 0x00 #define ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_RELAY_LOG_RESPONSE 0x01 static const value_string zbee_zcl_thermostat_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_SCHEDULE_RESPONSE, "Get Weekly Schedule Response" }, { ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_RELAY_LOG_RESPONSE,"Get Relay Status Log Response" }, { 0, NULL } }; #define ZBEE_ZCL_CMD_THERMOSTAT_SCHEDULE_MODE_SEQUENCE_HEAT 0x01 #define ZBEE_ZCL_CMD_THERMOSTAT_SCHEDULE_MODE_SEQUENCE_COOL 0x02 /* Setpoint mode names. */ static const value_string zbee_zcl_thermostat_setpoint_mode_names[] = { { 0, "Heat" }, { 1, "Cool" }, { 2, "Both" }, { 0, NULL } }; /*************************/ /* Global Variables */ /*************************/ static int proto_zbee_zcl_thermostat = -1; static int hf_zbee_zcl_thermostat_attr_id = -1; static int hf_zbee_zcl_thermostat_srv_rx_cmd_id = -1; static int hf_zbee_zcl_thermostat_srv_tx_cmd_id = -1; static int hf_zbee_zcl_thermostat_setpoint_mode = -1; static int hf_zbee_zcl_thermostat_setpoint_amount = -1; static int hf_zbee_zcl_thermostat_schedule_num_trans = -1; static int hf_zbee_zcl_thermostat_schedule_day_sequence = -1; static int hf_zbee_zcl_thermostat_schedule_day_sunday = -1; static int hf_zbee_zcl_thermostat_schedule_day_monday = -1; static int hf_zbee_zcl_thermostat_schedule_day_tuesday = -1; static int hf_zbee_zcl_thermostat_schedule_day_wednesday = -1; static int hf_zbee_zcl_thermostat_schedule_day_thursday = -1; static int hf_zbee_zcl_thermostat_schedule_day_friday = -1; static int hf_zbee_zcl_thermostat_schedule_day_saturday = -1; static int hf_zbee_zcl_thermostat_schedule_day_vacation = -1; static int hf_zbee_zcl_thermostat_schedule_mode_sequence = -1; static int hf_zbee_zcl_thermostat_schedule_mode_heat = -1; static int hf_zbee_zcl_thermostat_schedule_mode_cool = -1; static int hf_zbee_zcl_thermostat_schedule_time = -1; static int hf_zbee_zcl_thermostat_schedule_heat = -1; static int hf_zbee_zcl_thermostat_schedule_cool = -1; static gint ett_zbee_zcl_thermostat = -1; static gint ett_zbee_zcl_thermostat_schedule_days = -1; static gint ett_zbee_zcl_thermostat_schedule_mode = -1; /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_thermostat(void); void proto_reg_handoff_zbee_zcl_thermostat(void); /* Attribute Dissector Helpers */ static void dissect_zcl_thermostat_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); static int dissect_zcl_thermostat_schedule(proto_tree *tree, tvbuff_t *tvb, guint offset); static void dissect_zcl_thermostat_schedule_days(proto_tree *tree, tvbuff_t *tvb, guint offset); static void dissect_zcl_thermostat_schedule_mode(proto_tree *tree, tvbuff_t *tvb, guint offset); /** *Helper function to dissect a Thermostat scheduling days bitmask. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset payload offset of the ZoneStatus value. */ static void dissect_zcl_thermostat_schedule_days(proto_tree *tree, tvbuff_t *tvb, guint offset) { static int * const thermostat_schedule_days[] = { &hf_zbee_zcl_thermostat_schedule_day_sunday, &hf_zbee_zcl_thermostat_schedule_day_monday, &hf_zbee_zcl_thermostat_schedule_day_tuesday, &hf_zbee_zcl_thermostat_schedule_day_wednesday, &hf_zbee_zcl_thermostat_schedule_day_thursday, &hf_zbee_zcl_thermostat_schedule_day_friday, &hf_zbee_zcl_thermostat_schedule_day_saturday, &hf_zbee_zcl_thermostat_schedule_day_vacation, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_thermostat_schedule_day_sequence, ett_zbee_zcl_thermostat_schedule_days, thermostat_schedule_days, ENC_NA); } /* dissect_zcl_thermostat_schedule_days */ /** *Helper function to dissect a Thermostat scheduling mode bitmask. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset payload offset of the ZoneStatus value. */ static void dissect_zcl_thermostat_schedule_mode(proto_tree *tree, tvbuff_t *tvb, guint offset) { static int * const thermostat_schedule_modes[] = { &hf_zbee_zcl_thermostat_schedule_mode_heat, &hf_zbee_zcl_thermostat_schedule_mode_cool, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_thermostat_schedule_mode_sequence, ett_zbee_zcl_thermostat_schedule_mode, thermostat_schedule_modes, ENC_NA); } /** *Helper function to dissect a Thermostat schedule, which has * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset payload offset of the ZoneStatus value. *@return length of parsed data. */ static int dissect_zcl_thermostat_schedule(proto_tree *tree, tvbuff_t *tvb, guint offset) { guint start = offset; guint8 num_transitions; guint8 mode_sequence; int i; num_transitions = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zbee_zcl_thermostat_schedule_num_trans, tvb, offset, 1, num_transitions); offset++; dissect_zcl_thermostat_schedule_days(tree, tvb, offset); offset++; mode_sequence = tvb_get_guint8(tvb, offset); dissect_zcl_thermostat_schedule_mode(tree, tvb, offset); offset++; /* Parse the list of setpoint transitions. */ for (i = 0; i < num_transitions; i++) { nstime_t tv; tv.secs = tvb_get_letohs(tvb, offset) * 60; tv.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_thermostat_schedule_time, tvb, offset, 2, &tv); offset += 2; if (mode_sequence & ZBEE_ZCL_CMD_THERMOSTAT_SCHEDULE_MODE_SEQUENCE_HEAT) { float setpoint = tvb_get_letohis(tvb, offset); proto_tree_add_float(tree, hf_zbee_zcl_thermostat_schedule_heat, tvb, offset, 2, (setpoint / 100.0f)); offset += 2; } if (mode_sequence & ZBEE_ZCL_CMD_THERMOSTAT_SCHEDULE_MODE_SEQUENCE_COOL) { float setpoint = tvb_get_letohis(tvb, offset); proto_tree_add_float(tree, hf_zbee_zcl_thermostat_schedule_cool, tvb, offset, 2, (setpoint / 100.0f)); offset += 2; } } /* for */ /* Return the number of bytes parsed. */ return (offset - start); } /* dissect_zcl_thermostat_cmd_schedule */ /** *ZigBee ZCL Thermostat cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param data pointer to ZCL packet structure. *@return length of parsed data. */ static int dissect_zbee_zcl_thermostat(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; float amount; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_thermostat_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_thermostat_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset++; /* Handle the command dissection. */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_THERMOSTAT_SETPOINT: /* Setpoint Raise/Lower. */ proto_tree_add_item(tree, hf_zbee_zcl_thermostat_setpoint_mode, tvb, offset, 1, ENC_NA); offset++; amount = tvb_get_gint8(tvb, offset); proto_tree_add_float(tree, hf_zbee_zcl_thermostat_setpoint_amount, tvb, offset, 1, (amount / 100.0f)); offset++; break; case ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_SCHEDULE: /* Get Weekly Schedule. */ dissect_zcl_thermostat_schedule_days(tree, tvb, offset); offset++; dissect_zcl_thermostat_schedule_mode(tree, tvb, offset); offset++; break; case ZBEE_ZCL_CMD_ID_THERMOSTAT_SET_SCHEDULE: /* Set Weekly Schedule. */ dissect_zcl_thermostat_schedule(tree, tvb, offset); break; case ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_RELAY_LOG: /* No Payload - fall-through. */ default: break; } /* switch */ } else { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_thermostat_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_thermostat_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset++; /* Handle the command dissection. */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_SCHEDULE_RESPONSE: /* Get Weekly Schedule Response. */ dissect_zcl_thermostat_schedule(tree, tvb, offset); break; case ZBEE_ZCL_CMD_ID_THERMOSTAT_GET_RELAY_LOG_RESPONSE: /* TODO: Implement Me! */ default: break; } /* switch */ } return tvb_captured_length(tvb); } /* dissect_zbee_zcl_thermostat */ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_thermostat_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_thermostat_attr_data*/ /** *ZigBee ZCL IAS Zone cluste protocol registration. * */ void proto_register_zbee_zcl_thermostat(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_thermostat_attr_id, { "Attribute", "zbee_zcl_hvac.thermostat.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_thermostat_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_thermostat_srv_rx_cmd_id, { "Command", "zbee_zcl_hvac.thermostat.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_thermostat_srv_rx_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_srv_tx_cmd_id, { "Command", "zbee_zcl_hvac.thermostat.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_thermostat_srv_tx_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_setpoint_mode, { "Mode", "zbee_zcl_hvac.thermostat.mode", FT_UINT8, BASE_HEX, VALS(zbee_zcl_thermostat_setpoint_mode_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_setpoint_amount, { "Amount", "zbee_zcl_hvac.thermostat.amount", FT_FLOAT, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_num_trans, { "Number of Transitions for Sequence", "zbee_zcl_hvac.thermostat.num_trans", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_sequence, { "Days of Week for Sequence", "zbee_zcl_hvac.thermostat.day_sequence", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_sunday, { "Sunday", "zbee_zcl_hvac.thermostat.day.sunday", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x01, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_monday, { "Monday", "zbee_zcl_hvac.thermostat.day.monday", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x02, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_tuesday, { "Tuesday", "zbee_zcl_hvac.thermostat.day.tuesday", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x04, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_wednesday, { "Wednesday", "zbee_zcl_hvac.thermostat.day.wednesday", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x08, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_thursday, { "Thursday", "zbee_zcl_hvac.thermostat.day.thursday", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x10, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_friday, { "Friday", "zbee_zcl_hvac.thermostat.day.friday", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x20, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_saturday, { "Saturday", "zbee_zcl_hvac.thermostat.day.saturday", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x40, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_day_vacation, { "Away/Vacation", "zbee_zcl_hvac.thermostat.day.vacation", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x80, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_mode_sequence, { "Mode for Sequence", "zbee_zcl_hvac.thermostat.mode_sequence", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_mode_heat, { "Heating", "zbee_zcl_hvac.thermostat.mode.heat", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x01, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_mode_cool, { "Cooling", "zbee_zcl_hvac.thermostat.mode.cool", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x02, NULL, HFILL }}, { &hf_zbee_zcl_thermostat_schedule_time, { "Transition Time", "zbee_zcl_hvac.thermostat.time", FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0, "Setpoint transition time relative to midnight of the scheduled day", HFILL }}, { &hf_zbee_zcl_thermostat_schedule_heat, { "Heating Setpoint", "zbee_zcl_hvac.thermostat.heat", FT_FLOAT, BASE_NONE, NULL, 0x0, "Heating setpoint in degrees Celsius", HFILL }}, { &hf_zbee_zcl_thermostat_schedule_cool, { "Cooling Setpoint", "zbee_zcl_hvac.thermostat.cool", FT_FLOAT, BASE_NONE, NULL, 0x0, "Cooling setpoint in degrees Celsius", HFILL }} }; /* ZCL IAS Zone subtrees */ static gint *ett[ZBEE_ZCL_THERMOSTAT_NUM_ETT]; ett[0] = &ett_zbee_zcl_thermostat; ett[1] = &ett_zbee_zcl_thermostat_schedule_days; ett[2] = &ett_zbee_zcl_thermostat_schedule_mode; /* Register the ZigBee ZCL IAS Zoben cluster protocol name and description */ proto_zbee_zcl_thermostat = proto_register_protocol("ZigBee ZCL Thermostat", "ZCL Thermostat", ZBEE_PROTOABBREV_ZCL_THERMOSTAT); proto_register_field_array(proto_zbee_zcl_thermostat, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL IAS Zone dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_THERMOSTAT, dissect_zbee_zcl_thermostat, proto_zbee_zcl_thermostat); } /*proto_register_zbee_zcl_thermostat*/ /** *Hands off the ZCL Thermostat dissector. * */ void proto_reg_handoff_zbee_zcl_thermostat(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_THERMOSTAT, proto_zbee_zcl_thermostat, ett_zbee_zcl_thermostat, ZBEE_ZCL_CID_THERMOSTAT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_thermostat_attr_id, hf_zbee_zcl_thermostat_attr_id, hf_zbee_zcl_thermostat_srv_rx_cmd_id, hf_zbee_zcl_thermostat_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_thermostat_attr_data ); } /*proto_reg_handoff_zbee_zcl_thermostat*/ /* ########################################################################## */ /* #### (0x0500) IAS ZONE CLUSTER ########################################### */ /* ########################################################################## */ #define ZBEE_ZCL_IAS_ZONE_NUM_ETT 2 /* IAS Zone Server Attributes */ #define ZBEE_ZCL_ATTR_ID_IAS_ZONE_STATE 0x0000 #define ZBEE_ZCL_ATTR_ID_IAS_ZONE_TYPE 0x0001 #define ZBEE_ZCL_ATTR_ID_IAS_ZONE_STATUS 0x0002 #define ZBEE_ZCL_ATTR_ID_IAS_CIE_ADDRESS 0x0010 static const value_string zbee_zcl_ias_zone_attr_names[] = { { ZBEE_ZCL_ATTR_ID_IAS_ZONE_STATE, "ZoneState" }, { ZBEE_ZCL_ATTR_ID_IAS_ZONE_TYPE, "ZoneType" }, { ZBEE_ZCL_ATTR_ID_IAS_ZONE_STATUS, "ZoneStatus" }, { ZBEE_ZCL_ATTR_ID_IAS_CIE_ADDRESS, "IAS_CIE_Address" }, { 0, NULL } }; /* IAS Zone States */ #define ZBEE_IAS_ZONE_STATE_NOT_ENROLLED 0x00 #define ZBEE_IAS_ZONE_STATE_ENROLLED 0x01 static const value_string zbee_ias_state_names[] = { { ZBEE_IAS_ZONE_STATE_NOT_ENROLLED, "Not Enrolled" }, { ZBEE_IAS_ZONE_STATE_ENROLLED, "Enrolled" }, { 0, NULL } }; /* IAS Zone Type values. */ #define ZBEE_IAS_ZONE_TYPE_STANDARD_CIE 0x0000 #define ZBEE_IAS_ZONE_TYPE_MOTION_SENSOR 0x000D #define ZBEE_IAS_ZONE_TYPE_CONTACT_SWITCH 0x0015 #define ZBEE_IAS_ZONE_TYPE_FIRE_SENSOR 0x0028 #define ZBEE_IAS_ZONE_TYPE_WATER_SENSOR 0x002A #define ZBEE_IAS_ZONE_TYPE_GAS_SENSOR 0x002B #define ZBEE_IAS_ZONE_TYPE_PERSONAL_EMERGENCY 0x002C #define ZBEE_IAS_ZONE_TYPE_VIBRATION_SENSOR 0x002D #define ZBEE_IAS_ZONE_TYPE_REMOTE_CONTROL 0x010F #define ZBEE_IAS_ZONE_TYPE_KEY_FOB 0x0115 #define ZBEE_IAS_ZONE_TYPE_KEYPAD 0x021D #define ZBEE_IAS_ZONE_TYPE_STANDARD_WARNING 0x0225 #define ZBEE_IAS_ZONE_TYPE_INVALID_ZONE_TYPE 0xFFFF #define ZBEE_IAS_ZONE_STATUS_ALARM1 0x0001 #define ZBEE_IAS_ZONE_STATUS_ALARM2 0x0002 #define ZBEE_IAS_ZONE_STATUS_TAMPER 0x0004 #define ZBEE_IAS_ZONE_STATUS_BATTERY 0x0008 #define ZBEE_IAS_ZONE_STATUS_SUPERVISION 0x0010 #define ZBEE_IAS_ZONE_STATUS_RESTORE 0x0020 #define ZBEE_IAS_ZONE_STATUS_TROUBLE 0x0040 #define ZBEE_IAS_ZONE_STATUS_AC_MAINS 0x0080 static const value_string zbee_ias_type_names[] = { { ZBEE_IAS_ZONE_TYPE_STANDARD_CIE, "Standard CIE" }, { ZBEE_IAS_ZONE_TYPE_MOTION_SENSOR, "Motion sensor" }, { ZBEE_IAS_ZONE_TYPE_CONTACT_SWITCH, "Contact switch" }, { ZBEE_IAS_ZONE_TYPE_FIRE_SENSOR, "Fire sensor" }, { ZBEE_IAS_ZONE_TYPE_WATER_SENSOR, "Water sensor" }, { ZBEE_IAS_ZONE_TYPE_GAS_SENSOR, "Gas sensor" }, { ZBEE_IAS_ZONE_TYPE_PERSONAL_EMERGENCY, "Personal emergency device" }, { ZBEE_IAS_ZONE_TYPE_VIBRATION_SENSOR, "Vibration/movement sensor" }, { ZBEE_IAS_ZONE_TYPE_REMOTE_CONTROL, "Remote control" }, { ZBEE_IAS_ZONE_TYPE_KEY_FOB, "Key fob" }, { ZBEE_IAS_ZONE_TYPE_KEYPAD, "Keypad" }, { ZBEE_IAS_ZONE_TYPE_STANDARD_WARNING, "Standard warning device" }, { ZBEE_IAS_ZONE_TYPE_INVALID_ZONE_TYPE, "Invalid zone type" }, { 0, NULL } }; /* Server-to-client command IDs. */ #define ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_NOTIFY 0x00 #define ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_REQUEST 0x01 static const value_string zbee_zcl_ias_zone_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_REQUEST, "Zone Enroll Request" }, { ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_NOTIFY, "Zone Status Change Notification" }, { 0, NULL } }; /* Client-to-server command IDs. */ #define ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_RESPONSE 0x00 static const value_string zbee_zcl_ias_zone_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_RESPONSE, "Zone Enroll Response" }, { 0, NULL } }; static const value_string zbee_zcl_ias_zone_enroll_code_names[] = { { 0, "Success" }, { 1, "Not Supported" }, { 2, "No enroll permit" }, { 3, "Too many zones" }, { 0, NULL } }; /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_ias_zone = -1; static int hf_zbee_zcl_ias_zone_attr_id = -1; static int hf_zbee_zcl_ias_zone_srv_rx_cmd_id = -1; static int hf_zbee_zcl_ias_zone_srv_tx_cmd_id = -1; static int hf_zbee_zcl_ias_zone_enroll_code = -1; static int hf_zbee_zcl_ias_zone_zone_id = -1; static int hf_zbee_zcl_ias_zone_state = -1; static int hf_zbee_zcl_ias_zone_type = -1; static int hf_zbee_zcl_ias_zone_status = -1; static int hf_zbee_zcl_ias_zone_delay = -1; static int hf_zbee_zcl_ias_zone_ext_status = -1; static int hf_zbee_zcl_ias_zone_manufacturer_code = -1; static int hf_zbee_zcl_ias_zone_status_ac_mains = -1; static int hf_zbee_zcl_ias_zone_status_alarm1 = -1; static int hf_zbee_zcl_ias_zone_status_alarm2 = -1; static int hf_zbee_zcl_ias_zone_status_battery = -1; static int hf_zbee_zcl_ias_zone_status_restore_reports = -1; static int hf_zbee_zcl_ias_zone_status_supervision_reports = -1; static int hf_zbee_zcl_ias_zone_status_tamper = -1; static int hf_zbee_zcl_ias_zone_status_trouble = -1; static const true_false_string tfs_ac_mains = { "AC/Mains fault", "AC/Mains OK" }; static const true_false_string tfs_alarmed_or_not = { "Opened or alarmed", "Closed or not alarmed" }; static const true_false_string tfs_battery = { "Low battery", "Battery OK" }; static const true_false_string tfs_reports_or_not = { "Reports", "Does not report" }; static const true_false_string tfs_reports_restore = { "Reports restore", "Does not report restore" }; static const true_false_string tfs_tampered_or_not = { "Tampered", "Not tampered" }; static const true_false_string tfs_trouble_failure = { "Trouble/Failure", "OK" }; static gint ett_zbee_zcl_ias_zone = -1; static gint ett_zbee_zcl_ias_zone_status = -1; /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_ias_zone(void); void proto_reg_handoff_zbee_zcl_ias_zone(void); /* Command Dissector Helpers. */ static int dissect_zbee_zcl_ias_zone (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data); /* Attribute Dissector Helpers */ static void dissect_zcl_ias_zone_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* ZoneStatus bitmask helper */ static void dissect_zcl_ias_zone_status (proto_tree *tree, tvbuff_t *tvb, guint offset); /** *Helper function to dissect the IAS ZoneStatus bitmask. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset payload offset of the ZoneStatus value. */ static void dissect_zcl_ias_zone_status(proto_tree *tree, tvbuff_t *tvb, guint offset) { static int * const ias_zone_statuses[] = { &hf_zbee_zcl_ias_zone_status_alarm1, &hf_zbee_zcl_ias_zone_status_alarm2, &hf_zbee_zcl_ias_zone_status_tamper, &hf_zbee_zcl_ias_zone_status_battery, &hf_zbee_zcl_ias_zone_status_supervision_reports, &hf_zbee_zcl_ias_zone_status_restore_reports, &hf_zbee_zcl_ias_zone_status_trouble, &hf_zbee_zcl_ias_zone_status_ac_mains, NULL }; proto_tree_add_bitmask(tree, tvb, offset, hf_zbee_zcl_ias_zone_status, ett_zbee_zcl_ias_zone_status, ias_zone_statuses, ENC_LITTLE_ENDIAN); } /* dissect_zcl_ias_zone_status */ /** *ZigBee ZCL IAS Zone cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param data pointer to ZCL packet structure. *@return length of parsed data. */ static int dissect_zbee_zcl_ias_zone(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ias_zone_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset++; /* Handle the command dissection. */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_RESPONSE: proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_enroll_code, tvb, offset, 1, ENC_NA); offset++; proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_zone_id, tvb, offset, 1, ENC_NA); offset++; break; default: break; } /* switch */ } else { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ias_zone_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset++; /* Handle the command dissection. */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_NOTIFY: dissect_zcl_ias_zone_status(tree, tvb, offset); offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_ext_status, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_zone_id, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_delay, tvb, offset, 2, ENC_LITTLE_ENDIAN); break; case ZBEE_ZCL_CMD_ID_IAS_ZONE_ENROLL_REQUEST: proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_type, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_manufacturer_code, tvb, offset, 2, ENC_LITTLE_ENDIAN); break; default: break; } /* switch */ } return tvb_reported_length(tvb); } /* dissect_zbee_zcl_ias_zone */ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_ias_zone_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_IAS_ZONE_STATE: proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_state, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_IAS_ZONE_TYPE: proto_tree_add_item(tree, hf_zbee_zcl_ias_zone_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_IAS_ZONE_STATUS: dissect_zcl_ias_zone_status(tree, tvb, *offset); *offset += 2; break; case ZBEE_ZCL_ATTR_ID_IAS_CIE_ADDRESS: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_ias_zone_attr_data*/ /** *Hands off the ZCL IAS Zone dissector. * */ void proto_reg_handoff_zbee_zcl_ias_zone(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_IAS_ZONE, proto_zbee_zcl_ias_zone, ett_zbee_zcl_ias_zone, ZBEE_ZCL_CID_IAS_ZONE, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_ias_zone_attr_id, hf_zbee_zcl_ias_zone_attr_id, hf_zbee_zcl_ias_zone_srv_rx_cmd_id, hf_zbee_zcl_ias_zone_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_ias_zone_attr_data ); } /*proto_reg_handoff_zbee_zcl_ias_zone*/ /** *ZigBee ZCL IAS Zone cluste protocol registration. * */ void proto_register_zbee_zcl_ias_zone(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_ias_zone_attr_id, { "Attribute", "zbee_zcl_ias.zone.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_ias_zone_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ias_zone_srv_rx_cmd_id, { "Command", "zbee_zcl_ias.zone.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ias_zone_srv_rx_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_srv_tx_cmd_id, { "Command", "zbee_zcl_ias.zone.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ias_zone_srv_tx_cmd_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_enroll_code, { "Enroll response code", "zbee_zcl_ias.zone.enroll_code", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ias_zone_enroll_code_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_zone_id, { "Zone ID", "zbee_zcl_ias.zone.zone_id", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_state, { "ZoneState", "zbee_zcl_ias.zone.state", FT_UINT16, BASE_HEX, VALS(zbee_ias_state_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_type, { "ZoneType", "zbee_zcl_ias.zone.type", FT_UINT16, BASE_HEX, VALS(zbee_ias_type_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_manufacturer_code, { "ManufacturerCode", "zbee_zcl_ias.zone.manufacturer_code", FT_UINT16, BASE_HEX, VALS(zbee_mfr_code_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_ias_zone_status, { "ZoneStatus", "zbee_zcl_ias.zone.status", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_delay, { "Delay (in quarterseconds)", "zbee_zcl_ias.zone.delay", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_ext_status, { "Extended Status", "zbee_zcl_ias.zone.ext_status", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_status_alarm1, { "Alarm 1", "zbee_zcl_ias.zone.status.alarm_1", FT_BOOLEAN, 16, TFS(&tfs_alarmed_or_not), ZBEE_IAS_ZONE_STATUS_ALARM1, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_status_alarm2, { "Alarm 2", "zbee_zcl_ias.zone.status.alarm_2", FT_BOOLEAN, 16, TFS(&tfs_alarmed_or_not), ZBEE_IAS_ZONE_STATUS_ALARM2, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_status_battery, { "Battery", "zbee_zcl_ias.zone.status.battery", FT_BOOLEAN, 16, TFS(&tfs_battery), ZBEE_IAS_ZONE_STATUS_BATTERY, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_status_tamper, { "Tamper", "zbee_zcl_ias.zone.status.tamper", FT_BOOLEAN, 16, TFS(&tfs_tampered_or_not), ZBEE_IAS_ZONE_STATUS_TAMPER, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_status_supervision_reports, { "Supervision Reports", "zbee_zcl_ias.zone.status.supervision_reports", FT_BOOLEAN, 16, TFS(&tfs_reports_or_not), ZBEE_IAS_ZONE_STATUS_SUPERVISION, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_status_restore_reports, { "Restore Reports", "zbee_zcl_ias.zone.status.restore_reports", FT_BOOLEAN, 16, TFS(&tfs_reports_restore), ZBEE_IAS_ZONE_STATUS_RESTORE, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_status_trouble, { "Trouble", "zbee_zcl_ias.zone.status.trouble", FT_BOOLEAN, 16, TFS(&tfs_trouble_failure), ZBEE_IAS_ZONE_STATUS_TROUBLE, NULL, HFILL }}, { &hf_zbee_zcl_ias_zone_status_ac_mains, { "AC (mains)", "zbee_zcl_ias.zone.status.ac_mains", FT_BOOLEAN, 16, TFS(&tfs_ac_mains), ZBEE_IAS_ZONE_STATUS_AC_MAINS, NULL, HFILL }} }; /* ZCL IAS Zone subtrees */ static gint *ett[ZBEE_ZCL_IAS_ZONE_NUM_ETT]; ett[0] = &ett_zbee_zcl_ias_zone; ett[1] = &ett_zbee_zcl_ias_zone_status; /* Register the ZigBee ZCL IAS Zoben cluster protocol name and description */ proto_zbee_zcl_ias_zone = proto_register_protocol("ZigBee ZCL IAS Zone", "ZCL IAS Zone", ZBEE_PROTOABBREV_ZCL_IAS_ZONE); proto_register_field_array(proto_zbee_zcl_ias_zone, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL IAS Zone dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_IAS_ZONE, dissect_zbee_zcl_ias_zone, proto_zbee_zcl_ias_zone); } /*proto_register_zbee_zcl_ias_zone*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl-sas.c
/* packet-zbee-zcl-sas.c * Dissector routines for the ZigBee ZCL Security and Safety Interfaces clusters * By Aditya Jain <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/to_str.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" /* ########################################################################## */ /* #### (0x0501) IAS ACE CLUSTER ############################################ */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_IAS_ACE_NUM_ETT 4 /* Attributes - none */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_ARM 0x00 /* Arm */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_BYPASS 0x01 /* Bypass */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_EMERGENCY 0x02 /* Emergency */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_FIRE 0x03 /* Fire */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_PANIC 0x04 /* Panic */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_ID_MAP 0x05 /* Get Zone ID Map */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_INFO 0x06 /* Get Zone Information */ /* Server Commands Generated */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_ARM_RES 0x00 /* Arm Response */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_ID_MAP_RES 0x01 /* Get Zone ID Map Response */ #define ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_INFO_RES 0x02 /* Get Zone Information Response */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_ias_ace(void); void proto_reg_handoff_zbee_zcl_ias_ace(void); /* Command Dissector Helpers */ static void dissect_zcl_ias_ace_arm (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_ias_ace_bypass (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_ias_ace_get_zone_info (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_ias_ace_arm_res (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_ias_ace_get_zone_id_map_res (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_ias_ace_get_zone_info_res (tvbuff_t *tvb, proto_tree *tree, guint *offset); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_ias_ace = -1; static int hf_zbee_zcl_ias_ace_arm_mode = -1; static int hf_zbee_zcl_ias_ace_no_of_zones = -1; static int hf_zbee_zcl_ias_ace_zone_id = -1; static int hf_zbee_zcl_ias_ace_zone_id_list = -1; static int hf_zbee_zcl_ias_ace_arm_notif = -1; static int hf_zbee_zcl_ias_ace_zone_id_map_section = -1; static int hf_zbee_zcl_ias_ace_zone_type = -1; static int hf_zbee_zcl_ias_ace_ieee_add = -1; static int hf_zbee_zcl_ias_ace_srv_rx_cmd_id = -1; static int hf_zbee_zcl_ias_ace_srv_tx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_ias_ace = -1; static gint ett_zbee_zcl_ias_ace_zone_id = -1; static gint ett_zbee_zcl_ias_ace_zone_id_map_sec = -1; static gint ett_zbee_zcl_ias_ace_zone_id_map_sec_elem = -1; /* Server Commands Received */ static const value_string zbee_zcl_ias_ace_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_IAS_ACE_ARM, "Arm" }, { ZBEE_ZCL_CMD_ID_IAS_ACE_BYPASS, "Bypass" }, { ZBEE_ZCL_CMD_ID_IAS_ACE_EMERGENCY, "Emergency" }, { ZBEE_ZCL_CMD_ID_IAS_ACE_FIRE, "Fire" }, { ZBEE_ZCL_CMD_ID_IAS_ACE_PANIC, "Panic" }, { ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_ID_MAP, "Get Zone ID Map" }, { ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_INFO, "Get Zone Information" }, { 0, NULL } }; /* Server Commands Generated */ static const value_string zbee_zcl_ias_ace_srv_tx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_IAS_ACE_ARM_RES, "Arm Response" }, { ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_ID_MAP_RES, "Get Zone ID Map Response" }, { ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_INFO_RES, "Get Zone Information Response" }, { 0, NULL } }; /* Arm Mode Values */ static const value_string arm_mode_values[] = { { 0x00, "Disarm" }, { 0x01, "Arm Day/Home Zones Only" }, { 0x02, "Arm Night/Sleep Zones Only" }, { 0x03, "Arm All Zones" }, { 0, NULL } }; /* Arm Notification Values */ static const value_string arm_notif_values[] = { { 0x00, "All Zones Disarmed" }, { 0x01, "Only Day/Home Zones Armed" }, { 0x02, "Only Night/Sleep Zones Armed" }, { 0x03, "All Zones Armed" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL IAS ACE cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_ias_ace(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ias_ace_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_ias_ace, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_IAS_ACE_ARM: dissect_zcl_ias_ace_arm(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_IAS_ACE_BYPASS: dissect_zcl_ias_ace_bypass(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_INFO: dissect_zcl_ias_ace_get_zone_info(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_IAS_ACE_EMERGENCY: case ZBEE_ZCL_CMD_ID_IAS_ACE_FIRE: case ZBEE_ZCL_CMD_ID_IAS_ACE_PANIC: case ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_ID_MAP: /* No Payload */ default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ias_ace_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_srv_tx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_ias_ace, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_IAS_ACE_ARM_RES: dissect_zcl_ias_ace_arm_res(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_ID_MAP_RES: dissect_zcl_ias_ace_get_zone_id_map_res(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_IAS_ACE_GET_ZONE_INFO_RES: dissect_zcl_ias_ace_get_zone_info_res(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_ias_ace*/ /** *This function decodes the Arm payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_ias_ace_arm(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Arm Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_arm_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_ias_ace_arm*/ /** *This function decodes the Bypass payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_ias_ace_bypass(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_item *zone_id_list = NULL; proto_tree *sub_tree = NULL; guint8 num, i; /* Retrieve "Number of Zones" field */ num = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_no_of_zones, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Zone ID" fields */ zone_id_list = proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_zone_id_list, tvb, *offset, num, ENC_NA); sub_tree = proto_item_add_subtree(zone_id_list, ett_zbee_zcl_ias_ace_zone_id); for(i = 0; i < num; i++){ proto_tree_add_item(sub_tree, hf_zbee_zcl_ias_ace_zone_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } } /*dissect_zcl_ias_ace_bypass*/ /** *This function decodes the Get Zone Information payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_ias_ace_get_zone_info(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Zone ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_zone_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_ias_ace_get_zone_info*/ /** *This function decodes the Arm Response payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_ias_ace_arm_res(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Arm Notification" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_arm_notif, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_ias_ace_arm_res*/ /** *This function decodes the Bypass payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_ias_ace_get_zone_id_map_res(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 i; /* Retrieve "Zone ID" fields */ for(i = 0; i < 16; i++){ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_zone_id_map_section, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } } /*dissect_zcl_ias_ace_get_zone_id_map_res*/ /** *This function decodes the Get Zone Information Response payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_ias_ace_get_zone_info_res(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Zone ID" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_zone_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Zone Type" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_zone_type, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Retrieve "IEEE Address" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_ace_ieee_add, tvb, *offset, 8, ENC_NA); *offset += 8; } /*dissect_zcl_ias_ace_get_zone_info_res*/ /** *ZigBee ZCL IAS ACE cluster protocol registration routine. * */ void proto_register_zbee_zcl_ias_ace(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_ias_ace_arm_mode, { "Arm Mode", "zbee_zcl_sas.ias_ace.arm_mode", FT_UINT8, BASE_DEC, VALS(arm_mode_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_no_of_zones, { "Number of Zones", "zbee_zcl_sas.ias_ace.no_of_zones", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_zone_id, { "Zone ID", "zbee_zcl_sas.ias_ace.zone_id", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_zone_id_list, { "Zone ID List", "zbee_zcl_sas.ias_ace.zone_id_list", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_arm_notif, { "Arm Notifications", "zbee_zcl_sas.ias_ace.arm_notif", FT_UINT8, BASE_DEC, VALS(arm_notif_values), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_zone_id_map_section, { "Zone ID Map Section", "zbee_zcl_sas.ias_ace.zone_id_map_section", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_zone_type, { "Zone Type", "zbee_zcl_sas.ias_ace.zone_type", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_ieee_add, { "IEEE Address", "zbee_zcl_sas.ias_ace.ieee_add", FT_BYTES, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_srv_rx_cmd_id, { "Command", "zbee_zcl_sas.ias_ace.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ias_ace_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_ace_srv_tx_cmd_id, { "Command", "zbee_zcl_sas.ias_ace.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ias_ace_srv_tx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL IAS ACE subtrees */ static gint *ett[ZBEE_ZCL_IAS_ACE_NUM_ETT]; ett[0] = &ett_zbee_zcl_ias_ace; ett[1] = &ett_zbee_zcl_ias_ace_zone_id; ett[2] = &ett_zbee_zcl_ias_ace_zone_id_map_sec; ett[3] = &ett_zbee_zcl_ias_ace_zone_id_map_sec_elem; /* Register the ZigBee ZCL IAS ACE cluster protocol name and description */ proto_zbee_zcl_ias_ace = proto_register_protocol("ZigBee ZCL IAS ACE", "ZCL IAS ACE", ZBEE_PROTOABBREV_ZCL_IAS_ACE); proto_register_field_array(proto_zbee_zcl_ias_ace, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL IAS ACE dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_IAS_ACE, dissect_zbee_zcl_ias_ace, proto_zbee_zcl_ias_ace); } /*proto_register_zbee_zcl_ias_ace*/ /** *Hands off the ZCL IAS ACE dissector. * */ void proto_reg_handoff_zbee_zcl_ias_ace(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_IAS_ACE, proto_zbee_zcl_ias_ace, ett_zbee_zcl_ias_ace, ZBEE_ZCL_CID_IAS_ACE, ZBEE_MFG_CODE_NONE, -1, -1, hf_zbee_zcl_ias_ace_srv_rx_cmd_id, hf_zbee_zcl_ias_ace_srv_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_ias_ace*/ /* ########################################################################## */ /* #### (0x0502) IAS WD CLUSTER ############################################# */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_IAS_WD_NUM_ETT 1 #define ZBEE_ZCL_IAS_WD_WARNING_MODE_MASK 0xF0 #define ZBEE_ZCL_IAS_WD_STROBE_2BIT_MASK 0x0C #define ZBEE_ZCL_IAS_WD_SWQUAWK_MODE_MASK 0xF0 #define ZBEE_ZCL_IAS_WD_STROBE_1BIT_MASK 0x08 #define ZBEE_ZCL_IAS_WD_SWQUAWK_LEVEL_MASK 0x03 /* Attributes */ #define ZBEE_ZCL_ATTR_ID_IAS_WD_MAX_DURATION 0x0000 /* Max Duration */ /* Server Commands Received */ #define ZBEE_ZCL_CMD_ID_IAS_WD_START_WARNING 0x00 /* Start Warning */ #define ZBEE_ZCL_CMD_ID_IAS_WD_SQUAWK 0x01 /* Squawk */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_ias_wd(void); void proto_reg_handoff_zbee_zcl_ias_wd(void); /* Command Dissector Helpers */ static void dissect_zcl_ias_wd_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); static void dissect_zcl_ias_wd_start_warning (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_ias_wd_squawk (tvbuff_t *tvb, proto_tree *tree, guint *offset); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_ias_wd = -1; static int hf_zbee_zcl_ias_wd_attr_id = -1; static int hf_zbee_zcl_ias_wd_warning_mode = -1; static int hf_zbee_zcl_ias_wd_strobe_2bit = -1; static int hf_zbee_zcl_ias_wd_squawk_mode = -1; static int hf_zbee_zcl_ias_wd_strobe_1bit = -1; static int hf_zbee_zcl_ias_wd_warning_duration = -1; static int hf_zbee_zcl_ias_wd_squawk_level = -1; static int hf_zbee_zcl_ias_wd_srv_rx_cmd_id = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_ias_wd = -1; /* Attributes */ static const value_string zbee_zcl_ias_wd_attr_names[] = { { ZBEE_ZCL_ATTR_ID_IAS_WD_MAX_DURATION, "Maximum Duration" }, { 0, NULL } }; /* Server Commands Received */ static const value_string zbee_zcl_ias_wd_srv_rx_cmd_names[] = { { ZBEE_ZCL_CMD_ID_IAS_WD_START_WARNING, "Start Warning" }, { ZBEE_ZCL_CMD_ID_IAS_WD_SQUAWK, "Squawk" }, { 0, NULL } }; /* Warning Mode Values */ static const value_string warning_mode_values[] = { { 0, "Stop (no warning)" }, { 1, "Burglar" }, { 2, "Fire" }, { 3, "Emergency" }, { 0, NULL } }; /* Strobe 2-bit Values */ static const value_string strobe_2bit_values[] = { { 0, "No Strobe" }, { 1, "Use strobe in parallel to warning" }, { 0, NULL } }; /* Strobe 1-bit Values */ static const value_string strobe_1bit_values[] = { { 0, "No Strobe" }, { 1, "Use strobe blink in parallel to squawk" }, { 0, NULL } }; /* Squawk Mode Values */ static const value_string squawk_mode_values[] = { { 0, "Notification sound for 'System is armed'" }, { 1, "Notification sound for 'System is disarmed'" }, { 0, NULL } }; /* Squawk Level Values */ static const value_string squawk_level_values[] = { { 0, "Low level sound" }, { 1, "Medium level sound" }, { 2, "High level sound" }, { 3, "Very high level sound" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL IAS WD cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_ias_wd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ias_wd_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_item(tree, hf_zbee_zcl_ias_wd_srv_rx_cmd_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); /* Check if this command has a payload, then add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_ias_wd, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_IAS_WD_START_WARNING: dissect_zcl_ias_wd_start_warning(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_IAS_WD_SQUAWK: dissect_zcl_ias_wd_squawk(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_ias_wd*/ /** *This function decodes the Start Warning payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_ias_wd_start_warning(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Warning Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_wd_warning_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); /* Retrieve "Strobe" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_wd_strobe_2bit, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; /* Retrieve "Warning Duration" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_wd_warning_duration, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_ias_wd_start_warning*/ /** *This function decodes the Squawk payload. * *@param tvb the tv buffer of the current data_type *@param tree the tree to append this item to *@param offset offset of data in tvb */ static void dissect_zcl_ias_wd_squawk(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Retrieve "Squawk Mode" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_wd_squawk_mode, tvb, *offset, 1, ENC_LITTLE_ENDIAN); /* Retrieve "Strobe" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_wd_strobe_1bit, tvb, *offset, 1, ENC_LITTLE_ENDIAN); /* Retrieve "Squawk Level" field */ proto_tree_add_item(tree, hf_zbee_zcl_ias_wd_squawk_level, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_ias_wd_squawk*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ void dissect_zcl_ias_wd_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { case ZBEE_ZCL_ATTR_ID_IAS_WD_MAX_DURATION: default: dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_ias_wd_attr_data*/ /** *ZigBee ZCL IAS WD cluster protocol registration routine. * */ void proto_register_zbee_zcl_ias_wd(void) { /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_zbee_zcl_ias_wd_attr_id, { "Attribute", "zbee_zcl_sas.ias_wd.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_ias_wd_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_wd_warning_mode, { "Warning Mode", "zbee_zcl_sas.ias_wd.warning_mode", FT_UINT8, BASE_DEC, VALS(warning_mode_values), ZBEE_ZCL_IAS_WD_WARNING_MODE_MASK, NULL, HFILL } }, { &hf_zbee_zcl_ias_wd_strobe_2bit, { "Strobe", "zbee_zcl_sas.ias_wd.strobe", FT_UINT8, BASE_DEC, VALS(strobe_2bit_values), ZBEE_ZCL_IAS_WD_STROBE_2BIT_MASK, NULL, HFILL } }, { &hf_zbee_zcl_ias_wd_squawk_mode, { "Squawk Mode", "zbee_zcl_sas.ias_wd.squawk_mode", FT_UINT8, BASE_DEC, VALS(squawk_mode_values), ZBEE_ZCL_IAS_WD_SWQUAWK_MODE_MASK, NULL, HFILL } }, { &hf_zbee_zcl_ias_wd_strobe_1bit, { "Strobe", "zbee_zcl_sas.ias_wd.strobe", FT_UINT8, BASE_DEC, VALS(strobe_1bit_values), ZBEE_ZCL_IAS_WD_STROBE_1BIT_MASK, NULL, HFILL } }, { &hf_zbee_zcl_ias_wd_warning_duration, { "Warning Duration", "zbee_zcl_sas.ias_wd.warning_duration", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ias_wd_squawk_level, { "Squawk Level", "zbee_zcl_sas.ias_wd.squawk_level", FT_UINT8, BASE_DEC, VALS(squawk_level_values), ZBEE_ZCL_IAS_WD_SWQUAWK_LEVEL_MASK, NULL, HFILL } }, { &hf_zbee_zcl_ias_wd_srv_rx_cmd_id, { "Command", "zbee_zcl_sas.ias_wd.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ias_wd_srv_rx_cmd_names), 0x00, NULL, HFILL } } }; /* ZCL IAS WD subtrees */ static gint *ett[ZBEE_ZCL_IAS_WD_NUM_ETT]; ett[0] = &ett_zbee_zcl_ias_wd; /* Register the ZigBee ZCL IAS WD cluster protocol name and description */ proto_zbee_zcl_ias_wd = proto_register_protocol("ZigBee ZCL IAS WD", "ZCL IAS WD", ZBEE_PROTOABBREV_ZCL_IAS_WD); proto_register_field_array(proto_zbee_zcl_ias_wd, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL IAS WD dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_IAS_WD, dissect_zbee_zcl_ias_wd, proto_zbee_zcl_ias_wd); } /*proto_register_zbee_zcl_ias_wd*/ /** *Hands off the ZCL IAS WD dissector. * */ void proto_reg_handoff_zbee_zcl_ias_wd(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_IAS_WD, proto_zbee_zcl_ias_wd, ett_zbee_zcl_ias_wd, ZBEE_ZCL_CID_IAS_WD, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_ias_wd_attr_id, hf_zbee_zcl_ias_wd_attr_id, hf_zbee_zcl_ias_wd_srv_rx_cmd_id, -1, (zbee_zcl_fn_attr_data)dissect_zcl_ias_wd_attr_data ); } /*proto_reg_handoff_zbee_zcl_ias_wd*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl-se.c
/* packet-zbee-zcl-se.c * Dissector routines for the ZigBee ZCL SE clusters like * Messaging * By Fabio Tarabelloni <[email protected]> * Copyright 2013 RELOC s.r.l. * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/prefs.h> #include <epan/expert.h> #include <epan/to_str.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-zcl.h" #include "packet-zbee-security.h" /* ########################################################################## */ /* #### common to all SE clusters ########################################### */ /* ########################################################################## */ #define ZBEE_ZCL_SE_ATTR_REPORT_PENDING 0x00 #define ZBEE_ZCL_SE_ATTR_REPORT_COMPLETE 0x01 static const value_string zbee_zcl_se_reporting_status_names[] = { { ZBEE_ZCL_SE_ATTR_REPORT_PENDING, "Pending" }, { ZBEE_ZCL_SE_ATTR_REPORT_COMPLETE, "Complete" }, { 0, NULL } }; /** *Dissect a ZigBee Date * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to buffer offset *@param subtree_name name for the subtree *@param idx one of the ett_ array elements registered with proto_register_subtree_array() *@param hfindex_yy year field *@param hfindex_mm month field *@param hfindex_md month day field *@param hfindex_wd week day field */ static void dissect_zcl_date(tvbuff_t *tvb, proto_tree *tree, guint *offset, gint idx, const char* subtree_name, int hfindex_yy, int hfindex_mm, int hfindex_md, int hfindex_wd) { guint8 yy; proto_tree* subtree; /* Add subtree */ subtree = proto_tree_add_subtree(tree, tvb, *offset, 4, idx, NULL, subtree_name); /* Year */ yy = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(subtree, hfindex_yy, tvb, *offset, 1, yy + 1900); *offset += 1; /* Month */ proto_tree_add_item(subtree, hfindex_mm, tvb, *offset, 1, ENC_NA); *offset += 1; /* Month Day */ proto_tree_add_item(subtree, hfindex_md, tvb, *offset, 1, ENC_NA); *offset += 1; /* Week Day */ proto_tree_add_item(subtree, hfindex_wd, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_date*/ /*************************/ /* Global Variables */ /*************************/ /* ########################################################################## */ /* #### (0x0025) KEEP-ALIVE CLUSTER ######################################### */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_keep_alive_attr_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_ATTR_ID_KEEP_ALIVE_BASE, 0x0000, "Keep-Alive Base" ) \ XXX(ZBEE_ZCL_ATTR_ID_KEEP_ALIVE_JITTER, 0x0001, "Keep-Alive Jitter" ) \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_KEEP_ALIVE, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_keep_alive_attr_names); VALUE_STRING_ARRAY(zbee_zcl_keep_alive_attr_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_keep_alive(void); void proto_reg_handoff_zbee_zcl_keep_alive(void); /* Attribute Dissector Helpers */ static void dissect_zcl_keep_alive_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_keep_alive = -1; static int hf_zbee_zcl_keep_alive_attr_id = -1; static int hf_zbee_zcl_keep_alive_attr_reporting_status = -1; static int hf_zbee_zcl_keep_alive_base = -1; static int hf_zbee_zcl_keep_alive_jitter = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_keep_alive = -1; /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_keep_alive_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_KEEP_ALIVE: proto_tree_add_item(tree, hf_zbee_zcl_keep_alive_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_KEEP_ALIVE_BASE: proto_tree_add_item(tree, hf_zbee_zcl_keep_alive_base, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_KEEP_ALIVE_JITTER: proto_tree_add_item(tree, hf_zbee_zcl_keep_alive_jitter, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_keep_alive_attr_data*/ /** *ZigBee ZCL Keep-Alive cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_keep_alive(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void* data _U_) { return tvb_captured_length(tvb); } /*dissect_zbee_zcl_keep_alive*/ /** *This function registers the ZCL Keep-Alive dissector * */ void proto_register_zbee_zcl_keep_alive(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_keep_alive_attr_id, { "Attribute", "zbee_zcl_se.keep_alive.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_keep_alive_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_keep_alive_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.keep_alive.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_keep_alive_base, { "Keep-Alive Base", "zbee_zcl_se.keep_alive.attr.base", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_keep_alive_jitter, { "Keep-Alive Jitter", "zbee_zcl_se.keep_alive.attr.jitter", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, }; /* ZCL Keep-Alive subtrees */ gint *ett[] = { &ett_zbee_zcl_keep_alive }; /* Register the ZigBee ZCL Keep-Alive cluster protocol name and description */ proto_zbee_zcl_keep_alive = proto_register_protocol("ZigBee ZCL Keep-Alive", "ZCL Keep-Alive", ZBEE_PROTOABBREV_ZCL_KEEP_ALIVE); proto_register_field_array(proto_zbee_zcl_keep_alive, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Keep-Alive dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_KEEP_ALIVE, dissect_zbee_zcl_keep_alive, proto_zbee_zcl_keep_alive); } /*proto_register_zbee_zcl_keep_alive*/ /** *Hands off the ZCL Keep-Alive dissector. * */ void proto_reg_handoff_zbee_zcl_keep_alive(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_KEEP_ALIVE, proto_zbee_zcl_keep_alive, ett_zbee_zcl_keep_alive, ZBEE_ZCL_CID_KEEP_ALIVE, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_keep_alive_attr_id, -1, -1, -1, (zbee_zcl_fn_attr_data)dissect_zcl_keep_alive_attr_data ); } /*proto_reg_handoff_zbee_zcl_keep_alive*/ /* ########################################################################## */ /* #### (0x0700) PRICE CLUSTER ############################################## */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_price_attr_server_names_VALUE_STRING_LIST(XXX) \ /* Tier Label (Delivered) Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_PRICE_LABEL, 0x0000, "Tier 1 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_PRICE_LABEL, 0x0001, "Tier 2 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_PRICE_LABEL, 0x0002, "Tier 3 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_PRICE_LABEL, 0x0003, "Tier 4 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_PRICE_LABEL, 0x0004, "Tier 5 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_PRICE_LABEL, 0x0005, "Tier 6 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_PRICE_LABEL, 0x0006, "Tier 7 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_PRICE_LABEL, 0x0007, "Tier 8 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_PRICE_LABEL, 0x0008, "Tier 9 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_PRICE_LABEL, 0x0009, "Tier 10 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_PRICE_LABEL, 0x000A, "Tier 11 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_PRICE_LABEL, 0x000B, "Tier 12 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_PRICE_LABEL, 0x000C, "Tier 13 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_PRICE_LABEL, 0x000D, "Tier 14 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_PRICE_LABEL, 0x000E, "Tier 15 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_16_PRICE_LABEL, 0x000F, "Tier 16 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_17_PRICE_LABEL, 0x0010, "Tier 17 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_18_PRICE_LABEL, 0x0011, "Tier 18 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_19_PRICE_LABEL, 0x0012, "Tier 19 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_20_PRICE_LABEL, 0x0013, "Tier 20 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_21_PRICE_LABEL, 0x0014, "Tier 21 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_22_PRICE_LABEL, 0x0015, "Tier 22 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_23_PRICE_LABEL, 0x0016, "Tier 23 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_24_PRICE_LABEL, 0x0017, "Tier 24 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_25_PRICE_LABEL, 0x0018, "Tier 25 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_26_PRICE_LABEL, 0x0019, "Tier 26 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_27_PRICE_LABEL, 0x001A, "Tier 27 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_28_PRICE_LABEL, 0x001B, "Tier 28 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_29_PRICE_LABEL, 0x001C, "Tier 29 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_30_PRICE_LABEL, 0x001D, "Tier 30 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_31_PRICE_LABEL, 0x001E, "Tier 31 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_32_PRICE_LABEL, 0x001F, "Tier 32 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_33_PRICE_LABEL, 0x0020, "Tier 33 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_34_PRICE_LABEL, 0x0021, "Tier 34 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_35_PRICE_LABEL, 0x0022, "Tier 35 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_36_PRICE_LABEL, 0x0023, "Tier 36 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_37_PRICE_LABEL, 0x0024, "Tier 37 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_38_PRICE_LABEL, 0x0025, "Tier 38 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_39_PRICE_LABEL, 0x0026, "Tier 39 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_40_PRICE_LABEL, 0x0027, "Tier 40 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_41_PRICE_LABEL, 0x0028, "Tier 41 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_42_PRICE_LABEL, 0x0029, "Tier 42 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_43_PRICE_LABEL, 0x002A, "Tier 43 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_44_PRICE_LABEL, 0x002B, "Tier 44 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_45_PRICE_LABEL, 0x002C, "Tier 45 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_46_PRICE_LABEL, 0x002D, "Tier 46 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_47_PRICE_LABEL, 0x002E, "Tier 47 Price Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_48_PRICE_LABEL, 0x002F, "Tier 48 Price Label" ) \ /* Block Threshold (Delivered) Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_1_THRESHOLD, 0x0100, "Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_2_THRESHOLD, 0x0101, "Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_3_THRESHOLD, 0x0102, "Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_4_THRESHOLD, 0x0103, "Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_5_THRESHOLD, 0x0104, "Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_6_THRESHOLD, 0x0105, "Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_7_THRESHOLD, 0x0106, "Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_8_THRESHOLD, 0x0107, "Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_9_THRESHOLD, 0x0108, "Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_10_THRESHOLD, 0x0109, "Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_11_THRESHOLD, 0x010A, "Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_12_THRESHOLD, 0x010B, "Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_13_THRESHOLD, 0x010C, "Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_14_THRESHOLD, 0x010D, "Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_15_THRESHOLD, 0x010E, "Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_THRESHOLD_COUNT, 0x010F, "Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_1_THRESHOLD, 0x0110, "Tier 1 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_2_THRESHOLD, 0x0111, "Tier 1 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_3_THRESHOLD, 0x0112, "Tier 1 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_4_THRESHOLD, 0x0113, "Tier 1 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_5_THRESHOLD, 0x0114, "Tier 1 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_6_THRESHOLD, 0x0115, "Tier 1 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_7_THRESHOLD, 0x0116, "Tier 1 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_8_THRESHOLD, 0x0117, "Tier 1 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_9_THRESHOLD, 0x0118, "Tier 1 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_10_THRESHOLD, 0x0119, "Tier 1 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_11_THRESHOLD, 0x011A, "Tier 1 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_12_THRESHOLD, 0x011B, "Tier 1 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_13_THRESHOLD, 0x011C, "Tier 1 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_14_THRESHOLD, 0x011D, "Tier 1 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_15_THRESHOLD, 0x011E, "Tier 1 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_THRESHOLD_COUNT, 0x011F, "Tier 1 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_1_THRESHOLD, 0x0120, "Tier 2 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_2_THRESHOLD, 0x0121, "Tier 2 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_3_THRESHOLD, 0x0122, "Tier 2 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_4_THRESHOLD, 0x0123, "Tier 2 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_5_THRESHOLD, 0x0124, "Tier 2 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_6_THRESHOLD, 0x0125, "Tier 2 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_7_THRESHOLD, 0x0126, "Tier 2 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_8_THRESHOLD, 0x0127, "Tier 2 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_9_THRESHOLD, 0x0128, "Tier 2 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_10_THRESHOLD, 0x0129, "Tier 2 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_11_THRESHOLD, 0x012A, "Tier 2 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_12_THRESHOLD, 0x012B, "Tier 2 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_13_THRESHOLD, 0x012C, "Tier 2 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_14_THRESHOLD, 0x012D, "Tier 2 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_15_THRESHOLD, 0x012E, "Tier 2 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_THRESHOLD_COUNT, 0x012F, "Tier 2 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_1_THRESHOLD, 0x0130, "Tier 3 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_2_THRESHOLD, 0x0131, "Tier 3 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_3_THRESHOLD, 0x0132, "Tier 3 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_4_THRESHOLD, 0x0133, "Tier 3 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_5_THRESHOLD, 0x0134, "Tier 3 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_6_THRESHOLD, 0x0135, "Tier 3 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_7_THRESHOLD, 0x0136, "Tier 3 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_8_THRESHOLD, 0x0137, "Tier 3 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_9_THRESHOLD, 0x0138, "Tier 3 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_10_THRESHOLD, 0x0139, "Tier 3 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_11_THRESHOLD, 0x013A, "Tier 3 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_12_THRESHOLD, 0x013B, "Tier 3 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_13_THRESHOLD, 0x013C, "Tier 3 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_14_THRESHOLD, 0x013D, "Tier 3 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_15_THRESHOLD, 0x013E, "Tier 3 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_THRESHOLD_COUNT, 0x013F, "Tier 3 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_1_THRESHOLD, 0x0140, "Tier 4 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_2_THRESHOLD, 0x0141, "Tier 4 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_3_THRESHOLD, 0x0142, "Tier 4 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_4_THRESHOLD, 0x0143, "Tier 4 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_5_THRESHOLD, 0x0144, "Tier 4 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_6_THRESHOLD, 0x0145, "Tier 4 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_7_THRESHOLD, 0x0146, "Tier 4 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_8_THRESHOLD, 0x0147, "Tier 4 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_9_THRESHOLD, 0x0148, "Tier 4 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_10_THRESHOLD, 0x0149, "Tier 4 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_11_THRESHOLD, 0x014A, "Tier 4 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_12_THRESHOLD, 0x014B, "Tier 4 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_13_THRESHOLD, 0x014C, "Tier 4 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_14_THRESHOLD, 0x014D, "Tier 4 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_15_THRESHOLD, 0x014E, "Tier 4 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_THRESHOLD_COUNT, 0x014F, "Tier 4 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_1_THRESHOLD, 0x0150, "Tier 5 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_2_THRESHOLD, 0x0151, "Tier 5 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_3_THRESHOLD, 0x0152, "Tier 5 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_4_THRESHOLD, 0x0153, "Tier 5 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_5_THRESHOLD, 0x0154, "Tier 5 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_6_THRESHOLD, 0x0155, "Tier 5 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_7_THRESHOLD, 0x0156, "Tier 5 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_8_THRESHOLD, 0x0157, "Tier 5 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_9_THRESHOLD, 0x0158, "Tier 5 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_10_THRESHOLD, 0x0159, "Tier 5 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_11_THRESHOLD, 0x015A, "Tier 5 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_12_THRESHOLD, 0x015B, "Tier 5 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_13_THRESHOLD, 0x015C, "Tier 5 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_14_THRESHOLD, 0x015D, "Tier 5 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_15_THRESHOLD, 0x015E, "Tier 5 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_THRESHOLD_COUNT, 0x015F, "Tier 5 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_1_THRESHOLD, 0x0160, "Tier 6 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_2_THRESHOLD, 0x0161, "Tier 6 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_3_THRESHOLD, 0x0162, "Tier 6 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_4_THRESHOLD, 0x0163, "Tier 6 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_5_THRESHOLD, 0x0164, "Tier 6 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_6_THRESHOLD, 0x0165, "Tier 6 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_7_THRESHOLD, 0x0166, "Tier 6 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_8_THRESHOLD, 0x0167, "Tier 6 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_9_THRESHOLD, 0x0168, "Tier 6 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_10_THRESHOLD, 0x0169, "Tier 6 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_11_THRESHOLD, 0x016A, "Tier 6 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_12_THRESHOLD, 0x016B, "Tier 6 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_13_THRESHOLD, 0x016C, "Tier 6 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_14_THRESHOLD, 0x016D, "Tier 6 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_15_THRESHOLD, 0x016E, "Tier 6 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_THRESHOLD_COUNT, 0x016F, "Tier 6 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_1_THRESHOLD, 0x0170, "Tier 7 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_2_THRESHOLD, 0x0171, "Tier 7 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_3_THRESHOLD, 0x0172, "Tier 7 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_4_THRESHOLD, 0x0173, "Tier 7 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_5_THRESHOLD, 0x0174, "Tier 7 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_6_THRESHOLD, 0x0175, "Tier 7 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_7_THRESHOLD, 0x0176, "Tier 7 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_8_THRESHOLD, 0x0177, "Tier 7 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_9_THRESHOLD, 0x0178, "Tier 7 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_10_THRESHOLD, 0x0179, "Tier 7 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_11_THRESHOLD, 0x017A, "Tier 7 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_12_THRESHOLD, 0x017B, "Tier 7 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_13_THRESHOLD, 0x017C, "Tier 7 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_14_THRESHOLD, 0x017D, "Tier 7 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_15_THRESHOLD, 0x017E, "Tier 7 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_THRESHOLD_COUNT, 0x017F, "Tier 7 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_1_THRESHOLD, 0x0180, "Tier 8 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_2_THRESHOLD, 0x0181, "Tier 8 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_3_THRESHOLD, 0x0182, "Tier 8 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_4_THRESHOLD, 0x0183, "Tier 8 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_5_THRESHOLD, 0x0184, "Tier 8 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_6_THRESHOLD, 0x0185, "Tier 8 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_7_THRESHOLD, 0x0186, "Tier 8 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_8_THRESHOLD, 0x0187, "Tier 8 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_9_THRESHOLD, 0x0188, "Tier 8 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_10_THRESHOLD, 0x0189, "Tier 8 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_11_THRESHOLD, 0x018A, "Tier 8 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_12_THRESHOLD, 0x018B, "Tier 8 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_13_THRESHOLD, 0x018C, "Tier 8 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_14_THRESHOLD, 0x018D, "Tier 8 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_15_THRESHOLD, 0x018E, "Tier 8 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_THRESHOLD_COUNT, 0x018F, "Tier 8 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_1_THRESHOLD, 0x0190, "Tier 9 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_2_THRESHOLD, 0x0191, "Tier 9 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_3_THRESHOLD, 0x0192, "Tier 9 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_4_THRESHOLD, 0x0193, "Tier 9 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_5_THRESHOLD, 0x0194, "Tier 9 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_6_THRESHOLD, 0x0195, "Tier 9 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_7_THRESHOLD, 0x0196, "Tier 9 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_8_THRESHOLD, 0x0197, "Tier 9 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_9_THRESHOLD, 0x0198, "Tier 9 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_10_THRESHOLD, 0x0199, "Tier 9 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_11_THRESHOLD, 0x019A, "Tier 9 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_12_THRESHOLD, 0x019B, "Tier 9 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_13_THRESHOLD, 0x019C, "Tier 9 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_14_THRESHOLD, 0x019D, "Tier 9 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_15_THRESHOLD, 0x019E, "Tier 9 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_THRESHOLD_COUNT, 0x019F, "Tier 9 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_1_THRESHOLD, 0x01A0, "Tier 10 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_2_THRESHOLD, 0x01A1, "Tier 10 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_3_THRESHOLD, 0x01A2, "Tier 10 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_4_THRESHOLD, 0x01A3, "Tier 10 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_5_THRESHOLD, 0x01A4, "Tier 10 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_6_THRESHOLD, 0x01A5, "Tier 10 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_7_THRESHOLD, 0x01A6, "Tier 10 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_8_THRESHOLD, 0x01A7, "Tier 10 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_9_THRESHOLD, 0x01A8, "Tier 10 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_10_THRESHOLD, 0x01A9, "Tier 10 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_11_THRESHOLD, 0x01AA, "Tier 10 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_12_THRESHOLD, 0x01AB, "Tier 10 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_13_THRESHOLD, 0x01AC, "Tier 10 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_14_THRESHOLD, 0x01AD, "Tier 10 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_15_THRESHOLD, 0x01AE, "Tier 10 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_THRESHOLD_COUNT, 0x01AF, "Tier 10 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_1_THRESHOLD, 0x01B0, "Tier 11 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_2_THRESHOLD, 0x01B1, "Tier 11 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_3_THRESHOLD, 0x01B2, "Tier 11 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_4_THRESHOLD, 0x01B3, "Tier 11 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_5_THRESHOLD, 0x01B4, "Tier 11 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_6_THRESHOLD, 0x01B5, "Tier 11 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_7_THRESHOLD, 0x01B6, "Tier 11 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_8_THRESHOLD, 0x01B7, "Tier 11 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_9_THRESHOLD, 0x01B8, "Tier 11 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_10_THRESHOLD, 0x01B9, "Tier 11 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_11_THRESHOLD, 0x01BA, "Tier 11 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_12_THRESHOLD, 0x01BB, "Tier 11 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_13_THRESHOLD, 0x01BC, "Tier 11 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_14_THRESHOLD, 0x01BD, "Tier 11 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_15_THRESHOLD, 0x01BE, "Tier 11 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_THRESHOLD_COUNT, 0x01BF, "Tier 11 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_1_THRESHOLD, 0x01C0, "Tier 12 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_2_THRESHOLD, 0x01C1, "Tier 12 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_3_THRESHOLD, 0x01C2, "Tier 12 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_4_THRESHOLD, 0x01C3, "Tier 12 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_5_THRESHOLD, 0x01C4, "Tier 12 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_6_THRESHOLD, 0x01C5, "Tier 12 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_7_THRESHOLD, 0x01C6, "Tier 12 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_8_THRESHOLD, 0x01C7, "Tier 12 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_9_THRESHOLD, 0x01C8, "Tier 12 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_10_THRESHOLD, 0x01C9, "Tier 12 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_11_THRESHOLD, 0x01CA, "Tier 12 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_12_THRESHOLD, 0x01CB, "Tier 12 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_13_THRESHOLD, 0x01CC, "Tier 12 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_14_THRESHOLD, 0x01CD, "Tier 12 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_15_THRESHOLD, 0x01CE, "Tier 12 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_THRESHOLD_COUNT, 0x01CF, "Tier 12 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_1_THRESHOLD, 0x01D0, "Tier 13 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_2_THRESHOLD, 0x01D1, "Tier 13 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_3_THRESHOLD, 0x01D2, "Tier 13 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_4_THRESHOLD, 0x01D3, "Tier 13 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_5_THRESHOLD, 0x01D4, "Tier 13 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_6_THRESHOLD, 0x01D5, "Tier 13 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_7_THRESHOLD, 0x01D6, "Tier 13 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_8_THRESHOLD, 0x01D7, "Tier 13 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_9_THRESHOLD, 0x01D8, "Tier 13 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_10_THRESHOLD, 0x01D9, "Tier 13 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_11_THRESHOLD, 0x01DA, "Tier 13 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_12_THRESHOLD, 0x01DB, "Tier 13 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_13_THRESHOLD, 0x01DC, "Tier 13 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_14_THRESHOLD, 0x01DD, "Tier 13 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_15_THRESHOLD, 0x01DE, "Tier 13 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_THRESHOLD_COUNT, 0x01DF, "Tier 13 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_1_THRESHOLD, 0x01E0, "Tier 14 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_2_THRESHOLD, 0x01E1, "Tier 14 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_3_THRESHOLD, 0x01E2, "Tier 14 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_4_THRESHOLD, 0x01E3, "Tier 14 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_5_THRESHOLD, 0x01E4, "Tier 14 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_6_THRESHOLD, 0x01E5, "Tier 14 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_7_THRESHOLD, 0x01E6, "Tier 14 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_8_THRESHOLD, 0x01E7, "Tier 14 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_9_THRESHOLD, 0x01E8, "Tier 14 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_10_THRESHOLD, 0x01E9, "Tier 14 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_11_THRESHOLD, 0x01EA, "Tier 14 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_12_THRESHOLD, 0x01EB, "Tier 14 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_13_THRESHOLD, 0x01EC, "Tier 14 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_14_THRESHOLD, 0x01ED, "Tier 14 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_15_THRESHOLD, 0x01EE, "Tier 14 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_THRESHOLD_COUNT, 0x01EF, "Tier 14 Block Threshold Count" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_1_THRESHOLD, 0x01F0, "Tier 15 Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_2_THRESHOLD, 0x01F1, "Tier 15 Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_3_THRESHOLD, 0x01F2, "Tier 15 Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_4_THRESHOLD, 0x01F3, "Tier 15 Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_5_THRESHOLD, 0x01F4, "Tier 15 Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_6_THRESHOLD, 0x01F5, "Tier 15 Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_7_THRESHOLD, 0x01F6, "Tier 15 Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_8_THRESHOLD, 0x01F7, "Tier 15 Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_9_THRESHOLD, 0x01F8, "Tier 15 Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_10_THRESHOLD, 0x01F9, "Tier 15 Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_11_THRESHOLD, 0x01FA, "Tier 15 Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_12_THRESHOLD, 0x01FB, "Tier 15 Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_13_THRESHOLD, 0x01FC, "Tier 15 Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_14_THRESHOLD, 0x01FD, "Tier 15 Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_15_THRESHOLD, 0x01FE, "Tier 15 Block 15 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_THRESHOLD_COUNT, 0x01FF, "Tier 15 Block Threshold Count" ) \ /* Block Period (Delivered) Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_START_OF_BLOCK_PERIOD, 0x0200, "Start of Block Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_PERIOD_DURATION, 0x0201, "Block Period Duration" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_THRESHOLD_MULTIPLIER, 0x0202, "Threshold Multiplier" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_THRESHOLD_DIVISOR, 0x0203, "Threshold Divisor" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_BLOCK_PERIOD_DURATION_TYPE, 0x0204, "Block Period Duration Type" ) \ /* Commodity */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_COMMODITY_TYPE, 0x0300, "Commodity Type" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_STANDING_CHARGE, 0x0301, "Standing Charge" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CONVERSION_FACTOR, 0x0302, "Conversion Factor" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CONVERSION_FACTOR_TRAILING_DIGIT,0x0303, "Conversion Factor TrailingDigit" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CALORIFIC_VALUE, 0x0304, "Calorific Value" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CALORIFIC_VALUE_UNIT, 0x0305, "Calorific Value Unit" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CALORIFIC_VALUE_TRAILING_DIGIT, 0x0306, "Calorific Value Trailing Digit" ) \ /* Block Price Information (Delivered) */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_1_PRICE, 0x0400, "No Tier Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_2_PRICE, 0x0401, "No Tier Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_3_PRICE, 0x0402, "No Tier Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_4_PRICE, 0x0403, "No Tier Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_5_PRICE, 0x0404, "No Tier Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_6_PRICE, 0x0405, "No Tier Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_7_PRICE, 0x0406, "No Tier Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_8_PRICE, 0x0407, "No Tier Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_9_PRICE, 0x0408, "No Tier Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_10_PRICE, 0x0409, "No Tier Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_11_PRICE, 0x040A, "No Tier Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_12_PRICE, 0x040B, "No Tier Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_13_PRICE, 0x040C, "No Tier Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_14_PRICE, 0x040D, "No Tier Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_15_PRICE, 0x040E, "No Tier Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NO_TIER_BLOCK_16_PRICE, 0x040F, "No Tier Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_1_PRICE, 0x0410, "Tier 1 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_2_PRICE, 0x0411, "Tier 1 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_3_PRICE, 0x0412, "Tier 1 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_4_PRICE, 0x0413, "Tier 1 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_5_PRICE, 0x0414, "Tier 1 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_6_PRICE, 0x0415, "Tier 1 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_7_PRICE, 0x0416, "Tier 1 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_8_PRICE, 0x0417, "Tier 1 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_9_PRICE, 0x0418, "Tier 1 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_10_PRICE, 0x0419, "Tier 1 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_11_PRICE, 0x041A, "Tier 1 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_12_PRICE, 0x041B, "Tier 1 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_13_PRICE, 0x041C, "Tier 1 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_14_PRICE, 0x041D, "Tier 1 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_15_PRICE, 0x041E, "Tier 1 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_1_BLOCK_16_PRICE, 0x041F, "Tier 1 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_1_PRICE, 0x0420, "Tier 2 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_2_PRICE, 0x0421, "Tier 2 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_3_PRICE, 0x0422, "Tier 2 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_4_PRICE, 0x0423, "Tier 2 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_5_PRICE, 0x0424, "Tier 2 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_6_PRICE, 0x0425, "Tier 2 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_7_PRICE, 0x0426, "Tier 2 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_8_PRICE, 0x0427, "Tier 2 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_9_PRICE, 0x0428, "Tier 2 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_10_PRICE, 0x0429, "Tier 2 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_11_PRICE, 0x042A, "Tier 2 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_12_PRICE, 0x042B, "Tier 2 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_13_PRICE, 0x042C, "Tier 2 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_14_PRICE, 0x042D, "Tier 2 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_15_PRICE, 0x042E, "Tier 2 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_2_BLOCK_16_PRICE, 0x042F, "Tier 2 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_1_PRICE, 0x0430, "Tier 3 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_2_PRICE, 0x0431, "Tier 3 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_3_PRICE, 0x0432, "Tier 3 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_4_PRICE, 0x0433, "Tier 3 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_5_PRICE, 0x0434, "Tier 3 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_6_PRICE, 0x0435, "Tier 3 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_7_PRICE, 0x0436, "Tier 3 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_8_PRICE, 0x0437, "Tier 3 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_9_PRICE, 0x0438, "Tier 3 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_10_PRICE, 0x0439, "Tier 3 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_11_PRICE, 0x043A, "Tier 3 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_12_PRICE, 0x043B, "Tier 3 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_13_PRICE, 0x043C, "Tier 3 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_14_PRICE, 0x043D, "Tier 3 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_15_PRICE, 0x043E, "Tier 3 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_3_BLOCK_16_PRICE, 0x043F, "Tier 3 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_1_PRICE, 0x0440, "Tier 4 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_2_PRICE, 0x0441, "Tier 4 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_3_PRICE, 0x0442, "Tier 4 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_4_PRICE, 0x0443, "Tier 4 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_5_PRICE, 0x0444, "Tier 4 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_6_PRICE, 0x0445, "Tier 4 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_7_PRICE, 0x0446, "Tier 4 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_8_PRICE, 0x0447, "Tier 4 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_9_PRICE, 0x0448, "Tier 4 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_10_PRICE, 0x0449, "Tier 4 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_11_PRICE, 0x044A, "Tier 4 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_12_PRICE, 0x044B, "Tier 4 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_13_PRICE, 0x044C, "Tier 4 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_14_PRICE, 0x044D, "Tier 4 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_15_PRICE, 0x044E, "Tier 4 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_4_BLOCK_16_PRICE, 0x044F, "Tier 4 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_1_PRICE, 0x0450, "Tier 5 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_2_PRICE, 0x0451, "Tier 5 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_3_PRICE, 0x0452, "Tier 5 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_4_PRICE, 0x0453, "Tier 5 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_5_PRICE, 0x0454, "Tier 5 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_6_PRICE, 0x0455, "Tier 5 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_7_PRICE, 0x0456, "Tier 5 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_8_PRICE, 0x0457, "Tier 5 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_9_PRICE, 0x0458, "Tier 5 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_10_PRICE, 0x0459, "Tier 5 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_11_PRICE, 0x045A, "Tier 5 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_12_PRICE, 0x045B, "Tier 5 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_13_PRICE, 0x045C, "Tier 5 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_14_PRICE, 0x045D, "Tier 5 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_15_PRICE, 0x045E, "Tier 5 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_5_BLOCK_16_PRICE, 0x045F, "Tier 5 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_1_PRICE, 0x0460, "Tier 6 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_2_PRICE, 0x0461, "Tier 6 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_3_PRICE, 0x0462, "Tier 6 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_4_PRICE, 0x0463, "Tier 6 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_5_PRICE, 0x0464, "Tier 6 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_6_PRICE, 0x0465, "Tier 6 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_7_PRICE, 0x0466, "Tier 6 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_8_PRICE, 0x0467, "Tier 6 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_9_PRICE, 0x0468, "Tier 6 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_10_PRICE, 0x0469, "Tier 6 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_11_PRICE, 0x046A, "Tier 6 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_12_PRICE, 0x046B, "Tier 6 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_13_PRICE, 0x046C, "Tier 6 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_14_PRICE, 0x046D, "Tier 6 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_15_PRICE, 0x046E, "Tier 6 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_6_BLOCK_16_PRICE, 0x046F, "Tier 6 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_1_PRICE, 0x0470, "Tier 7 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_2_PRICE, 0x0471, "Tier 7 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_3_PRICE, 0x0472, "Tier 7 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_4_PRICE, 0x0473, "Tier 7 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_5_PRICE, 0x0474, "Tier 7 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_6_PRICE, 0x0475, "Tier 7 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_7_PRICE, 0x0476, "Tier 7 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_8_PRICE, 0x0477, "Tier 7 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_9_PRICE, 0x0478, "Tier 7 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_10_PRICE, 0x0479, "Tier 7 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_11_PRICE, 0x047A, "Tier 7 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_12_PRICE, 0x047B, "Tier 7 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_13_PRICE, 0x047C, "Tier 7 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_14_PRICE, 0x047D, "Tier 7 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_15_PRICE, 0x047E, "Tier 7 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_7_BLOCK_16_PRICE, 0x047F, "Tier 7 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_1_PRICE, 0x0480, "Tier 8 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_2_PRICE, 0x0481, "Tier 8 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_3_PRICE, 0x0482, "Tier 8 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_4_PRICE, 0x0483, "Tier 8 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_5_PRICE, 0x0484, "Tier 8 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_6_PRICE, 0x0485, "Tier 8 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_7_PRICE, 0x0486, "Tier 8 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_8_PRICE, 0x0487, "Tier 8 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_9_PRICE, 0x0488, "Tier 8 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_10_PRICE, 0x0489, "Tier 8 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_11_PRICE, 0x048A, "Tier 8 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_12_PRICE, 0x048B, "Tier 8 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_13_PRICE, 0x048C, "Tier 8 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_14_PRICE, 0x048D, "Tier 8 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_15_PRICE, 0x048E, "Tier 8 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_8_BLOCK_16_PRICE, 0x048F, "Tier 8 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_1_PRICE, 0x0490, "Tier 9 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_2_PRICE, 0x0491, "Tier 9 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_3_PRICE, 0x0492, "Tier 9 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_4_PRICE, 0x0493, "Tier 9 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_5_PRICE, 0x0494, "Tier 9 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_6_PRICE, 0x0495, "Tier 9 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_7_PRICE, 0x0496, "Tier 9 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_8_PRICE, 0x0497, "Tier 9 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_9_PRICE, 0x0498, "Tier 9 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_10_PRICE, 0x0499, "Tier 9 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_11_PRICE, 0x049A, "Tier 9 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_12_PRICE, 0x049B, "Tier 9 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_13_PRICE, 0x049C, "Tier 9 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_14_PRICE, 0x049D, "Tier 9 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_15_PRICE, 0x049E, "Tier 9 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_9_BLOCK_16_PRICE, 0x049F, "Tier 9 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_1_PRICE, 0x04A0, "Tier 10 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_2_PRICE, 0x04A1, "Tier 10 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_3_PRICE, 0x04A2, "Tier 10 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_4_PRICE, 0x04A3, "Tier 10 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_5_PRICE, 0x04A4, "Tier 10 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_6_PRICE, 0x04A5, "Tier 10 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_7_PRICE, 0x04A6, "Tier 10 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_8_PRICE, 0x04A7, "Tier 10 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_9_PRICE, 0x04A8, "Tier 10 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_10_PRICE, 0x04A9, "Tier 10 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_11_PRICE, 0x04AA, "Tier 10 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_12_PRICE, 0x04AB, "Tier 10 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_13_PRICE, 0x04AC, "Tier 10 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_14_PRICE, 0x04AD, "Tier 10 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_15_PRICE, 0x04AE, "Tier 10 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_10_BLOCK_16_PRICE, 0x04AF, "Tier 10 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_1_PRICE, 0x04B0, "Tier 11 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_2_PRICE, 0x04B1, "Tier 11 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_3_PRICE, 0x04B2, "Tier 11 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_4_PRICE, 0x04B3, "Tier 11 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_5_PRICE, 0x04B4, "Tier 11 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_6_PRICE, 0x04B5, "Tier 11 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_7_PRICE, 0x04B6, "Tier 11 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_8_PRICE, 0x04B7, "Tier 11 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_9_PRICE, 0x04B8, "Tier 11 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_10_PRICE, 0x04B9, "Tier 11 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_11_PRICE, 0x04BA, "Tier 11 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_12_PRICE, 0x04BB, "Tier 11 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_13_PRICE, 0x04BC, "Tier 11 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_14_PRICE, 0x04BD, "Tier 11 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_15_PRICE, 0x04BE, "Tier 11 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_11_BLOCK_16_PRICE, 0x04BF, "Tier 11 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_1_PRICE, 0x04C0, "Tier 12 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_2_PRICE, 0x04C1, "Tier 12 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_3_PRICE, 0x04C2, "Tier 12 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_4_PRICE, 0x04C3, "Tier 12 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_5_PRICE, 0x04C4, "Tier 12 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_6_PRICE, 0x04C5, "Tier 12 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_7_PRICE, 0x04C6, "Tier 12 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_8_PRICE, 0x04C7, "Tier 12 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_9_PRICE, 0x04C8, "Tier 12 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_10_PRICE, 0x04C9, "Tier 12 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_11_PRICE, 0x04CA, "Tier 12 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_12_PRICE, 0x04CB, "Tier 12 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_13_PRICE, 0x04CC, "Tier 12 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_14_PRICE, 0x04CD, "Tier 12 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_15_PRICE, 0x04CE, "Tier 12 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_12_BLOCK_16_PRICE, 0x04CF, "Tier 12 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_1_PRICE, 0x04D0, "Tier 13 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_2_PRICE, 0x04D1, "Tier 13 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_3_PRICE, 0x04D2, "Tier 13 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_4_PRICE, 0x04D3, "Tier 13 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_5_PRICE, 0x04D4, "Tier 13 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_6_PRICE, 0x04D5, "Tier 13 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_7_PRICE, 0x04D6, "Tier 13 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_8_PRICE, 0x04D7, "Tier 13 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_9_PRICE, 0x04D8, "Tier 13 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_10_PRICE, 0x04D9, "Tier 13 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_11_PRICE, 0x04DA, "Tier 13 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_12_PRICE, 0x04DB, "Tier 13 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_13_PRICE, 0x04DC, "Tier 13 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_14_PRICE, 0x04DD, "Tier 13 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_15_PRICE, 0x04DE, "Tier 13 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_13_BLOCK_16_PRICE, 0x04DF, "Tier 13 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_1_PRICE, 0x04E0, "Tier 14 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_2_PRICE, 0x04E1, "Tier 14 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_3_PRICE, 0x04E2, "Tier 14 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_4_PRICE, 0x04E3, "Tier 14 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_5_PRICE, 0x04E4, "Tier 14 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_6_PRICE, 0x04E5, "Tier 14 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_7_PRICE, 0x04E6, "Tier 14 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_8_PRICE, 0x04E7, "Tier 14 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_9_PRICE, 0x04E8, "Tier 14 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_10_PRICE, 0x04E9, "Tier 14 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_11_PRICE, 0x04EA, "Tier 14 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_12_PRICE, 0x04EB, "Tier 14 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_13_PRICE, 0x04EC, "Tier 14 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_14_PRICE, 0x04ED, "Tier 14 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_15_PRICE, 0x04EE, "Tier 14 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_14_BLOCK_16_PRICE, 0x04EF, "Tier 14 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_1_PRICE, 0x04F0, "Tier 15 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_2_PRICE, 0x04F1, "Tier 15 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_3_PRICE, 0x04F2, "Tier 15 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_4_PRICE, 0x04F3, "Tier 15 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_5_PRICE, 0x04F4, "Tier 15 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_6_PRICE, 0x04F5, "Tier 15 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_7_PRICE, 0x04F6, "Tier 15 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_8_PRICE, 0x04F7, "Tier 15 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_9_PRICE, 0x04F8, "Tier 15 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_10_PRICE, 0x04F9, "Tier 15 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_11_PRICE, 0x04FA, "Tier 15 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_12_PRICE, 0x04FB, "Tier 15 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_13_PRICE, 0x04FC, "Tier 15 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_14_PRICE, 0x04FD, "Tier 15 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_15_PRICE, 0x04FE, "Tier 15 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_15_BLOCK_16_PRICE, 0x04FF, "Tier 15 Block 16 Price" ) \ /* Extended Price Information (Delivered) Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_16, 0x050F, "Price Tier 16" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_17, 0x0510, "Price Tier 17" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_18, 0x0511, "Price Tier 18" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_19, 0x0512, "Price Tier 19" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_20, 0x0513, "Price Tier 20" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_21, 0x0514, "Price Tier 21" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_22, 0x0515, "Price Tier 22" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_23, 0x0516, "Price Tier 23" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_24, 0x0517, "Price Tier 24" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_25, 0x0518, "Price Tier 25" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_26, 0x0519, "Price Tier 26" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_27, 0x051A, "Price Tier 27" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_28, 0x051B, "Price Tier 28" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_29, 0x051C, "Price Tier 29" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_30, 0x051D, "Price Tier 30" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_31, 0x051E, "Price Tier 31" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_32, 0x051F, "Price Tier 32" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_33, 0x0520, "Price Tier 33" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_34, 0x0521, "Price Tier 34" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_35, 0x0522, "Price Tier 35" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_36, 0x0523, "Price Tier 36" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_37, 0x0524, "Price Tier 37" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_38, 0x0525, "Price Tier 38" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_39, 0x0526, "Price Tier 39" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_40, 0x0527, "Price Tier 40" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_41, 0x0528, "Price Tier 41" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_42, 0x0529, "Price Tier 42" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_43, 0x052A, "Price Tier 43" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_44, 0x052B, "Price Tier 44" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_45, 0x052C, "Price Tier 45" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_46, 0x052D, "Price Tier 46" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_47, 0x052E, "Price Tier 47" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TIER_48, 0x052F, "Price Tier 48" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CPP_1_PRICE, 0x05FE, "CPP 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CPP_2_PRICE, 0x05FF, "CPP 2 Price" ) \ /* Tariff Information Set (Delivered) */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TARIFF_LABEL, 0x0610, "Tariff Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NUMBER_OF_PRICE_TIERS_IN_USE, 0x0611, "Number of Price Tiers in Use" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_NUMBER_OF_BLOCK_THRES_IN_USE, 0x0612, "Number of Block Thresholds in Use" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TIER_BLOCK_MODE, 0x0613, "Tier Block Mode" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_UNIT_OF_MEASURE, 0x0615, "Unit of Measure" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CURRENCY, 0x0616, "Currency" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PRICE_TRAILING_DIGIT, 0x0617, "Price Trailing Digit" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_TARIFF_RESOLUTION_PERIOD, 0x0619, "Tariff Resolution Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CO2, 0x0620, "CO2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CO2_UNIT, 0x0621, "CO2 Unit" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CO2_TRAILING_DIGIT, 0x0622, "CO2 Trailing Digit" ) \ /* Billing Information (Delivered) Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CURRENT_BILLING_PERIOD_START, 0x0700, "Current Billing Period Start" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CURRENT_BILLING_PERIOD_DURATION, 0x0701, "Current Billing Period Duration" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_LAST_BILLING_PERIOD_START, 0x0702, "Last Billing Period Start" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_LAST_BILLING_PERIOD_DURATION, 0x0703, "Last Billing Period Duration" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_LAST_BILLING_PERIOD_CON_BILL, 0x0704, "Last Billing Period Consolidated Bill" ) \ /* Credit Payment Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_DUE_DATE, 0x0800, "Credit Payment Due Date" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_STATUS, 0x0801, "Credit Payment Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_OVER_DUE_AMOUNT, 0x0802, "Credit Payment Over Due Amount" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PAYMENT_DISCOUNT, 0x080A, "Payment Discount" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_PAYMENT_DISCOUNT_PERIOD, 0x080B, "Payment Discount Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_1, 0x0810, "Credit Payment #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_DATE_1, 0x0811, "Credit Payment Date #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_REF_1, 0x0812, "Credit Payment Ref #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_2, 0x0820, "Credit Payment #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_DATE_2, 0x0821, "Credit Payment Date #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_REF_2, 0x0822, "Credit Payment Ref #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_3, 0x0830, "Credit Payment #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_DATE_3, 0x0831, "Credit Payment Date #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_REF_3, 0x0832, "Credit Payment Ref #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_4, 0x0840, "Credit Payment #4" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_DATE_4, 0x0841, "Credit Payment Date #4" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_REF_4, 0x0842, "Credit Payment Ref #4" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_5, 0x0850, "Credit Payment #5" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_DATE_5, 0x0851, "Credit Payment Date #5" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CREDIT_PAYMENT_REF_5, 0x0852, "Credit Payment Ref #5" ) \ /* Received Tier Label Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_1_PRICE_LABEL, 0x8000, "Received Tier 1 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_2_PRICE_LABEL, 0x8001, "Received Tier 2 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_3_PRICE_LABEL, 0x8002, "Received Tier 3 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_4_PRICE_LABEL, 0x8003, "Received Tier 4 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_5_PRICE_LABEL, 0x8004, "Received Tier 5 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_6_PRICE_LABEL, 0x8005, "Received Tier 6 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_7_PRICE_LABEL, 0x8006, "Received Tier 7 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_8_PRICE_LABEL, 0x8007, "Received Tier 8 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_9_PRICE_LABEL, 0x8008, "Received Tier 9 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_10_PRICE_LABEL, 0x8009, "Received Tier 10 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_11_PRICE_LABEL, 0x800A, "Received Tier 11 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_12_PRICE_LABEL, 0x800B, "Received Tier 12 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_13_PRICE_LABEL, 0x800C, "Received Tier 13 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_14_PRICE_LABEL, 0x800D, "Received Tier 14 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_15_PRICE_LABEL, 0x800E, "Received Tier 15 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_16_PRICE_LABEL, 0x800F, "Received Tier 16 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_17_PRICE_LABEL, 0x8010, "Received Tier 17 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_18_PRICE_LABEL, 0x8011, "Received Tier 18 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_19_PRICE_LABEL, 0x8012, "Received Tier 19 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_20_PRICE_LABEL, 0x8013, "Received Tier 20 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_21_PRICE_LABEL, 0x8014, "Received Tier 21 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_22_PRICE_LABEL, 0x8015, "Received Tier 22 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_23_PRICE_LABEL, 0x8016, "Received Tier 23 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_24_PRICE_LABEL, 0x8017, "Received Tier 24 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_25_PRICE_LABEL, 0x8018, "Received Tier 25 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_26_PRICE_LABEL, 0x8019, "Received Tier 26 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_27_PRICE_LABEL, 0x801A, "Received Tier 27 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_28_PRICE_LABEL, 0x801B, "Received Tier 28 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_29_PRICE_LABEL, 0x801C, "Received Tier 29 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_30_PRICE_LABEL, 0x801D, "Received Tier 30 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_31_PRICE_LABEL, 0x801E, "Received Tier 31 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_32_PRICE_LABEL, 0x801F, "Received Tier 32 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_33_PRICE_LABEL, 0x8020, "Received Tier 33 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_34_PRICE_LABEL, 0x8021, "Received Tier 34 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_35_PRICE_LABEL, 0x8022, "Received Tier 35 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_36_PRICE_LABEL, 0x8023, "Received Tier 36 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_37_PRICE_LABEL, 0x8024, "Received Tier 37 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_38_PRICE_LABEL, 0x8025, "Received Tier 38 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_39_PRICE_LABEL, 0x8026, "Received Tier 39 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_40_PRICE_LABEL, 0x8027, "Received Tier 40 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_41_PRICE_LABEL, 0x8028, "Received Tier 41 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_42_PRICE_LABEL, 0x8029, "Received Tier 42 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_43_PRICE_LABEL, 0x802A, "Received Tier 43 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_44_PRICE_LABEL, 0x802B, "Received Tier 44 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_45_PRICE_LABEL, 0x802C, "Received Tier 45 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_46_PRICE_LABEL, 0x802D, "Received Tier 46 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_47_PRICE_LABEL, 0x802E, "Received Tier 47 Price label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_48_PRICE_LABEL, 0x802F, "Received Tier 48 Price label" ) \ /* Received Block Threshold Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_1_THRESHOLD, 0x8100, "Received Block 1 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_2_THRESHOLD, 0x8101, "Received Block 2 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_3_THRESHOLD, 0x8102, "Received Block 3 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_4_THRESHOLD, 0x8103, "Received Block 4 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_5_THRESHOLD, 0x8104, "Received Block 5 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_6_THRESHOLD, 0x8105, "Received Block 6 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_7_THRESHOLD, 0x8106, "Received Block 7 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_8_THRESHOLD, 0x8107, "Received Block 8 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_9_THRESHOLD, 0x8108, "Received Block 9 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_10_THRESHOLD, 0x8109, "Received Block 10 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_11_THRESHOLD, 0x810A, "Received Block 11 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_12_THRESHOLD, 0x810B, "Received Block 12 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_13_THRESHOLD, 0x810C, "Received Block 13 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_14_THRESHOLD, 0x810D, "Received Block 14 Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_15_THRESHOLD, 0x810E, "Received Block 15 Threshold" ) \ /* Received Block Period Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_START_OF_BLOCK_PERIOD, 0x8200, "Received Start of Block Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_BLOCK_PERIOD_DURATION, 0x8201, "Received Block Period Duration" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_THRESHOLD_MULTIPLIER, 0x8202, "Received Threshold Multiplier" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_THRESHOLD_DIVISOR, 0x8203, "Received Threshold Divisor" ) \ /* Received Block Price Information Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_1_PRICE, 0x8400, "Rx No Tier Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_2_PRICE, 0x8401, "Rx No Tier Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_3_PRICE, 0x8402, "Rx No Tier Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_4_PRICE, 0x8403, "Rx No Tier Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_5_PRICE, 0x8404, "Rx No Tier Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_6_PRICE, 0x8405, "Rx No Tier Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_7_PRICE, 0x8406, "Rx No Tier Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_8_PRICE, 0x8407, "Rx No Tier Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_9_PRICE, 0x8408, "Rx No Tier Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_10_PRICE, 0x8409, "Rx No Tier Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_11_PRICE, 0x840A, "Rx No Tier Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_12_PRICE, 0x840B, "Rx No Tier Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_13_PRICE, 0x840C, "Rx No Tier Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_14_PRICE, 0x840D, "Rx No Tier Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_15_PRICE, 0x840E, "Rx No Tier Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NO_TIER_BLOCK_16_PRICE, 0x840F, "Rx No Tier Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_1_PRICE, 0x8410, "Rx Tier 1 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_2_PRICE, 0x8411, "Rx Tier 1 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_3_PRICE, 0x8412, "Rx Tier 1 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_4_PRICE, 0x8413, "Rx Tier 1 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_5_PRICE, 0x8414, "Rx Tier 1 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_6_PRICE, 0x8415, "Rx Tier 1 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_7_PRICE, 0x8416, "Rx Tier 1 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_8_PRICE, 0x8417, "Rx Tier 1 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_9_PRICE, 0x8418, "Rx Tier 1 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_10_PRICE, 0x8419, "Rx Tier 1 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_11_PRICE, 0x841A, "Rx Tier 1 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_12_PRICE, 0x841B, "Rx Tier 1 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_13_PRICE, 0x841C, "Rx Tier 1 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_14_PRICE, 0x841D, "Rx Tier 1 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_15_PRICE, 0x841E, "Rx Tier 1 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_1_BLOCK_16_PRICE, 0x841F, "Rx Tier 1 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_1_PRICE, 0x8420, "Rx Tier 2 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_2_PRICE, 0x8421, "Rx Tier 2 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_3_PRICE, 0x8422, "Rx Tier 2 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_4_PRICE, 0x8423, "Rx Tier 2 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_5_PRICE, 0x8424, "Rx Tier 2 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_6_PRICE, 0x8425, "Rx Tier 2 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_7_PRICE, 0x8426, "Rx Tier 2 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_8_PRICE, 0x8427, "Rx Tier 2 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_9_PRICE, 0x8428, "Rx Tier 2 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_10_PRICE, 0x8429, "Rx Tier 2 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_11_PRICE, 0x842A, "Rx Tier 2 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_12_PRICE, 0x842B, "Rx Tier 2 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_13_PRICE, 0x842C, "Rx Tier 2 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_14_PRICE, 0x842D, "Rx Tier 2 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_15_PRICE, 0x842E, "Rx Tier 2 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_2_BLOCK_16_PRICE, 0x842F, "Rx Tier 2 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_1_PRICE, 0x8430, "Rx Tier 3 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_2_PRICE, 0x8431, "Rx Tier 3 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_3_PRICE, 0x8432, "Rx Tier 3 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_4_PRICE, 0x8433, "Rx Tier 3 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_5_PRICE, 0x8434, "Rx Tier 3 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_6_PRICE, 0x8435, "Rx Tier 3 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_7_PRICE, 0x8436, "Rx Tier 3 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_8_PRICE, 0x8437, "Rx Tier 3 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_9_PRICE, 0x8438, "Rx Tier 3 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_10_PRICE, 0x8439, "Rx Tier 3 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_11_PRICE, 0x843A, "Rx Tier 3 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_12_PRICE, 0x843B, "Rx Tier 3 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_13_PRICE, 0x843C, "Rx Tier 3 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_14_PRICE, 0x843D, "Rx Tier 3 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_15_PRICE, 0x843E, "Rx Tier 3 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_3_BLOCK_16_PRICE, 0x843F, "Rx Tier 3 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_1_PRICE, 0x8440, "Rx Tier 4 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_2_PRICE, 0x8441, "Rx Tier 4 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_3_PRICE, 0x8442, "Rx Tier 4 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_4_PRICE, 0x8443, "Rx Tier 4 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_5_PRICE, 0x8444, "Rx Tier 4 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_6_PRICE, 0x8445, "Rx Tier 4 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_7_PRICE, 0x8446, "Rx Tier 4 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_8_PRICE, 0x8447, "Rx Tier 4 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_9_PRICE, 0x8448, "Rx Tier 4 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_10_PRICE, 0x8449, "Rx Tier 4 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_11_PRICE, 0x844A, "Rx Tier 4 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_12_PRICE, 0x844B, "Rx Tier 4 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_13_PRICE, 0x844C, "Rx Tier 4 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_14_PRICE, 0x844D, "Rx Tier 4 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_15_PRICE, 0x844E, "Rx Tier 4 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_4_BLOCK_16_PRICE, 0x844F, "Rx Tier 4 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_1_PRICE, 0x8450, "Rx Tier 5 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_2_PRICE, 0x8451, "Rx Tier 5 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_3_PRICE, 0x8452, "Rx Tier 5 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_4_PRICE, 0x8453, "Rx Tier 5 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_5_PRICE, 0x8454, "Rx Tier 5 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_6_PRICE, 0x8455, "Rx Tier 5 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_7_PRICE, 0x8456, "Rx Tier 5 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_8_PRICE, 0x8457, "Rx Tier 5 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_9_PRICE, 0x8458, "Rx Tier 5 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_10_PRICE, 0x8459, "Rx Tier 5 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_11_PRICE, 0x845A, "Rx Tier 5 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_12_PRICE, 0x845B, "Rx Tier 5 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_13_PRICE, 0x845C, "Rx Tier 5 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_14_PRICE, 0x845D, "Rx Tier 5 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_15_PRICE, 0x845E, "Rx Tier 5 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_5_BLOCK_16_PRICE, 0x845F, "Rx Tier 5 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_1_PRICE, 0x8460, "Rx Tier 6 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_2_PRICE, 0x8461, "Rx Tier 6 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_3_PRICE, 0x8462, "Rx Tier 6 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_4_PRICE, 0x8463, "Rx Tier 6 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_5_PRICE, 0x8464, "Rx Tier 6 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_6_PRICE, 0x8465, "Rx Tier 6 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_7_PRICE, 0x8466, "Rx Tier 6 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_8_PRICE, 0x8467, "Rx Tier 6 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_9_PRICE, 0x8468, "Rx Tier 6 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_10_PRICE, 0x8469, "Rx Tier 6 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_11_PRICE, 0x846A, "Rx Tier 6 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_12_PRICE, 0x846B, "Rx Tier 6 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_13_PRICE, 0x846C, "Rx Tier 6 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_14_PRICE, 0x846D, "Rx Tier 6 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_15_PRICE, 0x846E, "Rx Tier 6 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_6_BLOCK_16_PRICE, 0x846F, "Rx Tier 6 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_1_PRICE, 0x8470, "Rx Tier 7 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_2_PRICE, 0x8471, "Rx Tier 7 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_3_PRICE, 0x8472, "Rx Tier 7 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_4_PRICE, 0x8473, "Rx Tier 7 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_5_PRICE, 0x8474, "Rx Tier 7 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_6_PRICE, 0x8475, "Rx Tier 7 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_7_PRICE, 0x8476, "Rx Tier 7 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_8_PRICE, 0x8477, "Rx Tier 7 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_9_PRICE, 0x8478, "Rx Tier 7 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_10_PRICE, 0x8479, "Rx Tier 7 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_11_PRICE, 0x847A, "Rx Tier 7 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_12_PRICE, 0x847B, "Rx Tier 7 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_13_PRICE, 0x847C, "Rx Tier 7 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_14_PRICE, 0x847D, "Rx Tier 7 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_15_PRICE, 0x847E, "Rx Tier 7 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_7_BLOCK_16_PRICE, 0x847F, "Rx Tier 7 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_1_PRICE, 0x8480, "Rx Tier 8 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_2_PRICE, 0x8481, "Rx Tier 8 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_3_PRICE, 0x8482, "Rx Tier 8 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_4_PRICE, 0x8483, "Rx Tier 8 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_5_PRICE, 0x8484, "Rx Tier 8 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_6_PRICE, 0x8485, "Rx Tier 8 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_7_PRICE, 0x8486, "Rx Tier 8 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_8_PRICE, 0x8487, "Rx Tier 8 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_9_PRICE, 0x8488, "Rx Tier 8 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_10_PRICE, 0x8489, "Rx Tier 8 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_11_PRICE, 0x848A, "Rx Tier 8 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_12_PRICE, 0x848B, "Rx Tier 8 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_13_PRICE, 0x848C, "Rx Tier 8 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_14_PRICE, 0x848D, "Rx Tier 8 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_15_PRICE, 0x848E, "Rx Tier 8 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_8_BLOCK_16_PRICE, 0x848F, "Rx Tier 8 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_1_PRICE, 0x8490, "Rx Tier 9 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_2_PRICE, 0x8491, "Rx Tier 9 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_3_PRICE, 0x8492, "Rx Tier 9 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_4_PRICE, 0x8493, "Rx Tier 9 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_5_PRICE, 0x8494, "Rx Tier 9 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_6_PRICE, 0x8495, "Rx Tier 9 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_7_PRICE, 0x8496, "Rx Tier 9 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_8_PRICE, 0x8497, "Rx Tier 9 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_9_PRICE, 0x8498, "Rx Tier 9 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_10_PRICE, 0x8499, "Rx Tier 9 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_11_PRICE, 0x849A, "Rx Tier 9 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_12_PRICE, 0x849B, "Rx Tier 9 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_13_PRICE, 0x849C, "Rx Tier 9 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_14_PRICE, 0x849D, "Rx Tier 9 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_15_PRICE, 0x849E, "Rx Tier 9 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_9_BLOCK_16_PRICE, 0x849F, "Rx Tier 9 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_1_PRICE, 0x84A0, "Rx Tier 10 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_2_PRICE, 0x84A1, "Rx Tier 10 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_3_PRICE, 0x84A2, "Rx Tier 10 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_4_PRICE, 0x84A3, "Rx Tier 10 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_5_PRICE, 0x84A4, "Rx Tier 10 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_6_PRICE, 0x84A5, "Rx Tier 10 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_7_PRICE, 0x84A6, "Rx Tier 10 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_8_PRICE, 0x84A7, "Rx Tier 10 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_9_PRICE, 0x84A8, "Rx Tier 10 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_10_PRICE, 0x84A9, "Rx Tier 10 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_11_PRICE, 0x84AA, "Rx Tier 10 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_12_PRICE, 0x84AB, "Rx Tier 10 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_13_PRICE, 0x84AC, "Rx Tier 10 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_14_PRICE, 0x84AD, "Rx Tier 10 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_15_PRICE, 0x84AE, "Rx Tier 10 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_10_BLOCK_16_PRICE, 0x84AF, "Rx Tier 10 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_1_PRICE, 0x84B0, "Rx Tier 11 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_2_PRICE, 0x84B1, "Rx Tier 11 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_3_PRICE, 0x84B2, "Rx Tier 11 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_4_PRICE, 0x84B3, "Rx Tier 11 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_5_PRICE, 0x84B4, "Rx Tier 11 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_6_PRICE, 0x84B5, "Rx Tier 11 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_7_PRICE, 0x84B6, "Rx Tier 11 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_8_PRICE, 0x84B7, "Rx Tier 11 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_9_PRICE, 0x84B8, "Rx Tier 11 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_10_PRICE, 0x84B9, "Rx Tier 11 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_11_PRICE, 0x84BA, "Rx Tier 11 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_12_PRICE, 0x84BB, "Rx Tier 11 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_13_PRICE, 0x84BC, "Rx Tier 11 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_14_PRICE, 0x84BD, "Rx Tier 11 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_15_PRICE, 0x84BE, "Rx Tier 11 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_11_BLOCK_16_PRICE, 0x84BF, "Rx Tier 11 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_1_PRICE, 0x84C0, "Rx Tier 12 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_2_PRICE, 0x84C1, "Rx Tier 12 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_3_PRICE, 0x84C2, "Rx Tier 12 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_4_PRICE, 0x84C3, "Rx Tier 12 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_5_PRICE, 0x84C4, "Rx Tier 12 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_6_PRICE, 0x84C5, "Rx Tier 12 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_7_PRICE, 0x84C6, "Rx Tier 12 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_8_PRICE, 0x84C7, "Rx Tier 12 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_9_PRICE, 0x84C8, "Rx Tier 12 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_10_PRICE, 0x84C9, "Rx Tier 12 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_11_PRICE, 0x84CA, "Rx Tier 12 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_12_PRICE, 0x84CB, "Rx Tier 12 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_13_PRICE, 0x84CC, "Rx Tier 12 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_14_PRICE, 0x84CD, "Rx Tier 12 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_15_PRICE, 0x84CE, "Rx Tier 12 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_12_BLOCK_16_PRICE, 0x84CF, "Rx Tier 12 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_1_PRICE, 0x84D0, "Rx Tier 13 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_2_PRICE, 0x84D1, "Rx Tier 13 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_3_PRICE, 0x84D2, "Rx Tier 13 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_4_PRICE, 0x84D3, "Rx Tier 13 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_5_PRICE, 0x84D4, "Rx Tier 13 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_6_PRICE, 0x84D5, "Rx Tier 13 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_7_PRICE, 0x84D6, "Rx Tier 13 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_8_PRICE, 0x84D7, "Rx Tier 13 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_9_PRICE, 0x84D8, "Rx Tier 13 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_10_PRICE, 0x84D9, "Rx Tier 13 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_11_PRICE, 0x84DA, "Rx Tier 13 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_12_PRICE, 0x84DB, "Rx Tier 13 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_13_PRICE, 0x84DC, "Rx Tier 13 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_14_PRICE, 0x84DD, "Rx Tier 13 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_15_PRICE, 0x84DE, "Rx Tier 13 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_13_BLOCK_16_PRICE, 0x84DF, "Rx Tier 13 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_1_PRICE, 0x84E0, "Rx Tier 14 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_2_PRICE, 0x84E1, "Rx Tier 14 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_3_PRICE, 0x84E2, "Rx Tier 14 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_4_PRICE, 0x84E3, "Rx Tier 14 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_5_PRICE, 0x84E4, "Rx Tier 14 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_6_PRICE, 0x84E5, "Rx Tier 14 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_7_PRICE, 0x84E6, "Rx Tier 14 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_8_PRICE, 0x84E7, "Rx Tier 14 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_9_PRICE, 0x84E8, "Rx Tier 14 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_10_PRICE, 0x84E9, "Rx Tier 14 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_11_PRICE, 0x84EA, "Rx Tier 14 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_12_PRICE, 0x84EB, "Rx Tier 14 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_13_PRICE, 0x84EC, "Rx Tier 14 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_14_PRICE, 0x84ED, "Rx Tier 14 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_15_PRICE, 0x84EE, "Rx Tier 14 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_14_BLOCK_16_PRICE, 0x84EF, "Rx Tier 14 Block 16 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_1_PRICE, 0x84F0, "Rx Tier 15 Block 1 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_2_PRICE, 0x84F1, "Rx Tier 15 Block 2 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_3_PRICE, 0x84F2, "Rx Tier 15 Block 3 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_4_PRICE, 0x84F3, "Rx Tier 15 Block 4 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_5_PRICE, 0x84F4, "Rx Tier 15 Block 5 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_6_PRICE, 0x84F5, "Rx Tier 15 Block 6 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_7_PRICE, 0x84F6, "Rx Tier 15 Block 7 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_8_PRICE, 0x84F7, "Rx Tier 15 Block 8 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_9_PRICE, 0x84F8, "Rx Tier 15 Block 9 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_10_PRICE, 0x84F9, "Rx Tier 15 Block 10 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_11_PRICE, 0x84FA, "Rx Tier 15 Block 11 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_12_PRICE, 0x84FB, "Rx Tier 15 Block 12 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_13_PRICE, 0x84FC, "Rx Tier 15 Block 13 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_14_PRICE, 0x84FD, "Rx Tier 15 Block 14 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_15_PRICE, 0x84FE, "Rx Tier 15 Block 15 Price" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_TIER_15_BLOCK_16_PRICE, 0x84FF, "Rx Tier 15 Block 16 Price" ) \ /* Received Extended Price Information Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_16, 0x850F, "Received Price Tier 16" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_17, 0x8510, "Received Price Tier 17" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_18, 0x8511, "Received Price Tier 18" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_19, 0x8512, "Received Price Tier 19" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_20, 0x8513, "Received Price Tier 20" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_21, 0x8514, "Received Price Tier 21" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_22, 0x8515, "Received Price Tier 22" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_23, 0x8516, "Received Price Tier 23" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_24, 0x8517, "Received Price Tier 24" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_25, 0x8518, "Received Price Tier 25" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_26, 0x8519, "Received Price Tier 26" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_27, 0x851A, "Received Price Tier 27" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_28, 0x851B, "Received Price Tier 28" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_29, 0x851C, "Received Price Tier 29" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_30, 0x851D, "Received Price Tier 30" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_31, 0x851E, "Received Price Tier 31" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_32, 0x851F, "Received Price Tier 32" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_33, 0x8520, "Received Price Tier 33" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_34, 0x8521, "Received Price Tier 34" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_35, 0x8522, "Received Price Tier 35" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_36, 0x8523, "Received Price Tier 36" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_37, 0x8524, "Received Price Tier 37" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_38, 0x8525, "Received Price Tier 38" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_39, 0x8526, "Received Price Tier 39" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_40, 0x8527, "Received Price Tier 40" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_41, 0x8528, "Received Price Tier 41" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_42, 0x8529, "Received Price Tier 42" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_43, 0x852A, "Received Price Tier 43" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_44, 0x852B, "Received Price Tier 44" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_45, 0x852C, "Received Price Tier 45" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_46, 0x852D, "Received Price Tier 46" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_47, 0x852E, "Received Price Tier 47" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_PRICE_TIER_48, 0x852F, "Received Price Tier 48" ) \ /* Received Tariff Information Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TARIFF_LABEL, 0x8610, "Received Tariff label" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NUM_OF_PRICE_TIERS_IN_USE, 0x8611, "Received Number of Tariff Tiers in Use" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_NUM_OF_BLOCK_THRES_IN_USE, 0x8612, "Received Number of Block Thresholds in Use" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TIER_BLOCK_MODE, 0x8613, "Received Tier Block Mode" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_TARIFF_RES_PERIOD, 0x8615, "Received tariff Resolution Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_CO2, 0x8625, "Received CO2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_CO2_UNIT, 0x8626, "Received CO2 Unit" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RECEIVED_CO2_TRAILING_DIGIT, 0x8627, "Received CO2 Trailing Digit" ) \ /* Received Billing Information Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_CURRENT_BILLING_PERIOD_START, 0x8700, "Received Current Billing Period Start" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_CURRENT_BILLING_PERIOD_DUR, 0x8701, "Received Current Billing Period Duration" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_LAST_BILLING_PERIOD_START, 0x8702, "Received Last Billing Period Start" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_RX_LAST_BILLING_PERIOD_CON_BILL, 0x8704, "Received Last Billing Period Consolidated Bill" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_PRICE, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_price_attr_server_names); VALUE_STRING_ARRAY(zbee_zcl_price_attr_server_names); static value_string_ext zbee_zcl_price_attr_server_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_price_attr_server_names); #define zbee_zcl_price_attr_client_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CLNT_PRICE_INC_RND_MINUTES, 0x0000, "Price Increase Randomize Minutes" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CLNT_PRICE_DEC_RND_MINUTES, 0x0001, "Price Decrease Randomize Minutes" ) \ XXX(ZBEE_ZCL_ATTR_ID_PRICE_CLNT_COMMODITY_TYPE, 0x0002, "Commodity Type" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_PRICE_CLNT, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_price_attr_client_names); VALUE_STRING_ARRAY(zbee_zcl_price_attr_client_names); /* Server Commands Received */ #define zbee_zcl_price_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_CURRENT_PRICE, 0x00, "Get Current Price" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_SCHEDULED_PRICES, 0x01, "Get Scheduled Prices" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_PRICE_ACKNOWLEDGEMENT, 0x02, "Price Acknowledgement" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_BLOCK_PERIOD, 0x03, "Get Block Period(s)" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_CONVERSION_FACTOR, 0x04, "Get Conversion Factor" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_CALORIFIC_VALUE, 0x05, "Get Calorific Value" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_TARIFF_INFORMATION, 0x06, "Get Tariff Information" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_PRICE_MATRIX, 0x07, "Get Price Matrix" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_BLOCK_THRESHOLDS, 0x08, "Get Block Thresholds" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_CO2_VALUE, 0x09, "Get CO2 Value" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_TIER_LABELS, 0x0A, "Get Tier Labels" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_BILLING_PERIOD, 0x0B, "Get Billing Period" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_CONSOLIDATED_BILL, 0x0C, "Get Consolidated Bill" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_CPP_EVENT_RESPONSE, 0x0D, "CPP Event Response" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_CREDIT_PAYMENT, 0x0E, "Get Credit Payment" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_CURRENCY_CONVERSION, 0x0F, "Get Currency Conversion" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_GET_TARIFF_CANCELLATION, 0x10, "Get Tariff Cancellation" ) VALUE_STRING_ENUM(zbee_zcl_price_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_price_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_price_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_PRICE, 0x00, "Publish Price" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_BLOCK_PERIOD, 0x01, "Publish Block Period" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CONVERSION_FACTOR, 0x02, "Publish Conversion Factor" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CALORIFIC_VALUE, 0x03, "Publish Calorific Value" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_TARIFF_INFORMATION, 0x04, "Publish Tariff Information" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_PRICE_MATRIX, 0x05, "Publish Price Matrix" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_BLOCK_THRESHOLDS, 0x06, "Publish Block Thresholds" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CO2_VALUE, 0x07, "Publish CO2 Value" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_TIER_LABELS, 0x08, "Publish Tier Labels" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_BILLING_PERIOD, 0x09, "Publish Billing Period" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CONSOLIDATED_BILL, 0x0A, "Publish Consolidated Bill" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CPP_EVENT, 0x0B, "Publish CPP Event" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CREDIT_PAYMENT, 0x0C, "Publish Credit Payment" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CURRENCY_CONVERSION, 0x0D, "Publish Currency Conversion" ) \ XXX(ZBEE_ZCL_CMD_ID_PRICE_CANCEL_TARIFF, 0x0E, "Cancel Tariff" ) VALUE_STRING_ENUM(zbee_zcl_price_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_price_srv_tx_cmd_names); /* Block Period Control Field BitMap - Price Acknowledgement */ #define zbee_zcl_price_block_period_control_price_acknowledgement_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_CONTROL_PRICE_ACKNOLEDGEMENT_NOT_REQUIRED, 0x0, "Price Acknowledgement not required" ) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_CONTROL_PRICE_ACKNOLEDGEMENT_REQUIRED, 0x1, "Price Acknowledgement required" ) VALUE_STRING_ARRAY(zbee_zcl_price_block_period_control_price_acknowledgement_names); /* Block Period Control Field BitMap - Repeating Block */ #define zbee_zcl_price_block_period_control_repeating_block_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_CONTROL_REPEATING_BLOCK_NON_REPEATING, 0x0, "Non Repeating Block" ) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_CONTROL_REPEATING_BLOCK_REPEATING, 0x1, "Repeating Block" ) VALUE_STRING_ARRAY(zbee_zcl_price_block_period_control_repeating_block_names); /* Block Period DurationTimebase Enumeration */ #define zbee_zcl_price_block_period_duration_timebase_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_TIMEBASE_MINUTE, 0x0, "Minutes" ) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_TIMEBASE_DAY, 0x1, "Days" ) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_TIMEBASE_WEEK, 0x2, "Weeks" ) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_TIMEBASE_MONTH, 0x3, "Months" ) VALUE_STRING_ARRAY(zbee_zcl_price_block_period_duration_timebase_names); /* Block Period Duration Control Enumeration */ #define zbee_zcl_price_block_period_duration_control_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_CONTROL_START_OF_TIMEBASE, 0x0, "Start of Timebase" ) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_CONTROL_END_OF_TIMEBASE, 0x1, "End of Timebase" ) \ XXX(ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_CONTROL_NOT_SPECIFIED, 0x2, "Not Specified" ) VALUE_STRING_ARRAY(zbee_zcl_price_block_period_duration_control_names); /* Tariff Type Enumeration */ #define zbee_zcl_price_tariff_type_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_PRICE_TARIFF_TYPE_DELIVERED_TARIFF, 0x0, "Delivered Tariff" ) \ XXX(ZBEE_ZCL_PRICE_TARIFF_TYPE_RECEIVED_TARIFF, 0x1, "Received Tariff" ) \ XXX(ZBEE_ZCL_PRICE_TARIFF_TYPE_DELIVERED_AND_RECEIVED_TARIFF, 0x2, "delivered and Received Tariff" ) VALUE_STRING_ARRAY(zbee_zcl_price_tariff_type_names); /* Tariff Resolution Period Enumeration */ #define zbee_zcl_price_tariff_resolution_period_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_PRICE_TARIFF_RESOLUTION_PERIOD_NOT_DEFINED, 0x00, "Not Defined" ) \ XXX(ZBEE_ZCL_PRICE_TARIFF_RESOLUTION_PERIOD_BLOCK_PERIOD, 0x01, "Block Period" ) \ XXX(ZBEE_ZCL_PRICE_TARIFF_RESOLUTION_PERIOD_1_DAY, 0x02, "1 Day" ) VALUE_STRING_ARRAY(zbee_zcl_price_tariff_resolution_period_names); /* Tariff Charging Scheme Enumeration */ #define zbee_zcl_price_tariff_charging_scheme_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_PRICE_TARIFF_CHARGING_SCHEME_TOU_TARIFF, 0x0, "TOU Tariff" ) \ XXX(ZBEE_ZCL_PRICE_TARIFF_CHARGING_SCHEME_BLOCK_TARIFF, 0x1, "Block Tariff" ) \ XXX(ZBEE_ZCL_PRICE_TARIFF_CHARGING_SCHEME_BLOCK_TOU_WITH_COMMON_THRES, 0x2, "Block/TOU Tariff with common thresholds" ) \ XXX(ZBEE_ZCL_PRICE_TARIFF_CHARGING_SCHEME_BLOCK_TOU_WITH_INDIV_TRHES, 0x3, "Block/TOU Tariff with individual thresholds per tier" ) VALUE_STRING_ARRAY(zbee_zcl_price_tariff_charging_scheme_names); /* Tariff Type */ #define ZBEE_ZCL_PRICE_TARIFF_TYPE 0x0F /* Trailing Digit and Price Tier */ #define ZBEE_ZCL_PRICE_TIER 0x0F #define ZBEE_ZCL_PRICE_TRAILING_DIGIT 0xF0 /* Number of Price Tiers and Register Tier */ #define ZBEE_ZCL_PRICE_REGISTER_TIER 0x0F #define ZBEE_ZCL_PRICE_NUMBER_OF_PRICE_TIERS 0xF0 /* Alternate Cost Trailing Digit */ #define ZBEE_ZCL_PRICE_ALTERNATE_COST_TRAILING_DIGIT 0xF0 /* Block Period Duration Type */ #define ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_TIMEBASE 0x0F #define ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_CONTROL 0xF0 /* Block Period Control Field BitMap */ #define ZBEE_ZCL_PRICE_BLOCK_PERIOD_CONTROL_PRICE_ACKNOWLEDGEMENT 0x01 #define ZBEE_ZCL_PRICE_BLOCK_PERIOD_CONTROL_REPEATING_BLOCK 0x02 /* Conversion Factor Trailing Digit */ #define ZBEE_ZCL_PRICE_CONVERSION_FACTOR_TRAILING_DIGIT 0xF0 /* Calorific Value Trailing Digit */ #define ZBEE_ZCL_PRICE_CALORIFIC_VALUE_TRAILING_DIGIT 0xF0 /* Tariff Type / Charging Scheme */ #define ZBEE_ZCL_PRICE_TARIFF_INFORMATION_TYPE 0x0F #define ZBEE_ZCL_PRICE_TARIFF_INFORMATION_CHARGING_SCHEME 0xF0 /* Tariff Information Price Trailing Digit */ #define ZBEE_ZCL_PRICE_TARIFF_INFORMATION_PRICE_TRAILING_DIGIT 0xF0 /* Price Matrix Tier/Block ID */ #define ZBEE_ZCL_PRICE_PRICE_MATRIX_TIER_BLOCK_ID_BLOCK 0x0F #define ZBEE_ZCL_PRICE_PRICE_MATRIX_TIER_BLOCK_ID_TIER 0xF0 /* Block Thresholds Tier/Number of Block Thresholds */ #define ZBEE_ZCL_PRICE_BLOCK_THRESHOLDS_NUMBER_OF_BLOCK_THRESHOLDS 0x0F #define ZBEE_ZCL_PRICE_BLOCK_THRESHOLDS_TIER 0xF0 /* CO2 Value Trailing Digit */ #define ZBEE_ZCL_PRICE_CO2_VALUE_TRAILING_DIGIT 0xF0 /* Billing Period Duration Type */ #define ZBEE_ZCL_PRICE_BILLING_PERIOD_DURATION_TIMEBASE 0x0F #define ZBEE_ZCL_PRICE_BILLING_PERIOD_DURATION_CONTROL 0xF0 /* Billign Period Tariff Type */ #define ZBEE_ZCL_PRICE_BILLING_PERIOD_TARIFF_TYPE 0x0F /* Consolidated Bill Trailing Digit */ #define ZBEE_ZCL_PRICE_CONSOLIDATED_BILL_TRAILING_DIGIT 0xF0 /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_price(void); void proto_reg_handoff_zbee_zcl_price(void); /* Attribute Dissector Helpers */ static void dissect_zcl_price_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Command Dissector Helpers */ static void dissect_zcl_price_get_current_price (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_scheduled_prices (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_price_acknowledgement (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_block_period (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_conversion_factor (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_calorific_value (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_tariff_information (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_price_matrix (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_block_thresholds (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_co2_value (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_tier_labels (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_billing_period (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_consolidated_bill (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_cpp_event (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_get_credit_payment (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_price (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_block_period (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_conversion_factor (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_calorific_value (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_tariff_information (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_price_matrix (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_block_thresholds (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_co2_value (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_tier_labels (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_billing_period (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_consolidated_bill (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_cpp_event (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_credit_payment (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_currency_conversion (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_price_publish_cancel_tariff (tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_price = -1; static int hf_zbee_zcl_price_srv_tx_cmd_id = -1; static int hf_zbee_zcl_price_srv_rx_cmd_id = -1; static int hf_zbee_zcl_price_attr_server_id = -1; static int hf_zbee_zcl_price_attr_client_id = -1; static int hf_zbee_zcl_price_attr_reporting_status = -1; static int hf_zbee_zcl_price_provider_id = -1; static int hf_zbee_zcl_price_issuer_event_id = -1; static int hf_zbee_zcl_price_min_issuer_event_id = -1; static int hf_zbee_zcl_price_issuer_tariff_id = -1; static int hf_zbee_zcl_price_command_index = -1; static int hf_zbee_zcl_price_total_number_of_commands = -1; static int hf_zbee_zcl_price_number_of_commands = -1; static int hf_zbee_zcl_price_number_of_events = -1; static int hf_zbee_zcl_price_number_of_records = -1; static int hf_zbee_zcl_price_number_of_block_thresholds = -1; static int hf_zbee_zcl_price_number_of_generation_tiers = -1; static int hf_zbee_zcl_price_extended_number_of_price_tiers = -1; static int hf_zbee_zcl_price_command_options = -1; static int hf_zbee_zcl_price_control = -1; static int hf_zbee_zcl_price_tier = -1; static int hf_zbee_zcl_price_tariff_type_mask = -1; static int hf_zbee_zcl_price_tariff_type = -1; static int hf_zbee_zcl_price_tariff_resolution_period = -1; static int hf_zbee_zcl_price_cpp_auth = -1; static int hf_zbee_zcl_price_cpp_price_tier= -1; static int hf_zbee_zcl_price_rate_label = -1; static int hf_zbee_zcl_price_unit_of_measure = -1; static int hf_zbee_zcl_price_currency = -1; static int hf_zbee_zcl_price_trailing_digit_and_price_tier = -1; static int hf_zbee_zcl_price_trailing_digit = -1; static int hf_zbee_zcl_price_extended_price_tier = -1; static int hf_zbee_zcl_price_number_of_price_tiers_and_register_tier = -1; static int hf_zbee_zcl_price_register_tier = -1; static int hf_zbee_zcl_price_number_of_price_tiers = -1; static int hf_zbee_zcl_price_extended_register_tier = -1; static int hf_zbee_zcl_price_duration_in_minutes = -1; static int hf_zbee_zcl_price = -1; static int hf_zbee_zcl_price_ratio = -1; static int hf_zbee_zcl_price_generation_price = -1; static int hf_zbee_zcl_price_generation_price_ratio = -1; static int hf_zbee_zcl_price_generation_tier = -1; static int hf_zbee_zcl_price_alternate_cost_delivered = -1; static int hf_zbee_zcl_price_alternate_cost_unit = -1; static int hf_zbee_zcl_price_alternate_cost_trailing_digit_mask = -1; static int hf_zbee_zcl_price_alternate_cost_trailing_digit = -1; static int hf_zbee_zcl_price_start_time = -1; static int hf_zbee_zcl_price_earliest_start_time = -1; static int hf_zbee_zcl_price_latest_end_time = -1; static int hf_zbee_zcl_price_current_time = -1; static int hf_zbee_zcl_price_price_ack_time = -1; static int hf_zbee_zcl_price_block_period_start_time = -1; static int hf_zbee_zcl_price_block_period_duration = -1; static int hf_zbee_zcl_price_block_period_duration_type = -1; static int hf_zbee_zcl_price_block_period_duration_timebase = -1; static int hf_zbee_zcl_price_block_period_duration_control = -1; static int hf_zbee_zcl_price_block_period_control = -1; static int hf_zbee_zcl_price_block_period_control_price_acknowledgement = -1; static int hf_zbee_zcl_price_block_period_control_repeating_block = -1; static int hf_zbee_zcl_price_conversion_factor = -1; static int hf_zbee_zcl_price_conversion_factor_trailing_digit_mask = -1; static int hf_zbee_zcl_price_conversion_factor_trailing_digit = -1; static int hf_zbee_zcl_price_calorific_value = -1; static int hf_zbee_zcl_price_calorific_value_unit = -1; static int hf_zbee_zcl_price_calorific_value_trailing_digit_mask = -1; static int hf_zbee_zcl_price_calorific_value_trailing_digit = -1; static int hf_zbee_zcl_price_tariff_information_type_and_charging_scheme = -1; static int hf_zbee_zcl_price_tariff_information_type = -1; static int hf_zbee_zcl_price_tariff_information_charging_scheme = -1; static int hf_zbee_zcl_price_tariff_information_tariff_label = -1; static int hf_zbee_zcl_price_tariff_information_number_of_price_tiers_in_use = -1; static int hf_zbee_zcl_price_tariff_information_number_of_block_thresholds_in_use = -1; static int hf_zbee_zcl_price_tariff_information_price_trailing_digit_mask = -1; static int hf_zbee_zcl_price_tariff_information_price_trailing_digit = -1; static int hf_zbee_zcl_price_tariff_information_standing_charge = -1; static int hf_zbee_zcl_price_tariff_information_tier_block_mode = -1; static int hf_zbee_zcl_price_tariff_information_block_threshold_multiplier = -1; static int hf_zbee_zcl_price_tariff_information_block_threshold_divisor = -1; static int hf_zbee_zcl_price_price_matrix_sub_payload_control = -1; static int hf_zbee_zcl_price_price_matrix_tier_block_id = -1; static int hf_zbee_zcl_price_price_matrix_tier_block_id_block = -1; static int hf_zbee_zcl_price_price_matrix_tier_block_id_tier = -1; static int hf_zbee_zcl_price_price_matrix_tier_block_id_tou_tier = -1; static int hf_zbee_zcl_price_price_matrix_price = -1; static int hf_zbee_zcl_price_block_thresholds_sub_payload_control = -1; static int hf_zbee_zcl_price_block_thresholds_tier_number_of_block_thresholds = -1; static int hf_zbee_zcl_price_block_thresholds_tier = -1; static int hf_zbee_zcl_price_block_thresholds_number_of_block_thresholds = -1; static int hf_zbee_zcl_price_block_thresholds_block_threshold = -1; static int hf_zbee_zcl_price_co2_value = -1; static int hf_zbee_zcl_price_co2_unit = -1; static int hf_zbee_zcl_price_co2_value_trailing_digit_mask = -1; static int hf_zbee_zcl_price_co2_value_trailing_digit = -1; static int hf_zbee_zcl_price_tier_labels_number_of_labels = -1; static int hf_zbee_zcl_price_tier_labels_tier_id = -1; static int hf_zbee_zcl_price_tier_labels_tier_label = -1; static int hf_zbee_zcl_price_billing_period_start_time = -1; static int hf_zbee_zcl_price_billing_period_duration = -1; static int hf_zbee_zcl_price_billing_period_duration_type = -1; static int hf_zbee_zcl_price_billing_period_duration_timebase = -1; static int hf_zbee_zcl_price_billing_period_duration_control = -1; static int hf_zbee_zcl_price_consolidated_bill = -1; static int hf_zbee_zcl_price_consolidated_bill_trailing_digit_mask = -1; static int hf_zbee_zcl_price_consolidated_bill_trailing_digit = -1; static int hf_zbee_zcl_price_credit_payment_due_date = -1; static int hf_zbee_zcl_price_credit_payment_overdue_amount = -1; static int hf_zbee_zcl_price_credit_payment_status = -1; static int hf_zbee_zcl_price_credit_payment = -1; static int hf_zbee_zcl_price_credit_payment_date = -1; static int hf_zbee_zcl_price_credit_payment_ref = -1; static int hf_zbee_zcl_price_old_currency = -1; static int hf_zbee_zcl_price_new_currency = -1; static int hf_zbee_zcl_price_currency_change_control_flags = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_price = -1; static gint ett_zbee_zcl_price_tariff_type = -1; static gint ett_zbee_zcl_price_trailing_digit_and_price_tier = -1; static gint ett_zbee_zcl_price_number_of_price_tiers_and_register_tier = -1; static gint ett_zbee_zcl_price_alternate_cost_trailing_digit = -1; static gint ett_zbee_zcl_price_block_period_control = -1; static gint ett_zbee_zcl_price_block_period_duration_type = -1; static gint ett_zbee_zcl_price_conversion_factor_trailing_digit = -1; static gint ett_zbee_zcl_price_calorific_value_trailing_digit = -1; static gint ett_zbee_zcl_price_tariff_information_tariff_type_and_charging_scheme = -1; static gint ett_zbee_zcl_price_tariff_information_price_trailing_digit = -1; static gint ett_zbee_zcl_price_price_matrix_tier_block_id = -1; static gint ett_zbee_zcl_price_block_thresholds_tier_number_of_block_thresholds = -1; static gint ett_zbee_zcl_price_co2_value_trailing_digit = -1; static gint ett_zbee_zcl_price_billing_period_duration_type = -1; static gint ett_zbee_zcl_price_consolidated_bill_trailing_digit = -1; static int * const zbee_zcl_price_billing_period_duration_type[] = { &hf_zbee_zcl_price_billing_period_duration_timebase, &hf_zbee_zcl_price_billing_period_duration_control, NULL }; static int * const zbee_zcl_price_block_period_duration_type[] = { &hf_zbee_zcl_price_block_period_duration_timebase, &hf_zbee_zcl_price_block_period_duration_control, NULL }; static int * const zbee_zcl_price_block_period_control[] = { &hf_zbee_zcl_price_block_period_control_price_acknowledgement, &hf_zbee_zcl_price_block_period_control_repeating_block, NULL }; static int * const zbee_zcl_price_tariff_type_mask[] = { &hf_zbee_zcl_price_tariff_type, NULL }; /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_price_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_PRICE: proto_tree_add_item(tree, hf_zbee_zcl_price_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_price_attr_data*/ /** *ZigBee ZCL Price cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_price(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_price_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_price_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_price, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_PRICE_GET_CURRENT_PRICE: dissect_zcl_price_get_current_price(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_SCHEDULED_PRICES: dissect_zcl_price_get_scheduled_prices(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_PRICE_ACKNOWLEDGEMENT: dissect_zcl_price_get_price_acknowledgement(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_BLOCK_PERIOD: dissect_zcl_price_get_block_period(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_CONVERSION_FACTOR: dissect_zcl_price_get_conversion_factor(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_CALORIFIC_VALUE: dissect_zcl_price_get_calorific_value(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_TARIFF_INFORMATION: dissect_zcl_price_get_tariff_information(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_PRICE_MATRIX: dissect_zcl_price_get_price_matrix(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_BLOCK_THRESHOLDS: dissect_zcl_price_get_block_thresholds(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_CO2_VALUE: dissect_zcl_price_get_co2_value(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_TIER_LABELS: dissect_zcl_price_get_tier_labels(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_BILLING_PERIOD: dissect_zcl_price_get_billing_period(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_CONSOLIDATED_BILL: dissect_zcl_price_get_consolidated_bill(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_CPP_EVENT_RESPONSE: dissect_zcl_price_get_cpp_event(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_CREDIT_PAYMENT: dissect_zcl_price_get_credit_payment(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_GET_CURRENCY_CONVERSION: /* No Payload */ break; case ZBEE_ZCL_CMD_ID_PRICE_GET_TARIFF_CANCELLATION: /* No Payload */ break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_price_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_price_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_price, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_PRICE: dissect_zcl_price_publish_price(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_BLOCK_PERIOD: dissect_zcl_price_publish_block_period(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CONVERSION_FACTOR: dissect_zcl_price_publish_conversion_factor(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CALORIFIC_VALUE: dissect_zcl_price_publish_calorific_value(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_TARIFF_INFORMATION: dissect_zcl_price_publish_tariff_information(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_PRICE_MATRIX: dissect_zcl_price_publish_price_matrix(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_BLOCK_THRESHOLDS: dissect_zcl_price_publish_block_thresholds(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CO2_VALUE: dissect_zcl_price_publish_co2_value(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_TIER_LABELS: dissect_zcl_price_publish_tier_labels(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_BILLING_PERIOD: dissect_zcl_price_publish_billing_period(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CONSOLIDATED_BILL: dissect_zcl_price_publish_consolidated_bill(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CPP_EVENT: dissect_zcl_price_publish_cpp_event(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CREDIT_PAYMENT: dissect_zcl_price_publish_credit_payment(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_PUBLISH_CURRENCY_CONVERSION: dissect_zcl_price_publish_currency_conversion(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PRICE_CANCEL_TARIFF: dissect_zcl_price_publish_cancel_tariff(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_price*/ /** *This function manages the Get Current Price payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_current_price(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Command Options */ proto_tree_add_item(tree, hf_zbee_zcl_price_command_options, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_get_current_price*/ /** *This function manages the Get Scheduled Prices payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_scheduled_prices(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Number of Events */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_events, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_get_scheduled_prices*/ /** *This function manages the Get Price Acknowledgement payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_price_acknowledgement(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t price_ack_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Price Ack Time */ price_ack_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; price_ack_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_price_ack_time, tvb, *offset, 4, &price_ack_time); *offset += 4; /* Price Control */ proto_tree_add_item(tree, hf_zbee_zcl_price_control, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_get_price_acknowledgement*/ /** *This function manages the Get Block Period payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_block_period(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Number of Events */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_events, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Tariff Type */ if (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_type, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_price_get_block_period*/ /** *This function manages the Get Conversion Factor payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_conversion_factor(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t earliest_start_time; /* Earliest Start Time */ earliest_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; earliest_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_earliest_start_time, tvb, *offset, 4, &earliest_start_time); *offset += 4; /* Min Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_min_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_get_conversion_factor*/ /** *This function manages the Get Calorific Value payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_calorific_value(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t earliest_start_time; /* Earliest Start Time */ earliest_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; earliest_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_earliest_start_time, tvb, *offset, 4, &earliest_start_time); *offset += 4; /* Min Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_min_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_get_calorific_value*/ /** *This function manages the Get Tariff Information payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_tariff_information(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t earliest_start_time; /* Earliest Start Time */ earliest_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; earliest_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_earliest_start_time, tvb, *offset, 4, &earliest_start_time); *offset += 4; /* Min Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_min_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Tariff Type */ proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_type, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_get_tariff_information*/ /** *This function manages the Get Price Matrix payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_price_matrix(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Tariff ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_tariff_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_price_get_price_matrix*/ /** *This function manages the Get Block Thresholds payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_block_thresholds(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Tariff ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_tariff_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_price_get_block_thresholds*/ /** *This function manages the Get CO2 Value payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_co2_value(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t earliest_start_time; /* Earliest Start Time */ earliest_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; earliest_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_earliest_start_time, tvb, *offset, 4, &earliest_start_time); *offset += 4; /* Min Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_min_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Tariff Type */ if (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_type, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_price_get_co2_value*/ /** *This function manages the Get Tier Labels payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_tier_labels(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Tariff ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_tariff_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_price_get_tier_labels*/ /** *This function manages the Get Billing Period payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_billing_period(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t earliest_start_time; /* Earliest Start Time */ earliest_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; earliest_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_earliest_start_time, tvb, *offset, 4, &earliest_start_time); *offset += 4; /* Min Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_min_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Tariff Type */ if (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_type, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_price_get_billing_period*/ /** *This function manages the Get Consolidated Bill payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_consolidated_bill(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t earliest_start_time; /* Earliest Start Time */ earliest_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; earliest_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_earliest_start_time, tvb, *offset, 4, &earliest_start_time); *offset += 4; /* Min Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_min_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Tariff Type */ if (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_type, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_price_get_consolidated_bill*/ /** *This function manages the Get CPP Event Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_cpp_event(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* CPP Auth */ proto_tree_add_item(tree, hf_zbee_zcl_price_cpp_auth, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_get_event_response*/ /** *This function manages the Get Credit Payment payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_get_credit_payment(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t latest_end_time; /* Latest End Time */ latest_end_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; latest_end_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_latest_end_time, tvb, *offset, 4, &latest_end_time); *offset += 4; /* Number of Records */ proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_records, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_get_credit_payment*/ /** *This function manages the Publish Price payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_price(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; nstime_t current_time; int length; static int * const trailing_digit[] = { &hf_zbee_zcl_price_tier, &hf_zbee_zcl_price_trailing_digit, NULL }; static int * const number_of_price_tiers_and_register_tier[] = { &hf_zbee_zcl_price_register_tier, &hf_zbee_zcl_price_number_of_price_tiers, NULL }; static int * const alternate_cost_trailing_digit[] = { &hf_zbee_zcl_price_alternate_cost_trailing_digit, NULL }; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Rate Label */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_price_rate_label, tvb, *offset, 1, ENC_NA | ENC_ZIGBEE, &length); *offset += length; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Current Time */ current_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; current_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_current_time, tvb, *offset, 4, &current_time); *offset += 4; /* Unit of Measure */ proto_tree_add_item(tree, hf_zbee_zcl_price_unit_of_measure, tvb, *offset, 1, ENC_NA); *offset += 1; /* Currency */ proto_tree_add_item(tree, hf_zbee_zcl_price_currency, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Price Trailing Digit and Price Tier */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_trailing_digit_and_price_tier, ett_zbee_zcl_price_trailing_digit_and_price_tier, trailing_digit, ENC_LITTLE_ENDIAN); *offset += 1; /* Number of Price Tiers and Register Tier */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_number_of_price_tiers_and_register_tier, ett_zbee_zcl_price_number_of_price_tiers_and_register_tier, number_of_price_tiers_and_register_tier, ENC_LITTLE_ENDIAN); *offset += 1; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Duration in Minutes */ proto_tree_add_item(tree, hf_zbee_zcl_price_duration_in_minutes, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Price */ proto_tree_add_item(tree, hf_zbee_zcl_price, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* (Optional) Price Ratio */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_ratio, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Generation Price */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_generation_price, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* (Optional) Generation Price Ratio */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_generation_price_ratio, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Alternate Cost Delivered */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_alternate_cost_delivered, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* (Optional) Alternate Cost Unit */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_alternate_cost_unit, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Alternate Cost Trailing Digit */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_alternate_cost_trailing_digit_mask, ett_zbee_zcl_price_alternate_cost_trailing_digit, alternate_cost_trailing_digit, ENC_LITTLE_ENDIAN); *offset += 1; /* (Optional) Number of Block Thresholds */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_block_thresholds, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Price Control */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_control, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Number of Generation Tiers */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_number_of_generation_tiers, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Generation Tier */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_generation_tier, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Extended Number of Price Tiers */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_extended_number_of_price_tiers, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Extended Price Tier */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_extended_price_tier, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Extended Register Tier */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_price_extended_register_tier, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_publish_price*/ /** *This function manages the Publish Block Period payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_block_period(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t block_period_start_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Block Period Start Time */ block_period_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; block_period_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_block_period_start_time, tvb, *offset, 4, &block_period_start_time); *offset += 4; /* Block Period Duration */ proto_tree_add_item(tree, hf_zbee_zcl_price_block_period_duration, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; /* Block Period Control */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_block_period_control, ett_zbee_zcl_price_block_period_control, zbee_zcl_price_block_period_control, ENC_LITTLE_ENDIAN); *offset += 1; /* Block Period Duration Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_block_period_duration_type, ett_zbee_zcl_price_block_period_duration_type, zbee_zcl_price_block_period_duration_type, ENC_LITTLE_ENDIAN); *offset += 1; /* Tariff Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_tariff_type_mask, ett_zbee_zcl_price_tariff_type, zbee_zcl_price_tariff_type_mask, ENC_LITTLE_ENDIAN); *offset += 1; /* Tariff Resolution Period */ proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_resolution_period, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_publish_block_period*/ /** *This function manages the Publish Conversion Factor payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_conversion_factor(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; static int * const conversion_factor_trailing_digit[] = { &hf_zbee_zcl_price_conversion_factor_trailing_digit, NULL }; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Conversion Factor */ proto_tree_add_item(tree, hf_zbee_zcl_price_conversion_factor, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Conversion Factor Trailing digit */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_conversion_factor_trailing_digit_mask, ett_zbee_zcl_price_conversion_factor_trailing_digit, conversion_factor_trailing_digit, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_price_publish_conversion_factor*/ /** *This function manages the Publish Calorific Value payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_calorific_value(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; static int * const calorific_value_trailing_digit[] = { &hf_zbee_zcl_price_calorific_value_trailing_digit, NULL }; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Calorific Value */ proto_tree_add_item(tree, hf_zbee_zcl_price_calorific_value, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Calorific Value Unit */ proto_tree_add_item(tree, hf_zbee_zcl_price_calorific_value_unit, tvb, *offset, 1, ENC_NA); *offset += 1; /* Calorific Value Trailing digit */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_calorific_value_trailing_digit_mask, ett_zbee_zcl_price_calorific_value_trailing_digit, calorific_value_trailing_digit, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_price_publish_calorific_value*/ /** *This function manages the Publish Tariff Information payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_tariff_information(tvbuff_t *tvb, proto_tree *tree, guint *offset) { int length; nstime_t start_time; static int * const price_trailing_digit[] = { &hf_zbee_zcl_price_tariff_information_price_trailing_digit, NULL }; static int * const type_and_charging_scheme[] = { &hf_zbee_zcl_price_tariff_information_type, &hf_zbee_zcl_price_tariff_information_charging_scheme, NULL }; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Tariff ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_tariff_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Tariff Type / Charging Scheme */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_tariff_information_type_and_charging_scheme, ett_zbee_zcl_price_tariff_information_tariff_type_and_charging_scheme, type_and_charging_scheme, ENC_LITTLE_ENDIAN); *offset += 1; /* Tariff Label */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_price_tariff_information_tariff_label, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &length); *offset += length; /* Number of Price Tiers in Use */ proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_information_number_of_price_tiers_in_use, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Block Thresholds in Use */ proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_information_number_of_block_thresholds_in_use, tvb, *offset, 1, ENC_NA); *offset += 1; /* Unit of Measure */ proto_tree_add_item(tree, hf_zbee_zcl_price_unit_of_measure, tvb, *offset, 1, ENC_NA); *offset += 1; /* Currency */ proto_tree_add_item(tree, hf_zbee_zcl_price_currency, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Price Trailing Digit */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_tariff_information_price_trailing_digit_mask, ett_zbee_zcl_price_tariff_information_price_trailing_digit, price_trailing_digit, ENC_LITTLE_ENDIAN); *offset += 1; /* Standing Charge */ proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_information_standing_charge, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Tier Block Mode */ proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_information_tier_block_mode, tvb, *offset, 1, ENC_NA); *offset += 1; /* Block Threshold Multiplier */ proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_information_block_threshold_multiplier, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; /* Block Threshold Divisor */ proto_tree_add_item(tree, hf_zbee_zcl_price_tariff_information_block_threshold_divisor, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; } /*dissect_zcl_price_publish_tariff_information*/ /** *This function manages the Publish Price Matrix payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_price_matrix(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 sub_payload_control; nstime_t start_time; static int * const tier_block_id[] = { &hf_zbee_zcl_price_price_matrix_tier_block_id_block, &hf_zbee_zcl_price_price_matrix_tier_block_id_tier, NULL }; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Issuer Tariff ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_tariff_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_price_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Sub-Payload Control */ sub_payload_control = tvb_get_guint8(tvb, *offset) && 0x01; /* First bit determines Tier/Block ID field type */ proto_tree_add_item(tree, hf_zbee_zcl_price_price_matrix_sub_payload_control, tvb, *offset, 1, ENC_NA); *offset += 1; while (tvb_reported_length_remaining(tvb, *offset) > 0) { /* Tier/Block ID */ if (sub_payload_control == 0) proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_price_matrix_tier_block_id, ett_zbee_zcl_price_price_matrix_tier_block_id, tier_block_id, ENC_LITTLE_ENDIAN); else proto_tree_add_item(tree, hf_zbee_zcl_price_price_matrix_tier_block_id_tou_tier, tvb, *offset, 1, ENC_NA); *offset += 1; /* Price */ proto_tree_add_item(tree, hf_zbee_zcl_price_price_matrix_price, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } } /*dissect_zcl_price_publish_price_matrix*/ /** *This function manages the Publish Block Thresholds payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_block_thresholds(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 sub_payload_control; nstime_t start_time; static int * const tier_number_of_block_thresholds[] = { &hf_zbee_zcl_price_block_thresholds_number_of_block_thresholds, &hf_zbee_zcl_price_block_thresholds_tier, NULL }; static int * const number_of_block_thresholds[] = { &hf_zbee_zcl_price_block_thresholds_number_of_block_thresholds, NULL }; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Issuer Tariff ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_tariff_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_price_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Sub-Payload Control */ sub_payload_control = tvb_get_guint8(tvb, *offset) && 0x01; /* First bit determines Tier/Number of Block Thresholds field type */ proto_tree_add_item(tree, hf_zbee_zcl_price_block_thresholds_sub_payload_control, tvb, *offset, 1, ENC_NA); *offset += 1; while (tvb_reported_length_remaining(tvb, *offset) > 0) { guint8 thresholds; /* Tier/Number of Block Thresholds */ thresholds = tvb_get_guint8(tvb, *offset) & ZBEE_ZCL_PRICE_BLOCK_THRESHOLDS_NUMBER_OF_BLOCK_THRESHOLDS; if (sub_payload_control == 0) proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_block_thresholds_tier_number_of_block_thresholds, ett_zbee_zcl_price_block_thresholds_tier_number_of_block_thresholds, tier_number_of_block_thresholds, ENC_LITTLE_ENDIAN); else proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_block_thresholds_tier_number_of_block_thresholds, ett_zbee_zcl_price_block_thresholds_tier_number_of_block_thresholds, number_of_block_thresholds, ENC_LITTLE_ENDIAN); *offset += 1; /* Block Threshold(s) */ for (gint i = 0; i < thresholds; i++) { proto_tree_add_item(tree, hf_zbee_zcl_price_block_thresholds_block_threshold, tvb, *offset, 6, ENC_LITTLE_ENDIAN); *offset += 6; } } } /*dissect_zcl_price_publish_block_thresholds*/ /** *This function manages the Publish CO2 Value payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_co2_value(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; static int * const co2_value_trailing_digit[] = { &hf_zbee_zcl_price_co2_value_trailing_digit, NULL }; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Tariff Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_tariff_type_mask, ett_zbee_zcl_price_tariff_type, zbee_zcl_price_tariff_type_mask, ENC_LITTLE_ENDIAN); *offset += 1; /* CO2 Value */ proto_tree_add_item(tree, hf_zbee_zcl_price_co2_value, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* CO2 Unit */ proto_tree_add_item(tree, hf_zbee_zcl_price_co2_unit, tvb, *offset, 1, ENC_NA); *offset += 1; /* CO2 Value Trailing Digit */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_co2_value_trailing_digit_mask, ett_zbee_zcl_price_co2_value_trailing_digit, co2_value_trailing_digit, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_price_publish_co2_value*/ /** *This function manages the Publish Tier Labels payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_tier_labels(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 number_of_labels; int length; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Tariff ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_tariff_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_price_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_price_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Labels */ number_of_labels = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_price_tier_labels_number_of_labels, tvb, *offset, 1, ENC_NA); *offset += 1; for (gint i = 0; tvb_reported_length_remaining(tvb, *offset) >= 0 && i < number_of_labels; i++) { /* Tier ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_tier_labels_tier_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Tier Label */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_price_tier_labels_tier_label, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &length); *offset += length; } } /*dissect_zcl_price_publish_tier_labels*/ /** *This function manages the Publish Consolidated Bill payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_billing_period(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Billing Period Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_billing_period_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Billing Period Duration */ proto_tree_add_item(tree, hf_zbee_zcl_price_billing_period_duration, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; /* Billing Period Duration Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_billing_period_duration_type, ett_zbee_zcl_price_billing_period_duration_type, zbee_zcl_price_billing_period_duration_type, ENC_LITTLE_ENDIAN); *offset += 1; /* Tariff Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_tariff_type_mask, ett_zbee_zcl_price_tariff_type, zbee_zcl_price_tariff_type_mask, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_price_publish_billing_period*/ /** *This function manages the Publish Consolidated Bill payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_consolidated_bill(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; static int * const bill_trailing_digit[] = { &hf_zbee_zcl_price_consolidated_bill_trailing_digit, NULL }; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Billing Period Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Billing Period Duration */ proto_tree_add_item(tree, hf_zbee_zcl_price_billing_period_duration, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; /* Billing Period Duration Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_billing_period_duration_type, ett_zbee_zcl_price_billing_period_duration_type, zbee_zcl_price_billing_period_duration_type, ENC_LITTLE_ENDIAN); *offset += 1; /* Tariff Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_tariff_type_mask, ett_zbee_zcl_price_tariff_type, zbee_zcl_price_tariff_type_mask, ENC_LITTLE_ENDIAN); *offset += 1; /* Consolidated Bill */ proto_tree_add_item(tree, hf_zbee_zcl_price_consolidated_bill, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Currency */ proto_tree_add_item(tree, hf_zbee_zcl_price_currency, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Bill Trailing Digit */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_consolidated_bill_trailing_digit_mask, ett_zbee_zcl_price_consolidated_bill_trailing_digit, bill_trailing_digit, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_price_publish_consolidated_bill*/ /** *This function manages the Publish CPP Event payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_cpp_event(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Duration in Minutes */ proto_tree_add_item(tree, hf_zbee_zcl_price_duration_in_minutes, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Tariff Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_tariff_type_mask, ett_zbee_zcl_price_tariff_type, zbee_zcl_price_tariff_type_mask, ENC_LITTLE_ENDIAN); *offset += 1; /* CPP Price Tier */ proto_tree_add_item(tree, hf_zbee_zcl_price_cpp_price_tier, tvb, *offset, 1, ENC_NA); *offset += 1; /* CPP Auth */ proto_tree_add_item(tree, hf_zbee_zcl_price_cpp_auth, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_price_publish_cpp_event*/ /** *This function manages the Publish Credit Payment payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_credit_payment(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t credit_payment_due_date; nstime_t credit_payment_date; int length; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Credit Payment Due Date */ credit_payment_due_date.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; credit_payment_due_date.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_credit_payment_due_date, tvb, *offset, 4, &credit_payment_due_date); *offset += 4; /* Credit Payment Overdue Amount */ proto_tree_add_item(tree, hf_zbee_zcl_price_credit_payment_overdue_amount, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Credit Payment Status */ proto_tree_add_item(tree, hf_zbee_zcl_price_credit_payment_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Credit Payment */ proto_tree_add_item(tree, hf_zbee_zcl_price_credit_payment, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Credit Payment Date */ credit_payment_date.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; credit_payment_date.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_credit_payment_date, tvb, *offset, 4, &credit_payment_date); *offset += 4; /* Credit Payment Ref */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_price_credit_payment_ref, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &length); *offset += length; } /*dissect_zcl_price_publish_credit_payment*/ /** *This function manages the Publish Currency Conversion payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_currency_conversion(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; static int * const conversion_factor_trailing_digit[] = { &hf_zbee_zcl_price_conversion_factor_trailing_digit, NULL }; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_price_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Old Currency */ proto_tree_add_item(tree, hf_zbee_zcl_price_old_currency, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* New Currency */ proto_tree_add_item(tree, hf_zbee_zcl_price_new_currency, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Conversion Factor */ proto_tree_add_item(tree, hf_zbee_zcl_price_conversion_factor, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Conversion Factor Trailing digit */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_conversion_factor_trailing_digit_mask, ett_zbee_zcl_price_conversion_factor_trailing_digit, conversion_factor_trailing_digit, ENC_LITTLE_ENDIAN); *offset += 1; /* Currency Change Control Flags */ proto_tree_add_item(tree, hf_zbee_zcl_price_currency_change_control_flags, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_price_publish_currency_conversion*/ /** *This function manages the Publish Cancel Tariff payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_price_publish_cancel_tariff(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_price_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Tariff Type */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_price_tariff_type_mask, ett_zbee_zcl_price_tariff_type, zbee_zcl_price_tariff_type_mask, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_price_publish_cancel_tariff*/ /** *This function registers the ZCL Price dissector * */ void proto_register_zbee_zcl_price(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_price_attr_server_id, { "Attribute", "zbee_zcl_se.price.attr_id", FT_UINT16, BASE_HEX | BASE_EXT_STRING, &zbee_zcl_price_attr_server_names_ext, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_price_attr_client_id, { "Attribute", "zbee_zcl_se.price.attr_client_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_price_attr_client_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_price_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.price.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_srv_tx_cmd_id, { "Command", "zbee_zcl_se.price.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_srv_rx_cmd_id, { "Command", "zbee_zcl_se.price.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_provider_id, { "Provider ID", "zbee_zcl_se.price.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.price.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_min_issuer_event_id, { "Min Issuer Event ID", "zbee_zcl_se.price.min_issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_issuer_tariff_id, { "Issuer Tariff ID", "zbee_zcl_se.price.issuer_tariff_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_command_index, { "Command Index", "zbee_zcl_se.price.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_total_number_of_commands, { "Total Number of Commands", "zbee_zcl_se.price.total_number_of_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_number_of_commands, { "Number of Commands", "zbee_zcl_se.price.number_of_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_number_of_events, { "Number of Events", "zbee_zcl_se.price.number_of_events", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_number_of_records, { "Number of Records", "zbee_zcl_se.price.number_of_records", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_number_of_block_thresholds, { "Number of Block Thresholds", "zbee_zcl_se.price.number_of_block_thresholds", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_number_of_generation_tiers, { "Number of Generation Tiers", "zbee_zcl_se.price.number_of_generation_tiers", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_extended_number_of_price_tiers, { "Extended Number of Price Tiers", "zbee_zcl_se.price.extended_number_of_price_tiers", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_command_options, { "Command Options", "zbee_zcl_se.price.command_options", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_control, { "Price Control", "zbee_zcl_se.price.control", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, /* start Tariff Type fields */ { &hf_zbee_zcl_price_tariff_type_mask, { "Tariff Type", "zbee_zcl_se.price.tariff_type_mask", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_type, { "Tariff Type", "zbee_zcl_se.price.tariff_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_tariff_type_names), ZBEE_ZCL_PRICE_TARIFF_TYPE, NULL, HFILL } }, /* end Tariff Type fields */ { &hf_zbee_zcl_price_tariff_resolution_period, { "Tariff Resolution Period", "zbee_zcl_se.price.tariff.resolution_period", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_tariff_resolution_period_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_cpp_price_tier, { "CPP Price Tier", "zbee_zcl_se.price.cpp_price_tier", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_cpp_auth, { "CPP Auth", "zbee_zcl_se.price.cpp_auth", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_rate_label, { "Rate Label", "zbee_zcl_se.price.rate_label", FT_UINT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_unit_of_measure, { "Unit of Measure", "zbee_zcl_se.price.unit_of_measure", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_currency, { "Currency", "zbee_zcl_se.price.currency", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, /* start Trailing Digit and Price Tier fields */ { &hf_zbee_zcl_price_trailing_digit_and_price_tier, { "Trailing Digit and Price Tier", "zbee_zcl_se.price.trailing_digit_and_price_tier", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tier, { "Price Tier", "zbee_zcl_se.price.tier", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_PRICE_TIER, NULL, HFILL } }, { &hf_zbee_zcl_price_trailing_digit, { "Trailing Digit", "zbee_zcl_se.price.trailing_digit", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_PRICE_TRAILING_DIGIT, NULL, HFILL } }, /* end Trailing Digit and Price Tier fields */ /* start Number of Price Tiers and Register Tier fields */ { &hf_zbee_zcl_price_number_of_price_tiers_and_register_tier, { "Number of Price Tiers and Register Tier", "zbee_zcl_se.price.number_of_price_tiers_and_register_tier", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_register_tier, { "Register Tier", "zbee_zcl_se.price.register_tier", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_PRICE_REGISTER_TIER, NULL, HFILL } }, { &hf_zbee_zcl_price_number_of_price_tiers, { "Number of Price Tiers", "zbee_zcl_se.price.number_of_price_tiers", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_PRICE_NUMBER_OF_PRICE_TIERS, NULL, HFILL } }, /* end Number of Price Tiers and Register Tier fields */ { &hf_zbee_zcl_price_extended_price_tier, { "Extended Price Tier", "zbee_zcl_se.price.extended_price_tier", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_extended_register_tier, { "Extended Register Tier", "zbee_zcl_se.price.extended_register_tier", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_duration_in_minutes, { "Duration in Minutes", "zbee_zcl_se.price.duration_in_minutes", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price, { "Price", "zbee_zcl_se.price.price", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_ratio, { "Price Ratio", "zbee_zcl_se.price.price.ratio", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_generation_price, { "Generation Price", "zbee_zcl_se.price.generation_price", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_generation_price_ratio, { "Generation Price Ratio", "zbee_zcl_se.price.generation_price.ratio", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_generation_tier, { "Generation Tier", "zbee_zcl_se.price.generation_tier", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_alternate_cost_delivered, { "Alternate Cost Delivered", "zbee_zcl_se.price.alternate_cost_delivered", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_alternate_cost_unit, { "Alternate Cost Unit", "zbee_zcl_se.price.alternate_cost.unit", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, /* start Alternate Cost Trailing Digit */ { &hf_zbee_zcl_price_alternate_cost_trailing_digit_mask, { "Alternate Cost Trailing Digit", "zbee_zcl_se.price.alternate_cost.trailing_digit", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_alternate_cost_trailing_digit, { "Alternate Cost Trailing Digit", "zbee_zcl_se.price.alternate_cost.trailing_digit", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_ALTERNATE_COST_TRAILING_DIGIT, NULL, HFILL } }, /* end Alternate Cost Trailing Digit */ { &hf_zbee_zcl_price_start_time, { "Start Time", "zbee_zcl_se.price.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_earliest_start_time, { "Earliest Start Time", "zbee_zcl_se.price.earliest_start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_latest_end_time, { "Latest End Time", "zbee_zcl_se.price.latest_end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_current_time, { "Current Time", "zbee_zcl_se.price.current_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_price_ack_time, { "Price Ack Time", "zbee_zcl_se.price.price_ack_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_block_period_start_time, { "Block Period Start Time", "zbee_zcl_se.price.block_period.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_block_period_duration, { "Block Period Duration", "zbee_zcl_se.price.block_period.duration", FT_UINT24, BASE_DEC, NULL, 0x00, NULL, HFILL } }, /* start Block Period Control */ { &hf_zbee_zcl_price_block_period_control, { "Block Period Control", "zbee_zcl_se.price.block_period.control", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_block_period_control_price_acknowledgement, { "Price Acknowledgement", "zbee_zcl_se.price.block_period.control.price_acknowledgement", FT_UINT8, BASE_DEC, VALS(zbee_zcl_price_block_period_control_price_acknowledgement_names), ZBEE_ZCL_PRICE_BLOCK_PERIOD_CONTROL_PRICE_ACKNOWLEDGEMENT, NULL, HFILL } }, { &hf_zbee_zcl_price_block_period_control_repeating_block, { "Repeating Block", "zbee_zcl_se.price.block_period.control.repeating_block", FT_UINT8, BASE_DEC, VALS(zbee_zcl_price_block_period_control_repeating_block_names), ZBEE_ZCL_PRICE_BLOCK_PERIOD_CONTROL_REPEATING_BLOCK, NULL, HFILL } }, /* end Block Period Control */ /* start Block Period Duration Type fields */ { &hf_zbee_zcl_price_block_period_duration_type, { "Block Period Duration Type", "zbee_zcl_se.price.block_period.duration.type", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_block_period_duration_timebase, { "Duration Timebase", "zbee_zcl_se.price.block_period.duration.timebase", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_block_period_duration_timebase_names), ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_TIMEBASE, NULL, HFILL } }, { &hf_zbee_zcl_price_block_period_duration_control, { "Duration Control", "zbee_zcl_se.price.block_period.duration.control", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_block_period_duration_control_names), ZBEE_ZCL_PRICE_BLOCK_PERIOD_DURATION_CONTROL, NULL, HFILL } }, /* end Block Period Duration Type fields */ { &hf_zbee_zcl_price_conversion_factor, { "Conversion Factor", "zbee_zcl_se.price.conversion_factor", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, /* start Conversion Factor Trailing Digit fields */ { &hf_zbee_zcl_price_conversion_factor_trailing_digit_mask, { "Conversion Factor Trailing Digit", "zbee_zcl_se.price.conversion_factor_trailing_digit", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_conversion_factor_trailing_digit, { "Conversion Factor Trailing Digit", "zbee_zcl_se.price.conversion_factor.trailing_digit", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_CONVERSION_FACTOR_TRAILING_DIGIT, NULL, HFILL } }, /* end Conversion Factor Trailing Digit fields */ { &hf_zbee_zcl_price_calorific_value, { "Calorific Value", "zbee_zcl_se.price.calorific_value", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_calorific_value_unit, { "Calorific Value Unit", "zbee_zcl_se.price.calorific_value.unit", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, /* start Calorific Value Trailing Digit fields */ { &hf_zbee_zcl_price_calorific_value_trailing_digit_mask, { "Calorific Value Trailing Digit", "zbee_zcl_se.price.calorific_value.trailing_digit", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_calorific_value_trailing_digit, { "Calorific Value Trailing Digit", "zbee_zcl_se.price.calorific_value.trailing_digit", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_CALORIFIC_VALUE_TRAILING_DIGIT, NULL, HFILL } }, /* end Calorific Value Trailing Digit fields */ /* start Tariff Information Type/Charging Scheme fields */ { &hf_zbee_zcl_price_tariff_information_type_and_charging_scheme, { "Tariff Type/Charging Scheme", "zbee_zcl_se.price.tariff_information.type_and_charging_scheme", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_information_type, { "Tariff Type", "zbee_zcl_se.price.tariff_information.type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_tariff_type_names), ZBEE_ZCL_PRICE_TARIFF_INFORMATION_TYPE, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_information_charging_scheme, { "Charging Scheme", "zbee_zcl_se.price.tariff_information.charging_scheme", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_tariff_charging_scheme_names), ZBEE_ZCL_PRICE_TARIFF_INFORMATION_CHARGING_SCHEME, NULL, HFILL } }, /* end Tariff Information Type/Charging Scheme fields */ { &hf_zbee_zcl_price_tariff_information_tariff_label, { "Tariff Label", "zbee_zcl_se.price.tariff_information.tariff_label", FT_UINT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_information_number_of_price_tiers_in_use, { "Number of Price Tiers in Use", "zbee_zcl_se.price.tariff_information.number_of_price_tiers_in_use", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_information_number_of_block_thresholds_in_use, { "Number of Block Thresholds in Use", "zbee_zcl_se.price.tariff_information.number_of_block_thresholds_in_use", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, /* start Price Trailing Digit fields */ { &hf_zbee_zcl_price_tariff_information_price_trailing_digit_mask, { "Price Trailing Digit", "zbee_zcl_se.price.tariff_information.price.trailing_digit", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_information_price_trailing_digit, { "Price Trailing Digit", "zbee_zcl_se.price.tariff_information.price.trailing_digit", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_TARIFF_INFORMATION_PRICE_TRAILING_DIGIT, NULL, HFILL } }, /* start Price Trailing Digit fields */ { &hf_zbee_zcl_price_tariff_information_standing_charge, { "Standing Charge", "zbee_zcl_se.price.tariff_information.standing_charge", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_information_tier_block_mode, { "Tier Block Mode", "zbee_zcl_se.price.tariff_information.tier_block_mode", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_block_thresholds_number_of_block_thresholds, { "Number of Block Thresholds", "zbee_zcl_se.price.tariff_information.number_of_block_thresholds", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_BLOCK_THRESHOLDS_NUMBER_OF_BLOCK_THRESHOLDS, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_information_block_threshold_multiplier, { "Block Threshold Multiplier", "zbee_zcl_se.price.tariff_information.block_threshold_multiplier", FT_UINT24, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tariff_information_block_threshold_divisor, { "Block Threshold Divisor", "zbee_zcl_se.price.tariff_information.block_threshold_divisor", FT_UINT24, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_price_matrix_sub_payload_control, { "Sub Payload Control", "zbee_zcl_se.price.price_matrix.sub_payload_control", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, /* start Tier/Block ID fields */ { &hf_zbee_zcl_price_price_matrix_tier_block_id, { "Tier/Block ID", "zbee_zcl_se.price.price_matrix.tier_block_id", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_price_matrix_tier_block_id_block, { "Block", "zbee_zcl_se.price.price_matrix.block", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_PRICE_MATRIX_TIER_BLOCK_ID_BLOCK, NULL, HFILL } }, { &hf_zbee_zcl_price_price_matrix_tier_block_id_tier, { "Tier", "zbee_zcl_se.price.price_matrix.tier", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_PRICE_MATRIX_TIER_BLOCK_ID_TIER, NULL, HFILL } }, /* end Tier/Block ID fields */ { &hf_zbee_zcl_price_price_matrix_tier_block_id_tou_tier, { "Tier", "zbee_zcl_se.price.price_matrix.tier", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_price_matrix_price, { "Price", "zbee_zcl_se.price.price_matrix.price", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_block_thresholds_sub_payload_control, { "Sub Payload Control", "zbee_zcl_se.price.block_thresholds.sub_payload_control", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, /* start Tier/Number of Block Thresholds fields */ { &hf_zbee_zcl_price_block_thresholds_tier_number_of_block_thresholds, { "Tier/Number of Block Thresholds", "zbee_zcl_se.price.block_thresholds.tier_number_of_block_thresholds", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_block_thresholds_tier, { "Tier", "zbee_zcl_se.price.block_thresholds.tier", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_BLOCK_THRESHOLDS_TIER, NULL, HFILL } }, /* end Tier/Number of Block Thresholds fields */ { &hf_zbee_zcl_price_block_thresholds_block_threshold, { "Block Threshold", "zbee_zcl_se.price.block_threshold", FT_UINT48, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_co2_value, { "CO2 Value", "zbee_zcl_se.price.co2.value", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_co2_unit, { "CO2 Unit", "zbee_zcl_se.price.co2.unit", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, /* start CO2 Trailing Digit fields */ { &hf_zbee_zcl_price_co2_value_trailing_digit_mask, { "CO2 Value Trailing Digit", "zbee_zcl_se.price.co2.value.trailing_digit", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_co2_value_trailing_digit, { "CO2 Value Trailing Digit", "zbee_zcl_se.price.co2.value.trailing_digit", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_CO2_VALUE_TRAILING_DIGIT, NULL, HFILL } }, /* end CO2 Trailing Digit fields */ { &hf_zbee_zcl_price_tier_labels_number_of_labels, { "Number of Labels", "zbee_zcl_se.price.tier_labels.number_of_labels", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tier_labels_tier_id, { "Tier ID", "zbee_zcl_se.price.tier_labels.tier_id", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_tier_labels_tier_label, { "Tariff Label", "zbee_zcl_se.price.tier_labels.tier_label", FT_UINT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_billing_period_start_time, { "Billing Period Start Time", "zbee_zcl_se.price.billing_period.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_billing_period_duration, { "Billing Period Duration", "zbee_zcl_se.price.billing_period.duration", FT_UINT24, BASE_DEC, NULL, 0x00, NULL, HFILL } }, /* start Billing Period Duration Type fields */ { &hf_zbee_zcl_price_billing_period_duration_type, { "Billing Period Duration Type", "zbee_zcl_se.price.billing_period.duration.type", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_billing_period_duration_timebase, { "Duration Timebase", "zbee_zcl_se.price.billing_period.duration.timebase", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_block_period_duration_timebase_names), ZBEE_ZCL_PRICE_BILLING_PERIOD_DURATION_TIMEBASE, NULL, HFILL } }, { &hf_zbee_zcl_price_billing_period_duration_control, { "Duration Control", "zbee_zcl_se.price.billing_period.duration.control", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_block_period_duration_control_names), ZBEE_ZCL_PRICE_BILLING_PERIOD_DURATION_CONTROL, NULL, HFILL } }, /* end Billing Period Duration Type fields */ { &hf_zbee_zcl_price_consolidated_bill, { "Consolidated Bill", "zbee_zcl_se.price.consolidated_bill", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, /* start Consolidated Bill Trailing Digit fields */ { &hf_zbee_zcl_price_consolidated_bill_trailing_digit_mask, { "Bill Trailing Digit", "zbee_zcl_se.price.consolidated_bill.trailing_digit", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_consolidated_bill_trailing_digit, { "Bill Trailing Digit", "zbee_zcl_se.price.consolidated_bill.trailing_digit", FT_UINT8, BASE_DEC, NULL, ZBEE_ZCL_PRICE_CONSOLIDATED_BILL_TRAILING_DIGIT, NULL, HFILL } }, /* end Consolidated Bill Trailing Digit fields */ { &hf_zbee_zcl_price_credit_payment_due_date, { "Credit Payment Due Date", "zbee_zcl_se.price.credit_payment.due_date", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_credit_payment_date, { "Credit Payment Date", "zbee_zcl_se.price.credit_payment.date", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_credit_payment_overdue_amount, { "Credit Payment Overdue Amount", "zbee_zcl_se.price.credit_payment.overdue_amount", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_credit_payment_status, { "Credit Payment Status", "zbee_zcl_se.price.credit_payment.status", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_credit_payment, { "Credit Payment", "zbee_zcl_se.price.credit_payment", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_credit_payment_ref, { "Credit Payment Ref", "zbee_zcl_se.price.credit_payment.ref", FT_UINT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_old_currency, { "Old Currency", "zbee_zcl_se.price.old_currency", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_new_currency, { "New Currency", "zbee_zcl_se.price.new_currency", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_price_currency_change_control_flags, { "Currency Change Control Flags", "zbee_zcl_se.price.currency_change_control_flags", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, }; /* ZCL Price subtrees */ gint *ett[] = { &ett_zbee_zcl_price, &ett_zbee_zcl_price_tariff_type, &ett_zbee_zcl_price_trailing_digit_and_price_tier, &ett_zbee_zcl_price_number_of_price_tiers_and_register_tier, &ett_zbee_zcl_price_alternate_cost_trailing_digit, &ett_zbee_zcl_price_block_period_control, &ett_zbee_zcl_price_block_period_duration_type, &ett_zbee_zcl_price_conversion_factor_trailing_digit, &ett_zbee_zcl_price_calorific_value_trailing_digit, &ett_zbee_zcl_price_tariff_information_tariff_type_and_charging_scheme, &ett_zbee_zcl_price_tariff_information_price_trailing_digit, &ett_zbee_zcl_price_price_matrix_tier_block_id, &ett_zbee_zcl_price_block_thresholds_tier_number_of_block_thresholds, &ett_zbee_zcl_price_co2_value_trailing_digit, &ett_zbee_zcl_price_billing_period_duration_type, &ett_zbee_zcl_price_consolidated_bill_trailing_digit, }; /* Register the ZigBee ZCL Price cluster protocol name and description */ proto_zbee_zcl_price = proto_register_protocol("ZigBee ZCL Price", "ZCL Price", ZBEE_PROTOABBREV_ZCL_PRICE); proto_register_field_array(proto_zbee_zcl_price, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Price dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_PRICE, dissect_zbee_zcl_price, proto_zbee_zcl_price); } /*proto_register_zbee_zcl_price*/ /** *Hands off the ZCL Price dissector. * */ void proto_reg_handoff_zbee_zcl_price(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_PRICE, proto_zbee_zcl_price, ett_zbee_zcl_price, ZBEE_ZCL_CID_PRICE, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_price_attr_server_id, hf_zbee_zcl_price_attr_client_id, hf_zbee_zcl_price_srv_rx_cmd_id, hf_zbee_zcl_price_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_price_attr_data ); } /*proto_reg_handoff_zbee_zcl_price*/ /* ########################################################################## */ /* #### (0x0701) DEMAND RESPONSE AND LOAD CONTROL CLUSTER ################### */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_drlc_attr_client_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_ATTR_ID_DRLC_CLNT_UTILITY_ENROLLMENT_GROUP, 0x0000, "Utility Enrollment Group" ) \ XXX(ZBEE_ZCL_ATTR_ID_DRLC_CLNT_START_RANDOMIZATION_MINUTES,0x0001, "Start Randomization Minutes" ) \ XXX(ZBEE_ZCL_ATTR_ID_DRLC_CLNT_DURATION_RND_MINUTES, 0x0002, "Duration Randomization Minutes" ) \ XXX(ZBEE_ZCL_ATTR_ID_DRLC_CLNT_DEVICE_CLASS_VALUE, 0x0003, "Device Class Value" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_DRLC_CLNT, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_drlc_attr_client_names); VALUE_STRING_ARRAY(zbee_zcl_drlc_attr_client_names); /* Server Commands Received */ #define zbee_zcl_drlc_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_DRLC_REPORT_EVENT_STATUS, 0x00, "Report Event Status" ) \ XXX(ZBEE_ZCL_CMD_ID_DRLC_GET_SCHEDULED_EVENTS, 0x01, "Get Scheduled Events" ) VALUE_STRING_ENUM(zbee_zcl_drlc_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_drlc_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_drlc_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_DRLC_LOAD_CONTROL_EVENT, 0x00, "Load Control Event" ) \ XXX(ZBEE_ZCL_CMD_ID_DRLC_CANCEL_LOAD_CONTROL_EVENT, 0x01, "Cancel Load Control Event" ) \ XXX(ZBEE_ZCL_CMD_ID_DRLC_CANCEL_ALL_LOAD_CONTROL_EVENTS, 0x02, "Cancel All Load Control Events" ) VALUE_STRING_ENUM(zbee_zcl_drlc_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_drlc_srv_tx_cmd_names); #define ZBEE_ZCL_DRLC_TEMP_OFFSET_NOT_USED 0xFF #define ZBEE_ZCL_DRLC_TEMP_OFFSET_DIVIDER 10.0f #define ZBEE_ZCL_DRLC_TEMP_SET_POINT_NOT_USED 0x8000 #define ZBEE_ZCL_DRLC_TEMP_SET_POINT_DIVIDER 100.0f #define ZBEE_ZCL_DRLC_AVERAGE_LOAD_ADJUSTMENT_PERCENTAGE 0x80 static const range_string zbee_zcl_drlc_load_control_event_criticality_level[] = { { 0x0, 0x0, "Reserved" }, { 0x1, 0x1, "Green" }, { 0x2, 0x2, "1" }, { 0x3, 0x3, "2" }, { 0x4, 0x4, "3" }, { 0x5, 0x5, "4" }, { 0x6, 0x6, "5" }, { 0x7, 0x7, "Emergency" }, { 0x8, 0x8, "Planned Outage" }, { 0x9, 0x9, "Service Disconnect" }, { 0x0A, 0x0F, "Utility Defined" }, { 0x10, 0xFF, "Reserved" }, { 0, 0, NULL } }; static const range_string zbee_zcl_drlc_report_event_status_event_status[] = { { 0x0, 0x0, "Reserved for future use." }, { 0x01, 0x01, "Load Control Event command received" }, { 0x02, 0x02, "Event started" }, { 0x03, 0x03, "Event completed" }, { 0x04, 0x04, "User has chosen to \"Opt-Out\", user will not participate in this event" }, { 0x05, 0x05, "User has chosen to \"Opt-In\", user will participate in this event" }, { 0x06, 0x06, "The event has been cancelled" }, { 0x07, 0x07, "The event has been superseded" }, { 0x08, 0x08, "Event partially completed with User \"Opt-Out\"." }, { 0x09, 0x09, "Event partially completed due to User \"Opt-In\"." }, { 0x0A, 0x0A, "Event completed, no User participation (Previous \"Opt-Out\")." }, { 0x0B, 0xF7, "Reserved for future use." }, { 0xF8, 0xF8, "Rejected - Invalid Cancel Command (Default)" }, { 0xF9, 0xF9, "Rejected - Invalid Cancel Command (Invalid Effective Time)" }, { 0xFA, 0xFA , "Reserved" }, { 0xFB, 0xFB, "Rejected - Event was received after it had expired (Current Time > Start Time + Duration)" }, { 0xFC, 0xFC, "Reserved for future use." }, { 0xFD, 0xFD, "Rejected - Invalid Cancel Command (Undefined Event)" }, { 0xFE, 0xFE, "Load Control Event command Rejected" }, { 0xFF, 0xFF, "Reserved for future use." }, { 0, 0, NULL } }; static const range_string zbee_zcl_drlc_report_event_signature_type[] = { { 0x0, 0x0, "No Signature" }, { 0x01, 0x01, "ECDSA" }, { 0x02, 0xFF, "Reserved" }, { 0, 0, NULL } }; static const true_false_string zbee_zcl_drlc_randomize_start_tfs = { "Randomize Start time", "Randomized Start not Applied" }; static const true_false_string zbee_zcl_drlc_randomize_duration_tfs = { "Randomize Duration time", "Randomized Duration not Applied" }; /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_drlc(void); void proto_reg_handoff_zbee_zcl_drlc(void); static void decode_zcl_msg_start_time (gchar *s, guint32 value); static void decode_zcl_drlc_temp_offset (gchar *s, guint8 value); static void decode_zcl_drlc_temp_set_point (gchar *s, gint16 value); static void decode_zcl_drlc_average_load_adjustment_percentage (gchar *s, gint8 value); static void dissect_zcl_drlc_load_control_event (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_drlc_cancel_load_control_event (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_drlc_cancel_all_load_control_event (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_drlc_report_event_status (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_drlc_get_scheduled_events (tvbuff_t *tvb, proto_tree *tree, guint *offset); /* Attribute Dissector Helpers */ static void dissect_zcl_drlc_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_drlc = -1; static int hf_zbee_zcl_drlc_srv_tx_cmd_id = -1; static int hf_zbee_zcl_drlc_srv_rx_cmd_id = -1; static int hf_zbee_zcl_drlc_attr_client_id = -1; static int hf_zbee_zcl_drlc_attr_reporting_status = -1; static int hf_zbee_zcl_drlc_issuer_event_id = -1; static int hf_zbee_zcl_drlc_device_class = -1; static int hf_zbee_zcl_drlc_device_class_hvac_compressor_or_furnace = -1; static int hf_zbee_zcl_drlc_device_class_strip_heaters_baseboard_heaters = -1; static int hf_zbee_zcl_drlc_device_class_water_heater = -1; static int hf_zbee_zcl_drlc_device_class_pool_pump_spa_jacuzzi = -1; static int hf_zbee_zcl_drlc_device_class_smart_appliances = -1; static int hf_zbee_zcl_drlc_device_class_irrigation_pump = -1; static int hf_zbee_zcl_drlc_device_class_managed_c_i_loads= -1; static int hf_zbee_zcl_drlc_device_class_simple_misc_loads = -1; static int hf_zbee_zcl_drlc_device_class_exterior_lighting = -1; static int hf_zbee_zcl_drlc_device_class_interior_lighting = -1; static int hf_zbee_zcl_drlc_device_class_electric_vehicle = -1; static int hf_zbee_zcl_drlc_device_class_generation_systems = -1; static int hf_zbee_zcl_drlc_device_class_reserved = -1; static int hf_zbee_zcl_drlc_utility_enrollment_group = -1; static int hf_zbee_zcl_drlc_start_time = -1; static int hf_zbee_zcl_drlc_duration_in_minutes = -1; static int hf_zbee_zcl_drlc_criticality_level = -1; static int hf_zbee_zcl_drlc_cooling_temp_offset = -1; static int hf_zbee_zcl_drlc_heating_temp_offset = -1; static int hf_zbee_zcl_drlc_cooling_temp_set_point = -1; static int hf_zbee_zcl_drlc_heating_temp_set_point = -1; static int hf_zbee_zcl_drlc_average_load_adjustment_percentage = -1; static int hf_zbee_zcl_drlc_duty_cycle = -1; static int hf_zbee_zcl_drlc_event_control = -1; static int hf_zbee_zcl_drlc_event_control_randomize_start_time = -1; static int hf_zbee_zcl_drlc_event_control_randomize_duration_time = -1; static int hf_zbee_zcl_drlc_event_control_reserved = -1; static int hf_zbee_zcl_drlc_cancel_control = -1; static int hf_zbee_zcl_drlc_cancel_control_event_in_process = -1; static int hf_zbee_zcl_drlc_cancel_control_reserved = -1; static int hf_zbee_zcl_drlc_effective_time = -1; static int hf_zbee_zcl_drlc_report_event_issuer_event_id = -1; static int hf_zbee_zcl_drlc_report_event_event_status = -1; static int hf_zbee_zcl_drlc_report_event_event_status_time = -1; static int hf_zbee_zcl_drlc_report_event_criticality_level_applied = -1; static int hf_zbee_zcl_drlc_report_event_cooling_temp_set_point_applied = -1; static int hf_zbee_zcl_drlc_report_event_heating_temp_set_point_applied = -1; static int hf_zbee_zcl_drlc_report_event_average_load_adjustment_percentage = -1; static int hf_zbee_zcl_drlc_report_event_duty_cycle = -1; static int hf_zbee_zcl_drlc_report_event_event_control = -1; static int hf_zbee_zcl_drlc_report_event_signature_type = -1; static int hf_zbee_zcl_drlc_report_event_signature = -1; static int hf_zbee_zcl_drlc_get_scheduled_events_start_time = -1; static int hf_zbee_zcl_drlc_get_scheduled_events_number_of_events = -1; static int hf_zbee_zcl_drlc_get_scheduled_events_issuer_event_id = -1; static int* const zbee_zcl_drlc_control_event_device_classes[] = { &hf_zbee_zcl_drlc_device_class_hvac_compressor_or_furnace, &hf_zbee_zcl_drlc_device_class_strip_heaters_baseboard_heaters, &hf_zbee_zcl_drlc_device_class_water_heater, &hf_zbee_zcl_drlc_device_class_pool_pump_spa_jacuzzi, &hf_zbee_zcl_drlc_device_class_smart_appliances, &hf_zbee_zcl_drlc_device_class_irrigation_pump, &hf_zbee_zcl_drlc_device_class_managed_c_i_loads, &hf_zbee_zcl_drlc_device_class_simple_misc_loads, &hf_zbee_zcl_drlc_device_class_exterior_lighting, &hf_zbee_zcl_drlc_device_class_interior_lighting, &hf_zbee_zcl_drlc_device_class_electric_vehicle, &hf_zbee_zcl_drlc_device_class_generation_systems, &hf_zbee_zcl_drlc_device_class_reserved, NULL }; static int* const hf_zbee_zcl_drlc_event_control_flags[] = { &hf_zbee_zcl_drlc_event_control_randomize_start_time, &hf_zbee_zcl_drlc_event_control_randomize_duration_time, &hf_zbee_zcl_drlc_event_control_reserved, NULL }; static int* const hf_zbee_zcl_drlc_cancel_control_flags[] = { &hf_zbee_zcl_drlc_cancel_control_event_in_process, &hf_zbee_zcl_drlc_cancel_control_reserved, NULL }; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_drlc = -1; static gint ett_zbee_zcl_drlc_device_class = -1; static gint ett_zbee_zcl_drlc_event_control = -1; static gint ett_zbee_zcl_drlc_cancel_control = -1; /*************************/ /* Function Bodies */ /*************************/ /** * This function decodes Temperature Offset. * * @param s string to display * @param value value to decode */ static void decode_zcl_drlc_temp_offset(gchar *s, guint8 value) { if (value == ZBEE_ZCL_DRLC_TEMP_OFFSET_NOT_USED) snprintf(s, ITEM_LABEL_LENGTH, "Not Used"); else { gfloat temp_delta; temp_delta = value / ZBEE_ZCL_DRLC_TEMP_OFFSET_DIVIDER; snprintf(s, ITEM_LABEL_LENGTH, "%+.2f%s", temp_delta, units_degree_celsius.singular); } } /*decode_zcl_msg_start_time*/ /** * This function decodes Temperature Set Point. * * @param s string to display * @param value value to decode */ static void decode_zcl_drlc_temp_set_point(gchar *s, gint16 value) { if (value & ZBEE_ZCL_DRLC_TEMP_SET_POINT_NOT_USED) snprintf(s, ITEM_LABEL_LENGTH, "Not Used"); else { gfloat temp_delta; temp_delta = value / ZBEE_ZCL_DRLC_TEMP_SET_POINT_DIVIDER; snprintf(s, ITEM_LABEL_LENGTH, "%+.2f%s", temp_delta, units_degree_celsius.singular); } } /*decode_zcl_drlc_temp_set_point*/ /** * This function decodes Average Load Adjustment Percentage. * * @param s string to display * @param value value to decode */ static void decode_zcl_drlc_average_load_adjustment_percentage(gchar *s, gint8 value) { if (value & ZBEE_ZCL_DRLC_AVERAGE_LOAD_ADJUSTMENT_PERCENTAGE) snprintf(s, ITEM_LABEL_LENGTH, "Not Used"); else { snprintf(s, ITEM_LABEL_LENGTH, "%+d%%", value); } } /*decode_zcl_drlc_average_load_adjustment_percentage*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_drlc_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_DRLC_CLNT: proto_tree_add_item(tree, hf_zbee_zcl_drlc_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_drlc_attr_data*/ /** *This function is called by ZCL foundation dissector in order to decode *DRLC Load Control Event Command Payload. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_drlc_load_control_event(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Device Class */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_drlc_device_class, ett_zbee_zcl_drlc_device_class, zbee_zcl_drlc_control_event_device_classes, ENC_LITTLE_ENDIAN); *offset += 2; /* Utility Enrollment Group */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_utility_enrollment_group, tvb, *offset, 1, ENC_NA); *offset += 1; /* Start Time */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_start_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Duration In Minutes */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_duration_in_minutes, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Criticality Level */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_criticality_level, tvb, *offset, 1, ENC_NA); *offset += 1; /* Cooling Temperature Offset */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_cooling_temp_offset, tvb, *offset, 1, ENC_NA); *offset += 1; /* Heating Temperature Offset */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_heating_temp_offset, tvb, *offset, 1, ENC_NA); *offset += 1; /* Cooling Temperature Set Point */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_cooling_temp_set_point, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Heating Temperature Set Point */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_heating_temp_set_point, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Average Load Adjustment Percentage */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_average_load_adjustment_percentage, tvb, *offset, 1, ENC_NA); *offset += 1; /* Duty Cycle */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_duty_cycle, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event Control */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_drlc_event_control, ett_zbee_zcl_drlc_event_control, hf_zbee_zcl_drlc_event_control_flags, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_drlc_load_control_event*/ /** *This function is called by ZCL foundation dissector in order to decode *DRLC Cancel Load Control Event Command Payload. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_drlc_cancel_load_control_event(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Device Class */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_drlc_device_class, ett_zbee_zcl_drlc_device_class, zbee_zcl_drlc_control_event_device_classes, ENC_LITTLE_ENDIAN); *offset += 2; /* Utility Enrollment Group */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_utility_enrollment_group, tvb, *offset, 1, ENC_NA); *offset += 1; /* Cancel Control */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_drlc_cancel_control, ett_zbee_zcl_drlc_cancel_control, hf_zbee_zcl_drlc_cancel_control_flags, ENC_LITTLE_ENDIAN); *offset += 1; /* Effective Time */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_effective_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /** *This function is called by ZCL foundation dissector in order to decode *DRLC Cancel All Load Control Events Command Payload. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_drlc_cancel_all_load_control_event(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Cancel Control */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_drlc_cancel_control, ett_zbee_zcl_drlc_cancel_control, hf_zbee_zcl_drlc_cancel_control_flags, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zcl_drlc_cancel_all_load_control_event*/ /** *This function is called by ZCL foundation dissector in order to decode *DRLC Report Event Status Command Payload. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_drlc_report_event_status(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t event_status_time; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Event Status */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_event_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event Status Time */ event_status_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; event_status_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_drlc_report_event_event_status_time, tvb, *offset, 4, &event_status_time); *offset += 4; /* Criticality Level Applied */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_criticality_level_applied, tvb, *offset, 1, ENC_NA); *offset += 1; /* Cooling Temperature Set Point Applied */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_cooling_temp_set_point_applied, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Heating Temperature Set Point Applied */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_heating_temp_set_point_applied, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Average Load Adjustment Percentage Applied */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_average_load_adjustment_percentage, tvb, *offset, 1, ENC_NA); *offset += 1; /* Duty Cycle Applied */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_duty_cycle, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event Control */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_drlc_report_event_event_control, ett_zbee_zcl_drlc_event_control, hf_zbee_zcl_drlc_event_control_flags, ENC_LITTLE_ENDIAN); *offset += 1; /* Signature Type */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_signature_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Signature */ guint rem_len; rem_len = tvb_reported_length_remaining(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_drlc_report_event_signature, tvb, *offset, rem_len, ENC_NA); *offset += rem_len; } /*dissect_zcl_drlc_report_event_status*/ /** *This function is called by ZCL foundation dissector in order to decode *DRLC Get Scheduled Events Command Payload. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_drlc_get_scheduled_events(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; gint rem_len; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_drlc_get_scheduled_events_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Number of Events */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_get_scheduled_events_number_of_events, tvb, *offset, 1, ENC_NA); *offset += 1; rem_len = tvb_reported_length_remaining(tvb, *offset); if (rem_len > 3) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_drlc_get_scheduled_events_issuer_event_id, tvb, *offset, rem_len, ENC_LITTLE_ENDIAN); *offset += 4; } } /*dissect_zcl_drlc_report_event_status*/ /** *ZigBee ZCL DRLC cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_drlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; proto_tree *payload_tree; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_drlc_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_drlc_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_drlc, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_DRLC_REPORT_EVENT_STATUS: dissect_zcl_drlc_report_event_status(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_DRLC_GET_SCHEDULED_EVENTS: dissect_zcl_drlc_get_scheduled_events(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_drlc_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_drlc_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_drlc, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_DRLC_LOAD_CONTROL_EVENT: dissect_zcl_drlc_load_control_event(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_DRLC_CANCEL_LOAD_CONTROL_EVENT: dissect_zcl_drlc_cancel_load_control_event(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_DRLC_CANCEL_ALL_LOAD_CONTROL_EVENTS: dissect_zcl_drlc_cancel_all_load_control_event(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_drlc*/ /** *This function registers the ZCL DRLC dissector * */ void proto_register_zbee_zcl_drlc(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_drlc_attr_client_id, { "Attribute", "zbee_zcl_se.drlc.attr_client_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_drlc_attr_client_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.drlc.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_drlc_srv_tx_cmd_id, { "Command", "zbee_zcl_se.drlc.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_drlc_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_drlc_srv_rx_cmd_id, { "Command", "zbee_zcl_se.drlc.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_drlc_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_drlc_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.drlc.issuer_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class, { "Device Class", "zbee_zcl_se.drlc.device_class", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_hvac_compressor_or_furnace, { "HVAC Compressor or Furnace", "zbee_zcl_se.drlc.device_class.hvac_compressor_or_furnace", FT_BOOLEAN, 16, NULL, 0x0001, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_strip_heaters_baseboard_heaters, { "Strip Heaters/Baseboard Heaters", "zbee_zcl_se.drlc.device_class.strip_heaters_baseboard_heaters", FT_BOOLEAN, 16, NULL, 0x0002, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_water_heater, { "Water Heater", "zbee_zcl_se.drlc.device_class.water_heater", FT_BOOLEAN, 16, NULL, 0x0004, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_pool_pump_spa_jacuzzi, { "Pool Pump/Spa/Jacuzzi", "zbee_zcl_se.drlc.device_class.pool_pump_spa_jacuzzi", FT_BOOLEAN, 16, NULL, 0x0008, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_smart_appliances, { "Smart Appliances", "zbee_zcl_se.drlc.device_class.smart_appliances", FT_BOOLEAN, 16, NULL, 0x0010, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_irrigation_pump, { "Irrigation Pump", "zbee_zcl_se.drlc.device_class.irrigation_pump", FT_BOOLEAN, 16, NULL, 0x0020, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_managed_c_i_loads, { "Managed Commercial & Industrial (C&I) loads", "zbee_zcl_se.drlc.device_class.managed_c_i_loads", FT_BOOLEAN, 16, NULL, 0x0040, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_simple_misc_loads, { "Simple misc. (Residential On/Off) loads", "zbee_zcl_se.drlc.device_class.simple_misc_loads", FT_BOOLEAN, 16, NULL, 0x0080, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_exterior_lighting, { "Exterior Lighting", "zbee_zcl_se.drlc.device_class.exterior_lighting", FT_BOOLEAN, 16, NULL, 0x0100, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_interior_lighting, { "Interior Lighting", "zbee_zcl_se.drlc.device_class.interior_lighting", FT_BOOLEAN, 16, NULL, 0x0200, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_electric_vehicle, { "Electric Vehicle", "zbee_zcl_se.drlc.device_class.electric_vehicle", FT_BOOLEAN, 16, NULL, 0x0400, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_generation_systems, { "Generation Systems", "zbee_zcl_se.drlc.device_class.generation_systems", FT_BOOLEAN, 16, NULL, 0x0800, NULL, HFILL } }, { &hf_zbee_zcl_drlc_device_class_reserved , { "Reserved", "zbee_zcl_se.drlc.device_class.reserved", FT_UINT16, BASE_HEX, NULL, 0xF000, NULL, HFILL } }, { &hf_zbee_zcl_drlc_utility_enrollment_group, { "Utility Enrollment Group", "zbee_zcl_se.drlc.utility_enrollment_group", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_start_time, { "Start Time", "zbee_zcl_se.drlc.start_time", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_zcl_msg_start_time), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_duration_in_minutes, { "Duration In Minutes", "zbee_zcl_se.drlc.duration_in_minutes", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_criticality_level, { "Criticality Level", "zbee_zcl_se.drlc.criticality_level", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_drlc_load_control_event_criticality_level), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_cooling_temp_offset, { "Cooling Temperature Offset", "zbee_zcl_se.drlc.cooling_temperature_offset", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_temp_offset), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_heating_temp_offset, { "Heating Temperature Offset", "zbee_zcl_se.drlc.heating_temperature_offset", FT_UINT8, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_temp_offset), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_cooling_temp_set_point, { "Cooling Temperature Set Point", "zbee_zcl_se.drlc.cooling_temperature_set_point", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_temp_set_point), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_heating_temp_set_point, { "Heating Temperature Set Point", "zbee_zcl_se.drlc.heating_temperature_set_point", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_temp_set_point), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_average_load_adjustment_percentage, { "Average Load Adjustment Percentage", "zbee_zcl_se.drlc.average_load_adjustment_percentage", FT_INT8, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_average_load_adjustment_percentage), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_duty_cycle, { "Duty Cycle", "zbee_zcl_se.drlc.duty_cycle", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_event_control, { "Event Control", "zbee_zcl_se.drlc.event_control", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_event_control_randomize_start_time, { "Randomize Start time", "zbee_zcl_se.drlc.randomize_start_time", FT_BOOLEAN, 8, TFS(&zbee_zcl_drlc_randomize_start_tfs), 0x01, NULL, HFILL } }, { &hf_zbee_zcl_drlc_event_control_randomize_duration_time, { "Randomize Duration time", "zbee_zcl_se.drlc.randomize_duration_time", FT_BOOLEAN, 8, TFS(&zbee_zcl_drlc_randomize_duration_tfs), 0x02, NULL, HFILL } }, { &hf_zbee_zcl_drlc_event_control_reserved, { "Reserved", "zbee_zcl_se.drlc.reserved", FT_UINT8, BASE_HEX, NULL, 0xFC, NULL, HFILL } }, { &hf_zbee_zcl_drlc_cancel_control, { "Cancel Control", "zbee_zcl_se.drlc.cancel_control", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_cancel_control_event_in_process, { "Event in process", "zbee_zcl_se.drlc.cancel_control.event_in_process", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL } }, { &hf_zbee_zcl_drlc_cancel_control_reserved, { "Reserved", "zbee_zcl_se.drlc.cancel_control.reserved", FT_UINT8, BASE_HEX, NULL, 0xFE, NULL, HFILL } }, { &hf_zbee_zcl_drlc_effective_time, { "Reserved", "zbee_zcl_se.drlc.effective_time", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_zcl_msg_start_time), 0xFE, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.drlc.report_event.issuer_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_event_status, { "Event Status", "zbee_zcl_se.drlc.report_event.event_status", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_drlc_report_event_status_event_status), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_event_status_time, { "Event Status Time", "zbee_zcl_se.drlc.report_event.event_status_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_criticality_level_applied , { "Criticality Level Applied", "zbee_zcl_se.drlc.report_event.criticality_level_applied", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_drlc_load_control_event_criticality_level), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_cooling_temp_set_point_applied, { "Cooling Temperature Set Point Applied", "zbee_zcl_se.drlc.report_event.cooling_temperature_set_point_applied", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_temp_set_point), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_heating_temp_set_point_applied, { "Heating Temperature Set Point Applied", "zbee_zcl_se.drlc.report_event.heating_temperature_set_point_applied", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_temp_set_point), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_average_load_adjustment_percentage , { "Average Load Adjustment Percentage Applied", "zbee_zcl_se.drlc.report_event.average_load_adjustment_percentage_applied", FT_INT8, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_average_load_adjustment_percentage), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_duty_cycle, { "Duty Cycle Applied", "zbee_zcl_se.drlc.report_event.duty_cycle_applied", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_event_control , { "Event Control", "zbee_zcl_se.drlc.report_event.event_control", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_signature_type, { "Signature Type", "zbee_zcl_se.drlc.report_event.signature_type", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_drlc_report_event_signature_type), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_report_event_signature, { "Signature", "zbee_zcl_se.drlc.report_event.signature", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_get_scheduled_events_start_time, { "Start Time", "zbee_zcl_se.drlc.get_scheduled_events.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_get_scheduled_events_number_of_events, { "Number of Events", "zbee_zcl_se.drlc.get_scheduled_events.numbers_of_events", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_drlc_get_scheduled_events_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.drlc.get_scheduled_events.issuer_event_id", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, }; /* ZCL DRLC subtrees */ gint *ett[] = { &ett_zbee_zcl_drlc, &ett_zbee_zcl_drlc_device_class, &ett_zbee_zcl_drlc_event_control, &ett_zbee_zcl_drlc_cancel_control }; /* Register the ZigBee ZCL DRLC cluster protocol name and description */ proto_zbee_zcl_drlc = proto_register_protocol("ZigBee ZCL DLRC", "ZCL DLRC", ZBEE_PROTOABBREV_ZCL_DRLC); proto_register_field_array(proto_zbee_zcl_drlc, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL DRLC dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_DRLC, dissect_zbee_zcl_drlc, proto_zbee_zcl_drlc); } /*proto_register_zbee_zcl_drlc*/ /** *Hands off the ZCL DRLC dissector. * */ void proto_reg_handoff_zbee_zcl_drlc(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_DRLC, proto_zbee_zcl_drlc, ett_zbee_zcl_drlc, ZBEE_ZCL_CID_DEMAND_RESPONSE_LOAD_CONTROL, ZBEE_MFG_CODE_NONE, -1, hf_zbee_zcl_drlc_attr_client_id, hf_zbee_zcl_drlc_srv_rx_cmd_id, hf_zbee_zcl_drlc_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_drlc_attr_data ); } /*proto_reg_handoff_zbee_zcl_drlc*/ /* ########################################################################## */ /* #### (0x0702) METERING CLUSTER ########################################## */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_met_attr_server_names_VALUE_STRING_LIST(XXX) \ /* Reading Information Set */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_SUM_DEL, 0x0000, "Current Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_SUM_RECV, 0x0001, "Current Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_MAX_DE_DEL, 0x0002, "Current Max Demand Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_MAX_DE_RECV, 0x0003, "Current Max Demand Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DFT_SUM, 0x0004, "DFTSummation" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DAILY_FREEZE_TIME, 0x0005, "Daily Freeze Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_POWER_FACTOR, 0x0006, "Power Factor" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_READ_SNAP_TIME, 0x0007, "Reading Snapshot Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_MAX_DEMAND_DEL_TIME, 0x0008, "Current Max Demand Delivered Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_MAX_DEMAND_RECV_TIME, 0x0009, "Current Max Demand Received Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DEFAULT_UPDATE_PERIOD, 0x000A, "Default Update Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_FAST_POLL_UPDATE_PERIOD, 0x000B, "Fast Poll Update Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_BLOCK_PER_CON_DEL, 0x000C, "Current Block Period Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DAILY_CON_TARGET, 0x000D, "Daily Consumption Target" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_BLOCK, 0x000E, "Current Block" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PROFILE_INTERVAL_PERIOD, 0x000F, "Profile Interval Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DEPRECATED, 0x0010, "Deprecated" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PRESET_READING_TIME, 0x0011, "Preset Reading Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_VOLUME_PER_REPORT, 0x0012, "Volume Per Report" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_FLOW_RESTRICTION, 0x0013, "Flow Restriction" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_SUPPLY_STATUS, 0x0014, "Supply Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_INLET_ENER_CAR_SUM, 0x0015, "Current Inlet Energy Carrier Summation" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_OUTLET_ENER_CAR_SUM, 0x0016, "Current Outlet Energy Carrier Summation" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_INLET_TEMPERATURE, 0x0017, "Inlet Temperature" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_OUTLET_TEMPERATURE, 0x0018, "Outlet Temperature" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CONTROL_TEMPERATURE, 0x0019, "Control Temperature" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_INLET_ENER_CAR_DEM, 0x001A, "Current Inlet Energy Carrier Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_OUTLET_ENER_CAR_DEM, 0x001B, "Current Outlet Energy Carrier Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_BLOCK_CON_DEL, 0x001C, "Previous Block Period Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_BLOCL_CON_RECV, 0x001D, "Current Block Period Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_BLOCK_RECEIVED, 0x001E, "Current Block Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DFT_SUMMATION_RECEIVED, 0x001F, "DFT Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ACTIVE_REG_TIER_DEL, 0x0020, "Active Register Tier Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ACTIVE_REG_TIER_RECV, 0x0021, "Active Register Tier Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_LAST_BLOCK_SWITCH_TIME, 0x0022, "Last Block Switch Time" ) \ /* Summation TOU Information Set */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_1_SUM_DEL, 0x0100, "Current Tier 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_1_SUM_RECV, 0x0101, "Current Tier 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_2_SUM_DEL, 0x0102, "Current Tier 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_2_SUM_RECV, 0x0103, "Current Tier 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_3_SUM_DEL, 0x0104, "Current Tier 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_3_SUM_RECV, 0x0105, "Current Tier 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_4_SUM_DEL, 0x0106, "Current Tier 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_4_SUM_RECV, 0x0107, "Current Tier 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_5_SUM_DEL, 0x0108, "Current Tier 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_5_SUM_RECV, 0x0109, "Current Tier 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_6_SUM_DEL, 0x010A, "Current Tier 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_6_SUM_RECV, 0x010B, "Current Tier 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_7_SUM_DEL, 0x010C, "Current Tier 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_7_SUM_RECV, 0x010D, "Current Tier 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_8_SUM_DEL, 0x010E, "Current Tier 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_8_SUM_RECV, 0x010F, "Current Tier 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_9_SUM_DEL, 0x0110, "Current Tier 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_9_SUM_RECV, 0x0111, "Current Tier 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_10_SUM_DEL, 0x0112, "Current Tier 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_10_SUM_RECV, 0x0113, "Current Tier 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_11_SUM_DEL, 0x0114, "Current Tier 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_11_SUM_RECV, 0x0115, "Current Tier 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_12_SUM_DEL, 0x0116, "Current Tier 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_12_SUM_RECV, 0x0117, "Current Tier 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_13_SUM_DEL, 0x0118, "Current Tier 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_13_SUM_RECV, 0x0119, "Current Tier 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_14_SUM_DEL, 0x011A, "Current Tier 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_14_SUM_RECV, 0x011B, "Current Tier 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_15_SUM_DEL, 0x011C, "Current Tier 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_15_SUM_RECV, 0x011D, "Current Tier 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_16_SUM_DEL, 0x011E, "Current Tier 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_16_SUM_RECV, 0x011F, "Current Tier 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_17_SUM_DEL, 0x0120, "Current Tier 17 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_17_SUM_RECV, 0x0121, "Current Tier 17 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_18_SUM_DEL, 0x0122, "Current Tier 18 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_18_SUM_RECV, 0x0123, "Current Tier 18 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_19_SUM_DEL, 0x0124, "Current Tier 19 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_19_SUM_RECV, 0x0125, "Current Tier 19 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_20_SUM_DEL, 0x0126, "Current Tier 20 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_20_SUM_RECV, 0x0127, "Current Tier 20 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_21_SUM_DEL, 0x0128, "Current Tier 21 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_21_SUM_RECV, 0x0129, "Current Tier 21 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_22_SUM_DEL, 0x012A, "Current Tier 22 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_22_SUM_RECV, 0x012B, "Current Tier 22 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_23_SUM_DEL, 0x012C, "Current Tier 23 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_23_SUM_RECV, 0x012D, "Current Tier 23 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_24_SUM_DEL, 0x012E, "Current Tier 24 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_24_SUM_RECV, 0x012F, "Current Tier 24 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_25_SUM_DEL, 0x0130, "Current Tier 25 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_25_SUM_RECV, 0x0131, "Current Tier 25 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_26_SUM_DEL, 0x0132, "Current Tier 26 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_26_SUM_RECV, 0x0133, "Current Tier 26 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_27_SUM_DEL, 0x0134, "Current Tier 27 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_27_SUM_RECV, 0x0135, "Current Tier 27 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_28_SUM_DEL, 0x0136, "Current Tier 28 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_28_SUM_RECV, 0x0137, "Current Tier 28 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_29_SUM_DEL, 0x0138, "Current Tier 29 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_29_SUM_RECV, 0x0139, "Current Tier 29 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_30_SUM_DEL, 0x013A, "Current Tier 30 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_30_SUM_RECV, 0x013B, "Current Tier 30 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_31_SUM_DEL, 0x013C, "Current Tier 31 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_31_SUM_RECV, 0x013D, "Current Tier 31 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_32_SUM_DEL, 0x013E, "Current Tier 32 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_32_SUM_RECV, 0x013F, "Current Tier 32 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_33_SUM_DEL, 0x0140, "Current Tier 33 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_33_SUM_RECV, 0x0141, "Current Tier 33 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_34_SUM_DEL, 0x0142, "Current Tier 34 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_34_SUM_RECV, 0x0143, "Current Tier 34 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_35_SUM_DEL, 0x0144, "Current Tier 35 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_35_SUM_RECV, 0x0145, "Current Tier 35 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_36_SUM_DEL, 0x0146, "Current Tier 36 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_36_SUM_RECV, 0x0147, "Current Tier 36 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_37_SUM_DEL, 0x0148, "Current Tier 37 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_37_SUM_RECV, 0x0149, "Current Tier 37 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_38_SUM_DEL, 0x014A, "Current Tier 38 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_38_SUM_RECV, 0x014B, "Current Tier 38 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_39_SUM_DEL, 0x014C, "Current Tier 39 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_39_SUM_RECV, 0x014D, "Current Tier 39 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_40_SUM_DEL, 0x014E, "Current Tier 40 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_40_SUM_RECV, 0x014F, "Current Tier 40 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_41_SUM_DEL, 0x0150, "Current Tier 41 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_41_SUM_RECV, 0x0151, "Current Tier 41 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_42_SUM_DEL, 0x0152, "Current Tier 42 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_42_SUM_RECV, 0x0153, "Current Tier 42 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_43_SUM_DEL, 0x0154, "Current Tier 43 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_43_SUM_RECV, 0x0155, "Current Tier 43 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_44_SUM_DEL, 0x0156, "Current Tier 44 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_44_SUM_RECV, 0x0157, "Current Tier 44 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_45_SUM_DEL, 0x0158, "Current Tier 45 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_45_SUM_RECV, 0x0159, "Current Tier 45 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_46_SUM_DEL, 0x015A, "Current Tier 46 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_46_SUM_RECV, 0x015B, "Current Tier 46 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_47_SUM_DEL, 0x015C, "Current Tier 47 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_47_SUM_RECV, 0x015D, "Current Tier 47 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_48_SUM_DEL, 0x015E, "Current Tier 48 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_TIER_48_SUM_RECV, 0x015F, "Current Tier 48 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CPP1_SUMMATION_DELIVERED, 0x01FC, "CPP1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CPP2_SUMMATION_DELIVERED, 0x01FE, "CPP2 Summation Delivered" ) \ /* Meter Status Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_STATUS, 0x0200, "Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_REMAIN_BAT_LIFE, 0x0201, "Remaining Battery Life" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_HOURS_IN_OPERATION, 0x0202, "Hours in Operation" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_HOURS_IN_FAULT, 0x0203, "Hours in Fault" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_EXTENDED_STATUS, 0x0204, "Extended Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_REMAIN_BAT_LIFE_DAYS, 0x0205, "Remaining Battery Life in Days" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_METER_ID, 0x0206, "Current Meter ID" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_AMBIENT_CON_IND, 0x0207, "Ambient Consumption Indicator" ) \ /* Formatting */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_UNIT_OF_MEASURE, 0x0300, "Unit of Measure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_MULTIPLIER, 0x0301, "Multiplier" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DIVISOR, 0x0302, "Divisor" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_SUMMATION_FORMATTING, 0x0303, "Summation Formatting" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DEMAND_FORMATTING, 0x0304, "Demand Formatting" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_HISTORICAL_CON_FORMATTING, 0x0305, "Historical Consumption Formatting" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_METERING_DEVICE_TYPE, 0x0306, "Metering Device Type" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_SITE_ID, 0x0307, "Site ID" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_METER_SERIAL_NUMBER, 0x0308, "Meter Serial Number" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ENERGY_CARRIER_UNIT_OF_MEASURE, 0x0309, "Energy Carrier Unit of Measure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ENERGY_CARRIER_SUMMATION_FORMAT, 0x030A, "Energy Carrier Summation Formatting" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ENERGY_CARRIER_DEMAND_FORMAT, 0x030B, "Energy Carrier Demand Formatting" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_TEMPERATURE_UNIT_OF_MEASURE, 0x030C, "Temperature Unit of Measure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_TEMPERATURE_FORMATTING, 0x030D, "Temperature Formatting" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_MODULE_SERIAL_NUMBER, 0x030E, "Module Serial Number" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_OPERATING_TARIFF_LABEL_DELIVERED, 0x030F, "Operating Tariff Label Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_OPERATING_TARIFF_LABEL_RECEIVED, 0x0310, "Operating Tariff Label Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUSTOMER_ID_NUMBER, 0x0311, "Customer ID Number" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ALT_UNIT_OF_MEASURE, 0x0312, "Alternative Unit of Measure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ALT_DEMAND_FORMATTING, 0x0313, "Alternative Demand Formatting" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ALT_CON_FORMATTING, 0x0314, "Alternative Consumption Formatting" ) \ /* Historical Consumption Attribute */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_INSTANT_DEMAND, 0x0400, "Instantaneous Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_DAY_CON_DEL, 0x0401, "Current Day Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_DAY_CON_RECV, 0x0402, "Current Day Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_CON_DEL, 0x0403, "Previous Day Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_CON_RECV, 0x0404, "Previous Day Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_PAR_PROF_INT_START_DEL, 0x0405, "Current Partial Profile Interval Start Time Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_PAR_PROF_INT_START_RECV, 0x0406, "Current Partial Profile Interval Start Time Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_PAR_PROF_INT_VALUE_DEL, 0x0407, "Current Partial Profile Interval Value Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_PAR_PROF_INT_VALUE_RECV, 0x0408, "Current Partial Profile Interval Value Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_DAY_MAX_PRESSURE, 0x0409, "Current Day Max Pressure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_DAY_MIN_PRESSURE, 0x040A, "Current Day Min Pressure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREVIOUS_DAY_MAX_PRESSURE, 0x040B, "Previous Day Max Pressure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREVIOUS_DAY_MIN_PRESSURE, 0x040C, "Previous Day Min Pressure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_DAY_MAX_DEMAND, 0x040D, "Current Day Max Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREVIOUS_DAY_MAX_DEMAND, 0x040E, "Previous Day Max Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_MONTH_MAX_DEMAND, 0x040F, "Current Month Max Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_YEAR_MAX_DEMAND, 0x0410, "Current Year Max Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_DAY_MAX_ENERGY_CARR_DEM, 0x0411, "Current Day Max Energy Carrier Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREVIOUS_DAY_MAX_ENERGY_CARR_DEM, 0x0412, "Previous Day Max Energy Carrier Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_MONTH_MAX_ENERGY_CARR_DEM, 0x0413, "Current Month Max Energy Carrier Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_MONTH_MIN_ENERGY_CARR_DEM, 0x0414, "Current Month Min Energy Carrier Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_YEAR_MAX_ENERGY_CARR_DEM, 0x0415, "Current Year Max Energy Carrier Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_YEAR_MIN_ENERGY_CARR_DEM, 0x0416, "Current Year Min Energy Carrier Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_2_DAY_CON_DEL, 0x0420, "Previous Day 2 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_2_DAY_CON_RECV, 0x0421, "Previous Day 2 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_3_DAY_CON_DEL, 0x0422, "Previous Day 3 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_3_DAY_CON_RECV, 0x0423, "Previous Day 3 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_4_DAY_CON_DEL, 0x0424, "Previous Day 4 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_4_DAY_CON_RECV, 0x0425, "Previous Day 4 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_5_DAY_CON_DEL, 0x0426, "Previous Day 5 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_5_DAY_CON_RECV, 0x0427, "Previous Day 5 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_6_DAY_CON_DEL, 0x0428, "Previous Day 6 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_6_DAY_CON_RECV, 0x0429, "Previous Day 6 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_7_DAY_CON_DEL, 0x042A, "Previous Day 7 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_7_DAY_CON_RECV, 0x042B, "Previous Day 7 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_8_DAY_CON_DEL, 0x042C, "Previous Day 8 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_8_DAY_CON_RECV, 0x042D, "Previous Day 8 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_WEEK_CON_DEL, 0x0430, "Current Week Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_WEEK_CON_RECV, 0x0431, "Current Week Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_CON_DEL, 0x0432, "Previous Week Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_CON_RECV, 0x0433, "Previous Week Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_2_CON_DEL, 0x0434, "Previous Week 2 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_2_CON_RECV, 0x0435, "Previous Week 2 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_3_CON_DEL, 0x0436, "Previous Week 3 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_3_CON_RECV, 0x0437, "Previous Week 3 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_4_CON_DEL, 0x0438, "Previous Week 4 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_4_CON_RECV, 0x0439, "Previous Week 4 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_5_CON_DEL, 0x043A, "Previous Week 5 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_5_CON_RECV, 0x043B, "Previous Week 5 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_MONTH_CON_DEL, 0x0440, "Current Month Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_MONTH_CON_RECV, 0x0441, "Current Month Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_CON_DEL, 0x0442, "Previous Month Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_CON_RECV, 0x0443, "Previous Month Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_2_CON_DEL, 0x0444, "Previous Month 2 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_2_CON_RECV, 0x0445, "Previous Month 2 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_3_CON_DEL, 0x0446, "Previous Month 3 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_3_CON_RECV, 0x0447, "Previous Month 3 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_4_CON_DEL, 0x0448, "Previous Month 4 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_4_CON_RECV, 0x0449, "Previous Month 4 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_5_CON_DEL, 0x044A, "Previous Month 5 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_5_CON_RECV, 0x044B, "Previous Month 5 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_6_CON_DEL, 0x044C, "Previous Month 6 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_6_CON_RECV, 0x044D, "Previous Month 6 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_7_CON_DEL, 0x044E, "Previous Month 7 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_7_CON_RECV, 0x044F, "Previous Month 7 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_8_CON_DEL, 0x0450, "Previous Month 8 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_8_CON_RECV, 0x0451, "Previous Month 8 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_9_CON_DEL, 0x0452, "Previous Month 9 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_9_CON_RECV, 0x0453, "Previous Month 9 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_10_CON_DEL, 0x0454, "Previous Month 10 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_10_CON_RECV, 0x0455, "Previous Month 10 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_11_CON_DEL, 0x0456, "Previous Month 11 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_11_CON_RECV, 0x0457, "Previous Month 11 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_12_CON_DEL, 0x0458, "Previous Month 12 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_12_CON_RECV, 0x0459, "Previous Month 12 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_13_CON_DEL, 0x045A, "Previous Month 13 Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_13_CON_RECV, 0x045B, "Previous Month 13 Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_HISTORICAL_FREEZE_TIME, 0x045C, "Historical Freeze Time" ) \ /* Load Profile Configuration */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_MAX_NUMBER_OF_PERIODS_DELIVERED, 0x0500, "Max Number of Periods Delivered" ) \ /* Supply Limit Attributes */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_DEMAND_DELIVERED, 0x0600, "Current Demand Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DEMAND_LIMIT, 0x0601, "Demand Limit" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DEMAND_INTEGRATION_PERIOD, 0x0602, "Demand Integration Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_NUMBER_OF_DEMAND_SUBINTERVALS, 0x0603, "Number of Demand Subintervals" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_DEMAND_LIMIT_ARM_DURATION, 0x0604, "Demand Limit Arm Duration" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_LOAD_LIMIT_SUPPLY_STATE, 0x0605, "Load Limit Supply State" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_LOAD_LIMIT_COUNTER, 0x0606, "Load Limit Counter" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_SUPPLY_TAMPER_STATE, 0x0607, "Supply Tamper State" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_SUPPLY_DEPLETION_STATE, 0x0608, "Supply Depletion State" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_SUPPLY_UNCONTROLLED_FLOW_STATE, 0x0609, "Supply Uncontrolled Flow State" ) \ /* Block Information Attribute Set (Delivered) */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_1_SUM_DEL, 0x0700, "Current No Tier Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_2_SUM_DEL, 0x0701, "Current No Tier Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_3_SUM_DEL, 0x0702, "Current No Tier Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_4_SUM_DEL, 0x0703, "Current No Tier Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_5_SUM_DEL, 0x0704, "Current No Tier Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_6_SUM_DEL, 0x0705, "Current No Tier Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_7_SUM_DEL, 0x0706, "Current No Tier Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_8_SUM_DEL, 0x0707, "Current No Tier Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_9_SUM_DEL, 0x0708, "Current No Tier Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_10_SUM_DEL, 0x0709, "Current No Tier Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_11_SUM_DEL, 0x070A, "Current No Tier Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_12_SUM_DEL, 0x070B, "Current No Tier Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_13_SUM_DEL, 0x070C, "Current No Tier Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_14_SUM_DEL, 0x070D, "Current No Tier Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_15_SUM_DEL, 0x070E, "Current No Tier Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_16_SUM_DEL, 0x070F, "Current No Tier Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_1_SUM_DEL, 0x0710, "Current Tier 1 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_2_SUM_DEL, 0x0711, "Current Tier 1 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_3_SUM_DEL, 0x0712, "Current Tier 1 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_4_SUM_DEL, 0x0713, "Current Tier 1 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_5_SUM_DEL, 0x0714, "Current Tier 1 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_6_SUM_DEL, 0x0715, "Current Tier 1 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_7_SUM_DEL, 0x0716, "Current Tier 1 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_8_SUM_DEL, 0x0717, "Current Tier 1 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_9_SUM_DEL, 0x0718, "Current Tier 1 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_10_SUM_DEL, 0x0719, "Current Tier 1 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_11_SUM_DEL, 0x071A, "Current Tier 1 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_12_SUM_DEL, 0x071B, "Current Tier 1 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_13_SUM_DEL, 0x071C, "Current Tier 1 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_14_SUM_DEL, 0x071D, "Current Tier 1 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_15_SUM_DEL, 0x071E, "Current Tier 1 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_16_SUM_DEL, 0x071F, "Current Tier 1 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_1_SUM_DEL, 0x0720, "Current Tier 2 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_2_SUM_DEL, 0x0721, "Current Tier 2 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_3_SUM_DEL, 0x0722, "Current Tier 2 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_4_SUM_DEL, 0x0723, "Current Tier 2 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_5_SUM_DEL, 0x0724, "Current Tier 2 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_6_SUM_DEL, 0x0725, "Current Tier 2 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_7_SUM_DEL, 0x0726, "Current Tier 2 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_8_SUM_DEL, 0x0727, "Current Tier 2 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_9_SUM_DEL, 0x0728, "Current Tier 2 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_10_SUM_DEL, 0x0729, "Current Tier 2 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_11_SUM_DEL, 0x072A, "Current Tier 2 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_12_SUM_DEL, 0x072B, "Current Tier 2 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_13_SUM_DEL, 0x072C, "Current Tier 2 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_14_SUM_DEL, 0x072D, "Current Tier 2 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_15_SUM_DEL, 0x072E, "Current Tier 2 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_16_SUM_DEL, 0x072F, "Current Tier 2 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_1_SUM_DEL, 0x0730, "Current Tier 3 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_2_SUM_DEL, 0x0731, "Current Tier 3 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_3_SUM_DEL, 0x0732, "Current Tier 3 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_4_SUM_DEL, 0x0733, "Current Tier 3 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_5_SUM_DEL, 0x0734, "Current Tier 3 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_6_SUM_DEL, 0x0735, "Current Tier 3 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_7_SUM_DEL, 0x0736, "Current Tier 3 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_8_SUM_DEL, 0x0737, "Current Tier 3 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_9_SUM_DEL, 0x0738, "Current Tier 3 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_10_SUM_DEL, 0x0739, "Current Tier 3 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_11_SUM_DEL, 0x073A, "Current Tier 3 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_12_SUM_DEL, 0x073B, "Current Tier 3 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_13_SUM_DEL, 0x073C, "Current Tier 3 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_14_SUM_DEL, 0x073D, "Current Tier 3 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_15_SUM_DEL, 0x073E, "Current Tier 3 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_16_SUM_DEL, 0x073F, "Current Tier 3 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_1_SUM_DEL, 0x0740, "Current Tier 4 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_2_SUM_DEL, 0x0741, "Current Tier 4 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_3_SUM_DEL, 0x0742, "Current Tier 4 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_4_SUM_DEL, 0x0743, "Current Tier 4 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_5_SUM_DEL, 0x0744, "Current Tier 4 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_6_SUM_DEL, 0x0745, "Current Tier 4 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_7_SUM_DEL, 0x0746, "Current Tier 4 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_8_SUM_DEL, 0x0747, "Current Tier 4 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_9_SUM_DEL, 0x0748, "Current Tier 4 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_10_SUM_DEL, 0x0749, "Current Tier 4 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_11_SUM_DEL, 0x074A, "Current Tier 4 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_12_SUM_DEL, 0x074B, "Current Tier 4 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_13_SUM_DEL, 0x074C, "Current Tier 4 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_14_SUM_DEL, 0x074D, "Current Tier 4 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_15_SUM_DEL, 0x074E, "Current Tier 4 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_16_SUM_DEL, 0x074F, "Current Tier 4 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_1_SUM_DEL, 0x0750, "Current Tier 5 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_2_SUM_DEL, 0x0751, "Current Tier 5 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_3_SUM_DEL, 0x0752, "Current Tier 5 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_4_SUM_DEL, 0x0753, "Current Tier 5 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_5_SUM_DEL, 0x0754, "Current Tier 5 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_6_SUM_DEL, 0x0755, "Current Tier 5 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_7_SUM_DEL, 0x0756, "Current Tier 5 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_8_SUM_DEL, 0x0757, "Current Tier 5 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_9_SUM_DEL, 0x0758, "Current Tier 5 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_10_SUM_DEL, 0x0759, "Current Tier 5 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_11_SUM_DEL, 0x075A, "Current Tier 5 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_12_SUM_DEL, 0x075B, "Current Tier 5 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_13_SUM_DEL, 0x075C, "Current Tier 5 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_14_SUM_DEL, 0x075D, "Current Tier 5 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_15_SUM_DEL, 0x075E, "Current Tier 5 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_16_SUM_DEL, 0x075F, "Current Tier 5 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_1_SUM_DEL, 0x0760, "Current Tier 6 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_2_SUM_DEL, 0x0761, "Current Tier 6 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_3_SUM_DEL, 0x0762, "Current Tier 6 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_4_SUM_DEL, 0x0763, "Current Tier 6 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_5_SUM_DEL, 0x0764, "Current Tier 6 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_6_SUM_DEL, 0x0765, "Current Tier 6 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_7_SUM_DEL, 0x0766, "Current Tier 6 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_8_SUM_DEL, 0x0767, "Current Tier 6 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_9_SUM_DEL, 0x0768, "Current Tier 6 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_10_SUM_DEL, 0x0769, "Current Tier 6 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_11_SUM_DEL, 0x076A, "Current Tier 6 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_12_SUM_DEL, 0x076B, "Current Tier 6 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_13_SUM_DEL, 0x076C, "Current Tier 6 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_14_SUM_DEL, 0x076D, "Current Tier 6 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_15_SUM_DEL, 0x076E, "Current Tier 6 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_16_SUM_DEL, 0x076F, "Current Tier 6 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_1_SUM_DEL, 0x0770, "Current Tier 7 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_2_SUM_DEL, 0x0771, "Current Tier 7 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_3_SUM_DEL, 0x0772, "Current Tier 7 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_4_SUM_DEL, 0x0773, "Current Tier 7 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_5_SUM_DEL, 0x0774, "Current Tier 7 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_6_SUM_DEL, 0x0775, "Current Tier 7 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_7_SUM_DEL, 0x0776, "Current Tier 7 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_8_SUM_DEL, 0x0777, "Current Tier 7 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_9_SUM_DEL, 0x0778, "Current Tier 7 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_10_SUM_DEL, 0x0779, "Current Tier 7 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_11_SUM_DEL, 0x077A, "Current Tier 7 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_12_SUM_DEL, 0x077B, "Current Tier 7 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_13_SUM_DEL, 0x077C, "Current Tier 7 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_14_SUM_DEL, 0x077D, "Current Tier 7 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_15_SUM_DEL, 0x077E, "Current Tier 7 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_16_SUM_DEL, 0x077F, "Current Tier 7 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_1_SUM_DEL, 0x0780, "Current Tier 8 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_2_SUM_DEL, 0x0781, "Current Tier 8 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_3_SUM_DEL, 0x0782, "Current Tier 8 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_4_SUM_DEL, 0x0783, "Current Tier 8 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_5_SUM_DEL, 0x0784, "Current Tier 8 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_6_SUM_DEL, 0x0785, "Current Tier 8 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_7_SUM_DEL, 0x0786, "Current Tier 8 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_8_SUM_DEL, 0x0787, "Current Tier 8 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_9_SUM_DEL, 0x0788, "Current Tier 8 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_10_SUM_DEL, 0x0789, "Current Tier 8 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_11_SUM_DEL, 0x078A, "Current Tier 8 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_12_SUM_DEL, 0x078B, "Current Tier 8 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_13_SUM_DEL, 0x078C, "Current Tier 8 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_14_SUM_DEL, 0x078D, "Current Tier 8 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_15_SUM_DEL, 0x078E, "Current Tier 8 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_16_SUM_DEL, 0x078F, "Current Tier 8 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_1_SUM_DEL, 0x0790, "Current Tier 9 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_2_SUM_DEL, 0x0791, "Current Tier 9 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_3_SUM_DEL, 0x0792, "Current Tier 9 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_4_SUM_DEL, 0x0793, "Current Tier 9 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_5_SUM_DEL, 0x0794, "Current Tier 9 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_6_SUM_DEL, 0x0795, "Current Tier 9 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_7_SUM_DEL, 0x0796, "Current Tier 9 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_8_SUM_DEL, 0x0797, "Current Tier 9 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_9_SUM_DEL, 0x0798, "Current Tier 9 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_10_SUM_DEL, 0x0799, "Current Tier 9 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_11_SUM_DEL, 0x079A, "Current Tier 9 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_12_SUM_DEL, 0x079B, "Current Tier 9 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_13_SUM_DEL, 0x079C, "Current Tier 9 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_14_SUM_DEL, 0x079D, "Current Tier 9 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_15_SUM_DEL, 0x079E, "Current Tier 9 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_16_SUM_DEL, 0x079F, "Current Tier 9 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_1_SUM_DEL, 0x07A0, "Current Tier 10 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_2_SUM_DEL, 0x07A1, "Current Tier 10 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_3_SUM_DEL, 0x07A2, "Current Tier 10 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_4_SUM_DEL, 0x07A3, "Current Tier 10 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_5_SUM_DEL, 0x07A4, "Current Tier 10 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_6_SUM_DEL, 0x07A5, "Current Tier 10 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_7_SUM_DEL, 0x07A6, "Current Tier 10 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_8_SUM_DEL, 0x07A7, "Current Tier 10 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_9_SUM_DEL, 0x07A8, "Current Tier 10 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_10_SUM_DEL, 0x07A9, "Current Tier 10 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_11_SUM_DEL, 0x07AA, "Current Tier 10 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_12_SUM_DEL, 0x07AB, "Current Tier 10 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_13_SUM_DEL, 0x07AC, "Current Tier 10 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_14_SUM_DEL, 0x07AD, "Current Tier 10 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_15_SUM_DEL, 0x07AE, "Current Tier 10 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_16_SUM_DEL, 0x07AF, "Current Tier 10 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_1_SUM_DEL, 0x07B0, "Current Tier 11 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_2_SUM_DEL, 0x07B1, "Current Tier 11 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_3_SUM_DEL, 0x07B2, "Current Tier 11 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_4_SUM_DEL, 0x07B3, "Current Tier 11 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_5_SUM_DEL, 0x07B4, "Current Tier 11 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_6_SUM_DEL, 0x07B5, "Current Tier 11 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_7_SUM_DEL, 0x07B6, "Current Tier 11 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_8_SUM_DEL, 0x07B7, "Current Tier 11 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_9_SUM_DEL, 0x07B8, "Current Tier 11 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_10_SUM_DEL, 0x07B9, "Current Tier 11 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_11_SUM_DEL, 0x07BA, "Current Tier 11 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_12_SUM_DEL, 0x07BB, "Current Tier 11 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_13_SUM_DEL, 0x07BC, "Current Tier 11 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_14_SUM_DEL, 0x07BD, "Current Tier 11 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_15_SUM_DEL, 0x07BE, "Current Tier 11 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_16_SUM_DEL, 0x07BF, "Current Tier 11 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_1_SUM_DEL, 0x07C0, "Current Tier 12 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_2_SUM_DEL, 0x07C1, "Current Tier 12 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_3_SUM_DEL, 0x07C2, "Current Tier 12 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_4_SUM_DEL, 0x07C3, "Current Tier 12 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_5_SUM_DEL, 0x07C4, "Current Tier 12 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_6_SUM_DEL, 0x07C5, "Current Tier 12 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_7_SUM_DEL, 0x07C6, "Current Tier 12 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_8_SUM_DEL, 0x07C7, "Current Tier 12 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_9_SUM_DEL, 0x07C8, "Current Tier 12 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_10_SUM_DEL, 0x07C9, "Current Tier 12 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_11_SUM_DEL, 0x07CA, "Current Tier 12 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_12_SUM_DEL, 0x07CB, "Current Tier 12 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_13_SUM_DEL, 0x07CC, "Current Tier 12 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_14_SUM_DEL, 0x07CD, "Current Tier 12 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_15_SUM_DEL, 0x07CE, "Current Tier 12 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_16_SUM_DEL, 0x07CF, "Current Tier 12 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_1_SUM_DEL, 0x07D0, "Current Tier 13 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_2_SUM_DEL, 0x07D1, "Current Tier 13 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_3_SUM_DEL, 0x07D2, "Current Tier 13 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_4_SUM_DEL, 0x07D3, "Current Tier 13 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_5_SUM_DEL, 0x07D4, "Current Tier 13 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_6_SUM_DEL, 0x07D5, "Current Tier 13 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_7_SUM_DEL, 0x07D6, "Current Tier 13 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_8_SUM_DEL, 0x07D7, "Current Tier 13 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_9_SUM_DEL, 0x07D8, "Current Tier 13 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_10_SUM_DEL, 0x07D9, "Current Tier 13 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_11_SUM_DEL, 0x07DA, "Current Tier 13 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_12_SUM_DEL, 0x07DB, "Current Tier 13 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_13_SUM_DEL, 0x07DC, "Current Tier 13 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_14_SUM_DEL, 0x07DD, "Current Tier 13 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_15_SUM_DEL, 0x07DE, "Current Tier 13 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_16_SUM_DEL, 0x07DF, "Current Tier 13 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_1_SUM_DEL, 0x07E0, "Current Tier 14 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_2_SUM_DEL, 0x07E1, "Current Tier 14 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_3_SUM_DEL, 0x07E2, "Current Tier 14 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_4_SUM_DEL, 0x07E3, "Current Tier 14 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_5_SUM_DEL, 0x07E4, "Current Tier 14 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_6_SUM_DEL, 0x07E5, "Current Tier 14 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_7_SUM_DEL, 0x07E6, "Current Tier 14 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_8_SUM_DEL, 0x07E7, "Current Tier 14 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_9_SUM_DEL, 0x07E8, "Current Tier 14 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_10_SUM_DEL, 0x07E9, "Current Tier 14 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_11_SUM_DEL, 0x07EA, "Current Tier 14 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_12_SUM_DEL, 0x07EB, "Current Tier 14 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_13_SUM_DEL, 0x07EC, "Current Tier 14 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_14_SUM_DEL, 0x07ED, "Current Tier 14 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_15_SUM_DEL, 0x07EE, "Current Tier 14 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_16_SUM_DEL, 0x07EF, "Current Tier 14 Block 16 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_1_SUM_DEL, 0x07F0, "Current Tier 15 Block 1 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_2_SUM_DEL, 0x07F1, "Current Tier 15 Block 2 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_3_SUM_DEL, 0x07F2, "Current Tier 15 Block 3 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_4_SUM_DEL, 0x07F3, "Current Tier 15 Block 4 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_5_SUM_DEL, 0x07F4, "Current Tier 15 Block 5 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_6_SUM_DEL, 0x07F5, "Current Tier 15 Block 6 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_7_SUM_DEL, 0x07F6, "Current Tier 15 Block 7 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_8_SUM_DEL, 0x07F7, "Current Tier 15 Block 8 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_9_SUM_DEL, 0x07F8, "Current Tier 15 Block 9 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_10_SUM_DEL, 0x07F9, "Current Tier 15 Block 10 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_11_SUM_DEL, 0x07FA, "Current Tier 15 Block 11 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_12_SUM_DEL, 0x07FB, "Current Tier 15 Block 12 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_13_SUM_DEL, 0x07FC, "Current Tier 15 Block 13 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_14_SUM_DEL, 0x07FD, "Current Tier 15 Block 14 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_15_SUM_DEL, 0x07FE, "Current Tier 15 Block 15 Summation Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_16_SUM_DEL, 0x07FF, "Current Tier 15 Block 16 Summation Delivered" ) \ /* Alarms Set */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_GENERIC_ALARM_MASK, 0x0800, "Generic Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_ELECTRICITY_ALARM_MASK, 0x0801, "Electricity Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_GENERIC_FLOW_PRESS_ALARM_MASK, 0x0802, "Generic Flow/Pressure Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_WATER_SPECIFIC_ALARM_MASK, 0x0803, "Water Specific Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_HEAT_COOLING_SPECIFIC_ALARM_MASK, 0x0804, "Heat and Cooling Specific Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_GAS_SPECIFIC_ALARM_MASK, 0x0805, "Gas Specific Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_EXTENDED_GENERIC_ALARM_MASK, 0x0806, "Extended Generic Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_MANUFACTURER_ALARM_MASK, 0x0807, "Manufacturer Alarm Mask" ) \ /* Block Information Attribute Set (Received) */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_1_SUM_RECV, 0x0900, "Current No Tier Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_2_SUM_RECV, 0x0901, "Current No Tier Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_3_SUM_RECV, 0x0902, "Current No Tier Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_4_SUM_RECV, 0x0903, "Current No Tier Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_5_SUM_RECV, 0x0904, "Current No Tier Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_6_SUM_RECV, 0x0905, "Current No Tier Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_7_SUM_RECV, 0x0906, "Current No Tier Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_8_SUM_RECV, 0x0907, "Current No Tier Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_9_SUM_RECV, 0x0908, "Current No Tier Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_10_SUM_RECV, 0x0909, "Current No Tier Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_11_SUM_RECV, 0x090A, "Current No Tier Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_12_SUM_RECV, 0x090B, "Current No Tier Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_13_SUM_RECV, 0x090C, "Current No Tier Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_14_SUM_RECV, 0x090D, "Current No Tier Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_15_SUM_RECV, 0x090E, "Current No Tier Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_NO_TIER_BLOCK_16_SUM_RECV, 0x090F, "Current No Tier Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_1_SUM_RECV, 0x0910, "Current Tier 1 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_2_SUM_RECV, 0x0911, "Current Tier 1 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_3_SUM_RECV, 0x0912, "Current Tier 1 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_4_SUM_RECV, 0x0913, "Current Tier 1 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_5_SUM_RECV, 0x0914, "Current Tier 1 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_6_SUM_RECV, 0x0915, "Current Tier 1 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_7_SUM_RECV, 0x0916, "Current Tier 1 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_8_SUM_RECV, 0x0917, "Current Tier 1 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_9_SUM_RECV, 0x0918, "Current Tier 1 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_10_SUM_RECV, 0x0919, "Current Tier 1 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_11_SUM_RECV, 0x091A, "Current Tier 1 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_12_SUM_RECV, 0x091B, "Current Tier 1 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_13_SUM_RECV, 0x091C, "Current Tier 1 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_14_SUM_RECV, 0x091D, "Current Tier 1 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_15_SUM_RECV, 0x091E, "Current Tier 1 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_1_BLOCK_16_SUM_RECV, 0x091F, "Current Tier 1 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_1_SUM_RECV, 0x0920, "Current Tier 2 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_2_SUM_RECV, 0x0921, "Current Tier 2 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_3_SUM_RECV, 0x0922, "Current Tier 2 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_4_SUM_RECV, 0x0923, "Current Tier 2 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_5_SUM_RECV, 0x0924, "Current Tier 2 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_6_SUM_RECV, 0x0925, "Current Tier 2 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_7_SUM_RECV, 0x0926, "Current Tier 2 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_8_SUM_RECV, 0x0927, "Current Tier 2 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_9_SUM_RECV, 0x0928, "Current Tier 2 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_10_SUM_RECV, 0x0929, "Current Tier 2 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_11_SUM_RECV, 0x092A, "Current Tier 2 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_12_SUM_RECV, 0x092B, "Current Tier 2 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_13_SUM_RECV, 0x092C, "Current Tier 2 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_14_SUM_RECV, 0x092D, "Current Tier 2 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_15_SUM_RECV, 0x092E, "Current Tier 2 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_2_BLOCK_16_SUM_RECV, 0x092F, "Current Tier 2 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_1_SUM_RECV, 0x0930, "Current Tier 3 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_2_SUM_RECV, 0x0931, "Current Tier 3 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_3_SUM_RECV, 0x0932, "Current Tier 3 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_4_SUM_RECV, 0x0933, "Current Tier 3 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_5_SUM_RECV, 0x0934, "Current Tier 3 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_6_SUM_RECV, 0x0935, "Current Tier 3 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_7_SUM_RECV, 0x0936, "Current Tier 3 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_8_SUM_RECV, 0x0937, "Current Tier 3 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_9_SUM_RECV, 0x0938, "Current Tier 3 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_10_SUM_RECV, 0x0939, "Current Tier 3 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_11_SUM_RECV, 0x093A, "Current Tier 3 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_12_SUM_RECV, 0x093B, "Current Tier 3 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_13_SUM_RECV, 0x093C, "Current Tier 3 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_14_SUM_RECV, 0x093D, "Current Tier 3 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_15_SUM_RECV, 0x093E, "Current Tier 3 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_3_BLOCK_16_SUM_RECV, 0x093F, "Current Tier 3 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_1_SUM_RECV, 0x0940, "Current Tier 4 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_2_SUM_RECV, 0x0941, "Current Tier 4 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_3_SUM_RECV, 0x0942, "Current Tier 4 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_4_SUM_RECV, 0x0943, "Current Tier 4 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_5_SUM_RECV, 0x0944, "Current Tier 4 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_6_SUM_RECV, 0x0945, "Current Tier 4 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_7_SUM_RECV, 0x0946, "Current Tier 4 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_8_SUM_RECV, 0x0947, "Current Tier 4 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_9_SUM_RECV, 0x0948, "Current Tier 4 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_10_SUM_RECV, 0x0949, "Current Tier 4 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_11_SUM_RECV, 0x094A, "Current Tier 4 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_12_SUM_RECV, 0x094B, "Current Tier 4 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_13_SUM_RECV, 0x094C, "Current Tier 4 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_14_SUM_RECV, 0x094D, "Current Tier 4 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_15_SUM_RECV, 0x094E, "Current Tier 4 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_4_BLOCK_16_SUM_RECV, 0x094F, "Current Tier 4 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_1_SUM_RECV, 0x0950, "Current Tier 5 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_2_SUM_RECV, 0x0951, "Current Tier 5 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_3_SUM_RECV, 0x0952, "Current Tier 5 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_4_SUM_RECV, 0x0953, "Current Tier 5 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_5_SUM_RECV, 0x0954, "Current Tier 5 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_6_SUM_RECV, 0x0955, "Current Tier 5 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_7_SUM_RECV, 0x0956, "Current Tier 5 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_8_SUM_RECV, 0x0957, "Current Tier 5 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_9_SUM_RECV, 0x0958, "Current Tier 5 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_10_SUM_RECV, 0x0959, "Current Tier 5 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_11_SUM_RECV, 0x095A, "Current Tier 5 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_12_SUM_RECV, 0x095B, "Current Tier 5 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_13_SUM_RECV, 0x095C, "Current Tier 5 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_14_SUM_RECV, 0x095D, "Current Tier 5 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_15_SUM_RECV, 0x095E, "Current Tier 5 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_5_BLOCK_16_SUM_RECV, 0x095F, "Current Tier 5 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_1_SUM_RECV, 0x0960, "Current Tier 6 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_2_SUM_RECV, 0x0961, "Current Tier 6 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_3_SUM_RECV, 0x0962, "Current Tier 6 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_4_SUM_RECV, 0x0963, "Current Tier 6 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_5_SUM_RECV, 0x0964, "Current Tier 6 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_6_SUM_RECV, 0x0965, "Current Tier 6 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_7_SUM_RECV, 0x0966, "Current Tier 6 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_8_SUM_RECV, 0x0967, "Current Tier 6 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_9_SUM_RECV, 0x0968, "Current Tier 6 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_10_SUM_RECV, 0x0969, "Current Tier 6 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_11_SUM_RECV, 0x096A, "Current Tier 6 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_12_SUM_RECV, 0x096B, "Current Tier 6 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_13_SUM_RECV, 0x096C, "Current Tier 6 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_14_SUM_RECV, 0x096D, "Current Tier 6 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_15_SUM_RECV, 0x096E, "Current Tier 6 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_6_BLOCK_16_SUM_RECV, 0x096F, "Current Tier 6 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_1_SUM_RECV, 0x0970, "Current Tier 7 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_2_SUM_RECV, 0x0971, "Current Tier 7 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_3_SUM_RECV, 0x0972, "Current Tier 7 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_4_SUM_RECV, 0x0973, "Current Tier 7 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_5_SUM_RECV, 0x0974, "Current Tier 7 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_6_SUM_RECV, 0x0975, "Current Tier 7 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_7_SUM_RECV, 0x0976, "Current Tier 7 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_8_SUM_RECV, 0x0977, "Current Tier 7 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_9_SUM_RECV, 0x0978, "Current Tier 7 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_10_SUM_RECV, 0x0979, "Current Tier 7 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_11_SUM_RECV, 0x097A, "Current Tier 7 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_12_SUM_RECV, 0x097B, "Current Tier 7 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_13_SUM_RECV, 0x097C, "Current Tier 7 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_14_SUM_RECV, 0x097D, "Current Tier 7 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_15_SUM_RECV, 0x097E, "Current Tier 7 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_7_BLOCK_16_SUM_RECV, 0x097F, "Current Tier 7 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_1_SUM_RECV, 0x0980, "Current Tier 8 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_2_SUM_RECV, 0x0981, "Current Tier 8 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_3_SUM_RECV, 0x0982, "Current Tier 8 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_4_SUM_RECV, 0x0983, "Current Tier 8 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_5_SUM_RECV, 0x0984, "Current Tier 8 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_6_SUM_RECV, 0x0985, "Current Tier 8 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_7_SUM_RECV, 0x0986, "Current Tier 8 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_8_SUM_RECV, 0x0987, "Current Tier 8 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_9_SUM_RECV, 0x0988, "Current Tier 8 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_10_SUM_RECV, 0x0989, "Current Tier 8 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_11_SUM_RECV, 0x098A, "Current Tier 8 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_12_SUM_RECV, 0x098B, "Current Tier 8 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_13_SUM_RECV, 0x098C, "Current Tier 8 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_14_SUM_RECV, 0x098D, "Current Tier 8 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_15_SUM_RECV, 0x098E, "Current Tier 8 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_8_BLOCK_16_SUM_RECV, 0x098F, "Current Tier 8 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_1_SUM_RECV, 0x0990, "Current Tier 9 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_2_SUM_RECV, 0x0991, "Current Tier 9 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_3_SUM_RECV, 0x0992, "Current Tier 9 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_4_SUM_RECV, 0x0993, "Current Tier 9 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_5_SUM_RECV, 0x0994, "Current Tier 9 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_6_SUM_RECV, 0x0995, "Current Tier 9 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_7_SUM_RECV, 0x0996, "Current Tier 9 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_8_SUM_RECV, 0x0997, "Current Tier 9 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_9_SUM_RECV, 0x0998, "Current Tier 9 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_10_SUM_RECV, 0x0999, "Current Tier 9 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_11_SUM_RECV, 0x099A, "Current Tier 9 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_12_SUM_RECV, 0x099B, "Current Tier 9 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_13_SUM_RECV, 0x099C, "Current Tier 9 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_14_SUM_RECV, 0x099D, "Current Tier 9 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_15_SUM_RECV, 0x099E, "Current Tier 9 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_9_BLOCK_16_SUM_RECV, 0x099F, "Current Tier 9 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_1_SUM_RECV, 0x09A0, "Current Tier 10 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_2_SUM_RECV, 0x09A1, "Current Tier 10 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_3_SUM_RECV, 0x09A2, "Current Tier 10 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_4_SUM_RECV, 0x09A3, "Current Tier 10 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_5_SUM_RECV, 0x09A4, "Current Tier 10 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_6_SUM_RECV, 0x09A5, "Current Tier 10 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_7_SUM_RECV, 0x09A6, "Current Tier 10 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_8_SUM_RECV, 0x09A7, "Current Tier 10 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_9_SUM_RECV, 0x09A8, "Current Tier 10 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_10_SUM_RECV, 0x09A9, "Current Tier 10 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_11_SUM_RECV, 0x09AA, "Current Tier 10 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_12_SUM_RECV, 0x09AB, "Current Tier 10 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_13_SUM_RECV, 0x09AC, "Current Tier 10 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_14_SUM_RECV, 0x09AD, "Current Tier 10 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_15_SUM_RECV, 0x09AE, "Current Tier 10 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_10_BLOCK_16_SUM_RECV, 0x09AF, "Current Tier 10 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_1_SUM_RECV, 0x09B0, "Current Tier 11 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_2_SUM_RECV, 0x09B1, "Current Tier 11 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_3_SUM_RECV, 0x09B2, "Current Tier 11 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_4_SUM_RECV, 0x09B3, "Current Tier 11 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_5_SUM_RECV, 0x09B4, "Current Tier 11 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_6_SUM_RECV, 0x09B5, "Current Tier 11 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_7_SUM_RECV, 0x09B6, "Current Tier 11 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_8_SUM_RECV, 0x09B7, "Current Tier 11 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_9_SUM_RECV, 0x09B8, "Current Tier 11 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_10_SUM_RECV, 0x09B9, "Current Tier 11 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_11_SUM_RECV, 0x09BA, "Current Tier 11 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_12_SUM_RECV, 0x09BB, "Current Tier 11 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_13_SUM_RECV, 0x09BC, "Current Tier 11 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_14_SUM_RECV, 0x09BD, "Current Tier 11 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_15_SUM_RECV, 0x09BE, "Current Tier 11 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_11_BLOCK_16_SUM_RECV, 0x09BF, "Current Tier 11 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_1_SUM_RECV, 0x09C0, "Current Tier 12 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_2_SUM_RECV, 0x09C1, "Current Tier 12 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_3_SUM_RECV, 0x09C2, "Current Tier 12 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_4_SUM_RECV, 0x09C3, "Current Tier 12 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_5_SUM_RECV, 0x09C4, "Current Tier 12 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_6_SUM_RECV, 0x09C5, "Current Tier 12 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_7_SUM_RECV, 0x09C6, "Current Tier 12 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_8_SUM_RECV, 0x09C7, "Current Tier 12 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_9_SUM_RECV, 0x09C8, "Current Tier 12 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_10_SUM_RECV, 0x09C9, "Current Tier 12 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_11_SUM_RECV, 0x09CA, "Current Tier 12 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_12_SUM_RECV, 0x09CB, "Current Tier 12 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_13_SUM_RECV, 0x09CC, "Current Tier 12 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_14_SUM_RECV, 0x09CD, "Current Tier 12 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_15_SUM_RECV, 0x09CE, "Current Tier 12 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_12_BLOCK_16_SUM_RECV, 0x09CF, "Current Tier 12 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_1_SUM_RECV, 0x09D0, "Current Tier 13 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_2_SUM_RECV, 0x09D1, "Current Tier 13 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_3_SUM_RECV, 0x09D2, "Current Tier 13 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_4_SUM_RECV, 0x09D3, "Current Tier 13 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_5_SUM_RECV, 0x09D4, "Current Tier 13 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_6_SUM_RECV, 0x09D5, "Current Tier 13 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_7_SUM_RECV, 0x09D6, "Current Tier 13 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_8_SUM_RECV, 0x09D7, "Current Tier 13 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_9_SUM_RECV, 0x09D8, "Current Tier 13 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_10_SUM_RECV, 0x09D9, "Current Tier 13 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_11_SUM_RECV, 0x09DA, "Current Tier 13 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_12_SUM_RECV, 0x09DB, "Current Tier 13 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_13_SUM_RECV, 0x09DC, "Current Tier 13 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_14_SUM_RECV, 0x09DD, "Current Tier 13 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_15_SUM_RECV, 0x09DE, "Current Tier 13 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_13_BLOCK_16_SUM_RECV, 0x09DF, "Current Tier 13 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_1_SUM_RECV, 0x09E0, "Current Tier 14 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_2_SUM_RECV, 0x09E1, "Current Tier 14 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_3_SUM_RECV, 0x09E2, "Current Tier 14 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_4_SUM_RECV, 0x09E3, "Current Tier 14 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_5_SUM_RECV, 0x09E4, "Current Tier 14 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_6_SUM_RECV, 0x09E5, "Current Tier 14 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_7_SUM_RECV, 0x09E6, "Current Tier 14 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_8_SUM_RECV, 0x09E7, "Current Tier 14 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_9_SUM_RECV, 0x09E8, "Current Tier 14 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_10_SUM_RECV, 0x09E9, "Current Tier 14 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_11_SUM_RECV, 0x09EA, "Current Tier 14 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_12_SUM_RECV, 0x09EB, "Current Tier 14 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_13_SUM_RECV, 0x09EC, "Current Tier 14 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_14_SUM_RECV, 0x09ED, "Current Tier 14 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_15_SUM_RECV, 0x09EE, "Current Tier 14 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_14_BLOCK_16_SUM_RECV, 0x09EF, "Current Tier 14 Block 16 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_1_SUM_RECV, 0x09F0, "Current Tier 15 Block 1 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_2_SUM_RECV, 0x09F1, "Current Tier 15 Block 2 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_3_SUM_RECV, 0x09F2, "Current Tier 15 Block 3 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_4_SUM_RECV, 0x09F3, "Current Tier 15 Block 4 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_5_SUM_RECV, 0x09F4, "Current Tier 15 Block 5 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_6_SUM_RECV, 0x09F5, "Current Tier 15 Block 6 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_7_SUM_RECV, 0x09F6, "Current Tier 15 Block 7 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_8_SUM_RECV, 0x09F7, "Current Tier 15 Block 8 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_9_SUM_RECV, 0x09F8, "Current Tier 15 Block 9 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_10_SUM_RECV, 0x09F9, "Current Tier 15 Block 10 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_11_SUM_RECV, 0x09FA, "Current Tier 15 Block 11 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_12_SUM_RECV, 0x09FB, "Current Tier 15 Block 12 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_13_SUM_RECV, 0x09FC, "Current Tier 15 Block 13 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_14_SUM_RECV, 0x09FD, "Current Tier 15 Block 14 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_15_SUM_RECV, 0x09FE, "Current Tier 15 Block 15 Summation Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_TIER_15_BLOCK_16_SUM_RECV, 0x09FF, "Current Tier 15 Block 16 Summation Received" ) \ /* Meter Billing Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_BILL_TO_DATE_DELIVERED, 0x0A00, "Bill to Date Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_BILL_TO_DATE_TIMESTAMP_DEL, 0x0A01, "Bill to Date Time Stamp Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PROJECTED_BILL_DELIVERED, 0x0A02, "Projected Bill Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PROJECTED_BILL_TIME_STAMP_DEL, 0x0A03, "Projected Bill Time Stamp Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_BILL_DELIVERED_TRAILING_DIGIT, 0x0A04, "Bill Delivered Trailing Digit" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_BILL_TO_DATE_RECEIVED, 0x0A10, "Bill to Date Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_BILL_TO_DATE_TIMESTAMP_RECEIVED, 0x0A11, "Bill to Date Time Stamp Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PROJECTED_BILL_RECEIVED, 0x0A12, "Projected Bill Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PROJECTED_BILL_TIME_STAMP_RECV, 0x0A13, "Projected Bill Time Stamp Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_BILL_RECEIVED_TRAILING_DIGIT, 0x0A14, "Bill Received Trailing Digit" ) \ /* Supply Control Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_PROPOSED_CHANGE_SUPPLY_IMP_TIME, 0x0B00, "Proposed Change Supply Implementation Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PROPOSED_CHANGE_SUPPLY_STATUS, 0x0B01, "Proposed Change Supply Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_UNCONTROLLED_FLOW_THRESHOLD, 0x0B10, "Uncontrolled Flow Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_UNCONTROLLED_FLOW_UNIT_OF_MEAS, 0x0B11, "Uncontrolled Flow Unit of Measure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_UNCONTROLLED_FLOW_MULTIPLIER, 0x0B12, "Uncontrolled Flow Multiplier" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_UNCONTROLLED_FLOW_DIVISOR, 0x0B13, "Uncontrolled Flow Divisor" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_FLOW_STABILISATION_PERIOD, 0x0B14, "Flow Stabilisation Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_FLOW_MEASUREMENT_PERIOD, 0x0B15, "Flow Measurement Period" ) \ /* Alternative Historical Consumption Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_MET_ALTERNATIVE_INSTANT_DEMAND, 0x0C00, "Alternative Instantaneous Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_DAY_ALT_CON_DEL, 0x0C01, "Current Day Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_DAY_ALT_CON_RECV, 0x0C02, "Current Day Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_ALT_CON_DEL, 0x0C03, "Previous Day Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_ALT_CON_RECV, 0x0C04, "Previous Day Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_ALT_PAR_PROF_INT_DEL, 0x0C05, "Current Alternative Partial Profile Interval Start Time Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_ALT_PAR_PROF_INT_RECV, 0x0C06, "Current Alternative Partial Profile Interval Start Time Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_ALT_PAR_PROF_INT_VAL_DEL, 0x0C07, "Current Alternative Partial Profile Interval Value Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_ALT_PAR_PROF_INT_VAL_RECV, 0x0C08, "Current Alternative Partial Profile Interval Value Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_DAY_ALT_MAX_PRESS, 0x0C09, "Current Day Alternative Max Pressure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_DAY_ALT_MIN_PRESS, 0x0C0A, "Current Day Alternative Min Pressure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREVIOUS_DAY_ALT_MAX_PRESS, 0x0C0B, "Previous Day Alternative Max Pressure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREVIOUS_DAY_ALT_MIN_PRESS, 0x0C0C, "Previous Day Alternative Min Pressure" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_DAY_ALT_MAX_DEMAND, 0x0C0D, "Current Day Alternative Max Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREVIOUS_DAY_ALT_MAX_DEMAND, 0x0C0E, "Previous Day Alternative Max Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_MONTH_ALT_MAX_DEMAND, 0x0C0F, "Current Month Alternative Max Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CURRENT_YEAR_ALT_MAX_DEMAND, 0x0C10, "Current Year Alternative Max Demand" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_2_ALT_CON_DEL, 0x0C20, "Previous Day 2 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_2_ALT_CON_RECV, 0x0C21, "Previous Day 2 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_3_ALT_CON_DEL, 0x0C22, "Previous Day 3 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_3_ALT_CON_RECV, 0x0C23, "Previous Day 3 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_4_ALT_CON_DEL, 0x0C24, "Previous Day 4 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_4_ALT_CON_RECV, 0x0C25, "Previous Day 4 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_5_ALT_CON_DEL, 0x0C26, "Previous Day 5 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_5_ALT_CON_RECV, 0x0C27, "Previous Day 5 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_6_ALT_CON_DEL, 0x0C28, "Previous Day 6 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_6_ALT_CON_RECV, 0x0C29, "Previous Day 6 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_7_ALT_CON_DEL, 0x0C2A, "Previous Day 7 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_7_ALT_CON_RECV, 0x0C2B, "Previous Day 7 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_8_ALT_CON_DEL, 0x0C2C, "Previous Day 8 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_DAY_8_ALT_CON_RECV, 0x0C2D, "Previous Day 8 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_WEEK_ALT_CON_DEL, 0x0C30, "Current Week Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_WEEK_ALT_CON_RECV, 0x0C31, "Current Week Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_ALT_CON_DEL, 0x0C32, "Previous Week Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_ALT_CON_RECV, 0x0C33, "Previous Week Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_2_ALT_CON_DEL, 0x0C34, "Previous Week 2 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_2_ALT_CON_RECV, 0x0C35, "Previous Week 2 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_3_ALT_CON_DEL, 0x0C36, "Previous Week 3 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_3_ALT_CON_RECV, 0x0C37, "Previous Week 3 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_4_ALT_CON_DEL, 0x0C38, "Previous Week 4 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_4_ALT_CON_RECV, 0x0C39, "Previous Week 4 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_5_ALT_CON_DEL, 0x0C3A, "Previous Week 5 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_WEEK_5_ALT_CON_RECV, 0x0C3B, "Previous Week 5 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_MONTH_ALT_CON_DEL, 0x0C40, "Current Month Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CUR_MONTH_ALT_CON_RECV, 0x0C41, "Current Month Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_ALT_CON_DEL, 0x0C42, "Previous Month Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_ALT_CON_RECV, 0x0C43, "Previous Month Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_2_ALT_CON_DEL, 0x0C44, "Previous Month 2 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_2_ALT_CON_RECV, 0x0C45, "Previous Month 2 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_3_ALT_CON_DEL, 0x0C46, "Previous Month 3 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_3_ALT_CON_RECV, 0x0C47, "Previous Month 3 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_4_ALT_CON_DEL, 0x0C48, "Previous Month 4 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_4_ALT_CON_RECV, 0x0C49, "Previous Month 4 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_5_ALT_CON_DEL, 0x0C4A, "Previous Month 5 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_5_ALT_CON_RECV, 0x0C4B, "Previous Month 5 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_6_ALT_CON_DEL, 0x0C4C, "Previous Month 6 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_6_ALT_CON_RECV, 0x0C4D, "Previous Month 6 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_7_ALT_CON_DEL, 0x0C4E, "Previous Month 7 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_7_ALT_CON_RECV, 0x0C4F, "Previous Month 7 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_8_ALT_CON_DEL, 0x0C50, "Previous Month 8 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_8_ALT_CON_RECV, 0x0C51, "Previous Month 8 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_9_ALT_CON_DEL, 0x0C52, "Previous Month 9 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_9_ALT_CON_RECV, 0x0C53, "Previous Month 9 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_10_ALT_CON_DEL, 0x0C54, "Previous Month 10 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_10_ALT_CON_RECV, 0x0C55, "Previous Month 10 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_11_ALT_CON_DEL, 0x0C56, "Previous Month 11 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_11_ALT_CON_RECV, 0x0C57, "Previous Month 11 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_12_ALT_CON_DEL, 0x0C58, "Previous Month 12 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_12_ALT_CON_RECV, 0x0C59, "Previous Month 12 Alternative Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_13_ALT_CON_DEL, 0x0C5A, "Previous Month 13 Alternative Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_PREV_MONTH_13_ALT_CON_RECV, 0x0C5B, "Previous Month 13 Alternative Consumption Received" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_MET, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_met_attr_server_names); VALUE_STRING_ARRAY(zbee_zcl_met_attr_server_names); static value_string_ext zbee_zcl_met_attr_server_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_met_attr_server_names); #define zbee_zcl_met_attr_client_names_VALUE_STRING_LIST(XXX) \ /* Notification AttributeSet*/ \ XXX(ZBEE_ZCL_ATTR_ID_MET_CLNT_FUNC_NOTI_FLAGS, 0x0000, "Functional Notification Flags" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_2, 0x0001, "Notification Flags 2" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_3, 0x0002, "Notification Flags 3" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_4, 0x0003, "Notification Flags 4" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_5, 0x0004, "Notification Flags 5" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_6, 0x0005, "Notification Flags 6" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_7, 0x0006, "Notification Flags 7" ) \ XXX(ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_8, 0x0007, "Notification Flags 8" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_MET_CLNT, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_met_attr_client_names); VALUE_STRING_ARRAY(zbee_zcl_met_attr_client_names); /* Server Commands Received */ #define zbee_zcl_met_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_MET_GET_PROFILE, 0x00, "Get Profile" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_REQUEST_MIRROR_RSP, 0x01, "Request Mirror Response" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_MIRROR_REMOVED, 0x02, "Mirror Removed" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_REQUEST_FAST_POLL_MODE, 0x03, "Request Fast Poll Mode" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_SCHEDULE_SNAPSHOT, 0x04, "Schedule Snapshot" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_TAKE_SNAPSHOT, 0x05, "Take Snapshot" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_GET_SNAPSHOT, 0x06, "Get Snapshot" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_START_SAMPLING, 0x07, "Start Sampling" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_GET_SAMPLED_DATA, 0x08, "Get Sampled Data" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_MIRROR_REPORT_ATTRIBUTE_RESPONSE, 0x09, "Mirror Report Attribute Response" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_RESET_LOAD_LIMIT_COUNTER, 0x0A, "Reset Load Limit Counter" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_CHANGE_SUPPLY, 0x0B, "Change Supply" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_LOCAL_CHANGE_SUPPLY, 0x0C, "Local Change Supply" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_SET_SUPPLY_STATUS, 0x0D, "Set Supply Status" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_SET_UNCONTROLLED_FLOW_THRESHOLD, 0x0E, "Set Uncontrolled Flow Threshold" ) VALUE_STRING_ENUM(zbee_zcl_met_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_met_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_met_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_MET_GET_PROFILE_RESPONSE, 0x00, "Get Profile Response" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_REQUEST_MIRROR, 0x01, "Request Mirror" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_REMOVE_MIRROR, 0x02, "Remove Mirror" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_REQUEST_FAST_POLL_MODE_RESPONSE, 0x03, "Request Fast Poll Mode Response" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_SCHEDULE_SNAPSHOT_RESPONSE, 0x04, "Schedule Snapshot Response" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_TAKE_SNAPSHOT_RESPONSE, 0x05, "Take Snapshot Response" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_PUBLISH_SNAPSHOT, 0x06, "Publish Snapshot" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_GET_SAMPLED_DATA_RSP, 0x07, "Get Sampled Data Response" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_CONFIGURE_MIRROR, 0x08, "Configure Mirror" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_CONFIGURE_NOTIFICATION_SCHEME, 0x09, "Configure Notification Scheme" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_CONFIGURE_NOTIFICATION_FLAGS, 0x0A, "Configure Notification Flags" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_GET_NOTIFIED_MESSAGE, 0x0B, "Get Notified Message" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_SUPPLY_STATUS_RESPONSE, 0x0C, "Supply Status Response" ) \ XXX(ZBEE_ZCL_CMD_ID_MET_START_SAMPLING_RESPONSE, 0x0D, "Start Sampling Response" ) VALUE_STRING_ENUM(zbee_zcl_met_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_met_srv_tx_cmd_names); #define ZBEE_ZCL_MET_NOTIFICATION_SCHEME_A 0x1 #define ZBEE_ZCL_MET_NOTIFICATION_SCHEME_B 0x2 static const range_string zbee_zcl_met_notification_scheme[] = { { 0x0, 0x0, "No Notification Scheme Defined" }, { ZBEE_ZCL_MET_NOTIFICATION_SCHEME_A, ZBEE_ZCL_MET_NOTIFICATION_SCHEME_A, "Predefined Notification Scheme A" }, { ZBEE_ZCL_MET_NOTIFICATION_SCHEME_B, ZBEE_ZCL_MET_NOTIFICATION_SCHEME_B, "Predefined Notification Scheme B" }, { 0x3, 0x80, "Reserved" }, { 0x81, 0xFE, "For MSP Requirements" }, { 0xFF, 0xFF, "Reserved" }, { 0, 0, NULL } }; /* Snapshot Schedule Confirmation */ #define zbee_zcl_met_snapshot_schedule_confirmation_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_ID_ACCEPTED, 0x00, "Accepted" ) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_ID_TYPE_NOT_SUPPORTED, 0x01, "Snapshot Type not supported") \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_ID_CAUSE_NOT_SUPPORTED, 0x02, "Snapshot Cause not supported") \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_ID_CURRENTLY_NOT_AVAILABLE, 0x03, "Snapshot Cause not supported") \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_ID_NOT_SUPPORTED_BY_DEVICE, 0x04, "Snapshot Schedules not supported by device") \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_CONFIRMATION_ID_INSUFFICIENT_SPACE, 0x05, "Insufficient space for snapshot schedule") VALUE_STRING_ENUM(zbee_zcl_met_snapshot_schedule_confirmation); VALUE_STRING_ARRAY(zbee_zcl_met_snapshot_schedule_confirmation); /* Snapshot Schedule Frequency Type*/ #define zbee_zcl_met_snapshot_schedule_frequency_type_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_FREQUENCY_TYPE_DAY, 0x0, "Day" ) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_FREQUENCY_TYPE_WEEK, 0x1, "Week" ) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_FREQUENCY_TYPE_MONTH, 0x2, "Month" ) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_FREQUENCY_TYPE_RESERVED, 0x3, "Reserved" ) VALUE_STRING_ENUM(zbee_zcl_met_snapshot_schedule_frequency_type); VALUE_STRING_ARRAY(zbee_zcl_met_snapshot_schedule_frequency_type); /* Snapshot Schedule Wild-Card Frequency*/ #define zbee_zcl_met_snapshot_schedule_frequency_wild_card_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_FREQUENCY_WILD_CARD_START_OF, 0x0, "Start of" ) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_FREQUENCY_WILD_CARD_END_OF, 0x1, "End of" ) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_FREQUENCY_WILD_CARD_NOT_USED, 0x2, "Wild-card not used" ) \ XXX(ZBEE_ZCL_SNAPSHOT_SCHEDULE_FREQUENCY_WILD_CARD_RESERVED, 0x3, "Reserved" ) VALUE_STRING_ENUM(zbee_zcl_met_snapshot_schedule_frequency_wild_card); VALUE_STRING_ARRAY(zbee_zcl_met_snapshot_schedule_frequency_wild_card); /* Snapshot Payload Type */ #define zbee_zcl_met_snapshot_payload_type_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_TOU_INFO_SET_DELIVERED_REGISTERS, 0, "TOU Information Set Delivered Registers" ) \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_TOU_INFO_SET_RECEIVED_REGISTERS, 1, "TOU Information Set Received Registers") \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_BLOCK_TIER_INFO_SET_DELIVERED, 2, "Block Tier Information Set Delivered") \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_BLOCK_TIER_INFO_SET_RECEIVED, 3, "Block Tier Information Set Received") \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_TOU_INFO_SET_DELIVERED_NO_BILLING, 4, "TOU Information Set Delivered (No Billing)") \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_TOU_INFO_SET_RECEIVED_NO_BILLING, 5, "TOU Information Set Received (No Billing)") \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_BLOCK_TIER_INFO_SET_DELIVERED_NO_BILLING, 6, "Block Tier Information Set Delivered (No Billing)") \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_BLOCK_TIER_INFO_SET_RECEIVED_NO_BILLING, 7, "Block Tier Information Set Received (No Billing)") \ XXX(ZBEE_ZCL_SNAPSHOT_PAYLOAD_TYPE_DATA_UNAVAILABLE, 128, "Data Unavailable") VALUE_STRING_ENUM(zbee_zcl_met_snapshot_payload_type); VALUE_STRING_ARRAY(zbee_zcl_met_snapshot_payload_type); /* Functional Notification Flags */ #define ZBEE_ZCL_FUNC_NOTI_FLAG_NEW_OTA_FIRMWARE 0x00000001 #define ZBEE_ZCL_FUNC_NOTI_FLAG_CBKE_UPDATE_REQUESTED 0x00000002 #define ZBEE_ZCL_FUNC_NOTI_FLAG_TIME_SYNC 0x00000004 #define ZBEE_ZCL_FUNC_NOTI_FLAG_RESERVED_1 0x00000008 #define ZBEE_ZCL_FUNC_NOTI_FLAG_STAY_AWAKE_REQUEST_HAN 0x00000010 #define ZBEE_ZCL_FUNC_NOTI_FLAG_STAY_AWAKE_REQUEST_WAN 0x00000020 #define ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET 0x000001C0 #define ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET 0x00000E00 #define ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER 0x00001000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_ALL_STATIC_DATA_METERING_CLUSTER 0x00002000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER 0x00004000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_NETWORK_KEY_ACTIVE 0x00008000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_DISPLAY_MESSAGE 0x00010000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_CANCEL_ALL_MESSAGES 0x00020000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_CHANGE_SUPPLY 0x00040000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_LOCAL_CHANGE_SUPPLY 0x00080000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_SET_UNCONTROLLED_FLOW_THRESHOLD 0x00100000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_TUNNEL_MESSAGE_PENDING 0x00200000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_GET_SNAPSHOT 0x00400000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_GET_SAMPLED_DATA 0x00800000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE 0x01000000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_ENERGY_SCAN_PENDING 0x02000000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_CHANNEL_CHANGE_PENDING 0x04000000 #define ZBEE_ZCL_FUNC_NOTI_FLAG_RESERVED_2 0xF8000000 /* Notification Flags 2 */ #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_PRICE 0x00000001 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_BLOCK_PERIOD 0x00000002 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_TARIFF_INFORMATION 0x00000004 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CONVERSION_FACTOR 0x00000008 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CALORIFIC_VALUE 0x00000010 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CO2_VALUE 0x00000020 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_BILLING_PERIOD 0x00000040 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CONSOLIDATED_BILL 0x00000080 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_PRICE_MATRIX 0x00000100 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_BLOCK_THRESHOLDS 0x00000200 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CURRENCY_CONVERSION 0x00000400 #define ZBEE_ZCL_NOTI_FLAG_2_RESERVED 0x00000800 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CREDIT_PAYMENT_INFO 0x00001000 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CPP_EVENT 0x00002000 #define ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_TIER_LABELS 0x00004000 #define ZBEE_ZCL_NOTI_FLAG_2_CANCEL_TARIFF 0x00008000 #define ZBEE_ZCL_NOTI_FLAG_2_RESERVED_FUTURE 0xFFFF0000 /* Notification Flags 3 */ #define ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_CALENDAR 0x00000001 #define ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_SPECIAL_DAYS 0x00000002 #define ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_SEASONS 0x00000004 #define ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_WEEK 0x00000008 #define ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_DAY 0x00000010 #define ZBEE_ZCL_NOTI_FLAG_3_CANCEL_DAY 0x00000020 #define ZBEE_ZCL_NOTI_FLAG_3_RESERVED 0xFFFFFFC0 /* Notification Flags 4 */ #define ZBEE_ZCL_NOTI_FLAG_4_SELECT_AVAILABLE_EMERGENCY_CREDIT 0x00000001 #define ZBEE_ZCL_NOTI_FLAG_4_CHANGE_DEBT 0x00000002 #define ZBEE_ZCL_NOTI_FLAG_4_EMERGENCY_CREDIT_SETUP 0x00000004 #define ZBEE_ZCL_NOTI_FLAG_4_CONSUMER_TOP_UP 0x00000008 #define ZBEE_ZCL_NOTI_FLAG_4_CREDIT_ADJUSTMENT 0x00000010 #define ZBEE_ZCL_NOTI_FLAG_4_CHANGE_PAYMENT_MODE 0x00000020 #define ZBEE_ZCL_NOTI_FLAG_4_GET_PREPAY_SNAPSHOT 0x00000040 #define ZBEE_ZCL_NOTI_FLAG_4_GET_TOP_UP_LOG 0x00000080 #define ZBEE_ZCL_NOTI_FLAG_4_SET_LOW_CREDIT_WARNING_LEVEL 0x00000100 #define ZBEE_ZCL_NOTI_FLAG_4_GET_DEBT_REPAYMENT_LOG 0x00000200 #define ZBEE_ZCL_NOTI_FLAG_4_SET_MAXIMUM_CREDIT_LIMIT 0x00000400 #define ZBEE_ZCL_NOTI_FLAG_4_SET_OVERALL_DEBT_CAP 0x00000800 #define ZBEE_ZCL_NOTI_FLAG_4_RESERVED 0xFFFFF000 /* Notification Flags 5 */ #define ZBEE_ZCL_NOTI_FLAG_5_PUBLISH_CHANGE_OF_TENANCY 0x00000001 #define ZBEE_ZCL_NOTI_FLAG_5_PUBLISH_CHANGE_OF_SUPPLIER 0x00000002 #define ZBEE_ZCL_NOTI_FLAG_5_REQUEST_NEW_PASSWORD_1_RESPONSE 0x00000004 #define ZBEE_ZCL_NOTI_FLAG_5_REQUEST_NEW_PASSWORD_2_RESPONSE 0x00000008 #define ZBEE_ZCL_NOTI_FLAG_5_REQUEST_NEW_PASSWORD_3_RESPONSE 0x00000010 #define ZBEE_ZCL_NOTI_FLAG_5_REQUEST_NEW_PASSWORD_4_RESPONSE 0x00000020 #define ZBEE_ZCL_NOTI_FLAG_5_UPDATE_SITE_ID 0x00000040 #define ZBEE_ZCL_NOTI_FLAG_5_RESET_BATTERY_COUNTER 0x00000080 #define ZBEE_ZCL_NOTI_FLAG_5_UPDATE_CIN 0x00000100 #define ZBEE_ZCL_NOTI_FLAG_5_RESERVED 0XFFFFFE00 /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_met(void); void proto_reg_handoff_zbee_zcl_met(void); /* Attribute Dissector Helpers */ static void dissect_zcl_met_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Command Dissector Helpers */ static void dissect_zcl_met_get_profile (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_request_mirror_rsp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_mirror_removed (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_request_fast_poll_mode (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_schedule_snapshot (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_take_snapshot (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_get_snapshot (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_start_sampling (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_get_sampled_data (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_mirror_report_attribute_response(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_reset_load_limit_counter (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_change_supply (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_local_change_supply (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_set_supply_status (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_set_uncontrolled_flow_threshold (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_get_profile_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_request_fast_poll_mode_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_schedule_snapshot_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_take_snapshot_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_publish_snapshot (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_get_sampled_data_rsp (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_configure_mirror (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_configure_notification_scheme (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_configure_notification_flags (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_get_notified_msg (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_supply_status_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_start_sampling_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_met_notification_flags (tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 noti_flags_number); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_met = -1; static int hf_zbee_zcl_met_srv_tx_cmd_id = -1; static int hf_zbee_zcl_met_srv_rx_cmd_id = -1; static int hf_zbee_zcl_met_attr_server_id = -1; static int hf_zbee_zcl_met_attr_client_id = -1; static int hf_zbee_zcl_met_attr_reporting_status = -1; static int hf_zbee_zcl_met_func_noti_flags = -1; static int hf_zbee_zcl_met_func_noti_flag_new_ota_firmware = -1; static int hf_zbee_zcl_met_func_noti_flag_cbke_update_request = -1; static int hf_zbee_zcl_met_func_noti_flag_time_sync = -1; static int hf_zbee_zcl_met_func_noti_flag_stay_awake_request_han = -1; static int hf_zbee_zcl_met_func_noti_flag_stay_awake_request_wan = -1; static int hf_zbee_zcl_met_func_noti_flag_push_historical_metering_data_attribute_set = -1; static int hf_zbee_zcl_met_func_noti_flag_push_historical_prepayment_data_attribute_set = -1; static int hf_zbee_zcl_met_func_noti_flag_push_all_static_data_basic_cluster = -1; static int hf_zbee_zcl_met_func_noti_flag_push_all_static_data_metering_cluster = -1; static int hf_zbee_zcl_met_func_noti_flag_push_all_static_data_prepayment_cluster = -1; static int hf_zbee_zcl_met_func_noti_flag_network_key_active = -1; static int hf_zbee_zcl_met_func_noti_flag_display_message = -1; static int hf_zbee_zcl_met_func_noti_flag_cancel_all_messages = -1; static int hf_zbee_zcl_met_func_noti_flag_change_supply = -1; static int hf_zbee_zcl_met_func_noti_flag_local_change_supply = -1; static int hf_zbee_zcl_met_func_noti_flag_set_uncontrolled_flow_threshold = -1; static int hf_zbee_zcl_met_func_noti_flag_tunnel_message_pending = -1; static int hf_zbee_zcl_met_func_noti_flag_get_snapshot = -1; static int hf_zbee_zcl_met_func_noti_flag_get_sampled_data = -1; static int hf_zbee_zcl_met_func_noti_flag_new_sub_ghz_channel_masks_available = -1; static int hf_zbee_zcl_met_func_noti_flag_energy_scan_pending = -1; static int hf_zbee_zcl_met_func_noti_flag_channel_change_pending = -1; static int hf_zbee_zcl_met_func_noti_flag_reserved = -1; static int hf_zbee_zcl_met_noti_flags_2 = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_price = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_block_period = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_tariff_info = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_conversion_factor = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_calorific_value = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_co2_value = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_billing_period = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_consolidated_bill = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_price_matrix = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_block_thresholds = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_currency_conversion = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_credit_payment_info = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_cpp_event = -1; static int hf_zbee_zcl_met_noti_flag_2_publish_tier_labels = -1; static int hf_zbee_zcl_met_noti_flag_2_cancel_tariff = -1; static int hf_zbee_zcl_met_noti_flag_2_reserved = -1; static int hf_zbee_zcl_met_noti_flags_3 = -1; static int hf_zbee_zcl_met_noti_flag_3_publish_calendar = -1; static int hf_zbee_zcl_met_noti_flag_3_publish_special_days = -1; static int hf_zbee_zcl_met_noti_flag_3_publish_seasons = -1; static int hf_zbee_zcl_met_noti_flag_3_publish_week = -1; static int hf_zbee_zcl_met_noti_flag_3_publish_day = -1; static int hf_zbee_zcl_met_noti_flag_3_cancel_calendar = -1; static int hf_zbee_zcl_met_noti_flag_3_reserved = -1; static int hf_zbee_zcl_met_noti_flags_4 = -1; static int hf_zbee_zcl_met_noti_flag_4_select_available_emergency_credit = -1; static int hf_zbee_zcl_met_noti_flag_4_change_debt = -1; static int hf_zbee_zcl_met_noti_flag_4_emergency_credit_setup = -1; static int hf_zbee_zcl_met_noti_flag_4_consumer_top_up = -1; static int hf_zbee_zcl_met_noti_flag_4_credit_adjustment = -1; static int hf_zbee_zcl_met_noti_flag_4_change_payment_mode = -1; static int hf_zbee_zcl_met_noti_flag_4_get_prepay_snapshot = -1; static int hf_zbee_zcl_met_noti_flag_4_get_top_up_log = -1; static int hf_zbee_zcl_met_noti_flag_4_set_low_credit_warning_level = -1; static int hf_zbee_zcl_met_noti_flag_4_get_debt_repayment_log = -1; static int hf_zbee_zcl_met_noti_flag_4_set_maximum_credit_limit = -1; static int hf_zbee_zcl_met_noti_flag_4_set_overall_debt_cap = -1; static int hf_zbee_zcl_met_noti_flag_4_reserved = -1; static int hf_zbee_zcl_met_noti_flags_5 = -1; static int hf_zbee_zcl_met_noti_flag_5_publish_change_of_tenancy = -1; static int hf_zbee_zcl_met_noti_flag_5_publish_change_of_supplier = -1; static int hf_zbee_zcl_met_noti_flag_5_request_new_password_1_response = -1; static int hf_zbee_zcl_met_noti_flag_5_request_new_password_2_response = -1; static int hf_zbee_zcl_met_noti_flag_5_request_new_password_3_response = -1; static int hf_zbee_zcl_met_noti_flag_5_request_new_password_4_response = -1; static int hf_zbee_zcl_met_noti_flag_5_update_site_id = -1; static int hf_zbee_zcl_met_noti_flag_5_reset_battery_counter = -1; static int hf_zbee_zcl_met_noti_flag_5_update_cin = -1; static int hf_zbee_zcl_met_noti_flag_5_reserved = -1; static int hf_zbee_zcl_met_get_profile_interval_channel = -1; static int hf_zbee_zcl_met_get_profile_end_time = -1; static int hf_zbee_zcl_met_get_profile_number_of_periods = -1; static int hf_zbee_zcl_met_request_mirror_rsp_endpoint_id = -1; static int hf_zbee_zcl_met_mirror_removed_removed_endpoint_id = -1; static int hf_zbee_zcl_met_request_fast_poll_mode_fast_poll_update_period = -1; static int hf_zbee_zcl_met_request_fast_poll_mode_duration = -1; static int hf_zbee_zcl_met_schedule_snapshot_issuer_event_id = -1; static int hf_zbee_zcl_met_schedule_snapshot_command_index = -1; static int hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_schedule_id = -1; static int hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_start_time = -1; static int hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_schedule = -1; static int hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_shapshot_payload_type = -1; static int hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_cause = -1; static int hf_zbee_zcl_met_schedule_snapshot_total_number_of_commands = -1; static int hf_zbee_zcl_met_take_snapshot_snapshot_cause = -1; static int hf_zbee_zcl_met_get_snapshot_start_time = -1; static int hf_zbee_zcl_met_get_snapshot_end_time = -1; static int hf_zbee_zcl_met_get_snapshot_snapshot_offset = -1; static int hf_zbee_zcl_met_get_snapshot_snapshot_cause = -1; static int hf_zbee_zcl_met_start_sampling_issuer_event_id = -1; static int hf_zbee_zcl_met_start_sampling_start_sampling_time = -1; static int hf_zbee_zcl_met_start_sampling_sample_type = -1; static int hf_zbee_zcl_met_start_sampling_sample_request_interval = -1; static int hf_zbee_zcl_met_start_sampling_max_number_of_samples = -1; static int hf_zbee_zcl_met_get_sampled_data_sample_id = -1; static int hf_zbee_zcl_met_get_sampled_data_sample_start_time = -1; static int hf_zbee_zcl_met_get_sampled_data_sample_type = -1; static int hf_zbee_zcl_met_get_sampled_data_number_of_samples = -1; static int hf_zbee_zcl_met_start_sampling_response_sample_id = -1; static int hf_zbee_zcl_met_mirror_report_attribute_response_notification_scheme = -1; static int hf_zbee_zcl_met_mirror_report_attribute_response_notification_flags_n = -1; static int hf_zbee_zcl_met_reset_load_limit_counter_provider_id = -1; static int hf_zbee_zcl_met_reset_load_limit_counter_issuer_event_id = -1; static int hf_zbee_zcl_met_change_supply_provider_id = -1; static int hf_zbee_zcl_met_change_supply_issuer_event_id = -1; static int hf_zbee_zcl_met_change_supply_request_date_time = -1; static int hf_zbee_zcl_met_change_supply_implementation_date_time = -1; static int hf_zbee_zcl_met_change_supply_proposed_supply_status = -1; static int hf_zbee_zcl_met_change_supply_supply_control_bits = -1; static int hf_zbee_zcl_met_local_change_supply_proposed_supply_status = -1; static int hf_zbee_zcl_met_set_supply_status_issuer_event_id = -1; static int hf_zbee_zcl_met_set_supply_status_supply_tamper_state = -1; static int hf_zbee_zcl_met_set_supply_status_supply_depletion_state = -1; static int hf_zbee_zcl_met_set_supply_status_supply_uncontrolled_flow_state = -1; static int hf_zbee_zcl_met_set_supply_status_load_limit_supply_state = -1; static int hf_zbee_zcl_met_set_uncontrolled_flow_threshold_provider_id = -1; static int hf_zbee_zcl_met_set_uncontrolled_flow_threshold_issuer_event_id = -1; static int hf_zbee_zcl_met_set_uncontrolled_flow_threshold_uncontrolled_flow_threshold = -1; static int hf_zbee_zcl_met_set_uncontrolled_flow_threshold_unit_of_measure = -1; static int hf_zbee_zcl_met_set_uncontrolled_flow_threshold_multiplier = -1; static int hf_zbee_zcl_met_set_uncontrolled_flow_threshold_divisor = -1; static int hf_zbee_zcl_met_set_uncontrolled_flow_threshold_stabilisation_period = -1; static int hf_zbee_zcl_met_set_uncontrolled_flow_threshold_measurement_period = -1; static int hf_zbee_zcl_met_get_profile_response_end_time = -1; static int hf_zbee_zcl_met_get_profile_response_status = -1; static int hf_zbee_zcl_met_get_profile_response_profile_interval_period = -1; static int hf_zbee_zcl_met_get_profile_response_number_of_periods_delivered = -1; static int hf_zbee_zcl_met_get_profile_response_intervals = -1; static int hf_zbee_zcl_met_request_fast_poll_mode_response_applied_update_period = -1; static int hf_zbee_zcl_met_request_fast_poll_mode_response_fast_poll_mode_end_time = -1; static int hf_zbee_zcl_met_schedule_snapshot_response_issuer_event_id = -1; static int hf_zbee_zcl_met_schedule_snapshot_response_snapshot_schedule_id = -1; static int hf_zbee_zcl_met_schedule_snapshot_response_snapshot_schedule_confirmation = -1; static int hf_zbee_zcl_met_take_snapshot_response_snapshot_id = -1; static int hf_zbee_zcl_met_take_snapshot_response_snapshot_confirmation = -1; static int hf_zbee_zcl_met_publish_snapshot_snapshot_id = -1; static int hf_zbee_zcl_met_publish_snapshot_snapshot_time = -1; static int hf_zbee_zcl_met_publish_snapshot_snapshots_found = -1; static int hf_zbee_zcl_met_publish_snapshot_cmd_index = -1; static int hf_zbee_zcl_met_publish_snapshot_total_commands = -1; static int hf_zbee_zcl_met_publish_snapshot_snapshot_cause = -1; static int hf_zbee_zcl_met_publish_snapshot_snapshot_payload_type = -1; static int hf_zbee_zcl_met_publish_snapshot_snapshot_sub_payload = -1; static int hf_zbee_zcl_met_get_sampled_data_rsp_sample_id = -1; static int hf_zbee_zcl_met_get_sampled_data_rsp_sample_start_time = -1; static int hf_zbee_zcl_met_get_sampled_data_rsp_sample_type = -1; static int hf_zbee_zcl_met_get_sampled_data_rsp_sample_request_interval = -1; static int hf_zbee_zcl_met_get_sampled_data_rsp_sample_number_of_samples = -1; static int hf_zbee_zcl_met_get_sampled_data_rsp_sample_samples = -1; static int hf_zbee_zcl_met_configure_mirror_issuer_event_id = -1; static int hf_zbee_zcl_met_configure_mirror_reporting_interval = -1; static int hf_zbee_zcl_met_configure_mirror_mirror_notification_reporting = -1; static int hf_zbee_zcl_met_configure_mirror_notification_scheme = -1; static int hf_zbee_zcl_met_configure_notification_scheme_issuer_event_id = -1; static int hf_zbee_zcl_met_configure_notification_scheme_notification_scheme = -1; static int hf_zbee_zcl_met_configure_notification_scheme_notification_flag_order = -1; static int hf_zbee_zcl_met_configure_notification_flags_issuer_event_id = -1; static int hf_zbee_zcl_met_configure_notification_flags_notification_scheme = -1; static int hf_zbee_zcl_met_configure_notification_flags_notification_flag_attribute_id = -1; static int hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_cluster_id = -1; static int hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_manufacturer_code = -1; static int hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_no_of_commands = -1; static int hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_command_identifier = -1; static int hf_zbee_zcl_met_get_notified_msg_notification_scheme = -1; static int hf_zbee_zcl_met_get_notified_msg_notification_flag_attribute_id = -1; static int hf_zbee_zcl_met_get_notified_msg_notification_flags = -1; static int hf_zbee_zcl_met_supply_status_response_provider_id = -1; static int hf_zbee_zcl_met_supply_status_response_issuer_event_id = -1; static int hf_zbee_zcl_met_supply_status_response_implementation_date_time = -1; static int hf_zbee_zcl_met_supply_status_response_supply_status_after_implementation = -1; static int hf_zbee_zcl_met_snapshot_cause_general = -1; static int hf_zbee_zcl_met_snapshot_cause_end_of_billing_period = -1; static int hf_zbee_zcl_met_snapshot_cause_end_of_block_period = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_tariff_information = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_price_matrix = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_block_thresholds = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_cv = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_cf = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_calendar = -1; static int hf_zbee_zcl_met_snapshot_cause_critical_peak_pricing = -1; static int hf_zbee_zcl_met_snapshot_cause_manually_triggered_from_client = -1; static int hf_zbee_zcl_met_snapshot_cause_end_of_resolve_period = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_tenancy = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_supplier = -1; static int hf_zbee_zcl_met_snapshot_cause_change_of_meter_mode = -1; static int hf_zbee_zcl_met_snapshot_cause_debt_payment = -1; static int hf_zbee_zcl_met_snapshot_cause_scheduled_snapshot = -1; static int hf_zbee_zcl_met_snapshot_cause_ota_firmware_download = -1; static int hf_zbee_zcl_met_snapshot_cause_reserved = -1; static int hf_zbee_zcl_met_snapshot_schedule_frequency = -1; static int hf_zbee_zcl_met_snapshot_schedule_frequency_type = -1; static int hf_zbee_zcl_met_snapshot_schedule_frequency_wild_card = -1; static int* const zbee_zcl_met_snapshot_schedule_bits[] = { &hf_zbee_zcl_met_snapshot_schedule_frequency, &hf_zbee_zcl_met_snapshot_schedule_frequency_type, &hf_zbee_zcl_met_snapshot_schedule_frequency_wild_card, NULL }; static int* const zbee_zcl_met_func_noti_flags[] = { &hf_zbee_zcl_met_func_noti_flag_new_ota_firmware, &hf_zbee_zcl_met_func_noti_flag_cbke_update_request, &hf_zbee_zcl_met_func_noti_flag_time_sync, &hf_zbee_zcl_met_func_noti_flag_stay_awake_request_han, &hf_zbee_zcl_met_func_noti_flag_stay_awake_request_wan, &hf_zbee_zcl_met_func_noti_flag_push_historical_metering_data_attribute_set, &hf_zbee_zcl_met_func_noti_flag_push_historical_prepayment_data_attribute_set, &hf_zbee_zcl_met_func_noti_flag_push_all_static_data_basic_cluster, &hf_zbee_zcl_met_func_noti_flag_push_all_static_data_metering_cluster, &hf_zbee_zcl_met_func_noti_flag_push_all_static_data_prepayment_cluster, &hf_zbee_zcl_met_func_noti_flag_network_key_active, &hf_zbee_zcl_met_func_noti_flag_display_message, &hf_zbee_zcl_met_func_noti_flag_cancel_all_messages, &hf_zbee_zcl_met_func_noti_flag_change_supply, &hf_zbee_zcl_met_func_noti_flag_local_change_supply, &hf_zbee_zcl_met_func_noti_flag_set_uncontrolled_flow_threshold, &hf_zbee_zcl_met_func_noti_flag_tunnel_message_pending, &hf_zbee_zcl_met_func_noti_flag_get_snapshot, &hf_zbee_zcl_met_func_noti_flag_get_sampled_data, &hf_zbee_zcl_met_func_noti_flag_new_sub_ghz_channel_masks_available, &hf_zbee_zcl_met_func_noti_flag_energy_scan_pending, &hf_zbee_zcl_met_func_noti_flag_channel_change_pending, &hf_zbee_zcl_met_func_noti_flag_reserved, NULL }; static int* const zbee_zcl_met_noti_flags_2[] = { &hf_zbee_zcl_met_noti_flag_2_publish_price, &hf_zbee_zcl_met_noti_flag_2_publish_block_period, &hf_zbee_zcl_met_noti_flag_2_publish_tariff_info, &hf_zbee_zcl_met_noti_flag_2_publish_conversion_factor, &hf_zbee_zcl_met_noti_flag_2_publish_calorific_value, &hf_zbee_zcl_met_noti_flag_2_publish_co2_value, &hf_zbee_zcl_met_noti_flag_2_publish_billing_period, &hf_zbee_zcl_met_noti_flag_2_publish_consolidated_bill, &hf_zbee_zcl_met_noti_flag_2_publish_price_matrix, &hf_zbee_zcl_met_noti_flag_2_publish_block_thresholds, &hf_zbee_zcl_met_noti_flag_2_publish_currency_conversion, &hf_zbee_zcl_met_noti_flag_2_publish_credit_payment_info, &hf_zbee_zcl_met_noti_flag_2_publish_cpp_event, &hf_zbee_zcl_met_noti_flag_2_publish_tier_labels, &hf_zbee_zcl_met_noti_flag_2_cancel_tariff, &hf_zbee_zcl_met_noti_flag_2_reserved, NULL }; static int* const zbee_zcl_met_noti_flags_3[] = { &hf_zbee_zcl_met_noti_flag_3_publish_calendar, &hf_zbee_zcl_met_noti_flag_3_publish_special_days, &hf_zbee_zcl_met_noti_flag_3_publish_seasons, &hf_zbee_zcl_met_noti_flag_3_publish_week, &hf_zbee_zcl_met_noti_flag_3_publish_day, &hf_zbee_zcl_met_noti_flag_3_cancel_calendar, &hf_zbee_zcl_met_noti_flag_3_reserved, NULL }; static int* const zbee_zcl_met_noti_flags_4[] = { &hf_zbee_zcl_met_noti_flag_4_select_available_emergency_credit, &hf_zbee_zcl_met_noti_flag_4_change_debt, &hf_zbee_zcl_met_noti_flag_4_emergency_credit_setup, &hf_zbee_zcl_met_noti_flag_4_consumer_top_up, &hf_zbee_zcl_met_noti_flag_4_credit_adjustment, &hf_zbee_zcl_met_noti_flag_4_change_payment_mode, &hf_zbee_zcl_met_noti_flag_4_get_prepay_snapshot, &hf_zbee_zcl_met_noti_flag_4_get_top_up_log, &hf_zbee_zcl_met_noti_flag_4_set_low_credit_warning_level, &hf_zbee_zcl_met_noti_flag_4_get_debt_repayment_log, &hf_zbee_zcl_met_noti_flag_4_set_maximum_credit_limit, &hf_zbee_zcl_met_noti_flag_4_set_overall_debt_cap, &hf_zbee_zcl_met_noti_flag_4_reserved, NULL }; static int* const zbee_zcl_met_noti_flags_5[] = { &hf_zbee_zcl_met_noti_flag_5_publish_change_of_tenancy, &hf_zbee_zcl_met_noti_flag_5_publish_change_of_supplier, &hf_zbee_zcl_met_noti_flag_5_request_new_password_1_response, &hf_zbee_zcl_met_noti_flag_5_request_new_password_2_response, &hf_zbee_zcl_met_noti_flag_5_request_new_password_3_response, &hf_zbee_zcl_met_noti_flag_5_request_new_password_4_response, &hf_zbee_zcl_met_noti_flag_5_update_site_id, &hf_zbee_zcl_met_noti_flag_5_reset_battery_counter, &hf_zbee_zcl_met_noti_flag_5_update_cin, &hf_zbee_zcl_met_noti_flag_5_reserved, NULL }; static int* const zbee_zcl_met_snapshot_cause_flags[] = { &hf_zbee_zcl_met_snapshot_cause_general, &hf_zbee_zcl_met_snapshot_cause_end_of_billing_period, &hf_zbee_zcl_met_snapshot_cause_end_of_block_period, &hf_zbee_zcl_met_snapshot_cause_change_of_tariff_information, &hf_zbee_zcl_met_snapshot_cause_change_of_price_matrix, &hf_zbee_zcl_met_snapshot_cause_change_of_block_thresholds, &hf_zbee_zcl_met_snapshot_cause_change_of_cv, &hf_zbee_zcl_met_snapshot_cause_change_of_cf, &hf_zbee_zcl_met_snapshot_cause_change_of_calendar, &hf_zbee_zcl_met_snapshot_cause_critical_peak_pricing, &hf_zbee_zcl_met_snapshot_cause_manually_triggered_from_client, &hf_zbee_zcl_met_snapshot_cause_end_of_resolve_period, &hf_zbee_zcl_met_snapshot_cause_change_of_tenancy, &hf_zbee_zcl_met_snapshot_cause_change_of_supplier, &hf_zbee_zcl_met_snapshot_cause_change_of_meter_mode, &hf_zbee_zcl_met_snapshot_cause_debt_payment, &hf_zbee_zcl_met_snapshot_cause_scheduled_snapshot, &hf_zbee_zcl_met_snapshot_cause_ota_firmware_download, &hf_zbee_zcl_met_snapshot_cause_reserved, NULL }; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_met = -1; static gint ett_zbee_zcl_met_func_noti_flags = -1; static gint ett_zbee_zcl_met_noti_flags_2 = -1; static gint ett_zbee_zcl_met_noti_flags_3 = -1; static gint ett_zbee_zcl_met_noti_flags_4 = -1; static gint ett_zbee_zcl_met_noti_flags_5 = -1; static gint ett_zbee_zcl_met_snapshot_cause_flags = -1; static gint ett_zbee_zcl_met_snapshot_schedule = -1; static gint ett_zbee_zcl_met_schedule_snapshot_response_payload = -1; static gint ett_zbee_zcl_met_schedule_snapshot_payload = -1; static gint ett_zbee_zcl_met_mirror_noti_flag = -1; static gint ett_zbee_zcl_met_bit_field_allocation = -1; /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_met_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { if (client_attr) { switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_MET_CLNT: proto_tree_add_item(tree, hf_zbee_zcl_met_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_FUNC_NOTI_FLAGS: proto_item_append_text(tree, ", Functional Notification Flags"); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_func_noti_flags, ett_zbee_zcl_met_func_noti_flags, zbee_zcl_met_func_noti_flags, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_2: proto_item_append_text(tree, ", Notification Flags 2"); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_noti_flags_2, ett_zbee_zcl_met_noti_flags_2, zbee_zcl_met_noti_flags_2, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_3: proto_item_append_text(tree, ", Notification Flags 3"); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_noti_flags_3, ett_zbee_zcl_met_noti_flags_3, zbee_zcl_met_noti_flags_3, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_4: proto_item_append_text(tree, ", Notification Flags 4"); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_noti_flags_4, ett_zbee_zcl_met_noti_flags_4, zbee_zcl_met_noti_flags_4, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_5: proto_item_append_text(tree, ", Notification Flags 5"); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_noti_flags_5, ett_zbee_zcl_met_noti_flags_5, zbee_zcl_met_noti_flags_5, ENC_LITTLE_ENDIAN); *offset += 4; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } else { switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_MET: proto_tree_add_item(tree, hf_zbee_zcl_met_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } } /*dissect_zcl_met_attr_data*/ /** *This function manages the Start Sampling Response payload. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_start_sampling_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Sample ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_start_sampling_response_sample_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_met_start_sampling_response*/ /** *ZigBee ZCL Metering cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_met(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_met_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_met_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_met, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_MET_GET_PROFILE: dissect_zcl_met_get_profile(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_REQUEST_MIRROR_RSP: dissect_zcl_met_request_mirror_rsp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_MIRROR_REMOVED: dissect_zcl_met_mirror_removed(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_REQUEST_FAST_POLL_MODE: dissect_zcl_met_request_fast_poll_mode(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_SCHEDULE_SNAPSHOT: dissect_zcl_met_schedule_snapshot(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_TAKE_SNAPSHOT: dissect_zcl_met_take_snapshot(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_GET_SNAPSHOT: dissect_zcl_met_get_snapshot(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_START_SAMPLING: dissect_zcl_met_start_sampling(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_GET_SAMPLED_DATA: dissect_zcl_met_get_sampled_data(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_MIRROR_REPORT_ATTRIBUTE_RESPONSE: dissect_zcl_met_mirror_report_attribute_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_RESET_LOAD_LIMIT_COUNTER: dissect_zcl_met_reset_load_limit_counter(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_CHANGE_SUPPLY: dissect_zcl_met_change_supply(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_LOCAL_CHANGE_SUPPLY: dissect_zcl_met_local_change_supply(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_SET_SUPPLY_STATUS: dissect_zcl_met_set_supply_status(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_SET_UNCONTROLLED_FLOW_THRESHOLD: dissect_zcl_met_set_uncontrolled_flow_threshold(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_met_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_met_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_met, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_MET_GET_PROFILE_RESPONSE: dissect_zcl_met_get_profile_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_REQUEST_MIRROR: /* No payload */ break; case ZBEE_ZCL_CMD_ID_MET_REMOVE_MIRROR: /* No payload */ break; case ZBEE_ZCL_CMD_ID_MET_REQUEST_FAST_POLL_MODE_RESPONSE: dissect_zcl_met_request_fast_poll_mode_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_SCHEDULE_SNAPSHOT_RESPONSE: dissect_zcl_met_schedule_snapshot_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_TAKE_SNAPSHOT_RESPONSE: dissect_zcl_met_take_snapshot_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_PUBLISH_SNAPSHOT: dissect_zcl_met_publish_snapshot(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_GET_SAMPLED_DATA_RSP: dissect_zcl_met_get_sampled_data_rsp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_CONFIGURE_MIRROR: dissect_zcl_met_configure_mirror(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_CONFIGURE_NOTIFICATION_SCHEME: dissect_zcl_met_configure_notification_scheme(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_CONFIGURE_NOTIFICATION_FLAGS: dissect_zcl_met_configure_notification_flags(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_GET_NOTIFIED_MESSAGE: dissect_zcl_met_get_notified_msg(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_SUPPLY_STATUS_RESPONSE: dissect_zcl_met_supply_status_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MET_START_SAMPLING_RESPONSE: dissect_zcl_met_start_sampling_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_met*/ /** *This function manages the Get Profile payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_get_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t end_time; /* Interval Channel */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_profile_interval_channel, tvb, *offset, 1, ENC_NA); *offset += 1; /* End Time */ end_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; end_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_get_profile_end_time, tvb, *offset, 4, &end_time); *offset += 4; /* Number of Periods */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_profile_number_of_periods, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_met_get_profile*/ /** *This function manages the Request Mirror Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_request_mirror_rsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* EndPoint ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_request_mirror_rsp_endpoint_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_met_request_mirror_rsp*/ /** *This function manages the Mirror Removed payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_mirror_removed(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Removed EndPoint ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_mirror_removed_removed_endpoint_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_met_mirror_removed*/ /** *This function manages the Request Fast Poll Mode payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_request_fast_poll_mode(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Fast Poll Update Period */ proto_tree_add_item(tree, hf_zbee_zcl_met_request_fast_poll_mode_fast_poll_update_period, tvb, *offset, 1, ENC_NA); *offset += 1; /* Duration */ proto_tree_add_item(tree, hf_zbee_zcl_met_request_fast_poll_mode_duration, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_met_request_fast_poll_mode*/ /** *This function manages the Schedule Snapshot payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_schedule_snapshot(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Issue Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_schedule_snapshot_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_met_schedule_snapshot_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_met_schedule_snapshot_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Schedule Payload */ proto_tree *payload_tree; payload_tree = proto_tree_add_subtree(tree, tvb, *offset, 13, ett_zbee_zcl_met_schedule_snapshot_payload, NULL, "Snapshot Schedule Payload"); /* Snapshot Schedule ID */ proto_tree_add_item(payload_tree, hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_schedule_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Snapshot Schedule */ proto_tree_add_bitmask(payload_tree, tvb, *offset, hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_schedule, ett_zbee_zcl_met_snapshot_schedule, zbee_zcl_met_snapshot_schedule_bits, ENC_LITTLE_ENDIAN); *offset += 3; /* Snapshot Payload Type */ proto_tree_add_item(payload_tree, hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_shapshot_payload_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Cause */ proto_tree_add_bitmask(payload_tree, tvb, *offset, hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_cause, ett_zbee_zcl_met_snapshot_cause_flags, zbee_zcl_met_snapshot_cause_flags, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_met_schedule_snapshot*/ /** *This function manages the Take Snapshot payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_take_snapshot(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Snapshot Cause */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_take_snapshot_snapshot_cause, ett_zbee_zcl_met_snapshot_cause_flags, zbee_zcl_met_snapshot_cause_flags, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_met_take_snapshot*/ /** *This function manages the Get Snapshot payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_get_snapshot(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; nstime_t end_time; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_get_snapshot_start_time, tvb, *offset, 4, &start_time); *offset += 4; if (gPREF_zbee_se_protocol_version >= ZBEE_SE_VERSION_1_2) { /* End Time - Introduced from ZCL version 1.2 */ end_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; end_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_get_snapshot_end_time, tvb, *offset, 4, &end_time); *offset += 4; } /* Snapshot Offset */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_snapshot_snapshot_offset, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Cause */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_get_snapshot_snapshot_cause, ett_zbee_zcl_met_snapshot_cause_flags, zbee_zcl_met_snapshot_cause_flags, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_met_get_snapshot*/ /** *This function manages the Start Sampling payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_start_sampling(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t sample_time; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_start_sampling_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Sampling Time */ sample_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; sample_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_start_sampling_start_sampling_time, tvb, *offset, 4, &sample_time); *offset += 4; /* Sample Type */ proto_tree_add_item(tree, hf_zbee_zcl_met_start_sampling_sample_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Sample Request Interval */ proto_tree_add_item(tree, hf_zbee_zcl_met_start_sampling_sample_request_interval, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Max Number of Samples */ proto_tree_add_item(tree, hf_zbee_zcl_met_start_sampling_max_number_of_samples, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_met_start_sampling*/ /** *This function manages the Get Sampled Data payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_get_sampled_data(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t sample_time; /* Sample ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_sampled_data_sample_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Sample Start Time */ sample_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; sample_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_get_sampled_data_sample_start_time, tvb, *offset, 4, &sample_time); *offset += 4; /* Sample Type */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_sampled_data_sample_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Samples */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_sampled_data_number_of_samples, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_met_get_sampled_data*/ /** *This function manages the Mirror Report Attribute Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_mirror_report_attribute_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 notif_scheme_type; gint noti_flags_count; notif_scheme_type = tvb_get_guint8(tvb, *offset); /* Notification Scheme */ proto_tree_add_item(tree, hf_zbee_zcl_met_mirror_report_attribute_response_notification_scheme, tvb, *offset, 1, ENC_NA); *offset += 1; switch(notif_scheme_type) { case ZBEE_ZCL_MET_NOTIFICATION_SCHEME_A: noti_flags_count = 1; break; case ZBEE_ZCL_MET_NOTIFICATION_SCHEME_B: noti_flags_count = 5; break; default: noti_flags_count = -1; break; } if (noti_flags_count > 0) { for (guint16 noti_flags_number = 0; noti_flags_number < noti_flags_count; noti_flags_number++) { dissect_zcl_met_notification_flags(tvb, tree, offset, noti_flags_number); } } else { /* Notification Flag */ while (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree *notification_flag_tree; notification_flag_tree = proto_tree_add_subtree(tree, tvb, *offset, 4, ett_zbee_zcl_met_mirror_noti_flag, NULL, "Notification Flags"); proto_tree_add_item(notification_flag_tree, hf_zbee_zcl_met_mirror_report_attribute_response_notification_flags_n, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } } } /*dissect_zcl_met_mirror_report_attribute_response*/ /** *This function manages the Reset Load Limit Counter payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_reset_load_limit_counter(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_reset_load_limit_counter_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_reset_load_limit_counter_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_met_reset_load_limit_counter*/ /** *This function manages the Change Supply payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_change_supply(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t request_time; nstime_t implementation_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_change_supply_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_change_supply_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Request Date/Time */ request_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; request_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_change_supply_request_date_time, tvb, *offset, 4, &request_time); *offset += 4; /* Implementation Date/Time */ implementation_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; implementation_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_change_supply_implementation_date_time, tvb, *offset, 4, &implementation_time); *offset += 4; /* Proposed Supple Status */ proto_tree_add_item(tree, hf_zbee_zcl_met_change_supply_proposed_supply_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Supple Control Bits */ proto_tree_add_item(tree, hf_zbee_zcl_met_change_supply_supply_control_bits, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_met_change_supply*/ /** *This function manages the Local Change Supply payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_local_change_supply(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Proposed Supply Status */ proto_tree_add_item(tree, hf_zbee_zcl_met_local_change_supply_proposed_supply_status, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_met_local_change_supply*/ /** *This function manages the Set Supply Status payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_set_supply_status(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_supply_status_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Supply Tamper State */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_supply_status_supply_tamper_state, tvb, *offset, 1, ENC_NA); *offset += 1; /* Supply Depletion State */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_supply_status_supply_depletion_state, tvb, *offset, 1, ENC_NA); *offset += 1; /* Supply Uncontrolled Flow State */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_supply_status_supply_uncontrolled_flow_state, tvb, *offset, 1, ENC_NA); *offset += 1; /* Load Limit Supply State */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_supply_status_load_limit_supply_state, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_met_set_supply_status*/ /** *This function manages the Set Uncontrolled Flow Threshold payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_set_uncontrolled_flow_threshold(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_uncontrolled_flow_threshold_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_uncontrolled_flow_threshold_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Uncontrolled Flow Threshold */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_uncontrolled_flow_threshold_uncontrolled_flow_threshold, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Unit of Measure */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_uncontrolled_flow_threshold_unit_of_measure, tvb, *offset, 1, ENC_NA); *offset += 1; /* Multiplier */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_uncontrolled_flow_threshold_multiplier, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Divisor */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_uncontrolled_flow_threshold_divisor, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Stabilisation Period */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_uncontrolled_flow_threshold_stabilisation_period, tvb, *offset, 1, ENC_NA); *offset += 1; /* Measurement Period */ proto_tree_add_item(tree, hf_zbee_zcl_met_set_uncontrolled_flow_threshold_measurement_period, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_met_set_uncontrolled_flow_threshold*/ /** *This function manages the Get Profile Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_get_profile_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t end_time; /* End Time */ end_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; end_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_get_profile_response_end_time, tvb, *offset, 4, &end_time); *offset += 4; /* Status */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_profile_response_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Profile Interval Period */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_profile_response_profile_interval_period, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Periods Delivered */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_profile_response_number_of_periods_delivered, tvb, *offset, 1, ENC_NA); *offset += 1; /* Intervals */ while (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree_add_item(tree, hf_zbee_zcl_met_get_profile_response_intervals, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; } } /*dissect_zcl_met_get_profile_response*/ /** *This function manages the Request Fast Poll Mode Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_request_fast_poll_mode_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Applied Update Period */ proto_tree_add_item(tree, hf_zbee_zcl_met_request_fast_poll_mode_response_applied_update_period, tvb, *offset, 1, ENC_NA); *offset += 1; /* Fast Poll End Time */ proto_tree_add_item(tree, hf_zbee_zcl_met_request_fast_poll_mode_response_fast_poll_mode_end_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_met_request_fast_poll_mode_response*/ /** *This function manages the Schedule Snapshot Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_schedule_snapshot_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_schedule_snapshot_response_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; while (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree *payload_tree; payload_tree = proto_tree_add_subtree(tree, tvb, *offset, 2, ett_zbee_zcl_met_schedule_snapshot_response_payload, NULL, "Snapshot Response Payload"); /* Snapshot Schedule ID */ proto_tree_add_item(payload_tree, hf_zbee_zcl_met_schedule_snapshot_response_snapshot_schedule_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Schedule Confirmation */ proto_tree_add_item(payload_tree, hf_zbee_zcl_met_schedule_snapshot_response_snapshot_schedule_confirmation, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_met_schedule_snapshot_response*/ /** *This function manages the Take Snapshot Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_take_snapshot_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Snapshot ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_take_snapshot_response_snapshot_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Snapshot Confirmation */ proto_tree_add_item(tree, hf_zbee_zcl_met_take_snapshot_response_snapshot_confirmation, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_met_take_snapshot_response*/ /** *This function manages the Publish Snapshot payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_publish_snapshot(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t snapshot_time; gint rem_len; /* Snapshot ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_publish_snapshot_snapshot_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Snapshot Time */ snapshot_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; snapshot_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_publish_snapshot_snapshot_time, tvb, *offset, 4, &snapshot_time); *offset += 4; /* Total Snapshots Found */ proto_tree_add_item(tree, hf_zbee_zcl_met_publish_snapshot_snapshots_found, tvb, *offset, 1, ENC_NA); *offset += 1; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_met_publish_snapshot_cmd_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_met_publish_snapshot_total_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Cause */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_publish_snapshot_snapshot_cause, ett_zbee_zcl_met_snapshot_cause_flags, zbee_zcl_met_snapshot_cause_flags, ENC_LITTLE_ENDIAN); *offset += 4; /* Snapshot Payload Type */ proto_tree_add_item(tree, hf_zbee_zcl_met_publish_snapshot_snapshot_payload_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Sub-Payload */ rem_len = tvb_reported_length_remaining(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_met_publish_snapshot_snapshot_sub_payload, tvb, *offset, rem_len, ENC_NA); *offset += rem_len; } /*dissect_zcl_met_publish_snapshot*/ /** *This function manages the Get Sampled Data Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_get_sampled_data_rsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t sample_start_time; gint rem_len; /* Snapshot ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_sampled_data_rsp_sample_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Sample Start Time */ sample_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; sample_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_get_sampled_data_rsp_sample_start_time, tvb, *offset, 4, &sample_start_time); *offset += 4; /* Sample Type */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_sampled_data_rsp_sample_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Sample Request Interval */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_sampled_data_rsp_sample_request_interval, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Number of Samples */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_sampled_data_rsp_sample_number_of_samples, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Samples */ rem_len = tvb_reported_length_remaining(tvb, *offset); while (rem_len >= 3) { guint32 val = tvb_get_guint24(tvb, *offset, ENC_LITTLE_ENDIAN); proto_tree_add_uint(tree, hf_zbee_zcl_met_get_sampled_data_rsp_sample_samples, tvb, *offset, 3, val); *offset += 3; rem_len -= 3; } } /*dissect_zcl_met_get_sampled_data_rsp*/ /** *This function manages the Configure Mirror payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_configure_mirror(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_mirror_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Reporting Interval */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_mirror_reporting_interval, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; /* Mirror Notification Reporting */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_mirror_mirror_notification_reporting, tvb, *offset, 1, ENC_NA); *offset += 1; /* Notification Scheme */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_mirror_notification_scheme, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_met_configure_mirror*/ /** *This function manages the Configure Notification Scheme payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_configure_notification_scheme(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_notification_scheme_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Notification Scheme */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_notification_scheme_notification_scheme, tvb, *offset, 1, ENC_NA); *offset += 1; /* Notification Flag Order */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_notification_scheme_notification_flag_order, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_met_configure_notification_scheme*/ /** *This function manages the Configure Notification Flags payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_configure_notification_flags(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree *bit_field_allocation_tree; gint rem_len; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_notification_flags_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Notification Scheme */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_notification_flags_notification_scheme, tvb, *offset, 1, ENC_NA); *offset += 1; /* Notification Attribute ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_configure_notification_flags_notification_flag_attribute_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; bit_field_allocation_tree = proto_tree_add_subtree(tree, tvb, *offset, -1, ett_zbee_zcl_met_bit_field_allocation, NULL, "Bit Field Allocation"); /* Cluster ID */ proto_tree_add_item(bit_field_allocation_tree, hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_cluster_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Manufacturer Code */ proto_tree_add_item(bit_field_allocation_tree, hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* No. of Commands */ proto_tree_add_item(bit_field_allocation_tree, hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_no_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; rem_len = tvb_reported_length_remaining(tvb, *offset); while (rem_len >= 1) { /* Command Identifier */ proto_tree_add_item(bit_field_allocation_tree, hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_command_identifier, tvb, *offset, 1, ENC_NA); *offset += 1; rem_len -= 1; } } /*dissect_zcl_met_configure_notification_flags*/ static void dissect_zcl_met_notification_flags(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 noti_flags_number) { /* Notification Flags #N */ switch (noti_flags_number) { case ZBEE_ZCL_ATTR_ID_MET_CLNT_FUNC_NOTI_FLAGS: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_func_noti_flags, ett_zbee_zcl_met_func_noti_flags, zbee_zcl_met_func_noti_flags, ENC_LITTLE_ENDIAN); break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_2: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_noti_flags_2, ett_zbee_zcl_met_noti_flags_2, zbee_zcl_met_noti_flags_2, ENC_LITTLE_ENDIAN); break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_3: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_noti_flags_3, ett_zbee_zcl_met_noti_flags_3, zbee_zcl_met_noti_flags_3, ENC_LITTLE_ENDIAN); break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_4: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_noti_flags_4, ett_zbee_zcl_met_noti_flags_4, zbee_zcl_met_noti_flags_4, ENC_LITTLE_ENDIAN); break; case ZBEE_ZCL_ATTR_ID_MET_CLNT_NOTI_FLAGS_5: proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_met_noti_flags_5, ett_zbee_zcl_met_noti_flags_5, zbee_zcl_met_noti_flags_5, ENC_LITTLE_ENDIAN); break; default: proto_tree_add_item(tree, hf_zbee_zcl_met_get_notified_msg_notification_flags, tvb, *offset, 4, ENC_LITTLE_ENDIAN); break; } *offset += 4; } /** *This function manages the Get Notified Message payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_get_notified_msg(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint16 noti_flags_number; /* Notification Scheme */ proto_tree_add_item(tree, hf_zbee_zcl_met_get_notified_msg_notification_scheme, tvb, *offset, 1, ENC_NA); *offset += 1; /* Notification Flag attribute ID */ noti_flags_number = tvb_get_guint16(tvb, *offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(tree, hf_zbee_zcl_met_get_notified_msg_notification_flag_attribute_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; dissect_zcl_met_notification_flags(tvb, tree, offset, noti_flags_number); } /*dissect_zcl_met_get_notified_msg*/ /** *This function manages the Supply Status Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_met_supply_status_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t implementation_date_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_supply_status_response_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_met_supply_status_response_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Implementation Date/Time */ implementation_date_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; implementation_date_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_met_supply_status_response_implementation_date_time, tvb, *offset, 4, &implementation_date_time); *offset += 4; /* Supply Status After Implementation */ proto_tree_add_item(tree, hf_zbee_zcl_met_supply_status_response_supply_status_after_implementation, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_met_supply_status_response*/ /** *This function registers the ZCL Metering dissector * */ void proto_register_zbee_zcl_met(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_met_attr_server_id, { "Attribute", "zbee_zcl_se.met.attr_id", FT_UINT16, BASE_HEX | BASE_EXT_STRING, &zbee_zcl_met_attr_server_names_ext, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_met_attr_client_id, { "Attribute", "zbee_zcl_se.met.attr_client_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_met_attr_client_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_met_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.met.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, /* Functional Notification Flags */ { &hf_zbee_zcl_met_func_noti_flags, { "Functional Notification Flags", "zbee_zcl_se.met.attr.func_noti_flag", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_new_ota_firmware, { "New OTA Firmware", "zbee_zcl_se.met.attr.func_noti_flag.new_ota_firmware", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_NEW_OTA_FIRMWARE, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_cbke_update_request, { "CBKE Update Request", "zbee_zcl_se.met.attr.func_noti_flag.cbke_update_request", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_CBKE_UPDATE_REQUESTED, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_time_sync, { "Time Sync", "zbee_zcl_se.met.attr.func_noti_flag.time_sync", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_TIME_SYNC, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_stay_awake_request_han, { "Stay Awake Request HAN", "zbee_zcl_se.met.attr.func_noti_flag.stay_awake_request_han", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_STAY_AWAKE_REQUEST_HAN, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_stay_awake_request_wan, { "Stay Awake Request WAN", "zbee_zcl_se.met.attr.func_noti_flag.stay_awake_request_wan", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_STAY_AWAKE_REQUEST_WAN, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_push_historical_metering_data_attribute_set, { "Push Historical Metering Data Attribute Set", "zbee_zcl_se.met.attr.func_noti_flag.push_historical_metering_data_attribute_set", FT_UINT32, BASE_HEX, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_push_historical_prepayment_data_attribute_set, { "Push Historical Prepayment Data Attribute Set", "zbee_zcl_se.met.attr.func_noti_flag.push_historical_prepayment_data_attribute_set", FT_UINT32, BASE_HEX, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_push_all_static_data_basic_cluster, { "Push All Static Data - Basic Cluster", "zbee_zcl_se.met.attr.func_noti_flag.push_all_static_data_basic_cluster", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_push_all_static_data_metering_cluster, { "Push All Static Data - Metering Cluster", "zbee_zcl_se.met.attr.func_noti_flag.push_all_static_data_metering_cluster", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_ALL_STATIC_DATA_METERING_CLUSTER, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_push_all_static_data_prepayment_cluster, { "Push All Static Data - Prepayment Cluster", "zbee_zcl_se.met.attr.func_noti_flag.push_all_static_data_prepayment_cluster", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_network_key_active, { "Network Key Active", "zbee_zcl_se.met.attr.func_noti_flag.network_key_active", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_NETWORK_KEY_ACTIVE, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_display_message, { "Display Message", "zbee_zcl_se.met.attr.func_noti_flag.display_message", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_DISPLAY_MESSAGE, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_cancel_all_messages, { "Cancel All Messages", "zbee_zcl_se.met.attr.func_noti_flag.cancel_all_messages", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_CANCEL_ALL_MESSAGES, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_change_supply, { "Change Supply", "zbee_zcl_se.met.attr.func_noti_flag.change_supply", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_CHANGE_SUPPLY, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_local_change_supply, { "Local Change Supply", "zbee_zcl_se.met.attr.func_noti_flag.local_change_supply", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_LOCAL_CHANGE_SUPPLY, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_set_uncontrolled_flow_threshold, { "Set Uncontrolled Flow Threshold", "zbee_zcl_se.met.attr.func_noti_flag.set_uncontrolled_flow_threshold", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_SET_UNCONTROLLED_FLOW_THRESHOLD, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_tunnel_message_pending, { "Tunnel Message Pending", "zbee_zcl_se.met.attr.func_noti_flag.tunnel_message_pending", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_TUNNEL_MESSAGE_PENDING, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_get_snapshot, { "Get Snapshot", "zbee_zcl_se.met.attr.func_noti_flag.get_snapshot", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_GET_SNAPSHOT, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_get_sampled_data, { "Get Sampled Data", "zbee_zcl_se.met.attr.func_noti_flag.get_sampled_data", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_GET_SAMPLED_DATA, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_new_sub_ghz_channel_masks_available, { "New Sub-GHz Channel Masks Available", "zbee_zcl_se.met.attr.func_noti_flag.new_sub_ghz_channel_masks_available", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_energy_scan_pending, { "Energy Scan Pending", "zbee_zcl_se.met.attr.func_noti_flag.energy_scan_pending", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_ENERGY_SCAN_PENDING, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_channel_change_pending, { "Channel Change Pending", "zbee_zcl_se.met.attr.func_noti_flag.channel_change_pending", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_CHANNEL_CHANGE_PENDING, NULL, HFILL } }, { &hf_zbee_zcl_met_func_noti_flag_reserved, { "Reserved", "zbee_zcl_se.met.attr.func_noti_flag.reserved", FT_UINT32, BASE_HEX, NULL, ZBEE_ZCL_FUNC_NOTI_FLAG_RESERVED_1 | ZBEE_ZCL_FUNC_NOTI_FLAG_RESERVED_2, NULL, HFILL } }, /* Notification Flags 2 */ { &hf_zbee_zcl_met_noti_flags_2, { "Notification Flags 2", "zbee_zcl_se.met.attr.noti_flag_2", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_price, { "Publish Price", "zbee_zcl_se.met.attr.noti_flag_2.publish_price", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_PRICE, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_block_period, { "Publish Block Period", "zbee_zcl_se.met.attr.noti_flag_2.publish_block_period", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_BLOCK_PERIOD, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_tariff_info, { "Publish Tariff Information", "zbee_zcl_se.met.attr.noti_flag_2.publish_tariff_info", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_TARIFF_INFORMATION, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_conversion_factor, { "Publish Conversion Factor", "zbee_zcl_se.met.attr.noti_flag_2.publish_conversion_factor", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CONVERSION_FACTOR, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_calorific_value, { "Publish Calorific Value", "zbee_zcl_se.met.attr.noti_flag_2.publish_calorific_value", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CALORIFIC_VALUE, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_co2_value, { "Publish CO2 Value", "zbee_zcl_se.met.attr.noti_flag_2.publish_co2_value", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CO2_VALUE, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_billing_period, { "Publish Billing Period", "zbee_zcl_se.met.attr.noti_flag_2.publish_billing_period", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_BILLING_PERIOD, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_consolidated_bill, { "Publish Consolidated Bill", "zbee_zcl_se.met.attr.noti_flag_2.publish_consolidated_bill", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CONSOLIDATED_BILL, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_price_matrix, { "Publish Price Matrix", "zbee_zcl_se.met.attr.noti_flag_2.publish_price_matrix", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_PRICE_MATRIX, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_block_thresholds, { "Publish Block Thresholds", "zbee_zcl_se.met.attr.noti_flag_2.publish_block_thresholds", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_BLOCK_THRESHOLDS, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_currency_conversion, { "Publish Currency Conversion", "zbee_zcl_se.met.attr.noti_flag_2.publish_currency_conversion", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CURRENCY_CONVERSION, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_credit_payment_info, { "Publish Credit Payment Info", "zbee_zcl_se.met.attr.noti_flag_2.publish_credit_payment_info", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CREDIT_PAYMENT_INFO, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_cpp_event, { "Publish CPP Event", "zbee_zcl_se.met.attr.noti_flag_2.publish_cpp_event", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_CPP_EVENT, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_publish_tier_labels, { "Publish Tier Labels", "zbee_zcl_se.met.attr.noti_flag_2.publish_tier_labels", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_PUBLISH_TIER_LABELS, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_cancel_tariff, { "Cancel Tariff", "zbee_zcl_se.met.attr.noti_flag_2.cancel_tariff", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_2_CANCEL_TARIFF, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_2_reserved, { "Reserved", "zbee_zcl_se.met.attr.noti_flag_2.reserved", FT_UINT32, BASE_HEX, NULL, ZBEE_ZCL_NOTI_FLAG_2_RESERVED | ZBEE_ZCL_NOTI_FLAG_2_RESERVED_FUTURE, NULL, HFILL } }, /* Notification Flags 3 */ { &hf_zbee_zcl_met_noti_flags_3, { "Notification Flags 3", "zbee_zcl_se.met.attr.noti_flag_3", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_3_publish_calendar, { "Publish Calendar", "zbee_zcl_se.met.attr.noti_flag_3.publish_calendar", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_CALENDAR, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_3_publish_special_days, { "Publish Special Days", "zbee_zcl_se.met.attr.noti_flag_3.publish_special_days", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_SPECIAL_DAYS, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_3_publish_seasons, { "Publish Seasons", "zbee_zcl_se.met.attr.noti_flag_3.publish_seasons", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_SEASONS, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_3_publish_week, { "Publish Week", "zbee_zcl_se.met.attr.noti_flag_3.publish_week", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_WEEK, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_3_publish_day, { "Publish Day", "zbee_zcl_se.met.attr.noti_flag_3.publish_day", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_3_PUBLISH_DAY, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_3_cancel_calendar, { "Cancel Calendar", "zbee_zcl_se.met.attr.noti_flag_3.cancel_calendar", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_3_CANCEL_DAY, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_3_reserved, { "Reserved", "zbee_zcl_se.met.attr.noti_flag_3.reserved", FT_UINT32, BASE_HEX, NULL, ZBEE_ZCL_NOTI_FLAG_3_RESERVED , NULL, HFILL } }, /* Notification Flags 4 */ { &hf_zbee_zcl_met_noti_flags_4, { "Notification Flags 4", "zbee_zcl_se.met.attr.noti_flag_4", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_select_available_emergency_credit, { "Select Available Emergency Credit", "zbee_zcl_se.met.attr.noti_flag_4.select_available_emergency_credit", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_SELECT_AVAILABLE_EMERGENCY_CREDIT, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_change_debt, { "Change Debt", "zbee_zcl_se.met.attr.noti_flag_4.change_debt", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_CHANGE_DEBT, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_emergency_credit_setup, { "Emergency Credit Setup", "zbee_zcl_se.met.attr.noti_flag_4.emergency_credit_setup", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_EMERGENCY_CREDIT_SETUP, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_consumer_top_up, { "Consumer Top Up", "zbee_zcl_se.met.attr.noti_flag_4.consumer_top_up", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_CONSUMER_TOP_UP, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_credit_adjustment, { "Credit Adjustment", "zbee_zcl_se.met.attr.noti_flag_4.credit_adjustment", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_CREDIT_ADJUSTMENT, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_change_payment_mode, { "Change Payment Mode", "zbee_zcl_se.met.attr.noti_flag_4.change_payment_mode", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_CHANGE_PAYMENT_MODE, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_get_prepay_snapshot, { "Get Prepay Snapshot", "zbee_zcl_se.met.attr.noti_flag_4.get_prepay_snapshot", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_GET_PREPAY_SNAPSHOT, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_get_top_up_log, { "Get Top Up Log", "zbee_zcl_se.met.attr.noti_flag_4.get_top_up_log", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_GET_TOP_UP_LOG, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_set_low_credit_warning_level, { "Set Low Credit Warning Level", "zbee_zcl_se.met.attr.noti_flag_4.set_low_credit_warning_level", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_SET_LOW_CREDIT_WARNING_LEVEL, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_get_debt_repayment_log, { "Get Debt Repayment Log", "zbee_zcl_se.met.attr.noti_flag_4.get_debt_repayment_log", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_GET_DEBT_REPAYMENT_LOG, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_set_maximum_credit_limit, { "Set Maximum Credit Limit", "zbee_zcl_se.met.attr.noti_flag_4.set_maximum_credit_limit", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_SET_MAXIMUM_CREDIT_LIMIT, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_set_overall_debt_cap, { "Set Overall Debt Cap", "zbee_zcl_se.met.attr.noti_flag_4.set_overall_debt_cap", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_4_SET_OVERALL_DEBT_CAP, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_4_reserved, { "Reserved", "zbee_zcl_se.met.attr.noti_flag_4.reserved", FT_UINT32, BASE_HEX, NULL, ZBEE_ZCL_NOTI_FLAG_4_RESERVED, NULL, HFILL } }, /* Notification Flags 5 */ { &hf_zbee_zcl_met_noti_flags_5, { "Notification Flags 5", "zbee_zcl_se.met.attr.noti_flag_5", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_publish_change_of_tenancy, { "Publish Change of Tenancy", "zbee_zcl_se.met.attr.noti_flag_5.publish_change_of_tenancy", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_PUBLISH_CHANGE_OF_TENANCY, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_publish_change_of_supplier, { "Publish Change of Supplier", "zbee_zcl_se.met.attr.noti_flag_5.publish_change_of_supplier", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_PUBLISH_CHANGE_OF_SUPPLIER, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_request_new_password_1_response, { "Request New Password 1 Response", "zbee_zcl_se.met.attr.noti_flag_5.request_new_password_1_response", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_REQUEST_NEW_PASSWORD_1_RESPONSE, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_request_new_password_2_response, { "Request New Password 2 Response", "zbee_zcl_se.met.attr.noti_flag_5.request_new_password_2_response", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_REQUEST_NEW_PASSWORD_2_RESPONSE, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_request_new_password_3_response, { "Request New Password 3 Response", "zbee_zcl_se.met.attr.noti_flag_5.request_new_password_3_response", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_REQUEST_NEW_PASSWORD_3_RESPONSE, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_request_new_password_4_response, { "Request New Password 4 Response", "zbee_zcl_se.met.attr.noti_flag_5.request_new_password_4_response", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_REQUEST_NEW_PASSWORD_4_RESPONSE, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_update_site_id, { "Update Site ID", "zbee_zcl_se.met.attr.noti_flag_5.update_site_id", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_UPDATE_SITE_ID, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_reset_battery_counter, { "Reset Battery Counter", "zbee_zcl_se.met.attr.noti_flag_5.reset_battery_counter", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_RESET_BATTERY_COUNTER, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_update_cin, { "Update CIN", "zbee_zcl_se.met.attr.noti_flag_5.update_cin", FT_BOOLEAN, 32, NULL, ZBEE_ZCL_NOTI_FLAG_5_UPDATE_CIN, NULL, HFILL } }, { &hf_zbee_zcl_met_noti_flag_5_reserved, { "Reserved", "zbee_zcl_se.met.attr.noti_flag_5.reserved", FT_UINT32, BASE_HEX, NULL, ZBEE_ZCL_NOTI_FLAG_5_RESERVED, NULL, HFILL } }, { &hf_zbee_zcl_met_srv_tx_cmd_id, { "Command", "zbee_zcl_se.met.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_met_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_srv_rx_cmd_id, { "Command", "zbee_zcl_se.met.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_met_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_profile_interval_channel, { "Interval Channel", "zbee_zcl_se.met.get_profile.interval_channel", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_profile_end_time, { "End Time", "zbee_zcl_se.met.get_profile.end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_profile_number_of_periods, { "Number of Periods", "zbee_zcl_se.met.get_profile.number_of_periods", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_request_mirror_rsp_endpoint_id, { "EndPoint ID", "zbee_zcl_se.met.request_mirror_rsp.endpoint_id", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_mirror_removed_removed_endpoint_id, { "Removed EndPoint ID", "zbee_zcl_se.met.mirror_removed.removed_endpoint_id", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_request_fast_poll_mode_fast_poll_update_period, { "Fast Poll Update Period", "zbee_zcl_se.met.request_fast_poll_mode.fast_poll_update_period", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_request_fast_poll_mode_duration, { "Duration", "zbee_zcl_se.met.request_fast_poll_mode.duration", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.schedule_snapshot.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_command_index, { "Command Index", "zbee_zcl_se.met.schedule_snapshot.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_total_number_of_commands, { "Total Number of Commands", "zbee_zcl_se.met.schedule_snapshot.total_number_of_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_schedule_id, { "Snapshot Schedule ID", "zbee_zcl_se.met.schedule_snapshot.snapshot_schedule_payload.snapshot_schedule_id", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_start_time, { "Snapshot Start Time", "zbee_zcl_se.met.schedule_snapshot.snapshot_schedule_payload.snapshot_start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_schedule, { "Snapshot Schedule", "zbee_zcl_se.met.schedule_snapshot.snapshot_schedule_payload.snapshot_schedule", FT_UINT24, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_shapshot_payload_type, { "Snapshot Payload Type", "zbee_zcl_se.met.schedule_snapshot.snapshot_schedule_payload.snapshot_payload_type", FT_UINT8, BASE_DEC, VALS(zbee_zcl_met_snapshot_payload_type), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_snapshot_schedule_payload_snapshot_cause, { "Snapshot Cause", "zbee_zcl_se.met.schedule_snapshot.snapshot_schedule_payload.snapshot_cause", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_schedule_frequency, { "Snapshot Schedule Frequency", "zbee_zcl_se.met.snapshot_schedule.frequency", FT_UINT24, BASE_DEC, NULL, 0x0FFFFF, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_schedule_frequency_type, { "Snapshot Schedule Frequency Type", "zbee_zcl_se.met.snapshot_schedule.frequency_type", FT_UINT24, BASE_HEX, VALS(zbee_zcl_met_snapshot_schedule_frequency_type), 0x300000, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_schedule_frequency_wild_card, { "Snapshot Schedule Frequency Wild Card", "zbee_zcl_se.met.snapshot_schedule.frequency_wild_card", FT_UINT24, BASE_HEX,VALS(zbee_zcl_met_snapshot_schedule_frequency_wild_card), 0xC00000, NULL, HFILL } }, { &hf_zbee_zcl_met_take_snapshot_snapshot_cause, { "Snapshot Cause", "zbee_zcl_se.met.take_snapshot.snapshot_cause", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_snapshot_start_time, { "Start Time", "zbee_zcl_se.met.get_snapshot.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_snapshot_end_time, { "End Time", "zbee_zcl_se.met.get_snapshot.end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_snapshot_snapshot_offset, { "Snapshot Offset", "zbee_zcl_se.met.get_snapshot.snapshot_offset", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_snapshot_snapshot_cause, { "Snapshot Cause", "zbee_zcl_se.met.get_snapshot.snapshot_cause", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_start_sampling_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.start_sampling.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_start_sampling_start_sampling_time, { "Start Sampling Time", "zbee_zcl_se.met.start_sampling.start_sampling_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_start_sampling_sample_type, { "Sample Type", "zbee_zcl_se.met.start_sampling.sample_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_start_sampling_sample_request_interval, { "Sample Request Interval", "zbee_zcl_se.met.start_sampling.sample_request_interval", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_start_sampling_max_number_of_samples, { "Max Number of Samples", "zbee_zcl_se.met.start_sampling.max_number_of_samples", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_sample_id, { "Sample ID", "zbee_zcl_se.met.get_sampled_data.sample_id", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_sample_start_time, { "Sample Start Time", "zbee_zcl_se.met.get_sampled_data.sample_start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_sample_type, { "Sample Type", "zbee_zcl_se.met.get_sampled_data.sample_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_number_of_samples, { "Number of Samples", "zbee_zcl_se.met.get_sampled_data.number_of_samples", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_start_sampling_response_sample_id, { "Sample ID", "zbee_zcl_se.met.start_sampling_response.sample_id", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_mirror_report_attribute_response_notification_scheme, { "Notification Scheme", "zbee_zcl_se.met.mirror_report_attribute_response.notification_scheme", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_met_notification_scheme), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_mirror_report_attribute_response_notification_flags_n, { "Notification Flag", "zbee_zcl_se.met.mirror_report_attribute_response.notification_flags_n", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_reset_load_limit_counter_provider_id, { "Provider ID", "zbee_zcl_se.met.reset_load_limit_counter.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_reset_load_limit_counter_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.reset_load_limit_counter.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_change_supply_provider_id, { "Provider ID", "zbee_zcl_se.met.change_supply.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_change_supply_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.change_supply.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_change_supply_request_date_time, { "Request Date/Time", "zbee_zcl_se.met.change_supply.request_date_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_change_supply_implementation_date_time, { "Implementation Date/Time", "zbee_zcl_se.met.change_supply.implementation_date_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_change_supply_proposed_supply_status, { "Proposed Supply Status", "zbee_zcl_se.met.change_supply.proposed_supply_status", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_change_supply_supply_control_bits, { "Supply Control bits", "zbee_zcl_se.met.change_supply.supply_control_bits", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_local_change_supply_proposed_supply_status, { "Proposed Supply Status", "zbee_zcl_se.met.local_change_supply.proposed_supply_status", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_supply_status_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.set_supply_status.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_supply_status_supply_tamper_state, { "Supply Tamper State", "zbee_zcl_se.met.set_supply_status.supply_tamper_state", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_supply_status_supply_depletion_state, { "Supply Depletion State", "zbee_zcl_se.met.set_supply_status.supply_depletion_state", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_supply_status_supply_uncontrolled_flow_state, { "Supply Uncontrolled Flow State", "zbee_zcl_se.met.set_supply_status.supply_uncontrolled_flow_state", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_supply_status_load_limit_supply_state, { "Load Limit Supply State", "zbee_zcl_se.met.set_supply_status.load_limit_supply_state", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_uncontrolled_flow_threshold_provider_id, { "Provider ID", "zbee_zcl_se.met.set_uncontrolled_flow_threshold.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_uncontrolled_flow_threshold_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.set_uncontrolled_flow_threshold.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_uncontrolled_flow_threshold_uncontrolled_flow_threshold, { "Uncontrolled Flow Threshold", "zbee_zcl_se.met.set_uncontrolled_flow_threshold.uncontrolled_flow_threshold", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_uncontrolled_flow_threshold_unit_of_measure, { "Unit of Measure", "zbee_zcl_se.met.set_uncontrolled_flow_threshold.unit_of_measure", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_uncontrolled_flow_threshold_multiplier, { "Multiplier", "zbee_zcl_se.met.set_uncontrolled_flow_threshold.multiplier", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_uncontrolled_flow_threshold_divisor, { "Divisor", "zbee_zcl_se.met.set_uncontrolled_flow_threshold.divisor", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_uncontrolled_flow_threshold_stabilisation_period, { "Stabilisation Period", "zbee_zcl_se.met.set_uncontrolled_flow_threshold.stabilisation_period", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_set_uncontrolled_flow_threshold_measurement_period, { "Measurement Period", "zbee_zcl_se.met.set_uncontrolled_flow_threshold.measurement_period", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_profile_response_end_time, { "End Time", "zbee_zcl_se.met.get_profile_response.end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_profile_response_status, { "Status", "zbee_zcl_se.met.get_profile_response.status", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_profile_response_profile_interval_period, { "Profile Interval Period", "zbee_zcl_se.met.get_profile_response.profile_interval_period", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_profile_response_number_of_periods_delivered, { "Number of Periods Delivered", "zbee_zcl_se.met.get_profile_response.number_of_periods_delivered", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_profile_response_intervals, { "Intervals", "zbee_zcl_se.met.get_profile_response.intervals", FT_UINT24, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_request_fast_poll_mode_response_applied_update_period, { "Applied Update Period (seconds)", "zbee_zcl_se.met.request_fast_poll_mode_response.applied_update_period", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_request_fast_poll_mode_response_fast_poll_mode_end_time, { "Fast Poll Mode End Time", "zbee_zcl_se.met.request_fast_poll_mode_response.fast_poll_mode_end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_response_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.schedule_snapshot_response.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_response_snapshot_schedule_id, { "Snapshot Schedule ID", "zbee_zcl_se.met.schedule_snapshot_response.response_snapshot_schedule_id", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_schedule_snapshot_response_snapshot_schedule_confirmation, { "Snapshot Schedule Confirmation", "zbee_zcl_se.met.schedule_snapshot_response.snapshot_schedule_confirmation", FT_UINT8, BASE_HEX, VALS(zbee_zcl_met_snapshot_schedule_confirmation), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_take_snapshot_response_snapshot_id, { "Snapshot ID", "zbee_zcl_se.met.take_snapshot_response.snapshot_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_take_snapshot_response_snapshot_confirmation, { "Snapshot Confirmation", "zbee_zcl_se.met.take_snapshot_response.snapshot_confirmation", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_publish_snapshot_snapshot_id, { "Snapshot ID", "zbee_zcl_se.met.publish_snapshot.snapshot_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_publish_snapshot_snapshot_time, { "Snapshot Time", "zbee_zcl_se.met.publish_snapshot.snapshot_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_publish_snapshot_snapshots_found, { "Total Snapshots Found", "zbee_zcl_se.met.publish_snapshot.snapshots_found", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_publish_snapshot_cmd_index, { "Command Index", "zbee_zcl_se.met.publish_snapshot.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_publish_snapshot_total_commands, { "Total Number of Commands", "zbee_zcl_se.met.publish_snapshot.total_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_publish_snapshot_snapshot_cause, { "Snapshot Cause", "zbee_zcl_se.met.publish_snapshot.snapshot_cause", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_publish_snapshot_snapshot_payload_type, { "Snapshot Payload Type", "zbee_zcl_se.met.publish_snapshot.payload_type", FT_UINT8, BASE_DEC, VALS(zbee_zcl_met_snapshot_payload_type), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_publish_snapshot_snapshot_sub_payload, { "Snapshot Sub-Payload", "zbee_zcl_se.met.publish_snapshot.sub_payload", FT_BYTES, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_rsp_sample_id, { "Sample ID", "zbee_zcl_se.met.get_sampled_data_rsp.sample_id", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_rsp_sample_start_time, { "Sample Start Time", "zbee_zcl_se.met.get_sampled_data_rsp.sample_start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_rsp_sample_type, { "Sample Type", "zbee_zcl_se.met.get_sampled_data_rsp.sample_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_rsp_sample_request_interval, { "Sample Request Interval", "zbee_zcl_se.met.get_sampled_data_rsp.sample_request_interval", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_rsp_sample_number_of_samples, { "Number of Samples", "zbee_zcl_se.met.get_sampled_data_rsp.number_of_samples", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_sampled_data_rsp_sample_samples, { "Samples", "zbee_zcl_se.met.get_sampled_data_rsp.samples", FT_UINT24, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_mirror_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.configure_mirror.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_mirror_reporting_interval, { "Reporting Interval", "zbee_zcl_se.met.configure_mirror.reporting_interval", FT_UINT24, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_mirror_mirror_notification_reporting, { "Mirror Notification Reporting", "zbee_zcl_se.met.configure_mirror.mirror_notification_reporting", FT_BOOLEAN, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_mirror_notification_scheme, { "Notification Scheme", "zbee_zcl_se.met.configure_mirror.notification_scheme", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_met_notification_scheme), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_scheme_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.configure_notification_scheme.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_scheme_notification_scheme, { "Notification Scheme", "zbee_zcl_se.met.configure_notification_scheme.notification_scheme", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_met_notification_scheme), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_scheme_notification_flag_order, { "Notification Flag Order", "zbee_zcl_se.met.configure_notification_scheme.notification_flag_order", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_flags_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.configure_notification_flags.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_flags_notification_scheme, { "Notification Scheme", "zbee_zcl_se.met.configure_notification_flags.notification_scheme", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_met_notification_scheme), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_flags_notification_flag_attribute_id, { "Notification Flag Attribute ID", "zbee_zcl_se.met.configure_notification_flags.notification_flag_attribute_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_met_attr_client_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_cluster_id, { "Cluster ID", "zbee_zcl_se.met.configure_notification_flags.bit_field_allocation.cluster_id", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_cid_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_manufacturer_code, { "Manufacturer Code", "zbee_zcl_se.met.configure_notification_flags.bit_field_allocation.manufacturer_code", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_no_of_commands, { "No. of Commands", "zbee_zcl_se.met.configure_notification_flags.bit_field_allocation.no_of_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_configure_notification_flags_bit_field_allocation_command_identifier, { "Command Identifier", "zbee_zcl_se.met.configure_notification_flags.bit_field_allocation.command_identifier", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_notified_msg_notification_scheme, { "Notification Scheme", "zbee_zcl_se.met.get_notified_msg.notification_scheme", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_met_notification_scheme), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_notified_msg_notification_flag_attribute_id, { "Notification Flag attribute ID", "zbee_zcl_se.met.get_notified_msg.notification_flag_attribute_id", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_get_notified_msg_notification_flags, { "Notification Flags", "zbee_zcl_se.met.get_notified_msg.notification_flags", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_supply_status_response_provider_id, { "Provider ID", "zbee_zcl_se.met.supply_status_response.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_supply_status_response_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.met.supply_status_response.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_supply_status_response_implementation_date_time, { "Implementation Date/Time", "zbee_zcl_se.met.supply_status_response.implementation_date_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_supply_status_response_supply_status_after_implementation, { "Supply Status After Implementation", "zbee_zcl_se.met.supply_status_response.supply_status_after_implementation", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_general, { "General", "zbee_zcl_se.met.snapshot_cause.general", FT_BOOLEAN, 32, NULL, 0x00000001, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_end_of_billing_period, { "End of Billing Period", "zbee_zcl_se.met.snapshot_cause.end_of_billing_period", FT_BOOLEAN, 32, NULL, 0x00000002, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_end_of_block_period, { "End of Block Period", "zbee_zcl_se.met.snapshot_cause.end_of_block_period", FT_BOOLEAN, 32, NULL, 0x00000004, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_tariff_information, { "Change of Tariff Information", "zbee_zcl_se.met.snapshot_cause.change_of_tariff_information", FT_BOOLEAN, 32, NULL, 0x00000008, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_price_matrix, { "Change of Price Matrix", "zbee_zcl_se.met.snapshot_cause.change_of_price_matrix", FT_BOOLEAN, 32, NULL, 0x00000010, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_block_thresholds, { "Change of Block Thresholds", "zbee_zcl_se.met.snapshot_cause.change_of_block_thresholds", FT_BOOLEAN, 32, NULL, 0x00000020, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_cv, { "Change of CV", "zbee_zcl_se.met.snapshot_cause.change_of_cv", FT_BOOLEAN, 32, NULL, 0x00000040, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_cf, { "Change of CF", "zbee_zcl_se.met.snapshot_cause.change_of_cf", FT_BOOLEAN, 32, NULL, 0x00000080, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_calendar, { "Change of Calendar", "zbee_zcl_se.met.snapshot_cause.change_of_calendar", FT_BOOLEAN, 32, NULL, 0x00000100, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_critical_peak_pricing, { "Critical Peak Pricing", "zbee_zcl_se.met.snapshot_cause.critical_peak_pricing", FT_BOOLEAN, 32, NULL, 0x00000200, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_manually_triggered_from_client, { "Manually Triggered from Client", "zbee_zcl_se.met.snapshot_cause.manually_triggered_from_client", FT_BOOLEAN, 32, NULL, 0x00000400, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_end_of_resolve_period, { "End of Resolve Period", "zbee_zcl_se.met.snapshot_cause.end_of_resolve_period", FT_BOOLEAN, 32, NULL, 0x00000800, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_tenancy, { "Change of Tenancy", "zbee_zcl_se.met.snapshot_cause.change_of_tenancy", FT_BOOLEAN, 32, NULL, 0x00001000, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_supplier, { "Change of Supplier", "zbee_zcl_se.met.snapshot_cause.change_of_supplier", FT_BOOLEAN, 32, NULL, 0x00002000, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_change_of_meter_mode, { "Change of (Meter) Mode", "zbee_zcl_se.met.snapshot_cause.change_of_meter_mode", FT_BOOLEAN, 32, NULL, 0x00004000, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_debt_payment, { "Debt Payment", "zbee_zcl_se.met.snapshot_cause.debt_payment", FT_BOOLEAN, 32, NULL, 0x00008000, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_scheduled_snapshot, { "Scheduled Snapshot", "zbee_zcl_se.met.snapshot_cause.scheduled_snapshot", FT_BOOLEAN, 32, NULL, 0x00010000, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_ota_firmware_download, { "OTA Firmware Download", "zbee_zcl_se.met.snapshot_cause.ota_firmware_download", FT_BOOLEAN, 32, NULL, 0x00020000, NULL, HFILL } }, { &hf_zbee_zcl_met_snapshot_cause_reserved, { "Reserved", "zbee_zcl_se.met.snapshot_cause.reserved", FT_UINT32, BASE_HEX, NULL, 0xFFFC0000, NULL, HFILL } } }; /* ZCL Metering subtrees */ gint *ett[] = { &ett_zbee_zcl_met, &ett_zbee_zcl_met_func_noti_flags, &ett_zbee_zcl_met_noti_flags_2, &ett_zbee_zcl_met_noti_flags_3, &ett_zbee_zcl_met_noti_flags_4, &ett_zbee_zcl_met_noti_flags_5, &ett_zbee_zcl_met_snapshot_cause_flags, &ett_zbee_zcl_met_snapshot_schedule, &ett_zbee_zcl_met_schedule_snapshot_response_payload, &ett_zbee_zcl_met_schedule_snapshot_payload, &ett_zbee_zcl_met_mirror_noti_flag, &ett_zbee_zcl_met_bit_field_allocation }; /* Register the ZigBee ZCL Metering cluster protocol name and description */ proto_zbee_zcl_met = proto_register_protocol("ZigBee ZCL Metering", "ZCL Metering", ZBEE_PROTOABBREV_ZCL_MET); proto_register_field_array(proto_zbee_zcl_met, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Metering dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_MET, dissect_zbee_zcl_met, proto_zbee_zcl_met); } /*proto_register_zbee_zcl_met*/ /** *Hands off the ZCL Metering dissector. * */ void proto_reg_handoff_zbee_zcl_met(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_MET, proto_zbee_zcl_met, ett_zbee_zcl_met, ZBEE_ZCL_CID_SIMPLE_METERING, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_met_attr_server_id, hf_zbee_zcl_met_attr_client_id, hf_zbee_zcl_met_srv_rx_cmd_id, hf_zbee_zcl_met_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_met_attr_data ); } /*proto_reg_handoff_zbee_zcl_met*/ /* ########################################################################## */ /* #### (0x0703) MESSAGING CLUSTER ########################################## */ /* ########################################################################## */ /* Attributes - None */ /* Server Commands Received */ #define zbee_zcl_msg_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_MSG_GET_LAST_MSG, 0x00, "Get Last Message" ) \ XXX(ZBEE_ZCL_CMD_ID_MSG_MSG_CONFIRM, 0x01, "Message Confirmation" ) \ XXX(ZBEE_ZCL_CMD_ID_MSG_GET_MESSAGE_CANCEL, 0x02, "Get Message Cancellation" ) VALUE_STRING_ENUM(zbee_zcl_msg_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_msg_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_msg_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_MSG_DISPLAY_MSG, 0x00, "Display Message" ) \ XXX(ZBEE_ZCL_CMD_ID_MSG_CANCEL_MSG, 0x01, "Cancel Message" ) \ XXX(ZBEE_ZCL_CMD_ID_MSG_DISPLAY_PROTECTED_MSG, 0x02, "Display Protected Message" ) \ XXX(ZBEE_ZCL_CMD_ID_MSG_CANCEL_ALL_MSG, 0x03, "Cancel All Messages" ) VALUE_STRING_ENUM(zbee_zcl_msg_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_msg_srv_tx_cmd_names); /* Message Control Field Bit Map */ #define ZBEE_ZCL_MSG_CTRL_TX_MASK 0x03 #define ZBEE_ZCL_MSG_CTRL_IMPORTANCE_MASK 0x0C #define ZBEE_ZCL_MSG_CTRL_RESERVED_MASK 0x50 #define ZBEE_ZCL_MSG_CTRL_ENHANCED_CONFIRM_MASK 0x20 #define ZBEE_ZCL_MSG_CTRL_CONFIRM_MASK 0x80 #define ZBEE_ZCL_MSG_CTRL_TX_NORMAL_ONLY 0x00 /* Normal Transmission Only */ #define ZBEE_ZCL_MSG_CTRL_TX_NORMAL_ANON_INTERPAN 0x01 /* Normal and Anonymous Inter-PAN Transmission Only */ #define ZBEE_ZCL_MSG_CTRL_TX_ANON_INTERPAN_ONLY 0x02 /* Anonymous Inter-PAN Transmission Only */ #define ZBEE_ZCL_MSG_CTRL_IMPORTANCE_LOW 0x00 /* Low */ #define ZBEE_ZCL_MSG_CTRL_IMPORTANCE_MEDIUM 0x01 /* Medium */ #define ZBEE_ZCL_MSG_CTRL_IMPORTANCE_HIGH 0x02 /* High */ #define ZBEE_ZCL_MSG_CTRL_IMPORTANCE_CRITICAL 0x03 /* Critical */ #define ZBEE_ZCL_MSG_EXT_CTRL_STATUS_MASK 0x01 #define ZBEE_ZCL_MSG_CONFIRM_CTRL_MASK 0x01 #define ZBEE_ZCL_MSG_START_TIME_NOW 0x00000000 /* Now */ /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_msg(void); void proto_reg_handoff_zbee_zcl_msg(void); /* Command Dissector Helpers */ static void dissect_zcl_msg_display (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_msg_cancel (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset); static void dissect_zcl_msg_confirm (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_msg_cancel_all (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_msg_get_cancel (tvbuff_t *tvb, proto_tree *tree, guint *offset); /* Private functions prototype */ static void decode_zcl_msg_duration (gchar *s, guint16 value); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_msg = -1; static int hf_zbee_zcl_msg_srv_tx_cmd_id = -1; static int hf_zbee_zcl_msg_srv_rx_cmd_id = -1; static int hf_zbee_zcl_msg_message_id = -1; static int hf_zbee_zcl_msg_ctrl = -1; static int hf_zbee_zcl_msg_ctrl_tx = -1; static int hf_zbee_zcl_msg_ctrl_importance = -1; static int hf_zbee_zcl_msg_ctrl_enh_confirm = -1; static int hf_zbee_zcl_msg_ctrl_reserved = -1; static int hf_zbee_zcl_msg_ctrl_confirm = -1; static int hf_zbee_zcl_msg_ext_ctrl = -1; static int hf_zbee_zcl_msg_ext_ctrl_status = -1; static int hf_zbee_zcl_msg_start_time = -1; static int hf_zbee_zcl_msg_duration = -1; static int hf_zbee_zcl_msg_message = -1; static int hf_zbee_zcl_msg_confirm_time = -1; static int hf_zbee_zcl_msg_confirm_ctrl = -1; static int hf_zbee_zcl_msg_confirm_response = -1; static int hf_zbee_zcl_msg_implementation_time = -1; static int hf_zbee_zcl_msg_earliest_time = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_msg = -1; static gint ett_zbee_zcl_msg_message_control = -1; static gint ett_zbee_zcl_msg_ext_message_control = -1; static expert_field ei_zbee_zcl_msg_msg_ctrl_deprecated = EI_INIT; /* Message Control Transmission */ static const value_string zbee_zcl_msg_ctrl_tx_names[] = { { ZBEE_ZCL_MSG_CTRL_TX_NORMAL_ONLY, "Normal Transmission Only" }, { ZBEE_ZCL_MSG_CTRL_TX_NORMAL_ANON_INTERPAN, "Normal and Anonymous Inter-PAN Transmission Only" }, { ZBEE_ZCL_MSG_CTRL_TX_ANON_INTERPAN_ONLY, "Anonymous Inter-PAN Transmission Only" }, { 0, NULL } }; /* Message Control Importance */ static const value_string zbee_zcl_msg_ctrl_importance_names[] = { { ZBEE_ZCL_MSG_CTRL_IMPORTANCE_LOW, "Low" }, { ZBEE_ZCL_MSG_CTRL_IMPORTANCE_MEDIUM, "Medium" }, { ZBEE_ZCL_MSG_CTRL_IMPORTANCE_HIGH, "High" }, { ZBEE_ZCL_MSG_CTRL_IMPORTANCE_CRITICAL, "Critical" }, { 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Messaging cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_msg_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_msg_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_msg, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_MSG_GET_LAST_MSG: /* No payload */ break; case ZBEE_ZCL_CMD_ID_MSG_MSG_CONFIRM: dissect_zcl_msg_confirm(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MSG_GET_MESSAGE_CANCEL: dissect_zcl_msg_get_cancel(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_msg_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_msg_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_msg, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_MSG_DISPLAY_MSG: dissect_zcl_msg_display(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MSG_CANCEL_MSG: dissect_zcl_msg_cancel(tvb, pinfo, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MSG_DISPLAY_PROTECTED_MSG: dissect_zcl_msg_display(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_MSG_CANCEL_ALL_MSG: dissect_zcl_msg_cancel_all(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_msg*/ /** *This function manages the Display Message payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_msg_display(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint msg_len; static int * const message_ctrl_flags[] = { &hf_zbee_zcl_msg_ctrl_tx, &hf_zbee_zcl_msg_ctrl_importance, &hf_zbee_zcl_msg_ctrl_enh_confirm, &hf_zbee_zcl_msg_ctrl_reserved, &hf_zbee_zcl_msg_ctrl_confirm, NULL }; static int * const message_ext_ctrl_flags[] = { &hf_zbee_zcl_msg_ext_ctrl_status, NULL }; /* Message ID */ proto_tree_add_item(tree, hf_zbee_zcl_msg_message_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Message Control */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_msg_ctrl, ett_zbee_zcl_msg_message_control, message_ctrl_flags, ENC_NA); *offset += 1; /* Start Time */ proto_tree_add_item(tree, hf_zbee_zcl_msg_start_time, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Duration In Minutes*/ proto_tree_add_item(tree, hf_zbee_zcl_msg_duration, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Message */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_msg_message, tvb, *offset, 1, ENC_NA | ENC_ZIGBEE, &msg_len); *offset += msg_len; /* (Optional) Extended Message Control */ if (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_msg_ext_ctrl, ett_zbee_zcl_msg_ext_message_control, message_ext_ctrl_flags, ENC_NA); *offset += 1; } } /*dissect_zcl_msg_display*/ /** *This function manages the Cancel Message payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_msg_cancel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset) { gint8 msg_ctrl; /* Message ID */ proto_tree_add_item(tree, hf_zbee_zcl_msg_message_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Message Control */ msg_ctrl = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_msg_ctrl, tvb, *offset, 1, ENC_NA); *offset += 1; if (msg_ctrl != 0x00) { expert_add_info(pinfo, tree, &ei_zbee_zcl_msg_msg_ctrl_deprecated); } } /* dissect_zcl_msg_cancel */ /** *This function manages the Cancel All Messages payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_msg_cancel_all(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t impl_time; /* Implementation Date/Time */ impl_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; impl_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_msg_implementation_time, tvb, *offset, 4, &impl_time); *offset += 4; } /* dissect_zcl_msg_cancel_all */ /** *This function manages the Get Message Cancellation payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_msg_get_cancel(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t impl_time; /* Earliest Implementation Time */ impl_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; impl_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_msg_earliest_time, tvb, *offset, 4, &impl_time); *offset += 4; } /* dissect_zcl_msg_get_cancel */ /** *This function manages the Message Confirmation payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_msg_confirm(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint msg_len; nstime_t confirm_time; /* Message ID */ proto_tree_add_item(tree, hf_zbee_zcl_msg_message_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Confirmation Time */ confirm_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; confirm_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_msg_confirm_time, tvb, *offset, 4, &confirm_time); *offset += 4; /* (Optional) Confirm Control */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item(tree, hf_zbee_zcl_msg_confirm_ctrl, tvb, *offset, 1, ENC_NA); *offset += 1; /* (Optional) Response Text, but is we have a length we expect to find the subsequent string */ if ( tvb_reported_length_remaining(tvb, *offset) <= 0 ) return; proto_tree_add_item_ret_length(tree, hf_zbee_zcl_msg_confirm_response, tvb, *offset, 1, ENC_NA | ENC_ZIGBEE, &msg_len); *offset += msg_len; } /* dissect_zcl_msg_confirm */ /** *This function decodes duration in minute type variable * */ static void decode_zcl_msg_duration(gchar *s, guint16 value) { if (value == 0xffff) snprintf(s, ITEM_LABEL_LENGTH, "Until changed"); else snprintf(s, ITEM_LABEL_LENGTH, "%d minutes", value); return; } /*decode_zcl_msg_duration*/ /** * This function decodes start time, with a special case for * ZBEE_ZCL_MSG_START_TIME_NOW. * * @param s string to display * @param value value to decode */ static void decode_zcl_msg_start_time(gchar *s, guint32 value) { if (value == ZBEE_ZCL_MSG_START_TIME_NOW) snprintf(s, ITEM_LABEL_LENGTH, "Now"); else { gchar *start_time; time_t epoch_time = (time_t)value + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time = abs_time_secs_to_str (NULL, epoch_time, ABSOLUTE_TIME_UTC, TRUE); snprintf(s, ITEM_LABEL_LENGTH, "%s", start_time); wmem_free(NULL, start_time); } } /* decode_zcl_msg_start_time */ /** *This function registers the ZCL Messaging dissector * */ void proto_register_zbee_zcl_msg(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_msg_srv_tx_cmd_id, { "Command", "zbee_zcl_se.msg.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_msg_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_msg_srv_rx_cmd_id, { "Command", "zbee_zcl_se.msg.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_msg_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_msg_message_id, { "Message ID", "zbee_zcl_se.msg.message.id", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, /* Start of 'Message Control' fields */ { &hf_zbee_zcl_msg_ctrl, { "Message Control", "zbee_zcl_se.msg.message.ctrl", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_msg_ctrl_tx, { "Transmission", "zbee_zcl_se.msg.message.ctrl.tx", FT_UINT8, BASE_HEX, VALS(zbee_zcl_msg_ctrl_tx_names), ZBEE_ZCL_MSG_CTRL_TX_MASK, NULL, HFILL } }, { &hf_zbee_zcl_msg_ctrl_importance, { "Importance", "zbee_zcl_se.msg.message.ctrl.importance", FT_UINT8, BASE_HEX, VALS(zbee_zcl_msg_ctrl_importance_names), ZBEE_ZCL_MSG_CTRL_IMPORTANCE_MASK, NULL, HFILL } }, { &hf_zbee_zcl_msg_ctrl_enh_confirm, { "Confirmation", "zbee_zcl_se.msg.message.ctrl.enhconfirm", FT_BOOLEAN, 8, TFS(&tfs_required_not_required), ZBEE_ZCL_MSG_CTRL_ENHANCED_CONFIRM_MASK, NULL, HFILL } }, { &hf_zbee_zcl_msg_ctrl_reserved, { "Reserved", "zbee_zcl_se.msg.message.ctrl.reserved", FT_UINT8, BASE_HEX, NULL, ZBEE_ZCL_MSG_CTRL_RESERVED_MASK, NULL, HFILL } }, { &hf_zbee_zcl_msg_ctrl_confirm, { "Confirmation", "zbee_zcl_se.msg.message.ctrl.confirm", FT_BOOLEAN, 8, TFS(&tfs_required_not_required), ZBEE_ZCL_MSG_CTRL_CONFIRM_MASK, NULL, HFILL } }, /* End of 'Message Control' fields */ /* Start of 'Extended Message Control' fields */ { &hf_zbee_zcl_msg_ext_ctrl, { "Extended Message Control", "zbee_zcl_se.msg.message.ext.ctrl", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_msg_ext_ctrl_status, { "Message Confirmation Status", "zbee_zcl_se.msg.message.ext.ctrl.status", FT_BOOLEAN, 8, TFS(&tfs_confirmed_unconfirmed), ZBEE_ZCL_MSG_EXT_CTRL_STATUS_MASK, NULL, HFILL } }, /* End of 'Extended Message Control' fields */ { &hf_zbee_zcl_msg_start_time, { "Start Time", "zbee_zcl_se.msg.message.start_time", FT_UINT32, BASE_CUSTOM, CF_FUNC(decode_zcl_msg_start_time), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_msg_duration, { "Duration", "zbee_zcl_se.msg.message.duration", FT_UINT16, BASE_CUSTOM, CF_FUNC(decode_zcl_msg_duration), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_msg_message, { "Message", "zbee_zcl_se.msg.message", FT_UINT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_msg_confirm_time, { "Confirmation Time", "zbee_zcl_se.msg.message.confirm_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_msg_confirm_ctrl, { "Confirmation Control", "zbee_zcl_se.msg.message.confirm.ctrl", FT_BOOLEAN, 8, TFS(&tfs_no_yes), ZBEE_ZCL_MSG_CONFIRM_CTRL_MASK, NULL, HFILL } }, { &hf_zbee_zcl_msg_confirm_response, { "Response", "zbee_zcl_se.msg.message", FT_UINT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_msg_implementation_time, { "Implementation Time", "zbee_zcl_se.msg.impl_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_msg_earliest_time, { "Earliest Implementation Time", "zbee_zcl_se.msg.earliest_impl_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0, NULL, HFILL } }, }; /* ZCL Messaging subtrees */ gint *ett[] = { &ett_zbee_zcl_msg, &ett_zbee_zcl_msg_message_control, &ett_zbee_zcl_msg_ext_message_control, }; /* Expert Info */ expert_module_t* expert_zbee_zcl_msg; static ei_register_info ei[] = { { &ei_zbee_zcl_msg_msg_ctrl_deprecated, { "zbee_zcl_se.msg.msg_ctrl.deprecated", PI_PROTOCOL, PI_WARN, "Message Control deprecated in this message, should be 0x00", EXPFILL }}, }; /* Register the ZigBee ZCL Messaging cluster protocol name and description */ proto_zbee_zcl_msg = proto_register_protocol("ZigBee ZCL Messaging", "ZCL Messaging", ZBEE_PROTOABBREV_ZCL_MSG); proto_register_field_array(proto_zbee_zcl_msg, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_zbee_zcl_msg = expert_register_protocol(proto_zbee_zcl_msg); expert_register_field_array(expert_zbee_zcl_msg, ei, array_length(ei)); /* Register the ZigBee ZCL Messaging dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_MSG, dissect_zbee_zcl_msg, proto_zbee_zcl_msg); } /*proto_register_zbee_zcl_msg*/ /** *Hands off the ZCL Messaging dissector. * */ void proto_reg_handoff_zbee_zcl_msg(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_MSG, proto_zbee_zcl_msg, ett_zbee_zcl_msg, ZBEE_ZCL_CID_MESSAGE, ZBEE_MFG_CODE_NONE, -1, -1, hf_zbee_zcl_msg_srv_rx_cmd_id, hf_zbee_zcl_msg_srv_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_msg*/ /* ########################################################################## */ /* #### (0x0704) TUNNELING CLUSTER ########################################### */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_tun_attr_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_ATTR_ID_TUN_CLOSE_TIMEOUT, 0x0000, "Close Tunnel Timeout" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_TUN, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_tun_attr_names); VALUE_STRING_ARRAY(zbee_zcl_tun_attr_names); /* Server Commands Received */ #define zbee_zcl_tun_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_TUN_REQUEST_TUNNEL, 0x00, "Request Tunnel" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_CLOSE_TUNNEL, 0x01, "Close Tunnel" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_TRANSFER_DATA, 0x02, "Transfer Data" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_TRANSFER_DATA_ERROR, 0x03, "Transfer Data Error" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_ACK_TRANSFER_DATA, 0x04, "Ack Transfer Data" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_READY_DATA, 0x05, "Ready Data" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_GET_SUPPORTED_PROTOCOLS, 0x06, "Get Supported Tunnel Protocols" ) VALUE_STRING_ENUM(zbee_zcl_tun_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_tun_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_tun_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_TUN_REQUEST_TUNNEL_RSP, 0x00, "Request Tunnel Response" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_TRANSFER_DATA_TX, 0x01, "Transfer Data" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_TRANSFER_DATA_ERROR_TX, 0x02, "Transfer Data Error" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_ACK_TRANSFER_DATA_TX, 0x03, "Ack Transfer Data" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_READY_DATA_TX, 0x04, "Ready Data" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_GET_SUPPORTED_PROTOCOLS_RSP, 0x05, "Supported Tunnel Protocols Response" ) \ XXX(ZBEE_ZCL_CMD_ID_TUN_CLOSURE_NOTIFY, 0x06, "Tunnel Closure Notification" ) VALUE_STRING_ENUM(zbee_zcl_tun_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_tun_srv_tx_cmd_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_tun(void); void proto_reg_handoff_zbee_zcl_tun(void); /* Attribute Dissector Helpers */ static void dissect_zcl_tun_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_tun = -1; static int hf_zbee_zcl_tun_srv_tx_cmd_id = -1; static int hf_zbee_zcl_tun_srv_rx_cmd_id = -1; static int hf_zbee_zcl_tun_attr_id = -1; static int hf_zbee_zcl_tun_attr_reporting_status = -1; static int hf_zbee_zcl_tun_attr_close_timeout = -1; static int hf_zbee_zcl_tun_protocol_id = -1; static int hf_zbee_zcl_tun_manufacturer_code = -1; static int hf_zbee_zcl_tun_flow_control_support = -1; static int hf_zbee_zcl_tun_max_in_size = -1; static int hf_zbee_zcl_tun_tunnel_id = -1; static int hf_zbee_zcl_tun_num_octets_left = -1; static int hf_zbee_zcl_tun_protocol_offset = -1; static int hf_zbee_zcl_tun_protocol_list_complete = -1; static int hf_zbee_zcl_tun_protocol_count = -1; static int hf_zbee_zcl_tun_transfer_status = -1; static int hf_zbee_zcl_tun_transfer_data_status = -1; static heur_dissector_list_t zbee_zcl_tun_heur_subdissector_list; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_tun = -1; #define zbee_zcl_tun_protocol_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_TUN_PROTO_DLMS, 0x00, "DLMS/COSEM (IEC 62056)" ) \ XXX(ZBEE_ZCL_TUN_PROTO_IEC_61107, 0x01, "IEC 61107" ) \ XXX(ZBEE_ZCL_TUN_PROTO_ANSI_C12, 0x02, "ANSI C12" ) \ XXX(ZBEE_ZCL_TUN_PROTO_M_BUS, 0x03, "M-BUS" ) \ XXX(ZBEE_ZCL_TUN_PROTO_SML, 0x04, "SML" ) \ XXX(ZBEE_ZCL_TUN_PROTO_CLIMATE_TALK, 0x05, "ClimateTalk" ) \ XXX(ZBEE_ZCL_TUN_PROTO_GB_HRGP, 0x06, "GB-HRGP" ) \ XXX(ZBEE_ZCL_TUN_PROTO_IPV6, 0x07, "IPv6" ) \ XXX(ZBEE_ZCL_TUN_PROTO_IPV4, 0x08, "IPv4" ) \ XXX(ZBEE_ZCL_TUN_PROTO_NULL, 0x09, "null" ) \ XXX(ZBEE_ZCL_TUN_PROTO_TEST, 199, "test" ) \ XXX(ZBEE_ZCL_TUN_PROTO_MANUFACTURER, 200, "Manufacturer Specific" ) \ XXX(ZBEE_ZCL_TUN_PROTO_RESERVED, 0xFF, "Reserved" ) VALUE_STRING_ENUM(zbee_zcl_tun_protocol_names); VALUE_STRING_ARRAY(zbee_zcl_tun_protocol_names); #define zbee_zcl_tun_trans_data_status_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_TUN_TRANS_STATUS_NO_TUNNEL, 0x00, "Tunnel ID Does Not Exist" ) \ XXX(ZBEE_ZCL_TUN_TRANS_STATUS_WRONG_DEV, 0x01, "Wrong Device" ) \ XXX(ZBEE_ZCL_TUN_TRANS_STATUS_OVERFLOW, 0x02, "Data Overflow" ) VALUE_STRING_ENUM(zbee_zcl_tun_trans_data_status_names); VALUE_STRING_ARRAY(zbee_zcl_tun_trans_data_status_names); #define zbee_zcl_tun_status_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_TUN_STATUS_SUCCESS, 0x00, "Success" ) \ XXX(ZBEE_ZCL_TUN_STATUS_BUSY, 0x01, "Busy" ) \ XXX(ZBEE_ZCL_TUN_STATUS_NO_MORE_IDS, 0x02, "No More Tunnel IDs" ) \ XXX(ZBEE_ZCL_TUN_STATUS_PROTO_NOT_SUPP, 0x03, "Protocol Not Supported" ) \ XXX(ZBEE_ZCL_TUN_STATUS_FLOW_CONTROL_NOT_SUPP, 0x04, "Flow Control Not Supported" ) VALUE_STRING_ENUM(zbee_zcl_tun_status_names); VALUE_STRING_ARRAY(zbee_zcl_tun_status_names); /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_tun_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { switch (attr_id) { /* cluster specific attributes */ case ZBEE_ZCL_ATTR_ID_TUN_CLOSE_TIMEOUT: proto_tree_add_item(tree, hf_zbee_zcl_tun_attr_close_timeout, tvb, *offset, 2, ENC_NA); *offset += 2; break; /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_TUN: proto_tree_add_item(tree, hf_zbee_zcl_tun_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_ias_zone_attr_data*/ /** *This function manages the Request Tunnel payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_request_tunnel(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_tun_protocol_id, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_tun_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_tun_flow_control_support, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_tun_max_in_size, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /** *This function manages the Close Tunnel payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_close_tunnel(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_tun_tunnel_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /** *This function manages the Transfer Data payload * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_transfer_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset) { gint length; heur_dtbl_entry_t *hdtbl_entry; tvbuff_t *data_tvb; proto_tree *root_tree = proto_tree_get_root(tree); proto_tree_add_item(tree, hf_zbee_zcl_tun_tunnel_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; length = tvb_reported_length_remaining(tvb, *offset); data_tvb = tvb_new_subset_remaining(tvb, *offset); *offset += length; if (dissector_try_heuristic(zbee_zcl_tun_heur_subdissector_list, data_tvb, pinfo, root_tree, &hdtbl_entry, NULL)) { return; } call_data_dissector(data_tvb, pinfo, root_tree); } /** *This function manages the Transfer Data Error payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_transfer_data_error(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_tun_tunnel_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_tun_transfer_data_status, tvb, *offset, 1, ENC_NA); *offset += 1; } /** *This function manages the Ack Transfer Data payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_ack_transfer_data(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_tun_tunnel_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_tun_num_octets_left, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /** *This function manages the Ready Data payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_ready_data(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_tun_tunnel_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_tun_num_octets_left, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /** *This function manages the Get Supported Tunnel Protocols payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_get_supported(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_tun_protocol_offset, tvb, *offset, 1, ENC_NA); *offset += 1; } /** *This function manages the Request Tunnel Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_request_tunnel_rsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_tun_tunnel_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_tun_transfer_status, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_tun_max_in_size, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /** *This function manages the Supported Tunnel Protocols Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_get_supported_rsp(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint16 mfg_code; proto_tree_add_item(tree, hf_zbee_zcl_tun_protocol_list_complete, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_tun_protocol_count, tvb, *offset, 1, ENC_NA); *offset += 1; while (tvb_reported_length_remaining(tvb, *offset) > 0) { mfg_code = tvb_get_letohs(tvb, *offset); if (mfg_code == 0xFFFF) { proto_tree_add_uint_format(tree, hf_zbee_zcl_tun_manufacturer_code, tvb, *offset, 2, mfg_code, "Standard Protocol (Mfg Code %#x)", mfg_code); } else { proto_tree_add_item(tree, hf_zbee_zcl_tun_manufacturer_code, tvb, *offset, 2, ENC_LITTLE_ENDIAN); } *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_tun_protocol_id, tvb, *offset, 1, ENC_NA); *offset += 1; } } /** *This function manages the Tunnel Closure Notification payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_tun_closure_notify(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_tun_tunnel_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /** *ZigBee ZCL Tunneling cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_tun(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_tun_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_tun_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_tun, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_TUN_REQUEST_TUNNEL: dissect_zcl_tun_request_tunnel(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_CLOSE_TUNNEL: dissect_zcl_tun_close_tunnel(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_TRANSFER_DATA: dissect_zcl_tun_transfer_data(tvb, pinfo, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_TRANSFER_DATA_ERROR: dissect_zcl_tun_transfer_data_error(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_ACK_TRANSFER_DATA: dissect_zcl_tun_ack_transfer_data(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_READY_DATA: dissect_zcl_tun_ready_data(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_GET_SUPPORTED_PROTOCOLS: dissect_zcl_tun_get_supported(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_tun_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_tun_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_tun, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_TUN_REQUEST_TUNNEL_RSP: dissect_zcl_tun_request_tunnel_rsp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_TRANSFER_DATA_TX: dissect_zcl_tun_transfer_data(tvb, pinfo, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_TRANSFER_DATA_ERROR_TX: dissect_zcl_tun_transfer_data_error(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_ACK_TRANSFER_DATA_TX: dissect_zcl_tun_ack_transfer_data(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_READY_DATA_TX: dissect_zcl_tun_ready_data(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_GET_SUPPORTED_PROTOCOLS_RSP: dissect_zcl_tun_get_supported_rsp(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_TUN_CLOSURE_NOTIFY: dissect_zcl_tun_closure_notify(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_tun*/ /** *This function registers the ZCL Tunneling dissector * */ void proto_register_zbee_zcl_tun(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_tun_attr_id, { "Attribute", "zbee_zcl_se.tun.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_tun_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_tun_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.tun.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_attr_close_timeout, { "Close Tunnel Timeout", "zbee_zcl_se.tun.attr.close_tunnel", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_tun_srv_tx_cmd_id, { "Command", "zbee_zcl_se.tun.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_tun_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_srv_rx_cmd_id, { "Command", "zbee_zcl_se.tun.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_tun_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_protocol_id, { "Protocol ID", "zbee_zcl_se.tun.protocol_id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_tun_protocol_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_manufacturer_code, { "Manufacturer Code", "zbee_zcl_se.tun.manufacturer_code", FT_UINT16, BASE_HEX, VALS(zbee_mfr_code_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_flow_control_support, { "Flow Control Supported", "zbee_zcl_se.tun.flow_control_supported", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_max_in_size, { "Max Incoming Transfer Size", "zbee_zcl_se.tun.max_in_transfer_size", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_tunnel_id, { "Tunnel Id", "zbee_zcl_se.tun.tunnel_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_num_octets_left, { "Num Octets Left", "zbee_zcl_se.tun.octets_left", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_protocol_offset, { "Protocol Offset", "zbee_zcl_se.tun.protocol_offset", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_transfer_status, { "Transfer Status", "zbee_zcl_se.tun.transfer_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_tun_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_transfer_data_status, { "Transfer Data Status", "zbee_zcl_se.tun.transfer_data_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_tun_trans_data_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_protocol_count, { "Protocol Count", "zbee_zcl_se.tun.protocol_count", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_tun_protocol_list_complete, { "List Complete", "zbee_zcl_se.tun.protocol_list_complete", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0x00, NULL, HFILL } }, }; /* ZCL Tunneling subtrees */ gint *ett[] = { &ett_zbee_zcl_tun, }; /* Register the ZigBee ZCL Tunneling cluster protocol name and description */ proto_zbee_zcl_tun = proto_register_protocol("ZigBee ZCL Tunneling", "ZCL Tunneling", ZBEE_PROTOABBREV_ZCL_TUN); proto_register_field_array(proto_zbee_zcl_tun, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Make heuristic dissectors possible */ zbee_zcl_tun_heur_subdissector_list = register_heur_dissector_list(ZBEE_PROTOABBREV_ZCL_TUN, proto_zbee_zcl_tun); /* Register the ZigBee ZCL Tunneling dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_TUN, dissect_zbee_zcl_tun, proto_zbee_zcl_tun); } /* proto_register_zbee_zcl_tun */ /** *Hands off the ZCL Tunneling dissector. * */ void proto_reg_handoff_zbee_zcl_tun(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_TUN, proto_zbee_zcl_tun, ett_zbee_zcl_tun, ZBEE_ZCL_CID_TUNNELING, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_tun_attr_id, -1, hf_zbee_zcl_tun_srv_rx_cmd_id, hf_zbee_zcl_tun_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_tun_attr_data ); } /* proto_reg_handoff_zbee_zcl_tun */ /* ########################################################################## */ /* #### (0x0705) PREPAYMENT CLUSTER ########################################## */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_pp_attr_names_VALUE_STRING_LIST(XXX) \ /* Prepayment Information Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PP_PAYMENT_CONTROL_CONFIGURATION, 0x0000, "Payment Control Configuration" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CREDIT_REMAINING, 0x0001, "Credit Remaining" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_EMERGENCY_CREDIT_REMAINING, 0x0002, "Emergency Credit Remaining" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CREDIT_STATUS, 0x0003, "Credit Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CREDIT_REMAINING_TIMESTAMP, 0x0004, "Credit Remaining Timestamp" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_ACCUMULATED_DEBT, 0x0005, "Accumulated Debt" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_OVERALL_DEBT_CAP, 0x0006, "Overall Debt Cap" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_EMERGENCY_CREDIT_LIMIT, 0x0010, "Emergency Credit Limit / Allowance" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_EMERGENCY_CREDIT_THRESHOLD, 0x0011, "Emergency Credit Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOTAL_CREDIT_ADDED, 0x0020, "Total Credit Added" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_MAX_CREDIT_LIMIT, 0x0021, "Max Credit Limit" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_MAX_CREDIT_PER_TOPUP, 0x0022, "Max Credit Per Top Up" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_FRIENDLY_CREDIT_WARNING, 0x0030, "Friendly Credit Warning" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_LOW_CREDIT_WARNING, 0x0031, "Low Credit Warning" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_IHD_LOW_CREDIT_WARNING, 0x0032, "IHD Low Credit Warning" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_INTERRUPT_SUSPEND_TIME, 0x0033, "Interrupt Suspend Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_REMAINING_FRIENDLY_CREDIT_TIME, 0x0034, "Remaining Friendly Credit Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_NEXT_FRIENDLY_CREDIT_PERIOD, 0x0035, "Next Friendly Credit Period" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CUT_OFF_VALUE, 0x0040, "Cut Off Value" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOKEN_CARRIER_ID, 0x0080, "Token Carrier ID" ) \ /* Top-up Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_DATE_TIME_1, 0x0100, "Top-up Date/time #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_AMOUNT_1, 0x0101, "Top-up Amount #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_ORIGINATING_DEVICE_1, 0x0102, "Originating Device #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_CODE_1, 0x0103, "Top-up Code #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_DATE_TIME_2, 0x0110, "Top-up Date/time #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_AMOUNT_2, 0x0111, "Top-up Amount #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_ORIGINATING_DEVICE_2, 0x0112, "Originating Device #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_CODE_2, 0x0113, "Top-up Code #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_DATE_TIME_3, 0x0120, "Top-up Date/time #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_AMOUNT_3, 0x0121, "Top-up Amount #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_ORIGINATING_DEVICE_3, 0x0122, "Originating Device #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_CODE_3, 0x0123, "Top-up Code #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_DATE_TIME_4, 0x0130, "Top-up Date/time #4" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_AMOUNT_4, 0x0131, "Top-up Amount #4" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_ORIGINATING_DEVICE_4, 0x0132, "Originating Device #4" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_CODE_4, 0x0133, "Top-up Code #4" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_DATE_TIME_5, 0x0140, "Top-up Date/time #5" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_AMOUNT_5, 0x0141, "Top-up Amount #5" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_ORIGINATING_DEVICE_5, 0x0142, "Originating Device #5" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_TOPUP_CODE_5, 0x0143, "Top-up Code #5" ) \ /* Debt Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_LABEL_1, 0x0210, "Debt Label #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_AMOUNT_1, 0x0211, "Debt Amount #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_METHOD_1, 0x0212, "Debt Recovery Method #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_START_TIME_1, 0x0213, "Debt Recovery Start Time #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_COLLECTION_TIME_1, 0x0214, "Debt Recovery Collection Time #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_FREQ_1, 0x0216, "Debt Recovery Frequency #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_AMOUNT_1, 0x0217, "Debt Recovery Amount #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_TOP_UP_PERCENTAGE_1, 0x0219, "Debt Recovery Top Up Percentage #1" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_LABEL_2, 0x0220, "Debt Label #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_AMOUNT_2, 0x0221, "Debt Amount #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_METHOD_2, 0x0222, "Debt Recovery Method #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_START_TIME_2, 0x0223, "Debt Recovery Start Time #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_COLLECTION_TIME_2, 0x0224, "Debt Recovery Collection Time #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_FREQ_2, 0x0226, "Debt Recovery Frequency #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_AMOUNT_2, 0x0227, "Debt Recovery Amount #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_TOP_UP_PERCENTAGE_2, 0x0229, "Debt Recovery Top Up Percentage #2" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_LABEL_3, 0x0230, "Debt Label #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_AMOUNT_3, 0x0231, "Debt Amount #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_METHOD_3, 0x0232, "Debt Recovery Method #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_START_TIME_3, 0x0233, "Debt Recovery Start Time #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_COLLECTION_TIME_3, 0x0234, "Debt Recovery Collection Time #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_FREQ_3, 0x0236, "Debt Recovery Frequency #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_AMOUNT_3, 0x0237, "Debt Recovery Amount #3" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_DEBT_RECOVERY_TOP_UP_PERCENTAGE_3, 0x0239, "Debt Recovery Top Up Percentage #3" ) \ /* Alarm Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREPAYMENT_ALARM_STATUS, 0x0400, "Prepayment Alarm Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREPAY_GENERIC_ALARM_MASK, 0x0401, "Prepay Generic Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREPAY_SWITCH_ALARM_MASK, 0x0402, "Prepay Switch Alarm Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREPAY_EVENT_ALARM_MASK, 0x0403, "Prepay Event Alarm Mask" ) \ /* Historical Cost Consumption Information Set */ \ XXX(ZBEE_ZCL_ATTR_ID_PP_HISTORICAL_COST_CON_FORMAT, 0x0500, "Historical Cost Consumption Formatting" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CONSUMPTION_UNIT_OF_MEASUREMENT, 0x0501, "Consumption Unit of Measurement" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CURRENCY_SCALING_FACTOR, 0x0502, "Currency Scaling Factor" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CURRENCY, 0x0503, "Currency" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CURRENT_DAY_COST_CON_DELIVERED, 0x051C, "Current Day Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CURRENT_DAY_COST_CON_RECEIVED, 0x051D, "Current Day Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_COST_CON_DELIVERED, 0x051E, "Previous Day Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_COST_CON_RECEIVED, 0x051F, "Previous Day Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_2_COST_CON_DELIVERED, 0x0520, "Previous Day 2 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_2_COST_CON_RECEIVED, 0x0521, "Previous Day 2 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_3_COST_CON_DELIVERED, 0x0522, "Previous Day 3 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_3_COST_CON_RECEIVED, 0x0523, "Previous Day 3 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_4_COST_CON_DELIVERED, 0x0524, "Previous Day 4 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_4_COST_CON_RECEIVED, 0x0525, "Previous Day 4 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_5_COST_CON_DELIVERED, 0x0526, "Previous Day 5 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_5_COST_CON_RECEIVED, 0x0527, "Previous Day 5 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_6_COST_CON_DELIVERED, 0x0528, "Previous Day 6 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_6_COST_CON_RECEIVED, 0x0529, "Previous Day 6 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_7_COST_CON_DELIVERED, 0x052A, "Previous Day 7 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_7_COST_CON_RECEIVED, 0x052B, "Previous Day 7 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_8_COST_CON_DELIVERED, 0x052C, "Previous Day 8 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_DAY_8_COST_CON_RECEIVED, 0x052D, "Previous Day 8 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CURRENT_WEEK_COST_CON_DELIVERED, 0x0530, "Current Week Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CURRENT_WEEK_COST_CON_RECEIVED, 0x0531, "Current Week Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_COST_CON_DELIVERED, 0x0532, "Previous Week Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_COST_CON_RECEIVED, 0x0533, "Previous Week Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_2_COST_CON_DELIVERED, 0x0534, "Previous Week 2 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_2_COST_CON_RECEIVED, 0x0535, "Previous Week 2 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_3_COST_CON_DELIVERED, 0x0536, "Previous Week 3 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_3_COST_CON_RECEIVED, 0x0537, "Previous Week 3 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_4_COST_CON_DELIVERED, 0x0538, "Previous Week 4 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_4_COST_CON_RECEIVED, 0x0539, "Previous Week 4 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_5_COST_CON_DELIVERED, 0x053A, "Previous Week 5 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_WEEK_5_COST_CON_RECEIVED, 0x053B, "Previous Week 5 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CURRENT_MON_COST_CON_DELIVERED, 0x0540, "Current Month Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_CURRENT_MON_COST_CON_RECEIVED, 0x0541, "Current Month Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_COST_CON_DELIVERED, 0x0542, "Previous Month Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_COST_CON_RECEIVED, 0x0543, "Previous Month Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_2_COST_CON_DELIVERED, 0x0544, "Previous Month 2 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_2_COST_CON_RECEIVED, 0x0545, "Previous Month 2 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_3_COST_CON_DELIVERED, 0x0546, "Previous Month 3 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_3_COST_CON_RECEIVED, 0x0547, "Previous Month 3 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_4_COST_CON_DELIVERED, 0x0548, "Previous Month 4 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_4_COST_CON_RECEIVED, 0x0549, "Previous Month 4 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_5_COST_CON_DELIVERED, 0x054A, "Previous Month 5 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_5_COST_CON_RECEIVED, 0x054B, "Previous Month 5 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_6_COST_CON_DELIVERED, 0x054C, "Previous Month 6 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_6_COST_CON_RECEIVED, 0x054D, "Previous Month 6 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_7_COST_CON_DELIVERED, 0x054E, "Previous Month 7 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_7_COST_CON_RECEIVED, 0x054F, "Previous Month 7 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_8_COST_CON_DELIVERED, 0x0550, "Previous Month 8 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_8_COST_CON_RECEIVED, 0x0551, "Previous Month 8 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_9_COST_CON_DELIVERED, 0x0552, "Previous Month 9 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_9_COST_CON_RECEIVED, 0x0553, "Previous Month 9 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_10_COST_CON_DELIVERED, 0x0554, "Previous Month 10 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_10_COST_CON_RECEIVED, 0x0555, "Previous Month 10 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_11_COST_CON_DELIVERED, 0x0556, "Previous Month 11 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_11_COST_CON_RECEIVED, 0x0557, "Previous Month 11 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_12_COST_CON_DELIVERED, 0x0558, "Previous Month 12 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_12_COST_CON_RECEIVED, 0x0559, "Previous Month 12 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_13_COST_CON_DELIVERED, 0x055A, "Previous Month 13 Cost Consumption Delivered" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_PREVIOUS_MON_13_COST_CON_RECEIVED, 0x055B, "Previous Month 13 Cost Consumption Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_PP_HISTORICAL_FREEZE_TIME, 0x055C, "Historical Freeze Time" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_PP, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_pp_attr_names); VALUE_STRING_ARRAY(zbee_zcl_pp_attr_names); static value_string_ext zbee_zcl_pp_attr_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_pp_attr_names); /* Server Commands Received */ #define zbee_zcl_pp_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_PP_SELECT_AVAILABLE_EMERGENCY_CREDIT, 0x00, "Select Available Emergency Credit" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_CHANGE_DEBT, 0x02, "Change Debt" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_EMERGENCY_CREDIT_SETUP, 0x03, "Emergency Credit Setup" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_CONSUMER_TOP_UP, 0x04, "Consumer Top Up" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_CREDIT_ADJUSTMENT, 0x05, "Credit Adjustment" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_CHANGE_PAYMENT_MODE, 0x06, "Change Payment Mode" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_GET_PREPAY_SNAPTSHOT, 0x07, "Get Prepay Snapshot" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_GET_TOP_UP_LOG, 0x08, "Get Top Up Log" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_SET_LOW_CREDIT_WARNING_LEVEL, 0x09, "Set Low Credit Warning Level" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_GET_DEBT_REPAYMENT_LOG, 0x0A, "Get Debt Repayment Log" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_SET_MAXIMUM_CREDIT_LIMIT, 0x0B, "Set Maximum Credit Limit" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_SET_OVERALL_DEBT_CAP, 0x0C, "Set Overall Debt Cap" ) VALUE_STRING_ENUM(zbee_zcl_pp_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_pp_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_pp_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_PP_PUBLISH_PREPAY_SNAPSHOT, 0x01, "Publish Prepay Snapshot" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_CHANGE_PAYMENT_MODE_RESPONSE, 0x02, "Change Payment Mode Response" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_CONSUMER_TOP_UP_RESPONSE, 0x03, "Consumer Top Up Response" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_PUBLISH_TOP_UP_LOG, 0x05, "Publish Top Up Log" ) \ XXX(ZBEE_ZCL_CMD_ID_PP_PUBLISH_DEBT_LOG, 0x06, "Publish Debt Log" ) VALUE_STRING_ENUM(zbee_zcl_pp_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_pp_srv_tx_cmd_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_pp(void); void proto_reg_handoff_zbee_zcl_pp(void); /* Attribute Dissector Helpers */ static void dissect_zcl_pp_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Command Dissector Helpers */ static void dissect_zcl_pp_select_available_emergency_credit (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_change_debt (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_emergency_credit_setup (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_consumer_top_up (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_credit_adjustment (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_change_payment_mode (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_get_prepay_snapshot (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_get_top_up_log (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_set_low_credit_warning_level (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_get_debt_repayment_log (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_set_maximum_credit_limit (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_set_overall_debt_cap (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_publish_prepay_snapshot (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_change_payment_mode_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_consumer_top_up_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_publish_top_up_log (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_pp_publish_debt_log (tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_pp = -1; static int hf_zbee_zcl_pp_srv_tx_cmd_id = -1; static int hf_zbee_zcl_pp_srv_rx_cmd_id = -1; static int hf_zbee_zcl_pp_attr_id = -1; static int hf_zbee_zcl_pp_attr_reporting_status = -1; static int hf_zbee_zcl_pp_select_available_emc_cmd_issue_date_time = -1; static int hf_zbee_zcl_pp_select_available_emc_originating_device = -1; static int hf_zbee_zcl_pp_change_debt_issuer_event_id = -1; static int hf_zbee_zcl_pp_change_debt_label = -1; static int hf_zbee_zcl_pp_change_debt_amount = -1; static int hf_zbee_zcl_pp_change_debt_recovery_method = -1; static int hf_zbee_zcl_pp_change_debt_amount_type = -1; static int hf_zbee_zcl_pp_change_debt_recovery_start_time = -1; static int hf_zbee_zcl_pp_change_debt_recovery_collection_time = -1; static int hf_zbee_zcl_pp_change_debt_recovery_frequency = -1; static int hf_zbee_zcl_pp_change_debt_recovery_amount = -1; static int hf_zbee_zcl_pp_change_debt_recovery_balance_percentage = -1; static int hf_zbee_zcl_pp_emergency_credit_setup_issuer_event_id = -1; static int hf_zbee_zcl_pp_emergency_credit_setup_start_time = -1; static int hf_zbee_zcl_pp_emergency_credit_setup_emergency_credit_limit = -1; static int hf_zbee_zcl_pp_emergency_credit_setup_emergency_credit_threshold = -1; static int hf_zbee_zcl_pp_consumer_top_up_originating_device = -1; static int hf_zbee_zcl_pp_consumer_top_up_top_up_code = -1; static int hf_zbee_zcl_pp_credit_adjustment_issuer_event_id = -1; static int hf_zbee_zcl_pp_credit_adjustment_start_time = -1; static int hf_zbee_zcl_pp_credit_adjustment_credit_adjustment_type = -1; static int hf_zbee_zcl_pp_credit_adjustment_credit_adjustment_value = -1; static int hf_zbee_zcl_pp_change_payment_mode_provider_id = -1; static int hf_zbee_zcl_pp_change_payment_mode_issuer_event_id = -1; static int hf_zbee_zcl_pp_change_payment_mode_implementation_date_time = -1; static int hf_zbee_zcl_pp_change_payment_mode_proposed_payment_control_configuration = -1; static int hf_zbee_zcl_pp_change_payment_mode_cut_off_value = -1; static int hf_zbee_zcl_pp_get_prepay_snapshot_earliest_start_time = -1; static int hf_zbee_zcl_pp_get_prepay_snapshot_latest_end_time = -1; static int hf_zbee_zcl_pp_get_prepay_snapshot_snapshot_offset = -1; static int hf_zbee_zcl_pp_get_prepay_snapshot_snapshot_cause = -1; static int hf_zbee_zcl_pp_get_top_up_log_latest_end_time = -1; static int hf_zbee_zcl_pp_get_top_up_log_number_of_records = -1; static int hf_zbee_zcl_pp_set_low_credit_warning_level_low_credit_warning_level = -1; static int hf_zbee_zcl_pp_get_debt_repayment_log_latest_end_time = -1; static int hf_zbee_zcl_pp_get_debt_repayment_log_number_of_debts = -1; static int hf_zbee_zcl_pp_get_debt_repayment_log_debt_type = -1; static int hf_zbee_zcl_pp_set_maximum_credit_limit_provider_id = -1; static int hf_zbee_zcl_pp_set_maximum_credit_limit_issuer_event_id = -1; static int hf_zbee_zcl_pp_set_maximum_credit_limit_implementation_date_time = -1; static int hf_zbee_zcl_pp_set_maximum_credit_limit_maximum_credit_level = -1; static int hf_zbee_zcl_pp_set_maximum_credit_limit_maximum_credit_per_top_up = -1; static int hf_zbee_zcl_pp_set_overall_debt_cap_limit_provider_id = -1; static int hf_zbee_zcl_pp_set_overall_debt_cap_limit_issuer_event_id = -1; static int hf_zbee_zcl_pp_set_overall_debt_cap_limit_implementation_date_time = -1; static int hf_zbee_zcl_pp_set_overall_debt_cap_limit_overall_debt_cap = -1; static int hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_id = -1; static int hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_time = -1; static int hf_zbee_zcl_pp_publish_prepay_snapshot_total_snapshots_found = -1; static int hf_zbee_zcl_pp_publish_prepay_snapshot_command_index = -1; static int hf_zbee_zcl_pp_publish_prepay_snapshot_total_number_of_commands = -1; static int hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_cause = -1; static int hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_payload_type = -1; static int hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_payload = -1; static int hf_zbee_zcl_pp_change_payment_mode_response_friendly_credit = -1; static int hf_zbee_zcl_pp_change_payment_mode_response_friendly_credit_calendar_id = -1; static int hf_zbee_zcl_pp_change_payment_mode_response_emergency_credit_limit = -1; static int hf_zbee_zcl_pp_change_payment_mode_response_emergency_credit_threshold = -1; static int hf_zbee_zcl_pp_consumer_top_up_response_result_type = -1; static int hf_zbee_zcl_pp_consumer_top_up_response_top_up_value = -1; static int hf_zbee_zcl_pp_consumer_top_up_response_source_of_top_up = -1; static int hf_zbee_zcl_pp_consumer_top_up_response_credit_remaining = -1; static int hf_zbee_zcl_pp_publish_top_up_log_command_index = -1; static int hf_zbee_zcl_pp_publish_top_up_log_total_number_of_commands = -1; static int hf_zbee_zcl_pp_publish_top_up_log_top_up_code = -1; static int hf_zbee_zcl_pp_publish_top_up_log_top_up_amount = -1; static int hf_zbee_zcl_pp_publish_top_up_log_top_up_time = -1; static int hf_zbee_zcl_pp_publish_debt_log_command_index = -1; static int hf_zbee_zcl_pp_publish_debt_log_total_number_of_commands = -1; static int hf_zbee_zcl_pp_publish_debt_log_collection_time = -1; static int hf_zbee_zcl_pp_publish_debt_log_amount_collected = -1; static int hf_zbee_zcl_pp_publish_debt_log_debt_type = -1; static int hf_zbee_zcl_pp_publish_debt_log_outstanding_debt = -1; static int hf_zbee_zcl_pp_payment_control_configuration = -1; static int hf_zbee_zcl_pp_payment_control_configuration_disconnection_enabled = -1; static int hf_zbee_zcl_pp_payment_control_configuration_prepayment_enabled = -1; static int hf_zbee_zcl_pp_payment_control_configuration_credit_management_enabled = -1; static int hf_zbee_zcl_pp_payment_control_configuration_credit_display_enabled = -1; static int hf_zbee_zcl_pp_payment_control_configuration_account_base = -1; static int hf_zbee_zcl_pp_payment_control_configuration_contactor_fitted = -1; static int hf_zbee_zcl_pp_payment_control_configuration_standing_charge_configuration = -1; static int hf_zbee_zcl_pp_payment_control_configuration_emergency_standing_charge_configuration = -1; static int hf_zbee_zcl_pp_payment_control_configuration_debt_configuration = -1; static int hf_zbee_zcl_pp_payment_control_configuration_emergency_debt_configuration = -1; static int hf_zbee_zcl_pp_payment_control_configuration_reserved = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_general = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_end_of_billing_period = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_change_of_tariff_information = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_change_of_price_matrix = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_manually_triggered_from_client = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_change_of_tenancy = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_change_of_supplier = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_change_of_meter_mode = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_top_up_addition = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_debt_credit_addition = -1; static int hf_zbee_zcl_pp_snapshot_payload_cause_reserved = -1; static int* const zbee_zcl_pp_payment_control_configuration_flags[] = { &hf_zbee_zcl_pp_payment_control_configuration_disconnection_enabled, &hf_zbee_zcl_pp_payment_control_configuration_prepayment_enabled, &hf_zbee_zcl_pp_payment_control_configuration_credit_management_enabled, &hf_zbee_zcl_pp_payment_control_configuration_credit_display_enabled, &hf_zbee_zcl_pp_payment_control_configuration_account_base, &hf_zbee_zcl_pp_payment_control_configuration_contactor_fitted, &hf_zbee_zcl_pp_payment_control_configuration_standing_charge_configuration, &hf_zbee_zcl_pp_payment_control_configuration_emergency_standing_charge_configuration, &hf_zbee_zcl_pp_payment_control_configuration_debt_configuration, &hf_zbee_zcl_pp_payment_control_configuration_emergency_debt_configuration, &hf_zbee_zcl_pp_payment_control_configuration_reserved, NULL }; static int* const zbee_zcl_pp_snapshot_payload_cause_flags[] = { &hf_zbee_zcl_pp_snapshot_payload_cause_general, &hf_zbee_zcl_pp_snapshot_payload_cause_end_of_billing_period, &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_tariff_information, &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_price_matrix, &hf_zbee_zcl_pp_snapshot_payload_cause_manually_triggered_from_client, &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_tenancy, &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_supplier, &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_meter_mode, &hf_zbee_zcl_pp_snapshot_payload_cause_top_up_addition, &hf_zbee_zcl_pp_snapshot_payload_cause_debt_credit_addition, &hf_zbee_zcl_pp_snapshot_payload_cause_reserved, NULL }; /* Initialize the subtree pointers */ #define ZBEE_ZCL_SE_PP_NUM_INDIVIDUAL_ETT 3 #define ZBEE_ZCL_SE_PP_NUM_PUBLISH_TOP_UP_LOG_ETT 30 #define ZBEE_ZCL_SE_PP_NUM_PUBLISH_DEBT_LOG_ETT 30 #define ZBEE_ZCL_SE_PP_NUM_TOTAL_ETT (ZBEE_ZCL_SE_PP_NUM_INDIVIDUAL_ETT + \ ZBEE_ZCL_SE_PP_NUM_PUBLISH_TOP_UP_LOG_ETT + \ ZBEE_ZCL_SE_PP_NUM_PUBLISH_DEBT_LOG_ETT) static gint ett_zbee_zcl_pp = -1; static gint ett_zbee_zcl_pp_payment_control_configuration = -1; static gint ett_zbee_zcl_pp_snapshot_payload_cause = -1; static gint ett_zbee_zcl_pp_publish_top_up_entry[ZBEE_ZCL_SE_PP_NUM_PUBLISH_TOP_UP_LOG_ETT]; static gint ett_zbee_zcl_pp_publish_debt_log_entry[ZBEE_ZCL_SE_PP_NUM_PUBLISH_DEBT_LOG_ETT]; /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_pp_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_PP: proto_tree_add_item(tree, hf_zbee_zcl_pp_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_PP_PAYMENT_CONTROL_CONFIGURATION: proto_item_append_text(tree, ", Payment Control Configuration"); proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pp_payment_control_configuration, ett_zbee_zcl_pp_payment_control_configuration, zbee_zcl_pp_payment_control_configuration_flags, ENC_LITTLE_ENDIAN); *offset += 2; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_pp_attr_data*/ /** *ZigBee ZCL Prepayment cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_pp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_pp_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_pp_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_pp, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_PP_SELECT_AVAILABLE_EMERGENCY_CREDIT: dissect_zcl_pp_select_available_emergency_credit(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_CHANGE_DEBT: dissect_zcl_pp_change_debt(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_EMERGENCY_CREDIT_SETUP: dissect_zcl_pp_emergency_credit_setup(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_CONSUMER_TOP_UP: dissect_zcl_pp_consumer_top_up(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_CREDIT_ADJUSTMENT: dissect_zcl_pp_credit_adjustment(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_CHANGE_PAYMENT_MODE: dissect_zcl_pp_change_payment_mode(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_GET_PREPAY_SNAPTSHOT: dissect_zcl_pp_get_prepay_snapshot(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_GET_TOP_UP_LOG: dissect_zcl_pp_get_top_up_log(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_SET_LOW_CREDIT_WARNING_LEVEL: dissect_zcl_pp_set_low_credit_warning_level(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_GET_DEBT_REPAYMENT_LOG: dissect_zcl_pp_get_debt_repayment_log(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_SET_MAXIMUM_CREDIT_LIMIT: dissect_zcl_pp_set_maximum_credit_limit(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_SET_OVERALL_DEBT_CAP: dissect_zcl_pp_set_overall_debt_cap(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_pp_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_pp_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_pp, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_PP_PUBLISH_PREPAY_SNAPSHOT: dissect_zcl_pp_publish_prepay_snapshot(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_CHANGE_PAYMENT_MODE_RESPONSE: dissect_zcl_pp_change_payment_mode_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_CONSUMER_TOP_UP_RESPONSE: dissect_zcl_pp_consumer_top_up_response(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_PUBLISH_TOP_UP_LOG: dissect_zcl_pp_publish_top_up_log(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_PP_PUBLISH_DEBT_LOG: dissect_zcl_pp_publish_debt_log(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_pp*/ /** *This function manages the Select Available Emergency Credit payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_select_available_emergency_credit(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Command Issue Date/Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_select_available_emc_cmd_issue_date_time, tvb, *offset, 4, &start_time); *offset += 4; /* Originating Device */ proto_tree_add_item(tree, hf_zbee_zcl_pp_select_available_emc_originating_device, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_pp_select_available_emergency_credit*/ /** *This function manages the Change Debt payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_change_debt(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 label_length; nstime_t start_time; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Debt Label */ label_length = tvb_get_guint8(tvb, *offset) + 1; proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_label, tvb, *offset, label_length, ENC_NA); *offset += label_length; /* Debt Amount */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_amount, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Debt Recovery Method */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_recovery_method, tvb, *offset, 1, ENC_NA); *offset += 1; /* Debt Amount Type */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_amount_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Debt Recovery Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_change_debt_recovery_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Debt Recovery Collection Time */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_recovery_collection_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Debt Recovery Frequency */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_recovery_frequency, tvb, *offset, 1, ENC_NA); *offset += 1; /* Debt Recovery Amount */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_recovery_amount, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Debt Recovery Balance Percentage */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_debt_recovery_balance_percentage, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_pp_change_debt*/ /** *This function manages the Select Available Emergency Credit payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_emergency_credit_setup(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_emergency_credit_setup_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_emergency_credit_setup_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Emergency Credit Limit */ proto_tree_add_item(tree, hf_zbee_zcl_pp_emergency_credit_setup_emergency_credit_limit, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Emergency Credit Threshold */ proto_tree_add_item(tree, hf_zbee_zcl_pp_emergency_credit_setup_emergency_credit_threshold, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_emergency_credit_setup*/ /** *This function manages the Consumer Top Up payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_consumer_top_up(tvbuff_t *tvb, proto_tree *tree, guint *offset) { int length; /* Originating Device */ proto_tree_add_item(tree, hf_zbee_zcl_pp_consumer_top_up_originating_device, tvb, *offset, 1, ENC_NA); *offset += 1; /* TopUp Code */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_pp_consumer_top_up_top_up_code, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &length); *offset += length; } /*dissect_zcl_pp_consumer_top_up*/ /** *This function manages the Credit Adjustment payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_credit_adjustment(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_credit_adjustment_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_credit_adjustment_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Credit Adjustment Type */ proto_tree_add_item(tree, hf_zbee_zcl_pp_credit_adjustment_credit_adjustment_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Credit Adjustment Value */ proto_tree_add_item(tree, hf_zbee_zcl_pp_credit_adjustment_credit_adjustment_value, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_credit_adjustment*/ /** *This function manages the Change Payment Mode payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_change_payment_mode(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_payment_mode_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_payment_mode_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Implementation Date/Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_change_payment_mode_implementation_date_time, tvb, *offset, 4, &start_time); *offset += 4; /* Proposed Payment Control Configuration */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pp_change_payment_mode_proposed_payment_control_configuration, ett_zbee_zcl_pp_payment_control_configuration, zbee_zcl_pp_payment_control_configuration_flags, ENC_LITTLE_ENDIAN); *offset += 2; /* Cut Off Value */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_payment_mode_cut_off_value, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_change_payment_mode*/ /** *This function manages the Get Prepay Snapshot payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_get_prepay_snapshot(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; nstime_t end_time; /* Earliest Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_get_prepay_snapshot_earliest_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Latest End Time */ end_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; end_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_get_prepay_snapshot_latest_end_time, tvb, *offset, 4, &end_time); *offset += 4; /* Snapshot Offset */ proto_tree_add_item(tree, hf_zbee_zcl_pp_get_prepay_snapshot_snapshot_offset, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Cause */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pp_get_prepay_snapshot_snapshot_cause, ett_zbee_zcl_pp_snapshot_payload_cause, zbee_zcl_pp_snapshot_payload_cause_flags, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_get_prepay_snapshot*/ /** *This function manages the Get Top Up Log payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_get_top_up_log(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t end_time; /* Latest End Time */ end_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; end_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_get_top_up_log_latest_end_time, tvb, *offset, 4, &end_time); *offset += 4; /* Number of Records */ proto_tree_add_item(tree, hf_zbee_zcl_pp_get_top_up_log_number_of_records, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_pp_get_top_up_log*/ /** *This function manages the Set Low Credit Warning Level payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_set_low_credit_warning_level(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Low Credit Warning Level */ proto_tree_add_item(tree, hf_zbee_zcl_pp_set_low_credit_warning_level_low_credit_warning_level, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_set_low_credit_warning_level*/ /** *This function manages the Get Debt Repayment Log payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_get_debt_repayment_log(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t end_time; /* Latest End Time */ end_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; end_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_get_debt_repayment_log_latest_end_time, tvb, *offset, 4, &end_time); *offset += 4; /* Number of Records */ proto_tree_add_item(tree, hf_zbee_zcl_pp_get_debt_repayment_log_number_of_debts, tvb, *offset, 1, ENC_NA); *offset += 1; /* Debt Type */ proto_tree_add_item(tree, hf_zbee_zcl_pp_get_debt_repayment_log_debt_type, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_pp_get_debt_repayment_log*/ /** *This function manages the Set Maximum Credit Limit payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_set_maximum_credit_limit(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_set_maximum_credit_limit_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_set_maximum_credit_limit_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Implementation Date/Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_set_maximum_credit_limit_implementation_date_time, tvb, *offset, 4, &start_time); *offset += 4; /* Maximum Credit Level */ proto_tree_add_item(tree, hf_zbee_zcl_pp_set_maximum_credit_limit_maximum_credit_level, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Maximum Credit Per Top Up */ proto_tree_add_item(tree, hf_zbee_zcl_pp_set_maximum_credit_limit_maximum_credit_per_top_up, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_set_maximum_credit_limit*/ /** *This function manages the Set Overall Debt Cap payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_set_overall_debt_cap(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_set_overall_debt_cap_limit_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_set_overall_debt_cap_limit_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Implementation Date/Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_set_overall_debt_cap_limit_implementation_date_time, tvb, *offset, 4, &start_time); *offset += 4; /* Overall Debt Cap */ proto_tree_add_item(tree, hf_zbee_zcl_pp_set_overall_debt_cap_limit_overall_debt_cap, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_set_overall_debt_cap*/ /** *This function manages the Publish Prepay Snapshot payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_publish_prepay_snapshot(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t snapshot_time; gint rem_len; /* Snapshot ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Snapshot Time */ snapshot_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; snapshot_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_time, tvb, *offset, 4, &snapshot_time); *offset += 4; /* Total Snapshots Found */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_prepay_snapshot_total_snapshots_found, tvb, *offset, 1, ENC_NA); *offset += 1; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_prepay_snapshot_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_prepay_snapshot_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Cause */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_cause, ett_zbee_zcl_pp_snapshot_payload_cause, zbee_zcl_pp_snapshot_payload_cause_flags, ENC_LITTLE_ENDIAN); *offset += 4; /* Snapshot Payload Type */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_payload_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Snapshot Payload */ rem_len = tvb_reported_length_remaining(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_payload, tvb, *offset, rem_len, ENC_NA); *offset += rem_len; } /*dissect_zcl_pp_publish_prepay_snapshot*/ /** *This function manages the Change Payment Mode Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_change_payment_mode_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Friendly Credit */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_payment_mode_response_friendly_credit, tvb, *offset, 1, ENC_NA); *offset += 1; /* Friendly Credit Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_payment_mode_response_friendly_credit_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Emergency Credit Limit */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_payment_mode_response_emergency_credit_limit, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Emergency Credit Threshold */ proto_tree_add_item(tree, hf_zbee_zcl_pp_change_payment_mode_response_emergency_credit_threshold, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_change_payment_mode_response*/ /** *This function manages the Consumer Top Up Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_consumer_top_up_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Result Type */ proto_tree_add_item(tree, hf_zbee_zcl_pp_consumer_top_up_response_result_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Top Up Value */ proto_tree_add_item(tree, hf_zbee_zcl_pp_consumer_top_up_response_top_up_value, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Source of Top up */ proto_tree_add_item(tree, hf_zbee_zcl_pp_consumer_top_up_response_source_of_top_up, tvb, *offset, 1, ENC_NA); *offset += 1; /* Credit Remaining */ proto_tree_add_item(tree, hf_zbee_zcl_pp_consumer_top_up_response_credit_remaining, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_pp_consumer_top_up_response*/ /** *This function manages the Publish Top Up Log payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_publish_top_up_log(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint i = 0; gint length; nstime_t top_up_time; proto_tree *sub_tree; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_top_up_log_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_top_up_log_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Top Up Payload */ while (tvb_reported_length_remaining(tvb, *offset) > 0 && i < ZBEE_ZCL_SE_PP_NUM_PUBLISH_TOP_UP_LOG_ETT) { /* Add subtree */ sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 0, ett_zbee_zcl_pp_publish_top_up_entry[i], NULL, "TopUp Log %d", i + 1); i++; /* Top Up Code */ proto_tree_add_item_ret_length(sub_tree, hf_zbee_zcl_pp_publish_top_up_log_top_up_code, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &length); *offset += length; /* Top Up Amount */ proto_tree_add_item(sub_tree, hf_zbee_zcl_pp_publish_top_up_log_top_up_amount, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Top Up Time */ top_up_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; top_up_time.nsecs = 0; proto_tree_add_time(sub_tree, hf_zbee_zcl_pp_publish_top_up_log_top_up_time, tvb, *offset, 4, &top_up_time); *offset += 4; /* Set length of subtree */ proto_item_set_end(proto_tree_get_parent(sub_tree), tvb, *offset); } } /*dissect_zcl_pp_publish_top_up_log*/ /** *This function manages the Publish Debt Log payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_pp_publish_debt_log(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint i = 0; nstime_t collection_time; proto_tree *sub_tree; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_debt_log_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_pp_publish_debt_log_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Debt Payload */ while (tvb_reported_length_remaining(tvb, *offset) > 0 && i < ZBEE_ZCL_SE_PP_NUM_PUBLISH_DEBT_LOG_ETT) { /* Add subtree */ sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 4 + 4 + 1 + 4, ett_zbee_zcl_pp_publish_debt_log_entry[i], NULL, "Debt Log %d", i + 1); i++; /* Collection Time */ collection_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; collection_time.nsecs = 0; proto_tree_add_time(sub_tree, hf_zbee_zcl_pp_publish_debt_log_collection_time, tvb, *offset, 4, &collection_time); *offset += 4; /* Amount Collected */ proto_tree_add_item(sub_tree, hf_zbee_zcl_pp_publish_debt_log_amount_collected, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Debt Type */ proto_tree_add_item(sub_tree, hf_zbee_zcl_pp_publish_debt_log_debt_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Outstanding Debt */ proto_tree_add_item(sub_tree, hf_zbee_zcl_pp_publish_debt_log_outstanding_debt, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } } /*dissect_zcl_pp_publish_debt_log*/ /** *This function registers the ZCL Prepayment dissector * */ void proto_register_zbee_zcl_pp(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_pp_attr_id, { "Attribute", "zbee_zcl_se.pp.attr_id", FT_UINT16, BASE_HEX | BASE_EXT_STRING, &zbee_zcl_pp_attr_names_ext, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_pp_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.pp.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_srv_tx_cmd_id, { "Command", "zbee_zcl_se.pp.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_pp_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_srv_rx_cmd_id, { "Command", "zbee_zcl_se.pp.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_pp_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_select_available_emc_cmd_issue_date_time, { "Command Issue Date/Time", "zbee_zcl_se.pp.select_available_emc.cmd_issue_date_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_select_available_emc_originating_device, { "Originating Device", "zbee_zcl_se.pp.select_available_emc.originating_device", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.pp.change_debt.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_label, { "Debt Label", "zbee_zcl_se.pp.change_debt.debt_label", FT_BYTES, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_amount, { "Debt Amount", "zbee_zcl_se.pp.change_debt.debt_amount", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_recovery_method, { "Debt Recovery Method", "zbee_zcl_se.pp.change_debt.recovery_method", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_amount_type, { "Debt Amount Type", "zbee_zcl_se.pp.change_debt.amount_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_recovery_start_time, { "Debt Recovery Start Time", "zbee_zcl_se.pp.change_debt.recovery_start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_recovery_collection_time, { "Debt Recovery Collection Time", "zbee_zcl_se.pp.change_debt.recovery_collection_time", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_recovery_frequency, { "Debt Recovery Frequency", "zbee_zcl_se.pp.change_debt.recovery_frequency", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_recovery_amount, { "Debt Recovery Amount", "zbee_zcl_se.pp.change_debt.recovery_amount", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_debt_recovery_balance_percentage, { "Debt Recovery Balance Percentage", "zbee_zcl_se.pp.change_debt.recovery_balance_percentage", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_emergency_credit_setup_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.pp.emc_setup.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_emergency_credit_setup_start_time, { "Start Time", "zbee_zcl_se.pp.emc_setup.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_emergency_credit_setup_emergency_credit_limit, { "Emergency Credit Limit", "zbee_zcl_se.pp.emc_setup.emc_limit", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_emergency_credit_setup_emergency_credit_threshold, { "Emergency Credit Threshold", "zbee_zcl_se.pp.emc_setup.emc_threshold", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_consumer_top_up_originating_device, { "Originating Device", "zbee_zcl_se.pp.consumer_top_up.originating_device", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_consumer_top_up_top_up_code, { "TopUp Code", "zbee_zcl_se.pp.consumer_top_up.top_up_code", FT_UINT_BYTES, SEP_COLON, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_credit_adjustment_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.pp.credit_adjustment.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_credit_adjustment_start_time, { "Start Time", "zbee_zcl_se.pp.credit_adjustment.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_credit_adjustment_credit_adjustment_type, { "Credit Adjustment Type", "zbee_zcl_se.pp.credit_adjustment.credit_adjustment_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_credit_adjustment_credit_adjustment_value, { "Credit Adjustment Value", "zbee_zcl_se.pp.credit_adjustment.credit_adjustment_value", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_provider_id, { "Provider ID", "zbee_zcl_se.pp.change_payment_mode.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.pp.change_payment_mode.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_implementation_date_time, { "Implementation Date/Time", "zbee_zcl_se.pp.change_payment_mode.implementation_date_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_proposed_payment_control_configuration, { "Proposed Payment Control Configuration", "zbee_zcl_se.pp.change_payment_mode.payment_control_configuration", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_cut_off_value, { "Cut Off Value", "zbee_zcl_se.pp.change_payment_mode.cut_off_value", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_prepay_snapshot_earliest_start_time, { "Earliest Start Time", "zbee_zcl_se.pp.get_prepay_snapshot.earliest_start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_prepay_snapshot_latest_end_time, { "Latest End Time", "zbee_zcl_se.pp.get_prepay_snapshot.latest_end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_prepay_snapshot_snapshot_offset, { "Snapshot Offset", "zbee_zcl_se.pp.get_prepay_snapshot.snapshot_offset", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_prepay_snapshot_snapshot_cause, { "Snapshot Cause", "zbee_zcl_se.pp.get_prepay_snapshot.snapshot_cause", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_top_up_log_latest_end_time, { "Latest End Time", "zbee_zcl_se.pp.get_top_up_log.latest_end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_top_up_log_number_of_records, { "Number of Records", "zbee_zcl_se.pp.get_top_up_log.number_of_records", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_low_credit_warning_level_low_credit_warning_level, { "Low Credit Warning Level", "zbee_zcl_se.pp.set_low_credit_warning_level.low_credit_warning_level", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_debt_repayment_log_latest_end_time, { "Latest End Time", "zbee_zcl_se.pp.get_debt_repayment_log.latest_end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_debt_repayment_log_number_of_debts, { "Number of Records", "zbee_zcl_se.pp.get_debt_repayment_log.number_of_records", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_get_debt_repayment_log_debt_type, { "Debt Type", "zbee_zcl_se.pp.get_debt_repayment_log.debt_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_maximum_credit_limit_provider_id, { "Provider ID", "zbee_zcl_se.pp.set_maximum_credit_limit.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_maximum_credit_limit_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.pp.set_maximum_credit_limit.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_maximum_credit_limit_implementation_date_time, { "Implementation Date/Time", "zbee_zcl_se.pp.set_maximum_credit_limit.implementation_date_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_maximum_credit_limit_maximum_credit_level, { "Maximum Credit Level", "zbee_zcl_se.pp.set_maximum_credit_limit.max_credit_level", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_maximum_credit_limit_maximum_credit_per_top_up, { "Maximum Credit Per Top Up", "zbee_zcl_se.pp.set_maximum_credit_limit.max_credit_per_top_up", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_overall_debt_cap_limit_provider_id, { "Provider ID", "zbee_zcl_se.pp.set_overall_debt_cap_limit.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_overall_debt_cap_limit_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.pp.set_overall_debt_cap_limit.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_overall_debt_cap_limit_implementation_date_time, { "Implementation Date/Time", "zbee_zcl_se.pp.set_overall_debt_cap_limit.implementation_date_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_set_overall_debt_cap_limit_overall_debt_cap, { "Overall Debt Cap", "zbee_zcl_se.pp.set_overall_debt_cap_limit.overall_debt_cap", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_id, { "Snapshot ID", "zbee_zcl_se.pp.publish_prepay_snapshot.snapshot_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_time, { "Snapshot Time", "zbee_zcl_se.pp.publish_prepay_snapshot.snapshot_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_prepay_snapshot_total_snapshots_found, { "Total Snapshots Found", "zbee_zcl_se.pp.publish_prepay_snapshot.total_snapshots_found", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_prepay_snapshot_command_index, { "Command Index", "zbee_zcl_se.pp.publish_prepay_snapshot.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_prepay_snapshot_total_number_of_commands, { "Total Number of Commands", "zbee_zcl_se.pp.publish_prepay_snapshot.total_number_of_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_cause, { "Snapshot Cause", "zbee_zcl_se.pp.publish_prepay_snapshot.snapshot_cause", FT_UINT32, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_payload_type, { "Snapshot Payload Type", "zbee_zcl_se.pp.publish_prepay_snapshot.snapshot_payload_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_prepay_snapshot_snapshot_payload, { "Snapshot Payload", "zbee_zcl_se.pp.publish_prepay_snapshot.snapshot_payload", FT_BYTES, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_response_friendly_credit, { "Friendly Credit", "zbee_zcl_se.pp.change_payment_mode_response.friendly_credit", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_response_friendly_credit_calendar_id, { "Friendly Credit Calendar ID", "zbee_zcl_se.pp.change_payment_mode_response.friendly_credit_calendar_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_response_emergency_credit_limit, { "Emergency Credit Limit", "zbee_zcl_se.pp.change_payment_mode_response.emc_limit", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_change_payment_mode_response_emergency_credit_threshold, { "Emergency Credit Threshold", "zbee_zcl_se.pp.change_payment_mode_response.emc_threshold", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_consumer_top_up_response_result_type, { "Result Type", "zbee_zcl_se.pp.consumer_top_up_response.result_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_consumer_top_up_response_top_up_value, { "Top Up Value", "zbee_zcl_se.pp.consumer_top_up_response.top_up_value", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_consumer_top_up_response_source_of_top_up, { "Source of Top up", "zbee_zcl_se.pp.consumer_top_up_response.source_of_top_up", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_consumer_top_up_response_credit_remaining, { "Credit Remaining", "zbee_zcl_se.pp.consumer_top_up_response.credit_remaining", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_top_up_log_command_index, { "Command Index", "zbee_zcl_se.pp.publish_top_up_log.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_top_up_log_total_number_of_commands, { "Total Number of Commands", "zbee_zcl_se.pp.publish_top_up_log.total_number_of_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_top_up_log_top_up_code, { "TopUp Code", "zbee_zcl_se.pp.publish_top_up_log.top_up_code", FT_UINT_BYTES, SEP_COLON, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_top_up_log_top_up_amount, { "TopUp Amount", "zbee_zcl_se.pp.publish_top_up_log.top_up_amount", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_top_up_log_top_up_time, { "TopUp Time", "zbee_zcl_se.pp.publish_top_up_log.top_up_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_debt_log_command_index, { "Command Index", "zbee_zcl_se.pp.publish_debt_log.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_debt_log_total_number_of_commands, { "Total Number of Commands", "zbee_zcl_se.pp.publish_debt_log.total_number_of_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_debt_log_collection_time, { "Collection Time", "zbee_zcl_se.pp.publish_debt_log.collection_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_debt_log_amount_collected, { "Amount Collected", "zbee_zcl_se.pp.publish_debt_log.amount_collected", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_debt_log_debt_type, { "Debt Type", "zbee_zcl_se.pp.publish_debt_log.debt_type", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_publish_debt_log_outstanding_debt, { "Outstanding Debt", "zbee_zcl_se.pp.publish_debt_log.outstanding_debt", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration, { "Payment Control Configuration", "zbee_zcl_se.pp.attr.payment_control_configuration", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_disconnection_enabled, { "Disconnection Enabled", "zbee_zcl_se.pp.attr.payment_control_configuration.disconnection_enabled", FT_BOOLEAN, 16, NULL, 0x0001, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_prepayment_enabled, { "Prepayment Enabled", "zbee_zcl_se.pp.attr.payment_control_configuration.prepayment_enabled", FT_BOOLEAN, 16, NULL, 0x0002, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_credit_management_enabled, { "Credit Management Enabled", "zbee_zcl_se.pp.attr.payment_control_configuration.credit_management_enabled", FT_BOOLEAN, 16, NULL, 0x0004, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_credit_display_enabled, { "Credit Display Enabled", "zbee_zcl_se.pp.attr.payment_control_configuration.credit_display_enabled", FT_BOOLEAN, 16, NULL, 0x0010, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_account_base, { "Account Base", "zbee_zcl_se.pp.attr.payment_control_configuration.account_base", FT_BOOLEAN, 16, NULL, 0x0040, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_contactor_fitted, { "Contactor Fitted", "zbee_zcl_se.pp.attr.payment_control_configuration.contactor_fitted", FT_BOOLEAN, 16, NULL, 0x0080, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_standing_charge_configuration, { "Standing Charge Configuration", "zbee_zcl_se.pp.attr.payment_control_configuration.standing_charge_configuration", FT_BOOLEAN, 16, NULL, 0x0100, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_emergency_standing_charge_configuration, { "Emergency Standing Charge Configuration", "zbee_zcl_se.pp.attr.payment_control_configuration.emergency_standing_charge_configuration", FT_BOOLEAN, 16, NULL, 0x0200, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_debt_configuration, { "Debt Configuration", "zbee_zcl_se.pp.attr.payment_control_configuration.debt_configuration", FT_BOOLEAN, 16, NULL, 0x0400, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_emergency_debt_configuration, { "Emergency Debt Configuration", "zbee_zcl_se.pp.attr.payment_control_configuration.emergency_debt_configuration", FT_BOOLEAN, 16, NULL, 0x0800, NULL, HFILL } }, { &hf_zbee_zcl_pp_payment_control_configuration_reserved, { "Reserved", "zbee_zcl_se.pp.attr.payment_control_configuration.reserved", FT_UINT16, BASE_HEX, NULL, 0xF028, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_general, { "General", "zbee_zcl_se.pp.snapshot_payload_cause.general", FT_BOOLEAN, 32, NULL, 0x00000001, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_end_of_billing_period, { "End of Billing Period", "zbee_zcl_se.pp.snapshot_payload_cause.end_of_billing_period", FT_BOOLEAN, 32, NULL, 0x00000002, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_tariff_information, { "Change of Tariff Information", "zbee_zcl_se.pp.snapshot_payload_cause.change_of_tariff_information", FT_BOOLEAN, 32, NULL, 0x00000008, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_price_matrix, { "Change of Price Matrix", "zbee_zcl_se.pp.snapshot_payload_cause.change_of_price_matrix", FT_BOOLEAN, 32, NULL, 0x00000010, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_manually_triggered_from_client, { "Manually Triggered from Client", "zbee_zcl_se.pp.snapshot_payload_cause.manually_triggered_from_client", FT_BOOLEAN, 32, NULL, 0x00000400, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_tenancy, { "Change of Tenancy", "zbee_zcl_se.pp.snapshot_payload_cause.change_of_tenancy", FT_BOOLEAN, 32, NULL, 0x00001000, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_supplier, { "Change of Supplier", "zbee_zcl_se.pp.snapshot_payload_cause.change_of_supplier", FT_BOOLEAN, 32, NULL, 0x00002000, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_change_of_meter_mode, { "Change of (Meter) Mode", "zbee_zcl_se.pp.snapshot_payload_cause.change_of_meter_mode", FT_BOOLEAN, 32, NULL, 0x00004000, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_top_up_addition, { "TopUp addition", "zbee_zcl_se.pp.snapshot_payload_cause.top_up_addition", FT_BOOLEAN, 32, NULL, 0x00040000, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_debt_credit_addition, { "Debt/Credit addition", "zbee_zcl_se.pp.snapshot_payload_cause.debt_credit_addition", FT_BOOLEAN, 32, NULL, 0x00080000, NULL, HFILL } }, { &hf_zbee_zcl_pp_snapshot_payload_cause_reserved, { "Reserved", "zbee_zcl_se.pp.snapshot_payload_cause.reserved", FT_UINT32, BASE_HEX, NULL, 0xFFF38BE4, NULL, HFILL } }, }; /* ZCL Prepayment subtrees */ gint *ett[ZBEE_ZCL_SE_PP_NUM_TOTAL_ETT]; ett[0] = &ett_zbee_zcl_pp; ett[1] = &ett_zbee_zcl_pp_payment_control_configuration; ett[2] = &ett_zbee_zcl_pp_snapshot_payload_cause; guint j = ZBEE_ZCL_SE_PP_NUM_INDIVIDUAL_ETT; /* Initialize Publish Top Up Log subtrees */ for (guint i = 0; i < ZBEE_ZCL_SE_PP_NUM_PUBLISH_TOP_UP_LOG_ETT; i++, j++) { ett_zbee_zcl_pp_publish_top_up_entry[i] = -1; ett[j] = &ett_zbee_zcl_pp_publish_top_up_entry[i]; } /* Initialize Publish Debt Log subtrees */ for (guint i = 0; i < ZBEE_ZCL_SE_PP_NUM_PUBLISH_DEBT_LOG_ETT; i++, j++ ) { ett_zbee_zcl_pp_publish_debt_log_entry[i] = -1; ett[j] = &ett_zbee_zcl_pp_publish_debt_log_entry[i]; } /* Register the ZigBee ZCL Prepayment cluster protocol name and description */ proto_zbee_zcl_pp = proto_register_protocol("ZigBee ZCL Prepayment", "ZCL Prepayment", ZBEE_PROTOABBREV_ZCL_PRE_PAYMENT); proto_register_field_array(proto_zbee_zcl_pp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Prepayment dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_PRE_PAYMENT, dissect_zbee_zcl_pp, proto_zbee_zcl_pp); } /*proto_register_zbee_zcl_pp*/ /** *Hands off the ZCL Prepayment dissector. * */ void proto_reg_handoff_zbee_zcl_pp(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_PRE_PAYMENT, proto_zbee_zcl_pp, ett_zbee_zcl_pp, ZBEE_ZCL_CID_PRE_PAYMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_pp_attr_id, -1, hf_zbee_zcl_pp_srv_rx_cmd_id, hf_zbee_zcl_pp_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_pp_attr_data ); } /*proto_reg_handoff_zbee_zcl_pp*/ /* ########################################################################## */ /* #### (0x0706) ENERGY MANAGEMENT CLUSTER ################################## */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_energy_management_attr_names_VALUE_STRING_LIST(XXX) \ /* Block Threshold (Delivered) Set */ \ XXX(ZBEE_ZCL_ATTR_ID_ENERGY_MANAGEMENT_LOAD_CONTROL_STATE, 0x0000, "Load Control State" ) \ XXX(ZBEE_ZCL_ATTR_ID_ENERGY_MANAGEMENT_CURRENT_EVENT_ID, 0x0001, "Current Event ID" ) \ XXX(ZBEE_ZCL_ATTR_ID_ENERGY_MANAGEMENT_CURRENT_EVENT_STATUS, 0x0002, "Current Event Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_ENERGY_MANAGEMENT_CONFORMANCE_LEVEL, 0x0003, "Conformance Level" ) \ XXX(ZBEE_ZCL_ATTR_ID_ENERGY_MANAGEMENT_MINIMUM_OFF_TIME, 0x0004, "Minimum Off Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_ENERGY_MANAGEMENT_MINIMUM_ON_TIME, 0x0005, "Minimum On Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_ENERGY_MANAGEMENT_MINIMUM_CYCLE_PERIOD, 0x0006, "Minimum Cycle Period" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_ENERGY_MANAGEMENT, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_energy_management_attr_names); VALUE_STRING_ARRAY(zbee_zcl_energy_management_attr_names); /* Server Commands Received */ #define zbee_zcl_energy_management_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_ENERGY_MANAGEMENT_MANAGE_EVENT, 0x00, "Manage Event" ) VALUE_STRING_ENUM(zbee_zcl_energy_management_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_energy_management_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_energy_management_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_ENERGY_MANAGEMENT_REPORT_EVENT_STATUS, 0x00, "Report Event Status" ) VALUE_STRING_ENUM(zbee_zcl_energy_management_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_energy_management_srv_tx_cmd_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_energy_management(void); void proto_reg_handoff_zbee_zcl_energy_management(void); static void dissect_zbee_zcl_energy_management_manage_event (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zbee_zcl_energy_management_report_event_status (tvbuff_t *tvb, proto_tree *tree, guint *offset); /* Attribute Dissector Helpers */ static void dissect_zcl_energy_management_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_energy_management = -1; static int hf_zbee_zcl_energy_management_srv_tx_cmd_id = -1; static int hf_zbee_zcl_energy_management_srv_rx_cmd_id = -1; static int hf_zbee_zcl_energy_management_attr_id = -1; static int hf_zbee_zcl_energy_management_attr_reporting_status = -1; static int hf_zbee_zcl_energy_management_issuer_event_id = -1; static int hf_zbee_zcl_energy_management_device_class = -1; static int hf_zbee_zcl_energy_management_device_class_hvac_compressor_or_furnace = -1; static int hf_zbee_zcl_energy_management_device_class_strip_heaters_baseboard_heaters = -1; static int hf_zbee_zcl_energy_management_device_class_water_heater = -1; static int hf_zbee_zcl_energy_management_device_class_pool_pump_spa_jacuzzi = -1; static int hf_zbee_zcl_energy_management_device_class_smart_appliances = -1; static int hf_zbee_zcl_energy_management_device_class_irrigation_pump = -1; static int hf_zbee_zcl_energy_management_device_class_managed_c_i_loads= -1; static int hf_zbee_zcl_energy_management_device_class_simple_misc_loads = -1; static int hf_zbee_zcl_energy_management_device_class_exterior_lighting = -1; static int hf_zbee_zcl_energy_management_device_class_interior_lighting = -1; static int hf_zbee_zcl_energy_management_device_class_electric_vehicle = -1; static int hf_zbee_zcl_energy_management_device_class_generation_systems = -1; static int hf_zbee_zcl_energy_management_device_class_reserved = -1; static int hf_zbee_zcl_energy_management_utility_enrollment_group = -1; static int hf_zbee_zcl_energy_management_action_required = -1; static int hf_zbee_zcl_energy_management_action_required_opt_out_of_event = -1; static int hf_zbee_zcl_energy_management_action_required_opt_into_event = -1; static int hf_zbee_zcl_energy_management_action_required_disable_duty_cycling = -1; static int hf_zbee_zcl_energy_management_action_required_enable_duty_cycling = -1; static int hf_zbee_zcl_energy_management_action_required_reserved = -1; static int hf_zbee_zcl_energy_management_report_event_issuer_event_id = -1; static int hf_zbee_zcl_energy_management_report_event_event_status = -1; static int hf_zbee_zcl_energy_management_report_event_event_status_time = -1; static int hf_zbee_zcl_energy_management_report_event_criticality_level_applied = -1; static int hf_zbee_zcl_energy_management_report_event_cooling_temp_set_point_applied = -1; static int hf_zbee_zcl_energy_management_report_event_heating_temp_set_point_applied = -1; static int hf_zbee_zcl_energy_management_report_event_average_load_adjustment_percentage = -1; static int hf_zbee_zcl_energy_management_report_event_duty_cycle = -1; static int hf_zbee_zcl_energy_management_report_event_event_control = -1; static int hf_zbee_zcl_energy_management_report_event_event_control_randomize_start_time = -1; static int hf_zbee_zcl_energy_management_report_event_event_control_randomize_duration_time = -1; static int hf_zbee_zcl_energy_management_report_event_event_control_reserved = -1; static int* const zbee_zcl_energy_management_device_classes[] = { &hf_zbee_zcl_energy_management_device_class_hvac_compressor_or_furnace, &hf_zbee_zcl_energy_management_device_class_strip_heaters_baseboard_heaters, &hf_zbee_zcl_energy_management_device_class_water_heater, &hf_zbee_zcl_energy_management_device_class_pool_pump_spa_jacuzzi, &hf_zbee_zcl_energy_management_device_class_smart_appliances, &hf_zbee_zcl_energy_management_device_class_irrigation_pump, &hf_zbee_zcl_energy_management_device_class_managed_c_i_loads, &hf_zbee_zcl_energy_management_device_class_simple_misc_loads, &hf_zbee_zcl_energy_management_device_class_exterior_lighting, &hf_zbee_zcl_energy_management_device_class_interior_lighting, &hf_zbee_zcl_energy_management_device_class_electric_vehicle, &hf_zbee_zcl_energy_management_device_class_generation_systems, &hf_zbee_zcl_energy_management_device_class_reserved, NULL }; static int* const zbee_zcl_energy_management_action_required[] = { &hf_zbee_zcl_energy_management_action_required_opt_out_of_event, &hf_zbee_zcl_energy_management_action_required_opt_into_event, &hf_zbee_zcl_energy_management_action_required_disable_duty_cycling, &hf_zbee_zcl_energy_management_action_required_enable_duty_cycling, &hf_zbee_zcl_energy_management_action_required_reserved, NULL }; static int* const hf_zbee_zcl_energy_management_event_control_flags[] = { &hf_zbee_zcl_energy_management_report_event_event_control_randomize_start_time, &hf_zbee_zcl_energy_management_report_event_event_control_randomize_duration_time, &hf_zbee_zcl_energy_management_report_event_event_control_reserved, NULL }; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_energy_management = -1; static gint ett_zbee_zcl_energy_management_device_class = -1; static gint ett_zbee_zcl_energy_management_actions_required = -1; static gint ett_zbee_zcl_energy_management_report_event_event_control = -1; static const range_string zbee_zcl_energy_management_load_control_event_criticality_level[] = { { 0x0, 0x0, "Reserved" }, { 0x1, 0x1, "Green" }, { 0x2, 0x2, "1" }, { 0x3, 0x3, "2" }, { 0x4, 0x4, "3" }, { 0x5, 0x5, "4" }, { 0x6, 0x6, "5" }, { 0x7, 0x7, "Emergency" }, { 0x8, 0x8, "Planned Outage" }, { 0x9, 0x9, "Service Disconnect" }, { 0x0A, 0x0F, "Utility Defined" }, { 0x10, 0xFF, "Reserved" }, { 0, 0, NULL } }; /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_energy_management_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_ENERGY_MANAGEMENT: proto_tree_add_item(tree, hf_zbee_zcl_energy_management_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_energy_management_attr_data*/ /** *ZigBee ZCL Energy Management cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to buffer offset */ static void dissect_zbee_zcl_energy_management_manage_event(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Device Class */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_energy_management_device_class, ett_zbee_zcl_energy_management_device_class, zbee_zcl_energy_management_device_classes, ENC_LITTLE_ENDIAN); *offset += 2; /* Utility Enrollment Group */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_utility_enrollment_group, tvb, *offset, 1, ENC_NA); *offset += 1; /* Action(s) Required */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_energy_management_action_required, ett_zbee_zcl_energy_management_actions_required, zbee_zcl_energy_management_action_required, ENC_NA); *offset += 1; } /** *ZigBee ZCL Energy Management cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to buffer offset */ static void dissect_zbee_zcl_energy_management_report_event_status(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Event Control */ nstime_t event_status_time; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_report_event_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Event Status */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_report_event_event_status, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event Status Time */ event_status_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; event_status_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_energy_management_report_event_event_status_time, tvb, *offset, 4, &event_status_time); *offset += 4; /* Criticality Level Applied */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_report_event_criticality_level_applied, tvb, *offset, 1, ENC_NA); *offset += 1; /* Cooling Temperature Set Point Applied */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_report_event_cooling_temp_set_point_applied, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Heating Temperature Set Point Applied */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_report_event_heating_temp_set_point_applied, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Average Load Adjustment Percentage Applied */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_report_event_average_load_adjustment_percentage, tvb, *offset, 1, ENC_NA); *offset += 1; /* Duty Cycle Applied */ proto_tree_add_item(tree, hf_zbee_zcl_energy_management_report_event_duty_cycle, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event Control */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_energy_management_report_event_event_control, ett_zbee_zcl_energy_management_report_event_event_control, hf_zbee_zcl_energy_management_event_control_flags, ENC_LITTLE_ENDIAN); *offset += 1; } /*dissect_zbee_zcl_energy_management_report_event_status*/ /** *ZigBee ZCL Energy Management cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_energy_management(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_energy_management_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_energy_management_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_energy_management, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_ENERGY_MANAGEMENT_MANAGE_EVENT: dissect_zbee_zcl_energy_management_manage_event(tvb, tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_energy_management_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_energy_management_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_energy_management, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_ENERGY_MANAGEMENT_REPORT_EVENT_STATUS: dissect_zbee_zcl_energy_management_report_event_status(tvb, tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_energy_management*/ /** *This function registers the ZCL Energy_Management dissector * */ void proto_register_zbee_zcl_energy_management(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_energy_management_attr_id, { "Attribute", "zbee_zcl_se.energy_management.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_energy_management_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.energy_management.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_srv_tx_cmd_id, { "Command", "zbee_zcl_se.energy_management.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_energy_management_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_srv_rx_cmd_id, { "Command", "zbee_zcl_se.energy_management.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_energy_management_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.energy_management.issuer_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class, { "Device Class", "zbee_zcl_se.energy_management.device_class", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_hvac_compressor_or_furnace, { "HVAC Compressor or Furnace", "zbee_zcl_se.energy_management.device_class.hvac_compressor_or_furnace", FT_BOOLEAN, 16, NULL, 0x0001, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_strip_heaters_baseboard_heaters, { "Strip Heaters/Baseboard Heaters", "zbee_zcl_se.energy_management.device_class.strip_heaters_baseboard_heaters", FT_BOOLEAN, 16, NULL, 0x0002, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_water_heater, { "Water Heater", "zbee_zcl_se.energy_management.device_class.water_heater", FT_BOOLEAN, 16, NULL, 0x0004, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_pool_pump_spa_jacuzzi, { "Pool Pump/Spa/Jacuzzi", "zbee_zcl_se.energy_management.device_class.pool_pump_spa_jacuzzi", FT_BOOLEAN, 16, NULL, 0x0008, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_smart_appliances, { "Smart Appliances", "zbee_zcl_se.energy_management.device_class.smart_appliances", FT_BOOLEAN, 16, NULL, 0x0010, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_irrigation_pump, { "Irrigation Pump", "zbee_zcl_se.energy_management.device_class.irrigation_pump", FT_BOOLEAN, 16, NULL, 0x0020, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_managed_c_i_loads, { "Managed Commercial & Industrial (C&I) loads", "zbee_zcl_se.energy_management.device_class.managed_c_i_loads", FT_BOOLEAN, 16, NULL, 0x0040, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_simple_misc_loads, { "Simple misc. (Residential On/Off) loads", "zbee_zcl_se.energy_management.device_class.simple_misc_loads", FT_BOOLEAN, 16, NULL, 0x0080, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_exterior_lighting, { "Exterior Lighting", "zbee_zcl_se.energy_management.device_class.exterior_lighting", FT_BOOLEAN, 16, NULL, 0x0100, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_interior_lighting, { "Interior Lighting", "zbee_zcl_se.energy_management.device_class.interior_lighting", FT_BOOLEAN, 16, NULL, 0x0200, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_electric_vehicle, { "Electric Vehicle", "zbee_zcl_se.energy_management.device_class.electric_vehicle", FT_BOOLEAN, 16, NULL, 0x0400, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_generation_systems, { "Generation Systems", "zbee_zcl_se.energy_management.device_class.generation_systems", FT_BOOLEAN, 16, NULL, 0x0800, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_device_class_reserved , { "Reserved", "zbee_zcl_se.energy_management.device_class.reserved", FT_UINT16, BASE_HEX, NULL, 0xF000, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_utility_enrollment_group, { "Utility Enrollment Group", "zbee_zcl_se.energy_management.utility_enrollment_group", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_action_required, { "Action(s) Required", "zbee_zcl_se.energy_management.action_required", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_action_required_opt_out_of_event, { "Opt Out of Event", "zbee_zcl_se.energy_management.action_required.opt_out_of_event", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_action_required_opt_into_event, { "Opt Into Event", "zbee_zcl_se.energy_management.action_required.opt_into_event", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_action_required_disable_duty_cycling, { "Disable Duty Cycling", "zbee_zcl_se.energy_management.action_required.disable_duty_cycling", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_action_required_enable_duty_cycling, { "Enable Duty Cycling", "zbee_zcl_se.energy_management.action_required.enable_duty_cycling", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_action_required_reserved, { "Reserved", "zbee_zcl_se.energy_management.action_required.reserved", FT_UINT8, BASE_HEX, NULL, 0xF0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.energy_management.report_event.issuer_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_event_status, { "Event Status", "zbee_zcl_se.energy_management.report_event.event_status", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_event_status_time, { "Event Status Time", "zbee_zcl_se.energy_management.report_event.event_status_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_criticality_level_applied , { "Criticality Level Applied", "zbee_zcl_se.energy_management.report_event.criticality_level_applied", FT_UINT8, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_zcl_energy_management_load_control_event_criticality_level), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_cooling_temp_set_point_applied, { "Cooling Temperature Set Point Applied", "zbee_zcl_se.energy_management.report_event.cooling_temperature_set_point_applied", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_temp_set_point), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_heating_temp_set_point_applied, { "Heating Temperature Set Point Applied", "zbee_zcl_se.energy_management.report_event.heating_temperature_set_point_applied", FT_INT16, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_temp_set_point), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_average_load_adjustment_percentage , { "Average Load Adjustment Percentage Applied", "zbee_zcl_se.energy_management.report_event.average_load_adjustment_percentage_applied", FT_INT8, BASE_CUSTOM, CF_FUNC(decode_zcl_drlc_average_load_adjustment_percentage), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_duty_cycle, { "Duty Cycle Applied", "zbee_zcl_se.energy_management.report_event.duty_cycle_applied", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_event_control, { "Event Control", "zbee_zcl_se.energy_management.report_event.event_control", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_event_control_randomize_start_time, { "Randomize Start time", "zbee_zcl_se.energy_management.report_event.randomize_start_time", FT_BOOLEAN, 8, TFS(&zbee_zcl_drlc_randomize_start_tfs), 0x01, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_event_control_randomize_duration_time, { "Randomize Duration time", "zbee_zcl_se.energy_management.report_event.randomize_duration_time", FT_BOOLEAN, 8, TFS(&zbee_zcl_drlc_randomize_duration_tfs), 0x02, NULL, HFILL } }, { &hf_zbee_zcl_energy_management_report_event_event_control_reserved, { "Reserved", "zbee_zcl_se.energy_management.reserved", FT_UINT8, BASE_HEX, NULL, 0xFC, NULL, HFILL } }, }; /* ZCL Energy_Management subtrees */ gint *ett[] = { &ett_zbee_zcl_energy_management, &ett_zbee_zcl_energy_management_device_class, &ett_zbee_zcl_energy_management_actions_required, &ett_zbee_zcl_energy_management_report_event_event_control, }; /* Register the ZigBee ZCL Energy Management cluster protocol name and description */ proto_zbee_zcl_energy_management = proto_register_protocol("ZigBee ZCL Energy Management", "ZCL Energy Management", ZBEE_PROTOABBREV_ZCL_ENERGY_MANAGEMENT); proto_register_field_array(proto_zbee_zcl_energy_management, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Energy Management dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_ENERGY_MANAGEMENT, dissect_zbee_zcl_energy_management, proto_zbee_zcl_energy_management); } /*proto_register_zbee_zcl_energy_management*/ /** *Hands off the ZCL Energy_Management dissector. * */ void proto_reg_handoff_zbee_zcl_energy_management(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_ENERGY_MANAGEMENT, proto_zbee_zcl_energy_management, ett_zbee_zcl_energy_management, ZBEE_ZCL_CID_ENERGY_MANAGEMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_energy_management_attr_id, -1, hf_zbee_zcl_energy_management_srv_rx_cmd_id, hf_zbee_zcl_energy_management_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_energy_management_attr_data ); } /*proto_reg_handoff_zbee_zcl_energy_management*/ /* ########################################################################## */ /* #### (0x0707) CALENDAR CLUSTER ########################################### */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_calendar_attr_names_VALUE_STRING_LIST(XXX) \ /* Auxiliary Switch Label Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_CAL_AUX_SWITCH_1_LABEL, 0x0000, "Aux Switch 1 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_CAL_AUX_SWITCH_2_LABEL, 0x0001, "Aux Switch 2 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_CAL_AUX_SWITCH_3_LABEL, 0x0002, "Aux Switch 3 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_CAL_AUX_SWITCH_4_LABEL, 0x0003, "Aux Switch 4 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_CAL_AUX_SWITCH_5_LABEL, 0x0004, "Aux Switch 5 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_CAL_AUX_SWITCH_6_LABEL, 0x0005, "Aux Switch 6 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_CAL_AUX_SWITCH_7_LABEL, 0x0006, "Aux Switch 7 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_CAL_AUX_SWITCH_8_LABEL, 0x0007, "Aux Switch 8 Label" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_CAL, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_calendar_attr_names); VALUE_STRING_ARRAY(zbee_zcl_calendar_attr_names); /* Server Commands Received */ #define zbee_zcl_calendar_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_CAL_GET_CALENDAR, 0x00, "Get Calendar" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_GET_DAY_PROFILES, 0x01, "Get Day Profiles" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_GET_WEEK_PROFILES, 0x02, "Get Week Profiles" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_GET_SEASONS, 0x03, "Get Seasons" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_GET_SPECIAL_DAYS, 0x04, "Get Special Days" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_GET_CALENDAR_CANCELLATION, 0x05, "Get Calendar Cancellation" ) VALUE_STRING_ENUM(zbee_zcl_calendar_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_calendar_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_calendar_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_CAL_PUBLISH_CALENDAR, 0x00, "Publish Calendar" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_PUBLISH_DAY_PROFILE, 0x01, "Publish Day Profile" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_PUBLISH_WEEK_PROFILE, 0x02, "Publish Week Profile" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_PUBLISH_SEASONS, 0x03, "Publish Seasons" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_PUBLISH_SPECIAL_DAYS, 0x04, "Publish Special Days" ) \ XXX(ZBEE_ZCL_CMD_ID_CAL_CANCEL_CALENDAR, 0x05, "Cancel Calendar" ) VALUE_STRING_ENUM(zbee_zcl_calendar_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_calendar_srv_tx_cmd_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_calendar(void); void proto_reg_handoff_zbee_zcl_calendar(void); /* Attribute Dissector Helpers */ static void dissect_zcl_calendar_attr_data (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Command Dissector Helpers */ static void dissect_zcl_calendar_get_calendar (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_get_day_profiles(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_get_week_profiles(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_get_seasons(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_get_special_days(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_publish_calendar(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_publish_day_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_publish_week_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_publish_seasons(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_publish_special_days(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_calendar_cancel(tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_calendar = -1; static int hf_zbee_zcl_calendar_srv_tx_cmd_id = -1; static int hf_zbee_zcl_calendar_srv_rx_cmd_id = -1; static int hf_zbee_zcl_calendar_attr_id = -1; static int hf_zbee_zcl_calendar_attr_reporting_status = -1; static int hf_zbee_zcl_calendar_type = -1; static int hf_zbee_zcl_calendar_start_time = -1; static int hf_zbee_zcl_calendar_earliest_start_time = -1; static int hf_zbee_zcl_calendar_time_reference = -1; static int hf_zbee_zcl_calendar_name = -1; static int hf_zbee_zcl_calendar_command_index = -1; static int hf_zbee_zcl_calendar_date_year = -1; static int hf_zbee_zcl_calendar_date_month = -1; static int hf_zbee_zcl_calendar_date_month_day = -1; static int hf_zbee_zcl_calendar_date_week_day = -1; static int hf_zbee_zcl_calendar_provider_id = -1; static int hf_zbee_zcl_calendar_issuer_event_id = -1; static int hf_zbee_zcl_calendar_min_issuer_event_id = -1; static int hf_zbee_zcl_calendar_issuer_calendar_id = -1; static int hf_zbee_zcl_calendar_day_id = -1; static int hf_zbee_zcl_calendar_day_id_ref = -1; static int hf_zbee_zcl_calendar_day_id_ref_monday = -1; static int hf_zbee_zcl_calendar_day_id_ref_tuesday = -1; static int hf_zbee_zcl_calendar_day_id_ref_wednesday = -1; static int hf_zbee_zcl_calendar_day_id_ref_thursday = -1; static int hf_zbee_zcl_calendar_day_id_ref_friday = -1; static int hf_zbee_zcl_calendar_day_id_ref_saturday = -1; static int hf_zbee_zcl_calendar_day_id_ref_sunday = -1; static int hf_zbee_zcl_calendar_week_id = -1; static int hf_zbee_zcl_calendar_week_id_ref = -1; static int hf_zbee_zcl_calendar_start_day_id = -1; static int hf_zbee_zcl_calendar_start_week_id = -1; static int hf_zbee_zcl_calendar_number_of_calendars = -1; static int hf_zbee_zcl_calendar_number_of_events = -1; static int hf_zbee_zcl_calendar_number_of_days = -1; static int hf_zbee_zcl_calendar_number_of_weeks = -1; static int hf_zbee_zcl_calendar_number_of_seasons = -1; static int hf_zbee_zcl_calendar_number_of_day_profiles = -1; static int hf_zbee_zcl_calendar_number_of_week_profiles = -1; static int hf_zbee_zcl_calendar_total_number_of_schedule_entries = -1; static int hf_zbee_zcl_calendar_total_number_of_special_days = -1; static int hf_zbee_zcl_calendar_total_number_of_commands = -1; static int hf_zbee_zcl_calendar_schedule_entry_start_time = -1; static int hf_zbee_zcl_calendar_schedule_entry_price_tier = -1; static int hf_zbee_zcl_calendar_schedule_entry_friendly_credit_enable = -1; static int hf_zbee_zcl_calendar_schedule_entry_auxiliary_load_switch_state = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_calendar = -1; static gint ett_zbee_zcl_calendar_special_day_date = -1; static gint ett_zbee_zcl_calendar_season_start_date = -1; #define zbee_zcl_calendar_type_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CALENDAR_TYPE_DELIVERED, 0x00, "Delivered Calendar" ) \ XXX(ZBEE_ZCL_CALENDAR_TYPE_RECEIVED, 0x01, "Received Calendar" ) \ XXX(ZBEE_ZCL_CALENDAR_TYPE_DELIVERED_AND_RECEIVED, 0x02, "Delivered and Received Calendar" ) \ XXX(ZBEE_ZCL_CALENDAR_TYPE_FRIENDLY_CREDIT, 0x03, "Friendly Credit Calendar" ) \ XXX(ZBEE_ZCL_CALENDAR_TYPE_AUXILIARY_LOAD_SWITCH, 0x04, "Auxiliary Load Switch Calendar" ) VALUE_STRING_ENUM(zbee_zcl_calendar_type_names); VALUE_STRING_ARRAY(zbee_zcl_calendar_type_names); #define zbee_zcl_calendar_time_reference_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CALENDAR_TIME_REFERENCE_UTC_TIME, 0x00, "UTC Time" ) \ XXX(ZBEE_ZCL_CALENDAR_TIME_REFERENCE_STANDARD_TIME, 0x01, "Standard Time" ) \ XXX(ZBEE_ZCL_CALENDAR_TIME_REFERENCE_LOCAL_TIME, 0x02, "Local Time" ) VALUE_STRING_ENUM(zbee_zcl_calendar_time_reference_names); VALUE_STRING_ARRAY(zbee_zcl_calendar_time_reference_names); /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_calendar_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_CAL: proto_tree_add_item(tree, hf_zbee_zcl_calendar_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_calendar_attr_data*/ /** *ZigBee ZCL Calendar cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_calendar(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_calendar_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_calendar_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_calendar, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_CAL_GET_CALENDAR: dissect_zcl_calendar_get_calendar(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_GET_DAY_PROFILES: dissect_zcl_calendar_get_day_profiles(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_GET_WEEK_PROFILES: dissect_zcl_calendar_get_week_profiles(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_GET_SEASONS: dissect_zcl_calendar_get_seasons(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_GET_SPECIAL_DAYS: dissect_zcl_calendar_get_special_days(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_GET_CALENDAR_CANCELLATION: /* No Payload */ break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_calendar_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_calendar_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_calendar, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_CAL_PUBLISH_CALENDAR: dissect_zcl_calendar_publish_calendar(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_PUBLISH_DAY_PROFILE: dissect_zcl_calendar_publish_day_profile(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_PUBLISH_WEEK_PROFILE: dissect_zcl_calendar_publish_week_profile(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_PUBLISH_SEASONS: dissect_zcl_calendar_publish_seasons(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_PUBLISH_SPECIAL_DAYS: dissect_zcl_calendar_publish_special_days(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_CAL_CANCEL_CALENDAR: dissect_zcl_calendar_cancel(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_calendar*/ /** *This function manages the Get Calendar payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_get_calendar(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t earliest_start_time; /* Earliest Start Time */ earliest_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; earliest_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_calendar_earliest_start_time, tvb, *offset, 4, &earliest_start_time); *offset += 4; /* Min Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_min_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Number of Calendars */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_number_of_calendars, tvb, *offset, 1, ENC_NA); *offset += 1; /* Calendar Type */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_calendar_get_calendar*/ /** *This function manages the Get Day Profiles payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_get_day_profiles(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Day Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_start_day_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Days */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_number_of_days, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_calendar_get_day_profiles*/ /** *This function manages the Get Week Profiles payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_get_week_profiles(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Week Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_start_week_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Weeks */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_number_of_weeks, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_calendar_get_week_profiles*/ /** *This function manages the Get Seasons payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_get_seasons(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_calendar_get_seasons*/ /** *This function manages the Get Special Days payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_get_special_days(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_calendar_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Number of Events */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_number_of_events, tvb, *offset, 1, ENC_NA); *offset += 1; /* Calendar Type */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_calendar_get_special_days*/ /** *This function manages the Publish Calendar payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_publish_calendar(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; int length; /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_calendar_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Calendar Type */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Calendar Time Reference */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_time_reference, tvb, *offset, 1, ENC_NA); *offset += 1; /* Calendar Name */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_calendar_name, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &length); *offset += length; /* Number of Seasons */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_number_of_seasons, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Week Profiles */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_number_of_week_profiles, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Day Profiles */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_number_of_day_profiles, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_calendar_publish_calendar*/ /** *This function manages the Publish Day Profile payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_publish_day_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 schedule_entries_count; guint8 calendar_type; /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Day ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Schedule Entries */ schedule_entries_count = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_calendar_total_number_of_schedule_entries, tvb, *offset, 1, ENC_NA); *offset += 1; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Calendar Type */ calendar_type = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_calendar_type, tvb, *offset, 1, ENC_NA); *offset += 1; for (gint i = 0; tvb_reported_length_remaining(tvb, *offset) >= 3 && i < schedule_entries_count; i++) { /* Start Time */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_schedule_entry_start_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; switch (calendar_type) { /* Rate Start Time */ case ZBEE_ZCL_CALENDAR_TYPE_DELIVERED: case ZBEE_ZCL_CALENDAR_TYPE_RECEIVED: case ZBEE_ZCL_CALENDAR_TYPE_DELIVERED_AND_RECEIVED: /* Price Tier */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_schedule_entry_price_tier, tvb, *offset, 1, ENC_NA); *offset += 1; break; /* Friendly Credit Start Time */ case ZBEE_ZCL_CALENDAR_TYPE_FRIENDLY_CREDIT: /* Price Tier */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_schedule_entry_friendly_credit_enable, tvb, *offset, 1, ENC_NA); *offset += 1; break; /* Auxiliary Load Start Time */ case ZBEE_ZCL_CALENDAR_TYPE_AUXILIARY_LOAD_SWITCH: /* Price Tier */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_schedule_entry_auxiliary_load_switch_state, tvb, *offset, 1, ENC_NA); *offset += 1; break; } } } /*dissect_zcl_calendar_publish_day_profile*/ /** *This function manages the Publish Week Profile payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_publish_week_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Week ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_week_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Day ID Ref Monday */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id_ref_monday, tvb, *offset, 1, ENC_NA); *offset += 1; /* Day ID Ref Tuesday */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id_ref_tuesday, tvb, *offset, 1, ENC_NA); *offset += 1; /* Day ID Ref Wednesday */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id_ref_wednesday, tvb, *offset, 1, ENC_NA); *offset += 1; /* Day ID Ref Thursday */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id_ref_thursday, tvb, *offset, 1, ENC_NA); *offset += 1; /* Day ID Ref Friday */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id_ref_friday, tvb, *offset, 1, ENC_NA); *offset += 1; /* Day ID Ref Saturday */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id_ref_saturday, tvb, *offset, 1, ENC_NA); *offset += 1; /* Day ID Ref Sunday */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id_ref_sunday, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_calendar_publish_week_profile*/ /** *This function manages the Publish Season Profile payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_publish_seasons(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; while (tvb_reported_length_remaining(tvb, *offset) >= 5) { /* Season Start Date */ dissect_zcl_date(tvb, tree, offset, ett_zbee_zcl_calendar_season_start_date, "Season Start Date", hf_zbee_zcl_calendar_date_year, hf_zbee_zcl_calendar_date_month, hf_zbee_zcl_calendar_date_month_day, hf_zbee_zcl_calendar_date_week_day); /* Week ID Ref */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_week_id_ref, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_calendar_publish_seasons*/ /** *This function manages the Publish Special Days payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_publish_special_days(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 total_special_days_count; nstime_t start_time; /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_calendar_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Calendar Type */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Special Days */ total_special_days_count = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_calendar_total_number_of_special_days, tvb, *offset, 1, ENC_NA); *offset += 1; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_total_number_of_commands, tvb, *offset, 1, ENC_NA); *offset += 1; for (gint i = 0; tvb_reported_length_remaining(tvb, *offset) >= 5 && i < total_special_days_count; i++) { /* Special Day Date */ dissect_zcl_date(tvb, tree, offset, ett_zbee_zcl_calendar_special_day_date, "Special Day Date", hf_zbee_zcl_calendar_date_year, hf_zbee_zcl_calendar_date_month, hf_zbee_zcl_calendar_date_month_day, hf_zbee_zcl_calendar_date_week_day); /* Day ID Ref */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_day_id_ref, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_calendar_publish_special_days*/ /** *This function manages the Cancel Calendar payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_calendar_cancel(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_issuer_calendar_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Calendar Type */ proto_tree_add_item(tree, hf_zbee_zcl_calendar_type, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_calendar_cancel*/ /** *This function registers the ZCL Calendar dissector * */ void proto_register_zbee_zcl_calendar(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_calendar_attr_id, { "Attribute", "zbee_zcl_se.calendar.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_calendar_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_calendar_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.calendar.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_srv_tx_cmd_id, { "Command", "zbee_zcl_se.calendar.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_calendar_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_srv_rx_cmd_id, { "Command", "zbee_zcl_se.calendar.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_calendar_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_type, { "Calendar Type", "zbee_zcl_se.calendar.type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_calendar_type_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_start_time, { "Start Time", "zbee_zcl_se.calendar.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_earliest_start_time, { "Earliest Start Time", "zbee_zcl_se.calendar.earliest_start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_time_reference, { "Calendar Time Reference", "zbee_zcl_se.calendar.time_reference", FT_UINT8, BASE_HEX, VALS(zbee_zcl_calendar_time_reference_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_name, { "Calendar Name", "zbee_zcl_se.calendar.name", FT_UINT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_command_index, { "Command Index", "zbee_zcl_se.calendar.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_date_year, { "Year", "zbee_zcl_se.calendar.date.year", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_date_month, { "Month", "zbee_zcl_se.calendar.date.month", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_date_month_day, { "Month Day", "zbee_zcl_se.calendar.date.month_day", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_date_week_day, { "Week Day", "zbee_zcl_se.calendar.date.week_day", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_provider_id, { "Provider ID", "zbee_zcl_se.calendar.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.calendar.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_min_issuer_event_id, { "Min. Issuer Event ID", "zbee_zcl_se.calendar.min_issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_issuer_calendar_id, { "Issuer Calendar ID", "zbee_zcl_se.calendar.issuer_calendar_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id, { "Day ID", "zbee_zcl_se.calendar.day_id", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id_ref, { "Day ID Ref", "zbee_zcl_se.calendar.day_id_ref", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id_ref_monday, { "Day ID Ref Monday", "zbee_zcl_se.calendar.day_id_ref_monday", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id_ref_tuesday, { "Day ID Ref Tuesday", "zbee_zcl_se.calendar.day_id_ref_tuesday", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id_ref_wednesday, { "Day ID Ref Wednesday", "zbee_zcl_se.calendar.day_id_ref_wednesday", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id_ref_thursday, { "Day ID Ref Thursday", "zbee_zcl_se.calendar.day_id_ref_thursday", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id_ref_friday, { "Day ID Ref Friday", "zbee_zcl_se.calendar.day_id_ref_friday", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id_ref_saturday, { "Day ID Ref Saturday", "zbee_zcl_se.calendar.day_id_ref_saturday", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_day_id_ref_sunday, { "Day ID Ref Sunday", "zbee_zcl_se.calendar.day_id_ref_sunday", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_week_id, { "Week ID", "zbee_zcl_se.calendar.week_id", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_week_id_ref, { "Week ID Ref", "zbee_zcl_se.calendar.week_id_ref", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_start_day_id, { "Start Day ID", "zbee_zcl_se.calendar.start_day_id", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_start_week_id, { "Start Week ID", "zbee_zcl_se.calendar.start_week_id", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_number_of_calendars, { "Number of Calendars", "zbee_zcl_se.calendar.number_of_calendars", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_number_of_events, { "Number of Events", "zbee_zcl_se.calendar.number_of_events", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_number_of_days, { "Number of Days", "zbee_zcl_se.calendar.number_of_days", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_number_of_weeks, { "Number of Weeks", "zbee_zcl_se.calendar.number_of_weeks", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_number_of_seasons, { "Number of Seasons", "zbee_zcl_se.calendar.number_of_seasons", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_number_of_day_profiles, { "Number of Day Profiles", "zbee_zcl_se.calendar.number_of_day_profiles", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_number_of_week_profiles, { "Number of Week Profiles", "zbee_zcl_se.calendar.number_of_week_profiles", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_total_number_of_schedule_entries, { "Total Number of Schedule Entries", "zbee_zcl_se.calendar.total_number_of_schedule_entries", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_total_number_of_special_days, { "Total Number of Special Days", "zbee_zcl_se.calendar.total_number_of_special_days", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_total_number_of_commands, { "Total Number of Commands", "zbee_zcl_se.calendar.total_number_of_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_schedule_entry_start_time, { "Start Time", "zbee_zcl_se.calendar.schedule_entry.start_time", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_schedule_entry_price_tier, { "Price Tier", "zbee_zcl_se.calendar.schedule_entry.price_tier", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_schedule_entry_friendly_credit_enable, { "Friendly Credit Enable", "zbee_zcl_se.calendar.schedule_entry.friendly_credit_enable", FT_BOOLEAN, 8, TFS(&tfs_enabled_disabled), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_calendar_schedule_entry_auxiliary_load_switch_state, { "Auxiliary Load Switch State", "zbee_zcl_se.calendar.schedule_entry.auxiliary_load_switch_state", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, }; /* ZCL Calendar subtrees */ gint *ett[] = { &ett_zbee_zcl_calendar, &ett_zbee_zcl_calendar_special_day_date, &ett_zbee_zcl_calendar_season_start_date, }; /* Register the ZigBee ZCL Calendar cluster protocol name and description */ proto_zbee_zcl_calendar = proto_register_protocol("ZigBee ZCL Calendar", "ZCL Calendar", ZBEE_PROTOABBREV_ZCL_CALENDAR); proto_register_field_array(proto_zbee_zcl_calendar, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Calendar dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_CALENDAR, dissect_zbee_zcl_calendar, proto_zbee_zcl_calendar); } /*proto_register_zbee_zcl_calendar*/ /** *Hands off the ZCL Calendar dissector. * */ void proto_reg_handoff_zbee_zcl_calendar(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_CALENDAR, proto_zbee_zcl_calendar, ett_zbee_zcl_calendar, ZBEE_ZCL_CID_CALENDAR, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_calendar_attr_id, -1, hf_zbee_zcl_calendar_srv_rx_cmd_id, hf_zbee_zcl_calendar_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_calendar_attr_data ); } /*proto_reg_handoff_zbee_zcl_calendar*/ /* ----------------------- Daily Schedule cluster ---------------------- */ /* Attributes */ #define zbee_zcl_daily_schedule_attr_names_VALUE_STRING_LIST(XXX) \ /* Auxiliary Switch Label Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DSH_AUX_SWITCH_1_LABEL, 0x0000, "Aux Switch 1 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_AUX_SWITCH_2_LABEL, 0x0001, "Aux Switch 2 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_AUX_SWITCH_3_LABEL, 0x0002, "Aux Switch 3 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_AUX_SWITCH_4_LABEL, 0x0003, "Aux Switch 4 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_AUX_SWITCH_5_LABEL, 0x0004, "Aux Switch 5 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_AUX_SWITCH_6_LABEL, 0x0005, "Aux Switch 6 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_AUX_SWITCH_7_LABEL, 0x0006, "Aux Switch 7 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_AUX_SWITCH_8_LABEL, 0x0007, "Aux Switch 8 Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_CURRENT_AUX_LOAD_SWITCH_STATE, 0x0100, "Current Auxiliary Load Switch State" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_CURRENT_DELIVERED_TIER, 0x0101, "Current Delivered Tier" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_CURRENT_TIER_LABEL, 0x0102, "Current Tier Label" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_LINKY_PEAK_PERIOD_STATUS, 0x0103, "Linky Peak Period Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_PEAK_START_TIME, 0x0104, "Peak Start Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_PEAK_END_TIME, 0x0105, "Peak End Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_DSH_CURRENT_TARIFF_LABEL, 0x0106, "Current Tariff Label" ) \ VALUE_STRING_ENUM(zbee_zcl_daily_schedule_attr_names); VALUE_STRING_ARRAY(zbee_zcl_daily_schedule_attr_names); /* Server Commands Received */ #define zbee_zcl_daily_schedule_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_DSH_GET_SCHEDULE, 0x00, "Get Schedule" ) \ XXX(ZBEE_ZCL_CMD_ID_DSH_GET_DAY_PROFILE, 0x01, "Get Day Profile" ) \ XXX(ZBEE_ZCL_CMD_ID_DSH_GET_SCHEDULE_CANCELLATION, 0x05, "Get Schedule Cancellation" ) \ VALUE_STRING_ENUM(zbee_zcl_daily_schedule_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_daily_schedule_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_daily_schedule_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_DSH_PUBLISH_SCHEDULE, 0x00, "Publish Schedule" ) \ XXX(ZBEE_ZCL_CMD_ID_DSH_PUBLISH_DAY_PROFILE, 0x01, "Publish Day Profile" ) \ XXX(ZBEE_ZCL_CMD_ID_DSH_CANCEL_SCHEDULE, 0x05, "Cancel Schedule" ) \ VALUE_STRING_ENUM(zbee_zcl_daily_schedule_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_daily_schedule_srv_tx_cmd_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_daily_schedule(void); void proto_reg_handoff_zbee_zcl_daily_schedule(void); /* Attribute Dissector Helpers */ static void dissect_zcl_daily_schedule_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Command Dissector Helpers */ static void dissect_zcl_daily_schedule_get_schedule(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_daily_schedule_get_day_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_daily_schedule_publish_schedule(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_daily_schedule_publish_day_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_daily_schedule_cancel_schedule(tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_daily_schedule = -1; static int hf_zbee_zcl_daily_schedule_srv_tx_cmd_id = -1; static int hf_zbee_zcl_daily_schedule_srv_rx_cmd_id = -1; static int hf_zbee_zcl_daily_schedule_attr_server_id = -1; /* Get Schedule cmd */ static int hf_zbee_zcl_daily_schedule_type = -1; static int hf_zbee_zcl_daily_schedule_name = -1; static int hf_zbee_zcl_daily_schedule_start_time = -1; static int hf_zbee_zcl_daily_schedule_earliest_start_time = -1; static int hf_zbee_zcl_daily_schedule_command_index = -1; static int hf_zbee_zcl_daily_schedule_id = -1; static int hf_zbee_zcl_daily_schedule_time_reference = -1; static int hf_zbee_zcl_daily_schedule_provider_id = -1; static int hf_zbee_zcl_daily_schedule_issuer_event_id = -1; static int hf_zbee_zcl_daily_schedule_min_issuer_event_id = -1; static int hf_zbee_zcl_daily_schedule_number_of_schedules = -1; static int hf_zbee_zcl_daily_schedule_total_number_of_schedule_entries = -1; static int hf_zbee_zcl_daily_schedule_schedule_entry_start_time = -1; static int hf_zbee_zcl_daily_schedule_schedule_entry_price_tier = -1; static int hf_zbee_zcl_daily_schedule_schedule_entry_auxiliary_load_switch_state = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_daily_schedule = -1; #define zbee_zcl_daily_schedule_type_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_SCHEDULE_TYPE_LINKY_SCHEDULE, 0x00, "Linky Schedule" ) \ VALUE_STRING_ENUM(zbee_zcl_daily_schedule_type_names); VALUE_STRING_ARRAY(zbee_zcl_daily_schedule_type_names); #define zbee_zcl_daily_schedule_time_reference_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_SCHEDULE_TIME_REFERENCE_UTC_TIME, 0x00, "UTC Time" ) \ XXX(ZBEE_ZCL_SCHEDULE_TIME_REFERENCE_STANDARD_TIME, 0x01, "Standard Time" ) \ XXX(ZBEE_ZCL_SCHEDULE_TIME_REFERENCE_LOCAL_TIME, 0x02, "Local Time" ) VALUE_STRING_ENUM(zbee_zcl_daily_schedule_time_reference_names); VALUE_STRING_ARRAY(zbee_zcl_daily_schedule_time_reference_names); /** *ZigBee ZCL Daily Schedule cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_daily_schedule(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_calendar_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_daily_schedule_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_daily_schedule, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_DSH_GET_SCHEDULE: dissect_zcl_daily_schedule_get_schedule(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_DSH_GET_DAY_PROFILE: dissect_zcl_daily_schedule_get_day_profile(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_DSH_GET_SCHEDULE_CANCELLATION: /* No Payload */ break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_daily_schedule_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_daily_schedule_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_daily_schedule, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_DSH_PUBLISH_SCHEDULE: dissect_zcl_daily_schedule_publish_schedule(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_DSH_PUBLISH_DAY_PROFILE: dissect_zcl_daily_schedule_publish_day_profile(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_DSH_CANCEL_SCHEDULE: dissect_zcl_daily_schedule_cancel_schedule(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_daily_schedule*/ /** *This function manages the Publish Calendar payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_daily_schedule_publish_schedule(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; int length; /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Schedule ID */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_daily_schedule_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Schedule Type */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Schedule Time Reference */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_time_reference, tvb, *offset, 1, ENC_NA); *offset += 1; /* Schedule Name */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_daily_schedule_name, tvb, *offset, 1, ENC_NA | ENC_ZIGBEE, &length); *offset += length; } /*dissect_zcl_daily_schedule_publish_schedule*/ /** *This function manages the Publish Day Profile payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_daily_schedule_publish_day_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 schedule_entries_count; guint8 calendar_type; /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Total Number of Schedule Entries */ schedule_entries_count = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_total_number_of_schedule_entries, tvb, *offset, 1, ENC_NA); *offset += 1; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Schedules */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_number_of_schedules, tvb, *offset, 1, ENC_NA); *offset += 1; /* Calendar Type */ calendar_type = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_type, tvb, *offset, 1, ENC_NA); *offset += 1; for (gint i = 0; tvb_reported_length_remaining(tvb, *offset) >= 4 && i < schedule_entries_count; i++) { /* Start Time */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_schedule_entry_start_time, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; switch (calendar_type) { /* Rate Start Time */ case ZBEE_ZCL_SCHEDULE_TYPE_LINKY_SCHEDULE: /* Price Tier */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_schedule_entry_price_tier, tvb, *offset, 1, ENC_NA); *offset += 1; /* Auxiliary Load Switch State */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_schedule_entry_auxiliary_load_switch_state, tvb, *offset, 1, ENC_NA); *offset += 1; break; } } } /*dissect_zcl_daily_schedule_publish_day_profile*/ /** *This function manages the Cancel Calendar payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_daily_schedule_cancel_schedule(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Calendar ID */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Schedule Type */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_type, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_calendar_cancel*/ /** *This function manages the Get Calendar payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_daily_schedule_get_schedule(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t earliest_start_time; /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Earliest Start Time */ earliest_start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; earliest_start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_daily_schedule_earliest_start_time, tvb, *offset, 4, &earliest_start_time); *offset += 4; /* Min Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_min_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Number of Schedules */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_number_of_schedules, tvb, *offset, 1, ENC_NA); *offset += 1; /* Schedule Type */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_type, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_daily_schedule_get_schedule*/ /** *This function manages the Get Day Profiles payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_daily_schedule_get_day_profile(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Provider Id */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Schedule ID */ proto_tree_add_item(tree, hf_zbee_zcl_daily_schedule_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; } /*dissect_zcl_daily_schedule_get_day_profile*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type */ static void dissect_zcl_daily_schedule_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { (void)attr_id; /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); } /*dissect_zcl_calendar_attr_data*/ /** *This function registers the ZCL Calendar dissector * */ void proto_register_zbee_zcl_daily_schedule(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_daily_schedule_attr_server_id, { "Attribute", "zbee_zcl_se.daily_schedule.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_daily_schedule_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_srv_tx_cmd_id, { "Command", "zbee_zcl_se.daily_schedule.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_daily_schedule_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_srv_rx_cmd_id, { "Command", "zbee_zcl_se.daily_schedule.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_daily_schedule_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_type, { "Schedule Type", "zbee_zcl_se.daily_schedule.type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_daily_schedule_type_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_start_time, { "Start Time", "zbee_zcl_se.daily_schedule.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_earliest_start_time, { "Earliest Start Time", "zbee_zcl_se.daily_schedule.earliest_start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_time_reference, { "Schedule Time Reference", "zbee_zcl_se.daily_schedule.time_reference", FT_UINT8, BASE_HEX, VALS(zbee_zcl_daily_schedule_time_reference_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_name, { "Schedule Name", "zbee_zcl_se.daily_schedule.name", FT_UINT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_command_index, { "Command Index", "zbee_zcl_se.daily_schedule.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_provider_id, { "Provider ID", "zbee_zcl_se.daily_schedule.provider_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.daily_schedule.issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_min_issuer_event_id, { "Min. Issuer Event ID", "zbee_zcl_se.daily_schedule.min_issuer_event_id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_id, { "Schedule ID", "zbee_zcl_se.daily_schedule.id", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_total_number_of_schedule_entries, { "Total Number of Schedule Entries", "zbee_zcl_se.daily_schedule.total_number_of_schedule_entries", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_number_of_schedules, { "Number of Schedules", "zbee_zcl_se.daily_schedule.number_of_schedules", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_schedule_entry_start_time, { "Start Time", "zbee_zcl_se.daily_schedule.schedule_entry.start_time", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_schedule_entry_price_tier, { "Price Tier", "zbee_zcl_se.daily_schedule.schedule_entry.price_tier", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_daily_schedule_schedule_entry_auxiliary_load_switch_state, { "Auxiliary Load Switch State", "zbee_zcl_se.daily_schedule.schedule_entry.auxiliary_load_switch_state", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, }; /* ZCL Daily Schedule subtrees */ gint *ett[] = { &ett_zbee_zcl_daily_schedule, }; /* Register the ZigBee ZCL Calendar cluster protocol name and description */ proto_zbee_zcl_daily_schedule = proto_register_protocol("ZigBee ZCL Daily Schedule", "ZCL Daily Schedule", ZBEE_PROTOABBREV_ZCL_DAILY_SCHEDULE); proto_register_field_array(proto_zbee_zcl_daily_schedule, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Daily Schedule dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_DAILY_SCHEDULE, dissect_zbee_zcl_daily_schedule, proto_zbee_zcl_daily_schedule); } /*proto_register_zbee_zcl_calendar*/ void proto_reg_handoff_zbee_zcl_daily_schedule(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_DAILY_SCHEDULE, proto_zbee_zcl_daily_schedule, ett_zbee_zcl_daily_schedule, ZBEE_ZCL_CID_DAILY_SCHEDULE, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_daily_schedule_attr_server_id, -1, hf_zbee_zcl_daily_schedule_srv_rx_cmd_id, hf_zbee_zcl_daily_schedule_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_daily_schedule_attr_data ); } /*proto_reg_handoff_zbee_zcl_calendar*/ /* ########################################################################## */ /* #### (0x0708) DEVICE_MANAGEMENT CLUSTER ############################################## */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_device_management_attr_server_names_VALUE_STRING_LIST(XXX) \ /* Supplier Control Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROVIDER_ID, 0x0100, "Provider ID" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROVIDER_NAME, 0x0101, "Provider Name" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROVIDER_CONTACT_DETAILS, 0x0102, "Provider Contact Details" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROPOSED_PROVIDER_ID, 0x0110, "Proposed Provider ID" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROPOSED_PROVIDER_NAME, 0x0111, "Proposed Provider Name" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROPOSED_PROVIDER_CHANGE_DATE_TIME, 0x0112, "Proposed Provider Change Date/Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROPOSED_PROVIDER_CHANGE_CONTROL, 0x0113, "Proposed Provider Change Control" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROPOSED_PROVIDER_CONTACT_DETAILS, 0x0114, "Proposed Provider Contact Details" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_RECEIVED_PROVIDER_ID, 0x0120, "Received Provider ID" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_RECEIVED_PROVIDER_NAME, 0x0121, "Received Provider Name" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_RECEIVED_PROVIDER_CONTACT_DETAILS, 0x0122, "Received Provider Contact Details" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_RECEIVED_PROPOSED_PROVIDER_ID, 0x0130, "Received Proposed Provider ID" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_RECEIVED_PROPOSED_PROVIDER_NAME, 0x0131, "Received Proposed Provider Name" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_RECEIVED_PROPOSED_PROVIDER_CHANGE_DATE_TIME, 0x0132, "Received Proposed Provider Change Date/Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_RECEIVED_PROPOSED_PROVIDER_CHANGE_CONTROL, 0x0133, "Received Proposed Provider Change Control" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_RECEIVED_PROPOSED_PROVIDER_CONTACT_DETAILS, 0x0134, "Received Proposed Provider Contact Details" ) \ /* Tenancy Control Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CHANGE_OF_TENANCY_UPDATE_DATE_TIME, 0x0200, "Change of Tenancy Update Date/Time" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_PROPOSED_TENANCY_CHANGE_CONTROL, 0x0201, "Proposed Tenancy Change control" ) \ /* Backhaul Control Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_WAN_STATUS, 0x0300, "WAN Status" ) \ /* HAN Control Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_LOW_MEDIUM_THRESHOLD, 0x0400, "Low Medium Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_MEDIUM_HIGH_THRESHOLD, 0x0401, "Medium High Threshold" ) \ /* Add client attribute sets */ \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_DEVICE_MANAGEMENT, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_device_management_attr_server_names); VALUE_STRING_ARRAY(zbee_zcl_device_management_attr_server_names); #define zbee_zcl_device_management_attr_client_names_VALUE_STRING_LIST(XXX) \ /* Supplier Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PROVIDER_ID, 0x0000, "Provider ID" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RECEIVED_PROVIDER_ID, 0x0010, "Received Provider ID" ) \ /* Price Event Configuration Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TOU_TARIFF_ACTIVATION, 0x0100, "TOU Tariff Activation" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_BLOCK_TARIFF_ACTIVATED, 0x0101, "Block Tariff Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_BLOCK_TOU_TARIFF_ACTIVATED, 0x0102, "Block TOU Tariff Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SINGLE_TARIFF_RATE_ACTIVATED, 0x0103, "Single Tariff Rate Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ASYNCHRONOUS_BILLING_OCCURRED, 0x0104, "Asynchronous Billing Occurred" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SYNCHRONOUS_BILLING_OCCURRED, 0x0105, "Synchronous Billing Occurred" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TARIFF_NOT_SUPPORTED, 0x0106, "Tariff Not Supported" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PRICE_CLUSTER_NOT_FOUND, 0x0107, "Price Cluster Not Found" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CURRENCY_CHANGE_PASSIVE_ACTIVATED, 0x0108, "Currency Change Passive Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CURRENCY_CHANGE_PASSIVE_UPDATED, 0x0109, "Currency Change Passive Updated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PRICE_MATRIX_PASSIVE_ACTIVATED, 0x010A, "Price Matrix Passive Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PRICE_MATRIX_PASSIVE_UPDATED, 0x010B, "Price Matrix Passive Updated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TARIFF_CHANGE_PASSIVE_ACTIVATED, 0x010C, "Tariff Change Passive Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TARIFF_CHANGED_PASSIVE_UPDATED, 0x010D, "Tariff Changed Passive Updated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_PRICE_RECEIVED, 0x01B0, "Publish Price Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_PRICE_ACTIONED, 0x01B1, "Publish Price Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_PRICE_CANCELLED, 0x01B2, "Publish Price Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_PRICE_REJECTED, 0x01B3, "Publish Price Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_TARIFF_INFORMATION_RECEIVED, 0x01B4, "Publish Tariff Information Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_TARIFF_INFORMATION_ACTIONED, 0x01B5, "Publish Tariff Information Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_TARIFF_INFORMATION_CANCELLED, 0x01B6, "Publish Tariff Information Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_TARIFF_INFORMATION_REJECTED, 0x01B7, "Publish Tariff Information Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_PRICE_MATRIX_RECEIVED, 0x01B8, "Publish Price Matrix Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_PRICE_MATRIX_ACTIONED, 0x01B9, "Publish Price Matrix Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_PRICE_MATRIX_CANCELLED, 0x01BA, "Publish Price Matrix Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_PRICE_MATRIX_REJECTED, 0x01BB, "Publish Price Matrix Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BLOCK_THRESHOLDS_RECEIVED, 0x01BC, "Publish Block Thresholds Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BLOCK_THRESHOLDS_ACTIONED, 0x01BD, "Publish Block Thresholds Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BLOCK_THRESHOLDS_CANCELLED, 0x01BE, "Publish Block Thresholds Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BLOCK_THRESHOLDS_REJECTED, 0x01BF, "Publish Block Thresholds Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CALORIFIC_VALUE_RECEIVED, 0x01C0, "Publish Calorific Value Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CALORIFIC_VALUE_ACTIONED, 0x01C1, "Publish Calorific Value Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CALORIFIC_VALUE_CANCELLED, 0x01C2, "Publish Calorific Value Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CALORIFIC_VALUE_REJECTED, 0x01C3, "Publish Calorific Value Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CONVERSION_FACTOR_RECEIVED, 0x01C4, "Publish Conversion Factor Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CONVERSION_FACTOR_ACTIONED, 0x01C5, "Publish Conversion Factor Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CONVERSION_FACTOR_CANCELLED, 0x01C6, "Publish Conversion Factor Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CONVERSION_FACTOR_REJECTED, 0x01C7, "Publish Conversion Factor Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CO2_VALUE_RECEIVED, 0x01C8, "Publish CO2 Value Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CO2_VALUE_ACTIONED, 0x01C9, "Publish CO2 Value Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CO2_VALUE_CANCELLED, 0x01CA, "Publish CO2 Value Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CO2_VALUE_REJECTED, 0x01CB, "Publish CO2 Value Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CPP_EVENT_RECEIVED, 0x01CC, "Publish CPP event Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CPP_EVENT_ACTIONED, 0x01CD, "Publish CPP event Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CPP_EVENT_CANCELLED, 0x01CE, "Publish CPP event Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CPP_EVENT_REJECTED, 0x01CF, "Publish CPP event Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_TIER_LABELS_RECEIVED, 0x01D0, "Publish Tier Labels Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_TIER_LABELS_ACTIONED, 0x01D1, "Publish Tier Labels Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_TIER_LABELS_CANCELLED, 0x01D2, "Publish Tier Labels Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_TIER_LABELS_REJECTED, 0x01D3, "Publish Tier Labels Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BILLING_PERIOD_RECEIVED, 0x01D4, "Publish Billing Period Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BILLING_PERIOD_ACTIONED, 0x01D5, "Publish Billing Period Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BILLING_PERIOD_CANCELLED, 0x01D6, "Publish Billing Period Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BILLING_PERIOD_REJECTED, 0x01D7, "Publish Billing Period Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CONSOLIDATED_BILL_RECEIVED, 0x01D8, "Publish Consolidated Bill Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CONSOLIDATED_BILL_ACTIONED, 0x01D9, "Publish Consolidated Bill Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CONSOLIDATED_BILL_CANCELLED, 0x01DA, "Publish Consolidated Bill Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CONSOLIDATED_BILL_REJECTED, 0x01DB, "Publish Consolidated Bill Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BLOCK_PERIOD_RECEIVED, 0x01DC, "Publish Block Period Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BLOCK_PERIOD_ACTIONED, 0x01DD, "Publish Block Period Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BLOCK_PERIOD_CANCELLED, 0x01DE, "Publish Block Period Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_BLOCK_PERIOD_REJECTED, 0x01DF, "Publish Block Period Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CREDIT_PAYMENT_INFO_RECEIVED, 0x01E0, "Publish Credit Payment Info Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CREDIT_PAYMENT_INFO_ACTIONED, 0x01E1, "Publish Credit Payment Info Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CREDIT_PAYMENT_INFO_CANCELLED, 0x01E2, "Publish Credit Payment Info Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CREDIT_PAYMENT_INFO_REJECTED, 0x01E3, "Publish Credit Payment Info Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CURRENCY_CONVERSION_RECEIVED, 0x01E4, "Publish Currency Conversion Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CURRENCY_CONVERSION_ACTIONED, 0x01E5, "Publish Currency Conversion Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CURRENCY_CONVERSION_CANCELLED, 0x01E6, "Publish Currency Conversion Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CURRENCY_CONVERSION_REJECTED, 0x01E7, "Publish Currency Conversion Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RESERVED_FOR_PRICE_CLUSTER_GROUP_ID, 0x01FF, "Reserved for Price Cluster Group ID" ) \ /* Metering Event Configuration Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHECK_METER, 0x0200, "Check Meter" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOW_BATTERY, 0x0201, "Low Battery" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TAMPER_DETECT, 0x0202, "Tamper Detect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SUPPLY_STATUS, 0x0203, "Supply Status" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SUPPLY_QUALITY, 0x0204, "Supply Quality" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LEAK_DETECT, 0x0205, "Leak Detect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SERVICE_DISCONNECT, 0x0206, "Service Disconnect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_METERING_REVERSE_FLOW_GAS_WATER_HEAT, 0x0207, "Reverse Flow (Gas, Water, Heat/Cooling)" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_METER_COVER_REMOVED, 0x0208, "Meter Cover Removed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_METER_COVER_CLOSED, 0x0209, "Meter Cover Closed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_STRONG_MAGNETIC_FIELD, 0x020A, "Strong Magnetic Field" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_NO_STRONG_MAGNETIC_FIELD, 0x020B, "No Strong Magnetic Field" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_BATTERY_FAILURE, 0x020C, "Battery Failure" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PROGRAM_MEMORY_ERROR, 0x020D, "Program Memory Error" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RAM_ERROR, 0x020E, "RAM Error" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_NV_MEMORY_ERROR, 0x020F, "NV Memory Error" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOW_VOLTAGE_L1, 0x0210, "Low Voltage L1" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_HIGH_VOLTAGE_L1, 0x0211, "High Voltage L1" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOW_VOLTAGE_L2, 0x0212, "Low Voltage L2" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_HIGH_VOLTAGE_L2, 0x0213, "High Voltage L2" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOW_VOLTAGE_L3, 0x0214, "Low Voltage L3" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_HIGH_VOLTAGE_L3, 0x0215, "High Voltage L3" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_OVER_CURRENT_L1, 0x0216, "Over Current L1" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_OVER_CURRENT_L2, 0x0217, "Over Current L2" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_OVER_CURRENT_L3, 0x0218, "Over Current L3" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FREQUENCY_TOO_LOW_L1, 0x0219, "Frequency too Low L1" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FREQUENCY_TOO_HIGH_L1, 0x021A, "Frequency too High L1" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FREQUENCY_TOO_LOW_L2, 0x021B, "Frequency too Low L2" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FREQUENCY_TOO_HIGH_L2, 0x021C, "Frequency too High L2" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FREQUENCY_TOO_LOW_L3, 0x021D, "Frequency too Low L3" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FREQUENCY_TOO_HIGH_L3, 0x021E, "Frequency too High L3" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GROUND_FAULT, 0x021F, "Ground Fault" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ELECTRIC_TAMPER_DETECT, 0x0220, "Electric Tamper Detect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_INCORRECT_POLARITY, 0x0221, "Incorrect Polarity" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CURRENT_NO_VOLTAGE, 0x0222, "Current No Voltage" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UNDER_VOLTAGE, 0x0223, "Under Voltage" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_OVER_VOLTAGE, 0x0224, "Over Voltage" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_NORMAL_VOLTAGE, 0x0225, "Normal Voltage" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PF_BELOW_THRESHOLD, 0x0226, "PF Below Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PF_ABOVE_THRESHOLD, 0x0227, "PF Above Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TERMINAL_COVER_REMOVED, 0x0228, "Terminal Cover Removed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TERMINAL_COVER_CLOSED, 0x0229, "Terminal Cover Closed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_BURST_DETECT, 0x0230, "Burst Detect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PRESSURE_TOO_LOW, 0x0231, "Pressure too Low" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PRESSURE_TOO_HIGH, 0x0232, "Pressure too High" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FLOW_SENSOR_COMMUNICATION_ERROR, 0x0233, "Flow Sensor Communication Error" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FLOW_SENSOR_MEASUREMENT_FAULT, 0x0234, "Flow Sensor Measurement Fault" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FLOW_SENSOR_REVERSE_FLOW, 0x0235, "Flow Sensor Reverse Flow" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FLOW_SENSOR_AIR_DETECT, 0x0236, "Flow Sensor Air Detect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PIPE_EMPTY, 0x0237, "Pipe Empty" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_INLET_TEMPERATURE_SENSOR_FAULT, 0x0250, "Inlet Temperature Sensor Fault" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_OUTLET_TEMPERATURE_SENSOR_FAULT, 0x0251, "Outlet Temperature Sensor Fault" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REVERSE_FLOW, 0x0260, "Reverse Flow" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TILT_TAMPER, 0x0261, "Tilt Tamper" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_BATTERY_COVER_REMOVED, 0x0262, "Battery Cover Removed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_BATTERY_COVER_CLOSED, 0x0263, "Battery Cover Closed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EXCESS_FLOW, 0x0264, "Excess Flow" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TILT_TAMPER_ENDED, 0x0265, "Tilt Tamper Ended" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MEASUREMENT_SYSTEM_ERROR, 0x0270, "Measurement System Error" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_WATCHDOG_ERROR, 0x0271, "Watchdog Error" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SUPPLY_DISCONNECT_FAILURE, 0x0272, "Supply Disconnect Failure" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SUPPLY_CONNECT_FAILURE, 0x0273, "Supply Connect Failure" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MEASUREMENT_SOFTWARE_CHANGED, 0x0274, "Measurement Software Changed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DST_ENABLED, 0x0275, "DST Enabled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DST_DISABLED, 0x0276, "DST Disabled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CLOCK_ADJUST_BACKWARD, 0x0277, "Clock Adjust Backward" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CLOCK_ADJUST_FORWARD, 0x0278, "Clock Adjust Forward" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CLOCK_INVALID, 0x0279, "Clock Invalid" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_COMMUNICATION_ERROR_HAN, 0x027A, "Communication Error HAN" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_COMMUNICATION_OK_HAN, 0x027B, "Communication OK HAN" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_METER_FRAUD_ATTEMPT, 0x027C, "Meter Fraud Attempt" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_POWER_LOSS, 0x027D, "Power Loss" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UNUSUAL_HAN_TRAFFIC, 0x027E, "Unusual HAN Traffic" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UNEXPECTED_CLOCK_CHANGE, 0x027F, "Unexpected Clock Change" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_COMMS_USING_UNAUTHENTICATED_COMPONENT, 0x0280, "Comms Using Unauthenticated Component" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MET_ERROR_REGISTER_CLEAR, 0x0281, "Metering Error Register Clear" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MET_ALARM_REGISTER_CLEAR, 0x0282, "Metering Alarm Register Clear" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UNEXPECTED_HW_RESET, 0x0283, "Unexpected HW Reset" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UNEXPECTED_PROGRAM_EXECUTION, 0x0284, "Unexpected Program Execution" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LIMIT_THRESHOLD_EXCEEDED, 0x0285, "Limit Threshold Exceeded" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LIMIT_THRESHOLD_OK, 0x0286, "Limit Threshold OK" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LIMIT_THRESHOLD_CHANGED, 0x0287, "Limit Threshold Changed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MAXIMUM_DEMAND_EXCEEDED, 0x0288, "Maximum Demand Exceeded" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PROFILE_CLEARED, 0x0289, "Profile Cleared" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOAD_PROFILE_CLEARED, 0x028A, "Load Profile Cleared" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_BATTERY_WARNING, 0x028B, "Battery Warning" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_WRONG_SIGNATURE, 0x028C, "Wrong Signature" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_NO_SIGNATURE, 0x028D, "No Signature" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SIGNATURE_NOT_VALID, 0x028E, "Signature Not Valid" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UNAUTHORISED_ACTION_FROM_HAN, 0x028F, "Unauthorized Action From HAN" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FAST_POLLING_START, 0x0290, "Fast Polling Start" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FAST_POLLING_END, 0x0291, "Fast Polling End" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_METER_REPORTING_INTERVAL_CHANGED, 0x0292, "Meter Reporting Interval Changed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DISCONNECT_TO_LOAD_LIMIT, 0x0293, "Disconnect to Load Limit" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_METER_SUPPLY_STATUS_REGISTER_CHANGED, 0x0294, "Meter Supply Status Register Changed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_METER_ALARM_STATUS_REGISTER_CHANGED, 0x0295, "Meter Alarm Status Register Changed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EXTENDED_METER_ALARM_STATUS_REG_CHANGED,0x0296, "Extended Meter Alarm Status Register Changed." ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DATA_ACCESS_VIA_LOCAL_PORT, 0x0297, "Data Access Via Local Port" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONFIGURE_MIRROR_SUCCESS, 0x0298, "Configure Mirror Success" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONFIGURE_MIRROR_FAILURE, 0x0299, "Configure Mirror Failure" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONFIGURE_NOTIFICATION_FLAG_SCHEME_SUCC,0x029A, "Configure Notification Flag Scheme Success" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONFIGURE_NOTIFICATION_FLAG_SCHEME_FAIL,0x029B, "Configure Notification Flag Scheme Failure" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONFIGURE_NOTIFICATION_FLAGS_SUCCESS, 0x029C, "Configure Notification Flags Success" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONFIGURE_NOTIFICATION_FLAGS_FAILURE, 0x029D, "Configure Notification Flags Failure" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_STAY_AWAKE_REQUEST_HAN, 0x029E, "Stay Awake Request HAN" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_STAY_AWAKE_REQUEST_WAN, 0x029F, "Stay Awake Request WAN" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_A, 0x02B0, "Manufacturer Specific A" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_B, 0x02B1, "Manufacturer Specific B" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_C, 0x02B2, "Manufacturer Specific C" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_D, 0x02B3, "Manufacturer Specific D" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_E, 0x02B4, "Manufacturer Specific E" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_F, 0x02B5, "Manufacturer Specific F" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_G, 0x02B6, "Manufacturer Specific G" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_H, 0x02B7, "Manufacturer Specific H" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUFACTURER_SPECIFIC_I, 0x02B8, "Manufacturer Specific I" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_PROFILE_COMMAND_RECEIVED, 0x02C0, "Get Profile Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_PROFILE_COMMAND_ACTIONED, 0x02C1, "Get Profile Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_PROFILE_COMMAND_CANCELLED, 0x02C2, "Get Profile Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_PROFILE_COMMAND_REJECTED, 0x02C3, "Get Profile Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REQUEST_MIRROR_RESPONSE_COMMAND_RECV, 0x02C4, "Request Mirror Response Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REQUEST_MIRROR_RESPONSE_COMMAND_ACTION, 0x02C5, "Request Mirror Response Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REQUEST_MIRROR_RESPONSE_COMMAND_CANCEL, 0x02C6, "Request Mirror Response Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REQUEST_MIRROR_RESPONSE_COMMAND_REJECT, 0x02C7, "Request Mirror Response Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MIRROR_REMOVED_COMMAND_RECEIVED, 0x02C8, "Mirror Removed Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MIRROR_REMOVED_COMMAND_ACTIONED, 0x02C9, "Mirror Removed Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MIRROR_REMOVED_COMMAND_CANCELLED, 0x02CA, "Mirror Removed Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MIRROR_REMOVED_COMMAND_REJECTED, 0x02CB, "Mirror Removed Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SNAPSHOT_COMMAND_RECEIVED, 0x02CC, "Get Snapshot Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SNAPSHOT_COMMAND_ACTIONED, 0x02CD, "Get Snapshot Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SNAPSHOT_COMMAND_CANCELLED, 0x02CE, "Get Snapshot Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SNAPSHOT_COMMAND_REJECTED, 0x02CF, "Get Snapshot Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TAKE_SNAPSHOT_COMMAND_RECEIVED, 0x02D0, "Take Snapshot Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TAKE_SNAPSHOT_COMMAND_ACTIONED, 0x02D1, "Take Snapshot Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TAKE_SNAPSHOT_COMMAND_CANCELLED, 0x02D2, "Take Snapshot Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TAKE_SNAPSHOT_COMMAND_REJECTED, 0x02D3, "Take Snapshot Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MIRROR_REPORT_ATTRIBUTE_RSP_CMD_RECV, 0x02D4, "Mirror Report Attribute Response Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MIRROR_REPORT_ATTRIBUTE_RSP_CMD_ACTION, 0x02D5, "Mirror Report Attribute Response Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MIRROR_REPORT_ATTRIBUTE_RSP_CMD_CANCEL, 0x02D6, "Mirror Report Attribute Response Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MIRROR_REPORT_ATTRIBUTE_RSP_CMD_REJECT, 0x02D7, "Mirror Report Attribute Response Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SCHEDULE_SNAPSHOT_COMMAND_RECEIVED, 0x02D8, "Schedule Snapshot Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SCHEDULE_SNAPSHOT_COMMAND_ACTIONED, 0x02D9, "Schedule Snapshot Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SCHEDULE_SNAPSHOT_COMMAND_CANCELLED, 0x02DA, "Schedule Snapshot Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SCHEDULE_SNAPSHOT_COMMAND_REJECTED, 0x02DB, "Schedule Snapshot Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_START_SAMPLING_COMMAND_RECEIVED, 0x02DC, "Start Sampling Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_START_SAMPLING_COMMAND_ACTIONED, 0x02DD, "Start Sampling Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_START_SAMPLING_COMMAND_CANCELLED, 0x02DE, "Start Sampling Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_START_SAMPLING_COMMAND_REJECTED, 0x02DF, "Start Sampling Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SAMPLED_DATA_COMMAND_RECEIVED, 0x02E0, "Get Sampled Data Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SAMPLED_DATA_COMMAND_ACTIONED, 0x02E1, "Get Sampled Data Command Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SAMPLED_DATA_COMMAND_CANCELLED, 0x02E2, "Get Sampled Data Command Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SAMPLED_DATA_COMMAND_REJECTED, 0x02E3, "Get Sampled Data Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SUPPLY_ON, 0x02E4, "Supply On" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SUPPLY_ARMED, 0x02E5, "Supply Armed" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SUPPLY_OFF, 0x02E6, "Supply Off" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DISCONNECTED_DUE_TO_TAMPER_DETECTED, 0x02E7, "Disconnected due to Tamper Detected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUAL_DISCONNECT, 0x02E8, "Manual Disconnect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MANUAL_CONNECT, 0x02E9, "Manual Connect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REMOTE_DISCONNECTION, 0x02EA, "Remote Disconnection" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REMOTE_CONNECT, 0x02EB, "Remote Connect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOCAL_DISCONNECTION, 0x02EC, "Local Disconnection" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOCAL_CONNECT, 0x02ED, "Local Connect" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_SUPPLY_RECEIVED, 0x02EE, "Change Supply Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_SUPPLY_ACTIONED, 0x02EF, "Change Supply Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_SUPPLY_CANCELLED, 0x02F0, "Change Supply Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_SUPPLY_REJECTED, 0x02F1, "Change Supply Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOCAL_CHANGE_SUPPLY_RECEIVED, 0x02F2, "Local Change Supply Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOCAL_CHANGE_SUPPLY_ACTIONED, 0x02F3, "Local Change Supply Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOCAL_CHANGE_SUPPLY_CANCELLED, 0x02F4, "Local Change Supply Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOCAL_CHANGE_SUPPLY_REJECTED, 0x02F5, "Local Change Supply Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_UNCONTROLLED_FLOW_THRES_RECV, 0x02F6, "Publish Uncontrolled Flow Threshold Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_UNCONTROLLED_FLOW_THRES_ACTION, 0x02F7, "Publish Uncontrolled Flow Threshold Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_UNCONTROLLED_FLOW_THRES_CANCEL, 0x02F8, "Publish Uncontrolled Flow Threshold Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_UNCONTROLLED_FLOW_THRES_REJECY, 0x02F9, "Publish Uncontrolled Flow Threshold Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RESERVED_FOR_METERING_CLUSTER_GROUP_ID, 0x02FF, "Reserved for Metering Cluster Group Id" ) \ /* Messaging Event Configuration Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MESSAGE_CONFIRMATION_SENT, 0x0300, "Message Confirmation Sent" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DISPLAY_MESSAGE_RECEIVED, 0x03C0, "Display Message Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DISPLAY_MESSAGE_ACTIONED, 0x03C1, "Display Message Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DISPLAY_MESSAGE_CANCELLED, 0x03C2, "Display Message Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DISPLAY_MESSAGE_REJECTED, 0x03C3, "Display Message Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CANCEL_MESSAGE_RECEIVED, 0x03C4, "Cancel Message Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CANCEL_MESSAGE_ACTIONED, 0x03C5, "Cancel Message Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CANCEL_MESSAGE_CANCELLED, 0x03C6, "Cancel Message Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CANCEL_MESSAGE_REJECTED, 0x03C7, "Cancel Message Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RESERVED_FOR_MESSAGING_CLUSTER_GROUP_ID,0x03FF, "Reserved for Messaging Cluster Group ID" ) \ /* Prepayment Event Configuration Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_LOW_CREDIT, 0x0400, "Low Credit" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_NO_CREDIT_ZERO_CREDIT, 0x0401, "No Credit (Zero Credit)" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CREDIT_EXHAUSTED, 0x0402, "Credit Exhausted" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EMERGENCY_CREDIT_ENABLED, 0x0403, "Emergency Credit Enabled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EMERGENCY_CREDIT_EXHAUSTED, 0x0404, "Emergency Credit Exhausted" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_IHD_LOW_CREDIT_WARNING, 0x0405, "IHD Low Credit Warning" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PHYSICAL_ATTACK_ON_THE_PREPAY_METER, 0x0420, "Physical Attack on the Prepay Meter" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ELECTRONIC_ATTACK_ON_THE_PREPAY_METER, 0x0421, "Electronic Attack on the Prepay Meter" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DISCOUNT_APPLIED, 0x0422, "Discount Applied" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CREDIT_ADJUSTMENT, 0x0423, "Credit Adjustment" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CREDIT_ADJUST_FAIL, 0x0424, "Credit Adjust Fail" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DEBT_ADJUSTMENT, 0x0425, "Debt Adjustment" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_DEBT_ADJUST_FAIL, 0x0426, "Debt Adjust Fail" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MODE_CHANGE, 0x0427, "Mode Change" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TOPUP_CODE_ERROR, 0x0428, "Topup Code Error" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TOPUP_ALREADY_USED, 0x0429, "Topup Already Used" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TOPUP_CODE_INVALID, 0x042A, "Topup Code Invalid" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TOPUP_ACCEPTED_VIA_REMOTE, 0x042B, "Topup Accepted via Remote" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TOPUP_ACCEPTED_VIA_MANUAL_ENTRY, 0x042C, "Topup Accepted via Manual Entry" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FRIENDLY_CREDIT_IN_USE, 0x042D, "Friendly Credit in Use" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FRIENDLY_CREDIT_PERIOD_END_WARNING, 0x042E, "Friendly Credit Period End Warning" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FRIENDLY_CREDIT_PERIOD_END, 0x042F, "Friendly Credit Period End" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PP_ERROR_REGISTER_CLEAR, 0x0430, "Prepayment Error Register Clear" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PP_ALARM_REGISTER_CLEAR, 0x0431, "Prepayment Alarm Register Clear" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PREPAY_CLUSTER_NOT_FOUND, 0x0432, "Prepay Cluster Not Found" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TOPUP_VALUE_TOO_LARGE, 0x0433, "Topup Value too Large" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MODE_CREDIT_2_PREPAY, 0x0441, "Mode Credit 2 Prepay" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MODE_PREPAY_2_CREDIT, 0x0442, "Mode Prepay 2 Credit" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_MODE_DEFAULT, 0x0443, "Mode Default" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SELECT_AVAILABLE_EMERG_CREDIT_RECV, 0x04C0, "Select Available Emergency Credit Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SELECT_AVAILABLE_EMERG_CREDIT_ACTION, 0x04C1, "Select Available Emergency Credit Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SELECT_AVAILABLE_EMERG_CREDIT_CANCEL, 0x04C2, "Select Available Emergency Credit Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SELECT_AVAILABLE_EMERG_CREDIT_REJECT, 0x04C3, "Select Available Emergency Credit Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_DEBT_RECEIVED, 0x04C4, "Change Debt Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_DEBT_ACTIONED, 0x04C5, "Change Debt Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_DEBT_CANCELLED, 0x04C6, "Change Debt Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_DEBT_REJECTED, 0x04C7, "Change Debt Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EMERGENCY_CREDIT_SETUP_RECEIVED, 0x04C8, "Emergency Credit Setup Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EMERGENCY_CREDIT_SETUP_ACTIONED, 0x04C9, "Emergency Credit Setup Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EMERGENCY_CREDIT_SETUP_CANCELLED, 0x04CA, "Emergency Credit Setup Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EMERGENCY_CREDIT_SETUP_REJECTED, 0x04CB, "Emergency Credit Setup Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONSUMER_TOPUP_RECEIVED, 0x04CC, "Consumer Topup Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONSUMER_TOPUP_ACTIONED, 0x04CD, "Consumer Topup Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONSUMER_TOPUP_CANCELLED, 0x04CE, "Consumer Topup Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CONSUMER_TOPUP_REJECTED, 0x04CF, "Consumer Topup Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CREDIT_ADJUSTMENT_RECEIVED, 0x04D0, "Credit Adjustment Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CREDIT_ADJUSTMENT_ACTIONED, 0x04D1, "Credit Adjustment Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CREDIT_ADJUSTMENT_CANCELLED, 0x04D2, "Credit Adjustment Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CREDIT_ADJUSTMENT_REJECTED, 0x04D3, "Credit Adjustment Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_PAYMENT_MODE_RECEIVED, 0x04D4, "Change Payment Mode Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_PAYMENT_MODE_ACTIONED, 0x04D5, "Change Payment Mode Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_PAYMENT_MODE_CANCELLED, 0x04D6, "Change Payment Mode Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_PAYMENT_MODE_REJECTED, 0x04D7, "Change Payment Mode Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_PREPAY_SNAPSHOT_RECEIVED, 0x04D8, "Get Prepay Snapshot Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_PREPAY_SNAPSHOT_ACTIONED, 0x04D9, "Get Prepay Snapshot Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_PREPAY_SNAPSHOT_CANCELLED, 0x04DA, "Get Prepay Snapshot Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_PREPAY_SNAPSHOT_REJECTED, 0x04DB, "Get Prepay Snapshot Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_TOPUP_LOG_RECEIVED, 0x04DC, "Get Topup Log Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_TOPUP_LOG_ACTIONED, 0x04DD, "Get Topup Log Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_TOPUP_LOG_CANCELLED, 0x04DE, "Get Topup Log Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_TOPUP_LOG_REJECTED, 0x04DF, "Get Topup Log Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_LOW_CREDIT_WARNING_LEVEL_RECEIVED, 0x04E0, "Set Low Credit Warning Level Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_LOW_CREDIT_WARNING_LEVEL_ACTIONED, 0x04E1, "Set Low Credit Warning Level Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_LOW_CREDIT_WARNING_LEVEL_CANCELLED, 0x04E2, "Set Low Credit Warning Level Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_LOW_CREDIT_WARNING_LEVEL_REJECTED, 0x04E3, "Set Low Credit Warning Level Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_DEBT_REPAY_LOG_RECEIVED, 0x04E4, "Get Debt Repay Log Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_DEBT_REPAY_LOG_ACTIONED, 0x04E5, "Get Debt Repay Log Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_DEBT_REPAY_LOG_CANCELLED, 0x04E6, "Get Debt Repay Log Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_DEBT_REPAY_LOG_REJECTED, 0x04E7, "Get Debt Repay Log Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_MAXIMUM_CREDIT_LIMIT_RECEIVED, 0x04E8, "Set Maximum Credit Limit Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_MAXIMUM_CREDIT_LIMIT_ACTIONED, 0x04E9, "Set Maximum Credit Limit Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_MAXIMUM_CREDIT_LIMIT_CANCELLED, 0x04EA, "Set Maximum Credit Limit Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_MAXIMUM_CREDIT_LIMIT_REJECTED, 0x04EB, "Set Maximum Credit Limit Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_OVERALL_DEBT_CAP_RECEIVED, 0x04EC, "Set Overall Debt Cap Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_OVERALL_DEBT_CAP_ACTIONED, 0x04ED, "Set Overall Debt Cap Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_OVERALL_DEBT_CAP_CANCELLED, 0x04EE, "Set Overall Debt Cap Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_OVERALL_DEBT_CAP_REJECTED, 0x04EF, "Set Overall Debt Cap Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RESERVED_FOR_PP_CLUSTER_GROUP_ID, 0x04FF, "Reserved for Prepayment Cluster Group ID" ) \ /* Calendar Event Configuration Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CALENDAR_CLUSTER_NOT_FOUND, 0x0500, "Calendar Cluster Not Found" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CALENDAR_CHANGE_PASSIVE_ACTIVATED, 0x0501, "Calendar Change Passive Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CALENDAR_CHANGE_PASSIVE_UPDATED, 0x0502, "Calendar Change Passive Updated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CALENDAR_RECEIVED, 0x05C0, "Publish Calendar Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CALENDAR_ACTIONED, 0x05C1, "Publish Calendar Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CALENDAR_CANCELLED, 0x05C2, "Publish Calendar Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_CALENDAR_REJECTED, 0x05C3, "Publish Calendar Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_DAY_PROFILE_RECEIVED, 0x05C4, "Publish Day Profile Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_DAY_PROFILE_ACTIONED, 0x05C5, "Publish Day Profile Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_DAY_PROFILE_CANCELLED, 0x05C6, "Publish Day Profile Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_DAY_PROFILE_REJECTED, 0x05C7, "Publish Day Profile Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_WEEK_PROFILE_RECEIVED, 0x05C8, "Publish Week Profile Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_WEEK_PROFILE_ACTIONED, 0x05C9, "Publish Week Profile Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_WEEK_PROFILE_CANCELLED, 0x05CA, "Publish Week Profile Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_WEEK_PROFILE_REJECTED, 0x05CB, "Publish Week Profile Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_SEASONS_RECEIVED, 0x05CC, "Publish Seasons Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_SEASONS_ACTIONED, 0x05CD, "Publish Seasons Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_SEASONS_CANCELLED, 0x05CE, "Publish Seasons Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_SEASONS_REJECTED, 0x05CF, "Publish Seasons Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_SPECIAL_DAYS_RECEIVED, 0x05D0, "Publish Special Days Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_SPECIAL_DAYS_ACTIONED, 0x05D1, "Publish Special Days Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_SPECIAL_DAYS_CANCELLED, 0x05D2, "Publish Special Days Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_SPECIAL_DAYS_REJECTED, 0x05D3, "Publish Special Days Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RESERVED_FOR_CALENDAR_CLUSTER_GROUP_ID, 0x05FF, "Reserved For Calendar Cluster Group ID" ) \ /* Device Management Event Configuration Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PASSWORD_1_CHANGE, 0x0600, "Password 1 Change" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PASSWORD_2_CHANGE, 0x0601, "Password 2 Change" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PASSWORD_3_CHANGE, 0x0602, "Password 3 Change" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PASSWORD_4_CHANGE, 0x0603, "Password 4 Change" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_EVENT_LOG_CLEARED, 0x0604, "Event Log Cleared" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ZIGBEE_APS_TIMEOUT, 0x0610, "ZigBee APS Timeout" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ZIGBEE_IEEE_TRANS_FAILURE_OVER_THRES, 0x0611, "ZigBee IEEE Transmission Failure Over Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ZIGBEE_IEEE_FRAME_CHECK_SEQ_THRES, 0x0612, "ZigBee IEEE Frame Check Sequence Threshold" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ERROR_CERTIFICATE, 0x0613, "Error Certificate" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ERROR_SIGNATURE, 0x0614, "Error Signature" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ERROR_PROGRAM_STORAGE, 0x0615, "Error Program Storage" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_COT_RECEIVED, 0x06C0, "Publish CoT Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_COT_ACTIONED, 0x06C1, "Publish CoT Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_COT_CANCELLED, 0x06C2, "Publish CoT Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_COT_REJECTED, 0x06C3, "Publish CoT Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_COS_RECEIVED, 0x06C4, "Publish CoS Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_COS_ACTIONED, 0x06C5, "Publish CoS Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_COS_CANCELLED, 0x06C6, "Publish CoS Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PUBLISH_COS_REJECTED, 0x06C7, "Publish CoS Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_PASSWORD_RECEIVED, 0x06C8, "Change Password Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_PASSWORD_ACTIONED, 0x06C9, "Change Password Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_PASSWORD_CANCELLED, 0x06CA, "Change Password Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CHANGE_PASSWORD_REJECTED, 0x06CB, "Change Password Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_EVENT_CONFIGURATION_RECEIVED, 0x06CC, "Set Event Configuration Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_EVENT_CONFIGURATION_ACTIONED, 0x06CD, "Set Event Configuration Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_EVENT_CONFIGURATION_CANCELLED, 0x06CE, "Set Event Configuration Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_SET_EVENT_CONFIGURATION_REJECTED, 0x06CF, "Set Event Configuration Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPDATE_SITE_ID_RECEIVED, 0x06D0, "Update Site ID Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPDATE_SITE_ID_ACTIONED, 0x06D1, "Update Site ID Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPDATE_SITE_ID_CANCELLED, 0x06D2, "Update Site ID Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPDATE_SITE_ID_REJECTED, 0x06D3, "Update Site ID Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPDATE_CIN_RECEIVED, 0x06D4, "Update CIN Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPDATE_CIN_ACTIONED, 0x06D5, "Update CIN Actioned" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPDATE_CIN_CANCELLED, 0x06D6, "Update CIN Cancelled" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPDATE_CIN_REJECTED, 0x06D7, "Update CIN Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RESERVED_FOR_DM_CLUSTER_ID, 0x06FF, "Reserved for Device Management Cluster Group ID" ) \ /* Tunnel Event Configuration Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TUNNELING_CLUSTER_NOT_FOUND, 0x0700, "Tunneling Cluster Not Found" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UNSUPPORTED_PROTOCOL, 0x0701, "Unsupported Protocol" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_INCORRECT_PROTOCOL, 0x0702, "Incorrect Protocol" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REQUEST_TUNNEL_COMMAND_RECEIVED, 0x07C0, "Request Tunnel Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REQUEST_TUNNEL_COMMAND_REJECTED, 0x07C1, "Request Tunnel Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_REQUEST_TUNNEL_COMMAND_GENERATED, 0x07C2, "Request Tunnel Command Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CLOSE_TUNNEL_COMMAND_RECEIVED, 0x07C3, "Close Tunnel Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CLOSE_TUNNEL_COMMAND_REJECTED, 0x07C4, "Close Tunnel Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_CLOSE_TUNNEL_COMMAND_GENERATED, 0x07C5, "Close Tunnel Command Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TRANSFER_DATA_COMMAND_RECEIVED, 0x07C6, "Transfer Data Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TRANSFER_DATA_COMMAND_REJECTED, 0x07C7, "Transfer Data Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TRANSFER_DATA_COMMAND_GENERATED, 0x07C8, "Transfer Data Command Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TRANSFER_DATA_ERROR_COMMAND_RECEIVED, 0x07C9, "Transfer Data Error Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TRANSFER_DATA_ERROR_COMMAND_REJECTED, 0x07CA, "Transfer Data Error Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_TRANSFER_DATA_ERROR_COMMAND_GENERATED, 0x07CB, "Transfer Data Error Command Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ACK_TRANSFER_DATA_COMMAND_RECEIVED, 0x07CC, "Ack Transfer Data Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ACK_TRANSFER_DATA_COMMAND_REJECTED, 0x07CD, "Ack Transfer Data Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_ACK_TRANSFER_DATA_COMMAND_GENERATED, 0x07CE, "Ack Transfer Data Command Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_READY_DATA_COMMAND_RECEIVED, 0x07CF, "Ready Data Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_READY_DATA_COMMAND_REJECTED, 0x07D0, "Ready Data Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_READY_DATA_COMMAND_GENERATED, 0x07D1, "Ready Data Command Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SUPPORTED_TUNNEL_PROT_CMD_RECV, 0x07D2, "Get Supported Tunnel Protocols Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SUPPORTED_TUNNEL_PROT_CMD_REJECT, 0x07D3, "Get Supported Tunnel Protocols Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_GET_SUPPORTED_TUNNEL_PROT_CMD_GENERATED,0x07D4, "Get Supported Tunnel Protocols Command Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RESERVED_FOR_TUNNEL_CLUSTER_GROUP_ID, 0x07FF, "Reserved for Tunnel Cluster Group ID" ) \ /* OTA Event Configuration Attribute Set */ \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FIRMWARE_READY_FOR_ACTIVATION, 0x0800, "Firmware Ready for Activation" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FIRMWARE_ACTIVATED, 0x0801, "Firmware Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_FIRMWARE_ACTIVATION_FAILURE, 0x0802, "Firmware Activation Failure" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PATCH_READY_FOR_ACTIVATION, 0x0803, "Patch Ready for Activation" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PATCH_ACTIVATED, 0x0804, "Patch Activated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_PATCH_FAILURE, 0x0805, "Patch Failure" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_IMAGE_NOTIFY_COMMAND_RECEIVED, 0x08C0, "Image Notify Command Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_IMAGE_NOTIFY_COMMAND_REJECTED, 0x08C1, "Image Notify Command Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_QUERY_NEXT_IMAGE_REQUEST_GENERATED, 0x08C2, "Query Next Image Request Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_QUERY_NEXT_IMAGE_RESPONSE_RECEIVED, 0x08C3, "Query Next Image Response Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_QUERY_NEXT_IMAGE_RESPONSE_REJECTED, 0x08C4, "Query Next Image Response Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_IMAGE_BLOCK_REQUEST_GENERATED, 0x08C5, "Image Block Request Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_IMAGE_PAGE_REQUEST_GENERATED, 0x08C6, "Image Page Request Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_IMAGE_BLOCK_RESPONSE_RECEIVED, 0x08C7, "Image Block Response Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_IMAGE_BLOCK_RESPONSE_REJECTED, 0x08C8, "Image Block Response Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPGRADE_END_REQUEST_GENERATED, 0x08C9, "Upgrade End Request Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPGRADE_END_RESPONSE_RECEIVED, 0x08CA, "Upgrade End Response Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_UPGRADE_END_RESPONSE_REJECTED, 0x08CB, "Upgrade End Response Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_QUERY_SPECIFIC_FILE_REQUEST_GENERATED, 0x08CC, "Query Specific File Request Generated" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_QUERY_SPECIFIC_FILE_RESPONSE_RECEIVED, 0x08CD, "Query Specific File Response Received" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_QUERY_SPECIFIC_FILE_RESPONSE_REJECTED, 0x08CE, "Query Specific File Response Rejected" ) \ XXX(ZBEE_ZCL_ATTR_ID_DEVICE_MANAGEMENT_CLNT_RESERVED_FOR_OTA_CLUSTER_GROUP_ID, 0x08FF, "Reserved For OTA Cluster Group ID" ) \ /* Smart Energy */ \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_DEVICE_MANAGEMENT_CLNT, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_device_management_attr_client_names); VALUE_STRING_ARRAY(zbee_zcl_device_management_attr_client_names); static value_string_ext zbee_zcl_device_management_attr_client_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_device_management_attr_client_names); /* Server Commands Received */ #define zbee_zcl_device_management_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_CHANGE_OF_TENANCY, 0x00, "Get Change Of Tenancy" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_CHANGE_OF_SUPPLIER, 0x01, "Get Change Of Supplier" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_REQUEST_NEW_PASSWORD, 0x02, "Request New Password" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_SITE_ID, 0x03, "Get Site ID" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_REPORT_EVENT_CONFIGURATION, 0x04, "Report Event Configuration" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_CIN, 0x05, "Get CIN" ) VALUE_STRING_ENUM(zbee_zcl_device_management_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_device_management_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_device_management_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_PUBLISH_CHANGE_OF_TENANCY, 0x00, "Publish Change Of Tenancy" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_PUBLISH_CHANGE_OF_SUPPLIER, 0x01, "Publish Change Of Supplier" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_REQUEST_NEW_PASSWORD_RESPONSE, 0x02, "Request New Password Response" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_UPDATE_SITE_ID, 0x03, "Update Site ID" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_SET_EVENT_CONFIGURATION, 0x04, "Set Event Configuration" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_EVENT_CONFIGURATION, 0x05, "Get Event Configuration" ) \ XXX(ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_UPDATE_CIN, 0x06, "Update CIN" ) VALUE_STRING_ENUM(zbee_zcl_device_management_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_device_management_srv_tx_cmd_names); #define zbee_zcl_device_management_password_types_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_PASSWORD_TYPE_RESERVED, 0x00, "Reserved") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_PASSWORD_TYPE_PASSWORD_1, 0x01, "Password 1") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_PASSWORD_TYPE_PASSWORD_2, 0x02, "Password 2") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_PASSWORD_TYPE_PASSWORD_3, 0x03, "Password 3") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_PASSWORD_TYPE_PASSWORD_4, 0x04, "Password 4") VALUE_STRING_ENUM(zbee_zcl_device_management_password_types); VALUE_STRING_ARRAY(zbee_zcl_device_management_password_types); #define zbee_zcl_device_management_event_configuration_log_types_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_EVENT_CONFIGURATION_DO_NOT_LOG, 0x0, "Do not Log") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_EVENT_CONFIGURATION_LOG_AS_TAMPER, 0x1, "Log as Tamper") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_EVENT_CONFIGURATION_LOG_AS_FAULT, 0x2, "Log as Fault") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_EVENT_CONFIGURATION_LOG_AS_GENERAL_EVENT, 0x3, "Log as General Event") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_EVENT_CONFIGURATION_LOG_AS_SECURITY_EVENT, 0x4, "Log as Security Event") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_EVENT_CONFIGURATION_LOG_AS_NETWORK_EVENT, 0x5, "Log as Network Event") VALUE_STRING_ENUM(zbee_zcl_device_management_event_configuration_log_types); VALUE_STRING_ARRAY(zbee_zcl_device_management_event_configuration_log_types); #define zbee_zcl_device_management_contactor_states_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_SUPPLY_OFF, 0x0, "Supply OFF") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_SUPPLY_OFF_ARMED, 0x1, "Supply OFF / ARMED") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_SUPPLY_ON, 0x2, "Supply ON") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_SUPPLY_UNCHANGED, 0x3, "Supply UNCHANGED") VALUE_STRING_ENUM(zbee_zcl_device_management_contactor_states); VALUE_STRING_ARRAY(zbee_zcl_device_management_contactor_states); #define zbee_zcl_device_management_configuration_controls_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_CONFIGURATION_CONTROL_APPLY_BY_LIST, 0x00, "Apply by List") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_CONFIGURATION_CONTROL_APPLY_BY_EVENT_GROUP, 0x01, "Apply by Event Group") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_CONFIGURATION_CONTROL_APPLY_BY_LOG_TYPE, 0x02, "Apply by Log Type") \ XXX(ZBEE_ZCL_DEVICE_MANAGEMENT_CONFIGURATION_CONTROL_APPLY_BY_CONFIGURATION_MATCH, 0x03, "Apply by Configuration Match") VALUE_STRING_ENUM(zbee_zcl_device_management_configuration_controls); VALUE_STRING_ARRAY(zbee_zcl_device_management_configuration_controls); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_device_management(void); void proto_reg_handoff_zbee_zcl_device_management(void); /* Attribute Dissector Helpers */ static void dissect_zcl_device_management_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_device_management = -1; static int hf_zbee_zcl_device_management_srv_tx_cmd_id = -1; static int hf_zbee_zcl_device_management_srv_rx_cmd_id = -1; static int hf_zbee_zcl_device_management_attr_server_id = -1; static int hf_zbee_zcl_device_management_attr_client_id = -1; static int hf_zbee_zcl_device_management_attr_reporting_status = -1; static int hf_zbee_zcl_device_management_password_type = -1; static int hf_zbee_zcl_device_management_command_index = -1; static int hf_zbee_zcl_device_management_total_commands = -1; static int hf_zbee_zcl_device_management_event_id= -1; static int hf_zbee_zcl_device_management_event_configuration = -1; static int hf_zbee_zcl_device_management_event_configuration_logging = -1; static int hf_zbee_zcl_device_management_event_configuration_push_event_to_wan = -1; static int hf_zbee_zcl_device_management_event_configuration_push_event_to_han = -1; static int hf_zbee_zcl_device_management_event_configuration_raise_alarm_zigbee = -1; static int hf_zbee_zcl_device_management_event_configuration_raise_alarm_physical = -1; static int hf_zbee_zcl_device_management_event_configuration_reserved = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_provider_id = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_issuer_event_id = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_tariff_type = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_implementation_date = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_pre_snapshot = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_post_snapshot = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_credit_register = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_debit_register = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_billing_period = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_tariff_plan = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_standing_charge = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_block_historical_load_profile_information = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_historical_load_profile_information = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_ihd_data_consumer = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_ihd_data_supplier = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_meter_contactor_state = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_transaction_log = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_prepayment_data = -1; static int hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reserved = -1; static int hf_zbee_zcl_device_management_publish_change_of_supplier_current_provider_id = -1; static int hf_zbee_zcl_device_management_publish_change_of_supplier_issuer_event_id = -1; static int hf_zbee_zcl_device_management_publish_change_of_supplier_tariff_type = -1; static int hf_zbee_zcl_device_management_publish_change_of_supplier_proposed_provider_id = -1; static int hf_zbee_zcl_device_management_publish_change_of_supplier_provider_change_implementation_time = -1; static int hf_zbee_zcl_device_management_publish_change_of_supplier_provider_change_control = -1; static int hf_zbee_zcl_device_management_publish_change_of_supplier_provider_proposed_provider_name = -1; static int hf_zbee_zcl_device_management_publish_change_of_supplier_provider_proposed_provider_contact_details = -1; static int hf_zbee_zcl_device_management_request_new_password_issuer_event_id = -1; static int hf_zbee_zcl_device_management_request_new_password_implementation_date = -1; static int hf_zbee_zcl_device_management_request_new_password_password = -1; static int hf_zbee_zcl_device_management_request_new_password_duration_in_minutes = -1; static int hf_zbee_zcl_device_management_update_site_id_issuer_event_id = -1; static int hf_zbee_zcl_device_management_update_site_id_site_id_time = -1; static int hf_zbee_zcl_device_management_update_site_id_provider_id = -1; static int hf_zbee_zcl_device_management_update_site_id_site_id = -1; static int hf_zbee_zcl_device_management_set_event_configuration_issuer_event_id = -1; static int hf_zbee_zcl_device_management_set_event_configuration_start_time = -1; static int hf_zbee_zcl_device_management_set_event_configuration_configuration_control = -1; static int hf_zbee_zcl_device_management_set_event_configuration_event_configuration_number_of_events = -1; static int hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_id = -1; static int hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_group_id = -1; static int hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_log_id = -1; static int hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_configuration_value_match = -1; static int hf_zbee_zcl_device_management_get_event_configuration_event_id = -1; static int hf_zbee_zcl_device_management_update_cin_issuer_event_id = -1; static int hf_zbee_zcl_device_management_update_cin_cin_implementation_time = -1; static int hf_zbee_zcl_device_management_update_cin_provider_id = -1; static int hf_zbee_zcl_device_management_update_cin_customerid_number = -1; static int* const hf_zbee_zcl_device_management_event_configuration_flags[] = { &hf_zbee_zcl_device_management_event_configuration_logging, &hf_zbee_zcl_device_management_event_configuration_push_event_to_wan, &hf_zbee_zcl_device_management_event_configuration_push_event_to_han, &hf_zbee_zcl_device_management_event_configuration_raise_alarm_zigbee, &hf_zbee_zcl_device_management_event_configuration_raise_alarm_physical, &hf_zbee_zcl_device_management_event_configuration_reserved, NULL }; static int* const hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_flags[] = { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_pre_snapshot, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_post_snapshot, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_credit_register, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_debit_register, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_billing_period, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_tariff_plan, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_standing_charge, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_block_historical_load_profile_information, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_historical_load_profile_information, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_ihd_data_consumer, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_ihd_data_supplier, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_meter_contactor_state, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_transaction_log, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_prepayment_data, &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reserved, NULL }; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_device_management = -1; static gint ett_zbee_zcl_device_management_event_configuration_payload = -1; static gint ett_zbee_zcl_device_management_event_configuration = -1; static gint ett_zbee_zcl_device_management_proposed_tenancy_change_control = -1; /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_device_management_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_DEVICE_MANAGEMENT: proto_tree_add_item(tree, hf_zbee_zcl_device_management_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_device_management_attr_data*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_request_new_password(proto_tree *tree, tvbuff_t *tvb, guint *offset) { /* Password Type */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_password_type, tvb, *offset, 1, ENC_NA); *offset += 1; } /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_report_event_configuration(proto_tree *tree, tvbuff_t *tvb, guint *offset) { proto_tree *event_configuration_payload; guint rem_len; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Commands */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_total_commands, tvb, *offset, 1, ENC_NA); *offset += 1; rem_len = tvb_reported_length_remaining(tvb, *offset); /* Event Configuration Payload */ event_configuration_payload = proto_tree_add_subtree(tree, tvb, *offset, rem_len, ett_zbee_zcl_device_management_event_configuration_payload, NULL, "Event Configuration Payload"); while(tvb_reported_length_remaining(tvb, *offset) > 2) { /* Event ID */ proto_tree_add_item(event_configuration_payload, hf_zbee_zcl_device_management_event_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Event Configuration */ proto_tree_add_bitmask(event_configuration_payload, tvb, *offset, hf_zbee_zcl_device_management_event_configuration, ett_zbee_zcl_device_management_event_configuration, hf_zbee_zcl_device_management_event_configuration_flags, ENC_NA); *offset += 1; } } /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_publish_change_of_tenancy(proto_tree *tree, tvbuff_t *tvb, guint *offset) { nstime_t impl_date; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_publish_change_of_tenancy_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_publish_change_of_tenancy_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Tariff Type */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_publish_change_of_tenancy_tariff_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Implementation Date/Time */ impl_date.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; impl_date.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_device_management_publish_change_of_tenancy_implementation_date, tvb, *offset, 4, &impl_date); *offset += 4; /* Proposed Tenancy Change Control */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control, ett_zbee_zcl_device_management_proposed_tenancy_change_control, hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_flags, ENC_NA); *offset += 4; } /*dissect_zcl_device_management_publish_change_of_tenancy*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_publish_change_of_supplier(proto_tree *tree, tvbuff_t *tvb, guint *offset) { nstime_t impl_time; gint name_length; gint detail_length; /* Current Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_publish_change_of_supplier_current_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_publish_change_of_supplier_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Tariff Type */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_publish_change_of_supplier_tariff_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Proposed Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_publish_change_of_supplier_proposed_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Provider Change Implementation Time */ impl_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; impl_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_device_management_publish_change_of_supplier_provider_change_implementation_time, tvb, *offset, 4, &impl_time); *offset += 4; /* Provider Change Control */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_publish_change_of_supplier_provider_change_control, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Proposed Provider Name */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_device_management_publish_change_of_supplier_provider_proposed_provider_name, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &name_length); *offset += name_length; /* Proposed Provider Contact Details */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_device_management_publish_change_of_supplier_provider_proposed_provider_contact_details, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &detail_length); *offset += detail_length; } /*dissect_zcl_device_management_publish_change_of_supplier*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_request_new_password_response(proto_tree *tree, tvbuff_t *tvb, guint *offset) { nstime_t impl_date; gint password_length; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_request_new_password_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Implementation Date/Time */ impl_date.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; impl_date.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_device_management_request_new_password_implementation_date, tvb, *offset, 4, &impl_date); *offset += 4; /* Duration in minutes */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_request_new_password_duration_in_minutes, tvb, *offset, 2, ENC_NA); *offset += 2; /* Password Type */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_password_type, tvb, *offset, 1, ENC_NA); *offset += 1; /* Password */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_device_management_request_new_password_password, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &password_length); *offset += password_length; } /*dissect_zcl_device_management_request_new_password_response*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_update_site_id(proto_tree *tree, tvbuff_t *tvb, guint *offset) { nstime_t siteid_time; gint siteid_length; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_update_site_id_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* SiteID Time */ siteid_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; siteid_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_device_management_update_site_id_site_id_time, tvb, *offset, 4, &siteid_time); *offset += 4; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_update_site_id_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* SiteID */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_device_management_update_site_id_site_id, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &siteid_length); *offset += siteid_length; } /*dissect_zcl_device_management_update_site_id*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_set_event_configuration(proto_tree *tree, tvbuff_t *tvb, guint *offset) { nstime_t start_time; guint8 config_control; guint8 number_of_events; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_set_event_configuration_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Start Date/Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_device_management_set_event_configuration_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* Event Configuration */ proto_tree_add_bitmask(tree, tvb, *offset, hf_zbee_zcl_device_management_event_configuration, ett_zbee_zcl_device_management_event_configuration, hf_zbee_zcl_device_management_event_configuration_flags, ENC_NA); *offset += 1; /* Configuration Control */ config_control = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_device_management_set_event_configuration_configuration_control, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event Configuration Payload */ switch (config_control) { case ZBEE_ZCL_DEVICE_MANAGEMENT_CONFIGURATION_CONTROL_APPLY_BY_LIST: number_of_events = tvb_get_guint8(tvb, *offset); /* Number of Events */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_set_event_configuration_event_configuration_number_of_events, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event IDs */ for (guint i = 0; tvb_reported_length_remaining(tvb, *offset) > 0 && i < number_of_events; i++) { proto_tree_add_item(tree, hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } break; case ZBEE_ZCL_DEVICE_MANAGEMENT_CONFIGURATION_CONTROL_APPLY_BY_EVENT_GROUP: /* Event Group ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_group_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_DEVICE_MANAGEMENT_CONFIGURATION_CONTROL_APPLY_BY_LOG_TYPE: /* Log ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_log_id, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; case ZBEE_ZCL_DEVICE_MANAGEMENT_CONFIGURATION_CONTROL_APPLY_BY_CONFIGURATION_MATCH: /* Configuration Value Match */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_configuration_value_match, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; break; } } /*dissect_zcl_device_management_set_event_configuration*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_get_event_configuration(proto_tree *tree, tvbuff_t *tvb, guint *offset) { /* Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_get_event_configuration_event_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_device_management_get_event_configuration*/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset */ static void dissect_zcl_device_management_update_cin(proto_tree *tree, tvbuff_t *tvb, guint *offset) { nstime_t cin_impl_time; gint customer_id_length; /* Issuer Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_update_cin_issuer_event_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* CIN Implementation Time */ cin_impl_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; cin_impl_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_device_management_update_cin_cin_implementation_time, tvb, *offset, 4, &cin_impl_time); *offset += 4; /* Provider ID */ proto_tree_add_item(tree, hf_zbee_zcl_device_management_update_cin_provider_id, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* CustomerID Number */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_device_management_update_cin_customerid_number, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &customer_id_length); *offset += customer_id_length; } /*dissect_zcl_device_management_update_cin*/ /** *ZigBee ZCL Device Management cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_device_management(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { zbee_zcl_packet *zcl; proto_tree *payload_tree; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_device_management_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_device_management_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_device_management, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_CHANGE_OF_TENANCY: /* No Payload */ break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_CHANGE_OF_SUPPLIER: /* No Payload */ break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_REQUEST_NEW_PASSWORD: dissect_zcl_device_management_request_new_password(payload_tree, tvb, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_SITE_ID: /* No Payload */ break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_REPORT_EVENT_CONFIGURATION: dissect_zcl_device_management_report_event_configuration(payload_tree, tvb, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_CIN: /* No Payload */ break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_device_management_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_device_management_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_device_management, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_PUBLISH_CHANGE_OF_TENANCY: dissect_zcl_device_management_publish_change_of_tenancy(payload_tree, tvb, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_PUBLISH_CHANGE_OF_SUPPLIER: dissect_zcl_device_management_publish_change_of_supplier(payload_tree, tvb, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_REQUEST_NEW_PASSWORD_RESPONSE: dissect_zcl_device_management_request_new_password_response(payload_tree, tvb, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_UPDATE_SITE_ID: dissect_zcl_device_management_update_site_id(payload_tree, tvb, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_SET_EVENT_CONFIGURATION: dissect_zcl_device_management_set_event_configuration(payload_tree, tvb, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_GET_EVENT_CONFIGURATION: dissect_zcl_device_management_get_event_configuration(payload_tree, tvb, &offset); break; case ZBEE_ZCL_CMD_ID_DEVICE_MANAGEMENT_UPDATE_CIN: dissect_zcl_device_management_update_cin(payload_tree, tvb, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_device_management*/ /** *This function registers the ZCL Device Management dissector * */ void proto_register_zbee_zcl_device_management(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_device_management_attr_server_id, { "Attribute", "zbee_zcl_se.device_management.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_device_management_attr_server_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_attr_client_id, { "Attribute", "zbee_zcl_se.device_management.attr_client_id", FT_UINT16, BASE_HEX | BASE_EXT_STRING, &zbee_zcl_device_management_attr_client_names_ext, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.device_management.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_management_srv_tx_cmd_id, { "Command", "zbee_zcl_se.device_management.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_device_management_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_management_srv_rx_cmd_id, { "Command", "zbee_zcl_se.device_management.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_device_management_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_management_password_type, { "Password Type", "zbee_zcl_se.device_management.password_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_device_management_password_types), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_management_command_index, { "Command Index", "zbee_zcl_se.device_management.command_index", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_management_total_commands, { "Total Commands", "zbee_zcl_se.device_management.total_commands", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_management_event_id, { "Event ID", "zbee_zcl_se.device_management.event_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_management_event_configuration, { "Event Configuration", "zbee_zcl_se.device_management.event_configuration", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_device_management_event_configuration_logging, { "Logging", "zbee_zcl_se.device_management.event_configuration.logging", FT_UINT8, BASE_HEX, VALS(zbee_zcl_device_management_event_configuration_log_types), 0x07, NULL, HFILL } }, { &hf_zbee_zcl_device_management_event_configuration_push_event_to_wan, { "Push Event to WAN", "zbee_zcl_se.device_management.event_configuration.push_event_to_wan", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL } }, { &hf_zbee_zcl_device_management_event_configuration_push_event_to_han, { "Push Event to HAN", "zbee_zcl_se.device_management.event_configuration.push_event_to_han", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL } }, { &hf_zbee_zcl_device_management_event_configuration_raise_alarm_zigbee, { "Raise Alarm (Zigbee)", "zbee_zcl_se.device_management.event_configuration.raise_alarm_zigbee", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL } }, { &hf_zbee_zcl_device_management_event_configuration_raise_alarm_physical, { "Raise Alarm (Physical)", "zbee_zcl_se.device_management.event_configuration.raise_alarm_physical", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL } }, { &hf_zbee_zcl_device_management_event_configuration_reserved, { "Reserved", "zbee_zcl_se.device_management.event_configuration.reserved", FT_UINT8, BASE_HEX, NULL, 0x80, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_provider_id, { "Provider ID", "zbee_zcl_se.device_management.publish_change_of_tenancy.provider_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.device_management.publish_change_of_tenancy.issuer_event_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_tariff_type, { "Tariff Type", "zbee_zcl_se.device_management.publish_change_of_tenancy.tariff_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_tariff_type_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_implementation_date, { "Implementation Date/Time", "zbee_zcl_se.device_management.publish_change_of_tenancy.implementation_date", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control, { "Proposed Tenancy Change Control", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_pre_snapshot, { "Pre Snapshots", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.pre_snapshot", FT_BOOLEAN, 32, NULL, 0x00000001, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_post_snapshot, { "Post Snapshots", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.post_snapshot", FT_BOOLEAN, 32, NULL, 0x00000002, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_credit_register, { "Reset Credit Register", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.reset_credit_register", FT_BOOLEAN, 32, NULL, 0x00000004, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_debit_register, { "Reset Debit Register", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.reset_debit_register", FT_BOOLEAN, 32, NULL, 0x00000008, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reset_billing_period, { "Reset Billing Period", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.reset_billing_period", FT_BOOLEAN, 32, NULL, 0x00000010, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_tariff_plan, { "Clear Tariff Plan", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.clear_tariff_plan", FT_BOOLEAN, 32, NULL, 0x00000020, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_standing_charge, { "Clear Standing Charge", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.clear_standing_charge", FT_BOOLEAN, 32, NULL, 0x00000040, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_block_historical_load_profile_information, { "Block Historical Load Profile Information", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.block_historical_load_profile_information", FT_BOOLEAN, 32, NULL, 0x00000080, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_historical_load_profile_information, { "Clear Historical Load Profile Information", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.clear_historical_load_profile_information", FT_BOOLEAN, 32, NULL, 0x00000100, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_ihd_data_consumer, { "Clear IHD Data - Consumer", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.clear_ihd_data_consumer", FT_BOOLEAN, 32, NULL, 0x00000200, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_ihd_data_supplier, { "Clear IHD Data - Supplier", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.clear_ihd_data_supplier", FT_BOOLEAN, 32, NULL, 0x00000400, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_meter_contactor_state, { "Meter Contactor State \"On / Off / Armed\"", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.meter_contactor_state", FT_UINT32, BASE_HEX, VALS(zbee_zcl_device_management_contactor_states), 0x00001800, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_transaction_log, { "Clear Transaction Log", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.clear_transaction_log", FT_BOOLEAN, 32, NULL, 0x00002000, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_clear_prepayment_data, { "Clear Prepayment Data", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.clear_prepayment_data", FT_BOOLEAN, 32, NULL, 0x00004000, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_tenancy_proposed_tenancy_change_control_reserved, { "Reserved", "zbee_zcl_se.device_management.publish_change_of_tenancy.proposed_tenancy_change_control.reserved", FT_UINT32, BASE_HEX, NULL, 0xFFFF8000, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_supplier_current_provider_id, { "Current Provider ID", "zbee_zcl_se.device_management.publish_change_of_supplier.current_provider_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_supplier_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.device_management.publish_change_of_supplier.issuer_event_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_supplier_tariff_type, { "Tariff Type", "zbee_zcl_se.device_management.publish_change_of_supplier.tariff_type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_price_tariff_type_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_supplier_proposed_provider_id, { "Proposed Provider ID", "zbee_zcl_se.device_management.publish_change_of_supplier.proposed_provider_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_supplier_provider_change_implementation_time, { "Provider Change Implementation Time", "zbee_zcl_se.device_management.publish_change_of_supplier.provider_change_implementation_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_supplier_provider_change_control, { "Provider Change Control", "zbee_zcl_se.device_management.publish_change_of_supplier.provider_change_control", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_supplier_provider_proposed_provider_name, { "Proposed Provider Name", "zbee_zcl_se.device_management.publish_change_of_supplier.provider_proposed_provider_name", FT_UINT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_publish_change_of_supplier_provider_proposed_provider_contact_details, { "Proposed Provider Contact Details", "zbee_zcl_se.device_management.publish_change_of_supplier.provider_proposed_provider_contact_details", FT_UINT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_request_new_password_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.device_management.request_new_password.issuer_event_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_request_new_password_implementation_date, { "Implementation Date/Time", "zbee_zcl_se.device_management.request_new_password.implementation_date", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_request_new_password_duration_in_minutes, { "Duration in minutes", "zbee_zcl_se.device_management.request_new_password.duration_in_minutes", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_request_new_password_password, { "Password", "zbee_zcl_se.device_management.request_new_password.password", FT_UINT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_update_site_id_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.device_management.update_site_id.issuer_event_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_update_site_id_site_id_time, { "SiteID Time", "zbee_zcl_se.device_management.update_site_id.site_id_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_update_site_id_provider_id, { "Provider ID", "zbee_zcl_se.device_management.update_site_id.provider_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_update_site_id_site_id, { "SiteID", "zbee_zcl_se.device_management.update_site_id.site_id", FT_UINT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_get_event_configuration_event_id, { "Event ID", "zbee_zcl_se.device_management.get_event_configuration.event_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_update_cin_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.device_management.update_cin.issuer_event_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_update_cin_cin_implementation_time, { "CIN Implementation Time", "zbee_zcl_se.device_management.update_cin.cin_implementation_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_update_cin_provider_id, { "Provider ID", "zbee_zcl_se.device_management.update_cin.provider_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_update_cin_customerid_number, { "CustomerID Number", "zbee_zcl_se.device_management.update_cin.customerid_number", FT_UINT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_set_event_configuration_issuer_event_id, { "Issuer Event ID", "zbee_zcl_se.device_management.set_event_configuration.issuer_event_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_set_event_configuration_start_time, { "Start Date/Time", "zbee_zcl_se.device_management.set_event_configuration.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_set_event_configuration_configuration_control, { "Configuration Control", "zbee_zcl_se.device_management.set_event_configuration.configuration_control", FT_UINT8, BASE_HEX, VALS(zbee_zcl_device_management_configuration_controls), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_set_event_configuration_event_configuration_number_of_events, { "Number of Events", "zbee_zcl_se.device_management.set_event_configuration.event_configuration.number_of_events", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_id, { "Event ID", "zbee_zcl_se.device_management.set_event_configuration.event_configuration.event_id", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_group_id, { "Event Group ID", "zbee_zcl_se.device_management.set_event_configuration.event_configuration.event_group_id", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_log_id, { "Log ID", "zbee_zcl_se.device_management.set_event_configuration.event_configuration.log_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_device_management_set_event_configuration_event_configuration_event_configuration_value_match, { "Configuration Value Match", "zbee_zcl_se.device_management.set_event_configuration.event_configuration.configuration_value_match", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, }; /* ZCL Device Management subtrees */ gint *ett[] = { &ett_zbee_zcl_device_management, &ett_zbee_zcl_device_management_event_configuration_payload, &ett_zbee_zcl_device_management_event_configuration, &ett_zbee_zcl_device_management_proposed_tenancy_change_control }; /* Register the ZigBee ZCL Device Management cluster protocol name and description */ proto_zbee_zcl_device_management = proto_register_protocol("ZigBee ZCL Device Management", "ZCL Device Management", ZBEE_PROTOABBREV_ZCL_DEVICE_MANAGEMENT); proto_register_field_array(proto_zbee_zcl_device_management, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Device Management dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_DEVICE_MANAGEMENT, dissect_zbee_zcl_device_management, proto_zbee_zcl_device_management); } /*proto_register_zbee_zcl_device_management*/ /** *Hands off the ZCL Device Management dissector. * */ void proto_reg_handoff_zbee_zcl_device_management(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_DEVICE_MANAGEMENT, proto_zbee_zcl_device_management, ett_zbee_zcl_device_management, ZBEE_ZCL_CID_DEVICE_MANAGEMENT, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_device_management_attr_server_id, hf_zbee_zcl_device_management_attr_client_id, hf_zbee_zcl_device_management_srv_rx_cmd_id, hf_zbee_zcl_device_management_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_device_management_attr_data ); } /*proto_reg_handoff_zbee_zcl_device_management*/ /* ########################################################################## */ /* #### (0x0709) EVENTS CLUSTER ############################################# */ /* ########################################################################## */ /* Attributes - None */ /* Server Commands Received */ #define zbee_zcl_events_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_EVENTS_GET_EVENT_LOG, 0x00, "Get Event Log" ) \ XXX(ZBEE_ZCL_CMD_ID_EVENTS_CLEAR_EVENT_LOG_REQUEST, 0x01, "Clear Event Log Request" ) VALUE_STRING_ENUM(zbee_zcl_events_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_events_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_events_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_EVENTS_PUBLISH_EVENT, 0x00, "Publish Event" ) \ XXX(ZBEE_ZCL_CMD_ID_EVENTS_PUBLISH_EVENT_LOG, 0x01, "Publish Event Log" ) \ XXX(ZBEE_ZCL_CMD_ID_EVENTS_CLEAR_EVENT_LOG_RESPONSE, 0x02, "Clear Event Log Response" ) VALUE_STRING_ENUM(zbee_zcl_events_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_events_srv_tx_cmd_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_events(void); void proto_reg_handoff_zbee_zcl_events(void); /* Command Dissector Helpers */ static void dissect_zcl_events_get_event_log (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_events_clear_event_log_request (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_events_publish_event (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_events_publish_event_log (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_events_clear_event_log_response (tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_events = -1; static int hf_zbee_zcl_events_srv_tx_cmd_id = -1; static int hf_zbee_zcl_events_srv_rx_cmd_id = -1; static int hf_zbee_zcl_events_get_event_log_event_control_log_id = -1; static int hf_zbee_zcl_events_get_event_log_event_id = -1; static int hf_zbee_zcl_events_get_event_log_start_time = -1; static int hf_zbee_zcl_events_get_event_log_end_time = -1; static int hf_zbee_zcl_events_get_event_log_number_of_events = -1; static int hf_zbee_zcl_events_get_event_log_event_offset = -1; static int hf_zbee_zcl_events_clear_event_log_request_log_id = -1; static int hf_zbee_zcl_events_publish_event_log_id = -1; static int hf_zbee_zcl_events_publish_event_event_id = -1; static int hf_zbee_zcl_events_publish_event_event_time = -1; static int hf_zbee_zcl_events_publish_event_event_control = -1; static int hf_zbee_zcl_events_publish_event_event_data = -1; static int hf_zbee_zcl_events_publish_event_log_total_number_of_matching_events = -1; static int hf_zbee_zcl_events_publish_event_log_command_index = -1; static int hf_zbee_zcl_events_publish_event_log_total_commands = -1; static int hf_zbee_zcl_events_publish_event_log_number_of_events_log_payload_control = -1; static int hf_zbee_zcl_events_publish_event_log_log_id = -1; static int hf_zbee_zcl_events_publish_event_log_event_id = -1; static int hf_zbee_zcl_events_publish_event_log_event_time = -1; static int hf_zbee_zcl_events_publish_event_log_event_data = -1; static int hf_zbee_zcl_events_clear_event_log_response_cleared_event_logs = -1; /* Initialize the subtree pointers */ #define ZBEE_ZCL_SE_EVENTS_NUM_INDIVIDUAL_ETT 1 #define ZBEE_ZCL_SE_EVENTS_NUM_PUBLISH_EVENT_LOG_ETT 100 // The Great Britain Companion Specification (GBCS) allows up to 100 even though ZigBee only allows 15 #define ZBEE_ZCL_SE_EVENTS_NUM_TOTAL_ETT (ZBEE_ZCL_SE_EVENTS_NUM_INDIVIDUAL_ETT + ZBEE_ZCL_SE_EVENTS_NUM_PUBLISH_EVENT_LOG_ETT) static gint ett_zbee_zcl_events = -1; static gint ett_zbee_zcl_events_publish_event_log_entry[ZBEE_ZCL_SE_EVENTS_NUM_PUBLISH_EVENT_LOG_ETT]; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL Events cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_events(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_events_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_events_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_events, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_EVENTS_GET_EVENT_LOG: dissect_zcl_events_get_event_log(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_EVENTS_CLEAR_EVENT_LOG_REQUEST: dissect_zcl_events_clear_event_log_request(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_events_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_events_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_events, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_EVENTS_PUBLISH_EVENT: dissect_zcl_events_publish_event(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_EVENTS_PUBLISH_EVENT_LOG: dissect_zcl_events_publish_event_log(tvb, payload_tree, &offset); break; case ZBEE_ZCL_CMD_ID_EVENTS_CLEAR_EVENT_LOG_RESPONSE: dissect_zcl_events_clear_event_log_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_events*/ /** *This function manages the Get Event Log payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_events_get_event_log(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t start_time; nstime_t end_time; /* Event Control / Log ID */ proto_tree_add_item(tree, hf_zbee_zcl_events_get_event_log_event_control_log_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_events_get_event_log_event_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Start Time */ start_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; start_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_events_get_event_log_start_time, tvb, *offset, 4, &start_time); *offset += 4; /* End Time */ end_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; end_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_events_get_event_log_end_time, tvb, *offset, 4, &end_time); *offset += 4; /* Number of Events */ proto_tree_add_item(tree, hf_zbee_zcl_events_get_event_log_number_of_events, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event Offset */ proto_tree_add_item(tree, hf_zbee_zcl_events_get_event_log_event_offset, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /*dissect_zcl_events_get_event_log*/ /** *This function manages the Clear Event Log Request payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_events_clear_event_log_request(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Log ID */ proto_tree_add_item(tree, hf_zbee_zcl_events_clear_event_log_request_log_id, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_events_clear_event_log_request*/ /** *This function manages the Publish Event payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_events_publish_event(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t event_time; gint length; if (gPREF_zbee_se_protocol_version >= ZBEE_SE_VERSION_1_2) { /* Log ID - Introduced from ZCL version 1.2 */ proto_tree_add_item(tree, hf_zbee_zcl_events_publish_event_log_id, tvb, *offset, 1, ENC_NA); *offset += 1; } /* Event ID */ proto_tree_add_item(tree, hf_zbee_zcl_events_publish_event_event_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Event Time */ event_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; event_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_events_publish_event_event_time, tvb, *offset, 4, &event_time); *offset += 4; /* Event Control */ proto_tree_add_item(tree, hf_zbee_zcl_events_publish_event_event_control, tvb, *offset, 1, ENC_NA); *offset += 1; /* Event Data */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_events_publish_event_event_data, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &length); *offset += length; } /*dissect_zcl_events_publish_event*/ /** *This function manages the Publish Event Log payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_events_publish_event_log(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree* event_log_tree; nstime_t event_time; int length; /* Total Number of Matching Events */ proto_tree_add_item(tree, hf_zbee_zcl_events_publish_event_log_total_number_of_matching_events, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Command Index */ proto_tree_add_item(tree, hf_zbee_zcl_events_publish_event_log_command_index, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Commands */ proto_tree_add_item(tree, hf_zbee_zcl_events_publish_event_log_total_commands, tvb, *offset, 1, ENC_NA); *offset += 1; /* Number of Events / Log Payload Control */ proto_tree_add_item(tree, hf_zbee_zcl_events_publish_event_log_number_of_events_log_payload_control, tvb, *offset, 1, ENC_NA); *offset += 1; for (gint i = 0; tvb_reported_length_remaining(tvb, *offset) > 0 && i < ZBEE_ZCL_SE_EVENTS_NUM_PUBLISH_EVENT_LOG_ETT; i++) { /* Add subtree */ event_log_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 0, ett_zbee_zcl_events_publish_event_log_entry[i], NULL, "Event Log %d", i + 1); if (gPREF_zbee_se_protocol_version >= ZBEE_SE_VERSION_1_2) { /* Log ID - Introduced from ZCL version 1.2 */ proto_tree_add_item(event_log_tree, hf_zbee_zcl_events_publish_event_log_log_id, tvb, *offset, 1, ENC_NA); *offset += 1; } /* Event ID */ proto_item_append_text(event_log_tree, ", Event ID: 0x%04x", tvb_get_guint16(tvb, *offset, ENC_LITTLE_ENDIAN)); proto_tree_add_item(event_log_tree, hf_zbee_zcl_events_publish_event_log_event_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Event Time */ event_time.secs = (time_t)tvb_get_letohl(tvb, *offset) + ZBEE_ZCL_NSTIME_UTC_OFFSET; event_time.nsecs = 0; proto_tree_add_time(event_log_tree, hf_zbee_zcl_events_publish_event_log_event_time, tvb, *offset, 4, &event_time); *offset += 4; /* Event Data */ proto_tree_add_item_ret_length(event_log_tree, hf_zbee_zcl_events_publish_event_log_event_data, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &length); *offset += length; /* Set length of subtree */ proto_item_set_end(proto_tree_get_parent(event_log_tree), tvb, *offset); } } /*dissect_zcl_events_publish_event_log*/ /** *This function manages the Clear Event Log Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_events_clear_event_log_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Cleared Event Logs */ proto_tree_add_item(tree, hf_zbee_zcl_events_clear_event_log_response_cleared_event_logs, tvb, *offset, 1, ENC_NA); *offset += 1; } /*dissect_zcl_events_clear_event_log_response*/ /** *This function registers the ZCL Events dissector * */ void proto_register_zbee_zcl_events(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_events_srv_tx_cmd_id, { "Command", "zbee_zcl_se.events.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_events_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_srv_rx_cmd_id, { "Command", "zbee_zcl_se.events.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_events_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_get_event_log_event_control_log_id, { "Event Control / Log ID", "zbee_zcl_se.events.get_event_log.event_control_log_id", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_get_event_log_event_id, { "Event ID", "zbee_zcl_se.events.get_event_log.event_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_get_event_log_start_time, { "Start Time", "zbee_zcl_se.events.get_event_log.start_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_get_event_log_end_time, { "End Time", "zbee_zcl_se.events.get_event_log.end_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_get_event_log_number_of_events, { "Number of Events", "zbee_zcl_se.events.get_event_log.number_of_events", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_get_event_log_event_offset, { "Event Offset", "zbee_zcl_se.events.get_event_log.event_offset", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_clear_event_log_request_log_id, { "Log ID", "zbee_zcl_se.events.clear_event_log_request.log_id", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_id, { "Log ID", "zbee_zcl_se.events.publish_event.log_id", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_event_id, { "Event ID", "zbee_zcl_se.events.publish_event.event_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_event_time, { "Event Time", "zbee_zcl_se.events.publish_event.event_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_event_control, { "Event Control", "zbee_zcl_se.events.publish_event.event_control", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_event_data, { "Event Data", "zbee_zcl_se.events.publish_event.event_data", FT_UINT_BYTES, SEP_COLON, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_total_number_of_matching_events, { "Total Number of Matching Events", "zbee_zcl_se.events.publish_event_log.event_id", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_command_index, { "Command Index", "zbee_zcl_se.events.publish_event_log.command_index", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_total_commands, { "Total Commands", "zbee_zcl_se.events.publish_event_log.total_commands", FT_UINT8, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_number_of_events_log_payload_control, { "Number of Events / Log Payload Control", "zbee_zcl_se.events.publish_event_log.number_of_events_log_payload_control", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_log_id, { "Log ID", "zbee_zcl_se.events.publish_event_log.log_id", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_event_id, { "Event ID", "zbee_zcl_se.events.publish_event_log.event_id", FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_event_time, { "Event Time", "zbee_zcl_se.events.publish_event_log.event_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_publish_event_log_event_data, { "Event Data", "zbee_zcl_se.events.publish_event_log.event_data", FT_UINT_BYTES, SEP_COLON, NULL, 0x00, NULL, HFILL } }, { &hf_zbee_zcl_events_clear_event_log_response_cleared_event_logs, { "Cleared Event Logs", "zbee_zcl_se.events.clear_event_log_response.cleared_event_logs", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, }; /* ZCL Events subtrees */ gint *ett[ZBEE_ZCL_SE_EVENTS_NUM_TOTAL_ETT]; ett[0] = &ett_zbee_zcl_events; guint j = ZBEE_ZCL_SE_EVENTS_NUM_INDIVIDUAL_ETT; /* Initialize Publish Event Log subtrees */ for (guint i = 0; i < ZBEE_ZCL_SE_EVENTS_NUM_PUBLISH_EVENT_LOG_ETT; i++, j++) { ett_zbee_zcl_events_publish_event_log_entry[i] = -1; ett[j] = &ett_zbee_zcl_events_publish_event_log_entry[i]; } /* Register the ZigBee ZCL Events cluster protocol name and description */ proto_zbee_zcl_events = proto_register_protocol("ZigBee ZCL Events", "ZCL Events", ZBEE_PROTOABBREV_ZCL_EVENTS); proto_register_field_array(proto_zbee_zcl_events, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Events dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_EVENTS, dissect_zbee_zcl_events, proto_zbee_zcl_events); } /*proto_register_zbee_zcl_events*/ /** *Hands off the ZCL Events dissector. * */ void proto_reg_handoff_zbee_zcl_events(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_EVENTS, proto_zbee_zcl_events, ett_zbee_zcl_events, ZBEE_ZCL_CID_EVENTS, ZBEE_MFG_CODE_NONE, -1, -1, hf_zbee_zcl_events_srv_rx_cmd_id, hf_zbee_zcl_events_srv_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_events*/ /* ########################################################################## */ /* #### (0x070A) MDU PAIRING CLUSTER ############################################ */ /* ########################################################################## */ /* Attributes - None */ /* Server Commands Received */ #define zbee_zcl_mdu_pairing_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_MDU_PAIRING_REQUEST, 0x00, "Pairing Request" ) VALUE_STRING_ENUM(zbee_zcl_mdu_pairing_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_mdu_pairing_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_mdu_pairing_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_MDU_PAIRING_RESPONSE, 0x00, "Pairing Response" ) VALUE_STRING_ENUM(zbee_zcl_mdu_pairing_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_mdu_pairing_srv_tx_cmd_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_mdu_pairing(void); void proto_reg_handoff_zbee_zcl_mdu_pairing(void); /* Command Dissector Helpers */ static void dissect_zcl_mdu_pairing_request (tvbuff_t *tvb, proto_tree *tree, guint *offset); static void dissect_zcl_mdu_pairing_response(tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_mdu_pairing = -1; static int hf_zbee_zcl_mdu_pairing_srv_tx_cmd_id = -1; static int hf_zbee_zcl_mdu_pairing_srv_rx_cmd_id = -1; static int hf_zbee_zcl_mdu_pairing_info_version = -1; static int hf_zbee_zcl_mdu_pairing_total_devices_number = -1; static int hf_zbee_zcl_mdu_pairing_cmd_id = -1; static int hf_zbee_zcl_mdu_pairing_total_commands_number = -1; static int hf_zbee_zcl_mdu_pairing_device_eui64 = -1; static int hf_zbee_zcl_mdu_pairing_local_info_version = -1; static int hf_zbee_zcl_mdu_pairing_requesting_device_eui64 = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_mdu_pairing = -1; /*************************/ /* Function Bodies */ /*************************/ /** *ZigBee ZCL MDU Pairing cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_mdu_pairing(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_mdu_pairing_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_mdu_pairing_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_mdu_pairing, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_MDU_PAIRING_REQUEST: dissect_zcl_mdu_pairing_request(tvb, payload_tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_mdu_pairing_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_mdu_pairing_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_mdu_pairing, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_MDU_PAIRING_RESPONSE: dissect_zcl_mdu_pairing_response(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_mdu_pairing*/ /** *This function manages the Pairing Request payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_mdu_pairing_request(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* Local pairing information version */ proto_tree_add_item(tree, hf_zbee_zcl_mdu_pairing_local_info_version, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* EUI64 of Requesting Device */ proto_tree_add_item(tree, hf_zbee_zcl_mdu_pairing_requesting_device_eui64, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; } /*dissect_zcl_mdu_pairing_request*/ /** *This function manages the Pairing Response payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_mdu_pairing_response(tvbuff_t *tvb, proto_tree *tree, guint *offset) { guint8 devices_num; /* Pairing information version */ proto_tree_add_item(tree, hf_zbee_zcl_mdu_pairing_info_version, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; /* Total Number of Devices */ devices_num = tvb_get_guint8(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_mdu_pairing_total_devices_number, tvb, *offset, 1, ENC_NA); *offset += 1; /* Command index */ proto_tree_add_item(tree, hf_zbee_zcl_mdu_pairing_cmd_id, tvb, *offset, 1, ENC_NA); *offset += 1; /* Total Number of Commands */ proto_tree_add_item(tree, hf_zbee_zcl_mdu_pairing_total_commands_number, tvb, *offset, 1, ENC_NA); *offset += 1; /* EUI64 of Devices */ for (gint i = 0; tvb_reported_length_remaining(tvb, *offset) >= 8 && i < devices_num; i++) { /* EUI64 of Device i */ proto_tree_add_item(tree, hf_zbee_zcl_mdu_pairing_device_eui64, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; } } /*dissect_zcl_mdu_pairing_response*/ /** *This function registers the ZCL MDU Pairing dissector * */ void proto_register_zbee_zcl_mdu_pairing(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_mdu_pairing_srv_tx_cmd_id, { "Command", "zbee_zcl_se.mdu_pairing.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_mdu_pairing_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_mdu_pairing_srv_rx_cmd_id, { "Command", "zbee_zcl_se.mdu_pairing.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_mdu_pairing_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_mdu_pairing_info_version, { "Pairing information version", "zbee_zcl_se.mdu_pairing.info_version", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_mdu_pairing_total_devices_number, { "Total Number of Devices", "zbee_zcl_se.mdu_pairing.total_devices_number", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_mdu_pairing_cmd_id, { "Command Index", "zbee_zcl_se.mdu_pairing.command_index", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_mdu_pairing_total_commands_number, { "Total Number of Commands", "zbee_zcl_se.mdu_pairing.total_commands_number", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_mdu_pairing_device_eui64, { "Device EUI64", "zbee_zcl_se.mdu_pairing.device_eui64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_mdu_pairing_local_info_version, { "Local Pairing Information Version", "zbee_zcl_se.mdu_pairing.local_info_version", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_zbee_zcl_mdu_pairing_requesting_device_eui64, { "EUI64 of Requesting Device", "zbee_zcl_se.mdu_pairing.requesting_device_eui64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL } }, }; /* ZCL MDU Pairing subtrees */ gint *ett[] = { &ett_zbee_zcl_mdu_pairing }; /* Register the ZigBee ZCL MDU Pairing cluster protocol name and description */ proto_zbee_zcl_mdu_pairing = proto_register_protocol("ZigBee ZCL MDU Pairing", "ZCL MDU Pairing", ZBEE_PROTOABBREV_ZCL_MDU_PAIRING); proto_register_field_array(proto_zbee_zcl_mdu_pairing, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL MDU Pairing dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_MDU_PAIRING, dissect_zbee_zcl_mdu_pairing, proto_zbee_zcl_mdu_pairing); } /*proto_register_zbee_zcl_mdu_pairing*/ /** *Hands off the ZCL MDU Pairing dissector. * */ void proto_reg_handoff_zbee_zcl_mdu_pairing(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_MDU_PAIRING, proto_zbee_zcl_mdu_pairing, ett_zbee_zcl_mdu_pairing, ZBEE_ZCL_CID_MDU_PAIRING, ZBEE_MFG_CODE_NONE, -1, -1, hf_zbee_zcl_mdu_pairing_srv_rx_cmd_id, hf_zbee_zcl_mdu_pairing_srv_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_mdu_pairing*/ /* ########################################################################## */ /* #### (0x070B) SUB-GHZ CLUSTER ############################################ */ /* ########################################################################## */ /* Attributes */ #define zbee_zcl_sub_ghz_attr_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_ATTR_ID_SUB_GHZ_CHANNEL_CHANGE, 0x0000, "Channel Change" ) \ XXX(ZBEE_ZCL_ATTR_ID_SUB_GHZ_PAGE_28_CHANNEL_MASK, 0x0001, "Page 28 Channel Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_SUB_GHZ_PAGE_29_CHANNEL_MASK, 0x0002, "Page 29 Channel Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_SUB_GHZ_PAGE_30_CHANNEL_MASK, 0x0003, "Page 30 Channel Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_SUB_GHZ_PAGE_31_CHANNEL_MASK, 0x0004, "Page 31 Channel Mask" ) \ XXX(ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_SUB_GHZ, 0xFFFE, "Attribute Reporting Status" ) VALUE_STRING_ENUM(zbee_zcl_sub_ghz_attr_names); VALUE_STRING_ARRAY(zbee_zcl_sub_ghz_attr_names); /* Server Commands Received */ #define zbee_zcl_sub_ghz_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_SUB_GHZ_GET_SUSPEND_ZCL_MESSAGES_STATUS, 0x00, "Get Suspend ZCL Messages Status" ) VALUE_STRING_ENUM(zbee_zcl_sub_ghz_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_sub_ghz_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_sub_ghz_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_SUB_GHZ_SUSPEND_ZCL_MESSAGES, 0x00, "Suspend ZCL Messages" ) VALUE_STRING_ENUM(zbee_zcl_sub_ghz_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_sub_ghz_srv_tx_cmd_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_sub_ghz(void); void proto_reg_handoff_zbee_zcl_sub_ghz(void); /* Attribute Dissector Helpers */ static void dissect_zcl_sub_ghz_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); /* Command Dissector Helpers */ static void dissect_zcl_sub_ghz_suspend_zcl_messages(tvbuff_t *tvb, proto_tree *tree, guint *offset); /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_sub_ghz = -1; static int hf_zbee_zcl_sub_ghz_srv_tx_cmd_id = -1; static int hf_zbee_zcl_sub_ghz_srv_rx_cmd_id = -1; static int hf_zbee_zcl_sub_ghz_attr_id = -1; static int hf_zbee_zcl_sub_ghz_attr_reporting_status = -1; static int hf_zbee_zcl_sub_ghz_zcl_messages_suspension_period = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_sub_ghz = -1; /*************************/ /* Function Bodies */ /*************************/ /** *This function is called by ZCL foundation dissector in order to decode * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to buffer offset *@param attr_id attribute identifier *@param data_type attribute data type *@param client_attr ZCL client */ static void dissect_zcl_sub_ghz_attr_data(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr) { /* Dissect attribute data type and data */ switch (attr_id) { /* applies to all SE clusters */ case ZBEE_ZCL_ATTR_ID_SE_ATTR_REPORT_STATUS_SUB_GHZ: proto_tree_add_item(tree, hf_zbee_zcl_sub_ghz_attr_reporting_status, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_ATTR_ID_SUB_GHZ_CHANNEL_CHANGE: case ZBEE_ZCL_ATTR_ID_SUB_GHZ_PAGE_28_CHANNEL_MASK: case ZBEE_ZCL_ATTR_ID_SUB_GHZ_PAGE_29_CHANNEL_MASK: case ZBEE_ZCL_ATTR_ID_SUB_GHZ_PAGE_30_CHANNEL_MASK: case ZBEE_ZCL_ATTR_ID_SUB_GHZ_PAGE_31_CHANNEL_MASK: default: /* Catch all */ dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); break; } } /*dissect_zcl_sub_ghz_attr_data*/ /** *ZigBee ZCL Sub-Ghz cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_sub_ghz(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *payload_tree; zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_sub_ghz_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_sub_ghz_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { /* payload_tree = */proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_sub_ghz, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_SUB_GHZ_GET_SUSPEND_ZCL_MESSAGES_STATUS: /* No Payload */ break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_sub_ghz_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_sub_ghz_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { payload_tree = proto_tree_add_subtree(tree, tvb, offset, rem_len, ett_zbee_zcl_sub_ghz, NULL, "Payload"); /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_SUB_GHZ_SUSPEND_ZCL_MESSAGES: dissect_zcl_sub_ghz_suspend_zcl_messages(tvb, payload_tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_sub_ghz*/ /** *This function manages the Suspend ZCL Messages payload * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_sub_ghz_suspend_zcl_messages(tvbuff_t *tvb, proto_tree *tree, guint *offset) { /* (Optional) Suspension Period */ if (tvb_reported_length_remaining(tvb, *offset) > 0) { proto_tree_add_item(tree, hf_zbee_zcl_sub_ghz_zcl_messages_suspension_period, tvb, *offset, 1, ENC_NA); *offset += 1; } } /*dissect_zcl_sub_ghz_suspend_zcl_messages*/ /** *This function registers the ZCL Sub-Ghz dissector * */ void proto_register_zbee_zcl_sub_ghz(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_sub_ghz_attr_id, { "Attribute", "zbee_zcl_se.sub_ghz.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_sub_ghz_attr_names), 0x0, NULL, HFILL } }, { &hf_zbee_zcl_sub_ghz_attr_reporting_status, /* common to all SE clusters */ { "Attribute Reporting Status", "zbee_zcl_se.sub_ghz.attr.attr_reporting_status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_se_reporting_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_sub_ghz_srv_tx_cmd_id, { "Command", "zbee_zcl_se.sub_ghz.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_sub_ghz_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_sub_ghz_srv_rx_cmd_id, { "Command", "zbee_zcl_se.sub_ghz.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_sub_ghz_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_sub_ghz_zcl_messages_suspension_period, { "ZCL Messages Suspension Period", "zbee_zcl_se.sub_ghz.zcl_messages_suspension_period", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, }; /* ZCL Sub-Ghz subtrees */ gint *ett[] = { &ett_zbee_zcl_sub_ghz }; /* Register the ZigBee ZCL Sub-Ghz cluster protocol name and description */ proto_zbee_zcl_sub_ghz = proto_register_protocol("ZigBee ZCL Sub-Ghz", "ZCL Sub-Ghz", ZBEE_PROTOABBREV_ZCL_SUB_GHZ); proto_register_field_array(proto_zbee_zcl_sub_ghz, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Sub-Ghz dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_SUB_GHZ, dissect_zbee_zcl_sub_ghz, proto_zbee_zcl_sub_ghz); } /*proto_register_zbee_zcl_sub_ghz*/ /** *Hands off the ZCL Sub-Ghz dissector. * */ void proto_reg_handoff_zbee_zcl_sub_ghz(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_SUB_GHZ, proto_zbee_zcl_sub_ghz, ett_zbee_zcl_sub_ghz, ZBEE_ZCL_CID_SUB_GHZ, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_sub_ghz_attr_id, -1, hf_zbee_zcl_sub_ghz_srv_rx_cmd_id, hf_zbee_zcl_sub_ghz_srv_tx_cmd_id, (zbee_zcl_fn_attr_data)dissect_zcl_sub_ghz_attr_data ); } /*proto_reg_handoff_zbee_zcl_sub_ghz*/ /* ########################################################################## */ /* #### (0x0800) KEY ESTABLISHMENT ########################################## */ /* ########################################################################## */ /*************************/ /* Defines */ /*************************/ #define ZBEE_ZCL_KE_USAGE_KEY_AGREEMENT 0x08 #define ZBEE_ZCL_KE_USAGE_DIGITAL_SIGNATURE 0x80 /* Attributes */ #define zbee_zcl_ke_attr_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_ATTR_ID_KE_SUITE, 0x0000, "Supported Key Establishment Suites" ) VALUE_STRING_ARRAY(zbee_zcl_ke_attr_names); /* Server Commands Received */ #define zbee_zcl_ke_srv_rx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_KE_INITIATE_REQ, 0x00, "Initiate Key Establishment Request" ) \ XXX(ZBEE_ZCL_CMD_ID_KE_EPHEMERAL_REQ, 0x01, "Ephemeral Data Request" ) \ XXX(ZBEE_ZCL_CMD_ID_KE_CONFIRM_REQ, 0x02, "Confirm Key Data Request" ) \ XXX(ZBEE_ZCL_CMD_ID_KE_CLNT_TERMINATE, 0x03, "Terminate Key Establishment" ) VALUE_STRING_ENUM(zbee_zcl_ke_srv_rx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_ke_srv_rx_cmd_names); /* Server Commands Generated */ #define zbee_zcl_ke_srv_tx_cmd_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_CMD_ID_KE_INITIATE_RSP, 0x00, "Initiate Key Establishment Response" ) \ XXX(ZBEE_ZCL_CMD_ID_KE_EPHEMERAL_RSP, 0x01, "Ephemeral Data Response" ) \ XXX(ZBEE_ZCL_CMD_ID_KE_CONFIRM_RSP, 0x02, "Confirm Key Data Response" ) \ XXX(ZBEE_ZCL_CMD_ID_KE_SRV_TERMINATE, 0x03, "Terminate Key Establishment" ) VALUE_STRING_ENUM(zbee_zcl_ke_srv_tx_cmd_names); VALUE_STRING_ARRAY(zbee_zcl_ke_srv_tx_cmd_names); /* Suite Names */ #define zbee_zcl_ke_suite_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_KE_SUITE_1, 0x0001, "Crypto Suite 1 (CBKE K163)" ) \ XXX(ZBEE_ZCL_KE_SUITE_2, 0x0002, "Crypto Suite 2 (CBKE K283)" ) VALUE_STRING_ENUM(zbee_zcl_ke_suite_names); VALUE_STRING_ARRAY(zbee_zcl_ke_suite_names); /* Crypto Suite 2 Type Names */ #define zbee_zcl_ke_type_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_KE_TYPE_NO_EXT, 0x00, "No Extensions" ) VALUE_STRING_ARRAY(zbee_zcl_ke_type_names); /* Crypto Suite 2 Curve Names */ #define zbee_zcl_ke_curve_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_KE_CURVE_SECT283K1, 0x0D, "sect283k1" ) VALUE_STRING_ARRAY(zbee_zcl_ke_curve_names); /* Crypto Suite 2 Hash Names */ #define zbee_zcl_ke_hash_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_KE_HASH_AES_MMO, 0x08, "AES MMO" ) VALUE_STRING_ARRAY(zbee_zcl_ke_hash_names); #define zbee_zcl_ke_status_names_VALUE_STRING_LIST(XXX) \ XXX(ZBEE_ZCL_KE_STATUS_RESERVED, 0x00, "Reserved" ) \ XXX(ZBEE_ZCL_KE_STATUS_UNKNOWN_ISSUER, 0x01, "Unknown Issuer" ) \ XXX(ZBEE_ZCL_KE_STATUS_BAD_KEY_CONFIRM, 0x02, "Bad Key Confirm" ) \ XXX(ZBEE_ZCL_KE_STATUS_BAD_MESSAGE, 0x03, "Bad Message" ) \ XXX(ZBEE_ZCL_KE_STATUS_NO_RESOURCES, 0x04, "No Resources" ) \ XXX(ZBEE_ZCL_KE_STATUS_UNSUPPORTED_SUITE, 0x05, "Unsupported Suite" ) \ XXX(ZBEE_ZCL_KE_STATUS_INVALID_CERTIFICATE, 0x06, "Invalid Certificate" ) VALUE_STRING_ARRAY(zbee_zcl_ke_status_names); /*************************/ /* Function Declarations */ /*************************/ void proto_register_zbee_zcl_ke(void); void proto_reg_handoff_zbee_zcl_ke(void); /* Private functions prototype */ /*************************/ /* Global Variables */ /*************************/ /* Initialize the protocol and registered fields */ static int proto_zbee_zcl_ke = -1; static int hf_zbee_zcl_ke_srv_tx_cmd_id = -1; static int hf_zbee_zcl_ke_srv_rx_cmd_id = -1; static int hf_zbee_zcl_ke_attr_id = -1; static int hf_zbee_zcl_ke_attr_client_id = -1; static int hf_zbee_zcl_ke_suite = -1; static int hf_zbee_zcl_ke_ephemeral_time = -1; static int hf_zbee_zcl_ke_confirm_time = -1; static int hf_zbee_zcl_ke_status = -1; static int hf_zbee_zcl_ke_wait_time = -1; static int hf_zbee_zcl_ke_cert_reconstr = -1; static int hf_zbee_zcl_ke_cert_subject = -1; static int hf_zbee_zcl_ke_cert_issuer = -1; static int hf_zbee_zcl_ke_cert_profile_attr = -1; static int hf_zbee_zcl_ke_cert_type = -1; static int hf_zbee_zcl_ke_cert_serialno = -1; static int hf_zbee_zcl_ke_cert_curve = -1; static int hf_zbee_zcl_ke_cert_hash = -1; static int hf_zbee_zcl_ke_cert_valid_from = -1; static int hf_zbee_zcl_ke_cert_valid_to = -1; static int hf_zbee_zcl_ke_cert_key_usage_agreement = -1; static int hf_zbee_zcl_ke_cert_key_usage_signature = -1; static int hf_zbee_zcl_ke_ephemeral_qeu = -1; static int hf_zbee_zcl_ke_ephemeral_qev = -1; static int hf_zbee_zcl_ke_macu = -1; static int hf_zbee_zcl_ke_macv = -1; /* Initialize the subtree pointers */ static gint ett_zbee_zcl_ke = -1; static gint ett_zbee_zcl_ke_cert = -1; static gint ett_zbee_zcl_ke_key_usage = -1; /*************************/ /* Function Bodies */ /*************************/ /** *This function dissects the Suite 1 Certificate * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_ke_suite1_certificate(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_reconstr, tvb, *offset, 22, ENC_NA); *offset += 22; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_subject, tvb, *offset, 8, ENC_NA); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_issuer, tvb, *offset, 8, ENC_NA); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_profile_attr, tvb, *offset, 10, ENC_NA); *offset += 10; } /*dissect_zcl_ke_suite1_certificate*/ /** *This function dissects the Suite 2 Certificate * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_ke_suite2_certificate(tvbuff_t *tvb, proto_tree *tree, guint *offset) { nstime_t valid_from_time; nstime_t valid_to_time; guint32 valid_to; guint8 key_usage; proto_tree *usage_tree; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_type, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_serialno, tvb, *offset, 8, ENC_NA); *offset += 8; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_curve, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_hash, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_issuer, tvb, *offset, 8, ENC_NA); *offset += 8; valid_from_time.secs = (time_t)tvb_get_ntoh40(tvb, *offset); valid_from_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_ke_cert_valid_from, tvb, *offset, 5, &valid_from_time); *offset += 5; valid_to = tvb_get_ntohl(tvb, *offset); if (valid_to == 0xFFFFFFFF) { proto_tree_add_time_format(tree, hf_zbee_zcl_ke_cert_valid_to, tvb, *offset, 4, &valid_to_time, "Valid To: does not expire (0xFFFFFFFF)"); } else { valid_to_time.secs = valid_from_time.secs + valid_to; valid_to_time.nsecs = 0; proto_tree_add_time(tree, hf_zbee_zcl_ke_cert_valid_to, tvb, *offset, 4, &valid_to_time); } *offset += 4; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_subject, tvb, *offset, 8, ENC_NA); *offset += 8; key_usage = tvb_get_guint8(tvb, *offset); usage_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 1, ett_zbee_zcl_ke_key_usage, NULL, "Key Usage (0x%02x)", key_usage); proto_tree_add_item(usage_tree, hf_zbee_zcl_ke_cert_key_usage_agreement, tvb, *offset, 1, ENC_NA); proto_tree_add_item(usage_tree, hf_zbee_zcl_ke_cert_key_usage_signature, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ke_cert_reconstr, tvb, *offset, 37, ENC_NA); *offset += 37; } /*dissect_zcl_ke_suite2_certificate*/ /** *This function manages the Initiate Key Establishment message * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_ke_initiate(tvbuff_t *tvb, proto_tree *tree, guint *offset) { gint rem_len; proto_tree *subtree; guint16 suite; suite = tvb_get_letohs(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ke_suite, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(tree, hf_zbee_zcl_ke_ephemeral_time, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ke_confirm_time, tvb, *offset, 1, ENC_NA); *offset += 1; rem_len = tvb_reported_length_remaining(tvb, *offset); subtree = proto_tree_add_subtree(tree, tvb, *offset, rem_len, ett_zbee_zcl_ke_cert, NULL, "Implicit Certificate"); switch (suite) { case ZBEE_ZCL_KE_SUITE_1: dissect_zcl_ke_suite1_certificate(tvb, subtree, offset); break; case ZBEE_ZCL_KE_SUITE_2: dissect_zcl_ke_suite2_certificate(tvb, subtree, offset); break; default: break; } } /* dissect_zcl_ke_initiate */ /** *This function dissects the Ephemeral Data QEU * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static int dissect_zcl_ke_ephemeral_qeu(tvbuff_t *tvb, proto_tree *tree, guint *offset) { gint length; /* size depends on suite but without a session we don't know that here */ /* so just report what we have */ length = tvb_reported_length_remaining(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ke_ephemeral_qeu, tvb, *offset, length, ENC_NA); *offset += length; return tvb_captured_length(tvb); } /** *This function dissects the Ephemeral Data QEV * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static int dissect_zcl_ke_ephemeral_qev(tvbuff_t *tvb, proto_tree *tree, guint *offset) { gint length; /* size depends on suite but without a session we don't know that here */ /* so just report what we have */ length = tvb_reported_length_remaining(tvb, *offset); proto_tree_add_item(tree, hf_zbee_zcl_ke_ephemeral_qev, tvb, *offset, length, ENC_NA); *offset += length; return tvb_captured_length(tvb); } /** *This function dissects the Confirm MACU * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static int dissect_zcl_ke_confirm_macu(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_ke_macu, tvb, *offset, ZBEE_SEC_CONST_BLOCKSIZE, ENC_NA); *offset += ZBEE_SEC_CONST_BLOCKSIZE; return tvb_captured_length(tvb); } /** *This function dissects the Confirm MACV * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static int dissect_zcl_ke_confirm_macv(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_ke_macv, tvb, *offset, ZBEE_SEC_CONST_BLOCKSIZE, ENC_NA); *offset += ZBEE_SEC_CONST_BLOCKSIZE; return tvb_captured_length(tvb); } /** *This function dissects the Terminate Key Establishment message * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_ke_terminate(tvbuff_t *tvb, proto_tree *tree, guint *offset) { proto_tree_add_item(tree, hf_zbee_zcl_ke_status, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ke_wait_time, tvb, *offset, 1, ENC_NA); *offset += 1; proto_tree_add_item(tree, hf_zbee_zcl_ke_suite, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /** *ZigBee ZCL Key Establishment cluster dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zcl_ke(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { zbee_zcl_packet *zcl; guint offset = 0; guint8 cmd_id; gint rem_len; /* Reject the packet if data is NULL */ if (data == NULL) return 0; zcl = (zbee_zcl_packet *)data; cmd_id = zcl->cmd_id; /* Create a subtree for the ZCL Command frame, and add the command ID to it. */ if (zcl->direction == ZBEE_ZCL_FCF_TO_SERVER) { /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ke_srv_rx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_ke_srv_rx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, offset); offset += 1; /* delay from last add_item */ if (rem_len > 0) { /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_KE_INITIATE_REQ: dissect_zcl_ke_initiate(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_KE_EPHEMERAL_REQ: return dissect_zcl_ke_ephemeral_qeu(tvb, tree, &offset); case ZBEE_ZCL_CMD_ID_KE_CONFIRM_REQ: return dissect_zcl_ke_confirm_macu(tvb, tree, &offset); case ZBEE_ZCL_CMD_ID_KE_CLNT_TERMINATE: dissect_zcl_ke_terminate(tvb, tree, &offset); break; default: break; } } } else { /* ZBEE_ZCL_FCF_TO_CLIENT */ /* Append the command name to the info column. */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_const(cmd_id, zbee_zcl_ke_srv_tx_cmd_names, "Unknown Command"), zcl->tran_seqno); /* Add the command ID. */ proto_tree_add_uint(tree, hf_zbee_zcl_ke_srv_tx_cmd_id, tvb, offset, 1, cmd_id); /* Check is this command has a payload, than add the payload tree */ rem_len = tvb_reported_length_remaining(tvb, ++offset); if (rem_len > 0) { /* Call the appropriate command dissector */ switch (cmd_id) { case ZBEE_ZCL_CMD_ID_KE_INITIATE_RSP: dissect_zcl_ke_initiate(tvb, tree, &offset); break; case ZBEE_ZCL_CMD_ID_KE_EPHEMERAL_RSP: return dissect_zcl_ke_ephemeral_qev(tvb, tree, &offset); case ZBEE_ZCL_CMD_ID_KE_CONFIRM_RSP: return dissect_zcl_ke_confirm_macv(tvb, tree, &offset); case ZBEE_ZCL_CMD_ID_KE_SRV_TERMINATE: dissect_zcl_ke_terminate(tvb, tree, &offset); break; default: break; } } } return tvb_captured_length(tvb); } /*dissect_zbee_zcl_ke*/ /** *This function registers the ZCL Key Establishment dissector * */ void proto_register_zbee_zcl_ke(void) { static hf_register_info hf[] = { { &hf_zbee_zcl_ke_attr_id, { "Attribute", "zbee_zcl_se.ke.attr_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_ke_attr_names), 0x00, NULL, HFILL } }, /* Server and client attributes are the same but should of cause be put in the correct field */ { &hf_zbee_zcl_ke_attr_client_id, { "Attribute", "zbee_zcl_se.ke.attr_client_id", FT_UINT16, BASE_HEX, VALS(zbee_zcl_ke_attr_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ke_srv_tx_cmd_id, { "Command", "zbee_zcl_se.ke.cmd.srv_tx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ke_srv_tx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ke_srv_rx_cmd_id, { "Command", "zbee_zcl_se.ke.cmd.srv_rx.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ke_srv_rx_cmd_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ke_suite, { "Key Establishment Suite", "zbee_zcl_se.ke.attr.suite", FT_UINT16, BASE_HEX, VALS(zbee_zcl_ke_suite_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ke_ephemeral_time, { "Ephemeral Data Generate Time", "zbee_zcl_se.ke.init.ephemeral.time", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_confirm_time, { "Confirm Key Generate Time", "zbee_zcl_se.ke.init.confirm.time", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_status, { "Status", "zbee_zcl_se.ke.terminate.status", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ke_status_names), 0x00, NULL, HFILL } }, { &hf_zbee_zcl_ke_wait_time, { "Wait Time", "zbee_zcl_se.ke.terminate.wait.time", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_reconstr, { "Public Key", "zbee_zcl_se.ke.cert.reconst", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_subject, { "Subject", "zbee_zcl_se.ke.cert.subject", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_issuer, { "Issuer", "zbee_zcl_se.ke.cert.issuer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_profile_attr, { "Profile Attribute Data", "zbee_zcl_se.ke.cert.profile", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_type, { "Type", "zbee_zcl_se.ke.cert.type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ke_type_names), 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_serialno, { "Serial No", "zbee_zcl_se.ke.cert.serialno", FT_UINT64, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_curve, { "Curve", "zbee_zcl_se.ke.cert.curve", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ke_curve_names), 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_hash, { "Hash", "zbee_zcl_se.ke.cert.hash", FT_UINT8, BASE_HEX, VALS(zbee_zcl_ke_hash_names), 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_valid_from, { "Valid From", "zbee_zcl_se.ke.cert.valid.from", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_valid_to, { "Valid To", "zbee_zcl_se.ke.cert.valid.to", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_cert_key_usage_agreement, { "Key Agreement", "zbee_zcl_se.ke.cert.key.usage.agreement", FT_BOOLEAN, 8, TFS(&tfs_enabled_disabled), ZBEE_ZCL_KE_USAGE_KEY_AGREEMENT, NULL, HFILL }}, { &hf_zbee_zcl_ke_cert_key_usage_signature, { "Digital Signature", "zbee_zcl_se.ke.cert.key.usage.signature", FT_BOOLEAN, 8, TFS(&tfs_enabled_disabled), ZBEE_ZCL_KE_USAGE_DIGITAL_SIGNATURE, NULL, HFILL }}, { &hf_zbee_zcl_ke_ephemeral_qeu, { "Ephemeral Data (QEU)", "zbee_zcl_se.ke.qeu", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_ephemeral_qev, { "Ephemeral Data (QEV)", "zbee_zcl_se.ke.qev", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_macu, { "Message Authentication Code (MACU)", "zbee_zcl_se.ke.macu", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zbee_zcl_ke_macv, { "Message Authentication Code (MACV)", "zbee_zcl_se.ke.macv", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, }; /* subtrees */ gint *ett[] = { &ett_zbee_zcl_ke, &ett_zbee_zcl_ke_cert, &ett_zbee_zcl_ke_key_usage, }; /* Register the ZigBee ZCL Key Establishment cluster protocol name and description */ proto_zbee_zcl_ke = proto_register_protocol("ZigBee ZCL Key Establishment", "ZCL Key Establishment", ZBEE_PROTOABBREV_ZCL_KE); proto_register_field_array(proto_zbee_zcl_ke, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register the ZigBee ZCL Key Establishment dissector. */ register_dissector(ZBEE_PROTOABBREV_ZCL_KE, dissect_zbee_zcl_ke, proto_zbee_zcl_ke); } /*proto_register_zbee_zcl_ke*/ /** *Hands off the ZCL Key Establishment dissector. * */ void proto_reg_handoff_zbee_zcl_ke(void) { zbee_zcl_init_cluster( ZBEE_PROTOABBREV_ZCL_KE, proto_zbee_zcl_ke, ett_zbee_zcl_ke, ZBEE_ZCL_CID_KE, ZBEE_MFG_CODE_NONE, hf_zbee_zcl_ke_attr_id, hf_zbee_zcl_ke_attr_client_id, hf_zbee_zcl_ke_srv_rx_cmd_id, hf_zbee_zcl_ke_srv_tx_cmd_id, NULL ); } /*proto_reg_handoff_zbee_zcl_ke*/ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zcl.c
/* packet-zbee-zcl.c * Dissector routines for the ZigBee Cluster Library (ZCL) * By Fred Fierling <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Used Owen Kirby's packet-zbee-aps module as a template. Based * on ZigBee Cluster Library Specification document 075123r02ZB * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/expert.h> #include "packet-zbee.h" #include "packet-zbee-nwk.h" #include "packet-zbee-zcl.h" /************************* * Function Declarations * ************************* */ void proto_register_zbee_zcl(void); void proto_reg_handoff_zbee_zcl(void); /* Command Dissector Helpers */ static void dissect_zcl_write_attr_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_config_report (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_config_report_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_read_report_config (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_read_report_config_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_default_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset); static void dissect_zcl_discover_attr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset); static void dissect_zcl_discover_attr_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_read_attr_struct(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, guint* offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_write_attr_struct(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, guint* offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_write_attr_struct_resp(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, guint* offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); static void dissect_zcl_discover_cmd_rec(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, guint* offset); static void dissect_zcl_discover_cmd_rec_resp(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, guint* offset); //static void dissect_zcl_discover_attr_extended_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); /* Helper routines */ static void dissect_zcl_attr_data_general(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 attr_id, guint data_type, guint16 cluster_id, guint16 mfr_code, gboolean client_attr); static void zcl_dump_data(tvbuff_t *tvb, guint offset, packet_info *pinfo, proto_tree *tree); static void dissect_zcl_array_type(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint8 elements_type, guint16 elements_num, gboolean client_attr); static void dissect_zcl_set_type(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint8 elements_type, guint16 elements_num, gboolean client_attr); static zbee_zcl_cluster_desc *zbee_zcl_get_cluster_desc(guint16 cluster_id, guint16 mfr_code); static void dissect_zcl_discover_cmd_attr_extended_resp(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tree, guint* offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); /******************** * Global Variables * ******************** */ /* Header Field Indices. */ static int proto_zbee_zcl = -1; static int hf_zbee_zcl_fcf_frame_type = -1; static int hf_zbee_zcl_fcf_mfr_spec = -1; static int hf_zbee_zcl_fcf_dir = -1; static int hf_zbee_zcl_fcf_disable_default_resp = -1; static int hf_zbee_zcl_mfr_code = -1; static int hf_zbee_zcl_tran_seqno = -1; static int hf_zbee_zcl_cmd_id = -1; static int hf_zbee_zcl_cs_cmd_id = -1; static int hf_zbee_zcl_cmd_id_rsp = -1; static int hf_zbee_zcl_attr_id = -1; static int hf_zbee_zcl_attr_data_type = -1; static int hf_zbee_zcl_attr_access_ctrl = -1; static int hf_zbee_zcl_indicator = -1; static int hf_zbee_zcl_index = -1; static int hf_zbee_zcl_cmd_start = -1; static int hf_zbee_zcl_cmd_maxnum = -1; static int hf_zbee_zcl_attr_boolean = -1; static int hf_zbee_zcl_attr_bitmap8 = -1; static int hf_zbee_zcl_attr_bitmap16 = -1; static int hf_zbee_zcl_attr_bitmap24 = -1; static int hf_zbee_zcl_attr_bitmap32 = -1; static int hf_zbee_zcl_attr_bitmap40 = -1; static int hf_zbee_zcl_attr_bitmap48 = -1; static int hf_zbee_zcl_attr_bitmap56 = -1; static int hf_zbee_zcl_attr_bitmap64 = -1; static int hf_zbee_zcl_attr_uint8 = -1; static int hf_zbee_zcl_attr_uint16 = -1; static int hf_zbee_zcl_attr_uint24 = -1; static int hf_zbee_zcl_attr_uint32 = -1; static int hf_zbee_zcl_attr_uint40 = -1; static int hf_zbee_zcl_attr_uint48 = -1; static int hf_zbee_zcl_attr_uint56 = -1; static int hf_zbee_zcl_attr_uint64 = -1; static int hf_zbee_zcl_attr_int8 = -1; static int hf_zbee_zcl_attr_int16 = -1; static int hf_zbee_zcl_attr_int24 = -1; static int hf_zbee_zcl_attr_int32 = -1; static int hf_zbee_zcl_attr_int64 = -1; /* static int hf_zbee_zcl_attr_semi = -1; */ static int hf_zbee_zcl_attr_float = -1; static int hf_zbee_zcl_attr_double = -1; static int hf_zbee_zcl_attr_bytes = -1; static int hf_zbee_zcl_attr_minint = -1; static int hf_zbee_zcl_attr_maxint = -1; static int hf_zbee_zcl_attr_timeout = -1; static int hf_zbee_zcl_attr_cid = -1; static int hf_zbee_zcl_attr_hours = -1; static int hf_zbee_zcl_attr_mins = -1; static int hf_zbee_zcl_attr_secs = -1; static int hf_zbee_zcl_attr_csecs = -1; static int hf_zbee_zcl_attr_yy = -1; static int hf_zbee_zcl_attr_mm = -1; static int hf_zbee_zcl_attr_md = -1; static int hf_zbee_zcl_attr_wd = -1; static int hf_zbee_zcl_attr_utc = -1; static int hf_zbee_zcl_attr_status = -1; static int hf_zbee_zcl_attr_dir = -1; static int hf_zbee_zcl_attr_dis = -1; static int hf_zbee_zcl_attr_start = -1; static int hf_zbee_zcl_attr_maxnum = -1; static int hf_zbee_zcl_attr_str = -1; static int hf_zbee_zcl_attr_ostr = -1; static int hf_zbee_zcl_attr_array_elements_type = -1; static int hf_zbee_zcl_attr_array_elements_num = -1; static int hf_zbee_zcl_attr_set_elements_type = -1; static int hf_zbee_zcl_attr_set_elements_num = -1; static int hf_zbee_zcl_attr_bag_elements_type = -1; static int hf_zbee_zcl_attr_bag_elements_num = -1; /* Subtree indices. */ static gint ett_zbee_zcl = -1; static gint ett_zbee_zcl_fcf = -1; static gint ett_zbee_zcl_attr[ZBEE_ZCL_NUM_ATTR_ETT]; static gint ett_zbee_zcl_sel[ZBEE_ZCL_NUM_IND_FIELD]; static gint ett_zbee_zcl_array_elements[ZBEE_ZCL_NUM_ARRAY_ELEM_ETT]; static expert_field ei_cfg_rpt_rsp_short_non_success = EI_INIT; static expert_field ei_zbee_zero_length_element = EI_INIT; /* Dissector List. */ static dissector_table_t zbee_zcl_dissector_table; /* Global variables */ static guint16 zcl_cluster_id = -1; static guint16 zcl_mfr_code = -1; static GList *acluster_desc = NULL; /********************/ /* Field Names */ /********************/ /* Frame Type Names */ static const value_string zbee_zcl_frame_types[] = { { ZBEE_ZCL_FCF_PROFILE_WIDE, "Profile-wide" }, { ZBEE_ZCL_FCF_CLUSTER_SPEC, "Cluster-specific" }, { 0, NULL } }; /* ZCL Command Names */ static const value_string zbee_zcl_cmd_names[] = { { ZBEE_ZCL_CMD_READ_ATTR, "Read Attributes" }, { ZBEE_ZCL_CMD_READ_ATTR_RESP, "Read Attributes Response" }, { ZBEE_ZCL_CMD_WRITE_ATTR, "Write Attributes" }, { ZBEE_ZCL_CMD_WRITE_ATTR_UNDIVIDED, "Write Attributes Undivided" }, { ZBEE_ZCL_CMD_WRITE_ATTR_RESP, "Write Attributes Response" }, { ZBEE_ZCL_CMD_WRITE_ATTR_NO_RESP, "Write Attributes No Response" }, { ZBEE_ZCL_CMD_CONFIG_REPORT, "Configure Reporting" }, { ZBEE_ZCL_CMD_CONFIG_REPORT_RESP, "Configure Reporting Response" }, { ZBEE_ZCL_CMD_READ_REPORT_CONFIG, "Read Reporting Configuration" }, { ZBEE_ZCL_CMD_READ_REPORT_CONFIG_RESP, "Read Reporting Configuration Response" }, { ZBEE_ZCL_CMD_REPORT_ATTR, "Report Attributes" }, { ZBEE_ZCL_CMD_DEFAULT_RESP, "Default Response" }, { ZBEE_ZCL_CMD_DISCOVER_ATTR, "Discover Attributes" }, { ZBEE_ZCL_CMD_DISCOVER_ATTR_RESP, "Discover Attributes Response" }, { ZBEE_ZCL_CMD_READ_ATTR_STRUCT, "Read Attributes Structured" }, { ZBEE_ZCL_CMD_WRITE_ATTR_STRUCT, "Write Attributes Structured" }, { ZBEE_ZCL_CMD_WRITE_ATTR_STRUCT_RESP, "Write Attributes Structured Response" }, { ZBEE_ZCL_CMD_DISCOVER_CMDS_REC, "Discover Commands Received" }, { ZBEE_ZCL_CMD_DISCOVER_CMDS_REC_RESP, "Discover Commands Received Response" }, { 0, NULL } }; static value_string_ext zbee_zcl_cmd_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_cmd_names); /* ZCL Cluster-Specific Command Names */ static const value_string zbee_zcl_cs_cmd_names[] = { { 0, NULL } }; /* ZigBee Manufacturer Code Table */ /* Per: 053874r74, June 2021 */ const value_string zbee_mfr_code_names[] = { { ZBEE_MFG_CODE_PANASONIC_RF4CE, ZBEE_MFG_PANASONIC }, { ZBEE_MFG_CODE_SONY_RF4CE, ZBEE_MFG_SONY }, { ZBEE_MFG_CODE_SAMSUNG_RF4CE, ZBEE_MFG_SAMSUNG }, { ZBEE_MFG_CODE_PHILIPS_RF4CE, ZBEE_MFG_PHILIPS }, { ZBEE_MFG_CODE_FREESCALE_RF4CE, ZBEE_MFG_FREESCALE }, { ZBEE_MFG_CODE_OKI_SEMI_RF4CE, ZBEE_MFG_OKI_SEMI }, { ZBEE_MFG_CODE_TI_RF4CE, ZBEE_MFG_TI }, { ZBEE_MFG_CODE_CIRRONET, ZBEE_MFG_CIRRONET }, { ZBEE_MFG_CODE_CHIPCON, ZBEE_MFG_CHIPCON }, { ZBEE_MFG_CODE_EMBER, ZBEE_MFG_EMBER }, { ZBEE_MFG_CODE_NTS, ZBEE_MFG_NTS }, { ZBEE_MFG_CODE_FREESCALE, ZBEE_MFG_FREESCALE }, { ZBEE_MFG_CODE_IPCOM, ZBEE_MFG_IPCOM }, { ZBEE_MFG_CODE_SAN_JUAN, ZBEE_MFG_SAN_JUAN }, { ZBEE_MFG_CODE_TUV, ZBEE_MFG_TUV }, { ZBEE_MFG_CODE_COMPXS, ZBEE_MFG_COMPXS }, { ZBEE_MFG_CODE_BM, ZBEE_MFG_BM }, { ZBEE_MFG_CODE_AWAREPOINT, ZBEE_MFG_AWAREPOINT }, { ZBEE_MFG_CODE_PHILIPS, ZBEE_MFG_PHILIPS }, { ZBEE_MFG_CODE_LUXOFT, ZBEE_MFG_LUXOFT }, { ZBEE_MFG_CODE_KORWIN, ZBEE_MFG_KORWIN }, { ZBEE_MFG_CODE_1_RF, ZBEE_MFG_1_RF }, { ZBEE_MFG_CODE_STG, ZBEE_MFG_STG }, { ZBEE_MFG_CODE_TELEGESIS, ZBEE_MFG_TELEGESIS }, { ZBEE_MFG_CODE_VISIONIC, ZBEE_MFG_VISIONIC }, { ZBEE_MFG_CODE_INSTA, ZBEE_MFG_INSTA }, { ZBEE_MFG_CODE_ATALUM, ZBEE_MFG_ATALUM }, { ZBEE_MFG_CODE_ATMEL, ZBEE_MFG_ATMEL }, { ZBEE_MFG_CODE_DEVELCO, ZBEE_MFG_DEVELCO }, { ZBEE_MFG_CODE_HONEYWELL1, ZBEE_MFG_HONEYWELL }, { ZBEE_MFG_CODE_RADIO_PULSE, ZBEE_MFG_RADIO_PULSE }, { ZBEE_MFG_CODE_RENESAS, ZBEE_MFG_RENESAS }, { ZBEE_MFG_CODE_XANADU, ZBEE_MFG_XANADU }, { ZBEE_MFG_CODE_NEC, ZBEE_MFG_NEC }, { ZBEE_MFG_CODE_YAMATAKE, ZBEE_MFG_YAMATAKE }, { ZBEE_MFG_CODE_TENDRIL, ZBEE_MFG_TENDRIL }, { ZBEE_MFG_CODE_ASSA, ZBEE_MFG_ASSA }, { ZBEE_MFG_CODE_MAXSTREAM, ZBEE_MFG_MAXSTREAM }, { ZBEE_MFG_CODE_NEUROCOM, ZBEE_MFG_NEUROCOM }, { ZBEE_MFG_CODE_III, ZBEE_MFG_III }, { ZBEE_MFG_CODE_VANTAGE, ZBEE_MFG_VANTAGE }, { ZBEE_MFG_CODE_ICONTROL, ZBEE_MFG_ICONTROL }, { ZBEE_MFG_CODE_RAYMARINE, ZBEE_MFG_RAYMARINE }, { ZBEE_MFG_CODE_LSR, ZBEE_MFG_LSR }, { ZBEE_MFG_CODE_ONITY, ZBEE_MFG_ONITY }, { ZBEE_MFG_CODE_MONO, ZBEE_MFG_MONO }, { ZBEE_MFG_CODE_RFT, ZBEE_MFG_RFT }, { ZBEE_MFG_CODE_ITRON, ZBEE_MFG_ITRON }, { ZBEE_MFG_CODE_TRITECH, ZBEE_MFG_TRITECH }, { ZBEE_MFG_CODE_EMBEDIT, ZBEE_MFG_EMBEDIT }, { ZBEE_MFG_CODE_S3C, ZBEE_MFG_S3C }, { ZBEE_MFG_CODE_SIEMENS, ZBEE_MFG_SIEMENS }, { ZBEE_MFG_CODE_MINDTECH, ZBEE_MFG_MINDTECH }, { ZBEE_MFG_CODE_LGE, ZBEE_MFG_LGE }, { ZBEE_MFG_CODE_MITSUBISHI, ZBEE_MFG_MITSUBISHI }, { ZBEE_MFG_CODE_JOHNSON, ZBEE_MFG_JOHNSON }, { ZBEE_MFG_CODE_PRI, ZBEE_MFG_PRI }, { ZBEE_MFG_CODE_KNICK, ZBEE_MFG_KNICK }, { ZBEE_MFG_CODE_VICONICS, ZBEE_MFG_VICONICS }, { ZBEE_MFG_CODE_FLEXIPANEL, ZBEE_MFG_FLEXIPANEL }, { ZBEE_MFG_CODE_PIASIM, ZBEE_MFG_PIASIM }, { ZBEE_MFG_CODE_TRANE, ZBEE_MFG_TRANE }, { ZBEE_MFG_CODE_JENNIC, ZBEE_MFG_JENNIC }, { ZBEE_MFG_CODE_LIG, ZBEE_MFG_LIG }, { ZBEE_MFG_CODE_ALERTME, ZBEE_MFG_ALERTME }, { ZBEE_MFG_CODE_DAINTREE, ZBEE_MFG_DAINTREE }, { ZBEE_MFG_CODE_AIJI, ZBEE_MFG_AIJI }, { ZBEE_MFG_CODE_TEL_ITALIA, ZBEE_MFG_TEL_ITALIA }, { ZBEE_MFG_CODE_MIKROKRETS, ZBEE_MFG_MIKROKRETS }, { ZBEE_MFG_CODE_OKI_SEMI, ZBEE_MFG_OKI_SEMI }, { ZBEE_MFG_CODE_NEWPORT, ZBEE_MFG_NEWPORT }, { ZBEE_MFG_CODE_C4, ZBEE_MFG_C4 }, { ZBEE_MFG_CODE_STM, ZBEE_MFG_STM }, { ZBEE_MFG_CODE_ASN, ZBEE_MFG_ASN }, { ZBEE_MFG_CODE_DCSI, ZBEE_MFG_DCSI }, { ZBEE_MFG_CODE_FRANCE_TEL, ZBEE_MFG_FRANCE_TEL }, { ZBEE_MFG_CODE_MUNET, ZBEE_MFG_MUNET }, { ZBEE_MFG_CODE_AUTANI, ZBEE_MFG_AUTANI }, { ZBEE_MFG_CODE_COL_VNET, ZBEE_MFG_COL_VNET }, { ZBEE_MFG_CODE_AEROCOMM, ZBEE_MFG_AEROCOMM }, { ZBEE_MFG_CODE_SI_LABS, ZBEE_MFG_SI_LABS }, { ZBEE_MFG_CODE_INNCOM, ZBEE_MFG_INNCOM }, { ZBEE_MFG_CODE_CANNON, ZBEE_MFG_CANNON }, { ZBEE_MFG_CODE_SYNAPSE, ZBEE_MFG_SYNAPSE }, { ZBEE_MFG_CODE_FPS, ZBEE_MFG_FPS }, { ZBEE_MFG_CODE_CLS, ZBEE_MFG_CLS }, { ZBEE_MFG_CODE_CRANE, ZBEE_MFG_CRANE }, { ZBEE_MFG_CODE_MOBILARM, ZBEE_MFG_MOBILARM }, { ZBEE_MFG_CODE_IMONITOR, ZBEE_MFG_IMONITOR }, { ZBEE_MFG_CODE_BARTECH, ZBEE_MFG_BARTECH }, { ZBEE_MFG_CODE_MESHNETICS, ZBEE_MFG_MESHNETICS }, { ZBEE_MFG_CODE_LS_IND, ZBEE_MFG_LS_IND }, { ZBEE_MFG_CODE_CASON, ZBEE_MFG_CASON }, { ZBEE_MFG_CODE_WLESS_GLUE, ZBEE_MFG_WLESS_GLUE }, { ZBEE_MFG_CODE_ELSTER, ZBEE_MFG_ELSTER }, { ZBEE_MFG_CODE_SMS_TEC, ZBEE_MFG_SMS_TEC }, { ZBEE_MFG_CODE_ONSET, ZBEE_MFG_ONSET }, { ZBEE_MFG_CODE_RIGA, ZBEE_MFG_RIGA }, { ZBEE_MFG_CODE_ENERGATE, ZBEE_MFG_ENERGATE }, { ZBEE_MFG_CODE_CONMED, ZBEE_MFG_CONMED }, { ZBEE_MFG_CODE_POWERMAND, ZBEE_MFG_POWERMAND }, { ZBEE_MFG_CODE_SCHNEIDER, ZBEE_MFG_SCHNEIDER }, { ZBEE_MFG_CODE_EATON, ZBEE_MFG_EATON }, { ZBEE_MFG_CODE_TELULAR, ZBEE_MFG_TELULAR }, { ZBEE_MFG_CODE_DELPHI, ZBEE_MFG_DELPHI }, { ZBEE_MFG_CODE_EPISENSOR, ZBEE_MFG_EPISENSOR }, { ZBEE_MFG_CODE_LANDIS_GYR, ZBEE_MFG_LANDIS_GYR }, { ZBEE_MFG_CODE_KABA, ZBEE_MFG_KABA }, { ZBEE_MFG_CODE_SHURE, ZBEE_MFG_SHURE }, { ZBEE_MFG_CODE_COMVERGE, ZBEE_MFG_COMVERGE }, { ZBEE_MFG_CODE_DBS_LODGING, ZBEE_MFG_DBS_LODGING }, { ZBEE_MFG_CODE_ENERGY_AWARE, ZBEE_MFG_ENERGY_AWARE }, { ZBEE_MFG_CODE_HIDALGO, ZBEE_MFG_HIDALGO }, { ZBEE_MFG_CODE_AIR2APP, ZBEE_MFG_AIR2APP }, { ZBEE_MFG_CODE_AMX, ZBEE_MFG_AMX }, { ZBEE_MFG_CODE_EDMI, ZBEE_MFG_EDMI }, { ZBEE_MFG_CODE_CYAN, ZBEE_MFG_CYAN }, { ZBEE_MFG_CODE_SYS_SPA, ZBEE_MFG_SYS_SPA }, { ZBEE_MFG_CODE_TELIT, ZBEE_MFG_TELIT }, { ZBEE_MFG_CODE_KAGA, ZBEE_MFG_KAGA }, { ZBEE_MFG_CODE_4_NOKS, ZBEE_MFG_4_NOKS }, { ZBEE_MFG_CODE_CERTICOM, ZBEE_MFG_CERTICOM }, { ZBEE_MFG_CODE_GRIDPOINT, ZBEE_MFG_GRIDPOINT }, { ZBEE_MFG_CODE_PROFILE_SYS, ZBEE_MFG_PROFILE_SYS }, { ZBEE_MFG_CODE_COMPACTA, ZBEE_MFG_COMPACTA }, { ZBEE_MFG_CODE_FREESTYLE, ZBEE_MFG_FREESTYLE }, { ZBEE_MFG_CODE_ALEKTRONA, ZBEE_MFG_ALEKTRONA }, { ZBEE_MFG_CODE_COMPUTIME, ZBEE_MFG_COMPUTIME }, { ZBEE_MFG_CODE_REMOTE_TECH, ZBEE_MFG_REMOTE_TECH }, { ZBEE_MFG_CODE_WAVECOM, ZBEE_MFG_WAVECOM }, { ZBEE_MFG_CODE_ENERGY, ZBEE_MFG_ENERGY }, { ZBEE_MFG_CODE_GE, ZBEE_MFG_GE }, { ZBEE_MFG_CODE_JETLUN, ZBEE_MFG_JETLUN }, { ZBEE_MFG_CODE_CIPHER, ZBEE_MFG_CIPHER }, { ZBEE_MFG_CODE_CORPORATE, ZBEE_MFG_CORPORATE }, { ZBEE_MFG_CODE_ECOBEE, ZBEE_MFG_ECOBEE }, { ZBEE_MFG_CODE_SMK, ZBEE_MFG_SMK }, { ZBEE_MFG_CODE_MESHWORKS, ZBEE_MFG_MESHWORKS }, { ZBEE_MFG_CODE_ELLIPS, ZBEE_MFG_ELLIPS }, { ZBEE_MFG_CODE_SECURE, ZBEE_MFG_SECURE }, { ZBEE_MFG_CODE_CEDO, ZBEE_MFG_CEDO }, { ZBEE_MFG_CODE_TOSHIBA, ZBEE_MFG_TOSHIBA }, { ZBEE_MFG_CODE_DIGI, ZBEE_MFG_DIGI }, { ZBEE_MFG_CODE_UBILOGIX, ZBEE_MFG_UBILOGIX }, { ZBEE_MFG_CODE_ECHELON, ZBEE_MFG_ECHELON }, { ZBEE_MFG_CODE_GREEN_ENERGY, ZBEE_MFG_GREEN_ENERGY }, { ZBEE_MFG_CODE_SILVER_SPRING, ZBEE_MFG_SILVER_SPRING }, { ZBEE_MFG_CODE_BLACK, ZBEE_MFG_BLACK }, { ZBEE_MFG_CODE_AZTECH_ASSOC, ZBEE_MFG_AZTECH_ASSOC }, { ZBEE_MFG_CODE_A_AND_D, ZBEE_MFG_A_AND_D }, { ZBEE_MFG_CODE_RAINFOREST, ZBEE_MFG_RAINFOREST }, { ZBEE_MFG_CODE_CARRIER, ZBEE_MFG_CARRIER }, { ZBEE_MFG_CODE_SYCHIP, ZBEE_MFG_SYCHIP }, { ZBEE_MFG_CODE_OPEN_PEAK, ZBEE_MFG_OPEN_PEAK }, { ZBEE_MFG_CODE_PASSIVE, ZBEE_MFG_PASSIVE }, { ZBEE_MFG_CODE_MMB, ZBEE_MFG_MMB }, { ZBEE_MFG_CODE_LEVITON, ZBEE_MFG_LEVITON }, { ZBEE_MFG_CODE_KOREA_ELEC, ZBEE_MFG_KOREA_ELEC }, { ZBEE_MFG_CODE_COMCAST1, ZBEE_MFG_COMCAST }, { ZBEE_MFG_CODE_NEC_ELEC, ZBEE_MFG_NEC_ELEC }, { ZBEE_MFG_CODE_NETVOX, ZBEE_MFG_NETVOX }, { ZBEE_MFG_CODE_UCONTROL, ZBEE_MFG_UCONTROL }, { ZBEE_MFG_CODE_EMBEDIA, ZBEE_MFG_EMBEDIA }, { ZBEE_MFG_CODE_SENSUS, ZBEE_MFG_SENSUS }, { ZBEE_MFG_CODE_SUNRISE, ZBEE_MFG_SUNRISE }, { ZBEE_MFG_CODE_MEMTECH, ZBEE_MFG_MEMTECH }, { ZBEE_MFG_CODE_FREEBOX, ZBEE_MFG_FREEBOX }, { ZBEE_MFG_CODE_M2_LABS, ZBEE_MFG_M2_LABS }, { ZBEE_MFG_CODE_BRITISH_GAS, ZBEE_MFG_BRITISH_GAS }, { ZBEE_MFG_CODE_SENTEC, ZBEE_MFG_SENTEC }, { ZBEE_MFG_CODE_NAVETAS, ZBEE_MFG_NAVETAS }, { ZBEE_MFG_CODE_LIGHTSPEED, ZBEE_MFG_LIGHTSPEED }, { ZBEE_MFG_CODE_OKI, ZBEE_MFG_OKI }, { ZBEE_MFG_CODE_SISTEMAS, ZBEE_MFG_SISTEMAS }, { ZBEE_MFG_CODE_DOMETIC, ZBEE_MFG_DOMETIC }, { ZBEE_MFG_CODE_APLS, ZBEE_MFG_APLS }, { ZBEE_MFG_CODE_ENERGY_HUB, ZBEE_MFG_ENERGY_HUB }, { ZBEE_MFG_CODE_KAMSTRUP, ZBEE_MFG_KAMSTRUP }, { ZBEE_MFG_CODE_ECHOSTAR, ZBEE_MFG_ECHOSTAR }, { ZBEE_MFG_CODE_ENERNOC, ZBEE_MFG_ENERNOC }, { ZBEE_MFG_CODE_ELTAV, ZBEE_MFG_ELTAV }, { ZBEE_MFG_CODE_BELKIN, ZBEE_MFG_BELKIN }, { ZBEE_MFG_CODE_XSTREAMHD, ZBEE_MFG_XSTREAMHD }, { ZBEE_MFG_CODE_SATURN_SOUTH, ZBEE_MFG_SATURN_SOUTH }, { ZBEE_MFG_CODE_GREENTRAP, ZBEE_MFG_GREENTRAP }, { ZBEE_MFG_CODE_SMARTSYNCH, ZBEE_MFG_SMARTSYNCH }, { ZBEE_MFG_CODE_NYCE, ZBEE_MFG_NYCE }, { ZBEE_MFG_CODE_ICM_CONTROLS, ZBEE_MFG_ICM_CONTROLS }, { ZBEE_MFG_CODE_MILLENNIUM, ZBEE_MFG_MILLENNIUM }, { ZBEE_MFG_CODE_MOTOROLA, ZBEE_MFG_MOTOROLA }, { ZBEE_MFG_CODE_EMERSON, ZBEE_MFG_EMERSON }, { ZBEE_MFG_CODE_RADIO_THERMOSTAT, ZBEE_MFG_RADIO_THERMOSTAT }, { ZBEE_MFG_CODE_OMRON, ZBEE_MFG_OMRON }, { ZBEE_MFG_CODE_GIINII, ZBEE_MFG_GIINII }, { ZBEE_MFG_CODE_FUJITSU, ZBEE_MFG_FUJITSU }, { ZBEE_MFG_CODE_PEEL, ZBEE_MFG_PEEL }, { ZBEE_MFG_CODE_ACCENT, ZBEE_MFG_ACCENT }, { ZBEE_MFG_CODE_BYTESNAP, ZBEE_MFG_BYTESNAP }, { ZBEE_MFG_CODE_NEC_TOKIN, ZBEE_MFG_NEC_TOKIN }, { ZBEE_MFG_CODE_G4S_JUSTICE, ZBEE_MFG_G4S_JUSTICE }, { ZBEE_MFG_CODE_TRILLIANT, ZBEE_MFG_TRILLIANT }, { ZBEE_MFG_CODE_ELECTROLUX, ZBEE_MFG_ELECTROLUX }, { ZBEE_MFG_CODE_ONZO, ZBEE_MFG_ONZO }, { ZBEE_MFG_CODE_ENTEK, ZBEE_MFG_ENTEK }, { ZBEE_MFG_CODE_PHILIPS2, ZBEE_MFG_PHILIPS }, { ZBEE_MFG_CODE_MAINSTREAM, ZBEE_MFG_MAINSTREAM }, { ZBEE_MFG_CODE_INDESIT, ZBEE_MFG_INDESIT }, { ZBEE_MFG_CODE_THINKECO, ZBEE_MFG_THINKECO }, { ZBEE_MFG_CODE_2D2C, ZBEE_MFG_2D2C }, { ZBEE_MFG_CODE_GREENPEAK, ZBEE_MFG_GREENPEAK }, { ZBEE_MFG_CODE_INTERCEL, ZBEE_MFG_INTERCEL }, { ZBEE_MFG_CODE_LG, ZBEE_MFG_LG }, { ZBEE_MFG_CODE_MITSUMI1, ZBEE_MFG_MITSUMI1 }, { ZBEE_MFG_CODE_MITSUMI2, ZBEE_MFG_MITSUMI2 }, { ZBEE_MFG_CODE_ZENTRUM, ZBEE_MFG_ZENTRUM }, { ZBEE_MFG_CODE_NEST, ZBEE_MFG_NEST }, { ZBEE_MFG_CODE_EXEGIN, ZBEE_MFG_EXEGIN }, { ZBEE_MFG_CODE_HONEYWELL2, ZBEE_MFG_HONEYWELL }, { ZBEE_MFG_CODE_TAKAHATA, ZBEE_MFG_TAKAHATA }, { ZBEE_MFG_CODE_SUMITOMO, ZBEE_MFG_SUMITOMO }, { ZBEE_MFG_CODE_GE_ENERGY, ZBEE_MFG_GE_ENERGY }, { ZBEE_MFG_CODE_GE_APPLIANCES, ZBEE_MFG_GE_APPLIANCES }, { ZBEE_MFG_CODE_RADIOCRAFTS, ZBEE_MFG_RADIOCRAFTS }, { ZBEE_MFG_CODE_CEIVA, ZBEE_MFG_CEIVA }, { ZBEE_MFG_CODE_TEC_CO, ZBEE_MFG_TEC_CO }, { ZBEE_MFG_CODE_CHAMELEON, ZBEE_MFG_CHAMELEON }, { ZBEE_MFG_CODE_SAMSUNG, ZBEE_MFG_SAMSUNG }, { ZBEE_MFG_CODE_RUWIDO, ZBEE_MFG_RUWIDO }, { ZBEE_MFG_CODE_HUAWEI_1, ZBEE_MFG_HUAWEI }, { ZBEE_MFG_CODE_HUAWEI_2, ZBEE_MFG_HUAWEI }, { ZBEE_MFG_CODE_GREENWAVE, ZBEE_MFG_GREENWAVE }, { ZBEE_MFG_CODE_BGLOBAL, ZBEE_MFG_BGLOBAL }, { ZBEE_MFG_CODE_MINDTECK, ZBEE_MFG_MINDTECK }, { ZBEE_MFG_CODE_INGERSOLL_RAND, ZBEE_MFG_INGERSOLL_RAND }, { ZBEE_MFG_CODE_DIUS, ZBEE_MFG_DIUS }, { ZBEE_MFG_CODE_EMBEDDED, ZBEE_MFG_EMBEDDED }, { ZBEE_MFG_CODE_ABB, ZBEE_MFG_ABB }, { ZBEE_MFG_CODE_SONY, ZBEE_MFG_SONY }, { ZBEE_MFG_CODE_GENUS, ZBEE_MFG_GENUS }, { ZBEE_MFG_CODE_UNIVERSAL1, ZBEE_MFG_UNIVERSAL }, { ZBEE_MFG_CODE_UNIVERSAL2, ZBEE_MFG_UNIVERSAL }, { ZBEE_MFG_CODE_METRUM, ZBEE_MFG_METRUM }, { ZBEE_MFG_CODE_CISCO, ZBEE_MFG_CISCO }, { ZBEE_MFG_CODE_UBISYS, ZBEE_MFG_UBISYS }, { ZBEE_MFG_CODE_CONSERT, ZBEE_MFG_CONSERT }, { ZBEE_MFG_CODE_CRESTRON, ZBEE_MFG_CRESTRON }, { ZBEE_MFG_CODE_ENPHASE, ZBEE_MFG_ENPHASE }, { ZBEE_MFG_CODE_INVENSYS, ZBEE_MFG_INVENSYS }, { ZBEE_MFG_CODE_MUELLER, ZBEE_MFG_MUELLER }, { ZBEE_MFG_CODE_AAC_TECH, ZBEE_MFG_AAC_TECH }, { ZBEE_MFG_CODE_U_NEXT, ZBEE_MFG_U_NEXT }, { ZBEE_MFG_CODE_STEELCASE, ZBEE_MFG_STEELCASE }, { ZBEE_MFG_CODE_TELEMATICS, ZBEE_MFG_TELEMATICS }, { ZBEE_MFG_CODE_SAMIL, ZBEE_MFG_SAMIL }, { ZBEE_MFG_CODE_PACE, ZBEE_MFG_PACE }, { ZBEE_MFG_CODE_OSBORNE, ZBEE_MFG_OSBORNE }, { ZBEE_MFG_CODE_POWERWATCH, ZBEE_MFG_POWERWATCH }, { ZBEE_MFG_CODE_CANDELED, ZBEE_MFG_CANDELED }, { ZBEE_MFG_CODE_FLEXGRID, ZBEE_MFG_FLEXGRID }, { ZBEE_MFG_CODE_HUMAX, ZBEE_MFG_HUMAX }, { ZBEE_MFG_CODE_UNIVERSAL, ZBEE_MFG_UNIVERSAL }, { ZBEE_MFG_CODE_ADVANCED_ENERGY, ZBEE_MFG_ADVANCED_ENERGY }, { ZBEE_MFG_CODE_BEGA, ZBEE_MFG_BEGA }, { ZBEE_MFG_CODE_BRUNEL, ZBEE_MFG_BRUNEL }, { ZBEE_MFG_CODE_PANASONIC, ZBEE_MFG_PANASONIC }, { ZBEE_MFG_CODE_ESYSTEMS, ZBEE_MFG_ESYSTEMS }, { ZBEE_MFG_CODE_PANAMAX, ZBEE_MFG_PANAMAX }, { ZBEE_MFG_CODE_PHYSICAL, ZBEE_MFG_PHYSICAL }, { ZBEE_MFG_CODE_EM_LITE, ZBEE_MFG_EM_LITE }, { ZBEE_MFG_CODE_OSRAM, ZBEE_MFG_OSRAM }, { ZBEE_MFG_CODE_2_SAVE, ZBEE_MFG_2_SAVE }, { ZBEE_MFG_CODE_PLANET, ZBEE_MFG_PLANET }, { ZBEE_MFG_CODE_AMBIENT, ZBEE_MFG_AMBIENT }, { ZBEE_MFG_CODE_PROFALUX, ZBEE_MFG_PROFALUX }, { ZBEE_MFG_CODE_BILLION, ZBEE_MFG_BILLION }, { ZBEE_MFG_CODE_EMBERTEC, ZBEE_MFG_EMBERTEC }, { ZBEE_MFG_CODE_IT_WATCHDOGS, ZBEE_MFG_IT_WATCHDOGS }, { ZBEE_MFG_CODE_RELOC, ZBEE_MFG_RELOC }, { ZBEE_MFG_CODE_INTEL, ZBEE_MFG_INTEL }, { ZBEE_MFG_CODE_TREND, ZBEE_MFG_TREND }, { ZBEE_MFG_CODE_MOXA, ZBEE_MFG_MOXA }, { ZBEE_MFG_CODE_QEES, ZBEE_MFG_QEES }, { ZBEE_MFG_CODE_SAYME, ZBEE_MFG_SAYME }, { ZBEE_MFG_CODE_PENTAIR, ZBEE_MFG_PENTAIR }, { ZBEE_MFG_CODE_ORBIT, ZBEE_MFG_ORBIT }, { ZBEE_MFG_CODE_CALIFORNIA, ZBEE_MFG_CALIFORNIA }, { ZBEE_MFG_CODE_COMCAST2, ZBEE_MFG_COMCAST }, { ZBEE_MFG_CODE_IDT, ZBEE_MFG_IDT }, { ZBEE_MFG_CODE_PIXELA, ZBEE_MFG_PIXELA }, { ZBEE_MFG_CODE_TIVO, ZBEE_MFG_TIVO }, { ZBEE_MFG_CODE_FIDURE, ZBEE_MFG_FIDURE }, { ZBEE_MFG_CODE_MARVELL, ZBEE_MFG_MARVELL }, { ZBEE_MFG_CODE_WASION, ZBEE_MFG_WASION }, { ZBEE_MFG_CODE_JASCO, ZBEE_MFG_JASCO }, { ZBEE_MFG_CODE_SHENZHEN, ZBEE_MFG_SHENZHEN }, { ZBEE_MFG_CODE_NETCOMM, ZBEE_MFG_NETCOMM }, { ZBEE_MFG_CODE_DEFINE, ZBEE_MFG_DEFINE }, { ZBEE_MFG_CODE_IN_HOME_DISP, ZBEE_MFG_IN_HOME_DISP }, { ZBEE_MFG_CODE_MIELE, ZBEE_MFG_MIELE }, { ZBEE_MFG_CODE_TELEVES, ZBEE_MFG_TELEVES }, { ZBEE_MFG_CODE_LABELEC, ZBEE_MFG_LABELEC }, { ZBEE_MFG_CODE_CHINA_ELEC, ZBEE_MFG_CHINA_ELEC }, { ZBEE_MFG_CODE_VECTORFORM, ZBEE_MFG_VECTORFORM }, { ZBEE_MFG_CODE_BUSCH_JAEGER, ZBEE_MFG_BUSCH_JAEGER }, { ZBEE_MFG_CODE_REDPINE, ZBEE_MFG_REDPINE }, { ZBEE_MFG_CODE_BRIDGES, ZBEE_MFG_BRIDGES }, { ZBEE_MFG_CODE_SERCOMM, ZBEE_MFG_SERCOMM }, { ZBEE_MFG_CODE_WSH, ZBEE_MFG_WSH }, { ZBEE_MFG_CODE_BOSCH, ZBEE_MFG_BOSCH }, { ZBEE_MFG_CODE_EZEX, ZBEE_MFG_EZEX }, { ZBEE_MFG_CODE_DRESDEN, ZBEE_MFG_DRESDEN }, { ZBEE_MFG_CODE_MEAZON, ZBEE_MFG_MEAZON }, { ZBEE_MFG_CODE_CROW, ZBEE_MFG_CROW }, { ZBEE_MFG_CODE_HARVARD, ZBEE_MFG_HARVARD }, { ZBEE_MFG_CODE_ANDSON, ZBEE_MFG_ANDSON }, { ZBEE_MFG_CODE_ADHOCO, ZBEE_MFG_ADHOCO }, { ZBEE_MFG_CODE_WAXMAN, ZBEE_MFG_WAXMAN }, { ZBEE_MFG_CODE_OWON, ZBEE_MFG_OWON }, { ZBEE_MFG_CODE_HITRON, ZBEE_MFG_HITRON }, { ZBEE_MFG_CODE_SCEMTEC, ZBEE_MFG_SCEMTEC }, { ZBEE_MFG_CODE_WEBEE, ZBEE_MFG_WEBEE }, { ZBEE_MFG_CODE_GRID2HOME, ZBEE_MFG_GRID2HOME }, { ZBEE_MFG_CODE_TELINK, ZBEE_MFG_TELINK }, { ZBEE_MFG_CODE_JASMINE, ZBEE_MFG_JASMINE }, { ZBEE_MFG_CODE_BIDGELY, ZBEE_MFG_BIDGELY }, { ZBEE_MFG_CODE_LUTRON, ZBEE_MFG_LUTRON }, { ZBEE_MFG_CODE_IJENKO, ZBEE_MFG_IJENKO }, { ZBEE_MFG_CODE_STARFIELD, ZBEE_MFG_STARFIELD }, { ZBEE_MFG_CODE_TCP, ZBEE_MFG_TCP }, { ZBEE_MFG_CODE_ROGERS, ZBEE_MFG_ROGERS }, { ZBEE_MFG_CODE_CREE, ZBEE_MFG_CREE }, { ZBEE_MFG_CODE_ROBERT_BOSCH_LLC, ZBEE_MFG_ROBERT_BOSCH_LLC }, { ZBEE_MFG_CODE_IBIS, ZBEE_MFG_IBIS }, { ZBEE_MFG_CODE_QUIRKY, ZBEE_MFG_QUIRKY }, { ZBEE_MFG_CODE_EFERGY, ZBEE_MFG_EFERGY }, { ZBEE_MFG_CODE_SMARTLABS, ZBEE_MFG_SMARTLABS }, { ZBEE_MFG_CODE_EVERSPRING, ZBEE_MFG_EVERSPRING }, { ZBEE_MFG_CODE_SWANN, ZBEE_MFG_SWANN }, { ZBEE_MFG_CODE_SONETER, ZBEE_MFG_SONETER }, { ZBEE_MFG_CODE_SAMSUNG_SDS, ZBEE_MFG_SAMSUNG_SDS }, { ZBEE_MFG_CODE_UNIBAND_ELECTRO, ZBEE_MFG_UNIBAND_ELECTRO }, { ZBEE_MFG_CODE_ACCTON_TECHNOLOGY, ZBEE_MFG_ACCTON_TECHNOLOGY }, { ZBEE_MFG_CODE_BOSCH_THERMOTECH, ZBEE_MFG_BOSCH_THERMOTECH }, { ZBEE_MFG_CODE_WINCOR_NIXDORF, ZBEE_MFG_WINCOR_NIXDORF }, { ZBEE_MFG_CODE_OHSUNG_ELECTRO, ZBEE_MFG_OHSUNG_ELECTRO }, { ZBEE_MFG_CODE_ZEN_WITHIN, ZBEE_MFG_ZEN_WITHIN }, { ZBEE_MFG_CODE_TECH_4_HOME, ZBEE_MFG_TECH_4_HOME }, { ZBEE_MFG_CODE_NANOLEAF, ZBEE_MFG_NANOLEAF }, { ZBEE_MFG_CODE_KEEN_HOME, ZBEE_MFG_KEEN_HOME }, { ZBEE_MFG_CODE_POLY_CONTROL, ZBEE_MFG_POLY_CONTROL }, { ZBEE_MFG_CODE_EASTFIELD_LIGHT, ZBEE_MFG_EASTFIELD_LIGHT }, { ZBEE_MFG_CODE_IP_DATATEL, ZBEE_MFG_IP_DATATEL }, { ZBEE_MFG_CODE_LUMI_UNITED_TECH, ZBEE_MFG_LUMI_UNITED_TECH }, { ZBEE_MFG_CODE_SENGLED_OPTOELEC, ZBEE_MFG_SENGLED_OPTOELEC }, { ZBEE_MFG_CODE_REMOTE_SOLUTION, ZBEE_MFG_REMOTE_SOLUTION }, { ZBEE_MFG_CODE_ABB_GENWAY_XIAMEN, ZBEE_MFG_ABB_GENWAY_XIAMEN }, { ZBEE_MFG_CODE_ZHEJIANG_REXENSE, ZBEE_MFG_ZHEJIANG_REXENSE }, { ZBEE_MFG_CODE_FOREE_TECHNOLOGY, ZBEE_MFG_FOREE_TECHNOLOGY }, { ZBEE_MFG_CODE_OPEN_ACCESS_TECH, ZBEE_MFG_OPEN_ACCESS_TECH }, { ZBEE_MFG_CODE_INNR_LIGHTNING, ZBEE_MFG_INNR_LIGHTNING }, { ZBEE_MFG_CODE_TECHWORLD, ZBEE_MFG_TECHWORLD }, { ZBEE_MFG_CODE_LEEDARSON_LIGHT, ZBEE_MFG_LEEDARSON_LIGHT }, { ZBEE_MFG_CODE_ARZEL_ZONING, ZBEE_MFG_ARZEL_ZONING }, { ZBEE_MFG_CODE_HOLLEY_TECH, ZBEE_MFG_HOLLEY_TECH }, { ZBEE_MFG_CODE_BELDON_TECH, ZBEE_MFG_BELDON_TECH }, { ZBEE_MFG_CODE_FLEXTRONICS, ZBEE_MFG_FLEXTRONICS }, { ZBEE_MFG_CODE_SHENZHEN_MEIAN, ZBEE_MFG_SHENZHEN_MEIAN }, { ZBEE_MFG_CODE_LOWES, ZBEE_MFG_LOWES }, { ZBEE_MFG_CODE_SIGMA_CONNECT, ZBEE_MFG_SIGMA_CONNECT }, { ZBEE_MFG_CODE_WULIAN, ZBEE_MFG_WULIAN }, { ZBEE_MFG_CODE_PLUGWISE_BV, ZBEE_MFG_PLUGWISE_BV }, { ZBEE_MFG_CODE_TITAN_PRODUCTS, ZBEE_MFG_TITAN_PRODUCTS }, { ZBEE_MFG_CODE_ECOSPECTRAL, ZBEE_MFG_ECOSPECTRAL }, { ZBEE_MFG_CODE_D_LINK, ZBEE_MFG_D_LINK }, { ZBEE_MFG_CODE_TECHNICOLOR_HOME, ZBEE_MFG_TECHNICOLOR_HOME }, { ZBEE_MFG_CODE_OPPLE_LIGHTING, ZBEE_MFG_OPPLE_LIGHTING }, { ZBEE_MFG_CODE_WISTRON_NEWEB, ZBEE_MFG_WISTRON_NEWEB }, { ZBEE_MFG_CODE_QMOTION_SHADES, ZBEE_MFG_QMOTION_SHADES }, { ZBEE_MFG_CODE_INSTA_ELEKTRO, ZBEE_MFG_INSTA_ELEKTRO }, { ZBEE_MFG_CODE_SHANGHAI_VANCOUNT, ZBEE_MFG_SHANGHAI_VANCOUNT }, { ZBEE_MFG_CODE_IKEA_OF_SWEDEN, ZBEE_MFG_IKEA_OF_SWEDEN }, { ZBEE_MFG_CODE_RT_RK, ZBEE_MFG_RT_RK }, { ZBEE_MFG_CODE_SHENZHEN_FEIBIT, ZBEE_MFG_SHENZHEN_FEIBIT }, { ZBEE_MFG_CODE_EU_CONTROLS, ZBEE_MFG_EU_CONTROLS }, { ZBEE_MFG_CODE_TELKONET, ZBEE_MFG_TELKONET }, { ZBEE_MFG_CODE_THERMAL_SOLUTION, ZBEE_MFG_THERMAL_SOLUTION }, { ZBEE_MFG_CODE_POM_CUBE, ZBEE_MFG_POM_CUBE }, { ZBEE_MFG_CODE_EI_ELECTRONICS, ZBEE_MFG_EI_ELECTRONICS }, { ZBEE_MFG_CODE_OPTOGA, ZBEE_MFG_OPTOGA }, { ZBEE_MFG_CODE_STELPRO, ZBEE_MFG_STELPRO }, { ZBEE_MFG_CODE_LYNXUS_TECH, ZBEE_MFG_LYNXUS_TECH }, { ZBEE_MFG_CODE_SEMICONDUCTOR_COM, ZBEE_MFG_SEMICONDUCTOR_COM }, { ZBEE_MFG_CODE_TP_LINK, ZBEE_MFG_TP_LINK }, { ZBEE_MFG_CODE_LEDVANCE_LLC, ZBEE_MFG_LEDVANCE_LLC }, { ZBEE_MFG_CODE_NORTEK, ZBEE_MFG_NORTEK }, { ZBEE_MFG_CODE_IREVO_ASSA_ABBLOY, ZBEE_MFG_IREVO_ASSA_ABBLOY }, { ZBEE_MFG_CODE_MIDEA, ZBEE_MFG_MIDEA }, { ZBEE_MFG_CODE_ZF_FRIEDRICHSHAF, ZBEE_MFG_ZF_FRIEDRICHSHAF }, { ZBEE_MFG_CODE_CHECKIT, ZBEE_MFG_CHECKIT }, { ZBEE_MFG_CODE_ACLARA, ZBEE_MFG_ACLARA }, { ZBEE_MFG_CODE_NOKIA, ZBEE_MFG_NOKIA }, { ZBEE_MFG_CODE_GOLDCARD_HIGHTECH, ZBEE_MFG_GOLDCARD_HIGHTECH }, { ZBEE_MFG_CODE_GEORGE_WILSON, ZBEE_MFG_GEORGE_WILSON }, { ZBEE_MFG_CODE_EASY_SAVER_CO, ZBEE_MFG_EASY_SAVER_CO }, { ZBEE_MFG_CODE_ZTE_CORPORATION, ZBEE_MFG_ZTE_CORPORATION }, { ZBEE_MFG_CODE_ARRIS, ZBEE_MFG_ARRIS }, { ZBEE_MFG_CODE_RELIANCE_BIG_TV, ZBEE_MFG_RELIANCE_BIG_TV }, { ZBEE_MFG_CODE_INSIGHT_ENERGY, ZBEE_MFG_INSIGHT_ENERGY }, { ZBEE_MFG_CODE_THOMAS_RESEARCH, ZBEE_MFG_THOMAS_RESEARCH }, { ZBEE_MFG_CODE_LI_SENG_TECH, ZBEE_MFG_LI_SENG_TECH }, { ZBEE_MFG_CODE_SYSTEM_LEVEL_SOLU, ZBEE_MFG_SYSTEM_LEVEL_SOLU }, { ZBEE_MFG_CODE_MATRIX_LABS, ZBEE_MFG_MATRIX_LABS }, { ZBEE_MFG_CODE_SINOPE_TECH, ZBEE_MFG_SINOPE_TECH }, { ZBEE_MFG_CODE_JIUZHOU_GREEBLE, ZBEE_MFG_JIUZHOU_GREEBLE }, { ZBEE_MFG_CODE_GUANGZHOU_LANVEE, ZBEE_MFG_GUANGZHOU_LANVEE }, { ZBEE_MFG_CODE_VENSTAR, ZBEE_MFG_VENSTAR }, { ZBEE_MFG_CODE_SLV, ZBEE_MFG_SLV }, { ZBEE_MFG_CODE_HALO_SMART_LABS, ZBEE_MFG_HALO_SMART_LABS }, { ZBEE_MFG_CODE_SCOUT_SECURITY, ZBEE_MFG_SCOUT_SECURITY }, { ZBEE_MFG_CODE_ALIBABA_CHINA, ZBEE_MFG_ALIBABA_CHINA }, { ZBEE_MFG_CODE_RESOLUTION_PROD, ZBEE_MFG_RESOLUTION_PROD }, { ZBEE_MFG_CODE_SMARTLOK_INC, ZBEE_MFG_SMARTLOK_INC }, { ZBEE_MFG_CODE_LUX_PRODUCTS_CORP, ZBEE_MFG_LUX_PRODUCTS_CORP }, { ZBEE_MFG_CODE_VIMAR_SPA, ZBEE_MFG_VIMAR_SPA }, { ZBEE_MFG_CODE_UNIVERSAL_LIGHT, ZBEE_MFG_UNIVERSAL_LIGHT }, { ZBEE_MFG_CODE_ROBERT_BOSCH_GMBH, ZBEE_MFG_ROBERT_BOSCH_GMBH }, { ZBEE_MFG_CODE_ACCENTURE, ZBEE_MFG_ACCENTURE }, { ZBEE_MFG_CODE_HEIMAN_TECHNOLOGY, ZBEE_MFG_HEIMAN_TECHNOLOGY }, { ZBEE_MFG_CODE_SHENZHEN_HOMA, ZBEE_MFG_SHENZHEN_HOMA }, { ZBEE_MFG_CODE_VISION_ELECTRO, ZBEE_MFG_VISION_ELECTRO }, { ZBEE_MFG_CODE_LENOVO, ZBEE_MFG_LENOVO }, { ZBEE_MFG_CODE_PRESCIENSE_RD, ZBEE_MFG_PRESCIENSE_RD }, { ZBEE_MFG_CODE_SHENZHEN_SEASTAR, ZBEE_MFG_SHENZHEN_SEASTAR }, { ZBEE_MFG_CODE_SENSATIVE_AB, ZBEE_MFG_SENSATIVE_AB }, { ZBEE_MFG_CODE_SOLAREDGE, ZBEE_MFG_SOLAREDGE }, { ZBEE_MFG_CODE_ZIPATO, ZBEE_MFG_ZIPATO }, { ZBEE_MFG_CODE_CHINA_FIRE_SEC, ZBEE_MFG_CHINA_FIRE_SEC }, { ZBEE_MFG_CODE_QUBY_BV, ZBEE_MFG_QUBY_BV }, { ZBEE_MFG_CODE_HANGZHOU_ROOMBANK, ZBEE_MFG_HANGZHOU_ROOMBANK }, { ZBEE_MFG_CODE_AMAZON_LAB126, ZBEE_MFG_AMAZON_LAB126 }, { ZBEE_MFG_CODE_PAULMANN_LICHT, ZBEE_MFG_PAULMANN_LICHT }, { ZBEE_MFG_CODE_SHENZHEN_ORVIBO, ZBEE_MFG_SHENZHEN_ORVIBO }, { ZBEE_MFG_CODE_TCI_TELECOMM, ZBEE_MFG_TCI_TELECOMM }, { ZBEE_MFG_CODE_MUELLER_LICHT_INT, ZBEE_MFG_MUELLER_LICHT_INT }, { ZBEE_MFG_CODE_AURORA_LIMITED, ZBEE_MFG_AURORA_LIMITED }, { ZBEE_MFG_CODE_SMART_DCC, ZBEE_MFG_SMART_DCC }, { ZBEE_MFG_CODE_SHANGHAI_UMEINFO, ZBEE_MFG_SHANGHAI_UMEINFO }, { ZBEE_MFG_CODE_CARBON_TRACK, ZBEE_MFG_CARBON_TRACK }, { ZBEE_MFG_CODE_SOMFY, ZBEE_MFG_SOMFY }, { ZBEE_MFG_CODE_VIESSMAN_ELEKTRO, ZBEE_MFG_VIESSMAN_ELEKTRO }, { ZBEE_MFG_CODE_HILDEBRAND_TECH, ZBEE_MFG_HILDEBRAND_TECH }, { ZBEE_MFG_CODE_ONKYO_TECH, ZBEE_MFG_ONKYO_TECH }, { ZBEE_MFG_CODE_SHENZHEN_SUNRICH, ZBEE_MFG_SHENZHEN_SUNRICH }, { ZBEE_MFG_CODE_XIU_XIU_TECH, ZBEE_MFG_XIU_XIU_TECH }, { ZBEE_MFG_CODE_ZUMTOBEL_GROUP, ZBEE_MFG_ZUMTOBEL_GROUP }, { ZBEE_MFG_CODE_SHENZHEN_KAADAS, ZBEE_MFG_SHENZHEN_KAADAS }, { ZBEE_MFG_CODE_SHANGHAI_XIAOYAN, ZBEE_MFG_SHANGHAI_XIAOYAN }, { ZBEE_MFG_CODE_CYPRESS_SEMICOND, ZBEE_MFG_CYPRESS_SEMICOND }, { ZBEE_MFG_CODE_XAL_GMBH, ZBEE_MFG_XAL_GMBH }, { ZBEE_MFG_CODE_INERGY_SYSTEMS, ZBEE_MFG_INERGY_SYSTEMS }, { ZBEE_MFG_CODE_ALFRED_KARCHER, ZBEE_MFG_ALFRED_KARCHER }, { ZBEE_MFG_CODE_ADUROLIGHT_MANU, ZBEE_MFG_ADUROLIGHT_MANU }, { ZBEE_MFG_CODE_GROUPE_MULLER, ZBEE_MFG_GROUPE_MULLER }, { ZBEE_MFG_CODE_V_MARK_ENTERPRI, ZBEE_MFG_V_MARK_ENTERPRI }, { ZBEE_MFG_CODE_LEAD_ENERGY_AG, ZBEE_MFG_LEAD_ENERGY_AG }, { ZBEE_MFG_CODE_UIOT_GROUP, ZBEE_MFG_UIOT_GROUP }, { ZBEE_MFG_CODE_AXXESS_INDUSTRIES, ZBEE_MFG_AXXESS_INDUSTRIES }, { ZBEE_MFG_CODE_THIRD_REALITY_INC, ZBEE_MFG_THIRD_REALITY_INC }, { ZBEE_MFG_CODE_DSR_CORPORATION, ZBEE_MFG_DSR_CORPORATION }, { ZBEE_MFG_CODE_GUANGZHOU_VENSI, ZBEE_MFG_GUANGZHOU_VENSI }, { ZBEE_MFG_CODE_SCHLAGE_LOCK_ALL, ZBEE_MFG_SCHLAGE_LOCK_ALL }, { ZBEE_MFG_CODE_NET2GRID, ZBEE_MFG_NET2GRID }, { ZBEE_MFG_CODE_AIRAM_ELECTRIC, ZBEE_MFG_AIRAM_ELECTRIC }, { ZBEE_MFG_CODE_IMMAX_WPB_CZ, ZBEE_MFG_IMMAX_WPB_CZ }, { ZBEE_MFG_CODE_ZIV_AUTOMATION, ZBEE_MFG_ZIV_AUTOMATION }, { ZBEE_MFG_CODE_HANGZHOU_IMAGIC, ZBEE_MFG_HANGZHOU_IMAGIC }, { ZBEE_MFG_CODE_XIAMEN_LEELEN, ZBEE_MFG_XIAMEN_LEELEN }, { ZBEE_MFG_CODE_OVERKIZ_SAS, ZBEE_MFG_OVERKIZ_SAS }, { ZBEE_MFG_CODE_FLONIDAN, ZBEE_MFG_FLONIDAN }, { ZBEE_MFG_CODE_HDL_AUTOATION, ZBEE_MFG_HDL_AUTOATION }, { ZBEE_MFG_CODE_ARDOMUS_NETWORKS, ZBEE_MFG_ARDOMUS_NETWORKS}, { ZBEE_MFG_CODE_SAMJIN_CO, ZBEE_MFG_SAMJIN_CO}, { ZBEE_MFG_CODE_SPRUE_AEGIS_PLC, ZBEE_MFG_SPRUE_AEGIS_PLC }, { ZBEE_MFG_CODE_INDRA_SISTEMAS, ZBEE_MFG_INDRA_SISTEMAS }, { ZBEE_MFG_CODE_JBT_SMART_LIGHT, ZBEE_MFG_JBT_SMART_LIGHT }, { ZBEE_MFG_CODE_GE_LIGHTING_CURRE, ZBEE_MFG_GE_LIGHTING_CURRE }, { ZBEE_MFG_CODE_DANFOSS, ZBEE_MFG_DANFOSS }, { ZBEE_MFG_CODE_NIVISS_PHP_SP, ZBEE_MFG_NIVISS_PHP_SP }, { ZBEE_MFG_CODE_FENGLIYUAN_ENERGY, ZBEE_MFG_FENGLIYUAN_ENERGY }, { ZBEE_MFG_CODE_NEXELEC, ZBEE_MFG_NEXELEC }, { ZBEE_MFG_CODE_SICHUAN_BEHOME_PR, ZBEE_MFG_SICHUAN_BEHOME_PR }, { ZBEE_MFG_CODE_FUJIAN_STARNET, ZBEE_MFG_FUJIAN_STARNET }, { ZBEE_MFG_CODE_TOSHIBA_VISUAL_SO, ZBEE_MFG_TOSHIBA_VISUAL_SO }, { ZBEE_MFG_CODE_LATCHABLE_INC, ZBEE_MFG_LATCHABLE_INC }, { ZBEE_MFG_CODE_LS_DEUTSCHLAND, ZBEE_MFG_LS_DEUTSCHLAND }, { ZBEE_MFG_CODE_GLEDOPTO_CO_LTD, ZBEE_MFG_GLEDOPTO_CO_LTD }, { ZBEE_MFG_CODE_THE_HOME_DEPOT, ZBEE_MFG_THE_HOME_DEPOT }, { ZBEE_MFG_CODE_NEONLITE_INTERNAT, ZBEE_MFG_NEONLITE_INTERNAT }, { ZBEE_MFG_CODE_ARLO_TECHNOLOGIES, ZBEE_MFG_ARLO_TECHNOLOGIES }, { ZBEE_MFG_CODE_XINGLUO_TECH, ZBEE_MFG_XINGLUO_TECH }, { ZBEE_MFG_CODE_SIMON_ELECTRIC_CH, ZBEE_MFG_SIMON_ELECTRIC_CH }, { ZBEE_MFG_CODE_HANGZHOU_GREATSTA, ZBEE_MFG_HANGZHOU_GREATSTA }, { ZBEE_MFG_CODE_SEQUENTRIC_ENERGY, ZBEE_MFG_SEQUENTRIC_ENERGY }, { ZBEE_MFG_CODE_SOLUM_CO_LTD, ZBEE_MFG_SOLUM_CO_LTD }, { ZBEE_MFG_CODE_EAGLERISE_ELEC, ZBEE_MFG_EAGLERISE_ELEC }, { ZBEE_MFG_CODE_FANTEM_TECH, ZBEE_MFG_FANTEM_TECH }, { ZBEE_MFG_CODE_YUNDING_NETWORK, ZBEE_MFG_YUNDING_NETWORK }, { ZBEE_MFG_CODE_ATLANTIC_GROUP, ZBEE_MFG_ATLANTIC_GROUP }, { ZBEE_MFG_CODE_XIAMEN_INTRETECH, ZBEE_MFG_XIAMEN_INTRETECH }, { ZBEE_MFG_CODE_TUYA_GLOBAL_INC, ZBEE_MFG_TUYA_GLOBAL_INC }, { ZBEE_MFG_CODE_XIAMEN_DNAKE_INTE, ZBEE_MFG_XIAMEN_DNAKE_INTE }, { ZBEE_MFG_CODE_NIKO_NV, ZBEE_MFG_NIKO_NV }, { ZBEE_MFG_CODE_EMPORIA_ENERGY, ZBEE_MFG_EMPORIA_ENERGY }, { ZBEE_MFG_CODE_SIKOM_AS, ZBEE_MFG_SIKOM_AS }, { ZBEE_MFG_CODE_AXIS_LABS_INC, ZBEE_MFG_AXIS_LABS_INC }, { ZBEE_MFG_CODE_CURRENT_PRODUCTS, ZBEE_MFG_CURRENT_PRODUCTS }, { ZBEE_MFG_CODE_METERSIT_SRL, ZBEE_MFG_METERSIT_SRL }, { ZBEE_MFG_CODE_HORNBACH_BAUMARKT, ZBEE_MFG_HORNBACH_BAUMARKT }, { ZBEE_MFG_CODE_DICEWORLD_SRL_A, ZBEE_MFG_DICEWORLD_SRL_A }, { ZBEE_MFG_CODE_ARC_TECHNOLOGY, ZBEE_MFG_ARC_TECHNOLOGY }, { ZBEE_MFG_CODE_KONKE_INFORMATION, ZBEE_MFG_KONKE_INFORMATION }, { ZBEE_MFG_CODE_SALTO_SYSTEMS_SL, ZBEE_MFG_SALTO_SYSTEMS_SL }, { ZBEE_MFG_CODE_SHYUGJ_TECHNOLOGY, ZBEE_MFG_SHYUGJ_TECHNOLOGY }, { ZBEE_MFG_CODE_BRAYDEN_AUTOMA, ZBEE_MFG_BRAYDEN_AUTOMA }, { ZBEE_MFG_CODE_ENVIRONEXUS_PTY, ZBEE_MFG_ENVIRONEXUS_PTY }, { ZBEE_MFG_CODE_ELTRA_NV_SA, ZBEE_MFG_ELTRA_NV_SA }, { ZBEE_MFG_CODE_XIAMOMI_COMMUNI, ZBEE_MFG_XIAMOMI_COMMUNI }, { ZBEE_MFG_CODE_SHUNCOM_ELECTRON, ZBEE_MFG_SHUNCOM_ELECTRON }, { ZBEE_MFG_CODE_VOLTALIS_SA, ZBEE_MFG_VOLTALIS_SA }, { ZBEE_MFG_CODE_FEELUX_CO_LTD, ZBEE_MFG_FEELUX_CO_LTD }, { ZBEE_MFG_CODE_SMARTPLUS_INC, ZBEE_MFG_SMARTPLUS_INC }, { ZBEE_MFG_CODE_HALEMEIER_GMBH, ZBEE_MFG_HALEMEIER_GMBH }, { ZBEE_MFG_CODE_TRUST_INTL, ZBEE_MFG_TRUST_INTL }, { ZBEE_MFG_CODE_DUKE_ENERGY, ZBEE_MFG_DUKE_ENERGY }, { ZBEE_MFG_CODE_CALIX, ZBEE_MFG_CALIX }, { ZBEE_MFG_CODE_ADEO, ZBEE_MFG_ADEO }, { ZBEE_MFG_CODE_CONNECTED_RESP, ZBEE_MFG_CONNECTED_RESP }, { ZBEE_MFG_CODE_STROYENERGOKOM, ZBEE_MFG_STROYENERGOKOM }, { ZBEE_MFG_CODE_LUMITECH_LIGHT, ZBEE_MFG_LUMITECH_LIGHT }, { ZBEE_MFG_CODE_VERDANT_ENVIRO , ZBEE_MFG_VERDANT_ENVIRO }, { ZBEE_MFG_CODE_ALFRED_INTL, ZBEE_MFG_ALFRED_INTL }, { ZBEE_MFG_CODE_SANSI_LED_LIGHT, ZBEE_MFG_SANSI_LED_LIGHT }, { ZBEE_MFG_CODE_MINDTREE, ZBEE_MFG_MINDTREE }, { ZBEE_MFG_CODE_NORDIC_SEMI, ZBEE_MFG_NORDIC_SEMI }, { ZBEE_MFG_CODE_SITERWELL_ELEC, ZBEE_MFG_SITERWELL_ELEC }, { ZBEE_MFG_CODE_BRILONER_LEUCHTEN, ZBEE_MFG_BRILONER_LEUCHTEN }, { ZBEE_MFG_CODE_SHENZHEN_SEI_TECH, ZBEE_MFG_SHENZHEN_SEI_TECH }, { ZBEE_MFG_CODE_COPPER_LABS, ZBEE_MFG_COPPER_LABS }, { ZBEE_MFG_CODE_DELTA_DORE, ZBEE_MFG_DELTA_DORE }, { ZBEE_MFG_CODE_HAGER_GROUP, ZBEE_MFG_HAGER_GROUP }, { ZBEE_MFG_CODE_SHENZHEN_COOLKIT, ZBEE_MFG_SHENZHEN_COOLKIT }, { ZBEE_MFG_CODE_HANGZHOU_SKY_LIGHT,ZBEE_MFG_HANGZHOU_SKY_LIGHT }, { ZBEE_MFG_CODE_E_ON_SE, ZBEE_MFG_E_ON_SE }, { ZBEE_MFG_CODE_LIDL_STIFTUNG, ZBEE_MFG_LIDL_STIFTUNG }, { ZBEE_MFG_CODE_SICHUAN_CHANGHONG, ZBEE_MFG_SICHUAN_CHANGHONG }, { ZBEE_MFG_CODE_NODON, ZBEE_MFG_NODON }, { ZBEE_MFG_CODE_JIANGXI_INNOTECH, ZBEE_MFG_JIANGXI_INNOTECH }, { ZBEE_MFG_CODE_MERCATOR_PTY, ZBEE_MFG_MERCATOR_PTY }, { ZBEE_MFG_CODE_BEIJING_RUYING, ZBEE_MFG_BEIJING_RUYING }, { ZBEE_MFG_CODE_EGLO_LEUCHTEN, ZBEE_MFG_EGLO_LEUCHTEN }, { ZBEE_MFG_CODE_PIETRO_FIORENTINI, ZBEE_MFG_PIETRO_FIORENTINI }, { ZBEE_MFG_CODE_ZEHNDER_GROUP, ZBEE_MFG_ZEHNDER_GROUP }, { ZBEE_MFG_CODE_BRK_BRANDS, ZBEE_MFG_BRK_BRANDS }, { ZBEE_MFG_CODE_ASKEY_COMPUTER, ZBEE_MFG_ASKEY_COMPUTER }, { ZBEE_MFG_CODE_PASSIVEBOLT, ZBEE_MFG_PASSIVEBOLT }, { ZBEE_MFG_CODE_AVM_AUDIOVISUELLE, ZBEE_MFG_AVM_AUDIOVISUELLE }, { ZBEE_MFG_CODE_NINGBO_SUNTECH, ZBEE_MFG_NINGBO_SUNTECH }, { ZBEE_MFG_CODE_SOCIETE_EN_COMMAND,ZBEE_MFG_SOCIETE_EN_COMMAND }, { ZBEE_MFG_CODE_VIVINT_SMART_HOME, ZBEE_MFG_VIVINT_SMART_HOME }, { ZBEE_MFG_CODE_NAMRON, ZBEE_MFG_NAMRON }, { ZBEE_MFG_CODE_RADEMACHER_GERA, ZBEE_MFG_RADEMACHER_GERA }, { ZBEE_MFG_CODE_OMO_SYSTEMS, ZBEE_MFG_OMO_SYSTEMS }, { ZBEE_MFG_CODE_SIGLIS, ZBEE_MFG_SIGLIS }, { ZBEE_MFG_CODE_IMHOTEP_CREATION, ZBEE_MFG_IMHOTEP_CREATION }, { ZBEE_MFG_CODE_ICASA, ZBEE_MFG_ICASA }, { ZBEE_MFG_CODE_LEVEL_HOME, ZBEE_MFG_LEVEL_HOME }, { ZBEE_MFG_CODE_TIS_CONTROL, ZBEE_MFG_TIS_CONTROL }, { ZBEE_MFG_CODE_RADISYS_INDIA, ZBEE_MFG_RADISYS_INDIA }, { ZBEE_MFG_CODE_VEEA, ZBEE_MFG_VEEA }, { ZBEE_MFG_CODE_FELL_TECHNOLOGY, ZBEE_MFG_FELL_TECHNOLOGY }, { ZBEE_MFG_CODE_SOWILO_DESIGN, ZBEE_MFG_SOWILO_DESIGN }, { ZBEE_MFG_CODE_LEXI_DEVICES, ZBEE_MFG_LEXI_DEVICES }, { ZBEE_MFG_CODE_LIFI_LABS, ZBEE_MFG_LIFI_LABS }, { ZBEE_MFG_CODE_GRUNDFOS_HOLDING, ZBEE_MFG_GRUNDFOS_HOLDING }, { ZBEE_MFG_CODE_SOURCING_CREATION, ZBEE_MFG_SOURCING_CREATION }, { ZBEE_MFG_CODE_KRAKEN_TECH, ZBEE_MFG_KRAKEN_TECHNOLOGIES }, { ZBEE_MFG_CODE_EVE_SYSTEMS, ZBEE_MFG_EVE_SYSTEMS }, { ZBEE_MFG_CODE_LITE_ON_TECH, ZBEE_MFG_LITE_ON_TECHNOLOGY }, { ZBEE_MFG_CODE_FOCALCREST, ZBEE_MFG_FOCALCREST }, { ZBEE_MFG_CODE_BOUFFALO_LAB, ZBEE_MFG_BOUFFALO_LAB }, { ZBEE_MFG_CODE_WYZE_LABS, ZBEE_MFG_WYZE_LABS }, { ZBEE_MFG_CODE_DATEK_WIRLESS, ZBEE_MFG_DATEK_WIRLESS }, { ZBEE_MFG_CODE_GEWISS_SPA, ZBEE_MFG_GEWISS_SPA }, { ZBEE_MFG_CODE_CLIMAX_TECH, ZBEE_MFG_CLIMAX_TECH }, { 0, NULL } }; static value_string_ext zbee_mfr_code_names_ext = VALUE_STRING_EXT_INIT(zbee_mfr_code_names); /* ZCL Attribute Status Names */ const value_string zbee_zcl_status_names[] = { { ZBEE_ZCL_STAT_SUCCESS, "Success"}, { ZBEE_ZCL_STAT_FAILURE, "Failure"}, { ZBEE_ZCL_STAT_NOT_AUTHORIZED, "Not Authorized"}, { ZBEE_ZCL_STAT_RESERVED_FIELD_NOT_ZERO, "Reserved Field Not Zero"}, { ZBEE_ZCL_STAT_MALFORMED_CMD, "Malformed Command"}, { ZBEE_ZCL_STAT_UNSUP_CLUSTER_CMD, "Unsupported Cluster Command"}, { ZBEE_ZCL_STAT_UNSUP_GENERAL_CMD, "Unsupported General Command"}, { ZBEE_ZCL_STAT_UNSUP_MFR_CLUSTER_CMD, "Unsupported Manufacturer Cluster Command"}, { ZBEE_ZCL_STAT_UNSUP_MFR_GENERAL_CMD, "Unsupported Manufacturer General Command"}, { ZBEE_ZCL_STAT_INVALID_FIELD, "Invalid Field"}, { ZBEE_ZCL_STAT_UNSUPPORTED_ATTR, "Unsupported Attribute"}, { ZBEE_ZCL_STAT_INVALID_VALUE, "Invalid Value"}, { ZBEE_ZCL_STAT_READ_ONLY, "Read Only"}, { ZBEE_ZCL_STAT_INSUFFICIENT_SPACE, "Insufficient Space"}, { ZBEE_ZCL_STAT_DUPLICATE_EXISTS, "Duplicate Exists"}, { ZBEE_ZCL_STAT_NOT_FOUND, "Not Found"}, { ZBEE_ZCL_STAT_UNREPORTABLE_ATTR, "Unreportable Attribute"}, { ZBEE_ZCL_STAT_INVALID_DATA_TYPE, "Invalid Data Type"}, { ZBEE_ZCL_STAT_INVALID_SELECTOR, "Invalid Selector"}, { ZBEE_ZCL_STAT_WRITE_ONLY, "Write Only"}, { ZBEE_ZCL_STAT_INCONSISTENT_STARTUP_STATE, "Inconsistent Startup State"}, { ZBEE_ZCL_STAT_DEFINED_OUT_OF_BAND, "Defined Out of Band"}, { ZBEE_ZCL_STAT_INCONSISTENT, "Inconsistent Value"}, { ZBEE_ZCL_STAT_ACTION_DENIED, "Action Denied"}, { ZBEE_ZCL_STAT_TIMEOUT, "Timeout"}, { ZBEE_ZCL_STAT_OTA_ABORT, "Ota Abort"}, { ZBEE_ZCL_STAT_OTA_INVALID_IMAGE, "Ota Invalid Image"}, { ZBEE_ZCL_STAT_OTA_WAIT_FOR_DATA, "Ota Wait For Data"}, { ZBEE_ZCL_STAT_OTA_NO_IMAGE_AVAILABLE, "Ota No Image Available"}, { ZBEE_ZCL_STAT_OTA_REQUIRE_MORE_IMAGE, "Ota Require More Image"}, { ZBEE_ZCL_STAT_OTA_NOTIFICATION_PENDING, "Ota Notification Pending"}, { ZBEE_ZCL_STAT_HARDWARE_FAILURE, "Hardware Failure"}, { ZBEE_ZCL_STAT_SOFTWARE_FAILURE, "Software Failure"}, { ZBEE_ZCL_STAT_CALIBRATION_ERROR, "Calibration Error"}, { ZBEE_ZCL_STAT_UNSUPPORTED_CLUSTER, "Unsupported Cluster"}, { ZBEE_ZCL_STAT_LIMIT_REACHED, "Limit Reached"}, { 0, NULL } }; static value_string_ext zbee_zcl_status_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_status_names); /* ZCL Attribute Data Names */ static const value_string zbee_zcl_data_type_names[] = { { ZBEE_ZCL_NO_DATA, "No Data" }, { ZBEE_ZCL_8_BIT_DATA, "8-Bit Data" }, { ZBEE_ZCL_16_BIT_DATA, "16-Bit Data" }, { ZBEE_ZCL_24_BIT_DATA, "24-Bit Data" }, { ZBEE_ZCL_32_BIT_DATA, "32-Bit Data" }, { ZBEE_ZCL_40_BIT_DATA, "40-Bit Data" }, { ZBEE_ZCL_48_BIT_DATA, "48-Bit Data" }, { ZBEE_ZCL_56_BIT_DATA, "56-Bit Data" }, { ZBEE_ZCL_64_BIT_DATA, "64-Bit Data" }, { ZBEE_ZCL_BOOLEAN, "Boolean" }, { ZBEE_ZCL_8_BIT_BITMAP, "8-Bit Bitmap" }, { ZBEE_ZCL_16_BIT_BITMAP, "16-Bit Bitmap" }, { ZBEE_ZCL_24_BIT_BITMAP, "24-Bit Bitmap" }, { ZBEE_ZCL_32_BIT_BITMAP, "32-Bit Bitmap" }, { ZBEE_ZCL_40_BIT_BITMAP, "40-Bit Bitmap" }, { ZBEE_ZCL_48_BIT_BITMAP, "48-Bit Bitmap" }, { ZBEE_ZCL_56_BIT_BITMAP, "56-Bit Bitmap" }, { ZBEE_ZCL_64_BIT_BITMAP, "64-Bit Bitmap" }, { ZBEE_ZCL_8_BIT_UINT, "8-Bit Unsigned Integer" }, { ZBEE_ZCL_16_BIT_UINT, "16-Bit Unsigned Integer" }, { ZBEE_ZCL_24_BIT_UINT, "24-Bit Unsigned Integer" }, { ZBEE_ZCL_32_BIT_UINT, "32-Bit Unsigned Integer" }, { ZBEE_ZCL_40_BIT_UINT, "40-Bit Unsigned Integer" }, { ZBEE_ZCL_48_BIT_UINT, "48-Bit Unsigned Integer" }, { ZBEE_ZCL_56_BIT_UINT, "56-Bit Unsigned Integer" }, { ZBEE_ZCL_64_BIT_UINT, "64-Bit Unsigned Integer" }, { ZBEE_ZCL_8_BIT_INT, "8-Bit Signed Integer" }, { ZBEE_ZCL_16_BIT_INT, "16-Bit Signed Integer" }, { ZBEE_ZCL_24_BIT_INT, "24-Bit Signed Integer" }, { ZBEE_ZCL_32_BIT_INT, "32-Bit Signed Integer" }, { ZBEE_ZCL_40_BIT_INT, "40-Bit Signed Integer" }, { ZBEE_ZCL_48_BIT_INT, "48-Bit Signed Integer" }, { ZBEE_ZCL_56_BIT_INT, "56-Bit Signed Integer" }, { ZBEE_ZCL_64_BIT_INT, "64-Bit Signed Integer" }, { ZBEE_ZCL_8_BIT_ENUM, "8-Bit Enumeration" }, { ZBEE_ZCL_16_BIT_ENUM, "16-Bit Enumeration" }, { ZBEE_ZCL_SEMI_FLOAT, "Semi-precision Floating Point" }, { ZBEE_ZCL_SINGLE_FLOAT, "Single Precision Floating Point" }, { ZBEE_ZCL_DOUBLE_FLOAT, "Double Precision Floating Point" }, { ZBEE_ZCL_OCTET_STRING, "Octet String" }, { ZBEE_ZCL_CHAR_STRING, "Character String" }, { ZBEE_ZCL_LONG_OCTET_STRING, "Long Octet String" }, { ZBEE_ZCL_LONG_CHAR_STRING, "Long Character String" }, { ZBEE_ZCL_ARRAY, "Array" }, { ZBEE_ZCL_STRUCT, "Structure" }, { ZBEE_ZCL_SET, "Set Collection" }, { ZBEE_ZCL_BAG, "Bag Collection" }, { ZBEE_ZCL_TIME, "Time of Day" }, { ZBEE_ZCL_DATE, "Date" }, { ZBEE_ZCL_UTC, "UTC Time" }, { ZBEE_ZCL_CLUSTER_ID, "Cluster ID" }, { ZBEE_ZCL_ATTR_ID, "Attribute ID" }, { ZBEE_ZCL_BACNET_OID, "BACnet OID" }, { ZBEE_ZCL_IEEE_ADDR, "IEEE Address" }, { ZBEE_ZCL_SECURITY_KEY, "128-Bit Security Key" }, { ZBEE_ZCL_UNKNOWN, "Unknown" }, { 0, NULL } }; static value_string_ext zbee_zcl_data_type_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_data_type_names); /* ZCL Attribute Short Data Names */ const value_string zbee_zcl_short_data_type_names[] = { { ZBEE_ZCL_NO_DATA, "No Data" }, { ZBEE_ZCL_8_BIT_DATA, "Data8" }, { ZBEE_ZCL_16_BIT_DATA, "Data16" }, { ZBEE_ZCL_24_BIT_DATA, "Data24" }, { ZBEE_ZCL_32_BIT_DATA, "Data32" }, { ZBEE_ZCL_40_BIT_DATA, "Data40" }, { ZBEE_ZCL_48_BIT_DATA, "Data48" }, { ZBEE_ZCL_56_BIT_DATA, "Data56" }, { ZBEE_ZCL_64_BIT_DATA, "Data64" }, { ZBEE_ZCL_BOOLEAN, "Boolean" }, { ZBEE_ZCL_8_BIT_BITMAP, "Bit8" }, { ZBEE_ZCL_16_BIT_BITMAP, "Bit16" }, { ZBEE_ZCL_24_BIT_BITMAP, "Bit24" }, { ZBEE_ZCL_32_BIT_BITMAP, "Bit32" }, { ZBEE_ZCL_40_BIT_BITMAP, "Bit40" }, { ZBEE_ZCL_48_BIT_BITMAP, "Bit48" }, { ZBEE_ZCL_56_BIT_BITMAP, "Bit56" }, { ZBEE_ZCL_64_BIT_BITMAP, "Bit64" }, { ZBEE_ZCL_8_BIT_UINT, "Uint8" }, { ZBEE_ZCL_16_BIT_UINT, "Uint16" }, { ZBEE_ZCL_24_BIT_UINT, "Uint24" }, { ZBEE_ZCL_32_BIT_UINT, "Uint32" }, { ZBEE_ZCL_40_BIT_UINT, "Uint40" }, { ZBEE_ZCL_48_BIT_UINT, "Uint48" }, { ZBEE_ZCL_56_BIT_UINT, "Uint56" }, { ZBEE_ZCL_64_BIT_UINT, "Uint64" }, { ZBEE_ZCL_8_BIT_INT, "Int8" }, { ZBEE_ZCL_16_BIT_INT, "Int16" }, { ZBEE_ZCL_24_BIT_INT, "Int24" }, { ZBEE_ZCL_32_BIT_INT, "Int32" }, { ZBEE_ZCL_40_BIT_INT, "Int40" }, { ZBEE_ZCL_48_BIT_INT, "Int48" }, { ZBEE_ZCL_56_BIT_INT, "Int56" }, { ZBEE_ZCL_64_BIT_INT, "Int64" }, { ZBEE_ZCL_8_BIT_ENUM, "Enum8" }, { ZBEE_ZCL_16_BIT_ENUM, "Enum16" }, { ZBEE_ZCL_SEMI_FLOAT, "Semi Float" }, { ZBEE_ZCL_SINGLE_FLOAT, "Float" }, { ZBEE_ZCL_DOUBLE_FLOAT, "Double Float" }, { ZBEE_ZCL_OCTET_STRING, "Oct String" }, { ZBEE_ZCL_CHAR_STRING, "Char String" }, { ZBEE_ZCL_LONG_OCTET_STRING, "Long Oct String" }, { ZBEE_ZCL_LONG_CHAR_STRING, "Long Char String" }, { ZBEE_ZCL_ARRAY, "Array" }, { ZBEE_ZCL_STRUCT, "Structure" }, { ZBEE_ZCL_SET, "Set" }, { ZBEE_ZCL_BAG, "Bag" }, { ZBEE_ZCL_TIME, "Time" }, { ZBEE_ZCL_DATE, "Date" }, { ZBEE_ZCL_UTC, "UTC" }, { ZBEE_ZCL_CLUSTER_ID, "Cluster" }, { ZBEE_ZCL_ATTR_ID, "Attribute" }, { ZBEE_ZCL_BACNET_OID, "BACnet" }, { ZBEE_ZCL_IEEE_ADDR, "EUI" }, { ZBEE_ZCL_SECURITY_KEY, "Key" }, { ZBEE_ZCL_UNKNOWN, "Unknown" }, { 0, NULL } }; static value_string_ext zbee_zcl_short_data_type_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_short_data_type_names); /* ZCL Attribute English Weekday Names */ static const value_string zbee_zcl_wd_names[] = { { 1, "Monday" }, { 2, "Tuesday" }, { 3, "Wednesday" }, { 4, "Thursday" }, { 5, "Friday" }, { 6, "Saturday" }, { 7, "Sunday" }, { 0, NULL } }; static value_string_ext zbee_zcl_wd_names_ext = VALUE_STRING_EXT_INIT(zbee_zcl_wd_names); /* Attribute Direction Names */ static const value_string zbee_zcl_dir_names[] = { { ZBEE_ZCL_DIR_RECEIVED, "Received" }, { ZBEE_ZCL_DIR_REPORTED, "Reported" }, { 0, NULL } }; /* Attribute Discovery Names */ static const value_string zbee_zcl_dis_names[] = { { 0, "Incomplete" }, { 1, "Complete" }, { 0, NULL } }; /** *ZigBee Cluster Library dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields. *@param tree pointer to data tree wireshark uses to display packet. *@param data raw packet private data. */ static int dissect_zbee_zcl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { tvbuff_t *payload_tvb; dissector_handle_t cluster_handle; proto_tree *zcl_tree; proto_tree *sub_tree = NULL; proto_item *proto_root; zbee_nwk_packet *nwk; zbee_zcl_packet packet; zbee_zcl_cluster_desc *desc; guint16 cluster_id; guint8 fcf; guint offset = 0; /* Reject the packet if data is NULL */ if (data == NULL) return 0; nwk = (zbee_nwk_packet *)data; /* Init. */ memset(&packet, 0, sizeof(zbee_zcl_packet)); /* Fill the zcl cluster id */ cluster_id = zcl_cluster_id = nwk->cluster_id; /* Create the protocol tree */ proto_root = proto_tree_add_protocol_format(tree, proto_zbee_zcl, tvb, offset, -1, "ZigBee Cluster Library Frame"); zcl_tree = proto_item_add_subtree(proto_root, ett_zbee_zcl); /* Clear info column */ col_clear(pinfo->cinfo, COL_INFO); /* Get the FCF */ fcf = tvb_get_guint8(tvb, offset); packet.frame_type = zbee_get_bit_field(fcf, ZBEE_ZCL_FCF_FRAME_TYPE); packet.mfr_spec = zbee_get_bit_field(fcf, ZBEE_ZCL_FCF_MFR_SPEC); packet.direction = zbee_get_bit_field(fcf, ZBEE_ZCL_FCF_DIRECTION); packet.disable_default_resp = zbee_get_bit_field(fcf, ZBEE_ZCL_FCF_DISABLE_DEFAULT_RESP); /* Display the FCF */ if ( tree ) { /* Create the subtree */ sub_tree = proto_tree_add_subtree_format(zcl_tree, tvb, offset, 1, ett_zbee_zcl_fcf, NULL, "Frame Control Field: %s (0x%02x)", val_to_str_const(packet.frame_type, zbee_zcl_frame_types, "Unknown"), fcf); /* Add the frame type */ proto_tree_add_item(sub_tree, hf_zbee_zcl_fcf_frame_type, tvb, offset, 1, ENC_NA); /* Add the manufacturer specific, direction, and disable default response flags */ proto_tree_add_item(sub_tree, hf_zbee_zcl_fcf_mfr_spec, tvb, offset, 1, ENC_NA); proto_tree_add_item(sub_tree, hf_zbee_zcl_fcf_dir, tvb, offset, 1, ENC_NA); proto_tree_add_item(sub_tree, hf_zbee_zcl_fcf_disable_default_resp, tvb, offset, 1, ENC_NA); } offset += 1; /* If the manufacturer code is present, get and display it. */ if (packet.mfr_spec) { packet.mfr_code = tvb_get_letohs(tvb, offset); if ( tree ) { proto_tree_add_uint(zcl_tree, hf_zbee_zcl_mfr_code, tvb, offset, 2, packet.mfr_code); proto_item_append_text(proto_root, ", Mfr: %s (0x%04x)", val_to_str_ext_const(packet.mfr_code, &zbee_mfr_code_names_ext, "Unknown"), packet.mfr_code); } offset += 2; } /* Fill the zcl mfr code id */ zcl_mfr_code = packet.mfr_code; /* Add the transaction sequence number to the tree */ packet.tran_seqno = tvb_get_guint8(tvb, offset); proto_tree_add_uint(zcl_tree, hf_zbee_zcl_tran_seqno, tvb, offset, 1, packet.tran_seqno); offset += 1; /* Display the command and sequence number on the proto root and info column. */ packet.cmd_id = tvb_get_guint8(tvb, offset); /* Get the manufacturer specific cluster handle */ cluster_handle = dissector_get_uint_handle(zbee_zcl_dissector_table, ZCL_CLUSTER_MFR_KEY(cluster_id, packet.mfr_code)); desc = zbee_zcl_get_cluster_desc(cluster_id, packet.mfr_code); if (desc != NULL) { col_append_fstr(pinfo->cinfo, COL_INFO, "%s: ", desc->name); } /* Add command ID to the tree. */ if ( packet.frame_type == ZBEE_ZCL_FCF_PROFILE_WIDE ) { /* Profile-wide commands. */ if ( tree ) { proto_item_append_text(proto_root, ", Command: %s, Seq: %u", val_to_str_ext_const(packet.cmd_id, &zbee_zcl_cmd_names_ext, "Unknown Command"), packet.tran_seqno); } col_set_str(pinfo->cinfo, COL_INFO, "ZCL: "); col_append_fstr(pinfo->cinfo, COL_INFO, "%s, Seq: %u", val_to_str_ext_const(packet.cmd_id, &zbee_zcl_cmd_names_ext, "Unknown Command"), packet.tran_seqno); proto_tree_add_uint(zcl_tree, hf_zbee_zcl_cmd_id, tvb, offset, 1, packet.cmd_id); offset += 1; } else { /* Cluster-specific commands. */ payload_tvb = tvb_new_subset_remaining(tvb, offset); if (cluster_handle != NULL) { /* Call the specific cluster dissector registered. */ call_dissector_with_data(cluster_handle, payload_tvb, pinfo, zcl_tree, &packet); return tvb_captured_length(tvb); } else { col_append_fstr(pinfo->cinfo, COL_INFO, "Unknown Command: 0x%02x, Seq: %u", packet.cmd_id, packet.tran_seqno); proto_tree_add_uint(zcl_tree, hf_zbee_zcl_cs_cmd_id, tvb, offset, 1, packet.cmd_id); offset += 1; } /* Don't decode the tail. */ zcl_dump_data(tvb, offset, pinfo, zcl_tree); return tvb_captured_length(tvb); } if ( zcl_tree ) { /* Handle the contents of the command frame. */ switch ( packet.cmd_id ) { case ZBEE_ZCL_CMD_READ_ATTR: dissect_zcl_read_attr(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_READ_ATTR_RESP: dissect_zcl_read_attr_resp(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_WRITE_ATTR: case ZBEE_ZCL_CMD_WRITE_ATTR_UNDIVIDED: case ZBEE_ZCL_CMD_WRITE_ATTR_NO_RESP: dissect_zcl_write_attr(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_REPORT_ATTR: dissect_zcl_report_attr(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_WRITE_ATTR_RESP: dissect_zcl_write_attr_resp(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_CONFIG_REPORT: dissect_zcl_config_report(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_CONFIG_REPORT_RESP: dissect_zcl_config_report_resp(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_READ_REPORT_CONFIG: dissect_zcl_read_report_config(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_READ_REPORT_CONFIG_RESP: dissect_zcl_read_report_config_resp(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_DEFAULT_RESP: dissect_zcl_default_resp(tvb, pinfo, zcl_tree, &offset); break; case ZBEE_ZCL_CMD_DISCOVER_ATTR: case ZBEE_ZCL_CMD_DISCOVER_ATTR_EXTENDED: dissect_zcl_discover_attr(tvb, pinfo, zcl_tree, &offset); break; case ZBEE_ZCL_CMD_DISCOVER_ATTR_RESP: dissect_zcl_discover_attr_resp(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; /* BUGBUG: don't dissect these for now*/ case ZBEE_ZCL_CMD_READ_ATTR_STRUCT: dissect_zcl_read_attr_struct(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_WRITE_ATTR_STRUCT: dissect_zcl_write_attr_struct(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_WRITE_ATTR_STRUCT_RESP: dissect_zcl_write_attr_struct_resp(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; case ZBEE_ZCL_CMD_DISCOVER_CMDS_REC: case ZBEE_ZCL_CMD_DISCOVER_CMDS_GEN: dissect_zcl_discover_cmd_rec(tvb, pinfo, zcl_tree, &offset); break; case ZBEE_ZCL_CMD_DISCOVER_CMDS_REC_RESP: case ZBEE_ZCL_CMD_DISCOVER_CMDS_GEN_RESP: dissect_zcl_discover_cmd_rec_resp(tvb, pinfo, zcl_tree, &offset); break; /* case ZBEE_ZCL_CMD_DISCOVER_CMDS_GEN_RESP: dissect_zcl_discover_cmd_gen_resp(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break;*/ case ZBEE_ZCL_CMD_DISCOVER_ATTR_EXTENDED_RESP: dissect_zcl_discover_cmd_attr_extended_resp(tvb, pinfo, zcl_tree, &offset, cluster_id, packet.mfr_code, packet.direction); break; } /* switch */ } zcl_dump_data(tvb, offset, pinfo, zcl_tree); return tvb_captured_length(tvb); } /* dissect_zbee_zcl */ /** *Helper dissector for ZCL Read Attributes and * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer from caller. *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ void dissect_zcl_read_attr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { guint tvb_len; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_CLIENT; tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len ) { /* Dissect the attribute identifier */ dissect_zcl_attr_id(tvb, tree, offset, cluster_id, mfr_code, client_attr); } return; } /* dissect_zcl_read_attr */ /** *Helper dissector for ZCL Read Attributes Response command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ void dissect_zcl_read_attr_resp(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree; guint tvb_len; guint i = 0; guint16 attr_id; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_SERVER; tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_attr[i], NULL, "Status Record"); i++; /* Dissect the attribute identifier */ attr_id = tvb_get_letohs(tvb, *offset); dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, client_attr); /* Dissect the status and optionally the data type and value */ if ( dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_status) == ZBEE_ZCL_STAT_SUCCESS ) { /* Dissect the attribute data type and data */ dissect_zcl_attr_data_type_val(tvb, sub_tree, offset, attr_id, cluster_id, mfr_code, client_attr); } /* Set end for subtree */ proto_item_set_end(proto_tree_get_parent(sub_tree), tvb, *offset); } } /* dissect_zcl_read_attr_resp */ /** *Helper dissector for ZCL Report Attribute commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ void dissect_zcl_write_attr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree; guint tvb_len; guint i = 0; guint16 attr_id; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_CLIENT; tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_attr[i], NULL, "Attribute Field"); i++; /* Dissect the attribute identifier */ attr_id = tvb_get_letohs(tvb, *offset); dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, client_attr); /* Dissect the attribute data type and data */ dissect_zcl_attr_data_type_val(tvb, sub_tree, offset, attr_id, cluster_id, mfr_code, client_attr); /* Set end for subtree */ proto_item_set_end(proto_tree_get_parent(sub_tree), tvb, *offset); } } /* dissect_zcl_write_attr */ /** *Helper dissector for ZCL Report Attribute commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ void dissect_zcl_report_attr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree; guint tvb_len; guint i = 0; guint16 attr_id; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_SERVER; tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_attr[i], NULL, "Attribute Field"); i++; /* Dissect the attribute identifier */ attr_id = tvb_get_letohs(tvb, *offset); dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, client_attr); /* Dissect the attribute data type and data */ dissect_zcl_attr_data_type_val(tvb, sub_tree, offset, attr_id, cluster_id, mfr_code, client_attr); /* Set end for subtree */ proto_item_set_end(proto_tree_get_parent(sub_tree), tvb, *offset); } } /* dissect_zcl_report_attr */ /** *Helper dissector for ZCL Write Attribute Response command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ static void dissect_zcl_write_attr_resp(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree; guint tvb_len; guint i = 0; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_SERVER; tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_attr[i], NULL, "Status Record"); i++; /* Dissect the status */ if ( dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_status) != ZBEE_ZCL_STAT_SUCCESS ) { /* Dissect the failed attribute identifier */ dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, client_attr); } /* Set end for subtree */ proto_item_set_end(proto_tree_get_parent(sub_tree), tvb, *offset); } } /* dissect_zcl_write_attr_resp */ /** *Helper dissector for ZCL Report Attribute commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster identification *@param mfr_code manufacturer code. *@param direction ZCL direction */ static void dissect_zcl_read_report_config_resp(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree; guint tvb_len; guint i = 0; guint data_type; guint attr_status; guint attr_dir; guint16 attr_id; tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 3, ett_zbee_zcl_attr[i], NULL, "Reporting Configuration Record"); i++; /* Dissect the status */ attr_status = dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_status); /* Dissect the direction and any reported configuration */ attr_dir = dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_dir); /* Dissect the attribute id */ attr_id = tvb_get_letohs(tvb, *offset); dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, (direction == ZBEE_ZCL_FCF_TO_SERVER && attr_dir == ZBEE_ZCL_DIR_REPORTED) || (direction == ZBEE_ZCL_FCF_TO_CLIENT && attr_dir == ZBEE_ZCL_DIR_RECEIVED)); if ( attr_status == ZBEE_ZCL_STAT_SUCCESS ) { if ( attr_dir == ZBEE_ZCL_DIR_REPORTED ) { /* Dissect the attribute data type */ data_type = dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_data_type); /* Dissect minimum reporting interval */ proto_tree_add_item(tree, hf_zbee_zcl_attr_minint, tvb, *offset, 2, ENC_LITTLE_ENDIAN); (*offset) += 2; /* Dissect maximum reporting interval */ proto_tree_add_item(tree, hf_zbee_zcl_attr_maxint, tvb, *offset, 2, ENC_LITTLE_ENDIAN); (*offset) += 2; if ( IS_ANALOG_SUBTYPE(data_type) ) { /* Dissect reportable change */ dissect_zcl_attr_data_general(tvb, sub_tree, offset, attr_id, data_type, cluster_id, mfr_code, direction == ZBEE_ZCL_FCF_TO_SERVER); } } else { /* Dissect timeout period */ proto_tree_add_item(tree, hf_zbee_zcl_attr_timeout, tvb, *offset, 2, ENC_LITTLE_ENDIAN); (*offset) += 2; } } } } /* dissect_zcl_read_report_config_resp */ /** *Helper dissector for ZCL Config Report Attribute commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ static void dissect_zcl_config_report(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree; guint tvb_len; guint i = 0; guint data_type; guint16 attr_id; tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 3, ett_zbee_zcl_attr[i], NULL, "Reporting Configuration Record"); i++; /* Dissect the direction and any reported configuration */ if ( dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_dir) == ZBEE_ZCL_DIR_REPORTED ) { /* Dissect the attribute id */ attr_id = tvb_get_letohs(tvb, *offset); dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, direction == ZBEE_ZCL_FCF_TO_CLIENT); /* Dissect the attribute data type */ data_type = dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_data_type); /* Dissect minimum reporting interval */ proto_tree_add_item(tree, hf_zbee_zcl_attr_minint, tvb, *offset, 2, ENC_LITTLE_ENDIAN); (*offset) += 2; /* Dissect maximum reporting interval */ proto_tree_add_item(tree, hf_zbee_zcl_attr_maxint, tvb, *offset, 2, ENC_LITTLE_ENDIAN); (*offset) += 2; if ( IS_ANALOG_SUBTYPE(data_type) ) { /* Dissect reportable change */ dissect_zcl_attr_data_general(tvb, sub_tree, offset, attr_id, data_type, cluster_id, mfr_code, direction == ZBEE_ZCL_FCF_TO_CLIENT); } } else { /* Dissect the attribute id */ dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, direction == ZBEE_ZCL_FCF_TO_SERVER); /* Dissect timeout period */ proto_tree_add_item(tree, hf_zbee_zcl_attr_timeout, tvb, *offset, 2, ENC_LITTLE_ENDIAN); (*offset) += 2; } } } /* dissect_zcl_config_report */ /** *Helper dissector for ZCL Config Report Attribute Response commands. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ static void dissect_zcl_config_report_resp(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree; guint tvb_len; guint i = 0; tvb_len = tvb_captured_length(tvb); /* Special case when all attributes configured successfully */ if ( *offset == tvb_len - 1 ) { /* Dissect the status */ if ( dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_status) != ZBEE_ZCL_STAT_SUCCESS ) { expert_add_info(pinfo, tree->last_child, &ei_cfg_rpt_rsp_short_non_success); } } while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { guint8 attr_dir; /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 3, ett_zbee_zcl_attr[i], NULL, "Attribute Status Record"); i++; /* Dissect the status */ dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_status); /* Dissect the direction */ attr_dir = dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_dir); /* Dissect the attribute identifier */ dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, (direction == ZBEE_ZCL_FCF_TO_SERVER && attr_dir == ZBEE_ZCL_DIR_REPORTED) || (direction == ZBEE_ZCL_FCF_TO_CLIENT && attr_dir == ZBEE_ZCL_DIR_RECEIVED)); } } /* dissect_zcl_config_report_resp */ /** *Helper dissector for ZCL Read Report Configuration command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ static void dissect_zcl_read_report_config(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree; guint tvb_len; guint i = 0; tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { guint8 attr_dir; /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 3, ett_zbee_zcl_attr[i], NULL, "Attribute Status Record"); i++; /* Dissect the direction */ attr_dir = dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_dir); /* Dissect the attribute identifier */ dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, (direction == ZBEE_ZCL_FCF_TO_SERVER && attr_dir == ZBEE_ZCL_DIR_RECEIVED) || (direction == ZBEE_ZCL_FCF_TO_CLIENT && attr_dir == ZBEE_ZCL_DIR_REPORTED)); } } /* dissect_zcl_read_report_config */ /** *Helper dissector for ZCL Default Response command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller. */ static void dissect_zcl_default_resp(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset) { /* The only way to tell if this is a profile-wide or cluster specific command */ /* is the frame control of the original message to which this is the response. */ /* So, display the originating command id and do not attempt to interpret */ proto_tree_add_item(tree, hf_zbee_zcl_cmd_id_rsp, tvb, *offset, 1, ENC_NA); *offset += 1; /* Dissect the status */ dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_status); } /* dissect_zcl_default_resp */ /** *Helper dissector for ZCL Discover Attributes command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller */ static void dissect_zcl_discover_attr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset) { /* Dissect the starting attribute identifier */ proto_tree_add_item(tree, hf_zbee_zcl_attr_start, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Dissect the number of maximum attribute identifiers */ dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_maxnum); return; } /* dissect_zcl_discover_attr */ /** *Helper dissector for ZCL Discover Attributes command. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree wireshark uses to display packet. *@param offset pointer to offset from caller *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param direction ZCL direction */ static void dissect_zcl_discover_attr_resp(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree = NULL; guint tvb_len; guint i = 0; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_SERVER; /* XXX - tree is never available!!!*/ dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_dis); tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 3, ett_zbee_zcl_attr[i], NULL, "Attribute Status Record"); i++; /* Dissect the attribute identifier */ dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, client_attr); /* Dissect the number of maximum attribute identifiers */ dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_data_type); } } /* dissect_zcl_discover_attr_resp */ static void dissect_zcl_read_attr_struct(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tree, guint* offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree = NULL; guint tvb_len; guint i = 0, j=0; // guint16 attr_id; guint8 indicator; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_CLIENT; tvb_len = tvb_captured_length(tvb); while (*offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT) { /* Create subtree for aelector field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_sel[i], NULL, "Selector"); i++; /* Dissect the attribute identifier */ // attr_id = tvb_get_letohs(tvb, *offset); dissect_zcl_attr_id(tvb, tree, offset, cluster_id, mfr_code, client_attr); proto_tree_add_item(sub_tree, hf_zbee_zcl_indicator, tvb, *offset, 1, ENC_LITTLE_ENDIAN); indicator = tvb_get_guint8(tvb, *offset); *offset += 1; j=0; while (j < indicator) { proto_tree_add_item(sub_tree, hf_zbee_zcl_index, tvb, *offset, 2, ENC_LITTLE_ENDIAN); //index = tvb_get_letohs(tvb, offset); /*index = dissect_zcl_array_type();*/ j++; *offset += 2; } } }/*dissect_zcl_read_attr_struct*/ static void dissect_zcl_write_attr_struct(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tree, guint* offset, guint16 cluster_id, guint16 mfr_code, gboolean direction) { proto_tree *sub_tree = NULL; proto_tree *sub_tree_1 = NULL; guint tvb_len, indicator; guint i = 0, j=0; guint16 attr_id; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_CLIENT; tvb_len = tvb_captured_length(tvb); while(*offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT){ /* Create subtree for aelector field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_attr[i], NULL, "Attribute Record"); sub_tree_1 = proto_tree_add_subtree(sub_tree, tvb, *offset, 0, ett_zbee_zcl_attr[i], NULL, "Selector"); i++; /* Dissect the attribute identifier */ attr_id = tvb_get_letohs(tvb, *offset); dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, client_attr); if(sub_tree_1){ proto_tree_add_item(sub_tree, hf_zbee_zcl_indicator, tvb, 0, 1, ENC_LITTLE_ENDIAN); indicator = tvb_get_guint8(tvb, *offset); (* offset) += 1; j=0; while (j < indicator) { proto_tree_add_item(sub_tree, hf_zbee_zcl_index, tvb, 0, 2, ENC_LITTLE_ENDIAN); j++; (* offset) += 2; } } /* Dissect the attribute data type and data */ dissect_zcl_attr_data_type_val(tvb, sub_tree, offset, attr_id, cluster_id, mfr_code, client_attr); } /* Set end for subtree */ proto_item_set_end(proto_tree_get_parent(sub_tree_1), tvb, *offset); } static void dissect_zcl_write_attr_struct_resp(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tree, guint* offset, guint16 cluster_id, guint16 mfr_code, gboolean direction){ proto_tree *sub_tree; proto_tree *sub_tree_1; guint tvb_len, indicator; guint i = 0,j = 0; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_SERVER; tvb_len = tvb_captured_length(tvb); while (*offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT) { /* Create subtree for attribute status field */ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_attr[i], NULL, "Write Attribute Record"); sub_tree_1 = proto_tree_add_subtree(sub_tree, tvb, *offset, 0, ett_zbee_zcl_attr[i], NULL, "Selector"); i++; /* Dissect the status */ if (dissect_zcl_attr_uint8(tvb, sub_tree, offset, &hf_zbee_zcl_attr_status) != ZBEE_ZCL_STAT_SUCCESS) { /* Dissect the failed attribute identifier */ dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, client_attr); if (sub_tree_1) { proto_tree_add_item(sub_tree, hf_zbee_zcl_indicator, tvb, 0, 1, ENC_LITTLE_ENDIAN); indicator = tvb_get_guint8(tvb, *offset); *offset += 1; j = 0; while (j < indicator) { proto_tree_add_item(sub_tree, hf_zbee_zcl_index, tvb, 0, 2, ENC_LITTLE_ENDIAN); //index = tvb_get_letohs(tvb, offset); /*index = dissect_zcl_array_type();*/ j++; *offset += 2; } } } } /* Set end for subtree */ // proto_item_set_end(proto_tree_get_parent(sub_tree_1), tvb, *offset); } static void dissect_zcl_discover_cmd_rec(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset) { dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_cmd_start); /* Dissect the number of maximum attribute identifiers */ dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_cmd_maxnum); return; } static void dissect_zcl_discover_cmd_rec_resp(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset) { guint tvb_len; guint i = 0; gint discovery_complete = -1; discovery_complete = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_dis); if(discovery_complete == 0){ tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < (tvb_len-1) ) { /* Dissect the command identifiers */ dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_cs_cmd_id); i++; } } } static void dissect_zcl_discover_cmd_attr_extended_resp(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction){ proto_tree* sub_tree = NULL; guint tvb_len; guint i = 0; gint discovery_complete = -1; guint16 attr_id = 0; gboolean client_attr = direction == ZBEE_ZCL_FCF_TO_SERVER; discovery_complete = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_dis); if(discovery_complete == 0){ tvb_len = tvb_captured_length(tvb); while ( *offset < tvb_len && i < ZBEE_ZCL_NUM_ATTR_ETT ){ sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 4, ett_zbee_zcl_attr[i], NULL, "Extended Attribute Information"); i++; attr_id = tvb_get_letohs(tvb, *offset); dissect_zcl_attr_id(tvb, sub_tree, offset, cluster_id, mfr_code, client_attr); dissect_zcl_attr_data_type_val(tvb, sub_tree, offset, attr_id, cluster_id, mfr_code, client_attr); proto_tree_add_item(sub_tree, hf_zbee_zcl_attr_access_ctrl, tvb, 0, 1, ENC_LITTLE_ENDIAN); *offset += 1; } } } /** *Dissects Attribute ID field. This could be done with the * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param client_attr ZCL client */ void dissect_zcl_attr_id(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean client_attr) { zbee_zcl_cluster_desc *desc; int hf_attr_id = hf_zbee_zcl_attr_id; /* Check if a cluster-specific attribute ID definition exists. */ desc = zbee_zcl_get_cluster_desc(cluster_id, mfr_code); if (desc) { if (client_attr) { if (desc->hf_attr_client_id >= 0) { hf_attr_id = desc->hf_attr_client_id; } } else { if (desc->hf_attr_server_id >= 0) { hf_attr_id = desc->hf_attr_server_id; } } } /* Add the identifier. */ proto_tree_add_item(tree, hf_attr_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } /* dissect_zcl_attr_id */ /** *Helper dissector for ZCL Attribute commands. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param attr_id attribute id *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param client_attr ZCL client */ void dissect_zcl_attr_data_type_val(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 attr_id, guint16 cluster_id, guint16 mfr_code, gboolean client_attr) { zbee_zcl_cluster_desc *desc; desc = zbee_zcl_get_cluster_desc(cluster_id, mfr_code); if ((desc != NULL) && (desc->fn_attr_data != NULL)) { desc->fn_attr_data(tree, tvb, offset, attr_id, dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_data_type), client_attr); } else { dissect_zcl_attr_data(tvb, tree, offset, dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_data_type), client_attr); } } /* dissect_zcl_attr_data_type_val */ /** *Helper dissector for ZCL Attribute commands. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param attr_id attribute identification *@param data_type type of data *@param cluster_id cluster id *@param mfr_code manufacturer code. *@param client_attr ZCL client */ static void dissect_zcl_attr_data_general(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 attr_id, guint data_type, guint16 cluster_id, guint16 mfr_code, gboolean client_attr) { zbee_zcl_cluster_desc *desc; desc = zbee_zcl_get_cluster_desc(cluster_id, mfr_code); if ((desc != NULL) && (desc->fn_attr_data != NULL)) { desc->fn_attr_data(tree, tvb, offset, attr_id, data_type, client_attr); } else { dissect_zcl_attr_data(tvb, tree, offset, data_type, client_attr); } } /*dissect_zcl_attr_data_general*/ /** *Dissects the various types of ZCL attribute data. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param client_attr ZCL client */ void dissect_zcl_attr_data(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint data_type, gboolean client_attr) { guint attr_uint; gint attr_int; const guint8 *attr_string; guint8 attr_uint8[4]; guint8 elements_type; guint16 elements_num; gfloat attr_float; gdouble attr_double; nstime_t attr_time; /* Dissect attribute data type and data */ switch ( data_type ) { case ZBEE_ZCL_NO_DATA: break; case ZBEE_ZCL_8_BIT_DATA: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 1, ENC_NA); (*offset) += 1; break; case ZBEE_ZCL_8_BIT_BITMAP: proto_tree_add_item(tree, hf_zbee_zcl_attr_bitmap8, tvb, *offset, 1, ENC_NA); proto_item_append_text(tree, ", Bitmap: %02x", tvb_get_guint8(tvb, *offset)); (*offset) += 1; break; case ZBEE_ZCL_8_BIT_UINT: case ZBEE_ZCL_8_BIT_ENUM: /* Display 8 bit unsigned integer */ attr_uint = tvb_get_guint8(tvb, *offset); proto_item_append_text(tree, ", %s: %u", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_uint); proto_tree_add_item(tree, hf_zbee_zcl_attr_uint8, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_8_BIT_INT: /* Display 8 bit integer */ attr_int = tvb_get_gint8(tvb, *offset); proto_item_append_text(tree, ", %s: %-d", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_int); proto_tree_add_item(tree, hf_zbee_zcl_attr_int8, tvb, *offset, 1, ENC_NA); *offset += 1; break; case ZBEE_ZCL_BOOLEAN: attr_uint = tvb_get_guint8(tvb, *offset); proto_item_append_text(tree, ", %s: 0x%02x", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_uint); proto_tree_add_item(tree, hf_zbee_zcl_attr_boolean, tvb, *offset, 1, ENC_BIG_ENDIAN); *offset += 1; break; case ZBEE_ZCL_16_BIT_DATA: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 2, ENC_NA); (*offset) += 2; break; case ZBEE_ZCL_16_BIT_BITMAP: proto_tree_add_item(tree, hf_zbee_zcl_attr_bitmap16, tvb, *offset, 2, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Bitmap: %04" PRIx16, tvb_get_letohs(tvb, *offset)); (*offset) += 2; break; case ZBEE_ZCL_16_BIT_UINT: case ZBEE_ZCL_16_BIT_ENUM: /* Display 16 bit unsigned integer */ attr_uint = tvb_get_letohs(tvb, *offset); proto_item_append_text(tree, ", %s: %u", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_uint); proto_tree_add_item(tree, hf_zbee_zcl_attr_uint16, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_16_BIT_INT: /* Display 16 bit integer */ attr_int = tvb_get_letohis(tvb, *offset); proto_item_append_text(tree, ", %s: %-d", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_int); proto_tree_add_item(tree, hf_zbee_zcl_attr_int16, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; break; case ZBEE_ZCL_24_BIT_DATA: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 3, ENC_NA); (*offset) += 3; break; case ZBEE_ZCL_24_BIT_BITMAP: proto_tree_add_item(tree, hf_zbee_zcl_attr_bitmap24, tvb, *offset, 3, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Bitmap: %06" PRIx32, tvb_get_letoh24(tvb, *offset)); (*offset) += 3; break; case ZBEE_ZCL_24_BIT_UINT: /* Display 24 bit unsigned integer */ attr_uint = tvb_get_letoh24(tvb, *offset); proto_item_append_text(tree, ", %s: %u", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_uint); proto_tree_add_item(tree, hf_zbee_zcl_attr_uint24, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; break; case ZBEE_ZCL_24_BIT_INT: /* Display 24 bit signed integer */ attr_int = tvb_get_letohi24(tvb, *offset); /* sign extend into int32 */ if (attr_int & INT24_SIGN_BITS) attr_int |= INT24_SIGN_BITS; proto_item_append_text(tree, ", %s: %-d", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_int); proto_tree_add_item(tree, hf_zbee_zcl_attr_int24, tvb, *offset, 3, ENC_LITTLE_ENDIAN); *offset += 3; break; case ZBEE_ZCL_32_BIT_DATA: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 4, ENC_NA); (*offset) += 4; break; case ZBEE_ZCL_32_BIT_BITMAP: proto_tree_add_item(tree, hf_zbee_zcl_attr_bitmap32, tvb, *offset, 4, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Bitmap: %08" PRIx32, tvb_get_letohl(tvb, *offset)); (*offset) += 4; break; case ZBEE_ZCL_32_BIT_UINT: /* Display 32 bit unsigned integer */ attr_uint = tvb_get_letohl(tvb, *offset); proto_item_append_text(tree, ", %s: %u", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_uint); proto_tree_add_item(tree, hf_zbee_zcl_attr_uint32, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_32_BIT_INT: /* Display 32 bit signed integer */ attr_int = tvb_get_letohil(tvb, *offset); proto_item_append_text(tree, ", %s: %-d", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_int); proto_tree_add_item(tree, hf_zbee_zcl_attr_int32, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_40_BIT_DATA: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 5, ENC_NA); (*offset) += 5; break; case ZBEE_ZCL_40_BIT_BITMAP: proto_tree_add_item(tree, hf_zbee_zcl_attr_bitmap40, tvb, *offset, 5, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Bitmap: %010" PRIx64, tvb_get_letoh40(tvb, *offset)); (*offset) += 5; break; case ZBEE_ZCL_40_BIT_UINT: proto_tree_add_item(tree, hf_zbee_zcl_attr_uint40, tvb, *offset, 5, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Uint: %" PRIu64, tvb_get_letoh40(tvb, *offset)); (*offset) += 5; break; case ZBEE_ZCL_40_BIT_INT: proto_tree_add_item(tree, hf_zbee_zcl_attr_int64, tvb, *offset, 5, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Int: %" PRId64, tvb_get_letohi40(tvb, *offset)); (*offset) += 5; break; case ZBEE_ZCL_48_BIT_DATA: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 6, ENC_NA); (*offset) += 6; break; case ZBEE_ZCL_48_BIT_BITMAP: proto_tree_add_item(tree, hf_zbee_zcl_attr_bitmap48, tvb, *offset, 6, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Bitmap: %012" PRIx64, tvb_get_letoh48(tvb, *offset)); (*offset) += 6; break; case ZBEE_ZCL_48_BIT_UINT: proto_tree_add_item(tree, hf_zbee_zcl_attr_uint48, tvb, *offset, 6, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Uint: %" PRIu64, tvb_get_letoh48(tvb, *offset)); (*offset) += 6; break; case ZBEE_ZCL_48_BIT_INT: proto_tree_add_item(tree, hf_zbee_zcl_attr_int64, tvb, *offset, 6, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Int: %" PRId64, tvb_get_letohi48(tvb, *offset)); (*offset) += 6; break; case ZBEE_ZCL_56_BIT_DATA: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 7, ENC_NA); (*offset) += 7; break; case ZBEE_ZCL_56_BIT_BITMAP: proto_tree_add_item(tree, hf_zbee_zcl_attr_bitmap56, tvb, *offset, 7, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Bitmap: %014" PRIx64, tvb_get_letoh56(tvb, *offset)); (*offset) += 7; break; case ZBEE_ZCL_56_BIT_UINT: proto_tree_add_item(tree, hf_zbee_zcl_attr_uint56, tvb, *offset, 7, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Uint: %" PRIu64, tvb_get_letoh56(tvb, *offset)); (*offset) += 7; break; case ZBEE_ZCL_56_BIT_INT: proto_tree_add_item(tree, hf_zbee_zcl_attr_int64, tvb, *offset, 7, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Int: %" PRId64, tvb_get_letohi56(tvb, *offset)); (*offset) += 7; break; case ZBEE_ZCL_64_BIT_DATA: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 8, ENC_NA); (*offset) += 8; break; case ZBEE_ZCL_64_BIT_BITMAP: proto_tree_add_item(tree, hf_zbee_zcl_attr_bitmap64, tvb, *offset, 8, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Bitmap: %016" PRIx64, tvb_get_letoh64(tvb, *offset)); (*offset) += 8; break; case ZBEE_ZCL_64_BIT_UINT: proto_tree_add_item(tree, hf_zbee_zcl_attr_uint64, tvb, *offset, 8, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Uint: %" PRIu64, tvb_get_letoh64(tvb, *offset)); (*offset) += 8; break; case ZBEE_ZCL_64_BIT_INT: proto_tree_add_item(tree, hf_zbee_zcl_attr_int64, tvb, *offset, 8, ENC_LITTLE_ENDIAN); proto_item_append_text(tree, ", Int: %" PRIu64, tvb_get_letoh64(tvb, *offset)); (*offset) += 8; break; case ZBEE_ZCL_SEMI_FLOAT: /* BUGBUG */ proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 2, ENC_NA); (*offset) += 2; break; case ZBEE_ZCL_SINGLE_FLOAT: attr_float = tvb_get_letohieee_float(tvb, *offset); proto_item_append_text(tree, ", %s: %g", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved"), attr_float); proto_tree_add_item(tree, hf_zbee_zcl_attr_float, tvb, *offset, 4, ENC_LITTLE_ENDIAN); *offset += 4; break; case ZBEE_ZCL_DOUBLE_FLOAT: attr_double = tvb_get_letohieee_double(tvb, *offset); proto_item_append_text(tree, ", Double: %g", attr_double); proto_tree_add_item(tree, hf_zbee_zcl_attr_double, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; break; case ZBEE_ZCL_OCTET_STRING: /* Display octet string */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_attr_ostr, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, &attr_int); if (attr_int > 1) proto_item_append_text(tree, ", Octets: %s", tvb_bytes_to_str_punct(wmem_packet_scope(), tvb, (*offset)+1, attr_int-1, ':')); *offset += attr_int; break; case ZBEE_ZCL_CHAR_STRING: /* Display string */ proto_tree_add_item_ret_string_and_length(tree, hf_zbee_zcl_attr_str, tvb, *offset, 1, ENC_NA|ENC_ZIGBEE, wmem_packet_scope(), &attr_string, &attr_int); proto_item_append_text(tree, ", String: %s", attr_string); *offset += attr_int; break; case ZBEE_ZCL_LONG_OCTET_STRING: /* Display long octet string */ proto_tree_add_item_ret_length(tree, hf_zbee_zcl_attr_ostr, tvb, *offset, 2, ENC_LITTLE_ENDIAN|ENC_ZIGBEE, &attr_int); if (attr_int > 2) proto_item_append_text(tree, ", Octets: %s", tvb_bytes_to_str_punct(wmem_packet_scope(), tvb, (*offset)+2, attr_int-2, ':')); *offset += attr_int; break; case ZBEE_ZCL_LONG_CHAR_STRING: /* Display long string */ proto_tree_add_item_ret_string_and_length(tree, hf_zbee_zcl_attr_str, tvb, *offset, 2, ENC_LITTLE_ENDIAN|ENC_ZIGBEE, wmem_packet_scope(), &attr_string, &attr_int); proto_item_append_text(tree, ", String: %s", attr_string); *offset += attr_int; break; case ZBEE_ZCL_ARRAY: /* BYTE 0 - Elements type */ elements_type = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_attr_array_elements_type, tvb, *offset, 1, elements_type); *offset += 1; /* BYTE 1-2 - Element number */ elements_num = tvb_get_letohs(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_attr_array_elements_num, tvb, *offset, 2, elements_num); *offset += 2; /* BYTE ... - Elements */ dissect_zcl_array_type(tvb, tree, offset, elements_type, elements_num, client_attr); break; case ZBEE_ZCL_SET: /* BYTE 0 - Elements type */ elements_type = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_attr_set_elements_type, tvb, *offset, 1, elements_type); *offset += 1; /* BYTE 1-2 - Element number */ elements_num = tvb_get_letohs(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_attr_set_elements_num, tvb, *offset, 2, elements_num); *offset += 2; /* BYTE ... - Elements */ dissect_zcl_set_type(tvb, tree, offset, elements_type, elements_num, client_attr); break; case ZBEE_ZCL_BAG: /* Same as ZBEE_ZCL_SET, but using different filter fields */ /* BYTE 0 - Elements type */ elements_type = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_attr_bag_elements_type, tvb, *offset, 1, elements_type); *offset += 1; /* BYTE 1-2 - Element number */ elements_num = tvb_get_letohs(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zcl_attr_bag_elements_num, tvb, *offset, 2, elements_num); *offset += 2; /* BYTE ... - Elements */ dissect_zcl_set_type(tvb, tree, offset, elements_type, elements_num, client_attr); break; case ZBEE_ZCL_STRUCT: /* ToDo */ break; case ZBEE_ZCL_TIME: /* Dissect Time of Day */ attr_uint8[0] = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_hours); attr_uint8[1] = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_mins); attr_uint8[2] = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_secs); attr_uint8[3] = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_csecs); proto_item_append_text(tree, ", Time: %u:%u:%u.%u", attr_uint8[0], attr_uint8[1], attr_uint8[2], attr_uint8[3]); break; case ZBEE_ZCL_DATE: /* Dissect Date */ attr_uint8[0] = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_yy); attr_uint8[1] = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_mm); attr_uint8[2] = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_md); attr_uint8[3] = dissect_zcl_attr_uint8(tvb, tree, offset, &hf_zbee_zcl_attr_wd); proto_item_append_text(tree, ", Date: %u/%u/%u %s", attr_uint8[0]+1900, attr_uint8[1], attr_uint8[2], val_to_str_ext_const(attr_uint8[3], &zbee_zcl_wd_names_ext, "Invalid Weekday") ); break; case ZBEE_ZCL_UTC: /* Display UTC */ attr_time.secs = tvb_get_letohl(tvb, *offset); attr_time.secs += ZBEE_ZCL_NSTIME_UTC_OFFSET; attr_time.nsecs = 0; proto_item_append_text(tree, ", %s", val_to_str_ext_const(data_type, &zbee_zcl_short_data_type_names_ext, "Reserved") ); proto_tree_add_time(tree, hf_zbee_zcl_attr_utc, tvb, *offset, 4, &attr_time); *offset += 4; break; case ZBEE_ZCL_CLUSTER_ID: proto_tree_add_item(tree, hf_zbee_zcl_attr_cid, tvb, *offset, 2, ENC_LITTLE_ENDIAN); (*offset) += 2; break; case ZBEE_ZCL_ATTR_ID: dissect_zcl_attr_id(tvb, tree, offset, zcl_cluster_id, zcl_mfr_code, client_attr); break; case ZBEE_ZCL_BACNET_OID: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 4, ENC_NA); (*offset) += 4; break; case ZBEE_ZCL_IEEE_ADDR: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 8, ENC_NA); (*offset) += 8; break; case ZBEE_ZCL_SECURITY_KEY: proto_tree_add_item(tree, hf_zbee_zcl_attr_bytes, tvb, *offset, 16, ENC_NA); (*offset) += 16; break; default: break; } } /* dissect_zcl_attr_data */ /** *Helper dissector for ZCL Attribute commands. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param hf_zbee_zcl pointer to header field index *@return dissected data */ guint dissect_zcl_attr_uint8(tvbuff_t *tvb, proto_tree *tree, guint *offset, int *hf_zbee_zcl) { guint attr_uint; attr_uint = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(tree, *hf_zbee_zcl, tvb, *offset, 1, attr_uint); (*offset)++; return attr_uint; } /* dissect_zcl_attr_uint8 */ /** *Helper dissector for ZCL attribute array type. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param elements_type element type *@param elements_num elements number *@param client_attr ZCL client */ static void dissect_zcl_array_type(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint8 elements_type, guint16 elements_num, gboolean client_attr) { proto_tree *sub_tree; guint tvb_len; guint i = 1; /* First element has a 1-index value */ tvb_len = tvb_captured_length(tvb); while ( (*offset < tvb_len) && (elements_num != 0) ) { /* Have "common" use case give individual tree control to all elements, but don't prevent dissection if list is large */ if (i < ZBEE_ZCL_NUM_ARRAY_ELEM_ETT-1) sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 0, ett_zbee_zcl_array_elements[i], NULL, "Element #%d", i); else sub_tree = proto_tree_add_subtree_format(tree, tvb, *offset, 0, ett_zbee_zcl_array_elements[ZBEE_ZCL_NUM_ARRAY_ELEM_ETT-1], NULL, "Element #%d", i); guint old_offset = *offset; dissect_zcl_attr_data(tvb, sub_tree, offset, elements_type, client_attr); if (old_offset >= *offset) { proto_tree_add_expert(sub_tree, NULL, &ei_zbee_zero_length_element, tvb, old_offset, -1); break; } elements_num--; i++; } } /* dissect_zcl_array_type */ /** *Helper dissector for ZCL attribute set and bag types. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree wireshark uses to display packet. *@param offset into the tvb to begin dissection. *@param elements_type element type *@param elements_num elements number *@param client_attr ZCL client */ static void dissect_zcl_set_type(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint8 elements_type, guint16 elements_num, gboolean client_attr) { proto_tree *sub_tree; guint tvb_len; guint i = 1; /* First element has a 1-index value */ tvb_len = tvb_captured_length(tvb); while ( (*offset < tvb_len) && (elements_num != 0) ) { /* Piggyback on array ett_ variables */ /* Have "common" use case give individual tree control to all elements, but don't prevent dissection if list is large */ if (i < ZBEE_ZCL_NUM_ARRAY_ELEM_ETT-1) sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_array_elements[i], NULL, "Element"); else sub_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zcl_array_elements[ZBEE_ZCL_NUM_ARRAY_ELEM_ETT-1], NULL, "Element"); guint old_offset = *offset; dissect_zcl_attr_data(tvb, sub_tree, offset, elements_type, client_attr); if (old_offset >= *offset) { proto_tree_add_expert(sub_tree, NULL, &ei_zbee_zero_length_element, tvb, old_offset, -1); break; } elements_num--; i++; } } /* dissect_zcl_set_type */ /** *Helper functions dumps any remaining data into the data dissector. * *@param tvb pointer to buffer containing raw packet. *@param offset offset after parsing last item. *@param pinfo packet information structure. *@param tree pointer to data tree Wireshark uses to display packet. */ static void zcl_dump_data(tvbuff_t *tvb, guint offset, packet_info *pinfo, proto_tree *tree) { proto_tree *root = proto_tree_get_root(tree); guint length = tvb_captured_length_remaining(tvb, offset); tvbuff_t *remainder; if (length > 0) { remainder = tvb_new_subset_remaining(tvb, offset); call_data_dissector(remainder, pinfo, root); } return; } /* zcl_dump_data */ /** *This function decodes tenth of second time type variable * */ void decode_zcl_time_in_100ms(gchar *s, guint16 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d.%d seconds", value/10, value%10); return; } /* decode_zcl_time_in_100ms*/ /** *This function decodes second time type variable * */ void decode_zcl_time_in_seconds(gchar *s, guint16 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d seconds", value); return; } /* decode_zcl_time_in_seconds*/ /** *This function decodes minute time type variable * */ void decode_zcl_time_in_minutes(gchar *s, guint16 value) { snprintf(s, ITEM_LABEL_LENGTH, "%d minutes", value); return; } /*decode_zcl_time_in_minutes*/ static void cluster_desc_free(gpointer p, gpointer user_data _U_) { g_free(p); } static void zbee_shutdown(void) { g_list_foreach(acluster_desc, cluster_desc_free, NULL); g_list_free(acluster_desc); } /** *ZigBee ZCL protocol registration routine. * */ void proto_register_zbee_zcl(void) { guint i, j; static hf_register_info hf[] = { { &hf_zbee_zcl_fcf_frame_type, { "Frame Type", "zbee_zcl.type", FT_UINT8, BASE_HEX, VALS(zbee_zcl_frame_types), ZBEE_ZCL_FCF_FRAME_TYPE, NULL, HFILL }}, { &hf_zbee_zcl_fcf_mfr_spec, { "Manufacturer Specific", "zbee_zcl.ms", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_FCF_MFR_SPEC, NULL, HFILL }}, { &hf_zbee_zcl_fcf_dir, { "Direction", "zbee_zcl.dir", FT_BOOLEAN, 8, TFS(&tfs_s2c_c2s), ZBEE_ZCL_FCF_DIRECTION, NULL, HFILL }}, { &hf_zbee_zcl_fcf_disable_default_resp, { "Disable Default Response", "zbee_zcl.ddr", FT_BOOLEAN, 8, NULL, ZBEE_ZCL_FCF_DISABLE_DEFAULT_RESP, NULL, HFILL }}, { &hf_zbee_zcl_mfr_code, { "Manufacturer Code", "zbee_zcl.cmd.mc", FT_UINT16, BASE_HEX|BASE_EXT_STRING, &zbee_mfr_code_names_ext, 0x0, "Assigned manufacturer code.", HFILL }}, { &hf_zbee_zcl_tran_seqno, { "Sequence Number", "zbee_zcl.cmd.tsn", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_cmd_id, { "Command", "zbee_zcl.cmd.id", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &zbee_zcl_cmd_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_cs_cmd_id, { "Command", "zbee_zcl.cs.cmd.id", FT_UINT8, BASE_HEX, VALS(zbee_zcl_cs_cmd_names) /*"Unknown"*/, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_cmd_id_rsp, { "Response to Command", "zbee_zcl.cmd.id.rsp", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_id, { "Attribute", "zbee_zcl.attr.id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_data_type, { "Data Type", "zbee_zcl.attr.data.type", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &zbee_zcl_data_type_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_boolean, { "Boolean", "zbee_zcl.attr.boolean", FT_BOOLEAN, 8, TFS(&tfs_true_false), 0xff, NULL, HFILL }}, { &hf_zbee_zcl_attr_bitmap8, { "Bitmap8", "zbee_zcl.attr.bitmap8", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bitmap16, { "Bitmap16", "zbee_zcl.attr.bitmap16", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bitmap24, { "Bitmap24", "zbee_zcl.attr.bitmap24", FT_UINT24, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bitmap32, { "Bitmap32", "zbee_zcl.attr.bitmap32", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bitmap40, { "Bitmap40", "zbee_zcl.attr.bitmap40", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bitmap48, { "Bitmap48", "zbee_zcl.attr.bitmap48", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bitmap56, { "Bitmap56", "zbee_zcl.attr.bitmap56", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bitmap64, { "Bitmap64", "zbee_zcl.attr.bitmap64", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_uint8, { "Uint8", "zbee_zcl.attr.uint8", FT_UINT8, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_uint16, { "Uint16", "zbee_zcl.attr.uint16", FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_uint24, { "Uint24", "zbee_zcl.attr.uint24", FT_UINT24, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_uint32, { "Uint32", "zbee_zcl.attr.uint32", FT_UINT32, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_uint40, { "Uint40", "zbee_zcl.attr.uint40", FT_UINT64, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_uint48, { "Uint48", "zbee_zcl.attr.uint48", FT_UINT64, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_uint56, { "Uint56", "zbee_zcl.attr.uint56", FT_UINT64, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_uint64, { "Uint64", "zbee_zcl.attr.uint64", FT_UINT64, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_int8, { "Int8", "zbee_zcl.attr.int8", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_int16, { "Int16", "zbee_zcl.attr.int16", FT_INT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_int24, { "Int24", "zbee_zcl.attr.int24", FT_INT24, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_int32, { "Int32", "zbee_zcl.attr.int32", FT_INT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_int64, { "Int64", "zbee_zcl.attr.int64", FT_INT64, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_float, { "Float", "zbee_zcl.attr.float", FT_FLOAT, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_double, { "Double Float", "zbee_zcl.attr.float", FT_DOUBLE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bytes, { "Bytes", "zbee_zcl.attr.bytes", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_minint, { "Minimum Interval", "zbee_zcl.attr.minint", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_maxint, { "Maximum Interval", "zbee_zcl.attr.maxint", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_timeout, { "Timeout", "zbee_zcl.attr.timeout", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_hours, { "Hours", "zbee_zcl.attr.hours", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_mins, { "Minutes", "zbee_zcl.attr.mins", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_secs, { "Seconds", "zbee_zcl.attr.secs", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_csecs, { "Centiseconds", "zbee_zcl.attr.csecs", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_yy, { "Year", "zbee_zcl.attr.yy", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_mm, { "Month", "zbee_zcl.attr.mm", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_md, { "Day of Month", "zbee_zcl.attr.md", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_wd, { "Day of Week", "zbee_zcl.attr.wd", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_utc, { "UTC", "zbee_zcl.attr.utc", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_status, { "Status", "zbee_zcl.attr.status", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &zbee_zcl_status_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_dir, { "Direction", "zbee_zcl.attr.dir", FT_UINT8, BASE_HEX, VALS(zbee_zcl_dir_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_indicator, { "Indicator", "zbee_zcl.attr.ind", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_zbee_zcl_index, { "Indicator", "zbee_zcl.attr.index", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, { &hf_zbee_zcl_attr_access_ctrl, { "Attribute Access Control", "zbee_zcl.attr.access.ctrl", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, { &hf_zbee_zcl_attr_dis, { "Discovery", "zbee_zcl.attr.dis", FT_UINT8, BASE_HEX, VALS(zbee_zcl_dis_names), 0x0, NULL, HFILL }}, { &hf_zbee_zcl_cmd_start, {"Start Command", "zbee_zcl.cmd.start", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, { &hf_zbee_zcl_cmd_maxnum, {"Maximum Number", "zbee_zcl.cmd.maxnum", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, { &hf_zbee_zcl_attr_cid, { "Cluster", "zbee_zcl.attr.cid", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_start, { "Start Attribute", "zbee_zcl.attr.start", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_maxnum, { "Maximum Number", "zbee_zcl.attr.maxnum", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_str, { "String", "zbee_zcl.attr.str", FT_UINT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_ostr, { "Octet String", "zbee_zcl.attr.ostr", FT_UINT_BYTES, SEP_COLON, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_array_elements_type, { "Elements Type", "zbee_zcl.attr.array.elements_type", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &zbee_zcl_data_type_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_array_elements_num, { "Elements Number", "zbee_zcl.attr.array.elements_num", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_set_elements_type, { "Elements Type", "zbee_zcl.attr.set.elements_type", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &zbee_zcl_data_type_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_set_elements_num, { "Elements Number", "zbee_zcl.attr.set.elements_num", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bag_elements_type, { "Elements Type", "zbee_zcl.attr.bag.elements_type", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &zbee_zcl_data_type_names_ext, 0x0, NULL, HFILL }}, { &hf_zbee_zcl_attr_bag_elements_num, { "Elements Number", "zbee_zcl.attr.bag.elements_num", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }} }; /* ZCL subtrees */ gint *ett[ZBEE_ZCL_NUM_TOTAL_ETT]; ett[0] = &ett_zbee_zcl; ett[1] = &ett_zbee_zcl_fcf; j = ZBEE_ZCL_NUM_INDIVIDUAL_ETT; /* initialize attribute subtree types */ for ( i = 0; i < ZBEE_ZCL_NUM_ATTR_ETT; i++, j++) { ett_zbee_zcl_attr[i] = -1; ett[j] = &ett_zbee_zcl_attr[i]; } for(i=0; i<ZBEE_ZCL_NUM_IND_FIELD; i++){ ett_zbee_zcl_sel[i] = -1; } for ( i = 0; i < ZBEE_ZCL_NUM_ARRAY_ELEM_ETT; i++, j++ ) { ett_zbee_zcl_array_elements[i] = -1; ett[j] = &ett_zbee_zcl_array_elements[i]; } static ei_register_info ei[] = { { &ei_cfg_rpt_rsp_short_non_success, { "zbee_zcl.cfg_rpt_rsp_short_non_success", PI_PROTOCOL, PI_WARN, "Non-success response without full status records", EXPFILL }}, { &ei_zbee_zero_length_element, { "zbee_zcl.zero_length_element", PI_PROTOCOL, PI_ERROR, "Element has zero length", EXPFILL }}, }; expert_module_t *expert_zbee_zcl; /* Register ZigBee ZCL protocol with Wireshark. */ proto_zbee_zcl = proto_register_protocol("ZigBee Cluster Library", "ZigBee ZCL", "zbee_zcl"); proto_register_field_array(proto_zbee_zcl, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_zbee_zcl = expert_register_protocol(proto_zbee_zcl); expert_register_field_array(expert_zbee_zcl, ei, array_length(ei)); /* Register the ZCL dissector and subdissector list. */ zbee_zcl_dissector_table = register_dissector_table("zbee.zcl.cluster", "ZigBee ZCL Cluster ID", proto_zbee_zcl, FT_UINT16, BASE_HEX); register_dissector(ZBEE_PROTOABBREV_ZCL, dissect_zbee_zcl, proto_zbee_zcl); register_shutdown_routine(zbee_shutdown); } /* proto_register_zbee_zcl */ /** *Finds the dissectors used in this module. * */ void proto_reg_handoff_zbee_zcl(void) { dissector_handle_t zbee_zcl_handle; /* Register our dissector for the appropriate profiles. */ zbee_zcl_handle = find_dissector(ZBEE_PROTOABBREV_ZCL); dissector_add_uint("zbee.profile", ZBEE_PROFILE_IPM, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_T1, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_HA, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_CBA, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_WSN, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_TA, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_HC, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_SE, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_RS, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_GP, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_ZLL, zbee_zcl_handle); dissector_add_uint("zbee.profile", ZBEE_PROFILE_C4_CL, zbee_zcl_handle); } /* proto_reg_handoff_zbee_zcl */ /** *Register the specific cluster. * *@param proto_abbrev Protocol abbreviation *@param proto dissector *@param ett proto (not used at the moment) *@param cluster_id cluster identification *@param mfr_code manufacturer code. *@param hf_attr_server_id cluster-specific server attribute ID field. *@param hf_attr_client_id cluster-specific client attribute ID field. *@param hf_cmd_rx_id cluster-specific client-to-server command ID field, or -1. *@param hf_cmd_tx_id cluster-specific server-to-client command ID field, or -1. *@param fn_attr_data specific cluster attribute data decode function */ void zbee_zcl_init_cluster(const char *proto_abbrev, int proto, gint ett, guint16 cluster_id, guint16 mfr_code, int hf_attr_server_id, int hf_attr_client_id, int hf_cmd_rx_id, int hf_cmd_tx_id, zbee_zcl_fn_attr_data fn_attr_data) { zbee_zcl_cluster_desc *cluster_desc; dissector_handle_t dissector_handle; /* Register the dissector with the ZigBee application dissectors. */ dissector_handle = find_dissector(proto_abbrev); dissector_add_uint("zbee.zcl.cluster", ZCL_CLUSTER_MFR_KEY(cluster_id, mfr_code), dissector_handle); /* Allocate a cluster descriptor */ cluster_desc = g_new(zbee_zcl_cluster_desc, 1); /* Initialize the cluster descriptor */ cluster_desc->proto_id = proto; cluster_desc->proto = find_protocol_by_id(proto); cluster_desc->name = proto_get_protocol_short_name(cluster_desc->proto); cluster_desc->ett = ett; cluster_desc->cluster_id = cluster_id; cluster_desc->mfr_code = mfr_code; cluster_desc->hf_attr_server_id = hf_attr_server_id; cluster_desc->hf_attr_client_id = hf_attr_client_id; cluster_desc->hf_cmd_rx_id = hf_cmd_rx_id; cluster_desc->hf_cmd_tx_id = hf_cmd_tx_id; cluster_desc->fn_attr_data = fn_attr_data; /* Add the cluster descriptor to the list */ acluster_desc = g_list_append(acluster_desc, cluster_desc); } /** *Retrieves the registered specific cluster manufacturer descriptor. * *@param cluster_id cluster identification *@param mfr_code manufacturer code *@return cluster descriptor pointer */ static zbee_zcl_cluster_desc *zbee_zcl_get_cluster_desc(guint16 cluster_id, guint16 mfr_code) { GList *gl; gl = acluster_desc; while (gl) { zbee_zcl_cluster_desc *cluster_desc = (zbee_zcl_cluster_desc *)gl->data; if((cluster_desc->cluster_id == cluster_id) && (cluster_desc->mfr_code == mfr_code)) { return cluster_desc; } gl = gl->next; } return NULL; } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-zbee-zcl.h
/* packet-zbee-zcl.h * Dissector routines for the ZigBee Cluster Library (ZCL) * By Fred Fierling <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_ZBEE_ZCL_H #define PACKET_ZBEE_ZCL_H /* Structure to contain the ZCL frame information */ typedef struct{ gboolean mfr_spec; gboolean direction; gboolean disable_default_resp; guint8 frame_type; guint16 mfr_code; guint8 tran_seqno; guint8 cmd_id; } zbee_zcl_packet; /* ZCL Commands */ #define ZBEE_ZCL_CMD_READ_ATTR 0x00 #define ZBEE_ZCL_CMD_READ_ATTR_RESP 0x01 #define ZBEE_ZCL_CMD_WRITE_ATTR 0x02 #define ZBEE_ZCL_CMD_WRITE_ATTR_UNDIVIDED 0x03 #define ZBEE_ZCL_CMD_WRITE_ATTR_RESP 0x04 #define ZBEE_ZCL_CMD_WRITE_ATTR_NO_RESP 0x05 #define ZBEE_ZCL_CMD_CONFIG_REPORT 0x06 #define ZBEE_ZCL_CMD_CONFIG_REPORT_RESP 0x07 #define ZBEE_ZCL_CMD_READ_REPORT_CONFIG 0x08 #define ZBEE_ZCL_CMD_READ_REPORT_CONFIG_RESP 0x09 #define ZBEE_ZCL_CMD_REPORT_ATTR 0x0a #define ZBEE_ZCL_CMD_DEFAULT_RESP 0x0b #define ZBEE_ZCL_CMD_DISCOVER_ATTR 0x0c #define ZBEE_ZCL_CMD_DISCOVER_ATTR_RESP 0x0d #define ZBEE_ZCL_CMD_READ_ATTR_STRUCT 0x0e #define ZBEE_ZCL_CMD_WRITE_ATTR_STRUCT 0x0f #define ZBEE_ZCL_CMD_WRITE_ATTR_STRUCT_RESP 0x10 #define ZBEE_ZCL_CMD_DISCOVER_CMDS_REC 0x11 #define ZBEE_ZCL_CMD_DISCOVER_CMDS_REC_RESP 0x12 #define ZBEE_ZCL_CMD_DISCOVER_CMDS_GEN 0X13 #define ZBEE_ZCL_CMD_DISCOVER_CMDS_GEN_RESP 0X14 #define ZBEE_ZCL_CMD_DISCOVER_ATTR_EXTENDED 0x15 #define ZBEE_ZCL_CMD_DISCOVER_ATTR_EXTENDED_RESP 0x16 /* ZCL Data Types */ #define ZBEE_ZCL_NO_DATA 0x00 #define ZBEE_ZCL_8_BIT_DATA 0x08 #define ZBEE_ZCL_16_BIT_DATA 0x09 #define ZBEE_ZCL_24_BIT_DATA 0x0a #define ZBEE_ZCL_32_BIT_DATA 0x0b #define ZBEE_ZCL_40_BIT_DATA 0x0c #define ZBEE_ZCL_48_BIT_DATA 0x0d #define ZBEE_ZCL_56_BIT_DATA 0x0e #define ZBEE_ZCL_64_BIT_DATA 0x0f #define ZBEE_ZCL_BOOLEAN 0x10 #define ZBEE_ZCL_8_BIT_BITMAP 0x18 #define ZBEE_ZCL_16_BIT_BITMAP 0x19 #define ZBEE_ZCL_24_BIT_BITMAP 0x1a #define ZBEE_ZCL_32_BIT_BITMAP 0x1b #define ZBEE_ZCL_40_BIT_BITMAP 0x1c #define ZBEE_ZCL_48_BIT_BITMAP 0x1d #define ZBEE_ZCL_56_BIT_BITMAP 0x1e #define ZBEE_ZCL_64_BIT_BITMAP 0x1f #define ZBEE_ZCL_8_BIT_UINT 0x20 #define ZBEE_ZCL_16_BIT_UINT 0x21 #define ZBEE_ZCL_24_BIT_UINT 0x22 #define ZBEE_ZCL_32_BIT_UINT 0x23 #define ZBEE_ZCL_40_BIT_UINT 0x24 #define ZBEE_ZCL_48_BIT_UINT 0x25 #define ZBEE_ZCL_56_BIT_UINT 0x26 #define ZBEE_ZCL_64_BIT_UINT 0x27 #define ZBEE_ZCL_8_BIT_INT 0x28 #define ZBEE_ZCL_16_BIT_INT 0x29 #define ZBEE_ZCL_24_BIT_INT 0x2a #define ZBEE_ZCL_32_BIT_INT 0x2b #define ZBEE_ZCL_40_BIT_INT 0x2c #define ZBEE_ZCL_48_BIT_INT 0x2d #define ZBEE_ZCL_56_BIT_INT 0x2e #define ZBEE_ZCL_64_BIT_INT 0x2f #define ZBEE_ZCL_8_BIT_ENUM 0x30 #define ZBEE_ZCL_16_BIT_ENUM 0x31 #define ZBEE_ZCL_SEMI_FLOAT 0x38 #define ZBEE_ZCL_SINGLE_FLOAT 0x39 #define ZBEE_ZCL_DOUBLE_FLOAT 0x3a #define ZBEE_ZCL_OCTET_STRING 0x41 #define ZBEE_ZCL_CHAR_STRING 0x42 #define ZBEE_ZCL_LONG_OCTET_STRING 0x43 #define ZBEE_ZCL_LONG_CHAR_STRING 0x44 #define ZBEE_ZCL_ARRAY 0x48 #define ZBEE_ZCL_STRUCT 0x4c #define ZBEE_ZCL_SET 0x50 #define ZBEE_ZCL_BAG 0x51 #define ZBEE_ZCL_TIME 0xe0 #define ZBEE_ZCL_DATE 0xe1 #define ZBEE_ZCL_UTC 0xe2 #define ZBEE_ZCL_CLUSTER_ID 0xe8 #define ZBEE_ZCL_ATTR_ID 0xe9 #define ZBEE_ZCL_BACNET_OID 0xea #define ZBEE_ZCL_IEEE_ADDR 0xf0 #define ZBEE_ZCL_SECURITY_KEY 0xf1 #define ZBEE_ZCL_UNKNOWN 0xff /* ZCL Miscellaneous */ #define ZBEE_ZCL_INVALID_STR_LENGTH 0xff #define ZBEE_ZCL_INVALID_LONG_STR_LENGTH 0xffff #define ZBEE_ZCL_NUM_INDIVIDUAL_ETT 2 #define ZBEE_ZCL_NUM_ATTR_ETT 64 #define ZBEE_ZCL_NUM_IND_FIELD 16 #define ZBEE_ZCL_NUM_ARRAY_ELEM_ETT 16 #define ZBEE_ZCL_NUM_TOTAL_ETT (ZBEE_ZCL_NUM_INDIVIDUAL_ETT + ZBEE_ZCL_NUM_ATTR_ETT + ZBEE_ZCL_NUM_ARRAY_ELEM_ETT) #define ZBEE_ZCL_DIR_REPORTED 0 #define ZBEE_ZCL_DIR_RECEIVED 1 /* seconds elapsed from year 1970 to 2000 */ #define ZBEE_ZCL_NSTIME_UTC_OFFSET (((3*365 + 366)*7 + 2*365)*24*3600) #define IS_ANALOG_SUBTYPE(x) ( (x & 0xF0) == 0x20 || (x & 0xF8) == 0x38 || (x & 0xF8) == 0xE0 ) /* ZCL Status Enumerations */ #define ZBEE_ZCL_STAT_SUCCESS 0x00 #define ZBEE_ZCL_STAT_FAILURE 0x01 #define ZBEE_ZCL_STAT_NOT_AUTHORIZED 0x7e #define ZBEE_ZCL_STAT_RESERVED_FIELD_NOT_ZERO 0x7f #define ZBEE_ZCL_STAT_MALFORMED_CMD 0x80 #define ZBEE_ZCL_STAT_UNSUP_CLUSTER_CMD 0x81 #define ZBEE_ZCL_STAT_UNSUP_GENERAL_CMD 0x82 #define ZBEE_ZCL_STAT_UNSUP_MFR_CLUSTER_CMD 0x83 #define ZBEE_ZCL_STAT_UNSUP_MFR_GENERAL_CMD 0x84 #define ZBEE_ZCL_STAT_INVALID_FIELD 0x85 #define ZBEE_ZCL_STAT_UNSUPPORTED_ATTR 0x86 #define ZBEE_ZCL_STAT_INVALID_VALUE 0x87 #define ZBEE_ZCL_STAT_READ_ONLY 0x88 #define ZBEE_ZCL_STAT_INSUFFICIENT_SPACE 0x89 #define ZBEE_ZCL_STAT_DUPLICATE_EXISTS 0x8a #define ZBEE_ZCL_STAT_NOT_FOUND 0x8b #define ZBEE_ZCL_STAT_UNREPORTABLE_ATTR 0x8c #define ZBEE_ZCL_STAT_INVALID_DATA_TYPE 0x8d #define ZBEE_ZCL_STAT_INVALID_SELECTOR 0x8e #define ZBEE_ZCL_STAT_WRITE_ONLY 0x8f #define ZBEE_ZCL_STAT_INCONSISTENT_STARTUP_STATE 0x90 #define ZBEE_ZCL_STAT_DEFINED_OUT_OF_BAND 0x91 #define ZBEE_ZCL_STAT_INCONSISTENT 0x92 #define ZBEE_ZCL_STAT_ACTION_DENIED 0x93 #define ZBEE_ZCL_STAT_TIMEOUT 0x94 #define ZBEE_ZCL_STAT_OTA_ABORT 0x95 #define ZBEE_ZCL_STAT_OTA_INVALID_IMAGE 0x96 #define ZBEE_ZCL_STAT_OTA_WAIT_FOR_DATA 0x97 #define ZBEE_ZCL_STAT_OTA_NO_IMAGE_AVAILABLE 0x98 #define ZBEE_ZCL_STAT_OTA_REQUIRE_MORE_IMAGE 0x99 #define ZBEE_ZCL_STAT_OTA_NOTIFICATION_PENDING 0x9a #define ZBEE_ZCL_STAT_HARDWARE_FAILURE 0xc0 #define ZBEE_ZCL_STAT_SOFTWARE_FAILURE 0xc1 #define ZBEE_ZCL_STAT_CALIBRATION_ERROR 0xc2 #define ZBEE_ZCL_STAT_UNSUPPORTED_CLUSTER 0xc3 #define ZBEE_ZCL_STAT_LIMIT_REACHED 0xc4 /* Misc. */ #define INT24_SIGN_BITS 0xffff8000 #define MONTHS_PER_YEAR 12 #define YEAR_OFFSET 1900 /* ZigBee ZCL Cluster Key */ #define ZCL_CLUSTER_MFR_KEY(cluster_id,mfr_code) (((mfr_code)<<16) | (cluster_id)) typedef void (*zbee_zcl_fn_attr_data)(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint16 attr_id, guint data_type, gboolean client_attr); typedef struct _zbee_zcl_cluster_desc { int proto_id; protocol_t *proto; const char *name; int ett; int hf_attr_server_id; int hf_attr_client_id; int hf_cmd_rx_id; int hf_cmd_tx_id; guint16 cluster_id; guint16 mfr_code; zbee_zcl_fn_attr_data fn_attr_data; } zbee_zcl_cluster_desc; extern const value_string zbee_zcl_short_data_type_names[]; extern const value_string zbee_mfr_code_names[]; extern const value_string zbee_zcl_status_names[]; /* Dissector functions */ extern void dissect_zcl_read_attr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); extern void dissect_zcl_write_attr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); extern void dissect_zcl_report_attr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); extern void dissect_zcl_read_attr_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean direction); extern void dissect_zcl_attr_id(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 cluster_id, guint16 mfr_code, gboolean client_attr); extern void dissect_zcl_attr_data_type_val(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 attr_id, guint16 cluster_id, guint16 mfr_code, gboolean client_attr); extern guint dissect_zcl_attr_uint8 (tvbuff_t *tvb, proto_tree *tree, guint *offset, int *length); /* Helper functions */ /* Exported DLL functions */ WS_DLL_PUBLIC void decode_zcl_time_in_100ms (gchar *s, guint16 value); WS_DLL_PUBLIC void decode_zcl_time_in_seconds (gchar *s, guint16 value); WS_DLL_PUBLIC void decode_zcl_time_in_minutes (gchar *s, guint16 value); WS_DLL_PUBLIC void dissect_zcl_attr_data (tvbuff_t *tvb, proto_tree *tree, guint *offset, guint data_type, gboolean client_attr); WS_DLL_PUBLIC void zbee_zcl_init_cluster(const char *proto_abbrev, int proto, gint ett, guint16 cluster_id, guint16 mfr_code, int hf_attr_server_id, int hf_attr_client_id, int hf_cmd_rx_id, int hf_cmd_tx_id, zbee_zcl_fn_attr_data fn_attr_data); /* Cluster-specific commands and parameters */ #define ZBEE_ZCL_CSC_IAS_ZONE_C_ERC_NEP 0x02 #define ZBEE_ZCL_CSC_IAS_ZONE_C_ERC_NS 0x01 #define ZBEE_ZCL_CSC_IAS_ZONE_C_ERC_S 0x00 #define ZBEE_ZCL_CSC_IAS_ZONE_C_ERC_TMZ 0x03 #define ZBEE_ZCL_CSC_IAS_ZONE_C_ZER 0x00 #define ZBEE_ZCL_CSC_IAS_ZONE_S_ZER 0x01 #define ZBEE_ZCL_CSC_IAS_ZONE_S_ZSCN 0x00 #define ZBEE_ZCL_CSC_POLL_CONTROL_C_CIR 0x00 #define ZBEE_ZCL_CSC_POLL_CONTROL_C_FPS 0x01 #define ZBEE_ZCL_CSC_POLL_CONTROL_C_SLPI 0x02 #define ZBEE_ZCL_CSC_POLL_CONTROL_C_SSPI 0x03 #define ZBEE_ZCL_CSC_POLL_CONTROL_S_CI 0x00 #define ZBEE_ZCL_CSC_THERMOSTAT_C_CWS 0x03 #define ZBEE_ZCL_CSC_THERMOSTAT_C_GWS 0x02 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SRL 0x00 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS 0x01 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_AV 0x80 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_FR 0x20 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_MO 0x02 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_SA 0x40 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_SU 0x01 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_TH 0x10 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_TU 0x04 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_DOW_WE 0x08 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_SP_B 0x03 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_SP_C 0x02 #define ZBEE_ZCL_CSC_THERMOSTAT_C_SWS_SP_H 0x01 #define ZBEE_ZCL_CSC_THERMOSTAT_S_GWSR 0x00 #endif /* PACKET_ZBEE_ZCL_H*/
C
wireshark/epan/dissectors/packet-zbee-zdp-binding.c
/* packet-zbee-zdp-binding.c * Dissector helper routines for the binding services of the ZigBee Device Profile * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/addr_resolv.h> #include "packet-zbee.h" #include "packet-zbee-zdp.h" #include "packet-zbee-aps.h" #include "packet-zbee-tlv.h" /************************************** * HELPER FUNCTIONS ************************************** */ /** *Parses and displays a single binding table entry. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. */ void zdp_parse_bind_table_entry(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint8 version) { proto_tree *bind_tree; proto_item *ti; guint len = 0; guint8 mode; /* Add the source address. */ bind_tree = proto_tree_add_subtree(tree, tvb, *offset, 0, ett_zbee_zdp_bind_entry, &ti, "Bind"); proto_tree_add_item(bind_tree, hf_zbee_zdp_bind_src64, tvb, *offset, 8, ENC_LITTLE_ENDIAN); len += 8; /* Add the source endpoint. */ proto_tree_add_item(bind_tree, hf_zbee_zdp_bind_src_ep, tvb, *offset + len, 1, ENC_LITTLE_ENDIAN); len += 1; /* Add the cluster ID. */ if (version >= ZBEE_VERSION_2007) { proto_tree_add_item(bind_tree, hf_zbee_zdp_cluster, tvb, *offset + len, 2, ENC_LITTLE_ENDIAN); len += 2; } else { proto_tree_add_item(bind_tree, hf_zbee_zdp_cluster, tvb, *offset + len, 1, ENC_LITTLE_ENDIAN); len += 1; } /* Get the destination address mode. */ if (version >= ZBEE_VERSION_2007) { mode = tvb_get_guint8(tvb, *offset + len); proto_tree_add_item(bind_tree, hf_zbee_zdp_addr_mode, tvb, *offset + len, 1, ENC_LITTLE_ENDIAN); len += 1; } else { /* Mode field doesn't exist and always uses unicast in 2003 & earlier. */ mode = ZBEE_ZDP_ADDR_MODE_UNICAST; } /* Add the destination address. */ if (mode == ZBEE_ZDP_ADDR_MODE_GROUP) { proto_tree_add_item(bind_tree, hf_zbee_zdp_bind_dst, tvb, *offset + len, 2, ENC_LITTLE_ENDIAN); len += 2; } else if (mode == ZBEE_ZDP_ADDR_MODE_UNICAST) { proto_tree_add_item(bind_tree, hf_zbee_zdp_bind_dst64, tvb, *offset + len, 8, ENC_LITTLE_ENDIAN); len += 8; proto_tree_add_item(bind_tree, hf_zbee_zdp_bind_dst_ep, tvb, *offset + len, 1, ENC_LITTLE_ENDIAN); len += 1; } proto_item_set_len(ti, len); *offset += len; } /* zdp_parse_bind_table_entry */ /************************************** * BINDING REQUESTS ************************************** */ /** *ZigBee Device Profile dissector for the end device bind * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_end_device_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint sizeof_cluster = (version >= ZBEE_VERSION_2007)?(int)sizeof(guint16):(int)sizeof(guint8); guint i; proto_tree *field_tree = NULL; guint offset = 0; guint32 target, in_count, out_count; guint64 ext_addr = 0; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_target, tvb, offset, 2, ENC_LITTLE_ENDIAN, &target); offset += 2; if (version >= ZBEE_VERSION_2007) { /* Extended address present on ZigBee 2006 & later. */ ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (guint)sizeof(guint64), NULL); } proto_tree_add_item(tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_profile, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_in_count, tvb, offset, 2, ENC_LITTLE_ENDIAN, &in_count); offset += 1; if ((tree) && (in_count)) { field_tree = proto_tree_add_subtree(tree, tvb, offset, (int)(in_count*sizeof_cluster), ett_zbee_zdp_bind_end_in, NULL, "Input Cluster List"); } for (i=0; i<in_count; i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_in_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN); offset += sizeof_cluster; } proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_out_count, tvb, offset, 2, ENC_LITTLE_ENDIAN, &out_count); offset += 1; if ((tree) && (out_count)) { field_tree = proto_tree_add_subtree(tree, tvb, offset, (int)(out_count*sizeof_cluster), ett_zbee_zdp_bind_end_out, NULL, "Output Cluster List"); } for (i=0; i<out_count; i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_out_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN); offset += sizeof_cluster; } if (version >= ZBEE_VERSION_2007) { zbee_append_info(tree, pinfo, " Src: %s", eui64_to_display(pinfo->pool, ext_addr)); } zbee_append_info(tree, pinfo, ", Target: 0x%04x", target); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_end_device_bind */ /** *ZigBee Device Profile dissector for the bind request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_item *ti; guint sizeof_cluster = ZBEE_HAS_2006(version)?(int)sizeof(guint16):(int)sizeof(guint8); guint offset = 0; guint64 src64; guint32 cluster, dst_mode, dst; guint64 dst64 = 0; /*guint8 dst_ep;*/ src64 = zbee_parse_eui64(tree, hf_zbee_zdp_bind_src64, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_bind_src_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; ti = proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN, &cluster); offset += sizeof_cluster; proto_item_append_text(ti, " (%s)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster")); if (version >= ZBEE_VERSION_2007) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_addr_mode, tvb, offset, 1, ENC_LITTLE_ENDIAN, &dst_mode); offset += 1; } else { /* ZigBee 2003 & earlier does not have a address mode, and is unicast only. */ dst_mode = ZBEE_ZDP_ADDR_MODE_UNICAST; } if (dst_mode == ZBEE_ZDP_ADDR_MODE_GROUP) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_bind_dst, tvb, offset, 2, ENC_LITTLE_ENDIAN, &dst); offset += 2; } else if (dst_mode == ZBEE_ZDP_ADDR_MODE_UNICAST) { dst64 = zbee_parse_eui64(tree, hf_zbee_zdp_bind_dst64, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_bind_dst_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } zbee_append_info(tree, pinfo, ", %s (Cluster ID: 0x%04x)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster"), cluster); if (version >= ZBEE_VERSION_2007) { zbee_append_info(tree, pinfo, " Src: %s", eui64_to_display(pinfo->pool, src64)); } if (dst_mode == ZBEE_ZDP_ADDR_MODE_GROUP) { zbee_append_info(tree, pinfo, ", Dst: 0x%04x", dst); } else { zbee_append_info(tree, pinfo, ", Dst: %s", eui64_to_display(pinfo->pool, dst64)); } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_bind */ /** *ZigBee Device Profile dissector for the unbind request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_unbind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_item *ti; guint sizeof_cluster = (version >= ZBEE_VERSION_2007)?(int)sizeof(guint16):(int)sizeof(guint8); guint offset = 0; guint64 src64; /*guint8 src_ep;*/ guint32 cluster, dst_mode, dst = 0; guint64 dst64 = 0; /*guint8 dst_ep;*/ src64 = zbee_parse_eui64(tree, hf_zbee_zdp_bind_src64, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_bind_src_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; ti = proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN, &cluster); offset += sizeof_cluster; proto_item_append_text(ti, " (%s)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster")); if (version >= ZBEE_VERSION_2007) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_addr_mode, tvb, offset, 1, ENC_LITTLE_ENDIAN, &dst_mode); offset += 1; } else { /* ZigBee 2003 & earlier does not have a address mode, and is unicast only. */ dst_mode = ZBEE_ZDP_ADDR_MODE_UNICAST; } if (dst_mode == ZBEE_ZDP_ADDR_MODE_GROUP) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_bind_dst, tvb, offset, 2, ENC_LITTLE_ENDIAN, &dst); offset += 2; } else if (dst_mode == ZBEE_ZDP_ADDR_MODE_UNICAST) { dst64 = zbee_parse_eui64(tree, hf_zbee_zdp_bind_dst64, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_bind_dst_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } zbee_append_info(tree, pinfo, ", %s (Cluster ID: 0x%04x)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster"), cluster); if (version >= ZBEE_VERSION_2007) { zbee_append_info(tree, pinfo, " Src: %s", eui64_to_display(pinfo->pool, src64)); } if (dst_mode == ZBEE_ZDP_ADDR_MODE_GROUP) { zbee_append_info(tree, pinfo, ", Dst: 0x%04x", dst); } else { zbee_append_info(tree, pinfo, ", Dst: %s", eui64_to_display(pinfo->pool, dst64)); } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_unbind */ /** *ZigBee Device Profile dissector for the bind register * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_bind_register(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); zbee_append_info(tree, pinfo, ", Device: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_bind_register */ /** *ZigBee Device Profile dissector for the replace device * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_replace_device(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; guint64 new_addr; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; new_addr = zbee_parse_eui64(tree, hf_zbee_zdp_replacement, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_replacement_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; zbee_append_info(tree, pinfo, ", Device: %s", eui64_to_display(pinfo->pool, ext_addr)); zbee_append_info(tree, pinfo, ", Replacement: %s", eui64_to_display(pinfo->pool, new_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_replace_device */ /** *ZigBee Device Profile dissector for the store backup binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_store_bak_bind_entry(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_item *ti; guint sizeof_cluster = (version >= ZBEE_VERSION_2007)?(int)sizeof(guint16):(int)sizeof(guint8); guint offset = 0; guint64 src64; guint32 src_ep, cluster, dst_mode; src64 = zbee_parse_eui64(tree, hf_zbee_zdp_bind_src64, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_bind_src_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN, &src_ep); offset += 1; ti = proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN, &cluster); offset += sizeof_cluster; proto_item_append_text(ti, " (%s)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster")); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_addr_mode, tvb, offset, 1, ENC_LITTLE_ENDIAN, &dst_mode); offset += 1; if (dst_mode == ZBEE_ZDP_ADDR_MODE_GROUP) { proto_tree_add_item(tree, hf_zbee_zdp_bind_dst, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (dst_mode == ZBEE_ZDP_ADDR_MODE_UNICAST) { /*guint64 dst64;*/ /*guint8 dst_ep;*/ /*dst64 =*/ zbee_parse_eui64(tree, hf_zbee_zdp_bind_dst64, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_bind_dst_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } zbee_append_info(tree, pinfo, ", %s (Cluster ID: 0x%04x)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster"), cluster); zbee_append_info(tree, pinfo, ", Src: %s", eui64_to_display(pinfo->pool, src64)); zbee_append_info(tree, pinfo, ", Src Endpoint: %d", src_ep); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_store_bak_bind_entry */ /** *ZigBee Device Profile dissector for the remove backup binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_remove_bak_bind_entry(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_item *ti; guint sizeof_cluster = (version >= ZBEE_VERSION_2007)?(int)sizeof(guint16):(int)sizeof(guint8); guint offset = 0; guint64 src64; guint32 src_ep, cluster, dst_mode; src64 = zbee_parse_eui64(tree, hf_zbee_zdp_bind_src64, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_bind_src_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN, &src_ep); offset += 1; ti = proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN, &cluster); offset += sizeof_cluster; proto_item_append_text(ti, " (%s)", val_to_str_const(cluster, zbee_zdp_cluster_names, "Unknown Device Profile Cluster")); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_addr_mode, tvb, offset, 1, ENC_LITTLE_ENDIAN, &dst_mode); offset += 1; if (dst_mode == ZBEE_ZDP_ADDR_MODE_GROUP) { proto_tree_add_item(tree, hf_zbee_zdp_bind_dst, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (dst_mode == ZBEE_ZDP_ADDR_MODE_UNICAST) { /*guint64 dst64;*/ /*guint8 dst_ep;*/ /*dst64 =*/ zbee_parse_eui64(tree, hf_zbee_zdp_bind_dst64, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_bind_dst_ep, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } zbee_append_info(tree, pinfo, ", %s (Cluster ID: 0x%04x)", val_to_str_const(cluster, zbee_zdp_cluster_names, "Unknown Device Profile Cluster"), cluster); zbee_append_info(tree, pinfo, ", Src: %s", eui64_to_display(pinfo->pool, src64)); zbee_append_info(tree, pinfo, ", Src Endpoint: %d", src_ep); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_remove_bak_bind_entry */ /** *ZigBee Device Profile dissector for the backup binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_backup_bind_table(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_tree *field_tree; guint offset = 0; guint32 i, table_count; proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 2, ENC_LITTLE_ENDIAN, &table_count); offset += 2; field_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zbee_zdp_bind, NULL, "Binding Table"); for (i=0; i<table_count; i++) { zdp_parse_bind_table_entry(field_tree, tvb, &offset, version); } /* for */ /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_backup_bind_table */ /** *ZigBee Device Profile dissector for the recover binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_recover_bind_table(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_recover_bind_table */ /** *ZigBee Device Profile dissector for the backup source binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_backup_source_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree; guint offset = 0; guint32 i, table_count; proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 2, ENC_LITTLE_ENDIAN, &table_count); offset += 2; field_tree = proto_tree_add_subtree(tree, tvb, offset, table_count*(int)sizeof(guint64), ett_zbee_zdp_bind_source, NULL, "Source Table"); for (i=0; i<table_count; i++) zbee_parse_eui64(field_tree, hf_zbee_zdp_bind_src64, tvb, &offset, (int)sizeof(guint64), NULL); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_backup_source_bind */ /** *ZigBee Device Profile dissector for the recover source * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_recover_source_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_recover_source_bind */ /** *ZigBee Device Profile dissector for the clear all bindings request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_clear_all_bindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_CLEAR_ALL_BINDINGS); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /** *ZigBee Device Profile dissector for the clear all bindings response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_clear_all_bindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_clear_all_bindings */ /************************************** * BINDING RESPONSES ************************************** */ /** *ZigBee Device Profile dissector for the end device bind * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_end_device_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_end_device_bind */ /** *ZigBee Device Profile dissector for the bind response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_bind */ /** *ZigBee Device Profile dissector for the unbind response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_unbind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_unbind */ /** *ZigBee Device Profile dissector for the bind registration * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_bind_register(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_tree *field_tree = NULL; guint offset = 0; guint8 status; guint32 i, table_count; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 2, ENC_LITTLE_ENDIAN, &table_count); offset += 2; if (tree && table_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zbee_zdp_bind, NULL, "Binding List"); } for (i=0; i<table_count; i++) { zdp_parse_bind_table_entry(field_tree, tvb, &offset, version); } /* for */ } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_bind_register */ /** *ZigBee Device Profile dissector for the device replacement * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_replace_device(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_replace_device */ /** *ZigBee Device Profile dissector for the store backup binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_store_bak_bind_entry(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_store_bak_bind_entry */ /** *ZigBee Device Profile dissector for the remove backup binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_remove_bak_bind_entry(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_remove_bak_bind_entry */ /** *ZigBee Device Profile dissector for the backup binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_backup_bind_table(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_backup_bind_table */ /** *ZigBee Device Profile dissector for the recover binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_recover_bind_table(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_tree *field_tree = NULL; guint offset = 0; guint8 status; guint32 i, table_count; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 2, ENC_LITTLE_ENDIAN, &table_count); offset += 2; if (tree && table_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zbee_zdp_bind, NULL, "Binding Table"); } for (i=0; i<table_count; i++) { zdp_parse_bind_table_entry(field_tree, tvb, &offset, version); } /* for */ } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_recover_bind_table */ /** *ZigBee Device Profile dissector for the backup source binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_backup_source_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_backup_source_bind */ /** *ZigBee Device Profile dissector for the recover source binding * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_recover_source_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree = NULL; guint offset = 0; guint8 status; guint32 i, table_count; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 2, ENC_LITTLE_ENDIAN, &table_count); offset += 2; if (tree && table_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, table_count * (int)sizeof(guint64), ett_zbee_zdp_bind_source, NULL, "Source Table"); } for (i=0; i<table_count; i++) { (void)zbee_parse_eui64(field_tree, hf_zbee_zdp_bind_src64, tvb, &offset, (int)sizeof(guint64), NULL); } /* for */ } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_recover_source_bind */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zdp-discovery.c
/* packet-zbee-zdp-discovery.c * Dissector helper routines for the discovery services of the ZigBee Device Profile * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/addr_resolv.h> #include "packet-zbee.h" #include "packet-zbee-zdp.h" #include "packet-zbee-aps.h" #include "packet-zbee-tlv.h" /************************************** * DISCOVERY REQUESTS ************************************** */ /** *ZigBee Device Profile dissector for the network address * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_nwk_addr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_req_type, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; zbee_append_info(tree, pinfo, ", Address: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_nwk_addr */ /** *ZigBee Device Profile dissector for the extended address * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_ext_addr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_req_type, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_ext_addr */ /** *ZigBee Device Profile dissector for the descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_node_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_NODE_DESC); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_node_desc */ /** *ZigBee Device Profile dissector for the node descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_power_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_power_desc */ /** *ZigBee Device Profile dissector for the simple descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_simple_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device, endpt; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN, &endpt); offset += 1; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x, Endpoint: %d", device, endpt); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_simple_desc */ /** *ZigBee Device Profile dissector for the active endpoint list * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_active_ep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_active_ep */ /** *ZigBee Device Profile dissector for the matching descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_match_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_item *ti; proto_tree *field_tree = NULL; guint offset = 0, i; guint sizeof_cluster = (version >= ZBEE_VERSION_2007)?(int)sizeof(guint16):(int)sizeof(guint8); guint32 device, profile, cluster, in_count, out_count; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_profile, tvb, offset, 2, ENC_LITTLE_ENDIAN, &profile); offset += 2; /* Add the input cluster list. */ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_in_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &in_count); offset += 1; if (tree && in_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, in_count*sizeof_cluster, ett_zbee_zdp_match_in, NULL, "Input Cluster List"); } for (i=0; i<in_count; i++) { ti = proto_tree_add_item_ret_uint(field_tree, hf_zbee_zdp_in_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN, &cluster); offset += sizeof_cluster; proto_item_append_text(ti, " (%s)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster")); } /* Add the output cluster list. */ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_out_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &out_count); offset += 1; if (tree && out_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, out_count*sizeof_cluster, ett_zbee_zdp_match_out, NULL, "Output Cluster List"); } for (i=0; i<out_count; i++) { ti = proto_tree_add_item_ret_uint(field_tree, hf_zbee_zdp_out_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN, &cluster); offset += sizeof_cluster; proto_item_append_text(ti, " (%s)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster")); } zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x, Profile: 0x%04x", device, profile); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_simple_desc */ /** *ZigBee Device Profile dissector for the complex descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_complex_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_complex_desc */ /** *ZigBee Device Profile dissector for the user descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_user_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_user_desc */ /** *ZigBee Device Profile dissector for the discovery cache * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_discovery_cache(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; proto_tree_add_item(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); zbee_append_info(tree, pinfo, ", Ext Addr: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_discovery_cache */ /** *ZigBee Device Profile dissector for the device announcement. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_device_annce(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; guint32 short_addr; /*guint8 capability;*/ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &short_addr); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); /*capability =*/ zdp_parse_cinfo(tree, ett_zbee_zdp_cinfo, tvb, &offset); zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x, Ext Addr: %s", short_addr, eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_device_annce */ /** *ZigBee Device Profile dissector for the parent announce * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_parent_annce(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint n_children; guint i; guint64 ext_addr; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_number_of_children, tvb, offset, 1, ENC_LITTLE_ENDIAN, &n_children); offset += 1; zbee_append_info(tree, pinfo, ", # children %d :", n_children); for (i = 0 ; i < n_children ; ++i) { ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); if (i == 0) { zbee_append_info(tree, pinfo, n_children == 1 ? " %s" : " %s ...", eui64_to_display(pinfo->pool, ext_addr)); } } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_parent_annce */ /** *ZigBee Device Profile dissector for the parent announce rsp * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_parent_annce(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint n_children; guint i; guint64 ext_addr; guint8 status; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_number_of_children, tvb, offset, 1, ENC_LITTLE_ENDIAN, &n_children); offset += 1; zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); zbee_append_info(tree, pinfo, ", # children %d :", n_children); for (i = 0 ; i < n_children ; ++i) { ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); if (i == 0) { zbee_append_info(tree, pinfo, n_children == 1 ? " %s" : " %s ...", eui64_to_display(pinfo->pool, ext_addr)); } } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_parent_annce */ /** *ZigBee Device Profile dissector for the end set user * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_set_user_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint offset = 0; guint32 device, user_length; const guint8 *user; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; if (version >= ZBEE_VERSION_2007) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_user_length, tvb, offset, 1, ENC_LITTLE_ENDIAN, &user_length); offset += 1; } else { /* No Length field in ZigBee 2003 & earlier, uses a fixed length of 16. */ user_length = 16; } proto_tree_add_item_ret_string(tree, hf_zbee_zdp_user, tvb, offset, user_length, ENC_ASCII, pinfo->pool, &user); offset += user_length; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x, Desc: \'%s\'", device, user); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_set_user_desc */ /** *ZigBee Device Profile dissector for the system server * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_system_server_disc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; /*guint16 server_flags;*/ /*server_flags =*/ zdp_parse_server_flags(tree, ett_zbee_zdp_server, tvb, &offset); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_system_server_disc */ /** *ZigBee Device Profile dissector for the store node cache * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_store_discovery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree; guint offset = 0; guint i; guint64 ext_addr; guint32 simple_count; proto_tree_add_item(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_disc_node_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_disc_power_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_disc_ep_count, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_disc_simple_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &simple_count); offset += 1; field_tree = proto_tree_add_subtree(tree, tvb, offset, simple_count, ett_zbee_zdp_simple_sizes, NULL, "Simple Descriptor Sizes"); for (i=0; i<simple_count; i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_disc_simple_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } zbee_append_info(tree, pinfo, ", Ext Addr: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_store_discovery */ /** *ZigBee Device Profile dissector for the store node descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_store_node_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint offset = 0; guint64 ext_addr; proto_tree_add_item(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); zdp_parse_node_desc(tree, pinfo, FALSE, ett_zbee_zdp_node, tvb, &offset, version); zbee_append_info(tree, pinfo, ", Address: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_store_node_desc */ /** *ZigBee Device Profile dissector for the store power descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_store_power_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; proto_tree_add_item(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); zdp_parse_power_desc(tree, ett_zbee_zdp_power, tvb, &offset); zbee_append_info(tree, pinfo, ", Address: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_store_power_desc */ /** *ZigBee Device Profile dissector for the store active endpoint * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_store_active_ep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree; guint offset = 0; guint i; guint64 ext_addr; guint32 ep_count; proto_tree_add_item(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_disc_simple_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &ep_count); offset += 1; field_tree = proto_tree_add_subtree(tree, tvb, offset, ep_count, ett_zbee_zdp_endpoint, NULL, "Active Endpoints"); for (i=0; i<ep_count; i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } zbee_append_info(tree, pinfo, ", Device: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_store_active_ep */ /** *ZigBee Device Profile dissector for the store simple descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_store_simple_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint offset = 0; guint64 ext_addr; proto_tree_add_item(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item(tree, hf_zbee_zdp_simple_length, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; zdp_parse_simple_desc(tree, ett_zbee_zdp_simple, tvb, &offset, version); zbee_append_info(tree, pinfo, ", Address: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_store_simple_desc */ /** *ZigBee Device Profile dissector for the remove node cache * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_remove_node_cache(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; proto_tree_add_item(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); zbee_append_info(tree, pinfo, ", Device: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_remove_node_cache */ /** *ZigBee Device Profile dissector for the find node cache * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_find_node_cache(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; proto_tree_add_item(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); zbee_append_info(tree, pinfo, ", Address: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_find_node_cache */ /** *ZigBee Device Profile dissector for the extended simple * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_ext_simple_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device, endpt; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN, &endpt); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x, Endpoint: %d", device, endpt); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_ext_simple_desc */ /** *ZigBee Device Profile dissector for the extended active * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_ext_active_ep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device; /*guint8 idx;*/ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_ext_active_ep */ /************************************** * DISCOVERY RESPONSES ************************************** */ /** *ZigBee Device Profile dissector for the network address * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_nwk_addr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree = NULL; guint offset = 0; guint i; guint8 status; guint64 ext_addr; guint32 device, assoc; status = zdp_parse_status(tree, tvb, &offset); ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; if (tvb_bytes_exist(tvb, offset, 2*(int)sizeof(guint8))) { /* The presence of these fields depends on the request message. Include them if they exist. */ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_assoc_device_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &assoc); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; if ((tree) && (assoc)) { field_tree = proto_tree_add_subtree(tree, tvb, offset, assoc*(int)sizeof(guint16), ett_zbee_zdp_assoc_device, NULL, "Associated Device List"); } for (i=0; i<assoc; i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_assoc_device, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); if (status == ZBEE_ZDP_STATUS_SUCCESS) { zbee_append_info(tree, pinfo, ", Address: %s = 0x%04x", eui64_to_display(pinfo->pool, ext_addr), device); } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_nwk_addr */ /** *ZigBee Device Profile dissector for the extended address * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_ext_addr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree = NULL; guint offset = 0; guint i; guint8 status; guint64 ext_addr; guint32 device, assoc; status = zdp_parse_status(tree, tvb, &offset); ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; if (tvb_bytes_exist(tvb, offset, 2*(int)sizeof(guint8))) { /* The presence of these fields depends on the request message. Include them if they exist. */ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_assoc_device_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &assoc); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; if ((tree) && (assoc)) { field_tree = proto_tree_add_subtree(tree, tvb, offset, assoc*(int)sizeof(guint16), ett_zbee_zdp_assoc_device, NULL, "Associated Device List"); } for (i=0; i<assoc; i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_assoc_device, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); if (status == ZBEE_ZDP_STATUS_SUCCESS) { zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x = %s", device, eui64_to_display(pinfo->pool, ext_addr)); } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_ext_addr */ /** *ZigBee Device Profile dissector for the node descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_node_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint offset = 0; guint8 status; guint32 device; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; if (status == ZBEE_ZDP_STATUS_SUCCESS) { zdp_parse_node_desc(tree, pinfo, TRUE, ett_zbee_zdp_node, tvb, &offset, version); } zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_NODE_DESC); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_node_desc */ /** *ZigBee Device Profile dissector for the power descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_power_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; guint32 device; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; if (status == ZBEE_ZDP_STATUS_SUCCESS) { zdp_parse_power_desc(tree, ett_zbee_zdp_power, tvb, &offset); } zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_power_desc */ /** *ZigBee Device Profile dissector for the simple descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_simple_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint offset = 0; guint8 status; /*guint8 length;*/ guint32 device; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_simple_length, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; if (status == ZBEE_ZDP_STATUS_SUCCESS) { zdp_parse_simple_desc(tree, ett_zbee_zdp_simple, tvb, &offset, version); } zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_simple_desc */ /** *ZigBee Device Profile dissector for the active endpoint * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_active_ep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree = NULL; guint offset = 0; guint i; guint8 status; guint32 device, ep_count; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_ep_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &ep_count); offset += 1; if (tree && ep_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, ep_count*(int)sizeof(guint8), ett_zbee_zdp_endpoint, NULL, "Active Endpoint List"); } for (i=0; i<ep_count; i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_active_ep */ /** *ZigBee Device Profile dissector for the simple descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_match_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree = NULL; guint offset = 0; guint i; guint8 status; guint32 device, ep_count; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_ep_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &ep_count); offset += 1; if (tree && ep_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, ep_count*(int)sizeof(guint8), ett_zbee_zdp_endpoint, NULL, "Matching Endpoint List"); } for (i=0; i<ep_count; i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_match_desc */ /** *ZigBee Device Profile dissector for the complex descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_complex_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; guint32 device, length; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); offset += 2; } if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 1))) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_complex_length, tvb, offset, 1, ENC_LITTLE_ENDIAN, &length); offset += 1; if (length) { zdp_parse_complex_desc(pinfo, tree, -1, tvb, &offset, length); } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); } /* dissect_zbee_zdp_rsp_complex_desc */ /** *ZigBee Device Profile dissector for the user descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_user_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint offset = 0; guint8 status; guint32 device, user_length; gchar *user; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); offset += 2; } if ((version >= ZBEE_VERSION_2007) || (status == ZBEE_ZDP_STATUS_SUCCESS)) { /* In ZigBee 2003 & earlier, the length field is omitted if not successful. */ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_user_length, tvb, offset, 1, ENC_LITTLE_ENDIAN, &user_length); offset += 1; } else user_length = 0; user = tvb_get_string_enc(pinfo->pool, tvb, offset, user_length, ENC_ASCII); if (tree) { proto_tree_add_string(tree, hf_zbee_zdp_user, tvb, offset, user_length, user); } offset += user_length; if (status == ZBEE_ZDP_STATUS_SUCCESS) { zbee_append_info(tree, pinfo, ", Desc: \'%s\'", user); } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_user_desc */ /** *ZigBee Device Profile dissector for the set user descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_user_desc_conf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint offset = 0; guint8 status; guint32 device = 0; status = zdp_parse_status(tree, tvb, &offset); if (version >= ZBEE_VERSION_2007) { if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { /* Device address present only on ZigBee 2006 & later. */ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); offset += 2; } } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_user_desc_conf */ /** *ZigBee Device Profile dissector for the discovery cache * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_discovery_cache(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_discovery_cache */ /** *ZigBee Device Profile dissector for the system server discovery * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_system_server_disc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { zdp_parse_server_flags(tree, ett_zbee_zdp_server, tvb, &offset); } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_system_server_disc */ /** *ZigBee Device Profile dissector for the discovery store * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_discovery_store(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_discovery_store */ /** *ZigBee Device Profile dissector for the store node descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_store_node_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_store_node_desc */ /** *ZigBee Device Profile dissector for the store power descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_store_power_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_store_power_desc */ /** *ZigBee Device Profile dissector for the store active endpoints * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_store_active_ep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_store_active_ep */ /** *ZigBee Device Profile dissector for the store power descriptor * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_store_simple_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_store_simple_desc */ /** *ZigBee Device Profile dissector for the remove node cache * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_remove_node_cache(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_remove_node_cache */ /** *ZigBee Device Profile dissector for the find node cache * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_find_node_cache(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 device, cache; /* Find Node Cache does NOT start with status */ proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_cache, tvb, offset, 2, ENC_LITTLE_ENDIAN, &cache); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); offset += 2; /*ext_addr =*/ zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, (int)sizeof(guint64), NULL); zbee_append_info(tree, pinfo, ", Cache: 0x%04x", cache); zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_find_node_cache */ /** *ZigBee Device Profile dissector for the extended simple * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_ext_simple_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_item *ti; guint offset = 0; guint i; guint sizeof_cluster = (int)sizeof(guint16); guint8 status; guint32 device, cluster, in_count, out_count, idx; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); offset += 2; } if (status == ZBEE_ZDP_STATUS_SUCCESS) { proto_tree_add_item(tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_in_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &in_count); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_out_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &out_count); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN, &idx); offset += 1; /* Display the input cluster list. */ for (i=idx; (i<in_count) && tvb_bytes_exist(tvb, offset, sizeof_cluster); i++) { ti = proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_in_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN, &cluster); offset += sizeof_cluster; proto_item_append_text(ti, " (%s)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster")); } /* for */ for (i-=in_count; (i<out_count) && tvb_bytes_exist(tvb, offset, sizeof_cluster); i++) { ti = proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_out_cluster, tvb, offset, sizeof_cluster, ENC_LITTLE_ENDIAN, &cluster); offset += sizeof_cluster; proto_item_append_text(ti, " (%s)", rval_to_str_const(cluster, zbee_aps_cid_names, "Unknown Cluster")); } /* for */ } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_ext_simple_desc */ /** *ZigBee Device Profile dissector for the extended active * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_ext_active_ep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree = NULL; guint offset = 0; guint i; guint8 status; guint32 device, ep_count, idx; status = zdp_parse_status(tree, tvb, &offset); if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 2))) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN, &device); zbee_append_info(tree, pinfo, ", Nwk Addr: 0x%04x", device); offset += 2; } /* on success require both, when unsuccessful okay to skip both but not just one */ if ((status == ZBEE_ZDP_STATUS_SUCCESS) || (tvb_bytes_exist(tvb, offset, 1))) { proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_ep_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &ep_count); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN, &idx); offset += 1; if (tree && ep_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, ep_count*(int)sizeof(guint8), ett_zbee_zdp_endpoint, NULL, "Active Endpoint List"); for (i=idx; (i<ep_count) && tvb_bytes_exist(tvb, offset, (int)sizeof(guint8)); i++) { proto_tree_add_item(field_tree, hf_zbee_zdp_endpoint, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } } } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_ext_active_ep */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zdp-management.c
/* packet-zbee-zdp-management.c * Dissector helper routines for the management services of the ZigBee Device Profile * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/addr_resolv.h> #include "packet-zbee.h" #include "packet-zbee-zdp.h" #include "packet-zbee-tlv.h" /************************************** * HELPER FUNCTIONS ************************************** */ /** *Parses and displays a single network descriptor * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. */ static void zdp_parse_nwk_desc(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint8 version) { proto_tree *network_tree; proto_item *ti; guint8 beacon; if (version >= ZBEE_VERSION_2007) { network_tree = proto_tree_add_subtree(tree, tvb, *offset, 12, ett_zbee_zdp_nwk_desc, NULL, "Network descriptor"); /* Extended PAN Identifiers are used in ZigBee 2006 & later. */ proto_tree_add_item(network_tree, hf_zbee_zdp_pan_eui64, tvb, *offset, 8, ENC_LITTLE_ENDIAN); *offset += 8; } else { network_tree = proto_tree_add_subtree(tree, tvb, *offset, 6, ett_zbee_zdp_nwk_desc, NULL, "Network descriptor"); /* Short PAN Identifiers are used in ZigBee 2003 and earlier. */ proto_tree_add_item(network_tree, hf_zbee_zdp_pan_uint, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; } proto_tree_add_item(network_tree, hf_zbee_zdp_channel, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(network_tree, hf_zbee_zdp_profile, tvb, *offset, 1, ENC_LITTLE_ENDIAN); proto_tree_add_item(network_tree, hf_zbee_zdp_profile_version, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; ti = proto_tree_add_item(network_tree, hf_zbee_zdp_beacon, tvb, *offset, 1, ENC_LITTLE_ENDIAN); proto_tree_add_item(network_tree, hf_zbee_zdp_superframe, tvb, *offset, 1, ENC_LITTLE_ENDIAN); beacon = tvb_get_guint8(tvb, *offset) & 0x0f; if (beacon == 0xf) { proto_item_append_text(ti, " (Beacons Disabled)"); } *offset += 1; proto_tree_add_item(network_tree, hf_zbee_zdp_permit_joining, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; } /* zdp_parse_nwk_desc */ /** *Parses and displays a neighbor table entry. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. */ static void zdp_parse_neighbor_table_entry(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint8 version) { proto_tree *table_tree; proto_item *ti = NULL; guint len = 0; if (version >= ZBEE_VERSION_2007) { table_tree = proto_tree_add_subtree(tree, tvb, *offset, 8, ett_zbee_zdp_table_entry, &ti, "Table Entry"); /* ZigBee 2006 & later use an extended PAN Identifier. */ proto_tree_add_item(table_tree, hf_zbee_zdp_extended_pan, tvb, *offset, 8, ENC_LITTLE_ENDIAN); len += 8; } else { table_tree = proto_tree_add_subtree(tree, tvb, *offset, 2, ett_zbee_zdp_table_entry, &ti, "Table Entry"); /* ZigBee 2003 & earlier use a short PAN Identifier. */ proto_tree_add_item(table_tree, hf_zbee_zdp_pan_uint, tvb, *offset, 2, ENC_LITTLE_ENDIAN); len += 2; } proto_tree_add_item(table_tree, hf_zbee_zdp_ext_addr, tvb, *offset + len, 8, ENC_LITTLE_ENDIAN); len += 8; proto_tree_add_item(table_tree, hf_zbee_zdp_addr, tvb, *offset + len, 2, ENC_LITTLE_ENDIAN); len += 2; if (version >= ZBEE_VERSION_2007) { proto_tree_add_item(table_tree, hf_zbee_zdp_table_entry_type, tvb, *offset + len, 1, ENC_NA); proto_tree_add_item(table_tree, hf_zbee_zdp_table_entry_idle_rx_0c, tvb, *offset + len, 1, ENC_NA); proto_tree_add_item(table_tree, hf_zbee_zdp_table_entry_relationship_70, tvb, *offset + len, 1, ENC_NA); } else { proto_tree_add_item(table_tree, hf_zbee_zdp_table_entry_type, tvb, *offset + len, 1, ENC_NA); proto_tree_add_item(table_tree, hf_zbee_zdp_table_entry_idle_rx_04, tvb, *offset + len, 1, ENC_NA); proto_tree_add_item(table_tree, hf_zbee_zdp_table_entry_relationship_18, tvb, *offset + len, 1, ENC_NA); } len += 1; if (version <= ZBEE_VERSION_2004) { /* In ZigBee 2003 & earlier, the depth field is before the permit joining field. */ proto_tree_add_item(table_tree, hf_zbee_zdp_depth, tvb, *offset + len, 1, ENC_NA); len += 1; } proto_tree_add_item(table_tree, hf_zbee_zdp_permit_joining_03, tvb, *offset + len, 1, ENC_NA); len += 1; if (version >= ZBEE_VERSION_2007) { /* In ZigBee 2006 & later, the depth field is after the permit joining field. */ proto_tree_add_item(table_tree, hf_zbee_zdp_depth, tvb, *offset + len, 1, ENC_NA); len += 1; } proto_tree_add_item(table_tree, hf_zbee_zdp_lqi, tvb, *offset + len, 1, ENC_NA); len += 1; if (tree) proto_item_set_len(ti, len); *offset += len; } /* zdp_parse_neighbor_table_entry */ /** *Parses and displays a routing table entry. * *@param tvb pointer to buffer containing raw packet. *@param tree pointer to data tree Wireshark uses to display packet. */ static void zdp_parse_routing_table_entry(proto_tree *tree, tvbuff_t *tvb, guint *offset) { guint len = 0; proto_item *ti; proto_tree *field_tree; guint16 dest; guint8 status; guint16 next; ti = proto_tree_add_item(tree, hf_zbee_zdp_rtg_entry, tvb, *offset + len, 2 + 1 + 2, ENC_NA); field_tree = proto_item_add_subtree(ti, ett_zbee_zdp_rtg); proto_tree_add_item(field_tree, hf_zbee_zdp_rtg_destination, tvb, *offset + len, 2, ENC_LITTLE_ENDIAN); dest = tvb_get_letohs(tvb, *offset + len); len += 2; proto_tree_add_item(field_tree, hf_zbee_zdp_rtg_status, tvb, *offset + len , 1, ENC_LITTLE_ENDIAN); status = tvb_get_guint8(tvb, *offset + len); len += 1; proto_tree_add_item(field_tree, hf_zbee_zdp_rtg_next_hop, tvb, *offset + len , 2, ENC_LITTLE_ENDIAN); next = tvb_get_letohs(tvb, *offset + len); len += 2; /* Display the next hop first, because it looks a lot cleaner that way. */ proto_item_append_text(ti, " {Destination: 0x%04x, Next Hop: 0x%04x, Status: %s}", dest, next, val_to_str_const(status, zbee_zdp_rtg_status_vals, "Unknown")); *offset += len; } /* zdp_parse_routing_table_entry */ /************************************** * MANAGEMENT REQUESTS ************************************** */ /** *ZigBee Device Profile dissector for the network discovery * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_nwk_disc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int hf_channel) { proto_item *ti; guint i; guint offset = 0; guint32 channels; /* Get the channel bitmap. */ channels = tvb_get_letohl(tvb, offset); if (tree) { gboolean first = 1; ti = proto_tree_add_uint_format(tree, hf_channel, tvb, offset, 4, channels, "Scan Channels: "); for (i=0; i<27; i++) { if (channels & (1<<i)) { if (first) proto_item_append_text(ti, "%d", i); else proto_item_append_text(ti, ", %d", i); if (channels & (2<<i)) { while ((channels&(2<<i)) && (i<26)) i++; proto_item_append_text(ti, "-%d", i); } first = 0; } } if (first) proto_item_append_text(ti, "None"); } offset += 4; proto_tree_add_item(tree, hf_zbee_zdp_duration, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_nwk_disc */ /** *ZigBee Device Profile dissector for the link quality information * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_lqi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_lqi */ /** *ZigBee Device Profile dissector for the routing table * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_rtg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_rtg */ /** *ZigBee Device Profile dissector for the binding table * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_bind */ /** *ZigBee Device Profile dissector for the leave request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_leave(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { guint offset = 0; guint64 ext_addr; static int * const flags[] = { &hf_zbee_zdp_leave_children, &hf_zbee_zdp_leave_rejoin, NULL }; ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, 8, NULL); if (version >= ZBEE_VERSION_2007) { /* Flags present on ZigBee 2006 & later. */ proto_tree_add_bitmask_list(tree, tvb, offset, 1, flags, ENC_NA); offset += 1; } zbee_append_info(tree, pinfo, ", Device: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_bind */ /** *ZigBee Device Profile dissector for the direct join request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_direct_join(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint64 ext_addr; /*guint8 cinfo;*/ ext_addr = zbee_parse_eui64(tree, hf_zbee_zdp_ext_addr, tvb, &offset, 8, NULL); /*cinfo =*/ zdp_parse_cinfo(tree, ett_zbee_zdp_cinfo, tvb, &offset); zbee_append_info(tree, pinfo, ", Device: %s", eui64_to_display(pinfo->pool, ext_addr)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_direct_join */ /** *ZigBee Device Profile dissector for the permit joining * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_permit_join(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; proto_tree_add_item(tree, hf_zbee_zdp_duration, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_significance, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; if (tvb_captured_length_remaining(tvb, offset)) { offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_MGMT_PERMIT_JOIN); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } } /* dissect_zbee_zdp_req_mgmt_permit_join */ /** *ZigBee Device Profile dissector for the cache request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_cache(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_cache */ /** *ZigBee Device Profile dissector for the nwk update request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_nwkupdate(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 duration; zdp_parse_chanmask(tree, tvb, &offset, hf_zbee_zdp_channel_page, hf_zbee_zdp_channel_mask); proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_duration, tvb, offset, 1, ENC_LITTLE_ENDIAN, &duration); offset += 1; if (duration == ZBEE_ZDP_NWKUPDATE_PARAMETERS) { proto_tree_add_item(tree, hf_zbee_zdp_update_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_manager, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (duration == ZBEE_ZDP_NWKUPDATE_CHANNEL_HOP) { proto_tree_add_item(tree, hf_zbee_zdp_update_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } else if (duration <= ZBEE_ZDP_NWKUPDATE_SCAN_MAX) { proto_tree_add_item(tree, hf_zbee_zdp_scan_count, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_nwkupdate */ /** *ZigBee Device Profile dissector for the enhanced nwk update request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_nwkupdate_enh(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint32 i, duration, count; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_channel_page_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &count); offset += 1; for (i=0; i<count; i++) { zdp_parse_chanmask(tree, tvb, &offset, hf_zbee_zdp_channel_page, hf_zbee_zdp_channel_mask); } proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_duration, tvb, offset, 1, ENC_LITTLE_ENDIAN, &duration); offset += 1; if (duration == ZBEE_ZDP_NWKUPDATE_PARAMETERS) { proto_tree_add_item(tree, hf_zbee_zdp_update_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_manager, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (duration == ZBEE_ZDP_NWKUPDATE_CHANNEL_HOP) { proto_tree_add_item(tree, hf_zbee_zdp_update_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } else if (duration <= ZBEE_ZDP_NWKUPDATE_SCAN_MAX) { proto_tree_add_item(tree, hf_zbee_zdp_scan_count, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_nwkupdate_enh */ /** *ZigBee Device Profile dissector for the IEEE Joining List Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_ieee_join_list(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; proto_tree_add_item(tree, hf_zbee_zdp_ieee_join_start_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_ieee_join_list */ /** *ZigBee Device Profile dissector for the NWK Beacon Survey Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_mgmt_nwk_beacon_survey(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_MGMT_NWK_BEACON_SURVEY); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_mgmt_nwk_beacon_survey */ /** *ZigBee Device Profile dissector for the NWK Beacon Survey Response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_nwk_beacon_survey(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_MGMT_NWK_BEACON_SURVEY); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_nwk_beacon_survey */ /** *ZigBee Device Profile dissector for the Security Start Key Negotiation Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_security_start_key_negotiation(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_SECURITY_START_KEY_NEGOTIATION); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_security_start_key_negotiation */ /** *ZigBee Device Profile dissector for the Security Get Authentication Token Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_security_get_auth_token(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_SECURITY_GET_AUTH_TOKEN); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_security_get_auth_token */ /** *ZigBee Device Profile dissector for the Security Get Authentication Level Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_security_get_auth_level(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_SECURITY_GET_AUTH_LEVEL); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_security_get_auth_level */ /** *ZigBee Device Profile dissector for the Security Set Configuration Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_security_set_configuration(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_SECURITY_SET_CONFIGURATION); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_security_set_configuration */ /** *ZigBee Device Profile dissector for the Security Get Configuration Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_security_get_configuration(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 count; guint8 i; guint remaining_length; remaining_length = tvb_captured_length_remaining(tvb, offset); if (remaining_length > 0U) { count = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zbee_zdp_tlv_count, tvb, offset, 1, ENC_NA); offset += 1; for (i = 0; i < count; i++) { proto_tree_add_item(tree, hf_zbee_zdp_tlv_id, tvb, offset, 1, ENC_NA); offset += 1; } } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_security_get_configuration */ /** *ZigBee Device Profile dissector for the Security Start Key Update Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_security_start_key_update(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_SECURITY_START_KEY_UPDATE); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_security_start_key_update */ /** *ZigBee Device Profile dissector for the Security Decommission Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_security_decommission(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_SECURITY_DECOMMISSION); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_req_security_decommission */ /** *ZigBee Device Profile dissector for the Security Challenge Request. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_req_security_challenge(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_REQ_SECURITY_CHALLENGE); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /************************************** * MANAGEMENT RESPONSES ************************************** */ /** *ZigBee Device Profile dissector for the network discovery * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_nwk_disc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_tree *field_tree = NULL; guint offset = 0; guint8 status; guint32 i, table_count; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &table_count); offset += 1; if (tree && table_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zbee_zdp_nwk, NULL, "Network List"); } for (i=0; i<table_count; i++) { zdp_parse_nwk_desc(field_tree, tvb, &offset, version); } /* for */ zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_nwk_disc */ /** *ZigBee Device Profile dissector for the link quality information * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_lqi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_tree *field_tree = NULL; guint offset = 0; guint8 status; guint32 i, table_count; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &table_count); offset += 1; if (table_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zbee_zdp_lqi, NULL, "Neighbor Table"); for (i=0; i<table_count; i++) { zdp_parse_neighbor_table_entry(field_tree, tvb, &offset, version); } } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_lqi */ /** *ZigBee Device Profile dissector for the routing table * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_rtg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_item *ti; proto_tree *field_tree = NULL; guint offset = 0; guint8 status; guint32 i, table_count; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &table_count); offset += 1; if (tree && table_count) { ti = proto_tree_add_item(tree, hf_zbee_zdp_rtg, tvb, offset, -1, ENC_NA); field_tree = proto_item_add_subtree(ti, ett_zbee_zdp_rtg); } for (i=0; i<table_count; i++) { zdp_parse_routing_table_entry(field_tree, tvb, &offset); } /* for */ zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_rtg */ /** *ZigBee Device Profile dissector for the binding table * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_bind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version) { proto_tree *field_tree = NULL; guint offset = 0; guint8 status; guint32 i, table_count; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &table_count); offset += 1; if (tree && table_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zbee_zdp_bind, NULL, "Binding Table"); } for (i=0; i<table_count; i++) { zdp_parse_bind_table_entry(field_tree, tvb, &offset, version); } /* for */ zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_bind */ /** *ZigBee Device Profile dissector for the leave response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_leave(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_bind */ /** *ZigBee Device Profile dissector for the direct join response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_direct_join(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_direct_join */ /** *ZigBee Device Profile dissector for the permit joining response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_permit_join(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint8 status; status = zdp_parse_status(tree, tvb, &offset); zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_permit_join */ /** *ZigBee Device Profile dissector for the cache response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_cache(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *field_tree = NULL; proto_tree *ti; guint offset = 0; guint8 status; guint32 i, table_count; status = zdp_parse_status(tree, tvb, &offset); proto_tree_add_item(tree, hf_zbee_zdp_table_size, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_index, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_table_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &table_count); offset += 1; if (table_count) { field_tree = proto_tree_add_subtree(tree, tvb, offset, table_count*(2+8), ett_zbee_zdp_cache, NULL, "Discovery Cache"); for (i=0; i<table_count; i++) { guint16 addr16 = tvb_get_letohs(tvb, offset+8); ti = proto_tree_add_item(field_tree, hf_zbee_zdp_cache_address, tvb, offset, 8, ENC_LITTLE_ENDIAN); /* XXX - make 16-bit address filterable? */ proto_item_append_text(ti, " = 0x%04x", addr16); proto_item_set_len(ti, 8+2); offset += 2+8; } } zbee_append_info(tree, pinfo, ", Status: %s", zdp_status_name(status)); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_bind */ /** *ZigBee Device Profile dissector for both the enhanced and *non-enhanced nwk update notify. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_not_mgmt_nwkupdate(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; guint i, j; /*guint8 status;*/ guint32 channels, channel_count; /*status =*/ zdp_parse_status(tree, tvb, &offset); channels = zdp_parse_chanmask(tree, tvb, &offset, hf_zbee_zdp_channel_page, hf_zbee_zdp_channel_mask); proto_tree_add_item(tree, hf_zbee_zdp_tx_total, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_tx_fail, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_channel_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &channel_count); offset += 1; /* Display the channel list. */ for (i=0, j=0; i<(8*4); i++) { guint8 energy; if ( ! ((1<<i) & channels) ) { /* Channel not scanned. */ continue; } if (j>=channel_count) { /* Channel list has ended. */ break; } /* Get and display the channel energy. */ energy = tvb_get_guint8(tvb, offset); proto_tree_add_uint_format(tree, hf_zbee_zdp_channel_energy, tvb, offset, 1, energy, "Channel %d Energy: 0x%02x", i, energy); offset += 1; /* Increment the number of channels we found energy values for. */ j++; } /* for */ /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_not_mgmt_nwkupdate */ /** *ZigBee Device Profile dissector for the IEEE Joining List Response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_mgmt_ieee_join_list(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint32 i, status, list_total, list_count; guint offset = 0; status = zdp_parse_status(tree, tvb, &offset); if (status == 0x00) { proto_tree_add_item(tree, hf_zbee_zdp_ieee_join_update_id, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zbee_zdp_ieee_join_policy, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_ieee_join_list_total, tvb, offset, 1, ENC_LITTLE_ENDIAN, &list_total); offset += 1; if (list_total > 0) { proto_tree_add_item(tree, hf_zbee_zdp_ieee_join_list_start, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; proto_tree_add_item_ret_uint(tree, hf_zbee_zdp_ieee_join_list_count, tvb, offset, 1, ENC_LITTLE_ENDIAN, &list_count); offset += 1; for(i=0; i<list_count; i++) { zbee_parse_eui64(tree, hf_zbee_zdp_ieee_join_list_ieee, tvb, &offset, 8, NULL); } } } /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_mgmt_ieee_join_list */ /** *ZigBee Device Profile dissector for the unsolicited nwk update notify. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_not_mgmt_unsolicited_nwkupdate(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); zdp_parse_chanmask(tree, tvb, &offset, hf_zbee_zdp_channel_page, hf_zbee_zdp_channel_mask); proto_tree_add_item(tree, hf_zbee_zdp_tx_total, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_tx_fail, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_tx_retries, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zbee_zdp_period_time_results, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_not_mgmt_unsolicited_nwkupdate */ /** *ZigBee Device Profile dissector for the security start key negotiation response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_security_start_key_negotiation(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_SECURITY_START_KEY_NEGOTIATION); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_security_start_key_negotiation */ /** *ZigBee Device Profile dissector for the security get authentication token response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_security_get_auth_token(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_SECURITY_GET_AUTH_TOKEN); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_security_get_auth_token */ /** *ZigBee Device Profile dissector for the security get authentication level response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_security_get_auth_level(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_SECURITY_GET_AUTH_LEVEL); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_security_get_auth_level */ /** *ZigBee Device Profile dissector for the security set configuration response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_security_set_configuration(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_SECURITY_SET_CONFIGURATION); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_security_set_configuration */ /** *ZigBee Device Profile dissector for the security get configuration response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_security_get_configuration(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_SECURITY_GET_CONFIGURATION); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_security_get_configuration */ /** *ZigBee Device Profile dissector for the security start key update response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_security_start_key_update(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_SECURITY_START_KEY_UPDATE); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_security_start_key_update */ /** *ZigBee Device Profile dissector for the security start key update response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_security_decommission(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_SECURITY_DECOMMISSION); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* dissect_zbee_zdp_rsp_security_decommission */ /** *ZigBee Device Profile dissector for the Security Challenge Response. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ void dissect_zbee_zdp_rsp_security_challenge(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint offset = 0; zdp_parse_status(tree, tvb, &offset); offset = dissect_zbee_tlvs(tvb, pinfo, tree, offset, NULL, ZBEE_TLV_SRC_TYPE_ZBEE_ZDP, ZBEE_ZDP_RSP_SECURITY_CHALLENGE); /* Dump any leftover bytes. */ zdp_dump_excess(tvb, offset, pinfo, tree); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbee-zdp.c
/* packet-zbee-zdp.c * Dissector routines for the ZigBee Device Profile (ZDP) * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Include Files */ #include "config.h" #include <epan/packet.h> #include <epan/expert.h> #include <wsutil/bits_ctz.h> #include <wsutil/str_util.h> #include "packet-zbee.h" #include "packet-zbee-aps.h" #include "packet-zbee-nwk.h" #include "packet-zbee-zdp.h" #include "packet-zbee-zdp.h" void proto_reg_handoff_zbee_zdp(void); void proto_register_zbee_zdp(void); /*************************/ /* Function Declarations */ /*************************/ /* Local Helper routines. */ static guint16 zdp_convert_2003cluster (guint8 cluster); /************************************** * Field Indicies ************************************** */ /* Global field indicies. */ static int proto_zbee_zdp = -1; static int hf_zbee_zdp_seqno = -1; #if 0 static int hf_zbee_zdp_length = -1; /* Deprecates since ZigBee 2006. */ #endif /* General indicies. */ int hf_zbee_zdp_ext_addr = -1; int hf_zbee_zdp_nwk_addr = -1; int hf_zbee_zdp_req_type = -1; int hf_zbee_zdp_index = -1; static int hf_zbee_zdp_status = -1; int hf_zbee_zdp_ep_count = -1; int hf_zbee_zdp_endpoint = -1; int hf_zbee_zdp_profile = -1; int hf_zbee_zdp_cluster = -1; int hf_zbee_zdp_addr_mode = -1; int hf_zbee_zdp_table_size = -1; int hf_zbee_zdp_table_count = -1; int hf_zbee_zdp_in_count = -1; int hf_zbee_zdp_out_count = -1; int hf_zbee_zdp_in_cluster = -1; int hf_zbee_zdp_out_cluster = -1; int hf_zbee_zdp_assoc_device_count = -1; int hf_zbee_zdp_assoc_device = -1; int hf_zbee_zdp_cache_address = -1; /* Capability information indicies. */ static int hf_zbee_zdp_cinfo = -1; static int hf_zbee_zdp_cinfo_alloc = -1; static int hf_zbee_zdp_cinfo_security = -1; static int hf_zbee_zdp_cinfo_idle_rx = -1; static int hf_zbee_zdp_cinfo_power = -1; static int hf_zbee_zdp_cinfo_ffd = -1; static int hf_zbee_zdp_cinfo_alt_coord = -1; /* Server mode flag indicies. */ static int hf_zbee_zdp_server = -1; static int hf_zbee_zdp_server_pri_trust = -1; static int hf_zbee_zdp_server_bak_trust = -1; static int hf_zbee_zdp_server_pri_bind = -1; static int hf_zbee_zdp_server_bak_bind = -1; static int hf_zbee_zdp_server_pri_disc = -1; static int hf_zbee_zdp_server_bak_disc = -1; static int hf_zbee_zdp_server_network_manager = -1; static int hf_zbee_zdp_server_stk_compl_rev = -1; /* Node descriptor indicies. */ static int hf_zbee_zdp_node_type = -1; static int hf_zbee_zdp_node_complex = -1; static int hf_zbee_zdp_node_user = -1; static int hf_zbee_zdp_node_frag_support = -1; static int hf_zbee_zdp_node_freq_868 = -1; static int hf_zbee_zdp_node_freq_900 = -1; static int hf_zbee_zdp_node_freq_2400 = -1; static int hf_zbee_zdp_node_freq_eu_sub_ghz = -1; static int hf_zbee_zdp_node_manufacturer = -1; static int hf_zbee_zdp_node_max_buffer = -1; static int hf_zbee_zdp_node_max_incoming_transfer = -1; static int hf_zbee_zdp_node_max_outgoing_transfer = -1; static int hf_zbee_zdp_dcf = -1; static int hf_zbee_zdp_dcf_eaela = -1; static int hf_zbee_zdp_dcf_esdla = -1; /* Power descriptor indicies. */ static int hf_zbee_zdp_power = -1; static int hf_zbee_zdp_power_mode = -1; static int hf_zbee_zdp_power_avail_ac = -1; static int hf_zbee_zdp_power_avail_recharge = -1; static int hf_zbee_zdp_power_avail_dispose = -1; static int hf_zbee_zdp_power_source_ac = -1; static int hf_zbee_zdp_power_source_recharge = -1; static int hf_zbee_zdp_power_source_dispose = -1; static int hf_zbee_zdp_power_level = -1; /* Simple descriptor indicies. */ static int hf_zbee_zdp_simple_app_device = -1; static int hf_zbee_zdp_simple_zll_app_device = -1; static int hf_zbee_zdp_simple_ha_app_device = -1; static int hf_zbee_zdp_simple_app_version = -1; int hf_zbee_zdp_simple_length = -1; /* Complex descriptor indicies. */ int hf_zbee_zdp_complex_length = -1; static int hf_zbee_zdp_complex = -1; /* User descriptor indicies. */ int hf_zbee_zdp_user = -1; int hf_zbee_zdp_user_length = -1; /* Discovery indicies. */ int hf_zbee_zdp_cache = -1; int hf_zbee_zdp_disc_node_size = -1; int hf_zbee_zdp_disc_power_size = -1; int hf_zbee_zdp_disc_ep_count = -1; int hf_zbee_zdp_disc_simple_count = -1; int hf_zbee_zdp_disc_simple_size = -1; /* Binding indicies. */ int hf_zbee_zdp_target = -1; int hf_zbee_zdp_replacement = -1; int hf_zbee_zdp_replacement_ep = -1; int hf_zbee_zdp_bind_src = -1; int hf_zbee_zdp_bind_src64 = -1; int hf_zbee_zdp_bind_src_ep = -1; int hf_zbee_zdp_bind_dst = -1; int hf_zbee_zdp_bind_dst64 = -1; int hf_zbee_zdp_bind_dst_ep = -1; /* Network Management indicies. */ int hf_zbee_zdp_duration = -1; int hf_zbee_zdp_leave_children = -1; int hf_zbee_zdp_leave_rejoin = -1; int hf_zbee_zdp_significance = -1; int hf_zbee_zdp_scan_count = -1; int hf_zbee_zdp_update_id = -1; int hf_zbee_zdp_manager = -1; int hf_zbee_zdp_tx_total = -1; int hf_zbee_zdp_tx_fail = -1; int hf_zbee_zdp_tx_retries = -1; int hf_zbee_zdp_period_time_results = -1; int hf_zbee_zdp_channel_count = -1; int hf_zbee_zdp_channel_mask = -1; int hf_zbee_zdp_channel_page = -1; int hf_zbee_zdp_channel_page_count = -1; int hf_zbee_zdp_channel_energy = -1; int hf_zbee_zdp_pan_eui64 = -1; int hf_zbee_zdp_pan_uint = -1; int hf_zbee_zdp_channel = -1; int hf_zbee_zdp_nwk_desc_profile = -1; int hf_zbee_zdp_profile_version = -1; int hf_zbee_zdp_beacon = -1; int hf_zbee_zdp_superframe = -1; int hf_zbee_zdp_permit_joining = -1; int hf_zbee_zdp_extended_pan = -1; int hf_zbee_zdp_addr = -1; int hf_zbee_zdp_table_entry_type = -1; int hf_zbee_zdp_table_entry_idle_rx_0c = -1; int hf_zbee_zdp_table_entry_relationship_70 = -1; int hf_zbee_zdp_table_entry_idle_rx_04 = -1; int hf_zbee_zdp_table_entry_relationship_18 = -1; int hf_zbee_zdp_depth = -1; int hf_zbee_zdp_permit_joining_03 = -1; int hf_zbee_zdp_lqi = -1; static int hf_zbee_zdp_scan_channel = -1; int hf_zbee_zdp_ieee_join_start_index = -1; int hf_zbee_zdp_ieee_join_update_id = -1; int hf_zbee_zdp_ieee_join_policy = -1; int hf_zbee_zdp_ieee_join_list_total = -1; int hf_zbee_zdp_ieee_join_list_start = -1; int hf_zbee_zdp_ieee_join_list_count = -1; int hf_zbee_zdp_ieee_join_list_ieee = -1; int hf_zbee_zdp_number_of_children = -1; int hf_zbee_zdp_beacon_survey_scan_mask = -1; int hf_zbee_zdp_beacon_survey_scan_mask_cnt = -1; int hf_zbee_zdp_beacon_survey_conf_mask = -1; int hf_zbee_zdp_beacon_survey_total = -1; int hf_zbee_zdp_beacon_survey_cur_zbn = -1; int hf_zbee_zdp_beacon_survey_cur_zbn_potent_parents = -1; int hf_zbee_zdp_beacon_survey_other_zbn = -1; int hf_zbee_zdp_beacon_survey_current_parent = -1; int hf_zbee_zdp_beacon_survey_cnt_parents = -1; int hf_zbee_zdp_beacon_survey_parent = -1; int hf_zbee_zdp_tlv_count = -1; int hf_zbee_zdp_tlv_id = -1; /* Routing Table */ int hf_zbee_zdp_rtg = -1; int hf_zbee_zdp_rtg_entry = -1; int hf_zbee_zdp_rtg_destination = -1; int hf_zbee_zdp_rtg_next_hop = -1; int hf_zbee_zdp_rtg_status = -1; /* Subtree indicies. */ static gint ett_zbee_zdp = -1; gint ett_zbee_zdp_endpoint = -1; gint ett_zbee_zdp_match_in = -1; gint ett_zbee_zdp_match_out = -1; gint ett_zbee_zdp_node = -1; static gint ett_zbee_zdp_node_in = -1; static gint ett_zbee_zdp_node_out = -1; gint ett_zbee_zdp_power = -1; gint ett_zbee_zdp_simple = -1; gint ett_zbee_zdp_cinfo = -1; gint ett_zbee_zdp_server = -1; gint ett_zbee_zdp_simple_sizes = -1; gint ett_zbee_zdp_bind = -1; gint ett_zbee_zdp_bind_entry = -1; gint ett_zbee_zdp_bind_end_in = -1; gint ett_zbee_zdp_bind_end_out = -1; static gint ett_zbee_zdp_bind_table = -1; gint ett_zbee_zdp_bind_source = -1; gint ett_zbee_zdp_assoc_device = -1; gint ett_zbee_zdp_nwk = -1; gint ett_zbee_zdp_perm_join_fc = -1; gint ett_zbee_zdp_lqi = -1; gint ett_zbee_zdp_rtg = -1; gint ett_zbee_zdp_cache = -1; gint ett_zbee_zdp_nwk_desc = -1; gint ett_zbee_zdp_table_entry = -1; static gint ett_zbee_zdp_descriptor_capability_field = -1; /* Expert Info */ static expert_field ei_deprecated_command = EI_INIT; /************************************** * Value Strings ************************************** */ static const value_string zbee_zdp_req_types[] = { { ZBEE_ZDP_REQ_TYPE_SINGLE, "Single Device Response" }, { ZBEE_ZDP_REQ_TYPE_EXTENDED, "Extended Response" }, { 0, NULL } }; const value_string zbee_zdp_cluster_names[] = { { ZBEE_ZDP_REQ_NWK_ADDR, "Network Address Request" }, { ZBEE_ZDP_REQ_IEEE_ADDR, "Extended Address Request" }, { ZBEE_ZDP_REQ_NODE_DESC, "Node Descriptor Request" }, { ZBEE_ZDP_REQ_POWER_DESC, "Power Descriptor Request" }, { ZBEE_ZDP_REQ_SIMPLE_DESC, "Simple Descriptor Request" }, { ZBEE_ZDP_REQ_ACTIVE_EP, "Active Endpoint Request" }, { ZBEE_ZDP_REQ_MATCH_DESC, "Match Descriptor Request" }, { ZBEE_ZDP_REQ_COMPLEX_DESC, "Complex Descriptor Request" }, { ZBEE_ZDP_REQ_USER_DESC, "User Descriptor Request" }, { ZBEE_ZDP_REQ_DISCOVERY_CACHE, "Discovery Cache Request" }, { ZBEE_ZDP_REQ_DEVICE_ANNCE, "Device Announcement" }, { ZBEE_ZDP_REQ_PARENT_ANNCE, "Parent Announce" }, { ZBEE_ZDP_REQ_SET_USER_DESC, "Set User Descriptor Request" }, { ZBEE_ZDP_REQ_SYSTEM_SERVER_DISC, "Server Discovery Request" }, { ZBEE_ZDP_REQ_STORE_DISCOVERY, "Store Discovery Request" }, { ZBEE_ZDP_REQ_STORE_NODE_DESC, "Store Node Descriptor Request" }, { ZBEE_ZDP_REQ_STORE_POWER_DESC, "Store Power Descriptor Request" }, { ZBEE_ZDP_REQ_STORE_ACTIVE_EP, "Store Active Endpoints Request" }, { ZBEE_ZDP_REQ_STORE_SIMPLE_DESC, "Store Simple Descriptor Request" }, { ZBEE_ZDP_REQ_REMOVE_NODE_CACHE, "Remove Node Cache Request" }, { ZBEE_ZDP_REQ_FIND_NODE_CACHE, "Find Node Cache Request" }, { ZBEE_ZDP_REQ_EXT_SIMPLE_DESC, "Extended Simple Descriptor Request" }, { ZBEE_ZDP_REQ_EXT_ACTIVE_EP, "Extended Active Endpoint Request" }, { ZBEE_ZDP_REQ_END_DEVICE_BIND, "End Device Bind Request" }, { ZBEE_ZDP_REQ_BIND, "Bind Request" }, { ZBEE_ZDP_REQ_UNBIND, "Unbind Request" }, { ZBEE_ZDP_REQ_BIND_REGISTER, "Bind Register Request" }, { ZBEE_ZDP_REQ_REPLACE_DEVICE, "Replace Device Request" }, { ZBEE_ZDP_REQ_STORE_BAK_BIND_ENTRY, "Store Backup Binding Request" }, { ZBEE_ZDP_REQ_REMOVE_BAK_BIND_ENTRY, "Remove Backup Binding Request" }, { ZBEE_ZDP_REQ_BACKUP_BIND_TABLE, "Backup Binding Table Request" }, { ZBEE_ZDP_REQ_RECOVER_BIND_TABLE, "Recover Binding Table Request" }, { ZBEE_ZDP_REQ_BACKUP_SOURCE_BIND, "Backup Source Binding Request" }, { ZBEE_ZDP_REQ_RECOVER_SOURCE_BIND, "Recover Source Binding Request" }, { ZBEE_ZDP_REQ_CLEAR_ALL_BINDINGS, "Clear All Bindings Request" }, { ZBEE_ZDP_REQ_MGMT_NWK_DISC, "Network Discovery Request" }, { ZBEE_ZDP_REQ_MGMT_LQI, "Link Quality Request" }, { ZBEE_ZDP_REQ_MGMT_RTG, "Routing Table Request" }, { ZBEE_ZDP_REQ_MGMT_BIND, "Binding Table Request" }, { ZBEE_ZDP_REQ_MGMT_LEAVE, "Leave Request" }, { ZBEE_ZDP_REQ_MGMT_DIRECT_JOIN, "Direct Join Request" }, { ZBEE_ZDP_REQ_MGMT_PERMIT_JOIN, "Permit Join Request" }, { ZBEE_ZDP_REQ_MGMT_CACHE, "Cache Request" }, { ZBEE_ZDP_REQ_MGMT_NWKUPDATE, "Network Update Request" }, { ZBEE_ZDP_REQ_MGMT_NWKUPDATE_ENH, "Network Update Enhanced Request" }, { ZBEE_ZDP_REQ_MGMT_IEEE_JOIN_LIST, "IEEE Joining List Request" }, { ZBEE_ZDP_REQ_MGMT_NWK_BEACON_SURVEY, "Beacon Survey Request"}, { ZBEE_ZDP_REQ_SECURITY_START_KEY_NEGOTIATION,"Security Start Key Negotiation Request" }, { ZBEE_ZDP_REQ_SECURITY_GET_AUTH_TOKEN, "Security Get Authentication Token Request"}, { ZBEE_ZDP_REQ_SECURITY_GET_AUTH_LEVEL, "Security Get Authentication Level Request"}, { ZBEE_ZDP_REQ_SECURITY_SET_CONFIGURATION, "Security Set Configuration Request"}, { ZBEE_ZDP_REQ_SECURITY_GET_CONFIGURATION, "Security Get Configuration Request"}, { ZBEE_ZDP_REQ_SECURITY_START_KEY_UPDATE, "Security Start Key Update Request"}, { ZBEE_ZDP_REQ_SECURITY_DECOMMISSION, "Security Decommission Request"}, { ZBEE_ZDP_REQ_SECURITY_CHALLENGE, "Security Challenge Request"}, { ZBEE_ZDP_RSP_NWK_ADDR, "Network Address Response" }, { ZBEE_ZDP_RSP_IEEE_ADDR, "Extended Address Response" }, { ZBEE_ZDP_RSP_NODE_DESC, "Node Descriptor Response" }, { ZBEE_ZDP_RSP_POWER_DESC, "Power Descriptor Response" }, { ZBEE_ZDP_RSP_SIMPLE_DESC, "Simple Descriptor Response" }, { ZBEE_ZDP_RSP_ACTIVE_EP, "Active Endpoint Response" }, { ZBEE_ZDP_RSP_MATCH_DESC, "Match Descriptor Response" }, { ZBEE_ZDP_RSP_COMPLEX_DESC, "Complex Descriptor Response" }, { ZBEE_ZDP_RSP_USER_DESC, "User Descriptor Response" }, { ZBEE_ZDP_RSP_DISCOVERY_CACHE, "Discovery Cache Response" }, { ZBEE_ZDP_RSP_CONF_USER_DESC, "Set User Descriptor Confirm" }, { ZBEE_ZDP_RSP_SYSTEM_SERVER_DISC, "Server Discovery Response" }, { ZBEE_ZDP_RSP_STORE_DISCOVERY, "Store Discovery Response" }, { ZBEE_ZDP_RSP_STORE_NODE_DESC, "Store Node Descriptor Response" }, { ZBEE_ZDP_RSP_STORE_POWER_DESC, "Store Power Descriptor Response" }, { ZBEE_ZDP_RSP_STORE_ACTIVE_EP, "Store Active Endpoints Response" }, { ZBEE_ZDP_RSP_STORE_SIMPLE_DESC, "Store Simple Descriptor Response" }, { ZBEE_ZDP_RSP_REMOVE_NODE_CACHE, "Remove Node Cache Response" }, { ZBEE_ZDP_RSP_FIND_NODE_CACHE, "Find Node Cache Response" }, { ZBEE_ZDP_RSP_EXT_SIMPLE_DESC, "Extended Simple Descriptor Response" }, { ZBEE_ZDP_RSP_EXT_ACTIVE_EP, "Extended Active Endpoint Response" }, { ZBEE_ZDP_RSP_PARENT_ANNCE, "Parent Announce Response" }, { ZBEE_ZDP_RSP_END_DEVICE_BIND, "End Device Bind Response" }, { ZBEE_ZDP_RSP_BIND, "Bind Response" }, { ZBEE_ZDP_RSP_UNBIND, "Unbind Response" }, { ZBEE_ZDP_RSP_BIND_REGISTER, "Bind Register Response" }, { ZBEE_ZDP_RSP_REPLACE_DEVICE, "Replace Device Response" }, { ZBEE_ZDP_RSP_STORE_BAK_BIND_ENTRY, "Store Backup Binding Response" }, { ZBEE_ZDP_RSP_REMOVE_BAK_BIND_ENTRY, "Remove Backup Binding Response" }, { ZBEE_ZDP_RSP_BACKUP_BIND_TABLE, "Backup Binding Table Response" }, { ZBEE_ZDP_RSP_RECOVER_BIND_TABLE, "Recover Binding Table Response" }, { ZBEE_ZDP_RSP_BACKUP_SOURCE_BIND, "Backup Source Binding Response" }, { ZBEE_ZDP_RSP_RECOVER_SOURCE_BIND, "Recover Source Binding Response" }, { ZBEE_ZDP_RSP_CLEAR_ALL_BINDINGS, "Clear All Bindings Response" }, { ZBEE_ZDP_RSP_MGMT_NWK_DISC, "Network Discovery Response" }, { ZBEE_ZDP_RSP_MGMT_LQI, "Link Quality Response" }, { ZBEE_ZDP_RSP_MGMT_RTG, "Routing Table Response" }, { ZBEE_ZDP_RSP_MGMT_BIND, "Binding Table Response" }, { ZBEE_ZDP_RSP_MGMT_LEAVE, "Leave Response" }, { ZBEE_ZDP_RSP_MGMT_DIRECT_JOIN, "Direct Join Response" }, { ZBEE_ZDP_RSP_MGMT_PERMIT_JOIN, "Permit Join Response" }, { ZBEE_ZDP_RSP_MGMT_CACHE, "Cache Response" }, { ZBEE_ZDP_NOT_MGMT_NWKUPDATE, "Network Update Notify" }, { ZBEE_ZDP_NOT_MGMT_NWKUPDATE_ENH, "Network Enhanced Update Notify" }, { ZBEE_ZDP_RSP_MGMT_IEEE_JOIN_LIST, "IEEE Joining List Response" }, { ZBEE_ZDP_NOT_MGMT_UNSOLICITED_NWKUPDATE, "Unsolicited Enhanced Network Update Notify" }, { ZBEE_ZDP_RSP_MGMT_NWK_BEACON_SURVEY, "Beacon Survey Response"}, { ZBEE_ZDP_RSP_SECURITY_START_KEY_NEGOTIATION,"Security Start Key Negotiation Response" }, { ZBEE_ZDP_RSP_SECURITY_GET_AUTH_TOKEN, "Security Get Authentication Token Response"}, { ZBEE_ZDP_RSP_SECURITY_GET_AUTH_LEVEL, "Security Get Authentication Level Response"}, { ZBEE_ZDP_RSP_SECURITY_SET_CONFIGURATION, "Security Set Configuration Response"}, { ZBEE_ZDP_RSP_SECURITY_GET_CONFIGURATION, "Security Get Configuration Response"}, { ZBEE_ZDP_RSP_SECURITY_START_KEY_UPDATE, "Security Start Key Update Response"}, { ZBEE_ZDP_RSP_SECURITY_DECOMMISSION, "Security Decommission Response"}, { ZBEE_ZDP_RSP_SECURITY_CHALLENGE, "Security Challenge Response"}, { 0, NULL } }; static const value_string zbee_zdp_status_names[] = { { ZBEE_ZDP_STATUS_SUCCESS, "Success" }, { ZBEE_ZDP_STATUS_INV_REQUESTTYPE, "Invalid Request Type" }, { ZBEE_ZDP_STATUS_DEVICE_NOT_FOUND, "Device Not Found" }, { ZBEE_ZDP_STATUS_INVALID_EP, "Invalid Endpoint" }, { ZBEE_ZDP_STATUS_NOT_ACTIVE, "Not Active" }, { ZBEE_ZDP_STATUS_NOT_SUPPORTED, "Not Supported" }, { ZBEE_ZDP_STATUS_TIMEOUT, "Timeout" }, { ZBEE_ZDP_STATUS_NO_MATCH, "No Match" }, { ZBEE_ZDP_STATUS_NO_ENTRY, "No Entry" }, { ZBEE_ZDP_STATUS_NO_DESCRIPTOR, "No Descriptor" }, { ZBEE_ZDP_STATUS_INSUFFICIENT_SPACE, "Insufficient Space" }, { ZBEE_ZDP_STATUS_NOT_PERMITTED, "Not Permitted" }, { ZBEE_ZDP_STATUS_TABLE_FULL, "Table Full" }, { ZBEE_ZDP_STATUS_NOT_AUTHORIZED, "Not Authorized" }, { ZBEE_ZDP_STATUS_DEVICE_BINDING_TABLE_FULL, "Device Binding Table Full" }, { ZBEE_ZDP_STATUS_INVALID_INDEX, "Invalid Index" }, { ZBEE_ZDP_STATUS_RESPONSE_TOO_LARGE, "Response Too Large" }, { ZBEE_ZDP_STATUS_MISSING_TLV, "Missing TLV" }, { 0, NULL } }; static const value_string zbee_zll_device_names[] = { { ZBEE_ZLL_DEVICE_ON_OFF_LIGHT, "On/Off light" }, { ZBEE_ZLL_DEVICE_ON_OFF_PLUG_IN_UNIT, "On/Off plug-in unit" }, { ZBEE_ZLL_DEVICE_DIMMABLE_LIGHT, "Dimmable light" }, { ZBEE_ZLL_DEVICE_DIMMABLE_PLUG_IN_UNIT, "Dimmable plug-in unit" }, { ZBEE_ZLL_DEVICE_COLOR_LIGHT, "Color light" }, { ZBEE_ZLL_DEVICE_EXTENDED_COLOR_LIGHT, "Extended color light" }, { ZBEE_ZLL_DEVICE_COLOR_TEMPERATURE_LIGHT, "Color temperature light" }, { ZBEE_ZLL_DEVICE_COLOR_CONTROLLER, "Color controller" }, { ZBEE_ZLL_DEVICE_COLOR_SCENE_CONTROLLER, "Color scene controller" }, { ZBEE_ZLL_DEVICE_NON_COLOR_CONTROLLER, "Non-color controller" }, { ZBEE_ZLL_DEVICE_NON_COLOR_SCENE_CONTROLLER, "Non-color scene controller" }, { ZBEE_ZLL_DEVICE_CONTROL_BRIDGE, "Control Bridge" }, { ZBEE_ZLL_DEVICE_ON_OFF_SENSOR, "On/Off sensor" }, { 0, NULL } }; static const value_string zbee_ha_device_names[] = { { ZBEE_HA_DEVICE_ON_OFF_LIGHT, "On/Off light" }, { ZBEE_HA_DEVICE_DIMMABLE_LIGHT, "Dimmable light" }, { ZBEE_HA_DEVICE_COLOR_DIMMABLE_LIGHT, "Color dimmable light" }, { ZBEE_HA_DEVICE_ON_OFF_LIGHT_SWITCH, "On/Off light switch" }, { ZBEE_HA_DEVICE_DIMMER_SWITCH, "Dimmer switch" }, { ZBEE_HA_DEVICE_COLOR_DIMMER_SWITCH, "Color dimmer switch" }, { ZBEE_HA_DEVICE_LIGHT_SENSOR, "Light sensor" }, { ZBEE_HA_DEVICE_OCCUPANCY_SENSOR, "Occupancy sensor" }, { ZBEE_HA_DEVICE_ON_OFF_BALLAST, "On/Off ballast" }, { ZBEE_HA_DEVICE_DIMMABLE_BALLAST, "Dimmable ballast" }, { ZBEE_HA_DEVICE_ON_OFF_PLUG_IN_UNIT, "On/Off plug-in unit" }, { ZBEE_HA_DEVICE_DIMMABLE_PLUG_IN_UNIT, "Dimmable plug-in unit" }, { ZBEE_HA_DEVICE_COLOR_TEMPERATURE_LIGHT, "Color temperature light" }, { ZBEE_HA_DEVICE_EXTENDED_COLOR_LIGHT, "Extended color light" }, { ZBEE_HA_DEVICE_LIGHT_LEVEL_SENSOR, "Light level sensor" }, { ZBEE_HA_DEVICE_COLOR_CONTROLLER, "Color controller" }, { ZBEE_HA_DEVICE_COLOR_SCENE_CONTROLLER, "Color scene controller" }, { ZBEE_HA_DEVICE_NON_COLOR_CONTROLLER, "Non-color controller" }, { ZBEE_HA_DEVICE_NON_COLOR_SCENE_CONTROLLER, "Non-color scene controller" }, { ZBEE_HA_DEVICE_CONTROL_BRIDGE, "Control Bridge" }, { ZBEE_HA_DEVICE_ON_OFF_SENSOR, "On/Off sensor" }, { 0, NULL } }; const value_string zbee_zdp_rtg_status_vals[] = { { 0x00, "Active" }, { 0x01, "Discovery Underway" }, { 0x02, "Discovery Failed" }, { 0x03, "Inactive" }, { 0, NULL } }; static const value_string zbee_zdp_ieee_join_policy_vals[] = { { 0x00, "All Join" }, { 0x01, "IEEE Join" }, { 0x02, "No Join" }, { 0, NULL } }; /* The reason this has it's own value_string and doesn't use tfs_true_false, is that some hf_ fields use bitmasks larger than 0x01, and it's intentional that those other values be "Unknown" (which is what value_string will give us) */ static const value_string zbee_zdp_true_false_plus_vals[] = { { 0x00, "False" }, { 0x01, "True" }, { 0, NULL } }; static const value_string zbee_zdp_table_entry_type_vals[] = { { 0x00, "Coordinator" }, { 0x01, "Router" }, { 0x02, "End Device" }, { 0, NULL } }; static const value_string zbee_zdp_relationship_vals[] = { { 0x00, "Parent" }, { 0x01, "Child" }, { 0x02, "Sibling" }, { 0x03, "None" }, { 0x04, "Previous Child" }, { 0, NULL } }; static const range_string zbee_zcl_zdp_address_modes[] = { { 0x0, 0x0, "Reserved" }, { ZBEE_ZDP_ADDR_MODE_GROUP, ZBEE_ZDP_ADDR_MODE_GROUP, "Group" }, { 0x02, 0x02, "Reserved" }, { ZBEE_ZDP_ADDR_MODE_UNICAST, ZBEE_ZDP_ADDR_MODE_UNICAST, "Unicast" }, { 0x03, 0xFF, "Reserved" }, { 0, 0, NULL } }; /* if (tree) { if (type == 0x00) proto_item_append_text(ti, ", Type: Coordinator"); else if (type == 0x01) proto_item_append_text(ti, ", Type: Router"); else if (type == 0x02) proto_item_append_text(ti, ", Type: End Device"); else proto_item_append_text(ti, ", Type: Unknown"); if (idle_rx == 0x00) proto_item_append_text(ti, ", Idle Rx: False"); else if (idle_rx==0x01) proto_item_append_text(ti, ", Idle Rx: True"); else proto_item_append_text(ti, ", Idle Rx: Unknown"); if (rel == 0x00) proto_item_append_text(ti, ", Relationship: Parent"); else if (rel == 0x01) proto_item_append_text(ti, ", Relationship: Child"); else if (rel == 0x02) proto_item_append_text(ti, ", Relationship: Sibling"); else if (rel == 0x03) proto_item_append_text(ti, ", Relationship: None"); else if (rel == 0x04) proto_item_append_text(ti, ", Relationship: Previous Child"); else proto_item_append_text(ti, ", Relationship: Unknown"); } */ /** *Returns a status name for a given status value. * */ const gchar * zdp_status_name(guint8 status) { return val_to_str_const(status, zbee_zdp_status_names, "Reserved"); } /* zdp_status_name */ /** *Converts a ZigBee 2003 & earlier cluster ID to a 2006 * */ static guint16 zdp_convert_2003cluster(guint8 cluster) { guint16 cluster16 = (guint16)cluster; if (cluster16 & ZBEE_ZDP_MSG_RESPONSE_BIT_2003) { /* Clear the 2003 request bit. */ cluster16 &= ~(ZBEE_ZDP_MSG_RESPONSE_BIT_2003); /* Set the 2006 request bit. */ cluster16 |= (ZBEE_ZDP_MSG_RESPONSE_BIT); } return cluster16; } /* zdp_convert_2003cluster */ /** *Helper functions dumps any excess data into the data dissector. * *@param tvb pointer to buffer containing raw packet. *@param offset offset after parsing last item. *@param pinfo packet information structure. *@param tree pointer to data tree Wireshark uses to display packet. */ void zdp_dump_excess(tvbuff_t *tvb, guint offset, packet_info *pinfo, proto_tree *tree) { proto_tree *root = proto_tree_get_root(tree); guint length = tvb_captured_length_remaining(tvb, offset); tvbuff_t *excess; if (length > 0) { excess = tvb_new_subset_remaining(tvb, offset); call_data_dissector(excess, pinfo, root); } } /* zdp_dump_excess */ /** *ZigBee helper function. Appends the info to the info column * *@param item item to display info on. *@param pinfo packet info struct. *@param format format string. */ void zbee_append_info(proto_item *item, packet_info *pinfo, const gchar *format, ...) { static gchar buffer[512]; va_list ap; va_start(ap, format); vsnprintf(buffer, 512, format, ap); va_end(ap); proto_item_append_text(item, "%s", buffer); col_append_str(pinfo->cinfo, COL_INFO, buffer); } /* zbee_add_info */ /** *ZigBee helper function. extracts an EUI64 address and displays * *@param tree pointer to data tree Wireshark uses to display packet. *@param hfindex index to field information. *@param tvb pointer to buffer containing raw packet. *@param offset pointer to value of offset. *@param length length of the value to extract. *@param ti optional pointer to get the created proto item. *@return the value read out of the tvbuff and added to the tree. */ guint64 zbee_parse_eui64(proto_tree *tree, int hfindex, tvbuff_t *tvb, guint *offset, guint length, proto_item **ti) { proto_item *item = NULL; guint64 value; /* Get the value. */ value = tvb_get_letoh64(tvb, *offset); /* Display it. */ item = proto_tree_add_eui64(tree, hfindex, tvb, *offset, length, value); /* Increment the offset. */ *offset += (int)sizeof(guint64); /* return the item if requested. */ if (ti) *ti = item; /* return the value. */ return value; } /* zbee_parse_eui64 */ /** *Parses and displays the status value. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset offset into the tvb to find the status value. */ guint8 zdp_parse_status(proto_tree *tree, tvbuff_t *tvb, guint *offset) { guint8 status; /* Get and display the flags. */ status = tvb_get_guint8(tvb, *offset); proto_tree_add_uint(tree, hf_zbee_zdp_status, tvb, *offset, (int)sizeof(guint8), status); *offset += (int)sizeof(guint8); return status; } /* zdp_parse_status */ /** *Parses and displays the a channel mask. * *@param tree pointer to data tree Wireshark uses to display packet. *@param tvb pointer to buffer containing raw packet. *@param offset offset into the tvb to find the status value. */ guint32 zdp_parse_chanmask(proto_tree *tree, tvbuff_t *tvb, guint *offset, int hf_page, int hf_channel) { int i; guint32 mask; guint8 page; proto_item *ti; /* Get and display the channel mask. */ mask = tvb_get_letohl(tvb, *offset); page = (guint8)((mask & ZBEE_ZDP_NWKUPDATE_PAGE) >> 27); mask &= ZBEE_ZDP_NWKUPDATE_CHANNEL; proto_tree_add_uint(tree, hf_page, tvb, *offset, 4, page); ti = proto_tree_add_uint_format(tree, hf_channel, tvb, *offset, 4, mask, "Channels: "); /* Check if there are any channels to display. */ if (mask==0) { proto_item_append_text(ti, "None"); } /* Display the first channel #. */ for (i=0; i<32; i++) { if ((1<<i) & mask) { proto_item_append_text(ti, "%d", i++); break; } } /* for */ /* Display the rest of the channels. */ for (;i<32; i++) { if (!((1<<i) & mask)) { /* This channel isn't selected. */ continue; } /* If the previous channel wasn't selected, then display the * channel number. */ if ( ! ((1<<(i-1)) & mask) ) { proto_item_append_text(ti, ", %d", i); } /* * If the next channel is selected too, skip past it and display * a range of values instead. */ if ((2<<i) & mask) { while ((2<<i) & mask) i++; proto_item_append_text(ti, "-%d", i); } } /* for */ *offset += (int)sizeof(guint32); return mask; } /* zdp_parse_chanmask */ /** *Parses and displays MAC capability info flags. * *@param tree pointer to data tree Wireshark uses to display packet. *@param ettindex subtree index to create the node descriptor in, or -1 *@param tvb pointer to buffer containing raw packet. *@param offset offset into the tvb to find the node descriptor. */ guint8 zdp_parse_cinfo(proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset) { guint8 flags; static int * const cinfo[] = { &hf_zbee_zdp_cinfo_alt_coord, &hf_zbee_zdp_cinfo_ffd, &hf_zbee_zdp_cinfo_power, &hf_zbee_zdp_cinfo_idle_rx, &hf_zbee_zdp_cinfo_security, &hf_zbee_zdp_cinfo_alloc, NULL }; /* Get and display the flags. */ proto_tree_add_bitmask_with_flags(tree, tvb, *offset, hf_zbee_zdp_cinfo, ettindex, cinfo, ENC_NA, BMT_NO_APPEND); flags = tvb_get_guint8(tvb, *offset); *offset += 1; return flags; } /* zdp_parse_cinfo */ /** *Parses and displays server mode flags. * *@param tree pointer to data tree Wireshark uses to display packet. *@param ettindex subtree index to create the node descriptor in, or -1 *@param tvb pointer to buffer containing raw packet. *@param offset offset into the tvb to find the node descriptor. */ guint16 zdp_parse_server_flags(proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset) { guint16 flags; static int * const server_flags[] = { &hf_zbee_zdp_server_pri_trust, &hf_zbee_zdp_server_bak_trust, &hf_zbee_zdp_server_pri_bind, &hf_zbee_zdp_server_bak_bind, &hf_zbee_zdp_server_pri_disc, &hf_zbee_zdp_server_bak_disc, &hf_zbee_zdp_server_network_manager, &hf_zbee_zdp_server_stk_compl_rev, NULL }; /* Get and display the flags. */ flags = tvb_get_letohs(tvb, *offset); proto_tree_add_bitmask_with_flags(tree, tvb, *offset, hf_zbee_zdp_server, ettindex, server_flags, ENC_LITTLE_ENDIAN, BMT_NO_APPEND); *offset += 2; return flags; } /* zdp_parse_server_flags */ /** *Parses and displays a node descriptor to the specified * *@param tree pointer to data tree Wireshark uses to display packet. *@param ettindex subtree index to create the node descriptor in, or -1 *@param tvb pointer to buffer containing raw packet. *@param offset offset into the tvb to find the node descriptor. */ void zdp_parse_node_desc(proto_tree *tree, packet_info *pinfo, gboolean show_ver_flags, gint ettindex, tvbuff_t *tvb, guint *offset, guint8 version) { proto_item *ti; proto_item *field_root = NULL; proto_tree *field_tree = NULL; guint16 flags; /*guint8 capability;*/ /*guint16 mfr_code;*/ /*guint8 max_buff;*/ /*guint16 max_transfer;*/ static int * const nodes[] = { &hf_zbee_zdp_node_complex, &hf_zbee_zdp_node_user, &hf_zbee_zdp_node_frag_support, &hf_zbee_zdp_node_freq_868, &hf_zbee_zdp_node_freq_900, &hf_zbee_zdp_node_freq_2400, &hf_zbee_zdp_node_freq_eu_sub_ghz, NULL }; if ((tree) && (ettindex != -1)) { field_tree = proto_tree_add_subtree(tree, tvb, *offset, -1, ettindex, &field_root, "Node Descriptor"); } else field_tree = tree; /* Get and display the flags. */ flags = tvb_get_letohs(tvb, *offset); if (tree) { guint16 type = flags & ZBEE_ZDP_NODE_TYPE; ti = proto_tree_add_uint(field_tree, hf_zbee_zdp_node_type, tvb, *offset, 2, type); /* XXX - should probably be converted to proto_tree_add_bitmask */ proto_tree_add_bitmask_list(field_tree, tvb, *offset, 2, nodes, ENC_LITTLE_ENDIAN); /* Enumerate the type field. */ if (type == ZBEE_ZDP_NODE_TYPE_COORD) proto_item_append_text(ti, " (Coordinator)"); else if (type == ZBEE_ZDP_NODE_TYPE_FFD) proto_item_append_text(ti, " (Router)"); else if (type == ZBEE_ZDP_NODE_TYPE_RFD) proto_item_append_text(ti, " (End Device)"); else proto_item_append_text(ti, " (Reserved)"); } *offset += 2; /* Get and display the capability flags. */ /*capability =*/ zdp_parse_cinfo(field_tree, ett_zbee_zdp_cinfo, tvb, offset); proto_tree_add_item(field_tree, hf_zbee_zdp_node_manufacturer, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(field_tree, hf_zbee_zdp_node_max_buffer, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item(field_tree, hf_zbee_zdp_node_max_incoming_transfer, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; /* Get and display the server flags. */ if (version >= ZBEE_VERSION_2007) { guint16 ver_flags; static int * const descriptors[] = { &hf_zbee_zdp_dcf_eaela, &hf_zbee_zdp_dcf_esdla, NULL }; ver_flags = zdp_parse_server_flags(field_tree, ett_zbee_zdp_server, tvb, offset) & ZBEE_ZDP_NODE_SERVER_STACK_COMPL_REV; if (show_ver_flags && ver_flags) { zbee_append_info(tree, pinfo, ", Rev: %d", (ver_flags >> ws_ctz(ZBEE_ZDP_NODE_SERVER_STACK_COMPL_REV))); } proto_tree_add_item(field_tree, hf_zbee_zdp_node_max_outgoing_transfer, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_bitmask_with_flags(field_tree, tvb, *offset, hf_zbee_zdp_dcf, ett_zbee_zdp_descriptor_capability_field, descriptors, ENC_NA, BMT_NO_APPEND); *offset += 1; } /* Correct the length of the subtree. */ if (tree && (ettindex != -1)) { proto_item_set_len(field_root, *offset); } } /* zdp_parse_node_desc */ static const value_string zbee_zdp_power_mode_vals[] = { { ZBEE_ZDP_POWER_MODE_RX_ON, "Receiver Always On" }, { ZBEE_ZDP_POWER_MODE_RX_PERIODIC, "Receiver Periodically On" }, { ZBEE_ZDP_POWER_MODE_RX_STIMULATE, "Receiver On When Stimulated" }, { 0, NULL } }; static const value_string zbee_zdp_power_level_vals[] = { { ZBEE_ZDP_POWER_LEVEL_FULL, "Full" }, { ZBEE_ZDP_POWER_LEVEL_OK, "OK" }, { ZBEE_ZDP_POWER_LEVEL_LOW, "Low" }, { ZBEE_ZDP_POWER_LEVEL_CRITICAL, "Critical" }, { 0, NULL } }; /** *Parses and displays a node descriptor to the specified * *@param tree pointer to data tree Wireshark uses to display packet. *@param ettindex subtree index to create the node descriptor in, or -1 *@param tvb pointer to buffer containing raw packet. *@param offset offset into the tvb to find the node descriptor. */ void zdp_parse_power_desc(proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset) { static int * const power_desc[] = { &hf_zbee_zdp_power_mode, &hf_zbee_zdp_power_avail_ac, &hf_zbee_zdp_power_avail_recharge, &hf_zbee_zdp_power_avail_dispose, &hf_zbee_zdp_power_source_ac, &hf_zbee_zdp_power_source_recharge, &hf_zbee_zdp_power_source_dispose, &hf_zbee_zdp_power_level, NULL }; proto_tree_add_bitmask_with_flags(tree, tvb, *offset, hf_zbee_zdp_power, ettindex, power_desc, ENC_LITTLE_ENDIAN, BMT_NO_APPEND); *offset += 2; } /* zdp_parse_power_desc */ /** *Parses and displays a simple descriptor to the specified * *@param tree pointer to data tree Wireshark uses to display packet. *@param ettindex subtree index to create the node descriptor in, or -1 *@param tvb pointer to buffer containing raw packet. *@param offset offset into the tvb to find the node descriptor. */ void zdp_parse_simple_desc(proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset, guint8 version) { proto_item *field_root = NULL; proto_tree *field_tree = NULL, *cluster_tree = NULL; guint i, sizeof_cluster; int hf_app_device; guint32 profile; guint32 in_count, out_count; if ((tree) && (ettindex != -1)) { field_tree = proto_tree_add_subtree(tree, tvb, *offset, -1, ettindex, &field_root, "Simple Descriptor"); } else field_tree = tree; proto_tree_add_item(field_tree, hf_zbee_zdp_endpoint, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; proto_tree_add_item_ret_uint(field_tree, hf_zbee_zdp_profile, tvb, *offset, 2, ENC_LITTLE_ENDIAN, &profile); *offset += 2; switch (profile) { case ZBEE_PROFILE_ZLL: hf_app_device = hf_zbee_zdp_simple_zll_app_device; break; case ZBEE_PROFILE_HA: hf_app_device = hf_zbee_zdp_simple_ha_app_device; break; default: hf_app_device = hf_zbee_zdp_simple_app_device; break; } proto_tree_add_item(field_tree, hf_app_device, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 2; proto_tree_add_item(field_tree, hf_zbee_zdp_simple_app_version, tvb, *offset, 1, ENC_LITTLE_ENDIAN); *offset += 1; sizeof_cluster = (version >= ZBEE_VERSION_2007)?(int)sizeof(guint16):(int)sizeof(guint8); proto_tree_add_item_ret_uint(field_tree, hf_zbee_zdp_in_count, tvb, *offset, 1, ENC_LITTLE_ENDIAN, &in_count); *offset += 1; if ((tree) && (in_count)) { cluster_tree = proto_tree_add_subtree(field_tree, tvb, *offset, in_count*sizeof_cluster, ett_zbee_zdp_node_in, NULL, "Input Cluster List"); } for (i=0; i<in_count && tvb_bytes_exist(tvb, *offset, sizeof_cluster); i++) { proto_tree_add_item(cluster_tree, hf_zbee_zdp_in_cluster, tvb, *offset, sizeof_cluster, ENC_LITTLE_ENDIAN); *offset += sizeof_cluster; } proto_tree_add_item_ret_uint(field_tree, hf_zbee_zdp_out_count, tvb, *offset, 1, ENC_LITTLE_ENDIAN, &out_count); *offset += 1; if ((tree) && (out_count)) { cluster_tree = proto_tree_add_subtree(field_tree, tvb, *offset, out_count*sizeof_cluster, ett_zbee_zdp_node_out, NULL, "Output Cluster List"); } for (i=0; (i<out_count) && tvb_bytes_exist(tvb, *offset, sizeof_cluster); i++) { proto_tree_add_item(cluster_tree, hf_zbee_zdp_out_cluster, tvb, *offset, sizeof_cluster, ENC_LITTLE_ENDIAN); *offset += sizeof_cluster; } if (tree && (ettindex != -1)) { proto_item_set_len(field_root, *offset); } } /* zdp_parse_simple_desc */ /** *Parses and displays a simple descriptor to the specified * *@param tree pointer to data tree Wireshark uses to display packet. *@param ettindex subtree index to create the node descriptor in, or -1 *@param tvb pointer to buffer containing raw packet. *@param offset offset into the tvb to find the node descriptor. *@param length length of the complex descriptor. */ void zdp_parse_complex_desc(packet_info *pinfo, proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset, guint length) { enum { tag_charset = 1, tag_mfr_name = 2, tag_model_name = 3, tag_serial_no = 4, tag_url = 5, tag_icon = 6, tag_icon_url = 7 }; static const gchar *tag_name[] = { "Reserved Tag", "languageChar", "manufacturerName", "modelName", "serialNumber", "deviceURL", "icon", "outliner" }; proto_tree *field_tree; gchar *complex; guint8 tag; if ((tree) && (ettindex != -1)) { field_tree = proto_tree_add_subtree(tree, tvb, *offset, length, ettindex, NULL, "Complex Descriptor"); } else field_tree = tree; tag = tvb_get_guint8(tvb, *offset); if (tag == tag_charset) { gchar *lang_str[2]; guint8 ch; guint8 charset = tvb_get_guint8(tvb, *offset + 3); const gchar *charset_str; if (charset == 0x00) charset_str = "ASCII"; else charset_str = "Unknown Character Set"; ch = tvb_get_guint8(tvb, *offset + 1); lang_str[0] = format_char(pinfo->pool, ch); ch = tvb_get_guint8(tvb, *offset + 2); lang_str[1] = format_char(pinfo->pool, ch); complex = wmem_strdup_printf(pinfo->pool, "<%s>%s%s, %s</%s>", tag_name[tag_charset], lang_str[0], lang_str[1], charset_str, tag_name[tag_charset]); } else if (tag == tag_icon) { /* TODO: */ complex = wmem_strdup_printf(pinfo->pool, "<%s>FixMe</%s>", tag_name[tag_icon], tag_name[tag_icon]); } else { gchar *str; str = (gchar *) tvb_get_string_enc(pinfo->pool, tvb, *offset+1, length-1, ENC_ASCII); /* Handles all string type XML tags. */ if (tag <= tag_icon_url) { complex = wmem_strdup_printf(pinfo->pool, "<%s>%s</%s>", tag_name[tag], str, tag_name[tag]); } else { complex = wmem_strdup_printf(pinfo->pool, "<%s>%s</%s>", tag_name[0], str, tag_name[0]); } } proto_tree_add_string(field_tree, hf_zbee_zdp_complex, tvb, *offset, length, complex); *offset += (length); } /* zdp_parse_complex_desc */ /** *ZigBee Device Profile dissector for wireshark. * *@param tvb pointer to buffer containing raw packet. *@param pinfo pointer to packet information fields *@param tree pointer to data tree Wireshark uses to display packet. */ static int dissect_zbee_zdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { proto_tree *zdp_tree; proto_item *proto_root; tvbuff_t *zdp_tvb; guint8 seqno; guint16 cluster; guint offset = 0; zbee_nwk_packet *nwk; /* Reject the packet if data is NULL */ if (data == NULL) return 0; nwk = (zbee_nwk_packet *)data; /* Create the protocol tree. */ proto_root = proto_tree_add_protocol_format(tree, proto_zbee_zdp, tvb, offset, tvb_captured_length(tvb), "ZigBee Device Profile"); zdp_tree = proto_item_add_subtree(proto_root, ett_zbee_zdp); #if 0 /* Overwrite the protocol column */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZigBee ZDP"); #endif /* Get and display the sequence number. */ seqno = tvb_get_guint8(tvb, offset); proto_tree_add_uint(zdp_tree, hf_zbee_zdp_seqno, tvb, offset, (int)sizeof(guint8), seqno); offset += (int)sizeof(guint8); if (nwk->version <= ZBEE_VERSION_2004) { /* ZigBee 2004 and earlier had different cluster identifiers, need to convert * them into the ZigBee 2006 & later values. */ cluster = zdp_convert_2003cluster((guint8)nwk->cluster_id); } else { cluster = nwk->cluster_id; } /* Update info. */ proto_item_append_text(zdp_tree, ", %s", val_to_str_const(cluster, zbee_zdp_cluster_names, "Unknown Cluster")); col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(cluster, zbee_zdp_cluster_names, "Unknown Cluster")); /* Create a new tvb for the zdp message. */ zdp_tvb = tvb_new_subset_remaining(tvb, offset); switch (cluster) { case ZBEE_ZDP_REQ_NWK_ADDR: dissect_zbee_zdp_req_nwk_addr(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_IEEE_ADDR: dissect_zbee_zdp_req_ext_addr(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_NODE_DESC: dissect_zbee_zdp_req_node_desc(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_POWER_DESC: dissect_zbee_zdp_req_power_desc(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SIMPLE_DESC: dissect_zbee_zdp_req_simple_desc(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_ACTIVE_EP: dissect_zbee_zdp_req_active_ep(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MATCH_DESC: dissect_zbee_zdp_req_match_desc(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_REQ_COMPLEX_DESC: dissect_zbee_zdp_req_complex_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_USER_DESC: dissect_zbee_zdp_req_user_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_DISCOVERY_CACHE: dissect_zbee_zdp_req_discovery_cache(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_DEVICE_ANNCE: dissect_zbee_zdp_device_annce(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SET_USER_DESC: dissect_zbee_zdp_req_set_user_desc(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_SYSTEM_SERVER_DISC: dissect_zbee_zdp_req_system_server_disc(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_STORE_DISCOVERY: dissect_zbee_zdp_req_store_discovery(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_STORE_NODE_DESC: dissect_zbee_zdp_req_store_node_desc(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_STORE_POWER_DESC: dissect_zbee_zdp_req_store_power_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_STORE_ACTIVE_EP: dissect_zbee_zdp_req_store_active_ep(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_STORE_SIMPLE_DESC: dissect_zbee_zdp_req_store_simple_desc(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_REMOVE_NODE_CACHE: dissect_zbee_zdp_req_remove_node_cache(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_FIND_NODE_CACHE: dissect_zbee_zdp_req_find_node_cache(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_EXT_SIMPLE_DESC: dissect_zbee_zdp_req_ext_simple_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_EXT_ACTIVE_EP: dissect_zbee_zdp_req_ext_active_ep(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_PARENT_ANNCE: dissect_zbee_zdp_parent_annce(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_END_DEVICE_BIND: dissect_zbee_zdp_req_end_device_bind(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_BIND: dissect_zbee_zdp_req_bind(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_REQ_UNBIND: dissect_zbee_zdp_req_unbind(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_REQ_BIND_REGISTER: dissect_zbee_zdp_req_bind_register(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_REPLACE_DEVICE: dissect_zbee_zdp_req_replace_device(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_STORE_BAK_BIND_ENTRY: dissect_zbee_zdp_req_store_bak_bind_entry(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_REMOVE_BAK_BIND_ENTRY: dissect_zbee_zdp_req_remove_bak_bind_entry(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_BACKUP_BIND_TABLE: dissect_zbee_zdp_req_backup_bind_table(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_RECOVER_BIND_TABLE: dissect_zbee_zdp_req_recover_bind_table(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_BACKUP_SOURCE_BIND: dissect_zbee_zdp_req_backup_source_bind(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_RECOVER_SOURCE_BIND: dissect_zbee_zdp_req_recover_source_bind(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_CLEAR_ALL_BINDINGS: dissect_zbee_zdp_req_clear_all_bindings(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MGMT_NWK_DISC: dissect_zbee_zdp_req_mgmt_nwk_disc(zdp_tvb, pinfo, zdp_tree, hf_zbee_zdp_scan_channel); break; case ZBEE_ZDP_REQ_MGMT_LQI: dissect_zbee_zdp_req_mgmt_lqi(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MGMT_RTG: dissect_zbee_zdp_req_mgmt_rtg(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MGMT_BIND: dissect_zbee_zdp_req_mgmt_bind(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MGMT_LEAVE: dissect_zbee_zdp_req_mgmt_leave(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_REQ_MGMT_DIRECT_JOIN: dissect_zbee_zdp_req_mgmt_direct_join(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_MGMT_PERMIT_JOIN: dissect_zbee_zdp_req_mgmt_permit_join(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MGMT_CACHE: dissect_zbee_zdp_req_mgmt_cache(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_REQ_MGMT_NWKUPDATE: dissect_zbee_zdp_req_mgmt_nwkupdate(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MGMT_NWKUPDATE_ENH: dissect_zbee_zdp_req_mgmt_nwkupdate_enh(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MGMT_IEEE_JOIN_LIST: dissect_zbee_zdp_req_mgmt_ieee_join_list(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_MGMT_NWK_BEACON_SURVEY: dissect_zbee_zdp_req_mgmt_nwk_beacon_survey(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SECURITY_START_KEY_NEGOTIATION: dissect_zbee_zdp_req_security_start_key_negotiation(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SECURITY_GET_AUTH_TOKEN: dissect_zbee_zdp_req_security_get_auth_token(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SECURITY_GET_AUTH_LEVEL: dissect_zbee_zdp_req_security_get_auth_level(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SECURITY_SET_CONFIGURATION: dissect_zbee_zdp_req_security_set_configuration(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SECURITY_GET_CONFIGURATION: dissect_zbee_zdp_req_security_get_configuration(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SECURITY_START_KEY_UPDATE: dissect_zbee_zdp_req_security_start_key_update(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SECURITY_DECOMMISSION: dissect_zbee_zdp_req_security_decommission(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_REQ_SECURITY_CHALLENGE: dissect_zbee_zdp_req_security_challenge(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_NWK_ADDR: dissect_zbee_zdp_rsp_nwk_addr(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_IEEE_ADDR: dissect_zbee_zdp_rsp_ext_addr(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_NODE_DESC: dissect_zbee_zdp_rsp_node_desc(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_RSP_POWER_DESC: dissect_zbee_zdp_rsp_power_desc(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SIMPLE_DESC: dissect_zbee_zdp_rsp_simple_desc(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_RSP_ACTIVE_EP: dissect_zbee_zdp_rsp_active_ep(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_MATCH_DESC: dissect_zbee_zdp_rsp_match_desc(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_COMPLEX_DESC: dissect_zbee_zdp_rsp_complex_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_USER_DESC: dissect_zbee_zdp_rsp_user_desc(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_DISCOVERY_CACHE: dissect_zbee_zdp_rsp_discovery_cache(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_CONF_USER_DESC: dissect_zbee_zdp_rsp_user_desc_conf(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_SYSTEM_SERVER_DISC: dissect_zbee_zdp_rsp_system_server_disc(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_STORE_DISCOVERY: dissect_zbee_zdp_rsp_discovery_store(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_STORE_NODE_DESC: dissect_zbee_zdp_rsp_store_node_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_STORE_POWER_DESC: dissect_zbee_zdp_rsp_store_power_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_STORE_ACTIVE_EP: dissect_zbee_zdp_rsp_store_active_ep(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_STORE_SIMPLE_DESC: dissect_zbee_zdp_rsp_store_simple_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_REMOVE_NODE_CACHE: dissect_zbee_zdp_rsp_remove_node_cache(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_FIND_NODE_CACHE: dissect_zbee_zdp_rsp_find_node_cache(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_EXT_SIMPLE_DESC: dissect_zbee_zdp_rsp_ext_simple_desc(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_EXT_ACTIVE_EP: dissect_zbee_zdp_rsp_ext_active_ep(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_PARENT_ANNCE: dissect_zbee_zdp_rsp_parent_annce(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_END_DEVICE_BIND: dissect_zbee_zdp_rsp_end_device_bind(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_BIND: dissect_zbee_zdp_rsp_bind(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_UNBIND: dissect_zbee_zdp_rsp_unbind(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_BIND_REGISTER: dissect_zbee_zdp_rsp_bind_register(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_REPLACE_DEVICE: dissect_zbee_zdp_rsp_replace_device(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_STORE_BAK_BIND_ENTRY: dissect_zbee_zdp_rsp_store_bak_bind_entry(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_REMOVE_BAK_BIND_ENTRY: dissect_zbee_zdp_rsp_remove_bak_bind_entry(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_BACKUP_BIND_TABLE: dissect_zbee_zdp_rsp_backup_bind_table(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_RECOVER_BIND_TABLE: dissect_zbee_zdp_rsp_recover_bind_table(zdp_tvb, pinfo, zdp_tree, nwk->version); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_BACKUP_SOURCE_BIND: dissect_zbee_zdp_rsp_backup_source_bind(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_RECOVER_SOURCE_BIND: dissect_zbee_zdp_rsp_recover_source_bind(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_CLEAR_ALL_BINDINGS: dissect_zbee_zdp_rsp_clear_all_bindings(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_MGMT_NWK_DISC: dissect_zbee_zdp_rsp_mgmt_nwk_disc(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_RSP_MGMT_LQI: dissect_zbee_zdp_rsp_mgmt_lqi(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_RSP_MGMT_RTG: dissect_zbee_zdp_rsp_mgmt_rtg(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_MGMT_BIND: dissect_zbee_zdp_rsp_mgmt_bind(zdp_tvb, pinfo, zdp_tree, nwk->version); break; case ZBEE_ZDP_RSP_MGMT_LEAVE: dissect_zbee_zdp_rsp_mgmt_leave(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_MGMT_DIRECT_JOIN: dissect_zbee_zdp_rsp_mgmt_direct_join(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_RSP_MGMT_PERMIT_JOIN: dissect_zbee_zdp_rsp_mgmt_permit_join(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_MGMT_CACHE: dissect_zbee_zdp_rsp_mgmt_cache(zdp_tvb, pinfo, zdp_tree); expert_add_info(pinfo, zdp_tree, &ei_deprecated_command); break; case ZBEE_ZDP_NOT_MGMT_NWKUPDATE: case ZBEE_ZDP_NOT_MGMT_NWKUPDATE_ENH: dissect_zbee_zdp_not_mgmt_nwkupdate(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_MGMT_IEEE_JOIN_LIST: dissect_zbee_zdp_rsp_mgmt_ieee_join_list(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_NOT_MGMT_UNSOLICITED_NWKUPDATE: dissect_zbee_zdp_not_mgmt_unsolicited_nwkupdate(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_MGMT_NWK_BEACON_SURVEY: dissect_zbee_zdp_rsp_mgmt_nwk_beacon_survey(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SECURITY_START_KEY_NEGOTIATION: dissect_zbee_zdp_rsp_security_start_key_negotiation(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SECURITY_GET_AUTH_TOKEN: dissect_zbee_zdp_rsp_security_get_auth_token(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SECURITY_GET_AUTH_LEVEL: dissect_zbee_zdp_rsp_security_get_auth_level(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SECURITY_SET_CONFIGURATION: dissect_zbee_zdp_rsp_security_set_configuration(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SECURITY_GET_CONFIGURATION: dissect_zbee_zdp_rsp_security_get_configuration(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SECURITY_START_KEY_UPDATE: dissect_zbee_zdp_rsp_security_start_key_update(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SECURITY_DECOMMISSION: dissect_zbee_zdp_rsp_security_decommission(zdp_tvb, pinfo, zdp_tree); break; case ZBEE_ZDP_RSP_SECURITY_CHALLENGE: dissect_zbee_zdp_rsp_security_challenge(zdp_tvb, pinfo, zdp_tree); break; default: /* Invalid Cluster Identifier. */ call_data_dissector(zdp_tvb, pinfo, tree); break; } /* switch */ return tvb_captured_length(tvb); } /* dissect_zbee_zdp */ /** *ZigBee Device Profile protocol registration routine. * */ void proto_register_zbee_zdp(void) { static hf_register_info hf[] = { { &hf_zbee_zdp_seqno, { "Sequence Number", "zbee_zdp.seqno", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, #if 0 { &hf_zbee_zdp_length, { "Length", "zbee_zdp.length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, #endif { &hf_zbee_zdp_ext_addr, { "Extended Address", "zbee_zdp.ext_addr", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_nwk_addr, { "Nwk Addr of Interest", "zbee_zdp.nwk_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_req_type, { "Request Type", "zbee_zdp.req_type", FT_UINT8, BASE_DEC, VALS(zbee_zdp_req_types), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_index, { "Index", "zbee_zdp.index", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_status, { "Status", "zbee_zdp.status", FT_UINT8, BASE_HEX, VALS(zbee_zdp_status_names), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_endpoint, { "Endpoint", "zbee_zdp.endpoint", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_ep_count, { "Endpoint Count", "zbee_zdp.ep_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_profile, { "Profile", "zbee_zdp.profile", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_apid_names), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_addr_mode, { "Address Mode", "zbee_zdp.addr_mode", FT_UINT8, BASE_DEC | BASE_RANGE_STRING, RVALS(zbee_zcl_zdp_address_modes), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_cluster, { "Cluster", "zbee_zdp.cluster", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_table_size, { "Table Size", "zbee_zdp.table_size", FT_UINT16, BASE_DEC, NULL, 0x0, "Number of entries in the table.", HFILL }}, { &hf_zbee_zdp_table_count, { "Table Count", "zbee_zdp.table_count", FT_UINT16, BASE_DEC, NULL, 0x0, "Number of table entries included in this message.", HFILL }}, { &hf_zbee_zdp_cache_address, { "Cache Address", "zbee_zdp.cache_address", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_in_count, { "Input Cluster Count", "zbee_zdp.in_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_out_count, { "Output Cluster Count", "zbee_zdp.out_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_in_cluster, { "Input Cluster", "zbee_zdp.in_cluster", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_cid_names), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_out_cluster, { "Output Cluster", "zbee_zdp.out_cluster", FT_UINT16, BASE_HEX | BASE_RANGE_STRING, RVALS(zbee_aps_cid_names), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_assoc_device_count, { "Associated Device Count", "zbee_zdp.assoc_device_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_assoc_device, { "Associated Device", "zbee_zdp.assoc_device", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_cinfo, { "Capability Information", "zbee_zdp.cinfo", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_cinfo_alt_coord, { "Alternate Coordinator", "zbee_zdp.cinfo.alt_coord", FT_BOOLEAN, 8, NULL, ZBEE_CINFO_ALT_COORD, "Indicates that the device is able to operate as a PAN coordinator.", HFILL }}, { &hf_zbee_zdp_cinfo_ffd, { "Full-Function Device", "zbee_zdp.cinfo.ffd", FT_BOOLEAN, 8, NULL, ZBEE_CINFO_FFD, NULL, HFILL }}, { &hf_zbee_zdp_cinfo_power, { "AC Power", "zbee_zdp.cinfo.power", FT_BOOLEAN, 8, NULL, ZBEE_CINFO_POWER, "Indicates this device is using AC/Mains power.", HFILL }}, { &hf_zbee_zdp_cinfo_idle_rx, { "Rx On When Idle", "zbee_zdp.cinfo.idle_rx", FT_BOOLEAN, 8, NULL, ZBEE_CINFO_IDLE_RX, "Indicates the receiver is active when the device is idle.", HFILL }}, { &hf_zbee_zdp_cinfo_security, { "Security Capability", "zbee_zdp.cinfo.security", FT_BOOLEAN, 8, NULL, ZBEE_CINFO_SECURITY, "Indicates this device is capable of performing encryption/decryption.", HFILL }}, { &hf_zbee_zdp_cinfo_alloc, { "Allocate Short Address", "zbee_zdp.cinfo.alloc", FT_BOOLEAN, 8, NULL, ZBEE_CINFO_ALLOC, "Flag requesting the parent to allocate a short address for this device.", HFILL }}, { &hf_zbee_zdp_dcf, { "Descriptor Capability Field", "zbee_zdp.dcf", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_zbee_zdp_dcf_eaela, { "Extended Active Endpoint List Available", "zbee_zdp.dcf.eaela", FT_BOOLEAN, 8, NULL, ZBEE_ZDP_DCF_EAELA, NULL, HFILL }}, { &hf_zbee_zdp_dcf_esdla, { "Extended Simple Descriptor List Available", "zbee_zdp.dcf.esdla", FT_BOOLEAN, 8, NULL, ZBEE_ZDP_DCF_ESDLA, NULL, HFILL }}, { &hf_zbee_zdp_server, { "Server Flags", "zbee_zdp.server", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_server_pri_trust, { "Primary Trust Center", "zbee_zdp.server.pri_trust", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_SERVER_PRIMARY_TRUST, NULL, HFILL }}, { &hf_zbee_zdp_server_bak_trust, { "Backup Trust Center", "zbee_zdp.server.bak_trust", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_SERVER_BACKUP_TRUST, NULL, HFILL }}, { &hf_zbee_zdp_server_pri_bind, { "Primary Binding Table Cache","zbee_zdp.server.pri_bind", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_SERVER_PRIMARY_BIND, NULL, HFILL }}, { &hf_zbee_zdp_server_bak_bind, { "Backup Binding Table Cache", "zbee_zdp.server.bak_bind", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_SERVER_BACKUP_BIND, NULL, HFILL }}, { &hf_zbee_zdp_server_pri_disc, { "Primary Discovery Cache", "zbee_zdp.server.pri_disc", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_SERVER_PRIMARY_DISC, NULL, HFILL }}, { &hf_zbee_zdp_server_bak_disc, { "Backup Discovery Cache", "zbee_zdp.server.bak_bind", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_SERVER_BACKUP_DISC, NULL, HFILL }}, { &hf_zbee_zdp_server_network_manager, { "Network Manager", "zbee_zdp.server.nwk_mgr", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_SERVER_NETWORK_MANAGER, NULL, HFILL }}, { &hf_zbee_zdp_server_stk_compl_rev, { "Stack Compliance Revision", "zbee_zdp.server.stack_compliance_revision", FT_UINT16, BASE_DEC, NULL, ZBEE_ZDP_NODE_SERVER_STACK_COMPL_REV, NULL, HFILL }}, { &hf_zbee_zdp_node_type, { "Type", "zbee_zdp.node.type", FT_UINT16, BASE_DEC, NULL, ZBEE_ZDP_NODE_TYPE, NULL, HFILL }}, { &hf_zbee_zdp_node_complex, { "Complex Descriptor", "zbee_zdp.node.complex", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_COMPLEX, NULL, HFILL }}, { &hf_zbee_zdp_node_user, { "User Descriptor", "zbee_zdp.node.user", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_USER, NULL, HFILL }}, { &hf_zbee_zdp_node_frag_support, { "Fragmentation Supported", "zbee_zdp.node.frag_support", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_FRAG_SUPPORT, NULL, HFILL }}, { &hf_zbee_zdp_node_freq_868, { "868MHz BPSK Band", "zbee_zdp.node.freq.868mhz", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_FREQ_868MHZ, NULL, HFILL }}, { &hf_zbee_zdp_node_freq_900, { "900MHz BPSK Band", "zbee_zdp.node.freq.900mhz", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_FREQ_900MHZ, NULL, HFILL }}, { &hf_zbee_zdp_node_freq_2400, { "2.4GHz OQPSK Band", "zbee_zdp.node.freq.2400mhz", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_FREQ_2400MHZ, NULL, HFILL }}, { &hf_zbee_zdp_node_freq_eu_sub_ghz, { "EU Sub-GHz FSK Band", "zbee_zdp.node.freq.eu_sub_ghz", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_NODE_FREQ_EU_SUB_GHZ, NULL, HFILL }}, { &hf_zbee_zdp_node_manufacturer, { "Manufacturer Code", "zbee_zdp.node.manufacturer", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_node_max_buffer, { "Max Buffer Size", "zbee_zdp.node.max_buffer", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_node_max_incoming_transfer, { "Max Incoming Transfer Size", "zbee_zdp.node.max_incoming_transfer", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_node_max_outgoing_transfer, { "Max Outgoing Transfer Size", "zbee_zdp.node.max_outgoing_transfer", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_power, { "Power Descriptor", "zbee_zdp.power", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_power_mode, { "Mode", "zbee_zdp.power.mode", FT_UINT16, BASE_DEC, VALS(zbee_zdp_power_mode_vals), ZBEE_ZDP_POWER_MODE, NULL, HFILL }}, { &hf_zbee_zdp_power_avail_ac, { "Available AC Power", "zbee_zdp.power.avail.ac", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_POWER_AVAIL_AC, NULL, HFILL }}, { &hf_zbee_zdp_power_avail_recharge, { "Available Rechargeable Battery", "zbee_zdp.power.avail.rech", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_POWER_AVAIL_RECHARGEABLE, NULL, HFILL }}, { &hf_zbee_zdp_power_avail_dispose, { "Available Disposable Battery", "zbee_zdp.power.avail.disp", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_POWER_AVAIL_DISPOSABLE, NULL, HFILL }}, { &hf_zbee_zdp_power_source_ac, { "Using AC Power", "zbee_zdp.power.source.ac", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_POWER_SOURCE_AC, NULL, HFILL }}, { &hf_zbee_zdp_power_source_recharge, { "Using Rechargeable Battery", "zbee_zdp.power.source.recharge", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_POWER_SOURCE_RECHARGEABLE, NULL, HFILL }}, { &hf_zbee_zdp_power_source_dispose, { "Using Disposable Battery", "zbee_zdp.power.source.dispose", FT_BOOLEAN, 16, NULL, ZBEE_ZDP_POWER_SOURCE_DISPOSABLE, NULL, HFILL }}, { &hf_zbee_zdp_power_level, { "Level", "zbee_zdp.power.level", FT_UINT16, BASE_DEC, VALS(zbee_zdp_power_level_vals), ZBEE_ZDP_POWER_LEVEL, NULL, HFILL }}, { &hf_zbee_zdp_simple_app_device, { "Application Device", "zbee_zdp.app.device", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_simple_zll_app_device, { "Application Device", "zbee_zdp.app.device", FT_UINT16, BASE_HEX, VALS(zbee_zll_device_names), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_simple_ha_app_device, { "Application Device", "zbee_zdp.app.device", FT_UINT16, BASE_HEX, VALS(zbee_ha_device_names), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_simple_app_version, { "Application Version", "zbee_zdp.app.version", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_complex_length, { "Complex Descriptor Length", "zbee_zdp.complex_length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_complex, { "Complex Descriptor", "zbee_zdp.complex", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_user, { "User Descriptor", "zbee_zdp.user", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_user_length, { "User Descriptor Length", "zbee_zdp.user_length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_simple_length, { "Simple Descriptor Length", "zbee_zdp.simple_length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_disc_node_size, { "Node Descriptor Size", "zbee_zdp.node_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_disc_power_size, { "Power Descriptor Size", "zbee_zdp.power_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_cache, { "Cache", "zbee_zdp.cache", FT_UINT16, BASE_HEX, NULL, 0x0, "Address of the device containing the discovery cache.", HFILL }}, { &hf_zbee_zdp_disc_ep_count, { "Active Endpoint Count", "zbee_zdp.ep_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_disc_simple_count, { "Simple Descriptor Count", "zbee_zdp.simple_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_disc_simple_size, { "Simple Descriptor Size", "zbee_zdp.simple_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_target, { "Target", "zbee_zdp.target", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_replacement, { "Replacement", "zbee_zdp.replacement", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_replacement_ep, { "Replacement Endpoint", "zbee_zdp.replacement_ep", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_bind_src, { "Source", "zbee_zdp.bind.src", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_bind_src64, { "Source", "zbee_zdp.bind.src64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_bind_src_ep, { "Source Endpoint", "zbee_zdp.bind.src_ep", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_bind_dst, { "Destination", "zbee_zdp.bind.dst", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_bind_dst64, { "Destination", "zbee_zdp.bind.dst64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_bind_dst_ep, { "Destination Endpoint", "zbee_zdp.bind.dst_ep", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_duration, { "Duration", "zbee_zdp.duration", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_leave_children, { "Remove Children", "zbee_zdp.leave.children", FT_BOOLEAN, 8, NULL, ZBEE_ZDP_MGMT_LEAVE_CHILDREN, NULL, HFILL }}, { &hf_zbee_zdp_leave_rejoin, { "Rejoin", "zbee_zdp.leave.rejoin", FT_BOOLEAN, 8, NULL, ZBEE_ZDP_MGMT_LEAVE_REJOIN, NULL, HFILL }}, { &hf_zbee_zdp_significance, { "Significance", "zbee_zdp.significance", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_scan_count, { "Scan Count", "zbee_zdp.scan_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_update_id, { "Update ID", "zbee_zdp.update_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_manager, { "Network Manager", "zbee_zdp.manager", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_tx_total, { "Total Transmissions", "zbee_zdp.tx_total", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_tx_fail, { "Failed Transmissions", "zbee_zdp.tx_fail", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_tx_retries, { "Retried Transmissions", "zbee_zdp.tx_retries", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_period_time_results, { "Period of Time For Results", "zbee_zdp.period_time_results", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_channel_count, { "Channel List Count", "zbee_zdp.channel_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_channel_page_count, { "Channel Page Count", "zbee_zdp.channel_page_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_channel_page, { "Channel Page", "zbee_zdp.channel_page", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_channel_mask, { "Channels", "zbee_zdp.channel_mask", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_channel_energy, { "Channel Energy", "zbee_zdp.channel_energy", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_pan_eui64, { "Pan", "zbee_zdp.pan.eui64", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_pan_uint, { "Pan", "zbee_zdp.pan.uint", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_channel, { "Channel", "zbee_zdp.channel", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_nwk_desc_profile, { "Profile", "zbee_zdp.profile", FT_UINT16, BASE_HEX, NULL, 0x0F, NULL, HFILL }}, { &hf_zbee_zdp_profile_version, { "Version", "zbee_zdp.profile_version", FT_UINT8, BASE_DEC, NULL, 0xF0, NULL, HFILL }}, { &hf_zbee_zdp_beacon, { "Beacon Order", "zbee_zdp.beacon", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL }}, { &hf_zbee_zdp_superframe, { "Superframe Order", "zbee_zdp.superframe", FT_UINT8, BASE_DEC, NULL, 0xF0, NULL, HFILL }}, { &hf_zbee_zdp_permit_joining, { "Permit Joining", "zbee_zdp.permit_joining", FT_UINT8, BASE_DEC, VALS(zbee_zdp_true_false_plus_vals), 0x01, NULL, HFILL }}, { &hf_zbee_zdp_permit_joining_03, { "Permit Joining", "zbee_zdp.permit_joining", FT_UINT8, BASE_DEC, VALS(zbee_zdp_true_false_plus_vals), 0x03, NULL, HFILL }}, { &hf_zbee_zdp_extended_pan, { "Extended Pan", "zbee_zdp.extended_pan", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_addr, { "Addr", "zbee_zdp.addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_depth, { "Depth", "zbee_zdp.depth", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_lqi, { "LQI", "zbee_zdp.lqi", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_scan_channel, { "Scan Channels", "zbee_zdp.scan_channel", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_table_entry_type, { "Type", "zbee_zdp.table_entry_type", FT_UINT8, BASE_DEC, VALS(zbee_zdp_table_entry_type_vals), 0x03, NULL, HFILL }}, { &hf_zbee_zdp_table_entry_idle_rx_0c, { "Idle Rx", "zbee_zdp.idle_rx", FT_UINT8, BASE_DEC, VALS(zbee_zdp_true_false_plus_vals), 0x0c, NULL, HFILL }}, { &hf_zbee_zdp_table_entry_idle_rx_04, { "Idle Rx", "zbee_zdp.idle_rx", FT_UINT8, BASE_DEC, VALS(zbee_zdp_true_false_plus_vals), 0x04, NULL, HFILL }}, { &hf_zbee_zdp_table_entry_relationship_18, { "Relationship", "zbee_zdp.relationship", FT_UINT8, BASE_DEC, VALS(zbee_zdp_relationship_vals), 0x18, NULL, HFILL }}, { &hf_zbee_zdp_table_entry_relationship_70, { "Relationship", "zbee_zdp.relationship", FT_UINT8, BASE_DEC, VALS(zbee_zdp_relationship_vals), 0x70, NULL, HFILL }}, { &hf_zbee_zdp_rtg, { "Routing Table", "zbee_zdp.routing", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_rtg_entry, { "Routing Table Entry", "zbee_zdp.routing.entry", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_rtg_destination, { "Destination", "zbee_zdp.routing.destination", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_rtg_status, { "Status", "zbee_zdp.routing.status", FT_UINT8, BASE_DEC, VALS(zbee_zdp_rtg_status_vals), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_rtg_next_hop, { "Next Hop", "zbee_zdp.routing.next_hop", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_ieee_join_start_index, { "Start Index", "zbee_zdp.ieee_joining_list.start_index", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_ieee_join_update_id, { "Update Id", "zbee_zdp.ieee_joining_list.update_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_ieee_join_policy, { "Policy", "zbee_zdp.ieee_joining_list.policy", FT_UINT8, BASE_DEC, VALS(zbee_zdp_ieee_join_policy_vals), 0x0, NULL, HFILL }}, { &hf_zbee_zdp_ieee_join_list_total, { "List Total Count", "zbee_zdp.ieee_joining_list.total", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_ieee_join_list_start, { "List Start", "zbee_zdp.ieee_joining_list.start", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_ieee_join_list_count, { "List Count", "zbee_zdp.ieee_joining_list.count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_ieee_join_list_ieee, { "IEEE", "zbee_zdp.ieee_joining_list.ieee", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_number_of_children, { "NumberOfChildren", "zbee_zdp.n_children", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_scan_mask, { "ScanChannelItem", "zbee_zdp.scan_ch_list", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_scan_mask_cnt, { "ScanChannelCount", "zbee_zdp.scan_ch_cnt", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_conf_mask, { "Configuration Bitmask", "zbee_zdp.conf_mask", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_total, { "Total beacons surveyed", "zbee_zdp.total_beacons", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_cur_zbn, { "On-network beacons", "zbee_zdp.on_nwk_beacons", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_cur_zbn_potent_parents, { "Potential Parent Beacons", "zbee_zdp.num_of_parents", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_other_zbn, { "Other Network Beacons", "zbee_zdp.other_nwk_beacons", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_current_parent, { "Current Parent", "zbee_zdp.cur_parent", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_parent, { "Potential Parent", "zbee_zdp.p_parent", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_beacon_survey_cnt_parents, { "Count of potential parents", "zbee_zdp.cnt_parents", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_tlv_count, { "TLV Count", "zbee_zdp.tlv_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zbee_zdp_tlv_id, { "TLV_ID", "zbee_zdp.tlv_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, }; /* APS subtrees */ static gint *ett[] = { &ett_zbee_zdp, &ett_zbee_zdp_endpoint, &ett_zbee_zdp_match_in, &ett_zbee_zdp_match_out, &ett_zbee_zdp_node, &ett_zbee_zdp_node_in, &ett_zbee_zdp_node_out, &ett_zbee_zdp_power, &ett_zbee_zdp_simple, &ett_zbee_zdp_cinfo, &ett_zbee_zdp_server, &ett_zbee_zdp_simple_sizes, &ett_zbee_zdp_bind, &ett_zbee_zdp_bind_entry, &ett_zbee_zdp_bind_end_in, &ett_zbee_zdp_bind_end_out, &ett_zbee_zdp_bind_table, &ett_zbee_zdp_bind_source, &ett_zbee_zdp_assoc_device, &ett_zbee_zdp_nwk, &ett_zbee_zdp_lqi, &ett_zbee_zdp_rtg, &ett_zbee_zdp_cache, &ett_zbee_zdp_nwk_desc, &ett_zbee_zdp_table_entry, &ett_zbee_zdp_descriptor_capability_field, &ett_zbee_zdp_perm_join_fc, }; expert_module_t *expert_zbee_zdp; static ei_register_info ei[] = { { &ei_deprecated_command, { "zbee_zdp.zdo_command_deprecated", PI_DEPRECATED, PI_WARN, "Deprecated ZDO Command", EXPFILL } } }; /* Register ZigBee ZDP protocol with Wireshark. */ proto_zbee_zdp = proto_register_protocol("ZigBee Device Profile", "ZigBee ZDP", "zbee_zdp"); proto_register_field_array(proto_zbee_zdp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_zbee_zdp = expert_register_protocol(proto_zbee_zdp); expert_register_field_array(expert_zbee_zdp, ei, array_length(ei)); /* Register the ZDP dissector. */ register_dissector("zbee_zdp", dissect_zbee_zdp, proto_zbee_zdp); } /* proto_register_zbee_zdp */ /** *Registers the Zigbee Device Profile dissector with Wireshark. * */ void proto_reg_handoff_zbee_zdp(void) { dissector_handle_t zdp_handle; /* Register our dissector with the ZigBee application dissectors. */ zdp_handle = find_dissector("zbee_zdp"); dissector_add_uint("zbee.profile", ZBEE_ZDP_PROFILE, zdp_handle); } /* proto_reg_handoff_zbee_zdp */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-zbee-zdp.h
/* packet-zbee-zdp.h * Dissector routines for the ZigBee Device Profile (ZDP) * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_ZBEE_ZDP_H #define PACKET_ZBEE_ZDP_H /* The Profile ID for the ZigBee Device Profile. */ #define ZBEE_ZDP_PROFILE 0x0000 /* ZDP Cluster Identifiers. */ #define ZBEE_ZDP_REQ_NWK_ADDR 0x0000 #define ZBEE_ZDP_REQ_IEEE_ADDR 0x0001 #define ZBEE_ZDP_REQ_NODE_DESC 0x0002 #define ZBEE_ZDP_REQ_POWER_DESC 0x0003 #define ZBEE_ZDP_REQ_SIMPLE_DESC 0x0004 #define ZBEE_ZDP_REQ_ACTIVE_EP 0x0005 #define ZBEE_ZDP_REQ_MATCH_DESC 0x0006 #define ZBEE_ZDP_REQ_COMPLEX_DESC 0x0010 #define ZBEE_ZDP_REQ_USER_DESC 0x0011 #define ZBEE_ZDP_REQ_DISCOVERY_CACHE 0x0012 #define ZBEE_ZDP_REQ_DEVICE_ANNCE 0x0013 #define ZBEE_ZDP_REQ_SET_USER_DESC 0x0014 #define ZBEE_ZDP_REQ_SYSTEM_SERVER_DISC 0x0015 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_STORE_DISCOVERY 0x0016 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_STORE_NODE_DESC 0x0017 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_STORE_POWER_DESC 0x0018 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_STORE_ACTIVE_EP 0x0019 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_STORE_SIMPLE_DESC 0x001a /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_REMOVE_NODE_CACHE 0x001b /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_FIND_NODE_CACHE 0x001c /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_EXT_SIMPLE_DESC 0x001d /* ZigBee 2007 & later. */ #define ZBEE_ZDP_REQ_EXT_ACTIVE_EP 0x001e /* ZigBee 2007 & later. */ #define ZBEE_ZDP_REQ_PARENT_ANNCE 0x001f /* r21 */ #define ZBEE_ZDP_REQ_END_DEVICE_BIND 0x0020 #define ZBEE_ZDP_REQ_BIND 0x0021 #define ZBEE_ZDP_REQ_UNBIND 0x0022 #define ZBEE_ZDP_REQ_BIND_REGISTER 0x0023 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_REPLACE_DEVICE 0x0024 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_STORE_BAK_BIND_ENTRY 0x0025 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_REMOVE_BAK_BIND_ENTRY 0x0026 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_BACKUP_BIND_TABLE 0x0027 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_RECOVER_BIND_TABLE 0x0028 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_BACKUP_SOURCE_BIND 0x0029 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_RECOVER_SOURCE_BIND 0x002a /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_CLEAR_ALL_BINDINGS 0x002b /* R23 */ #define ZBEE_ZDP_REQ_MGMT_NWK_DISC 0x0030 #define ZBEE_ZDP_REQ_MGMT_LQI 0x0031 #define ZBEE_ZDP_REQ_MGMT_RTG 0x0032 #define ZBEE_ZDP_REQ_MGMT_BIND 0x0033 #define ZBEE_ZDP_REQ_MGMT_LEAVE 0x0034 #define ZBEE_ZDP_REQ_MGMT_DIRECT_JOIN 0x0035 #define ZBEE_ZDP_REQ_MGMT_PERMIT_JOIN 0x0036 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_MGMT_CACHE 0x0037 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_REQ_MGMT_NWKUPDATE 0x0038 /* ZigBee 2007 & later. */ #define ZBEE_ZDP_REQ_MGMT_NWKUPDATE_ENH 0x0039 /* R22 */ #define ZBEE_ZDP_REQ_MGMT_IEEE_JOIN_LIST 0x003a /* R22 */ #define ZBEE_ZDP_REQ_MGMT_NWK_BEACON_SURVEY 0x003c #define ZBEE_ZDP_REQ_SECURITY_START_KEY_NEGOTIATION 0x0040 /* R23 */ #define ZBEE_ZDP_REQ_SECURITY_GET_AUTH_TOKEN 0x0041 /* R23 */ #define ZBEE_ZDP_REQ_SECURITY_GET_AUTH_LEVEL 0x0042 /* R23 */ #define ZBEE_ZDP_REQ_SECURITY_SET_CONFIGURATION 0x0043 /* R23 */ #define ZBEE_ZDP_REQ_SECURITY_GET_CONFIGURATION 0x0044 /* R23 */ #define ZBEE_ZDP_REQ_SECURITY_START_KEY_UPDATE 0x0045 /* R23 */ #define ZBEE_ZDP_REQ_SECURITY_DECOMMISSION 0x0046 /* R23 */ #define ZBEE_ZDP_REQ_SECURITY_CHALLENGE 0x0047 /* R23 */ #define ZBEE_ZDP_RSP_NWK_ADDR 0x8000 #define ZBEE_ZDP_RSP_IEEE_ADDR 0x8001 #define ZBEE_ZDP_RSP_NODE_DESC 0x8002 #define ZBEE_ZDP_RSP_POWER_DESC 0x8003 #define ZBEE_ZDP_RSP_SIMPLE_DESC 0x8004 #define ZBEE_ZDP_RSP_ACTIVE_EP 0x8005 #define ZBEE_ZDP_RSP_MATCH_DESC 0x8006 #define ZBEE_ZDP_RSP_COMPLEX_DESC 0x8010 #define ZBEE_ZDP_RSP_USER_DESC 0x8011 #define ZBEE_ZDP_RSP_DISCOVERY_CACHE 0x8012 #define ZBEE_ZDP_RSP_CONF_USER_DESC 0x8014 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_SYSTEM_SERVER_DISC 0x8015 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_STORE_DISCOVERY 0x8016 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_STORE_NODE_DESC 0x8017 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_STORE_POWER_DESC 0x8018 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_STORE_ACTIVE_EP 0x8019 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_STORE_SIMPLE_DESC 0x801a /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_REMOVE_NODE_CACHE 0x801b /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_FIND_NODE_CACHE 0x801c /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_EXT_SIMPLE_DESC 0x801d /* ZigBee 2007 & later. */ #define ZBEE_ZDP_RSP_EXT_ACTIVE_EP 0x801e /* ZigBee 2007 & later. */ #define ZBEE_ZDP_RSP_PARENT_ANNCE 0x801f /* r21 */ #define ZBEE_ZDP_RSP_END_DEVICE_BIND 0x8020 #define ZBEE_ZDP_RSP_BIND 0x8021 #define ZBEE_ZDP_RSP_UNBIND 0x8022 #define ZBEE_ZDP_RSP_BIND_REGISTER 0x8023 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_REPLACE_DEVICE 0x8024 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_STORE_BAK_BIND_ENTRY 0x8025 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_REMOVE_BAK_BIND_ENTRY 0x8026 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_BACKUP_BIND_TABLE 0x8027 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_RECOVER_BIND_TABLE 0x8028 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_BACKUP_SOURCE_BIND 0x8029 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_RECOVER_SOURCE_BIND 0x802a /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_CLEAR_ALL_BINDINGS 0x802b /* R23 */ #define ZBEE_ZDP_RSP_MGMT_NWK_DISC 0x8030 #define ZBEE_ZDP_RSP_MGMT_LQI 0x8031 #define ZBEE_ZDP_RSP_MGMT_RTG 0x8032 #define ZBEE_ZDP_RSP_MGMT_BIND 0x8033 #define ZBEE_ZDP_RSP_MGMT_LEAVE 0x8034 #define ZBEE_ZDP_RSP_MGMT_DIRECT_JOIN 0x8035 #define ZBEE_ZDP_RSP_MGMT_PERMIT_JOIN 0x8036 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_RSP_MGMT_CACHE 0x8037 /* ZigBee 2006 & later. */ #define ZBEE_ZDP_NOT_MGMT_NWKUPDATE 0x8038 /* ZigBee 2007 & later. */ #define ZBEE_ZDP_NOT_MGMT_NWKUPDATE_ENH 0x8039 /* R22 */ #define ZBEE_ZDP_RSP_MGMT_IEEE_JOIN_LIST 0x803a /* R22 */ #define ZBEE_ZDP_NOT_MGMT_UNSOLICITED_NWKUPDATE 0x803b /* R22 */ #define ZBEE_ZDP_RSP_MGMT_NWK_BEACON_SURVEY 0x803c #define ZBEE_ZDP_RSP_SECURITY_START_KEY_NEGOTIATION 0x8040 /* R23 */ #define ZBEE_ZDP_RSP_SECURITY_GET_AUTH_TOKEN 0x8041 /* R23 */ #define ZBEE_ZDP_RSP_SECURITY_GET_AUTH_LEVEL 0x8042 /* R23 */ #define ZBEE_ZDP_RSP_SECURITY_SET_CONFIGURATION 0x8043 /* R23 */ #define ZBEE_ZDP_RSP_SECURITY_GET_CONFIGURATION 0x8044 /* R23 */ #define ZBEE_ZDP_RSP_SECURITY_START_KEY_UPDATE 0x8045 /* R23 */ #define ZBEE_ZDP_RSP_SECURITY_DECOMMISSION 0x8046 /* R23 */ #define ZBEE_ZDP_RSP_SECURITY_CHALLENGE 0x8047 /* R23 */ #define ZBEE_ZDP_MSG_RESPONSE_BIT 0x8000 #define ZBEE_ZDP_MSG_MASK (ZBEE_ZDP_MSG_RESPONSE_BIT-1) #define ZBEE_ZDP_MSG_RESPONSE_BIT_2003 0x0080 #define ZBEE_ZDP_MSG_MASK_2003 (ZBEE_ZDP_MSG_RESPONSE_BIT_2003-1) #define ZBEE_ZDP_STATUS_SUCCESS 0x00 #define ZBEE_ZDP_STATUS_INV_REQUESTTYPE 0x80 #define ZBEE_ZDP_STATUS_DEVICE_NOT_FOUND 0x81 #define ZBEE_ZDP_STATUS_INVALID_EP 0x82 #define ZBEE_ZDP_STATUS_NOT_ACTIVE 0x83 #define ZBEE_ZDP_STATUS_NOT_SUPPORTED 0x84 #define ZBEE_ZDP_STATUS_TIMEOUT 0x85 #define ZBEE_ZDP_STATUS_NO_MATCH 0x86 #define ZBEE_ZDP_STATUS_NO_ENTRY 0x88 #define ZBEE_ZDP_STATUS_NO_DESCRIPTOR 0x89 #define ZBEE_ZDP_STATUS_INSUFFICIENT_SPACE 0x8a #define ZBEE_ZDP_STATUS_NOT_PERMITTED 0x8b #define ZBEE_ZDP_STATUS_TABLE_FULL 0x8c #define ZBEE_ZDP_STATUS_NOT_AUTHORIZED 0x8d #define ZBEE_ZDP_STATUS_DEVICE_BINDING_TABLE_FULL 0x8e #define ZBEE_ZDP_STATUS_INVALID_INDEX 0x8f #define ZBEE_ZDP_STATUS_RESPONSE_TOO_LARGE 0x90 #define ZBEE_ZDP_STATUS_MISSING_TLV 0x91 #define ZBEE_ZDP_REQ_TYPE_SINGLE 0x00 #define ZBEE_ZDP_REQ_TYPE_EXTENDED 0x01 #define ZBEE_ZDP_NODE_TYPE 0x0007 #define ZBEE_ZDP_NODE_TYPE_COORD 0x0000 #define ZBEE_ZDP_NODE_TYPE_FFD 0x0001 #define ZBEE_ZDP_NODE_TYPE_RFD 0x0002 #define ZBEE_ZDP_NODE_COMPLEX 0x0008 #define ZBEE_ZDP_NODE_USER 0x0010 #define ZBEE_ZDP_NODE_FRAG_SUPPORT 0x0020 #define ZBEE_ZDP_NODE_APS 0x0700 #define ZBEE_ZDP_NODE_FREQ 0xf800 #define ZBEE_ZDP_NODE_FREQ_868MHZ 0x0800 #define ZBEE_ZDP_NODE_FREQ_900MHZ 0x2000 #define ZBEE_ZDP_NODE_FREQ_2400MHZ 0x4000 #define ZBEE_ZDP_NODE_FREQ_EU_SUB_GHZ 0x8000 #define ZBEE_ZDP_NODE_SERVER_PRIMARY_TRUST 0x0001 #define ZBEE_ZDP_NODE_SERVER_BACKUP_TRUST 0x0002 #define ZBEE_ZDP_NODE_SERVER_PRIMARY_BIND 0x0004 #define ZBEE_ZDP_NODE_SERVER_BACKUP_BIND 0x0008 #define ZBEE_ZDP_NODE_SERVER_PRIMARY_DISC 0x0010 #define ZBEE_ZDP_NODE_SERVER_BACKUP_DISC 0x0020 #define ZBEE_ZDP_NODE_SERVER_NETWORK_MANAGER 0x0040 #define ZBEE_ZDP_NODE_SERVER_STACK_COMPL_REV 0xfe00 #define ZBEE_ZDP_POWER_MODE 0x000f #define ZBEE_ZDP_POWER_MODE_RX_ON 0x0000 #define ZBEE_ZDP_POWER_MODE_RX_PERIODIC 0x0001 #define ZBEE_ZDP_POWER_MODE_RX_STIMULATE 0x0002 #define ZBEE_ZDP_POWER_AVAIL 0x00f0 #define ZBEE_ZDP_POWER_AVAIL_AC 0x0010 #define ZBEE_ZDP_POWER_AVAIL_RECHARGEABLE 0x0020 #define ZBEE_ZDP_POWER_AVAIL_DISPOSABLE 0x0040 #define ZBEE_ZDP_POWER_SOURCE 0x0f00 #define ZBEE_ZDP_POWER_SOURCE_AC 0x0100 #define ZBEE_ZDP_POWER_SOURCE_RECHARGEABLE 0x0200 #define ZBEE_ZDP_POWER_SOURCE_DISPOSABLE 0x0400 #define ZBEE_ZDP_POWER_LEVEL 0xf000 #define ZBEE_ZDP_POWER_LEVEL_FULL 0xc000 #define ZBEE_ZDP_POWER_LEVEL_OK 0x8000 #define ZBEE_ZDP_POWER_LEVEL_LOW 0x4000 #define ZBEE_ZDP_POWER_LEVEL_CRITICAL 0x0000 #define ZBEE_ZDP_ADDR_MODE_GROUP 0x01 #define ZBEE_ZDP_ADDR_MODE_UNICAST 0x03 #define ZBEE_ZDP_MGMT_LEAVE_CHILDREN 0x40 #define ZBEE_ZDP_MGMT_LEAVE_REJOIN 0x80 #define ZBEE_ZDP_PERM_JOIN_FC_TLV_UPDATE 0x1 #define ZBEE_ZDP_NWKUPDATE_SCAN_MAX 0x05 #define ZBEE_ZDP_NWKUPDATE_CHANNEL_HOP 0xfe #define ZBEE_ZDP_NWKUPDATE_PARAMETERS 0xff #define ZBEE_ZDP_NWKUPDATE_PAGE 0xF8000000 #define ZBEE_ZDP_NWKUPDATE_CHANNEL 0x07FFFFFF #define ZBEE_ZDP_DCF_EAELA 0x01 #define ZBEE_ZDP_DCF_ESDLA 0x02 /************************************** * Field Indicies ************************************** */ /* General indicies. */ extern int hf_zbee_zdp_ext_addr; extern int hf_zbee_zdp_nwk_addr; extern int hf_zbee_zdp_req_type; extern int hf_zbee_zdp_index; extern int hf_zbee_zdp_ep_count; extern int hf_zbee_zdp_endpoint; extern int hf_zbee_zdp_profile; extern int hf_zbee_zdp_cluster; extern int hf_zbee_zdp_addr_mode; extern int hf_zbee_zdp_in_count; extern int hf_zbee_zdp_out_count; extern int hf_zbee_zdp_in_cluster; extern int hf_zbee_zdp_out_cluster; extern int hf_zbee_zdp_table_size; extern int hf_zbee_zdp_table_count; extern int hf_zbee_zdp_assoc_device_count; extern int hf_zbee_zdp_assoc_device; extern int hf_zbee_zdp_cache_address; /* Discovery indicies. */ extern int hf_zbee_zdp_cache; extern int hf_zbee_zdp_disc_node_size; extern int hf_zbee_zdp_disc_power_size; extern int hf_zbee_zdp_disc_ep_count; extern int hf_zbee_zdp_disc_simple_count; extern int hf_zbee_zdp_disc_simple_size; /* Descriptor indicies. */ extern int hf_zbee_zdp_complex_length; extern int hf_zbee_zdp_user; extern int hf_zbee_zdp_user_length; extern int hf_zbee_zdp_simple_length; /* Binding indicies. */ extern int hf_zbee_zdp_target; extern int hf_zbee_zdp_replacement; extern int hf_zbee_zdp_replacement_ep; extern int hf_zbee_zdp_bind_src; extern int hf_zbee_zdp_bind_src64; extern int hf_zbee_zdp_bind_src_ep; extern int hf_zbee_zdp_bind_dst; extern int hf_zbee_zdp_bind_dst64; extern int hf_zbee_zdp_bind_dst_ep; /* Network Management indicies. */ extern int hf_zbee_zdp_duration; extern int hf_zbee_zdp_leave_children; extern int hf_zbee_zdp_leave_rejoin; extern int hf_zbee_zdp_significance; extern int hf_zbee_zdp_scan_count; extern int hf_zbee_zdp_update_id; extern int hf_zbee_zdp_manager; extern int hf_zbee_zdp_tx_total; extern int hf_zbee_zdp_tx_fail; extern int hf_zbee_zdp_tx_retries; extern int hf_zbee_zdp_period_time_results; extern int hf_zbee_zdp_channel_count; extern int hf_zbee_zdp_channel_mask; extern int hf_zbee_zdp_channel_page; extern int hf_zbee_zdp_channel_page_count; extern int hf_zbee_zdp_channel_energy; extern int hf_zbee_zdp_pan_eui64; extern int hf_zbee_zdp_pan_uint; extern int hf_zbee_zdp_channel; extern int hf_zbee_zdp_nwk_desc_profile; extern int hf_zbee_zdp_profile_version; extern int hf_zbee_zdp_beacon; extern int hf_zbee_zdp_superframe; extern int hf_zbee_zdp_permit_joining; extern int hf_zbee_zdp_extended_pan; extern int hf_zbee_zdp_addr; extern int hf_zbee_zdp_table_entry_type; extern int hf_zbee_zdp_table_entry_idle_rx_0c; extern int hf_zbee_zdp_table_entry_relationship_70; extern int hf_zbee_zdp_table_entry_idle_rx_04; extern int hf_zbee_zdp_table_entry_relationship_18; extern int hf_zbee_zdp_depth; extern int hf_zbee_zdp_permit_joining_03; extern int hf_zbee_zdp_lqi; extern int hf_zbee_zdp_ieee_join_start_index; extern int hf_zbee_zdp_ieee_join_status; extern int hf_zbee_zdp_ieee_join_update_id; extern int hf_zbee_zdp_ieee_join_policy; extern int hf_zbee_zdp_ieee_join_list_total; extern int hf_zbee_zdp_ieee_join_list_start; extern int hf_zbee_zdp_ieee_join_list_count; extern int hf_zbee_zdp_ieee_join_list_ieee; extern int hf_zbee_zdp_number_of_children; extern int hf_zbee_zdp_tlv_count; extern int hf_zbee_zdp_tlv_id; /* Routing Table */ extern int hf_zbee_zdp_rtg; extern int hf_zbee_zdp_rtg_entry; extern int hf_zbee_zdp_rtg_destination; extern int hf_zbee_zdp_rtg_next_hop; extern int hf_zbee_zdp_rtg_status; extern int hf_zbee_zdp_beacon_survey_scan_mask_cnt; extern int hf_zbee_zdp_beacon_survey_scan_mask; extern int hf_zbee_zdp_beacon_survey_conf_mask; extern int hf_zbee_zdp_beacon_survey_total; extern int hf_zbee_zdp_beacon_survey_cur_zbn; extern int hf_zbee_zdp_beacon_survey_cur_zbn_potent_parents; extern int hf_zbee_zdp_beacon_survey_other_zbn; extern int hf_zbee_zdp_beacon_survey_current_parent; extern int hf_zbee_zdp_beacon_survey_cnt_parents; extern int hf_zbee_zdp_beacon_survey_potent_parent; extern int hf_zbee_zdp_beacon_survey_parent; /* Subtree indicies. */ extern gint ett_zbee_zdp_endpoint; extern gint ett_zbee_zdp_match_in; extern gint ett_zbee_zdp_match_out; extern gint ett_zbee_zdp_node; extern gint ett_zbee_zdp_power; extern gint ett_zbee_zdp_simple; extern gint ett_zbee_zdp_cinfo; extern gint ett_zbee_zdp_server; extern gint ett_zbee_zdp_simple_sizes; extern gint ett_zbee_zdp_bind; extern gint ett_zbee_zdp_bind_entry; extern gint ett_zbee_zdp_bind_end_in; extern gint ett_zbee_zdp_bind_end_out; extern gint ett_zbee_zdp_bind_source; extern gint ett_zbee_zdp_assoc_device; extern gint ett_zbee_zdp_nwk; extern gint ett_zbee_zdp_lqi; extern gint ett_zbee_zdp_rtg; extern gint ett_zbee_zdp_cache; extern gint ett_zbee_zdp_nwk_desc; extern gint ett_zbee_zdp_table_entry; extern gint ett_zbee_zdp_perm_join_fc; /************************************** * Helper Functions ************************************** */ extern const gchar *zdp_status_name (guint8 status); extern void zdp_dump_excess (tvbuff_t *tvb, guint offset, packet_info *pinfo, proto_tree *tree); extern guint64 zbee_parse_eui64 (proto_tree *tree, int hfindex, tvbuff_t *tvb, guint *offset, guint length, proto_item **ti); extern void zbee_append_info (proto_item *item, packet_info *pinfo, const gchar *format, ...) G_GNUC_PRINTF(3, 4); extern void zdp_parse_node_desc (proto_tree *tree, packet_info *pinfo, gboolean show_ver_flags, gint ettindex, tvbuff_t *tvb, guint *offset, guint8 version); extern void zdp_parse_power_desc (proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset); extern void zdp_parse_simple_desc (proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset, guint8 version); extern void zdp_parse_complex_desc (packet_info *pinfo, proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset, guint length); extern void zdp_parse_bind_table_entry (proto_tree *tree, tvbuff_t *tvb, guint *offset, guint8 version); extern guint8 zdp_parse_status (proto_tree *tree, tvbuff_t *tvb, guint *offset); extern guint zdp_parse_set_configuration_response(proto_tree *tree, tvbuff_t *tvb, guint offset); extern guint32 zdp_parse_chanmask (proto_tree *tree, tvbuff_t *tvb, guint *offset, int hf_page, int hf_channel); extern guint8 zdp_parse_cinfo (proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset); extern guint16 zdp_parse_server_flags (proto_tree *tree, gint ettindex, tvbuff_t *tvb, guint *offset); /* Message dissector routines. */ extern void dissect_zbee_zdp_req_nwk_addr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_ext_addr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_node_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_power_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_simple_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_active_ep (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_match_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_complex_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_user_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_discovery_cache (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_device_annce (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_parent_annce (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_parent_annce (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_set_user_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_system_server_disc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_store_discovery (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_store_node_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_store_power_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_store_active_ep (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_store_simple_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_remove_node_cache (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_find_node_cache (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_ext_simple_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_ext_active_ep (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_end_device_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_unbind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_bind_register (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_replace_device (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_store_bak_bind_entry (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_remove_bak_bind_entry (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_backup_bind_table (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_recover_bind_table (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_backup_source_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_recover_source_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_nwk_disc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int hf_channel); extern void dissect_zbee_zdp_req_mgmt_lqi (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_rtg (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_leave (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_req_mgmt_direct_join (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_permit_join (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_cache (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_nwkupdate (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_nwkupdate_enh (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_ieee_join_list (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_mgmt_nwk_beacon_survey (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_security_start_key_negotiation(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_security_get_auth_token(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_security_get_auth_level(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_security_set_configuration(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_security_get_configuration(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_security_start_key_update(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_security_decommission (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_security_challenge (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_nwk_addr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_ext_addr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_node_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_power_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_simple_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_active_ep (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_match_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_complex_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_user_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_user_desc_conf (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_discovery_cache (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_system_server_disc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_discovery_store (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_store_node_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_store_power_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_store_active_ep (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_store_simple_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_remove_node_cache (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_find_node_cache (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_ext_simple_desc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_ext_active_ep (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_req_clear_all_bindings (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_end_device_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_unbind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_bind_register (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_replace_device (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_store_bak_bind_entry (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_remove_bak_bind_entry (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_backup_bind_table (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_recover_bind_table (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_backup_source_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_recover_source_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_clear_all_bindings (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_mgmt_nwk_disc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_mgmt_lqi (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_mgmt_rtg (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_mgmt_bind (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 version); extern void dissect_zbee_zdp_rsp_mgmt_leave (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_mgmt_direct_join (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_mgmt_permit_join (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_mgmt_cache (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_not_mgmt_nwkupdate (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_mgmt_ieee_join_list (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_not_mgmt_unsolicited_nwkupdate (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_mgmt_nwk_beacon_survey (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_security_start_key_negotiation(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_security_get_auth_token(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_security_get_auth_level(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_security_set_configuration(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_security_get_configuration(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_security_start_key_update(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_security_decommission(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_zbee_zdp_rsp_security_challenge (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern const value_string zbee_zdp_cluster_names[]; extern const value_string zbee_zdp_rtg_status_vals[]; #endif /* PACKET_ZBEE_ZDP_H */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-zbee.h
/* packet-zbee.h * Dissector routines for the ZigBee protocol stack. * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_ZBEE_H #define PACKET_ZBEE_H /* IEEE 802.15.4 definitions. */ #include "packet-ieee802154.h" /* The ZigBee Broadcast Address */ #define ZBEE_BCAST_ALL 0xffff #define ZBEE_BCAST_ACTIVE 0xfffd #define ZBEE_BCAST_ROUTERS 0xfffc #define ZBEE_BCAST_LOW_POWER_ROUTERS 0xfffb /* Capability Information fields. */ #define ZBEE_CINFO_ALT_COORD IEEE802154_CMD_CINFO_ALT_PAN_COORD #define ZBEE_CINFO_FFD IEEE802154_CMD_CINFO_DEVICE_TYPE #define ZBEE_CINFO_POWER IEEE802154_CMD_CINFO_POWER_SRC #define ZBEE_CINFO_IDLE_RX IEEE802154_CMD_CINFO_IDLE_RX #define ZBEE_CINFO_SECURITY IEEE802154_CMD_CINFO_SEC_CAPABLE #define ZBEE_CINFO_ALLOC IEEE802154_CMD_CINFO_ALLOC_ADDR /* ZigBee version numbers. */ #define ZBEE_VERSION_PROTOTYPE 0 /* Does this even exist? */ #define ZBEE_VERSION_2004 1 /* Re: 053474r06ZB_TSC-ZigBeeSpecification.pdf */ #define ZBEE_VERSION_2007 2 /* Re: 053474r17ZB_TSC-ZigBeeSpecification.pdf */ #define ZBEE_VERSION_GREEN_POWER 3 /* ZigBee Green Power */ /* ZigBee version macro. */ #define ZBEE_HAS_2003(x) ((x) >= ZBEE_VERSION_2003) #define ZBEE_HAS_2006(x) ((x) >= ZBEE_VERSION_2007) #define ZBEE_HAS_2007(x) ((x) >= ZBEE_VERSION_2007) /* ZigBee Application Profile IDs */ /* Per: 053298r19, December 2011 */ #define ZBEE_DEVICE_PROFILE 0x0000 #define ZBEE_PROFILE_IPM 0x0101 #define ZBEE_PROFILE_T1 0x0103 #define ZBEE_PROFILE_HA 0x0104 #define ZBEE_PROFILE_CBA 0x0105 #define ZBEE_PROFILE_WSN 0x0106 #define ZBEE_PROFILE_TA 0x0107 #define ZBEE_PROFILE_HC 0x0108 #define ZBEE_PROFILE_SE 0x0109 #define ZBEE_PROFILE_RS 0x010a #define ZBEE_PROFILE_STD_MIN 0x0000 #define ZBEE_PROFILE_STD_MAX 0x7eff /* ZigBee Reserved */ #define ZBEE_PROFILE_T2 0x7f01 /* Application Profile ID Ranges */ #define ZBEE_PROFILE_RSVD0_MIN 0x7f00 #define ZBEE_PROFILE_RSVD0_MAX 0x7fff #define ZBEE_PROFILE_RSVD1_MIN 0x8000 #define ZBEE_PROFILE_RSVD1_MAX 0xbeff #define ZBEE_PROFILE_GP 0xa1e0 /* Organization Profile IDs */ #define ZBEE_PROFILE_IEEE_1451_5 0xbf00 #define ZBEE_PROFILE_MFR_SPEC_ORG_MIN 0xbf01 #define ZBEE_PROFILE_MFR_SPEC_ORG_MAX 0xbfff /* Manufacturer Profile ID Allocations */ #define ZBEE_PROFILE_CIRRONET_0_MIN 0xc000 #define ZBEE_PROFILE_CIRRONET_0_MAX 0xc002 #define ZBEE_PROFILE_CHIPCON_MIN 0xc003 #define ZBEE_PROFILE_CHIPCON_MAX 0xc00c #define ZBEE_PROFILE_EMBER_MIN 0xc00d #define ZBEE_PROFILE_EMBER_MAX 0xc016 #define ZBEE_PROFILE_NTS_MIN 0xc017 #define ZBEE_PROFILE_NTS_MAX 0xc020 #define ZBEE_PROFILE_FREESCALE_MIN 0xc021 #define ZBEE_PROFILE_FREESCALE_MAX 0xc02a #define ZBEE_PROFILE_IPCOM_MIN 0xc02b #define ZBEE_PROFILE_IPCOM_MAX 0xc034 #define ZBEE_PROFILE_SAN_JUAN_MIN 0xc035 #define ZBEE_PROFILE_SAN_JUAN_MAX 0xc036 #define ZBEE_PROFILE_TUV_MIN 0xc037 #define ZBEE_PROFILE_TUV_MAX 0xc040 #define ZBEE_PROFILE_COMPXS_MIN 0xc041 #define ZBEE_PROFILE_COMPXS_MAX 0xc04a #define ZBEE_PROFILE_BM_MIN 0xc04b #define ZBEE_PROFILE_BM_MAX 0xc04d #define ZBEE_PROFILE_AWAREPOINT_MIN 0xc04e #define ZBEE_PROFILE_AWAREPOINT_MAX 0xc057 #define ZBEE_PROFILE_SAN_JUAN_1_MIN 0xc058 #define ZBEE_PROFILE_SAN_JUAN_1_MAX 0xc05d #define ZBEE_PROFILE_ZLL 0xc05e #define ZBEE_PROFILE_PHILIPS_MIN 0xc05f #define ZBEE_PROFILE_PHILIPS_MAX 0xc067 #define ZBEE_PROFILE_LUXOFT_MIN 0xc068 #define ZBEE_PROFILE_LUXOFT_MAX 0xc071 #define ZBEE_PROFILE_KORWIN_MIN 0xc072 #define ZBEE_PROFILE_KORWIN_MAX 0xc07b #define ZBEE_PROFILE_1_RF_MIN 0xc07c #define ZBEE_PROFILE_1_RF_MAX 0xc085 #define ZBEE_PROFILE_STG_MIN 0xc086 #define ZBEE_PROFILE_STG_MAX 0xc08f #define ZBEE_PROFILE_TELEGESIS_MIN 0xc090 #define ZBEE_PROFILE_TELEGESIS_MAX 0xc099 #define ZBEE_PROFILE_CIRRONET_1_MIN 0xc09a #define ZBEE_PROFILE_CIRRONET_1_MAX 0xc0a0 #define ZBEE_PROFILE_VISIONIC_MIN 0xc0a1 #define ZBEE_PROFILE_VISIONIC_MAX 0xc0aa #define ZBEE_PROFILE_INSTA_MIN 0xc0ab #define ZBEE_PROFILE_INSTA_MAX 0xc0b4 #define ZBEE_PROFILE_ATALUM_MIN 0xc0b5 #define ZBEE_PROFILE_ATALUM_MAX 0xc0be #define ZBEE_PROFILE_ATMEL_MIN 0xc0bf #define ZBEE_PROFILE_ATMEL_MAX 0xc0c8 #define ZBEE_PROFILE_DEVELCO_MIN 0xc0c9 #define ZBEE_PROFILE_DEVELCO_MAX 0xc0d2 #define ZBEE_PROFILE_HONEYWELL_MIN 0xc0d3 #define ZBEE_PROFILE_HONEYWELL_MAX 0xc0dc #define ZBEE_PROFILE_NEC_MIN 0xc0dd #define ZBEE_PROFILE_NEC_MAX 0xc0e6 #define ZBEE_PROFILE_YAMATAKE_MIN 0xc0e7 #define ZBEE_PROFILE_YAMATAKE_MAX 0xc0f0 #define ZBEE_PROFILE_TENDRIL_MIN 0xc0f1 #define ZBEE_PROFILE_TENDRIL_MAX 0xc0fa #define ZBEE_PROFILE_ASSA_MIN 0xc0fb #define ZBEE_PROFILE_ASSA_MAX 0xc104 #define ZBEE_PROFILE_MAXSTREAM_MIN 0xc105 #define ZBEE_PROFILE_MAXSTREAM_MAX 0xc10e #define ZBEE_PROFILE_XANADU_MIN 0xc10f #define ZBEE_PROFILE_XANADU_MAX 0xc118 #define ZBEE_PROFILE_NEUROCOM_MIN 0xc119 #define ZBEE_PROFILE_NEUROCOM_MAX 0xc122 #define ZBEE_PROFILE_III_MIN 0xc123 #define ZBEE_PROFILE_III_MAX 0xc12c #define ZBEE_PROFILE_VANTAGE_MIN 0xc12d #define ZBEE_PROFILE_VANTAGE_MAX 0xc12f #define ZBEE_PROFILE_ICONTROL_MIN 0xc130 #define ZBEE_PROFILE_ICONTROL_MAX 0xc139 #define ZBEE_PROFILE_RAYMARINE_MIN 0xc13a #define ZBEE_PROFILE_RAYMARINE_MAX 0xc143 #define ZBEE_PROFILE_RENESAS_MIN 0xc144 #define ZBEE_PROFILE_RENESAS_MAX 0xc14d #define ZBEE_PROFILE_LSR_MIN 0xc14e #define ZBEE_PROFILE_LSR_MAX 0xc157 #define ZBEE_PROFILE_ONITY_MIN 0xc158 #define ZBEE_PROFILE_ONITY_MAX 0xc161 #define ZBEE_PROFILE_MONO_MIN 0xc162 #define ZBEE_PROFILE_MONO_MAX 0xc16b #define ZBEE_PROFILE_RFT_MIN 0xc16c #define ZBEE_PROFILE_RFT_MAX 0xc175 #define ZBEE_PROFILE_ITRON_MIN 0xc176 #define ZBEE_PROFILE_ITRON_MAX 0xc17f #define ZBEE_PROFILE_TRITECH_MIN 0xc180 #define ZBEE_PROFILE_TRITECH_MAX 0xc189 #define ZBEE_PROFILE_EMBEDIT_MIN 0xc18a #define ZBEE_PROFILE_EMBEDIT_MAX 0xc193 #define ZBEE_PROFILE_S3C_MIN 0xc194 #define ZBEE_PROFILE_S3C_MAX 0xc19d #define ZBEE_PROFILE_SIEMENS_MIN 0xc19e #define ZBEE_PROFILE_SIEMENS_MAX 0xc1a7 #define ZBEE_PROFILE_MINDTECH_MIN 0xc1a8 #define ZBEE_PROFILE_MINDTECH_MAX 0xc1b1 #define ZBEE_PROFILE_LGE_MIN 0xc1b2 #define ZBEE_PROFILE_LGE_MAX 0xc1bb #define ZBEE_PROFILE_MITSUBISHI_MIN 0xc1bc #define ZBEE_PROFILE_MITSUBISHI_MAX 0xc1c5 #define ZBEE_PROFILE_JOHNSON_MIN 0xc1c6 #define ZBEE_PROFILE_JOHNSON_MAX 0xc1cf #define ZBEE_PROFILE_PRI_MIN 0xc1d0 #define ZBEE_PROFILE_PRI_MAX 0xc1d9 #define ZBEE_PROFILE_KNICK_MIN 0xc1da #define ZBEE_PROFILE_KNICK_MAX 0xc1e3 #define ZBEE_PROFILE_VICONICS_MIN 0xc1e4 #define ZBEE_PROFILE_VICONICS_MAX 0xc1ed #define ZBEE_PROFILE_FLEXIPANEL_MIN 0xc1ee #define ZBEE_PROFILE_FLEXIPANEL_MAX 0xc1f7 #define ZBEE_PROFILE_TRANE_MIN 0xc1f8 #define ZBEE_PROFILE_TRANE_MAX 0xc201 #define ZBEE_PROFILE_JENNIC_MIN 0xc202 #define ZBEE_PROFILE_JENNIC_MAX 0xc20b #define ZBEE_PROFILE_LIG_MIN 0xc20c #define ZBEE_PROFILE_LIG_MAX 0xc215 #define ZBEE_PROFILE_ALERTME_MIN 0xc216 #define ZBEE_PROFILE_ALERTME_MAX 0xc21f #define ZBEE_PROFILE_DAINTREE_MIN 0xc220 #define ZBEE_PROFILE_DAINTREE_MAX 0xc229 #define ZBEE_PROFILE_AIJI_MIN 0xc22a #define ZBEE_PROFILE_AIJI_MAX 0xc233 #define ZBEE_PROFILE_TEL_ITALIA_MIN 0xc234 #define ZBEE_PROFILE_TEL_ITALIA_MAX 0xc23d #define ZBEE_PROFILE_MIKROKRETS_MIN 0xc23e #define ZBEE_PROFILE_MIKROKRETS_MAX 0xc247 #define ZBEE_PROFILE_OKI_MIN 0xc248 #define ZBEE_PROFILE_OKI_MAX 0xc251 #define ZBEE_PROFILE_NEWPORT_MIN 0xc252 #define ZBEE_PROFILE_NEWPORT_MAX 0xc25b #define ZBEE_PROFILE_C4_CL 0xc25d #define ZBEE_PROFILE_C4_MIN 0xc25c #define ZBEE_PROFILE_C4_MAX 0xc265 #define ZBEE_PROFILE_STM_MIN 0xc266 #define ZBEE_PROFILE_STM_MAX 0xc26f #define ZBEE_PROFILE_ASN_0_MIN 0xc270 #define ZBEE_PROFILE_ASN_0_MAX 0xc270 #define ZBEE_PROFILE_DCSI_MIN 0xc271 #define ZBEE_PROFILE_DCSI_MAX 0xc27a #define ZBEE_PROFILE_FRANCE_TEL_MIN 0xc27b #define ZBEE_PROFILE_FRANCE_TEL_MAX 0xc284 #define ZBEE_PROFILE_MUNET_MIN 0xc285 #define ZBEE_PROFILE_MUNET_MAX 0xc28e #define ZBEE_PROFILE_AUTANI_MIN 0xc28f #define ZBEE_PROFILE_AUTANI_MAX 0xc298 #define ZBEE_PROFILE_COL_VNET_MIN 0xc299 #define ZBEE_PROFILE_COL_VNET_MAX 0xc2a2 #define ZBEE_PROFILE_AEROCOMM_MIN 0xc2a3 #define ZBEE_PROFILE_AEROCOMM_MAX 0xc2ac #define ZBEE_PROFILE_SI_LABS_MIN 0xc2ad #define ZBEE_PROFILE_SI_LABS_MAX 0xc2b6 #define ZBEE_PROFILE_INNCOM_MIN 0xc2b7 #define ZBEE_PROFILE_INNCOM_MAX 0xc2c0 #define ZBEE_PROFILE_CANNON_MIN 0xc2c1 #define ZBEE_PROFILE_CANNON_MAX 0xc2ca #define ZBEE_PROFILE_SYNAPSE_MIN 0xc2cb #define ZBEE_PROFILE_SYNAPSE_MAX 0xc2d4 #define ZBEE_PROFILE_FPS_MIN 0xc2d5 #define ZBEE_PROFILE_FPS_MAX 0xc2de #define ZBEE_PROFILE_CLS_MIN 0xc2df #define ZBEE_PROFILE_CLS_MAX 0xc2e8 #define ZBEE_PROFILE_CRANE_MIN 0xc2e9 #define ZBEE_PROFILE_CRANE_MAX 0xc2f2 #define ZBEE_PROFILE_ASN_1_MIN 0xc2f3 #define ZBEE_PROFILE_ASN_1_MAX 0xc2fb #define ZBEE_PROFILE_MOBILARM_MIN 0xc2fc #define ZBEE_PROFILE_MOBILARM_MAX 0xc305 #define ZBEE_PROFILE_IMONITOR_MIN 0xc306 #define ZBEE_PROFILE_IMONITOR_MAX 0xc30f #define ZBEE_PROFILE_BARTECH_MIN 0xc310 #define ZBEE_PROFILE_BARTECH_MAX 0xc319 #define ZBEE_PROFILE_MESHNETICS_MIN 0xc31a #define ZBEE_PROFILE_MESHNETICS_MAX 0xc323 #define ZBEE_PROFILE_LS_IND_MIN 0xc324 #define ZBEE_PROFILE_LS_IND_MAX 0xc32d #define ZBEE_PROFILE_CASON_MIN 0xc32e #define ZBEE_PROFILE_CASON_MAX 0xc337 #define ZBEE_PROFILE_WLESS_GLUE_MIN 0xc338 #define ZBEE_PROFILE_WLESS_GLUE_MAX 0xc341 #define ZBEE_PROFILE_ELSTER_MIN 0xc342 #define ZBEE_PROFILE_ELSTER_MAX 0xc34b #define ZBEE_PROFILE_ONSET_MIN 0xc34c #define ZBEE_PROFILE_ONSET_MAX 0xc355 #define ZBEE_PROFILE_RIGA_MIN 0xc356 #define ZBEE_PROFILE_RIGA_MAX 0xc35f #define ZBEE_PROFILE_ENERGATE_MIN 0xc360 #define ZBEE_PROFILE_ENERGATE_MAX 0xc369 #define ZBEE_PROFILE_VANTAGE_1_MIN 0xc36a #define ZBEE_PROFILE_VANTAGE_1_MAX 0xc370 #define ZBEE_PROFILE_CONMED_MIN 0xc371 #define ZBEE_PROFILE_CONMED_MAX 0xc37a #define ZBEE_PROFILE_SMS_TEC_MIN 0xc37b #define ZBEE_PROFILE_SMS_TEC_MAX 0xc384 #define ZBEE_PROFILE_POWERMAND_MIN 0xc385 #define ZBEE_PROFILE_POWERMAND_MAX 0xc38e #define ZBEE_PROFILE_SCHNEIDER_MIN 0xc38f #define ZBEE_PROFILE_SCHNEIDER_MAX 0xc398 #define ZBEE_PROFILE_EATON_MIN 0xc399 #define ZBEE_PROFILE_EATON_MAX 0xc3a2 #define ZBEE_PROFILE_TELULAR_MIN 0xc3a3 #define ZBEE_PROFILE_TELULAR_MAX 0xc3ac #define ZBEE_PROFILE_DELPHI_MIN 0xc3ad #define ZBEE_PROFILE_DELPHI_MAX 0xc3b6 #define ZBEE_PROFILE_EPISENSOR_MIN 0xc3b7 #define ZBEE_PROFILE_EPISENSOR_MAX 0xc3c0 #define ZBEE_PROFILE_LANDIS_GYR_MIN 0xc3c1 #define ZBEE_PROFILE_LANDIS_GYR_MAX 0xc3ca #define ZBEE_PROFILE_SHURE_MIN 0xc3cb #define ZBEE_PROFILE_SHURE_MAX 0xc3d4 #define ZBEE_PROFILE_COMVERGE_MIN 0xc3d5 #define ZBEE_PROFILE_COMVERGE_MAX 0xc3df #define ZBEE_PROFILE_KABA_MIN 0xc3e0 #define ZBEE_PROFILE_KABA_MAX 0xc3e9 #define ZBEE_PROFILE_HIDALGO_MIN 0xc3ea #define ZBEE_PROFILE_HIDALGO_MAX 0xc3f3 #define ZBEE_PROFILE_AIR2APP_MIN 0xc3f4 #define ZBEE_PROFILE_AIR2APP_MAX 0xc3fd #define ZBEE_PROFILE_AMX_MIN 0xc3fe #define ZBEE_PROFILE_AMX_MAX 0xc407 #define ZBEE_PROFILE_EDMI_MIN 0xc408 #define ZBEE_PROFILE_EDMI_MAX 0xc411 #define ZBEE_PROFILE_CYAN_MIN 0xc412 #define ZBEE_PROFILE_CYAN_MAX 0xc41b #define ZBEE_PROFILE_SYS_SPA_MIN 0xc41c #define ZBEE_PROFILE_SYS_SPA_MAX 0xc425 #define ZBEE_PROFILE_TELIT_MIN 0xc426 #define ZBEE_PROFILE_TELIT_MAX 0xc42f #define ZBEE_PROFILE_KAGA_MIN 0xc430 #define ZBEE_PROFILE_KAGA_MAX 0xc439 #define ZBEE_PROFILE_4_NOKS_MIN 0xc43a #define ZBEE_PROFILE_4_NOKS_MAX 0xc443 #define ZBEE_PROFILE_PROFILE_SYS_MIN 0xc444 #define ZBEE_PROFILE_PROFILE_SYS_MAX 0xc44d #define ZBEE_PROFILE_FREESTYLE_MIN 0xc44e #define ZBEE_PROFILE_FREESTYLE_MAX 0xc457 #define ZBEE_PROFILE_REMOTE_MIN 0xc458 #define ZBEE_PROFILE_REMOTE_MAX 0xc461 #define ZBEE_PROFILE_TRANE_RES_MIN 0xc462 #define ZBEE_PROFILE_TRANE_RES_MAX 0xc46b #define ZBEE_PROFILE_WAVECOM_MIN 0xc46c #define ZBEE_PROFILE_WAVECOM_MAX 0xc475 #define ZBEE_PROFILE_GE_MIN 0xc476 #define ZBEE_PROFILE_GE_MAX 0xc47f #define ZBEE_PROFILE_MESHWORKS_MIN 0xc480 #define ZBEE_PROFILE_MESHWORKS_MAX 0xc489 #define ZBEE_PROFILE_ENERGY_OPT_MIN 0xc48a #define ZBEE_PROFILE_ENERGY_OPT_MAX 0xc493 #define ZBEE_PROFILE_ELLIPS_MIN 0xc494 #define ZBEE_PROFILE_ELLIPS_MAX 0xc49d #define ZBEE_PROFILE_CEDO_MIN 0xc49e #define ZBEE_PROFILE_CEDO_MAX 0xc4a7 #define ZBEE_PROFILE_A_D_MIN 0xc4a8 #define ZBEE_PROFILE_A_D_MAX 0xc4b1 #define ZBEE_PROFILE_CARRIER_MIN 0xc4b2 #define ZBEE_PROFILE_CARRIER_MAX 0xc4bb #define ZBEE_PROFILE_PASSIVESYS_MIN 0xc4bc #define ZBEE_PROFILE_PASSIVESYS_MAX 0xc4bd #define ZBEE_PROFILE_G4S_JUSTICE_MIN 0xc4be #define ZBEE_PROFILE_G4S_JUSTICE_MAX 0xc4bf #define ZBEE_PROFILE_SYCHIP_MIN 0xc4c0 #define ZBEE_PROFILE_SYCHIP_MAX 0xc4c1 #define ZBEE_PROFILE_MMB_MIN 0xc4c2 #define ZBEE_PROFILE_MMB_MAX 0xc4c3 #define ZBEE_PROFILE_SUNRISE_MIN 0xc4c4 #define ZBEE_PROFILE_SUNRISE_MAX 0xc4c5 #define ZBEE_PROFILE_MEMTEC_MIN 0xc4c6 #define ZBEE_PROFILE_MEMTEC_MAX 0xc4c7 #define ZBEE_PROFILE_HOME_AUTO_MIN 0xc4c8 #define ZBEE_PROFILE_HOME_AUTO_MAX 0xc4c9 #define ZBEE_PROFILE_BRITISH_GAS_MIN 0xc4ca #define ZBEE_PROFILE_BRITISH_GAS_MAX 0xc4cb #define ZBEE_PROFILE_SENTEC_MIN 0xc4cc #define ZBEE_PROFILE_SENTEC_MAX 0xc4cd #define ZBEE_PROFILE_NAVETAS_MIN 0xc4ce #define ZBEE_PROFILE_NAVETAS_MAX 0xc4cf #define ZBEE_PROFILE_ENERNOC_MIN 0xc4d0 #define ZBEE_PROFILE_ENERNOC_MAX 0xc4d1 #define ZBEE_PROFILE_ELTAV_MIN 0xc4d2 #define ZBEE_PROFILE_ELTAV_MAX 0xc4d3 #define ZBEE_PROFILE_XSTREAMHD_MIN 0xc4d4 #define ZBEE_PROFILE_XSTREAMHD_MAX 0xc4d5 #define ZBEE_PROFILE_GREEN_MIN 0xc4d6 #define ZBEE_PROFILE_GREEN_MAX 0xc4d7 #define ZBEE_PROFILE_OMRON_MIN 0xc4d8 #define ZBEE_PROFILE_OMRON_MAX 0xc4d9 /**/ #define ZBEE_PROFILE_NEC_TOKIN_MIN 0xc4e0 #define ZBEE_PROFILE_NEC_TOKIN_MAX 0xc4e1 #define ZBEE_PROFILE_PEEL_MIN 0xc4e2 #define ZBEE_PROFILE_PEEL_MAX 0xc4e3 #define ZBEE_PROFILE_ELECTROLUX_MIN 0xc4e4 #define ZBEE_PROFILE_ELECTROLUX_MAX 0xc4e5 #define ZBEE_PROFILE_SAMSUNG_MIN 0xc4e6 #define ZBEE_PROFILE_SAMSUNG_MAX 0xc4e7 #define ZBEE_PROFILE_MAINSTREAM_MIN 0xc4e8 #define ZBEE_PROFILE_MAINSTREAM_MAX 0xc4e9 #define ZBEE_PROFILE_DIGI_MIN 0xc4f0 #define ZBEE_PROFILE_DIGI_MAX 0xc4f1 #define ZBEE_PROFILE_RADIOCRAFTS_MIN 0xc4f2 #define ZBEE_PROFILE_RADIOCRAFTS_MAX 0xc4f3 #define ZBEE_PROFILE_SCHNEIDER2_MIN 0xc4f4 #define ZBEE_PROFILE_SCHNEIDER2_MAX 0xc4f5 #define ZBEE_PROFILE_HUAWEI_MIN 0xc4f6 #define ZBEE_PROFILE_HUAWEI_MAX 0xc4ff #define ZBEE_PROFILE_BGLOBAL_MIN 0xc500 #define ZBEE_PROFILE_BGLOBAL_MAX 0xc505 #define ZBEE_PROFILE_ABB_MIN 0xc506 #define ZBEE_PROFILE_ABB_MAX 0xc507 #define ZBEE_PROFILE_GENUS_MIN 0xc508 #define ZBEE_PROFILE_GENUS_MAX 0xc509 #define ZBEE_PROFILE_UBISYS_MIN 0xc50a #define ZBEE_PROFILE_UBISYS_MAX 0xc50b #define ZBEE_PROFILE_CRESTRON_MIN 0xc50c #define ZBEE_PROFILE_CRESTRON_MAX 0xc50d #define ZBEE_PROFILE_AAC_TECH_MIN 0xc50e #define ZBEE_PROFILE_AAC_TECH_MAX 0xc50f #define ZBEE_PROFILE_STEELCASE_MIN 0xc510 #define ZBEE_PROFILE_STEELCASE_MAX 0xc511 /* Unallocated Manufacturer IDs */ #define ZBEE_PROFILE_UNALLOCATED_MIN 0xc000 #define ZBEE_PROFILE_UNALLOCATED_MAX 0xffff /* Frame Control Field */ #define ZBEE_ZCL_FCF_FRAME_TYPE 0x03 #define ZBEE_ZCL_FCF_MFR_SPEC 0x04 #define ZBEE_ZCL_FCF_DIRECTION 0x08 #define ZBEE_ZCL_FCF_DISABLE_DEFAULT_RESP 0x10 #define ZBEE_ZCL_FCF_PROFILE_WIDE 0x00 #define ZBEE_ZCL_FCF_CLUSTER_SPEC 0x01 #define ZBEE_ZCL_FCF_TO_SERVER 0x00 #define ZBEE_ZCL_FCF_TO_CLIENT 0x01 /* Manufacturer Codes */ #define ZBEE_MFG_CODE_NONE 0x0000 /* Codes less than 0x1000 were issued for RF4CE */ #define ZBEE_MFG_CODE_PANASONIC_RF4CE 0x0001 #define ZBEE_MFG_CODE_SONY_RF4CE 0x0002 #define ZBEE_MFG_CODE_SAMSUNG_RF4CE 0x0003 #define ZBEE_MFG_CODE_PHILIPS_RF4CE 0x0004 #define ZBEE_MFG_CODE_FREESCALE_RF4CE 0x0005 #define ZBEE_MFG_CODE_OKI_SEMI_RF4CE 0x0006 #define ZBEE_MFG_CODE_TI_RF4CE 0x0007 /* Manufacturer Codes for non RF4CE devices */ #define ZBEE_MFG_CODE_CIRRONET 0x1000 #define ZBEE_MFG_CODE_CHIPCON 0x1001 #define ZBEE_MFG_CODE_EMBER 0x1002 #define ZBEE_MFG_CODE_NTS 0x1003 #define ZBEE_MFG_CODE_FREESCALE 0x1004 #define ZBEE_MFG_CODE_IPCOM 0x1005 #define ZBEE_MFG_CODE_SAN_JUAN 0x1006 #define ZBEE_MFG_CODE_TUV 0x1007 #define ZBEE_MFG_CODE_COMPXS 0x1008 #define ZBEE_MFG_CODE_BM 0x1009 #define ZBEE_MFG_CODE_AWAREPOINT 0x100a #define ZBEE_MFG_CODE_PHILIPS 0x100b #define ZBEE_MFG_CODE_LUXOFT 0x100c #define ZBEE_MFG_CODE_KORWIN 0x100d #define ZBEE_MFG_CODE_1_RF 0x100e #define ZBEE_MFG_CODE_STG 0x100f #define ZBEE_MFG_CODE_TELEGESIS 0x1010 #define ZBEE_MFG_CODE_VISIONIC 0x1011 #define ZBEE_MFG_CODE_INSTA 0x1012 #define ZBEE_MFG_CODE_ATALUM 0x1013 #define ZBEE_MFG_CODE_ATMEL 0x1014 #define ZBEE_MFG_CODE_DEVELCO 0x1015 #define ZBEE_MFG_CODE_HONEYWELL1 0x1016 #define ZBEE_MFG_CODE_RADIO_PULSE 0x1017 #define ZBEE_MFG_CODE_RENESAS 0x1018 #define ZBEE_MFG_CODE_XANADU 0x1019 #define ZBEE_MFG_CODE_NEC 0x101a #define ZBEE_MFG_CODE_YAMATAKE 0x101b #define ZBEE_MFG_CODE_TENDRIL 0x101c #define ZBEE_MFG_CODE_ASSA 0x101d #define ZBEE_MFG_CODE_MAXSTREAM 0x101e #define ZBEE_MFG_CODE_NEUROCOM 0x101f #define ZBEE_MFG_CODE_III 0x1020 #define ZBEE_MFG_CODE_VANTAGE 0x1021 #define ZBEE_MFG_CODE_ICONTROL 0x1022 #define ZBEE_MFG_CODE_RAYMARINE 0x1023 #define ZBEE_MFG_CODE_LSR 0x1024 #define ZBEE_MFG_CODE_ONITY 0x1025 #define ZBEE_MFG_CODE_MONO 0x1026 #define ZBEE_MFG_CODE_RFT 0x1027 #define ZBEE_MFG_CODE_ITRON 0x1028 #define ZBEE_MFG_CODE_TRITECH 0x1029 #define ZBEE_MFG_CODE_EMBEDIT 0x102a #define ZBEE_MFG_CODE_S3C 0x102b #define ZBEE_MFG_CODE_SIEMENS 0x102c #define ZBEE_MFG_CODE_MINDTECH 0x102d #define ZBEE_MFG_CODE_LGE 0x102e #define ZBEE_MFG_CODE_MITSUBISHI 0x102f #define ZBEE_MFG_CODE_JOHNSON 0x1030 #define ZBEE_MFG_CODE_PRI 0x1031 #define ZBEE_MFG_CODE_KNICK 0x1032 #define ZBEE_MFG_CODE_VICONICS 0x1033 #define ZBEE_MFG_CODE_FLEXIPANEL 0x1034 #define ZBEE_MFG_CODE_PIASIM 0x1035 #define ZBEE_MFG_CODE_TRANE 0x1036 #define ZBEE_MFG_CODE_JENNIC 0x1037 #define ZBEE_MFG_CODE_LIG 0x1038 #define ZBEE_MFG_CODE_ALERTME 0x1039 #define ZBEE_MFG_CODE_DAINTREE 0x103a #define ZBEE_MFG_CODE_AIJI 0x103b #define ZBEE_MFG_CODE_TEL_ITALIA 0x103c #define ZBEE_MFG_CODE_MIKROKRETS 0x103d #define ZBEE_MFG_CODE_OKI_SEMI 0x103e #define ZBEE_MFG_CODE_NEWPORT 0x103f #define ZBEE_MFG_CODE_C4 0x1040 #define ZBEE_MFG_CODE_STM 0x1041 #define ZBEE_MFG_CODE_ASN 0x1042 #define ZBEE_MFG_CODE_DCSI 0x1043 #define ZBEE_MFG_CODE_FRANCE_TEL 0x1044 #define ZBEE_MFG_CODE_MUNET 0x1045 #define ZBEE_MFG_CODE_AUTANI 0x1046 #define ZBEE_MFG_CODE_COL_VNET 0x1047 #define ZBEE_MFG_CODE_AEROCOMM 0x1048 #define ZBEE_MFG_CODE_SI_LABS 0x1049 #define ZBEE_MFG_CODE_INNCOM 0x104a #define ZBEE_MFG_CODE_CANNON 0x104b #define ZBEE_MFG_CODE_SYNAPSE 0x104c #define ZBEE_MFG_CODE_FPS 0x104d #define ZBEE_MFG_CODE_CLS 0x104e #define ZBEE_MFG_CODE_CRANE 0x104F #define ZBEE_MFG_CODE_MOBILARM 0x1050 #define ZBEE_MFG_CODE_IMONITOR 0x1051 #define ZBEE_MFG_CODE_BARTECH 0x1052 #define ZBEE_MFG_CODE_MESHNETICS 0x1053 #define ZBEE_MFG_CODE_LS_IND 0x1054 #define ZBEE_MFG_CODE_CASON 0x1055 #define ZBEE_MFG_CODE_WLESS_GLUE 0x1056 #define ZBEE_MFG_CODE_ELSTER 0x1057 #define ZBEE_MFG_CODE_SMS_TEC 0x1058 #define ZBEE_MFG_CODE_ONSET 0x1059 #define ZBEE_MFG_CODE_RIGA 0x105a #define ZBEE_MFG_CODE_ENERGATE 0x105b #define ZBEE_MFG_CODE_CONMED 0x105c #define ZBEE_MFG_CODE_POWERMAND 0x105d #define ZBEE_MFG_CODE_SCHNEIDER 0x105e #define ZBEE_MFG_CODE_EATON 0x105f #define ZBEE_MFG_CODE_TELULAR 0x1060 #define ZBEE_MFG_CODE_DELPHI 0x1061 #define ZBEE_MFG_CODE_EPISENSOR 0x1062 #define ZBEE_MFG_CODE_LANDIS_GYR 0x1063 #define ZBEE_MFG_CODE_KABA 0x1064 #define ZBEE_MFG_CODE_SHURE 0x1065 #define ZBEE_MFG_CODE_COMVERGE 0x1066 #define ZBEE_MFG_CODE_DBS_LODGING 0x1067 #define ZBEE_MFG_CODE_ENERGY_AWARE 0x1068 #define ZBEE_MFG_CODE_HIDALGO 0x1069 #define ZBEE_MFG_CODE_AIR2APP 0x106a #define ZBEE_MFG_CODE_AMX 0x106b #define ZBEE_MFG_CODE_EDMI 0x106c #define ZBEE_MFG_CODE_CYAN 0x106d #define ZBEE_MFG_CODE_SYS_SPA 0x106e #define ZBEE_MFG_CODE_TELIT 0x106f #define ZBEE_MFG_CODE_KAGA 0x1070 #define ZBEE_MFG_CODE_4_NOKS 0x1071 #define ZBEE_MFG_CODE_CERTICOM 0x1072 #define ZBEE_MFG_CODE_GRIDPOINT 0x1073 #define ZBEE_MFG_CODE_PROFILE_SYS 0x1074 #define ZBEE_MFG_CODE_COMPACTA 0x1075 #define ZBEE_MFG_CODE_FREESTYLE 0x1076 #define ZBEE_MFG_CODE_ALEKTRONA 0x1077 #define ZBEE_MFG_CODE_COMPUTIME 0x1078 #define ZBEE_MFG_CODE_REMOTE_TECH 0x1079 #define ZBEE_MFG_CODE_WAVECOM 0x107a #define ZBEE_MFG_CODE_ENERGY 0x107b #define ZBEE_MFG_CODE_GE 0x107c #define ZBEE_MFG_CODE_JETLUN 0x107d #define ZBEE_MFG_CODE_CIPHER 0x107e #define ZBEE_MFG_CODE_CORPORATE 0x107f #define ZBEE_MFG_CODE_ECOBEE 0x1080 #define ZBEE_MFG_CODE_SMK 0x1081 #define ZBEE_MFG_CODE_MESHWORKS 0x1082 #define ZBEE_MFG_CODE_ELLIPS 0x1083 #define ZBEE_MFG_CODE_SECURE 0x1084 #define ZBEE_MFG_CODE_CEDO 0x1085 #define ZBEE_MFG_CODE_TOSHIBA 0x1086 #define ZBEE_MFG_CODE_DIGI 0x1087 #define ZBEE_MFG_CODE_UBILOGIX 0x1088 #define ZBEE_MFG_CODE_ECHELON 0x1089 /* */ #define ZBEE_MFG_CODE_GREEN_ENERGY 0x1090 #define ZBEE_MFG_CODE_SILVER_SPRING 0x1091 #define ZBEE_MFG_CODE_BLACK 0x1092 #define ZBEE_MFG_CODE_AZTECH_ASSOC 0x1093 #define ZBEE_MFG_CODE_A_AND_D 0x1094 #define ZBEE_MFG_CODE_RAINFOREST 0x1095 #define ZBEE_MFG_CODE_CARRIER 0x1096 #define ZBEE_MFG_CODE_SYCHIP 0x1097 #define ZBEE_MFG_CODE_OPEN_PEAK 0x1098 #define ZBEE_MFG_CODE_PASSIVE 0x1099 #define ZBEE_MFG_CODE_MMB 0x109a #define ZBEE_MFG_CODE_LEVITON 0x109b #define ZBEE_MFG_CODE_KOREA_ELEC 0x109c #define ZBEE_MFG_CODE_COMCAST1 0x109d #define ZBEE_MFG_CODE_NEC_ELEC 0x109e #define ZBEE_MFG_CODE_NETVOX 0x109f #define ZBEE_MFG_CODE_UCONTROL 0x10a0 #define ZBEE_MFG_CODE_EMBEDIA 0x10a1 #define ZBEE_MFG_CODE_SENSUS 0x10a2 #define ZBEE_MFG_CODE_SUNRISE 0x10a3 #define ZBEE_MFG_CODE_MEMTECH 0x10a4 #define ZBEE_MFG_CODE_FREEBOX 0x10a5 #define ZBEE_MFG_CODE_M2_LABS 0x10a6 #define ZBEE_MFG_CODE_BRITISH_GAS 0x10a7 #define ZBEE_MFG_CODE_SENTEC 0x10a8 #define ZBEE_MFG_CODE_NAVETAS 0x10a9 #define ZBEE_MFG_CODE_LIGHTSPEED 0x10aa #define ZBEE_MFG_CODE_OKI 0x10ab #define ZBEE_MFG_CODE_SISTEMAS 0x10ac #define ZBEE_MFG_CODE_DOMETIC 0x10ad #define ZBEE_MFG_CODE_APLS 0x10ae #define ZBEE_MFG_CODE_ENERGY_HUB 0x10af #define ZBEE_MFG_CODE_KAMSTRUP 0x10b0 #define ZBEE_MFG_CODE_ECHOSTAR 0x10b1 #define ZBEE_MFG_CODE_ENERNOC 0x10b2 #define ZBEE_MFG_CODE_ELTAV 0x10b3 #define ZBEE_MFG_CODE_BELKIN 0x10b4 #define ZBEE_MFG_CODE_XSTREAMHD 0x10b5 #define ZBEE_MFG_CODE_SATURN_SOUTH 0x10b6 #define ZBEE_MFG_CODE_GREENTRAP 0x10b7 #define ZBEE_MFG_CODE_SMARTSYNCH 0x10b8 #define ZBEE_MFG_CODE_NYCE 0x10b9 #define ZBEE_MFG_CODE_ICM_CONTROLS 0x10ba #define ZBEE_MFG_CODE_MILLENNIUM 0x10bb #define ZBEE_MFG_CODE_MOTOROLA 0x10bc #define ZBEE_MFG_CODE_EMERSON 0x10bd #define ZBEE_MFG_CODE_RADIO_THERMOSTAT 0x10be #define ZBEE_MFG_CODE_OMRON 0x10bf #define ZBEE_MFG_CODE_GIINII 0x10c0 #define ZBEE_MFG_CODE_FUJITSU 0x10c1 #define ZBEE_MFG_CODE_PEEL 0x10c2 #define ZBEE_MFG_CODE_ACCENT 0x10c3 #define ZBEE_MFG_CODE_BYTESNAP 0x10c4 #define ZBEE_MFG_CODE_NEC_TOKIN 0x10c5 #define ZBEE_MFG_CODE_G4S_JUSTICE 0x10c6 #define ZBEE_MFG_CODE_TRILLIANT 0x10c7 #define ZBEE_MFG_CODE_ELECTROLUX 0x10c8 #define ZBEE_MFG_CODE_ONZO 0x10c9 #define ZBEE_MFG_CODE_ENTEK 0x10ca #define ZBEE_MFG_CODE_PHILIPS2 0x10cb #define ZBEE_MFG_CODE_MAINSTREAM 0x10cc #define ZBEE_MFG_CODE_INDESIT 0x10cd #define ZBEE_MFG_CODE_THINKECO 0x10ce #define ZBEE_MFG_CODE_2D2C 0x10cf #define ZBEE_MFG_CODE_GREENPEAK 0x10d0 #define ZBEE_MFG_CODE_INTERCEL 0x10d1 #define ZBEE_MFG_CODE_LG 0x10d2 #define ZBEE_MFG_CODE_MITSUMI1 0x10d3 #define ZBEE_MFG_CODE_MITSUMI2 0x10d4 #define ZBEE_MFG_CODE_ZENTRUM 0x10d5 #define ZBEE_MFG_CODE_NEST 0x10d6 #define ZBEE_MFG_CODE_EXEGIN 0x10d7 #define ZBEE_MFG_CODE_HONEYWELL2 0x10d8 #define ZBEE_MFG_CODE_TAKAHATA 0x10d9 #define ZBEE_MFG_CODE_SUMITOMO 0x10da #define ZBEE_MFG_CODE_GE_ENERGY 0x10db #define ZBEE_MFG_CODE_GE_APPLIANCES 0x10dc #define ZBEE_MFG_CODE_RADIOCRAFTS 0x10dd #define ZBEE_MFG_CODE_CEIVA 0x10de #define ZBEE_MFG_CODE_TEC_CO 0x10df #define ZBEE_MFG_CODE_CHAMELEON 0x10e0 #define ZBEE_MFG_CODE_SAMSUNG 0x10e1 #define ZBEE_MFG_CODE_RUWIDO 0x10e2 #define ZBEE_MFG_CODE_HUAWEI_1 0x10e3 #define ZBEE_MFG_CODE_HUAWEI_2 0x10e4 #define ZBEE_MFG_CODE_GREENWAVE 0x10e5 #define ZBEE_MFG_CODE_BGLOBAL 0x10e6 #define ZBEE_MFG_CODE_MINDTECK 0x10e7 #define ZBEE_MFG_CODE_INGERSOLL_RAND 0x10e8 #define ZBEE_MFG_CODE_DIUS 0x10e9 #define ZBEE_MFG_CODE_EMBEDDED 0x10ea #define ZBEE_MFG_CODE_ABB 0x10eb #define ZBEE_MFG_CODE_SONY 0x10ec #define ZBEE_MFG_CODE_GENUS 0x10ed #define ZBEE_MFG_CODE_UNIVERSAL1 0x10ee #define ZBEE_MFG_CODE_UNIVERSAL2 0x10ef #define ZBEE_MFG_CODE_METRUM 0x10f0 #define ZBEE_MFG_CODE_CISCO 0x10f1 #define ZBEE_MFG_CODE_UBISYS 0x10f2 #define ZBEE_MFG_CODE_CONSERT 0x10f3 #define ZBEE_MFG_CODE_CRESTRON 0x10f4 #define ZBEE_MFG_CODE_ENPHASE 0x10f5 #define ZBEE_MFG_CODE_INVENSYS 0x10f6 #define ZBEE_MFG_CODE_MUELLER 0x10f7 #define ZBEE_MFG_CODE_AAC_TECH 0x10f8 #define ZBEE_MFG_CODE_U_NEXT 0x10f9 #define ZBEE_MFG_CODE_STEELCASE 0x10fa #define ZBEE_MFG_CODE_TELEMATICS 0x10fb #define ZBEE_MFG_CODE_SAMIL 0x10fc #define ZBEE_MFG_CODE_PACE 0x10fd #define ZBEE_MFG_CODE_OSBORNE 0x10fe #define ZBEE_MFG_CODE_POWERWATCH 0x10ff #define ZBEE_MFG_CODE_CANDELED 0x1100 #define ZBEE_MFG_CODE_FLEXGRID 0x1101 #define ZBEE_MFG_CODE_HUMAX 0x1102 #define ZBEE_MFG_CODE_UNIVERSAL 0x1103 #define ZBEE_MFG_CODE_ADVANCED_ENERGY 0x1104 #define ZBEE_MFG_CODE_BEGA 0x1105 #define ZBEE_MFG_CODE_BRUNEL 0x1106 #define ZBEE_MFG_CODE_PANASONIC 0x1107 #define ZBEE_MFG_CODE_ESYSTEMS 0x1108 #define ZBEE_MFG_CODE_PANAMAX 0x1109 #define ZBEE_MFG_CODE_PHYSICAL 0x110a #define ZBEE_MFG_CODE_EM_LITE 0x110b #define ZBEE_MFG_CODE_OSRAM 0x110c #define ZBEE_MFG_CODE_2_SAVE 0x110d #define ZBEE_MFG_CODE_PLANET 0x110e #define ZBEE_MFG_CODE_AMBIENT 0x110f #define ZBEE_MFG_CODE_PROFALUX 0x1110 #define ZBEE_MFG_CODE_BILLION 0x1111 #define ZBEE_MFG_CODE_EMBERTEC 0x1112 #define ZBEE_MFG_CODE_IT_WATCHDOGS 0x1113 #define ZBEE_MFG_CODE_RELOC 0x1114 #define ZBEE_MFG_CODE_INTEL 0x1115 #define ZBEE_MFG_CODE_TREND 0x1116 #define ZBEE_MFG_CODE_MOXA 0x1117 #define ZBEE_MFG_CODE_QEES 0x1118 #define ZBEE_MFG_CODE_SAYME 0x1119 #define ZBEE_MFG_CODE_PENTAIR 0x111a #define ZBEE_MFG_CODE_ORBIT 0x111b #define ZBEE_MFG_CODE_CALIFORNIA 0x111c #define ZBEE_MFG_CODE_COMCAST2 0x111d #define ZBEE_MFG_CODE_IDT 0x111e #define ZBEE_MFG_CODE_PIXELA 0x111f #define ZBEE_MFG_CODE_TIVO 0x1120 #define ZBEE_MFG_CODE_FIDURE 0x1121 #define ZBEE_MFG_CODE_MARVELL 0x1122 #define ZBEE_MFG_CODE_WASION 0x1123 #define ZBEE_MFG_CODE_JASCO 0x1124 #define ZBEE_MFG_CODE_SHENZHEN 0x1125 #define ZBEE_MFG_CODE_NETCOMM 0x1126 #define ZBEE_MFG_CODE_DEFINE 0x1127 #define ZBEE_MFG_CODE_IN_HOME_DISP 0x1128 #define ZBEE_MFG_CODE_MIELE 0x1129 #define ZBEE_MFG_CODE_TELEVES 0x112a #define ZBEE_MFG_CODE_LABELEC 0x112b #define ZBEE_MFG_CODE_CHINA_ELEC 0x112c #define ZBEE_MFG_CODE_VECTORFORM 0x112d #define ZBEE_MFG_CODE_BUSCH_JAEGER 0x112e #define ZBEE_MFG_CODE_REDPINE 0x112f #define ZBEE_MFG_CODE_BRIDGES 0x1130 #define ZBEE_MFG_CODE_SERCOMM 0x1131 #define ZBEE_MFG_CODE_WSH 0x1132 #define ZBEE_MFG_CODE_BOSCH 0x1133 #define ZBEE_MFG_CODE_EZEX 0x1134 #define ZBEE_MFG_CODE_DRESDEN 0x1135 #define ZBEE_MFG_CODE_MEAZON 0x1136 #define ZBEE_MFG_CODE_CROW 0x1137 #define ZBEE_MFG_CODE_HARVARD 0x1138 #define ZBEE_MFG_CODE_ANDSON 0x1139 #define ZBEE_MFG_CODE_ADHOCO 0x113a #define ZBEE_MFG_CODE_WAXMAN 0x113b #define ZBEE_MFG_CODE_OWON 0x113c #define ZBEE_MFG_CODE_HITRON 0x113d #define ZBEE_MFG_CODE_SCEMTEC 0x113e #define ZBEE_MFG_CODE_WEBEE 0x113f #define ZBEE_MFG_CODE_GRID2HOME 0x1140 #define ZBEE_MFG_CODE_TELINK 0x1141 #define ZBEE_MFG_CODE_JASMINE 0x1142 #define ZBEE_MFG_CODE_BIDGELY 0x1143 #define ZBEE_MFG_CODE_LUTRON 0x1144 #define ZBEE_MFG_CODE_IJENKO 0x1145 #define ZBEE_MFG_CODE_STARFIELD 0x1146 #define ZBEE_MFG_CODE_TCP 0x1147 #define ZBEE_MFG_CODE_ROGERS 0x1148 #define ZBEE_MFG_CODE_CREE 0x1149 #define ZBEE_MFG_CODE_ROBERT_BOSCH_LLC 0x114a #define ZBEE_MFG_CODE_IBIS 0x114b #define ZBEE_MFG_CODE_QUIRKY 0x114c #define ZBEE_MFG_CODE_EFERGY 0x114d #define ZBEE_MFG_CODE_SMARTLABS 0x114e #define ZBEE_MFG_CODE_EVERSPRING 0x114f #define ZBEE_MFG_CODE_SWANN 0x1150 #define ZBEE_MFG_CODE_SONETER 0x1151 #define ZBEE_MFG_CODE_SAMSUNG_SDS 0x1152 #define ZBEE_MFG_CODE_UNIBAND_ELECTRO 0x1153 #define ZBEE_MFG_CODE_ACCTON_TECHNOLOGY 0x1154 #define ZBEE_MFG_CODE_BOSCH_THERMOTECH 0x1155 #define ZBEE_MFG_CODE_WINCOR_NIXDORF 0x1156 #define ZBEE_MFG_CODE_OHSUNG_ELECTRO 0x1157 #define ZBEE_MFG_CODE_ZEN_WITHIN 0x1158 #define ZBEE_MFG_CODE_TECH_4_HOME 0x1159 #define ZBEE_MFG_CODE_NANOLEAF 0x115A #define ZBEE_MFG_CODE_KEEN_HOME 0x115B #define ZBEE_MFG_CODE_POLY_CONTROL 0x115C #define ZBEE_MFG_CODE_EASTFIELD_LIGHT 0x115D #define ZBEE_MFG_CODE_IP_DATATEL 0x115E #define ZBEE_MFG_CODE_LUMI_UNITED_TECH 0x115F #define ZBEE_MFG_CODE_SENGLED_OPTOELEC 0x1160 #define ZBEE_MFG_CODE_REMOTE_SOLUTION 0x1161 #define ZBEE_MFG_CODE_ABB_GENWAY_XIAMEN 0x1162 #define ZBEE_MFG_CODE_ZHEJIANG_REXENSE 0x1163 #define ZBEE_MFG_CODE_FOREE_TECHNOLOGY 0x1164 #define ZBEE_MFG_CODE_OPEN_ACCESS_TECH 0x1165 #define ZBEE_MFG_CODE_INNR_LIGHTNING 0x1166 #define ZBEE_MFG_CODE_TECHWORLD 0x1167 #define ZBEE_MFG_CODE_LEEDARSON_LIGHT 0x1168 #define ZBEE_MFG_CODE_ARZEL_ZONING 0x1169 #define ZBEE_MFG_CODE_HOLLEY_TECH 0x116A #define ZBEE_MFG_CODE_BELDON_TECH 0x116B #define ZBEE_MFG_CODE_FLEXTRONICS 0x116C #define ZBEE_MFG_CODE_SHENZHEN_MEIAN 0x116D #define ZBEE_MFG_CODE_LOWES 0x116E #define ZBEE_MFG_CODE_SIGMA_CONNECT 0x116F #define ZBEE_MFG_CODE_WULIAN 0x1171 #define ZBEE_MFG_CODE_PLUGWISE_BV 0x1172 #define ZBEE_MFG_CODE_TITAN_PRODUCTS 0x1173 #define ZBEE_MFG_CODE_ECOSPECTRAL 0x1174 #define ZBEE_MFG_CODE_D_LINK 0x1175 #define ZBEE_MFG_CODE_TECHNICOLOR_HOME 0x1176 #define ZBEE_MFG_CODE_OPPLE_LIGHTING 0x1177 #define ZBEE_MFG_CODE_WISTRON_NEWEB 0x1178 #define ZBEE_MFG_CODE_QMOTION_SHADES 0x1179 #define ZBEE_MFG_CODE_INSTA_ELEKTRO 0x117A #define ZBEE_MFG_CODE_SHANGHAI_VANCOUNT 0x117B #define ZBEE_MFG_CODE_IKEA_OF_SWEDEN 0x117C #define ZBEE_MFG_CODE_RT_RK 0x117D #define ZBEE_MFG_CODE_SHENZHEN_FEIBIT 0x117E #define ZBEE_MFG_CODE_EU_CONTROLS 0x117F #define ZBEE_MFG_CODE_TELKONET 0x1180 #define ZBEE_MFG_CODE_THERMAL_SOLUTION 0x1181 #define ZBEE_MFG_CODE_POM_CUBE 0x1182 #define ZBEE_MFG_CODE_EI_ELECTRONICS 0x1183 #define ZBEE_MFG_CODE_OPTOGA 0x1184 #define ZBEE_MFG_CODE_STELPRO 0x1185 #define ZBEE_MFG_CODE_LYNXUS_TECH 0x1186 #define ZBEE_MFG_CODE_SEMICONDUCTOR_COM 0x1187 #define ZBEE_MFG_CODE_TP_LINK 0x1188 #define ZBEE_MFG_CODE_LEDVANCE_LLC 0x1189 #define ZBEE_MFG_CODE_NORTEK 0x118A #define ZBEE_MFG_CODE_IREVO_ASSA_ABBLOY 0x118B #define ZBEE_MFG_CODE_MIDEA 0x118C #define ZBEE_MFG_CODE_ZF_FRIEDRICHSHAF 0x118D #define ZBEE_MFG_CODE_CHECKIT 0x118E #define ZBEE_MFG_CODE_ACLARA 0x118F #define ZBEE_MFG_CODE_NOKIA 0x1190 #define ZBEE_MFG_CODE_GOLDCARD_HIGHTECH 0x1191 #define ZBEE_MFG_CODE_GEORGE_WILSON 0x1192 #define ZBEE_MFG_CODE_EASY_SAVER_CO 0x1193 #define ZBEE_MFG_CODE_ZTE_CORPORATION 0x1194 #define ZBEE_MFG_CODE_ARRIS 0x1195 #define ZBEE_MFG_CODE_RELIANCE_BIG_TV 0x1196 #define ZBEE_MFG_CODE_INSIGHT_ENERGY 0x1197 #define ZBEE_MFG_CODE_THOMAS_RESEARCH 0x1198 #define ZBEE_MFG_CODE_LI_SENG_TECH 0x1199 #define ZBEE_MFG_CODE_SYSTEM_LEVEL_SOLU 0x119A #define ZBEE_MFG_CODE_MATRIX_LABS 0x119B #define ZBEE_MFG_CODE_SINOPE_TECH 0x119C #define ZBEE_MFG_CODE_JIUZHOU_GREEBLE 0x119D #define ZBEE_MFG_CODE_GUANGZHOU_LANVEE 0x119E #define ZBEE_MFG_CODE_VENSTAR 0x119F #define ZBEE_MFG_CODE_SLV 0x1200 #define ZBEE_MFG_CODE_HALO_SMART_LABS 0x1201 #define ZBEE_MFG_CODE_SCOUT_SECURITY 0x1202 #define ZBEE_MFG_CODE_ALIBABA_CHINA 0x1203 #define ZBEE_MFG_CODE_RESOLUTION_PROD 0x1204 #define ZBEE_MFG_CODE_SMARTLOK_INC 0x1205 #define ZBEE_MFG_CODE_LUX_PRODUCTS_CORP 0x1206 #define ZBEE_MFG_CODE_VIMAR_SPA 0x1207 #define ZBEE_MFG_CODE_UNIVERSAL_LIGHT 0x1208 #define ZBEE_MFG_CODE_ROBERT_BOSCH_GMBH 0x1209 #define ZBEE_MFG_CODE_ACCENTURE 0x120A #define ZBEE_MFG_CODE_HEIMAN_TECHNOLOGY 0x120B #define ZBEE_MFG_CODE_SHENZHEN_HOMA 0x120C #define ZBEE_MFG_CODE_VISION_ELECTRO 0x120D #define ZBEE_MFG_CODE_LENOVO 0x120E #define ZBEE_MFG_CODE_PRESCIENSE_RD 0x120F #define ZBEE_MFG_CODE_SHENZHEN_SEASTAR 0x1210 #define ZBEE_MFG_CODE_SENSATIVE_AB 0x1211 #define ZBEE_MFG_CODE_SOLAREDGE 0x1212 #define ZBEE_MFG_CODE_ZIPATO 0x1213 #define ZBEE_MFG_CODE_CHINA_FIRE_SEC 0x1214 #define ZBEE_MFG_CODE_QUBY_BV 0x1215 #define ZBEE_MFG_CODE_HANGZHOU_ROOMBANK 0x1216 #define ZBEE_MFG_CODE_AMAZON_LAB126 0x1217 #define ZBEE_MFG_CODE_PAULMANN_LICHT 0x1218 #define ZBEE_MFG_CODE_SHENZHEN_ORVIBO 0x1219 #define ZBEE_MFG_CODE_TCI_TELECOMM 0x121A #define ZBEE_MFG_CODE_MUELLER_LICHT_INT 0x121B #define ZBEE_MFG_CODE_AURORA_LIMITED 0x121C #define ZBEE_MFG_CODE_SMART_DCC 0x121D #define ZBEE_MFG_CODE_SHANGHAI_UMEINFO 0x121E #define ZBEE_MFG_CODE_CARBON_TRACK 0x121F #define ZBEE_MFG_CODE_SOMFY 0x1220 #define ZBEE_MFG_CODE_VIESSMAN_ELEKTRO 0x1221 #define ZBEE_MFG_CODE_HILDEBRAND_TECH 0x1222 #define ZBEE_MFG_CODE_ONKYO_TECH 0x1223 #define ZBEE_MFG_CODE_SHENZHEN_SUNRICH 0x1224 #define ZBEE_MFG_CODE_XIU_XIU_TECH 0x1225 #define ZBEE_MFG_CODE_ZUMTOBEL_GROUP 0x1226 #define ZBEE_MFG_CODE_SHENZHEN_KAADAS 0x1227 #define ZBEE_MFG_CODE_SHANGHAI_XIAOYAN 0x1228 #define ZBEE_MFG_CODE_CYPRESS_SEMICOND 0x1229 #define ZBEE_MFG_CODE_XAL_GMBH 0x122A #define ZBEE_MFG_CODE_INERGY_SYSTEMS 0x122B #define ZBEE_MFG_CODE_ALFRED_KARCHER 0x122C #define ZBEE_MFG_CODE_ADUROLIGHT_MANU 0x122D #define ZBEE_MFG_CODE_GROUPE_MULLER 0x122E #define ZBEE_MFG_CODE_V_MARK_ENTERPRI 0x122F #define ZBEE_MFG_CODE_LEAD_ENERGY_AG 0x1230 #define ZBEE_MFG_CODE_UIOT_GROUP 0x1231 #define ZBEE_MFG_CODE_AXXESS_INDUSTRIES 0x1232 #define ZBEE_MFG_CODE_THIRD_REALITY_INC 0x1233 #define ZBEE_MFG_CODE_DSR_CORPORATION 0x1234 #define ZBEE_MFG_CODE_GUANGZHOU_VENSI 0x1235 #define ZBEE_MFG_CODE_SCHLAGE_LOCK_ALL 0x1236 #define ZBEE_MFG_CODE_NET2GRID 0x1237 #define ZBEE_MFG_CODE_AIRAM_ELECTRIC 0x1238 #define ZBEE_MFG_CODE_IMMAX_WPB_CZ 0x1239 #define ZBEE_MFG_CODE_ZIV_AUTOMATION 0x123A #define ZBEE_MFG_CODE_HANGZHOU_IMAGIC 0x123B #define ZBEE_MFG_CODE_XIAMEN_LEELEN 0x123C #define ZBEE_MFG_CODE_OVERKIZ_SAS 0x123D #define ZBEE_MFG_CODE_FLONIDAN 0x123E #define ZBEE_MFG_CODE_HDL_AUTOATION 0x123F #define ZBEE_MFG_CODE_ARDOMUS_NETWORKS 0x1240 #define ZBEE_MFG_CODE_SAMJIN_CO 0x1241 #define ZBEE_MFG_CODE_SPRUE_AEGIS_PLC 0x1242 #define ZBEE_MFG_CODE_INDRA_SISTEMAS 0x1243 #define ZBEE_MFG_CODE_JBT_SMART_LIGHT 0x1244 #define ZBEE_MFG_CODE_GE_LIGHTING_CURRE 0x1245 #define ZBEE_MFG_CODE_DANFOSS 0x1246 #define ZBEE_MFG_CODE_NIVISS_PHP_SP 0x1247 #define ZBEE_MFG_CODE_FENGLIYUAN_ENERGY 0x1248 #define ZBEE_MFG_CODE_NEXELEC 0x1249 #define ZBEE_MFG_CODE_SICHUAN_BEHOME_PR 0x124A #define ZBEE_MFG_CODE_FUJIAN_STARNET 0x124B #define ZBEE_MFG_CODE_TOSHIBA_VISUAL_SO 0x124C #define ZBEE_MFG_CODE_LATCHABLE_INC 0x124D #define ZBEE_MFG_CODE_LS_DEUTSCHLAND 0x124E #define ZBEE_MFG_CODE_GLEDOPTO_CO_LTD 0x124F #define ZBEE_MFG_CODE_THE_HOME_DEPOT 0x1250 #define ZBEE_MFG_CODE_NEONLITE_INTERNAT 0x1251 #define ZBEE_MFG_CODE_ARLO_TECHNOLOGIES 0x1252 #define ZBEE_MFG_CODE_XINGLUO_TECH 0x1253 #define ZBEE_MFG_CODE_SIMON_ELECTRIC_CH 0x1254 #define ZBEE_MFG_CODE_HANGZHOU_GREATSTA 0x1255 #define ZBEE_MFG_CODE_SEQUENTRIC_ENERGY 0x1256 #define ZBEE_MFG_CODE_SOLUM_CO_LTD 0x1257 #define ZBEE_MFG_CODE_EAGLERISE_ELEC 0x1258 #define ZBEE_MFG_CODE_FANTEM_TECH 0x1259 #define ZBEE_MFG_CODE_YUNDING_NETWORK 0x125A #define ZBEE_MFG_CODE_ATLANTIC_GROUP 0x125B #define ZBEE_MFG_CODE_XIAMEN_INTRETECH 0x125C #define ZBEE_MFG_CODE_TUYA_GLOBAL_INC 0x125D #define ZBEE_MFG_CODE_XIAMEN_DNAKE_INTE 0x125E #define ZBEE_MFG_CODE_NIKO_NV 0x125F #define ZBEE_MFG_CODE_EMPORIA_ENERGY 0x1260 #define ZBEE_MFG_CODE_SIKOM_AS 0x1261 #define ZBEE_MFG_CODE_AXIS_LABS_INC 0x1262 #define ZBEE_MFG_CODE_CURRENT_PRODUCTS 0x1263 #define ZBEE_MFG_CODE_METERSIT_SRL 0x1264 #define ZBEE_MFG_CODE_HORNBACH_BAUMARKT 0x1265 #define ZBEE_MFG_CODE_DICEWORLD_SRL_A 0x1266 #define ZBEE_MFG_CODE_ARC_TECHNOLOGY 0x1267 #define ZBEE_MFG_CODE_KONKE_INFORMATION 0x1268 #define ZBEE_MFG_CODE_SALTO_SYSTEMS_SL 0x1269 #define ZBEE_MFG_CODE_SHYUGJ_TECHNOLOGY 0x126A #define ZBEE_MFG_CODE_BRAYDEN_AUTOMA 0x126B #define ZBEE_MFG_CODE_ENVIRONEXUS_PTY 0x126C #define ZBEE_MFG_CODE_ELTRA_NV_SA 0x126D #define ZBEE_MFG_CODE_XIAMOMI_COMMUNI 0x126E #define ZBEE_MFG_CODE_SHUNCOM_ELECTRON 0x126F #define ZBEE_MFG_CODE_VOLTALIS_SA 0x1270 #define ZBEE_MFG_CODE_FEELUX_CO_LTD 0x1271 #define ZBEE_MFG_CODE_SMARTPLUS_INC 0x1272 #define ZBEE_MFG_CODE_HALEMEIER_GMBH 0x1273 #define ZBEE_MFG_CODE_TRUST_INTL 0x1274 #define ZBEE_MFG_CODE_DUKE_ENERGY 0x1275 #define ZBEE_MFG_CODE_CALIX 0x1276 #define ZBEE_MFG_CODE_ADEO 0x1277 #define ZBEE_MFG_CODE_CONNECTED_RESP 0x1278 #define ZBEE_MFG_CODE_STROYENERGOKOM 0x1279 #define ZBEE_MFG_CODE_LUMITECH_LIGHT 0x127A #define ZBEE_MFG_CODE_VERDANT_ENVIRO 0x127B #define ZBEE_MFG_CODE_ALFRED_INTL 0x127C #define ZBEE_MFG_CODE_SANSI_LED_LIGHT 0x127D #define ZBEE_MFG_CODE_MINDTREE 0x127E #define ZBEE_MFG_CODE_NORDIC_SEMI 0x127F #define ZBEE_MFG_CODE_SITERWELL_ELEC 0x1280 #define ZBEE_MFG_CODE_BRILONER_LEUCHTEN 0x1281 #define ZBEE_MFG_CODE_SHENZHEN_SEI_TECH 0x1282 #define ZBEE_MFG_CODE_COPPER_LABS 0x1283 #define ZBEE_MFG_CODE_DELTA_DORE 0x1284 #define ZBEE_MFG_CODE_HAGER_GROUP 0x1285 #define ZBEE_MFG_CODE_SHENZHEN_COOLKIT 0x1286 #define ZBEE_MFG_CODE_HANGZHOU_SKY_LIGHT 0x1287 #define ZBEE_MFG_CODE_E_ON_SE 0x1288 #define ZBEE_MFG_CODE_LIDL_STIFTUNG 0x1289 #define ZBEE_MFG_CODE_SICHUAN_CHANGHONG 0x128A #define ZBEE_MFG_CODE_NODON 0x128B #define ZBEE_MFG_CODE_JIANGXI_INNOTECH 0x128C #define ZBEE_MFG_CODE_MERCATOR_PTY 0x128D #define ZBEE_MFG_CODE_BEIJING_RUYING 0x128E #define ZBEE_MFG_CODE_EGLO_LEUCHTEN 0x128F #define ZBEE_MFG_CODE_PIETRO_FIORENTINI 0x1290 #define ZBEE_MFG_CODE_ZEHNDER_GROUP 0x1291 #define ZBEE_MFG_CODE_BRK_BRANDS 0x1292 #define ZBEE_MFG_CODE_ASKEY_COMPUTER 0x1293 #define ZBEE_MFG_CODE_PASSIVEBOLT 0x1294 #define ZBEE_MFG_CODE_AVM_AUDIOVISUELLE 0x1295 #define ZBEE_MFG_CODE_NINGBO_SUNTECH 0x1296 #define ZBEE_MFG_CODE_SOCIETE_EN_COMMAND 0x1297 #define ZBEE_MFG_CODE_VIVINT_SMART_HOME 0x1298 #define ZBEE_MFG_CODE_NAMRON 0x1299 #define ZBEE_MFG_CODE_RADEMACHER_GERA 0x129A #define ZBEE_MFG_CODE_OMO_SYSTEMS 0x129B #define ZBEE_MFG_CODE_SIGLIS 0x129C #define ZBEE_MFG_CODE_IMHOTEP_CREATION 0x129D #define ZBEE_MFG_CODE_ICASA 0x129E #define ZBEE_MFG_CODE_LEVEL_HOME 0x129F #define ZBEE_MFG_CODE_TIS_CONTROL 0x1300 #define ZBEE_MFG_CODE_RADISYS_INDIA 0x1301 #define ZBEE_MFG_CODE_VEEA 0x1302 #define ZBEE_MFG_CODE_FELL_TECHNOLOGY 0x1303 #define ZBEE_MFG_CODE_SOWILO_DESIGN 0x1304 #define ZBEE_MFG_CODE_LEXI_DEVICES 0x1305 #define ZBEE_MFG_CODE_LIFI_LABS 0x1306 #define ZBEE_MFG_CODE_GRUNDFOS_HOLDING 0x1307 #define ZBEE_MFG_CODE_SOURCING_CREATION 0x1308 #define ZBEE_MFG_CODE_KRAKEN_TECH 0x1309 #define ZBEE_MFG_CODE_EVE_SYSTEMS 0x130A #define ZBEE_MFG_CODE_LITE_ON_TECH 0x130B #define ZBEE_MFG_CODE_FOCALCREST 0x130C #define ZBEE_MFG_CODE_BOUFFALO_LAB 0x130D #define ZBEE_MFG_CODE_WYZE_LABS 0x130E #define ZBEE_MFG_CODE_DATEK_WIRLESS 0x1337 #define ZBEE_MFG_CODE_GEWISS_SPA 0x1994 #define ZBEE_MFG_CODE_CLIMAX_TECH 0x2794 /* Manufacturer Names */ #define ZBEE_MFG_CIRRONET "Cirronet" #define ZBEE_MFG_CHIPCON "Chipcon" #define ZBEE_MFG_EMBER "Ember" #define ZBEE_MFG_NTS "National Tech" #define ZBEE_MFG_FREESCALE "Freescale" #define ZBEE_MFG_IPCOM "IPCom" #define ZBEE_MFG_SAN_JUAN "San Juan Software" #define ZBEE_MFG_TUV "TUV" #define ZBEE_MFG_COMPXS "CompXs" #define ZBEE_MFG_BM "BM SpA" #define ZBEE_MFG_AWAREPOINT "AwarePoint" #define ZBEE_MFG_PHILIPS "Philips" #define ZBEE_MFG_LUXOFT "Luxoft" #define ZBEE_MFG_KORWIN "Korvin" #define ZBEE_MFG_1_RF "One RF" #define ZBEE_MFG_STG "Software Technology Group" #define ZBEE_MFG_TELEGESIS "Telegesis" #define ZBEE_MFG_VISIONIC "Visionic" #define ZBEE_MFG_INSTA "Insta" #define ZBEE_MFG_ATALUM "Atalum" #define ZBEE_MFG_ATMEL "Atmel" #define ZBEE_MFG_DEVELCO "Develco" #define ZBEE_MFG_HONEYWELL "Honeywell" #define ZBEE_MFG_RADIO_PULSE "RadioPulse" #define ZBEE_MFG_RENESAS "Renesas" #define ZBEE_MFG_XANADU "Xanadu Wireless" #define ZBEE_MFG_NEC "NEC Engineering" #define ZBEE_MFG_YAMATAKE "Yamatake" #define ZBEE_MFG_TENDRIL "Tendril" #define ZBEE_MFG_ASSA "Assa Abloy" #define ZBEE_MFG_MAXSTREAM "Maxstream" #define ZBEE_MFG_NEUROCOM "Neurocom" #define ZBEE_MFG_III "Institute for Information Industry" #define ZBEE_MFG_VANTAGE "Vantage Controls" #define ZBEE_MFG_ICONTROL "iControl" #define ZBEE_MFG_RAYMARINE "Raymarine" #define ZBEE_MFG_LSR "LS Research" #define ZBEE_MFG_ONITY "Onity" #define ZBEE_MFG_MONO "Mono Products" #define ZBEE_MFG_RFT "RF Tech" #define ZBEE_MFG_ITRON "Itron" #define ZBEE_MFG_TRITECH "Tritech" #define ZBEE_MFG_EMBEDIT "Embedit" #define ZBEE_MFG_S3C "S3C" #define ZBEE_MFG_SIEMENS "Siemens" #define ZBEE_MFG_MINDTECH "Mindtech" #define ZBEE_MFG_LGE "LG Electronics" #define ZBEE_MFG_MITSUBISHI "Mitsubishi" #define ZBEE_MFG_JOHNSON "Johnson Controls" #define ZBEE_MFG_PRI "PRI" #define ZBEE_MFG_KNICK "Knick" #define ZBEE_MFG_VICONICS "Viconics" #define ZBEE_MFG_FLEXIPANEL "Flexipanel" #define ZBEE_MFG_PIASIM "Piasim Corporation" #define ZBEE_MFG_TRANE "Trane" #define ZBEE_MFG_JENNIC "Jennic" #define ZBEE_MFG_LIG "Living Independently" #define ZBEE_MFG_ALERTME "AlertMe" #define ZBEE_MFG_DAINTREE "Daintree" #define ZBEE_MFG_AIJI "Aiji" #define ZBEE_MFG_TEL_ITALIA "Telecom Italia" #define ZBEE_MFG_MIKROKRETS "Mikrokrets" #define ZBEE_MFG_OKI_SEMI "Oki Semi" #define ZBEE_MFG_NEWPORT "Newport Electronics" #define ZBEE_MFG_C4 "Control4" #define ZBEE_MFG_STM "STMicro" #define ZBEE_MFG_ASN "Ad-Sol Nissin" #define ZBEE_MFG_DCSI "DCSI" #define ZBEE_MFG_FRANCE_TEL "France Telecom" #define ZBEE_MFG_MUNET "muNet" #define ZBEE_MFG_AUTANI "Autani" #define ZBEE_MFG_COL_VNET "Colorado vNet" #define ZBEE_MFG_AEROCOMM "Aerocomm" #define ZBEE_MFG_SI_LABS "Silicon Labs" #define ZBEE_MFG_INNCOM "Inncom" #define ZBEE_MFG_CANNON "Cannon" #define ZBEE_MFG_SYNAPSE "Synapse" #define ZBEE_MFG_FPS "Fisher Pierce/Sunrise" #define ZBEE_MFG_CLS "CentraLite" #define ZBEE_MFG_CRANE "Crane" #define ZBEE_MFG_MOBILARM "Mobilarm" #define ZBEE_MFG_IMONITOR "iMonitor" #define ZBEE_MFG_BARTECH "Bartech" #define ZBEE_MFG_MESHNETICS "Meshnetics" #define ZBEE_MFG_LS_IND "LS Industrial" #define ZBEE_MFG_CASON "Cason" #define ZBEE_MFG_WLESS_GLUE "Wireless Glue" #define ZBEE_MFG_ELSTER "Elster" #define ZBEE_MFG_SMS_TEC "SMS Tec" #define ZBEE_MFG_ONSET "Onset Computer" #define ZBEE_MFG_RIGA "Riga Development" #define ZBEE_MFG_ENERGATE "Energate" #define ZBEE_MFG_CONMED "ConMed Linvatec" #define ZBEE_MFG_POWERMAND "PowerMand" #define ZBEE_MFG_SCHNEIDER "Schneider Electric" #define ZBEE_MFG_EATON "Eaton" #define ZBEE_MFG_TELULAR "Telular" #define ZBEE_MFG_DELPHI "Delphi Medical" #define ZBEE_MFG_EPISENSOR "EpiSensor" #define ZBEE_MFG_LANDIS_GYR "Landis+Gyr" #define ZBEE_MFG_KABA "Kaba Group" #define ZBEE_MFG_SHURE "Shure" #define ZBEE_MFG_COMVERGE "Comverge" #define ZBEE_MFG_DBS_LODGING "DBS Lodging" #define ZBEE_MFG_ENERGY_AWARE "Energy Aware" #define ZBEE_MFG_HIDALGO "Hidalgo" #define ZBEE_MFG_AIR2APP "Air2App" #define ZBEE_MFG_AMX "AMX" #define ZBEE_MFG_EDMI "EDMI Pty" #define ZBEE_MFG_CYAN "Cyan Ltd" #define ZBEE_MFG_SYS_SPA "System SPA" #define ZBEE_MFG_TELIT "Telit" #define ZBEE_MFG_KAGA "Kaga Electronics" #define ZBEE_MFG_4_NOKS "4-noks s.r.l." #define ZBEE_MFG_CERTICOM "Certicom" #define ZBEE_MFG_GRIDPOINT "Gridpoint" #define ZBEE_MFG_PROFILE_SYS "Profile Systems" #define ZBEE_MFG_COMPACTA "Compacta International" #define ZBEE_MFG_FREESTYLE "Freestyle Technology" #define ZBEE_MFG_ALEKTRONA "Alektrona" #define ZBEE_MFG_COMPUTIME "Computime" #define ZBEE_MFG_REMOTE_TECH "Remote Technologies" #define ZBEE_MFG_WAVECOM "Wavecom" #define ZBEE_MFG_ENERGY "Energy Optimizers" #define ZBEE_MFG_GE "GE" #define ZBEE_MFG_JETLUN "Jetlun" #define ZBEE_MFG_CIPHER "Cipher Systems" #define ZBEE_MFG_CORPORATE "Corporate Systems Eng" #define ZBEE_MFG_ECOBEE "ecobee" #define ZBEE_MFG_SMK "SMK" #define ZBEE_MFG_MESHWORKS "Meshworks Wireless" #define ZBEE_MFG_ELLIPS "Ellips B.V." #define ZBEE_MFG_SECURE "Secure electrans" #define ZBEE_MFG_CEDO "CEDO" #define ZBEE_MFG_TOSHIBA "Toshiba" #define ZBEE_MFG_DIGI "Digi International" #define ZBEE_MFG_UBILOGIX "Ubilogix" #define ZBEE_MFG_ECHELON "Echelon" #define ZBEE_MFG_GREEN_ENERGY "Green Energy Options" #define ZBEE_MFG_SILVER_SPRING "Silver Spring Networks" #define ZBEE_MFG_BLACK "Black & Decker" #define ZBEE_MFG_AZTECH_ASSOC "Aztech AssociatesInc." #define ZBEE_MFG_A_AND_D "A&D Co" #define ZBEE_MFG_RAINFOREST "Rainforest Automation" #define ZBEE_MFG_CARRIER "Carrier Electronics" #define ZBEE_MFG_SYCHIP "SyChip/Murata" #define ZBEE_MFG_OPEN_PEAK "OpenPeak" #define ZBEE_MFG_PASSIVE "Passive Systems" #define ZBEE_MFG_G4S_JUSTICE "G4S JusticeServices" #define ZBEE_MFG_MMB "MMBResearch" #define ZBEE_MFG_LEVITON "Leviton" #define ZBEE_MFG_KOREA_ELEC "Korea Electric Power Data Network" #define ZBEE_MFG_COMCAST "Comcast" #define ZBEE_MFG_NEC_ELEC "NEC Electronics" #define ZBEE_MFG_NETVOX "Netvox" #define ZBEE_MFG_UCONTROL "U-Control" #define ZBEE_MFG_EMBEDIA "Embedia Technologies" #define ZBEE_MFG_SENSUS "Sensus" #define ZBEE_MFG_SUNRISE "SunriseTechnologies" #define ZBEE_MFG_MEMTECH "MemtechCorp" #define ZBEE_MFG_FREEBOX "Freebox" #define ZBEE_MFG_M2_LABS "M2 Labs" #define ZBEE_MFG_BRITISH_GAS "BritishGas" #define ZBEE_MFG_SENTEC "Sentec" #define ZBEE_MFG_NAVETAS "Navetas" #define ZBEE_MFG_LIGHTSPEED "Lightspeed Technologies" #define ZBEE_MFG_OKI "Oki Electric" #define ZBEE_MFG_SISTEMAS "Sistemas Inteligentes" #define ZBEE_MFG_DOMETIC "Dometic" #define ZBEE_MFG_APLS "Alps" #define ZBEE_MFG_ENERGY_HUB "EnergyHub" #define ZBEE_MFG_KAMSTRUP "Kamstrup" #define ZBEE_MFG_ECHOSTAR "EchoStar" #define ZBEE_MFG_ENERNOC "EnerNOC" #define ZBEE_MFG_ELTAV "Eltav" #define ZBEE_MFG_BELKIN "Belkin" #define ZBEE_MFG_XSTREAMHD "XStreamHD Wireless" #define ZBEE_MFG_SATURN_SOUTH "Saturn South" #define ZBEE_MFG_GREENTRAP "GreenTrapOnline" #define ZBEE_MFG_SMARTSYNCH "SmartSynch" #define ZBEE_MFG_NYCE "Nyce Control" #define ZBEE_MFG_ICM_CONTROLS "ICM Controls" #define ZBEE_MFG_MILLENNIUM "Millennium Electronics" #define ZBEE_MFG_MOTOROLA "Motorola" #define ZBEE_MFG_EMERSON "EmersonWhite-Rodgers" #define ZBEE_MFG_RADIO_THERMOSTAT "Radio Thermostat" #define ZBEE_MFG_OMRON "OMRONCorporation" #define ZBEE_MFG_GIINII "GiiNii GlobalLimited" #define ZBEE_MFG_FUJITSU "Fujitsu GeneralLimited" #define ZBEE_MFG_PEEL "Peel Technologies" #define ZBEE_MFG_ACCENT "Accent" #define ZBEE_MFG_BYTESNAP "ByteSnap Design" #define ZBEE_MFG_NEC_TOKIN "NEC TOKIN Corporation" #define ZBEE_MFG_TRILLIANT "Trilliant Networks" #define ZBEE_MFG_ELECTROLUX "Electrolux Italia" #define ZBEE_MFG_ONZO "OnzoLtd" #define ZBEE_MFG_ENTEK "EnTekSystems" #define ZBEE_MFG_MAINSTREAM "MainstreamEngineering" #define ZBEE_MFG_INDESIT "IndesitCompany" #define ZBEE_MFG_THINKECO "THINKECO" #define ZBEE_MFG_2D2C "2D2C" #define ZBEE_MFG_GREENPEAK "GreenPeak" #define ZBEE_MFG_INTERCEL "InterCEL" #define ZBEE_MFG_LG "LG Electronics" #define ZBEE_MFG_MITSUMI1 "Mitsumi Electric" #define ZBEE_MFG_MITSUMI2 "Mitsumi Electric" #define ZBEE_MFG_ZENTRUM "Zentrum Mikroelektronik Dresden" #define ZBEE_MFG_NEST "Nest Labs" #define ZBEE_MFG_EXEGIN "Exegin Technologies" #define ZBEE_MFG_HONEYWELL "Honeywell" #define ZBEE_MFG_TAKAHATA "Takahata Precision" #define ZBEE_MFG_SUMITOMO "Sumitomo Electric Networks" #define ZBEE_MFG_GE_ENERGY "GE Energy" #define ZBEE_MFG_GE_APPLIANCES "GE Appliances" #define ZBEE_MFG_RADIOCRAFTS "Radiocrafts AS" #define ZBEE_MFG_CEIVA "Ceiva" #define ZBEE_MFG_TEC_CO "TEC CO Co., Ltd" #define ZBEE_MFG_CHAMELEON "Chameleon Technology (UK) Ltd" #define ZBEE_MFG_SAMSUNG "Samsung" #define ZBEE_MFG_RUWIDO "ruwido austria gmbh" #define ZBEE_MFG_HUAWEI "Huawei Technologies Co., Ltd." #define ZBEE_MFG_GREENWAVE "Greenwave Reality" #define ZBEE_MFG_BGLOBAL "BGlobal Metering Ltd" #define ZBEE_MFG_MINDTECK "Mindteck" #define ZBEE_MFG_INGERSOLL_RAND "Ingersoll-Rand" #define ZBEE_MFG_DIUS "Dius Computing Pty Ltd" #define ZBEE_MFG_EMBEDDED "Embedded Automation, Inc." #define ZBEE_MFG_ABB "ABB" #define ZBEE_MFG_SONY "Sony" #define ZBEE_MFG_GENUS "Genus Power Infrastructures Limited" #define ZBEE_MFG_UNIVERSA L "Universal Electronics, Inc." #define ZBEE_MFG_METRUM "Metrum Technologies, LLC" #define ZBEE_MFG_CISCO "Cisco" #define ZBEE_MFG_UBISYS "Ubisys technologies GmbH" #define ZBEE_MFG_CONSERT "Consert" #define ZBEE_MFG_CRESTRON "Crestron Electronics" #define ZBEE_MFG_ENPHASE "Enphase Energy" #define ZBEE_MFG_INVENSYS "Invensys Controls" #define ZBEE_MFG_MUELLER "Mueller Systems, LLC" #define ZBEE_MFG_AAC_TECH "AAC Technologies Holding" #define ZBEE_MFG_U_NEXT "U-NEXT Co., Ltd" #define ZBEE_MFG_STEELCASE "Steelcase Inc." #define ZBEE_MFG_TELEMATICS "Telematics Wireless" #define ZBEE_MFG_SAMIL "Samil Power Co., Ltd" #define ZBEE_MFG_PACE "Pace Plc" #define ZBEE_MFG_OSBORNE "Osborne Coinage Co." #define ZBEE_MFG_POWERWATCH "Powerwatch" #define ZBEE_MFG_CANDELED "CANDELED GmbH" #define ZBEE_MFG_FLEXGRID "FlexGrid S.R.L" #define ZBEE_MFG_HUMAX "Humax" #define ZBEE_MFG_UNIVERSAL "Universal Devices" #define ZBEE_MFG_ADVANCED_ENERGY "Advanced Energy" #define ZBEE_MFG_BEGA "BEGA Gantenbrink-Leuchten" #define ZBEE_MFG_BRUNEL "Brunel University" #define ZBEE_MFG_PANASONIC "Panasonic R&D Center Singapore" #define ZBEE_MFG_ESYSTEMS "eSystems Research" #define ZBEE_MFG_PANAMAX "Panamax" #define ZBEE_MFG_PHYSICAL "Physical Graph Corporation" #define ZBEE_MFG_EM_LITE "EM-Lite Ltd." #define ZBEE_MFG_OSRAM "Osram Sylvania" #define ZBEE_MFG_2_SAVE "2 Save Energy Ltd." #define ZBEE_MFG_PLANET "Planet Innovation Products Pty Ltd" #define ZBEE_MFG_AMBIENT "Ambient Devices, Inc." #define ZBEE_MFG_PROFALUX "Profalux" #define ZBEE_MFG_BILLION "Billion Electric Company (BEC)" #define ZBEE_MFG_EMBERTEC "Embertec Pty Ltd" #define ZBEE_MFG_IT_WATCHDOGS "IT Watchdogs" #define ZBEE_MFG_RELOC "Reloc" #define ZBEE_MFG_INTEL "Intel Corporation" #define ZBEE_MFG_TREND "Trend Electronics Limited" #define ZBEE_MFG_MOXA "Moxa" #define ZBEE_MFG_QEES "QEES" #define ZBEE_MFG_SAYME "SAYME Wireless Sensor Networks" #define ZBEE_MFG_PENTAIR "Pentair Aquatic Systems" #define ZBEE_MFG_ORBIT "Orbit Irrigation" #define ZBEE_MFG_CALIFORNIA "California Eastern Laboratories" #define ZBEE_MFG_COMCAST "Comcast" #define ZBEE_MFG_IDT "IDT Technology Limited" #define ZBEE_MFG_PIXELA "Pixela" #define ZBEE_MFG_TIVO "TiVo" #define ZBEE_MFG_FIDURE "Fidure" #define ZBEE_MFG_MARVELL "Marvell Semiconductor" #define ZBEE_MFG_WASION "Wasion Group" #define ZBEE_MFG_JASCO "Jasco Products" #define ZBEE_MFG_SHENZHEN "Shenzhen Kaifa Technology" #define ZBEE_MFG_NETCOMM "Netcomm Wireless" #define ZBEE_MFG_DEFINE "Define Instruments" #define ZBEE_MFG_IN_HOME_DISP "In Home Displays" #define ZBEE_MFG_MIELE "Miele & Cie. KG" #define ZBEE_MFG_TELEVES "Televes S.A." #define ZBEE_MFG_LABELEC "Labelec" #define ZBEE_MFG_CHINA_ELEC "China Electronics Standardization Institute" #define ZBEE_MFG_VECTORFORM "Vectorform" #define ZBEE_MFG_BUSCH_JAEGER "Busch-Jaeger Elektro" #define ZBEE_MFG_REDPINE "Redpine Signals" #define ZBEE_MFG_BRIDGES "Bridges Electronic Technology" #define ZBEE_MFG_SERCOMM "Sercomm" #define ZBEE_MFG_WSH "WSH GmbH wirsindheller" #define ZBEE_MFG_BOSCH "Bosch Security Systems" #define ZBEE_MFG_EZEX "eZEX Corporation" #define ZBEE_MFG_DRESDEN "Dresden Elektronik Ingenieurtechnik GmbH" #define ZBEE_MFG_MEAZON "MEAZON S.A." #define ZBEE_MFG_CROW "Crow Electronic Engineering" #define ZBEE_MFG_HARVARD "Harvard Engineering" #define ZBEE_MFG_ANDSON "Andson(Beijing) Technology" #define ZBEE_MFG_ADHOCO "Adhoco AG" #define ZBEE_MFG_WAXMAN "Waxman Consumer Products Group" #define ZBEE_MFG_OWON "Owon Technology" #define ZBEE_MFG_HITRON "Hitron Technologies" #define ZBEE_MFG_SCEMTEC "Scemtec Steuerungstechnik GmbH" #define ZBEE_MFG_WEBEE "Webee" #define ZBEE_MFG_GRID2HOME "Grid2Home" #define ZBEE_MFG_TELINK "Telink Micro" #define ZBEE_MFG_JASMINE "Jasmine Systems" #define ZBEE_MFG_BIDGELY "Bidgely" #define ZBEE_MFG_LUTRON "Lutron" #define ZBEE_MFG_IJENKO "IJENKO" #define ZBEE_MFG_STARFIELD "Starfield Electronic" #define ZBEE_MFG_TCP "TCP" #define ZBEE_MFG_ROGERS "Rogers Communications Partnership" #define ZBEE_MFG_CREE "Cree" #define ZBEE_MFG_ROBERT_BOSCH_LLC "Robert Bosch LLC" #define ZBEE_MFG_IBIS "Ibis Networks" #define ZBEE_MFG_QUIRKY "Quirky" #define ZBEE_MFG_EFERGY "Efergy Technologies" #define ZBEE_MFG_SMARTLABS "Smartlabs" #define ZBEE_MFG_EVERSPRING "Everspring Industry" #define ZBEE_MFG_SWANN "Swann Communications" #define ZBEE_MFG_TI "Texas Instruments" #define ZBEE_MFG_SONETER "Soneter" #define ZBEE_MFG_SAMSUNG_SDS "Samsung SDS" #define ZBEE_MFG_UNIBAND_ELECTRO "Uniband Electronic Corporation" #define ZBEE_MFG_ACCTON_TECHNOLOGY "Accton Technology Corporation" #define ZBEE_MFG_BOSCH_THERMOTECH "Bosch Thermotechnik GmbH" #define ZBEE_MFG_WINCOR_NIXDORF "Wincor Nixdorf Inc." #define ZBEE_MFG_OHSUNG_ELECTRO "Ohsung Electronics" #define ZBEE_MFG_ZEN_WITHIN "Zen Within, Inc." #define ZBEE_MFG_TECH_4_HOME "Tech4home, Lda." #define ZBEE_MFG_NANOLEAF "Nanoleaf" #define ZBEE_MFG_KEEN_HOME "Keen Home, Inc." #define ZBEE_MFG_POLY_CONTROL "Poly-Control APS" #define ZBEE_MFG_EASTFIELD_LIGHT "Eastfield Lighting Co., Ltd Shenzhen" #define ZBEE_MFG_IP_DATATEL "IP Datatel, Inc." #define ZBEE_MFG_LUMI_UNITED_TECH "Lumi United Techology, Ltd Shenzhen" #define ZBEE_MFG_SENGLED_OPTOELEC "Sengled Optoelectronics Corp" #define ZBEE_MFG_REMOTE_SOLUTION "Remote Solution Co., Ltd." #define ZBEE_MFG_ABB_GENWAY_XIAMEN "ABB Genway Xiamen Electrical Equipment Co., Ltd." #define ZBEE_MFG_ZHEJIANG_REXENSE "Zhejiang Rexense Tech" #define ZBEE_MFG_FOREE_TECHNOLOGY "ForEE Technology" #define ZBEE_MFG_OPEN_ACCESS_TECH "Open Access Technology Intl." #define ZBEE_MFG_INNR_LIGHTNING "INNR Lighting BV" #define ZBEE_MFG_TECHWORLD "Techworld Industries" #define ZBEE_MFG_LEEDARSON_LIGHT "Leedarson Lighting Co., Ltd." #define ZBEE_MFG_ARZEL_ZONING "Arzel Zoning" #define ZBEE_MFG_HOLLEY_TECH "Holley Technology" #define ZBEE_MFG_BELDON_TECH "Beldon Technologies" #define ZBEE_MFG_FLEXTRONICS "Flextronics" #define ZBEE_MFG_SHENZHEN_MEIAN "Shenzhen Meian" #define ZBEE_MFG_LOWES "Lowes" #define ZBEE_MFG_SIGMA_CONNECT "Sigma Connectivity" #define ZBEE_MFG_WULIAN "Wulian" #define ZBEE_MFG_PLUGWISE_BV "Plugwise B.V." #define ZBEE_MFG_TITAN_PRODUCTS "Titan Products" #define ZBEE_MFG_ECOSPECTRAL "Ecospectral" #define ZBEE_MFG_D_LINK "D-Link" #define ZBEE_MFG_TECHNICOLOR_HOME "Technicolor Home USA" #define ZBEE_MFG_OPPLE_LIGHTING "Opple Lighting" #define ZBEE_MFG_WISTRON_NEWEB "Wistron NeWeb Corp." #define ZBEE_MFG_QMOTION_SHADES "QMotion Shades" #define ZBEE_MFG_INSTA_ELEKTRO "Insta Elektro GmbH" #define ZBEE_MFG_SHANGHAI_VANCOUNT "Shanghai Vancount" #define ZBEE_MFG_IKEA_OF_SWEDEN "Ikea of Sweden" #define ZBEE_MFG_RT_RK "RT-RK" #define ZBEE_MFG_SHENZHEN_FEIBIT "Shenzhen Feibit" #define ZBEE_MFG_EU_CONTROLS "EuControls" #define ZBEE_MFG_TELKONET "Telkonet" #define ZBEE_MFG_THERMAL_SOLUTION "Thermal Solution Resources" #define ZBEE_MFG_POM_CUBE "PomCube" #define ZBEE_MFG_EI_ELECTRONICS "Ei Electronics" #define ZBEE_MFG_OPTOGA "Optoga" #define ZBEE_MFG_STELPRO "Stelpro" #define ZBEE_MFG_LYNXUS_TECH "Lynxus Technologies Corp." #define ZBEE_MFG_SEMICONDUCTOR_COM "Semiconductor Components" #define ZBEE_MFG_TP_LINK "TP-Link" #define ZBEE_MFG_LEDVANCE_LLC "LEDVANCE LLC." #define ZBEE_MFG_NORTEK "Nortek" #define ZBEE_MFG_IREVO_ASSA_ABBLOY "iRevo/Assa Abbloy Korea" #define ZBEE_MFG_MIDEA "Midea" #define ZBEE_MFG_ZF_FRIEDRICHSHAF "ZF Friedrichshafen" #define ZBEE_MFG_CHECKIT "Checkit" #define ZBEE_MFG_ACLARA "Aclara" #define ZBEE_MFG_NOKIA "Nokia" #define ZBEE_MFG_GOLDCARD_HIGHTECH "Goldcard High-tech Co., Ltd." #define ZBEE_MFG_GEORGE_WILSON "George Wilson Industries Ltd." #define ZBEE_MFG_EASY_SAVER_CO "EASY SAVER CO.,INC" #define ZBEE_MFG_ZTE_CORPORATION "ZTE Corporation" #define ZBEE_MFG_ARRIS "ARRIS" #define ZBEE_MFG_RELIANCE_BIG_TV "Reliance BIG TV" #define ZBEE_MFG_INSIGHT_ENERGY "Insight Energy Ventures/Powerley" #define ZBEE_MFG_THOMAS_RESEARCH "Thomas Research Products (Hubbell Lighting Inc.)" #define ZBEE_MFG_LI_SENG_TECH "Li Seng Technology" #define ZBEE_MFG_SYSTEM_LEVEL_SOLU "System Level Solutions Inc." #define ZBEE_MFG_MATRIX_LABS "Matrix Labs" #define ZBEE_MFG_SINOPE_TECH "Sinope Technologies" #define ZBEE_MFG_JIUZHOU_GREEBLE "Jiuzhou Greeble" #define ZBEE_MFG_GUANGZHOU_LANVEE "Guangzhou Lanvee Tech. Co. Ltd." #define ZBEE_MFG_VENSTAR "Venstar" #define ZBEE_MFG_SLV "SLV" #define ZBEE_MFG_HALO_SMART_LABS "Halo Smart Labs" #define ZBEE_MFG_SCOUT_SECURITY "Scout Security Inc." #define ZBEE_MFG_ALIBABA_CHINA "Alibaba China Inc." #define ZBEE_MFG_RESOLUTION_PROD "Resolution Products, Inc." #define ZBEE_MFG_SMARTLOK_INC "Smartlok Inc." #define ZBEE_MFG_LUX_PRODUCTS_CORP "Lux Products Corp." #define ZBEE_MFG_VIMAR_SPA "Vimar SpA" #define ZBEE_MFG_UNIVERSAL_LIGHT "Universal Lighting Technologies" #define ZBEE_MFG_ROBERT_BOSCH_GMBH "Robert Bosch, GmbH" #define ZBEE_MFG_ACCENTURE "Accenture" #define ZBEE_MFG_HEIMAN_TECHNOLOGY "Heiman Technology Co., Ltd." #define ZBEE_MFG_SHENZHEN_HOMA "Shenzhen HOMA Technology Co., Ltd." #define ZBEE_MFG_VISION_ELECTRO "Vision-Electronics Technology" #define ZBEE_MFG_LENOVO "Lenovo" #define ZBEE_MFG_PRESCIENSE_RD "Presciense R&D" #define ZBEE_MFG_SHENZHEN_SEASTAR "Shenzhen Seastar Intelligence Co., Ltd." #define ZBEE_MFG_SENSATIVE_AB "Sensative AB" #define ZBEE_MFG_SOLAREDGE "SolarEdge" #define ZBEE_MFG_ZIPATO "Zipato" #define ZBEE_MFG_CHINA_FIRE_SEC "China Fire & Security Sensing Manufacturing (iHorn)" #define ZBEE_MFG_QUBY_BV "Quby BV" #define ZBEE_MFG_HANGZHOU_ROOMBANK "Hangzhou Roombanker Technology Co., Ltd." #define ZBEE_MFG_AMAZON_LAB126 "Amazon Lab126" #define ZBEE_MFG_PAULMANN_LICHT "Paulmann Licht GmbH" #define ZBEE_MFG_SHENZHEN_ORVIBO "Shenzhen Orvibo Electronics Co. Ltd." #define ZBEE_MFG_TCI_TELECOMM "TCI Telecommunications" #define ZBEE_MFG_MUELLER_LICHT_INT "Mueller-Licht International Inc." #define ZBEE_MFG_AURORA_LIMITED "Aurora Limited" #define ZBEE_MFG_SMART_DCC "SmartDCC" #define ZBEE_MFG_SHANGHAI_UMEINFO "Shanghai UMEinfo Co. Ltd." #define ZBEE_MFG_CARBON_TRACK "carbonTRACK" #define ZBEE_MFG_SOMFY "Somfy" #define ZBEE_MFG_VIESSMAN_ELEKTRO "Viessmann Elektronik GmbH" #define ZBEE_MFG_HILDEBRAND_TECH "Hildebrand Technology Ltd" #define ZBEE_MFG_ONKYO_TECH "Onkyo Technology Corporation" #define ZBEE_MFG_SHENZHEN_SUNRICH "Shenzhen Sunricher Technology Ltd." #define ZBEE_MFG_XIU_XIU_TECH "Xiu Xiu Technology Co., Ltd" #define ZBEE_MFG_ZUMTOBEL_GROUP "Zumtobel Group" #define ZBEE_MFG_SHENZHEN_KAADAS "Shenzhen Kaadas Intelligent Technology Co. Ltd" #define ZBEE_MFG_SHANGHAI_XIAOYAN "Shanghai Xiaoyan Technology Co. Ltd" #define ZBEE_MFG_CYPRESS_SEMICOND "Cypress Semiconductor " #define ZBEE_MFG_XAL_GMBH "XAL GmbH" #define ZBEE_MFG_INERGY_SYSTEMS "Inergy Systems LLC" #define ZBEE_MFG_ALFRED_KARCHER "Alfred Karcher GmbH & Co KG" #define ZBEE_MFG_ADUROLIGHT_MANU "Adurolight Manufacturing " #define ZBEE_MFG_GROUPE_MULLER "Groupe Muller" #define ZBEE_MFG_V_MARK_ENTERPRI "V-Mark Enterprises Inc." #define ZBEE_MFG_LEAD_ENERGY_AG "Lead Energy AG" #define ZBEE_MFG_UIOT_GROUP "UIOT Group" #define ZBEE_MFG_AXXESS_INDUSTRIES "Axxess Industries Inc." #define ZBEE_MFG_THIRD_REALITY_INC "Third Reality Inc." #define ZBEE_MFG_DSR_CORPORATION "DSR Corporation" #define ZBEE_MFG_GUANGZHOU_VENSI "Guangzhou Vensi Intelligent Technology Co. Ltd." #define ZBEE_MFG_SCHLAGE_LOCK_ALL "Schlage Lock (Allegion)" #define ZBEE_MFG_NET2GRID "Net2Grid" #define ZBEE_MFG_AIRAM_ELECTRIC "Airam Electric Oy Ab" #define ZBEE_MFG_IMMAX_WPB_CZ "IMMAX WPB CZ" #define ZBEE_MFG_ZIV_AUTOMATION "ZIV Automation" #define ZBEE_MFG_HANGZHOU_IMAGIC "HangZhou iMagicTechnology Co., Ltd" #define ZBEE_MFG_XIAMEN_LEELEN "Xiamen Leelen Technology Co. Ltd." #define ZBEE_MFG_OVERKIZ_SAS "Overkiz SAS" #define ZBEE_MFG_FLONIDAN "Flonidan A/S" #define ZBEE_MFG_HDL_AUTOATION "HDL Automation Co., Ltd." #define ZBEE_MFG_ARDOMUS_NETWORKS "Ardomus Networks Corporation" #define ZBEE_MFG_SAMJIN_CO "Samjin Co., Ltd." #define ZBEE_MFG_SPRUE_AEGIS_PLC "Sprue Aegis PLC" #define ZBEE_MFG_INDRA_SISTEMAS "Indra Sistemas, S.A." #define ZBEE_MFG_JBT_SMART_LIGHT "Shenzhen JBT Smart Lighting Co., Ltd." #define ZBEE_MFG_GE_LIGHTING_CURRE "GE Lighting & Current" #define ZBEE_MFG_DANFOSS "Danfoss A/S" #define ZBEE_MFG_NIVISS_PHP_SP "NIVISS PHP Sp. z o.o. Sp.k." #define ZBEE_MFG_FENGLIYUAN_ENERGY "Shenzhen Fengliyuan Energy Conservating Technology Co. Ltd" #define ZBEE_MFG_NEXELEC "NEXELEC" #define ZBEE_MFG_SICHUAN_BEHOME_PR "Sichuan Behome Prominent Technology Co., Ltd" #define ZBEE_MFG_FUJIAN_STARNET "Fujian Star-net Communication Co., Ltd." #define ZBEE_MFG_TOSHIBA_VISUAL_SO "Toshiba Visual Solutions Corporation" #define ZBEE_MFG_LATCHABLE_INC "Latchable, Inc." #define ZBEE_MFG_LS_DEUTSCHLAND "L&S Deutschland GmbH" #define ZBEE_MFG_GLEDOPTO_CO_LTD "Gledopto Co., Ltd." #define ZBEE_MFG_THE_HOME_DEPOT "The Home Depot" #define ZBEE_MFG_NEONLITE_INTERNAT "Neonlite International Ltd." #define ZBEE_MFG_ARLO_TECHNOLOGIES "Arlo Technologies, Inc." #define ZBEE_MFG_XINGLUO_TECH "Xingluo Technology Co., Ltd." #define ZBEE_MFG_SIMON_ELECTRIC_CH "Simon Electric (China) Co., Ltd." #define ZBEE_MFG_HANGZHOU_GREATSTA "Hangzhou Greatstar Industrial Co., Ltd." #define ZBEE_MFG_SEQUENTRIC_ENERGY "Sequentric Energy Systems, LLC" #define ZBEE_MFG_SOLUM_CO_LTD "Solum Co., Ltd." #define ZBEE_MFG_EAGLERISE_ELEC "Eaglerise Electric & Electronic (China) Co., Ltd." #define ZBEE_MFG_FANTEM_TECH "Fantem Technologies (Shenzhen) Co., Ltd." #define ZBEE_MFG_YUNDING_NETWORK "Yunding Network Technology (Beijing) Co., Ltd." #define ZBEE_MFG_ATLANTIC_GROUP "Atlantic Group" #define ZBEE_MFG_XIAMEN_INTRETECH "Xiamen Intretech, Inc." #define ZBEE_MFG_TUYA_GLOBAL_INC "Tuya Global Inc." #define ZBEE_MFG_XIAMEN_DNAKE_INTE "Xiamen Dnake Intelligent Technology Co., Ltd" #define ZBEE_MFG_NIKO_NV "Niko nv" #define ZBEE_MFG_EMPORIA_ENERGY "Emporia Energy" #define ZBEE_MFG_SIKOM_AS "Sikom AS" #define ZBEE_MFG_AXIS_LABS_INC "AXIS Labs, Inc." #define ZBEE_MFG_CURRENT_PRODUCTS "Current Products Corporation" #define ZBEE_MFG_METERSIT_SRL "MeteRSit SRL" #define ZBEE_MFG_HORNBACH_BAUMARKT "HORNBACH Baumarkt AG" #define ZBEE_MFG_DICEWORLD_SRL_A "DiCEworld s.r.l. a socio unico" #define ZBEE_MFG_ARC_TECHNOLOGY "ARC Technology Co., Ltd" #define ZBEE_MFG_KONKE_INFORMATION "Hangzhou Konke Information Technology Co., Ltd." #define ZBEE_MFG_SALTO_SYSTEMS_SL "SALTO Systems S.L." #define ZBEE_MFG_SHYUGJ_TECHNOLOGY "Shenzhen Shyugj Technology Co., Ltd" #define ZBEE_MFG_BRAYDEN_AUTOMA "Brayden Automation Corporation" #define ZBEE_MFG_ENVIRONEXUS_PTY "Environexus Pty. Ltd." #define ZBEE_MFG_ELTRA_NV_SA "Eltra nv/sa" #define ZBEE_MFG_XIAMOMI_COMMUNI "Xiaomi Communications Co., Ltd." #define ZBEE_MFG_SHUNCOM_ELECTRON "Shanghai Shuncom Electronic Technology Co., Ltd." #define ZBEE_MFG_VOLTALIS_SA "Voltalis S.A" #define ZBEE_MFG_FEELUX_CO_LTD "FEELUX Co., Ltd." #define ZBEE_MFG_SMARTPLUS_INC "SmartPlus Inc." #define ZBEE_MFG_HALEMEIER_GMBH "Halemeier GmbH" #define ZBEE_MFG_TRUST_INTL "Trust International BBV" #define ZBEE_MFG_DUKE_ENERGY "Duke Energy Business Services LLC" #define ZBEE_MFG_CALIX "Calix, Inc." #define ZBEE_MFG_ADEO "ADEO" #define ZBEE_MFG_CONNECTED_RESP "Connected Response Limited" #define ZBEE_MFG_STROYENERGOKOM "StroyEnergoKom" #define ZBEE_MFG_LUMITECH_LIGHT "Lumitech Lighting Solution GmbH" #define ZBEE_MFG_VERDANT_ENVIRO "Verdant Environmental Technologies" #define ZBEE_MFG_ALFRED_INTL "Alfred International" #define ZBEE_MFG_SANSI_LED_LIGHT "Sansi LED Lighting" #define ZBEE_MFG_MINDTREE "Mindtree" #define ZBEE_MFG_NORDIC_SEMI "Nordic Semiconductor ASA" #define ZBEE_MFG_SITERWELL_ELEC "Siterwell Electronics" #define ZBEE_MFG_BRILONER_LEUCHTEN "Briloner Leuchten GmbH" #define ZBEE_MFG_SHENZHEN_SEI_TECH "Shenzhen SEI Technology" #define ZBEE_MFG_COPPER_LABS "Copper Labs" #define ZBEE_MFG_DELTA_DORE "Delta Dore" #define ZBEE_MFG_HAGER_GROUP "Hager Group" #define ZBEE_MFG_SHENZHEN_COOLKIT "Shenzhen CoolKit Technology" #define ZBEE_MFG_HANGZHOU_SKY_LIGHT "Hangzhou Sky-Lighting" #define ZBEE_MFG_E_ON_SE "E.ON SE" #define ZBEE_MFG_LIDL_STIFTUNG "Lidl Stiftung" #define ZBEE_MFG_SICHUAN_CHANGHONG "Sichuan Changhong Network Technologies" #define ZBEE_MFG_NODON "NodOn" #define ZBEE_MFG_JIANGXI_INNOTECH "Jiangxi Innotech Technology" #define ZBEE_MFG_MERCATOR_PTY "Mercator Pty" #define ZBEE_MFG_BEIJING_RUYING "Beijing Ruying Tech" #define ZBEE_MFG_EGLO_LEUCHTEN "EGLO Leuchten GmbH" #define ZBEE_MFG_PIETRO_FIORENTINI "Pietro Fiorentini S.p.A" #define ZBEE_MFG_ZEHNDER_GROUP "Zehnder Group Vaux-Andigny" #define ZBEE_MFG_BRK_BRANDS "BRK Brands" #define ZBEE_MFG_ASKEY_COMPUTER "Askey Computer" #define ZBEE_MFG_PASSIVEBOLT "PassiveBolt" #define ZBEE_MFG_AVM_AUDIOVISUELLE "AVM Audiovisuelles" #define ZBEE_MFG_NINGBO_SUNTECH "Ningbo Suntech Lighting Tech" #define ZBEE_MFG_SOCIETE_EN_COMMAND "Societe en Commandite Stello" #define ZBEE_MFG_VIVINT_SMART_HOME "Vivint Smart Home" #define ZBEE_MFG_NAMRON "Namron" #define ZBEE_MFG_RADEMACHER_GERA "RADEMACHER Geraete Elektronik GmbH" #define ZBEE_MFG_OMO_SYSTEMS "OMO Systems" #define ZBEE_MFG_SIGLIS "Siglis" #define ZBEE_MFG_IMHOTEP_CREATION "IMHOTEP CREATION" #define ZBEE_MFG_ICASA "icasa" #define ZBEE_MFG_LEVEL_HOME "Level Home" #define ZBEE_MFG_TIS_CONTROL "TIS Control" #define ZBEE_MFG_RADISYS_INDIA "Radisys India" #define ZBEE_MFG_VEEA "Veea" #define ZBEE_MFG_FELL_TECHNOLOGY "FELL Technology" #define ZBEE_MFG_SOWILO_DESIGN "Sowilo Design Services" #define ZBEE_MFG_LEXI_DEVICES "Lexi Devices" #define ZBEE_MFG_LIFI_LABS "Lifi Labs" #define ZBEE_MFG_GRUNDFOS_HOLDING "GRUNDFOS Holding" #define ZBEE_MFG_SOURCING_CREATION "SOURCING & CREATION" #define ZBEE_MFG_KRAKEN_TECHNOLOGIES "Kraken Technologies" #define ZBEE_MFG_EVE_SYSTEMS "EVE SYSTEMS" #define ZBEE_MFG_LITE_ON_TECHNOLOGY "LITE-ON TECHNOLOGY CORPORATION" #define ZBEE_MFG_FOCALCREST "Focalcrest" #define ZBEE_MFG_BOUFFALO_LAB "Bouffalo Lab (Nanjing)" #define ZBEE_MFG_WYZE_LABS "Wyze Labs" #define ZBEE_MFG_DATEK_WIRLESS "Datek Wireless AS" #define ZBEE_MFG_GEWISS_SPA "Gewiss S.p.A." #define ZBEE_MFG_CLIMAX_TECH "Climax Technology Cp., Ltd." /* Protocol Abbreviations */ #define ZBEE_PROTOABBREV_NWK "zbee_nwk" #define ZBEE_PROTOABBREV_NWK_GP "zbee_nwk_gp" #define ZBEE_PROTOABBREV_NWK_GP_CMD "zbee_nwk_gp_cmd" #define ZBEE_PROTOABBREV_APS "zbee_aps" #define ZBEE_PROTOABBREV_ZCL "zbee_zcl" #define ZBEE_PROTOABBREV_ZCL_APPLCTRL "zbee_zcl_general.applctrl" #define ZBEE_PROTOABBREV_ZCL_BASIC "zbee_zcl_general.basic" #define ZBEE_PROTOABBREV_ZCL_POWER_CONFIG "zbee_zcl_general.power_config" #define ZBEE_PROTOABBREV_ZCL_DEVICE_TEMP_CONFIG "zbee_zcl_general.device_temperature_config" #define ZBEE_PROTOABBREV_ZCL_IDENTIFY "zbee_zcl_general.identify" #define ZBEE_PROTOABBREV_ZCL_GROUPS "zbee_zcl_general.groups" #define ZBEE_PROTOABBREV_ZCL_SCENES "zbee_zcl_general.scenes" #define ZBEE_PROTOABBREV_ZCL_ALARMS "zbee_zcl_general.alarms" #define ZBEE_PROTOABBREV_ZCL_TIME "zbee_zcl_general.time" #define ZBEE_PROTOABBREV_ZCL_PUMP_CONFIG_CTRL "zbee_zcl_hvac.pump_config_ctrl" #define ZBEE_PROTOABBREV_ZCL_THERMOSTAT "zbee_zcl_hvac.thermostat" #define ZBEE_PROTOABBREV_ZCL_FAN_CONTROL "zbee_zcl_hvac.fan_ctrl" #define ZBEE_PROTOABBREV_ZCL_DEHUMIDIFICATION_CONTROL "zbee_zcl_hvac.dehum_ctrl" #define ZBEE_PROTOABBREV_ZCL_THERMOSTAT_UI_CONFIG "zbee_zcl_hvac.thermo_ui_config" #define ZBEE_PROTOABBREV_ZCL_APPLEVTALT "zbee_zcl_ha.applevtalt" #define ZBEE_PROTOABBREV_ZCL_APPLIDT "zbee_zcl_ha.applident" #define ZBEE_PROTOABBREV_ZCL_APPLSTATS "zbee_zcl_ha.applstats" #define ZBEE_PROTOABBREV_ZCL_METIDT "zbee_zcl_ha.metidt" #define ZBEE_PROTOABBREV_ZCL_IAS_ZONE "zbee_zcl_ias.zone" #define ZBEE_PROTOABBREV_ZCL_IAS_ACE "zbee_zcl_ias.ace" #define ZBEE_PROTOABBREV_ZCL_IAS_WD "zbee_zcl_ias.wd" #define ZBEE_PROTOABBREV_ZCL_ONOFF "zbee_zcl_general.onoff" #define ZBEE_PROTOABBREV_ZCL_ONOFF_SWITCH_CONFIG "zbee_zcl_general.onoff.switch.configuration" #define ZBEE_PROTOABBREV_ZCL_LEVEL_CONTROL "zbee_zcl_general.level_control" #define ZBEE_PROTOABBREV_ZCL_RSSI_LOCATION "zbee_zcl_general.rssi_location" #define ZBEE_PROTOABBREV_ZCL_OTA "zbee_zcl_general.ota" #define ZBEE_PROTOABBREV_ZCL_PART "zbee_zcl_general.part" #define ZBEE_PROTOABBREV_ZCL_POLL "zbee_zcl_general.poll" #define ZBEE_PROTOABBREV_ZCL_PWRPROF "zbee_zcl_general.pwrprof" #define ZBEE_PROTOABBREV_ZCL_COMMISSIONING "zbee_zcl_general.commissioning" #define ZBEE_PROTOABBREV_ZCL_MULTISTATE_VALUE_BASIC "zbee_zcl_general.multistate.value.basic" #define ZBEE_PROTOABBREV_ZCL_MULTISTATE_INPUT_BASIC "zbee_zcl_general.multistate.input.basic" #define ZBEE_PROTOABBREV_ZCL_MULTISTATE_OUTPUT_BASIC "zbee_zcl_general.multistate.output.basic" #define ZBEE_PROTOABBREV_ZCL_BINARY_INPUT_BASIC "zbee_zcl_general.binary_input_basic" /* Newly Added by SRIB */ #define ZBEE_PROTOABBREV_ZCL_BINARY_OUTPUT_BASIC "zbee_zcl_general.binary_output_basic" /* Newly Added by SRIB */ #define ZBEE_PROTOABBREV_ZCL_BINARY_VALUE_BASIC "zbee_zcl_general.binary_value_basic" /* Newly Added by SRIB */ #define ZBEE_PROTOABBREV_ZCL_ANALOG_VALUE_BASIC "zbee_zcl_general.analog.value.basic" #define ZBEE_PROTOABBREV_ZCL_ANALOG_INPUT_BASIC "zbee_zcl_general.analog.input.basic" #define ZBEE_PROTOABBREV_ZCL_ANALOG_OUTPUT_BASIC "zbee_zcl_general.analog.output.basic" #define ZBEE_PROTOABBREV_ZCL_ILLUMMEAS "zbee_zcl_meas_sensing.illummeas" #define ZBEE_PROTOABBREV_ZCL_ILLUMLEVELSEN "zbee_zcl_meas_sensing.illumlevelsen" #define ZBEE_PROTOABBREV_ZCL_PRESSMEAS "zbee_zcl_meas_sensing.pressmeas" #define ZBEE_PROTOABBREV_ZCL_FLOWMEAS "zbee_zcl_meas_sensing.flowmeas" #define ZBEE_PROTOABBREV_ZCL_RELHUMMEAS "zbee_zcl_meas_sensing.relhummeas" #define ZBEE_PROTOABBREV_ZCL_TEMPMEAS "zbee_zcl_meas_sensing.tempmeas" #define ZBEE_PROTOABBREV_ZCL_OCCSEN "zbee_zcl_meas_sensing.occsen" #define ZBEE_PROTOABBREV_ZCL_ELECMES "zbee_zcl_meas_sensing.elecmes" #define ZBEE_PROTOABBREV_ZCL_KEEP_ALIVE "zbee_zcl_se.keep_alive" #define ZBEE_PROTOABBREV_ZCL_PRICE "zbee_zcl_se.price" #define ZBEE_PROTOABBREV_ZCL_DRLC "zbee_zcl_se.drlc" #define ZBEE_PROTOABBREV_ZCL_KE "zbee_zcl_se.ke" #define ZBEE_PROTOABBREV_ZCL_MET "zbee_zcl_se.met" #define ZBEE_PROTOABBREV_ZCL_MSG "zbee_zcl_se.msg" #define ZBEE_PROTOABBREV_ZCL_TUN "zbee_zcl_se.tun" #define ZBEE_PROTOABBREV_ZCL_PRE_PAYMENT "zbee_zcl_se.pp" #define ZBEE_PROTOABBREV_ZCL_ENERGY_MANAGEMENT "zbee_zcl_se.em" #define ZBEE_PROTOABBREV_ZCL_CALENDAR "zbee_zcl_se.calendar" #define ZBEE_PROTOABBREV_ZCL_DAILY_SCHEDULE "zbee_zcl_se.daily_schedule" #define ZBEE_PROTOABBREV_ZCL_DEVICE_MANAGEMENT "zbee_zcl_se.dm" #define ZBEE_PROTOABBREV_ZCL_EVENTS "zbee_zcl_se.events" #define ZBEE_PROTOABBREV_ZCL_MDU_PAIRING "zbee_zcl_se.mdu_pairing" #define ZBEE_PROTOABBREV_ZCL_SUB_GHZ "zbee_zcl_se.sub_ghz" #define ZBEE_PROTOABBREV_ZCL_SHADE_CONFIG "zbee_zcl_closures.shade_config" #define ZBEE_PROTOABBREV_ZCL_DOOR_LOCK "zbee_zcl_closures.door_lock" #define ZBEE_PROTOABBREV_ZCL_COLOR_CONTROL "zbee_zcl_lighting.color_ctrl" #define ZBEE_PROTOABBREV_ZCL_BALLAST_CONFIG "zbee_zcl_lighting.ballast_ctrl" #define ZBEE_PROTOABBREV_ZCL_TOUCHLINK "zbee_zcl_general.touchlink" #define ZBEE_PROTOABBREV_ZCL_GP "zbee_zcl_general.gp" /* ZigBee Vendor Sub IE Fields */ #define ZBEE_ZIGBEE_IE_ID_MASK 0xFFC0 #define ZBEE_ZIGBEE_IE_LENGTH_MASK 0x003F #define ZBEE_ZIGBEE_IE_REJOIN 0x00 #define ZBEE_ZIGBEE_IE_TX_POWER 0x01 #define ZBEE_ZIGBEE_IE_BEACON_PAYLOAD 0x02 /* ZigBee PRO beacons */ #define ZBEE_ZIGBEE_BEACON_PROTOCOL_ID 0x00 #define ZBEE_ZIGBEE_BEACON_STACK_PROFILE 0x0f #define ZBEE_ZIGBEE_BEACON_PROTOCOL_VERSION 0xf0 #define ZBEE_ZIGBEE_BEACON_ROUTER_CAPACITY 0x04 #define ZBEE_ZIGBEE_BEACON_NETWORK_DEPTH 0x78 #define ZBEE_ZIGBEE_BEACON_END_DEVICE_CAPACITY 0x80 /* ZigBee ZLL Device descriptions */ #define ZBEE_ZLL_DEVICE_ON_OFF_LIGHT 0x0000 #define ZBEE_ZLL_DEVICE_ON_OFF_PLUG_IN_UNIT 0x0010 #define ZBEE_ZLL_DEVICE_DIMMABLE_LIGHT 0x0100 #define ZBEE_ZLL_DEVICE_DIMMABLE_PLUG_IN_UNIT 0x0110 #define ZBEE_ZLL_DEVICE_COLOR_LIGHT 0x0200 #define ZBEE_ZLL_DEVICE_EXTENDED_COLOR_LIGHT 0x0210 #define ZBEE_ZLL_DEVICE_COLOR_TEMPERATURE_LIGHT 0x0220 #define ZBEE_ZLL_DEVICE_COLOR_CONTROLLER 0x0800 #define ZBEE_ZLL_DEVICE_COLOR_SCENE_CONTROLLER 0x0810 #define ZBEE_ZLL_DEVICE_NON_COLOR_CONTROLLER 0x0820 #define ZBEE_ZLL_DEVICE_NON_COLOR_SCENE_CONTROLLER 0x0830 #define ZBEE_ZLL_DEVICE_CONTROL_BRIDGE 0x0840 #define ZBEE_ZLL_DEVICE_ON_OFF_SENSOR 0x0850 /* ZigBee HA Device descriptions */ #define ZBEE_HA_DEVICE_ON_OFF_LIGHT 0x0100 #define ZBEE_HA_DEVICE_DIMMABLE_LIGHT 0x0101 #define ZBEE_HA_DEVICE_COLOR_DIMMABLE_LIGHT 0x0102 #define ZBEE_HA_DEVICE_ON_OFF_LIGHT_SWITCH 0x0103 #define ZBEE_HA_DEVICE_DIMMER_SWITCH 0x0104 #define ZBEE_HA_DEVICE_COLOR_DIMMER_SWITCH 0x0105 #define ZBEE_HA_DEVICE_LIGHT_SENSOR 0x0106 #define ZBEE_HA_DEVICE_OCCUPANCY_SENSOR 0x0107 #define ZBEE_HA_DEVICE_ON_OFF_BALLAST 0x0108 #define ZBEE_HA_DEVICE_DIMMABLE_BALLAST 0x0109 #define ZBEE_HA_DEVICE_ON_OFF_PLUG_IN_UNIT 0x010A #define ZBEE_HA_DEVICE_DIMMABLE_PLUG_IN_UNIT 0x010B #define ZBEE_HA_DEVICE_COLOR_TEMPERATURE_LIGHT 0x010C #define ZBEE_HA_DEVICE_EXTENDED_COLOR_LIGHT 0x010D #define ZBEE_HA_DEVICE_LIGHT_LEVEL_SENSOR 0x010E #define ZBEE_HA_DEVICE_COLOR_CONTROLLER 0x0800 #define ZBEE_HA_DEVICE_COLOR_SCENE_CONTROLLER 0x0810 #define ZBEE_HA_DEVICE_NON_COLOR_CONTROLLER 0x0820 #define ZBEE_HA_DEVICE_NON_COLOR_SCENE_CONTROLLER 0x0830 #define ZBEE_HA_DEVICE_CONTROL_BRIDGE 0x0840 #define ZBEE_HA_DEVICE_ON_OFF_SENSOR 0x0850 /* Helper Functions */ /* Helper Functions */ extern guint zbee_get_bit_field(guint input, guint mask); #endif /* PACKET_ZBEE_H */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zbncp.c
/* packet-zbncp.c * Dissector routines for the ZBOSS Network Co-Processor (NCP) * Copyright 2021 DSR Corporation, http://dsr-wireless.com/ * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include <config.h> #include <epan/packet.h> #include <epan/conversation.h> #include <wiretap/wtap.h> #include "packet-ieee802154.h" #include "packet-zbncp.h" void proto_reg_handoff_zbncp(void); void proto_register_zbncp(void); extern void dissect_zbee_nwk_status_code(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); extern void dissect_zbee_aps_status_code(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset); #define ZBNCP_PROTOABBREV "zbncp" #define ZBNCP_SIGN_FST_BYTE 0xDEU #define ZBNCP_SIGN_SEC_BYTE 0xADU #define ZBNCP_HDR_SIZE 7 #define ZBNCP_HDR_FLAGS_ISACK_MASK 0x01 #define ZBNCP_HDR_FLAGS_RETRANS_MASK 0x02 #define ZBNCP_HDR_FLAGS_PKT_SEQ_MASK 0x0C #define ZBNCP_HDR_FLAGS_ACK_SEQ_MASK 0x30 #define ZBNCP_HDR_FLAGS_ISFIRST_MASK 0x40 #define ZBNCP_HDR_FLAGS_ISLAST_MASK 0x80 #define ZBNCP_DUMP_INFO_SIGN "ZBNCP" #define ZBNCP_DUMP_INFO_SIGN_SIZE (sizeof(ZBNCP_DUMP_INFO_SIGN) - 1) #define ZBNCP_DUMP_INFO_PAYLOAD_SIZE 3 #define ZBNCP_DUMP_INFO_NCP_TYPE 0x06U #define ZBNCP_DUMP_INFO_SIZE (ZBNCP_DUMP_INFO_SIGN_SIZE + ZBNCP_DUMP_INFO_PAYLOAD_SIZE) #define ZBNCP_DUMP_DIR_MASK 0x01U #define ZBNCP_DUMP_HOST_INT_DUMP_MASK 0x02U #define ZBNCP_DUMP_POTENTIAL_TX_RX_ERROR_MASK 0x04U /* decryption helpers */ static guint dissect_zbncp_ll_hdr(tvbuff_t *, packet_info *, proto_tree *, guint, guint8 *); static void dissect_zbncp_body(tvbuff_t *, packet_info *, proto_tree *, guint, guint16 *); static void dissect_zbncp_high_level(tvbuff_t *, packet_info *, proto_tree *, guint, guint16 *); static guint dissect_zbncp_high_level_hdr(tvbuff_t *, packet_info *, proto_tree *, guint, guint8 *, guint16 *); static void dissect_zbncp_high_level_body(tvbuff_t *, packet_info *, proto_tree *, guint, guint8, guint16); static void dissect_zbncp_fragmentation_body(tvbuff_t *, packet_info *, proto_tree *, guint); static guint dissect_zbncp_packet(tvbuff_t *, packet_info *, proto_tree *, guint); static guint dissect_zbncp_status(tvbuff_t *, packet_info *, proto_tree *, guint); static tvbuff_t *dissect_zbncp_dump_info(tvbuff_t *, packet_info *, proto_tree *); /*------------------------------------- * Dissector Function Prototypes *------------------------------------- */ /* Dissection Routines. */ /* Initialize Protocol and Registered fields */ /* ZBNCP hdr */ static int zbncp_frame = -1; static int proto_zbncp = -1; static int hf_zbncp_hdr_sign = -1; static int hf_zbncp_packet_len = -1; static int hf_zbncp_hdr_type = -1; static int hf_zbncp_hdr_flags = -1; static int hf_zbncp_hdr_flags_isack = -1; static int hf_zbncp_hdr_flags_retrans = -1; static int hf_zbncp_hdr_flags_packetseq = -1; static int hf_zbncp_hdr_flags_ackseq = -1; static int hf_zbncp_hdr_flags_first_frag = -1; static int hf_zbncp_hdr_flags_last_frag = -1; static int hf_zbncp_hdr_crc8 = -1; static int hf_zbncp_body_data_crc16 = -1; static int hf_zbncp_data_hl_version = -1; static int hf_zbncp_data_hl_packet_type = -1; static int hf_zbncp_data_hl_call_id = -1; static int hf_zbncp_data_hl_tsn = -1; static int hf_zbncp_data_hl_status_cat = -1; static int hf_zbncp_data_hl_status = -1; static int hf_zbncp_data_hl_status_generic = -1; static int hf_zbncp_data_hl_status_mac = -1; static int hf_zbncp_data_hl_status_nwk = -1; static int hf_zbncp_data_hl_status_cbke = -1; static int hf_zbncp_data_fw_vers = -1; static int hf_zbncp_data_stack_vers = -1; static int hf_zbncp_data_proto_vers = -1; static int hf_zbncp_data_reset_opt = -1; static int hf_zbncp_data_zb_role = -1; static int hf_zbncp_data_ch_list_len = -1; static int hf_zbncp_data_page = -1; static int hf_zbncp_data_ch_mask = -1; static int hf_zbncp_data_channel = -1; static int hf_zbncp_data_channel4 = -1; static int hf_zbncp_data_pan_id = -1; static int hf_zbncp_data_mac_int_num = -1; static int hf_zbncp_data_index = -1; static int hf_zbncp_data_enable = -1; static int hf_zbncp_data_bind_type = -1; static int hf_zbncp_data_ieee_addr = -1; static int hf_zbncp_data_ext_pan_id = -1; static int hf_zbncp_data_coordinator_version = -1; static int hf_zbncp_data_trust_center_addres = -1; static int hf_zbncp_data_remote_ieee_addr = -1; static int hf_zbncp_data_src_ieee_addr = -1; static int hf_zbncp_data_dst_ieee_addr = -1; static int hf_zbncp_data_partner_ieee_addr = -1; static int hf_zbncp_data_trace_mask = -1; static int hf_zbncp_data_trace_wireless_traf = -1; static int hf_zbncp_data_trace_reserved = -1; static int hf_zbncp_data_trace_ncp_ll_proto = -1; static int hf_zbncp_data_trace_host_int_line = -1; static int hf_zbncp_data_trace_sleep_awake = -1; static int hf_zbncp_data_keepalive = -1; static int hf_zbncp_data_rx_on_idle = -1; static int hf_zbncp_data_res_tx_power = -1; static int hf_zbncp_data_req_tx_power = -1; static int hf_zbncp_data_joined = -1; static int hf_zbncp_data_joined_bit = -1; static int hf_zbncp_data_parent_bit = -1; static int hf_zbncp_data_authenticated = -1; static int hf_zbncp_data_timeout = -1; static int hf_zbncp_data_keepalive_mode = -1; static int hf_zbncp_force_route_record_sending = -1; static int hf_zbncp_data_nwk_addr = -1; static int hf_zbncp_data_nwk_parent_addr = -1; static int hf_zbncp_data_src_nwk_addr = -1; static int hf_zbncp_data_dst_nwk_addr = -1; static int hf_zbncp_data_remote_nwk_addr = -1; static int hf_zbncp_data_group_nwk_addr = -1; static int hf_zbncp_data_src_mac_addr = -1; static int hf_zbncp_data_dst_mac_addr = -1; static int hf_zbncp_data_nwk_key = -1; static int hf_zbncp_data_key_num = -1; static int hf_zbncp_data_serial_num = -1; static int hf_zbncp_data_size = -1; static int hf_zbncp_data_vendor_data = -1; static int hf_zbncp_data_dump_type = -1; static int hf_zbncp_data_dump_text = -1; static int hf_zbncp_data_dump_bin = -1; static int hf_zbncp_data_parameter_id = -1; static int hf_zbncp_data_value8_dec = -1; static int hf_zbncp_data_value16_dec = -1; static int hf_zbncp_data_aps_ack_to_non_sleepy = -1; static int hf_zbncp_data_aps_ack_to_sleepy = -1; static int hf_zbncp_data_min16 = -1; static int hf_zbncp_data_max16 = -1; static int hf_zbncp_data_default8_sign = -1; static int hf_zbncp_data_current8_sign = -1; static int hf_zbncp_data_is_concentrator = -1; static int hf_zbncp_data_concentrator_radius = -1; static int hf_zbncp_data_time16 = -1; static int hf_zbncp_data_lock_status = -1; static int hf_zbncp_data_reset_source = -1; static int hf_zbncp_nwk_leave_allowed = -1; static int hf_zbncp_data_nvram_dataset_quantity = -1; static int hf_zbncp_data_nvram_dataset_type = -1; static int hf_zbncp_data_nvram_version = -1; static int hf_zbncp_data_dataset_version = -1; static int hf_zbncp_data_dataset_length = -1; static int hf_zbncp_data_nvram_dataset_data = -1; static int hf_zbncp_data_tc_policy_type = -1; static int hf_zbncp_data_tc_policy_value = -1; static int hf_zbncp_max_children = -1; static int hf_zbncp_zdo_leave_allowed = -1; static int hf_zbncp_zdo_leave_wo_rejoin_allowed = -1; static int hf_zbncp_data_aps_key = -1; static int hf_zbncp_data_endpoint = -1; static int hf_zbncp_data_aps_group_num = -1; static int hf_zbncp_data_aps_group = -1; static int hf_zbncp_data_src_endpoint = -1; static int hf_zbncp_data_dst_endpoint = -1; static int hf_zbncp_data_poll_pkt_cnt = -1; static int hf_zbncp_data_poll_timeout = -1; static int hf_zbncp_data_poll_permit_flag = -1; static int hf_zbncp_data_profile_id = -1; static int hf_zbncp_data_device_id = -1; static int hf_zbncp_data_dev_version = -1; static int hf_zbncp_data_in_cl_cnt = -1; static int hf_zbncp_data_out_cl_cnt = -1; static int hf_zbncp_data_cluster_id = -1; static int hf_zbncp_data_mac_cap = -1; static int hf_zbncp_data_manuf_id = -1; static int hf_zbncp_data_cur_pwr_mode = -1; static int hf_zbncp_data_cur_pwr_lvl = -1; static int hf_zbncp_data_susp_period = -1; static int hf_zbncp_data_av_pwr_src = -1; static int hf_zbncp_data_cur_pwr_src = -1; static int hf_zbncp_data_pwr_src_const = -1; static int hf_zbncp_data_pwr_src_recharge = -1; static int hf_zbncp_data_pwr_src_disposable = -1; static int hf_zbncp_data_req_type = -1; static int hf_zbncp_data_start_idx = -1; static int hf_zbncp_data_start_idx_16b = -1; static int hf_zbncp_data_upd_idx = -1; static int hf_zbncp_data_entry_idx = -1; static int hf_zbncp_data_num_asoc_dec = -1; static int hf_zbncp_data_pwr_desc = -1; static int hf_zbncp_data_pwr_desc_cur_power_mode = -1; static int hf_zbncp_data_pwr_desc_av_pwr_src = -1; static int hf_zbncp_data_pwr_desc_cur_pwr_src = -1; static int hf_zbncp_data_pwr_desc_cur_pwr_lvl = -1; static int hf_zbncp_data_max_buf_size = -1; static int hf_zbncp_data_max_inc_trans_size = -1; static int hf_zbncp_data_max_out_trans_size = -1; static int hf_zbncp_data_desc_cap = -1; static int hf_zbncp_data_desc_cap_ext_act_ep_list_av = -1; static int hf_zbncp_data_desc_cap_ext_simple_desc_list_av = -1; static int hf_zbncp_data_flags8 = -1; static int hf_zbncp_data_flags_permit_join = -1; static int hf_zbncp_data_flags_router_cap = -1; static int hf_zbncp_data_flags_ed_cap = -1; static int hf_zbncp_data_flags_stack_profile = -1; static int hf_zbncp_data_flags16 = -1; static int hf_zbncp_data_flags_zb_role = -1; static int hf_zbncp_data_flags_comp_desc_av = -1; static int hf_zbncp_data_flags_user_desc_av = -1; static int hf_zbncp_data_flags_freq_868 = -1; static int hf_zbncp_data_flags_freq_902 = -1; static int hf_zbncp_data_flags_freq_2400 = -1; static int hf_zbncp_data_flags_freq_eu_sub_ghz = -1; static int hf_zbncp_data_srv_msk = -1; static int hf_zbncp_data_srv_msk_prim_tc = -1; static int hf_zbncp_data_srv_msk_backup_tc = -1; static int hf_zbncp_data_srv_msk_prim_bind_tbl_cache = -1; static int hf_zbncp_data_srv_msk_backup_bind_tbl_cache = -1; static int hf_zbncp_data_remote_bind_offset = -1; static int hf_zbncp_data_srv_msk_prim_disc_cache = -1; static int hf_zbncp_data_srv_msk_backup_disc_cache = -1; static int hf_zbncp_data_srv_msk_nwk_manager = -1; static int hf_zbncp_data_srv_msk_stack_compl_rev = -1; static int hf_zbncp_data_ep_cnt = -1; static int hf_zbncp_data_dst_addr_mode = -1; static int hf_zbncp_data_leave_flags = -1; static int hf_zbncp_data_leave_flags_remove_chil = -1; static int hf_zbncp_data_leave_flags_rejoin = -1; static int hf_zbncp_data_permit_dur = -1; static int hf_zbncp_data_tc_sign = -1; static int hf_zbncp_data_secur_rejoin = -1; static int hf_zbncp_data_zdo_rejoin_flags = -1; static int hf_zbncp_data_zdo_rejoin_flags_tcsw_happened = -1; static int hf_zbncp_data_dlen8 = -1; static int hf_zbncp_data_dlen16 = -1; static int hf_zbncp_data_param_len = -1; static int hf_zbncp_data_radius = -1; static int hf_zbncp_data_time_between_disc = -1; static int hf_zbncp_data_enable_flag = -1; static int hf_zbncp_data_array = -1; static int hf_zbncp_data_use_alias = -1; static int hf_zbncp_data_alias_src = -1; static int hf_zbncp_data_alias_seq = -1; static int hf_zbncp_data_tx_opt = -1; static int hf_zbncp_data_tx_opt_secur = -1; static int hf_zbncp_data_tx_opt_obsolete = -1; static int hf_zbncp_data_tx_opt_ack = -1; static int hf_zbncp_data_tx_opt_frag = -1; static int hf_zbncp_data_tx_opt_inc_ext_nonce = -1; static int hf_zbncp_data_tx_opt_force_mesh_route = -1; static int hf_zbncp_data_tx_opt_send_route_record = -1; static int hf_zbncp_data_lqi = -1; static int hf_zbncp_data_rssi = -1; static int hf_zbncp_data_do_cleanup = -1; static int hf_zbncp_data_max_rx_bcast = -1; static int hf_zbncp_data_mac_tx_bcast = -1; static int hf_zbncp_data_mac_rx_ucast = -1; static int hf_zbncp_data_mac_tx_ucast_total_zcl = -1; static int hf_zbncp_data_mac_tx_ucast_failures_zcl = -1; static int hf_zbncp_data_mac_tx_ucast_retries_zcl = -1; static int hf_zbncp_data_mac_tx_ucast_total = -1; static int hf_zbncp_data_mac_tx_ucast_failures = -1; static int hf_zbncp_data_mac_tx_ucast_retries = -1; static int hf_zbncp_data_mac_validate_drop_cnt = -1; static int hf_zbncp_data_mac_phy_cca_fail_count = -1; static int hf_zbncp_data_phy_to_mac_que_lim_reached = -1; static int hf_zbncp_data_period_of_time = -1; static int hf_zbncp_data_last_msg_lqi = -1; static int hf_zbncp_data_last_msg_rssi = -1; static int hf_zbncp_data_number_of_resets = -1; static int hf_zbncp_data_aps_tx_bcast = -1; static int hf_zbncp_data_aps_tx_ucast_success = -1; static int hf_zbncp_data_aps_tx_ucast_retry = -1; static int hf_zbncp_data_aps_tx_ucast_fail = -1; static int hf_zbncp_data_route_disc_initiated = -1; static int hf_zbncp_data_nwk_neighbor_added = -1; static int hf_zbncp_data_nwk_neighbor_removed = -1; static int hf_zbncp_data_nwk_neighbor_stale = -1; static int hf_zbncp_upd_status_code = -1; static int hf_zbncp_data_join_indication = -1; static int hf_zbncp_data_childs_removed = -1; static int hf_zbncp_data_aps_decrypt_failure = -1; static int hf_zbncp_data_packet_buffer_allocate_failures = -1; static int hf_zbncp_data_aps_unauthorized_key = -1; static int hf_zbncp_data_nwk_decrypt_failure = -1; static int hf_zbncp_data_average_mac_retry_per_aps_message_sent = -1; static int hf_zbncp_data_nwk_fc_failure = -1; static int hf_zbncp_data_aps_fc_failure = -1; static int hf_zbncp_data_nwk_retry_overflow = -1; static int hf_zbncp_data_nwk_bcast_table_full = -1; static int hf_zbncp_data_status = -1; static int hf_zbncp_zdo_auth_type = -1; static int hf_zbncp_zdo_leg_auth_status_code = -1; static int hf_zbncp_zdo_tclk_auth_status_code = -1; static int hf_zbncp_zdo_server_mask = -1; static int hf_zbncp_zdo_start_entry_idx = -1; static int hf_zbncp_zdo_scan_duration = -1; static int hf_zbncp_zdo_scan_cnt = -1; static int hf_zbncp_zdo_scan_mgr_addr = -1; static int hf_zbncp_data_aps_cnt = -1; static int hf_zbncp_data_aps_fc = -1; static int hf_zbncp_data_aps_fc_deliv_mode = -1; static int hf_zbncp_data_aps_fc_secur = -1; static int hf_zbncp_data_aps_fc_ack_retrans = -1; static int hf_zbncp_data_aps_key_attr = -1; static int hf_zbncp_data_aps_key_attr_key_src = -1; static int hf_zbncp_data_aps_key_attr_key_used = -1; static int hf_zbncp_data_pkt_len = -1; static int hf_zbncp_data_pkt = -1; static int hf_zbncp_data_scan_dur = -1; static int hf_zbncp_data_distr_nwk_flag = -1; static int hf_zbncp_data_nwk_count = -1; static int hf_zbncp_data_nwk_upd_id = -1; static int hf_zbncp_data_rejoin = -1; static int hf_zbncp_data_rejoin_nwk = -1; static int hf_zbncp_data_secur_en = -1; static int hf_zbncp_data_beacon_type = -1; static int hf_zbncp_data_beacon_order = -1; static int hf_zbncp_data_superframe_order = -1; static int hf_zbncp_data_battery_life_ext = -1; static int hf_zbncp_data_enh_beacon = -1; static int hf_zbncp_data_mac_if = -1; static int hf_zbncp_data_mac_if_idx = -1; static int hf_zbncp_data_ed_config = -1; static int hf_zbncp_data_timeout_cnt = -1; static int hf_zbncp_data_dev_timeout = -1; static int hf_zbncp_data_relationship = -1; static int hf_zbncp_data_tx_fail_cnt = -1; static int hf_zbncp_data_out_cost = -1; static int hf_zbncp_data_age = -1; static int hf_zbncp_data_keepalive_rec = -1; static int hf_zbncp_data_fast_poll_int = -1; static int hf_zbncp_data_long_poll_int = -1; static int hf_zbncp_data_fast_poll_flag = -1; static int hf_zbncp_data_stop_fast_poll_result = -1; static int hf_zbncp_data_time = -1; static int hf_zbncp_data_pan_id_cnt = -1; static int hf_zbncp_data_ic = -1; static int hf_zbncp_data_ic_table_size = -1; static int hf_zbncp_data_ic_ent_cnt = -1; static int hf_zbncp_data_cs = -1; static int hf_zbncp_data_ca_pub_key = -1; static int hf_zbncp_data_ca_priv_key = -1; static int hf_zbncp_data_cert = -1; static int hf_zbncp_data_ic_en = -1; static int hf_zbncp_data_key_type = -1; static int hf_zbncp_data_issuer = -1; static int hf_zbncp_data_tx_power = -1; static int hf_zbncp_data_seed = -1; static int hf_zbncp_data_tx_time = -1; static int hf_zbncp_data_link_key = -1; static int hf_zbncp_data_aps_link_key_type = -1; static int hf_zbncp_data_key_src = -1; static int hf_zbncp_data_key_attr = -1; static int hf_zbncp_data_out_frame_cnt = -1; static int hf_zbncp_data_inc_frame_cnt = -1; static int hf_zbncp_data_offset = -1; static int hf_zbncp_data_do_erase = -1; static int hf_zbncp_data_calibration_status = -1; static int hf_zbncp_data_calibration_value = -1; static int hf_zbncp_data_zgp_key_type = -1; static int hf_zbncp_data_zgp_link_key = -1; static int hf_zbncp_data_prod_conf_hdr_crc = -1; static int hf_zbncp_data_prod_conf_hdr_len = -1; static int hf_zbncp_data_prod_conf_hdr_version = -1; static int hf_zbncp_data_prod_conf_body = -1; /* IEEE802.15.4 capability info (copied from IEEE802.15.4 95e212e6c7 commit)*/ static int hf_ieee802154_cinfo_alt_coord = -1; static int hf_ieee802154_cinfo_device_type = -1; static int hf_ieee802154_cinfo_power_src = -1; static int hf_ieee802154_cinfo_idle_rx = -1; static int hf_ieee802154_cinfo_sec_capable = -1; static int hf_ieee802154_cinfo_alloc_addr = -1; /* ZBNCP traffic dump */ static int hf_zbncp_dump_preambule = -1; static int hf_zbncp_dump_version = -1; static int hf_zbncp_dump_type = -1; static int hf_zbncp_dump_options = -1; static int hf_zbncp_dump_options_dir = -1; static int hf_zbncp_dump_options_int_state = -1; static int hf_zbncp_dump_options_tx_conflict = -1; /* Initialize subtree pointers */ static gint ett_zbncp_hdr = -1; static gint ett_zbncp_hdr_flags = -1; static gint ett_zbncp_ll_body = -1; static gint ett_zbncp_hl_hdr = -1; static gint ett_zbncp_hl_body = -1; static gint ett_zbncp_data_in_cl_list = -1; static gint ett_zbncp_data_out_cl_list = -1; static gint ett_zbncp_data_mac_cap = -1; static gint ett_zbncp_data_pwr_src = -1; static gint ett_zbncp_data_cur_pwr_src = -1; static gint ett_zbncp_data_asoc_nwk_list = -1; static gint ett_zbncp_data_pwr_desc = -1; static gint ett_zbncp_data_desc_cap = -1; static gint ett_zbncp_data_flags = -1; static gint ett_zbncp_data_server_mask = -1; static gint ett_zbncp_data_ep_list = -1; static gint ett_zbncp_data_leave_flags = -1; static gint ett_zbncp_data_tx_opt = -1; static gint ett_zbncp_data_zdo_rejoin_flags = -1; static gint ett_zbncp_data_apc_fc = -1; static gint ett_zbncp_data_prod_conf_hdr = -1; static gint ett_zbncp_data_aps_key_attr = -1; static gint ett_zbncp_data_ch_list = -1; static gint ett_zbncp_data_channel = -1; static gint ett_zbncp_data_nwk_descr = -1; static gint ett_zbncp_data_cmd_opt = -1; static gint ett_zbncp_data_joind_bitmask = -1; static gint ett_zbncp_data_trace_bitmask = -1; static gint ett_zbncp_dump = -1; static gint ett_zbncp_dump_opt = -1; static dissector_handle_t zbncp_handle; static const value_string zbncp_hl_type[] = { {ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST, "Request"}, {ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE, "Response"}, {ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION, "Indication"}, {0, NULL} }; static const value_string zbncp_hl_status_cat[] = { {ZBNCP_HIGH_LVL_STAT_CAT_GENERIC, "Generic"}, {ZBNCP_HIGH_LVL_STAT_CAT_SYSTEM, "System"}, {ZBNCP_HIGH_LVL_STAT_CAT_MAC, "MAC"}, {ZBNCP_HIGH_LVL_STAT_CAT_NWK, "NWK"}, {ZBNCP_HIGH_LVL_STAT_CAT_APS, "APS"}, {ZBNCP_HIGH_LVL_STAT_CAT_ZDO, "ZDO"}, {ZBNCP_HIGH_LVL_STAT_CAT_CBKE, "CBKE"}, {0, NULL} }; static const value_string zbncp_reset_opt[] = { {0, "No options"}, {1, "Erase NVRAM"}, {2, "Factory Reset"}, {3, "Locking reading keys"}, {0, NULL} }; static const value_string zbncp_zb_role[] = { {0, "ZC"}, {1, "ZR"}, {2, "ZED"}, {0, NULL} }; static const value_string zbncp_bind_type_vals[] = { {0, "NCP_HL_UNUSED_BINDING"}, {1, "NCP_HL_UNICAST_BINDING"}, {0, NULL} }; static const value_string zbncp_tc_policy_types[] = { {0, "TC Link Keys Required"}, {1, "IC Required"}, {2, "TC Rejoin Enabled"}, {3, "Ignore TC Rejoin"}, {4, "APS Insecure Join"}, {5, "Disable NWK MGMT Channel Update"}, {0, NULL} }; static const value_string zbncp_dev_update_status_code[] = { {0, "Standard Device Secured Rejoin"}, {1, "Standard Device Unsecured Join"}, {2, "Device Left"}, {3, "Standard Device Trust Center Rejoin"}, {0, NULL} }; static const value_string zbncp_hl_call_id[] = { {ZBNCP_CMD_GET_MODULE_VERSION, "GET_MODULE_VERSION"}, {ZBNCP_CMD_NCP_RESET, "NCP_RESET"}, {ZBNCP_CMD_GET_ZIGBEE_ROLE, "GET_ZIGBEE_ROLE"}, {ZBNCP_CMD_SET_ZIGBEE_ROLE, "SET_ZIGBEE_ROLE"}, {ZBNCP_CMD_GET_ZIGBEE_CHANNEL_MASK, "GET_ZIGBEE_CHANNEL_MASK"}, {ZBNCP_CMD_SET_ZIGBEE_CHANNEL_MASK, "SET_ZIGBEE_CHANNEL_MASK"}, {ZBNCP_CMD_GET_ZIGBEE_CHANNEL, "GET_ZIGBEE_CHANNEL"}, {ZBNCP_CMD_GET_PAN_ID, "GET_PAN_ID"}, {ZBNCP_CMD_SET_PAN_ID, "SET_PAN_ID"}, {ZBNCP_CMD_GET_LOCAL_IEEE_ADDR, "GET_LOCAL_IEEE_ADDR"}, {ZBNCP_CMD_SET_LOCAL_IEEE_ADDR, "SET_LOCAL_IEEE_ADDR"}, {ZBNCP_CMD_SET_TRACE, "SET_TRACE"}, {ZBNCP_CMD_GET_KEEPALIVE_TIMEOUT, "GET_KEEPALIVE_TIMEOUT"}, {ZBNCP_CMD_SET_KEEPALIVE_TIMEOUT, "SET_KEEPALIVE_TIMEOUT"}, {ZBNCP_CMD_GET_TX_POWER, "GET_TX_POWER"}, {ZBNCP_CMD_SET_TX_POWER, "SET_TX_POWER"}, {ZBNCP_CMD_GET_RX_ON_WHEN_IDLE, "GET_RX_ON_WHEN_IDLE"}, {ZBNCP_CMD_SET_RX_ON_WHEN_IDLE, "SET_RX_ON_WHEN_IDLE"}, {ZBNCP_CMD_GET_JOINED, "GET_JOINED"}, {ZBNCP_CMD_GET_AUTHENTICATED, "GET_AUTHENTICATED"}, {ZBNCP_CMD_GET_ED_TIMEOUT, "GET_ED_TIMEOUT"}, {ZBNCP_CMD_SET_ED_TIMEOUT, "SET_ED_TIMEOUT"}, {ZBNCP_CMD_ADD_VISIBLE_DEV, "ADD_VISIBLE_DEV"}, {ZBNCP_CMD_ADD_INVISIBLE_SHORT, "ADD_INVISIBLE_SHORT"}, {ZBNCP_CMD_RM_INVISIBLE_SHORT, "RM_INVISIBLE_SHORT"}, {ZBNCP_CMD_SET_NWK_KEY, "SET_NWK_KEY"}, {ZBNCP_CMD_GET_SERIAL_NUMBER, "GET_SERIAL_NUMBER"}, {ZBNCP_CMD_GET_VENDOR_DATA, "GET_VENDOR_DATA"}, {ZBNCP_CMD_GET_NWK_KEYS, "GET_NWK_KEYS"}, {ZBNCP_CMD_GET_APS_KEY_BY_IEEE, "GET_APS_KEY_BY_IEEE"}, {ZBNCP_CMD_BIG_PKT_TO_NCP, "BIG_PKT_TO_NCP"}, {ZBNCP_CMD_GET_PARENT_ADDR, "GET_PARENT_ADDR"}, {ZBNCP_CMD_GET_EXT_PAN_ID, "GET_EXT_PAN_ID"}, {ZBNCP_CMD_GET_COORDINATOR_VERSION, "GET_COORDINATOR_VERSION"}, {ZBNCP_CMD_GET_SHORT_ADDRESS, "GET_SHORT_ADDRESS"}, {ZBNCP_CMD_GET_TRUST_CENTER_ADDRESS, "GET_TRUST_CENTER_ADDRESS"}, {ZBNCP_CMD_DEBUG_WRITE, "DEBUG_WRITE"}, {ZBNCP_CMD_GET_CONFIG_PARAMETER, "GET_CONFIG_PARAMETER"}, {ZBNCP_CMD_GET_LOCK_STATUS, "GET_LOCK_STATUS"}, {ZBNCP_CMD_GET_TRACE, "GET_TRACE"}, {ZBNCP_CMD_NCP_RESET_IND, "NCP_RESET_IND"}, {ZBNCP_CMD_SET_NWK_LEAVE_ALLOWED, "SET_NWK_LEAVE_ALLOWED"}, {ZBNCP_CMD_GET_NWK_LEAVE_ALLOWED, "GET_NWK_LEAVE_ALLOWED"}, {ZBNCP_CMD_NVRAM_WRITE, "NVRAM_WRITE"}, {ZBNCP_CMD_NVRAM_READ, "NVRAM_READ"}, {ZBCNP_CMD_NVRAM_CLEAR, "NVRAM_CLEAR"}, {ZBNCP_CMD_NVRAM_ERASE, "NVRAM_ERASE"}, {ZBNCP_CMD_SET_TC_POLICY, "SET_TC_POLICY"}, {ZBNCP_CMD_SET_EXTENDED_PAN_ID, "SET_EXTENDED_PAN_ID"}, {ZBNCP_CMD_SET_MAX_CHILDREN, "SET_MAX_CHILDREN"}, {ZBNCP_CMD_GET_MAX_CHILDREN, "GET_MAX_CHILDREN"}, {ZBNCP_CMD_SET_ZDO_LEAVE_ALLOWED, "SET_ZDO_LEAVE_ALLOWED"}, {ZBNCP_CMD_GET_ZDO_LEAVE_ALLOWED, "GET_ZDO_LEAVE_ALLOWED"}, {ZBNCP_CMD_SET_LEAVE_WO_REJOIN_ALLOWED, "SET_LEAVE_WO_REJOIN_ALLOWED"}, {ZBNCP_CMD_GET_LEAVE_WO_REJOIN_ALLOWED, "GET_LEAVE_WO_REJOIN_ALLOWED"}, {ZBNCP_CMD_DISABLE_GPPB, "DISABLE_GPPB"}, {ZBNCP_CMD_GP_SET_SHARED_KEY_TYPE, "GP_SET_SHARED_KEY_TYPE"}, {ZBNCP_CMD_GP_SET_DEFAULT_LINK_KEY, "GP_SET_DEFAULT_LINK_KEY"}, {ZBNCP_CMD_PRODUCTION_CONFIG_READ, "PRODUCTION_CONFIG_READ"}, {ZBNCP_CMD_AF_SET_SIMPLE_DESC, "AF_SET_SIMPLE_DESC"}, {ZBNCP_CMD_AF_DEL_EP, "AF_DEL_EP"}, {ZBNCP_CMD_AF_SET_NODE_DESC, "AF_SET_NODE_DESC"}, {ZBNCP_CMD_AF_SET_POWER_DESC, "AF_SET_POWER_DESC"}, {ZBNCP_CMD_AF_SUBGHZ_SUSPEND_IND, "AF_SUBGHZ_SUSPEND_IND"}, {ZBNCP_CMD_AF_SUBGHZ_RESUME_IND, "AF_SUBGHZ_RESUME_IND"}, {ZBNCP_CMD_ZDO_NWK_ADDR_REQ, "ZDO_NWK_ADDR_REQ"}, {ZBNCP_CMD_ZDO_IEEE_ADDR_REQ, "ZDO_IEEE_ADDR_REQ"}, {ZBNCP_CMD_ZDO_POWER_DESC_REQ, "ZDO_POWER_DESC_REQ"}, {ZBNCP_CMD_ZDO_NODE_DESC_REQ, "ZDO_NODE_DESC_REQ"}, {ZBNCP_CMD_ZDO_SIMPLE_DESC_REQ, "ZDO_SIMPLE_DESC_REQ"}, {ZBNCP_CMD_ZDO_ACTIVE_EP_REQ, "ZDO_ACTIVE_EP_REQ"}, {ZBNCP_CMD_ZDO_MATCH_DESC_REQ, "ZDO_MATCH_DESC_REQ"}, {ZBNCP_CMD_ZDO_BIND_REQ, "ZDO_BIND_REQ"}, {ZBNCP_CMD_ZDO_UNBIND_REQ, "ZDO_UNBIND_REQ"}, {ZBNCP_CMD_ZDO_MGMT_LEAVE_REQ, "ZDO_MGMT_LEAVE_REQ"}, {ZBNCP_CMD_ZDO_PERMIT_JOINING_REQ, "ZDO_PERMIT_JOINING_REQ"}, {ZBNCP_CMD_ZDO_DEV_ANNCE_IND, "ZDO_DEV_ANNCE_IND"}, {ZBNCP_CMD_ZDO_REJOIN, "ZDO_REJOIN"}, {ZBNCP_CMD_ZDO_SYSTEM_SRV_DISCOVERY_REQ, "ZDO_SYSTEM_SRV_DISCOVERY_REQ"}, {ZBNCP_CMD_ZDO_MGMT_BIND_REQ, "ZDO_MGMT_BIND_REQ"}, {ZBNCP_CMD_ZDO_MGMT_LQI_REQ, "ZDO_MGMT_LQI_REQ"}, {ZBNCP_CMD_ZDO_MGMT_NWK_UPDATE_REQ, "ZDO_MGMT_NWK_UPDATE_REQ"}, {ZBNCP_CMD_ZDO_REMOTE_CMD_IND, "ZDO_REMOTE_CMD_IND"}, {ZBNCP_CMD_ZDO_GET_STATS, "ZDO_GET_STATS"}, {ZBNCP_CMD_ZDO_DEV_AUTHORIZED_IND, "ZDO_DEV_AUTHORIZED_IND"}, {ZBNCP_CMD_ZDO_DEV_UPDATE_IND, "ZDO_DEV_UPDATE_IND"}, {ZBNCP_CMD_ZDO_SET_NODE_DESC_MANUF_CODE, "ZDO_SET_NODE_DESC_MANUF_CODE"}, {ZBNCP_CMD_HL_ZDO_GET_DIAG_DATA_REQ, "ZDO_GET_DIAG_DATA_REQ"}, {ZBNCP_CMD_APSDE_DATA_REQ, "APSDE_DATA_REQ"}, {ZBNCP_CMD_APSME_BIND, "APSME_BIND"}, {ZBNCP_CMD_APSME_UNBIND, "APSME_UNBIND"}, {ZBNCP_CMD_APSME_ADD_GROUP, "APSME_ADD_GROUP"}, {ZBNCP_CMD_APSME_RM_GROUP, "APSME_RM_GROUP"}, {ZBNCP_CMD_APSDE_DATA_IND, "APSDE_DATA_IND"}, {ZBNCP_CMD_APSME_RM_ALL_GROUPS, "APSME_RM_ALL_GROUPS"}, {ZBNCP_CMD_APS_GET_GROUP_TABLE, "APS_GET_GROUP_TABLE"}, {ZBNCP_CMD_APSME_UNBIND_ALL, "APSME_UNBIND_ALL"}, {ZBNCP_CMD_APSME_RM_BIND_ENTRY_BY_ID, "APSME_RM_BIND_ENTRY_BY_ID"}, {ZBNCP_CMD_APSME_CLEAR_BIND_TABLE, "APSME_CLEAR_BIND_TABLE"}, {ZBNCP_CMD_APSME_REMOTE_BIND_IND, "APSME_REMOTE_BIND_IND"}, {ZBNCP_CMD_APSME_REMOTE_UNBIND_IND, "APSME_REMOTE_UNBIND_IND"}, {ZBNCP_CMD_APSME_SET_REMOTE_BIND_OFFSET, "APSME_SET_REMOTE_BIND_OFFSET"}, {ZBNCP_CMD_APSME_GET_REMOTE_BIND_OFFSET, "APSME_GET_REMOTE_BIND_OFFSET"}, {ZBNCP_CMD_APSME_GET_BIND_ENTRY_BY_ID, "APSME_GET_BIND_ENTRY_BY_ID"}, {ZBNCP_CMD_NWK_FORMATION, "NWK_FORMATION"}, {ZBNCP_CMD_NWK_DISCOVERY, "NWK_DISCOVERY"}, {ZBNCP_CMD_NWK_NLME_JOIN, "NWK_NLME_JOIN"}, {ZBNCP_CMD_NWK_PERMIT_JOINING, "NWK_PERMIT_JOINING"}, {ZBNCP_CMD_NWK_GET_IEEE_BY_SHORT, "NWK_GET_IEEE_BY_SHORT"}, {ZBNCP_CMD_NWK_GET_SHORT_BY_IEEE, "NWK_GET_SHORT_BY_IEEE"}, {ZBNCP_CMD_NWK_GET_NEIGHBOR_BY_IEEE, "NWK_GET_NEIGHBOR_BY_IEEE"}, {ZBNCP_CMD_NWK_STARTED_IND, "NWK_STARTED_IND"}, {ZBNCP_CMD_NWK_REJOINED_IND, "NWK_REJOINED_IND"}, {ZBNCP_CMD_NWK_REJOIN_FAILED_IND, "NWK_REJOIN_FAILED_IND"}, {ZBNCP_CMD_NWK_LEAVE_IND, "NWK_LEAVE_IND"}, {ZBNCP_CMD_PIM_SET_FAST_POLL_INTERVAL, "PIM_SET_FAST_POLL_INTERVAL"}, {ZBNCP_CMD_PIM_SET_LONG_POLL_INTERVAL, "PIM_SET_LONG_POLL_INTERVAL"}, {ZBNCP_CMD_PIM_START_FAST_POLL, "PIM_START_FAST_POLL"}, {ZBNCP_CMD_PIM_START_POLL, "PIM_START_POLL"}, {ZBNCP_CMD_PIM_SET_ADAPTIVE_POLL, "PIM_SET_ADAPTIVE_POLL"}, {ZBNCP_CMD_PIM_STOP_FAST_POLL, "PIM_STOP_FAST_POLL"}, {ZBNCP_CMD_PIM_STOP_POLL, "PIM_STOP_POLL"}, {ZBNCP_CMD_PIM_ENABLE_TURBO_POLL, "PIM_ENABLE_TURBO_POLL"}, {ZBNCP_CMD_PIM_DISABLE_TURBO_POLL, "PIM_DISABLE_TURBO_POLL"}, {ZBNCP_CMD_NWK_GET_FIRST_NBT_ENTRY, "NWK_GET_FIRST_NBT_ENTRY"}, {ZBNCP_CMD_NWK_GET_NEXT_NBT_ENTRY, "NWK_GET_NEXT_NBT_ENTRY"}, {ZBNCP_CMD_NWK_PAN_ID_CONFLICT_RESOLVE, "NWK_PAN_ID_CONFLICT_RESOLVE"}, {ZBNCP_CMD_NWK_PAN_ID_CONFLICT_IND, "NWK_PAN_ID_CONFLICT_IND"}, {ZBNCP_CMD_NWK_ADDRESS_UPDATE_IND, "NWK_ADDRESS_UPDATE_IND"}, {ZBNCP_CMD_NWK_START_WITHOUT_FORMATION, "NWK_START_WITHOUT_FORMATION"}, {ZBNCP_CMD_NWK_NLME_ROUTER_START, "NWK_NLME_ROUTER_START"}, {ZBNCP_CMD_PIM_SINGLE_POLL, "PIM_SINGLE_POLL"}, {ZBNCP_CMD_PARENT_LOST_IND, "PARENT_LOST_IND"}, {ZBNCP_CMD_PIM_START_TURBO_POLL_PACKETS, "PIM_START_TURBO_POLL_PACKETS"}, {ZBNCP_CMD_PIM_START_TURBO_POLL_CONTINUOUS, "PIM_START_TURBO_POLL_CONTINUOUS"}, {ZBNCP_CMD_PIM_TURBO_POLL_CONTINUOUS_LEAVE, "PIM_TURBO_POLL_CONTINUOUS_LEAVE"}, {ZBNCP_CMD_PIM_TURBO_POLL_PACKETS_LEAVE, "PIM_TURBO_POLL_PACKETS_LEAVE"}, {ZBNCP_CMD_PIM_PERMIT_TURBO_POLL, "PIM_PERMIT_TURBO_POLL"}, {ZBNCP_CMD_PIM_SET_FAST_POLL_TIMEOUT, "PIM_SET_FAST_POLL_TIMEOUT"}, {ZBNCP_CMD_PIM_GET_LONG_POLL_INTERVAL, "PIM_GET_LONG_POLL_INTERVAL"}, {ZBNCP_CMD_PIM_GET_IN_FAST_POLL_FLAG, "PIM_GET_IN_FAST_POLL_FLAG"}, {ZBNCP_CMD_SET_KEEPALIVE_MODE, "SET_KEEPALIVE_MODE"}, {ZBNCP_CMD_START_CONCENTRATOR_MODE, "START_CONCENTRATOR_MODE"}, {ZBNCP_CMD_STOP_CONCENTRATOR_MODE, "STOP_CONCENTRATOR_MODE"}, {ZBNCP_CMD_NWK_ENABLE_PAN_ID_CONFLICT_RESOLUTION, "NWK_ENABLE_PAN_ID_CONFLICT_RESOLUTION"}, {ZBNCP_CMD_NWK_ENABLE_AUTO_PAN_ID_CONFLICT_RESOLUTION, "NWK_ENABLE_AUTO_PAN_ID_CONFLICT_RESOLUTION"}, {ZBNCP_CMD_PIM_TURBO_POLL_CANCEL_PACKET, "PIM_TURBO_POLL_CANCEL_PACKET"}, {ZBNCP_CMD_SET_FORCE_ROUTE_RECORD, "SET_FORCE_ROUTE_RECORD"}, {ZBNCP_CMD_GET_FORCE_ROUTE_RECORD, "GET_FORCE_ROUTE_RECORD"}, {ZBNCP_CMD_NWK_NBR_ITERATOR_NEXT, "NWK_NBR_ITERATOR_NEXT"}, {ZBNCP_CMD_SECUR_SET_LOCAL_IC, "SECUR_SET_LOCAL_IC"}, {ZBNCP_CMD_SECUR_ADD_IC, "SECUR_ADD_IC"}, {ZBNCP_CMD_SECUR_DEL_IC, "SECUR_DEL_IC"}, {ZBNCP_CMD_SECUR_ADD_CERT, "SECUR_ADD_CERT"}, {ZBNCP_CMD_SECUR_DEL_CERT, "SECUR_DEL_CERT"}, {ZBNCP_CMD_SECUR_START_KE, "SECUR_START_KE"}, {ZBNCP_CMD_SECUR_START_PARTNER_LK, "SECUR_START_PARTNER_LK"}, {ZBNCP_CMD_SECUR_CBKE_SRV_FINISHED_IND, "SECUR_CBKE_SRV_FINISHED_IND"}, {ZBNCP_CMD_SECUR_PARTNER_LK_FINISHED_IND, "SECUR_PARTNER_LK_FINISHED_IND"}, {ZBNCP_CMD_SECUR_KE_WHITELIST_ADD, "SECUR_KE_WHITELIST_ADD"}, {ZBNCP_CMD_SECUR_KE_WHITELIST_DEL, "SECUR_KE_WHITELIST_DEL"}, {ZBNCP_CMD_SECUR_KE_WHITELIST_DEL_ALL, "SECUR_KE_WHITELIST_DEL_ALL"}, {ZBNCP_CMD_SECUR_JOIN_USES_IC, "SECUR_JOIN_USES_IC"}, {ZBNCP_CMD_SECUR_GET_IC_BY_IEEE, "SECUR_GET_IC_BY_IEEE"}, {ZBNCP_CMD_SECUR_GET_CERT, "SECUR_GET_CERT"}, {ZBNCP_CMD_SECUR_GET_LOCAL_IC, "SECUR_GET_LOCAL_IC"}, {ZBNCP_CMD_SECUR_TCLK_IND, "SECUR_TCLK_IND"}, {ZBNCP_CMD_SECUR_TCLK_EXCHANGE_FAILED_IND, "SECUR_TCLK_EXCHANGE_FAILED_IND"}, {ZBNCP_CMD_SECUR_GET_KEY_IDX, "SECUR_GET_KEY_IDX"}, {ZBNCP_CMD_SECUR_GET_KEY, "SECUR_GET_KEY"}, {ZBNCP_CMD_SECUR_ERASE_KEY, "SECUR_ERASE_KEY"}, {ZBNCP_CMD_SECUR_CLEAR_KEY_TABLE, "SECUR_CLEAR_KEY_TABLE"}, {ZBNCP_CMD_SECUR_NWK_INITIATE_KEY_SWITCH_PROCEDURE, "SECUR_NWK_INITIATE_KEY_SWITCH_PROCEDURE"}, {ZBNCP_CMD_SECUR_GET_IC_LIST, "SECUR_GET_IC_LIST"}, {ZBNCP_CMD_SECUR_GET_IC_BY_IDX, "SECUR_GET_IC_BY_IDX"}, {ZBNCP_CMD_SECUR_REMOVE_ALL_IC, "SECUR_REMOVE_ALL_IC"}, {ZBNCP_CMD_SECUR_PARTNER_LK_ENABLE, "SECUR_PARTNER_LK_ENABLE"}, {ZBNCP_CMD_MANUF_MODE_START, "MANUF_MODE_START"}, {ZBNCP_CMD_MANUF_MODE_END, "MANUF_MODE_END"}, {ZBNCP_CMD_MANUF_SET_CHANNEL, "MANUF_SET_CHANNEL"}, {ZBNCP_CMD_MANUF_GET_CHANNEL, "MANUF_GET_CHANNEL"}, {ZBNCP_CMD_MANUF_SET_POWER, "MANUF_SET_POWER"}, {ZBNCP_CMD_MANUF_GET_POWER, "MANUF_GET_POWER"}, {ZBNCP_CMD_MANUF_START_TONE, "MANUF_START_TONE"}, {ZBNCP_CMD_MANUF_STOP_TONE, "MANUF_STOP_TONE"}, {ZBNCP_CMD_MANUF_START_STREAM_RANDOM, "MANUF_START_STREAM_RANDOM"}, {ZBNCP_CMD_MANUF_STOP_STREAM_RANDOM, "MANUF_STOP_STREAM_RANDOM"}, {ZBNCP_CMD_NCP_HL_MANUF_SEND_SINGLE_PACKET, "MANUF_SEND_SINGLE_PACKET"}, {ZBNCP_CMD_MANUF_START_TEST_RX, "MANUF_START_TEST_RX"}, {ZBNCP_CMD_MANUF_STOP_TEST_RX, "MANUF_STOP_TEST_RX"}, {ZBNCP_CMD_MANUF_RX_PACKET_IND, "MANUF_RX_PACKET_IND"}, {ZBNCP_CMD_OTA_RUN_BOOTLOADER, "OTA_RUN_BOOTLOADER"}, {ZBNCP_CMD_OTA_START_UPGRADE_IND, "OTA_START_UPGRADE_IND"}, {ZBNCP_CMD_OTA_SEND_PORTION_FW, "OTA_SEND_PORTION_FW"}, {ZBNCP_CMD_READ_NVRAM_RESERVED, "READ_NVRAM_RESERVED"}, {ZBNCP_CMD_WRITE_NVRAM_RESERVED, "WRITE_NVRAM_RESERVED"}, {ZBNCP_CMD_GET_CALIBRATION_INFO, "GET_CALIBRATION_INFO"}, {0, NULL} }; static const value_string zbncp_parameter_id_list[] = { {ZBNCP_PARAMETER_ID_IEEE_ADDR_TABLE_SIZE, "IEEE_ADDR_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_NEIGHBOR_TABLE_SIZE, "NEIGHBOR_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_APS_SRC_BINDING_TABLE_SIZE, "APS_SRC_BINDING_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_APS_GROUP_TABLE_SIZE, "APS_GROUP_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_NWK_ROUTING_TABLE_SIZE, "NWK_ROUTING_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_NWK_ROUTE_DISCOVERY_TABLE_SIZE, "NWK_ROUTE_DISCOVERY_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_IOBUF_POOL_SIZE, "IOBUF_POOL_SIZE"}, {ZBNCP_PARAMETER_ID_PANID_TABLE_SIZE, "PANID_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_APS_DUPS_TABLE_SIZE, "APS_DUPS_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_APS_BIND_TRANS_TABLE_SIZE, "APS_BIND_TRANS_TABLE_SIZE"}, {ZBNCP_PARAMETER_ID_N_APS_RETRANS_ENTRIES, "N_APS_RETRANS_ENTRIES"}, {ZBNCP_PARAMETER_ID_NWK_MAX_HOPS, "NWK_MAX_HOPS"}, {ZBNCP_PARAMETER_ID_NIB_MAX_CHILDREN, "NIB_MAX_CHILDREN"}, {ZBNCP_PARAMETER_ID_N_APS_KEY_PAIR_ARR_MAX_SIZE, "N_APS_KEY_PAIR_ARR_MAX_SIZE"}, {ZBNCP_PARAMETER_ID_NWK_MAX_SRC_ROUTES, "NWK_MAX_SRC_ROUTES"}, {ZBNCP_PARAMETER_ID_APS_MAX_WINDOW_SIZE, "APS_MAX_WINDOW_SIZE"}, {ZBNCP_PARAMETER_ID_APS_INTERFRAME_DELAY, "APS_INTERFRAME_DELAY"}, {ZBNCP_PARAMETER_ID_ZDO_ED_BIND_TIMEOUT, "ZDO_ED_BIND_TIMEOUT"}, {ZBNCP_PARAMETER_ID_NIB_PASSIVE_ASK_TIMEOUT, "NIB_PASSIVE_ASK_TIMEOUT"}, {ZBNCP_PARAMETER_ID_APS_ACK_TIMEOUTS, "APS_ACK_TIMEOUTS"}, {ZBNCP_PARAMETER_ID_MAC_BEACON_JITTER, "MAC_BEACON_JITTER"}, {ZBNCP_PARAMETER_ID_TX_POWER, "TX_POWER"}, {ZBNCP_PARAMETER_ID_ZLL_DEFAULT_RSSI_THRESHOLD, "ZLL_DEFAULT_RSSI_THRESHOLD"}, {ZBNCP_PARAMETER_ID_NIB_MTORR, "NIB_MTORR"}, {0, NULL} }; static const value_string zbncp_rst_src_list[] = { {0, "ZB_RESET_SRC_POWER_ON"}, {1, "ZB_RESET_SRC_SW_RESET"}, {2, "ZB_RESET_SRC_RESET_PIN"}, {3, "ZB_RESET_SRC_BROWN_OUT"}, {4, "ZB_RESET_SRC_CLOCK_LOSS"}, {5, "ZB_RESET_SRC_OTHER"}, {0, NULL} }; static const value_string zbncp_power_level[] = { {0, "Critical"}, {4, "33%"}, {8, "66%"}, {12, "100%"}, {0, NULL} }; static const value_string zbncp_nwk_req_type[] = { {0, "Single device response"}, {1, "Extended response"}, {0, NULL} }; static const value_string zbncp_hl_status_generic[] = { {0, "OK"}, {1, "ERROR"}, {2, "BLOCKED"}, {3, "EXIT"}, {4, "BUSY"}, {5, "EOF"}, {6, "OUT_OF_RANGE"}, {7, "EMPTY"}, {8, "CANCELLED"}, {10, "INVALID_PARAMETER_1"}, {11, "INVALID_PARAMETER_2"}, {12, "INVALID_PARAMETER_3"}, {13, "INVALID_PARAMETER_4"}, {14, "INVALID_PARAMETER_5"}, {15, "INVALID_PARAMETER_6"}, {16, "INVALID_PARAMETER_7"}, {17, "INVALID_PARAMETER_8"}, {18, "INVALID_PARAMETER_9"}, {19, "INVALID_PARAMETER_10"}, {20, "INVALID_PARAMETER_11_OR_MORE"}, {21, "PENDING"}, {22, "NO_MEMORY"}, {23, "INVALID_PARAMETER"}, {24, "OPERATION_FAILED"}, {25, "BUFFER_TOO_SMALL"}, {26, "END_OF_LIST"}, {27, "ALREADY_EXISTS"}, {28, "NOT_FOUND"}, {29, "OVERFLOW"}, {30, "TIMEOUT"}, {31, "NOT_IMPLEMENTED"}, {32, "NO_RESOURCES"}, {33, "UNINITIALIZED"}, {34, "NO_SERVER"}, {35, "INVALID_STATE"}, {37, "CONNECTION_FAILED"}, {38, "CONNECTION_LOST"}, {40, "UNAUTHORIZED"}, {41, "CONFLICT"}, {42, "INVALID_FORMAT"}, {43, "NO_MATCH"}, {44, "PROTOCOL_ERROR"}, {45, "VERSION"}, {46, "MALFORMED_ADDRESS"}, {47, "COULD_NOT_READ_FILE"}, {48, "FILE_NOT_FOUND"}, {49, "DIRECTORY_NOT_FOUND"}, {50, "CONVERSION_ERROR"}, {51, "INCOMPATIBLE_TYPES"}, {56, "FILE_CORRUPTED"}, {57, "PAGE_NOT_FOUND"}, {62, "ILLEGAL_REQUEST"}, {64, "INVALID_GROUP"}, {65, "TABLE_FULL"}, {69, "IGNORE"}, {70, "AGAIN"}, {71, "DEVICE_NOT_FOUND"}, {72, "OBSOLETE"}, {0, NULL} }; static const value_string zb_mac_state[] = { {MAC_ENUM_SUCCESS, "SUCCESS"}, {MAC_ENUM_BEACON_LOSS, "BEACON_LOSS"}, {MAC_ENUM_CHANNEL_ACCESS_FAILURE, "CHANNEL_ACCESS_FAILURE"}, {MAC_ENUM_COUNTER_ERROR, "COUNTER_ERROR"}, {MAC_ENUM_DENIED, "DENIED"}, {MAC_ENUM_DISABLE_TRX_FAILURE, "DISABLE_TRX_FAILURE"}, {MAC_ENUM_FRAME_TOO_LONG, "FRAME_TOO_LONG"}, {MAC_ENUM_IMPROPER_KEY_TYPE, "IMPROPER_KEY_TYPE"}, {MAC_ENUM_IMPROPER_SECURITY_LEVEL, "IMPROPER_SECURITY_LEVEL"}, {MAC_ENUM_INVALID_ADDRESS, "INVALID_ADDRESS"}, {MAC_ENUM_INVALID_GTS, "INVALID_GTS"}, {MAC_ENUM_INVALID_HANDLE, "INVALID_HANDLE"}, {MAC_ENUM_INVALID_INDEX, "INVALID_INDEX"}, {MAC_ENUM_INVALID_PARAMETER, "INVALID_PARAMETER"}, {MAC_ENUM_LIMIT_REACHED, "LIMIT_REACHED"}, {MAC_ENUM_NO_ACK, "NO_ACK"}, {MAC_ENUM_NO_BEACON, "NO_BEACON"}, {MAC_ENUM_NO_DATA, "NO_DATA"}, {MAC_ENUM_NO_SHORT_ADDRESS, "NO_SHORT_ADDRESS"}, {MAC_ENUM_ON_TIME_TOO_LONG, "ON_TIME_TOO_LONG"}, {MAC_ENUM_OUT_OF_CAP, "OUT_OF_CAP"}, {MAC_ENUM_PAN_ID_CONFLICT, "PAN_ID_CONFLICT"}, {MAC_ENUM_PAST_TIME, "PAST_TIME"}, {MAC_ENUM_READ_ONLY, "READ_ONLY"}, {MAC_ENUM_REALIGNMENT, "REALIGNMENT"}, {MAC_ENUM_SCAN_IN_PROGRESS, "SCAN_IN_PROGRESS"}, {MAC_ENUM_SECURITY_ERROR, "SECURITY_ERROR"}, {MAC_ENUM_SUPERFRAME_OVERLAP, "SUPERFRAME_OVERLAP"}, {MAC_ENUM_TRACKING_OFF, "TRACKING_OFF"}, {MAC_ENUM_TRANSACTION_EXPIRED, "TRANSACTION_EXPIRED"}, {MAC_ENUM_TRANSACTION_OVERFLOW, "TRANSACTION_OVERFLOW"}, {MAC_ENUM_TX_ACTIVE, "TX_ACTIVE"}, {MAC_ENUM_UNAVAILABLE_KEY, "UNAVAILABLE_KEY"}, {MAC_ENUM_UNSUPPORTED_LEGACY, "UNSUPPORTED_LEGACY"}, {MAC_ENUM_UNSUPPORTED_SECURITY, "UNSUPPORTED_SECURITY"}, {0, NULL} }; static const value_string zb_nwk_state[] = { {ZBNCP_NWK_STATUS_SUCCESS, "SUCCESS"}, {ZBNCP_NWK_STATUS_INVALID_PARAMETER, "INVALID_PARAMETER"}, {ZBNCP_NWK_STATUS_INVALID_REQUEST, "INVALID_REQUEST"}, {ZBNCP_NWK_STATUS_NOT_PERMITTED, "NOT_PERMITTED, "}, {ZBNCP_NWK_STATUS_ALREADY_PRESENT, "ALREADY_PRESENT"}, {ZBNCP_NWK_STATUS_SYNC_FAILURE, "SYNC_FAILURE"}, {ZBNCP_NWK_STATUS_NEIGHBOR_TABLE_FULL, "NEIGHBOR_TABLE_FULL"}, {ZBNCP_NWK_STATUS_UNKNOWN_DEVICE, "UNKNOWN_DEVICE"}, {ZBNCP_NWK_STATUS_UNSUPPORTED_ATTRIBUTE, "UNSUPPORTED_ATTRIBUTE"}, {ZBNCP_NWK_STATUS_NO_NETWORKS, "NO_NETWORKS"}, {ZBNCP_NWK_STATUS_MAX_FRM_COUNTER, "MAX_FRM_COUNTER"}, {ZBNCP_NWK_STATUS_NO_KEY, "NO_KEY"}, {ZBNCP_NWK_STATUS_ROUTE_DISCOVERY_FAILED, "ROUTE_DISCOVERY_FAILED"}, {ZBNCP_NWK_STATUS_ROUTE_ERROR, "ROUTE_ERROR"}, {ZBNCP_NWK_STATUS_BT_TABLE_FULL, "BT_TABLE_FULL"}, {ZBNCP_NWK_STATUS_FRAME_NOT_BUFFERED, "FRAME_NOT_BUFFERE"}, {ZBNCP_NWK_STATUS_INVALID_INTERFACE, "INVALID_INTERFACE"}, {0, NULL} }; static const value_string zb_cbke_state[] = { {ZBNCP_CBKE_STATUS_OK, "OK"}, {ZBNCP_CBKE_STATUS_UNKNOWN_ISSUER, "UNKNOWN_ISSUER"}, {ZBNCP_CBKE_STATUS_BAD_KEY_CONFIRM, "BAD_KEY_CONFIRM"}, {ZBNCP_CBKE_STATUS_BAD_MESSAGE, "BAD_MESSAGE"}, {ZBNCP_CBKE_STATUS_NO_RESOURCES, "NO_RESOURCES"}, {ZBNCP_CBKE_STATUS_UNSUPPORTED_SUITE, "UNSUPPORTED_SUITE"}, {ZBNCP_CBKE_STATUS_INVALID_CERTIFICATE, "INVALID_CERTIFICATE"}, {ZBNCP_CBKE_STATUS_NO_KE_EP, "NO_KE_EP"}, {0, NULL} }; static const value_string zb_nvram_database_types[] = { {ZB_NVRAM_RESERVED, "ZB_NVRAM_RESERVED"}, {ZB_NVRAM_COMMON_DATA, "ZB_NVRAM_COMMON_DATA"}, {ZB_NVRAM_HA_DATA, "ZB_NVRAM_HA_DATA"}, {ZB_NVRAM_ZCL_REPORTING_DATA, "ZB_NVRAM_ZCL_REPORTING_DATA"}, {ZB_NVRAM_APS_SECURE_DATA_GAP, "ZB_NVRAM_APS_SECURE_DATA_GAP"}, {ZB_NVRAM_APS_BINDING_DATA_GAP, "ZB_NVRAM_APS_BINDING_DATA_GAP"}, {ZB_NVRAM_HA_POLL_CONTROL_DATA, "ZB_NVRAM_HA_POLL_CONTROL_DATA"}, {ZB_IB_COUNTERS, "ZB_IB_COUNTERS"}, {ZB_NVRAM_DATASET_GRPW_DATA, "ZB_NVRAM_DATASET_GRPW_DATA"}, {ZB_NVRAM_APP_DATA1, "ZB_NVRAM_APP_DATA1"}, {ZB_NVRAM_APP_DATA2, "ZB_NVRAM_APP_DATA2"}, {ZB_NVRAM_ADDR_MAP, "ZB_NVRAM_ADDR_MAP"}, {ZB_NVRAM_NEIGHBOUR_TBL, "ZB_NVRAM_NEIGHBOUR_TBL"}, {ZB_NVRAM_INSTALLCODES, "ZB_NVRAM_INSTALLCODES"}, {ZB_NVRAM_APS_SECURE_DATA, "ZB_NVRAM_APS_SECURE_DATA"}, {ZB_NVRAM_APS_BINDING_DATA, "ZB_NVRAM_APS_BINDING_DATA"}, {ZB_NVRAM_DATASET_GP_PRPOXYT, "ZB_NVRAM_DATASET_GP_PRPOXYT"}, {ZB_NVRAM_DATASET_GP_SINKT, "ZB_NVRAM_DATASET_GP_SINKT"}, {ZB_NVRAM_DATASET_GP_CLUSTER, "ZB_NVRAM_DATASET_GP_CLUSTER"}, {ZB_NVRAM_APS_GROUPS_DATA, "ZB_NVRAM_APS_GROUPS_DATA"}, {ZB_NVRAM_DATASET_SE_CERTDB, "ZB_NVRAM_DATASET_SE_CERTDB"}, {ZB_NVRAM_DATASET_GP_APP_TBL, "ZB_NVRAM_DATASET_GP_APP_TBL"}, {ZB_NVRAM_APP_DATA3, "ZB_NVRAM_APP_DATA3"}, {ZB_NVRAM_APP_DATA4, "ZB_NVRAM_APP_DATA4"}, {ZB_NVRAM_KE_WHITELIST, "ZB_NVRAM_KE_WHITELIST"}, {ZB_NVRAM_ZDO_DIAGNOSTICS_DATA, "ZB_NVRAM_ZDO_DIAGNOSTICS_DATA"}, {ZB_NVRAM_DATASET_NUMBER, "ZB_NVRAM_DATASET_NUMBER"}, {ZB_NVRAM_DATA_SET_TYPE_PAGE_HDR, "ZB_NVRAM_DATA_SET_TYPE_PAGE_HDR"}, {0, NULL} }; static const value_string zbncp_zgp_key_types[] = { {0, "No key"}, {1, "Zigbee NWK key"}, {2, "ZGPD group key"}, {3, "NWK-key derived ZGPD group key"}, {4, "(Individual) out-of-the-box ZGPD key"}, {7, "Derived individual ZGPD key"}, {0, NULL} }; static const value_string zbncp_deliv_mode[] = { {0, "Unicast"}, {2, "Broadcast"}, {3, "Group"}, {0, NULL} }; static const value_string zbncp_aps_key_src[] = { {0, "Unknown"}, {1, "CBKE"}, {0, NULL} }; static const value_string zbncp_aps_key_used[] = { {0, "Provisional TCLK"}, {1, "Unverified TCLK"}, {2, "Verified TCLK"}, {3, "Application LK"}, {0, NULL} }; static const value_string zbncp_rejoin_nwk[] = { {0, "Associate"}, {2, "Rejoin"}, {0, NULL} }; static const value_string zbncp_beacon_type[] = { {0, "Non-enhanced beacon"}, {1, "Enhanced Beacon"}, {0, NULL} }; static const value_string zbncp_relationship[] = { {0x00, "neighbor is the parent"}, {0x01, "neighbor is a child"}, {0x02, "neighbor is a sibling"}, {0x03, "none of the above"}, {0x04, "previous child"}, {0x05, "unauthenticated child"}, {0, NULL} }; static const value_string zbncp_keepalive_mode[] = { {0, "ED_KEEPALIVE_DISABLED"}, {1, "MAC_DATA_POLL_KEEPALIVE"}, {2, "ED_TIMEOUT_REQUEST_KEEPALIVE"}, {3, "BOTH_KEEPALIVE_METHODS"}, {0, NULL} }; static const value_string zbncp_stop_fast_poll_result[] = { {0, "Not started"}, {1, "Not stopped"}, {2, "Stopped"}, {0, NULL} }; static const value_string zbncp_aps_addr_modes[] = { {ZB_APSDE_DST_ADDR_MODE_DST_ADDR_ENDP_NOT_PRESENT, "No addr, no EP"}, {ZB_APSDE_DST_ADDR_MODE_16_GROUP_ENDP_NOT_PRESENT, "16-bit group addr, no EP"}, {ZB_APSDE_DST_ADDR_MODE_16_ENDP_PRESENT, "16-bit short addr and EP"}, {ZB_APSDE_DST_ADDR_MODE_64_ENDP_PRESENT, "64-bit ext addr and EP"}, {ZB_APSDE_DST_ADDR_MODE_BIND_TBL_ID, "From the dst binding table"}, {0, NULL} }; static const value_string zbncp_cs[] = { {1, "KEC Crypto-suite #1"}, {2, "KEC Crypto-suite #2"}, {0, NULL} }; static const value_string zbncp_key_src[] = { {0, "Unknown"}, {1, "CBKE"}, {0, NULL} }; static const value_string zbncp_key_attr[] = { {0, "Provisional key"}, {1, "Unverified key"}, {2, "Verified key"}, {3, "Application key"}, {0, NULL} }; static const value_string zbncp_zdo_auth_types[] = { {ZB_ZDO_AUTH_LEGACY_TYPE, "legacy"}, {ZB_ZDO_AUTH_TCLK_TYPE, "TCLK"}, {0, NULL} }; static const value_string zbncp_zdo_leg_auth_status_codes[] = { {0, "Authorization Success"}, {1, "Authorization Failure"}, {0, NULL} }; static const value_string zbncp_zdo_tclk_auth_status_codes[] = { {0, "Authorization Success"}, {1, "Authorization Timeout"}, {2, "Authorization Failure"}, {0, NULL} }; static const value_string zbncp_dump_type[] = { {0, "Text"}, {1, "Binary"}, {0, NULL} }; static const value_string zbncp_calibration_status[] = { {0x00, "Customer value"}, {0x01, "Default value"}, {0x02, "Error"}, {0, NULL} }; static const value_string zbncp_force_route_record_sending_modes[] = { {0x00, "Disabled"}, {0x01, "Enabled"}, {0, NULL} }; static const true_false_string tfs_cinfo_device_type = {"FFD", "RFD"}; static const true_false_string tfs_cinfo_power_src = {"AC/Mains Power", "Battery"}; /* Returns changed offset */ static guint dissect_zbncp_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { guint status_category = tvb_get_guint8(tvb, offset); guint status; proto_tree_add_item(tree, hf_zbncp_data_hl_status_cat, tvb, offset, 1, ENC_NA); offset += 1; /* Add status */ status = tvb_get_guint8(tvb, offset); switch (status_category) { case ZBNCP_HIGH_LVL_STAT_CAT_GENERIC: proto_tree_add_item(tree, hf_zbncp_data_hl_status_generic, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zbncp_hl_status_generic, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_MAC: proto_tree_add_item(tree, hf_zbncp_data_hl_status_mac, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_mac_state, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_NWK: proto_tree_add_item(tree, hf_zbncp_data_hl_status_nwk, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_nwk_state, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_APS: dissect_zbee_aps_status_code(tvb, pinfo, tree, offset); break; case ZBNCP_HIGH_LVL_STAT_CAT_CBKE: proto_tree_add_item(tree, hf_zbncp_data_hl_status_cbke, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_cbke_state, "Unknown Status")); break; default: proto_tree_add_item(tree, hf_zbncp_data_hl_status, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: 0x%x", status); } offset += 1; return offset; } static tvbuff_t * dissect_zbncp_dump_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *zbncp_dump_info_tree; guint idx, offset; guint8 options; static int *const options_field[] = { &hf_zbncp_dump_options_dir, &hf_zbncp_dump_options_int_state, &hf_zbncp_dump_options_tx_conflict, NULL}; /* check is it ZBNCP dump sign or not */ for (idx = 0; idx < ZBNCP_DUMP_INFO_SIGN_SIZE; idx++) { if (tvb_get_guint8(tvb, idx) != ZBNCP_DUMP_INFO_SIGN[idx]) { return tvb; } } /* Check type */ if (tvb_get_guint8(tvb, ZBNCP_DUMP_INFO_SIGN_SIZE + 1) != ZBNCP_DUMP_INFO_NCP_TYPE) { return tvb; } zbncp_dump_info_tree = proto_tree_add_subtree(tree, tvb, 0, ZBNCP_DUMP_INFO_SIZE, ett_zbncp_dump, NULL, "ZBNCP Dump"); proto_tree_add_item(zbncp_dump_info_tree, hf_zbncp_dump_preambule, tvb, 0, ZBNCP_DUMP_INFO_SIGN_SIZE, ENC_ASCII|ENC_NA); offset = ZBNCP_DUMP_INFO_SIGN_SIZE; proto_tree_add_item(zbncp_dump_info_tree, hf_zbncp_dump_version, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_dump_info_tree, hf_zbncp_dump_type, tvb, offset, 1, ENC_NA); offset += 1; /* options subtree */ options = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(zbncp_dump_info_tree, tvb, offset, hf_zbncp_dump_options, ett_zbncp_dump_opt, options_field, ENC_NA); offset += 1; if (options & ZBNCP_DUMP_DIR_MASK) { col_set_str(pinfo->cinfo, COL_DEF_SRC, "NCP"); col_set_str(pinfo->cinfo, COL_DEF_DST, "HOST"); } else { col_set_str(pinfo->cinfo, COL_DEF_SRC, "HOST"); col_set_str(pinfo->cinfo, COL_DEF_DST, "NCP"); } if (options & ZBNCP_DUMP_POTENTIAL_TX_RX_ERROR_MASK) { col_append_str(pinfo->cinfo, COL_INFO, ", Potential RX/TX Conflict"); } return tvb_new_subset_remaining(tvb, offset); } static guint dissect_zbncp_high_level_hdr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint8 *ptype, guint16 *call_id) { proto_tree *zbncp_comm_hdr_tree = proto_tree_add_subtree_format(tree, tvb, offset, 4, ett_zbncp_hl_hdr, NULL, "High Level Header"); /* Dissect common header */ proto_tree_add_item(zbncp_comm_hdr_tree, hf_zbncp_data_hl_version, tvb, offset, 1, ENC_NA); offset += 1; *ptype = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_comm_hdr_tree, hf_zbncp_data_hl_packet_type, tvb, offset, 1, ENC_NA); offset += 1; *call_id = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_comm_hdr_tree, hf_zbncp_data_hl_call_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Update col */ col_append_fstr(pinfo->cinfo, COL_INFO, "%s", val_to_str_const(*ptype, zbncp_hl_type, "Unknown Type")); col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str_const(*call_id, zbncp_hl_call_id, "Unknown Call ID")); /* Dissect additional values */ if (*ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST || *ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { /* add TSN */ proto_tree_add_item(zbncp_comm_hdr_tree, hf_zbncp_data_hl_tsn, tvb, offset, 1, ENC_NA); offset += 1; } if (*ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { offset = dissect_zbncp_status(tvb, pinfo, zbncp_comm_hdr_tree, offset); } return offset; } static void dissect_zbncp_high_level(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint16 *cmd_id) { guint8 packet_type; offset = dissect_zbncp_high_level_hdr(tvb, pinfo, tree, offset, &packet_type, cmd_id); dissect_zbncp_high_level_body(tvb, pinfo, tree, offset, packet_type, *cmd_id); } static void dissect_zbncp_dst_addrs(proto_tree *zbncp_hl_body_tree, tvbuff_t *tvb, guint dst_addr_mode_offset, guint *offset) { guint8 dst_addr_mode = tvb_get_guint8(tvb, dst_addr_mode_offset); if (dst_addr_mode == ZB_APSDE_DST_ADDR_MODE_DST_ADDR_ENDP_NOT_PRESENT || dst_addr_mode == ZB_APSDE_DST_ADDR_MODE_64_ENDP_PRESENT || dst_addr_mode == ZB_APSDE_DST_ADDR_MODE_BIND_TBL_ID) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_ieee_addr, tvb, *offset, 8, ENC_NA); *offset += 8; } else if (dst_addr_mode == ZB_APSDE_DST_ADDR_MODE_16_GROUP_ENDP_NOT_PRESENT || dst_addr_mode == ZB_APSDE_DST_ADDR_MODE_16_ENDP_PRESENT) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_nwk_addr, tvb, *offset, 2, ENC_LITTLE_ENDIAN); *offset += 8; } } static void dissect_zbncp_high_level_body(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint8 ptype _U_, guint16 cmd_id) { proto_tree *zbncp_hl_body_tree; if (offset >= tvb_reported_length(tvb)) { return; } zbncp_hl_body_tree = proto_tree_add_subtree_format(tree, tvb, offset, tvb_reported_length(tvb) - offset, ett_zbncp_hl_body, NULL, "Data"); switch (cmd_id) { /* NCP Configuration API */ case ZBNCP_CMD_GET_MODULE_VERSION: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_fw_vers, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_stack_vers, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_proto_vers, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_NCP_RESET: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_reset_opt, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_ZIGBEE_ROLE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_zb_role, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SET_ZIGBEE_ROLE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_zb_role, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_ZIGBEE_CHANNEL_MASK: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint i; guint8 ch_list_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ch_list_len, tvb, offset, 1, ENC_NA); offset += 1; if (ch_list_len) { proto_tree *zbncp_hl_body_data_ch_list = proto_tree_add_subtree_format( zbncp_hl_body_tree, tvb, offset, ch_list_len * 5, ett_zbncp_data_ch_list, NULL, "Channel List"); for (i = 0; i < ch_list_len; i++) { proto_tree *zbncp_hl_body_data_channel_tree = proto_tree_add_subtree_format( zbncp_hl_body_data_ch_list, tvb, offset, 5, ett_zbncp_data_channel, NULL, "Channel"); proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_ch_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } } } break; case ZBNCP_CMD_SET_ZIGBEE_CHANNEL_MASK: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ch_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_GET_ZIGBEE_CHANNEL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_channel, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_PAN_ID: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_pan_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_SET_PAN_ID: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_pan_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_GET_LOCAL_IEEE_ADDR: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_int_num, tvb, offset, 1, ENC_NA); offset += 1; if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SET_LOCAL_IEEE_ADDR: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_int_num, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SET_TRACE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { static int *const trace_bitmask[] = { &hf_zbncp_data_trace_wireless_traf, &hf_zbncp_data_trace_reserved, &hf_zbncp_data_trace_ncp_ll_proto, &hf_zbncp_data_trace_host_int_line, &hf_zbncp_data_trace_sleep_awake, NULL}; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_trace_mask, ett_zbncp_data_trace_bitmask, trace_bitmask, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_GET_KEEPALIVE_TIMEOUT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_keepalive, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_SET_KEEPALIVE_TIMEOUT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_keepalive, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_GET_TX_POWER: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_res_tx_power, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SET_TX_POWER: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_req_tx_power, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_res_tx_power, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_RX_ON_WHEN_IDLE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rx_on_idle, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SET_RX_ON_WHEN_IDLE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rx_on_idle, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_JOINED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { static int *const join_bitmask[] = { &hf_zbncp_data_joined_bit, &hf_zbncp_data_parent_bit, NULL}; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_joined, ett_zbncp_data_joind_bitmask, join_bitmask, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_AUTHENTICATED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_authenticated, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_ED_TIMEOUT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_timeout, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SET_ED_TIMEOUT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_timeout, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ADD_VISIBLE_DEV: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_ADD_INVISIBLE_SHORT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_RM_INVISIBLE_SHORT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_SET_NWK_KEY: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_key, tvb, offset, 16, ENC_NA); offset += 16; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_key_num, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_SERIAL_NUMBER: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_serial_num, tvb, offset, 16, ENC_NA); offset += 16; } break; case ZBNCP_CMD_GET_VENDOR_DATA: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint8 size = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_size, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_vendor_data, tvb, offset, size, ENC_NA); offset += size; } break; case ZBNCP_CMD_GET_NWK_KEYS: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_key, tvb, offset, 16, ENC_NA); offset += 16; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_key_num, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_key, tvb, offset, 16, ENC_NA); offset += 16; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_key_num, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_key, tvb, offset, 16, ENC_NA); offset += 16; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_key_num, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_APS_KEY_BY_IEEE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_key, tvb, offset, 16, ENC_NA); offset += 16; } break; case ZBNCP_CMD_BIG_PKT_TO_NCP: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint16 pkt_len; pkt_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_pkt_len, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_pkt, tvb, offset, pkt_len, ENC_NA); offset += pkt_len; } break; case ZBNCP_CMD_GET_PARENT_ADDR: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_parent_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_GET_EXT_PAN_ID: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ext_pan_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_GET_COORDINATOR_VERSION: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_coordinator_version, tvb, offset++, 1, ENC_NA); } break; case ZBNCP_CMD_GET_SHORT_ADDRESS: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_GET_TRUST_CENTER_ADDRESS: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_trust_center_addres, tvb, offset, 8, ENC_NA); offset += 8; } break; case ZBNCP_CMD_DEBUG_WRITE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { gint dump_len; guint8 dump_type = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dump_type, tvb, offset, 1, ENC_NA); offset += 1; dump_len = tvb_reported_length(tvb) - offset; if (dump_type == 0) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dump_text, tvb, offset, dump_len, ENC_ASCII | ENC_NA); offset += dump_len; } else if (dump_type == 1) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dump_bin, tvb, offset, dump_len, ENC_NA); offset += dump_len; } } break; case ZBNCP_CMD_GET_CONFIG_PARAMETER: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_parameter_id, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint8 param_id; param_id = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_parameter_id, tvb, offset, 1, ENC_NA); offset += 1; switch (param_id) { case ZBNCP_PARAMETER_ID_IEEE_ADDR_TABLE_SIZE: case ZBNCP_PARAMETER_ID_NEIGHBOR_TABLE_SIZE: case ZBNCP_PARAMETER_ID_APS_SRC_BINDING_TABLE_SIZE: case ZBNCP_PARAMETER_ID_APS_GROUP_TABLE_SIZE: case ZBNCP_PARAMETER_ID_NWK_ROUTE_DISCOVERY_TABLE_SIZE: case ZBNCP_PARAMETER_ID_IOBUF_POOL_SIZE: case ZBNCP_PARAMETER_ID_PANID_TABLE_SIZE: case ZBNCP_PARAMETER_ID_APS_DUPS_TABLE_SIZE: case ZBNCP_PARAMETER_ID_APS_BIND_TRANS_TABLE_SIZE: case ZBNCP_PARAMETER_ID_N_APS_RETRANS_ENTRIES: case ZBNCP_PARAMETER_ID_NWK_MAX_HOPS: case ZBNCP_PARAMETER_ID_NIB_MAX_CHILDREN: case ZBNCP_PARAMETER_ID_N_APS_KEY_PAIR_ARR_MAX_SIZE: case ZBNCP_PARAMETER_ID_NWK_MAX_SRC_ROUTES: case ZBNCP_PARAMETER_ID_APS_MAX_WINDOW_SIZE: case ZBNCP_PARAMETER_ID_APS_INTERFRAME_DELAY: case ZBNCP_PARAMETER_ID_ZDO_ED_BIND_TIMEOUT: case ZBNCP_PARAMETER_ID_ZLL_DEFAULT_RSSI_THRESHOLD: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_value8_dec, tvb, offset, 1, ENC_NA); offset += 1; break; case ZBNCP_PARAMETER_ID_NIB_PASSIVE_ASK_TIMEOUT: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_value16_dec, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; break; case ZBNCP_PARAMETER_ID_APS_ACK_TIMEOUTS: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_ack_to_non_sleepy, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_ack_to_sleepy, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; break; case ZBNCP_PARAMETER_ID_MAC_BEACON_JITTER: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_min16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_max16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; break; case ZBNCP_PARAMETER_ID_TX_POWER: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_default8_sign, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_current8_sign, tvb, offset, 1, ENC_NA); offset += 1; break; case ZBNCP_PARAMETER_ID_NIB_MTORR: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_is_concentrator, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_concentrator_radius, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_time16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; break; } } break; case ZBNCP_CMD_GET_LOCK_STATUS: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_lock_status, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_TRACE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { static int *const trace_bitmask[] = { &hf_zbncp_data_trace_wireless_traf, &hf_zbncp_data_trace_ncp_ll_proto, &hf_zbncp_data_trace_host_int_line, &hf_zbncp_data_trace_sleep_awake, NULL}; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_trace_mask, ett_zbncp_data_trace_bitmask, trace_bitmask, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_NCP_RESET_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_reset_source, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SET_NWK_LEAVE_ALLOWED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_nwk_leave_allowed, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_NWK_LEAVE_ALLOWED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_nwk_leave_allowed, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_NVRAM_WRITE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint dataset_count, idx; guint16 dataset_len; dataset_count = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nvram_dataset_quantity, tvb, offset, 1, ENC_NA); offset += 1; /* multiple datasets */ for (idx = 0; idx < dataset_count; idx++) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nvram_dataset_type, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dataset_version, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; dataset_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dataset_length, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nvram_dataset_data, tvb, offset, dataset_len, ENC_NA); offset += dataset_len; } } break; case ZBNCP_CMD_NVRAM_READ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nvram_dataset_type, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint16 dataset_len; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nvram_version, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nvram_dataset_type, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dataset_version, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; dataset_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dataset_length, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nvram_dataset_data, tvb, offset, dataset_len, ENC_NA); offset += dataset_len; } break; case ZBNCP_CMD_SET_TC_POLICY: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tc_policy_type, tvb, offset, 2, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tc_policy_value, tvb, offset + 2, 1, ENC_NA); offset += 3; } break; case ZBNCP_CMD_SET_EXTENDED_PAN_ID: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ext_pan_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SET_MAX_CHILDREN: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_max_children, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_MAX_CHILDREN: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_max_children, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SET_ZDO_LEAVE_ALLOWED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_leave_allowed, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_ZDO_LEAVE_ALLOWED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_leave_allowed, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SET_LEAVE_WO_REJOIN_ALLOWED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_leave_wo_rejoin_allowed, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GET_LEAVE_WO_REJOIN_ALLOWED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_leave_wo_rejoin_allowed, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GP_SET_SHARED_KEY_TYPE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_zgp_key_type, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_GP_SET_DEFAULT_LINK_KEY: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_zgp_link_key, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_PRODUCTION_CONFIG_READ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree *prod_conf_hdr_subtree; prod_conf_hdr_subtree = proto_tree_add_subtree(zbncp_hl_body_tree, tvb, offset, 8, ett_zbncp_data_prod_conf_hdr, NULL, "Production config header"); proto_tree_add_item(prod_conf_hdr_subtree, hf_zbncp_data_prod_conf_hdr_crc, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(prod_conf_hdr_subtree, hf_zbncp_data_prod_conf_hdr_len, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(prod_conf_hdr_subtree, hf_zbncp_data_prod_conf_hdr_version, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_prod_conf_body, tvb, offset, tvb_captured_length(tvb) - offset, ENC_NA); offset = tvb_captured_length(tvb); } break; /* AF API */ case ZBNCP_CMD_AF_SET_SIMPLE_DESC: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint i; guint8 in_cl_cnt; guint8 out_cl_cnt; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_profile_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_device_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dev_version, tvb, offset, 1, ENC_NA); offset += 1; in_cl_cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_in_cl_cnt, tvb, offset, 1, ENC_NA); offset += 1; out_cl_cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_out_cl_cnt, tvb, offset, 1, ENC_NA); offset += 1; if (in_cl_cnt) { proto_tree *zbncp_hl_body_in_cl_list_tree = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, 2 * in_cl_cnt, ett_zbncp_data_in_cl_list, NULL, "Input Cluster List"); for (i = 0; i < in_cl_cnt; i++) { proto_tree_add_item(zbncp_hl_body_in_cl_list_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } if (out_cl_cnt) { proto_tree *zbncp_hl_body_out_cl_list_tree = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, 2 * out_cl_cnt, ett_zbncp_data_out_cl_list, NULL, "Output Cluster List"); for (i = 0; i < out_cl_cnt; i++) { proto_tree_add_item(zbncp_hl_body_out_cl_list_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } } break; case ZBNCP_CMD_AF_DEL_EP: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_AF_SET_NODE_DESC: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { /* copy-pasted from packet-ieee802154.c */ static int *const capability[] = { &hf_ieee802154_cinfo_alt_coord, &hf_ieee802154_cinfo_device_type, &hf_ieee802154_cinfo_power_src, &hf_ieee802154_cinfo_idle_rx, &hf_ieee802154_cinfo_sec_capable, &hf_ieee802154_cinfo_alloc_addr, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_zb_role, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_mac_cap, ett_zbncp_data_mac_cap, capability, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_manuf_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_AF_SET_POWER_DESC: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { static int *const pwr_sources[] = { &hf_zbncp_data_pwr_src_const, &hf_zbncp_data_pwr_src_recharge, &hf_zbncp_data_pwr_src_disposable, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cur_pwr_mode, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_av_pwr_src, ett_zbncp_data_pwr_src, pwr_sources, ENC_NA); offset += 1; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_cur_pwr_src, ett_zbncp_data_cur_pwr_src, pwr_sources, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cur_pwr_lvl, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_AF_SUBGHZ_SUSPEND_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_susp_period, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_AF_SUBGHZ_RESUME_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_susp_period, tvb, offset, 1, ENC_NA); offset += 1; } break; /* ZDO API */ case ZBNCP_CMD_ZDO_NWK_ADDR_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_req_type, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_start_idx, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_remote_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_remote_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; if (offset < tvb_reported_length(tvb)) { guint8 num_assoc_dev = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_num_asoc_dec, tvb, offset, 1, ENC_NA); offset += 1; if (num_assoc_dev) { guint i; proto_tree *zbncp_hl_body_asoc_nwk_list; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_start_idx, tvb, offset, 1, ENC_NA); offset += 1; zbncp_hl_body_asoc_nwk_list = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, 2 * num_assoc_dev, ett_zbncp_data_asoc_nwk_list, NULL, "Assoc Dev NWK Addr List"); for (i = 0; i < num_assoc_dev; i++) { proto_tree_add_item(zbncp_hl_body_asoc_nwk_list, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } } } break; case ZBNCP_CMD_ZDO_IEEE_ADDR_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_req_type, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_start_idx, tvb, offset, 1, ENC_NA); offset += 1; } } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_remote_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_remote_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; if (offset < tvb_reported_length(tvb)) { guint8 num_assoc_dev = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_num_asoc_dec, tvb, offset, 1, ENC_NA); offset += 1; if (num_assoc_dev) { guint i; proto_tree *zbncp_hl_body_asoc_nwk_list; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_start_idx, tvb, offset, 1, ENC_NA); offset += 1; zbncp_hl_body_asoc_nwk_list = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, 2 * num_assoc_dev, ett_zbncp_data_asoc_nwk_list, NULL, "Assoc Dev NWK Addr List"); for (i = 0; i < num_assoc_dev; i++) { proto_tree_add_item(zbncp_hl_body_asoc_nwk_list, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } } } break; case ZBNCP_CMD_ZDO_POWER_DESC_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { static int *const pwr_desc[] = { &hf_zbncp_data_pwr_desc_cur_power_mode, &hf_zbncp_data_pwr_desc_av_pwr_src, &hf_zbncp_data_pwr_desc_cur_pwr_src, &hf_zbncp_data_pwr_desc_cur_pwr_lvl, NULL}; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_pwr_desc, ett_zbncp_data_pwr_desc, pwr_desc, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_ZDO_NODE_DESC_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { static int *const flags[] = { &hf_zbncp_data_flags_zb_role, &hf_zbncp_data_flags_comp_desc_av, &hf_zbncp_data_flags_user_desc_av, &hf_zbncp_data_flags_freq_868, &hf_zbncp_data_flags_freq_902, &hf_zbncp_data_flags_freq_2400, &hf_zbncp_data_flags_freq_eu_sub_ghz, NULL}; static int *const mac_capability[] = { &hf_ieee802154_cinfo_alt_coord, &hf_ieee802154_cinfo_device_type, &hf_ieee802154_cinfo_power_src, &hf_ieee802154_cinfo_idle_rx, &hf_ieee802154_cinfo_sec_capable, &hf_ieee802154_cinfo_alloc_addr, NULL}; static int *const server_mask[] = { &hf_zbncp_data_srv_msk_prim_tc, &hf_zbncp_data_srv_msk_backup_tc, &hf_zbncp_data_srv_msk_prim_bind_tbl_cache, &hf_zbncp_data_srv_msk_backup_bind_tbl_cache, &hf_zbncp_data_srv_msk_prim_disc_cache, &hf_zbncp_data_srv_msk_backup_disc_cache, &hf_zbncp_data_srv_msk_nwk_manager, &hf_zbncp_data_srv_msk_stack_compl_rev, NULL}; static int *const desc_capability[] = { &hf_zbncp_data_desc_cap_ext_act_ep_list_av, &hf_zbncp_data_desc_cap_ext_simple_desc_list_av, NULL}; proto_tree_add_bitmask_with_flags(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_flags16, ett_zbncp_data_flags, flags, ENC_LITTLE_ENDIAN, BMT_NO_APPEND); offset += 2; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_mac_cap, ett_zbncp_data_mac_cap, mac_capability, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_manuf_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_max_buf_size, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_max_inc_trans_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_bitmask_with_flags(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_srv_msk, ett_zbncp_data_server_mask, server_mask, ENC_LITTLE_ENDIAN, BMT_NO_APPEND); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_max_out_trans_size, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_desc_cap, ett_zbncp_data_desc_cap, desc_capability, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_ZDO_SIMPLE_DESC_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint i; guint8 in_cl_cnt; guint8 out_cl_cnt; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_profile_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_device_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dev_version, tvb, offset, 1, ENC_NA); offset += 1; in_cl_cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_in_cl_cnt, tvb, offset, 1, ENC_NA); offset += 1; out_cl_cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_out_cl_cnt, tvb, offset, 1, ENC_NA); offset += 1; if (in_cl_cnt) { proto_tree *zbncp_hl_body_in_cl_list_tree = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, 2 * in_cl_cnt, ett_zbncp_data_in_cl_list, NULL, "Input Cluster List"); for (i = 0; i < in_cl_cnt; i++) { proto_tree_add_item(zbncp_hl_body_in_cl_list_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } if (out_cl_cnt) { proto_tree *zbncp_hl_body_out_cl_list_tree = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, 2 * out_cl_cnt, ett_zbncp_data_out_cl_list, NULL, "Output Cluster List"); for (i = 0; i < out_cl_cnt; i++) { proto_tree_add_item(zbncp_hl_body_out_cl_list_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_ZDO_ACTIVE_EP_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint i; guint8 ep_cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ep_cnt, tvb, offset, 1, ENC_NA); offset += 1; if (ep_cnt) { proto_tree *zbncp_hl_body_tree_ep_list = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, ep_cnt, ett_zbncp_data_ep_list, NULL, "Endpoint List"); for (i = 0; i < ep_cnt; i++) { proto_tree_add_item(zbncp_hl_body_tree_ep_list, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_ZDO_MATCH_DESC_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint i; guint8 in_cl_cnt; guint8 out_cl_cnt; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_profile_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; in_cl_cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_in_cl_cnt, tvb, offset, 1, ENC_NA); offset += 1; out_cl_cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_out_cl_cnt, tvb, offset, 1, ENC_NA); offset += 1; if (in_cl_cnt) { proto_tree *zbncp_hl_body_in_cl_list_tree = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, 2 * in_cl_cnt, ett_zbncp_data_in_cl_list, NULL, "Input Cluster List"); for (i = 0; i < in_cl_cnt; i++) { proto_tree_add_item(zbncp_hl_body_in_cl_list_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } if (out_cl_cnt) { proto_tree *zbncp_hl_body_out_cl_list_tree = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, 2 * out_cl_cnt, ett_zbncp_data_out_cl_list, NULL, "Output Cluster List"); for (i = 0; i < out_cl_cnt; i++) { proto_tree_add_item(zbncp_hl_body_out_cl_list_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint i; guint8 ep_cnt = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ep_cnt, tvb, offset, 1, ENC_NA); offset += 1; if (ep_cnt) { proto_tree *zbncp_hl_body_tree_ep_list = proto_tree_add_subtree_format(zbncp_hl_body_tree, tvb, offset, ep_cnt, ett_zbncp_data_ep_list, NULL, "Endpoint List"); for (i = 0; i < ep_cnt; i++) { proto_tree_add_item(zbncp_hl_body_tree_ep_list, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_ZDO_BIND_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset - 1, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_UNBIND_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_ieee_addr, tvb, offset, 8, ENC_NA); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset - 1, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_MGMT_LEAVE_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { static int *const leave_flags[] = { &hf_zbncp_data_leave_flags_remove_chil, &hf_zbncp_data_leave_flags_rejoin, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_leave_flags, ett_zbncp_data_leave_flags, leave_flags, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_PERMIT_JOINING_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_permit_dur, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tc_sign, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_DEV_ANNCE_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { static int *const mac_capability[] = { &hf_ieee802154_cinfo_alt_coord, &hf_ieee802154_cinfo_device_type, &hf_ieee802154_cinfo_power_src, &hf_ieee802154_cinfo_idle_rx, &hf_ieee802154_cinfo_sec_capable, &hf_ieee802154_cinfo_alloc_addr, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_mac_cap, ett_zbncp_data_mac_cap, mac_capability, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_REJOIN: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint i; guint8 ch_list_len; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ext_pan_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; ch_list_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ch_list_len, tvb, offset, 1, ENC_NA); offset += 1; if (ch_list_len) { proto_tree *zbncp_hl_body_data_ch_list = proto_tree_add_subtree_format( zbncp_hl_body_tree, tvb, offset, ch_list_len * 5, ett_zbncp_data_ch_list, NULL, "Channel List"); for (i = 0; i < ch_list_len; i++) { proto_tree *zbncp_hl_body_data_channel_tree = proto_tree_add_subtree_format( zbncp_hl_body_data_ch_list, tvb, offset, 5, ett_zbncp_data_channel, NULL, "Channel"); proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_ch_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_secur_rejoin, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { static int *const zdo_rejoin_flags[] = { &hf_zbncp_data_zdo_rejoin_flags_tcsw_happened, NULL}; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_zdo_rejoin_flags, ett_zbncp_data_zdo_rejoin_flags, zdo_rejoin_flags, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_SYSTEM_SRV_DISCOVERY_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_server_mask, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_ZDO_MGMT_BIND_REQ: case ZBNCP_CMD_ZDO_MGMT_LQI_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_start_entry_idx, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_MGMT_NWK_UPDATE_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ch_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_scan_duration, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_scan_cnt, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_scan_mgr_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_ZDO_REMOTE_CMD_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { guint16 data_len; static int *const aps_fc[] = { &hf_zbncp_data_aps_fc_deliv_mode, &hf_zbncp_data_aps_fc_secur, &hf_zbncp_data_aps_fc_ack_retrans, NULL}; static int *const aps_key_attr[] = { &hf_zbncp_data_aps_key_attr_key_src, &hf_zbncp_data_aps_key_attr_key_used, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_param_len, tvb, offset, 1, ENC_NA); offset += 1; data_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_aps_fc, ett_zbncp_data_apc_fc, aps_fc, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_group_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_profile_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_cnt, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_mac_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_mac_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rssi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_aps_key_attr, ett_zbncp_data_aps_key_attr, aps_key_attr, ENC_NA); offset += 1; if (data_len > (tvb_reported_length(tvb) - offset)) { data_len = tvb_reported_length(tvb) - offset; } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_array, tvb, offset, data_len, ENC_NA); offset += data_len; } break; case ZBNCP_CMD_ZDO_GET_STATS: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_do_cleanup, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_max_rx_bcast, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_tx_bcast, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_rx_ucast, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_tx_ucast_total_zcl, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_tx_ucast_failures_zcl, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_tx_ucast_retries_zcl, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_tx_ucast_total, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_tx_ucast_failures, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_tx_ucast_retries, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_phy_to_mac_que_lim_reached, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_validate_drop_cnt, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_phy_cca_fail_count, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_period_of_time, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_last_msg_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_last_msg_rssi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_number_of_resets, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_tx_bcast, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_tx_ucast_success, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_tx_ucast_retry, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_tx_ucast_fail, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_route_disc_initiated, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_neighbor_added, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_neighbor_removed, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_neighbor_stale, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_join_indication, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_childs_removed, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_fc_failure, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_fc_failure, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_unauthorized_key, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_decrypt_failure, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_decrypt_failure, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_packet_buffer_allocate_failures, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_average_mac_retry_per_aps_message_sent, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_retry_overflow, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_bcast_table_full, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_status, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_DEV_AUTHORIZED_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { guint8 auth_type; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; auth_type = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_auth_type, tvb, offset, 1, ENC_NA); offset += 1; if (auth_type == ZB_ZDO_AUTH_LEGACY_TYPE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_leg_auth_status_code, tvb, offset, 1, ENC_NA); offset += 1; } else if (auth_type == ZB_ZDO_AUTH_TCLK_TYPE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_zdo_tclk_auth_status_code, tvb, offset, 1, ENC_NA); offset += 1; } } break; case ZBNCP_CMD_ZDO_DEV_UPDATE_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_upd_status_code, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_ZDO_SET_NODE_DESC_MANUF_CODE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_manuf_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_HL_ZDO_GET_DIAG_DATA_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rssi, tvb, offset, 1, ENC_NA); offset += 1; } break; /* APS API */ case ZBNCP_CMD_APSDE_DATA_REQ: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint16 data_len; static int *const tx_options[] = { &hf_zbncp_data_tx_opt_secur, &hf_zbncp_data_tx_opt_obsolete, &hf_zbncp_data_tx_opt_ack, &hf_zbncp_data_tx_opt_frag, &hf_zbncp_data_tx_opt_inc_ext_nonce, &hf_zbncp_data_tx_opt_force_mesh_route, &hf_zbncp_data_tx_opt_send_route_record, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_param_len, tvb, offset, 1, ENC_NA); offset += 1; data_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset + ZBNCP_CMD_APSDE_DATA_REQ_DST_ADDR_MODE_OFFSET, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_profile_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_radius, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_tx_opt, ett_zbncp_data_tx_opt, tx_options, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_use_alias, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_alias_src, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_alias_seq, tvb, offset, 1, ENC_NA); offset += 1; if (data_len > (tvb_reported_length(tvb) - offset)) { data_len = tvb_reported_length(tvb) - offset; } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_array, tvb, offset, data_len, ENC_NA); offset += data_len; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset + ZBNCP_CMD_APSDE_DATA_REQ_RSP_DST_ADDR_MODE_OFFSET, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tx_time, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_APSME_BIND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset - 1, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST || ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint16 data_len; /* Binding table ID - it's an additional field for SNCP only */ data_len = tvb_reported_length(tvb) - offset; if (data_len == 1) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 1, ENC_NA); offset += 1; } } break; case ZBNCP_CMD_APSME_UNBIND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset - 1, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST || ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint16 data_len; /* Binding table ID - it's an additional field for SNCP only */ data_len = tvb_reported_length(tvb) - offset; if (data_len == 1) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 1, ENC_NA); offset += 1; } } break; case ZBNCP_CMD_APSME_ADD_GROUP: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_group_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_APSME_RM_GROUP: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_group_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_APSDE_DATA_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { guint16 data_len; static int *const aps_fc[] = { &hf_zbncp_data_aps_fc_deliv_mode, &hf_zbncp_data_aps_fc_secur, &hf_zbncp_data_aps_fc_ack_retrans, NULL}; static int *const aps_key_attr[] = { &hf_zbncp_data_aps_key_attr_key_src, &hf_zbncp_data_aps_key_attr_key_used, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_param_len, tvb, offset, 1, ENC_NA); offset += 1; data_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_aps_fc, ett_zbncp_data_apc_fc, aps_fc, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_group_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_profile_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_cnt, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_mac_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_mac_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rssi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_aps_key_attr, ett_zbncp_data_aps_key_attr, aps_key_attr, ENC_NA); offset += 1; if (data_len > (tvb_reported_length(tvb) - offset)) { data_len = tvb_reported_length(tvb) - offset; } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_array, tvb, offset, data_len, ENC_NA); offset += data_len; } break; case ZBNCP_CMD_APSME_RM_ALL_GROUPS: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_endpoint, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_APS_GET_GROUP_TABLE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint8 group_num; group_num = tvb_get_gint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_group_num, tvb, offset++, 1, ENC_NA); if (group_num) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_group, tvb, offset, group_num * 2, ENC_LITTLE_ENDIAN); offset += group_num * 2; } } break; case ZBNCP_CMD_APSME_RM_BIND_ENTRY_BY_ID: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_APSME_CLEAR_BIND_TABLE: /* Empty: only common headers */ break; case ZBNCP_CMD_APSME_GET_BIND_ENTRY_BY_ID: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset - 1, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_bind_type, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_APSME_REMOTE_BIND_IND: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset - 1, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_bind_type, tvb, offset, 1, ENC_NA); offset += 1; break; case ZBNCP_CMD_APSME_REMOTE_UNBIND_IND: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_src_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cluster_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_addr_mode, tvb, offset, 1, ENC_NA); offset += 1; dissect_zbncp_dst_addrs(zbncp_hl_body_tree, tvb, offset - 1, &offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dst_endpoint, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_bind_type, tvb, offset, 1, ENC_NA); offset += 1; break; case ZBNCP_CMD_APSME_SET_REMOTE_BIND_OFFSET: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_remote_bind_offset, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_APSME_GET_REMOTE_BIND_OFFSET: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_remote_bind_offset, tvb, offset, 1, ENC_NA); offset += 1; } break; /* NWK Management API*/ case ZBNCP_CMD_NWK_FORMATION: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint i; guint8 ch_list_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ch_list_len, tvb, offset, 1, ENC_NA); offset += 1; if (ch_list_len) { proto_tree *zbncp_hl_body_data_ch_list = proto_tree_add_subtree_format( zbncp_hl_body_tree, tvb, offset, ch_list_len * 5, ett_zbncp_data_ch_list, NULL, "Channel List"); for (i = 0; i < ch_list_len; i++) { proto_tree *zbncp_hl_body_data_channel_tree = proto_tree_add_subtree_format( zbncp_hl_body_data_ch_list, tvb, offset, 5, ett_zbncp_data_channel, NULL, "Channel"); proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_ch_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_scan_dur, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_distr_nwk_flag, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ext_pan_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_NWK_DISCOVERY: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint i; guint8 ch_list_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ch_list_len, tvb, offset, 1, ENC_NA); offset += 1; if (ch_list_len) { proto_tree *zbncp_hl_body_data_ch_list = proto_tree_add_subtree_format( zbncp_hl_body_tree, tvb, offset, ch_list_len * 5, ett_zbncp_data_ch_list, NULL, "Channel List"); for (i = 0; i < ch_list_len; i++) { proto_tree *zbncp_hl_body_data_channel_tree = proto_tree_add_subtree_format( zbncp_hl_body_data_ch_list, tvb, offset, 5, ett_zbncp_data_channel, NULL, "Channel"); proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_ch_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_scan_dur, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint i; guint8 nwk_count = tvb_get_guint8(tvb, offset); static int *flags[] = { &hf_zbncp_data_flags_permit_join, &hf_zbncp_data_flags_router_cap, &hf_zbncp_data_flags_ed_cap, &hf_zbncp_data_flags_stack_profile, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_count, tvb, offset, 1, ENC_NA); offset += 1; for (i = 0; i < nwk_count; i++) { proto_tree *zbncp_hl_body_data_nwk_descr = proto_tree_add_subtree_format( zbncp_hl_body_tree, tvb, offset, 14, ett_zbncp_data_nwk_descr, NULL, "Network Descriptor"); proto_tree_add_item(zbncp_hl_body_data_nwk_descr, hf_zbncp_data_ext_pan_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_data_nwk_descr, hf_zbncp_data_pan_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_data_nwk_descr, hf_zbncp_data_nwk_upd_id, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_nwk_descr, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_nwk_descr, hf_zbncp_data_channel, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask(zbncp_hl_body_data_nwk_descr, tvb, offset, hf_zbncp_data_flags8, ett_zbncp_data_flags, flags, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_nwk_descr, hf_zbncp_data_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_nwk_descr, hf_zbncp_data_rssi, tvb, offset, 1, ENC_NA); offset += 1; } } break; case ZBNCP_CMD_NWK_NLME_JOIN: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint i; guint8 ch_list_len; static int *const mac_capability[] = { &hf_ieee802154_cinfo_alt_coord, &hf_ieee802154_cinfo_device_type, &hf_ieee802154_cinfo_power_src, &hf_ieee802154_cinfo_idle_rx, &hf_ieee802154_cinfo_sec_capable, &hf_ieee802154_cinfo_alloc_addr, NULL}; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ext_pan_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rejoin_nwk, tvb, offset, 1, ENC_NA); offset += 1; ch_list_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ch_list_len, tvb, offset, 1, ENC_NA); offset += 1; if (ch_list_len) { proto_tree *zbncp_hl_body_data_ch_list = proto_tree_add_subtree_format( zbncp_hl_body_tree, tvb, offset, ch_list_len * 5, ett_zbncp_data_ch_list, NULL, "Channel List"); for (i = 0; i < ch_list_len; i++) { proto_tree *zbncp_hl_body_data_channel_tree = proto_tree_add_subtree_format( zbncp_hl_body_data_ch_list, tvb, offset, 5, ett_zbncp_data_channel, NULL, "Channel"); proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_data_channel_tree, hf_zbncp_data_ch_mask, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_scan_dur, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_bitmask(zbncp_hl_body_tree, tvb, offset, hf_zbncp_data_mac_cap, ett_zbncp_data_mac_cap, mac_capability, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_secur_en, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ext_pan_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_channel, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_enh_beacon, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_if, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_NWK_PERMIT_JOINING: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_permit_dur, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_NWK_GET_IEEE_BY_SHORT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_NWK_GET_SHORT_BY_IEEE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_NWK_GET_NEIGHBOR_BY_IEEE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_zb_role, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rx_on_idle, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ed_config, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_timeout_cnt, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dev_timeout, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_relationship, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tx_fail_cnt, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_out_cost, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_age, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_keepalive_rec, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_if_idx, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_NWK_REJOINED_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ext_pan_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_channel, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_beacon_type, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_if, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_NWK_REJOIN_FAILED_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { guint status_category = tvb_get_guint8(tvb, offset); guint status; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_cat, tvb, offset, 1, ENC_NA); offset += 1; /* Add status */ status = tvb_get_guint8(tvb, offset); switch (status_category) { case ZBNCP_HIGH_LVL_STAT_CAT_GENERIC: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_generic, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zbncp_hl_status_generic, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_MAC: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_mac, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_mac_state, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_NWK: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_nwk, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_nwk_state, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_APS: dissect_zbee_aps_status_code(tvb, pinfo, zbncp_hl_body_tree, offset); break; case ZBNCP_HIGH_LVL_STAT_CAT_CBKE: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_cbke, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_cbke_state, "Unknown Status")); break; default: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: 0x%x", status); } offset += 1; } break; case ZBNCP_CMD_NWK_LEAVE_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rejoin, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_PIM_SET_FAST_POLL_INTERVAL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_fast_poll_int, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_PIM_SET_LONG_POLL_INTERVAL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_long_poll_int, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_PIM_START_FAST_POLL: /* Empty: only common headers */ break; case ZBNCP_CMD_PIM_START_POLL: /* Empty: only common headers */ break; case ZBNCP_CMD_PIM_SET_ADAPTIVE_POLL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_time, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_PIM_STOP_FAST_POLL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_stop_fast_poll_result, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_PIM_STOP_POLL: /* Empty: only common headers */ break; case ZBNCP_CMD_PIM_ENABLE_TURBO_POLL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_time, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_PIM_DISABLE_TURBO_POLL: /* Empty: only common headers */ break; case ZBNCP_CMD_NWK_GET_FIRST_NBT_ENTRY: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_zb_role, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rx_on_idle, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ed_config, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_timeout_cnt, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dev_timeout, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_relationship, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tx_fail_cnt, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_out_cost, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_age, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_keepalive_rec, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_if_idx, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_NWK_GET_NEXT_NBT_ENTRY: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_zb_role, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rx_on_idle, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ed_config, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_timeout_cnt, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dev_timeout, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_relationship, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tx_fail_cnt, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_out_cost, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_age, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_keepalive_rec, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_mac_if_idx, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_NWK_PAN_ID_CONFLICT_RESOLVE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint i; guint16 pan_id_cnt = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_pan_id_cnt, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; for (i = 0; i < pan_id_cnt; i++) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_pan_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } break; case ZBNCP_CMD_NWK_PAN_ID_CONFLICT_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { guint i; guint16 pan_id_cnt = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_pan_id_cnt, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; for (i = 0; i < pan_id_cnt; i++) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_pan_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } } break; case ZBNCP_CMD_NWK_ADDRESS_UPDATE_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_NWK_START_WITHOUT_FORMATION: /* Empty: only common headers */ break; case ZBNCP_CMD_NWK_NLME_ROUTER_START: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_beacon_order, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_superframe_order, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_battery_life_ext, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_PIM_SINGLE_POLL: /* Empty: only common headers */ break; case ZBNCP_CMD_PARENT_LOST_IND: /* Empty: only common headers */ break; case ZBNCP_CMD_PIM_START_TURBO_POLL_PACKETS: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_poll_pkt_cnt, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_PIM_START_TURBO_POLL_CONTINUOUS: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_poll_timeout, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_PIM_TURBO_POLL_CONTINUOUS_LEAVE: /* Empty: only common headers */ break; case ZBNCP_CMD_PIM_TURBO_POLL_PACKETS_LEAVE: /* Empty: only common headers */ break; case ZBNCP_CMD_PIM_PERMIT_TURBO_POLL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_poll_permit_flag, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_PIM_SET_FAST_POLL_TIMEOUT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_poll_timeout, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_PIM_GET_LONG_POLL_INTERVAL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_long_poll_int, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_PIM_GET_IN_FAST_POLL_FLAG: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_fast_poll_flag, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SET_KEEPALIVE_MODE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_keepalive_mode, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } break; case ZBNCP_CMD_START_CONCENTRATOR_MODE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_radius, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_time_between_disc, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_STOP_CONCENTRATOR_MODE: /* Empty: only common headers */ break; case ZBNCP_CMD_NWK_ENABLE_PAN_ID_CONFLICT_RESOLUTION: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_enable_flag, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_NWK_ENABLE_AUTO_PAN_ID_CONFLICT_RESOLUTION: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_enable_flag, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_PIM_TURBO_POLL_CANCEL_PACKET: /* Empty: only common headers */ break; case ZBNCP_CMD_SET_FORCE_ROUTE_RECORD: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_force_route_record_sending, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } break; case ZBNCP_CMD_GET_FORCE_ROUTE_RECORD: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_force_route_record_sending, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; } break; case ZBNCP_CMD_NWK_NBR_ITERATOR_NEXT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_start_idx_16b, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_upd_idx, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; /* Security API */ case ZBNCP_CMD_SECUR_SET_LOCAL_IC: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic, tvb, offset, tvb_reported_length(tvb) - offset, ENC_NA); offset = tvb_reported_length(tvb); } break; case ZBNCP_CMD_SECUR_ADD_IC: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic, tvb, offset, tvb_reported_length(tvb) - offset, ENC_NA); offset = tvb_reported_length(tvb); } break; case ZBNCP_CMD_SECUR_DEL_IC: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SECUR_ADD_CERT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint8 crypto_suite = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cs, tvb, offset, 1, ENC_NA); offset += 1; if (crypto_suite == 1) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ca_pub_key, tvb, offset, 22, ENC_NA); offset += 22; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cert, tvb, offset, 48, ENC_NA); offset += 48; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ca_priv_key, tvb, offset, 21, ENC_NA); offset += 21; } else if (crypto_suite == 2) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ca_pub_key, tvb, offset, 37, ENC_NA); offset += 37; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cert, tvb, offset, 74, ENC_NA); offset += 74; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ca_priv_key, tvb, offset, 36, ENC_NA); offset += 36; } } break; case ZBNCP_CMD_SECUR_DEL_CERT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cs, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_issuer, tvb, offset, 8, ENC_NA); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SECUR_START_KE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cs, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint status_category = tvb_get_guint8(tvb, offset); guint status; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_cat, tvb, offset, 1, ENC_NA); offset += 1; /* Add status */ status = tvb_get_guint8(tvb, offset); switch (status_category) { case ZBNCP_HIGH_LVL_STAT_CAT_GENERIC: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_generic, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zbncp_hl_status_generic, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_MAC: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_mac, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_mac_state, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_NWK: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_nwk, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_nwk_state, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_APS: dissect_zbee_aps_status_code(tvb, pinfo, zbncp_hl_body_tree, offset); break; case ZBNCP_HIGH_LVL_STAT_CAT_CBKE: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_cbke, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_cbke_state, "Unknown Status")); break; default: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: 0x%x", status); } offset += 1; } break; case ZBNCP_CMD_SECUR_START_PARTNER_LK: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_SECUR_CBKE_SRV_FINISHED_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { guint status_category = tvb_get_guint8(tvb, offset); guint status; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_cat, tvb, offset, 1, ENC_NA); offset += 1; /* Add status */ status = tvb_get_guint8(tvb, offset); switch (status_category) { case ZBNCP_HIGH_LVL_STAT_CAT_GENERIC: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_generic, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zbncp_hl_status_generic, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_MAC: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_mac, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_mac_state, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_NWK: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_nwk, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_nwk_state, "Unknown Status")); break; case ZBNCP_HIGH_LVL_STAT_CAT_APS: dissect_zbee_aps_status_code(tvb, pinfo, zbncp_hl_body_tree, offset); break; case ZBNCP_HIGH_LVL_STAT_CAT_CBKE: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status_cbke, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: %s", val_to_str_const(status, zb_cbke_state, "Unknown Status")); break; default: proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_hl_status, tvb, offset, 1, ENC_NA); col_append_fstr(pinfo->cinfo, COL_INFO, ", Status: 0x%x", status); } offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_nwk_addr, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SECUR_PARTNER_LK_FINISHED_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SECUR_KE_WHITELIST_ADD: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SECUR_KE_WHITELIST_DEL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SECUR_KE_WHITELIST_DEL_ALL: /* Empty: only common headers */ break; case ZBNCP_CMD_SECUR_JOIN_USES_IC: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic_en, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SECUR_GET_IC_BY_IEEE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic, tvb, offset, tvb_reported_length(tvb) - offset, ENC_NA); offset = tvb_reported_length(tvb); } break; case ZBNCP_CMD_SECUR_GET_CERT: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cs, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint8 crypto_suite = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cs, tvb, offset, 1, ENC_NA); offset += 1; if (crypto_suite == 1) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ca_pub_key, tvb, offset, 22, ENC_NA); offset += 22; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cert, tvb, offset, 48, ENC_NA); offset += 48; } else if (crypto_suite == 2) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ca_pub_key, tvb, offset, 37, ENC_NA); offset += 37; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_cert, tvb, offset, 74, ENC_NA); offset += 74; } } break; case ZBNCP_CMD_SECUR_GET_LOCAL_IC: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic, tvb, offset, tvb_reported_length(tvb) - offset, ENC_NA); offset = tvb_reported_length(tvb); } break; case ZBNCP_CMD_SECUR_TCLK_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_key_type, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_SECUR_TCLK_EXCHANGE_FAILED_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { offset = dissect_zbncp_status(tvb, pinfo, zbncp_hl_body_tree, offset); } break; case ZBNCP_CMD_SECUR_GET_KEY_IDX: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_SECUR_GET_KEY: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_link_key, tvb, offset, 16, ENC_NA); offset += 16; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_aps_link_key_type, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_key_src, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_key_attr, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_out_frame_cnt, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_inc_frame_cnt, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_partner_ieee_addr, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; } break; case ZBNCP_CMD_SECUR_ERASE_KEY: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_index, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_SECUR_CLEAR_KEY_TABLE: /* Empty: only common headers */ break; case ZBNCP_CMD_SECUR_NWK_INITIATE_KEY_SWITCH_PROCEDURE: /* Empty: only common headers */ break; case ZBNCP_CMD_SECUR_GET_IC_LIST: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_start_idx, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic_table_size, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_start_idx, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic_ent_cnt, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic, tvb, offset, tvb_captured_length(tvb) - offset, ENC_NA); offset += tvb_captured_length(tvb) - offset; } break; case ZBNCP_CMD_SECUR_GET_IC_BY_IDX: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_entry_idx, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_ic, tvb, offset, tvb_captured_length(tvb) - offset, ENC_NA); offset += tvb_captured_length(tvb) - offset; } break; case ZBNCP_CMD_SECUR_REMOVE_ALL_IC: /* Empty: only common headers */ break; case ZBNCP_CMD_SECUR_PARTNER_LK_ENABLE: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_enable, tvb, offset, 1, ENC_NA); offset += 1; } break; /* Manufacturing Test API */ case ZBNCP_CMD_MANUF_MODE_START: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_channel4, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_MANUF_MODE_END: /* Empty: only common headers */ break; case ZBNCP_CMD_MANUF_SET_CHANNEL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_channel4, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_MANUF_GET_CHANNEL: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_page, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_channel4, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; } break; case ZBNCP_CMD_MANUF_SET_POWER: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tx_power, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_MANUF_GET_POWER: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_tx_power, tvb, offset, 1, ENC_NA); offset += 1; } break; case ZBNCP_CMD_MANUF_START_TONE: /* Empty: only common headers */ break; case ZBNCP_CMD_MANUF_STOP_TONE: /* Empty: only common headers */ break; case ZBNCP_CMD_MANUF_START_STREAM_RANDOM: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_seed, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } break; case ZBNCP_CMD_MANUF_STOP_STREAM_RANDOM: /* Empty: only common headers */ break; case ZBNCP_CMD_NCP_HL_MANUF_SEND_SINGLE_PACKET: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint8 data_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen8, tvb, offset, 1, ENC_NA); offset += 1; if (data_len > (tvb_reported_length(tvb) - offset)) { data_len = tvb_reported_length(tvb) - offset; } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_array, tvb, offset, data_len, ENC_NA); offset += data_len; } break; case ZBNCP_CMD_MANUF_START_TEST_RX: /* Empty: only common headers */ break; case ZBNCP_CMD_MANUF_STOP_TEST_RX: /* Empty: only common headers */ break; case ZBNCP_CMD_MANUF_RX_PACKET_IND: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION) { guint16 data_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_lqi, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_rssi, tvb, offset, 1, ENC_NA); offset += 1; if (data_len > (tvb_reported_length(tvb) - offset)) { data_len = tvb_reported_length(tvb) - offset; } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_array, tvb, offset, data_len, ENC_NA); offset += data_len; } break; /* NCP FW upgrade API */ case ZBNCP_CMD_OTA_RUN_BOOTLOADER: /* Empty: only common headers */ break; case ZBNCP_CMD_OTA_START_UPGRADE_IND: /* Empty: only common headers */ break; case ZBNCP_CMD_OTA_SEND_PORTION_FW: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint16 data_len = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; if (data_len > (tvb_reported_length(tvb) - offset)) { data_len = tvb_reported_length(tvb) - offset; } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_array, tvb, offset, data_len, ENC_NA); offset += data_len; } break; case ZBNCP_CMD_READ_NVRAM_RESERVED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_offset, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen8, tvb, offset, 1, ENC_NA); offset += 1; } else if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { guint8 data_len; data_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen8, tvb, offset, 1, ENC_NA); offset += 1; if (data_len > (tvb_reported_length(tvb) - offset)) { data_len = tvb_reported_length(tvb) - offset; } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_array, tvb, offset, data_len, ENC_NA); offset += data_len; } break; case ZBNCP_CMD_WRITE_NVRAM_RESERVED: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST) { guint8 data_len; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_do_erase, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_offset, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; data_len = tvb_get_guint8(tvb, offset); proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_dlen8, tvb, offset, 1, ENC_NA); offset += 1; if (data_len > (tvb_reported_length(tvb) - offset)) { data_len = tvb_reported_length(tvb) - offset; } proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_array, tvb, offset, data_len, ENC_NA); offset += data_len; } break; case ZBNCP_CMD_GET_CALIBRATION_INFO: if (ptype == ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE) { proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_calibration_status, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_item(zbncp_hl_body_tree, hf_zbncp_data_calibration_value, tvb, offset, 1, ENC_NA); offset += 1; } break; default:; } /* Dump the tail. */ if (offset < tvb_reported_length(tvb)) { tvbuff_t *leftover_tvb = tvb_new_subset_remaining(tvb, offset); call_data_dissector(leftover_tvb, pinfo, tree); } } static void dissect_zbncp_fragmentation_body(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { proto_tree *zbncp_body_tree = proto_tree_add_subtree_format(tree, tvb, offset, tvb_reported_length(tvb) - offset, ett_zbncp_ll_body, NULL, "ZBNCP Packet Body"); /* CRC */ proto_tree_add_item(zbncp_body_tree, hf_zbncp_body_data_crc16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* Dump the tail. */ if (offset < tvb_reported_length(tvb)) { tvbuff_t *leftover_tvb = tvb_new_subset_remaining(tvb, offset); call_data_dissector(leftover_tvb, pinfo, zbncp_body_tree); } } static void dissect_zbncp_body(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset, guint16 *cmd_id) { proto_tree *zbncp_body_tree = proto_tree_add_subtree_format(tree, tvb, offset, tvb_reported_length(tvb) - offset, ett_zbncp_ll_body, NULL, "ZBNCP Packet Body"); /* CRC */ proto_tree_add_item(zbncp_body_tree, hf_zbncp_body_data_crc16, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; dissect_zbncp_high_level(tvb, pinfo, zbncp_body_tree, offset, cmd_id); } static guint dissect_zbncp_ll_hdr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint8 *hdr_flags) { proto_tree *ncp_ll_hdr_tree; proto_item *proto_root; static int *const packet_flags[] = { &hf_zbncp_hdr_flags_isack, &hf_zbncp_hdr_flags_retrans, &hf_zbncp_hdr_flags_packetseq, &hf_zbncp_hdr_flags_ackseq, &hf_zbncp_hdr_flags_first_frag, &hf_zbncp_hdr_flags_last_frag, NULL}; if (tvb_get_guint8(tvb, 0) != ZBNCP_SIGN_FST_BYTE || tvb_get_guint8(tvb, 1) != ZBNCP_SIGN_SEC_BYTE) { return 0; } col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZB NCP"); proto_root = proto_tree_add_protocol_format(tree, zbncp_frame, tvb, 0, tvb_captured_length(tvb), "ZBNCP Low Level Header"); ncp_ll_hdr_tree = proto_item_add_subtree(proto_root, ett_zbncp_hdr); /* hdr */ proto_tree_add_item(ncp_ll_hdr_tree, hf_zbncp_hdr_sign, tvb, offset, 2, ENC_ASCII); offset += 2; /* pkt lenght without sign */ proto_tree_add_item(ncp_ll_hdr_tree, hf_zbncp_packet_len, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* hl packet type */ proto_tree_add_item(ncp_ll_hdr_tree, hf_zbncp_hdr_type, tvb, offset, 1, ENC_NA); offset += 1; /* hdr flags */ *hdr_flags = tvb_get_guint8(tvb, offset); proto_tree_add_bitmask(ncp_ll_hdr_tree, tvb, offset, hf_zbncp_hdr_flags, ett_zbncp_hdr_flags, packet_flags, ENC_NA); offset += 1; /* check is ack */ if (*hdr_flags & ZBNCP_HDR_FLAGS_ISACK_MASK) { col_set_str(pinfo->cinfo, COL_INFO, "ACK"); } /* crc 8 */ proto_tree_add_item(ncp_ll_hdr_tree, hf_zbncp_hdr_crc8, tvb, offset++, 1, ENC_NA); return offset; } static guint dissect_zbncp_packet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { guint8 flags; guint16 cmd_id; conversation_t *conversation; gchar *zbncp_ctx_str; flags = 0; offset = dissect_zbncp_ll_hdr(tvb, pinfo, tree, offset, &flags); if (!offset) { return 0; } if (offset < tvb_reported_length(tvb)) { if (ZBNCP_GET_PACKET_FLAGS_FIRST_FRAG_BIT(flags)) { /* No fragmentation or first fragment */ dissect_zbncp_body(tvb, pinfo, tree, offset, &cmd_id); /* First fragment */ if (!ZBNCP_GET_PACKET_FLAGS_LAST_FRAG_BIT(flags)) { const gchar *tmp = val_to_str_const(cmd_id, zbncp_hl_call_id, "Unknown Call ID"); zbncp_ctx_str = wmem_alloc(wmem_file_scope(), 64); if(zbncp_ctx_str != NULL) { memcpy(zbncp_ctx_str, tmp, strlen(tmp) + 1); conversation = conversation_new(pinfo->num, &pinfo->src, &pinfo->dst, conversation_pt_to_conversation_type(pinfo->ptype), pinfo->srcport, pinfo->destport, 0); conversation_add_proto_data(conversation, zbncp_frame, (void *)zbncp_ctx_str); } col_append_fstr(pinfo->cinfo, COL_INFO, ", first fragment"); } } else /* It's fragmentation frame */ { /* Fragmentation frame */ dissect_zbncp_fragmentation_body(tvb, pinfo, tree, offset); conversation = find_conversation(pinfo->num, &pinfo->src, &pinfo->dst, conversation_pt_to_conversation_type(pinfo->ptype), pinfo->srcport, pinfo->destport, 0); if (conversation != NULL) { zbncp_ctx_str = (gchar *) conversation_get_proto_data(conversation, zbncp_frame); if (zbncp_ctx_str != NULL) { col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", zbncp_ctx_str); conversation_delete_proto_data(conversation, zbncp_frame); } } if (ZBNCP_GET_PACKET_FLAGS_LAST_FRAG_BIT(flags)) { col_append_fstr(pinfo->cinfo, COL_INFO, ", last fragment"); } else { col_append_fstr(pinfo->cinfo, COL_INFO, ", fragment"); } } } return tvb_captured_length(tvb); } /** * Dissector for ZBOSS NCP packet with an additional dump info. * * @param tvb pointer to buffer containing raw packet. * @param pinfo pointer to packet information fields. * @param tree pointer to data tree wireshark uses to display packet. */ static int dissect_zbncp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { tvbuff_t *new_tvb; new_tvb = dissect_zbncp_dump_info(tvb, pinfo, tree); dissect_zbncp_packet(new_tvb, pinfo, tree, 0); return tvb_captured_length(tvb); } /** * Proto ZBOSS Network Coprocessor product registration routine */ void proto_register_zbncp(void) { /* NCP protocol headers */ static hf_register_info hf_zbncp_phy[] = { {&hf_zbncp_hdr_sign, {"Signature", "zbncp.hdr.sign", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_packet_len, {"Packet length", "zbncp.hdr.plen", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_hdr_type, {"Packet type", "zbncp.hdr.ptype", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_hdr_flags, {"Packet flags", "zbncp.hdr.flags", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_hdr_flags_isack, {"isACK", "zbncp.hdr.flags.isack", FT_BOOLEAN, 8, NULL, ZBNCP_HDR_FLAGS_ISACK_MASK, NULL, HFILL}}, {&hf_zbncp_hdr_flags_retrans, {"Should retransmit", "zbncp.hdr.flags.retrans", FT_BOOLEAN, 8, NULL, ZBNCP_HDR_FLAGS_RETRANS_MASK, NULL, HFILL}}, {&hf_zbncp_hdr_flags_packetseq, {"Packet#", "zbncp.hdr.flags.packet_seq", FT_UINT8, BASE_DEC, NULL, ZBNCP_HDR_FLAGS_PKT_SEQ_MASK, NULL, HFILL}}, {&hf_zbncp_hdr_flags_ackseq, {"ACK#", "zbncp.hdr.flags.ack_seq", FT_UINT8, BASE_DEC, NULL, ZBNCP_HDR_FLAGS_ACK_SEQ_MASK, NULL, HFILL}}, {&hf_zbncp_hdr_flags_first_frag, {"First fragment", "zbncp.hdr.flags.first_frag", FT_BOOLEAN, 8, NULL, ZBNCP_HDR_FLAGS_ISFIRST_MASK, NULL, HFILL}}, {&hf_zbncp_hdr_flags_last_frag, {"Last fragment", "zbncp.hdr.flags.last_frag", FT_BOOLEAN, 8, NULL, ZBNCP_HDR_FLAGS_ISLAST_MASK, NULL, HFILL}}, {&hf_zbncp_hdr_crc8, {"CRC8", "zbncp.hdr.crc8", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_body_data_crc16, {"CRC16", "zbncp.data.crc16", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_version, {"Version", "zbncp.data.hl.vers", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_packet_type, {"Packet type", "zbncp.data.hl.ptype", FT_UINT8, BASE_HEX, VALS(zbncp_hl_type), 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_call_id, {"Call/evt id", "zbncp.data.hl.id", FT_UINT16, BASE_HEX, VALS(zbncp_hl_call_id), 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_tsn, {"TSN", "zbncp.data.hl.tsn", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_status_cat, {"Status category", "zbncp.data.hl.status_cat", FT_UINT8, BASE_HEX, VALS(zbncp_hl_status_cat), 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_status, {"Status", "zbncp.data.hl.status", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_status_generic, {"Status", "zbncp.data.hl.status", FT_UINT8, BASE_HEX, VALS(zbncp_hl_status_generic), 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_status_mac, {"Status", "zbncp.data.hl.status", FT_UINT8, BASE_HEX, VALS(zb_mac_state), 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_status_nwk, {"Status", "zbncp.data.hl.status", FT_UINT8, BASE_HEX, VALS(zb_nwk_state), 0x0, NULL, HFILL}}, {&hf_zbncp_data_hl_status_cbke, {"Status", "zbncp.data.hl.status", FT_UINT8, BASE_HEX, VALS(zb_cbke_state), 0x0, NULL, HFILL}}, {&hf_zbncp_data_fw_vers, {"FW Version", "zbncp.data.fw_vers", FT_UINT32, BASE_HEX, NULL, 0x0, "NCP module firmware version", HFILL}}, {&hf_zbncp_data_stack_vers, {"Stack Version", "zbncp.data.stack_vers", FT_UINT32, BASE_HEX, NULL, 0x0, "NCP module stack version", HFILL}}, {&hf_zbncp_data_proto_vers, {"Protocol Version", "zbncp.data.proto_vers", FT_UINT32, BASE_HEX, NULL, 0x0, "NCP module protocol version", HFILL}}, {&hf_zbncp_data_reset_opt, {"Options", "zbncp.data.rst_opt", FT_UINT8, BASE_HEX, VALS(zbncp_reset_opt), 0x0, "Force NCP module reboot", HFILL}}, {&hf_zbncp_data_zb_role, {"Zigbee role", "zbncp.data.zb_role", FT_UINT8, BASE_HEX, VALS(zbncp_zb_role), 0x0, "Zigbee role code", HFILL}}, {&hf_zbncp_data_ch_list_len, {"Channel list length", "zbncp.data.ch_list_len", FT_UINT8, BASE_HEX, NULL, 0x0, "Number of entries in the following Channel List array", HFILL}}, {&hf_zbncp_data_page, {"Channel page", "zbncp.data.page", FT_UINT8, BASE_DEC_HEX, VALS(zboss_page_names), 0x0, "IEEE802.15.4 page number", HFILL}}, {&hf_zbncp_data_ch_mask, {"Channel mask", "zbncp.data.ch_mask", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_channel, {"Channel", "zbncp.data.mask", FT_UINT8, BASE_DEC, NULL, 0x0, "Channel number", HFILL}}, {&hf_zbncp_data_channel4, {"Channel", "zbncp.data.mask", FT_UINT32, BASE_DEC, NULL, 0x0, "Channel number", HFILL}}, {&hf_zbncp_data_pan_id, {"PAN ID", "zbncp.data.pan_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_index, {"Index", "zbncp.data.index", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_enable, {"Enable", "zbncp.data.enable", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_bind_type, {"Bind Type", "zbncp.data.bind_type", FT_UINT8, BASE_DEC, VALS(zbncp_bind_type_vals), 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_int_num, {"MAC Interface Num", "zbncp.data.mac_int_num", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_ext_pan_id, {"Ext PAN ID", "zbncp.data.ext_pan_id", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_coordinator_version, {"Coordinator version", "zbncp.data.coord_version", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_trust_center_addres, {"IEEE trust center address", "zbncp.data.ieee_trust_center_addr", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_ieee_addr, {"IEEE address", "zbncp.data.ieee_addr", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_remote_ieee_addr, {"Remote IEEE address", "zbncp.data.rmt_ieee_addr", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_src_ieee_addr, {"Source IEEE address", "zbncp.data.src_ieee_addr", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dst_ieee_addr, {"Destination IEEE address", "zbncp.data.dst_ieee_addr", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_partner_ieee_addr, {"Partner IEEE address", "zbncp.data.partner_ieee_addr", FT_EUI64, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_keepalive, {"Keepalive Timeout", "zbncp.data.keepalive", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_force_route_record_sending, {"Force route record sending mode", "zbncp.data.force_route_rec_mode", FT_UINT8, BASE_DEC, VALS(zbncp_force_route_record_sending_modes), 0x0, NULL, HFILL}}, {&hf_zbncp_data_rx_on_idle, {"Rx On When Idle", "zbncp.data.rx_on_idle", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_res_tx_power, {"Resultant TX power", "zbncp.data.tx_power", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_req_tx_power, {"Required TX power", "zbncp.data.tx_power", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_joined, {"Joined", "zbncp.data.joined", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_joined_bit, {"Device is joined", "zbncp.data.device_is_joined", FT_BOOLEAN, 8, NULL, 0x1, NULL, HFILL}}, {&hf_zbncp_data_parent_bit, {"Parent is lost", "zbncp.data.parent_is_lost", FT_BOOLEAN, 8, NULL, 0x2, NULL, HFILL}}, {&hf_zbncp_data_authenticated, {"Authenticated", "zbncp.data.auth", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_timeout, {"Timeout", "zbncp.data.timeout", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_addr, {"NWK address", "zbncp.data.nwk_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_parent_addr, {"NWK parent address", "zbncp.data.nwk_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dst_nwk_addr, {"Destination NWK address", "zbncp.data.dst_nwk_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_src_nwk_addr, {"Source NWK address", "zbncp.data.src_nwk_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_remote_nwk_addr, {"Remote NWK address", "zbncp.data.rmt_nwk_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_group_nwk_addr, {"Group NWK address", "zbncp.data.group_nwk_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_src_mac_addr, {"Source MAC address", "zbncp.data.src_mac_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dst_mac_addr, {"Destination MAC address", "zbncp.data.dst_mac_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_key, {"NWK Key", "zbncp.data.nwk_key", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_key_num, {"Key number", "zbncp.data.key_num", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_serial_num, {"Serial number", "zbncp.data.serial_num", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_size, {"Size", "zbncp.data.size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_parameter_id, {"Parameter ID", "zbncp.data.param_id", FT_UINT8, BASE_DEC, VALS(zbncp_parameter_id_list), 0x0, NULL, HFILL}}, {&hf_zbncp_data_value8_dec, {"Value", "zbncp.data.value", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_value16_dec, {"Value", "zbncp.data.value", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_ack_to_non_sleepy, {"Value (for non-sleepy dev)", "zbncp.data.non_sleepy_value", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_ack_to_sleepy, {"Value (for sleepy dev)", "zbncp.data.sleepy_value", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_min16, {"Min", "zbncp.data.min_value", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_max16, {"Max", "zbncp.data.max_value", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_default8_sign, {"Default", "zbncp.data.default_val", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_current8_sign, {"Current", "zbncp.data.current_val", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_is_concentrator, {"Is concentrator", "zbncp.data.is_conc", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_concentrator_radius, {"Concentrator radius", "zbncp.data.conc_rad", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_time16, {"Time", "zbncp.data.conc_time", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_lock_status, {"Locking status", "zbncp.data.lock_status", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_nwk_leave_allowed, {"NWK Leave Allowed", "zbncp.data.nwk_leave_allow", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nvram_dataset_quantity, {"Dataset quantity", "zbncp.data.nvram_dataset_quantity", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nvram_dataset_type, {"NVRAM Database type", "zbncp.data.nvram_database_type", FT_UINT16, BASE_HEX, VALS(zb_nvram_database_types), 0x0, NULL, HFILL}}, {&hf_zbncp_data_nvram_version, {"NVRAM Version", "zbncp.data.nvram_version", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dataset_version, {"NVRAM Dataset Version", "zbncp.data.dataset_version", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dataset_length, {"NVRAM Dataset size", "zbncp.data.dataset_size", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nvram_dataset_data, {"NVRAM Dataset data", "zbncp.data.dataset_data", FT_UINT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_tc_policy_type, {"Trust center policy type", "zbncp.data.tc_policy_type", FT_UINT16, BASE_HEX, VALS(zbncp_tc_policy_types), 0x0, NULL, HFILL}}, {&hf_zbncp_data_tc_policy_value, {"Trust center policy value", "zbncp.data.tc_policy_value", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_max_children, {"Number of children", "zbncp.data.num_children", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_leave_allowed, {"ZDO Leave Allowed", "zbncp.data.zdo_leave_allow", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_leave_wo_rejoin_allowed, {"ZDO Leave Without Rejoin Allowed", "zbncp.data.zdo_leave_wo_rejoin_allow", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_reset_source, {"Reset source", "zbncp.data.rst_src", FT_UINT8, BASE_DEC, VALS(zbncp_rst_src_list), 0x0, NULL, HFILL}}, {&hf_zbncp_data_vendor_data, {"Vendor data", "zbncp.data.vendor_data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_aps_key, {"APS Key", "zbncp.data.aps_key", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_endpoint, {"Endpoint", "zbncp.data.endpoint", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_group_num, {"APS group number", "zbncp.data.aps_group_num", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_group, {"APS group", "zbncp.data.aps_group", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_src_endpoint, {"Source Endpoint", "zbncp.data.src_endpoint", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dst_endpoint, {"Destination Endpoint", "zbncp.data.dst_endpoint", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_poll_pkt_cnt, {"Packet count", "zbncp.data.poll_pkt_cnt", FT_UINT8, BASE_DEC, NULL, 0x0, "The number of packets to poll", HFILL}}, {&hf_zbncp_data_poll_timeout, {"Poll Timeout", "zbncp.data.poll_timeout", FT_UINT32, BASE_DEC, NULL, 0x0, "The duration of poll in ms", HFILL}}, {&hf_zbncp_data_poll_permit_flag, {"Permit flag", "zbncp.data.poll_permit_flag", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_profile_id, {"Profile ID", "zbncp.data.profile_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_device_id, {"Device ID", "zbncp.data.device_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dev_version, {"Device Version", "zbncp.data.dev_vers", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_in_cl_cnt, {"Input Cluster Count", "zbncp.data.in_cl_cnt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_out_cl_cnt, {"Output Cluster Count", "zbncp.data.out_cl_cnt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_cluster_id, {"Cluster ID", "zbncp.data.cluster_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_cap, {"MAC capability", "zbncp.data.mac_cap", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_manuf_id, {"Manufacturer ID", "zbncp.data.manuf_id", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_cur_pwr_mode, {"Current Power Mode", "zbncp.data.pwr_mode", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_cur_pwr_lvl, {"Current Power Level", "zbncp.data.pwr_lvl", FT_UINT8, BASE_DEC, VALS(zbncp_power_level), 0x0, NULL, HFILL}}, {&hf_zbncp_data_susp_period, {"Suspension Period", "zbncp.data.susp_period", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_av_pwr_src, {"Available Power Sources", "zbncp.data.av_pwr_src", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_cur_pwr_src, {"Current Power Source", "zbncp.data.cur_pwr_src", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_pwr_src_const, {"Constant (mains) power", "zbncp.data.pwr_src_const", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL}}, {&hf_zbncp_data_pwr_src_recharge, {"Rechargeable battery", "zbncp.data.pwr_src_recharge", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL}}, {&hf_zbncp_data_pwr_src_disposable, {"Disposable battery", "zbncp.data.pwr_src_disp", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL}}, {&hf_zbncp_data_req_type, {"Request Type", "zbncp.data.nwk_req_type", FT_UINT8, BASE_DEC, VALS(zbncp_nwk_req_type), 0x0, NULL, HFILL}}, {&hf_zbncp_data_start_idx, {"Start Index", "zbncp.data.start_idx", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_start_idx_16b, {"Start Index", "zbncp.data.start_idx", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_upd_idx, {"Update Index", "zbncp.data.update_idx", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_entry_idx, {"Entry Index", "zbncp.data.entry_idx", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_num_asoc_dec, {"Num Assoc Dev", "zbncp.data.num_asoc_dev", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_pwr_desc, {"Power Descriptor", "zbncp.data.pwr_desc", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_pwr_desc_cur_power_mode, {"Current Power Mode", "zbncp.data.pwr_desc.pwr_mode", FT_UINT16, BASE_DEC, NULL, 0x000F, NULL, HFILL}}, {&hf_zbncp_data_pwr_desc_av_pwr_src, {"Available Power Sources", "zbncp.data.pwr_desc.av_pwr_src", FT_UINT16, BASE_DEC, NULL, 0x00F0, NULL, HFILL}}, /* todo */ {&hf_zbncp_data_pwr_desc_cur_pwr_src, {"Current Power Sources", "zbncp.data.pwr_desc.cur_pwr_src", FT_UINT16, BASE_DEC, NULL, 0x0F00, NULL, HFILL}}, /* todo */ {&hf_zbncp_data_pwr_desc_cur_pwr_lvl, {"Current Power Level", "zbncp.data.cur_pwr_lvl", FT_UINT16, BASE_DEC, VALS(zbncp_power_level), 0xF000, NULL, HFILL}}, {&hf_zbncp_data_max_buf_size, {"Max buffer size", "zbncp.data.max_buf_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_max_inc_trans_size, {"Max Incoming transfer size", "zbncp.data.max_inc_size", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_max_out_trans_size, {"Max Outgoing transfer size", "zbncp.data.max_out_size", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_desc_cap, {"Descriptor Capabilities", "zbncp.data.desc_cap", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_desc_cap_ext_act_ep_list_av, {"Extended Active Endpoint List Available", "zbncp.data.desc_cap.active_ep_list", FT_BOOLEAN, 8, NULL, 0x1, NULL, HFILL}}, {&hf_zbncp_data_desc_cap_ext_simple_desc_list_av, {"Extended Simple Descriptor List Available", "zbncp.data.desc_cap.simple_desc_list", FT_BOOLEAN, 8, NULL, 0x2, NULL, HFILL}}, {&hf_zbncp_data_flags8, {"Flags", "zbncp.data.flags8", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_flags_permit_join, {"Permit Joining", "zbncp.data.flags.perm_join", FT_BOOLEAN, 8, NULL, 0x1, NULL, HFILL}}, {&hf_zbncp_data_flags_router_cap, {"Router capacity", "zbncp.data.flags.router_cap", FT_BOOLEAN, 8, NULL, 0x2, NULL, HFILL}}, {&hf_zbncp_data_flags_ed_cap, {"ED capacity", "zbncp.data.flags.ed_cap", FT_BOOLEAN, 8, NULL, 0x4, NULL, HFILL}}, {&hf_zbncp_data_flags_stack_profile, {"Stack profile", "zbncp.data.flags.stack_profile", FT_UINT8, BASE_DEC, NULL, 0xF0, NULL, HFILL}}, {&hf_zbncp_data_flags16, {"Flags", "zbncp.data.flags16", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_flags_zb_role, {"Zigbee role", "zbncp.data.flags.zb_role", FT_UINT16, BASE_HEX, VALS(zbncp_zb_role), 0x7, NULL, HFILL}}, {&hf_zbncp_data_flags_comp_desc_av, {"Complex desc available", "zbncp.data.flags.comp_desc_av", FT_BOOLEAN, 16, NULL, 0x8, NULL, HFILL}}, {&hf_zbncp_data_flags_user_desc_av, {"User desc available", "zbncp.data.flags.user_desc_av", FT_BOOLEAN, 16, NULL, 0x0010, NULL, HFILL}}, {&hf_zbncp_data_flags_freq_868, {"868MHz BPSK Band", "zbncp.data.flags.freq.868mhz", FT_BOOLEAN, 16, NULL, 0x0800, NULL, HFILL}}, {&hf_zbncp_data_flags_freq_902, {"902MHz BPSK Band", "zbncp.data.flags.freq.902mhz", FT_BOOLEAN, 16, NULL, 0x2000, NULL, HFILL}}, {&hf_zbncp_data_flags_freq_2400, {"2.4GHz OQPSK Band", "zbncp.data.flags.freq.2400mhz", FT_BOOLEAN, 16, NULL, 0x4000, NULL, HFILL}}, {&hf_zbncp_data_flags_freq_eu_sub_ghz, {"EU Sub-GHz FSK Band", "zbncp.data.flags.freq.eu_sub_ghz", FT_BOOLEAN, 16, NULL, 0x8000, NULL, HFILL}}, {&hf_zbncp_data_srv_msk, {"Server mask", "zbncp.data.srv_msk", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_srv_msk_prim_tc, {"Primary Trust Center", "zbncp.data.srv_msk.prim_tc", FT_BOOLEAN, 16, NULL, 0x0001, NULL, HFILL}}, {&hf_zbncp_data_srv_msk_backup_tc, {"Backup Trust Center", "zbncp.data.srv_msk.backup_tc", FT_BOOLEAN, 16, NULL, 0x0002, NULL, HFILL}}, {&hf_zbncp_data_srv_msk_prim_bind_tbl_cache, {"Primary Binding Table Cache", "zbncp.data.srv_msk.prim_bind_tbl_cache", FT_BOOLEAN, 16, NULL, 0x0004, NULL, HFILL}}, {&hf_zbncp_data_srv_msk_backup_bind_tbl_cache, {"Backup Binding Table Cache", "zbncp.data.srv_msk.backup_bind_tbl_cache", FT_BOOLEAN, 16, NULL, 0x0008, NULL, HFILL}}, {&hf_zbncp_data_remote_bind_offset, {"Remote Bind Offset", "zbncp.data.remote_bind_access", FT_UINT8, BASE_HEX, NULL, 0x0, "Remote bind offset, divides the bind table in two parts [0:remote_bind_offset) are for localbindings and " "[remote_bind_offset:tbl_size) to remote bindings", HFILL}}, {&hf_zbncp_data_srv_msk_prim_disc_cache, {"Primary Discovery Cache", "zbncp.data.srv_msk.prim_disc_cache", FT_BOOLEAN, 16, NULL, 0x0010, NULL, HFILL}}, {&hf_zbncp_data_srv_msk_backup_disc_cache, {"Backup Discovery Cache", "zbncp.data.srv_msk.backup_disc_cache", FT_BOOLEAN, 16, NULL, 0x0020, NULL, HFILL}}, {&hf_zbncp_data_srv_msk_nwk_manager, {"Network Manager", "zbncp.data.srv_msk.nwk_manager", FT_BOOLEAN, 16, NULL, 0x0040, NULL, HFILL}}, {&hf_zbncp_data_srv_msk_stack_compl_rev, {"Stack Compliance Revision", "zbncp.data.srv_msk.stack_compl_rev", FT_UINT16, BASE_DEC, NULL, 0xFE00, NULL, HFILL}}, {&hf_zbncp_data_ep_cnt, {"Endpoint Count", "zbncp.data.endpoint_cnt", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dst_addr_mode, {"Dst Address Mode", "zbncp.data.dst_addr_mode", FT_UINT8, BASE_HEX, VALS(zbncp_aps_addr_modes), 0x0, NULL, HFILL}}, {&hf_zbncp_data_leave_flags, {"Leave flags", "zbncp.data.leave_flags", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_leave_flags_remove_chil, {"Remove children", "zbncp.data.leave_flags.remove_chil", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL}}, {&hf_zbncp_data_leave_flags_rejoin, {"Rejoin", "zbncp.data.leave_flags.rejoin", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL}}, {&hf_zbncp_data_permit_dur, {"Permit Duration", "zbncp.data.permit_dur", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_tc_sign, {"TC Significance", "zbncp.data.tc_sign", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_secur_rejoin, {"Secure Rejoin", "zbncp.data.secure_rejoin", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_zdo_rejoin_flags, {"Flags", "zbncp.data.zdo_rejoin.flags", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_zdo_rejoin_flags_tcsw_happened, {"Trust Center Swap-out happened", "zbncp.data.zdo_rejoin.flags.tcsw_happened", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL}}, {&hf_zbncp_data_dlen8, {"Data Length", "zbncp.data.dlen8", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_dlen16, {"Data Length", "zbncp.data.dlen16", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_param_len, {"Param Length", "zbncp.data.param_len", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_radius, {"Radius", "zbncp.data.radius", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_time_between_disc, {"Time between discoveries", "zbncp.data.time_between_disc", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_enable_flag, {"Enable flag", "zbncp.data.enable_flag", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "0 - to disable, 1 - to enable", HFILL}}, {&hf_zbncp_data_array, {"Data", "zbncp.data.data_arr", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_use_alias, {"Use alias", "zbncp.data.use_alias", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_alias_src, {"Alias source address", "zbncp.data.alias_src", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_alias_seq, {"Alias sequence number", "zbncp.data.alias_seq", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_tx_opt, {"TX Options", "zbncp.data.tx_opt", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_tx_opt_secur, {"Security enabled transmission", "zbncp.data.secur", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL}}, {&hf_zbncp_data_tx_opt_obsolete, {"Obsolete", "zbncp.data.obsolete", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL}}, {&hf_zbncp_data_tx_opt_ack, {"ACK", "zbncp.data.ack", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL}}, {&hf_zbncp_data_tx_opt_frag, {"Fragmentation permitted", "zbncp.data.frag", FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL}}, {&hf_zbncp_data_tx_opt_inc_ext_nonce, {"Include extended nonce", "zbncp.data.ext_nonce", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL}}, {&hf_zbncp_data_tx_opt_force_mesh_route, {"Force mesh route discovery for this request", "zbncp.data.force_mesh_route", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL}}, {&hf_zbncp_data_tx_opt_send_route_record, {"Send route record for this request", "zbncp.data.send_route_record", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL}}, {&hf_zbncp_data_lqi, {"LQI", "zbncp.data.lqi", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_rssi, {"RSSI", "zbncp.data.rssi", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_do_cleanup, {"Do cleanup", "zbncp.data.do_clean", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_max_rx_bcast, {"max_rx_bcast", "zbncp.data.max_rx_bcast", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_tx_bcast, {"max_tx_bcast", "zbncp.data.max_tx_bcast", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_rx_ucast, {"mac_rx_ucast", "zbncp.data.mac_rx_ucast", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_tx_ucast_total_zcl, {"mac_tx_ucast_total_zcl", "zbncp.data.mac_tx_ucast_total_zcl", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_tx_ucast_failures_zcl, {"mac_tx_ucast_failures_zcl", "zbncp.data.mac_tx_ucast_failures_zcl", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_tx_ucast_retries_zcl, {"mac_tx_ucast_retries_zcl", "zbncp.data.mac_tx_ucast_retries_zcl", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_tx_ucast_total, {"mac_tx_ucast_total", "zbncp.data.mac_tx_ucast_total", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_tx_ucast_failures, {"mac_tx_ucast_failures", "zbncp.data.mac_tx_ucast_failures", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_tx_ucast_retries, {"mac_tx_ucast_retries", "zbncp.data.mac_tx_ucast_retries", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_validate_drop_cnt, {"mac_validate_drop_cnt", "zbncp.data.mac_validate_drop_cnt", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_phy_cca_fail_count, {"phy_cca_fail_count", "zbncp.data.phy_cca_fail_count", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_phy_to_mac_que_lim_reached, {"phy_to_mac_que_lim_reached", "zbncp.data.phy_to_mac_que_lim_reached", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_period_of_time, {"period_of_time", "zbncp.data.period_of_time", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_last_msg_lqi, {"last_msg_lqi", "zbncp.data.last_msg_lqi", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_last_msg_rssi, {"last_msg_rssi", "zbncp.data.last_msg_rssi", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_number_of_resets, {"number_of_resets", "zbncp.data.number_of_resets", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_tx_bcast, {"aps_tx_bcast", "zbncp.data.aps_tx_bcast", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_tx_ucast_success, {"aps_tx_ucast_success", "zbncp.data.aps_tx_ucast_success", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_tx_ucast_retry, {"aps_tx_ucast_retry", "zbncp.data.aps_tx_ucast_retry", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_tx_ucast_fail, {"aps_tx_ucast_fail", "zbncp.data.aps_tx_ucast_fail", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_route_disc_initiated, {"route_disc_initiated", "zbncp.data.route_disc_initiated", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_neighbor_added, {"nwk_neighbor_added", "zbncp.data.nwk_neighbor_added", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_neighbor_removed, {"nwk_neighbor_removed", "zbncp.data.nwk_neighbor_removed", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_neighbor_stale, {"nwk_neighbor_stale", "zbncp.data.nwk_neighbor_stale", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_upd_status_code, {"Device update status code", "zbncp.data.dev_upd_status_code", FT_UINT8, BASE_DEC, VALS(zbncp_dev_update_status_code), 0x0, NULL, HFILL}}, {&hf_zbncp_data_join_indication, {"join_indication", "zbncp.data.join_indication", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_childs_removed, {"childs_removed", "zbncp.data.childs_removed", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_fc_failure, {"nwk_fc_failure", "zbncp.data.nwk_fc_failure", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_unauthorized_key, {"aps_unauthorized_key", "zbncp.data.aps_unauthorized_key", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_decrypt_failure, {"nwk_decrypt_failure", "zbncp.data.nwk_decrypt_failure", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_decrypt_failure, {"aps_decrypt_failure", "zbncp.data.aps_decrypt_failure", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_packet_buffer_allocate_failures, {"packet_buffer_allocate_failures", "zbncp.data.packet_buffer_allocate_failures", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_average_mac_retry_per_aps_message_sent, {"average_mac_retry_per_aps_message_sent", "zbncp.data.avg_mac_retry", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_fc_failure, {"aps_fc_failure", "zbncp.data.aps_fc_failure", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_retry_overflow, {"nwk_retry_overflow", "zbncp.data.nwk_retry_overflow", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_bcast_table_full, {"nwk_bcast_table_full", "zbncp.data.nwk_bcast_table_full", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_status, {"status", "zbncp.data.status", FT_INT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_auth_type, {"Authorization type", "zbncp.data.zdo_auth_type", FT_UINT8, BASE_DEC, VALS(zbncp_zdo_auth_types), 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_leg_auth_status_code, {"Status code", "zbncp.data.zdo_status_code", FT_UINT8, BASE_DEC, VALS(zbncp_zdo_leg_auth_status_codes), 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_tclk_auth_status_code, {"Status code", "zbncp.data.zdo_status_code", FT_UINT8, BASE_DEC, VALS(zbncp_zdo_tclk_auth_status_codes), 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_server_mask, {"Server mask", "zbncp.data.zdo_serv_mask", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_start_entry_idx, {"Start entry index", "zbncp.data.zdo_start_idx", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_scan_duration, {"Scan duration", "zbncp.data.zdo_scan_duration", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_scan_cnt, {"Scan count", "zbncp.data.zdo_scan_cnt", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_zdo_scan_mgr_addr, {"Manager NWK address", "zbncp.data.zdo_mgr_addr", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_cnt, {"APS counter", "zbncp.data.aps_cnt", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_fc, {"APS FC", "zbncp.data.aps_fc", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_fc_deliv_mode, {"Delivery mode", "zbncp.data.aps_fc.deliv_mode", FT_UINT8, BASE_DEC, VALS(zbncp_deliv_mode), 0x0C, NULL, HFILL}}, {&hf_zbncp_data_aps_fc_secur, {"Security", "zbncp.data.aps_fc.secur", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL}}, {&hf_zbncp_data_aps_fc_ack_retrans, {"ACK & retransmit", "zbncp.data.aps_fc.ack_retrans", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL}}, {&hf_zbncp_data_aps_key_attr, {"APS key source & attr", "zbncp.data.aps_key_attr", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_aps_key_attr_key_src, {"Key source", "zbncp.data.aps_key_attr.key_src", FT_UINT8, BASE_HEX, VALS(zbncp_aps_key_src), 0x1, NULL, HFILL}}, {&hf_zbncp_data_aps_key_attr_key_used, {"Key used", "zbncp.data.aps_key_attr.key_used", FT_UINT8, BASE_HEX, VALS(zbncp_aps_key_used), 0x6, NULL, HFILL}}, {&hf_zbncp_data_pkt_len, {"Packet length", "zbncp.data.pkt_len", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_pkt, {"Packet", "zbncp.data.pkt", FT_UINT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_scan_dur, {"Scan Duration", "zbncp.data.scan_dur", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_distr_nwk_flag, {"Distributed Network Flag", "zbncp.data.distr_nwk_flag", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_count, {"Network Count", "zbncp.data.nwk_cnt", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_nwk_upd_id, {"NWK Update ID", "zbncp.data.nwk_upd_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_rejoin, {"Rejoin", "zbncp.data.rejoin", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_rejoin_nwk, {"Rejoin Network", "zbncp.data.rejoin_nwk", FT_UINT8, BASE_DEC, VALS(zbncp_rejoin_nwk), 0x0, NULL, HFILL}}, {&hf_zbncp_data_secur_en, {"Security Enable", "zbncp.data.secur_en", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_enh_beacon, {"Enhanced Beacon", "zbncp.data.enh_beacon", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_beacon_type, {"Beacon Type", "zbncp.data.beacon_type", FT_UINT8, BASE_DEC, VALS(zbncp_beacon_type), 0x0, NULL, HFILL}}, {&hf_zbncp_data_beacon_order, {"Beacon Order", "zbncp.data.becon_order", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_superframe_order, {"Superframe Order", "zbncp.data.supeframe_order", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_battery_life_ext, {"Battery Life Extension", "zbncp.data.battery_life_ext", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_if, {"MAC interface #", "zbncp.data.mac_if", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_ed_config, {"ED config", "zbncp.data.ed_cfg", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_timeout_cnt, {"Timeout Counter", "zbncp.data.timeout_cnt", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_keepalive_mode, {"Keepalive mode", "zbncp.data.keepalive", FT_UINT8, BASE_DEC, VALS(zbncp_keepalive_mode), 0x0, NULL, HFILL}}, {&hf_zbncp_data_dev_timeout, {"Device Timeout", "zbncp.data.dev_timeout", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_relationship, {"Relationship", "zbncp.data.relationship", FT_UINT8, BASE_HEX, VALS(zbncp_relationship), 0x0, NULL, HFILL}}, {&hf_zbncp_data_tx_fail_cnt, {"Transmit Failure Cnt", "zbncp.data.tx_fail_cnt", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_out_cost, {"Outgoing Cost", "zbncp.data.out_cost", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_age, {"Age", "zbncp.data.age", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_trace_mask, {"Trace mask", "zbncp.data.trace_mask", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_trace_wireless_traf, {"Wireless traffic", "zbncp.data.trace_wireless_traf", FT_UINT32, BASE_DEC, NULL, 0x1, NULL, HFILL}}, {&hf_zbncp_data_trace_reserved, {"Reserved", "zbncp.data.trace_reserved", FT_UINT32, BASE_DEC, NULL, 0x2, NULL, HFILL}}, {&hf_zbncp_data_trace_ncp_ll_proto, {"NCP LL protocol", "zbncp.data.trace_ncp_ll_proto", FT_UINT32, BASE_DEC, NULL, 0x4, NULL, HFILL}}, {&hf_zbncp_data_trace_host_int_line, {"HOST INT line", "zbncp.data.trace_host_int_line", FT_UINT32, BASE_DEC, NULL, 0x8, NULL, HFILL}}, {&hf_zbncp_data_trace_sleep_awake, {"Sleep/awake", "zbncp.data.trace_sleep_awake", FT_UINT32, BASE_DEC, NULL, 0x10, NULL, HFILL}}, {&hf_zbncp_data_keepalive_rec, {"Keepalive Received", "zbncp.data.keepalive_rec", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_mac_if_idx, {"MAC Interface Index", "zbncp.data.mac_if_idx", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_fast_poll_int, {"Fast Poll Interval", "zbncp.data.fast_poll", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_long_poll_int, {"Long Poll Interval", "zbncp.data.long_poll", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_fast_poll_flag, {"Fast Poll Flag", "zbncp.data.fast_poll_flag", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_stop_fast_poll_result, {"Stop Fast Poll Result", "zbncp.data.stop_fast_poll_result", FT_UINT8, BASE_HEX, VALS(zbncp_stop_fast_poll_result), 0x0, NULL, HFILL}}, {&hf_zbncp_data_time, {"Time", "zbncp.data.time", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_pan_id_cnt, {"Pan ID count", "zbncp.data.pan_id_cnt", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_ic, {"Install Code", "zbncp.data.ic", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_ic_table_size, {"IC Table Size", "zbncp.data.table_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_ic_ent_cnt, {"Entry Count", "zbncp.data.entry_count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_cs, {"Suite", "zbncp.data.cs", FT_UINT8, BASE_DEC, VALS(zbncp_cs), 0, NULL, HFILL}}, {&hf_zbncp_data_ca_pub_key, {"CA Public Key", "zbncp.data.ca_pub_key", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_ca_priv_key, {"Device Private Key", "zbncp.data.ca_priv_key", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_cert, {"Certificate", "zbncp.data.cert", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_issuer, {"Issuer", "zbncp.data.issuer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_ic_en, {"Enable IC", "zbncp.data.ic_en", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_key_type, {"Key type", "zbncp.data.key_type", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_data_tx_power, {"TX Power", "zbncp.data.tx_power", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_tx_time, {"TX Time", "zbncp.data.tx_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_seed, {"Seed", "zbncp.data.seed", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_link_key, {"Link Key", "zbncp.data.link_key", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_aps_link_key_type, {"APS Link Key Type", "zbncp.data.link_key_type", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_key_src, {"Key source", "zbncp.data.key_src", FT_UINT8, BASE_DEC, VALS(zbncp_key_src), 0, NULL, HFILL}}, {&hf_zbncp_data_key_attr, {"Key attributes", "zbncp.data.key_attr", FT_UINT8, BASE_DEC, VALS(zbncp_key_attr), 0, NULL, HFILL}}, {&hf_zbncp_data_out_frame_cnt, {"Outgoing frame counter", "zbncp.data.out_cnt", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_inc_frame_cnt, {"Incoming frame counter", "zbncp.data.inc_cnt", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_dump_type, {"Dump Type", "zbncp.data.dump_type", FT_UINT8, BASE_DEC, VALS(zbncp_dump_type), 0, NULL, HFILL}}, {&hf_zbncp_data_dump_text, {"Dump", "zbncp.data.dump_text", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_dump_bin, {"Dump", "zbncp.data.dump_bin", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_offset, {"Offset", "zbncp.data.offset", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_do_erase, {"Do erase", "zbncp.data.do_erase", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_calibration_status, {"Calibration status", "zbncp.data.calibration_status", FT_UINT8, BASE_HEX, VALS(zbncp_calibration_status), 0, NULL, HFILL}}, {&hf_zbncp_data_calibration_value, {"Calibration value", "zbncp.data.calibration_value", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_zgp_key_type, {"Key type", "zbncp.data.zgp_key_type", FT_UINT8, BASE_HEX, VALS(zbncp_zgp_key_types), 0, NULL, HFILL}}, {&hf_zbncp_data_zgp_link_key, {"Link key", "zbncp.data.zgp_link_key", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_prod_conf_hdr_crc, {"Production confgi crc", "zbncp.data.prod_conf.hdr.crc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_prod_conf_hdr_len, {"Length (with application section)", "zbncp.data.prod_conf.hdr.len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_prod_conf_hdr_version, {"Version", "zbncp.data.prod_conf.hdr.version", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL}}, {&hf_zbncp_data_prod_conf_body, {"Production config body", "zbncp.data.prod_conf.body", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL}}, /* ZBOSS NCP dump */ {&hf_zbncp_dump_preambule, {"ZBNCP Dump preambule", "zbncp.dump.preambule", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_dump_version, {"ZBNCP Dump version", "zbncp.dump.version", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_dump_type, {"Frame type", "zbncp.dump.ftype", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_dump_options, {"Options", "zbncp.dump.options", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL}}, {&hf_zbncp_dump_options_dir, {"Direction", "zbncp.dump.options.direction", FT_BOOLEAN, 8, NULL, ZBNCP_DUMP_DIR_MASK, NULL, HFILL}}, {&hf_zbncp_dump_options_int_state, {"HOST INT", "zbncp.dump.options.int_state", FT_BOOLEAN, 8, NULL, ZBNCP_DUMP_HOST_INT_DUMP_MASK, NULL, HFILL}}, {&hf_zbncp_dump_options_tx_conflict, {"Potential TX/TX conflict", "zbncp.dump.options.tx_conflict", FT_BOOLEAN, 8, NULL, ZBNCP_DUMP_POTENTIAL_TX_RX_ERROR_MASK, NULL, HFILL}}, /* Capability Information Fields */ {&hf_ieee802154_cinfo_alt_coord, {"Alternate PAN Coordinator", "zbncp.wpan.cinfo.alt_coord", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_ALT_PAN_COORD, "Whether this device can act as a PAN coordinator or not.", HFILL}}, {&hf_ieee802154_cinfo_device_type, {"Device Type", "zbncp.wpan.cinfo.device_type", FT_BOOLEAN, 8, TFS(&tfs_cinfo_device_type), IEEE802154_CMD_CINFO_DEVICE_TYPE, "Whether this device is RFD (reduced-function device) or FFD (full-function device).", HFILL}}, {&hf_ieee802154_cinfo_power_src, {"Power Source", "zbncp.wpan.cinfo.power_src", FT_BOOLEAN, 8, TFS(&tfs_cinfo_power_src), IEEE802154_CMD_CINFO_POWER_SRC, "Whether this device is operating on AC/mains or battery power.", HFILL}}, {&hf_ieee802154_cinfo_idle_rx, {"Receive On When Idle", "zbncp.wpan.cinfo.idle_rx", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_IDLE_RX, "Whether this device can receive packets while idle or not.", HFILL}}, {&hf_ieee802154_cinfo_sec_capable, {"Security Capability", "zbncp.wpan.cinfo.sec_capable", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_SEC_CAPABLE, "Whether this device is capable of receiving encrypted packets.", HFILL}}, {&hf_ieee802154_cinfo_alloc_addr, {"Allocate Address", "zbncp.wpan.cinfo.alloc_addr", FT_BOOLEAN, 8, NULL, IEEE802154_CMD_CINFO_ALLOC_ADDR, "Whether this device wishes to use a 16-bit short address instead of its IEEE 802.15.4 64-bit long address.", HFILL}}}; /* Protocol subtrees */ static gint *ett[] = { &ett_zbncp_hdr, &ett_zbncp_hdr_flags, &ett_zbncp_ll_body, &ett_zbncp_hl_hdr, &ett_zbncp_hl_body, &ett_zbncp_data_in_cl_list, &ett_zbncp_data_out_cl_list, &ett_zbncp_data_mac_cap, &ett_zbncp_data_pwr_src, &ett_zbncp_data_cur_pwr_src, &ett_zbncp_data_asoc_nwk_list, &ett_zbncp_data_pwr_desc, &ett_zbncp_data_desc_cap, &ett_zbncp_data_flags, &ett_zbncp_data_server_mask, &ett_zbncp_data_ep_list, &ett_zbncp_data_leave_flags, &ett_zbncp_data_tx_opt, &ett_zbncp_data_zdo_rejoin_flags, &ett_zbncp_data_apc_fc, &ett_zbncp_data_prod_conf_hdr, &ett_zbncp_data_aps_key_attr, &ett_zbncp_data_ch_list, &ett_zbncp_data_channel, &ett_zbncp_data_nwk_descr, &ett_zbncp_data_cmd_opt, &ett_zbncp_data_joind_bitmask, &ett_zbncp_data_trace_bitmask, &ett_zbncp_dump, &ett_zbncp_dump_opt }; zbncp_frame = proto_register_protocol("ZBOSS Network Coprocessor product", "ZB NCP", ZBNCP_PROTOABBREV); proto_register_field_array(zbncp_frame, hf_zbncp_phy, array_length(hf_zbncp_phy)); proto_register_subtree_array(ett, array_length(ett)); zbncp_handle = register_dissector("zbncp", dissect_zbncp, proto_zbncp); } /* proto_register_zbncp */ void proto_reg_handoff_zbncp(void) { zbncp_handle = create_dissector_handle(dissect_zbncp, zbncp_frame); dissector_add_uint("wtap_encap", WTAP_ENCAP_ZBNCP, zbncp_handle); }
C/C++
wireshark/epan/dissectors/packet-zbncp.h
/* packet-zbncp.h * Dissector routines for the ZBOSS Network Co-Processor (NCP) * Copyright 2021 DSR Corporation, http://dsr-wireless.com/ * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _PACKET_ZBNCP_H #define _PACKET_ZBNCP_H #define ZBNCP_HIGH_LVL_PACKET_TYPE_REQUEST 0x00 #define ZBNCP_HIGH_LVL_PACKET_TYPE_RESPONSE 0x01 #define ZBNCP_HIGH_LVL_PACKET_TYPE_INDICATION 0x02 #define ZBNCP_HIGH_LVL_STAT_CAT_GENERIC 0x00 #define ZBNCP_HIGH_LVL_STAT_CAT_SYSTEM 0x01 #define ZBNCP_HIGH_LVL_STAT_CAT_MAC 0x02 #define ZBNCP_HIGH_LVL_STAT_CAT_NWK 0x03 #define ZBNCP_HIGH_LVL_STAT_CAT_APS 0x04 #define ZBNCP_HIGH_LVL_STAT_CAT_ZDO 0x05 #define ZBNCP_HIGH_LVL_STAT_CAT_CBKE 0x06 #define ZBNCP_CMD_GET_MODULE_VERSION 0x0001 #define ZBNCP_CMD_NCP_RESET 0x0002 #define ZBNCP_CMD_NCP_FACTORY_RESET 0x0003 #define ZBNCP_CMD_GET_ZIGBEE_ROLE 0x0004 #define ZBNCP_CMD_SET_ZIGBEE_ROLE 0x0005 #define ZBNCP_CMD_GET_ZIGBEE_CHANNEL_MASK 0x0006 #define ZBNCP_CMD_SET_ZIGBEE_CHANNEL_MASK 0x0007 #define ZBNCP_CMD_GET_ZIGBEE_CHANNEL 0x0008 #define ZBNCP_CMD_GET_PAN_ID 0x0009 #define ZBNCP_CMD_SET_PAN_ID 0x000A #define ZBNCP_CMD_GET_LOCAL_IEEE_ADDR 0x000B #define ZBNCP_CMD_SET_LOCAL_IEEE_ADDR 0x000C #define ZBNCP_CMD_SET_TRACE 0x000D #define ZBNCP_CMD_GET_KEEPALIVE_TIMEOUT 0x000E #define ZBNCP_CMD_SET_KEEPALIVE_TIMEOUT 0x000F #define ZBNCP_CMD_GET_TX_POWER 0x0010 #define ZBNCP_CMD_SET_TX_POWER 0x0011 #define ZBNCP_CMD_GET_RX_ON_WHEN_IDLE 0x0012 #define ZBNCP_CMD_SET_RX_ON_WHEN_IDLE 0x0013 #define ZBNCP_CMD_GET_JOINED 0x0014 #define ZBNCP_CMD_GET_AUTHENTICATED 0x0015 #define ZBNCP_CMD_GET_ED_TIMEOUT 0x0016 #define ZBNCP_CMD_SET_ED_TIMEOUT 0x0017 #define ZBNCP_CMD_ADD_VISIBLE_DEV 0x0018 #define ZBNCP_CMD_ADD_INVISIBLE_SHORT 0x0019 #define ZBNCP_CMD_RM_INVISIBLE_SHORT 0x001A #define ZBNCP_CMD_SET_NWK_KEY 0x001B #define ZBNCP_CMD_GET_SERIAL_NUMBER 0x001C #define ZBNCP_CMD_GET_VENDOR_DATA 0x001D #define ZBNCP_CMD_GET_NWK_KEYS 0x001E #define ZBNCP_CMD_GET_APS_KEY_BY_IEEE 0x001F #define ZBNCP_CMD_BIG_PKT_TO_NCP 0x0020 #define ZBNCP_CMD_GET_PARENT_ADDR 0x0022 #define ZBNCP_CMD_GET_EXT_PAN_ID 0x0023 #define ZBNCP_CMD_GET_COORDINATOR_VERSION 0x0024 #define ZBNCP_CMD_GET_SHORT_ADDRESS 0x0025 #define ZBNCP_CMD_GET_TRUST_CENTER_ADDRESS 0x0026 #define ZBNCP_CMD_DEBUG_WRITE 0x0027 #define ZBNCP_CMD_GET_CONFIG_PARAMETER 0x0028 #define ZBNCP_CMD_GET_LOCK_STATUS 0x0029 #define ZBNCP_CMD_GET_TRACE 0x002A #define ZBNCP_CMD_NCP_RESET_IND 0x002B #define ZBNCP_CMD_SET_NWK_LEAVE_ALLOWED 0x002C #define ZBNCP_CMD_GET_NWK_LEAVE_ALLOWED 0x002D #define ZBNCP_CMD_NVRAM_WRITE 0x002E #define ZBNCP_CMD_NVRAM_READ 0x002F #define ZBNCP_CMD_NVRAM_ERASE 0x0030 #define ZBCNP_CMD_NVRAM_CLEAR 0x0031 #define ZBNCP_CMD_SET_TC_POLICY 0x0032 #define ZBNCP_CMD_SET_EXTENDED_PAN_ID 0x0033 #define ZBNCP_CMD_SET_MAX_CHILDREN 0x0034 #define ZBNCP_CMD_GET_MAX_CHILDREN 0x0035 #define ZBNCP_CMD_SET_ZDO_LEAVE_ALLOWED 0x0036 #define ZBNCP_CMD_GET_ZDO_LEAVE_ALLOWED 0x0037 #define ZBNCP_CMD_SET_LEAVE_WO_REJOIN_ALLOWED 0x0038 #define ZBNCP_CMD_GET_LEAVE_WO_REJOIN_ALLOWED 0x0039 #define ZBNCP_CMD_DISABLE_GPPB 0x003A #define ZBNCP_CMD_GP_SET_SHARED_KEY_TYPE 0x003B #define ZBNCP_CMD_GP_SET_DEFAULT_LINK_KEY 0x003C #define ZBNCP_CMD_PRODUCTION_CONFIG_READ 0x003D #define ZBNCP_CMD_AF_SET_SIMPLE_DESC 0x0101 #define ZBNCP_CMD_AF_DEL_EP 0x0102 #define ZBNCP_CMD_AF_SET_NODE_DESC 0x0103 #define ZBNCP_CMD_AF_SET_POWER_DESC 0x0104 #define ZBNCP_CMD_AF_SUBGHZ_SUSPEND_IND 0x0105 #define ZBNCP_CMD_AF_SUBGHZ_RESUME_IND 0x0106 #define ZBNCP_CMD_ZDO_NWK_ADDR_REQ 0x0201 #define ZBNCP_CMD_ZDO_IEEE_ADDR_REQ 0x0202 #define ZBNCP_CMD_ZDO_POWER_DESC_REQ 0x0203 #define ZBNCP_CMD_ZDO_NODE_DESC_REQ 0x0204 #define ZBNCP_CMD_ZDO_SIMPLE_DESC_REQ 0x0205 #define ZBNCP_CMD_ZDO_ACTIVE_EP_REQ 0x0206 #define ZBNCP_CMD_ZDO_MATCH_DESC_REQ 0x0207 #define ZBNCP_CMD_ZDO_BIND_REQ 0x0208 #define ZBNCP_CMD_ZDO_UNBIND_REQ 0x0209 #define ZBNCP_CMD_ZDO_MGMT_LEAVE_REQ 0x020A #define ZBNCP_CMD_ZDO_PERMIT_JOINING_REQ 0x020B #define ZBNCP_CMD_ZDO_DEV_ANNCE_IND 0x020C #define ZBNCP_CMD_ZDO_REJOIN 0x020D #define ZBNCP_CMD_ZDO_SYSTEM_SRV_DISCOVERY_REQ 0x020E #define ZBNCP_CMD_ZDO_MGMT_BIND_REQ 0x020F #define ZBNCP_CMD_ZDO_MGMT_LQI_REQ 0x0210 #define ZBNCP_CMD_ZDO_MGMT_NWK_UPDATE_REQ 0x0211 #define ZBNCP_CMD_ZDO_REMOTE_CMD_IND 0x0212 #define ZBNCP_CMD_ZDO_GET_STATS 0x0213 #define ZBNCP_CMD_ZDO_DEV_AUTHORIZED_IND 0x0214 #define ZBNCP_CMD_ZDO_DEV_UPDATE_IND 0x0215 #define ZBNCP_CMD_ZDO_SET_NODE_DESC_MANUF_CODE 0x0216 #define ZBNCP_CMD_HL_ZDO_GET_DIAG_DATA_REQ 0x0217 #define ZBNCP_CMD_APSDE_DATA_REQ 0x0301 #define ZBNCP_CMD_APSME_BIND 0x0302 #define ZBNCP_CMD_APSME_UNBIND 0x0303 #define ZBNCP_CMD_APSME_ADD_GROUP 0x0304 #define ZBNCP_CMD_APSME_RM_GROUP 0x0305 #define ZBNCP_CMD_APSDE_DATA_IND 0x0306 #define ZBNCP_CMD_APSME_RM_ALL_GROUPS 0x0307 #define ZBNCP_CMD_APS_GET_GROUP_TABLE 0x0309 #define ZBNCP_CMD_APSME_UNBIND_ALL 0x030A #define ZBNCP_CMD_APSME_GET_BIND_ENTRY_BY_ID 0x030B #define ZBNCP_CMD_APSME_RM_BIND_ENTRY_BY_ID 0x030C #define ZBNCP_CMD_APSME_CLEAR_BIND_TABLE 0x030D #define ZBNCP_CMD_APSME_REMOTE_BIND_IND 0x030E #define ZBNCP_CMD_APSME_REMOTE_UNBIND_IND 0x030F #define ZBNCP_CMD_APSME_SET_REMOTE_BIND_OFFSET 0x0310 #define ZBNCP_CMD_APSME_GET_REMOTE_BIND_OFFSET 0x0311 #define ZBNCP_CMD_NWK_FORMATION 0x0401 #define ZBNCP_CMD_NWK_DISCOVERY 0x0402 #define ZBNCP_CMD_NWK_NLME_JOIN 0x0403 #define ZBNCP_CMD_NWK_PERMIT_JOINING 0x0404 #define ZBNCP_CMD_NWK_GET_IEEE_BY_SHORT 0x0405 #define ZBNCP_CMD_NWK_GET_SHORT_BY_IEEE 0x0406 #define ZBNCP_CMD_NWK_GET_NEIGHBOR_BY_IEEE 0x0407 #define ZBNCP_CMD_NWK_STARTED_IND 0x0408 #define ZBNCP_CMD_NWK_REJOINED_IND 0x0409 #define ZBNCP_CMD_NWK_REJOIN_FAILED_IND 0x040A #define ZBNCP_CMD_NWK_LEAVE_IND 0x040B #define ZBNCP_CMD_PIM_SET_FAST_POLL_INTERVAL 0x040E #define ZBNCP_CMD_PIM_SET_LONG_POLL_INTERVAL 0x040F #define ZBNCP_CMD_PIM_START_FAST_POLL 0x0410 #define ZBNCP_CMD_PIM_START_POLL 0x0412 #define ZBNCP_CMD_PIM_SET_ADAPTIVE_POLL 0x0413 #define ZBNCP_CMD_PIM_STOP_FAST_POLL 0x0414 #define ZBNCP_CMD_PIM_STOP_POLL 0x0415 #define ZBNCP_CMD_PIM_ENABLE_TURBO_POLL 0x0416 #define ZBNCP_CMD_PIM_DISABLE_TURBO_POLL 0x0417 #define ZBNCP_CMD_NWK_GET_FIRST_NBT_ENTRY 0x0418 #define ZBNCP_CMD_NWK_GET_NEXT_NBT_ENTRY 0x0419 #define ZBNCP_CMD_NWK_PAN_ID_CONFLICT_RESOLVE 0x041A #define ZBNCP_CMD_NWK_PAN_ID_CONFLICT_IND 0x041B #define ZBNCP_CMD_NWK_ADDRESS_UPDATE_IND 0x041C #define ZBNCP_CMD_NWK_START_WITHOUT_FORMATION 0x041D #define ZBNCP_CMD_NWK_NLME_ROUTER_START 0x041E #define ZBNCP_CMD_PIM_SINGLE_POLL 0x041F #define ZBNCP_CMD_PARENT_LOST_IND 0x0420 #define ZBNCP_CMD_PIM_START_TURBO_POLL_PACKETS 0x0424 #define ZBNCP_CMD_PIM_START_TURBO_POLL_CONTINUOUS 0x0425 #define ZBNCP_CMD_PIM_TURBO_POLL_CONTINUOUS_LEAVE 0x0426 #define ZBNCP_CMD_PIM_TURBO_POLL_PACKETS_LEAVE 0x0427 #define ZBNCP_CMD_PIM_PERMIT_TURBO_POLL 0x0428 #define ZBNCP_CMD_PIM_SET_FAST_POLL_TIMEOUT 0x0429 #define ZBNCP_CMD_PIM_GET_LONG_POLL_INTERVAL 0x042A #define ZBNCP_CMD_PIM_GET_IN_FAST_POLL_FLAG 0x042B #define ZBNCP_CMD_SET_KEEPALIVE_MODE 0x042C #define ZBNCP_CMD_START_CONCENTRATOR_MODE 0x042D #define ZBNCP_CMD_STOP_CONCENTRATOR_MODE 0x042E #define ZBNCP_CMD_NWK_ENABLE_PAN_ID_CONFLICT_RESOLUTION 0x042F #define ZBNCP_CMD_NWK_ENABLE_AUTO_PAN_ID_CONFLICT_RESOLUTION 0x0430 #define ZBNCP_CMD_PIM_TURBO_POLL_CANCEL_PACKET 0x0431 #define ZBNCP_CMD_SET_FORCE_ROUTE_RECORD 0x0432 #define ZBNCP_CMD_GET_FORCE_ROUTE_RECORD 0x0433 #define ZBNCP_CMD_NWK_NBR_ITERATOR_NEXT 0x0434 #define ZBNCP_CMD_SECUR_SET_LOCAL_IC 0x0501 #define ZBNCP_CMD_SECUR_ADD_IC 0x0502 #define ZBNCP_CMD_SECUR_DEL_IC 0x0503 #define ZBNCP_CMD_SECUR_ADD_CERT 0x0504 #define ZBNCP_CMD_SECUR_DEL_CERT 0x0505 #define ZBNCP_CMD_SECUR_START_KE 0x0506 #define ZBNCP_CMD_SECUR_START_PARTNER_LK 0x0507 #define ZBNCP_CMD_SECUR_CBKE_SRV_FINISHED_IND 0x0508 #define ZBNCP_CMD_SECUR_PARTNER_LK_FINISHED_IND 0x0509 #define ZBNCP_CMD_SECUR_JOIN_USES_IC 0x050A #define ZBNCP_CMD_SECUR_GET_IC_BY_IEEE 0x050B #define ZBNCP_CMD_SECUR_GET_CERT 0x050C #define ZBNCP_CMD_SECUR_GET_LOCAL_IC 0x050D #define ZBNCP_CMD_SECUR_TCLK_IND 0x050E #define ZBNCP_CMD_SECUR_TCLK_EXCHANGE_FAILED_IND 0x050F #define ZBNCP_CMD_SECUR_KE_WHITELIST_ADD 0x0510 #define ZBNCP_CMD_SECUR_KE_WHITELIST_DEL 0x0511 #define ZBNCP_CMD_SECUR_KE_WHITELIST_DEL_ALL 0x0512 #define ZBNCP_CMD_SECUR_GET_KEY_IDX 0x0513 #define ZBNCP_CMD_SECUR_GET_KEY 0x0514 #define ZBNCP_CMD_SECUR_ERASE_KEY 0x0515 #define ZBNCP_CMD_SECUR_CLEAR_KEY_TABLE 0x0516 #define ZBNCP_CMD_SECUR_NWK_INITIATE_KEY_SWITCH_PROCEDURE 0x0517 #define ZBNCP_CMD_SECUR_GET_IC_LIST 0x0518 #define ZBNCP_CMD_SECUR_GET_IC_BY_IDX 0x0519 #define ZBNCP_CMD_SECUR_REMOVE_ALL_IC 0x051A #define ZBNCP_CMD_SECUR_PARTNER_LK_ENABLE 0x051B #define ZBNCP_CMD_MANUF_MODE_START 0x0601 #define ZBNCP_CMD_MANUF_MODE_END 0x0602 #define ZBNCP_CMD_MANUF_SET_CHANNEL 0x0603 #define ZBNCP_CMD_MANUF_GET_CHANNEL 0x0604 #define ZBNCP_CMD_MANUF_SET_POWER 0x0605 #define ZBNCP_CMD_MANUF_GET_POWER 0x0606 #define ZBNCP_CMD_MANUF_START_TONE 0x0607 #define ZBNCP_CMD_MANUF_STOP_TONE 0x0608 #define ZBNCP_CMD_MANUF_START_STREAM_RANDOM 0x0609 #define ZBNCP_CMD_MANUF_STOP_STREAM_RANDOM 0x060A #define ZBNCP_CMD_NCP_HL_MANUF_SEND_SINGLE_PACKET 0x060B #define ZBNCP_CMD_MANUF_START_TEST_RX 0x060C #define ZBNCP_CMD_MANUF_STOP_TEST_RX 0x060D #define ZBNCP_CMD_MANUF_RX_PACKET_IND 0x060E #define ZBNCP_CMD_OTA_RUN_BOOTLOADER 0x0701 #define ZBNCP_CMD_OTA_START_UPGRADE_IND 0x0702 #define ZBNCP_CMD_OTA_SEND_PORTION_FW 0x0703 #define ZBNCP_CMD_READ_NVRAM_RESERVED 0x0801 #define ZBNCP_CMD_WRITE_NVRAM_RESERVED 0x0802 #define ZBNCP_CMD_GET_CALIBRATION_INFO 0x0803 /* MAC enums */ #define MAC_ENUM_SUCCESS 0x00 #define MAC_ENUM_BEACON_LOSS 0xe0 #define MAC_ENUM_CHANNEL_ACCESS_FAILURE 0xe1 #define MAC_ENUM_COUNTER_ERROR 0xdb #define MAC_ENUM_DENIED 0xe2 #define MAC_ENUM_DISABLE_TRX_FAILURE 0xe3 #define MAC_ENUM_FRAME_TOO_LONG 0xe5 #define MAC_ENUM_IMPROPER_KEY_TYPE 0xdc #define MAC_ENUM_IMPROPER_SECURITY_LEVEL 0xdd #define MAC_ENUM_INVALID_ADDRESS 0xf5 #define MAC_ENUM_INVALID_GTS 0xe6 #define MAC_ENUM_INVALID_HANDLE 0xe7 #define MAC_ENUM_INVALID_INDEX 0xf9 #define MAC_ENUM_INVALID_PARAMETER 0xe8 #define MAC_ENUM_LIMIT_REACHED 0xfa #define MAC_ENUM_NO_ACK 0xe9 #define MAC_ENUM_NO_BEACON 0xea #define MAC_ENUM_NO_DATA 0xeb #define MAC_ENUM_NO_SHORT_ADDRESS 0xec #define MAC_ENUM_ON_TIME_TOO_LONG 0xf6 #define MAC_ENUM_OUT_OF_CAP 0xed #define MAC_ENUM_PAN_ID_CONFLICT 0xee #define MAC_ENUM_PAST_TIME 0xf7 #define MAC_ENUM_READ_ONLY 0xfb #define MAC_ENUM_REALIGNMENT 0xef #define MAC_ENUM_SCAN_IN_PROGRESS 0xfc #define MAC_ENUM_SECURITY_ERROR 0xe4 #define MAC_ENUM_SUPERFRAME_OVERLAP 0xfd #define MAC_ENUM_TRACKING_OFF 0xf8 #define MAC_ENUM_TRANSACTION_EXPIRED 0xf0 #define MAC_ENUM_TRANSACTION_OVERFLOW 0xf1 #define MAC_ENUM_TX_ACTIVE 0xf2 #define MAC_ENUM_UNAVAILABLE_KEY 0xf3 #define MAC_ENUM_UNSUPPORTED_LEGACY 0xde #define MAC_ENUM_UNSUPPORTED_SECURITY 0xdf /* NVRAM database types enum */ #define ZB_NVRAM_RESERVED 0 /**< Reserved value */ #define ZB_NVRAM_COMMON_DATA 1 /**< Dataset, contains common Zigbee data */ #define ZB_NVRAM_HA_DATA 2 /**< Dataset, contains HA profile Zigbee data */ #define ZB_NVRAM_ZCL_REPORTING_DATA 3 /**< Dataset, contains ZCL reporting data */ #define ZB_NVRAM_APS_SECURE_DATA_GAP 4 /**< Reserved value */ #define ZB_NVRAM_APS_BINDING_DATA_GAP 5 /**< Reserved value */ #define ZB_NVRAM_HA_POLL_CONTROL_DATA 6 /**< Dataset, contains HA POLL CONTROL data */ #define ZB_IB_COUNTERS 7 /**< Dataset, contains NIB outgoing frame counter */ #define ZB_NVRAM_DATASET_GRPW_DATA 8 /**< Green Power dataset */ #define ZB_NVRAM_APP_DATA1 9 /**< Application-specific data #1 */ #define ZB_NVRAM_APP_DATA2 10 /**< Application-specific data #2 */ #define ZB_NVRAM_ADDR_MAP 11 /**< Dataset stores address map info */ #define ZB_NVRAM_NEIGHBOUR_TBL 12 /**< Dataset stores Neighbor table info */ #define ZB_NVRAM_INSTALLCODES 13 /**< Dataset contains APS installcodes data */ #define ZB_NVRAM_APS_SECURE_DATA 14 /**< Dataset, contains APS secure keys data */ #define ZB_NVRAM_APS_BINDING_DATA 15 /**< Dataset, contains APS binding data */ #define ZB_NVRAM_DATASET_GP_PRPOXYT 16 /**< Green Power Proxy table */ #define ZB_NVRAM_DATASET_GP_SINKT 17 /**< Green Power Sink table */ #define ZB_NVRAM_DATASET_GP_CLUSTER 18 /**< Green Power Cluster data */ #define ZB_NVRAM_APS_GROUPS_DATA 19 /**< Dataset, contains APS groups data */ #define ZB_NVRAM_DATASET_SE_CERTDB 20 /**< Smart Energy Dataset - Certificates DataBase */ #define ZB_NVRAM_DATASET_GP_APP_TBL 22 /**< Dataset, contains ZCL WWAH data */ #define ZB_NVRAM_APP_DATA3 27 /**< Application-specific data #3 */ #define ZB_NVRAM_APP_DATA4 28 /**< Application-specific data #4 */ #define ZB_NVRAM_KE_WHITELIST 29 #define ZB_NVRAM_ZDO_DIAGNOSTICS_DATA 31 /**< Dataset of the Diagnostics cluster */ #define ZB_NVRAM_DATASET_NUMBER 32 /**< Count of Dataset */ #define ZB_NVRAM_DATA_SET_TYPE_PAGE_HDR 30 /**< Special internal dataset type */ /* NWK statuses */ #define ZBNCP_NWK_STATUS_SUCCESS 0x00 #define ZBNCP_NWK_STATUS_INVALID_PARAMETER 0xc1 #define ZBNCP_NWK_STATUS_INVALID_REQUEST 0xc2 #define ZBNCP_NWK_STATUS_NOT_PERMITTED 0xc3 #define ZBNCP_NWK_STATUS_ALREADY_PRESENT 0xc5 #define ZBNCP_NWK_STATUS_SYNC_FAILURE 0xc6 #define ZBNCP_NWK_STATUS_NEIGHBOR_TABLE_FULL 0xc7 #define ZBNCP_NWK_STATUS_UNKNOWN_DEVICE 0xc8 #define ZBNCP_NWK_STATUS_UNSUPPORTED_ATTRIBUTE 0xc9 #define ZBNCP_NWK_STATUS_NO_NETWORKS 0xca #define ZBNCP_NWK_STATUS_MAX_FRM_COUNTER 0xcc #define ZBNCP_NWK_STATUS_NO_KEY 0xcd #define ZBNCP_NWK_STATUS_ROUTE_DISCOVERY_FAILED 0xd0 #define ZBNCP_NWK_STATUS_ROUTE_ERROR 0xd1 #define ZBNCP_NWK_STATUS_BT_TABLE_FULL 0xd2 #define ZBNCP_NWK_STATUS_FRAME_NOT_BUFFERED 0xd3 #define ZBNCP_NWK_STATUS_INVALID_INTERFACE 0xd5 /* CBKE statuses */ #define ZBNCP_CBKE_STATUS_OK 0x00 #define ZBNCP_CBKE_STATUS_UNKNOWN_ISSUER 0x01 #define ZBNCP_CBKE_STATUS_BAD_KEY_CONFIRM 0x02 #define ZBNCP_CBKE_STATUS_BAD_MESSAGE 0x03 #define ZBNCP_CBKE_STATUS_NO_RESOURCES 0x04 #define ZBNCP_CBKE_STATUS_UNSUPPORTED_SUITE 0x05 #define ZBNCP_CBKE_STATUS_INVALID_CERTIFICATE 0x06 #define ZBNCP_CBKE_STATUS_NO_KE_EP 0x07 /* ZB NCP LL HDR PACKET FLAGS BITS */ #define ZBNCP_GET_PACKET_FLAGS_ACK_BIT(x) ((x) & 0x1) #define ZBNCP_GET_PACKET_FLAGS_RETRANS_BIT(x) (((x) >> 1) & 0x1) #define ZBNCP_GET_PACKET_FLAGS_SECNUM_BIT(x) (((x) >> 2) & 0x3) #define ZBNCP_GET_PACKET_FLAGS_ACKNUM_BIT(x) (((x) >> 4) & 0x3) #define ZBNCP_GET_PACKET_FLAGS_FIRST_FRAG_BIT(x) (((x) >> 6) & 0x1) #define ZBNCP_GET_PACKET_FLAGS_LAST_FRAG_BIT(x) (((x) >> 7) & 0x1) /* Parameter ID enum */ #define ZBNCP_PARAMETER_ID_IEEE_ADDR_TABLE_SIZE 1 #define ZBNCP_PARAMETER_ID_NEIGHBOR_TABLE_SIZE 2 #define ZBNCP_PARAMETER_ID_APS_SRC_BINDING_TABLE_SIZE 3 #define ZBNCP_PARAMETER_ID_APS_GROUP_TABLE_SIZE 4 #define ZBNCP_PARAMETER_ID_NWK_ROUTING_TABLE_SIZE 5 #define ZBNCP_PARAMETER_ID_NWK_ROUTE_DISCOVERY_TABLE_SIZE 6 #define ZBNCP_PARAMETER_ID_IOBUF_POOL_SIZE 7 #define ZBNCP_PARAMETER_ID_PANID_TABLE_SIZE 8 #define ZBNCP_PARAMETER_ID_APS_DUPS_TABLE_SIZE 9 #define ZBNCP_PARAMETER_ID_APS_BIND_TRANS_TABLE_SIZE 10 #define ZBNCP_PARAMETER_ID_N_APS_RETRANS_ENTRIES 11 #define ZBNCP_PARAMETER_ID_NWK_MAX_HOPS 12 #define ZBNCP_PARAMETER_ID_NIB_MAX_CHILDREN 13 #define ZBNCP_PARAMETER_ID_N_APS_KEY_PAIR_ARR_MAX_SIZE 14 #define ZBNCP_PARAMETER_ID_NWK_MAX_SRC_ROUTES 15 #define ZBNCP_PARAMETER_ID_APS_MAX_WINDOW_SIZE 16 #define ZBNCP_PARAMETER_ID_APS_INTERFRAME_DELAY 17 #define ZBNCP_PARAMETER_ID_ZDO_ED_BIND_TIMEOUT 18 #define ZBNCP_PARAMETER_ID_NIB_PASSIVE_ASK_TIMEOUT 19 #define ZBNCP_PARAMETER_ID_APS_ACK_TIMEOUTS 20 #define ZBNCP_PARAMETER_ID_MAC_BEACON_JITTER 21 #define ZBNCP_PARAMETER_ID_TX_POWER 22 #define ZBNCP_PARAMETER_ID_ZLL_DEFAULT_RSSI_THRESHOLD 23 #define ZBNCP_PARAMETER_ID_NIB_MTORR 24 #define ZB_APSDE_DST_ADDR_MODE_DST_ADDR_ENDP_NOT_PRESENT 0x00 /*!< DstAddress and DstEndpoint not present */ #define ZB_APSDE_DST_ADDR_MODE_16_GROUP_ENDP_NOT_PRESENT 0x01 /*!< 16-bit group address for DstAddress; DstEndpoint not present */ #define ZB_APSDE_DST_ADDR_MODE_16_ENDP_PRESENT 0x02 /*!< 16-bit address for DstAddress and DstEndpoint present */ #define ZB_APSDE_DST_ADDR_MODE_64_ENDP_PRESENT 0x03 /*!< 64-bit extended address for DstAddress and DstEndpoint present */ #define ZB_APSDE_DST_ADDR_MODE_BIND_TBL_ID 0x04 /*!< According to the dst binding table */ /* ZDO Auth types */ #define ZB_ZDO_AUTH_LEGACY_TYPE 0x00 #define ZB_ZDO_AUTH_TCLK_TYPE 0x01 #define ZBNCP_CMD_APSDE_DATA_REQ_DST_ADDR_MODE_OFFSET ( \ 8 /* union - short or long addr */ \ + 2 /* profile id */ \ + 2 /* cluster id */ \ + 1 /* dst ep */ \ + 1 /* src ep */ \ + 1) /* radius */ #define ZBNCP_CMD_APSDE_DATA_REQ_RSP_DST_ADDR_MODE_OFFSET ( \ 8 /* union - short or long addr */ \ + 1 /* dst ep */ \ + 1 /* src ep */ \ + 4) /* tx time */ #endif
C
wireshark/epan/dissectors/packet-zebra.c
/* packet-zebra.c * Routines for zebra packet disassembly * * Jochen Friedrich <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* * The Zebra Protocol is the protocol used between the Zebra routing daemon and * other protocol daemons (ones for BGP, OSPF, etc.) within the Zebra, Quagga, * and FRRouting open-source routing suites. * Zebra itself (https://www.gnu.org/software/zebra) is discontinued, * and its successor is Quagga (http://www.nongnu.org/quagga). * The successor to Quagga is FRRouting (https://frrouting.org/). * * All three use the "Zebra Protocol" (or ZAPI), but starting with Quagga v0.99 * there are different versions, with different header formats and more * commands/types. * * http://www.nongnu.org/quagga/docs/docs-info.html#Zebra-Protocol * http://docs.frrouting.org/projects/dev-guide/en/latest/zebra.html * * Version 0 (implicit): Zebra, Quagga up to version 0.98 * Version 1: Quagga 0.99.3 through 0.99.20 * Version 2: Quagga 0.99.21 though 0.99.23 * Version 3: Quagga 0.99.24 and later * Version 4: FRRouting 2.0 through 3.0.3 * Version 5: FRRouting 4.0 though 5.0.1 * Version 6: FRRouting 6.0 and later * * FRRouting versions 4 and 5 have partially incompatible commands. * This dissector uses the commands of FRRRouting version 5. * FRRouting versions 6 and 7 have partially incompatible commands. * This dissector uses the commands of FRRRouting version 7. */ #include "config.h" #include <epan/packet.h> /* Function declarations */ void proto_reg_handoff_zebra(void); void proto_register_zebra(void); static int proto_zebra = -1; static int hf_zebra_len = -1; static int hf_zebra_command = -1; static int hf_zebra_request = -1; static int hf_zebra_interface = -1; static int hf_zebra_index = -1; static int hf_zebra_indexnum = -1; static int hf_zebra_type_v0 = -1; static int hf_zebra_type_v1 = -1; static int hf_zebra_intflags = -1; static int hf_zebra_rtflags = -1; static int hf_zebra_distance = -1; static int hf_zebra_metric = -1; static int hf_zebra_mtu = -1; static int hf_zebra_mtu6 = -1; static int hf_zebra_bandwidth = -1; static int hf_zebra_family = -1; static int hf_zebra_flags = -1; static int hf_zebra_message = -1; static int hf_zebra_route_safi = -1; static int hf_zebra_msg_nexthop = -1; static int hf_zebra_msg_index = -1; static int hf_zebra_msg_distance = -1; static int hf_zebra_msg_metric = -1; static int hf_zebra_nexthopnum = -1; static int hf_zebra_nexthop4 = -1; static int hf_zebra_nexthop6 = -1; static int hf_zebra_dest4 = -1; static int hf_zebra_dest6 = -1; static int hf_zebra_prefixlen = -1; static int hf_zebra_prefix4 = -1; static int hf_zebra_prefix6 = -1; static int hf_zebra_version = -1; static int hf_zebra_marker = -1; static int hf_zebra_intstatus = -1; static int hf_zebra_routeridaddress = -1; static int hf_zebra_routeridmask = -1; static int hf_zebra_mac = -1; static int hf_zebra_redist_default = -1; static int hf_zebra_vrfid = -1; static int hf_zebra_routeridfamily = -1; static int hf_zebra_nexthoptype = -1; static int hf_zebra_msg_mtu = -1; static int hf_zebra_msg_tag = -1; static int hf_zebra_tag = -1; static int hf_zebra_maclen = -1; static int hf_zebra_haslinkparam = -1; /* FRRouting, Zebra API v4, v5 and v6 */ static int hf_zebra_command_v4 = -1; static int hf_zebra_command_v5 = -1; static int hf_zebra_command_v6 = -1; static int hf_zebra_type_v4 = -1; static int hf_zebra_type_v5 = -1; static int hf_zebra_ptmenable = -1; static int hf_zebra_ptmstatus = -1; static int hf_zebra_instance = -1; static int hf_zebra_rtflags_u32 = -1; static int hf_zebra_speed = -1; static int hf_zebra_lltype = -1; static int hf_zebra_message4 = -1; static int hf_zebra_message5 = -1; static int hf_zebra_route_safi_u8 = -1; static int hf_zebra_rmac = -1; static int hf_zebra_msg4_tag = -1; static int hf_zebra_msg4_mtu = -1; static int hf_zebra_msg4_srcpfx = -1; static int hf_zebra_msg5_distance = -1; static int hf_zebra_msg5_metric = -1; static int hf_zebra_msg5_tag = -1; static int hf_zebra_msg5_mtu = -1; static int hf_zebra_msg5_srcpfx = -1; static int hf_zebra_msg_label = -1; static int hf_zebra_msg_tableid = -1; static int hf_zebra_nexthopnum_u16 = -1; static int hf_zebra_nexthoptype_frr = -1; static int hf_zebra_bhtype = -1; static int hf_zebra_srcprefixlen = -1; static int hf_zebra_srcprefix4 = -1; static int hf_zebra_srcprefix6 = -1; static int hf_zebra_tableid = -1; static int hf_zebra_afi = -1; static int hf_zebra_pid = -1; static int hf_zebra_vrf_table_id = -1; static int hf_zebra_vrf_netns_name = -1; static int hf_zebra_vrf_name = -1; static int hf_zebra_proto = -1; static int hf_zebra_label_chunk_keep = -1; static int hf_zebra_label_chunk_size = -1; static int hf_zebra_label_chunk_start = -1; static int hf_zebra_label_chunk_end = -1; static int hf_zebra_mpls_enabled = -1; static int hf_zebra_multipath_num = -1; static int hf_zebra_labelnum = -1; static int hf_zebra_label = -1; static int hf_zebra_receive_notify = -1; static gint ett_zebra = -1; static gint ett_zebra_request = -1; static gint ett_message = -1; #define TCP_PORT_ZEBRA 2600 /* Not IANA registered */ /* Zebra message types. */ #define ZEBRA_INTERFACE_ADD 1 #define ZEBRA_INTERFACE_DELETE 2 #define ZEBRA_INTERFACE_ADDRESS_ADD 3 #define ZEBRA_INTERFACE_ADDRESS_DELETE 4 #define ZEBRA_INTERFACE_UP 5 #define ZEBRA_INTERFACE_DOWN 6 #define ZEBRA_IPV4_ROUTE_ADD 7 #define ZEBRA_IPV4_ROUTE_DELETE 8 #define ZEBRA_IPV6_ROUTE_ADD 9 #define ZEBRA_IPV6_ROUTE_DELETE 10 #define ZEBRA_REDISTRIBUTE_ADD 11 #define ZEBRA_REDISTRIBUTE_DELETE 12 #define ZEBRA_REDISTRIBUTE_DEFAULT_ADD 13 #define ZEBRA_REDISTRIBUTE_DEFAULT_DELETE 14 #define ZEBRA_IPV4_NEXTHOP_LOOKUP 15 #define ZEBRA_IPV6_NEXTHOP_LOOKUP 16 #define ZEBRA_IPV4_IMPORT_LOOKUP 17 #define ZEBRA_IPV6_IMPORT_LOOKUP 18 #define ZEBRA_INTERFACE_RENAME 19 #define ZEBRA_ROUTER_ID_ADD 20 #define ZEBRA_ROUTER_ID_DELETE 21 #define ZEBRA_ROUTER_ID_UPDATE 22 #define ZEBRA_HELLO 23 #define ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB 24 #define ZEBRA_VRF_UNREGISTER 25 #define ZEBRA_INTERFACE_LINK_PARAMS 26 #define ZEBRA_NEXTHOP_REGISTER 27 #define ZEBRA_NEXTHOP_UNREGISTER 28 #define ZEBRA_NEXTHOP_UPDATE 29 #define ZEBRA_MESSAGE_MAX 30 static const value_string messages[] = { { ZEBRA_INTERFACE_ADD, "Add Interface" }, { ZEBRA_INTERFACE_DELETE, "Delete Interface" }, { ZEBRA_INTERFACE_ADDRESS_ADD, "Add Interface Address" }, { ZEBRA_INTERFACE_ADDRESS_DELETE, "Delete Interface Address" }, { ZEBRA_INTERFACE_UP, "Interface Up" }, { ZEBRA_INTERFACE_DOWN, "Interface Down" }, { ZEBRA_IPV4_ROUTE_ADD, "Add IPv4 Route" }, { ZEBRA_IPV4_ROUTE_DELETE, "Delete IPv4 Route" }, { ZEBRA_IPV6_ROUTE_ADD, "Add IPv6 Route" }, { ZEBRA_IPV6_ROUTE_DELETE, "Delete IPv6 Route" }, { ZEBRA_REDISTRIBUTE_ADD, "Add Redistribute" }, { ZEBRA_REDISTRIBUTE_DELETE, "Delete Redistribute" }, { ZEBRA_REDISTRIBUTE_DEFAULT_ADD, "Add Default Redistribute" }, { ZEBRA_REDISTRIBUTE_DEFAULT_DELETE, "Delete Default Redistribute" }, { ZEBRA_IPV4_NEXTHOP_LOOKUP, "IPv4 Nexthop Lookup" }, { ZEBRA_IPV6_NEXTHOP_LOOKUP, "IPv6 Nexthop Lookup" }, { ZEBRA_IPV4_IMPORT_LOOKUP, "IPv4 Import Lookup" }, { ZEBRA_IPV6_IMPORT_LOOKUP, "IPv6 Import Lookup" }, { ZEBRA_INTERFACE_RENAME, "Rename Interface" }, { ZEBRA_ROUTER_ID_ADD, "Router ID Add" }, { ZEBRA_ROUTER_ID_DELETE, "Router ID Delete" }, { ZEBRA_ROUTER_ID_UPDATE, "Router ID Update" }, { ZEBRA_HELLO, "Hello" }, { ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB, "IPv4 Nexthop Lookup Multicast RIB" }, { ZEBRA_VRF_UNREGISTER, "VRF Unregister" }, { ZEBRA_INTERFACE_LINK_PARAMS, "Interface Link Parameters" }, { ZEBRA_NEXTHOP_REGISTER, "Nexthop Register" }, { ZEBRA_NEXTHOP_UNREGISTER, "Nexthop Unregister" }, { ZEBRA_NEXTHOP_UPDATE, "Nexthop Update" }, { 0, NULL }, }; /* FRRouting ZAPI v4 message types. */ enum { FRR_ZAPI4_INTERFACE_ADD, FRR_ZAPI4_INTERFACE_DELETE, FRR_ZAPI4_INTERFACE_ADDRESS_ADD, FRR_ZAPI4_INTERFACE_ADDRESS_DELETE, FRR_ZAPI4_INTERFACE_UP, FRR_ZAPI4_INTERFACE_DOWN, FRR_ZAPI4_IPV4_ROUTE_ADD, FRR_ZAPI4_IPV4_ROUTE_DELETE, FRR_ZAPI4_IPV6_ROUTE_ADD, FRR_ZAPI4_IPV6_ROUTE_DELETE, FRR_ZAPI4_REDISTRIBUTE_ADD, FRR_ZAPI4_REDISTRIBUTE_DELETE, FRR_ZAPI4_REDISTRIBUTE_DEFAULT_ADD, FRR_ZAPI4_REDISTRIBUTE_DEFAULT_DELETE, FRR_ZAPI4_ROUTER_ID_ADD, FRR_ZAPI4_ROUTER_ID_DELETE, FRR_ZAPI4_ROUTER_ID_UPDATE, FRR_ZAPI4_HELLO, FRR_ZAPI4_NEXTHOP_REGISTER, FRR_ZAPI4_NEXTHOP_UNREGISTER, FRR_ZAPI4_NEXTHOP_UPDATE, FRR_ZAPI4_INTERFACE_NBR_ADDRESS_ADD, FRR_ZAPI4_INTERFACE_NBR_ADDRESS_DELETE, FRR_ZAPI4_INTERFACE_BFD_DEST_UPDATE, FRR_ZAPI4_IMPORT_ROUTE_REGISTER, FRR_ZAPI4_IMPORT_ROUTE_UNREGISTER, FRR_ZAPI4_IMPORT_CHECK_UPDATE, FRR_ZAPI4_IPV4_ROUTE_IPV6_NEXTHOP_ADD, FRR_ZAPI4_BFD_DEST_REGISTER, FRR_ZAPI4_BFD_DEST_DEREGISTER, FRR_ZAPI4_BFD_DEST_UPDATE, FRR_ZAPI4_BFD_DEST_REPLAY, FRR_ZAPI4_REDISTRIBUTE_IPV4_ADD, FRR_ZAPI4_REDISTRIBUTE_IPV4_DEL, FRR_ZAPI4_REDISTRIBUTE_IPV6_ADD, FRR_ZAPI4_REDISTRIBUTE_IPV6_DEL, FRR_ZAPI4_VRF_UNREGISTER, FRR_ZAPI4_VRF_ADD, FRR_ZAPI4_VRF_DELETE, FRR_ZAPI4_INTERFACE_VRF_UPDATE, FRR_ZAPI4_BFD_CLIENT_REGISTER, FRR_ZAPI4_INTERFACE_ENABLE_RADV, FRR_ZAPI4_INTERFACE_DISABLE_RADV, FRR_ZAPI4_IPV4_NEXTHOP_LOOKUP_MRIB, FRR_ZAPI4_INTERFACE_LINK_PARAMS, FRR_ZAPI4_MPLS_LABELS_ADD, FRR_ZAPI4_MPLS_LABELS_DELETE, FRR_ZAPI4_IPV4_NEXTHOP_ADD, FRR_ZAPI4_IPV4_NEXTHOP_DELETE, FRR_ZAPI4_IPV6_NEXTHOP_ADD, FRR_ZAPI4_IPV6_NEXTHOP_DELETE, FRR_ZAPI4_IPMR_ROUTE_STATS, FRR_ZAPI4_LABEL_MANAGER_CONNECT, FRR_ZAPI4_GET_LABEL_CHUNK, FRR_ZAPI4_RELEASE_LABEL_CHUNK, FRR_ZAPI4_PW_ADD, FRR_ZAPI4_PW_DELETE, FRR_ZAPI4_PW_SET, FRR_ZAPI4_PW_UNSET, FRR_ZAPI4_PW_STATUS_UPDATE, }; static const value_string frr_zapi4_messages[] = { { FRR_ZAPI4_INTERFACE_ADD, "Add Interface" }, { FRR_ZAPI4_INTERFACE_DELETE, "Delete Interface" }, { FRR_ZAPI4_INTERFACE_ADDRESS_ADD, "Add Interface Address" }, { FRR_ZAPI4_INTERFACE_ADDRESS_DELETE, "Delete Interface Address" }, { FRR_ZAPI4_INTERFACE_UP, "Interface Up" }, { FRR_ZAPI4_INTERFACE_DOWN, "Interface Down" }, { FRR_ZAPI4_IPV4_ROUTE_ADD, "Add IPv4 Route" }, { FRR_ZAPI4_IPV4_ROUTE_DELETE, "Delete IPv4 Route" }, { FRR_ZAPI4_IPV6_ROUTE_ADD, "Add IPv6 Route" }, { FRR_ZAPI4_IPV6_ROUTE_DELETE, "Delete IPv6 Route" }, { FRR_ZAPI4_REDISTRIBUTE_ADD, "Add Redistribute" }, { FRR_ZAPI4_REDISTRIBUTE_DELETE, "Delete Redistribute" }, { FRR_ZAPI4_REDISTRIBUTE_DEFAULT_ADD, "Add Default Redistribute" }, { FRR_ZAPI4_REDISTRIBUTE_DEFAULT_DELETE,"Delete Default Redistribute" }, { FRR_ZAPI4_ROUTER_ID_ADD, "Router ID Add" }, { FRR_ZAPI4_ROUTER_ID_DELETE, "Router ID Delete" }, { FRR_ZAPI4_ROUTER_ID_UPDATE, "Router ID Update" }, { FRR_ZAPI4_HELLO, "Hello" }, { FRR_ZAPI4_NEXTHOP_REGISTER, "Nexthop Register" }, { FRR_ZAPI4_NEXTHOP_UNREGISTER, "Nexthop Unregister" }, { FRR_ZAPI4_NEXTHOP_UPDATE, "Nexthop Update" }, { FRR_ZAPI4_INTERFACE_NBR_ADDRESS_ADD, "Interface Neighbor Address Add" }, { FRR_ZAPI4_INTERFACE_NBR_ADDRESS_DELETE, "Interface Neighbor Address Delete" }, { FRR_ZAPI4_INTERFACE_BFD_DEST_UPDATE, "Interface BFD Destination Update" }, { FRR_ZAPI4_IMPORT_ROUTE_REGISTER, "Import Route Register" }, { FRR_ZAPI4_IMPORT_ROUTE_UNREGISTER, "Import Route Unregister" }, { FRR_ZAPI4_IMPORT_CHECK_UPDATE, "Import Check Update" }, { FRR_ZAPI4_IPV4_ROUTE_IPV6_NEXTHOP_ADD,"Add IPv6 nexthop for IPv4 Route" }, { FRR_ZAPI4_BFD_DEST_REGISTER, "BFD Destination Register" }, { FRR_ZAPI4_BFD_DEST_DEREGISTER, "BFD Destination Deregister" }, { FRR_ZAPI4_BFD_DEST_UPDATE, "BFD Destination Update" }, { FRR_ZAPI4_BFD_DEST_REPLAY, "BFD Destination Replay" }, { FRR_ZAPI4_REDISTRIBUTE_IPV4_ADD, "Add Redistribute IPv4 Route" }, { FRR_ZAPI4_REDISTRIBUTE_IPV4_DEL, "Delete Redistribute IPv4 Route" }, { FRR_ZAPI4_REDISTRIBUTE_IPV6_ADD, "Add Redistribute IPv6 Route" }, { FRR_ZAPI4_REDISTRIBUTE_IPV6_DEL, "Delete Redistribute IPv6 Route" }, { FRR_ZAPI4_VRF_UNREGISTER, "VRF Unregister" }, { FRR_ZAPI4_VRF_ADD, "VRF Add" }, { FRR_ZAPI4_VRF_DELETE, "VRF Delete" }, { FRR_ZAPI4_INTERFACE_VRF_UPDATE, "Interface VRF Update" }, { FRR_ZAPI4_BFD_CLIENT_REGISTER, "BFD Client Register" }, { FRR_ZAPI4_INTERFACE_ENABLE_RADV, "Interface Enable Router Advertisement" }, { FRR_ZAPI4_INTERFACE_DISABLE_RADV, "Interface Disable Router Advertisement" }, { FRR_ZAPI4_IPV4_NEXTHOP_LOOKUP_MRIB, "IPv4 Nexthop Lookup Multicast RIB" }, { FRR_ZAPI4_INTERFACE_LINK_PARAMS, "Interface Link Parameters" }, { FRR_ZAPI4_MPLS_LABELS_ADD, "MPLS Labels Add" }, { FRR_ZAPI4_MPLS_LABELS_DELETE, "MPLS Labels Delete" }, { FRR_ZAPI4_IPV4_NEXTHOP_ADD, "Add IPv4 Nexthop" }, { FRR_ZAPI4_IPV4_NEXTHOP_DELETE, "Delete IPv4 Nexthop" }, { FRR_ZAPI4_IPV6_NEXTHOP_ADD, "Add IPv6 Nexthop" }, { FRR_ZAPI4_IPV6_NEXTHOP_DELETE, "Delete IPv6 Nexthop" }, { FRR_ZAPI4_IPMR_ROUTE_STATS, "IPMR Route Statics" }, { FRR_ZAPI4_LABEL_MANAGER_CONNECT, "Label Manager Connect" }, { FRR_ZAPI4_GET_LABEL_CHUNK, "Get Label Chunk" }, { FRR_ZAPI4_RELEASE_LABEL_CHUNK, "Release Label Chunk" }, { FRR_ZAPI4_PW_ADD, "PseudoWire Add" }, { FRR_ZAPI4_PW_DELETE, "PseudoWire Delete" }, { FRR_ZAPI4_PW_SET, "PseudoWire Set" }, { FRR_ZAPI4_PW_UNSET, "PseudoWire Unset" }, { FRR_ZAPI4_PW_STATUS_UPDATE, "PseudoWire Status Update" }, { 0, NULL }, }; enum { FRR_ZAPI5_INTERFACE_ADD, FRR_ZAPI5_INTERFACE_DELETE, FRR_ZAPI5_INTERFACE_ADDRESS_ADD, FRR_ZAPI5_INTERFACE_ADDRESS_DELETE, FRR_ZAPI5_INTERFACE_UP, FRR_ZAPI5_INTERFACE_DOWN, FRR_ZAPI5_INTERFACE_SET_MASTER, FRR_ZAPI5_ROUTE_ADD, FRR_ZAPI5_ROUTE_DELETE, FRR_ZAPI5_ROUTE_NOTIFY_OWNER, FRR_ZAPI5_IPV4_ROUTE_ADD, FRR_ZAPI5_IPV4_ROUTE_DELETE, FRR_ZAPI5_IPV6_ROUTE_ADD, FRR_ZAPI5_IPV6_ROUTE_DELETE, FRR_ZAPI5_REDISTRIBUTE_ADD, FRR_ZAPI5_REDISTRIBUTE_DELETE, FRR_ZAPI5_REDISTRIBUTE_DEFAULT_ADD, FRR_ZAPI5_REDISTRIBUTE_DEFAULT_DELETE, FRR_ZAPI5_ROUTER_ID_ADD, FRR_ZAPI5_ROUTER_ID_DELETE, FRR_ZAPI5_ROUTER_ID_UPDATE, FRR_ZAPI5_HELLO, FRR_ZAPI5_CAPABILITIES, FRR_ZAPI5_NEXTHOP_REGISTER, FRR_ZAPI5_NEXTHOP_UNREGISTER, FRR_ZAPI5_NEXTHOP_UPDATE, FRR_ZAPI5_INTERFACE_NBR_ADDRESS_ADD, FRR_ZAPI5_INTERFACE_NBR_ADDRESS_DELETE, FRR_ZAPI5_INTERFACE_BFD_DEST_UPDATE, FRR_ZAPI5_IMPORT_ROUTE_REGISTER, FRR_ZAPI5_IMPORT_ROUTE_UNREGISTER, FRR_ZAPI5_IMPORT_CHECK_UPDATE, FRR_ZAPI5_IPV4_ROUTE_IPV6_NEXTHOP_ADD, FRR_ZAPI5_BFD_DEST_REGISTER, FRR_ZAPI5_BFD_DEST_DEREGISTER, FRR_ZAPI5_BFD_DEST_UPDATE, FRR_ZAPI5_BFD_DEST_REPLAY, FRR_ZAPI5_REDISTRIBUTE_ROUTE_ADD, FRR_ZAPI5_REDISTRIBUTE_ROUTE_DEL, FRR_ZAPI5_VRF_UNREGISTER, FRR_ZAPI5_VRF_ADD, FRR_ZAPI5_VRF_DELETE, FRR_ZAPI5_VRF_LABEL, FRR_ZAPI5_INTERFACE_VRF_UPDATE, FRR_ZAPI5_BFD_CLIENT_REGISTER, FRR_ZAPI5_INTERFACE_ENABLE_RADV, FRR_ZAPI5_INTERFACE_DISABLE_RADV, FRR_ZAPI5_IPV4_NEXTHOP_LOOKUP_MRIB, FRR_ZAPI5_INTERFACE_LINK_PARAMS, FRR_ZAPI5_MPLS_LABELS_ADD, FRR_ZAPI5_MPLS_LABELS_DELETE, FRR_ZAPI5_IPMR_ROUTE_STATS, FRR_ZAPI5_LABEL_MANAGER_CONNECT, FRR_ZAPI5_LABEL_MANAGER_CONNECT_ASYNC, FRR_ZAPI5_GET_LABEL_CHUNK, FRR_ZAPI5_RELEASE_LABEL_CHUNK, FRR_ZAPI5_FEC_REGISTER, FRR_ZAPI5_FEC_UNREGISTER, FRR_ZAPI5_FEC_UPDATE, FRR_ZAPI5_ADVERTISE_DEFAULT_GW, FRR_ZAPI5_ADVERTISE_SUBNET, FRR_ZAPI5_ADVERTISE_ALL_VNI, FRR_ZAPI5_VNI_ADD, FRR_ZAPI5_VNI_DEL, FRR_ZAPI5_L3VNI_ADD, FRR_ZAPI5_L3VNI_DEL, FRR_ZAPI5_REMOTE_VTEP_ADD, FRR_ZAPI5_REMOTE_VTEP_DEL, FRR_ZAPI5_MACIP_ADD, FRR_ZAPI5_MACIP_DEL, FRR_ZAPI5_IP_PREFIX_ROUTE_ADD, FRR_ZAPI5_IP_PREFIX_ROUTE_DEL, FRR_ZAPI5_REMOTE_MACIP_ADD, FRR_ZAPI5_REMOTE_MACIP_DEL, FRR_ZAPI5_PW_ADD, FRR_ZAPI5_PW_DELETE, FRR_ZAPI5_PW_SET, FRR_ZAPI5_PW_UNSET, FRR_ZAPI5_PW_STATUS_UPDATE, FRR_ZAPI5_RULE_ADD, FRR_ZAPI5_RULE_DELETE, FRR_ZAPI5_RULE_NOTIFY_OWNER, FRR_ZAPI5_TABLE_MANAGER_CONNECT, FRR_ZAPI5_GET_TABLE_CHUNK, FRR_ZAPI5_RELEASE_TABLE_CHUNK, FRR_ZAPI5_IPSET_CREATE, FRR_ZAPI5_IPSET_DESTROY, FRR_ZAPI5_IPSET_ENTRY_ADD, FRR_ZAPI5_IPSET_ENTRY_DELETE, FRR_ZAPI5_IPSET_NOTIFY_OWNER, FRR_ZAPI5_IPSET_ENTRY_NOTIFY_OWNER, FRR_ZAPI5_IPTABLE_ADD, FRR_ZAPI5_IPTABLE_DELETE, FRR_ZAPI5_IPTABLE_NOTIFY_OWNER, }; static const value_string frr_zapi5_messages[] = { { FRR_ZAPI5_INTERFACE_ADD, "Add Interface" }, { FRR_ZAPI5_INTERFACE_DELETE, "Delete Interface" }, { FRR_ZAPI5_INTERFACE_ADDRESS_ADD, "Add Interface Address" }, { FRR_ZAPI5_INTERFACE_ADDRESS_DELETE, "Delete Interface Address" }, { FRR_ZAPI5_INTERFACE_UP, "Interface Up" }, { FRR_ZAPI5_INTERFACE_DOWN, "Interface Down" }, { FRR_ZAPI5_ROUTE_ADD, "Add Route" }, { FRR_ZAPI5_ROUTE_DELETE, "Delete Route" }, { FRR_ZAPI5_IPV4_ROUTE_ADD, "Add IPv4 Route" }, { FRR_ZAPI5_IPV4_ROUTE_DELETE, "Delete IPv4 Route" }, { FRR_ZAPI5_IPV6_ROUTE_ADD, "Add IPv6 Route" }, { FRR_ZAPI5_IPV6_ROUTE_DELETE, "Delete IPv6 Route" }, { FRR_ZAPI5_REDISTRIBUTE_ADD, "Add Redistribute" }, { FRR_ZAPI5_REDISTRIBUTE_DELETE, "Delete Redistribute" }, { FRR_ZAPI5_REDISTRIBUTE_DEFAULT_ADD, "Add Default Redistribute" }, { FRR_ZAPI5_REDISTRIBUTE_DEFAULT_DELETE,"Delete Default Redistribute" }, { FRR_ZAPI5_ROUTER_ID_ADD, "Router ID Add" }, { FRR_ZAPI5_ROUTER_ID_DELETE, "Router ID Delete" }, { FRR_ZAPI5_ROUTER_ID_UPDATE, "Router ID Update" }, { FRR_ZAPI5_HELLO, "Hello" }, { FRR_ZAPI5_CAPABILITIES, "Capabilities" }, { FRR_ZAPI5_NEXTHOP_REGISTER, "Nexthop Register" }, { FRR_ZAPI5_NEXTHOP_UNREGISTER, "Nexthop Unregister" }, { FRR_ZAPI5_NEXTHOP_UPDATE, "Nexthop Update" }, { FRR_ZAPI5_INTERFACE_NBR_ADDRESS_ADD, "Interface Neighbor Address Add" }, { FRR_ZAPI5_INTERFACE_NBR_ADDRESS_DELETE, "Interface Neighbor Address Delete" }, { FRR_ZAPI5_INTERFACE_BFD_DEST_UPDATE, "Interface BFD Destination Update" }, { FRR_ZAPI5_IMPORT_ROUTE_REGISTER, "Import Route Register" }, { FRR_ZAPI5_IMPORT_ROUTE_UNREGISTER, "Import Route Unregister" }, { FRR_ZAPI5_IMPORT_CHECK_UPDATE, "Import Check Update" }, { FRR_ZAPI5_IPV4_ROUTE_IPV6_NEXTHOP_ADD,"Add IPv6 nexthop for IPv4 Route" }, { FRR_ZAPI5_BFD_DEST_REGISTER, "BFD Destination Register" }, { FRR_ZAPI5_BFD_DEST_DEREGISTER, "BFD Destination Deregister" }, { FRR_ZAPI5_BFD_DEST_UPDATE, "BFD Destination Update" }, { FRR_ZAPI5_BFD_DEST_REPLAY, "BFD Destination Replay" }, { FRR_ZAPI5_REDISTRIBUTE_ROUTE_ADD, "Add Redistribute Route" }, { FRR_ZAPI5_REDISTRIBUTE_ROUTE_DEL, "Delete Redistribute Route" }, { FRR_ZAPI5_VRF_UNREGISTER, "VRF Unregister" }, { FRR_ZAPI5_VRF_ADD, "VRF Add" }, { FRR_ZAPI5_VRF_DELETE, "VRF Delete" }, { FRR_ZAPI5_VRF_LABEL, "VRF Label" }, { FRR_ZAPI5_INTERFACE_VRF_UPDATE, "Interface VRF Update" }, { FRR_ZAPI5_BFD_CLIENT_REGISTER, "BFD Client Register" }, { FRR_ZAPI5_INTERFACE_ENABLE_RADV, "Interface Enable Router Advertisement" }, { FRR_ZAPI5_INTERFACE_DISABLE_RADV, "Interface Disable Router Advertisement" }, { FRR_ZAPI5_IPV4_NEXTHOP_LOOKUP_MRIB, "IPv4 Nexthop Lookup Multicast RIB" }, { FRR_ZAPI5_INTERFACE_LINK_PARAMS, "Interface Link Parameters" }, { FRR_ZAPI5_MPLS_LABELS_ADD, "MPLS Labels Add" }, { FRR_ZAPI5_MPLS_LABELS_DELETE, "MPLS Labels Delete" }, { FRR_ZAPI5_IPMR_ROUTE_STATS, "IPMR Route Statics" }, { FRR_ZAPI5_LABEL_MANAGER_CONNECT, "Label Manager Connect" }, { FRR_ZAPI5_LABEL_MANAGER_CONNECT_ASYNC,"Label Manager Connect Asynchronous" }, { FRR_ZAPI5_GET_LABEL_CHUNK, "Get Label Chunk" }, { FRR_ZAPI5_RELEASE_LABEL_CHUNK, "Release Label Chunk" }, { FRR_ZAPI5_FEC_REGISTER, "FEC Register" }, { FRR_ZAPI5_FEC_UNREGISTER, "FEC Unregister" }, { FRR_ZAPI5_FEC_UPDATE, "FEC Update" }, { FRR_ZAPI5_ADVERTISE_DEFAULT_GW, "Advertise Default Gateway" }, { FRR_ZAPI5_ADVERTISE_SUBNET, "Advertise Subnet" }, { FRR_ZAPI5_ADVERTISE_ALL_VNI, "Advertise all VNI" }, { FRR_ZAPI5_VNI_ADD, "VNI Add" }, { FRR_ZAPI5_VNI_DEL, "VNI Delete" }, { FRR_ZAPI5_L3VNI_ADD, "L3VNI Add" }, { FRR_ZAPI5_L3VNI_DEL, "L3VNI Delete" }, { FRR_ZAPI5_REMOTE_VTEP_ADD, "Remote VTEP Add" }, { FRR_ZAPI5_REMOTE_VTEP_DEL, "Remote VTEP Delete" }, { FRR_ZAPI5_MACIP_ADD, "MAC/IP Add" }, { FRR_ZAPI5_MACIP_DEL, "MAC/IP Delete" }, { FRR_ZAPI5_IP_PREFIX_ROUTE_ADD, "IP Prefix Route Add" }, { FRR_ZAPI5_IP_PREFIX_ROUTE_DEL, "IP Prefix Route Delete" }, { FRR_ZAPI5_REMOTE_MACIP_ADD, "Remote MAC/IP Add" }, { FRR_ZAPI5_REMOTE_MACIP_DEL, "Remote MAC/IP Delete" }, { FRR_ZAPI5_PW_ADD, "PseudoWire Add" }, { FRR_ZAPI5_PW_DELETE, "PseudoWire Delete" }, { FRR_ZAPI5_PW_SET, "PseudoWire Set" }, { FRR_ZAPI5_PW_UNSET, "PseudoWire Unset" }, { FRR_ZAPI5_PW_STATUS_UPDATE, "PseudoWire Status Update" }, { FRR_ZAPI5_RULE_ADD, "Rule Add" }, { FRR_ZAPI5_RULE_DELETE, "Rule Delete" }, { FRR_ZAPI5_RULE_NOTIFY_OWNER, "Rule Notify Owner" }, { FRR_ZAPI5_TABLE_MANAGER_CONNECT, "Table Manager Connect" }, { FRR_ZAPI5_GET_TABLE_CHUNK, "Get Table Chunk" }, { FRR_ZAPI5_RELEASE_TABLE_CHUNK, "Release Table Chunk" }, { FRR_ZAPI5_IPSET_CREATE, "IPSet Create" }, { FRR_ZAPI5_IPSET_DESTROY, "IPSet Destroy" }, { FRR_ZAPI5_IPSET_ENTRY_ADD, "IPSet Entry Add" }, { FRR_ZAPI5_IPSET_ENTRY_DELETE, "IPSet Entry Delete" }, { FRR_ZAPI5_IPSET_NOTIFY_OWNER, "IPSet Notify Oner" }, { FRR_ZAPI5_IPSET_ENTRY_NOTIFY_OWNER, "IPSet Entry Notify Owner" }, { FRR_ZAPI5_IPTABLE_ADD, "IPTable Add" }, { FRR_ZAPI5_IPTABLE_DELETE, "IPTable Delete" }, { FRR_ZAPI5_IPTABLE_NOTIFY_OWNER, "IPTable Notify Owner" }, { 0, NULL }, }; enum { FRR_ZAPI6_INTERFACE_ADD, FRR_ZAPI6_INTERFACE_DELETE, FRR_ZAPI6_INTERFACE_ADDRESS_ADD, FRR_ZAPI6_INTERFACE_ADDRESS_DELETE, FRR_ZAPI6_INTERFACE_UP, FRR_ZAPI6_INTERFACE_DOWN, FRR_ZAPI6_INTERFACE_SET_MASTER, FRR_ZAPI6_ROUTE_ADD, FRR_ZAPI6_ROUTE_DELETE, FRR_ZAPI6_ROUTE_NOTIFY_OWNER, FRR_ZAPI6_REDISTRIBUTE_ADD, FRR_ZAPI6_REDISTRIBUTE_DELETE, FRR_ZAPI6_REDISTRIBUTE_DEFAULT_ADD, FRR_ZAPI6_REDISTRIBUTE_DEFAULT_DELETE, FRR_ZAPI6_ROUTER_ID_ADD, FRR_ZAPI6_ROUTER_ID_DELETE, FRR_ZAPI6_ROUTER_ID_UPDATE, FRR_ZAPI6_HELLO, FRR_ZAPI6_CAPABILITIES, FRR_ZAPI6_NEXTHOP_REGISTER, FRR_ZAPI6_NEXTHOP_UNREGISTER, FRR_ZAPI6_NEXTHOP_UPDATE, FRR_ZAPI6_INTERFACE_NBR_ADDRESS_ADD, FRR_ZAPI6_INTERFACE_NBR_ADDRESS_DELETE, FRR_ZAPI6_INTERFACE_BFD_DEST_UPDATE, FRR_ZAPI6_IMPORT_ROUTE_REGISTER, FRR_ZAPI6_IMPORT_ROUTE_UNREGISTER, FRR_ZAPI6_IMPORT_CHECK_UPDATE, //FRR_ZAPI6_IPV4_ROUTE_IPV6_NEXTHOP_ADD, FRR_ZAPI6_BFD_DEST_REGISTER, FRR_ZAPI6_BFD_DEST_DEREGISTER, FRR_ZAPI6_BFD_DEST_UPDATE, FRR_ZAPI6_BFD_DEST_REPLAY, FRR_ZAPI6_REDISTRIBUTE_ROUTE_ADD, FRR_ZAPI6_REDISTRIBUTE_ROUTE_DEL, FRR_ZAPI6_VRF_UNREGISTER, FRR_ZAPI6_VRF_ADD, FRR_ZAPI6_VRF_DELETE, FRR_ZAPI6_VRF_LABEL, FRR_ZAPI6_INTERFACE_VRF_UPDATE, FRR_ZAPI6_BFD_CLIENT_REGISTER, FRR_ZAPI6_BFD_CLIENT_DEREGISTER, FRR_ZAPI6_INTERFACE_ENABLE_RADV, FRR_ZAPI6_INTERFACE_DISABLE_RADV, FRR_ZAPI6_IPV4_NEXTHOP_LOOKUP_MRIB, FRR_ZAPI6_INTERFACE_LINK_PARAMS, FRR_ZAPI6_MPLS_LABELS_ADD, FRR_ZAPI6_MPLS_LABELS_DELETE, FRR_ZAPI6_IPMR_ROUTE_STATS, FRR_ZAPI6_LABEL_MANAGER_CONNECT, FRR_ZAPI6_LABEL_MANAGER_CONNECT_ASYNC, FRR_ZAPI6_GET_LABEL_CHUNK, FRR_ZAPI6_RELEASE_LABEL_CHUNK, FRR_ZAPI6_FEC_REGISTER, FRR_ZAPI6_FEC_UNREGISTER, FRR_ZAPI6_FEC_UPDATE, FRR_ZAPI6_ADVERTISE_DEFAULT_GW, FRR_ZAPI6_ADVERTISE_SUBNET, FRR_ZAPI6_ADVERTISE_ALL_VNI, FRR_ZAPI6_LOCAL_ES_ADD, FRR_ZAPI6_LOCAL_ES_DEL, FRR_ZAPI6_VNI_ADD, FRR_ZAPI6_VNI_DEL, FRR_ZAPI6_L3VNI_ADD, FRR_ZAPI6_L3VNI_DEL, FRR_ZAPI6_REMOTE_VTEP_ADD, FRR_ZAPI6_REMOTE_VTEP_DEL, FRR_ZAPI6_MACIP_ADD, FRR_ZAPI6_MACIP_DEL, FRR_ZAPI6_IP_PREFIX_ROUTE_ADD, FRR_ZAPI6_IP_PREFIX_ROUTE_DEL, FRR_ZAPI6_REMOTE_MACIP_ADD, FRR_ZAPI6_REMOTE_MACIP_DEL, FRR_ZAPI6_DUPLICATE_ADDR_DETECTION, FRR_ZAPI6_PW_ADD, FRR_ZAPI6_PW_DELETE, FRR_ZAPI6_PW_SET, FRR_ZAPI6_PW_UNSET, FRR_ZAPI6_PW_STATUS_UPDATE, FRR_ZAPI6_RULE_ADD, FRR_ZAPI6_RULE_DELETE, FRR_ZAPI6_RULE_NOTIFY_OWNER, FRR_ZAPI6_TABLE_MANAGER_CONNECT, FRR_ZAPI6_GET_TABLE_CHUNK, FRR_ZAPI6_RELEASE_TABLE_CHUNK, FRR_ZAPI6_IPSET_CREATE, FRR_ZAPI6_IPSET_DESTROY, FRR_ZAPI6_IPSET_ENTRY_ADD, FRR_ZAPI6_IPSET_ENTRY_DELETE, FRR_ZAPI6_IPSET_NOTIFY_OWNER, FRR_ZAPI6_IPSET_ENTRY_NOTIFY_OWNER, FRR_ZAPI6_IPTABLE_ADD, FRR_ZAPI6_IPTABLE_DELETE, FRR_ZAPI6_IPTABLE_NOTIFY_OWNER, FRR_ZAPI6_VXLAN_FLOOD_CONTROL, }; static const value_string frr_zapi6_messages[] = { { FRR_ZAPI6_INTERFACE_ADD, "Add Interface" }, { FRR_ZAPI6_INTERFACE_DELETE, "Delete Interface" }, { FRR_ZAPI6_INTERFACE_ADDRESS_ADD, "Add Interface Address" }, { FRR_ZAPI6_INTERFACE_ADDRESS_DELETE, "Delete Interface Address" }, { FRR_ZAPI6_INTERFACE_UP, "Interface Up" }, { FRR_ZAPI6_INTERFACE_DOWN, "Interface Down" }, { FRR_ZAPI6_ROUTE_ADD, "Add Route" }, { FRR_ZAPI6_ROUTE_DELETE, "Delete Route" }, { FRR_ZAPI6_REDISTRIBUTE_ADD, "Add Redistribute" }, { FRR_ZAPI6_REDISTRIBUTE_DELETE, "Delete Redistribute" }, { FRR_ZAPI6_REDISTRIBUTE_DEFAULT_ADD, "Add Default Redistribute" }, { FRR_ZAPI6_REDISTRIBUTE_DEFAULT_DELETE,"Delete Default Redistribute" }, { FRR_ZAPI6_ROUTER_ID_ADD, "Router ID Add" }, { FRR_ZAPI6_ROUTER_ID_DELETE, "Router ID Delete" }, { FRR_ZAPI6_ROUTER_ID_UPDATE, "Router ID Update" }, { FRR_ZAPI6_HELLO, "Hello" }, { FRR_ZAPI6_CAPABILITIES, "Capabilities" }, { FRR_ZAPI6_NEXTHOP_REGISTER, "Nexthop Register" }, { FRR_ZAPI6_NEXTHOP_UNREGISTER, "Nexthop Unregister" }, { FRR_ZAPI6_NEXTHOP_UPDATE, "Nexthop Update" }, { FRR_ZAPI6_INTERFACE_NBR_ADDRESS_ADD, "Interface Neighbor Address Add" }, { FRR_ZAPI6_INTERFACE_NBR_ADDRESS_DELETE, "Interface Neighbor Address Delete" }, { FRR_ZAPI6_INTERFACE_BFD_DEST_UPDATE, "Interface BFD Destination Update" }, { FRR_ZAPI6_IMPORT_ROUTE_REGISTER, "Import Route Register" }, { FRR_ZAPI6_IMPORT_ROUTE_UNREGISTER, "Import Route Unregister" }, { FRR_ZAPI6_IMPORT_CHECK_UPDATE, "Import Check Update" }, //{ FRR_ZAPI6_IPV4_ROUTE_IPV6_NEXTHOP_ADD,"Add IPv6 nexthop for IPv4 Route" }, { FRR_ZAPI6_BFD_DEST_REGISTER, "BFD Destination Register" }, { FRR_ZAPI6_BFD_DEST_DEREGISTER, "BFD Destination Deregister" }, { FRR_ZAPI6_BFD_DEST_UPDATE, "BFD Destination Update" }, { FRR_ZAPI6_BFD_DEST_REPLAY, "BFD Destination Replay" }, { FRR_ZAPI6_REDISTRIBUTE_ROUTE_ADD, "Add Redistribute Route" }, { FRR_ZAPI6_REDISTRIBUTE_ROUTE_DEL, "Delete Redistribute Route" }, { FRR_ZAPI6_VRF_UNREGISTER, "VRF Unregister" }, { FRR_ZAPI6_VRF_ADD, "VRF Add" }, { FRR_ZAPI6_VRF_DELETE, "VRF Delete" }, { FRR_ZAPI6_VRF_LABEL, "VRF Label" }, { FRR_ZAPI6_INTERFACE_VRF_UPDATE, "Interface VRF Update" }, { FRR_ZAPI6_BFD_CLIENT_REGISTER, "BFD Client Register" }, { FRR_ZAPI6_BFD_CLIENT_DEREGISTER, "BFD Client Deregister" }, { FRR_ZAPI6_INTERFACE_ENABLE_RADV, "Interface Enable Router Advertisement" }, { FRR_ZAPI6_INTERFACE_DISABLE_RADV, "Interface Disable Router Advertisement" }, { FRR_ZAPI6_IPV4_NEXTHOP_LOOKUP_MRIB, "IPv4 Nexthop Lookup Multicast RIB" }, { FRR_ZAPI6_INTERFACE_LINK_PARAMS, "Interface Link Parameters" }, { FRR_ZAPI6_MPLS_LABELS_ADD, "MPLS Labels Add" }, { FRR_ZAPI6_MPLS_LABELS_DELETE, "MPLS Labels Delete" }, { FRR_ZAPI6_IPMR_ROUTE_STATS, "IPMR Route Statics" }, { FRR_ZAPI6_LABEL_MANAGER_CONNECT, "Label Manager Connect" }, { FRR_ZAPI6_LABEL_MANAGER_CONNECT_ASYNC,"Label Manager Connect Asynchronous" }, { FRR_ZAPI6_GET_LABEL_CHUNK, "Get Label Chunk" }, { FRR_ZAPI6_RELEASE_LABEL_CHUNK, "Release Label Chunk" }, { FRR_ZAPI6_FEC_REGISTER, "FEC Register" }, { FRR_ZAPI6_FEC_UNREGISTER, "FEC Unregister" }, { FRR_ZAPI6_FEC_UPDATE, "FEC Update" }, { FRR_ZAPI6_ADVERTISE_DEFAULT_GW, "Advertise Default Gateway" }, { FRR_ZAPI6_ADVERTISE_SUBNET, "Advertise Subnet" }, { FRR_ZAPI6_ADVERTISE_ALL_VNI, "Advertise all VNI" }, { FRR_ZAPI6_LOCAL_ES_ADD, "Local Ethernet Segment Add" }, { FRR_ZAPI6_LOCAL_ES_DEL, "Local Ethernet Segment Delete" }, { FRR_ZAPI6_VNI_ADD, "VNI Add" }, { FRR_ZAPI6_VNI_DEL, "VNI Delete" }, { FRR_ZAPI6_L3VNI_ADD, "L3VNI Add" }, { FRR_ZAPI6_L3VNI_DEL, "L3VNI Delete" }, { FRR_ZAPI6_REMOTE_VTEP_ADD, "Remote VTEP Add" }, { FRR_ZAPI6_REMOTE_VTEP_DEL, "Remote VTEP Delete" }, { FRR_ZAPI6_MACIP_ADD, "MAC/IP Add" }, { FRR_ZAPI6_MACIP_DEL, "MAC/IP Delete" }, { FRR_ZAPI6_IP_PREFIX_ROUTE_ADD, "IP Prefix Route Add" }, { FRR_ZAPI6_IP_PREFIX_ROUTE_DEL, "IP Prefix Route Delete" }, { FRR_ZAPI6_REMOTE_MACIP_ADD, "Remote MAC/IP Add" }, { FRR_ZAPI6_REMOTE_MACIP_DEL, "Remote MAC/IP Delete" }, { FRR_ZAPI6_DUPLICATE_ADDR_DETECTION, "Duplicate Address Detection" }, { FRR_ZAPI6_PW_ADD, "PseudoWire Add" }, { FRR_ZAPI6_PW_DELETE, "PseudoWire Delete" }, { FRR_ZAPI6_PW_SET, "PseudoWire Set" }, { FRR_ZAPI6_PW_UNSET, "PseudoWire Unset" }, { FRR_ZAPI6_PW_STATUS_UPDATE, "PseudoWire Status Update" }, { FRR_ZAPI6_RULE_ADD, "Rule Add" }, { FRR_ZAPI6_RULE_DELETE, "Rule Delete" }, { FRR_ZAPI6_RULE_NOTIFY_OWNER, "Rule Notify Owner" }, { FRR_ZAPI6_TABLE_MANAGER_CONNECT, "Table Manager Connect" }, { FRR_ZAPI6_GET_TABLE_CHUNK, "Get Table Chunk" }, { FRR_ZAPI6_RELEASE_TABLE_CHUNK, "Release Table Chunk" }, { FRR_ZAPI6_IPSET_CREATE, "IPSet Create" }, { FRR_ZAPI6_IPSET_DESTROY, "IPSet Destroy" }, { FRR_ZAPI6_IPSET_ENTRY_ADD, "IPSet Entry Add" }, { FRR_ZAPI6_IPSET_ENTRY_DELETE, "IPSet Entry Delete" }, { FRR_ZAPI6_IPSET_NOTIFY_OWNER, "IPSet Notify Oner" }, { FRR_ZAPI6_IPSET_ENTRY_NOTIFY_OWNER, "IPSet Entry Notify Owner" }, { FRR_ZAPI6_IPTABLE_ADD, "IPTable Add" }, { FRR_ZAPI6_IPTABLE_DELETE, "IPTable Delete" }, { FRR_ZAPI6_IPTABLE_NOTIFY_OWNER, "IPTable Notify Owner" }, { FRR_ZAPI6_VXLAN_FLOOD_CONTROL, "VXLAN Flood Control" }, { 0, NULL }, }; /* Zebra route's types. */ #define ZEBRA_ROUTE_SYSTEM 0 #define ZEBRA_ROUTE_KERNEL 1 #define ZEBRA_ROUTE_CONNECT 2 #define ZEBRA_ROUTE_STATIC 3 #define ZEBRA_ROUTE_RIP 4 #define ZEBRA_ROUTE_RIPNG 5 #define ZEBRA_ROUTE_OSPF 6 #define ZEBRA_ROUTE_OSPF6 7 #define ZEBRA_ROUTE_BGP 8 static const value_string routes_v0[] = { { ZEBRA_ROUTE_SYSTEM, "System Route" }, { ZEBRA_ROUTE_KERNEL, "Kernel Route" }, { ZEBRA_ROUTE_CONNECT, "Connected Route" }, { ZEBRA_ROUTE_STATIC, "Static Route" }, { ZEBRA_ROUTE_RIP, "RIP Route" }, { ZEBRA_ROUTE_RIPNG, "RIPnG Route" }, { ZEBRA_ROUTE_OSPF, "OSPF Route" }, { ZEBRA_ROUTE_OSPF6, "OSPF6 Route" }, { ZEBRA_ROUTE_BGP, "BGP Route" }, { 0, NULL }, }; /* * In Quagga, ISIS is type 8 and BGP is type 9, but Zebra didn't have ISIS... * so for Zebra BGP is type 8. So we dup the value_string table for quagga. */ #define QUAGGA_ROUTE_ISIS 8 #define QUAGGA_ROUTE_BGP 9 #define QUAGGA_ROUTE_HSLS 10 #define QUAGGA_ROUTE_OLSR 11 #define QUAGGA_ROUTE_BABEL 12 static const value_string routes_v1[] = { { ZEBRA_ROUTE_SYSTEM, "System Route" }, { ZEBRA_ROUTE_KERNEL, "Kernel Route" }, { ZEBRA_ROUTE_CONNECT, "Connected Route" }, { ZEBRA_ROUTE_STATIC, "Static Route" }, { ZEBRA_ROUTE_RIP, "RIP Route" }, { ZEBRA_ROUTE_RIPNG, "RIPnG Route" }, { ZEBRA_ROUTE_OSPF, "OSPF Route" }, { ZEBRA_ROUTE_OSPF6, "OSPF6 Route" }, { QUAGGA_ROUTE_ISIS, "ISIS Route" }, { QUAGGA_ROUTE_BGP, "BGP Route" }, { QUAGGA_ROUTE_HSLS, "HSLS Route" }, { QUAGGA_ROUTE_OLSR, "OLSR Route" }, { QUAGGA_ROUTE_BABEL, "BABEL Route" }, { 0, NULL }, }; #define FRR_ZAPI4_ROUTE_PIM 10 #define FRR_ZAPI4_ROUTE_NHRP 11 #define FRR_ZAPI4_ROUTE_HSLS 12 #define FRR_ZAPI4_ROUTE_OLSR 13 #define FRR_ZAPI4_ROUTE_TABLE 14 #define FRR_ZAPI4_ROUTE_LDP 15 #define FRR_ZAPI4_ROUTE_VNC 16 #define FRR_ZAPI4_ROUTE_VNC_DIRECT 17 #define FRR_ZAPI4_ROUTE_VNC_DIRECT_RH 18 #define FRR_ZAPI4_ROUTE_BGP_DIRECT 19 #define FRR_ZAPI4_ROUTE_BGP_DIRECT_EXT 20 static const value_string routes_v4[] = { { ZEBRA_ROUTE_SYSTEM, "System Route" }, { ZEBRA_ROUTE_KERNEL, "Kernel Route" }, { ZEBRA_ROUTE_CONNECT, "Connected Route" }, { ZEBRA_ROUTE_STATIC, "Static Route" }, { ZEBRA_ROUTE_RIP, "RIP Route" }, { ZEBRA_ROUTE_RIPNG, "RIPnG Route" }, { ZEBRA_ROUTE_OSPF, "OSPF Route" }, { ZEBRA_ROUTE_OSPF6, "OSPF6 Route" }, { QUAGGA_ROUTE_ISIS, "ISIS Route" }, { QUAGGA_ROUTE_BGP, "BGP Route" }, { FRR_ZAPI4_ROUTE_PIM, "PIM Route" }, { FRR_ZAPI4_ROUTE_NHRP, "NHRP Route" }, { FRR_ZAPI4_ROUTE_HSLS, "HSLS Route" }, { FRR_ZAPI4_ROUTE_OLSR, "OLSR Route" }, { FRR_ZAPI4_ROUTE_TABLE, "Table Route" }, { FRR_ZAPI4_ROUTE_LDP, "LDP Route" }, { FRR_ZAPI4_ROUTE_VNC, "VNC Route" }, { FRR_ZAPI4_ROUTE_VNC_DIRECT, "VNC Direct Route" }, { FRR_ZAPI4_ROUTE_VNC_DIRECT_RH, "VNC RN Route" }, { FRR_ZAPI4_ROUTE_BGP_DIRECT, "BGP Direct Route" }, { FRR_ZAPI4_ROUTE_BGP_DIRECT_EXT, "BGP Direct to NVE groups Route" }, { 0, NULL}, }; #define FRR_ZAPI5_ROUTE_EIGRP 11 #define FRR_ZAPI5_ROUTE_NHRP 12 #define FRR_ZAPI5_ROUTE_HSLS 13 #define FRR_ZAPI5_ROUTE_OLSR 14 #define FRR_ZAPI5_ROUTE_TABLE 15 #define FRR_ZAPI5_ROUTE_LDP 16 #define FRR_ZAPI5_ROUTE_VNC 17 #define FRR_ZAPI5_ROUTE_VNC_DIRECT 18 #define FRR_ZAPI5_ROUTE_VNC_DIRECT_RH 19 #define FRR_ZAPI5_ROUTE_BGP_DIRECT 20 #define FRR_ZAPI5_ROUTE_BGP_DIRECT_EXT 21 #define FRR_ZAPI5_ROUTE_BABEL 22 #define FRR_ZAPI5_ROUTE_SHARP 23 #define FRR_ZAPI5_ROUTE_PBR 24 #define FRR_ZAPI6_ROUTE_BFD 25 #define FRR_ZAPI6_ROUTE_OPENFABRIC 26 static const value_string routes_v5[] = { { ZEBRA_ROUTE_SYSTEM, "System Route" }, { ZEBRA_ROUTE_KERNEL, "Kernel Route" }, { ZEBRA_ROUTE_CONNECT, "Connected Route" }, { ZEBRA_ROUTE_STATIC, "Static Route" }, { ZEBRA_ROUTE_RIP, "RIP Route" }, { ZEBRA_ROUTE_RIPNG, "RIPnG Route" }, { ZEBRA_ROUTE_OSPF, "OSPF Route" }, { ZEBRA_ROUTE_OSPF6, "OSPF6 Route" }, { QUAGGA_ROUTE_ISIS, "ISIS Route" }, { QUAGGA_ROUTE_BGP, "BGP Route" }, { FRR_ZAPI4_ROUTE_PIM, "PIM Route" }, { FRR_ZAPI5_ROUTE_EIGRP, "EIGRP Route" }, { FRR_ZAPI5_ROUTE_NHRP, "NHRP Route" }, { FRR_ZAPI5_ROUTE_HSLS, "HSLS Route" }, { FRR_ZAPI5_ROUTE_OLSR, "OLSR Route" }, { FRR_ZAPI5_ROUTE_TABLE, "Table Route" }, { FRR_ZAPI5_ROUTE_LDP, "LDP Route" }, { FRR_ZAPI5_ROUTE_VNC, "VNC Route" }, { FRR_ZAPI5_ROUTE_VNC_DIRECT, "VNC Direct Route" }, { FRR_ZAPI5_ROUTE_VNC_DIRECT_RH, "VNC RN Route" }, { FRR_ZAPI5_ROUTE_BGP_DIRECT, "BGP Direct Route" }, { FRR_ZAPI5_ROUTE_BGP_DIRECT_EXT, "BGP Direct to NVE groups Route" }, { FRR_ZAPI5_ROUTE_BABEL, "BABEL Route" }, { FRR_ZAPI5_ROUTE_SHARP, "SHARPd Route" }, { FRR_ZAPI5_ROUTE_PBR, "PBR Route" }, { FRR_ZAPI6_ROUTE_BFD, "BFD Route" }, { FRR_ZAPI6_ROUTE_OPENFABRIC, "OpenFabric Route" }, { 0, NULL }, }; /* Zebra's family types. */ #define ZEBRA_FAMILY_UNSPEC 0 #define ZEBRA_FAMILY_IPV4 2 #define ZEBRA_FAMILY_IPV6 10 static const value_string families[] = { { ZEBRA_FAMILY_IPV4, "IPv4" }, { ZEBRA_FAMILY_IPV6, "IPv6" }, { 0, NULL }, }; /* Zebra message flags */ #define ZEBRA_FLAG_INTERNAL 0x01 #define ZEBRA_FLAG_SELFROUTE 0x02 #define ZEBRA_FLAG_BLACKHOLE 0x04 #define ZEBRA_FLAG_IBGP 0x08 #define ZEBRA_FLAG_SELECTED 0x10 #define ZEBRA_FLAG_FIB_OVERRIDE 0x20 #define ZEBRA_FLAG_STATIC 0x40 #define ZEBRA_FLAG_REJECT 0x80 /* ZAPI v4 (FRRouting v3) message flags */ #define ZEBRA_FLAG_SCOPE_LINK 0x100 #define FRR_FLAG_FIB_OVERRIDE 0x200 /* ZAPI v5 (FRRouting v5) message flags */ #define ZEBRA_FLAG_EVPN_ROUTE 0x400 #define FRR_FLAG_ALLOW_RECURSION 0x01 /* ZAPI v6 (FRRouting v7) message flags */ #define FRR_ZAPI6_FLAG_IBGP 0x04 #define FRR_ZAPI6_FLAG_SELECTED 0x08 #define FRR_ZAPI6_FLAG_FIB_OVERRIDE 0x10 #define FRR_ZAPI6_FLAG_EVPN_ROUTE 0x20 #define FRR_ZAPI6_FLAG_RR_USE_DISTANCE 0x40 #define FRR_ZAPI6_FLAG_ONLINk 0x40 /* Zebra API message flag. */ #define ZEBRA_ZAPI_MESSAGE_NEXTHOP 0x01 #define ZEBRA_ZAPI_MESSAGE_IFINDEX 0x02 #define ZEBRA_ZAPI_MESSAGE_DISTANCE 0x04 #define ZEBRA_ZAPI_MESSAGE_METRIC 0x08 #define ZEBRA_ZAPI_MESSAGE_MTU 0x10 #define ZEBRA_ZAPI_MESSAGE_TAG 0x20 /* ZAPI v4 (FRRouting v3) API message flags */ #define FRR_ZAPI4_MESSAGE_TAG 0x10 #define FRR_ZAPI4_MESSAGE_MTU 0x20 #define FRR_ZAPI4_MESSAGE_SRCPFX 0x40 /* ZAPI v5 (FRRouting v5) API message flags */ #define FRR_ZAPI5_MESSAGE_DISTANCE 0x02 #define FRR_ZAPI5_MESSAGE_METRIC 0x04 #define FRR_ZAPI5_MESSAGE_TAG 0x08 #define FRR_ZAPI5_MESSAGE_MTU 0x10 #define FRR_ZAPI5_MESSAGE_SRCPFX 0x20 #define FRR_ZAPI5_MESSAGE_LABEL 0x40 #define FRR_ZAPI5_MESSAGE_TABLEID 0x80 /* Zebra NextHop Types */ #define ZEBRA_NEXTHOP_TYPE_IFINDEX 0x01 #define ZEBRA_NEXTHOP_TYPE_IFNAME 0x02 #define ZEBRA_NEXTHOP_TYPE_IPV4 0x03 #define ZEBRA_NEXTHOP_TYPE_IPV4_IFINDEX 0x04 #define ZEBRA_NEXTHOP_TYPE_IPV4_IFNAME 0x05 #define ZEBRA_NEXTHOP_TYPE_IPV6 0x06 #define ZEBRA_NEXTHOP_TYPE_IPV6_IFINDEX 0x07 #define ZEBRA_NEXTHOP_TYPE_IPV6_IFNAME 0x08 #define ZEBRA_NEXTHOP_TYPE_BLACKHOLE 0x09 static const value_string zebra_nht[] = { { ZEBRA_NEXTHOP_TYPE_IFINDEX, "IFIndex" }, { ZEBRA_NEXTHOP_TYPE_IFNAME, "IFName" }, { ZEBRA_NEXTHOP_TYPE_IPV4, "IPv4" }, { ZEBRA_NEXTHOP_TYPE_IPV4_IFINDEX, "IPv4 IFIndex" }, { ZEBRA_NEXTHOP_TYPE_IPV4_IFNAME, "IPv4 IFName" }, { ZEBRA_NEXTHOP_TYPE_IPV6, "IPv6 Nexthop" }, { ZEBRA_NEXTHOP_TYPE_IPV6_IFINDEX, "IPv6 IFIndex" }, { ZEBRA_NEXTHOP_TYPE_IPV6_IFNAME, "IPv6 IFName" }, { ZEBRA_NEXTHOP_TYPE_BLACKHOLE, "Blackhole" }, { 0, NULL }, }; /* FRR NextHop Types */ #define FRR_NEXTHOP_TYPE_IFINDEX 0x01 #define FRR_NEXTHOP_TYPE_IPV4 0x02 #define FRR_NEXTHOP_TYPE_IPV4_IFINDEX 0x03 #define FRR_NEXTHOP_TYPE_IPV6 0x04 #define FRR_NEXTHOP_TYPE_IPV6_IFINDEX 0x05 #define FRR_NEXTHOP_TYPE_BLACKHOLE 0x06 static const value_string frr_nht[] = { { FRR_NEXTHOP_TYPE_IFINDEX, "IFIndex" }, { FRR_NEXTHOP_TYPE_IPV4, "IPv4" }, { FRR_NEXTHOP_TYPE_IPV4_IFINDEX, "IPv4 IFIndex" }, { FRR_NEXTHOP_TYPE_IPV6, "IPv6" }, { FRR_NEXTHOP_TYPE_IPV6_IFINDEX, "IPv6 IFIndex" }, { FRR_NEXTHOP_TYPE_BLACKHOLE, "Blackhole" }, { 0, NULL }, }; /* Subsequent Address Family Identifier. */ #define ZEBRA_SAFI_UNICAST 1 #define ZEBRA_SAFI_MULTICAST 2 #define ZEBRA_SAFI_RESERVED_3 3 #define ZEBRA_SAFI_MPLS_VPN 4 static const value_string safi[] = { { ZEBRA_SAFI_UNICAST, "Unicast" }, { ZEBRA_SAFI_MULTICAST, "Multicast" }, { ZEBRA_SAFI_RESERVED_3, "Reserved" }, { ZEBRA_SAFI_MPLS_VPN, "MPLS VPN" }, { 0, NULL }, }; enum blackhole_type { BLACKHOLE_UNSPEC = 0, BLACKHOLE_NULL, BLACKHOLE_REJECT, BLACKHOLE_ADMINPROHIB, }; static const value_string blackhole_type[] = { { BLACKHOLE_UNSPEC, "Unspec" }, { BLACKHOLE_NULL, "NULL" }, { BLACKHOLE_REJECT, "Reject" }, { BLACKHOLE_ADMINPROHIB, "Administrative Prohibit" }, { 0, NULL}, }; #define INTERFACE_NAMSIZ 20 #define PSIZE(a) (((a) + 7) / (8)) typedef struct _zebra_header_t { guint16 len; guint16 command; guint8 version; } zebra_header_t; static int zebra_route_nexthop(proto_tree *tree, gboolean request, tvbuff_t *tvb, int offset, guint16 len, guint8 family, guint8 version) { guint8 nexthoptype = 0, interfacenamelength; guint16 nexthopcount; if (version < 5) { nexthopcount = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zebra_nexthopnum, tvb, offset, 1, nexthopcount); offset += 1; } else { nexthopcount = tvb_get_ntohs(tvb, offset); proto_tree_add_uint(tree, hf_zebra_nexthopnum_u16, tvb, offset, 2, nexthopcount); offset += 2; } if (nexthopcount > len) return offset; /* Sanity */ while (nexthopcount--) { if (version > 4) { proto_tree_add_item(tree, hf_zebra_vrfid, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (version < 4 && request) { /* Quagga */ nexthoptype = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zebra_nexthoptype, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } else if (version >= 4) { /* FRR */ nexthoptype = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zebra_nexthoptype_frr, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } if ((version < 4 && ((request && (nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4 || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4_IFINDEX || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4_IFNAME)) || (!request && family == ZEBRA_FAMILY_IPV4))) || (version >= 4 && (nexthoptype == FRR_NEXTHOP_TYPE_IPV4 || nexthoptype == FRR_NEXTHOP_TYPE_IPV4_IFINDEX))) { proto_tree_add_item(tree, hf_zebra_nexthop4, tvb, offset, 4, ENC_NA); offset += 4; } if ((version < 4 && ((request && (nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6 || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6_IFINDEX || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6_IFNAME)) || (!request && family == ZEBRA_FAMILY_IPV6))) || (version >= 4 && (nexthoptype == FRR_NEXTHOP_TYPE_IPV6 || nexthoptype == FRR_NEXTHOP_TYPE_IPV6_IFINDEX))) { proto_tree_add_item(tree, hf_zebra_nexthop6, tvb, offset, 16, ENC_NA); offset += 16; } if (nexthoptype == ZEBRA_NEXTHOP_TYPE_IFINDEX || (version < 4 && (nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4_IFINDEX || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6_IFINDEX)) || (version >= 4 && (nexthoptype == FRR_NEXTHOP_TYPE_IPV4_IFINDEX || nexthoptype == FRR_NEXTHOP_TYPE_IPV6_IFINDEX))) { proto_tree_add_item(tree, hf_zebra_index, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (version < 4 && (nexthoptype == ZEBRA_NEXTHOP_TYPE_IFNAME || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4_IFNAME || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6_IFNAME)) { interfacenamelength = tvb_get_guint8(tvb, offset); offset += 1; proto_tree_add_item(tree, hf_zebra_interface, tvb, offset, interfacenamelength, ENC_ASCII | ENC_NA); offset += interfacenamelength; } if (version > 4 && (nexthoptype == FRR_NEXTHOP_TYPE_BLACKHOLE)) { proto_tree_add_item(tree, hf_zebra_bhtype, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } } return offset; } static int zebra_route_ifindex(proto_tree *tree, tvbuff_t *tvb, int offset, guint16 len) { guint16 indexcount = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zebra_indexnum, tvb, offset, 1, indexcount); offset += 1; if (indexcount > len) return offset; /* Sanity */ while (indexcount--) { proto_tree_add_item(tree, hf_zebra_index, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } return offset; } static int zebra_route_message(proto_tree *tree, tvbuff_t *tvb, int offset, guint8 version) { static int * const flags[] = { &hf_zebra_msg_nexthop, &hf_zebra_msg_index, &hf_zebra_msg_distance, &hf_zebra_msg_metric, &hf_zebra_msg_mtu, &hf_zebra_msg_tag, NULL }; static int * const flags4[] = { &hf_zebra_msg_nexthop, &hf_zebra_msg_index, &hf_zebra_msg_distance, &hf_zebra_msg_metric, &hf_zebra_msg4_tag, &hf_zebra_msg4_mtu, &hf_zebra_msg4_srcpfx, NULL }; static int * const flags5[] = { &hf_zebra_msg_nexthop, &hf_zebra_msg5_distance, &hf_zebra_msg5_metric, &hf_zebra_msg5_tag, &hf_zebra_msg5_mtu, &hf_zebra_msg5_srcpfx, &hf_zebra_msg_label, &hf_zebra_msg_tableid, NULL }; if (version < 4) { proto_tree_add_bitmask(tree, tvb, offset, hf_zebra_message, ett_message, flags, ENC_NA); } else if (version == 4) { proto_tree_add_bitmask(tree, tvb, offset, hf_zebra_message4, ett_message, flags4, ENC_NA); } else { proto_tree_add_bitmask(tree, tvb, offset, hf_zebra_message5, ett_message, flags5, ENC_NA); } offset += 1; return offset; } static int zebra_route(proto_tree *tree, gboolean request, tvbuff_t *tvb, int offset, guint16 len, guint8 family, guint16 command, guint8 version) { guint32 prefix4, srcprefix4, rtflags = 0; guint8 message, prefixlen, buffer6[16], srcprefixlen, srcbuffer6[16]; if (version == 0) { proto_tree_add_item(tree, hf_zebra_type_v0, tvb, offset, 1, ENC_BIG_ENDIAN); } else if (version < 4) { proto_tree_add_item(tree, hf_zebra_type_v1, tvb, offset, 1, ENC_BIG_ENDIAN); } else if (version == 4) { proto_tree_add_item(tree, hf_zebra_type_v4, tvb, offset, 1, ENC_BIG_ENDIAN); } else { proto_tree_add_item(tree, hf_zebra_type_v5, tvb, offset, 1, ENC_BIG_ENDIAN); } offset += 1; if (version > 3) { proto_tree_add_item(tree, hf_zebra_instance, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; rtflags = tvb_get_ntohl(tvb, offset); proto_tree_add_item(tree, hf_zebra_rtflags_u32, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } else { proto_tree_add_item(tree, hf_zebra_rtflags, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } message = tvb_get_guint8(tvb, offset); offset = zebra_route_message(tree, tvb, offset, version); if (version > 1 && version < 5) { /* version 2 added safi */ if (((version == 2 || version == 3) && request)|| (version == 4 && (command == FRR_ZAPI4_IPV4_ROUTE_ADD || command == FRR_ZAPI4_IPV4_ROUTE_DELETE || command == FRR_ZAPI4_IPV6_ROUTE_ADD || command == FRR_ZAPI4_IPV6_ROUTE_DELETE))) { proto_tree_add_item(tree, hf_zebra_route_safi, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; } } else if (version >= 5) { /* version 5: safi is 1 byte */ proto_tree_add_item(tree, hf_zebra_route_safi_u8, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; if ((version == 5 &&rtflags & ZEBRA_FLAG_EVPN_ROUTE) || (version > 5 &&rtflags & FRR_ZAPI6_FLAG_EVPN_ROUTE)) { proto_tree_add_item(tree, hf_zebra_rmac, tvb, offset, 6, ENC_NA); offset += 6; } family = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_zebra_family, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } prefixlen = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zebra_prefixlen, tvb, offset, 1, prefixlen); offset += 1; if (family == ZEBRA_FAMILY_IPV6) { memset(buffer6, '\0', sizeof buffer6); tvb_memcpy(tvb, buffer6, offset, MIN((unsigned) PSIZE(prefixlen), sizeof buffer6)); proto_tree_add_ipv6(tree, hf_zebra_prefix6, tvb, offset, PSIZE(prefixlen), (ws_in6_addr *)buffer6); } else if (family == ZEBRA_FAMILY_IPV4) { prefix4 = 0; tvb_memcpy(tvb, (guint8 *)&prefix4, offset, MIN((unsigned) PSIZE(prefixlen), sizeof prefix4)); proto_tree_add_ipv4(tree, hf_zebra_prefix4, tvb, offset, PSIZE(prefixlen), prefix4); } offset += PSIZE(prefixlen); if ((version == 4 && family == ZEBRA_FAMILY_IPV6 && message & FRR_ZAPI4_MESSAGE_SRCPFX) || (version > 4 && message & FRR_ZAPI5_MESSAGE_SRCPFX)) { srcprefixlen = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zebra_srcprefixlen, tvb, offset, 1, srcprefixlen); offset += 1; if (family == ZEBRA_FAMILY_IPV6) { memset(srcbuffer6, '\0', sizeof srcbuffer6); tvb_memcpy(tvb, srcbuffer6, offset, MIN((unsigned)PSIZE(srcprefixlen), sizeof srcbuffer6)); proto_tree_add_ipv6(tree, hf_zebra_srcprefix6, tvb, offset, PSIZE(srcprefixlen), (ws_in6_addr *)srcbuffer6); } else if (family == ZEBRA_FAMILY_IPV4) { prefix4 = 0; tvb_memcpy(tvb, (guint8 *)&srcprefix4, offset, MIN((unsigned)PSIZE(srcprefixlen), sizeof srcprefix4)); proto_tree_add_ipv4(tree, hf_zebra_srcprefix4, tvb, offset, PSIZE(srcprefixlen), srcprefix4); } offset += PSIZE(srcprefixlen); } if (message & ZEBRA_ZAPI_MESSAGE_NEXTHOP) { if (version == 4 && (command == FRR_ZAPI4_REDISTRIBUTE_IPV4_ADD || command == FRR_ZAPI4_REDISTRIBUTE_IPV4_DEL)) { proto_tree_add_item(tree, hf_zebra_nexthopnum, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zebra_nexthop4, tvb, offset, 4, ENC_NA); offset += 4; } else if (version == 4 && (command == FRR_ZAPI4_REDISTRIBUTE_IPV6_ADD || command == FRR_ZAPI4_REDISTRIBUTE_IPV6_DEL)) { proto_tree_add_item(tree, hf_zebra_nexthopnum, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zebra_nexthop6, tvb, offset, 16, ENC_NA); offset += 16; } else { offset = zebra_route_nexthop(tree, request, tvb, offset, len, family, version); } } if (version < 5 && message & ZEBRA_ZAPI_MESSAGE_IFINDEX) { offset = zebra_route_ifindex(tree, tvb, offset, len); } if ((version < 5 && message & ZEBRA_ZAPI_MESSAGE_DISTANCE) || (version >= 5 && message & FRR_ZAPI5_MESSAGE_DISTANCE)) { proto_tree_add_item(tree, hf_zebra_distance, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } if ((version < 5 && message & ZEBRA_ZAPI_MESSAGE_METRIC) || (version >= 5 && message & FRR_ZAPI5_MESSAGE_METRIC)) { proto_tree_add_item(tree, hf_zebra_metric, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if ((version < 4 && message & ZEBRA_ZAPI_MESSAGE_MTU) || (version == 4 && message & FRR_ZAPI4_MESSAGE_MTU) || (version > 4 && message & FRR_ZAPI5_MESSAGE_MTU)) { proto_tree_add_item(tree, hf_zebra_mtu, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if ((version < 4 && message & ZEBRA_ZAPI_MESSAGE_TAG) || (version == 4 && message & FRR_ZAPI4_MESSAGE_TAG) || (version > 4 && message & FRR_ZAPI5_MESSAGE_TAG)) { proto_tree_add_item(tree, hf_zebra_tag, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (version > 4 && message & FRR_ZAPI5_MESSAGE_TABLEID) { proto_tree_add_item(tree, hf_zebra_tableid, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } return offset; } static int zebra_interface_address(proto_tree *tree, tvbuff_t *tvb, int offset) { guint8 family; proto_tree_add_item(tree, hf_zebra_index, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_zebra_flags, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zebra_family, tvb, offset, 1, ENC_BIG_ENDIAN); family = tvb_get_guint8(tvb, offset); offset += 1; if (family == ZEBRA_FAMILY_IPV4) { proto_tree_add_item(tree, hf_zebra_prefix4, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } else if (family == ZEBRA_FAMILY_IPV6) { proto_tree_add_item(tree, hf_zebra_prefix6, tvb, offset, 16, ENC_NA); offset += 16; } else return offset; proto_tree_add_item(tree, hf_zebra_prefixlen, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; if (family == ZEBRA_FAMILY_IPV4) { proto_tree_add_item(tree, hf_zebra_dest4, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } else if (family == ZEBRA_FAMILY_IPV6) { proto_tree_add_item(tree, hf_zebra_dest6, tvb, offset, 16, ENC_NA); offset += 16; } return offset; } static int zebra_hello(proto_tree *tree, tvbuff_t *tvb, int offset, int left, guint8 version) { proto_tree_add_item(tree, hf_zebra_redist_default, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; if (version > 3) { proto_tree_add_item(tree, hf_zebra_instance, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; } if (version > 4 && left > offset) { proto_tree_add_item(tree, hf_zebra_receive_notify, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } return offset; } static int zebra_redistribute(proto_tree *tree, tvbuff_t *tvb, int offset, guint8 version) { if (version > 3) { proto_tree_add_item(tree, hf_zebra_afi, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } if (version == 0) { proto_tree_add_item(tree, hf_zebra_type_v0, tvb, offset, 1, ENC_BIG_ENDIAN); } else if (version < 4) { proto_tree_add_item(tree, hf_zebra_type_v1, tvb, offset, 1, ENC_BIG_ENDIAN); } else if (version == 4) { proto_tree_add_item(tree, hf_zebra_type_v4, tvb, offset, 1, ENC_BIG_ENDIAN); } else { proto_tree_add_item(tree, hf_zebra_type_v5, tvb, offset, 1, ENC_BIG_ENDIAN); } offset += 1; if (version > 3) { proto_tree_add_item(tree, hf_zebra_instance, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; } return offset; } static int zebra_vrf(proto_tree *tree, tvbuff_t *tvb, int offset) { proto_tree_add_item(tree, hf_zebra_vrf_table_id, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_zebra_vrf_netns_name, tvb, offset, 16, ENC_ASCII | ENC_NA); offset += 16; proto_tree_add_item(tree, hf_zebra_vrf_name, tvb, offset, 36, ENC_ASCII | ENC_NA); offset += 36; return offset; } static int zebra_label_manager_connect(proto_tree *tree, tvbuff_t *tvb, int offset) { proto_tree_add_item(tree, hf_zebra_proto, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zebra_instance, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; return offset; } static int zebra_get_label_chunk(proto_tree *tree, gboolean request, tvbuff_t *tvb, int offset) { proto_tree_add_item(tree, hf_zebra_proto, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zebra_instance, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zebra_label_chunk_keep, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; if (request) { proto_tree_add_item(tree, hf_zebra_label_chunk_size, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } else { proto_tree_add_item(tree, hf_zebra_label_chunk_start, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_zebra_label_chunk_end, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } return offset; } static int zebra_capabilties(proto_tree *tree, tvbuff_t *tvb, int offset) { proto_tree_add_item(tree, hf_zebra_mpls_enabled, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zebra_multipath_num, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; return offset; } static int zebra_nexthop_register(proto_tree *tree, tvbuff_t *tvb, int offset, guint16 len, int msg_offset) { int init_offset = offset, rest = (int)len - msg_offset; guint16 family = ZEBRA_FAMILY_UNSPEC; while (rest > offset - init_offset) { proto_tree_add_item(tree, hf_zebra_flags, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; family = tvb_get_ntohs(tvb, offset); proto_tree_add_item(tree, hf_zebra_family, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_zebra_prefixlen, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; if (family == ZEBRA_FAMILY_IPV6) { proto_tree_add_item(tree, hf_zebra_prefix6, tvb, offset, 16, ENC_NA); offset += 16; } else if (family == ZEBRA_FAMILY_IPV4) { proto_tree_add_item(tree, hf_zebra_prefix4, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } } return offset; } static int zebra_interface(proto_tree *tree, tvbuff_t *tvb, int offset, guint16 command, guint8 version) { gint maclen; proto_tree_add_item(tree, hf_zebra_interface, tvb, offset, INTERFACE_NAMSIZ, ENC_ASCII); offset += INTERFACE_NAMSIZ; proto_tree_add_item(tree, hf_zebra_index, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_zebra_intstatus, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; if (version != 0) { proto_tree_add_item(tree, hf_zebra_intflags, tvb, offset, 8, ENC_BIG_ENDIAN); offset += 8; } else { proto_tree_add_item(tree, hf_zebra_intflags, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (version >= 4) { proto_tree_add_item(tree, hf_zebra_ptmenable, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zebra_ptmstatus, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } proto_tree_add_item(tree, hf_zebra_metric, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; if (version >= 4) { proto_tree_add_item(tree, hf_zebra_speed, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } proto_tree_add_item(tree, hf_zebra_mtu, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; if (version != 0) { proto_tree_add_item(tree, hf_zebra_mtu6, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } proto_tree_add_item(tree, hf_zebra_bandwidth, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; if (version > 2 || (version <= 2 && command == ZEBRA_INTERFACE_ADD)) { if (version > 2) { proto_tree_add_item(tree, hf_zebra_lltype, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (version != 0) { maclen = (gint)tvb_get_ntohl(tvb, offset); proto_tree_add_item(tree, hf_zebra_maclen, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; if (maclen > 0) proto_tree_add_item(tree, hf_zebra_mac, tvb, offset, maclen, ENC_NA); offset += maclen; } if (version > 2) { proto_tree_add_item(tree, hf_zebra_haslinkparam, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } } return offset; } static int zebra_nexthop_lookup(proto_tree *tree, gboolean request, tvbuff_t *tvb, int offset, guint16 len, guint8 family, guint8 version) { if (family == ZEBRA_FAMILY_IPV6) { proto_tree_add_item(tree, hf_zebra_dest6, tvb, offset, 16, ENC_NA); offset += 16; }else { proto_tree_add_item(tree, hf_zebra_dest4, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (!request) { proto_tree_add_item(tree, hf_zebra_metric,tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; offset = zebra_route_nexthop(tree, request, tvb, offset, len, family, version); } return offset; } static int zerba_router_update(proto_tree *tree, tvbuff_t *tvb, int offset) { proto_tree_add_item(tree, hf_zebra_routeridfamily, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(tree, hf_zebra_routeridaddress, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_zebra_routeridmask, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; return offset; } static int zebra_nexthop_update(proto_tree *tree, tvbuff_t *tvb, int offset, guint8 version) { guint16 family = tvb_get_ntohs(tvb, offset); guint8 prefixlen, nexthopcount, nexthoptype, labelnum; proto_tree_add_item(tree, hf_zebra_family, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; prefixlen = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zebra_prefixlen, tvb, offset, 1, prefixlen); offset += 1; if (family == ZEBRA_FAMILY_IPV6) { proto_tree_add_item(tree, hf_zebra_prefix6, tvb, offset, 16, ENC_NA); offset += 16; } else if (family == ZEBRA_FAMILY_IPV4) { proto_tree_add_item(tree, hf_zebra_prefix4, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (version > 4) { proto_tree_add_item(tree, hf_zebra_type_v5, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } if (version > 4) { proto_tree_add_item(tree, hf_zebra_instance, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; } if (version > 3) { proto_tree_add_item(tree, hf_zebra_distance, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } proto_tree_add_item(tree, hf_zebra_metric, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; nexthopcount = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zebra_nexthopnum, tvb, offset, 1, nexthopcount); offset += 1; while (nexthopcount--) { nexthoptype = tvb_get_guint8(tvb, offset); if (version > 3) { proto_tree_add_item(tree, hf_zebra_nexthoptype_frr, tvb, offset, 1, ENC_BIG_ENDIAN); } else { proto_tree_add_item(tree, hf_zebra_nexthoptype, tvb, offset, 1, ENC_BIG_ENDIAN); } offset += 1; if ((version < 4 && (nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6 || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6_IFINDEX || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6_IFNAME)) || (version >= 4 && (nexthoptype == FRR_NEXTHOP_TYPE_IPV6 || nexthoptype == FRR_NEXTHOP_TYPE_IPV6_IFINDEX))) { proto_tree_add_item(tree, hf_zebra_nexthop6, tvb, offset, 16, ENC_NA); offset += 16; } if ((version < 4 && (nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4 || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4_IFINDEX || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4_IFNAME)) || (version >= 4 && (nexthoptype == FRR_NEXTHOP_TYPE_IPV4 || nexthoptype == FRR_NEXTHOP_TYPE_IPV4_IFINDEX))) { proto_tree_add_item(tree, hf_zebra_nexthop4, tvb, offset, 4, ENC_NA); offset += 4; } if (nexthoptype == ZEBRA_NEXTHOP_TYPE_IFINDEX || (version < 4 && (nexthoptype == ZEBRA_NEXTHOP_TYPE_IFNAME || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4_IFINDEX || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV4_IFNAME || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6_IFINDEX || nexthoptype == ZEBRA_NEXTHOP_TYPE_IPV6_IFNAME)) || (version >= 4 && (nexthoptype == FRR_NEXTHOP_TYPE_IPV4 || nexthoptype == FRR_NEXTHOP_TYPE_IPV4_IFINDEX || nexthoptype == FRR_NEXTHOP_TYPE_IPV6 || nexthoptype == FRR_NEXTHOP_TYPE_IPV6_IFINDEX))) { proto_tree_add_item(tree, hf_zebra_index, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (version > 4) { labelnum = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_zebra_labelnum, tvb, offset, 1, labelnum); offset += 1; while (labelnum--) { proto_tree_add_item(tree, hf_zebra_label, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } } } return offset; } static int dissect_zebra_request(proto_tree *tree, gboolean request, tvbuff_t *tvb, int offset, int left, guint16 len, guint16 command, guint8 version) { int init_offset = offset; proto_tree_add_uint(tree, hf_zebra_len, tvb, offset, 2, len); offset += 2; if (version != 0) { proto_tree_add_item(tree, hf_zebra_marker, tvb, offset, 1, ENC_NA); offset += 1; proto_tree_add_uint(tree, hf_zebra_version, tvb, offset, 1, version); offset += 1; if (version == 3 || version == 4) { proto_tree_add_item(tree, hf_zebra_vrfid, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; } else if (version > 4) { proto_tree_add_item(tree, hf_zebra_vrfid, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; } if (version < 4) { proto_tree_add_uint(tree, hf_zebra_command, tvb, offset, 2, command); } else if (version == 4) { proto_tree_add_uint(tree, hf_zebra_command_v4, tvb, offset, 2, command); } else if (version == 5) { proto_tree_add_uint(tree, hf_zebra_command_v5, tvb, offset, 2, command); } else { proto_tree_add_uint(tree, hf_zebra_command_v6, tvb, offset, 2, command); } offset += 2; } else { proto_tree_add_uint(tree, hf_zebra_command, tvb, offset, 1, command); offset += 1; } if (version < 4) { switch (command) { case ZEBRA_INTERFACE_ADD: case ZEBRA_INTERFACE_DELETE: case ZEBRA_INTERFACE_UP: case ZEBRA_INTERFACE_DOWN: if (request) break; /* Request just subscribes to messages */ offset = zebra_interface(tree, tvb, offset, command, version); break; case ZEBRA_INTERFACE_ADDRESS_ADD: case ZEBRA_INTERFACE_ADDRESS_DELETE: offset = zebra_interface_address(tree, tvb, offset); break; case ZEBRA_IPV4_ROUTE_ADD: case ZEBRA_IPV4_ROUTE_DELETE: offset = zebra_route(tree, request, tvb, offset, len, ZEBRA_FAMILY_IPV4, command, version); break; case ZEBRA_IPV6_ROUTE_ADD: case ZEBRA_IPV6_ROUTE_DELETE: offset = zebra_route(tree, request, tvb, offset, len, ZEBRA_FAMILY_IPV6, command, version); break; case ZEBRA_REDISTRIBUTE_ADD: case ZEBRA_REDISTRIBUTE_DEFAULT_ADD: offset = zebra_redistribute(tree, tvb, offset, version); break; case ZEBRA_IPV4_IMPORT_LOOKUP: case ZEBRA_IPV4_NEXTHOP_LOOKUP: offset = zebra_nexthop_lookup(tree, request, tvb, offset, len, ZEBRA_FAMILY_IPV4, version); break; case ZEBRA_IPV6_IMPORT_LOOKUP: case ZEBRA_IPV6_NEXTHOP_LOOKUP: offset = zebra_nexthop_lookup(tree, request, tvb, offset, len, ZEBRA_FAMILY_IPV6, version); break; case ZEBRA_ROUTER_ID_UPDATE: offset = zerba_router_update(tree, tvb, offset); break; case ZEBRA_ROUTER_ID_ADD: case ZEBRA_ROUTER_ID_DELETE: case ZEBRA_REDISTRIBUTE_DEFAULT_DELETE: /* nothing to do */ break; case ZEBRA_REDISTRIBUTE_DELETE: /* in version 1+, there's a route type field */ if (version > 0) { proto_tree_add_item(tree, hf_zebra_type_v1, tvb, offset, 1, ENC_BIG_ENDIAN); } break; case ZEBRA_HELLO: offset = zebra_hello(tree, tvb, offset, left, version); break; case ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB: case ZEBRA_VRF_UNREGISTER: case ZEBRA_INTERFACE_LINK_PARAMS: break; case ZEBRA_NEXTHOP_REGISTER: case ZEBRA_NEXTHOP_UNREGISTER: offset = zebra_nexthop_register(tree, tvb, offset, len, offset - init_offset); break; case ZEBRA_NEXTHOP_UPDATE: offset = zebra_nexthop_update(tree, tvb, offset, version); break; } } else if (version == 4) { switch (command) { case FRR_ZAPI4_INTERFACE_ADD: case FRR_ZAPI4_INTERFACE_UP: case FRR_ZAPI4_INTERFACE_DOWN: case FRR_ZAPI4_INTERFACE_DELETE: if (request) break; /* Request just subscribes to messages */ offset = zebra_interface(tree, tvb, offset, command, version); break; case FRR_ZAPI4_INTERFACE_ADDRESS_ADD: case FRR_ZAPI4_INTERFACE_ADDRESS_DELETE: offset = zebra_interface_address(tree, tvb, offset); break; case FRR_ZAPI4_IPV4_ROUTE_ADD: case FRR_ZAPI4_IPV4_ROUTE_DELETE: case FRR_ZAPI4_REDISTRIBUTE_IPV4_ADD: case FRR_ZAPI4_REDISTRIBUTE_IPV4_DEL: offset = zebra_route(tree, request, tvb, offset, len, ZEBRA_FAMILY_IPV4, command, version); break; case FRR_ZAPI4_IPV6_ROUTE_ADD: case FRR_ZAPI4_IPV6_ROUTE_DELETE: case FRR_ZAPI4_REDISTRIBUTE_IPV6_ADD: case FRR_ZAPI4_REDISTRIBUTE_IPV6_DEL: offset = zebra_route(tree, request, tvb, offset, len, ZEBRA_FAMILY_IPV6, command, version); break; case FRR_ZAPI4_REDISTRIBUTE_ADD: case FRR_ZAPI4_REDISTRIBUTE_DEFAULT_ADD: offset = zebra_redistribute(tree, tvb, offset, version); break; case FRR_ZAPI4_ROUTER_ID_UPDATE: offset = zerba_router_update(tree, tvb, offset); break; case FRR_ZAPI4_ROUTER_ID_ADD: case FRR_ZAPI4_ROUTER_ID_DELETE: case FRR_ZAPI4_REDISTRIBUTE_DEFAULT_DELETE: /* nothing to do */ break; case FRR_ZAPI4_REDISTRIBUTE_DELETE: proto_tree_add_item(tree, hf_zebra_type_v4, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; break; case FRR_ZAPI4_HELLO: offset = zebra_hello(tree, tvb, offset, left, version); break; case FRR_ZAPI4_NEXTHOP_REGISTER: case FRR_ZAPI4_NEXTHOP_UNREGISTER: offset = zebra_nexthop_register(tree, tvb, offset, len, offset - init_offset); break; case FRR_ZAPI4_NEXTHOP_UPDATE: offset = zebra_nexthop_update(tree, tvb, offset, version); break; case FRR_ZAPI4_INTERFACE_NBR_ADDRESS_ADD: case FRR_ZAPI4_INTERFACE_NBR_ADDRESS_DELETE: case FRR_ZAPI4_INTERFACE_BFD_DEST_UPDATE: case FRR_ZAPI4_IMPORT_ROUTE_REGISTER: case FRR_ZAPI4_IMPORT_ROUTE_UNREGISTER: case FRR_ZAPI4_IMPORT_CHECK_UPDATE: case FRR_ZAPI4_IPV4_ROUTE_IPV6_NEXTHOP_ADD: case FRR_ZAPI4_BFD_DEST_REGISTER: case FRR_ZAPI4_BFD_DEST_DEREGISTER: case FRR_ZAPI4_BFD_DEST_UPDATE: case FRR_ZAPI4_BFD_DEST_REPLAY: case FRR_ZAPI4_VRF_UNREGISTER: case FRR_ZAPI4_VRF_ADD: case FRR_ZAPI4_VRF_DELETE: case FRR_ZAPI4_INTERFACE_VRF_UPDATE: break; case FRR_ZAPI4_BFD_CLIENT_REGISTER: proto_tree_add_item(tree, hf_zebra_pid, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; break; case FRR_ZAPI4_INTERFACE_ENABLE_RADV: case FRR_ZAPI4_INTERFACE_DISABLE_RADV: case FRR_ZAPI4_IPV4_NEXTHOP_LOOKUP_MRIB: case FRR_ZAPI4_INTERFACE_LINK_PARAMS: case FRR_ZAPI4_MPLS_LABELS_ADD: case FRR_ZAPI4_MPLS_LABELS_DELETE: case FRR_ZAPI4_IPV4_NEXTHOP_ADD: case FRR_ZAPI4_IPV4_NEXTHOP_DELETE: case FRR_ZAPI4_IPV6_NEXTHOP_ADD: case FRR_ZAPI4_IPV6_NEXTHOP_DELETE: case FRR_ZAPI4_IPMR_ROUTE_STATS: case FRR_ZAPI4_LABEL_MANAGER_CONNECT: case FRR_ZAPI4_GET_LABEL_CHUNK: case FRR_ZAPI4_RELEASE_LABEL_CHUNK: case FRR_ZAPI4_PW_ADD: case FRR_ZAPI4_PW_DELETE: case FRR_ZAPI4_PW_SET: case FRR_ZAPI4_PW_UNSET: case FRR_ZAPI4_PW_STATUS_UPDATE: break; } } else if (version == 5) { switch (command) { case FRR_ZAPI5_INTERFACE_ADD: case FRR_ZAPI5_INTERFACE_UP: case FRR_ZAPI5_INTERFACE_DOWN: case FRR_ZAPI5_INTERFACE_DELETE: if (request) break; /* Request just subscribes to messages */ offset = zebra_interface(tree, tvb, offset, command, version); break; case FRR_ZAPI5_INTERFACE_ADDRESS_ADD: case FRR_ZAPI5_INTERFACE_ADDRESS_DELETE: offset = zebra_interface_address(tree, tvb, offset); break; case FRR_ZAPI5_IPV4_ROUTE_ADD: case FRR_ZAPI5_IPV4_ROUTE_DELETE: offset = zebra_route(tree, request, tvb, offset, len, ZEBRA_FAMILY_IPV4, command, version); break; case FRR_ZAPI5_IPV6_ROUTE_ADD: case FRR_ZAPI5_IPV6_ROUTE_DELETE: offset = zebra_route(tree, request, tvb, offset, len, ZEBRA_FAMILY_IPV6, command, version); break; case FRR_ZAPI5_ROUTE_ADD: case FRR_ZAPI5_ROUTE_DELETE: case FRR_ZAPI5_REDISTRIBUTE_ROUTE_ADD: case FRR_ZAPI5_REDISTRIBUTE_ROUTE_DEL: offset = zebra_route(tree, request, tvb, offset, len, ZEBRA_FAMILY_UNSPEC, command, version); break; case FRR_ZAPI5_REDISTRIBUTE_ADD: case FRR_ZAPI5_REDISTRIBUTE_DEFAULT_ADD: offset = zebra_redistribute(tree, tvb, offset, version); break; case FRR_ZAPI5_ROUTER_ID_UPDATE: offset = zerba_router_update(tree, tvb, offset); break; case FRR_ZAPI5_ROUTER_ID_ADD: case FRR_ZAPI5_ROUTER_ID_DELETE: case FRR_ZAPI5_REDISTRIBUTE_DEFAULT_DELETE: /* nothing to do */ break; case FRR_ZAPI5_REDISTRIBUTE_DELETE: proto_tree_add_item(tree, hf_zebra_type_v5, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; break; case FRR_ZAPI5_HELLO: offset = zebra_hello(tree, tvb, offset, left, version); break; case FRR_ZAPI5_CAPABILITIES: offset = zebra_capabilties(tree, tvb, offset); break; case FRR_ZAPI5_NEXTHOP_REGISTER: case FRR_ZAPI5_NEXTHOP_UNREGISTER: offset = zebra_nexthop_register(tree, tvb, offset, len, offset - init_offset); break; case FRR_ZAPI5_NEXTHOP_UPDATE: offset = zebra_nexthop_update(tree, tvb, offset, version); break; case FRR_ZAPI5_INTERFACE_NBR_ADDRESS_ADD: case FRR_ZAPI5_INTERFACE_NBR_ADDRESS_DELETE: case FRR_ZAPI5_INTERFACE_BFD_DEST_UPDATE: case FRR_ZAPI5_IMPORT_ROUTE_REGISTER: case FRR_ZAPI5_IMPORT_ROUTE_UNREGISTER: case FRR_ZAPI5_IMPORT_CHECK_UPDATE: case FRR_ZAPI5_IPV4_ROUTE_IPV6_NEXTHOP_ADD: case FRR_ZAPI5_BFD_DEST_REGISTER: case FRR_ZAPI5_BFD_DEST_DEREGISTER: case FRR_ZAPI5_BFD_DEST_UPDATE: case FRR_ZAPI5_BFD_DEST_REPLAY: case FRR_ZAPI5_VRF_UNREGISTER: break; case FRR_ZAPI5_VRF_ADD: offset = zebra_vrf(tree, tvb, offset); break; case FRR_ZAPI5_VRF_DELETE: case FRR_ZAPI5_VRF_LABEL: case FRR_ZAPI5_INTERFACE_VRF_UPDATE: break; case FRR_ZAPI5_BFD_CLIENT_REGISTER: proto_tree_add_item(tree, hf_zebra_pid, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; break; case FRR_ZAPI5_INTERFACE_ENABLE_RADV: case FRR_ZAPI5_INTERFACE_DISABLE_RADV: case FRR_ZAPI5_IPV4_NEXTHOP_LOOKUP_MRIB: case FRR_ZAPI5_INTERFACE_LINK_PARAMS: case FRR_ZAPI5_MPLS_LABELS_ADD: case FRR_ZAPI5_MPLS_LABELS_DELETE: case FRR_ZAPI5_IPMR_ROUTE_STATS: break; case FRR_ZAPI5_LABEL_MANAGER_CONNECT: case FRR_ZAPI5_LABEL_MANAGER_CONNECT_ASYNC: offset = zebra_label_manager_connect(tree, tvb, offset); break; case FRR_ZAPI5_GET_LABEL_CHUNK: offset = zebra_get_label_chunk(tree, request, tvb, offset); break; case FRR_ZAPI5_RELEASE_LABEL_CHUNK: case FRR_ZAPI5_FEC_REGISTER: case FRR_ZAPI5_FEC_UNREGISTER: case FRR_ZAPI5_FEC_UPDATE: case FRR_ZAPI5_ADVERTISE_DEFAULT_GW: case FRR_ZAPI5_ADVERTISE_SUBNET: case FRR_ZAPI5_ADVERTISE_ALL_VNI: case FRR_ZAPI5_VNI_ADD: case FRR_ZAPI5_VNI_DEL: case FRR_ZAPI5_L3VNI_ADD: case FRR_ZAPI5_L3VNI_DEL: case FRR_ZAPI5_REMOTE_VTEP_ADD: case FRR_ZAPI5_REMOTE_VTEP_DEL: case FRR_ZAPI5_MACIP_ADD: case FRR_ZAPI5_MACIP_DEL: case FRR_ZAPI5_IP_PREFIX_ROUTE_ADD: case FRR_ZAPI5_IP_PREFIX_ROUTE_DEL: case FRR_ZAPI5_REMOTE_MACIP_ADD: case FRR_ZAPI5_REMOTE_MACIP_DEL: case FRR_ZAPI5_PW_ADD: case FRR_ZAPI5_PW_DELETE: case FRR_ZAPI5_PW_SET: case FRR_ZAPI5_PW_UNSET: case FRR_ZAPI5_PW_STATUS_UPDATE: case FRR_ZAPI5_RULE_ADD: case FRR_ZAPI5_RULE_DELETE: case FRR_ZAPI5_RULE_NOTIFY_OWNER: case FRR_ZAPI5_TABLE_MANAGER_CONNECT: case FRR_ZAPI5_GET_TABLE_CHUNK: case FRR_ZAPI5_RELEASE_TABLE_CHUNK: case FRR_ZAPI5_IPSET_CREATE: case FRR_ZAPI5_IPSET_DESTROY: case FRR_ZAPI5_IPSET_ENTRY_ADD: case FRR_ZAPI5_IPSET_ENTRY_DELETE: case FRR_ZAPI5_IPSET_NOTIFY_OWNER: case FRR_ZAPI5_IPSET_ENTRY_NOTIFY_OWNER: case FRR_ZAPI5_IPTABLE_ADD: case FRR_ZAPI5_IPTABLE_DELETE: case FRR_ZAPI5_IPTABLE_NOTIFY_OWNER: break; } } else { /* version 6 */ switch (command) { case FRR_ZAPI6_INTERFACE_ADD: case FRR_ZAPI6_INTERFACE_UP: case FRR_ZAPI6_INTERFACE_DOWN: case FRR_ZAPI6_INTERFACE_DELETE: if (request) break; /* Request just subscribes to messages */ offset = zebra_interface(tree, tvb, offset, command, version); break; case FRR_ZAPI6_INTERFACE_ADDRESS_ADD: case FRR_ZAPI6_INTERFACE_ADDRESS_DELETE: offset = zebra_interface_address(tree, tvb, offset); break; case FRR_ZAPI6_ROUTE_ADD: case FRR_ZAPI6_ROUTE_DELETE: case FRR_ZAPI6_REDISTRIBUTE_ROUTE_ADD: case FRR_ZAPI6_REDISTRIBUTE_ROUTE_DEL: offset = zebra_route(tree, request, tvb, offset, len, ZEBRA_FAMILY_UNSPEC, command, version); break; case FRR_ZAPI6_REDISTRIBUTE_ADD: case FRR_ZAPI6_REDISTRIBUTE_DEFAULT_ADD: offset = zebra_redistribute(tree, tvb, offset, version); break; case FRR_ZAPI6_ROUTER_ID_UPDATE: offset = zerba_router_update(tree, tvb, offset); break; case FRR_ZAPI6_ROUTER_ID_ADD: case FRR_ZAPI6_ROUTER_ID_DELETE: case FRR_ZAPI6_REDISTRIBUTE_DEFAULT_DELETE: /* nothing to do */ break; case FRR_ZAPI6_REDISTRIBUTE_DELETE: proto_tree_add_item(tree, hf_zebra_type_v5, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; break; case FRR_ZAPI6_HELLO: offset = zebra_hello(tree, tvb, offset, left, version); break; case FRR_ZAPI6_CAPABILITIES: offset = zebra_capabilties(tree, tvb, offset); break; case FRR_ZAPI6_NEXTHOP_REGISTER: case FRR_ZAPI6_NEXTHOP_UNREGISTER: offset = zebra_nexthop_register(tree, tvb, offset, len, offset - init_offset); break; case FRR_ZAPI6_NEXTHOP_UPDATE: offset = zebra_nexthop_update(tree, tvb, offset, version); break; case FRR_ZAPI6_INTERFACE_NBR_ADDRESS_ADD: case FRR_ZAPI6_INTERFACE_NBR_ADDRESS_DELETE: case FRR_ZAPI6_INTERFACE_BFD_DEST_UPDATE: case FRR_ZAPI6_IMPORT_ROUTE_REGISTER: case FRR_ZAPI6_IMPORT_ROUTE_UNREGISTER: case FRR_ZAPI6_IMPORT_CHECK_UPDATE: //case FRR_ZAPI6_IPV4_ROUTE_IPV6_NEXTHOP_ADD: case FRR_ZAPI6_BFD_DEST_REGISTER: case FRR_ZAPI6_BFD_DEST_DEREGISTER: case FRR_ZAPI6_BFD_DEST_UPDATE: case FRR_ZAPI6_BFD_DEST_REPLAY: case FRR_ZAPI6_VRF_UNREGISTER: break; case FRR_ZAPI6_VRF_ADD: offset = zebra_vrf(tree, tvb, offset); break; case FRR_ZAPI6_VRF_DELETE: case FRR_ZAPI6_VRF_LABEL: case FRR_ZAPI6_INTERFACE_VRF_UPDATE: break; case FRR_ZAPI6_BFD_CLIENT_REGISTER: proto_tree_add_item(tree, hf_zebra_pid, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; break; case FRR_ZAPI6_BFD_CLIENT_DEREGISTER: case FRR_ZAPI6_INTERFACE_ENABLE_RADV: case FRR_ZAPI6_INTERFACE_DISABLE_RADV: case FRR_ZAPI6_IPV4_NEXTHOP_LOOKUP_MRIB: case FRR_ZAPI6_INTERFACE_LINK_PARAMS: case FRR_ZAPI6_MPLS_LABELS_ADD: case FRR_ZAPI6_MPLS_LABELS_DELETE: case FRR_ZAPI6_IPMR_ROUTE_STATS: break; case FRR_ZAPI6_LABEL_MANAGER_CONNECT: case FRR_ZAPI6_LABEL_MANAGER_CONNECT_ASYNC: offset = zebra_label_manager_connect(tree, tvb, offset); break; case FRR_ZAPI6_GET_LABEL_CHUNK: offset = zebra_get_label_chunk(tree, request, tvb, offset); break; case FRR_ZAPI6_RELEASE_LABEL_CHUNK: case FRR_ZAPI6_FEC_REGISTER: case FRR_ZAPI6_FEC_UNREGISTER: case FRR_ZAPI6_FEC_UPDATE: case FRR_ZAPI6_ADVERTISE_DEFAULT_GW: case FRR_ZAPI6_ADVERTISE_SUBNET: case FRR_ZAPI6_ADVERTISE_ALL_VNI: case FRR_ZAPI6_LOCAL_ES_ADD: case FRR_ZAPI6_LOCAL_ES_DEL: case FRR_ZAPI6_VNI_ADD: case FRR_ZAPI6_VNI_DEL: case FRR_ZAPI6_L3VNI_ADD: case FRR_ZAPI6_L3VNI_DEL: case FRR_ZAPI6_REMOTE_VTEP_ADD: case FRR_ZAPI6_REMOTE_VTEP_DEL: case FRR_ZAPI6_MACIP_ADD: case FRR_ZAPI6_MACIP_DEL: case FRR_ZAPI6_IP_PREFIX_ROUTE_ADD: case FRR_ZAPI6_IP_PREFIX_ROUTE_DEL: case FRR_ZAPI6_REMOTE_MACIP_ADD: case FRR_ZAPI6_REMOTE_MACIP_DEL: case FRR_ZAPI6_PW_ADD: case FRR_ZAPI6_PW_DELETE: case FRR_ZAPI6_PW_SET: case FRR_ZAPI6_PW_UNSET: case FRR_ZAPI6_PW_STATUS_UPDATE: case FRR_ZAPI6_RULE_ADD: case FRR_ZAPI6_RULE_DELETE: case FRR_ZAPI6_RULE_NOTIFY_OWNER: case FRR_ZAPI6_TABLE_MANAGER_CONNECT: case FRR_ZAPI6_GET_TABLE_CHUNK: case FRR_ZAPI6_RELEASE_TABLE_CHUNK: case FRR_ZAPI6_IPSET_CREATE: case FRR_ZAPI6_IPSET_DESTROY: case FRR_ZAPI6_IPSET_ENTRY_ADD: case FRR_ZAPI6_IPSET_ENTRY_DELETE: case FRR_ZAPI6_IPSET_NOTIFY_OWNER: case FRR_ZAPI6_IPSET_ENTRY_NOTIFY_OWNER: case FRR_ZAPI6_IPTABLE_ADD: case FRR_ZAPI6_IPTABLE_DELETE: case FRR_ZAPI6_IPTABLE_NOTIFY_OWNER: case FRR_ZAPI6_VXLAN_FLOOD_CONTROL: break; } } return offset; } /* Zebra Protocol header version 0: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-------------------------------+---------------+ | Length (2) | Command (1) | +-------------------------------+---------------+ Zebra Protocol header version 1, 2: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-------------------------------+---------------+-------------+ | Length (2) | Marker (1) | Version (1) | +-------------------------------+---------------+-------------+ | Command (2) | +-------------------------------+ Version 3, 4: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Length | Marker | Version | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VRF ID | Command | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Version 5, 6: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Length | Marker | Version | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VRF ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Command | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The Marker byte in later versions uses reserved command values 0xFF (version 1-3, Quagga) or 0xFE (version 4-6, FRR) to distinguish later protocol versions from version 0. */ static gboolean zebra_get_header(tvbuff_t *tvb, int offset, zebra_header_t *header) { guint16 len, command; guint8 version; if (tvb_captured_length_remaining(tvb, offset) < 3) { return FALSE; } len = tvb_get_ntohs(tvb, offset); if (len < 3) { return FALSE; } offset += 2; command = tvb_get_guint8(tvb, offset); if (command < 0xFE) { // version 0 version = 0; } else { // not version 0 offset++; if (tvb_captured_length_remaining(tvb, offset) < 3) { return FALSE; } version = tvb_get_guint8(tvb, offset); if (version == 1 || version == 2) { offset++; } else if (version == 3 || version == 4) { offset += 3; } else if (version < 9) { /* The current highest version is 6. Give room * to invent a few more. */ offset += 5; } else { return FALSE; } if (tvb_captured_length_remaining(tvb, offset) < 2) { return FALSE; } command = tvb_get_ntohs(tvb, offset); } if (header) { header->len = len; header->command = command; header->version = version; } return TRUE; } static gboolean test_zebra(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { zebra_header_t header; if (!zebra_get_header(tvb, offset, &header)) { return FALSE; } if (header.len > 1024) { /* There can be multiple PDUs in a segment, but PDUs themselves * are small. Even 1024 is a generous overestimate. */ return FALSE; } if (header.version < 4) { if (!try_val_to_str(header.command, messages)) { return FALSE; } } else if (header.version == 4) { if (!try_val_to_str(header.command, frr_zapi4_messages)) { return FALSE; } } else if (header.version == 5) { if (!try_val_to_str(header.command, frr_zapi5_messages)) { return FALSE; } } else { if (!try_val_to_str(header.command, frr_zapi6_messages)) { return FALSE; } } return TRUE; } static int dissect_zebra(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { proto_item *ti; proto_tree *zebra_tree; gboolean request; int left, offset = 0; if (!test_zebra(pinfo, tvb, offset, data)) { return 0; } col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZEBRA"); request = (pinfo->destport == pinfo->match_uint); left = tvb_reported_length(tvb); col_set_str(pinfo->cinfo, COL_INFO, request? "Zebra Request" : "Zebra Reply"); /* if (tree) */ { ti = proto_tree_add_item(tree, proto_zebra, tvb, offset, -1, ENC_NA); zebra_tree = proto_item_add_subtree(ti, ett_zebra); ti = proto_tree_add_boolean(zebra_tree, hf_zebra_request, tvb, offset, 0, request); proto_item_set_hidden(ti); for (;;) { zebra_header_t header; proto_tree *zebra_request_tree; if (!zebra_get_header(tvb, offset, &header)) { break; } if (header.version < 4) { col_append_fstr(pinfo->cinfo, COL_INFO, ": %s", val_to_str(header.command, messages, "Command Type 0x%02d")); ti = proto_tree_add_uint(zebra_tree, hf_zebra_command, tvb, offset, header.len, header.command); } else if (header.version == 4) { ti = proto_tree_add_uint(zebra_tree, hf_zebra_command_v4, tvb, offset, header.len, header.command); col_append_fstr(pinfo->cinfo, COL_INFO, ": %s", val_to_str(header.command, frr_zapi4_messages, "Command Type 0x%02d")); } else if (header.version == 5) { ti = proto_tree_add_uint(zebra_tree, hf_zebra_command_v5, tvb, offset, header.len, header.command); col_append_fstr(pinfo->cinfo, COL_INFO, ": %s", val_to_str(header.command, frr_zapi5_messages, "Command Type 0x%02d")); } else { ti = proto_tree_add_uint(zebra_tree, hf_zebra_command_v6, tvb, offset, header.len, header.command); col_append_fstr(pinfo->cinfo, COL_INFO, ": %s", val_to_str(header.command, frr_zapi6_messages, "Command Type 0x%02d")); } zebra_request_tree = proto_item_add_subtree(ti, ett_zebra_request); dissect_zebra_request(zebra_request_tree, request, tvb, offset, left, header.len, header.command, header.version); offset += header.len; left -= header.len; } } return tvb_captured_length(tvb); } void proto_register_zebra(void) { static hf_register_info hf[] = { { &hf_zebra_len, { "Length", "zebra.len", FT_UINT16, BASE_DEC, NULL, 0x0, "Length of Zebra request", HFILL }}, { &hf_zebra_version, { "Version", "zebra.version", FT_UINT8, BASE_DEC, NULL, 0x0, "Zebra srv version", HFILL }}, { &hf_zebra_marker, { "Marker", "zebra.marker", FT_UINT8, BASE_HEX, NULL, 0x0, "Zebra srv marker", HFILL }}, { &hf_zebra_request, { "Request", "zebra.request", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "TRUE if Zebra request", HFILL }}, { &hf_zebra_command, { "Command", "zebra.command", FT_UINT16, BASE_DEC, VALS(messages), 0x0, "Zebra command", HFILL }}, { &hf_zebra_interface, { "Interface", "zebra.interface", FT_STRING, BASE_NONE, NULL, 0x0, "Interface name of Zebra request", HFILL }}, { &hf_zebra_index, { "Index", "zebra.index", FT_UINT32, BASE_DEC, NULL, 0x0, "Index of interface", HFILL }}, { &hf_zebra_intstatus, { "Status", "zebra.intstatus", FT_UINT8, BASE_DEC, NULL, 0x0, "Status of interface", HFILL}}, { &hf_zebra_indexnum, { "Index Number", "zebra.indexnum", FT_UINT8, BASE_DEC, NULL, 0x0, "Number of indices for route", HFILL }}, { &hf_zebra_intflags, { "Flags", "zebra.intflags", FT_UINT64, BASE_DEC, NULL, 0x0, "Flags of interface", HFILL }}, { &hf_zebra_rtflags, { "Flags", "zebra.rtflags", FT_UINT8, BASE_DEC, NULL, 0x0, "Flags of route", HFILL }}, { &hf_zebra_message, { "Message", "zebra.message", FT_UINT8, BASE_DEC, NULL, 0x0, "Message type of route", HFILL }}, { &hf_zebra_route_safi, { "SAFI", "zebra.safi", FT_UINT16, BASE_DEC, VALS(safi), 0x0, "Subsequent Address Family Identifier", HFILL }}, { &hf_zebra_msg_nexthop, { "Message Nexthop", "zebra.message.nexthop", FT_BOOLEAN, 8, NULL, ZEBRA_ZAPI_MESSAGE_NEXTHOP, "Message contains nexthop", HFILL }}, { &hf_zebra_msg_index, { "Message Index", "zebra.message.index", FT_BOOLEAN, 8, NULL, ZEBRA_ZAPI_MESSAGE_IFINDEX, "Message contains index", HFILL }}, { &hf_zebra_msg_distance, { "Message Distance", "zebra.message.distance", FT_BOOLEAN, 8, NULL, ZEBRA_ZAPI_MESSAGE_DISTANCE, "Message contains distance", HFILL }}, { &hf_zebra_msg_metric, { "Message Metric", "zebra.message.metric", FT_BOOLEAN, 8, NULL, ZEBRA_ZAPI_MESSAGE_METRIC, "Message contains metric", HFILL }}, { &hf_zebra_type_v0, { "Type", "zebra.type", FT_UINT8, BASE_DEC, VALS(routes_v0), 0x0, "Type of route", HFILL }}, { &hf_zebra_type_v1, { "Type", "zebra.type", FT_UINT8, BASE_DEC, VALS(routes_v1), 0x0, "Type of route", HFILL }}, { &hf_zebra_distance, { "Distance", "zebra.distance", FT_UINT8, BASE_DEC, NULL, 0x0, "Distance of route", HFILL }}, { &hf_zebra_metric, { "Metric", "zebra.metric", FT_UINT32, BASE_DEC, NULL, 0x0, "Metric of interface or route", HFILL }}, { &hf_zebra_mtu, { "MTU", "zebra.mtu", FT_UINT32, BASE_DEC, NULL, 0x0, "MTU of interface", HFILL }}, { &hf_zebra_mtu6, { "MTUv6", "zebra.mtu6", FT_UINT32, BASE_DEC, NULL, 0x0, "MTUv6 of interface", HFILL }}, { &hf_zebra_bandwidth, { "Bandwidth", "zebra.bandwidth", FT_UINT32, BASE_DEC, NULL, 0x0, "Bandwidth of interface", HFILL }}, { &hf_zebra_family, { "Family", "zebra.family", FT_UINT16, BASE_DEC, VALS(families), 0x0, "Family of IP address", HFILL }}, { &hf_zebra_flags, { "Flags", "zebra.flags", FT_UINT8, BASE_DEC, NULL, 0x0, "Flags of Address Info", HFILL }}, { &hf_zebra_dest4, { "Destination", "zebra.dest4", FT_IPv4, BASE_NONE, NULL, 0x0, "Destination IPv4 field", HFILL }}, { &hf_zebra_dest6, { "Destination", "zebra.dest6", FT_IPv6, BASE_NONE, NULL, 0x0, "Destination IPv6 field", HFILL }}, { &hf_zebra_nexthopnum, { "Nexthop Number", "zebra.nexthopnum", FT_UINT8, BASE_DEC, NULL, 0x0, "Number of nexthops in route", HFILL }}, { &hf_zebra_nexthop4, { "Nexthop", "zebra.nexthop4", FT_IPv4, BASE_NONE, NULL, 0x0, "Nethop IPv4 field of route", HFILL }}, { &hf_zebra_nexthop6, { "Nexthop", "zebra.nexthop6", FT_IPv6, BASE_NONE, NULL, 0x0, "Nethop IPv6 field of route", HFILL }}, { &hf_zebra_prefixlen, { "Prefix length", "zebra.prefixlen", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zebra_prefix4, { "Prefix", "zebra.prefix4", FT_IPv4, BASE_NONE, NULL, 0x0, "Prefix IPv4", HFILL }}, { &hf_zebra_prefix6, { "Prefix", "zebra.prefix6", FT_IPv6, BASE_NONE, NULL, 0x0, "Prefix IPv6", HFILL }}, { &hf_zebra_routeridaddress, { "Router ID address", "zebra.routerIDAddress", FT_IPv4, BASE_NONE, NULL, 0x0, "Router ID", HFILL }}, { &hf_zebra_routeridmask, { "Router ID mask", "zebra.routerIDMask", FT_UINT8, BASE_DEC, NULL, 0x0, "netmask of Router ID", HFILL }}, { &hf_zebra_mac, { "MAC address", "zebra.macaddress", FT_ETHER, BASE_NONE, NULL, 0x0, "MAC address of interface", HFILL }}, { &hf_zebra_redist_default, { "Redistribute default", "zebra.redist_default", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "TRUE if redistribute default", HFILL }}, { &hf_zebra_vrfid, { "VRF-ID", "zebra.vrfid", FT_UINT32, BASE_HEX, NULL, 0x0, "VRF ID", HFILL }}, { &hf_zebra_routeridfamily, { "Router ID Family", "zebra.routeridfamily", FT_UINT8, BASE_DEC, VALS(families), 0x0, "Family of Router ID", HFILL }}, { &hf_zebra_nexthoptype, { "Nexthop Type", "zebra.nexthoptype", FT_UINT8, BASE_DEC, VALS(zebra_nht), 0x0, "Type of Nexthop", HFILL }}, { &hf_zebra_msg_mtu, { "Message MTU", "zebra.message.mtu", FT_BOOLEAN, 8, NULL, ZEBRA_ZAPI_MESSAGE_MTU, "Message contains MTU", HFILL }}, { &hf_zebra_msg_tag, { "Message TAG", "zebra.message.tag", FT_BOOLEAN, 8, NULL, ZEBRA_ZAPI_MESSAGE_TAG, "Message contains TAG", HFILL }}, { &hf_zebra_tag, { "Tag", "zebra.tag", FT_UINT32, BASE_DEC, NULL, 0x0, "Route Tag", HFILL }}, { &hf_zebra_maclen, { "MAC address length", "zebra.maclen", FT_UINT32, BASE_DEC, NULL, 0x0, "Length of MAC address of interface", HFILL }}, { &hf_zebra_haslinkparam, { "Message has link parameters", "zebra.haslinkparam", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "Interface message has link parameters", HFILL }}, /* FRRouting, Zebra API v4, v5 and v6 */ { &hf_zebra_command_v4, { "Command", "zebra.command", FT_UINT16, BASE_DEC, VALS(frr_zapi4_messages), 0x0, "Zebra command", HFILL }}, { &hf_zebra_command_v5, { "Command", "zebra.command", FT_UINT16, BASE_DEC, VALS(frr_zapi5_messages), 0x0, "Zebra command", HFILL }}, { &hf_zebra_command_v6, { "Command", "zebra.command", FT_UINT16, BASE_DEC, VALS(frr_zapi6_messages), 0x0, "Zebra command", HFILL }}, { &hf_zebra_type_v4, { "Type", "zebra.type", FT_UINT8, BASE_DEC, VALS(routes_v4), 0x0, "Type of route", HFILL }}, { &hf_zebra_type_v5, { "Type", "zebra.type", FT_UINT8, BASE_DEC, VALS(routes_v5), 0x0, "Type of route", HFILL }}, { &hf_zebra_ptmenable, { "PTM Enable", "zebra.ptmenable", FT_UINT8, BASE_DEC, NULL, 0x0, "PTM (Prescriptive Topology Manager) Enable", HFILL }}, { &hf_zebra_ptmstatus, { "PTM Status", "zebra.ptmstatus", FT_UINT8, BASE_DEC, NULL, 0x0, "PTM (Prescriptive Topology Manager) Status", HFILL }}, { &hf_zebra_instance, { "Instance", "zebra.instance", FT_UINT16, BASE_DEC, NULL, 0x0, "Routing Instance", HFILL }}, { &hf_zebra_rtflags_u32, { "Flags", "zebra.rtflags", FT_UINT32, BASE_DEC, NULL, 0x0, "Flags of route", HFILL }}, { &hf_zebra_speed, { "Speed", "zebra.speed", FT_UINT32, BASE_DEC, NULL, 0x0, "Speed of interface", HFILL }}, { &hf_zebra_lltype, { "LLType", "zebra.lltype", FT_UINT32, BASE_DEC, NULL, 0x0, "Link Layer Type", HFILL }}, { &hf_zebra_message4, { "Message", "zebra.message", FT_UINT8, BASE_DEC, NULL, 0x0, "Message type of route", HFILL }}, { &hf_zebra_message5, { "Message", "zebra.message", FT_UINT8, BASE_DEC, NULL, 0x0, "Message type of route", HFILL }}, { &hf_zebra_route_safi_u8, { "SAFI", "zebra.safi", FT_UINT8, BASE_DEC, VALS(safi), 0x0, "Subsequent Address Family Identifier", HFILL }}, { &hf_zebra_rmac, { "RMAC", "zebra.rmac", FT_ETHER, BASE_NONE, NULL, 0x0, "Remote MAC", HFILL }}, { &hf_zebra_msg4_tag, { "Message TAG", "zebra.message.tag", FT_BOOLEAN, 8, NULL, FRR_ZAPI4_MESSAGE_TAG, "Message contains TAG", HFILL }}, { &hf_zebra_msg4_mtu, { "Message MTU", "zebra.message.mtu", FT_BOOLEAN, 8, NULL, FRR_ZAPI4_MESSAGE_MTU, "Message contains MTU", HFILL }}, { &hf_zebra_msg4_srcpfx, { "Message Source Prefix", "zebra.message.srcpfx", FT_BOOLEAN, 8, NULL, FRR_ZAPI4_MESSAGE_SRCPFX, "Message contains Source Prefix", HFILL }}, { &hf_zebra_msg5_distance, { "Message Distance", "zebra.message.distance", FT_BOOLEAN, 8, NULL, FRR_ZAPI5_MESSAGE_DISTANCE, "Message contains distance", HFILL }}, { &hf_zebra_msg5_metric, { "Message Metric", "zebra.message.metric", FT_BOOLEAN, 8, NULL, FRR_ZAPI5_MESSAGE_METRIC, "Message contains metric", HFILL }}, { &hf_zebra_msg5_tag, { "Message TAG", "zebra.message.tag", FT_BOOLEAN, 8, NULL, FRR_ZAPI5_MESSAGE_TAG, "Message contains TAG", HFILL }}, { &hf_zebra_msg5_mtu, { "Message MTU", "zebra.message.mtu", FT_BOOLEAN, 8, NULL, FRR_ZAPI5_MESSAGE_MTU, "Message contains MTU", HFILL }}, { &hf_zebra_msg5_srcpfx, { "Message Source Prefix", "zebra.message.srcpfx", FT_BOOLEAN, 8, NULL, FRR_ZAPI5_MESSAGE_SRCPFX, "Message contains Source Prefix", HFILL }}, { &hf_zebra_msg_label, { "Message Label", "zebra.message.label", FT_BOOLEAN, 8, NULL, FRR_ZAPI5_MESSAGE_LABEL, "Message contains Label", HFILL }}, { &hf_zebra_msg_tableid, { "Message Table ID", "zebra.message.tableid", FT_BOOLEAN, 8, NULL, FRR_ZAPI5_MESSAGE_TABLEID, "Message contains Table ID", HFILL }}, { &hf_zebra_nexthopnum_u16, { "Nexthop Number", "zebra.nexthopnum", FT_UINT16, BASE_DEC, NULL, 0x0, "Number of nexthops in route", HFILL }}, { &hf_zebra_nexthoptype_frr, { "Nexthop Type", "zebra.nexthoptype", FT_UINT8, BASE_DEC, VALS(frr_nht), 0x0, "Type of Nexthop", HFILL }}, { &hf_zebra_bhtype, { "BHType", "zebra.bhtype", FT_UINT8, BASE_DEC, VALS(blackhole_type), 0x0, "Blackhole Type", HFILL }}, { &hf_zebra_srcprefixlen, { "Source Prefix length", "zebra.srcprefixlen", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zebra_srcprefix4, { "Source Prefix", "zebra.srcprefix4", FT_IPv4, BASE_NONE, NULL, 0x0, "Source Prefix IPv4", HFILL }}, { &hf_zebra_srcprefix6, { "Source Prefix", "zebra.srcprefix6", FT_IPv6, BASE_NONE, NULL, 0x0, "Source Prefix IPv6", HFILL }}, { &hf_zebra_tableid, { "Table ID", "zebra.tableid", FT_UINT32, BASE_DEC, NULL, 0x0, "Routing Table ID", HFILL }}, { &hf_zebra_afi, { "AFI", "zebra.afi", FT_UINT8, BASE_DEC, NULL, 0x0, "AFI (Address Family Identifiers)", HFILL }}, { &hf_zebra_pid, { "PID", "zebra.pid", FT_UINT32, BASE_DEC, NULL, 0x0, "Process ID", HFILL }}, { &hf_zebra_vrf_table_id, { "VRF Table ID", "zebra.vrftableid", FT_UINT32, BASE_DEC, NULL, 0x0, "VRF Routing Table ID", HFILL }}, { &hf_zebra_vrf_netns_name, { "VRF NETNS Name", "zebra.vrfnetnsname", FT_STRING, BASE_NONE, NULL, 0x0, "VRF (Virtual Routing and Forwarding) Network Namespace Name", HFILL }}, { &hf_zebra_vrf_name, { "VRF Name", "zebra.vrfname", FT_STRING, BASE_NONE, NULL, 0x0, "VRF (Virtual Routing and Forwarding) Name", HFILL }}, { &hf_zebra_proto, { "Protocol", "zebra.proto", FT_UINT8, BASE_DEC, NULL, 0x0, "Protocol of client", HFILL }}, { &hf_zebra_label_chunk_keep, { "Label Chunk Keep", "zebra.label_chunk_keep", FT_UINT8, BASE_DEC, NULL, 0x0, "Keep of Label Chunk", HFILL }}, { &hf_zebra_label_chunk_size, { "Label Chunk Size", "zebra.label_chunk_size", FT_UINT32, BASE_DEC, NULL, 0x0, "Size of Label Chunk", HFILL }}, { &hf_zebra_label_chunk_start, { "Label Chunk Start","zebra.label_chunk_start", FT_UINT32, BASE_DEC, NULL, 0x0, "Start of Label Chunk", HFILL }}, { &hf_zebra_label_chunk_end, { "Label Chunk End", "zebra.label_chunk_end", FT_UINT32, BASE_DEC, NULL, 0x0, "End of Label Chunk", HFILL }}, { &hf_zebra_mpls_enabled, { "MPLS Enabled", "zebra.mpls_enabled", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "MPLS enabled capability", HFILL }}, { &hf_zebra_multipath_num, { "Multipath Number", "zebra.multipath_num", FT_UINT32, BASE_DEC, NULL, 0x0, "Number of Multipath", HFILL }}, { &hf_zebra_labelnum, { "Label Number", "zebra.labelnum", FT_UINT8, BASE_DEC, NULL, 0x0, "Number of Labels", HFILL }}, { &hf_zebra_label, { "Label", "zebra.label", FT_UINT32, BASE_DEC, NULL, 0x0, "MPLS Label", HFILL }}, { &hf_zebra_receive_notify, { "Receive Notify", "zebra.receive_notify", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "TRUE if receive notify", HFILL }} }; static gint *ett[] = { &ett_zebra, &ett_zebra_request, &ett_message, }; proto_zebra = proto_register_protocol("Zebra Protocol", "ZEBRA", "zebra"); proto_register_field_array(proto_zebra, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_zebra(void) { dissector_handle_t zebra_handle; zebra_handle = create_dissector_handle(dissect_zebra, proto_zebra); dissector_add_uint_with_preference("tcp.port", TCP_PORT_ZEBRA, zebra_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 8 * tab-width: 8 * indent-tabs-mode: t * End: * * vi: set shiftwidth=8 tabstop=8 noexpandtab: * :indentSize=8:tabSize=8:noTabs=false: */
C
wireshark/epan/dissectors/packet-zep.c
/* packet-zep.c * Dissector routines for the ZigBee Encapsulation Protocol * By Owen Kirby <[email protected]> * Copyright 2009 Exegin Technologies Limited * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later *------------------------------------------------------------ * * ZEP Packets must be received in the following format: * |UDP Header| ZEP Header |IEEE 802.15.4 Packet| * | 8 bytes | 16/32 bytes | <= 127 bytes | *------------------------------------------------------------ * * ZEP v1 Header will have the following format: * |Preamble|Version|Channel ID|Device ID|CRC/LQI Mode|LQI Val|Reserved|Length| * |2 bytes |1 byte | 1 byte | 2 bytes | 1 byte |1 byte |7 bytes |1 byte| * * ZEP v2 Header will have the following format (if type=1/Data): * |Preamble|Version| Type |Channel ID|Device ID|CRC/LQI Mode|LQI Val|NTP Timestamp|Sequence#|Reserved|Length| * |2 bytes |1 byte |1 byte| 1 byte | 2 bytes | 1 byte |1 byte | 8 bytes | 4 bytes |10 bytes|1 byte| * * ZEP v2 Header will have the following format (if type=2/Ack): * |Preamble|Version| Type |Sequence#| * |2 bytes |1 byte |1 byte| 4 bytes | *------------------------------------------------------------ */ #include "config.h" #include <epan/packet.h> /* Function declarations */ void proto_reg_handoff_zep(void); void proto_register_zep(void); #define ZEP_DEFAULT_PORT 17754 /* ZEP Preamble Code */ #define ZEP_PREAMBLE "EX" /* ZEP Header lengths. */ #define ZEP_V1_HEADER_LEN 16 #define ZEP_V2_HEADER_LEN 32 #define ZEP_V2_ACK_LEN 8 #define ZEP_V2_TYPE_DATA 1 #define ZEP_V2_TYPE_ACK 2 #define ZEP_LENGTH_MASK 0x7F static const range_string type_rvals[] = { {0, 0, "Reserved"}, {ZEP_V2_TYPE_DATA, ZEP_V2_TYPE_DATA, "Data"}, {ZEP_V2_TYPE_ACK, ZEP_V2_TYPE_ACK, "Ack"}, {3, 255, "Reserved" }, {0, 0, NULL} }; static const true_false_string tfs_crc_lqi = { "CRC", "LQI" }; /* Initialize protocol and registered fields. */ static int proto_zep = -1; static int hf_zep_version = -1; static int hf_zep_type = -1; static int hf_zep_channel_id = -1; static int hf_zep_device_id = -1; static int hf_zep_lqi_mode = -1; static int hf_zep_lqi = -1; static int hf_zep_timestamp = -1; static int hf_zep_seqno = -1; static int hf_zep_ieee_length = -1; static int hf_zep_protocol_id = -1; static int hf_zep_reserved_field = -1; /* Initialize protocol subtrees. */ static gint ett_zep = -1; /* Dissector handle */ static dissector_handle_t zep_handle; /* Subdissector handles */ static dissector_handle_t ieee802154_handle; static dissector_handle_t ieee802154_cc24xx_handle; /*FUNCTION:------------------------------------------------------ * NAME * dissect_zep * DESCRIPTION * IEEE 802.15.4 packet dissection routine for Wireshark. * PARAMETERS * tvbuff_t *tvb - pointer to buffer containing raw packet. * packet_info *pinfo - pointer to packet information fields * proto_tree *tree - pointer to data tree Wireshark uses to display packet. * RETURNS * void *--------------------------------------------------------------- */ static int dissect_zep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { tvbuff_t *next_tvb; proto_item *proto_root; proto_tree *zep_tree; guint8 ieee_packet_len; guint8 zep_header_len; guint8 version; guint8 type; guint32 channel_id, seqno; gboolean lqi_mode = FALSE; dissector_handle_t next_dissector; if (tvb_reported_length(tvb) < ZEP_V2_ACK_LEN) return 0; /* Determine whether this is a Q51/IEEE 802.15.4 sniffer packet or not */ if(strcmp(tvb_get_string_enc(pinfo->pool, tvb, 0, 2, ENC_ASCII), ZEP_PREAMBLE)){ /* This is not a Q51/ZigBee sniffer packet */ return 0; } /* Extract the protocol version from the ZEP header. */ version = tvb_get_guint8(tvb, 2); if (version == 1) { /* Type indicates a ZEP_v1 packet. */ zep_header_len = ZEP_V1_HEADER_LEN; if (tvb_reported_length(tvb) < ZEP_V1_HEADER_LEN) return 0; type = 0; ieee_packet_len = (tvb_get_guint8(tvb, ZEP_V1_HEADER_LEN - 1) & ZEP_LENGTH_MASK); } else { /* At the time of writing, v2 is the latest version of ZEP, assuming * anything higher than v2 has identical format. */ type = tvb_get_guint8(tvb, 3); if (type == ZEP_V2_TYPE_ACK) { /* ZEP Ack has only the seqno. */ zep_header_len = ZEP_V2_ACK_LEN; ieee_packet_len = 0; } else { /* Although, only type 1 corresponds to data, if another value is present, assume it is dissected the same. */ zep_header_len = ZEP_V2_HEADER_LEN; if (tvb_reported_length(tvb) < ZEP_V2_HEADER_LEN) return 0; ieee_packet_len = (tvb_get_guint8(tvb, ZEP_V2_HEADER_LEN - 1) & ZEP_LENGTH_MASK); } } if(ieee_packet_len < tvb_reported_length(tvb)-zep_header_len){ /* Packet's length is mis-reported, abort dissection */ return 0; } col_set_str(pinfo->cinfo, COL_PROTOCOL, (version==1)?"ZEP":"ZEPv2"); proto_root = proto_tree_add_item(tree, proto_zep, tvb, 0, zep_header_len, ENC_NA); zep_tree = proto_item_add_subtree(proto_root, ett_zep); proto_tree_add_item(zep_tree, hf_zep_protocol_id, tvb, 0, 2, ENC_NA|ENC_ASCII); proto_tree_add_uint(zep_tree, hf_zep_version, tvb, 2, 1, version); switch (version) { case 1: proto_tree_add_item_ret_uint(zep_tree, hf_zep_channel_id, tvb, 3, 1, ENC_NA, &channel_id); col_add_fstr(pinfo->cinfo, COL_INFO, "Encapsulated ZigBee Packet [Channel]=%u [Length]=%u", channel_id, ieee_packet_len); proto_item_append_text(proto_root, ", Channel: %u, Length: %u", channel_id, ieee_packet_len); proto_tree_add_item(zep_tree, hf_zep_device_id, tvb, 4, 2, ENC_BIG_ENDIAN); proto_tree_add_item_ret_boolean(zep_tree, hf_zep_lqi_mode, tvb, 6, 1, ENC_NA, &lqi_mode); if (lqi_mode != 0) { proto_tree_add_item(zep_tree, hf_zep_lqi, tvb, 7, 1, ENC_NA); proto_tree_add_item(zep_tree, hf_zep_reserved_field, tvb, 8, 8, ENC_NA); } else { proto_tree_add_item(zep_tree, hf_zep_reserved_field, tvb, 7, 9, ENC_NA); } proto_tree_add_item(zep_tree, hf_zep_ieee_length, tvb, ZEP_V1_HEADER_LEN - 1, 1, ENC_NA); break; case 2: default: proto_tree_add_uint(zep_tree, hf_zep_type, tvb, 3, 1, type); if (type == ZEP_V2_TYPE_ACK) { proto_tree_add_item_ret_uint(zep_tree, hf_zep_seqno, tvb, 4, 4, ENC_BIG_ENDIAN, &seqno); col_add_fstr(pinfo->cinfo, COL_INFO, "Ack, Sequence Number: %i", seqno); proto_item_append_text(proto_root, ", Ack"); } else { proto_tree_add_item_ret_uint(zep_tree, hf_zep_channel_id, tvb, 4, 1, ENC_NA, &channel_id); col_add_fstr(pinfo->cinfo, COL_INFO, "Encapsulated ZigBee Packet [Channel]=%u [Length]=%u", channel_id, ieee_packet_len); proto_item_append_text(proto_root, ", Channel: %u, Length: %u", channel_id, ieee_packet_len); proto_tree_add_item(zep_tree, hf_zep_device_id, tvb, 5, 2, ENC_BIG_ENDIAN); proto_tree_add_item_ret_boolean(zep_tree, hf_zep_lqi_mode, tvb, 7, 1, ENC_NA, &lqi_mode); if (lqi_mode == 0) { proto_tree_add_item(zep_tree, hf_zep_lqi, tvb, 8, 1, ENC_NA); } proto_tree_add_item(zep_tree, hf_zep_timestamp, tvb, 9, 8, ENC_BIG_ENDIAN|ENC_TIME_NTP); proto_tree_add_item(zep_tree, hf_zep_seqno, tvb, 17, 4, ENC_BIG_ENDIAN); proto_tree_add_item(zep_tree, hf_zep_ieee_length, tvb, ZEP_V2_HEADER_LEN - 1, 1, ENC_NA); } break; } /* Determine which dissector to call next. */ if (lqi_mode) { /* CRC present, use standard IEEE dissector. * XXX - 2-octet or 4-octet CRC? */ next_dissector = ieee802154_handle; } else { /* ChipCon/TI CC24xx-compliant metadata present, CRC absent */ next_dissector = ieee802154_cc24xx_handle; } /* Call the appropriate IEEE 802.15.4 dissector */ if (!((version>=2) && (type==ZEP_V2_TYPE_ACK))) { next_tvb = tvb_new_subset_length(tvb, zep_header_len, ieee_packet_len); if (next_dissector != NULL) { call_dissector(next_dissector, next_tvb, pinfo, tree); } else { /* IEEE 802.15.4 dissectors couldn't be found. */ call_data_dissector(next_tvb, pinfo, tree); } } return tvb_captured_length(tvb); } /* dissect_ieee802_15_4 */ /*FUNCTION:------------------------------------------------------ * NAME * proto_register_zep * DESCRIPTION * IEEE 802.15.4 protocol registration routine. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_register_zep(void) { static hf_register_info hf[] = { { &hf_zep_version, { "Protocol Version", "zep.version", FT_UINT8, BASE_DEC, NULL, 0x0, "The version of the sniffer.", HFILL }}, { &hf_zep_type, { "Type", "zep.type", FT_UINT8, BASE_DEC|BASE_RANGE_STRING, RVALS(type_rvals), 0x0, NULL, HFILL }}, { &hf_zep_channel_id, { "Channel ID", "zep.channel_id", FT_UINT8, BASE_DEC, NULL, 0x0, "The logical channel on which this packet was detected.", HFILL }}, { &hf_zep_device_id, { "Device ID", "zep.device_id", FT_UINT16, BASE_DEC, NULL, 0x0, "The ID of the device that detected this packet.", HFILL }}, { &hf_zep_lqi_mode, { "LQI/CRC Mode", "zep.lqi_mode", FT_BOOLEAN, BASE_NONE, TFS(&tfs_crc_lqi), 0x0, "Determines what format the last two bytes of the MAC frame use.", HFILL }}, { &hf_zep_lqi, { "Link Quality Indication", "zep.lqi", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zep_timestamp, { "Timestamp", "zep.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0x0, NULL, HFILL }}, { &hf_zep_seqno, { "Sequence Number", "zep.seqno", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_zep_ieee_length, { "Length", "zep.length", FT_UINT8, BASE_DEC|BASE_UNIT_STRING, &units_byte_bytes, ZEP_LENGTH_MASK, "The length (in bytes) of the encapsulated IEEE 802.15.4 MAC frame.", HFILL }}, { &hf_zep_protocol_id, { "Protocol ID String", "zep.protocol_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_zep_reserved_field, { "Reserved Fields", "zep.reserved_field", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, }; static gint *ett[] = { &ett_zep }; /* Register protocol name and description. */ proto_zep = proto_register_protocol("ZigBee Encapsulation Protocol", "ZEP", "zep"); /* Register header fields and subtrees. */ proto_register_field_array(proto_zep, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); /* Register dissector with Wireshark. */ zep_handle = register_dissector("zep", dissect_zep, proto_zep); } /* proto_register_zep */ /*FUNCTION:------------------------------------------------------ * NAME * proto_reg_handoff_zep * DESCRIPTION * Registers the zigbee dissector with Wireshark. * Will be called every time 'apply' is pressed in the preferences menu. * PARAMETERS * none * RETURNS * void *--------------------------------------------------------------- */ void proto_reg_handoff_zep(void) { dissector_handle_t h; /* Get dissector handles. */ if ( !(h = find_dissector("wpan")) ) { /* Try use built-in 802.15.4 dissector */ h = find_dissector("ieee802154"); /* otherwise use older 802.15.4 plugin dissector */ } ieee802154_handle = h; if ( !(h = find_dissector("wpan_cc24xx")) ) { /* Try use built-in 802.15.4 (Chipcon) dissector */ h = find_dissector("ieee802154_ccfcs"); /* otherwise use older 802.15.4 (Chipcon) plugin dissector */ } ieee802154_cc24xx_handle = h; dissector_add_uint("udp.port", ZEP_DEFAULT_PORT, zep_handle); } /* proto_reg_handoff_zep */ /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-ziop.c
/* packet-ziop.c * Routines for CORBA ZIOP packet disassembly * Significantly based on packet-giop.c * Copyright 2009 Alvaro Vega Garcia <avega at tid dot es> * * According with GIOP Compression RFP revised submission * OMG mars/2008-12-20 * https://www.omg.org/spec/ZIOP/1.0/Beta1/PDF * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/expert.h> #include "packet-ziop.h" #include "packet-giop.h" #include "packet-tcp.h" /* * Set to 1 for DEBUG output - TODO make this a runtime option */ #define DEBUG 0 void proto_reg_handoff_ziop(void); void proto_register_ziop(void); /* * ------------------------------------------------------------------------------------------+ * Data/Variables/Structs * ------------------------------------------------------------------------------------------+ */ static int proto_ziop = -1; /* * (sub)Tree declares */ static gint hf_ziop_magic = -1; static gint hf_ziop_giop_version_major = -1; static gint hf_ziop_giop_version_minor = -1; static gint hf_ziop_flags = -1; static gint hf_ziop_message_type = -1; static gint hf_ziop_message_size = -1; static gint hf_ziop_compressor_id = -1; static gint hf_ziop_original_length = -1; static gint ett_ziop = -1; static expert_field ei_ziop_version = EI_INIT; static dissector_handle_t ziop_tcp_handle; static const value_string ziop_compressor_ids[] = { { 0, "None" }, { 1, "GZIP"}, { 2, "PKZIP"}, { 3, "BZIP2"}, { 4, "ZLIB"}, { 5, "LZMA"}, { 6, "LZOP"}, { 7, "RZIP"}, { 8, "7X"}, { 9, "XAR"}, { 0, NULL} }; static const value_string giop_message_types[] = { { 0x0, "Request" }, { 0x1, "Reply"}, { 0x2, "CancelRequest"}, { 0x3, "LocateRequest"}, { 0x4, "LocateReply"}, { 0x5, "CloseConnection"}, { 0x6, "MessageError"}, { 0x7, "Fragment"}, { 0, NULL} }; static gboolean ziop_desegment = TRUE; /* Main entry point */ static int dissect_ziop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_) { guint offset = 0; guint8 giop_version_major, giop_version_minor, message_type; proto_tree *ziop_tree = NULL; proto_item *ti; guint8 flags; guint byte_order; const char *label = "none"; if (tvb_reported_length(tvb) < 7) return 0; col_set_str (pinfo->cinfo, COL_PROTOCOL, ZIOP_MAGIC); /* Clear out stuff in the info column */ col_clear(pinfo->cinfo, COL_INFO); ti = proto_tree_add_item (tree, proto_ziop, tvb, 0, -1, ENC_NA); ziop_tree = proto_item_add_subtree (ti, ett_ziop); proto_tree_add_item(ziop_tree, hf_ziop_magic, tvb, offset, 4, ENC_ASCII); offset += 4; proto_tree_add_item(ziop_tree, hf_ziop_giop_version_major, tvb, offset, 1, ENC_BIG_ENDIAN); giop_version_major = tvb_get_guint8(tvb, offset); offset++; proto_tree_add_item(ziop_tree, hf_ziop_giop_version_minor, tvb, offset, 1, ENC_BIG_ENDIAN); giop_version_minor = tvb_get_guint8(tvb, offset); offset++; if ( (giop_version_major < 1) || (giop_version_minor < 2) ) /* earlier than GIOP 1.2 */ { col_add_fstr (pinfo->cinfo, COL_INFO, "Version %u.%u", giop_version_major, giop_version_minor); expert_add_info_format(pinfo, ti, &ei_ziop_version, "Version %u.%u not supported", giop_version_major, giop_version_minor); call_data_dissector(tvb, pinfo, tree); return tvb_reported_length(tvb); } flags = tvb_get_guint8(tvb, offset); byte_order = (flags & 0x01) ? ENC_LITTLE_ENDIAN : ENC_BIG_ENDIAN; if (flags & 0x01) { label = "little-endian"; } proto_tree_add_uint_format_value(ziop_tree, hf_ziop_flags, tvb, offset, 1, flags, "0x%02x (%s)", flags, label); offset++; proto_tree_add_item(ziop_tree, hf_ziop_message_type, tvb, offset, 1, ENC_BIG_ENDIAN); message_type = tvb_get_guint8(tvb, offset); offset++; col_add_fstr (pinfo->cinfo, COL_INFO, "ZIOP %u.%u %s", giop_version_major, giop_version_minor, val_to_str(message_type, giop_message_types, "Unknown message type (0x%02x)") ); proto_tree_add_item(ziop_tree, hf_ziop_message_size, tvb, offset, 4, byte_order); offset += 4; proto_tree_add_item(ziop_tree, hf_ziop_compressor_id, tvb, offset, 2, byte_order); offset += 4; proto_tree_add_item(ziop_tree, hf_ziop_original_length, tvb, offset, 4, byte_order); return tvb_reported_length(tvb); } static guint get_ziop_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { guint8 flags; guint message_size; gboolean stream_is_big_endian; if ( tvb_memeql(tvb, 0, (const guint8 *)ZIOP_MAGIC, 4) != 0) return 0; flags = tvb_get_guint8(tvb, offset + 6); stream_is_big_endian = ((flags & 0x1) == 0); if (stream_is_big_endian) message_size = tvb_get_ntohl(tvb, offset + 8); else message_size = tvb_get_letohl(tvb, offset + 8); return message_size + ZIOP_HEADER_SIZE; } static int dissect_ziop_tcp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data) { if ( tvb_memeql(tvb, 0, (const guint8 *)ZIOP_MAGIC, 4) != 0) { if (tvb_get_ntohl(tvb, 0) == GIOP_MAGIC_NUMBER) { dissect_giop(tvb, pinfo, tree); return tvb_captured_length(tvb); } return 0; } tcp_dissect_pdus(tvb, pinfo, tree, ziop_desegment, ZIOP_HEADER_SIZE, get_ziop_pdu_len, dissect_ziop, data); return tvb_captured_length(tvb); } gboolean dissect_ziop_heur (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void * data) { guint tot_len; conversation_t *conversation; /* check magic number and version */ tot_len = tvb_captured_length(tvb); if (tot_len < ZIOP_HEADER_SIZE) /* tot_len < 12 */ { /* Not enough data captured to hold the ZIOP header; don't try to interpret it as GIOP. */ return FALSE; } if ( tvb_memeql(tvb, 0, (const guint8 *)ZIOP_MAGIC, 4) != 0) { return FALSE; } if ( pinfo->ptype == PT_TCP ) { /* * Make the ZIOP dissector the dissector for this conversation. * * If this isn't the first time this packet has been processed, * we've already done this work, so we don't need to do it * again. */ if (!pinfo->fd->visited) { conversation = find_or_create_conversation(pinfo); /* Set dissector */ conversation_set_dissector(conversation, ziop_tcp_handle); } dissect_ziop_tcp (tvb, pinfo, tree, data); } else { dissect_ziop (tvb, pinfo, tree, data); } return TRUE; } void proto_register_ziop (void) { /* A header field is something you can search/filter on. * * We create a structure to register our fields. It consists of an * array of hf_register_info structures, each of which are of the format * {&(field id), {name, abbrev, type, display, strings, bitmask, blurb, HFILL}}. */ static hf_register_info hf[] = { { &hf_ziop_magic, { "Header magic", "ziop.magic", FT_STRING, BASE_NONE, NULL, 0x0, "ZIOPHeader magic", HFILL }}, { &hf_ziop_giop_version_major, { "Header major version", "ziop.giop_version_major", FT_UINT8, BASE_OCT, NULL, 0x0, "ZIOPHeader giop_major_version", HFILL }}, { &hf_ziop_giop_version_minor, { "Header minor version", "ziop.giop_version_minor", FT_UINT8, BASE_OCT, NULL, 0x0, "ZIOPHeader giop_minor_version", HFILL }}, { &hf_ziop_flags, { "Header flags", "ziop.flags", FT_UINT8, BASE_OCT, NULL, 0x0, "ZIOPHeader flags", HFILL }}, { &hf_ziop_message_type, { "Header type", "ziop.message_type", FT_UINT8, BASE_OCT, VALS(giop_message_types), 0x0, "ZIOPHeader message_type", HFILL }}, { &hf_ziop_message_size, { "Header size", "ziop.message_size", FT_UINT32, BASE_DEC, NULL, 0x0, "ZIOPHeader message_size", HFILL }}, { &hf_ziop_compressor_id, { "Header compressor id", "ziop.compressor_id", FT_UINT16, BASE_DEC, VALS(ziop_compressor_ids), 0x0, "ZIOPHeader compressor_id", HFILL }}, { &hf_ziop_original_length, { "Header original length", "ziop.original_length", FT_UINT32, BASE_DEC, NULL, 0x0, "ZIOP original_length", HFILL }} }; static gint *ett[] = { &ett_ziop }; static ei_register_info ei[] = { { &ei_ziop_version, { "ziop.version_not_supported", PI_PROTOCOL, PI_WARN, "Version not supported", EXPFILL }}, }; expert_module_t* expert_ziop; proto_ziop = proto_register_protocol("Zipped Inter-ORB Protocol", "ZIOP", "ziop"); proto_register_field_array (proto_ziop, hf, array_length (hf)); proto_register_subtree_array (ett, array_length (ett)); expert_ziop = expert_register_protocol(proto_ziop); expert_register_field_array(expert_ziop, ei, array_length(ei)); register_dissector("ziop", dissect_ziop, proto_ziop); } void proto_reg_handoff_ziop (void) { ziop_tcp_handle = create_dissector_handle(dissect_ziop_tcp, proto_ziop); dissector_add_for_decode_as_with_preference("udp.port", ziop_tcp_handle); heur_dissector_add("tcp", dissect_ziop_heur, "ZIOP over TCP", "ziop_tcp", proto_ziop, HEURISTIC_ENABLE); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/packet-ziop.h
/* packet-ziop.h * Declaration of routines for ZIOP dissection * Significantly based on packet-giop.h * Copyright 2009 Alvaro Vega Garcia <avega at tid dot es> * * Based on GIOP Compression FTF Beta 1 * OMG mars/2008-12-20 * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PACKET_ZIOP_H #define PACKET_ZIOP_H /* * Useful visible data/structs */ #define ZIOP_HEADER_SIZE 12 #define ZIOP_MAGIC "ZIOP" typedef struct ZIOPHeader_1_0 { guint8 magic[4]; guint8 giop_version_major; guint8 giop_version_minor; guint8 flags; guint8 message_type; guint32 message_size; } ZIOPHeader; typedef struct ZIOP_CompressionData { guint16 compressor_id; guint16 padding; /* to be skipped due to CDR rules */ guint32 original_length; /* Compression::Buffer data; */ } CompressionData; gboolean dissect_ziop_heur (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void * data); #endif /* PACKET_ZIOP_H */
C
wireshark/epan/dissectors/packet-zrtp.c
/* packet-zrtp.c * Routines for zrtp packet dissection * IETF draft draft-zimmermann-avt-zrtp-22 * RFC 6189 * Copyright 2007, Sagar Pai <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * Copied from packet-pop.c * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan/expert.h> #include <epan/crc32-tvb.h> #include <wsutil/crc32.h> #include "packet-rtp.h" #include "packet-rtcp.h" void proto_reg_handoff_zrtp(void); void proto_register_zrtp(void); /* RTP header */ static int proto_zrtp = -1; static int hf_zrtp_rtpversion = -1; static int hf_zrtp_rtppadding = -1; static int hf_zrtp_rtpextension = -1; /* static int hf_zrtp_id = -1; */ static int hf_zrtp_sequence = -1; static int hf_zrtp_cookie = -1; static int hf_zrtp_source_id = -1; /* ZRTP header */ static int hf_zrtp_signature = -1; static int hf_zrtp_msg_length = -1; static int hf_zrtp_msg_type = -1; static int hf_zrtp_msg_version = -1; /* Hello Data */ static int hf_zrtp_msg_client_id = -1; static int hf_zrtp_msg_zid = -1; static int hf_zrtp_msg_sigcap = -1; static int hf_zrtp_msg_mitm = -1; static int hf_zrtp_msg_passive = -1; static int hf_zrtp_msg_hash_count = -1; static int hf_zrtp_msg_cipher_count = -1; static int hf_zrtp_msg_authtag_count = -1; static int hf_zrtp_msg_key_count = -1; static int hf_zrtp_msg_sas_count = -1; static int hf_zrtp_msg_hash = -1; static int hf_zrtp_msg_cipher = -1; static int hf_zrtp_msg_at = -1; static int hf_zrtp_msg_keya = -1; static int hf_zrtp_msg_sas = -1; static int hf_zrtp_msg_hash_image = -1; /* Commit Data */ static int hf_zrtp_msg_hvi = -1; static int hf_zrtp_msg_nonce = -1; static int hf_zrtp_msg_key_id = -1; /* DHParts Data */ static int hf_zrtp_msg_rs1ID = -1; static int hf_zrtp_msg_rs2ID = -1; static int hf_zrtp_msg_auxs = -1; static int hf_zrtp_msg_pbxs = -1; /* Confirm Data */ static int hf_zrtp_msg_hmac = -1; static int hf_zrtp_msg_cfb = -1; /* Error Data */ static int hf_zrtp_msg_error = -1; /* Ping Data */ static int hf_zrtp_msg_ping_version = -1; static int hf_zrtp_msg_ping_endpointhash = -1; static int hf_zrtp_msg_pingack_endpointhash = -1; static int hf_zrtp_msg_ping_ssrc = -1; /* Checksum Data */ static int hf_zrtp_checksum = -1; static int hf_zrtp_checksum_status = -1; /* Sub-Tree */ static gint ett_zrtp = -1; static gint ett_zrtp_msg = -1; static gint ett_zrtp_msg_data = -1; static gint ett_zrtp_msg_hc = -1; static gint ett_zrtp_msg_kc = -1; static gint ett_zrtp_msg_ac = -1; static gint ett_zrtp_msg_cc = -1; static gint ett_zrtp_msg_sc = -1; static gint ett_zrtp_checksum = -1; static expert_field ei_zrtp_checksum = EI_INIT; static dissector_handle_t zrtp_handle; /* Definitions */ #define ZRTP_ERR_10 0x10 #define ZRTP_ERR_20 0x20 #define ZRTP_ERR_30 0x30 #define ZRTP_ERR_40 0x40 #define ZRTP_ERR_51 0x51 #define ZRTP_ERR_52 0x52 #define ZRTP_ERR_53 0x53 #define ZRTP_ERR_54 0x54 #define ZRTP_ERR_55 0x55 #define ZRTP_ERR_56 0x56 #define ZRTP_ERR_61 0x61 #define ZRTP_ERR_62 0x62 #define ZRTP_ERR_63 0x63 #define ZRTP_ERR_70 0x70 #define ZRTP_ERR_80 0x80 #define ZRTP_ERR_90 0x90 #define ZRTP_ERR_91 0x91 #define ZRTP_ERR_A0 0xA0 #define ZRTP_ERR_B0 0xB0 #define ZRTP_ERR_100 0x100 /* Text for Display */ typedef struct _value_zrtp_versions { const gchar *version; } value_zrtp_versions; typedef struct _value_string_keyval { const gchar *key; const gchar *val; } value_string_keyval; static const value_zrtp_versions valid_zrtp_versions[] = { {"1.1x"}, {"1.0x"}, {"0.95"}, {"0.90"}, {"0.85"}, {NULL} }; static const value_string_keyval zrtp_hash_type_vals[] = { { "S256", "SHA-256 Hash"}, { "S384", "SHA-384 Hash"}, { "N256", "SHA-3 256-bit hash"}, { "N384", "SHA-3 384 bit hash"}, { NULL, NULL } }; static const value_string_keyval zrtp_cipher_type_vals[] = { { "AES1", "AES-CM with 128 bit keys"}, { "AES2", "AES-CM with 192 bit keys"}, { "AES3", "AES-CM with 256 bit keys"}, { "2FS1", "TwoFish with 128 bit keys"}, { "2FS2", "TwoFish with 192 bit keys"}, { "2FS3", "TwoFish with 256 bit keys"}, { "CAM1", "Camellia with 128 bit keys"}, { "CAM2", "Camellia with 192 bit keys"}, { "CAM3", "Camellia with 256 bit keys"}, { NULL, NULL } }; static const value_string_keyval zrtp_auth_tag_vals[] = { { "HS32", "HMAC-SHA1 32 bit authentication tag"}, { "HS80", "HMAC-SHA1 80 bit authentication tag"}, { "SK32", "Skein-512-MAC 32 bit authentication tag"}, { "SK64", "Skein-512-MAC 64 bit authentication tag"}, { NULL, NULL } }; static const value_string_keyval zrtp_sas_type_vals[] = { { "B32 ", "Short authentication string using base 32"}, { "B256", "Short authentication string using base 256"}, { NULL, NULL } }; static const value_string_keyval zrtp_key_agreement_vals[] = { { "DH2k", "DH mode with p=2048 bit prime"}, { "DH3k", "DH mode with p=3072 bit prime"}, { "DH4k", "DH mode with p=4096 bit prime"}, { "Prsh", "Preshared non-DH mode using shared secret"}, { "EC25", "Elliptic Curve DH-256"}, { "EC38", "Elliptic Curve DH-384"}, { "EC52", "Elliptic Curve DH-521"}, { "Mult", "Multistream mode"}, { NULL, NULL } }; static const value_string zrtp_error_vals[] = { { ZRTP_ERR_10, "Malformed Packet (CRC OK but wrong structure)"}, { ZRTP_ERR_20, "Critical Software Error"}, { ZRTP_ERR_30, "Unsupported ZRTP version"}, { ZRTP_ERR_40, "Hello Components mismatch"}, { ZRTP_ERR_51, "Hash type unsupported"}, { ZRTP_ERR_52, "Cipher type not supported"}, { ZRTP_ERR_53, "Public key exchange not supported"}, { ZRTP_ERR_54, "SRTP auth. tag not supported"}, { ZRTP_ERR_55, "SAS scheme not supported"}, { ZRTP_ERR_56, "No shared secret available, DH mode required"}, { ZRTP_ERR_61, "DH Error: bad pv for initiator/responder value is (1,0,p-1)"}, { ZRTP_ERR_62, "DH Error: bad hash commitment (hvi != hashed data)"}, { ZRTP_ERR_63, "Received relayed SAS from untrusted MiTM"}, { ZRTP_ERR_70, "Auth. Error Bad Confirm Packet HMAC"}, { ZRTP_ERR_80, "Nonce is reused"}, { ZRTP_ERR_90, "Equal ZID's in Hello"}, { ZRTP_ERR_91, "SSRC collision"}, { ZRTP_ERR_A0, "Service unavailable"}, { ZRTP_ERR_B0, "Protocol timeout error"}, { ZRTP_ERR_100, "GoClear packet received, but not allowed"}, { 0, NULL} }; static void dissect_Hello(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree); static void dissect_ErrorACK(packet_info *pinfo); static void dissect_Commit(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree); static void dissect_ClearACK( packet_info *pinfo); static void dissect_Conf2ACK(packet_info *pinfo); static void dissect_HelloACK( packet_info *pinfo); static void dissect_GoClear(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree); static void dissect_Error(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree); static void dissect_Confirm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree, int part); static void dissect_DHPart(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree, int part); static void dissect_SASrelay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree); static void dissect_RelayACK(packet_info *pinfo); static void dissect_Ping(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree); static void dissect_PingACK(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree); static const gchar * key_to_val(const gchar *key, int keylen, const value_string_keyval *kv, const gchar *fmt) { int i = 0; while (kv[i].key) { if (!strncmp(kv[i].key, key, keylen)) { return(kv[i].val); } i++; } return wmem_strdup_printf(wmem_packet_scope(), fmt, key); } static const gchar * check_valid_version(const gchar *version) { int i = 0; int match_size = (version[0] == '0') ? 4 : 3; while (valid_zrtp_versions[i].version) { if (!strncmp(valid_zrtp_versions[i].version, version, match_size)) { return(valid_zrtp_versions[i].version); } i++; } return NULL; } static int dissect_zrtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { proto_tree *zrtp_tree; proto_tree *zrtp_msg_tree; proto_tree *zrtp_msg_data_tree; proto_item *ti; int linelen; int checksum_offset; unsigned char message_type[9]; unsigned int prime_offset = 0; unsigned int msg_offset = 12; guint32 calc_crc; col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZRTP"); col_set_str(pinfo->cinfo, COL_INFO, "Unknown ZRTP Packet"); ti = proto_tree_add_protocol_format(tree, proto_zrtp, tvb, 0, -1, "ZRTP protocol"); zrtp_tree = proto_item_add_subtree(ti, ett_zrtp); proto_tree_add_item(zrtp_tree, hf_zrtp_rtpversion, tvb, prime_offset+0, 1, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_tree, hf_zrtp_rtppadding, tvb, prime_offset+0, 1, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_tree, hf_zrtp_rtpextension, tvb, prime_offset+0, 1, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_tree, hf_zrtp_sequence, tvb, prime_offset+2, 2, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_tree, hf_zrtp_cookie, tvb, prime_offset+4, 4, ENC_ASCII); proto_tree_add_item(zrtp_tree, hf_zrtp_source_id, tvb, prime_offset+8, 4, ENC_BIG_ENDIAN); linelen = tvb_reported_length_remaining(tvb, msg_offset); checksum_offset = linelen-4; ti = proto_tree_add_protocol_format(zrtp_tree, proto_zrtp, tvb, msg_offset, linelen-4, "Message"); zrtp_msg_tree = proto_item_add_subtree(ti, ett_zrtp_msg); proto_tree_add_item(zrtp_msg_tree, hf_zrtp_signature, tvb, msg_offset+0, 2, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_msg_tree, hf_zrtp_msg_length, tvb, msg_offset+2, 2, ENC_BIG_ENDIAN); tvb_memcpy(tvb, (void *)message_type, msg_offset+4, 8); message_type[8] = '\0'; proto_tree_add_item(zrtp_msg_tree, hf_zrtp_msg_type, tvb, msg_offset+4, 8, ENC_ASCII); linelen = tvb_reported_length_remaining(tvb, msg_offset+12); if (!strncmp(message_type, "Hello ", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_Hello(tvb, pinfo, zrtp_msg_data_tree); } else if (!strncmp(message_type, "HelloACK", 8)) { dissect_HelloACK(pinfo); } else if (!strncmp(message_type, "Commit ", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_Commit(tvb, pinfo, zrtp_msg_data_tree); } else if (!strncmp(message_type, "DHPart1 ", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_DHPart(tvb, pinfo, zrtp_msg_data_tree, 1); } else if (!strncmp(message_type, "DHPart2 ", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_DHPart(tvb, pinfo, zrtp_msg_data_tree, 2); } else if (!strncmp(message_type, "Confirm1", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_Confirm(tvb, pinfo, zrtp_msg_data_tree, 1); } else if (!strncmp(message_type, "Confirm2", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_Confirm(tvb, pinfo, zrtp_msg_data_tree, 2); } else if (!strncmp(message_type, "Conf2ACK", 8)) { dissect_Conf2ACK(pinfo); } else if (!strncmp(message_type, "Error ", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_Error(tvb, pinfo, zrtp_msg_data_tree); } else if (!strncmp(message_type, "ErrorACK", 8)) { dissect_ErrorACK(pinfo); } else if (!strncmp(message_type, "GoClear ", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_GoClear(tvb, pinfo, zrtp_msg_data_tree); } else if (!strncmp(message_type, "ClearACK", 8)) { dissect_ClearACK(pinfo); } else if (!strncmp(message_type, "SASrelay", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_SASrelay(tvb, pinfo, zrtp_msg_data_tree); } else if (!strncmp(message_type, "RelayACK", 8)) { dissect_RelayACK(pinfo); } else if (!strncmp(message_type, "Ping ", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_Ping(tvb, pinfo, zrtp_msg_data_tree); } else if (!strncmp(message_type, "PingACK ", 8)) { ti = proto_tree_add_protocol_format(zrtp_msg_tree, proto_zrtp, tvb, msg_offset+12, linelen-4, "Data"); zrtp_msg_data_tree = proto_item_add_subtree(ti, ett_zrtp_msg_data); dissect_PingACK(tvb, pinfo, zrtp_msg_data_tree); } calc_crc = ~crc32c_tvb_offset_calculate(tvb, 0, msg_offset+checksum_offset, CRC32C_PRELOAD); proto_tree_add_checksum(zrtp_tree, tvb, msg_offset+checksum_offset, hf_zrtp_checksum, hf_zrtp_checksum_status, &ei_zrtp_checksum, pinfo, calc_crc, ENC_BIG_ENDIAN, PROTO_CHECKSUM_VERIFY); return tvb_captured_length(tvb); } static void dissect_ErrorACK(packet_info *pinfo) { col_set_str(pinfo->cinfo, COL_INFO, "ErrorACK Packet"); } static void dissect_ClearACK(packet_info *pinfo) { col_set_str(pinfo->cinfo, COL_INFO, "ClearACK Packet"); } static void dissect_RelayACK(packet_info *pinfo) { col_set_str(pinfo->cinfo, COL_INFO, "RelayACK Packet"); } static void dissect_Conf2ACK(packet_info *pinfo) { /* Signals start of SRT(C)P streams */ struct srtp_info *dummy_srtp_info = wmem_new0(wmem_file_scope(), struct srtp_info); dummy_srtp_info->encryption_algorithm = SRTP_ENC_ALG_AES_CM; dummy_srtp_info->auth_algorithm = SRTP_AUTH_ALG_HMAC_SHA1; dummy_srtp_info->mki_len = 0; dummy_srtp_info->auth_tag_len = 4; srtp_add_address(pinfo, PT_UDP, &pinfo->net_src, pinfo->srcport, pinfo->destport, "ZRTP", pinfo->num, RTP_MEDIA_AUDIO, NULL, dummy_srtp_info, NULL); srtp_add_address(pinfo, PT_UDP, &pinfo->net_dst, pinfo->destport, pinfo->srcport, "ZRTP", pinfo->num, RTP_MEDIA_AUDIO, NULL, dummy_srtp_info, NULL); srtcp_add_address(pinfo, &pinfo->net_src, pinfo->srcport+1, pinfo->destport+1, "ZRTP", pinfo->num, dummy_srtp_info); srtcp_add_address(pinfo, &pinfo->net_dst, pinfo->destport+1, pinfo->srcport+1, "ZRTP", pinfo->num, dummy_srtp_info); col_set_str(pinfo->cinfo, COL_INFO, "Conf2ACK Packet"); } static void dissect_HelloACK(packet_info *pinfo) { col_set_str(pinfo->cinfo, COL_INFO, "HelloACK Packet"); } static void dissect_Ping(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree) { unsigned int data_offset = 24; col_set_str(pinfo->cinfo, COL_INFO, "Ping Packet"); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_ping_version, tvb, data_offset, 4, ENC_ASCII); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_ping_endpointhash, tvb, data_offset+4, 8, ENC_BIG_ENDIAN); } static void dissect_PingACK(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree) { unsigned int data_offset = 24; col_set_str(pinfo->cinfo, COL_INFO, "PingACK Packet"); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_ping_version, tvb, data_offset, 4, ENC_ASCII); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_pingack_endpointhash, tvb, data_offset+4, 8, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_ping_endpointhash, tvb, data_offset+12, 8, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_ping_ssrc, tvb, data_offset+20, 4, ENC_BIG_ENDIAN); } static void dissect_GoClear(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree) { unsigned int data_offset = 24; col_set_str(pinfo->cinfo, COL_INFO, "GoClear Packet"); /* Now we should clear the SRT(C)P session... */ proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hmac, tvb, data_offset+0, 8, ENC_NA); } static void dissect_Error(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree) { unsigned int data_offset = 24; col_set_str(pinfo->cinfo, COL_INFO, "Error Packet"); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_error, tvb, data_offset, 4, ENC_BIG_ENDIAN); } static void dissect_Confirm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree, int part) { unsigned int data_offset = 24; int linelen; col_add_fstr(pinfo->cinfo, COL_INFO, (part == 1) ? "Confirm1 Packet" : "Confirm2 Packet"); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hmac, tvb, data_offset+0, 8, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_cfb, tvb, data_offset+8, 16, ENC_NA); linelen = tvb_reported_length_remaining(tvb, data_offset+24); proto_tree_add_protocol_format(zrtp_tree, proto_zrtp, tvb, data_offset+24, linelen-4, "Encrypted Data"); } static void dissect_SASrelay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree) { unsigned int data_offset = 24; int linelen; col_set_str(pinfo->cinfo, COL_INFO, "SASrelay Packet"); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hmac, tvb, data_offset+0, 8, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_cfb, tvb, data_offset+8, 16, ENC_NA); linelen = tvb_reported_length_remaining(tvb, data_offset+24); proto_tree_add_protocol_format(zrtp_tree, proto_zrtp, tvb, data_offset+24, linelen-4, "Encrypted Data"); } static void dissect_DHPart(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree, int part) { unsigned int msg_offset = 12; unsigned int data_offset = 56; int linelen, pvr_len; col_add_fstr(pinfo->cinfo, COL_INFO, (part == 1) ? "DHPart1 Packet" : "DHPart2 Packet"); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hash_image, tvb, msg_offset+12, 32, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_rs1ID, tvb, data_offset+0, 8, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_rs2ID, tvb, data_offset+8, 8, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_auxs, tvb, data_offset+16, 8, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_pbxs, tvb, data_offset+24, 8, ENC_NA); linelen = tvb_reported_length_remaining(tvb, data_offset+32); pvr_len = linelen-8-4; proto_tree_add_protocol_format(zrtp_tree, proto_zrtp, tvb, data_offset+32, pvr_len, (part==1) ? "pvr Data" : "pvi Data"); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hmac, tvb, data_offset+32+pvr_len, 8, ENC_NA); } static void dissect_Commit(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree) { unsigned int msg_offset = 12; unsigned int data_offset = 56; gchar *value; int key_type = 0; /* 0 - other type 1 - "Mult" 2 - "Prsh" */ unsigned int offset; col_set_str(pinfo->cinfo, COL_INFO, "Commit Packet"); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hash_image, tvb, msg_offset+12, 32, ENC_NA); /* ZID */ proto_tree_add_item(zrtp_tree, hf_zrtp_msg_zid, tvb, data_offset+0, 12, ENC_NA); value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, data_offset+12, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format_value(zrtp_tree, hf_zrtp_msg_hash, tvb, data_offset+12, 4, value, "%s", key_to_val(value, 4, zrtp_hash_type_vals, "Unknown hash type %s")); value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, data_offset+16, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format_value(zrtp_tree, hf_zrtp_msg_cipher, tvb, data_offset+16, 4, value, "%s", key_to_val(value, 4, zrtp_cipher_type_vals, "Unknown cipher type %s")); value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, data_offset+20, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format(zrtp_tree, hf_zrtp_msg_at, tvb, data_offset+20, 4, value, "Auth tag: %s", key_to_val(value, 4, zrtp_auth_tag_vals, "Unknown auth tag %s")); value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, data_offset+24, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format_value(zrtp_tree, hf_zrtp_msg_keya, tvb, data_offset+24, 4, value, "%s", key_to_val(value, 4, zrtp_key_agreement_vals, "Unknown key agreement %s")); if(!strncmp(value, "Mult", 4)) { key_type = 1; } else if (!strncmp(value, "Prsh", 4)) { key_type = 2; } value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, data_offset+28, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format(zrtp_tree, hf_zrtp_msg_sas, tvb, data_offset+28, 4, value, "SAS type: %s", key_to_val(value, 4, zrtp_sas_type_vals, "Unknown SAS type %s")); switch (key_type) { case 1: /* Mult */ proto_tree_add_item(zrtp_tree, hf_zrtp_msg_nonce, tvb, data_offset+32, 16, ENC_NA); offset = 48; break; case 2: /* Prsh */ proto_tree_add_item(zrtp_tree, hf_zrtp_msg_nonce, tvb, data_offset+32, 16, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_key_id, tvb, data_offset+48, 8, ENC_NA); offset = 56; break; default: /* other */ proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hvi, tvb, data_offset+32, 32, ENC_NA); offset = 64; break; } proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hmac, tvb, data_offset+offset, 8, ENC_NA); } static void dissect_Hello(tvbuff_t *tvb, packet_info *pinfo, proto_tree *zrtp_tree) { proto_item *ti; unsigned int msg_offset = 12; unsigned int data_offset = 88; guint8 val_b; unsigned int i; unsigned int run_offset; unsigned int hc, cc, ac, kc, sc; unsigned int vhc, vcc, vac, vkc, vsc; gchar *value; gchar *version_str; proto_tree *tmp_tree; col_set_str(pinfo->cinfo, COL_INFO, "Hello Packet"); version_str = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, msg_offset+12, 4, ENC_ASCII|ENC_NA); if (check_valid_version(version_str) == NULL) { col_set_str(pinfo->cinfo, COL_INFO, "Unsupported version of ZRTP protocol"); } proto_tree_add_item(zrtp_tree, hf_zrtp_msg_version, tvb, msg_offset+12, 4, ENC_ASCII); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_client_id, tvb, msg_offset+16, 16, ENC_ASCII); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hash_image, tvb, msg_offset+32, 32, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_zid, tvb, msg_offset+64, 12, ENC_NA); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_sigcap, tvb, data_offset+0, 1, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_mitm, tvb, data_offset+0, 1, ENC_BIG_ENDIAN); proto_tree_add_item(zrtp_tree, hf_zrtp_msg_passive, tvb, data_offset+0, 1, ENC_BIG_ENDIAN); val_b = tvb_get_guint8(tvb, data_offset+1); hc = val_b & 0x0F; vhc = hc; val_b = tvb_get_guint8(tvb, data_offset+2); cc = val_b & 0xF0; ac = val_b & 0x0F; vcc = cc >> 4; vac = ac; val_b = tvb_get_guint8(tvb, data_offset+3); kc = val_b & 0xF0; sc = val_b & 0x0F; vkc = kc >> 4; vsc = sc; ti = proto_tree_add_uint_format(zrtp_tree, hf_zrtp_msg_hash_count, tvb, data_offset+1, 1, hc, "Hash type count = %d", vhc); tmp_tree = proto_item_add_subtree(ti, ett_zrtp_msg_hc); run_offset = data_offset+4; for (i=0; i<vhc; i++) { value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, run_offset, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format(tmp_tree, hf_zrtp_msg_hash, tvb, run_offset, 4, value, "Hash[%d]: %s", i, key_to_val(value, 4, zrtp_hash_type_vals, "Unknown hash type %s")); run_offset += 4; } ti = proto_tree_add_uint_format(zrtp_tree, hf_zrtp_msg_cipher_count, tvb, data_offset+2, 1, cc, "Cipher type count = %d", vcc); tmp_tree = proto_item_add_subtree(ti, ett_zrtp_msg_cc); for (i=0; i<vcc; i++) { value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, run_offset, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format(tmp_tree, hf_zrtp_msg_cipher, tvb, run_offset, 4, value, "Cipher[%d]: %s", i, key_to_val(value, 4, zrtp_cipher_type_vals, "Unknown cipher type %s")); run_offset += 4; } ti = proto_tree_add_uint_format(zrtp_tree, hf_zrtp_msg_authtag_count, tvb, data_offset+2, 1, ac, "Auth tag count = %d", vac); tmp_tree = proto_item_add_subtree(ti, ett_zrtp_msg_ac); for (i=0; i<vac; i++) { value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, run_offset, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format(tmp_tree, hf_zrtp_msg_at, tvb, run_offset, 4, value, "Auth tag[%d]: %s", i, key_to_val(value, 4, zrtp_auth_tag_vals, "Unknown auth tag %s")); run_offset += 4; } ti = proto_tree_add_uint_format(zrtp_tree, hf_zrtp_msg_key_count, tvb, data_offset+3, 1, kc, "Key agreement type count = %d", vkc); tmp_tree = proto_item_add_subtree(ti, ett_zrtp_msg_kc); for (i=0; i<vkc; i++) { value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, run_offset, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format(tmp_tree, hf_zrtp_msg_keya, tvb, run_offset, 4, value, "Key agreement[%d]: %s", i, key_to_val(value, 4, zrtp_key_agreement_vals, "Unknown key agreement %s")); run_offset += 4; } ti = proto_tree_add_uint_format(zrtp_tree, hf_zrtp_msg_sas_count, tvb, data_offset+3, 1, sc, "SAS type count = %d", vsc); tmp_tree = proto_item_add_subtree(ti, ett_zrtp_msg_sc); for (i=0; i<vsc; i++) { value = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, run_offset, 4, ENC_ASCII|ENC_NA); proto_tree_add_string_format(tmp_tree, hf_zrtp_msg_sas, tvb, run_offset, 4, value, "SAS type[%d]: %s", i, key_to_val(value, 4, zrtp_sas_type_vals, "Unknown SAS type %s")); run_offset += 4; } proto_tree_add_item(zrtp_tree, hf_zrtp_msg_hmac, tvb, run_offset, 8, ENC_NA); } void proto_register_zrtp(void) { static hf_register_info hf[] = { {&hf_zrtp_rtpversion, { "RTP Version", "zrtp.rtpversion", FT_UINT8, BASE_DEC, NULL, 0xC0, NULL, HFILL } }, {&hf_zrtp_rtppadding, { "RTP padding", "zrtp.rtppadding", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL } }, {&hf_zrtp_rtpextension, { "RTP Extension", "zrtp.rtpextension", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL } }, #if 0 {&hf_zrtp_id, { "ID", "zrtp.id", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, #endif {&hf_zrtp_sequence, { "Sequence", "zrtp.sequence", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_cookie, { "Magic Cookie", "zrtp.cookie", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_source_id, { "Source Identifier", "zrtp.source_id", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, /* Message Types */ {&hf_zrtp_signature, { "Signature", "zrtp.signature", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_length, { "Length", "zrtp.length", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_type, { "Type", "zrtp.type", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_version, { "ZRTP protocol version", "zrtp.version", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_client_id, { "Client Identifier", "zrtp.client_source_id", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_hash_image, { "Hash Image", "zrtp.hash_image", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_zid, { "ZID", "zrtp.zid", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_sigcap, { "Sig.capable", "zrtp.sigcap", FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL } }, {&hf_zrtp_msg_mitm, { "MiTM", "zrtp.mitm", FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL } }, {&hf_zrtp_msg_passive, { "Passive", "zrtp.passive", FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL } }, {&hf_zrtp_msg_hash_count, { "Hash Count", "zrtp.hc", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } }, {&hf_zrtp_msg_cipher_count, { "Cipher Count", "zrtp.cc", FT_UINT8, BASE_DEC, NULL, 0xF0, NULL, HFILL } }, {&hf_zrtp_msg_authtag_count, { "Auth tag Count", "zrtp.ac", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } }, {&hf_zrtp_msg_key_count, { "Key Agreement Count", "zrtp.kc", FT_UINT8, BASE_DEC, NULL, 0xF0, NULL, HFILL } }, {&hf_zrtp_msg_sas_count, { "SAS Count", "zrtp.sc", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } }, {&hf_zrtp_msg_hash, { "Hash", "zrtp.hash", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_cipher, { "Cipher", "zrtp.cipher", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_at, { "AT", "zrtp.at", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_keya, { "Key Agreement", "zrtp.keya", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_sas, { "SAS", "zrtp.sas", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_rs1ID, { "rs1ID", "zrtp.rs1id", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_rs2ID, { "rs2ID", "zrtp.rs2id", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_auxs, { "auxs", "zrtp.auxs", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_pbxs, { "pbxs", "zrtp.pbxs", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_hmac, { "HMAC", "zrtp.hmac", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_cfb, { "CFB", "zrtp.cfb", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_error, { "Error", "zrtp.error", FT_UINT32, BASE_DEC, VALS(zrtp_error_vals), 0x0, NULL, HFILL } }, {&hf_zrtp_msg_ping_version, { "Ping Version", "zrtp.ping_version", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_ping_endpointhash, { "Ping Endpoint Hash", "zrtp.ping_endpointhash", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_pingack_endpointhash, { "PingAck Endpoint Hash", "zrtp.pingack_endpointhash", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_ping_ssrc, { "Ping SSRC", "zrtp.ping_ssrc", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_checksum, { "Checksum", "zrtp.checksum", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_checksum_status, { "Checksum Status", "zrtp.checksum.status", FT_UINT8, BASE_NONE, VALS(proto_checksum_vals), 0x0, NULL, HFILL } }, {&hf_zrtp_msg_hvi, { "hvi", "zrtp.hvi", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_nonce, { "nonce", "zrtp.nonce", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, {&hf_zrtp_msg_key_id, { "key ID", "zrtp.key_id", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } } }; static gint *ett[] = { &ett_zrtp, &ett_zrtp_msg, &ett_zrtp_msg_data, &ett_zrtp_msg_hc, &ett_zrtp_msg_kc, &ett_zrtp_msg_ac, &ett_zrtp_msg_cc, &ett_zrtp_msg_sc, &ett_zrtp_checksum }; static ei_register_info ei[] = { { &ei_zrtp_checksum, { "zrtp.bad_checksum", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }}, }; expert_module_t* expert_zrtp; proto_zrtp = proto_register_protocol("ZRTP", "ZRTP", "zrtp"); proto_register_field_array(proto_zrtp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); zrtp_handle = register_dissector("zrtp", dissect_zrtp, proto_zrtp); expert_zrtp = expert_register_protocol(proto_zrtp); expert_register_field_array(expert_zrtp, ei, array_length(ei)); } void proto_reg_handoff_zrtp(void) { dissector_add_for_decode_as_with_preference("udp.port", zrtp_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */
C
wireshark/epan/dissectors/packet-zvt.c
/* packet-zvt.c * Routines for ZVT dissection * Copyright 2014-2015, Martin Kaiser <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* ZVT is a manufacturer-independent protocol between payment terminals and * electronic cash-register systems / vending machines * * the specifications are available from https://www.terminalhersteller.de * * ZVT defines a "serial transport protocol" and a "TCP/IP transport * protocol" * * ZVT can sit on top of USB, either the serial or the TCP/IP protocol * can be used in this case - this is not supported for now * * a dump of ZVT data can be converted to pcap, using a user-defined DLT * we register the dissector by name and try to auto-detect the serial * or TCP/IP protocol * * finally, ZVT can run on top of TCP, the default port is 20007, only * the TCP/IP protocol can be used here */ #include "config.h" #include <epan/packet.h> #include <epan/addr_resolv.h> #include <epan/expert.h> #include "packet-tcp.h" /* special characters of the serial transport protocol */ #define STX 0x02 #define ETX 0x03 #define ACK 0x06 #define DLE 0x10 #define NAK 0x15 /* an APDU needs at least a 2-byte control-field and one byte length */ #define ZVT_APDU_MIN_LEN 3 static GHashTable *apdu_table = NULL, *bitmap_table = NULL, *tlv_table = NULL; static wmem_tree_t *transactions = NULL; typedef struct _zvt_transaction_t { guint32 rqst_frame; guint32 resp_frame; guint16 ctrl; } zvt_transaction_t; typedef enum _zvt_direction_t { DIRECTION_UNKNOWN, DIRECTION_ECR_TO_PT, DIRECTION_PT_TO_ECR } zvt_direction_t; /* source/destination address field */ #define ADDR_ECR "ECR" #define ADDR_PT "PT" #define CCRC_POS 0x80 #define CCRC_NEG 0x84 /* "don't care" value for min_len_field */ #define LEN_FIELD_ANY G_MAXUINT32 typedef struct _apdu_info_t { guint16 ctrl; guint32 min_len_field; zvt_direction_t direction; void (*dissect_payload)(tvbuff_t *, gint, guint16, packet_info *, proto_tree *, zvt_transaction_t *); } apdu_info_t; /* control code 0 is not defined in the specification */ #define ZVT_CTRL_NONE 0x0000 #define CTRL_STATUS 0x040F #define CTRL_INT_STATUS 0x04FF #define CTRL_REGISTRATION 0x0600 #define CTRL_AUTHORISATION 0x0601 #define CTRL_COMPLETION 0x060F #define CTRL_ABORT 0x061E #define CTRL_REVERSAL 0x0630 #define CTRL_REFUND 0x0631 #define CTRL_END_OF_DAY 0x0650 #define CTRL_DIAG 0x0670 #define CTRL_INIT 0x0693 #define CTRL_PRINT_LINE 0x06D1 #define CTRL_PRINT_TEXT 0x06D3 static void dissect_zvt_int_status(tvbuff_t *tvb, gint offset, guint16 len, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans); static void dissect_zvt_reg(tvbuff_t *tvb, gint offset, guint16 len _U_, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans); static void dissect_zvt_bitmap_seq(tvbuff_t *tvb, gint offset, guint16 len, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans _U_); static void dissect_zvt_init(tvbuff_t *tvb, gint offset, guint16 len _U_, packet_info *pinfo _U_, proto_tree *tree, zvt_transaction_t *zvt_trans _U_); static void dissect_zvt_pass_bitmap_seq(tvbuff_t *tvb, gint offset, guint16 len _U_, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans); static void dissect_zvt_abort(tvbuff_t *tvb, gint offset, guint16 len _U_, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans); static const apdu_info_t apdu_info[] = { { CTRL_STATUS, 0, DIRECTION_PT_TO_ECR, dissect_zvt_bitmap_seq }, { CTRL_INT_STATUS, 0, DIRECTION_PT_TO_ECR, dissect_zvt_int_status }, { CTRL_REGISTRATION, 4, DIRECTION_ECR_TO_PT, dissect_zvt_reg }, /* authorisation has at least a 0x04 tag and 6 bytes for the amount */ { CTRL_AUTHORISATION, 7, DIRECTION_ECR_TO_PT, dissect_zvt_bitmap_seq }, { CTRL_COMPLETION, 0, DIRECTION_PT_TO_ECR, dissect_zvt_bitmap_seq }, { CTRL_ABORT, 0, DIRECTION_PT_TO_ECR, dissect_zvt_abort }, { CTRL_REVERSAL, 0, DIRECTION_ECR_TO_PT, dissect_zvt_pass_bitmap_seq }, { CTRL_REFUND, 0, DIRECTION_ECR_TO_PT, dissect_zvt_pass_bitmap_seq }, { CTRL_END_OF_DAY, 0, DIRECTION_ECR_TO_PT, NULL }, { CTRL_DIAG, 0, DIRECTION_ECR_TO_PT, NULL }, { CTRL_INIT, 0, DIRECTION_ECR_TO_PT, dissect_zvt_init }, { CTRL_PRINT_LINE, 0, DIRECTION_PT_TO_ECR, NULL }, { CTRL_PRINT_TEXT, 0, DIRECTION_PT_TO_ECR, dissect_zvt_bitmap_seq } }; typedef struct _bitmap_info_t { guint8 bmp; guint16 payload_len; gint (*dissect_payload)(tvbuff_t *, gint, packet_info *, proto_tree *); } bitmap_info_t; #define BMP_TIMEOUT 0x01 #define BMP_MAX_STAT_INFO 0x02 #define BMP_SVC_BYTE 0x03 #define BMP_AMOUNT 0x04 #define BMP_PUMP_NR 0x05 #define BMP_TLV_CONTAINER 0x06 #define BMP_TRACE_NUM 0x0B #define BMP_TIME 0x0C #define BMP_DATE 0x0D #define BMP_EXP_DATE 0x0E #define BMP_CARD_SEQ_NUM 0x17 #define BMP_PAYMENT_TYPE 0x19 #define BMP_CARD_NUM 0x22 #define BMP_T2_DAT 0x23 #define BMP_T3_DAT 0x24 #define BMP_RES_CODE 0x27 #define BMP_TID 0x29 #define BMP_VU_NUMBER 0x2A #define BMP_T1_DAT 0x2D #define BMP_CVV_CVC 0x3A #define BMP_AID 0x3B #define BMP_ADD_DATA 0x3C #define BMP_CC 0x49 #define BMP_RCPT_NUM 0x87 #define BMP_CARD_TYPE 0x8A #define BMP_CARD_NAME 0x8B #define BMP_PLD_LEN_UNKNOWN 0 /* unknown/variable bitmap payload len */ static gint dissect_zvt_amount( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static gint dissect_zvt_tlv_container( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static inline gint dissect_zvt_res_code( tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree); static inline gint dissect_zvt_cc( tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree); static inline gint dissect_zvt_terminal_id( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static inline gint dissect_zvt_time( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static inline gint dissect_zvt_date( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static inline gint dissect_zvt_card_type( tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree); static inline gint dissect_zvt_trace_number( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static inline gint dissect_zvt_expiry_date( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static inline gint dissect_zvt_card_number( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static inline gint dissect_zvt_card_name( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static inline gint dissect_zvt_additional_data( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree); static const bitmap_info_t bitmap_info[] = { { BMP_TIMEOUT, 1, NULL }, { BMP_MAX_STAT_INFO, 1, NULL }, { BMP_SVC_BYTE, 1, NULL }, { BMP_AMOUNT, 6, dissect_zvt_amount }, { BMP_PUMP_NR, 1, NULL }, { BMP_TLV_CONTAINER, BMP_PLD_LEN_UNKNOWN, dissect_zvt_tlv_container }, { BMP_TRACE_NUM, 3, dissect_zvt_trace_number }, { BMP_TIME, 3, dissect_zvt_time }, { BMP_DATE, 2, dissect_zvt_date }, { BMP_EXP_DATE, 2, dissect_zvt_expiry_date }, { BMP_CARD_SEQ_NUM, 2, NULL }, { BMP_PAYMENT_TYPE, 1, NULL }, { BMP_CARD_NUM, BMP_PLD_LEN_UNKNOWN, dissect_zvt_card_number }, { BMP_T2_DAT, BMP_PLD_LEN_UNKNOWN, NULL }, { BMP_T3_DAT, BMP_PLD_LEN_UNKNOWN, NULL }, { BMP_RES_CODE, 1, dissect_zvt_res_code }, { BMP_TID, 4, dissect_zvt_terminal_id }, { BMP_VU_NUMBER, 15, NULL }, { BMP_T1_DAT, BMP_PLD_LEN_UNKNOWN, NULL }, { BMP_CVV_CVC, 2, NULL }, { BMP_AID, 8, NULL }, { BMP_ADD_DATA, BMP_PLD_LEN_UNKNOWN, dissect_zvt_additional_data }, { BMP_CC, 2, dissect_zvt_cc }, { BMP_RCPT_NUM, 2, NULL }, { BMP_CARD_TYPE, 1, dissect_zvt_card_type }, { BMP_CARD_NAME, BMP_PLD_LEN_UNKNOWN, dissect_zvt_card_name } }; void proto_register_zvt(void); void proto_reg_handoff_zvt(void); static int proto_zvt = -1; static int ett_zvt = -1; static int ett_zvt_apdu = -1; static int ett_zvt_bitmap = -1; static int ett_zvt_tlv_dat_obj = -1; static int ett_zvt_tlv_subseq = -1; static int ett_zvt_tlv_tag = -1; static int ett_zvt_tlv_receipt = -1; static int hf_zvt_resp_in = -1; static int hf_zvt_resp_to = -1; static int hf_zvt_serial_char = -1; static int hf_zvt_crc = -1; static int hf_zvt_ctrl = -1; static int hf_zvt_ccrc = -1; static int hf_zvt_aprc = -1; static int hf_zvt_len = -1; static int hf_zvt_data = -1; static int hf_zvt_int_status = -1; static int hf_zvt_pwd = -1; static int hf_zvt_reg_cfg = -1; static int hf_zvt_res_code = -1; static int hf_zvt_cc = -1; static int hf_zvt_amount = -1; static int hf_zvt_terminal_id = -1; static int hf_zvt_time = -1; static int hf_zvt_date = -1; static int hf_zvt_card_type = -1; static int hf_zvt_bmp = -1; static int hf_zvt_tlv_total_len = -1; static int hf_zvt_tlv_tag = -1; static int hf_zvt_tlv_tag_class = -1; static int hf_zvt_tlv_tag_type = -1; static int hf_zvt_tlv_len = -1; static int hf_zvt_text_lines_line = -1; static int hf_zvt_permitted_cmd = -1; static int hf_zvt_receipt_type = -1; static int hf_zvt_receipt_parameter_positive_customer = -1; static int hf_zvt_receipt_parameter_negative_customer = -1; static int hf_zvt_receipt_parameter_positive_merchant = -1; static int hf_zvt_receipt_parameter_negative_merchant = -1; static int hf_zvt_receipt_parameter_customer_before_merchant = -1; static int hf_zvt_receipt_parameter_print_short_receipt = -1; static int hf_zvt_receipt_parameter_no_product_data = -1; static int hf_zvt_receipt_parameter_ecr_as_printer = -1; static int hf_zvt_receipt_parameter = -1; static int hf_zvt_trace_number = -1; static int hf_zvt_expiry_date = -1; static int hf_zvt_card_number = -1; static int hf_zvt_card_name = -1; static int hf_zvt_additional_data = -1; static int hf_zvt_characters_per_line = -1; static int hf_zvt_receipt_info = -1; static int hf_zvt_receipt_info_positive = -1; static int hf_zvt_receipt_info_signature = -1; static int hf_zvt_receipt_info_negative = -1; static int hf_zvt_receipt_info_printing = -1; static int * const receipt_parameter_flag_fields[] = { &hf_zvt_receipt_parameter_positive_customer, &hf_zvt_receipt_parameter_negative_customer, &hf_zvt_receipt_parameter_positive_merchant, &hf_zvt_receipt_parameter_negative_merchant, &hf_zvt_receipt_parameter_customer_before_merchant, &hf_zvt_receipt_parameter_print_short_receipt, &hf_zvt_receipt_parameter_no_product_data, &hf_zvt_receipt_parameter_ecr_as_printer, NULL }; static int * const receipt_info_fields[] = { &hf_zvt_receipt_info_positive, &hf_zvt_receipt_info_signature, &hf_zvt_receipt_info_negative, &hf_zvt_receipt_info_printing, NULL }; static expert_field ei_invalid_apdu_len = EI_INIT; static const value_string serial_char[] = { { STX, "Start of text (STX)" }, { ETX, "End of text (ETX)" }, { ACK, "Acknowledged (ACK)" }, { DLE, "Data line escape (DLE)" }, { NAK, "Not acknowledged (NAK)" }, { 0, NULL } }; static value_string_ext serial_char_ext = VALUE_STRING_EXT_INIT(serial_char); static const value_string ctrl_field[] = { { CTRL_STATUS, "Status Information" }, { CTRL_INT_STATUS, "Intermediate Status Information" }, { CTRL_REGISTRATION, "Registration" }, { CTRL_AUTHORISATION, "Authorisation" }, { CTRL_COMPLETION, "Completion" }, { CTRL_ABORT, "Abort" }, { CTRL_REVERSAL, "Reversal" }, { CTRL_REFUND, "Refund" }, { CTRL_END_OF_DAY, "End Of Day" }, { CTRL_DIAG, "Diagnosis" }, { CTRL_INIT, "Initialisation" }, { CTRL_PRINT_LINE, "Print Line" }, { CTRL_PRINT_TEXT, "Print Text Block" }, { 0, NULL } }; static value_string_ext ctrl_field_ext = VALUE_STRING_EXT_INIT(ctrl_field); /* ISO 4217 currency codes */ static const value_string zvt_cc[] = { { 0x0756, "CHF" }, { 0x0826, "GBP" }, { 0x0840, "USD" }, { 0x0978, "EUR" }, { 0, NULL } }; static const value_string receipt_type[] = { { 0x01, "Transaction receipt (merchant)" }, { 0x02, "Transaction receipt (customer)" }, { 0x03, "Administration receipt" }, { 0, NULL } }; static const value_string card_type[] = { { 2, "ec-card" }, { 5, "girocard" }, { 6, "Mastercard" }, { 10, "VISA" }, { 46, "Maestro" }, { 0, NULL } }; static value_string_ext card_type_ext = VALUE_STRING_EXT_INIT(card_type); static const value_string bitmap[] = { { BMP_TIMEOUT, "Timeout" }, { BMP_MAX_STAT_INFO, "max. status info" }, { BMP_SVC_BYTE, "Service byte" }, { BMP_AMOUNT, "Amount" }, { BMP_PUMP_NR, "Pump number" }, { BMP_TLV_CONTAINER, "TLV container" }, { BMP_TRACE_NUM, "Trace number" }, { BMP_TIME, "Time" }, { BMP_DATE, "Date" }, { BMP_EXP_DATE, "Expiry date" }, { BMP_CARD_SEQ_NUM, "Card sequence number" }, { BMP_PAYMENT_TYPE, "Payment type" }, { BMP_CARD_NUM, "Card number" }, { BMP_T2_DAT, "Track 2 data" }, { BMP_T3_DAT, "Track 3 data" }, { BMP_RES_CODE, "Result code" }, { BMP_TID, "Terminal ID" }, { BMP_VU_NUMBER, "Contract number"}, { BMP_T1_DAT, "Track 1 data" }, { BMP_CVV_CVC, "CVV / CVC" }, { BMP_AID, "Authorization attribute" }, { BMP_ADD_DATA, "Additional data" }, { BMP_CC, "Currency code (CC)" }, { BMP_RCPT_NUM, "Receipt number" }, { BMP_CARD_TYPE, "Card type" }, { BMP_CARD_NAME, "Card name" }, { 0, NULL } }; static value_string_ext bitmap_ext = VALUE_STRING_EXT_INIT(bitmap); static const value_string tlv_tag_class[] = { { 0x00, "Universal" }, { 0x01, "Application" }, { 0x02, "Context-specific" }, { 0x03, "Private" }, { 0, NULL } }; static value_string_ext tlv_tag_class_ext = VALUE_STRING_EXT_INIT(tlv_tag_class); #define TLV_TAG_TEXT_LINES 0x07 #define TLV_TAG_ATTRIBUTE 0x09 #define TLV_TAG_PERMITTED_ZVT_CMD 0x0A #define TLV_TAG_CHARS_PER_LINE 0x12 #define TLV_TAG_DISPLAY_TEXTS 0x24 #define TLV_TAG_PRINT_TEXTS 0x25 #define TLV_TAG_PERMITTED_ZVT_CMDS 0x26 #define TLV_TAG_SUPPORTED_CHARSETS 0x27 #define TLV_TAG_PAYMENT_TYPE 0x2F #define TLV_TAG_EMV_CFG_PARAM 0x40 #define TLV_TAG_CARD_TYPE_ID 0x41 #define TLV_TAG_RECEIPT_PARAMETER 0x45 #define TLV_TAG_APPLICATION 0x60 #define TLV_TAG_RECEIPT_PARAM 0x1F04 #define TLV_TAG_RECEIPT_TYPE 0x1F07 #define TLV_TAG_CARDHOLDER_AUTH 0x1F10 #define TLV_TAG_ONLINE_FLAG 0x1F11 #define TLV_TAG_CARD_TYPE 0x1F12 #define TLV_TAG_RECEIPT_INFO 0x1F37 typedef struct _tlv_seq_info_t { guint txt_enc; } tlv_seq_info_t; static gint dissect_zvt_tlv_seq(tvbuff_t *tvb, gint offset, guint16 seq_max_len, packet_info *pinfo, proto_tree *tree, tlv_seq_info_t *seq_info); typedef struct _tlv_info_t { guint32 tag; gint (*dissect_payload)(tvbuff_t *, gint, gint, packet_info *, proto_tree *, tlv_seq_info_t *); } tlv_info_t; static inline gint dissect_zvt_tlv_text_lines( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info); static inline gint dissect_zvt_tlv_subseq( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree, tlv_seq_info_t *seq_info); static inline gint dissect_zvt_tlv_permitted_cmd( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info _U_); static inline gint dissect_zvt_tlv_receipt_type( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info _U_); static inline gint dissect_zvt_tlv_receipt_param( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info _U_); static inline gint dissect_zvt_tlv_characters_per_line( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree, tlv_seq_info_t *seq_info _U_); static inline gint dissect_zvt_tlv_receipt_info( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info _U_); static const tlv_info_t tlv_info[] = { { TLV_TAG_TEXT_LINES, dissect_zvt_tlv_text_lines }, { TLV_TAG_DISPLAY_TEXTS, dissect_zvt_tlv_subseq }, { TLV_TAG_PRINT_TEXTS, dissect_zvt_tlv_subseq }, { TLV_TAG_PAYMENT_TYPE, dissect_zvt_tlv_subseq }, { TLV_TAG_PERMITTED_ZVT_CMDS, dissect_zvt_tlv_subseq }, { TLV_TAG_PERMITTED_ZVT_CMD, dissect_zvt_tlv_permitted_cmd }, { TLV_TAG_RECEIPT_TYPE, dissect_zvt_tlv_receipt_type }, { TLV_TAG_RECEIPT_PARAM, dissect_zvt_tlv_receipt_param }, { TLV_TAG_CHARS_PER_LINE, dissect_zvt_tlv_characters_per_line }, { TLV_TAG_RECEIPT_INFO, dissect_zvt_tlv_receipt_info } }; static const value_string tlv_tags[] = { { TLV_TAG_TEXT_LINES, "Text lines" }, { TLV_TAG_ATTRIBUTE, "Attribute"}, { TLV_TAG_CHARS_PER_LINE, "Number of characters per line of the printer" }, { TLV_TAG_DISPLAY_TEXTS, "Display texts" }, { TLV_TAG_PRINT_TEXTS, "Print texts" }, { TLV_TAG_PERMITTED_ZVT_CMDS, "List of permitted ZVT commands" }, { TLV_TAG_SUPPORTED_CHARSETS, "List of supported character sets" }, { TLV_TAG_PAYMENT_TYPE, "Payment type" }, { TLV_TAG_EMV_CFG_PARAM, "EMV config parameter" }, { TLV_TAG_CARD_TYPE_ID, "Card type ID" }, { TLV_TAG_RECEIPT_PARAMETER, "Receipt parameter (EMV)" }, { TLV_TAG_APPLICATION, "Application" }, { TLV_TAG_RECEIPT_PARAM, "Receipt parameter" }, { TLV_TAG_RECEIPT_TYPE, "Receipt type" }, { TLV_TAG_CARDHOLDER_AUTH, "Cardholder authentication" }, { TLV_TAG_ONLINE_FLAG, "Online flag" }, { TLV_TAG_CARD_TYPE, "Card type" }, { TLV_TAG_RECEIPT_INFO, "Receipt information" }, { 0, NULL } }; static value_string_ext tlv_tags_ext = VALUE_STRING_EXT_INIT(tlv_tags); static inline gint dissect_zvt_tlv_text_lines( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info) { proto_tree_add_item(tree, hf_zvt_text_lines_line, tvb, offset, len, seq_info->txt_enc | ENC_NA); return len; } static inline gint dissect_zvt_tlv_subseq( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree, tlv_seq_info_t *seq_info) { proto_tree *subseq_tree; subseq_tree = proto_tree_add_subtree(tree, tvb, offset, len, ett_zvt_tlv_subseq, NULL, "Subsequence"); return dissect_zvt_tlv_seq(tvb, offset, len, pinfo, subseq_tree, seq_info); } static inline gint dissect_zvt_tlv_permitted_cmd( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info _U_) { proto_tree_add_item(tree, hf_zvt_permitted_cmd, tvb, offset, len, ENC_BIG_ENDIAN); return len; } static inline gint dissect_zvt_tlv_receipt_type( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info _U_) { proto_tree_add_item(tree, hf_zvt_receipt_type, tvb, offset, len, ENC_BIG_ENDIAN); return len; } static inline gint dissect_zvt_tlv_receipt_param( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info _U_) { proto_tree_add_bitmask(tree, tvb, offset, hf_zvt_receipt_parameter, ett_zvt_tlv_receipt, receipt_parameter_flag_fields, ENC_BIG_ENDIAN); return len; } static inline gint dissect_zvt_tlv_characters_per_line( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree, tlv_seq_info_t *seq_info _U_) { const gchar *str = tvb_bcd_dig_to_str_be(pinfo->pool, tvb, offset, 1, NULL, FALSE); proto_tree_add_string(tree, hf_zvt_characters_per_line, tvb, offset, 1, str); return len; } static inline gint dissect_zvt_tlv_receipt_info( tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo _U_, proto_tree *tree, tlv_seq_info_t *seq_info _U_) { proto_tree_add_bitmask(tree, tvb, offset, hf_zvt_receipt_info, ett_zvt_tlv_receipt, receipt_info_fields, ENC_BIG_ENDIAN); return len; } static gint dissect_zvt_tlv_tag(tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, guint32 *tag) { gint offset_start; guint8 one_byte; guint32 _tag; proto_item *tag_ti; proto_tree *tag_tree; offset_start = offset; one_byte = tvb_get_guint8(tvb, offset); _tag = one_byte; offset++; if ((one_byte & 0x1F) == 0x1F) { do { if ((offset-offset_start)>4) { /* we support tags of <= 4 bytes (the specification defines only 1 and 2-byte tags) */ return -1; } one_byte = tvb_get_guint8(tvb, offset); _tag = _tag << 8 | (one_byte&0x7F); offset++; } while (one_byte & 0x80); } tag_ti = proto_tree_add_uint_format(tree, hf_zvt_tlv_tag, tvb, offset_start, offset-offset_start, _tag, "Tag: %s (0x%x)", val_to_str_ext_const(_tag, &tlv_tags_ext, "unknown"), _tag); tag_tree = proto_item_add_subtree(tag_ti, ett_zvt_tlv_tag); proto_tree_add_item(tag_tree, hf_zvt_tlv_tag_class, tvb, offset_start, 1, ENC_BIG_ENDIAN); proto_tree_add_item(tag_tree, hf_zvt_tlv_tag_type, tvb, offset_start, 1, ENC_BIG_ENDIAN); if (tag) *tag = _tag; return offset-offset_start; } static gint dissect_zvt_tlv_len(tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hf, guint16 *len) { guint16 _len; gint len_bytes = 1; _len = tvb_get_guint8(tvb, offset); if (_len & 0x80) { if ((_len & 0x03) == 1) { len_bytes++; _len = tvb_get_guint8(tvb, offset+1); } else if ((_len & 0x03) == 2) { len_bytes += 2; _len = tvb_get_ntohs(tvb, offset+1); } else { /* XXX - expert info */ return -1; } } proto_tree_add_uint(tree, hf, tvb, offset, len_bytes, _len); if (len) *len = _len; return len_bytes; } static gint dissect_zvt_tlv_seq(tvbuff_t *tvb, gint offset, guint16 seq_max_len, packet_info *pinfo, proto_tree *tree, tlv_seq_info_t *seq_info) { gint offset_start; proto_item *dat_obj_it; proto_tree *dat_obj_tree; gint tag_len; guint32 tag; gint data_len_bytes; guint16 data_len = 0; tlv_info_t *ti; gint ret; if (!seq_info) { seq_info = wmem_new(pinfo->pool, tlv_seq_info_t); /* by default, text lines are using the CP437 charset there's an object to change the encoding (XXX - does this change apply only to the current message?) */ seq_info->txt_enc = ENC_CP437; } offset_start = offset; while (offset-offset_start < seq_max_len) { dat_obj_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zvt_tlv_dat_obj, &dat_obj_it, "TLV data object"); tag_len = dissect_zvt_tlv_tag(tvb, offset, pinfo, dat_obj_tree, &tag); if (tag_len <= 0) return offset - offset_start; offset += tag_len; data_len_bytes = dissect_zvt_tlv_len(tvb, offset, pinfo, dat_obj_tree,hf_zvt_tlv_len, &data_len); if (data_len_bytes > 0) offset += data_len_bytes; /* set the sequence length now that we know it this way, we don't have to put the whole switch statement under if (data_len > 0) */ proto_item_set_len(dat_obj_it, tag_len + data_len_bytes + data_len); if (data_len == 0) continue; ti = (tlv_info_t *)g_hash_table_lookup( tlv_table, GUINT_TO_POINTER((guint)tag)); if (ti && ti->dissect_payload) { ret = ti->dissect_payload( tvb, offset, (gint)data_len, pinfo, dat_obj_tree, seq_info); if (ret <= 0) { /* XXX - expert info */ } } offset += data_len; } return offset - offset_start; } static gint dissect_zvt_tlv_container(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { gint offset_start; gint total_len_bytes, seq_len; guint16 seq_max_len = 0; offset_start = offset; total_len_bytes = dissect_zvt_tlv_len(tvb, offset, pinfo, tree, hf_zvt_tlv_total_len, &seq_max_len); if (total_len_bytes > 0) offset += total_len_bytes; seq_len = dissect_zvt_tlv_seq( tvb, offset, seq_max_len, pinfo, tree, NULL); if (seq_len > 0) offset += seq_len; return offset - offset_start; } static inline gint dissect_zvt_res_code( tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree) { proto_tree_add_item(tree, hf_zvt_res_code, tvb, offset, 1, ENC_BIG_ENDIAN); return 1; } static inline gint dissect_zvt_cc( tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree) { proto_tree_add_item(tree, hf_zvt_cc, tvb, offset, 2, ENC_BIG_ENDIAN); return 2; } static inline gint dissect_zvt_card_type( tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree) { proto_tree_add_item(tree, hf_zvt_card_type, tvb, offset, 1, ENC_BIG_ENDIAN); return 1; } static inline gint dissect_zvt_terminal_id( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { const gchar *str = tvb_bcd_dig_to_str_be(pinfo->pool, tvb, offset, 4, NULL, FALSE); proto_tree_add_string(tree, hf_zvt_terminal_id, tvb, offset, 4, str); return 4; } static inline gint dissect_zvt_amount( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { const gchar *str = tvb_bcd_dig_to_str_be(pinfo->pool, tvb, offset, 6, NULL, FALSE); proto_tree_add_uint64(tree, hf_zvt_amount, tvb, offset, 6, g_ascii_strtoll(str,NULL,10)); return 6; } static inline gint dissect_zvt_time( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { const gchar *str = tvb_bcd_dig_to_str_be(pinfo->pool, tvb, offset, 3, NULL, FALSE); gchar *fstr = (char *)wmem_alloc(pinfo->pool, 9); fstr[0] = str[0]; fstr[1] = str[1]; fstr[2] = ':'; fstr[3] = str[2]; fstr[4] = str[3]; fstr[5] = ':'; fstr[6] = str[4]; fstr[7] = str[5]; fstr[8] = 0; proto_tree_add_string(tree, hf_zvt_time, tvb, offset, 3, fstr); return 3; } static inline gint dissect_zvt_date( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { const gchar *str = tvb_bcd_dig_to_str_be(pinfo->pool, tvb, offset, 2, NULL, FALSE); gchar *fstr = (char *)wmem_alloc(pinfo->pool, 6); fstr[0] = str[0]; fstr[1] = str[1]; fstr[2] = '/'; fstr[3] = str[2]; fstr[4] = str[3]; fstr[5] = 0; proto_tree_add_string(tree, hf_zvt_date, tvb, offset, 2, fstr); return 2; } static inline gint dissect_zvt_expiry_date( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { const gchar *str = tvb_bcd_dig_to_str_be(pinfo->pool, tvb, offset, 2, NULL, FALSE); gchar *fstr = (char *)wmem_alloc(pinfo->pool, 6); fstr[0] = str[0]; fstr[1] = str[1]; fstr[2] = '/'; fstr[3] = str[2]; fstr[4] = str[3]; fstr[5] = 0; proto_tree_add_string(tree, hf_zvt_expiry_date, tvb, offset, 2, fstr); return 2; } static inline gint dissect_zvt_trace_number( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { const gchar *str = tvb_bcd_dig_to_str_be(pinfo->pool, tvb, offset, 3, NULL, FALSE); proto_tree_add_string(tree, hf_zvt_trace_number, tvb, offset, 3, str); return 3; } static inline gint dissect_zvt_card_number( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { guint8 tens = tvb_get_guint8(tvb, offset) & 0x0f; guint8 ones = tvb_get_guint8(tvb, offset + 1) & 0x0f; guint8 length = tens * 10 + ones; const gchar *str = tvb_bcd_dig_to_str_be(pinfo->pool, tvb, offset + 2, length, NULL, FALSE); proto_tree_add_string(tree, hf_zvt_card_number, tvb, offset + 2, length, str); return 2 + length; } static inline gint dissect_zvt_card_name( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { guint8 tens = tvb_get_guint8(tvb, offset) & 0x0f; guint8 ones = tvb_get_guint8(tvb, offset + 1) & 0x0f; guint8 length = tens * 10 + ones; const guint8 * str = NULL; proto_tree_add_item_ret_string(tree, hf_zvt_card_name, tvb, offset + 2, length, ENC_ASCII, pinfo->pool, &str); return 2 + length; } static inline gint dissect_zvt_additional_data( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { guint8 hundrets = tvb_get_guint8(tvb, offset) & 0x0f; guint8 tens = tvb_get_guint8(tvb, offset + 1) & 0x0f; guint8 ones = tvb_get_guint8(tvb, offset + 2) & 0x0f; guint16 length = hundrets * 100 + tens * 10 + ones; const guint8 * str = NULL; proto_tree_add_item_ret_string(tree, hf_zvt_additional_data, tvb, offset + 3, length, ENC_ASCII, pinfo->pool, &str); return 3 + length; } /* dissect one "bitmap", i.e BMP and the corresponding data */ static gint dissect_zvt_bitmap(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { gint offset_start; guint8 bmp; proto_item *bitmap_it; proto_tree *bitmap_tree; bitmap_info_t *bi; gint ret; offset_start = offset; bmp = tvb_get_guint8(tvb, offset); if (try_val_to_str(bmp, bitmap) == NULL) return -1; bitmap_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zvt_bitmap, &bitmap_it, "Bitmap"); proto_tree_add_item(bitmap_tree, hf_zvt_bmp, tvb, offset, 1, ENC_BIG_ENDIAN); proto_item_append_text(bitmap_it, ": %s", val_to_str_const(bmp, bitmap, "unknown")); offset++; bi = (bitmap_info_t *)g_hash_table_lookup( bitmap_table, GUINT_TO_POINTER((guint)bmp)); if (bi) { if (bi->dissect_payload) { ret = bi->dissect_payload(tvb, offset, pinfo, bitmap_tree); if (ret >= 0) offset += ret; } else if (bi->payload_len != BMP_PLD_LEN_UNKNOWN) offset += bi->payload_len; } proto_item_set_len(bitmap_it, offset - offset_start); return offset - offset_start; } static void dissect_zvt_int_status(tvbuff_t *tvb, gint offset, guint16 len, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans) { proto_tree_add_item(tree, hf_zvt_int_status, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; if (len > 1) offset++; /* skip "timeout" */ if (len > 2) dissect_zvt_bitmap_seq(tvb, offset, len-2, pinfo, tree, zvt_trans); } static void dissect_zvt_reg(tvbuff_t *tvb, gint offset, guint16 len _U_, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans) { proto_tree_add_item(tree, hf_zvt_pwd, tvb, offset, 3, ENC_NA); offset += 3; proto_tree_add_item(tree, hf_zvt_reg_cfg, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; /* check for the optional part CC|0x03|service byte|TLV */ if (tvb_captured_length_remaining(tvb, offset)>=2) { offset += dissect_zvt_cc(tvb, offset, pinfo, tree); } /* it's ok if the remaining len is 0 */ dissect_zvt_bitmap_seq(tvb, offset, tvb_captured_length_remaining(tvb, offset), pinfo, tree, zvt_trans); } static void dissect_zvt_init( tvbuff_t *tvb, gint offset, guint16 len _U_, packet_info *pinfo _U_, proto_tree *tree, zvt_transaction_t *zvt_trans _U_) { proto_tree_add_item(tree, hf_zvt_pwd, tvb, offset, 3, ENC_NA); } static void dissect_zvt_abort(tvbuff_t *tvb, gint offset, guint16 len _U_, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans) { proto_tree_add_item(tree, hf_zvt_res_code, tvb, offset, 1, ENC_NA); offset += 1; dissect_zvt_bitmap_seq(tvb, offset, tvb_captured_length_remaining(tvb, offset), pinfo, tree, zvt_trans); } static void dissect_zvt_pass_bitmap_seq(tvbuff_t *tvb, gint offset, guint16 len _U_, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans) { proto_tree_add_item(tree, hf_zvt_pwd, tvb, offset, 3, ENC_NA); offset += 3; dissect_zvt_bitmap_seq(tvb, offset, tvb_captured_length_remaining(tvb, offset), pinfo, tree, zvt_trans); } /* dissect a sequence of bitmaps (which may be the complete APDU payload or a part of it) */ static void dissect_zvt_bitmap_seq(tvbuff_t *tvb, gint offset, guint16 len, packet_info *pinfo, proto_tree *tree, zvt_transaction_t *zvt_trans _U_) { gint offset_start, ret; offset_start = offset; while (offset - offset_start < len) { ret = dissect_zvt_bitmap(tvb, offset, pinfo, tree); if (ret <=0) break; offset += ret; } } static void zvt_set_addresses(packet_info *pinfo, zvt_transaction_t *zvt_trans) { apdu_info_t *ai; zvt_direction_t dir = DIRECTION_UNKNOWN; if (!zvt_trans) return; ai = (apdu_info_t *)g_hash_table_lookup( apdu_table, GUINT_TO_POINTER((guint)zvt_trans->ctrl)); if (!ai) return; if (zvt_trans->rqst_frame == pinfo->num) { dir = ai->direction; } else if (zvt_trans->resp_frame == pinfo->num) { if (ai->direction == DIRECTION_ECR_TO_PT) dir = DIRECTION_PT_TO_ECR; else dir = DIRECTION_ECR_TO_PT; } if (dir == DIRECTION_ECR_TO_PT) { set_address(&pinfo->src, AT_STRINGZ, (int)strlen(ADDR_ECR)+1, ADDR_ECR); set_address(&pinfo->dst, AT_STRINGZ, (int)strlen(ADDR_PT)+1, ADDR_PT); } else if (dir == DIRECTION_PT_TO_ECR) { set_address(&pinfo->src, AT_STRINGZ, (int)strlen(ADDR_PT)+1, ADDR_PT); set_address(&pinfo->dst, AT_STRINGZ, (int)strlen(ADDR_ECR)+1, ADDR_ECR); } } /* dissect a ZVT APDU return -1 if we don't have a complete APDU, 0 if the packet is no ZVT APDU or the length of the ZVT APDU if all goes well */ static int dissect_zvt_apdu(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { gint offset_start; guint8 len_bytes = 1; /* number of bytes for the len field */ guint16 ctrl = ZVT_CTRL_NONE; guint16 len; guint8 byte; proto_item *apdu_it; proto_tree *apdu_tree; apdu_info_t *ai; zvt_transaction_t *zvt_trans = NULL; proto_item *it; offset_start = offset; if (tvb_captured_length_remaining(tvb, offset) < ZVT_APDU_MIN_LEN) return -1; len = tvb_get_guint8(tvb, offset+2); if (len == 0xFF) { len_bytes = 3; len = tvb_get_letohs(tvb, offset+3); } /* ZVT_APDU_MIN_LEN already includes one length byte */ if (tvb_captured_length_remaining(tvb, offset) < ZVT_APDU_MIN_LEN + (len_bytes-1) + len) { return -1; } apdu_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_zvt_apdu, &apdu_it, "ZVT APDU"); byte = tvb_get_guint8(tvb, offset); if (byte == CCRC_POS || byte == CCRC_NEG) { proto_tree_add_item(apdu_tree, hf_zvt_ccrc, tvb, offset, 1, ENC_BIG_ENDIAN); col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, byte == CCRC_POS ? "Positive completion" : "Negative completion"); offset++; proto_tree_add_item(apdu_tree, hf_zvt_aprc, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; zvt_trans = (zvt_transaction_t *)wmem_tree_lookup32_le( transactions, pinfo->num); if (zvt_trans && zvt_trans->resp_frame==0) { /* there's a pending request, this packet is the response */ zvt_trans->resp_frame = pinfo->num; } if (zvt_trans && zvt_trans->resp_frame == pinfo->num) { it = proto_tree_add_uint(apdu_tree, hf_zvt_resp_to, NULL, 0, 0, zvt_trans->rqst_frame); proto_item_set_generated(it); } } else { ctrl = tvb_get_ntohs(tvb, offset); proto_tree_add_item(apdu_tree, hf_zvt_ctrl, tvb, offset, 2, ENC_BIG_ENDIAN); col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, val_to_str(ctrl, ctrl_field, "Unknown 0x%x")); offset += 2; if (PINFO_FD_VISITED(pinfo)) { zvt_trans = (zvt_transaction_t *)wmem_tree_lookup32( transactions, pinfo->num); if (zvt_trans && zvt_trans->rqst_frame==pinfo->num && zvt_trans->resp_frame!=0) { it = proto_tree_add_uint(apdu_tree, hf_zvt_resp_in, NULL, 0, 0, zvt_trans->resp_frame); proto_item_set_generated(it); } } else { zvt_trans = wmem_new(wmem_file_scope(), zvt_transaction_t); zvt_trans->rqst_frame = pinfo->num; zvt_trans->resp_frame = 0; zvt_trans->ctrl = ctrl; wmem_tree_insert32(transactions, zvt_trans->rqst_frame, (void *)zvt_trans); } } ai = (apdu_info_t *)g_hash_table_lookup( apdu_table, GUINT_TO_POINTER((guint)ctrl)); it = proto_tree_add_uint(apdu_tree, hf_zvt_len, tvb, offset, len_bytes, len); if (ai && ai->min_len_field!=LEN_FIELD_ANY && len<ai->min_len_field) { expert_add_info_format(pinfo, it, &ei_invalid_apdu_len, "The APDU length is too short. The minimum length is %d", ai->min_len_field); } offset += len_bytes; zvt_set_addresses(pinfo, zvt_trans); if (len > 0) { if (ai && ai->dissect_payload) ai->dissect_payload(tvb, offset, len, pinfo, apdu_tree, zvt_trans); else proto_tree_add_item(apdu_tree, hf_zvt_data, tvb, offset, len, ENC_NA); } offset += len; proto_item_set_len(apdu_it, offset - offset_start); return offset - offset_start; } static gint dissect_zvt_serial(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) { gint offset_start; int apdu_len; offset_start = offset; if (tvb_reported_length_remaining(tvb, offset) == 1) { proto_tree_add_item(tree, hf_zvt_serial_char, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; /* ACK or NAK byte */ return offset - offset_start; } proto_tree_add_item(tree, hf_zvt_serial_char, tvb, offset, 1, ENC_BIG_ENDIAN); offset ++; /* DLE byte */ proto_tree_add_item(tree, hf_zvt_serial_char, tvb, offset, 1, ENC_BIG_ENDIAN); offset ++; /* STX byte */ apdu_len = dissect_zvt_apdu(tvb, offset, pinfo, tree); if (apdu_len < 0) return apdu_len; offset += apdu_len; proto_tree_add_item(tree, hf_zvt_serial_char, tvb, offset, 1, ENC_BIG_ENDIAN); offset ++; /* DLE byte */ proto_tree_add_item(tree, hf_zvt_serial_char, tvb, offset, 1, ENC_BIG_ENDIAN); offset ++; /* ETX byte */ /* the CRC is little endian, the other fields are big endian */ proto_tree_add_item(tree, hf_zvt_crc, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; /* CRC bytes */ return offset - offset_start; } static gboolean valid_ctrl_field(tvbuff_t *tvb, gint offset) { if (tvb_get_guint8(tvb, offset) == 0x80 || tvb_get_guint8(tvb, offset) == 0x84 || try_val_to_str_ext(tvb_get_ntohs(tvb, offset), &ctrl_field_ext)) { return TRUE; } return FALSE; } static int dissect_zvt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { gint zvt_len = 0; proto_item *zvt_ti; proto_tree *zvt_tree; gboolean is_serial; /* serial or TCP/IP protocol? */ if (tvb_captured_length(tvb) == 1 && (tvb_get_guint8(tvb, 0) == ACK || tvb_get_guint8(tvb, 0) == NAK)) { is_serial = TRUE; } else if (tvb_captured_length(tvb) >= 2 && tvb_get_guint8(tvb, 0) == DLE && tvb_get_guint8(tvb, 1) == STX) { is_serial = TRUE; } else if (tvb_captured_length(tvb) >= ZVT_APDU_MIN_LEN && valid_ctrl_field(tvb, 0)) { is_serial = FALSE; } else return 0; col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZVT"); col_clear(pinfo->cinfo, COL_INFO); zvt_ti = proto_tree_add_protocol_format(tree, proto_zvt, tvb, 0, -1, "ZVT Kassenschnittstelle: %s", is_serial ? "Serial Transport Protocol" : "Transport Protocol TCP/IP"); zvt_tree = proto_item_add_subtree(zvt_ti, ett_zvt); if (is_serial) zvt_len = dissect_zvt_serial(tvb, 0, pinfo, zvt_tree); else zvt_len = dissect_zvt_apdu(tvb, 0, pinfo, zvt_tree); /* zvt_len < 0 means that we have an incomplete APDU we can't do any reassembly here, so let's consume all bytes */ if (zvt_len < 0) zvt_len = tvb_captured_length(tvb); proto_item_set_len(zvt_ti, zvt_len); return zvt_len; } static guint get_zvt_message_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_) { guint len = tvb_get_guint8(tvb, offset+2); if (len == 0xFF) if (tvb_captured_length_remaining(tvb, offset) >= 5) len = tvb_get_letohs(tvb, offset+3) + 5; else len = 0; else len += 3; return len; } static int dissect_zvt_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { tcp_dissect_pdus(tvb, pinfo, tree, TRUE, ZVT_APDU_MIN_LEN, get_zvt_message_len, dissect_zvt, data); return tvb_captured_length(tvb); } static void zvt_shutdown(void) { g_hash_table_destroy(tlv_table); g_hash_table_destroy(apdu_table); g_hash_table_destroy(bitmap_table); } void proto_register_zvt(void) { guint i; expert_module_t* expert_zvt; static gint *ett[] = { &ett_zvt, &ett_zvt_apdu, &ett_zvt_bitmap, &ett_zvt_tlv_dat_obj, &ett_zvt_tlv_subseq, &ett_zvt_tlv_tag, &ett_zvt_tlv_receipt }; static hf_register_info hf[] = { { &hf_zvt_resp_in, { "Response In", "zvt.resp_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zvt_resp_to, { "Response To", "zvt.resp_to", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_zvt_serial_char, { "Serial character", "zvt.serial_char", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &serial_char_ext, 0, NULL, HFILL } }, { &hf_zvt_crc, { "CRC", "zvt.crc", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_zvt_ctrl, { "Control-field", "zvt.control_field", FT_UINT16, BASE_HEX|BASE_EXT_STRING, &ctrl_field_ext, 0, NULL, HFILL } }, { &hf_zvt_ccrc, { "CCRC", "zvt.ccrc", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_zvt_aprc, { "APRC", "zvt.aprc", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_zvt_len, { "Length-field", "zvt.length_field", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zvt_data, { "APDU data", "zvt.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_int_status, { "Intermediate status", "zvt.int_status", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_zvt_pwd, { "Password", "zvt.password", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_reg_cfg, { "Config byte", "zvt.reg.config_byte", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_zvt_res_code, { "Result Code", "zvt.result_code", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL } }, /* we don't call the filter zvt.reg.cc, the currency code appears in several apdus */ { &hf_zvt_cc, { "Currency Code", "zvt.cc", FT_UINT16, BASE_HEX, VALS(zvt_cc), 0, NULL, HFILL } }, { &hf_zvt_card_type, { "Card Type", "zvt.card_type", FT_UINT8, BASE_DEC|BASE_EXT_STRING, &card_type_ext, 0, NULL, HFILL } }, { &hf_zvt_terminal_id, { "Terminal ID", "zvt.terminal_id", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_amount, { "Amount", "zvt.amount", FT_UINT48, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zvt_time, { "Time", "zvt.time", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_date, { "Date", "zvt.date", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_bmp, { "BMP", "zvt.bmp", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &bitmap_ext, 0, NULL, HFILL } }, { &hf_zvt_tlv_total_len, { "Total length", "zvt.tlv.total_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zvt_tlv_tag, { "Tag", "zvt.tlv.tag", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &tlv_tags_ext, 0, NULL, HFILL } }, { &hf_zvt_tlv_tag_class, { "Class", "zvt.tlv.tag.class", FT_UINT8, BASE_HEX|BASE_EXT_STRING, &tlv_tag_class_ext, 0xC0, NULL, HFILL } }, { &hf_zvt_tlv_tag_type, { "Type", "zvt.tlv.tag.type", FT_BOOLEAN, 8, TFS(&tfs_constructed_primitive), 0x20, NULL, HFILL } }, { &hf_zvt_tlv_len, { "Length", "zvt.tlv.len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_zvt_text_lines_line, { "Text line", "zvt.tlv.text_lines.line", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_permitted_cmd, { "Permitted command", "zvt.tlv.permitted_command", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_zvt_receipt_type, { "Receipt type", "zvt.tlv.receipt_type", FT_UINT16, BASE_HEX, VALS(receipt_type), 0, NULL, HFILL } }, { &hf_zvt_receipt_parameter_positive_customer, { "Positive customer receipt", "zvt.tlv.receipt_parameter.positive_customer", FT_BOOLEAN, 8, TFS(&tfs_required_not_required), 0x80, NULL, HFILL } }, { &hf_zvt_receipt_parameter_negative_customer, { "Negative customer receipt", "zvt.tlv.receipt_parameter.negative_customer", FT_BOOLEAN, 8, TFS(&tfs_required_not_required), 0x40, NULL, HFILL } }, { &hf_zvt_receipt_parameter_positive_merchant, { "Positive merchant receipt", "zvt.tlv.receipt_parameter.positive_customer", FT_BOOLEAN, 8, TFS(&tfs_required_not_required), 0x20, NULL, HFILL } }, { &hf_zvt_receipt_parameter_negative_merchant, { "Negative merchant receipt", "zvt.tlv.receipt_parameter.negative_customer", FT_BOOLEAN, 8, TFS(&tfs_required_not_required), 0x10, NULL, HFILL } }, { &hf_zvt_receipt_parameter_customer_before_merchant, { "Customer receipt should be sent before the merchant receipt", "zvt.tlv.receipt_parameter.customer_first", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x08, NULL, HFILL } }, { &hf_zvt_receipt_parameter_print_short_receipt, { "Print short receipt", "zvt.tlv.receipt_parameter.short_receipt", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x04, NULL, HFILL } }, { &hf_zvt_receipt_parameter_no_product_data, { "Do not print product data (from BMP 3C) on the receipt", "zvt.tlv.receipt_parameter.no_product", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x02, NULL, HFILL } }, { &hf_zvt_receipt_parameter_ecr_as_printer, { "Use ECR as printer", "zvt.tlv.receipt_parameter.ecr_as_printer", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x01, NULL, HFILL } }, { &hf_zvt_receipt_parameter, { "Receipt parameter", "zvt.tlv.receipt_parameter", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zvt_trace_number, { "Trace number", "zvt.trace_number", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_expiry_date, { "Expiry date", "zvt.expiry_date", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_card_number, { "Card number", "zvt.card_number", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_card_name, { "Card name", "zvt.card_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_additional_data, { "Additional data", "zvt.additional_data", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_characters_per_line, { "Characters per line", "zvt.characters_per_line", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL } }, { &hf_zvt_receipt_info, { "Receipt information", "zvt.tlv.receipt_info", FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL } }, { &hf_zvt_receipt_info_positive, { "Positive receipt (authorised)", "zvt.tlv.receipt_info.positive", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x01, NULL, HFILL } }, { &hf_zvt_receipt_info_signature, { "Receipt contains a signature", "zvt.tlv.receipt_info.signature", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x02, NULL, HFILL } }, { &hf_zvt_receipt_info_negative, { "Negative receipt (aborted, rejected)", "zvt.tlv.receipt_info.negative", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x04, NULL, HFILL } }, { &hf_zvt_receipt_info_printing, { "Printing is mandatory", "zvt.tlv.receipt_info.printing", FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x80, NULL, HFILL } } }; static ei_register_info ei[] = { { &ei_invalid_apdu_len, { "zvt.apdu_len.invalid", PI_PROTOCOL, PI_WARN, "The APDU length is too short. The minimum length is %d", EXPFILL }} }; apdu_table = g_hash_table_new(g_direct_hash, g_direct_equal); for(i=0; i<array_length(apdu_info); i++) { g_hash_table_insert(apdu_table, GUINT_TO_POINTER((guint)apdu_info[i].ctrl), (gpointer)(&apdu_info[i])); } bitmap_table = g_hash_table_new(g_direct_hash, g_direct_equal); for(i=0; i<array_length(bitmap_info); i++) { g_hash_table_insert(bitmap_table, GUINT_TO_POINTER((guint)bitmap_info[i].bmp), (gpointer)(&bitmap_info[i])); } tlv_table = g_hash_table_new(g_direct_hash, g_direct_equal); for(i=0; i<array_length(tlv_info); i++) { g_hash_table_insert(tlv_table, GUINT_TO_POINTER((guint)tlv_info[i].tag), (gpointer)(&tlv_info[i])); } proto_zvt = proto_register_protocol("ZVT Kassenschnittstelle", "ZVT", "zvt"); proto_register_field_array(proto_zvt, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_zvt = expert_register_protocol(proto_zvt); expert_register_field_array(expert_zvt, ei, array_length(ei)); transactions = wmem_tree_new_autoreset(wmem_epan_scope(), wmem_file_scope()); /* register by name to allow mapping to a user DLT */ register_dissector("zvt", dissect_zvt, proto_zvt); register_shutdown_routine(zvt_shutdown); } void proto_reg_handoff_zvt(void) { dissector_handle_t zvt_tcp_handle; zvt_tcp_handle = create_dissector_handle(dissect_zvt_tcp, proto_zvt); dissector_add_for_decode_as_with_preference("tcp.port", zvt_tcp_handle); } /* * Editor modelines - https://www.wireshark.org/tools/modelines.html * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */
wireshark/epan/dissectors/README.X11
The X11 dissector generator is no longer run automatically. To run the dissector generator, you will need perl 5.10 and the XML::Twig module from CPAN. You will also need 'git' to retrieve the lastest protocol descriptions. Once you have those, you also need the XML protocol descriptions. In the epan/dissectors directory, run the following commands: git clone git://anongit.freedesktop.org/xcb/proto xcbproto git clone git://anongit.freedesktop.org/git/mesa/mesa As of this writing, mesa will provide: src/mapi/glapi/gen/gl_API.xml and xcbproto provides: bigreq.xml composite.xml damage.xml dpms.xml dri2.xml dri3.xml ge.xml glx.xml present.xml randr.xml record.xml render.xml res.xml screensaver.xml shape.xml shm.xml sync.xml xc_misc.xml xevie.xml xf86dri.xml xf86vidmode.xml xfixes.xml xinerama.xml xinput.xml xkb.xml xprint.xml xproto.xml (ignored) xselinux.xml xtest.xml xv.xml xvmc.xml Or, if you have already cloned those repositories, "git pull" each one to bring it up to date. Please be aware that the Mesa repository is rather large; it is slightly more than 200MB as of this writing. Then build the x11-dissector target; for example, run the command make x11-dissector if you're using Make as your build tool or ninja x11-dissector if you're using Ninja as your build tool. This will automatically run process-x11-fields.pl (for the core protocol definitions), and then it will run process-x11-xcb.pl to process the XML descriptions from XCB and Mesa to generate the extension dissectors. Once this is complete, compile wireshark as usual.
C/C++
wireshark/epan/dissectors/read_keytab_file.h
/* read_keytab_file.h * Routines for reading Kerberos keytab files * Copyright 2007, Anders Broman <[email protected]> * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __READ_KEYTAB_FILE_H #define __READ_KEYTAB_FILE_H #include "ws_symbol_export.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ WS_DLL_PUBLIC void read_keytab_file(const char *); WS_DLL_PUBLIC void read_keytab_file_from_preferences(void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __READ_KEYTAB_FILE_H */
C
wireshark/epan/dissectors/usb.c
/* usb.c * USB vendor id and product ids * This file was generated by running python ./tools/make-usb.py * Don't change it directly. * * Copyright 2012, Michal Labedzki for Tieto Corporation * * Other values imported from libghoto2/camlibs/ptp2/library.c, music-players.h * * Copyright (C) 2001-2005 Mariusz Woloszyn <[email protected]> * Copyright (C) 2003-2013 Marcus Meissner <[email protected]> * Copyright (C) 2005 Hubert Figuiere <[email protected]> * Copyright (C) 2009 Axel Waggershauser <[email protected]> * Copyright (C) 2005-2007 Richard A. Low <[email protected]> * Copyright (C) 2005-2012 Linus Walleij <[email protected]> * Copyright (C) 2007 Ted Bullock * Copyright (C) 2012 Sony Mobile Communications AB * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* * XXX We should probably parse a USB ID file at program start instead * of generating this file. */ #include "config.h" #include <epan/packet.h> static const value_string usb_vendors_vals[] = { { 0x0001, "Fry's Electronics" }, { 0x0002, "Ingram" }, { 0x0003, "Club Mac" }, { 0x0004, "Nebraska Furniture Mart" }, { 0x0011, "Unknown" }, { 0x0040, "Anyware Corporation" }, { 0x0042, "DMT" }, { 0x0053, "Planex" }, { 0x0078, "Microntek" }, { 0x0079, "DragonRise Inc." }, { 0x0080, "Unknown" }, { 0x0085, "Boeye Technology Co., Ltd." }, { 0x0102, "miniSTREAK" }, { 0x0105, "Trust International B.V." }, { 0x0127, "IBP" }, { 0x0145, "Unknown" }, { 0x017c, "MLK" }, { 0x0200, "TP-Link" }, { 0x0204, "Chipsbank Microelectronics Co., Ltd" }, { 0x0218, "Hangzhou Worlde" }, { 0x0231, "Sonuus Limited" }, { 0x02ad, "HUMAX Co., Ltd." }, { 0x0303, "Mini Automation Controller" }, { 0x0324, "OCZ Technology Inc" }, { 0x0325, "OCZ Technology Inc" }, { 0x0386, "LTS" }, { 0x03c3, "ZWO" }, { 0x03d9, "Shenzhen Sinote Tech-Electron Co., Ltd" }, { 0x03da, "Bernd Walter Computer Technology" }, { 0x03e7, "Intel" }, { 0x03e8, "EndPoints, Inc." }, { 0x03e9, "Thesys Microelectronics" }, { 0x03ea, "Data Broadcasting Corp." }, { 0x03eb, "Atmel Corp." }, { 0x03ec, "Iwatsu America, Inc." }, { 0x03ed, "Mitel Corp." }, { 0x03ee, "Mitsumi" }, { 0x03f0, "HP, Inc" }, { 0x03f1, "Genoa Technology" }, { 0x03f2, "Oak Technology, Inc." }, { 0x03f3, "Adaptec, Inc." }, { 0x03f4, "Diebold, Inc." }, { 0x03f5, "Siemens Electromechanical" }, { 0x03f8, "Epson Imaging Technology Center" }, { 0x03f9, "KeyTronic Corp." }, { 0x03fb, "OPTi, Inc." }, { 0x03fc, "Elitegroup Computer Systems" }, { 0x03fd, "Xilinx, Inc." }, { 0x03fe, "Farallon Comunications" }, { 0x0400, "National Semiconductor Corp." }, { 0x0401, "National Registry, Inc." }, { 0x0402, "ALi Corp." }, { 0x0403, "Future Technology Devices International, Ltd" }, { 0x0404, "NCR Corp." }, { 0x0405, "Synopsys, Inc." }, { 0x0406, "Fujitsu-ICL Computers" }, { 0x0407, "Fujitsu Personal Systems, Inc." }, { 0x0408, "Quanta Computer, Inc." }, { 0x0409, "NEC Corp." }, { 0x040a, "Kodak Co." }, { 0x040b, "Weltrend Semiconductor" }, { 0x040c, "VTech Computers, Ltd" }, { 0x040d, "VIA Technologies, Inc." }, { 0x040e, "MCCI" }, { 0x040f, "Echo Speech Corp." }, { 0x0411, "BUFFALO INC. (formerly MelCo., Inc.)" }, { 0x0412, "Award Software International" }, { 0x0413, "Leadtek Research, Inc." }, { 0x0414, "Giga-Byte Technology Co., Ltd" }, { 0x0416, "Winbond Electronics Corp." }, { 0x0417, "Symbios Logic" }, { 0x0418, "AST Research" }, { 0x0419, "Samsung Info. Systems America, Inc." }, { 0x041a, "Phoenix Technologies, Ltd" }, { 0x041b, "d'TV" }, { 0x041d, "S3, Inc." }, { 0x041e, "Creative Technology, Ltd" }, { 0x041f, "LCS Telegraphics" }, { 0x0420, "Chips and Technologies" }, { 0x0421, "Nokia Mobile Phones" }, { 0x0422, "ADI Systems, Inc." }, { 0x0423, "Computer Access Technology Corp." }, { 0x0424, "Microchip Technology, Inc. (formerly SMSC)" }, { 0x0425, "Motorola Semiconductors HK, Ltd" }, { 0x0426, "Integrated Device Technology, Inc." }, { 0x0427, "Motorola Electronics Taiwan, Ltd" }, { 0x0428, "Advanced Gravis Computer Tech, Ltd" }, { 0x0429, "Cirrus Logic" }, { 0x042a, "Ericsson Austrian, AG" }, { 0x042b, "Intel Corp." }, { 0x042c, "Innovative Semiconductors, Inc." }, { 0x042d, "Micronics" }, { 0x042e, "Acer, Inc." }, { 0x042f, "Molex, Inc." }, { 0x0430, "Fujitsu Component Limited" }, { 0x0431, "Itac Systems, Inc." }, { 0x0432, "Unisys Corp." }, { 0x0433, "Alps Electric, Inc." }, { 0x0434, "Samsung Info. Systems America, Inc." }, { 0x0435, "Hyundai Electronics America" }, { 0x0436, "Taugagreining HF" }, { 0x0437, "Framatome Connectors USA" }, { 0x0438, "Advanced Micro Devices, Inc." }, { 0x0439, "Voice Technologies Group" }, { 0x043d, "Lexmark International, Inc." }, { 0x043e, "LG Electronics USA, Inc." }, { 0x043f, "RadiSys Corp." }, { 0x0440, "Eizo Nanao Corp." }, { 0x0441, "Winbond Systems Lab." }, { 0x0442, "Ericsson, Inc." }, { 0x0443, "Gateway, Inc." }, { 0x0445, "Lucent Technologies, Inc." }, { 0x0446, "NMB Technologies Corp." }, { 0x0447, "Momentum Microsystems" }, { 0x0449, "Duta Multi Robotik" }, { 0x044a, "Shamrock Tech. Co., Ltd" }, { 0x044b, "WSI" }, { 0x044c, "CCL/ITRI" }, { 0x044d, "Siemens Nixdorf AG" }, { 0x044e, "Alps Electric Co., Ltd" }, { 0x044f, "ThrustMaster, Inc." }, { 0x0450, "DFI, Inc." }, { 0x0451, "Texas Instruments, Inc." }, { 0x0452, "Mitsubishi Electronics America, Inc." }, { 0x0453, "CMD Technology" }, { 0x0454, "Vobis Microcomputer AG" }, { 0x0455, "Telematics International, Inc." }, { 0x0456, "Analog Devices, Inc." }, { 0x0457, "Silicon Integrated Systems Corp." }, { 0x0458, "KYE Systems Corp. (Mouse Systems)" }, { 0x0459, "Adobe Systems, Inc." }, { 0x045a, "SONICblue, Inc." }, { 0x045b, "Hitachi, Ltd" }, { 0x045d, "Nortel Networks, Ltd" }, { 0x045e, "Microsoft Corp." }, { 0x0460, "Ace Cad Enterprise Co., Ltd" }, { 0x0461, "Primax Electronics, Ltd" }, { 0x0463, "MGE UPS Systems" }, { 0x0464, "AMP/Tycoelectronics Corp." }, { 0x0467, "AT&T Paradyne" }, { 0x0468, "Wieson Technologies Co., Ltd" }, { 0x046a, "CHERRY" }, { 0x046b, "American Megatrends, Inc." }, { 0x046c, "Toshiba Corp., Digital Media Equipment" }, { 0x046d, "Logitech, Inc." }, { 0x046e, "Behavior Tech. Computer Corp." }, { 0x046f, "Crystal Semiconductor" }, { 0x0471, "Philips (or NXP)" }, { 0x0472, "Chicony Electronics Co., Ltd" }, { 0x0473, "Sanyo Information Business Co., Ltd" }, { 0x0474, "Sanyo Electric Co., Ltd" }, { 0x0475, "Relisys/Teco Information System" }, { 0x0476, "AESP" }, { 0x0477, "Seagate Technology, Inc." }, { 0x0478, "Connectix Corp." }, { 0x0479, "Advanced Peripheral Laboratories" }, { 0x047a, "Semtech Corp." }, { 0x047b, "Silitek Corp." }, { 0x047c, "Dell Computer Corp." }, { 0x047d, "Kensington" }, { 0x047e, "Agere Systems, Inc. (Lucent)" }, { 0x047f, "Plantronics, Inc." }, { 0x0480, "Toshiba America Inc" }, { 0x0481, "Zenith Data Systems" }, { 0x0482, "Kyocera Corp." }, { 0x0483, "STMicroelectronics" }, { 0x0484, "Specialix" }, { 0x0485, "Nokia Monitors" }, { 0x0486, "ASUS Computers, Inc." }, { 0x0487, "Stewart Connector" }, { 0x0488, "Cirque Corp." }, { 0x0489, "Foxconn / Hon Hai" }, { 0x048a, "S-MOS Systems, Inc." }, { 0x048c, "Alps Electric Ireland, Ltd" }, { 0x048d, "Integrated Technology Express, Inc." }, { 0x048f, "Eicon Tech." }, { 0x0490, "United Microelectronics Corp." }, { 0x0491, "Capetronic" }, { 0x0492, "Samsung SemiConductor, Inc." }, { 0x0493, "MAG Technology Co., Ltd" }, { 0x0495, "ESS Technology, Inc." }, { 0x0496, "Micron Electronics" }, { 0x0497, "Smile International" }, { 0x0498, "Capetronic (Kaohsiung) Corp." }, { 0x0499, "Yamaha Corp." }, { 0x049a, "Gandalf Technologies, Ltd" }, { 0x049b, "Curtis Computer Products" }, { 0x049c, "Acer Advanced Labs, Inc." }, { 0x049d, "VLSI Technology" }, { 0x049f, "Compaq Computer Corp." }, { 0x04a0, "Digital Equipment Corp." }, { 0x04a1, "SystemSoft Corp." }, { 0x04a2, "FirePower Systems" }, { 0x04a3, "Trident Microsystems, Inc." }, { 0x04a4, "Hitachi, Ltd" }, { 0x04a5, "Acer Peripherals Inc. (now BenQ Corp.)" }, { 0x04a6, "Nokia Display Products" }, { 0x04a7, "Visioneer" }, { 0x04a8, "Multivideo Labs, Inc." }, { 0x04a9, "Canon, Inc." }, { 0x04aa, "DaeWoo Telecom, Ltd" }, { 0x04ab, "Chromatic Research" }, { 0x04ac, "Micro Audiometrics Corp." }, { 0x04ad, "Dooin Electronics" }, { 0x04af, "Winnov L.P." }, { 0x04b0, "Nikon Corp." }, { 0x04b1, "Pan International" }, { 0x04b3, "IBM Corp." }, { 0x04b4, "Cypress Semiconductor Corp." }, { 0x04b5, "ROHM LSI Systems USA, LLC" }, { 0x04b6, "Hint Corp." }, { 0x04b7, "Compal Electronics, Inc." }, { 0x04b8, "Seiko Epson Corp." }, { 0x04b9, "Rainbow Technologies, Inc." }, { 0x04ba, "Toucan Systems, Ltd" }, { 0x04bb, "I-O Data Device, Inc." }, { 0x04bd, "Toshiba Electronics Taiwan Corp." }, { 0x04be, "Telia Research AB" }, { 0x04bf, "TDK Corp." }, { 0x04c1, "U.S. Robotics (3Com)" }, { 0x04c2, "Methode Electronics Far East PTE, Ltd" }, { 0x04c3, "Maxi Switch, Inc." }, { 0x04c4, "Lockheed Martin Energy Research" }, { 0x04c5, "Fujitsu, Ltd" }, { 0x04c6, "Toshiba America Electronic Components" }, { 0x04c7, "Micro Macro Technologies" }, { 0x04c8, "Konica Corp." }, { 0x04ca, "Lite-On Technology Corp." }, { 0x04cb, "Fuji Photo Film Co., Ltd" }, { 0x04cc, "ST-Ericsson" }, { 0x04cd, "Tatung Co. Of America" }, { 0x04ce, "ScanLogic Corp." }, { 0x04cf, "Myson Century, Inc." }, { 0x04d0, "Digi International" }, { 0x04d1, "ITT Canon" }, { 0x04d2, "Altec Lansing Technologies" }, { 0x04d3, "VidUS, Inc." }, { 0x04d4, "LSI Logic, Inc." }, { 0x04d5, "Forte Technologies, Inc." }, { 0x04d6, "Mentor Graphics" }, { 0x04d7, "Oki Semiconductor" }, { 0x04d8, "Microchip Technology, Inc." }, { 0x04d9, "Holtek Semiconductor, Inc." }, { 0x04da, "Panasonic (Matsushita)" }, { 0x04db, "Hypertec Pty, Ltd" }, { 0x04dc, "Huan Hsin Holdings, Ltd" }, { 0x04dd, "Sharp Corp." }, { 0x04de, "MindShare, Inc." }, { 0x04df, "Interlink Electronics" }, { 0x04e1, "Iiyama North America, Inc." }, { 0x04e2, "Exar Corp." }, { 0x04e3, "Zilog, Inc." }, { 0x04e4, "ACC Microelectronics" }, { 0x04e5, "Promise Technology" }, { 0x04e6, "SCM Microsystems, Inc." }, { 0x04e7, "Elo TouchSystems" }, { 0x04e8, "Samsung Electronics Co., Ltd" }, { 0x04e9, "PC-Tel, Inc." }, { 0x04ea, "Brooktree Corp." }, { 0x04eb, "Northstar Systems, Inc." }, { 0x04ec, "Tokyo Electron Device, Ltd" }, { 0x04ed, "Annabooks" }, { 0x04ef, "Pacific Electronic International, Inc." }, { 0x04f0, "Daewoo Electronics Co., Ltd" }, { 0x04f1, "Victor Company of Japan, Ltd" }, { 0x04f2, "Chicony Electronics Co., Ltd" }, { 0x04f3, "Elan Microelectronics Corp." }, { 0x04f4, "Harting Elektronik, Inc." }, { 0x04f5, "Fujitsu-ICL Systems, Inc." }, { 0x04f6, "Norand Corp." }, { 0x04f7, "Newnex Technology Corp." }, { 0x04f8, "FuturePlus Systems" }, { 0x04f9, "Brother Industries, Ltd" }, { 0x04fa, "Dallas Semiconductor" }, { 0x04fb, "Biostar Microtech International Corp." }, { 0x04fc, "Sunplus Technology Co., Ltd" }, { 0x04fd, "Soliton Systems, K.K." }, { 0x04fe, "PFU, Ltd" }, { 0x04ff, "E-CMOS Corp." }, { 0x0500, "Siam United Hi-Tech" }, { 0x0501, "Fujikura DDK, Ltd" }, { 0x0502, "Acer, Inc." }, { 0x0503, "Hitachi America, Ltd" }, { 0x0504, "Hayes Microcomputer Products" }, { 0x0506, "3Com Corp." }, { 0x0507, "Hosiden Corp." }, { 0x0508, "Clarion Co., Ltd" }, { 0x0509, "Aztech Systems, Ltd" }, { 0x050a, "Cinch Connectors" }, { 0x050b, "Cable System International" }, { 0x050c, "InnoMedia, Inc." }, { 0x050d, "Belkin Components" }, { 0x050e, "Neon Technology, Inc." }, { 0x050f, "KC Technology, Inc." }, { 0x0510, "Sejin Electron, Inc." }, { 0x0511, "N'Able (DataBook) Technologies, Inc." }, { 0x0512, "Hualon Microelectronics Corp." }, { 0x0513, "digital-X, Inc." }, { 0x0514, "FCI Electronics" }, { 0x0515, "ACTC" }, { 0x0516, "Longwell Electronics" }, { 0x0517, "Butterfly Communications" }, { 0x0518, "EzKEY Corp." }, { 0x0519, "Star Micronics Co., Ltd" }, { 0x051a, "WYSE Technology" }, { 0x051b, "Silicon Graphics" }, { 0x051c, "Shuttle, Inc." }, { 0x051d, "American Power Conversion" }, { 0x051e, "Scientific Atlanta, Inc." }, { 0x051f, "IO Systems (Elite Electronics), Inc." }, { 0x0520, "Taiwan Semiconductor Manufacturing Co." }, { 0x0521, "Airborn Connectors" }, { 0x0522, "Advanced Connectek, Inc." }, { 0x0523, "ATEN GmbH" }, { 0x0524, "Sola Electronics" }, { 0x0525, "Netchip Technology, Inc." }, { 0x0526, "Temic MHS S.A." }, { 0x0527, "ALTRA" }, { 0x0528, "ATI Technologies, Inc." }, { 0x0529, "Aladdin Knowledge Systems" }, { 0x052a, "Crescent Heart Software" }, { 0x052b, "Tekom Technologies, Inc." }, { 0x052c, "Canon Information Systems, Inc." }, { 0x052d, "Avid Electronics Corp." }, { 0x052e, "Standard Microsystems Corp." }, { 0x052f, "Unicore Software, Inc." }, { 0x0530, "American Microsystems, Inc." }, { 0x0531, "Wacom Technology Corp." }, { 0x0532, "Systech Corp." }, { 0x0533, "Alcatel Mobile Phones" }, { 0x0534, "Motorola, Inc." }, { 0x0535, "LIH TZU Electric Co., Ltd" }, { 0x0536, "Hand Held Products (Welch Allyn, Inc.)" }, { 0x0537, "Inventec Corp." }, { 0x0538, "Caldera International, Inc. (SCO)" }, { 0x0539, "Shyh Shiun Terminals Co., Ltd" }, { 0x053a, "PrehKeyTec GmbH" }, { 0x053b, "Global Village Communication" }, { 0x053c, "Institut of Microelectronic & Mechatronic Systems" }, { 0x053d, "Silicon Architect" }, { 0x053e, "Mobility Electronics" }, { 0x053f, "Synopsys, Inc." }, { 0x0540, "UniAccess AB" }, { 0x0541, "Sirf Technology, Inc." }, { 0x0543, "ViewSonic Corp." }, { 0x0544, "Cristie Electronics, Ltd" }, { 0x0545, "Xirlink, Inc." }, { 0x0546, "Polaroid Corp." }, { 0x0547, "Anchor Chips, Inc." }, { 0x0548, "Tyan Computer Corp." }, { 0x0549, "Pixera Corp." }, { 0x054a, "Fujitsu Microelectronics, Inc." }, { 0x054b, "New Media Corp." }, { 0x054c, "Sony Corp." }, { 0x054d, "Try Corp." }, { 0x054e, "Proside Corp." }, { 0x054f, "WYSE Technology Taiwan" }, { 0x0550, "Fuji Xerox Co., Ltd" }, { 0x0551, "CompuTrend Systems, Inc." }, { 0x0552, "Philips Monitors" }, { 0x0553, "STMicroelectronics Imaging Division (VLSI Vision)" }, { 0x0554, "Dictaphone Corp." }, { 0x0555, "ANAM S&T Co., Ltd" }, { 0x0556, "Asahi Kasei Microsystems Co., Ltd" }, { 0x0557, "ATEN International Co., Ltd" }, { 0x0558, "Truevision, Inc." }, { 0x0559, "Cadence Design Systems, Inc." }, { 0x055a, "Kenwood USA" }, { 0x055b, "KnowledgeTek, Inc." }, { 0x055c, "Proton Electronic Ind." }, { 0x055d, "Samsung Electro-Mechanics Co." }, { 0x055e, "CTX Opto-Electronics Corp." }, { 0x055f, "Mustek Systems, Inc." }, { 0x0560, "Interface Corp." }, { 0x0561, "Oasis Design, Inc." }, { 0x0562, "Telex Communications, Inc." }, { 0x0563, "Immersion Corp." }, { 0x0564, "Kodak Digital Product Center, Japan Ltd. (formerly Chinon Industries Inc.)" }, { 0x0565, "Peracom Networks, Inc." }, { 0x0566, "Monterey International Corp." }, { 0x0567, "Xyratex International, Ltd" }, { 0x0568, "Quartz Ingenierie" }, { 0x0569, "SegaSoft" }, { 0x056a, "Wacom Co., Ltd" }, { 0x056b, "Decicon, Inc." }, { 0x056c, "eTEK Labs" }, { 0x056d, "EIZO Corp." }, { 0x056e, "Elecom Co., Ltd" }, { 0x056f, "Korea Data Systems Co., Ltd" }, { 0x0570, "Epson America" }, { 0x0571, "Interex, Inc." }, { 0x0572, "Conexant Systems (Rockwell), Inc." }, { 0x0573, "Zoran Co. Personal Media Division (Nogatech)" }, { 0x0574, "City University of Hong Kong" }, { 0x0575, "Philips Creative Display Solutions" }, { 0x0576, "BAFO/Quality Computer Accessories" }, { 0x0577, "ELSA" }, { 0x0578, "Intrinsix Corp." }, { 0x0579, "GVC Corp." }, { 0x057a, "Samsung Electronics America" }, { 0x057b, "Y-E Data, Inc." }, { 0x057c, "AVM GmbH" }, { 0x057d, "Shark Multimedia, Inc." }, { 0x057e, "Nintendo Co., Ltd" }, { 0x057f, "QuickShot, Ltd" }, { 0x0580, "Denron, Inc." }, { 0x0581, "Racal Data Group" }, { 0x0582, "Roland Corp." }, { 0x0583, "Padix Co., Ltd (Rockfire)" }, { 0x0584, "RATOC System, Inc." }, { 0x0585, "FlashPoint Technology, Inc." }, { 0x0586, "ZyXEL Communications Corp." }, { 0x0587, "America Kotobuki Electronics Industries, Inc." }, { 0x0588, "Sapien Design" }, { 0x0589, "Victron" }, { 0x058a, "Nohau Corp." }, { 0x058b, "Infineon Technologies" }, { 0x058c, "In Focus Systems" }, { 0x058d, "Micrel Semiconductor" }, { 0x058e, "Tripath Technology, Inc." }, { 0x058f, "Alcor Micro Corp." }, { 0x0590, "Omron Corp." }, { 0x0591, "Questra Consulting" }, { 0x0592, "Powerware Corp." }, { 0x0593, "Incite" }, { 0x0594, "Princeton Graphic Systems" }, { 0x0595, "Zoran Microelectronics, Ltd" }, { 0x0596, "MicroTouch Systems, Inc." }, { 0x0597, "Trisignal Communications" }, { 0x0598, "Niigata Canotec Co., Inc." }, { 0x0599, "Brilliance Semiconductor, Inc." }, { 0x059a, "Spectrum Signal Processing, Inc." }, { 0x059b, "Iomega Corp." }, { 0x059c, "A-Trend Technology Co., Ltd" }, { 0x059d, "Advanced Input Devices" }, { 0x059e, "Intelligent Instrumentation" }, { 0x059f, "LaCie, Ltd" }, { 0x05a0, "Vetronix Corp." }, { 0x05a1, "USC Corp." }, { 0x05a2, "Fuji Film Microdevices Co., Ltd" }, { 0x05a3, "ARC International" }, { 0x05a4, "Ortek Technology, Inc." }, { 0x05a5, "Sampo Technology Corp." }, { 0x05a6, "Cisco Systems, Inc." }, { 0x05a7, "Bose Corp." }, { 0x05a8, "Spacetec IMC Corp." }, { 0x05a9, "OmniVision Technologies, Inc." }, { 0x05aa, "Utilux South China, Ltd" }, { 0x05ab, "In-System Design" }, { 0x05ac, "Apple, Inc." }, { 0x05ad, "Y.C. Cable U.S.A., Inc." }, { 0x05ae, "Synopsys, Inc." }, { 0x05af, "Jing-Mold Enterprise Co., Ltd" }, { 0x05b0, "Fountain Technologies, Inc." }, { 0x05b1, "First International Computer, Inc." }, { 0x05b4, "LG Semicon Co., Ltd" }, { 0x05b5, "Dialogic Corp." }, { 0x05b6, "Proxima Corp." }, { 0x05b7, "Medianix Semiconductor, Inc." }, { 0x05b8, "SYSGRATION" }, { 0x05b9, "Philips Research Laboratories" }, { 0x05ba, "DigitalPersona, Inc." }, { 0x05bb, "Grey Cell Systems" }, { 0x05bc, "3G Green Green Globe Co., Ltd" }, { 0x05bd, "RAFI GmbH & Co. KG" }, { 0x05be, "Tyco Electronics (Raychem)" }, { 0x05bf, "S & S Research" }, { 0x05c0, "Keil Software" }, { 0x05c1, "Kawasaki Microelectronics, Inc." }, { 0x05c2, "Media Phonics (Suisse) S.A." }, { 0x05c5, "Digi International, Inc." }, { 0x05c6, "Qualcomm, Inc." }, { 0x05c7, "Qtronix Corp." }, { 0x05c8, "Cheng Uei Precision Industry Co., Ltd (Foxlink)" }, { 0x05c9, "Semtech Corp." }, { 0x05ca, "Ricoh Co., Ltd" }, { 0x05cb, "PowerVision Technologies, Inc." }, { 0x05cc, "ELSA AG" }, { 0x05cd, "Silicom, Ltd" }, { 0x05ce, "sci-worx GmbH" }, { 0x05cf, "Sung Forn Co., Ltd" }, { 0x05d0, "GE Medical Systems Lunar" }, { 0x05d1, "Brainboxes, Ltd" }, { 0x05d2, "Wave Systems Corp." }, { 0x05d3, "Tohoku Ricoh Co., Ltd" }, { 0x05d5, "Super Gate Technology Co., Ltd" }, { 0x05d6, "Philips Semiconductors, CICT" }, { 0x05d7, "Thomas & Betts Corp." }, { 0x05d8, "Ultima Electronics Corp." }, { 0x05d9, "Axiohm Transaction Solutions" }, { 0x05da, "Microtek International, Inc." }, { 0x05db, "Sun Corp. (Suntac?)" }, { 0x05dc, "Lexar Media, Inc." }, { 0x05dd, "Delta Electronics, Inc." }, { 0x05df, "Silicon Vision, Inc." }, { 0x05e0, "Symbol Technologies" }, { 0x05e1, "Syntek Semiconductor Co., Ltd" }, { 0x05e2, "ElecVision, Inc." }, { 0x05e3, "Genesys Logic, Inc." }, { 0x05e4, "Red Wing Corp." }, { 0x05e5, "Fuji Electric Co., Ltd" }, { 0x05e6, "Keithley Instruments" }, { 0x05e8, "ICC, Inc." }, { 0x05e9, "Kawasaki LSI" }, { 0x05eb, "FFC, Ltd" }, { 0x05ec, "COM21, Inc." }, { 0x05ee, "Cytechinfo Inc." }, { 0x05ef, "AVB, Inc. [anko?]" }, { 0x05f0, "Canopus Co., Ltd" }, { 0x05f1, "Compass Communications" }, { 0x05f2, "Dexin Corp., Ltd" }, { 0x05f3, "PI Engineering, Inc." }, { 0x05f5, "Unixtar Technology, Inc." }, { 0x05f6, "AOC International" }, { 0x05f7, "RFC Distribution(s) PTE, Ltd" }, { 0x05f9, "PSC Scanning, Inc." }, { 0x05fa, "Siemens Telecommunications Systems, Ltd" }, { 0x05fc, "Harman" }, { 0x05fd, "InterAct, Inc." }, { 0x05fe, "Chic Technology Corp." }, { 0x05ff, "LeCroy Corp." }, { 0x0600, "Barco Display Systems" }, { 0x0601, "Jazz Hipster Corp." }, { 0x0602, "Vista Imaging, Inc." }, { 0x0603, "Novatek Microelectronics Corp." }, { 0x0604, "Jean Co., Ltd" }, { 0x0605, "Anchor C&C Co., Ltd" }, { 0x0606, "Royal Information Electronics Co., Ltd" }, { 0x0607, "Bridge Information Co., Ltd" }, { 0x0608, "Genrad Ads" }, { 0x0609, "SMK Manufacturing, Inc." }, { 0x060a, "Worthington Data Solutions, Inc." }, { 0x060b, "Solid Year" }, { 0x060c, "EEH Datalink GmbH" }, { 0x060d, "Auctor Corp." }, { 0x060e, "Transmonde Technologies, Inc." }, { 0x060f, "Joinsoon Electronics Mfg. Co., Ltd" }, { 0x0610, "Costar Electronics, Inc." }, { 0x0611, "Totoku Electric Co., Ltd" }, { 0x0613, "TransAct Technologies, Inc." }, { 0x0614, "Bio-Rad Laboratories" }, { 0x0615, "Quabbin Wire & Cable Co., Inc." }, { 0x0616, "Future Techno Designs PVT, Ltd" }, { 0x0617, "Swiss Federal Insitute of Technology" }, { 0x0618, "MacAlly" }, { 0x0619, "Seiko Instruments, Inc." }, { 0x061a, "Veridicom International, Inc." }, { 0x061b, "Promptus Communications, Inc." }, { 0x061c, "Act Labs, Ltd" }, { 0x061d, "Quatech, Inc." }, { 0x061e, "Nissei Electric Co." }, { 0x0620, "Alaris, Inc." }, { 0x0621, "ODU-Steckverbindungssysteme GmbH & Co. KG" }, { 0x0622, "Iotech, Inc." }, { 0x0623, "Littelfuse, Inc." }, { 0x0624, "Avocent Corp." }, { 0x0625, "TiMedia Technology Co., Ltd" }, { 0x0626, "Nippon Systems Development Co., Ltd" }, { 0x0627, "Adomax Technology Co., Ltd" }, { 0x0628, "Tasking Software, Inc." }, { 0x0629, "Zida Technologies, Ltd" }, { 0x062a, "MosArt Semiconductor Corp." }, { 0x062b, "Greatlink Electronics Taiwan, Ltd" }, { 0x062c, "Institute for Information Industry" }, { 0x062d, "Taiwan Tai-Hao Enterprises Co., Ltd" }, { 0x062e, "Mainsuper Enterprises Co., Ltd" }, { 0x062f, "Sin Sheng Terminal & Machine, Inc." }, { 0x0631, "JUJO Electronics Corp." }, { 0x0633, "Cyrix Corp." }, { 0x0634, "Micron Technology, Inc." }, { 0x0635, "Methode Electronics, Inc." }, { 0x0636, "Sierra Imaging, Inc." }, { 0x0638, "Avision, Inc." }, { 0x0639, "Chrontel, Inc." }, { 0x063a, "Techwin Corp." }, { 0x063b, "Taugagreining HF" }, { 0x063c, "Yamaichi Electronics Co., Ltd (Sakura)" }, { 0x063d, "Fong Kai Industrial Co., Ltd" }, { 0x063e, "RealMedia Technology, Inc." }, { 0x063f, "New Technology Cable, Ltd" }, { 0x0640, "Hitex Development Tools" }, { 0x0641, "Woods Industries, Inc." }, { 0x0642, "VIA Medical Corp." }, { 0x0644, "TEAC Corp." }, { 0x0645, "Who? Vision Systems, Inc." }, { 0x0646, "UMAX" }, { 0x0647, "Acton Research Corp." }, { 0x0648, "Inside Out Networks" }, { 0x0649, "Weli Science Co., Ltd" }, { 0x064b, "Analog Devices, Inc. (White Mountain DSP)" }, { 0x064c, "Ji-Haw Industrial Co., Ltd" }, { 0x064d, "TriTech Microelectronics, Ltd" }, { 0x064e, "Suyin Corp." }, { 0x064f, "WIBU-Systems AG" }, { 0x0650, "Dynapro Systems" }, { 0x0651, "Likom Technology Sdn. Bhd." }, { 0x0652, "Stargate Solutions, Inc." }, { 0x0653, "CNF, Inc." }, { 0x0654, "Granite Microsystems, Inc." }, { 0x0655, "Space Shuttle Hi-Tech Co., Ltd" }, { 0x0656, "Glory Mark Electronic, Ltd" }, { 0x0657, "Tekcon Electronics Corp." }, { 0x0658, "Sigma Designs, Inc." }, { 0x0659, "Aethra" }, { 0x065a, "Optoelectronics Co., Ltd" }, { 0x065b, "Tracewell Systems" }, { 0x065e, "Silicon Graphics" }, { 0x065f, "Good Way Technology Co., Ltd & GWC technology Inc." }, { 0x0660, "TSAY-E (BVI) International, Inc." }, { 0x0661, "Hamamatsu Photonics K.K." }, { 0x0662, "Kansai Electric Co., Ltd" }, { 0x0663, "Topmax Electronic Co., Ltd" }, { 0x0664, "ET&T Technology Co., Ltd." }, { 0x0665, "Cypress Semiconductor" }, { 0x0667, "Aiwa Co., Ltd" }, { 0x0668, "WordWand" }, { 0x0669, "Oce' Printing Systems GmbH" }, { 0x066a, "Total Technologies, Ltd" }, { 0x066b, "Linksys, Inc." }, { 0x066d, "Entrega, Inc." }, { 0x066e, "Acer Semiconductor America, Inc." }, { 0x066f, "SigmaTel, Inc." }, { 0x0670, "Sequel Imaging" }, { 0x0672, "Labtec, Inc." }, { 0x0673, "HCL" }, { 0x0674, "Key Mouse Electronic Enterprise Co., Ltd" }, { 0x0675, "DrayTek Corp." }, { 0x0676, "Teles AG" }, { 0x0677, "Aiwa Co., Ltd" }, { 0x0678, "ACard Technology Corp." }, { 0x067b, "Prolific Technology, Inc." }, { 0x067c, "Efficient Networks, Inc." }, { 0x067d, "Hohner Corp." }, { 0x067e, "Intermec Technologies Corp." }, { 0x067f, "Virata, Ltd" }, { 0x0680, "Realtek Semiconductor Corp., CPP Div. (Avance Logic)" }, { 0x0681, "Siemens Information and Communication Products" }, { 0x0682, "Victor Company of Japan, Ltd" }, { 0x0684, "Actiontec Electronics, Inc." }, { 0x0685, "ZD Incorporated" }, { 0x0686, "Minolta Co., Ltd" }, { 0x068a, "Pertech, Inc." }, { 0x068b, "Potrans International, Inc." }, { 0x068e, "CH Products, Inc." }, { 0x068f, "Nihon KOHDEN" }, { 0x0690, "Golden Bridge Electech, Inc." }, { 0x0693, "Hagiwara Sys-Com Co., Ltd" }, { 0x0694, "Lego Group" }, { 0x0698, "Chuntex (CTX)" }, { 0x0699, "Tektronix, Inc." }, { 0x069a, "Askey Computer Corp." }, { 0x069b, "Thomson, Inc." }, { 0x069d, "Hughes Network Systems (HNS)" }, { 0x069e, "Welcat Inc." }, { 0x069f, "Allied Data Technologies BV" }, { 0x06a2, "Topro Technology, Inc." }, { 0x06a3, "Saitek PLC" }, { 0x06a4, "Xiamen Doowell Electron Co., Ltd" }, { 0x06a5, "Divio" }, { 0x06a7, "MicroStore, Inc." }, { 0x06a8, "Topaz Systems, Inc." }, { 0x06a9, "Westell" }, { 0x06aa, "Sysgration, Ltd" }, { 0x06ac, "Fujitsu Laboratories of America, Inc." }, { 0x06ad, "Greatland Electronics Taiwan, Ltd" }, { 0x06ae, "Professional Multimedia Testing Centre" }, { 0x06af, "Harting, Inc. of North America" }, { 0x06b8, "Pixela Corp." }, { 0x06b9, "Alcatel Telecom" }, { 0x06ba, "Smooth Cord & Connector Co., Ltd" }, { 0x06bb, "EDA, Inc." }, { 0x06bc, "Oki Data Corp." }, { 0x06bd, "AGFA-Gevaert NV" }, { 0x06be, "AME Optimedia Technology Co., Ltd" }, { 0x06bf, "Leoco Corp." }, { 0x06c2, "Phidgets Inc. (formerly GLAB)" }, { 0x06c4, "Bizlink International Corp." }, { 0x06c5, "Hagenuk, GmbH" }, { 0x06c6, "Infowave Software, Inc." }, { 0x06c8, "SIIG, Inc." }, { 0x06c9, "Taxan (Europe), Ltd" }, { 0x06ca, "Newer Technology, Inc." }, { 0x06cb, "Synaptics, Inc." }, { 0x06cc, "Terayon Communication Systems" }, { 0x06cd, "Keyspan" }, { 0x06ce, "Contec" }, { 0x06cf, "SpheronVR AG" }, { 0x06d0, "LapLink, Inc." }, { 0x06d1, "Daewoo Electronics Co., Ltd" }, { 0x06d3, "Mitsubishi Electric Corp." }, { 0x06d4, "Cisco Systems" }, { 0x06d5, "Toshiba" }, { 0x06d6, "Aashima Technology B.V." }, { 0x06d7, "Network Computing Devices (NCD)" }, { 0x06d8, "Technical Marketing Research, Inc." }, { 0x06da, "Phoenixtec Power Co., Ltd" }, { 0x06db, "Paradyne" }, { 0x06dc, "Foxlink Image Technology Co., Ltd" }, { 0x06de, "Heisei Electronics Co., Ltd" }, { 0x06e0, "Multi-Tech Systems, Inc." }, { 0x06e1, "ADS Technologies, Inc." }, { 0x06e4, "Alcatel Microelectronics" }, { 0x06e6, "Tiger Jet Network, Inc." }, { 0x06ea, "Sirius Technologies" }, { 0x06eb, "PC Expert Tech. Co., Ltd" }, { 0x06ef, "I.A.C. Geometrische Ingenieurs B.V." }, { 0x06f0, "T.N.C Industrial Co., Ltd" }, { 0x06f1, "Opcode Systems, Inc." }, { 0x06f2, "Emine Technology Co." }, { 0x06f6, "Wintrend Technology Co., Ltd" }, { 0x06f7, "Wailly Technology Ltd" }, { 0x06f8, "Guillemot Corp." }, { 0x06f9, "ASYST electronic d.o.o." }, { 0x06fa, "HSD S.r.L" }, { 0x06fc, "Motorola Semiconductor Products Sector" }, { 0x06fd, "Boston Acoustics" }, { 0x06fe, "Gallant Computer, Inc." }, { 0x0701, "Supercomal Wire & Cable SDN. BHD." }, { 0x0703, "Bvtech Industry, Inc." }, { 0x0705, "NKK Corp." }, { 0x0706, "Ariel Corp." }, { 0x0707, "Standard Microsystems Corp." }, { 0x0708, "Putercom Co., Ltd" }, { 0x0709, "Silicon Systems, Ltd (SSL)" }, { 0x070a, "Oki Electric Industry Co., Ltd" }, { 0x070d, "Comoss Electronic Co., Ltd" }, { 0x070e, "Excel Cell Electronic Co., Ltd" }, { 0x0710, "Connect Tech, Inc." }, { 0x0711, "Magic Control Technology Corp." }, { 0x0713, "Interval Research Corp." }, { 0x0714, "NewMotion, Inc." }, { 0x0717, "ZNK Corp." }, { 0x0718, "Imation Corp." }, { 0x0719, "Tremon Enterprises Co., Ltd" }, { 0x071b, "Domain Technologies, Inc." }, { 0x071c, "Xionics Document Technologies, Inc." }, { 0x071d, "Eicon Networks Corp." }, { 0x071e, "Ariston Technologies" }, { 0x0720, "Keyence Corp." }, { 0x0723, "Centillium Communications Corp." }, { 0x0726, "Vanguard International Semiconductor-America" }, { 0x0729, "Amitm" }, { 0x072e, "Sunix Co., Ltd" }, { 0x072f, "Advanced Card Systems, Ltd" }, { 0x0731, "Susteen, Inc." }, { 0x0732, "Goldfull Electronics & Telecommunications Corp." }, { 0x0733, "ViewQuest Technologies, Inc." }, { 0x0734, "Lasat Communications A/S" }, { 0x0735, "Asuscom Network" }, { 0x0736, "Lorom Industrial Co., Ltd" }, { 0x0738, "Mad Catz, Inc." }, { 0x073a, "Chaplet Systems, Inc." }, { 0x073b, "Suncom Technologies" }, { 0x073c, "Industrial Electronic Engineers, Inc." }, { 0x073d, "Eutron S.p.a." }, { 0x073e, "NEC, Inc." }, { 0x0742, "Stollmann" }, { 0x0745, "Syntech Information Co., Ltd" }, { 0x0746, "Onkyo Corp." }, { 0x0747, "Labway Corp." }, { 0x0748, "Strong Man Enterprise Co., Ltd" }, { 0x0749, "EVer Electronics Corp." }, { 0x074a, "Ming Fortune Industry Co., Ltd" }, { 0x074b, "Polestar Tech. Corp." }, { 0x074c, "C-C-C Group PLC" }, { 0x074d, "Micronas GmbH" }, { 0x074e, "Digital Stream Corp." }, { 0x0755, "Aureal Semiconductor" }, { 0x0757, "Network Technologies, Inc." }, { 0x0758, "Carl Zeiss Microscopy GmbH" }, { 0x075b, "Sophisticated Circuits, Inc." }, { 0x0763, "M-Audio" }, { 0x0764, "Cyber Power System, Inc." }, { 0x0765, "X-Rite, Inc." }, { 0x0766, "Jess-Link Products Co., Ltd" }, { 0x0767, "Tokheim Corp." }, { 0x0768, "Camtel Technology Corp." }, { 0x0769, "Surecom Technology Corp." }, { 0x076a, "Smart Technology Enablers, Inc." }, { 0x076b, "OmniKey AG" }, { 0x076c, "Partner Tech" }, { 0x076d, "Denso Corp." }, { 0x076e, "Kuan Tech Enterprise Co., Ltd" }, { 0x076f, "Jhen Vei Electronic Co., Ltd" }, { 0x0770, "Welch Allyn, Inc - Medical Division" }, { 0x0771, "Observator Instruments BV" }, { 0x0772, "Your data Our Care" }, { 0x0774, "AmTRAN Technology Co., Ltd" }, { 0x0775, "Longshine Electronics Corp." }, { 0x0776, "Inalways Corp." }, { 0x0777, "Comda Enterprise Corp." }, { 0x0778, "Volex, Inc." }, { 0x0779, "ON Semiconductor (formerly Fairchild)" }, { 0x077a, "Sankyo Seiki Mfg. Co., Ltd" }, { 0x077b, "Linksys" }, { 0x077c, "Forward Electronics Co., Ltd" }, { 0x077d, "Griffin Technology" }, { 0x077e, "Softing AG" }, { 0x077f, "Well Excellent & Most Corp." }, { 0x0780, "Sagem Monetel GmbH" }, { 0x0781, "SanDisk Corp." }, { 0x0782, "Trackerball" }, { 0x0783, "C3PO" }, { 0x0784, "Vivitar, Inc." }, { 0x0785, "NTT-ME" }, { 0x0789, "Logitec Corp." }, { 0x078b, "Happ Controls, Inc." }, { 0x078c, "GTCO/CalComp" }, { 0x078e, "Brincom, Inc." }, { 0x0790, "Pro-Image Manufacturing Co., Ltd" }, { 0x0791, "Copartner Wire and Cable Mfg. Corp." }, { 0x0792, "Axis Communications AB" }, { 0x0793, "Wha Yu Industrial Co., Ltd" }, { 0x0794, "ABL Electronics Corp." }, { 0x0795, "RealChip, Inc." }, { 0x0796, "Certicom Corp." }, { 0x0797, "Grandtech Semiconductor Corp." }, { 0x0798, "Optelec" }, { 0x0799, "Altera" }, { 0x079b, "Sagem" }, { 0x079d, "Alfadata Computer Corp." }, { 0x07a1, "Digicom S.p.A." }, { 0x07a2, "National Technical Systems" }, { 0x07a3, "Onnto Corp." }, { 0x07a4, "Be, Inc." }, { 0x07a6, "ADMtek, Inc." }, { 0x07aa, "Corega K.K." }, { 0x07ab, "Freecom Technologies" }, { 0x07af, "Microtech" }, { 0x07b0, "Trust Technologies" }, { 0x07b1, "IMP, Inc." }, { 0x07b2, "Motorola BCS, Inc." }, { 0x07b3, "Plustek, Inc." }, { 0x07b4, "Olympus Optical Co., Ltd" }, { 0x07b5, "Mega World International, Ltd" }, { 0x07b6, "Marubun Corp." }, { 0x07b7, "TIME Interconnect, Ltd" }, { 0x07b8, "AboCom Systems Inc" }, { 0x07bc, "Canon Computer Systems, Inc." }, { 0x07bd, "Webgear, Inc." }, { 0x07be, "Veridicom" }, { 0x07c0, "Code Mercenaries Hard- und Software GmbH" }, { 0x07c1, "Keisokugiken" }, { 0x07c4, "Datafab Systems, Inc." }, { 0x07c5, "APG Cash Drawer" }, { 0x07c6, "ShareWave, Inc." }, { 0x07c7, "Powertech Industrial Co., Ltd" }, { 0x07c8, "B.U.G., Inc." }, { 0x07c9, "Allied Telesyn International" }, { 0x07ca, "AVerMedia Technologies, Inc." }, { 0x07cb, "Kingmax Technology, Inc." }, { 0x07cc, "Carry Computer Eng., Co., Ltd" }, { 0x07cd, "Elektor" }, { 0x07ce, "Nidec Copal" }, { 0x07cf, "Casio Computer Co., Ltd" }, { 0x07d0, "Dazzle" }, { 0x07d1, "D-Link System" }, { 0x07d2, "Aptio Products, Inc." }, { 0x07d3, "Cyberdata Corp." }, { 0x07d5, "Radiant Systems" }, { 0x07d7, "GCC Technologies, Inc." }, { 0x07da, "Arasan Chip Systems" }, { 0x07de, "Diamond Multimedia" }, { 0x07df, "David Electronics Co., Ltd" }, { 0x07e0, "NCP engineering GmbH" }, { 0x07e1, "Ambient Technologies, Inc." }, { 0x07e2, "Elmeg GmbH & Co., Ltd" }, { 0x07e3, "Planex Communications, Inc." }, { 0x07e4, "Movado Enterprise Co., Ltd" }, { 0x07e5, "QPS, Inc." }, { 0x07e6, "Allied Cable Corp." }, { 0x07e7, "Mirvo Toys, Inc." }, { 0x07e8, "Labsystems" }, { 0x07ea, "Iwatsu Electric Co., Ltd" }, { 0x07eb, "Double-H Technology Co., Ltd" }, { 0x07ec, "Taiyo Electric Wire & Cable Co., Ltd" }, { 0x07ee, "Torex Retail (formerly Logware)" }, { 0x07ef, "STSN" }, { 0x07f2, "Microcomputer Applications, Inc." }, { 0x07f6, "Circuit Assembly Corp." }, { 0x07f7, "Century Corp." }, { 0x07f9, "Dotop Technology, Inc." }, { 0x07fa, "DrayTek Corp." }, { 0x07fc, "Thomann" }, { 0x07fd, "Mark of the Unicorn" }, { 0x07ff, "Unknown" }, { 0x0801, "MagTek" }, { 0x0802, "Mako Technologies, LLC" }, { 0x0803, "Zoom Telephonics, Inc." }, { 0x0809, "Genicom Technology, Inc." }, { 0x080a, "Evermuch Technology Co., Ltd" }, { 0x080b, "Cross Match Technologies" }, { 0x080c, "Datalogic S.p.A." }, { 0x080d, "Teco Image Systems Co., Ltd" }, { 0x0810, "Personal Communication Systems, Inc." }, { 0x0813, "Mattel, Inc." }, { 0x0819, "eLicenser" }, { 0x081a, "MG Logic" }, { 0x081b, "Indigita Corp." }, { 0x081c, "Mipsys" }, { 0x081e, "AlphaSmart, Inc." }, { 0x081f, "Manta" }, { 0x0822, "Reudo Corp." }, { 0x0825, "GC Protronics" }, { 0x0826, "Data Transit" }, { 0x0827, "BroadLogic, Inc." }, { 0x0828, "Sato Corp." }, { 0x0829, "DirecTV Broadband, Inc. (Telocity)" }, { 0x082d, "Handspring" }, { 0x0830, "Palm, Inc." }, { 0x0832, "Kouwell Electronics Corp." }, { 0x0833, "Sourcenext Corp." }, { 0x0835, "Action Star Enterprise Co., Ltd" }, { 0x0836, "TrekStor" }, { 0x0839, "Samsung Techwin Co., Ltd" }, { 0x083a, "Accton Technology Corp." }, { 0x083f, "Global Village" }, { 0x0840, "Argosy Research, Inc." }, { 0x0841, "Rioport.com, Inc." }, { 0x0844, "Welland Industrial Co., Ltd" }, { 0x0846, "NetGear, Inc." }, { 0x084d, "Minton Optic Industry Co., Inc." }, { 0x084e, "KB Gear" }, { 0x084f, "Empeg" }, { 0x0850, "Fast Point Technologies, Inc." }, { 0x0851, "Macronix International Co., Ltd" }, { 0x0852, "CSEM" }, { 0x0853, "Topre Corporation" }, { 0x0854, "ActiveWire, Inc." }, { 0x0856, "B&B Electronics" }, { 0x0858, "Hitachi Maxell, Ltd" }, { 0x0859, "Minolta Systems Laboratory, Inc." }, { 0x085a, "Xircom" }, { 0x085c, "ColorVision, Inc." }, { 0x0862, "Teletrol Systems, Inc." }, { 0x0863, "Filanet Corp." }, { 0x0864, "NetGear, Inc." }, { 0x0867, "Data Translation, Inc." }, { 0x086a, "Emagic Soft- und Hardware GmbH" }, { 0x086c, "DeTeWe - Deutsche Telephonwerke AG & Co." }, { 0x086e, "System TALKS, Inc." }, { 0x086f, "MEC IMEX, Inc." }, { 0x0870, "Metricom" }, { 0x0871, "SanDisk, Inc." }, { 0x0873, "Xpeed, Inc." }, { 0x0874, "A-Tec Subsystem, Inc." }, { 0x0879, "Comtrol Corp." }, { 0x087c, "Adesso/Kbtek America, Inc." }, { 0x087d, "Jaton Corp." }, { 0x087e, "Fujitsu Computer Products of America" }, { 0x087f, "QualCore Logic Inc." }, { 0x0880, "APT Technologies, Inc." }, { 0x0883, "Recording Industry Association of America (RIAA)" }, { 0x0885, "Boca Research, Inc." }, { 0x0886, "XAC Automation Corp." }, { 0x0887, "Hannstar Electronics Corp." }, { 0x088a, "TechTools" }, { 0x088b, "MassWorks, Inc." }, { 0x088c, "Swecoin AB" }, { 0x088e, "iLok" }, { 0x0892, "DioGraphy, Inc." }, { 0x0894, "TSI Incorporated" }, { 0x0897, "Lauterbach" }, { 0x089c, "United Technologies Research Cntr." }, { 0x089d, "Icron Technologies Corp." }, { 0x089e, "NST Co., Ltd" }, { 0x089f, "Primex Aerospace Co." }, { 0x08a5, "e9, Inc." }, { 0x08a6, "Toshiba TEC" }, { 0x08a8, "Andrea Electronics" }, { 0x08a9, "CWAV Inc." }, { 0x08ac, "Macraigor Systems LLC" }, { 0x08ae, "Macally (Mace Group, Inc.)" }, { 0x08b0, "Metrohm" }, { 0x08b4, "Sorenson Vision, Inc." }, { 0x08b7, "NATSU" }, { 0x08b8, "J. Gordon Electronic Design, Inc." }, { 0x08b9, "RadioShack Corp. (Tandy)" }, { 0x08bb, "Texas Instruments" }, { 0x08bd, "Citizen Watch Co., Ltd" }, { 0x08c3, "Precise Biometrics" }, { 0x08c4, "Proxim, Inc." }, { 0x08c7, "Key Nice Enterprise Co., Ltd" }, { 0x08c8, "2Wire, Inc." }, { 0x08c9, "Nippon Telegraph and Telephone Corp." }, { 0x08ca, "Aiptek International, Inc." }, { 0x08cd, "Jue Hsun Ind. Corp." }, { 0x08ce, "Long Well Electronics Corp." }, { 0x08cf, "Productivity Enhancement Products" }, { 0x08d1, "smartBridges, Inc." }, { 0x08d3, "Virtual Ink" }, { 0x08d4, "Fujitsu Siemens Computers" }, { 0x08d8, "IXXAT Automation GmbH" }, { 0x08d9, "Increment P Corp." }, { 0x08dd, "Billionton Systems, Inc." }, { 0x08de, "?" }, { 0x08df, "Spyrus, Inc." }, { 0x08e3, "Olitec, Inc." }, { 0x08e4, "Pioneer Corp." }, { 0x08e5, "Litronic" }, { 0x08e6, "Gemalto (was Gemplus)" }, { 0x08e7, "Pan-International Wire & Cable" }, { 0x08e8, "Integrated Memory Logic" }, { 0x08e9, "Extended Systems, Inc." }, { 0x08ea, "Ericsson, Inc., Blue Ridge Labs" }, { 0x08ec, "M-Systems Flash Disk Pioneers" }, { 0x08ed, "MediaTek Inc." }, { 0x08ee, "CCSI/Hesso" }, { 0x08f0, "Corex Technologies" }, { 0x08f1, "CTI Electronics Corp." }, { 0x08f2, "Gotop Information Inc." }, { 0x08f5, "SysTec Co., Ltd" }, { 0x08f6, "Logic 3 International, Ltd" }, { 0x08f7, "Vernier" }, { 0x08f8, "Keen Top International Enterprise Co., Ltd" }, { 0x08f9, "Wipro Technologies" }, { 0x08fa, "Caere" }, { 0x08fb, "Socket Communications" }, { 0x08fc, "Sicon Cable Technology Co., Ltd" }, { 0x08fd, "Digianswer A/S" }, { 0x08ff, "AuthenTec, Inc." }, { 0x0900, "Pinnacle Systems, Inc." }, { 0x0901, "VST Technologies" }, { 0x0906, "Faraday Technology Corp." }, { 0x0908, "Siemens AG" }, { 0x0909, "Audio-Technica Corp." }, { 0x090a, "Trumpion Microelectronics, Inc." }, { 0x090b, "Neurosmith" }, { 0x090c, "Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)" }, { 0x090d, "Multiport Computer Vertriebs GmbH" }, { 0x090e, "Shining Technology, Inc." }, { 0x090f, "Fujitsu Devices, Inc." }, { 0x0910, "Alation Systems, Inc." }, { 0x0911, "Philips Speech Processing" }, { 0x0912, "Voquette, Inc." }, { 0x0915, "GlobeSpan, Inc." }, { 0x0917, "SmartDisk Corp." }, { 0x0919, "Tiger Electronics" }, { 0x091e, "Garmin International" }, { 0x0920, "Echelon Co." }, { 0x0921, "GoHubs, Inc." }, { 0x0922, "Dymo-CoStar Corp." }, { 0x0923, "IC Media Corp." }, { 0x0924, "Xerox" }, { 0x0925, "Lakeview Research" }, { 0x0927, "Summus, Ltd" }, { 0x0928, "PLX Technology, Inc. (formerly Oxford Semiconductor, Ltd)" }, { 0x0929, "American Biometric Co." }, { 0x092a, "Toshiba Information & Industrial Sys. And Services" }, { 0x092b, "Sena Technologies, Inc." }, { 0x092f, "Northern Embedded Science/CAVNEX" }, { 0x0930, "Toshiba Corp." }, { 0x0931, "Harmonic Data Systems, Ltd" }, { 0x0932, "Crescentec Corp." }, { 0x0933, "Quantum Corp." }, { 0x0934, "Spirent Communications" }, { 0x0936, "NuTesla" }, { 0x0939, "Lumberg, Inc." }, { 0x093a, "Pixart Imaging, Inc." }, { 0x093b, "Plextor Corp." }, { 0x093c, "Intrepid Control Systems, Inc." }, { 0x093d, "InnoSync, Inc." }, { 0x093e, "J.S.T. Mfg. Co., Ltd" }, { 0x093f, "Olympia Telecom Vertriebs GmbH" }, { 0x0940, "Japan Storage Battery Co., Ltd" }, { 0x0941, "Photobit Corp." }, { 0x0942, "i2Go.com, LLC" }, { 0x0943, "HCL Technologies India Private, Ltd" }, { 0x0944, "KORG, Inc." }, { 0x0945, "Pasco Scientific" }, { 0x0948, "Kronauer music in digital" }, { 0x094b, "Linkup Systems Corp." }, { 0x094d, "Cable Television Laboratories" }, { 0x094f, "Yano" }, { 0x0951, "Kingston Technology" }, { 0x0954, "RPM Systems Corp." }, { 0x0955, "NVIDIA Corp." }, { 0x0956, "BSquare Corp." }, { 0x0957, "Agilent Technologies, Inc." }, { 0x0958, "CompuLink Research, Inc." }, { 0x0959, "Cologne Chip AG" }, { 0x095a, "Portsmith" }, { 0x095b, "Medialogic Corp." }, { 0x095c, "K-Tec Electronics" }, { 0x095d, "Polycom, Inc." }, { 0x0964, "BITRAN" }, { 0x0967, "Acer NeWeb Corp." }, { 0x0968, "Catalyst Enterprises, Inc." }, { 0x096e, "Feitian Technologies, Inc." }, { 0x0971, "Gretag-Macbeth AG" }, { 0x0973, "Schlumberger" }, { 0x0974, "Datagraphix, a business unit of Anacomp" }, { 0x0975, "OL'E Communications, Inc." }, { 0x0976, "Adirondack Wire & Cable" }, { 0x0977, "Lightsurf Technologies" }, { 0x0978, "Beckhoff GmbH" }, { 0x0979, "Jeilin Technology Corp., Ltd" }, { 0x097a, "Minds At Work LLC" }, { 0x097b, "Knudsen Engineering, Ltd" }, { 0x097c, "Marunix Co., Ltd" }, { 0x097d, "Rosun Technologies, Inc." }, { 0x097e, "Biopac Systems Inc." }, { 0x097f, "Barun Electronics Co., Ltd" }, { 0x0981, "Oak Technology, Ltd" }, { 0x0984, "Apricorn" }, { 0x0985, "cab Produkttechnik GmbH & Co KG" }, { 0x0986, "Matsushita Electric Works, Ltd." }, { 0x098c, "Vitana Corp." }, { 0x098d, "INDesign" }, { 0x098e, "Integrated Intellectual Property, Inc." }, { 0x098f, "Kenwood TMI Corp." }, { 0x0993, "Gemstar eBook Group, Ltd" }, { 0x0996, "Integrated Telecom Express, Inc." }, { 0x099a, "Zippy Technology Corp." }, { 0x099e, "Trimble Navigation, Ltd" }, { 0x09a3, "PairGain Technologies" }, { 0x09a4, "Contech Research, Inc." }, { 0x09a5, "VCON Telecommunications" }, { 0x09a6, "Poinchips" }, { 0x09a7, "Data Transmission Network Corp." }, { 0x09a8, "Lin Shiung Enterprise Co., Ltd" }, { 0x09a9, "Smart Card Technologies Co., Ltd" }, { 0x09aa, "Intersil Corp." }, { 0x09ab, "Japan Cash Machine Co., Ltd." }, { 0x09ae, "Tripp Lite" }, { 0x09b0, "Fargo" }, { 0x09b2, "Franklin Electronic Publishers, Inc." }, { 0x09b3, "Altius Solutions, Inc." }, { 0x09b4, "MDS Telephone Systems" }, { 0x09b5, "Celltrix Technology Co., Ltd" }, { 0x09bc, "Grundig" }, { 0x09be, "MySmart.Com" }, { 0x09bf, "Auerswald GmbH & Co. KG" }, { 0x09c0, "Genpix Electronics, LLC" }, { 0x09c1, "Arris Interactive LLC" }, { 0x09c2, "Nisca Corp." }, { 0x09c3, "HID Global" }, { 0x09c4, "ACTiSYS Corp." }, { 0x09c5, "Memory Corp." }, { 0x09ca, "BMC Messsysteme GmbH" }, { 0x09cb, "FLIR Systems" }, { 0x09cc, "Workbit Corp." }, { 0x09cd, "Psion Dacom Home Networks, Ltd" }, { 0x09ce, "City Electronics, Ltd" }, { 0x09cf, "Electronics Testing Center, Taiwan" }, { 0x09d1, "NeoMagic, Inc." }, { 0x09d2, "Vreelin Engineering, Inc." }, { 0x09d3, "Com One" }, { 0x09d7, "Hexagon NovAtel Inc." }, { 0x09d8, "ELATEC GmbH" }, { 0x09d9, "KRF Tech, Ltd" }, { 0x09da, "A4Tech Co., Ltd." }, { 0x09db, "Measurement Computing Corp." }, { 0x09dc, "Aimex Corp." }, { 0x09dd, "Fellowes, Inc." }, { 0x09df, "Addonics Technologies Corp." }, { 0x09e1, "Intellon Corp." }, { 0x09e5, "Jo-Dan International, Inc." }, { 0x09e6, "Silutia, Inc." }, { 0x09e7, "Real 3D, Inc." }, { 0x09e8, "AKAI Professional M.I. Corp." }, { 0x09e9, "Chen-Source, Inc." }, { 0x09eb, "IM Networks, Inc." }, { 0x09ef, "Xitel" }, { 0x09f3, "GoFlight, Inc." }, { 0x09f5, "AresCom" }, { 0x09f6, "RocketChips, Inc." }, { 0x09f7, "Edu-Science (H.K.), Ltd" }, { 0x09f8, "SoftConnex Technologies, Inc." }, { 0x09f9, "Bay Associates" }, { 0x09fa, "Mtek Vision" }, { 0x09fb, "Altera" }, { 0x09ff, "Gain Technology Corp." }, { 0x0a00, "Liquid Audio" }, { 0x0a01, "ViA, Inc." }, { 0x0a05, "Unknown Manufacturer" }, { 0x0a07, "Ontrak Control Systems Inc." }, { 0x0a0b, "Cybex Computer Products Co." }, { 0x0a0d, "Servergy, Inc" }, { 0x0a11, "Xentec, Inc." }, { 0x0a12, "Cambridge Silicon Radio, Ltd" }, { 0x0a13, "Telebyte, Inc." }, { 0x0a14, "Spacelabs Medical, Inc." }, { 0x0a15, "Scalar Corp." }, { 0x0a16, "Trek Technology (S) PTE, Ltd" }, { 0x0a17, "Pentax Corp." }, { 0x0a18, "Heidelberger Druckmaschinen AG" }, { 0x0a19, "Hua Geng Technologies, Inc." }, { 0x0a21, "Medtronic Physio Control Corp." }, { 0x0a22, "Century Semiconductor USA, Inc." }, { 0x0a27, "Datacard Group" }, { 0x0a2c, "AK-Modul-Bus Computer GmbH" }, { 0x0a34, "TG3 Electronics, Inc." }, { 0x0a35, "Radikal Technologies" }, { 0x0a39, "Gilat Satellite Networks, Ltd" }, { 0x0a3a, "PentaMedia Co., Ltd" }, { 0x0a3c, "NTT DoCoMo, Inc." }, { 0x0a3d, "Varo Vision" }, { 0x0a3f, "Swissonic AG" }, { 0x0a43, "Boca Systems, Inc." }, { 0x0a46, "Davicom Semiconductor, Inc." }, { 0x0a47, "Hirose Electric" }, { 0x0a48, "I/O Interconnect" }, { 0x0a4a, "Ploytec GmbH" }, { 0x0a4b, "Fujitsu Media Devices, Ltd" }, { 0x0a4c, "Computex Co., Ltd" }, { 0x0a4d, "Evolution Electronics, Ltd" }, { 0x0a4e, "Steinberg Soft-und Hardware GmbH" }, { 0x0a4f, "Litton Systems, Inc." }, { 0x0a50, "Mimaki Engineering Co., Ltd" }, { 0x0a51, "Sony Electronics, Inc." }, { 0x0a52, "Jebsee Electronics Co., Ltd" }, { 0x0a53, "Portable Peripheral Co., Ltd" }, { 0x0a5a, "Electronics For Imaging, Inc." }, { 0x0a5b, "EAsics NV" }, { 0x0a5c, "Broadcom Corp." }, { 0x0a5d, "Diatrend Corp." }, { 0x0a5f, "Zebra" }, { 0x0a62, "MPMan" }, { 0x0a66, "ClearCube Technology" }, { 0x0a67, "Medeli Electronics Co., Ltd" }, { 0x0a68, "Comaide Corp." }, { 0x0a69, "Chroma ate, Inc." }, { 0x0a6b, "Green House Co., Ltd" }, { 0x0a6c, "Integrated Circuit Systems, Inc." }, { 0x0a6d, "UPS Manufacturing" }, { 0x0a6e, "Benwin" }, { 0x0a6f, "Core Technology, Inc." }, { 0x0a70, "International Game Technology" }, { 0x0a71, "VIPColor Technologies USA, Inc." }, { 0x0a72, "Sanwa Denshi" }, { 0x0a73, "Mackie Designs" }, { 0x0a7d, "NSTL, Inc." }, { 0x0a7e, "Octagon Systems Corp." }, { 0x0a80, "Rexon Technology Corp., Ltd" }, { 0x0a81, "Chesen Electronics Corp." }, { 0x0a82, "Syscan" }, { 0x0a83, "NextComm, Inc." }, { 0x0a84, "Maui Innovative Peripherals" }, { 0x0a85, "Idexx Labs" }, { 0x0a86, "NITGen Co., Ltd" }, { 0x0a89, "Aktiv" }, { 0x0a8d, "Picturetel" }, { 0x0a8e, "Japan Aviation Electronics Industry, Ltd" }, { 0x0a90, "Candy Technology Co., Ltd" }, { 0x0a91, "Globlink Technology, Inc." }, { 0x0a92, "EGO SYStems, Inc." }, { 0x0a93, "C Technologies AB" }, { 0x0a94, "Intersense" }, { 0x0aa3, "Lava Computer Mfg., Inc." }, { 0x0aa4, "Develco Elektronik" }, { 0x0aa5, "First International Digital" }, { 0x0aa6, "Perception Digital, Ltd" }, { 0x0aa7, "Wincor Nixdorf International GmbH" }, { 0x0aa8, "TriGem Computer, Inc." }, { 0x0aa9, "Baromtec Co." }, { 0x0aaa, "Japan CBM Corp." }, { 0x0aab, "Vision Shape Europe SA" }, { 0x0aac, "iCompression, Inc." }, { 0x0aad, "Rohde & Schwarz GmbH & Co. KG" }, { 0x0aae, "NEC infrontia Corp. (Nitsuko)" }, { 0x0aaf, "Digitalway Co., Ltd" }, { 0x0ab0, "Arrow Strong Electronics Co., Ltd" }, { 0x0ab1, "FEIG ELECTRONIC GmbH" }, { 0x0aba, "Ellisys" }, { 0x0abe, "Stereo-Link" }, { 0x0abf, "Diolan" }, { 0x0ac3, "Sanyo Semiconductor Company Micro" }, { 0x0ac4, "Leco Corp." }, { 0x0ac5, "I & C Corp." }, { 0x0ac6, "Singing Electrons, Inc." }, { 0x0ac7, "Panwest Corp." }, { 0x0ac8, "Z-Star Microelectronics Corp." }, { 0x0ac9, "Micro Solutions, Inc." }, { 0x0aca, "OPEN Networks Ltd" }, { 0x0acc, "Koga Electronics Co." }, { 0x0acd, "ID Tech" }, { 0x0ace, "ZyDAS" }, { 0x0acf, "Intoto, Inc." }, { 0x0ad0, "Intellix Corp." }, { 0x0ad1, "Remotec Technology, Ltd" }, { 0x0ad2, "Service & Quality Technology Co., Ltd" }, { 0x0ada, "Data Encryption Systems Ltd." }, { 0x0ae3, "Allion Computer, Inc." }, { 0x0ae4, "Taito Corp." }, { 0x0ae7, "Neodym Systems, Inc." }, { 0x0ae8, "System Support Co., Ltd" }, { 0x0ae9, "North Shore Circuit Design L.L.P." }, { 0x0aea, "SciEssence, LLC" }, { 0x0aeb, "TTP Communications, Ltd" }, { 0x0aec, "Neodio Technologies Corp." }, { 0x0af0, "Option" }, { 0x0af6, "Silver I Co., Ltd" }, { 0x0af7, "B2C2, Inc." }, { 0x0af9, "Hama, Inc." }, { 0x0afa, "DMC Co., Ltd." }, { 0x0afc, "Zaptronix Ltd" }, { 0x0afd, "Tateno Dennou, Inc." }, { 0x0afe, "Cummins Engine Co." }, { 0x0aff, "Jump Zone Network Products, Inc." }, { 0x0b00, "INGENICO" }, { 0x0b05, "ASUSTek Computer, Inc." }, { 0x0b0b, "Datamax-O'Neil" }, { 0x0b0c, "Todos AB" }, { 0x0b0d, "ProjectLab" }, { 0x0b0e, "GN Netcom" }, { 0x0b0f, "AVID Technology" }, { 0x0b10, "Pcally" }, { 0x0b11, "I Tech Solutions Co., Ltd" }, { 0x0b1e, "Electronic Warfare Assoc., Inc. (EWA)" }, { 0x0b1f, "Insyde Software Corp." }, { 0x0b20, "TransDimension, Inc." }, { 0x0b21, "Yokogawa Electric Corp." }, { 0x0b22, "Japan System Development Co., Ltd" }, { 0x0b23, "Pan-Asia Electronics Co., Ltd" }, { 0x0b24, "Link Evolution Corp." }, { 0x0b27, "Ritek Corp." }, { 0x0b28, "Kenwood Corp." }, { 0x0b2c, "Village Center, Inc." }, { 0x0b30, "PNY Technologies, Inc." }, { 0x0b33, "Contour Design, Inc." }, { 0x0b37, "Hitachi ULSI Systems Co., Ltd" }, { 0x0b38, "Gear Head" }, { 0x0b39, "Omnidirectional Control Technology, Inc." }, { 0x0b3a, "IPaxess" }, { 0x0b3b, "Tekram Technology Co., Ltd" }, { 0x0b3c, "Olivetti Techcenter" }, { 0x0b3e, "Kikusui Electronics Corp." }, { 0x0b41, "Hal Corp." }, { 0x0b43, "Play.com, Inc." }, { 0x0b47, "Sportbug.com, Inc." }, { 0x0b48, "TechnoTrend AG" }, { 0x0b49, "ASCII Corp." }, { 0x0b4b, "Pine Corp. Ltd." }, { 0x0b4d, "Graphtec America, Inc." }, { 0x0b4e, "Musical Electronics, Ltd" }, { 0x0b50, "Dumpries Co., Ltd" }, { 0x0b51, "Comfort Keyboard Co." }, { 0x0b52, "Colorado MicroDisplay, Inc." }, { 0x0b54, "Sinbon Electronics Co., Ltd" }, { 0x0b56, "TYI Systems, Ltd" }, { 0x0b57, "Beijing HanwangTechnology Co., Ltd" }, { 0x0b59, "Lake Communications, Ltd" }, { 0x0b5a, "Corel Corp." }, { 0x0b5f, "Green Electronics Co., Ltd" }, { 0x0b60, "Nsine, Ltd" }, { 0x0b61, "NEC Viewtechnology, Ltd" }, { 0x0b62, "Orange Micro, Inc." }, { 0x0b63, "ADLink Technology, Inc." }, { 0x0b64, "Wonderful Wire Cable Co., Ltd" }, { 0x0b65, "Expert Magnetics Corp." }, { 0x0b66, "Cybiko Inc." }, { 0x0b67, "Fairbanks Scales" }, { 0x0b69, "CacheVision" }, { 0x0b6a, "Maxim Integrated Products" }, { 0x0b6f, "Nagano Japan Radio Co., Ltd" }, { 0x0b70, "PortalPlayer, Inc." }, { 0x0b71, "SHIN-EI Sangyo Co., Ltd" }, { 0x0b72, "Embedded Wireless Technology Co., Ltd" }, { 0x0b73, "Computone Corp." }, { 0x0b75, "Roland DG Corp." }, { 0x0b79, "Sunrise Telecom, Inc." }, { 0x0b7a, "Zeevo, Inc." }, { 0x0b7b, "Taiko Denki Co., Ltd" }, { 0x0b7c, "ITRAN Communications, Ltd" }, { 0x0b7d, "Astrodesign, Inc." }, { 0x0b81, "id3 Technologies" }, { 0x0b84, "Rextron Technology, Inc." }, { 0x0b85, "Elkat Electronics, Sdn., Bhd." }, { 0x0b86, "Exputer Systems, Inc." }, { 0x0b87, "Plus-One I & T, Inc." }, { 0x0b88, "Sigma Koki Co., Ltd, Technology Center" }, { 0x0b89, "Advanced Digital Broadcast, Ltd" }, { 0x0b8c, "SMART Technologies Inc." }, { 0x0b95, "ASIX Electronics Corp." }, { 0x0b96, "Sewon Telecom" }, { 0x0b97, "O2 Micro, Inc." }, { 0x0b98, "Playmates Toys, Inc." }, { 0x0b99, "Audio International, Inc." }, { 0x0b9b, "Dipl.-Ing. Stefan Kunde" }, { 0x0b9d, "Softprotec Co." }, { 0x0b9f, "Chippo Technologies" }, { 0x0baf, "U.S. Robotics" }, { 0x0bb0, "Concord Camera Corp." }, { 0x0bb1, "Infinilink Corp." }, { 0x0bb2, "Ambit Microsystems Corp." }, { 0x0bb3, "Ofuji Technology" }, { 0x0bb4, "HTC (High Tech Computer Corp.)" }, { 0x0bb5, "Murata Manufacturing Co., Ltd" }, { 0x0bb6, "Network Alchemy" }, { 0x0bb7, "Joytech Computer Co., Ltd" }, { 0x0bb8, "Hitachi Semiconductor and Devices Sales Co., Ltd" }, { 0x0bb9, "Eiger M&C Co., Ltd" }, { 0x0bba, "ZAccess Systems" }, { 0x0bbb, "General Meters Corp." }, { 0x0bbc, "Assistive Technology, Inc." }, { 0x0bbd, "System Connection, Inc." }, { 0x0bc0, "Knilink Technology, Inc." }, { 0x0bc1, "Fuw Yng Electronics Co., Ltd" }, { 0x0bc2, "Seagate RSS LLC" }, { 0x0bc3, "IPWireless, Inc." }, { 0x0bc4, "Microcube Corp." }, { 0x0bc5, "JCN Co., Ltd" }, { 0x0bc6, "ExWAY, Inc." }, { 0x0bc7, "X10 Wireless Technology, Inc." }, { 0x0bc8, "Telmax Communications" }, { 0x0bc9, "ECI Telecom, Ltd" }, { 0x0bca, "Startek Engineering, Inc." }, { 0x0bcb, "Perfect Technic Enterprise Co., Ltd" }, { 0x0bd7, "Andrew Pargeter & Associates" }, { 0x0bda, "Realtek Semiconductor Corp." }, { 0x0bdb, "Ericsson Business Mobile Networks BV" }, { 0x0bdc, "Y Media Corp." }, { 0x0bdd, "Orange PCS" }, { 0x0be2, "Kanda Tsushin Kogyo Co., Ltd" }, { 0x0be3, "TOYO Corp." }, { 0x0be4, "Elka International, Ltd" }, { 0x0be5, "DOME imaging systems, Inc." }, { 0x0be6, "Dong Guan Humen Wonderful Wire Cable Factory" }, { 0x0bed, "MEI" }, { 0x0bee, "LTK Industries, Ltd" }, { 0x0bef, "Way2Call Communications" }, { 0x0bf0, "Pace Micro Technology PLC" }, { 0x0bf1, "Intracom S.A." }, { 0x0bf2, "Konexx" }, { 0x0bf6, "Addonics Technologies, Inc." }, { 0x0bf7, "Sunny Giken, Inc." }, { 0x0bf8, "Fujitsu Siemens Computers" }, { 0x0bfb, "Grass Valley Group" }, { 0x0bfd, "Kvaser AB" }, { 0x0c00, "FireFly Mouse Mat" }, { 0x0c04, "MOTO Development Group, Inc." }, { 0x0c05, "Appian Graphics" }, { 0x0c06, "Hasbro Games, Inc." }, { 0x0c07, "Infinite Data Storage, Ltd" }, { 0x0c08, "Agate" }, { 0x0c09, "Comjet Information System" }, { 0x0c0a, "Highpoint Technologies, Inc." }, { 0x0c0b, "Dura Micro, Inc. (Acomdata)" }, { 0x0c12, "Zeroplus" }, { 0x0c15, "Iris Graphics" }, { 0x0c16, "Gyration, Inc." }, { 0x0c17, "Cyberboard A/S" }, { 0x0c18, "SynerTek Korea, Inc." }, { 0x0c19, "cyberPIXIE, Inc." }, { 0x0c1a, "Silicon Motion, Inc." }, { 0x0c1b, "MIPS Technologies" }, { 0x0c1c, "Hang Zhou Silan Electronics Co., Ltd" }, { 0x0c1f, "Magicard" }, { 0x0c22, "Tally Printer Corp." }, { 0x0c23, "Lernout + Hauspie" }, { 0x0c24, "Taiyo Yuden" }, { 0x0c25, "Sampo Corp." }, { 0x0c26, "Prolific Technology Inc." }, { 0x0c27, "RFIDeas, Inc" }, { 0x0c2e, "Metrologic Instruments" }, { 0x0c30, "Mutoh Industries Ltd" }, { 0x0c35, "Eagletron, Inc." }, { 0x0c36, "E Ink Corp." }, { 0x0c37, "e.Digital" }, { 0x0c38, "Der An Electric Wire & Cable Co., Ltd" }, { 0x0c39, "IFR" }, { 0x0c3a, "Furui Precise Component (Kunshan) Co., Ltd" }, { 0x0c3b, "Komatsu, Ltd" }, { 0x0c3c, "Radius Co., Ltd" }, { 0x0c3d, "Innocom, Inc." }, { 0x0c3e, "Nextcell, Inc." }, { 0x0c40, "ELMCU" }, { 0x0c44, "Motorola iDEN" }, { 0x0c45, "Microdia" }, { 0x0c46, "WaveRider Communications, Inc." }, { 0x0c4a, "ALGE-TIMING GmbH" }, { 0x0c4b, "Reiner SCT Kartensysteme GmbH" }, { 0x0c4c, "Needham's Electronics" }, { 0x0c52, "Sealevel Systems, Inc." }, { 0x0c53, "ViewPLUS, Inc." }, { 0x0c54, "Glory, Ltd" }, { 0x0c55, "Spectrum Digital, Inc." }, { 0x0c56, "Billion Bright, Ltd" }, { 0x0c57, "Imaginative Design Operation Co., Ltd" }, { 0x0c58, "Vidar Systems Corp." }, { 0x0c59, "Dong Guan Shinko Wire Co., Ltd" }, { 0x0c5a, "TRS International Mfg., Inc." }, { 0x0c5e, "Xytronix Research & Design" }, { 0x0c60, "Apogee Electronics Corp." }, { 0x0c62, "Chant Sincere Co., Ltd" }, { 0x0c63, "Toko, Inc." }, { 0x0c64, "Signality System Engineering Co., Ltd" }, { 0x0c65, "Eminence Enterprise Co., Ltd" }, { 0x0c66, "Rexon Electronics Corp." }, { 0x0c67, "Concept Telecom, Ltd" }, { 0x0c6a, "ACS" }, { 0x0c6c, "JETI Technische Instrumente GmbH" }, { 0x0c70, "MCT Elektronikladen" }, { 0x0c72, "PEAK System" }, { 0x0c74, "Optronic Laboratories Inc." }, { 0x0c76, "JMTek, LLC." }, { 0x0c77, "Sipix Group, Ltd" }, { 0x0c78, "Detto Corp." }, { 0x0c79, "NuConnex Technologies Pte., Ltd" }, { 0x0c7a, "Wing-Span Enterprise Co., Ltd" }, { 0x0c86, "NDA Technologies, Inc." }, { 0x0c88, "Kyocera Wireless Corp." }, { 0x0c89, "Honda Tsushin Kogyo Co., Ltd" }, { 0x0c8a, "Pathway Connectivity, Inc." }, { 0x0c8b, "Wavefly Corp." }, { 0x0c8c, "Coactive Networks" }, { 0x0c8d, "Tempo" }, { 0x0c8e, "Cesscom Co., Ltd" }, { 0x0c8f, "Applied Microsystems" }, { 0x0c94, "Cryptera" }, { 0x0c98, "Berkshire Products, Inc." }, { 0x0c99, "Innochips Co., Ltd" }, { 0x0c9a, "Hanwool Robotics Corp." }, { 0x0c9b, "Jobin Yvon, Inc." }, { 0x0c9c, "Brand Innovators BV" }, { 0x0c9d, "SemTek" }, { 0x0ca2, "Zyfer" }, { 0x0ca3, "Sega Corp." }, { 0x0ca4, "ST&T Instrument Corp." }, { 0x0ca5, "BAE Systems Canada, Inc." }, { 0x0ca6, "Castles Technology Co., Ltd" }, { 0x0ca7, "Information Systems Laboratories" }, { 0x0caa, "Allied Telesis KK." }, { 0x0cad, "Motorola CGISS" }, { 0x0cae, "Ascom Business Systems, Ltd" }, { 0x0caf, "Buslink" }, { 0x0cb0, "Flying Pig Systems" }, { 0x0cb1, "Innovonics, Inc." }, { 0x0cb6, "Celestix Networks, Pte., Ltd" }, { 0x0cb7, "Singatron Enterprise Co., Ltd" }, { 0x0cb8, "Opticis Co., Ltd" }, { 0x0cba, "Trust Electronic (Shanghai) Co., Ltd" }, { 0x0cbb, "Shanghai Darong Electronics Co., Ltd" }, { 0x0cbc, "Palmax Technology Co., Ltd" }, { 0x0cbd, "Pentel Co., Ltd (Electronics Equipment Div.)" }, { 0x0cbe, "Keryx Technologies, Inc." }, { 0x0cbf, "Union Genius Computer Co., Ltd" }, { 0x0cc0, "Kuon Yi Industrial Corp." }, { 0x0cc1, "Given Imaging, Ltd" }, { 0x0cc2, "Timex Corp." }, { 0x0cc3, "Rimage Corp." }, { 0x0cc4, "emsys GmbH" }, { 0x0cc5, "Sendo" }, { 0x0cc6, "Intermagic Corp." }, { 0x0cc8, "Technotools Corp." }, { 0x0cc9, "BroadMAX Technologies, Inc." }, { 0x0cca, "Amphenol" }, { 0x0ccb, "SKNet Co., Ltd" }, { 0x0ccc, "Domex Technology Corp." }, { 0x0ccd, "TerraTec Electronic GmbH" }, { 0x0cd4, "Bang Olufsen" }, { 0x0cd5, "LabJack Corporation" }, { 0x0cd6, "Scheidt & Bachmann" }, { 0x0cd7, "NewChip S.r.l." }, { 0x0cd8, "JS Digitech, Inc." }, { 0x0cd9, "Hitachi Shin Din Cable, Ltd" }, { 0x0cde, "Z-Com" }, { 0x0ce5, "Validation Technologies International" }, { 0x0ce9, "Pico Technology" }, { 0x0cf1, "e-Conn Electronic Co., Ltd" }, { 0x0cf2, "ENE Technology, Inc." }, { 0x0cf3, "Qualcomm Atheros Communications" }, { 0x0cf4, "Fomtex Corp." }, { 0x0cf5, "Cellink Co., Ltd" }, { 0x0cf6, "Compucable Corp." }, { 0x0cf7, "ishoni Networks" }, { 0x0cf8, "Clarisys, Inc." }, { 0x0cf9, "Central System Research Co., Ltd" }, { 0x0cfa, "Inviso, Inc." }, { 0x0cfc, "Minolta-QMS, Inc." }, { 0x0cff, "SAFA MEDIA Co., Ltd." }, { 0x0d06, "telos EDV Systementwicklung GmbH" }, { 0x0d08, "UTStarcom" }, { 0x0d0b, "Contemporary Controls" }, { 0x0d0c, "Astron Electronics Co., Ltd" }, { 0x0d0d, "MKNet Corp." }, { 0x0d0e, "Hybrid Networks, Inc." }, { 0x0d0f, "Feng Shin Cable Co., Ltd" }, { 0x0d10, "Elastic Networks" }, { 0x0d11, "Maspro Denkoh Corp." }, { 0x0d12, "Hansol Electronics, Inc." }, { 0x0d13, "BMF Corp." }, { 0x0d14, "Array Comm, Inc." }, { 0x0d15, "OnStream b.v." }, { 0x0d16, "Hi-Touch Imaging Technologies Co., Ltd" }, { 0x0d17, "NALTEC, Inc." }, { 0x0d18, "coaXmedia" }, { 0x0d19, "Hank Connection Industrial Co., Ltd" }, { 0x0d28, "NXP" }, { 0x0d2f, "Andamiro" }, { 0x0d32, "Leo Hui Electric Wire & Cable Co., Ltd" }, { 0x0d33, "AirSpeak, Inc." }, { 0x0d34, "Rearden Steel Technologies" }, { 0x0d35, "Dah Kun Co., Ltd" }, { 0x0d3a, "Posiflex Technologies, Inc." }, { 0x0d3c, "Sri Cable Technology, Ltd" }, { 0x0d3d, "Tangtop Technology Co., Ltd" }, { 0x0d3e, "Fitcom, inc." }, { 0x0d3f, "MTS Systems Corp." }, { 0x0d40, "Ascor, Inc." }, { 0x0d41, "Ta Yun Terminals Industrial Co., Ltd" }, { 0x0d42, "Full Der Co., Ltd" }, { 0x0d46, "Kobil Systems GmbH" }, { 0x0d48, "Promethean Limited" }, { 0x0d49, "Maxtor" }, { 0x0d4a, "NF Corp." }, { 0x0d4b, "Grape Systems, Inc." }, { 0x0d4c, "Tedas AG" }, { 0x0d4d, "Coherent, Inc." }, { 0x0d4e, "Agere Systems Netherland BV" }, { 0x0d4f, "EADS Airbus France" }, { 0x0d50, "Cleware GmbH" }, { 0x0d51, "Volex (Asia) Pte., Ltd" }, { 0x0d53, "HMI Co., Ltd" }, { 0x0d54, "Holon Corp." }, { 0x0d55, "ASKA Technologies, Inc." }, { 0x0d56, "AVLAB Technology, Inc." }, { 0x0d57, "Solomon Microtech, Ltd" }, { 0x0d59, "TRC Simulators b.v." }, { 0x0d5c, "SMC Networks, Inc." }, { 0x0d5e, "Myacom, Ltd" }, { 0x0d5f, "CSI, Inc." }, { 0x0d60, "IVL Technologies, Ltd" }, { 0x0d61, "Meilu Electronics (Shenzhen) Co., Ltd" }, { 0x0d62, "Darfon Electronics Corp." }, { 0x0d63, "Fritz Gegauf AG" }, { 0x0d64, "DXG Technology Corp." }, { 0x0d65, "KMJP Co., Ltd" }, { 0x0d66, "TMT" }, { 0x0d67, "Advanet, Inc." }, { 0x0d68, "Super Link Electronics Co., Ltd" }, { 0x0d69, "NSI" }, { 0x0d6a, "Megapower International Corp." }, { 0x0d6b, "And-Or Logic" }, { 0x0d70, "Try Computer Co., Ltd" }, { 0x0d71, "Hirakawa Hewtech Corp." }, { 0x0d72, "Winmate Communication, Inc." }, { 0x0d73, "Hit's Communications, Inc." }, { 0x0d76, "MFP Korea, Inc." }, { 0x0d77, "Power Sentry/Newpoint" }, { 0x0d78, "Japan Distributor Corp." }, { 0x0d7a, "MARX Datentechnik GmbH" }, { 0x0d7b, "Wellco Technology Co., Ltd" }, { 0x0d7c, "Taiwan Line Tek Electronic Co., Ltd" }, { 0x0d7d, "Phison Electronics Corp." }, { 0x0d7e, "American Computer & Digital Components" }, { 0x0d7f, "Essential Reality LLC" }, { 0x0d80, "H.R. Silvine Electronics, Inc." }, { 0x0d81, "TechnoVision" }, { 0x0d83, "Think Outside, Inc." }, { 0x0d87, "Dolby Laboratories Inc." }, { 0x0d89, "Oz Software" }, { 0x0d8a, "King Jim Co., Ltd" }, { 0x0d8b, "Ascom Telecommunications, Ltd" }, { 0x0d8c, "C-Media Electronics, Inc." }, { 0x0d8d, "Promotion & Display Technology, Ltd" }, { 0x0d8e, "Global Sun Technology, Inc." }, { 0x0d8f, "Pitney Bowes" }, { 0x0d90, "Sure-Fire Electrical Corp." }, { 0x0d96, "Skanhex Technology, Inc." }, { 0x0d97, "Santa Barbara Instrument Group" }, { 0x0d98, "Mars Semiconductor Corp." }, { 0x0d99, "Trazer Technologies, Inc." }, { 0x0d9a, "RTX AS" }, { 0x0d9b, "Tat Shing Electrical Co." }, { 0x0d9c, "Chee Chen Hi-Technology Co., Ltd" }, { 0x0d9d, "Sanwa Supply, Inc." }, { 0x0d9e, "Avaya" }, { 0x0d9f, "Powercom Co., Ltd" }, { 0x0da0, "Danger Research" }, { 0x0da1, "Suzhou Peter's Precise Industrial Co., Ltd" }, { 0x0da2, "Land Instruments International, Ltd" }, { 0x0da3, "Nippon Electro-Sensory Devices Corp." }, { 0x0da4, "Polar Electro Oy" }, { 0x0da7, "IOGear, Inc." }, { 0x0da8, "softDSP Co., Ltd" }, { 0x0dab, "Cubig Group" }, { 0x0dad, "Westover Scientific" }, { 0x0db0, "Micro Star International" }, { 0x0db1, "Wen Te Electronics Co., Ltd" }, { 0x0db2, "Shian Hwi Plug Parts, Plastic Factory" }, { 0x0db3, "Tekram Technology Co., Ltd" }, { 0x0db4, "Chung Fu Chen Yeh Enterprise Corp." }, { 0x0db5, "Access IS" }, { 0x0db7, "ELCON Systemtechnik" }, { 0x0dba, "Digidesign" }, { 0x0dbc, "A&D Medical" }, { 0x0dbe, "Jiuh Shiuh Precision Industry Co., Ltd" }, { 0x0dbf, "Jess-Link International" }, { 0x0dc0, "G7 Solutions (formerly Great Notions)" }, { 0x0dc1, "Tamagawa Seiki Co., Ltd" }, { 0x0dc3, "Athena Smartcard Solutions, Inc." }, { 0x0dc4, "inXtron, Inc." }, { 0x0dc5, "SDK Co., Ltd" }, { 0x0dc6, "Precision Squared Technology Corp." }, { 0x0dc7, "First Cable Line, Inc." }, { 0x0dcd, "NetworkFab Corp." }, { 0x0dd0, "Access Solutions" }, { 0x0dd1, "Contek Electronics Co., Ltd" }, { 0x0dd2, "Power Quotient International Co., Ltd" }, { 0x0dd3, "MediaQ" }, { 0x0dd4, "Custom Engineering SPA" }, { 0x0dd5, "California Micro Devices" }, { 0x0dd7, "Kocom Co., Ltd" }, { 0x0dd8, "Netac Technology Co., Ltd" }, { 0x0dd9, "HighSpeed Surfing" }, { 0x0dda, "Integrated Circuit Solution, Inc." }, { 0x0ddb, "Tamarack, Inc." }, { 0x0ddd, "Datelink Technology Co., Ltd" }, { 0x0dde, "Ubicom, Inc." }, { 0x0de0, "BD Consumer Healthcare" }, { 0x0de7, "USBmicro" }, { 0x0dea, "UTECH Electronic (D.G.) Co., Ltd." }, { 0x0ded, "Novasonics" }, { 0x0dee, "Lifetime Memory Products" }, { 0x0def, "Full Rise Electronic Co., Ltd" }, { 0x0df4, "NET&SYS" }, { 0x0df6, "Sitecom Europe B.V." }, { 0x0df7, "Mobile Action Technology, Inc." }, { 0x0dfa, "Toyo Communication Equipment Co., Ltd" }, { 0x0dfc, "GeneralTouch Technology Co., Ltd" }, { 0x0e03, "Nippon Systemware Co., Ltd" }, { 0x0e08, "Winbest Technology Co., Ltd" }, { 0x0e0b, "Amigo Technology Inc." }, { 0x0e0c, "Gesytec" }, { 0x0e0d, "PicoQuant GmbH" }, { 0x0e0f, "VMware, Inc." }, { 0x0e16, "JMTek, LLC" }, { 0x0e17, "Walex Electronic, Ltd" }, { 0x0e1a, "Unisys" }, { 0x0e1b, "Crewave" }, { 0x0e1e, "Green Hills Software" }, { 0x0e20, "Pegasus Technologies Ltd." }, { 0x0e21, "Cowon Systems, Inc." }, { 0x0e22, "Symbian Ltd." }, { 0x0e23, "Liou Yuane Enterprise Co., Ltd" }, { 0x0e25, "VinChip Systems, Inc." }, { 0x0e26, "J-Phone East Co., Ltd" }, { 0x0e2e, "Brady Worldwide, Inc." }, { 0x0e30, "HeartMath LLC" }, { 0x0e34, "Micro Computer Control Corp." }, { 0x0e35, "3Pea Technologies, Inc." }, { 0x0e36, "TiePie engineering" }, { 0x0e38, "Stratitec, Inc." }, { 0x0e39, "Smart Modular Technologies, Inc." }, { 0x0e3a, "Neostar Technology Co., Ltd" }, { 0x0e3b, "Mansella, Ltd" }, { 0x0e41, "Line6, Inc." }, { 0x0e44, "Sun-Riseful Technology Co., Ltd." }, { 0x0e48, "Julia Corp., Ltd" }, { 0x0e4a, "Shenzhen Bao Hing Electric Wire & Cable Mfr. Co." }, { 0x0e4c, "Radica Games, Ltd" }, { 0x0e50, "TechnoData Interware" }, { 0x0e55, "Speed Dragon Multimedia, Ltd" }, { 0x0e56, "Kingston Technology Company, Inc." }, { 0x0e5a, "Active Co., Ltd" }, { 0x0e5b, "Union Power Information Industrial Co., Ltd" }, { 0x0e5c, "Bitland Information Technology Co., Ltd" }, { 0x0e5d, "Neltron Industrial Co., Ltd" }, { 0x0e5e, "Conwise Technology Co., Ltd." }, { 0x0e66, "Hawking Technologies" }, { 0x0e67, "Fossil, Inc." }, { 0x0e6a, "Megawin Technology Co., Ltd" }, { 0x0e6f, "Logic3" }, { 0x0e70, "Tokyo Electronic Industry Co., Ltd" }, { 0x0e72, "Hsi-Chin Electronics Co., Ltd" }, { 0x0e75, "TVS Electronics, Ltd" }, { 0x0e79, "Archos, Inc." }, { 0x0e7b, "On-Tech Industry Co., Ltd" }, { 0x0e7e, "Gmate, Inc." }, { 0x0e82, "Ching Tai Electric Wire & Cable Co., Ltd" }, { 0x0e83, "Shin An Wire & Cable Co." }, { 0x0e8c, "Well Force Electronic Co., Ltd" }, { 0x0e8d, "MediaTek Inc." }, { 0x0e8f, "GreenAsia Inc." }, { 0x0e90, "WiebeTech, LLC" }, { 0x0e91, "VTech Engineering Canada, Ltd" }, { 0x0e92, "C's Glory Enterprise Co., Ltd" }, { 0x0e93, "eM Technics Co., Ltd" }, { 0x0e95, "Future Technology Co., Ltd" }, { 0x0e96, "Aplux Communications, Ltd" }, { 0x0e97, "Fingerworks, Inc." }, { 0x0e98, "Advanced Analogic Technologies, Inc." }, { 0x0e99, "Parallel Dice Co., Ltd" }, { 0x0e9a, "TA HSING Industries, Ltd" }, { 0x0e9b, "ADTEC Corp." }, { 0x0e9c, "Streamzap, Inc." }, { 0x0e9f, "Tamura Corp." }, { 0x0ea0, "Ours Technology, Inc." }, { 0x0ea6, "Nihon Computer Co., Ltd" }, { 0x0ea7, "MSL Enterprises Corp." }, { 0x0ea8, "CenDyne, Inc." }, { 0x0ead, "Humax Co., Ltd" }, { 0x0eb0, "NovaTech" }, { 0x0eb1, "WIS Technologies, Inc." }, { 0x0eb2, "Y-S Electronic Co., Ltd" }, { 0x0eb3, "Saint Technology Corp." }, { 0x0eb7, "Endor AG" }, { 0x0eb8, "Mettler Toledo" }, { 0x0ebb, "Thermo Fisher Scientific" }, { 0x0ebe, "VWeb Corp." }, { 0x0ebf, "Omega Technology of Taiwan, Inc." }, { 0x0ec0, "LHI Technology (China) Co., Ltd" }, { 0x0ec1, "Abit Computer Corp." }, { 0x0ec2, "Sweetray Industrial, Ltd" }, { 0x0ec3, "Axell Co., Ltd" }, { 0x0ec4, "Ballracing Developments, Ltd" }, { 0x0ec5, "GT Information System Co., Ltd" }, { 0x0ec6, "InnoVISION Multimedia, Ltd" }, { 0x0ec7, "Theta Link Corp." }, { 0x0ecd, "Lite-On IT Corp." }, { 0x0ece, "TaiSol Electronics Co., Ltd" }, { 0x0ecf, "Phogenix Imaging, LLC" }, { 0x0ed1, "WinMaxGroup" }, { 0x0ed2, "Kyoto Micro Computer Co., Ltd" }, { 0x0ed3, "Wing-Tech Enterprise Co., Ltd" }, { 0x0ed5, "Fiberbyte" }, { 0x0eda, "Noriake Itron Corp." }, { 0x0edf, "e-MDT Co., Ltd" }, { 0x0ee0, "Shima Seiki Mfg., Ltd" }, { 0x0ee1, "Sarotech Co., Ltd" }, { 0x0ee2, "AMI Semiconductor, Inc." }, { 0x0ee3, "ComTrue Technology Corp." }, { 0x0ee4, "Sunrich Technology, Ltd" }, { 0x0eee, "Digital Stream Technology, Inc." }, { 0x0eef, "D-WAV Scientific Co., Ltd" }, { 0x0ef0, "Hitachi Cable, Ltd" }, { 0x0ef1, "Aichi Micro Intelligent Corp." }, { 0x0ef2, "I/O Magic Corp." }, { 0x0ef3, "Lynn Products, Inc." }, { 0x0ef4, "DSI Datotech" }, { 0x0ef5, "PointChips" }, { 0x0ef6, "Yield Microelectronics Corp." }, { 0x0ef7, "SM Tech Co., Ltd (Tulip)" }, { 0x0efd, "Oasis Semiconductor" }, { 0x0efe, "Wem Technology, Inc." }, { 0x0f03, "Unitek UPS Systems" }, { 0x0f06, "Visual Frontier Enterprise Co., Ltd" }, { 0x0f08, "CSL Wire & Plug (Shen Zhen) Co." }, { 0x0f0c, "CAS Corp." }, { 0x0f0d, "Hori Co., Ltd" }, { 0x0f0e, "Energy Full Corp." }, { 0x0f0f, "Silego Technology Inc" }, { 0x0f11, "LD Didactic GmbH" }, { 0x0f12, "Mars Engineering Corp." }, { 0x0f13, "Acetek Technology Co., Ltd" }, { 0x0f14, "Ingenico" }, { 0x0f18, "Finger Lakes Instrumentation" }, { 0x0f19, "Oracom Co., Ltd" }, { 0x0f1b, "Onset Computer Corp." }, { 0x0f1c, "Funai Electric Co., Ltd" }, { 0x0f1d, "Iwill Corp." }, { 0x0f21, "IOI Technology Corp." }, { 0x0f22, "Senior Industries, Inc." }, { 0x0f23, "Leader Tech Manufacturer Co., Ltd" }, { 0x0f24, "Flex-P Industries, Snd., Bhd." }, { 0x0f2d, "ViPower, Inc." }, { 0x0f2e, "Geniality Maple Technology Co., Ltd" }, { 0x0f2f, "Priva Design Services" }, { 0x0f30, "Jess Technology Co., Ltd" }, { 0x0f31, "Chrysalis Development" }, { 0x0f32, "YFC-BonEagle Electric Co., Ltd" }, { 0x0f37, "Kokuyo Co., Ltd" }, { 0x0f38, "Nien-Yi Industrial Corp." }, { 0x0f39, "TG3 Electronics" }, { 0x0f3d, "Airprime, Incorporated" }, { 0x0f41, "RDC Semiconductor Co., Ltd" }, { 0x0f42, "Nital Consulting Services, Inc." }, { 0x0f44, "Polhemus" }, { 0x0f49, "Evolis SA" }, { 0x0f4b, "St. John Technology Co., Ltd" }, { 0x0f4c, "WorldWide Cable Opto Corp." }, { 0x0f4d, "Microtune, Inc." }, { 0x0f4e, "Freedom Scientific" }, { 0x0f52, "Wing Key Electrical Co., Ltd" }, { 0x0f53, "Dongguan White Horse Cable Factory, Ltd" }, { 0x0f54, "Kawai Musical Instruments Mfg. Co., Ltd" }, { 0x0f55, "AmbiCom, Inc." }, { 0x0f5c, "Prairiecomm, Inc." }, { 0x0f5d, "NewAge International, LLC" }, { 0x0f5f, "Key Technology Corp." }, { 0x0f60, "NTK, Ltd" }, { 0x0f61, "Varian, Inc." }, { 0x0f62, "Acrox Technologies Co., Ltd" }, { 0x0f63, "LeapFrog Enterprises" }, { 0x0f68, "Kobe Steel, Ltd" }, { 0x0f69, "Dionex Corp." }, { 0x0f6a, "Vibren Technologies, Inc." }, { 0x0f6e, "INTELLIGENT SYSTEMS" }, { 0x0f73, "DFI" }, { 0x0f78, "Guntermann & Drunck GmbH" }, { 0x0f7c, "DQ Technology, Inc." }, { 0x0f7d, "NetBotz, Inc." }, { 0x0f7e, "Fluke Corp." }, { 0x0f88, "VTech Holdings, Ltd" }, { 0x0f8b, "Yazaki Corp." }, { 0x0f8c, "Young Generation International Corp." }, { 0x0f8d, "Uniwill Computer Corp." }, { 0x0f8e, "Kingnet Technology Co., Ltd" }, { 0x0f8f, "Soma Networks" }, { 0x0f97, "CviLux Corp." }, { 0x0f98, "CyberBank Corp." }, { 0x0f9c, "Hyun Won, Inc." }, { 0x0f9e, "Lucent Technologies" }, { 0x0fa3, "Starconn Electronic Co., Ltd" }, { 0x0fa4, "ATL Technology" }, { 0x0fa5, "Sotec Co., Ltd" }, { 0x0fa7, "Epox Computer Co., Ltd" }, { 0x0fa8, "Logic Controls, Inc." }, { 0x0faf, "Winpoint Electronic Corp." }, { 0x0fb0, "Haurtian Wire & Cable Co., Ltd" }, { 0x0fb1, "Inclose Design, Inc." }, { 0x0fb2, "Juan-Chern Industrial Co., Ltd" }, { 0x0fb6, "Heber Ltd" }, { 0x0fb8, "Wistron Corp." }, { 0x0fb9, "AACom Corp." }, { 0x0fba, "San Shing Electronics Co., Ltd" }, { 0x0fbb, "Bitwise Systems, Inc." }, { 0x0fc1, "Mitac Internatinal Corp." }, { 0x0fc2, "Plug and Jack Industrial, Inc." }, { 0x0fc5, "Delcom Engineering" }, { 0x0fc6, "Dataplus Supplies, Inc." }, { 0x0fca, "Research In Motion, Ltd." }, { 0x0fce, "Sony Ericsson Mobile Communications AB" }, { 0x0fcf, "Dynastream Innovations, Inc." }, { 0x0fd0, "Tulip Computers B.V." }, { 0x0fd1, "Giant Electronics Ltd." }, { 0x0fd2, "Seac Banche" }, { 0x0fd4, "Tenovis GmbH & Co., KG" }, { 0x0fd5, "Direct Access Technology, Inc." }, { 0x0fd9, "Elgato Systems GmbH" }, { 0x0fda, "Quantec Networks GmbH" }, { 0x0fdc, "Micro Plus" }, { 0x0fde, "Oregon Scientific" }, { 0x0fe0, "Osterhout Design Group" }, { 0x0fe2, "Air Techniques" }, { 0x0fe4, "IN-Tech Electronics, Ltd" }, { 0x0fe5, "Greenconn (U.S.A.), Inc." }, { 0x0fe6, "ICS Advent" }, { 0x0fe9, "DVICO" }, { 0x0fea, "United Computer Accessories" }, { 0x0feb, "CRS Electronic Co., Ltd" }, { 0x0fec, "UMC Electronics Co., Ltd" }, { 0x0fed, "Access Co., Ltd" }, { 0x0fee, "Xsido Corp." }, { 0x0fef, "MJ Research, Inc." }, { 0x0ff6, "Core Valley Co., Ltd" }, { 0x0ff7, "CHI SHING Computer Accessories Co., Ltd" }, { 0x0ffc, "Clavia DMI AB" }, { 0x0ffd, "EarlySense" }, { 0x0fff, "Aopen, Inc." }, { 0x1000, "Speed Tech Corp." }, { 0x1001, "Ritronics Components (S) Pte., Ltd" }, { 0x1003, "Sigma Corp." }, { 0x1004, "LG Electronics, Inc." }, { 0x1005, "Apacer Technology, Inc." }, { 0x1006, "iRiver, Ltd." }, { 0x1009, "Emuzed, Inc." }, { 0x100a, "AV Chaseway, Ltd" }, { 0x100b, "Chou Chin Industrial Co., Ltd" }, { 0x100d, "Netopia, Inc." }, { 0x1010, "Fukuda Denshi Co., Ltd" }, { 0x1011, "Mobile Media Tech." }, { 0x1012, "SDKM Fibres, Wires & Cables Berhad" }, { 0x1013, "TST-Touchless Sensor Technology AG" }, { 0x1014, "Densitron Technologies PLC" }, { 0x1015, "Softronics Pty., Ltd" }, { 0x1016, "Xiamen Hung's Enterprise Co., Ltd" }, { 0x1017, "Speedy Industrial Supplies, Pte., Ltd" }, { 0x1019, "Elitegroup Computer Systems (ECS)" }, { 0x1020, "Labtec" }, { 0x1022, "Shinko Shoji Co., Ltd" }, { 0x1025, "Hyper-Paltek" }, { 0x1026, "Newly Corp." }, { 0x1027, "Time Domain" }, { 0x1028, "Inovys Corp." }, { 0x1029, "Atlantic Coast Telesys" }, { 0x102a, "Ramos Technology Co., Ltd" }, { 0x102b, "Infotronic America, Inc." }, { 0x102c, "Etoms Electronics Corp." }, { 0x102d, "Winic Corp." }, { 0x1031, "Comax Technology, Inc." }, { 0x1032, "C-One Technology Corp." }, { 0x1033, "Nucam Corp." }, { 0x1038, "SteelSeries ApS" }, { 0x1039, "devolo AG" }, { 0x103a, "PSA" }, { 0x103d, "Stanton" }, { 0x1043, "iCreate Technologies Corp." }, { 0x1044, "Chu Yuen Enterprise Co., Ltd" }, { 0x1046, "Winbond Electronics Corp. [hex]" }, { 0x1048, "Targus Group International" }, { 0x104b, "Mylex / Buslogic" }, { 0x104c, "AMCO TEC International, Inc." }, { 0x104d, "Newport Corporation" }, { 0x104f, "WB Electronics" }, { 0x1050, "Yubico.com" }, { 0x1053, "Immanuel Electronics Co., Ltd" }, { 0x1054, "BMS International Beheer N.V." }, { 0x1055, "Complex Micro Interconnection Co., Ltd" }, { 0x1056, "Hsin Chen Ent Co., Ltd" }, { 0x1057, "ON Semiconductor" }, { 0x1058, "Western Digital Technologies, Inc." }, { 0x1059, "Giesecke & Devrient GmbH" }, { 0x105b, "Foxconn International, Inc." }, { 0x105c, "Hong Ji Electric Wire & Cable (Dongguan) Co., Ltd" }, { 0x105d, "Delkin Devices, Inc." }, { 0x105e, "Valence Semiconductor Design, Ltd" }, { 0x105f, "Chin Shong Enterprise Co., Ltd" }, { 0x1060, "Easthome Industrial Co., Ltd" }, { 0x1063, "Motorola Electronics Taiwan, Ltd [hex]" }, { 0x1065, "CCYU Technology" }, { 0x1068, "Micropi Elettronica" }, { 0x106a, "Loyal Legend, Ltd" }, { 0x106c, "Curitel Communications, Inc." }, { 0x106d, "San Chieh Manufacturing, Ltd" }, { 0x106e, "ConectL" }, { 0x106f, "Money Controls" }, { 0x1076, "GCT Semiconductor, Inc." }, { 0x107b, "Gateway, Inc." }, { 0x107d, "Arlec Australia, Ltd" }, { 0x107e, "Midoriya Electric Co., Ltd" }, { 0x107f, "KidzMouse, Inc." }, { 0x1082, "Shin-Etsukaken Co., Ltd" }, { 0x1083, "Canon Electronics, Inc." }, { 0x1084, "Pantech Co., Ltd" }, { 0x108a, "Chloride Power Protection" }, { 0x108b, "Grand-tek Technology Co., Ltd" }, { 0x108c, "Robert Bosch GmbH" }, { 0x108e, "Lotes Co., Ltd." }, { 0x1091, "Numerik Jena" }, { 0x1099, "Surface Optics Corp." }, { 0x109a, "DATASOFT Systems GmbH" }, { 0x109b, "Hisense" }, { 0x109f, "eSOL Co., Ltd" }, { 0x10a0, "Hirotech, Inc." }, { 0x10a3, "Mitsubishi Materials Corp." }, { 0x10a9, "SK Teletech Co., Ltd" }, { 0x10aa, "Cables To Go" }, { 0x10ab, "USI Co., Ltd" }, { 0x10ac, "Honeywell, Inc." }, { 0x10ae, "Princeton Technology Corp." }, { 0x10af, "Liebert Corp." }, { 0x10b5, "Comodo (PLX?)" }, { 0x10b8, "DiBcom" }, { 0x10bb, "TM Technology, Inc." }, { 0x10bc, "Dinging Technology Co., Ltd" }, { 0x10bd, "TMT Technology, Inc." }, { 0x10bf, "SmartHome" }, { 0x10c3, "Universal Laser Systems, Inc." }, { 0x10c4, "Silicon Labs" }, { 0x10c5, "Sanei Electric, Inc." }, { 0x10c6, "Intec, Inc." }, { 0x10cb, "Eratech" }, { 0x10cc, "GBM Connector Co., Ltd" }, { 0x10cd, "Kycon, Inc." }, { 0x10ce, "Silicon Labs" }, { 0x10cf, "Velleman Components, Inc." }, { 0x10d1, "Hottinger Baldwin Measurement" }, { 0x10d2, "RayComposer - R. Adams" }, { 0x10d4, "Man Boon Manufactory, Ltd" }, { 0x10d5, "Uni Class Technology Co., Ltd" }, { 0x10d6, "Actions Semiconductor Co., Ltd" }, { 0x10de, "Authenex, Inc." }, { 0x10df, "In-Win Development, Inc." }, { 0x10e0, "Post-Op Video, Inc." }, { 0x10e1, "CablePlus, Ltd" }, { 0x10e2, "Nada Electronics, Ltd" }, { 0x10ec, "Vast Technologies, Inc." }, { 0x10f0, "Nexio Co., Ltd" }, { 0x10f1, "Importek" }, { 0x10f5, "Turtle Beach" }, { 0x10f8, "Cesys GmbH" }, { 0x10fb, "Pictos Technologies, Inc." }, { 0x10fd, "Anubis Electronics, Ltd" }, { 0x10fe, "Thrane & Thrane" }, { 0x1100, "VirTouch, Ltd" }, { 0x1101, "EasyPass Industrial Co., Ltd" }, { 0x1108, "Brightcom Technologies, Ltd" }, { 0x110a, "Moxa Technologies Co., Ltd." }, { 0x1110, "Analog Devices Canada, Ltd (Allied Telesyn)" }, { 0x1111, "Pandora International Ltd." }, { 0x1112, "YM ELECTRIC CO., Ltd" }, { 0x1113, "Medion AG" }, { 0x111e, "VSO Electric Co., Ltd" }, { 0x112a, "RedRat" }, { 0x112e, "Master Hill Electric Wire and Cable Co., Ltd" }, { 0x112f, "Cellon International, Inc." }, { 0x1130, "Tenx Technology, Inc." }, { 0x1131, "Integrated System Solution Corp." }, { 0x1132, "Toshiba Corp., Digital Media Equipment [hex]" }, { 0x1136, "CTS Electronincs" }, { 0x113c, "Arin Tech Co., Ltd" }, { 0x113d, "Mapower Electronics Co., Ltd" }, { 0x113f, "Integrated Biometrics, LLC" }, { 0x1141, "V One Multimedia, Pte., Ltd" }, { 0x1142, "CyberScan Technologies, Inc." }, { 0x1145, "Japan Radio Company" }, { 0x1146, "Shimane SANYO Electric Co., Ltd." }, { 0x1147, "Ever Great Electric Wire and Cable Co., Ltd" }, { 0x114b, "Sphairon Access Systems GmbH" }, { 0x114c, "Tinius Olsen Testing Machine Co., Inc." }, { 0x114d, "Alpha Imaging Technology Corp." }, { 0x114f, "Wavecom" }, { 0x115b, "Salix Technology Co., Ltd." }, { 0x1162, "Secugen Corp." }, { 0x1163, "DeLorme Publishing, Inc." }, { 0x1164, "YUAN High-Tech Development Co., Ltd" }, { 0x1165, "Telson Electronics Co., Ltd" }, { 0x1166, "Bantam Interactive Technologies" }, { 0x1167, "Salient Systems Corp." }, { 0x1168, "BizConn International Corp." }, { 0x116e, "Gigastorage Corp." }, { 0x116f, "Silicon 10 Technology Corp." }, { 0x1175, "Shengyih Steel Mold Co., Ltd" }, { 0x117d, "Santa Electronic, Inc." }, { 0x117e, "JNC, Inc." }, { 0x1182, "Venture Corp., Ltd" }, { 0x1183, "Compaq Computer Corp. [hex] (Digital Dream ?)" }, { 0x1184, "Kyocera Elco Corp." }, { 0x1188, "Bloomberg L.P." }, { 0x1189, "Acer Communications & Multimedia" }, { 0x118f, "You Yang Technology Co., Ltd" }, { 0x1190, "Tripace" }, { 0x1191, "Loyalty Founder Enterprise Co., Ltd" }, { 0x1196, "Yankee Robotics, LLC" }, { 0x1197, "Technoimagia Co., Ltd" }, { 0x1198, "StarShine Technology Corp." }, { 0x1199, "Sierra Wireless, Inc." }, { 0x119a, "ZHAN QI Technology Co., Ltd" }, { 0x119b, "ruwido austria GmbH" }, { 0x11a0, "Chipcon AS" }, { 0x11a3, "Technovas Co., Ltd" }, { 0x11aa, "GlobalMedia Group, LLC" }, { 0x11ab, "Exito Electronics Co., Ltd" }, { 0x11ac, "Nike" }, { 0x11b0, "ATECH FLASH TECHNOLOGY" }, { 0x11be, "R&D International NV" }, { 0x11c0, "Betop" }, { 0x11c5, "Inmax" }, { 0x11c9, "Nacon" }, { 0x11ca, "VeriFone Inc" }, { 0x11db, "Topfield Co., Ltd." }, { 0x11e6, "K.I. Technology Co. Ltd." }, { 0x11f5, "Siemens AG" }, { 0x11f6, "Prolific" }, { 0x11f7, "Alcatel (?)" }, { 0x1203, "TSC Auto ID Technology Co., Ltd" }, { 0x1209, "Generic" }, { 0x120e, "Hudson Soft Co., Ltd" }, { 0x120f, "Magellan" }, { 0x1210, "DigiTech" }, { 0x121e, "Jungsoft Co., Ltd" }, { 0x121f, "Panini S.p.A." }, { 0x1220, "TC Electronic" }, { 0x1221, "Unknown manufacturer" }, { 0x1222, "TiPro" }, { 0x1223, "SKYCABLE ENTERPRISE. CO., LTD." }, { 0x1228, "Datapaq Limited" }, { 0x1230, "Chipidea-Microelectronica, S.A." }, { 0x1233, "Denver Electronics" }, { 0x1234, "Brain Actuated Technologies" }, { 0x1235, "Focusrite-Novation" }, { 0x1241, "Belkin" }, { 0x1243, "Holtek Semiconductor, Inc." }, { 0x124a, "AirVast" }, { 0x124b, "Nyko (Honey Bee)" }, { 0x124c, "MXI - Memory Experts International, Inc." }, { 0x125c, "Apogee Inc." }, { 0x125d, "JMicron" }, { 0x125f, "A-DATA Technology Co., Ltd." }, { 0x1260, "Standard Microsystems Corp." }, { 0x1264, "Covidien Energy-based Devices" }, { 0x1266, "Pirelli Broadband Solutions" }, { 0x1267, "Logic3 / SpectraVideo plc" }, { 0x126c, "Aristocrat Technologies" }, { 0x126d, "Bel Stewart" }, { 0x126e, "Strobe Data, Inc." }, { 0x126f, "TwinMOS" }, { 0x1274, "Ensoniq" }, { 0x1275, "Xaxero Marine Software Engineering, Ltd." }, { 0x1278, "Starlight Xpress" }, { 0x1283, "zebris Medical GmbH" }, { 0x1286, "Marvell Semiconductor, Inc." }, { 0x1291, "Qualcomm Flarion Technologies, Inc. / Leadtek Research, Inc." }, { 0x1292, "Innomedia" }, { 0x1293, "Belkin Components [hex]" }, { 0x1294, "RISO KAGAKU CORP." }, { 0x1297, "DekTec" }, { 0x129b, "CyberTAN Technology" }, { 0x12a7, "Trendchip Technologies Corp." }, { 0x12ab, "Honey Bee Electronic International Ltd." }, { 0x12b8, "Zhejiang Xinya Electronic Technology Co., Ltd." }, { 0x12b9, "E28" }, { 0x12ba, "Licensed by Sony Computer Entertainment America" }, { 0x12bd, "Gembird" }, { 0x12c4, "Autocue Group Ltd" }, { 0x12cf, "DEXIN" }, { 0x12d1, "Huawei Technologies Co., Ltd." }, { 0x12d2, "LINE TECH INDUSTRIAL CO., LTD." }, { 0x12d3, "LINAK" }, { 0x12d6, "EMS Dr. Thomas Wuensche" }, { 0x12d7, "BETTER WIRE FACTORY CO., LTD." }, { 0x12d8, "Araneus Information Systems Oy" }, { 0x12e6, "Waldorf Music GmbH" }, { 0x12ef, "Tapwave, Inc." }, { 0x12f2, "ViewPlus Technologies, Inc." }, { 0x12f5, "Dynamic System Electronics Corp." }, { 0x12f7, "Memorex Products, Inc." }, { 0x12fd, "AIN Comm. Technology Co., Ltd" }, { 0x12ff, "Fascinating Electronics, Inc." }, { 0x1306, "FM20 Barcode Scanner" }, { 0x1307, "Transcend Information, Inc." }, { 0x1308, "Shuttle, Inc." }, { 0x1310, "Roper" }, { 0x1312, "ICS Electronics" }, { 0x1313, "ThorLabs" }, { 0x131d, "Natural Point" }, { 0x1325, "ams AG" }, { 0x132a, "Envara Inc." }, { 0x132b, "Konica Minolta" }, { 0x133e, "Kemper Digital GmbH" }, { 0x1342, "Mobility" }, { 0x1343, "Citizen Systems" }, { 0x1345, "Sino Lite Technology Corp." }, { 0x1347, "Moravian Instruments" }, { 0x1348, "Katsuragawa Electric Co., Ltd." }, { 0x134c, "PanJit International Inc." }, { 0x134e, "Digby's Bitpile, Inc. DBA D Bit" }, { 0x1357, "P&E Microcomputer Systems" }, { 0x135e, "Insta GmbH" }, { 0x135f, "Control Development Inc." }, { 0x1366, "SEGGER" }, { 0x136b, "STEC" }, { 0x136e, "Andor Technology Ltd." }, { 0x1370, "Swissbit" }, { 0x1371, "CNet Technology Inc." }, { 0x1376, "Vimtron Electronics Co., Ltd." }, { 0x1377, "Sennheiser electronic GmbH & Co. KG" }, { 0x137b, "SCAPS GmbH" }, { 0x137c, "YASKAWA ELECTRIC CORP." }, { 0x1385, "Netgear, Inc" }, { 0x138a, "Validity Sensors, Inc." }, { 0x138e, "Jungo LTD" }, { 0x1390, "TOMTOM B.V." }, { 0x1391, "IdealTEK, Inc." }, { 0x1395, "DSEA A/S" }, { 0x1397, "BEHRINGER International GmbH" }, { 0x1398, "Q-tec" }, { 0x13ad, "Baltech" }, { 0x13b0, "PerkinElmer Optoelectronics" }, { 0x13b1, "Linksys" }, { 0x13b2, "Alesis" }, { 0x13b3, "Nippon Dics Co., Ltd." }, { 0x13ba, "PCPlay" }, { 0x13be, "Ricoh Printing Systems, Ltd." }, { 0x13ca, "JyeTai Precision Industrial Co., Ltd." }, { 0x13cf, "Wisair Ltd." }, { 0x13d0, "Techsan Electronics Co., Ltd." }, { 0x13d1, "A-Max Technology Macao Commercial Offshore Co. Ltd." }, { 0x13d2, "Shark Multimedia" }, { 0x13d3, "IMC Networks" }, { 0x13d7, "Guidance Software, Inc." }, { 0x13dc, "ALEREON, INC." }, { 0x13dd, "i.Tech Dynamic Limited" }, { 0x13e1, "Kaibo Wire & Cable (Shenzhen) Co., Ltd." }, { 0x13e5, "Rane" }, { 0x13e6, "TechnoScope Co., Ltd." }, { 0x13ea, "Hengstler" }, { 0x13ec, "Zydacron" }, { 0x13ee, "MosArt" }, { 0x13fd, "Initio Corporation" }, { 0x13fe, "Phison Electronics Corp." }, { 0x1400, "Axxion Group Corp." }, { 0x1402, "Bowe Bell & Howell" }, { 0x1403, "Sitronix" }, { 0x1404, "Fundamental Software, Inc." }, { 0x1409, "IDS Imaging Development Systems GmbH" }, { 0x140e, "Telechips, Inc." }, { 0x1410, "Novatel Wireless" }, { 0x1415, "Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc." }, { 0x1419, "ABILITY ENTERPRISE CO., LTD." }, { 0x1421, "Sensor Technology" }, { 0x1424, "Posnet Polska S.A." }, { 0x1429, "Vega Technologies Industrial (Austria) Co." }, { 0x142a, "Thales E-Transactions" }, { 0x142b, "Arbiter Systems, Inc." }, { 0x1430, "RedOctane" }, { 0x1431, "Pertech Resources, Inc." }, { 0x1435, "Wistron NeWeb" }, { 0x1436, "Denali Software, Inc." }, { 0x143c, "Altek Corporation" }, { 0x1443, "Digilent" }, { 0x1446, "X.J.GROUP" }, { 0x1451, "Force Dimension" }, { 0x1452, "Dai Nippon Printing, Inc" }, { 0x1453, "Radio Shack" }, { 0x1456, "Extending Wire & Cable Co., Ltd." }, { 0x1457, "First International Computer, Inc." }, { 0x145f, "Trust" }, { 0x1460, "Tatung Co." }, { 0x1461, "Staccato Communications" }, { 0x1462, "Micro Star International" }, { 0x146b, "BigBen Interactive" }, { 0x1472, "Huawei-3Com" }, { 0x147a, "Formosa Industrial Computing, Inc." }, { 0x147e, "Upek" }, { 0x147f, "Hama GmbH & Co., KG" }, { 0x1482, "Vaillant" }, { 0x1484, "Elsa AG [hex]" }, { 0x1485, "Silicom" }, { 0x1487, "DSP Group, Ltd." }, { 0x148e, "EVATRONIX SA" }, { 0x148f, "Ralink Technology, Corp." }, { 0x1491, "Futronic Technology Co. Ltd." }, { 0x1493, "Suunto" }, { 0x1497, "Panstrong Company Ltd." }, { 0x1498, "Microtek International Inc." }, { 0x149a, "Imagination Technologies" }, { 0x14aa, "WideView Technology Inc." }, { 0x14ad, "CTK Corporation" }, { 0x14ae, "Printronix Inc." }, { 0x14af, "ATP Electronics Inc." }, { 0x14b0, "StarTech.com Ltd." }, { 0x14b2, "Ralink Technology, Corp." }, { 0x14c0, "Rockwell Automation, Inc." }, { 0x14c2, "Gemlight Computer, Ltd" }, { 0x14c8, "Zytronic" }, { 0x14cd, "Super Top" }, { 0x14d8, "JAMER INDUSTRIES CO., LTD." }, { 0x14dd, "Raritan Computer, Inc." }, { 0x14e0, "WiNRADiO Communications" }, { 0x14e1, "Dialogue Technology Corp." }, { 0x14e5, "SAIN Information & Communications Co., Ltd." }, { 0x14ea, "Planex Communications" }, { 0x14ed, "Shure Inc." }, { 0x14f7, "TechniSat Digital GmbH" }, { 0x1500, "Ellisys" }, { 0x1501, "Pine-Tum Enterprise Co., Ltd." }, { 0x1504, "Bixolon CO LTD" }, { 0x1508, "Fibocom" }, { 0x1509, "First International Computer, Inc." }, { 0x1513, "medMobile" }, { 0x1514, "Actel" }, { 0x1516, "CompUSA" }, { 0x1518, "Cheshire Engineering Corp." }, { 0x1519, "Comneon" }, { 0x151f, "Opal Kelly Incorporated" }, { 0x1520, "Bitwire Corp." }, { 0x1524, "ENE Technology Inc" }, { 0x1527, "Silicon Portals" }, { 0x1529, "UBIQUAM Co., Ltd." }, { 0x152a, "Thesycon Systemsoftware & Consulting GmbH" }, { 0x152b, "MIR Srl" }, { 0x152d, "JMicron Technology Corp. / JMicron USA Technology Corp." }, { 0x152e, "LG (HLDS)" }, { 0x1532, "Razer USA, Ltd" }, { 0x153b, "TerraTec Electronic GmbH" }, { 0x1546, "U-Blox AG" }, { 0x1547, "SG Intec Ltd & Co KG" }, { 0x154a, "Celectronic GmbH" }, { 0x154b, "PNY" }, { 0x154d, "ConnectCounty Holdings Berhad" }, { 0x154e, "D&M Holdings, Inc. (Denon/Marantz)" }, { 0x154f, "SNBC CO., Ltd" }, { 0x1554, "Prolink Microsystems Corp." }, { 0x1557, "OQO" }, { 0x1568, "Sunf Pu Technology Co., Ltd" }, { 0x156f, "Quantum Corporation" }, { 0x1570, "ALLTOP TECHNOLOGY CO., LTD." }, { 0x157b, "Ketron SRL" }, { 0x157e, "TRENDnet" }, { 0x1582, "Fiberline" }, { 0x1587, "SMA Technologie AG" }, { 0x158d, "Oakley Inc." }, { 0x158e, "JDS Uniphase Corporation (JDSU)" }, { 0x1598, "Kunshan Guoji Electronics Co., Ltd." }, { 0x15a2, "Freescale Semiconductor, Inc." }, { 0x15a4, "Afatech Technologies, Inc." }, { 0x15a8, "Teams Power Limited" }, { 0x15a9, "Gemtek" }, { 0x15aa, "Gearway Electronics (Dong Guan) Co., Ltd." }, { 0x15ad, "VMware Inc." }, { 0x15ba, "Olimex Ltd." }, { 0x15c0, "XL Imaging" }, { 0x15c2, "SoundGraph Inc." }, { 0x15c5, "Pressure Profile Systems, Inc." }, { 0x15c6, "Laboratoires MXM" }, { 0x15c8, "KTF Technologies" }, { 0x15c9, "D-Box Technologies" }, { 0x15ca, "Textech International Ltd." }, { 0x15d5, "Coulomb Electronics Ltd." }, { 0x15d9, "Trust International B.V." }, { 0x15dc, "Hynix Semiconductor Inc." }, { 0x15e0, "Seong Ji Industrial Co., Ltd." }, { 0x15e1, "RSA" }, { 0x15e4, "Numark" }, { 0x15e8, "SohoWare" }, { 0x15e9, "Pacific Digital Corp." }, { 0x15ec, "Belcarra Technologies Corp." }, { 0x15f4, "HanfTek" }, { 0x1604, "Tascam" }, { 0x1605, "ACCES I/O Products, Inc." }, { 0x1606, "Umax" }, { 0x1608, "Inside Out Networks [hex]" }, { 0x160a, "VIA Technologies, Inc." }, { 0x160e, "INRO" }, { 0x1614, "Amoi Electronics" }, { 0x1617, "Sony Corp." }, { 0x1619, "L & K Precision Technology Co., Ltd." }, { 0x161c, "Digitech Systems" }, { 0x1621, "Wionics Research" }, { 0x1628, "Stonestreet One, Inc." }, { 0x162a, "Airgo Networks Inc." }, { 0x162f, "WiQuest Communications, Inc." }, { 0x1630, "2Wire, Inc." }, { 0x1631, "Good Way Technology" }, { 0x1633, "AIM GmbH" }, { 0x1645, "Entrega [hex]" }, { 0x1649, "SofTec Microsystems" }, { 0x164a, "ChipX" }, { 0x164c, "Matrix Vision GmbH" }, { 0x1657, "Struck Innovative Systeme GmbH" }, { 0x165b, "Frontier Design Group" }, { 0x165c, "Kondo Kagaku" }, { 0x1660, "Creatix Polymedia GmbH" }, { 0x1667, "GIGA-TMS INC." }, { 0x1668, "Actiontec Electronics, Inc. [hex]" }, { 0x1669, "PiKRON Ltd. [hex]" }, { 0x166a, "Clipsal" }, { 0x1677, "China Huada Integrated Circuit Design (Group) Co., Ltd. (CIDC Group)" }, { 0x1679, "Total Phase" }, { 0x167b, "Pure Digital Technologies, Inc." }, { 0x1680, "Golden Bridge Electech Inc." }, { 0x1681, "Prevo Technologies, Inc." }, { 0x1682, "Maxwise Production Enterprise Ltd." }, { 0x1684, "Godspeed Computer Corp." }, { 0x1685, "Delock" }, { 0x1686, "ZOOM Corporation" }, { 0x1687, "Kingmax Digital Inc." }, { 0x1688, "Saab AB" }, { 0x1689, "Razer USA, Ltd" }, { 0x168c, "Atheros Communications" }, { 0x1690, "Askey Computer Corp. [hex]" }, { 0x1696, "Hitachi Video and Information System, Inc." }, { 0x1697, "VTec Test, Inc." }, { 0x16a5, "Shenzhen Zhengerya Cable Co., Ltd." }, { 0x16a6, "Unigraf" }, { 0x16ab, "Global Sun Technology" }, { 0x16ac, "Dongguan ChingLung Wire & Cable Co., Ltd." }, { 0x16b4, "iStation" }, { 0x16b5, "Persentec, Inc." }, { 0x16c0, "Van Ooijen Technische Informatica" }, { 0x16ca, "Wireless Cables, Inc." }, { 0x16cc, "silex technology, Inc." }, { 0x16d0, "MCS" }, { 0x16d1, "Suprema Inc." }, { 0x16d3, "Frontline Test Equipment, Inc." }, { 0x16d5, "AnyDATA Corporation" }, { 0x16d6, "JABLOCOM s.r.o." }, { 0x16d8, "CMOTECH Co., Ltd." }, { 0x16dc, "Wiener, Plein & Baus" }, { 0x16de, "Telemecanique" }, { 0x16df, "King Billion Electronics Co., Ltd." }, { 0x16f0, "GN Hearing A/S" }, { 0x16f5, "Futurelogic Inc." }, { 0x1702, "FDI-MATELEC" }, { 0x1706, "BlueView Technologies, Inc." }, { 0x1707, "ARTIMI" }, { 0x170b, "Swissonic" }, { 0x170d, "Avnera" }, { 0x1711, "Leica Microsystems" }, { 0x1724, "Meyer Instruments (MIS)" }, { 0x1725, "Vitesse Semiconductor" }, { 0x1726, "Axesstel, Inc." }, { 0x172f, "Waltop International Corp." }, { 0x1733, "Cellink Technology Co., Ltd" }, { 0x1736, "CANON IMAGING SYSTEM TECHNOLOGIES INC." }, { 0x1737, "802.11g Adapter [Linksys WUSB54GC v3]" }, { 0x173a, "Roche" }, { 0x173d, "QSENN" }, { 0x1740, "Senao" }, { 0x1743, "General Atomics" }, { 0x1748, "MQP Electronics" }, { 0x174c, "ASMedia Technology Inc." }, { 0x174f, "Syntek" }, { 0x1753, "GERTEC Telecomunicacoes Ltda." }, { 0x1756, "ENENSYS Technologies" }, { 0x1759, "LucidPort Technology, Inc." }, { 0x1761, "ASUSTek Computer, Inc. (wrong ID)" }, { 0x1770, "MSI" }, { 0x1772, "System Level Solutions, Inc." }, { 0x1776, "Arowana" }, { 0x1777, "Microscan Systems, Inc." }, { 0x177f, "Sweex" }, { 0x1781, "Multiple Vendors" }, { 0x1782, "Spreadtrum Communications Inc." }, { 0x1784, "TopSeed Technology Corp." }, { 0x1787, "ATI AIB" }, { 0x1788, "ShenZhen Litkconn Technology Co., Ltd." }, { 0x178e, "ASUSTek Computer, Inc. (wrong ID)" }, { 0x1796, "Printrex, Inc." }, { 0x1797, "JALCO CO., LTD." }, { 0x1799, "Thales Norway A/S" }, { 0x179d, "Ricavision International, Inc." }, { 0x17a0, "Samson Technologies Corp." }, { 0x17a4, "Concept2" }, { 0x17a5, "Advanced Connection Technology Inc." }, { 0x17a7, "MICOMSOFT CO., LTD." }, { 0x17a8, "Kamstrup A/S" }, { 0x17b3, "Grey Innovation" }, { 0x17b5, "Lunatone" }, { 0x17ba, "SAURIS GmbH" }, { 0x17c3, "Singim International Corp." }, { 0x17cc, "Native Instruments" }, { 0x17cf, "Hip Hing Cable & Plug Mfy. Ltd." }, { 0x17d0, "Sanford L.P." }, { 0x17d3, "Korea Techtron Co., Ltd." }, { 0x17e9, "DisplayLink" }, { 0x17eb, "Cornice, Inc." }, { 0x17ef, "Lenovo" }, { 0x17f4, "WaveSense" }, { 0x17f5, "K.K. Rocky" }, { 0x17f6, "Unicomp, Inc." }, { 0x1809, "Advantech" }, { 0x1822, "Twinhan" }, { 0x1831, "Gwo Jinn Industries Co., Ltd." }, { 0x1832, "Huizhou Shenghua Industrial Co., Ltd." }, { 0x183d, "VIVOphone" }, { 0x1843, "Vaisala" }, { 0x1849, "ASRock Incorporation" }, { 0x184f, "K2L GmbH" }, { 0x1852, "GYROCOM C&C Co., LTD" }, { 0x1854, "Memory Devices Ltd." }, { 0x185b, "Compro" }, { 0x1861, "Tech Technology Industrial Company" }, { 0x1862, "Teridian Semiconductor Corp." }, { 0x1870, "Nexio Co., Ltd" }, { 0x1871, "Aveo Technology Corp." }, { 0x1873, "Navilock" }, { 0x187c, "Alienware Corporation" }, { 0x187f, "Siano Mobile Silicon" }, { 0x1892, "Vast Technologies, Inc." }, { 0x1894, "Topseed" }, { 0x1897, "Evertop Wire Cable Co." }, { 0x189f, "3Shape A/S" }, { 0x18a4, "CSSN" }, { 0x18a5, "Verbatim, Ltd" }, { 0x18b1, "Petalynx" }, { 0x18b4, "e3C Technologies" }, { 0x18b6, "Mikkon Technology Limited" }, { 0x18b7, "Zotek Electronic Co., Ltd." }, { 0x18c5, "AMIT Technology, Inc." }, { 0x18cd, "Ecamm" }, { 0x18d1, "Google Inc." }, { 0x18d5, "Starline International Group Limited" }, { 0x18d9, "Kaba" }, { 0x18dc, "LKC Technologies, Inc." }, { 0x18dd, "Planon System Solutions Inc." }, { 0x18e3, "Fitipower Integrated Technology Inc" }, { 0x18e8, "Qcom" }, { 0x18ea, "Matrox Graphics, Inc." }, { 0x18ec, "Arkmicro Technologies Inc." }, { 0x18ef, "ELV Elektronik AG" }, { 0x18f8, "[Maxxter]" }, { 0x18fb, "Scriptel Corporation" }, { 0x18fd, "FineArch Inc." }, { 0x1901, "GE Healthcare" }, { 0x1908, "GEMBIRD" }, { 0x190d, "Motorola GSG" }, { 0x1914, "Alco Digital Devices Limited" }, { 0x1915, "Nordic Semiconductor ASA" }, { 0x191c, "Innovative Technology LTD" }, { 0x1923, "FitLinxx" }, { 0x1926, "NextWindow" }, { 0x1928, "Proceq SA" }, { 0x192f, "Avago Technologies, Pte." }, { 0x1930, "Shenzhen Xianhe Technology Co., Ltd." }, { 0x1931, "Ningbo Broad Telecommunication Co., Ltd." }, { 0x1934, "Feature Integration Technology Inc. (Fintek)" }, { 0x1935, "Elektron Music Machines" }, { 0x1938, "Meinberg Funkuhren GmbH & Co. KG" }, { 0x1941, "Dream Link" }, { 0x1943, "Sensoray Co., Inc." }, { 0x1949, "Lab126, Inc." }, { 0x194f, "PreSonus Audio Electronics, Inc." }, { 0x1951, "Hyperstone AG" }, { 0x1953, "Ironkey Inc." }, { 0x1954, "Radiient Technologies" }, { 0x195d, "Itron Technology iONE" }, { 0x1963, "IK Multimedia" }, { 0x1965, "Uniden Corporation" }, { 0x1967, "CASIO HITACHI Mobile Communications Co., Ltd." }, { 0x196b, "Wispro Technology Inc." }, { 0x1970, "Dane-Elec Corp. USA" }, { 0x1973, "Spectralink Corporation" }, { 0x1975, "Dongguan Guneetal Wire & Cable Co., Ltd." }, { 0x1976, "Chipsbrand Microelectronics (HK) Co., Ltd." }, { 0x1977, "T-Logic" }, { 0x197d, "Leuze electronic" }, { 0x1980, "Storage Appliance Corporation" }, { 0x1989, "Nuconn Technology Corp." }, { 0x198f, "Beceem Communications Inc." }, { 0x1990, "Acron Precision Industrial Co., Ltd." }, { 0x1995, "Trillium Technology Pty. Ltd." }, { 0x1996, "PixeLINK" }, { 0x1997, "Shenzhen Riitek Technology Co., Ltd" }, { 0x199b, "MicroStrain, Inc." }, { 0x199e, "The Imaging Source Europe GmbH" }, { 0x199f, "Benica Corporation" }, { 0x19a5, "HARRIS Corp." }, { 0x19a8, "Biforst Technology Inc." }, { 0x19ab, "Bodelin" }, { 0x19af, "S Life" }, { 0x19b2, "Batronix" }, { 0x19b4, "Celestron" }, { 0x19b5, "B & W Group" }, { 0x19b6, "Infotech Logistic, LLC" }, { 0x19b9, "Data Robotics" }, { 0x19c2, "Futuba" }, { 0x19ca, "Mindtribe" }, { 0x19cf, "Parrot SA" }, { 0x19d1, "BYD" }, { 0x19d2, "ZTE WCDMA Technologies MSM" }, { 0x19db, "KFI Printers" }, { 0x19e1, "WeiDuan Electronic Accessory (S.Z.) Co., Ltd." }, { 0x19e8, "Industrial Technology Research Institute" }, { 0x19ef, "Pak Heng Technology (Shenzhen) Co., Ltd." }, { 0x19f7, "RODE Microphones" }, { 0x19fa, "Gampaq Co.Ltd" }, { 0x19fd, "MTI Instruments Inc." }, { 0x19ff, "Dynex" }, { 0x1a08, "Bellwood International, Inc." }, { 0x1a0a, "USB-IF non-workshop" }, { 0x1a12, "KES Co., Ltd." }, { 0x1a1d, "Veho" }, { 0x1a25, "Amphenol East Asia Ltd." }, { 0x1a2a, "Seagate Branded Solutions" }, { 0x1a2c, "China Resource Semico Co., Ltd" }, { 0x1a32, "Quanta Microsystems, Inc." }, { 0x1a34, "ACRUX" }, { 0x1a36, "Biwin Technology Ltd." }, { 0x1a40, "Terminus Technology Inc." }, { 0x1a41, "Action Electronics Co., Ltd." }, { 0x1a44, "VASCO Data Security International" }, { 0x1a4a, "Silicon Image" }, { 0x1a4b, "SafeBoot International B.V." }, { 0x1a5a, "Tandberg Data" }, { 0x1a61, "Abbott Diabetes Care" }, { 0x1a64, "Mastervolt" }, { 0x1a6a, "Spansion Inc." }, { 0x1a6d, "SamYoung Electronics Co., Ltd" }, { 0x1a6e, "Global Unichip Corp." }, { 0x1a6f, "Sagem Orga GmbH" }, { 0x1a72, "Physik Instrumente" }, { 0x1a79, "Bayer Health Care LLC" }, { 0x1a7b, "Lumberg Connect GmbH & Co. KG" }, { 0x1a7c, "Evoluent" }, { 0x1a7e, "Meltec Systementwicklung" }, { 0x1a81, "Holtek Semiconductor, Inc." }, { 0x1a86, "QinHeng Electronics" }, { 0x1a89, "Dynalith Systems Co., Ltd." }, { 0x1a8b, "SGS Taiwan Ltd." }, { 0x1a8d, "BandRich, Inc." }, { 0x1a98, "Leica Camera AG" }, { 0x1aa4, "Data Drive Thru, Inc." }, { 0x1aa5, "UBeacon Technologies, Inc." }, { 0x1aa6, "eFortune Technology Corp." }, { 0x1aab, "Silvercreations Software AG" }, { 0x1aad, "KeeTouch" }, { 0x1ab1, "Rigol Technologies" }, { 0x1ab2, "Allied Vision" }, { 0x1acb, "Salcomp Plc" }, { 0x1acc, "Midiplus Co, Ltd." }, { 0x1ad1, "Desay Wire Co., Ltd." }, { 0x1ad4, "APS" }, { 0x1adb, "Schweitzer Engineering Laboratories, Inc" }, { 0x1ae4, "ic-design Reinhard Gottinger GmbH" }, { 0x1ae7, "X-TENSIONS" }, { 0x1aed, "High Top Precision Electronic Co., Ltd." }, { 0x1aef, "Conntech Electronic (Suzhou) Corporation" }, { 0x1af1, "Connect One Ltd." }, { 0x1af3, "Kingsis Technology Corporation" }, { 0x1afe, "A. Eberle GmbH & Co. KG" }, { 0x1b04, "Meilhaus Electronic GmbH" }, { 0x1b0e, "BLUTRONICS S.r.l." }, { 0x1b12, "Eventide" }, { 0x1b1c, "Corsair" }, { 0x1b1e, "General Imaging / General Electric" }, { 0x1b1f, "eQ-3 Entwicklung GmbH" }, { 0x1b20, "MStar Semiconductor, Inc." }, { 0x1b22, "WiLinx Corp." }, { 0x1b24, "Telegent Systems, Inc." }, { 0x1b26, "Cellex Power Products, Inc." }, { 0x1b27, "Current Electronics Inc." }, { 0x1b28, "NAVIsis Inc." }, { 0x1b32, "Ugobe Life Forms, Inc." }, { 0x1b36, "ViXS Systems, Inc." }, { 0x1b3b, "iPassion Technology Inc." }, { 0x1b3f, "Generalplus Technology Inc." }, { 0x1b47, "Energizer Holdings, Inc." }, { 0x1b48, "Plastron Precision Co., Ltd." }, { 0x1b52, "ARH Inc." }, { 0x1b59, "K.S. Terminals Inc." }, { 0x1b5a, "Chao Zhou Kai Yuan Electric Co., Ltd." }, { 0x1b65, "The Hong Kong Standards and Testing Centre Ltd." }, { 0x1b71, "Fushicai" }, { 0x1b72, "ATERGI TECHNOLOGY CO., LTD." }, { 0x1b73, "Fresco Logic" }, { 0x1b75, "Ovislink Corp." }, { 0x1b76, "Legend Silicon Corp." }, { 0x1b80, "Afatech" }, { 0x1b86, "Dongguan Guanshang Electronics Co., Ltd." }, { 0x1b88, "ShenMing Electron (Dong Guan) Co., Ltd." }, { 0x1b8c, "Altium Limited" }, { 0x1b8d, "e-MOVE Technology Co., Ltd." }, { 0x1b8e, "Amlogic, Inc." }, { 0x1b8f, "MA LABS, Inc." }, { 0x1b96, "N-Trig" }, { 0x1b98, "YMax Communications Corp." }, { 0x1b99, "Shenzhen Yuanchuan Electronic" }, { 0x1ba1, "JINQ CHERN ENTERPRISE CO., LTD." }, { 0x1ba2, "Lite Metals & Plastic (Shenzhen) Co., Ltd." }, { 0x1ba4, "Ember Corporation" }, { 0x1ba6, "Abilis Systems" }, { 0x1ba8, "China Telecommunication Technology Labs" }, { 0x1bad, "Harmonix Music" }, { 0x1bae, "Vuzix Corporation" }, { 0x1bbb, "T & A Mobile Phones" }, { 0x1bbd, "Videology Imaging Solutions, Inc." }, { 0x1bc0, "Beijing Senseshield Technology Co.,Ltd." }, { 0x1bc4, "Ford Motor Co." }, { 0x1bc5, "AVIXE Technology (China) Ltd." }, { 0x1bc7, "Telit Wireless Solutions" }, { 0x1bce, "Contac Cable Industrial Limited" }, { 0x1bcf, "Sunplus Innovation Technology Inc." }, { 0x1bd0, "Hangzhou Riyue Electronic Co., Ltd." }, { 0x1bd5, "BG Systems, Inc." }, { 0x1bda, "University Of Southampton" }, { 0x1bde, "P-TWO INDUSTRIES, INC." }, { 0x1bef, "Shenzhen Tongyuan Network-Communication Cables Co., Ltd" }, { 0x1bf0, "RealVision Inc." }, { 0x1bf5, "Extranet Systems Inc." }, { 0x1bf6, "Orient Semiconductor Electronics, Ltd." }, { 0x1bfd, "TouchPack" }, { 0x1c02, "Kreton Corporation" }, { 0x1c04, "QNAP System Inc." }, { 0x1c05, "Shenxhen Stager Electric" }, { 0x1c0c, "Ionics EMS, Inc." }, { 0x1c0d, "Relm Wireless" }, { 0x1c10, "Lanterra Industrial Co., Ltd." }, { 0x1c11, "Input Club Inc." }, { 0x1c13, "ALECTRONIC LIMITED" }, { 0x1c1a, "Datel Electronics Ltd." }, { 0x1c1b, "Volkswagen of America, Inc." }, { 0x1c1f, "Goldvish S.A." }, { 0x1c20, "Fuji Electric Device Technology Co., Ltd." }, { 0x1c21, "ADDMM LLC" }, { 0x1c22, "ZHONGSHAN CHIANG YU ELECTRIC CO., LTD." }, { 0x1c26, "Shanghai Haiying Electronics Co., Ltd." }, { 0x1c27, "HuiYang D & S Cable Co., Ltd." }, { 0x1c28, "PMD Technologies" }, { 0x1c29, "Elster GmbH" }, { 0x1c31, "LS Cable Ltd." }, { 0x1c34, "SpringCard" }, { 0x1c37, "Authorizer Technologies, Inc." }, { 0x1c3d, "NONIN MEDICAL INC." }, { 0x1c3e, "Wep Peripherals" }, { 0x1c40, "EZPrototypes" }, { 0x1c49, "Cherng Weei Technology Corp." }, { 0x1c4b, "Geratherm Medical AG" }, { 0x1c4f, "SiGma Micro" }, { 0x1c57, "Zalman Tech Co., Ltd." }, { 0x1c6b, "Philips & Lite-ON Digital Solutions Corporation" }, { 0x1c6c, "Skydigital Inc." }, { 0x1c71, "Humanware Inc" }, { 0x1c73, "AMT" }, { 0x1c75, "Arturia" }, { 0x1c77, "Kaetat Industrial Co., Ltd." }, { 0x1c78, "Datascope Corp." }, { 0x1c79, "Unigen Corporation" }, { 0x1c7a, "LighTuning Technology Inc." }, { 0x1c7b, "LUXSHARE PRECISION INDUSTRY (SHENZHEN) CO., LTD." }, { 0x1c82, "Atracsys" }, { 0x1c83, "Schomaecker GmbH" }, { 0x1c87, "2N TELEKOMUNIKACE a.s." }, { 0x1c88, "Somagic, Inc." }, { 0x1c89, "HONGKONG WEIDIDA ELECTRON LIMITED" }, { 0x1c8e, "ASTRON INTERNATIONAL CORP." }, { 0x1c98, "ALPINE ELECTRONICS, INC." }, { 0x1c9e, "OMEGA TECHNOLOGY" }, { 0x1ca0, "ACCARIO Inc." }, { 0x1ca1, "Symwave" }, { 0x1cac, "Kinstone" }, { 0x1cb3, "Aces Electronic Co., Ltd." }, { 0x1cb4, "OPEX CORPORATION" }, { 0x1cb6, "IdeaCom Technology Inc." }, { 0x1cbe, "Luminary Micro Inc." }, { 0x1cbf, "FORTAT SKYMARK INDUSTRIAL COMPANY" }, { 0x1cc0, "PlantSense" }, { 0x1cca, "NextWave Broadband Inc." }, { 0x1ccd, "Bodatong Technology (Shenzhen) Co., Ltd." }, { 0x1cd4, "adp corporation" }, { 0x1cd5, "Firecomms Ltd." }, { 0x1cd6, "Antonio Precise Products Manufactory Ltd." }, { 0x1cde, "Telecommunications Technology Association (TTA)" }, { 0x1cdf, "WonTen Technology Co., Ltd." }, { 0x1ce0, "EDIMAX TECHNOLOGY CO., LTD." }, { 0x1ce1, "Amphenol KAE" }, { 0x1cf1, "Dresden Elektronik" }, { 0x1cfc, "ANDES TECHNOLOGY CORPORATION" }, { 0x1cfd, "Flextronics Digital Design Japan, LTD." }, { 0x1d03, "iCON" }, { 0x1d07, "Solid-Motion" }, { 0x1d08, "NINGBO HENTEK DRAGON ELECTRONICS CO., LTD." }, { 0x1d09, "TechFaith Wireless Technology Limited" }, { 0x1d0a, "Johnson Controls, Inc. The Automotive Business Unit" }, { 0x1d0b, "HAN HUA CABLE & WIRE TECHNOLOGY (J.X.) CO., LTD." }, { 0x1d0d, "TDKMedia" }, { 0x1d0f, "Sonix Technology Co., Ltd." }, { 0x1d14, "ALPHA-SAT TECHNOLOGY LIMITED" }, { 0x1d17, "C-Thru Music Ltd." }, { 0x1d19, "Dexatek Technology Ltd." }, { 0x1d1f, "Diostech Co., Ltd." }, { 0x1d20, "SAMTACK INC." }, { 0x1d27, "ASUS" }, { 0x1d34, "Dream Cheeky" }, { 0x1d45, "Touch" }, { 0x1d4d, "PEGATRON CORPORATION" }, { 0x1d50, "OpenMoko, Inc." }, { 0x1d57, "Xenta" }, { 0x1d5b, "Smartronix, Inc." }, { 0x1d5c, "Fresco Logic" }, { 0x1d6b, "Linux Foundation" }, { 0x1d88, "Mahr GmbH" }, { 0x1d90, "Citizen" }, { 0x1d9d, "Sigma Sport" }, { 0x1dd2, "Leo Bodnar Electronics Ltd" }, { 0x1dd3, "Dajc Inc." }, { 0x1de1, "Actions Microelectronics Co." }, { 0x1de6, "MICRORISC s.r.o." }, { 0x1df7, "SDRplay" }, { 0x1e0e, "Qualcomm / Option" }, { 0x1e10, "Point Grey Research, Inc." }, { 0x1e17, "Mirion Technologies Dosimetry Services Division" }, { 0x1e1d, "Kanguru Solutions" }, { 0x1e1f, "INVIA" }, { 0x1e29, "Festo AG & Co. KG" }, { 0x1e2d, "Gemalto M2M GmbH" }, { 0x1e3d, "Chipsbank Microelectronics Co., Ltd" }, { 0x1e41, "Cleverscope" }, { 0x1e44, "SHIMANO INC." }, { 0x1e4e, "Cubeternet" }, { 0x1e54, "TypeMatrix" }, { 0x1e68, "TrekStor GmbH & Co. KG" }, { 0x1e71, "NZXT" }, { 0x1e74, "Coby Electronics Corporation" }, { 0x1e7b, "Zurich Instruments" }, { 0x1e7d, "ROCCAT" }, { 0x1e8e, "Airbus Defence and Space" }, { 0x1e91, "Other World Computing" }, { 0x1ea7, "SHARKOON Technologies GmbH" }, { 0x1eab, "Fujian Newland Computer Co., Ltd" }, { 0x1eaf, "Leaflabs" }, { 0x1eb8, "Modacom Co., Ltd." }, { 0x1ebb, "NuCORE Technology, Inc." }, { 0x1ecb, "AMTelecom" }, { 0x1ed8, "FENDER MUSICAL INSTRUMENTS CORPORATION" }, { 0x1eda, "AirTies Wireless Networks" }, { 0x1edb, "Blackmagic design" }, { 0x1ee8, "ONDA COMMUNICATION S.p.a." }, { 0x1ef6, "EADS Deutschland GmbH" }, { 0x1f0c, "CMX Systems" }, { 0x1f28, "Cal-Comp" }, { 0x1f3a, "Allwinner Technology" }, { 0x1f44, "The Neat Company" }, { 0x1f48, "H-TRONIC GmbH" }, { 0x1f4d, "G-Tek Electronics Group" }, { 0x1f52, "Systems & Electronic Development FZCO (SEDCO)" }, { 0x1f6f, "Aliph" }, { 0x1f75, "Innostor Technology Corporation" }, { 0x1f82, "TANDBERG" }, { 0x1f84, "Alere, Inc." }, { 0x1f87, "Stantum" }, { 0x1f9b, "Ubiquiti Networks, Inc." }, { 0x1fab, "Samsung Opto-Electroncs Co., Ltd." }, { 0x1fac, "Franklin Wireless" }, { 0x1fae, "Lumidigm" }, { 0x1fb2, "Withings" }, { 0x1fba, "DERMALOG Identification Systems GmbH" }, { 0x1fbd, "Delphin Technology AG" }, { 0x1fc9, "NXP Semiconductors" }, { 0x1fde, "ILX Lightwave Corporation" }, { 0x1fe7, "Vertex Wireless Co., Ltd." }, { 0x1ff7, "CVT Electronics.Co.,Ltd" }, { 0x1ffb, "Pololu Corporation" }, { 0x1fff, "Ideofy Inc." }, { 0x2000, "CMX Systems" }, { 0x2001, "D-Link Corp." }, { 0x2002, "DAP Technologies" }, { 0x2003, "detectomat" }, { 0x2006, "LenovoMobile" }, { 0x2009, "iStorage" }, { 0x200c, "Reloop" }, { 0x2013, "PCTV Systems" }, { 0x2018, "Deutsche Telekom AG" }, { 0x2019, "PLANEX" }, { 0x201e, "Haier" }, { 0x203a, "PARALLELS" }, { 0x203d, "Encore Electronics Inc." }, { 0x2040, "Hauppauge" }, { 0x2047, "Texas Instruments" }, { 0x2058, "Nano River Technology" }, { 0x2077, "Taicang T&W Electronics Co. Ltd" }, { 0x2080, "Barnes & Noble" }, { 0x2086, "SIMPASS" }, { 0x2087, "Cando" }, { 0x20a0, "Clay Logic" }, { 0x20b1, "XMOS Ltd" }, { 0x20b3, "Hanvon" }, { 0x20b7, "Qi Hardware" }, { 0x20bc, "ShenZhen ShanWan Technology Co., Ltd." }, { 0x20ce, "Minicircuits" }, { 0x20df, "Simtec Electronics" }, { 0x20f0, "L3Harris Technologies" }, { 0x20f1, "NET New Electronic Technology GmbH" }, { 0x20f4, "TRENDnet" }, { 0x20f7, "XIMEA" }, { 0x2100, "RT Systems" }, { 0x2101, "ActionStar" }, { 0x2104, "Tobii Technology AB" }, { 0x2107, "RDING TECH CO.,LTD" }, { 0x2109, "VIA Labs, Inc." }, { 0x2113, "Softkinetic" }, { 0x2116, "KT Tech" }, { 0x211f, "CELOT Corporation" }, { 0x2123, "Cheeky Dream" }, { 0x2125, "Fiberpro Inc." }, { 0x2133, "signotec GmbH" }, { 0x2149, "Advanced Silicon S.A." }, { 0x214b, "Huasheng Electronics" }, { 0x214e, "Swiftpoint" }, { 0x2162, "Broadxent (Creative Labs)" }, { 0x2166, "JVC Kenwood" }, { 0x2184, "GW Instek" }, { 0x2188, "No brand" }, { 0x219c, "Seal One AG" }, { 0x21a1, "Emotiv Systems Pty. Ltd." }, { 0x21a4, "Electronic Arts Inc." }, { 0x21a9, "Saleae, Inc." }, { 0x21ab, "Planeta Informatica" }, { 0x21b4, "AudioQuest" }, { 0x21d6, "Agecodagis SARL" }, { 0x2207, "Fuzhou Rockchip Electronics Company" }, { 0x221a, "ZTEX GmbH" }, { 0x2222, "MacAlly" }, { 0x2226, "Copper Mountain technologies" }, { 0x2227, "SAMWOO Enterprise" }, { 0x222a, "ILI Technology Corp." }, { 0x2230, "Plugable" }, { 0x2232, "Silicon Motion" }, { 0x2233, "RadioShack Corporation" }, { 0x2237, "Kobo Inc." }, { 0x2245, "Aspeed Technology, Inc." }, { 0x224f, "APDM" }, { 0x2256, "Faderfox" }, { 0x225d, "Morpho" }, { 0x226e, "DISPLAX" }, { 0x228d, "8D Technologies inc." }, { 0x22a4, "VERZO Technology" }, { 0x22a6, "Pie Digital, Inc." }, { 0x22a7, "Fortinet Technologies" }, { 0x22b1, "Secret Labs LLC" }, { 0x22b8, "Motorola PCS" }, { 0x22b9, "eTurboTouch Technology, Inc." }, { 0x22ba, "Technology Innovation Holdings, Ltd" }, { 0x22c9, "StepOver GmbH" }, { 0x22cd, "Kinova Robotics Inc." }, { 0x22d4, "Laview Technology" }, { 0x22d9, "OPPO Electronics Corp." }, { 0x22db, "Phase One" }, { 0x22dc, "Mellanox Technologies" }, { 0x22de, "WeTelecom Incorporated" }, { 0x22df, "Medicom MTD, Ltd" }, { 0x22e0, "secunet Security Networks AG" }, { 0x22e8, "Cambridge Audio" }, { 0x2304, "Pinnacle Systems, Inc." }, { 0x2309, "TimeLink Technology Co., Ltd" }, { 0x230d, "Teracom" }, { 0x2314, "INQ Mobile" }, { 0x2318, "Shining Technologies, Inc. [hex]" }, { 0x2319, "Tronsmart" }, { 0x232b, "Pantum Ltd." }, { 0x232e, "EA Elektro-Automatik GmbH & Co. KG" }, { 0x2340, "Teleepoch" }, { 0x2341, "Arduino SA" }, { 0x2349, "P2 Engineering Group, LLC" }, { 0x234b, "Free Software Initiative of Japan" }, { 0x2357, "TP-Link" }, { 0x2366, "Bitmanufaktur GmbH" }, { 0x2367, "Teenage Engineering" }, { 0x2368, "Peterson Electro-Musical Products Inc." }, { 0x236a, "SiBEAM" }, { 0x2373, "Pumatronix Ltda" }, { 0x2375, "Digit@lway, Inc." }, { 0x2378, "OnLive" }, { 0x237d, "Cradlepoint" }, { 0x2386, "Raydium Corporation" }, { 0x238b, "Hytera Communications" }, { 0x239a, "Adafruit" }, { 0x23a0, "BIFIT" }, { 0x23a6, "Tronical Components GmbH" }, { 0x23b4, "Dental Wings Inc." }, { 0x23c7, "Gemini" }, { 0x23fc, "SesKion GmbH" }, { 0x2405, "Custom Computer Services, Inc" }, { 0x2406, "SANHO Digital Electronics Co., Ltd." }, { 0x2420, "IRiver" }, { 0x242e, "Vossloh-Schwabe Deutschland GmbH" }, { 0x2433, "ASETEK" }, { 0x2443, "Aessent Technology Ltd" }, { 0x2457, "Ocean Optics Inc." }, { 0x2458, "Bluegiga Technologies" }, { 0x245f, "Chord Electronics Limited" }, { 0x2464, "Nest" }, { 0x2466, "Fractal Audio Systems" }, { 0x2476, "YEI Technology" }, { 0x2478, "Tripp-Lite" }, { 0x248a, "Maxxter" }, { 0x249c, "M2Tech s.r.l." }, { 0x24a4, "Primare AB" }, { 0x24ae, "Shenzhen Rapoo Technology Co., Ltd." }, { 0x24c0, "Chaney Instrument" }, { 0x24c6, "ThrustMaster, Inc." }, { 0x24cf, "Lytro, Inc." }, { 0x24dc, "Aladdin R.D." }, { 0x24e0, "Yoctopuce Sarl" }, { 0x24e1, "Paratronic" }, { 0x24e3, "K-Touch" }, { 0x24ea, "Meva" }, { 0x24ed, "Zen Group" }, { 0x24f0, "Metadot" }, { 0x24ff, "Acroname Inc." }, { 0x2500, "Ettus Research LLC" }, { 0x2516, "Cooler Master Co., Ltd." }, { 0x2520, "ANA-U GmbH" }, { 0x2527, "Software Bisque" }, { 0x2537, "Norelsys" }, { 0x2544, "Energy Micro AS" }, { 0x2546, "Ravensburger" }, { 0x2548, "Pulse-Eight" }, { 0x254e, "SHF Communication Technologies AG" }, { 0x2554, "ASSA ABLOY AB" }, { 0x2555, "Basis Science Inc." }, { 0x255e, "Beijing Bonxeon Technology Co., Ltd." }, { 0x2560, "e-con Systems" }, { 0x2563, "ShenZhen ShanWan Technology Co., Ltd." }, { 0x256b, "Perreaux Industries Ltd" }, { 0x256f, "3Dconnexion" }, { 0x2573, "ESI Audiotechnik GmbH" }, { 0x2574, "AVer Information, Inc." }, { 0x2575, "Weida Hi-Tech Co., Ltd." }, { 0x2576, "AFO Co., Ltd." }, { 0x2578, "Pluscom" }, { 0x2581, "Plug-up" }, { 0x258d, "Sequans Communications" }, { 0x259a, "TriQuint Semiconductor" }, { 0x25a7, "Areson Technology Corp" }, { 0x25b5, "FlatFrog" }, { 0x25bb, "Brunner Elektronik AG" }, { 0x25bf, "Elegant Invention" }, { 0x25c4, "ARCAM" }, { 0x25c6, "Vitus Audio (AVA Group A/S)" }, { 0x25c8, "Visual Planet Ltd" }, { 0x25da, "Netatmo" }, { 0x25dd, "Bit4id Srl" }, { 0x25e3, "Lumigon" }, { 0x25f0, "ShanWan" }, { 0x25fb, "Pentax Ricoh Imaging Co., Ltd" }, { 0x2604, "Tenda" }, { 0x2625, "MilDef AB" }, { 0x2626, "Aruba Networks" }, { 0x262a, "SAVITECH Corp." }, { 0x2632, "TwinMOS" }, { 0x2639, "Xsens" }, { 0x264a, "Thermaltake" }, { 0x2650, "Electronics For Imaging, Inc. [hex]" }, { 0x2659, "Sundtek" }, { 0x2662, "Moog Music Inc." }, { 0x266e, "Silicon Integrated Systems" }, { 0x2672, "GoPro" }, { 0x2676, "Basler AG" }, { 0x2685, "Cardo Peripheral Systems LTD" }, { 0x2687, "Fitbit Inc." }, { 0x2689, "StepOver International GmbH" }, { 0x268b, "Dimension Engineering" }, { 0x26a9, "Research Industrial Systems Engineering" }, { 0x26aa, "Yaesu Musen" }, { 0x26b5, "Electrocompaniet" }, { 0x26bd, "Integral Memory" }, { 0x26e2, "Ingenieurbuero Dietzsch und Thiele, PartG" }, { 0x26f2, "Micromega" }, { 0x2707, "Bardac Corporation" }, { 0x270d, "Rosand Technologies" }, { 0x2717, "Xiaomi Inc." }, { 0x272a, "StarLeaf Ltd." }, { 0x272c, "Signum Systems" }, { 0x2730, "Citizen" }, { 0x2735, "DigitalWay" }, { 0x273f, "Hughski Limited" }, { 0x2756, "Victor Hasselblad AB" }, { 0x2759, "Philip Morris Products S.A." }, { 0x2765, "Firstbeat Technologies, Ltd." }, { 0x2766, "LifeScan" }, { 0x2770, "NHJ, Ltd" }, { 0x27a8, "Square, Inc." }, { 0x27b8, "ThingM" }, { 0x27bd, "Codethink Ltd." }, { 0x27c0, "Cadwell Laboratories, Inc." }, { 0x27c6, "Shenzhen Goodix Technology Co.,Ltd." }, { 0x27d4, "Blackstar Amplification Limited" }, { 0x27dd, "Mindeo" }, { 0x27f2, "Softnautics LLP" }, { 0x2803, "StarLine LLC." }, { 0x2806, "SIMPASS" }, { 0x2817, "Signal Hound, Inc." }, { 0x2818, "Codex Digital Limited" }, { 0x2821, "ASUSTek Computer Inc." }, { 0x2822, "REFLEXdigital" }, { 0x2833, "Oculus VR, Inc." }, { 0x2836, "OUYA" }, { 0x286b, "STANEO SAS" }, { 0x2886, "Seeed Technology Co., Ltd." }, { 0x2890, "Teknic, Inc" }, { 0x2899, "Toptronic Industrial Co., Ltd" }, { 0x289b, "Dracal/Raphnet technologies" }, { 0x289d, "Seek Thermal, Inc." }, { 0x28bd, "XP-Pen" }, { 0x28c7, "Ultimaker B.V." }, { 0x28d4, "Devialet" }, { 0x28de, "Valve Software" }, { 0x28e0, "PT. Prasimax Inovasi Teknologi" }, { 0x28e9, "GDMicroelectronics" }, { 0x28f3, "Clover Network, Inc." }, { 0x28f9, "Profitap HQ BV" }, { 0x290c, "R. Hamilton & Co. Ltd." }, { 0x2912, "Audioengine" }, { 0x2916, "Yota Devices" }, { 0x2931, "Jolla Oy" }, { 0x2939, "Zaber Technologies Inc." }, { 0x2957, "Obsidian Research Corporation" }, { 0x2961, "Miselu" }, { 0x296b, "Xacti Corporation" }, { 0x2972, "FiiO Electronics Technology" }, { 0x298d, "Next Biometrics" }, { 0x29bd, "Silicon Works" }, { 0x29c1, "Taztag" }, { 0x29c2, "Lewitt GmbH" }, { 0x29c3, "Noviga" }, { 0x29e2, "Huatune Technology (Shanghai) Co., Ltd." }, { 0x29e7, "Brunel University" }, { 0x29e8, "4Links Limited" }, { 0x29ea, "Kinesis Corporation" }, { 0x29f1, "Canaan Creative Co., Ltd" }, { 0x2a03, "dog hunter AG" }, { 0x2a0e, "Shenzhen DreamSource Technology Co., Ltd." }, { 0x2a13, "Grabba International" }, { 0x2a19, "Numato Systems Pvt. Ltd" }, { 0x2a1d, "Oxford Nanopore Technologies plc" }, { 0x2a37, "RTD Embedded Technologies, Inc." }, { 0x2a39, "RME" }, { 0x2a3c, "Trinamic Motion Control GmbH & Co KG" }, { 0x2a45, "Meizu Corp." }, { 0x2a47, "Mundo Reader, S.L." }, { 0x2a4b, "EMULEX Corporation" }, { 0x2a62, "Flymaster Avionics" }, { 0x2a6e, "Bare Conductive" }, { 0x2a70, "OnePlus Technology (Shenzhen) Co., Ltd." }, { 0x2a88, "DFU Technology Ltd" }, { 0x2a8d, "Keysight Technologies, Inc." }, { 0x2ab6, "T+A elektroakustik GmbH & Co KG, Germany" }, { 0x2ac7, "Ultrahaptics Ltd." }, { 0x2ad1, "Picotronic GmbH" }, { 0x2ae5, "Fairphone B.V." }, { 0x2aec, "Ambiq Micro, Inc." }, { 0x2af4, "ROLI Ltd." }, { 0x2b03, "STEREOLABS" }, { 0x2b0e, "LeEco" }, { 0x2b23, "Red Hat, Inc." }, { 0x2b24, "KeepKey LLC" }, { 0x2b3e, "NewAE Technology Inc." }, { 0x2b4c, "ZUK" }, { 0x2bc5, "Orbbec 3D Technology International, Inc" }, { 0x2bcc, "InoTec GmbH Organisationssysteme" }, { 0x2bd6, "Coroware, Inc." }, { 0x2bd8, "ROPEX Industrie-Elektronik GmbH" }, { 0x2c02, "Planex Communications" }, { 0x2c1a, "Dolphin Peripherals" }, { 0x2c23, "Supermicro Computer Incorporated" }, { 0x2c4e, "Mercucys INC" }, { 0x2c4f, "Canon Electronic Business Machines Co., Ltd." }, { 0x2c55, "Magic Leap, Inc." }, { 0x2c7c, "Quectel Wireless Solutions Co., Ltd." }, { 0x2c97, "Ledger" }, { 0x2c99, "Prusa" }, { 0x2c9c, "Vayyar Imaging Ltd." }, { 0x2c9d, "Nod Inc" }, { 0x2ca3, "DJI Technology Co., Ltd." }, { 0x2cb7, "Fibocom" }, { 0x2cc0, "Hangzhou Zero Zero Infinity Technology Co., Ltd." }, { 0x2cc2, "Lautsprecher Teufel GmbH" }, { 0x2ccf, "Hypersecu" }, { 0x2cd9, "Cambrionix Ltd" }, { 0x2cdc, "Sea & Sun Technology GmbH" }, { 0x2ce5, "InX8 Inc [AKiTiO]" }, { 0x2cf0, "Nuand LLC" }, { 0x2d1f, "Wacom Taiwan Information Co. Ltd." }, { 0x2d25, "Kronegger GmbH." }, { 0x2d2d, "proxmark.org" }, { 0x2d37, "Zhuhai Poskey Technology Co.,Ltd" }, { 0x2d6b, "NetUP Inc." }, { 0x2d81, "Evollve Inc." }, { 0x2d84, "Zhuhai Poskey Technology Co.,Ltd" }, { 0x2dc8, "8BitDo" }, { 0x2dcf, "Dialog Semiconductor" }, { 0x2def, "Kirale Technologies" }, { 0x2df2, "LIPS Corporation" }, { 0x2e04, "HMD Global" }, { 0x2e0e, "Hatteland Display AS" }, { 0x2e24, "Hyperkin" }, { 0x2e3b, "uSens Inc." }, { 0x2e57, "MEGWARE Computer Vertrieb und Service GmbH" }, { 0x2e69, "Swift Navigation" }, { 0x2e95, "SCUF Gaming" }, { 0x2ecc, "ASR Microelectronics" }, { 0x2f76, "KeyXentic Inc." }, { 0x2fad, "Definium Technologies" }, { 0x2fb0, "Infocrypt" }, { 0x2fb2, "Fujitsu, Ltd" }, { 0x2fc0, "Sensidyne, LP" }, { 0x2fc6, "Comtrue Inc." }, { 0x2fe0, "Xaptum, Inc." }, { 0x2fe3, "NordicSemiconductor" }, { 0x2fe7, "ELGIN S.A." }, { 0x2feb, "Beijing Veikk E-Commerce Co., Ltd." }, { 0x2ff4, "Quixant Plc" }, { 0x3016, "Boundary Devices, LLC" }, { 0x3036, "Control iD" }, { 0x3037, "Beijing Chushifengmang Technology Development Co.,Ltd." }, { 0x3057, "Kingsis Corporation" }, { 0x308f, "Input Club" }, { 0x30a4, "Blues Wireless" }, { 0x30c2, "UNPARALLEL Innovation, Lda" }, { 0x30c9, "Luxvisions Innotech Limited" }, { 0x30ee, "Fujitsu Connected Technologies Limited" }, { 0x30f2, "Varex Imaging" }, { 0x3111, "Hiperscan GmbH" }, { 0x3112, "Meteca SA" }, { 0x3125, "Eagletron" }, { 0x3136, "Navini Networks" }, { 0x3145, "SafeLogic Inc." }, { 0x3147, "Tanvas, Inc." }, { 0x316c, "SigmaSense, LLC" }, { 0x316d, "Purism, SPC" }, { 0x316e, "SPECINFOSYSTEMS" }, { 0x3171, "8086 Consultancy" }, { 0x3176, "Whanam Electronics Co., Ltd" }, { 0x3195, "Link Instruments" }, { 0x3197, "Katusha" }, { 0x31c9, "BeiJing LanXum Computer Technology Co., Ltd." }, { 0x3200, "Alcatel-Lucent Enterprise" }, { 0x3219, "Smak Tecnologia e Automacao LTDA" }, { 0x321c, "Premio, Inc." }, { 0x324c, "CUPRIS Ltd." }, { 0x326d, "Agile Display Solutions Co., Ltd" }, { 0x3275, "VidzMedia Pte Ltd" }, { 0x3293, "Unhuman Inc." }, { 0x32b3, "TEXA" }, { 0x3310, "MUDITA Sp. z o.o." }, { 0x3333, "InLine" }, { 0x3334, "AEI" }, { 0x3340, "Yakumo" }, { 0x3344, "Leaguer Microelectronics (LME)" }, { 0x3384, "System76" }, { 0x348f, "ISY" }, { 0x3504, "Micro Star" }, { 0x3538, "Power Quotient International Co., Ltd" }, { 0x3579, "DIVA" }, { 0x357d, "Sharkoon" }, { 0x3636, "InVibro" }, { 0x3767, "Fanatec" }, { 0x3838, "WEM" }, { 0x3923, "National Instruments Corp." }, { 0x40bb, "I-O Data" }, { 0x4101, "i-rocks" }, { 0x4102, "iRiver, Ltd." }, { 0x413c, "Dell Computer Corp." }, { 0x4146, "USBest Technology" }, { 0x4168, "Targus" }, { 0x4242, "USB Design by Example" }, { 0x4255, "GoPro" }, { 0x4317, "Broadcom Corp." }, { 0x4348, "WinChipHead" }, { 0x4572, "Shuttle, Inc." }, { 0x4586, "Panram" }, { 0x4670, "EMS Production" }, { 0x46f4, "QEMU" }, { 0x4752, "Miditech" }, { 0x4757, "GW Instek" }, { 0x4766, "Aceeca" }, { 0x4855, "Memorex" }, { 0x4971, "SimpleTech" }, { 0x4d46, "Musical Fidelity" }, { 0x5032, "Grandtec" }, { 0x50c2, "Averatec (?)" }, { 0x5131, "MSR" }, { 0x5173, "Sweex" }, { 0x5219, "I-Tetra" }, { 0x5332, "Clearly Superior Technologies, Inc." }, { 0x5345, "Owon" }, { 0x534c, "SatoshiLabs" }, { 0x534d, "MacroSilicon" }, { 0x5354, "Meyer Instruments (MIS)" }, { 0x544d, "Transmeta Corp." }, { 0x5543, "UC-Logic Technology Corp." }, { 0x5555, "Epiphan Systems Inc." }, { 0x55aa, "OnSpec Electronic, Inc." }, { 0x5654, "Gotview" }, { 0x5656, "Uni-Trend Group Limited" }, { 0x595a, "IRTOUCHSYSTEMS Co. Ltd." }, { 0x5986, "Bison Electronics Inc." }, { 0x59e3, "Nonolith Labs" }, { 0x5a57, "Zinwell" }, { 0x6000, "Beholder International Ltd." }, { 0x601a, "Ingenic Semiconductor Ltd." }, { 0x6022, "Xektek" }, { 0x6189, "Sitecom" }, { 0x6244, "LightingSoft AG" }, { 0x6253, "TwinHan Technology Co., Ltd" }, { 0x636c, "CoreLogic, Inc." }, { 0x6472, "Sony Corp." }, { 0x6547, "Arkmicro Technologies Inc." }, { 0x6557, "Emtec" }, { 0x6615, "IRTOUCHSYSTEMS Co. Ltd." }, { 0x6666, "Prototype product Vendor ID" }, { 0x6677, "WiseGroup, Ltd." }, { 0x675d, "Humanscale" }, { 0x6891, "3Com" }, { 0x695c, "Opera1" }, { 0x6993, "Yealink Network Technology Co., Ltd." }, { 0x6a75, "Shanghai Jujo Electronics Co., Ltd" }, { 0x7104, "CME (Central Music Co.)" }, { 0x726c, "StackFoundry LLC" }, { 0x7302, "Solinftec" }, { 0x734c, "TBS Technologies China" }, { 0x7373, "Beijing STONE Technology Co. Ltd." }, { 0x7392, "Edimax Technology Co., Ltd" }, { 0x73d8, "Progeny Dental Equipment Specialists" }, { 0x7669, "Venable Instruments" }, { 0x7825, "Other World Computing" }, { 0x8070, "ACCES I/O Products, Inc." }, { 0x8086, "Intel Corp." }, { 0x8087, "Intel Corp." }, { 0x80ee, "VirtualBox" }, { 0x8282, "Keio" }, { 0x8301, "Hapurs" }, { 0x8341, "EGO Systems, Inc." }, { 0x8564, "Transcend Information, Inc." }, { 0x8644, "Intenso GmbG" }, { 0x8e06, "CH Products, Inc." }, { 0x8ea3, "Doosl" }, { 0x9016, "Sitecom" }, { 0x9022, "TeVii Technology Ltd." }, { 0x9148, "GeoLab, Ltd" }, { 0x9516, "Studiologic" }, { 0x9710, "MosChip Semiconductor" }, { 0x9849, "Bestmedia CD Recordable GmbH & Co. KG" }, { 0x9886, "Astro Gaming" }, { 0x9999, "Odeon" }, { 0x99fa, "Grandtec" }, { 0x9ac4, "J. Westhues" }, { 0x9e88, "Marvell Semiconductor, Inc." }, { 0xa014, "Insignia (Best Buy)" }, { 0xa108, "Ingenic Semiconductor Co.,Ltd" }, { 0xa128, "AnMo Electronics Corp. / Dino-Lite (?)" }, { 0xa168, "AnMo Electronics Corporation" }, { 0xa466, "Haikou Xingong Electronics Co.,Ltd" }, { 0xa600, "ASIX s.r.o." }, { 0xa727, "3Com" }, { 0xa88a, "Clas Ohlsson" }, { 0xaaaa, "MXT" }, { 0xab12, "aplic" }, { 0xabcd, "LogiLink" }, { 0xb58e, "Blue Microphones" }, { 0xba77, "Clockmaker" }, { 0xc216, "Card Device Expert Co., LTD" }, { 0xc251, "Keil Software, Inc." }, { 0xc502, "AGPTek" }, { 0xcace, "CACE Technologies Inc." }, { 0xcd12, "SMART TECHNOLOGY INDUSTRIAL LTD." }, { 0xd208, "Ultimarc" }, { 0xd209, "Ultimarc" }, { 0xd904, "LogiLink" }, { 0xe2b7, "Jie Li" }, { 0xe4e4, "Xorcom Ltd." }, { 0xeb03, "MakingThings" }, { 0xeb1a, "eMPIA Technology, Inc." }, { 0xeb2a, "KWorld" }, { 0xef18, "SMART TECHNOLOGY INDUSTRIAL LTD." }, { 0xf003, "Hewlett Packard" }, { 0xf007, "Teslong" }, { 0xf182, "Leap Motion" }, { 0xf3f0, "CCT, Inc" }, { 0xf4ec, "Atten Electronics / Siglent Technologies" }, { 0xf4ed, "Shenzhen Siglent Co., Ltd." }, { 0xf766, "Hama" }, { 0xfa11, "DyingLight" }, { 0xfc08, "Conrad Electronic SE" }, { 0xff00, "Power Delivery" }, { 0xffee, "FNK Tech" }, { 0, NULL } }; value_string_ext ext_usb_vendors_vals = VALUE_STRING_EXT_INIT(usb_vendors_vals); static const value_string usb_products_vals[] = { { 0x00017778, "Counterfeit flash drive [Kingston]" }, { 0x00020002, "passport00" }, { 0x00027007, "HPRT XT300" }, { 0x00117788, "counterfeit flash drive" }, { 0x0040073d, "Mini Multimedia 2.4GHz Wireless Keyboard with Touch Pad" }, { 0x00535301, "GW-US54ZGL 802.11bg" }, { 0x00780006, "Joystick" }, { 0x00790006, "PC TWIN SHOCK Gamepad" }, { 0x00790011, "Gamepad" }, { 0x00791800, "Mayflash Wii U Pro Game Controller Adapter [DirectInput]" }, { 0x0079181b, "Venom Arcade Joystick" }, { 0x00791843, "Mayflash GameCube Controller Adapter" }, { 0x00791844, "Mayflash GameCube Controller" }, { 0x0080a001, "JMS578 based SATA bridge" }, { 0x00850600, "eBook Reader" }, { 0x0105145f, "NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211]" }, { 0x01270002, "HDM Interface" }, { 0x01270127, "ibp" }, { 0x01450112, "Card Reader" }, { 0x017c145f, "Trust Deskset" }, { 0x02000201, "MA180 UMTS Modem" }, { 0x02046025, "CBM2080 / CBM2090 Flash drive controller" }, { 0x02046026, "CBM1180 Flash drive controller" }, { 0x02180301, "MIDI Port" }, { 0x02ad138c, "PVR Mass Storage" }, { 0x0324bc06, "OCZ ATV USB 2.0 Flash Drive" }, { 0x0324bc08, "OCZ Rally2/ATV USB 2.0 Flash Drive" }, { 0x0325ac02, "ATV Turbo / Rally2 Dual Channel USB 2.0 Flash Drive" }, { 0x03860001, "PSX for USB Converter" }, { 0x03c3120e, "ASI120MC-S Planetary Camera" }, { 0x03c31f10, "EFF" }, { 0x03c3294f, "ASI294MC Pro" }, { 0x03d90499, "SE340D PC Remote Control" }, { 0x03da0002, "HD44780 LCD interface" }, { 0x03e72150, "Myriad VPU [Movidius Neural Compute Stick]" }, { 0x03e72485, "Movidius MyriadX" }, { 0x03e7f63b, "Myriad VPU [Movidius Neural Compute Stick]" }, { 0x03e80004, "SE401 Webcam" }, { 0x03e80008, "101 Ethernet [klsi]" }, { 0x03e80015, "ATAPI Enclosure" }, { 0x03e82123, "SiPix StyleCam Deluxe" }, { 0x03e88004, "Aox 99001" }, { 0x03eb0902, "4-Port Hub" }, { 0x03eb2002, "Mass Storage Device" }, { 0x03eb2015, "at90usbkey sample firmware (HID keyboard)" }, { 0x03eb2018, "at90usbkey sample firmware (CDC ACM)" }, { 0x03eb2019, "stk525 sample firmware (microphone)" }, { 0x03eb201c, "at90usbkey sample firmware (HID mouse)" }, { 0x03eb201d, "at90usbkey sample firmware (HID generic)" }, { 0x03eb2022, "at90usbkey sample firmware (composite device)" }, { 0x03eb2040, "LUFA Test PID" }, { 0x03eb2041, "LUFA Mouse Demo Application" }, { 0x03eb2042, "LUFA Keyboard Demo Application" }, { 0x03eb2043, "LUFA Joystick Demo Application" }, { 0x03eb2044, "LUFA CDC Demo Application" }, { 0x03eb2045, "LUFA Mass Storage Demo Application" }, { 0x03eb2046, "LUFA Audio Output Demo Application" }, { 0x03eb2047, "LUFA Audio Input Demo Application" }, { 0x03eb2048, "LUFA MIDI Demo Application" }, { 0x03eb2049, "Stripe Snoop Magnetic Stripe Reader" }, { 0x03eb204a, "LUFA CDC Class Bootloader" }, { 0x03eb204b, "LUFA USB to Serial Adapter Project" }, { 0x03eb204c, "LUFA RNDIS Demo Application" }, { 0x03eb204d, "LUFA Combined Mouse and Keyboard Demo Application" }, { 0x03eb204e, "LUFA Dual CDC Demo Application" }, { 0x03eb204f, "LUFA Generic HID Demo Application" }, { 0x03eb2060, "Benito Programmer Project" }, { 0x03eb2061, "LUFA Combined Mass Storage and Keyboard Demo Application" }, { 0x03eb2062, "LUFA Combined CDC and Mouse Demo Application" }, { 0x03eb2063, "LUFA Datalogger Device" }, { 0x03eb2064, "Interfaceless Control-Only LUFA Devices" }, { 0x03eb2065, "LUFA Test and Measurement Demo Application" }, { 0x03eb2066, "LUFA Multiple Report HID Demo" }, { 0x03eb2067, "LUFA HID Class Bootloader" }, { 0x03eb2068, "LUFA Virtual Serial/Mass Storage Demo" }, { 0x03eb2069, "LUFA Webserver Project" }, { 0x03eb2103, "JTAG ICE mkII" }, { 0x03eb2104, "AVR ISP mkII" }, { 0x03eb2105, "AVRONE!" }, { 0x03eb2106, "STK600 development board" }, { 0x03eb2107, "AVR Dragon" }, { 0x03eb2109, "STK541 ZigBee Development Board" }, { 0x03eb210a, "AT86RF230 [RZUSBSTICK] transceiver" }, { 0x03eb210d, "XPLAIN evaluation kit (CDC ACM)" }, { 0x03eb2110, "AVR JTAGICE3 Debugger and Programmer" }, { 0x03eb2111, "Xplained Pro board debugger and programmer" }, { 0x03eb2122, "XMEGA-A1 Explained evaluation kit" }, { 0x03eb2140, "AVR JTAGICE3 (v3.x) Debugger and Programmer" }, { 0x03eb2141, "ICE debugger" }, { 0x03eb2145, "ATMEGA328P-XMINI (CDC ACM)" }, { 0x03eb2310, "EVK11xx evaluation board" }, { 0x03eb2404, "The Micro" }, { 0x03eb2fe4, "ATxmega32A4U DFU bootloader" }, { 0x03eb2fe6, "Cactus V6 (DFU)" }, { 0x03eb2fea, "Cactus RF60 (DFU)" }, { 0x03eb2fee, "atmega8u2 DFU bootloader" }, { 0x03eb2fef, "atmega16u2 DFU bootloader" }, { 0x03eb2ff0, "atmega32u2 DFU bootloader" }, { 0x03eb2ff1, "at32uc3a3 DFU bootloader" }, { 0x03eb2ff3, "atmega16u4 DFU bootloader" }, { 0x03eb2ff4, "atmega32u4 DFU bootloader" }, { 0x03eb2ff6, "at32uc3b0/1 DFU bootloader" }, { 0x03eb2ff7, "at90usb82 DFU bootloader" }, { 0x03eb2ff8, "at32uc3a0/1 DFU bootloader" }, { 0x03eb2ff9, "at90usb646/647 DFU bootloader" }, { 0x03eb2ffa, "at90usb162 DFU bootloader" }, { 0x03eb2ffb, "at90usb AVR DFU bootloader" }, { 0x03eb2ffd, "at89c5130/c5131 DFU bootloader" }, { 0x03eb2fff, "at89c5132/c51snd1c DFU bootloader" }, { 0x03eb3301, "at43301 4-Port Hub" }, { 0x03eb3312, "4-Port Hub" }, { 0x03eb4102, "AirVast W-Buddie WN210" }, { 0x03eb5601, "at76c510 Prism-II 802.11b Access Point" }, { 0x03eb5603, "Cisco 7920 WiFi IP Phone" }, { 0x03eb6119, "AT91SAM CDC Demo Application" }, { 0x03eb6124, "at91sam SAMBA bootloader" }, { 0x03eb6127, "AT91SAM HID Keyboard Demo Application" }, { 0x03eb6129, "AT91SAM Mass Storage Demo Application" }, { 0x03eb6200, "AT91SAM HID Mouse Demo Application" }, { 0x03eb7603, "D-Link DWL-120 802.11b Wireless Adapter [Atmel at76c503a]" }, { 0x03eb7604, "at76c503a 802.11b Adapter" }, { 0x03eb7605, "at76c503a 802.11b Adapter" }, { 0x03eb7606, "at76c505 802.11b Adapter" }, { 0x03eb7611, "at76c510 rfmd2948 802.11b Access Point" }, { 0x03eb7613, "WL-1130 USB" }, { 0x03eb7614, "AT76c505a Wireless Adapter" }, { 0x03eb7615, "AT76C505AMX Wireless Adapter" }, { 0x03eb7617, "AT76C505AS Wireless Adapter" }, { 0x03eb7800, "Mini Album" }, { 0x03eb800c, "Airspy HF+" }, { 0x03ebff01, "WootingOne" }, { 0x03ebff02, "WootingTwo" }, { 0x03ebff07, "Tux Droid fish dongle" }, { 0x03ee0000, "CD-R/RW Drive" }, { 0x03ee2501, "eHome Infrared Receiver" }, { 0x03ee2502, "eHome Infrared Receiver" }, { 0x03ee5609, "Japanese Keyboard" }, { 0x03ee641f, "WIF-0402C Bluetooth Adapter" }, { 0x03ee6438, "Bluetooth Device" }, { 0x03ee6440, "WML-C52APR Bluetooth Adapter" }, { 0x03ee6901, "SmartDisk FDD" }, { 0x03ee6902, "Floppy Disk Drive" }, { 0x03ee7500, "CD-R/RW" }, { 0x03eeffff, "Dongle with BlueCore in DFU mode" }, { 0x03f00004, "DeskJet 895c" }, { 0x03f00011, "OfficeJet G55" }, { 0x03f00012, "DeskJet 1125C Printer Port" }, { 0x03f00024, "KU-0316 Keyboard" }, { 0x03f0002a, "LaserJet P1102" }, { 0x03f00053, "DeskJet 2620 All-in-One Printer" }, { 0x03f00101, "ScanJet 4100c" }, { 0x03f00102, "PhotoSmart S20" }, { 0x03f00104, "DeskJet 880c/970c" }, { 0x03f00105, "ScanJet 4200c" }, { 0x03f00107, "CD-Writer Plus" }, { 0x03f0010c, "Multimedia Keyboard Hub" }, { 0x03f00111, "G55xi Printer/Scanner/Copier" }, { 0x03f00117, "LaserJet 3200" }, { 0x03f0011c, "hn210w 802.11b Adapter" }, { 0x03f0011d, "Bluetooth 1.2 Interface [Broadcom BCM2035]" }, { 0x03f00121, "HP 39g+ [F2224A], 39gs [F2223A], 40gs [F2225A], 48gII [F2226A], 49g+ [F2228A], 50g [F2229A, NW240AA]" }, { 0x03f00122, "HID Internet Keyboard" }, { 0x03f00125, "DAT72 Tape" }, { 0x03f00139, "Barcode Scanner 4430" }, { 0x03f00201, "ScanJet 6200c" }, { 0x03f00202, "PhotoSmart S20" }, { 0x03f00204, "DeskJet 815c" }, { 0x03f00205, "ScanJet 3300c" }, { 0x03f00207, "CD-Writer Plus 8200e" }, { 0x03f0020c, "Multimedia Keyboard" }, { 0x03f00211, "OfficeJet G85" }, { 0x03f00212, "DeskJet 1220C" }, { 0x03f00217, "LaserJet 2200" }, { 0x03f00218, "APOLLO P2500/2600" }, { 0x03f00221, "StreamSmart 400 [F2235AA]" }, { 0x03f00223, "Digital Drive Flash Reader" }, { 0x03f0022a, "LaserJet CP1525nw/x" }, { 0x03f00241, "Link-5 micro dongle" }, { 0x03f00304, "DeskJet 810c/812c" }, { 0x03f00305, "ScanJet 4300c" }, { 0x03f00307, "CD-Writer+ CD-4e" }, { 0x03f00311, "OfficeJet G85xi" }, { 0x03f00312, "Color Inkjet CP1700" }, { 0x03f00314, "designjet 30/130 series" }, { 0x03f00317, "LaserJet 1200" }, { 0x03f00324, "SK-2885 keyboard" }, { 0x03f0034a, "Elite Keyboard" }, { 0x03f00401, "ScanJet 5200c" }, { 0x03f00404, "DeskJet 830c/832c" }, { 0x03f00405, "ScanJet 3400cse" }, { 0x03f00411, "OfficeJet G95" }, { 0x03f00412, "Printing Support" }, { 0x03f00417, "LaserJet 1200 series" }, { 0x03f00423, "HS-COMBO Cardreader" }, { 0x03f0042a, "LaserJet M1132 MFP" }, { 0x03f00441, "Prime [NW280AA, G8X92AA]" }, { 0x03f00504, "DeskJet 885c" }, { 0x03f00505, "ScanJet 2100c" }, { 0x03f00507, "DVD+RW" }, { 0x03f0050c, "5219 Wireless Keyboard" }, { 0x03f00511, "OfficeJet K60" }, { 0x03f00512, "DeskJet 450" }, { 0x03f00517, "LaserJet 1000" }, { 0x03f0051d, "Bluetooth Interface" }, { 0x03f0052a, "LaserJet M1212nf MFP" }, { 0x03f00601, "ScanJet 6300c" }, { 0x03f00604, "DeskJet 840c" }, { 0x03f00605, "ScanJet 2200c" }, { 0x03f00610, "Z24i Monitor Hub" }, { 0x03f00611, "OfficeJet K60xi" }, { 0x03f00612, "business inkjet 3000" }, { 0x03f00624, "Bluetooth Dongle" }, { 0x03f00641, "X1200 Optical Mouse" }, { 0x03f00653, "DeskJet 3700 series" }, { 0x03f00701, "ScanJet 5300c/5370c" }, { 0x03f00704, "DeskJet 825c" }, { 0x03f00705, "ScanJet 4400c" }, { 0x03f0070c, "Personal Media Drive" }, { 0x03f00711, "OfficeJet K80" }, { 0x03f00712, "DeskJet 1180c" }, { 0x03f00714, "Printing Support" }, { 0x03f00741, "Prime Wireless Kit [FOK65AA]" }, { 0x03f00801, "ScanJet 7400c" }, { 0x03f00804, "DeskJet 816c" }, { 0x03f00805, "HP4470C" }, { 0x03f00811, "OfficeJet K80xi" }, { 0x03f00817, "LaserJet 3300" }, { 0x03f00853, "ENVY 5000 series" }, { 0x03f00901, "ScanJet 2300c" }, { 0x03f00904, "DeskJet 845c" }, { 0x03f00912, "Printing Support" }, { 0x03f00917, "LaserJet 3330" }, { 0x03f00924, "Modular Smartcard Keyboard" }, { 0x03f00941, "X500 Optical Mouse" }, { 0x03f0094a, "Optical Mouse [672662-001]" }, { 0x03f00a01, "ScanJet 2400c" }, { 0x03f00a17, "color LaserJet 3700" }, { 0x03f00b01, "ScanJet 82x0C" }, { 0x03f00b0c, "Wireless Keyboard and Optical Mouse receiver" }, { 0x03f00b17, "LaserJet 2300d" }, { 0x03f00c17, "LaserJet 1010" }, { 0x03f00c24, "Bluetooth Dongle" }, { 0x03f00d12, "OfficeJet 9100 series" }, { 0x03f00d17, "LaserJet 1012" }, { 0x03f00d4a, "SK-2025 Keyboard" }, { 0x03f00e17, "LaserJet 1015" }, { 0x03f00f0c, "Wireless Keyboard and Optical Mouse receiver" }, { 0x03f00f11, "OfficeJet V40" }, { 0x03f00f12, "Printing Support" }, { 0x03f00f17, "LaserJet 1150" }, { 0x03f00f2a, "LaserJet 400 color M451dn" }, { 0x03f01001, "Photo Scanner 1000" }, { 0x03f01002, "PhotoSmart 140 series" }, { 0x03f01004, "DeskJet 970c/970cse" }, { 0x03f01005, "ScanJet 5400c" }, { 0x03f01011, "OfficeJet V40xi" }, { 0x03f01016, "Jornada 548 / iPAQ HW6515 Pocket PC" }, { 0x03f01017, "LaserJet 1300" }, { 0x03f01024, "Smart Card Keyboard" }, { 0x03f01027, "Virtual keyboard and mouse" }, { 0x03f0102a, "LaserJet Professional P 1102w" }, { 0x03f01102, "PhotoSmart 240 series" }, { 0x03f01104, "DeskJet 959c" }, { 0x03f01105, "ScanJet 5470c/5490c" }, { 0x03f01111, "OfficeJet v60" }, { 0x03f01116, "Jornada 568 Pocket PC" }, { 0x03f01117, "LaserJet 1300n" }, { 0x03f01151, "PSC-750xi Printer/Scanner/Copier" }, { 0x03f01198, "HID-compliant mouse" }, { 0x03f01202, "PhotoSmart 320 series" }, { 0x03f01204, "DeskJet 930c" }, { 0x03f01205, "ScanJet 4500C/5550C" }, { 0x03f01211, "OfficeJet v60xi" }, { 0x03f01217, "LaserJet 2300L" }, { 0x03f01227, "Virtual CD-ROM" }, { 0x03f01302, "PhotoSmart 370 series" }, { 0x03f01305, "ScanJet 4570c" }, { 0x03f01311, "OfficeJet V30" }, { 0x03f01312, "DeskJet 460" }, { 0x03f01317, "LaserJet 1005" }, { 0x03f01327, "iLO Virtual Hub" }, { 0x03f0134a, "Optical Mouse" }, { 0x03f01405, "ScanJet 3670" }, { 0x03f01411, "PSC 750" }, { 0x03f01424, "f2105 Monitor Hub" }, { 0x03f01502, "PhotoSmart 420 series" }, { 0x03f01504, "DeskJet 920c" }, { 0x03f0150c, "Mood Lighting (Microchip Technology Inc.)" }, { 0x03f01511, "PSC 750xi" }, { 0x03f01512, "Printing Support" }, { 0x03f01517, "color LaserJet 3500" }, { 0x03f01524, "Smart Card Keyboard - KR" }, { 0x03f01539, "Mini Magnetic Stripe Reader" }, { 0x03f01541, "Prime [G8X92AA]" }, { 0x03f0154a, "Laser Mouse" }, { 0x03f01602, "PhotoSmart 330 series" }, { 0x03f01604, "DeskJet 940c" }, { 0x03f01605, "ScanJet 5530C PhotoSmart" }, { 0x03f01611, "psc 780" }, { 0x03f01617, "LaserJet 3015" }, { 0x03f0161d, "Wireless Rechargeable Optical Mouse (HID)" }, { 0x03f01624, "Smart Card Keyboard - JP" }, { 0x03f01647, "Z27n G2 Monitor Hub" }, { 0x03f01702, "PhotoSmart 380 series" }, { 0x03f01704, "DeskJet 948C" }, { 0x03f01705, "ScanJet 5590" }, { 0x03f01711, "psc 780xi" }, { 0x03f01712, "Printing Support" }, { 0x03f01717, "LaserJet 3020" }, { 0x03f0171d, "Bluetooth 2.0 Interface [Broadcom BCM2045]" }, { 0x03f01801, "Inkjet P-2000U" }, { 0x03f01802, "PhotoSmart 470 series" }, { 0x03f01804, "DeskJet 916C" }, { 0x03f01805, "ScanJet 7650" }, { 0x03f01811, "PSC 720" }, { 0x03f01812, "OfficeJet Pro K550" }, { 0x03f01817, "LaserJet 3030" }, { 0x03f0181d, "Bluetooth 2.0 Interface" }, { 0x03f01902, "PhotoSmart A430 series" }, { 0x03f01904, "DeskJet 3820" }, { 0x03f01911, "OfficeJet V45" }, { 0x03f01917, "LaserJet 3380" }, { 0x03f01a02, "PhotoSmart A510 series" }, { 0x03f01a11, "OfficeJet 5100 series" }, { 0x03f01a17, "color LaserJet 4650" }, { 0x03f01b02, "PhotoSmart A610 series" }, { 0x03f01b04, "DeskJet 3810" }, { 0x03f01b05, "ScanJet 4850C/4890C" }, { 0x03f01b07, "Premium Starter Webcam" }, { 0x03f01c02, "PhotoSmart A710 series" }, { 0x03f01c17, "Color LaserJet 2550l" }, { 0x03f01d02, "PhotoSmart A310 series" }, { 0x03f01d17, "LaserJet 1320" }, { 0x03f01d24, "Barcode scanner" }, { 0x03f01e02, "PhotoSmart A320 Printer series" }, { 0x03f01e11, "PSC-950" }, { 0x03f01e17, "LaserJet 1160 series" }, { 0x03f01f02, "PhotoSmart A440 Printer series" }, { 0x03f01f11, "PSC 920" }, { 0x03f01f12, "OfficeJet Pro K5300" }, { 0x03f01f17, "color LaserJet 5550" }, { 0x03f01f1d, "un2400 Gobi Wireless Modem" }, { 0x03f02001, "Floppy" }, { 0x03f02002, "Hub" }, { 0x03f02004, "DeskJet 640c" }, { 0x03f02005, "ScanJet 3570c" }, { 0x03f02012, "OfficeJet Pro K5400" }, { 0x03f0201d, "un2400 Gobi Wireless Modem (QDL mode)" }, { 0x03f02039, "Cashdrawer" }, { 0x03f02102, "PhotoSmart 7345" }, { 0x03f02104, "DeskJet 630c" }, { 0x03f02112, "OfficeJet Pro L7500" }, { 0x03f0211d, "Sierra MC5725 [ev2210]" }, { 0x03f02202, "PhotoSmart 7600 series" }, { 0x03f02205, "ScanJet 3500c" }, { 0x03f02212, "OfficeJet Pro L7600" }, { 0x03f02217, "color LaserJet 9500 MFP" }, { 0x03f0222a, "LaserJet Pro MFP M125nw" }, { 0x03f02302, "PhotoSmart 7600 series" }, { 0x03f02304, "DeskJet 656c" }, { 0x03f02305, "ScanJet 3970c" }, { 0x03f02311, "OfficeJet d series" }, { 0x03f02312, "OfficeJet Pro L7700" }, { 0x03f02317, "LaserJet 4350" }, { 0x03f0231d, "Broadcom 2070 Bluetooth Combo" }, { 0x03f02402, "PhotoSmart 7700 series" }, { 0x03f02404, "Deskjet F2280 series" }, { 0x03f02405, "ScanJet 4070 PhotoSmart" }, { 0x03f02417, "LaserJet 4250" }, { 0x03f0241d, "Gobi 2000 Wireless Modem (QDL mode)" }, { 0x03f02424, "LP1965 19\" Monitor Hub" }, { 0x03f02441, "Prime G2 [2AP18AA]" }, { 0x03f02502, "PhotoSmart 7700 series" }, { 0x03f02504, "DeskJet F4200 series" }, { 0x03f02505, "ScanJet 3770" }, { 0x03f02512, "OfficeJet Pro L7300 / Compaq LA2405 series monitor" }, { 0x03f02514, "4-port hub" }, { 0x03f02517, "LaserJet 2410" }, { 0x03f0251d, "Gobi 2000 Wireless Modem" }, { 0x03f02524, "LP3065 30\" Monitor Hub" }, { 0x03f02602, "PhotoSmart A520 series" }, { 0x03f02605, "ScanJet 3800c" }, { 0x03f02611, "OfficeJet 7100 series" }, { 0x03f02617, "Color LaserJet 2820 series" }, { 0x03f02624, "Pole Display (HP522 2 x 20 Line Display)" }, { 0x03f02702, "PhotoSmart A620 series" }, { 0x03f02704, "DeskJet 915" }, { 0x03f02717, "Color LaserJet 2830" }, { 0x03f02724, "Magnetic Stripe Reader IDRA-334133-HP" }, { 0x03f02805, "Scanjet G2710" }, { 0x03f02811, "PSC-2100" }, { 0x03f02817, "Color LaserJet 2840" }, { 0x03f02841, "OMEN MINDFRAME [3XT27AA]" }, { 0x03f02902, "PhotoSmart A820 series" }, { 0x03f02911, "PSC 2200" }, { 0x03f02917, "LaserJet 2420" }, { 0x03f02a11, "PSC 2150 series" }, { 0x03f02a17, "LaserJet 2430" }, { 0x03f02a1d, "Integrated Module with Bluetooth 2.1 Wireless technology" }, { 0x03f02b11, "PSC 2170 series" }, { 0x03f02b17, "LaserJet 1020" }, { 0x03f02b4a, "Business Slim Keyboard" }, { 0x03f02c12, "Officejet J4680" }, { 0x03f02c17, "LaserJet 1022" }, { 0x03f02c24, "Logitech M-UAL-96 Mouse" }, { 0x03f02d05, "Scanjet 7000" }, { 0x03f02d11, "OfficeJet 6110" }, { 0x03f02d17, "Printing Support" }, { 0x03f02d2a, "LaserJet Pro MFP M225dw" }, { 0x03f02e11, "PSC 1000" }, { 0x03f02e17, "LaserJet 2600n" }, { 0x03f02e24, "LP2275w Monitor Hub" }, { 0x03f02f11, "PSC 1200" }, { 0x03f02f17, "Color LaserJet 2605dn" }, { 0x03f02f24, "LP2475w Monitor Hub" }, { 0x03f03002, "PhotoSmart P1000" }, { 0x03f03004, "DeskJet 980c" }, { 0x03f03005, "ScanJet 4670v" }, { 0x03f03011, "PSC 1100 series" }, { 0x03f03017, "Printing Support" }, { 0x03f0304a, "Slim Keyboard" }, { 0x03f03102, "PhotoSmart P1100 Printer w/ Card Reader" }, { 0x03f03104, "DeskJet 960c" }, { 0x03f03111, "OfficeJet 4100 series" }, { 0x03f03117, "EWS 2605dtn" }, { 0x03f0311d, "Atheros AR9285 Malbec Bluetooth Adapter" }, { 0x03f0312a, "LaserJet Pro M701n" }, { 0x03f03202, "PhotoSmart 1215" }, { 0x03f03207, "4 GB flash drive" }, { 0x03f03211, "OfficeJet 4105 series" }, { 0x03f03217, "LaserJet 3050" }, { 0x03f03302, "PhotoSmart 1218" }, { 0x03f03304, "DeskJet 990c" }, { 0x03f03307, "v125w Stick" }, { 0x03f03312, "OfficeJet J6410" }, { 0x03f03317, "LaserJet 3052" }, { 0x03f03402, "PhotoSmart 1115" }, { 0x03f03404, "DeskJet 6122" }, { 0x03f03417, "LaserJet 3055" }, { 0x03f03502, "PhotoSmart 230" }, { 0x03f03504, "DeskJet 6127c" }, { 0x03f03511, "PSC 2300" }, { 0x03f03517, "LaserJet 3390" }, { 0x03f0354a, "Slim Keyboard" }, { 0x03f03602, "PhotoSmart 1315" }, { 0x03f03611, "PSC 2410 PhotoSmart" }, { 0x03f03612, "Officejet Pro 8000 A809" }, { 0x03f03617, "Color LaserJet 2605" }, { 0x03f03711, "PSC 2500" }, { 0x03f03717, "EWS UPD" }, { 0x03f03724, "Webcam" }, { 0x03f03802, "PhotoSmart 100" }, { 0x03f03807, "c485w Flash Drive" }, { 0x03f03817, "LaserJet P2015 series" }, { 0x03f03902, "PhotoSmart 130" }, { 0x03f03912, "Officejet Pro 8500" }, { 0x03f03917, "LaserJet P2014" }, { 0x03f03a02, "PhotoSmart 7150" }, { 0x03f03a11, "OfficeJet 5500 series" }, { 0x03f03a17, "Printing Support" }, { 0x03f03a1d, "hs2340 HSPA+ mobile broadband" }, { 0x03f03b02, "PhotoSmart 7150~" }, { 0x03f03b05, "Scanjet N8460" }, { 0x03f03b11, "PSC 1300 series" }, { 0x03f03b17, "LaserJet M1005 MFP" }, { 0x03f03b2a, "Color LaserJet MFP M277dw" }, { 0x03f03c02, "PhotoSmart 7350" }, { 0x03f03c05, "Scanjet Professional 1000 Mobile Scanner" }, { 0x03f03c11, "PSC 1358" }, { 0x03f03c17, "EWS UPD" }, { 0x03f03d02, "PhotoSmart 7350~" }, { 0x03f03d11, "OfficeJet 4215" }, { 0x03f03d17, "LaserJet P1005" }, { 0x03f03e02, "PhotoSmart 7550" }, { 0x03f03e07, "x755w Flash Drive" }, { 0x03f03e17, "LaserJet P1006" }, { 0x03f03f02, "PhotoSmart 7550~" }, { 0x03f03f11, "PSC-1315/PSC-1317" }, { 0x03f03f17, "Laserjet P1505" }, { 0x03f04002, "HP PhotoSmart ..." }, { 0x03f04004, "CP1160" }, { 0x03f04102, "PhotoSmart 618" }, { 0x03f04105, "ScanJet 4370" }, { 0x03f04111, "OfficeJet 7200 series" }, { 0x03f04117, "LaserJet 1018" }, { 0x03f04202, "HP PhotoSmart 812" }, { 0x03f04205, "ScanJet G3010" }, { 0x03f04211, "OfficeJet 7300 series" }, { 0x03f04217, "EWS CM1015" }, { 0x03f04302, "HP PhotoSmart 850" }, { 0x03f04305, "ScanJet G3110" }, { 0x03f04311, "OfficeJet 7400 series" }, { 0x03f04317, "Color LaserJet CM1017" }, { 0x03f04402, "HP PhotoSmart 935" }, { 0x03f04417, "EWS UPD" }, { 0x03f04502, "HP PhotoSmart 945" }, { 0x03f04505, "ScanJet G4010" }, { 0x03f04507, "External HDD" }, { 0x03f04511, "PhotoSmart 2600" }, { 0x03f04512, "E709n [Officejet 6500 Wireless]" }, { 0x03f04517, "EWS UPD" }, { 0x03f04605, "ScanJet G4050" }, { 0x03f04611, "PhotoSmart 2700" }, { 0x03f04717, "Color LaserJet CP1215" }, { 0x03f04811, "PSC 1600" }, { 0x03f0484a, "Elite Dock G4" }, { 0x03f04911, "PSC 2350" }, { 0x03f04b11, "OfficeJet 6200" }, { 0x03f04c11, "PSC 1500 series" }, { 0x03f04c17, "EWS UPD" }, { 0x03f04d11, "PSC 1400" }, { 0x03f04d17, "EWS UPD" }, { 0x03f04e11, "PhotoSmart 2570 series" }, { 0x03f04f11, "OfficeJet 5600 (USBHUB)" }, { 0x03f04f17, "Color LaserJet CM1312 MFP" }, { 0x03f05004, "DeskJet 995c" }, { 0x03f05011, "PhotoSmart 3100 series" }, { 0x03f05017, "EWS UPD" }, { 0x03f05111, "PhotoSmart 3200 series" }, { 0x03f05211, "PhotoSmart 3300 series" }, { 0x03f05307, "v165w Stick" }, { 0x03f05311, "OfficeJet 6300" }, { 0x03f05312, "Officejet Pro 8500A" }, { 0x03f05317, "Color LaserJet CP2025 series" }, { 0x03f05411, "OfficeJet 4300" }, { 0x03f05511, "DeskJet F300 series" }, { 0x03f05611, "PhotoSmart C3180" }, { 0x03f05617, "LaserJet M1120 MFP" }, { 0x03f05711, "PhotoSmart C4100 series" }, { 0x03f05717, "LaserJet M1120n MFP" }, { 0x03f05811, "PhotoSmart C5100 series" }, { 0x03f05817, "LaserJet M1319f MFP" }, { 0x03f0581d, "lt4112 Gobi 4G Module Network Device" }, { 0x03f05911, "PhotoSmart C6180" }, { 0x03f05912, "Officejet Pro 8600" }, { 0x03f05a11, "PhotoSmart C7100 series" }, { 0x03f05b11, "OfficeJet J2100 series" }, { 0x03f05b12, "Officejet Pro 8100" }, { 0x03f05c11, "PhotoSmart C4200 Printer series" }, { 0x03f05c12, "OfficeJet 6700" }, { 0x03f05c17, "LaserJet P2055 series" }, { 0x03f05c1d, "Hewlett-Packard Slate 7 4600" }, { 0x03f05d11, "PhotoSmart C5200 series" }, { 0x03f05d1d, "Hewlett-Packard Slate 7 2800" }, { 0x03f05e11, "PhotoSmart D7400 series" }, { 0x03f06002, "HP PhotoSmart C500" }, { 0x03f06004, "DeskJet 5550" }, { 0x03f06102, "Hewlett Packard Digital Camera" }, { 0x03f06104, "DeskJet 5650c" }, { 0x03f06117, "color LaserJet 3550" }, { 0x03f06202, "PhotoSmart 215" }, { 0x03f06204, "DeskJet 5150c" }, { 0x03f06217, "Color LaserJet 4700" }, { 0x03f06302, "HP PhotoSmart 612" }, { 0x03f06317, "Color LaserJet 4730mfp" }, { 0x03f0632a, "LaserJet M203-M206" }, { 0x03f06402, "HP PhotoSmart 715" }, { 0x03f06411, "PhotoSmart C8100 series" }, { 0x03f06417, "LaserJet 5200" }, { 0x03f06502, "HP PhotoSmart 120" }, { 0x03f06511, "PhotoSmart C7200 series" }, { 0x03f06602, "HP PhotoSmart 320" }, { 0x03f06611, "PhotoSmart C4380 series" }, { 0x03f06617, "LaserJet 5200L" }, { 0x03f06702, "HP PhotoSmart 720" }, { 0x03f06717, "Color LaserJet 3000" }, { 0x03f06802, "HP PhotoSmart 620" }, { 0x03f06811, "PhotoSmart D5300 series" }, { 0x03f06817, "Color LaserJet 3800" }, { 0x03f06911, "PhotoSmart D7200 series" }, { 0x03f06917, "Color LaserJet 3600" }, { 0x03f06a02, "HP PhotoSmart 735" }, { 0x03f06a11, "PhotoSmart C6200 series" }, { 0x03f06a17, "LaserJet 4240" }, { 0x03f06b02, "HP PhotoSmart 707" }, { 0x03f06b11, "Photosmart C4500 series" }, { 0x03f06c02, "HP PhotoSmart 733" }, { 0x03f06c11, "Photosmart C4480" }, { 0x03f06c17, "Color LaserJet 4610" }, { 0x03f06d02, "HP PhotoSmart 607" }, { 0x03f06e02, "HP PhotoSmart 507" }, { 0x03f06f17, "Color LaserJet CP6015 series" }, { 0x03f07004, "DeskJet 3320c" }, { 0x03f07102, "HP PhotoSmart 635" }, { 0x03f07104, "DeskJet 3420c" }, { 0x03f07117, "CM8060 Color MFP with Edgeline Technology" }, { 0x03f07202, "HP PhotoSmart 43x" }, { 0x03f07204, "DeskJet 36xx" }, { 0x03f07217, "LaserJet M5035 MFP" }, { 0x03f07302, "HP PhotoSmart M307" }, { 0x03f07304, "DeskJet 35xx" }, { 0x03f07311, "Photosmart Premium C309" }, { 0x03f07317, "LaserJet P3005" }, { 0x03f07402, "HP PhotoSmart 407" }, { 0x03f07404, "Printing Support" }, { 0x03f07417, "LaserJet M4345 MFP" }, { 0x03f07502, "HP PhotoSmart M22" }, { 0x03f07504, "Printing Support" }, { 0x03f07517, "LaserJet M3035 MFP" }, { 0x03f07602, "HP PhotoSmart 717" }, { 0x03f07604, "DeskJet 3940" }, { 0x03f07611, "DeskJet F2492 All-in-One" }, { 0x03f07617, "LaserJet P3004" }, { 0x03f07702, "HP PhotoSmart 817" }, { 0x03f07704, "DeskJet D4100" }, { 0x03f07717, "CM8050 Color MFP with Edgeline Technology" }, { 0x03f07802, "HP PhotoSmart 417" }, { 0x03f07804, "DeskJet D1360" }, { 0x03f07817, "Color LaserJet CP3505" }, { 0x03f07902, "HP PhotoSmart 517" }, { 0x03f07917, "LaserJet M5025 MFP" }, { 0x03f07a02, "HP PhotoSmart M415" }, { 0x03f07a04, "DeskJet D2460" }, { 0x03f07a11, "Photosmart B109" }, { 0x03f07a17, "LaserJet M3027 MFP" }, { 0x03f07b02, "HP PhotoSmart M23" }, { 0x03f07b17, "Color LaserJet CP4005" }, { 0x03f07c02, "HP PhotoSmart 217" }, { 0x03f07c17, "Color LaserJet CM6040 series" }, { 0x03f07d02, "HP PhotoSmart 317" }, { 0x03f07d04, "DeskJet F2100 Printer series" }, { 0x03f07d17, "Color LaserJet CM4730 MFP" }, { 0x03f07e02, "HP PhotoSmart 818" }, { 0x03f07e04, "DeskJet F4100 Printer series" }, { 0x03f07e1d, "Hewlett-Packard Slate 10 HD" }, { 0x03f08002, "HP PhotoSmart M425" }, { 0x03f08017, "LaserJet P4515" }, { 0x03f08102, "HP PhotoSmart M525" }, { 0x03f08104, "Printing Support" }, { 0x03f08117, "LaserJet P4015" }, { 0x03f0811c, "Ethernet HN210E" }, { 0x03f08202, "HP PhotoSmart M527" }, { 0x03f08204, "Printing Support" }, { 0x03f08207, "FHA-3510 2.4GHz Wireless Optical Mobile Mouse" }, { 0x03f08217, "LaserJet P4014" }, { 0x03f08317, "LaserJet M9050 MFP" }, { 0x03f08402, "HP PhotoSmart M725" }, { 0x03f08404, "DeskJet 6800 series" }, { 0x03f08417, "LaserJet M9040 MFP" }, { 0x03f08502, "HP PhotoSmart M727" }, { 0x03f08504, "DeskJet 6600 series" }, { 0x03f08604, "DeskJet 5440" }, { 0x03f08607, "Optical Mobile Mouse" }, { 0x03f08702, "HP PhotoSmart R927" }, { 0x03f08704, "DeskJet 5940" }, { 0x03f08711, "Deskjet 2050 J510" }, { 0x03f08802, "HP PhotoSmart R967" }, { 0x03f08804, "DeskJet 6980 series" }, { 0x03f08904, "DeskJet 6940 series" }, { 0x03f08911, "Deskjet 1050 J410" }, { 0x03f08b02, "HP PhotoSmart E327" }, { 0x03f08c02, "HP PhotoSmart E427" }, { 0x03f08c07, "Digital Stereo Headset" }, { 0x03f08c11, "Deskjet F4500 series" }, { 0x03f09002, "PhotoSmart M437" }, { 0x03f09102, "PhotoSmart M537" }, { 0x03f09207, "HD-4110 Webcam" }, { 0x03f09302, "PhotoSmart R930 series" }, { 0x03f09402, "PhotoSmart R837" }, { 0x03f0942a, "LaserJet Pro M12a" }, { 0x03f09502, "PhotoSmart R840 series" }, { 0x03f0952a, "LaserJet Pro M12w" }, { 0x03f09602, "HP PhotoSmart M737" }, { 0x03f09702, "HP PhotoSmart R742" }, { 0x03f09802, "PhotoSmart Mz60 series" }, { 0x03f09902, "PhotoSmart M630 series" }, { 0x03f09a02, "HP PhotoSmart E331" }, { 0x03f09b02, "HP PhotoSmart M547" }, { 0x03f09b07, "Portable Drive" }, { 0x03f09c02, "PhotoSmart M440 series" }, { 0x03f0a004, "DeskJet 5850c" }, { 0x03f0a011, "Deskjet 3050A" }, { 0x03f0a407, "Wireless Optical Comfort Mouse" }, { 0x03f0b002, "PhotoSmart 7200 series" }, { 0x03f0b102, "PhotoSmart 7200 series" }, { 0x03f0b107, "v255w/c310w Flash Drive" }, { 0x03f0b116, "Webcam" }, { 0x03f0b202, "PhotoSmart 7600 series" }, { 0x03f0b302, "PhotoSmart 7600 series" }, { 0x03f0b402, "PhotoSmart 7700 series" }, { 0x03f0b502, "PhotoSmart 7700 series" }, { 0x03f0b602, "PhotoSmart 7900 series" }, { 0x03f0b702, "PhotoSmart 7900 series" }, { 0x03f0b802, "PhotoSmart 7400 series" }, { 0x03f0b902, "PhotoSmart 7800 series" }, { 0x03f0ba02, "PhotoSmart 8100 series" }, { 0x03f0bb02, "PhotoSmart 8400 series" }, { 0x03f0bc02, "PhotoSmart 8700 series" }, { 0x03f0bc11, "Photosmart 7520 series" }, { 0x03f0bd02, "PhotoSmart Pro B9100 series" }, { 0x03f0bef4, "NEC Picty760" }, { 0x03f0c002, "PhotoSmart 7800 series" }, { 0x03f0c102, "PhotoSmart 8000 series" }, { 0x03f0c111, "Deskjet 1510" }, { 0x03f0c202, "PhotoSmart 8200 series" }, { 0x03f0c211, "Deskjet 2540 series" }, { 0x03f0c302, "DeskJet D2300" }, { 0x03f0c402, "PhotoSmart D5100 series" }, { 0x03f0c502, "PhotoSmart D6100 series" }, { 0x03f0c602, "PhotoSmart D7100 series" }, { 0x03f0c702, "PhotoSmart D7300 series" }, { 0x03f0c802, "PhotoSmart D5060 Printer" }, { 0x03f0d104, "Bluetooth Dongle" }, { 0x03f0d507, "39gII [NW249AA]" }, { 0x03f0efbe, "NEC Picty900" }, { 0x03f0f0be, "NEC Picty920" }, { 0x03f0f1be, "NEC Picty800" }, { 0x03f30020, "AWN-8020 WLAN [Intersil PRISM 2.5]" }, { 0x03f30080, "AVC-1100 Audio Capture" }, { 0x03f30083, "AVC-2200 Device" }, { 0x03f30087, "AVC-2210 Loader" }, { 0x03f30088, "AVC-2210 Device" }, { 0x03f3008b, "AVC-2310 Loader" }, { 0x03f3008c, "AVC-2310 Device" }, { 0x03f30094, "eHome Infrared Receiver" }, { 0x03f3009b, "AVC-1410 GameBridge TV NTSC" }, { 0x03f32000, "USBXchange" }, { 0x03f32001, "USBXchange Adapter" }, { 0x03f32002, "USB2-Xchange" }, { 0x03f32003, "USB2-Xchange Adapter" }, { 0x03f34000, "4-port hub" }, { 0x03f3adcc, "Composite Device Support" }, { 0x03f90100, "KT-2001 Keyboard" }, { 0x03f90101, "Keyboard" }, { 0x03f90102, "Keyboard Mouse" }, { 0x03fd0008, "Platform Cable USB II" }, { 0x03fd0050, "dfu downloader" }, { 0x040005dc, "Rigol Technologies DS1000USB Oscilloscope" }, { 0x04000807, "Bluetooth Dongle" }, { 0x0400080a, "Bluetooth Device" }, { 0x040009c4, "Rigol Technologies DG1022 Arbitrary Waveform Generator" }, { 0x04001000, "Mustek BearPaw 1200 Scanner" }, { 0x04001001, "Mustek BearPaw 2400 Scanner" }, { 0x04001237, "Hub" }, { 0x0400a000, "Smart Display Reference Device" }, { 0x0400c359, "Logitech Harmony" }, { 0x0400c35b, "Printing Support" }, { 0x0400c55d, "Rigol Technologies DS5000USB Oscilloscope" }, { 0x04020611, "TrekStor i.Beat Sweez FM" }, { 0x04025462, "M5462 IDE Controller" }, { 0x04025602, "M5602 Video Camera Controller" }, { 0x04025603, "M5603 Video Camera Controller" }, { 0x04025606, "M5606 Video Camera Controller [UVC]" }, { 0x04025621, "M5621 High-Speed IDE Controller" }, { 0x04025623, "M5623 Scanner Controller" }, { 0x04025627, "Welland ME-740PS USB2 3.5\" Power Saving Enclosure" }, { 0x04025632, "M5632 Host-to-Host Link" }, { 0x04025635, "M5635 Flash Card Reader" }, { 0x04025636, "USB 2.0 Storage Device" }, { 0x04025637, "M5637 IDE Controller" }, { 0x04025642, "Storage Device" }, { 0x04025661, "M5661 MP3 player" }, { 0x04025667, "M5667 MP3 player" }, { 0x04025668, "Nextar MA715A-8R" }, { 0x04028841, "Newmine Camera" }, { 0x04029665, "Gateway Webcam" }, { 0x04030000, "H4SMK 7 Port Hub / Bricked Counterfeit FT232 Serial (UART) IC" }, { 0x04030232, "Serial Converter" }, { 0x04031060, "JTAG adapter" }, { 0x04031234, "IronLogic RFID Adapter [Z-2 USB]" }, { 0x04031235, "Iron Logic Z-397 RS-485/422 converter" }, { 0x04036001, "FT232 Serial (UART) IC" }, { 0x04036002, "Lumel PD12" }, { 0x04036007, "Serial Converter" }, { 0x04036008, "Serial Converter" }, { 0x04036009, "Serial Converter" }, { 0x04036010, "FT2232C/D/H Dual UART/FIFO IC" }, { 0x04036011, "FT4232H Quad HS USB-UART/FIFO IC" }, { 0x04036014, "FT232H Single HS USB-UART/FIFO IC" }, { 0x04036015, "Bridge(I2C/SPI/UART/FIFO)" }, { 0x0403601e, "FT600 16-bit FIFO IC" }, { 0x0403601f, "FT601 32-bit FIFO IC" }, { 0x04036ee0, "EZO Carrier Board" }, { 0x04036f70, "HB-RF-USB" }, { 0x04037be8, "FT232R" }, { 0x04038028, "Dev board JTAG (FT232H based)" }, { 0x04038040, "4 Port Hub" }, { 0x04038070, "7 Port Hub" }, { 0x04038140, "Vehicle Explorer Interface" }, { 0x04038210, "MGTimer - MGCC (Vic) Timing System" }, { 0x04038348, "FT232BM [SIENNA Serial Interface]" }, { 0x04038370, "7 Port Hub" }, { 0x04038371, "PS/2 Keyboard And Mouse" }, { 0x04038372, "FT8U100AX Serial Port" }, { 0x04038508, "Selectronic SP PRO" }, { 0x040387d0, "Cressi Dive Computer Interface" }, { 0x04038a28, "Rainforest Automation ZigBee Controller" }, { 0x04038a98, "TIAO Multi-Protocol Adapter" }, { 0x04038b28, "Alpermann+Velte TCI70" }, { 0x04038b29, "Alpermann+Velte TC60 CLS" }, { 0x04038b2a, "Alpermann+Velte Rubidium Q1" }, { 0x04038b2b, "Alpermann+Velte TCD" }, { 0x04038b2c, "Alpermann+Velte TCC70" }, { 0x04039090, "SNAP Stick 200" }, { 0x04039132, "LCD and Temperature Interface" }, { 0x04039133, "CallerID" }, { 0x04039134, "Virtual keyboard" }, { 0x04039135, "Rotary Pub alarm" }, { 0x04039136, "Pulsecounter" }, { 0x04039137, "Ledbutton interface" }, { 0x04039e90, "Marvell OpenRD Base/Client" }, { 0x04039f08, "CIB-1894 Conclusion SmartLink Box:" }, { 0x04039f80, "Ewert Energy Systems CANdapter" }, { 0x0403a6d0, "Texas Instruments XDS100v2 JTAG / BeagleBone A3" }, { 0x0403a951, "HCP HIT GSM/GPRS modem [Cinterion MC55i]" }, { 0x0403a9a0, "FT2232D - Dual UART/FIFO IC - FTDI" }, { 0x0403abb8, "Lego Mindstorms NXTCam" }, { 0x0403b0c0, "microSensys RFID device" }, { 0x0403b0c1, "microSensys RFID device" }, { 0x0403b0c2, "iID contactless RFID device" }, { 0x0403b0c3, "iID contactless RFID device" }, { 0x0403b0c4, "RFID device" }, { 0x0403b0c5, "RFID device" }, { 0x0403b810, "US Interface Navigator (CAT and 2nd PTT lines)" }, { 0x0403b811, "US Interface Navigator (WKEY and FSK lines)" }, { 0x0403b812, "US Interface Navigator (RS232 and CONFIG lines)" }, { 0x0403b9b0, "Fujitsu SK-16FX-100PMC V1.1" }, { 0x0403baf8, "Amontec JTAGkey" }, { 0x0403bcd8, "Stellaris Development Board" }, { 0x0403bcd9, "Stellaris Evaluation Board" }, { 0x0403bcda, "Stellaris ICDI Board" }, { 0x0403bd90, "PICAXE Download Cable [AXE027]" }, { 0x0403bdc8, "Egnite GmbH - JTAG/RS-232 adapter" }, { 0x0403bfd8, "OpenDCC" }, { 0x0403bfd9, "OpenDCC (Sniffer)" }, { 0x0403bfda, "OpenDCC (Throttle)" }, { 0x0403bfdb, "OpenDCC (Gateway)" }, { 0x0403bfdc, "OpenDCC (GBM)" }, { 0x0403c580, "HID UNIKEY dongle [F-Response]" }, { 0x0403c630, "lcd2usb interface" }, { 0x0403c631, "i2c-tiny-usb interface" }, { 0x0403c632, "xu1541 c64 floppy drive interface" }, { 0x0403c633, "TinyCrypt dongle" }, { 0x0403c634, "glcd2usb interface" }, { 0x0403c7d0, "RR-CirKits LocoBuffer-USB" }, { 0x0403c8b8, "Alpermann+Velte MTD TCU" }, { 0x0403c8b9, "Alpermann+Velte MTD TCU 1HE" }, { 0x0403c8ba, "Alpermann+Velte Rubidium H1" }, { 0x0403c8bb, "Alpermann+Velte Rubidium H3" }, { 0x0403c8bc, "Alpermann+Velte Rubidium S1" }, { 0x0403c8bd, "Alpermann+Velte Rubidium T1" }, { 0x0403c8be, "Alpermann+Velte Rubidium D1" }, { 0x0403c8bf, "Alpermann+Velte TC60 RLV" }, { 0x0403cc48, "Tactrix OpenPort 1.3 Mitsubishi" }, { 0x0403cc49, "Tactrix OpenPort 1.3 Subaru" }, { 0x0403cc4a, "Tactrix OpenPort 1.3 Universal" }, { 0x0403cff8, "Amontec JTAGkey" }, { 0x0403d010, "SCS PTC-IIusb" }, { 0x0403d011, "SCS Position-Tracker/TNC" }, { 0x0403d012, "SCS DRAGON 1" }, { 0x0403d013, "SCS DRAGON 1" }, { 0x0403d388, "Xsens converter" }, { 0x0403d389, "Xsens Wireless Receiver" }, { 0x0403d38a, "Xsens serial converter" }, { 0x0403d38b, "Xsens serial converter" }, { 0x0403d38c, "Xsens Wireless Receiver" }, { 0x0403d38d, "Xsens Awinda Station" }, { 0x0403d38e, "Xsens serial converter" }, { 0x0403d38f, "Xsens serial converter" }, { 0x0403d491, "Zolix Omni 1509 monochromator" }, { 0x0403d578, "Accesio USB-COM-4SM" }, { 0x0403d678, "GammaScout" }, { 0x0403d6f8, "UNI Black BOX" }, { 0x0403d738, "Propox JTAGcable II" }, { 0x0403d739, "Propox ISPcable III" }, { 0x0403d9a9, "Actisense USG-1 NMEA Serial Gateway" }, { 0x0403d9aa, "Actisense NGT-1 NMEA2000 PC Interface" }, { 0x0403d9ab, "Actisense NGT-1 NMEA2000 Gateway" }, { 0x0403daf4, "Qundis Serial Infrared Head" }, { 0x0403e0d0, "Total Phase Aardvark I2C/SPI Host Adapter" }, { 0x0403e518, "IBR IMB-usb" }, { 0x0403e521, "EVER Sinline XL Series UPS" }, { 0x0403e6c8, "PYRAMID Computer GmbH LCD" }, { 0x0403e700, "Elster Unicom III Optical Probe" }, { 0x0403e729, "Segway Robotic Mobility Platforms 200" }, { 0x0403e888, "Expert ISDN Control USB" }, { 0x0403e889, "USB-RS232 OptoBridge" }, { 0x0403e88a, "Expert mouseCLOCK USB II" }, { 0x0403e88b, "Precision Clock MSF USB" }, { 0x0403e88c, "Expert mouseCLOCK USB II HBG" }, { 0x0403e8d8, "Aaronia AG Spectran Spectrum Analyzer" }, { 0x0403e8dc, "Aaronia AG UBBV Preamplifier" }, { 0x0403ea90, "Eclo 1-Wire Adapter" }, { 0x0403ecd9, "miControl miCan-Stick" }, { 0x0403ed71, "HAMEG HO870 Serial Port" }, { 0x0403ed72, "HAMEG HO720 Serial Port" }, { 0x0403ed73, "HAMEG HO730 Serial Port" }, { 0x0403ed74, "HAMEG HO820 Serial Port" }, { 0x0403eea2, "PCStage Lite 32 channel DMX512 Interface" }, { 0x0403ef10, "FT1245BL" }, { 0x0403f070, "Serial Converter 422/485 [Vardaan VEUSB422R3]" }, { 0x0403f0c8, "SPROG Decoder Programmer" }, { 0x0403f0c9, "SPROG-DCC CAN-USB" }, { 0x0403f0e9, "Tagsys L-P101" }, { 0x0403f0ee, "Tagsys Medio P200x" }, { 0x0403f1a0, "Asix PRESTO Programmer" }, { 0x0403f208, "Papenmeier Braille-Display" }, { 0x0403f3c0, "4N-GALAXY Serial Converter" }, { 0x0403f458, "ABACUS ELECTRICS Optical Probe" }, { 0x0403f608, "CTI USB-485-Mini" }, { 0x0403f60b, "CTI USB-Nano-485" }, { 0x0403f680, "Suunto Sports Instrument" }, { 0x0403f758, "GW Instek GDS-8x0 Oscilloscope" }, { 0x0403f7c0, "ZeitControl Cardsystems TagTracer MIFARE" }, { 0x0403f850, "USB-UIRT (Universal Infrared Receiver+Transmitter)" }, { 0x0403f918, "Ant8 Logic Probe" }, { 0x0403f9d9, "Wetterempfanger 147.3kHz" }, { 0x0403fa00, "Matrix Orbital USB Serial" }, { 0x0403fa01, "Matrix Orbital MX2 or MX3" }, { 0x0403fa02, "Matrix Orbital MX4 or MX5" }, { 0x0403fa03, "Matrix Orbital VK/LK202 Family" }, { 0x0403fa04, "Matrix Orbital VK/LK204 Family" }, { 0x0403fa20, "Ross-Tech HEX-USB" }, { 0x0403fc08, "Crystalfontz CFA-632 USB LCD" }, { 0x0403fc09, "Crystalfontz CFA-634 USB LCD" }, { 0x0403fc0b, "Crystalfontz CFA-633 USB LCD" }, { 0x0403fc0c, "Crystalfontz CFA-631 USB LCD" }, { 0x0403fc0d, "Crystalfontz CFA-635 USB LCD" }, { 0x0403fc0e, "Crystalfontz CFA-533" }, { 0x0403fc82, "SEMC DSS-20/DSS-25 SyncStation" }, { 0x0403fd48, "ShipModul MiniPlex-4xUSB NMEA Multiplexer" }, { 0x0403fd49, "ShipModul MiniPlex-4xUSB-AIS NMEA Multiplexer" }, { 0x0403fd4b, "ShipModul MiniPlex NMEA Multiplexer" }, { 0x0403ff08, "ToolHouse LoopBack Adapter" }, { 0x0403ff18, "ScienceScope Logbook ML" }, { 0x0403ff19, "Logbook Bus" }, { 0x0403ff1a, "Logbook Bus" }, { 0x0403ff1b, "Logbook Bus" }, { 0x0403ff1c, "ScienceScope Logbook LS" }, { 0x0403ff1d, "ScienceScope Logbook HS" }, { 0x0403ff1e, "Logbook Bus" }, { 0x0403ff1f, "Logbook Bus" }, { 0x04040202, "78XX Scanner" }, { 0x04040203, "78XX Scanner - Embedded System" }, { 0x04040310, "K590 Printer, Self-Service" }, { 0x04040311, "7167 Printer, Receipt/Slip" }, { 0x04040312, "7197 Printer Receipt" }, { 0x04040320, "5932-USB Keyboard" }, { 0x04040321, "5953-USB Dynakey" }, { 0x04040322, "5932-USB Enhanced Keyboard" }, { 0x04040323, "5932-USB Enhanced Keyboard, Flash-Recovery/Download" }, { 0x04040324, "5953-USB Enhanced Dynakey" }, { 0x04040325, "5953-USB Enhanced Dynakey Flash-Recovery/Download" }, { 0x04040328, "K016: USB-MSR ISO 3-track MSR: POS Standard (See HID pages)" }, { 0x04040329, "K018: USB-MSR JIS 2-Track MSR: POS Standard" }, { 0x0404032a, "K016: USB-MSR ISO 3-Track MSR: HID Keyboard Mode" }, { 0x0404032b, "K016/K018: USB-MSR Flash-Recovery/Download" }, { 0x04080103, "FV TouchCam N1 (Audio)" }, { 0x0408030c, "HP Webcam" }, { 0x040803b2, "HP Webcam" }, { 0x040803f4, "HP Webcam" }, { 0x04081030, "FV TouchCam N1 (Video)" }, { 0x04083000, "Optical dual-touch panel" }, { 0x04083001, "Optical Touch Screen" }, { 0x04083008, "Optical Touch Screen" }, { 0x04083899, "Verizon Ellipsis 7" }, { 0x0408a060, "HD Webcam" }, { 0x0408b009, "Medion MD99000 (P9514)/Olivetti Olipad 110" }, { 0x0408b00a, "Medion Lifetab P9514" }, { 0x04090011, "PC98 Series Layout Keyboard Mouse" }, { 0x04090012, "ATerm IT75DSU ISDN TA" }, { 0x04090014, "Japanese Keyboard" }, { 0x04090019, "109 Japanese Keyboard with Bus-Powered Hub" }, { 0x0409001a, "PC98 Series Layout Keyboard with Bus-Powered Hub" }, { 0x04090025, "Mini Keyboard with Bus-Powered Hub" }, { 0x04090027, "MultiSync Monitor" }, { 0x0409002c, "Clik!-USB Drive" }, { 0x04090034, "109 Japanese Keyboard with One-touch start buttons" }, { 0x0409003f, "Wireless Keyboard with One-touch start buttons" }, { 0x04090040, "Floppy" }, { 0x0409004e, "SuperScript 1400 Series" }, { 0x0409004f, "Wireless Keyboard with One-touch start buttons" }, { 0x04090050, "7-port hub" }, { 0x04090058, "HighSpeed Hub" }, { 0x04090059, "HighSpeed Hub" }, { 0x0409005a, "HighSpeed Hub" }, { 0x0409006a, "Conceptronic USB Harddisk Box" }, { 0x0409007d, "MINICUBE2" }, { 0x0409007e, "PG-FP5 Flash Memory Programmer" }, { 0x04090081, "SuperScript 1400 Series" }, { 0x04090082, "SuperScript 1400 Series" }, { 0x04090094, "Japanese Keyboard with One-touch start buttons" }, { 0x04090095, "Japanese Keyboard" }, { 0x040900a9, "AtermIT21L 128K Support Standard" }, { 0x040900aa, "AtermITX72 128K Support Standard" }, { 0x040900ab, "AtermITX62 128K Support Standard" }, { 0x040900ac, "AtermIT42 128K Support Standard" }, { 0x040900ae, "INSMATEV70G-MAX Standard" }, { 0x040900af, "AtermITX70 128K Support Standard" }, { 0x040900b0, "AtermITX80 128K Support Standard" }, { 0x040900b2, "AtermITX80D 128K Support Standard" }, { 0x040900c0, "Wireless Remocon" }, { 0x040900f7, "Smart Display PK-SD10" }, { 0x0409011d, "e228 Mobile Phone" }, { 0x04090193, "RVT-R Writer" }, { 0x04090203, "HID Audio Controls" }, { 0x0409021d, "Aterm WL54SU2 802.11g Wireless Adapter [Atheros AR5523]" }, { 0x04090242, "NEC FOMA N01A" }, { 0x04090248, "Aterm PA-WL54GU" }, { 0x04090249, "Aterm WL300NU-G" }, { 0x040902b4, "Aterm WL300NU-AG" }, { 0x040902b6, "Aterm WL300NU-GS 802.11n Wireless Adapter" }, { 0x040902bc, "Computer Monitor" }, { 0x040902ed, "Casio GzOne Commando C771" }, { 0x04090300, "LifeTouch Note" }, { 0x04090301, "LifeTouch Note (debug mode)" }, { 0x04090326, "NEC Casio C811" }, { 0x04090432, "NEC Casio CA-201L" }, { 0x040955aa, "Hub" }, { 0x040955ab, "Hub [iMac/iTouch kbd]" }, { 0x04098010, "Intellibase Hub" }, { 0x04098011, "Intellibase Hub" }, { 0x0409efbe, "P!cty 900 [HP DJ]" }, { 0x0409f0be, "P!cty 920 [HP DJ 812c]" }, { 0x040a0001, "DVC-323" }, { 0x040a0002, "DVC-325" }, { 0x040a0100, "DC-220" }, { 0x040a0110, "DC-260" }, { 0x040a0111, "DC-265" }, { 0x040a0112, "DC-290" }, { 0x040a0120, "DC-240" }, { 0x040a0121, "Kodak DC240" }, { 0x040a0130, "DC-280" }, { 0x040a0131, "DC-5000" }, { 0x040a0132, "DC-3400" }, { 0x040a0140, "DC-4800" }, { 0x040a0160, "Kodak DC4800" }, { 0x040a0170, "Kodak DX3900" }, { 0x040a0200, "Digital Camera" }, { 0x040a0300, "EZ-200" }, { 0x040a0400, "Kodak MC3" }, { 0x040a0402, "Digital Camera" }, { 0x040a0403, "Kodak Z7590" }, { 0x040a0500, "Kodak DX3500" }, { 0x040a0510, "Kodak DX3600" }, { 0x040a0525, "Kodak DX3215" }, { 0x040a0530, "Kodak DX3700" }, { 0x040a0535, "Kodak CX4230" }, { 0x040a0540, "Kodak LS420" }, { 0x040a0550, "Kodak DX4900" }, { 0x040a0555, "Kodak DX4330" }, { 0x040a0560, "Kodak CX4210" }, { 0x040a0565, "Kodak LS743" }, { 0x040a0566, "Kodak CX4310" }, { 0x040a0567, "Kodak LS753" }, { 0x040a0568, "Kodak LS443" }, { 0x040a0569, "Kodak LS663" }, { 0x040a0570, "Kodak DX6340" }, { 0x040a0571, "Kodak CX6330" }, { 0x040a0572, "Kodak DX6440" }, { 0x040a0573, "Kodak CX6230" }, { 0x040a0574, "Kodak CX6200" }, { 0x040a0575, "Kodak DX6490" }, { 0x040a0576, "Kodak DX4530" }, { 0x040a0577, "Kodak DX7630" }, { 0x040a0578, "Kodak CX7310" }, { 0x040a0579, "Kodak CX7220" }, { 0x040a057a, "Kodak CX7330" }, { 0x040a057b, "Kodak CX7430" }, { 0x040a057c, "Kodak CX7530" }, { 0x040a057d, "Kodak DX7440" }, { 0x040a057e, "Kodak C300" }, { 0x040a057f, "Kodak DX7590" }, { 0x040a0580, "Kodak Z730" }, { 0x040a0581, "Digital Camera" }, { 0x040a0582, "Digital Camera" }, { 0x040a0583, "Digital Camera" }, { 0x040a0584, "Kodak CX6445" }, { 0x040a0585, "Kodak M893 IS" }, { 0x040a0586, "Kodak CX7525" }, { 0x040a0587, "Kodak Z700" }, { 0x040a0588, "Kodak Z740" }, { 0x040a0589, "Kodak C360" }, { 0x040a058a, "Kodak C310" }, { 0x040a058b, "Digital Camera" }, { 0x040a058c, "Kodak C330" }, { 0x040a058d, "Kodak C340" }, { 0x040a058e, "Kodak V530" }, { 0x040a058f, "Kodak V550" }, { 0x040a0590, "Digital Camera" }, { 0x040a0591, "Kodak V570" }, { 0x040a0592, "Kodak P850" }, { 0x040a0593, "Kodak P880" }, { 0x040a0594, "Digital Camera" }, { 0x040a0595, "Kodak Z8612 IS" }, { 0x040a0596, "Digital Camera" }, { 0x040a0597, "Digital Camera" }, { 0x040a0598, "EASYSHARE M1033 digital camera" }, { 0x040a0599, "Digital Camera" }, { 0x040a059a, "Kodak C530" }, { 0x040a059b, "Digital Camera" }, { 0x040a059c, "Kodak CD33" }, { 0x040a059d, "Kodak Z612" }, { 0x040a059e, "Kodak Z650" }, { 0x040a059f, "Kodak M753" }, { 0x040a05a0, "Kodak V603" }, { 0x040a05a1, "Digital Camera" }, { 0x040a05a2, "Kodak C533" }, { 0x040a05a3, "Digital Camera" }, { 0x040a05a4, "Digital Camera" }, { 0x040a05a5, "Digital Camera" }, { 0x040a05a6, "Digital Camera" }, { 0x040a05a7, "Kodak C643" }, { 0x040a05a8, "Digital Camera" }, { 0x040a05a9, "Kodak C875" }, { 0x040a05aa, "Kodak C433" }, { 0x040a05ab, "Kodak V705" }, { 0x040a05ac, "Kodak V610" }, { 0x040a05ad, "Kodak M883" }, { 0x040a05ae, "Kodak C743" }, { 0x040a05af, "Kodak C653" }, { 0x040a05b0, "Digital Camera" }, { 0x040a05b1, "Digital Camera" }, { 0x040a05b2, "Digital Camera" }, { 0x040a05b3, "Kodak Z710" }, { 0x040a05b4, "Kodak Z712 IS" }, { 0x040a05b5, "Kodak Z812 IS" }, { 0x040a05b6, "Digital Camera" }, { 0x040a05b7, "Kodak C613" }, { 0x040a05b8, "Kodak V803" }, { 0x040a05b9, "Digital Camera" }, { 0x040a05ba, "Kodak C633" }, { 0x040a05bb, "Digital Camera" }, { 0x040a05bc, "Digital Camera" }, { 0x040a05bd, "Digital Camera" }, { 0x040a05be, "Digital Camera" }, { 0x040a05bf, "Digital Camera" }, { 0x040a05c0, "Kodak ZD710" }, { 0x040a05c1, "Kodak M863" }, { 0x040a05c2, "Digital Camera" }, { 0x040a05c3, "Kodak C813" }, { 0x040a05c4, "Digital Camera" }, { 0x040a05c5, "Digital Camera" }, { 0x040a05c6, "Kodak C913" }, { 0x040a05c8, "EASYSHARE Z1485 IS Digital Camera" }, { 0x040a05cd, "Kodak Z950" }, { 0x040a05ce, "Kodak M1063" }, { 0x040a05cf, "Kodak Z915" }, { 0x040a05d3, "EasyShare M320 Camera" }, { 0x040a05d4, "EasyShare C180 Digital Camera" }, { 0x040a0600, "Kodak M531" }, { 0x040a060b, "Kodak C183" }, { 0x040a0613, "Kodak Z990" }, { 0x040a0617, "Kodak C1530" }, { 0x040a0665, "Kodak M531 2nd id" }, { 0x040a1001, "EasyShare SV811 Digital Picture Frame" }, { 0x040a4000, "InkJet Color Printer" }, { 0x040a4021, "Photo Printer 6800" }, { 0x040a4022, "1400 Digital Photo Printer" }, { 0x040a4023, "Photo Printer 8800 / 9810" }, { 0x040a402b, "Photo Printer 6850" }, { 0x040a402e, "605 Photo Printer" }, { 0x040a4034, "805 Photo Printer" }, { 0x040a4035, "7000 Photo Printer" }, { 0x040a4037, "7010 Photo Printer" }, { 0x040a4038, "7015 Photo Printer" }, { 0x040a404d, "8810 Photo Printer" }, { 0x040a404f, "305 Photo Printer" }, { 0x040a4056, "ESP 7200 Series AiO" }, { 0x040a4109, "EasyShare Printer Dock Series 3" }, { 0x040a410d, "EasyShare G600 Printer Dock" }, { 0x040a5010, "Wireless Adapter" }, { 0x040a5012, "DBT-220 Bluetooth Adapter" }, { 0x040a6001, "i30" }, { 0x040a6002, "i40" }, { 0x040a6003, "i50" }, { 0x040a6004, "i60" }, { 0x040a6005, "i80" }, { 0x040a6029, "i900" }, { 0x040a602a, "i900" }, { 0x040b0a68, "Func MS-3 gaming mouse [WT6573F MCU]" }, { 0x040b2000, "wired Keyboard [Dynex DX-WRK1401]" }, { 0x040b2367, "Human Interface Device [HP CalcPad 200 Calculator and Numeric Keypad]" }, { 0x040b6510, "Weltrend Bar Code Reader" }, { 0x040b6520, "Xploder Xbox Memory Unit (8MB)" }, { 0x040b6533, "Speed-Link Competition Pro" }, { 0x040b6543, "Manhattan Magnetic Card Strip Reader" }, { 0x040d3184, "VNT VT6656 USB-802.11 Wireless LAN Adapter" }, { 0x040d340b, "FX-Audio DAC-X6" }, { 0x040d340f, "Audinst HUD-mx2" }, { 0x040d6204, "Vectro VT6204 IDE bridge" }, { 0x040d6205, "USB 2.0 Card Reader" }, { 0x040d885c, "Gensis GT-7305" }, { 0x04110001, "LUA-TX Ethernet [pegasus]" }, { 0x04110005, "LUA-TX Ethernet" }, { 0x04110006, "WLI-USB-L11 Wireless LAN Adapter" }, { 0x04110009, "LUA2-TX Ethernet" }, { 0x0411000b, "WLI-USB-L11G-WR Wireless LAN Adapter" }, { 0x0411000d, "WLI-USB-L11G Wireless LAN Adapter" }, { 0x04110012, "LUA-KTX Ethernet" }, { 0x04110013, "USB2-IDE Adapter" }, { 0x04110016, "WLI-USB-S11 802.11b Adapter" }, { 0x04110018, "USB2-IDE Adapter" }, { 0x0411001c, "USB-IDE Bridge: DUB-PxxG" }, { 0x04110027, "WLI-USB-KS11G 802.11b Adapter" }, { 0x0411002a, "SMSC USB97C202 \"HD-HB300V2-EU\"" }, { 0x0411003d, "LUA-U2-KTX Ethernet" }, { 0x04110044, "WLI-USB-KB11 Wireless LAN Adapter" }, { 0x0411004b, "WLI-USB-G54 802.11g Adapter [Broadcom 4320 USB]" }, { 0x0411004d, "WLI-USB-B11 Wireless LAN Adapter" }, { 0x04110050, "WLI2-USB2-G54 Wireless LAN Adapter" }, { 0x0411005e, "WLI-U2-KG54-YB WLAN" }, { 0x04110065, "Python2 WDM Encoder" }, { 0x04110066, "WLI-U2-KG54 WLAN" }, { 0x04110067, "WLI-U2-KG54-AI WLAN" }, { 0x0411006e, "LUA-U2-GT 10/100/1000 Ethernet Adapter" }, { 0x04110089, "RUF-C/U2 Flash Drive" }, { 0x0411008b, "Nintendo Wi-Fi" }, { 0x04110091, "WLI-U2-KAMG54 Wireless LAN Adapter" }, { 0x04110092, "WLI-U2-KAMG54 Bootloader" }, { 0x04110097, "WLI-U2-KG54-BB" }, { 0x041100a9, "WLI-U2-AMG54HP Wireless LAN Adapter" }, { 0x041100aa, "WLI-U2-AMG54HP Bootloader" }, { 0x041100b3, "PC-OP-RS1 RemoteStation" }, { 0x041100bc, "WLI-U2-KG125S 802.11g Adapter [Broadcom 4320 USB]" }, { 0x041100ca, "802.11n Network Adapter" }, { 0x041100cb, "WLI-U2-G300N 802.11n Adapter" }, { 0x041100d8, "WLI-U2-SG54HP" }, { 0x041100d9, "WLI-U2-G54HP" }, { 0x041100da, "WLI-U2-KG54L 802.11bg [ZyDAS ZD1211B]" }, { 0x041100db, "External Hard Drive HD-PF32OU2 [Buffalo Ministation]" }, { 0x041100e8, "WLI-UC-G300N Wireless LAN Adapter [Ralink RT2870]" }, { 0x041100f9, "Portable DVD Writer (DVSM-PL58U2)" }, { 0x04110105, "External Hard Drive HD-CEU2 [Drive Station]" }, { 0x0411012c, "SATA Bridge" }, { 0x0411012e, "WLI-UC-AG300N Wireless LAN Adapter" }, { 0x04110148, "WLI-UC-G300HP Wireless LAN Adapter" }, { 0x04110150, "WLP-UC-AG300 Wireless LAN Adapter" }, { 0x04110157, "External Hard Drive HD-PEU2" }, { 0x04110158, "WLI-UC-GNHP Wireless LAN Adapter" }, { 0x0411015d, "WLI-UC-GN Wireless LAN Adapter [Ralink RT3070]" }, { 0x0411016f, "WLI-UC-G301N Wireless LAN Adapter [Ralink RT3072]" }, { 0x0411017f, "Sony UWA-BR100 802.11abgn Wireless Adapter [Atheros AR7010+AR9280]" }, { 0x0411019e, "WLI-UC-GNP Wireless LAN Adapter" }, { 0x041101a1, "MiniStation Metro" }, { 0x041101a2, "WLI-UC-GNM Wireless LAN Adapter [Ralink RT8070]" }, { 0x041101ba, "SATA Bridge" }, { 0x041101dc, "Ultra-Slim Portable DVD Writer (DVSM-PC58U2V)" }, { 0x041101de, "External Hard Drive HD-PCTU3 [Buffalo MiniStation]" }, { 0x041101ea, "SATA Bridge" }, { 0x041101ee, "WLI-UC-GNM2 Wireless LAN Adapter [Ralink RT3070]" }, { 0x041101f1, "SATA Adapter [HD-LBU3]" }, { 0x041101fd, "WLI-UC-G450 Wireless LAN Adapter" }, { 0x0411027e, "HD-LCU3" }, { 0x04131310, "WinFast TV - NTSC + FM" }, { 0x04131311, "WinFast TV - NTSC + MTS + FM" }, { 0x04131312, "WinFast TV - PAL BG + FM" }, { 0x04131313, "WinFast TV - PAL BG+TXT + FM" }, { 0x04131314, "WinFast TV Audio - PHP PAL I" }, { 0x04131315, "WinFast TV Audio - PHP PAL I+TXT" }, { 0x04131316, "WinFast TV Audio - PHP PAL DK" }, { 0x04131317, "WinFast TV Audio - PHP PAL DK+TXT" }, { 0x04131318, "WinFast TV - PAL I/DK + FM" }, { 0x04131319, "WinFast TV - PAL N + FM" }, { 0x0413131a, "WinFast TV Audio - PHP SECAM LL" }, { 0x0413131b, "WinFast TV Audio - PHP SECAM LL+TXT" }, { 0x0413131c, "WinFast TV Audio - PHP SECAM DK" }, { 0x0413131d, "WinFast TV - SECAM DK + TXT + FM" }, { 0x0413131e, "WinFast TV - NTSC Japan + FM" }, { 0x04131320, "WinFast TV - NTSC" }, { 0x04131321, "WinFast TV - NTSC + MTS" }, { 0x04131322, "WinFast TV - PAL BG" }, { 0x04131323, "WinFast TV - PAL BG+TXT" }, { 0x04131324, "WinFast TV Audio - PHP PAL I" }, { 0x04131325, "WinFast TV Audio - PHP PAL I+TXT" }, { 0x04131326, "WinFast TV Audio - PHP PAL DK" }, { 0x04131327, "WinFast TV Audio - PHP PAL DK+TXT" }, { 0x04131328, "WinFast TV - PAL I/DK" }, { 0x04131329, "WinFast TV - PAL N" }, { 0x0413132a, "WinFast TV Audio - PHP SECAM LL" }, { 0x0413132b, "WinFast TV Audio - PHP SECAM LL+TXT" }, { 0x0413132c, "WinFast TV Audio - PHP SECAM DK" }, { 0x0413132d, "WinFast TV - SECAM DK + TXT" }, { 0x0413132e, "WinFast TV - NTSC Japan" }, { 0x04136023, "EMP Audio Device" }, { 0x04136024, "WinFast PalmTop/Novo TV Video" }, { 0x04136025, "WinFast DTV Dongle (cold state)" }, { 0x04136026, "WinFast DTV Dongle (warm state)" }, { 0x04136029, "WinFast DTV Dongle Gold" }, { 0x04136125, "WinFast DTV Dongle" }, { 0x04136126, "WinFast DTV Dongle BDA Driver" }, { 0x04136a03, "RTL2832 [WinFast DTV Dongle Mini]" }, { 0x04136f00, "WinFast DTV Dongle (STK7700P based)" }, { 0x04140c02, "Gigabyte RCT6773W22 (MTP+ADB)" }, { 0x04142008, "Gigabyte RCT6773W22 (MTP)" }, { 0x04160035, "W89C35 802.11bg WLAN Adapter" }, { 0x04160101, "Hub" }, { 0x04160961, "AVL Flash Card Reader" }, { 0x04163810, "Smart Card Controller" }, { 0x04163811, "Generic Controller - Single interface" }, { 0x04163812, "Smart Card Controller_2Interface" }, { 0x04163813, "Panel Display" }, { 0x04165011, "Virtual Com Port" }, { 0x0416511b, "Nuvoton Nu-Link1 ICE" }, { 0x0416511c, "Nuvoton Nu-Link1 ICE" }, { 0x0416511d, "Nuvoton Nu-Link1 ICE/VCOM" }, { 0x0416511e, "Nuvoton Nu-Link1 MSC/VCOM" }, { 0x04165200, "Nuvoton Nu-Link2-ME ICE/MSC/VCOM" }, { 0x04165201, "Nuvoton Nu-Link2-Pro ICE/MSC/VCOM" }, { 0x04165210, "Nuvoton Nu-Link2 MSC FW UPGRADE" }, { 0x04165211, "Nuvoton Nu-Link2 HID FW UPGRADE" }, { 0x04165518, "4-Port Hub" }, { 0x0416551a, "PC Sync Keypad" }, { 0x0416551b, "PC Async Keypad" }, { 0x0416551c, "Sync Tenkey" }, { 0x0416551d, "Async Tenkey" }, { 0x0416551e, "Keyboard" }, { 0x0416551f, "Keyboard w/ Sys and Media" }, { 0x04165521, "Keyboard" }, { 0x04166481, "16-bit Scanner" }, { 0x04167721, "Memory Stick Reader/Writer" }, { 0x04167722, "Memory Stick Reader/Writer" }, { 0x04167723, "SD Card Reader" }, { 0x0416b23c, "Gaming Keyboard" }, { 0x0416c141, "Barcode Scanner" }, { 0x04190001, "IrDA Remote Controller / Creative Cordless Mouse" }, { 0x04190600, "Desktop Wireless 6000" }, { 0x04192694, "Laila" }, { 0x04193001, "Xerox P1202 Laser Printer" }, { 0x04193003, "Olivetti PG L12L" }, { 0x04193201, "Docuprint P8ex" }, { 0x04193404, "SCX-5x12 series" }, { 0x04193406, "MFP 830 series" }, { 0x04193407, "ML-912" }, { 0x04193601, "InkJet Color Printer" }, { 0x04193602, "InkJet Color Printer" }, { 0x04194602, "Remote NDIS Network Device" }, { 0x04198001, "Hub" }, { 0x04198002, "SyncMaster HID Monitor Control" }, { 0x0419aa03, "SDAS-3 MP3 Player" }, { 0x041e0414, "HS-720 Headset" }, { 0x041e1002, "Nomad II" }, { 0x041e1003, "Blaster GamePad Cobra" }, { 0x041e1050, "GamePad Cobra" }, { 0x041e1053, "Mouse Gamer HD7600L" }, { 0x041e200c, "MuVo V100" }, { 0x041e2020, "Zen X-Fi 2" }, { 0x041e2029, "ZiiO" }, { 0x041e2801, "Prodikeys PC-MIDI multifunction keyboard" }, { 0x041e3000, "SoundBlaster Extigy" }, { 0x041e3002, "SB External Composite Device" }, { 0x041e3010, "SoundBlaster MP3+" }, { 0x041e3014, "SB External Composite Device" }, { 0x041e3015, "Sound Blaster Digital Music LX" }, { 0x041e3020, "SoundBlaster Audigy 2 NX" }, { 0x041e3030, "SB External Composite Device" }, { 0x041e3040, "SoundBlaster Live! 24-bit External SB0490" }, { 0x041e3042, "Sound Blaster X-Fi Surround 5.1" }, { 0x041e3060, "Sound Blaster Audigy 2 ZS External" }, { 0x041e3061, "SoundBlaster Audigy 2 ZS Video Editor" }, { 0x041e3090, "Sound Blaster Digital Music SX" }, { 0x041e30d0, "Xmod" }, { 0x041e30d3, "Sound Blaster Play!" }, { 0x041e3100, "IR Receiver (SB0540)" }, { 0x041e3121, "WoW tap chat" }, { 0x041e3220, "Sound Blaster Tactic(3D) Sigma sound card" }, { 0x041e3232, "Sound Blaster Premium HD [SBX]" }, { 0x041e3237, "SB X-Fi Surround 5.1 Pro" }, { 0x041e3241, "Sound Blaster JAM" }, { 0x041e3263, "SB X-Fi Surround 5.1 Pro" }, { 0x041e3f00, "E-Mu Xboard 25 MIDI Controller" }, { 0x041e3f02, "E-Mu 0202" }, { 0x041e3f04, "E-Mu 0404" }, { 0x041e3f07, "E-Mu Xmidi 1x1" }, { 0x041e3f0a, "E-Mu Tracker Pre" }, { 0x041e3f0e, "Xmidi 1x1 Tab" }, { 0x041e4003, "VideoBlaster Webcam Go Plus [W9967CF]" }, { 0x041e4004, "Nomad II MG" }, { 0x041e4005, "Webcam Blaster Go ES" }, { 0x041e4007, "Go Mini" }, { 0x041e400a, "PC-Cam 300" }, { 0x041e400b, "PC-Cam 600" }, { 0x041e400c, "Webcam 5 [pwc]" }, { 0x041e400d, "Webcam PD1001" }, { 0x041e400f, "PC-CAM 550 (Composite)" }, { 0x041e4011, "Webcam PRO eX" }, { 0x041e4012, "PC-CAM350" }, { 0x041e4013, "PC-Cam 750" }, { 0x041e4015, "CardCam Value" }, { 0x041e4016, "CardCam" }, { 0x041e4017, "Webcam Mobile [PD1090]" }, { 0x041e4018, "Webcam Vista [PD1100]" }, { 0x041e4019, "Audio Device" }, { 0x041e401a, "Webcam Vista [PD1100]" }, { 0x041e401c, "Webcam NX [PD1110]" }, { 0x041e401d, "Webcam NX Ultra" }, { 0x041e401e, "Webcam NX Pro" }, { 0x041e401f, "Webcam Notebook [PD1171]" }, { 0x041e4020, "Webcam NX" }, { 0x041e4021, "Webcam NX Ultra" }, { 0x041e4022, "Webcam NX Pro" }, { 0x041e4028, "Vista Plus cam [VF0090]" }, { 0x041e4029, "Webcam Live!" }, { 0x041e402f, "DC-CAM 3000Z" }, { 0x041e4034, "Webcam Instant" }, { 0x041e4035, "Webcam Instant" }, { 0x041e4036, "Webcam Live!/Live! Pro" }, { 0x041e4037, "Webcam Live!" }, { 0x041e4038, "ORITE CCD Webcam [PC370R]" }, { 0x041e4039, "Webcam Live! Effects" }, { 0x041e403a, "Webcam NX Pro 2" }, { 0x041e403b, "Creative Webcam Vista [VF0010]" }, { 0x041e403c, "Webcam Live! Ultra" }, { 0x041e403d, "Webcam Notebook Ultra" }, { 0x041e403e, "Webcam Vista Plus" }, { 0x041e4041, "Webcam Live! Motion" }, { 0x041e4043, "Vibra Plus Webcam" }, { 0x041e4045, "Live! Cam Voice" }, { 0x041e4049, "Live! Cam Voice" }, { 0x041e4051, "Live! Cam Notebook Pro [VF0250]" }, { 0x041e4052, "Live! Cam Vista IM" }, { 0x041e4053, "Live! Cam Video IM" }, { 0x041e4054, "Live! Cam Video IM" }, { 0x041e4055, "Live! Cam Video IM Pro" }, { 0x041e4056, "Live! Cam Video IM Pro" }, { 0x041e4057, "Live! Cam Optia" }, { 0x041e4058, "Live! Cam Optia AF" }, { 0x041e405f, "WebCam Vista (VF0330)" }, { 0x041e4061, "Live! Cam Notebook Pro [VF0400]" }, { 0x041e4063, "Live! Cam Video IM Pro" }, { 0x041e4068, "Live! Cam Notebook [VF0470]" }, { 0x041e406c, "Live! Cam Sync [VF0520]" }, { 0x041e4083, "Live! Cam Socialize [VF0640]" }, { 0x041e4087, "Live! Cam Socialize HD 1080 [VF0680]" }, { 0x041e4088, "Live! Cam Chat HD [VF0700]" }, { 0x041e4095, "Live! Cam Sync HD [VF0770]" }, { 0x041e4097, "Live! Cam Chat HD [VF0700/VF0790]" }, { 0x041e4099, "Creative VF0800 [RealSense Camera SR300]" }, { 0x041e4100, "Nomad Jukebox 2" }, { 0x041e4101, "Nomad Jukebox 3" }, { 0x041e4102, "NOMAD MuVo^2" }, { 0x041e4106, "Nomad MuVo" }, { 0x041e4107, "NOMAD MuVo" }, { 0x041e4108, "Nomad Jukebox Zen" }, { 0x041e4109, "Nomad Jukebox Zen NX" }, { 0x041e410b, "Nomad Jukebox Zen USB 2.0" }, { 0x041e410c, "Nomad MuVo NX" }, { 0x041e410f, "NOMAD MuVo^2 (Flash)" }, { 0x041e4110, "Nomad Jukebox Zen Xtra" }, { 0x041e4111, "Dell Digital Jukebox" }, { 0x041e4116, "MuVo^2" }, { 0x041e4117, "Nomad MuVo TX" }, { 0x041e411b, "Zen Touch" }, { 0x041e411c, "Nomad MuVo USB 2.0" }, { 0x041e411d, "Zen" }, { 0x041e411e, "Creative ZEN Micro" }, { 0x041e411f, "Creative ZEN Vision" }, { 0x041e4120, "Nomad MuVo TX FM" }, { 0x041e4123, "Creative Portable Media Center" }, { 0x041e4124, "MuVo^2 FM (uHDD)" }, { 0x041e4126, "Dell DJ (2nd gen)" }, { 0x041e4127, "Dell DJ" }, { 0x041e4128, "Creative ZEN Xtra (MTP mode)" }, { 0x041e412b, "MuVo N200 with FM radio" }, { 0x041e412f, "Dell DJ (2nd generation)" }, { 0x041e4130, "Creative ZEN Micro (MTP mode)" }, { 0x041e4131, "Creative ZEN Touch (MTP mode)" }, { 0x041e4132, "Dell Dell Pocket DJ (MTP mode)" }, { 0x041e4133, "Creative ZEN MicroPhoto (alternate version)" }, { 0x041e4134, "Zen Neeon" }, { 0x041e4136, "Zen Sleek" }, { 0x041e4137, "Creative ZEN Sleek (MTP mode)" }, { 0x041e4139, "Zen Nano Plus" }, { 0x041e413c, "Creative ZEN MicroPhoto" }, { 0x041e413d, "Creative ZEN Sleek Photo" }, { 0x041e413e, "Creative ZEN Vision:M" }, { 0x041e4150, "Creative ZEN V" }, { 0x041e4151, "Creative ZEN Vision:M (DVP-HD0004)" }, { 0x041e4152, "Creative ZEN V Plus" }, { 0x041e4153, "Creative ZEN Vision W" }, { 0x041e4154, "Zen Stone" }, { 0x041e4155, "Zen Stone plus" }, { 0x041e4157, "Creative ZEN" }, { 0x041e4158, "Creative ZEN V 2GB" }, { 0x041e4161, "Creative ZEN Mozaic" }, { 0x041e4162, "Creative ZEN X-Fi" }, { 0x041e4169, "Creative ZEN X-Fi 3" }, { 0x041e500f, "Broadband Blaster 8012U-V" }, { 0x041e5015, "TECOM Bluetooth Device" }, { 0x041e6000, "ZiiLABS Zii EGG" }, { 0x041effff, "Webcam Live! Ultra" }, { 0x04201307, "Celly SIM Card Reader" }, { 0x04210001, "E61i (PC Suite mode)" }, { 0x0421000a, "Nokia N81 Mobile Phone" }, { 0x04210018, "6288 GSM Smartphone" }, { 0x04210019, "6288 GSM Smartphone (imaging mode)" }, { 0x0421001a, "6288 GSM Smartphone (file transfer mode)" }, { 0x04210024, "5610 XpressMusic (Storage mode)" }, { 0x04210025, "5610 XpressMusic (PC Suite mode)" }, { 0x04210028, "5610 XpressMusic (Imaging mode)" }, { 0x0421002d, "6120 Phone (Mass storage mode)" }, { 0x0421002e, "Nokia 6120c Classic Mobile Phone" }, { 0x0421002f, "6120 Phone (PC-Suite mode)" }, { 0x04210039, "Nokia N96 Mobile Phone" }, { 0x0421003c, "Nokia 6500c Classic Mobile Phone" }, { 0x04210042, "E51 (PC Suite mode)" }, { 0x0421005f, "Nokia 3110c Mobile Phone" }, { 0x04210064, "3109c GSM Phone" }, { 0x04210065, "Nokia 3109c Mobile Phone" }, { 0x0421006b, "5310 Xpress Music (PC Suite mode)" }, { 0x0421006c, "Nokia 5310 XpressMusic" }, { 0x0421006d, "N95 (Storage mode)" }, { 0x0421006e, "Nokia N95 Mobile Phone 8GB" }, { 0x0421006f, "N95 (Printing mode)" }, { 0x04210070, "N95 (PC Suite mode)" }, { 0x04210074, "Nokia N82 Mobile Phone" }, { 0x04210079, "Nokia N78 Mobile Phone" }, { 0x0421008d, "Nokia 6220 Classic" }, { 0x04210092, "Nokia N85 Mobile Phone" }, { 0x04210096, "N810 Internet Tablet" }, { 0x04210098, "Nokia 6210 Navigator" }, { 0x042100aa, "E71 (Mass storage mode)" }, { 0x042100ab, "E71 (PC Suite mode)" }, { 0x042100e4, "Nokia E71" }, { 0x042100e5, "Nokia E66" }, { 0x042100ea, "Nokia 5320 XpressMusic" }, { 0x04210103, "ADL Flashing Engine AVALON Parent" }, { 0x04210104, "ADL Re-Flashing Engine Parent" }, { 0x04210105, "Nokia Firmware Upgrade Mode" }, { 0x04210106, "ROM Parent" }, { 0x0421010d, "E75 (Storage Mode)" }, { 0x0421010e, "E75 (PC Suite mode)" }, { 0x0421010f, "E75 (Media transfer mode)" }, { 0x04210110, "E75 (Imaging Mode)" }, { 0x04210154, "Nokia 5800 XpressMusic" }, { 0x04210155, "Nokia 5800 XpressMusic v2" }, { 0x04210156, "5800 XpressMusic (Storage mode)" }, { 0x04210157, "5800 XpressMusic (Imaging mode)" }, { 0x04210159, "Nokia 5800 XpressMusic v3" }, { 0x04210179, "Nokia E63" }, { 0x04210186, "Nokia N79" }, { 0x04210189, "N810 Internet Tablet WiMAX" }, { 0x04210199, "6700 Classic (msc)" }, { 0x0421019a, "6700 Classic (PC Suite)" }, { 0x0421019b, "6700 Classic (mtp)" }, { 0x042101a1, "Nokia E71x" }, { 0x042101b0, "6303 classic Phone (PC Suite mode)" }, { 0x042101b1, "6303 classic Phone (Mass storage mode)" }, { 0x042101b2, "6303 classic Phone (Printing and media mode)" }, { 0x042101c7, "N900 (Storage Mode)" }, { 0x042101c8, "N900/N950 (PC-Suite Mode)" }, { 0x042101cf, "Nokia E52" }, { 0x042101ee, "Nokia 3710" }, { 0x042101f4, "Nokia N97-1" }, { 0x042101f5, "Nokia N97" }, { 0x04210209, "Nokia 5130 XpressMusic" }, { 0x04210221, "Nokia E72" }, { 0x04210228, "5530 XpressMusic" }, { 0x04210229, "Nokia 5530" }, { 0x0421023a, "6730 Classic" }, { 0x0421026a, "N97 (mass storage)" }, { 0x0421026b, "Nokia N97 mini" }, { 0x0421026c, "N97 (PC Suite)" }, { 0x0421026d, "N97 (Pictures)" }, { 0x04210274, "Nokia X6" }, { 0x04210295, "660i/6600i Slide Phone (Mass Storage)" }, { 0x04210297, "Nokia 6600i" }, { 0x042102c1, "Nokia 2710" }, { 0x042102e1, "5230 (Storage mode)" }, { 0x042102e2, "Nokia 5230" }, { 0x042102e3, "5230 (PC-Suite mode)" }, { 0x042102e4, "5230 (Imaging mode)" }, { 0x042102fe, "Nokia N8" }, { 0x04210302, "Nokia N8 (Ovi mode)" }, { 0x0421032f, "Nokia E6" }, { 0x04210334, "Nokia E7" }, { 0x04210335, "Nokia E7 (Ovi mode)" }, { 0x04210360, "C1-01 Ovi Suite Mode" }, { 0x04210396, "C7-00 (Modem mode)" }, { 0x042103a4, "C5 (Storage mode)" }, { 0x042103c0, "C7-00 (Mass storage mode)" }, { 0x042103c1, "Nokia C7" }, { 0x042103c2, "Sim" }, { 0x042103cd, "Nokia C7 (ID2)" }, { 0x042103d1, "N950 (Storage Mode)" }, { 0x042103d2, "Nokia N950" }, { 0x04210400, "7600 Phone Parent" }, { 0x04210401, "6650 GSM Phone" }, { 0x04210402, "6255 Phone Parent" }, { 0x04210404, "5510" }, { 0x04210405, "9500 GSM Communicator" }, { 0x04210407, "Music Player HDR-1(tm)" }, { 0x0421040b, "N-Gage GSM Phone" }, { 0x0421040d, "6620 Phone Parent" }, { 0x0421040e, "6651 Phone Parent" }, { 0x0421040f, "6230 GSM Phone" }, { 0x04210410, "6630 Imaging Smartphone" }, { 0x04210411, "7610 Phone Parent" }, { 0x04210413, "6260 Phone Parent" }, { 0x04210414, "7370" }, { 0x04210415, "9300 GSM Smartphone" }, { 0x04210416, "6170 Phone Parent" }, { 0x04210417, "7270 Phone Parent" }, { 0x04210418, "E70 (PC Suite mode)" }, { 0x04210419, "E60 (PC Suite mode)" }, { 0x0421041a, "9500 GSM Communicator (RNDIS)" }, { 0x0421041b, "9300 GSM Smartphone (RNDIS)" }, { 0x0421041c, "7710 Phone Parent" }, { 0x0421041d, "6670 Phone Parent" }, { 0x0421041e, "6680" }, { 0x0421041f, "6235 Phone Parent" }, { 0x04210421, "3230 Phone Parent" }, { 0x04210422, "6681 Phone Parent" }, { 0x04210423, "6682 Phone Parent" }, { 0x04210428, "6230i Modem" }, { 0x04210429, "6230i MultiMedia Card" }, { 0x04210431, "770/N800 Internet Tablet" }, { 0x04210432, "N90 Phone Parent" }, { 0x04210435, "E70 (IP Passthrough/RNDIS mode)" }, { 0x04210436, "E60 (IP Passthrough/RNDIS mode)" }, { 0x04210437, "6265 Phone Parent" }, { 0x0421043a, "N70 USB Phone Parent" }, { 0x0421043b, "3155 Phone Parent" }, { 0x0421043c, "6155 Phone Parent" }, { 0x0421043d, "6270 Phone Parent" }, { 0x04210443, "N70 Phone Parent" }, { 0x04210444, "N91" }, { 0x0421044c, "NM850iG Phone Parent" }, { 0x0421044d, "E61 (PC Suite mode)" }, { 0x0421044e, "E61 (Data Exchange mode)" }, { 0x0421044f, "E61 (IP Passthrough/RNDIS mode)" }, { 0x04210453, "9300 Phone Parent" }, { 0x04210456, "6111 Phone Parent" }, { 0x04210457, "6111 Phone (Printing mode)" }, { 0x0421045a, "6280 Phone Parent" }, { 0x0421045d, "6282 Phone Parent" }, { 0x04210462, "Nokia 3250 Mobile Phone" }, { 0x0421046e, "6110 Navigator" }, { 0x04210471, "6110 Navigator" }, { 0x04210478, "Nokia N93 Mobile Phone" }, { 0x0421047e, "Nokia 5500 Sport Mobile Phone" }, { 0x04210485, "Nokia N91 Mobile Phone" }, { 0x04210488, "Nokia N73" }, { 0x042104b4, "Nokia 5700 XpressMusic Mobile Phone" }, { 0x042104b9, "5300" }, { 0x042104ba, "Nokia 5300 Mobile Phone" }, { 0x042104bc, "5200 (Nokia mode)" }, { 0x042104bd, "5200 (Storage mode)" }, { 0x042104be, "Nokia 5200 Mobile Phone" }, { 0x042104c3, "N800 Internet Tablet" }, { 0x042104ce, "E90 Communicator (PC Suite mode)" }, { 0x042104cf, "E90 Communicator (Storage mode)" }, { 0x042104d1, "Nokia N73 Mobile Phone" }, { 0x042104e1, "Nokia N75 Mobile Phone" }, { 0x042104e5, "Nokia N93i Mobile Phone" }, { 0x042104ef, "Nokia N95 Mobile Phone" }, { 0x042104f0, "Nokia N95 (PC Suite mode)" }, { 0x042104f1, "Nokia N80 Internet Edition (Media Player)" }, { 0x042104f9, "6300 (PC Suite mode)" }, { 0x04210508, "E65 (PC Suite mode)" }, { 0x04210509, "E65 (Storage mode)" }, { 0x04210518, "N9 (Storage mode)" }, { 0x04210519, "N9 (RNDIS/Ethernet mode)" }, { 0x0421051a, "Nokia N9" }, { 0x04210524, "Nokia N300" }, { 0x04210530, "Nokia 701" }, { 0x0421054d, "C2-01" }, { 0x04210592, "Nokia C5-00" }, { 0x04210595, "Nokia C5-00 (ID2)" }, { 0x042105c0, "Nokia 500" }, { 0x042105d3, "Nokia 808 PureView" }, { 0x04210600, "Digital Pen SU-1B" }, { 0x04210610, "CS-15 (Internet Stick 3G modem)" }, { 0x04210661, "Nokia Lumia WP8" }, { 0x04210662, "301 Dual SIM (Mass Storage)" }, { 0x04210663, "301 Dual SIM" }, { 0x04210666, "Nokia Lumia 301" }, { 0x0421069a, "130 [RM-1035] (Charging only)" }, { 0x042106e8, "Nokia XL" }, { 0x042106fc, "Nokia Lumia (RM-975)" }, { 0x04210708, "Nokia X2 Dual Sim" }, { 0x04210720, "X (RM-980)" }, { 0x04210800, "Connectivity Cable DKU-5" }, { 0x04210801, "Data Cable DKU-6" }, { 0x04210802, "CA-42 Phone Parent" }, { 0x0423000a, "NetMate Ethernet" }, { 0x0423000c, "NetMate2 Ethernet" }, { 0x0423000d, "USB Chief Analyzer" }, { 0x04230100, "Generic Universal Protocol Analyzer" }, { 0x04230101, "UPA USBTracer" }, { 0x04230200, "Generic 10K Universal Protocol Analyzer" }, { 0x0423020a, "PETracer ML" }, { 0x04230300, "Generic Universal Protocol Analyzer" }, { 0x04230301, "2500H Tracer Trainer" }, { 0x0423030a, "PETracer x1" }, { 0x04231237, "Andromeda Hub" }, { 0x04240001, "Integrated Hub" }, { 0x04240007, "ULPI Transciever [USB3320]" }, { 0x04240140, "LPC47M14x hub" }, { 0x04240acd, "Sitecom Internal Multi Memory reader/writer MD-005" }, { 0x04240fdc, "Floppy" }, { 0x042410cd, "Sitecom Internal Multi Memory reader/writer MD-005" }, { 0x04242020, "USB Hub" }, { 0x042420cd, "Sitecom Internal Multi Memory reader/writer MD-005" }, { 0x042420fc, "6-in-1 Card Reader" }, { 0x04242134, "Hub" }, { 0x04242228, "9-in-2 Card Reader" }, { 0x0424223a, "8-in-1 Card Reader" }, { 0x04242412, "Hub" }, { 0x04242503, "USB 2.0 Hub" }, { 0x04242504, "Hub" }, { 0x04242507, "hub" }, { 0x04242512, "USB 2.0 Hub" }, { 0x04242513, "2.0 Hub" }, { 0x04242514, "USB 2.0 Hub" }, { 0x04242517, "Hub" }, { 0x04242524, "USB MultiSwitch Hub" }, { 0x04242602, "USB 2.0 Hub" }, { 0x04242640, "USB 2.0 Hub" }, { 0x04242660, "Hub" }, { 0x04242744, "Hub" }, { 0x0424274d, "HTC Hub Controller" }, { 0x04242807, "Hub" }, { 0x04243fc7, "RME Babyface audio system" }, { 0x04243fcc, "RME MADIface" }, { 0x04244041, "Hub and media card controller" }, { 0x04244060, "Ultra Fast Media Reader" }, { 0x04244064, "Ultra Fast Media Reader" }, { 0x04244712, "USB4712 high-speed hub" }, { 0x04244713, "USB4715 high-speed hub (2 ports disabled)" }, { 0x04244714, "USB4715 high-speed hub (1 port disabled)" }, { 0x04244715, "USB4715 high-speed hub" }, { 0x04244910, "USB491x hub integrated functions (primary)" }, { 0x04244912, "USB4912 high-speed hub (1 port disabled)" }, { 0x04244914, "USB4914 high-speed hub" }, { 0x04244916, "USB4916 high-speed hub" }, { 0x04244920, "USB491x hub integrated functions (secondary)" }, { 0x04244925, "USB4925 high-speed hub (primary upstream)" }, { 0x04244927, "USB4927 high-speed hub (primary upstream)" }, { 0x04244931, "USB4925/4927 high-speed hub (secondary upstream)" }, { 0x04244940, "USB47xx/49xx hub integrated WinUSB" }, { 0x04244942, "USB47xx/49xx hub integrated I2S audio port" }, { 0x04244943, "USB47xx/49xx hub integrated I2S audio + HID port" }, { 0x04244944, "USB47xx/49xx hub integrated serial port" }, { 0x04244946, "USB47xx/49xx hub integrated serial + I2S audio port" }, { 0x04244947, "USB47xx/49xx hub integrated serial + I2S audio + HID port" }, { 0x0424494a, "USB47xx/49xx hub integrated WinUSB + I2S audio port" }, { 0x0424494b, "USB47xx/49xx hub integrated WinUSB + I2S audio + HID port" }, { 0x0424494c, "USB47xx/49xx hub integrated WinUSB + serial port" }, { 0x0424494e, "USB47xx/49xx hub integrated WinUSB + serial + I2S audio port" }, { 0x0424494f, "USB47xx/49xx hub integrated WinUSB + serial + I2S audio + HID port" }, { 0x04245434, "Hub" }, { 0x04245534, "Hub" }, { 0x04245744, "Hub" }, { 0x04245807, "Hub" }, { 0x04247500, "LAN7500 Ethernet 10/100/1000 Adapter" }, { 0x04249500, "LAN9500/LAN9500i" }, { 0x04249512, "SMC9512/9514 USB Hub" }, { 0x04249514, "SMC9514 Hub" }, { 0x04249904, "LAN9512/LAN9514 Ethernet 10/100 Adapter (SAL10)" }, { 0x04249e00, "LAN9500A/LAN9500Ai" }, { 0x0424a700, "2 Port Hub" }, { 0x0424ec00, "SMSC9512/9514 Fast Ethernet Adapter" }, { 0x04250101, "G-Tech Wireless Mouse & Keyboard" }, { 0x0425f102, "G-Tech U+P Wireless Mouse" }, { 0x04260426, "WDM Driver" }, { 0x04284001, "GamePad Pro" }, { 0x042b9316, "8x931Hx Customer Hub" }, { 0x042e0380, "MP3 Player" }, { 0x04300002, "109 Keyboard" }, { 0x04300005, "Type 6 Keyboard" }, { 0x0430000a, "109 Japanese Keyboard" }, { 0x0430000b, "109 Japanese Keyboard" }, { 0x04300082, "109 Japanese Keyboard" }, { 0x04300083, "109 Japanese Keyboard" }, { 0x043000a2, "Type 7 Keyboard" }, { 0x04300100, "3-button Mouse" }, { 0x04300406, "KVM Switch" }, { 0x04300502, "Panasonic CF-19 HID Touch Panel" }, { 0x0430100e, "24.1\" LCD Monitor v4 / FID-638 Mouse" }, { 0x043036ba, "Bus Powered Hub" }, { 0x0430a101, "remote key/mouse for P3 chip" }, { 0x0430a102, "remote key/mouse/storage for P3 chip" }, { 0x0430a103, "remote storage for P3 chip" }, { 0x0430a111, "remote keyboard for P4 chip" }, { 0x0430a112, "remote mouse for P4 chip" }, { 0x0430a113, "remote storage for P4 chip" }, { 0x0430a4a2, "Ethernet (RNDIS and CDC ethernet)" }, { 0x0430cdab, "Raritan KVM dongle" }, { 0x04310100, "Mouse-Trak 3-button Track Ball" }, { 0x04320031, "Document Processor" }, { 0x04331101, "IBM Game Controller" }, { 0x0433abab, "Keyboard" }, { 0x04360005, "CameraMate (DPCM_USB)" }, { 0x04387900, "Root Hub" }, { 0x043d0001, "Laser Printer" }, { 0x043d0002, "Optra E310 Printer" }, { 0x043d0003, "Laser Printer" }, { 0x043d0004, "Laser Printer" }, { 0x043d0005, "Laser Printer" }, { 0x043d0006, "Laser Printer" }, { 0x043d0007, "Laser Printer" }, { 0x043d0008, "Inkjet Color Printer" }, { 0x043d0009, "Optra S2450 Printer" }, { 0x043d000a, "Laser Printer" }, { 0x043d000b, "Inkjet Color Printer" }, { 0x043d000c, "Optra E312 Printer" }, { 0x043d000d, "Laser Printer" }, { 0x043d000e, "Laser Printer" }, { 0x043d000f, "Laser Printer" }, { 0x043d0010, "Laser Printer" }, { 0x043d0011, "Laser Printer" }, { 0x043d0012, "Inkjet Color Printer" }, { 0x043d0013, "Inkjet Color Printer" }, { 0x043d0014, "InkJet Color Printer" }, { 0x043d0015, "InkJet Color Printer" }, { 0x043d0016, "Z12 Color Jetprinter" }, { 0x043d0017, "Z32 printer" }, { 0x043d0018, "Z52 Printer" }, { 0x043d0019, "Forms Printer" }, { 0x043d001a, "Z65 Printer" }, { 0x043d001b, "InkJet Photo Printer" }, { 0x043d001c, "Kodak Personal Picture Maker 200 Printer" }, { 0x043d001d, "InkJet Color Printer" }, { 0x043d001e, "InkJet Photo Printer" }, { 0x043d001f, "Kodak Personal Picture Maker 200 Card Reader" }, { 0x043d0020, "Z51 Printer" }, { 0x043d0021, "Z33 Printer" }, { 0x043d0022, "InkJet Color Printer" }, { 0x043d0023, "Laser Printer" }, { 0x043d0024, "Laser Printer" }, { 0x043d0025, "InkJet Color Printer" }, { 0x043d0026, "InkJet Color Printer" }, { 0x043d0027, "InkJet Color Printer" }, { 0x043d0028, "InkJet Color Printer" }, { 0x043d0029, "Scan Print Copy" }, { 0x043d002a, "Scan Print Copy" }, { 0x043d002b, "Scan Print Copy" }, { 0x043d002c, "Scan Print Copy" }, { 0x043d002d, "X70/X73 Scan/Print/Copy" }, { 0x043d002e, "Scan Print Copy" }, { 0x043d002f, "Scan Print Copy" }, { 0x043d0030, "Scan Print Copy" }, { 0x043d0031, "Scan Print Copy" }, { 0x043d0032, "Scan Print Copy" }, { 0x043d0033, "Scan Print Copy" }, { 0x043d0034, "Scan Print Copy" }, { 0x043d0035, "Scan Print Copy" }, { 0x043d0036, "Scan Print Copy" }, { 0x043d0037, "Scan Print Copy" }, { 0x043d0038, "Scan Print Copy" }, { 0x043d0039, "Scan Print Copy" }, { 0x043d003a, "Scan Print Copy" }, { 0x043d003b, "Scan Print Copy" }, { 0x043d003c, "Scan Print Copy" }, { 0x043d003d, "X83 Scan/Print/Copy" }, { 0x043d003e, "Scan Print Copy" }, { 0x043d003f, "Scan Print Copy" }, { 0x043d0040, "Scan Print Copy" }, { 0x043d0041, "Scan Print Copy" }, { 0x043d0042, "Scan Print Copy" }, { 0x043d0043, "Scan Print Copy" }, { 0x043d0044, "Scan Print Copy" }, { 0x043d0045, "Scan Print Copy" }, { 0x043d0046, "Scan Print Copy" }, { 0x043d0047, "Scan Print Copy" }, { 0x043d0048, "Scan Print Copy" }, { 0x043d0049, "Scan Print Copy" }, { 0x043d004a, "Scan Print Copy" }, { 0x043d004b, "Scan Print Copy" }, { 0x043d004c, "Scan Print Copy" }, { 0x043d004d, "Laser Printer" }, { 0x043d004e, "Laser Printer" }, { 0x043d004f, "InkJet Color Printer" }, { 0x043d0050, "InkJet Color Printer" }, { 0x043d0051, "Laser Printer" }, { 0x043d0052, "Laser Printer" }, { 0x043d0053, "InkJet Color Printer" }, { 0x043d0054, "InkJet Color Printer" }, { 0x043d0057, "Z35 Printer" }, { 0x043d0058, "Laser Printer" }, { 0x043d005a, "X63" }, { 0x043d005c, "InkJet Color Printer" }, { 0x043d0060, "X74/X75 Scanner" }, { 0x043d0061, "X74 Hub" }, { 0x043d0065, "X5130" }, { 0x043d0069, "X74/X75 Printer" }, { 0x043d006d, "X125" }, { 0x043d006e, "C510" }, { 0x043d0072, "X6170 Printer" }, { 0x043d0073, "InkJet Color Printer" }, { 0x043d0078, "InkJet Color Printer" }, { 0x043d0079, "InkJet Color Printer" }, { 0x043d007a, "Generic Hub" }, { 0x043d007b, "InkJet Color Printer" }, { 0x043d007c, "X1110/X1130/X1140/X1150/X1170/X1180/X1185" }, { 0x043d007d, "Photo 3150" }, { 0x043d008a, "4200 series" }, { 0x043d008b, "InkJet Color Printer" }, { 0x043d008c, "to CF/SM/SD/MS Card Reader" }, { 0x043d008e, "InkJet Color Printer" }, { 0x043d008f, "X422" }, { 0x043d0091, "Laser Printer E232" }, { 0x043d0093, "X5250" }, { 0x043d0095, "E220 Printer" }, { 0x043d0096, "2200 series" }, { 0x043d0097, "P6250" }, { 0x043d0098, "7100 series" }, { 0x043d009e, "P910 series Human Interface Device" }, { 0x043d009f, "InkJet Color Printer" }, { 0x043d00a9, "IBM Infoprint 1410 MFP" }, { 0x043d00ab, "InkJet Color Printer" }, { 0x043d00b2, "3300 series" }, { 0x043d00b8, "7300 series" }, { 0x043d00b9, "8300 series" }, { 0x043d00ba, "InkJet Color Printer" }, { 0x043d00bb, "2300 series" }, { 0x043d00bd, "Printing Support" }, { 0x043d00be, "Printing Support" }, { 0x043d00bf, "Printing Support" }, { 0x043d00c0, "6300 series" }, { 0x043d00c1, "4300 series" }, { 0x043d00c7, "Printing Support" }, { 0x043d00c8, "Printing Support" }, { 0x043d00c9, "Printing Support" }, { 0x043d00cb, "Printing Support" }, { 0x043d00cc, "E120(n)" }, { 0x043d00d0, "9300 series" }, { 0x043d00d3, "X340 Scanner" }, { 0x043d00d4, "X342n Scanner" }, { 0x043d00d5, "Printing Support" }, { 0x043d00d6, "X340 Scanner" }, { 0x043d00e8, "X642e" }, { 0x043d00e9, "2400 series" }, { 0x043d00f6, "3400 series" }, { 0x043d00f7, "InkJet Color Printer" }, { 0x043d00ff, "InkJet Color Printer" }, { 0x043d010b, "2500 series" }, { 0x043d010d, "3500-4500 series" }, { 0x043d010f, "6500 series" }, { 0x043d0142, "X3650 (Printer, Scanner, Copier)" }, { 0x043d01fa, "S310 series" }, { 0x043d020e, "RICOH Aficio SP 4410SF" }, { 0x043d4303, "Xerox WorkCentre Pro 412" }, { 0x043e3001, "AN-WF100 802.11abgn Wireless Adapter [Broadcom BCM4323]" }, { 0x043e3004, "TWFM-B003D 802.11abgn Wireless Module [Broadcom BCM43236B]" }, { 0x043e3009, "VC400" }, { 0x043e3101, "AN-WF500 802.11abgn + BT Wireless Adapter [Broadcom BCM43242]" }, { 0x043e42bd, "Flatron 795FT Plus Monitor" }, { 0x043e4a4d, "Flatron 915FT Plus Monitor" }, { 0x043e7001, "MF-PD100 Soul Digital MP3 Player" }, { 0x043e7013, "MP3 Player" }, { 0x043e7040, "LG Electronics Inc. T54" }, { 0x043e70b1, "LG Electronics Inc. UP3" }, { 0x043e70d7, "Mouse Scanner LSM-150 [LG Smart Scan Mouse]" }, { 0x043e70f5, "External HDD" }, { 0x043e8484, "LPC-U30 Webcam II" }, { 0x043e8585, "LPC-UC35 Webcam" }, { 0x043e8888, "Electronics VCS Camera II(LPC-U20)" }, { 0x043e9800, "Remote Control Receiver_iMON" }, { 0x043e9803, "eHome Infrared Receiver" }, { 0x043e9804, "DMB Receiver Control" }, { 0x043e9a39, "27UP850 - WK.AEUDCSN - External Monitor 4K" }, { 0x043e9c01, "LGE Sync" }, { 0x04411456, "Hub" }, { 0x0442abba, "Bluetooth Device" }, { 0x0443000e, "Multimedia Keyboard" }, { 0x0443002e, "Millennium Keyboard" }, { 0x04466781, "Keyboard with PS/2 Mouse Port" }, { 0x04466782, "Keyboard" }, { 0x04490128, "Menengah" }, { 0x04490210, "Dasar" }, { 0x04490612, "Lanjutan" }, { 0x044e1104, "Japanese Keyboard" }, { 0x044e2002, "MD-5500 Printer" }, { 0x044e2014, "Bluetooth Device" }, { 0x044e3001, "UGTZ4 Bluetooth" }, { 0x044e3002, "Bluetooth Device" }, { 0x044e3003, "Bluetooth Device" }, { 0x044e3004, "Bluetooth Adapter" }, { 0x044e3005, "Integrated Bluetooth Device" }, { 0x044e3006, "Bluetooth Adapter" }, { 0x044e3007, "Bluetooth Controller (ALPS/UGX)" }, { 0x044e300c, "Bluetooth Controller (ALPS/UGPZ6)" }, { 0x044e300d, "Bluetooth Controller (ALPS/UGPZ6)" }, { 0x044e3010, "Bluetooth Adapter" }, { 0x044e3017, "BCM2046 Bluetooth Device" }, { 0x044effff, "Compaq Bluetooth Multiport Module" }, { 0x044f0400, "HOTAS Cougar" }, { 0x044f0402, "HOTAS Warthog Joystick" }, { 0x044f0404, "HOTAS Warthog Throttle" }, { 0x044f044f, "GP XID" }, { 0x044f0f00, "Steering Wheel for Xbox" }, { 0x044f0f03, "Steering Wheel for Xbox" }, { 0x044f0f07, "Controller for Xbox" }, { 0x044f0f0c, "Xbox Memory Unit (8MB)" }, { 0x044f0f10, "Modena GT Wheel" }, { 0x044fa003, "Rage 3D Game Pad" }, { 0x044fa01b, "PK-GP301 Driving Wheel" }, { 0x044fa0a0, "Top Gun Joystick" }, { 0x044fa0a1, "Top Gun Joystick (rev2)" }, { 0x044fa0a3, "Fusion Digital GamePad" }, { 0x044fa201, "PK-GP201 PlayStick" }, { 0x044fb108, "T-Flight Hotas X Flight Stick" }, { 0x044fb10a, "T.16000M Joystick" }, { 0x044fb203, "360 Modena Pro Wheel" }, { 0x044fb300, "Firestorm Dual Power" }, { 0x044fb303, "FireStorm Dual Analog 2" }, { 0x044fb304, "Firestorm Dual Power" }, { 0x044fb307, "vibrating Upad" }, { 0x044fb30b, "Wireless VibrationPad" }, { 0x044fb315, "Firestorm Dual Analog 3" }, { 0x044fb320, "Dual Trigger gamepad PC/PS2 2.0" }, { 0x044fb323, "Dual Trigger 3-in-1 (PC Mode)" }, { 0x044fb324, "Dual Trigger 3-in-1 (PS3 Mode)" }, { 0x044fb326, "Gamepad GP XID" }, { 0x044fb351, "F16 MFD 1" }, { 0x044fb352, "F16 MFD 2" }, { 0x044fb365, "UbiSoft UbiConnect" }, { 0x044fb603, "force feedback Wheel" }, { 0x044fb605, "force feedback Racing Wheel" }, { 0x044fb651, "Ferrari GT Rumble Force Wheel" }, { 0x044fb653, "RGT Force Feedback Clutch Racing Wheel" }, { 0x044fb654, "Ferrari GT Force Feedback Wheel" }, { 0x044fb677, "T150 Racing Wheel" }, { 0x044fb678, "T.Flight Rudder Pedals" }, { 0x044fb679, "T-Rudder" }, { 0x044fb687, "TWCS Throttle" }, { 0x044fb700, "Tacticalboard" }, { 0x04510422, "TUSB422 Port Controller with Power Delivery" }, { 0x04511234, "Bluetooth Device" }, { 0x04511428, "Hub" }, { 0x04511446, "TUSB2040/2070 Hub" }, { 0x045116a2, "CC Debugger" }, { 0x045116a6, "BM-USBD1 BlueRobin RF heart rate sensor receiver" }, { 0x045116a8, "CC2531 ZigBee" }, { 0x045116ae, "CC2531 Dongle" }, { 0x04512036, "TUSB2036 Hub" }, { 0x04512046, "TUSB2046 Hub" }, { 0x04512077, "TUSB2077 Hub" }, { 0x04512f90, "SM-USB-DIG" }, { 0x04513200, "TUSB3200 Boot Loader" }, { 0x04513410, "TUSB3410 Microcontroller" }, { 0x04513f00, "OMAP1610" }, { 0x04513f02, "SMC WSKP100 Wi-Fi Phone" }, { 0x0451505f, "TUSB5052 Serial" }, { 0x04515153, "TUSB5052 Hub" }, { 0x04515409, "Frontier Labs NEX IA+ Digital Audio Player" }, { 0x04516000, "AU5 ADSL Modem (pre-reenum)" }, { 0x04516001, "AU5 ADSL Modem" }, { 0x04516060, "RNDIS/BeWAN ADSL2+" }, { 0x04516070, "RNDIS/BeWAN ADSL2+" }, { 0x0451625f, "TUSB6250 ATA Bridge" }, { 0x04518041, "Hub" }, { 0x04518042, "Hub" }, { 0x04518043, "Hub" }, { 0x04518140, "TUSB8041 4-Port Hub" }, { 0x04518142, "TUSB8041 4-Port Hub" }, { 0x04519261, "TUSB9261 SerialATA-Bridge" }, { 0x0451926b, "TUSB9260 Boot Loader" }, { 0x0451bef3, "CC1352R1 Launchpad" }, { 0x0451d108, "TCL Alcatel one touch 986+" }, { 0x0451dbc0, "Device Bay Controller" }, { 0x0451e001, "GraphLink [SilverLink]" }, { 0x0451e003, "TI-84 Plus Calculator" }, { 0x0451e004, "TI-89 Titanium Calculator" }, { 0x0451e008, "TI-84 Plus Silver Calculator" }, { 0x0451e00e, "TI-89 Titanium Presentation Link" }, { 0x0451e00f, "TI-84 Plus Presentation Link" }, { 0x0451e010, "TI SmartPad Keyboard" }, { 0x0451e011, "Nspire CAS+ prototype" }, { 0x0451e012, "TI-Nspire Calculator" }, { 0x0451e013, "Network Bridge" }, { 0x0451e01c, "Data Collection Sled [Nspire Lab Cradle, Nspire Datatracker Cradle]" }, { 0x0451e01e, "Nspire CX Navigator Access Point" }, { 0x0451e01f, "Python Adapter (firmware install mode)" }, { 0x0451e020, "Python Adapter" }, { 0x0451e022, "Nspire CX II" }, { 0x0451f430, "MSP-FET430UIF JTAG Tool" }, { 0x0451f432, "eZ430 Development Tool" }, { 0x0451ffff, "Bluetooth Device" }, { 0x04520021, "HID Monitor Controls" }, { 0x04520050, "Diamond Pro 900u CRT Monitor" }, { 0x04520051, "Integrated Hub" }, { 0x04520100, "Control Panel for Leica TCS SP5" }, { 0x04536781, "NMB Keyboard" }, { 0x04536783, "Chicony Composite Keyboard" }, { 0x04567031, "FX2 SPI/I2C Interface" }, { 0x0456b672, "Libiio based instrument [ADALM2000]" }, { 0x0456b673, "LibIIO based AD9363 Software Defined Radio [ADALM-PLUTO]" }, { 0x0456f000, "FT2232 JTAG ICE [gnICE]" }, { 0x0456f001, "FT2232H Hi-Speed JTAG ICE [gnICE+]" }, { 0x04570150, "Super Talent 1GB Flash Drive" }, { 0x04570151, "Super Flash 1GB / GXT 64MB Flash Drive" }, { 0x04570162, "SiS162 usb Wireless LAN Adapter" }, { 0x04570163, "SiS163U 802.11 Wireless LAN Adapter" }, { 0x04570817, "SiS-184-ASUS-4352.17 touch panel" }, { 0x045710e1, "HID Touch Controller" }, { 0x04575401, "Wireless Adapter RO80211GS-USB" }, { 0x04580001, "Mouse" }, { 0x04580002, "Genius NetMouse Pro" }, { 0x04580003, "Genius NetScroll+" }, { 0x04580006, "Easy Mouse+" }, { 0x04580007, "Trackbar Emotion" }, { 0x0458000b, "NetMouse Wheel(P+U)" }, { 0x0458000c, "TACOMA Fingerprint V1.06.01" }, { 0x0458000e, "Genius NetScroll Optical" }, { 0x04580013, "TACOMA Fingerprint Mouse V1.06.01" }, { 0x0458001a, "Genius WebScroll+" }, { 0x0458002e, "NetScroll + Traveler / NetScroll 110" }, { 0x04580036, "Pocket Mouse LE" }, { 0x04580039, "NetScroll+ Superior" }, { 0x0458003a, "NetScroll+ Mini Traveler / Genius NetScroll 120" }, { 0x0458004c, "Slimstar Pro Keyboard" }, { 0x04580056, "Ergo 300 Mouse" }, { 0x04580057, "Enhanced Gaming Device" }, { 0x04580059, "Enhanced Laser Device" }, { 0x0458005a, "Enhanced Device" }, { 0x0458005b, "Enhanced Device" }, { 0x0458005c, "Enhanced Laser Gaming Device" }, { 0x0458005d, "Enhanced Device" }, { 0x04580061, "Bluetooth Dongle" }, { 0x04580066, "Genius Traveler 1000 Wireless Mouse" }, { 0x04580072, "Navigator 335" }, { 0x04580083, "Bluetooth Dongle" }, { 0x04580087, "Ergo 525V Laser Mouse" }, { 0x04580088, "Genius Traveler 515 Laser" }, { 0x04580089, "Genius Traveler 350" }, { 0x045800ca, "Pen Mouse" }, { 0x04580100, "EasyPen Tablet" }, { 0x04580101, "CueCat" }, { 0x0458011b, "NetScroll T220" }, { 0x04580186, "Genius DX-120 Mouse" }, { 0x04581001, "Joystick" }, { 0x04581002, "Game Pad" }, { 0x04581003, "Genius VideoCam" }, { 0x04581004, "Flight2000 F-23 Joystick" }, { 0x0458100a, "Aashima Technology Trust Sight Fighter Vibration Feedback Joystick" }, { 0x04582001, "ColorPage-Vivid Pro Scanner" }, { 0x04582004, "ColorPage-HR6 V1 Scanner" }, { 0x04582005, "ColorPage-HR6/Vivid3" }, { 0x04582007, "ColorPage-HR6 V2 Scanner" }, { 0x04582008, "ColorPage-HR6 V2 Scanner" }, { 0x04582009, "ColorPage-HR6A Scanner" }, { 0x04582011, "ColorPage-Vivid3x Scanner" }, { 0x04582012, "Plustek Scanner" }, { 0x04582013, "ColorPage-HR7 Scanner" }, { 0x04582014, "ColorPage-Vivid4" }, { 0x04582015, "ColorPage-HR7LE Scanner" }, { 0x04582016, "ColorPage-HR6X Scanner" }, { 0x04582017, "ColorPage-Vivid3xe" }, { 0x04582018, "ColorPage-HR7X" }, { 0x04582019, "ColorPage-HR6X Slim" }, { 0x0458201a, "ColorPage-Vivid4xe" }, { 0x0458201b, "ColorPage-Vivid4x" }, { 0x0458201c, "ColorPage-HR8" }, { 0x0458201d, "ColorPage-Vivid 1200 X" }, { 0x0458201e, "ColorPage-Slim 1200" }, { 0x0458201f, "ColorPage-Vivid 1200 XE" }, { 0x04582020, "ColorPage-Slim 1200 USB2" }, { 0x04582021, "ColorPage-SF600" }, { 0x04583017, "SPEED WHEEL 3 Vibration" }, { 0x04583018, "Wireless 2.4Ghz Game Pad" }, { 0x04583019, "10-Button USB Joystick with Vibration" }, { 0x0458301a, "MaxFire G-12U Vibration" }, { 0x0458301c, "Genius MaxFighter F-16U" }, { 0x0458301d, "Genius MaxFire MiniPad" }, { 0x0458400f, "Genius TVGo DVB-T02Q MCE" }, { 0x04584012, "TVGo DVB-T03 [AF9015]" }, { 0x04585003, "G-pen 560 Tablet" }, { 0x04585004, "G-pen Tablet" }, { 0x04585005, "Genius EasyPen M406" }, { 0x04585012, "Genius EasyPen M406W" }, { 0x04585014, "Genius EasyPen 340" }, { 0x0458505e, "Genius iSlim 330" }, { 0x04586001, "GF3000F Ethernet Adapter" }, { 0x04587004, "VideoCAM Express V2" }, { 0x04587006, "Dsc 1.3 Smart Camera Device" }, { 0x04587007, "VideoCAM Web" }, { 0x04587009, "G-Shot G312 Still Camera Device" }, { 0x0458700c, "VideoCAM Web V3" }, { 0x0458700d, "G-Shot G511 Composite Device" }, { 0x0458700f, "VideoCAM Web" }, { 0x04587012, "WebCAM USB2.0" }, { 0x04587014, "VideoCAM Live V3" }, { 0x0458701c, "G-Shot G512 Still Camera" }, { 0x04587020, "Sim 321C" }, { 0x04587025, "Eye 311Q Camera" }, { 0x04587029, "Genius Look 320s (SN9C201 + HV7131R)" }, { 0x0458702c, "Trek 320R Camera" }, { 0x0458702f, "Genius Slim 322" }, { 0x04587035, "i-Look 325T Camera" }, { 0x04587045, "Genius Look 1320 V2" }, { 0x0458704c, "Genius i-Look 1321" }, { 0x0458704d, "Slim 1322AF" }, { 0x04587055, "Slim 2020AF camera" }, { 0x0458705a, "Asus USB2.0 Webcam" }, { 0x0458705c, "Genius iSlim 1300AF" }, { 0x04587061, "Genius iLook 1321 V2" }, { 0x04587066, "Acer Crystal Eye Webcam" }, { 0x04587067, "Genius iSlim 1300AF V2" }, { 0x04587068, "Genius eFace 1325R" }, { 0x0458706d, "Genius iSlim 2000AF V2" }, { 0x04587076, "Genius FaceCam 312" }, { 0x04587079, "FaceCam 2025R" }, { 0x0458707f, "TVGo DVB-T03 [RTL2832]" }, { 0x04587088, "WideCam 1050" }, { 0x04587089, "Genius FaceCam 320" }, { 0x0458708c, "Genius WideCam F100" }, { 0x045a07da, "Supra Express 56K modem" }, { 0x045a0b4a, "SupraMax 2890 56K Modem [Lucent Atlas]" }, { 0x045a0b68, "SupraMax 56K Modem" }, { 0x045a5001, "Rio 600 MP3 Player" }, { 0x045a5002, "Rio 800 MP3 Player" }, { 0x045a5003, "Nike Psa/Play MP3 Player" }, { 0x045a5005, "Rio S10 MP3 Player" }, { 0x045a5006, "Rio S50 MP3 Player" }, { 0x045a5007, "Rio S35 MP3 Player" }, { 0x045a5008, "Rio 900 MP3 Player" }, { 0x045a5009, "Rio S30 MP3 Player" }, { 0x045a500d, "Fuse MP3 Player" }, { 0x045a500e, "Chiba MP3 Player" }, { 0x045a500f, "Cali MP3 Player" }, { 0x045a5010, "Rio S11 MP3 Player" }, { 0x045a501c, "Virgin MPF-1000" }, { 0x045a501d, "Rio Fuse" }, { 0x045a501e, "Rio Chiba" }, { 0x045a501f, "Rio Cali" }, { 0x045a503f, "Cali256 MP3 Player" }, { 0x045a5042, "Rio Forge" }, { 0x045a5202, "Rio Riot MP3 Player" }, { 0x045a5210, "Rio Karma Music Player" }, { 0x045a5220, "Rio Nitrus MP3 Player" }, { 0x045a5221, "Rio Eigen" }, { 0x045b0053, "RX610 RX-Stick" }, { 0x045b0229, "mSATA Adapter [renkforce Pi-102]" }, { 0x045e0007, "SideWinder Game Pad" }, { 0x045e0008, "SideWinder Precision Pro" }, { 0x045e0009, "IntelliMouse" }, { 0x045e000b, "Natural Keyboard Elite" }, { 0x045e000e, "SideWinder\302\256 Freestyle Pro" }, { 0x045e0014, "Digital Sound System 80" }, { 0x045e001a, "SideWinder Precision Racing Wheel" }, { 0x045e001b, "SideWinder Force Feedback 2 Joystick" }, { 0x045e001c, "Internet Keyboard Pro" }, { 0x045e001d, "Natural Keyboard Pro" }, { 0x045e001e, "IntelliMouse Explorer" }, { 0x045e0023, "Trackball Optical" }, { 0x045e0024, "Trackball Explorer" }, { 0x045e0025, "IntelliEye Mouse" }, { 0x045e0026, "SideWinder GamePad Pro" }, { 0x045e0027, "SideWinder PnP GamePad" }, { 0x045e0028, "SideWinder Dual Strike" }, { 0x045e0029, "IntelliMouse Optical" }, { 0x045e002b, "Internet Keyboard Pro" }, { 0x045e002d, "Internet Keyboard" }, { 0x045e002f, "Integrated Hub" }, { 0x045e0033, "Sidewinder Strategic Commander" }, { 0x045e0034, "SideWinder Force Feedback Wheel" }, { 0x045e0038, "SideWinder Precision 2" }, { 0x045e0039, "IntelliMouse Optical" }, { 0x045e003b, "SideWinder Game Voice" }, { 0x045e003c, "SideWinder Joystick" }, { 0x045e0040, "Wheel Mouse Optical" }, { 0x045e0047, "IntelliMouse Explorer 3.0" }, { 0x045e0048, "Office Keyboard 1.0A" }, { 0x045e0053, "Optical Mouse" }, { 0x045e0059, "Wireless IntelliMouse Explorer" }, { 0x045e005c, "Office Keyboard (106/109)" }, { 0x045e005f, "Wireless MultiMedia Keyboard" }, { 0x045e0061, "Wireless MultiMedia Keyboard (106/109)" }, { 0x045e0063, "Wireless Natural MultiMedia Keyboard" }, { 0x045e0065, "Wireless Natural MultiMedia Keyboard (106/109)" }, { 0x045e006a, "Wireless Optical Mouse (IntelliPoint)" }, { 0x045e006d, "eHome Remote Control Keyboard keys" }, { 0x045e006e, "MN-510 802.11b Wireless Adapter [Intersil ISL3873B]" }, { 0x045e006f, "Smart Display Reference Device" }, { 0x045e0070, "Wireless MultiMedia Keyboard" }, { 0x045e0071, "Wireless MultiMedia Keyboard (106/109)" }, { 0x045e0072, "Wireless Natural MultiMedia Keyboard" }, { 0x045e0073, "Wireless Natural MultiMedia Keyboard (106/109)" }, { 0x045e0079, "IXI Ogo CT-17 handheld device" }, { 0x045e007a, "10/100 USB NIC" }, { 0x045e007d, "Notebook Optical Mouse" }, { 0x045e007e, "Wireless Transceiver for Bluetooth" }, { 0x045e0080, "Digital Media Pro Keyboard" }, { 0x045e0083, "Basic Optical Mouse" }, { 0x045e0084, "Basic Optical Mouse" }, { 0x045e008a, "Wireless Optical Desktop Receiver 2.0A" }, { 0x045e008b, "Dual Receiver Wireless Mouse (IntelliPoint)" }, { 0x045e008c, "Wireless Intellimouse Explorer 2.0" }, { 0x045e0095, "IntelliMouse Explorer 4.0 (IntelliPoint)" }, { 0x045e009c, "Wireless Transceiver for Bluetooth 2.0" }, { 0x045e009d, "Wireless Optical Desktop 3.0" }, { 0x045e00a0, "eHome Infrared Receiver" }, { 0x045e00a4, "Compact Optical Mouse, model 1016" }, { 0x045e00b0, "Digital Media Pro Keyboard" }, { 0x045e00b4, "Digital Media Keyboard 1.0A" }, { 0x045e00b9, "Wireless Optical Mouse 3.0" }, { 0x045e00bb, "Fingerprint Reader" }, { 0x045e00bc, "Fingerprint Reader" }, { 0x045e00bd, "Fingerprint Reader" }, { 0x045e00c2, "MN-710 802.11g Wireless Adapter [Intersil ISL3886]" }, { 0x045e00c9, "Microsoft/Intel Bandon Portable Media Center" }, { 0x045e00ca, "Fingerprint Reader" }, { 0x045e00cb, "Basic Optical Mouse v2.0" }, { 0x045e00ce, "Generic PPC Flash device" }, { 0x045e00d1, "Optical Mouse with Tilt Wheel" }, { 0x045e00d2, "Notebook Optical Mouse with Tilt Wheel" }, { 0x045e00da, "eHome Infrared Receiver" }, { 0x045e00db, "Natural Ergonomic Keyboard 4000 V1.0" }, { 0x045e00dd, "Comfort Curve Keyboard 2000 V1.0" }, { 0x045e00e1, "Wireless Laser Mouse 6000 Receiver" }, { 0x045e00f4, "LifeCam VX-6000 (SN9C20x + OV9650)" }, { 0x045e00f5, "LifeCam VX-3000" }, { 0x045e00f6, "Comfort Optical Mouse 1000" }, { 0x045e00f7, "LifeCam VX-1000" }, { 0x045e00f8, "LifeCam NX-6000" }, { 0x045e00f9, "Wireless Desktop Receiver 3.1" }, { 0x045e0202, "Xbox Controller" }, { 0x045e0280, "Xbox Memory Unit (8MB)" }, { 0x045e0283, "Xbox Communicator" }, { 0x045e0284, "Xbox DVD Playback Kit" }, { 0x045e0285, "Xbox Controller S" }, { 0x045e0288, "Xbox Controller S Hub" }, { 0x045e0289, "Xbox Controller S" }, { 0x045e028b, "Xbox360 DVD Emulator" }, { 0x045e028d, "Xbox360 Memory Unit 64MB" }, { 0x045e028e, "Xbox360 Controller" }, { 0x045e028f, "Xbox360 Wireless Controller via Plug & Charge Cable" }, { 0x045e0290, "Xbox360 Performance Pipe (PIX)" }, { 0x045e0291, "Xbox 360 Wireless Receiver for Windows" }, { 0x045e0292, "Xbox360 Wireless Networking Adapter" }, { 0x045e029c, "Xbox360 HD-DVD Drive" }, { 0x045e029d, "Xbox360 HD-DVD Drive" }, { 0x045e029e, "Xbox360 HD-DVD Memory Unit" }, { 0x045e02a0, "Xbox360 Big Button IR" }, { 0x045e02a8, "Xbox360 Wireless N Networking Adapter [Atheros AR7010+AR9280]" }, { 0x045e02ad, "Xbox NUI Audio" }, { 0x045e02ae, "Xbox NUI Camera" }, { 0x045e02b0, "Xbox NUI Motor" }, { 0x045e02b6, "Xbox360 Bluetooth Wireless Headset" }, { 0x045e02bb, "Kinect Audio" }, { 0x045e02be, "Kinect for Windows NUI Audio" }, { 0x045e02bf, "Kinect for Windows NUI Camera" }, { 0x045e02c2, "Kinect for Windows NUI Motor" }, { 0x045e02d1, "Xbox One Controller" }, { 0x045e02d5, "Xbox One Digital TV Tuner" }, { 0x045e02dd, "Xbox One Controller (Firmware 2015)" }, { 0x045e02e0, "Xbox One Wireless Controller" }, { 0x045e02e3, "Xbox One Elite Controller" }, { 0x045e02e6, "Xbox Wireless Adapter for Windows" }, { 0x045e02ea, "Xbox One Controller" }, { 0x045e02fd, "Xbox One S Controller [Bluetooth]" }, { 0x045e0400, "Windows Powered Pocket PC 2002" }, { 0x045e0401, "Windows Powered Pocket PC 2002" }, { 0x045e0402, "Windows Powered Pocket PC 2002" }, { 0x045e0403, "Windows Powered Pocket PC 2002" }, { 0x045e0404, "Windows Powered Pocket PC 2002" }, { 0x045e0405, "Windows Powered Pocket PC 2002" }, { 0x045e0406, "Windows Powered Pocket PC 2002" }, { 0x045e0407, "Windows Powered Pocket PC 2002" }, { 0x045e0408, "Windows Powered Pocket PC 2002" }, { 0x045e0409, "Windows Powered Pocket PC 2002" }, { 0x045e040a, "Windows Powered Pocket PC 2002" }, { 0x045e040b, "Windows Powered Pocket PC 2002" }, { 0x045e040c, "Windows Powered Pocket PC 2002" }, { 0x045e040d, "Windows Powered Pocket PC 2002" }, { 0x045e040e, "Windows Powered Pocket PC 2002" }, { 0x045e040f, "Windows Powered Pocket PC 2002" }, { 0x045e0410, "Windows Powered Pocket PC 2002" }, { 0x045e0411, "Windows Powered Pocket PC 2002" }, { 0x045e0412, "Windows Powered Pocket PC 2002" }, { 0x045e0413, "Windows Powered Pocket PC 2002" }, { 0x045e0414, "Windows Powered Pocket PC 2002" }, { 0x045e0415, "Windows Powered Pocket PC 2002" }, { 0x045e0416, "Windows Powered Pocket PC 2002" }, { 0x045e0417, "Windows Powered Pocket PC 2002" }, { 0x045e0432, "Windows Powered Pocket PC 2003" }, { 0x045e0433, "Windows Powered Pocket PC 2003" }, { 0x045e0434, "Windows Powered Pocket PC 2003" }, { 0x045e0435, "Windows Powered Pocket PC 2003" }, { 0x045e0436, "Windows Powered Pocket PC 2003" }, { 0x045e0437, "Windows Powered Pocket PC 2003" }, { 0x045e0438, "Windows Powered Pocket PC 2003" }, { 0x045e0439, "Windows Powered Pocket PC 2003" }, { 0x045e043a, "Windows Powered Pocket PC 2003" }, { 0x045e043b, "Windows Powered Pocket PC 2003" }, { 0x045e043c, "Windows Powered Pocket PC 2003" }, { 0x045e043d, "Becker Traffic Assist Highspeed 7934" }, { 0x045e043e, "Windows Powered Pocket PC 2003" }, { 0x045e043f, "Windows Powered Pocket PC 2003" }, { 0x045e0440, "Windows Powered Pocket PC 2003" }, { 0x045e0441, "Windows Powered Pocket PC 2003" }, { 0x045e0442, "Windows Powered Pocket PC 2003" }, { 0x045e0443, "Windows Powered Pocket PC 2003" }, { 0x045e0444, "Windows Powered Pocket PC 2003" }, { 0x045e0445, "Windows Powered Pocket PC 2003" }, { 0x045e0446, "Windows Powered Pocket PC 2003" }, { 0x045e0447, "Windows Powered Pocket PC 2003" }, { 0x045e0448, "Windows Powered Pocket PC 2003" }, { 0x045e0449, "Windows Powered Pocket PC 2003" }, { 0x045e044a, "Windows Powered Pocket PC 2003" }, { 0x045e044b, "Windows Powered Pocket PC 2003" }, { 0x045e044c, "Windows Powered Pocket PC 2003" }, { 0x045e044d, "Windows Powered Pocket PC 2003" }, { 0x045e044e, "Windows Powered Pocket PC 2003" }, { 0x045e044f, "Windows Powered Pocket PC 2003" }, { 0x045e0450, "Windows Powered Pocket PC 2003" }, { 0x045e0451, "Windows Powered Pocket PC 2003" }, { 0x045e0452, "Windows Powered Pocket PC 2003" }, { 0x045e0453, "Windows Powered Pocket PC 2003" }, { 0x045e0454, "Windows Powered Pocket PC 2003" }, { 0x045e0455, "Windows Powered Pocket PC 2003" }, { 0x045e0456, "Windows Powered Pocket PC 2003" }, { 0x045e0457, "Windows Powered Pocket PC 2003" }, { 0x045e0458, "Windows Powered Pocket PC 2003" }, { 0x045e0459, "Windows Powered Pocket PC 2003" }, { 0x045e045a, "Windows Powered Pocket PC 2003" }, { 0x045e045b, "Windows Powered Pocket PC 2003" }, { 0x045e045c, "Windows Powered Pocket PC 2003" }, { 0x045e045d, "Windows Powered Pocket PC 2003" }, { 0x045e045e, "Windows Powered Pocket PC 2003" }, { 0x045e045f, "Windows Powered Pocket PC 2003" }, { 0x045e0460, "Windows Powered Pocket PC 2003" }, { 0x045e0461, "Windows Powered Pocket PC 2003" }, { 0x045e0462, "Windows Powered Pocket PC 2003" }, { 0x045e0463, "Windows Powered Pocket PC 2003" }, { 0x045e0464, "Windows Powered Pocket PC 2003" }, { 0x045e0465, "Windows Powered Pocket PC 2003" }, { 0x045e0466, "Windows Powered Pocket PC 2003" }, { 0x045e0467, "Windows Powered Pocket PC 2003" }, { 0x045e0468, "Windows Powered Pocket PC 2003" }, { 0x045e0469, "Windows Powered Pocket PC 2003" }, { 0x045e046a, "Windows Powered Pocket PC 2003" }, { 0x045e046b, "Windows Powered Pocket PC 2003" }, { 0x045e046c, "Windows Powered Pocket PC 2003" }, { 0x045e046d, "Windows Powered Pocket PC 2003" }, { 0x045e046e, "Windows Powered Pocket PC 2003" }, { 0x045e046f, "Windows Powered Pocket PC 2003" }, { 0x045e0470, "Windows Powered Pocket PC 2003" }, { 0x045e0471, "Windows Powered Pocket PC 2003" }, { 0x045e0472, "Windows Powered Pocket PC 2003" }, { 0x045e0473, "Windows Powered Pocket PC 2003" }, { 0x045e0474, "Windows Powered Pocket PC 2003" }, { 0x045e0475, "Windows Powered Pocket PC 2003" }, { 0x045e0476, "Windows Powered Pocket PC 2003" }, { 0x045e0477, "Windows Powered Pocket PC 2003" }, { 0x045e0478, "Windows Powered Pocket PC 2003" }, { 0x045e0479, "Windows Powered Pocket PC 2003" }, { 0x045e047a, "Windows Powered Pocket PC 2003" }, { 0x045e047b, "Windows Powered Pocket PC 2003" }, { 0x045e04c8, "Windows Powered Smartphone 2002" }, { 0x045e04c9, "Windows Powered Smartphone 2002" }, { 0x045e04ca, "Windows Powered Smartphone 2002" }, { 0x045e04cb, "Windows Powered Smartphone 2002" }, { 0x045e04cc, "Windows Powered Smartphone 2002" }, { 0x045e04cd, "Windows Powered Smartphone 2002" }, { 0x045e04ce, "Windows Powered Smartphone 2002" }, { 0x045e04d7, "Windows Powered Smartphone 2003" }, { 0x045e04d8, "Windows Powered Smartphone 2003" }, { 0x045e04d9, "Windows Powered Smartphone 2003" }, { 0x045e04da, "Windows Powered Smartphone 2003" }, { 0x045e04db, "Windows Powered Smartphone 2003" }, { 0x045e04dc, "Windows Powered Smartphone 2003" }, { 0x045e04dd, "Windows Powered Smartphone 2003" }, { 0x045e04de, "Windows Powered Smartphone 2003" }, { 0x045e04df, "Windows Powered Smartphone 2003" }, { 0x045e04e0, "Windows Powered Smartphone 2003" }, { 0x045e04e1, "Windows Powered Smartphone 2003" }, { 0x045e04e2, "Windows Powered Smartphone 2003" }, { 0x045e04e3, "Windows Powered Smartphone 2003" }, { 0x045e04e4, "Windows Powered Smartphone 2003" }, { 0x045e04e5, "Windows Powered Smartphone 2003" }, { 0x045e04e6, "Windows Powered Smartphone 2003" }, { 0x045e04e7, "Windows Powered Smartphone 2003" }, { 0x045e04e8, "Windows Powered Smartphone 2003" }, { 0x045e04e9, "Windows Powered Smartphone 2003" }, { 0x045e04ea, "Windows Powered Smartphone 2003" }, { 0x045e04ec, "Microsoft Windows Phone" }, { 0x045e0622, "Microsoft Windows MTP Simulator" }, { 0x045e063e, "Microsoft Zune HD" }, { 0x045e0640, "Microsoft Kin 1" }, { 0x045e0641, "Microsoft/Sharp/nVidia Kin TwoM" }, { 0x045e0642, "KIN Phone" }, { 0x045e0707, "Wireless Laser Mouse 8000" }, { 0x045e0708, "Transceiver v 3.0 for Bluetooth" }, { 0x045e070a, "Charon Bluetooth Dongle (DFU)" }, { 0x045e070f, "LifeChat LX-3000 Headset" }, { 0x045e0710, "Microsoft Zune" }, { 0x045e0713, "Wireless Presenter Mouse 8000" }, { 0x045e0719, "Xbox 360 Wireless Adapter" }, { 0x045e071f, "Mouse/Keyboard 2.4GHz Transceiver V2.0" }, { 0x045e0721, "LifeCam NX-3000 (UVC-compliant)" }, { 0x045e0723, "LifeCam VX-7000 (UVC-compliant)" }, { 0x045e0724, "SideWinder Mouse" }, { 0x045e0728, "LifeCam VX-5000" }, { 0x045e0730, "Digital Media Keyboard 3000" }, { 0x045e0734, "Wireless Optical Desktop 700" }, { 0x045e0736, "Sidewinder X5 Mouse" }, { 0x045e0737, "Compact Optical Mouse 500" }, { 0x045e0745, "Nano Transceiver v1.0 for Bluetooth" }, { 0x045e074a, "LifeCam VX-500 [1357]" }, { 0x045e0750, "Wired Keyboard 600" }, { 0x045e0752, "Wired Keyboard 400" }, { 0x045e075d, "LifeCam Cinema" }, { 0x045e0761, "LifeCam VX-2000" }, { 0x045e0765, "Xbox360 Slim Internal Wireless Module (1400) [Marvell 88W8786U]" }, { 0x045e0766, "LifeCam VX-800" }, { 0x045e0768, "Sidewinder X4" }, { 0x045e076c, "Comfort Mouse 4500" }, { 0x045e076d, "LifeCam HD-5000" }, { 0x045e0770, "LifeCam VX-700" }, { 0x045e0772, "LifeCam Studio" }, { 0x045e0779, "LifeCam HD-3000" }, { 0x045e077f, "LifeChat LX-6000 Headset" }, { 0x045e0780, "Comfort Curve Keyboard 3000" }, { 0x045e0797, "Optical Mouse 200" }, { 0x045e0799, "Surface Pro embedded keyboard" }, { 0x045e07a5, "Wireless Receiver 1461C" }, { 0x045e07b2, "2.4GHz Transceiver v8.0 used by mouse Wireless Desktop 900" }, { 0x045e07b6, "Comfort Curve Keyboard 3000" }, { 0x045e07b9, "Wired Keyboard 200" }, { 0x045e07c6, "RTL8153 GigE [Surface Ethernet Adapter]" }, { 0x045e07ca, "Surface Pro 3 Docking Station Audio Device" }, { 0x045e07cd, "Surface Keyboard" }, { 0x045e07f8, "Wired Keyboard 600 (model 1576)" }, { 0x045e07fd, "Nano Transceiver 1.1" }, { 0x045e0800, "Wireless keyboard (All-in-One-Media)" }, { 0x045e0810, "LifeCam HD-3000" }, { 0x045e0823, "Classic IntelliMouse" }, { 0x045e0900, "Surface Dock Hub" }, { 0x045e0901, "Surface Dock Hub" }, { 0x045e0902, "Surface Dock Hub" }, { 0x045e0903, "Surface Dock Hub" }, { 0x045e0904, "Surface Dock Extender" }, { 0x045e0905, "Surface Dock Audio" }, { 0x045e090b, "Hub" }, { 0x045e090c, "SD Card" }, { 0x045e091a, "Hub" }, { 0x045e0927, "RTL8153B GigE [Surface Ethernet Adapter]" }, { 0x045e0955, "Hub" }, { 0x045e0957, "Hub" }, { 0x045e097a, "Generic Superspeed Hub [Azure Kinect]" }, { 0x045e097b, "Generic Hub [Azure Kinect]" }, { 0x045e097c, "Azure Kinect Depth Camera" }, { 0x045e097d, "Azure Kinect 4K Camera" }, { 0x045e097e, "Azure Kinect Microphone Array" }, { 0x045e09a0, "RTL8153B GigE [Surface Ethernet Adapter]" }, { 0x045e09c0, "Surface Type Cover" }, { 0x045e0a00, "Microsoft Lumia 950 XL Dual SIM (RM-1116)" }, { 0x045e0b00, "Xbox Elite Series 2 Controller (model 1797)" }, { 0x045e0b12, "Xbox Controller" }, { 0x045e930a, "ISOUSB.SYS Intel 82930 Isochronous IO Test Board" }, { 0x045ef0ca, "Microsoft/HTC HTC 8S" }, { 0x045effca, "Catalina" }, { 0x045efff8, "Keyboard" }, { 0x045effff, "Windows CE Mass Storage" }, { 0x04600004, "Tablet (5x3.75)" }, { 0x04600006, "LCD Tablet (12x9)" }, { 0x04600008, "Tablet (3x2.25)" }, { 0x04610010, "HP PR1101U / Primax PMX-KPR1101U Keyboard" }, { 0x04610300, "G2-300 Scanner" }, { 0x04610301, "G2E-300 Scanner" }, { 0x04610302, "G2-300 #2 Scanner" }, { 0x04610303, "G2E-300 #2 Scanner" }, { 0x04610340, "Colorado 9600 Scanner" }, { 0x04610341, "Colorado 600u Scanner" }, { 0x04610345, "Visioneer 6200 Scanner" }, { 0x04610346, "Memorex Maxx 6136u Scanner" }, { 0x04610347, "Primascan Colorado 2600u/Visioneer 4400 Scanner" }, { 0x04610360, "Colorado 19200 Scanner" }, { 0x04610361, "Colorado 1200u Scanner" }, { 0x04610363, "VistaScan Astra 3600(ENG)" }, { 0x04610364, "LG Electronics Scanworks 600U Scanner" }, { 0x04610365, "VistaScan Astra 3600(ENG)" }, { 0x04610366, "6400" }, { 0x04610367, "VistaScan Astra 3600(ENG)" }, { 0x04610371, "Visioneer Onetouch 8920 Scanner" }, { 0x04610374, "UMAX Astra 2500" }, { 0x04610375, "VistaScan Astra 3600(ENG)" }, { 0x04610377, "Medion MD 5345 Scanner" }, { 0x04610378, "VistaScan Astra 3600(ENG)" }, { 0x0461037b, "Medion MD 6190 Scanner" }, { 0x0461037c, "VistaScan Astra 3600(ENG)" }, { 0x04610380, "G2-600 Scanner" }, { 0x04610381, "ReadyScan 636i Scanner" }, { 0x04610382, "G2-600 #2 Scanner" }, { 0x04610383, "G2E-600 Scanner" }, { 0x0461038a, "UMAX Astra 3000/3600" }, { 0x0461038b, "Xerox 2400 Onetouch" }, { 0x0461038c, "UMAX Astra 4100" }, { 0x04610392, "Medion/Lifetec/Tevion/Cytron MD 6190" }, { 0x046103a8, "9420M" }, { 0x04610813, "IBM UltraPort Camera" }, { 0x04610815, "Micro Innovations IC200 Webcam" }, { 0x04610819, "Fujifilm IX-30 Camera [webcam mode]" }, { 0x0461081a, "Fujifilm IX-30 Camera [storage mode]" }, { 0x0461081c, "Elitegroup ECS-C11 Camera" }, { 0x0461081d, "Elitegroup ECS-C11 Storage" }, { 0x04610a00, "Micro Innovations Web Cam 320" }, { 0x04614d01, "Comfort Keyboard / Kensington Orbit Elite" }, { 0x04614d02, "Mouse-in-a-Box" }, { 0x04614d03, "Kensington Mouse-in-a-box" }, { 0x04614d04, "Mouse" }, { 0x04614d06, "Balless Mouse (HID)" }, { 0x04614d0f, "HP Optical Mouse" }, { 0x04614d15, "Dell Optical Mouse" }, { 0x04614d17, "Optical Mouse" }, { 0x04614d20, "HP Optical Mouse" }, { 0x04614d2a, "PoPo Elixir Mouse (HID)" }, { 0x04614d2b, "Wireless Laser Mini Mouse (HID)" }, { 0x04614d2c, "PoPo Mini Pointer Mouse (HID)" }, { 0x04614d2e, "Optical Mobile Mouse (HID)" }, { 0x04614d51, "0Y357C PMX-MMOCZUL (B) [Dell Laser Mouse]" }, { 0x04614d62, "HP Laser Mobile Mini Mouse" }, { 0x04614d64, "Asus wired optical mouse - Model MOEWUO" }, { 0x04614d75, "Rocketfish RF-FLBTAD Bluetooth Adapter" }, { 0x04614d81, "Dell N889 Optical Mouse" }, { 0x04614d8a, "HP Multimedia Keyboard" }, { 0x04614d91, "Laser mouse M-D16DL" }, { 0x04614d92, "Optical mouse M-D17DR" }, { 0x04614db1, "Dell Laptop Integrated Webcam 2Mpix" }, { 0x04614de3, "HP 5-Button Optical Comfort Mouse" }, { 0x04614de7, "webcam" }, { 0x04614e04, "Lenovo Keyboard KB1021" }, { 0x04614e22, "Dell Mouse, 2 Buttons, Modell: MS111-P" }, { 0x04614e26, "Asus wired keyboard - model KB73211" }, { 0x04614e6f, "Acer Wired Keyboard Model KBAY211" }, { 0x04614e72, "Acer Wired Keyboard Model KBAY211" }, { 0x04630001, "UPS" }, { 0x0463ffff, "UPS" }, { 0x046a0001, "Keyboard" }, { 0x046a0003, "My3000 Hub" }, { 0x046a0004, "CyBoard Keyboard" }, { 0x046a0005, "XX33 SmartCard Reader Keyboard" }, { 0x046a0008, "Wireless Keyboard and Mouse" }, { 0x046a0010, "SmartBoard XX44" }, { 0x046a0011, "G83 (RS 6000) Keyboard" }, { 0x046a0021, "CyMotion Expert Combo" }, { 0x046a0023, "Keyboard" }, { 0x046a0027, "CyMotion Master Solar Keyboard" }, { 0x046a002a, "Wireless Mouse & Keyboard" }, { 0x046a002d, "SmartTerminal XX44" }, { 0x046a003c, "Raptor Gaming Keyboard" }, { 0x046a003d, "Raptor Gaming Keyboard Integrated Hub" }, { 0x046a003e, "SmartTerminal ST-2xxx" }, { 0x046a0041, "G86 6240 Keyboard" }, { 0x046a0076, "MX-Board 3.0 G80-3850" }, { 0x046a0077, "MX BOARD 3.0S FL NBL Keyboard" }, { 0x046a0079, "MX BOARD 3.0S FL RGB Keyboard" }, { 0x046a0080, "eHealth Terminal ST 1503" }, { 0x046a0081, "eHealth Keyboard G87 1504" }, { 0x046a0083, "MX BOARD 3.0S FL RGB (KOREAN) Keyboard" }, { 0x046a0084, "eHealth Terminal ST1506" }, { 0x046a0085, "eHealth PIN-Pad PP1516" }, { 0x046a00a1, "SmartCard Reader Keyboard KC 1000 SC" }, { 0x046a00ab, "MX 1.0 FL BL Keyboard" }, { 0x046a00ac, "MX BOARD 1.0 TKL RGB Keyboard" }, { 0x046a00b7, "MX BOARD 8.0 TKL RGB Keyboard" }, { 0x046a00bb, "MX BOARD 10.0 FL RGB Keyboard" }, { 0x046a00c3, "G80 3000 TKL NBL Keyboard" }, { 0x046a00c4, "MX BOARD 2.0S FL RGB Keyboard" }, { 0x046a00c5, "G80 3000 TKL RGB Keyboard" }, { 0x046a00c7, "MV BOARD 3.0 FL RGB" }, { 0x046a00c9, "CCF MX 8.0 TKL BL Keyboard" }, { 0x046a00ca, "CCF MX 1.0 TKL BL Keyboard" }, { 0x046a00cb, "CCF MX 1.0 TKL NBL Keyboard" }, { 0x046a00cd, "G80 3000 TKL NBL (KOREAN) Keyboard" }, { 0x046a00ce, "MX BOARD 2.0S FL NBL Keyboard" }, { 0x046a00d2, "MX 1.0 FL NBL Keyboard" }, { 0x046a00d3, "MX 1.0 FL RGB Keyboard" }, { 0x046a00dd, "G80-3000N RGB TKL Keyboard" }, { 0x046a00de, "G80-3000N FL RGB Keyboard" }, { 0x046a00df, "MX BOARD 10.0N FL RGB Keyboard" }, { 0x046a0106, "R-300 Wireless Mouse Receiver" }, { 0x046a010d, "MX-Board 3.0 Keyboard" }, { 0x046a0113, "KC 6000 Slim Keyboard" }, { 0x046a0180, "Strait 3.0" }, { 0x046a01a4, "MC 2.1 Mouse" }, { 0x046a01a6, "MX BOARD 2.0S FL RGB DE Keyboard" }, { 0x046ab090, "Keyboard" }, { 0x046ab091, "Mouse" }, { 0x046ac099, "Stream Keyboard TKL" }, { 0x046ac110, "KC 4500 Ergo Keyboard" }, { 0x046b0001, "Keyboard" }, { 0x046b0101, "PS/2 Keyboard, Mouse & Joystick Ports" }, { 0x046b0301, "USB 1.0 Hub" }, { 0x046b0500, "Serial & Parallel Ports" }, { 0x046bff10, "Virtual Keyboard and Mouse" }, { 0x046d0082, "Acer Aspire 5672 Webcam" }, { 0x046d0200, "WingMan Extreme Joystick" }, { 0x046d0203, "M2452 Keyboard" }, { 0x046d0242, "Chillstream for Xbox 360" }, { 0x046d0301, "M4848 Mouse" }, { 0x046d0401, "HP PageScan" }, { 0x046d0402, "NEC PageScan" }, { 0x046d040f, "Logitech/Storm PageScan" }, { 0x046d0430, "Mic (Cordless)" }, { 0x046d0801, "QuickCam Home" }, { 0x046d0802, "Webcam C200" }, { 0x046d0804, "Webcam C250" }, { 0x046d0805, "Webcam C300" }, { 0x046d0807, "Webcam B500" }, { 0x046d0808, "Webcam C600" }, { 0x046d0809, "Webcam Pro 9000" }, { 0x046d080a, "Portable Webcam C905" }, { 0x046d080f, "Webcam C120" }, { 0x046d0810, "QuickCam Pro" }, { 0x046d0819, "Webcam C210" }, { 0x046d081a, "Webcam C260" }, { 0x046d081b, "Webcam C310" }, { 0x046d081d, "HD Webcam C510" }, { 0x046d0820, "QuickCam VC" }, { 0x046d0821, "HD Webcam C910" }, { 0x046d0823, "HD Webcam B910" }, { 0x046d0825, "Webcam C270" }, { 0x046d0826, "HD Webcam C525" }, { 0x046d0828, "HD Webcam B990" }, { 0x046d082b, "Webcam C170" }, { 0x046d082c, "HD Webcam C615" }, { 0x046d082d, "HD Pro Webcam C920" }, { 0x046d0830, "QuickClip" }, { 0x046d0836, "B525 HD Webcam" }, { 0x046d0837, "BCC950 ConferenceCam" }, { 0x046d0838, "BCC950 ConferenceCam audio" }, { 0x046d0839, "BCC950 ConferenceCam integated hub" }, { 0x046d0840, "QuickCam Express" }, { 0x046d0843, "Webcam C930e" }, { 0x046d0845, "ConferenceCam CC3000e Camera" }, { 0x046d0846, "ConferenceCam CC3000e Speakerphone" }, { 0x046d084b, "ConferenceCam Connect Video" }, { 0x046d084c, "ConferenceCam Connect Audio" }, { 0x046d084e, "ConferenceCam Connect" }, { 0x046d0850, "QuickCam Web" }, { 0x046d0857, "Logi Group Speakerphone" }, { 0x046d085c, "C922 Pro Stream Webcam" }, { 0x046d085e, "BRIO Ultra HD Webcam" }, { 0x046d086b, "BRIO 4K Stream Edition" }, { 0x046d0870, "QuickCam Express" }, { 0x046d0882, "Logi Group Speakerphone" }, { 0x046d0890, "QuickCam Traveler" }, { 0x046d0892, "C920 HD Pro Webcam" }, { 0x046d0893, "StreamCam" }, { 0x046d0894, "CrystalCam" }, { 0x046d0895, "QuickCam for Dell Notebooks" }, { 0x046d0896, "OrbiCam" }, { 0x046d0897, "QuickCam for Dell Notebooks" }, { 0x046d0899, "QuickCam for Dell Notebooks" }, { 0x046d089d, "QuickCam E2500 series" }, { 0x046d08a0, "QuickCam IM" }, { 0x046d08a1, "QuickCam IM with sound" }, { 0x046d08a2, "Labtec Webcam Pro" }, { 0x046d08a3, "QuickCam QuickCam Chat" }, { 0x046d08a6, "QuickCam IM" }, { 0x046d08a7, "QuickCam Image" }, { 0x046d08a9, "Notebook Deluxe" }, { 0x046d08aa, "Labtec Notebooks" }, { 0x046d08ac, "QuickCam Cool" }, { 0x046d08ad, "QuickCam Communicate STX" }, { 0x046d08ae, "QuickCam for Notebooks" }, { 0x046d08af, "QuickCam Easy/Cool" }, { 0x046d08b0, "QuickCam 3000 Pro [pwc]" }, { 0x046d08b1, "QuickCam Notebook Pro" }, { 0x046d08b2, "QuickCam Pro 4000" }, { 0x046d08b3, "QuickCam Zoom" }, { 0x046d08b4, "QuickCam Zoom" }, { 0x046d08b5, "QuickCam Sphere" }, { 0x046d08b9, "QuickCam IM" }, { 0x046d08bd, "Microphone (Pro 4000)" }, { 0x046d08c0, "QuickCam Pro 3000" }, { 0x046d08c1, "QuickCam Fusion" }, { 0x046d08c2, "QuickCam PTZ" }, { 0x046d08c3, "Camera (Notebooks Pro)" }, { 0x046d08c5, "QuickCam Pro 5000" }, { 0x046d08c6, "QuickCam for DELL Notebooks" }, { 0x046d08c7, "QuickCam OEM Cisco VT Camera II" }, { 0x046d08c9, "QuickCam Ultra Vision" }, { 0x046d08ca, "Mic (Fusion)" }, { 0x046d08cb, "Mic (Notebooks Pro)" }, { 0x046d08cc, "Mic (PTZ)" }, { 0x046d08ce, "QuickCam Pro 5000" }, { 0x046d08cf, "QuickCam UpdateMe" }, { 0x046d08d0, "QuickCam Express" }, { 0x046d08d7, "QuickCam Communicate STX" }, { 0x046d08d8, "QuickCam for Notebook Deluxe" }, { 0x046d08d9, "QuickCam IM/Connect" }, { 0x046d08da, "QuickCam Messenger" }, { 0x046d08dd, "QuickCam for Notebooks" }, { 0x046d08e0, "QuickCam Express" }, { 0x046d08e1, "Labtec Webcam" }, { 0x046d08e5, "C920 PRO HD Webcam" }, { 0x046d08f0, "QuickCam Messenger" }, { 0x046d08f1, "QuickCam Express" }, { 0x046d08f2, "Microphone (Messenger)" }, { 0x046d08f3, "QuickCam Express" }, { 0x046d08f4, "Labtec Webcam" }, { 0x046d08f5, "QuickCam Messenger Communicate" }, { 0x046d08f6, "QuickCam Messenger Plus" }, { 0x046d0900, "ClickSmart 310" }, { 0x046d0901, "ClickSmart 510" }, { 0x046d0903, "ClickSmart 820" }, { 0x046d0905, "ClickSmart 820" }, { 0x046d0910, "QuickCam Cordless" }, { 0x046d0920, "QuickCam Express" }, { 0x046d0921, "Labtec Webcam" }, { 0x046d0922, "QuickCam Live" }, { 0x046d0928, "QuickCam Express" }, { 0x046d0929, "Labtec Webcam Pro" }, { 0x046d092a, "QuickCam for Notebooks" }, { 0x046d092b, "Labtec Webcam Plus" }, { 0x046d092c, "QuickCam Chat" }, { 0x046d092d, "QuickCam Express / Go" }, { 0x046d092e, "QuickCam Chat" }, { 0x046d092f, "QuickCam Express Plus" }, { 0x046d0950, "Pocket Camera" }, { 0x046d0960, "ClickSmart 420" }, { 0x046d0970, "Pocket750" }, { 0x046d0990, "QuickCam Pro 9000" }, { 0x046d0991, "QuickCam Pro for Notebooks" }, { 0x046d0992, "QuickCam Communicate Deluxe" }, { 0x046d0994, "QuickCam Orbit/Sphere AF" }, { 0x046d09a1, "QuickCam Communicate MP/S5500" }, { 0x046d09a2, "QuickCam Communicate Deluxe/S7500" }, { 0x046d09a4, "QuickCam E 3500" }, { 0x046d09a5, "Quickcam 3000 For Business" }, { 0x046d09a6, "QuickCam Vision Pro" }, { 0x046d09b0, "Acer OrbiCam" }, { 0x046d09b2, "Fujitsu Webcam" }, { 0x046d09c0, "QuickCam for Dell Notebooks Mic" }, { 0x046d09c1, "QuickCam Deluxe for Notebooks" }, { 0x046d0a01, "USB Headset" }, { 0x046d0a02, "Premium Stereo USB Headset 350" }, { 0x046d0a03, "Logitech USB Microphone" }, { 0x046d0a04, "V20 portable speakers (USB powered)" }, { 0x046d0a07, "Z-10 Speakers" }, { 0x046d0a0b, "ClearChat Pro USB" }, { 0x046d0a0c, "Clear Chat Comfort USB Headset" }, { 0x046d0a10, "V10 Notebook Speakers" }, { 0x046d0a13, "Z-5 Speakers" }, { 0x046d0a14, "USB Headset" }, { 0x046d0a15, "G35 Headset" }, { 0x046d0a17, "G330 Headset" }, { 0x046d0a1f, "G930" }, { 0x046d0a23, "Laptop Speaker Z305" }, { 0x046d0a29, "H600 [Wireless Headset]" }, { 0x046d0a37, "USB Headset H540" }, { 0x046d0a38, "Headset H340" }, { 0x046d0a44, "Headset H390" }, { 0x046d0a45, "960 Headset" }, { 0x046d0a4d, "G430 Surround Sound Gaming Headset" }, { 0x046d0a4f, "MINI BOOM" }, { 0x046d0a5b, "G933 Wireless Headset Dongle" }, { 0x046d0a5d, "G933 Headset Battery Charger" }, { 0x046d0a66, "[G533 Wireless Headset Dongle]" }, { 0x046d0a8f, "H390 headset with microphone" }, { 0x046d0a90, "Zone Receiver" }, { 0x046d0aaa, "Logitech G PRO X Gaming Headset" }, { 0x046d0ac4, "G535 Wireless Gaming Headset" }, { 0x046d0b02, "C-UV35 [Bluetooth Mini-Receiver] (HID proxy mode)" }, { 0x046d8801, "Video Camera" }, { 0x046db014, "Bluetooth Mouse M336/M337/M535" }, { 0x046db305, "BT Mini-Receiver" }, { 0x046dbfe4, "Premium Optical Wheel Mouse" }, { 0x046dc000, "N43 [Pilot Mouse]" }, { 0x046dc001, "N48/M-BB48/M-UK96A [FirstMouse Plus]" }, { 0x046dc002, "M-BA47 [MouseMan Plus]" }, { 0x046dc003, "MouseMan" }, { 0x046dc004, "WingMan Gaming Mouse" }, { 0x046dc005, "WingMan Gaming Wheel Mouse" }, { 0x046dc00b, "MouseMan Wheel" }, { 0x046dc00c, "Optical Wheel Mouse" }, { 0x046dc00d, "MouseMan Wheel+" }, { 0x046dc00e, "M-BJ58/M-BJ69 Optical Wheel Mouse" }, { 0x046dc00f, "MouseMan Traveler/Mobile" }, { 0x046dc011, "Optical MouseMan" }, { 0x046dc012, "Mouseman Dual Optical" }, { 0x046dc014, "Corded Workstation Mouse" }, { 0x046dc015, "Corded Workstation Mouse" }, { 0x046dc016, "Optical Wheel Mouse" }, { 0x046dc018, "Optical Wheel Mouse" }, { 0x046dc019, "Optical Tilt Wheel Mouse" }, { 0x046dc01a, "M-BQ85 Optical Wheel Mouse" }, { 0x046dc01b, "MX310 Optical Mouse" }, { 0x046dc01c, "Optical Mouse" }, { 0x046dc01d, "MX510 Optical Mouse" }, { 0x046dc01e, "MX518 Optical Mouse" }, { 0x046dc024, "MX300 Optical Mouse" }, { 0x046dc025, "MX500 Optical Mouse" }, { 0x046dc030, "iFeel Mouse" }, { 0x046dc031, "iFeel Mouse+" }, { 0x046dc032, "MouseMan iFeel" }, { 0x046dc033, "iFeel MouseMan+" }, { 0x046dc034, "MouseMan Optical" }, { 0x046dc035, "Mouse" }, { 0x046dc036, "Mouse" }, { 0x046dc037, "Mouse" }, { 0x046dc038, "Mouse" }, { 0x046dc03d, "M-BT96a Pilot Optical Mouse" }, { 0x046dc03e, "Premium Optical Wheel Mouse (M-BT58)" }, { 0x046dc03f, "M-BT85 [UltraX Optical Mouse]" }, { 0x046dc040, "Corded Tilt-Wheel Mouse" }, { 0x046dc041, "G5 Laser Mouse" }, { 0x046dc042, "G3 Laser Mouse" }, { 0x046dc043, "MX320/MX400 Laser Mouse" }, { 0x046dc044, "LX3 Optical Mouse" }, { 0x046dc045, "Optical Mouse" }, { 0x046dc046, "RX1000 Laser Mouse" }, { 0x046dc047, "Laser Mouse M-UAL120" }, { 0x046dc048, "G9 Laser Mouse" }, { 0x046dc049, "G5 Laser Mouse" }, { 0x046dc050, "RX 250 Optical Mouse" }, { 0x046dc051, "G3 (MX518) Optical Mouse" }, { 0x046dc053, "Laser Mouse" }, { 0x046dc054, "Bluetooth mini-receiver" }, { 0x046dc058, "M115 Mouse" }, { 0x046dc05a, "M90/M100 Optical Mouse" }, { 0x046dc05b, "M-U0004 810-001317 [B110 Optical USB Mouse]" }, { 0x046dc05d, "Optical Mouse" }, { 0x046dc05f, "M115 Optical Mouse" }, { 0x046dc061, "RX1500 Laser Mouse" }, { 0x046dc062, "M-UAS144 [LS1 Laser Mouse]" }, { 0x046dc063, "DELL Laser Mouse" }, { 0x046dc064, "M110 corded optical mouse (M-B0001)" }, { 0x046dc066, "G9x Laser Mouse" }, { 0x046dc068, "G500 Laser Mouse" }, { 0x046dc069, "M-U0007 [Corded Mouse M500]" }, { 0x046dc06a, "USB Optical Mouse" }, { 0x046dc06b, "G700 Wireless Gaming Mouse" }, { 0x046dc06c, "Optical Mouse" }, { 0x046dc077, "Mouse" }, { 0x046dc07c, "M-R0017 [G700s Rechargeable Gaming Mouse]" }, { 0x046dc07d, "G502 Mouse" }, { 0x046dc07e, "G402 Gaming Mouse" }, { 0x046dc080, "G303 Gaming Mouse" }, { 0x046dc083, "G403 Prodigy Gaming Mouse" }, { 0x046dc084, "G203 Gaming Mouse" }, { 0x046dc088, "G Pro Wireless gaming mouse (wired mode)" }, { 0x046dc08b, "G502 SE HERO Gaming Mouse" }, { 0x046dc08e, "G MX518 Gaming Mouse (MU0053)" }, { 0x046dc092, "G102/G203 LIGHTSYNC Gaming Mouse" }, { 0x046dc093, "M500s Optical Mouse" }, { 0x046dc101, "UltraX Media Remote" }, { 0x046dc110, "Harmony 785/880/885 Remote" }, { 0x046dc111, "Harmony 525 Remote" }, { 0x046dc112, "Harmony 890 Remote" }, { 0x046dc11f, "Harmony 900/1100 Remote" }, { 0x046dc121, "Harmony One Remote" }, { 0x046dc122, "Harmony 650/700 Remote" }, { 0x046dc124, "Harmony 300/350 Remote" }, { 0x046dc125, "Harmony 200 Remote" }, { 0x046dc126, "Harmony Link" }, { 0x046dc129, "Harmony Hub" }, { 0x046dc12b, "Harmony Touch/Ultimate Remote" }, { 0x046dc201, "WingMan Extreme Joystick with Throttle" }, { 0x046dc202, "WingMan Formula" }, { 0x046dc207, "WingMan Extreme Digital 3D" }, { 0x046dc208, "WingMan Gamepad Extreme" }, { 0x046dc209, "WingMan Gamepad" }, { 0x046dc20a, "WingMan RumblePad" }, { 0x046dc20b, "WingMan Action Pad" }, { 0x046dc20c, "WingMan Precision" }, { 0x046dc20d, "WingMan Attack 2" }, { 0x046dc20e, "WingMan Formula GP" }, { 0x046dc211, "iTouch Cordless Receiver" }, { 0x046dc212, "WingMan Extreme Digital 3D" }, { 0x046dc213, "J-UH16 (Freedom 2.4 Cordless Joystick)" }, { 0x046dc214, "ATK3 (Attack III Joystick)" }, { 0x046dc215, "Extreme 3D Pro" }, { 0x046dc216, "F310 Gamepad [DirectInput Mode]" }, { 0x046dc218, "F510 Gamepad [DirectInput Mode]" }, { 0x046dc219, "F710 Gamepad [DirectInput Mode]" }, { 0x046dc21a, "Precision Gamepad" }, { 0x046dc21c, "G13 Advanced Gameboard" }, { 0x046dc21d, "F310 Gamepad [XInput Mode]" }, { 0x046dc21e, "F510 Gamepad [XInput Mode]" }, { 0x046dc21f, "F710 Wireless Gamepad [XInput Mode]" }, { 0x046dc221, "G11/G15 Keyboard / Keyboard" }, { 0x046dc222, "G15 Keyboard / LCD" }, { 0x046dc223, "G11/G15 Keyboard / USB Hub" }, { 0x046dc225, "G11/G15 Keyboard / G keys" }, { 0x046dc226, "G15 Refresh Keyboard" }, { 0x046dc227, "G15 Refresh Keyboard" }, { 0x046dc228, "G19 Gaming Keyboard" }, { 0x046dc229, "G19 Gaming Keyboard Macro Interface" }, { 0x046dc22a, "Gaming Keyboard G110" }, { 0x046dc22b, "Gaming Keyboard G110 G-keys" }, { 0x046dc22d, "G510 Gaming Keyboard" }, { 0x046dc22e, "G510 Gaming Keyboard onboard audio" }, { 0x046dc231, "G13 Virtual Mouse" }, { 0x046dc232, "Gaming Virtual Keyboard" }, { 0x046dc245, "G400 Optical Mouse" }, { 0x046dc246, "Gaming Mouse G300" }, { 0x046dc247, "G100S Optical Gaming Mouse" }, { 0x046dc248, "G105 Gaming Keyboard" }, { 0x046dc24a, "G600 Gaming Mouse" }, { 0x046dc24c, "G400s Optical Mouse" }, { 0x046dc24d, "G710 Gaming Keyboard" }, { 0x046dc24e, "G500s Laser Gaming Mouse" }, { 0x046dc24f, "G29 Driving Force Racing Wheel [PS3]" }, { 0x046dc260, "G29 Driving Force Racing Wheel [PS4]" }, { 0x046dc262, "G920 Driving Force Racing Wheel" }, { 0x046dc281, "WingMan Force" }, { 0x046dc283, "WingMan Force 3D" }, { 0x046dc285, "WingMan Strike Force 3D" }, { 0x046dc286, "Force 3D Pro" }, { 0x046dc287, "Flight System G940" }, { 0x046dc291, "WingMan Formula Force" }, { 0x046dc293, "WingMan Formula Force GP" }, { 0x046dc294, "Driving Force" }, { 0x046dc295, "Momo Force Steering Wheel" }, { 0x046dc298, "Driving Force Pro" }, { 0x046dc299, "G25 Racing Wheel" }, { 0x046dc29b, "G27 Racing Wheel" }, { 0x046dc29c, "Speed Force Wireless Wheel for Wii" }, { 0x046dc2a0, "Wingman Force Feedback Mouse" }, { 0x046dc2a1, "WingMan Force Feedback Mouse" }, { 0x046dc2ab, "G13 Joystick" }, { 0x046dc301, "iTouch Keyboard" }, { 0x046dc302, "iTouch Pro Keyboard" }, { 0x046dc303, "iTouch Keyboard" }, { 0x046dc305, "Internet Keyboard" }, { 0x046dc307, "Internet Keyboard" }, { 0x046dc308, "Internet Navigator Keyboard" }, { 0x046dc309, "Y-BF37 [Internet Navigator Keyboard]" }, { 0x046dc30a, "iTouch Composite" }, { 0x046dc30b, "NetPlay Keyboard" }, { 0x046dc30c, "Internet Keys (X)" }, { 0x046dc30d, "Internet Keys" }, { 0x046dc30e, "UltraX Keyboard (Y-BL49)" }, { 0x046dc30f, "Logicool HID-Compliant Keyboard (106 key)" }, { 0x046dc311, "Y-UF49 [Internet Pro Keyboard]" }, { 0x046dc312, "DeLuxe 250 Keyboard" }, { 0x046dc313, "Internet 350 Keyboard" }, { 0x046dc315, "Classic Keyboard 200" }, { 0x046dc316, "HID-Compliant Keyboard" }, { 0x046dc317, "Wave Corded Keyboard" }, { 0x046dc318, "Illuminated Keyboard" }, { 0x046dc31a, "Comfort Wave 450" }, { 0x046dc31b, "Compact Keyboard K300" }, { 0x046dc31c, "Keyboard K120" }, { 0x046dc31d, "Media Keyboard K200" }, { 0x046dc31f, "Comfort Keyboard K290" }, { 0x046dc326, "Washable Keyboard K310" }, { 0x046dc328, "Corded Keyboard K280e" }, { 0x046dc32b, "G910 Orion Spark Mechanical Keyboard" }, { 0x046dc332, "G502 Proteus Spectrum Optical Mouse" }, { 0x046dc335, "G910 Orion Spectrum Mechanical Keyboard" }, { 0x046dc336, "G213 Prodigy Gaming Keyboard" }, { 0x046dc33a, "G413 Gaming Keyboard" }, { 0x046dc33f, "G815 Mechanical Keyboard" }, { 0x046dc401, "TrackMan Marble Wheel" }, { 0x046dc402, "Marble Mouse (2-button)" }, { 0x046dc403, "Turbo TrackMan Marble FX" }, { 0x046dc404, "TrackMan Wheel" }, { 0x046dc408, "Marble Mouse (4-button)" }, { 0x046dc501, "Cordless Mouse Receiver" }, { 0x046dc502, "Cordless Mouse & iTouch Keys" }, { 0x046dc503, "Cordless Mouse+Keyboard Receiver" }, { 0x046dc504, "Cordless Mouse+Keyboard Receiver" }, { 0x046dc505, "Cordless Mouse+Keyboard Receiver" }, { 0x046dc506, "MX700 Cordless Mouse Receiver" }, { 0x046dc508, "Cordless Trackball" }, { 0x046dc509, "Cordless Keyboard & Mouse" }, { 0x046dc50a, "Cordless Mouse" }, { 0x046dc50b, "Cordless Desktop Optical" }, { 0x046dc50c, "Cordless Desktop S510" }, { 0x046dc50d, "Cordless Mouse" }, { 0x046dc50e, "Cordless Mouse Receiver" }, { 0x046dc510, "Cordless Mouse" }, { 0x046dc512, "LX-700 Cordless Desktop Receiver" }, { 0x046dc513, "MX3000 Cordless Desktop Receiver" }, { 0x046dc514, "Cordless Mouse" }, { 0x046dc515, "Cordless 2.4 GHz Presenter Presentation remote control" }, { 0x046dc517, "LX710 Cordless Desktop Laser" }, { 0x046dc518, "MX610 Laser Cordless Mouse" }, { 0x046dc51a, "MX Revolution/G7 Cordless Mouse" }, { 0x046dc51b, "V220 Cordless Optical Mouse for Notebooks" }, { 0x046dc521, "Cordless Mouse Receiver" }, { 0x046dc525, "MX Revolution Cordless Mouse" }, { 0x046dc526, "Nano Receiver" }, { 0x046dc529, "Logitech Keyboard + Mice" }, { 0x046dc52b, "Unifying Receiver" }, { 0x046dc52d, "R700 Remote Presenter receiver" }, { 0x046dc52e, "MK260 Wireless Combo Receiver" }, { 0x046dc52f, "Unifying Receiver" }, { 0x046dc531, "C-U0007 [Unifying Receiver]" }, { 0x046dc532, "Unifying Receiver" }, { 0x046dc534, "Unifying Receiver" }, { 0x046dc537, "Cordless Mouse Receiver" }, { 0x046dc539, "Lightspeed Receiver" }, { 0x046dc53a, "PowerPlay Wireless Charging System" }, { 0x046dc53d, "G631 Keyboard" }, { 0x046dc542, "M185 compact wireless mouse" }, { 0x046dc548, "Logi Bolt Receiver" }, { 0x046dc603, "3Dconnexion Spacemouse Plus XT" }, { 0x046dc605, "3Dconnexion CADman" }, { 0x046dc606, "3Dconnexion Spacemouse Classic" }, { 0x046dc621, "3Dconnexion Spaceball 5000" }, { 0x046dc623, "3Dconnexion Space Traveller 3D Mouse" }, { 0x046dc625, "3Dconnexion Space Pilot 3D Mouse" }, { 0x046dc626, "3Dconnexion Space Navigator 3D Mouse" }, { 0x046dc627, "3Dconnexion Space Explorer 3D Mouse" }, { 0x046dc628, "3Dconnexion Space Navigator for Notebooks" }, { 0x046dc629, "3Dconnexion SpacePilot Pro 3D Mouse" }, { 0x046dc62b, "3Dconnexion Space Mouse Pro" }, { 0x046dc640, "NuLOOQ navigator" }, { 0x046dc702, "Cordless Presenter" }, { 0x046dc703, "Elite Keyboard Y-RP20 + Mouse MX900 (Bluetooth)" }, { 0x046dc704, "diNovo Wireless Desktop" }, { 0x046dc705, "MX900 Bluetooth Wireless Hub (C-UJ16A)" }, { 0x046dc707, "Bluetooth wireless hub" }, { 0x046dc708, "Bluetooth wireless hub" }, { 0x046dc709, "BT Mini-Receiver (HCI mode)" }, { 0x046dc70a, "MX5000 Cordless Desktop" }, { 0x046dc70b, "BT Mini-Receiver (HID proxy mode)" }, { 0x046dc70c, "BT Mini-Receiver (HID proxy mode)" }, { 0x046dc70d, "Bluetooth wireless hub" }, { 0x046dc70e, "MX1000 Bluetooth Laser Mouse" }, { 0x046dc70f, "Bluetooth wireless hub" }, { 0x046dc712, "Bluetooth wireless hub" }, { 0x046dc714, "diNovo Edge Keyboard" }, { 0x046dc715, "Bluetooth wireless hub" }, { 0x046dc71a, "Bluetooth wireless hub" }, { 0x046dc71d, "Bluetooth wireless hub" }, { 0x046dc71f, "diNovo Mini Wireless Keyboard" }, { 0x046dc720, "Bluetooth wireless hub" }, { 0x046dca03, "MOMO Racing" }, { 0x046dca04, "Formula Vibration Feedback Wheel" }, { 0x046dca84, "Cordless Controller for Xbox" }, { 0x046dca88, "Thunderpad for Xbox" }, { 0x046dca8a, "Precision Vibration Feedback Wheel for Xbox" }, { 0x046dcaa3, "DriveFX Racing Wheel" }, { 0x046dcab1, "Cordless Keyboard for Wii HID Receiver" }, { 0x046dd001, "QuickCam Pro" }, { 0x046df301, "Controller" }, { 0x046e0100, "Keyboard" }, { 0x046e3001, "Mass Storage Device" }, { 0x046e3002, "Mass Storage Device" }, { 0x046e3003, "Mass Storage Device" }, { 0x046e3005, "Mass Storage Device" }, { 0x046e3008, "Mass Storage Device" }, { 0x046e5250, "KeyMaestro Multimedia Keyboard" }, { 0x046e5273, "KeyMaestro Multimedia Keyboard" }, { 0x046e52e6, "Cordless Mouse" }, { 0x046e5308, "KeyMaestro Keyboard" }, { 0x046e5408, "KeyMaestro Multimedia Keyboard/Hub" }, { 0x046e5500, "Portable Keyboard 86+9 keys (Model 6100C US)" }, { 0x046e5550, "5 button optical mouse model M873U" }, { 0x046e5720, "Smart Card Reader" }, { 0x046e6782, "BTC 7932 mouse+keyboard" }, { 0x04710101, "DSS350 Digital Speaker System" }, { 0x04710104, "DSS330 Digital Speaker System [uda1321]" }, { 0x04710105, "UDA1321" }, { 0x0471014b, "Philips HDD6320/00 or HDD6330/17" }, { 0x0471014c, "Philips HDD14XX,HDD1620 or HDD1630/17" }, { 0x0471014d, "Philips HDD085/00 or HDD082/17" }, { 0x0471014f, "Philips GoGear SA9200" }, { 0x04710160, "MP3 Player" }, { 0x04710161, "MP3 Player" }, { 0x04710163, "GoGear SA1100" }, { 0x04710164, "Philips SA1115/55" }, { 0x04710165, "Philips GoGear Audio" }, { 0x04710172, "Philips Shoqbox" }, { 0x04710181, "Philips PSA610" }, { 0x047101eb, "Philips HDD6320" }, { 0x04710201, "Hub" }, { 0x04710222, "Creative Nomad Jukebox" }, { 0x04710302, "PCA645VC Webcam [pwc]" }, { 0x04710303, "PCA646VC Webcam [pwc]" }, { 0x04710304, "Askey VC010 Webcam [pwc]" }, { 0x04710307, "PCVC675K Webcam [pwc]" }, { 0x04710308, "PCVC680K Webcam [pwc]" }, { 0x0471030b, "PC VGA Camera (Vesta Fun)" }, { 0x0471030c, "PCVC690K Webcam [pwc]" }, { 0x04710310, "PCVC730K Webcam [pwc]" }, { 0x04710311, "PCVC740K ToUcam Pro [pwc]" }, { 0x04710312, "PCVC750K Webcam [pwc]" }, { 0x04710314, "DMVC 1000K" }, { 0x04710316, "DMVC 2000K Video Capture" }, { 0x04710321, "FunCam" }, { 0x04710322, "DMVC1300K PC Camera" }, { 0x04710325, "SPC 200NC PC Camera" }, { 0x04710326, "SPC 300NC PC Camera" }, { 0x04710327, "Webcam SPC 6000 NC (Webcam w/ mic)" }, { 0x04710328, "SPC 700NC PC Camera" }, { 0x04710329, "SPC 900NC PC Camera / ORITE CCD Webcam(PC370R)" }, { 0x0471032d, "SPC 210NC PC Camera" }, { 0x0471032e, "SPC 315NC PC Camera" }, { 0x04710330, "SPC 710NC PC Camera" }, { 0x04710331, "SPC 1300NC PC Camera" }, { 0x04710332, "SPC 1000NC PC Camera" }, { 0x04710333, "SPC 620NC PC Camera" }, { 0x04710334, "SPC 520/525NC PC Camera" }, { 0x04710401, "Semiconductors CICT Keyboard" }, { 0x04710402, "PS/2 Mouse on Semiconductors CICT Keyboard" }, { 0x04710406, "15 inch Detachable Monitor" }, { 0x04710407, "10 inch Mobile Monitor" }, { 0x04710408, "SG3WA1/74 802.11b WLAN Adapter [Atmel AT76C503A]" }, { 0x04710471, "Digital Speaker System" }, { 0x04710601, "OVU1020 IR Dongle (Kbd+Mouse)" }, { 0x04710602, "ATI Remote Wonder II Input Device" }, { 0x04710603, "ATI Remote Wonder II Controller" }, { 0x04710608, "eHome Infrared Receiver" }, { 0x0471060a, "TSU9600 Remote Control" }, { 0x0471060c, "Consumer Infrared Transceiver (HP)" }, { 0x0471060d, "Consumer Infrared Transceiver (SRM5100)" }, { 0x0471060e, "RF Dongle" }, { 0x0471060f, "Consumer Infrared Transceiver" }, { 0x04710613, "Infrared Transceiver" }, { 0x04710617, "IEEE802.15.4 RF Dongle" }, { 0x04710619, "TSU9400 Remote Control" }, { 0x04710666, "Hantek DDS-3005 Arbitrary Waveform Generator" }, { 0x04710700, "Semiconductors CICT Hub" }, { 0x04710701, "150P1 TFT Display" }, { 0x04710809, "AVNET Bluetooth Device" }, { 0x04710811, "JR24 CDRW" }, { 0x04710814, "DCCX38/P data cable" }, { 0x04710815, "eHome Infrared Receiver" }, { 0x04710844, "SA2111/02 1GB Flash Audio Player" }, { 0x0471084a, "GoGear SA3125" }, { 0x0471084e, "Philips GoGear SA6014/SA6015/SA6024/SA6025/SA6044/SA6045" }, { 0x04710857, "Philips GoGear SA5145" }, { 0x04710888, "Hantek DDS-3005 Arbitrary Waveform Generator" }, { 0x04711103, "Digital Speaker System" }, { 0x04711120, "Creative Rhomba MP3 player" }, { 0x04711125, "Nike psa[128max Player" }, { 0x04711137, "HDD065 MP3 player" }, { 0x04711201, "Arima Bluetooth Device" }, { 0x04711230, "Wireless Adapter 11g" }, { 0x04711232, "SNU6500 Wireless Adapter" }, { 0x04711233, "Wireless Adapter Bootloader Download" }, { 0x04711236, "SNU5600 802.11bg" }, { 0x04711237, "TalkTalk SNU5630NS/05 802.11bg" }, { 0x04711552, "ISP 1581 Hi-Speed USB MPEG2 Encoder Reference Kit" }, { 0x04711801, "Diva MP3 player" }, { 0x0471190b, "Philips i908" }, { 0x04712002, "Philips GoGear SA6125/SA6145/SA6185" }, { 0x04712004, "Philips GoGear SA3345" }, { 0x04712008, "Philips W6610" }, { 0x0471200a, "Wireless Network Adapter" }, { 0x0471200f, "802.11n Wireless Adapter" }, { 0x04712021, "SDE3273FC/97 2.5\" SATA HDD Enclosure [INIC-1608L]" }, { 0x04712022, "Philips SA5285" }, { 0x04712034, "Webcam SPC530NC" }, { 0x04712036, "Webcam SPC1030NC" }, { 0x0471203f, "TSU9200 Remote Control" }, { 0x04712046, "TSU9800 Remote Control" }, { 0x0471204e, "GoGear RaGa (SA1942/02)" }, { 0x0471205e, "TSU9300 Remote Control" }, { 0x0471206c, "MCE IR Receiver - Spinel plusf0r ASUS" }, { 0x04712070, "GoGear Mix" }, { 0x04712075, "Philips GoGear ViBE SA1VBE04" }, { 0x04712076, "GoGear Aria" }, { 0x04712077, "Philips GoGear Muse" }, { 0x04712079, "GoGear Opus" }, { 0x0471207b, "Philips GoGear ViBE SA1VBE04/08" }, { 0x0471207c, "Philips GoGear Aria" }, { 0x04712088, "MCE IR Receiver with ALS- Spinel plus for ASUS" }, { 0x0471208e, "Philips GoGear SA1VBE08KX/78" }, { 0x0471209e, "PTA01 Wireless Adapter" }, { 0x047120b6, "GoGear Vibe" }, { 0x047120b7, "Philips GoGear VIBE SA2VBE[08|16]K/02" }, { 0x047120b9, "Philips GoGear Ariaz" }, { 0x047120d0, "SPZ2000 Webcam [PixArt PAC7332]" }, { 0x047120e3, "GoGear Raga" }, { 0x047120e4, "GoGear ViBE 8GB" }, { 0x047120e5, "Philips GoGear Vibe/02" }, { 0x04712138, "Philips GoGear Ariaz/97" }, { 0x04712160, "Mio LINK Heart Rate Monitor" }, { 0x04712190, "Philips PI3900B2/58" }, { 0x047121e0, "GoGEAR Raga" }, { 0x0471262c, "SPC230NC Webcam" }, { 0x04712721, "PTA 317 TV Camera" }, { 0x0471485d, "Senselock SenseIV v2.x" }, { 0x04717e01, "Philips PSA235" }, { 0x0471df55, "LPCXpresso LPC-Link" }, { 0x04720065, "PFU-65 Keyboard [Chicony]" }, { 0x0472b086, "Asus USB2.0 Webcam" }, { 0x0472b091, "Webcam" }, { 0x04740110, "Digital Voice Recorder R200" }, { 0x04740217, "Xacti J2" }, { 0x0474022f, "C5 Digital Media Camera (mass storage mode)" }, { 0x04740230, "Sanyo VPC-C5" }, { 0x04740231, "C5 Digital Media Camera (PC control mode)" }, { 0x047402e5, "Sanyo VPC-FH1" }, { 0x04740401, "Optical Drive" }, { 0x04740701, "SCP-4900 Cellphone" }, { 0x0474071f, "Usb Com Port Enumerator" }, { 0x04740722, "W33SA Camera" }, { 0x04750100, "NEC Petiscan" }, { 0x04750103, "Eclipse 1200U/Episode" }, { 0x04750210, "Scorpio Ultra 3" }, { 0x04780001, "QuickCam" }, { 0x04780002, "QuickClip" }, { 0x04780003, "QuickCam Pro" }, { 0x047a0004, "ScreenCoder UR7HCTS2-USB" }, { 0x047b0001, "Keyboard" }, { 0x047b0002, "Keyboard and Mouse" }, { 0x047b0011, "SK-1688U Keyboard" }, { 0x047b00f9, "SK-1789u Keyboard" }, { 0x047b0101, "BlueTooth Keyboard and Mouse" }, { 0x047b020b, "SK-3105 SmartCard Reader" }, { 0x047b050e, "Internet Compact Keyboard" }, { 0x047b1000, "Trust Office Scan USB 19200" }, { 0x047b1002, "HP ScanJet 4300c Parallel Port" }, { 0x047cffff, "UPS Tower 500W LV" }, { 0x047d1001, "Mouse*in*a*Box" }, { 0x047d1002, "Expert Mouse Pro" }, { 0x047d1003, "Orbit TrackBall" }, { 0x047d1004, "MouseWorks" }, { 0x047d1005, "TurboBall" }, { 0x047d1006, "TurboRing" }, { 0x047d1009, "Orbit TrackBall for Mac" }, { 0x047d1012, "PocketMouse" }, { 0x047d1013, "Mouse*in*a*Box Optical Pro" }, { 0x047d1014, "Expert Mouse Pro Wireless" }, { 0x047d1015, "Expert Mouse" }, { 0x047d1016, "ADB/USB Orbit" }, { 0x047d1018, "Studio Mouse" }, { 0x047d101d, "Mouse*in*a*Box Optical Pro" }, { 0x047d101e, "Studio Mouse Wireless" }, { 0x047d101f, "PocketMouse Pro" }, { 0x047d1020, "Expert Mouse Trackball" }, { 0x047d1021, "Expert Mouse Wireless" }, { 0x047d1022, "Orbit Optical" }, { 0x047d1023, "Pocket Mouse Pro Wireless" }, { 0x047d1024, "PocketMouse" }, { 0x047d1025, "Mouse*in*a*Box Optical Elite Wireless" }, { 0x047d1026, "Pocket Mouse Pro" }, { 0x047d1027, "StudioMouse" }, { 0x047d1028, "StudioMouse Wireless" }, { 0x047d1029, "Mouse*in*a*Box Optical Elite" }, { 0x047d102a, "Mouse*in*a*Box Optical" }, { 0x047d102b, "PocketMouse" }, { 0x047d102c, "Iridio" }, { 0x047d102d, "Pilot Optical" }, { 0x047d102e, "Pilot Optical Pro" }, { 0x047d102f, "Pilot Optical Pro Wireless" }, { 0x047d1042, "Ci25m Notebook Optical Mouse [Diamond Eye Precision]" }, { 0x047d1043, "Ci65m Wireless Notebook Optical Mouse" }, { 0x047d104a, "PilotMouse Mini Retractable" }, { 0x047d105d, "PocketMouse Bluetooth" }, { 0x047d105e, "Bluetooth EDR Dongle" }, { 0x047d1061, "PocketMouse Grip" }, { 0x047d1062, "PocketMouse Max" }, { 0x047d1063, "PocketMouse Max Wireless" }, { 0x047d1064, "PocketMouse 2.0 Wireless" }, { 0x047d1065, "PocketMouse 2.0" }, { 0x047d1066, "PocketMouse Max Glow" }, { 0x047d1067, "ValueMouse" }, { 0x047d1068, "ValueOpt White" }, { 0x047d1069, "ValueOpt Black" }, { 0x047d106a, "PilotMouse Laser Wireless Mini" }, { 0x047d106b, "PilotMouse Laser - 3 Button" }, { 0x047d106c, "PilotMouse Laser - Gaming" }, { 0x047d106d, "PilotMouse Laser - Wired" }, { 0x047d106e, "PilotMouse Micro Laser" }, { 0x047d1070, "ValueOpt Travel" }, { 0x047d1071, "ValueOpt RF TX" }, { 0x047d1072, "PocketMouse Colour" }, { 0x047d1073, "PilotMouse Laser - 6 Button" }, { 0x047d1074, "PilotMouse Laser Wireless Mini" }, { 0x047d1075, "SlimBlade Presenter Media Mouse" }, { 0x047d1076, "SlimBlade Media Mouse" }, { 0x047d1077, "SlimBlade Presenter Mouse" }, { 0x047d1152, "Bluetooth EDR Dongle" }, { 0x047d2002, "Optical Elite Wireless" }, { 0x047d2010, "Wireless Presentation Remote" }, { 0x047d2012, "Wireless Presenter with Laser Pointer" }, { 0x047d2021, "PilotBoard Wireless" }, { 0x047d2030, "PilotBoard Wireless" }, { 0x047d2034, "SlimBlade Media Notebook Set" }, { 0x047d2041, "SlimBlade Trackball" }, { 0x047d2048, "Orbit Trackball with Scroll Ring" }, { 0x047d4003, "Gravis Xterminator Digital Gamepad" }, { 0x047d4005, "Gravis Eliminator GamePad Pro" }, { 0x047d4006, "Gravis Eliminator AfterShock" }, { 0x047d4007, "Gravis Xterminator Force" }, { 0x047d4008, "Gravis Destroyer TiltPad" }, { 0x047d5001, "Cabo I Camera" }, { 0x047d5002, "VideoCam CABO II" }, { 0x047d5003, "VideoCam" }, { 0x047d8018, "Expert Wireless Trackball Mouse (K72359WW)" }, { 0x047d8068, "Pro Fit Ergo Vertical Wireless Trackball" }, { 0x047e0300, "ORiNOCO Card" }, { 0x047e1001, "USS720 Parallel Port" }, { 0x047e2892, "Systems Soft Modem" }, { 0x047ebad1, "Lucent 56k Modem" }, { 0x047ef101, "Atlas Modem" }, { 0x047f0101, "Bulk Driver" }, { 0x047f02ee, "BT600" }, { 0x047f0301, "Bulk Driver" }, { 0x047f0411, "Savi Office Base Station" }, { 0x047f0ca1, "USB DSP v4 Audio Interface" }, { 0x047f4254, "BUA-100 Bluetooth Adapter" }, { 0x047faa05, "DA45" }, { 0x047fac01, "Savi 7xx" }, { 0x047fad01, "GameCom 777 5.1 Headset" }, { 0x047faf00, "DA70" }, { 0x047faf01, "DA80" }, { 0x047fc008, "Audio 655 DSP" }, { 0x047fc00e, "Blackwire C310 headset" }, { 0x047fc03b, "HD1" }, { 0x047fc053, "Blackwire C5220 headset (remote control and 3.5mm audio adapter)" }, { 0x047fc056, "Blackwire C3220 Headset" }, { 0x047fca01, "Calisto 800 Series" }, { 0x047fda60, "DA60" }, { 0x04800001, "InTouch Module" }, { 0x04800004, "InTouch Module" }, { 0x04800011, "InTouch Module" }, { 0x04800014, "InTouch Module" }, { 0x04800100, "Stor.E Slim USB 3.0" }, { 0x04800200, "External Disk" }, { 0x04800212, "Toshiba Canvio Connect II 500GB Portable Hard Drive" }, { 0x04800820, "Canvio Advance Disk" }, { 0x04800821, "Canvio Advance 2TB model DTC920" }, { 0x04800900, "MQ04UBF100" }, { 0x0480a006, "UAS Controller" }, { 0x0480a007, "External Disk USB 3.0" }, { 0x0480a009, "Stor.E Basics" }, { 0x0480a00d, "STOR.E BASICS 500GB" }, { 0x0480a100, "Canvio Alu 2TB 2.5\" Black External Disk Model HDTH320EK3CA" }, { 0x0480a102, "Canvio Alu 2TB 2.5\" Black External Disk Model HDTH320EK3CA" }, { 0x0480a202, "Canvio Basics HDD" }, { 0x0480a208, "Canvio Basics 2TB USB 3.0 Portable Hard Drive" }, { 0x0480b001, "Stor.E Partner" }, { 0x0480b207, "Canvio Ready" }, { 0x0480d000, "External Disk 2TB Model DT01ABA200" }, { 0x0480d010, "External Disk 3TB" }, { 0x0480d011, "Canvio Desk" }, { 0x0482000e, "FS-1020D Printer" }, { 0x0482000f, "FS-1920 Mono Printer" }, { 0x04820015, "FS-1030D printer" }, { 0x04820100, "Finecam S3x" }, { 0x04820101, "Finecam S4" }, { 0x04820103, "Finecam S5" }, { 0x04820105, "Finecam L3" }, { 0x04820106, "Finecam" }, { 0x04820107, "Digital Camera Device" }, { 0x04820108, "Digital Camera Device" }, { 0x04820203, "AH-K3001V" }, { 0x04820204, "iBurst Terminal" }, { 0x04820408, "FS-1320D Printer" }, { 0x04820571, "Kyocera Rise" }, { 0x04820591, "Kyocera Event" }, { 0x0482059a, "Kyocera Torque Model E6715" }, { 0x04820640, "ECOSYS M6026cdn" }, { 0x0482069b, "ECOSYS M2635dn" }, { 0x048206b4, "ECOSYS M5526cdw" }, { 0x0482073c, "Kyocera Hydro Elite C6750" }, { 0x04820810, "Kyocera KYL22" }, { 0x0482085e, "Kyocera Hydro Icon" }, { 0x04820979, "Kyocera DuraForce" }, { 0x048209cb, "Kyocera KC-S701" }, { 0x048209fc, "Kyocera 302KC" }, { 0x04820a73, "Kyocera C6740N" }, { 0x04820a9a, "Kyocera Duraforce XD" }, { 0x04830102, "Remote NDIS Network device with Android debug (ADB)" }, { 0x04830103, "Remote NDIS Network device" }, { 0x04830104, "MTP device with Android debug (ADB)" }, { 0x04830105, "MTP device" }, { 0x04830106, "PTP device with Android debug (ADB)" }, { 0x04830107, "PTP device" }, { 0x04830137, "BeWAN ADSL USB ST (blue or green)" }, { 0x04830138, "Unicorn II (ST70138B + MTC-20174TQ chipset)" }, { 0x04830adb, "Android Debug Bridge (ADB) device" }, { 0x04830afb, "Android Fastboot device" }, { 0x04831307, "Cytronix 6in1 Card Reader" }, { 0x0483163d, "Cool Icam Digi-MP3" }, { 0x04832015, "TouchChip\302\256 Fingerprint Reader" }, { 0x04832016, "Fingerprint Reader" }, { 0x04832017, "Biometric Smart Card Reader" }, { 0x04832018, "BioSimKey" }, { 0x04832302, "Portable Flash Device (PFD)" }, { 0x04833744, "ST-LINK/V1" }, { 0x04833747, "ST Micro Connect Lite" }, { 0x04833748, "ST-LINK/V2" }, { 0x0483374b, "ST-LINK/V2.1" }, { 0x0483374d, "STLINK-V3 Loader" }, { 0x0483374e, "STLINK-V3" }, { 0x0483374f, "STLINK-V3" }, { 0x04833752, "ST-LINK/V2.1" }, { 0x04833753, "STLINK-V3" }, { 0x04834810, "ISDN adapter" }, { 0x0483481d, "BT Digital Access adapter" }, { 0x04835000, "ST Micro/Ergenic ERG BT-002 Bluetooth Adapter" }, { 0x04835001, "ST Micro Bluetooth Device" }, { 0x04835710, "Joystick in FS Mode" }, { 0x04835720, "Mass Storage Device" }, { 0x04835721, "Interrupt Demo" }, { 0x04835722, "Bulk Demo" }, { 0x04835730, "Audio Speaker" }, { 0x04835731, "Microphone" }, { 0x04835740, "Virtual COM Port" }, { 0x04835750, "LED badge -- mini LED display -- 11x44" }, { 0x04837270, "ST Micro Serial Bridge" }, { 0x04837554, "56k SoftModem" }, { 0x04838213, "ThermaData Logger Cradle" }, { 0x04838259, "Probe" }, { 0x048391d1, "Sensor Hub" }, { 0x0483a171, "ThermaData WiFi" }, { 0x0483a2e0, "BMeasure instrument" }, { 0x0483a43f, "inbed.io - Unified Controller (Gen 2)" }, { 0x0483df11, "STM Device in DFU Mode" }, { 0x0483ff10, "Swann ST56 Modem" }, { 0x04860185, "EeePC T91MT HID Touch Panel" }, { 0x04890502, "SmartMedia Card Reader Firmware Loader" }, { 0x04890503, "SmartMedia Card Reader" }, { 0x04891ab0, "Foxconn (for Nokia) N1" }, { 0x0489c00b, "Foxconn (for InFocus) M808" }, { 0x0489c025, "SHARP Corporation SH930W" }, { 0x0489c026, "Foxconn (for Vizio) Unknown 1" }, { 0x0489d00c, "Rollei Compactline (Storage Mode)" }, { 0x0489d00e, "Rollei Compactline (Video Mode)" }, { 0x0489e000, "T-Com TC 300" }, { 0x0489e003, "Pirelli DP-L10" }, { 0x0489e00d, "Broadcom Bluetooth 2.1 Device" }, { 0x0489e00f, "Foxconn T77H114 BCM2070 [Single-Chip Bluetooth 2.1 + EDR Adapter]" }, { 0x0489e011, "Acer Bluetooth module" }, { 0x0489e016, "Ubee PXU1900 WiMAX Adapter [Beceem BCSM250]" }, { 0x0489e02c, "Atheros AR5BBU12 Bluetooth Device" }, { 0x0489e032, "Broadcom BCM20702 Bluetooth" }, { 0x0489e040, "Foxconn (for Vizio) VTAB1008" }, { 0x0489e042, "Broadcom BCM20702 Bluetooth" }, { 0x0489e04d, "Atheros AR3012 Bluetooth" }, { 0x0489e055, "BCM43142A0 broadcom bluetooth" }, { 0x0489e07a, "Broadcom BCM20702A1 Bluetooth" }, { 0x0489e0c8, "MediaTek MT7921 Bluetooth" }, { 0x0489e0cd, "MediaTek Bluetooth Adapter" }, { 0x0489e111, "Foxconn (for Lenovo) IdeaTab A2109/A2110/Medion LIFETAB S9714" }, { 0x048d1165, "IT1165 Flash Controller" }, { 0x048d1172, "Flash Drive" }, { 0x048d1234, "Chipsbank CBM2199 Flash Drive" }, { 0x048d1336, "SD/MMC Cardreader" }, { 0x048d1345, "Multi Cardreader" }, { 0x048d5702, "RGB LED Controller" }, { 0x048d6008, "8291 RGB keyboard backlight controller" }, { 0x048d8297, "IT8297 RGB LED Controller" }, { 0x048d9006, "IT9135 BDA Afatech DVB-T HDTV Dongle" }, { 0x048d9009, "Zolid HD DVD Maker" }, { 0x048d9135, "Zolid Mini DVB-T Stick" }, { 0x048d9306, "IT930x DVB stick" }, { 0x048d9503, "ITE it9503 feature-limited DVB-T transmission chip [ccHDtv]" }, { 0x048d9507, "ITE it9507 full featured DVB-T transmission chip [ccHDtv]" }, { 0x048d9910, "IT9910 chipset based grabber" }, { 0x048dff59, "Hdmi-CEC Bridge" }, { 0x04910003, "Taxan Monitor Control" }, { 0x04920140, "MP3 player" }, { 0x04920141, "MP3 Player" }, { 0x0497c001, "Camera Device" }, { 0x04991000, "UX256 MIDI I/F" }, { 0x04991001, "MU1000" }, { 0x04991002, "MU2000" }, { 0x04991003, "MU500" }, { 0x04991004, "UW500" }, { 0x04991005, "MOTIF6" }, { 0x04991006, "MOTIF7" }, { 0x04991007, "MOTIF8" }, { 0x04991008, "UX96 MIDI I/F" }, { 0x04991009, "UX16 MIDI I/F" }, { 0x0499100a, "EOS BX" }, { 0x0499100c, "UC-MX" }, { 0x0499100d, "UC-KX" }, { 0x0499100e, "S08" }, { 0x0499100f, "CLP-150" }, { 0x04991010, "CLP-170" }, { 0x04991011, "P-250" }, { 0x04991012, "TYROS" }, { 0x04991013, "PF-500" }, { 0x04991014, "S90" }, { 0x04991015, "MOTIF-R" }, { 0x04991016, "MDP-5" }, { 0x04991017, "CVP-204" }, { 0x04991018, "CVP-206" }, { 0x04991019, "CVP-208" }, { 0x0499101a, "CVP-210" }, { 0x0499101b, "PSR-1100" }, { 0x0499101c, "PSR-2100" }, { 0x0499101d, "CLP-175" }, { 0x0499101e, "PSR-K1" }, { 0x0499101f, "EZ-J24" }, { 0x04991020, "EZ-250i" }, { 0x04991021, "MOTIF ES 6" }, { 0x04991022, "MOTIF ES 7" }, { 0x04991023, "MOTIF ES 8" }, { 0x04991024, "CVP-301" }, { 0x04991025, "CVP-303" }, { 0x04991026, "CVP-305" }, { 0x04991027, "CVP-307" }, { 0x04991028, "CVP-309" }, { 0x04991029, "CVP-309GP" }, { 0x0499102a, "PSR-1500" }, { 0x0499102b, "PSR-3000" }, { 0x0499102e, "ELS-01/01C" }, { 0x04991030, "PSR-295/293" }, { 0x04991031, "DGX-205/203" }, { 0x04991032, "DGX-305" }, { 0x04991033, "DGX-505" }, { 0x04991037, "PSR-E403" }, { 0x0499103c, "MOTIF-RACK ES" }, { 0x04991054, "S90XS Keyboard/Music Synthesizer" }, { 0x0499160f, "P-105" }, { 0x04991613, "Clavinova CLP535" }, { 0x04991617, "PSR-E353 digital keyboard" }, { 0x04991704, "Steinberg UR44" }, { 0x04992000, "DGP-7" }, { 0x04992001, "DGP-5" }, { 0x04993001, "YST-MS55D USB Speaker" }, { 0x04993003, "YST-M45D USB Speaker" }, { 0x04994000, "NetVolante RTA54i Broadband&ISDN Router" }, { 0x04994001, "NetVolante RTW65b Broadband Wireless Router" }, { 0x04994002, "NetVolante RTW65i Broadband&ISDN Wireless Router" }, { 0x04994004, "NetVolante RTA55i Broadband VoIP Router" }, { 0x04995000, "CS1D" }, { 0x04995001, "DSP1D" }, { 0x04995002, "DME32" }, { 0x04995003, "DM2000" }, { 0x04995004, "02R96" }, { 0x04995005, "ACU16-C" }, { 0x04995006, "NHB32-C" }, { 0x04995007, "DM1000" }, { 0x04995008, "01V96" }, { 0x04995009, "SPX2000" }, { 0x0499500a, "PM5D" }, { 0x0499500b, "DME64N" }, { 0x0499500c, "DME24N" }, { 0x04996001, "CRW2200UX Lightspeed 2 External CD-RW Drive" }, { 0x04997000, "DTX" }, { 0x04997010, "UB99" }, { 0x049c0002, "Keyboard (?)" }, { 0x049f0002, "InkJet Color Printer" }, { 0x049f0003, "iPAQ PocketPC" }, { 0x049f000e, "Internet Keyboard" }, { 0x049f0012, "InkJet Color Printer" }, { 0x049f0018, "PA-1/PA-2 MP3 Player" }, { 0x049f0019, "InkJet Color Printer" }, { 0x049f001a, "S4 100 Scanner" }, { 0x049f001e, "IJ650 Inkjet Printer" }, { 0x049f001f, "WL215 Adapter" }, { 0x049f0021, "S200 Scanner" }, { 0x049f0027, "Bluetooth Multiport Module by Compaq" }, { 0x049f002a, "1400P Inkjet Printer" }, { 0x049f002b, "A3000" }, { 0x049f002c, "Lexmark X125" }, { 0x049f0032, "802.11b Adapter [ipaq h5400]" }, { 0x049f0033, "Wireless LAN MultiPort W100 [Intersil PRISM 2.5]" }, { 0x049f0036, "Bluetooth Multiport Module" }, { 0x049f0051, "KU-0133 Easy Access Interner Keyboard" }, { 0x049f0076, "Wireless LAN MultiPort W200" }, { 0x049f0080, "GPRS Multiport" }, { 0x049f0086, "Bluetooth Device" }, { 0x049f504a, "Personal Jukebox PJB100" }, { 0x049f505a, "Linux-USB \"CDC Subset\" Device, or Itsy (experimental)" }, { 0x049f8511, "iPAQ Networking 10/100 Ethernet [pegasus2]" }, { 0x04a1fff0, "Telex Composite Device" }, { 0x04a40004, "DVD-CAM DZ-MV100A Camcorder" }, { 0x04a4001e, "DVDCAM USB HS Interface" }, { 0x04a50001, "Keyboard" }, { 0x04a50002, "API Ergo K/B" }, { 0x04a50003, "API Generic K/B Mouse" }, { 0x04a512a6, "AcerScan C310U" }, { 0x04a51a20, "Prisa 310U" }, { 0x04a51a2a, "Prisa 620U" }, { 0x04a52022, "Prisa 320U/340U" }, { 0x04a52040, "Prisa 620UT" }, { 0x04a5205e, "ScanPrisa 640BU" }, { 0x04a52060, "Prisa 620U+/640U" }, { 0x04a5207e, "Prisa 640BU" }, { 0x04a5209e, "ScanPrisa 640BT" }, { 0x04a520ae, "S2W 3000U" }, { 0x04a520b0, "S2W 3300U/4300U" }, { 0x04a520be, "Prisa 640BT" }, { 0x04a520c0, "Prisa 1240UT" }, { 0x04a520de, "S2W 4300U+" }, { 0x04a520f8, "Benq 5000" }, { 0x04a520fc, "Benq 5000" }, { 0x04a520fe, "SW2 5300U" }, { 0x04a52137, "Benq 5150/5250" }, { 0x04a52202, "Benq 7400UT" }, { 0x04a52311, "Benq 5560" }, { 0x04a53003, "Benq Webcam" }, { 0x04a53008, "Benq 1500" }, { 0x04a5300a, "Benq 3410" }, { 0x04a5300c, "Benq 1016" }, { 0x04a53019, "Benq DC C40" }, { 0x04a54000, "P30 Composite Device" }, { 0x04a54013, "BenQ-Siemens EF82/SL91" }, { 0x04a54044, "BenQ-Siemens SF71" }, { 0x04a54045, "BenQ-Siemens E81" }, { 0x04a54048, "BenQ M7" }, { 0x04a56001, "Mass Storage Device" }, { 0x04a56002, "Mass Storage Device" }, { 0x04a56003, "ATA/ATAPI Adapter" }, { 0x04a56004, "Mass Storage Device" }, { 0x04a56005, "Mass Storage Device" }, { 0x04a56006, "Mass Storage Device" }, { 0x04a56007, "Mass Storage Device" }, { 0x04a56008, "Mass Storage Device" }, { 0x04a56009, "Mass Storage Device" }, { 0x04a5600a, "Mass Storage Device" }, { 0x04a5600b, "Mass Storage Device" }, { 0x04a5600c, "Mass Storage Device" }, { 0x04a5600d, "Mass Storage Device" }, { 0x04a5600e, "Mass Storage Device" }, { 0x04a5600f, "Mass Storage Device" }, { 0x04a56010, "Mass Storage Device" }, { 0x04a56011, "Mass Storage Device" }, { 0x04a56012, "Mass Storage Device" }, { 0x04a56013, "Mass Storage Device" }, { 0x04a56014, "Mass Storage Device" }, { 0x04a56015, "Mass Storage Device" }, { 0x04a56125, "MP3 Player" }, { 0x04a56180, "MP3 Player" }, { 0x04a56200, "MP3 Player" }, { 0x04a57500, "Hi-Speed Mass Storage Device" }, { 0x04a58001, "BenQ ZOWIE Gaming Mouse" }, { 0x04a59000, "AWL300 Wireless Adapter" }, { 0x04a59001, "AWL400 Wireless Adapter" }, { 0x04a59213, "Kbd Hub" }, { 0x04a600b9, "Audio" }, { 0x04a60180, "Hub Type P" }, { 0x04a60181, "HID Monitor Controls" }, { 0x04a70063, "Visioneer DocuMate 152i" }, { 0x04a70100, "StrobePro" }, { 0x04a70101, "Strobe Pro Scanner (1.01)" }, { 0x04a70102, "StrobePro Scanner" }, { 0x04a70211, "OneTouch 7600 Scanner" }, { 0x04a70221, "OneTouch 5300 Scanner" }, { 0x04a70223, "OneTouch 8200" }, { 0x04a70224, "OneTouch 4800 USB/Microtek Scanport 3000" }, { 0x04a70225, "VistaScan Astra 3600(ENG)" }, { 0x04a70226, "OneTouch 5300 USB" }, { 0x04a70229, "OneTouch 7100" }, { 0x04a7022a, "OneTouch 6600" }, { 0x04a7022c, "OneTouch 9000/9020" }, { 0x04a70231, "6100 Scanner" }, { 0x04a70311, "6200 EPP/USB Scanner" }, { 0x04a70321, "OneTouch 8100 EPP/USB Scanner" }, { 0x04a70331, "OneTouch 8600 EPP/USB Scanner" }, { 0x04a70341, "6400" }, { 0x04a70361, "VistaScan Astra 3600(ENG)" }, { 0x04a70362, "OneTouch 9320" }, { 0x04a70371, "OneTouch 8700/8920" }, { 0x04a70380, "OneTouch 7700" }, { 0x04a70382, "Photo Port 7700" }, { 0x04a70390, "9650" }, { 0x04a703a0, "Xerox 4800 One Touch" }, { 0x04a70410, "OneTouch Pro 8800/8820" }, { 0x04a70421, "9450 USB" }, { 0x04a70423, "9750 Scanner" }, { 0x04a70424, "Strobe XP 450" }, { 0x04a70425, "Strobe XP 100" }, { 0x04a70426, "Strobe XP 200" }, { 0x04a70427, "Strobe XP 100" }, { 0x04a70444, "OneTouch 7300" }, { 0x04a70445, "CardReader 100" }, { 0x04a70446, "Xerox DocuMate 510" }, { 0x04a70447, "XEROX DocuMate 520" }, { 0x04a70448, "XEROX DocuMate 250" }, { 0x04a70449, "Xerox DocuMate 252" }, { 0x04a7044a, "Xerox 6400" }, { 0x04a7044c, "Xerox DocuMate 262" }, { 0x04a70474, "Strobe XP 300" }, { 0x04a70475, "Xerox DocuMate 272" }, { 0x04a70478, "Strobe XP 220" }, { 0x04a70479, "Strobe XP 470" }, { 0x04a7047a, "9450" }, { 0x04a7047b, "9650" }, { 0x04a7047d, "9420" }, { 0x04a70480, "9520" }, { 0x04a7048f, "Strobe XP 470" }, { 0x04a70491, "Strobe XP 450" }, { 0x04a70493, "9750" }, { 0x04a70494, "Strobe XP 120" }, { 0x04a70497, "Patriot 430" }, { 0x04a70498, "Patriot 680" }, { 0x04a70499, "Patriot 780" }, { 0x04a7049b, "Strobe XP 100" }, { 0x04a704a0, "7400" }, { 0x04a704ac, "Xerox Travel Scanner 100" }, { 0x04a704bb, "strobe 400 scanner" }, { 0x04a704cd, "Xerox Travel Scanner 150" }, { 0x04a704ee, "Duplex Combo Scanner" }, { 0x04a80101, "Hub" }, { 0x04a80303, "Peripheral Switch" }, { 0x04a80404, "Peripheral Switch" }, { 0x04a91005, "BJ Printer Hub" }, { 0x04a91035, "PD Printer Storage" }, { 0x04a91050, "BJC-8200" }, { 0x04a91051, "BJC-3000 Color Printer" }, { 0x04a91052, "BJC-6100" }, { 0x04a91053, "BJC-6200" }, { 0x04a91054, "BJC-6500" }, { 0x04a91055, "BJC-85" }, { 0x04a91056, "BJC-2110 Color Printer" }, { 0x04a91057, "LR1" }, { 0x04a9105a, "BJC-55" }, { 0x04a9105b, "S600 Printer" }, { 0x04a9105c, "S400" }, { 0x04a9105d, "S450 Printer" }, { 0x04a9105e, "S800" }, { 0x04a91062, "S500 Printer" }, { 0x04a91063, "S4500" }, { 0x04a91064, "S300 Printer" }, { 0x04a91065, "S100" }, { 0x04a91066, "S630" }, { 0x04a91067, "S900" }, { 0x04a91068, "S9000" }, { 0x04a91069, "S820" }, { 0x04a9106a, "S200 Printer" }, { 0x04a9106b, "S520 Printer" }, { 0x04a9106d, "S750 Printer" }, { 0x04a9106e, "S820D" }, { 0x04a91070, "S530D" }, { 0x04a91072, "I850 Printer" }, { 0x04a91073, "I550 Printer" }, { 0x04a91074, "S330 Printer" }, { 0x04a91076, "i70" }, { 0x04a91077, "i950" }, { 0x04a9107a, "S830D" }, { 0x04a9107b, "i320" }, { 0x04a9107c, "i470D" }, { 0x04a9107d, "i9100" }, { 0x04a9107e, "i450" }, { 0x04a9107f, "i860" }, { 0x04a91082, "i350" }, { 0x04a91084, "i250" }, { 0x04a91085, "i255" }, { 0x04a91086, "i560" }, { 0x04a91088, "i965" }, { 0x04a9108a, "i455" }, { 0x04a9108b, "i900D" }, { 0x04a9108c, "i475D" }, { 0x04a9108d, "PIXMA iP2000" }, { 0x04a9108f, "i80" }, { 0x04a91090, "i9900 Photo Printer" }, { 0x04a91091, "PIXMA iP1500" }, { 0x04a91093, "PIXMA iP4000" }, { 0x04a91094, "PIXMA iP3000x Printer" }, { 0x04a91095, "PIXMA iP6000D" }, { 0x04a91097, "PIXMA iP5000" }, { 0x04a91098, "PIXMA iP1000" }, { 0x04a91099, "PIXMA iP8500" }, { 0x04a9109c, "PIXMA iP4000R" }, { 0x04a9109d, "iP90" }, { 0x04a910a0, "PIXMA iP1600 Printer" }, { 0x04a910a2, "iP4200" }, { 0x04a910a4, "iP5200R" }, { 0x04a910a5, "iP5200" }, { 0x04a910a7, "iP6210D" }, { 0x04a910a8, "iP6220D" }, { 0x04a910a9, "iP6600D" }, { 0x04a910b6, "PIXMA iP4300 Printer" }, { 0x04a910b7, "PIXMA iP5300 Printer" }, { 0x04a910c2, "PIXMA iP1800 Printer" }, { 0x04a910c4, "Pixma iP4500 Printer" }, { 0x04a910c9, "PIXMA iP4600 Printer" }, { 0x04a910ca, "PIXMA iP3600 Printer" }, { 0x04a910e3, "PIXMA iX6850 Printer" }, { 0x04a912fe, "Printer in service mode" }, { 0x04a91404, "W6400PG" }, { 0x04a91405, "W8400PG" }, { 0x04a9150f, "BIJ2350 PCL" }, { 0x04a91510, "BIJ1350 PCL" }, { 0x04a91512, "BIJ1350D PCL" }, { 0x04a91601, "DR-2080C Scanner" }, { 0x04a91607, "DR-6080 Scanner" }, { 0x04a91608, "DR-2580C Scanner" }, { 0x04a91609, "DR-3080CII" }, { 0x04a9160a, "DR-2050C Scanner" }, { 0x04a91700, "PIXMA MP110 Scanner" }, { 0x04a91701, "PIXMA MP130 Scanner" }, { 0x04a91702, "MP410 Composite" }, { 0x04a91703, "MP430 Composite" }, { 0x04a91704, "MP330 Composite" }, { 0x04a91706, "PIXMA MP750 Scanner" }, { 0x04a91707, "PIXMA MP780/MP790" }, { 0x04a91708, "PIXMA MP760/MP770" }, { 0x04a91709, "PIXMA MP150 Scanner" }, { 0x04a9170a, "PIXMA MP170 Scanner" }, { 0x04a9170b, "PIXMA MP450 Scanner" }, { 0x04a9170c, "PIXMA MP500 Scanner" }, { 0x04a9170d, "PIXMA MP800 Scanner" }, { 0x04a9170e, "PIXMA MP800R" }, { 0x04a91710, "MP950" }, { 0x04a91712, "PIXMA MP530" }, { 0x04a91713, "PIXMA MP830 Scanner" }, { 0x04a91714, "MP160" }, { 0x04a91715, "PIXMA MP180" }, { 0x04a91716, "PIXMA MP460" }, { 0x04a91717, "PIXMA MP510" }, { 0x04a91718, "PIXMA MP600" }, { 0x04a91719, "PIXMA MP600R" }, { 0x04a9171a, "PIXMA MP810" }, { 0x04a9171b, "PIXMA MP960" }, { 0x04a9171c, "PIXMA MX7600" }, { 0x04a91721, "PIXMA MP210" }, { 0x04a91722, "PIXMA MP220" }, { 0x04a91723, "PIXMA MP470" }, { 0x04a91724, "PIXMA MP520 series" }, { 0x04a91725, "PIXMA MP610" }, { 0x04a91726, "PIXMA MP970" }, { 0x04a91727, "PIXMA MX300" }, { 0x04a91728, "PIXMA MX310 series" }, { 0x04a91729, "PIXMA MX700" }, { 0x04a9172b, "MP140 ser" }, { 0x04a9172c, "PIXMA MX850" }, { 0x04a9172d, "PIXMA MP980" }, { 0x04a9172e, "PIXMA MP630" }, { 0x04a9172f, "PIXMA MP620" }, { 0x04a91730, "PIXMA MP540" }, { 0x04a91731, "PIXMA MP480" }, { 0x04a91732, "PIXMA MP240" }, { 0x04a91733, "PIXMA MP260" }, { 0x04a91734, "PIXMA MP190" }, { 0x04a91735, "PIXMA MX860" }, { 0x04a91736, "PIXMA MX320 series" }, { 0x04a91737, "PIXMA MX330" }, { 0x04a9173a, "PIXMA MP250" }, { 0x04a9173b, "PIXMA MP270 All-In-One Printer" }, { 0x04a9173c, "PIXMA MP490" }, { 0x04a9173d, "PIXMA MP550" }, { 0x04a9173e, "PIXMA MP560" }, { 0x04a9173f, "PIXMA MP640" }, { 0x04a91740, "PIXMA MP990" }, { 0x04a91741, "PIXMA MX340" }, { 0x04a91742, "PIXMA MX350" }, { 0x04a91743, "PIXMA MX870" }, { 0x04a91746, "PIXMA MP280" }, { 0x04a91747, "PIXMA MP495" }, { 0x04a91748, "PIXMA MG5100 Series" }, { 0x04a91749, "PIXMA MG5200 Series" }, { 0x04a9174a, "PIXMA MG6100 Series" }, { 0x04a9174b, "PIXMA MG8100 Series" }, { 0x04a9174d, "PIXMA MX360" }, { 0x04a9174e, "PIXMA MX410" }, { 0x04a9174f, "PIXMA MX420" }, { 0x04a91750, "PIXMA MX880 Series" }, { 0x04a91752, "PIXMA MG3100 Series" }, { 0x04a91753, "PIXMA MG4100 Series" }, { 0x04a91754, "PIXMA MG5300 Series" }, { 0x04a91755, "PIXMA MG6200 Series" }, { 0x04a91756, "PIXMA MG8200 Series" }, { 0x04a91757, "PIXMA MP493" }, { 0x04a91759, "PIXMA MX370 Series" }, { 0x04a9175b, "PIXMA MX430 Series" }, { 0x04a9175c, "PIXMA MX510 Series" }, { 0x04a9175d, "PIXMA MX710 Series" }, { 0x04a9175e, "PIXMA MX890 Series" }, { 0x04a9175f, "PIXMA MP230" }, { 0x04a91762, "PIXMA MG3200 Series" }, { 0x04a91763, "PIXMA MG4200 Series" }, { 0x04a91764, "PIXMA MG5400 Series" }, { 0x04a91765, "PIXMA MG6300 Series" }, { 0x04a91766, "PIXMA MX390 Series" }, { 0x04a91768, "PIXMA MX450 Series" }, { 0x04a91769, "PIXMA MX520 Series" }, { 0x04a9176a, "PIXMA MX720 Series" }, { 0x04a9176b, "PIXMA MX920 Series" }, { 0x04a9176d, "PIXMA MG2500 Series" }, { 0x04a9176e, "PIXMA MG3500 Series" }, { 0x04a9176f, "PIXMA MG6500 Series" }, { 0x04a91770, "PIXMA MG6400 Series" }, { 0x04a91771, "PIXMA MG5500 Series" }, { 0x04a91772, "PIXMA MG7100 Series" }, { 0x04a91774, "PIXMA MX470 Series" }, { 0x04a91775, "PIXMA MX530 Series" }, { 0x04a9177c, "PIXMA MG7500 Series" }, { 0x04a9177e, "PIXMA MG6600 Series" }, { 0x04a9177f, "PIXMA MG5600 Series" }, { 0x04a91780, "PIXMA MG2900 Series" }, { 0x04a91787, "PIXMA MX490 Series" }, { 0x04a9178a, "PIXMA MG3600 Series" }, { 0x04a9178d, "PIXMA MG6853" }, { 0x04a9180b, "PIXMA MG3000 series" }, { 0x04a91856, "PIXMA TS6250" }, { 0x04a91900, "CanoScan LiDE 90" }, { 0x04a91901, "CanoScan 8800F" }, { 0x04a91904, "CanoScan LiDE 100" }, { 0x04a91905, "CanoScan LiDE 200" }, { 0x04a91906, "CanoScan 5600F" }, { 0x04a91907, "CanoScan LiDE 700F" }, { 0x04a91909, "CanoScan LiDE 110" }, { 0x04a9190a, "CanoScan LiDE 210" }, { 0x04a9190d, "CanoScan 9000F Mark II" }, { 0x04a9190e, "CanoScan LiDE 120" }, { 0x04a9190f, "CanoScan LiDE 220" }, { 0x04a91912, "LiDE 400" }, { 0x04a91913, "CanoScan LiDE 300" }, { 0x04a92200, "CanoScan LiDE 25" }, { 0x04a92201, "CanoScan FB320U" }, { 0x04a92202, "CanoScan FB620U" }, { 0x04a92204, "CanoScan FB630U" }, { 0x04a92205, "CanoScan FB1210U" }, { 0x04a92206, "CanoScan N650U/N656U" }, { 0x04a92207, "CanoScan 1220U" }, { 0x04a92208, "CanoScan D660U" }, { 0x04a9220a, "CanoScan D2400UF" }, { 0x04a9220b, "CanoScan D646U" }, { 0x04a9220c, "CanoScan D1250U2" }, { 0x04a9220d, "CanoScan N670U/N676U/LiDE 20" }, { 0x04a9220e, "CanoScan N1240U/LiDE 30" }, { 0x04a9220f, "CanoScan 8000F" }, { 0x04a92210, "CanoScan 9900F" }, { 0x04a92212, "CanoScan 5000F" }, { 0x04a92213, "CanoScan LiDE 50/LiDE 35/LiDE 40" }, { 0x04a92214, "CanoScan LiDE 80" }, { 0x04a92215, "CanoScan 3000/3000F/3000ex" }, { 0x04a92216, "CanoScan 3200F" }, { 0x04a92217, "CanoScan 5200F" }, { 0x04a92219, "CanoScan 9950F" }, { 0x04a9221b, "CanoScan 4200F" }, { 0x04a9221c, "CanoScan LiDE 60" }, { 0x04a9221e, "CanoScan 8400F" }, { 0x04a9221f, "CanoScan LiDE 500F" }, { 0x04a92220, "CanoScan LIDE 25" }, { 0x04a92224, "CanoScan LiDE 600F" }, { 0x04a92225, "CanoScan LiDE 70" }, { 0x04a92228, "CanoScan 4400F" }, { 0x04a92229, "CanoScan 8600F" }, { 0x04a92602, "MultiPASS C555" }, { 0x04a92603, "MultiPASS C755" }, { 0x04a9260a, "LBP810" }, { 0x04a9260e, "LBP-2000" }, { 0x04a92610, "MPC600F" }, { 0x04a92611, "SmartBase MPC400" }, { 0x04a92612, "MultiPASS C855" }, { 0x04a92617, "LBP1210" }, { 0x04a9261a, "iR1600" }, { 0x04a9261b, "iR1610" }, { 0x04a9261c, "iC2300" }, { 0x04a9261f, "MPC200 Printer" }, { 0x04a92621, "iR2000" }, { 0x04a92622, "iR2010" }, { 0x04a92623, "FAX-B180C" }, { 0x04a92629, "FAXPHONE L75" }, { 0x04a9262b, "LaserShot LBP-1120 Printer" }, { 0x04a9262c, "imageCLASS D300" }, { 0x04a9262d, "iR C3200" }, { 0x04a9262f, "PIXMA MP730" }, { 0x04a92630, "PIXMA MP700" }, { 0x04a92631, "LASER CLASS 700" }, { 0x04a92632, "FAX-L2000" }, { 0x04a92633, "LASERCLASS 500" }, { 0x04a92634, "PC-D300/FAX-L400/ICD300" }, { 0x04a92635, "MPC190" }, { 0x04a92636, "LBP3200" }, { 0x04a92637, "iR C6800" }, { 0x04a92638, "iR C3100" }, { 0x04a9263c, "PIXMA MP360" }, { 0x04a9263d, "PIXMA MP370" }, { 0x04a9263e, "PIXMA MP390" }, { 0x04a9263f, "PIXMA MP375R" }, { 0x04a92646, "MF5530 Scanner Device V1.9.1" }, { 0x04a92647, "MF5550 Composite" }, { 0x04a9264c, "PIXMA MP740" }, { 0x04a9264d, "PIXMA MP710" }, { 0x04a9264e, "MF5630" }, { 0x04a9264f, "MF5650 (FAX)" }, { 0x04a92650, "iR 6800C EUR" }, { 0x04a92651, "iR 3100C EUR" }, { 0x04a92654, "LBP3600" }, { 0x04a92655, "FP-L170/MF350/L380/L398" }, { 0x04a92656, "iR1510-1670 CAPT Printer" }, { 0x04a92657, "LBP3210" }, { 0x04a92659, "MF8100" }, { 0x04a9265b, "CAPT Printer" }, { 0x04a9265c, "iR C3220" }, { 0x04a9265d, "MF5730" }, { 0x04a9265e, "MF5750" }, { 0x04a9265f, "MF5770" }, { 0x04a92660, "MF3110" }, { 0x04a92663, "iR3570/iR4570" }, { 0x04a92664, "iR2270/iR2870" }, { 0x04a92665, "iR C2620" }, { 0x04a92666, "iR C5800" }, { 0x04a92667, "iR85PLUS" }, { 0x04a92669, "iR105PLUS" }, { 0x04a9266a, "LBP3000" }, { 0x04a9266b, "iR8070" }, { 0x04a9266c, "iR9070" }, { 0x04a9266d, "iR 5800C EUR" }, { 0x04a9266e, "CAPT Device" }, { 0x04a9266f, "iR2230" }, { 0x04a92670, "iR3530" }, { 0x04a92671, "iR5570/iR6570" }, { 0x04a92672, "iR C3170" }, { 0x04a92673, "iR 3170C EUR" }, { 0x04a92674, "FAX-L120" }, { 0x04a92675, "iR2830" }, { 0x04a92676, "LBP2900" }, { 0x04a92677, "iR C2570" }, { 0x04a92678, "iR 2570C EUR" }, { 0x04a92679, "LBP5000" }, { 0x04a9267a, "iR2016" }, { 0x04a9267b, "iR2020" }, { 0x04a9267d, "MF7100 series" }, { 0x04a9267e, "LBP3300" }, { 0x04a92684, "MF3200 series" }, { 0x04a92686, "MF6500 series" }, { 0x04a92687, "iR4530" }, { 0x04a92688, "LBP3460" }, { 0x04a92689, "FAX-L180/L380S/L398S" }, { 0x04a9268a, "LC310/L390/L408S" }, { 0x04a9268b, "LBP3500" }, { 0x04a9268c, "iR C6870" }, { 0x04a9268d, "iR 6870C EUR" }, { 0x04a9268e, "iR C5870" }, { 0x04a9268f, "iR 5870C EUR" }, { 0x04a92691, "iR7105" }, { 0x04a926a1, "LBP5300" }, { 0x04a926a3, "MF4100 series" }, { 0x04a926a4, "LBP5100" }, { 0x04a926b0, "MF4600 series" }, { 0x04a926b4, "MF4010 series" }, { 0x04a926b5, "MF4200 series" }, { 0x04a926b6, "FAX-L140/L130" }, { 0x04a926b9, "LBP3310" }, { 0x04a926ba, "LBP5050" }, { 0x04a926da, "LBP3010/LBP3018/LBP3050" }, { 0x04a926db, "LBP3100/LBP3108/LBP3150" }, { 0x04a926e6, "iR1024" }, { 0x04a926ea, "LBP9100C" }, { 0x04a926ee, "MF4320-4350" }, { 0x04a926f1, "LBP7200C" }, { 0x04a926ff, "LBP6300" }, { 0x04a9271a, "LBP6000" }, { 0x04a9271b, "LBP6200" }, { 0x04a9271c, "LBP7010C/7018C" }, { 0x04a92736, "I-SENSYS MF4550d" }, { 0x04a92737, "MF4410" }, { 0x04a92742, "imageRUNNER1133 series" }, { 0x04a92771, "LBP6020" }, { 0x04a92796, "LBP6230/6240" }, { 0x04a93041, "PowerShot S10" }, { 0x04a93042, "CanoScan FS4000US Film Scanner" }, { 0x04a93043, "PowerShot S20" }, { 0x04a93044, "EOS D30" }, { 0x04a93045, "PowerShot S100" }, { 0x04a93046, "IXY Digital" }, { 0x04a93047, "Digital IXUS" }, { 0x04a93048, "PowerShot G1" }, { 0x04a93049, "PowerShot Pro90 IS" }, { 0x04a9304a, "CP-10" }, { 0x04a9304b, "IXY Digital 300" }, { 0x04a9304c, "PowerShot S300" }, { 0x04a9304d, "Digital IXUS 300" }, { 0x04a9304e, "PowerShot A20" }, { 0x04a9304f, "PowerShot A10" }, { 0x04a93050, "PowerShot unknown 1" }, { 0x04a93051, "PowerShot S110" }, { 0x04a93052, "Digital IXUS V" }, { 0x04a93055, "PowerShot G2" }, { 0x04a93056, "PowerShot S40" }, { 0x04a93057, "PowerShot S30" }, { 0x04a93058, "PowerShot A40" }, { 0x04a93059, "PowerShot A30" }, { 0x04a9305b, "ZR45MC Digital Camcorder" }, { 0x04a9305c, "PowerShot unknown 2" }, { 0x04a93060, "EOS D60" }, { 0x04a93061, "PowerShot A100" }, { 0x04a93062, "PowerShot A200" }, { 0x04a93063, "CP-100" }, { 0x04a93065, "PowerShot S200" }, { 0x04a93066, "Digital IXUS 330" }, { 0x04a93067, "MV550i Digital Video Camera" }, { 0x04a93069, "PowerShot G3" }, { 0x04a9306a, "Digital unknown 3" }, { 0x04a9306b, "MVX2i Digital Video Camera" }, { 0x04a9306c, "PowerShot S45" }, { 0x04a9306d, "Canon PowerShot S45" }, { 0x04a9306e, "PowerShot G3 (normal mode)" }, { 0x04a9306f, "Canon PowerShot G3" }, { 0x04a93070, "PowerShot S230" }, { 0x04a93071, "Canon Digital IXUS v3" }, { 0x04a93072, "Canon PowerShot SD100" }, { 0x04a93073, "Canon PowerShot A70" }, { 0x04a93074, "Canon PowerShot A60" }, { 0x04a93075, "Canon PowerShot S400" }, { 0x04a93076, "Canon PowerShot A300" }, { 0x04a93077, "Canon PowerShot S50" }, { 0x04a93078, "ZR70MC Digital Camcorder" }, { 0x04a9307a, "MV650i (normal mode)" }, { 0x04a9307b, "MV630i Digital Video Camera" }, { 0x04a9307c, "CP-200" }, { 0x04a9307d, "CP-300" }, { 0x04a9307f, "Optura 20" }, { 0x04a93080, "MVX150i (normal mode) / Optura 20 (normal mode)" }, { 0x04a93081, "Optura 10" }, { 0x04a93082, "MVX100i / Optura 10" }, { 0x04a93083, "EOS 10D" }, { 0x04a93084, "EOS 300D / EOS Digital Rebel" }, { 0x04a93085, "Canon PowerShot G5" }, { 0x04a93087, "Canon Elura 50" }, { 0x04a93088, "Elura 50 (normal mode)" }, { 0x04a9308d, "Canon MVX3i" }, { 0x04a9308e, "FV M1 (normal mode) / MVX 3i (normal mode) / Optura Xi (normal mode)" }, { 0x04a93093, "Optura 300" }, { 0x04a93096, "IXY DV M2 (normal mode) / MVX 10i (normal mode)" }, { 0x04a93099, "Canon EOS Kiss Digital" }, { 0x04a9309a, "Canon PowerShot A80" }, { 0x04a9309b, "Canon Digital IXUS i" }, { 0x04a9309c, "Canon PowerShot S1 IS" }, { 0x04a9309d, "Powershot Pro 1" }, { 0x04a9309f, "Camera" }, { 0x04a930a0, "Canon MV750i" }, { 0x04a930a1, "Camera" }, { 0x04a930a2, "Camera" }, { 0x04a930a5, "Canon Elura 65" }, { 0x04a930a8, "Elura 60E/Optura 40 (ptp)" }, { 0x04a930a9, "MVX25i (normal mode) / Optura 40 (normal mode)" }, { 0x04a930b1, "Canon Powershot S70" }, { 0x04a930b2, "Canon Powershot S60" }, { 0x04a930b3, "Canon Powershot G6" }, { 0x04a930b4, "Canon PowerShot S500" }, { 0x04a930b5, "Canon PowerShot A75" }, { 0x04a930b6, "Canon Digital IXUS IIs" }, { 0x04a930b7, "Canon PowerShot A400" }, { 0x04a930b8, "Canon PowerShot A310" }, { 0x04a930b9, "Canon PowerShot A85" }, { 0x04a930ba, "Canon PowerShot S410" }, { 0x04a930bb, "Canon PowerShot A95" }, { 0x04a930bc, "Canon EOS 10D" }, { 0x04a930bd, "CP-220" }, { 0x04a930be, "CP-330" }, { 0x04a930bf, "Canon Digital IXUS 40" }, { 0x04a930c0, "Canon Digital IXUS 30" }, { 0x04a930c1, "Canon PowerShot A520" }, { 0x04a930c2, "Canon PowerShot A510" }, { 0x04a930c4, "Digital IXUS i5 (normal mode) / IXY Digital L2 (normal mode) / PowerShot SD20 (normal mode)" }, { 0x04a930ea, "Canon EOS 1D Mark II" }, { 0x04a930eb, "EOS 20D" }, { 0x04a930ec, "Canon EOS 20D" }, { 0x04a930ee, "Canon EOS 350D" }, { 0x04a930ef, "Canon EOS 350D" }, { 0x04a930f0, "Canon PowerShot S2 IS" }, { 0x04a930f1, "Canon Digital IXUS Wireless" }, { 0x04a930f2, "Canon PowerShot SD500" }, { 0x04a930f4, "Canon Digital IXUS iZ" }, { 0x04a930f5, "SELPHY CP500" }, { 0x04a930f6, "SELPHY CP400" }, { 0x04a930f8, "Canon PowerShot A430" }, { 0x04a930f9, "Canon PowerShot A410" }, { 0x04a930fa, "Canon PowerShot S80" }, { 0x04a930fc, "Canon PowerShot A620" }, { 0x04a930fd, "Canon PowerShot A610" }, { 0x04a930fe, "Canon Digital IXUS 65" }, { 0x04a930ff, "Canon PowerShot SD450" }, { 0x04a93100, "PowerShot TX1" }, { 0x04a93102, "Canon EOS 5D" }, { 0x04a93105, "Canon Optura 600" }, { 0x04a9310b, "SELPHY CP600" }, { 0x04a9310e, "Canon Digital IXUS 50" }, { 0x04a9310f, "Canon PowerShot A420" }, { 0x04a93110, "Canon EOS Kiss Digital X" }, { 0x04a93113, "Canon EOS 30D" }, { 0x04a93115, "Canon PowerShot SD900" }, { 0x04a93116, "Canon Digital IXUS 750" }, { 0x04a93117, "Canon PowerShot A700" }, { 0x04a93119, "Canon Digital IXUS 800" }, { 0x04a9311a, "Canon PowerShot S3 IS" }, { 0x04a9311b, "Canon PowerShot A540" }, { 0x04a9311c, "Canon PowerShot SD600" }, { 0x04a93125, "Canon PowerShot G7" }, { 0x04a93126, "Canon PowerShot A530" }, { 0x04a93127, "SELPHY CP710" }, { 0x04a93128, "SELPHY CP510" }, { 0x04a9312d, "Elura 100" }, { 0x04a93136, "Canon Digital IXUS 850 IS" }, { 0x04a93137, "Canon PowerShot SD40" }, { 0x04a93138, "Canon PowerShot A710 IS" }, { 0x04a93139, "Canon PowerShot A640" }, { 0x04a9313a, "Canon PowerShot A630" }, { 0x04a93141, "SELPHY ES1" }, { 0x04a93142, "SELPHY CP730" }, { 0x04a93143, "SELPHY CP720" }, { 0x04a93145, "Canon EOS Kiss X2" }, { 0x04a93146, "Canon EOS 40D" }, { 0x04a93147, "Canon EOS 1D Mark III" }, { 0x04a93148, "Canon PowerShot S5 IS" }, { 0x04a93149, "Canon PowerShot A460" }, { 0x04a9314b, "Canon PowerShot SD850" }, { 0x04a9314c, "Canon PowerShot A570 IS" }, { 0x04a9314d, "Canon PowerShot A560" }, { 0x04a9314e, "Canon PowerShot SD750" }, { 0x04a9314f, "Canon PowerShot SD1000" }, { 0x04a93150, "Canon PowerShot A550" }, { 0x04a93155, "Canon PowerShot A450" }, { 0x04a9315a, "Canon PowerShot G9" }, { 0x04a9315b, "Canon PowerShot A650IS" }, { 0x04a9315d, "Canon PowerShot A720 IS" }, { 0x04a9315e, "Canon Powershot SX100 IS" }, { 0x04a9315f, "Canon Digital IXUS 960 IS" }, { 0x04a93160, "Canon Digital IXUS 860 IS" }, { 0x04a93170, "SELPHY CP750" }, { 0x04a93171, "SELPHY CP740" }, { 0x04a93172, "SELPHY CP520" }, { 0x04a93173, "Canon Digital IXUS 970 IS" }, { 0x04a93174, "Canon Digital IXUS 85 IS" }, { 0x04a93175, "Canon PowerShot SD770 IS" }, { 0x04a93176, "Canon PowerShot A590 IS" }, { 0x04a93177, "Canon PowerShot A580" }, { 0x04a9317a, "Canon PowerShot A470" }, { 0x04a9317b, "Canon EOS 1000D" }, { 0x04a93184, "Canon Powershot SD1100 IS" }, { 0x04a93185, "SELPHY ES2" }, { 0x04a93186, "SELPHY ES20" }, { 0x04a9318d, "Canon PowerShot SX10 IS" }, { 0x04a9318e, "Canon PowerShot A1000 IS" }, { 0x04a9318f, "Canon PowerShot G10" }, { 0x04a93191, "Canon PowerShot A2000 IS" }, { 0x04a93192, "Canon PowerShot SX110 IS" }, { 0x04a93193, "Canon IXY 3000 IS" }, { 0x04a93195, "PowerShot SX1 IS" }, { 0x04a93196, "Canon PowerShot SD880 IS" }, { 0x04a93199, "Canon EOS 5D Mark II" }, { 0x04a9319a, "Canon EOS 7D" }, { 0x04a9319b, "Canon EOS 50D" }, { 0x04a931aa, "SELPHY CP770" }, { 0x04a931ab, "SELPHY CP760" }, { 0x04a931ad, "PowerShot E1" }, { 0x04a931af, "SELPHY ES3" }, { 0x04a931b0, "SELPHY ES30" }, { 0x04a931b1, "SELPHY CP530" }, { 0x04a931bc, "Canon PowerShot D10" }, { 0x04a931bd, "Canon Digital IXUS 110 IS" }, { 0x04a931be, "Canon PowerShot A2100 IS" }, { 0x04a931bf, "Canon PowerShot A480" }, { 0x04a931c0, "Canon PowerShot SX200 IS" }, { 0x04a931c1, "Canon PowerShot SD970 IS" }, { 0x04a931c2, "Canon PowerShot SD780 IS" }, { 0x04a931c3, "Canon PowerShot A1100 IS" }, { 0x04a931c4, "Canon Digital IXUS 95 IS" }, { 0x04a931cf, "Canon EOS Kiss X3" }, { 0x04a931d0, "Canon EOS 1D Mark IV" }, { 0x04a931dd, "SELPHY CP780" }, { 0x04a931df, "Canon PowerShot G11" }, { 0x04a931e0, "Canon PowerShot SX120 IS" }, { 0x04a931e1, "PowerShot S90" }, { 0x04a931e4, "Canon PowerShot SX20 IS" }, { 0x04a931e5, "Digital IXUS 200 IS" }, { 0x04a931e6, "Canon PowerShot SD940 IS" }, { 0x04a931e7, "SELPHY CP790" }, { 0x04a931ea, "Canon Rebel T2i" }, { 0x04a931ee, "SELPHY ES40" }, { 0x04a931ef, "Canon Powershot A495" }, { 0x04a931f0, "PowerShot A490" }, { 0x04a931f1, "Canon PowerShot A3100 IS" }, { 0x04a931f2, "Canon PowerShot A3000 IS" }, { 0x04a931f3, "Canon Digital IXUS 130" }, { 0x04a931f4, "Canon PowerShot SD1300 IS" }, { 0x04a931f5, "Powershot SD3500 IS / IXUS 210 IS" }, { 0x04a931f6, "Canon PowerShot SX210 IS" }, { 0x04a931f7, "Canon Digital IXUS 300 HS" }, { 0x04a931f8, "Powershot SD4500 IS / IXUS 1000 HS / IXY 50S" }, { 0x04a931ff, "Digital IXUS 55" }, { 0x04a93209, "Vixia HF S21 A" }, { 0x04a9320f, "Canon PowerShot G12" }, { 0x04a93210, "Powershot SX30 IS" }, { 0x04a93211, "Canon PowerShot SX130 IS" }, { 0x04a93212, "Canon PowerShot S95" }, { 0x04a93214, "SELPHY CP800" }, { 0x04a93215, "Canon EOS 60D" }, { 0x04a93217, "Canon Rebel T3" }, { 0x04a93218, "Canon Rebel T3i" }, { 0x04a93219, "Canon EOS 1D X" }, { 0x04a93223, "PowerShot A3300 IS" }, { 0x04a93224, "PowerShot A3200 IS" }, { 0x04a93225, "Canon IXUS 310IS" }, { 0x04a93226, "Canon PowerShot A800" }, { 0x04a93227, "PowerShot ELPH 100 HS / IXUS 115 HS" }, { 0x04a93228, "Canon PowerShot SX230HS" }, { 0x04a93229, "PowerShot ELPH 300 HS / IXUS 220 HS" }, { 0x04a9322a, "Canon PowerShot A2200" }, { 0x04a9322b, "Powershot A1200" }, { 0x04a9322c, "Canon PowerShot SX220HS" }, { 0x04a93233, "Canon PowerShot G1 X" }, { 0x04a93234, "Canon PowerShot SX150 IS" }, { 0x04a93235, "PowerShot ELPH 510 HS / IXUS 1100 HS" }, { 0x04a93236, "Canon PowerShot S100" }, { 0x04a93237, "PowerShot ELPH 310 HS / IXUS 230 HS" }, { 0x04a93238, "Canon PowerShot SX40HS" }, { 0x04a9323a, "Canon EOS 5D Mark III" }, { 0x04a9323b, "Canon Rebel T4i" }, { 0x04a9323d, "Canon EOS M" }, { 0x04a9323e, "Canon PowerShot A1300IS" }, { 0x04a9323f, "Canon PowerShot A810" }, { 0x04a93240, "PowerShot ELPH 320 HS / IXUS 240 HS" }, { 0x04a93241, "Canon IXUS 125HS" }, { 0x04a93242, "PowerShot D20" }, { 0x04a93243, "Canon PowerShot A4000IS" }, { 0x04a93244, "Canon PowerShot SX260HS" }, { 0x04a93245, "Canon PowerShot SX240HS" }, { 0x04a93246, "PowerShot ELPH 530 HS / IXUS 510 HS" }, { 0x04a93247, "PowerShot ELPH 520 HS / IXUS 500 HS" }, { 0x04a93248, "PowerShot A3400 IS" }, { 0x04a93249, "Canon PowerShot A2400IS" }, { 0x04a9324a, "Canon PowerShot A2300IS" }, { 0x04a93250, "Canon EOS 6D" }, { 0x04a93252, "Canon EOS 1D C" }, { 0x04a93253, "Canon EOS 70D" }, { 0x04a93255, "SELPHY CP900" }, { 0x04a93256, "SELPHY CP810" }, { 0x04a93258, "Canon PowerShot G15" }, { 0x04a93259, "PowerShot SX50 HS" }, { 0x04a9325a, "Canon PowerShot SX160IS" }, { 0x04a9325b, "Canon PowerShot S110" }, { 0x04a9325c, "Canon PowerShot SX500IS" }, { 0x04a9325e, "PowerShot N" }, { 0x04a9325f, "Canon PowerShot SX280HS" }, { 0x04a93260, "PowerShot SX270 HS" }, { 0x04a93261, "Canon PowerShot A3500IS" }, { 0x04a93262, "Canon PowerShot A2600" }, { 0x04a93263, "PowerShot SX275 HS" }, { 0x04a93264, "Canon PowerShot A1400" }, { 0x04a93265, "Powershot ELPH 130 IS / IXUS 140" }, { 0x04a93266, "Powershot ELPH 120 IS / IXUS 135" }, { 0x04a93268, "Canon Digital IXUS 255HS" }, { 0x04a9326f, "Canon EOS 7D MarkII" }, { 0x04a93270, "Canon EOS 100D" }, { 0x04a93271, "Canon PowerShot A2500" }, { 0x04a93272, "Canon EOS 700D" }, { 0x04a93273, "Canon EOS M2" }, { 0x04a93274, "Canon PowerShot G16" }, { 0x04a93275, "Canon PowerShot S120" }, { 0x04a93276, "Canon PowerShot SX170 IS" }, { 0x04a93277, "Canon PowerShot SX510 HS" }, { 0x04a93278, "PowerShot S200" }, { 0x04a9327a, "SELPHY CP910" }, { 0x04a9327b, "SELPHY CP820" }, { 0x04a9327d, "Canon Digital IXUS 132" }, { 0x04a9327f, "Canon EOS 1200D" }, { 0x04a93280, "Canon EOS 760D" }, { 0x04a93281, "Canon EOS 5D Mark IV" }, { 0x04a93284, "PowerShot D30" }, { 0x04a93285, "PowerShot SX700 HS" }, { 0x04a93286, "Canon PowerShot SX600 HS" }, { 0x04a93287, "PowerShot ELPH 140 IS / IXUS 150" }, { 0x04a93288, "Canon PowerShot Elph135" }, { 0x04a93289, "Canon PowerShot Elph340HS" }, { 0x04a9328a, "PowerShot ELPH 150 IS / IXUS 155" }, { 0x04a9328b, "PowerShot N Facebook(R) Ready" }, { 0x04a93292, "Canon EOS 1D X MarkII" }, { 0x04a93294, "Canon EOS 80D" }, { 0x04a93295, "Canon EOS 5DS" }, { 0x04a93299, "Canon EOS M3" }, { 0x04a9329a, "Canon PowerShot SX60HS" }, { 0x04a9329b, "Canon PowerShot SX520 HS" }, { 0x04a9329c, "PowerShot SX400 IS" }, { 0x04a9329d, "Canon PowerShot G7 X" }, { 0x04a9329f, "Canon PowerShot SX530 HS" }, { 0x04a932a0, "Canon EOS M10" }, { 0x04a932a1, "Canon EOS 750D" }, { 0x04a932a6, "PowerShot SX710 HS" }, { 0x04a932a7, "PowerShot SX610 HS" }, { 0x04a932a8, "Canon PowerShot G3 X" }, { 0x04a932a9, "Canon IXUS 165" }, { 0x04a932aa, "Canon IXUS 160" }, { 0x04a932ab, "Canon PowerShot ELPH 350 HS" }, { 0x04a932ac, "PowerShot ELPH 170 IS / IXUS 170" }, { 0x04a932ad, "PowerShot SX410 IS" }, { 0x04a932af, "Canon EOS 5DS R" }, { 0x04a932b1, "SELPHY CP1200" }, { 0x04a932b2, "PowerShot G9 X" }, { 0x04a932b3, "Canon PowerShot G5X" }, { 0x04a932b4, "Canon EOS Rebel T6" }, { 0x04a932bb, "Canon EOS M5" }, { 0x04a932bc, "Canon PowerShot G7 X Mark II" }, { 0x04a932be, "Canon PowerShot SX540 HS" }, { 0x04a932bf, "PowerShot SX420 IS" }, { 0x04a932c0, "Canon Digital IXUS 180" }, { 0x04a932c1, "PowerShot ELPH 180 / IXUS 175" }, { 0x04a932c2, "Canon SX 720HS" }, { 0x04a932c3, "Canon SX 620HS" }, { 0x04a932c5, "Canon EOS M6" }, { 0x04a932c7, "Canon PowerShot G9 X Mark II" }, { 0x04a932c9, "Canon EOS 800D" }, { 0x04a932ca, "Canon EOS 6d Mark II" }, { 0x04a932cb, "Canon EOS 77D" }, { 0x04a932cc, "Canon EOS 200D" }, { 0x04a932d1, "Canon EOS M100" }, { 0x04a932d2, "Canon EOS M50" }, { 0x04a932d4, "Canon Digital IXUS 185" }, { 0x04a932d5, "PowerShot SX430 IS" }, { 0x04a932d6, "Canon Digital PowerShot SX730HS" }, { 0x04a932d9, "Canon EOS 4000D" }, { 0x04a932da, "Canon EOS R" }, { 0x04a932db, "SELPHY CP1300" }, { 0x04a932e1, "Canon EOS 1500D" }, { 0x04a932e2, "Canon EOS RP" }, { 0x04a932e4, "Canon PowerShot SX740 HS" }, { 0x04a932e7, "Canon EOS M6 Mark II" }, { 0x04a932e8, "Canon EOS 1D X MarkIII" }, { 0x04a932e9, "Canon EOS 250D" }, { 0x04a932ea, "Canon EOS 90D" }, { 0x04a932ee, "Canon PowerShot SX70 HS" }, { 0x04a932ef, "Canon EOS M200" }, { 0x04a932f1, "Canon EOS 850D" }, { 0x04a932f4, "Canon EOS R5" }, { 0x04a932f5, "Canon EOS R6" }, { 0x04a932f7, "Canon EOS R7" }, { 0x04a932f8, "Canon EOS R10" }, { 0x04a932f9, "Canon EOS M50m2" }, { 0x04a93302, "SELPHY CP1500" }, { 0x04a93303, "Canon EOS R5 C" }, { 0x04a9330b, "Canon EOS R6m2" }, { 0x04ad2501, "Bluetooth Device" }, { 0x04b00102, "Coolpix 990" }, { 0x04b00103, "Coolpix 880" }, { 0x04b00104, "Coolpix 995" }, { 0x04b00106, "Coolpix 775" }, { 0x04b00107, "Coolpix 5000" }, { 0x04b00108, "Coolpix 2500" }, { 0x04b00109, "Nikon Coolpix 2500" }, { 0x04b0010a, "Coolpix 4500" }, { 0x04b0010b, "Nikon Coolpix 4500" }, { 0x04b0010d, "Nikon Coolpix 5700" }, { 0x04b0010e, "Coolpix 4300 (storage)" }, { 0x04b0010f, "Nikon Coolpix 4300" }, { 0x04b00110, "Coolpix 3500 (Sierra Mode)" }, { 0x04b00111, "Nikon Coolpix 3500" }, { 0x04b00112, "Nikon Coolpix 885" }, { 0x04b00113, "Nikon Coolpix 5000" }, { 0x04b00114, "Coolpix 3100 (storage)" }, { 0x04b00115, "Nikon Coolpix 3100" }, { 0x04b00117, "Nikon Coolpix 2100" }, { 0x04b00119, "Nikon Coolpix 5400" }, { 0x04b0011d, "Nikon Coolpix 3700" }, { 0x04b0011f, "Nikon Coolpix 8700" }, { 0x04b00121, "Nikon Coolpix 3200" }, { 0x04b00122, "Nikon Coolpix 2200" }, { 0x04b00123, "Nikon Coolpix 2200v1.1" }, { 0x04b00124, "Coolpix 8400 (mass storage mode)" }, { 0x04b00125, "Coolpix 8400 (ptp)" }, { 0x04b00126, "Coolpix 8800" }, { 0x04b00127, "Nikon Coolpix 8800" }, { 0x04b00129, "Nikon Coolpix 4800" }, { 0x04b0012c, "Coolpix 4100 (storage)" }, { 0x04b0012d, "Nikon Coolpix 4100" }, { 0x04b0012e, "Nikon Coolpix 5600" }, { 0x04b00130, "Nikon Coolpix 4600" }, { 0x04b00131, "Nikon Coolpix 4600a" }, { 0x04b00135, "Nikon Coolpix 5900" }, { 0x04b00136, "Coolpix 7900 (storage)" }, { 0x04b00137, "Nikon Coolpix 7900" }, { 0x04b00139, "Nikon Coolpix 7600" }, { 0x04b0013a, "Coolpix 100 (storage)" }, { 0x04b0013b, "Coolpix 100 (ptp)" }, { 0x04b00140, "Nikon Coolpix P1" }, { 0x04b00141, "Coolpix P2 (storage)" }, { 0x04b00142, "Nikon Coolpix P2" }, { 0x04b00144, "Nikon Coolpix S4" }, { 0x04b0014e, "Nikon Coolpix S6" }, { 0x04b00157, "Nikon Coolpix S7c" }, { 0x04b0015b, "Nikon Coolpix P5000" }, { 0x04b0015d, "Nikon Coolpix S500" }, { 0x04b0015f, "Nikon Coolpix L12" }, { 0x04b00161, "Nikon Coolpix S200" }, { 0x04b00163, "Nikon Coolpix P5100" }, { 0x04b00169, "Nikon Coolpix P50" }, { 0x04b0016b, "Nikon Coolpix P80" }, { 0x04b0016c, "Nikon Coolpix P80 v1.1" }, { 0x04b0016f, "Nikon Coolpix P6000" }, { 0x04b00171, "Nikon Coolpix S60" }, { 0x04b00173, "Nikon Coolpix P90" }, { 0x04b00174, "Nikon Coolpix L100" }, { 0x04b00177, "Nikon Coolpix S220" }, { 0x04b00178, "Nikon Coolpix S225" }, { 0x04b0017d, "Nikon Coolpix P100" }, { 0x04b0017e, "Nikon Coolpix L110" }, { 0x04b0017f, "Nikon Coolpix P7000" }, { 0x04b00184, "Nikon Coolpix P500" }, { 0x04b00185, "Nikon Coolpix L120" }, { 0x04b00186, "Nikon Coolpix S9100" }, { 0x04b00188, "Nikon Coolpix AW100" }, { 0x04b0018b, "Nikon Coolpix P7100" }, { 0x04b00191, "Nikon Coolpix 9400" }, { 0x04b00192, "Nikon Coolpix L820" }, { 0x04b00193, "Nikon Coolpix S9500" }, { 0x04b00194, "Nikon Coolpix AW110" }, { 0x04b00198, "Nikon Coolpix AW130" }, { 0x04b0019c, "Nikon Coolpix P900" }, { 0x04b0019e, "Nikon Coolpix A900" }, { 0x04b0019f, "Nikon KeyMission 360" }, { 0x04b00202, "Nikon Coolpix SQ" }, { 0x04b00203, "Coolpix 4200 (mass storage mode)" }, { 0x04b00204, "Nikon Coolpix 4200" }, { 0x04b00205, "Coolpix 5200 (storage)" }, { 0x04b00206, "Nikon Coolpix 5200" }, { 0x04b00208, "Nikon Coolpix L1" }, { 0x04b0020c, "Nikon Coolpix P4" }, { 0x04b0021c, "Nikon Coolpix S620" }, { 0x04b0021e, "Nikon Coolpix S6000" }, { 0x04b0021f, "Nikon Coolpix S8000" }, { 0x04b00220, "Nikon Coolpix S5100" }, { 0x04b00221, "Nikon Coolpix P300" }, { 0x04b00222, "Nikon Coolpix S8200" }, { 0x04b00223, "Nikon Coolpix P510" }, { 0x04b00225, "Nikon Coolpix P7700" }, { 0x04b00226, "Nikon Coolpix A" }, { 0x04b00227, "Nikon Coolpix P330" }, { 0x04b00228, "Nikon Coolpix P520" }, { 0x04b00229, "Nikon Coolpix P7800" }, { 0x04b00231, "Nikon Coolpix B700" }, { 0x04b00232, "Nikon Coolpix P1000" }, { 0x04b00301, "Coolpix 2000 (storage)" }, { 0x04b00302, "Nikon Coolpix 2000" }, { 0x04b00305, "Nikon Coolpix L4" }, { 0x04b00309, "Nikon Coolpix L11" }, { 0x04b0030b, "Nikon Coolpix L10" }, { 0x04b00311, "Nikon Coolpix P60" }, { 0x04b00315, "Nikon Coolpix L16" }, { 0x04b00317, "Nikon Coolpix L20" }, { 0x04b00318, "Nikon Coolpix L19" }, { 0x04b0031b, "Nikon Coolpix S3000" }, { 0x04b00320, "Nikon Coolpix S3100" }, { 0x04b00321, "Nikon Coolpix S2500" }, { 0x04b00324, "Nikon Coolpix L23" }, { 0x04b00329, "Nikon Coolpix S4300" }, { 0x04b0032a, "Nikon Coolpix S3300" }, { 0x04b0032c, "Nikon Coolpix S6300" }, { 0x04b0032d, "Nikon Coolpix S2600" }, { 0x04b0032f, "Nikon Coolpix L810" }, { 0x04b00334, "Nikon Coolpix S3200" }, { 0x04b00337, "Nikon Coolpix S01" }, { 0x04b0033f, "Nikon Coolpix S2700" }, { 0x04b00343, "Nikon Coolpix L27" }, { 0x04b00346, "Nikon Coolpix S02" }, { 0x04b0034b, "Nikon Coolpix S9700" }, { 0x04b00350, "Nikon Coolpix S6800" }, { 0x04b00353, "Nikon Coolpix S3600" }, { 0x04b0035a, "Nikon Coolpix L840" }, { 0x04b0035c, "Nikon Coolpix S3700" }, { 0x04b0035e, "Nikon Coolpix S2900" }, { 0x04b00361, "Nikon Coolpix L340" }, { 0x04b00362, "Nikon Coolpix B500" }, { 0x04b00364, "Nikon KeyMission 170" }, { 0x04b0036d, "Nikon P950" }, { 0x04b00402, "Nikon DSC D100" }, { 0x04b00403, "D2H (mass storage mode)" }, { 0x04b00404, "Nikon D2H SLR" }, { 0x04b00405, "D70 (mass storage mode)" }, { 0x04b00406, "Nikon DSC D70" }, { 0x04b00408, "Nikon D2X SLR" }, { 0x04b00409, "D50 digital camera" }, { 0x04b0040a, "Nikon D50" }, { 0x04b0040c, "Nikon D2Hs" }, { 0x04b0040e, "Nikon DSC D70s" }, { 0x04b0040f, "D200 (mass storage mode)" }, { 0x04b00410, "Nikon DSC D200" }, { 0x04b00411, "D80 (mass storage mode)" }, { 0x04b00412, "Nikon DSC D80" }, { 0x04b00413, "D40 (mass storage mode)" }, { 0x04b00414, "Nikon DSC D40" }, { 0x04b00416, "Nikon DSC D2Xs" }, { 0x04b00418, "Nikon DSC D40x" }, { 0x04b0041a, "Nikon DSC D300" }, { 0x04b0041c, "Nikon D3" }, { 0x04b0041e, "Nikon DSC D60" }, { 0x04b00420, "Nikon DSC D3x" }, { 0x04b00421, "Nikon DSC D90" }, { 0x04b00422, "Nikon DSC D700" }, { 0x04b00423, "Nikon DSC D5000" }, { 0x04b00424, "Nikon DSC D3000" }, { 0x04b00425, "Nikon DSC D300s" }, { 0x04b00426, "Nikon DSC D3s" }, { 0x04b00427, "Nikon DSC D3100" }, { 0x04b00428, "Nikon DSC D7000" }, { 0x04b00429, "Nikon DSC D5100" }, { 0x04b0042a, "Nikon DSC D800" }, { 0x04b0042b, "Nikon DSC D4" }, { 0x04b0042c, "Nikon DSC D3200" }, { 0x04b0042d, "Nikon DSC D600" }, { 0x04b0042e, "Nikon DSC D800E" }, { 0x04b0042f, "Nikon DSC D5200" }, { 0x04b00430, "Nikon DSC D7100" }, { 0x04b00431, "Nikon DSC D5300" }, { 0x04b00432, "Nikon DSC Df" }, { 0x04b00433, "Nikon DSC D3300" }, { 0x04b00434, "Nikon DSC D610" }, { 0x04b00435, "Nikon DSC D4s" }, { 0x04b00436, "Nikon DSC D810" }, { 0x04b00437, "Nikon DSC D750" }, { 0x04b00438, "Nikon DSC D5500" }, { 0x04b00439, "Nikon DSC D7200" }, { 0x04b0043a, "Nikon DSC D5" }, { 0x04b0043b, "Nikon DSC D810A" }, { 0x04b0043c, "Nikon DSC D500" }, { 0x04b0043d, "Nikon DSC D3400" }, { 0x04b0043f, "Nikon DSC D5600" }, { 0x04b00440, "Nikon DSC D7500" }, { 0x04b00441, "Nikon DSC D850" }, { 0x04b00442, "Nikon Z7" }, { 0x04b00443, "Nikon Z6" }, { 0x04b00444, "Nikon Z50" }, { 0x04b00445, "Nikon DSC D3500" }, { 0x04b00446, "Nikon DSC D780" }, { 0x04b00447, "Nikon DSC D6" }, { 0x04b00448, "Nikon Z5" }, { 0x04b0044b, "Nikon Z7_2" }, { 0x04b0044c, "Nikon Z6_2" }, { 0x04b0044f, "Nikon Zfc" }, { 0x04b00450, "Nikon Z9" }, { 0x04b00451, "Nikon Z8" }, { 0x04b00452, "Nikon Z30" }, { 0x04b00601, "Nikon V1" }, { 0x04b00602, "Nikon J1" }, { 0x04b00603, "Nikon J2" }, { 0x04b00604, "Nikon V2" }, { 0x04b00605, "Nikon J3" }, { 0x04b00606, "Nikon S1" }, { 0x04b00608, "Nikon S2" }, { 0x04b00609, "Nikon J4" }, { 0x04b0060a, "Nikon V3" }, { 0x04b0060b, "Nikon J5" }, { 0x04b00f03, "PD-10 Wireless Printer Adapter" }, { 0x04b04000, "Coolscan LS 40 ED" }, { 0x04b04001, "LS 50 ED/Coolscan V ED" }, { 0x04b04002, "Super Coolscan LS-5000 ED" }, { 0x04b33003, "Rapid Access III Keyboard" }, { 0x04b33004, "Media Access Pro Keyboard" }, { 0x04b3300a, "Rapid Access IIIe Keyboard" }, { 0x04b33016, "UltraNav Keyboard Hub" }, { 0x04b33018, "UltraNav Keyboard" }, { 0x04b3301a, "2-port low-power hub" }, { 0x04b3301b, "SK-8815 Keyboard" }, { 0x04b3301c, "Enhanced Performance Keyboard" }, { 0x04b3301e, "Keyboard with UltraNav (SK-8845RC)" }, { 0x04b33020, "Enhanced Performance Keyboard" }, { 0x04b33025, "NetVista Full Width Keyboard" }, { 0x04b33100, "NetVista Mouse" }, { 0x04b33103, "ScrollPoint Pro Mouse" }, { 0x04b33104, "ScrollPoint Wireless Mouse" }, { 0x04b33105, "ScrollPoint Optical (HID)" }, { 0x04b33107, "ThinkPad 800dpi Optical Travel Mouse" }, { 0x04b33108, "800dpi Optical Mouse w/ Scroll Point" }, { 0x04b33109, "Optical ScrollPoint Pro Mouse" }, { 0x04b3310b, "Red Wheel Mouse" }, { 0x04b3310c, "Wheel Mouse" }, { 0x04b34427, "Portable CD ROM" }, { 0x04b34482, "Serial Converter" }, { 0x04b34484, "SMSC USB20H04 3-Port Hub [ThinkPad X4 UltraBase, Wistron S Note-3 Media Slice]" }, { 0x04b34485, "ThinkPad Dock Hub" }, { 0x04b34524, "40 Character Vacuum Fluorescent Display" }, { 0x04b34525, "Double sided CRT" }, { 0x04b34535, "4610 Suremark Printer" }, { 0x04b34550, "NVRAM (128 KB)" }, { 0x04b34554, "Cash Drawer" }, { 0x04b34580, "Hub w/ NVRAM" }, { 0x04b34581, "4800-2xx Hub w/ Cash Drawer" }, { 0x04b34604, "Keyboard w/ Card Reader" }, { 0x04b34671, "4820 LCD w/ MSR/KB" }, { 0x04b40001, "Mouse" }, { 0x04b40002, "CY7C63x0x Thermometer" }, { 0x04b40008, "CDC ACM serial port" }, { 0x04b40033, "Mouse" }, { 0x04b40060, "Wireless optical mouse" }, { 0x04b400f3, "FX3 micro-controller (DFU mode)" }, { 0x04b40100, "Cino FuzzyScan F760-B" }, { 0x04b40101, "Keyboard/Hub" }, { 0x04b40102, "Keyboard with APM" }, { 0x04b40130, "MyIRC Remote Receiver" }, { 0x04b40306, "Telephone Receiver" }, { 0x04b40407, "Optical Skype Mouse" }, { 0x04b40818, "AE-SMKD92-* [Thumb Keyboard]" }, { 0x04b40bad, "MetaGeek Wi-Spy" }, { 0x04b41002, "CY7C63001 R100 FM Radio" }, { 0x04b41006, "Human Interface Device" }, { 0x04b42050, "hub" }, { 0x04b42830, "Opera1 DVB-S (cold state)" }, { 0x04b43813, "NANO BIOS Programmer" }, { 0x04b44235, "Monitor 02 Driver" }, { 0x04b44381, "SCAPS USC-1 Scanner Controller" }, { 0x04b44611, "Storage Adapter FX2 (CY)" }, { 0x04b44616, "Flash Disk (TPP)" }, { 0x04b44624, "DS-Xtreme Flash Card" }, { 0x04b44717, "West Bridge" }, { 0x04b45201, "Combi Keyboard-Hub (Hub)" }, { 0x04b45202, "Combi Keyboard-Hub (Keyboard)" }, { 0x04b45500, "HID->COM RS232 Adapter" }, { 0x04b45a9b, "Dacal CD/DVD Library D-101/DC-300/DC-016RW" }, { 0x04b46022, "Hantek DSO-6022BE" }, { 0x04b4602a, "Hantek DSO-6022BL" }, { 0x04b46370, "ViewMate Desktop Mouse CC2201" }, { 0x04b46502, "CY4609" }, { 0x04b46506, "CY4603" }, { 0x04b4650a, "CY4613" }, { 0x04b46560, "CY7C65640 USB-2.0 \"TetraHub\"" }, { 0x04b46570, "Unprogrammed CY7C65632/34 hub HX2VL" }, { 0x04b46572, "Unprogrammed CY7C65642 hub" }, { 0x04b46830, "CY7C68300A EZ-USB AT2 USB 2.0 to ATA/ATAPI" }, { 0x04b46831, "Storage Adapter ISD-300LP (CY)" }, { 0x04b47417, "Wireless PC Lock/Ultra Mouse" }, { 0x04b48329, "USB To keyboard/Mouse Converter" }, { 0x04b48613, "CY7C68013 EZ-USB FX2 USB 2.0 Development Kit" }, { 0x04b48614, "DTV-DVB UDST7020BDA DVB-S Box(DVBS for MCE2005)" }, { 0x04b4861f, "Anysee E30 USB 2.0 DVB-T Receiver" }, { 0x04b4bca1, "Barcode Reader" }, { 0x04b4cc04, "Centor USB RACIA-ALVAR USB PORT" }, { 0x04b4cc06, "Centor-P RACIA-ALVAR USB PORT" }, { 0x04b4d5d5, "CY7C63x0x Zoltrix Z-Boxer GamePad" }, { 0x04b4de61, "Barcode Reader" }, { 0x04b4de64, "Barcode Reader" }, { 0x04b4f000, "CY30700 Licorice evaluation board" }, { 0x04b4f111, "CY8CKIT-002 PSoC MiniProg3 Rev A Program and debug kit" }, { 0x04b4f115, "PSoC FirstTouch Programmer" }, { 0x04b4f139, "KitProg" }, { 0x04b4f231, "DELLY Changer 4in1 universal IR remote" }, { 0x04b4f232, "Mono embedded computer" }, { 0x04b4fd10, "Gembird MSIS-PM" }, { 0x04b4fd13, "Energenie EG-PMS" }, { 0x04b4fd15, "Energenie EG-PMS2" }, { 0x04b53064, "Hantek DSO-3064" }, { 0x04b56022, "Hantek DSO-6022BE" }, { 0x04b5602a, "Hantek DSO-6022BL" }, { 0x04b788a9, "Caterpillar Cat S50" }, { 0x04b788aa, "Caterpillar Cat S50 (2nd ID)" }, { 0x04b788b0, "Caterpillar Cat S40" }, { 0x04b788b9, "Caterpillar Cat S30" }, { 0x04b788c0, "Caterpillar Cat S60" }, { 0x04b788c1, "Caterpillar Cat S60 (2nd ID)" }, { 0x04b788c6, "Caterpillar Cat S41" }, { 0x04b788d0, "Caterpillar Cat S31" }, { 0x04b788d6, "Caterpillar Cat S61" }, { 0x04b788f1, "Caterpillar Cat S62 Pro" }, { 0x04b80001, "Stylus Color 740 / Photo 750" }, { 0x04b80002, "ISD Smart Cable for Mac" }, { 0x04b80003, "ISD Smart Cable" }, { 0x04b80004, "Printer" }, { 0x04b80005, "Printer" }, { 0x04b80006, "Printer" }, { 0x04b80007, "Printer" }, { 0x04b80015, "Stylus Photo R3000" }, { 0x04b80080, "SC-P400 Series" }, { 0x04b80101, "GT-7000U [Perfection 636]" }, { 0x04b80102, "GT-2200" }, { 0x04b80103, "GT-6600U [Perfection 610]" }, { 0x04b80104, "GT-7600UF [Perfection 1200U/1200U Photo]" }, { 0x04b80105, "Stylus Scan 2000" }, { 0x04b80106, "Stylus Scan 2500" }, { 0x04b80107, "ES-2000 [Expression 1600U]" }, { 0x04b80108, "CC-700" }, { 0x04b80109, "ES-8500 [Expression 1640 XL]" }, { 0x04b8010a, "GT-8700/GT-8700F [Perfection 1640SU/1640SU PHOTO]" }, { 0x04b8010b, "GT-7700U [Perfection 1240U]" }, { 0x04b8010c, "GT-6700U [Perfection 640]" }, { 0x04b8010d, "CC-500L" }, { 0x04b8010e, "ES-2200 [Perfection 1680]" }, { 0x04b8010f, "GT-7200U [Perfection 1250/1250 PHOTO]" }, { 0x04b80110, "GT-8200U/GT-8200UF [Perfection 1650/1650 PHOTO]" }, { 0x04b80112, "GT-9700F [Perfection 2450 PHOTO]" }, { 0x04b80114, "Perfection 660" }, { 0x04b80116, "GT-9400UF [Perfection 3170]" }, { 0x04b80118, "GT-F600 [Perfection 4180]" }, { 0x04b80119, "GT-X750 [Perfection 4490 Photo]" }, { 0x04b8011a, "CC-550L [1000 ICS]" }, { 0x04b8011b, "GT-9300UF [Perfection 2400 PHOTO]" }, { 0x04b8011c, "GT-9800F [Perfection 3200]" }, { 0x04b8011d, "GT-7300U [Perfection 1260/1260 PHOTO]" }, { 0x04b8011e, "GT-8300UF [Perfection 1660 PHOTO]" }, { 0x04b8011f, "GT-8400UF [Perfection 1670/1670 PHOTO]" }, { 0x04b80120, "GT-7400U [Perfection 1270]" }, { 0x04b80121, "GT-F500/GT-F550 [Perfection 2480/2580 PHOTO]" }, { 0x04b80122, "GT-F520/GT-F570 [Perfection 3590 PHOTO]" }, { 0x04b80126, "ES-7000H [GT-15000]" }, { 0x04b80128, "GT-X700 [Perfection 4870]" }, { 0x04b80129, "ES-10000G [Expression 10000XL]" }, { 0x04b8012a, "GT-X800 [Perfection 4990 PHOTO]" }, { 0x04b8012b, "ES-H300 [GT-2500]" }, { 0x04b8012c, "GT-X900 [Perfection V700/V750 Photo]" }, { 0x04b8012d, "GT-F650 [GT-S600/Perfection V10/V100]" }, { 0x04b8012e, "GT-F670 [Perfection V200 Photo]" }, { 0x04b8012f, "GT-F700 [Perfection V350]" }, { 0x04b80130, "GT-X770 [Perfection V500]" }, { 0x04b80131, "GT-F720 [GT-S620/Perfection V30/V300 Photo]" }, { 0x04b80133, "GT-1500 [GT-D1000]" }, { 0x04b80135, "GT-X970" }, { 0x04b80136, "ES-D400 [GT-S80]" }, { 0x04b80137, "ES-D200 [GT-S50]" }, { 0x04b80138, "ES-H7200 [GT-20000]" }, { 0x04b8013a, "GT-X820 [Perfection V600 Photo]" }, { 0x04b80142, "GT-F730 [GT-S630/Perfection V33/V330 Photo]" }, { 0x04b80143, "GT-S55" }, { 0x04b80144, "GT-S85" }, { 0x04b80151, "Perfection V800 Photo" }, { 0x04b80202, "Interface Card UB-U05 for Thermal Receipt Printers [M129C/TM-T70/TM-T88IV]" }, { 0x04b80401, "CP 800 Digital Camera" }, { 0x04b80402, "PhotoPC 850z" }, { 0x04b80403, "PhotoPC 3000z" }, { 0x04b80509, "JVC PIX-MC10" }, { 0x04b80601, "Stylus Photo 875DC Card Reader" }, { 0x04b80602, "Stylus Photo 895 Card Reader" }, { 0x04b80801, "CC-600PX [Stylus CX5200/CX5400/CX6600]" }, { 0x04b80802, "CC-570L [Stylus CX3100/CX3200]" }, { 0x04b80803, "Printer (Composite Device)" }, { 0x04b80804, "Storage Device" }, { 0x04b80805, "Stylus CX6300/CX6400" }, { 0x04b80806, "PM-A850 [Stylus Photo RX600/610]" }, { 0x04b80807, "Stylus Photo RX500/510" }, { 0x04b80808, "Stylus CX5200/CX5300/CX5400" }, { 0x04b80809, "Storage Device" }, { 0x04b8080a, "F-3200" }, { 0x04b8080c, "ME100 [Stylus CX1500]" }, { 0x04b8080d, "Stylus CX4500/4600" }, { 0x04b8080e, "PX-A550 [CX-3500/3600/3650 MFP]" }, { 0x04b8080f, "Stylus Photo RX420/RX425/RX430" }, { 0x04b80810, "PM-A900 [Stylus Photo RX700]" }, { 0x04b80811, "PM-A870 [Stylus Photo RX620/RX630]" }, { 0x04b80812, "MFP Composite Device" }, { 0x04b80813, "Stylus CX6500/6600" }, { 0x04b80814, "PM-A700" }, { 0x04b80815, "LP-A500 [AcuLaser CX1]" }, { 0x04b80816, "Printer (Composite Device)" }, { 0x04b80817, "LP-M5500/LP-M5500F" }, { 0x04b80818, "Stylus CX3700/CX3800/DX3800" }, { 0x04b80819, "PX-A650 [Stylus CX4700/CX4800/DX4800/DX4850]" }, { 0x04b8081a, "PM-A750 [Stylus Photo RX520/RX530]" }, { 0x04b8081b, "MFP Composite Device" }, { 0x04b8081c, "PM-A890 [Stylus Photo RX640/RX650]" }, { 0x04b8081d, "PM-A950" }, { 0x04b8081e, "MFP Composite Device" }, { 0x04b8081f, "Stylus CX7700/7800" }, { 0x04b80820, "Stylus CX4100/CX4200/DX4200" }, { 0x04b80821, "Stylus CX5700F/CX5800F" }, { 0x04b80822, "Storage Device" }, { 0x04b80823, "MFP Composite Device" }, { 0x04b80824, "Storage Device" }, { 0x04b80825, "MFP Composite Device" }, { 0x04b80826, "Storage Device" }, { 0x04b80827, "PM-A820 [Stylus Photo RX560/RX580/RX585/RX590]" }, { 0x04b80828, "PM-A970" }, { 0x04b80829, "PM-T990" }, { 0x04b8082a, "PM-A920" }, { 0x04b8082b, "Stylus CX5900/CX5000/DX5000/DX5050" }, { 0x04b8082c, "Storage Device" }, { 0x04b8082d, "Storage Device" }, { 0x04b8082e, "PX-A720 [Stylus CX5900/CX6000/DX6000]" }, { 0x04b8082f, "PX-A620 [Stylus CX3900/DX4000/DX4050]" }, { 0x04b80830, "ME 200 [Stylus CX2800/CX2900]" }, { 0x04b80831, "Stylus CX6900F/CX7000F/DX7000F" }, { 0x04b80832, "MFP Composite Device" }, { 0x04b80833, "LP-M5600" }, { 0x04b80834, "LP-M6000" }, { 0x04b80835, "AcuLaser CX21" }, { 0x04b80836, "PM-T960" }, { 0x04b80837, "PM-A940 [Stylus Photo RX680/RX685/RX690]" }, { 0x04b80838, "PX-A640 [CX7300/CX7400/DX7400]" }, { 0x04b80839, "PX-A740 [CX8300/CX8400/DX8400]" }, { 0x04b8083a, "PX-FA700 [CX9300F/CX9400Fax/DX9400F]" }, { 0x04b8083b, "MFP Composite Device" }, { 0x04b8083c, "PM-A840S [Stylus Photo RX595/RX610]" }, { 0x04b8083d, "MFP Composite Device" }, { 0x04b8083e, "MFP Composite Device" }, { 0x04b8083f, "Stylus CX4300/CX4400/CX5500/CX5600/DX4400/DX4450" }, { 0x04b80841, "PX-401A [ME 300/Stylus NX100]" }, { 0x04b80843, "LP-M5000" }, { 0x04b80844, "EP-901A/EP-901F [Artisan 800/Stylus Photo PX800FW]" }, { 0x04b80846, "EP-801A [Artisan 700/Stylus Photo PX700W/TX700W]" }, { 0x04b80847, "PX-601F [ME Office 700FW/Stylus Office BX600FW/TX600FW]" }, { 0x04b80848, "ME Office 600F/Stylus Office BX300F/TX300F" }, { 0x04b80849, "Stylus SX205" }, { 0x04b8084a, "PX-501A [Stylus NX400]" }, { 0x04b8084d, "PX-402A [Stylus SX115/Stylus NX110 Series]" }, { 0x04b8084f, "Multifunctional Printer Scanner [ME Office 510 / Epson Stylus SX215]" }, { 0x04b80850, "EP-702A [Stylus Photo PX650/TX650 Series]" }, { 0x04b80851, "Stylus SX410" }, { 0x04b80852, "EP-802A [Artisan 710 Series/Stylus Photo PX710W/TX720W Series]" }, { 0x04b80853, "EP-902A [Artisan 810 Series/Stylus Photo PX810FW Series]" }, { 0x04b80854, "ME OFFICE 650FN Series/Stylus Office BX310FN/TX520FN Series" }, { 0x04b80855, "PX-602F [Stylus Office BX610FW/TX620FW Series]" }, { 0x04b80856, "PX-502A [Stylus SX515W]" }, { 0x04b8085c, "ME 320/330 Series [Stylus SX125]" }, { 0x04b8085d, "PX-603F [ME OFFICE 960FWD Series/Stylus Office BX625FWD/TX620FWD Series]" }, { 0x04b8085e, "PX-503A [ME OFFICE 900WD Series/Stylus Office BX525WD]" }, { 0x04b8085f, "Stylus Office BX320FW/TX525FW Series" }, { 0x04b80860, "EP-903A/EP-903F [Artisan 835/Stylus Photo PX820FWD Series]" }, { 0x04b80861, "EP-803A/EP-803AW [Artisan 725/Stylus Photo PX720WD/TX720WD Series]" }, { 0x04b80862, "EP-703A [Stylus Photo PX660 Series]" }, { 0x04b80863, "ME OFFICE 620F Series/Stylus Office BX305F/BX305FW/TX320F" }, { 0x04b80864, "ME OFFICE 560W Series" }, { 0x04b80865, "ME OFFICE 520 Series" }, { 0x04b80866, "AcuLaser MX20DN/MX20DNF/MX21DNF" }, { 0x04b80869, "PX-1600F" }, { 0x04b8086a, "PX-673F [Stylus Office BX925FWD]" }, { 0x04b80870, "Stylus Office BX305FW Plus" }, { 0x04b80871, "K200 Series" }, { 0x04b80872, "K300 Series" }, { 0x04b80873, "L200 Series" }, { 0x04b80878, "EP-704A" }, { 0x04b80879, "EP-904A/EP-904F [Artisan 837/Stylus Photo PX830FWD Series]" }, { 0x04b8087b, "EP-804A/EP-804AR/EP-804AW [Stylus Photo PX730WD/Artisan 730 Series]" }, { 0x04b8087c, "PX-1700F" }, { 0x04b8087d, "PX-B750F/WP-4525 Series" }, { 0x04b8087f, "PX-403A" }, { 0x04b80880, "PX-434A [Stylus NX330 Series]" }, { 0x04b80881, "PX-404A [ME OFFICE 535]" }, { 0x04b80883, "ME 340 Series/Stylus NX130 Series" }, { 0x04b80884, "Stylus NX430W Series" }, { 0x04b80885, "Stylus NX230/SX235W Series" }, { 0x04b8088f, "Stylus Office BX635FWD" }, { 0x04b80890, "ME OFFICE 940FW Series/Stylus Office BX630FW Series" }, { 0x04b80891, "Stylus Office BX535WD" }, { 0x04b80892, "Stylus Office BX935FWD" }, { 0x04b80893, "EP-774A" }, { 0x04b80e03, "Thermal Receipt Printer [TM-T20]" }, { 0x04b81114, "XP-440 [Expression Home Small-in-One Printer]" }, { 0x04b81115, "ES-0133 [Expression Home XP-342]" }, { 0x04b81129, "ET-4750 [WorkForce ET-4750 EcoTank All-in-One]" }, { 0x04b81168, "Workforce WF-7820/7840 Series" }, { 0x04b90300, "SafeNet USB SuperPro/UltraPro" }, { 0x04b91000, "iKey 1000 Token" }, { 0x04b91001, "iKey 1200 Token" }, { 0x04b91002, "iKey Token" }, { 0x04b91003, "iKey Token" }, { 0x04b91004, "iKey Token" }, { 0x04b91005, "iKey Token" }, { 0x04b91006, "iKey Token" }, { 0x04b91200, "iKey 2000 Token" }, { 0x04b91201, "iKey Token" }, { 0x04b91202, "iKey 2032 Token" }, { 0x04b91203, "iKey Token" }, { 0x04b91204, "iKey Token" }, { 0x04b91205, "iKey Token" }, { 0x04b91206, "iKey 4000 Token" }, { 0x04b91300, "iKey 3000 Token" }, { 0x04b91301, "iKey 3000" }, { 0x04b91302, "iKey Token" }, { 0x04b91303, "iKey Token" }, { 0x04b91304, "iKey Token" }, { 0x04b91305, "iKey Token" }, { 0x04b91306, "iKey Token" }, { 0x04b98000, "SafeNet Sentinel Hardware Key" }, { 0x04bb0101, "USB2-IDE/ATAPI Bridge Adapter" }, { 0x04bb014a, "HDCL-UT" }, { 0x04bb0201, "USB2-IDE/ATAPI Bridge Adapter" }, { 0x04bb0204, "DVD Multi-plus unit iU-CD2" }, { 0x04bb0206, "DVD Multi-plus unit DVR-UEH8" }, { 0x04bb0301, "Storage Device" }, { 0x04bb0314, "USB-SSMRW SD-card" }, { 0x04bb0319, "USB2-IDE/ATAPI Bridge Adapter" }, { 0x04bb031a, "USB2-IDE/ATAPI Bridge Adapter" }, { 0x04bb031b, "USB2-IDE/ATAPI Bridge Adapter" }, { 0x04bb031e, "USB-SDRW SD-card" }, { 0x04bb0502, "Nogatech Live! (BT)" }, { 0x04bb0528, "GV-USB Video Capture" }, { 0x04bb0901, "USB ETT" }, { 0x04bb0904, "ET/TX Ethernet [pegasus]" }, { 0x04bb0913, "ET/TX-S Ethernet [pegasus2]" }, { 0x04bb0919, "USB WN-B11" }, { 0x04bb0922, "IOData AirPort WN-B11/USBS 802.11b" }, { 0x04bb0930, "ETG-US2" }, { 0x04bb0937, "WN-WAG/USL Wireless LAN Adapter" }, { 0x04bb0938, "WN-G54/USL Wireless LAN Adapter" }, { 0x04bb093b, "WN-GDN/USB" }, { 0x04bb093f, "WNGDNUS2 802.11n" }, { 0x04bb0944, "WHG-AGDN/US Wireless LAN Adapter" }, { 0x04bb0945, "WN-GDN/US3 Wireless LAN Adapter" }, { 0x04bb0947, "WN-G150U Wireless LAN Adapter" }, { 0x04bb0948, "WN-G300U Wireless LAN Adapter" }, { 0x04bb0a03, "Serial USB-RSAQ1" }, { 0x04bb0a07, "USB2-iCN Adapter" }, { 0x04bb0a08, "USB2-iCN Adapter" }, { 0x04bb0c01, "FM-10 Pro Disk" }, { 0x04bf0100, "MediaReader CF" }, { 0x04bf0115, "USB-PDC Adapter UPA9664" }, { 0x04bf0116, "USB-cdmaOne Adapter UCA1464" }, { 0x04bf0117, "USB-PHS Adapter UHA6400" }, { 0x04bf0118, "USB-PHS Adapter UPA6400" }, { 0x04bf0135, "MediaReader Dual" }, { 0x04bf0202, "73S1121F Smart Card Reader-" }, { 0x04bf0309, "Bluetooth USB dongle" }, { 0x04bf030a, "IBM Bluetooth Ultraport Module" }, { 0x04bf030b, "Bluetooth Device" }, { 0x04bf030c, "Ultraport Bluetooth Device" }, { 0x04bf0310, "Integrated Bluetooth" }, { 0x04bf0311, "Integrated Bluetooth Device" }, { 0x04bf0317, "Bluetooth UltraPort Module from IBM" }, { 0x04bf0318, "IBM Integrated Bluetooth" }, { 0x04bf0319, "Bluetooth Adapter" }, { 0x04bf0320, "Bluetooth Adapter" }, { 0x04bf0321, "Bluetooth Device" }, { 0x04bf0a28, "INDI AV-IN Device" }, { 0x04c10020, "56K Voice Pro" }, { 0x04c10022, "56K Voice Pro" }, { 0x04c1007e, "ISDN TA" }, { 0x04c10082, "OfficeConnect Analog Modem" }, { 0x04c1008f, "Pro ISDN TA" }, { 0x04c10097, "OfficeConnect Analog" }, { 0x04c1009d, "HomeConnect Webcam [vicam]" }, { 0x04c100a9, "ISDN Pro TA-U" }, { 0x04c100b9, "HomeConnect IDSL Modem" }, { 0x04c13021, "56k Voice FaxModem Pro" }, { 0x04c31102, "Mouse" }, { 0x04c32102, "Mouse" }, { 0x04c51029, "fi-4010c Scanner" }, { 0x04c51033, "fi-4110CU" }, { 0x04c51041, "fi-4120c Scanner" }, { 0x04c51042, "fi-4220c Scanner" }, { 0x04c5105b, "AH-F401U Air H device" }, { 0x04c51084, "PalmSecure Sensor V2" }, { 0x04c51096, "fi-5110EOX" }, { 0x04c51097, "fi-5110C" }, { 0x04c510ae, "fi-4120C2" }, { 0x04c510af, "fi-4220C2" }, { 0x04c510c7, "fi-60f scanner" }, { 0x04c510e0, "fi-5120c Scanner" }, { 0x04c510e1, "fi-5220C" }, { 0x04c510e7, "fi-5900C" }, { 0x04c510fe, "S500" }, { 0x04c51104, "KD02906 Line Thermal Printer" }, { 0x04c51140, "Fujitsu, Ltd F903iX HIGH-SPEED" }, { 0x04c5114f, "fi-6130" }, { 0x04c51150, "fi-6230" }, { 0x04c511f3, "fi-6130Z" }, { 0x04c5125a, "PalmSecure Sensor Device - MP" }, { 0x04c5132e, "fi-7160" }, { 0x04c5133b, "Fujitsu, Ltd STYLISTIC M532" }, { 0x04c51378, "Fujitsu, Ltd F02-E" }, { 0x04c513dd, "Fujitsu, Ltd Arrows 202F" }, { 0x04c5158c, "Fujitsu, Ltd TONE-m17" }, { 0x04c5159f, "ScanSnap iX1500" }, { 0x04c5200f, "Sigma DP2 (Mass Storage)" }, { 0x04c52010, "Sigma DP2 (PictBridge)" }, { 0x04c5201d, "SATA 3.0 6Gbit/s Adaptor [GROOVY]" }, { 0x04c80720, "Digital Color Camera" }, { 0x04c80721, "e-miniD Camera" }, { 0x04c80722, "e-mini" }, { 0x04c80723, "KD-200Z Camera" }, { 0x04c80726, "KD-310Z Camera" }, { 0x04c80728, "Revio C2 Mass Storage Device" }, { 0x04c80729, "Revio C2 Digital Camera" }, { 0x04c8072c, "Revio KD20M" }, { 0x04c8072d, "Revio KD410Z" }, { 0x04ca0020, "USB Keyboard" }, { 0x04ca004b, "Keyboard" }, { 0x04ca004f, "SK-9020 keyboard" }, { 0x04ca008a, "Acer Wired Mouse Model SM-9023" }, { 0x04ca00f9, "Multimedia Keyboard" }, { 0x04ca1766, "HID Monitor Controls" }, { 0x04ca2004, "Bluetooth 4.0 [Broadcom BCM20702A0]" }, { 0x04ca2006, "Broadcom BCM43142A0 Bluetooth Device" }, { 0x04ca2007, "Broadcom BCM43142A0 Bluetooth Device" }, { 0x04ca3005, "Atheros Bluetooth" }, { 0x04ca300b, "Atheros AR3012 Bluetooth" }, { 0x04ca300d, "Atheros AR3012 Bluetooth" }, { 0x04ca300f, "Atheros AR3012 Bluetooth" }, { 0x04ca3014, "Qualcomm Atheros Bluetooth" }, { 0x04ca3015, "Qualcomm Atheros QCA9377 Bluetooth" }, { 0x04ca7022, "HP HD Webcam" }, { 0x04ca7025, "HP HD Webcam" }, { 0x04ca7046, "TOSHIBA Web Camera - HD" }, { 0x04ca7054, "HP HD Webcam" }, { 0x04ca705a, "HD Webcam (960\303\227540)" }, { 0x04ca9304, "Hub" }, { 0x04caf01c, "TT1280DA DVB-T TV Tuner" }, { 0x04cb0100, "FinePix 30i/40i/50i, A101/201, 1300/2200, 1400/2400/2600/2800/4500/4700/4800/4900/6800/6900 Zoom" }, { 0x04cb0103, "FinePix NX-500/NX-700 printer" }, { 0x04cb0104, "FinePix A101, 2600/2800/4800/6800 Zoom (PC CAM)" }, { 0x04cb0108, "FinePix F601 Zoom (DSC)" }, { 0x04cb0109, "FinePix F601 Zoom (PC CAM)" }, { 0x04cb010a, "FinePix S602 (Pro) Zoom (DSC)" }, { 0x04cb010b, "FinePix S602 (Pro) Zoom (PC CAM)" }, { 0x04cb010d, "FinePix S2 pro" }, { 0x04cb010e, "FinePix F402 Zoom (DSC)" }, { 0x04cb010f, "FinePix F402 Zoom (PC CAM)" }, { 0x04cb0110, "FinePix M603 Zoom (DSC)" }, { 0x04cb0111, "FinePix M603 Zoom (PC CAM)" }, { 0x04cb0112, "FinePix A202, A200 Zoom (DSC)" }, { 0x04cb0113, "FinePix A202, A200 Zoom (PC CAM)" }, { 0x04cb0114, "FinePix F401 Zoom (DSC)" }, { 0x04cb0115, "FinePix F401 Zoom (PC CAM)" }, { 0x04cb0116, "FinePix A203 Zoom (DSC)" }, { 0x04cb0117, "FinePix A203 Zoom (PC CAM)" }, { 0x04cb0118, "FinePix A303 Zoom (DSC)" }, { 0x04cb0119, "FinePix A303 Zoom (PC CAM)" }, { 0x04cb011a, "FinePix S304/3800 Zoom (DSC)" }, { 0x04cb011b, "FinePix S304/3800 Zoom (PC CAM)" }, { 0x04cb011c, "FinePix A204/2650 Zoom (DSC)" }, { 0x04cb011d, "FinePix A204/2650 Zoom (PC CAM)" }, { 0x04cb0120, "FinePix F700 Zoom (DSC)" }, { 0x04cb0121, "FinePix F700 Zoom (PC CAM)" }, { 0x04cb0122, "FinePix F410 Zoom (DSC)" }, { 0x04cb0123, "FinePix F410 Zoom (PC CAM)" }, { 0x04cb0124, "FinePix A310 Zoom (DSC)" }, { 0x04cb0125, "FinePix A310 Zoom (PC CAM)" }, { 0x04cb0126, "FinePix A210 Zoom (DSC)" }, { 0x04cb0127, "FinePix A210 Zoom (PC CAM)" }, { 0x04cb0128, "FinePix A205(S) Zoom (DSC)" }, { 0x04cb0129, "FinePix A205(S) Zoom (PC CAM)" }, { 0x04cb012a, "FinePix F610 Zoom (DSC)" }, { 0x04cb012b, "FinePix Digital Camera 030513" }, { 0x04cb012c, "FinePix S7000 Zoom (DSC)" }, { 0x04cb012d, "FinePix S7000 Zoom (PC CAM)" }, { 0x04cb012f, "FinePix Digital Camera 030731" }, { 0x04cb0130, "FinePix S5000 Zoom (DSC)" }, { 0x04cb0131, "FinePix S5000 Zoom (PC CAM)" }, { 0x04cb013b, "FinePix Digital Camera 030722" }, { 0x04cb013c, "FinePix S3000 Zoom (DSC)" }, { 0x04cb013d, "FinePix S3000 Zoom (PC CAM)" }, { 0x04cb013e, "FinePix F420 Zoom (DSC)" }, { 0x04cb013f, "FinePix F420 Zoom (PC CAM)" }, { 0x04cb0142, "Fuji FinePix S7000" }, { 0x04cb0148, "FinePix A330 Zoom (DSC)" }, { 0x04cb0149, "FinePix A330 Zoom (UVC)" }, { 0x04cb014a, "Fuji FinePix A330" }, { 0x04cb014b, "FinePix A340 Zoom (DSC)" }, { 0x04cb014c, "FinePix A340 Zoom (UVC)" }, { 0x04cb0159, "FinePix F710 Zoom (DSC)" }, { 0x04cb0165, "FinePix S3500 Zoom (DSC)" }, { 0x04cb0168, "FinePix E500 Zoom (DSC)" }, { 0x04cb0169, "FinePix E500 Zoom (UVC)" }, { 0x04cb016b, "FinePix E510 Zoom (DSC)" }, { 0x04cb016c, "FinePix E510 Zoom (PC CAM)" }, { 0x04cb016e, "FinePix S5500 Zoom (DSC)" }, { 0x04cb016f, "FinePix S5500 Zoom (UVC)" }, { 0x04cb0171, "FinePix E550 Zoom (DSC)" }, { 0x04cb0172, "FinePix E550 Zoom (UVC)" }, { 0x04cb0177, "FinePix F10 (DSC)" }, { 0x04cb0179, "Finepix F10 (PTP)" }, { 0x04cb0186, "FinePix S5200/S5600 Zoom (DSC)" }, { 0x04cb0188, "FinePix S5200/S5600 Zoom (PTP)" }, { 0x04cb018e, "FinePix S9500 Zoom (DSC)" }, { 0x04cb018f, "Fuji FinePix S9500" }, { 0x04cb0192, "FinePix E900 Zoom (DSC)" }, { 0x04cb0193, "Fuji FinePix E900" }, { 0x04cb019b, "Fuji FinePix F30" }, { 0x04cb01af, "FinePix A700 (PTP)" }, { 0x04cb01bf, "Fuji FinePix S6500fd" }, { 0x04cb01c0, "Fuji FinePix F20" }, { 0x04cb01c1, "Fuji FinePix F31fd" }, { 0x04cb01c3, "Fuji S5 Pro" }, { 0x04cb01c4, "Fuji FinePix S5700" }, { 0x04cb01c5, "Fuji FinePix F40fd" }, { 0x04cb01c6, "Fuji FinePix A820" }, { 0x04cb01d0, "Fuji FinePix A610" }, { 0x04cb01d2, "Fuji FinePix A800" }, { 0x04cb01d3, "Fuji FinePix A920" }, { 0x04cb01d4, "Fuji FinePix F50fd" }, { 0x04cb01d5, "FinePix F47 (PTP)" }, { 0x04cb01d7, "Fuji FinePix S5800" }, { 0x04cb01d8, "Fuji FinePix Z100fd" }, { 0x04cb01db, "Fuji FinePix S100fs" }, { 0x04cb01dd, "Fuji FinePix S1000fd" }, { 0x04cb01e0, "Fuji FinePix F100fd" }, { 0x04cb01e4, "Fuji FinePix F200 EXR" }, { 0x04cb01e6, "Fuji FinePix F60fd" }, { 0x04cb01e7, "Fujifilm A850 Digital Camera" }, { 0x04cb01e8, "Fuji FinePix S2000HD" }, { 0x04cb01ef, "Fuji FinePix S1500" }, { 0x04cb01f7, "FinePix J250 (PTP)" }, { 0x04cb01fa, "Fuji FinePix F70 EXR" }, { 0x04cb01fd, "A160" }, { 0x04cb01fe, "Fuji Fujifilm A220" }, { 0x04cb0200, "Fuji FinePix S1800" }, { 0x04cb0201, "Fuji FinePix Z35" }, { 0x04cb0209, "Fuji FinePix S2500HD" }, { 0x04cb020d, "Fuji FinePix Z700EXR" }, { 0x04cb020e, "Fuji FinePix F80EXR" }, { 0x04cb021b, "Fuji FinePix AV-150" }, { 0x04cb022d, "Fuji FinePix H20EXR" }, { 0x04cb0233, "Fuji FinePix T200" }, { 0x04cb023e, "FinePix AX300" }, { 0x04cb0240, "Fuji FinePix S2950" }, { 0x04cb0241, "FinePix S3200 Digital Camera" }, { 0x04cb0250, "Fuji FinePix JX370" }, { 0x04cb0263, "Fuji FinePix X10" }, { 0x04cb0265, "Fuji FinePix S4300" }, { 0x04cb026e, "Fuji FinePix X-S1" }, { 0x04cb0271, "Fuji FinePix HS30EXR" }, { 0x04cb0278, "FinePix JV300" }, { 0x04cb027d, "Fuji FinePix S2980" }, { 0x04cb0283, "Fuji FinePix X-E1" }, { 0x04cb0288, "Fuji FinePix XF1" }, { 0x04cb0298, "Fuji FinePix S4850" }, { 0x04cb029c, "Fuji FinePix SL1000" }, { 0x04cb02a6, "Fuji FinePix X20" }, { 0x04cb02b5, "Fuji Fujifilm X-E2" }, { 0x04cb02b6, "Fuji Fujifilm X-M1" }, { 0x04cb02b9, "Fuji FinePix S8600" }, { 0x04cb02ba, "Fuji Fujifilm X70" }, { 0x04cb02bf, "Fuji Fujifilm X-T1" }, { 0x04cb02c1, "Fuji Fujifilm X30" }, { 0x04cb02c5, "FinePix S9900W Digital Camera (PTP)" }, { 0x04cb02c6, "Fuji Fujifilm X-A2" }, { 0x04cb02c8, "Fuji Fujifilm X-T10" }, { 0x04cb02cb, "Fuji Fujifilm X-Pro2" }, { 0x04cb02cd, "Fuji Fujifilm X-T2" }, { 0x04cb02d1, "Fuji Fujifilm X100F" }, { 0x04cb02d3, "Fuji GFX 50 S" }, { 0x04cb02d4, "Fuji Fujifilm X-T20" }, { 0x04cb02d5, "Fuji Fujifilm X-A5" }, { 0x04cb02d6, "Fuji Fujifilm X-E3" }, { 0x04cb02d7, "Fuji Fujifilm X-H1" }, { 0x04cb02dc, "Fuji GFX 50 R" }, { 0x04cb02dd, "Fuji Fujifilm X-T3" }, { 0x04cb02de, "Fuji Fujifilm GFX100" }, { 0x04cb02e0, "X-T200 Digital Camera" }, { 0x04cb02e3, "Fuji Fujifilm X-T30" }, { 0x04cb02e4, "Fuji Fujifilm X-Pro3" }, { 0x04cb02e5, "Fuji Fujifilm X100V" }, { 0x04cb02e6, "Fuji Fujifilm X-T4" }, { 0x04cb02e8, "Fuji Fujifilm X-E4" }, { 0x04cb02e9, "Fuji Fujifilm GFX 100S" }, { 0x04cb02ea, "Fuji Fujifilm X-S10" }, { 0x04cb02f2, "Fuji Fujifilm X-H2" }, { 0x04cb02fc, "Fuji Fujifilm X-T5" }, { 0x04cb5006, "ASK-300" }, { 0x04cb5007, "DX100" }, { 0x04cc1122, "Hub" }, { 0x04cc1520, "USB 2.0 Hub (Avocent KVM)" }, { 0x04cc1521, "USB 2.0 Hub" }, { 0x04cc1a62, "GW Instek GSP-830 Spectrum Analyzer (HID)" }, { 0x04cc2323, "Ux500 serial debug port" }, { 0x04cc2533, "NFC device (PN533)" }, { 0x04cc8116, "Camera" }, { 0x04ce0002, "SL11R-IDE IDE Bridge" }, { 0x04ce0100, "USB2PRN Printer Class" }, { 0x04ce0300, "Phantom 336CX - C3 scanner" }, { 0x04ce04ce, "SL11DEMO, VID: 0x4ce, PID: 0x4ce" }, { 0x04ce07d1, "SL11R, VID: 0x4ce, PID: 0x07D1" }, { 0x04cf0022, "OCZ Alchemy Series Elixir II Keyboard" }, { 0x04cf0800, "MTP800 Mass Storage Device" }, { 0x04cf8810, "CS8810 Mass Storage Device" }, { 0x04cf8811, "CS8811 Mass Storage Device" }, { 0x04cf8813, "CS8813 Mass Storage Device" }, { 0x04cf8818, "USB2.0 to ATAPI Bridge Controller" }, { 0x04cf8819, "USB 2.0 SD/MMC Reader" }, { 0x04cf9920, "CS8819A2-114 Mass Storage Device" }, { 0x04d20070, "ADA70 Speakers" }, { 0x04d20305, "Non-Compliant Audio Device" }, { 0x04d20311, "ADA-310 Speakers" }, { 0x04d22060, "Claritel-i750 - vp" }, { 0x04d2ff05, "ADA-305 Speakers" }, { 0x04d2ff47, "Lansing HID Audio Controls" }, { 0x04d2ff49, "Lansing HID Audio Controls" }, { 0x04d6e301, "Bio-Key TouchLock XL All Weather Keyless Bio-Lock with Fingerprint Recognition" }, { 0x04d6e302, "ZC3202 [4GB Green Book Digital Quran Reading Pen For Home Teaching Quran]" }, { 0x04d71be4, "Bluetooth Device" }, { 0x04d80002, "PicoLCD 20x2" }, { 0x04d80003, "PICkit 2 Microcontroller Programmer" }, { 0x04d8000a, "CDC RS-232 Emulation Demo" }, { 0x04d8000b, "PIC18F2550 (32K Flashable 10 Channel, 10 Bit A/D USB Microcontroller)" }, { 0x04d80032, "PICkit1" }, { 0x04d80033, "PICkit2" }, { 0x04d80036, "PICkit Serial Analyzer" }, { 0x04d800dd, "MCP2221(a) UART/I2C Bridge" }, { 0x04d800e0, "PIC32 Starter Board" }, { 0x04d804cd, "28Cxxx EEPROM Programmer" }, { 0x04d80a04, "AGP LIN Serial Analyzer" }, { 0x04d88000, "In-Circuit Debugger" }, { 0x04d88001, "ICD2 in-circuit debugger" }, { 0x04d88101, "PIC24F Starter Kit" }, { 0x04d88107, "Microstick II" }, { 0x04d88108, "ChipKit Pro MX7 (PIC32MX)" }, { 0x04d89004, "Microchip REAL ICE" }, { 0x04d89009, "ICD3" }, { 0x04d8900a, "PICkit3" }, { 0x04d89012, "PICkit4" }, { 0x04d89015, "ICD 4 In-Circuit Debugger" }, { 0x04d8c001, "PicoLCD 20x4" }, { 0x04d8e11c, "TL866CS EEPROM Programmer [MiniPRO]" }, { 0x04d8e72e, "YuanCon" }, { 0x04d8e7ee, "travisgeis.com Bike Light" }, { 0x04d8ec72, "Joystick with Rotary Switch Creative Electronics Ltd" }, { 0x04d8ed16, "BeamiRC 2.0 CNC remote controller analoge" }, { 0x04d8edb4, "micro PLC (ATSAMD51G19A) [Black Brix ECU II]" }, { 0x04d8edb5, "ATMEGA32U4 [Black Brix ECU]" }, { 0x04d8f2c4, "Macareux-labs Hygrometry Temperature Sensor" }, { 0x04d8f2f7, "Yepkit YKUSH" }, { 0x04d8f3aa, "Macareux-labs Usbce Bootloader mode" }, { 0x04d8f437, "SBE Tech Ultrasonic Anemometer" }, { 0x04d8f4b5, "SmartScope" }, { 0x04d8f5fe, "TrueRNG" }, { 0x04d8f8da, "Hughski Ltd. ColorHug" }, { 0x04d8f8e8, "Harmony 300/350 Remote" }, { 0x04d8f91c, "SPROG IIv3" }, { 0x04d8faff, "Dangerous Prototypes BusPirate v4 Bootloader mode" }, { 0x04d8fb00, "Dangerous Prototypes BusPirate v4" }, { 0x04d8fbb2, "GCUSB-nStep stepper motor controller" }, { 0x04d8fbba, "DiscFerret Magnetic Disc Analyser (bootloader mode)" }, { 0x04d8fbbb, "DiscFerret Magnetic Disc Analyser (active mode)" }, { 0x04d8fc1e, "Bachrus Speedometer Interface" }, { 0x04d8fc92, "Open Bench Logic Sniffer" }, { 0x04d8ffee, "Devantech USB-ISS" }, { 0x04d8ffef, "PICoPLC [APStech]" }, { 0x04d90006, "Wired Keyboard (78/79 key) [RPI Wired Keyboard 5]" }, { 0x04d90022, "Portable Keyboard" }, { 0x04d90129, "Keyboard [KBPV8000]" }, { 0x04d90169, "Keyboard" }, { 0x04d90198, "Keyboard" }, { 0x04d90348, "Keyboard" }, { 0x04d90407, "Keyboard [TEX Shinobi]" }, { 0x04d90462, "Laser Gaming mouse" }, { 0x04d9048e, "Optical Mouse" }, { 0x04d90499, "Optical Mouse" }, { 0x04d91135, "Mouse [MGK-15BU/MLK-15BU]" }, { 0x04d91203, "Keyboard" }, { 0x04d91400, "PS/2 keyboard + mouse controller" }, { 0x04d91503, "Keyboard" }, { 0x04d91603, "Keyboard" }, { 0x04d91702, "Keyboard LKS02" }, { 0x04d91818, "Keyboard [Diatec Filco Majestouch 2]" }, { 0x04d92011, "Keyboard [Diatec Filco Majestouch 1]" }, { 0x04d92013, "Keyboard [Das Keyboard]" }, { 0x04d92206, "Fujitsu Siemens Mouse Esprimo Q" }, { 0x04d92221, "Keyboard" }, { 0x04d92323, "Keyboard" }, { 0x04d92519, "Shenzhen LogoTech 2.4GHz receiver" }, { 0x04d92832, "HT82A832R Audio MCU" }, { 0x04d92834, "HT82A834R Audio MCU" }, { 0x04d94545, "Keyboard [Diatec Majestouch 2 Tenkeyless]" }, { 0x04d9a01c, "wireless multimedia keyboard with trackball [Trust ADURA 17911]" }, { 0x04d9a050, "Chatman V1" }, { 0x04d9a052, "USB-zyTemp" }, { 0x04d9a055, "Keyboard" }, { 0x04d9a075, "Optical Gaming Mouse" }, { 0x04d9a096, "Keyboard" }, { 0x04d9a09f, "E-Signal LUOM G10 Mechanical Gaming Mouse" }, { 0x04d9a100, "Mouse [HV-MS735]" }, { 0x04d9a11b, "Mouse [MX-3200]" }, { 0x04d9a153, "Optical Gaming Mouse" }, { 0x04d9a29f, "Microarray fingerprint reader" }, { 0x04d9b534, "LGT8F328P Microprocessor" }, { 0x04d9e002, "MCU" }, { 0x04d9fc2a, "Gaming Mouse [Redragon M709]" }, { 0x04d9fc30, "Gaming Mouse [Redragon M711]" }, { 0x04d9fc38, "Gaming Mouse [Redragon M602-RGB]" }, { 0x04d9fc4d, "Gaming Mouse [Redragon M908]" }, { 0x04d9fc55, "Venus MMO Gaming Mouse" }, { 0x04da0901, "LS-120 Camera" }, { 0x04da0912, "SDR-S10" }, { 0x04da0b01, "CD-R/RW Drive" }, { 0x04da0b03, "SuperDisk 240MB" }, { 0x04da0d01, "CD-R Drive KXL-840AN" }, { 0x04da0d09, "CD-R Drive KXL-RW32AN" }, { 0x04da0d0a, "CD-R Drive KXL-CB20AN" }, { 0x04da0d0d, "CDRCB03" }, { 0x04da0d0e, "DVD-ROM & CD-R/RW" }, { 0x04da0d14, "DVD-RAM MLT08" }, { 0x04da0f07, "KX-MB2030 Multifunction Laser Printer" }, { 0x04da0f40, "Printer" }, { 0x04da104d, "Elite Panaboard UB-T880 (HID)" }, { 0x04da104e, "Elite Panaboard Pen Adaptor (HID)" }, { 0x04da1500, "MFSUSB Driver" }, { 0x04da1800, "DY-WL10 802.11abgn Adapter [Broadcom BCM4323]" }, { 0x04da1b00, "MultiMediaCard" }, { 0x04da2041, "Leica SL" }, { 0x04da2121, "EB-VS6" }, { 0x04da2145, "Panasonic P905i" }, { 0x04da2158, "Panasonic P906i" }, { 0x04da2316, "DVC Mass Storage Device" }, { 0x04da2317, "DVC USB-SERIAL Driver for WinXP" }, { 0x04da2318, "NV-GS11/230/250 (webcam mode)" }, { 0x04da2319, "NV-GS15 (webcam mode)" }, { 0x04da231a, "NV-GS11/230/250 (DV mode)" }, { 0x04da231d, "DVC Web Camera Device" }, { 0x04da231e, "DVC DV Stream Device" }, { 0x04da2372, "Panasonic Lumix FZ5" }, { 0x04da2374, "Panasonic DMC-GF1" }, { 0x04da2375, "Leica D-LUX 2" }, { 0x04da2382, "Panasonic DC-GH5" }, { 0x04da2451, "HDC-SD9" }, { 0x04da245b, "HC-X920K (3MOS Full HD video camcorder)" }, { 0x04da2477, "SDR-H85 Camcorder (PC mode)" }, { 0x04da2478, "SDR-H85 Camcorder (recorder mode - SD card)" }, { 0x04da2479, "SDR-H85 Camcorder (recorder mode - HDD)" }, { 0x04da2497, "HDC-TM700" }, { 0x04da250c, "Gobi Wireless Modem (QDL mode)" }, { 0x04da250d, "Gobi Wireless Modem" }, { 0x04da3904, "N5HBZ0000055 802.11abgn Wireless Adapter [Atheros AR7010+AR9280]" }, { 0x04da3908, "N5HBZ0000062 802.11abgn Wireless Adapter [Atheros AR9374v1.1]" }, { 0x04da3c04, "JT-P100MR-20 [ePassport Reader]" }, { 0x04dd13a6, "MFC2000" }, { 0x04dd6006, "AL-1216" }, { 0x04dd6007, "AL-1045" }, { 0x04dd6008, "AL-1255" }, { 0x04dd6009, "AL-1530CS" }, { 0x04dd600a, "AL-1540CS" }, { 0x04dd600b, "AL-1456" }, { 0x04dd600c, "AL-1555" }, { 0x04dd600d, "AL-1225" }, { 0x04dd600e, "AL-1551CS" }, { 0x04dd600f, "AR-122E" }, { 0x04dd6010, "AR-152E" }, { 0x04dd6011, "AR-157E" }, { 0x04dd6012, "SN-1045" }, { 0x04dd6013, "SN-1255" }, { 0x04dd6014, "SN-1456" }, { 0x04dd6015, "SN-1555" }, { 0x04dd6016, "AR-153E" }, { 0x04dd6017, "AR-122E N" }, { 0x04dd6018, "AR-153E N" }, { 0x04dd6019, "AR-152E N" }, { 0x04dd601a, "AR-157E N" }, { 0x04dd601b, "AL-1217" }, { 0x04dd601c, "AL-1226" }, { 0x04dd601d, "AR-123E" }, { 0x04dd6021, "IS01" }, { 0x04dd7002, "DVC Ver.1.0" }, { 0x04dd7004, "VE-CG40U Digital Still Camera" }, { 0x04dd7005, "VE-CG30 Digital Still Camera" }, { 0x04dd7007, "VL-Z7S Digital Camcorder" }, { 0x04dd8004, "Zaurus SL-5000D/SL-5500 PDA" }, { 0x04dd8005, "Zaurus A-300" }, { 0x04dd8006, "Zaurus SL-B500/SL-5600 PDA" }, { 0x04dd8007, "Zaurus C-700 PDA" }, { 0x04dd9009, "AR-M160" }, { 0x04dd9014, "IM-DR80 Portable NetMD Player" }, { 0x04dd9031, "Zaurus C-750/C-760/C-860/SL-C3000 PDA" }, { 0x04dd9032, "Zaurus SL-6000" }, { 0x04dd903a, "GSM GPRS" }, { 0x04dd9050, "Zaurus C-860 PDA" }, { 0x04dd9056, "Viewcam Z" }, { 0x04dd9073, "AM-900" }, { 0x04dd9074, "GSM GPRS" }, { 0x04dd90a9, "Sharp Composite" }, { 0x04dd90d0, "USB-to-Serial Comm. Port" }, { 0x04dd90f2, "Sharp 3G GSM USB Control" }, { 0x04dd9120, "WS004SH" }, { 0x04dd9122, "WS007SH" }, { 0x04dd9123, "W-ZERO3 ES Smartphone" }, { 0x04dd91a3, "922SH Internet Machine" }, { 0x04dd939a, "IS03" }, { 0x04dd9661, "SHARP Corporation SBM203SH" }, { 0x04dd96ca, "SHARP Corporation SH-06E" }, { 0x04dd99d2, "SHARP Corporation SHV35 AQUOS U" }, { 0x04dd9c90, "SHARP Corporation AndroidOne S5" }, { 0x04dd9d6e, "SHARP Corporation S7-SH" }, { 0x04e10201, "Monitor Hub" }, { 0x04e20801, "XR22801 Hub" }, { 0x04e20802, "XR22802 Hub" }, { 0x04e20804, "XR22804 Hub" }, { 0x04e21100, "XR2280x I2C Controller" }, { 0x04e21200, "XR2280x GPIO Controller" }, { 0x04e21300, "XR2280x 10/100 Ethernet" }, { 0x04e21400, "XR2280x UART Channel A" }, { 0x04e21401, "XR2280x UART Channel B" }, { 0x04e21402, "XR2280x UART Channel C" }, { 0x04e21403, "XR2280x UART Channel D" }, { 0x04e21410, "XR21V1410 USB-UART IC" }, { 0x04e21411, "XR21B1411 UART" }, { 0x04e21412, "XR21V1412 2-channel UART" }, { 0x04e21414, "XR21V1414 4-channel UART" }, { 0x04e21420, "XR21B1420 UART" }, { 0x04e21422, "XR21B1422 2-channel UART" }, { 0x04e21424, "XR21B1424 4-channel UART" }, { 0x04e60001, "E-USB ATA Bridge" }, { 0x04e60002, "eUSCSI SCSI Bridge" }, { 0x04e60003, "eUSB SmartMedia Card Reader" }, { 0x04e60005, "eUSB SmartMedia/CompactFlash Card Reader" }, { 0x04e60006, "eUSB SmartMedia Card Reader" }, { 0x04e60007, "Hifd" }, { 0x04e60009, "eUSB ATA/ATAPI Adapter" }, { 0x04e6000a, "eUSB CompactFlash Adapter" }, { 0x04e6000b, "eUSCSI Bridge" }, { 0x04e6000c, "eUSCSI Bridge" }, { 0x04e6000d, "Dazzle MS" }, { 0x04e60012, "Dazzle SD/MMC" }, { 0x04e60101, "eUSB ATA Bridge (Sony Spressa USB CDRW)" }, { 0x04e60311, "Dazzle DM-CF" }, { 0x04e60312, "Dazzle DM-SD/MMC" }, { 0x04e60313, "Dazzle SM" }, { 0x04e60314, "Dazzle MS" }, { 0x04e60322, "e-Film Reader-5" }, { 0x04e60325, "eUSB ORCA Quad Reader" }, { 0x04e60327, "Digital Media Reader" }, { 0x04e603fe, "DMHS2 DFU Adapter" }, { 0x04e60406, "eUSB SmartDM Reader" }, { 0x04e604e6, "eUSB DFU Adapter" }, { 0x04e604e7, "STCII DFU Adapter" }, { 0x04e604e8, "eUSBDM DFU Adapter" }, { 0x04e604e9, "DM-E DFU Adapter" }, { 0x04e60500, "Veridicom 5thSense Fingerprint Sensor and eUSB SmartCard" }, { 0x04e60701, "DCS200 Loader Device" }, { 0x04e60702, "DVD Creation Station 200" }, { 0x04e60703, "DVC100 Loader Device" }, { 0x04e60704, "Digital Video Creator 100" }, { 0x04e61001, "SCR300 Smart Card Reader" }, { 0x04e61010, "USBAT-2 CompactFlash Card Reader" }, { 0x04e61014, "e-Film Reader-3" }, { 0x04e61020, "USBAT ATA/ATAPI Adapter" }, { 0x04e62007, "RSA SecurID ComboReader" }, { 0x04e62009, "Citibank Smart Card Reader" }, { 0x04e6200a, "Reflex v.2 Smart Card Reader" }, { 0x04e6200d, "STR391 Reader" }, { 0x04e65111, "SCR331-DI SmartCard Reader" }, { 0x04e65113, "SCR333 SmartCard Reader" }, { 0x04e65114, "SCR331-DI SmartCard Reader" }, { 0x04e65115, "SCR335 SmartCard Reader" }, { 0x04e65116, "SCR331-LC1 / SCR3310 SmartCard Reader" }, { 0x04e65117, "SCR3320 - Smart Card Reader" }, { 0x04e65118, "Expresscard SIM Card Reader" }, { 0x04e65119, "SCR3340 - ExpressCard54 Smart Card Reader" }, { 0x04e6511b, "SmartCard Reader" }, { 0x04e6511d, "SCR3311 Smart Card Reader" }, { 0x04e65120, "SCR331-DI SmartCard Reader" }, { 0x04e65121, "SDI010 Smart Card Reader" }, { 0x04e65151, "SCR338 Keyboard Smart Card Reader" }, { 0x04e65292, "SCL011 RFID reader" }, { 0x04e65410, "SCR35xx Smart Card Reader" }, { 0x04e65591, "SCL3711-NFC&RW" }, { 0x04e65810, "uTrust 2700 R Smart Card Reader" }, { 0x04e6e000, "SCRx31 Reader" }, { 0x04e6e001, "SCR331 SmartCard Reader" }, { 0x04e6e003, "SPR532 PinPad SmartCard Reader" }, { 0x04e70001, "TouchScreen" }, { 0x04e70002, "Touchmonitor Interface 2600 Rev 2" }, { 0x04e70004, "4000U CarrollTouch\302\256 Touchmonitor Interface" }, { 0x04e70007, "2500U IntelliTouch\302\256 Touchmonitor Interface" }, { 0x04e70008, "3000U AccuTouch\302\256 Touchmonitor Interface" }, { 0x04e70009, "4000U CarrollTouch\302\256 Touchmonitor Interface" }, { 0x04e70020, "Touchscreen Interface (2700)" }, { 0x04e70021, "Touchmonitor Interface" }, { 0x04e70030, "4500U CarrollTouch\302\256 Touchmonitor Interface" }, { 0x04e70032, "Touchmonitor Interface" }, { 0x04e70033, "Touchmonitor Interface" }, { 0x04e70041, "5010 Surface Capacitive Touchmonitor Interface" }, { 0x04e70042, "Touchmonitor Interface" }, { 0x04e70050, "2216 AccuTouch\302\256 Touchmonitor Interface" }, { 0x04e70071, "Touchmonitor Interface" }, { 0x04e70072, "Touchmonitor Interface" }, { 0x04e70081, "Touchmonitor Interface" }, { 0x04e70082, "Touchmonitor Interface" }, { 0x04e700ff, "Touchmonitor Interface" }, { 0x04e72902, "WLIDS 21.5 Touchscreen" }, { 0x04e80001, "Printer Bootloader" }, { 0x04e80100, "Kingston Flash Drive (128MB)" }, { 0x04e80110, "Connect3D Flash Drive" }, { 0x04e80111, "Connect3D Flash Drive" }, { 0x04e80300, "E2530 / GT-C3350 Phones (Mass storage mode)" }, { 0x04e80409, "Samsung YP-900" }, { 0x04e804a4, "Samsung I550W Phone" }, { 0x04e804e8, "Galaxy (MIDI mode)" }, { 0x04e81003, "MP3 Player and Recorder" }, { 0x04e81006, "SDC-200Z" }, { 0x04e8130c, "NX100" }, { 0x04e81323, "WB700 Camera" }, { 0x04e81384, "Samsung NX1000" }, { 0x04e8140c, "Samsung NX1" }, { 0x04e81f05, "S2 Portable [JMicron] (500GB)" }, { 0x04e81f06, "HX-MU064DA portable harddisk" }, { 0x04e82018, "WIS09ABGN LinkStick Wireless LAN Adapter" }, { 0x04e82035, "Digital Photo Frame Mass Storage" }, { 0x04e82036, "Digital Photo Frame Mini Monitor" }, { 0x04e83004, "ML-4600" }, { 0x04e83005, "Docuprint P1210" }, { 0x04e83008, "ML-6060 laser printer" }, { 0x04e8300c, "ML-1210 Printer" }, { 0x04e8300e, "Laser Printer" }, { 0x04e83104, "ML-3550N" }, { 0x04e83210, "ML-5200A Laser Printer" }, { 0x04e83226, "Laser Printer" }, { 0x04e83228, "Laser Printer" }, { 0x04e8322a, "Laser Printer" }, { 0x04e8322c, "Laser Printer" }, { 0x04e83230, "ML-1440" }, { 0x04e83232, "Laser Printer" }, { 0x04e83236, "ML-1450" }, { 0x04e83238, "ML-1430" }, { 0x04e8323a, "ML-1710 Printer" }, { 0x04e8323b, "Phaser 3130" }, { 0x04e8323c, "Laser Printer" }, { 0x04e8323d, "Phaser 3120" }, { 0x04e8323e, "Laser Printer" }, { 0x04e83240, "Laser Printer" }, { 0x04e83242, "ML-1510 Laser Printer" }, { 0x04e83248, "Color Laser Printer" }, { 0x04e8324a, "Laser Printer" }, { 0x04e8324c, "ML-1740 Printer" }, { 0x04e8324d, "Phaser 3121" }, { 0x04e83256, "ML-1520 Laser Printer" }, { 0x04e8325b, "Xerox Phaser 3117 Laser Printer" }, { 0x04e8325f, "Phaser 3425 Laser Printer" }, { 0x04e83260, "CLP-510 Color Laser Printer" }, { 0x04e83268, "ML-1610 Mono Laser Printer" }, { 0x04e8326c, "ML-2010P Mono Laser Printer" }, { 0x04e83276, "ML-3050/ML-3051 Laser Printer" }, { 0x04e8327e, "ML-2510 Series" }, { 0x04e8328e, "CLP-310 Color Laser Printer" }, { 0x04e83292, "ML-1640 Series Laser Printer" }, { 0x04e83296, "ML-2580N Mono Laser Printer" }, { 0x04e83297, "ML-191x/ML-252x Laser Printer" }, { 0x04e8329f, "CLP-325 Color Laser Printer" }, { 0x04e83301, "ML-1660 Series" }, { 0x04e8330c, "ML-1865" }, { 0x04e8330f, "ML-216x Series Laser Printer" }, { 0x04e83310, "ML-331x Series Laser Printer" }, { 0x04e83315, "ML-2540 Series Laser Printer" }, { 0x04e8331e, "M262x/M282x Xpress Series Laser Printer" }, { 0x04e83409, "SCX-4216F Scanner" }, { 0x04e8340c, "SCX-5x15 series" }, { 0x04e8340d, "SCX-6x20 series" }, { 0x04e8340e, "MFP 560 series" }, { 0x04e8340f, "Printing Support" }, { 0x04e83412, "SCX-4x20 series" }, { 0x04e83413, "SCX-4100 Scanner" }, { 0x04e83415, "Composite Device" }, { 0x04e83419, "Composite Device" }, { 0x04e8341a, "Printing Support" }, { 0x04e8341b, "SCX-4200 series" }, { 0x04e8341c, "Composite Device" }, { 0x04e8341d, "Composite Device" }, { 0x04e8341f, "Composite Device" }, { 0x04e83420, "Composite Device" }, { 0x04e83426, "SCX-4500 Laser Printer" }, { 0x04e8342d, "SCX-4x28 Series" }, { 0x04e8344f, "SCX-3400 Series" }, { 0x04e8347e, "C48x Series Color Laser Multifunction Printer" }, { 0x04e83605, "InkJet Color Printer" }, { 0x04e83606, "InkJet Color Printer" }, { 0x04e83609, "InkJet Color Printer" }, { 0x04e83902, "InkJet Color Printer" }, { 0x04e83903, "Xerox WorkCentre XK50cx" }, { 0x04e8390f, "InkJet Color Printer" }, { 0x04e83911, "SCX-1020 series" }, { 0x04e84001, "PSSD T7" }, { 0x04e84005, "GT-S8000 Jet (msc)" }, { 0x04e84f1f, "Samsung Jet S8000" }, { 0x04e85000, "YP-MF series" }, { 0x04e85001, "YP-100" }, { 0x04e85002, "YP-30" }, { 0x04e85003, "YP-700" }, { 0x04e85004, "YP-30" }, { 0x04e85005, "YP-300" }, { 0x04e85006, "YP-750" }, { 0x04e8500d, "MP3 Player" }, { 0x04e85010, "Yepp YP-35" }, { 0x04e85011, "YP-780" }, { 0x04e85013, "YP-60" }, { 0x04e85015, "yepp upgrade" }, { 0x04e8501b, "MP3 Player" }, { 0x04e8501d, "Samsung YH-920 (501d)" }, { 0x04e85021, "Yepp YP-ST5" }, { 0x04e85022, "Samsung YH-920 (5022)" }, { 0x04e85024, "Samsung YH-925GS" }, { 0x04e85026, "YP-MT6V" }, { 0x04e85027, "YP-T7" }, { 0x04e8502b, "YP-F1" }, { 0x04e8502e, "Samsung YH-820" }, { 0x04e8502f, "Samsung YH-925(-GS)" }, { 0x04e85032, "YP-J70" }, { 0x04e85033, "Samsung YH-J70J" }, { 0x04e8503b, "YP-U1 MP3 Player" }, { 0x04e8503c, "Samsung YP-Z5" }, { 0x04e8503d, "YP-T7F" }, { 0x04e85041, "YP-Z5" }, { 0x04e85047, "Samsung YP-T7J" }, { 0x04e85050, "YP-U2 MP3 Player" }, { 0x04e85051, "YP-F2R" }, { 0x04e85054, "Samsung YP-U2J (YP-U2JXB/XAA)" }, { 0x04e85055, "YP-T9" }, { 0x04e85057, "Samsung YP-F2J" }, { 0x04e8505a, "Samsung YP-K5" }, { 0x04e8507d, "Samsung YP-U3" }, { 0x04e8507f, "Samsung YP-T9" }, { 0x04e85080, "Yepp YP-K3 (msc)" }, { 0x04e85081, "Samsung YP-K3" }, { 0x04e85082, "YP-P2 (msc)" }, { 0x04e85083, "Samsung YP-P2" }, { 0x04e8508a, "Samsung YP-T10" }, { 0x04e8508b, "Samsung YP-S5" }, { 0x04e8508c, "YP-S5" }, { 0x04e85090, "YP-S3 (msc)" }, { 0x04e85091, "Samsung YP-S3" }, { 0x04e85092, "YP-U4 (msc)" }, { 0x04e85093, "Samsung YP-U4" }, { 0x04e85095, "YP-S2" }, { 0x04e8510f, "Samsung YP-R1" }, { 0x04e85115, "Samsung YP-Q1" }, { 0x04e85118, "Samsung YP-M1" }, { 0x04e85119, "Yepp YP-P3" }, { 0x04e8511a, "Samsung YP-P3" }, { 0x04e8511c, "YP-Q2" }, { 0x04e8511d, "Samsung YP-Q2" }, { 0x04e85121, "Samsung YP-U5" }, { 0x04e85123, "Yepp YP-M1" }, { 0x04e85125, "Samsung YP-R0" }, { 0x04e8512e, "Samsung YP-R2" }, { 0x04e85130, "Samsung YP-Q3" }, { 0x04e85137, "Samsung YP-Z3" }, { 0x04e85a00, "YP-NEU" }, { 0x04e85a01, "YP-NDU" }, { 0x04e85a03, "Yepp MP3 Player" }, { 0x04e85a04, "YP-800" }, { 0x04e85a08, "YP-90" }, { 0x04e85a0f, "Meizu M6 MiniPlayer" }, { 0x04e85b01, "Memory Stick Reader/Writer" }, { 0x04e85b02, "Memory Stick Reader/Writer" }, { 0x04e85b03, "Memory Stick Reader/Writer" }, { 0x04e85b04, "Memory Stick Reader/Writer" }, { 0x04e85b05, "Memory Stick Reader/Writer" }, { 0x04e85b11, "SEW-2001u Card" }, { 0x04e85f00, "NEXiO Sync" }, { 0x04e85f01, "NEXiO Sync" }, { 0x04e85f02, "NEXiO Sync" }, { 0x04e85f03, "NEXiO Sync" }, { 0x04e85f04, "NEXiO Sync" }, { 0x04e85f05, "STORY Station 1TB" }, { 0x04e86032, "G2 Portable hard drive" }, { 0x04e86033, "G2 Portable device" }, { 0x04e86034, "G2 Portable hard drive" }, { 0x04e860b3, "M2 Portable Hard Drive" }, { 0x04e860c4, "M2 Portable Hard Drive USB 3.0" }, { 0x04e86124, "D3 Station External Hard Drive" }, { 0x04e86125, "D3 Station External Hard Drive" }, { 0x04e861b5, "M3 Portable Hard Drive 2TB" }, { 0x04e861b6, "M3 Portable Hard Drive 1TB" }, { 0x04e861b7, "M3 Portable Hard Drive 4TB" }, { 0x04e861f3, "Portable SSD T3 (MU-PT250B, MU-PT500B)" }, { 0x04e861f5, "Portable SSD T5" }, { 0x04e86601, "Mobile Phone" }, { 0x04e86602, "Galaxy" }, { 0x04e86603, "Galaxy" }, { 0x04e86611, "MITs Sync" }, { 0x04e86613, "MITs Sync" }, { 0x04e86615, "MITs Sync" }, { 0x04e86617, "MITs Sync" }, { 0x04e86619, "MITs Sync" }, { 0x04e8661b, "MITs Sync" }, { 0x04e8661e, "Handheld" }, { 0x04e86620, "Handheld" }, { 0x04e86622, "Handheld" }, { 0x04e86624, "Handheld" }, { 0x04e8662e, "MITs Sync" }, { 0x04e86630, "MITs Sync" }, { 0x04e86632, "MITs Sync" }, { 0x04e8663e, "D900e/B2100 Phone" }, { 0x04e8663f, "SGH-E720/SGH-E840" }, { 0x04e86640, "Usb Modem Enumerator" }, { 0x04e86642, "Samsung M7600 Beat/GT-S8300T/SGH-F490/S8300" }, { 0x04e86651, "i8510 Innov8" }, { 0x04e86702, "Samsung X830 Mobile Phone" }, { 0x04e86708, "U600 Phone" }, { 0x04e86709, "Samsung U600 Mobile Phone" }, { 0x04e86727, "Samsung F250 Mobile Phone" }, { 0x04e86734, "Samsung Juke (SCH-U470)" }, { 0x04e86752, "Samsung GT-B2700" }, { 0x04e86759, "D900e/B2100 Media Player" }, { 0x04e8675a, "D900e/B2100 Mass Storage" }, { 0x04e8675b, "D900e Camera" }, { 0x04e86763, "Samsung SAMSUNG Trance" }, { 0x04e86772, "Standalone LTE device (Trial)" }, { 0x04e86795, "S5230" }, { 0x04e86802, "Standalone HSPA device" }, { 0x04e86806, "Composite LTE device (Trial)" }, { 0x04e86807, "Composite HSPA device" }, { 0x04e86819, "Samsung GT-S8500" }, { 0x04e8681c, "Galaxy Portal/Spica/S" }, { 0x04e8681d, "Galaxy Portal/Spica Android Phone" }, { 0x04e86843, "E2530 Phone (Samsung Kies mode)" }, { 0x04e8684a, "Samsung S5620" }, { 0x04e8684e, "Wave (GT-S8500)" }, { 0x04e8685b, "GT-I9100 Phone [Galaxy S II] (mass storage mode)" }, { 0x04e8685c, "GT-I9250 Phone [Galaxy Nexus] (Mass storage mode)" }, { 0x04e8685d, "GT-I9100 Phone [Galaxy S II] (Download mode)" }, { 0x04e8685e, "GT-I9100 / GT-C3350 Phones (USB Debugging mode)" }, { 0x04e86860, "Galaxy series, misc. (MTP mode)" }, { 0x04e86863, "Galaxy series, misc. (tethering mode)" }, { 0x04e86864, "GT-I9070 (network tethering, USB debugging enabled)" }, { 0x04e86865, "Galaxy (PTP mode)" }, { 0x04e86866, "Samsung EK-GC100" }, { 0x04e86868, "Escape Composite driver for Android Phones: Modem+Diagnostic+ADB" }, { 0x04e86875, "GT-B3710 Standalone LTE device (Commercial)" }, { 0x04e86876, "GT-B3710 LTE Modem" }, { 0x04e86877, "Samsung Galaxy models Kies mode" }, { 0x04e8687a, "GT-E2370 mobile phone" }, { 0x04e86888, "GT-B3730 Composite LTE device (Commercial)" }, { 0x04e86889, "GT-B3730 Composite LTE device (Commercial)" }, { 0x04e8689a, "LTE Storage Driver [CMC2xx]" }, { 0x04e8689e, "GT-S5670 [Galaxy Fit]" }, { 0x04e868a9, "Samsung Vibrant SGH-T959/Captivate/Media player mode" }, { 0x04e868aa, "Reality" }, { 0x04e868af, "Samsung GT-B2710/Xcover 271" }, { 0x04e87011, "SEW-2003U Card" }, { 0x04e87021, "Bluetooth Device" }, { 0x04e87061, "eHome Infrared Receiver" }, { 0x04e87080, "Anycall SCH-W580" }, { 0x04e87081, "Human Interface Device" }, { 0x04e87301, "Fingerprint Device" }, { 0x04e88001, "Handheld" }, { 0x04e88002, "Portable SSD 500GB Model Number: MU - P8500B" }, { 0x04e88003, "Portable SSD T1" }, { 0x04e8d003, "GT-I9003" }, { 0x04e8e020, "SERI E02 SCOM 6200 UMTS Phone" }, { 0x04e8e021, "SERI E02 SCOM 6200 Virtual UARTs" }, { 0x04e8e022, "SERI E02 SCOM 6200 Flash Load Disk" }, { 0x04e8e20c, "Samsung GT-S5230" }, { 0x04e8f000, "Intensity 3 (Mass Storage Mode)" }, { 0x04e8ff30, "SG_iMON" }, { 0x04ebe004, "eHome Infrared Transceiver" }, { 0x04f10001, "GC-QX3 Digital Still Camera" }, { 0x04f10004, "GR-DVL815U Digital Video Camera" }, { 0x04f10006, "DV Camera Storage" }, { 0x04f10008, "GZ-MG30AA/MC500E Digital Video Camera" }, { 0x04f10009, "GR-DX25EK Digital Video Camera" }, { 0x04f1000a, "GR-D72 Digital Video Camera" }, { 0x04f11001, "GC-A50 Camera Device" }, { 0x04f13008, "MP-PRX1 Ethernet" }, { 0x04f13009, "MP-XP7250 WLAN Adapter" }, { 0x04f16105, "JVC Alneo XA-HD500" }, { 0x04f20001, "KU-8933 Keyboard" }, { 0x04f20002, "NT68P81 Keyboard" }, { 0x04f20110, "KU-2971 Keyboard" }, { 0x04f20111, "KU-9908 Keyboard" }, { 0x04f20112, "KU-8933 Keyboard with PS/2 Mouse port" }, { 0x04f20116, "KU-2971/KU-0325 Keyboard" }, { 0x04f20200, "KBR-0108" }, { 0x04f20201, "Gaming Keyboard KPD0250" }, { 0x04f20220, "Wireless HID Receiver" }, { 0x04f20402, "Genius LuxeMate i200 Keyboard" }, { 0x04f20403, "KU-0420 keyboard" }, { 0x04f20418, "KU-0418 Tactical Pad" }, { 0x04f20618, "RG-0618U Wireless HID Receiver & KG-0609 Wireless Keyboard with Touchpad" }, { 0x04f20718, "wired mouse" }, { 0x04f20760, "Acer KU-0760 Keyboard" }, { 0x04f20833, "KU-0833 Keyboard" }, { 0x04f20841, "HP Multimedia Keyboard" }, { 0x04f20860, "2.4G Multimedia Wireless Kit" }, { 0x04f20939, "Amazon Basics mouse" }, { 0x04f21061, "HP KG-1061 Wireless Keyboard+Mouse" }, { 0x04f21121, "Periboard 717 Mini Wireless Keyboard" }, { 0x04f22159, "PERIBOARD-535 [Perixx Ergo Keyboard]" }, { 0x04f2a001, "E-Video DC-100 Camera" }, { 0x04f2a120, "ORITE CCD Webcam(PC370R)" }, { 0x04f2a121, "ORITE CCD Webcam(PC370R)" }, { 0x04f2a122, "ORITE CCD Webcam(PC370R)" }, { 0x04f2a123, "ORITE CCD Webcam(PC370R)" }, { 0x04f2a124, "ORITE CCD Webcam(PC370R)" }, { 0x04f2a128, "PC Camera (SN9C202 + OV7663 + EEPROM)" }, { 0x04f2a133, "Gateway Webcam" }, { 0x04f2a136, "LabTec Webcam 5500" }, { 0x04f2a147, "Medion Webcam" }, { 0x04f2a204, "DSC WIA Device (1300)" }, { 0x04f2a208, "DSC WIA Device (2320)" }, { 0x04f2a209, "Labtec DC-2320" }, { 0x04f2a20a, "DSC WIA Device (3310)" }, { 0x04f2a20c, "DSC WIA Device (3320)" }, { 0x04f2a210, "Audio Device" }, { 0x04f2b008, "USB 2.0 Camera" }, { 0x04f2b009, "Integrated Camera" }, { 0x04f2b010, "Integrated Camera" }, { 0x04f2b012, "1.3 MPixel UVC Webcam" }, { 0x04f2b013, "USB 2.0 Camera" }, { 0x04f2b015, "VGA 24fps UVC Webcam" }, { 0x04f2b016, "VGA 30fps UVC Webcam" }, { 0x04f2b018, "2M UVC Webcam" }, { 0x04f2b021, "ViewSonic 1.3M, USB2.0 Webcam" }, { 0x04f2b022, "Gateway USB 2.0 Webcam" }, { 0x04f2b023, "Gateway USB 2.0 Webcam" }, { 0x04f2b024, "USB 2.0 Webcam" }, { 0x04f2b025, "Camera" }, { 0x04f2b027, "Gateway USB 2.0 Webcam" }, { 0x04f2b028, "VGA UVC Webcam" }, { 0x04f2b029, "1.3M UVC Webcam" }, { 0x04f2b036, "Asus Integrated 0.3M UVC Webcam" }, { 0x04f2b044, "Acer CrystalEye Webcam" }, { 0x04f2b057, "integrated USB webcam" }, { 0x04f2b059, "CKF7037 HP webcam" }, { 0x04f2b064, "CNA7137 Integrated Webcam" }, { 0x04f2b070, "Camera" }, { 0x04f2b071, "2.0M UVC Webcam / CNF7129" }, { 0x04f2b083, "CKF7063 Webcam (HP)" }, { 0x04f2b091, "Webcam" }, { 0x04f2b104, "CNF7069 Webcam" }, { 0x04f2b107, "CNF7070 Webcam" }, { 0x04f2b14c, "CNF8050 Webcam" }, { 0x04f2b159, "CNF8243 Webcam" }, { 0x04f2b15c, "Sony Vaio Integrated Camera" }, { 0x04f2b175, "4-Port Hub" }, { 0x04f2b1aa, "Webcam-101" }, { 0x04f2b1ac, "HP Laptop Integrated Webcam [2 MP Fixed]" }, { 0x04f2b1b4, "Lenovo Integrated Camera" }, { 0x04f2b1b9, "Asus Integrated Webcam" }, { 0x04f2b1bb, "2.0M UVC WebCam" }, { 0x04f2b1cf, "Lenovo Integrated Camera" }, { 0x04f2b1d6, "CNF9055 Toshiba Webcam" }, { 0x04f2b1d8, "1.3M Webcam" }, { 0x04f2b1e4, "Toshiba Integrated Webcam" }, { 0x04f2b213, "Fujitsu Integrated Camera" }, { 0x04f2b217, "Lenovo Integrated Camera (0.3MP)" }, { 0x04f2b221, "integrated camera" }, { 0x04f2b230, "Integrated HP HD Webcam" }, { 0x04f2b249, "HP Integrated Webcam" }, { 0x04f2b257, "Lenovo Integrated Camera" }, { 0x04f2b26b, "Sony Visual Communication Camera" }, { 0x04f2b272, "Lenovo EasyCamera" }, { 0x04f2b2b0, "Camera" }, { 0x04f2b2b9, "Lenovo Integrated Camera UVC" }, { 0x04f2b2da, "thinkpad t430s camera" }, { 0x04f2b2db, "Thinkpad T430 camera" }, { 0x04f2b2ea, "Integrated Camera [ThinkPad]" }, { 0x04f2b2f4, "HP Webcam-50" }, { 0x04f2b330, "Asus 720p CMOS webcam" }, { 0x04f2b354, "UVC 1.00 device HD UVC WebCam" }, { 0x04f2b394, "Integrated Camera" }, { 0x04f2b3eb, "HP 720p HD Monitor Webcam" }, { 0x04f2b3f6, "HD WebCam (Acer)" }, { 0x04f2b3fd, "HD WebCam (Asus N-series)" }, { 0x04f2b40e, "HP Truevision HD camera" }, { 0x04f2b420, "Lenovo EasyCamera" }, { 0x04f2b444, "Lenovo Integrated Webcam" }, { 0x04f2b49f, "Bluetooth (RTL8723BE)" }, { 0x04f2b563, "Integrated Camera" }, { 0x04f2b5ab, "Integrated Camera" }, { 0x04f2b5ac, "Integrated IR Camera" }, { 0x04f2b5ce, "Integrated Camera" }, { 0x04f2b5cf, "Integrated IR Camera" }, { 0x04f2b5db, "HP Webcam" }, { 0x04f2b5f7, "Integrated HD WebCam" }, { 0x04f2b604, "Integrated Camera (1280x720@30)" }, { 0x04f2b681, "ThinkPad T490 Webcam" }, { 0x04f2b71a, "Integrated IR Camera" }, { 0x04f2b76b, "SunplusIT Inc [HP HD Camera]" }, { 0x04f3000a, "Touchscreen" }, { 0x04f30103, "ActiveJet K-2024 Multimedia Keyboard" }, { 0x04f3016f, "Touchscreen" }, { 0x04f301a4, "Wireless Keyboard" }, { 0x04f30201, "Touchscreen" }, { 0x04f30210, "Optical Mouse" }, { 0x04f30212, "Laser Mouse" }, { 0x04f30214, "Lynx M9 Optical Mouse" }, { 0x04f30230, "3D Optical Mouse" }, { 0x04f30232, "Mouse" }, { 0x04f30234, "Optical Mouse" }, { 0x04f30235, "Optical Mouse" }, { 0x04f302f4, "2.4G Cordless Mouse" }, { 0x04f30381, "Touchscreen" }, { 0x04f304a0, "Dream Cheeky Stress/Panic Button" }, { 0x04f30c03, "WBF Fingerprint Sensor" }, { 0x04f30c28, "fingerprint sensor [FeinTech FPS00200]" }, { 0x04f30c3d, "Elan:Fingerprint" }, { 0x04f32234, "Touchscreen" }, { 0x04f90002, "HL-1050 Laser Printer" }, { 0x04f90005, "Printer" }, { 0x04f90006, "HL-1240 Laser Printer" }, { 0x04f90007, "HL-1250 Laser Printer" }, { 0x04f90008, "HL-1270 Laser Printer" }, { 0x04f90009, "Printer" }, { 0x04f9000a, "P2500 series" }, { 0x04f9000b, "Printer" }, { 0x04f9000c, "Printer" }, { 0x04f9000d, "HL-1440 Laser Printer" }, { 0x04f9000e, "HL-1450 series" }, { 0x04f9000f, "HL-1470N series" }, { 0x04f90010, "Printer" }, { 0x04f90011, "Printer" }, { 0x04f90012, "Printer" }, { 0x04f90013, "Printer" }, { 0x04f90014, "Printer" }, { 0x04f90015, "Printer" }, { 0x04f90016, "Printer" }, { 0x04f90017, "Printer" }, { 0x04f90018, "Printer" }, { 0x04f9001a, "HL-1430 Laser Printer" }, { 0x04f9001c, "Printer" }, { 0x04f9001e, "Printer" }, { 0x04f90020, "HL-5130 series" }, { 0x04f90021, "HL-5140 series" }, { 0x04f90022, "HL-5150D series" }, { 0x04f90023, "HL-5170DN series" }, { 0x04f90024, "Printer" }, { 0x04f90025, "Printer" }, { 0x04f90027, "HL-2030 Laser Printer" }, { 0x04f90028, "Printer" }, { 0x04f90029, "Printer" }, { 0x04f9002a, "HL-52x0 series" }, { 0x04f9002b, "HL-5250DN Printer" }, { 0x04f9002c, "Printer" }, { 0x04f9002d, "Printer" }, { 0x04f90037, "HL-3040CN series" }, { 0x04f90038, "HL-3070CW series" }, { 0x04f90039, "HL-5340 series" }, { 0x04f90041, "HL-2250DN Laser Printer" }, { 0x04f90042, "HL-2270DW Laser Printer" }, { 0x04f9004d, "HL-6180DW series" }, { 0x04f90080, "HL-L6250DN series" }, { 0x04f90100, "MFC8600/9650 series" }, { 0x04f90101, "MFC9600/9870 series" }, { 0x04f90102, "MFC9750/1200 series" }, { 0x04f90104, "MFC-8300J" }, { 0x04f90105, "MFC-9600J" }, { 0x04f90106, "MFC-7300C" }, { 0x04f90107, "MFC-7400C" }, { 0x04f90108, "MFC-9200C" }, { 0x04f90109, "MFC-830" }, { 0x04f9010a, "MFC-840" }, { 0x04f9010b, "MFC-860" }, { 0x04f9010c, "MFC-7400J" }, { 0x04f9010d, "MFC-9200J" }, { 0x04f9010e, "MFC-3100C Scanner" }, { 0x04f9010f, "MFC-5100C" }, { 0x04f90110, "MFC-4800 Scanner" }, { 0x04f90111, "MFC-6800" }, { 0x04f90112, "DCP1000 Port(FaxModem)" }, { 0x04f90113, "MFC-8500" }, { 0x04f90114, "MFC9700 Port(FaxModem)" }, { 0x04f90115, "MFC-9800 Scanner" }, { 0x04f90116, "DCP1400 Scanner" }, { 0x04f90119, "MFC-9660" }, { 0x04f9011a, "MFC-9860" }, { 0x04f9011b, "MFC-9880" }, { 0x04f9011c, "MFC-9760" }, { 0x04f9011d, "MFC-9070" }, { 0x04f9011e, "MFC-9180" }, { 0x04f9011f, "MFC-9160" }, { 0x04f90120, "MFC580 Port(FaxModem)" }, { 0x04f90121, "MFC-590" }, { 0x04f90122, "MFC-5100J" }, { 0x04f90124, "MFC-4800J" }, { 0x04f90125, "MFC-6800J" }, { 0x04f90127, "MFC-9800J" }, { 0x04f90128, "MFC-8500J" }, { 0x04f90129, "Imagistics 2500 (MFC-8640D clone)" }, { 0x04f9012b, "MFC-9030" }, { 0x04f9012e, "FAX4100e IntelliFax 4100e" }, { 0x04f9012f, "FAX-4750e" }, { 0x04f90130, "FAX-5750e" }, { 0x04f90132, "MFC-5200C RemovableDisk" }, { 0x04f90135, "MFC-100 Scanner" }, { 0x04f90136, "MFC-150CL Scanner" }, { 0x04f9013c, "MFC-890 Port" }, { 0x04f9013d, "MFC-5200J" }, { 0x04f9013e, "MFC-4420C RemovableDisk" }, { 0x04f9013f, "MFC-4820C RemovableDisk" }, { 0x04f90140, "DCP-8020" }, { 0x04f90141, "DCP-8025D" }, { 0x04f90142, "MFC-8420" }, { 0x04f90143, "MFC-8820D" }, { 0x04f90144, "DCP-4020C RemovableDisk" }, { 0x04f90146, "MFC-3220C" }, { 0x04f90147, "FAX-1820C Printer" }, { 0x04f90148, "MFC-3320CN" }, { 0x04f90149, "FAX-1920CN Printer" }, { 0x04f9014a, "MFC-3420C" }, { 0x04f9014b, "MFC-3820CN" }, { 0x04f9014c, "DCP-3020C" }, { 0x04f9014d, "FAX-1815C Printer" }, { 0x04f9014e, "MFC-8820J" }, { 0x04f9014f, "DCP-8025J" }, { 0x04f90150, "MFC-8220 Port(FaxModem)" }, { 0x04f90151, "MFC-8210J" }, { 0x04f90153, "DCP-1000J" }, { 0x04f90157, "MFC-3420J Printer" }, { 0x04f90158, "MFC-3820JN Port(FaxModem)" }, { 0x04f9015d, "MFC Composite Device" }, { 0x04f9015e, "DCP-8045D" }, { 0x04f9015f, "MFC-8440" }, { 0x04f90160, "MFC-8840D" }, { 0x04f90161, "MFC-210C" }, { 0x04f90162, "MFC-420CN Remote Setup Port" }, { 0x04f90163, "MFC-410CN RemovableDisk" }, { 0x04f90165, "MFC-620CN" }, { 0x04f90166, "MFC-610CLN RemovableDisk" }, { 0x04f90168, "MFC-620CLN" }, { 0x04f90169, "DCP-110C RemovableDisk" }, { 0x04f9016b, "DCP-310CN RemovableDisk" }, { 0x04f9016c, "FAX-2440C Printer" }, { 0x04f9016d, "MFC-5440CN" }, { 0x04f9016e, "MFC-5840CN Remote Setup Port" }, { 0x04f90170, "FAX-1840C Printer" }, { 0x04f90171, "FAX-1835C Printer" }, { 0x04f90172, "FAX-1940CN Printer" }, { 0x04f90173, "MFC-3240C Remote Setup Port" }, { 0x04f90174, "MFC-3340CN RemovableDisk" }, { 0x04f9017b, "Imagistics sx2100" }, { 0x04f90180, "MFC-7420" }, { 0x04f90181, "MFC-7820N Port(FaxModem)" }, { 0x04f90182, "DCP-7010" }, { 0x04f90183, "DCP-7020" }, { 0x04f90184, "DCP-7025 Printer" }, { 0x04f90185, "MFC-7220 Printer" }, { 0x04f90186, "Composite Device" }, { 0x04f90187, "FAX-2820 Printer" }, { 0x04f90188, "FAX-2920 Printer" }, { 0x04f9018a, "MFC-9420CN" }, { 0x04f9018c, "DCP-115C" }, { 0x04f9018d, "DCP-116C" }, { 0x04f9018e, "DCP-117C" }, { 0x04f9018f, "DCP-118C" }, { 0x04f90190, "DCP-120C" }, { 0x04f90191, "DCP-315CN" }, { 0x04f90192, "DCP-340CW" }, { 0x04f90193, "MFC-215C" }, { 0x04f90194, "MFC-425CN" }, { 0x04f90195, "MFC-820CW Remote Setup Port" }, { 0x04f90196, "MFC-820CN Remote Setup Port" }, { 0x04f90197, "MFC-640CW" }, { 0x04f9019a, "MFC-840CLN Remote Setup Port" }, { 0x04f901a2, "MFC-8640D" }, { 0x04f901a3, "Composite Device" }, { 0x04f901a4, "DCP-8065DN Printer" }, { 0x04f901a5, "MFC-8460N Port(FaxModem)" }, { 0x04f901a6, "MFC-8860DN Port(FaxModem)" }, { 0x04f901a7, "MFC-8870DW Printer" }, { 0x04f901a8, "DCP-130C" }, { 0x04f901a9, "DCP-330C" }, { 0x04f901aa, "DCP-540CN" }, { 0x04f901ab, "MFC-240C" }, { 0x04f901ae, "DCP-750CW RemovableDisk" }, { 0x04f901af, "MFC-440CN" }, { 0x04f901b0, "MFC-660CN" }, { 0x04f901b1, "MFC-665CW" }, { 0x04f901b2, "MFC-845CW" }, { 0x04f901b4, "MFC-460CN" }, { 0x04f901b5, "MFC-630CD" }, { 0x04f901b6, "MFC-850CDN" }, { 0x04f901b7, "MFC-5460CN" }, { 0x04f901b8, "MFC-5860CN" }, { 0x04f901ba, "MFC-3360C" }, { 0x04f901bd, "MFC-8660DN" }, { 0x04f901be, "DCP-750CN RemovableDisk" }, { 0x04f901bf, "MFC-860CDN" }, { 0x04f901c0, "DCP-128C" }, { 0x04f901c1, "DCP-129C" }, { 0x04f901c2, "DCP-131C" }, { 0x04f901c3, "DCP-329C" }, { 0x04f901c4, "DCP-331C" }, { 0x04f901c5, "MFC-239C" }, { 0x04f901c9, "DCP-9040CN" }, { 0x04f901ca, "MFC-9440CN" }, { 0x04f901cb, "DCP-9045CDN" }, { 0x04f901cc, "MFC-9840CDW" }, { 0x04f901ce, "DCP-135C" }, { 0x04f901cf, "DCP-150C" }, { 0x04f901d0, "DCP-350C" }, { 0x04f901d1, "DCP-560CN" }, { 0x04f901d2, "DCP-770CW" }, { 0x04f901d3, "DCP-770CN" }, { 0x04f901d4, "MFC-230C" }, { 0x04f901d5, "MFC-235C" }, { 0x04f901d6, "MFC-260C" }, { 0x04f901d7, "MFC-465CN" }, { 0x04f901d8, "MFC-680CN" }, { 0x04f901d9, "MFC-685CW" }, { 0x04f901da, "MFC-885CW" }, { 0x04f901db, "MFC-480CN" }, { 0x04f901dc, "MFC-650CD" }, { 0x04f901dd, "MFC-870CDN" }, { 0x04f901de, "MFC-880CDN" }, { 0x04f901df, "DCP-155C" }, { 0x04f901e0, "MFC-265C" }, { 0x04f901e1, "DCP-153C" }, { 0x04f901e2, "DCP-157C" }, { 0x04f901e3, "DCP-353C" }, { 0x04f901e4, "DCP-357C" }, { 0x04f901e7, "MFC-7340" }, { 0x04f901e9, "DCP-7040" }, { 0x04f901ea, "DCP-7030" }, { 0x04f901eb, "MFC-7320" }, { 0x04f901ec, "MFC-9640CW" }, { 0x04f901f4, "MFC-5890CN" }, { 0x04f90204, "DCP-165C" }, { 0x04f9020a, "MFC-8670DN" }, { 0x04f9020c, "DCP-9042CDN" }, { 0x04f9020d, "MFC-9450CDN" }, { 0x04f90216, "MFC-8880DN" }, { 0x04f90217, "MFC-8480DN" }, { 0x04f90219, "MFC-8380DN" }, { 0x04f9021a, "MFC-8370DN" }, { 0x04f9021b, "DCP-8070D" }, { 0x04f9021c, "MFC-9320CW" }, { 0x04f9021d, "MFC-9120CN" }, { 0x04f9021e, "DCP-9010CN" }, { 0x04f9021f, "DCP-8085DN" }, { 0x04f90220, "MFC-9010CN" }, { 0x04f90222, "DCP-195C" }, { 0x04f90223, "DCP-365CN" }, { 0x04f90224, "DCP-375CW" }, { 0x04f90225, "DCP-395CN" }, { 0x04f90227, "DCP-595CN" }, { 0x04f90228, "MFC-255CW" }, { 0x04f90229, "MFC-295CN" }, { 0x04f9022a, "MFC-495CW" }, { 0x04f9022b, "MFC-495CN" }, { 0x04f9022c, "MFC-795CW" }, { 0x04f9022d, "MFC-675CD" }, { 0x04f9022e, "MFC-695CDN" }, { 0x04f9022f, "MFC-735CD" }, { 0x04f90230, "MFC-935CDN" }, { 0x04f90234, "DCP-373CW" }, { 0x04f90235, "DCP-377CW" }, { 0x04f90236, "DCP-390CN" }, { 0x04f90239, "MFC-253CW" }, { 0x04f9023a, "MFC-257CW" }, { 0x04f9023e, "DCP-197C" }, { 0x04f9023f, "MFC-8680DN" }, { 0x04f90240, "MFC-J950DN" }, { 0x04f90245, "MFC-9560CDW" }, { 0x04f90248, "DCP-7055 scanner/printer" }, { 0x04f9024a, "DCP-7065DN" }, { 0x04f9024e, "MFC-7460DN" }, { 0x04f90253, "DCP-J125" }, { 0x04f90254, "DCP-J315W" }, { 0x04f90255, "DCP-J515W" }, { 0x04f90256, "DCP-J515N" }, { 0x04f90257, "DCP-J715W" }, { 0x04f90258, "DCP-J715N" }, { 0x04f90259, "MFC-J220" }, { 0x04f9025a, "MFC-J410" }, { 0x04f9025b, "MFC-J265W" }, { 0x04f9025c, "MFC-J415W" }, { 0x04f9025d, "MFC-J615W" }, { 0x04f9025e, "MFC-J615N" }, { 0x04f9025f, "MFC-J700D" }, { 0x04f90260, "MFC-J800D" }, { 0x04f90261, "MFC-J850DN" }, { 0x04f9026b, "MFC-J630W" }, { 0x04f9026d, "MFC-J805D" }, { 0x04f9026e, "MFC-J855DN" }, { 0x04f9026f, "MFC-J270W" }, { 0x04f90270, "MFC-7360N" }, { 0x04f90273, "DCP-7057 scanner/printer" }, { 0x04f90276, "MFC-5895CW" }, { 0x04f90278, "MFC-J410W" }, { 0x04f90279, "DCP-J525W" }, { 0x04f9027a, "DCP-J525N" }, { 0x04f9027b, "DCP-J725DW" }, { 0x04f9027c, "DCP-J725N" }, { 0x04f9027d, "DCP-J925DW" }, { 0x04f9027e, "MFC-J955DN" }, { 0x04f9027f, "MFC-J280W" }, { 0x04f90280, "MFC-J435W" }, { 0x04f90281, "MFC-J430W" }, { 0x04f90282, "MFC-J625DW" }, { 0x04f90283, "MFC-J825DW" }, { 0x04f90284, "MFC-J825N" }, { 0x04f90285, "MFC-J705D" }, { 0x04f90287, "MFC-J860DN" }, { 0x04f90288, "MFC-J5910DW" }, { 0x04f90289, "MFC-J5910CDW" }, { 0x04f9028a, "DCP-J925N" }, { 0x04f9028d, "MFC-J835DW" }, { 0x04f9028f, "MFC-J425W" }, { 0x04f90290, "MFC-J432W" }, { 0x04f90291, "DCP-8110DN" }, { 0x04f90292, "DCP-8150DN" }, { 0x04f90293, "DCP-8155DN" }, { 0x04f90294, "DCP-8250DN" }, { 0x04f90295, "MFC-8510DN" }, { 0x04f90296, "MFC-8520DN" }, { 0x04f90298, "MFC-8910DW" }, { 0x04f90299, "MFC-8950DW" }, { 0x04f9029a, "MFC-8690DW" }, { 0x04f9029c, "MFC-8515DN" }, { 0x04f9029e, "MFC-9125CN" }, { 0x04f9029f, "MFC-9325CW" }, { 0x04f902a0, "DCP-J140W" }, { 0x04f902a5, "MFC-7240" }, { 0x04f902a6, "FAX-2940" }, { 0x04f902a7, "FAX-2950" }, { 0x04f902a8, "MFC-7290" }, { 0x04f902ab, "FAX-2990" }, { 0x04f902ac, "DCP-8110D" }, { 0x04f902ad, "MFC-9130CW" }, { 0x04f902ae, "MFC-9140CDN" }, { 0x04f902af, "MFC-9330CDW" }, { 0x04f902b0, "MFC-9340CDW" }, { 0x04f902b1, "DCP-9020CDN" }, { 0x04f902b2, "MFC-J810DN" }, { 0x04f902b3, "MFC-J4510DW" }, { 0x04f902b4, "MFC-J4710DW" }, { 0x04f902b5, "DCP-8112DN" }, { 0x04f902b6, "DCP-8152DN" }, { 0x04f902b7, "DCP-8157DN" }, { 0x04f902b8, "MFC-8512DN" }, { 0x04f902ba, "MFC-8912DW" }, { 0x04f902bb, "MFC-8952DW" }, { 0x04f902bc, "DCP-J540N" }, { 0x04f902bd, "DCP-J740N" }, { 0x04f902be, "MFC-J710D" }, { 0x04f902bf, "MFC-J840N" }, { 0x04f902c0, "DCP-J940N" }, { 0x04f902c1, "MFC-J960DN" }, { 0x04f902c2, "DCP-J4110DW" }, { 0x04f902c3, "MFC-J4310DW" }, { 0x04f902c4, "MFC-J4410DW" }, { 0x04f902c5, "MFC-J4610DW" }, { 0x04f902c6, "DCP-J4210N" }, { 0x04f902c7, "MFC-J4510N" }, { 0x04f902c8, "MFC-J4910CDW" }, { 0x04f902c9, "MFC-J4810DN" }, { 0x04f902ca, "MFC-8712DW" }, { 0x04f902cb, "MFC-8710DW" }, { 0x04f902cc, "MFC-J2310" }, { 0x04f902cd, "MFC-J2510" }, { 0x04f902ce, "DCP-7055W" }, { 0x04f902cf, "DCP-7057W" }, { 0x04f902d0, "DCP-1510" }, { 0x04f902d1, "MFC-1810" }, { 0x04f902d3, "DCP-9020CDW" }, { 0x04f902d4, "MFC-8810DW" }, { 0x04f902dd, "DCP-J4215N" }, { 0x04f902de, "DCP-J132W" }, { 0x04f902df, "DCP-J152W" }, { 0x04f902e0, "DCP-J152N" }, { 0x04f902e1, "DCP-J172W" }, { 0x04f902e2, "DCP-J552DW" }, { 0x04f902e3, "DCP-J552N" }, { 0x04f902e4, "DCP-J752DW" }, { 0x04f902e5, "DCP-J752N" }, { 0x04f902e6, "DCP-J952N" }, { 0x04f902e7, "MFC-J245" }, { 0x04f902e8, "MFC-J470DW" }, { 0x04f902e9, "MFC-J475DW" }, { 0x04f902ea, "MFC-J285DW" }, { 0x04f902eb, "MFC-J650DW" }, { 0x04f902ec, "MFC-J870DW" }, { 0x04f902ed, "MFC-J870N" }, { 0x04f902ee, "MFC-J720D" }, { 0x04f902ef, "MFC-J820DN" }, { 0x04f902f0, "MFC-J980DN" }, { 0x04f902f1, "MFC-J890DN" }, { 0x04f902f2, "MFC-J6520DW" }, { 0x04f902f3, "MFC-J6570CDW" }, { 0x04f902f4, "MFC-J6720DW" }, { 0x04f902f5, "MFC-J6920DW" }, { 0x04f902f6, "MFC-J6970CDW" }, { 0x04f902f7, "MFC-J6975CDW" }, { 0x04f902f8, "MFC-J6770CDW" }, { 0x04f902f9, "DCP-J132N" }, { 0x04f902fa, "MFC-J450DW" }, { 0x04f902fb, "MFC-J875DW" }, { 0x04f902fc, "DCP-J100" }, { 0x04f902fd, "DCP-J105" }, { 0x04f902fe, "MFC-J200" }, { 0x04f902ff, "MFC-J3520" }, { 0x04f90300, "MFC-J3720" }, { 0x04f9030f, "DCP-L8400CDN" }, { 0x04f90310, "DCP-L8450CDW" }, { 0x04f90311, "MFC-L8600CDW" }, { 0x04f90312, "MFC-L8650CDW" }, { 0x04f90313, "MFC-L8850CDW" }, { 0x04f90314, "MFC-L9550CDW" }, { 0x04f90318, "MFC-7365DN" }, { 0x04f90320, "MFC-L2740DW" }, { 0x04f90321, "DCP-L2500D" }, { 0x04f90322, "DCP-L2520DW" }, { 0x04f90324, "DCP-L2520D" }, { 0x04f90326, "DCP-L2540DN" }, { 0x04f90328, "DCP-L2540DW" }, { 0x04f90329, "DCP-L2560DW" }, { 0x04f90330, "HL-L2380DW" }, { 0x04f90331, "MFC-L2700DW" }, { 0x04f90335, "FAX-L2700DN" }, { 0x04f90337, "MFC-L2720DW" }, { 0x04f90338, "MFC-L2720DN" }, { 0x04f90339, "DCP-J4120DW" }, { 0x04f9033a, "MFC-J4320DW" }, { 0x04f9033c, "MFC-J2320" }, { 0x04f9033d, "MFC-J4420DW" }, { 0x04f90340, "MFC-J4620DW" }, { 0x04f90341, "MFC-J2720" }, { 0x04f90342, "MFC-J4625DW" }, { 0x04f90343, "MFC-J5320DW" }, { 0x04f90346, "MFC-J5620DW" }, { 0x04f90347, "MFC-J5720DW" }, { 0x04f90349, "DCP-J4220N" }, { 0x04f9034b, "MFC-J4720N" }, { 0x04f9034e, "MFC-J5720CDW" }, { 0x04f9034f, "MFC-J5820DN" }, { 0x04f90350, "MFC-J5620CDW" }, { 0x04f90351, "DCP-J137N" }, { 0x04f90353, "DCP-J557N" }, { 0x04f90354, "DCP-J757N" }, { 0x04f90355, "DCP-J957N" }, { 0x04f90356, "MFC-J877N" }, { 0x04f90357, "MFC-J727D" }, { 0x04f90358, "MFC-J987DN" }, { 0x04f90359, "MFC-J827DN" }, { 0x04f9035a, "MFC-J897DN" }, { 0x04f9035b, "DCP-1610W" }, { 0x04f9035c, "DCP-1610NW" }, { 0x04f9035d, "MFC-1910W" }, { 0x04f9035e, "MFC-1910NW" }, { 0x04f90360, "DCP-1618W" }, { 0x04f90361, "MFC-1919NW" }, { 0x04f90364, "MFC-J5625DW" }, { 0x04f90365, "MFC-J4520DW" }, { 0x04f90366, "MFC-J5520DW" }, { 0x04f90367, "DCP-7080D" }, { 0x04f90368, "DCP-7080" }, { 0x04f90369, "DCP-7180DN" }, { 0x04f9036a, "DCP-7189DW" }, { 0x04f9036b, "MFC-7380" }, { 0x04f9036c, "MFC-7480D" }, { 0x04f9036d, "MFC-7880DN" }, { 0x04f9036e, "MFC-7889DW" }, { 0x04f9036f, "DCP-9022CDW" }, { 0x04f90370, "MFC-9142CDN" }, { 0x04f90371, "MFC-9332CDW" }, { 0x04f90372, "MFC-9342CDW" }, { 0x04f90373, "MFC-L2700D" }, { 0x04f90376, "DCP-1600" }, { 0x04f90377, "MFC-1900" }, { 0x04f90378, "DCP-1608" }, { 0x04f90379, "DCP-1619" }, { 0x04f9037a, "MFC-1906" }, { 0x04f9037b, "MFC-1908" }, { 0x04f9037c, "ADS-2000e" }, { 0x04f9037d, "ADS-2100e" }, { 0x04f9037e, "ADS-2500We" }, { 0x04f9037f, "ADS-2600We" }, { 0x04f90380, "DCP-J562DW" }, { 0x04f90381, "DCP-J562N" }, { 0x04f90383, "DCP-J962N" }, { 0x04f90384, "MFC-J480DW" }, { 0x04f90385, "MFC-J485DW" }, { 0x04f90386, "MFC-J460DW" }, { 0x04f90388, "MFC-J680DW" }, { 0x04f90389, "MFC-J880DW" }, { 0x04f9038a, "MFC-J885DW" }, { 0x04f9038b, "MFC-J880N" }, { 0x04f9038c, "MFC-J730DN" }, { 0x04f9038d, "MFC-J990DN" }, { 0x04f9038e, "MFC-J830DN" }, { 0x04f9038f, "MFC-J900DN" }, { 0x04f90390, "MFC-J5920DW" }, { 0x04f90392, "MFC-L2705DW" }, { 0x04f90393, "DCP-T300" }, { 0x04f90394, "DCP-T500W" }, { 0x04f90395, "DCP-T700W" }, { 0x04f90396, "MFC-T800W" }, { 0x04f90397, "DCP-J963N" }, { 0x04f903b3, "MFC-J6925DW" }, { 0x04f903b4, "MFC-J6573CDW" }, { 0x04f903b5, "MFC-J6973CDW" }, { 0x04f903b6, "MFC-J6990CDW" }, { 0x04f903bb, "MFC-L2680W" }, { 0x04f903bc, "MFC-L2700DN" }, { 0x04f903bd, "DCP-J762N" }, { 0x04f903fd, "ADS-2700W" }, { 0x04f9043f, "MFC-L3770CDW" }, { 0x04f90440, "MFC-9350CDW" }, { 0x04f90441, "MFC-L3750CDW" }, { 0x04f90442, "MFC-L3745CDW" }, { 0x04f90443, "MFC-L3735CDN" }, { 0x04f90444, "MFC-9150CDN" }, { 0x04f90445, "MFC-L3730CDN" }, { 0x04f90446, "MFC-L3710CW" }, { 0x04f90447, "DCP-9030CDN" }, { 0x04f90448, "DCP-L3550CDW" }, { 0x04f9044a, "HL-L3290CDW" }, { 0x04f9044b, "DCP-L3510CDW" }, { 0x04f9044c, "DCP-L3551CDW" }, { 0x04f91000, "Printer" }, { 0x04f91002, "Printer" }, { 0x04f92002, "PTUSB Printing" }, { 0x04f92004, "PT-2300/2310 p-Touch Laber Printer" }, { 0x04f92007, "PT-2420PC P-touch Label Printer" }, { 0x04f92015, "QL-500 label printer" }, { 0x04f92016, "QL-550 printer" }, { 0x04f9201a, "PT-18R P-touch label printer" }, { 0x04f9201b, "QL-650TD Label Printer" }, { 0x04f92020, "QL-1050 Label Printer" }, { 0x04f92027, "QL-560 Label Printer" }, { 0x04f92028, "QL-570 Label Printer" }, { 0x04f9202a, "QL-1060N Label Printer" }, { 0x04f9202b, "PT-7600 P-touch Label Printer" }, { 0x04f9202c, "PT-1230PC P-touch Label Printer E mode" }, { 0x04f9202d, "PT-2430PC P-touch Label Printer" }, { 0x04f92030, "PT-1230PC P-touch Label Printer EL mode" }, { 0x04f92041, "PT-2730 P-touch Label Printer" }, { 0x04f92042, "QL-700 Label Printer" }, { 0x04f92043, "QL-710W Label Printer" }, { 0x04f92044, "QL-720NW Label Printer" }, { 0x04f92049, "QL-700 Label Printer (mass storage)" }, { 0x04f9204d, "QL-720NW Label Printer (mass storage mode)" }, { 0x04f92060, "PT-E550W P-touch Label Printer" }, { 0x04f92061, "PT-P700 P-touch Label Printer" }, { 0x04f92064, "PT-P700 P-touch Label Printer RemovableDisk" }, { 0x04f92074, "PT-D600 P-touch Label Printer" }, { 0x04f9209b, "QL-800 Label Printer" }, { 0x04f9209c, "QL-810W Label Printer" }, { 0x04f9209d, "QL-820NWB Label Printer" }, { 0x04f920a7, "QL-1100 Label Printer" }, { 0x04f920a8, "QL-1110NWB Label Printer" }, { 0x04f920a9, "QL-1100 Label Printer (mass storage)" }, { 0x04f920aa, "QL-1110NWB Label Printer (mass storage)" }, { 0x04f920ab, "QL-1115NWB Label Printer" }, { 0x04f920ac, "QL-1115NWB Label Printer (mass storage)" }, { 0x04f920c0, "QL-600 Label Printer" }, { 0x04f92100, "Card Reader Writer" }, { 0x04f92102, "Sewing machine" }, { 0x04f960a0, "ADS-2000" }, { 0x04f960a1, "ADS-2100" }, { 0x04f960a4, "ADS-2500W" }, { 0x04f960a5, "ADS-2600W" }, { 0x04f960a6, "ADS-1000W" }, { 0x04f960a7, "ADS-1100W" }, { 0x04f960a8, "ADS-1500W" }, { 0x04f960a9, "ADS-1600W" }, { 0x04fa2490, "DS1490F 2-in-1 Fob, 1-Wire adapter" }, { 0x04fa4201, "DS4201 Audio DAC" }, { 0x04fc0003, "CM1092 / Wintech CM-5098 Optical Mouse" }, { 0x04fc0005, "USB OpticalWheel Mouse" }, { 0x04fc0013, "ViewMate Desktop Mouse CC2201" }, { 0x04fc0015, "ViewMate Desktop Mouse CC2201" }, { 0x04fc00d3, "00052486 / Laser Mouse M1052 [hama]" }, { 0x04fc0171, "SPCA1527A/SPCA1528 SD card camera (Mass Storage mode)" }, { 0x04fc0201, "SPCP825 RS232C Adapter" }, { 0x04fc0232, "Fingerprint" }, { 0x04fc0538, "Wireless Optical Mouse 2.4G [Bright]" }, { 0x04fc0561, "Flexcam 100" }, { 0x04fc05d8, "Wireless keyboard/mouse" }, { 0x04fc05da, "SPEEDLINK SNAPPY Wireless Mouse Nano" }, { 0x04fc0c15, "SPIF215A SATA bridge" }, { 0x04fc0c25, "SATALink SPIF225A" }, { 0x04fc1528, "SPCA1527A/SPCA1528 SD card camera (webcam mode)" }, { 0x04fc1533, "Mass Storage" }, { 0x04fc2080, "ASUS Webcam" }, { 0x04fc500c, "CA500C Digital Camera" }, { 0x04fc504a, "Aiptek Mini PenCam 1.3" }, { 0x04fc504b, "Aiptek Mega PockerCam 1.3/Maxell MaxPocket LE 1.3" }, { 0x04fc5330, "Digitrex 2110" }, { 0x04fc5331, "Vivitar Vivicam 10" }, { 0x04fc5360, "Sunplus Generic Digital Camera" }, { 0x04fc5563, "Digital Media Player MP3/WMA [The Sharper Image]" }, { 0x04fc5720, "Card Reader Driver" }, { 0x04fc6333, "Siri A9 UVC chipset" }, { 0x04fc7333, "Finet Technology Palmpix DC-85" }, { 0x04fc757a, "Aiptek, MP315 MP3 Player" }, { 0x04fcffff, "PureDigital Ritz Disposable" }, { 0x04fd0003, "Smart Card Reader II" }, { 0x04fe0006, "Happy Hacking Keyboard Lite2" }, { 0x05000001, "DART Keyboard Mouse" }, { 0x05000002, "DART-2 Keyboard" }, { 0x05020001, "Handheld" }, { 0x05020736, "Handheld" }, { 0x050215b1, "PDA n311" }, { 0x05021631, "c10 Series" }, { 0x05021632, "c20 Series" }, { 0x050216e1, "n10 Handheld Sync" }, { 0x050216e2, "n20 Pocket PC Sync" }, { 0x050216e3, "n30 Handheld Sync" }, { 0x05022008, "Liquid Gallant Duo E350 (preloader)" }, { 0x05023202, "Liquid" }, { 0x05023203, "Liquid (Debug mode)" }, { 0x05023230, "BeTouch E120" }, { 0x05023317, "Liquid" }, { 0x05023325, "Acer Iconia TAB A500 (ID1)" }, { 0x05023341, "Acer Iconia TAB A500 (ID2)" }, { 0x05023344, "Acer Iconia TAB A501 (ID1)" }, { 0x05023345, "Acer Iconia TAB A501 (ID2)" }, { 0x05023348, "Acer Iconia TAB A100 (ID1)" }, { 0x05023349, "Acer Iconia TAB A100 (ID2)" }, { 0x0502334a, "Acer Iconia TAB A101 (ID1)" }, { 0x05023378, "Acer Iconia TAB A700" }, { 0x0502337c, "Acer Iconia TAB A200 (ID1)" }, { 0x0502337d, "Acer Iconia TAB A200 (ID2)" }, { 0x05023389, "Acer Iconia TAB A510 (ID1)" }, { 0x0502338a, "Acer Iconia TAB A510 (ID2)" }, { 0x050233aa, "Acer S500 CloudMobile" }, { 0x050233c3, "Acer E350 Liquid Gallant Duo (ID1)" }, { 0x050233c4, "Acer E350 Liquid Gallant Duo (ID2)" }, { 0x050233c7, "Liquid Gallant Duo E350 (USB tethering)" }, { 0x050233c8, "Liquid Gallant Duo E350 (debug mode, USB tethering)" }, { 0x050233cb, "Acer Iconia TAB A210" }, { 0x050233d8, "Acer Iconia TAB A110" }, { 0x05023473, "Acer Liquid Z120 MT65xx Android Phone" }, { 0x05023514, "Acer Liquid E2" }, { 0x0502353c, "Acer Iconia A1-810" }, { 0x0502355f, "Acer Liquid Z130 MT65xx Android Phone" }, { 0x05023586, "Acer Iconia A3-A11" }, { 0x050235a8, "Acer Liquid E3" }, { 0x050235e4, "Acer Z150" }, { 0x05023609, "Acer Liquid X1" }, { 0x0502361d, "Acer Z160" }, { 0x0502362d, "Acer Iconia A1-840FHD" }, { 0x05023643, "Acer E39" }, { 0x05023644, "Acer liquid e700" }, { 0x05023657, "Acer One 7" }, { 0x0502365e, "Acer A1-841" }, { 0x05023683, "Acer Z200" }, { 0x05023725, "Acer Liquid S56" }, { 0x0502374f, "Acer Liquid Z220 (ID1)" }, { 0x05023750, "Acer Liquid Z330" }, { 0x050237ef, "Acer Liquid Z630" }, { 0x05023822, "Acer Z530" }, { 0x05023823, "Acer Z530 16GB" }, { 0x05023841, "Acer B3-A20" }, { 0x0502387a, "Acer A3-A40" }, { 0x05023886, "Acer Zest T06" }, { 0x050238a5, "Acer Liquid Zest 4G" }, { 0x050238bb, "Acer Liquid Zest Plus" }, { 0x05023938, "Acer Liquid Liquid Z6E" }, { 0x0502394b, "Acer Iconia One 10 B3-A40" }, { 0x0502d001, "Divio NW801/DVC-V6+ Digital Camera" }, { 0x0506009d, "HomeConnect Camera" }, { 0x050600a0, "3CREB96 Bluetooth Adapter" }, { 0x050600a1, "Bluetooth Device" }, { 0x050600a2, "Bluetooth Device" }, { 0x050600df, "3Com Home Connect lite" }, { 0x05060100, "HomeConnect ADSL Modem Driver" }, { 0x050603e8, "3C19250 Ethernet [klsi]" }, { 0x05060a01, "3CRSHEW696 Wireless Adapter" }, { 0x05060a11, "3CRWE254G72 802.11g Adapter" }, { 0x050611f8, "HomeConnect 3C460" }, { 0x05062922, "HomeConnect Cable Modem External with" }, { 0x05063021, "U.S.Robotics 56000 Voice FaxModem Pro" }, { 0x05064601, "3C460B 10/100 Ethernet Adapter" }, { 0x0506f002, "3CP4218 ADSL Modem (pre-init)" }, { 0x0506f003, "3CP4218 ADSL Modem" }, { 0x0506f100, "3CP4218 ADSL Modem (pre-init)" }, { 0x05070011, "Konami ParaParaParadise Controller" }, { 0x05090801, "ADSL Modem" }, { 0x05090802, "ADSL Modem (RFC1483)" }, { 0x05090806, "DSL Modem" }, { 0x0509080f, "Binatone ADSL500 Modem Network Interface" }, { 0x05090812, "Pirelli ADSL Modem Network Interface" }, { 0x050d0004, "Direct Connect" }, { 0x050d0012, "F8T012 Bluetooth Adapter" }, { 0x050d0013, "F8T013 Bluetooth Adapter" }, { 0x050d0017, "B8T017 Bluetooth+EDR 2.1 / F4U017 USB 2.0 7-port Hub" }, { 0x050d003a, "Universal Media Reader" }, { 0x050d0050, "F5D6050 802.11b Wireless Adapter v2000 [Atmel at76c503a]" }, { 0x050d0081, "F8T001v2 Bluetooth" }, { 0x050d0083, "Bluetooth Device" }, { 0x050d0084, "F8T003v2 Bluetooth" }, { 0x050d0102, "Flip KVM" }, { 0x050d0103, "F5U103 Serial Adapter [etek]" }, { 0x050d0106, "VideoBus II Adapter, Video" }, { 0x050d0108, "F1DE108B KVM" }, { 0x050d0109, "F5U109/F5U409 PDA Adapter" }, { 0x050d0115, "SCSI Adapter" }, { 0x050d0119, "F5U120-PC Dual PS/2 Ports / F5U118-UNV ADB Adapter" }, { 0x050d0121, "F5D5050 100Mbps Ethernet" }, { 0x050d0122, "Ethernet Adapter" }, { 0x050d0131, "Bluetooth Device with trace filter" }, { 0x050d016a, "Bluetooth Mini Dongle" }, { 0x050d0200, "Nostromo SpeedPad n52te Gaming Keyboard" }, { 0x050d0201, "Peripheral Switch" }, { 0x050d0208, "USBView II Video Adapter [nt1004]" }, { 0x050d0210, "F5U228 Hi-Speed USB 2.0 DVD Creator" }, { 0x050d0211, "F5U211 USB 2.0 15-in-1 Media Reader & Writer" }, { 0x050d0224, "F5U224 USB 2.0 4-Port Hub" }, { 0x050d0234, "F5U234 USB 2.0 4-Port Hub" }, { 0x050d0237, "F5U237 USB 2.0 7-Port Hub" }, { 0x050d0240, "F5U240 USB 2.0 CF Card Reader" }, { 0x050d0249, "USB 2 Flash Media Device" }, { 0x050d0257, "F5U257 Serial" }, { 0x050d0304, "FSU304 USB 2.0 - 4 Ports Hub" }, { 0x050d0307, "USB 2.0 - 7 ports Hub [FSU307]" }, { 0x050d038c, "F2CU038 HDMI Adapter" }, { 0x050d0409, "F5U409 Serial" }, { 0x050d0416, "Staples 12416 7 port desktop hub" }, { 0x050d0551, "F6C550-AVR UPS" }, { 0x050d065a, "F8T065BF Mini Bluetooth 4.0 Adapter" }, { 0x050d0706, "2-N-1 7-Port Hub (Lower half)" }, { 0x050d0802, "Nostromo n40 Gamepad" }, { 0x050d0803, "Nostromo 1745 GamePad" }, { 0x050d0805, "Nostromo N50 GamePad" }, { 0x050d0815, "Nostromo n52 HID SpeedPad Mouse Wheel" }, { 0x050d0826, "ErgoFit Wireless Optical Mouse (HID)" }, { 0x050d0980, "HID UPS Battery" }, { 0x050d1004, "F9L1004 802.11n Surf N300 XR Wireless Adapter [Realtek RTL8192CU]" }, { 0x050d1102, "F7D1102 N150/Surf Micro Wireless Adapter v1000 [Realtek RTL8188CUS]" }, { 0x050d1103, "F9L1103 N750 DB 802.11abgn 2x3:3 [Ralink RT3573]" }, { 0x050d1106, "F9L1106v1 802.11a/b/g/n/ac Wireless Adapter [Broadcom BCM43526]" }, { 0x050d1109, "F9L1109v1 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]" }, { 0x050d110a, "F9L1101v2 802.11abgn Wireless Adapter [Realtek RTL8192DU]" }, { 0x050d11f2, "ISY Wireless Micro Adapter IWL 2000 [RTL8188CUS]" }, { 0x050d1202, "F5U120-PC Parallel Printer Port" }, { 0x050d1203, "F5U120-PC Serial Port" }, { 0x050d2103, "F7D2102 802.11n N300 Micro Wireless Adapter v3000 [Realtek RTL8192CU]" }, { 0x050d21f1, "N300 WLAN N Adapter [ISY]" }, { 0x050d21f2, "RTL8192CU 802.11n WLAN Adapter [ISY IWL 4000]" }, { 0x050d258a, "F5U258 Host to Host cable" }, { 0x050d3101, "F1DF102U/F1DG102U Flip Hub" }, { 0x050d3201, "F1DF102U/F1DG102U Flip KVM" }, { 0x050d4050, "ZD1211B" }, { 0x050d5055, "F5D5055 Gigabit Network Adapter [AX88xxx]" }, { 0x050d6050, "F6D6050 802.11abgn Wireless Adapter [Broadcom BCM4323]" }, { 0x050d6051, "F5D6051 802.11b Wireless Network Adapter [ZyDAS ZD1201]" }, { 0x050d615a, "F7D4101 / F9L1101v1 802.11abgn Wireless Adapter [Broadcom BCM4323]" }, { 0x050d7050, "F5D7050 Wireless G Adapter v1000/v2000 [Intersil ISL3887]" }, { 0x050d7051, "F5D7051 802.11g Adapter v1000 [Broadcom 4320 USB]" }, { 0x050d705a, "F5D7050 Wireless G Adapter v3000 [Ralink RT2571W]" }, { 0x050d705b, "Wireless G Adapter" }, { 0x050d705c, "F5D7050 Wireless G Adapter v4000 [Zydas ZD1211B]" }, { 0x050d705e, "F5D7050 Wireless G Adapter v5000 [Realtek RTL8187B]" }, { 0x050d706a, "2-N-1 7-Port Hub (Upper half)" }, { 0x050d8053, "F5D8053 N Wireless USB Adapter v1000/v4000 [Ralink RT2870]" }, { 0x050d805c, "F5D8053 N Wireless Adapter v3000 [Ralink RT2870]" }, { 0x050d805e, "F5D8053 N Wireless USB Adapter v5000 [Realtek RTL8192U]" }, { 0x050d815c, "F5D8053 N Wireless USB Adapter v3000 [Ralink RT2870]" }, { 0x050d815f, "F5D8053 N Wireless USB Adapter v6000 [Realtek RTL8192SU]" }, { 0x050d825a, "F5D8055 N+ Wireless Adapter v1000 [Ralink RT2870]" }, { 0x050d825b, "F5D8055 N+ Wireless Adapter v2000 [Ralink RT3072]" }, { 0x050d845a, "F7D2101 802.11n Surf & Share Wireless Adapter v1000 [Realtek RTL8192SU]" }, { 0x050d905b, "F5D9050 Wireless G+ MIMO Network Adapter v3000 [Ralink RT2573]" }, { 0x050d905c, "F5D9050 Wireless G+ MIMO Network Adapter v4000 [Ralink RT2573]" }, { 0x050d935a, "F6D4050 N150 Enhanced Wireless Network Adapter v1000 [Ralink RT3070]" }, { 0x050d935b, "F6D4050 N150 Enhanced Wireless Network Adapter v2000 [Ralink RT3070]" }, { 0x050d945a, "F7D1101 v1 Basic Wireless Adapter [Realtek RTL8188SU]" }, { 0x050d945b, "F7D1101 v2 Basic Wireless Adapter [Ralink RT3370]" }, { 0x050dd321, "Dynex DX-NUSB 802.11bgn Wireless Adapter [Broadcom BCM43231]" }, { 0x050f0001, "Hub" }, { 0x050f0003, "KC82C160S Hub" }, { 0x050f0180, "KC-180 IrDA Dongle" }, { 0x050f0190, "KC2190 USB Host-to-Host cable" }, { 0x05100001, "Keyboard" }, { 0x05101000, "Keyboard with PS/2 Mouse Port" }, { 0x0510e001, "Mouse" }, { 0x0511002b, "AOC DVB" }, { 0x05180001, "USB to PS2 Adaptor v1.09" }, { 0x05180002, "EZ-9900C Keyboard" }, { 0x05190003, "TSP100ECO/TSP100II" }, { 0x0519c002, "Xlive Bluetooth XBM-100S MP3 Player" }, { 0x051aa005, "Smart Display Version 9973" }, { 0x051c0005, "VFD Module" }, { 0x051cc001, "eHome Infrared Receiver" }, { 0x051cc002, "eHome Infrared Receiver" }, { 0x051d0001, "UPS" }, { 0x051d0002, "Uninterruptible Power Supply" }, { 0x051d0003, "UPS" }, { 0x0525100d, "RFMD Bluetooth Device" }, { 0x05251080, "NET1080 USB-USB Bridge" }, { 0x05251200, "SSDC Adapter II" }, { 0x05251265, "File-backed Storage Gadget" }, { 0x05253424, "V30x/V4xx fingerprint sensor [Lumidigm]" }, { 0x0525a0f0, "Cambridge Electronic Devices Power1401 mk 2" }, { 0x0525a140, "USB Clik! 40" }, { 0x0525a141, "(OME) PocketZip 40 MP3 Player Driver" }, { 0x0525a220, "GVC Bluetooth Wireless Adapter" }, { 0x0525a4a0, "Linux-USB \"Gadget Zero\"" }, { 0x0525a4a1, "Linux-USB Ethernet Gadget" }, { 0x0525a4a2, "Linux-USB Ethernet/RNDIS Gadget" }, { 0x0525a4a3, "Linux-USB user-mode isochronous source/sink" }, { 0x0525a4a4, "Linux-USB user-mode bulk source/sink" }, { 0x0525a4a5, "Linux-USB File-backed Storage Gadget" }, { 0x0525a4a6, "Linux-USB Serial Gadget" }, { 0x0525a4a7, "Linux-USB Serial Gadget (CDC ACM mode)" }, { 0x0525a4a8, "Linux-USB Printer Gadget" }, { 0x0525a4a9, "Linux-USB OBEX Gadget" }, { 0x0525a4aa, "Linux-USB CDC Composite Gadge (Ethernet and ACM)" }, { 0x0525a4ab, "Linux-USB Multifunction Composite Gadget" }, { 0x0525a4ac, "Linux-USB HID Gadget" }, { 0x05287561, "TV Wonder" }, { 0x05287562, "TV Wonder, Edition (FN5)" }, { 0x05287563, "TV Wonder, Edition (FI)" }, { 0x05287564, "TV Wonder, Edition (FQ)" }, { 0x05287565, "TV Wonder, Edition (NTSC+)" }, { 0x05287566, "TV Wonder, Edition (FN5)" }, { 0x05287567, "TV Wonder, Edition (FI)" }, { 0x05287568, "TV Wonder, Edition (FQ)" }, { 0x05287569, "Live! Pro (A)" }, { 0x0528756a, "Live! Pro Audio (O)" }, { 0x05290001, "HASP copy protection dongle" }, { 0x0529030b, "eToken R1 v3.1.3.x" }, { 0x05290313, "eToken R1 v3.2.3.x" }, { 0x0529031b, "eToken R1 v3.3.3.x" }, { 0x05290323, "eToken R1 v3.4.3.x" }, { 0x05290412, "eToken R2 v2.2.4.x" }, { 0x0529041a, "eToken R2 v2.2.4.x" }, { 0x05290422, "eToken R2 v2.4.4.x" }, { 0x0529042a, "eToken R2 v2.5.4.x" }, { 0x0529050c, "eToken Pro v4.1.5.x" }, { 0x05290514, "eToken Pro v4.2.5.4" }, { 0x05290600, "eToken Pro 64k (4.2)" }, { 0x05290620, "Token JC" }, { 0x052b0102, "Ca508A HP1020 Camera v.1.3.1.6" }, { 0x052b0801, "Yakumo MegaImage 37" }, { 0x052b1512, "Yakumo MegaImage IV" }, { 0x052b1513, "Aosta CX100 Webcam" }, { 0x052b1514, "Aosta CX100 Webcam Storage" }, { 0x052b1905, "Yakumo MegaImage 47" }, { 0x052b1911, "Yakumo MegaImage 47 SL" }, { 0x052b2202, "WDM Still Image Capture" }, { 0x052b2203, "Sound Vision Stream Driver" }, { 0x052b3a06, "DigiLife DDV-5120A" }, { 0x052bd001, "P35U Camera Capture" }, { 0x05312001, "Wacom Cintiq Companion Hybrid (MTP+ADB)" }, { 0x053601a0, "PDT" }, { 0x053601ca, "IT4800 Area Imager" }, { 0x053a0b00, "Hub" }, { 0x053a0b01, "Preh MCI 3100" }, { 0x05400101, "Panache Surf ISDN TA" }, { 0x054300fe, "G773 Monitor Hub" }, { 0x054300ff, "P815 Monitor Hub" }, { 0x05430bf2, "airpanel V150 Wireless Smart Display" }, { 0x05430bf3, "airpanel V110 Wireless Smart Display" }, { 0x05430ed9, "Color Pocket PC V35" }, { 0x05430f01, "airsync Wi-Fi Wireless Adapter" }, { 0x05431527, "Color Pocket PC V36" }, { 0x05431529, "Color Pocket PC V37" }, { 0x0543152b, "Color Pocket PC V38" }, { 0x0543152e, "Pocket PC" }, { 0x05431921, "Communicator Pocket PC" }, { 0x05431922, "Smartphone" }, { 0x05431923, "Pocket PC V30" }, { 0x05431a11, "Wireless 802.11g Adapter" }, { 0x05431e60, "TA310 - ATSC/NTSC/PAL Driver(PCM4)" }, { 0x05434153, "ViewSonic G773 Control (?)" }, { 0x05457333, "Trution Web Camera" }, { 0x05458002, "IBM NetCamera" }, { 0x05458009, "Veo PC Camera" }, { 0x0545800c, "Veo Stingray" }, { 0x0545800d, "Veo PC Camera" }, { 0x05458080, "IBM C-It Webcam" }, { 0x0545808a, "Veo PC Camera" }, { 0x0545808b, "Veo Stingray" }, { 0x0545808d, "Veo PC Camera" }, { 0x0545810a, "Veo Advanced Connect Webcam" }, { 0x0545810b, "Veo PC Camera" }, { 0x0545810c, "Veo PC Camera" }, { 0x05458135, "Veo Mobile/Advanced Web Camera" }, { 0x0545813a, "Veo PC Camera" }, { 0x0545813b, "Veo PC Camera" }, { 0x0545813c, "Veo Mobile/Advanced Web Camera" }, { 0x05458333, "Veo Stingray/Connect Web Camera" }, { 0x0545888c, "eVision 123 digital camera" }, { 0x0545888d, "eVision 123 digital camera" }, { 0x05460daf, "PDC 2300Z" }, { 0x05461bed, "PDC 1320 Camera" }, { 0x05462035, "Polaroid Freescape/MPU-433158" }, { 0x05463097, "PDC 310" }, { 0x05463155, "PDC 3070 Camera" }, { 0x05463187, "Digital Camera" }, { 0x05463191, "Ion 80 Camera" }, { 0x05463273, "PDC 2030 Camera" }, { 0x05463304, "a500 Digital Camera" }, { 0x0546dccf, "Sound Vision Stream Driver" }, { 0x05470001, "ICSI Bluetooth Device" }, { 0x05470080, "I3SYSTEM HYUNY" }, { 0x05471002, "Python2 WDM Encoder" }, { 0x05471006, "Hantek DSO-2100 UF" }, { 0x05472131, "AN2131 EZUSB Microcontroller" }, { 0x05472235, "AN2235 EZUSB-FX Microcontroller" }, { 0x05472710, "EZ-Link Loader (EZLNKLDR.SYS)" }, { 0x05472720, "AN2720 USB-USB Bridge" }, { 0x05472727, "Xircom PGUNET USB-USB Bridge" }, { 0x05472750, "EZ-Link (EZLNKUSB.SYS)" }, { 0x05472810, "Cypress ATAPI Bridge" }, { 0x05474018, "AmScope MU1803" }, { 0x05474d90, "AmScope MD1900 camera" }, { 0x05476010, "AmScope MU1000 camera" }, { 0x05476510, "Touptek UCMOS05100KPA" }, { 0x05477000, "PowerSpec MCE460 Front Panel LED Display" }, { 0x05477777, "Bluetooth Device" }, { 0x05479999, "AN2131 uninitialized (?)" }, { 0x05481005, "EZ Cart II GameBoy Flash Programmer" }, { 0x054c0001, "HUB" }, { 0x054c0002, "Standard HUB" }, { 0x054c0010, "Cyber-shot, Mavica (msc)" }, { 0x054c0014, "Nogatech USBVision (SY)" }, { 0x054c0022, "Storage Adapter V2 (TPP)" }, { 0x054c0023, "CD Writer" }, { 0x054c0024, "Mavica CD-1000 Camera" }, { 0x054c0025, "NW-MS7 Walkman MemoryStick Reader" }, { 0x054c002b, "Portable USB Harddrive V2" }, { 0x054c002c, "USB Floppy Disk Drive" }, { 0x054c002d, "MSAC-US1 MemoryStick Reader" }, { 0x054c002e, "HandyCam MemoryStick Reader" }, { 0x054c0030, "Storage Adapter V2 (TPP)" }, { 0x054c0032, "MemoryStick MSC-U01 Reader" }, { 0x054c0035, "Network Walkman (E)" }, { 0x054c0036, "Net MD" }, { 0x054c0037, "MG Memory Stick Reader/Writer" }, { 0x054c0038, "Clie PEG-S300/D PalmOS PDA" }, { 0x054c0039, "Network Walkman (MS)" }, { 0x054c003c, "VAIO-MX LCD Control" }, { 0x054c0045, "Digital Imaging Video" }, { 0x054c0046, "Network Walkman" }, { 0x054c0049, "UP-D895" }, { 0x054c004a, "Memory Stick Hi-Fi System" }, { 0x054c004b, "Memory Stick Reader/Writer" }, { 0x054c004e, "Sony DSC-U10" }, { 0x054c0056, "MG Memory Stick Reader/Writer" }, { 0x054c0058, "Clie PEG-N7x0C PalmOS PDA Mass Storage" }, { 0x054c0066, "Clie PEG-N7x0C/PEG-T425 PalmOS PDA Serial" }, { 0x054c0067, "CMR-PC3 Webcam" }, { 0x054c0069, "Memorystick MSC-U03 Reader" }, { 0x054c006c, "FeliCa S310 [PaSoRi]" }, { 0x054c006d, "Clie PEG-T425 PDA Mass Storage" }, { 0x054c006f, "Network Walkman (EV)" }, { 0x054c0073, "Storage CRX1750U" }, { 0x054c0075, "Net MD" }, { 0x054c0076, "Storage Adapter ACR-U20" }, { 0x054c007c, "Net MD" }, { 0x054c007f, "IC Recorder (MS)" }, { 0x054c0080, "Net MD" }, { 0x054c0081, "Net MD" }, { 0x054c0084, "Net MD" }, { 0x054c0085, "Net MD" }, { 0x054c0086, "Net MD" }, { 0x054c008b, "Micro Vault 64M Mass Storage" }, { 0x054c0095, "Clie s360" }, { 0x054c0099, "Clie NR70 PDA Mass Storage" }, { 0x054c009a, "Clie NR70 PDA Serial" }, { 0x054c00ab, "Visual Communication Camera (PCGA-UVC10)" }, { 0x054c00af, "DPP-EX Series Digital Photo Printer" }, { 0x054c00bf, "IC Recorder (S)" }, { 0x054c00c0, "Handycam DCR-30" }, { 0x054c00c6, "Net MD" }, { 0x054c00c7, "Net MD" }, { 0x054c00c8, "MZ-N710 Minidisc Walkman" }, { 0x054c00c9, "Net MD" }, { 0x054c00ca, "MZ-DN430 Minidisc Walkman" }, { 0x054c00cb, "MSAC-US20 Memory Stick Reader" }, { 0x054c00da, "Clie nx60" }, { 0x054c00e8, "Network Walkman (MS)" }, { 0x054c00e9, "Handheld" }, { 0x054c00eb, "Net MD" }, { 0x054c0101, "Net MD" }, { 0x054c0103, "IC Recorder (ST)" }, { 0x054c0105, "Micro Vault Hub" }, { 0x054c0107, "VCC-U01 Visual Communication Camera" }, { 0x054c0110, "Digital Imaging Video" }, { 0x054c0113, "Net MD" }, { 0x054c0116, "IC Recorder (P)" }, { 0x054c0144, "Clie PEG-TH55 PDA" }, { 0x054c0147, "Visual Communication Camera (PCGA-UVC11)" }, { 0x054c014c, "Aiwa AM-NX9 Net MD Music Recorder MDLP" }, { 0x054c014d, "Memory Stick Reader/Writer" }, { 0x054c0154, "Eyetoy Audio Device" }, { 0x054c0155, "Eyetoy Video Device" }, { 0x054c015f, "IC Recorder (BM)" }, { 0x054c0169, "Clie PEG-TJ35 PDA Serial" }, { 0x054c016a, "Clie PEG-TJ35 PDA Mass Storage" }, { 0x054c016b, "Mobile HDD" }, { 0x054c016d, "IC Recorder (SX)" }, { 0x054c016e, "DPP-EX50 Digital Photo Printer" }, { 0x054c0171, "Fingerprint Sensor 3500" }, { 0x054c017e, "Net MD" }, { 0x054c017f, "Hi-MD WALKMAN" }, { 0x054c0180, "Net MD" }, { 0x054c0181, "Hi-MD WALKMAN" }, { 0x054c0182, "Net MD" }, { 0x054c0183, "Hi-MD WALKMAN" }, { 0x054c0184, "Net MD" }, { 0x054c0185, "Hi-MD WALKMAN" }, { 0x054c0186, "Net MD" }, { 0x054c0187, "Hi-MD MZ-NH600 WALKMAN" }, { 0x054c0188, "Net MD" }, { 0x054c018a, "Net MD" }, { 0x054c018b, "Hi-MD SOUND GATE" }, { 0x054c019e, "Micro Vault 1.0G Mass Storage" }, { 0x054c01ad, "ATRAC HDD PA" }, { 0x054c01bb, "FeliCa S320 [PaSoRi]" }, { 0x054c01bd, "MRW62E Multi-Card Reader/Writer" }, { 0x054c01c3, "NW-E55 Network Walkman" }, { 0x054c01c6, "MEMORY P-AUDIO" }, { 0x054c01c7, "Printing Support" }, { 0x054c01c8, "PSP Type A" }, { 0x054c01c9, "PSP Type B" }, { 0x054c01d0, "DVD+RW External Drive DRU-700A" }, { 0x054c01d5, "IC RECORDER" }, { 0x054c01de, "VRD-VC10 [Video Capture]" }, { 0x054c01e7, "UP-D897" }, { 0x054c01e8, "UP-DR150 Photo Printer" }, { 0x054c01e9, "Net MD" }, { 0x054c01ea, "Hi-MD WALKMAN" }, { 0x054c01ee, "IC RECORDER" }, { 0x054c01fa, "IC Recorder (P)" }, { 0x054c01fb, "NW-E405 Network Walkman" }, { 0x054c020f, "Device" }, { 0x054c0210, "ATRAC HDD PA" }, { 0x054c0219, "Net MD" }, { 0x054c021a, "Hi-MD WALKMAN" }, { 0x054c021b, "Net MD" }, { 0x054c021c, "Hi-MD WALKMAN" }, { 0x054c021d, "Net MD" }, { 0x054c0226, "UP-CR10L" }, { 0x054c0227, "Printing Support" }, { 0x054c022c, "Net MD" }, { 0x054c022d, "Hi-MD AUDIO" }, { 0x054c0233, "ATRAC HDD PA" }, { 0x054c0236, "Mobile HDD" }, { 0x054c023b, "DVD+RW External Drive DRU-800UL" }, { 0x054c023c, "Net MD" }, { 0x054c023d, "Hi-MD WALKMAN" }, { 0x054c0243, "MicroVault Flash Drive" }, { 0x054c024b, "Vaio VGX Mouse" }, { 0x054c0257, "IFU-WLM2 USB Wireless LAN Module (Wireless Mode)" }, { 0x054c0258, "IFU-WLM2 USB Wireless LAN Module (Memory Mode)" }, { 0x054c0259, "IC RECORDER" }, { 0x054c0267, "Tachikoma Device" }, { 0x054c0268, "Batoh Device / PlayStation 3 Controller" }, { 0x054c0269, "HDD WALKMAN" }, { 0x054c026a, "HDD WALKMAN" }, { 0x054c0271, "IC Recorder (P)" }, { 0x054c027c, "NETWORK WALKMAN" }, { 0x054c027e, "SONY Communicator" }, { 0x054c027f, "IC RECORDER" }, { 0x054c0286, "Net MD" }, { 0x054c0287, "Hi-MD WALKMAN" }, { 0x054c0290, "VGP-UVC100 Visual Communication Camera" }, { 0x054c0296, "Sony DSC-S780" }, { 0x054c029b, "PRS-500 eBook reader" }, { 0x054c02a5, "MicroVault Flash Drive" }, { 0x054c02af, "Handycam DCR-DVD306E" }, { 0x054c02c0, "Sony DSC-A100" }, { 0x054c02c4, "Device" }, { 0x054c02d1, "DVD RW" }, { 0x054c02d2, "PSP Slim" }, { 0x054c02d4, "UP-CX1" }, { 0x054c02d8, "SBAC-US10 SxS PRO memory card reader/writer" }, { 0x054c02e1, "FeliCa S330 [PaSoRi]" }, { 0x054c02e7, "Sony DSC-A900" }, { 0x054c02ea, "PlayStation 3 Memory Card Adaptor" }, { 0x054c02f8, "Sony DSC-W200" }, { 0x054c02f9, "DSC-H9" }, { 0x054c0317, "WALKMAN" }, { 0x054c031a, "Walkman NWD-B103F" }, { 0x054c031e, "PRS-300/PRS-505 eBook reader" }, { 0x054c0321, "Sony SLT-A350" }, { 0x054c0325, "Sony NWZ-A815/NWZ-A818" }, { 0x054c0326, "Sony NWZ-S516" }, { 0x054c0327, "Sony NWZ-S615F/NWZ-S616F/NWZ-S618F" }, { 0x054c033e, "DSC-W120/W290" }, { 0x054c0343, "Sony DSC-W130" }, { 0x054c0346, "Handycam DCR-SR55E" }, { 0x054c0348, "HandyCam HDR-TG3E" }, { 0x054c035a, "Sony NWZ-S716F" }, { 0x054c035b, "Sony NWZ-A826/NWZ-A828/NWZ-A829" }, { 0x054c035c, "Sony NWZ-A726/NWZ-A728/NWZ-A768" }, { 0x054c035f, "UP-DR200 Photo Printer" }, { 0x054c0360, "M2 Card Reader" }, { 0x054c036e, "Sony NWZ-B135" }, { 0x054c0382, "Memory Stick PRO-HG Duo Adaptor (MSAC-UAH1)" }, { 0x054c0385, "Sony NWZ-E436F" }, { 0x054c0387, "IC Recorder (P)" }, { 0x054c0388, "Sony NWZ-W202" }, { 0x054c038c, "Sony NWZ-S739F" }, { 0x054c038e, "Sony NWZ-S638F" }, { 0x054c0398, "Sony NWZ-X1051/NWZ-X1061" }, { 0x054c03bc, "Webbie HD - MHS-CM1" }, { 0x054c03c3, "UP-DR80MD" }, { 0x054c03c4, "Stryker SDP1000" }, { 0x054c03c5, "UP-DR80" }, { 0x054c03cc, "SD Card Reader" }, { 0x054c03d1, "DPF-X95" }, { 0x054c03d3, "DR-BT100CX" }, { 0x054c03d5, "PlayStation Move motion controller" }, { 0x054c03d8, "Sony NWZ-B142F" }, { 0x054c03fc, "Sony NWZ-E344/E345" }, { 0x054c03fd, "Sony NWZ-E445" }, { 0x054c03fe, "Sony NWZ-S545" }, { 0x054c0404, "Sony NWZ-A845" }, { 0x054c042f, "PlayStation Move navigation controller" }, { 0x054c0440, "DSC-H55" }, { 0x054c0485, "MHS-PM5 HD camcorder" }, { 0x054c0491, "Sony DSC-HX5V" }, { 0x054c04a3, "Sony SLT-A55" }, { 0x054c04a5, "Sony NEX5" }, { 0x054c04a7, "Sony SLT-A35" }, { 0x054c04bb, "Sony NWZ-W252B" }, { 0x054c04be, "Sony NWZ-B153F" }, { 0x054c04cb, "Sony NWZ-E354" }, { 0x054c04cc, "Sony NWZ-S754" }, { 0x054c04d1, "Sony Sony Tablet P1" }, { 0x054c052a, "Sony DSC-RX100" }, { 0x054c052b, "Sony DSC-RX1" }, { 0x054c053c, "Sony DSC-W510" }, { 0x054c0541, "DSC-HX100V [Cybershot Digital Still Camera]" }, { 0x054c0543, "Sony DSC-HX100V" }, { 0x054c0568, "DSC-H100 in Mass Storage mode" }, { 0x054c0574, "Sony SLT-A65V" }, { 0x054c0577, "Sony SLT-A77V" }, { 0x054c057d, "Sony NEX-7" }, { 0x054c059a, "Sony NWZ-B163F" }, { 0x054c05a6, "Sony NWZ-E464" }, { 0x054c05a8, "Sony NWZ-S765" }, { 0x054c05b3, "Sony Sony Tablet S" }, { 0x054c05b4, "Sony Sony Tablet S1" }, { 0x054c05c4, "DualShock 4 [CUH-ZCT1x]" }, { 0x054c05f7, "Sony HDR-PJ710V" }, { 0x054c0603, "Sony HDR-PJ260VE" }, { 0x054c061c, "Sony DSC-HX20V" }, { 0x054c061f, "Sony DSC-HX200V" }, { 0x054c0643, "DSC-H100 in PTP/MTP mode" }, { 0x054c0669, "Sony SLT-A37" }, { 0x054c066f, "Sony NEX-5R" }, { 0x054c0675, "Sony SLT-A99v" }, { 0x054c0678, "Sony NEX-6" }, { 0x054c0689, "Sony NWZ-B173F" }, { 0x054c06a9, "Sony NWZ-E474" }, { 0x054c06ac, "Sony Xperia Tablet S - SGPT12" }, { 0x054c06bb, "WALKMAN NWZ-F805" }, { 0x054c06c3, "RC-S380" }, { 0x054c06ee, "Sony DSC-HX300" }, { 0x054c072f, "Sony NEX-3N" }, { 0x054c0736, "Sony SLT-A58" }, { 0x054c0737, "Sony SLT-A58" }, { 0x054c074b, "Sony DSC-RX100M2" }, { 0x054c074e, "Sony Alpha-A3000" }, { 0x054c0779, "Sony Alpha-A68" }, { 0x054c077a, "Sony Alpha-A6300" }, { 0x054c0780, "Sony DSC-HX80" }, { 0x054c0784, "Sony Alpha-A6500" }, { 0x054c079b, "Sony Alpha-A68" }, { 0x054c079c, "Sony Alpha-A6300" }, { 0x054c079d, "Sony DSC-RX10M3" }, { 0x054c079e, "Sony Alpha-A99 M2" }, { 0x054c07a3, "Sony DSC-RX100M5" }, { 0x054c07a4, "Sony Alpha-A6500" }, { 0x054c07c3, "ILCE-6000 (aka Alpha-6000) in Mass Storage mode" }, { 0x054c07c4, "ILCE-6000 (aka Alpha-6000) in Mass Storage mode" }, { 0x054c07c6, "Sony Alpha-A5000" }, { 0x054c082f, "Walkman NWZW Series" }, { 0x054c0830, "Sony DSC-RX100M6" }, { 0x054c0847, "WG-C10 Portable Wireless Server" }, { 0x054c0873, "UP-971AD" }, { 0x054c0877, "UP-D898/X898 series" }, { 0x054c0882, "Sony NWZ-E384" }, { 0x054c0884, "MDR-ZX770BN [Wireless Noise Canceling Stereo Headset]" }, { 0x054c088c, "Portable Headphone Amplifier" }, { 0x054c08ac, "Sony DSC-HX400V" }, { 0x054c08ad, "Sony DSC-HX60V" }, { 0x054c08b0, "Sony DSC-WX350" }, { 0x054c08b7, "Sony Alpha-A6000" }, { 0x054c08d7, "Sony DSC-WX220" }, { 0x054c08e2, "Sony Alpha-A7S" }, { 0x054c08e3, "Sony RX100M3" }, { 0x054c08e7, "Sony Alpha-A5100" }, { 0x054c094c, "Sony Alpha-A7" }, { 0x054c094d, "Sony Alpha-A7r" }, { 0x054c094e, "Sony Alpha-A6000" }, { 0x054c0953, "Sony Alpha-A77 M2" }, { 0x054c0954, "Sony Alpha-A7S" }, { 0x054c0957, "Sony Alpha-A5100" }, { 0x054c096f, "Sony Alpha-A7III" }, { 0x054c098d, "Walkman NWZ-B183F" }, { 0x054c0994, "ILCE-6000 (aka Alpha-6000) in charging mode" }, { 0x054c09c2, "D33021 Storage" }, { 0x054c09cc, "DualShock 4 [CUH-ZCT2x]" }, { 0x054c09e7, "Sony ILCE-7R M2" }, { 0x054c09e8, "Sony DSC-HX90V" }, { 0x054c0a6a, "Sony ILCE-7M2" }, { 0x054c0a6b, "Sony Alpha-A7r II" }, { 0x054c0a6d, "Sony DSC-RX100M4" }, { 0x054c0a70, "Sony Alpha-RX1R II" }, { 0x054c0a71, "Sony Alpha-A7S II" }, { 0x054c0a77, "Sony DSC-QX30U" }, { 0x054c0a79, "Sony UMC-R10C" }, { 0x054c0ba0, "Dualshock4 Wireless Adaptor" }, { 0x054c0bb5, "Headset MDR-1000X" }, { 0x054c0bfd, "Sony DSC-RX0" }, { 0x054c0c00, "Sony Alpha-A7R III" }, { 0x054c0c02, "ILCE-7M3 [A7III] in Mass Storage mode" }, { 0x054c0c03, "Sony Alpha-A7 III" }, { 0x054c0c1b, "Sony ZV-1" }, { 0x054c0c2a, "Sony Alpha-A9" }, { 0x054c0c2f, "Sony Alpha-RX10M4" }, { 0x054c0c32, "Sony DSC-RX0" }, { 0x054c0c33, "Sony Alpha-A7r III" }, { 0x054c0c34, "Sony Alpha-A7 III" }, { 0x054c0c38, "Sony DSC-RX100M6" }, { 0x054c0c44, "Sony ZV-1" }, { 0x054c0c71, "Sony NW-A45 Walkman" }, { 0x054c0c7f, "WH-CH700N [Wireless Noise-Canceling Headphones]" }, { 0x054c0ca6, "Sony DSC RX0 II" }, { 0x054c0caa, "Sony ILCE-6400" }, { 0x054c0cae, "Sony DSC-RX100M7" }, { 0x054c0cb1, "Sony DSC-RX100M5A" }, { 0x054c0cb2, "Sony DSC-RX100M5A" }, { 0x054c0ccc, "Sony DSC-A7r IV" }, { 0x054c0cd3, "WH-1000XM3 [Wireless Noise-Canceling Headphones]" }, { 0x054c0cda, "PlayStation Classic controller" }, { 0x054c0ce0, "WF-1000XM3 [Wireless Noise-Canceling Headphones]" }, { 0x054c0ce6, "DualSense wireless controller (PS5)" }, { 0x054c0cf0, "MRW-G1" }, { 0x054c0d00, "Sony NW-A105" }, { 0x054c0d01, "Sony NW-ZX500" }, { 0x054c0d0f, "Sony Alpha-A6600" }, { 0x054c0d10, "Sony Alpha-A6600" }, { 0x054c0d18, "Sony DSC-A7S III" }, { 0x054c0d1c, "Sony ILCE-1" }, { 0x054c0d2b, "Sony ILCE-7C" }, { 0x054c0d58, "WH-1000XM4 [Wireless Noise-Canceling Headphones]" }, { 0x054c0d97, "Sony ZV-E10" }, { 0x054c0d9b, "Sony ILCE-7RM3A" }, { 0x054c0d9f, "Sony ILCE-7RM4A" }, { 0x054c0da3, "Sony ILME-FX3" }, { 0x054c0da6, "Sony Alpha-A7 IV" }, { 0x054c0da7, "Sony Alpha-A7 IV" }, { 0x054c0df2, "DualSense Edge wireless controller (PS5)" }, { 0x054c0e0c, "Sony ILCE-7RM5" }, { 0x054c1000, "Wireless Buzz! Receiver" }, { 0x054c1294, "Sony DCR-SR75" }, { 0x05500002, "InkJet Color Printer" }, { 0x05500004, "InkJet Color Printer" }, { 0x05500005, "InkJet Color Printer" }, { 0x0550000b, "Workcentre 24" }, { 0x0550014e, "CM215b Printer" }, { 0x05500165, "DocuPrint M215b" }, { 0x05530001, "TerraCAM" }, { 0x05530002, "CPiA Webcam" }, { 0x05530100, "STV0672 Camera" }, { 0x05530140, "Video Camera" }, { 0x05530150, "CDE CAM 100" }, { 0x05530151, "Digital Blue QX5 Microscope" }, { 0x05530200, "Dual-mode Camera0" }, { 0x05530201, "Dual-mode Camera1" }, { 0x05530202, "STV0680 Camera" }, { 0x05530674, "Multi-mode Camera" }, { 0x05530679, "NMS Video Camera (Webcam)" }, { 0x05531002, "Che-ez! Splash" }, { 0x05560001, "AK5370 I/F A/D Converter" }, { 0x05572001, "UC-1284 Printer Port" }, { 0x05572002, "10Mbps Ethernet [klsi]" }, { 0x05572004, "UC-100KM PS/2 Mouse and Keyboard adapter" }, { 0x05572006, "UC-1284B Printer Port" }, { 0x05572007, "UC-110T 100Mbps Ethernet [pegasus]" }, { 0x05572008, "UC-232A Serial Port [pl2303]" }, { 0x05572009, "UC-210T Ethernet" }, { 0x05572011, "UC-2324 4xSerial Ports [mos7840]" }, { 0x05572202, "CS124U Miniview II KVM Switch" }, { 0x05572212, "Keyboard/Mouse" }, { 0x05572213, "CS682 2-Port USB 2.0 DVI KVM Switch" }, { 0x05572221, "Winbond Hermon" }, { 0x05572404, "4-port switch" }, { 0x05572419, "Virtual mouse/keyboard device" }, { 0x05572600, "IDE Bridge" }, { 0x05572701, "CE700A KVM Extender" }, { 0x05574000, "DSB-650 10Mbps Ethernet [klsi]" }, { 0x05577000, "Hub" }, { 0x05577820, "UC-2322 2xSerial Ports [mos7820]" }, { 0x05578021, "Hub" }, { 0x05581009, "GW Instek GDS-1000 Oscilloscope" }, { 0x0558100a, "GW Instek GDS-1000A Oscilloscope" }, { 0x05582009, "GW Instek GDS-2000 Oscilloscope" }, { 0x055d0001, "Keyboard" }, { 0x055d0bb1, "Bluetooth Device" }, { 0x055d1030, "Optical Wheel Mouse (OMS3CB/OMGB30)" }, { 0x055d1031, "Optical Wheel Mouse (OMA3CB/OMGI30)" }, { 0x055d1040, "Mouse HID Device" }, { 0x055d1050, "E-Mail Optical Wheel Mouse (OMS3CE)" }, { 0x055d1080, "Optical Wheel Mouse (OMS3CH)" }, { 0x055d2020, "Floppy Disk Drive" }, { 0x055d6780, "Keyboard V1" }, { 0x055d6781, "Keyboard Mouse" }, { 0x055d8001, "E.M. Hub" }, { 0x055d9000, "AnyCam [pwc]" }, { 0x055d9001, "MPC-C30 AnyCam Premium for Notebooks [pwc]" }, { 0x055da000, "SWL-2100U" }, { 0x055da010, "WLAN Adapter(SWL-2300)" }, { 0x055da011, "Boot Device" }, { 0x055da012, "WLAN Adapter(SWL-2300)" }, { 0x055da013, "WLAN Adapter(SWL-2350)" }, { 0x055da230, "Boot Device" }, { 0x055db000, "11Mbps WLAN Mini Adapter" }, { 0x055db230, "Netopia 802.11b WLAN Adapter" }, { 0x055db231, "LG Wireless LAN 11b Adapter" }, { 0x055f0001, "ScanExpress 1200 CU" }, { 0x055f0002, "ScanExpress 600 CU" }, { 0x055f0003, "ScanExpress 1200 USB" }, { 0x055f0006, "ScanExpress 1200 UB" }, { 0x055f0007, "ScanExpress 1200 USB Plus" }, { 0x055f0008, "ScanExpress 1200 CU Plus" }, { 0x055f0010, "BearPaw 1200F" }, { 0x055f0210, "ScanExpress A3 USB" }, { 0x055f0218, "BearPaw 2400 TA" }, { 0x055f0219, "BearPaw 2400 TA Plus" }, { 0x055f021a, "BearPaw 2448 TA Plus" }, { 0x055f021b, "BearPaw 1200 CU Plus" }, { 0x055f021c, "BearPaw 1200 CU Plus" }, { 0x055f021d, "BearPaw 2400 CU Plus" }, { 0x055f021e, "BearPaw 1200 TA/CS" }, { 0x055f021f, "SNAPSCAN e22" }, { 0x055f0400, "BearPaw 2400 TA Pro" }, { 0x055f0401, "P 3600 A3 Pro" }, { 0x055f0408, "BearPaw 2448 CU Pro" }, { 0x055f0409, "BearPaw 2448 TA Pro" }, { 0x055f040b, "ScanExpress A3 USB 1200 PRO" }, { 0x055f0501, "ScanExpress A3 2400 Pro" }, { 0x055f0873, "ScanExpress 600 USB" }, { 0x055f1000, "BearPaw 4800 TA Pro" }, { 0x055fa350, "gSmart 350 Camera" }, { 0x055fa800, "MDC 800 Camera" }, { 0x055fb500, "MDC 3000 Camera" }, { 0x055fc005, "PC CAM 300A" }, { 0x055fc200, "gSmart 300" }, { 0x055fc211, "Kowa Bs888e Microcamera" }, { 0x055fc220, "gSmart mini" }, { 0x055fc230, "Digicam 330K" }, { 0x055fc232, "MDC3500 Camera" }, { 0x055fc360, "DV 4000 Camera" }, { 0x055fc420, "gSmart mini 2 Camera" }, { 0x055fc430, "gSmart LCD 2 Camera" }, { 0x055fc440, "DV 3000 Camera" }, { 0x055fc520, "gSmart mini 3 Camera" }, { 0x055fc530, "gSmart LCD 2 Camera" }, { 0x055fc540, "gSmart D30 Camera" }, { 0x055fc630, "MDC 4000 Camera" }, { 0x055fc631, "MDC 4000 Camera" }, { 0x055fc650, "MDC 5500Z Camera" }, { 0x055fd001, "WCam 300" }, { 0x055fd003, "WCam 300A" }, { 0x055fd004, "WCam 300AN" }, { 0x05620001, "Enhanced Microphone" }, { 0x05620002, "Telex Microphone" }, { 0x05650001, "Serial Port [etek]" }, { 0x05650002, "Enet Ethernet [klsi]" }, { 0x05650003, "@Home Networks Ethernet [klsi]" }, { 0x05650005, "Enet2 Ethernet [klsi]" }, { 0x05650041, "Peracom Remote NDIS Ethernet Adapter" }, { 0x05660110, "ViewMate Desktop Mouse CC2201" }, { 0x05661001, "ViewMate Desktop Mouse CC2201" }, { 0x05661002, "ViewMate Desktop Mouse CC2201" }, { 0x05661003, "ViewMate Desktop Mouse CC2201" }, { 0x05661004, "ViewMate Desktop Mouse CC2201" }, { 0x05661005, "ViewMate Desktop Mouse CC2201" }, { 0x05661006, "ViewMate Desktop Mouse CC2201" }, { 0x05661007, "ViewMate Desktop Mouse CC2201" }, { 0x05662800, "MIC K/B" }, { 0x05662801, "MIC K/B Mouse" }, { 0x05662802, "Kbd Hub" }, { 0x05663002, "Keyboard" }, { 0x05663004, "Genius KB-29E" }, { 0x05663013, "BakkerElkhuizen Wired Keyboard S-board 840 Design" }, { 0x05663020, "BakkerElkhuizen Wired Keyboard S-board 840 Design USB-Hub" }, { 0x05663027, "Sun-Flex ProTouch" }, { 0x05663107, "Keyboard" }, { 0x05663132, "Optical mouse M-DY4DR / M-DY6DR" }, { 0x05664006, "FID 638 Mouse (Sun Microsystems)" }, { 0x056a0000, "PenPartner" }, { 0x056a0001, "PenPartner 4x5" }, { 0x056a0002, "PenPartner 6x8" }, { 0x056a0003, "PTU-600 [Cintiq Partner]" }, { 0x056a0010, "ET-0405 [Graphire]" }, { 0x056a0011, "ET-0405A [Graphire2 (4x5)]" }, { 0x056a0012, "ET-0507A [Graphire2 (5x7)]" }, { 0x056a0013, "CTE-430 [Graphire3 (4x5)]" }, { 0x056a0014, "CTE-630 [Graphire3 (6x8)]" }, { 0x056a0015, "CTE-440 [Graphire4 (4x5)]" }, { 0x056a0016, "CTE-640 [Graphire4 (6x8)]" }, { 0x056a0017, "CTE-450 [Bamboo Fun (small)]" }, { 0x056a0018, "CTE-650 [Bamboo Fun (medium)]" }, { 0x056a0019, "CTE-631 [Bamboo One]" }, { 0x056a0020, "GD-0405 [Intuos (4x5)]" }, { 0x056a0021, "GD-0608 [Intuos (6x8)]" }, { 0x056a0022, "GD-0912 [Intuos (9x12)]" }, { 0x056a0023, "GD-1212 [Intuos (12x12)]" }, { 0x056a0024, "GD-1218 [Intuos (12x18)]" }, { 0x056a0026, "PTH-450 [Intuos5 touch (S)]" }, { 0x056a0027, "PTH-650 [Intuos5 touch (M)]" }, { 0x056a0028, "PTH-850 [Intuos5 touch (L)]" }, { 0x056a0029, "PTK-450 [Intuos5 (S)]" }, { 0x056a002a, "PTK-650 [Intuos5 (M)]" }, { 0x056a0030, "PL400" }, { 0x056a0031, "PL500" }, { 0x056a0032, "PL600" }, { 0x056a0033, "PL600SX" }, { 0x056a0034, "PL550" }, { 0x056a0035, "PL800" }, { 0x056a0037, "PL700" }, { 0x056a0038, "PL510" }, { 0x056a0039, "DTU-710" }, { 0x056a003a, "DTI-520" }, { 0x056a003b, "Integrated Hub" }, { 0x056a003f, "DTZ-2100 [Cintiq 21UX]" }, { 0x056a0041, "XD-0405-U [Intuos2 (4x5)]" }, { 0x056a0042, "XD-0608-U [Intuos2 (6x8)]" }, { 0x056a0043, "XD-0912-U [Intuos2 (9x12)]" }, { 0x056a0044, "XD-1212-U [Intuos2 (12x12)]" }, { 0x056a0045, "XD-1218-U [Intuos2 (12x18)]" }, { 0x056a0047, "Intuos2 6x8" }, { 0x056a0057, "DTK-2241" }, { 0x056a0059, "DTH-2242 tablet" }, { 0x056a005b, "DTH-2200 [Cintiq 22HD Touch] tablet" }, { 0x056a005d, "DTH-2242 touchscreen" }, { 0x056a005e, "DTH-2200 [Cintiq 22HD Touch] touchscreen" }, { 0x056a0060, "FT-0405 [Volito, PenPartner, PenStation (4x5)]" }, { 0x056a0061, "FT-0203 [Volito, PenPartner, PenStation (2x3)]" }, { 0x056a0062, "CTF-420 [Volito2]" }, { 0x056a0063, "CTF-220 [BizTablet]" }, { 0x056a0064, "CTF-221 [PenPartner2]" }, { 0x056a0065, "MTE-450 [Bamboo]" }, { 0x056a0069, "CTF-430 [Bamboo One]" }, { 0x056a006a, "CTE-460 [Bamboo One Pen (S)]" }, { 0x056a006b, "CTE-660 [Bamboo One Pen (M)]" }, { 0x056a0081, "CTE-630BT [Graphire Wireless (6x8)]" }, { 0x056a0084, "ACK-40401 [Wireless Accessory Kit]" }, { 0x056a0090, "TPC90" }, { 0x056a0093, "TPC93" }, { 0x056a0097, "TPC97" }, { 0x056a009a, "TPC9A" }, { 0x056a00a2, "STU-300B [LCD signature pad]" }, { 0x056a00b0, "PTZ-430 [Intuos3 (4x5)]" }, { 0x056a00b1, "PTZ-630 [Intuos3 (6x8)]" }, { 0x056a00b2, "PTZ-930 [Intuos3 (9x12)]" }, { 0x056a00b3, "PTZ-1230 [Intuos3 (12x12)]" }, { 0x056a00b4, "PTZ-1231W [Intuos3 (12x19)]" }, { 0x056a00b5, "PTZ-631W [Intuos3 (6x11)]" }, { 0x056a00b7, "PTZ-431W [Intuos3 (4x6)]" }, { 0x056a00b8, "PTK-440 [Intuos4 (4x6)]" }, { 0x056a00b9, "PTK-640 [Intuos4 (6x9)]" }, { 0x056a00ba, "PTK-840 [Intuos4 (8x13)]" }, { 0x056a00bb, "PTK-1240 [Intuos4 (12x19)]" }, { 0x056a00c0, "DTF-521" }, { 0x056a00c4, "DTF-720" }, { 0x056a00c5, "DTZ-2000W [Cintiq 20WSX]" }, { 0x056a00c6, "DTZ-1200W [Cintiq 12WX]" }, { 0x056a00c7, "DTU-1931" }, { 0x056a00cc, "DTK-2100 [Cintiq 21UX]" }, { 0x056a00ce, "DTU-2231" }, { 0x056a00d0, "CTT-460 [Bamboo Touch]" }, { 0x056a00d1, "CTH-460 [Bamboo Pen & Touch]" }, { 0x056a00d2, "CTH-461 [Bamboo Fun/Craft/Comic Pen & Touch (S)]" }, { 0x056a00d3, "CTH-661 [Bamboo Fun/Comic Pen & Touch (M)]" }, { 0x056a00d4, "CTL-460 [Bamboo Pen (S)]" }, { 0x056a00d5, "CTL-660 [Bamboo Pen (M)]" }, { 0x056a00d6, "CTH-460 [Bamboo Pen & Touch]" }, { 0x056a00d7, "CTH-461 [Bamboo Fun/Craft/Comic Pen & Touch (S)]" }, { 0x056a00d8, "CTH-661 [Bamboo Fun/Comic Pen & Touch (M)]" }, { 0x056a00d9, "CTT-460 [Bamboo Touch]" }, { 0x056a00da, "CTH-461SE [Bamboo Pen & Touch Special Edition (S)]" }, { 0x056a00db, "CTH-661SE [Bamboo Pen & Touch Special Edition (M)]" }, { 0x056a00dc, "CTT-470 [Bamboo Touch]" }, { 0x056a00dd, "CTL-470 [Bamboo Connect]" }, { 0x056a00de, "CTH-470 [Bamboo Fun Pen & Touch]" }, { 0x056a00df, "CTH-670 [Bamboo Create/Fun]" }, { 0x056a00e2, "TPCE2" }, { 0x056a00e3, "TPCE3" }, { 0x056a00e5, "TPCE5" }, { 0x056a00e6, "TPCE6" }, { 0x056a00ec, "TPCEC" }, { 0x056a00ed, "TPCED" }, { 0x056a00ef, "TPCEF" }, { 0x056a00f0, "DTU-1631" }, { 0x056a00f4, "DTK-2400 [Cintiq 24HD] tablet" }, { 0x056a00f6, "DTH-2400 [Cintiq 24HD touch] touchscreen" }, { 0x056a00f8, "DTH-2400 [Cintiq 24HD touch] tablet" }, { 0x056a00f9, "DTK-2200 [Cintiq 22HD] hub" }, { 0x056a00fa, "DTK-2200 [Cintiq 22HD] tablet" }, { 0x056a00fb, "DTU-1031" }, { 0x056a0100, "TPC100" }, { 0x056a0101, "TPC101" }, { 0x056a010d, "TPC10D" }, { 0x056a010e, "TPC10E" }, { 0x056a010f, "TPC10F" }, { 0x056a0116, "TPC116" }, { 0x056a012c, "TPC12C" }, { 0x056a0221, "MDP-123 [Inkling]" }, { 0x056a0300, "CTL-471 [Bamboo Splash, One by Wacom (S)]" }, { 0x056a0301, "CTL-671 [One by Wacom (M)]" }, { 0x056a0302, "CTH-480 [Intuos Pen & Touch (S)]" }, { 0x056a0303, "CTH-680 [Intuos Pen & Touch (M)]" }, { 0x056a0304, "DTK-1300 [Cintiq 13HD]" }, { 0x056a0307, "DTH-A1300 [Cintiq Companion Hybrid] tablet" }, { 0x056a0309, "DTH-A1300 [Cintiq Companion Hybrid] touchscreen" }, { 0x056a030e, "CTL-480 [Intuos Pen (S)]" }, { 0x056a0314, "PTH-451 [Intuos pro (S)]" }, { 0x056a0315, "PTH-651 [Intuos pro (M)]" }, { 0x056a0317, "PTH-851 [Intuos pro (L)]" }, { 0x056a0318, "CTH-301 [Bamboo]" }, { 0x056a0319, "CTH-300 [Bamboo Pad wireless]" }, { 0x056a0323, "CTL-680 [Intuos Pen (M)]" }, { 0x056a032a, "DTK-2700 [Cintiq 27QHD]" }, { 0x056a032b, "DTH-2700 [Cintiq 27QHD touch] tablet" }, { 0x056a032c, "DTH-2700 [Cintiq 27QHD touch] touchscreen" }, { 0x056a032f, "DTU-1031X" }, { 0x056a0331, "ACK-411050 [ExpressKey Remote]" }, { 0x056a0333, "DTH-1300 [Cintiq 13HD Touch] tablet" }, { 0x056a0335, "DTH-1300 [Cintiq 13HD Touch] touchscreen" }, { 0x056a0336, "DTU-1141" }, { 0x056a033b, "CTL-490 [Intuos Draw (S)]" }, { 0x056a033c, "CTH-490 [Intuos Art/Photo/Comic (S)]" }, { 0x056a033d, "CTL-690 [Intuos Draw (M)]" }, { 0x056a033e, "CTH-690 [Intuos Art (M)]" }, { 0x056a0343, "DTK-1651" }, { 0x056a0347, "DTH-W1620 [MobileStudio Pro 16] internal hub" }, { 0x056a0348, "DTH-W1620 [MobileStudio Pro 16] external hub" }, { 0x056a034a, "DTH-W1320 [MobileStudio Pro 13] touchscreen" }, { 0x056a034b, "DTH-W1620 [MobileStudio Pro 16] touchscreen" }, { 0x056a034d, "DTH-W1320 [MobileStudio Pro 13] tablet" }, { 0x056a034e, "DTH-W1620 [MobileStudio Pro 16] tablet" }, { 0x056a034f, "DTH-1320 [Cintiq Pro 13] tablet" }, { 0x056a0350, "DTH-1620 [Cintiq Pro 16] tablet" }, { 0x056a0351, "DTH-2420 [Cintiq Pro 24 PT] tablet" }, { 0x056a0352, "DTH-3220 [Cintiq Pro 32] tablet" }, { 0x056a0353, "DTH-1320 [Cintiq Pro 13] touchscreen" }, { 0x056a0354, "DTH-1620 [Cintiq Pro 16] touchscreen" }, { 0x056a0355, "DTH-2420 [Cintiq Pro 24 PT] touchscreen" }, { 0x056a0356, "DTH-3220 [Cintiq Pro 32] touchscreen" }, { 0x056a0357, "PTH-660 [Intuos Pro (M)]" }, { 0x056a0358, "PTH-860 [Intuos Pro (L)]" }, { 0x056a0359, "DTU-1141B" }, { 0x056a035a, "DTH-1152 tablet" }, { 0x056a0368, "DTH-1152 touchscreen" }, { 0x056a0374, "CTL-4100 [Intuos (S)]" }, { 0x056a0375, "CTL-6100 [Intuos (M)]" }, { 0x056a0376, "CTL-4100WL [Intuos BT (S)]" }, { 0x056a0378, "CTL-6100WL [Intuos BT (M)]" }, { 0x056a037a, "CTL-472 [One by Wacom (S)]" }, { 0x056a037b, "CTL-672 [One by Wacom (M)]" }, { 0x056a037c, "DTK-2420 [Cintiq Pro 24 P]" }, { 0x056a037d, "DTH-2452 tablet" }, { 0x056a037e, "DTH-2452 touchscreen" }, { 0x056a0382, "DTK-2451 tablet" }, { 0x056a038a, "DTH-3220 [Cintiq Pro 32] internal hub" }, { 0x056a038d, "DTH-3220 [Cintiq Pro 32] internal hub" }, { 0x056a038e, "DTH-3220 [Cintiq Pro 32] external hub" }, { 0x056a038f, "DTH-3220 [Cintiq Pro 32] internal hub" }, { 0x056a0390, "DTK-1660 [Cintiq 16]" }, { 0x056a0392, "PTH-460 [Intuos Pro (S)]" }, { 0x056a0396, "DTK-1660E" }, { 0x056a0398, "DTH-W1320 [MobileStudio Pro 13] tablet" }, { 0x056a0399, "DTH-W1620 [MobileStudio Pro 16] tablet" }, { 0x056a039a, "DTH-W1320 [MobileStudio Pro 13] touchscreen" }, { 0x056a039b, "DTH-W1620 [MobileStudio Pro 16] touchscreen" }, { 0x056a039c, "DTH-W1320 [MobileStudio Pro 16] external hub" }, { 0x056a039d, "DTH-W1320 [MobileStudio Pro 16] internal hub" }, { 0x056a03aa, "DTH-W1620 [MobileStudio Pro 16] tablet" }, { 0x056a03ac, "DTH-W1620 [MobileStudio Pro 16] touchscreen" }, { 0x056a03b2, "DTH167 [Cintiq Pro 16] tablet" }, { 0x056a03b3, "DTH167 [Cintiq Pro 16] touchscreen" }, { 0x056a03c5, "CTL-4100WL [Intuos BT (S)]" }, { 0x056a03c7, "CTL-6100WL [Intuos BT (M)]" }, { 0x056a03dc, "PTH-460 [Intuos Pro (S)] tablet" }, { 0x056a03dd, "PTH-460 [Intuos Pro BT (S)] tablet" }, { 0x056a0400, "PenPartner 4x5" }, { 0x056a4001, "TPC4001" }, { 0x056a4004, "TPC4004" }, { 0x056a4850, "PenPartner 6x8" }, { 0x056a5000, "TPC5000" }, { 0x056a5002, "TPC5002" }, { 0x056a5010, "TPC5010" }, { 0x056c0006, "KwikLink Host-Host Connector" }, { 0x056c8007, "Kwik232 Serial Port" }, { 0x056c8100, "KwikLink Host-Host Connector" }, { 0x056c8101, "KwikLink USB-USB Bridge" }, { 0x056d0000, "Hub" }, { 0x056d0001, "Monitor" }, { 0x056d0002, "HID Monitor Controls" }, { 0x056d0003, "Device Bay Controller" }, { 0x056d4000, "FlexScan EV3237" }, { 0x056d4001, "Monitor" }, { 0x056d4002, "USB HID Monitor" }, { 0x056d4014, "FlexScan EV2750" }, { 0x056d4026, "FlexScan EV2451" }, { 0x056d4027, "FlexScan EV2456" }, { 0x056d4036, "FlexScan EV2785" }, { 0x056d4037, "FlexScan EV3285" }, { 0x056d4044, "FlexScan EV2457" }, { 0x056d4059, "FlexScan EV2760" }, { 0x056d405b, "FlexScan EV2460" }, { 0x056d405f, "FlexScan EV2795" }, { 0x056d4065, "FlexScan EV3895" }, { 0x056e0002, "29UO Mouse" }, { 0x056e0057, "Micro Grast Pop M-PGDL" }, { 0x056e005c, "Micro Grast Pop M-PG2DL" }, { 0x056e005d, "Micro Grast Fit M-FGDL" }, { 0x056e005e, "Micro Grast Fit M-FG2DL" }, { 0x056e0062, "Optical mouse M-D18DR" }, { 0x056e0063, "Laser mouse M-SODL" }, { 0x056e0069, "Laser mouse M-GE1UL" }, { 0x056e0071, "Laser mouse M-GE3DL" }, { 0x056e0072, "Laser mouse M-LS6UL" }, { 0x056e0073, "Laser mouse M-LS7UL" }, { 0x056e0074, "Optical mouse M-FW1UL" }, { 0x056e0075, "Laser mouse M-FW2DL" }, { 0x056e0077, "Laser mouse M-LY2UL" }, { 0x056e0079, "Laser mouse M-D21DL" }, { 0x056e007b, "Laser mouse M-D20DR" }, { 0x056e007c, "Laser Bluetooth mouse M-BT5BL" }, { 0x056e007e, "Option mouse M-M8UR" }, { 0x056e007f, "Option mouse M-M9UR" }, { 0x056e0081, "Option mouse M-DY6DR" }, { 0x056e0082, "Laser mouse M-D22DR" }, { 0x056e0088, "Micro Grast2 Bit M-BG3DL" }, { 0x056e0089, "Micro Grast2 Pop M-PG3DL" }, { 0x056e008c, "M-NE3DL Mouse" }, { 0x056e008d, "ORIME M-NE4DR" }, { 0x056e008f, "M-BT8BL Bluetooth Mouse" }, { 0x056e0092, "Wireless BlueLED Mouse (M-BL2DB)" }, { 0x056e009c, "IR Mouse M-IR02DR" }, { 0x056e009d, "IR Mouse M-IR03DR" }, { 0x056e009f, "BlueLED Mouse M-HS1DB" }, { 0x056e00a1, "IR Mouse M-IR05DR" }, { 0x056e00a4, "Blue LED Mouse M-BL06DB" }, { 0x056e00a5, "M-NV1BR Bluetooth Mouse" }, { 0x056e00a7, "Blue LED Mouse M-BL08DB" }, { 0x056e00a8, "M-BL09DB Mouse" }, { 0x056e00a9, "M-BL10UB Mouse" }, { 0x056e00aa, "M-BL11DB Mouse" }, { 0x056e00ac, "M-A-BL01UL / M-BL15DB Mouse" }, { 0x056e00b4, "Track on Glass Mouse M-TG02DL" }, { 0x056e00b5, "Track on Glass Mouse M-TG03UL" }, { 0x056e00b6, "Track on Glass Mouse M-TG04DL" }, { 0x056e00b8, "M-A-BL01UL or M-ASKL2 Mouse" }, { 0x056e00b9, "M-A-BL02DB or M-ASKL Mouse" }, { 0x056e00cb, "M-BL21DB Mouse" }, { 0x056e00cd, "M-XG1UB Mouse" }, { 0x056e00ce, "M-XG1DB Mouse" }, { 0x056e00cf, "M-XG1BB Bluetooth Mouse" }, { 0x056e00d0, "M-XG2UB Mouse" }, { 0x056e00d1, "M-XG2DB Mouse" }, { 0x056e00d2, "M-XG2BB Bluetooth Mouse" }, { 0x056e00d3, "M-XG3DL Mouse" }, { 0x056e00d4, "M-LS11DL Mouse" }, { 0x056e00da, "M-XG4UB Mouse" }, { 0x056e00db, "M-XG4DB Mouse" }, { 0x056e00dc, "M-XG4BB Bluetooth Mouse" }, { 0x056e00dd, "M-LS12UL Mouse" }, { 0x056e00de, "M-LS13UL Mouse" }, { 0x056e00df, "M-BL22DB Mouse" }, { 0x056e00e1, "M-WK01DB or M-A-BL04DB" }, { 0x056e00e2, "M-A-BL03DB" }, { 0x056e00e3, "M-XGx10UB" }, { 0x056e00e4, "M-XGx10DB" }, { 0x056e00e5, "M-XGx10BB" }, { 0x056e00e6, "M-XGx20DL or M-XGx20DB UltimateLaser Mouse" }, { 0x056e00f1, "M-XT1DRBK USB EX-G Wireless Optical TrackBall" }, { 0x056e00f2, "M-XT1URBK EX-G Optical Trackball" }, { 0x056e00f3, "M-BL23DB" }, { 0x056e00f4, "M-BT13BL LBT-UAN05C2" }, { 0x056e00f7, "M-KN1DB" }, { 0x056e00f8, "M-BL22DB Mouse (other version)" }, { 0x056e00f9, "M-XT2URBK EX-G Optical TrackBall" }, { 0x056e00fa, "M-XT2DRBK EX-G Wireless Optical TrackBall" }, { 0x056e00fb, "M-XT3URBK EX-G Optical TrackBall" }, { 0x056e00fc, "M-XT3DRBK EX-G Wireless Optical TrackBall" }, { 0x056e00fd, "M-XT4DRBK EX-G Wireless Optical TrackBall" }, { 0x056e00fe, "M-DT1URBK or M-DT2URBK DEFT Optical TrackBall" }, { 0x056e00ff, "M-DT1DRBK or M-DT2DRBK DEFT Wireless Optical Mouse" }, { 0x056e0101, "M-BL25UBS" }, { 0x056e0103, "M-BT16BBS" }, { 0x056e0104, "M-BL26UBC" }, { 0x056e0105, "M-BL26DBC" }, { 0x056e0107, "M-LS15UL" }, { 0x056e0108, "M-LS15DL" }, { 0x056e0109, "M-LS16UL Mouse" }, { 0x056e010a, "M-LS16DL / M-KN2DLS" }, { 0x056e010b, "M-BL21DB Mouse" }, { 0x056e010c, "M-HT1URBK HUGE Optical TrackBall" }, { 0x056e010d, "M-HT1DRBK HUGE Wireless Optical TrackBall" }, { 0x056e010e, "M-KS1DBS / M-FPG3DBS" }, { 0x056e010f, "M-FBG3DB" }, { 0x056e0115, "M-BT13BL" }, { 0x056e0121, "M-ED01DB" }, { 0x056e0122, "M-NK01DB" }, { 0x056e0124, "Dual connect Mouse M-DC01MB Bluetooth" }, { 0x056e0128, "TrackBall Mouse M-XPT1MR Wired" }, { 0x056e0129, "TrackBall Mouse M-XPT1MR Wireless" }, { 0x056e0130, "TrackBall Mouse M-XPT1MR Bluetooth" }, { 0x056e0131, "TrackBall Mouse M-DPT1MR Wired" }, { 0x056e0132, "TrackBall Mouse M-DPT1MR Wireless" }, { 0x056e0133, "TrackBall Mouse M-DPT1MR Bluetooth" }, { 0x056e0136, "M-BT20BB" }, { 0x056e0137, "BlueTooth 4.0 Mouse M-BT21BB" }, { 0x056e0138, "M-A-BL07DB" }, { 0x056e0140, "M-G01UR" }, { 0x056e0141, "M-Y9UB" }, { 0x056e0142, "M-DY13DB" }, { 0x056e0144, "M-FBL01DB" }, { 0x056e1055, "TK-DCP03 WIRED" }, { 0x056e1057, "TK-DCP03 BT" }, { 0x056e2003, "JC-U3613M" }, { 0x056e2004, "JC-U3613M" }, { 0x056e200c, "LD-USB/TX" }, { 0x056e200f, "JC-U4013S Gamepad" }, { 0x056e2012, "JC-U4013S Gamepad" }, { 0x056e4002, "Laneed 100Mbps Ethernet LD-USB/TX [pegasus]" }, { 0x056e4005, "LD-USBL/TX" }, { 0x056e400b, "LD-USB/TX" }, { 0x056e4010, "LD-USB20" }, { 0x056e5003, "UC-SGT" }, { 0x056e5004, "UC-SGT" }, { 0x056e6008, "Flash Disk" }, { 0x056eabc1, "LD-USB/TX" }, { 0x056fcd00, "CDM-751 CD organizer" }, { 0x05710002, "echoFX InterView Lite" }, { 0x05720001, "Ezcam II Webcam" }, { 0x05720002, "Ezcam II Webcam" }, { 0x05720040, "Wondereye CP-115 Webcam" }, { 0x05720041, "Webcam Notebook" }, { 0x05720042, "Webcam Notebook" }, { 0x05720320, "DVBSky T330 DVB-T2/C tuner" }, { 0x05721232, "V.90 modem" }, { 0x05721234, "Typhoon Redfun Modem V90 56k" }, { 0x05721252, "HCF V90 Data Fax Voice Modem" }, { 0x05721253, "Zoom V.92 Faxmodem" }, { 0x05721300, "SoftK56 Data Fax Voice CARP" }, { 0x05721301, "Modem Enumerator" }, { 0x05721328, "TrendNet TFM-561 modem" }, { 0x05721340, "CX93010 ACF Modem" }, { 0x05721804, "HP Dock Audio" }, { 0x05722000, "SoftGate 802.11 Adapter" }, { 0x05722002, "SoftGate 802.11 Adapter" }, { 0x0572262a, "tm5600 Video & Audio Grabber Capture" }, { 0x0572680c, "DVBSky T680C DVB-T2/C tuner" }, { 0x05726831, "DVBSky S960 DVB-S2 tuner" }, { 0x05728390, "WinFast PalmTop/Novo TV Video" }, { 0x05728392, "WinFast PalmTop/Novo TV Video" }, { 0x0572960c, "DVBSky S960C DVB-S2 tuner" }, { 0x0572c686, "Geniatech T220A DVB-T2 TV Stick" }, { 0x0572c688, "Geniatech T230 DVB-T2 TV Stick" }, { 0x0572cafc, "CX861xx ROM Boot Loader" }, { 0x0572cafd, "CX82310 ROM Boot Loader" }, { 0x0572cafe, "AccessRunner ADSL Modem" }, { 0x0572cb00, "ADSL Modem" }, { 0x0572cb01, "ADSL Modem" }, { 0x0572cb06, "StarModem Network Interface" }, { 0x05730003, "USBGear USBG-V1" }, { 0x05730400, "D-Link V100" }, { 0x05730600, "Dazzle USBVision (1006)" }, { 0x05731300, "leadtek USBVision (1006)" }, { 0x05732000, "X10 va10a Wireless Camera" }, { 0x05732001, "Dazzle EmMe (2001)" }, { 0x05732101, "Zoran Co. PMD (Nogatech) AV-grabber Manhattan" }, { 0x05732d00, "Osprey 50" }, { 0x05732d01, "Hauppauge USB-Live Model 600" }, { 0x05733000, "Dazzle MicroCam (NTSC)" }, { 0x05733001, "Dazzle MicroCam (PAL)" }, { 0x05734000, "Nogatech TV! (NTSC)" }, { 0x05734001, "Nogatech TV! (PAL)" }, { 0x05734002, "Nogatech TV! (PAL-I-)" }, { 0x05734003, "Nogatech TV! (MF-)" }, { 0x05734008, "Nogatech TV! (NTSC) (T)" }, { 0x05734009, "Nogatech TV! (PAL) (T)" }, { 0x05734010, "Nogatech TV! (NTSC) (A)" }, { 0x05734100, "USB-TV FM (NTSC)" }, { 0x05734110, "PNY USB-TV (NTSC) FM" }, { 0x05734400, "Nogatech TV! Pro (NTSC)" }, { 0x05734401, "Nogatech TV! Pro (PAL)" }, { 0x05734450, "PixelView PlayTv-USB PRO (PAL) FM" }, { 0x05734451, "Nogatech TV! Pro (PAL+)" }, { 0x05734452, "Nogatech TV! Pro (PAL-I+)" }, { 0x05734500, "Nogatech TV! Pro (NTSC)" }, { 0x05734501, "Nogatech TV! Pro (PAL)" }, { 0x05734550, "ZTV ZT-721 2.4GHz A/V Receiver" }, { 0x05734551, "Dazzle TV! Pro Audio (P+)" }, { 0x05734d00, "Hauppauge WinTV-USB USA" }, { 0x05734d01, "Hauppauge WinTV-USB" }, { 0x05734d02, "Hauppauge WinTV-USB UK" }, { 0x05734d03, "Hauppauge WinTV-USB France" }, { 0x05734d04, "Hauppauge WinTV (PAL D/K)" }, { 0x05734d10, "Hauppauge WinTV-USB with FM USA radio" }, { 0x05734d11, "Hauppauge WinTV-USB (PAL) with FM radio" }, { 0x05734d12, "Hauppauge WinTV-USB UK with FM Radio" }, { 0x05734d14, "Hauppauge WinTV (PAL D/K FM)" }, { 0x05734d20, "Hauppauge WinTV-USB II (PAL) with FM radio" }, { 0x05734d21, "Hauppauge WinTV-USB II (PAL)" }, { 0x05734d22, "Hauppauge WinTV-USB II (PAL) Model 566" }, { 0x05734d23, "Hauppauge WinTV-USB France 4D23" }, { 0x05734d24, "Hauppauge WinTV Pro (PAL D/K)" }, { 0x05734d25, "Hauppauge WinTV-USB Model 40209 rev B234" }, { 0x05734d26, "Hauppauge WinTV-USB Model 40209 rev B243" }, { 0x05734d27, "Hauppauge WinTV-USB Model 40204 Rev B281" }, { 0x05734d28, "Hauppauge WinTV-USB Model 40204 rev B283" }, { 0x05734d29, "Hauppauge WinTV-USB Model 40205 rev B298" }, { 0x05734d2a, "Hauppague WinTV-USB Model 602 Rev B285" }, { 0x05734d2b, "Hauppague WinTV-USB Model 602 Rev B282" }, { 0x05734d2c, "Hauppauge WinTV Pro (PAL/SECAM)" }, { 0x05734d30, "Hauppauge WinTV-USB FM Model 40211 Rev B123" }, { 0x05734d31, "Hauppauge WinTV-USB III (PAL) with FM radio Model 568" }, { 0x05734d32, "Hauppauge WinTV-USB III (PAL) FM Model 573" }, { 0x05734d34, "Hauppauge WinTV Pro (PAL D/K FM)" }, { 0x05734d35, "Hauppauge WinTV-USB III (PAL) FM Model 597" }, { 0x05734d36, "Hauppauge WinTV Pro (PAL B/G FM)" }, { 0x05734d37, "Hauppauge WinTV-USB Model 40219 rev E189" }, { 0x05734d38, "Hauppauge WinTV Pro (NTSC FM)" }, { 0x057b0000, "FlashBuster-U Floppy" }, { 0x057b0001, "Tri-Media Reader Floppy" }, { 0x057b0006, "Tri-Media Reader Card Reader" }, { 0x057b0010, "Memory Stick Reader Writer" }, { 0x057b0020, "HEXA Media Drive 6-in-1 Card Reader Writer" }, { 0x057b0030, "Memory Card Viewer (TV)" }, { 0x057c0b00, "ISDN-Controller B1 Family" }, { 0x057c0c00, "ISDN-Controller FRITZ!Card" }, { 0x057c1000, "ISDN-Controller FRITZ!Card v2.0" }, { 0x057c1900, "ISDN-Controller FRITZ!Card v2.1" }, { 0x057c2000, "ISDN-Connector FRITZ!X" }, { 0x057c2200, "BlueFRITZ!" }, { 0x057c2300, "Teledat X130 DSL" }, { 0x057c2800, "Teledat 2a/b / X120 / NetXXL ISDN Terminal Adapter" }, { 0x057c3200, "Teledat X130 DSL" }, { 0x057c3500, "FRITZ!Card DSL SL" }, { 0x057c3701, "FRITZ!Box SL" }, { 0x057c3702, "FRITZ!Box" }, { 0x057c3800, "BlueFRITZ! Bluetooth Stick" }, { 0x057c3a00, "FRITZ!Box Fon" }, { 0x057c3c00, "FRITZ!Box WLAN" }, { 0x057c3d00, "FRITZ!Box Fon WLAN 7050/7140/7170/IAD3331" }, { 0x057c3e01, "FRITZ!Box (Annex A)" }, { 0x057c4001, "FRITZ!Box Fon (Annex A)" }, { 0x057c4101, "FRITZ!Box WLAN (Annex A)" }, { 0x057c4201, "FRITZ!Box Fon WLAN (Annex A)" }, { 0x057c4601, "Eumex 5520PC (WinXP/2000)" }, { 0x057c4602, "Eumex 400 (WinXP/2000)" }, { 0x057c4701, "AVM FRITZ!Box Fon ata" }, { 0x057c5401, "Eumex 300 IP" }, { 0x057c5601, "AVM Fritz!WLAN [Texas Instruments TNETW1450]" }, { 0x057c6201, "AVM Fritz!WLAN v1.1 [Texas Instruments TNETW1450]" }, { 0x057c62ff, "AVM Fritz!WLAN USB (in CD-ROM-mode)" }, { 0x057c8401, "Fritz!WLAN N [Atheros AR9001U]" }, { 0x057c8402, "Fritz!WLAN N 2.4 [Atheros AR9001U]" }, { 0x057c8403, "Fritz!WLAN N v2 [Atheros AR9271]" }, { 0x057c84ff, "AVM Fritz!WLAN USB N (in CD-ROM-mode)" }, { 0x057c8501, "FRITZ WLAN N v2 [RT5572/rt2870.bin]" }, { 0x057e0300, "USB-EXI Adapter (GCP-2000)" }, { 0x057e0304, "RVT-H Reader" }, { 0x057e0305, "Broadcom BCM2045A Bluetooth Radio [Nintendo Wii/Wii U]" }, { 0x057e0306, "Wii Remote Controller RVL-003" }, { 0x057e0337, "Wii U GameCube Controller Adapter" }, { 0x057e0341, "DRH GamePad Host [Nintendo Wii U]" }, { 0x057e2000, "Switch" }, { 0x057e2006, "Joy-Con L" }, { 0x057e2007, "Joy-Con R" }, { 0x057e2009, "Switch Pro Controller" }, { 0x057e200e, "Joy-Con Charging Grip" }, { 0x057e201d, "Nintendo Switch Lite" }, { 0x057e3000, "SDK Debugger" }, { 0x057f6238, "USB StrikePad" }, { 0x05810107, "Tera Barcode Scanner 2.4 GHz Receiver" }, { 0x05810115, "Tera 5100" }, { 0x0581011c, "Tera 5100 dongle" }, { 0x0581020c, "Tera 2D Barcode Scanner EVHK0012" }, { 0x05820000, "UA-100(G)" }, { 0x05820002, "UM-4/MPU-64 MIDI Interface" }, { 0x05820003, "SoundCanvas SC-8850" }, { 0x05820004, "U-8" }, { 0x05820005, "UM-2(C/EX)" }, { 0x05820007, "SoundCanvas SC-8820" }, { 0x05820008, "PC-300" }, { 0x05820009, "UM-1(E/S/X)" }, { 0x0582000b, "SK-500" }, { 0x0582000c, "SC-D70" }, { 0x05820010, "EDIROL UA-5" }, { 0x05820011, "Edirol UA-5 Sound Capture" }, { 0x05820012, "XV-5050" }, { 0x05820013, "XV-5050" }, { 0x05820014, "EDIROL UM-880 MIDI I/F (native)" }, { 0x05820015, "EDIROL UM-880 MIDI I/F (generic)" }, { 0x05820016, "EDIROL SD-90" }, { 0x05820017, "EDIROL SD-90" }, { 0x05820018, "UA-1A" }, { 0x0582001b, "MMP-2" }, { 0x0582001c, "MMP-2" }, { 0x0582001d, "V-SYNTH" }, { 0x0582001e, "V-SYNTH" }, { 0x05820023, "EDIROL UM-550" }, { 0x05820024, "EDIROL UM-550" }, { 0x05820025, "EDIROL UA-20" }, { 0x05820026, "EDIROL UA-20" }, { 0x05820027, "EDIROL SD-20" }, { 0x05820028, "EDIROL SD-20" }, { 0x05820029, "EDIROL SD-80" }, { 0x0582002a, "EDIROL SD-80" }, { 0x0582002b, "EDIROL UA-700" }, { 0x0582002c, "EDIROL UA-700" }, { 0x0582002d, "XV-2020 Synthesizer" }, { 0x0582002e, "XV-2020 Synthesizer" }, { 0x0582002f, "VariOS" }, { 0x05820030, "VariOS" }, { 0x05820033, "EDIROL PCR" }, { 0x05820034, "EDIROL PCR" }, { 0x05820035, "M-1000" }, { 0x05820037, "Digital Piano" }, { 0x05820038, "Digital Piano" }, { 0x0582003b, "BOSS GS-10" }, { 0x0582003c, "BOSS GS-10" }, { 0x05820040, "GI-20" }, { 0x05820041, "GI-20" }, { 0x05820042, "RS-70" }, { 0x05820043, "RS-70" }, { 0x05820044, "EDIROL UA-1000" }, { 0x05820047, "EDIROL UR-80 WAVE" }, { 0x05820048, "EDIROL UR-80 MIDI" }, { 0x05820049, "EDIROL UR-80 WAVE" }, { 0x0582004a, "EDIROL UR-80 MIDI" }, { 0x0582004b, "EDIROL M-100FX" }, { 0x0582004c, "EDIROL PCR-A WAVE" }, { 0x0582004d, "EDIROL PCR-A MIDI" }, { 0x0582004e, "EDIROL PCR-A WAVE" }, { 0x0582004f, "EDIROL PCR-A MIDI" }, { 0x05820050, "EDIROL UA-3FX" }, { 0x05820052, "EDIROL UM-1SX" }, { 0x05820054, "Digital Piano" }, { 0x05820060, "EXR Series" }, { 0x05820064, "EDIROL PCR-1 WAVE" }, { 0x05820065, "EDIROL PCR-1 MIDI" }, { 0x05820066, "EDIROL PCR-1 WAVE" }, { 0x05820067, "EDIROL PCR-1 MIDI" }, { 0x0582006a, "SP-606" }, { 0x0582006b, "SP-606" }, { 0x0582006d, "FANTOM-X" }, { 0x0582006e, "FANTOM-X" }, { 0x05820073, "EDIROL UA-25" }, { 0x05820074, "EDIROL UA-25" }, { 0x05820075, "BOSS DR-880" }, { 0x05820076, "BOSS DR-880" }, { 0x0582007a, "RD" }, { 0x0582007b, "RD" }, { 0x0582007d, "EDIROL UA-101" }, { 0x05820080, "G-70" }, { 0x05820081, "G-70" }, { 0x05820084, "V-SYNTH XT" }, { 0x05820089, "BOSS GT-PRO" }, { 0x0582008b, "EDIROL PC-50" }, { 0x0582008c, "EDIROL PC-50" }, { 0x0582008d, "EDIROL UA-101 USB1" }, { 0x05820092, "EDIROL PC-80 WAVE" }, { 0x05820093, "EDIROL PC-80 MIDI" }, { 0x05820096, "EDIROL UA-1EX" }, { 0x0582009a, "EDIROL UM-3EX" }, { 0x0582009d, "EDIROL UM-1" }, { 0x058200a0, "MD-P1" }, { 0x058200a2, "Digital Piano" }, { 0x058200a3, "EDIROL UA-4FX" }, { 0x058200a6, "Juno-G" }, { 0x058200a9, "MC-808" }, { 0x058200ad, "SH-201" }, { 0x058200b2, "VG-99" }, { 0x058200b3, "VG-99" }, { 0x058200b7, "BK-7m/VIMA JM-5/8" }, { 0x058200c2, "SonicCell" }, { 0x058200c4, "EDIROL M-16DX" }, { 0x058200c5, "SP-555" }, { 0x058200c7, "V-Synth GT" }, { 0x058200d1, "Music Atelier" }, { 0x058200d3, "M-380/400" }, { 0x058200da, "BOSS GT-10" }, { 0x058200db, "BOSS GT-10 Guitar Effects Processor" }, { 0x058200dc, "BOSS GT-10B" }, { 0x058200de, "Fantom G" }, { 0x058200e6, "EDIROL UA-25EX (Advanced mode)" }, { 0x058200e7, "EDIROL UA-25EX" }, { 0x058200e9, "UA-1G" }, { 0x058200eb, "VS-100" }, { 0x058200f6, "GW-8/AX-Synth" }, { 0x058200f8, "JUNO Series" }, { 0x058200fc, "VS-700C" }, { 0x058200fd, "VS-700" }, { 0x058200fe, "VS-700 M1" }, { 0x058200ff, "VS-700 M2" }, { 0x05820100, "VS-700" }, { 0x05820101, "VS-700 M2" }, { 0x05820102, "VB-99" }, { 0x05820104, "UM-1G" }, { 0x05820106, "UM-2G" }, { 0x05820108, "UM-3G" }, { 0x05820109, "eBand JS-8" }, { 0x0582010d, "A-500S" }, { 0x0582010f, "A-PRO" }, { 0x05820110, "A-PRO" }, { 0x05820111, "GAIA SH-01" }, { 0x05820113, "ME-25" }, { 0x05820114, "SD-50" }, { 0x05820116, "WAVE/MP3 RECORDER R-05" }, { 0x05820117, "VS-20" }, { 0x05820119, "OCTAPAD SPD-30" }, { 0x0582011c, "Lucina AX-09" }, { 0x0582011e, "BR-800" }, { 0x05820120, "OCTA-CAPTURE" }, { 0x05820121, "OCTA-CAPTURE" }, { 0x05820123, "JUNO-Gi" }, { 0x05820124, "M-300" }, { 0x05820127, "GR-55" }, { 0x0582012a, "UM-ONE" }, { 0x0582012b, "DUO-CAPTURE" }, { 0x0582012f, "QUAD-CAPTURE" }, { 0x05820130, "MICRO BR BR-80" }, { 0x05820132, "TRI-CAPTURE" }, { 0x05820134, "V-Mixer" }, { 0x05820138, "Boss RC-300 (Audio mode)" }, { 0x05820139, "Boss RC-300 (Storage mode)" }, { 0x0582013a, "JUPITER-80" }, { 0x0582013e, "R-26" }, { 0x05820145, "SPD-SX" }, { 0x0582014b, "eBand JS-10" }, { 0x0582014d, "GT-100" }, { 0x05820150, "TD-15" }, { 0x05820151, "TD-11" }, { 0x05820154, "JUPITER-50" }, { 0x05820156, "A-Series" }, { 0x05820158, "TD-30" }, { 0x05820159, "DUO-CAPTURE EX" }, { 0x0582015b, "INTEGRA-7" }, { 0x0582015d, "R-88" }, { 0x058201b5, "Boutique Series Synthesizer (Normal mode)" }, { 0x058201b6, "Boutique Series Synthesizer (Storage mode)" }, { 0x058201cd, "Boutique TB-03" }, { 0x058201cf, "Boutique TR-09" }, { 0x058201df, "Rubix22" }, { 0x058201e0, "Rubix24" }, { 0x058201e1, "Rubix44" }, { 0x058201ef, "Go:KEYS MIDI" }, { 0x058201fd, "Boutique SH-01A" }, { 0x058201ff, "Roland Corp. Boutique D-05" }, { 0x0582020a, "TR-8S" }, { 0x0582025c, "Boutique TR-06" }, { 0x0582028c, "Roland Corp. Boutique JD-08" }, { 0x0582028e, "Roland Corp. Boutique JX-08" }, { 0x05820505, "EDIROL UA-101" }, { 0x05830001, "4 Axis 12 button +POV" }, { 0x05830002, "4 Axis 12 button +POV" }, { 0x05832030, "RM-203 USB Nest [mode 1]" }, { 0x05832031, "RM-203 USB Nest [mode 2]" }, { 0x05832032, "RM-203 USB Nest [mode 3]" }, { 0x05832033, "RM-203 USB Nest [mode 4]" }, { 0x05832050, "PX-205 PSX Bridge" }, { 0x0583205f, "PSX/USB converter" }, { 0x05832060, "2-axis 8-button gamepad" }, { 0x0583206f, "USB, 2-axis 8-button gamepad" }, { 0x05833050, "QF-305u Gamepad" }, { 0x05833379, "Rockfire X-Force" }, { 0x0583337f, "Rockfire USB RacingStar Vibra" }, { 0x0583509f, "USB,4-Axis,12-Button with POV" }, { 0x05835259, "Rockfire USB SkyShuttle Vibra" }, { 0x0583525f, "USB Vibration Pad" }, { 0x05835308, "USB Wireless VibrationPad" }, { 0x05835359, "Rockfire USB SkyShuttle Pro" }, { 0x0583535f, "USB,real VibrationPad" }, { 0x05835659, "Rockfire USB SkyShuttle Vibra" }, { 0x0583565f, "USB VibrationPad" }, { 0x05836009, "Revenger" }, { 0x0583600f, "USB,GameBoard II" }, { 0x05836258, "USB, 4-axis, 6-button joystick w/view finder" }, { 0x05836889, "Windstorm Pro" }, { 0x0583688f, "QF-688uv Windstorm Pro Joystick" }, { 0x05837070, "QF-707u Bazooka Joystick" }, { 0x0583a000, "MaxFire G-08XU Gamepad" }, { 0x0583a015, "4-Axis,16-Button with POV" }, { 0x0583a019, "USB, Vibration ,4-axis, 8-button joystick w/view finder" }, { 0x0583a020, "USB,4-Axis,10-Button with POV" }, { 0x0583a021, "USB,4-Axis,12-Button with POV" }, { 0x0583a022, "USB,4-Axis,14-Button with POV" }, { 0x0583a023, "USB,4-Axis,16-Button with POV" }, { 0x0583a024, "4axis,12button vibrition audio gamepad" }, { 0x0583a025, "4axis,12button vibrition audio gamepad" }, { 0x0583a130, "USB Wireless 2.4GHz Gamepad" }, { 0x0583a131, "USB Wireless 2.4GHz Joystick" }, { 0x0583a132, "USB Wireless 2.4GHz Wheelpad" }, { 0x0583a133, "USB Wireless 2.4GHz Wheel&Gamepad" }, { 0x0583a202, "ForceFeedbackWheel" }, { 0x0583a209, "MetalStrike FF" }, { 0x0583b000, "USB,4-Axis,12-Button with POV" }, { 0x0583b001, "USB,4-Axis,12-Button with POV" }, { 0x0583b002, "Vibration,12-Button USB Wheel" }, { 0x0583b005, "USB,12-Button Wheel" }, { 0x0583b008, "USB Wireless 2.4GHz Wheel" }, { 0x0583b009, "USB,12-Button Wheel" }, { 0x0583b00a, "PSX/USB converter" }, { 0x0583b00b, "PSX/USB converter" }, { 0x0583b00c, "PSX/USB converter" }, { 0x0583b00d, "PSX/USB converter" }, { 0x0583b00e, "4-Axis,12-Button with POV" }, { 0x0583b00f, "USB,5-Axis,10-Button with POV" }, { 0x0583b010, "MetalStrike Pro" }, { 0x0583b012, "Wireless MetalStrike" }, { 0x0583b013, "USB,Wiress 2.4GHZ Joystick" }, { 0x0583b016, "USB,5-Axis,10-Button with POV" }, { 0x0583b018, "TW6 Wheel" }, { 0x0583ff60, "USB Wireless VibrationPad" }, { 0x05840008, "Fujifilm MemoryCard ReaderWriter" }, { 0x05840220, "U2SCX SCSI Converter" }, { 0x05840304, "U2SCX-LVD (SCSI Converter)" }, { 0x0584b000, "REX-USB60" }, { 0x0584b020, "REX-USB60F" }, { 0x0584b022, "RTX-USB60F" }, { 0x05850001, "Digital Camera" }, { 0x05850002, "Digital Camera" }, { 0x05850003, "Digital Camera" }, { 0x05850004, "Digital Camera" }, { 0x05850005, "Digital Camera" }, { 0x05850006, "Digital Camera" }, { 0x05850007, "Digital Camera" }, { 0x05850008, "Digital Camera" }, { 0x05850009, "Digital Camera" }, { 0x0585000a, "Digital Camera" }, { 0x0585000b, "Digital Camera" }, { 0x0585000c, "Digital Camera" }, { 0x0585000d, "Digital Camera" }, { 0x0585000e, "Digital Camera" }, { 0x0585000f, "Digital Camera" }, { 0x05860025, "802.11b/g/n USB Wireless Network Adapter" }, { 0x05860100, "omni.net" }, { 0x05860102, "omni.net II ISDN TA [HFC-S]" }, { 0x05860110, "omni.net Plus" }, { 0x05861000, "omni.net LCD Plus - ISDN TA" }, { 0x05861500, "Omni 56K Plus" }, { 0x05862011, "Scorpion-980N keyboard" }, { 0x05863304, "LAN Modem" }, { 0x05863309, "ADSL Modem Prestige 600 series" }, { 0x0586330a, "ADSL Modem Interface" }, { 0x0586330e, "USB Broadband ADSL Modem Rev 1.10" }, { 0x05863400, "ZyAIR B-220 IEEE 802.11b Adapter" }, { 0x05863401, "ZyAIR G-220 802.11bg" }, { 0x05863402, "ZyAIR G-220F 802.11bg" }, { 0x05863403, "AG-200 802.11abg Wireless Adapter [Atheros AR5523]" }, { 0x05863407, "G-200 v2 802.11bg" }, { 0x05863408, "G-260 802.11bg" }, { 0x05863409, "AG-225H 802.11bg" }, { 0x0586340a, "M-202 802.11bg" }, { 0x0586340c, "G-270S 802.11bg Wireless Adapter [Atheros AR5523]" }, { 0x0586340f, "G-220 v2 802.11bg" }, { 0x05863410, "ZyAIR G-202 802.11bg" }, { 0x05863412, "802.11bg" }, { 0x05863413, "ZyAIR AG-225H v2 802.11bg" }, { 0x05863415, "G-210H 802.11g Wireless Adapter" }, { 0x05863416, "NWD-210N 802.11b/g/n-draft wireless adapter" }, { 0x05863417, "NWD271N 802.11n Wireless Adapter [Atheros AR9001U-(2)NG]" }, { 0x05863418, "NWD211AN 802.11abgn Wireless Adapter [Ralink RT2870]" }, { 0x05863419, "G-220 v3 802.11bg Wireless Adapter [ZyDAS ZD1211B]" }, { 0x0586341a, "NWD-270N Wireless N-lite USB Adapter" }, { 0x0586341e, "NWD2105 802.11bgn Wireless Adapter [Ralink RT3070]" }, { 0x0586341f, "NWD2205 802.11n Wireless N Adapter [Realtek RTL8192CU]" }, { 0x05863425, "NWD6505 802.11a/b/g/n/ac Wireless Adapter [MediaTek MT7610U]" }, { 0x0586343e, "N220 802.11bgn Wireless Adapter" }, { 0x058b0015, "Flash Loader utility" }, { 0x058b001c, "Flash Drive" }, { 0x058b0041, "Flash Loader utility" }, { 0x058c0007, "Flash" }, { 0x058c0008, "LP130" }, { 0x058c000a, "LP530" }, { 0x058c0010, "Projector" }, { 0x058c0011, "Projector" }, { 0x058c0012, "Projector" }, { 0x058c0013, "Projector" }, { 0x058c0014, "Projector" }, { 0x058c0015, "Projector" }, { 0x058c0016, "Projector" }, { 0x058c0017, "Projector" }, { 0x058c0018, "Projector" }, { 0x058c0019, "Projector" }, { 0x058c001a, "Projector" }, { 0x058c001b, "Projector" }, { 0x058c001c, "Projector" }, { 0x058c001d, "Projector" }, { 0x058c001e, "Projector" }, { 0x058c001f, "Projector" }, { 0x058cffe5, "IN34 Projector" }, { 0x058cffeb, "Projector IN76" }, { 0x058f1234, "Flash Drive" }, { 0x058f198b, "Webcam (Gigatech P-09)" }, { 0x058f2412, "SCard R/W CSR-145" }, { 0x058f2802, "Monterey Keyboard" }, { 0x058f5492, "Hub" }, { 0x058f6232, "Hi-Speed 16-in-1 Flash Card Reader/Writer" }, { 0x058f6254, "USB Hub" }, { 0x058f6331, "SD/MMC/MS Card Reader" }, { 0x058f6332, "Multi-Function Card Reader" }, { 0x058f6335, "SD/MMC Card Reader" }, { 0x058f6360, "Multimedia Card Reader" }, { 0x058f6361, "Multimedia Card Reader" }, { 0x058f6362, "Flash Card Reader/Writer" }, { 0x058f6364, "AU6477 Card Reader Controller" }, { 0x058f6366, "Multi Flash Reader" }, { 0x058f6377, "AU6375 4-LUN card reader" }, { 0x058f6386, "Memory Card" }, { 0x058f6387, "Flash Drive" }, { 0x058f6390, "USB 2.0-IDE bridge" }, { 0x058f6391, "IDE Bridge" }, { 0x058f6998, "AU6998 Flash Disk Controller" }, { 0x058f9213, "MacAlly Kbd Hub" }, { 0x058f9215, "AU9814 Hub" }, { 0x058f9254, "Hub" }, { 0x058f9310, "Mass Storage (UID4/5A & UID7A)" }, { 0x058f9320, "Micro Storage Driver for Win98" }, { 0x058f9321, "Micro Storage Driver for Win98" }, { 0x058f9330, "SD Reader" }, { 0x058f9331, "Micro Storage Driver for Win98" }, { 0x058f9340, "Delkin eFilm Reader-32" }, { 0x058f9350, "Delkin eFilm Reader-32" }, { 0x058f9360, "8-in-1 Media Card Reader" }, { 0x058f9361, "Multimedia Card Reader" }, { 0x058f9368, "Multimedia Card Reader" }, { 0x058f9380, "Flash Drive" }, { 0x058f9381, "Flash Drive" }, { 0x058f9382, "Acer/Sweex Flash drive" }, { 0x058f9384, "qdi U2Disk T209M" }, { 0x058f9410, "Keyboard" }, { 0x058f9472, "Keyboard Hub" }, { 0x058f9510, "ChunghwaTL USB02 Smartcard Reader" }, { 0x058f9520, "Watchdata W 1981" }, { 0x058f9540, "AU9540 Smartcard Reader" }, { 0x058f9720, "USB-Serial Adapter" }, { 0x058fa014, "Asus Integrated Webcam" }, { 0x058fb002, "Acer Integrated Webcam" }, { 0x05900004, "Cable Modem" }, { 0x0590000b, "MR56SVS" }, { 0x05900028, "HJ-720IT / HEM-7080IT-E / HEM-790IT" }, { 0x05900051, "FT232BM [E58CIFQ1 with FTDI USB2Serial Converter]" }, { 0x05920002, "UPS (X-Slot)" }, { 0x05951001, "Digitrex DSC-1300/DSC-2100 (mass storage mode)" }, { 0x05952002, "DIGITAL STILL CAMERA 6M 4X" }, { 0x05954343, "Digital Camera EX-20 DSC" }, { 0x05960001, "Touchscreen" }, { 0x05960002, "Touch Screen Controller" }, { 0x05960500, "PCT Multitouch HID Controller" }, { 0x05960543, "DELL XPS touchscreen" }, { 0x059b0001, "Zip 100 (Type 1)" }, { 0x059b000b, "Zip 100 (Type 2)" }, { 0x059b0021, "Win98 Disk Controller" }, { 0x059b0030, "Zip 250 (Ver 1)" }, { 0x059b0031, "Zip 100 (Type 3)" }, { 0x059b0032, "Zip 250 (Ver 2)" }, { 0x059b0034, "Zip 100 Driver" }, { 0x059b0037, "Zip 750 MB" }, { 0x059b0040, "SCSI Bridge" }, { 0x059b0042, "Rev 70 GB" }, { 0x059b0050, "Zip CD 650 Writer" }, { 0x059b0053, "CDRW55292EXT CD-RW External Drive" }, { 0x059b0056, "External CD-RW Drive Enclosure" }, { 0x059b0057, "Mass Storage Device" }, { 0x059b005d, "Mass Storage Device" }, { 0x059b005f, "CDRW64892EXT3-C CD-RW 52x24x52x External Drive" }, { 0x059b0060, "PCMCIA PocketZip Dock" }, { 0x059b0061, "Varo PocketZip 40 MP3 Player" }, { 0x059b006d, "HipZip MP3 Player" }, { 0x059b0070, "eGo Portable Hard Drive" }, { 0x059b007c, "Ultra Max USB/1394" }, { 0x059b007d, "HTC42606 0G9AT00 [Iomega HDD]" }, { 0x059b007e, "Mini 256MB/512MB Flash Drive [IOM2D5]" }, { 0x059b00db, "FotoShow Zip 250 Driver" }, { 0x059b0150, "Mass Storage Device" }, { 0x059b015d, "Super DVD Writer" }, { 0x059b0173, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x059b0174, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x059b0176, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x059b0177, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x059b0178, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x059b0179, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x059b017a, "HDD" }, { 0x059b017b, "HDD/1394A" }, { 0x059b017c, "HDD/1394B" }, { 0x059b0251, "Optical" }, { 0x059b0252, "Optical" }, { 0x059b0275, "ST332082 0A" }, { 0x059b0278, "LDHD-UPS [Professional Desktop Hard Drive eSATA / USB2.0]" }, { 0x059b027a, "LPHD250-U [Portable Hard Drive Silver Series 250 Go]" }, { 0x059b0470, "Prestige Portable Hard Drive" }, { 0x059b047a, "Select Portable Hard Drive" }, { 0x059b0571, "Prestige Portable Hard Drive" }, { 0x059b0579, "eGo Portable Hard Drive" }, { 0x059b1052, "DVD+RW External Drive" }, { 0x059f0201, "StudioDrive USB2" }, { 0x059f0202, "StudioDrive USB2" }, { 0x059f0203, "StudioDrive USB2" }, { 0x059f0211, "PocketDrive" }, { 0x059f0212, "PocketDrive" }, { 0x059f0213, "PocketDrive USB2" }, { 0x059f0323, "LaCie d2 Drive USB2" }, { 0x059f0421, "Big Disk G465" }, { 0x059f0525, "BigDisk Extreme 500" }, { 0x059f0641, "Mobile Hard Drive" }, { 0x059f0828, "d2 Quadra" }, { 0x059f0829, "BigDisk Extreme+" }, { 0x059f1004, "Little Disk 20 GB" }, { 0x059f100c, "Rugged Triple Interface Mobile Hard Drive" }, { 0x059f1010, "Desktop Hard Drive" }, { 0x059f1016, "Desktop Hard Drive" }, { 0x059f1018, "Desktop Hard Drive" }, { 0x059f1019, "Desktop Hard Drive" }, { 0x059f1021, "Little Disk" }, { 0x059f1027, "iamaKey V2" }, { 0x059f102a, "Rikiki Hard Drive" }, { 0x059f103d, "D2" }, { 0x059f1049, "rikiki Harddrive" }, { 0x059f1052, "P'9220 Mobile Drive" }, { 0x059f1053, "P'9230 2TB [Porsche Design Desktop Drive 2TB]" }, { 0x059f1061, "Rugged USB3-FW" }, { 0x059f1064, "Rugged 16 and 32 GB" }, { 0x059f106b, "Rugged Mini HDD" }, { 0x059f106d, "Porsche Design Mobile Drive" }, { 0x059f106e, "Porsche Design Desktop Drive" }, { 0x059f107f, "Rugged Triple (RUFWU3B)" }, { 0x059f1093, "Rugged" }, { 0x059f1094, "Rugged THB" }, { 0x059f1095, "Rugged" }, { 0x059fa601, "HardDrive" }, { 0x059fa602, "CD R/W" }, { 0x05a38388, "Marvell 88W8388 802.11a/b/g WLAN" }, { 0x05a39230, "Camera" }, { 0x05a39320, "Camera" }, { 0x05a39331, "Camera" }, { 0x05a39332, "Camera - 1080p" }, { 0x05a39422, "Camera" }, { 0x05a39520, "Camera" }, { 0x05a41000, "WKB-1000S Wireless Ergo Keyboard with Touchpad" }, { 0x05a42000, "WKB-2000 Wireless Keyboard with Touchpad" }, { 0x05a49720, "Keyboard Mouse" }, { 0x05a49722, "Keyboard" }, { 0x05a49731, "MCK-600W/MCK-800USB Keyboard" }, { 0x05a49783, "Wireless Keypad" }, { 0x05a49837, "Targus Number Keypad" }, { 0x05a49862, "Targus Number Keypad (Composite Device)" }, { 0x05a49881, "IR receiver [VRC-1100 Vista MCE Remote Control]" }, { 0x05a60001, "CVA124 Cable Voice Adapter (WDM)" }, { 0x05a60002, "CVA122 Cable Voice Adapter (WDM)" }, { 0x05a60003, "CVA124E Cable Voice Adapter (WDM)" }, { 0x05a60004, "CVA122E Cable Voice Adapter (WDM)" }, { 0x05a60008, "STA1520 Tuning Adapter" }, { 0x05a60009, "Console" }, { 0x05a60a00, "Integrated Management Controller Hub" }, { 0x05a60a01, "Virtual Keyboard/Mouse" }, { 0x05a60a02, "Virtual Mass Storage" }, { 0x05a60a03, "Virtual Ethernet/RNDIS" }, { 0x05a71020, "Companion Speaker" }, { 0x05a74000, "Bluetooth Headset" }, { 0x05a74001, "Bluetooth Headset in DFU mode" }, { 0x05a74002, "Bluetooth Headset Series 2" }, { 0x05a74003, "Bluetooth Headset Series 2 in DFU mode" }, { 0x05a7400d, "SoundLink Color II speaker in DFU mode" }, { 0x05a740fe, "SoundLink Color II / Flex" }, { 0x05a7bc50, "SoundLink Wireless Mobile speaker" }, { 0x05a7bc51, "SoundLink Wireless Mobile speaker in DFU mode" }, { 0x05a90511, "OV511 Webcam" }, { 0x05a90518, "OV518 Webcam" }, { 0x05a90519, "OV519 Microphone" }, { 0x05a91550, "VEHO Filmscanner" }, { 0x05a92640, "OV2640 Webcam" }, { 0x05a92642, "Integrated Webcam for Dell XPS 2010" }, { 0x05a92643, "Monitor Webcam" }, { 0x05a9264b, "Monitor Webcam" }, { 0x05a92800, "SuperCAM" }, { 0x05a94519, "Webcam Classic" }, { 0x05a97670, "OV7670 Webcam" }, { 0x05a98065, "GAIA Sensor FPGA Demo Board" }, { 0x05a98519, "OV519 Webcam" }, { 0x05a9a511, "OV511+ Webcam" }, { 0x05a9a518, "D-Link DSB-C310 Webcam" }, { 0x05ab0002, "Parallel Port" }, { 0x05ab0030, "Storage Adapter V2 (TPP)" }, { 0x05ab0031, "ATA Bridge" }, { 0x05ab0060, "USB 2.0 ATA Bridge" }, { 0x05ab0061, "Storage Adapter V3 (TPP-I)" }, { 0x05ab0101, "Storage Adapter (TPP)" }, { 0x05ab0130, "Compact Flash and Microdrive Reader (TPP)" }, { 0x05ab0200, "USS725 ATA Bridge" }, { 0x05ab0201, "Storage Adapter (TPP)" }, { 0x05ab0202, "ATA Bridge" }, { 0x05ab0300, "Portable Hard Drive (TPP)" }, { 0x05ab0301, "Portable Hard Drive V2" }, { 0x05ab0350, "Portable Hard Drive (TPP)" }, { 0x05ab0351, "Portable Hard Drive V2" }, { 0x05ab081a, "ATA Bridge" }, { 0x05ab0cda, "ATA Bridge for CD-R/RW" }, { 0x05ab1001, "BAYI Printer Class Support" }, { 0x05ab5700, "Storage Adapter V2 (TPP)" }, { 0x05ab5701, "USB Storage Adapter V2" }, { 0x05ab5901, "Smart Board (TPP)" }, { 0x05ab5a01, "ATI Storage Adapter (TPP)" }, { 0x05ab5d01, "DataBook Adapter (TPP)" }, { 0x05ac0201, "USB Keyboard [Alps or Logitech, M2452]" }, { 0x05ac0202, "Keyboard [ALPS]" }, { 0x05ac0205, "Extended Keyboard [Mitsumi]" }, { 0x05ac0206, "Extended Keyboard [Mitsumi]" }, { 0x05ac020b, "Pro Keyboard [Mitsumi, A1048/US layout]" }, { 0x05ac020c, "Extended Keyboard [Mitsumi]" }, { 0x05ac020d, "Pro Keyboard [Mitsumi, A1048/JIS layout]" }, { 0x05ac020e, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac020f, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0214, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac0215, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0216, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac0217, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac0218, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0219, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac021a, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac021b, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac021c, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac021d, "Aluminum Mini Keyboard (ANSI)" }, { 0x05ac021e, "Aluminum Mini Keyboard (ISO)" }, { 0x05ac021f, "Aluminum Mini Keyboard (JIS)" }, { 0x05ac0220, "Aluminum Keyboard (ANSI)" }, { 0x05ac0221, "Aluminum Keyboard (ISO)" }, { 0x05ac0222, "Aluminum Keyboard (JIS)" }, { 0x05ac0223, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac0224, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0225, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac0229, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac022a, "Internal Keyboard/Trackpad (MacBook Pro) (ISO)" }, { 0x05ac022b, "Internal Keyboard/Trackpad (MacBook Pro) (JIS)" }, { 0x05ac0230, "Internal Keyboard/Trackpad (MacBook Pro 4,1) (ANSI)" }, { 0x05ac0231, "Internal Keyboard/Trackpad (MacBook Pro 4,1) (ISO)" }, { 0x05ac0232, "Internal Keyboard/Trackpad (MacBook Pro 4,1) (JIS)" }, { 0x05ac0236, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac0237, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0238, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac023f, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac0240, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0241, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac0242, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac0243, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0244, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac0245, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac0246, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0247, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac024a, "Internal Keyboard/Trackpad (MacBook Air) (ISO)" }, { 0x05ac024d, "Internal Keyboard/Trackpad (MacBook Air) (ISO)" }, { 0x05ac024f, "Aluminium Keyboard (ANSI)" }, { 0x05ac0250, "Aluminium Keyboard (ISO)" }, { 0x05ac0252, "Internal Keyboard/Trackpad (ANSI)" }, { 0x05ac0253, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0254, "Internal Keyboard/Trackpad (JIS)" }, { 0x05ac0259, "Internal Keyboard/Trackpad" }, { 0x05ac025a, "Internal Keyboard/Trackpad" }, { 0x05ac0263, "Apple Internal Keyboard / Trackpad (MacBook Retina)" }, { 0x05ac0267, "Magic Keyboard A1644" }, { 0x05ac0269, "Magic Mouse 2 (Lightning connector)" }, { 0x05ac0273, "Internal Keyboard/Trackpad (ISO)" }, { 0x05ac0301, "USB Mouse [Mitsumi, M4848]" }, { 0x05ac0302, "Optical Mouse [Fujitsu]" }, { 0x05ac0304, "Mighty Mouse [Mitsumi, M1152]" }, { 0x05ac0306, "Optical USB Mouse [Fujitsu]" }, { 0x05ac030a, "Internal Trackpad" }, { 0x05ac030b, "Internal Trackpad" }, { 0x05ac030d, "Magic Mouse" }, { 0x05ac030e, "MC380Z/A [Magic Trackpad]" }, { 0x05ac1000, "Bluetooth HCI MacBookPro (HID mode)" }, { 0x05ac1001, "Keyboard Hub [ALPS]" }, { 0x05ac1002, "Extended Keyboard Hub [Mitsumi]" }, { 0x05ac1003, "Hub in Pro Keyboard [Mitsumi, A1048]" }, { 0x05ac1006, "Hub in Aluminum Keyboard" }, { 0x05ac1008, "Mini DisplayPort to Dual-Link DVI Adapter" }, { 0x05ac1009, "iBus Hub" }, { 0x05ac100c, "Nova Hub" }, { 0x05ac1101, "Speakers" }, { 0x05ac1105, "Audio in LED Cinema Display" }, { 0x05ac1107, "Thunderbolt Display Audio" }, { 0x05ac1112, "FaceTime HD Camera (Display)" }, { 0x05ac1201, "3G iPod" }, { 0x05ac1202, "iPod 2G" }, { 0x05ac1203, "iPod 4.Gen Grayscale 40G" }, { 0x05ac1204, "iPod [Photo]" }, { 0x05ac1205, "iPod Mini 1.Gen/2.Gen" }, { 0x05ac1206, "iPod '06'" }, { 0x05ac1207, "iPod '07'" }, { 0x05ac1208, "iPod '08'" }, { 0x05ac1209, "iPod Video" }, { 0x05ac120a, "iPod Nano" }, { 0x05ac1223, "iPod Classic/Nano 3.Gen (DFU mode)" }, { 0x05ac1224, "iPod Nano 3.Gen (DFU mode)" }, { 0x05ac1225, "iPod Nano 4.Gen (DFU mode)" }, { 0x05ac1227, "Mobile Device (DFU Mode)" }, { 0x05ac1231, "iPod Nano 5.Gen (DFU mode)" }, { 0x05ac1240, "iPod Nano 2.Gen (DFU mode)" }, { 0x05ac1242, "iPod Nano 3.Gen (WTF mode)" }, { 0x05ac1243, "iPod Nano 4.Gen (WTF mode)" }, { 0x05ac1245, "iPod Classic 3.Gen (WTF mode)" }, { 0x05ac1246, "iPod Nano 5.Gen (WTF mode)" }, { 0x05ac1255, "iPod Nano 4.Gen (DFU mode)" }, { 0x05ac1260, "iPod Nano 2.Gen" }, { 0x05ac1261, "iPod Classic" }, { 0x05ac1262, "iPod Nano 3.Gen" }, { 0x05ac1263, "iPod Nano 4.Gen" }, { 0x05ac1265, "iPod Nano 5.Gen" }, { 0x05ac1266, "iPod Nano 6.Gen" }, { 0x05ac1267, "iPod Nano 7.Gen" }, { 0x05ac1281, "Apple Mobile Device [Recovery Mode]" }, { 0x05ac1290, "Apple iPhone" }, { 0x05ac1291, "Apple iPod Touch 1st Gen" }, { 0x05ac1292, "Apple iPhone 3G" }, { 0x05ac1293, "Apple iPod Touch 2nd Gen" }, { 0x05ac1294, "Apple iPhone 3GS" }, { 0x05ac1296, "Apple 0x1296" }, { 0x05ac1297, "Apple 0x1297" }, { 0x05ac1298, "Apple 0x1298" }, { 0x05ac1299, "Apple iPod Touch 3rd Gen" }, { 0x05ac129a, "Apple iPad" }, { 0x05ac129c, "iPhone 4(CDMA)" }, { 0x05ac129d, "iPhone" }, { 0x05ac129e, "iPod Touch 4.Gen" }, { 0x05ac129f, "iPad 2" }, { 0x05ac12a0, "Apple iPhone 4S" }, { 0x05ac12a1, "iPhone" }, { 0x05ac12a2, "iPad 2 (3G; 64GB)" }, { 0x05ac12a3, "iPad 2 (CDMA)" }, { 0x05ac12a4, "iPad 3 (wifi)" }, { 0x05ac12a5, "iPad 3 (CDMA)" }, { 0x05ac12a6, "iPad 3 (3G, 16 GB)" }, { 0x05ac12a7, "TV Device" }, { 0x05ac12a8, "Apple iPhone 5" }, { 0x05ac12a9, "iPad 2" }, { 0x05ac12aa, "iPod Touch 5.Gen [A1421]" }, { 0x05ac12ab, "Apple iPad Air" }, { 0x05ac12ac, "iPhone" }, { 0x05ac12af, "Watch" }, { 0x05ac12b0, "HomePod" }, { 0x05ac1300, "iPod Shuffle" }, { 0x05ac1301, "iPod Shuffle 2.Gen" }, { 0x05ac1302, "iPod Shuffle 3.Gen" }, { 0x05ac1303, "iPod Shuffle 4.Gen" }, { 0x05ac1392, "Apple Watch charger" }, { 0x05ac1393, "AirPods case" }, { 0x05ac1395, "Smart Battery Case [iPhone 6]" }, { 0x05ac1398, "Smart Battery Case" }, { 0x05ac1401, "Modem" }, { 0x05ac1402, "Ethernet Adapter [A1277]" }, { 0x05ac1460, "Digital AV Multiport Adapter" }, { 0x05ac1461, "VGA Multiport Adapter" }, { 0x05ac1463, "HDMI Adapter" }, { 0x05ac1500, "SuperDrive [A1379]" }, { 0x05ac1624, "Nova" }, { 0x05ac1625, "iBus" }, { 0x05ac8005, "OHCI Root Hub Simulation" }, { 0x05ac8006, "EHCI Root Hub Simulation" }, { 0x05ac8007, "XHCI Root Hub USB 2.0 Simulation" }, { 0x05ac8202, "HCF V.90 Data/Fax Modem" }, { 0x05ac8203, "Bluetooth HCI" }, { 0x05ac8204, "Built-in Bluetooth 2.0+EDR HCI" }, { 0x05ac8205, "Bluetooth HCI" }, { 0x05ac8206, "Bluetooth HCI" }, { 0x05ac8207, "Built-in Bluetooth" }, { 0x05ac820a, "Bluetooth HID Keyboard" }, { 0x05ac820b, "Bluetooth HID Mouse" }, { 0x05ac820f, "Bluetooth HCI" }, { 0x05ac8213, "Bluetooth Host Controller" }, { 0x05ac8215, "Built-in Bluetooth 2.0+EDR HCI" }, { 0x05ac8216, "Bluetooth USB Host Controller" }, { 0x05ac8217, "Bluetooth USB Host Controller" }, { 0x05ac8218, "Bluetooth Host Controller" }, { 0x05ac821a, "Bluetooth Host Controller" }, { 0x05ac821f, "Built-in Bluetooth 2.0+EDR HCI" }, { 0x05ac8233, "iBridge" }, { 0x05ac8240, "Built-in IR Receiver" }, { 0x05ac8241, "Built-in IR Receiver" }, { 0x05ac8242, "Built-in IR Receiver" }, { 0x05ac8281, "Bluetooth Host Controller" }, { 0x05ac8286, "Bluetooth Host Controller" }, { 0x05ac8289, "Bluetooth Host Controller" }, { 0x05ac828c, "Bluetooth Host Controller" }, { 0x05ac828d, "Bluetooth Host Controller" }, { 0x05ac8290, "Bluetooth Host Controller" }, { 0x05ac8300, "Built-in iSight (no firmware loaded)" }, { 0x05ac8403, "Internal Memory Card Reader" }, { 0x05ac8404, "Internal Memory Card Reader" }, { 0x05ac8406, "Internal Memory Card Reader" }, { 0x05ac8501, "Built-in iSight [Micron]" }, { 0x05ac8502, "Built-in iSight" }, { 0x05ac8505, "Built-in iSight" }, { 0x05ac8507, "Built-in iSight" }, { 0x05ac8508, "iSight in LED Cinema Display" }, { 0x05ac8509, "FaceTime HD Camera" }, { 0x05ac850a, "FaceTime Camera" }, { 0x05ac8510, "FaceTime HD Camera (Built-in)" }, { 0x05ac8511, "FaceTime HD Camera (Built-in)" }, { 0x05ac8600, "iBridge" }, { 0x05ac911c, "Hub in A1082 [Cinema HD Display 23\"]" }, { 0x05ac9127, "Hub in Thunderbolt Display" }, { 0x05ac912f, "Hub in 30\" Cinema Display" }, { 0x05ac9210, "Studio Display 21\"" }, { 0x05ac9215, "Studio Display 15\"" }, { 0x05ac9217, "Studio Display 17\"" }, { 0x05ac9218, "Cinema Display 23\"" }, { 0x05ac9219, "Cinema Display 20\"" }, { 0x05ac921c, "A1082 [Cinema HD Display 23\"]" }, { 0x05ac921e, "Cinema Display 24\"" }, { 0x05ac9221, "30\" Cinema Display" }, { 0x05ac9226, "LED Cinema Display" }, { 0x05ac9227, "Thunderbolt Display" }, { 0x05ac9232, "Cinema HD Display 30\"" }, { 0x05acffff, "Bluetooth in DFU mode - Driver" }, { 0x05af0806, "HP SK806A Keyboard" }, { 0x05af0809, "Wireless Keyboard and Mouse" }, { 0x05af0821, "IDE to" }, { 0x05af3062, "Cordless Keyboard" }, { 0x05af9167, "KB 9151B - 678" }, { 0x05af9267, "KB 9251B - 678 Mouse" }, { 0x05b11389, "Bluetooth Wireless Adapter" }, { 0x05b44857, "M-Any DAH-210" }, { 0x05b46001, "HYUNDAI GDS30C6001 SSFDC / MMC I/F Controller" }, { 0x05b83002, "Scroll Mouse" }, { 0x05b83126, "APT-905 Wireless presenter" }, { 0x05b83223, "ISY Wireless Presenter" }, { 0x05ba0007, "Fingerprint Reader" }, { 0x05ba0008, "Fingerprint Reader" }, { 0x05ba000a, "Fingerprint Reader" }, { 0x05bc0004, "Trackball" }, { 0x05c50002, "AccelePort USB 2" }, { 0x05c50004, "AccelePort USB 4" }, { 0x05c50008, "AccelePort USB 8" }, { 0x05c60114, "Select RW-200 CDMA Wireless Modem" }, { 0x05c60229, "Qualcomm (for Nokia) 5530 Xpressmusic" }, { 0x05c60a02, "Jolla Device Developer Mode" }, { 0x05c60a07, "Intex Aqua Fish" }, { 0x05c60afe, "Jolla Device Charging Only" }, { 0x05c61000, "Mass Storage Device" }, { 0x05c63100, "CDMA Wireless Modem/Phone" }, { 0x05c63196, "CDMA Wireless Modem" }, { 0x05c63197, "CDMA Wireless Modem/Phone" }, { 0x05c66000, "Siemens SG75" }, { 0x05c66503, "AnyData APE-540H" }, { 0x05c66613, "Onda H600/N501HS ZTE MF330" }, { 0x05c66764, "A0001 Phone [OnePlus One]" }, { 0x05c69000, "SIMCom SIM5218 modem" }, { 0x05c69001, "Gobi Wireless Modem" }, { 0x05c69002, "Gobi Wireless Modem" }, { 0x05c69003, "Quectel UC20" }, { 0x05c69008, "Gobi Wireless Modem (QDL mode)" }, { 0x05c69018, "Qualcomm HSUSB Device" }, { 0x05c69025, "HSUSB Device" }, { 0x05c69090, "Quectel UC15" }, { 0x05c69091, "Intex Aqua Fish & Jolla C Diagnostic Mode" }, { 0x05c69092, "Nokia 8110 4G" }, { 0x05c690ba, "Audio 1.0 device" }, { 0x05c690bb, "Snapdragon interface (MIDI + ADB)" }, { 0x05c690dc, "Fairphone 2 (Charging & ADB)" }, { 0x05c69201, "Gobi Wireless Modem (QDL mode)" }, { 0x05c69202, "Gobi Wireless Modem" }, { 0x05c69203, "Gobi Wireless Modem" }, { 0x05c69205, "Gobi 2000" }, { 0x05c69211, "Acer Gobi Wireless Modem (QDL mode)" }, { 0x05c69212, "Acer Gobi Wireless Modem" }, { 0x05c69214, "Acer Gobi 2000 Wireless Modem (QDL mode)" }, { 0x05c69215, "Quectel EC20 LTE modem / Acer Gobi 2000 Wireless Modem" }, { 0x05c69221, "Gobi Wireless Modem (QDL mode)" }, { 0x05c69222, "Gobi Wireless Modem" }, { 0x05c69224, "Sony Gobi 2000 Wireless Modem (QDL mode)" }, { 0x05c69225, "Sony Gobi 2000 Wireless Modem" }, { 0x05c69231, "Gobi Wireless Modem (QDL mode)" }, { 0x05c69234, "Top Global Gobi 2000 Wireless Modem (QDL mode)" }, { 0x05c69235, "Top Global Gobi 2000 Wireless Modem" }, { 0x05c69244, "Samsung Gobi 2000 Wireless Modem (QDL mode)" }, { 0x05c69245, "Samsung Gobi 2000 Wireless Modem" }, { 0x05c69264, "Asus Gobi 2000 Wireless Modem (QDL mode)" }, { 0x05c69265, "Asus Gobi 2000 Wireless Modem" }, { 0x05c69274, "iRex Technologies Gobi 2000 Wireless Modem (QDL mode)" }, { 0x05c69275, "iRex Technologies Gobi 2000 Wireless Modem" }, { 0x05c6f000, "TA-1004 [Nokia 8]" }, { 0x05c6f003, "Nokia 8110 4G" }, { 0x05c6f00e, "FP3" }, { 0x05c70113, "PC Line Mouse" }, { 0x05c71001, "Lynx Mouse" }, { 0x05c72001, "Keyboard" }, { 0x05c72011, "SCorpius Keyboard" }, { 0x05c76001, "Ten-Keypad" }, { 0x05c80103, "FO13FF-65 PC-CAM" }, { 0x05c8010b, "Webcam (UVC)" }, { 0x05c8021a, "HP Webcam" }, { 0x05c80233, "HP Webcam" }, { 0x05c80318, "Webcam" }, { 0x05c80361, "SunplusIT INC. HP Truevision HD Webcam" }, { 0x05c8036e, "Webcam" }, { 0x05c80374, "HP EliteBook integrated HD Webcam" }, { 0x05c8038e, "HP Wide Vision HD integrated webcam" }, { 0x05c803a1, "XiaoMi Webcam" }, { 0x05c803b1, "Webcam" }, { 0x05c803bc, "HP Wide Vision HD Integrated Webcam" }, { 0x05c803cb, "HP Wide Vision HD Integrated Webcam" }, { 0x05c803d2, "HP TrueVision HD Camera" }, { 0x05c80403, "Webcam" }, { 0x05c8041b, "HP 2.0MP High Definition Webcam" }, { 0x05ca0101, "RDC-5300 Camera" }, { 0x05ca0110, "Ricoh Caplio R5" }, { 0x05ca0325, "Ricoh Caplio GX" }, { 0x05ca0327, "Sea & Sea 5000G" }, { 0x05ca032b, "Ricoh Caplio R1v" }, { 0x05ca032d, "Ricoh Caplio GX 8" }, { 0x05ca032f, "Ricoh Caplio R3" }, { 0x05ca033d, "Ricoh Caplio RR750" }, { 0x05ca0353, "Sea & Sea 2G" }, { 0x05ca0365, "Ricoh Theta m15" }, { 0x05ca0366, "Ricoh Theta S" }, { 0x05ca0367, "Ricoh Theta SC" }, { 0x05ca0368, "Ricoh Theta V (MTP)" }, { 0x05ca036d, "Ricoh Theta Z1 (MTP)" }, { 0x05ca03a1, "IS200e" }, { 0x05ca0403, "Printing Support" }, { 0x05ca0405, "Type 101" }, { 0x05ca0406, "Type 102" }, { 0x05ca0437, "Aficio SP 3510SF" }, { 0x05ca044e, "SP C250SF (multifunction device: printer, scanner, fax)" }, { 0x05ca1803, "V5 camera [R5U870]" }, { 0x05ca1810, "Pavilion Webcam [R5U870]" }, { 0x05ca1812, "Pavilion Webcam" }, { 0x05ca1814, "HD Webcam" }, { 0x05ca1815, "Dell Laptop Integrated Webcam" }, { 0x05ca1820, "Integrated Webcam" }, { 0x05ca1830, "Visual Communication Camera VGP-VCC2 [R5U870]" }, { 0x05ca1832, "Visual Communication Camera VGP-VCC3 [R5U870]" }, { 0x05ca1833, "Visual Communication Camera VGP-VCC2 [R5U870]" }, { 0x05ca1834, "Visual Communication Camera VGP-VCC2 [R5U870]" }, { 0x05ca1835, "Visual Communication Camera VGP-VCC5 [R5U870]" }, { 0x05ca1836, "Visual Communication Camera VGP-VCC4 [R5U870]" }, { 0x05ca1837, "Visual Communication Camera VGP-VCC4 [R5U870]" }, { 0x05ca1839, "Visual Communication Camera VGP-VCC6 [R5U870]" }, { 0x05ca183a, "Visual Communication Camera VGP-VCC7 [R5U870]" }, { 0x05ca183b, "Visual Communication Camera VGP-VCC8 [R5U870]" }, { 0x05ca183d, "Sony Vaio Integrated Webcam" }, { 0x05ca183e, "Visual Communication Camera VGP-VCC9 [R5U870]" }, { 0x05ca183f, "Sony Visual Communication Camera Integrated Webcam" }, { 0x05ca1841, "Fujitsu F01/ Lifebook U810 [R5U870]" }, { 0x05ca1870, "Webcam 1000" }, { 0x05ca1880, "R5U880" }, { 0x05ca18b0, "Sony Vaio Integrated Webcam" }, { 0x05ca18b1, "Sony Vaio Integrated Webcam" }, { 0x05ca18b3, "Sony Vaio Integrated Webcam" }, { 0x05ca18b5, "Sony Vaio Integrated Webcam" }, { 0x05ca2201, "RDC-7 Camera" }, { 0x05ca2202, "Caplio RR30" }, { 0x05ca2203, "Caplio 300G" }, { 0x05ca2204, "Caplio G3" }, { 0x05ca2205, "Caplio RR30 / Medion MD 6126 Camera" }, { 0x05ca2206, "Konica DG-3Z" }, { 0x05ca2207, "Caplio Pro G3" }, { 0x05ca2208, "Caplio G4" }, { 0x05ca2209, "Caplio 400G wide" }, { 0x05ca220a, "KONICA MINOLTA DG-4Wide" }, { 0x05ca220b, "Caplio RX" }, { 0x05ca220c, "Caplio GX" }, { 0x05ca220d, "Caplio R1/RZ1" }, { 0x05ca220e, "Sea & Sea 5000G" }, { 0x05ca220f, "Rollei dr5" }, { 0x05ca2211, "Caplio R1S" }, { 0x05ca2212, "Caplio R1v Camera" }, { 0x05ca2213, "Caplio R2" }, { 0x05ca2214, "Caplio GX 8" }, { 0x05ca2215, "DSC 725" }, { 0x05ca2216, "Caplio R3" }, { 0x05ca2222, "RDC-i500" }, { 0x05cb1483, "PV8630 interface (scanners, webcams)" }, { 0x05cc2100, "MicroLink ISDN Office" }, { 0x05cc2219, "MicroLink ISDN" }, { 0x05cc2265, "MicroLink 56k" }, { 0x05cc2267, "MicroLink 56k (V.250)" }, { 0x05cc2280, "MicroLink 56k Fun" }, { 0x05cc3000, "Micolink USB2Ethernet [pegasus]" }, { 0x05cc3100, "AirLancer USB-11" }, { 0x05cc3363, "MicroLink ADSL Fun" }, { 0x05d10003, "Bluetooth Adapter BL-554" }, { 0x05d70099, "10Mbps Ethernet [klsi]" }, { 0x05d84001, "Artec Ultima 2000" }, { 0x05d84002, "Artec Ultima 2000 (GT6801 based)/Lifetec LT9385/ScanMagic 1200 UB Plus Scanner" }, { 0x05d84003, "Artec E+ 48U" }, { 0x05d84004, "Artec E+ Pro" }, { 0x05d84005, "MEM48U" }, { 0x05d84006, "TRUST EASY WEBSCAN 19200" }, { 0x05d84007, "TRUST 240H EASY WEBSCAN GOLD" }, { 0x05d84008, "Trust Easy Webscan 19200" }, { 0x05d84009, "Umax Astraslim" }, { 0x05d84013, "IT Scan 1200" }, { 0x05d88105, "Artec T1 USB TVBOX (cold)" }, { 0x05d88106, "Artec T1 USB TVBOX (warm)" }, { 0x05d88107, "Artec T1 USB TVBOX with AN2235 (cold)" }, { 0x05d88108, "Artec T1 USB TVBOX with AN2235 (warm)" }, { 0x05d88109, "Artec T1 USB2.0 TVBOX (cold" }, { 0x05d9a225, "A225 Printer" }, { 0x05d9a758, "A758 Printer" }, { 0x05d9a794, "A794 Printer" }, { 0x05da0091, "ScanMaker X6u" }, { 0x05da0093, "ScanMaker V6USL" }, { 0x05da0094, "Phantom 336CX/C3" }, { 0x05da0099, "ScanMaker X6/X6U" }, { 0x05da009a, "Phantom C6" }, { 0x05da00a0, "Phantom 336CX/C3 (#2)" }, { 0x05da00a3, "ScanMaker V6USL" }, { 0x05da00ac, "ScanMaker V6UL" }, { 0x05da00b6, "ScanMaker V6UPL" }, { 0x05da00ef, "ScanMaker V6UPL" }, { 0x05da1006, "Jenoptik JD350 entrance" }, { 0x05da1011, "NHJ Che-ez! Kiss Digital Camera" }, { 0x05da1018, "Digital Dream Enigma 1.3" }, { 0x05da1020, "Digital Dream l'espion xtra" }, { 0x05da1025, "Take-it Still Camera Device" }, { 0x05da1026, "Take-it" }, { 0x05da1043, "Take-It 1300 DSC Bulk Driver" }, { 0x05da1045, "Take-it D1" }, { 0x05da1047, "Take-it Camera Composite Device" }, { 0x05da1048, "Take-it Q3" }, { 0x05da1049, "3M Still Camera Device" }, { 0x05da1051, "Camcorder Series" }, { 0x05da1052, "Mass Storage Device" }, { 0x05da1053, "Take-it DV Composite Device" }, { 0x05da1054, "Mass Storage Device" }, { 0x05da1055, "Digital Camera Series(536)" }, { 0x05da1056, "Mass Storage Device" }, { 0x05da1057, "Take-it DSC Camera Device(536)" }, { 0x05da1058, "Mass Storage Device" }, { 0x05da1059, "Camcorder DSC Series" }, { 0x05da1060, "Microtek Take-it MV500" }, { 0x05da2007, "ArtixScan DI 1210" }, { 0x05da200c, "1394_USB2 Scanner" }, { 0x05da200e, "ArtixScan DI 810" }, { 0x05da2017, "UF ICE Scanner" }, { 0x05da201c, "4800 Scanner" }, { 0x05da201d, "ArtixScan DI 1610" }, { 0x05da201f, "4800 Scanner-ICE" }, { 0x05da202e, "ArtixScan DI 2020" }, { 0x05da208b, "ScanMaker 6800" }, { 0x05da208f, "ArtixScan DI 2010" }, { 0x05da209e, "ScanMaker 4700LP" }, { 0x05da20a7, "ScanMaker 5600" }, { 0x05da20b0, "ScanMaker X12USL" }, { 0x05da20b1, "ScanMaker 8700" }, { 0x05da20b4, "ScanMaker 4700" }, { 0x05da20bd, "ScanMaker 5700" }, { 0x05da20c9, "ScanMaker 6700" }, { 0x05da20d2, "Microtek ArtixScan 1800f" }, { 0x05da20d6, "PS4000" }, { 0x05da20de, "ScanMaker 9800XL" }, { 0x05da20e0, "ScanMaker 9700XL" }, { 0x05da20ed, "ScanMaker 4700" }, { 0x05da20ee, "Micortek ScanMaker X12USL" }, { 0x05da2838, "RT2832U" }, { 0x05da3008, "Scanner" }, { 0x05da300a, "4800 ICE Scanner" }, { 0x05da300b, "4800 Scanner" }, { 0x05da300f, "MiniScan C5" }, { 0x05da3020, "4800dpi Scanner" }, { 0x05da3021, "1200dpi Scanner" }, { 0x05da3022, "Scanner 4800dpi" }, { 0x05da3023, "USB1200II Scanner" }, { 0x05da3025, "ScanMaker S460" }, { 0x05da30c1, "USB600 Scanner" }, { 0x05da30ce, "ScanMaker 3800" }, { 0x05da30cf, "ScanMaker 4800" }, { 0x05da30d4, "USB1200 Scanner" }, { 0x05da30d8, "Scanner" }, { 0x05da30d9, "USB2400 Scanner" }, { 0x05da30e4, "ScanMaker 4100" }, { 0x05da30e5, "USB3200 Scanner" }, { 0x05da30e6, "ScanMaker i320" }, { 0x05da40b3, "ScanMaker 3600" }, { 0x05da40b8, "ScanMaker 3700" }, { 0x05da40c7, "ScanMaker 4600" }, { 0x05da40ca, "ScanMaker 3600" }, { 0x05da40cb, "ScanMaker 3700" }, { 0x05da40dd, "ScanMaker 3750i" }, { 0x05da40ff, "ScanMaker 3600" }, { 0x05da5003, "Goya" }, { 0x05da5013, "3200 Scanner" }, { 0x05da6072, "XT-3500 A4 HD Scanner" }, { 0x05da80a3, "ScanMaker V6USL (#2)" }, { 0x05da80ac, "ScanMaker V6UL/SpicyU" }, { 0x05db0003, "SUNTAC U-Cable type D2" }, { 0x05db0005, "SUNTAC U-Cable type P1" }, { 0x05db0009, "SUNTAC Slipper U" }, { 0x05db000a, "SUNTAC Ir-Trinity" }, { 0x05db000b, "SUNTAC U-Cable type A3" }, { 0x05db0011, "SUNTAC U-Cable type A4" }, { 0x05dc0001, "jumpSHOT CompactFlash Reader" }, { 0x05dc0002, "JumpShot" }, { 0x05dc0003, "JumpShot" }, { 0x05dc0080, "Jumpdrive Secure 64MB" }, { 0x05dc0081, "RBC Compact Flash Drive" }, { 0x05dc00a7, "JumpDrive Impact" }, { 0x05dc0100, "JumpDrive PRO" }, { 0x05dc0200, "JumpDrive 2.0 Pro" }, { 0x05dc0300, "Jumpdrive Geysr" }, { 0x05dc0301, "JumpDrive Classic" }, { 0x05dc0302, "JD Micro" }, { 0x05dc0303, "JD Micro Pro" }, { 0x05dc0304, "JD Secure II" }, { 0x05dc0310, "JumpDrive" }, { 0x05dc0311, "JumpDrive Classic" }, { 0x05dc0312, "JD Micro" }, { 0x05dc0313, "JD Micro Pro" }, { 0x05dc0320, "JumpDrive" }, { 0x05dc0321, "JD Micro" }, { 0x05dc0322, "JD Micro Pro" }, { 0x05dc0323, "UFC" }, { 0x05dc0330, "JumpDrive Expression" }, { 0x05dc0340, "JumpDrive TAD" }, { 0x05dc0350, "Express Card" }, { 0x05dc0400, "UFDC" }, { 0x05dc0401, "UFDC" }, { 0x05dc0403, "Locked B Device" }, { 0x05dc0405, "Locked C Device" }, { 0x05dc0407, "Locked D Device" }, { 0x05dc0409, "Locked E Device" }, { 0x05dc040b, "Locked F Device" }, { 0x05dc040d, "Locked G Device" }, { 0x05dc040f, "Locked H Device" }, { 0x05dc0410, "JumpDrive" }, { 0x05dc0411, "JumpDrive" }, { 0x05dc0413, "Locked J Device" }, { 0x05dc0415, "Locked K Device" }, { 0x05dc0417, "Locked L Device" }, { 0x05dc0419, "Locked M Device" }, { 0x05dc041b, "Locked N Device" }, { 0x05dc041d, "Locked O Device" }, { 0x05dc041f, "Locked P Device" }, { 0x05dc0420, "JumpDrive" }, { 0x05dc0421, "JumpDrive" }, { 0x05dc0423, "Locked R Device" }, { 0x05dc0425, "Locked S Device" }, { 0x05dc0427, "Locked T Device" }, { 0x05dc0429, "Locked U Device" }, { 0x05dc042b, "Locked V Device" }, { 0x05dc042d, "Locked W Device" }, { 0x05dc042f, "Locked X Device" }, { 0x05dc0431, "Locked Y Device" }, { 0x05dc0433, "Locked Z Device" }, { 0x05dc4d02, "MP3 Player" }, { 0x05dc4d12, "MP3 Player" }, { 0x05dc4d30, "MP3 Player" }, { 0x05dca201, "JumpDrive S70 4GB" }, { 0x05dca209, "JumpDrive S70" }, { 0x05dca300, "JumpDrive2" }, { 0x05dca400, "JumpDrive trade; Pro 40-501" }, { 0x05dca410, "JumpDrive 128MB/256MB" }, { 0x05dca411, "JumpDrive Traveler" }, { 0x05dca420, "JumpDrive Pro" }, { 0x05dca421, "JumpDrive Pro II" }, { 0x05dca422, "JumpDrive Micro Pro" }, { 0x05dca430, "JumpDrive Secure" }, { 0x05dca431, "JumpDrive Secure II" }, { 0x05dca432, "JumpDrive Classic" }, { 0x05dca440, "JumpDrive Lightning" }, { 0x05dca450, "JumpDrive TouchGuard" }, { 0x05dca460, "JD Mercury" }, { 0x05dca501, "JumpDrive Classic" }, { 0x05dca510, "JumpDrive Sport" }, { 0x05dca530, "JumpDrive Expression" }, { 0x05dca531, "JumpDrive Secure II" }, { 0x05dca560, "JumpDrive FireFly" }, { 0x05dca701, "JumpDrive FireFly" }, { 0x05dca731, "JumpDrive FireFly" }, { 0x05dca762, "JumpDrive FireFly" }, { 0x05dca768, "JumpDrive Retrax" }, { 0x05dca790, "JumpDrive 2GB" }, { 0x05dca811, "16GB Gizmo!" }, { 0x05dca813, "16gB flash thumb drive" }, { 0x05dca815, "JumpDrive V10" }, { 0x05dca81d, "LJDTT16G [JumpDrive 16GB]" }, { 0x05dca833, "JumpDrive S23 64GB" }, { 0x05dca838, "JumpDrive Tough" }, { 0x05dcb002, "USB CF Reader" }, { 0x05dcb018, "Multi-Card Reader" }, { 0x05dcb047, "SDHC Reader [RW047-7000]" }, { 0x05dcb051, "microSD RDR UHS-I Card Reader [LRWM03U-7000]" }, { 0x05dcb054, "Dual-Slot Reader [LRW400U]" }, { 0x05dcba02, "Workflow CFR1" }, { 0x05dcba0a, "Workflow DD512" }, { 0x05dcc753, "JumpDrive TwistTurn" }, { 0x05dcc75c, "JumpDrive V10" }, { 0x05dda011, "HID UPS Battery" }, { 0x05ddff31, "AWU-120" }, { 0x05ddff32, "FriendlyNET AeroLAN AL2011" }, { 0x05ddff35, "PCW 100 - Wireless 802.11b Adapter" }, { 0x05ddff91, "2Wire PC Port Phoneline 10Mbps Adapter" }, { 0x05e00700, "Bar Code Scanner (CS1504)" }, { 0x05e00800, "Spectrum24 Wireless LAN Adapter" }, { 0x05e01200, "Bar Code Scanner" }, { 0x05e01701, "Bar Code Scanner (CDC)" }, { 0x05e01900, "SNAPI Imaging Device" }, { 0x05e01a00, "CS4070 Barcode Scanner" }, { 0x05e02000, "MC3090 Rugged Mobile Computer" }, { 0x05e0200d, "MC70 Rugged Mobile Computer" }, { 0x05e10100, "802.11g + Bluetooth Wireless Adapter" }, { 0x05e10408, "STK1160 Video Capture Device" }, { 0x05e10500, "DC-112X Webcam" }, { 0x05e10501, "DC-1125 Webcam" }, { 0x05e10890, "STK011 Camera" }, { 0x05e10892, "STK013 Camera" }, { 0x05e10895, "STK016 Camera" }, { 0x05e10896, "STK017 Camera" }, { 0x05e12010, "ARCTIC Sound P261 Headphones" }, { 0x05e3000a, "Keyboard with PS/2 Port" }, { 0x05e3000b, "Mouse" }, { 0x05e30100, "Nintendo Game Boy Advance SP" }, { 0x05e30120, "Pacific Image Electronics PrimeFilm 1800u slide/negative scanner" }, { 0x05e30131, "CF/SM Reader/Writer" }, { 0x05e30142, "Multiple Slides Scanner-3600" }, { 0x05e30143, "Multiple Frames Film Scanner-36series" }, { 0x05e30145, "Reflecta CrystalScan 7200 Photo-Scanner" }, { 0x05e30180, "Plustek Scanner" }, { 0x05e30182, "Wize Media 1000" }, { 0x05e30189, "ScanJet 4600 series" }, { 0x05e3018a, "Xerox 6400" }, { 0x05e30300, "GLUSB98PT Parallel Port" }, { 0x05e30301, "USB2LPT Cable Release2" }, { 0x05e30406, "Hub" }, { 0x05e30501, "GL620USB Host-Host interface" }, { 0x05e30502, "GL620USB-A GeneLink USB-USB Bridge" }, { 0x05e30503, "Webcam" }, { 0x05e30504, "HID Keyboard Filter" }, { 0x05e30510, "Camera" }, { 0x05e30604, "USB 1.1 Hub" }, { 0x05e30605, "Hub" }, { 0x05e30606, "USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub" }, { 0x05e30607, "Logitech G110 Hub" }, { 0x05e30608, "Hub" }, { 0x05e30610, "Hub" }, { 0x05e30612, "Hub" }, { 0x05e30616, "hub" }, { 0x05e30618, "Hub" }, { 0x05e30620, "GL3523 Hub" }, { 0x05e30626, "Hub" }, { 0x05e30660, "USB 2.0 Hub" }, { 0x05e30700, "SIIG US2256 CompactFlash Card Reader" }, { 0x05e30701, "USB 2.0 IDE Adapter" }, { 0x05e30702, "USB 2.0 IDE Adapter [GL811E]" }, { 0x05e30703, "Card Reader" }, { 0x05e30704, "Card Reader" }, { 0x05e30705, "Card Reader" }, { 0x05e30706, "Card Reader" }, { 0x05e30707, "Card Reader" }, { 0x05e30708, "Card Reader" }, { 0x05e30709, "Card Reader" }, { 0x05e3070a, "Pen Flash" }, { 0x05e3070b, "DMHS1B Rev 3 DFU Adapter" }, { 0x05e3070e, "USB 2.0 Card Reader" }, { 0x05e3070f, "Pen Flash" }, { 0x05e30710, "USB 2.0 33-in-1 Card Reader" }, { 0x05e30711, "Card Reader" }, { 0x05e30712, "Delkin Mass Storage Device" }, { 0x05e30715, "USB 2.0 microSD Reader" }, { 0x05e30716, "Multislot Card Reader/Writer" }, { 0x05e30717, "All-in-1 Card Reader" }, { 0x05e30718, "IDE/SATA Adapter" }, { 0x05e30719, "SATA adapter" }, { 0x05e30722, "SD/MMC card reader" }, { 0x05e30723, "GL827L SD/MMC/MS Flash Card Reader" }, { 0x05e30726, "SD Card Reader" }, { 0x05e30727, "microSD Reader/Writer" }, { 0x05e30731, "GL3310 SATA 3Gb/s Bridge Controller" }, { 0x05e30732, "All-in-One Cardreader" }, { 0x05e30736, "Colour arc SD Card Reader [PISEN]" }, { 0x05e30738, "Card reader" }, { 0x05e30741, "microSD Card Reader" }, { 0x05e30743, "SDXC and microSDXC CardReader" }, { 0x05e30745, "Logilink CR0012" }, { 0x05e30748, "All-in-One Cardreader" }, { 0x05e30749, "SD Card Reader and Writer" }, { 0x05e30751, "microSD Card Reader" }, { 0x05e30752, "micros Reader" }, { 0x05e30760, "USB 2.0 Card Reader/Writer" }, { 0x05e30761, "Genesys Mass Storage Device" }, { 0x05e30780, "USBFS DFU Adapter" }, { 0x05e307a0, "Pen Flash" }, { 0x05e30880, "Wasp (SL-6612)" }, { 0x05e30927, "Card Reader" }, { 0x05e31205, "Afilias Optical Mouse H3003 / Trust Optical USB MultiColour Mouse MI-2330" }, { 0x05e3a700, "Pen Flash" }, { 0x05e3f102, "VX7012 TV Box" }, { 0x05e3f103, "VX7012 TV Box" }, { 0x05e3f104, "VX7012 TV Box" }, { 0x05e3f12a, "Digital Microscope" }, { 0x05e3fd21, "3M TL20 Temperature Logger" }, { 0x05e3fe00, "Razer Mouse" }, { 0x05e90008, "KL5KUSB101B Ethernet [klsi]" }, { 0x05e90009, "Sony 10Mbps Ethernet [pegasus]" }, { 0x05e9000c, "USB-to-RS-232" }, { 0x05e9000d, "USB-to-RS-232" }, { 0x05e90014, "RS-232 J104" }, { 0x05e90040, "Ethernet Adapter" }, { 0x05e92008, "Ethernet Adapter" }, { 0x05ef020a, "Top Shot Pegasus Joystick" }, { 0x05ef8884, "Mag Turbo Force Wheel" }, { 0x05ef8888, "Top Shot Force Feedback Racing Wheel" }, { 0x05f00101, "DA-Port DAC" }, { 0x05f20010, "AQ Mouse" }, { 0x05f30007, "Kinesis Advantage PRO MPC/USB Keyboard" }, { 0x05f30081, "Kinesis Integrated Hub" }, { 0x05f300ff, "VEC Footpedal" }, { 0x05f30203, "Y-mouse Keyboard & Mouse Adapter" }, { 0x05f3020b, "PS2 Adapter" }, { 0x05f30232, "X-Keys Switch Interface, Programming Mode" }, { 0x05f30261, "X-Keys Switch Interface, SPLAT Mode" }, { 0x05f30264, "X-Keys Switch Interface, Composite Mode" }, { 0x05f91104, "Magellan 2200VS" }, { 0x05f91206, "Gryphon series (OEM mode)" }, { 0x05f9120c, "Gryphon GD4430-BK" }, { 0x05f92202, "Point of Sale Handheld Scanner" }, { 0x05f92206, "Gryphon series (keyboard emulation mode)" }, { 0x05f9220c, "Datalogic Gryphon GD4430" }, { 0x05f92601, "Datalogic Magellan 1000i Barcode Scanner" }, { 0x05f92602, "Datalogic Magellan 1100i Barcode Scanner" }, { 0x05f94204, "Gryphon series (RS-232 emulation mode)" }, { 0x05f95204, "Datalogic Gryphon GFS4170 (config mode)" }, { 0x05fa3301, "Keyboard with PS/2 Mouse Port" }, { 0x05fa3302, "Keyboard" }, { 0x05fa3303, "Keyboard with PS/2 Mouse Port" }, { 0x05fc0001, "Soundcraft Si Multi Digital Card" }, { 0x05fc0010, "Soundcraft Si MADI combo card" }, { 0x05fc0021, "Soundcraft Signature 12 MTK" }, { 0x05fc7849, "Harman/Kardon SoundSticks" }, { 0x05fd0239, "SV-239 HammerHead Digital" }, { 0x05fd0251, "Raider Pro" }, { 0x05fd0253, "ProPad 8 Digital" }, { 0x05fd0286, "SV-286 Cyclone Digital" }, { 0x05fd1007, "Mad Catz Controller" }, { 0x05fd107a, "PowerPad Pro X-Box pad" }, { 0x05fd262a, "3dfx HammerHead FX" }, { 0x05fd262f, "HammerHead Fx" }, { 0x05fddaae, "Game Shark" }, { 0x05fddbae, "Datel XBoxMC" }, { 0x05fe0001, "Mouse" }, { 0x05fe0003, "Cypress USB Mouse" }, { 0x05fe0005, "Viewmaster 4D Browser Mouse" }, { 0x05fe0007, "Twinhead Mouse" }, { 0x05fe0009, "Inland Pro 4500/5000 Mouse" }, { 0x05fe0011, "Browser Mouse" }, { 0x05fe0014, "Gamepad" }, { 0x05fe1010, "Optical Wireless" }, { 0x05fe2001, "Microsoft Wireless Receiver 700" }, { 0x05fe3030, "Controller" }, { 0x05fe3031, "Controller" }, { 0x06010003, "Internet Security Co., Ltd. SecureKey" }, { 0x06021001, "ViCam Webcam" }, { 0x06030002, "Sino Wealth keyboard/mouse 2.4 GHz receiver" }, { 0x060300f1, "Keyboard (Labtec Ultra Flat Keyboard)" }, { 0x060300f2, "Keyboard (Labtec Ultra Flat Keyboard)" }, { 0x06031002, "Mobius actioncam (webcam mode)" }, { 0x06036871, "Mouse" }, { 0x06038611, "NTK96550-based camera (mass storage mode)" }, { 0x06038612, "NTK96550-based camera (webcam mode)" }, { 0x0609031d, "eHome Infrared Receiver" }, { 0x06090322, "eHome Infrared Receiver" }, { 0x06090334, "eHome Infrared Receiver" }, { 0x0609ff12, "SMK Bluetooth Device" }, { 0x060b0001, "MacAlly Keyboard" }, { 0x060b0230, "KSK-8003 UX Keyboard" }, { 0x060b0540, "DeltaCo TB-106U Keyboard" }, { 0x060b1006, "Japanese Keyboard - 260U" }, { 0x060b2101, "Keyboard" }, { 0x060b2231, "KSK-6001 UELX Keyboard" }, { 0x060b2270, "Gigabyte K8100 Aivia Gaming Keyboard" }, { 0x060b500a, "Cougar 500k Gaming Keyboard" }, { 0x060b5253, "Thermaltake MEKA G-Unit Gaming Keyboard" }, { 0x060b5811, "ACK-571U Wireless Keyboard" }, { 0x060b5903, "Japanese Keyboard - 595U" }, { 0x060b6001, "SolidTek USB 2p HUB" }, { 0x060b6002, "SolidTek USB Keyboard" }, { 0x060b6003, "Japanese Keyboard - 600HM" }, { 0x060b6231, "Thermaltake eSPORTS Meka Keyboard" }, { 0x060b8007, "P-W1G1F12 VER:1 [Macally MegaCam]" }, { 0x060ba001, "Maxwell Compact Pc PM3" }, { 0x0617000a, "Thymio-II" }, { 0x0617000c, "Thymio-II Wireless" }, { 0x06180101, "Mouse" }, { 0x06190101, "SLP-100 Driver" }, { 0x06190102, "SLP-200 Driver" }, { 0x06190103, "SLP-100N Driver" }, { 0x06190104, "SLP-200N Driver" }, { 0x06190105, "SLP-240 Driver" }, { 0x06190501, "SLP-440 Driver" }, { 0x06190502, "SLP-450 Driver" }, { 0x061a0110, "5thSense Fingerprint Sensor" }, { 0x061a0200, "FPS200 Fingerprint Sensor" }, { 0x061a8200, "VKI-A Fingerprint Sensor/Flash Storage (dumb)" }, { 0x061a9200, "VKI-B Fingerprint Sensor/Flash Storage (smart)" }, { 0x061dc020, "SSU-100" }, { 0x061e0001, "nissei 128DE-USB -" }, { 0x061e0010, "nissei 128DE-PNA -" }, { 0x06200004, "QuickVideo weeCam" }, { 0x06200007, "QuickVideo weeCam" }, { 0x0620000a, "QuickVideo weeCam" }, { 0x0620000b, "QuickVideo weeCam" }, { 0x06240013, "SC Secure KVM" }, { 0x06240248, "Virtual Hub" }, { 0x06240249, "Virtual Keyboard/Mouse" }, { 0x06240251, "Virtual Mass Storage" }, { 0x06240252, "Virtual SD card reader" }, { 0x06240294, "Dell 03R874 KVM dongle" }, { 0x06240402, "Cisco Virtual Keyboard and Mouse" }, { 0x06240403, "Cisco Virtual Mass Storage" }, { 0x06241774, "Cybex SC985" }, { 0x06270001, "QEMU Tablet" }, { 0x062a0000, "Optical mouse" }, { 0x062a0001, "Notebook Optical Mouse" }, { 0x062a0020, "Logic3 Gamepad" }, { 0x062a0033, "Competition Pro Steering Wheel" }, { 0x062a0102, "Wireless Keyboard/Mouse Combo [MK1152WC]" }, { 0x062a0201, "Defender Office Keyboard (K7310) S Zodiak KM-9010" }, { 0x062a0252, "Emerge Uni-retractable Laser Mouse" }, { 0x062a2410, "Wireless PS3 gamepad" }, { 0x062a3286, "Nano Receiver [Sandstrom Laser Mouse SMWLL11]" }, { 0x062a4101, "Wireless Keyboard/Mouse" }, { 0x062a4102, "Wireless Mouse" }, { 0x062a4106, "Wireless Mouse 2.4G" }, { 0x062a4108, "Wireless Mouse 2.4G" }, { 0x062a4c01, "2,4Ghz Wireless Transceiver [for Delux M618 Plus Wireless Vertical Mouse]" }, { 0x062a6301, "Trust Wireless Optical Mouse MI-4150K" }, { 0x062a9003, "VoIP Conference Hub (A16GH)" }, { 0x062a9004, "USR9602 USB Internet Mini Phone" }, { 0x06340655, "Embedded Mass Storage Drive [RealSSD]" }, { 0x06360003, "Vivicam 35Xx" }, { 0x06380268, "iVina 1200U Scanner" }, { 0x0638026a, "Minolta Dimage Scan Dual II AF-2820U (2886)" }, { 0x06380a10, "iVina FB1600/UMAX Astra 4500" }, { 0x06380a13, "AV600U" }, { 0x06380a15, "Konica Minolta SC-110" }, { 0x06380a16, "Konica Minolta SC-215" }, { 0x06380a2a, "AV220 C2" }, { 0x06380a30, "UMAX Astra 6700 Scanner" }, { 0x06380a41, "Avision AM3000/MF3000 Series" }, { 0x06380f01, "fi-4010CU" }, { 0x06384004, "Minolta Dimage Scan Elite II AF-2920 (2888)" }, { 0x06400026, "LPC-Stick" }, { 0x06440000, "Floppy" }, { 0x06440200, "All-In-One Multi-Card Reader CA200/B/S" }, { 0x06441000, "CD-ROM Drive" }, { 0x0644800d, "TASCAM Portastudio DP-01FX" }, { 0x0644800e, "TASCAM US-122L" }, { 0x0644801d, "TASCAM DR-100" }, { 0x06448021, "TASCAM US-122mkII" }, { 0x06448047, "TASCAM US-16x08" }, { 0x0644d001, "CD-R/RW Unit" }, { 0x0644d002, "CD-R/RW Unit" }, { 0x0644d010, "CD-RW/DVD Unit" }, { 0x06470100, "ARC SpectraPro UV/VIS/IR Monochromator/Spectrograph" }, { 0x06470101, "ARC AM-VM Mono Airpath/Vacuum Monochromator/Spectrograph" }, { 0x06470102, "ARC Inspectrum Mono" }, { 0x06470103, "ARC Filterwheel" }, { 0x064703e9, "Inspectrum 128x1024 F VIS Spectrograph" }, { 0x064703ea, "Inspectrum 256x1024 F VIS Spectrograph" }, { 0x064703eb, "Inspectrum 128x1024 B VIS Spectrograph" }, { 0x064703ec, "Inspectrum 256x1024 B VIS Spectrograph" }, { 0x064b0165, "Blackfin 535 [ADZS HPUSB ICE]" }, { 0x064e2100, "Sony Visual Communication Camera" }, { 0x064e3410, "RGBIR Camera" }, { 0x064e9700, "Asus Integrated Webcam" }, { 0x064ea100, "Acer OrbiCam" }, { 0x064ea101, "Acer CrystalEye Webcam" }, { 0x064ea102, "Acer/Lenovo Webcam [CN0316]" }, { 0x064ea103, "Acer/HP Integrated Webcam [CN0314]" }, { 0x064ea110, "HP Webcam" }, { 0x064ea114, "Lemote Webcam" }, { 0x064ea116, "UVC 1.3MPixel WebCam" }, { 0x064ea127, "HP Integrated Webcam" }, { 0x064ea136, "Asus Integrated Webcam [CN031B]" }, { 0x064ea219, "1.3M WebCam (notebook emachines E730, Acer sub-brand)" }, { 0x064ec107, "HP webcam [dv6-1190en]" }, { 0x064ec335, "HP TrueVision HD" }, { 0x064ed101, "Acer CrystalEye Webcam" }, { 0x064ed213, "UVC HD Webcam" }, { 0x064ed217, "HP TrueVision HD" }, { 0x064ee201, "Lenovo Integrated Webcam" }, { 0x064ee203, "Lenovo Integrated Webcam" }, { 0x064ee258, "HP TrueVision HD Integrated Webcam" }, { 0x064ee263, "HP TrueVision HD Integrated Webcam" }, { 0x064ef102, "Lenovo Integrated Webcam [R5U877]" }, { 0x064ef103, "Lenovo Integrated Webcam [R5U877]" }, { 0x064ef207, "Lenovo EasyCamera Integrated Webcam" }, { 0x064ef209, "HP Webcam" }, { 0x064ef300, "UVC 0.3M Webcam" }, { 0x064f03e9, "CmStick (MSD, article no. 1001-xx-xxx)" }, { 0x064f03f2, "CmStick/M (MSD, article no. 1010-xx-xxx)" }, { 0x064f03f3, "CmStick/M (MSD, article no. 1011-xx-xxx)" }, { 0x064f0bd7, "Wibu-Box/U (article no. 3031-xx-xxx)" }, { 0x064f0bd8, "Wibu-Box/RU (article no. 3032-xx-xxx)" }, { 0x064f2af9, "CmStick (HID, article no. 1001-xx-xxx)" }, { 0x064f2b03, "CmStick/M (HID, article no. 1011-xx-xxx)" }, { 0x064f5213, "CmStick/M (COMPOSITE, article no. 1011-xx-xxx)" }, { 0x06540005, "Device Bay Controller" }, { 0x06540006, "Hub" }, { 0x06540007, "Device Bay Controller" }, { 0x06540016, "Hub" }, { 0x06580200, "Aeotec Z-Stick Gen5 (ZW090) - UZB" }, { 0x06580280, "ZWave programming interface" }, { 0x065a0001, "Opticon OPR-2001 / NLV-1001 (keyboard mode)" }, { 0x065a0009, "NLV-1001 (serial mode) / OPN-2001 [Opticon]" }, { 0x06630103, "CobraPad" }, { 0x06640301, "Groovy Technology Corp. GTouch Touch Screen" }, { 0x06640302, "Groovy Technology Corp. GTouch Touch Screen" }, { 0x06640303, "Groovy Technology Corp. GTouch Touch Screen" }, { 0x06640304, "Groovy Technology Corp. GTouch Touch Screen" }, { 0x06640305, "Groovy Technology Corp. GTouch Touch Screen" }, { 0x06640306, "Groovy Technology Corp. GTouch Touch Screen" }, { 0x06640307, "Groovy Technology Corp. GTouch Touch Screen" }, { 0x06640309, "Groovy Technology Corp. GTouch Touch Screen" }, { 0x06655161, "USB to Serial" }, { 0x06670fa1, "TD-U8000 Tape Drive" }, { 0x066b0105, "SCM eUSB SmartMedia Card Reader" }, { 0x066b010a, "Melco MCR-U2 SmartMedia / CompactFlash Reader" }, { 0x066b200c, "USB10TX" }, { 0x066b2202, "USB10TX Ethernet [pegasus]" }, { 0x066b2203, "USB100TX Ethernet [pegasus]" }, { 0x066b2204, "USB100TX HomePNA Ethernet [pegasus]" }, { 0x066b2206, "USB Ethernet [pegasus]" }, { 0x066b2207, "HomeLink Phoneline 10M Network Adapter" }, { 0x066b2211, "WUSB11 802.11b Adapter" }, { 0x066b2212, "WUSB11v2.5 802.11b Adapter" }, { 0x066b2213, "WUSB12v1.1 802.11b Adapter" }, { 0x066b2219, "Instant Wireless Network Adapter" }, { 0x066b400b, "USB10TX" }, { 0x066f003b, "MP3 Player" }, { 0x066f003e, "MP3 Player" }, { 0x066f003f, "MP3 Player" }, { 0x066f0040, "MP3 Player" }, { 0x066f0041, "MP3 Player" }, { 0x066f0042, "MP3 Player" }, { 0x066f0043, "MP3 Player" }, { 0x066f004b, "A-Max PA11 MP3 Player" }, { 0x066f3400, "STMP3400 D-Major MP3 Player" }, { 0x066f3410, "STMP3410 D-Major MP3 Player" }, { 0x066f3500, "Player Recovery Device" }, { 0x066f3780, "STMP3780/i.MX23 SystemOnChip in RecoveryMode" }, { 0x066f4200, "STIr4200 IrDA Bridge" }, { 0x066f4210, "STIr4210 IrDA Bridge" }, { 0x066f8000, "MSCN MP3 Player" }, { 0x066f8001, "SigmaTel MSCN Audio Player" }, { 0x066f8004, "MSCNMMC MP3 Player" }, { 0x066f8008, "i-Bead 100 MP3 Player" }, { 0x066f8020, "MP3 Player" }, { 0x066f8034, "MP3 Player" }, { 0x066f8036, "MP3 Player" }, { 0x066f8038, "MP3 Player" }, { 0x066f8056, "MP3 Player" }, { 0x066f8060, "MP3 Player" }, { 0x066f8066, "MP3 Player" }, { 0x066f807e, "MP3 Player" }, { 0x066f8092, "MP3 Player" }, { 0x066f8096, "MP3 Player" }, { 0x066f809a, "MP3 Player" }, { 0x066f80aa, "MP3 Player" }, { 0x066f80ac, "MP3 Player" }, { 0x066f80b8, "MP3 Player" }, { 0x066f80ba, "MP3 Player" }, { 0x066f80bc, "MP3 Player" }, { 0x066f80bf, "MP3 Player" }, { 0x066f80c5, "MP3 Player" }, { 0x066f80c8, "MP3 Player" }, { 0x066f80ca, "MP3 Player" }, { 0x066f80cc, "MP3 Player" }, { 0x066f8104, "MP3 Player" }, { 0x066f8106, "MP3 Player" }, { 0x066f8108, "MP3 Player" }, { 0x066f810a, "MP3 Player" }, { 0x066f810c, "MP3 Player" }, { 0x066f8122, "MP3 Player" }, { 0x066f8124, "MP3 Player" }, { 0x066f8126, "MP3 Player" }, { 0x066f8128, "MP3 Player" }, { 0x066f8134, "MP3 Player" }, { 0x066f8136, "MP3 Player" }, { 0x066f8138, "MP3 Player" }, { 0x066f813a, "MP3 Player" }, { 0x066f813e, "MP3 Player" }, { 0x066f8140, "MP3 Player" }, { 0x066f8142, "MP3 Player" }, { 0x066f8144, "MP3 Player" }, { 0x066f8146, "MP3 Player" }, { 0x066f8148, "MP3 Player" }, { 0x066f814c, "MP3 Player" }, { 0x066f8201, "MP3 Player" }, { 0x066f8202, "Jens of Sweden / I-BEAD 150M/150H MP3 player" }, { 0x066f8203, "MP3 Player" }, { 0x066f8204, "MP3 Player" }, { 0x066f8205, "MP3 Player" }, { 0x066f8206, "Digital MP3 Music Player" }, { 0x066f8207, "MP3 Player" }, { 0x066f8208, "MP3 Player" }, { 0x066f8209, "MP3 Player" }, { 0x066f820a, "MP3 Player" }, { 0x066f820b, "MP3 Player" }, { 0x066f820c, "MP3 Player" }, { 0x066f820d, "MP3 Player" }, { 0x066f820e, "MP3 Player" }, { 0x066f820f, "MP3 Player" }, { 0x066f8210, "MP3 Player" }, { 0x066f8211, "MP3 Player" }, { 0x066f8212, "MP3 Player" }, { 0x066f8213, "MP3 Player" }, { 0x066f8214, "MP3 Player" }, { 0x066f8215, "MP3 Player" }, { 0x066f8216, "MP3 Player" }, { 0x066f8217, "MP3 Player" }, { 0x066f8218, "MP3 Player" }, { 0x066f8219, "MP3 Player" }, { 0x066f821a, "MP3 Player" }, { 0x066f821b, "MP3 Player" }, { 0x066f821c, "MP3 Player" }, { 0x066f821d, "MP3 Player" }, { 0x066f821e, "MP3 Player" }, { 0x066f821f, "MP3 Player" }, { 0x066f8220, "MP3 Player" }, { 0x066f8221, "MP3 Player" }, { 0x066f8222, "MP3 Player" }, { 0x066f8223, "MP3 Player" }, { 0x066f8224, "MP3 Player" }, { 0x066f8225, "MP3 Player" }, { 0x066f8226, "MP3 Player" }, { 0x066f8227, "MP3 Player" }, { 0x066f8228, "MP3 Player" }, { 0x066f8229, "MP3 Player" }, { 0x066f8230, "MP3 Player" }, { 0x066f829c, "MP3 Player" }, { 0x066f82e0, "MP3 Player" }, { 0x066f8320, "TrekStor i.Beat fun" }, { 0x066f835d, "MP3 Player" }, { 0x066f83b5, "Transcend T.sonic 530 MP3 Player" }, { 0x066f842a, "TrekStor Vibez 8/12GB" }, { 0x066f846c, "Maxfield G-Flash NG 1GB" }, { 0x066f8550, "Medion MD8333 (ID1)" }, { 0x066f8588, "Medion MD8333 (ID2)" }, { 0x066f9000, "MP3 Player" }, { 0x066f9001, "MP3 Player" }, { 0x066f9002, "MP3 Player" }, { 0x066fa010, "SigmaTel Inc. MTPMSCN Audio Player" }, { 0x06700001, "Calibrator" }, { 0x06700005, "Enable Cable" }, { 0x06721041, "LCS1040 Speaker System" }, { 0x06725000, "SpaceBall 4000 FLX" }, { 0x06735000, "Keyboard" }, { 0x06750110, "Vigor 128 ISDN TA" }, { 0x06750530, "Vigor530 IEEE 802.11G Adapter (ISL3880+NET2280)" }, { 0x06750550, "Vigor550" }, { 0x06751688, "miniVigor 128 ISDN TA [HFC-S]" }, { 0x06756694, "miniVigor 128 ISDN TA" }, { 0x067707d5, "TM-ED1285(USB)" }, { 0x06770fa1, "TD-U8000 Tape Drive" }, { 0x067b0000, "PL2301 USB-USB Bridge" }, { 0x067b0001, "PL2302 USB-USB Bridge" }, { 0x067b0307, "Motorola Serial Adapter" }, { 0x067b04bb, "PL2303 Serial (IODATA USB-RSAQ2)" }, { 0x067b0600, "IDE Bridge" }, { 0x067b0610, "Onext EG210U MODEM" }, { 0x067b0611, "AlDiga AL-11U Quad-band GSM/GPRS/EDGE modem" }, { 0x067b1231, "Orico SATA External Hard Disk Drive Lay-Flat Docking Station with USB 3.0 & eSATA interfaces." }, { 0x067b2303, "PL2303 Serial Port / Mobile Phone Data Cable" }, { 0x067b2305, "PL2305 Parallel Port" }, { 0x067b2306, "Raylink Bridge Controller" }, { 0x067b2307, "PL2307 USB-ATAPI4 Bridge" }, { 0x067b2313, "FITEL PHS U Cable Adaptor" }, { 0x067b2315, "Flash Disk Embedded Hub" }, { 0x067b2316, "Flash Disk Security Device" }, { 0x067b2317, "Mass Storage Device" }, { 0x067b23a3, "ATEN Serial Bridge" }, { 0x067b2501, "PL2501 USB-USB Bridge (USB 2.0)" }, { 0x067b2506, "Kaser 8gB micro hard drive" }, { 0x067b2507, "PL2507 Hi-speed USB to IDE bridge controller" }, { 0x067b2515, "Flash Disk Embedded Hub" }, { 0x067b2517, "Flash Disk Mass Storage Device" }, { 0x067b2528, "Storage device (8gB thumb drive)" }, { 0x067b2571, "LG Electronics GE24LU21" }, { 0x067b25a1, "PL25A1 Host-Host Bridge" }, { 0x067b2773, "PL2773 SATAII bridge controller" }, { 0x067b3400, "Hi-Speed Flash Disk with TruePrint AES3400" }, { 0x067b3500, "Hi-Speed Flash Disk with TruePrint AES3500" }, { 0x067b3507, "PL3507 ATAPI6 Bridge" }, { 0x067baaa0, "Prolific Pharos" }, { 0x067baaa2, "PL2303 Serial Adapter (IODATA USB-RSAQ3)" }, { 0x067baaa3, "PL2303x Serial Adapter" }, { 0x067c1001, "Siemens SpeedStream 100MBps Ethernet" }, { 0x067c1022, "Siemens SpeedStream 1022 802.11b Adapter" }, { 0x067c1023, "SpeedStream Wireless" }, { 0x067c4020, "SpeedStream 4020 ATM/ADSL Installer" }, { 0x067c4031, "Efficient ADSL Modem" }, { 0x067c4032, "SpeedStream 4031 ATM/ADSL Installer" }, { 0x067c4033, "SpeedStream 4031 ATM/ADSL Installer" }, { 0x067c4060, "Alcatel Speedstream 4060 ADSL Modem" }, { 0x067c4062, "Efficient Networks 4060 Loader" }, { 0x067c5667, "Efficient Networks Virtual Bus for ADSL Modem" }, { 0x067cc031, "SpeedStream 4031 ATM/ADSL Installer" }, { 0x067cc032, "SpeedStream 4031 ATM/ADSL Installer" }, { 0x067cc033, "SpeedStream 4031 ATM/ADSL Installer" }, { 0x067cc060, "SpeedStream 4060 Miniport ATM/ADSL Adapter" }, { 0x067cd667, "Efficient Networks Virtual Bus for ADSL Modem" }, { 0x067ce240, "Speedstream Ethernet Adapter E240" }, { 0x067ce540, "Speedstream Ethernet Adapter E240" }, { 0x067e0801, "HID Keyboard, Barcode scanner" }, { 0x067e0803, "VCP, Barcode scanner" }, { 0x067e0805, "VCP + UVC, Barcode scanner" }, { 0x067e1001, "Mobile Computer" }, { 0x067f4552, "DSL-200 ADSL Modem" }, { 0x067f6542, "DSL Modem" }, { 0x067f6549, "DSL Modem" }, { 0x067f7541, "DSL Modem" }, { 0x06800002, "Arowana Optical Wheel Mouse MSOP-01" }, { 0x06810001, "Dect Base" }, { 0x06810002, "Gigaset 3075 Passive ISDN" }, { 0x06810005, "ID-Mouse with Fingerprint Reader" }, { 0x06810012, "I-Gate 802.11b Adapter" }, { 0x06810014, "KNX/LPB Bus Interface" }, { 0x0681001b, "WLL013" }, { 0x0681001d, "Hipath 1000" }, { 0x06810022, "Gigaset SX353 ISDN" }, { 0x06810026, "DECT Data - Gigaset M34" }, { 0x0681002b, "A-100-I ADSL Modem" }, { 0x0681002e, "ADSL Router_S-141" }, { 0x06810034, "GSM module MC35/ES75 USB Modem" }, { 0x06813c06, "54g USB Network Adapter" }, { 0x06857000, "HSDPA Modem" }, { 0x06862001, "PagePro 4110W" }, { 0x06862004, "PagePro 1200W" }, { 0x06862005, "Magicolor 2300 DL" }, { 0x06863001, "PagePro 4100" }, { 0x06863005, "PagePro 1250E" }, { 0x06863006, "PagePro 1250W" }, { 0x06863009, "Magicolor 2300W" }, { 0x0686300b, "PagePro 1350W" }, { 0x0686300c, "PagePro 1300W" }, { 0x0686301b, "Develop D 1650iD" }, { 0x06863023, "Develop D 2050iD" }, { 0x0686302e, "Develop D 1650iD PCL" }, { 0x06863034, "Develop D 2050iD PCL" }, { 0x06864001, "Dimage 2300" }, { 0x06864003, "Dimage 2330 Zoom Camera" }, { 0x06864004, "Dimage Scan Elite II AF-2920 (2888)" }, { 0x06864005, "Minolta DiMAGE E201 Mass Storage Device" }, { 0x06864006, "Dimage 7 Camera" }, { 0x06864007, "Dimage S304 Camera" }, { 0x06864008, "Dimage 5 Camera" }, { 0x06864009, "Dimage X Camera" }, { 0x0686400a, "Dimage S404 Camera" }, { 0x0686400b, "Dimage 7i Camera" }, { 0x0686400c, "Dimage F100 Camera" }, { 0x0686400d, "Dimage Scan Dual III AF-2840 (2889)" }, { 0x0686400e, "Dimage Scan Elite 5400 (2890)" }, { 0x0686400f, "Dimage 7Hi Camera" }, { 0x06864010, "Dimage Xi Camera" }, { 0x06864011, "Dimage F300 Camera" }, { 0x06864012, "Dimage F200 Camera" }, { 0x06864014, "Dimage S414 Camera" }, { 0x06864015, "Dimage XT Camera [storage]" }, { 0x06864016, "Dimage XT Camera [remote mode]" }, { 0x06864017, "Dimage E223" }, { 0x06864018, "Dimage Z1 Camera" }, { 0x06864019, "Dimage A1 Camera [remote mode]" }, { 0x0686401a, "Dimage A1 Camera [storage]" }, { 0x0686401c, "Dimage X20 Camera" }, { 0x0686401e, "Dimage E323 Camera" }, { 0x068e00d3, "OEM 3 axis 5 button joystick" }, { 0x068e00e2, "HFX OEM Joystick" }, { 0x068e00f0, "Multi-Function Panel" }, { 0x068e00f1, "Pro Throttle" }, { 0x068e00f2, "Flight Sim Pedals" }, { 0x068e00f3, "Fighterstick" }, { 0x068e00f4, "Combatstick" }, { 0x068e00fa, "Ch Throttle Quadrant" }, { 0x068e00ff, "Flight Sim Yoke" }, { 0x068e0500, "GameStick 3D" }, { 0x068e0501, "CH Pro Pedals" }, { 0x068e0504, "F-16 Combat Stick" }, { 0x068fc00d, "MEK-6500" }, { 0x06930002, "FlashGate SmartMedia Card Reader" }, { 0x06930003, "FlashGate CompactFlash Card Reader" }, { 0x06930005, "FlashGate" }, { 0x06930006, "SM PCCard R/W and SPD" }, { 0x06930007, "FlashGate ME (Authenticated)" }, { 0x0693000a, "SDCard/MMC Reader/Writer" }, { 0x06940001, "Mindstorms Tower" }, { 0x06940002, "Mindstorms NXT" }, { 0x06940005, "Mindstorms EV3" }, { 0x06940006, "Mindstorms EV3 Firmware Update" }, { 0x06981786, "1300ex Monitor" }, { 0x06982003, "CTX M730V built in Camera" }, { 0x06989999, "VLxxxx Monitor+Hub" }, { 0x06990347, "AFG 3022B" }, { 0x06990365, "TDS 2004B" }, { 0x0699036a, "TDS 2024B" }, { 0x069a0001, "VC010 Webcam [pwc]" }, { 0x069a0303, "Cable Modem" }, { 0x069a0311, "ADSL Router Remote NDIS Device" }, { 0x069a0318, "Remote NDIS Device" }, { 0x069a0319, "220V Remote NDIS Device" }, { 0x069a0320, "IEEE 802.11b Wireless LAN Card" }, { 0x069a0321, "Dynalink WLL013 / Compex WLU11A 802.11b Adapter" }, { 0x069a0402, "Scientific Atlanta WebSTAR 100 & 200 series Cable Modem" }, { 0x069a0811, "BT Virtual Bus for Helium" }, { 0x069a0821, "BT Voyager 1010 802.11b Adapter" }, { 0x069a4402, "Scientific Atlanta WebSTAR 2000 series Cable Modem" }, { 0x069a4403, "Scientific Atlanta WebSTAR 300 series Cable Modem" }, { 0x069a4501, "Scientific-Atlanta WebSTAR 2000 series Cable Modem" }, { 0x069b0704, "DCM245 Cable Modem" }, { 0x069b0705, "THG540K Cable Modem" }, { 0x069b0709, "Lyra PDP2424" }, { 0x069b070c, "MP3 Player" }, { 0x069b070d, "MP3 Player" }, { 0x069b070e, "MP3 Player" }, { 0x069b070f, "RCA Lyra RD1071 MP3 Player" }, { 0x069b0731, "Lyra M200E256" }, { 0x069b0761, "RCA H100A" }, { 0x069b0774, "Thomson EM28 Series" }, { 0x069b0777, "Thomson / RCA Opal / Lyra MC4002" }, { 0x069b0778, "PEARL USB Device" }, { 0x069b077c, "Thomson Lyra MC5104B (M51 Series)" }, { 0x069b2220, "RCA Kazoo RD1000 MP3 Player" }, { 0x069b300a, "RCA Lyra MP3 Player" }, { 0x069b3012, "MP3 Player" }, { 0x069b3013, "MP3 Player" }, { 0x069b301a, "Thomson RCA H106" }, { 0x069b3028, "Thomson scenium E308" }, { 0x069b3035, "Thomson / RCA Lyra HC308A" }, { 0x069b5557, "RCA CDS6300" }, { 0x069d0001, "Satellite Receiver Device" }, { 0x069d0002, "Satellite Device" }, { 0x069e0005, "Marx CryptoBox v1.2" }, { 0x069f0010, "Tornado Speakerphone FaxModem 56.0" }, { 0x069f0011, "Tornado Speakerphone FaxModem 56.0" }, { 0x069f1000, "ADT VvBus for CopperJet" }, { 0x069f1004, "CopperJet 821 RouterPlus" }, { 0x06a20033, "USB Mouse" }, { 0x06a30006, "Cyborg Gold Joystick" }, { 0x06a30109, "P880 Pad" }, { 0x06a30160, "ST290 Pro" }, { 0x06a30200, "Racing Wheel" }, { 0x06a30201, "Adrenalin Gamepad" }, { 0x06a30241, "Xbox Adrenalin Gamepad" }, { 0x06a30255, "X52 Flight Controller" }, { 0x06a3040b, "P990 Dual Analog Pad" }, { 0x06a3040c, "P2900 Wireless Pad" }, { 0x06a30422, "ST90 Joystick" }, { 0x06a30460, "ST290 Pro Flight Stick" }, { 0x06a30463, "ST290" }, { 0x06a30464, "Cyborg Evo" }, { 0x06a30471, "Cyborg Graphite Stick" }, { 0x06a30501, "R100 Sports Wheel" }, { 0x06a30502, "ST200 Stick" }, { 0x06a30506, "R220 Digital Wheel" }, { 0x06a3051e, "Cyborg Digital II Stick" }, { 0x06a3052d, "P750 Gamepad" }, { 0x06a3053c, "X45 Flight Controller" }, { 0x06a3053f, "X36F Flightstick" }, { 0x06a3056c, "P2000 Tilt Pad" }, { 0x06a3056f, "P2000 Tilt Pad" }, { 0x06a305d2, "PC Dash 2" }, { 0x06a3075c, "X52 Flight Controller" }, { 0x06a30762, "Saitek X52 Pro Flight Control System" }, { 0x06a30763, "Pro Flight Rudder Pedals" }, { 0x06a30764, "Flight Pro Combat Rudder" }, { 0x06a30805, "R440 Force Wheel" }, { 0x06a30b4e, "Pro Flight Backlit Information Panel" }, { 0x06a30bac, "Pro Flight Yoke" }, { 0x06a30c2d, "Pro Flight Quadrant" }, { 0x06a30d05, "Pro Flight Radio Panel" }, { 0x06a30d06, "Flight Pro Multi Panel" }, { 0x06a30d67, "Pro Flight Switch Panel" }, { 0x06a31003, "GM2 Action Pad" }, { 0x06a31009, "Action Pad" }, { 0x06a3100a, "SP550 Pad and Joystick Combo" }, { 0x06a3100b, "SP550 Pad" }, { 0x06a31509, "P3000 Wireless Pad" }, { 0x06a31589, "P3000 Wireless Pad" }, { 0x06a32541, "X45 Flight Controller" }, { 0x06a33509, "P3000 RF GamePad" }, { 0x06a3353e, "Cyborg Evo Wireless" }, { 0x06a33589, "P3000 Wireless Pad" }, { 0x06a335be, "Cyborg Evo" }, { 0x06a35509, "P3000 Wireless Pad" }, { 0x06a3712c, "Pro Flight Yoke integrated hub" }, { 0x06a38000, "Gamers' Keyboard" }, { 0x06a3801e, "Cyborg 3D Digital Stick II" }, { 0x06a38020, "Eclipse Keyboard" }, { 0x06a38021, "Eclipse II Keyboard" }, { 0x06a3802d, "P750 Pad" }, { 0x06a3803f, "X36 Flight Controller" }, { 0x06a3806f, "P2000 Tilt Pad" }, { 0x06a380c0, "Pro Gamer Command Unit" }, { 0x06a380c1, "Cyborg Command Pad Unit" }, { 0x06a3a2ae, "Pro Flight Instrument Panel" }, { 0x06a3a502, "Gaming Mouse" }, { 0x06a3f518, "P3200 Rumble Force Game Pad" }, { 0x06a3f51a, "P3600" }, { 0x06a3ff04, "R440 Force Wheel" }, { 0x06a3ff0c, "Cyborg Force Rumble Pad" }, { 0x06a3ff0d, "P2600 Rumble Force Pad" }, { 0x06a3ff12, "Cyborg 3D Force Stick" }, { 0x06a3ff17, "ST 330 Rumble Force Stick" }, { 0x06a3ff52, "Cyborg 3D Rumble Force Joystick" }, { 0x06a3ffb5, "Cyborg Evo Force Joystick" }, { 0x06a50000, "Typhoon Webcam 100k [nw8000]" }, { 0x06a5d001, "ProLink DS3303u Webcam" }, { 0x06a5d800, "Chicony TwinkleCam" }, { 0x06a5d820, "Wize Media 1000" }, { 0x06a80042, "SignatureGem 1X5 Pad" }, { 0x06a80043, "SignatureGem 1X5-HID Pad" }, { 0x06a90005, "WireSpeed Dual Connect Modem" }, { 0x06a90006, "WireSpeed Dual Connect Modem" }, { 0x06a9000a, "WireSpeed Dual Connect Modem" }, { 0x06a9000b, "WireSpeed Dual Connect Modem" }, { 0x06a9000e, "A90-211WG-01 802.11g Adapter [Intersil ISL3887]" }, { 0x06b90120, "SpeedTouch 120g 802.11g Wireless Adapter [Intersil ISL3886]" }, { 0x06b90121, "SpeedTouch 121g Wireless Dongle" }, { 0x06b92001, "SPEED TOUCH Card" }, { 0x06b94061, "SpeedTouch ISDN or ADSL Modem" }, { 0x06b94062, "SpeedTouch ISDN or ADSL router" }, { 0x06b9a5a5, "DynaMiTe Modem" }, { 0x06bc000b, "Okipage 14ex Printer" }, { 0x06bc0027, "Okipage 14e" }, { 0x06bc00f7, "OKI B4600 Mono Printer" }, { 0x06bc015e, "OKIPOS 411/412 POS Printer" }, { 0x06bc01c9, "OKI B430 Mono Printer" }, { 0x06bc01db, "MC860 Multifunction Printer" }, { 0x06bc01dc, "MC860 Multifunction Printer" }, { 0x06bc01dd, "MC860 Multifunction Printer" }, { 0x06bc01de, "MC860 Multifunction Printer" }, { 0x06bc01df, "CX2633 Multifunction Printer" }, { 0x06bc01e0, "ES8460 Multifunction Printer" }, { 0x06bc020b, "OKI ES4140 Mono Printer" }, { 0x06bc021f, "ES8460 Multifunction Printer" }, { 0x06bc026f, "MC351 Multifunction Printer" }, { 0x06bc0270, "MC351 Multifunction Printer" }, { 0x06bc0271, "MC351 Multifunction Printer" }, { 0x06bc0272, "MC351 Multifunction Printer" }, { 0x06bc0273, "MC351 Multifunction Printer" }, { 0x06bc0274, "ES3451 Multifunction Printer" }, { 0x06bc0275, "MC351 Multifunction Printer" }, { 0x06bc0276, "MC351 Multifunction Printer" }, { 0x06bc0277, "MC351 Multifunction Printer" }, { 0x06bc0278, "MC351 Multifunction Printer" }, { 0x06bc0279, "MC361 Multifunction Printer" }, { 0x06bc027a, "MC361 Multifunction Printer" }, { 0x06bc027b, "MC361 Multifunction Printer" }, { 0x06bc027c, "MC361 Multifunction Printer" }, { 0x06bc027d, "MC361 Multifunction Printer" }, { 0x06bc027e, "ES3461 Multifunction Printer" }, { 0x06bc027f, "MC361 Multifunction Printer" }, { 0x06bc0280, "MC361 Multifunction Printer" }, { 0x06bc0281, "MC361 Multifunction Printer" }, { 0x06bc0282, "MC361 Multifunction Printer" }, { 0x06bc0283, "MC561 Multifunction Printer" }, { 0x06bc0284, "MC561 Multifunction Printer" }, { 0x06bc0285, "MC561 Multifunction Printer" }, { 0x06bc0286, "MC561 Multifunction Printer" }, { 0x06bc0287, "CX2731 Multifunction Printer" }, { 0x06bc0288, "ES5461 Multifunction Printer" }, { 0x06bc0289, "ES5461 Multifunction Printer" }, { 0x06bc028a, "MC561 Multifunction Printer" }, { 0x06bc028b, "MC561 Multifunction Printer" }, { 0x06bc028c, "MC561 Multifunction Printer" }, { 0x06bc02b4, "MC861 Multifunction Printer" }, { 0x06bc02b5, "ES8461 Multifunction Printer" }, { 0x06bc02b6, "MC851 Multifunction Printer" }, { 0x06bc02b7, "ES8451 Multifunction Printer" }, { 0x06bc02bb, "OKI PT390 POS Printer" }, { 0x06bc02bd, "MB461 Multifunction Printer" }, { 0x06bc02be, "MB471 Multifunction Printer" }, { 0x06bc02bf, "MB491 Multifunction Printer" }, { 0x06bc02ca, "ES4161 Multifunction Printer" }, { 0x06bc02cb, "ES4191 Multifunction Printer" }, { 0x06bc02d4, "MPS4200mb Multifunction Printer" }, { 0x06bc02e7, "MC352 Multifunction Printer" }, { 0x06bc02e8, "MC362 Multifunction Printer" }, { 0x06bc02e9, "MC562 Multifunction Printer" }, { 0x06bc02ea, "ES3452 Multifunction Printer" }, { 0x06bc02eb, "ES5462 Multifunction Printer" }, { 0x06bc02ee, "MB451 Multifunction Printer" }, { 0x06bc02ef, "MB441 Multifunction Printer" }, { 0x06bc02f7, "MC862 Multifunction Printer" }, { 0x06bc02f8, "MC852 Multifunction Printer" }, { 0x06bc02f9, "ES8462 Multifunction Printer" }, { 0x06bc02fe, "MB491+LP Multifunction Printer" }, { 0x06bc02ff, "MB461+LP Multifunction Printer" }, { 0x06bc0300, "MPS4700mb Multifunction Printer" }, { 0x06bc0323, "MC332 Multifunction Printer" }, { 0x06bc0324, "MC342 Multifunction Printer" }, { 0x06bc0325, "MPS2731mc Multifunction Printer" }, { 0x06bc034d, "MB472 Multifunction Printer" }, { 0x06bc034e, "MB492 Multifunction Printer" }, { 0x06bc034f, "MB562 Multifunction Printer" }, { 0x06bc0350, "ES4192 Multifunction Printer" }, { 0x06bc0351, "ES5162 Multifunction Printer" }, { 0x06bc035b, "MC853 Multifunction Printer" }, { 0x06bc035c, "MC863 Multifunction Printer" }, { 0x06bc035d, "MC873 Multifunction Printer" }, { 0x06bc035e, "MC883 Multifunction Printer" }, { 0x06bc035f, "ES8453 Multifunction Printer" }, { 0x06bc0360, "ES8463 Multifunction Printer" }, { 0x06bc0361, "ES8473 Multifunction Printer" }, { 0x06bc0362, "ES8483 Multifunction Printer" }, { 0x06bc0377, "ES4172LP Multifunction Printer" }, { 0x06bc0378, "ES5162LP Multifunction Printer" }, { 0x06bc0382, "MC363 Multifunction Printer" }, { 0x06bc0383, "MC563 Multifunction Printer" }, { 0x06bc0384, "ES5463 Multifunction Printer" }, { 0x06bc0394, "MC573 Multifunction Printer" }, { 0x06bc0395, "ES5473 Multifunction Printer" }, { 0x06bc0a91, "B2500MFP (printer+scanner)" }, { 0x06bc3801, "B6100 Laser Printer" }, { 0x06bd0001, "SnapScan 1212U" }, { 0x06bd0002, "SnapScan 1236U" }, { 0x06bd0100, "SnapScan Touch" }, { 0x06bd0101, "SNAPSCAN ELITE" }, { 0x06bd0200, "ScanMaker 8700" }, { 0x06bd02bf, "DUOSCAN f40" }, { 0x06bd0400, "CL30" }, { 0x06bd0401, "Mass Storage" }, { 0x06bd0403, "ePhoto CL18 Camera" }, { 0x06bd0404, "ePhoto CL20 Camera" }, { 0x06bd2061, "SnapScan 1212U (?)" }, { 0x06bd208d, "Snapscan e40" }, { 0x06bd208f, "SnapScan e50" }, { 0x06bd2091, "SnapScan e20" }, { 0x06bd2093, "SnapScan e10" }, { 0x06bd2095, "SnapScan e25" }, { 0x06bd2097, "SnapScan e26" }, { 0x06bd20fd, "SnapScan e52" }, { 0x06bd20ff, "SnapScan e42" }, { 0x06be0800, "Optimedia Camera" }, { 0x06be1005, "Dazzle DPVM! (1005)" }, { 0x06bed001, "P35U Camera Capture" }, { 0x06c20030, "PhidgetRFID" }, { 0x06c20031, "RFID reader" }, { 0x06c20038, "4-Motor PhidgetServo v3.0" }, { 0x06c20039, "1-Motor PhidgetServo v3.0" }, { 0x06c2003a, "8-Motor PhidgetAvancedServo" }, { 0x06c20040, "PhidgetInterface Kit 0-0-4" }, { 0x06c20044, "PhidgetInterface Kit 0-16-16" }, { 0x06c20045, "PhidgetInterface Kit 8-8-8" }, { 0x06c20048, "PhidgetStepper (Under Development)" }, { 0x06c20049, "PhidgetTextLED Ver 1.0" }, { 0x06c2004a, "PhidgetLED Ver 1.0" }, { 0x06c2004b, "PhidgetEncoder Ver 1.0" }, { 0x06c20051, "PhidgetInterface Kit 0-5-7 (Custom)" }, { 0x06c20052, "PhidgetTextLCD" }, { 0x06c20053, "PhidgetInterfaceKit 0-8-8" }, { 0x06c20058, "PhidgetMotorControl Ver 1.0" }, { 0x06c20070, "PhidgetTemperatureSensor Ver 1.0" }, { 0x06c20071, "PhidgetAccelerometer Ver 1.0" }, { 0x06c20072, "PhidgetWeightSensor Ver 1.0" }, { 0x06c20073, "PhidgetHumiditySensor" }, { 0x06c20074, "PhidgetPHSensor" }, { 0x06c20075, "PhidgetGyroscope" }, { 0x06c90005, "Monitor Control" }, { 0x06c90007, "Monitor Control" }, { 0x06c90009, "Monitor Control" }, { 0x06ca2003, "uSCSI" }, { 0x06cb0001, "TouchPad" }, { 0x06cb0002, "Integrated TouchPad" }, { 0x06cb0003, "cPad" }, { 0x06cb0005, "Touchpad/FPS" }, { 0x06cb0006, "TouchScreen" }, { 0x06cb0007, "USB Styk" }, { 0x06cb0008, "WheelPad" }, { 0x06cb0009, "Composite TouchPad and TrackPoint" }, { 0x06cb000e, "HID Device" }, { 0x06cb0010, "Wireless TouchPad" }, { 0x06cb0013, "DisplayPad" }, { 0x06cb009a, "Metallica MIS Touch Fingerprint Reader" }, { 0x06cb00a2, "Metallica MOH Touch Fingerprint Reader" }, { 0x06cb00b7, "Fingerprint reader [HP G6]" }, { 0x06cb00bd, "Prometheus MIS Touch Fingerprint Reader" }, { 0x06cb00c7, "TouchPad" }, { 0x06cb00cb, "Fingerprint scanner" }, { 0x06cb0ac3, "Large Touch Screen" }, { 0x06cb2970, "touchpad" }, { 0x06cc0101, "Cable Modem" }, { 0x06cc0102, "Cable Modem" }, { 0x06cc0103, "Cable Modem" }, { 0x06cc0104, "Cable Modem" }, { 0x06cc0304, "Cable Modem" }, { 0x06cd0101, "USA-28 PDA [no firmware]" }, { 0x06cd0102, "USA-28X PDA [no firmware]" }, { 0x06cd0103, "USA-19 PDA [no firmware]" }, { 0x06cd0104, "PDA [prerenum]" }, { 0x06cd0105, "USA-18X PDA [no firmware]" }, { 0x06cd0106, "USA-19W PDA [no firmware]" }, { 0x06cd0107, "USA-19 PDA" }, { 0x06cd0108, "USA-19W PDA" }, { 0x06cd0109, "USA-49W serial adapter [no firmware]" }, { 0x06cd010a, "USA-49W serial adapter" }, { 0x06cd010b, "USA-19Qi serial adapter [no firmware]" }, { 0x06cd010c, "USA-19Qi serial adapter" }, { 0x06cd010d, "USA-19Q serial Adapter (no firmware)" }, { 0x06cd010e, "USA-19Q serial Adapter" }, { 0x06cd010f, "USA-28 PDA" }, { 0x06cd0110, "USA-28Xb PDA" }, { 0x06cd0111, "USA-18 serial Adapter" }, { 0x06cd0112, "USA-18X PDA" }, { 0x06cd0113, "USA-28Xb PDA [no firmware]" }, { 0x06cd0114, "USA-28Xa PDA [no firmware]" }, { 0x06cd0115, "USA-28Xa PDA" }, { 0x06cd0116, "USA-18XA serial Adapter (no firmware)" }, { 0x06cd0117, "USA-18XA serial Adapter" }, { 0x06cd0118, "USA-19QW PDA [no firmware]" }, { 0x06cd0119, "USA-19QW PDA" }, { 0x06cd011a, "USA-49Wlc serial adapter [no firmware]" }, { 0x06cd011b, "MPR Serial Preloader (MPRQI)" }, { 0x06cd011c, "MPR Serial (MPRQI)" }, { 0x06cd011d, "MPR Serial Preloader (MPRQ)" }, { 0x06cd011e, "MPR Serial (MPRQ)" }, { 0x06cd0121, "USA-19hs serial adapter" }, { 0x06cd012a, "USA-49Wlc serial adapter" }, { 0x06cd0201, "UIA-10 Digital Media Remote [Cypress AN2131SC]" }, { 0x06cd0202, "UIA-11 Digital Media Remote" }, { 0x06ce8311, "COM-1(USB)H" }, { 0x06cf1010, "PanoCam 10" }, { 0x06cf1012, "PanoCam 12/12X" }, { 0x06d00622, "LapLink Gold USB-USB Bridge [net1080]" }, { 0x06d30284, "FX-USB-AW/-BD RS482 Converters" }, { 0x06d30380, "CP8000D Port" }, { 0x06d30381, "CP770D Port" }, { 0x06d30385, "CP900D Port" }, { 0x06d30387, "CP980D Port" }, { 0x06d3038b, "CP3020D Port" }, { 0x06d3038c, "CP900DW(ID) Port" }, { 0x06d30393, "CP9500D/DW Port" }, { 0x06d30394, "CP9000D/DW Port" }, { 0x06d30398, "P93D" }, { 0x06d303a1, "CP9550D/DW Port" }, { 0x06d303a5, "CP9550DW-S" }, { 0x06d303a9, "CP-9600DW" }, { 0x06d303aa, "CP3020DA" }, { 0x06d303ab, "CP30D/DW" }, { 0x06d303ad, "CP-9800D/DW" }, { 0x06d303ae, "CP-9800DW-S" }, { 0x06d30f10, "Hori/Namco FlightStick 2" }, { 0x06d321ba, "FOMA D905i" }, { 0x06d33b10, "P95D" }, { 0x06d33b21, "CP-9810D/DW" }, { 0x06d33b30, "CP-D70DW / CP-D707DW" }, { 0x06d33b31, "CP-K60DW-S" }, { 0x06d33b36, "CP-D80DW" }, { 0x06d33b50, "CP-W5000DW" }, { 0x06d33b60, "CP-D90DW" }, { 0x06d33b80, "CP-M1" }, { 0x06d54000, "Japanese Keyboard" }, { 0x06d60025, "Gamepad" }, { 0x06d60026, "Predator TH 400 Gamepad" }, { 0x06d6002d, "Trust PowerC@m 350FT" }, { 0x06d6002e, "Trust PowerC@m 350FS" }, { 0x06d60030, "Trust 710 LCD POWERC@M ZOOM - MSD" }, { 0x06d60031, "Trust 610/710 LCD POWERC@M ZOOM" }, { 0x06d6003a, "Trust PowerC@m 770Z (mass storage mode)" }, { 0x06d6003b, "Trust PowerC@m 770Z (webcam mode)" }, { 0x06d6003c, "Trust 910z PowerC@m" }, { 0x06d6003f, "Trust 735S POWERC@M ZOOM, WDM DSC Bulk Driver" }, { 0x06d60050, "Trust 738AV LCD PV Digital Camera" }, { 0x06d60062, "TRUST 782AV LCD P. V. Video Capture" }, { 0x06d60066, "TRUST Digital PCTV and Movie Editor" }, { 0x06d60067, "Trust 350FS POWERC@M FLASH" }, { 0x06d6006b, "TRUST AUDIO VIDEO EDITOR" }, { 0x06da0002, "UPS" }, { 0x06da0003, "1300VA UPS" }, { 0x06dc0012, "Scan 1200c Scanner" }, { 0x06dc0014, "Prolink Winscan Pro 2448U" }, { 0x06e00319, "MT9234ZBA-USB MultiModem ZBA" }, { 0x06e0f101, "MT5634ZBA-USB MultiModemUSB (old firmware)" }, { 0x06e0f103, "MT5634MU MultiMobileUSB" }, { 0x06e0f104, "MT5634ZBA-USB MultiModemUSB (new firmware)" }, { 0x06e0f107, "MT5634ZBA-USB-V92 MultiModemUSB" }, { 0x06e0f120, "MT9234ZBA-USB-CDC-ACM-XR MultiModem ZBA CDC-ACM-XR" }, { 0x06e10008, "UBS-10BT Ethernet [klsi]" }, { 0x06e10009, "UBS-10BT Ethernet" }, { 0x06e10709, "go7007 MPEG Capture Device [DVD Xpress DX2]" }, { 0x06e10833, "Mass Storage Device" }, { 0x06e1a155, "FM Radio Receiver/Instant FM Music (RDX-155-EF)" }, { 0x06e1a160, "Instant Video-To-Go RDX-160 (no firmware)" }, { 0x06e1a161, "Instant Video-To-Go RDX-160" }, { 0x06e1a190, "Instand VCD Capture" }, { 0x06e1a191, "Instant VideoXpress" }, { 0x06e1a337, "Mini DigitalTV" }, { 0x06e1a701, "DVD Xpress" }, { 0x06e1a708, "saa7114H video input card (Instant VideoMPX)" }, { 0x06e1b337, "Mini DigitalTV" }, { 0x06e1b701, "DVD Xpress B" }, { 0x06e60200, "Internet Phone" }, { 0x06e60201, "Internet Phone" }, { 0x06e60202, "Composite Device" }, { 0x06e60203, "Internet Phone" }, { 0x06e60210, "Composite Device" }, { 0x06e60211, "Internet Phone" }, { 0x06e60212, "Internet Phone" }, { 0x06e6031c, "Internet Phone" }, { 0x06e6031d, "Internet Phone" }, { 0x06e6031e, "Internet Phone" }, { 0x06e63200, "Composite Device" }, { 0x06e63201, "Internet Phone" }, { 0x06e63202, "Composite Device" }, { 0x06e63203, "Composite Device" }, { 0x06e67200, "Composite Device" }, { 0x06e67210, "Composite Device" }, { 0x06e67250, "Composite Device" }, { 0x06e6825c, "Internet Phone" }, { 0x06e6831c, "Internet Phone" }, { 0x06e6831d, "Composite Device" }, { 0x06e6831e, "Composite Device" }, { 0x06e6b200, "Composite Device" }, { 0x06e6b201, "Composite Device" }, { 0x06e6b202, "Internet Phone" }, { 0x06e6b210, "Internet Phone" }, { 0x06e6b211, "Composite Device" }, { 0x06e6b212, "Composite Device" }, { 0x06e6b250, "Composite Device" }, { 0x06e6b251, "Internet Phone" }, { 0x06e6b252, "Internet Phone" }, { 0x06e6c200, "Internet Phone" }, { 0x06e6c201, "Internet Phone" }, { 0x06e6c202, "Composite Device" }, { 0x06e6c203, "Internet Phone" }, { 0x06e6c210, "Personal PhoneGateway" }, { 0x06e6c211, "Personal PhoneGateway" }, { 0x06e6c212, "Personal PhoneGateway" }, { 0x06e6c213, "PPG Device" }, { 0x06e6c25c, "Composite Device" }, { 0x06e6c290, "PPG Device" }, { 0x06e6c291, "PPG Device" }, { 0x06e6c292, "PPG Device" }, { 0x06e6c293, "Personal PhoneGateway" }, { 0x06e6c31c, "Composite Device" }, { 0x06e6c39c, "Personal PhoneGateway" }, { 0x06e6c39d, "PPG Device" }, { 0x06e6c39e, "PPG Device" }, { 0x06e6c39f, "PPG Device" }, { 0x06e6c700, "Internet Phone" }, { 0x06e6c701, "Internet Phone" }, { 0x06e6c702, "Composite Device" }, { 0x06e6c703, "Internet Phone" }, { 0x06e6c710, "VoIP Combo Device" }, { 0x06e6c711, "VoIP Combo" }, { 0x06e6c712, "VoIP Combo Device" }, { 0x06e6c713, "VoIP Combo Device" }, { 0x06e6cf00, "Composite Device" }, { 0x06e6cf01, "Internet Phone" }, { 0x06e6cf02, "Internet Phone" }, { 0x06e6cf03, "Composite Device" }, { 0x06e6d210, "Personal PhoneGateway" }, { 0x06e6d211, "PPG Device" }, { 0x06e6d212, "PPG Device" }, { 0x06e6d213, "Personal PhoneGateway" }, { 0x06e6d700, "Composite Device" }, { 0x06e6d701, "Composite Device" }, { 0x06e6d702, "Internet Phone" }, { 0x06e6d703, "Composite Device" }, { 0x06e6d710, "VoIP Combo" }, { 0x06e6d711, "VoIP Combo Device" }, { 0x06e6d712, "VoIP Combo" }, { 0x06e6d713, "VoIP Combo" }, { 0x06e6df00, "Composite Device" }, { 0x06e6df01, "Composite Device" }, { 0x06e6df02, "Internet Phone" }, { 0x06e6df03, "Internet Phone" }, { 0x06e6f200, "Internet Phone" }, { 0x06e6f201, "Internet Phone" }, { 0x06e6f202, "Composite Device" }, { 0x06e6f203, "Composite Device" }, { 0x06e6f210, "Internet Phone" }, { 0x06e6f250, "Composite Device" }, { 0x06e6f252, "Internet Phone" }, { 0x06e6f310, "Internet Phone" }, { 0x06e6f350, "Composite Device" }, { 0x06ea0001, "NetCom Roadster II 56k" }, { 0x06ea0002, "Roadster II 56k" }, { 0x06f0de01, "DualCam Video Camera" }, { 0x06f0de02, "DualCam Still Camera" }, { 0x06f1a011, "SonicPort" }, { 0x06f1a021, "SonicPort Optical" }, { 0x06f20011, "KVM Switch Keyboard" }, { 0x06f70003, "USB->Din 4 Adaptor" }, { 0x06f83002, "Hercules Blog Webcam" }, { 0x06f83004, "Hercules Classic Silver" }, { 0x06f83005, "Hercules Dualpix Exchange" }, { 0x06f83007, "Hercules Dualpix Chat and Show" }, { 0x06f83020, "Hercules Webcam EC300" }, { 0x06f8a300, "Dual Analog Leader GamePad" }, { 0x06f8b000, "Hercules DJ Console" }, { 0x06f8b105, "DJ Control MP3 e2 [Hercules DJ Control MP3 e2]" }, { 0x06f8b121, "Hercules P32 DJ" }, { 0x06f8c000, "Hercules Muse Pocket" }, { 0x06f8d002, "Hercules DJ Console" }, { 0x06f8e000, "HWGUSB2-54 WLAN" }, { 0x06f8e010, "HWGUSB2-54-LB" }, { 0x06f8e020, "HWGUSB2-54V2-AP" }, { 0x06f8e031, "Hercules HWNUm-300 Wireless N mini [Realtek RTL8191SU]" }, { 0x06f8e032, "HWGUm-54 [Hercules Wireless G Ultra Mini Key]" }, { 0x06f8e033, "Hercules HWNUp-150 802.11n Wireless N Pico [Realtek RTL8188CUS]" }, { 0x06fd0101, "Audio Device" }, { 0x06fd0102, "Audio Device" }, { 0x06fd0201, "2-piece Audio Device" }, { 0x07070100, "2202 Ethernet [klsi]" }, { 0x07070200, "2202 Ethernet [pegasus]" }, { 0x07070201, "EZ Connect USB Ethernet" }, { 0x0707ee04, "SMCWUSB32 802.11b Wireless LAN Card" }, { 0x0707ee06, "SMC2862W-G v1 EZ Connect 802.11g Adapter [Intersil ISL3886]" }, { 0x0707ee13, "SMC2862W-G v2 EZ Connect 802.11g Adapter [Intersil ISL3887]" }, { 0x0708047e, "USB-1284 BRIDGE" }, { 0x070a4002, "Bluetooth Device" }, { 0x070a4003, "Bluetooth Device" }, { 0x07100001, "WhiteHeat (fake ID)" }, { 0x07108001, "WhiteHeat" }, { 0x07110100, "Hub" }, { 0x07110180, "IRXpress Infrared Device" }, { 0x07110181, "IRXpress Infrared Device" }, { 0x07110200, "BAY-3U1S1P Serial Port" }, { 0x07110210, "MCT1S Serial Port" }, { 0x07110230, "MCT-232 Serial Port" }, { 0x07110231, "PS/2 Mouse Port" }, { 0x07110232, "Serial On Port" }, { 0x07110240, "PS/2 to USB Converter" }, { 0x07110260, "PS/2 Keyboard and Mouse" }, { 0x07110300, "BAY-3U1S1P Parallel Port" }, { 0x07110302, "Parallel Port" }, { 0x07110900, "SVGA Adapter" }, { 0x07115001, "Trigger UV-002BD[Startech USBVGAE]" }, { 0x07115100, "Magic Control Technology Corp. (USB2VGA dongle)" }, { 0x07140003, "ADB converter" }, { 0x07180002, "SuperDisk 120MB" }, { 0x07180003, "SuperDisk 120MB (Authenticated)" }, { 0x07180060, "Flash Drive" }, { 0x07180061, "Flash Drive" }, { 0x07180062, "Flash Drive" }, { 0x07180063, "Swivel Flash Drive" }, { 0x07180064, "Flash Drive" }, { 0x07180065, "Flash Drive" }, { 0x07180066, "Flash Drive" }, { 0x07180067, "Flash Drive" }, { 0x07180068, "Flash Drive" }, { 0x07180084, "Flash Drive Mini" }, { 0x0718043c, "Flash drive 16GB [Nano Pro]" }, { 0x07180582, "Revo Flash Drive" }, { 0x07180622, "TDK Trans-It 4GB" }, { 0x07180624, "TDK Trans-It 16GB" }, { 0x07181120, "RDX External dock (redbud)" }, { 0x07184006, "8x Slim DVD Multi-Format Recorder External" }, { 0x0718d000, "Disc Stakka CD/DVD Manager" }, { 0x071b0002, "DTI-56362-USB Digital Interface Unit" }, { 0x071b0101, "Audio4-USB DSP Data Acquisition Unit" }, { 0x071b0184, "Archos 2 8GB EM184RB" }, { 0x071b0201, "Audio4-5410 DSP Data Acquisition Unit" }, { 0x071b0301, "SB-USB JTAG Emulator" }, { 0x071b3203, "Rockchip Media Player" }, { 0x071b32bb, "Music Mediatouch" }, { 0x071d1000, "Diva 2.01 S/T [PSB2115F]" }, { 0x071d1003, "Diva ISDN 2.0" }, { 0x071d1005, "Diva ISDN 4.0 [HFC-S]" }, { 0x071d2000, "Teledat Surf" }, { 0x07208001, "LJ-V7001" }, { 0x07230002, "Palladia 300/400 Adsl Modem" }, { 0x07291000, "USC-1000 Serial Port" }, { 0x072f0001, "AC1030-based SmartCard Reader" }, { 0x072f0008, "ACR 80 Smart Card Reader" }, { 0x072f0100, "AET65" }, { 0x072f0101, "AET65" }, { 0x072f0102, "AET62" }, { 0x072f0103, "AET62" }, { 0x072f0901, "ACR1281U-C4 (BSI)" }, { 0x072f1000, "PLDT Drive" }, { 0x072f1001, "PLDT Drive" }, { 0x072f2011, "ACR88U" }, { 0x072f2100, "ACR128U" }, { 0x072f2200, "ACR122U" }, { 0x072f220a, "ACR1281U-C5 (BSI)" }, { 0x072f220c, "ACR1283 Bootloader" }, { 0x072f220f, "ACR1281U-C2 (qPBOC)" }, { 0x072f2211, "ACR1261 1S Dual Reader" }, { 0x072f2214, "ACR1222 1SAM PICC Reader" }, { 0x072f2215, "ACR1281 2S CL Reader" }, { 0x072f221a, "ACR1251U-A1" }, { 0x072f221b, "ACR1251U-C" }, { 0x072f2224, "ACR1281 1S Dual Reader" }, { 0x072f222b, "ACR1222U-C8" }, { 0x072f222c, "ACR1283L-D2" }, { 0x072f222d, "[OEM Reader]" }, { 0x072f222e, "ACR123U" }, { 0x072f223f, "ACR1255U-J1" }, { 0x072f2242, "ACR1251 1S Dual Reader" }, { 0x072f8002, "AET63 BioTRUSTKey" }, { 0x072f8003, "ACR120" }, { 0x072f8103, "ACR120" }, { 0x072f8201, "APG8201" }, { 0x072f8900, "ACR89U-A1" }, { 0x072f8901, "ACR89U-A2" }, { 0x072f8902, "ACR89U-A3" }, { 0x072f9000, "ACR38 AC1038-based Smart Card Reader" }, { 0x072f9006, "CryptoMate" }, { 0x072f90cc, "ACR38 SmartCard Reader" }, { 0x072f90ce, "[OEM Reader]" }, { 0x072f90cf, "ACR38 SAM Smart Card Reader" }, { 0x072f90d0, "PertoSmart EMV - Card Reader" }, { 0x072f90d2, "ACR83U" }, { 0x072f90d8, "ACR3801" }, { 0x072f90db, "CryptoMate64" }, { 0x072fb000, "ACR3901U" }, { 0x072fb100, "ACR39U" }, { 0x072fb101, "ACR39K" }, { 0x072fb102, "ACR39T" }, { 0x072fb103, "ACR39F" }, { 0x072fb104, "ACR39U-SAM" }, { 0x072fb106, "ACOS5T2" }, { 0x072fb200, "ACOS5T1" }, { 0x072fb301, "ACR32-A1" }, { 0x07310528, "SonyEricsson DCU-11 Cable" }, { 0x07330101, "Digital Video Camera" }, { 0x07330110, "VQ110 Video Camera" }, { 0x07330401, "CS330 Webcam" }, { 0x07330402, "M-318B Webcam" }, { 0x07330430, "Intel Pro Share Webcam" }, { 0x07330630, "VQ630 Dual Mode Digital Camera(Bulk)" }, { 0x07330631, "Hercules Dualpix" }, { 0x07330780, "Smart Cam Deluxe(composite)" }, { 0x07331310, "Epsilon 1.3/Jenoptik JD C1.3/UMAX AstraPix 470 (mass storage mode)" }, { 0x07331311, "Epsilon 1.3/Jenoptik JD C1.3/UMAX AstraPix 470 (PC Cam mode)" }, { 0x07331314, "Mercury 2.1MEG Deluxe Classic Cam" }, { 0x07332211, "Jenoptik jdc 21 LCD Camera" }, { 0x07332220, "Mercury Digital Pro 3.1p VQ2220 (mass storage mode)" }, { 0x07332221, "Mercury Digital Pro 3.1p VQ2220 (webcam mode)" }, { 0x07333261, "Concord 3045 spca536a Camera" }, { 0x07333281, "Cyberpix S550V" }, { 0x07340001, "560V Modem" }, { 0x07340002, "Lasat 560V Modem" }, { 0x0734043a, "DVS Audio" }, { 0x0734043b, "3DeMon USB Capture" }, { 0x07352100, "ISDN Adapter" }, { 0x07352101, "ISDN Adapter" }, { 0x07356694, "ISDNlink 128K" }, { 0x0735c541, "ISDN TA 280" }, { 0x07381302, "F.L.Y. 5 Flight Stick" }, { 0x07382215, "X-55 Rhino Stick" }, { 0x07382218, "Saitek Side Panel Control Deck" }, { 0x07382237, "V.1 Stick" }, { 0x07384506, "Wireless Controller" }, { 0x07384507, "XBox Device" }, { 0x07384516, "Control Pad" }, { 0x07384520, "Control Pad Pro" }, { 0x07384522, "LumiCON" }, { 0x07384526, "Control Pad Pro" }, { 0x07384530, "Universal MC2 Racing Wheel and Pedals" }, { 0x07384536, "MicroCON" }, { 0x07384540, "Beat Pad" }, { 0x07384556, "Lynx Wireless Controller" }, { 0x07384566, "XBox Device" }, { 0x07384576, "XBox Device" }, { 0x07384586, "MicroCON Wireless Controller" }, { 0x07384588, "Blaster" }, { 0x073845ff, "Beat Pad" }, { 0x07384716, "Wired Xbox 360 Controller" }, { 0x07384718, "Street Fighter IV FightStick SE for Xbox 360" }, { 0x07384726, "Xbox 360 Controller" }, { 0x07384728, "Street Fighter IV FightPad for Xbox 360" }, { 0x07384730, "MC2 Racing Wheel for Xbox 360" }, { 0x07384736, "MicroCON for Xbox 360" }, { 0x07384738, "Street Fighter IV Wired Controller for Xbox 360" }, { 0x07384740, "Beat Pad for Xbox 360" }, { 0x07384743, "Beat Pad Pro" }, { 0x07384758, "Arcade Game Stick" }, { 0x07384a01, "FightStick TE 2 for Xbox One" }, { 0x07386040, "Beat Pad Pro" }, { 0x07388818, "Street Fighter IV Arcade FightStick (PS3)" }, { 0x07389871, "Portable Drum Kit" }, { 0x0738a109, "S.T.R.I.K.E.7 Keyboard" }, { 0x0738a215, "X-55 Rhino Throttle" }, { 0x0738b726, "Modern Warfare 2 Controller for Xbox 360" }, { 0x0738b738, "Marvel VS Capcom 2 TE FightStick for Xbox 360" }, { 0x0738beef, "Joytech Neo SE Advanced Gamepad" }, { 0x0738cb02, "Saitek Cyborg Rumble Pad" }, { 0x0738cb03, "Saitek P3200 Rumble Pad" }, { 0x0738cb29, "Saitek Aviator Stick AV8R02" }, { 0x0738f738, "Super Street Fighter IV FightStick TE S for Xbox 360" }, { 0x073a2230, "infrared dongle for remote" }, { 0x073c0305, "Pole Display (PC305-3415 2 x 20 Line Display)" }, { 0x073c0322, "Pole Display (PC322-3415 2 x 20 Line Display)" }, { 0x073c0324, "Pole Display (LB324-USB 4 x 20 Line Display)" }, { 0x073c0330, "Pole Display (P330-3415 2 x 20 Line Display)" }, { 0x073c0424, "Pole Display (SP324-4415 4 x 20 Line Display)" }, { 0x073c0450, "Pole Display (L450-USB Graphic Line Display)" }, { 0x073c0505, "Pole Display (SPC505-3415 2 x 20 Line Display)" }, { 0x073c0522, "Pole Display (SPC522-3415 2 x 20 Line Display)" }, { 0x073c0624, "Pole Display (SP324-3415 4 x 20 Line Display)" }, { 0x073d0000, "SmartKey" }, { 0x073d0005, "Crypto Token" }, { 0x073d0007, "CryptoIdentity CCID" }, { 0x073d0025, "SmartKey 3" }, { 0x073d0c00, "Pocket Reader" }, { 0x073d0d00, "StarSign Bio Token 3.0 EU" }, { 0x073e0301, "Game Pad" }, { 0x07422008, "ISDN TA [HFC-S]" }, { 0x07422009, "ISDN TA [HFC-S]" }, { 0x0742200a, "ISDN TA [HFC-S]" }, { 0x07464700, "Integra MZA-4.7" }, { 0x07465500, "SE-U55 Audio Device" }, { 0x074d3553, "Composite USB-Device" }, { 0x074d3554, "Composite USB-Device" }, { 0x074d3556, "Composite USB-Device" }, { 0x074e0001, "PS/2 Adapter" }, { 0x074e0002, "PS/2 Adapter" }, { 0x07570a00, "SUN Adapter" }, { 0x075b0001, "Kick-off! Watchdog" }, { 0x07630115, "O2 / KeyRig 25" }, { 0x07630117, "Trigger Finger" }, { 0x07630119, "MidAir" }, { 0x07630150, "M-Audio Uno" }, { 0x07630160, "M-Audio 1x1" }, { 0x07630192, "M-Audio Keystation 88es" }, { 0x07630193, "ProKeys 88" }, { 0x07630194, "ProKeys 88sx" }, { 0x07630195, "Oxygen 8 v2" }, { 0x07630196, "Oxygen 49" }, { 0x07630197, "Oxygen 61" }, { 0x07630198, "Axiom 25" }, { 0x07630199, "Axiom 49" }, { 0x0763019a, "Axiom 61" }, { 0x0763019b, "KeyRig 49" }, { 0x0763019c, "KeyStudio" }, { 0x07631001, "MidiSport 2x2" }, { 0x07631002, "MidiSport 2x2" }, { 0x07631003, "MidiSport 2x2" }, { 0x07631010, "MidiSport 1x1" }, { 0x07631011, "MidiSport 1x1" }, { 0x07631014, "M-Audio Keystation Loader" }, { 0x07631015, "M-Audio Keystation" }, { 0x07631020, "Midisport 4x4" }, { 0x07631021, "MidiSport 4x4" }, { 0x07631030, "M-Audio MIDISPORT 8x8" }, { 0x07631031, "MidiSport 8x8/s Loader" }, { 0x07631033, "MidiSport 8x8/s" }, { 0x07631040, "M-Audio MidiSport 2x4 Loader" }, { 0x07631041, "M-Audio MidiSport 2x4" }, { 0x07631110, "MidiSport 1x1" }, { 0x07632001, "M Audio Quattro" }, { 0x07632002, "M Audio Duo" }, { 0x07632003, "M Audio AudioPhile" }, { 0x07632004, "M-Audio MobilePre" }, { 0x07632006, "M-Audio Transit" }, { 0x07632007, "M-Audio Sonica Theater" }, { 0x07632008, "M-Audio Ozone" }, { 0x0763200d, "M-Audio OmniStudio" }, { 0x0763200f, "M-Audio MobilePre" }, { 0x07632010, "M-Audio Fast Track" }, { 0x07632012, "M-Audio Fast Track Pro" }, { 0x07632013, "M-Audio JamLab" }, { 0x07632015, "M-Audio RunTime DFU" }, { 0x07632016, "M-Audio RunTime DFU" }, { 0x07632019, "M-Audio Ozone Academic" }, { 0x0763201a, "M-Audio Micro" }, { 0x0763201b, "M-Audio RunTime DFU" }, { 0x0763201d, "M-Audio Producer" }, { 0x07632024, "M-Audio Fast Track MKII" }, { 0x0763202e, "Axiom 61" }, { 0x07632080, "M-Audio Fast Track Ultra" }, { 0x07632081, "M-Audio RunTime DFU / Fast Track Ultra 8R" }, { 0x07632803, "M-Audio Audiophile DFU" }, { 0x07632804, "M-Audio MobilePre DFU" }, { 0x07632806, "M-Audio Transit DFU" }, { 0x07632815, "M-Audio DFU" }, { 0x07632816, "M-Audio DFU" }, { 0x0763281b, "M-Audio DFU" }, { 0x07632880, "M-Audio DFU" }, { 0x07632881, "M-Audio DFU" }, { 0x07640005, "Cyber Power UPS" }, { 0x07640501, "CP1500 AVR UPS" }, { 0x07640601, "PR1500LCDRT2U UPS" }, { 0x07655001, "Huey PRO Colorimeter" }, { 0x07655010, "X-Rite Pantone Color Sensor" }, { 0x07655020, "i1 Display Pro" }, { 0x07656003, "ColorMunki Smile" }, { 0x07656008, "i1Studio" }, { 0x0765d094, "X-Rite DTP94 [Quato Silver Haze Pro]" }, { 0x07660017, "Packard Bell Carbon" }, { 0x0766001b, "Packard Bell Go" }, { 0x07660204, "TopSpeed Cyberlink Remote Control" }, { 0x07680006, "Camtel Technology USB TV Genie Pro FM Model TVB330" }, { 0x07680023, "eHome Infrared Receiver" }, { 0x076911f2, "EP-9001-g 802.11g 54M WLAN Adapter" }, { 0x076911f3, "RT2570" }, { 0x076911f7, "802.11g 54M WLAN Adapter" }, { 0x076931f3, "RT2573" }, { 0x076b0596, "CardMan 2020" }, { 0x076b1021, "CardMan 1021" }, { 0x076b1221, "CardMan 1221" }, { 0x076b1784, "CardMan 6020" }, { 0x076b3021, "CardMan 3021 / 3121" }, { 0x076b3022, "CardMan 3121 (HID Technologies)" }, { 0x076b3031, "3x21 Smart Card Reader" }, { 0x076b3610, "CardMan 3620" }, { 0x076b3621, "CardMan 3621" }, { 0x076b3821, "CardMan 3821" }, { 0x076b4321, "CardMan 4321" }, { 0x076b5022, "CardMan 5022" }, { 0x076b5121, "CardMan 5121" }, { 0x076b5125, "CardMan 5125" }, { 0x076b5321, "CardMan 5321" }, { 0x076b5340, "CardMan 5021 CL" }, { 0x076b6622, "CardMan 6121" }, { 0x076ba011, "CCID Smart Card Reader Keyboard" }, { 0x076ba021, "CCID Smart Card Reader" }, { 0x076ba022, "CardMan Smart@Link" }, { 0x076bc000, "CardMan 3x21 CS" }, { 0x076bc001, "CardMan 5121 CS" }, { 0x076c0204, "CD7220 Communications Port" }, { 0x076c0302, "RP-600" }, { 0x07714455, "OMC45III" }, { 0x0771ae0f, "OMC45III" }, { 0x07790133, "FUSB307B" }, { 0x07790134, "FUSB308B" }, { 0x077b08be, "BEFCMU10 v4 Cable Modem" }, { 0x077b2219, "WUSB11 V2.6 802.11b Adapter" }, { 0x077b2226, "USB200M 100baseTX Adapter" }, { 0x077b2227, "Network Everywhere NWU11B" }, { 0x077c0005, "NEC Keyboard" }, { 0x077d0223, "IMic Audio In/Out" }, { 0x077d0405, "iMate, ADB Adapter" }, { 0x077d0410, "PowerMate" }, { 0x077d041a, "PowerWave" }, { 0x077d04aa, "SoundKnob" }, { 0x077d07af, "iMic" }, { 0x077d1016, "AirClick" }, { 0x077d627a, "Radio SHARK" }, { 0x077e008a, "NetLink Compact MPI/Profibus adapter" }, { 0x077e0160, "EDICblue" }, { 0x077e0220, "VAS5054A" }, { 0x07801202, "ORGA 900 Smart Card Terminal Virtual Com Port" }, { 0x07801302, "ORGA 6000 Smart Card Terminal Virtual Com Port" }, { 0x07801303, "ORGA 6000 Smart Card Terminal USB RNDIS" }, { 0x0780df55, "ORGA 900/6000 Smart Card Terminal DFU" }, { 0x07810001, "SDDR-05a ImageMate CompactFlash Reader" }, { 0x07810002, "SDDR-31 ImageMate II CompactFlash Reader" }, { 0x07810005, "SDDR-05b (CF II) ImageMate CompactFlash Reader" }, { 0x07810100, "ImageMate SDDR-12" }, { 0x07810200, "SDDR-09 (SSFDC) ImageMate SmartMedia Reader [eusb]" }, { 0x07810400, "SecureMate SD/MMC Reader" }, { 0x07810621, "SDDR-86 Imagemate 6-in-1 Reader" }, { 0x07810720, "Sansa C200 series in recovery mode" }, { 0x07810729, "Sansa E200 series in recovery mode" }, { 0x07810810, "SDDR-75 ImageMate CF-SM Reader" }, { 0x07810830, "ImageMate CF/MMC/SD Reader" }, { 0x07811234, "Cruzer Mini Flash Drive" }, { 0x07815150, "SDCZ2 Cruzer Mini Flash Drive (thin)" }, { 0x07815151, "Cruzer Micro Flash Drive" }, { 0x07815153, "Cruzer Flash Drive" }, { 0x07815204, "Cruzer Crossfire" }, { 0x07815402, "U3 Cruzer Micro" }, { 0x07815406, "Cruzer Micro U3" }, { 0x07815408, "Cruzer Titanium U3" }, { 0x0781540e, "Cruzer Contour Flash Drive" }, { 0x07815530, "Cruzer" }, { 0x07815566, "Cruzer Slice" }, { 0x07815567, "Cruzer Blade" }, { 0x0781556b, "Cruzer Edge" }, { 0x0781556c, "Ultra" }, { 0x0781556d, "Memory Vault" }, { 0x07815571, "Cruzer Fit" }, { 0x07815572, "Cruzer Switch" }, { 0x07815575, "Cruzer Glide" }, { 0x07815576, "Cruzer Facet" }, { 0x07815577, "Cruzer Pop (8GB)" }, { 0x0781557d, "Cruzer Force" }, { 0x07815580, "SDCZ80 Flash Drive" }, { 0x07815581, "Ultra" }, { 0x07815583, "Ultra Fit" }, { 0x07815588, "Extreme Pro" }, { 0x07815589, "SD8SB8U512G[Extreme 500]" }, { 0x0781558c, "Extreme Portable SSD" }, { 0x07815590, "Ultra Dual" }, { 0x07815591, "Ultra Flair" }, { 0x07815e10, "Encrypted" }, { 0x07816100, "Ultra II SD Plus 2GB" }, { 0x07816500, "uSSD 5000" }, { 0x07817100, "Cruzer Mini" }, { 0x07817101, "Pen Flash" }, { 0x07817102, "Cruzer Mini" }, { 0x07817103, "Cruzer Mini" }, { 0x07817104, "Cruzer Micro Mini 256MB Flash Drive" }, { 0x07817105, "Cruzer Mini" }, { 0x07817106, "Cruzer Mini" }, { 0x07817112, "Cruzer Micro 128MB Flash Drive" }, { 0x07817113, "Cruzer Micro 256MB Flash Drive" }, { 0x07817114, "Cruzer Mini" }, { 0x07817115, "Cruzer Mini" }, { 0x07817301, "Sansa e100 series (mtp)" }, { 0x07817302, "Sansa e100 series (msc)" }, { 0x07817400, "SanDisk Sansa m230/m240" }, { 0x07817401, "SanDisk Sansa m200-tcc (MTP mode)" }, { 0x07817410, "SanDisk Sansa c150" }, { 0x07817420, "SanDisk Sansa e200/e250/e260/e270/e280" }, { 0x07817421, "Sansa E200 Series (msc)" }, { 0x07817422, "SanDisk Sansa e260/e280 v2" }, { 0x07817423, "Sansa E200 series v2 (msc)" }, { 0x07817430, "SanDisk Sansa m240/m250" }, { 0x07817431, "Sansa M200 series V4 (msc)" }, { 0x07817432, "SanDisk Sansa Clip" }, { 0x07817433, "Sansa Clip (msc)" }, { 0x07817434, "SanDisk Sansa Clip v2" }, { 0x07817435, "Sansa Clip V2 (msc)" }, { 0x07817450, "SanDisk Sansa c240/c250" }, { 0x07817451, "Sansa C240" }, { 0x07817452, "SanDisk Sansa c250 v2" }, { 0x07817460, "SanDisk Sansa Express" }, { 0x07817480, "SanDisk Sansa Connect" }, { 0x07817481, "Sansa Connect (in recovery mode)" }, { 0x078174b0, "SanDisk Sansa View" }, { 0x078174b1, "Sansa View (mtp)" }, { 0x078174c0, "SanDisk Sansa Fuze" }, { 0x078174c1, "Sansa Fuze (msc)" }, { 0x078174c2, "SanDisk Sansa Fuze v2" }, { 0x078174c3, "Sansa Fuze V2 (msc)" }, { 0x078174d0, "SanDisk Sansa Clip+" }, { 0x078174d1, "Sansa Clip+ (msc)" }, { 0x078174e0, "SanDisk Sansa Fuze+" }, { 0x078174e4, "SanDisk Sansa Clip Zip" }, { 0x078174e5, "Sansa Clip Zip" }, { 0x07818181, "Pen Flash" }, { 0x07818183, "Hi-Speed Mass Storage Device" }, { 0x07818185, "SDCZ2 Cruzer Mini Flash Drive (older, thick)" }, { 0x07818888, "Card Reader" }, { 0x07818889, "SDDR-88 Imagemate 8-in-1 Reader" }, { 0x07818919, "Card Reader" }, { 0x07818989, "ImageMate 12-in-1 Reader" }, { 0x07819191, "ImageMate CF" }, { 0x07819219, "Card Reader" }, { 0x07819292, "ImageMate CF Reader/Writer" }, { 0x07819393, "ImageMate SD-MMC" }, { 0x07819595, "ImageMate xD-SM" }, { 0x07819797, "ImageMate MS-PRO" }, { 0x07819919, "Card Reader" }, { 0x07819999, "SDDR-99 5-in-1 Reader" }, { 0x0781a7c1, "Storage device (SD card reader)" }, { 0x0781a7e8, "SDDR-113 MicroMate SDHC Reader" }, { 0x0781b2b3, "SDDR-103 MobileMate SD+ Reader" }, { 0x0781b2b5, "SDDR-104 MobileMate SD+ Reader" }, { 0x0781b4b5, "SDDR-89 V4 ImageMate 12-in-1 Reader" }, { 0x0781b6b7, "SDDR-99 V4 ImageMate 5-in-1 Reader" }, { 0x0781b6ba, "CF SDDR-289" }, { 0x0781c7cf, "SDDR-299 [Extreme PRO CFast 2.0 Reader]" }, { 0x0781cfc9, "SDDR-489 ImageMate Pro Reader" }, { 0x07830003, "LTC31 SmartCard Reader" }, { 0x07830006, "LTC31v2" }, { 0x07830009, "KBR36" }, { 0x07830010, "LTC32" }, { 0x07840100, "Vivicam 2655" }, { 0x07841310, "Vivicam 3305" }, { 0x07841688, "Vivicam 3665" }, { 0x07841689, "Gateway DC-M42/Labtec DC-505/Vivitar Vivicam 3705" }, { 0x07842620, "AOL Photocam Plus" }, { 0x07842888, "Polaroid DC700" }, { 0x07843330, "Nytec ND-3200 Camera" }, { 0x07844300, "Traveler D1" }, { 0x07845260, "Werlisa Sport PX 100 / JVC GC-A33 Camera" }, { 0x07845300, "Pretec dc530" }, { 0x07850001, "MN128mini-V ISDN TA" }, { 0x07850003, "MN128mini-J ISDN TA" }, { 0x07890026, "LHD Device" }, { 0x07890033, "DVD Multi-plus unit LDR-H443SU2" }, { 0x07890063, "LDR Device" }, { 0x07890064, "LDR-R Device" }, { 0x078900b3, "DVD Multi-plus unit LDR-H443U2" }, { 0x078900cc, "LHD Device" }, { 0x07890105, "LAN-TX/U1H2 10/100 Ethernet Adapter [pegasus II]" }, { 0x0789010c, "Realtek RTL8187 Wireless 802.11g 54Mbps Network Adapter" }, { 0x07890160, "LAN-GTJ/U2A" }, { 0x07890162, "LAN-WN22/U2 Wireless LAN Adapter" }, { 0x07890163, "LAN-WN12/U2 Wireless LAN Adapter" }, { 0x07890164, "LAN-W150/U2M Wireless LAN Adapter" }, { 0x07890166, "LAN-W300N/U2 Wireless LAN Adapter" }, { 0x07890168, "LAN-W150N/U2 Wireless LAN Adapter" }, { 0x07890170, "LAN-W300AN/U2 Wireless LAN Adapter" }, { 0x07890296, "LGB-4BNHUC HDD Bay" }, { 0x07890578, "JMS583 Gen 2 - PCIe Gen3x2 Bridge" }, { 0x078b0010, "Driving UGCI" }, { 0x078b0020, "Flying UGCI" }, { 0x078b0030, "Fighting UGCI" }, { 0x078c0090, "Tablet Adapter" }, { 0x078c0100, "Tablet Adapter" }, { 0x078c0200, "Tablet Adapter" }, { 0x078c0300, "Tablet Adapter" }, { 0x078c0400, "Digitizer (Whiteboard)" }, { 0x07976801, "Flatbed Scanner" }, { 0x07976802, "InkJet Color Printer" }, { 0x07978001, "SmartCam" }, { 0x0797801a, "Typhoon StyloCam" }, { 0x0797801c, "Meade Binoculars/Camera" }, { 0x07978901, "ScanHex SX-35a" }, { 0x07978909, "ScanHex SX-35b" }, { 0x07978911, "ScanHex SX-35c" }, { 0x07980001, "Braille Voyager" }, { 0x07980640, "BC640" }, { 0x07980680, "BC680" }, { 0x07997651, "Programming Unit" }, { 0x079b0024, "MSO300/MSO301 Fingerprint Sensor" }, { 0x079b0026, "MSO350/MSO351 Fingerprint Sensor & SmartCard Reader" }, { 0x079b0027, "USB-Serial Controller" }, { 0x079b002f, "Mobile" }, { 0x079b0030, "Mobile Communication Device" }, { 0x079b0042, "Mobile" }, { 0x079b0047, "CBM/MSO1300 Fingerprint Sensor" }, { 0x079b004a, "XG-760A 802.11bg" }, { 0x079b004b, "Wi-Fi 11g adapter" }, { 0x079b0052, "MSO1350 Fingerprint Sensor & SmartCard Reader" }, { 0x079b0056, "Agfa AP1100 Photo Printer" }, { 0x079b005d, "Mobile Mass Storage" }, { 0x079b005f, "Laser Pro LL [MFPrinter]" }, { 0x079b0062, "XG-76NA 802.11bg" }, { 0x079b0078, "Laser Pro Monochrome MFP" }, { 0x079d0201, "GamePort Adapter" }, { 0x07a1d952, "Palladio USB V.92 Modem" }, { 0x07a607c2, "AN986A Ethernet" }, { 0x07a60986, "AN986 Pegasus Ethernet" }, { 0x07a68266, "Infineon WildCard-USB Wireless LAN Adapter" }, { 0x07a68511, "ADM8511 Pegasus II Ethernet" }, { 0x07a68513, "ADM8513 Pegasus II Ethernet" }, { 0x07a68515, "ADM8515 Pegasus II Ethernet" }, { 0x07aa0001, "Ether USB-T Ethernet [klsi]" }, { 0x07aa0004, "FEther USB-TX Ethernet [pegasus]" }, { 0x07aa000c, "WirelessLAN USB-11" }, { 0x07aa000d, "FEther USB-TXS" }, { 0x07aa0011, "Wireless LAN USB-11 mini" }, { 0x07aa0012, "Stick-11 802.11b Adapter" }, { 0x07aa0017, "FEther USB2-TX" }, { 0x07aa0018, "Wireless LAN USB-11 mini 2" }, { 0x07aa001a, "ULUSB-11 Key" }, { 0x07aa001c, "CG-WLUSB2GT 802.11g Wireless Adapter [Intersil ISL3880]" }, { 0x07aa0020, "CG-WLUSB2GTST 802.11g Wireless Adapter [Intersil ISL3887]" }, { 0x07aa002e, "CG-WLUSB2GPX [Ralink RT2571W]" }, { 0x07aa002f, "CG-WLUSB2GNL" }, { 0x07aa0031, "CG-WLUSB2GS 802.11bg [Atheros AR5523]" }, { 0x07aa003c, "CG-WLUSB2GNL" }, { 0x07aa003f, "CG-WLUSB300AGN" }, { 0x07aa0041, "CG-WLUSB300GNS" }, { 0x07aa0042, "CG-WLUSB300GNM" }, { 0x07aa0043, "CG-WLUSB300N rev A2 [Realtek RTL8192U]" }, { 0x07aa0047, "CG-WLUSBNM" }, { 0x07aa0051, "CG-WLUSB300NM" }, { 0x07aa7613, "Stick-11 V2 802.11b Adapter" }, { 0x07aa9601, "FEther USB-TXC" }, { 0x07abfc01, "IDE bridge" }, { 0x07abfc02, "Cable II USB-2" }, { 0x07abfc03, "USB2-IDE IDE bridge" }, { 0x07abfc77, "Quattro 3.0" }, { 0x07abfcd6, "Freecom HD Classic" }, { 0x07abfcf6, "DataBar" }, { 0x07abfcf8, "Freecom Classic SL Network Drive" }, { 0x07abfcfe, "Hard Drive 80GB" }, { 0x07af0004, "SCSI-DB25 SCSI Bridge [shuttle]" }, { 0x07af0005, "SCSI-HD50 SCSI Bridge [shuttle]" }, { 0x07af0006, "CameraMate SmartMedia and CompactFlash Card Reader [eusb/shuttle]" }, { 0x07affc01, "Freecom USB-IDE" }, { 0x07b00001, "ISDN TA" }, { 0x07b00002, "ISDN TA128 Plus" }, { 0x07b00003, "ISDN TA128 Deluxe" }, { 0x07b00005, "ISDN TA128 SE" }, { 0x07b00006, "ISDN TA 128 [HFC-S]" }, { 0x07b00007, "ISDN TA [HFC-S]" }, { 0x07b00008, "ISDN TA" }, { 0x07b20100, "SURFboard Voice over IP Cable Modem" }, { 0x07b20900, "SURFboard Gateway" }, { 0x07b20950, "SURFboard SBG950 Gateway" }, { 0x07b21000, "SURFboard SBG1000 Gateway" }, { 0x07b24100, "SurfBoard SB4100 Cable Modem" }, { 0x07b24200, "SurfBoard SB4200 Cable Modem" }, { 0x07b24210, "SurfBoard 4210 Cable Modem" }, { 0x07b24220, "SURFboard SB4220 Cable Modem" }, { 0x07b24500, "CG4500 Communications Gateway" }, { 0x07b2450b, "CG4501 Communications Gateway" }, { 0x07b2450e, "CG4500E Communications Gateway" }, { 0x07b25100, "SurfBoard SB5100 Cable Modem" }, { 0x07b25101, "SurfBoard SB5101 Cable Modem" }, { 0x07b25120, "SurfBoard SB5120 Cable Modem (RNDIS)" }, { 0x07b25121, "Surfboard 5121 Cable Modem" }, { 0x07b26002, "MTR7000 Cable Tuning Adapter" }, { 0x07b27030, "WU830G 802.11bg Wireless Adapter [Envara WiND512]" }, { 0x07b30001, "OpticPro 1212U Scanner" }, { 0x07b30003, "Scanner" }, { 0x07b30010, "OpticPro U12 Scanner" }, { 0x07b30011, "OpticPro U24 Scanner" }, { 0x07b30013, "OpticPro UT12 Scanner" }, { 0x07b30014, "Scanner" }, { 0x07b30015, "OpticPro U24 Scanner" }, { 0x07b30017, "OpticPro UT12/16/24 Scanner" }, { 0x07b30204, "Scanner" }, { 0x07b30400, "OpticPro 1248U Scanner" }, { 0x07b30401, "OpticPro 1248U Scanner #2" }, { 0x07b30403, "OpticPro U16B Scanner" }, { 0x07b30404, "Scanner" }, { 0x07b30405, "A8 Namecard-s Controller" }, { 0x07b30406, "A8 Namecard-D Controller" }, { 0x07b30410, "Scanner" }, { 0x07b30412, "Scanner" }, { 0x07b30413, "OpticSlim 1200 Scanner" }, { 0x07b30601, "OpticPro ST24 Scanner" }, { 0x07b30800, "OpticPro ST48 Scanner" }, { 0x07b30807, "OpticFilm 7200 scanner" }, { 0x07b30900, "OpticBook 3600 Scanner" }, { 0x07b3090c, "OpticBook 3600 Plus Scanner" }, { 0x07b30a06, "TVcam VD100" }, { 0x07b30b00, "SmartPhoto F50" }, { 0x07b30c00, "OpticPro ST64 Scanner" }, { 0x07b30c03, "OpticPro ST64+ Scanner" }, { 0x07b30c04, "Optic Film 7200i scanner" }, { 0x07b30c07, "OpticFilm 7200 scanner" }, { 0x07b30c0c, "PL806 Scanner" }, { 0x07b30c26, "OpticBook 4600 Scanner" }, { 0x07b30c2b, "Mobile Office D428 Scanner" }, { 0x07b30e08, "OpticBook A300 Scanner" }, { 0x07b31300, "OpticBook 3800 Scanner" }, { 0x07b31301, "OpticBook 4800 Scanner" }, { 0x07b3130f, "Bookreader v200" }, { 0x07b40100, "Camedia C-2100/C-3000 Ultra Zoom Camera" }, { 0x07b40102, "Camedia E-10/C-220/C-50 Camera" }, { 0x07b40105, "Camedia C-310Z/C-700/C-750UZ/C-755/C-765UZ/C-3040/C-4000/C-5050Z/D-560/C-3020Z Zoom Camera" }, { 0x07b40109, "C-370Z/C-500Z/D-535Z/X-450" }, { 0x07b4010a, "MAUSB-10 xD and SmartMedia Card Reader" }, { 0x07b40110, "Olympus E series" }, { 0x07b40112, "MAUSB-100 xD Card Reader" }, { 0x07b40113, "Olympus mju 500" }, { 0x07b40114, "Olympus IR-300" }, { 0x07b40116, "Olympus VR360" }, { 0x07b40118, "Olympus E-410" }, { 0x07b40125, "Olympus TG-620" }, { 0x07b40126, "VR340/D750 Digital Camera" }, { 0x07b4012f, "Olympus E-M5" }, { 0x07b40130, "Olympus E-M1" }, { 0x07b40135, "Olympus E-M1 MII" }, { 0x07b40136, "Olympus OM-1" }, { 0x07b40184, "P-S100 port" }, { 0x07b40202, "Foot Switch RS-26" }, { 0x07b40203, "Digital Voice Recorder DW-90" }, { 0x07b40206, "Digital Voice Recorder DS-330" }, { 0x07b40207, "Digital Voice Recorder & Camera W-10" }, { 0x07b40209, "Digital Voice Recorder DM-20" }, { 0x07b4020b, "Digital Voice Recorder DS-4000" }, { 0x07b4020d, "Digital Voice Recorder VN-240PC" }, { 0x07b40211, "Digital Voice Recorder DS-2300" }, { 0x07b40218, "Foot Switch RS-28" }, { 0x07b40244, "Digital Voice Recorder VN-8500PC" }, { 0x07b4024f, "Digital Voice Recorder DS-7000" }, { 0x07b40280, "m:robe 100" }, { 0x07b40295, "Digital Voice Recorder VN-541PC" }, { 0x07b50017, "Joystick" }, { 0x07b50213, "Thrustmaster Firestorm Digital 3 Gamepad" }, { 0x07b50312, "Gamepad" }, { 0x07b59902, "GamePad" }, { 0x07b8110c, "XX1" }, { 0x07b81201, "IEEE 802.11b Adapter" }, { 0x07b8200c, "XX2" }, { 0x07b82573, "Wireless LAN Card" }, { 0x07b82770, "802.11n/b/g Mini Wireless LAN USB2.0 Adapter" }, { 0x07b82870, "802.11n/b/g Wireless LAN USB2.0 Adapter" }, { 0x07b83070, "802.11n/b/g Mini Wireless LAN USB2.0 Adapter" }, { 0x07b83071, "802.11n/b/g Mini Wireless LAN USB2.0 Adapter" }, { 0x07b83072, "802.11n/b/g Mini Wireless LAN USB2.0 Adapter" }, { 0x07b84000, "DU-E10 Ethernet [klsi]" }, { 0x07b84002, "DU-E100 Ethernet [pegasus]" }, { 0x07b84003, "1/10/100 Ethernet Adapter" }, { 0x07b84004, "XX4" }, { 0x07b84007, "XX5" }, { 0x07b8400b, "XX6" }, { 0x07b8400c, "XX7" }, { 0x07b8401a, "RTL8151" }, { 0x07b84102, "USB 1.1 10/100M Fast Ethernet Adapter" }, { 0x07b84104, "XX9" }, { 0x07b8420a, "UF200 Ethernet" }, { 0x07b85301, "GW-US54ZGL 802.11bg" }, { 0x07b86001, "WUG2690 802.11bg Wireless Module [ZyDAS ZD1211+AL2230]" }, { 0x07b88188, "AboCom Systems Inc [WN2001 Prolink Wireless-N Nano Adapter]" }, { 0x07b8a001, "WUG2200 802.11g Wireless Adapter [Envara WiND512]" }, { 0x07b8abc1, "DU-E10 Ethernet [pegasus]" }, { 0x07b8b000, "BWU613" }, { 0x07b8b02a, "AboCom Bluetooth Device" }, { 0x07b8b02b, "Bluetooth dongle" }, { 0x07b8b02c, "BCM92045DG-Flash with trace filter" }, { 0x07b8b02d, "BCM92045DG-Flash with trace filter" }, { 0x07b8b02e, "BCM92045DG-Flash with trace filter" }, { 0x07b8b030, "BCM92045DG-Flash with trace filter" }, { 0x07b8b031, "BCM92045DG-Flash with trace filter" }, { 0x07b8b032, "BCM92045DG-Flash with trace filter" }, { 0x07b8b033, "BCM92045DG-Flash with trace filter" }, { 0x07b8b21a, "WUG2400 802.11g Wireless Adapter [Texas Instruments TNETW1450]" }, { 0x07b8b21b, "HWU54DM" }, { 0x07b8b21c, "RT2573" }, { 0x07b8b21d, "RT2573" }, { 0x07b8b21e, "RT2573" }, { 0x07b8b21f, "WUG2700" }, { 0x07b8d011, "MP3 Player" }, { 0x07b8e001, "Mass Storage Device" }, { 0x07b8e002, "Mass Storage Device" }, { 0x07b8e003, "Mass Storage Device" }, { 0x07b8e004, "Mass Storage Device" }, { 0x07b8e005, "Mass Storage Device" }, { 0x07b8e006, "Mass Storage Device" }, { 0x07b8e007, "Mass Storage Device" }, { 0x07b8e008, "Mass Storage Device" }, { 0x07b8e009, "Mass Storage Device" }, { 0x07b8e00a, "Mass Storage Device" }, { 0x07b8e4f0, "Card Reader Driver" }, { 0x07b8f101, "DSB-560 Modem [atlas]" }, { 0x07be1935, "Elektron Music Machines" }, { 0x07c01113, "JoyWarrior24F8" }, { 0x07c01116, "JoyWarrior24F14" }, { 0x07c01121, "The Claw" }, { 0x07c01500, "IO-Warrior 40" }, { 0x07c01501, "IO-Warrior 24" }, { 0x07c01502, "IO-Warrior 48" }, { 0x07c01503, "IO-Warrior 28" }, { 0x07c01511, "IO-Warrior 24 Power Vampire" }, { 0x07c01512, "IO-Warrior 24 Power Vampire" }, { 0x07c10068, "HKS-0200 USBDAQ" }, { 0x07c40102, "USB to LS120" }, { 0x07c40103, "USB to IDE" }, { 0x07c41234, "USB to ATAPI" }, { 0x07c4a000, "CompactFlash Card Reader" }, { 0x07c4a001, "CompactFlash & SmartMedia Card Reader [eusb]" }, { 0x07c4a002, "Disk Drive" }, { 0x07c4a003, "Datafab-based Reader" }, { 0x07c4a004, "USB to MMC Class Drive" }, { 0x07c4a005, "CompactFlash & SmartMedia Card Reader" }, { 0x07c4a006, "SmartMedia Card Reader" }, { 0x07c4a007, "Memory Stick Class Drive" }, { 0x07c4a103, "MDSM-B reader" }, { 0x07c4a107, "USB to Memory Stick (LC1) Drive" }, { 0x07c4a109, "LC1 CompactFlash & SmartMedia Card Reader" }, { 0x07c4a10b, "USB to CF+MS(LC1)" }, { 0x07c4a200, "DF-UT-06 Hama MMC/SD Reader" }, { 0x07c4a400, "CompactFlash & Microdrive Reader" }, { 0x07c4a600, "Card Reader" }, { 0x07c4a604, "12-in-1 Card Reader" }, { 0x07c4ad01, "Mass Storage Device" }, { 0x07c4ae01, "Mass Storage Device" }, { 0x07c4af01, "Mass Storage Device" }, { 0x07c4b000, "USB to CF(LC1)" }, { 0x07c4b001, "USB to CF+PCMCIA" }, { 0x07c4b004, "MMC/SD Reader" }, { 0x07c4b006, "USB to PCMCIA" }, { 0x07c4b00a, "USB to CF+SD Drive(LC1)" }, { 0x07c4b00b, "USB to Memory Stick(LC1)" }, { 0x07c4c010, "Kingston FCR-HS2/ATA Card Reader" }, { 0x07c50500, "Cash Drawer" }, { 0x07c60002, "Bodega Wireless Access Point" }, { 0x07c60003, "Bodega Wireless Network Adapter" }, { 0x07c80202, "MN128-SOHO PAL" }, { 0x07c9b100, "AT-USB100" }, { 0x07ca0002, "AVerTV PVR USB/EZMaker Pro Device" }, { 0x07ca0026, "AVerTV" }, { 0x07ca0337, "A867 DVB-T dongle" }, { 0x07ca0837, "H837 Hybrid ATSC/QAM" }, { 0x07ca1228, "MPEG-2 Capture Device (M038)" }, { 0x07ca1830, "AVerTV Volar Video Capture (H830)" }, { 0x07ca1871, "TD310 DVB-T/T2/C dongle" }, { 0x07ca3835, "AVerTV Volar Green HD (A835B)" }, { 0x07ca850a, "AverTV Volar Black HD (A850)" }, { 0x07ca850b, "AverTV Red HD+ (A850T)" }, { 0x07caa309, "AVerTV DVB-T (A309)" }, { 0x07caa801, "AVerTV DVB-T (A800)" }, { 0x07caa815, "AVerTV DVB-T Volar X (A815)" }, { 0x07caa827, "AVerTV Hybrid Volar HX (A827)" }, { 0x07caa867, "AVerTV DVB-T (A867)" }, { 0x07cab300, "A300 DVB-T TV receiver" }, { 0x07cab800, "MR800 FM Radio" }, { 0x07cae880, "MPEG-2 Capture Device (E880)" }, { 0x07cae882, "MPEG-2 Capture Device (E882)" }, { 0x07cc0000, "CF Card Reader" }, { 0x07cc0001, "Reader (UICSE)" }, { 0x07cc0002, "Reader (UIS)" }, { 0x07cc0003, "SM Card Reader" }, { 0x07cc0004, "SM/CF/PCMCIA Card Reader" }, { 0x07cc0005, "Reader (UISA2SE)" }, { 0x07cc0006, "SM/CF/PCMCIA Card Reader" }, { 0x07cc0007, "Reader (UISA6SE)" }, { 0x07cc000c, "SM/CF Card Reader" }, { 0x07cc000d, "SM/CF Card Reader" }, { 0x07cc000e, "Reader (UISDA)" }, { 0x07cc000f, "Reader (UICLIK)" }, { 0x07cc0010, "Reader (UISMA)" }, { 0x07cc0012, "Reader (UISC6SE-FLASH)" }, { 0x07cc0014, "Litronic Fortezza Reader" }, { 0x07cc0030, "Mass Storage (UISDMC12S)" }, { 0x07cc0040, "Mass Storage (UISDMC13S)" }, { 0x07cc0100, "Reader (UID)" }, { 0x07cc0101, "Reader (UIM)" }, { 0x07cc0102, "Reader (UISDMA)" }, { 0x07cc0103, "Reader (UISDMC)" }, { 0x07cc0104, "Reader (UISDM)" }, { 0x07cc0200, "6-in-1 Card Reader" }, { 0x07cc0201, "Mass Storage (UISDMC1S & UISDMC3S)" }, { 0x07cc0202, "Mass Storage (UISDMC5S)" }, { 0x07cc0203, "Mass Storage (UISMC5S)" }, { 0x07cc0204, "Mass Storage (UIM4/5S & UIM7S)" }, { 0x07cc0205, "Mass Storage (UIS4/5S & UIS7S)" }, { 0x07cc0206, "Mass Storage (UISDMC10S & UISDMC11S)" }, { 0x07cc0207, "Mass Storage (UPIDMA)" }, { 0x07cc0208, "Mass Storage (UCFC II)" }, { 0x07cc0210, "Mass Storage (UPIXXA)" }, { 0x07cc0213, "Mass Storage (UPIDA)" }, { 0x07cc0214, "Mass Storage (UPIMA)" }, { 0x07cc0215, "Mass Storage (UPISA)" }, { 0x07cc0217, "Mass Storage (UPISDMA)" }, { 0x07cc0223, "Mass Storage (UCIDA)" }, { 0x07cc0224, "Mass Storage (UCIMA)" }, { 0x07cc0225, "Mass Storage (UIS7S)" }, { 0x07cc0227, "Mass Storage (UCIDMA)" }, { 0x07cc0234, "Mass Storage (UIM7S)" }, { 0x07cc0235, "Mass Storage (UIS4S-S)" }, { 0x07cc0237, "Velper (UISDMC4S)" }, { 0x07cc0300, "6-in-1 Card Reader" }, { 0x07cc0301, "6-in-1 Card Reader" }, { 0x07cc0303, "Mass Storage (UID10W)" }, { 0x07cc0304, "Mass Storage (UIM10W)" }, { 0x07cc0305, "Mass Storage (UIS10W)" }, { 0x07cc0308, "Mass Storage (UIC10W)" }, { 0x07cc0309, "Mass Storage (UISC3W)" }, { 0x07cc0310, "Mass Storage (UISDMA2W)" }, { 0x07cc0311, "Mass Storage (UISDMC14W)" }, { 0x07cc0320, "Mass Storage (UISDMC4W)" }, { 0x07cc0321, "Mass Storage (UISDMC37W)" }, { 0x07cc0330, "WINTERREADER Reader" }, { 0x07cc0350, "9-in-1 Card Reader" }, { 0x07cc0500, "Mass Storage" }, { 0x07cc0501, "Mass Storage" }, { 0x07cd0001, "USBuart Serial Port" }, { 0x07cec007, "DPB-4000" }, { 0x07cec009, "DPB-6000" }, { 0x07cec010, "CPB-7000" }, { 0x07cf1001, "QV-8000SX/5700/3000EX Digicam; Exilim EX-M20" }, { 0x07cf1003, "Exilim EX-S500" }, { 0x07cf1004, "Exilim EX-Z120" }, { 0x07cf1011, "USB-CASIO PC CAMERA" }, { 0x07cf1042, "Casio EX-Z120" }, { 0x07cf1049, "Casio EX-S770" }, { 0x07cf104c, "Casio EX-Z700" }, { 0x07cf104d, "Casio EX-Z65" }, { 0x07cf1116, "EXILIM EX-Z19" }, { 0x07cf1125, "Exilim EX-H10 Digital Camera (mass storage mode)" }, { 0x07cf1133, "Exilim EX-Z350 Digital Camera (mass storage mode)" }, { 0x07cf117a, "Casio EX-ZR700" }, { 0x07cf1225, "Exilim EX-H10 Digital Camera (PictBridge mode)" }, { 0x07cf1233, "Exilim EX-Z350 Digital Camera (PictBridge mode)" }, { 0x07cf2002, "E-125 Cassiopeia Pocket PC" }, { 0x07cf3801, "WMP-1 MP3-Watch" }, { 0x07cf4001, "Label Printer KL-P1000" }, { 0x07cf4007, "CW50 Device" }, { 0x07cf4104, "Cw75 Device" }, { 0x07cf4107, "CW-L300 Device" }, { 0x07cf4500, "LV-20 Digital Camera" }, { 0x07cf6101, "fx-9750gII" }, { 0x07cf6102, "fx-CP400" }, { 0x07cf6801, "PL-40R" }, { 0x07cf6802, "MIDI Keyboard" }, { 0x07cf6803, "CTK-3500 (MIDI keyboard)" }, { 0x07d00001, "Digital Video Creator I" }, { 0x07d00002, "Global Village VideoFX Grabber" }, { 0x07d00003, "Fusion Model DVC-50 Rev 1 (NTSC)" }, { 0x07d00004, "DVC-800 (PAL) Grabber" }, { 0x07d00005, "Fusion Video and Audio Ports" }, { 0x07d00006, "DVC 150 Loader Device" }, { 0x07d00007, "DVC 150" }, { 0x07d00327, "Fusion Digital Media Reader" }, { 0x07d01001, "DM-FLEX DFU Adapter" }, { 0x07d01002, "DMHS2 DFU Adapter" }, { 0x07d01102, "CF Reader/Writer" }, { 0x07d01103, "SD Reader/Writer" }, { 0x07d01104, "SM Reader/Writer" }, { 0x07d01105, "MS Reader/Writer" }, { 0x07d01106, "xD/SM Reader/Writer" }, { 0x07d01202, "MultiSlot Reader/Writer" }, { 0x07d02000, "FX2 DFU Adapter" }, { 0x07d02001, "eUSB CompactFlash Reader" }, { 0x07d04100, "Kingsun SF-620 Infrared Adapter" }, { 0x07d04101, "Connectivity Cable (CA-42 clone)" }, { 0x07d04959, "Kingsun KS-959 Infrared Adapter" }, { 0x07d113ec, "VvBus for Helium 2xx" }, { 0x07d113ed, "VvBus for Helium 2xx" }, { 0x07d113f1, "DSL-302G Modem" }, { 0x07d113f2, "DSL-502G Router" }, { 0x07d13300, "DWA-130 802.11n Wireless N Adapter(rev.E) [Realtek RTL8191SU]" }, { 0x07d13302, "DWA-130 802.11n Wireless N Adapter(rev.C2) [Realtek RTL8191SU]" }, { 0x07d13303, "DWA-131 802.11n Wireless N Nano Adapter(rev.A1) [Realtek RTL8192SU]" }, { 0x07d13304, "FR-300USB 802.11bgn Wireless Adapter" }, { 0x07d13a07, "WUA-2340 RangeBooster G Adapter(rev.A) [Atheros AR5523]" }, { 0x07d13a08, "WUA-2340 RangeBooster G Adapter(rev.A) (no firmware) [Atheros AR5523]" }, { 0x07d13a09, "DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.A2) [Atheros AR9170+AR9104]" }, { 0x07d13a0d, "DWA-120 802.11g Wireless 108G Adapter [Atheros AR5523]" }, { 0x07d13a0f, "DWA-130 802.11n Wireless N Adapter(rev.D) [Atheros AR9170+AR9102]" }, { 0x07d13a10, "DWA-126 802.11n Wireless Adapter [Atheros AR9271]" }, { 0x07d13b01, "AirPlus G DWL-G122 Wireless Adapter(rev.D) [Marvell 88W8338+88W8010]" }, { 0x07d13b10, "DWA-142 RangeBooster N Adapter [Marvell 88W8362+88W8060]" }, { 0x07d13b11, "DWA-130 802.11n Wireless N Adapter(rev.A1) [Marvell 88W8362+88W8060]" }, { 0x07d13c03, "AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W]" }, { 0x07d13c04, "WUA-1340" }, { 0x07d13c05, "EH103 Wireless G Adapter" }, { 0x07d13c06, "DWA-111 802.11bg Wireless Adapter [Ralink RT2571W]" }, { 0x07d13c07, "DWA-110 Wireless G Adapter(rev.A1) [Ralink RT2571W]" }, { 0x07d13c09, "DWA-140 RangeBooster N Adapter(rev.B1) [Ralink RT2870]" }, { 0x07d13c0a, "DWA-140 RangeBooster N Adapter(rev.B2) [Ralink RT3072]" }, { 0x07d13c0b, "DWA-110 Wireless G Adapter(rev.B) [Ralink RT2870]" }, { 0x07d13c0d, "DWA-125 Wireless N 150 Adapter(rev.A1) [Ralink RT3070]" }, { 0x07d13c0e, "WUA-2340 RangeBooster G Adapter(rev.B) [Ralink RT2070]" }, { 0x07d13c0f, "AirPlus G DWL-G122 Wireless Adapter(rev.E1) [Ralink RT2070]" }, { 0x07d13c10, "DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.A1) [Atheros AR9170+AR9104]" }, { 0x07d13c11, "DWA-160 Xtreme N Dual Band USB Adapter(rev.B) [Ralink RT2870]" }, { 0x07d13c13, "DWA-130 802.11n Wireless N Adapter(rev.B) [Ralink RT2870]" }, { 0x07d13c15, "DWA-140 RangeBooster N Adapter(rev.B3) [Ralink RT2870]" }, { 0x07d13c16, "DWA-125 Wireless N 150 Adapter(rev.A2) [Ralink RT3070]" }, { 0x07d13e02, "DWM-156 3.75G HSUPA Adapter" }, { 0x07d15100, "Remote NDIS Device" }, { 0x07d1a800, "DWM-152 3.75G HSUPA Adapter" }, { 0x07d1f101, "DBT-122 Bluetooth" }, { 0x07d1fc01, "DBT-120 Bluetooth Adapter" }, { 0x07de2820, "VC500 Video Capture Dongle" }, { 0x07e04742, "VPN GovNet Box" }, { 0x07e15201, "V.90 Modem" }, { 0x07e40967, "SCard R/W CSR-145" }, { 0x07e40968, "SCard R/W CSR-145" }, { 0x07e505c2, "IDE-to-USB2.0 PCA" }, { 0x07e55c01, "Que! CDRW" }, { 0x07ee0002, "Cash Drawer I/F" }, { 0x07ef0001, "Internet Access Device" }, { 0x07f20001, "KEYLOK II" }, { 0x07f70005, "ScanLogic/Century Corporation uATA" }, { 0x07f7011e, "Century USB Disk Enclosure" }, { 0x07fa0778, "miniVigor 128 ISDN TA" }, { 0x07fa0846, "ISDN TA [HFC-S]" }, { 0x07fa0847, "ISDN TA [HFC-S]" }, { 0x07fa1012, "BeWAN ADSL USB ST (grey)" }, { 0x07fa1196, "BWIFI-USB54AR 802.11bg" }, { 0x07faa904, "BeWAN ADSL" }, { 0x07faa905, "BeWAN ADSL ST" }, { 0x07fc1113, "SWISSONIC EasyKeys61 Midikeyboard" }, { 0x07fd0000, "FastLane MIDI Interface" }, { 0x07fd0001, "MIDI Interface" }, { 0x07fd0002, "MOTU Audio for 64 bit" }, { 0x07fd0004, "MicroBook" }, { 0x07fd0008, "M Series" }, { 0x07ff00ff, "Portable Hard Drive" }, { 0x07ffffff, "Mad Catz Gamepad" }, { 0x08010001, "Mini Swipe Reader (Keyboard Emulation)" }, { 0x08010002, "Mini Swipe Reader" }, { 0x08010003, "Magstripe Insert Reader" }, { 0x08031300, "V92 Faxmodem" }, { 0x08033095, "V.92 56K Mini External Modem Model 3095" }, { 0x08034310, "4410a Wireless-G Adapter [Intersil ISL3887]" }, { 0x08034410, "4410b Wireless-G Adapter [ZyDAS ZD1211B]" }, { 0x08035241, "Cable Modem" }, { 0x08035551, "DSL Modem" }, { 0x08039700, "2986L FaxModem" }, { 0x08039800, "Cable Modem" }, { 0x0803a312, "Wireless-G" }, { 0x080b0002, "Fingerprint Scanner (After ReNumeration)" }, { 0x080b0010, "300LC Series Fingerprint Scanner (Before ReNumeration)" }, { 0x080c0300, "Gryphon D120 Barcode Scanner" }, { 0x080c0400, "Gryphon D120 Barcode Scanner" }, { 0x080c0500, "Gryphon D120 Barcode Scanner" }, { 0x080c0600, "Gryphon M100 Barcode Scanner" }, { 0x080d0102, "Hercules Scan@home 48" }, { 0x080d0104, "3.2Slim" }, { 0x080d0110, "UMAX AstraSlim 1200 Scanner" }, { 0x08100001, "Dual PSX Adaptor" }, { 0x08100002, "Dual PCS Adaptor" }, { 0x08100003, "PlayStation Gamepad" }, { 0x0810e001, "Twin controller" }, { 0x0810e501, "SNES Gamepad" }, { 0x08130001, "Intel Play QX3 Microscope" }, { 0x08130002, "Dual Mode Camera Plus" }, { 0x08190101, "License Management and Copy Protection" }, { 0x081a1000, "Duo Pen Tablet" }, { 0x081b0600, "Storage Adapter" }, { 0x081b0601, "Storage Adapter" }, { 0x081edf00, "Handheld" }, { 0x081fe401, "MM812" }, { 0x08222001, "IRXpress Infrared Device" }, { 0x082d0100, "Visor" }, { 0x082d0200, "Treo" }, { 0x082d0300, "Treo 600" }, { 0x082d0400, "Handheld" }, { 0x082d0500, "Handheld" }, { 0x082d0600, "Handheld" }, { 0x08300001, "m500" }, { 0x08300002, "m505" }, { 0x08300003, "m515" }, { 0x08300004, "Handheld" }, { 0x08300005, "Handheld" }, { 0x08300006, "Handheld" }, { 0x08300010, "Handheld" }, { 0x08300011, "Handheld" }, { 0x08300012, "Handheld" }, { 0x08300013, "Handheld" }, { 0x08300014, "Handheld" }, { 0x08300020, "i705" }, { 0x08300021, "Handheld" }, { 0x08300022, "Handheld" }, { 0x08300023, "Handheld" }, { 0x08300024, "Handheld" }, { 0x08300030, "Handheld" }, { 0x08300031, "Tungsten W" }, { 0x08300032, "Handheld" }, { 0x08300033, "Handheld" }, { 0x08300034, "Handheld" }, { 0x08300040, "m125" }, { 0x08300041, "Handheld" }, { 0x08300042, "Handheld" }, { 0x08300043, "Handheld" }, { 0x08300044, "Handheld" }, { 0x08300050, "m130" }, { 0x08300051, "Handheld" }, { 0x08300052, "Handheld" }, { 0x08300053, "Handheld" }, { 0x08300054, "Handheld" }, { 0x08300060, "Tungsten C/E/T/T2/T3 / Zire 71" }, { 0x08300061, "Lifedrive / Treo 650/680 / Tunsten E2/T5/TX / Centro / Zire 21/31/72 / Z22" }, { 0x08300062, "Handheld" }, { 0x08300063, "Handheld" }, { 0x08300064, "Handheld" }, { 0x08300070, "Zire" }, { 0x08300071, "Handheld" }, { 0x08300072, "Handheld" }, { 0x08300080, "Serial Adapter [for Palm III]" }, { 0x08300081, "Handheld" }, { 0x08300082, "Handheld" }, { 0x083000a0, "Treo 800w" }, { 0x08300101, "Pre" }, { 0x08325850, "Cable" }, { 0x0833012e, "KeikaiDenwa 8 with charger" }, { 0x0833039f, "KeikaiDenwa 8" }, { 0x08362836, "i.Beat mood" }, { 0x08390005, "Digimax Camera" }, { 0x08390008, "Digimax 230 Camera" }, { 0x08390009, "Digimax 340" }, { 0x0839000a, "Digimax 410" }, { 0x0839000e, "Digimax 360" }, { 0x08390010, "Digimax 300" }, { 0x08391003, "Digimax 210SE" }, { 0x08391005, "Digimax 220" }, { 0x08391009, "Digimax V4" }, { 0x08391012, "6500 Document Camera" }, { 0x0839103f, "Digimax S500" }, { 0x08391058, "S730 Camera" }, { 0x08391064, "Digimax D830 Camera" }, { 0x08391542, "Digimax 50 Duo" }, { 0x08393000, "Digimax 35 MP3" }, { 0x083a1046, "10/100 Ethernet [pegasus]" }, { 0x083a1060, "HomeLine Adapter" }, { 0x083a1f4d, "SMC8013WG Broadband Remote NDIS Device" }, { 0x083a3046, "10/100 Series Adapter" }, { 0x083a3060, "1/10/100 Adapter" }, { 0x083a3501, "2664W" }, { 0x083a3502, "WN3501D Wireless Adapter" }, { 0x083a3503, "T-Sinus 111 Wireless Adapter" }, { 0x083a4501, "T-Sinus 154data" }, { 0x083a4502, "Siemens S30853-S1016-R107 802.11g Wireless Adapter [Intersil ISL3886]" }, { 0x083a4505, "SMCWUSB-G 802.11bg" }, { 0x083a4507, "SMCWUSBT-G2 802.11g Wireless Adapter [Atheros AR5523]" }, { 0x083a4521, "Siemens S30863-S1016-R107-2 802.11g Wireless Adapter [Intersil ISL3887]" }, { 0x083a4531, "T-Com Sinus 154 data II [Intersil ISL3887]" }, { 0x083a5046, "SpeedStream 10/100 Ethernet [pegasus]" }, { 0x083a5501, "Wireless Adapter 11g" }, { 0x083a6500, "Cable Modem" }, { 0x083a6618, "802.11n Wireless Adapter" }, { 0x083a7511, "Arcadyan 802.11N Wireless Adapter" }, { 0x083a7512, "Arcadyan 802.11N Wireless Adapter" }, { 0x083a7522, "Arcadyan 802.11N Wireless Adapter" }, { 0x083a8522, "Arcadyan 802.11N Wireless Adapter" }, { 0x083a8541, "WN4501F 802.11g Wireless Adapter [Intersil ISL3887]" }, { 0x083aa512, "Arcadyan 802.11N Wireless Adapter" }, { 0x083aa618, "SMCWUSBS-N EZ Connect N Draft 11n Wireless Adapter [Ralink RT2870]" }, { 0x083aa701, "SMCWUSBS-N3 EZ Connect N Wireless Adapter [Ralink RT3070]" }, { 0x083ab004, "CPWUE001 USB/Ethernet Adapter" }, { 0x083ab522, "SMCWUSBS-N2 EZ Connect N Wireless Adapter [Ralink RT2870]" }, { 0x083abb01, "BlueExpert Bluetooth Device" }, { 0x083ac003, "802.11b Wireless Adapter" }, { 0x083ac501, "Zoom 4410 Wireless-G [Intersil ISL3887]" }, { 0x083ac561, "802.11a/g Wireless Adapter" }, { 0x083ad522, "Speedport W 102 Stick IEEE 802.11n USB 2.0 Adapter" }, { 0x083ae501, "ZD1211B" }, { 0x083ae503, "Arcadyan WN4501 802.11b/g" }, { 0x083ae506, "WUS-201 802.11bg" }, { 0x083af501, "802.11g Wireless Adapter" }, { 0x083af502, "802.11g Wireless Adapter" }, { 0x083af522, "Arcadyan WN7512 802.11n" }, { 0x083fb100, "TelePort V.90 Fax/Modem" }, { 0x08400060, "Storage Adapter Bridge Module" }, { 0x08410001, "Rio 500" }, { 0x08461001, "EA101 10 Mbps 10BASE-T Ethernet [Kawasaki LSI KL5KLUSB101B]" }, { 0x08461002, "Ethernet" }, { 0x08461020, "FA101 Fast Ethernet USB 1.1" }, { 0x08461040, "FA120 Fast Ethernet USB 2.0 [Asix AX88172 / AX8817x]" }, { 0x08461100, "Managed Switch M4100 series, M5300 series, M7100 series" }, { 0x08464110, "MA111(v1) 802.11b Wireless [Intersil Prism 3.0]" }, { 0x08464200, "WG121(v1) 54 Mbps Wireless [Intersil ISL3886]" }, { 0x08464210, "WG121(v2) 54 Mbps Wireless [Intersil ISL3886]" }, { 0x08464220, "WG111(v1) 54 Mbps Wireless [Intersil ISL3886]" }, { 0x08464230, "MA111(v2) 802.11b Wireless [SIS SIS 162]" }, { 0x08464240, "WG111(v1) rev 2 54 Mbps Wireless [Intersil ISL3887]" }, { 0x08464260, "WG111v3 54 Mbps Wireless [realtek RTL8187B]" }, { 0x08464300, "WG111U Double 108 Mbps Wireless [Atheros AR5004X / AR5005UX]" }, { 0x08464301, "WG111U (no firmware) Double 108 Mbps Wireless [Atheros AR5004X / AR5005UX]" }, { 0x08465f00, "WPN111 802.11g Wireless Adapter [Atheros AR5523]" }, { 0x084668e1, "LB1120-100NAS" }, { 0x08466a00, "WG111v2 54 Mbps Wireless [RealTek RTL8187L]" }, { 0x08467100, "WN121T RangeMax Next Wireless-N [Marvell TopDog]" }, { 0x08469000, "WN111(v1) RangeMax Next Wireless [Marvell 88W8362+88W8060]" }, { 0x08469001, "WN111(v2) RangeMax Next Wireless [Atheros AR9170+AR9101]" }, { 0x08469010, "WNDA3100v1 802.11abgn [Atheros AR9170+AR9104]" }, { 0x08469011, "WNDA3100v2 802.11abgn [Broadcom BCM4323]" }, { 0x08469012, "WNDA4100 802.11abgn 3x3:3 [Ralink RT3573]" }, { 0x08469014, "WNDA3100v3 802.11abgn 2x2:2 [MediaTek MT7632U]" }, { 0x08469018, "WNDA3200 802.11abgn Wireless Adapter [Atheros AR7010+AR9280]" }, { 0x08469020, "WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]" }, { 0x08469021, "WNA3100M(v1) Wireless-N 300 [Realtek RTL8192CU]" }, { 0x08469030, "WNA1100 Wireless-N 150 [Atheros AR9271]" }, { 0x08469040, "WNA1000 Wireless-N 150 [Atheros AR9170+AR9101]" }, { 0x08469041, "WNA1000M 802.11bgn [Realtek RTL8188CUS]" }, { 0x08469042, "On Networks N150MA 802.11bgn [Realtek RTL8188CUS]" }, { 0x08469043, "WNA1000Mv2 802.11bgn [Realtek RTL8188CUS?]" }, { 0x08469050, "A6200 802.11a/b/g/n/ac Wireless Adapter [Broadcom BCM43526]" }, { 0x08469051, "A6200v2 802.11a/b/g/n/ac (2x2) Wireless Adapter [Realtek RTL8812AU]" }, { 0x08469052, "A6100 AC600 DB Wireless Adapter [Realtek RTL8811AU]" }, { 0x08469054, "Nighthawk A7000 802.11ac Wireless Adapter AC1900 [Realtek 8814AU]" }, { 0x0846a001, "PA101 10 Mbps HPNA Home Phoneline RJ-1" }, { 0x0846f001, "On Networks N300MA 802.11bgn [Realtek RTL8192CU]" }, { 0x084d0001, "Jenoptik JD800i" }, { 0x084d0003, "S-Cam F5/D-Link DSC-350 Digital Camera" }, { 0x084d0011, "Argus DC3500 Digital Camera" }, { 0x084d0014, "Praktica DC 32" }, { 0x084d0019, "Praktica DPix3000" }, { 0x084d0025, "Praktica DC 60" }, { 0x084d1001, "ScanHex SX-35d" }, { 0x084e0001, "JamCam Camera" }, { 0x084e1001, "Jam Studio Tablet" }, { 0x084e1002, "Pablo Tablet" }, { 0x084f0001, "Empeg-Car Mark I/II Player" }, { 0x08511542, "SiPix Blink" }, { 0x08511543, "Maxell WS30 Slim Digital Camera, or Pandigital PI8004W01 digital photo frame" }, { 0x0851a168, "MXIC" }, { 0x08530100, "HHKB Professional" }, { 0x08530119, "RealForce 105UB" }, { 0x08530200, "RealForce Compact Keyboard" }, { 0x08540100, "I/O Board" }, { 0x08540101, "I/O Board, rev1" }, { 0x0856ac01, "uLinks USOTL4 RS422/485 Adapter" }, { 0x08583102, "Bluetooth Device" }, { 0x0858ffff, "Maxell module with BlueCore in DFU mode" }, { 0x085a0001, "Portstation Dual Serial Port" }, { 0x085a0003, "Portstation Paraller Port" }, { 0x085a0008, "Ethernet" }, { 0x085a0009, "Ethernet" }, { 0x085a000b, "Portstation Dual PS/2 Port" }, { 0x085a0021, "1 port to Serial Converter" }, { 0x085a0022, "Parallel Port" }, { 0x085a0023, "2 port to Serial Converter" }, { 0x085a0024, "Parallel Port" }, { 0x085a0026, "PortGear SCSI" }, { 0x085a0027, "1 port to Serial Converter" }, { 0x085a0028, "PortGear to SCSI Converter" }, { 0x085a0032, "PortStation SCSI Module" }, { 0x085a003c, "Bluetooth Adapter" }, { 0x085a0299, "Colorvision, Inc. Monitor Spyder" }, { 0x085a8021, "1 port to Serial" }, { 0x085a8023, "2 port to Serial" }, { 0x085a8027, "PGSDB9 Serial Port" }, { 0x085c0100, "Spyder 1" }, { 0x085c0200, "Spyder 2" }, { 0x085c0300, "Spyder 3" }, { 0x085c0400, "Spyder 4" }, { 0x08644100, "MA101 802.11b Adapter" }, { 0x08644102, "MA101 802.11b Adapter" }, { 0x08679812, "ECON Data acquisition unit" }, { 0x08679816, "DT9816 ECON data acquisition module" }, { 0x08679836, "DT9836 data acquisition card" }, { 0x086a0001, "Unitor8" }, { 0x086a0002, "AMT8" }, { 0x086a0003, "MT4" }, { 0x086c1001, "Eumex 504PC ISDN TA" }, { 0x086c1002, "Eumex 504PC (FlashLoad)" }, { 0x086c1003, "TA33 ISDN TA" }, { 0x086c1004, "TA33 (FlashLoad)" }, { 0x086c1005, "Eumex 604PC HomeNet" }, { 0x086c1006, "Eumex 604PC HomeNet (FlashLoad)" }, { 0x086c1007, "Eumex 704PC DSL" }, { 0x086c1008, "Eumex 704PC DSL (FlashLoad)" }, { 0x086c1009, "Eumex 724PC DSL" }, { 0x086c100a, "Eumex 724PC DSL (FlashLoad)" }, { 0x086c100b, "OpenCom 30" }, { 0x086c100c, "OpenCom 30 (FlashLoad)" }, { 0x086c100d, "BeeTel Home 100" }, { 0x086c100e, "BeeTel Home 100 (FlashLoad)" }, { 0x086c1011, "USB2DECT" }, { 0x086c1012, "USB2DECT (FlashLoad)" }, { 0x086c1013, "Eumex 704PC LAN" }, { 0x086c1014, "Eumex 704PC LAN (FlashLoad)" }, { 0x086c1019, "Eumex 504 SE" }, { 0x086c101a, "Eumex 504 SE (Flash-Mode)" }, { 0x086c1021, "OpenCom 40" }, { 0x086c1022, "OpenCom 40 (FlashLoad)" }, { 0x086c1023, "OpenCom 45" }, { 0x086c1024, "OpenCom 45 (FlashLoad)" }, { 0x086c1025, "Sinus 61 data" }, { 0x086c1029, "dect BOX" }, { 0x086c102c, "Eumex 604PC HomeNet [FlashLoad]" }, { 0x086c1030, "Eumex 704PC DSL [FlashLoad]" }, { 0x086c1032, "OpenCom 40 [FlashLoad]" }, { 0x086c1033, "OpenCom 30 plus" }, { 0x086c1034, "OpenCom 30 plus (FlashLoad)" }, { 0x086c1041, "Eumex 220PC" }, { 0x086c1042, "Eumex 220PC (FlashMode)" }, { 0x086c1055, "Eumex 220 Version 2 ISDN TA" }, { 0x086c1056, "Eumex 220 Version 2 ISDN TA (Flash-Mode)" }, { 0x086c2000, "OpenCom 1000" }, { 0x086e1920, "SGC-X2UL" }, { 0x08700001, "Ricochet GS" }, { 0x08710001, "SDDR-01 Compact Flash Reader" }, { 0x08710002, "SDDR-31 Compact Flash Reader" }, { 0x08710005, "SDDR-05 Compact Flash Reader" }, { 0x087d5704, "Ethernet" }, { 0x08860630, "Intel PC Camera CS630" }, { 0x088a1002, "DigiView DV3100" }, { 0x088b4944, "MassWorks ID-75 TouchScreen" }, { 0x088c2030, "Ticket Printer TTP 2030" }, { 0x088e5036, "Portable secure storage for software licenses" }, { 0x08920101, "Smartdio Reader/Writer" }, { 0x08940010, "Remote NDIS Network Device" }, { 0x08970001, "ICE In-Circuit Emulator" }, { 0x08970002, "Power Debug/Power Debug II" }, { 0x08970004, "PowerDebug" }, { 0x08970005, "PowerDebug PRO" }, { 0x08a60051, "B-SV4" }, { 0x08a90005, "USBee ZX" }, { 0x08a90009, "USBee SX" }, { 0x08a90012, "USBee AX-Standard" }, { 0x08a90013, "USBee AX-Plus" }, { 0x08a90014, "USBee AX-Pro" }, { 0x08a90015, "USBee DX" }, { 0x08ac2024, "usbWiggler" }, { 0x08b00006, "814 Sample Processor" }, { 0x08b00015, "857 Titrando" }, { 0x08b0001a, "852 Titrando" }, { 0x08b70001, "Playstation adapter" }, { 0x08b801f4, "USBSIMM1" }, { 0x08bb2702, "PCM2702 16-bit stereo audio DAC" }, { 0x08bb2704, "PCM2704 16-bit stereo audio DAC" }, { 0x08bb2705, "PCM2705 stereo audio DAC" }, { 0x08bb2706, "PCM2706 stereo audio DAC" }, { 0x08bb2707, "PCM2707 stereo audio DAC" }, { 0x08bb27c4, "PCM2704C stereo audio DAC" }, { 0x08bb27c5, "PCM2705C stereo audio DAC" }, { 0x08bb27c6, "PCM2706C stereo audio DAC" }, { 0x08bb27c7, "PCM2707C stereo audio DAC" }, { 0x08bb2900, "PCM2900 Audio Codec" }, { 0x08bb2901, "PCM2901 Audio Codec" }, { 0x08bb2902, "PCM2902 Audio Codec" }, { 0x08bb2904, "PCM2904 Audio Codec" }, { 0x08bb2910, "PCM2912 Audio Codec" }, { 0x08bb2912, "PCM2912A Audio Codec" }, { 0x08bb29b0, "PCM2900B Audio CODEC" }, { 0x08bb29b2, "PCM2902 Audio CODEC" }, { 0x08bb29b3, "PCM2903B Audio CODEC" }, { 0x08bb29b6, "PCM2906B Audio CODEC" }, { 0x08bb29c0, "PCM2900C Audio CODEC" }, { 0x08bb29c2, "PCM2902C Audio CODEC" }, { 0x08bb29c3, "PCM2903C Audio CODEC" }, { 0x08bb29c6, "PCM2906C Audio CODEC" }, { 0x08bd0208, "CLP-521 Label Printer" }, { 0x08bd1100, "X1-USB Floppy" }, { 0x08c30001, "100 SC" }, { 0x08c30002, "100 A" }, { 0x08c30003, "100 SC BioKeyboard" }, { 0x08c30006, "100 A BioKeyboard" }, { 0x08c30100, "100 MC ISP" }, { 0x08c30101, "100 MC FingerPrint and SmartCard Reader" }, { 0x08c30300, "100 AX" }, { 0x08c30400, "100 SC" }, { 0x08c30401, "150 MC" }, { 0x08c30402, "200 MC FingerPrint and SmartCard Reader" }, { 0x08c30404, "100 SC Upgrade" }, { 0x08c30405, "150 MC Upgrade" }, { 0x08c30406, "100 MC Upgrade" }, { 0x08c40100, "Skyline 802.11b Wireless Adapter" }, { 0x08c402f2, "Farallon Home Phoneline Adapter" }, { 0x08ca0001, "Tablet" }, { 0x08ca0010, "Tablet" }, { 0x08ca0020, "APT-6000U Tablet" }, { 0x08ca0021, "APT-2 Tablet" }, { 0x08ca0022, "Tablet" }, { 0x08ca0023, "Tablet" }, { 0x08ca0024, "Tablet" }, { 0x08ca0100, "Pen Drive" }, { 0x08ca0102, "DualCam" }, { 0x08ca0103, "Pocket DV Digital Camera" }, { 0x08ca0104, "Pocket DVII" }, { 0x08ca0105, "Mega DV(Disk)" }, { 0x08ca0106, "Pocket DV3100+" }, { 0x08ca0107, "Pocket DV3100" }, { 0x08ca0109, "Nisis DV4 Digital Camera" }, { 0x08ca010a, "Trust 738AV LCD PV Mass Storage" }, { 0x08ca0111, "PenCam VGA Plus" }, { 0x08ca2008, "Mini PenCam 2" }, { 0x08ca2010, "Pocket CAM 3 Mega (webcam)" }, { 0x08ca2011, "Pocket CAM 3 Mega (storage)" }, { 0x08ca2016, "PocketCam 2 Mega" }, { 0x08ca2018, "Pencam SD 2M" }, { 0x08ca2019, "Pencam SD 2M (mass storage mode)" }, { 0x08ca2020, "Slim 3000F" }, { 0x08ca2022, "Slim 3200" }, { 0x08ca2024, "Pocket DV3500" }, { 0x08ca2028, "Pocket Cam4M" }, { 0x08ca2040, "Pocket DV4100M" }, { 0x08ca2042, "Pocket DV5100M Composite Device" }, { 0x08ca2043, "Pocket DV5100M (Disk)" }, { 0x08ca2060, "Pocket DV5300" }, { 0x08d10001, "smartNIC Ethernet [catc]" }, { 0x08d10003, "smartNIC 2 PnP Ethernet" }, { 0x08d40009, "SCR SmartCard Reader" }, { 0x08d80002, "USB-to-CAN compact" }, { 0x08d80003, "USB-to-CAN II" }, { 0x08d80100, "USB-to-CAN" }, { 0x08dd0112, "Wireless LAN Adapter" }, { 0x08dd0113, "Wireless LAN Adapter" }, { 0x08dd0986, "USB-100N Ethernet [pegasus]" }, { 0x08dd0987, "USBLP-100 HomePNA Ethernet [pegasus]" }, { 0x08dd0988, "USBEL-100 Ethernet [pegasus]" }, { 0x08dd1986, "10/100 LAN Adapter" }, { 0x08dd2103, "DVB-T TV-Tuner Card-R" }, { 0x08dd8511, "USBE-100 Ethernet [pegasus2]" }, { 0x08dd90ff, "USB2AR Ethernet" }, { 0x08de7a01, "802.11b Adapter" }, { 0x08df0001, "Rosetta Token V1" }, { 0x08df0002, "Rosetta Token V2" }, { 0x08df0003, "Rosetta Token V3" }, { 0x08df0a00, "Lynks Interface" }, { 0x08e30002, "USB-RS232 Bridge" }, { 0x08e30100, "Interface ADSL" }, { 0x08e30101, "Interface ADSL" }, { 0x08e30102, "ADSL" }, { 0x08e30301, "RNIS ISDN TA [HFC-S]" }, { 0x08e40142, "Pioneer DVR-LX60D" }, { 0x08e40148, "Pioneer XMP3" }, { 0x08e40184, "DDJ-WeGO" }, { 0x08e40185, "DDJ-WeGO2" }, { 0x08e60001, "GemPC-Touch 430" }, { 0x08e60430, "GemPC430 SmartCard Reader" }, { 0x08e60432, "GemPC432 SmartCard Reader" }, { 0x08e60435, "GemPC435 SmartCard Reader" }, { 0x08e60437, "GemPC433 SL SmartCard Reader" }, { 0x08e61359, "UA SECURE STORAGE TOKEN" }, { 0x08e62202, "Gem e-Seal Pro Token" }, { 0x08e63437, "GemPC Twin SmartCard Reader" }, { 0x08e63438, "GemPC Key SmartCard Reader" }, { 0x08e63478, "PinPad Smart Card Reader" }, { 0x08e634ec, "Compact Smart Card Reader Writer" }, { 0x08e64433, "GemPC433-Swap" }, { 0x08e65501, "GemProx-PU Contactless Smart Card Reader" }, { 0x08e65503, "Prox-DU Contactless Interface" }, { 0x08e6ace0, "UA HYBRID TOKEN" }, { 0x08e90100, "XTNDAccess IrDA Dongle" }, { 0x08ea00c9, "ADSL Modem HM120dp Loader" }, { 0x08ea00ca, "ADSL WAN Modem HM120dp" }, { 0x08ea00ce, "HM230d Virtual Bus for Helium" }, { 0x08eaabba, "USB Driver for Bluetooth Wireless Technology" }, { 0x08eaabbb, "Bluetooth Device in DFU State" }, { 0x08ec0001, "TravelDrive 2C" }, { 0x08ec0002, "TravelDrive 2C" }, { 0x08ec0005, "TravelDrive 2C" }, { 0x08ec0008, "TravelDrive 2C" }, { 0x08ec0010, "DiskOnKey" }, { 0x08ec0011, "DiskOnKey" }, { 0x08ec0012, "TravelDrive 2C" }, { 0x08ec0014, "TravelDrive 2C" }, { 0x08ec0015, "Kingston DataTraveler ELITE" }, { 0x08ec0016, "Kingston DataTraveler U3" }, { 0x08ec0020, "TravelDrive Intuix U3 2GB" }, { 0x08ec0021, "TravelDrive" }, { 0x08ec0022, "TravelDrive" }, { 0x08ec0023, "TravelDrive" }, { 0x08ec0024, "TravelDrive" }, { 0x08ec0025, "TravelDrive" }, { 0x08ec0026, "TravelDrive" }, { 0x08ec0027, "TravelDrive" }, { 0x08ec0028, "TravelDrive" }, { 0x08ec0029, "TravelDrive" }, { 0x08ec0030, "TravelDrive" }, { 0x08ec0822, "TravelDrive 2C" }, { 0x08ec0832, "Hi-Speed Mass Storage Device" }, { 0x08ec0834, "M-Disk 220" }, { 0x08ec0998, "Kingston Data Traveler2.0 Disk Driver" }, { 0x08ec0999, "Kingston Data Traveler2.0 Disk Driver" }, { 0x08ec1000, "TravelDrive 2C" }, { 0x08ec2000, "TravelDrive 2C" }, { 0x08ec2038, "TravelDrive" }, { 0x08ec2039, "TravelDrive" }, { 0x08ec204a, "TravelDrive" }, { 0x08ec204b, "TravelDrive" }, { 0x08ed0002, "CECT M800 memory card" }, { 0x08f00005, "CardScan 800c" }, { 0x08f2007f, "Super Q2 Tablet" }, { 0x08f70001, "LabPro" }, { 0x08f70002, "EasyTemp/Go!Temp" }, { 0x08f70003, "Go!Link" }, { 0x08f70004, "Go!Motion" }, { 0x08fd0001, "Bluetooth Device" }, { 0x08ff1600, "AES1600" }, { 0x08ff1610, "AES1600" }, { 0x08ff1660, "AES1660 Fingerprint Sensor" }, { 0x08ff1680, "AES1660 Fingerprint Sensor" }, { 0x08ff168f, "AES1660 Fingerprint Sensor" }, { 0x08ff2500, "AES2501" }, { 0x08ff2501, "AES2501" }, { 0x08ff2502, "AES2501" }, { 0x08ff2503, "AES2501" }, { 0x08ff2504, "AES2501" }, { 0x08ff2505, "AES2501" }, { 0x08ff2506, "AES2501" }, { 0x08ff2507, "AES2501" }, { 0x08ff2508, "AES2501" }, { 0x08ff2509, "AES2501" }, { 0x08ff250a, "AES2501" }, { 0x08ff250b, "AES2501" }, { 0x08ff250c, "AES2501" }, { 0x08ff250d, "AES2501" }, { 0x08ff250e, "AES2501" }, { 0x08ff250f, "AES2501" }, { 0x08ff2510, "AES2510" }, { 0x08ff2550, "AES2550 Fingerprint Sensor" }, { 0x08ff2580, "AES2501 Fingerprint Sensor" }, { 0x08ff2588, "AES2501" }, { 0x08ff2589, "AES2501" }, { 0x08ff258a, "AES2501" }, { 0x08ff258b, "AES2501" }, { 0x08ff258c, "AES2501" }, { 0x08ff258d, "AES2501" }, { 0x08ff258e, "AES2501" }, { 0x08ff258f, "AES2501" }, { 0x08ff2660, "AES2660 Fingerprint Sensor" }, { 0x08ff2680, "AES2660 Fingerprint Sensor" }, { 0x08ff268f, "AES2660 Fingerprint Sensor" }, { 0x08ff2810, "AES2810" }, { 0x08ff3400, "AES3400 TruePrint Sensor" }, { 0x08ff3401, "AES3400 Sensor" }, { 0x08ff3402, "AES3400 Sensor" }, { 0x08ff3403, "AES3400 Sensor" }, { 0x08ff3404, "AES3400 TruePrint Sensor" }, { 0x08ff3405, "AES3400 TruePrint Sensor" }, { 0x08ff3406, "AES3400 TruePrint Sensor" }, { 0x08ff3407, "AES3400 TruePrint Sensor" }, { 0x08ff4902, "BioMV with TruePrint AES3500" }, { 0x08ff4903, "BioMV with TruePrint AES3400" }, { 0x08ff5500, "AES4000" }, { 0x08ff5501, "AES4000 TruePrint Sensor" }, { 0x08ff5503, "AES4000 TruePrint Sensor" }, { 0x08ff5505, "AES4000 TruePrint Sensor" }, { 0x08ff5507, "AES4000 TruePrint Sensor" }, { 0x08ff55ff, "AES4000 TruePrint Sensor." }, { 0x08ff5700, "AES3500 Fingerprint Reader" }, { 0x08ff5701, "AES3500 TruePrint Sensor" }, { 0x08ff5702, "AES3500 TruePrint Sensor" }, { 0x08ff5703, "AES3500 TruePrint Sensor" }, { 0x08ff5704, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5705, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5706, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5707, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5710, "AES3500 TruePrint Sensor" }, { 0x08ff5711, "AES3500 TruePrint Sensor" }, { 0x08ff5712, "AES3500 TruePrint Sensor" }, { 0x08ff5713, "AES3500 TruePrint Sensor" }, { 0x08ff5714, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5715, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5716, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5717, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5730, "AES3500 TruePrint Sensor" }, { 0x08ff5731, "AES3500 TruePrint Sensor" }, { 0x08ff5732, "AES3500 TruePrint Sensor" }, { 0x08ff5733, "AES3500 TruePrint Sensor" }, { 0x08ff5734, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5735, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5736, "AES3500-BZ TruePrint Sensor" }, { 0x08ff5737, "AES3500-BZ TruePrint Sensor" }, { 0x08ffafe3, "FingerLoc Sensor Module (Anchor)" }, { 0x08ffafe4, "FingerLoc Sensor Module (Anchor)" }, { 0x08ffafe5, "FingerLoc Sensor Module (Anchor)" }, { 0x08ffafe6, "FingerLoc Sensor Module (Anchor)" }, { 0x08fffffd, "AES2510 Sensor (USB Emulator)" }, { 0x08ffffff, "Sensor (Emulator)" }, { 0x09010001, "Hard Drive Adapter (TPP)" }, { 0x09010002, "SigmaDrive Adapter (TPP)" }, { 0x090801f4, "SIMATIC NET CP 5711" }, { 0x090801fe, "SIMATIC NET PC Adapter A2" }, { 0x090804b1, "MediSET" }, { 0x090804b2, "NC interface" }, { 0x090804b3, "keyboard front panel Cockpit" }, { 0x090804b4, "SCR_CCID" }, { 0x09082701, "ShenZhen SANZHAI Technology Co.,Ltd Spy Pen VGA" }, { 0x090a1001, "T33520 Flash Card Controller" }, { 0x090a1100, "Comotron C3310 MP3 player" }, { 0x090a1200, "MP3 player" }, { 0x090a1540, "Digitex Container Flash Disk" }, { 0x090c0371, "Silicon Motion SM371 Camera" }, { 0x090c0373, "Silicon Motion Camera" }, { 0x090c037a, "Silicon Motion Camera" }, { 0x090c037b, "Silicon Motion Camera" }, { 0x090c037c, "300k Pixel Camera" }, { 0x090c1000, "Flash Drive" }, { 0x090c1132, "5-in-1 Card Reader" }, { 0x090c337b, "Silicon Motion Camera" }, { 0x090c3710, "Silicon Motion Camera" }, { 0x090c3720, "Silicon Motion Camera" }, { 0x090c37bc, "HP Webcam-101 Integrated Camera" }, { 0x090c37c0, "Silicon Motion Camera" }, { 0x090c6000, "SD/SDHC Card Reader (SG365 / FlexiDrive XC+)" }, { 0x090c6200, "microSD card reader" }, { 0x090c71b3, "SM731 Camera" }, { 0x090c837b, "Silicon Motion Camera" }, { 0x090c937b, "Silicon Motion Camera" }, { 0x090cb370, "Silicon Motion SM370 Camera" }, { 0x090cb371, "Silicon Motion SM371 Camera" }, { 0x090cf37d, "Endoscope camera" }, { 0x09110c1c, "SpeechMike III" }, { 0x0911149a, "SpeechMike II Pro Plus LFH5276" }, { 0x09112512, "SpeechMike Pro" }, { 0x09150001, "DSL Modem" }, { 0x09150002, "ADSL ATM Modem" }, { 0x09150005, "LAN Modem" }, { 0x09152000, "802.11 Adapter" }, { 0x09152002, "802.11 Adapter" }, { 0x09158000, "ADSL LAN Modem" }, { 0x09158005, "DSL-302G Modem" }, { 0x09158101, "ADSL WAN Modem" }, { 0x09158102, "DSL-200 ADSL Modem" }, { 0x09158103, "DSL-200 ADSL Modem" }, { 0x09158104, "DSL-200 Modem" }, { 0x09158400, "DSL Modem" }, { 0x09158401, "DSL Modem" }, { 0x09158402, "DSL Modem" }, { 0x09158500, "DSL Modem" }, { 0x09158501, "DSL Modem" }, { 0x09170001, "eFilm Reader-11 SM/CF" }, { 0x09170002, "eFilm Reader-11 SM" }, { 0x09170003, "eFilm Reader-11 CF" }, { 0x09170200, "FireFly" }, { 0x09170201, "FireLite" }, { 0x09170202, "STORAGE ADAPTER (FirePower)" }, { 0x09170204, "FlashTrax Storage" }, { 0x09170205, "STORAGE ADAPTER (CrossFire)" }, { 0x09170206, "FireFly 20G HDD" }, { 0x09170207, "FireLite" }, { 0x0917020f, "STORAGE ADAPTER (FireLite)" }, { 0x0917da01, "eFilm Reader-11 Test" }, { 0x0917ffff, "eFilm Reader-11 (Class/PDR)" }, { 0x09190100, "Fast Flicks Digital Camera" }, { 0x091e0003, "GPS (various models)" }, { 0x091e0004, "iQue 3600" }, { 0x091e0200, "Data Card Programmer (install)" }, { 0x091e086e, "Forerunner 735XT" }, { 0x091e097f, "Forerunner 235" }, { 0x091e1200, "Data Card Programmer" }, { 0x091e21a5, "etrex Cx (msc)" }, { 0x091e2236, "nuvi 360" }, { 0x091e2271, "Edge 605/705" }, { 0x091e2295, "Colorado 300" }, { 0x091e22b6, "eTrex Vista HCx (Mass Storage mode)" }, { 0x091e231b, "Oregon 400t" }, { 0x091e2353, "N\303\274vi 205T" }, { 0x091e2380, "Oregon series" }, { 0x091e23cc, "n\303\274vi 1350" }, { 0x091e2459, "GPSmap 62/78 series" }, { 0x091e2491, "Edge 800" }, { 0x091e2518, "eTrex 10" }, { 0x091e2519, "eTrex 30" }, { 0x091e2535, "Edge 800" }, { 0x091e253c, "GPSmap 62sc" }, { 0x091e255b, "Nuvi 2505LM" }, { 0x091e2585, "Garmin Monterra" }, { 0x091e2613, "Edge 200 TWN" }, { 0x091e26a1, "Nuvi 55" }, { 0x091e2802, "fenix 3" }, { 0x091e28db, "Drive 5" }, { 0x091e47fb, "nuviCam" }, { 0x091e488b, "Garmin D2 Air" }, { 0x091e4b48, "Garmin Forerunner 645 Music" }, { 0x091e4b54, "Garmin Fenix 5/5S/5X Plus" }, { 0x091e4bac, "Garmin Vivoactive 3" }, { 0x091e4bfa, "Garmin Vivoactive 3 Music LTE" }, { 0x091e4c05, "Garmin Forerunner 245 Music" }, { 0x091e4c29, "Garmin Forerunner 945" }, { 0x091e4c7c, "Garmin D2 Delta/Delta S/Delta PX" }, { 0x091e4c98, "Garmin Vivoactive 4S" }, { 0x091e4c99, "Garmin Vivoactive 4" }, { 0x091e4c9a, "Garmin Venu" }, { 0x091e4cae, "Garmin MARQ" }, { 0x091e4caf, "Garmin MARQ Aviator" }, { 0x091e4cba, "Garmin Descent Mk2/Mk2i" }, { 0x091e4cd8, "Garmin Fenix 6S Pro/Sapphire" }, { 0x091e4cda, "Garmin Fenix 6 Pro/Sapphire" }, { 0x091e4cdb, "Garmin Fenix 6X Pro/Sapphire" }, { 0x091e4d9c, "Garmin Zumo XT" }, { 0x091e4daa, "Garmin Rey" }, { 0x091e4dab, "Garmin Darth Vader" }, { 0x091e4dac, "Garmin Captain Marvel" }, { 0x091e4dad, "Garmin First Avenger" }, { 0x091e4e05, "Garmin Forerunner 745" }, { 0x091e4e0c, "Garmin Venu Sq Music" }, { 0x091e4e76, "Garmin Descent Mk2/Mk2i (APAC)" }, { 0x091e4e77, "Garmin Venu 2" }, { 0x091e4e78, "Garmin Venu 2s" }, { 0x091e4e9C, "Garmin Venu Mercedes-Benz Collection" }, { 0x091e4f0b, "Garmin Venu 2 Plus" }, { 0x091e4f42, "Garmin Fenix 7 Sapphire Solar" }, { 0x091e4f43, "Garmin Fenix 7" }, { 0x091e4f67, "Garmin EPIX 2" }, { 0x091e4f96, "Garmin Garmin Forerunner 255M" }, { 0x091e4f97, "Garmin Forerunner 255S Music" }, { 0x091e4fb8, "Garmin Forerunner 955 Solar" }, { 0x091e5027, "Garmin Tactix 7" }, { 0x091e50a1, "Garmin Forerunner 265" }, { 0x091e50db, "Garmin Forerunner 965" }, { 0x091e5116, "Garmin Fenix 7s pro sapphire solar" }, { 0x09207500, "Network Interface" }, { 0x09211001, "GoCOM232 Serial" }, { 0x09220007, "LabelWriter 330" }, { 0x09220009, "LabelWriter 310" }, { 0x09220013, "LabelManager 400" }, { 0x09220019, "LabelWriter 400" }, { 0x0922001a, "LabelWriter 400 Turbo" }, { 0x09220020, "LabelWriter 450" }, { 0x09220400, "LabelWriter SE450" }, { 0x09221001, "LabelManager PnP" }, { 0x09228003, "M10 Digital Postal Scale" }, { 0x09228004, "M25 Digital Postal Scale" }, { 0x09228009, "S250 Digital Postal Scale" }, { 0x0923010f, "SIIG MobileCam" }, { 0x092423dd, "DocuPrint M760 (X760_USB)" }, { 0x09243ce8, "Phaser 3428 Printer" }, { 0x09243cea, "Phaser 3125" }, { 0x09243cec, "Phaser 3250" }, { 0x09243d5b, "Phaser 6115MFP TWAIN Scanner" }, { 0x09243d6d, "WorkCentre 6015N/NI" }, { 0x0924420f, "WorkCentre PE220 Series" }, { 0x0924421f, "M20 Scanner" }, { 0x0924423b, "Printing Support" }, { 0x09244274, "Xerox Phaser 3635MFPX" }, { 0x0924ffef, "WorkCenter M15" }, { 0x0924fffb, "DocuPrint M750 (X750_USB)" }, { 0x09250005, "Gamtec.,Ltd SmartJoy PLUS Adapter" }, { 0x092503e8, "Wii Classic Controller Adapter" }, { 0x09251031, "WiseGroup Ltd, Gameport Controller" }, { 0x09251700, "PS/SS/N64 Joypad" }, { 0x09253881, "Saleae Logic" }, { 0x09258101, "Phidgets, Inc., 1-Motor PhidgetServo v2.0" }, { 0x09258104, "Phidgets, Inc., 4-Motor PhidgetServo v2.0" }, { 0x09258800, "WiseGroup Ltd, MP-8800 Quad Joypad" }, { 0x09258866, "WiseGroup Ltd, MP-8866 Dual Joypad" }, { 0x09288000, "Firmware uploader" }, { 0x0928ffff, "Blank Oxford Device" }, { 0x092b4210, "20S - Bluetooth Motorcycle headset & universal intercom" }, { 0x092f0004, "JTAG-4" }, { 0x092f0005, "JTAG-5" }, { 0x09300009, "Toshiba Gigabeat MEGF-40" }, { 0x0930000c, "Toshiba Gigabeat" }, { 0x0930000f, "Toshiba Gigabeat P20" }, { 0x09300010, "Toshiba Gigabeat S" }, { 0x09300011, "Toshiba Gigabeat P10" }, { 0x09300014, "Toshiba Gigabeat V30" }, { 0x09300016, "Toshiba Gigabeat U" }, { 0x09300018, "Toshiba Gigabeat MEU202" }, { 0x09300019, "Toshiba Gigabeat T" }, { 0x0930001a, "Toshiba Gigabeat MEU201" }, { 0x0930001d, "Toshiba Gigabeat MET401" }, { 0x093001bf, "2.5\"External Hard Disk" }, { 0x09300200, "Integrated Bluetooth (Taiyo Yuden)" }, { 0x0930021c, "Atheros AR3012 Bluetooth" }, { 0x09300301, "PCX1100U Cable Modem (WDM)" }, { 0x09300302, "PCX2000 Cable Modem (WDM)" }, { 0x09300305, "Cable Modem PCX3000" }, { 0x09300307, "Cable Modem PCX2500" }, { 0x09300308, "PCX2200 Cable Modem (WDM)" }, { 0x09300309, "PCX5000 Cable Modem (WDM)" }, { 0x0930030b, "Cable Modem PCX2600" }, { 0x09300501, "Bluetooth Controller" }, { 0x09300502, "Integrated Bluetooth" }, { 0x09300503, "Bluetooth Controller" }, { 0x09300505, "Integrated Bluetooth" }, { 0x09300506, "Integrated Bluetooth" }, { 0x09300507, "Bluetooth Adapter" }, { 0x09300508, "Integrated Bluetooth HCI" }, { 0x09300509, "BT EDR Dongle" }, { 0x09300706, "PocketPC e740" }, { 0x09300707, "Pocket PC e330 Series" }, { 0x09300708, "Pocket PC e350 Series" }, { 0x09300709, "Pocket PC e750 Series" }, { 0x0930070a, "Pocket PC e400 Series" }, { 0x0930070b, "Pocket PC e800 Series" }, { 0x09300960, "Toshiba Excite AT200" }, { 0x09300963, "Toshiba Excite AT300" }, { 0x09300a07, "WLM-10U1 802.11abgn Wireless Adapter [Ralink RT3572]" }, { 0x09300a08, "WLM-20U2/GN-1080 802.11abgn Wireless Adapter [Atheros AR7010+AR9280]" }, { 0x09300a0b, "WLU5053 802.11abgn Wireless Module [Broadcom BCM43236B]" }, { 0x09300a13, "AX88179 Gigabit Ethernet [Toshiba]" }, { 0x09300b05, "PX1220E-1G25 External hard drive" }, { 0x09300b09, "PX1396E-3T01 External hard drive" }, { 0x09300b1a, "STOR.E ALU 2S" }, { 0x09301300, "Wireless Broadband (CDMA EV-DO) SM-Bus Minicard Status Port" }, { 0x09301301, "Wireless Broadband (CDMA EV-DO) Minicard Status Port" }, { 0x09301302, "Wireless Broadband (3G HSDPA) SM-Bus Minicard Status Port" }, { 0x09301303, "Wireless Broadband (3G HSDPA) Minicard Status Port" }, { 0x09301308, "Broadband (3G HSDPA) SM-Bus Minicard Diagnostics Port" }, { 0x0930130b, "F3507g Mobile Broadband Module" }, { 0x0930130c, "F3607gw Mobile Broadband Module" }, { 0x09301311, "F3607gw v2 Mobile Broadband Module" }, { 0x09301400, "Memory Stick 2GB" }, { 0x0930140b, "Memory Stick 64GB" }, { 0x0930642f, "TravelDrive" }, { 0x09306506, "TravelDrive 2C" }, { 0x09306507, "TravelDrive 2C" }, { 0x09306508, "TravelDrive 2C" }, { 0x09306509, "TravelDrive 2C" }, { 0x09306510, "TravelDrive 2C" }, { 0x09306517, "TravelDrive 2C" }, { 0x09306518, "TravelDrive 2C" }, { 0x09306519, "Kingston DataTraveler 2.0 USB Stick" }, { 0x0930651a, "TravelDrive 2C" }, { 0x0930651b, "TravelDrive 2C" }, { 0x0930651c, "TravelDrive 2C" }, { 0x0930651d, "TravelDrive 2C" }, { 0x0930651e, "TravelDrive 2C" }, { 0x0930651f, "TravelDrive 2C" }, { 0x09306520, "TravelDrive 2C" }, { 0x09306521, "TravelDrive 2C" }, { 0x09306522, "TravelDrive 2C" }, { 0x09306523, "TravelDrive" }, { 0x09306524, "TravelDrive" }, { 0x09306525, "TravelDrive" }, { 0x09306526, "TravelDrive" }, { 0x09306527, "TravelDrive" }, { 0x09306528, "TravelDrive" }, { 0x09306529, "TravelDrive" }, { 0x0930652a, "TravelDrive" }, { 0x0930652b, "TravelDrive" }, { 0x0930652c, "TravelDrive" }, { 0x0930652d, "TravelDrive" }, { 0x0930652f, "TravelDrive" }, { 0x09306530, "TravelDrive" }, { 0x09306531, "TravelDrive" }, { 0x09306532, "256M Stick" }, { 0x09306533, "512M Stick" }, { 0x09306534, "TravelDrive" }, { 0x0930653c, "Kingston DataTraveler 2.0 Stick (512M)" }, { 0x0930653d, "Kingston DataTraveler 2.0 Stick (1GB)" }, { 0x0930653e, "Flash Memory" }, { 0x09306540, "TransMemory Flash Memory" }, { 0x09306544, "TransMemory-Mini / Kingston DataTraveler 2.0 Stick" }, { 0x09306545, "Kingston DataTraveler 102/2.0 / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick" }, { 0x09307100, "Toshiba Thrive AT100/AT105" }, { 0x0930a002, "SunplusIT SATA bridge" }, { 0x09320300, "VideoAdvantage" }, { 0x09320302, "Syntek DC-112X" }, { 0x09320320, "VideoAdvantage" }, { 0x09320482, "USB2.0 TVBOX" }, { 0x09321100, "DC-1100 Video Enhamcement Device" }, { 0x09321112, "Veo Web Camera" }, { 0x0932a311, "Video Enhancement Device" }, { 0x0936000a, "Moebius" }, { 0x0936000b, "iMoebius" }, { 0x0936000c, "Rhythmedics 6 BioData Integrator" }, { 0x0936000d, "Hypurius" }, { 0x0936000e, "Millennius" }, { 0x0936000f, "Purius" }, { 0x09360030, "Composite Device, Mass Storage Device (Flash Drive) amd HID" }, { 0x0936003c, "Rhythmedics HID Bootloader" }, { 0x09390b15, "Toshiba Stor.E Alu 2" }, { 0x09390b16, "Toshiba StorE HDD" }, { 0x093a0007, "CMOS 100K-R Rev. 1.90" }, { 0x093a010e, "Digital camera, CD302N/Elta Medi@ digi-cam/HE-501A" }, { 0x093a010f, "Argus DC-1610/DC-1620/Emprex PCD3600/Philips P44417B keychain camera/Precision Mini,Model HA513A/Vivitar Vivicam 55" }, { 0x093a020f, "Bullet Line Photo Viewer" }, { 0x093a050f, "Mars-Semi Pc-Camera" }, { 0x093a2460, "Q-TEC WEBCAM 100" }, { 0x093a2468, "SoC PC-Camera" }, { 0x093a2470, "SoC PC-Camera" }, { 0x093a2471, "SoC PC-Camera" }, { 0x093a2500, "USB Optical Mouse" }, { 0x093a2510, "Optical Mouse" }, { 0x093a2521, "Optical Mouse" }, { 0x093a2600, "Typhoon Easycam USB 330K (newer)/Typhoon Easycam USB 2.0 VGA 1.3M/Sansun SN-508" }, { 0x093a2601, "SPC 610NC Laptop Camera" }, { 0x093a2603, "PAC7312 Camera" }, { 0x093a2608, "PAC7311 Trust WB-3300p" }, { 0x093a260e, "PAC7311 Gigaware VGA PC Camera:Trust WB-3350p:SIGMA cam 2350" }, { 0x093a260f, "PAC7311 SnakeCam" }, { 0x093a2621, "PAC731x Trust Webcam" }, { 0x093a2622, "Webcam Genius" }, { 0x093a2624, "Webcam" }, { 0x093a2628, "Webcam Genius iLook 300" }, { 0x093a2700, "GE 1.3 MP MiniCam Pro" }, { 0x093b0010, "Storage Adapter" }, { 0x093b0011, "PlexWriter 40/12/40U" }, { 0x093b0012, "PlexWriter 48/24/48U" }, { 0x093b0041, "PX-708A DVD RW" }, { 0x093b0042, "PX-712UF DVD RW" }, { 0x093ba002, "ConvertX M402U XLOADER" }, { 0x093ba003, "ConvertX AV100U A/V Capture Audio" }, { 0x093ba004, "ConvertX TV402U XLOADER" }, { 0x093ba005, "ConvertX TV100U A/V Capture" }, { 0x093ba102, "ConvertX M402U A/V Capture" }, { 0x093ba104, "ConvertX PX-TV402U/NA" }, { 0x093c0601, "ValueCAN" }, { 0x093c0701, "NeoVI Blue vehicle bus interface" }, { 0x09440001, "PXR4 4-Track Digital Recorder" }, { 0x09440020, "KAOSS Pad KP3 Dynamic Effect/Sampler" }, { 0x09440023, "KAOSSILATOR PRO Dynamic Phrase Synthesizer" }, { 0x0944010d, "nanoKEY MIDI keyboard" }, { 0x0944010e, "nanoPAD pad controller" }, { 0x0944010f, "nanoKONTROL studio controller" }, { 0x09440117, "nanoKONTROL2 MIDI Controller" }, { 0x09440f03, "K-Series K61P MIDI studio controller" }, { 0x09480301, "USB Pro (24/48)" }, { 0x09480302, "USB Pro (24/96 playback)" }, { 0x09480303, "USB Pro (24/96 record)" }, { 0x09480304, "USB Pro (16/48)" }, { 0x09481105, "USB One" }, { 0x094b0001, "neonode N2" }, { 0x094f0101, "U640MO-03" }, { 0x094f05fc, "METALWEAR-HDD" }, { 0x09510008, "Ethernet" }, { 0x0951000a, "KNU101TX 100baseTX Ethernet" }, { 0x09511539, "Iron Key D300 (Virtual CD-ROM and USB Stick)" }, { 0x09511600, "DataTraveler II Pen Drive" }, { 0x09511601, "DataTraveler II+ Pen Drive" }, { 0x09511602, "DataTraveler Mini" }, { 0x09511603, "DataTraveler 1GB/2GB Pen Drive" }, { 0x09511606, "Eee PC 701 SD Card Reader [ENE UB6225]" }, { 0x09511607, "DataTraveler 100" }, { 0x0951160b, "DataTraveler 2.0 (2GB)" }, { 0x0951160d, "DataTraveler Vault Privacy" }, { 0x0951160e, "DT110P/1GB Capless" }, { 0x09511613, "DataTraveler DT101C Flash Drive" }, { 0x09511616, "DataTraveler Locker 4GB" }, { 0x0951161a, "Dell HyperVisor internal flash drive" }, { 0x09511621, "DataTraveler 150 (32GB)" }, { 0x09511624, "DataTraveler G2" }, { 0x09511625, "DataTraveler 101 II" }, { 0x0951162a, "DataTraveler 112 4GB Pen Drive" }, { 0x0951162b, "DataTraveler HyperX 3.0" }, { 0x0951162d, "DataTraveler 102" }, { 0x09511630, "DataTraveler 200 (32GB)" }, { 0x09511642, "DT101 G2" }, { 0x09511643, "DataTraveler G3" }, { 0x09511653, "Data Traveler 100 G2 8 GiB" }, { 0x09511656, "DataTraveler Ultimate G2" }, { 0x09511660, "Data Traveller 108" }, { 0x09511665, "Digital DataTraveler SE9" }, { 0x09511666, "DataTraveler 100 G3/G4/SE9 G2/50" }, { 0x09511689, "DataTraveler SE9" }, { 0x0951168a, "DataTraveler Micro" }, { 0x0951168c, "DT Elite 3.0" }, { 0x095116a4, "HyperX 7.1 Audio" }, { 0x095116b3, "HyperX Savage" }, { 0x095116d2, "HX-KB4BL1-US [HYPERX Alloy FPS Pro]" }, { 0x095116d4, "HyperX SavageEXO [0382]" }, { 0x095116d5, "DataTraveler Elite G2" }, { 0x095116df, "HyperX QuadCast" }, { 0x095116e4, "HyperX Pulsefire Raid" }, { 0x09557005, "Bootloader" }, { 0x09557018, "T186 [Tegra Parker]" }, { 0x0955701a, "U-Boot running on Tegra" }, { 0x09557020, "L4T (Linux for Tegra) running on Tegra" }, { 0x09557030, "T30 [Tegra 3] recovery mode" }, { 0x095570a9, "nVidia CM9-Adam" }, { 0x09557100, "nVidia Various tablets (ID1)" }, { 0x09557102, "nVidia Various tablets (ID2)" }, { 0x09557140, "T124 [Tegra K1/Logan 32-bit]" }, { 0x09557210, "SHIELD Controller" }, { 0x09557321, "Switch [Tegra Erista] recovery mode" }, { 0x09557721, "nVidia Jetson TX1" }, { 0x09557820, "T20 [Tegra 2] recovery mode" }, { 0x09557c18, "T186 [TX2 Tegra Parker] recovery mode" }, { 0x0955b400, "nVidia Shield (MTP+ADB)" }, { 0x0955b401, "nVidia Shield (MTP)" }, { 0x0955b42a, "nVidia Shield Android TV pro (MTP)" }, { 0x0955cf02, "nVidia Tegra Note" }, { 0x0955cf05, "nVidia Shield Tablet (MTP+ADB)" }, { 0x0955cf06, "SHIELD Tablet" }, { 0x0955cf07, "nVidia Shield Tablet (MTP)" }, { 0x0955cf08, "SHIELD Tablet" }, { 0x0955cf09, "SHIELD Tablet" }, { 0x09570200, "E-Video DC-350 Camera" }, { 0x09570202, "E-Video DC-350 Camera" }, { 0x09570407, "33220A Waveform Generator" }, { 0x09570518, "82357B GPIB Interface" }, { 0x09570a07, "34411A Multimeter" }, { 0x09571507, "33210A Waveform Generator" }, { 0x09571745, "Test and Measurement Device (IVI)" }, { 0x09571f01, "N5181A MXG Analog Signal Generator" }, { 0x09572918, "U2702A oscilloscope" }, { 0x0957fb18, "LC Device" }, { 0x09592bd0, "Intelligent ISDN (Ver. 3.60.04) [HFC-S]" }, { 0x095a3003, "Express Ethernet" }, { 0x095d0001, "Polycom ViaVideo" }, { 0x09670204, "WarpLink 802.11b Adapter" }, { 0x096e0005, "ePass2000" }, { 0x096e0006, "HID Dongle (for OEMs - manufacturer string is \"OEM\")" }, { 0x096e0120, "Microcosm Ltd Dinkey" }, { 0x096e0305, "ePass2000Auto" }, { 0x096e0309, "ePass3000GM" }, { 0x096e0401, "ePass3000" }, { 0x096e0405, "Zzkey Dongle" }, { 0x096e0608, "SC Reader KP382" }, { 0x096e0702, "ePass3003" }, { 0x096e0703, "ePass3003Auto" }, { 0x096e0802, "ePass2000 (G&D STARCOS SPK 2.4)" }, { 0x096e0807, "ePass2003" }, { 0x09712000, "i1 Pro" }, { 0x09712001, "i1 Monitor" }, { 0x09712003, "Eye-One display" }, { 0x09712005, "Huey" }, { 0x09712007, "ColorMunki Photo" }, { 0x09730001, "e-gate Smart Card" }, { 0x09790222, "Keychain Display" }, { 0x09790224, "JL2005A Toy Camera" }, { 0x09790226, "JL2005A Toy Camera" }, { 0x09790227, "JL2005B/C/D Toy Camera" }, { 0x097a0001, "Digital Wallet" }, { 0x097e0035, "MP35 v1.0" }, { 0x09840040, "SATA Wire (2.5\")" }, { 0x09840200, "Hard Drive Storage (TPP)" }, { 0x09841407, "Secure Key 3.0" }, { 0x09850045, "Mach4/200 Label Printer" }, { 0x098500a3, "A3/200 or A3/300 Label Printer" }, { 0x09930001, "REB1100 eBook Reader" }, { 0x09930002, "eBook" }, { 0x099a0638, "Sanwa Supply Inc. Small Keyboard" }, { 0x099a2620, "Graphics tablet [Polostar PT1001, Zeniq PT1001, Leogics PT1001]" }, { 0x099a610c, "EL-610 Super Mini Electron luminescent Keyboard" }, { 0x099a6330, "SANWA Supply Inc. Slim Keyboard" }, { 0x099a713a, "WK-713 Multimedia Keyboard" }, { 0x099a7160, "Hyper Slim Keyboard" }, { 0x09a68001, "Mass Storage Device" }, { 0x09aa1000, "Prism GT 802.11b/g Adapter" }, { 0x09aa3642, "Prism 2.x 802.11b Adapter" }, { 0x09ae0002, "Any Device (see discussion)" }, { 0x09b02400, "HDP5000" }, { 0x09b20001, "eBookman Palm Computer" }, { 0x09bc0002, "MPaxx MP150 MP3 Player" }, { 0x09be0001, "MySmartPad" }, { 0x09bf00c0, "COMpact 2104 ISDN PBX" }, { 0x09bf00db, "COMpact 4410/2206 ISDN" }, { 0x09bf00dc, "COMpact 4406 DSL (PBX)" }, { 0x09bf00dd, "COMpact 2204 (PBX)" }, { 0x09bf00de, "COMpact 2104 (Rev.2 PBX)" }, { 0x09bf00e0, "COMmander Business (PBX)" }, { 0x09bf00e2, "COMmander Basic.2 (PBX)" }, { 0x09bf00f1, "COMfort 2000 (System telephone)" }, { 0x09bf00f2, "COMfort 1200 (System telephone)" }, { 0x09bf00f5, "COMfortel 2500 (System telephone)" }, { 0x09bf8000, "COMpact 2104 DSL (DSL modem)" }, { 0x09bf8001, "COMpact 4406 DSL (DSL modem)" }, { 0x09bf8002, "Analog/ISDN Converter (Line converter)" }, { 0x09bf8005, "WG-640 (Automatic event dialer)" }, { 0x09c00136, "Axon CNS, MultiClamp 700B" }, { 0x09c00202, "8PSK DVB-S tuner" }, { 0x09c00203, "Skywalker-1 DVB-S tuner" }, { 0x09c00204, "Skywalker-CW3K DVB-S tuner" }, { 0x09c00205, "Skywalker-CW3K DVB-S tuner" }, { 0x09c00206, "Skywalker-2 DVB-S tuner" }, { 0x09c11337, "TOUCHSTONE DEVICE" }, { 0x09c30007, "Reader V2" }, { 0x09c30008, "ZFG-9800-AC SmartCard Reader" }, { 0x09c30014, "ActivIdentity ActivKey SIM USB Token" }, { 0x09c30028, "Crescendo Key" }, { 0x09c30029, "Crescendo Key" }, { 0x09c3002a, "Crescendo Key" }, { 0x09c3002b, "Crescendo Key" }, { 0x09c3002c, "Crescendo Key" }, { 0x09c3002e, "Crescendo Key" }, { 0x09c40011, "ACT-IR2000U IrDA Dongle" }, { 0x09ca5544, "PIO" }, { 0x09cb1001, "Network Adapter" }, { 0x09cb1002, "Ex-Series RNDIS interface" }, { 0x09cb1004, "Ex-Series UVC interface" }, { 0x09cb1005, "Ex-Series RNDIS and UVC interface" }, { 0x09cb1006, "Ex-Series RNDIS and MSD interface" }, { 0x09cb1007, "Ex-Series UVC and MSD interface" }, { 0x09cb1008, "Serial Port" }, { 0x09cb100b, "FLIR C5" }, { 0x09cb1996, "FLIR ONE Camera" }, { 0x09cb4007, "Breach" }, { 0x09cc0404, "BAFO USB-ATA/ATAPI Bridge Controller" }, { 0x09cd2001, "Psion WaveFinder DAB radio receiver" }, { 0x09d30001, "ISDN TA / Light Rider 128K" }, { 0x09d3000b, "Bluetooth Adapter class 2" }, { 0x09d70100, "GPS/GNSS/SPAN sensor" }, { 0x09d80320, "TWN3 Multi125" }, { 0x09d80406, "TWN4 MIFARE NFC" }, { 0x09da0006, "Optical Mouse WOP-35 / Trust 450L Optical Mouse" }, { 0x09da000a, "Optical Mouse Opto 510D / OP-620D" }, { 0x09da000e, "X-F710F Optical Mouse 3xFire Gaming Mouse" }, { 0x09da0018, "Trust Human Interface Device" }, { 0x09da001a, "Wireless Mouse & RXM-15 Receiver" }, { 0x09da002a, "Wireless Optical Mouse NB-30" }, { 0x09da022b, "Wireless Mouse (Battery Free)" }, { 0x09da024f, "RF Receiver and G6-20D Wireless Optical Mouse" }, { 0x09da0260, "KV-300H Isolation Keyboard" }, { 0x09da032b, "Wireless Mouse (Battery Free)" }, { 0x09da09da, "Bloody V8 Mouse" }, { 0x09da1068, "Bloody A90 Mouse" }, { 0x09da112c, "Bloody V5 Mouse" }, { 0x09da3a60, "Bloody V8M Core 2 Mouse" }, { 0x09da8090, "X-718BK Oscar Optical Gaming Mouse" }, { 0x09da9033, "X-718BK Optical Mouse" }, { 0x09da9066, "F3 V-Track Gaming Mouse" }, { 0x09da9090, "XL-730K / XL-750BK / XL-755BK Mice" }, { 0x09daf613, "Bloody V7M Mouse" }, { 0x09db0075, "MiniLab 1008" }, { 0x09db0076, "PMD-1024" }, { 0x09db007a, "PMD-1208LS" }, { 0x09db0081, "USB-1616FS" }, { 0x09db0082, "USB-1208FS" }, { 0x09db0088, "USB-1616FS internal hub" }, { 0x09e15121, "MicroLink dLAN" }, { 0x09e80045, "MPK Mini Mk II MIDI Controller" }, { 0x09e80062, "MPD16 MIDI Pad Controller Unit" }, { 0x09e8006d, "EWI electronic wind instrument" }, { 0x09e80071, "MPK25 MIDI Keyboard" }, { 0x09e80076, "LPK25 MIDI Keyboard" }, { 0x09eb4331, "iRhythm Tuner Remote" }, { 0x09ef0101, "MD-Port DG2 MiniDisc Interface" }, { 0x09f30018, "GF-46 Multi-Mode Display Module" }, { 0x09f30028, "RP-48 Combination Pushbutton-Rotary Module" }, { 0x09f30048, "LGTII - Landing Gear and Trim Control Module" }, { 0x09f30064, "MCPPro - Airliner Mode Control Panel (Autopilot)" }, { 0x09f30300, "EFIS - Electronic Flight Information System" }, { 0x09f50168, "Network Adapter" }, { 0x09f50188, "LAN Adapter" }, { 0x09f50850, "Adapter" }, { 0x09fb6001, "Blaster" }, { 0x0a050001, "Hub" }, { 0x0a057211, "hub" }, { 0x0a070064, "ADU100 Data Acquisition Interface" }, { 0x0a070078, "ADU120 Data Acquisition Interface" }, { 0x0a070082, "ADU130 Data Acquisition Interface" }, { 0x0a0700c8, "ADU200 Relay I/O Interface" }, { 0x0a0700d0, "ADU208 Relay I/O Interface" }, { 0x0a0700da, "ADU218 Solid-State Relay I/O Interface" }, { 0x0a0d2514, "CTS-1000 Internal Hub" }, { 0x0a120001, "Bluetooth Dongle (HCI mode)" }, { 0x0a120002, "Frontline Test Equipment Bluetooth Device" }, { 0x0a120003, "Nanosira" }, { 0x0a120004, "Nanosira WHQL Reference Radio" }, { 0x0a120005, "Nanosira-Multimedia" }, { 0x0a120006, "Nanosira-Multimedia WHQL Reference Radio" }, { 0x0a120007, "Nanosira3-ROM" }, { 0x0a120008, "Nanosira3-ROM" }, { 0x0a120009, "Nanosira4-EDR WHQL Reference Radio" }, { 0x0a12000a, "Nanosira4-EDR-ROM" }, { 0x0a12000b, "Nanosira5-ROM" }, { 0x0a120042, "SPI Converter" }, { 0x0a120043, "Bluetooth Device" }, { 0x0a120100, "Casira with BlueCore2-External Module" }, { 0x0a120101, "Casira with BlueCore2-Flash Module" }, { 0x0a120102, "Casira with BlueCore3-Multimedia Module" }, { 0x0a120103, "Casira with BlueCore3-Flash Module" }, { 0x0a120104, "Casira with BlueCore4-External Module" }, { 0x0a120105, "Casira with BlueCore4-Multimedia Module" }, { 0x0a121000, "Bluetooth Dongle (HID proxy mode)" }, { 0x0a121010, "Bluetooth Device" }, { 0x0a121011, "Bluetooth Device" }, { 0x0a121012, "Bluetooth Device" }, { 0x0a12ffff, "USB Bluetooth Device in DFU State" }, { 0x0a161111, "ThumbDrive" }, { 0x0a168888, "IBM USB Memory Key" }, { 0x0a169988, "Trek2000 TD-G2" }, { 0x0a170004, "Optio 330" }, { 0x0a170006, "Optio S / S4" }, { 0x0a170007, "Optio 550" }, { 0x0a170009, "Optio 33WR" }, { 0x0a17000a, "Optio 555" }, { 0x0a17000c, "Optio 43WR (mass storage mode)" }, { 0x0a17000d, "Pentax Optio 43WR" }, { 0x0a170015, "Optio S40/S5i" }, { 0x0a17003b, "Optio 50 (mass storage mode)" }, { 0x0a17003d, "Optio S55" }, { 0x0a170041, "Optio S5z" }, { 0x0a170043, "*ist DL" }, { 0x0a170047, "Optio S60" }, { 0x0a170052, "Optio 60 Digital Camera" }, { 0x0a17006e, "K10D" }, { 0x0a170070, "K100D" }, { 0x0a170093, "K200D" }, { 0x0a1700a7, "Optio E50" }, { 0x0a1700f7, "Pentax Optio W90" }, { 0x0a171001, "EI2000 Camera powered by Digita!" }, { 0x0a218001, "MMT-7305WW [Medtronic Minimed CareLink]" }, { 0x0a270102, "SP35" }, { 0x0a2c0008, "GPIO Ports" }, { 0x0a340101, "TG82tp" }, { 0x0a340110, "Deck 82-key backlit keyboard" }, { 0x0a35002a, "SAC - Software Assigned Controller" }, { 0x0a35008a, "SAC Hub" }, { 0x0a3a0163, "KN-W510U 1.0 Wireless LAN Adapter" }, { 0x0a460268, "ST268" }, { 0x0a466688, "ZT6688 Fast Ethernet Adapter" }, { 0x0a468515, "ADMtek ADM8515 NIC" }, { 0x0a469000, "DM9000E Fast Ethernet Adapter" }, { 0x0a469601, "DM9601 Fast Ethernet Adapter" }, { 0x0a483233, "Multimedia Card Reader" }, { 0x0a483239, "Multimedia Card Reader" }, { 0x0a483258, "Dane Elec zMate SD Reader" }, { 0x0a483259, "Dane Elec zMate CF Reader" }, { 0x0a485000, "MediaGear xD-SM" }, { 0x0a48500a, "Mass Storage Device" }, { 0x0a48500f, "Mass Storage Device" }, { 0x0a485010, "Mass Storage Device" }, { 0x0a485011, "Mass Storage Device" }, { 0x0a485014, "Mass Storage Device" }, { 0x0a485020, "Mass Storage Device" }, { 0x0a485021, "Mass Storage Device" }, { 0x0a485022, "Mass Storage Device" }, { 0x0a485023, "Mass Storage Device" }, { 0x0a485024, "Mass Storage Device" }, { 0x0a485025, "Mass Storage Device" }, { 0x0a4aa400, "AUDIO JUNCTION 2.0" }, { 0x0a4c15d9, "OPTICAL MOUSE" }, { 0x0a4d0064, "MK-225 Driver" }, { 0x0a4d0065, "MK-225C Driver" }, { 0x0a4d0066, "MK-225C Driver" }, { 0x0a4d0067, "MK-425C Driver" }, { 0x0a4d0078, "MK-37 Driver" }, { 0x0a4d0079, "MK-37C Driver" }, { 0x0a4d007a, "MK-37C Driver" }, { 0x0a4d008c, "TerraTec MIDI MASTER" }, { 0x0a4d008d, "MK-249C Driver" }, { 0x0a4d008e, "MK-249C MIDI Keyboard" }, { 0x0a4d008f, "MK-449C Driver" }, { 0x0a4d0090, "Keystation 49e Driver" }, { 0x0a4d0091, "Keystation 61es Driver" }, { 0x0a4d00a0, "MK-361 Driver" }, { 0x0a4d00a1, "MK-361C Driver" }, { 0x0a4d00a2, "MK-361C Driver" }, { 0x0a4d00a3, "MK-461C MIDI Keyboard" }, { 0x0a4d00b5, "Keystation Pro 88 Driver" }, { 0x0a4d00d2, "E-Keys Driver" }, { 0x0a4d00f0, "UC-16 Driver" }, { 0x0a4d00f1, "X-Session Driver" }, { 0x0a4d00f5, "UC-33e MIDI Controller" }, { 0x0a531000, "Scanner" }, { 0x0a532000, "Q-Scan A6 Scanner" }, { 0x0a532001, "Q-Scan A6 Scanner" }, { 0x0a532013, "Media Drive A6 Scanner" }, { 0x0a532014, "Media Drive A6 Scanner" }, { 0x0a532015, "BizCardReader 600C" }, { 0x0a532016, "BizCardReader 600C" }, { 0x0a53202a, "Scanshell-CSSN" }, { 0x0a533000, "Q-Scan A8 Scanner" }, { 0x0a533002, "Q-Scan A8 Reader" }, { 0x0a533015, "BizCardReader 300G" }, { 0x0a53302a, "LM9832 - PA570 Mini Business Card Scanner [Targus]" }, { 0x0a535001, "BizCardReader 900C" }, { 0x0a5c0201, "iLine10(tm) Network Adapter" }, { 0x0a5c0bdc, "802.11a/b/g/n/ac Wireless Adapter" }, { 0x0a5c2000, "Bluetooth Device" }, { 0x0a5c2001, "Bluetooth Device" }, { 0x0a5c2009, "BCM2035 Bluetooth" }, { 0x0a5c200a, "BCM2035 Bluetooth dongle" }, { 0x0a5c200f, "Bluetooth Controller" }, { 0x0a5c201d, "Bluetooth Device" }, { 0x0a5c201e, "IBM Integrated Bluetooth IV" }, { 0x0a5c2020, "Bluetooth dongle" }, { 0x0a5c2021, "BCM2035B3 Bluetooth Adapter" }, { 0x0a5c2033, "BCM2033 Bluetooth" }, { 0x0a5c2035, "BCM2035 Bluetooth" }, { 0x0a5c2038, "Blutonium Device" }, { 0x0a5c2039, "BCM2045 Bluetooth" }, { 0x0a5c2045, "Bluetooth Controller" }, { 0x0a5c2046, "Bluetooth Device" }, { 0x0a5c2047, "Bluetooth Device" }, { 0x0a5c205e, "Bluetooth Device" }, { 0x0a5c2100, "Bluetooth 2.0+eDR dongle" }, { 0x0a5c2101, "BCM2045 Bluetooth" }, { 0x0a5c2102, "ANYCOM Blue USB-200/250" }, { 0x0a5c2110, "BCM2045B (BDC-2) [Bluetooth Controller]" }, { 0x0a5c2111, "ANYCOM Blue USB-UHE 200/250" }, { 0x0a5c2120, "2045 Bluetooth 2.0 USB-UHE Device with trace filter" }, { 0x0a5c2121, "BCM2210 Bluetooth" }, { 0x0a5c2122, "Bluetooth 2.0+EDR dongle" }, { 0x0a5c2123, "Bluetooth dongle" }, { 0x0a5c2130, "2045 Bluetooth 2.0 USB-UHE Device with trace filter" }, { 0x0a5c2131, "2045 Bluetooth 2.0 Device with trace filter" }, { 0x0a5c2145, "BCM2045B (BDC-2.1) [Bluetooth Controller]" }, { 0x0a5c2148, "BCM92046DG-CL1ROM Bluetooth 2.1 Adapter" }, { 0x0a5c2150, "BCM2046 Bluetooth Device" }, { 0x0a5c2151, "Bluetooth" }, { 0x0a5c2154, "BCM92046DG-CL1ROM Bluetooth 2.1 UHE Dongle" }, { 0x0a5c216a, "BCM43142A0 Bluetooth" }, { 0x0a5c216c, "BCM43142A0 Bluetooth Device" }, { 0x0a5c216d, "BCM43142A0 Bluetooth 4.0" }, { 0x0a5c216f, "BCM20702A0 Bluetooth" }, { 0x0a5c217d, "HP Bluethunder" }, { 0x0a5c217f, "BCM2045B (BDC-2.1)" }, { 0x0a5c2198, "Bluetooth 3.0 Device" }, { 0x0a5c219b, "Bluetooth 2.1 Device" }, { 0x0a5c21b1, "HP Bluetooth Module" }, { 0x0a5c21b4, "BCM2070 Bluetooth 2.1 + EDR" }, { 0x0a5c21b9, "BCM2070 Bluetooth 2.1 + EDR" }, { 0x0a5c21ba, "BCM2070 Bluetooth 2.1 + EDR" }, { 0x0a5c21bb, "BCM2070 Bluetooth 2.1 + EDR" }, { 0x0a5c21bc, "BCM2070 Bluetooth 2.1 + EDR" }, { 0x0a5c21bd, "BCM2070 Bluetooth 2.1 + EDR" }, { 0x0a5c21d7, "BCM43142 Bluetooth 4.0" }, { 0x0a5c21e1, "HP Portable SoftSailing" }, { 0x0a5c21e3, "HP Portable Valentine" }, { 0x0a5c21e6, "BCM20702 Bluetooth 4.0 [ThinkPad]" }, { 0x0a5c21e8, "BCM20702A0 Bluetooth 4.0" }, { 0x0a5c21ec, "BCM20702A0 Bluetooth 4.0" }, { 0x0a5c21f1, "HP Portable Bumble Bee" }, { 0x0a5c22be, "BCM2070 Bluetooth 3.0 + HS" }, { 0x0a5c4500, "BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)" }, { 0x0a5c4502, "Keyboard (Boot Interface Subclass)" }, { 0x0a5c4503, "Mouse (Boot Interface Subclass)" }, { 0x0a5c5800, "BCM5880 Secure Applications Processor" }, { 0x0a5c5801, "BCM5880 Secure Applications Processor with fingerprint swipe sensor" }, { 0x0a5c5802, "BCM5880 Secure Applications Processor with fingerprint touch sensor" }, { 0x0a5c5803, "BCM5880 Secure Applications Processor with secure keyboard" }, { 0x0a5c5804, "BCM5880 Secure Applications Processor with fingerprint swipe sensor" }, { 0x0a5c6300, "Pirelli Remote NDIS Device" }, { 0x0a5c6410, "BCM20703A1 Bluetooth 4.1 + LE" }, { 0x0a5cbd11, "BCM4320 802.11bg Wireless Adapter" }, { 0x0a5cbd12, "BCM4326U 802.11bg Wireless Adapter" }, { 0x0a5cbd13, "BCM4323 802.11abgn Wireless Adapter" }, { 0x0a5cbd16, "BCM4319 802.11bgn Wireless Adapter" }, { 0x0a5cbd17, "BCM43236 802.11abgn Wireless Adapter" }, { 0x0a5cbd1d, "BCM43526 802.11a/b/g/n/ac (2x2) Wireless Adapter" }, { 0x0a5cbd1e, "BCM43143 802.11bgn (1x1) Wireless Adapter" }, { 0x0a5cbd1f, "BCM43242 802.11abgn Wireless Adapter" }, { 0x0a5cd11b, "Eminent EM4045 [Broadcom 4320 USB]" }, { 0x0a5f0009, "LP2844 Printer" }, { 0x0a5f0050, "P120i / WM120i" }, { 0x0a5f0080, "GK420d Label Printer" }, { 0x0a5f0081, "GK420t Label Printer" }, { 0x0a5f0084, "GX420d Desktop Label Printer" }, { 0x0a5f008b, "HC100 wristbands Printer" }, { 0x0a5f008c, "ZP 450 Printer" }, { 0x0a5f00d1, "Zebra GC420d Label Printer" }, { 0x0a5f0110, "ZD500 Desktop Label Printer" }, { 0x0a5f930a, "Printer" }, { 0x0a620010, "MPMan MP-F40 MP3 Player" }, { 0x0a6b0001, "Compact Flash R/W with MP3 player" }, { 0x0a6b000f, "FlashDisk" }, { 0x0a6f0400, "Xanboo" }, { 0x0a710001, "VP485 Printer" }, { 0x0a730002, "XD-2 [Spike]" }, { 0x0a810101, "Keyboard" }, { 0x0a810103, "Keyboard" }, { 0x0a810203, "Mouse" }, { 0x0a810205, "PS/2 Keyboard+Mouse Adapter" }, { 0x0a810701, "USB Missile Launcher" }, { 0x0a81ff01, "Wireless Missile Launcher" }, { 0x0a824600, "TravelScan 460/464" }, { 0x0a826605, "ScanShell 800N" }, { 0x0a890001, "Guardant Stealth/Net" }, { 0x0a890002, "Guardant ID" }, { 0x0a890003, "Guardant Stealth 2" }, { 0x0a890004, "Rutoken" }, { 0x0a890005, "Guardant Fidus" }, { 0x0a890006, "Guardant Stealth 3" }, { 0x0a890007, "Guardant Stealth 2" }, { 0x0a890008, "Guardant Stealth 3 Sign/Time" }, { 0x0a890009, "Guardant Code" }, { 0x0a89000a, "Guardant Sign Pro" }, { 0x0a89000b, "Guardant Sign Pro HID" }, { 0x0a89000c, "Guardant Stealth 3 Sign/Time" }, { 0x0a89000d, "Guardant Code HID" }, { 0x0a89000f, "Guardant System Firmware Update" }, { 0x0a890020, "Rutoken S" }, { 0x0a890025, "Rutoken lite" }, { 0x0a890026, "Rutoken lite HID" }, { 0x0a89002a, "Rutoken Mass Storage" }, { 0x0a89002b, "Guardant Mass Storage" }, { 0x0a890030, "Rutoken ECP" }, { 0x0a890040, "Rutoken ECP HID" }, { 0x0a890060, "Rutoken Magistra" }, { 0x0a890061, "Rutoken Magistra" }, { 0x0a890069, "Reader" }, { 0x0a890080, "Rutoken PinPad Ex" }, { 0x0a890081, "Rutoken PinPad In" }, { 0x0a890082, "Rutoken PinPad 2" }, { 0x0a8e2011, "Filter Driver For JAE XMC R/W" }, { 0x0a913801, "Targus PAKP003 Mouse" }, { 0x0a920011, "SYS WaveTerminal U2A" }, { 0x0a920021, "GIGAPort" }, { 0x0a920031, "GIGAPortAG" }, { 0x0a920053, "AudioTrak Optoplay" }, { 0x0a920061, "Waveterminal U24" }, { 0x0a920071, "MAYA EX7" }, { 0x0a920091, "Maya 44" }, { 0x0a9200b1, "MAYA EX5" }, { 0x0a921000, "MIDI Mate" }, { 0x0a921010, "RoMI/O" }, { 0x0a921020, "M4U" }, { 0x0a921030, "M8U" }, { 0x0a921090, "KeyControl49" }, { 0x0a9210a0, "KeyControl25" }, { 0x0a930002, "C-Pen 10" }, { 0x0a930005, "MyPen Light" }, { 0x0a93000d, "Input Pen" }, { 0x0a930010, "C-Pen 20" }, { 0x0a930a93, "PayPen" }, { 0x0a9dff40, "Xiaomi MI 9 M1902F1G or POCO X3 Pro (MTP)" }, { 0x0aa50002, "irock! 500 Series" }, { 0x0aa50801, "MP3 Player" }, { 0x0aa60101, "Hercules Jukebox" }, { 0x0aa61501, "Store 'n' Go HD Drive" }, { 0x0aa63011, "Tevion MD 81488" }, { 0x0aa66021, "Disney MixMax" }, { 0x0aa69601, "MyMusix PD-6070" }, { 0x0aa69702, "Perception Digital, Ltd Gigaware GX400" }, { 0x0aa70100, "POS Keyboard, TA58P-USB" }, { 0x0aa70101, "POS Keyboard, TA85P-USB" }, { 0x0aa70102, "POS Keyboard, TA59-USB" }, { 0x0aa70103, "POS Keyboard, TA60-USB" }, { 0x0aa70104, "SNIkey Keyboard, SNIKey-KB-USB" }, { 0x0aa70200, "Operator Display, BA63-USB" }, { 0x0aa70201, "Operator Display, BA66-USB" }, { 0x0aa70202, "Operator Display & Scanner, XiCheck-BA63" }, { 0x0aa70203, "Operator Display & Scanner, XiCheck-BA66" }, { 0x0aa70204, "Graphics Operator Display, BA63GV" }, { 0x0aa70300, "POS Printer (printer class mode), TH210" }, { 0x0aa70301, "POS Printer (native mode), TH210" }, { 0x0aa70302, "POS Printer (printer class mode), TH220" }, { 0x0aa70303, "POS Printer (native mode), TH220" }, { 0x0aa70304, "POS Printer, TH230" }, { 0x0aa70305, "Lottery Printer, XiPrintPlus" }, { 0x0aa70306, "POS Printer (printer class mode), TH320" }, { 0x0aa70307, "POS Printer (native mode), TH320" }, { 0x0aa70308, "POS Printer (printer class mode), TH420" }, { 0x0aa70309, "POS Printer (native mode), TH420" }, { 0x0aa7030a, "POS Printer, TH200B" }, { 0x0aa70400, "Lottery Scanner, Xiscan S" }, { 0x0aa70401, "Lottery Scanner, Xiscan 3" }, { 0x0aa70402, "Programmable Magnetic Swipe Card Reader, MSRP-USB" }, { 0x0aa70500, "IDE Adapter" }, { 0x0aa70501, "Hub Printer Interface" }, { 0x0aa70502, "Hub SNIKey Keyboard" }, { 0x0aa74304, "Banking Printer TP07" }, { 0x0aa74305, "Banking Printer TP07c" }, { 0x0aa74500, "WN Central Special Electronics" }, { 0x0aa80060, "TG 11Mbps WLAN Mini Adapter" }, { 0x0aa81001, "DreamComboM4100" }, { 0x0aa83002, "InkJet Color Printer" }, { 0x0aa88001, "TG_iMON" }, { 0x0aa88002, "TG_KLOSS" }, { 0x0aa8a001, "TG_X2" }, { 0x0aa8a002, "TGVFD_KLOSS" }, { 0x0aa8ffda, "iMON_VFD" }, { 0x0aa9f01b, "Medion MD 6242 MP3 Player" }, { 0x0aad0003, "NRP-Z21" }, { 0x0aad000c, "NRP-Z11" }, { 0x0aad0013, "NRP-Z22" }, { 0x0aad0014, "NRP-Z23" }, { 0x0aad0015, "NRP-Z24" }, { 0x0aad0016, "NRP-Z51" }, { 0x0aad0017, "NRP-Z52" }, { 0x0aad0018, "NRP-Z55" }, { 0x0aad0019, "NRP-Z56" }, { 0x0aad0021, "NRP-Z91" }, { 0x0aad0023, "NRP-Z81" }, { 0x0aad002c, "NRP-Z31" }, { 0x0aad002d, "NRP-Z37" }, { 0x0aad002f, "NRP-Z27" }, { 0x0aad0051, "NRP-Z28" }, { 0x0aad0052, "NRP-Z98" }, { 0x0aad0062, "NRP-Z92" }, { 0x0aad0070, "NRP-Z57" }, { 0x0aad0083, "NRP-Z85" }, { 0x0aad0095, "NRP-Z86" }, { 0x0aad0117, "HMF / HMP / HMS-X / HMO series Oscilloscopes" }, { 0x0aad0118, "HMF / HMP / HMS-X / HMO series Oscilloscopes" }, { 0x0aad0119, "HMF / HMP / HMS-X / HMO series Oscilloscopes" }, { 0x0ab10002, "OBID RFID-Reader" }, { 0x0ab10004, "OBID classic-pro" }, { 0x0aba8001, "Tracker 110 Protocol Analyzer" }, { 0x0aba8002, "Explorer 200 Protocol Analyzer" }, { 0x0abe0101, "SL1200 DAC" }, { 0x0abf3370, "I2C/SPI Adapter - U2C-12" }, { 0x0ac80301, "Web Camera" }, { 0x0ac80302, "ZC0302 Webcam" }, { 0x0ac80321, "Vimicro generic vc0321 Camera" }, { 0x0ac80323, "Luxya WC-1200 USB 2.0 Webcam" }, { 0x0ac80328, "A4Tech PK-130MG" }, { 0x0ac80336, "Elecom UCAM-DLQ30" }, { 0x0ac8301b, "ZC0301 Webcam" }, { 0x0ac8303b, "ZC0303 Webcam" }, { 0x0ac8305b, "ZC0305 Webcam" }, { 0x0ac8307b, "USB 1.1 Webcam" }, { 0x0ac8332d, "Vega USB 2.0 Camera" }, { 0x0ac83343, "Sirius USB 2.0 Camera" }, { 0x0ac83370, "Traveler TV 6500 SF Dia-scanner" }, { 0x0ac83420, "Venus USB2.0 Camera" }, { 0x0ac8c001, "Sony embedded vimicro Camera" }, { 0x0ac8c002, "Visual Communication Camera VGP-VCC1" }, { 0x0ac8c302, "Vega USB 2.0 Camera" }, { 0x0ac8c303, "Saturn USB 2.0 Camera" }, { 0x0ac8c326, "Namuga 1.3M Webcam" }, { 0x0ac8c33f, "Webcam" }, { 0x0ac8c412, "Lenovo IdeaCentre Web Camera" }, { 0x0ac8c429, "Lenovo ThinkCentre Web Camera" }, { 0x0ac8c42d, "Lenovo IdeaCentre Web Camera" }, { 0x0ac90000, "Backpack CD-ReWriter" }, { 0x0ac90001, "BACKPACK 2 Cable" }, { 0x0ac90010, "BACKPACK" }, { 0x0ac90011, "Backpack 40GB Hard Drive" }, { 0x0ac90110, "BACKPACK" }, { 0x0ac90111, "BackPack" }, { 0x0ac91234, "BACKPACK" }, { 0x0aca1060, "OPEN NT1 Plus II" }, { 0x0acd0300, "IDT1221U RS-232 Adapter" }, { 0x0acd0401, "Spectrum III Hybrid Smartcard Reader" }, { 0x0acd0630, "Spectrum III Mag-Only Insert Reader (SPT3-355 Series) USB-CDC" }, { 0x0acd0810, "SecurePIN (IDPA-506100Y) PIN Pad" }, { 0x0acd2030, "ValueMag Magnetic Stripe Reader" }, { 0x0acd3710, "ViVOpay Kiosk III" }, { 0x0ace1201, "ZD1201 802.11b" }, { 0x0ace1211, "ZD1211 802.11g" }, { 0x0ace1215, "ZD1211B 802.11g" }, { 0x0ace1221, "ZD1221 802.11n" }, { 0x0ace1602, "ZyXEL Omni FaxModem 56K" }, { 0x0ace1608, "ZyXEL Omni FaxModem 56K UNO" }, { 0x0ace1611, "ZyXEL Omni FaxModem 56K Plus" }, { 0x0ace2011, "Virtual media for 802.11bg" }, { 0x0ace20ff, "Virtual media for 802.11bg" }, { 0x0acea211, "ZD1211 802.11b/g Wireless Adapter" }, { 0x0aceb215, "802.11bg" }, { 0x0ada0005, "DK2" }, { 0x0aec2101, "SmartMedia Card Reader" }, { 0x0aec2102, "CompactFlash Card Reader" }, { 0x0aec2103, "MMC/SD Card Reader" }, { 0x0aec2104, "MemoryStick Card Reader" }, { 0x0aec2201, "SmartMedia+CompactFlash Card Reader" }, { 0x0aec2202, "SmartMedia+MMC/SD Card Reader" }, { 0x0aec2203, "SmartMedia+MemoryStick Card Reader" }, { 0x0aec2204, "CompactFlash+MMC/SD Card Reader" }, { 0x0aec2205, "CompactFlash+MemoryStick Card Reader" }, { 0x0aec2206, "MMC/SD+MemoryStick Card Reader" }, { 0x0aec2301, "SmartMedia+CompactFlash+MMC/SD Card Reader" }, { 0x0aec2302, "SmartMedia+CompactFlash+MemoryStick Card Reader" }, { 0x0aec2303, "SmartMedia+MMC/SD+MemoryStick Card Reader" }, { 0x0aec2304, "CompactFlash+MMC/SD+MemoryStick Card Reader" }, { 0x0aec3016, "MMC/SD+Memory Stick Card Reader" }, { 0x0aec3050, "ND3050 8-in-1 Card Reader" }, { 0x0aec3060, "1.1 FS Card Reader" }, { 0x0aec3101, "MMC/SD Card Reader" }, { 0x0aec3102, "MemoryStick Card Reader" }, { 0x0aec3201, "MMC/SD+MemoryStick Card Reader" }, { 0x0aec3216, "HS Card Reader" }, { 0x0aec3260, "7-in-1 Card Reader" }, { 0x0aec5010, "ND5010 Card Reader" }, { 0x0af05000, "UMTS Card" }, { 0x0af06000, "GlobeTrotter 3G datacard" }, { 0x0af06300, "GT 3G Quad UMTS/GPRS Card" }, { 0x0af06600, "GlobeTrotter 3G+ datacard" }, { 0x0af06711, "GlobeTrotter Express 7.2 v2" }, { 0x0af06971, "Globetrotter HSDPA Modem" }, { 0x0af07251, "Globetrotter HSUPA Modem (aka iCON HSUPA E)" }, { 0x0af07501, "Globetrotter HSUPA Modem (icon 411 aka \"Vodafone K3760\")" }, { 0x0af07601, "Globetrotter MO40x 3G Modem (GTM 382)" }, { 0x0af07701, "Globetrotter HSUPA Modem (aka icon 451)" }, { 0x0af0d055, "Globetrotter GI0505 [iCON 505]" }, { 0x0af70101, "Digital TV USB Receiver (DVB-S/T/C / ATSC)" }, { 0x0af90010, "USB SightCam 100" }, { 0x0af90011, "Micro Innovations IC50C Webcam" }, { 0x0afa07d2, "Controller Board for Projected Capacitive Touch Screen DUS3000" }, { 0x0b050001, "MeMO Pad HD 7 (CD-ROM mode)" }, { 0x0b050301, "MyPal A696 GPS PDA" }, { 0x0b051101, "Mass Storage (UISDMC4S)" }, { 0x0b051706, "WL-167G v1 802.11g Adapter [Ralink RT2571]" }, { 0x0b051707, "WL-167G v1 802.11g Adapter [Ralink RT2571]" }, { 0x0b051708, "Mass Storage Device" }, { 0x0b05170b, "Multi card reader" }, { 0x0b05170c, "WL-159g 802.11bg [ZyDAS ZD1211B+AL2230]" }, { 0x0b05170d, "802.11b/g Wireless Network Adapter" }, { 0x0b051712, "BT-183 Bluetooth 2.0+EDR adapter" }, { 0x0b051715, "2045 Bluetooth 2.0 Device with trace filter" }, { 0x0b051716, "Bluetooth Device" }, { 0x0b051717, "WL169gE 802.11g Adapter [Broadcom 4320 USB]" }, { 0x0b05171b, "A9T wireless 802.11bg" }, { 0x0b05171c, "802.11b/g Wireless Network Adapter" }, { 0x0b05171f, "My Cinema U3000 Mini [DiBcom DiB7700P]" }, { 0x0b051723, "WL-167G v2 802.11g Adapter [Ralink RT2571W]" }, { 0x0b051724, "RT2573" }, { 0x0b051726, "Laptop OLED Display" }, { 0x0b05172a, "802.11n Network Adapter" }, { 0x0b05172b, "802.11n Network Adapter" }, { 0x0b051731, "802.11n Network Adapter" }, { 0x0b051732, "802.11n Network Adapter" }, { 0x0b051734, "AF-200" }, { 0x0b05173c, "BT-183 Bluetooth 2.0" }, { 0x0b05173f, "My Cinema U3100 Mini" }, { 0x0b051742, "802.11n Network Adapter" }, { 0x0b051743, "Xonar U1 Audio Station" }, { 0x0b051751, "BT-253 Bluetooth Adapter" }, { 0x0b05175b, "Laptop OLED Display" }, { 0x0b051760, "802.11n Network Adapter" }, { 0x0b051761, "USB-N11 802.11n Network Adapter [Ralink RT2870]" }, { 0x0b051774, "Gobi Wireless Modem (QDL mode)" }, { 0x0b051776, "Gobi Wireless Modem" }, { 0x0b051779, "My Cinema U3100 Mini Plus [AF9035A]" }, { 0x0b051784, "USB-N13 802.11n Network Adapter (rev. A1) [Ralink RT3072]" }, { 0x0b051786, "USB-N10 802.11n Network Adapter [Realtek RTL8188SU]" }, { 0x0b051788, "BT-270 Bluetooth Adapter" }, { 0x0b051791, "WL-167G v3 802.11n Adapter [Realtek RTL8188SU]" }, { 0x0b05179c, "Bluetooth Adapter" }, { 0x0b05179d, "USB-N53 802.11abgn Network Adapter [Ralink RT3572]" }, { 0x0b05179e, "Eee Note EA800 (network mode)" }, { 0x0b05179f, "Eee Note EA800 (tablet mode)" }, { 0x0b0517a0, "Xonar U3 sound card" }, { 0x0b0517a1, "Eee Note EA800 (mass storage mode)" }, { 0x0b0517ab, "USB-N13 802.11n Network Adapter (rev. B1) [Realtek RTL8192CU]" }, { 0x0b0517ba, "N10 Nano 802.11n Network Adapter [Realtek RTL8192CU]" }, { 0x0b0517c2, "ROG Spitfire" }, { 0x0b0517c7, "WL-330NUL" }, { 0x0b0517c9, "USB-AC53 802.11a/b/g/n/ac Wireless Adapter [Broadcom BCM43526]" }, { 0x0b0517cb, "Broadcom BCM20702A0 Bluetooth" }, { 0x0b0517d1, "AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]" }, { 0x0b0517d2, "USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]" }, { 0x0b0517d3, "USB-N10 v2 802.11b/g/n Wireless Adapter [MediaTek MT7601U]" }, { 0x0b0517db, "USB-AC50 802.11a/b/g/n/ac (1x1) Wireless Adapter [MediaTek MT7610U]" }, { 0x0b0517e8, "USB-N14 802.11b/g/n (2x2) Wireless Adapter [Ralink RT5372]" }, { 0x0b0517eb, "USB-AC55 802.11a/b/g/n/ac Wireless Adapter [MediaTek MT7612U]" }, { 0x0b0517f5, "Xonar U5 sound card" }, { 0x0b05180a, "Broadcom BCM20702 Single-Chip Bluetooth 4.0 + LE" }, { 0x0b051817, "USB-AC68 802.11a/b/g/n/ac (4x4) Wireless Adapter [Realtek RTL8814AU]" }, { 0x0b051825, "Qualcomm Bluetooth 4.1" }, { 0x0b0518f0, "Realtek 8188EUS [USB-N10 Nano]" }, { 0x0b052008, "Asus Zenfone Go (ZC500TG)" }, { 0x0b054c80, "Asus TF300 Transformer (MTP)" }, { 0x0b054c81, "Asus TF300 Transformer (MTP+ADB)" }, { 0x0b054c90, "Asus TF700 Transformer (MTP)" }, { 0x0b054c91, "Asus TF700 Transformer (MTP+ADB)" }, { 0x0b054ca0, "Asus TF701T Transformer Pad (MTP)" }, { 0x0b054ca1, "Asus TF701T Transformer Pad (MTP+ADB)" }, { 0x0b054cc0, "Asus ME302KL MeMo Pad FHD10 (MTP)" }, { 0x0b054cc1, "Asus ME302KL MeMo Pad FHD10 (MTP+ADB)" }, { 0x0b054cd0, "Asus ME301T MeMo Pad Smart 10 (MTP)" }, { 0x0b054cd1, "Asus ME301T MeMo Pad Smart 10 (MTP+ADB)" }, { 0x0b054ce0, "Asus Asus Fonepad Note 6 (MTP)" }, { 0x0b054ce1, "Asus Asus Fonepad Note 6 (MTP+ADB)" }, { 0x0b054d00, "Asus TF201 Transformer Prime (keyboard dock)" }, { 0x0b054d01, "Asus TF201 Transformer Prime (tablet only)" }, { 0x0b054daf, "Transformer Pad Infinity TF700 (Fastboot)" }, { 0x0b054e00, "Asus SL101 (MTP)" }, { 0x0b054e01, "Asus SL101 (MTP+ADB)" }, { 0x0b054e0f, "Asus TF101 Eeepad Transformer (MTP)" }, { 0x0b054e1f, "Asus TF101 Eeepad Transformer (MTP+ADB)" }, { 0x0b05514f, "Asus Fonepad" }, { 0x0b055200, "Asus PadFone (MTP)" }, { 0x0b055201, "Asus PadFone (MTP+ADB)" }, { 0x0b05520f, "Asus ME302C MemoPad (MTP+?)" }, { 0x0b055210, "Asus PadFone 2 (MTP)" }, { 0x0b055211, "Asus PadFone 2 (MTP+ADB)" }, { 0x0b055214, "Asus PadFone 2 (PTP)" }, { 0x0b05521f, "Asus ME302C MemoPad (MTP)" }, { 0x0b055220, "Asus PadFone Infinity (2nd ID) (MTP)" }, { 0x0b055221, "Asus PadFone Infinity (2nd ID) (MTP+ADB)" }, { 0x0b055230, "Asus PadFone Infinity (MTP)" }, { 0x0b055231, "Asus PadFone Infinity (MTP+ADB)" }, { 0x0b055400, "Asus Memo ME172V (MTP)" }, { 0x0b05540f, "Asus Fonepad 7 LTE ME372CL (MTP)" }, { 0x0b055410, "Asus Memo ME173X (MTP)" }, { 0x0b055411, "Asus Memo ME173X (MTP+ADB)" }, { 0x0b055412, "MeMO Pad HD 7 (PTP mode)" }, { 0x0b05541f, "Asus Fonepad 7 LTE ME372CL (MTP+ADB)" }, { 0x0b055460, "Asus Memo K00F (MTP)" }, { 0x0b055466, "Asus Memo Pad 8 (MTP)" }, { 0x0b055468, "Asus Memo K00F (MTP+ADB)" }, { 0x0b055480, "Asus ZenFone 5 (MTP)" }, { 0x0b055481, "Asus ZenFone 5 (MTP+ADB)" }, { 0x0b055490, "Asus ZenFone 6 (MTP)" }, { 0x0b055491, "Asus ZenFone 6 (MTP+ADB)" }, { 0x0b055500, "Asus K010 (MTP)" }, { 0x0b055506, "Asus MemoPad 7 (MTP+ADB)" }, { 0x0b05550f, "Asus K00E (MTP+ADB)" }, { 0x0b055561, "Asus MemoPad 8 ME181 CX (MTP)" }, { 0x0b055600, "Asus Zenfone 2 (MTP)" }, { 0x0b055601, "Asus Z00AD (MTP)" }, { 0x0b05561f, "Asus TX201LA (MTP)" }, { 0x0b05580f, "Asus ZenFone 4 (MTP)" }, { 0x0b05581f, "Asus ZenFone 4 A400CG (MTP)" }, { 0x0b05590f, "Asus ASUS FonePad 8 FE380CG (MTP)" }, { 0x0b055a0f, "Asus A450CG (MTP)" }, { 0x0b055e0f, "Asus ZenPad 80 (MTP)" }, { 0x0b055f02, "Asus Zenfone 2 ZE550ML (MTP)" }, { 0x0b055f03, "Asus Zenfone 2 ZE551ML (MTP)" }, { 0x0b05600f, "Asus Zenpad 10" }, { 0x0b056101, "Cable Modem" }, { 0x0b05610f, "Asus Zenfone V (MTP)" }, { 0x0b05620a, "Remote NDIS Device" }, { 0x0b057770, "Asus ME581CL" }, { 0x0b057772, "Asus MemoPad 7 (ME572CL)" }, { 0x0b057773, "Asus Fonepad 7 (FE375CXG)" }, { 0x0b057774, "Zenfone GO (ZB500KL) (RNDIS mode)" }, { 0x0b057775, "Zenfone GO (ZB500KL) (Debug, RNDIS mode)" }, { 0x0b057776, "Zenfone GO (ZB500KL) (PTP mode)" }, { 0x0b057777, "Zenfone GO (ZB500KL) (Debug, PTP mode)" }, { 0x0b057780, "Asus ZenFone 5 A500KL (MTP)" }, { 0x0b057781, "Asus ZenFone 5 A500KL (MTP+ADB)" }, { 0x0b05b700, "Broadcom Bluetooth 2.1" }, { 0x0b0b106e, "Datamax E-4304" }, { 0x0b0c0009, "Todos Argos Mini II Smart Card Reader" }, { 0x0b0c001e, "e.dentifier2 (ABN AMRO electronic banking card reader NL)" }, { 0x0b0c002e, "C200 smartcard controller (Nordea card reader)" }, { 0x0b0c003f, "Todos C400 smartcard controller (Handelsbanken card reader)" }, { 0x0b0c0050, "Argos Mini II Smart Card Reader (CCID)" }, { 0x0b0d0000, "CenturyCD" }, { 0x0b0e0305, "Jabra EVOLVE Link MS" }, { 0x0b0e0311, "Jabra EVOLVE 65" }, { 0x0b0e0312, "enc060:Buttons Volume up/down/mute + phone [Jabra]" }, { 0x0b0e0343, "Jabra UC VOICE 150a" }, { 0x0b0e0348, "Jabra UC VOICE 550a MS" }, { 0x0b0e034c, "Jabra UC Voice 750 MS" }, { 0x0b0e034d, "Jabra UC VOICE 750" }, { 0x0b0e0410, "Jabra SPEAK 410" }, { 0x0b0e0420, "Jabra SPEAK 510" }, { 0x0b0e0422, "Jabra SPEAK 510 USB" }, { 0x0b0e0933, "Jabra Freeway" }, { 0x0b0e094d, "GN Netcom / Jabra REVO Wireless" }, { 0x0b0e1017, "Jabra PRO 930" }, { 0x0b0e1022, "Jabra PRO 9450, Type 9400BS (DECT Headset)" }, { 0x0b0e1041, "Jabra PRO 9460" }, { 0x0b0e1900, "Jabra Biz 1900" }, { 0x0b0e2007, "GN 2000 Stereo Corded Headset" }, { 0x0b0e2456, "Jabra SPEAK 810" }, { 0x0b0e245e, "Jabra Link 370" }, { 0x0b0e620c, "Jabra BT620s" }, { 0x0b0e9330, "Jabra GN9330 Headset" }, { 0x0b0ea346, "Jabra Engage 75 Stereo" }, { 0x0b0ea50a, "Alienware Wireless Gaming Headset AW988" }, { 0x0b0f0400, "DNxID" }, { 0x0b1e8007, "Blackhawk USB560-BP JTAG Emulator" }, { 0x0b20ddee, "Isabella Her Prototype" }, { 0x0b28100c, "Kenwood Media Keg HD10GB7 Sport Player" }, { 0x0b300006, "SM Media-Shuttle Card Reader" }, { 0x0b330020, "ShuttleXpress" }, { 0x0b330030, "ShuttlePro v2" }, { 0x0b330401, "RollerMouse Free 2" }, { 0x0b330700, "RollerMouse Pro" }, { 0x0b3308a0, "Perfit Mouse" }, { 0x0b331000, "RollerMouse Red" }, { 0x0b331010, "Vidamic Technomouse IQ" }, { 0x0b380003, "Keyboard" }, { 0x0b380010, "107-Key Keyboard" }, { 0x0b390001, "Composite USB PS2 Converter" }, { 0x0b390109, "USB TO Ethernet" }, { 0x0b390421, "Serial" }, { 0x0b390801, "USB-Parallel Bridge" }, { 0x0b390901, "OCT To Fast Ethernet Converter" }, { 0x0b390c03, "LAN DOCK Serial Converter" }, { 0x0b3b0163, "TL-WN320G 1.0 WLAN Adapter" }, { 0x0b3b1601, "Allnet 0193 802.11b Adapter" }, { 0x0b3b1602, "ZyXEL ZyAIR B200 802.11b Adapter" }, { 0x0b3b1612, "AIR.Mate 2@net 802.11b Adapter" }, { 0x0b3b1613, "802.11b Wireless LAN Adapter" }, { 0x0b3b1620, "Allnet Wireless Network Adapter [Envara WiND512]" }, { 0x0b3b1630, "QuickWLAN 802.11bg" }, { 0x0b3b5630, "802.11bg" }, { 0x0b3b6630, "ZD1211" }, { 0x0b3ca010, "Simple_Way Printer/Scanner/Copier" }, { 0x0b3cc000, "Olicard 100" }, { 0x0b3cc700, "Olicard 100 (Mass Storage mode)" }, { 0x0b410011, "Crossam2+USB IR commander" }, { 0x0b430003, "PS2 Controller Converter" }, { 0x0b430005, "GameCube Adaptor" }, { 0x0b481003, "Technotrend/Hauppauge USB-Nova" }, { 0x0b481004, "TT-PCline" }, { 0x0b481005, "Technotrend/Hauppauge USB-Nova" }, { 0x0b481006, "Technotrend/Hauppauge DEC3000-s" }, { 0x0b481007, "TT-micro plus Device" }, { 0x0b481008, "Technotrend/Hauppauge DEC2000-t" }, { 0x0b481009, "Technotrend/Hauppauge DEC2540-t" }, { 0x0b483001, "DVB-S receiver" }, { 0x0b483002, "DVB-C receiver" }, { 0x0b483003, "DVB-T receiver" }, { 0x0b483004, "TT TV-Stick" }, { 0x0b483005, "TT TV-Stick (8kB EEPROM)" }, { 0x0b483006, "TT-connect S-2400 DVB-S receiver" }, { 0x0b483007, "TT-connect S2-3600" }, { 0x0b483008, "TT-connect" }, { 0x0b483009, "TT-connect S-2400 DVB-S receiver (8kB EEPROM)" }, { 0x0b48300a, "TT-connect S2-3650 CI" }, { 0x0b48300b, "TT-connect C-3650 CI" }, { 0x0b48300c, "TT-connect T-3650 CI" }, { 0x0b48300d, "TT-connect CT-3650 CI" }, { 0x0b48300e, "TT-connect C-2400" }, { 0x0b483011, "TT-connect S2-4600" }, { 0x0b483012, "TT-connect CT2-4650 CI" }, { 0x0b483014, "TT-TVStick CT2-4400" }, { 0x0b483015, "TT-connect CT2-4650 CI" }, { 0x0b483017, "TT-connect S2-4650 CI" }, { 0x0b49064f, "Trance Vibrator" }, { 0x0b4b0100, "D'music MP3 Player" }, { 0x0b4d110a, "Graphtec CC200-20" }, { 0x0b4d1123, "Electronic Cutting Tool [Silhouette Portrait]" }, { 0x0b4e6500, "MP3 Player" }, { 0x0b4e8028, "MP3 Player" }, { 0x0b4e8920, "MP3 Player" }, { 0x0b510020, "Comfort Keyboard" }, { 0x0b62000b, "Bluetooth Device" }, { 0x0b620059, "iBOT2 Webcam" }, { 0x0b660041, "Xtreme" }, { 0x0b67555e, "SCB-R9000" }, { 0x0b6aa132, "WUP-005 [Nintendo Wii U Pro Controller]" }, { 0x0b7000ba, "iRiver H10 20GB" }, { 0x0b7a07d0, "Bluetooth Dongle" }, { 0x0b810001, "Biothentic II smartcard reader with fingerprint sensor" }, { 0x0b810002, "DFU-Enabled Devices (DFU)" }, { 0x0b810012, "BioPAD biometric module (DFU + CDC)" }, { 0x0b810102, "Certis V1 fingerprint reader" }, { 0x0b810103, "Certis V2 fingerprint reader" }, { 0x0b810200, "CL1356T / CL1356T5 / CL1356A smartcard readers (CCID)" }, { 0x0b810201, "CL1356T / CL1356T5 / CL1356A smartcard readers (DFU + CCID)" }, { 0x0b810220, "CL1356A FFPJP smartcard reader (CCID + HID)" }, { 0x0b810221, "CL1356A smartcard reader (DFU + CCID + HID)" }, { 0x0b865100, "XMC5100 Zippy Drive" }, { 0x0b865110, "XMC5110 Flash Drive" }, { 0x0b865200, "XMC5200 Zippy Drive" }, { 0x0b865201, "XMC5200 Zippy Drive" }, { 0x0b865202, "XMC5200 Zippy Drive" }, { 0x0b865280, "XMC5280 Storage Drive" }, { 0x0b86fff0, "ISP5200 Debugger" }, { 0x0b8c0001, "Interactive Whiteboard Controller (SB6) (HID)" }, { 0x0b8c00c3, "Sympodium ID350" }, { 0x0b951720, "10/100 Ethernet" }, { 0x0b951780, "AX88178" }, { 0x0b951790, "AX88179 Gigabit Ethernet" }, { 0x0b956802, "AX68002 KVM Switch SoC" }, { 0x0b957720, "AX88772" }, { 0x0b95772a, "AX88772A Fast Ethernet" }, { 0x0b95772b, "AX88772B" }, { 0x0b957e2b, "AX88772B Fast Ethernet Controller" }, { 0x0b977732, "Smart Card Reader" }, { 0x0b977761, "Oz776 1.1 Hub" }, { 0x0b977762, "Oz776 SmartCard Reader" }, { 0x0b977772, "OZ776 CCID Smartcard Reader" }, { 0x0b9b4012, "Reflex RC-controller Interface" }, { 0x0baf00e5, "USR6000" }, { 0x0baf00eb, "USR1120 802.11b Adapter" }, { 0x0baf00ec, "56K Faxmodem" }, { 0x0baf00f1, "SureConnect ADSL ATM Adapter" }, { 0x0baf00f2, "SureConnect ADSL Loader" }, { 0x0baf00f5, "SureConnect ADSL ATM Adapter" }, { 0x0baf00f6, "SureConnect ADSL Loader" }, { 0x0baf00f7, "SureConnect ADSL ATM Adapter" }, { 0x0baf00f8, "SureConnect ADSL Loader" }, { 0x0baf00f9, "SureConnect ADSL ATM Adapter" }, { 0x0baf00fa, "SureConnect ADSL Loader" }, { 0x0baf00fb, "SureConnect ADSL Ethernet/USB Router" }, { 0x0baf0111, "USR5420 802.11g Adapter [Broadcom 4320 USB]" }, { 0x0baf0118, "U5 802.11g Adapter" }, { 0x0baf011b, "Wireless MAXg Adapter [Broadcom 4320]" }, { 0x0baf0121, "USR5423 802.11bg Wireless Adapter [ZyDAS ZD1211B]" }, { 0x0baf0303, "USR5637 56K Faxmodem" }, { 0x0baf6112, "FaxModem Model 5633" }, { 0x0bb00100, "Sound Vision Stream" }, { 0x0bb05007, "3340z/Rollei DC3100" }, { 0x0bb20302, "U10H010 802.11b Wireless Adapter [Intersil PRISM 3]" }, { 0x0bb26098, "USB Cable Modem" }, { 0x0bb40001, "Android Phone via mass storage [Wiko Cink Peax 2]" }, { 0x0bb400ce, "mmO2 XDA GSM/GPRS Pocket PC" }, { 0x0bb400cf, "SPV C500 Smart Phone" }, { 0x0bb40306, "Vive Hub Bluetooth 4.1 (Broadcom BCM920703)" }, { 0x0bb40401, "HTC M9" }, { 0x0bb4040b, "HTC One M9 (1st ID)" }, { 0x0bb405e3, "HTC Spreadtrum SH57MYZ03342 (MTP)" }, { 0x0bb405f0, "HTC Desire 626G (MTP)" }, { 0x0bb405fd, "HTC Desire 510 (MTP+ADB)" }, { 0x0bb4060b, "HTC One M8 Google Play Edition (MTP+ADB)" }, { 0x0bb4061a, "HTC HTC One M8 (MTP+ADB)" }, { 0x0bb40629, "HTC One Mini 2 (MTP)" }, { 0x0bb4065c, "HTC One M9 (2nd ID)" }, { 0x0bb40668, "HTC Desire 626s (MTP)" }, { 0x0bb40670, "HTC HTC Desire 520" }, { 0x0bb407a1, "HTC HTC X920E" }, { 0x0bb407ae, "HTC HTC One (HTC6500LVW)" }, { 0x0bb407ca, "HTC HTC One M8 (HTC6525LVW)" }, { 0x0bb407cb, "HTC HTC One M8 (Verizon) (HTC6525LVW)" }, { 0x0bb407d8, "HTC HTC6515LVW/One Remix" }, { 0x0bb407d9, "HTC HTC One Remix (HTC6515LVW)" }, { 0x0bb40a01, "PocketPC Sync" }, { 0x0bb40a02, "Himalaya GSM/GPRS Pocket PC" }, { 0x0bb40a03, "PocketPC Sync" }, { 0x0bb40a04, "PocketPC Sync" }, { 0x0bb40a05, "PocketPC Sync" }, { 0x0bb40a06, "PocketPC Sync" }, { 0x0bb40a07, "Magician PocketPC SmartPhone / O2 XDA" }, { 0x0bb40a08, "PocketPC Sync" }, { 0x0bb40a09, "PocketPC Sync" }, { 0x0bb40a0a, "PocketPC Sync" }, { 0x0bb40a0b, "PocketPC Sync" }, { 0x0bb40a0c, "PocketPC Sync" }, { 0x0bb40a0d, "PocketPC Sync" }, { 0x0bb40a0e, "PocketPC Sync" }, { 0x0bb40a0f, "PocketPC Sync" }, { 0x0bb40a10, "PocketPC Sync" }, { 0x0bb40a11, "PocketPC Sync" }, { 0x0bb40a12, "PocketPC Sync" }, { 0x0bb40a13, "PocketPC Sync" }, { 0x0bb40a14, "PocketPC Sync" }, { 0x0bb40a15, "PocketPC Sync" }, { 0x0bb40a16, "PocketPC Sync" }, { 0x0bb40a17, "PocketPC Sync" }, { 0x0bb40a18, "PocketPC Sync" }, { 0x0bb40a19, "PocketPC Sync" }, { 0x0bb40a1a, "PocketPC Sync" }, { 0x0bb40a1b, "PocketPC Sync" }, { 0x0bb40a1c, "PocketPC Sync" }, { 0x0bb40a1d, "PocketPC Sync" }, { 0x0bb40a1e, "PocketPC Sync" }, { 0x0bb40a1f, "PocketPC Sync" }, { 0x0bb40a20, "PocketPC Sync" }, { 0x0bb40a21, "PocketPC Sync" }, { 0x0bb40a22, "PocketPC Sync" }, { 0x0bb40a23, "PocketPC Sync" }, { 0x0bb40a24, "PocketPC Sync" }, { 0x0bb40a25, "PocketPC Sync" }, { 0x0bb40a26, "PocketPC Sync" }, { 0x0bb40a27, "PocketPC Sync" }, { 0x0bb40a28, "PocketPC Sync" }, { 0x0bb40a29, "PocketPC Sync" }, { 0x0bb40a2a, "PocketPC Sync" }, { 0x0bb40a2b, "PocketPC Sync" }, { 0x0bb40a2c, "PocketPC Sync" }, { 0x0bb40a2d, "PocketPC Sync" }, { 0x0bb40a2e, "PocketPC Sync" }, { 0x0bb40a2f, "PocketPC Sync" }, { 0x0bb40a30, "PocketPC Sync" }, { 0x0bb40a31, "PocketPC Sync" }, { 0x0bb40a32, "PocketPC Sync" }, { 0x0bb40a33, "PocketPC Sync" }, { 0x0bb40a34, "PocketPC Sync" }, { 0x0bb40a35, "PocketPC Sync" }, { 0x0bb40a36, "PocketPC Sync" }, { 0x0bb40a37, "PocketPC Sync" }, { 0x0bb40a38, "PocketPC Sync" }, { 0x0bb40a39, "PocketPC Sync" }, { 0x0bb40a3a, "PocketPC Sync" }, { 0x0bb40a3b, "PocketPC Sync" }, { 0x0bb40a3c, "PocketPC Sync" }, { 0x0bb40a3d, "PocketPC Sync" }, { 0x0bb40a3e, "PocketPC Sync" }, { 0x0bb40a3f, "PocketPC Sync" }, { 0x0bb40a40, "PocketPC Sync" }, { 0x0bb40a41, "PocketPC Sync" }, { 0x0bb40a42, "PocketPC Sync" }, { 0x0bb40a43, "PocketPC Sync" }, { 0x0bb40a44, "PocketPC Sync" }, { 0x0bb40a45, "PocketPC Sync" }, { 0x0bb40a46, "PocketPC Sync" }, { 0x0bb40a47, "PocketPC Sync" }, { 0x0bb40a48, "PocketPC Sync" }, { 0x0bb40a49, "PocketPC Sync" }, { 0x0bb40a4a, "PocketPC Sync" }, { 0x0bb40a4b, "PocketPC Sync" }, { 0x0bb40a4c, "PocketPC Sync" }, { 0x0bb40a4d, "PocketPC Sync" }, { 0x0bb40a4e, "PocketPC Sync" }, { 0x0bb40a4f, "PocketPC Sync" }, { 0x0bb40a50, "SmartPhone (MTP)" }, { 0x0bb40a51, "SPV C400 / T-Mobile SDA GSM/GPRS Pocket PC" }, { 0x0bb40a52, "SmartPhone Sync" }, { 0x0bb40a53, "SmartPhone Sync" }, { 0x0bb40a54, "SmartPhone Sync" }, { 0x0bb40a55, "SmartPhone Sync" }, { 0x0bb40a56, "SmartPhone Sync" }, { 0x0bb40a57, "SmartPhone Sync" }, { 0x0bb40a58, "SmartPhone Sync" }, { 0x0bb40a59, "SmartPhone Sync" }, { 0x0bb40a5a, "SmartPhone Sync" }, { 0x0bb40a5b, "SmartPhone Sync" }, { 0x0bb40a5c, "SmartPhone Sync" }, { 0x0bb40a5d, "SmartPhone Sync" }, { 0x0bb40a5e, "SmartPhone Sync" }, { 0x0bb40a5f, "SmartPhone Sync" }, { 0x0bb40a60, "SmartPhone Sync" }, { 0x0bb40a61, "SmartPhone Sync" }, { 0x0bb40a62, "SmartPhone Sync" }, { 0x0bb40a63, "SmartPhone Sync" }, { 0x0bb40a64, "SmartPhone Sync" }, { 0x0bb40a65, "SmartPhone Sync" }, { 0x0bb40a66, "SmartPhone Sync" }, { 0x0bb40a67, "SmartPhone Sync" }, { 0x0bb40a68, "SmartPhone Sync" }, { 0x0bb40a69, "SmartPhone Sync" }, { 0x0bb40a6a, "SmartPhone Sync" }, { 0x0bb40a6b, "SmartPhone Sync" }, { 0x0bb40a6c, "SmartPhone Sync" }, { 0x0bb40a6d, "SmartPhone Sync" }, { 0x0bb40a6e, "SmartPhone Sync" }, { 0x0bb40a6f, "SmartPhone Sync" }, { 0x0bb40a70, "SmartPhone Sync" }, { 0x0bb40a71, "SmartPhone Sync" }, { 0x0bb40a72, "SmartPhone Sync" }, { 0x0bb40a73, "SmartPhone Sync" }, { 0x0bb40a74, "SmartPhone Sync" }, { 0x0bb40a75, "SmartPhone Sync" }, { 0x0bb40a76, "SmartPhone Sync" }, { 0x0bb40a77, "SmartPhone Sync" }, { 0x0bb40a78, "SmartPhone Sync" }, { 0x0bb40a79, "SmartPhone Sync" }, { 0x0bb40a7a, "SmartPhone Sync" }, { 0x0bb40a7b, "SmartPhone Sync" }, { 0x0bb40a7c, "SmartPhone Sync" }, { 0x0bb40a7d, "SmartPhone Sync" }, { 0x0bb40a7e, "SmartPhone Sync" }, { 0x0bb40a7f, "SmartPhone Sync" }, { 0x0bb40a80, "SmartPhone Sync" }, { 0x0bb40a81, "SmartPhone Sync" }, { 0x0bb40a82, "SmartPhone Sync" }, { 0x0bb40a83, "SmartPhone Sync" }, { 0x0bb40a84, "SmartPhone Sync" }, { 0x0bb40a85, "SmartPhone Sync" }, { 0x0bb40a86, "SmartPhone Sync" }, { 0x0bb40a87, "SmartPhone Sync" }, { 0x0bb40a88, "SmartPhone Sync" }, { 0x0bb40a89, "SmartPhone Sync" }, { 0x0bb40a8a, "SmartPhone Sync" }, { 0x0bb40a8b, "SmartPhone Sync" }, { 0x0bb40a8c, "SmartPhone Sync" }, { 0x0bb40a8d, "SmartPhone Sync" }, { 0x0bb40a8e, "SmartPhone Sync" }, { 0x0bb40a8f, "SmartPhone Sync" }, { 0x0bb40a90, "SmartPhone Sync" }, { 0x0bb40a91, "SmartPhone Sync" }, { 0x0bb40a92, "SmartPhone Sync" }, { 0x0bb40a93, "SmartPhone Sync" }, { 0x0bb40a94, "SmartPhone Sync" }, { 0x0bb40a95, "SmartPhone Sync" }, { 0x0bb40a96, "SmartPhone Sync" }, { 0x0bb40a97, "SmartPhone Sync" }, { 0x0bb40a98, "SmartPhone Sync" }, { 0x0bb40a99, "SmartPhone Sync" }, { 0x0bb40a9a, "SmartPhone Sync" }, { 0x0bb40a9b, "SmartPhone Sync" }, { 0x0bb40a9c, "SmartPhone Sync" }, { 0x0bb40a9d, "SmartPhone Sync" }, { 0x0bb40a9e, "SmartPhone Sync" }, { 0x0bb40a9f, "SmartPhone Sync" }, { 0x0bb40b03, "Ozone Mobile Broadband" }, { 0x0bb40b04, "Hermes / TyTN / T-Mobile MDA Vario II / O2 Xda Trion" }, { 0x0bb40b05, "P3600" }, { 0x0bb40b06, "Athena / Advantage x7500 / Dopod U1000 / T-Mobile AMEO" }, { 0x0bb40b0c, "Elf / Touch / P3450 / T-Mobile MDA Touch / O2 Xda Nova / Dopod S1" }, { 0x0bb40b1f, "Sony Ericsson XPERIA X1" }, { 0x0bb40b2f, "Rhodium" }, { 0x0bb40b51, "Qtek 8310 mobile phone [Tornado Noble]" }, { 0x0bb40ba1, "HTC Windows Phone 8X ID1" }, { 0x0bb40ba2, "HTC Windows Phone 8X ID2" }, { 0x0bb40bce, "Vario MDA" }, { 0x0bb40c01, "Dream / ADP1 / G1 / Magic / Tattoo / FP1" }, { 0x0bb40c02, "HTC Android Device ID1 (Zopo, HD2, Bird...)" }, { 0x0bb40c03, "Android Phone [Fairphone First Edition (FP1)]" }, { 0x0bb40c08, "DEXP Ixion XL145 Snatch" }, { 0x0bb40c13, "Diamond" }, { 0x0bb40c1f, "Sony Ericsson XPERIA X1" }, { 0x0bb40c5f, "Snap" }, { 0x0bb40c86, "Sensation" }, { 0x0bb40c87, "Desire (debug)" }, { 0x0bb40c8d, "EVO 4G (debug)" }, { 0x0bb40c91, "Vision" }, { 0x0bb40c93, "HTC EVO 4G LTE/One V (ID1)" }, { 0x0bb40c94, "Vision" }, { 0x0bb40c97, "Legend" }, { 0x0bb40c99, "Desire (debug)" }, { 0x0bb40c9e, "Incredible" }, { 0x0bb40ca2, "Desire HD (debug mode)" }, { 0x0bb40ca5, "Android Phone [Evo Shift 4G]" }, { 0x0bb40ca8, "HTC EVO 4G LTE/One V (ID2)" }, { 0x0bb40cab, "Desire / Desire HD / Hero / Thunderbolt (HTC Sync Mode)" }, { 0x0bb40cae, "T-Mobile MyTouch 4G Slide [Doubleshot]" }, { 0x0bb40cec, "HTC HTC One S (ID1)" }, { 0x0bb40dcd, "HTC One Mini (ID1)" }, { 0x0bb40dd2, "HTC HTC One 802w (ID1)" }, { 0x0bb40dd5, "HTC HTC Desire X" }, { 0x0bb40dda, "HTC HTC One (ID1)" }, { 0x0bb40de4, "HTC HTC Butterfly X290d" }, { 0x0bb40de5, "One (M7)" }, { 0x0bb40dea, "HTC HTC One (MTP+UMS+ADB)" }, { 0x0bb40df5, "HTC HTC Evo 4G LTE (ID1)" }, { 0x0bb40df8, "HTC HTC One S (ID2)" }, { 0x0bb40df9, "HTC HTC One S (ID3)" }, { 0x0bb40dfa, "HTC HTC One X (ID1)" }, { 0x0bb40dfb, "HTC HTC One X (ID2)" }, { 0x0bb40dfc, "HTC HTC One X (ID3)" }, { 0x0bb40dfd, "HTC HTC One X (ID4)" }, { 0x0bb40dfe, "HTC HTC Butterfly (ID1)" }, { 0x0bb40dff, "HTC Droid DNA (MTP+UMS+ADB)" }, { 0x0bb40e31, "HTC HTC Droid Incredible 4G LTE (MTP)" }, { 0x0bb40e32, "HTC HTC Droid Incredible 4G LTE (MTP+ADB)" }, { 0x0bb40ebd, "HTC Droid DNA (MTP+UMS)" }, { 0x0bb40ec6, "HTC Desire 310 (MTP)" }, { 0x0bb40ec7, "HTC Desire 310 (2nd id) (MTP)" }, { 0x0bb40edb, "HTC Desire 816G (MTP)" }, { 0x0bb40edd, "HTC Desire 626G Dual Sim (MTP)" }, { 0x0bb40f25, "HTC HTC One M8 (MTP)" }, { 0x0bb40f26, "HTC HTC One U11 (MTP)" }, { 0x0bb40f5f, "HTC HTC One (MTP+ADB+CDC)" }, { 0x0bb40f60, "HTC HTC One (MTP+CDC)" }, { 0x0bb40f63, "HTC HTC One (MTP+ADB)" }, { 0x0bb40f64, "HTC HTC One (MTP)" }, { 0x0bb40f87, "HTC HTC One (MTP+ADB+?)" }, { 0x0bb40f91, "HTC HTC One (ID3)" }, { 0x0bb40fb4, "HTC HTC One M8 (MTP+ADB+UMS)" }, { 0x0bb40fb5, "HTC HTC One M8 (MTP+UMS)" }, { 0x0bb40ff0, "One Mini (M4)" }, { 0x0bb40ff8, "Desire HD (Tethering Mode)" }, { 0x0bb40ff9, "Desire / Desire HD / Hero / Thunderbolt (Charge Mode)" }, { 0x0bb40ffe, "Desire HD (modem mode)" }, { 0x0bb40fff, "Android Fastboot Bootloader" }, { 0x0bb42008, "HTC Android Device ID2 (Zopo, HD2...)" }, { 0x0bb4200b, "Android Phone via PTP [Wiko Cink Peax 2]" }, { 0x0bb42012, "HTC Motorola Razr D1" }, { 0x0bb4201d, "HTC Motorola P98 4G" }, { 0x0bb42134, "Vive Hub (SMSC USB2137B)" }, { 0x0bb42744, "Vive Hub (HTC CB USB2)" }, { 0x0bb42c87, "Vive" }, { 0x0bb44ee1, "HTC One M9 (3rd ID)" }, { 0x0bb44ee2, "HTC One M9 (4th ID)" }, { 0x0bb4685c, "HTC (for Hewlett-Packard) HP Touchpad (MTP)" }, { 0x0bb46860, "HTC (for Hewlett-Packard) HP Touchpad (MTP+ADB)" }, { 0x0bb4f0ca, "HTC Windows Phone 8s ID1" }, { 0x0bc20502, "ST3300601CB-RK 300 GB External Hard Drive" }, { 0x0bc20503, "ST3250824A [Barracuda 7200.9]" }, { 0x0bc22000, "Storage Adapter V3 (TPP)" }, { 0x0bc22100, "FreeAgent Go" }, { 0x0bc22200, "FreeAgent Go FW" }, { 0x0bc22300, "Expansion Portable" }, { 0x0bc2231a, "Expansion Portable" }, { 0x0bc2231c, "Expansion Portable" }, { 0x0bc22320, "USB 3.0 bridge [Portable Expansion Drive]" }, { 0x0bc22321, "Expansion Portable" }, { 0x0bc22322, "SRD0NF1 Expansion Portable (STEA)" }, { 0x0bc22340, "FreeAgent External Hard Drive" }, { 0x0bc23000, "FreeAgent Desktop" }, { 0x0bc23008, "FreeAgent Desk 1TB" }, { 0x0bc23101, "FreeAgent XTreme 640GB" }, { 0x0bc23312, "SRD00F2 Expansion Desktop Drive (STBV)" }, { 0x0bc2331a, "Desktop HDD 5TB (ST5000DM000)" }, { 0x0bc23320, "SRD00F2 [Expansion Desktop Drive]" }, { 0x0bc23322, "SRD0NF2 [Expansion Desktop Drive]" }, { 0x0bc23323, "Seagate RSS LLC" }, { 0x0bc23332, "Expansion" }, { 0x0bc23343, "desktop drive stgy8000400" }, { 0x0bc25020, "FreeAgent GoFlex" }, { 0x0bc25021, "FreeAgent GoFlex USB 2.0" }, { 0x0bc25030, "FreeAgent GoFlex Upgrade Cable STAE104" }, { 0x0bc25031, "FreeAgent GoFlex USB 3.0" }, { 0x0bc25032, "SATA cable" }, { 0x0bc25070, "FreeAgent GoFlex Desk" }, { 0x0bc25071, "FreeAgent GoFlex Desk" }, { 0x0bc250a1, "FreeAgent GoFlex Desk" }, { 0x0bc250a5, "FreeAgent GoFlex Desk USB 3.0" }, { 0x0bc25121, "FreeAgent GoFlex" }, { 0x0bc25161, "FreeAgent GoFlex dock" }, { 0x0bc26126, "Maxtor D3 Station 5TB" }, { 0x0bc261b5, "Maxtor HX-M201TCB [M3 Portable 2TB]" }, { 0x0bc261b6, "Maxtor HX-M101TCB/GM [M3 Portable 1TB]" }, { 0x0bc261b7, "Maxtor M3 Portable" }, { 0x0bc2a003, "Backup Plus" }, { 0x0bc2a0a1, "Backup Plus Desktop" }, { 0x0bc2a0a4, "Backup Plus Desktop Drive" }, { 0x0bc2aa14, "STJ4000400 [Seagate Basic Portable Drive 4TB]" }, { 0x0bc2ab00, "Slim Portable Drive" }, { 0x0bc2ab1e, "Backup Plus Portable Drive" }, { 0x0bc2ab20, "Backup Plus Portable Drive" }, { 0x0bc2ab21, "Backup Plus Slim" }, { 0x0bc2ab24, "Backup Plus Portable Drive" }, { 0x0bc2ab26, "Backup Plus Slim Portable Drive 1 TB" }, { 0x0bc2ab28, "Seagate Backup Plus Portable 5TB SRD00F1" }, { 0x0bc2ab2d, "SRD00F1 [Backup Plus Ultra Slim]" }, { 0x0bc2ab31, "Backup Plus Desktop Drive (5TB)" }, { 0x0bc2ab34, "Backup Plus" }, { 0x0bc2ab38, "Backup Plus Hub (Mass Storage)" }, { 0x0bc2ab44, "Backup Plus Hub" }, { 0x0bc2ac20, "Backup Plus Slim 2TB" }, { 0x0bc30001, "UMTS-TDD (TD-CDMA) modem" }, { 0x0bc70001, "ActiveHome (ACPI-compliant)" }, { 0x0bc70002, "Firecracker Interface (ACPI-compliant)" }, { 0x0bc70003, "VGA Video Sender (ACPI-compliant)" }, { 0x0bc70004, "X10 Receiver" }, { 0x0bc70005, "Wireless Transceiver (ACPI-compliant)" }, { 0x0bc70006, "Wireless Transceiver (ACPI-compliant)" }, { 0x0bc70007, "Wireless Transceiver (ACPI-compliant)" }, { 0x0bc70008, "Wireless Transceiver (ACPI-compliant)" }, { 0x0bc70009, "Wireless Transceiver (ACPI-compliant)" }, { 0x0bc7000a, "Wireless Transceiver (ACPI-compliant)" }, { 0x0bc7000b, "Transceiver (ACPI-compliant)" }, { 0x0bc7000c, "Transceiver (ACPI-compliant)" }, { 0x0bc7000d, "Transceiver (ACPI-compliant)" }, { 0x0bc7000e, "Transceiver (ACPI-compliant)" }, { 0x0bc7000f, "Transceiver (ACPI-compliant)" }, { 0x0bd7a021, "Amptek DP4 multichannel signal analyzer" }, { 0x0bda0103, "USB 2.0 Card Reader" }, { 0x0bda0104, "Mass Storage Device" }, { 0x0bda0106, "Mass Storage Device" }, { 0x0bda0107, "Mass Storage Device" }, { 0x0bda0108, "Mass Storage Device" }, { 0x0bda0109, "microSDXC Card Reader [Hama 00091047]" }, { 0x0bda0111, "RTS5111 Card Reader Controller" }, { 0x0bda0113, "Mass Storage Device" }, { 0x0bda0115, "Mass Storage Device (Multicard Reader)" }, { 0x0bda0116, "RTS5116 Card Reader Controller" }, { 0x0bda0117, "Mass Storage Device" }, { 0x0bda0118, "Mass Storage Device" }, { 0x0bda0119, "Storage Device (SD card reader)" }, { 0x0bda0129, "RTS5129 Card Reader Controller" }, { 0x0bda0138, "RTS5138 Card Reader Controller" }, { 0x0bda0139, "RTS5139 Card Reader Controller" }, { 0x0bda0151, "Mass Storage Device (Multicard Reader)" }, { 0x0bda0152, "Mass Storage Device" }, { 0x0bda0153, "3-in-1 (SD/SDHC/SDXC) Card Reader" }, { 0x0bda0156, "Mass Storage Device" }, { 0x0bda0157, "Mass Storage Device" }, { 0x0bda0158, "USB 2.0 multicard reader" }, { 0x0bda0159, "RTS5159 Card Reader Controller" }, { 0x0bda0161, "Mass Storage Device" }, { 0x0bda0168, "Mass Storage Device" }, { 0x0bda0169, "Mass Storage Device" }, { 0x0bda0171, "Mass Storage Device" }, { 0x0bda0176, "Mass Storage Device" }, { 0x0bda0178, "Mass Storage Device" }, { 0x0bda0179, "RTL8188ETV Wireless LAN 802.11n Network Adapter" }, { 0x0bda0184, "RTS5182 Card Reader" }, { 0x0bda0186, "Card Reader" }, { 0x0bda0301, "multicard reader" }, { 0x0bda0307, "Card Reader" }, { 0x0bda0316, "Card Reader" }, { 0x0bda0326, "Card reader" }, { 0x0bda0411, "Hub" }, { 0x0bda0811, "Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]" }, { 0x0bda0821, "RTL8821A Bluetooth" }, { 0x0bda1724, "RTL8723AU 802.11n WLAN Adapter" }, { 0x0bda1a2b, "RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode)" }, { 0x0bda2831, "RTL2831U DVB-T" }, { 0x0bda2832, "RTL2832U DVB-T" }, { 0x0bda2838, "RTL2838 DVB-T" }, { 0x0bda5401, "RTL 8153 USB 3.0 hub with gigabit ethernet" }, { 0x0bda5411, "RTS5411 Hub" }, { 0x0bda568c, "Integrated Webcam HD" }, { 0x0bda570c, "Asus laptop camera" }, { 0x0bda5730, "HP 2.0MP High Definition Webcam" }, { 0x0bda5751, "Integrated Webcam" }, { 0x0bda5775, "HP \"Truevision HD\" laptop camera" }, { 0x0bda5776, "HP Truevision HD integrated webcam" }, { 0x0bda57b3, "Acer 640 \303\227 480 laptop camera" }, { 0x0bda57cc, "HD Webcam - Realtek Semiconductor" }, { 0x0bda57cf, "HD WebCam" }, { 0x0bda57da, "Built-In Video Camera" }, { 0x0bda58c2, "Integrated Webcam HD" }, { 0x0bda58c8, "Integrated Webcam HD" }, { 0x0bda8150, "RTL8150 Fast Ethernet Adapter" }, { 0x0bda8151, "RTL8151 Adapteon Business Mobile Networks BV" }, { 0x0bda8152, "RTL8152 Fast Ethernet Adapter" }, { 0x0bda8153, "RTL8153 Gigabit Ethernet Adapter" }, { 0x0bda8171, "RTL8188SU 802.11n WLAN Adapter" }, { 0x0bda8172, "RTL8191SU 802.11n WLAN Adapter" }, { 0x0bda8174, "RTL8192SU 802.11n WLAN Adapter" }, { 0x0bda8176, "RTL8188CUS 802.11n WLAN Adapter" }, { 0x0bda8178, "RTL8192CU 802.11n WLAN Adapter" }, { 0x0bda8179, "RTL8188EUS 802.11n Wireless Network Adapter" }, { 0x0bda817f, "RTL8188RU 802.11n WLAN Adapter" }, { 0x0bda8187, "RTL8187 Wireless Adapter" }, { 0x0bda8189, "RTL8187B Wireless 802.11g 54Mbps Network Adapter" }, { 0x0bda818b, "RTL8192EU 802.11b/g/n WLAN Adapter" }, { 0x0bda8192, "RTL8191SU 802.11n Wireless Adapter" }, { 0x0bda8193, "RTL8192DU 802.11an WLAN Adapter" }, { 0x0bda8197, "RTL8187B Wireless Adapter" }, { 0x0bda8198, "RTL8187B Wireless Adapter" }, { 0x0bda8199, "RTL8187SU 802.11g WLAN Adapter" }, { 0x0bda8723, "RTL8723A Bluetooth" }, { 0x0bda8812, "RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter" }, { 0x0bda8813, "RTL8814AU 802.11a/b/g/n/ac Wireless Adapter" }, { 0x0bda881a, "RTL8812AU-VS 802.11a/b/g/n/ac 2T2R DB WLAN Adapter" }, { 0x0bda8821, "RTL8821A Bluetooth" }, { 0x0bda9210, "RTL9210 M.2 NVME Adapter" }, { 0x0bdaa811, "RTL8811AU 802.11a/b/g/n/ac WLAN Adapter" }, { 0x0bdab009, "Realtek Bluetooth 4.2 Adapter" }, { 0x0bdab00a, "Realtek Bluetooth 4.2 Adapter" }, { 0x0bdab00b, "Realtek Bluetooth 4.2 Adapter" }, { 0x0bdab023, "RTL8822BE Bluetooth 4.2 Adapter" }, { 0x0bdab711, "RTL8188GU 802.11n WLAN Adapter (After Modeswitch)" }, { 0x0bdab720, "RTL8723BU 802.11b/g/n WLAN Adapter" }, { 0x0bdab723, "RTL8723B Bluetooth" }, { 0x0bdab728, "RTL8723B Bluetooth" }, { 0x0bdab72a, "RTL8723B Bluetooth" }, { 0x0bdab812, "RTL88x2bu [AC1200 Techkey]" }, { 0x0bdaf179, "RTL8188FTV 802.11b/g/n 1T1R 2.4G WLAN Adapter" }, { 0x0bdb1000, "BV Bluetooth Device" }, { 0x0bdb1002, "Bluetooth Device 1.2" }, { 0x0bdb1049, "C3607w Mobile Broadband Module" }, { 0x0bdb1900, "F3507g Mobile Broadband Module" }, { 0x0bdb1902, "F3507g v2 Mobile Broadband Module" }, { 0x0bdb1904, "F3607gw Mobile Broadband Module" }, { 0x0bdb1905, "F3607gw v2 Mobile Broadband Module" }, { 0x0bdb1906, "F3607gw v3 Mobile Broadband Module" }, { 0x0bdb1909, "F3307 v2 Mobile Broadband Module" }, { 0x0bdb190a, "F3307 Mobile Broadband Module" }, { 0x0bdb190b, "C3607w v2 Mobile Broadband Module" }, { 0x0bdb1926, "H5321 gw Mobile Broadband Module" }, { 0x0bed1100, "CASHFLOW SC" }, { 0x0bed1101, "Series 2000 Combo Acceptor" }, { 0x0bf0c010, "EHD100SD" }, { 0x0bf10001, "netMod Driver Ver 2.4.17 (CAPI)" }, { 0x0bf10002, "netMod Driver Ver 2.4 (CAPI)" }, { 0x0bf10003, "netMod Driver Ver 2.4 (CAPI)" }, { 0x0bf60103, "Storage Device" }, { 0x0bf61234, "Storage Device" }, { 0x0bf6a000, "Cable 205 (TPP)" }, { 0x0bf6a001, "Cable 205" }, { 0x0bf6a002, "IDE Bridge" }, { 0x0bf81001, "Fujitsu Pocket Loox 600 PDA" }, { 0x0bf81006, "SmartCard Reader 2A" }, { 0x0bf81007, "Connect2Air E-5400 802.11g Wireless Adapter" }, { 0x0bf81009, "Connect2Air E-5400 D1700 802.11g Wireless Adapter [Intersil ISL3887]" }, { 0x0bf8100c, "Keyboard FSC KBPC PX" }, { 0x0bf8100f, "miniCard D2301 802.11bg Wireless Module [SiS 163U]" }, { 0x0bf81017, "Keyboard KB SCR" }, { 0x0bf8101f, "Fujitsu Full HD Pro Webcam" }, { 0x0bfb0200, "TURBO iDDR Front Panel" }, { 0x0bfd0004, "USBcan II" }, { 0x0bfd000b, "Leaf Light HS" }, { 0x0bfd000e, "Leaf SemiPro HS" }, { 0x0c001607, "Apex M500" }, { 0x0c080378, "Q 16MB Storage Device" }, { 0x0c09a5a5, "Litto Version USB2.0" }, { 0x0c0a6124, "RocketStor 6124V" }, { 0x0c0b27cb, "6-in-1 Flash Reader and Writer" }, { 0x0c0b27d7, "Multi Memory reader/writer MD-005" }, { 0x0c0b27da, "Multi Memory reader/writer MD-005" }, { 0x0c0b27dc, "Multi Memory reader/writer MD-005" }, { 0x0c0b27e7, "3,5'' HDD case MD-231" }, { 0x0c0b27ee, "3,5'' HDD case MD-231" }, { 0x0c0b2814, "3,5'' HDD case MD-231" }, { 0x0c0b2815, "3,5'' HDD case MD-231" }, { 0x0c0b281d, "3,5'' HDD case MD-231" }, { 0x0c0b5fab, "Storage Adaptor" }, { 0x0c0ba109, "CF/SM Reader and Writer" }, { 0x0c0ba10c, "SD/MS Reader and Writer" }, { 0x0c0bb001, "USB 2.0 Mass Storage IDE adapter" }, { 0x0c0bb004, "MMC/SD Reader and Writer" }, { 0x0c120005, "PSX Vibration Feedback Converter / Intec Wireless Controller for Xbox" }, { 0x0c120030, "PSX Vibration Feedback Converter" }, { 0x0c12700e, "Logic Analyzer (LAP-C-16032)" }, { 0x0c128801, "Nyko Xbox Controller" }, { 0x0c128802, "Xbox Controller" }, { 0x0c128809, "Red Octane Ignition Xbox DDR Pad" }, { 0x0c12880a, "Pelican Eclipse PL-2023" }, { 0x0c128810, "Xbox Controller" }, { 0x0c129902, "VibraX" }, { 0x0c160002, "RF Technology Receiver" }, { 0x0c160003, "RF Technology Receiver" }, { 0x0c160008, "RF Technology Receiver" }, { 0x0c160080, "eHome Infrared Receiver" }, { 0x0c160081, "eHome Infrared Receiver" }, { 0x0c1f1800, "Tango 2E" }, { 0x0c240001, "Bluetooth Adaptor" }, { 0x0c240002, "Bluetooth Device2" }, { 0x0c240005, "Bluetooth Device(BC04-External)" }, { 0x0c24000b, "Bluetooth Device(BC04-External)" }, { 0x0c24000c, "Bluetooth Adaptor" }, { 0x0c24000e, "Bluetooth Device(BC04-External)" }, { 0x0c24000f, "Bluetooth Device (V2.0+EDR)" }, { 0x0c240010, "Bluetooth Device(BC04-External)" }, { 0x0c240012, "Bluetooth Device(BC04-External)" }, { 0x0c240018, "Bluetooth Device(BC04-External)" }, { 0x0c240019, "Bluetooth Device" }, { 0x0c240021, "Bluetooth Device (V2.1+EDR)" }, { 0x0c240c24, "Bluetooth Device(SAMPLE)" }, { 0x0c24ffff, "Bluetooth module with BlueCore in DFU mode" }, { 0x0c250310, "Scream Cam" }, { 0x0c260018, "USB-Serial Controller [Icom Inc. OPC-478UC]" }, { 0x0c26002b, "Icom Inc. IC-R30" }, { 0x0c27232a, "pcProx Plus RFID Reader (CDC serial)" }, { 0x0c273bfa, "pcProx Card Reader" }, { 0x0c2e0007, "Metrologic MS7120 Barcode Scanner (IBM SurePOS mode)" }, { 0x0c2e0200, "MS7120 Barcode Scanner" }, { 0x0c2e0204, "Metrologic MS7120 Barcode Scanner (keyboard mode)" }, { 0x0c2e0206, "Metrologic MS4980 Barcode Scanner" }, { 0x0c2e0700, "Metrologic MS7120 Barcode Scanner (uni-directional serial mode)" }, { 0x0c2e0720, "Metrologic MS7120 Barcode Scanner (bi-directional serial mode)" }, { 0x0c2e0a64, "[Stratos 2700]" }, { 0x0c2e0b61, "Vuquest 3310g" }, { 0x0c2e0b6a, "Vuquest 3310 Area-Imaging Scanner" }, { 0x0c2e0b81, "Barcode scanner Voyager 1400g Series" }, { 0x0c306010, "Kona 1400 Cutting Plotter" }, { 0x0c408000, "2.4GHz receiver" }, { 0x0c440021, "iDEN P2k0 Device" }, { 0x0c440022, "iDEN P2k1 Device" }, { 0x0c4403a2, "iDEN Smartphone" }, { 0x0c4441d9, "i1 phone" }, { 0x0c450011, "EBUDDY" }, { 0x0c450520, "MaxTrack Wireless Mouse" }, { 0x0c451018, "Compact Flash storage memory card reader" }, { 0x0c451020, "Mass Storage Reader" }, { 0x0c451028, "Mass Storage Reader" }, { 0x0c451030, "Mass Storage Reader" }, { 0x0c451031, "Sonix Mass Storage Device" }, { 0x0c451032, "Mass Storage Reader" }, { 0x0c451033, "Sonix Mass Storage Device" }, { 0x0c451034, "Mass Storage Reader" }, { 0x0c451035, "Mass Storage Reader" }, { 0x0c451036, "Mass Storage Reader" }, { 0x0c451037, "Sonix Mass Storage Device" }, { 0x0c451050, "CF Card Reader" }, { 0x0c451058, "HDD Reader" }, { 0x0c451060, "iFlash SM-Direct Card Reader" }, { 0x0c451061, "Mass Storage Reader" }, { 0x0c451062, "Mass Storage Reader" }, { 0x0c451063, "Sonix Mass Storage Device" }, { 0x0c451064, "Mass Storage Reader" }, { 0x0c451065, "Mass Storage Reader" }, { 0x0c451066, "Mass Storage Reader" }, { 0x0c451067, "Mass Storage Reader" }, { 0x0c451158, "A56AK" }, { 0x0c45184c, "VoIP Phone" }, { 0x0c451a90, "2M pixel Microscope Camera (with capture button) [Andonstar V160]" }, { 0x0c455004, "Redragon Mitra RGB Keyboard" }, { 0x0c455101, "2.4G Wireless Device [Rii MX3]" }, { 0x0c456001, "Genius VideoCAM NB" }, { 0x0c456005, "Sweex Mini Webcam" }, { 0x0c456007, "VideoCAM Eye" }, { 0x0c456009, "VideoCAM ExpressII" }, { 0x0c45600d, "TwinkleCam USB camera" }, { 0x0c456011, "PC Camera (SN9C102)" }, { 0x0c456019, "PC Camera (SN9C102)" }, { 0x0c456024, "VideoCAM ExpressII" }, { 0x0c456025, "VideoCAM ExpressII" }, { 0x0c456028, "Typhoon Easycam USB 330K (older)" }, { 0x0c456029, "Triplex i-mini PC Camera" }, { 0x0c45602a, "Meade ETX-105EC Camera" }, { 0x0c45602b, "VideoCAM NB 300" }, { 0x0c45602c, "Clas Ohlson TWC-30XOP Webcam" }, { 0x0c45602d, "VideoCAM ExpressII" }, { 0x0c45602e, "VideoCAM Messenger" }, { 0x0c456030, "VideoCAM ExpressII" }, { 0x0c45603f, "VideoCAM ExpressII" }, { 0x0c456040, "CCD PC Camera (PC390A)" }, { 0x0c45606a, "CCD PC Camera (PC390A)" }, { 0x0c45607a, "CCD PC Camera (PC390A)" }, { 0x0c45607b, "Win2 PC Camera" }, { 0x0c45607c, "CCD PC Camera (PC390A)" }, { 0x0c45607e, "CCD PC Camera (PC390A)" }, { 0x0c456080, "Audio (Microphone)" }, { 0x0c456082, "VideoCAM Look" }, { 0x0c456083, "VideoCAM Look" }, { 0x0c45608c, "VideoCAM Look" }, { 0x0c45608e, "VideoCAM Look" }, { 0x0c45608f, "PC Camera (SN9C103 + OV7630)" }, { 0x0c4560a8, "VideoCAM Look" }, { 0x0c4560aa, "VideoCAM Look" }, { 0x0c4560ab, "PC Camera" }, { 0x0c4560af, "VideoCAM Look" }, { 0x0c4560b0, "Genius VideoCam Look" }, { 0x0c4560c0, "PC Camera with Mic (SN9C105)" }, { 0x0c4560c8, "Win2 PC Camera" }, { 0x0c4560cc, "PC Camera with Mic (SN9C105)" }, { 0x0c4560ec, "PC Camera with Mic (SN9C105)" }, { 0x0c4560ef, "Win2 PC Camera" }, { 0x0c4560fa, "PC Camera with Mic (SN9C105)" }, { 0x0c4560fb, "Composite Device" }, { 0x0c4560fc, "PC Camera with Mic (SN9C105)" }, { 0x0c4560fe, "Audio (Microphone)" }, { 0x0c456108, "Win2 PC Camera" }, { 0x0c456122, "PC Camera (SN9C110)" }, { 0x0c456123, "PC Camera (SN9C110)" }, { 0x0c456128, "PC Camera (SN9C325 + OM6802)" }, { 0x0c45612a, "PC Camera (SN9C325)" }, { 0x0c45612c, "PC Camera (SN9C110)" }, { 0x0c45612e, "PC Camera (SN9C110)" }, { 0x0c45612f, "PC Camera (SN9C110)" }, { 0x0c456130, "PC Camera (SN9C120)" }, { 0x0c456138, "Win2 PC Camera" }, { 0x0c45613a, "PC Camera (SN9C120)" }, { 0x0c45613b, "Win2 PC Camera" }, { 0x0c45613c, "PC Camera (SN9C120)" }, { 0x0c45613e, "PC Camera (SN9C120)" }, { 0x0c456143, "PC Camera (SN9C120 + SP80708)" }, { 0x0c456240, "PC Camera (SN9C201 + MI1300)" }, { 0x0c456242, "PC Camera (SN9C201 + MI1310)" }, { 0x0c456243, "PC Camera (SN9C201 + S5K4AAFX)" }, { 0x0c456248, "PC Camera (SN9C201 + OV9655)" }, { 0x0c45624b, "PC Camera (SN9C201 + CX1332)" }, { 0x0c45624c, "PC Camera (SN9C201 + MI1320)" }, { 0x0c45624e, "PC Camera (SN9C201 + SOI968)" }, { 0x0c45624f, "PC Camera (SN9C201 + OV9650)" }, { 0x0c456251, "PC Camera (SN9C201 + OV9650)" }, { 0x0c456253, "PC Camera (SN9C201 + OV9650)" }, { 0x0c456260, "PC Camera (SN9C201 + OV7670ISP)" }, { 0x0c456262, "PC Camera (SN9C201 + OM6802)" }, { 0x0c456270, "PC Camera (SN9C201 + MI0360/MT9V011 or MI0360SOC/MT9V111) U-CAM PC Camera NE878, Whitcom WHC017, ..." }, { 0x0c45627a, "PC Camera (SN9C201 + S5K53BEB)" }, { 0x0c45627b, "PC Camera (SN9C201 + OV7660)" }, { 0x0c45627c, "PC Camera (SN9C201 + HV7131R)" }, { 0x0c45627f, "PC Camera (SN9C201 + OV965x + EEPROM)" }, { 0x0c456280, "PC Camera with Microphone (SN9C202 + MI1300)" }, { 0x0c456282, "PC Camera with Microphone (SN9C202 + MI1310)" }, { 0x0c456283, "PC Camera with Microphone (SN9C202 + S5K4AAFX)" }, { 0x0c456288, "PC Camera with Microphone (SN9C202 + OV9655)" }, { 0x0c45628a, "PC Camera with Microphone (SN9C202 + ICM107)" }, { 0x0c45628b, "PC Camera with Microphone (SN9C202 + CX1332)" }, { 0x0c45628c, "PC Camera with Microphone (SN9C202 + MI1320)" }, { 0x0c45628e, "PC Camera with Microphone (SN9C202 + SOI968)" }, { 0x0c45628f, "PC Camera with Microphone (SN9C202 + OV9650)" }, { 0x0c4562a0, "PC Camera with Microphone (SN9C202 + OV7670ISP)" }, { 0x0c4562a2, "PC Camera with Microphone (SN9C202 + OM6802)" }, { 0x0c4562b0, "PC Camera with Microphone (SN9C202 + MI0360/MT9V011 or MI0360SOC/MT9V111)" }, { 0x0c4562b3, "PC Camera with Microphone (SN9C202 + OV9655)" }, { 0x0c4562ba, "PC Camera with Microphone (SN9C202 + S5K53BEB)" }, { 0x0c4562bb, "PC Camera with Microphone (SN9C202 + OV7660)" }, { 0x0c4562bc, "PC Camera with Microphone (SN9C202 + HV7131R)" }, { 0x0c4562be, "PC Camera with Microphone (SN9C202 + OV7663)" }, { 0x0c4562c0, "Sonix USB 2.0 Camera" }, { 0x0c4562e0, "MSI Starcam Racer" }, { 0x0c456300, "PC Microscope camera" }, { 0x0c456310, "Sonix USB 2.0 Camera" }, { 0x0c456321, "HP Integrated Webcam" }, { 0x0c456340, "Camera" }, { 0x0c456341, "Defender G-Lens 2577 HD720p Camera" }, { 0x0c456366, "Webcam Vitade AF" }, { 0x0c4563e0, "Sonix Integrated Webcam" }, { 0x0c4563f1, "Integrated Webcam" }, { 0x0c4563f8, "Sonix Integrated Webcam" }, { 0x0c456409, "Webcam" }, { 0x0c456413, "Integrated Webcam" }, { 0x0c456417, "Integrated Webcam" }, { 0x0c456419, "Integrated Webcam" }, { 0x0c45641d, "1.3 MPixel Integrated Webcam" }, { 0x0c456433, "Laptop Integrated Webcam HD (Composite Device)" }, { 0x0c45643f, "Dell Integrated HD Webcam" }, { 0x0c45644d, "1.3 MPixel Integrated Webcam" }, { 0x0c456480, "Sonix 1.3 MP Laptop Integrated Webcam" }, { 0x0c45648b, "Integrated Webcam" }, { 0x0c4564ad, "Dell Laptop Integrated Webcam HD" }, { 0x0c4564bd, "Sony Visual Communication Camera" }, { 0x0c4564d0, "Integrated Webcam" }, { 0x0c4564d2, "Integrated Webcam" }, { 0x0c45651b, "HP Webcam" }, { 0x0c45652f, "Backlit Gaming Keyboard" }, { 0x0c456705, "Integrated HD Webcam" }, { 0x0c45670c, "Integrated Webcam HD" }, { 0x0c456710, "Integrated Webcam" }, { 0x0c456712, "Integrated Webcam HD" }, { 0x0c45671d, "Integrated_Webcam_HD" }, { 0x0c457401, "TEMPer Temperature Sensor" }, { 0x0c457402, "TEMPerHUM Temperature & Humidity Sensor" }, { 0x0c457403, "Foot Switch" }, { 0x0c457404, "Foot switch FS1-P" }, { 0x0c458000, "DC31VC" }, { 0x0c458006, "Dual Mode Camera (8006 VGA)" }, { 0x0c45800a, "Vivitar Vivicam3350B" }, { 0x0c4a0889, "Timy" }, { 0x0c4a088a, "Timy 2" }, { 0x0c4b0100, "cyberJack e-com/pinpad" }, { 0x0c4b0300, "cyberJack pinpad(a)" }, { 0x0c4b0400, "cyberJack e-com(a)" }, { 0x0c4b0401, "cyberJack pinpad(a2)" }, { 0x0c4b0500, "cyberJack RFID standard dual interface smartcard reader" }, { 0x0c4b0501, "cyberJack RFID comfort dual interface smartcard reader" }, { 0x0c4b0502, "cyberJack compact" }, { 0x0c4b0504, "cyberJack go / go plus" }, { 0x0c4b0505, "cyberJack wave" }, { 0x0c4b9102, "cyberJack RFID basis contactless smartcard reader" }, { 0x0c4c0021, "EMP-21 Universal Programmer" }, { 0x0c522101, "SeaLINK+232" }, { 0x0c522102, "SeaLINK+485" }, { 0x0c522103, "SeaLINK+232I" }, { 0x0c522104, "SeaLINK+485I" }, { 0x0c522211, "SeaPORT+2/232 (Port 1)" }, { 0x0c522212, "SeaPORT+2/485 (Port 1)" }, { 0x0c522213, "SeaPORT+2 (Port 1)" }, { 0x0c522221, "SeaPORT+2/232 (Port 2)" }, { 0x0c522222, "SeaPORT+2/485 (Port 2)" }, { 0x0c522223, "SeaPORT+2 (Port 2)" }, { 0x0c522411, "SeaPORT+4/232 (Port 1)" }, { 0x0c522412, "SeaPORT+4/485 (Port 1)" }, { 0x0c522413, "SeaPORT+4 (Port 1)" }, { 0x0c522421, "SeaPORT+4/232 (Port 2)" }, { 0x0c522422, "SeaPORT+4/485 (Port 2)" }, { 0x0c522423, "SeaPORT+4 (Port 2)" }, { 0x0c522431, "SeaPORT+4/232 (Port 3)" }, { 0x0c522432, "SeaPORT+4/485 (Port 3)" }, { 0x0c522433, "SeaPORT+4 (Port 3)" }, { 0x0c522441, "SeaPORT+4/232 (Port 4)" }, { 0x0c522442, "SeaPORT+4/485 (Port 4)" }, { 0x0c522443, "SeaPORT+4 (Port 4)" }, { 0x0c522811, "SeaLINK+8/232 (Port 1)" }, { 0x0c522812, "SeaLINK+8/485 (Port 1)" }, { 0x0c522813, "SeaLINK+8 (Port 1)" }, { 0x0c522821, "SeaLINK+8/232 (Port 2)" }, { 0x0c522822, "SeaLINK+8/485 (Port 2)" }, { 0x0c522823, "SeaLINK+8 (Port 2)" }, { 0x0c522831, "SeaLINK+8/232 (Port 3)" }, { 0x0c522832, "SeaLINK+8/485 (Port 3)" }, { 0x0c522833, "SeaLINK+8 (Port 3)" }, { 0x0c522841, "SeaLINK+8/232 (Port 4)" }, { 0x0c522842, "SeaLINK+8/485 (Port 4)" }, { 0x0c522843, "SeaLINK+8 (Port 4)" }, { 0x0c522851, "SeaLINK+8/232 (Port 5)" }, { 0x0c522852, "SeaLINK+8/485 (Port 5)" }, { 0x0c522853, "SeaLINK+8 (Port 5)" }, { 0x0c522861, "SeaLINK+8/232 (Port 6)" }, { 0x0c522862, "SeaLINK+8/485 (Port 6)" }, { 0x0c522863, "SeaLINK+8 (Port 6)" }, { 0x0c522871, "SeaLINK+8/232 (Port 7)" }, { 0x0c522872, "SeaLINK+8/485 (Port 7)" }, { 0x0c522873, "SeaLINK+8 (Port 7)" }, { 0x0c522881, "SeaLINK+8/232 (Port 8)" }, { 0x0c522882, "SeaLINK+8/485 (Port 8)" }, { 0x0c522883, "SeaLINK+8 (Port 8)" }, { 0x0c529020, "SeaLINK+422" }, { 0x0c52a02a, "SeaLINK+8 (Port 1+2)" }, { 0x0c52a02b, "SeaLINK+8 (Port 3+4)" }, { 0x0c52a02c, "SeaLINK+8 (Port 5+6)" }, { 0x0c52a02d, "SeaLINK+8 (Port 7+8)" }, { 0x0c550510, "Spectrum Digital XDS510 JTAG Debugger" }, { 0x0c550540, "SPI540" }, { 0x0c555416, "TMS320C5416 DSK" }, { 0x0c556416, "TMS320C6416 DDB" }, { 0x0c600001, "MiniMe" }, { 0x0c600002, "MiniDAC" }, { 0x0c600003, "ONE" }, { 0x0c600004, "GiO" }, { 0x0c600007, "Duet" }, { 0x0c600009, "Jam" }, { 0x0c60000a, "Jam Bootloader" }, { 0x0c60000b, "MiC" }, { 0x0c60000c, "MiC Bootloader" }, { 0x0c608007, "Duet DFU Mode" }, { 0x0c6a0005, "Color 320 x 240 LCD Display Terminal with Touchscreen" }, { 0x0c6c04b2, "Specbos 1201" }, { 0x0c700000, "USB08 Development board" }, { 0x0c700747, "Eye Movement Recorder [Visagraph]/[ReadAlyzer]" }, { 0x0c72000c, "PCAN-USB" }, { 0x0c72000d, "PCAN Pro" }, { 0x0c740002, "OL 700-30 Goniometer" }, { 0x0c760001, "Mass Storage Controller" }, { 0x0c760002, "Mass Storage Controller" }, { 0x0c760003, "USBdisk" }, { 0x0c760004, "Mass Storage Controller" }, { 0x0c760005, "Transcend Flash disk" }, { 0x0c760006, "Transcend JetFlash" }, { 0x0c760007, "Mass Storage Device" }, { 0x0c761600, "Ion Quick Play LP turntable" }, { 0x0c761605, "SSS Headphone Set" }, { 0x0c761607, "audio controller" }, { 0x0c765663, "Audio Device" }, { 0x0c771001, "SiPix Web2" }, { 0x0c771002, "SiPix SC2100" }, { 0x0c771010, "SiPix Snap" }, { 0x0c771011, "SiPix Blink 2" }, { 0x0c771015, "SiPix CAMeleon" }, { 0x0c880021, "Handheld" }, { 0x0c8817da, "Qualcomm Kyocera CDMA Technologies MSM" }, { 0x0c8e6000, "Luxian Series" }, { 0x0c94a000, "EPP 1217" }, { 0x0c981140, "USB PC Watchdog" }, { 0x0c9c1511, "BI-1511 Laser Simulator" }, { 0x0c9c1512, "BI-1512 Syncbus Monitor" }, { 0x0c9c1514, "BI-1514 HPC" }, { 0x0c9c1532, "BI-1532 GPC" }, { 0x0c9d0170, "3873 Manual Insert card reader" }, { 0x0ca60010, "EZUSB PC/SC Smart Card Reader" }, { 0x0ca60050, "EZ220PU Reader Controller" }, { 0x0ca61077, "Bludrive Family Smart Card Reader" }, { 0x0ca6107e, "Reader Controller" }, { 0x0ca62010, "myPad110 PC/SC Smart Card Reader" }, { 0x0ca63050, "EZ710 Smart Card Reader" }, { 0x0caa3001, "AT-VT-Kit3 Serial Adapter" }, { 0x0cad1007, "APX Series Consolette" }, { 0x0cad1020, "MOTOTRBO Series Radio (Portable)" }, { 0x0cad1030, "APX Series Radio (Portable)" }, { 0x0cad1031, "APX Series Radio (Mobile)" }, { 0x0cad1602, "IMPRES Battery Data Reader" }, { 0x0cad9001, "PowerPad Pocket PC Device" }, { 0x0caf2507, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x0caf2515, "Flash Disk Embedded Hub" }, { 0x0caf2516, "Flash Disk Security Device" }, { 0x0caf2517, "Flash Disk Mass Storage Device" }, { 0x0caf25c7, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x0caf3a00, "Hard Drive" }, { 0x0caf3a20, "Mass Storage Device" }, { 0x0caf3acd, "Mass Storage Device" }, { 0x0cbc0101, "Pocket PC P6C" }, { 0x0cbc0201, "Personal Digital Assistant" }, { 0x0cbc0301, "Personal Digital Assistant P6M+" }, { 0x0cbc0401, "Pocket PC" }, { 0x0ccd0012, "PHASE 26" }, { 0x0ccd0013, "PHASE 26" }, { 0x0ccd0014, "PHASE 26" }, { 0x0ccd0015, "Flash Update for TerraTec PHASE 26" }, { 0x0ccd0021, "Cameo Grabster 200" }, { 0x0ccd0023, "Mystify Claw" }, { 0x0ccd0028, "Aureon 5.1 MkII" }, { 0x0ccd0032, "MIDI HUBBLE" }, { 0x0ccd0035, "Miditech Play'n Roll" }, { 0x0ccd0036, "Cinergy 250 Audio" }, { 0x0ccd0037, "Cinergy 250 Audio" }, { 0x0ccd0038, "Cinergy T\302\262 DVB-T Receiver" }, { 0x0ccd0039, "Grabster AV 400" }, { 0x0ccd003b, "Cinergy 400" }, { 0x0ccd003c, "Grabster AV 250" }, { 0x0ccd0042, "Cinergy Hybrid T XS" }, { 0x0ccd0043, "Cinergy T XS" }, { 0x0ccd004e, "Cinergy T XS" }, { 0x0ccd004f, "Cinergy Analog XS" }, { 0x0ccd0055, "Cinergy T XE (Version 1, AF9005)" }, { 0x0ccd005c, "Cinergy T\302\262" }, { 0x0ccd0069, "Cinergy T XE (Version 2, AF9015)" }, { 0x0ccd006b, "Cinergy HT PVR (EU)" }, { 0x0ccd0072, "Cinergy Hybrid T" }, { 0x0ccd0077, "Aureon Dual USB" }, { 0x0ccd0078, "Cinergy T XXS" }, { 0x0ccd0086, "Cinergy Hybrid XE" }, { 0x0ccd008e, "Cinergy HTC XS" }, { 0x0ccd0096, "Grabby" }, { 0x0ccd0097, "Cinergy T RC MKII" }, { 0x0ccd0099, "AfaTech 9015 [Cinergy T Stick Dual]" }, { 0x0ccd00a5, "Cinergy Hybrid Stick" }, { 0x0ccd00a9, "RTL2838 DVB-T COFDM Demodulator [TerraTec Cinergy T Stick Black]" }, { 0x0ccd00b3, "NOXON DAB/DAB+ Stick" }, { 0x0ccd00b9, "WDR DAB/DAB+ Stick" }, { 0x0ccd00e0, "NOXON DAB/DAB+ Stick V2" }, { 0x0ccd0102, "Cinergy S2 Stick" }, { 0x0ccd0105, "Cinergy S2 Box" }, { 0x0ccd10a7, "TerraTec G3" }, { 0x0ccd10ad, "Cinergy H5 Rev. 2" }, { 0x0cd40101, "BeolinkPC2" }, { 0x0cd50003, "U3" }, { 0x0cd50009, "UE9" }, { 0x0cd6000c, "S&B TPU" }, { 0x0cd6000e, "S&B BKV" }, { 0x0cd60011, "Money Coin Unit" }, { 0x0cd82007, "Smart Card Reader/JSTU-9700" }, { 0x0cde0001, "XI-750 802.11b Wireless Adapter [Atmel AT76C503A]" }, { 0x0cde0002, "XI-725/726 Prism2.5 802.11b Adapter" }, { 0x0cde0003, "Sagem 802.11b Dongle" }, { 0x0cde0004, "Sagem 802.11b Dongle" }, { 0x0cde0005, "XI-735 Prism3 802.11b Adapter" }, { 0x0cde0006, "XG-300 802.11b Adapter" }, { 0x0cde0008, "XG-703A 802.11g Wireless Adapter [Intersil ISL3887]" }, { 0x0cde0009, "(ZD1211)IEEE 802.11b+g Adapter" }, { 0x0cde0011, "ZD1211" }, { 0x0cde0012, "AR5523" }, { 0x0cde0013, "AR5523 driver (no firmware)" }, { 0x0cde0014, "NB 802.11g Wireless LAN Adapter(3887A)" }, { 0x0cde0015, "XG-705A 802.11g Wireless Adapter [Intersil ISL3887]" }, { 0x0cde0016, "NB 802.11g Wireless LAN Adapter(3887A)" }, { 0x0cde0018, "NB 802.11a/b/g Wireless LAN Adapter(3887A)" }, { 0x0cde001a, "802.11bg" }, { 0x0cde001c, "802.11b/g Wireless Network Adapter" }, { 0x0cde0020, "AG-760A 802.11abg Wireless Adapter [ZyDAS ZD1211B]" }, { 0x0cde0022, "802.11b/g/n Wireless Network Adapter" }, { 0x0cde0023, "UB81 802.11bgn" }, { 0x0cde0025, "802.11b/g/n USB Wireless Network Adapter" }, { 0x0cde0026, "UB82 802.11abgn" }, { 0x0cde0027, "Sphairon Homelink 1202 802.11n Wireless Adapter [Atheros AR9170]" }, { 0x0ce50003, "Matrix" }, { 0x0ce91001, "PicoScope3000 series PC Oscilloscope" }, { 0x0ce91007, "PicoScope 2000 series PC Oscilloscope" }, { 0x0ce91008, "PicoScope 5000 series PC Oscilloscope" }, { 0x0ce91009, "PicoScope 4000 series PC Oscilloscope" }, { 0x0ce9100e, "PicoScope 6000 series PC Oscilloscope" }, { 0x0ce91012, "PicoScope 3000A series PC Oscilloscope" }, { 0x0ce91016, "PicoScope 2000A series PC Oscilloscope" }, { 0x0ce91018, "PicoScope 4000A series PC Oscilloscope" }, { 0x0ce91200, "PicoScope 2000 series PC Oscilloscope" }, { 0x0ce91201, "PicoScope 3000 series PC Oscilloscope" }, { 0x0ce91202, "PicoScope 4000 series PC Oscilloscope" }, { 0x0ce91203, "PicoScope 5000 series PC Oscilloscope" }, { 0x0ce91204, "PicoScope 6000 series PC Oscilloscope" }, { 0x0ce91211, "PicoScope 3000 series PC Oscilloscope" }, { 0x0ce91212, "PicoScope 4000 series PC Oscilloscope" }, { 0x0cf26220, "SD Card Reader (SG361)" }, { 0x0cf26225, "SD card reader (UB6225)" }, { 0x0cf26230, "SD Card Reader (UB623X)" }, { 0x0cf26250, "SD card reader (UB6250)" }, { 0x0cf30001, "AR5523" }, { 0x0cf30002, "AR5523 (no firmware)" }, { 0x0cf30003, "AR5523" }, { 0x0cf30004, "AR5523 (no firmware)" }, { 0x0cf30005, "AR5523" }, { 0x0cf30006, "AR5523 (no firmware)" }, { 0x0cf30036, "AR9462 Bluetooth" }, { 0x0cf31001, "Thomson TG121N [Atheros AR9001U-(2)NG]" }, { 0x0cf31002, "TP-Link TL-WN821N v2 / TL-WN822N v1 802.11n [Atheros AR9170]" }, { 0x0cf31006, "TP-Link TL-WN322G v3 / TL-WN422G v2 802.11g [Atheros AR9271]" }, { 0x0cf31010, "3Com 3CRUSBN275 802.11abgn Wireless Adapter [Atheros AR9170]" }, { 0x0cf320ff, "AR7010 (no firmware)" }, { 0x0cf33000, "AR3011 Bluetooth (no firmware)" }, { 0x0cf33002, "AR3011 Bluetooth" }, { 0x0cf33004, "AR3012 Bluetooth 4.0" }, { 0x0cf33005, "AR3011 Bluetooth" }, { 0x0cf33007, "AR3012 Bluetooth 4.0 (no firmware)" }, { 0x0cf33008, "Bluetooth (AR3011)" }, { 0x0cf3311d, "Bluetooth" }, { 0x0cf3311f, "AR3012 Bluetooth" }, { 0x0cf37015, "TP-Link TL-WN821N v3 / TL-WN822N v2 802.11n [Atheros AR7010+AR9287]" }, { 0x0cf39170, "AR9170 802.11n" }, { 0x0cf39271, "AR9271 802.11n" }, { 0x0cf39378, "QCA9377-7" }, { 0x0cf3b002, "Ubiquiti WiFiStation 802.11n [Atheros AR9271]" }, { 0x0cf3b003, "Ubiquiti WiFiStationEXT 802.11n [Atheros AR9271]" }, { 0x0cf3e006, "Dell Wireless 1802 Bluetooth 4.0 LE" }, { 0x0cf3e300, "QCA61x4 Bluetooth 4.0" }, { 0x0cf80750, "Claritel-i750 - vp" }, { 0x0cfc2301, "Magicolor 2300 DL" }, { 0x0cfc2350, "Magicolor 2350EN/3300" }, { 0x0cfc3100, "Magicolor 3100" }, { 0x0cfc7300, "Magicolor 5450/5550" }, { 0x0cff0320, "SR-380N" }, { 0x0d080602, "DV007 [serial]" }, { 0x0d080603, "DV007 [storage]" }, { 0x0d100001, "StormPort (WDM)" }, { 0x0d160001, "PhotoShuttle" }, { 0x0d160002, "Photo Printer 730 series" }, { 0x0d160004, "Photo Printer 63xPL/PS" }, { 0x0d160007, "P510K" }, { 0x0d160009, "P72x Series" }, { 0x0d16000a, "P728L" }, { 0x0d16000b, "P510L" }, { 0x0d16000d, "P518A" }, { 0x0d16000e, "P910L" }, { 0x0d160010, "M610" }, { 0x0d160100, "Photo Printer 63xPL/PS" }, { 0x0d160102, "Photo Printer 64xPS" }, { 0x0d160103, "Photo Printer 730 series" }, { 0x0d160104, "Photo Printer 63xPL/PS" }, { 0x0d160105, "Photo Printer 64xPS" }, { 0x0d16010e, "P510S" }, { 0x0d160110, "P110S" }, { 0x0d160111, "P510Si" }, { 0x0d160112, "P518S" }, { 0x0d160200, "Photo Printer 64xDL" }, { 0x0d160309, "CS-200e" }, { 0x0d16030a, "CS-220e" }, { 0x0d160501, "P75x Series" }, { 0x0d160502, "P52x Series" }, { 0x0d160503, "P310L" }, { 0x0d16050a, "P310W" }, { 0x0d16050f, "P530D" }, { 0x0d160800, "X610" }, { 0x0d280204, "ARM mbed" }, { 0x0d2f0002, "Pump It Up Pad" }, { 0x0d3a0206, "Series 3xxx Cash Drawer" }, { 0x0d3a0207, "Series 3xxx Cash Drawer" }, { 0x0d3a0500, "Magnetic Stripe Reader" }, { 0x0d3d0001, "HID Keyboard" }, { 0x0d3d0040, "PS/2 Adapter" }, { 0x0d462012, "KAAN Standard Plus (Smartcard reader)" }, { 0x0d463003, "mIDentity Light / KAAN SIM III" }, { 0x0d463014, "Smart Token" }, { 0x0d464000, "mIDentity (mass storage)" }, { 0x0d464001, "mIDentity Basic/Classic (composite device)" }, { 0x0d464081, "mIDentity Basic/Classic (installationless)" }, { 0x0d480001, "ACTIVboard" }, { 0x0d480004, "ACTIVboard" }, { 0x0d480100, "Audio" }, { 0x0d493000, "Drive" }, { 0x0d493005, "Personal Storage 3000LS" }, { 0x0d493010, "3000LE Drive" }, { 0x0d493100, "Hi-Speed USB-IDE Bridge Controller" }, { 0x0d493200, "Personal Storage 3200" }, { 0x0d495000, "5000XT Drive" }, { 0x0d495010, "5000LE Drive" }, { 0x0d495020, "Mobile Hard Disk Drive" }, { 0x0d497000, "OneTouch" }, { 0x0d497010, "OneTouch" }, { 0x0d497100, "OneTouch II 300GB External Hard Disk" }, { 0x0d497310, "OneTouch 4" }, { 0x0d497410, "Mobile Hard Disk Drive (1TB)" }, { 0x0d497450, "Basics Portable USB Device" }, { 0x0d4e047a, "WLAN Card" }, { 0x0d4e1000, "Wireless Card Model 0801" }, { 0x0d4e1001, "Wireless Card Model 0802" }, { 0x0d500011, "USB-Temp2 Thermometer" }, { 0x0d500030, "Multiplexer" }, { 0x0d500040, "F4 foot switch" }, { 0x0d5902a8, "Digital Clock" }, { 0x0d5ca001, "SMC2662W (v1) EZ Connect 802.11b Wireless Adapter [Atmel AT76C503A]" }, { 0x0d5ca002, "SMC2662W v2 / SMC2662W-AR / Belkin F5D6050 [Atmel at76c503a]" }, { 0x0d5e2346, "BT Digital Access adapter" }, { 0x0d620003, "Smartcard Reader" }, { 0x0d620004, "Keyboard" }, { 0x0d62001b, "Keyboard" }, { 0x0d62001c, "Benq X120 Internet Keyboard Pro" }, { 0x0d620306, "M530 Mouse" }, { 0x0d620800, "Magic Wheel" }, { 0x0d622021, "AM805 Keyboard" }, { 0x0d622026, "TECOM Bluetooth Device" }, { 0x0d622050, "Mouse" }, { 0x0d622106, "Dell L20U Multimedia Keyboard" }, { 0x0d62910e, "HP Business Slim Keyboard" }, { 0x0d62a100, "Optical Mouse" }, { 0x0d640105, "Dual Mode Digital Camera 1.3M" }, { 0x0d640107, "Horus MT-409 Camera" }, { 0x0d640108, "Dual Mode Digital Camera" }, { 0x0d640202, "Dual Mode Video Camera Device" }, { 0x0d640303, "DXG-305V Camera" }, { 0x0d641001, "SiPix Stylecam/UMAX AstraPix 320s" }, { 0x0d641002, "Fashion Cam 01 Dual-Mode DSC (Video Camera)" }, { 0x0d641003, "Fashion Cam Dual-Mode DSC (Controller)" }, { 0x0d641021, "D-Link DSC 350F" }, { 0x0d641208, "Dual Mode Still Camera Device" }, { 0x0d642208, "Mass Storage" }, { 0x0d643105, "Dual Mode Digital Camera Disk" }, { 0x0d643108, "Digicam Mass Storage Device" }, { 0x0d645566, "Contour Roam Model 1600" }, { 0x0d7a0001, "CrypToken" }, { 0x0d7d0100, "PS1001/1011/1006/1026 Flash Disk" }, { 0x0d7d0110, "Gigabyte FlexDrive" }, { 0x0d7d0120, "Disk Pro 64MB" }, { 0x0d7d0124, "GIGABYTE Disk" }, { 0x0d7d0240, "I/O-Magic/Transcend 6-in-1 Card Reader" }, { 0x0d7d110e, "NEC uPD720121/130 USB-ATA/ATAPI Bridge" }, { 0x0d7d1240, "Apacer 6-in-1 Card Reader 2.0" }, { 0x0d7d1270, "Wolverine SixPac 6000" }, { 0x0d7d1300, "Flash Disk" }, { 0x0d7d1320, "PS2031 Flash Disk" }, { 0x0d7d1400, "Attache 256MB USB 2.0 Flash Drive" }, { 0x0d7d1420, "PS2044 Pen Drive" }, { 0x0d7d1470, "Vosonic X's-Drive II+ VP2160" }, { 0x0d7d1620, "USB Disk Pro" }, { 0x0d7d1900, "USB Thumb Drive" }, { 0x0d7e2507, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x0d7e2517, "Hi-Speed Mass Storage Device" }, { 0x0d7e25c7, "Hi-Speed USB-to-IDE Bridge Controller" }, { 0x0d7f0100, "P5 Glove glove controller" }, { 0x0d8a0101, "TEPRA PRO" }, { 0x0d8c0001, "Audio Device" }, { 0x0d8c0002, "Composite Device" }, { 0x0d8c0003, "Sound Device" }, { 0x0d8c0004, "CM6631A Audio Processor" }, { 0x0d8c0005, "Blue Snowball" }, { 0x0d8c0006, "Storm HP-USB500 5.1 Headset" }, { 0x0d8c000c, "Audio Adapter" }, { 0x0d8c000d, "Composite Device" }, { 0x0d8c000e, "Audio Adapter (Planet UP-100, Genius G-Talk)" }, { 0x0d8c0014, "Audio Adapter (Unitek Y-247A)" }, { 0x0d8c001f, "CM108 Audio Controller" }, { 0x0d8c0102, "CM106 Like Sound Device" }, { 0x0d8c0103, "CM102-A+/102S+ Audio Controller" }, { 0x0d8c0104, "CM103+ Audio Controller" }, { 0x0d8c0105, "CM108 Audio Controller" }, { 0x0d8c0107, "CM108 Audio Controller" }, { 0x0d8c010f, "CM108 Audio Controller" }, { 0x0d8c0115, "CM108 Audio Controller" }, { 0x0d8c0139, "Multimedia Headset [Gigaware by Ignition L.P.]" }, { 0x0d8c013c, "CM108 Audio Controller" }, { 0x0d8c0201, "CM6501" }, { 0x0d8c5000, "Mass Storage Controller" }, { 0x0d8c5200, "Mass Storage Controller(0D8C,5200)" }, { 0x0d8cb213, "USB Phone CM109 (aka CT2000,VPT1000)" }, { 0x0d8d0234, "V-234 Composite Device" }, { 0x0d8d0550, "V-550 Composite Device" }, { 0x0d8d0551, "V-551 Composite Device" }, { 0x0d8d0552, "V-552 Composite Device" }, { 0x0d8d0651, "V-651 Composite Device" }, { 0x0d8d0652, "V-652 Composite Device" }, { 0x0d8d0653, "V-653 Composite Device" }, { 0x0d8d0654, "V-654 Composite Device" }, { 0x0d8d0655, "V-655 Composite Device" }, { 0x0d8d0656, "V-656 Composite Device" }, { 0x0d8d0657, "V-657 Composite Device" }, { 0x0d8d0658, "V-658 Composite Device" }, { 0x0d8d0659, "V-659 Composite Device" }, { 0x0d8d0660, "V-660 Composite Device" }, { 0x0d8d0661, "V-661 Composite Device" }, { 0x0d8d0662, "V-662 Composite Device" }, { 0x0d8d0850, "V-850 Composite Device" }, { 0x0d8d0851, "V-851 Composite Device" }, { 0x0d8d0852, "V-852 Composite Device" }, { 0x0d8d0901, "V-901 Composite Device" }, { 0x0d8d0902, "V-902 Composite Device" }, { 0x0d8d0903, "V-903 Composite Device" }, { 0x0d8d4754, "Voyager DMP Composite Device" }, { 0x0d8dbb00, "Bloomberg Composite Device" }, { 0x0d8dbb01, "Bloomberg Composite Device" }, { 0x0d8dbb02, "Bloomberg Composite Device" }, { 0x0d8dbb03, "Bloomberg Composite Device" }, { 0x0d8dbb04, "Bloomberg Composite Device" }, { 0x0d8dbb05, "Bloomberg Composite Device" }, { 0x0d8dfffe, "Global Tuner Composite Device" }, { 0x0d8dffff, "Voyager DMP Composite Device" }, { 0x0d8e0163, "802.11g 54 Mbps Wireless Dongle" }, { 0x0d8e1621, "802.11b Wireless Adapter" }, { 0x0d8e3762, "Cohiba 802.11g Wireless Mini adapter [Intersil ISL3887]" }, { 0x0d8e3763, "802.11g Wireless dongle" }, { 0x0d8e7100, "802.11b Adapter" }, { 0x0d8e7110, "WL-210 / WU210P 802.11b Wireless Adapter [Atmel AT76C503A]" }, { 0x0d8e7605, "TRENDnet TEW-224UB 802.11b Wireless Adapter [Atmel AT76C503A]" }, { 0x0d8e7801, "AR5523" }, { 0x0d8e7802, "AR5523 (no firmware)" }, { 0x0d8e7811, "AR5523" }, { 0x0d8e7812, "AR5523 (no firmware)" }, { 0x0d8e7a01, "PRISM25 802.11b Adapter" }, { 0x0d960000, "Jenoptik JD350 video" }, { 0x0d963300, "SX330z Camera" }, { 0x0d964100, "SX410z Camera" }, { 0x0d964102, "MD 9700 Camera" }, { 0x0d964104, "Jenoptik JD-4100z3s" }, { 0x0d96410a, "Medion 9801/Novatech SX-410z" }, { 0x0d965200, "SX-520z Camera" }, { 0x0d970001, "SBIG Astronomy Camera (without firmware)" }, { 0x0d970101, "SBIG Astronomy Camera (with firmware)" }, { 0x0d980300, "Avaya Wireless Card" }, { 0x0d981007, "Discovery Kids Digital Camera" }, { 0x0d9a0001, "Bluetooth Device" }, { 0x0d9e0300, "Wireless Card" }, { 0x0d9f0001, "Uninterruptible Power Supply" }, { 0x0d9f0002, "Black Knight PRO / WOW Uninterruptible Power Supply (Cypress HID->COM RS232)" }, { 0x0d9f00a2, "Imperial Uninterruptible Power Supply (HID PDC)" }, { 0x0d9f00a3, "Smart King PRO Uninterruptible Power Supply (HID PDC)" }, { 0x0d9f00a4, "WOW Uninterruptible Power Supply (HID PDC)" }, { 0x0d9f00a5, "Vanguard Uninterruptible Power Supply (HID PDC)" }, { 0x0d9f00a6, "Black Knight PRO Uninterruptible Power Supply (HID PDC)" }, { 0x0da40001, "Interface" }, { 0x0da40003, "FlowLink" }, { 0x0da40008, "Loop" }, { 0x0da80001, "SDS 200A Oscilloscope" }, { 0x0dab0100, "DVR/CVR-M140 MP3 Player" }, { 0x0db01020, "PC2PC WLAN Card" }, { 0x0db01967, "Bluetooth Dongle" }, { 0x0db03713, "Primo 73" }, { 0x0db03801, "Motorola Bluetooth 2.1+EDR Device" }, { 0x0db03870, "MS-3870 802.11bgn Wireless Module [Ralink RT3070]" }, { 0x0db03871, "MS-3871 802.11bgn Wireless Module [Ralink RT8070]" }, { 0x0db04011, "Medion Flash XL V2.0 Card Reader" }, { 0x0db04023, "Lexar Mobile Card Reader" }, { 0x0db04600, "802.11b/g Turbo Wireless Adapter" }, { 0x0db05501, "Mass Storage Device" }, { 0x0db05502, "Mass Storage Device" }, { 0x0db05513, "MP3 Player" }, { 0x0db05515, "MP3 Player" }, { 0x0db05516, "MP3 Player" }, { 0x0db05572, "Micro-Star International P610/Model MS-5557" }, { 0x0db05580, "Mega Sky 580 DVB-T Tuner [M902x]" }, { 0x0db05581, "Mega Sky 580 DVB-T Tuner [GL861]" }, { 0x0db06823, "UB11B/MS-6823 802.11b Wi-Fi adapter" }, { 0x0db06826, "IEEE 802.11g Wireless Network Adapter" }, { 0x0db06855, "Bluetooth Device" }, { 0x0db06861, "MSI-6861 802.11g WiFi adapter" }, { 0x0db06865, "RT2570" }, { 0x0db06869, "RT2570" }, { 0x0db06874, "RT2573" }, { 0x0db06877, "RT2573" }, { 0x0db06881, "Bluetooth Class I EDR Device" }, { 0x0db0688a, "Bluetooth Class I EDR Device" }, { 0x0db06899, "802.11bgn 1T1R Mini Card Wireless Adapter" }, { 0x0db06970, "MS-6970 BToes Bluetooth adapter" }, { 0x0db0697a, "Bluetooth Dongle" }, { 0x0db06982, "Medion Flash XL Card Reader" }, { 0x0db0a861, "RT2573" }, { 0x0db0a874, "RT2573" }, { 0x0db0a970, "Bluetooth dongle" }, { 0x0db0a97a, "Bluetooth EDR Device" }, { 0x0db0b970, "Bluetooth EDR Device" }, { 0x0db0b97a, "Bluetooth EDR Device" }, { 0x0db0ffff, "Bluetooth Adapter in DFU mode" }, { 0x0db50139, "Barcode Module - CDC serial" }, { 0x0db5013a, "Barcode Module - Virtual Keyboard" }, { 0x0db5013b, "Barcode Module - HID" }, { 0x0db50160, "NFC and Smartcard Module (NSM)" }, { 0x0db50164, "NFC and Smartcard Module (NSM)with 4 SAM slots" }, { 0x0db70002, "Goldpfeil P-LAN" }, { 0x0dba1000, "Mbox 1 [Mbox]" }, { 0x0dba3000, "Mbox 2" }, { 0x0dbab011, "Eleven Rack" }, { 0x0dbc0003, "AND Serial Cable [AND Smart Cable]" }, { 0x0dbf0002, "SmartDongle Security Key" }, { 0x0dbf0200, "HDD Storage Solution" }, { 0x0dbf021b, "USB-2.0 IDE Adapter" }, { 0x0dbf0300, "Storage Adapter" }, { 0x0dbf0333, "Storage Adapter" }, { 0x0dbf0502, "FSC Storagebird XL hard disk" }, { 0x0dbf0707, "ZIV Drive" }, { 0x0dc30801, "ASEDrive III" }, { 0x0dc30802, "ASEDrive IIIe" }, { 0x0dc31104, "ASEDrive IIIe KB" }, { 0x0dc31701, "ASEKey" }, { 0x0dc31702, "ASEKey" }, { 0x0dc40040, "Mass Storage Device" }, { 0x0dc40041, "Mass Storage Device" }, { 0x0dc40042, "Mass Storage Device" }, { 0x0dc40101, "Hi-Speed Mass Storage Device" }, { 0x0dc40209, "SK-3500 S2" }, { 0x0dc4020a, "Oyen Digital MiniPro 2.5\" hard drive enclosure" }, { 0x0dc40290, "Mass Storage Device [NT2 U3.1]" }, { 0x0dc62301, "Wireless Touchpad Keyboard" }, { 0x0dcd0001, "Remote Interface Adapter" }, { 0x0dcd0002, "High Bandwidth Codec" }, { 0x0dd01002, "Triple Talk Speech Synthesizer" }, { 0x0dd20003, "Mass Storage (P)" }, { 0x0dd40237, "K80 80mm Thermal Printer" }, { 0x0dd80562, "Netac Portable SSD Z6s" }, { 0x0dd81060, "USB-CF-Card" }, { 0x0dd8e007, "OnlyDisk U222 Pendrive" }, { 0x0dd8f607, "OnlyDisk U210 1G flash drive [U-SAFE]" }, { 0x0dda0001, "Multi-Card Reader 6in1" }, { 0x0dda0002, "Multi-Card Reader 7in1" }, { 0x0dda0003, "Flash Disk" }, { 0x0dda0005, "Internal Multi-Card Reader 6in1" }, { 0x0dda0008, "SD single card reader" }, { 0x0dda0009, "MS single card reader" }, { 0x0dda000a, "MS+SD Dual Card Reader" }, { 0x0dda000b, "SM single card reader" }, { 0x0dda0101, "All-In-One Card Reader" }, { 0x0dda0102, "All-In-One Card Reader" }, { 0x0dda0301, "MP3 Player" }, { 0x0dda0302, "Multi-Card MP3 Player" }, { 0x0dda1001, "Multi-Flash Disk" }, { 0x0dda2001, "Multi-Card Reader" }, { 0x0dda2002, "Q018 default PID" }, { 0x0dda2003, "Multi-Card Reader" }, { 0x0dda2005, "Datalux DLX-1611 16in1 Card Reader" }, { 0x0dda2006, "All-In-One Card Reader" }, { 0x0dda2007, "USB to ATAPI bridge" }, { 0x0dda2008, "All-In-One Card Reader" }, { 0x0dda2013, "SD/MS Combo Card Reader" }, { 0x0dda2014, "SD/MS Single Card Reader" }, { 0x0dda2023, "card reader SD/MS DEMO board with ICSI brand name (MaskROM version)" }, { 0x0dda2024, "card reader SD/MS DEMO board with Generic brand name (MaskROM version)" }, { 0x0dda2026, "USB2.0 Card Reader" }, { 0x0dda2027, "USB 2.0 Card Reader" }, { 0x0dda2315, "UFD MP3 player (model 2)" }, { 0x0dda2318, "UFD MP3 player (model 1)" }, { 0x0dda2321, "UFD MP3 player" }, { 0x0de70191, "U401 Interface card" }, { 0x0de701a5, "U421 interface card" }, { 0x0de701c3, "U451 relay interface card" }, { 0x0dee4010, "Storage Adapter" }, { 0x0df40201, "MNG-2005" }, { 0x0df60001, "C-Media VOIP Device" }, { 0x0df60004, "Bluetooth 2.0 Adapter 100m" }, { 0x0df60007, "Bluetooth 2.0 Adapter 10m" }, { 0x0df6000b, "Bluetooth 2.0 Adapter DFU" }, { 0x0df6000d, "WL-168 Wireless Network Adapter 54g" }, { 0x0df60017, "WL-182 Wireless-N Network USB Card" }, { 0x0df60019, "Bluetooth 2.0 adapter 10m CN-512v2 001" }, { 0x0df6001a, "Bluetooth 2.0 adapter 100m CN-521v2 001" }, { 0x0df6002b, "WL-188 Wireless Network 300N USB Adapter" }, { 0x0df6002c, "WL-301 Wireless Network 300N USB Adapter" }, { 0x0df6002d, "WL-302 Wireless Network 300N USB dongle" }, { 0x0df60036, "WL-603 Wireless Adapter" }, { 0x0df60039, "WL-315 Wireless-N USB Adapter" }, { 0x0df6003b, "WL-321 Wireless USB Gaming Adapter 300N" }, { 0x0df6003c, "WL-323 Wireless-N USB Adapter" }, { 0x0df6003d, "WL-324 Wireless USB Adapter 300N" }, { 0x0df6003e, "WL-343 Wireless USB Adapter 150N X1" }, { 0x0df6003f, "WL-608 Wireless USB Adapter 54g" }, { 0x0df60040, "WL-344 Wireless Adapter 300N X2 [Ralink RT3071]" }, { 0x0df60041, "WL-329 Wireless Dualband USB adapter 300N" }, { 0x0df60042, "WL-345 Wireless USB adapter 300N X3" }, { 0x0df60045, "WL-353 Wireless USB Adapter 150N Nano" }, { 0x0df60047, "WL-352v1 Wireless USB Adapter 300N 002" }, { 0x0df60048, "WL-349v1 Wireless Adapter 150N 002 [Ralink RT3070]" }, { 0x0df60049, "WL-356 Wireless Adapter 300N" }, { 0x0df6004a, "WL-358v1 Wireless Micro USB Adapter 300N X3 002" }, { 0x0df6004b, "WL-349v3 Wireless Micro Adapter 150N X1 [Realtek RTL8192SU]" }, { 0x0df6004c, "WL-352 802.11n Adapter [Realtek RTL8191SU]" }, { 0x0df60050, "WL-349v4 Wireless Micro Adapter 150N X1 [Ralink RT3370]" }, { 0x0df60056, "LN-031 10/100/1000 Ethernet Adapter" }, { 0x0df6005d, "WLA-2000 v1.001 WLAN [RTL8191SU]" }, { 0x0df60060, "WLA-4000 802.11bgn [Ralink RT3072]" }, { 0x0df60062, "WLA-5000 802.11abgn [Ralink RT3572]" }, { 0x0df6006f, "WLA-5100" }, { 0x0df60072, "AX88179 Gigabit Ethernet [Sitecom]" }, { 0x0df6061c, "LN-028 Network USB 2.0 Adapter" }, { 0x0df6214a, "IDE/SATA Combo Adapter [CN-330]" }, { 0x0df621f4, "44 St Bluetooth Device" }, { 0x0df62200, "Sitecom bluetooth2.0 class 2 dongle CN-512" }, { 0x0df62208, "Sitecom bluetooth2.0 class 2 dongle CN-520" }, { 0x0df62209, "Sitecom bluetooth2.0 class 1 dongle CN-521" }, { 0x0df63068, "DC-104v2 ISDN Adapter [HFC-S]" }, { 0x0df69071, "WL-113 rev 1 Wireless Network USB Adapter" }, { 0x0df69075, "WL-117 Hi-Speed USB Adapter" }, { 0x0df690ac, "WL-172 Wireless Network USB Adapter 54g Turbo" }, { 0x0df69712, "WL-113 rev 2 Wireless Network USB Adapter" }, { 0x0df70620, "MA-620 Infrared Adapter" }, { 0x0df70700, "MA-700 Bluetooth Adapter" }, { 0x0df70720, "MA-720 Bluetooth Adapter" }, { 0x0df70722, "Bluetooth Dongle" }, { 0x0df70730, "MA-730/MA-730G Bluetooth Adapter" }, { 0x0df70800, "Data Cable" }, { 0x0df70820, "Data Cable" }, { 0x0df70900, "MA i-gotU Travel Logger GPS" }, { 0x0df71800, "Generic Card Reader" }, { 0x0df71802, "Card Reader" }, { 0x0dfc0001, "Touchscreen" }, { 0x0dfc0003, "MultiTouch TouchScreen(Dualtouch)" }, { 0x0dfc0101, "5-point Touch Screen" }, { 0x0dfcd107, "MultiTouch TouchScreen" }, { 0x0e0b9031, "802.11n Wireless USB Card" }, { 0x0e0b9041, "802.11n Wireless USB Card" }, { 0x0e0c0101, "LonUSB LonTalk Network Adapter" }, { 0x0e0d0003, "PicoHarp 300" }, { 0x0e0f0001, "Device" }, { 0x0e0f0002, "Virtual USB Hub" }, { 0x0e0f0003, "Virtual Mouse" }, { 0x0e0f0004, "Virtual CCID" }, { 0x0e0f0005, "Virtual Mass Storage" }, { 0x0e0f0006, "Virtual Keyboard" }, { 0x0e0f000a, "Virtual Sensors" }, { 0x0e0f8001, "Root Hub" }, { 0x0e0f8002, "Root Hub" }, { 0x0e0f8003, "Root Hub" }, { 0x0e0ff80a, "Smoker FX2" }, { 0x0e200101, "NoteTaker" }, { 0x0e200200, "Seiko Instruments InkLink Handwriting System" }, { 0x0e210300, "iAudio CW200" }, { 0x0e210400, "MP3 Player" }, { 0x0e210500, "iAudio M3" }, { 0x0e210510, "iAudio X5, subpack USB port" }, { 0x0e210513, "iAudio X5, side USB port" }, { 0x0e210520, "iAudio M5, side USB port" }, { 0x0e210601, "iAudio G3" }, { 0x0e210681, "iAUDIO E2" }, { 0x0e210700, "iAudio U3" }, { 0x0e210701, "Cowon iAudio U3 (MTP mode)" }, { 0x0e210711, "Cowon iAudio 6 (MTP mode)" }, { 0x0e210751, "Cowon iAudio 7 (MTP mode)" }, { 0x0e210760, "iAUDIO U5 / iAUDIO G2" }, { 0x0e210761, "Cowon iAudio U5 (MTP mode)" }, { 0x0e210800, "Cowon D2 (UMS mode)" }, { 0x0e210801, "Cowon iAudio D2 (MTP mode)" }, { 0x0e210861, "Cowon iAudio D2+ FW 2.x (MTP mode)" }, { 0x0e210871, "Cowon iAudio D2+ DAB FW 4.x (MTP mode)" }, { 0x0e210881, "Cowon iAudio D2+ FW 3.x (MTP mode)" }, { 0x0e210891, "Cowon iAudio D2+ DMB FW 1.x (MTP mode)" }, { 0x0e210901, "Cowon iAudio S9 (MTP mode)" }, { 0x0e210910, "iAUDIO 9" }, { 0x0e210911, "Cowon iAudio 9 (MTP mode)" }, { 0x0e210920, "J3" }, { 0x0e210921, "Cowon iAudio J3 (MTP mode)" }, { 0x0e210931, "Cowon iAudio X7 (MTP mode)" }, { 0x0e210941, "Cowon iAudio C2 (MTP mode)" }, { 0x0e210952, "Cowon iAudio 10 (MTP mode)" }, { 0x0e2e000b, "BMP 51" }, { 0x0e2e000c, "BMP 61" }, { 0x0e2e000d, "BMP 41" }, { 0x0e360009, "Handyscope HS3" }, { 0x0e36000b, "Handyscope HS4" }, { 0x0e36000f, "Handyscope HS4-DIFF (br)" }, { 0x0e360010, "Handyscope HS2" }, { 0x0e360011, "TiePieSCOPE HS805 (br)" }, { 0x0e360012, "TiePieSCOPE HS805" }, { 0x0e360013, "Handyprobe HP3" }, { 0x0e360014, "Handyprobe HP3" }, { 0x0e360018, "Handyprobe HP2" }, { 0x0e36001b, "Handyscope HS5" }, { 0x0e360042, "TiePieSCOPE HS801" }, { 0x0e3600fd, "USB To Parallel adapter" }, { 0x0e3600fe, "USB To Parallel adapter" }, { 0x0e390137, "Bluetooth Device" }, { 0x0e3a1100, "CW-1100 Wireless Network Adapter" }, { 0x0e414147, "TonePort GX" }, { 0x0e41414d, "Pod HD500" }, { 0x0e414156, "POD HD Desktop" }, { 0x0e414250, "BassPODxt" }, { 0x0e414252, "BassPODxt Pro" }, { 0x0e414642, "BassPODxt Live" }, { 0x0e414650, "PODxt Live" }, { 0x0e414750, "GuitarPort" }, { 0x0e415044, "PODxt" }, { 0x0e415050, "PODxt Pro" }, { 0x0e41534d, "SeaMonkey" }, { 0x0e480100, "CardPro SmartCard Reader" }, { 0x0e4c1097, "Gamester Controller" }, { 0x0e4c1103, "Gamester Reflex" }, { 0x0e4c2390, "Jtech Controller" }, { 0x0e4c3510, "Gamester for Xbox" }, { 0x0e4c7288, "funkey reader" }, { 0x0e500001, "Matrix USB-Key" }, { 0x0e500002, "Matrixlock Dongle (HID)" }, { 0x0e55110a, "Tanic S110-SG1 + ISSC IS1002N [Slow Infra-Red (SIR) & Bluetooth 1.2 (Class 2) Adapter]" }, { 0x0e55110b, "MS3303H USB-to-Serial Bridge" }, { 0x0e566021, "K-PEX 100" }, { 0x0e5c6118, "LCD Device" }, { 0x0e5c6119, "remote receive and control device" }, { 0x0e5c6441, "C-Media Sound Device" }, { 0x0e5e6622, "CW6622" }, { 0x0e660001, "HWUN1 Hi-Gain Wireless-300N Adapter w/ Upgradable Antenna [Ralink RT2870]" }, { 0x0e660003, "HWDN1 Hi-Gain Wireless-300N Dish Adapter [Ralink RT2870]" }, { 0x0e660009, "HWUN2 Hi-Gain Wireless-150N Adapter w/ Upgradable Antenna [Ralink RT2770]" }, { 0x0e66000b, "HWDN2 Hi-Gain Wireless-150N Dish Adapter [Ralink RT2770]" }, { 0x0e660013, "HWUN3 Hi-Gain Wireless-N Adapter [Ralink RT3070]" }, { 0x0e660015, "HWDN2 Rev. E Hi-Gain Wireless-150N Dish Adapter [Realtek RTL8191SU]" }, { 0x0e660017, "HAWNU1 Hi-Gain Wireless-150N Network Adapter with Range Amplifier [Ralink RT3070]" }, { 0x0e660018, "Wireless-N Network Adapter [Ralink RT2870]" }, { 0x0e66400b, "UF100 10/100 Network Adapter" }, { 0x0e66400c, "UF100 Ethernet [pegasus2]" }, { 0x0e670002, "Wrist PDA" }, { 0x0e6a0101, "MA100 [USB-UART Bridge IC]" }, { 0x0e6a02c0, "Defender Gaming Keyboard" }, { 0x0e6a030b, "Truly Ergonomic Computer Keyboard (Device Firmware Update mode)" }, { 0x0e6a030c, "Truly Ergonomic Computer Keyboard" }, { 0x0e6a6001, "GEMBIRD Flexible keyboard KB-109F-B-DE" }, { 0x0e6a7f5c, "BPF-015 Key Chain Photo Frame" }, { 0x0e6f0003, "Freebird wireless Controller" }, { 0x0e6f0005, "Eclipse wireless Controller" }, { 0x0e6f0006, "Edge wireless Controller" }, { 0x0e6f0008, "After Glow Pro Controller" }, { 0x0e6f0105, "Disney's High School Musical 3 Dance Pad for Xbox 360" }, { 0x0e6f0113, "Afterglow AX.1 Gamepad" }, { 0x0e6f011f, "Rock Candy Wired Controller for Xbox 360" }, { 0x0e6f0128, "Wireless PS3 Controller" }, { 0x0e6f0131, "PDP EA Sports Controller" }, { 0x0e6f0133, "Wired Controller" }, { 0x0e6f0139, "Afterglow Prismatic Wired Controller for Xbox One" }, { 0x0e6f013a, "PDP Xbox One Controller" }, { 0x0e6f0146, "Rock Candy Wired Controller for Xbox One" }, { 0x0e6f0147, "PDP Marvel Controller for Xbox One" }, { 0x0e6f015c, "PDP Arcade Stick for Xbox One" }, { 0x0e6f0161, "Camo Wired Controller for Xbox One" }, { 0x0e6f0162, "Xbox One Wired Controller" }, { 0x0e6f0163, "Legendary Collection Deliverer of Truth" }, { 0x0e6f0164, "Battlefield 1 Wired Controller for Xbox One" }, { 0x0e6f0165, "Titanfall 2 Wired Controller for Xbox One" }, { 0x0e6f0201, "Pelican PL-3601" }, { 0x0e6f0213, "Afterglow Gamepad for Xbox 360" }, { 0x0e6f021f, "Rock Candy Gamepad for Xbox 360" }, { 0x0e6f0246, "Rock Candy Gamepad for Xbox One" }, { 0x0e6f0301, "Controller" }, { 0x0e6f0346, "Rock Candy Wired Controller for Xbox One" }, { 0x0e6f0401, "Controller" }, { 0x0e6f0413, "Afterglow AX.1 Gamepad for Xbox 360" }, { 0x0e6f0501, "Wired Controller" }, { 0x0e6ff501, "Hi-TEC Essentials Wired Gamepad" }, { 0x0e6ff900, "Afterglow AX.1" }, { 0x0e791106, "Pocket Media Assistant - PMA400" }, { 0x0e791204, "Gmini XS 200" }, { 0x0e791207, "Archos Gmini XS100" }, { 0x0e791208, "Archos XS202 (MTP mode)" }, { 0x0e79120a, "Archos 104 (MTP mode)" }, { 0x0e79120c, "Archos 204 (MTP mode)" }, { 0x0e791301, "Archos 404 (MTP mode)" }, { 0x0e791303, "Archos 404CAM (MTP mode)" }, { 0x0e791306, "504 Portable Multimedia Player" }, { 0x0e791307, "Archos 504 (MTP mode)" }, { 0x0e791309, "Archos 604 (MTP mode)" }, { 0x0e79130b, "Archos 604WIFI (MTP mode)" }, { 0x0e79130d, "Archos 704 mobile dvr" }, { 0x0e79130f, "Archos 704TV (MTP mode)" }, { 0x0e791311, "Archos 405 (MTP mode)" }, { 0x0e791313, "Archos 605 (MTP mode)" }, { 0x0e791315, "Archos 605F (MTP mode)" }, { 0x0e791319, "Archos 705 (MTP mode)" }, { 0x0e79131b, "Archos TV+ (MTP mode)" }, { 0x0e79131d, "Archos 105 (MTP mode)" }, { 0x0e791321, "Archos 405HDD (MTP mode)" }, { 0x0e791330, "5 Tablet" }, { 0x0e791331, "Archos 5 (MTP mode 1)" }, { 0x0e791332, "5 IMT" }, { 0x0e791333, "Archos 5 (MTP mode 2)" }, { 0x0e791335, "Archos 7 (MTP mode)" }, { 0x0e791341, "Archos SPOD (MTP mode)" }, { 0x0e791351, "Archos 5S IT (MTP mode)" }, { 0x0e791357, "Archos 5H IT (MTP mode)" }, { 0x0e791416, "32 IT" }, { 0x0e791417, "A43 IT" }, { 0x0e791421, "Archos 48 (MTP mode)" }, { 0x0e791458, "Archos Arnova Childpad" }, { 0x0e79145e, "Archos Arnova 8c G3" }, { 0x0e79146b, "Archos Arnova 10bG3 Tablet" }, { 0x0e79149a, "Archos 97 Xenon" }, { 0x0e7914ad, "Archos 97 Titanium" }, { 0x0e7914b9, "Archos 101 Titanium" }, { 0x0e7914bf, "Archos 80 Titanium" }, { 0x0e7914ef, "Archos 70b Titanium" }, { 0x0e791508, "Archos 8o G9 (MTP mode)" }, { 0x0e791509, "Archos 8o G9 Turbo (MTP mode)" }, { 0x0e79150e, "80 G9" }, { 0x0e791518, "Archos 80G9" }, { 0x0e791528, "Archos 101 G9 (ID1)" }, { 0x0e791529, "Archos 101 G9 (ID2)" }, { 0x0e791538, "Archos 101 G9 Turbo 250 HD" }, { 0x0e791539, "Archos 101 G9 Turbo" }, { 0x0e791548, "Archos 101 XS" }, { 0x0e791568, "Archos 70it2 (ID 1)" }, { 0x0e791569, "Archos 70it2 (ID 2)" }, { 0x0e7915ba, "Archos 70 Cobalt" }, { 0x0e792008, "Archos 50c" }, { 0x0e793001, "40 Titanium" }, { 0x0e7931ab, "Archos C40" }, { 0x0e7931bd, "Archos 50b" }, { 0x0e7931d8, "Archos Helium 45B" }, { 0x0e7931e1, "Archos Phone" }, { 0x0e7931f3, "Archos 45 Neon" }, { 0x0e793229, "Archos 50 Diamond" }, { 0x0e79322a, "Archos 50 Diamond (2nd ID)" }, { 0x0e794002, "Archos 101 G4" }, { 0x0e795008, "Archos (for Tesco) Hudl (ID1)" }, { 0x0e795009, "Archos (for Tesco) Hudl (ID2)" }, { 0x0e7951c6, "Archos 101d Neon" }, { 0x0e795217, "Archos AC40DTI" }, { 0x0e795229, "Archos 50 Helium Plus" }, { 0x0e79522a, "Archos 50 Helium Plus (2nd ID)" }, { 0x0e79528c, "Archos 101 xenon lite" }, { 0x0e79528d, "Archos 101 xenon lite (ADB)" }, { 0x0e7952c2, "Archos 40 Helium phone" }, { 0x0e795305, "Archos Diamond S" }, { 0x0e795371, "Archos 50d neon" }, { 0x0e795395, "Archos 70b neon" }, { 0x0e7953a7, "Archos 50 power" }, { 0x0e79542f, "Archos 101b Oxygen" }, { 0x0e79544a, "Archos 55B Platinum" }, { 0x0e79545c, "Archos 50F Helium" }, { 0x0e795465, "Archos 55 diamond Selfie" }, { 0x0e795603, "Archos Core 50P" }, { 0x0e7e0001, "Yopy 3000 PDA" }, { 0x0e7e1001, "YP3X00 PDA" }, { 0x0e8d0002, "phone (mass storage mode) [Doro Primo 413]" }, { 0x0e8d0003, "MT6227 phone" }, { 0x0e8d0004, "MT6227 phone" }, { 0x0e8d0023, "S103 / Powertel M6200" }, { 0x0e8d0050, "MediaTek Inc MT5xx and MT6xx SoCs" }, { 0x0e8d00a5, "GSM modem [Medion Surfstick Model:S4222]" }, { 0x0e8d0c03, "Bravis A401 Neo" }, { 0x0e8d1806, "Samsung SE-208 Slim Portable DVD Writer" }, { 0x0e8d1836, "Samsung SE-S084 Super WriteMaster Slim External DVD writer" }, { 0x0e8d1887, "Slim Portable DVD Writer" }, { 0x0e8d1956, "Samsung SE-506 Portable BluRay Disc Writer" }, { 0x0e8d2000, "MT65xx Preloader" }, { 0x0e8d2008, "MediaTek Inc MT65xx/67xx (MTP mode)" }, { 0x0e8d200a, "MediaTek Inc MT65xx/67xx (MTP + CDC + ADB mode)" }, { 0x0e8d2012, "MediaTek Inc MT65xx/67xx (MTP + CDC mode)" }, { 0x0e8d201d, "MediaTek Inc MT65xx/67xx (MTP + ADB mode)" }, { 0x0e8d2026, "qin phone f21 pro" }, { 0x0e8d3329, "Qstarz BT-Q1000XT" }, { 0x0e8d4001, "MediaTek Inc Wiko Sunny" }, { 0x0e8d7612, "MT7612U 802.11a/b/g/n/ac Wireless Adapter" }, { 0x0e8d763e, "MT7630e Bluetooth Adapter" }, { 0x0e8d7668, "MT7668 2x2 Dual Band Dual Concurrent 802.11a/b/g/n/ac WiFi with MU-MIMO and Bluetooth 5.0 Radios" }, { 0x0e8dff00, "Vivo Y21" }, { 0x0e8f0003, "MaxFire Blaze2" }, { 0x0e8f0012, "Joystick/Gamepad" }, { 0x0e8f0016, "4 port USB 1.1 hub UH-174" }, { 0x0e8f0020, "USB to PS/2 Adapter" }, { 0x0e8f0021, "Multimedia Keyboard Controller" }, { 0x0e8f0022, "multimedia keyboard controller" }, { 0x0e8f0201, "SmartJoy Frag Xpad/PS2 adaptor" }, { 0x0e8f3008, "Xbox Controller" }, { 0x0e8f300a, "steering Wheel" }, { 0x0e900100, "Storage Adapter V1" }, { 0x0e96c001, "TRUST 380 USB2 SPACEC@M" }, { 0x0e970908, "Composite HID (Keyboard and Mouse)" }, { 0x0e9c0000, "Streamzap Remote Control" }, { 0x0ea02126, "7-in-1 Card Reader" }, { 0x0ea02153, "SD Card Reader Key" }, { 0x0ea02168, "Transcend JetFlash 2.0 / Astone USB Drive / Intellegent Stick 2.0" }, { 0x0ea02213, "WinDroid N287 AH7N2502.013317" }, { 0x0ea06803, "OTI-6803 Flash Disk" }, { 0x0ea06808, "OTI-6808 Flash Disk" }, { 0x0ea06828, "OTI-6828 Flash Disk" }, { 0x0ea06858, "OTi-6858 serial adapter" }, { 0x0eb09020, "NovaTech NV-902W" }, { 0x0eb09021, "RT2573" }, { 0x0eb16666, "WinFast WalkieTV TV Loader" }, { 0x0eb16668, "WinFast WalkieTV TV Loader" }, { 0x0eb17007, "WinFast WalkieTV WDM Capture" }, { 0x0eb82200, "Ariva Scale" }, { 0x0eb8f000, "BC60 Scale" }, { 0x0ebb0002, "FT-IR Spectrometer" }, { 0x0ec71008, "So., Show 301 Digital Camera" }, { 0x0ecd1400, "CD\\RW 40X" }, { 0x0ecda100, "LDW-411SX DVD/CD Rewritable Drive" }, { 0x0ed16660, "Flash Disk 64M-C" }, { 0x0ed16680, "Flash Disk 64M-B" }, { 0x0ed17634, "MP3 Player" }, { 0x0ed5e000, "USB-inSync Device" }, { 0x0ed5f000, "Fiberbyte USB-inSync Device" }, { 0x0ed5f201, "Fiberbyte USB-inSync DAQ-2500X" }, { 0x0edf2060, "FID irock! 100 Series" }, { 0x0ee31000, "Image Tank 1.5" }, { 0x0ee40690, "SATA 3 Adapter" }, { 0x0eee8810, "Mass Storage Drive" }, { 0x0eef0001, "Titan6001 Surface Acoustic Wave Touchscreen Controller [eGalax]" }, { 0x0eef0002, "Touchscreen Controller(Professional)" }, { 0x0eef7200, "Touchscreen Controller" }, { 0x0eef7904, "Multitouch Capacitive Touchscreen eGalaxTouch EXC7904-21v00_T13 [IIyama Prolite T1932-MSC]" }, { 0x0eefa802, "eGalaxTouch EXC7920" }, { 0x0eefb10e, "eGalaxTouch EXC3000" }, { 0x0eefc000, "Multitouch Capacitive Touchscreen eGalaxTouch EXC3188-4643-08.00.00.00 Sirius_4643 PCAP3188UR Series [IIyama Prolite PLT1932MSC]" }, { 0x0ef52202, "Flash Disk" }, { 0x0ef52366, "Flash Disk" }, { 0x0f030001, "Alpha 1200Sx" }, { 0x0f0d000a, "Dead or Alive 4 FightStick for Xbox 360" }, { 0x0f0d000c, "Horipad EX Turbo for Xbox 360" }, { 0x0f0d000d, "Fighting Stick EX2 for Xbox 360" }, { 0x0f0d0011, "Real Arcade Pro 3" }, { 0x0f0d0016, "Real Arcade Pro.EX for Xbox 360" }, { 0x0f0d001b, "Real Aracde Pro.VX" }, { 0x0f0d0063, "Real Arcade Pro Hayabusa for Xbox One" }, { 0x0f0d0067, "Horipad One" }, { 0x0f0d0078, "Real Arcade Pro V Kai for Xbox One / Xbox 360" }, { 0x0f0d0090, "Horipad Ultimate" }, { 0x0f0d00c1, "HORIPAD for Nintendo Switch" }, { 0x0f0f0006, "GreenPak Universal Dev Board (Active Mode)" }, { 0x0f0f8006, "GreenPak Universal Dev Board (Reset Mode)" }, { 0x0f111000, "CASSY-S" }, { 0x0f111010, "Pocket-CASSY" }, { 0x0f111020, "Mobile-CASSY" }, { 0x0f111080, "Joule and Wattmeter" }, { 0x0f111081, "Digital Multimeter P" }, { 0x0f111090, "UMI P" }, { 0x0f111100, "X-Ray Apparatus" }, { 0x0f111101, "X-Ray Apparatus" }, { 0x0f111200, "VideoCom" }, { 0x0f112000, "COM3LAB" }, { 0x0f112010, "Terminal Adapter" }, { 0x0f112020, "Network Analyser" }, { 0x0f112030, "Converter Control Unit" }, { 0x0f112040, "Machine Test System" }, { 0x0f140012, "Vital'Act 3S" }, { 0x0f140038, "XIRING Smart Card Terminal LEO V2" }, { 0x0f180002, "CCD" }, { 0x0f180006, "Focuser" }, { 0x0f180007, "Filter Wheel" }, { 0x0f18000a, "ProLine CCD" }, { 0x0f18000b, "Color Filter Wheel 4" }, { 0x0f18000c, "PDF2" }, { 0x0f18000d, "Guider" }, { 0x0f30001c, "PS3 Guitar Controller Dongle" }, { 0x0f30010b, "Philips Recoil" }, { 0x0f300110, "Dual Analog Rumble Pad" }, { 0x0f300111, "Colour Rumble Pad" }, { 0x0f300202, "Joytech Advanced Controller" }, { 0x0f300208, "Xbox & PC Gamepad" }, { 0x0f308888, "BigBen XBMiniPad Controller" }, { 0x0f390404, "Recreated ZX Spectrum Keyboard" }, { 0x0f390876, "Keyboard [87 Francium Pro]" }, { 0x0f391086, "DK2108SZ Keyboard [Ducky Zero]" }, { 0x0f3d0112, "CDMA 1xEVDO PC Card, PC 5220" }, { 0x0f44ef11, "Patriot (firmware not loaded)" }, { 0x0f44ef12, "Patriot" }, { 0x0f44ff11, "Liberty (firmware not loaded)" }, { 0x0f44ff12, "Liberty" }, { 0x0f490a00, "Zenius" }, { 0x0f4d1000, "Bluetooth Dongle" }, { 0x0f540101, "MP6 Stage Piano" }, { 0x0f5d9455, "Compact Drive" }, { 0x0f621001, "Targus Mini Trackball Optical Mouse" }, { 0x0f630010, "Leapster Explorer" }, { 0x0f630022, "Leap Reader" }, { 0x0f630500, "Fly Fusion" }, { 0x0f630600, "Leap Port Turbo" }, { 0x0f630700, "POGO" }, { 0x0f630800, "Didj" }, { 0x0f630900, "TAGSchool" }, { 0x0f630a00, "Leapster 2" }, { 0x0f630b00, "Crammer" }, { 0x0f630c00, "Tag Jr" }, { 0x0f630d00, "My Pal Scout" }, { 0x0f630e00, "Tag32" }, { 0x0f630f00, "Tag64" }, { 0x0f631000, "Kiwi16" }, { 0x0f631100, "Leapster L2x" }, { 0x0f631111, "Fly Fusion" }, { 0x0f631300, "Didj UK/France (Leapster Advance)" }, { 0x0f6e0100, "IS-CGB-EMULATOR" }, { 0x0f6e0201, "GameBoy Advance Flash Gang Writer" }, { 0x0f6e0202, "IS-AGB-CAPTURE" }, { 0x0f6e0300, "IS-DOL-VIEWER" }, { 0x0f6e0400, "IS-NITRO-EMULATOR" }, { 0x0f6e0401, "IS-NITRO-UIC" }, { 0x0f6e0402, "IS-NITRO-WRITER" }, { 0x0f6e0403, "IS-NITRO-CAPTURE" }, { 0x0f6e0404, "IS-NITRO-EMULATOR (DS Lite)" }, { 0x0f6e0500, "IS-TWL-DEBUGGER" }, { 0x0f6e0501, "IS-TWL-CAPTURE" }, { 0x0f883012, "RT2570" }, { 0x0f883014, "ZD1211B" }, { 0x0f9c0301, "M-Any Premium DAH-610 MP3/WMA Player" }, { 0x0f9c0332, "mobiBLU DAH-1200 MP3/Ogg Player" }, { 0x0fb63fc3, "Firefly X10i I/O Board (with firmware)" }, { 0x0fb63fc4, "Firefly X10i I/O Board (without firmware)" }, { 0x0fb80002, "eHome Infrared Receiver" }, { 0x0fc51222, "I/O Development Board" }, { 0x0fca0001, "Blackberry Handheld" }, { 0x0fca0004, "Blackberry Handheld" }, { 0x0fca0006, "Blackberry Pearl" }, { 0x0fca0008, "Blackberry Pearl" }, { 0x0fca8001, "Blackberry Handheld" }, { 0x0fca8004, "Blackberry" }, { 0x0fca8007, "RIM BlackBerry Storm/9650" }, { 0x0fca8010, "Blackberry Playbook (Connect to Windows mode)" }, { 0x0fca8011, "Blackberry Playbook (Connect to Mac mode)" }, { 0x0fca8014, "Blackberry Handheld Z30" }, { 0x0fca8020, "Blackberry Playbook (CD-Rom mode)" }, { 0x0fca8031, "BlackBerry Priv" }, { 0x0fca8037, "Blackberry PRIV" }, { 0x0fca8041, "BlackBerry DTEK60" }, { 0x0fca8042, "BlackBerry KEYone" }, { 0x0fce0075, "SonyEricsson K850i" }, { 0x0fce0076, "SonyEricsson W910" }, { 0x0fce00af, "V640i Phone [PTP Camera]" }, { 0x0fce00b3, "SonyEricsson W890i" }, { 0x0fce00c6, "SonyEricsson W760i" }, { 0x0fce00d4, "SonyEricsson C902" }, { 0x0fce00d9, "SonyEricsson C702" }, { 0x0fce00da, "SonyEricsson W980" }, { 0x0fce00ef, "SonyEricsson C905" }, { 0x0fce00f3, "SonyEricsson W595" }, { 0x0fce00f5, "SonyEricsson W902" }, { 0x0fce00fb, "SonyEricsson T700" }, { 0x0fce0105, "SonyEricsson W705/W715" }, { 0x0fce0112, "SonyEricsson W995" }, { 0x0fce0133, "SonyEricsson U5" }, { 0x0fce013a, "SonyEricsson U8i" }, { 0x0fce0144, "SonyEricsson j10i2 (Elm)" }, { 0x0fce0146, "SonyEricsson Xperia Dual E MTP" }, { 0x0fce014e, "SonyEricsson j108i (Cedar)" }, { 0x0fce014f, "SonyEricsson LT15i Xperia arc S MTP" }, { 0x0fce0156, "SonyEricsson MT11i Xperia Neo MTP" }, { 0x0fce0157, "SonyEricsson IS12S Xperia Acro MTP" }, { 0x0fce015a, "SonyEricsson MK16i Xperia MTP" }, { 0x0fce015d, "SonyEricsson R800/R88i Xperia Play MTP" }, { 0x0fce0161, "SonyEricsson ST18a Xperia Ray MTP" }, { 0x0fce0166, "SonyEricsson SK17i Xperia Mini Pro MTP" }, { 0x0fce0167, "SonyEricsson ST15i Xperia Mini MTP" }, { 0x0fce0168, "SonyEricsson ST17i Xperia Active MTP" }, { 0x0fce0169, "SONY LT26i Xperia S MTP" }, { 0x0fce016d, "SONY WT19i Live Walkman MTP" }, { 0x0fce0170, "SONY ST21i Xperia Tipo MTP" }, { 0x0fce0171, "SONY ST15i Xperia U MTP" }, { 0x0fce0172, "SONY LT22i Xperia P MTP" }, { 0x0fce0173, "SONY MT27i Xperia Sola MTP" }, { 0x0fce0175, "SONY LT26w Xperia Acro HD IS12S MTP" }, { 0x0fce0176, "SONY LT26w Xperia Acro HD SO-03D MTP" }, { 0x0fce0177, "SONY LT28at Xperia Ion MTP" }, { 0x0fce0178, "SONY LT29i Xperia GX MTP" }, { 0x0fce017e, "SONY ST27i/ST27a Xperia go MTP" }, { 0x0fce0180, "SONY ST23i Xperia Miro MTP" }, { 0x0fce0181, "SONY SO-05D Xperia SX MTP" }, { 0x0fce0182, "SONY LT30p Xperia T MTP" }, { 0x0fce0186, "SONY LT25i Xperia V MTP" }, { 0x0fce0188, "SONY Xperia J MTP" }, { 0x0fce0189, "SONY Xperia ZL MTP" }, { 0x0fce018c, "SONY Xperia E MTP" }, { 0x0fce018d, "SONY Xperia Tablet Z MTP 1" }, { 0x0fce0192, "SONY Xperia L MTP" }, { 0x0fce0193, "SONY Xperia Z MTP" }, { 0x0fce0194, "SONY Xperia Tablet Z MTP 2" }, { 0x0fce0195, "SONY Xperia SP MTP" }, { 0x0fce0196, "SONY Xperia Z Ultra MTP (ID2)" }, { 0x0fce0197, "SONY Xperia ZR MTP" }, { 0x0fce0198, "SONY Xperia A MTP" }, { 0x0fce019b, "SONY Xperia M MTP" }, { 0x0fce019c, "SONY Xperia Z Ultra MTP (ID3)" }, { 0x0fce019e, "SONY Xperia Z1 MTP" }, { 0x0fce01a3, "SONY Xperia C MTP" }, { 0x0fce01a5, "SO-04F" }, { 0x0fce01a7, "SONY Xperia Z1 Compact D5503" }, { 0x0fce01a9, "SONY Xperia T2 Ultra MTP" }, { 0x0fce01aa, "SONY Xperia M2 MTP" }, { 0x0fce01ab, "SONY Xperia M2 Dual MTP" }, { 0x0fce01af, "SONY Xperia Z2 MTP" }, { 0x0fce01b0, "SONY Xperia Z3v MTP" }, { 0x0fce01b1, "SONY Xperia Z2 Tablet MTP" }, { 0x0fce01b5, "SONY Xperia E1 MTP" }, { 0x0fce01b6, "SONY Xperia Z Ultra MTP" }, { 0x0fce01b8, "SONY Xperia M2 Aqua MTP" }, { 0x0fce01ba, "SONY Xperia Z3 MTP" }, { 0x0fce01bb, "SONY Xperia Z3 Compact MTP" }, { 0x0fce01bc, "SONY Xperia E3 MTP" }, { 0x0fce01c0, "SONY Xperia Z3 Tablet MTP" }, { 0x0fce01c4, "SONY Xperia M4 Aqua Dual MTP" }, { 0x0fce01c5, "SONY Xperia E4 Dual MTP" }, { 0x0fce01c9, "SONY Xperia Z3+ MTP" }, { 0x0fce01cb, "SONY Xperia E4g MTP" }, { 0x0fce01d2, "SONY Xperia C4 Dual MTP" }, { 0x0fce01d6, "SONY Xperia M5 MTP" }, { 0x0fce01d9, "SONY Xperia Z5 MTP" }, { 0x0fce01da, "SONY Xperia Z5 Compact MTP" }, { 0x0fce01db, "SONY Xperia Z5 Premium Dual Sim MTP" }, { 0x0fce01de, "SONY Xperia XA MTP" }, { 0x0fce01e0, "SONY Xperia X MTP" }, { 0x0fce01e1, "SONY Xperia SOV33" }, { 0x0fce01e7, "SONY Xperia XZ MTP" }, { 0x0fce01e8, "SONY Xperia X Compact MTP" }, { 0x0fce01eb, "SONY Xperia XA1" }, { 0x0fce01ed, "SONY Xperia XZ" }, { 0x0fce01ef, "SONY Xperia XA1 Ultra" }, { 0x0fce01f1, "SONY Xperia XZ Premium" }, { 0x0fce01f3, "SONY Xperia XZ1" }, { 0x0fce01f4, "SONY Xperia XZ1 Compact" }, { 0x0fce01f6, "SONY Xperia L2" }, { 0x0fce01f7, "SONY Xperia XA2 Compact" }, { 0x0fce01f8, "SONY Xperia XA2 Ultra" }, { 0x0fce01f9, "SONY Xperia XZ2 Compact Dual Sim" }, { 0x0fce01fa, "SONY Xperia XZ2 (H8266)" }, { 0x0fce01fb, "SONY Xperia XZ2 Premium" }, { 0x0fce01ff, "SONY Xperia XZ3 Dual Sim (H9436)" }, { 0x0fce0201, "SONY Xperia 10 (I4113)" }, { 0x0fce0205, "SONY Xperia 1 (J9110)" }, { 0x0fce0207, "SONY Xperia L3" }, { 0x0fce020a, "SONY Xperia 5" }, { 0x0fce020d, "SONY Xperia 5 II Phone" }, { 0x0fce0a07, "SONY Xperia XA2 (Jolla Sailfish)" }, { 0x0fce1010, "WMC Modem" }, { 0x0fce10af, "V640i Phone [PictBridge]" }, { 0x0fce10c8, "SonyEricsson W302" }, { 0x0fce10d4, "C902 Phone [PictBridge]" }, { 0x0fce2105, "W715 Phone" }, { 0x0fce2137, "Xperia X10 mini (USB debug)" }, { 0x0fce2138, "Xperia X10 mini pro (Debug)" }, { 0x0fce2149, "Xperia X8 (debug)" }, { 0x0fce214e, "J108i Cedar (Windows-driver mode)" }, { 0x0fce3137, "Xperia X10 mini" }, { 0x0fce3138, "Xperia X10 mini pro" }, { 0x0fce3149, "Xperia X8" }, { 0x0fce4157, "SonyEricsson IS12S Xperia Acro MTP+CDROM" }, { 0x0fce4168, "SonyEricsson ST17i Xperia Active MTP+CDROM" }, { 0x0fce4169, "SONY LT26i Xperia S MTP+CDROM" }, { 0x0fce4170, "SONY ST21i Xperia Tipo MTP+CDROM" }, { 0x0fce4171, "SONY ST25i Xperia U MTP+CDROM" }, { 0x0fce4172, "SONY LT22i Xperia P MTP+CDROM" }, { 0x0fce4173, "SONY MT27i Xperia Sola MTP+CDROM" }, { 0x0fce4175, "SONY LT26w Xperia Acro HD IS12S MTP+CDROM" }, { 0x0fce4176, "SONY LT26w Xperia Acro HD SO-03D MTP+CDROM" }, { 0x0fce4177, "SONY LT28at Xperia Ion MTP+CDROM" }, { 0x0fce4178, "SONY LT29i Xperia GX MTP+CDROM" }, { 0x0fce417e, "SONY ST27i/ST27a Xperia go MTP+CDROM" }, { 0x0fce4180, "SONY ST23i Xperia Miro MTP+CDROM" }, { 0x0fce4181, "SONY SO-05D Xperia SX MTP+CDROM" }, { 0x0fce4182, "SONY LT30p Xperia T MTP+CDROM" }, { 0x0fce4186, "SONY LT25i Xperia V MTP+CDROM" }, { 0x0fce4188, "SONY Xperia J MTP+CDROM" }, { 0x0fce4189, "SONY Xperia ZL MTP+CDROM" }, { 0x0fce418c, "SONY Xperia E MTP+CDROM" }, { 0x0fce418d, "SONY Xperia Tablet Z MTP+CDROM 1" }, { 0x0fce4192, "SONY Xperia L MTP+CDROM" }, { 0x0fce4193, "SONY Xperia Z MTP+CDROM" }, { 0x0fce4194, "SONY Xperia Tablet Z MTP+CDROM 2" }, { 0x0fce4195, "SONY Xperia SP MTP+CDROM" }, { 0x0fce419b, "SONY Xperia M MTP+CDROM" }, { 0x0fce419c, "SONY Xperia Z Ultra MTP+CDROM (ID3)" }, { 0x0fce419e, "SONY Xperia Z1 MTP+CDROM" }, { 0x0fce41a3, "SONY Xperia C MTP+CDROM" }, { 0x0fce41a7, "SONY Xperia Z1 Compact D5503 MTP+CDROM" }, { 0x0fce41a9, "SONY Xperia T2 Ultra MTP+CDROM" }, { 0x0fce41aa, "SONY Xperia M2 MTP+CDROM" }, { 0x0fce41ab, "SONY Xperia M2 Dual MTP+CDROM" }, { 0x0fce41af, "SONY Xperia Z2 MTP+CDROM" }, { 0x0fce41b0, "SONY Xperia Z3v MTP+CDROM" }, { 0x0fce41b1, "SONY Xperia Z2 Tablet MTP+CDROM" }, { 0x0fce41b5, "SONY Xperia E1 MTP+CDROM" }, { 0x0fce41b6, "SONY Xperia Z Ultra MTP+CDROM" }, { 0x0fce41b8, "SONY Xperia M2 Aqua MTP+CDROM" }, { 0x0fce41ba, "SONY Xperia Z3 MTP+CDROM" }, { 0x0fce41bb, "SONY Xperia Z3 Compact MTP+CDROM" }, { 0x0fce41bc, "SONY Xperia E3 MTP+CDROM" }, { 0x0fce41c0, "SONY Xperia Z3 Tablet MTP+CDROM" }, { 0x0fce41c4, "SONY Xperia M4 Aqua Dual MTP+CDROM" }, { 0x0fce41c5, "SONY Xperia E4 Dual MTP+CDROM" }, { 0x0fce41c9, "SONY Xperia Z3+ MTP+CDROM" }, { 0x0fce41cb, "SONY Xperia E4g MTP+CDROM" }, { 0x0fce41d2, "SONY Xperia C4 Dual MTP+CDROM" }, { 0x0fce41d6, "SONY Xperia M5 MTP+CDROM" }, { 0x0fce41d9, "SONY Xperia Z5 MTP+CDROM" }, { 0x0fce41da, "SONY Xperia Z5 Compact MTP+CDROM" }, { 0x0fce41db, "SONY Xperia Z5 Premium Dual Sim MTP+CDROM" }, { 0x0fce41de, "SONY Xperia XA MTP+CDROM" }, { 0x0fce41e0, "SONY Xperia X MTP+CDROM" }, { 0x0fce41e1, "SONY Xperia SOV33 MTP+CDROM" }, { 0x0fce41e7, "SONY Xperia XZ MTP+CDROM" }, { 0x0fce41e8, "SONY Xperia X Compact MTP+CDROM" }, { 0x0fce41eb, "SONY Xperia XA1 MTP+CDROM" }, { 0x0fce41ed, "SONY Xperia XZ CDROM" }, { 0x0fce41ef, "SONY Xperia XA1 Ultra MTP+CDROM" }, { 0x0fce41f1, "SONY Xperia XZ Premium MTP+CDROM" }, { 0x0fce41f3, "SONY Xperia XZ1 MTP+CDROM" }, { 0x0fce41f4, "SONY Xperia XZ1 Compact MTP+CDROM" }, { 0x0fce41f6, "SONY Xperia L2 MTP+CDROM" }, { 0x0fce41f7, "SONY Xperia XA2 Compact MTP+CDROM" }, { 0x0fce41f8, "SONY Xperia XA2 Ultra MTP+CDROM" }, { 0x0fce41f9, "SONY Xperia XZ2 Compact Dual Sim MTP+CDROM" }, { 0x0fce41fa, "SONY Xperia XZ2 (H8266) MTP+CDROM" }, { 0x0fce41fb, "SONY Xperia XZ2 Premium MTP+CDROM" }, { 0x0fce41ff, "SONY Xperia XZ3 Dual Sim (H9436) MTP+CDROM" }, { 0x0fce4201, "SONY Xperia 10 (I4113) MTP+CDROM" }, { 0x0fce4205, "SONY Xperia 1 (J9110) MTP+CDROM" }, { 0x0fce4207, "SONY Xperia L3 MTP+CDROM" }, { 0x0fce420a, "SONY Xperia 5 MTP+CDROM" }, { 0x0fce420d, "SONY Xperia 5 II Phone MTP+CDROM" }, { 0x0fce5146, "SonyEricsson Xperia Dual E MTP+ADB" }, { 0x0fce514f, "SonyEricsson LT15i Xperia Arc MTP+ADB" }, { 0x0fce5156, "SonyEricsson MT11i Xperia Neo MTP+ADB" }, { 0x0fce5157, "SonyEricsson IS12S Xperia Acro MTP+ADB" }, { 0x0fce515a, "SonyEricsson MK16i Xperia MTP+ADB" }, { 0x0fce515d, "SonyEricsson R800/R88i Xperia Play MTP+ADB" }, { 0x0fce5161, "SonyEricsson ST18i Xperia Ray MTP+ADB" }, { 0x0fce5166, "SonyEricsson SK17i Xperia Mini Pro MTP+ADB" }, { 0x0fce5167, "SonyEricsson ST15i Xperia Mini MTP+ADB" }, { 0x0fce5168, "SonyEricsson ST17i Xperia Active MTP+ADB" }, { 0x0fce5169, "SONY LT26i Xperia S MTP+ADB" }, { 0x0fce516d, "SonyEricsson WT19i Live Walkman MTP+ADB" }, { 0x0fce5170, "SONY ST21i Xperia Tipo MTP+ADB" }, { 0x0fce5171, "SONY ST25i Xperia U MTP+ADB" }, { 0x0fce5172, "SONY LT22i Xperia P MTP+ADB" }, { 0x0fce5173, "SONY MT27i Xperia Sola MTP+ADB" }, { 0x0fce5175, "SONY IS12S Xperia Acro HD MTP+ADB" }, { 0x0fce5176, "SONY SO-03D Xperia Acro HD MTP+ADB" }, { 0x0fce5177, "SONY LT28at Xperia Ion MTP+ADB" }, { 0x0fce5178, "SONY LT29i Xperia GX MTP+ADB" }, { 0x0fce517e, "SONY ST27i/ST27a Xperia go MTP+ADB" }, { 0x0fce5180, "SONY ST23i Xperia Miro MTP+ADB" }, { 0x0fce5181, "SONY SO-05D Xperia SX MTP+ADB" }, { 0x0fce5182, "SONY LT30p Xperia T MTP+ADB" }, { 0x0fce5186, "SONY LT25i Xperia V MTP+ADB" }, { 0x0fce5188, "SONY Xperia J MTP+ADB" }, { 0x0fce5189, "SONY Xperia ZL MTP+ADB" }, { 0x0fce518c, "SONY Xperia E MTP+ADB" }, { 0x0fce518d, "SONY Xperia Tablet Z MTP+ADB 1" }, { 0x0fce5192, "SONY Xperia L MTP+ADB" }, { 0x0fce5193, "SONY Xperia Z MTP+ADB" }, { 0x0fce5194, "SONY Xperia Tablet Z MTP+ADB 2" }, { 0x0fce5195, "SONY Xperia SP MTP+ADB" }, { 0x0fce5196, "SONY Xperia Z Ultra MTP+ADB (ID2)" }, { 0x0fce5197, "SONY Xperia ZR MTP+ADB" }, { 0x0fce5198, "SONY Xperia A MTP+ADB" }, { 0x0fce519b, "SONY Xperia M MTP+ADB" }, { 0x0fce519c, "SONY Xperia Z Ultra MTP+ADB (ID3)" }, { 0x0fce519e, "SONY Xperia Z1 MTP+ADB" }, { 0x0fce51a3, "SONY Xperia C MTP+ADB" }, { 0x0fce51a7, "SONY Xperia Z1 Compact MTP+ADB" }, { 0x0fce51a9, "SONY Xperia T2 Ultra MTP+ADB" }, { 0x0fce51aa, "SONY Xperia M2 MTP+ADB" }, { 0x0fce51ab, "SONY Xperia M2 Dual MTP+ADB" }, { 0x0fce51af, "SONY Xperia Z2 MTP+ADB" }, { 0x0fce51b0, "SONY Xperia Z3v MTP+ADB" }, { 0x0fce51b1, "SONY Xperia Z2 Tablet MTP+ADB" }, { 0x0fce51b5, "SONY Xperia E1 MTP+ADB" }, { 0x0fce51b6, "SONY Xperia Z Ultra MTP+ADB" }, { 0x0fce51b8, "SONY Xperia M2 Aqua MTP+ADB" }, { 0x0fce51ba, "SONY Xperia Z3 MTP+ADB" }, { 0x0fce51bb, "SONY Xperia Z3 Compact MTP+ADB" }, { 0x0fce51bc, "SONY Xperia E3 MTP+ADB" }, { 0x0fce51c0, "SONY Xperia Z3 Tablet MTP+ADB" }, { 0x0fce51c4, "SONY Xperia M4 Aqua Dual MTP+ADB" }, { 0x0fce51c5, "SONY Xperia E4 Dual MTP+ADB" }, { 0x0fce51c9, "SONY Xperia Z3+ MTP+ADB" }, { 0x0fce51cb, "SONY Xperia E4g MTP+ADB" }, { 0x0fce51d2, "SONY Xperia C4 Dual MTP+ADB" }, { 0x0fce51d6, "SONY Xperia M5 MTP+ADB" }, { 0x0fce51d9, "SONY Xperia Z5 MTP+ADB" }, { 0x0fce51da, "SONY Xperia Z5 Compact MTP+ADB" }, { 0x0fce51db, "SONY Xperia Z5 Premium Dual Sim MTP+ADB" }, { 0x0fce51de, "SONY Xperia XA MTP+ADB" }, { 0x0fce51e0, "SONY Xperia X MTP+ADB" }, { 0x0fce51e1, "SONY Xperia SOV33 MTP+ADB" }, { 0x0fce51e7, "SONY Xperia XZ MTP+ADB" }, { 0x0fce51e8, "SONY Xperia X Compact MTP+ADB" }, { 0x0fce51eb, "SONY Xperia XA1 MTP+ADB" }, { 0x0fce51ed, "SONY Xperia XZ ADB" }, { 0x0fce51ef, "SONY Xperia XA1 Ultra MTP+ADB" }, { 0x0fce51f1, "SONY Xperia XZ Premium MTP+ADB" }, { 0x0fce51f3, "SONY Xperia XZ1 ADB" }, { 0x0fce51f4, "SONY Xperia XZ1 Compact MTP+ADB" }, { 0x0fce51f6, "SONY Xperia L2 MTP+ADB" }, { 0x0fce51f7, "SONY Xperia XA2 Compact MTP+ADB" }, { 0x0fce51f8, "SONY Xperia XA2 Ultra MTP+ADB" }, { 0x0fce51f9, "SONY Xperia XZ2 Compact Dual Sim MTP+ADB" }, { 0x0fce51fa, "SONY Xperia XZ2 (H8266) MTP+ADB" }, { 0x0fce51fb, "SONY Xperia XZ2 Premium MTP+ADB" }, { 0x0fce51ff, "SONY Xperia XZ3 Dual Sim (H9436) MTP+ADB" }, { 0x0fce5201, "SONY Xperia 10 (I4113) MTP+ADB" }, { 0x0fce5205, "SONY Xperia 1 (J9110) MTP+ADB" }, { 0x0fce5207, "SONY Xperia L3 MTP+ADB" }, { 0x0fce520a, "SONY Xperia 5 MTP+ADB" }, { 0x0fce520d, "SONY Xperia 5 II Phone MTP+ADB" }, { 0x0fce614f, "Xperia X12 (debug mode)" }, { 0x0fce6166, "Xperia Mini Pro" }, { 0x0fce618c, "C1605 [Xperia E dual] MSC mode" }, { 0x0fce715a, "Xperia Pro [Tethering]" }, { 0x0fce7166, "Xperia Mini Pro (Tethering mode)" }, { 0x0fce7177, "Xperia Ion [Tethering]" }, { 0x0fce71f4, "G8441 (Xperia XZ1 Compact) [Tethering]" }, { 0x0fce71f9, "H8314 [Xperia XZ2 Compact] (Tethering)" }, { 0x0fce8004, "9000 Phone [Mass Storage]" }, { 0x0fce81f4, "G8441 (Xperia XZ1 Compact) [Tethering]" }, { 0x0fcea173, "SONY MT27i Xperia Sola MTP+UMS" }, { 0x0fcea175, "SONY IS12S Xperia Acro HD MTP+UMS" }, { 0x0fcea176, "SONY SO-03D Xperia Acro HD MTP+UMS" }, { 0x0fcea177, "SONY LT28at Xperia Ion MTP+UMS" }, { 0x0fcea17e, "SONY ST27i/ST27a Xperia go MTP+UMS" }, { 0x0fceadde, "C2005 (Xperia M dual) in service mode" }, { 0x0fceb173, "SONY MT27i Xperia Sola MTP+UMS+ADB" }, { 0x0fceb175, "SONY IS12S Xperia Acro MTP+UMS+ADB" }, { 0x0fceb176, "SONY SO-03D Xperia Acro MTP+UMS+ADB" }, { 0x0fceb177, "SONY LT28at Xperia Ion MTP+UMS+ADB" }, { 0x0fceb17e, "SONY ST27i/ST27a Xperia go MTP+UMS+ADB" }, { 0x0fcec1e0, "F5122 [Xperia X dual] (MIDI mode)" }, { 0x0fcec1e8, "F5321 [Xperia X Compact] (MIDI mode)" }, { 0x0fcec1f9, "H8314 [Xperia XZ2 Compact] (MIDI)" }, { 0x0fced008, "V800-Vodafone 802SE Phone" }, { 0x0fced016, "K750i Phone" }, { 0x0fced017, "K608i Phone" }, { 0x0fced019, "VDC EGPRS Modem" }, { 0x0fced025, "520 WMC Data Modem" }, { 0x0fced028, "W800i" }, { 0x0fced038, "W850i Phone" }, { 0x0fced039, "K800i (phone mode)" }, { 0x0fced041, "K510i Phone" }, { 0x0fced042, "W810i Phone" }, { 0x0fced043, "V630i Phone" }, { 0x0fced046, "K610i Phone" }, { 0x0fced065, "W960i Phone (PC Suite)" }, { 0x0fced076, "W910i (Phone mode)" }, { 0x0fced079, "K530 Phone" }, { 0x0fced089, "W580i Phone (mass storage)" }, { 0x0fced0a1, "K810" }, { 0x0fced0af, "V640i Phone" }, { 0x0fced0cf, "MD300 Mobile Broadband Modem" }, { 0x0fced0d4, "C902 Phone [Modem]" }, { 0x0fced0e1, "MD400 Mobile Broadband Modem" }, { 0x0fced12a, "U100i Yari Phone" }, { 0x0fced12e, "Xperia X10" }, { 0x0fced144, "SonyEricsson j10i (Elm)" }, { 0x0fced14e, "J108i Cedar (modem mode)" }, { 0x0fcee000, "SonyEricsson K550i" }, { 0x0fcee039, "K800i (msc mode)" }, { 0x0fcee042, "W810i Phone" }, { 0x0fcee043, "V630i Phone [Mass Storage]" }, { 0x0fcee075, "K850i" }, { 0x0fcee076, "W910i (Mass storage)" }, { 0x0fcee089, "W580i Phone" }, { 0x0fcee090, "W200 Phone (Mass Storage)" }, { 0x0fcee0a1, "K810 (Mass Storage mode)" }, { 0x0fcee0a3, "W660i" }, { 0x0fcee0af, "V640i Phone [Mass Storage]" }, { 0x0fcee0d4, "C902 Phone [Mass Storage]" }, { 0x0fcee0ef, "C905 Phone [Mass Storage]" }, { 0x0fcee0f3, "W595" }, { 0x0fcee105, "W705" }, { 0x0fcee112, "W995 Phone (Mass Storage)" }, { 0x0fcee12e, "X10i Phone" }, { 0x0fcee133, "Vivaz" }, { 0x0fcee14e, "J108i Cedar (mass-storage mode)" }, { 0x0fcee14f, "Xperia Arc/X12" }, { 0x0fcee15a, "Xperia Pro [Mass Storage Class]" }, { 0x0fcee161, "Xperia Ray" }, { 0x0fcee166, "Xperia Mini Pro" }, { 0x0fcee167, "XPERIA mini" }, { 0x0fcee19b, "C2005 [Xperia M dual] (Mass Storage)" }, { 0x0fcee1a9, "D5303" }, { 0x0fcee1aa, "D2303" }, { 0x0fcee1ad, "D5103" }, { 0x0fcee1b0, "D6708" }, { 0x0fcee1b5, "D2004" }, { 0x0fcee1ba, "D6683" }, { 0x0fcee1bb, "SO-02G" }, { 0x0fcee1bc, "D2203" }, { 0x0fcee1c0, "SGP621" }, { 0x0fcee1c2, "D2533" }, { 0x0fcee1c9, "E6553" }, { 0x0fcee1cf, "SGP771" }, { 0x0fcef0fa, "MN800 / Smartwatch 2 (DFU mode)" }, { 0x0fcf1003, "ANT Development Board" }, { 0x0fcf1004, "ANTUSB Stick" }, { 0x0fcf1006, "ANT Development Board" }, { 0x0fcf1008, "ANTUSB2 Stick" }, { 0x0fcf1009, "ANTUSB-m Stick" }, { 0x0fd20001, "RDS 6000" }, { 0x0fd90011, "EyeTV Diversity" }, { 0x0fd90018, "EyeTV Hybrid" }, { 0x0fd90020, "EyeTV DTT Deluxe" }, { 0x0fd90021, "EyeTV DTT" }, { 0x0fd9002a, "EyeTV Sat" }, { 0x0fd9002c, "EyeTV DTT Deluxe v2" }, { 0x0fd90033, "Video Capture" }, { 0x0fd90037, "Video Capture v2" }, { 0x0fd90060, "Stream Deck" }, { 0x0fd90063, "Stream Deck Mini" }, { 0x0fd9006c, "Stream Deck XL" }, { 0x0fd9006d, "Stream Deck original V2" }, { 0x0fda0100, "quanton flight control" }, { 0x0fdeca01, "WMRS200 weather station" }, { 0x0fdeca05, "CM160" }, { 0x0fdeca08, "WMR300 Professional Weather System" }, { 0x0fe00100, "Bluetooth Mouse" }, { 0x0fe00101, "Bluetooth IMU" }, { 0x0fe00200, "Bluetooth Keypad" }, { 0x0fe68101, "DM9601 Fast Ethernet Adapter" }, { 0x0fe6811e, "Parallel Adapter" }, { 0x0fe69700, "DM9601 Fast Ethernet Adapter" }, { 0x0fe94020, "TViX M-6500" }, { 0x0fe99010, "FusionRemote IR receiver" }, { 0x0fe9db00, "FusionHDTV DVB-T (MT352+LgZ201) (uninitialized)" }, { 0x0fe9db01, "FusionHDTV DVB-T (MT352+LgZ201) (initialized)" }, { 0x0fe9db10, "FusionHDTV DVB-T (MT352+Thomson7579) (uninitialized)" }, { 0x0fe9db11, "FusionHDTV DVB-T (MT352+Thomson7579) (initialized)" }, { 0x0fe9db78, "FusionHDTV DVB-T Dual Digital 4 (ZL10353+xc2028/xc3028) (initialized)" }, { 0x0ffc0021, "Nord Stage 2" }, { 0x0ffc002a, "Nord Piano 4" }, { 0x0ffdff00, "OEM" }, { 0x1000153b, "TerraTec Electronic GmbH" }, { 0x10030003, "SD14" }, { 0x10030100, "SD9/SD10" }, { 0x10038781, "Dock UD-01" }, { 0x1003c432, "Sigma fp" }, { 0x1003c442, "Sigma fp L" }, { 0x10041fae, "U8120 3G Cellphone" }, { 0x10046000, "Various Mobile Phones" }, { 0x10046005, "T5100" }, { 0x10046010, "LG Electronics Inc. VX8550 V CAST Mobile Phone" }, { 0x10046018, "GM360/GD510/GW520/KP501" }, { 0x1004608f, "LG Electronics Inc. KC910 Renoir Mobile Phone" }, { 0x1004611b, "LG Electronics Inc. GR-500 Music Player" }, { 0x10046132, "LG Electronics Inc. KM900" }, { 0x1004618e, "Ally/Optimus One/Vortex (debug mode)" }, { 0x1004618f, "Ally/Optimus One" }, { 0x1004619a, "LG Electronics Inc. LG8575" }, { 0x100461c5, "P880 / Charge only" }, { 0x100461c6, "Vortex (msc)" }, { 0x100461cc, "Optimus S" }, { 0x100461da, "G2 Android Phone [tethering mode]" }, { 0x100461f1, "LG Electronics Inc. Android phone (ID1)" }, { 0x100461f9, "LG Electronics Inc. Android phone (ID2)" }, { 0x100461fc, "Optimus 3" }, { 0x100461fe, "Optimus Android Phone [USB tethering mode]" }, { 0x1004621c, "LG Electronics Inc. G2 (VS980)" }, { 0x10046225, "LG Electronics Inc. G2" }, { 0x1004622a, "LG Electronics Inc. LG VS950" }, { 0x10046239, "LG Electronics Inc. LG VS870" }, { 0x1004623d, "LG Electronics Inc. LG VS890" }, { 0x10046259, "LG Electronics Inc. LG Optimus Zone 2" }, { 0x10046263, "LG Electronics Inc. 810 tablet" }, { 0x10046265, "LG Electronics Inc. VK810" }, { 0x1004626e, "LG Electronics Inc. G3 (VS985)" }, { 0x1004627f, "LG Electronics Inc. G3" }, { 0x1004628a, "LG Electronics Inc. Transpyre" }, { 0x100462c9, "LG Electronics Inc. LG G6 Phone" }, { 0x100462ce, "LG Electronics Inc. LG G5 Phone" }, { 0x10046300, "G2/Optimus Android Phone [Charge mode]" }, { 0x1004631c, "LG Electronics Inc. Various E and P models" }, { 0x1004631d, "Optimus Android Phone (Camera/PTP Mode)" }, { 0x1004631e, "LM-X420xxx/G2/Optimus Android Phone (PTP/camera mode)" }, { 0x1004631f, "Optimus Android Phone (Charge Mode)" }, { 0x1004633a, "Ultimate 2 Android Phone L41C" }, { 0x1004633e, "LG Electronics Inc. LG G Flex 2" }, { 0x1004633f, "LG Electronics Inc. LG G3 f460s" }, { 0x10046344, "LM-X420xxx/G2 Android Phone (USB tethering mode)" }, { 0x10046348, "LM-X420xxx Android Phone (MIDI mode)" }, { 0x10046356, "Optimus Android Phone [Virtual CD mode]" }, { 0x10046800, "CDMA Modem" }, { 0x10047000, "LG LDP-7024D(LD)USB" }, { 0x100491c8, "P880 / USB tethering" }, { 0x1004a400, "Renoir (KC910)" }, { 0x10051001, "MP3 Player" }, { 0x10051004, "MP3 Player" }, { 0x10051006, "MP3 Player" }, { 0x1005b113, "Handy Steno/AH123 / Handy Steno 2.0/HT203" }, { 0x1005b155, "Disk Module" }, { 0x1005b223, "CD-RW + 6in1 Card Reader Digital Storage / Converter" }, { 0x10063001, "iHP-100" }, { 0x10063002, "iHP-120/140 MP3 Player" }, { 0x10063003, "H320/H340" }, { 0x10063004, "iRiver H300 Series MTP" }, { 0x10064002, "iRiver Portable Media Center 1" }, { 0x10064003, "iRiver Portable Media Center 2" }, { 0x1009000e, "eHome Infrared Receiver" }, { 0x10090013, "Angel MPEG Device" }, { 0x10090015, "Lumanate Wave PAL SECAM DVBT Device" }, { 0x10090016, "Lumanate Wave NTSC/ATSC Combo Device" }, { 0x100a2402, "MP3 Player" }, { 0x100a2404, "MP3 Player" }, { 0x100a2405, "MP3 Player" }, { 0x100a2406, "MP3 Player" }, { 0x100aa0c0, "MP3 Player" }, { 0x100d3342, "Cayman 3352 DSL Modem" }, { 0x100d3382, "3380 Series Network Interface" }, { 0x100d6072, "DSL Modem" }, { 0x100d9031, "Motorola 802.11n Dualband USB Wireless Adapter" }, { 0x100d9032, "Motorola 802.11n 5G USB Wireless Adapter" }, { 0x100dcb01, "Cayman 3341 Ethernet DSL Router" }, { 0x10110001, "AccFast Mp3" }, { 0x10179015, "M625 [Vendor: DELUX]" }, { 0x10190c55, "Flash Reader, Desknote UCR-61S2B" }, { 0x10190f38, "Infrared Receiver" }, { 0x10200006, "Wireless Keyboard" }, { 0x1020000a, "Wireless Optical Mouse" }, { 0x10200106, "Wireless Optical Mouse/Keyboard" }, { 0x1025005e, "USB DVB-T device" }, { 0x1025005f, "USB DVB-T device" }, { 0x10250300, "MP3 Player" }, { 0x10250350, "MP3 Player" }, { 0x102c6151, "Q-Cam Sangha CIF" }, { 0x102c6251, "Q-Cam VGA" }, { 0x102cff0c, "Joytech Wireless Advanced Controller" }, { 0x10330068, "3,5'' HDD case MD-231" }, { 0x10380100, "Ideazon Zboard" }, { 0x10381260, "Arctis 7 wireless adapter" }, { 0x10381361, "Ideazon Sensei" }, { 0x10381410, "SRW-S1 [Simraceway Steering Wheel]" }, { 0x10381720, "Mouse" }, { 0x10390824, "1866 802.11bg [Texas Instruments TNETW1450]" }, { 0x10392140, "dsl+ 1100 duo" }, { 0x103af000, "Actia Evo XS" }, { 0x103d0100, "ScratchAmp" }, { 0x103d0101, "ScratchAmp" }, { 0x10421143, "iRiver T7 Volcano" }, { 0x1043160f, "Wireless Network Adapter" }, { 0x10434901, "AV-836 Video Capture Device" }, { 0x10438006, "Flash Disk 32-256 MB" }, { 0x10438012, "Flash Disk 256 MB" }, { 0x10447001, "Gigabyte U7000 DVB-T tuner" }, { 0x10447002, "Gigabyte U8000 DVB-T tuner" }, { 0x10447004, "Gigabyte U7100 DVB-T tuner" }, { 0x10447005, "Gigabyte U7200 DVB-T tuner [AF9035]" }, { 0x10447006, "Gigabyte U6000 DVB-T tuner [em2863]" }, { 0x10448001, "GN-54G" }, { 0x10448002, "GN-BR402W" }, { 0x10448003, "GN-WLBM101" }, { 0x10448004, "GN-WLBZ101 802.11b Adapter" }, { 0x10448005, "GN-WLBZ201 802.11b Adapter" }, { 0x10448006, "GN-WBZB-M 802.11b Adapter" }, { 0x10448007, "GN-WBKG" }, { 0x10448008, "GN-WB01GS" }, { 0x1044800a, "GN-WI05GS" }, { 0x1044800b, "GN-WB30N 802.11n WLAN Card" }, { 0x1044800c, "GN-WB31N 802.11n USB WLAN Card" }, { 0x1044800d, "GN-WB32L 802.11n USB WLAN Card" }, { 0x10466694, "Generic W6694 USB" }, { 0x10468901, "Bluetooth Device" }, { 0x10469967, "W9967CF/W9968CF Webcam IC" }, { 0x10482010, "4-Port hub" }, { 0x104d1003, "Model-52 LED Light Source Power Supply and Driver" }, { 0x104d3001, "ESP301 3 Axis Motion Controller" }, { 0x104f0001, "Infinity Phoenix" }, { 0x104f0002, "Smartmouse" }, { 0x104f0003, "FunProgrammer" }, { 0x104f0004, "Infinity Unlimited" }, { 0x104f0006, "Infinity Smart" }, { 0x104f0007, "Infinity Smart module" }, { 0x104f0008, "Infinity CryptoKey" }, { 0x104f0009, "RE-BL PlayStation 3 IR-to-Bluetooth converter" }, { 0x10500010, "Yubikey (v1 or v2)" }, { 0x10500110, "Yubikey NEO(-N) OTP" }, { 0x10500111, "Yubikey NEO(-N) OTP+CCID" }, { 0x10500112, "Yubikey NEO(-N) CCID" }, { 0x10500113, "Yubikey NEO(-N) U2F" }, { 0x10500114, "Yubikey NEO(-N) OTP+U2F" }, { 0x10500115, "Yubikey NEO(-N) U2F+CCID" }, { 0x10500116, "Yubikey NEO(-N) OTP+U2F+CCID" }, { 0x10500120, "Yubikey Touch U2F Security Key" }, { 0x10500200, "Gnubby U2F" }, { 0x10500211, "Gnubby" }, { 0x10500401, "Yubikey 4/5 OTP" }, { 0x10500402, "Yubikey 4/5 U2F" }, { 0x10500403, "Yubikey 4/5 OTP+U2F" }, { 0x10500404, "Yubikey 4/5 CCID" }, { 0x10500405, "Yubikey 4/5 OTP+CCID" }, { 0x10500406, "Yubikey 4/5 U2F+CCID" }, { 0x10500407, "Yubikey 4/5 OTP+U2F+CCID" }, { 0x10500410, "Yubikey plus OTP+U2F" }, { 0x10545004, "DSL 7420 Loader" }, { 0x10545005, "DSL 7420 LAN Modem" }, { 0x10580200, "FireWire USB Combo" }, { 0x10580400, "External HDD" }, { 0x10580500, "hub" }, { 0x10580701, "WD Passport (WDXMS)" }, { 0x10580702, "WD Passport (WDXMS)" }, { 0x10580704, "My Passport Essential (WDME)" }, { 0x10580705, "My Passport Elite (WDML)" }, { 0x1058070a, "My Passport Essential (WDBAAA), My Passport for Mac (WDBAAB), My Passport Essential SE (WDBABM), My Passport SE for Mac (WDBABW)" }, { 0x1058070b, "My Passport Elite (WDBAAC)" }, { 0x1058070c, "My Passport Studio (WDBAAE)" }, { 0x1058071a, "My Passport Essential (WDBAAA)" }, { 0x1058071d, "My Passport Studio (WDBALG)" }, { 0x10580730, "My Passport Essential (WDBACY)" }, { 0x10580732, "My Passport Essential SE (WDBGYS)" }, { 0x10580740, "My Passport Essential (WDBACY)" }, { 0x10580741, "My Passport Ultra" }, { 0x10580742, "My Passport Essential SE (WDBGYS)" }, { 0x10580748, "My Passport (WDBKXH, WDBY8L)" }, { 0x105807a8, "My Passport (WDBBEP), My Passport for Mac (WDBLUZ)" }, { 0x105807ae, "My Passport Edge for Mac (WDBJBH)" }, { 0x105807ba, "PiDrive (WDLB)" }, { 0x10580810, "My Passport Ultra (WDBZFP)" }, { 0x10580816, "My Passport Air (WDBBLW)" }, { 0x10580820, "My Passport Ultra (WDBMWV, WDBZFP)" }, { 0x10580822, "My Passport Ultra (WDBBUZ)" }, { 0x10580824, "My Passport Slim (WDBPDZ)" }, { 0x10580830, "My Passport Ultra (WDBZFP)" }, { 0x10580837, "My Passport Ultra (WDBBKD)" }, { 0x10580900, "MyBook Essential External HDD" }, { 0x10580901, "My Book Essential Edition (Green Ring) (WDG1U)" }, { 0x10580902, "My Book Pro Edition (WDG1T)" }, { 0x10580903, "My Book Premium Edition" }, { 0x10580905, "My Book Pro Edition II (WD10000C033-001)" }, { 0x10580910, "My Book Essential Edition (Green Ring) (WDG1U)" }, { 0x10581001, "Elements Desktop (WDE1U)" }, { 0x10581003, "WD Elements Desktop (WDE1UBK)" }, { 0x10581010, "Elements Portable (WDBAAR)" }, { 0x10581021, "Elements Desktop (WDBAAU)" }, { 0x10581023, "Elements SE Portable (WDBABV)" }, { 0x10581042, "Elements SE Portable (WDBPCK)" }, { 0x10581048, "Elements Portable (WDBU6Y)" }, { 0x10581078, "Elements Portable (WDBUZG)" }, { 0x1058107c, "Elements Desktop (WDBWLG)" }, { 0x105810a2, "Elements SE Portable (WDBPCK)" }, { 0x105810a8, "Elements Portable (WDBUZG)" }, { 0x105810b8, "Elements Portable (WDBU6Y, WDBUZG)" }, { 0x10581100, "My Book Essential Edition 2.0 (WDH1U)" }, { 0x10581102, "My Book Home Edition (WDH1CS)" }, { 0x10581103, "My Book Studio" }, { 0x10581104, "My Book Mirror Edition (WDH2U)" }, { 0x10581105, "My Book Studio II" }, { 0x10581110, "My Book Essential (WDBAAF), My Book for Mac (WDBAAG)" }, { 0x10581111, "My Book Elite (WDBAAH)" }, { 0x10581112, "My Book Studio (WDBAAJ), My Book Studio LX (WDBACH)" }, { 0x10581123, "My Book 3.0 (WDBABP)" }, { 0x10581130, "My Book Essential (WDBACW)" }, { 0x10581140, "My Book Essential (WDBACW)" }, { 0x10581170, "My Book Essential 3TB (WDBACW0030HBK)" }, { 0x10581230, "My Book (WDBFJK)" }, { 0x10581235, "My Book (WDBFJK0040HBK)" }, { 0x10582599, "My Passport Ultra (WD40NMZW)" }, { 0x1058259d, "My Passport Ultra (WDBBKD)" }, { 0x1058259f, "My Passport Ultra (WD10JMVW)" }, { 0x105825a1, "Elements / My Passport" }, { 0x105825a2, "Elements 25A2" }, { 0x105825a3, "Elements Desktop (WDBWLG)" }, { 0x105825da, "My Book (WDBFJK)" }, { 0x105825e1, "My Passport (WD20NMVW)" }, { 0x105825e2, "My Passport (WD40NMZW)" }, { 0x105825ee, "My Book 25EE" }, { 0x105825f3, "My Passport SSD (WDBK3E)" }, { 0x105825fa, "easystore Portable 5TB (WDBKUZ0050)" }, { 0x105825fb, "easystore Desktop (WDBCKA)" }, { 0x10582603, "My Passport Game Storage for PS4 4TB (WDBZGE0040)" }, { 0x10582624, "easystore Portable 5TB (WDBKUZ0050)" }, { 0x10582626, "My Passport (WDBPKJ)" }, { 0x105830a0, "SATA adapter cable" }, { 0x1059000b, "StarSign Bio Token 3.0" }, { 0x105be065, "BCM43142A0 Bluetooth module" }, { 0x10631555, "MC141555 Hub" }, { 0x10634100, "SB4100 USB Cable Modem" }, { 0x10650020, "USB-DVR2 Dev Board" }, { 0x10652136, "EasyDisk ED1064" }, { 0x10680001, "CPUSB - V 1.8 - software-rights management key" }, { 0x106c1101, "CDMA 2000 1xRTT USB modem (HX-550C)" }, { 0x106c1102, "Packet Service" }, { 0x106c1103, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c1104, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c1105, "Composite Device" }, { 0x106c1106, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c1301, "Composite Device" }, { 0x106c1302, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c1303, "Packet Service" }, { 0x106c1304, "Packet Service" }, { 0x106c1401, "Composite Device" }, { 0x106c1402, "Packet Service" }, { 0x106c1403, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c1501, "Packet Service" }, { 0x106c1502, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c1503, "Packet Service" }, { 0x106c1601, "Packet Service" }, { 0x106c1602, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c1603, "Packet Service" }, { 0x106c2101, "AudioVox 8900 Cell Phone" }, { 0x106c2102, "Packet Service" }, { 0x106c2103, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c2301, "Packet Service" }, { 0x106c2302, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c2303, "Packet Service" }, { 0x106c2401, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c2402, "Packet Service" }, { 0x106c2403, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c2501, "Packet Service" }, { 0x106c2502, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c2503, "Packet Service" }, { 0x106c2601, "Packet Service" }, { 0x106c2602, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c2603, "Packet Service" }, { 0x106c3701, "Broadband Wireless modem" }, { 0x106c3702, "Pantech PX-500" }, { 0x106c3714, "PANTECH USB MODEM [UM175]" }, { 0x106c3716, "UMW190 Modem" }, { 0x106c3721, "Option Beemo (GI0801) LTE surfstick" }, { 0x106c3b14, "Option Beemo (GI0801) LTE surfstick" }, { 0x106c3eb4, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c4101, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c4102, "Packet Service" }, { 0x106c4301, "Composite Device" }, { 0x106c4302, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c4401, "Composite Device" }, { 0x106c4402, "Packet Service" }, { 0x106c4501, "Packet Service" }, { 0x106c4502, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c4601, "Composite Device" }, { 0x106c4602, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c5101, "Packet Service" }, { 0x106c5102, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c5301, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c5302, "Packet Service" }, { 0x106c5401, "Packet Service" }, { 0x106c5402, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c5501, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c5502, "Packet Service" }, { 0x106c5601, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106c5602, "Packet Service" }, { 0x106c7101, "Composite Device" }, { 0x106c7102, "Packet Service" }, { 0x106ca000, "Packet Service" }, { 0x106ca001, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106cc100, "Packet Service" }, { 0x106cc200, "Packet Service" }, { 0x106cc500, "Packet Service Diagnostic Serial Port (WDM)" }, { 0x106ce200, "Packet Service" }, { 0x106cf003, "Pantech Crux" }, { 0x106f0009, "CT10x Coin Transaction" }, { 0x106f000a, "CR10x Coin Recycler" }, { 0x106f000c, "Xchange" }, { 0x10760031, "Bluetooth Device" }, { 0x10760032, "Bluetooth Device" }, { 0x10768002, "LU150 LTE Modem [Yota LU150]" }, { 0x107b3009, "eHome Infrared Transceiver" }, { 0x107b55b2, "WBU-110 802.11b Wireless Adapter [Intersil PRISM 3]" }, { 0x107b55f2, "WGU-210 802.11g Adapter [Intersil ISL3886]" }, { 0x1083160c, "CR-55" }, { 0x1083160f, "DR-1210C" }, { 0x10831614, "DR-4010C" }, { 0x10831617, "DR-2510C" }, { 0x10831618, "DR-X10C" }, { 0x1083161a, "CR-25" }, { 0x1083161b, "DR-2010C Scanner" }, { 0x1083161d, "DR-3010C" }, { 0x10831620, "DR-7090C" }, { 0x10831622, "DR-9050C" }, { 0x10831623, "DR-7550C" }, { 0x10831624, "DR-6050C" }, { 0x10831626, "DR-6010C" }, { 0x1083162c, "P-150 Scanner" }, { 0x10831638, "DR-6030C" }, { 0x10831639, "CR-135i" }, { 0x1083163e, "DR-M160" }, { 0x1083163f, "DR-M140" }, { 0x10831640, "DR-C125" }, { 0x10831641, "DR-P215" }, { 0x10831648, "FSU-201" }, { 0x1083164a, "DR-C130" }, { 0x1083164b, "DR-P208" }, { 0x1083164f, "DR-G1130" }, { 0x10831650, "DR-G1100" }, { 0x10831651, "DR-C120" }, { 0x10831654, "DR-F120" }, { 0x10831657, "DR-M1060" }, { 0x10831658, "DR-C225" }, { 0x10831659, "DR-P215II" }, { 0x1083165d, "DR-P208II" }, { 0x108b0005, "HID Keyboard/Mouse PS/2 Translator" }, { 0x108c017e, "GTC 400 C" }, { 0x10918101, "Absoflex" }, { 0x109b9105, "HiSense Sero 7 Pro" }, { 0x109b9106, "Hisense E860 (ID1)" }, { 0x109b9109, "Hisense E860 (ID2)" }, { 0x109b9118, "Medion P4013 Mobile" }, { 0x109b9119, "CROSSCALL Trekker-M1 Core (PTP-Mode)" }, { 0x109b9130, "Crosscall Trekker M1 core" }, { 0x109bf009, "CROSSCALL Trekker-M1 Core (CD-ROM-Mode)" }, { 0x109f3163, "Trigem Mobile SmartDisplay84" }, { 0x109f3164, "Trigem Mobile SmartDisplay121" }, { 0x10a91102, "Sky Love Actually IM-U460K" }, { 0x10a91104, "Sky Vega IM-A650S" }, { 0x10a91105, "VEGA Android composite" }, { 0x10a91106, "VEGA Android composite" }, { 0x10a91107, "VEGA Android composite" }, { 0x10a91108, "VEGA Android composite" }, { 0x10a91109, "VEGA Android composite" }, { 0x10a96021, "SIRIUS alpha" }, { 0x10a96031, "Pantech Android composite" }, { 0x10a96032, "Pantech Android composite" }, { 0x10a96033, "Pantech Android composite" }, { 0x10a96034, "Pantech Android composite" }, { 0x10a96035, "Pantech Android composite" }, { 0x10a96036, "Pantech Android composite" }, { 0x10a96037, "Pantech Android composite" }, { 0x10a96050, "Pantech Android composite" }, { 0x10a96051, "Pantech Android composite" }, { 0x10a96052, "Pantech Android composite" }, { 0x10a96053, "Pantech Android composite" }, { 0x10a96054, "Pantech Android composite" }, { 0x10a96055, "Pantech Android composite" }, { 0x10a96056, "Pantech Android composite" }, { 0x10a96057, "Pantech Android composite" }, { 0x10a96058, "Pantech Android composite" }, { 0x10a96059, "Pantech Android composite" }, { 0x10a96080, "MHS291LVW LTE Modem [Verizon Jetpack 4G LTE Mobile Hotspot MHS291L] (Zero CD Mode)" }, { 0x10a96085, "MHS291LVW LTE Modem [Verizon Jetpack 4G LTE Mobile Hotspot MHS291L] (Modem Mode)" }, { 0x10a97031, "Pantech Android composite" }, { 0x10a97032, "Pantech Android composite" }, { 0x10a97033, "Pantech Android composite" }, { 0x10a97034, "Pantech Android composite" }, { 0x10a97035, "Pantech Android composite" }, { 0x10a97036, "Pantech Android composite" }, { 0x10a97037, "Pantech Android composite" }, { 0x10ab1002, "Bluetooth Device" }, { 0x10ab1003, "BC02-EXT in DFU" }, { 0x10ab1005, "Bluetooth Adptr" }, { 0x10ab1006, "BC04-EXT in DFU" }, { 0x10ab10c5, "Sony-Ericsson / Samsung DataCable" }, { 0x10af0000, "UPS" }, { 0x10af0001, "PowerSure PSA UPS" }, { 0x10af0002, "PowerSure PST UPS" }, { 0x10af0003, "PowerSure PSP UPS" }, { 0x10af0004, "PowerSure PSI UPS" }, { 0x10af0005, "UPStation GXT 2U UPS" }, { 0x10af0006, "UPStation GXT UPS" }, { 0x10af0007, "Nfinity Power Systems UPS" }, { 0x10af0008, "PowerSure Interactive UPS" }, { 0x10b59060, "Test Board" }, { 0x10b80bb8, "DVB-T reference design (MOD300) (cold)" }, { 0x10b80bb9, "DVB-T reference design (MOD300) (warm)" }, { 0x10b80bc6, "DVB-T reference design (MOD3000P) (cold)" }, { 0x10b80bc7, "DVB-T reference design (MOD3000P) (warm)" }, { 0x10bd1427, "Ethernet" }, { 0x10bf0001, "SmartHome PowerLinc" }, { 0x10c300a4, "ULS PLS Series Laser Engraver Firmware Loader" }, { 0x10c300a5, "ULS Print Support" }, { 0x10c40002, "F32x USBXpress Device" }, { 0x10c40003, "CommandIR" }, { 0x10c4800a, "SPORTident" }, { 0x10c4800b, "AES" }, { 0x10c48030, "K4JRG Ham Radio devices" }, { 0x10c48044, "USB Debug Adapter" }, { 0x10c4804e, "Software Bisque Paramount ME" }, { 0x10c480a9, "CP210x to UART Bridge Controller" }, { 0x10c480c4, "Infrared Thermometer Adapter" }, { 0x10c480ca, "ATM2400 Sensor Device" }, { 0x10c4813f, "tams EasyControl" }, { 0x10c48149, "West Mountain Radio Computerized Battery Analyzer" }, { 0x10c4814a, "West Mountain Radio RIGblaster P&P" }, { 0x10c4814b, "West Mountain Radio RIGtalk" }, { 0x10c4818a, "Silicon Labs FM Radio Reference Design" }, { 0x10c481e8, "Zephyr BioHarness" }, { 0x10c4834b, "Infrared Online Sensor Adapter" }, { 0x10c4834e, "Infrared Sensor Adapter" }, { 0x10c48460, "Sangoma Wanpipe VoiceTime" }, { 0x10c48461, "Sangoma U100" }, { 0x10c48470, "Juniper Networks BX Series System Console" }, { 0x10c48477, "Balluff RFID Reader" }, { 0x10c48496, "SiLabs Cypress FW downloader" }, { 0x10c48497, "SiLabs Cypress EVB" }, { 0x10c484fb, "Infrared Blackbody Adapter" }, { 0x10c48508, "RS485 Adapter" }, { 0x10c48605, "dilitronics ESoLUX solar lighting controller" }, { 0x10c48660, "Netronics CANdoISO" }, { 0x10c486bc, "C8051F34x AudioDelay [AD-340]" }, { 0x10c48789, "C8051F34x Extender & EDID MGR [EMX-DVI]" }, { 0x10c487be, "C8051F34x HDMI Audio Extractor [EMX-HD-AUD]" }, { 0x10c48863, "C8051F34x Bootloader" }, { 0x10c48897, "C8051F38x HDMI Splitter [UHBX]" }, { 0x10c488c9, "AES HID device" }, { 0x10c48918, "C8051F38x HDMI Audio Extractor [VSA-HA-DP]" }, { 0x10c48973, "C8051F38x HDMI Extender [UHBX-8X]" }, { 0x10c489c6, "SPORTident HID device" }, { 0x10c489e1, "C8051F38x HDMI Extender [UHBX-SW3-WP]" }, { 0x10c489fb, "Qivicon ZigBee Stick" }, { 0x10c48a3c, "C8051F38x HDBaseT Receiver [UHBX-R-XT]" }, { 0x10c48a6c, "C8051F38x 4K HDMI Audio Extractor [EMX-AMP]" }, { 0x10c48acb, "C8051F38x HDBaseT Wall Plate Receiver with IR, RS-232, and PoH [UHBX-R-WP]" }, { 0x10c48af8, "C8051F38x 4K HDMI Audio Extractor w/Audio Amplifier, HDBT Input, Line Audio Input RS-232 Ports and IP Control [VSA-X21]" }, { 0x10c48b8c, "C8051F38x 4K HDMI Audio Extractor w/Audio Amplifier, HDBT Input, Line Audio Input RS-232 Ports and IP Control [SC-3H]" }, { 0x10c48db5, "C8051F38x CATx HDMI Receiver with USB [EX-HDU-R]" }, { 0x10c48db6, "C8051F38x CATx HDMI Receiver" }, { 0x10c4ea60, "CP210x UART Bridge" }, { 0x10c4ea61, "CP210x UART Bridge" }, { 0x10c4ea63, "CP210x UART Bridge" }, { 0x10c4ea70, "CP2105 Dual UART Bridge" }, { 0x10c4ea71, "CP2108 Quad UART Bridge" }, { 0x10c4ea80, "CP2110 HID UART Bridge" }, { 0x10c4ea90, "CP2112 HID I2C Bridge" }, { 0x10c4ea91, "CP2112 HID SMBus/I2C Bridge for CP2614 Evaluation Kit" }, { 0x10c4ea93, "CP2112 HID SMBus/I2C Bridge for CP2615 Evaluation Kit" }, { 0x10c4eab0, "CP2114 I2S Audio Bridge" }, { 0x10c4eac0, "CP2614 MFi Accessory Digital Audio Bridge" }, { 0x10c4eac1, "CP2615 I2S Audio Bridge" }, { 0x10c4eac9, "EFM8UB1 Bootloader" }, { 0x10c4eaca, "EFM8UB2 Bootloader" }, { 0x10c4eacb, "EFM8UB3 Bootloader" }, { 0x10c5819a, "FM Radio" }, { 0x10cc1101, "MP3 Player" }, { 0x10ce0007, "Shinko/Sinfonia CHC-S1245" }, { 0x10ce000e, "Shinko/Sinfonia CHC-S2145" }, { 0x10ce0019, "Shinko/Sinfonia CHC-S6145" }, { 0x10ce001d, "Shinko/Sinfonia CHC-S6245" }, { 0x10ce001e, "Ciaat Brava 21" }, { 0x10ce0039, "Sinfonia CHC-S2245" }, { 0x10ce10ce, "Sinfonia CHC-S2245" }, { 0x10ceea6a, "MobiData EDGE USB Modem" }, { 0x10cf2011, "R-Engine MPEG2 encoder/decoder" }, { 0x10cf5500, "8055 Experiment Interface Board (address=0)" }, { 0x10cf5501, "8055 Experiment Interface Board (address=1)" }, { 0x10cf5502, "8055 Experiment Interface Board (address=2)" }, { 0x10cf5503, "8055 Experiment Interface Board (address=3)" }, { 0x10d10101, "USB-Module for Spider8, CP32" }, { 0x10d10202, "CP22 - Communication Processor" }, { 0x10d10301, "CP42 - Communication Processor" }, { 0x10d25243, "RayComposer" }, { 0x10d50004, "PS/2 Converter" }, { 0x10d55552, "KVM Human Interface Composite Device (Keyboard/Mouse ports)" }, { 0x10d555a2, "2Port KVMSwitcher" }, { 0x10d55a08, "Dual Bay Docking Station" }, { 0x10d60c02, "BioniQ 1001 Tablet" }, { 0x10d61000, "MP3 Player" }, { 0x10d61100, "MPMan MP-Ki 128 MP3 Player/Recorder" }, { 0x10d61101, "D-Wave 2GB MP4 Player / AK1025 MP3/MP4 Player" }, { 0x10d62200, "Dunlop MP3 player 1GB / EGOMAN MD223AFD" }, { 0x10d62300, "Memorex or iRiver MMP 8585/8586 or iRiver E200" }, { 0x10d68888, "ADFU Device" }, { 0x10d6ff51, "ADFU Device" }, { 0x10d6ff61, "MP4 Player" }, { 0x10d6ff66, "Craig 2GB MP3/Video Player" }, { 0x10df0500, "iAPP CR-e500 Card reader" }, { 0x10f02002, "iNexio Touchscreen controller" }, { 0x10f11a08, "Internal Webcam" }, { 0x10f11a1e, "Laptop Integrated Webcam 1.3M" }, { 0x10f11a2a, "Laptop Integrated Webcam" }, { 0x10f11a2e, "HP Truevision HD Integrated Webcam" }, { 0x10f50200, "Audio Advantage Roadie" }, { 0x10f50231, "Ear Force P11 Headset" }, { 0x10f510f5, "EarForce PX21 Gaming Headset" }, { 0x10f83201, "CeboLC" }, { 0x10f83202, "CeboStick" }, { 0x10f83203, "CeboMSA64" }, { 0x10f83204, "CeboDFN" }, { 0x10f83205, "PSAA2304W_CASC" }, { 0x10f8c401, "USBV4F unconfigured" }, { 0x10f8c402, "EFM01 unconfigured" }, { 0x10f8c403, "MISS2 unconfigured" }, { 0x10f8c404, "CID unconfigured" }, { 0x10f8c405, "USBS6 unconfigured" }, { 0x10f8c406, "OP_MISS2 unconfigured" }, { 0x10f8c407, "NanoUsb uncofigured" }, { 0x10f8c481, "USBV4F" }, { 0x10f8c482, "EFM01" }, { 0x10f8c483, "MISS2" }, { 0x10f8c484, "CID" }, { 0x10f8c485, "USBS6" }, { 0x10f8c486, "OP_MISS2" }, { 0x10f8c487, "NanoUsb" }, { 0x10f8c501, "EFM02 unconfigured" }, { 0x10f8c502, "EFM02/B unconfigured" }, { 0x10f8c503, "EFM03 unconfigured" }, { 0x10f8c581, "EFM02" }, { 0x10f8c582, "EFM02/B" }, { 0x10f8c583, "EFM03" }, { 0x10fd7e50, "FlyCam Usb 100" }, { 0x10fd804d, "Typhoon Webshot II Webcam [zc0301]" }, { 0x10fd8050, "FlyCAM-USB 300 XP2" }, { 0x10fdde00, "WinFast WalkieTV WDM Capture Driver." }, { 0x10fe000c, "TT-3750 BGAN-XL Radio Module" }, { 0x11000001, "VTPlayer VTP-1 Braille Mouse" }, { 0x11010001, "FSK Electronics Super GSM Reader" }, { 0x110a1110, "UPort 1110" }, { 0x110a1150, "UPort 1150 1-Port RS-232/422/485" }, { 0x110a1250, "UPort 1250 2-Port RS-232/422/485" }, { 0x110a1251, "UPort 1250I 2-Port RS-232/422/485 with Isolation" }, { 0x110a1410, "UPort 1410 4-Port RS-232" }, { 0x110a1450, "UPort 1450 4-Port RS-232/422/485" }, { 0x110a1451, "UPort 1450I 4-Port RS-232/422/485 with Isolation" }, { 0x110a1613, "UPort 1610-16 16-Port RS-232" }, { 0x110a1618, "UPort 1610-8 8-Port RS-232" }, { 0x110a1653, "UPort 1650-16 16-Port RS-232/422/485" }, { 0x110a1658, "UPort 1650-8 8-Port RS-232/422/485" }, { 0x11105c01, "Huawei MT-882 Remote NDIS Network Device" }, { 0x11106489, "ADSL ETH/USB RTR" }, { 0x11109000, "ADSL LAN Adapter" }, { 0x11109001, "ADSL Loader" }, { 0x1110900f, "AT-AR215 DSL Modem" }, { 0x11109010, "AT-AR215 DSL Modem" }, { 0x11109021, "ADSL WAN Adapter" }, { 0x11109022, "ADSL Loader" }, { 0x11109023, "ADSL WAN Adapter" }, { 0x11109024, "ADSL Loader" }, { 0x11109031, "ADSL LAN Adapter" }, { 0x11109032, "ADSL Loader" }, { 0x11118888, "Evolution Device" }, { 0x1113a0a2, "Active Sync device" }, { 0x112a0001, "RedRat3 IR Transceiver" }, { 0x112a0005, "RedRat3II IR Transceiver" }, { 0x11300001, "BlyncLight" }, { 0x11300002, "iBuddy" }, { 0x11300004, "iBuddy Twins" }, { 0x11300202, "Rocket Launcher" }, { 0x11306604, "MCE IR-Receiver" }, { 0x11306606, "U+P Mouse" }, { 0x1130660c, "Foot Pedal/Thermometer" }, { 0x11306626, "Key" }, { 0x11306806, "Keychain photo frame" }, { 0x1130c301, "Digital Photo viewer [Wallet Pix]" }, { 0x1130f211, "TP6911 Audio Headset" }, { 0x11311001, "KY-BT100 Bluetooth Adapter" }, { 0x11311002, "Bluetooth Device" }, { 0x11311003, "Bluetooth Device" }, { 0x11311004, "Bluetooth Device" }, { 0x11324331, "PDR-M4/M5/M70 Digital Camera" }, { 0x11324332, "PDR-M60 Digital Camera" }, { 0x11324333, "PDR-M2300/PDR-M700" }, { 0x11324334, "PDR-M65" }, { 0x11324335, "PDR-M61" }, { 0x11324337, "PDR-M11" }, { 0x11324338, "PDR-M25" }, { 0x11363131, "CTS LS515" }, { 0x113f1020, "Watson Two-Finger Roll Scanner" }, { 0x113f1100, "Columbo Single-Finger Scanner" }, { 0x11420709, "Cyberview High Speed Scanner" }, { 0x11450001, "AirH PHONE AH-J3001V/J3002V" }, { 0x114b0110, "Turbolink UB801R WLAN Adapter" }, { 0x114b0150, "Turbolink UB801RE Wireless 802.11g 54Mbps Network Adapter [RTL8187]" }, { 0x114f1234, "Fastrack Xtend FXT001 Modem" }, { 0x11630100, "Earthmate GPS (orig)" }, { 0x11630200, "Earthmate GPS (LT-20, LT-40)" }, { 0x11632020, "Earthmate GPS (PN-40)" }, { 0x11640300, "ELSAVISION 460D" }, { 0x11640601, "Analog TV Tuner" }, { 0x11640900, "TigerBird BMP837 USB2.0 WDM Encoder" }, { 0x11640bc7, "Digital TV Tuner" }, { 0x1164521b, "MC521A mini Card ATSC Tuner" }, { 0x11646601, "Digital TV Tuner Card [RTL2832U]" }, { 0x116f0005, "Flash Card Reader" }, { 0x116fc108, "Flash Card Reader" }, { 0x116fc109, "Flash Card Reader" }, { 0x11830001, "DigitalDream l'espion XS" }, { 0x118319c7, "ISDN TA" }, { 0x11834008, "56k FaxModem" }, { 0x1183504a, "PJB-100 Personal Jukebox" }, { 0x11890893, "EP-1427X-2 Ethernet Adapter [Acer]" }, { 0x11960010, "Trifid Camera without code" }, { 0x11960011, "Trifid Camera" }, { 0x11990019, "AC595U" }, { 0x11990021, "AC597E" }, { 0x11990024, "MC5727 CDMA modem" }, { 0x11990110, "Composite Device" }, { 0x11990112, "CDMA 1xEVDO PC Card, AirCard 580" }, { 0x11990120, "AC595U" }, { 0x11990218, "MC5720 Wireless Modem" }, { 0x11996467, "MP Series Network Adapter" }, { 0x11996468, "MP Series Network Adapter" }, { 0x11996469, "MP Series Network Adapter" }, { 0x11996802, "MC8755 Device" }, { 0x11996803, "MC8765 Device" }, { 0x11996804, "MC8755 Device" }, { 0x11996805, "MC8765 Device" }, { 0x11996812, "MC8775 Device" }, { 0x11996820, "AC875 Device" }, { 0x11996832, "MC8780 Device" }, { 0x11996833, "MC8781 Device" }, { 0x1199683a, "MC8785 Device" }, { 0x1199683c, "Mobile Broadband 3G/UMTS (MC8790 Device)" }, { 0x11996850, "AirCard 880 Device" }, { 0x11996851, "AirCard 881 Device" }, { 0x11996852, "AirCard 880E Device" }, { 0x11996853, "AirCard 881E Device" }, { 0x11996854, "AirCard 885 Device" }, { 0x11996856, "ATT \"USB Connect 881\"" }, { 0x11996870, "MC8780 Device" }, { 0x11996871, "MC8781 Device" }, { 0x11996893, "MC8777 Device" }, { 0x119968a3, "MC8700 Modem" }, { 0x119968aa, "4G LTE adapter" }, { 0x11999000, "Gobi 2000 Wireless Modem (QDL mode)" }, { 0x11999001, "Gobi 2000 Wireless Modem" }, { 0x11999002, "Gobi 2000 Wireless Modem" }, { 0x11999003, "Gobi 2000 Wireless Modem" }, { 0x11999004, "Gobi 2000 Wireless Modem" }, { 0x11999005, "Gobi 2000 Wireless Modem" }, { 0x11999006, "Gobi 2000 Wireless Modem" }, { 0x11999007, "Gobi 2000 Wireless Modem" }, { 0x11999008, "Gobi 2000 Wireless Modem" }, { 0x11999009, "Gobi 2000 Wireless Modem" }, { 0x1199900a, "Gobi 2000 Wireless Modem" }, { 0x11999011, "MC8305 Modem" }, { 0x11999013, "Sierra Wireless Gobi 3000 Modem device (MC8355)" }, { 0x11999041, "EM7305 Modem" }, { 0x11999055, "Gobi 9x15 Multimode 3G/4G LTE Modem (NAT mode)" }, { 0x11999057, "Gobi 9x15 Multimode 3G/4G LTE Modem (IP passthrough mode)" }, { 0x11999071, "AirPrime MC7455 3G/4G LTE Modem" }, { 0x11999079, "EM7455" }, { 0x119b0400, "Infrared Keyboard V2.01" }, { 0x11a0eb11, "CC2400EB 2.0 ZigBee Sniffer" }, { 0x11a38031, "MP3 Player" }, { 0x11a38032, "MP3 Player" }, { 0x11aa1518, "iREZ K2" }, { 0x11ac6565, "FuelBand" }, { 0x11b06208, "PRO-28U" }, { 0x11b06298, "Kingston SNA-DC/U" }, { 0x11bef0a0, "Martin Maxxyz DMX" }, { 0x11c05506, "Gamepad" }, { 0x11c50521, "IMT-0521 Smartcard Reader" }, { 0x11c955f0, "GC-100XF" }, { 0x11ca0201, "MX870/MX880" }, { 0x11ca0207, "PIN Pad VX 810" }, { 0x11ca0220, "PIN Pad VX 805" }, { 0x11db1000, "PVR" }, { 0x11db1100, "PVR" }, { 0x11f50001, "SX1" }, { 0x11f50003, "Mobile phone USB cable" }, { 0x11f50004, "X75" }, { 0x11f50005, "SXG75/EF81" }, { 0x11f50008, "UMTS/HSDPA Data Card" }, { 0x11f50101, "RCU Connect" }, { 0x11f62001, "Willcom WSIM" }, { 0x11f702df, "Serial cable (v2) for TD-10 Mobile Phone" }, { 0x12030140, "TTP-245C" }, { 0x12090001, "pid.codes Test PID" }, { 0x12090002, "pid.codes Test PID" }, { 0x12090003, "pid.codes Test PID" }, { 0x12090004, "pid.codes Test PID" }, { 0x12090005, "pid.codes Test PID" }, { 0x12090006, "pid.codes Test PID" }, { 0x12090007, "pid.codes Test PID" }, { 0x12090008, "pid.codes Test PID" }, { 0x12090009, "pid.codes Test PID" }, { 0x1209000a, "pid.codes Test PID" }, { 0x1209000b, "pid.codes Test PID" }, { 0x1209000c, "pid.codes Test PID" }, { 0x1209000d, "pid.codes Test PID" }, { 0x1209000e, "pid.codes Test PID" }, { 0x1209000f, "pid.codes Test PID" }, { 0x12090010, "pid.codes Test PID" }, { 0x120901c0, "Input Club Kiibohd Device" }, { 0x120901cb, "Input Club Kiibohd Device Bootloader" }, { 0x12090256, "Schwalm & Tate LLC pISO Raspberry Pi Hat" }, { 0x1209053a, "Hackerspace San Salvador HSSV SAMR21-Mote" }, { 0x12090cbd, "Andrzej Szombierski kuku.eu.org keyboard" }, { 0x12090d32, "ODrive Robotics ODrive v3" }, { 0x12091001, "InterBiometrics Hub" }, { 0x12091002, "InterBiometrics Relais" }, { 0x12091003, "InterBiometrics IBSecureCam-P" }, { 0x12091004, "InterBiometrics IBSecureCam-O" }, { 0x12091005, "InterBiometrics IBSecureCam-N" }, { 0x12091006, "InterBiometrics Mini IO-Board" }, { 0x12091007, "e-radionica.com Croduino SAMD" }, { 0x12091986, "dgrubb Jaguar Tap" }, { 0x12091ab5, "Arachnid Labs Tsunami" }, { 0x12091ab6, "Arachnid Labs Tsunami Bootloader" }, { 0x12092000, "Zygmunt Krynicki Lantern Brightness Sensor" }, { 0x12092001, "OSHEC Pi-pilot opensource and openhardware autopilot system" }, { 0x12092002, "Peter Lawrence PIC16F1-USB-DFU-Bootloader" }, { 0x12092003, "Peter Lawrence SAMDx1-USB-DFU-Bootloader" }, { 0x12092004, "GCBASIC Serial CDC Stack" }, { 0x12092005, "GCBASIC OakTree Stack" }, { 0x12092006, "GCBASIC Simulation Stack" }, { 0x12092016, "Cupkee" }, { 0x12092017, "Benjamin Shockley Mini SAM" }, { 0x12092020, "Captain Credible Gate Crystal" }, { 0x12092048, "Housedillon.com MRF49XA Transceiver" }, { 0x12092100, "TinyFPGA B1 and B2 Boards" }, { 0x12092101, "TinyFPGA A-Series Programmer" }, { 0x12092200, "Dygma Shortcut Bootloader" }, { 0x12092201, "Dygma Shortcut Keyboard" }, { 0x12092222, "LabConnect Signalgenerator" }, { 0x12092300, "Keyboardio Model 01 Bootloader" }, { 0x12092301, "Keyboardio Model 01" }, { 0x12092323, "bytewerk.org candleLight" }, { 0x12092327, "K.T.E.C. Bootloader Device" }, { 0x12092328, "K.T.E.C. Keyboard Device" }, { 0x12092333, "Kai Ryu Kimera" }, { 0x12092334, "Kai Ryu Staryu" }, { 0x12092335, "Portwell Sense8" }, { 0x12092336, "Portwell Sense8" }, { 0x12092337, "/Dev /Net" }, { 0x12092342, "Andreas Bogk Big Red Button" }, { 0x12092345, "VV-Soft Simple Generic HID IO" }, { 0x12092357, "KarolKucza TinyPassword" }, { 0x12092400, "phooky Snap-Pad" }, { 0x12092488, "Peter Lawrence CMSIS-DAP Dapper Miser" }, { 0x12092552, "ProjectIota Electrolink" }, { 0x12092600, "Majenko Technologies chipKIT Lenny" }, { 0x12092635, "Sevinz GameBot" }, { 0x12092800, "Entropic Engineering Triangulation" }, { 0x12092801, "Entropic Engineering Object Manipulation" }, { 0x12092a00, "mooware Wii adapter" }, { 0x12092a01, "mooware SNES adapter" }, { 0x12093000, "lloyd3000" }, { 0x12093100, "OpenSimHardware Pedals & Buttons Controller" }, { 0x1209317e, "Codecrete Wirekite" }, { 0x12093210, "OSH Lab, LLC Magic Keys" }, { 0x12093333, "LabConnect Digitalnetzteil" }, { 0x1209345b, "kinX Hub" }, { 0x1209345c, "kinX Keyboard Controller" }, { 0x12093690, "Kigakudoh TouchMIDI32" }, { 0x12094096, "CynaraKrewe Cynara" }, { 0x1209414c, "Adi Linden" }, { 0x1209414d, "Adi Linden" }, { 0x12094242, "Komakallio Astrophotography Community KomaHub Remote Power Switch" }, { 0x12094256, "CuVoodoo BusVoodoo multi-protocol debugging adapter" }, { 0x12094321, "mooltipass Offline Password Keeper Bootloader" }, { 0x12094322, "mooltipass Arduino Sketch" }, { 0x12094356, "CuVoodoo firmware" }, { 0x12094443, "j1rie IRMP_STM32 Bootloader" }, { 0x12094444, "j1rie IRMP_STM32" }, { 0x12094545, "SlothCo Enterprises Teletype Adapter" }, { 0x12094646, "SmartPID SPC1000" }, { 0x12094748, "Kate Gray GHETT-iO Bootloader" }, { 0x12094750, "Chris Pavlina (c4757p) C4-x computer (development interface)" }, { 0x12094757, "Chris Pavlina (c4757p) WCP52 Gain/Phase Analyzer" }, { 0x12094801, "Wojciech Krutnik NVMemProg" }, { 0x12094c60, "MightyPork GEX module" }, { 0x12094c61, "MightyPork GEX wireless dongle" }, { 0x12094d53, "mindsensors.com NXTCam5" }, { 0x12095038, "frotz.net mdebug rswd protocol" }, { 0x12095039, "frotz.net lpcboot protocol" }, { 0x12095050, "trebb ISO50" }, { 0x12095070, "SoloHacker security key [SoloKey]" }, { 0x120950b0, "boot for security key [SoloKey]" }, { 0x12095222, "telavivmakers attami" }, { 0x120953c0, "SatoshiLabs TREZOR Bootloader" }, { 0x120953c1, "SatoshiLabs TREZOR" }, { 0x12095432, "Open Programmer" }, { 0x12095457, "Openlab.Taipei Taiwanduino" }, { 0x1209571c, "StreetoArcade PancadariaStick" }, { 0x12095a22, "ikari_01 sd2snes" }, { 0x12096000, "Pulsar Heavy Industries Cenx4" }, { 0x1209600d, "Makdaam N93 Interface" }, { 0x12096464, "Electric Exploits Shinewave" }, { 0x12096502, "jj1bdx avrhwrng v2rev1" }, { 0x12096570, "Iowa Scaled Engineering, LLC CKT-AVRPROGRAMMER" }, { 0x12096666, "Talpa Chen VSFLogic" }, { 0x12096667, "SensePost Universal Serial aBUSe - Generic HID" }, { 0x12096742, "NPK Cubitel Atomic Force Microscope" }, { 0x12096809, "Tach Radio Doppelganger" }, { 0x12096948, "MySensors Sensebender Gateway BootLoader" }, { 0x12096949, "MySensors Sensebender Gateway" }, { 0x12096bcf, "blaste Gameboy Cart Flasher" }, { 0x12097000, "Secalot Dongle" }, { 0x12097001, "Secalot Bootloader" }, { 0x120970b1, "Sutajio Ko-Usagi (Kosagi) Tomu" }, { 0x12097331, "Dangerous Prototypes Bus Pirate Next Gen CDC" }, { 0x12097332, "Dangerous Prototypes Bus Pirate Next Gen Logic Analyzer" }, { 0x12097401, "Beststream-jp Tool_CDC" }, { 0x12097530, "PotentialLabs Refflion - IoT Development Board - Bootloader" }, { 0x12097531, "PotentialLabs Refflion - IoT Development Board - Sketch" }, { 0x12097551, "The Tessel Project Tessel 2" }, { 0x12097777, "circuitvalley IO Board V3" }, { 0x12097778, "circuitvalley IO Board V3 Bootloader" }, { 0x12097950, "PIC18F87J94 Bootloader [GenII]" }, { 0x12097951, "PIC18F87J94 Application [GenII]" }, { 0x12097952, "PIC18F87J94 Bootloader [GenIII/IV]" }, { 0x12097953, "PIC18F87J94 Application [GenIII/IV]" }, { 0x12097954, "PIC18F87J94 Application [GenIII/IV]" }, { 0x12097bd0, "pokey9000 Tiny Bit Dingus" }, { 0x12098000, "Autonomii NODii 2" }, { 0x12098086, "MisfitTech Nano Zero Bootloader" }, { 0x12098087, "MisfitTech Nano Zero" }, { 0x12098123, "Danyboard M0 bootloader" }, { 0x1209812a, "Danyboard M0" }, { 0x1209813a, "MickMad HACK Bootloader" }, { 0x1209813b, "MickMad HACK Sketch" }, { 0x12098242, "Tom Wimmenhove Electronics NBS-DAC 192/24 UAC1" }, { 0x12098243, "Tom Wimmenhove Electronics NBS-DAC 192/24 UAC2" }, { 0x12098472, "Shantea Controls OpenDeck" }, { 0x12098661, "ProgHQ TL866 programmer" }, { 0x12098844, "munia.io MUNIA" }, { 0x12098888, "Blinkinlabs POV Pendant" }, { 0x12098889, "Blinkinlabs POV Pendant (bootloader)" }, { 0x12098b00, "ReSwitched Libtransistor Serial Console" }, { 0x12099021, "Connected Community Hackerspace ESPlant" }, { 0x12099317, "Sutajio Ko-Usagi (Kosagi) Palawan-Tx" }, { 0x12099999, "Sandeepan Sengupta CodeBridge Infineo" }, { 0x12099db5, "PD Buddy Sink" }, { 0x1209a033, "area0x33 Memtype" }, { 0x1209a100, "KB LES Narsil analog breakout" }, { 0x1209a10c, "KB LES Aminoacid Synthesizer" }, { 0x1209a1e5, "Atreus Keyboards Atreus Keyboard" }, { 0x1209a3a4, "MK::Box MK::Kbd" }, { 0x1209a3a5, "MK::Box MK::Kbd Bootloader" }, { 0x1209a55a, "Forever Young Software ATTINY2313" }, { 0x1209a602, "Robotips RTBoard" }, { 0x1209a7ea, "area3001 Knixx SW04" }, { 0x1209a800, "sowbug.com WebLight" }, { 0x1209a8b0, "Intelectron BootWare" }, { 0x1209a8b1, "Intelectron FrameWare" }, { 0x1209aa00, "Serg Oskin LinuxCNC HID Extender" }, { 0x1209aa0b, "Open Bionics" }, { 0x1209ab3d, "3DArtists Alligator board" }, { 0x1209abba, "CoinWISE SafeWISE" }, { 0x1209abc0, "Omzlo controller" }, { 0x1209abcd, "Sandeepan Sengupta CodeBridge" }, { 0x1209abd1, "OpenMV Cam" }, { 0x1209acdc, "Gediminas Zukaitis midi-grid" }, { 0x1209ace5, "SimAces Panel Ace" }, { 0x1209aced, "Open Lighting Project Ja Rule Device" }, { 0x1209acee, "Open Lighting Project Ja Rule Bootloader" }, { 0x1209adb0, "tibounise ADB converter" }, { 0x1209adda, "MicroPython Boards" }, { 0x1209b007, "Konsgn Global_Boot" }, { 0x1209b00b, "CrapLab Random Device" }, { 0x1209b010, "IObitZ CodeBridge" }, { 0x1209b01d, "WyoLum VeloKey" }, { 0x1209b058, "Model B, LLC Holoseat" }, { 0x1209b0b0, "Monero Hardware Monero Bootloader" }, { 0x1209b100, "ptrandem iBizi" }, { 0x1209b101, "IObitZ Infineo" }, { 0x1209b195, "flehrad Big Switch PCB" }, { 0x1209bab1, "ElectronicCats Meow Meow" }, { 0x1209babe, "brunofreitas.com STM32 HID Bootloader" }, { 0x1209bad1, "Gregory POTEAU CommLinkUSB" }, { 0x1209bad2, "Gregory POTEAU XLinkUSB" }, { 0x1209bade, "Semarme SemarmeHID" }, { 0x1209bb00, "keyplus split keyboard firmware" }, { 0x1209bb01, "keyplus xusb bootloader" }, { 0x1209bb02, "keyplus nRF24 wireless keyboard dongle" }, { 0x1209bb03, "keyplus nrf24lu1p-512 bootloader" }, { 0x1209bb05, "keyplus kp_boot_32u4 bootloader" }, { 0x1209beba, "serasidis.gr STM32 HID Bootloader" }, { 0x1209beef, "Modal MC-USB" }, { 0x1209c001, "Cynteract Alpha" }, { 0x1209c0c0, "Geppetto_Electronics Orthrus" }, { 0x1209c0c1, "Michael Bemmerl cookie-mouse" }, { 0x1209c0ca, "Jean THOMAS DirtyJTAG" }, { 0x1209c0d3, "Samy Kamkar USBdriveby" }, { 0x1209c0da, "Monero Hardware Monero Firmware" }, { 0x1209c0de, "KMRH Labs SBL Brain" }, { 0x1209c0f5, "unethi PERswitch" }, { 0x1209c1aa, "Proyecto CIAA Computadora Industrial Abierta Argentina" }, { 0x1209c1b1, "Chibitronics Love-to-Code" }, { 0x1209c311, "bg nerilex GB-USB-Link" }, { 0x1209ca1c, "KnightOS Generic Hub" }, { 0x1209ca1d, "KnightOS MTP Device" }, { 0x1209caea, "Open Music Kontrollers Chimaera" }, { 0x1209cafe, "ii iigadget" }, { 0x1209cc14, "trebb NaN-15" }, { 0x1209cc86, "Manfred's Technologies Anastasia Bootloader" }, { 0x1209ceb0, "KG4LNE GE-FlashUSB" }, { 0x1209cf20, "Smart Citizen SCK 2.0" }, { 0x1209d00d, "Monero Hardware Monero Developer" }, { 0x1209d017, "empiriKit empiriKit Controller" }, { 0x1209d11d, "Koi Science DI-Lambda AVR" }, { 0x1209d3d8, "Duet3d Duet 0.8.5" }, { 0x1209d706, "SkyBean SkyDrop" }, { 0x1209da42, "Devan Lai dap42 debug access probe" }, { 0x1209daa0, "darknao btClubSportWheel" }, { 0x1209dada, "Rebel Technology OWL" }, { 0x1209db42, "Devan Lai dapboot DFU bootloader" }, { 0x1209dc21, "FPGA-Computer Dual Charger" }, { 0x1209dddd, "Stephan Electronics OpenCVMeter" }, { 0x1209dead, "chaosfield.at AVR-Ruler" }, { 0x1209deaf, "CrapLab 4chord MIDI" }, { 0x1209ded1, "ManCave Made Quark One" }, { 0x1209deed, "Kroneum Time Tracker" }, { 0x1209df00, "D.F.Mac. @TripArts Music mi:muz:tuch" }, { 0x1209df01, "D.F.Mac. @TripArts Music mi:muz:can" }, { 0x1209df02, "D.F.Mac. @TripArts Music mi:muz:can-lite" }, { 0x1209e116, "Elijah Motornyy open-oscilloscope-stm32f3" }, { 0x1209e1ec, "FreeSRP" }, { 0x1209e4ee, "trebb keytee" }, { 0x1209e500, "GitleMikkelsen Helios Laser DAC" }, { 0x1209eaea, "Pinscape Controller" }, { 0x1209eb01, "RobotMaker.club EB1" }, { 0x1209eba7, "VictorGrigoryev USBscope" }, { 0x1209ee00, "Explore Embedded SODA(SWD OpenSource Debug Adapter)" }, { 0x1209ee02, "Explore Embedded Explore M3 VCOM" }, { 0x1209ee03, "Explore Embedded Explore M3 DFU" }, { 0x1209ee2c, "jaka USB2RS485" }, { 0x1209effa, "EffigyLabs atmega32u4-USB-LUFA-Bootloader" }, { 0x1209effe, "EffigyLabs Control Pedal" }, { 0x1209f000, "Uniti ARC" }, { 0x1209f00d, "RomanStepanov Shifter/Pedals Adapter" }, { 0x1209f12e, "Michael Bemmerl Feuermelder" }, { 0x1209f16a, "uri_ba Cougar TQS adapter" }, { 0x1209f16c, "uri_ba adapter for Vipercore's FCC3 Force Sensing Module" }, { 0x1209f380, "Windsor Schmidt MD-380 Open Radio Firmware" }, { 0x1209f3fc, "dRonin Flight controller-Lumenier Lux" }, { 0x1209f49a, "TimVideos.us & HDMI2USB.tv Projects FPGA Programmer & UART Bridge (PIC based Firmware)" }, { 0x1209fa11, "moonglow OpenXHC" }, { 0x1209fa57, "3DRacers Pilot Board" }, { 0x1209fa58, "3DRacers Pilot Board (Bootloader)" }, { 0x1209fab1, "PAP Mechatronic Technology LamDiNao" }, { 0x1209face, "Protean Synth Craft" }, { 0x1209fade, "Open Collector dude" }, { 0x1209feed, "ProgramGyar AVR-IR Sender" }, { 0x1209ffff, "Life2Device Smart House" }, { 0x120f524e, "RoadMate 1475T" }, { 0x120f5260, "Triton Handheld GPS Receiver (300/400/500/1500/2000)" }, { 0x1210000d, "RP250 Guitar Multi-Effects Processor" }, { 0x12100016, "RP500 Guitar Multi-Effects Processor" }, { 0x1210001b, "RP155 Guitar Multi-Effects Processor" }, { 0x1210001c, "RP255 Guitar Multi-Effects Processor" }, { 0x121e3403, "Muzio JM250 Audio Player" }, { 0x121f0001, "VisionX without Firmware" }, { 0x121f0002, "VisionX with Firmware" }, { 0x121f0010, "I-Deal" }, { 0x121f0020, "wI-Deal" }, { 0x121f0021, "VisionX Page Scanner Extension" }, { 0x121f0030, "VisionNext" }, { 0x121f0040, "mI:Deal Check Scanner" }, { 0x121f0041, "EverNext Check Scanner" }, { 0x1220000a, "Hall of Fame Reverb" }, { 0x1220002a, "Polytune" }, { 0x12200032, "Ditto X2 Looper" }, { 0x12200039, "Alter Ego X4 Vintage Echo" }, { 0x12213234, "Disk (Thumb drive)" }, { 0x1222faca, "programmable keyboard" }, { 0x12280012, "Q18 Data Logger" }, { 0x12280015, "TPaq21/MPaq21 Datalogger" }, { 0x1228584c, "XL2 Logger" }, { 0x12335677, "FUSB200 mp3 player" }, { 0x12340000, "Neural Impulse Actuator Prototype 1.0 [NIA]" }, { 0x12344321, "Human Interface Device" }, { 0x1234ed02, "Emotiv EPOC Developer Headset Wireless Dongle" }, { 0x12350001, "ReMOTE Audio/XStation First Edition" }, { 0x12350002, "Speedio" }, { 0x12350003, "RemoteSL + ZeroSL" }, { 0x12350004, "ReMOTE LE" }, { 0x12350005, "XIOSynth [First Edition]" }, { 0x12350006, "XStation" }, { 0x12350007, "XIOSynth" }, { 0x12350008, "ReMOTE SL Compact" }, { 0x12350009, "nIO" }, { 0x1235000a, "Nocturn" }, { 0x1235000b, "ReMOTE SL MkII" }, { 0x1235000c, "ZeRO MkII" }, { 0x1235000e, "Launchpad" }, { 0x12350010, "Saffire 6" }, { 0x12350011, "Ultranova" }, { 0x12350012, "Nocturn Keyboard" }, { 0x12350013, "VRM Box" }, { 0x12350014, "VRM Box Audio Class (2-out)" }, { 0x12350015, "Dicer" }, { 0x12350016, "Ultranova" }, { 0x12350018, "Twitch" }, { 0x12350019, "Impulse 25" }, { 0x1235001a, "Impulse 49" }, { 0x1235001b, "Impulse 61" }, { 0x12350032, "Launchkey 61" }, { 0x12350069, "Launchpad MK2" }, { 0x12350102, "LaunchKey Mini MK3" }, { 0x12354661, "ReMOTE25" }, { 0x12358000, "Scarlett 18i6" }, { 0x12358002, "Scarlett 8i6" }, { 0x12358006, "Focusrite Scarlett 2i2" }, { 0x12358008, "Saffire 6" }, { 0x1235800a, "Scarlett 2i4" }, { 0x1235800c, "Scarlett 18i20" }, { 0x1235800e, "iTrack Solo" }, { 0x12358010, "Forte" }, { 0x12358012, "Scarlett 6i6" }, { 0x12358014, "Scarlett 18i8" }, { 0x12358016, "Focusrite Scarlett 2i2" }, { 0x12358202, "Focusrite Scarlett 2i2 2nd Gen" }, { 0x12358203, "Focusrite Scarlett 6i6" }, { 0x12358204, "Scarlett 18i8 2nd Gen" }, { 0x12358210, "Scarlett 2i2 3rd Gen" }, { 0x12358211, "Scarlett Solo (3rd Gen.)" }, { 0x12358214, "Scarlett 18i8 3rd Gen" }, { 0x12358215, "Scarlett 18i20 3rd Gen" }, { 0x12410504, "Wireless Trackball Keyboard" }, { 0x12411111, "Mouse" }, { 0x12411122, "Typhoon Stream Optical Mouse USB+PS/2" }, { 0x12411155, "Memorex Optical ScrollPro Mouse SE MX4600" }, { 0x12411166, "MI-2150 Trust Mouse" }, { 0x12411177, "Mouse [HT82M21A]" }, { 0x12411503, "Keyboard" }, { 0x12411603, "Keyboard" }, { 0x1241f767, "Keyboard" }, { 0x1243e000, "Unique NFC/RFID reader (keyboard emulation)" }, { 0x124a168b, "PRISM3 WLAN Adapter" }, { 0x124a4017, "PC-Chips 802.11b Adapter" }, { 0x124a4023, "WM168g 802.11bg Wireless Adapter [Intersil ISL3886]" }, { 0x124a4025, "IOGear GWU513 v2 802.11bg Wireless Adapter [Intersil ISL3887]" }, { 0x124b4d01, "Airflo EX Joystick" }, { 0x124c3200, "Stealth MXP 1GB" }, { 0x125c0010, "Alta series CCD" }, { 0x125d0580, "JM580" }, { 0x125f312a, "Superior S102" }, { 0x125f312b, "Superior S102 Pro" }, { 0x125fa15a, "DashDrive Durable HD710 portable HDD various size" }, { 0x125fa22a, "DashDrive Elite HE720 500GB" }, { 0x125fa31a, "HV620 Portable HDD" }, { 0x125fa91a, "Portable HDD CH91" }, { 0x125fc08a, "C008 Flash Drive" }, { 0x125fc81a, "Flash drive" }, { 0x125fc93a, "4GB Pen Drive" }, { 0x125fc96a, "C906 Flash Drive" }, { 0x125fcb10, "Dash Drive UV100" }, { 0x125fcb20, "DashDrive UV110" }, { 0x1260ee22, "SMC2862W-G v3 EZ Connect 802.11g Adapter [Intersil ISL3887]" }, { 0x12666302, "Fastweb DRG A226M ADSL Router" }, { 0x12670103, "G-720 Keyboard" }, { 0x12670201, "Mouse" }, { 0x12670210, "LG Optical Mouse 3D-310" }, { 0x1267a001, "JP260 PC Game Pad" }, { 0x1267c002, "Wireless Optical Mouse" }, { 0x126f0163, "Storage device (2gB thumb drive)" }, { 0x126f1325, "Mobile Disk" }, { 0x126f2168, "Mobile Disk III" }, { 0x126fa006, "G240 802.11bg" }, { 0x12712012, "Megafon Login+" }, { 0x12750002, "WeatherFax 2000 Demodulator" }, { 0x12750080, "SkyEye Weather Satellite Receiver" }, { 0x12750090, "WeatherFax 2000 Demodulator" }, { 0x12780105, "SXV-M5" }, { 0x12780107, "SXV-M7" }, { 0x12780109, "SXV-M9" }, { 0x12780110, "SXVF-H16" }, { 0x12780115, "SXVF-H5" }, { 0x12780119, "SXV-H9" }, { 0x12780135, "SXVF-H35" }, { 0x12780136, "SXVF-H36" }, { 0x12780200, "SXV interface for paraller MX cameras" }, { 0x12780305, "SXV-M5C" }, { 0x12780307, "SXV-M7C" }, { 0x12780319, "SXV-H9C" }, { 0x12780325, "SXV-M25C" }, { 0x12780326, "SXVR-M26C" }, { 0x12780507, "Lodestar autoguider" }, { 0x12780517, "CoStar" }, { 0x12830100, "USB-RS232 Adaptor" }, { 0x12830110, "CMS20" }, { 0x12830111, "CMS 10" }, { 0x12830112, "CMS 05" }, { 0x12830114, "ARCUS digma PC-Interface" }, { 0x12830115, "SAM Axioquick recorder" }, { 0x12830116, "SAM Axioquick recorder" }, { 0x12830120, "emed-X" }, { 0x12830121, "emed-AT" }, { 0x12830130, "PDM" }, { 0x12830150, "CMS10GI (Golf)" }, { 0x128600bc, "Marvell JTAG Probe" }, { 0x12861fab, "88W8338 [Libertas] 802.11g" }, { 0x12862001, "88W8388 802.11a/b/g WLAN" }, { 0x12862006, "88W8362 802.11n WLAN" }, { 0x1286203c, "K30326 802.11bgn Wireless Module [Marvell 88W8786U]" }, { 0x1286204c, "Bluetooth and Wireless LAN Composite" }, { 0x12868001, "BLOB boot loader firmware" }, { 0x12910010, "FDM 2xxx Flash-OFDM modem" }, { 0x12910011, "LR7F06/LR7F14 Flash-OFDM modem" }, { 0x12920258, "Creative Labs VoIP Blaster" }, { 0x12924154, "Retro Link Atari cable" }, { 0x12930002, "F5U002 Parallel Port [uss720]" }, { 0x12932101, "104-key keyboard" }, { 0x12941320, "Webmail Notifier" }, { 0x1297020f, "DTU-215 Multi-Standard Modulator" }, { 0x129b160b, "Siemens S30853-S1031-R351 802.11g Wireless Adapter [Atheros AR5523]" }, { 0x129b160c, "Siemens S30853-S1038-R351 802.11g Wireless Adapter [Atheros AR5523]" }, { 0x129b1666, "TG54USB 802.11bg" }, { 0x129b1667, "802.11bg" }, { 0x129b1828, "Gigaset USB Adapter 300" }, { 0x12ab0004, "Dance Pad for Xbox 360" }, { 0x12ab0301, "Afterglow Wired Controller for Xbox 360" }, { 0x12ab0303, "Mortal Kombat Klassic FightStick for Xbox 360" }, { 0x12ab8809, "Dance Dance Revolution Dance Pad" }, { 0x12ba0032, "Wireless Stereo Headset" }, { 0x12ba0042, "Wireless Stereo Headset" }, { 0x12ba00ff, "Rocksmith Guitar Adapter" }, { 0x12ba0100, "RedOctane Guitar for PlayStation(R)3" }, { 0x12ba0120, "RedOctane Drum Kit for PlayStation(R)3" }, { 0x12ba0200, "Harmonix Guitar for PlayStation(R)3" }, { 0x12ba0210, "Harmonix Drum Kit for PlayStation(R)3" }, { 0x12bdd012, "JPD Shockforce gamepad" }, { 0x12bdd015, "Generic 4-button NES USB Controller" }, { 0x12c40006, "Teleprompter Two-button Hand Control (v1)" }, { 0x12c40008, "Teleprompter Foot Control (v1)" }, { 0x12cf0170, "Tt eSPORTS BLACK Gaming mouse" }, { 0x12cf600b, "Cougar 600M Gaming Mouse" }, { 0x12d11001, "E161/E169/E620/E800 HSDPA Modem" }, { 0x12d11003, "E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem" }, { 0x12d11004, "E220 (bis)" }, { 0x12d11009, "U120" }, { 0x12d11010, "ETS2252+ CDMA Fixed Wireless Terminal" }, { 0x12d11021, "U8520" }, { 0x12d11035, "U8120" }, { 0x12d11037, "Ideos" }, { 0x12d11038, "Ideos (debug mode)" }, { 0x12d11039, "Ideos (tethering mode)" }, { 0x12d11051, "Huawei MTP device (ID1)" }, { 0x12d11052, "Huawei MTP device (ID2)" }, { 0x12d11053, "P7-L10 (PTP)" }, { 0x12d11054, "P7-L10 (PTP + debug)" }, { 0x12d11074, "Huawei Honor 7" }, { 0x12d11079, "Huawei H60-L11" }, { 0x12d1107a, "Huawei H60-L12" }, { 0x12d1107d, "Huawei Nova" }, { 0x12d1107e, "Huawei P9 Plus" }, { 0x12d1107f, "Huawei Y5 2017" }, { 0x12d11082, "Huawei Ascend P8" }, { 0x12d11404, "EM770W miniPCI WCDMA Modem" }, { 0x12d11406, "E1750" }, { 0x12d1140b, "EC1260 Wireless Data Modem HSD USB Card" }, { 0x12d1140c, "E180v" }, { 0x12d11412, "EC168c" }, { 0x12d11436, "Broadband stick" }, { 0x12d11446, "HSPA modem" }, { 0x12d11465, "K3765 HSPA" }, { 0x12d114ac, "E815" }, { 0x12d114c3, "K5005 Vodafone LTE/UMTS/GSM Modem/Networkcard" }, { 0x12d114c8, "K5005 Vodafone LTE/UMTS/GSM MOdem/Networkcard" }, { 0x12d114c9, "K3770 3G Modem" }, { 0x12d114cf, "K3772" }, { 0x12d114d1, "K3770 3G Modem (Mass Storage Mode)" }, { 0x12d114db, "E353/E3131" }, { 0x12d114dc, "E3372 LTE/UMTS/GSM HiLink Modem/Networkcard" }, { 0x12d114f1, "Gobi 3000 HSPA+ Modem" }, { 0x12d114fe, "Modem (Mass Storage Mode)" }, { 0x12d11501, "Pulse" }, { 0x12d11505, "E398 LTE/UMTS/GSM Modem/Networkcard" }, { 0x12d11506, "Modem/Networkcard" }, { 0x12d1150a, "E398 LTE/UMTS/GSM Modem/Networkcard" }, { 0x12d11520, "K3765 HSPA" }, { 0x12d11521, "K4505 HSPA+" }, { 0x12d1155a, "R205 Mobile WiFi (CD-ROM mode)" }, { 0x12d11573, "ME909u-521 mPCIe LTE/GPS card" }, { 0x12d11575, "K5150 LTE modem" }, { 0x12d115bb, "ME936 LTE/HSDPA+ 4G modem" }, { 0x12d115c1, "ME906s LTE M.2 Module" }, { 0x12d115ca, "E3131 3G/UMTS/HSPA+ Modem (Mass Storage Mode)" }, { 0x12d11805, "AT&T Go Phone U2800A phone" }, { 0x12d11c05, "Broadband stick (modem on)" }, { 0x12d11c0b, "E173s 3G broadband stick (modem off)" }, { 0x12d11c20, "R205 Mobile WiFi (Charging)" }, { 0x12d11d50, "ET302s TD-SCDMA/TD-HSDPA Mobile Broadband" }, { 0x12d11f01, "E353/E3131 (Mass storage mode)" }, { 0x12d11f16, "K5150 LTE modem (Mass Storage Mode)" }, { 0x12d12008, "Huawei Y600" }, { 0x12d12012, "Huawei Honor 3C" }, { 0x12d12406, "Huawei Y320-U10" }, { 0x12d1255d, "Huawei Y625-U03" }, { 0x12d12567, "Huawei Y360-U61" }, { 0x12d1256b, "Huawei Y360-U03" }, { 0x12d1257c, "Huawei Y541-U02" }, { 0x12d1259c, "Huawei Y560-L01" }, { 0x12d12608, "Huawei CUN-U29" }, { 0x12d1260b, "Huawei LUA-L02" }, { 0x12d1360e, "Y330-U01 (MTP Mode)" }, { 0x12d1360f, "Huawei Mediapad (mode 0)" }, { 0x12d1361f, "Huawei Mediapad (mode 1)" }, { 0x12d1380b, "WiMAX USB modem(s)" }, { 0x12d30002, "DeskLine CBD Control Box" }, { 0x12d60444, "CPC-USB/ARM7" }, { 0x12d60888, "CPC-USB/M16C" }, { 0x12d80001, "Alea I True Random Number Generator" }, { 0x12e60013, "Blofeld" }, { 0x12ef0100, "Tapwave Handheld [Tapwave Zodiac]" }, { 0x12f2000a, "Braille embosser [SpotDot Emprint]" }, { 0x12f71a00, "TD Classic 003B" }, { 0x12f71e23, "TravelDrive 2007 Flash Drive" }, { 0x12fd1001, "AWU2000b 802.11b Stick" }, { 0x12ff0101, "Advanced RC Servo Controller" }, { 0x13021016, "Haier Ibiza Rhapsody 1" }, { 0x13021017, "Haier Ibiza Rhapsody 2" }, { 0x13070163, "256MB/512MB/1GB Flash Drive" }, { 0x13070165, "2GB/4GB/8GB Flash Drive" }, { 0x13070190, "Ut190 8 GB Flash Drive with MicroSD reader" }, { 0x13070310, "SD/MicroSD CardReader [hama]/IT1327E [Basic Line flash drive]" }, { 0x13070330, "63-in-1 Multi-Card Reader/Writer" }, { 0x13070361, "CR-75: 51-in-1 Card Reader/Writer [Sakar]" }, { 0x13071169, "TS2GJF210 JetFlash 210 2GB" }, { 0x13071171, "Fingerprint Reader" }, { 0x13080003, "VFD Module" }, { 0x1308c001, "eHome Infrared Transceiver" }, { 0x13100001, "Class 1 Bluetooth Dongle" }, { 0x13130010, "LC1 Linear Camera (Jungo)" }, { 0x13130011, "SP1 Spectrometer (Jungo)" }, { 0x13130012, "SP2 Spectrometer (Jungo)" }, { 0x13130110, "LC1 Linear Camera (VISA)" }, { 0x13130111, "SP1 Spectrometer (VISA)" }, { 0x13130112, "SP2 Spectrometer (VISA)" }, { 0x13138001, "TXP-Series Slot (TXP5001, TXP5004)" }, { 0x13138011, "BP1 Slit Beam Profiler" }, { 0x13138012, "BC106 Camera Beam Profiler" }, { 0x13138013, "WFS10 Wavefront Sensor" }, { 0x13138016, "DMP40 Deformable Mirror" }, { 0x13138017, "BC206 Camera Beam Profiler" }, { 0x13138019, "BP2 Multi Slit Beam Profiler" }, { 0x13138020, "PM300 Optical Power Meter" }, { 0x13138021, "PM300E Optical Power and Energy Meter" }, { 0x13138022, "PM320E Optical Power and Energy Meter" }, { 0x13138025, "WFS20 Wavefront Sensor" }, { 0x13138030, "ER100 Extinction Ratio Meter" }, { 0x13138039, "PAX1000 Rotating Waveplate Polarimeter" }, { 0x13138047, "CLD1000" }, { 0x13138048, "TED4000" }, { 0x13138049, "LDC4000" }, { 0x1313804a, "ITC4000" }, { 0x13138058, "LC-100" }, { 0x13138060, "DC3100" }, { 0x13138061, "DC4100" }, { 0x13138062, "DC2100" }, { 0x13138065, "CS2010" }, { 0x13138066, "DC4104" }, { 0x13138070, "PM100D" }, { 0x13138072, "PM100USB Power and Energy Meter Interface" }, { 0x13138073, "PM106 Wireless Powermeter Photodiode Sensor" }, { 0x13138074, "PM160T Wireless Powermeter Thermal Sensor" }, { 0x13138075, "PM400 Handheld Optical Power/Energy Meter" }, { 0x13138076, "PM101 Serial PD Power Meter" }, { 0x13138078, "PM100D Compact Power and Energy Meter Console" }, { 0x13138080, "CCS100 - Compact Spectrometer" }, { 0x13138081, "CCS100 Compact Spectrometer" }, { 0x13138083, "CCS125 Spectrometer" }, { 0x13138085, "CCS150 UV Spectrometer" }, { 0x13138087, "CCS175 NIR Spectrometer" }, { 0x13138089, "CCS200 Wide Range Spectrometer" }, { 0x13138090, "SPCM Single Photon Counter" }, { 0x131380a0, "LC100 series smart line camera" }, { 0x131380b0, "PM200 Handheld Power and Energy Meter" }, { 0x131380c0, "DC2200" }, { 0x131380c9, "MTD Series" }, { 0x131380f0, "TSP01" }, { 0x131380f1, "M2SET Dongle" }, { 0x13138180, "OCT Probe Controller (OCTH-1300)" }, { 0x13138181, "OCT Device" }, { 0x131d0155, "TrackIR 3 Pro Head Tracker" }, { 0x131d0156, "TrackIR 4 Pro Head Tracker" }, { 0x131d0158, "TrackIR 5 Pro Head Tracker" }, { 0x132500d6, "I2C/SPI InterfaceBoard" }, { 0x13250c08, "Embedded Linux Sensor Bridge" }, { 0x13254002, "I2C Dongle" }, { 0x132a1502, "WiND 802.11abg / 802.11bg WLAN" }, { 0x132b0000, "Dimage A2 Camera" }, { 0x132b0001, "Konica-Minolta DiMAGE A2" }, { 0x132b0003, "Dimage Xg Camera" }, { 0x132b0006, "Dimage Z2 Camera" }, { 0x132b0007, "Konica-Minolta DiMAGE Z2" }, { 0x132b0008, "Dimage X21 Camera" }, { 0x132b0009, "Konica-Minolta DiMAGE X21" }, { 0x132b000a, "Dimage Scan Dual IV AF-3200 (2891)" }, { 0x132b000b, "Dimage Z10 Camera" }, { 0x132b000d, "Dimage X50 Camera [storage?]" }, { 0x132b000f, "Dimage X50 Camera [p2p?]" }, { 0x132b0010, "Dimage G600 Camera" }, { 0x132b0012, "Dimage Scan Elite 5400 II (2892)" }, { 0x132b0013, "Dimage X31 Camera" }, { 0x132b0015, "Dimage G530 Camera" }, { 0x132b0017, "Dimage Z3 Camera" }, { 0x132b0018, "Konica-Minolta DiMAGE Z3" }, { 0x132b0019, "Konica-Minolta DiMAGE A200" }, { 0x132b0021, "Dimage Z5 Camera" }, { 0x132b0022, "Konica-Minolta DiMAGE Z5" }, { 0x132b002c, "Dynax 5D camera" }, { 0x132b0033, "Konica-Minolta DiMAGE Z6" }, { 0x132b2001, "Magicolor 2400w" }, { 0x132b2004, "Magicolor 5430DL" }, { 0x132b2005, "Magicolor 2430 DL" }, { 0x132b2029, "Magicolor 5440DL" }, { 0x132b2030, "PagePro 1350E(N)" }, { 0x132b2033, "PagePro 1400W" }, { 0x132b2043, "Magicolor 2530DL" }, { 0x132b2045, "Magicolor 2500W" }, { 0x132b2049, "Magicolor 2490MF" }, { 0x133e0815, "Virus TI Desktop" }, { 0x13420200, "EasiDock 200 Hub" }, { 0x13420201, "EasiDock 200 Keyboard and Mouse Port" }, { 0x13420202, "EasiDock 200 Serial Port" }, { 0x13420203, "EasiDock 200 Printer Port" }, { 0x13420204, "Ethernet" }, { 0x13420304, "EasiDock Ethernet" }, { 0x13430002, "CW-01" }, { 0x13430003, "CX / DNP DS40" }, { 0x13430004, "CX-W / DNP DS80 / Mitsubishi CP3800" }, { 0x13430005, "CY / DNP DSRX1" }, { 0x13430006, "CW-02 / OP900ii" }, { 0x13430007, "DNP DS80DX" }, { 0x13430008, "DNP DS620 (old)" }, { 0x1343000a, "CX-02" }, { 0x1343000b, "CX-02W" }, { 0x1345001c, "Xbox Controller Hub" }, { 0x13456006, "Defender Wireless Controller" }, { 0x13470400, "G2CCD USB 1.1 obsolete" }, { 0x13470401, "G2CCD-S with Sony ICX285 CCD" }, { 0x13470402, "G2CCD2" }, { 0x13470403, "G2/G3CCD-I KAI CCD" }, { 0x13470404, "G2/G3/G4 CCD-F KAF CCD" }, { 0x13470405, "Gx CCD-I CCD" }, { 0x13470406, "Gx CCD-F CCD" }, { 0x13470410, "G1-0400 CCD" }, { 0x13470411, "G1-0800 CCD" }, { 0x13470412, "G1-0300 CCD" }, { 0x13470413, "G1-2000 CCD" }, { 0x13470414, "G1-1400 CCD" }, { 0x13470415, "G1-1200 CCD" }, { 0x134704b0, "Gx CCD-B CCD" }, { 0x134704b1, "Gx CCD-BI CCD" }, { 0x134c0001, "Touch Panel Controller" }, { 0x134c0002, "Touch Panel Controller" }, { 0x134c0003, "Touch Panel Controller" }, { 0x134c0004, "Touch Panel Controller" }, { 0x13570089, "OpenSDA - CDC Serial Port" }, { 0x13570503, "USB-ML-12 HCS08/HCS12 Multilink" }, { 0x13570504, "DEMOJM" }, { 0x13571000, "Smart Control Touchpad" }, { 0x135e0021, "Berker KNX Data Interface" }, { 0x135e0022, "Gira KNX Data Interface" }, { 0x135e0023, "JUNG KNX Data Interface" }, { 0x135e0024, "Merten/Schneider Electric KNX Data Interface" }, { 0x135e0025, "Hager KNX Data Interface" }, { 0x135e0026, "Feller KNX Data Interface" }, { 0x135f0110, "Linear Spectrograph" }, { 0x135f0111, "Spectrograph - Renumerated" }, { 0x135f0200, "Linear Spectrograph" }, { 0x135f0201, "Spectrograph - Renumerated" }, { 0x135f0240, "MPP Spectrograph" }, { 0x13660101, "J-Link PLUS" }, { 0x13661015, "J-Link" }, { 0x136e0012, "iXon Ultra CCD" }, { 0x136e0014, "Zyla 5.5 sCMOS camera" }, { 0x13700323, "Swissmemory cirrusWHITE" }, { 0x13706828, "Victorinox Flash Drive" }, { 0x13710001, "CNUSB-611AR Wireless Adapter-G [AT76C503]" }, { 0x13710002, "CNUSB-611AR Wireless Adapter-G [AT76C503] (FiberLine WL-240U)" }, { 0x13710013, "CNUSB-611 Wireless Adapter [AT76C505]" }, { 0x13710014, "CNUSB-611 Wireless Adapter [AT76C505] (FiberLine WL-240U)" }, { 0x13715743, "CNUSB-611 (D) Wireless Adapter [AT76C503]" }, { 0x13719022, "CWD-854 [RT2573]" }, { 0x13719032, "CWD-854 rev F" }, { 0x13719401, "CWD-854 Wireless 802.11g 54Mbps Network Adapter [RTL8187]" }, { 0x13774000, "HDVD800" }, { 0x137b0002, "SCAPS USC-2 Scanner Controller" }, { 0x137c0220, "MP Series" }, { 0x137c0250, "SIGMA Series" }, { 0x137c0401, "AC Drive" }, { 0x13854250, "WG111T" }, { 0x13854251, "WG111T (no firmware)" }, { 0x13855f00, "WPN111 RangeMax(TM) Wireless USB 2.0 Adapter" }, { 0x13855f01, "WPN111 (no firmware)" }, { 0x13855f02, "WPN111 (no firmware)" }, { 0x13856e00, "WPNT121 802.11g 240Mbps Wireless Adapter [Airgo AGN300]" }, { 0x138a0001, "VFS101 Fingerprint Reader" }, { 0x138a0005, "VFS301 Fingerprint Reader" }, { 0x138a0007, "VFS451 Fingerprint Reader" }, { 0x138a0008, "VFS300 Fingerprint Reader" }, { 0x138a0010, "VFS Fingerprint sensor" }, { 0x138a0011, "VFS5011 Fingerprint Reader" }, { 0x138a0015, "VFS 5011 fingerprint sensor" }, { 0x138a0017, "VFS 5011 fingerprint sensor" }, { 0x138a0018, "Fingerprint scanner" }, { 0x138a003c, "VFS471 Fingerprint Reader" }, { 0x138a003d, "VFS491" }, { 0x138a003f, "VFS495 Fingerprint Reader" }, { 0x138a0050, "Swipe Fingerprint Sensor" }, { 0x138a0090, "VFS7500 Touch Fingerprint Sensor" }, { 0x138a0091, "VFS7552 Touch Fingerprint Sensor" }, { 0x138e9000, "Raisonance S.A. STM32 ARM evaluation board / RLink dongle" }, { 0x13900001, "GO 520 T / GO 630 / ONE / ONE XL" }, { 0x13905454, "Blue & Me 2" }, { 0x13905455, "TomTom Rider 40" }, { 0x13907474, "GPS Sport Watch [Runner, Multi-Sport]" }, { 0x1390a001, "Bandit Action Camera Batt-Stick" }, { 0x13911000, "URTC-1000" }, { 0x13950025, "Headset [PC 8]" }, { 0x13950026, "SC230" }, { 0x13950027, "SC260" }, { 0x13950028, "SC230 CTRL" }, { 0x13950029, "SC260 CTRL" }, { 0x1395002a, "SC230 for Lync" }, { 0x1395002b, "SC260 for Lync" }, { 0x1395002d, "BTD-800" }, { 0x1395002e, "Presence" }, { 0x13950030, "CEHS-CI 02" }, { 0x13950031, "U320 Gaming" }, { 0x13950032, "SC30 for Lync" }, { 0x13950033, "SC60 for Lync" }, { 0x13950034, "SC30 Control" }, { 0x13950035, "SC60 Control" }, { 0x13950036, "SC630 for Lync" }, { 0x13950037, "SC660 for Lync" }, { 0x13950038, "SC630 CTRL" }, { 0x13950039, "SC660 CTRL" }, { 0x1395003f, "SP 20" }, { 0x13950040, "MB Pro 1/2" }, { 0x13950041, "SP 20 for Lync" }, { 0x13950042, "SP 10" }, { 0x13950043, "SP 10 for Lync" }, { 0x13950046, "PXC 550" }, { 0x1395004a, "MOMENTUM M2 OEBT" }, { 0x1395004b, "MOMENTUM M2 AEBT" }, { 0x1395004f, "SC230 for MS II" }, { 0x13950050, "SC260 for MS II" }, { 0x13950051, "USB-ED CC 01" }, { 0x13950058, "USB-ED CC 01 for MS" }, { 0x13950059, "SC40 for MS" }, { 0x1395005a, "SC70 for MS" }, { 0x1395005b, "SC40 CTRL" }, { 0x1395005c, "SC70 CTRL" }, { 0x13950060, "SCx5 MS" }, { 0x13950061, "SCx5 CTRL" }, { 0x13950064, "MB 660 MS" }, { 0x13950065, "MB 660" }, { 0x13950066, "SP 20 D UC" }, { 0x13950067, "SP 20 D MS" }, { 0x1395006b, "SC6x5" }, { 0x13950072, "Headset" }, { 0x13953556, "USB Headset" }, { 0x13970004, "FCA1616" }, { 0x139700bc, "BCF2000" }, { 0x13982103, "USB 2.0 Storage Device" }, { 0x13ad9999, "Card reader" }, { 0x13b0000a, "Alesis Photon X25 MIDI Controller" }, { 0x13b1000a, "WUSB54G v2 802.11g Adapter [Intersil ISL3887]" }, { 0x13b1000b, "WUSB11 v4.0 802.11b Adapter [ALi M4301]" }, { 0x13b1000c, "WUSB54AG 802.11a/g Adapter [Intersil ISL3887]" }, { 0x13b1000d, "WUSB54G v4 802.11g Adapter [Ralink RT2500USB]" }, { 0x13b1000e, "WUSB54GS v1 802.11g Adapter [Broadcom 4320 USB]" }, { 0x13b10011, "WUSB54GP v4.0 802.11g Adapter [Ralink RT2500USB]" }, { 0x13b10014, "WUSB54GS v2 802.11g Adapter [Broadcom 4320 USB]" }, { 0x13b10018, "USB200M 10/100 Ethernet Adapter" }, { 0x13b1001a, "HU200TS Wireless Adapter" }, { 0x13b1001e, "WUSBF54G 802.11bg" }, { 0x13b10020, "WUSB54GC v1 802.11g Adapter [Ralink RT73]" }, { 0x13b10022, "WUSB54GX4 802.11g 240Mbps Wireless Adapter [Airgo AGN300]" }, { 0x13b10023, "WUSB54GR" }, { 0x13b10024, "WUSBF54G v1.1 802.11bg" }, { 0x13b10026, "WUSB54GSC v1 802.11g Adapter [Broadcom 4320 USB]" }, { 0x13b10028, "WUSB200 802.11g Adapter [Ralink RT2671]" }, { 0x13b10029, "WUSB300N 802.11bgn Wireless Adapter [Marvell 88W8362+88W8060]" }, { 0x13b1002f, "AE1000 v1 802.11n [Ralink RT3572]" }, { 0x13b10031, "AM10 v1 802.11n [Ralink RT3072]" }, { 0x13b10039, "AE1200 802.11bgn Wireless Adapter [Broadcom BCM43235]" }, { 0x13b1003a, "AE2500 802.11abgn Wireless Adapter [Broadcom BCM43236]" }, { 0x13b1003b, "AE3000 802.11abgn (3x3) Wireless Adapter [Ralink RT3573]" }, { 0x13b1003e, "AE6000 802.11a/b/g/n/ac Wireless Adapter [MediaTek MT7610U]" }, { 0x13b1003f, "WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]" }, { 0x13b10041, "Gigabit Ethernet Adapter" }, { 0x13b10042, "WUSB6100M 802.11a/b/g/n/ac Wireless Adapter" }, { 0x13b113b1, "WUSB200: Wireless-G Business Network Adapter with Rangebooster" }, { 0x13b20030, "Multimix 8" }, { 0x13ba0001, "Konig Electronic CMP-KEYPAD12 Numeric Keypad" }, { 0x13ba0017, "PS/2 Keyboard+Mouse Adapter" }, { 0x13ba0018, "Barcode PCP-BCG4209" }, { 0x13cf1200, "Olidata Wireless Multimedia Adapter" }, { 0x13d02282, "TechniSat DVB-PC TV Star 2" }, { 0x13d17002, "Logik LOG DAX MP3 and DAB Player" }, { 0x13d17017, "Technika MP-709" }, { 0x13d17019, "MD 82288" }, { 0x13d1abe6, "Wireless 802.11g 54Mbps Network Adapter [RTL8187]" }, { 0x13d20400, "Pocket Ethernet [klsi]" }, { 0x13d33201, "VisionDTV USB-Ter/HAMA USB DVB-T device cold" }, { 0x13d33202, "VisionDTV USB-Ter/HAMA USB DVB-T device warm" }, { 0x13d33203, "DTV-DVB UDST7020BDA DVB-S Box(DVBS for MCE2005)" }, { 0x13d33204, "DTV-DVB UDST7020BDA DVB-S Box(DVBS for MCE2005)" }, { 0x13d33205, "DNTV Live! Tiny USB2 BDA (No Remote)" }, { 0x13d33206, "DNTV Live! Tiny USB2 BDA (No Remote)" }, { 0x13d33207, "DTV-DVB UDST7020BDA DVB-S Box(DVBS for MCE2005)" }, { 0x13d33208, "DTV-DVB UDST7020BDA DVB-S Box(DVBS for MCE2005)" }, { 0x13d33209, "DTV-DVB UDST7022BDA DVB-S Box(Without HID)" }, { 0x13d33211, "DTV-DVB Hybrid Analog/Capture / Pinnacle PCTV 310e" }, { 0x13d33212, "DTV-DVB UDTT704C - DVBT/NTSC/PAL Driver(PCM4)" }, { 0x13d33213, "DTV-DVB UDTT704D - DVBT/NTSC/PAL Driver (PCM4)" }, { 0x13d33214, "DTV-DVB UDTT704F -(MiniCard) DVBT/NTSC/PAL Driver(Without HID)" }, { 0x13d33215, "DTV-DVB UDAT7240 - ATSC/NTSC/PAL Driver(PCM4)" }, { 0x13d33216, "DTV-DVB UDTT 7047-USB 2.0 DVB-T Driver" }, { 0x13d33217, "Digital-TV Receiver." }, { 0x13d33219, "DTV-DVB UDTT7049 - DVB-T Driver(Without HID)" }, { 0x13d33220, "DTV-DVB UDTT 7047M-USB 2.0 DVB-T Driver" }, { 0x13d33223, "DNTV Live! Tiny USB2 BDA (No Remote)" }, { 0x13d33224, "DNTV Live! Tiny USB2 BDA (No Remote)" }, { 0x13d33226, "DigitalNow TinyTwin DVB-T Receiver" }, { 0x13d33234, "DVB-T FTA Half Minicard [RTL2832U]" }, { 0x13d33236, "DTV-DVB UDTT 7047A-USB 2.0 DVB-T Driver" }, { 0x13d33237, "DTV-DVB UDTT 704J - dual DVB-T Driver" }, { 0x13d33239, "DTV-DVB UDTT704D - DVBT/NTSC/PAL Driver(Without HID)" }, { 0x13d33240, "DTV-DVB UDXTTM6010 - A/D Driver(Without HID)" }, { 0x13d33241, "DTV-DVB UDXTTM6010 - A/D Driver(Without HID)" }, { 0x13d33242, "DTV-DVB UDAT7240LP - ATSC/NTSC/PAL Driver(Without HID)" }, { 0x13d33243, "DTV-DVB UDXTTM6010 - A/D Driver(Without HID)" }, { 0x13d33244, "DTV-DVB UDTT 7047Z-USB 2.0 DVB-T Driver" }, { 0x13d33247, "AW-NU222 802.11bgn Wireless Module [Ralink RT2770+RT2720]" }, { 0x13d33249, "Internal Bluetooth" }, { 0x13d33250, "Broadcom Bluetooth 2.1" }, { 0x13d33262, "802.11 n/g/b Wireless LAN USB Adapter" }, { 0x13d33273, "802.11 n/g/b Wireless LAN USB Mini-Card" }, { 0x13d33274, "DVB-T Dongle [RTL2832U]" }, { 0x13d33282, "DVB-T + GPS Minicard [RTL2832U]" }, { 0x13d33284, "Wireless LAN USB Mini-Card" }, { 0x13d33304, "Asus Integrated Bluetooth module [AR3011]" }, { 0x13d33306, "Mediao 802.11n WLAN [Realtek RTL8191SU]" }, { 0x13d33315, "Bluetooth module" }, { 0x13d33327, "AW-NU137 802.11bgn Wireless Module [Atheros AR9271]" }, { 0x13d33362, "Atheros AR3012 Bluetooth 4.0 Adapter" }, { 0x13d33375, "Atheros AR3012 Bluetooth 4.0 Adapter" }, { 0x13d33392, "Azurewave 43228+20702" }, { 0x13d33394, "Bluetooth" }, { 0x13d33474, "Atheros AR3012 Bluetooth" }, { 0x13d33526, "Bluetooth Radio" }, { 0x13d35070, "Webcam" }, { 0x13d35111, "Integrated Webcam" }, { 0x13d35115, "Integrated Webcam" }, { 0x13d35116, "Integrated Webcam" }, { 0x13d35122, "2M Integrated Webcam" }, { 0x13d35126, "PC Cam" }, { 0x13d35130, "Integrated Webcam" }, { 0x13d35134, "Integrated Webcam" }, { 0x13d35615, "Lenovo EasyCamera" }, { 0x13d35670, "HP TrueVision HD" }, { 0x13d35682, "SunplusIT Integrated Camera" }, { 0x13d35702, "UVC VGA Webcam" }, { 0x13d35710, "UVC VGA Webcam" }, { 0x13d35716, "UVC VGA Webcam" }, { 0x13d35a07, "VGA UVC WebCam" }, { 0x13d37020, "DTV-DVB UDST7020BDA DVB-S Box(DVBS for MCE2005)" }, { 0x13d37022, "DTV-DVB UDST7022BDA DVB-S Box(Without HID)" }, { 0x13d3784b, "XHC Camera" }, { 0x13d70001, "T5 PATA forensic bridge" }, { 0x13d7000c, "T8-R2 forensic bridge" }, { 0x13e50001, "SL-1" }, { 0x13e50003, "TTM 57SL" }, { 0x13ea0001, "C-56 Thermal Printer" }, { 0x13ec0006, "HID Remote Control" }, { 0x13ee0001, "Optical Mouse" }, { 0x13ee0003, "Optical Mouse" }, { 0x13fd0550, "INIC-1530 PATA Bridge" }, { 0x13fd0840, "INIC-1618L SATA" }, { 0x13fd0841, "Samsung SE-T084M DVD-RW" }, { 0x13fd0940, "ASUS SBW-06D2X-U" }, { 0x13fd1040, "INIC-1511L PATA Bridge" }, { 0x13fd1340, "Hi-Speed USB to SATA Bridge" }, { 0x13fd160f, "RocketFish SATA Bridge [INIC-1611]" }, { 0x13fd1640, "INIC-1610L SATA Bridge" }, { 0x13fd1669, "INIC-1609PN" }, { 0x13fd1840, "INIC-1608 SATA bridge" }, { 0x13fd1e40, "INIC-1610P SATA bridge" }, { 0x13fd2040, "Samsung Writemaster external DVD writer" }, { 0x13fd3920, "INIC-3619PN SATA Bridge" }, { 0x13fd3940, "external DVD burner ECD819-SU3" }, { 0x13fd3960, "INIC-3639" }, { 0x13fd3e40, "ZALMAN ZM-VE350" }, { 0x13fe1a00, "512MB/1GB Flash Drive" }, { 0x13fe1a23, "512MB Flash Drive" }, { 0x13fe1d00, "DataTraveler 2.0 1GB/4GB Flash Drive / Patriot Xporter 4GB Flash Drive" }, { 0x13fe1e00, "Flash Drive 2 GB [ICIDU 2 GB]" }, { 0x13fe1e50, "U3 Smart Drive" }, { 0x13fe1f00, "Kingston DataTraveler / Patriot Xporter" }, { 0x13fe1f23, "PS2232 flash drive controller" }, { 0x13fe2240, "microSD card reader" }, { 0x13fe3100, "2/4 GB stick" }, { 0x13fe3123, "Verbatim STORE N GO 4GB" }, { 0x13fe3200, "flash drive (2GB, EMTEC)" }, { 0x13fe3600, "flash drive (4GB, EMTEC)" }, { 0x13fe3800, "Rage XT Flash Drive" }, { 0x13fe3d00, "Flash Drive" }, { 0x13fe3e00, "Flash Drive" }, { 0x13fe4100, "Flash drive" }, { 0x13fe4200, "Platinum USB drive mini" }, { 0x13fe5000, "USB flash drive (32 GB SHARKOON Accelerate)" }, { 0x13fe5100, "Flash Drive" }, { 0x13fe5200, "DataTraveler R3.0" }, { 0x13fe5500, "Flash drive" }, { 0x13fe6300, "SP Mobile C31 (64GB)" }, { 0x14030001, "Digital Photo Frame" }, { 0x14030003, "Digital Photo Frame (DPF-1104)" }, { 0x1404cddc, "Dongle" }, { 0x14091000, "generic (firmware not loaded yet)" }, { 0x14091485, "uEye UI1485" }, { 0x14093240, "uEye UI3240" }, { 0x140eb011, "TCC780X-based player (USB Boot mode)" }, { 0x140eb021, "TCC77X-based players (USB Boot mode)" }, { 0x14101110, "Merlin S620" }, { 0x14101120, "Merlin EX720" }, { 0x14101130, "Merlin S720" }, { 0x14101400, "Merlin U730/U740 (Vodafone)" }, { 0x14101410, "Merlin U740 (non-Vodafone)" }, { 0x14101430, "Merlin XU870" }, { 0x14101450, "Merlin X950D" }, { 0x14102110, "Ovation U720/MCD3000" }, { 0x14102410, "Expedite EU740" }, { 0x14102420, "Expedite EU850D/EU860D/EU870D" }, { 0x14104100, "U727" }, { 0x14104400, "Ovation MC930D/MC950D" }, { 0x14109010, "Expedite E362" }, { 0x1410a001, "Gobi Wireless Modem" }, { 0x1410a008, "Gobi Wireless Modem (QDL mode)" }, { 0x1410b001, "Ovation MC551" }, { 0x14150000, "Sony SingStar USBMIC" }, { 0x14150020, "Sony Wireless SingStar" }, { 0x14152000, "Sony Playstation Eye" }, { 0x14210605, "Sentech Camera" }, { 0x14241001, "Temo" }, { 0x14241002, "Thermal" }, { 0x14241003, "Neo" }, { 0x14241004, "Combo DF" }, { 0x14241005, "Thermal-A" }, { 0x14241006, "Thermal FV" }, { 0x14241007, "Bingo HS" }, { 0x14241008, "Thermal HS FV" }, { 0x14241009, "Thermal FV EJ" }, { 0x1424100a, "Thermal HD" }, { 0x1424100b, "Thermal" }, { 0x1424100c, "Neo" }, { 0x1424100d, "Ergo" }, { 0x1424100e, "Trio" }, { 0x14241010, "Thermal HS FV EJ" }, { 0x14241011, "Neo EJ" }, { 0x14241012, "Thermal-A" }, { 0x14241013, "Thermal-A EJ" }, { 0x14241014, "Mobile" }, { 0x14241015, "Temo HS" }, { 0x14241016, "Mobile HS" }, { 0x14241017, "TH230+ FV EJ" }, { 0x14241018, "4610-1NR FV EJ" }, { 0x142a0003, "Artema Hybrid" }, { 0x142a0005, "Artema Modular" }, { 0x142a0043, "medCompact" }, { 0x142b03a5, "933A Portable Power Sentinel" }, { 0x14300150, "wireless receiver for skylanders wii" }, { 0x14304734, "Guitar Hero4 hub" }, { 0x14304748, "Guitar Hero X-plorer" }, { 0x1430474b, "Guitar Hero MIDI interface" }, { 0x14308888, "TX6500+ Dance Pad" }, { 0x1430f801, "Controller" }, { 0x14350427, "UR054g 802.11g Wireless Adapter [Intersil ISL3887]" }, { 0x14350711, "UR055G 802.11bg" }, { 0x14350804, "AR9170+AR9104 802.11abgn Wireless Adapter" }, { 0x14350826, "AR5523" }, { 0x14350827, "AR5523 (no firmware)" }, { 0x14350828, "AR5523" }, { 0x14350829, "AR5523 (no firmware)" }, { 0x14430007, "Development board JTAG" }, { 0x14466a73, "Stamps.com Model 510 5LB Scale" }, { 0x14466a78, "DYMO Endicia 75lb Digital Scale" }, { 0x14510301, "haptic device" }, { 0x14510302, "haptic device" }, { 0x14510400, "haptic device" }, { 0x14510401, "delta.x haptic device" }, { 0x14510402, "omega.x haptic device" }, { 0x14510403, "sigma.x haptic device" }, { 0x14510404, "haptic controller" }, { 0x14510405, "dedicated haptic device" }, { 0x14510406, "dedicated haptic device" }, { 0x14510407, "dedicated haptic device" }, { 0x14510408, "dedicated haptic device" }, { 0x14528b01, "DS620" }, { 0x14529001, "DS820" }, { 0x14534026, "26-183 Serial Cable" }, { 0x14575117, "OpenMoko Neo1973 kernel usbnet (g_ether, CDC Ethernet) mode" }, { 0x14575118, "OpenMoko Neo1973 Debug board (V2+)" }, { 0x14575119, "OpenMoko Neo1973 u-boot cdc_acm serial port" }, { 0x1457511a, "HXD8 u-boot usbtty CDC ACM Mode" }, { 0x1457511b, "SMDK2440 u-boot usbtty CDC ACM mode" }, { 0x1457511c, "SMDK2443 u-boot usbtty CDC ACM mode" }, { 0x1457511d, "QT2410 u-boot usbtty CDC ACM mode" }, { 0x14575120, "OpenMoko Neo1973 u-boot usbtty generic serial" }, { 0x14575121, "OpenMoko Neo1973 kernel mass storage (g_storage) mode" }, { 0x14575122, "OpenMoko Neo1973 / Neo Freerunner kernel cdc_ether USB network" }, { 0x14575123, "OpenMoko Neo1973 internal USB CSR4 module" }, { 0x14575124, "OpenMoko Neo1973 Bluetooth Device ID service" }, { 0x145f0106, "K56 V92 Modem" }, { 0x145f013d, "PC Camera (SN9C201 + OV7660)" }, { 0x145f013f, "Megapixel Auto Focus Webcam" }, { 0x145f0142, "WB-6250X Webcam" }, { 0x145f015a, "WB-8300X 2MP Webcam" }, { 0x145f0161, "15901 802.11bg Wireless Adapter [Realtek RTL8187L]" }, { 0x145f0167, "Widescreen 3MP Webcam" }, { 0x145f0176, "Isla Keyboard" }, { 0x145f019f, "17676 Webcam" }, { 0x145f01e5, "Keyboard [GXT 830]" }, { 0x145f0212, "Panora Widescreen Graphic Tablet" }, { 0x145f023f, "Mouse [GXT 168]" }, { 0x14609150, "eHome Infrared Transceiver" }, { 0x14625512, "MegaStick-1 Flash Stick" }, { 0x14628807, "DIGIVOX mini III [af9015]" }, { 0x146b0601, "Controller for Xbox 360" }, { 0x146b0902, "Wired Mini PS3 Game Controller" }, { 0x14720007, "Aolynk WUB300g [ZyDAS ZD1211]" }, { 0x14720009, "Aolynk WUB320g" }, { 0x147ae015, "eHome Infrared Receiver" }, { 0x147ae016, "eHome Infrared Receiver" }, { 0x147ae017, "eHome Infrared Receiver" }, { 0x147ae018, "eHome Infrared Receiver" }, { 0x147ae02c, "Infrared Receiver" }, { 0x147ae03a, "eHome Infrared Receiver" }, { 0x147ae03c, "eHome Infrared Receiver" }, { 0x147ae03d, "2 Channel Audio" }, { 0x147ae03e, "Infrared Receiver [IR605A/Q]" }, { 0x147e1000, "Biometric Touchchip/Touchstrip Fingerprint Sensor" }, { 0x147e1001, "TCS5B Fingerprint sensor" }, { 0x147e1002, "Biometric Touchchip/Touchstrip Fingerprint Sensor" }, { 0x147e2016, "Biometric Touchchip/Touchstrip Fingerprint Sensor" }, { 0x147e2020, "TouchChip Fingerprint Coprocessor (WBF advanced mode)" }, { 0x147e3000, "TCS1C EIM/Cypress Fingerprint sensor" }, { 0x147e3001, "TCS1C EIM/STM32 Fingerprint sensor" }, { 0x14821005, "VRD PC-Interface" }, { 0x14841746, "Ecomo 19H99 Monitor" }, { 0x14847616, "Elsa Hub" }, { 0x14850001, "U2E" }, { 0x14850002, "Psion Gold Port Ethernet" }, { 0x148f1000, "Motorola BC4 Bluetooth 3.0+HS Adapter" }, { 0x148f1706, "RT2500USB Wireless Adapter" }, { 0x148f2070, "RT2070 Wireless Adapter" }, { 0x148f2570, "RT2570 Wireless Adapter" }, { 0x148f2573, "RT2501/RT2573 Wireless Adapter" }, { 0x148f2671, "RT2601/RT2671 Wireless Adapter" }, { 0x148f2770, "RT2770 Wireless Adapter" }, { 0x148f2870, "RT2870 Wireless Adapter" }, { 0x148f3070, "RT2870/RT3070 Wireless Adapter" }, { 0x148f3071, "RT3071 Wireless Adapter" }, { 0x148f3072, "RT3072 Wireless Adapter" }, { 0x148f3370, "RT3370 Wireless Adapter" }, { 0x148f3572, "RT3572 Wireless Adapter" }, { 0x148f3573, "RT3573 Wireless Adapter" }, { 0x148f5370, "RT5370 Wireless Adapter" }, { 0x148f5372, "RT5372 Wireless Adapter" }, { 0x148f5572, "RT5572 Wireless Adapter" }, { 0x148f7601, "MT7601U Wireless Adapter" }, { 0x148f760b, "MT7601U Wireless Adapter" }, { 0x148f761a, "MT7610U (\"Archer T2U\" 2.4G+5G WLAN Adapter" }, { 0x148f9020, "RT2500USB Wireless Adapter" }, { 0x148f9021, "RT2501USB Wireless Adapter" }, { 0x14910020, "FS81 Fingerprint Scanner Module" }, { 0x14910088, "Fingerprint Scanner Model FS88" }, { 0x14930010, "Bluebird [Ambit]" }, { 0x14930019, "Duck [Ambit2]" }, { 0x1493001a, "Colibri [Ambit2 S]" }, { 0x1493001b, "Emu [Ambit3 Peak]" }, { 0x1493001c, "Finch [Ambit3 Sport]" }, { 0x1493001d, "Greentit [Ambit2 R]" }, { 0x1493001e, "Ibisbill [Ambit3 Run]" }, { 0x1498a090, "DVB-T Tuner" }, { 0x149a069b, "PURE Digital Evoke-1XT Tri-band" }, { 0x149a2107, "DBX1 DSP core" }, { 0x14aa0001, "Avermedia AverTV DVBT USB1.1 (cold)" }, { 0x14aa0002, "Avermedia AverTV DVBT USB1.1 (warm)" }, { 0x14aa0201, "AVermedia/Yakumo/Hama/Typhoon DVB-T USB2.0 (cold)" }, { 0x14aa0221, "WT-220U DVB-T dongle" }, { 0x14aa022b, "WT-220U DVB-T dongle" }, { 0x14aa0301, "AVermedia/Yakumo/Hama/Typhoon DVB-T USB2.0 (warm)" }, { 0x14b03410, "Serial Adapter ICUSB2321X [TUSB3410I]" }, { 0x14b23a93, "Topcom 802.11bg Wireless Adapter [Atheros AR5523]" }, { 0x14b23a95, "Toshiba WUS-G06G-JT 802.11bg Wireless Adapter [Atheros AR5523]" }, { 0x14b23a98, "Airlink101 AWLL4130 802.11bg Wireless Adapter [Atheros AR5523]" }, { 0x14b23c02, "Conceptronic C54RU v2 802.11bg Wireless Adapter [Ralink RT2571]" }, { 0x14b23c05, "rt2570 802.11g WLAN" }, { 0x14b23c06, "Conceptronic C300RU v1 802.11bgn Wireless Adapter [Ralink RT2870]" }, { 0x14b23c07, "802.11n adapter" }, { 0x14b23c09, "802.11n adapter" }, { 0x14b23c22, "Conceptronic C54RU v3 802.11bg Wireless Adapter [Ralink RT2571W]" }, { 0x14b23c23, "Airlink101 AWLL6080 802.11bgn Wireless Adapter [Ralink RT2870]" }, { 0x14b23c24, "NEC NP01LM 802.11abg Wireless Adapter [Ralink RT2571W]" }, { 0x14b23c25, "DrayTek Vigor N61 802.11bgn Wireless Adapter [Ralink RT2870]" }, { 0x14b23c27, "Airlink101 AWLL6070 802.11bgn Wireless Adapter [Ralink RT2770]" }, { 0x14b23c28, "Conceptronic C300RU v2 802.11bgn Wireless Adapter [Ralink RT2770]" }, { 0x14b23c2b, "NEC NP02LM 802.11bgn Wireless Adapter [Ralink RT3072]" }, { 0x14b23c2c, "Keebox W150NU 802.11bgn Wireless Adapter [Ralink RT3070]" }, { 0x14c20250, "Storage Adapter V2" }, { 0x14c20350, "Storage Adapter V2" }, { 0x14c80005, "Touchscreen Controller" }, { 0x14cd1212, "microSD card reader (SY-T18)" }, { 0x14cd121c, "microSD card reader" }, { 0x14cd121f, "microSD CardReader SY-T18" }, { 0x14cd123a, "SD/MMC/RS-MMC Card Reader" }, { 0x14cd125c, "SD card reader" }, { 0x14cd127b, "SDXC Reader" }, { 0x14cd168a, "Elecom Co., Ltd MR-K013 Multicard Reader" }, { 0x14cd6116, "M6116 SATA Bridge" }, { 0x14cd6600, "M110E PATA bridge" }, { 0x14cd6700, "Card Reader" }, { 0x14cd6900, "Card Reader" }, { 0x14cd8123, "SD MMC Reader" }, { 0x14cd8125, "SD MMC Reader" }, { 0x14cd8601, "4-Port hub" }, { 0x14cd8608, "Hub [Super Top]" }, { 0x14dd1007, "D2CIM-VUSB KVM connector" }, { 0x14e00501, "WR-G528e 'CHEETAH'" }, { 0x14e15000, "PenMount 5000 Touch Controller" }, { 0x14eaab10, "GW-US54GZ" }, { 0x14eaab11, "GU-1000T" }, { 0x14eaab13, "GW-US54Mini 802.11bg" }, { 0x14ed1000, "MV5" }, { 0x14ed1002, "MV51" }, { 0x14ed1003, "MVi" }, { 0x14ed1004, "SHA900" }, { 0x14ed1005, "KSE1500" }, { 0x14ed1011, "MV88+" }, { 0x14ed1100, "ANIUSB-MATRIX" }, { 0x14ed1101, "P300" }, { 0x14ed29b6, "X2u Adapter" }, { 0x14ed3000, "RMCE-USB" }, { 0x14f70001, "SkyStar 2 HD CI" }, { 0x14f70002, "SkyStar 2 HD CI" }, { 0x14f70003, "CableStar Combo HD CI" }, { 0x14f70004, "AirStar TeleStick 2" }, { 0x14f70500, "DVB-PC TV Star HD" }, { 0x1504001f, "SRP-350II Thermal Receipt Printer" }, { 0x15090a01, "LI-3100 Area Meter" }, { 0x15090a02, "LI-7000 CO2/H2O Gas Analyzer" }, { 0x15090a03, "C-DiGit Blot Scanner" }, { 0x15099242, "eHome Infrared Transceiver" }, { 0x15130444, "medMobile" }, { 0x15142003, "FlashPro3 Programmer" }, { 0x15142004, "FlashPro3 Programmer" }, { 0x15142005, "FlashPro3 Programmer" }, { 0x15161603, "Flash Drive" }, { 0x15168628, "Pen Drive" }, { 0x15180001, "HDReye High Dynamic Range Camera" }, { 0x15180002, "HDReye (before firmware loads)" }, { 0x15190020, "HSIC Device" }, { 0x151f0020, "XEM3001v1" }, { 0x151f0021, "XEM3001v2" }, { 0x151f0022, "XEM3010" }, { 0x151f0023, "XEM3005" }, { 0x151f0028, "XEM3050" }, { 0x151f002b, "XEM5010" }, { 0x151f002c, "XEM6001" }, { 0x151f002d, "XEM6010-LX45" }, { 0x151f002e, "XEM6010-LX150" }, { 0x151f0030, "XEM6006-LX16" }, { 0x151f0033, "XEM6002-LX9" }, { 0x151f0034, "XEM7001-A15" }, { 0x151f0036, "XEM7010-A50" }, { 0x151f0037, "XEM7010-A200" }, { 0x151f0120, "ZEM4310" }, { 0x151f0121, "XEM6310-LX45" }, { 0x151f0122, "XEM6310-LX150" }, { 0x151f0123, "XEM6310MT-LX45T" }, { 0x151f0125, "XEM7350-K70T" }, { 0x151f0126, "XEM7350-K160T" }, { 0x151f0127, "XEM7350-K410T" }, { 0x151f0128, "XEM6310MT-LX150T" }, { 0x151f0129, "ZEM5305-A2" }, { 0x151f012b, "XEM7360-K160T" }, { 0x151f012c, "XEM7360-K410T" }, { 0x151f012d, "ZEM5310-A4" }, { 0x151f0130, "XEM7310-A75" }, { 0x151f0131, "XEM7310-A200" }, { 0x15246680, "UTS 6680" }, { 0x15270200, "YAP Phone (no firmware)" }, { 0x15270201, "YAP Phone" }, { 0x15293100, "CDMA 1xRTT USB Modem (U-100/105/200/300/520)" }, { 0x152a8350, "NET Gmbh iCube Camera" }, { 0x152a8400, "INI DVS128" }, { 0x152a840d, "INI DAViS" }, { 0x152a841a, "INI DAViS FX3" }, { 0x152b0001, "spirobank II" }, { 0x152b0002, "spirolab III" }, { 0x152b0003, "MiniSpir" }, { 0x152b0004, "Oxi" }, { 0x152b0005, "spiros II" }, { 0x152b0006, "smiths spirobank II" }, { 0x152b0007, "smiths spirobank G-USB" }, { 0x152b0008, "smiths MiniSpir" }, { 0x152b0009, "spirobank G-USB" }, { 0x152b000a, "smiths Oxi" }, { 0x152b000b, "smiths spirolab III" }, { 0x152b000c, "chorus III" }, { 0x152b000d, "spirolab III Bw" }, { 0x152b000e, "spirolab III" }, { 0x152b000f, "easySpiro" }, { 0x152b0010, "Spirotel converter" }, { 0x152b0011, "spirobank" }, { 0x152b0012, "spiro3 Zimmer" }, { 0x152b0013, "spirotel serial" }, { 0x152b0014, "spirotel II" }, { 0x152b0015, "spirodoc" }, { 0x152d0539, "JMS539/567 SuperSpeed SATA II/III 3.0G/6.0G Bridge" }, { 0x152d0551, "JMS551 SuperSpeed two ports SATA 3Gb/s bridge" }, { 0x152d0561, "JMS551 - Sharkoon SATA QuickPort Duo" }, { 0x152d0562, "JMS567 SATA 6Gb/s bridge" }, { 0x152d0567, "JMS567 SATA 6Gb/s bridge" }, { 0x152d0576, "Gen1 SATA 6Gb/s Bridge" }, { 0x152d0578, "JMS578 SATA 6Gb/s" }, { 0x152d0583, "JMS583Gen 2 to PCIe Gen3x2 Bridge" }, { 0x152d0770, "Alienware Integrated Webcam" }, { 0x152d1561, "JMS561U two ports SATA 6Gb/s bridge" }, { 0x152d1576, "External Disk 3.0" }, { 0x152d2329, "JM20329 SATA Bridge" }, { 0x152d2335, "ATA/ATAPI Bridge" }, { 0x152d2336, "Hard Disk Drive" }, { 0x152d2337, "ATA/ATAPI Bridge" }, { 0x152d2338, "JM20337 Hi-Speed USB to SATA & PATA Combo Bridge" }, { 0x152d2339, "JM20339 SATA Bridge" }, { 0x152d2352, "ATA/ATAPI Bridge" }, { 0x152d2509, "JMS539, JMS551 SATA 3Gb/s bridge" }, { 0x152d2551, "JMS551 SATA 3Gb/s bridge" }, { 0x152d2561, "CEB-2235S-U3 external RAID box" }, { 0x152d2566, "JMS566 SATA 3Gb/s bridge" }, { 0x152d2590, "JMS567 SATA 6Gb/s bridge" }, { 0x152d3562, "JMS567 SATA 6Gb/s bridge" }, { 0x152d3569, "JMS566 SATA 3Gb/s bridge" }, { 0x152d578e, "JMS578 SATA 6Gb/s bridge" }, { 0x152d8561, "salcar docking station two disks" }, { 0x152e1640, "INIC-1605 SATA Bridge" }, { 0x152e2507, "PL-2507 IDE Controller" }, { 0x152e2571, "GP08NU6W DVD-RW" }, { 0x152ee001, "GSA-5120D DVD-RW" }, { 0x15320001, "RZ01-020300 Optical Mouse [Diamondback]" }, { 0x15320002, "Diamondback Optical Mouse" }, { 0x15320003, "Krait Mouse" }, { 0x15320005, "Boomslang CE" }, { 0x15320007, "DeathAdder Mouse" }, { 0x15320009, "Gaming Mouse [Tempest Habu]" }, { 0x1532000a, "Mamba (Wired)" }, { 0x1532000c, "Lachesis" }, { 0x1532000d, "DiamondBack 3G" }, { 0x1532000e, "Megalodon" }, { 0x1532000f, "Mamba (Wireless)" }, { 0x15320012, "Gaming Mouse [Salmosa]" }, { 0x15320013, "Orochi 2011" }, { 0x15320015, "Naga Mouse" }, { 0x15320016, "DeathAdder 3.5G" }, { 0x15320017, "RZ01-0035 Laser Gaming Mouse [Imperator]" }, { 0x15320019, "Marauder" }, { 0x1532001a, "Spectre" }, { 0x1532001b, "Gaming Headset" }, { 0x1532001c, "RZ01-0036 Optical Gaming Mouse [Abyssus]" }, { 0x1532001e, "Lachesis (5600 DPI)" }, { 0x1532001f, "Naga Epic (Wired)" }, { 0x15320020, "Abyssus 1800" }, { 0x15320021, "Naga Epic Dock (Wireless, Bluetooth)" }, { 0x15320022, "Gaming Mouse [TRON]" }, { 0x15320023, "Gaming Keyboard [TRON]" }, { 0x15320024, "Mamba 2012 (Wired)" }, { 0x15320025, "Mamba 2012 (Wireless)" }, { 0x15320029, "DeathAdder Black Edition" }, { 0x1532002a, "Gaming Mouse [Star Wars: The Old Republic]" }, { 0x1532002b, "Gaming Keyboard [Star Wars: The Old Republic]" }, { 0x1532002c, "Gaming Headset [Star Wars: The Old Republic]" }, { 0x1532002e, "RZ01-0058 Gaming Mouse [Naga 2012]" }, { 0x1532002f, "Imperator 2012" }, { 0x15320031, "Gaming Mouse Dock [Star Wars: The Old Republic]" }, { 0x15320032, "Ouroboros 2012 (Wired)" }, { 0x15320033, "Ouroboros 2012 (Wireless)" }, { 0x15320034, "Taipan" }, { 0x15320035, "Krait 2013 Essential" }, { 0x15320036, "RZ01-0075, Gaming Mouse [Naga Hex (Red)]" }, { 0x15320037, "DeathAdder 2013" }, { 0x15320038, "DeathAdder 1800" }, { 0x15320039, "Orochi 2013" }, { 0x1532003e, "Naga Epic Chroma (Wired)" }, { 0x1532003f, "Naga Epic Chroma (Wireless)" }, { 0x15320040, "Naga 2014" }, { 0x15320041, "Naga Hex" }, { 0x15320042, "Abyssus 2014" }, { 0x15320043, "DeathAdder Chroma" }, { 0x15320044, "Mamba Chroma (Wired)" }, { 0x15320045, "Mamba Chroma (Wireless)" }, { 0x15320046, "Mamba 2015 Tournament Edition [RZ01-01370100-R3]" }, { 0x15320048, "Orochi 2015 (Wired)" }, { 0x1532004a, "RZ03-0133 Gaming Lapboard, Keyboard Mouse Combo, Dongle [Turret Dongle]" }, { 0x1532004c, "Diamondback Chroma" }, { 0x1532004d, "DeathAdder 2000 (Cynosa Pro Bundle)" }, { 0x1532004f, "RZ01-0145, Gaming Mouse [DeathAdder 2000 (Alternate)]" }, { 0x15320050, "Naga Hex V2" }, { 0x15320053, "Naga Chroma" }, { 0x15320054, "DeathAdder 3500" }, { 0x15320056, "Orochi 2015 (Wireless)" }, { 0x15320059, "RZ01-0212 Gaming Mouse [Lancehead (Wired)]" }, { 0x1532005a, "RZ01-0212 Gaming Mouse [Lancehead (Wireless)]" }, { 0x1532005b, "Abyssus V2" }, { 0x1532005c, "DeathAdder Elite" }, { 0x1532005e, "Abyssus 2000" }, { 0x1532005f, "DeathAdder 2000" }, { 0x15320060, "RZ01-0213 Gaming Mouse [Lancehead Tournament Edition]" }, { 0x15320062, "Atheris" }, { 0x15320064, "Basilisk" }, { 0x15320065, "RZ01-0265, Gaming Mouse [Basilisk Essential]" }, { 0x15320067, "Naga Trinity" }, { 0x15320068, "Gaming Mouse Mat [Firefly Hyperflux]" }, { 0x15320069, "Gaming Mouse [Mamba Hyperflux]" }, { 0x1532006a, "Abyssus Elite (D.Va Edition)" }, { 0x1532006b, "Abyssus Essential" }, { 0x1532006c, "Mamba Elite (Wired)" }, { 0x1532006e, "DeathAdder Essential" }, { 0x1532006f, "RZ01-0257 Gaming Mouse [Lancehead Wireless (2019, Wireless, Receiver)]" }, { 0x15320070, "RZ01-0257 Gaming Mouse [Lancehead Wireless (2019, Wired)]" }, { 0x15320071, "RZ01-0254 Gaming Mouse [DeathAdder Essential White Edition]" }, { 0x15320072, "Mamba 2018 (Wireless)" }, { 0x15320073, "Mamba 2018 (Wired)" }, { 0x15320078, "Viper (wired)" }, { 0x1532007a, "RC30-0305 Gaming Mouse [Viper Ultimate (Wired)]" }, { 0x1532007b, "RC30-0305 Gaming Mouse Dongle [Viper Ultimate (Wireless)]" }, { 0x1532007e, "RC30-030502 Mouse Dock" }, { 0x15320083, "RC30-0315, Gaming Mouse [Basilisk X HyperSpeed]" }, { 0x15320084, "RZ01-0321 Gaming Mouse [DeathAdder V2]" }, { 0x15320085, "RZ01-0316 Gaming Mouse [Basilisk V2]" }, { 0x15320086, "Gaming Mouse [Basilisk Ultimate, Wired]" }, { 0x15320088, "Gaming Mouse [Basilisk Ultimate, Wireless, Receiver]" }, { 0x1532008a, "RZ01-0325, Gaming Mouse [Viper Mini]" }, { 0x15320101, "Copperhead Mouse" }, { 0x15320102, "Tarantula Keyboard" }, { 0x15320103, "Gaming Keyboard [Reclusa]" }, { 0x15320105, "Gaming Keyboard [ProType]" }, { 0x15320106, "Gaming Keyboard [ProType]" }, { 0x15320109, "Lycosa Keyboard" }, { 0x1532010b, "Gaming Keyboard [Arctosa]" }, { 0x1532010d, "BlackWidow Ultimate 2012" }, { 0x1532010e, "BlackWidow Classic (Alternate)" }, { 0x1532010f, "Anansi" }, { 0x15320110, "Cyclosa" }, { 0x15320111, "Nostromo" }, { 0x15320113, "RZ07-0074 Gaming Keypad [Orbweaver]" }, { 0x15320114, "DeathStalker Ultimate" }, { 0x15320116, "Blade Pro (2015)" }, { 0x15320118, "RZ03-0080, Gaming Keyboard [Deathstalker Essential]" }, { 0x15320119, "Gaming Keyboard [Lycosa]" }, { 0x1532011a, "BlackWidow Ultimate 2013" }, { 0x1532011b, "BlackWidow Classic" }, { 0x1532011c, "BlackWidow Tournament Edition Stealth" }, { 0x1532011d, "Blade 2013" }, { 0x1532011e, "Gaming Keyboard Dock [Edge Keyboard Dock]" }, { 0x1532011f, "Deathstalker Essential 2014" }, { 0x15320200, "Gaming Keyboard [Reclusa]" }, { 0x15320201, "Tartarus" }, { 0x15320202, "DeathStalker Expert" }, { 0x15320203, "BlackWidow Chroma" }, { 0x15320204, "DeathStalker Chroma" }, { 0x15320205, "Blade Stealth" }, { 0x15320207, "Orbweaver Chroma keypad" }, { 0x15320208, "Tartarus Chroma" }, { 0x15320209, "BlackWidow Tournament Edition Chroma" }, { 0x1532020d, "Cynosa Pro keyboard (Cynosa Pro Bundle)" }, { 0x1532020f, "Blade QHD" }, { 0x15320210, "Blade Pro (Late 2016)" }, { 0x15320211, "BlackWidow Chroma (Overwatch)" }, { 0x15320214, "BlackWidow Ultimate 2016" }, { 0x15320215, "Core" }, { 0x15320216, "BlackWidow X Chroma" }, { 0x15320217, "BlackWidow X Ultimate" }, { 0x1532021a, "BlackWidow X Tournament Edition Chroma" }, { 0x1532021b, "Gaming Keyboard [BlackWidow X Tournament Edition]" }, { 0x1532021e, "Ornata Chroma" }, { 0x1532021f, "Ornata" }, { 0x15320220, "Blade Stealth (2016)" }, { 0x15320221, "RZ03-0203 Gaming Keyboard [BlackWidow Chroma V2]" }, { 0x15320224, "Blade (Late 2016)" }, { 0x15320225, "Blade Pro (2017)" }, { 0x15320226, "Huntsman Elite" }, { 0x15320227, "Huntsman" }, { 0x15320228, "BlackWidow Elite" }, { 0x1532022a, "Cynosa Chroma" }, { 0x1532022b, "Tartarus V2" }, { 0x1532022c, "Cynosa Chroma Pro" }, { 0x1532022d, "Blade Stealth (Mid 2017)" }, { 0x1532022f, "Blade Pro FullHD (2017)" }, { 0x15320232, "Blade Stealth (Late 2017)" }, { 0x15320233, "Blade 15 (2018)" }, { 0x15320234, "Blade Pro 17 (2019)" }, { 0x15320235, "BlackWidow Lite (2018)" }, { 0x15320237, "BlackWidow Essential" }, { 0x15320239, "Blade Stealth (2019)" }, { 0x1532023a, "Blade 15 (2019) Advanced" }, { 0x1532023b, "Blade 15 (2018) Base Model" }, { 0x1532023f, "RZ03-0274 Gaming Keyboard [Cynosa Lite]" }, { 0x15320240, "Blade 15 (2018) Mercury" }, { 0x15320241, "BlackWidow (2019)" }, { 0x15320243, "Huntsman Tournament Edition" }, { 0x15320244, "RZ07-0311 Gaming Keypad [Tartarus Pro]" }, { 0x15320245, "Blade 15 (Mid 2019) Mercury" }, { 0x15320246, "Blade 15 (Mid 2019) Base Model" }, { 0x1532024a, "Blade Stealth (Late 2019)" }, { 0x1532024b, "Gaming Laptop [Blade 15 Advanced (Late 2019)]" }, { 0x1532024c, "Gaming Laptop [Blade Pro (Late 2019)]" }, { 0x1532024d, "Blade 15 Studio Edition (2019)" }, { 0x15320253, "RZ09-0330, Gaming Laptop [Blade 15 Advanced (Early 2020)]" }, { 0x15320255, "RZ09-0328, Gaming Laptop [Blade 15 Base Model (2020)]" }, { 0x15320256, "RZ09--0329, Gaming Laptop [Blade Pro 17 Full HD (2020)]" }, { 0x1532025d, "RZ03-0338, Gaming Keyboard [Ornata V2]" }, { 0x15320300, "RZ06-0063 Motion Sensing Controllers [Hydra]" }, { 0x15320401, "Gaming Arcade Stick [Panthera]" }, { 0x15320501, "Kraken 7.1" }, { 0x15320502, "Gaming Headset [Kraken USB]" }, { 0x15320504, "Kraken 7.1 Chroma" }, { 0x15320506, "Kraken 7.1 (Alternate Version)" }, { 0x15320510, "Kraken 7.1 V2" }, { 0x15320511, "RZ19-0229 Gaming Microphone" }, { 0x15320514, "Electra V2 USB" }, { 0x15320517, "Nommo Chroma" }, { 0x15320518, "Nommo Pro" }, { 0x1532051a, "Nari Ultimate" }, { 0x1532051c, "Nari (Wireless)" }, { 0x1532051d, "Nari (Wired)" }, { 0x1532051e, "RC30-026902, Gaming Headset [Nari Essential, Wireless, Receiver]" }, { 0x1532051f, "RC30-026901, Gaming Headset [Nari Essential, Wired]" }, { 0x15320520, "Kraken Tournament Edition" }, { 0x15320521, "Kraken Kitty Edition" }, { 0x15320527, "RZ04-0318 Gaming Headset [Kraken Ultimate]" }, { 0x15320904, "R201-0282 Gaming Keyboard, Mouse Combination [Turret For Xbox One]" }, { 0x15320a00, "Atrox Arcade Stick for Xbox One" }, { 0x15320a02, "ManO'War" }, { 0x15320a03, "Wildcat" }, { 0x15320a15, "RZ06-0199, Gaming Controller [Wolverine Tournament Edition]" }, { 0x15320c00, "RZ02-0135 Hard Gaming Mouse Mat [Firefly]" }, { 0x15320c01, "Goliathus" }, { 0x15320c02, "Goliathus Extended" }, { 0x15320c04, "Firefly V2" }, { 0x15320e03, "Gaming Webcam [Kiyo]" }, { 0x15320f03, "Tiamat 7.1 V2" }, { 0x15320f07, "Chroma Mug Holder" }, { 0x15320f08, "Base Station Chroma" }, { 0x15320f09, "Chroma HDK" }, { 0x15320f0d, "Laptop Stand Chroma" }, { 0x15320f13, "Lian Li O11 Dynamic Razer Edition" }, { 0x15320f1a, "Core X Chroma" }, { 0x15321000, "Gaming Controller [Raiju]" }, { 0x15321004, "Gaming Controller [Raiju Ultimate Wired]" }, { 0x15321007, "Gaming Controller [Raiju 2 Tournament Edition (USB)]" }, { 0x15321008, "Gaming Flightstick [Panthera Evo]" }, { 0x15321009, "Gaming Controller [Raiju 2 Ultimate Edition (BT)]" }, { 0x1532100a, "Gaming Controller [Raiju 2 Tournament Edition (BT)]" }, { 0x1532110d, "Bootloader (Alternate)" }, { 0x1532800e, "Bootloader" }, { 0x153b1181, "Cinergy S2 PCIe Dual Port 1" }, { 0x153b1182, "Cinergy S2 PCIe Dual Port 2" }, { 0x154601a4, "Antaris 4" }, { 0x154601a5, "[u-blox 5]" }, { 0x154601a6, "[u-blox 6]" }, { 0x154601a7, "[u-blox 7]" }, { 0x154601a8, "[u-blox 8]" }, { 0x15461102, "LISA-U2" }, { 0x15471000, "SG-Lock[U2]" }, { 0x154a8180, "CARD STAR/medic2" }, { 0x154b000f, "Flash Drive" }, { 0x154b0010, "USB 2.0 Flash Drive" }, { 0x154b0048, "Flash Drive" }, { 0x154b004d, "8 GB Flash Drive" }, { 0x154b0053, "Flash Drive" }, { 0x154b0057, "32GB Micro Slide Attache Flash Drive" }, { 0x154b005b, "Flash Drive" }, { 0x154b0062, "Flash Drive" }, { 0x154b007a, "Classic Attache Flash Drive" }, { 0x154b5408, "2.5in drive enclosure" }, { 0x154b6000, "Flash Drive" }, { 0x154b6545, "FD Device" }, { 0x154bfa05, "Flash Drive" }, { 0x154e3000, "Marantz RC9001 Remote Control" }, { 0x15545010, "PV-D231U(RN)-F [PixelView PlayTV SBTVD Full-Seg]" }, { 0x15570002, "model 01 WiFi interface" }, { 0x15570003, "model 01 Bluetooth interface" }, { 0x15570a80, "Gobi Wireless Modem (QDL mode)" }, { 0x15577720, "model 01+ Ethernet" }, { 0x15578150, "model 01 Ethernet interface" }, { 0x157e3006, "TEW-444UB EU [TRENDnet]" }, { 0x157e3007, "TEW-444UB EU (no firmware)" }, { 0x157e300a, "TEW-429UB 802.11bg" }, { 0x157e300b, "TEW-429UB 802.11bg" }, { 0x157e300c, "TEW-429UF A1 802.11bg Wireless Adapter [ZyDAS ZD1211B]" }, { 0x157e300d, "TEW-429UB C1 802.11bg" }, { 0x157e300e, "SMC SMCWUSB-N 802.11bgn 2x2:2 Wireless Adapter [Ralink RT2870]" }, { 0x157e3012, "TEW-604UB 802.11bg Wireless Adapter [Atheros AR5523]" }, { 0x157e3013, "TEW-645UB 802.11bgn 1x2:2 Wireless Adapter [Ralink RT2770]" }, { 0x157e3204, "Allnet ALL0298 v2 802.11bg" }, { 0x157e3205, "Allnet ALL0283 [AR5523]" }, { 0x157e3206, "Allnet ALL0283 [AR5523](no firmware)" }, { 0x157e3207, "TEW-509UB A1 802.11abg Wireless Adapter [ZyDAS ZD1211]" }, { 0x157e3208, "TEW-509UB 1.1R 802.11abg Wireless Adapter" }, { 0x15826003, "WL-430U 802.11bg" }, { 0x158e0820, "SmartPocket Class Device" }, { 0x15a20038, "9S08JS Bootloader" }, { 0x15a2003b, "USB2CAN Application for ColdFire DEMOJM board" }, { 0x15a20041, "i.MX51 SystemOnChip in RecoveryMode" }, { 0x15a20042, "OSBDM - Debug Port" }, { 0x15a2004e, "i.MX53 SystemOnChip in RecoveryMode" }, { 0x15a2004f, "i.MX28 SystemOnChip in RecoveryMode" }, { 0x15a20052, "i.MX50 SystemOnChip in RecoveryMode" }, { 0x15a20054, "i.MX 6Dual/6Quad SystemOnChip in RecoveryMode" }, { 0x15a20061, "i.MX 6Solo/6DualLite SystemOnChip in RecoveryMode" }, { 0x15a2006a, "Vybrid series SystemOnChip in RecoveryMode" }, { 0x15a20076, "i.MX 7Solo/7Dual SystemOnChip in RecoveryMode" }, { 0x15a20080, "i.MX 6ULL SystemOnChip in RecoveryMode" }, { 0x15a41000, "AF9015/AF9035 DVB-T stick" }, { 0x15a41001, "AF9015/AF9035 DVB-T stick" }, { 0x15a41336, "SDHC/MicroSD/MMC/MS/M2/CF/XD Flash Card Reader" }, { 0x15a49015, "AF9015 DVB-T USB2.0 stick" }, { 0x15a49016, "AF9015 DVB-T USB2.0 stick" }, { 0x15a90002, "SparkLAN WL-682 802.11bg Wireless Adapter [Intersil ISL3887]" }, { 0x15a90004, "WUBR-177G [Ralink RT2571W]" }, { 0x15a90006, "Wireless 11n USB Adapter" }, { 0x15a90010, "802.11n USB Wireless Card" }, { 0x15a90012, "WUBR-208N 802.11abgn Wireless Adapter [Ralink RT2870]" }, { 0x15a9002d, "WLTUBA-107 [Yota 4G LTE]" }, { 0x15ba0003, "OpenOCD JTAG" }, { 0x15ba0004, "OpenOCD JTAG TINY" }, { 0x15ba002a, "ARM-USB-TINY-H JTAG interface" }, { 0x15ba002b, "ARM-USB-OCD-H JTAG+RS232" }, { 0x15ba003c, "TERES Keyboard+Touchpad" }, { 0x15c00001, "2M pixel Microscope Camera" }, { 0x15c00002, "3M pixel Microscope Camera" }, { 0x15c00003, "1.3M pixel Microscope Camera (mono)" }, { 0x15c00004, "1.3M pixel Microscope Camera (colour)" }, { 0x15c00005, "3M pixel Microscope Camera (Mk 2)" }, { 0x15c00006, "2M pixel Microscope Camera (with capture button)" }, { 0x15c00007, "3M pixel Microscope Camera (with capture button)" }, { 0x15c00008, "1.3M pixel Microscope Camera (colour, with capture button)" }, { 0x15c00009, "1.3M pixel Microscope Camera (colour, with capture button)" }, { 0x15c0000a, "2M pixel Microscope Camera (Mk 2)" }, { 0x15c00010, "1.3M pixel \"Tinycam\"" }, { 0x15c00101, "3M pixel Microscope Camera" }, { 0x15c20036, "LC16M VFD Display/IR Receiver" }, { 0x15c20038, "GD01 MX LCD Display/IR Receiver" }, { 0x15c20042, "Antec Veris Multimedia Station E-Z IR Receiver" }, { 0x15c2ffda, "iMON PAD Remote Controller" }, { 0x15c2ffdc, "iMON PAD Remote Controller" }, { 0x15c50008, "Advance Multimedia Internet Technology Inc. (AMIT) WL532U 802.11g Adapter" }, { 0x15c61000, "DigistimSP (cold)" }, { 0x15c61001, "DigistimSP (warm)" }, { 0x15c61002, "DigimapSP USB (cold)" }, { 0x15c61003, "DigimapSP USB (warm)" }, { 0x15c61004, "DigistimSP (cold)" }, { 0x15c61005, "DigistimSP (warm)" }, { 0x15c61100, "Odyssee (cold)" }, { 0x15c61101, "Odyssee (warm)" }, { 0x15c61200, "Digispy" }, { 0x15c83201, "EVER EV-W100/EV-W250" }, { 0x15ca00c3, "Mini Optical Mouse" }, { 0x15ca0101, "MIDI Interface cable" }, { 0x15ca1806, "MIDI Interface cable" }, { 0x15d90a33, "Optical Mouse" }, { 0x15d90a37, "Mouse" }, { 0x15d90a41, "MI-2540D [Optical mouse]" }, { 0x15d90a4c, "USB+PS/2 Optical Mouse" }, { 0x15d90a4d, "Optical Mouse" }, { 0x15d90a4e, "AM-5400 [Optical Mouse]" }, { 0x15d90a4f, "Optical Mouse" }, { 0x15e12007, "RSA SecurID (R) Authenticator" }, { 0x15e40024, "Mixtrack" }, { 0x15e4003c, "DJ2GO2 Touch" }, { 0x15e40140, "ION VCR 2 PC / Video 2 PC" }, { 0x15e43f00, "Power A Mini Pro Elite" }, { 0x15e43f0a, "Airflo Wired Controller for Xbox 360" }, { 0x15e43f10, "Batarang controller for Xbox 360" }, { 0x15e89100, "NUB100 Ethernet [pegasus]" }, { 0x15e89110, "10/100 USB Ethernet" }, { 0x15e904ce, "MemoryFrame MF-570" }, { 0x15e91968, "MemoryFrame MF-570" }, { 0x15e91969, "Digital Frame" }, { 0x15f40001, "HanfTek UMT-010 USB2.0 DVB-T (cold)" }, { 0x15f40025, "HanfTek UMT-010 USB2.0 DVB-T (warm)" }, { 0x15f40131, "Astrometa DVB-T/T2/C FM & DAB receiver [RTL2832P]" }, { 0x15f40135, "Astrometa T2hybrid" }, { 0x160410c0, "Dell Integrated Hub" }, { 0x16048000, "US-428 Audio/Midi Controller (without fw)" }, { 0x16048001, "US-428 Audio/Midi Controller" }, { 0x16048004, "US-224 Audio/Midi Controller (without fw)" }, { 0x16048005, "US-224 Audio/Midi Controller" }, { 0x16048006, "US-122 Audio/Midi Interface (without fw)" }, { 0x16048007, "US-122 Audio/Midi Interface" }, { 0x16050001, "DIO-32 (No Firmware Yet)" }, { 0x16050002, "USB-DIO-48 (No Firmware Yet)" }, { 0x16050003, "USB-DIO-96 (No Firmware Yet)" }, { 0x16050004, "USB-DIO-32I (No Firmware Yet)" }, { 0x16050005, "USB-DIO24 (based on -CTR6) (No Firmware Yet)" }, { 0x16050006, "USB-DIO24-CTR6 (No Firmware Yet)" }, { 0x16060002, "Astra 1236U Scanner" }, { 0x16060010, "Astra 1220U" }, { 0x16060030, "Astra 1600U/2000U" }, { 0x16060050, "Scanner" }, { 0x16060060, "Astra 3400/3450" }, { 0x16060070, "Astra 4400/4450" }, { 0x16060130, "Astra 2100U" }, { 0x16060160, "Astra 5400U" }, { 0x16060170, "Uniscan D50" }, { 0x16060230, "Astra 2200/2200SU" }, { 0x16060350, "Astra 4800/4850 Scanner" }, { 0x16061030, "Astra 4000U" }, { 0x16061220, "Genesys Logic Scanner Controller NT5.0" }, { 0x16062010, "AstraCam Digital Camera" }, { 0x16062020, "AstraCam 1000" }, { 0x16062030, "AstraCam 1800 Digital Camera" }, { 0x16080001, "EdgePort/4 Serial Port" }, { 0x16080002, "Edgeport/8" }, { 0x16080003, "Rapidport/4" }, { 0x16080004, "Edgeport/4" }, { 0x16080005, "Edgeport/2" }, { 0x16080006, "Edgeport/4i" }, { 0x16080007, "Edgeport/2i" }, { 0x16080008, "Edgeport/8" }, { 0x1608000c, "Edgeport/421" }, { 0x1608000d, "Edgeport/21" }, { 0x1608000e, "Edgeport/4" }, { 0x1608000f, "Edgeport/8" }, { 0x16080010, "Edgeport/2" }, { 0x16080011, "Edgeport/4" }, { 0x16080012, "Edgeport/416" }, { 0x16080014, "Edgeport/8i" }, { 0x16080018, "Edgeport/412" }, { 0x16080019, "Edgeport/412" }, { 0x1608001a, "Edgeport/2+2i" }, { 0x16080101, "Edgeport/4" }, { 0x16080105, "Edgeport/2" }, { 0x16080106, "Edgeport/4i" }, { 0x16080107, "Edgeport/2i" }, { 0x1608010c, "Edgeport/421" }, { 0x1608010d, "Edgeport/21" }, { 0x16080110, "Edgeport/2" }, { 0x16080111, "Edgeport/4" }, { 0x16080112, "Edgeport/416" }, { 0x16080114, "Edgeport/8i" }, { 0x16080201, "Edgeport/4" }, { 0x16080203, "Rapidport/4" }, { 0x16080204, "Edgeport/4" }, { 0x16080205, "Edgeport/2" }, { 0x16080206, "Edgeport/4i" }, { 0x16080207, "Edgeport/2i" }, { 0x1608020c, "Edgeport/421" }, { 0x1608020d, "Edgeport/21" }, { 0x1608020e, "Edgeport/4" }, { 0x1608020f, "Edgeport/8" }, { 0x16080210, "Edgeport/2" }, { 0x16080211, "Edgeport/4" }, { 0x16080212, "Edgeport/416" }, { 0x16080214, "Edgeport/8i" }, { 0x16080215, "Edgeport/1" }, { 0x16080216, "EPOS/44" }, { 0x16080217, "Edgeport/42" }, { 0x1608021a, "Edgeport/2+2i" }, { 0x1608021b, "Edgeport/2c" }, { 0x1608021c, "Edgeport/221c" }, { 0x1608021d, "Edgeport/22c" }, { 0x1608021e, "Edgeport/21c" }, { 0x1608021f, "Edgeport/62" }, { 0x16080240, "Edgeport/1" }, { 0x16080241, "Edgeport/1i" }, { 0x16080242, "Edgeport/4s" }, { 0x16080243, "Edgeport/8s" }, { 0x16080244, "Edgeport/8" }, { 0x16080245, "Edgeport/22c" }, { 0x16080301, "Watchport/P" }, { 0x16080302, "Watchport/M" }, { 0x16080303, "Watchport/W" }, { 0x16080304, "Watchport/T" }, { 0x16080305, "Watchport/H" }, { 0x16080306, "Watchport/E" }, { 0x16080307, "Watchport/L" }, { 0x16080308, "Watchport/R" }, { 0x16080309, "Watchport/A" }, { 0x1608030a, "Watchport/D" }, { 0x1608030b, "Watchport/D" }, { 0x1608030c, "Power Management Port" }, { 0x1608030e, "Power Management Port" }, { 0x1608030f, "Watchport/G" }, { 0x16080310, "Watchport/Tc" }, { 0x16080311, "Watchport/Hc" }, { 0x16081403, "MultiTech Systems MT4X56 Modem" }, { 0x16081a17, "Agilent Technologies (E6473)" }, { 0x160a3184, "VIA VNT-6656 [WiFi 802.11b/g USB Dongle]" }, { 0x160e0001, "E2USBKey" }, { 0x16140404, "WMA9109 UMTS Phone" }, { 0x16140600, "Vodafone VDA GPS / Toschiba Protege G710" }, { 0x16140804, "WP-S1 Phone" }, { 0x16172002, "NVX-P1 Personal Navigation System" }, { 0x161c0002, "DTC-02U [Digi Touch Controller]" }, { 0x16300005, "802.11g Wireless Adapter [Intersil ISL3886]" }, { 0x16300011, "PC Port 10 Mps Adapter" }, { 0x1630ff81, "802.11b Wireless Adapter [Lucent/Agere Hermes I]" }, { 0x16316200, "GWUSB2E" }, { 0x1631c019, "RT2573" }, { 0x16334510, "ASC1553" }, { 0x16334520, "ASC429" }, { 0x16334560, "ASC-FDX" }, { 0x16450001, "1S Serial Port" }, { 0x16450002, "2S Serial Port" }, { 0x16450003, "1S25 Serial Port" }, { 0x16450004, "4S Serial Port" }, { 0x16450005, "E45 Ethernet [klsi]" }, { 0x16450006, "Parallel Port" }, { 0x16450007, "U1-SC25 SCSI" }, { 0x16450008, "Ethernet" }, { 0x16450016, "Bi-directional to Parallel Printer Converter" }, { 0x16450080, "1 port to Serial Converter" }, { 0x16450081, "1 port to Serial Converter" }, { 0x16450093, "1S9 Serial Port" }, { 0x16458000, "EZ-USB" }, { 0x16458001, "1 port to Serial" }, { 0x16458002, "2x Serial Port" }, { 0x16458003, "1 port to Serial" }, { 0x16458004, "2U4S serial/usb hub" }, { 0x16458005, "Ethernet" }, { 0x16458080, "1 port to Serial" }, { 0x16458081, "1 port to Serial" }, { 0x16458093, "PortGear Serial Port" }, { 0x16490102, "uDART In-Circuit Debugger" }, { 0x16490200, "SpYder USBSPYDER08" }, { 0x164c0101, "mvBlueFOX camera (no firmware)" }, { 0x164c0103, "mvBlueFOX camera" }, { 0x164c0201, "mvBlueLYNX-X intelligent camera (bootloader)" }, { 0x164c0203, "mvBlueLYNX-X intelligent camera" }, { 0x16573150, "SIS3150 USB2.0 to VME interface" }, { 0x165b8101, "Tranzport Control Surface" }, { 0x165bfad1, "Alphatrack Control Surface" }, { 0x165c0002, "Serial Adapter" }, { 0x165c0006, "FT232 [ICS adapter HS]" }, { 0x165c0008, "FT232 [Dual adapter HS]" }, { 0x16670005, "PCR330A RFID Reader (125 kHz, keyboard emulation)" }, { 0x16680009, "Gateway" }, { 0x16680333, "Modem" }, { 0x16680358, "InternetPhoneWizard" }, { 0x16680405, "Gateway" }, { 0x16680408, "Prism2.5 802.11b Adapter" }, { 0x16680413, "Gateway" }, { 0x16680421, "Prism2.5 802.11b Adapter" }, { 0x16680441, "IBM Integrated Bluetooth II" }, { 0x16680500, "BTM200B BlueTooth Adapter" }, { 0x16681050, "802UIG-1 802.11g Wireless Mini Adapter [Intersil ISL3887]" }, { 0x16681200, "802AIN Wireless N Network Adapter [Atheros AR9170+AR9101]" }, { 0x16681441, "IBM Integrated Bluetooth II" }, { 0x16682441, "BMDC-2 IBM Bluetooth III w.56k" }, { 0x16683441, "IBM Integrated Bluetooth III" }, { 0x16686010, "Gateway" }, { 0x16686097, "802.11b Wireless Adapter" }, { 0x16686106, "802UI3(B) 802.11b Wireless Adapter [Intersil PRISM 3]" }, { 0x16687605, "UAT1 Wireless Ethernet Adapter" }, { 0x16691001, "uLan2USB Converter - PS1 protocol" }, { 0x166a0101, "C-Bus Multi-room Audio Matrix Switcher" }, { 0x166a0201, "C-Bus Pascal Automation Controller" }, { 0x166a0301, "C-Bus Wireless PC Interface" }, { 0x166a0303, "C-Bus interface" }, { 0x166a0304, "C-Bus Black and White Touchscreen" }, { 0x166a0305, "C-Bus Spectrum Colour Touchscreen" }, { 0x166a0401, "C-Bus Architectural Dimmer" }, { 0x16770103, "Token" }, { 0x16792001, "Beagle Protocol Analyzer" }, { 0x16792002, "Cheetah SPI Host Adapter" }, { 0x167b2009, "Flip Ultra U1120" }, { 0x1680a332, "DVB-T Dongle [RTL2832U]" }, { 0x16810001, "Tuner's Dashboard" }, { 0x16810002, "DocuBrain(R) Tubachron" }, { 0x16810003, "DocuBrain(R) I2C" }, { 0x16810004, "DocuBrain(R) WWVB Receiver" }, { 0x16810005, "DocuBrain(R) WWVB Transmitter" }, { 0x16850200, "Infrared adapter" }, { 0x16860045, "Handy Recorder stereo mix" }, { 0x168601c0, "Zoom Handy Recorder card reader" }, { 0x168601c5, "Zoom Handy Recorder multi track" }, { 0x168603d5, "LiveTrak L-12" }, { 0x16875289, "FlashDisk" }, { 0x16876211, "FlashDisk" }, { 0x16876213, "FlashDisk" }, { 0x1689fd00, "Onza Tournament Edition controller" }, { 0x1689fd01, "Onza Classic Edition" }, { 0x1689fe00, "Sabertooth Elite" }, { 0x168c0001, "AR5523" }, { 0x168c0002, "AR5523 (no firmware)" }, { 0x16900001, "Arcaze Gamepad" }, { 0x16900101, "Creative Modem Blaster DE5670" }, { 0x16900102, "V1456 VQE-R2 Modem [conexant]" }, { 0x16900103, "1456 VQE-R3 Modem [conexant]" }, { 0x16900104, "HCF V90 Data Fax RTAD Modem" }, { 0x16900107, "HCF V.90 Data,Fax,RTAD Modem" }, { 0x16900109, "MagicXpress V.90 Pocket Modem [conexant]" }, { 0x16900203, "Voyager ADSL Modem Loader" }, { 0x16900204, "Voyager ADSL Modem" }, { 0x16900205, "DSL Modem" }, { 0x16900206, "GlobeSpan ADSL WAN Modem" }, { 0x16900208, "DSL Modem" }, { 0x16900209, "Voyager 100 ADSL Modem" }, { 0x16900211, "Globespan Virata ADSL LAN Modem" }, { 0x16900212, "DSL Modem" }, { 0x16900213, "HM121d DSL Modem" }, { 0x16900214, "HM121d DSL Modem" }, { 0x16900215, "Voyager 105 ADSL Modem" }, { 0x16900701, "WLAN" }, { 0x16900710, "SMCWUSBT-G" }, { 0x16900711, "SMCWUSBT-G (no firmware)" }, { 0x16900712, "AR5523" }, { 0x16900713, "AR5523 (no firmware)" }, { 0x16900715, "Name: Voyager 1055 Laptop 802.11g Adapter [Broadcom 4320]" }, { 0x16900722, "RT2573" }, { 0x16900726, "Wi-Fi Wireless LAN Adapter" }, { 0x16900740, "802.11n Wireless LAN Card" }, { 0x16900901, "Voyager 205 ADSL Router" }, { 0x16902000, "naturaSign Pad Standard" }, { 0x16902001, "naturaSign Pad Standard" }, { 0x1690fe12, "Bootloader" }, { 0x16a63000, "VTG-3xxx Video Test Generator family" }, { 0x16a64000, "VTG-4xxx Video Test Generator family" }, { 0x16a65000, "VTG-5xxx Video Test Generator family" }, { 0x16a65001, "VTG-5xxx Special (update) mode of VTG-5xxx family" }, { 0x16ab7801, "AR5523" }, { 0x16ab7802, "AR5523 (no firmware)" }, { 0x16ab7811, "AR5523" }, { 0x16ab7812, "AR5523 (no firmware)" }, { 0x16b40801, "U43" }, { 0x16b50002, "Otto driving companion" }, { 0x16c003e8, "free for internal lab use 1000" }, { 0x16c003e9, "free for internal lab use 1001" }, { 0x16c003ea, "free for internal lab use 1002" }, { 0x16c003eb, "free for internal lab use 1003" }, { 0x16c003ec, "free for internal lab use 1004" }, { 0x16c003ed, "free for internal lab use 1005" }, { 0x16c003ee, "free for internal lab use 1006" }, { 0x16c003ef, "free for internal lab use 1007" }, { 0x16c003f0, "free for internal lab use 1008" }, { 0x16c003f1, "free for internal lab use 1009" }, { 0x16c00477, "Teensy Rebootor" }, { 0x16c00478, "Teensy Halfkay Bootloader" }, { 0x16c00479, "Teensy Debug" }, { 0x16c0047a, "Teensy Serial" }, { 0x16c0047b, "Teensy Serial+Debug" }, { 0x16c0047c, "Teensy Keyboard" }, { 0x16c0047d, "Teensy Keyboard+Debug" }, { 0x16c0047e, "Teensy Mouse" }, { 0x16c0047f, "Teensy Mouse+Debug" }, { 0x16c00480, "Teensy RawHID" }, { 0x16c00481, "Teensy RawHID+Debug" }, { 0x16c00482, "Teensyduino Keyboard+Mouse+Joystick" }, { 0x16c00483, "Teensyduino Serial" }, { 0x16c00484, "Teensyduino Disk" }, { 0x16c00485, "Teensyduino MIDI" }, { 0x16c00486, "Teensyduino RawHID" }, { 0x16c00487, "Teensyduino Serial+Keyboard+Mouse+Joystick" }, { 0x16c00488, "Teensyduino Flight Sim Controls" }, { 0x16c005b5, "BU0836" }, { 0x16c005dc, "shared ID for use with libusb" }, { 0x16c005dd, "BlackcatUSB2" }, { 0x16c005de, "Flashcat" }, { 0x16c005df, "HID device except mice, keyboards, and joysticks" }, { 0x16c005e1, "Free shared USB VID/PID pair for CDC devices" }, { 0x16c005e4, "Free shared USB VID/PID pair for MIDI devices" }, { 0x16c006b4, "USB2LPT with 2 interfaces" }, { 0x16c006b5, "USB2LPT with 3 interfaces (native, HID, printer)" }, { 0x16c0074e, "DSP-Weuffen USB-HPI-Programmer" }, { 0x16c0074f, "DSP-Weuffen USB2-HPI-Programmer" }, { 0x16c00762, "Osmocom SIMtrace" }, { 0x16c0076b, "OpenPCD 13.56MHz RFID Reader" }, { 0x16c0076c, "OpenPICC 13.56MHz RFID Simulator (native)" }, { 0x16c008ac, "OpenBeacon USB stick" }, { 0x16c008ca, "Alpermann+Velte Universal Display" }, { 0x16c008cb, "Alpermann+Velte Studio Clock" }, { 0x16c008cc, "Alpermann+Velte SAM7S MT Boot Loader" }, { 0x16c008cd, "Alpermann+Velte SAM7X MT Boot Loader" }, { 0x16c009ce, "LINKUSB" }, { 0x16c00a32, "jbmedia Light-Manager Pro" }, { 0x16c027d8, "libusb-bound devices" }, { 0x16c027d9, "HID device except mice, keyboards, and joysticks" }, { 0x16c027da, "Mouse" }, { 0x16c027db, "Keyboard" }, { 0x16c027dc, "Joystick" }, { 0x16c027dd, "CDC-ACM class devices (modems)" }, { 0x16c027de, "MIDI class devices" }, { 0x16c0294a, "Eye Movement Recorder [Visagraph]" }, { 0x16c0294b, "Eye Movement Recorder [ReadAlyzer]" }, { 0x16ca1502, "Bluetooth Dongle" }, { 0x16d00436, "Xylanta Ltd, XSP Device" }, { 0x16d00498, "Braintechnology USB-LPS" }, { 0x16d00504, "RETRO Innovations ZoomFloppy" }, { 0x16d0054b, "GrauTec ReelBox OLED Display (external)" }, { 0x16d005be, "EasyLogic Board" }, { 0x16d005f0, "Superior Freedom Programmable IR Remote" }, { 0x16d006cc, "Trinamic TMCM-3110" }, { 0x16d006f0, "Axium AX-R4C Controller" }, { 0x16d006f1, "Axium AX-R1D Controller" }, { 0x16d006f9, "Gabotronics Xminilab" }, { 0x16d00726, "Autonomic M400 Amplifier" }, { 0x16d00727, "Autonomic M800 Amplifier" }, { 0x16d00753, "Digistump DigiSpark" }, { 0x16d0075c, "AB-1.x UAC1 [Audio Widget]" }, { 0x16d0075d, "AB-1.x UAC2 [Audio Widget]" }, { 0x16d007cc, "Xylanta Ltd, Saint3 Device" }, { 0x16d007f8, "Axium AX-R4D Controller" }, { 0x16d0080a, "S2E1 Interface" }, { 0x16d00830, "DMXControl Projects e.V., Nodle U1" }, { 0x16d00831, "DMXControl Projects e.V., Desklamp" }, { 0x16d00832, "DMXControl Projects e.V., Nodle U2" }, { 0x16d00833, "DMXControl Projects e.V., Nodle R4S" }, { 0x16d00870, "Kaufmann Automotive GmbH, RKS+CAN Interface" }, { 0x16d009f2, "Axium AX-1250 Amplifier" }, { 0x16d009f4, "Axium AX-Mini4 Amplifier" }, { 0x16d00b03, "AIS Receiver [dAISy]" }, { 0x16d00b7d, "Autonomic M801 Amplifier" }, { 0x16d00b7e, "Autonomic M401 Amplifier" }, { 0x16d00b7f, "Autonomic M120e Amplifier" }, { 0x16d00bd4, "codesrc SCSI2SD" }, { 0x16d00c9b, "Fermium LABS srl/LabTrek srl Hall Effect Apparatus" }, { 0x16d00d3c, "InputStick BT4.0" }, { 0x16d00e1e, "AtomMiner" }, { 0x16d10401, "SUP-SFR400(A) BioMini Fingerprint Reader" }, { 0x16d56202, "CDMA/UMTS/GPRS modem" }, { 0x16d56501, "CDMA 2000 1xRTT/EV-DO Modem" }, { 0x16d56502, "CDMA/UMTS/GPRS modem" }, { 0x16d56603, "ADU-890WH modem" }, { 0x16d58005, "Acromag Inc. XO Learning Tablet (MTP+ADB)" }, { 0x16d58006, "Acromag Inc. XO Learning Tablet (MTP)" }, { 0x16d68000, "GDP-04 desktop phone" }, { 0x16d68001, "EYE-02" }, { 0x16d68003, "GDP-04 modem" }, { 0x16d68004, "Bootloader" }, { 0x16d68005, "GDP-04i" }, { 0x16d68007, "BTP-06 modem" }, { 0x16d85141, "CMOTECH CDMA Technologies modem" }, { 0x16d85533, "CCU-550 CDMA EV-DO modem" }, { 0x16d85543, "CDMA 2000 1xRTT/1xEVDO modem" }, { 0x16d86280, "CMOTECH CDMA Technologies modem" }, { 0x16d86803, "CNU-680 CDMA EV-DO modem" }, { 0x16d88001, "Gobi 2000 Wireless Modem (QDL mode)" }, { 0x16d88002, "Gobi 2000 Wireless Modem" }, { 0x16dc0001, "CC" }, { 0x16dc000b, "VM" }, { 0x16dc0010, "PL512 Power Supply System" }, { 0x16dc0011, "MARATON Power Supply System" }, { 0x16dc0012, "MPOD Multi Channel Power Supply System" }, { 0x16dc0015, "CML Control, Measurement and Data Logging System" }, { 0x16f00001, "Speedlink Programming Interface" }, { 0x16f00003, "Airlink Wireless Programming Interface" }, { 0x16f00004, "Accessory Programming Interface" }, { 0x17020002, "Encodeur" }, { 0x17030001, "NormSoft, Inc. Pocket Tunes" }, { 0x17030002, "NormSoft, Inc. Pocket Tunes 4" }, { 0x170b0011, "MIDI-USB 1x1" }, { 0x17110101, "DFC-365FX camera" }, { 0x17113020, "IC80 HD Camera" }, { 0x17240115, "PAXcam5" }, { 0x17261000, "wireless modem" }, { 0x17262000, "wireless modem" }, { 0x17263000, "wireless modem" }, { 0x172f0022, "Tablet" }, { 0x172f0024, "Tablet" }, { 0x172f0025, "Tablet" }, { 0x172f0026, "Tablet" }, { 0x172f0031, "Slim Tablet 12.1\"" }, { 0x172f0032, "Slim Tablet 5.8\"" }, { 0x172f0034, "Slim Tablet 12.1\"" }, { 0x172f0038, "Genius G-Pen F509" }, { 0x172f0500, "Media Tablet 14.1\"" }, { 0x172f0501, "Media Tablet 10.6\"" }, { 0x172f0502, "Sirius Battery Free Tablet" }, { 0x17330101, "RF Wireless Optical Mouse OP-701" }, { 0x17370039, "USB1000 Gigabit Notebook Adapter" }, { 0x17370070, "WUSB100 v1 RangePlus Wireless Network Adapter [Ralink RT2870]" }, { 0x17370071, "WUSB600N v1 Dual-Band Wireless-N Network Adapter [Ralink RT2870]" }, { 0x17370073, "WUSB54GC v2 802.11g Adapter [Realtek RTL8187B]" }, { 0x17370075, "WUSB54GSC v2 802.11g Adapter [Broadcom 4326U]" }, { 0x17370077, "WUSB54GC v3 802.11g Adapter [Ralink RT2070L]" }, { 0x17370078, "WUSB100 v2 RangePlus Wireless Network Adapter [Ralink RT3070]" }, { 0x17370079, "WUSB600N v2 Dual-Band Wireless-N Network Adapter [Ralink RT3572]" }, { 0x173a2198, "Accu-Chek Mobile" }, { 0x173a21ca, "ACCU-CHEK Mobile Model U1" }, { 0x173d0002, "GP-K7000 keyboard" }, { 0x17400100, "EUB1200AC AC1200 DB Wireless Adapter [Realtek RTL8812AU]" }, { 0x17400600, "EUB600v1 802.11abgn Wireless Adapter [Ralink RT3572]" }, { 0x17400605, "LevelOne WUA-0605 N_Max Wireless USB Adapter" }, { 0x17400615, "LevelOne WUA-0615 N_Max Wireless USB Adapter" }, { 0x17401000, "NUB-350 802.11g Wireless Adapter [Intersil ISL3887]" }, { 0x17402000, "NUB-8301 802.11bg" }, { 0x17403701, "EUB-3701 EXT 802.11g Wireless Adapter [Ralink RT2571W]" }, { 0x17409603, "RTL8188S WLAN Adapter" }, { 0x17409701, "EnGenius 802.11n Wireless USB Adapter" }, { 0x17409702, "EnGenius 802.11n Wireless USB Adapter" }, { 0x17409703, "EnGenius 802.11n Wireless USB Adapter" }, { 0x17409705, "EnGenius 802.11n Wireless USB Adapter" }, { 0x17409706, "EUB9706 802.11n Wireless Adapter [Ralink RT3072]" }, { 0x17409801, "EUB9801 802.11abgn Wireless Adapter [Ralink RT3572]" }, { 0x17480101, "Packet-Master USB12" }, { 0x174c07d1, "Transcend ESD400 Portable SSD (USB 3.0)" }, { 0x174c1151, "ASM1151W" }, { 0x174c1153, "ASM1153 SATA 3Gb/s bridge" }, { 0x174c2074, "ASM1074 High-Speed hub" }, { 0x174c3074, "ASM1074 SuperSpeed hub" }, { 0x174c5106, "ASM1051 SATA 3Gb/s bridge" }, { 0x174c5136, "ASM1053 SATA 3Gb/s bridge" }, { 0x174c51d6, "ASM1051W SATA 3Gb/s bridge" }, { 0x174c55aa, "ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge" }, { 0x174f1105, "SM-MS/Pro-MMC-XD Card Reader" }, { 0x174f110b, "HP Webcam" }, { 0x174f1122, "HP Webcam" }, { 0x174f1169, "Lenovo EasyCamera" }, { 0x174f1403, "Integrated Webcam" }, { 0x174f1404, "USB Camera device, 1.3 MPixel Web Cam" }, { 0x174f1758, "XYZ printing cameraR2" }, { 0x174f1759, "XYZ printing cameraL2" }, { 0x174f5212, "USB 2.0 UVC PC Camera" }, { 0x174f5a11, "PC Camera" }, { 0x174f5a31, "Sonix USB 2.0 Camera" }, { 0x174f5a35, "Sonix 1.3MPixel USB 2.0 Camera" }, { 0x174f6a31, "Web Cam - Asus A8J, F3S, F5R, VX2S, V1S" }, { 0x174f6a33, "Web Cam - Asus F3SA, F9J, F9S" }, { 0x174f6a51, "2.0MPixel Web Cam - Asus Z96J, Z96S, S96S" }, { 0x174f6a54, "Web Cam" }, { 0x174f6d51, "2.0Mpixel Web Cam - Eurocom D900C" }, { 0x174f8a12, "Syntek 0.3MPixel USB 2.0 UVC PC Camera" }, { 0x174f8a33, "Syntek USB 2.0 UVC PC Camera" }, { 0x174fa311, "1.3MPixel Web Cam - Asus A3A, A6J, A6K, A6M, A6R, A6T, A6V, A7T, A7sv, A7U" }, { 0x174fa312, "1.3MPixel Web Cam" }, { 0x174fa821, "Web Cam - Packard Bell BU45, PB Easynote MX66-208W" }, { 0x174faa11, "Web Cam" }, { 0x1753c901, "PPC900 Pinpad Terminal" }, { 0x17560006, "DiviPitch" }, { 0x17610b05, "802.11n Network Adapter (wrong ID - swapped vendor and device)" }, { 0x1770ff00, "steel series rgb keyboard" }, { 0x1776501c, "300K CMOS Camera" }, { 0x17770003, "MicroHAWK ID-20" }, { 0x177f0004, "MM004V5 Photo Key Chain (Digital Photo Frame) 1.5\"" }, { 0x177f0153, "LW153 802.11n Adapter [ralink rt3070]" }, { 0x177f0154, "LW154 802.11bgn (1x1:1) Wireless Adapter [Realtek RTL8188SU]" }, { 0x177f0313, "LW313 802.11n Adapter [ralink rt2770 + rt2720]" }, { 0x178107df, "Axium AX-800DAV Amplifier" }, { 0x178107e1, "Axium AX-KPC Keypad" }, { 0x178107e2, "Axium AX-KPD Keypad" }, { 0x178107e3, "Axium AX-400DA Amplifier" }, { 0x1781083e, "MetaGeek Wi-Spy" }, { 0x1781083f, "MetaGeek Wi-Spy 2.4x" }, { 0x17810938, "Iguanaworks USB IR Transceiver" }, { 0x17810941, "qNimble Quark" }, { 0x17810a96, "raphnet.net usb_game12" }, { 0x17810a97, "raphnet.net SNES mouse adapter" }, { 0x17810a98, "raphnet.net USBTenki" }, { 0x17810a99, "raphnet.net NES" }, { 0x17810a9a, "raphnet.net Gamecube/N64 controller" }, { 0x17810a9b, "raphnet.net DB9Joy" }, { 0x17810a9c, "raphnet.net Intellivision" }, { 0x17810a9d, "raphnet.net 4nes4snes" }, { 0x17810a9e, "raphnet.net Megadrive multitap" }, { 0x17810a9f, "raphnet.net MultiDB9joy" }, { 0x17810bad, "Mantracourt Load Cell" }, { 0x17810c30, "Telldus TellStick" }, { 0x17810c31, "Telldus TellStick Duo" }, { 0x17810c9f, "USBtiny" }, { 0x17811eef, "OpenAPC SecuKey" }, { 0x17811ef0, "E1701 Modular Controller Card" }, { 0x17811ef1, "E1701 Modular Controller Card" }, { 0x17811ef2, "E1803 Compact Controller Card" }, { 0x17823d00, "F200n mobile phone" }, { 0x17824001, "Spreadtrum (Unisoc) Various devices (MTP)" }, { 0x17824002, "Spreadtrum (Unisoc) Various devices (MTP+ADB, ID 1)" }, { 0x17824003, "Spreadtrum (Unisoc) Various devices (MTP+ADB, ID 2)" }, { 0x17840001, "eHome Infrared Transceiver" }, { 0x17840004, "RF Combo Device" }, { 0x17840006, "eHome Infrared Transceiver" }, { 0x17840007, "eHome Infrared Transceiver" }, { 0x17840008, "eHome Infrared Transceiver" }, { 0x1784000a, "eHome Infrared Transceiver" }, { 0x17840011, "eHome Infrared Transceiver" }, { 0x178e0b05, "CrossLink cable 2GB (wrong ID - swapped vendor and device)" }, { 0x17997051, "Belkin F5D7051 802.11g Adapter v1000 [Broadcom 4320]" }, { 0x17998051, "Belkin F5D8051 v2 802.11bgn Wireless Adapter [Marvell 88W8362]" }, { 0x179d0010, "Internal Infrared Transceiver" }, { 0x17a00001, "C01U condenser microphone" }, { 0x17a00002, "Q1U dynamic microphone" }, { 0x17a00100, "C03U multi-pattern microphone" }, { 0x17a00101, "UB1 boundary microphone" }, { 0x17a00120, "Meteorite condenser microphone" }, { 0x17a00130, "Go Mic Direct" }, { 0x17a00132, "Go Mic Mobile wireless receiver" }, { 0x17a00200, "StudioDock monitors (internal hub)" }, { 0x17a00201, "StudioDock monitors (audio)" }, { 0x17a00210, "StudioGT monitors" }, { 0x17a00211, "StudioGT monitors [CM6400]" }, { 0x17a00240, "Go Mic Connect" }, { 0x17a00241, "G-Track Pro microphone" }, { 0x17a00301, "Q2U handheld microphone with XLR" }, { 0x17a00302, "GoMic compact condenser microphone" }, { 0x17a00303, "C01U Pro condenser microphone" }, { 0x17a00304, "Q2U handheld mic with XLR" }, { 0x17a00305, "GoMic compact condenser mic" }, { 0x17a00310, "Meteor condenser microphone" }, { 0x17a00311, "Satellite condenser microphone" }, { 0x17a01616, "RXD1 wireless receiver" }, { 0x17a0b241, "G-Track Pro firmware update" }, { 0x17a0b311, "Satellite firmware update" }, { 0x17a40001, "Performance Monitor 3" }, { 0x17a40002, "Performance Monitor 4" }, { 0x17a80001, "Optical Eye/3-wire" }, { 0x17a80005, "M-Bus Master MultiPort 250D" }, { 0x17a80010, "444MHz Radio Mesh Frontend" }, { 0x17a80011, "444MHz RF sniffer" }, { 0x17a80012, "870MHz Radio Mesh Frontend" }, { 0x17a80013, "870MHz RF sniffer" }, { 0x17b30004, "Linux-USB Midi Gadget" }, { 0x17b50010, "MFT Sensor" }, { 0x17ba0001, "SAU510-USB [no firmware]" }, { 0x17ba0510, "SAU510-USB and SAU510-USB plus JTAG Emulators" }, { 0x17ba0511, "SAU510-USB Iso Plus JTAG Emulator" }, { 0x17ba0520, "SAU510-USB Nano JTAG Emulator" }, { 0x17ba1511, "Onboard Emulator on SAUModule development kit" }, { 0x17cc041c, "Audio 2 DJ" }, { 0x17cc041d, "Traktor Audio 2" }, { 0x17cc0808, "Maschine Controller" }, { 0x17cc0815, "Audio Kontrol 1" }, { 0x17cc0839, "Audio 4 DJ" }, { 0x17cc0d8d, "Guitarrig Mobile" }, { 0x17cc1001, "Komplete Audio 6" }, { 0x17cc1110, "Maschine Mikro" }, { 0x17cc1915, "Session I/O" }, { 0x17cc1940, "RigKontrol3" }, { 0x17cc1969, "RigKontrol2" }, { 0x17cc1978, "Audio 8 DJ" }, { 0x17cc2280, "Medion MDPNA1500 in card reader mode" }, { 0x17cc2305, "Traktor Kontrol X1" }, { 0x17cc4711, "Kore Controller" }, { 0x17cc4712, "Kore Controller 2" }, { 0x17ccbaff, "Traktor Kontrol S4" }, { 0x17e90051, "USB VGA Adaptor" }, { 0x17e90198, "DisplayLink" }, { 0x17e9019e, "Overfly FY-1016A" }, { 0x17e9028f, "HIS Multi-View II" }, { 0x17e9030b, "HP T100" }, { 0x17e90377, "Plugable UD-160-A (M)" }, { 0x17e90378, "Plugable UGA-2K-A" }, { 0x17e90379, "Plugable UGA-125" }, { 0x17e9037a, "Plugable UGA-165" }, { 0x17e9037b, "Plugable USB-VGA-165" }, { 0x17e9037c, "Plugable DC-125" }, { 0x17e9037d, "Plugable USB2-HDMI-165" }, { 0x17e9410a, "HDMI Adapter" }, { 0x17e9430a, "HP Port Replicator (Composite Device)" }, { 0x17e9430f, "Kensington Dock (Composite Device)" }, { 0x17e94312, "S2340T" }, { 0x17e9436e, "Dell D3100 Docking Station" }, { 0x17e9ff10, "I1659FWUX {AOC Powered Monitor]" }, { 0x17ef0c02, "Lenovo P70-A" }, { 0x17ef1000, "ThinkPad X6 UltraBase" }, { 0x17ef1003, "Integrated Smart Card Reader" }, { 0x17ef1004, "Integrated Webcam" }, { 0x17ef1005, "ThinkPad X200 Ultrabase (42X4963 )" }, { 0x17ef1008, "Hub" }, { 0x17ef100a, "ThinkPad Mini Dock Plus Series 3" }, { 0x17ef100f, "ThinkPad Ultra Dock Hub" }, { 0x17ef1010, "ThinkPad Ultra Dock Hub" }, { 0x17ef1020, "ThinkPad Dock Hub" }, { 0x17ef1021, "ThinkPad Dock Hub [Cypress HX2VL]" }, { 0x17ef2008, "Lenovo P70" }, { 0x17ef3049, "ThinkPad OneLink integrated audio" }, { 0x17ef304b, "AX88179 Gigabit Ethernet [ThinkPad OneLink GigaLAN]" }, { 0x17ef304f, "RTL8153 Gigabit Ethernet [ThinkPad OneLink Pro Dock]" }, { 0x17ef3060, "ThinkPad Dock" }, { 0x17ef3062, "ThinkPad Dock Ethernet [Realtek RTL8153B]" }, { 0x17ef3063, "ThinkPad Dock Audio" }, { 0x17ef3066, "ThinkPad Thunderbolt 3 Dock MCU" }, { 0x17ef3069, "ThinkPad TBT3 LAN" }, { 0x17ef306a, "ThinkPad Thunderbolt 3 Dock Audio" }, { 0x17ef3815, "ChipsBnk 2GB USB Stick" }, { 0x17ef4802, "Vc0323+MI1310_SOC Camera" }, { 0x17ef4807, "UVC Camera" }, { 0x17ef480c, "Integrated Webcam" }, { 0x17ef480d, "Integrated Webcam [R5U877]" }, { 0x17ef480e, "Integrated Webcam [R5U877]" }, { 0x17ef480f, "Integrated Webcam [R5U877]" }, { 0x17ef4810, "Integrated Webcam [R5U877]" }, { 0x17ef4811, "Integrated Webcam [R5U877]" }, { 0x17ef4812, "Integrated Webcam [R5U877]" }, { 0x17ef4813, "Integrated Webcam [R5U877]" }, { 0x17ef4814, "Integrated Webcam [R5U877]" }, { 0x17ef4815, "Integrated Webcam [R5U877]" }, { 0x17ef4816, "Integrated Webcam" }, { 0x17ef481c, "Integrated Webcam" }, { 0x17ef481d, "Integrated Webcam" }, { 0x17ef6004, "ISD-V4 Tablet Pen" }, { 0x17ef6007, "Smartcard Keyboard" }, { 0x17ef6009, "ThinkPad Keyboard with TrackPoint" }, { 0x17ef600e, "Optical Mouse" }, { 0x17ef6014, "Mini Wireless Keyboard N5901" }, { 0x17ef6019, "M-U0025-O Mouse" }, { 0x17ef6022, "Ultraslim Plus Wireless Keyboard and Mouse" }, { 0x17ef6025, "ThinkPad Travel Mouse" }, { 0x17ef602d, "Black Silk Keyboard" }, { 0x17ef6032, "Wireless Dongle for Keyboard and Mouse" }, { 0x17ef6044, "ThinkPad Laser Mouse" }, { 0x17ef6047, "ThinkPad Compact Keyboard with TrackPoint" }, { 0x17ef604b, "Precision Wireless Mouse" }, { 0x17ef608d, "Optical Mouse" }, { 0x17ef609b, "Professional Wireless Keyboard and Mouse Combo" }, { 0x17ef609c, "Professional Wireless Keyboard" }, { 0x17ef7203, "Ethernet adapter [U2L 100P-Y1]" }, { 0x17ef7205, "Thinkpad LAN" }, { 0x17ef7217, "VGA adapter" }, { 0x17ef740a, "Lenovo K1" }, { 0x17ef741c, "Lenovo ThinkPad Tablet" }, { 0x17ef7423, "IdeaPad A1 Tablet" }, { 0x17ef7435, "A789 (Mass Storage mode, with debug)" }, { 0x17ef743a, "A789 (Mass Storage mode)" }, { 0x17ef7483, "Medion Lifetab P9516" }, { 0x17ef7497, "Lenovo P700" }, { 0x17ef7498, "Lenovo A820" }, { 0x17ef749a, "A789 (PTP mode)" }, { 0x17ef749b, "A789 (PTP mode, with debug)" }, { 0x17ef74a6, "Lenovo P780" }, { 0x17ef74cc, "Lenovo Lifetab S9512" }, { 0x17ef74ee, "Lenovo Vibe K5" }, { 0x17ef74f8, "Lenovo S660" }, { 0x17ef7542, "Lenovo IdeaTab A2109A" }, { 0x17ef757d, "Lenovo IdeaTab S2210a" }, { 0x17ef75b3, "Lenovo K900 (ID2)" }, { 0x17ef75b5, "Lenovo K900 (ID1)" }, { 0x17ef75bc, "Lenovo IdeaPad A3000 (ID1)" }, { 0x17ef75be, "Lenovo IdeaPad A3000 (ID2)" }, { 0x17ef7604, "A760 (Mass Storage mode)" }, { 0x17ef7605, "A760 (Mass Storage mode, with debug)" }, { 0x17ef760a, "A760 (MTP mode)" }, { 0x17ef760b, "A760 (MTP mode, with debug)" }, { 0x17ef760c, "A760 (PTP mode)" }, { 0x17ef760d, "A760 (PTP mode, with debug)" }, { 0x17ef7614, "Lenovo A706" }, { 0x17ef76e8, "Lenovo IdeaTab S5000" }, { 0x17ef76f2, "Lenovo Toga Tablet B6000-F" }, { 0x17ef76fc, "B8000-H (Yoga Tablet 10) (mass storage)" }, { 0x17ef76fd, "B8000-H (Yoga Tablet 10) (debug , mass storage)" }, { 0x17ef76fe, "B8000-H (Yoga Tablet 10) (MTP)" }, { 0x17ef76ff, "Lenovo Yoga Tablet 10 B8000-H" }, { 0x17ef7702, "B8000-H (Yoga Tablet 10) (PTP)" }, { 0x17ef7703, "B8000-H (Yoga Tablet 10) (debug , PTP)" }, { 0x17ef7704, "B8000-H (Yoga Tablet 10) (USB tether)" }, { 0x17ef7705, "B8000-H (Yoga Tablet 10) (debug , USB tether)" }, { 0x17ef7706, "B8000-H (Yoga Tablet 10) (zerocd)" }, { 0x17ef7707, "B8000-H (Yoga Tablet 10) (debug , zerocd)" }, { 0x17ef770a, "Lenovo S960" }, { 0x17ef7713, "Lenovo K910SS" }, { 0x17ef7718, "Lenovo S930" }, { 0x17ef772a, "Lenovo A5500-H" }, { 0x17ef772b, "Lenovo A5500-F" }, { 0x17ef7730, "Lenovo A7600-F" }, { 0x17ef7731, "Lenovo A7600-F 2nd" }, { 0x17ef7737, "Lenovo A3500-F" }, { 0x17ef7738, "Lenovo A3500-FL" }, { 0x17ef775a, "Lenovo LifeTab E733X" }, { 0x17ef778f, "Lenovo K920" }, { 0x17ef77a4, "Lenovo Yoga Tablet 2 - 1050F" }, { 0x17ef77a5, "Lenovo Yoga Tablet 2" }, { 0x17ef77b1, "Lenovo Yoga Tablet 2 Pro" }, { 0x17ef77d8, "Lenovo Tab S8-50F" }, { 0x17ef77ea, "Lenovo Vibe Z2" }, { 0x17ef7802, "Lenovo S60-a" }, { 0x17ef7852, "Lenovo A7-30HC" }, { 0x17ef7853, "Lenovo A7-30GC" }, { 0x17ef785f, "TAB 2 A7-10 Tablet" }, { 0x17ef7882, "Lenovo A7000-A Smartphone" }, { 0x17ef7883, "Lenovo K3 Note" }, { 0x17ef789a, "Lenovo A10-70F" }, { 0x17ef789b, "Lenovo A10-70L" }, { 0x17ef78a7, "Lenovo Vibe Shot Z90a40" }, { 0x17ef78ae, "Medion P8312 Tablet" }, { 0x17ef78b0, "Lenovo Lifetab S1034X" }, { 0x17ef78d1, "Lenovo PHAB Plus" }, { 0x17ef78da, "Lenovo TAB 2 A8-50F" }, { 0x17ef78f6, "Lenovo Vibe K4 Note" }, { 0x17ef78fc, "Lenovo Vibe P1 Pro" }, { 0x17ef7902, "Lenovo Vibe X" }, { 0x17ef7920, "Lenovo P1ma40 (2nd ID)" }, { 0x17ef7921, "Lenovo P1ma40" }, { 0x17ef7928, "Lenovo A1000 Smartphone" }, { 0x17ef7929, "Lenovo A1000 Smartphone ADB" }, { 0x17ef7932, "Lenovo Yoga 10 Tablet YT3-X50F" }, { 0x17ef7949, "Lenovo TAB 2 A10-30" }, { 0x17ef795c, "Lenovo YT3 X90F" }, { 0x17ef7993, "Lenovo K5" }, { 0x17ef7999, "Lenovo Vibe K5 Note" }, { 0x17ef79a2, "Lenovo TB3-710F" }, { 0x17ef79af, "Lenovo YB1-X90F" }, { 0x17ef79b7, "Lenovo Vibe K4" }, { 0x17ef79de, "Lenovo TB3-850M" }, { 0x17ef7a18, "Lenovo B Smartphone" }, { 0x17ef7a2a, "Lenovo K6 Power" }, { 0x17ef7a36, "Lenovo P2c72" }, { 0x17ef7a50, "Lenovo Tab 10" }, { 0x17ef7a6b, "Lenovo TB-8703F" }, { 0x17ef7ac5, "Lenovo Tab4 10" }, { 0x17ef7ad0, "Lenovo Tab4 10 Plus" }, { 0x17ef7b25, "Lenovo Tab TB-X704A" }, { 0x17ef7b3c, "Lenovo TB-7304I" }, { 0x17ef7b84, "Lenovo TB-8304F1" }, { 0x17ef7bc7, "Lenovo Tab4 10 (2nd ID)" }, { 0x17ef7bd3, "Lenovo Tab P10" }, { 0x17ef7bdf, "Lenovo Tab M10" }, { 0x17ef7c45, "Lenovo TB-X606F" }, { 0x17ef7c46, "Lenovo TB-X606F (Lenovo Tab M10 FHD Plus)" }, { 0x17ef7c6f, "Lenovo Lenovo Tab P11" }, { 0x17ef7c97, "Lenovo TB-X306F (3rd id)" }, { 0x17ef7cb3, "Lenovo TAB M7 Gen 3" }, { 0x17ef9039, "Lenovo P1060X" }, { 0x17efb000, "Virtual Keyboard and Mouse" }, { 0x17efb001, "Ethernet" }, { 0x17efb003, "Virtual Keyboard and Mouse / Mass Storage" }, { 0x17eff003, "Medion P10606" }, { 0x17f4aaaa, "Jazz Blood Glucose Meter" }, { 0x17f60709, "Model M Keyboard" }, { 0x17f60822, "Ruffian 6 Keyboard v3 [Model M]" }, { 0x18094604, "USB-4604" }, { 0x18094761, "USB-4761 Portable Data Acquisition Module" }, { 0x18223201, "VisionDTV USB-Ter/HAMA USB DVB-T device cold" }, { 0x18223202, "VisionDTV USB-Ter/HAMA USB DVB-T device warm" }, { 0x183d0010, "VoiceKey" }, { 0x184f0012, "MOCCA compact" }, { 0x18527022, "Fiio E10" }, { 0x18527921, "Audiotrak ProDigy CUBE" }, { 0x18527922, "Audiotrak DR.DAC2 DX [GYROCOM C&C]" }, { 0x185b3020, "K100 Infrared Receiver" }, { 0x185b3082, "K100 Infrared Receiver v2" }, { 0x185bd000, "Compro Videomate DVB-U2000 - DVB-T USB cold" }, { 0x185bd001, "Compro Videomate DVB-U2000 - DVB-T USB warm" }, { 0x18700001, "iNexio Touchscreen controller" }, { 0x18710101, "UVC camera (Bresser microscope)" }, { 0x18710141, "Camera" }, { 0x18710d01, "USB2.0 Camera" }, { 0x1873ee93, "EasyLogger" }, { 0x187c0511, "AlienFX Mobile lighting" }, { 0x187c0513, "Gaming Desktop [Aurora R4]" }, { 0x187c0550, "LED controller" }, { 0x187c0600, "Dual Compatible Game Pad" }, { 0x187f0010, "Stallar Board" }, { 0x187f0100, "Stallar Board" }, { 0x187f0200, "Nova A" }, { 0x187f0201, "Nova B" }, { 0x187f0202, "Nice" }, { 0x187f0300, "Vega" }, { 0x187f0301, "VeNice" }, { 0x18945632, "Atek Tote Remote" }, { 0x18945641, "TSAM-004 Presentation Remote" }, { 0x189f0002, "Legato2 3D Scanner" }, { 0x18a40001, "Snapshell IDR" }, { 0x18a50214, "Portable Hard Drive" }, { 0x18a50216, "External Hard Drive" }, { 0x18a50218, "External Hard Drive" }, { 0x18a50224, "Store 'n' Go Micro Plus" }, { 0x18a50227, "Pocket Hard Drive" }, { 0x18a5022b, "Portable Hard Drive (Store'n'Go)" }, { 0x18a50237, "Portable Harddrive" }, { 0x18a50243, "Flash Drive (Store'n'Go)" }, { 0x18a50245, "Store'n'Stay" }, { 0x18a50302, "Flash Drive" }, { 0x18a50304, "Store 'n' Go" }, { 0x18a50408, "Store 'n' Go" }, { 0x18a54123, "Store N Go" }, { 0x18b10037, "Maxter Remote Control" }, { 0x18b41001, "DUTV007" }, { 0x18b41002, "EC168 (v5) based USB DVB-T receiver" }, { 0x18b41689, "DUTV009" }, { 0x18b4fffa, "EC168 (v2) based USB DVB-T receiver" }, { 0x18b4fffb, "EC168 (v3) based USB DVB-T receiver" }, { 0x18c50002, "CG-WLUSB2GO" }, { 0x18c50008, "CG-WLUSB2GNR Corega Wireless USB Adapter" }, { 0x18c50012, "CG-WLUSB10 Corega Wireless USB Adapter" }, { 0x18cdcafe, "Pico iMage" }, { 0x18d10001, "Onda V972 (storage access)" }, { 0x18d10003, "Android-powered device using AllWinner Technology SoC" }, { 0x18d10006, "Google Inc (for Allwinner) A31 SoC" }, { 0x18d10007, "Google Inc (for Ainol Novo) Fire/Flame" }, { 0x18d10008, "Onda V972 PTP (camera)" }, { 0x18d105b3, "Google Inc (for Sony) S1" }, { 0x18d10a07, "Google Inc (for Fairphone) Fairphone 2" }, { 0x18d10d02, "Celkon A88" }, { 0x18d12d00, "Android Open Accessory device (accessory)" }, { 0x18d12d01, "Android Open Accessory device (accessory + ADB)" }, { 0x18d12d02, "Google Inc (for Barnes & Noble) Nook Color" }, { 0x18d12d03, "Android Open Accessory device (audio + ADB)" }, { 0x18d12d04, "Android Open Accessory device (accessory + audio)" }, { 0x18d12d05, "Android Open Accessory device (accessory + audio + ADB)" }, { 0x18d14d00, "Google Inc (for Asus) TF201 Transformer" }, { 0x18d14e0f, "Google Inc (for Asus) TF101 Transformer" }, { 0x18d14e11, "Nexus One" }, { 0x18d14e12, "Google Inc (for Samsung) Nexus One (MTP)" }, { 0x18d14e13, "Nexus One (tether)" }, { 0x18d14e20, "Nexus S (fastboot)" }, { 0x18d14e21, "Nexus S" }, { 0x18d14e22, "Nexus S (debug)" }, { 0x18d14e24, "Nexus S (tether)" }, { 0x18d14e30, "Galaxy Nexus (fastboot)" }, { 0x18d14e40, "Nexus 7 (fastboot)" }, { 0x18d14e41, "Google Inc (for Asus) Nexus 7 (MTP)" }, { 0x18d14e42, "Google Inc (for Asus) Nexus 7 (MTP+ADB)" }, { 0x18d14e43, "Nexus 7 (PTP)" }, { 0x18d14e44, "Nexus 7 2012 (PTP)" }, { 0x18d14ee0, "Nexus/Pixel Device (fastboot)" }, { 0x18d14ee1, "Google Inc Nexus/Pixel (MTP)" }, { 0x18d14ee2, "Google Inc Nexus/Pixel (MTP+ADB)" }, { 0x18d14ee3, "Nexus/Pixel Device (tether)" }, { 0x18d14ee4, "Nexus/Pixel Device (tether+ debug)" }, { 0x18d14ee5, "Google Inc Nexus/Pixel (PTP)" }, { 0x18d14ee6, "Google Inc Nexus/Pixel (PTP+ADB)" }, { 0x18d14ee7, "Nexus/Pixel Device (charging + debug)" }, { 0x18d14ee8, "Nexus/Pixel Device (MIDI)" }, { 0x18d14ee9, "Nexus/Pixel Device (MIDI + debug)" }, { 0x18d15033, "Pixel earbuds" }, { 0x18d15202, "Google Pixel C (MTP)" }, { 0x18d15203, "Google Pixel C (MTP+ADB)" }, { 0x18d1685c, "Nook Tablet" }, { 0x18d170a8, "Google Inc (for Motorola) Xoom (MZ604)" }, { 0x18d17102, "Google Inc (for Toshiba) Thrive 7/AT105" }, { 0x18d17169, "Google Inc (for OnePlus) OnePlus 6T (A6013)" }, { 0x18d1740a, "Google Inc (for Lenovo) Ideapad K1" }, { 0x18d1b004, "Pandigital / B&N Novel 9\" tablet" }, { 0x18d1b00a, "Google Inc (for Medion) MD99000 (P9514)" }, { 0x18d1d001, "Meizu Pro 5 Ubuntu Phone" }, { 0x18d1d002, "Nexus 4 (debug)" }, { 0x18d1d00d, "Xiaomi Mi/Redmi 2 (fastboot)" }, { 0x18d1d109, "LG G2x MTP" }, { 0x18d1d10a, "Google Inc (for LG Electronics) P990/Optimus" }, { 0x18d901a0, "B-Net 91 07" }, { 0x18dd1000, "DocuPen RC800" }, { 0x18e37102, "Multi Card Reader (Internal)" }, { 0x18e39101, "All-in-1 Card Reader" }, { 0x18e39102, "Multi Card Reader" }, { 0x18e39512, "Webcam" }, { 0x18e86144, "LR802UA 802.11b Wireless Adapter [ALi M4301AU]" }, { 0x18e86196, "RT2573" }, { 0x18e86229, "RT2573" }, { 0x18e86232, "Wireless 802.11g 54Mbps Network Adapter [RTL8187]" }, { 0x18ea0002, "DualHead2Go [Analog Edition]" }, { 0x18ea0004, "TripleHead2Go [Digital Edition]" }, { 0x18ec3118, "USB to IrDA adapter [ARK3116T]" }, { 0x18ec3188, "ARK3188 UVC Webcam" }, { 0x18ec3299, "Webcam Carrefour" }, { 0x18ec3366, "Bresser Biolux NV" }, { 0x18ec5850, "CVBS / S-Video Capture Device [UVC]" }, { 0x18efe014, "FS20PCE" }, { 0x18efe015, "FS20PCS" }, { 0x18efe01a, "Bedien-Anzeige-Terminal" }, { 0x18f60102, "Sirius Stiletto" }, { 0x18f60110, "Sirius Stiletto 2" }, { 0x18f80f97, "Optical Gaming Mouse [Xtrem]" }, { 0x18f80f99, "Optical gaming mouse" }, { 0x18f81142, "Optical gaming mouse" }, { 0x18f81486, "X5s ZEUS Macro Pro Gaming Mouse" }, { 0x18fb01c0, "ST1501-STN" }, { 0x18fb01c1, "ST1526-STN" }, { 0x18fb01c2, "ST1501-PYJ" }, { 0x18fb01c3, "ST1501B-PYJ" }, { 0x18fb01c4, "ST1501-PUN" }, { 0x18fb01c5, "ST1401-STN" }, { 0x18fb01c7, "ST1526-PYJ" }, { 0x18fb01c8, "ST1501-ECA" }, { 0x18fb01c9, "ST1476-STN" }, { 0x18fb01cb, "ST1571-STN" }, { 0x18fb0200, "ST1500" }, { 0x18fb0201, "ST1550" }, { 0x18fb0202, "ST1525" }, { 0x18fb0204, "ST1400" }, { 0x18fb0206, "ST1475" }, { 0x18fb0207, "ST1570" }, { 0x19010015, "Nemo Tracker" }, { 0x19080102, "Digital Photo Frame" }, { 0x19080226, "MicroSD Card Reader/Writer" }, { 0x19081315, "Digital Photo Frame" }, { 0x19081320, "DM8261 Flashdisc" }, { 0x19082070, "Honk HK-5002 USB Speaker" }, { 0x19082220, "Buildwin Media-Player" }, { 0x19082311, "Generic UVC 1.00 camera [AppoTech AX2311]" }, { 0x1915000c, "Wireless Desktop nRF24L01 CX-1766" }, { 0x19150101, "HP Prime Wireless Kit [FOK65AA] (Flash mode)" }, { 0x19152233, "Linksys WUSB11 v2.8 802.11b Adapter [Atmel AT76C505]" }, { 0x19152234, "Linksys WUSB54G v1 OEM 802.11g Adapter [Intersil ISL3886]" }, { 0x19152235, "Linksys WUSB54GP v1 OEM 802.11g Adapter [Intersil ISL3886]" }, { 0x19152236, "Linksys WUSB11 v3.0 802.11b Adapter [Intersil PRISM 3]" }, { 0x19157777, "Bitcraze Crazyradio (PA) dongle" }, { 0x191c4104, "Banknote validator NV-150" }, { 0x19230002, "Personal SyncPoint" }, { 0x19260003, "1900 HID Touchscreen" }, { 0x19260006, "1950 HID Touchscreen" }, { 0x19260064, "1950 HID Touchscreen" }, { 0x19260065, "1950 HID Touchscreen" }, { 0x19260066, "1950 HID Touchscreen" }, { 0x19260067, "1950 HID Touchscreen" }, { 0x19260068, "1950 HID Touchscreen" }, { 0x19260069, "1950 HID Touchscreen" }, { 0x19260071, "1950 HID Touchscreen" }, { 0x19260072, "1950 HID Touchscreen" }, { 0x19260073, "1950 HID Touchscreen" }, { 0x19260074, "1950 HID Touchscreen" }, { 0x19260075, "1950 HID Touchscreen" }, { 0x19260076, "1950 HID Touchscreen" }, { 0x19260077, "1950 HID Touchscreen" }, { 0x19260078, "1950 HID Touchscreen" }, { 0x19260079, "1950 HID Touchscreen" }, { 0x1926007a, "1950 HID Touchscreen" }, { 0x1926007e, "1950 HID Touchscreen" }, { 0x1926007f, "1950 HID Touchscreen" }, { 0x19260080, "1950 HID Touchscreen" }, { 0x19260081, "1950 HID Touchscreen" }, { 0x19260082, "1950 HID Touchscreen" }, { 0x19260083, "1950 HID Touchscreen" }, { 0x19260084, "1950 HID Touchscreen" }, { 0x19260085, "1950 HID Touchscreen" }, { 0x19260086, "1950 HID Touchscreen" }, { 0x19260087, "1950 HID Touchscreen" }, { 0x19260dbf, "HID Touchscreen" }, { 0x19260dc2, "HID Touchscreen" }, { 0x19280400, "Equotip Piccolo" }, { 0x192f0000, "Mouse" }, { 0x192f0416, "ADNS-5700 Optical Mouse Controller (3-button)" }, { 0x192f0616, "ADNS-5700 Optical Mouse Controller (5-button)" }, { 0x192f0916, "ADNS-2710 Optical Mouse Controller" }, { 0x19340602, "F71610 or F71612 Consumer Infrared Receiver/Transceiver" }, { 0x19340702, "Integrated Consumer Infrared Receiver/Transceiver" }, { 0x19345168, "F71610A or F71612A Consumer Infrared Receiver/Transceiver" }, { 0x1935000d, "Elektron Digitakt" }, { 0x19380501, "TCR51USB IRIG Time Code Reader" }, { 0x19380502, "TCR600USB IRIG Time Code Reader" }, { 0x19418021, "WH1080 Weather Station / USB Missile Launcher" }, { 0x19432250, "Model 2250 MPEG and JPEG Capture Card" }, { 0x19432253, "Model 2253 Audio/Video Codec Card" }, { 0x19432255, "Model 2255 4 Channel Capture Card" }, { 0x19432257, "Model 2257 4 Channel Capture Card" }, { 0x19432263, "Model 2263 UVC HD Audio/Video Codec Card" }, { 0x1943a250, "Model 2250 MPEG and JPEG Capture Card (cold)" }, { 0x1943a253, "Model 2253 Audio/Video Codec Card (cold)" }, { 0x19490002, "Amazon Kindle" }, { 0x19490004, "Amazon Kindle 3/4/Paperwhite" }, { 0x19490005, "Amazon Kindle Fire 2G (ID1)" }, { 0x19490006, "Amazon Kindle Fire" }, { 0x19490007, "Amazon Kindle Fire (ID1)" }, { 0x19490008, "Amazon Kindle Fire (ID2)" }, { 0x1949000a, "Amazon Kindle Fire (ID3)" }, { 0x1949000b, "Amazon Kindle Fire (ID6)" }, { 0x1949000c, "Amazon Kindle Fire (ID4)" }, { 0x1949000d, "Amazon Kindle Fire (ID7)" }, { 0x19490012, "Amazon Kindle Fire (ID5)" }, { 0x194900f2, "Amazon Kindle Fire HD6" }, { 0x19490121, "Amazon Kindle Fire 7 (3rd ID)" }, { 0x19490211, "Amazon Kindle Fire 8" }, { 0x19490212, "Amazon Kindle Fire 8 HD" }, { 0x19490221, "Amazon Kindle Fire 7" }, { 0x19490222, "Amazon Kindle Fire 5" }, { 0x19490261, "Amazon Kindle Fire 8 (2nd ID)" }, { 0x19490262, "Amazon Kindle Fire 8 HD (7th Gen)" }, { 0x19490271, "Amazon Kindle Fire 7 (2nd ID)" }, { 0x19490272, "Amazon Kindle Fire Kids" }, { 0x19490281, "Amazon Kindle Fire Tablet 10 HD" }, { 0x19490331, "Amazon Kindle Fire 8 HD (2nd ID)" }, { 0x19490332, "Amazon Kindle Fire 8 HD (3rd ID)" }, { 0x194903f1, "Amazon Kindle Fire Tablet 10 HD (2nd ID)" }, { 0x19490417, "Amazon Zukey; clone of Yubikey 4 OTP+U2F" }, { 0x19490581, "Amazon Kindle Fire HD8 Plus" }, { 0x194905e1, "Amazon Kindle Fire 10 Plus" }, { 0x19490800, "Amazon Fire Phone" }, { 0x19490c31, "Amazon Kindle Fire (ID 8)" }, { 0x194f0101, "AudioBox 22 VSL" }, { 0x194f0102, "AudioBox 44 VSL" }, { 0x194f0103, "AudioBox 1818 VSL" }, { 0x194f0201, "FaderPort" }, { 0x194f0301, "AudioBox" }, { 0x19530202, "S200 2GB Rev. 1" }, { 0x195d2030, "Func KB-460 Gaming Keyboard" }, { 0x195d7002, "Libra-Q11 IR remote" }, { 0x195d7006, "Libra-Q26 / 1.0 Remote" }, { 0x195d7777, "Scorpius wireless keyboard" }, { 0x195d7779, "Scorpius-P20MT" }, { 0x19630005, "iRig KEYS" }, { 0x19630046, "UNO Synth" }, { 0x19650016, "HomePatrol-1" }, { 0x19650018, "UBC125XLT" }, { 0x1965001a, "BCD436HP Scanner" }, { 0x19700000, "Z Mate 16GB" }, { 0x19730002, "Pivot recovery" }, { 0x19730003, "Pivot Media Transfer Protocol" }, { 0x19730004, "Pivot Media Transfer Protocol" }, { 0x19761307, "microSD Card Reader" }, { 0x19766025, "CBM2090 Flash Drive" }, { 0x19770111, "TL203 MP3 Player and Voice Recorder" }, { 0x197d0222, "BCL 508i" }, { 0x19800808, "Clickfree C2 Slimline (527SE)" }, { 0x198f0210, "BCS200 WiMAX Adapter" }, { 0x198f0220, "BCSM250 WiMAX Adapter" }, { 0x19953202, "REC-ADPT-USB (recorder)" }, { 0x19953203, "REC-A-ADPT-USB (recorder)" }, { 0x19963010, "Camera Release 4" }, { 0x19963011, "OEM Camera" }, { 0x19963012, "e-ImageData Corp. ScanPro" }, { 0x19970409, "wireless mini keyboard with touchpad" }, { 0x19972433, "wireless mini keyboard with touchpad" }, { 0x199b3065, "3DM-GX3-25 Orientation Sensor" }, { 0x199e8101, "DFx 21BU04 Camera" }, { 0x199e8457, "DFK AFU130-L53 camera" }, { 0x19a50004, "Remote NDIS Network Device" }, { 0x19a50012, "RF-7800S Secure Personal Radio" }, { 0x19a50401, "Mass Storage Device" }, { 0x19a50402, "Falcon III RF-7800V family RNDIS" }, { 0x19ab1000, "ProScope HR" }, { 0x19af6611, "Celestia VoIP Phone" }, { 0x19b20010, "BX32 Batupo" }, { 0x19b20011, "BX32P Barlino" }, { 0x19b20012, "BX40 Bagero" }, { 0x19b20013, "BX48 Batego" }, { 0x19b40002, "SkyScout Personal Planetarium" }, { 0x19b40101, "Handheld Digital Microscope 44302" }, { 0x19b94b10, "Drobo" }, { 0x19b98d20, "Drobo Elite" }, { 0x19c26a11, "MDM166A Fluorescent Display" }, { 0x19ca0001, "Sandio 3D HID Mouse" }, { 0x19cf0001, "MiniKit Slim handsfree car kit in firmware update mode" }, { 0x19cf5038, "Parrot Bebop Drone" }, { 0x19cf5039, "Parrot Sequoia" }, { 0x19d20001, "CDMA Wireless Modem" }, { 0x19d20002, "MF632/ONDA ET502HS/MT505UP" }, { 0x19d20007, "TU25 WiMAX Adapter [Beceem BCS200]" }, { 0x19d20017, "MF669" }, { 0x19d20031, "MF110/MF627/MF636" }, { 0x19d20037, "ONDA MC503HSA" }, { 0x19d20039, "MF100" }, { 0x19d20063, "K3565-Z HSDPA" }, { 0x19d20064, "MF627 AU" }, { 0x19d20083, "MF190" }, { 0x19d20103, "MF112" }, { 0x19d20104, "K4505-Z" }, { 0x19d20117, "MF667" }, { 0x19d20146, "MF 195E (HSPA+ Modem)" }, { 0x19d20167, "MF820 4G LTE" }, { 0x19d20172, "AX226 WIMAX MODEM (After Modeswitch)" }, { 0x19d20244, "ZTE V55 ID 1" }, { 0x19d20245, "ZTE V55 ID 2" }, { 0x19d20306, "ZTE V790/Blade 3" }, { 0x19d20307, "ZTE V880E" }, { 0x19d20325, "LTE4G O2 ZTE MF821D LTE/UMTS/GSM Modem/Networkcard" }, { 0x19d20326, "LTE4G O2 ZTE MF821D LTE/UMTS/GSM Modem/Networkcard" }, { 0x19d20343, "ZTE Grand X In" }, { 0x19d20383, "ZTE V985" }, { 0x19d20501, "Lever Cell Phone Model Z936L" }, { 0x19d21001, "K3805-Z vodafone WCDMA/GSM Modem - storage mode (made by ZTE)" }, { 0x19d21002, "K3805-Z vodafone WCDMA/GSM Modem/Networkcard (made by ZTE)" }, { 0x19d21008, "K3570-Z" }, { 0x19d21010, "K3571-Z" }, { 0x19d21017, "K5006-Z vodafone LTE/UMTS/GSM Modem/Networkcard" }, { 0x19d21018, "K5006-Z vodafone LTE/UMTS/GSM Modem/Networkcard" }, { 0x19d21203, "MF691 [ T-Mobile webConnect Rocket 2.0]" }, { 0x19d21217, "MF652" }, { 0x19d21218, "MF652" }, { 0x19d21270, "MF667" }, { 0x19d22000, "MF627/MF628/MF628+/MF636+ HSDPA/HSUPA" }, { 0x19d22008, "ZTE Blade L3" }, { 0x19d2ffce, "ZTE V5" }, { 0x19d2ffcf, "ZTE Z9 Max" }, { 0x19d2fff2, "Gobi Wireless Modem (QDL mode)" }, { 0x19d2fff3, "Gobi Wireless Modem" }, { 0x19db02f1, "NAUT324C" }, { 0x19f70001, "Podcaster" }, { 0x19fa0607, "GAME CONTROLLER" }, { 0x19fa0703, "Steering Wheel" }, { 0x19ff0102, "1.3MP Webcam" }, { 0x19ff0201, "Rocketfish Wireless 2.4G Laser Mouse" }, { 0x19ff0220, "RF-HDWEBLT RocketFish HD WebCam" }, { 0x19ff0238, "DX-WRM1401 Mouse" }, { 0x19ff0239, "Bluetooth 4.0 Adapter [Broadcom, 1.12, BCM20702A0]" }, { 0x19ff0303, "Insignia NS-DV45" }, { 0x19ff0307, "Insignia Sport Player" }, { 0x19ff0309, "Insignia Pilot 4GB" }, { 0x1a0abadd, "USB OTG Compliance test device" }, { 0x1a1d0407, "Mimi WiFi speakers" }, { 0x1a2c0021, "Keyboard" }, { 0x1a2c0024, "Multimedia Keyboard" }, { 0x1a2c2124, "Keyboard" }, { 0x1a2c2d23, "Keyboard" }, { 0x1a2c427c, "Backlit Keyboard [Cougar Vantar]" }, { 0x1a320304, "802.11n Wireless LAN Card" }, { 0x1a340802, "Gamepad" }, { 0x1a400101, "Hub" }, { 0x1a400201, "FE 2.1 7-port Hub" }, { 0x1a440001, "Digipass 905 SmartCard Reader" }, { 0x1a613410, "CoPilot System Cable" }, { 0x1a613650, "FreeStyle Libre" }, { 0x1a613850, "FreeStyle Optium/Precision Neo" }, { 0x1a613950, "FreeStyle Libre 2" }, { 0x1a640000, "MasterBus Link" }, { 0x1a721008, "E-861 PiezoWalk NEXACT Controller" }, { 0x1a796002, "Contour" }, { 0x1a796210, "Contour Next Link 2.4 glucometer" }, { 0x1a796300, "Contour next link" }, { 0x1a797410, "Contour Next" }, { 0x1a797800, "Contour Plus One" }, { 0x1a7c0068, "VerticalMouse 3" }, { 0x1a7c0168, "VerticalMouse 3 Wireless" }, { 0x1a7c0191, "VerticalMouse 4" }, { 0x1a7c0195, "VerticalMouse C Wireless" }, { 0x1a7e1001, "UFT75, UT150, UT60" }, { 0x1a7e1003, "Thermostick" }, { 0x1a811004, "Wireless Dongle 2.4 GHZ HT82D40REW" }, { 0x1a811701, "Wireless dongle" }, { 0x1a812004, "Keyboard" }, { 0x1a812203, "Laser Gaming mouse" }, { 0x1a812204, "Optical Mouse" }, { 0x1a812205, "Laser Mouse" }, { 0x1a814001, "Keyboard" }, { 0x1a865512, "CH341 in EPP/MEM/I2C mode, EPP/I2C adapter" }, { 0x1a865523, "CH341 in serial mode, usb to serial port converter" }, { 0x1a865584, "CH341 in parallel mode, usb to printer port converter" }, { 0x1a867522, "CH340 serial converter" }, { 0x1a867523, "CH340 serial converter" }, { 0x1a86752d, "CH345 MIDI adapter" }, { 0x1a867584, "CH340S" }, { 0x1a86e008, "HID-based serial adapter" }, { 0x1a8d1002, "BandLuxe 3.5G HSDPA Adapter" }, { 0x1a8d1009, "BandLuxe 3.5G HSPA Adapter" }, { 0x1a8d100d, "4G LTE adapter" }, { 0x1a980002, "Leica M9" }, { 0x1a982041, "Leica SL" }, { 0x1aab7736, "sceye (Gen 2)" }, { 0x1aab7737, "sceye (Gen 3)" }, { 0x1aab7738, "sceye (Gen 4, 3 Mpix)" }, { 0x1aab7750, "sceyeS (Gen 5, 5 MPix)" }, { 0x1aad0001, "Touchscreen" }, { 0x1ab104b0, "DS6000 SERIES" }, { 0x1ab104be, "DS4000 SERIES" }, { 0x1ab104ce, "DS1xx4Z/MSO1xxZ series" }, { 0x1ab10588, "DS1000 SERIES" }, { 0x1ab20001, "Vision device" }, { 0x1acc0103, "AudioLink plus 4x4 2.9.28" }, { 0x1ad40002, "KM290-HRS" }, { 0x1adb0001, "C662 Serial Cable" }, { 0x1adb0003, "CDC Ethernet Gadget" }, { 0x1ae70381, "VS-DVB-T 380U (af9015 based)" }, { 0x1ae70525, "X-Tensions ISDN TA XC-525 [HFC-S USB]" }, { 0x1ae72001, "SpeedLink Snappy Mic webcam (SL-6825-SBK)" }, { 0x1ae79003, "SpeedLink Vicious And Devine Laplace webcam, white (VD-1504-SWT)" }, { 0x1ae79004, "SpeedLink Vicious And Devine Laplace webcam, black (VD-1504-SBK)" }, { 0x1af30001, "ZOWIE Gaming mouse" }, { 0x1afe0001, "PQ Box 100" }, { 0x1b040630, "ME-630" }, { 0x1b040940, "ME-94" }, { 0x1b040950, "ME-95" }, { 0x1b040960, "ME-96" }, { 0x1b041000, "ME-1000" }, { 0x1b04100a, "ME-1000" }, { 0x1b04100b, "ME-1000" }, { 0x1b041400, "ME-1400" }, { 0x1b04140a, "ME-1400A" }, { 0x1b04140b, "ME-1400B" }, { 0x1b04140c, "ME-1400C" }, { 0x1b04140d, "ME-1400D" }, { 0x1b04140e, "ME-1400E" }, { 0x1b0414ea, "ME-1400EA" }, { 0x1b0414eb, "ME-1400EB" }, { 0x1b041604, "ME-1600/4U" }, { 0x1b041608, "ME-1600/8U" }, { 0x1b04160c, "ME-1600/12U" }, { 0x1b04160f, "ME-1600/16U" }, { 0x1b04168f, "ME-1600/16U8I" }, { 0x1b044610, "ME-4610" }, { 0x1b044650, "ME-4650" }, { 0x1b044660, "ME-4660" }, { 0x1b044661, "ME-4660I" }, { 0x1b044662, "ME-4660" }, { 0x1b044663, "ME-4660I" }, { 0x1b044670, "ME-4670" }, { 0x1b044671, "ME-4670I" }, { 0x1b044672, "ME-4670S" }, { 0x1b044673, "ME-4670IS" }, { 0x1b044680, "ME-4680" }, { 0x1b044681, "ME-4680I" }, { 0x1b044682, "ME-4680S" }, { 0x1b044683, "ME-4680IS" }, { 0x1b046004, "ME-6000/4" }, { 0x1b046008, "ME-6000/8" }, { 0x1b04600f, "ME-6000/16" }, { 0x1b046014, "ME-6000I/4" }, { 0x1b046018, "ME-6000I/8" }, { 0x1b04601f, "ME-6000I/16" }, { 0x1b046034, "ME-6000ISLE/4" }, { 0x1b046038, "ME-6000ISLE/8" }, { 0x1b04603f, "ME-6000ISLE/16" }, { 0x1b046044, "ME-6000/4/DIO" }, { 0x1b046048, "ME-6000/8/DIO" }, { 0x1b04604f, "ME-6000/16/DIO" }, { 0x1b046054, "ME-6000I/4/DIO" }, { 0x1b046058, "ME-6000I/8/DIO" }, { 0x1b04605f, "ME-6000I/16/DIO" }, { 0x1b046074, "ME-6000ISLE/4/DIO" }, { 0x1b046078, "ME-6000ISLE/8/DIO" }, { 0x1b04607f, "ME-6000ISLE/16/DIO" }, { 0x1b046104, "ME-6100/4" }, { 0x1b046108, "ME-6100/8" }, { 0x1b04610f, "ME-6100/16" }, { 0x1b046114, "ME-6100I/4" }, { 0x1b046118, "ME-6100I/8" }, { 0x1b04611f, "ME-6100I/16" }, { 0x1b046134, "ME-6100ISLE/4" }, { 0x1b046138, "ME-6100ISLE/8" }, { 0x1b04613f, "ME-6100ISLE/16" }, { 0x1b046144, "ME-6100/4/DIO" }, { 0x1b046148, "ME-6100/8/DIO" }, { 0x1b04614f, "ME-6100/16/DIO" }, { 0x1b046154, "ME-6100I/4/DIO" }, { 0x1b046158, "ME-6100I/8/DIO" }, { 0x1b04615f, "ME-6100I/16/DIO" }, { 0x1b046174, "ME-6100ISLE/4/DIO" }, { 0x1b046178, "ME-6100ISLE/8/DIO" }, { 0x1b04617f, "ME-6100ISLE/16/DIO" }, { 0x1b046259, "ME-6200I/9/DIO" }, { 0x1b046359, "ME-6300I/9/DIO" }, { 0x1b04810a, "ME-8100A" }, { 0x1b04810b, "ME-8100B" }, { 0x1b04820a, "ME-8200A" }, { 0x1b04820b, "ME-8200B" }, { 0x1b0e1078, "BLUDRIVE II CCID" }, { 0x1b0e1079, "BLUDRIVE II CCID" }, { 0x1b0e1080, "WRITECHIP II CCID" }, { 0x1b120011, "ModFactor" }, { 0x1b1c0890, "Flash Padlock" }, { 0x1b1c0a00, "SP2500 Speakers" }, { 0x1b1c0a60, "Vengeance K60 Keyboard" }, { 0x1b1c0c04, "Link Cooling Node" }, { 0x1b1c0c06, "RM-Series C-Link Adapter" }, { 0x1b1c0c0a, "Hydro Series H115i Liquid CPU Cooler" }, { 0x1b1c0c0b, "Lighting Node Pro" }, { 0x1b1c0c0c, "Lighting Node Loader" }, { 0x1b1c0c22, "iCUE H150i RGB PRO XT Liquid CPU Cooler" }, { 0x1b1c1a01, "Flash Voyager GT" }, { 0x1b1c1a03, "Voyager 3.0" }, { 0x1b1c1a09, "Voyager GT 3.0" }, { 0x1b1c1a0a, "Survivor Stealth Flash Drive" }, { 0x1b1c1a0b, "Flash Voyager LS" }, { 0x1b1c1a0e, "Voyager GTX" }, { 0x1b1c1a14, "Voyager Vega" }, { 0x1b1c1a15, "Voyager Slider Flash Drive" }, { 0x1b1c1a90, "Flash Voyager GT" }, { 0x1b1c1ab1, "Voyager" }, { 0x1b1c1b04, "Raptor K50 Keyboard" }, { 0x1b1c1b07, "Vengeance K65 Gaming Keyboard" }, { 0x1b1c1b08, "Vengeance K95 Keyboard" }, { 0x1b1c1b09, "Vengeance K70R keyboard" }, { 0x1b1c1b11, "K95 RGB Mechanical Gaming Keyboard" }, { 0x1b1c1b13, "Vengeance K70RGB keyboard" }, { 0x1b1c1b20, "STRAFE RGB Gaming Keyboard" }, { 0x1b1c1b2d, "K95 RGB Platinum Keyboard [RGP0056]" }, { 0x1b1c1b2e, "Corsair Corsair Gaming M65 Pro RGB Mouse" }, { 0x1b1c1b2f, "Sabre RGB [CH-9303011-XX]" }, { 0x1b1c1b3d, "Corsair Corsair Gaming K55 RGB Keyboard" }, { 0x1b1c1b5e, "Harpoon Wireless Mouse" }, { 0x1b1c1b65, "Harpoon Wireless Dongle" }, { 0x1b1c1c00, "Controller for Corsair Link" }, { 0x1b1c1c02, "AX1500i Power Supply" }, { 0x1b1c1c05, "HX750i Power Supply" }, { 0x1b1c1c07, "HX1000i Power Supply" }, { 0x1b1c1c08, "HX1200i Power Supply" }, { 0x1b1c1c0b, "RM750i Power Supply" }, { 0x1b1c1c0c, "RM850i Power Supply" }, { 0x1b1c1c1a, "Corsair CORSAIR Lighting Node CORE" }, { 0x1b1e1003, "A1250" }, { 0x1b1fc00f, "HM-CFG-USB/HM-CFG-USB-2 [HomeMatic Configuration adapter]" }, { 0x1b1fc020, "HmIP-RFUSB" }, { 0x1b244001, "TLG2300 Hybrid TV Device" }, { 0x1b320064, "Pleo robotic dinosaur" }, { 0x1b3b2933, "PC Camera/Webcam controller" }, { 0x1b3b2935, "PC Camera/Webcam controller" }, { 0x1b3b2936, "PC Camera/Webcam controller" }, { 0x1b3b2937, "PC Camera/Webcam controller" }, { 0x1b3b2938, "PC Camera/Webcam controller" }, { 0x1b3b2939, "PC Camera/Webcam controller" }, { 0x1b3b2950, "PC Camera/Webcam controller" }, { 0x1b3b2951, "PC Camera/Webcam controller" }, { 0x1b3b2952, "PC Camera/Webcam controller" }, { 0x1b3b2953, "PC Camera/Webcam controller" }, { 0x1b3b2955, "PC Camera/Webcam controller" }, { 0x1b3b2956, "PC Camera/Webcam controller" }, { 0x1b3b2957, "PC Camera/Webcam controller" }, { 0x1b3b2958, "PC Camera/Webcam controller" }, { 0x1b3b2959, "PC Camera/Webcam controller" }, { 0x1b3b2960, "PC Camera/Webcam controller" }, { 0x1b3b2961, "PC Camera/Webcam controller" }, { 0x1b3b2962, "PC Camera/Webcam controller" }, { 0x1b3b2963, "PC Camera/Webcam controller" }, { 0x1b3b2965, "PC Camera/Webcam controller" }, { 0x1b3b2966, "PC Camera/Webcam controller" }, { 0x1b3b2967, "PC Camera/Webcam controller" }, { 0x1b3b2968, "PC Camera/Webcam controller" }, { 0x1b3b2969, "PC Camera/Webcam controller" }, { 0x1b3f0c52, "808 Camera #9 (mass storage mode)" }, { 0x1b3f2002, "808 Camera #9 (web-cam mode)" }, { 0x1b3f2003, "GPD6000 [Digital MP3 Player]" }, { 0x1b470001, "CHUSB Duo Charger (NiMH AA/AAA USB smart charger)" }, { 0x1b522101, "FXMC Neural Network Controller" }, { 0x1b522102, "FXMC Neural Network Controller V2" }, { 0x1b522103, "FXMC Neural Network Controller V3" }, { 0x1b524101, "Passport Reader CLR device" }, { 0x1b524201, "Passport Reader PRM device" }, { 0x1b524202, "Passport Reader PRM extension device" }, { 0x1b524203, "Passport Reader PRM DSP device" }, { 0x1b524204, "Passport Reader PRMC device" }, { 0x1b524205, "Passport Reader CSHR device" }, { 0x1b524206, "Passport Reader PRMC V2 device" }, { 0x1b524301, "Passport Reader MRZ device" }, { 0x1b524302, "Passport Reader MRZ DSP device" }, { 0x1b524303, "Passport Reader CSLR device" }, { 0x1b524401, "Card Reader" }, { 0x1b524501, "Passport Reader RFID device" }, { 0x1b524502, "Passport Reader RFID AIG device" }, { 0x1b526101, "Neural Network Controller" }, { 0x1b526202, "Fingerprint Reader device" }, { 0x1b526203, "Fingerprint Scanner device" }, { 0x1b528101, "Camera V1" }, { 0x1b528102, "Recovery / Camera V2" }, { 0x1b528103, "Camera V3" }, { 0x1b710050, "Encore ENUTV-4 Analog TV Tuner" }, { 0x1b713002, "USBTV007 Video Grabber [EasyCAP]" }, { 0x1b731000, "xHC1 Controller" }, { 0x1b753072, "AirLive WN-360USB adapter" }, { 0x1b758171, "WN-370USB 802.11bgn Wireless Adapter [Realtek RTL8188SU]" }, { 0x1b758187, "AirLive WL-1600USB 802.11g Adapter [Realtek RTL8187L]" }, { 0x1b759170, "AirLive X.USB 802.11abgn [Atheros AR9170+AR9104]" }, { 0x1b75a200, "AirLive WN-200USB wireless 11b/g/n dongle" }, { 0x1b80c810, "MC810 [af9015]" }, { 0x1b80d393, "DVB-T receiver [RTL2832U]" }, { 0x1b80d396, "UB396-T [RTL2832U]" }, { 0x1b80d397, "DVB-T receiver [RTL2832U]" }, { 0x1b80d398, "DVB-T receiver [RTL2832U]" }, { 0x1b80d700, "FM Radio SnapMusic Mobile 700 (FM700)" }, { 0x1b80e297, "Conceptronic DVB-T CTVDIGRCU V3.0" }, { 0x1b80e302, "CVBS / S-Video Capture Device [Pinnacle Dazzle / UB315-E]" }, { 0x1b80e34c, "UB435-Q ATSC TV Stick" }, { 0x1b80e383, "DVB-T UB383-T [af9015]" }, { 0x1b80e385, "DVB-T UB385-T [af9015]" }, { 0x1b80e386, "DVB-T UB385-T [af9015]" }, { 0x1b80e399, "DVB-T KWorld PlusTV 399U [af9015]" }, { 0x1b80e39a, "DVB-T395U [af9015]" }, { 0x1b80e39b, "DVB-T395U [af9015]" }, { 0x1b80e401, "Sveon STV22 DVB-T [af9015]" }, { 0x1b80e409, "IT9137FN Dual DVB-T [KWorld UB499-2T]" }, { 0x1b960001, "Duosense Transparent Electromagnetic Digitizer" }, { 0x1ba40001, "InSight USB Link" }, { 0x1ba40002, "EM358 Virtual COM Port" }, { 0x1bad0002, "Rock Band Guitar for Xbox 360" }, { 0x1bad0003, "Rock Band Drum Kit for Xbox 360" }, { 0x1bad0130, "Ion Drum Rocker for Xbox 360" }, { 0x1bad028e, "Controller" }, { 0x1bad3330, "Rock Band 3 Keyboard wii interface" }, { 0x1badf016, "Controller" }, { 0x1badf018, "Street Fighter IV SE FightStick for Xbox 360" }, { 0x1badf019, "BrawlStick for Xbox 360" }, { 0x1badf021, "Ghost Recon Future Soldier Gamepad for Xbox 360" }, { 0x1badf023, "MLG Pro Circuit Controller for Xbox 360" }, { 0x1badf025, "Call of Duty Controller for Xbox 360" }, { 0x1badf027, "FPS Pro Controller for Xbox 360" }, { 0x1badf028, "Street Fighter IV FightPad for Xbox 360" }, { 0x1badf02e, "FightPad" }, { 0x1badf030, "MC2 MicroCON Racing Wheel for Xbox 360" }, { 0x1badf036, "MicroCON Gamepad Pro for Xbox 360" }, { 0x1badf038, "Street Fighter IV FightStick TE for Xbox 360" }, { 0x1badf039, "Marvel VS Capcom 2 Tournament Stick for Xbox 360" }, { 0x1badf03a, "Street Fighter X Tekken FightStick Pro for Xbox 360" }, { 0x1badf03d, "Street Fighter IV Arcade Stick TE for Xbox 360" }, { 0x1badf03e, "MLG Arcade FightStick TE for Xbox 360" }, { 0x1badf03f, "Soulcalibur FightStick for Xbox 360" }, { 0x1badf042, "Arcade FightStick TE S+ for Xbox 360" }, { 0x1badf080, "FightStick TE2 for Xbox 360" }, { 0x1badf501, "Horipad EX2 Turbo for Xbox 360" }, { 0x1badf502, "Real Arcade Pro.VX SA for Xbox 360" }, { 0x1badf503, "Fighting Stick VX for Xbox 360" }, { 0x1badf504, "Real Arcade Pro.EX" }, { 0x1badf505, "Fighting Stick EX2B for Xbox 360" }, { 0x1badf506, "Real Arcade Pro.EX Premium VLX for Xbox 360" }, { 0x1badf900, "Controller" }, { 0x1badf901, "GameStop Controller" }, { 0x1badf903, "Tron Controller for Xbox 360" }, { 0x1badf904, "PDP Versus Fighting Pad for Xbox 360" }, { 0x1badf906, "Mortal Kombat FightStick for Xbox 360" }, { 0x1badf907, "Afterglow Gamepad" }, { 0x1badfa01, "Gamepad" }, { 0x1badfd00, "Razer Onza Tournament Edition" }, { 0x1badfd01, "Razer Onza Classic Edition" }, { 0x1bae0002, "VR920 Immersive Eyewear" }, { 0x1bbb0003, "Alcatel one touch 4030D modem connection" }, { 0x1bbb0017, "HSPA Data Card" }, { 0x1bbb007a, "Alcatel OneTouch (firmware upgrade mode)" }, { 0x1bbb011e, "Alcatel One Touch L100V / Telekom Speedstick LTE II" }, { 0x1bbb0167, "Alcatel/TCT 6010D/TCL S950" }, { 0x1bbb0168, "Alcatel 6030a" }, { 0x1bbb0169, "Alcatel ONE TOUCH Fierce" }, { 0x1bbb0195, "Alcatel OneTouch L850V / Telekom Speedstick LTE" }, { 0x1bbb0c02, "Alcatel One Touch 997D (MTP+ADB)" }, { 0x1bbb2008, "Alcatel One Touch 997D (MTP)" }, { 0x1bbb901b, "Alcatel A405DL" }, { 0x1bbb904d, "Alcatel/Bouygues BS472" }, { 0x1bbba00e, "Alcatel OneTouch 5042D (MTP)" }, { 0x1bbba00f, "Alcatel Popo4 (MTP)" }, { 0x1bbbaf00, "Alcatel OneTouch Idol 3 ID2 (MTP)" }, { 0x1bbbaf2a, "Alcatel OneTouch Idol 3 small (MTP)" }, { 0x1bbbaf2b, "Alcatel OneTouch Idol 3 (MTP)" }, { 0x1bbbf000, "Alcatel OneTouch (mass storage mode)" }, { 0x1bbbf003, "Alcatel OneTouch 6034R" }, { 0x1bbbf017, "Alcatel One Touch L100V / Telekom Speedstick LTE II" }, { 0x1bbd0060, "1.3MP Mono Camera" }, { 0x1bbd0066, "1.3MP Mono Camera" }, { 0x1bbd0067, "1.3MP Mono Camera" }, { 0x1bc00013, "Elitee-e" }, { 0x1bc00014, "Elite4" }, { 0x1bc00020, "iToken" }, { 0x1bc00021, "Mikey" }, { 0x1bc00051, "Elite5" }, { 0x1bc00055, "Elite5 v3.x" }, { 0x1bc0485d, "EliteIV" }, { 0x1bc70020, "HE863" }, { 0x1bc70021, "HE910" }, { 0x1bc70022, "GE910-QUAD" }, { 0x1bc70023, "HE910-D ECM" }, { 0x1bc70032, "LE910-EU V2" }, { 0x1bc71003, "UC864-E" }, { 0x1bc71004, "UC864-G" }, { 0x1bc71005, "CC864-DUAL" }, { 0x1bc71006, "CC864-SINGLE" }, { 0x1bc71010, "DE910-DUAL" }, { 0x1bc71011, "CE910-DUAL" }, { 0x1bc71012, "UE910 V2" }, { 0x1bc71101, "ME910C1" }, { 0x1bc7110a, "ME310" }, { 0x1bc71200, "LE920 (old firmware)" }, { 0x1bc71201, "LE910 / LE920" }, { 0x1bcf0005, "Optical Mouse" }, { 0x1bcf0007, "Optical Mouse" }, { 0x1bcf053a, "Targa Silvercrest OMC807-C optische Funkmaus" }, { 0x1bcf05c5, "SPRF2413A [2.4GHz Wireless Keyboard/Mouse Receiver]" }, { 0x1bcf05cf, "Micro keyboard & mouse receiver" }, { 0x1bcf08a0, "Gaming mouse [Philips SPK9304]" }, { 0x1bcf0c31, "SPIF30x Serial-ATA bridge" }, { 0x1bcf2281, "SPCA2281 Web Camera" }, { 0x1bcf2880, "Dell HD Webcam" }, { 0x1bcf2883, "Asus Webcam" }, { 0x1bcf2885, "ASUS Webcam" }, { 0x1bcf2888, "HP Universal Camera" }, { 0x1bcf2895, "Dell Integrated Webcam" }, { 0x1bcf28a2, "Dell Integrated Webcam" }, { 0x1bcf28a6, "DELL XPS Integrated Webcam" }, { 0x1bcf28ae, "Laptop Integrated Webcam HD" }, { 0x1bcf28bd, "Dell Integrated HD Webcam" }, { 0x1bcf2985, "Laptop Integrated Webcam HD" }, { 0x1bcf2b83, "Laptop Integrated Webcam FHD" }, { 0x1bcf2b91, "Dell E5570 integrated webcam" }, { 0x1bcf2b97, "Laptop Integrated Webcam FHD" }, { 0x1bcf2c6e, "Laptop Integrated WebCam HD" }, { 0x1bda0010, "Power Board v4 Rev B" }, { 0x1bda0011, "Student Robotics SBv4B" }, { 0x1bdcfabf, "Slacker Inc. Slacker Portable Media Player" }, { 0x1bfd1268, "Touch Screen" }, { 0x1bfd1368, "Touch Screen" }, { 0x1bfd1568, "Capacitive Touch Screen" }, { 0x1bfd1668, "IR Touch Screen" }, { 0x1bfd1688, "Resistive Touch Screen" }, { 0x1bfd2968, "Touch Screen" }, { 0x1bfd5968, "Touch Screen" }, { 0x1bfd6968, "Touch Screen" }, { 0x1c042074, "ASM1074 High-Speed hub" }, { 0x1c043074, "ASM1074 SuperSpeed hub" }, { 0x1c05ea75, "G540 Programmer" }, { 0x1c0c0102, "Plug Computer" }, { 0x1c11b04d, "ErgoDox Infinity" }, { 0x1c1a0100, "Action Replay DS \"3DS/DSi/DS/Lite Compatible\"" }, { 0x1c28c003, "CamCube" }, { 0x1c28c004, "CamBoard" }, { 0x1c28c005, "ConceptCam" }, { 0x1c28c006, "CamBoard 22" }, { 0x1c28c007, "CamBoard nano" }, { 0x1c28c008, "CamBoard mod" }, { 0x1c28c009, "CamBoard plus" }, { 0x1c28c00a, "DigiCam" }, { 0x1c28c00d, "CamBoard pico LDD" }, { 0x1c28c00f, "CamBoard pico" }, { 0x1c290001, "ExMFE5 Simulator" }, { 0x1c2910fc, "enCore device" }, { 0x1c347241, "Prox'N'Roll RFID Scanner" }, { 0x1c376190, "U2F Fido-compliant cryptotoken" }, { 0x1c400533, "TiltStick" }, { 0x1c400534, "i2c-tiny-usb interface" }, { 0x1c400535, "glcd2usb interface" }, { 0x1c400536, "Swiss ColorPAL" }, { 0x1c400537, "MIST Board" }, { 0x1c4b026f, "Spirostik" }, { 0x1c4f0002, "Keyboard TRACER Gamma Ivory" }, { 0x1c4f0003, "HID controller" }, { 0x1c4f000e, "Genius KB-120 Keyboard" }, { 0x1c4f0026, "Keyboard" }, { 0x1c4f0032, "Optical Mouse with Scroll Wheel" }, { 0x1c4f0034, "XM102K Optical Wheel Mouse" }, { 0x1c4f0063, "Touchpad (integrated in detachable keyboard of Chuwi SurBook)" }, { 0x1c4f0065, "Optical Wheel Mouse [Rapoo N1130]" }, { 0x1c4f3000, "Micro USB Web Camera" }, { 0x1c4f3002, "WebCam SiGma Micro" }, { 0x1c571e45, "FPSGUN FG1000 Mouse" }, { 0x1c6ba220, "DVD Writer Slimtype eSAU108" }, { 0x1c6ba222, "DVD Writer Slimtype eTAU108" }, { 0x1c6ba223, "DVD Writer Slimtype eUAU108" }, { 0x1c71c004, "Braille Note Apex (braille terminal mode)" }, { 0x1c73861f, "Anysee E30 USB 2.0 DVB-T Receiver" }, { 0x1c750288, "KeyStep" }, { 0x1c7a0577, "Fingerprint Sensor" }, { 0x1c7a0603, "ES603 Swipe Fingerprint Sensor" }, { 0x1c7a0801, "Fingerprint Reader" }, { 0x1c820200, "spryTrac" }, { 0x1c830001, "RS150 V2" }, { 0x1c830002, "RFID card reader" }, { 0x1c830003, "Communicator" }, { 0x1c830005, "Mobile RFID Reader" }, { 0x1c880007, "SMI Grabber (EasyCAP DC60+ clone) (no firmware) [SMI-2021CBE]" }, { 0x1c88003c, "SMI Grabber (EasyCAP DC60+ clone) [SMI-2021CBE]" }, { 0x1c9e6061, "WL-72B 3.5G MODEM" }, { 0x1ca118ab, "SATA bridge" }, { 0x1caca332, "C8 Webcam" }, { 0x1cacb288, "C18 Webcam" }, { 0x1cb66681, "IDC6681" }, { 0x1cbe0002, "CDC serial port [TivaWare]" }, { 0x1cbe00fd, "In-Circuit Debug Interface" }, { 0x1cbe00ff, "Stellaris ROM DFU Bootloader" }, { 0x1cbe0166, "CANAL USB2CAN" }, { 0x1cbe0240, "McGill Robotics TM4C Microcontroller" }, { 0x1cf10001, "Sensor Terminal Board" }, { 0x1cf10004, "Wireless Handheld Terminal" }, { 0x1cf10017, "deRFusbSniffer 2.4 GHz" }, { 0x1cf10018, "deRFusb24E001" }, { 0x1cf10019, "deRFusb14E001" }, { 0x1cf1001a, "deRFusb23E00" }, { 0x1cf1001b, "deRFusb13E00" }, { 0x1cf1001c, "deRFnode" }, { 0x1cf1001d, "deRFnode / gateway" }, { 0x1cf10022, "deUSB level shifter" }, { 0x1cf10023, "deRFusbSniffer Sub-GHz" }, { 0x1cf10025, "deRFusb23E06" }, { 0x1cf10027, "deRFusb13E06" }, { 0x1cf10030, "ZigBee gateway [ConBee II]" }, { 0x1d030028, "iCreativ MIDI Controller" }, { 0x1d091026, "HSUPA Modem FLYING-LARK46-VER0.07 [Flying Angel]" }, { 0x1d0d0214, "Trans-It Drive" }, { 0x1d170001, "AXiS-49 Harmonic Table MIDI Keyboard" }, { 0x1d191101, "DK DVB-T Dongle" }, { 0x1d191102, "DK mini DVB-T Dongle" }, { 0x1d191103, "DK 5217 DVB-T Dongle" }, { 0x1d191104, "MSI DigiVox Micro HD" }, { 0x1d196105, "Video grabber" }, { 0x1d19610a, "Video grabber" }, { 0x1d198202, "DK DVBC/T DONGLE" }, { 0x1d270601, "Xtion" }, { 0x1d340001, "Fidget" }, { 0x1d340002, "Fidget (Basketball)" }, { 0x1d340003, "Fidget (Golf Ball)" }, { 0x1d340004, "Webmail Notifier" }, { 0x1d340008, "button" }, { 0x1d34000a, "Mailbox Friends Alert" }, { 0x1d34000d, "Big Red Button" }, { 0x1d340013, "LED Message Board" }, { 0x1d340020, "Stress Ball" }, { 0x1d451d45, "Foxlink Optical touch sensor" }, { 0x1d45459d, "BenQ F5" }, { 0x1d45465c, "Harrier Mini by EE" }, { 0x1d4d0002, "Ralink RT2770/2720 802.11b/g/n Wireless LAN Mini-USB Device" }, { 0x1d4d000c, "Ralink RT3070 802.11b/g/n Wireless Lan USB Device" }, { 0x1d4d000e, "Ralink RT3070 802.11b/g/n Wireless Lan USB Device" }, { 0x1d4d5035, "Pegatron Chagall (ADB)" }, { 0x1d4d5036, "Pegatron Chagall" }, { 0x1d4d504a, "Pegatron Hudl 2" }, { 0x1d501db5, "IDBG (DFU)" }, { 0x1d501db6, "IDBG" }, { 0x1d505117, "Neo1973/FreeRunner kernel usbnet (g_ether, CDC Ethernet) mode" }, { 0x1d505118, "Neo1973/FreeRunner Debug board (V2+)" }, { 0x1d505119, "Neo1973/FreeRunner u-boot cdc_acm serial port" }, { 0x1d50511a, "HXD8 u-boot usbtty CDC ACM Mode" }, { 0x1d50511b, "SMDK2440 u-boot usbtty CDC ACM mode" }, { 0x1d50511c, "SMDK2443 u-boot usbtty CDC ACM mode" }, { 0x1d50511d, "QT2410 u-boot usbtty CDC ACM mode" }, { 0x1d505120, "Neo1973/FreeRunner u-boot usbtty generic serial" }, { 0x1d505121, "Neo1973/FreeRunner kernel mass storage (g_storage) mode" }, { 0x1d505122, "Neo1973/FreeRunner kernel cdc_ether USB network" }, { 0x1d505123, "Neo1973/FreeRunner internal USB CSR4 module" }, { 0x1d505124, "Neo1973/FreeRunner Bluetooth Device ID service" }, { 0x1d505300, "Rockbox" }, { 0x1d50530e, "iriver H10 20GB (Rockbox)" }, { 0x1d50530f, "iriver H10 5/6GB (Rockbox)" }, { 0x1d505314, "Apple iPod Color/Photo (Rockbox)" }, { 0x1d505315, "Apple iPod Nano 1g (Rockbox)" }, { 0x1d505316, "Apple iPod Video (Rockbox)" }, { 0x1d505318, "Apple iPod 4g Grayscale (Rockbox)" }, { 0x1d505319, "Apple iPod Mini 1g (Rockbox)" }, { 0x1d50531a, "Apple iPod Mini 2g (Rockbox)" }, { 0x1d50531c, "Apple iPod Nano 2g (Rockbox)" }, { 0x1d50531d, "Apple iPod Classic/6G (Rockbox)" }, { 0x1d505321, "Cowon D2 (Rockbox)" }, { 0x1d505329, "Toshiba Gigabeat S (Rockbox)" }, { 0x1d505332, "Sandisk Sansa e200 series (Rockbox)" }, { 0x1d505334, "Sandisk Sansa c200 series (Rockbox)" }, { 0x1d505337, "Sandisk Sansa Clip (Rockbox)" }, { 0x1d505338, "Sandisk Sansa e200v2 series (Rockbox)" }, { 0x1d505339, "Sandisk Sansa m200 v4 series (Rockbox)" }, { 0x1d50533a, "Sandisk Sansa Fuze (Rockbox)" }, { 0x1d50533b, "Sandisk Sansa c200v2 series (Rockbox)" }, { 0x1d50533c, "Sandisk Sansa Clipv2 (Rockbox)" }, { 0x1d50533e, "Sandisk Sansa Clip+ (Rockbox)" }, { 0x1d50533f, "Sandisk Sansa Fuze v2 (Rockbox)" }, { 0x1d505340, "Sandisk Sansa Fuze+ (Rockbox)" }, { 0x1d505341, "Sandisk Sansa Zip (Rockbox)" }, { 0x1d505342, "Sandisk Sansa Connect (Rockbox)" }, { 0x1d505346, "Olympus M:Robe 500i (Rockbox)" }, { 0x1d505347, "Olympus m:robe MR-100 (Rockbox)" }, { 0x1d505359, "Creative Zen X-Fi Style (Rockbox)" }, { 0x1d50535d, "Creative Zen X-Fi2 (Rockbox)" }, { 0x1d50535e, "Creative Zen X-Fi3 (Rockbox)" }, { 0x1d505360, "Creative Zen X-Fi (Rockbox)" }, { 0x1d505361, "Creative ZEN Mozaic (Rockbox)" }, { 0x1d505362, "Creative Zen (Rockbox)" }, { 0x1d505364, "Philips GoGear SA9200 (Rockbox)" }, { 0x1d505365, "Philips GoGear HDD16x0 (Rockbox)" }, { 0x1d505366, "Philips GoGear HDD63x0 (Rockbox)" }, { 0x1d505378, "Onda VX747 (Rockbox)" }, { 0x1d505379, "Onda VX767 (Rockbox)" }, { 0x1d50537b, "Onda VX777 (Rockbox)" }, { 0x1d50538c, "Samsung YH-820 (Rockbox)" }, { 0x1d50538d, "Samsung YH-920 (Rockbox)" }, { 0x1d50538e, "Samsung YH-925 (Rockbox)" }, { 0x1d5053a0, "Packard Bell Vibe 500 (Rockbox)" }, { 0x1d5053b4, "Rockchip 27xx generic (Rockbox)" }, { 0x1d5053be, "HiFiMAN HM-60x (Rockbox)" }, { 0x1d5053bf, "HiFiMAN HM-801 (Rockbox)" }, { 0x1d5053d2, "HiFi E.T. MA9 (Rockbox)" }, { 0x1d5053d3, "HiFi E.T. MA9C (Rockbox)" }, { 0x1d5053d4, "HiFi E.T. MA8 (Rockbox)" }, { 0x1d5053d5, "HiFi E.T. MA8C (Rockbox)" }, { 0x1d5053dc, "Sony NWZ-E370/E380 series (Rockbox)" }, { 0x1d5053dd, "Sony NWZ-E360 series (Rockbox)" }, { 0x1d5053e6, "IHIFI 760 (Rockbox)" }, { 0x1d5053e7, "IHIFI 960 (Rockbox)" }, { 0x1d5053ff, "Generic Rockbox device" }, { 0x1d506000, "Ubertooth Zero" }, { 0x1d506001, "Ubertooth Zero (DFU)" }, { 0x1d506002, "Ubertooth One" }, { 0x1d506003, "Ubertooth One (DFU)" }, { 0x1d506004, "LeoLipo" }, { 0x1d506005, "LED Flower S" }, { 0x1d506006, "LED Cube" }, { 0x1d506007, "LED Flower" }, { 0x1d506008, "Kisbee 802.15.4 transceiver" }, { 0x1d506009, "Adjacent Reality Tracker" }, { 0x1d50600a, "AVR Programmer" }, { 0x1d50600b, "Hypna Go Go" }, { 0x1d50600c, "CatNip LPC1343 development board" }, { 0x1d50600d, "Enhanced RoboBrrd Brain board" }, { 0x1d50600e, "OpenRISC Ordb2a-ep4ce22 development board" }, { 0x1d50600f, "Paparazzi Lisa/M (DFU)" }, { 0x1d506010, "OpenPipe: OSHW Bagpipes MIDI controller" }, { 0x1d506011, "LeoLipo (DFU)" }, { 0x1d506012, "Universal C64 Cartridge" }, { 0x1d506013, "DiscFerret magnetic disc analyser (bootloader)" }, { 0x1d506014, "DiscFerret magnetic disc analyser" }, { 0x1d506015, "Smoothieboard" }, { 0x1d506016, "phInterface" }, { 0x1d506017, "Black Magic Debug Probe (DFU)" }, { 0x1d506018, "Black Magic Debug Probe (Application)" }, { 0x1d506019, "4pi 5 axis motion controller" }, { 0x1d50601a, "Paparazzi Lisa/M" }, { 0x1d50601b, "IST-2 chronograph for bullet speeds" }, { 0x1d50601c, "EPOSMote II" }, { 0x1d50601d, "UDS18B20 temperature sensor" }, { 0x1d50601e, "5x5 STM32 prototyping board" }, { 0x1d50601f, "uNSF" }, { 0x1d506020, "Toad3" }, { 0x1d506021, "AlphaSphere" }, { 0x1d506022, "LightPack" }, { 0x1d506023, "Pixelkit" }, { 0x1d506024, "Illucia" }, { 0x1d506025, "Keyglove (HID)" }, { 0x1d506026, "Keyglove (Serial)" }, { 0x1d506027, "Key64 Keyboard" }, { 0x1d506028, "Teensy 2.0 Development Board [ErgoDox Keyboard]" }, { 0x1d506029, "Marlin 2.0 (Serial)" }, { 0x1d50602a, "Marlin 2.0 (Mass Storage)" }, { 0x1d50602b, "FPGALink" }, { 0x1d50602c, "5nes5snes (5x8)" }, { 0x1d50602d, "5nes5snes (4x12)" }, { 0x1d50602e, "Flexibity" }, { 0x1d50602f, "K-copter" }, { 0x1d506030, "USB-oscope" }, { 0x1d506031, "Handmade GSM GPS tracker" }, { 0x1d506032, "ncrmnt.org uISP" }, { 0x1d506033, "frobiac / adnw keyboard" }, { 0x1d506034, "Tiflomag Ergo 2" }, { 0x1d506035, "FreeLaserTag Gun" }, { 0x1d506036, "FreeLaserTag Big Brother" }, { 0x1d506037, "FreeLaserTag Node" }, { 0x1d506038, "Monaka" }, { 0x1d506039, "eXtreme Feedback Device" }, { 0x1d50603a, "TiLDA" }, { 0x1d50603b, "Raspiface" }, { 0x1d50603c, "Paparazzi (bootloader)" }, { 0x1d50603d, "Paparazzi (Serial)" }, { 0x1d50603e, "Paparazzi (Mass Storage)" }, { 0x1d50603f, "airGuitar" }, { 0x1d506040, "moco" }, { 0x1d506041, "AlphaSphere (bootloader)" }, { 0x1d506042, "Dspace robot controller" }, { 0x1d506043, "pc-power" }, { 0x1d506044, "open-usb-can (DFU)" }, { 0x1d506045, "open-usb-can" }, { 0x1d506046, "mimus-weigand" }, { 0x1d506047, "RfCat Chronos Dongle" }, { 0x1d506048, "RfCat Dons Dongle" }, { 0x1d506049, "RfCat Chronos bootloader" }, { 0x1d50604a, "RfCat Dons bootloader" }, { 0x1d50604b, "HackRF Jawbreaker Software-Defined Radio" }, { 0x1d50604c, "Makibox A6" }, { 0x1d50604d, "Paella Pulse height analyzer" }, { 0x1d50604e, "Miniscope v2b" }, { 0x1d50604f, "Miniscope v2c" }, { 0x1d506050, "GoodFET" }, { 0x1d506051, "pinocc.io" }, { 0x1d506052, "APB Team Robotic Development Board" }, { 0x1d506053, "Darkgame Controller" }, { 0x1d506054, "Satlab/AAUSAT3 BlueBox" }, { 0x1d506055, "RADiuS ER900TRS-02 transceiver with SMA Connector" }, { 0x1d506056, "The Glitch" }, { 0x1d506057, "OpenPipe MIDI Shield" }, { 0x1d506058, "Novena OTG port" }, { 0x1d506059, "xser serial" }, { 0x1d50605a, "Daisho test" }, { 0x1d50605b, "RfCat YARD Stick One" }, { 0x1d50605c, "YARD Stick One bootloader" }, { 0x1d50605d, "Funky Sensor v2" }, { 0x1d50605e, "Blinkiverse Analog LED Fader" }, { 0x1d50605f, "Small DIP package Cypress FX2" }, { 0x1d506060, "Data logger using the Cypress FX2" }, { 0x1d506061, "Power Manager" }, { 0x1d506062, "WhiteRabbit console and Wishbone bridge" }, { 0x1d506063, "CPC FPGA" }, { 0x1d506064, "CPC FPGA (DFU)" }, { 0x1d506065, "CPC FPGA (Serial)" }, { 0x1d506066, "Nuand BladeRF" }, { 0x1d506067, "Orbotron 9000 (Serial)" }, { 0x1d506068, "Orbotron 9000 (HID)" }, { 0x1d506069, "xser (DFU)" }, { 0x1d50606a, "xser (legacy)" }, { 0x1d50606b, "S08-245, urJtag compatible firmware for S08JS" }, { 0x1d50606c, "Blinkytape full-color light tape" }, { 0x1d50606d, "TinyG open source motion controller" }, { 0x1d50606e, "Reefangel Evolution 1.0" }, { 0x1d50606f, "Geschwister Schneider CAN adapter" }, { 0x1d506070, "Open Pinball Project" }, { 0x1d506071, "The Glitch HID" }, { 0x1d506072, "The Glitch Disk" }, { 0x1d506073, "The Glitch Serial" }, { 0x1d506074, "The Glitch MIDI" }, { 0x1d506075, "The Glitch RawHID" }, { 0x1d506076, "Vultureprog BIOS chip programmer" }, { 0x1d506077, "PaintDuino" }, { 0x1d506078, "DTplug" }, { 0x1d506079, "Mood Light" }, { 0x1d50607a, "Fadecandy" }, { 0x1d50607b, "RCDongle for IR remote control" }, { 0x1d50607c, "OpenVizsla USB sniffer/analyzer" }, { 0x1d50607d, "Spark Core Arduino-compatible board with WiFi" }, { 0x1d50607e, "OSHUG Wuthering multi-tool" }, { 0x1d50607f, "Spark Core Arduino-compatible board with WiFi (bootloader)" }, { 0x1d506080, "arcin arcade controller" }, { 0x1d506081, "BladeRF (bootloader)" }, { 0x1d506082, "Facecandy (DFU)" }, { 0x1d506083, "LightUp (bootloader)" }, { 0x1d506084, "arcin arcade controller (DFU)" }, { 0x1d506085, "IRKit for controlloing home electronics from iOS devices" }, { 0x1d506086, "OneRNG entropy device" }, { 0x1d506087, "Blinkytape (alternate endpoint config)" }, { 0x1d506088, "picp PIC16F145x based PIC16F145x programmer" }, { 0x1d506089, "Great Scott Gadgets HackRF One SDR" }, { 0x1d50608a, "BLEduino" }, { 0x1d50608b, "Loctronix ASR-2300 SDR/motion sensing module" }, { 0x1d50608c, "Fx2lafw" }, { 0x1d50608d, "Fx2lafw" }, { 0x1d50608e, "Fx2lafw" }, { 0x1d50608f, "Fx2lafw" }, { 0x1d506090, "Fx2lafw" }, { 0x1d506091, "Fx2lafw" }, { 0x1d506092, "Fx2lafw" }, { 0x1d506093, "Fx2lafw" }, { 0x1d506094, "Fx2lafw" }, { 0x1d506095, "Fx2lafw" }, { 0x1d506096, "LightUp (sketch)" }, { 0x1d506097, "Tessel JavaScript enabled Microcontroller with built-in WiFi" }, { 0x1d506098, "RFIDler" }, { 0x1d506099, "RASDR Radio Astronomy SDR Rx Interface" }, { 0x1d50609a, "RASDR Radio Astronomy SDR Tx Interface" }, { 0x1d50609b, "RASDR Radio Astronomy SDR (bootloader)" }, { 0x1d50609c, "antiAFK keyboard" }, { 0x1d50609d, "PIC16F145x bootloader" }, { 0x1d50609e, "Clyde Lamp by Fabule (bootloader)" }, { 0x1d50609f, "Clyde Lamp by Fabule (sketch)" }, { 0x1d5060a0, "Smoothiepanel robotic control interface" }, { 0x1d5060a1, "Airspy" }, { 0x1d5060a2, "barebox (DFU)" }, { 0x1d5060a3, "keyboard (bootloader)" }, { 0x1d5060a4, "Papilio Duo (AVR)" }, { 0x1d5060a5, "Papilio Duo (FPGA)" }, { 0x1d5060a6, "HydraBus/HydraNFC (bootloader)" }, { 0x1d5060a7, "HydraBus/HydraNFC" }, { 0x1d5060a8, "reserved" }, { 0x1d5060a9, "Blinky Light Controller (DFU)" }, { 0x1d5060aa, "Blinky Light Controller" }, { 0x1d5060ab, "AllPixel" }, { 0x1d5060ac, "OpenBLT generic microcontroller (bootloader)" }, { 0x1d5060ad, "Clasic Gamepad Adapter (NES)" }, { 0x1d5060ae, "Clasic Gamepad Adapter (N64)" }, { 0x1d5060af, "Clasic Gamepad Adapter (DB9)" }, { 0x1d5060b0, "Waterott Arduino based Clock (caterina bootloader)" }, { 0x1d5060b1, "Drinkbot (processing)" }, { 0x1d5060b2, "Drinkbot (OTG-tablet support)" }, { 0x1d5060b3, "calc.pw password generator device (standard)" }, { 0x1d5060b4, "calc.pw password generator device (enhanced)" }, { 0x1d5060b5, "TimVideos' HDMI2USB (FX2) - Unconfigured device" }, { 0x1d5060b6, "TimVideos' HDMI2USB (FX2) - Firmware load/upgrade" }, { 0x1d5060b7, "TimVideos' HDMI2USB (FX2) - HDMI/DVI Capture Device" }, { 0x1d5060b8, "TimVideos' HDMI2USB (Soft+UTMI) - Unconfigured device" }, { 0x1d5060b9, "TimVideos' HDMI2USB (Soft+UTMI) - Firmware upgrade" }, { 0x1d5060ba, "TimVideos' HDMI2USB (Soft+UTMI) - HDMI/DVI Capture Device" }, { 0x1d5060bc, "Simple CC25xx programmer / serial board" }, { 0x1d5060bd, "Open Source control interface for multimedia applications" }, { 0x1d5060be, "Pixelmatix Aurora (bootloader)" }, { 0x1d5060bf, "Pixelmatix Aurora" }, { 0x1d5060c0, "Nucular Keyboard adapter" }, { 0x1d5060c1, "BrewBit Model-T pOSHW temperature controller for homebrewers (bootloader)" }, { 0x1d5060c2, "BrewBit Model-T pOSHW temperature controller for homebrewers" }, { 0x1d5060c3, "X Antenna Tracker arduino board" }, { 0x1d5060c4, "CAN bus communication device" }, { 0x1d5060c5, "PIC16F1 bootloader" }, { 0x1d5060c6, "USBtrng hardware random number generator" }, { 0x1d5060c7, "Zubax GNSS positioning module for light UAV systems" }, { 0x1d5060c8, "Xlink data transfer and control system for Commodore C64" }, { 0x1d5060c9, "random number generator" }, { 0x1d5060ca, "FinalKey password manager" }, { 0x1d5060cb, "PteroDAQ Data Acquisition on FRDM-KL25Z and future boards" }, { 0x1d5060cc, "LamDiNao" }, { 0x1d5060cd, "Open Lighting DMX512 / RDM widget" }, { 0x1d5060de, "Cryptech.is random number generator" }, { 0x1d5060df, "Numato Opsis HDMI2USB board (unconfigured)" }, { 0x1d5060e0, "Numato Opsis HDMI2USB board (JTAG Programming Mode)" }, { 0x1d5060e1, "Numato Opsis HDMI2USB board (User Mode)" }, { 0x1d5060e2, "Osmocom SIMtrace 2 (DFU)" }, { 0x1d5060e3, "Osmocom SIMtrace 2" }, { 0x1d5060e4, "3D printed racing game - (Catalina CDC bootloader)" }, { 0x1d5060e5, "3D printed racing game" }, { 0x1d5060e6, "replacement for GoodFET/FaceDancer - GreatFet" }, { 0x1d5060e7, "replacement for GoodFET/FaceDancer - GreatFet target" }, { 0x1d5060e8, "Alpen Clack keyboard" }, { 0x1d5060e9, "keyman64 keyboard itercepter" }, { 0x1d5060ea, "Wiggleport FPGA-based I/O board" }, { 0x1d5060eb, "candleLight CAN adapter" }, { 0x1d5060ec, "Duet 2 WiFi or Duet 2 Ethernet 3D printer control electronics" }, { 0x1d5060ed, "Duet 2 Maestro 3D printer control electronics" }, { 0x1d5060ee, "Duet 3 motion control electronics" }, { 0x1d5060f0, "UDAD-T1 data acquisition device (boot)" }, { 0x1d5060f1, "UDAD-T1 data acquisition device" }, { 0x1d5060f2, "UDAD-T2 data acquisition device (boot)" }, { 0x1d5060f3, "UDAD-T2 data acquisition device" }, { 0x1d5060f4, "Uniti ARC motor controller" }, { 0x1d5060f5, "EightByEight Blinky Badge (DFU)" }, { 0x1d5060f6, "EightByEight Blinky Badge" }, { 0x1d5060f7, "cardio NFC/RFID card reader (bootloader)" }, { 0x1d5060f8, "cardio NFC/RFID card reader" }, { 0x1d5060fc, "OnlyKey Two-factor Authentication and Password Solution" }, { 0x1d506100, "overlay64 video overlay module" }, { 0x1d506104, "ScopeFun open source instrumentation" }, { 0x1d506108, "Myriad-RF LimeSDR" }, { 0x1d50610c, "Magic Keys (boot)" }, { 0x1d50610d, "Magic Keys" }, { 0x1d506114, "MIDI key" }, { 0x1d506118, "Thomson MO5 keyboard" }, { 0x1d506122, "Ultimate Hacking Keyboard" }, { 0x1d50614c, "dwtk In-Circuit Emulator" }, { 0x1d50614d, "Generic Display" }, { 0x1d508085, "Box0 (box0-v5)" }, { 0x1d50cc15, "rad1o badge for CCC summer camp 2015" }, { 0x1d570005, "Wireless Receiver (Keyboard and Mouse)" }, { 0x1d570006, "Wireless Receiver (RC Laser Pointer)" }, { 0x1d57000c, "Optical Mouse" }, { 0x1d57130f, "2.4Ghz wireless optical mouse receiver" }, { 0x1d572400, "Wireless Mouse Receiver" }, { 0x1d5732da, "2.4GHz Receiver (Keyboard and Mouse)" }, { 0x1d5783d0, "Click-mouse!" }, { 0x1d57ac01, "Wireless Receiver (Keyboard and Mouse)" }, { 0x1d57ac02, "ViFit Activity Tracker" }, { 0x1d57ac08, "RFID Receiver (Keyboard)" }, { 0x1d57ad02, "SE340D PC Remote Control" }, { 0x1d57ad03, "[T3] 2.4GHz and IR Air Mouse Remote Control" }, { 0x1d57af01, "AUVIO Universal Remote Receiver for PlayStation 3" }, { 0x1d57af03, "Wireless Receiver" }, { 0x1d57fa20, "2.4GHz Wireless Receiver (Mini Keyboard & Mouse)" }, { 0x1d5c2000, "FL2000/FL2000DX VGA/DVI/HDMI Adapter" }, { 0x1d6b0001, "1.1 root hub" }, { 0x1d6b0002, "2.0 root hub" }, { 0x1d6b0003, "3.0 root hub" }, { 0x1d6b0100, "PTP Gadget" }, { 0x1d6b0101, "Audio Gadget" }, { 0x1d6b0102, "EEM Gadget" }, { 0x1d6b0103, "NCM (Ethernet) Gadget" }, { 0x1d6b0104, "Multifunction Composite Gadget" }, { 0x1d6b0105, "FunctionFS Gadget" }, { 0x1d6b0200, "Qemu Audio Device" }, { 0x1d880001, "Measurement Device [MarECon]" }, { 0x1d880002, "Probe" }, { 0x1d880003, "Surface Measurement [PS10]" }, { 0x1d90201e, "PPU-700" }, { 0x1d902037, "CL-S631 Barcode Printer" }, { 0x1d9020f0, "Thermal Receipt Printer [CT-E351]" }, { 0x1d9d1010, "Docking Station Topline 2009" }, { 0x1d9d1011, "Docking Station Topline 2012" }, { 0x1d9d1012, "Docking Station Topline 2016" }, { 0x1dd30001, "Expert I/O 1000" }, { 0x1de11101, "Generic Display Device (Mass storage mode)" }, { 0x1de1c101, "Generic Display Device" }, { 0x1df72500, "RSP1" }, { 0x1df73000, "RSP1a" }, { 0x1df73010, "RSP2/RSP2pro" }, { 0x1df73020, "RSPduo" }, { 0x1df73030, "RSPdx" }, { 0x1e0a1001, "Nox A1" }, { 0x1e0ef000, "iCON 210 UMTS Surfstick" }, { 0x1e102004, "Sony 1.3MP 1/3\" ICX445 IIDC video camera [Chameleon]" }, { 0x1e170001, "instadose dosimeter" }, { 0x1e1d0165, "Secure Pen drive" }, { 0x1e1d1101, "FlashBlu Flash Drive" }, { 0x1e290101, "CPX Adapter" }, { 0x1e290102, "CPX Adapter >=HW10.09 [CP2102]" }, { 0x1e290401, "iL3-TP [AT90USB646]" }, { 0x1e290402, "FTDI232 [EasyPort]" }, { 0x1e290403, "FTDI232 [EasyPort Mini]" }, { 0x1e290404, "FTDI232 [Netzteil-GL]" }, { 0x1e290405, "FTDI232 [MotorPr\303\274fstand]" }, { 0x1e290406, "STM32F103 [EasyKit]" }, { 0x1e290407, "LPC2378 [Robotino]" }, { 0x1e290408, "LPC2378 [Robotino-Arm]" }, { 0x1e290409, "LPC2378 [Robotino-Arm Bootloader]" }, { 0x1e29040a, "LPC2378 [Robotino Bootloader]" }, { 0x1e29040b, "LPC2378 [Robotino XT]" }, { 0x1e29040c, "LPC2378 [Robotino XT Bootloader]" }, { 0x1e29040d, "LPC2378 [Robotino 3]" }, { 0x1e29040e, "LPC2378 [Robotino 3 Bootloader]" }, { 0x1e29040f, "LPC2148 [Robotino gripper]" }, { 0x1e290410, "LPC2148 [Robotino IR panel]" }, { 0x1e290501, "CP2102 [CMSP]" }, { 0x1e290601, "CMMP-AS" }, { 0x1e290602, "FTDI232 [CMMS]" }, { 0x1e2d004f, "EGS3 GSM/GPRS modem" }, { 0x1e2d0054, "PH8 wireless module" }, { 0x1e2d0058, "Wireless Module [Cinterion EHS6]" }, { 0x1e2d0059, "Wireless Module [Cinterion BGx]" }, { 0x1e2d005b, "Zoom 4625 Modem" }, { 0x1e2d0061, "ALSx PLSx LTE modem" }, { 0x1e2d00a0, "Cinterion ELS31-V" }, { 0x1e3d198a, "Flash Disk" }, { 0x1e3d2093, "CBM209x Flash Drive (OEM)" }, { 0x1e3d4082, "CBM4082 SD Card Reader" }, { 0x1e410001, "CS328A PC Oscilloscope" }, { 0x1e410004, "CS448" }, { 0x1e447220, "SM-BCR2" }, { 0x1e4e0100, "WebCam" }, { 0x1e4e0102, "GL-UPC822 UVC WebCam" }, { 0x1e4e0109, "EtronTech CMOS based eSP570 WebCam [Onyx Titanium TC101]" }, { 0x1e530005, "Conceptronic CMTD2" }, { 0x1e530006, "O2 Sistemas ZoltarTV" }, { 0x1e530007, "Wyplay Wyplayer" }, { 0x1e542030, "2030 USB Keyboard" }, { 0x1e680002, "TrekStor i.Beat Organix 2.0" }, { 0x1e68001b, "DataStation maxi g.u" }, { 0x1e68004c, "DataStation Pocket Click" }, { 0x1e680050, "DataStation maxi light" }, { 0x1e681002, "iRiver Tolino Tab 7" }, { 0x1e681007, "iRiver Tolino Tab 8" }, { 0x1e681045, "Trekstor SurfTab breeze 7.0 quad 3G" }, { 0x1e681046, "ST70408-3 [SurfTab breeze 7.0 quad 3G] (PTP Mode)" }, { 0x1e710001, "Avatar Optical Mouse" }, { 0x1e71170e, "Kraken X" }, { 0x1e711711, "Grid+ V3" }, { 0x1e711714, "Smart Device" }, { 0x1e711715, "Kraken M22" }, { 0x1e712006, "Smart Device V2" }, { 0x1e742211, "MP300" }, { 0x1e742647, "2 GB 2 Go Video MP3 Player [MP601-2G]" }, { 0x1e742659, "Coby 4GB Go Video MP3 Player [MP620-4G]" }, { 0x1e744641, "A8705 MP3/Video Player" }, { 0x1e746511, "MP705-8G MP3 player" }, { 0x1e746512, "Coby COBY MP705" }, { 0x1e747111, "MP957 Music and Video Player" }, { 0x1e7b0002, "HF2" }, { 0x1e7b0003, "UHF" }, { 0x1e7b0004, "MFLI" }, { 0x1e7d2c24, "Pyra Mouse (wired)" }, { 0x1e7d2c2e, "Lua Mouse" }, { 0x1e7d2c38, "Kiro Mouse" }, { 0x1e7d2ced, "Kone Mouse" }, { 0x1e7d2cee, "Kova 2016 Gray Mouse" }, { 0x1e7d2cef, "Kova 2016 White Mouse" }, { 0x1e7d2cf0, "Kova 2016 Black Mouse" }, { 0x1e7d2cf6, "Pyra Mouse (wireless)" }, { 0x1e7d2d50, "Kova[+] Mouse" }, { 0x1e7d2d51, "Kone[+] Mouse" }, { 0x1e7d2d5a, "Savu Mouse" }, { 0x1e7d2db4, "Kone Pure Optical Mouse" }, { 0x1e7d2dbe, "Kone Pure Mouse" }, { 0x1e7d2dbf, "Kone Pure Military Mouse" }, { 0x1e7d2dc2, "Kone Pure Optical Black Mouse" }, { 0x1e7d2dcb, "Kone Pure SE(L) Mouse" }, { 0x1e7d2e22, "Kone XTD Mouse" }, { 0x1e7d2e23, "Kone XTD Optical Mouse" }, { 0x1e7d2e27, "Kone AIMO Mouse" }, { 0x1e7d2e4a, "Tyon Black Mouse" }, { 0x1e7d2e4b, "Tyon White Mouse" }, { 0x1e7d2e7c, "Nyth Black Mouse" }, { 0x1e7d2e7d, "Nyth White Mouse" }, { 0x1e7d2f76, "Sova Keyboard" }, { 0x1e7d2f94, "Sova MK Keyboard" }, { 0x1e7d2fa8, "Suora Keyboard" }, { 0x1e7d2fc6, "Skeltr Keyboard" }, { 0x1e7d2fda, "Ryos MK FX Keyboard" }, { 0x1e7d30d4, "Arvo Keyboard" }, { 0x1e7d3138, "Ryos MK Keyboard" }, { 0x1e7d316a, "Ryos TKL Keyboard" }, { 0x1e7d319c, "Isku Keyboard" }, { 0x1e7d31ce, "Ryos MK Glow Keyboard" }, { 0x1e7d3232, "Ryos MK Pro Keyboard" }, { 0x1e7d3246, "Suora FX Keyboard" }, { 0x1e7d3264, "Isku FX Keyboard" }, { 0x1e8e6001, "P8GR" }, { 0x1e91b0b1, "miniStack" }, { 0x1ea70030, "Trust GXT 158 Orna Laser Gaming Mouse" }, { 0x1ea70064, "2.4GHz Wireless rechargeable vertical mouse [More&Better]" }, { 0x1ea70066, "[Mediatrack Edge Mini Keyboard]" }, { 0x1ea70907, "Keyboard" }, { 0x1ea71002, "Vintorez Gaming Mouse" }, { 0x1ea72007, "SHARK ZONE K30 Illuminated Gaming Keyboard" }, { 0x1eab0103, "HR200 Barcode scanner engine (HID keyboard)" }, { 0x1eab0106, "HR200 Barcode scanner engine (Serial CDC)" }, { 0x1eab0110, "HR200 Barcode scanner engine (HID Pos)" }, { 0x1eab0c03, "HR100/HR3260 cordless/HR3290 cordless/BS80 Barcode scanner engine (HID keyboard)" }, { 0x1eab0c06, "HR100/HR3260 cordless/HR3290 cordless/BS80 Barcode scanner engine (USB Serial CDC)" }, { 0x1eab0c10, "HR100/HR3260 cordless/HR3290 cordless/BS80 Barcode scanner engine (HID Pos)" }, { 0x1eab0d03, "EM2028 Barcode scanner engine (HID keyboard)" }, { 0x1eab0d06, "EM2028 Barcode scanner engine (Serial CDC)" }, { 0x1eab0d10, "EM2028 Barcode scanner engine (HID Pos)" }, { 0x1eab1303, "EM30xx/EM20xx/HR3260 corded/HR200C Barcode scanner engine (HID keyboard)" }, { 0x1eab1306, "EM30xx/EM20xx/HR3260 corded/HR200C Barcode scanner engine (USB serial CDC)" }, { 0x1eab1310, "EM30xx/EM20xx/HR3260 corded/HR200C Barcode scanner engine (HID Pos)" }, { 0x1eab1403, "HR15-xx Barcode scanner engine (HID keyboard)" }, { 0x1eab1406, "HR15-xx Barcode scanner engine (Serial CDC)" }, { 0x1eab1410, "HR15-xx Barcode scanner engine (HID Pos)" }, { 0x1eab1603, "FM100-M/3250 Barcode scanner engine (HID keyboard)" }, { 0x1eab1606, "FM100-M/3250 Barcode scanner engine (Serial CDC)" }, { 0x1eab1610, "FM100-M/3250 Barcode scanner engine (HID Pos)" }, { 0x1eab1903, "EM1300 Barcode scanner engine (HID keyboard)" }, { 0x1eab1906, "EM1300 Barcode scanner engine (Serial CDC)" }, { 0x1eab1910, "EM1300 Barcode scanner engine (HID Pos)" }, { 0x1eab1a03, "HR3290 corded/HR22 Barcode scanner engine (HID keyboard)" }, { 0x1eab1a06, "HR3290 corded/HR22 Barcode scanner engine (Serial CDC)" }, { 0x1eab1a10, "HR3290 corded/HR22 Barcode scanner engine (HID Pos)" }, { 0x1eab1c03, "HR2150 Barcode scanner engine (HID keyboard)" }, { 0x1eab1c06, "HR2150 Barcode scanner engine (Serial CDC)" }, { 0x1eab1c10, "HR2150 Barcode scanner engine (HID Pos)" }, { 0x1eab1d03, "FM430 Barcode scanner engine (HID keyboard)" }, { 0x1eab1d06, "FM430 Barcode scanner engine (Serial CDC)" }, { 0x1eab1d10, "FM430 Barcode scanner engine (HID Pos)" }, { 0x1eab1e03, "HR42 Barcode scanner engine (HID keyboard)" }, { 0x1eab1e06, "HR42 Barcode scanner engine (Serial CDC)" }, { 0x1eab1e10, "HR42 Barcode scanner engine (HID Pos)" }, { 0x1eab1f03, "HR11+ Barcode scanner engine (HID keyboard)" }, { 0x1eab1f06, "HR11+ Barcode scanner engine (Serial CDC)" }, { 0x1eab1f10, "HR11+ Barcode scanner engine (HID Pos)" }, { 0x1eab2003, "EM2037v2 Barcode scanner engine (HID keyboard)" }, { 0x1eab2006, "EM2037v2 Barcode scanner engine (Serial CDC)" }, { 0x1eab2010, "EM2037v2 Barcode scanner engine (HID Pos)" }, { 0x1eab8003, "EM13x5-LD/HR15-70/HR100-70/HR12/HR1150-70 Barcode scanner engine (HID keyboard)" }, { 0x1eab8006, "EM13x5-LD/HR15-70/HR100-70/HR12/HR1150-70 Barcode scanner engine (USB Serial CDC)" }, { 0x1eab8010, "EM13x5-LD/HR15-70/HR100-70/HR12/HR1150-70 Barcode scanner engine (HID Pos)" }, { 0x1eab8203, "EM3080-01/EM3095/FR20/FM30 Barcode scanner engine (HID keyboard)" }, { 0x1eab8206, "EM3080-01/EM3095/FR20/FM30 Barcode scanner engine (USB Serial CDC)" }, { 0x1eab8210, "EM3080-01/EM3095/FR20/FM30 Barcode scanner engine (HID Pos)" }, { 0x1eab8303, "HR2160 Barcode scanner engine (HID keyboard)" }, { 0x1eab8306, "HR2160 Barcode scanner engine (Serial CDC)" }, { 0x1eab8310, "HR2160 Barcode scanner engine (HID Pos)" }, { 0x1eaf0003, "Maple DFU interface" }, { 0x1eaf0004, "Maple serial interface" }, { 0x1eb87f00, "MW-U3500 WiMAX adapter" }, { 0x1ebf7029, "Coolpad 801ES" }, { 0x1ebf7f29, "YU Yureka Vodafone smart turbo 4" }, { 0x1ecb02e2, "JMR1140 [Jiofi]" }, { 0x1ed80004, "Mustang I/II" }, { 0x1ed80005, "Mustang III/IV/V" }, { 0x1ed80006, "Mustang I/II [Firmware Update]" }, { 0x1ed80007, "Mustang III/IV/V [Firmware Update]" }, { 0x1ed80010, "Mustang Mini" }, { 0x1ed80011, "Mustang Mini [Firmware Update]" }, { 0x1ed80014, "Mustang I (V.2)" }, { 0x1ed80016, "Mustang IV v.2" }, { 0x1eda2012, "Air2210 54 Mbps Wireless Adapter" }, { 0x1eda2210, "Air2210 54 Mbps Wireless Adapter" }, { 0x1eda2310, "Air2310 150 Mbps Wireless Adapter" }, { 0x1eda2410, "Air2410 300 Mbps Wireless Adapter" }, { 0x1edbbd3b, "Intensity Shuttle" }, { 0x1edbbd46, "Mini Converter Analog to SDI" }, { 0x1edbbd75, "2.5K Cinema Camera (BMCC)" }, { 0x1ee80014, "MT833UP" }, { 0x1ef62233, "Cassidian NH90 STTE" }, { 0x1ef65064, "FDR Interface" }, { 0x1ef65523, "Cassidian SSDC Adapter II" }, { 0x1ef65545, "Cassidian SSDC Adapter III" }, { 0x1ef65648, "RIU CSMU/BSD" }, { 0x1ef6564a, "Cassidian RIU CSMU/BSD Simulator" }, { 0x1f0c2000, "HP StreamSmart 410 [NW278AA]" }, { 0x1f280020, "CDMA USB Modem A600" }, { 0x1f280021, "CD INSTALLER USB Device" }, { 0x1f3a0c02, "DigiLand DL701Q" }, { 0x1f3a1000, "Prestigio PER3464B ebook reader (Mass storage mode)" }, { 0x1f3a1002, "mediacom XPRO 415" }, { 0x1f3a1006, "Kurio 7S" }, { 0x1f3a1007, "iRulu X1s" }, { 0x1f3a1010, "Android device in fastboot mode" }, { 0x1f3aefe8, "sunxi SoC OTG connector in FEL/flashing mode" }, { 0x1f440001, "NM-1000 scanner" }, { 0x1f480627, "Data capturing system" }, { 0x1f480628, "Data capturing and control module" }, { 0x1f4da115, "EVOLVEO XtraTV stick [DVB-T]" }, { 0x1f4db803, "Lifeview LV5TDLX DVB-T [RTL2832U]" }, { 0x1f4dc803, "NotOnlyTV (Lifeview) LV5TDLX DVB-T [RTL2832U]" }, { 0x1f4dd220, "Geniatech T220 DVB-T2 TV Stick" }, { 0x1f520001, "Ultima 49 Printer" }, { 0x1f520002, "Ultima 90 Printer" }, { 0x1f520003, "FormsPro 50 Printer" }, { 0x1f520004, "Ultima 90+ Printer" }, { 0x1f6f0023, "Jawbone Jambox" }, { 0x1f6f8000, "Jawbone Jambox - Updating" }, { 0x1f750611, "IS611 SATA/PATA Bridge Controller" }, { 0x1f750621, "IS621 SATA Storage Controller" }, { 0x1f750888, "IS888 SATA Storage Controller" }, { 0x1f750902, "IS902 UFD controller" }, { 0x1f750916, "IS916 Flash Drive" }, { 0x1f750917, "IS917 Mass storage" }, { 0x1f750918, "IS918 Flash Drive" }, { 0x1f820001, "PrecisionHD Camera" }, { 0x1f841f7e, "Lateral Flow Engine" }, { 0x1f870002, "Multi-touch HID Controller" }, { 0x1f9b0241, "AirView2-EXT" }, { 0x1f9bb0b1, "UniFi VoIP Phone" }, { 0x1fab104d, "ES65" }, { 0x1fac0232, "U770 3G/4G Wimax/4G LTE Modem" }, { 0x1fae0040, "M311 Fingerprint Scanner" }, { 0x1fae212c, "M30x (Mercury) fingerprint sensor" }, { 0x1fb20001, "Wi-Fi Body Scale (WBS01)" }, { 0x1fbd0001, "Expert Key - Data acquisition system" }, { 0x1fbd0004, "MetiOS Device (RNDIS)" }, { 0x1fbd0005, "Loggito" }, { 0x1fbd0006, "LoggitoLab 8 AI-RTD" }, { 0x1fbd0007, "LoggitoLab 8 TC" }, { 0x1fbd0008, "LoggitoLab 4 AI-RTD 4 TC" }, { 0x1fc90003, "LPC1343" }, { 0x1fc9000c, "LPC4330FET180 [ARM Cortex M4 + M0] (device firmware upgrade mode)" }, { 0x1fc90082, "LPC4330FET180 [ARM Cortex M4 + M0] (mass storage controller mode)" }, { 0x1fc9010b, "PR533" }, { 0x1fc90126, "i.MX 7ULP SystemOnChip in RecoveryMode" }, { 0x1fc9012b, "i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloader" }, { 0x1fc95002, "PTN5002 [Startech VGA/DVI-D adapter]" }, { 0x1fc98124, "SharkRF Bootloader" }, { 0x1fc9824c, "LumiNode1" }, { 0x1fde0001, "UART Bridge" }, { 0x1fe71000, "VW100 series CDMA EV-DO Rev.A modem" }, { 0x1ff70013, "CVTouch Screen (HID)" }, { 0x1ff7001a, "Human Interface Device" }, { 0x1ffb0081, "AVR Programmer" }, { 0x1ffb0083, "Jrk 21v3 Motor Controller" }, { 0x1ffb0089, "Micro Maestro 6-Servo Controller" }, { 0x1ffb008a, "Mini Maestro 12-Channel Servo Controller" }, { 0x1ffb008b, "Mini Maestro 18-Channel Servo Controller" }, { 0x1ffb008c, "Mini Maestro 24-Channel Servo Controller" }, { 0x1ffb00b0, "AVR Programmer v2" }, { 0x20001f0c, "HP StreamSmart 410 [NW278AA]" }, { 0x20010001, "DWL-120 WIRELESS ADAPTER" }, { 0x20010201, "DHN-120 10Mb Home Phoneline Adapter" }, { 0x20011a00, "DUB-E100 Fast Ethernet Adapter(rev.A) [ASIX AX88172]" }, { 0x20011a02, "DUB-E100 Fast Ethernet Adapter(rev.C1) [ASIX AX88772]" }, { 0x2001200c, "10/100 Ethernet" }, { 0x20013101, "DWA-182 AC1200 DB Wireless Adapter(rev.A1) [Broadcom BCM43526]" }, { 0x20013200, "DWL-120 802.11b Wireless Adapter(rev.E1) [Atmel at76c503a]" }, { 0x20013301, "DWA-130 802.11n Wireless N Adapter(rev.C1) [Realtek RTL8192U]" }, { 0x20013306, "DWL-G122 Wireless Adapter(rev.F1) [Realtek RTL8188SU]" }, { 0x20013308, "DWA-121 802.11n Wireless N 150 Pico Adapter [Realtek RTL8188CUS]" }, { 0x20013309, "DWA-135 802.11n Wireless N Adapter(rev.A1) [Realtek RTL8192CU]" }, { 0x2001330a, "DWA-133 802.11n Wireless N Adapter [Realtek RTL8192CU]" }, { 0x2001330d, "DWA-131 802.11n Wireless N Nano Adapter (rev.B1) [Realtek RTL8192CU]" }, { 0x2001330f, "DWA-125 Wireless N 150 Adapter(rev.D1) [Realtek RTL8188ETV]" }, { 0x20013310, "DWA-123 Wireless N 150 Adapter (rev.D1)" }, { 0x20013314, "DWA-171 AC600 DB Wireless Adapter(rev.A1) [Realtek RTL8811AU]" }, { 0x20013315, "DWA-182 Wireless AC Dualband Adapter(rev.C) [Realtek RTL8812AU]" }, { 0x20013317, "DWA-137 Wireless N High-Gain Adapter [Ralink RT5372]" }, { 0x20013319, "DWA-131 Wireless N Nano Adapter (Rev. E1) [Realtek RTL8192EU]" }, { 0x20013500, "Elitegroup Computer Systems WLAN card WL-162" }, { 0x20013700, "DWL-122 802.11b [Intersil Prism 3]" }, { 0x20013701, "DWL-G120 Spinnaker 802.11g [Intersil ISL3886]" }, { 0x20013702, "DWL-120 802.11b Wireless Adapter(rev.F) [Intersil ISL3871]" }, { 0x20013703, "AirPlus G DWL-G122 Wireless Adapter(rev.A1) [Intersil ISL3880]" }, { 0x20013704, "AirPlus G DWL-G122 Wireless Adapter(rev.A2) [Intersil ISL3887]" }, { 0x20013705, "AirPlus G DWL-G120 Wireless Adapter(rev.C) [Intersil ISL3887]" }, { 0x20013761, "IEEE 802.11g USB2.0 Wireless Network Adapter-PN" }, { 0x20013a00, "DWL-AG132 [Atheros AR5523]" }, { 0x20013a01, "DWL-AG132 (no firmware) [Atheros AR5523]" }, { 0x20013a02, "DWL-G132 [Atheros AR5523]" }, { 0x20013a03, "DWL-G132 (no firmware) [Atheros AR5523]" }, { 0x20013a04, "DWL-AG122 [Atheros AR5523]" }, { 0x20013a05, "DWL-AG122 (no firmware) [Atheros AR5523]" }, { 0x20013a80, "AirPlus Xtreme G DWL-G132 Wireless Adapter" }, { 0x20013a81, "predator Bootloader Download" }, { 0x20013a82, "AirPremier AG DWL-AG132 Wireless Adapter" }, { 0x20013a83, "predator Bootloader Download" }, { 0x20013b00, "AirPlus DWL-120+ Wireless Adapter [Texas Instruments ACX100USB]" }, { 0x20013b01, "WLAN Boot Device" }, { 0x20013c00, "AirPlus G DWL-G122 Wireless Adapter(rev.B1) [Ralink RT2571]" }, { 0x20013c01, "AirPlus AG DWL-AG122 Wireless Adapter" }, { 0x20013c02, "AirPlus G DWL-G122 Wireless Adapter" }, { 0x20013c05, "DUB-E100 Fast Ethernet Adapter(rev.B1) [ASIX AX88772]" }, { 0x20013c15, "DWA-140 RangeBooster N Adapter(rev.B3) [Ralink RT5372]" }, { 0x20013c17, "DWA-123 Wireless N 150 Adapter(rev.A1) [Ralink RT3370]" }, { 0x20013c19, "DWA-125 Wireless N 150 Adapter(rev.A3) [Ralink RT5370]" }, { 0x20013c1a, "DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.B2) [Ralink RT5572]" }, { 0x20013c1b, "DWA-127 Wireless N 150 High-Gain Adapter(rev.A1) [Ralink RT3070]" }, { 0x20013c1e, "DWA-125 Wireless N 150 Adapter(rev.B1) [Ralink RT5370]" }, { 0x20014000, "DSB-650C Ethernet [klsi]" }, { 0x20014001, "DSB-650TX Ethernet [pegasus]" }, { 0x20014002, "DSB-650TX Ethernet [pegasus]" }, { 0x20014003, "DSB-650TX-PNA Ethernet [pegasus]" }, { 0x2001400b, "10/100 Ethernet" }, { 0x20014102, "10/100 Ethernet" }, { 0x20014a00, "DUB-1312 Gigabit Ethernet Adapter" }, { 0x20015100, "DSL-200 ADSL ATM Modem" }, { 0x20015102, "DSL-200 ADSL Loader" }, { 0x20015b00, "Remote NDIS Network Device" }, { 0x20019414, "Cable Modem" }, { 0x20019b00, "Broadband Cable Modem Remote NDIS Device" }, { 0x2001abc1, "DSB-650 Ethernet [pegasus]" }, { 0x2001f013, "DLink 7 port USB2.0 Hub" }, { 0x2001f103, "DUB-H7 7-port USB 2.0 hub" }, { 0x2001f10d, "Accent Communications Modem" }, { 0x2001f110, "DUB-AV300 A/V Capture" }, { 0x2001f111, "DBT-122 Bluetooth adapter" }, { 0x2001f112, "DUB-T210 Audio Device" }, { 0x2001f116, "Formosa 2" }, { 0x2001f117, "Formosa 3" }, { 0x2001f118, "Formosa 4" }, { 0x2003ea61, "dc3500" }, { 0x20095004, "datAshur 4GB" }, { 0x20095016, "datAshur 16GB" }, { 0x20095032, "datAshur 32GB" }, { 0x200c100b, "Play audio soundcard" }, { 0x20130242, "QuatroStick 510e" }, { 0x20130245, "PCTV 73ESE" }, { 0x20130246, "PCTV 74E" }, { 0x20130248, "PCTV 282E" }, { 0x2013024c, "DVB-S2 Stick 460e" }, { 0x2013024f, "nanoStick T2 290e" }, { 0x20130251, "QuatroStick nano 520e" }, { 0x20130258, "DVB-S2 Stick 461e" }, { 0x2013025a, "AndroiDTV 78e" }, { 0x2013025f, "tripleStick 292e" }, { 0x20130262, "microStick 79e" }, { 0x20180406, "Eumex 800" }, { 0x20180408, "Eumex 800" }, { 0x20193220, "GW-US11S WLAN [Atmel AT76C503A]" }, { 0x20194901, "GW-USSuper300 802.11bgn Wireless Adapter [Realtek RTL8191SU]" }, { 0x20194903, "GW-USFang300 802.11abgn Wireless Adapter [Realtek RTL8192DU]" }, { 0x20194904, "GW-USUltra300 802.11abgn Wireless Adapter [Realtek RTL8192DU]" }, { 0x20195303, "GW-US54GXS 802.11bg" }, { 0x20195304, "GWUS300 802.11n" }, { 0x2019ab01, "GW-US54HP" }, { 0x2019ab24, "GW-US300MiniS" }, { 0x2019ab25, "GW-USMini2N 802.11n Wireless Adapter [Ralink RT2870]" }, { 0x2019ab28, "GW-USNano" }, { 0x2019ab29, "GW-USMicro300" }, { 0x2019ab2a, "GW-USNano2 802.11n Wireless Adapter [Realtek RTL8188CUS]" }, { 0x2019ab2b, "GW-USEco300 802.11bgn Wireless Adapter [Realtek RTL8192CU]" }, { 0x2019ab2c, "GW-USDual300 802.11abgn Wireless Adapter [Realtek RTL8192DU]" }, { 0x2019ab50, "GW-US54Mini2" }, { 0x2019c002, "GW-US54SG" }, { 0x2019c007, "GW-US54GZL" }, { 0x2019ed02, "GW-USMM" }, { 0x2019ed06, "GW-US300MiniW 802.11bgn Wireless Adapter" }, { 0x2019ed10, "GW-US300Mini2" }, { 0x2019ed14, "GW-USMicroN" }, { 0x2019ed16, "GW-USMicroN2W 802.11bgn Wireless Adapter [Realtek RTL8188SU]" }, { 0x2019ed17, "GW-USValue-EZ 802.11n Wireless Adapter [Realtek RTL8188CUS]" }, { 0x2019ed18, "GW-USHyper300 / GW-USH300N 802.11bgn Wireless Adapter [Realtek RTL8191SU]" }, { 0x201e2009, "CE100 CDMA EVDO" }, { 0x201e42ab, "Megafon MFLogin3T" }, { 0x201ea0c1, "Haier CT715" }, { 0x203d1480, "ENUWI-N3 [802.11n Wireless N150 Adapter]" }, { 0x20400265, "WinTV-dualHD DVB" }, { 0x2040026d, "WinTV-dualHD ATSC" }, { 0x20400c80, "Windham" }, { 0x20400c90, "Windham" }, { 0x20401605, "WinTV-HVR 930C HD" }, { 0x20401700, "CataMount" }, { 0x20401800, "Okemo A" }, { 0x20401801, "Okemo B" }, { 0x20402000, "Tiger Minicard" }, { 0x20402009, "Tiger Minicard R2" }, { 0x2040200a, "Tiger Minicard" }, { 0x20402010, "Tiger Minicard" }, { 0x20402011, "WinTV MiniCard [Dell Digital TV Receiver]" }, { 0x20402019, "Tiger Minicard" }, { 0x20402400, "WinTV PVR USB2 (Model 24019)" }, { 0x20404200, "WinTV" }, { 0x20404700, "WinTV Nova-S-USB2" }, { 0x20404902, "HD PVR" }, { 0x20404903, "HS PVR" }, { 0x20404982, "HD PVR" }, { 0x20405500, "Windham" }, { 0x20405510, "Windham" }, { 0x20405520, "Windham" }, { 0x20405530, "Windham" }, { 0x20405580, "Windham" }, { 0x20405590, "Windham" }, { 0x20406500, "WinTV HVR-900" }, { 0x20406502, "WinTV HVR-900" }, { 0x20406503, "WinTV HVR-930" }, { 0x20406513, "WinTV HVR-950/HVR-980" }, { 0x20406600, "WinTV HVR-900H (Model 660xx)" }, { 0x20407050, "Nova-T Stick" }, { 0x20407060, "Nova-T Stick 2" }, { 0x20407070, "Nova-T Stick 3" }, { 0x20407240, "WinTV HVR-850" }, { 0x20408400, "WinTV Nova-T-500" }, { 0x20409300, "WinTV NOVA-T USB2 (cold)" }, { 0x20409301, "WinTV NOVA-T USB2 (warm)" }, { 0x20409941, "WinTV Nova-T-500" }, { 0x20409950, "WinTV Nova-T-500" }, { 0x2040b123, "WinTV-HVR-955Q" }, { 0x2040b138, "WinTV-HVR-900 model 00246 [WinTV-T Video]" }, { 0x2040b910, "Windham" }, { 0x2040b980, "Windham" }, { 0x2040b990, "Windham" }, { 0x2040c000, "Windham" }, { 0x2040c010, "Windham" }, { 0x20470013, "MSP eZ-FET lite" }, { 0x20470014, "MSP-FET" }, { 0x20470200, "MSP430 Bootloader" }, { 0x20470203, "eZ-FET Bootloader" }, { 0x20470204, "MSP-FET Bootloader" }, { 0x20470300, "MSP430 CDC Example" }, { 0x20470301, "MSP430 HID Datapipe Example" }, { 0x20470302, "MSP430 CDC+HID Example" }, { 0x20470309, "MSP430 HID Mouse Example" }, { 0x20470313, "MSP430 CDC+CDC Example" }, { 0x20470314, "MSP430 HID+HID Example" }, { 0x20470315, "MSP430 HID Keyboard Example" }, { 0x20470316, "MSP430 MSC File System Emulation Example" }, { 0x20470317, "MSP430 MSC SD Card Example" }, { 0x20470318, "MSP430 MSC Multiple LUNs Example" }, { 0x20470319, "MSP430 MSC+CDC+HID Example" }, { 0x20470320, "MSP430 SYSBIOS Tasks MSC+CDC+HID Example" }, { 0x20470321, "MSP430 SYSBIOS SWIs MSC+CDC+HID Example" }, { 0x20470322, "MSP430 MSC Double-Buffering Example" }, { 0x20470323, "MSP430 MSC CD-ROM Example" }, { 0x204703df, "MSP430 User Experiment" }, { 0x204703e0, "MSP430 User Experiment" }, { 0x204703e1, "MSP430 User Experiment" }, { 0x204703e2, "MSP430 User Experiment" }, { 0x204703e3, "MSP430 User Experiment" }, { 0x204703e4, "MSP430 User Experiment" }, { 0x204703e5, "MSP430 User Experiment" }, { 0x204703e6, "MSP430 User Experiment" }, { 0x204703e7, "MSP430 User Experiment" }, { 0x204703e8, "MSP430 User Experiment" }, { 0x204703e9, "MSP430 User Experiment" }, { 0x204703ea, "MSP430 User Experiment" }, { 0x204703eb, "MSP430 User Experiment" }, { 0x204703ec, "MSP430 User Experiment" }, { 0x204703ed, "MSP430 User Experiment" }, { 0x204703ee, "MSP430 User Experiment" }, { 0x204703ef, "MSP430 User Experiment" }, { 0x204703f0, "MSP430 User Experiment" }, { 0x204703f1, "MSP430 User Experiment" }, { 0x204703f2, "MSP430 User Experiment" }, { 0x204703f3, "MSP430 User Experiment" }, { 0x204703f4, "MSP430 User Experiment" }, { 0x204703f5, "MSP430 User Experiment" }, { 0x204703f6, "MSP430 User Experiment" }, { 0x204703f7, "MSP430 User Experiment" }, { 0x204703f8, "MSP430 User Experiment" }, { 0x204703f9, "MSP430 User Experiment" }, { 0x204703fa, "MSP430 User Experiment" }, { 0x204703fb, "MSP430 User Experiment" }, { 0x204703fc, "MSP430 User Experiment" }, { 0x204703fd, "MSP430 User Experiment" }, { 0x20470401, "MSP430 Keyboard Example" }, { 0x20470855, "Invensense Embedded MotionApp HID Sensor" }, { 0x204708f8, "FDC2x14/LDC13xx/LDC16xx EVM" }, { 0x20470964, "Inventio Software MSP430" }, { 0x20470a76, "GEOKON S-3810A-5 USB-RS485 CONVERTER" }, { 0x2047ffe7, "HID v1.00 Device [Improv Device]" }, { 0x20582058, "ViperBoard I2C, SPI, GPIO interface" }, { 0x20779002, "W1M100 HSPA/WCDMA Module" }, { 0x20800001, "nook" }, { 0x20800002, "NOOKcolor" }, { 0x20800003, "NOOK Simple Touch" }, { 0x20800004, "NOOK Tablet" }, { 0x20800005, "Barnes&Noble Nook HD+" }, { 0x20800006, "Barnes&Noble Nook HD" }, { 0x20800007, "BNRV500 [Nook Glowlight]" }, { 0x2080000a, "Barnes&Noble Nook Glowlight+" }, { 0x2080000b, "BNRV520 [Nook Glowlight 3]" }, { 0x2080000c, "BNRV700 [Nook Glowlight Plus]" }, { 0x20870a01, "Multi Touch Panel" }, { 0x20870a02, "Multi Touch Panel" }, { 0x20870b03, "Multi Touch Panel" }, { 0x20a00006, "flirc" }, { 0x20a04107, "GPF Crypto Stick V1.2" }, { 0x20a04123, "IKALOGIC SCANALOGIC 2" }, { 0x20a0414a, "MDE SPI Interface" }, { 0x20a0415a, "OpenPilot" }, { 0x20a0415b, "CopterControl" }, { 0x20a0415c, "PipXtreme" }, { 0x20a041e5, "BlinkStick" }, { 0x20a04211, "Nitrokey Start" }, { 0x20a04223, "ATSAMD21 [castAR]" }, { 0x20a0428d, "Electrosense wideband converter" }, { 0x20b110ad, "XUSB Loader" }, { 0x20b1f7d1, "XTAG2 - JTAG Adapter" }, { 0x20b30a18, "10.1 Touch screen overlay" }, { 0x20b70713, "Milkymist JTAG/serial" }, { 0x20b71540, "ben-wpan, AT86RF230-based" }, { 0x20b71db5, "IDBG in DFU mode" }, { 0x20b71db6, "IDBG in normal mode" }, { 0x20b79db1, "Glasgow Debug Tool" }, { 0x20b7c25b, "C2 Dongle" }, { 0x20b7cb72, "ben-wpan, cntr" }, { 0x20bc5500, "Frostbite controller" }, { 0x20ce0012, "RF Sythesizer 250-4200MHz model SSG-4000LH" }, { 0x20ce0021, "RF Switch Matrix" }, { 0x20ce0022, "I/O Controller" }, { 0x20df0001, "Entropy Key [UDEKEY01]" }, { 0x20f02102, "EWLA V2 Module" }, { 0x20f10101, "iCube3 Camera" }, { 0x20f4646b, "TEW-646UBH High Power 150Mbps Wireless N Adapter [Realtek RTL8188SU]" }, { 0x20f4648b, "TEW-648UBM 802.11n 150Mbps Micro Wireless N Adapter [Realtek RTL8188CUS]" }, { 0x20f4664b, "TEW-664UB H/W:V2.0R" }, { 0x20f4804b, "TEW-804UB 802.11a/b/g/n/ac (1x1) Wireless Adapter [Realtek RTL8811AU]" }, { 0x20f4805b, "TEW-805UB 300Mbps+867Mbps Wireless AC Adapter [Realtek RTL8812AU]" }, { 0x20f4806b, "TEW-806UBH 802.11a/b/g/n/ac (1x1) Wireless Adapter [MediaTek MT7610U]" }, { 0x20f73001, "MQ or MD camera" }, { 0x20f73002, "MU camera" }, { 0x20f73021, "MJ camera" }, { 0x20f730b3, "MQ in U3V mode or MC camera" }, { 0x20f7a003, "MU camera" }, { 0x21000e56, "USB62C Radio Cable [Yaesu 857/D - 897/D]" }, { 0x21009e50, "USB-59 Radio Cable [Yaesu VX-8/D/DR]" }, { 0x21009e52, "Yaesu VX-7" }, { 0x21009e54, "CT29B Radio Cable" }, { 0x21009e57, "RTS01 Radio Cable" }, { 0x21009e58, "USB63C Radio Cable [Yaesu FTDX-1200]" }, { 0x21009e5d, "K4Y Radio Cable" }, { 0x21009e5f, "FT232RL [RTS05 Serial Cable]" }, { 0x21010201, "SIIG 4-to-2 Printer Switch" }, { 0x21011402, "Keyboard/Mouse Switch" }, { 0x21040050, "Eye tracker [EYEX2]" }, { 0x21040124, "Eyechip" }, { 0x21090210, "Hub" }, { 0x21090700, "VL700 SATA 3Gb/s bridge" }, { 0x21090701, "VL701 SATA 3Gb/s bridge" }, { 0x21090711, "VL711 SATA 6Gb/s bridge" }, { 0x21090715, "VL817 SATA Adaptor" }, { 0x21090810, "VL81x Hub" }, { 0x21090811, "Hub" }, { 0x21090812, "VL812 Hub" }, { 0x21090813, "VL813 Hub" }, { 0x21090820, "VL820 Hub" }, { 0x21092210, "Hub" }, { 0x21092811, "Hub" }, { 0x21092812, "VL812 Hub" }, { 0x21092813, "VL813 Hub" }, { 0x21092820, "VL820 Hub" }, { 0x21093431, "Hub" }, { 0x2109711f, "External" }, { 0x21098110, "Hub" }, { 0x21130137, "DepthSense 311 (3D)" }, { 0x21130145, "DepthSense 325" }, { 0x21138000, "DepthSense 311 (Color)" }, { 0x2116000a, "IDE Hard Drive Enclosure" }, { 0x211f6801, "CDMA Products" }, { 0x21231010, "Rocket Launcher" }, { 0x21250000, "Bootloader" }, { 0x21250010, "MCB-100 Series" }, { 0x21330001, "LCD Signature Pad Sigma" }, { 0x21330018, "Delta Pen" }, { 0x21330019, "Delta Touch" }, { 0x2133001c, "Kronos Pen" }, { 0x21330022, "Epsilon Pen" }, { 0x2149211b, "Touchscreen Controller" }, { 0x21492306, "TS58xxA/TC56xxA [CoolTouch]" }, { 0x21492703, "TS58xxA/TC56xxA [CoolTouch]" }, { 0x214b7000, "4-port hub [Maxxter ACT-HUB2-4P, HS8836, iSoul ultra-slim]" }, { 0x214e0005, "Z - Gaming mouse [SM700]" }, { 0x21622031, "Network Blaster Wireless Adapter" }, { 0x2162500c, "DE5771 Modem Blaster" }, { 0x21628001, "Broadxent BritePort DSL Bridge 8010U" }, { 0x2166600b, "TH-D74" }, { 0x21840005, "GDS-3000 Oscilloscope" }, { 0x21840006, "GDS-3000 Oscilloscope" }, { 0x21840011, "AFG Function Generator (CDC)" }, { 0x21840017, "DSO" }, { 0x21840018, "DSO" }, { 0x21840036, "AFG-125 Function Generator (CDC)" }, { 0x21880610, "Hub" }, { 0x21880611, "Hub" }, { 0x21880620, "Hub" }, { 0x21880625, "Hub" }, { 0x21880754, "Card Reader" }, { 0x21884042, "CalDigit Pro Audio" }, { 0x219c0010, "USB 2200 K Secure Sign Token" }, { 0x21a10001, "EPOC Consumer Headset Wireless Dongle" }, { 0x21a4ac27, "SPORTS Active 2 Wireless Controller for PS3" }, { 0x21a4ac40, "SPORTS Active 2 Wireless Controller for Wii" }, { 0x21a91001, "16-channel Logic Analyzer [Logic16]" }, { 0x21a91003, "Logic 4" }, { 0x21a91004, "Logic8" }, { 0x21a91005, "Logic Pro 8" }, { 0x21a91006, "Logic Pro 16" }, { 0x21ab0010, "RC700 NFC SmartCard Reader" }, { 0x21ab0011, "DSR700 SmartCard Reader" }, { 0x21b40081, "DragonFly" }, { 0x21b40082, "DragonFly Red" }, { 0x21d60002, "Seismic recorder [Tellus]" }, { 0x22070001, "Various Viewpia DR/bq Kepler" }, { 0x22070006, "YiFang BQ Tesla" }, { 0x2207000b, "Various Onyx Boox Max 2" }, { 0x2207000c, "Onyx Boox Max 2 Pro" }, { 0x2207000d, "Onyx Boox Note" }, { 0x22070010, "GoClever Tab R83" }, { 0x22070011, "Various Viewpia DR/bq Kepler Debugging" }, { 0x22070014, "Onyx Boox Nova" }, { 0x22070015, "Onyx Boox Nova Pro" }, { 0x22070017, "iBasso DX170 DAP" }, { 0x22070031, "Supernote A5X" }, { 0x2207281a, "RK2818 in Mask ROM mode" }, { 0x2207290a, "RK2918 in Mask ROM mode" }, { 0x2207292a, "RK2928 in Mask ROM mode" }, { 0x2207292c, "RK3026 in Mask ROM mode" }, { 0x2207300a, "RK3066 in Mask ROM mode" }, { 0x2207300b, "RK3168 in Mask ROM mode" }, { 0x2207301a, "RK3036 in Mask ROM mode" }, { 0x2207310a, "RK3066B in Mask ROM mode" }, { 0x2207310b, "RK3188 in Mask ROM mode" }, { 0x2207310c, "RK3126/RK3128 in Mask ROM mode" }, { 0x2207310d, "RK3126 in Mask ROM mode" }, { 0x2207320a, "RK3288 in Mask ROM mode" }, { 0x2207320b, "RK3228/RK3229 in Mask ROM mode" }, { 0x2207320c, "RK3328 in Mask ROM mode" }, { 0x2207330a, "RK3368 in Mask ROM mode" }, { 0x2207330c, "RK3399 in Mask ROM mode" }, { 0x221a0100, "FPGA Boards" }, { 0x22220004, "iWebKey Keyboard" }, { 0x22220005, "ICEKey Keyboard" }, { 0x22221001, "Generic Hub" }, { 0x22222520, "Mini Tablet" }, { 0x22224050, "AirStick joystick" }, { 0x22273105, "SKYDATA SKD-U100" }, { 0x222a0001, "Multi-Touch Screen" }, { 0x222a0037, "Multi-Touch Screen" }, { 0x22300001, "UD-160-A / M Integrated Hub" }, { 0x22300003, "DC-125 / M Integrated Hub" }, { 0x22321005, "WebCam SCB-0385N" }, { 0x22321024, "Webcam SC-13HDL11624N [Namuga Co., Ltd.]" }, { 0x22321028, "WebCam SC-03FFL11939N" }, { 0x22321029, "WebCam SC-13HDL11939N" }, { 0x22321037, "WebCam SC-03FFM12339N" }, { 0x22321045, "WebCam SC-10HDP12631N" }, { 0x22336323, "USB Electronic Scale" }, { 0x22374161, "eReader White" }, { 0x22374163, "Touch" }, { 0x22374173, "Glo" }, { 0x2237b108, "Kobo Arc 7 HD" }, { 0x2237d108, "Kobo Arc (ID1)" }, { 0x2237d109, "Kobo Arc (ID2)" }, { 0x22451500, "AST1500/1510 PC-over-LAN Virtual Hub" }, { 0x224f0001, "Access Point" }, { 0x224f0002, "Docking Station" }, { 0x224f0004, "V2 Opal ACM" }, { 0x224f0005, "V2 Opal" }, { 0x224f0006, "V2 Docking Station" }, { 0x224f0007, "V2 Access Point ACM" }, { 0x224f0008, "V2 Access Point" }, { 0x22561007, "LV3 MIDI Controller" }, { 0x225d0001, "FINGER VP Multimodal Biometric Sensor" }, { 0x225d0008, "CBM-E3 Fingerprint Sensor" }, { 0x225d0009, "CBM-V3 Fingerprint Sensor" }, { 0x225d000a, "MSO1300-E3 Fingerprint Sensor" }, { 0x225d000b, "MSO1300-V3 Fingerprint Sensor" }, { 0x225d000c, "MSO1350-E3 Fingerprint Sensor & SmartCard Reader" }, { 0x225d000d, "MSO1350-V3 Fingerprint Sensor & SmartCard Reader" }, { 0x225d000e, "MorphoAccess SIGMA Biometric Access Control Terminal" }, { 0x225d9015, "Tablet 2" }, { 0x225d9024, "Tablet 2" }, { 0x225d9039, "Tablet 2 secure multifunction biometric tablet" }, { 0x225d904d, "Tablet 2 secure multifunction biometric tablet" }, { 0x225d904e, "Tablet 2 secure multifunction biometric tablet" }, { 0x225d9091, "Tablet 2 secure multifunction biometric tablet" }, { 0x225d9092, "Tablet 2 secure multifunction biometric tablet" }, { 0x225df000, "Tablet 2 secure multifunction biometric tablet" }, { 0x225df003, "Tablet 2 secure multifunction biometric tablet" }, { 0x225df006, "Tablet 2 secure multifunction biometric tablet" }, { 0x225df00e, "Tablet 2 secure multifunction biometric tablet" }, { 0x228d0001, "Terminal Bike Key Reader" }, { 0x22a6ffff, "PieKey \"beta\" 4GB model 4E4F41482E4F5247 (SM3251Q BB)" }, { 0x22a71001, "FortiGate Device" }, { 0x22b11000, "Netduino MCU pcb" }, { 0x22b80001, "Wally 2.2 chipset" }, { 0x22b80002, "Wally 2.4 chipset" }, { 0x22b80005, "V.60c/V.60i GSM Phone" }, { 0x22b8002e, "Motorola XT1524 (MTP)" }, { 0x22b80830, "2386C-HT820" }, { 0x22b80833, "2386C-HT820 [Flash Mode]" }, { 0x22b80850, "Bluetooth Device" }, { 0x22b81001, "Patriot 1.0 (GSM) chipset" }, { 0x22b81002, "Patriot 2.0 chipset" }, { 0x22b81005, "T280e GSM/GPRS Phone" }, { 0x22b81101, "Patriot 1.0 (TDMA) chipset" }, { 0x22b81801, "Rainbow chipset flash" }, { 0x22b82035, "Bluetooth Device" }, { 0x22b82805, "GSM Modem" }, { 0x22b82821, "T720 GSM Phone" }, { 0x22b82822, "V.120e GSM Phone" }, { 0x22b82823, "Flash Interface" }, { 0x22b82a01, "MSM6050 chipset" }, { 0x22b82a02, "CDMA modem" }, { 0x22b82a03, "MSM6050 chipset flash" }, { 0x22b82a21, "V710 GSM Phone (P2K)" }, { 0x22b82a22, "V710 GSM Phone (AT)" }, { 0x22b82a23, "MSM6100 chipset flash" }, { 0x22b82a41, "MSM6300 chipset" }, { 0x22b82a42, "Usb Modem" }, { 0x22b82a43, "MSM6300 chipset flash" }, { 0x22b82a61, "E815 GSM Phone (P2K)" }, { 0x22b82a62, "E815 GSM Phone (AT)" }, { 0x22b82a63, "MSM6500 chipset flash" }, { 0x22b82a65, "Motorola V3m/V750 verizon" }, { 0x22b82a81, "MSM6025 chipset" }, { 0x22b82a83, "MSM6025 chipset flash" }, { 0x22b82ac1, "MSM6100 chipset" }, { 0x22b82ac3, "MSM6100 chipset flash" }, { 0x22b82d78, "XT300[SPICE]" }, { 0x22b82dff, "Motorola MB632" }, { 0x22b82e24, "Motorola X 2nd edition XT1097 (MTP)" }, { 0x22b82e32, "Motorola Atrix/Razr HD (MTP)" }, { 0x22b82e33, "Motorola Atrix/Razr HD (MTP+ADB)" }, { 0x22b82e50, "Motorola RAZR M XT907 (MTP)" }, { 0x22b82e51, "Motorola RAZR M XT907 (MTP+ADB)" }, { 0x22b82e61, "Motorola Droid Turbo 2 (XT1585)" }, { 0x22b82e62, "Motorola Moto X (XT1053)" }, { 0x22b82e63, "Motorola Moto X (XT1058)" }, { 0x22b82e66, "Motorola Moto X (XT1080)" }, { 0x22b82e67, "Motorola Droid Maxx (XT1080)" }, { 0x22b82e68, "Motorola Droid Ultra" }, { 0x22b82e76, "Motorola Moto G (ID1)" }, { 0x22b82e81, "Motorola Moto Z2 (XT1789)" }, { 0x22b82e82, "Motorola Moto G (ID2)" }, { 0x22b82e83, "Motorola XT1032" }, { 0x22b82e84, "Motorola Moto G (XT1032)" }, { 0x22b82ea4, "Motorola Moto Maxx (XT1225)" }, { 0x22b82ea5, "Motorola Droid Turbo (XT1254)" }, { 0x22b82ea8, "Motorola Droid Turbo Verizon" }, { 0x22b83001, "A835/E1000 GSM Phone (P2K)" }, { 0x22b83002, "A835/E1000 GSM Phone (AT)" }, { 0x22b83801, "C350L/C450 (P2K)" }, { 0x22b83802, "C330/C350L/C450/EZX GSM Phone (AT)" }, { 0x22b83803, "Neptune LT chipset flash" }, { 0x22b84001, "OMAP 1.0 chipset" }, { 0x22b84002, "A920/A925 UMTS Phone" }, { 0x22b84003, "OMAP 1.0 chipset flash" }, { 0x22b84008, "OMAP 1.0 chipset RDL" }, { 0x22b841cf, "Motorola Xoom 2 Media Edition (ID3)" }, { 0x22b841d6, "Motorola Droid X/MB525 (Defy)" }, { 0x22b841d9, "Droid/Milestone" }, { 0x22b841da, "Motorola DROID2 (ID1)" }, { 0x22b841db, "Droid/Milestone (Debug mode)" }, { 0x22b841dc, "Motorola Milestone / Verizon Droid" }, { 0x22b841de, "Droid X (PC mode)" }, { 0x22b84204, "MPx200 Smartphone" }, { 0x22b84214, "MPc GSM" }, { 0x22b84224, "MPx220 Smartphone" }, { 0x22b84234, "MPc CDMA" }, { 0x22b84244, "MPx100 Smartphone" }, { 0x22b84285, "Droid X (Mass storage)" }, { 0x22b842a7, "Motorola DROID2 (ID2)" }, { 0x22b842d9, "XT910 [Droid RAZR]" }, { 0x22b84306, "Motorola Xoom 2 Media Edition (ID2)" }, { 0x22b84311, "Motorola Xoom 2 Media Edition" }, { 0x22b84362, "Motorola XT912/XT928" }, { 0x22b84373, "Motorola DROID4 (PTP)" }, { 0x22b8437f, "Motorola DROID4" }, { 0x22b84801, "Neptune LTS chipset" }, { 0x22b84803, "Neptune LTS chipset flash" }, { 0x22b84810, "Triplet GSM Phone (storage)" }, { 0x22b84811, "Motorola IdeaPad K1" }, { 0x22b84901, "Triplet GSM Phone (P2K)" }, { 0x22b84902, "Triplet GSM Phone (AT)" }, { 0x22b84903, "Neptune LTE chipset flash" }, { 0x22b84a01, "Neptune LTX chipset" }, { 0x22b84a03, "Neptune LTX chipset flash" }, { 0x22b84a32, "L6-imode Phone" }, { 0x22b85801, "Neptune ULS chipset" }, { 0x22b85803, "Neptune ULS chipset flash" }, { 0x22b85901, "Neptune VLT chipset" }, { 0x22b85903, "Neptune VLT chipset flash" }, { 0x22b86001, "Dalhart EZX" }, { 0x22b86003, "Dalhart flash" }, { 0x22b86004, "EZX GSM Phone (CDC Net)" }, { 0x22b86006, "MOTOROKR E6" }, { 0x22b86008, "Dalhart RDL" }, { 0x22b86009, "EZX GSM Phone (P2K)" }, { 0x22b8600a, "Dalhart EZX config 17" }, { 0x22b8600b, "Dalhart EZX config 18" }, { 0x22b8600c, "EZX GSM Phone (USBLAN)" }, { 0x22b86021, "JUIX chipset" }, { 0x22b86023, "JUIX chipset flash" }, { 0x22b86026, "Flash RAM Downloader/miniOS" }, { 0x22b86027, "USBLAN" }, { 0x22b8604c, "EZX GSM Phone (Storage)" }, { 0x22b860ca, "Motorola A1200" }, { 0x22b86101, "Talon integrated chipset" }, { 0x22b86401, "Argon chipset" }, { 0x22b86403, "Argon chipset flash" }, { 0x22b86411, "ROKR Z6 (print mode)" }, { 0x22b86413, "Motorola MTP Test Command Interface" }, { 0x22b86415, "Motorola RAZR2 V8/U9/Z6" }, { 0x22b86422, "ROKR Z6 (modem mode)" }, { 0x22b86426, "ROKR Z6 (storage mode)" }, { 0x22b864b5, "Motorola Razr D1/D3/i (MTP)" }, { 0x22b864b6, "Motorola Razr D1/D3/i (MTP+?)" }, { 0x22b864cf, "Motorola Atrix XT687 (MTP)" }, { 0x22b86604, "Washington CDMA Phone" }, { 0x22b86631, "CDC Modem" }, { 0x22b87001, "Q Smartphone" }, { 0x22b87086, "Atrix" }, { 0x22b87088, "Motorola Atrix MB860 (MTP)" }, { 0x22b870a3, "Motorola Xoom (Factory test)" }, { 0x22b870a8, "Motorola Xoom (MTP)" }, { 0x22b870a9, "Motorola Xoom (MTP+ADB)" }, { 0x22b870ca, "Motorola Milestone X2" }, { 0x22b8710d, "Motorola XT890/907/Razr (MTP)" }, { 0x22b8710e, "Motorola XT890/907/Razr (MTP+ADB)" }, { 0x22b8fe01, "StarTAC III MS900" }, { 0x22b90006, "Touch Screen" }, { 0x22ba0108, "Double Shock Steering Wheel HID" }, { 0x22ba0109, "Double Shock Steering Wheel Hub" }, { 0x22c90601, "naturaSign Pad Colour" }, { 0x22c90701, "naturaSign Pad Mobile" }, { 0x22c90801, "naturaSign Pad Comfort" }, { 0x22c90881, "naturaSign Pad Flawless" }, { 0x22c90901, "naturaSign Pad Classic" }, { 0x22c909e1, "naturaSign Pad Biometric" }, { 0x22c90ce1, "duraSign Pad Brilliance" }, { 0x22c90cf1, "duraSign Pad Biometric 5.0" }, { 0x22c90d01, "duraSign 10.0" }, { 0x22c90df1, "duraSign Pad Biometric 10.0" }, { 0x22d41301, "Mionix NAOS 8200 [STM32F103 MCU]" }, { 0x22d41308, "Mionix Avior 7000" }, { 0x22d4130c, "Mionix Naos 7000" }, { 0x22d41316, "Mionix Castor" }, { 0x22d9202a, "realme Phone" }, { 0x22d92764, "Oppo Find 5" }, { 0x22d92765, "Oppo Find 7 (ID 1)" }, { 0x22d92767, "Oppo Find 5 (X909)" }, { 0x22d92773, "Oppo X9006" }, { 0x22d92774, "Oppo Find 7 (ID 2)" }, { 0x22db0003, "IQ3 100MP IG030372" }, { 0x22dc0004, "BlueField SOC" }, { 0x22e00002, "SINA Flash Drive" }, { 0x22e00003, "SINA ID Token A" }, { 0x22e86512, "651N Audio" }, { 0x22e86969, "Audio Prototype" }, { 0x22e87512, "751R Audio" }, { 0x22e8770a, "X70A Audio" }, { 0x22e8850c, "851C Audio [Azur 850C]" }, { 0x22e8851d, "851D Audio [Azur 851D]" }, { 0x22e8ca02, "Audio" }, { 0x22e8ca04, "Audio" }, { 0x22e8ca06, "AmpMagic" }, { 0x22e8dac2, "DacMagic Plus" }, { 0x22e8dac3, "Azur DacMagic 100" }, { 0x22e8dac4, "Azur DacMagic 100" }, { 0x22e8dac6, "DacMagicXS 2.0" }, { 0x22e8dac8, "Audio" }, { 0x23040109, "Studio PCTV USB (SECAM)" }, { 0x23040110, "Studio PCTV USB (PAL)" }, { 0x23040111, "Miro PCTV USB" }, { 0x23040112, "Studio PCTV USB (NTSC) with FM radio" }, { 0x23040201, "Systems MovieBox Device" }, { 0x23040204, "MovieBox USB_B" }, { 0x23040205, "DVC 150B" }, { 0x23040206, "Systems MovieBox Deluxe Device" }, { 0x23040207, "Dazzle DVC90 Video Device" }, { 0x23040208, "Studio PCTV USB2" }, { 0x2304020e, "PCTV 200e" }, { 0x2304020f, "PCTV 400e BDA Device" }, { 0x23040210, "Studio PCTV USB (PAL) with FM radio" }, { 0x23040212, "Studio PCTV USB (NTSC)" }, { 0x23040213, "500-USB Device" }, { 0x23040214, "Studio PCTV USB (PAL) with FM radio" }, { 0x23040216, "PCTV 60e" }, { 0x23040219, "PCTV 260e" }, { 0x2304021a, "Dazzle DVC100 Audio Device" }, { 0x2304021b, "Dazzle DVC130/DVC170" }, { 0x2304021d, "Dazzle DVC130" }, { 0x2304021e, "Dazzle DVC170" }, { 0x2304021f, "PCTV Sat HDTV Pro BDA Device" }, { 0x23040222, "PCTV Sat Pro BDA Device" }, { 0x23040223, "DazzleTV Sat BDA Device" }, { 0x23040225, "Remote Kit Infrared Transceiver" }, { 0x23040226, "PCTV 330e" }, { 0x23040227, "PCTV for Mac, HD Stick" }, { 0x23040228, "PCTV DVB-T Flash Stick" }, { 0x23040229, "PCTV Dual DVB-T 2001e" }, { 0x2304022a, "PCTV 160e" }, { 0x2304022b, "PCTV 71e [Afatech AF9015]" }, { 0x23040232, "PCTV 170e" }, { 0x23040236, "PCTV 72e [DiBcom DiB7000PC]" }, { 0x23040237, "PCTV 73e [DiBcom DiB7000PC]" }, { 0x2304023a, "PCTV 801e" }, { 0x2304023b, "PCTV 801e SE" }, { 0x2304023d, "PCTV 340e" }, { 0x2304023e, "PCTV 340e SE" }, { 0x23040300, "Studio Linx Video input cable (NTSC)" }, { 0x23040301, "Studio Linx Video input cable (PAL)" }, { 0x23040302, "Dazzle DVC120" }, { 0x23040419, "PCTV Bungee USB (PAL) with FM radio" }, { 0x2304061d, "PCTV Deluxe (NTSC) Device" }, { 0x2304061e, "PCTV Deluxe (PAL) Device" }, { 0x23042304, "1689" }, { 0x23091001, "Touch Device(hid)" }, { 0x23091005, "Touch Device" }, { 0x23091006, "Touch Device(2)" }, { 0x23091007, "MulTouch Device(hid)" }, { 0x23091009, "Touch Device(hid)" }, { 0x230d0103, "Huwaii 3g wireless modem" }, { 0x23180011, "CitiDISK Jr. IDE Enclosure" }, { 0x23190014, "TSM01 Air Mouse + Keyboard" }, { 0x232b0810, "P2000" }, { 0x232e0010, "EA-PS-2000 B Series Power Supply" }, { 0x23410001, "Uno (CDC ACM)" }, { 0x23410010, "Mega 2560 (CDC ACM)" }, { 0x23410036, "Leonardo Bootloader" }, { 0x2341003b, "Serial Adapter (CDC ACM)" }, { 0x2341003d, "Due Programming Port" }, { 0x2341003e, "Due" }, { 0x2341003f, "Mega ADK (CDC ACM)" }, { 0x23410042, "Mega 2560 R3 (CDC ACM)" }, { 0x23410043, "Uno R3 (CDC ACM)" }, { 0x23410044, "Mega ADK R3 (CDC ACM)" }, { 0x23410045, "Serial R3 (CDC ACM)" }, { 0x23410049, "ISP" }, { 0x23418036, "Leonardo (CDC ACM, HID)" }, { 0x23418038, "Robot Control Board (CDC ACM, HID)" }, { 0x23418039, "Robot Motor Board (CDC ACM, HID)" }, { 0x234b0000, "Gnuk Token" }, { 0x234b0001, "NeuG True RNG" }, { 0x23570005, "M7350 4G Mi-Fi Router" }, { 0x23570100, "TL-WN8200ND [Realtek RTL8192CU]" }, { 0x23570101, "RTL8812AU Archer T4U 802.11ac" }, { 0x23570103, "Archer T4UH wireless Realtek 8812AU" }, { 0x23570105, "Archer T1U 802.11a/n/ac Wireless Adapter [MediaTek MT7610U]" }, { 0x23570106, "Archer T9UH v1 [Realtek RTL8814AU]" }, { 0x23570107, "TL-WN821N v5/v6 [RTL8192EU]" }, { 0x23570108, "TL-WN822N Version 4 RTL8192EU" }, { 0x23570109, "TL-WN823N v2/v3 [Realtek RTL8192EU]" }, { 0x2357010b, "Archer T2UHP [MediaTek MT7610U]" }, { 0x2357010c, "TL-WN722N v2/v3 [Realtek RTL8188EUS]" }, { 0x2357010d, "Archer T4U v2 [Realtek RTL8812AU]" }, { 0x2357010e, "Archer T4UH v2 [Realtek RTL8812AU]" }, { 0x2357010f, "Archer T4UHP [Realtek RTL8812AU]" }, { 0x23570115, "Archer T4U ver.3" }, { 0x2357011e, "AC600 wireless Realtek RTL8811AU [Archer T2U Nano]" }, { 0x23570120, "Archer T2U PLUS [RTL8821AU]" }, { 0x2357012d, "Archer T3U [Realtek RTL8812BU]" }, { 0x23570200, "MA 180 Zero CD" }, { 0x23570201, "HSUPA Modem MA180" }, { 0x23570600, "UE300 10/100/1000 LAN (mass storage CD-ROM mode) [Realtek RTL8153]" }, { 0x23570601, "UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153]" }, { 0x23660001, "Reserved Prototyping PID" }, { 0x23660002, "OpenBeacon USB 2" }, { 0x23660003, "OpenPCD 2 RFID Reader for 13.56MHz" }, { 0x23660004, "OpenBeacon" }, { 0x23660005, "Blinkenlights WDIM" }, { 0x23660006, "Blinkenlights WMCU" }, { 0x23660007, "OpenBeacon Ethernet EasyReader PoE II - Active 2.4GHz RFID Reader" }, { 0x23660008, "OpenBeacon WLAN" }, { 0x23660009, "OpenPCD 2 RFID Reader for 13.56MHz" }, { 0x2366000a, "OpenPCD 2 Audio & LCD Display" }, { 0x23670002, "OP-1 Portable synthesizer" }, { 0x2367000c, "OP-Z Portable synthesizer" }, { 0x23670102, "Teenage engineering OP-1 field" }, { 0x23680001, "BBS-1 [BodyBeat Sync]" }, { 0x236a1965, "SB6501 802.11ad Wireless Network Adapter" }, { 0x23730001, "5 MegaPixel Digital Still Camera [DSC5M]" }, { 0x23750001, "Digital Audio Player" }, { 0x2378100a, "Universal Wireless Controller" }, { 0x237d0400, "MC400" }, { 0x23863125, "Touch System" }, { 0x23864328, "Touch System" }, { 0x2386432f, "Touch System" }, { 0x238b0a11, "DMR Radio" }, { 0x239a0001, "CDC Bootloader" }, { 0x239a801e, "Trinket M0" }, { 0x23a00001, "Token iBank2key" }, { 0x23a00002, "iBank2Key Type M Token" }, { 0x23a00003, "iToken" }, { 0x23a00008, "MS_KEY K - Angara" }, { 0x23a62000, "Gibson Firebird X Pedal Board" }, { 0x23a62001, "Gibson Firebird X Switch Board" }, { 0x23b40200, "DW0200 Color Camera" }, { 0x23b40300, "DW0300 Hight Speed Monochrome Camera" }, { 0x23c71021, "FirstMix" }, { 0x23fc0201, "SPI-Simulyzer box for SPI data communication" }, { 0x23fc0202, "PSI5-Simulyzer box for PSI5 (Peripheral-Sensor-Interfacs) data communication" }, { 0x23fc0203, "SENT-Simulyzer box for SENT data communication" }, { 0x23fc0204, "DSI-Simulyzer box for DSI3 data communication" }, { 0x24050002, "West Mountain Radio RIGblaster Advantage Audio" }, { 0x24050003, "West Mountain Radio RIGblaster Advantage" }, { 0x24066688, "PD7X Portable Storage" }, { 0x242e0001, "DALI Master" }, { 0x242e0002, "LiCS Bootloader Mode" }, { 0x242e0003, "LiCS Running Mode" }, { 0x242e0004, "iProgrammer" }, { 0x242e0005, "NFC programming device" }, { 0x2433b200, "[NZXT Kraken X60]" }, { 0x244300dc, "aes220 FPGA Mini-Module" }, { 0x2457100a, "HR2000 Spectrometer 1.00.0" }, { 0x24571012, "HR4000 Spectrometer" }, { 0x24580001, "BLED112 Bluetooth 4.0 Single Mode Dongle" }, { 0x24640001, "Learning Thermostat" }, { 0x24640002, "Learning Thermostat (2nd Generation)" }, { 0x24640010, "Protect : Smoke + Carbon Monoxide" }, { 0x24640020, "Heat Link" }, { 0x24668003, "Axe-Fx II" }, { 0x24668010, "Axe-FX III" }, { 0x24761040, "3-Space Embedded Sensor" }, { 0x24782008, "U209-000-R Serial Port" }, { 0x248a8366, "Wireless Optical Mouse ACT-MUSW-002" }, { 0x248a8367, "Telink Wireless Receiver" }, { 0x24a40002, "I15_v1.06 [Primare Audio DAC]" }, { 0x24ae0001, "KX Keyboard" }, { 0x24ae0197, "meva Barcode Scanner" }, { 0x24ae1813, "E9260 Wireless Multi-mode Keyboard" }, { 0x24ae2000, "2.4G Wireless Device Serial" }, { 0x24ae2001, "5 GHz Wireless Receiver" }, { 0x24ae2003, "5GHz Wireless Transceiver" }, { 0x24ae4110, "Optical Gaming Mouse [V280]" }, { 0x24ae6000, "Wireless Audio" }, { 0x24c00003, "Model 01036 weather center" }, { 0x24c65000, "Razer Atrox Gaming Arcade Stick" }, { 0x24c65300, "PowerA Mini ProEX Controller for Xbox 360" }, { 0x24c65303, "Airflo Wired Controller for Xbox 360" }, { 0x24c6530a, "ProEX Controller for Xbox 360" }, { 0x24c6531a, "Pro Ex mini for XBOX" }, { 0x24c65397, "FUS1ON Tournament Controller" }, { 0x24c6541a, "PowerA CPFA115320-01 [Mini Controller for Xbox One]" }, { 0x24c6542a, "Spectra for Xbox One" }, { 0x24c6543a, "PowerA Wired Controller for Xbox One" }, { 0x24c65500, "Horipad EX2 Turbo" }, { 0x24c65501, "Hori Real Arcade Pro.VX-SA for Xbox 360" }, { 0x24c65502, "Hori Fighting Stick VX Alt for Xbox 360" }, { 0x24c65503, "Hori Fighting Edge for Xbox 360" }, { 0x24c65506, "Hori Soulcalibur V Stick for Xbox 360" }, { 0x24c6550d, "Hori Gem Controller for Xbox 360" }, { 0x24c6550e, "Real Arcade Pro V Kai for Xbox One / Xbox 360" }, { 0x24c6551a, "Fusion Pro Controller" }, { 0x24c6561a, "Fusion Controller for Xbox One" }, { 0x24c65b00, "Ferrari 458 Italia Racing Wheel" }, { 0x24c65b02, "GPX Controller" }, { 0x24c65d04, "Sabertooth Elite" }, { 0x24c6fa00, "INF-8032385 Disney Infinity Reader" }, { 0x24c6fafb, "Aplay Controller" }, { 0x24c6fafd, "Afterglow Gamepad for Xbox 360" }, { 0x24c6fafe, "Rock Candy Gamepad for Xbox 360" }, { 0x24cf00a1, "Light Field Camera" }, { 0x24dc0406, "JaCarta SF GOST" }, { 0x24e13001, "Adp-usb" }, { 0x24e13005, "Radius" }, { 0x24ea0197, "Barcode Scanner" }, { 0x24ed044d, "Chat Headset" }, { 0x24f00105, "Das Keyboard 4" }, { 0x24f00140, "Das Keyboard 4" }, { 0x24f02020, "Das Keyboard 5Q" }, { 0x25000020, "USRP B210" }, { 0x25000021, "USRP B200-mini" }, { 0x25000022, "USRP B205-mini" }, { 0x25000200, "USRP B200" }, { 0x25160003, "Storm Xornet" }, { 0x25160004, "Storm QuickFire Rapid Mechanical Keyboard" }, { 0x25160006, "Storm Recon" }, { 0x25160007, "Storm Sentinel Advance II" }, { 0x25160009, "Storm Quick Fire PRO" }, { 0x25160011, "Storm Quick Fire TK 6keys" }, { 0x25160014, "Storm Quick Fire TK Nkeys" }, { 0x25160015, "Storm QuickFire Pro/Ultimate keyboard" }, { 0x25160017, "CM Storm Quick Fire Stealth" }, { 0x2516001a, "Storm Quick Fire XT" }, { 0x25160020, "QuickFire Rapid-i Keyboard" }, { 0x25160027, "CM Storm Coolermaster Novatouch TKL" }, { 0x2516002d, "Alcor mouse" }, { 0x25160042, "Masterkeys Lite L Combo RGB Keyboard" }, { 0x25160044, "Masterkeys Lite L Combo RGB Mouse" }, { 0x25160046, "Masterkeys PRO L" }, { 0x25160047, "MasterKeys Pro L" }, { 0x25160055, "MasterKeys L" }, { 0x25161006, "MasterCase SL600M" }, { 0x25169494, "Sirus Headset" }, { 0x25200001, "EasyPrinter S3" }, { 0x25271388, "Paramount 5" }, { 0x25371066, "NS1066" }, { 0x25371068, "NS1068/NS1068X SATA Bridge Controller" }, { 0x2546e301, "TipToi Pen" }, { 0x25481001, "CEC Adapter" }, { 0x25481002, "CEC Adapter" }, { 0x254ee2b3, "SHF 58035 A BiasBoard" }, { 0x25550001, "B1 Fitness Band" }, { 0x255e0001, "Device" }, { 0x255e0002, "Dual" }, { 0x2560c152, "See3CAM_CU51 5 Mpx monochrome camera" }, { 0x2563031d, "DXT Mouse" }, { 0x25630523, "BM0523 WirelessGamepad" }, { 0x25630575, "ZD-V+ Wired Gaming Controller" }, { 0x256b0121, "Audiant 80i" }, { 0x256fc62e, "SpaceMouse Wireless (cabled)" }, { 0x256fc62f, "SpaceMouse Wireless Receiver" }, { 0x256fc631, "SpaceMouse Pro Wireless (cabled)" }, { 0x256fc632, "SpaceMouse Pro Wireless Receiver" }, { 0x256fc633, "SpaceMouse Enterprise" }, { 0x256fc635, "SpaceMouse Compact" }, { 0x256fc651, "CadMouse Wireless" }, { 0x256fc652, "Universal Receiver" }, { 0x256fc654, "CadMouse Pro Wireless" }, { 0x256fc657, "CadMouse Pro Wireless Left" }, { 0x25730017, "MAYA22" }, { 0x25740901, "VC520" }, { 0x25740910, "CAM520" }, { 0x25740920, "VC320" }, { 0x25740930, "CAM530" }, { 0x25740940, "CAM340" }, { 0x25740950, "VC322" }, { 0x25740960, "VB342" }, { 0x25760003, "TCM" }, { 0x25760005, "BL [Boot Loader]" }, { 0x25760011, "THM" }, { 0x25784168, "2.4GHZ Wireless Arc Folding Mouse" }, { 0x25811807, "Generic HID Smartcard" }, { 0x25811808, "WinUSB Smartcard" }, { 0x2581f1d0, "FIDO U2F Security Key" }, { 0x25a72410, "Laser mouse" }, { 0x25a7fa23, "2.4G Receiver" }, { 0x25a7fa61, "Elecom Co., Ltd MR-K013 Multicard Reader" }, { 0x25b50002, "Multitouch 3200" }, { 0x25bb0063, "PRT.5105 [Yoke]" }, { 0x25bb0064, "PRT.5105 [reserved]" }, { 0x25bb0065, "PRT.5096 [Battery Management System]" }, { 0x25bb0066, "PRT.5096 [Battery Management System]" }, { 0x25bb0067, "PRT.5094" }, { 0x25bb0068, "PRT.5094" }, { 0x25bb0069, "PRT.5119 [Ethernet2CAN LC Gateway]" }, { 0x25bb006a, "PRT.5113 [CLS CANaerospace Gateway]" }, { 0x25bb006b, "PRT.5123" }, { 0x25bb006c, "PRT.5123 [reserved]" }, { 0x25bb006d, "PRT.5127" }, { 0x25bb00ff, "MSP430 HID Update Agent" }, { 0x25bf0001, "Isostick" }, { 0x25bf0002, "Isostick updater" }, { 0x25c80014, "Single User touchfoil(tm) (SU2-80)" }, { 0x25da0001, "Weather Station" }, { 0x25dd1101, "miniLector-s" }, { 0x25dd1201, "cryptokey" }, { 0x25dd2221, "iAM" }, { 0x25dd2311, "keyfour-a1" }, { 0x25dd2321, "CKey4" }, { 0x25dd2341, "tokenME FIPS v3" }, { 0x25dd2351, "Digital DNA Key" }, { 0x25dd2354, "Digital-DNA Key" }, { 0x25dd2361, "Digital-DNA Key BT" }, { 0x25dd2362, "Digital-DNA Key" }, { 0x25dd2371, "TokenME EVO v2" }, { 0x25dd23b4, "ArubaKey AK901" }, { 0x25dd3111, "miniLector EVO" }, { 0x25dd3211, "miniLector AIR EVO" }, { 0x25dd3403, "miniLector AIR NFC v3" }, { 0x25dd3503, "mLector AIR DI V3" }, { 0x25ddb001, "miniLector Blue" }, { 0x25f0c131, "Gioteck PS3 2.4G Wireless Controller" }, { 0x25fb0102, "K-5" }, { 0x25fb0165, "Pentax K3" }, { 0x25fb0179, "Pentax K1" }, { 0x25fb017b, "Pentax K3 II" }, { 0x25fb017d, "Pentax K70" }, { 0x25fb017f, "Pentax KP" }, { 0x25fb210b, "Ricoh WG-M2" }, { 0x25fb25fb, "Ricoh GR IIIx" }, { 0x26040012, "U12" }, { 0x2626ea60, "UART Bridge Controller [cp210x]" }, { 0x262a100e, "SA9027 Audio Streaming Controller" }, { 0x262a10e0, "SA9023 Audio Streaming Controller" }, { 0x262a9020, "SA9020 audio controller" }, { 0x262a9023, "SA9023 audio controller" }, { 0x262a9027, "SA9027 audio controller" }, { 0x262a9226, "SA9226 192KHz audio controller" }, { 0x262a9227, "SA9227 384KHz audio controller" }, { 0x262a9228, "SA9228 384KHz/DSD audio controller" }, { 0x26323209, "7-in-1 Card Reader" }, { 0x26390001, "MTi-10 IMU" }, { 0x26390002, "MTi-20 VRU" }, { 0x26390003, "MTi-30 AHRS" }, { 0x26390011, "MTi-100 IMU" }, { 0x26390012, "MTi-200 VRU" }, { 0x26390013, "MTi-300 AHRS" }, { 0x26390017, "MTi-G 7xx GNSS/INS" }, { 0x26390100, "Body Pack" }, { 0x26390101, "Awinda Station" }, { 0x26390102, "Awinda Dongle" }, { 0x26390103, "Sync Station" }, { 0x26390200, "MTw" }, { 0x26390300, "Motion Tracker Development Board" }, { 0x26390301, "MTi Converter" }, { 0x2639d00d, "Wireless Receiver" }, { 0x264a1004, "Ventus" }, { 0x26501311, "eBeam Classic [Luidia]" }, { 0x26591101, "TNT DVB-T/DAB/DAB+/FM" }, { 0x26591201, "FM Transmitter/Receiver" }, { 0x26591202, "MediaTV Analog/FM/DVB-T" }, { 0x26591203, "MediaTV Analog/FM/DVB-T MiniPCIe" }, { 0x26591204, "MediaTV Analog/FM/ATSC" }, { 0x26591205, "SkyTV Ultimate V" }, { 0x26591206, "MediaTV DVB-T MiniPCIe" }, { 0x26591207, "Sundtek HD Capture" }, { 0x26591208, "Sundtek SkyTV Ultimate III" }, { 0x26591209, "MediaTV Analog/FM/ATSC MiniPCIe" }, { 0x26591210, "MediaTV Pro III (EU)" }, { 0x26591211, "MediaTV Pro III (US)" }, { 0x26591212, "MediaTV Pro III MiniPCIe (EU)" }, { 0x26591213, "MediaTV Pro III MiniPCIe (US)" }, { 0x26720004, "Hero 3" }, { 0x26720006, "HERO 3+ Silver Edition" }, { 0x26720007, "HERO 3+ Black" }, { 0x2672000e, "GoPro HERO 4" }, { 0x26720011, "GoPro HERO 3+" }, { 0x26720021, "GoPro HERO +" }, { 0x26720027, "GoPro HERO5 Black" }, { 0x26720029, "GoPro HERO5 Session" }, { 0x26720037, "GoPro HERO6 Black" }, { 0x26720042, "GoPro HERO7 White" }, { 0x26720043, "GoPro HERO7 Silver" }, { 0x26720047, "GoPro HERO7 Black" }, { 0x26720049, "GoPro HERO8 Black" }, { 0x2672004D, "GoPro HERO9 Black" }, { 0x26720056, "GoPro HERO10 Black" }, { 0x26720059, "GoPro HERO11 Black" }, { 0x2672005a, "GoPro HERO11 Black mini" }, { 0x2676ba02, "ace" }, { 0x2676ba03, "ba03 dart Vision Caera" }, { 0x2676ba04, "ba04 pulse Vision Camera" }, { 0x2676ba05, "Vision Camera" }, { 0x2676ba06, "Vision Camera" }, { 0x2676ba07, "Vision Camera" }, { 0x2676ba08, "Vision Camera" }, { 0x2676ba09, "Vision Camera" }, { 0x2676ba0a, "Vision Camera" }, { 0x2676ba0b, "Vision Camera" }, { 0x2676ba0c, "Vision Camera" }, { 0x2676ba0d, "Vision Camera" }, { 0x2676ba0e, "Vision Camera" }, { 0x2676ba0f, "Vision Camera" }, { 0x26850900, "[Packtalk Bold Bluetooth Motorcycle Intercom]" }, { 0x2687fb01, "Base Station" }, { 0x26890601, "naturaSign Pad POS" }, { 0x26890901, "naturaSign Pad Light" }, { 0x26890ce1, "Pad Vivid US" }, { 0x26890cf1, "Pad Biometric US 5.0" }, { 0x26890d01, "duraSign Pad US 10.0" }, { 0x26890df1, "duraSign Pad Biometric US 10.0" }, { 0x268b0101, "DELink 2" }, { 0x268b0201, "Sabertooth 2x32" }, { 0x268b0405, "Evolv DNA 200" }, { 0x268b0406, "Evolv DNA 200" }, { 0x268b0407, "Evolv DNA 200" }, { 0x268b0408, "Evolv DNA 75" }, { 0x268b0409, "Evolv DNA 250" }, { 0x268b0412, "Evolv DNA 60" }, { 0x268b0413, "Evolv DNA 200" }, { 0x268b0414, "Evolv DNA 250" }, { 0x268b0415, "Evolv DNA 75" }, { 0x268b0416, "Evolv DNA 60" }, { 0x268b0417, "Evolv DNA Go" }, { 0x268b0419, "Evolv DNA 250 Color" }, { 0x268b0423, "Evolv DNA 200" }, { 0x268b0424, "Evolv DNA 250" }, { 0x268b0425, "Evolv DNA 75" }, { 0x268b0426, "Evolv DNA 60" }, { 0x268b8405, "Evolv DNA 200 (recovery mode)" }, { 0x268b8406, "Evolv DNA 200 (recovery mode)" }, { 0x268b8407, "Evolv DNA 200 (recovery mode)" }, { 0x268b8408, "Evolv DNA 75 (recovery mode)" }, { 0x268b8409, "Evolv DNA 250 (recovery mode)" }, { 0x268b8412, "Evolv DNA 60 (recovery mode)" }, { 0x268b8413, "Evolv DNA 200 (recovery mode)" }, { 0x268b8414, "Evolv DNA 250 (recovery mode)" }, { 0x268b8415, "Evolv DNA 75 (recovery mode)" }, { 0x268b8416, "Evolv DNA 60 (recovery mode)" }, { 0x268b8423, "Evolv DNA 200 (recovery mode)" }, { 0x268b8424, "Evolv DNA 250 (recovery mode)" }, { 0x268b8425, "Evolv DNA 75 (recovery mode)" }, { 0x268b8426, "Evolv DNA 60 (recovery mode)" }, { 0x26a90001, "Payment Terminal v1.0" }, { 0x26aa0001, "FT-1D" }, { 0x26aa000e, "FTA-550" }, { 0x26aa000f, "FTA-750" }, { 0x26b50002, "ECD 2" }, { 0x26b50003, "ECD 2 (Audio Class 1)" }, { 0x26b50004, "PI 2D" }, { 0x26b50005, "PI 2D (Audio Class 1)" }, { 0x26b50006, "ECI 6" }, { 0x26b50007, "ECI 6 (Audio Class 1)" }, { 0x26b50020, "ECI 80" }, { 0x26bd9917, "Fusion Flash Drive" }, { 0x26f20200, "MyDac" }, { 0x27070005, "drive.web" }, { 0x270d1001, "R-Idge Bootloader" }, { 0x270d1002, "R-Idge Router" }, { 0x27170011, "100Mbps Network Card Adapter" }, { 0x27170360, "Xiaomi Mi-3w (MTP)" }, { 0x27170368, "Xiaomi Mi-3 (MTP)" }, { 0x27170660, "Xiaomi MiPad (MTP)" }, { 0x27170668, "Xiaomi MiPad (MTP+ADB)" }, { 0x27171240, "Xiaomi Hongmi (MTP+ADB)" }, { 0x27171248, "Xiaomi Hongmi (MTP)" }, { 0x27171260, "Redmi 1S (MTP)" }, { 0x27171268, "Redmi HM 1S (MTP)" }, { 0x27171360, "Xiaomi HM NOTE 1LTEW 4G Phone (MTP)" }, { 0x27171368, "Xiaomi HM NOTE 1LTEW MIUI (MTP)" }, { 0x27173801, "Mi ANC & Type-C In-Ear Earphones" }, { 0x27174106, "MediaTek MT7601U [MI WiFi]" }, { 0x27179039, "Xiaomi Mi-2 (MTP+ADB)" }, { 0x2717f003, "Xiaomi Mi-2 (MTP)" }, { 0x2717ff08, "Redmi Note 3 (ADB Interface)" }, { 0x2717ff10, "Mi/Redmi series (PTP)" }, { 0x2717ff18, "Mi/Redmi series (PTP + ADB)" }, { 0x2717ff40, "Xiaomi Mi-2s (id2) (MTP)" }, { 0x2717ff48, "Xiaomi Mi-2s (MTP)" }, { 0x2717ff60, "Xiaomi Redmi 2 (MTP)" }, { 0x2717ff68, "Xiaomi Redmi 2 2014811 (MTP)" }, { 0x2717ff80, "Mi/Redmi series (RNDIS)" }, { 0x2717ff88, "Mi/Redmi series (RNDIS + ADB)" }, { 0x272c7d13, "I-jet" }, { 0x27300fff, "CT-S2000/4000/310/CLP-521/621/631/CL-S700 Series" }, { 0x27301004, "PPU-700" }, { 0x27302002, "CT-S2000 Thermal Printer (Parallel mode)" }, { 0x2730200f, "CT-S310 Label printer" }, { 0x27350003, "MPIO HS100" }, { 0x27351001, "MPIO FY200" }, { 0x27351002, "MPIO FL100" }, { 0x27351003, "MPIO FD100" }, { 0x27351004, "MPIO HD200" }, { 0x27351005, "MPIO HD300" }, { 0x27351006, "MPIO FG100" }, { 0x27351007, "MPIO FG130" }, { 0x27351008, "MPIO FY300" }, { 0x27351009, "MPIO FY400" }, { 0x2735100a, "MPIO FL300" }, { 0x2735100b, "MPIO HS200" }, { 0x2735100c, "MPIO FL350" }, { 0x2735100d, "MPIO FY500" }, { 0x2735100e, "MPIO FY500" }, { 0x2735100f, "MPIO FY600" }, { 0x27351012, "MPIO FL400" }, { 0x27351013, "MPIO HD400" }, { 0x27351014, "MPIO HD400" }, { 0x27351016, "MPIO FY700" }, { 0x27351017, "MPIO FY700" }, { 0x27351018, "MPIO FY800" }, { 0x27351019, "MPIO FY800" }, { 0x2735101a, "MPIO FY900" }, { 0x2735101b, "MPIO FY900" }, { 0x2735102b, "MPIO FL500" }, { 0x2735102c, "MPIO FL500" }, { 0x2735103f, "MPIO FY570" }, { 0x27351040, "MPIO FY570" }, { 0x27351041, "MPIO FY670" }, { 0x27351042, "MPIO FY670" }, { 0x27351043, "HCT HMD-180A" }, { 0x27351044, "HCT HMD-180A" }, { 0x273f1000, "ColorHug bootloader" }, { 0x273f1001, "ColorHug" }, { 0x273f1002, "ColorHug+" }, { 0x273f1003, "ColorHug+ Bootloader" }, { 0x273f1004, "ColorHug2" }, { 0x273f1005, "ColorHug2 bootloader" }, { 0x27560002, "X1D Camera" }, { 0x27590003, "IQOS Pocket Charger 2.4" }, { 0x27650004, "Bodyguard 2" }, { 0x27660000, "OneTouch Verio" }, { 0x27700a01, "ScanJet 4600 series" }, { 0x2770905c, "Che-Ez Snap SNAP-U/Digigr8/Soundstar TDC-35" }, { 0x27709060, "A130" }, { 0x27709120, "Che-ez! Snap / iClick Tiny VGA Digital Camera" }, { 0x27709130, "TCG 501" }, { 0x2770913c, "Argus DC-1730" }, { 0x27709150, "Mini Cam" }, { 0x27709153, "iClick 5X" }, { 0x2770915d, "Cyberpix S-210S / Little Tikes My Real Digital Camera" }, { 0x2770930b, "CCD Webcam(PC370R)" }, { 0x2770930c, "CCD Webcam(PC370R)" }, { 0x27a8a120, "Contactless + Chip Reader" }, { 0x27b801ed, "blink(1)" }, { 0x27bd0001, "Slab Node Manager" }, { 0x27bd0002, "Slab Node Manager JTAG" }, { 0x27c00818, "Paperlike HD-FT" }, { 0x27c65117, "Fingerprint Reader" }, { 0x27c65201, "Fingerprint Reader" }, { 0x27c65301, "Fingerprint Reader" }, { 0x27c6530c, "Fingerprint Reader" }, { 0x27c6532d, "Fingerprint" }, { 0x27c65381, "Fingerprint Reader" }, { 0x27c65385, "Fingerprint Reader" }, { 0x27c6538c, "Fingerprint Reader" }, { 0x27c65395, "Fingerprint Reader" }, { 0x27c65584, "Fingerprint Reader" }, { 0x27c655b4, "Fingerprint Reader" }, { 0x27c65740, "Fingerprint Reader" }, { 0x27dd0002, "Mindeo Virtual COM Port" }, { 0x28030001, "Controller Area Network car alarm module [SLCAN-2]" }, { 0x28060001, "N-PASS X1" }, { 0x28170002, "BB60C Spectrum Analyzer" }, { 0x28170004, "SM200A Spectrum Analyzer" }, { 0x28180001, "Transfer Drive Dock" }, { 0x28210161, "WL-161 802.11b Wireless Adapter [SiS 162U]" }, { 0x2821160f, "WL-160g 802.11g Wireless Adapter [Envara WiND512]" }, { 0x28213300, "WL-140 / Hawking HWU36D 802.11b Wireless Adapter [Intersil PRISM 3]" }, { 0x28330001, "Rift Developer Kit 1" }, { 0x28330021, "Rift DK2" }, { 0x28330031, "Rift CV1" }, { 0x28330101, "Latency Tester" }, { 0x28330137, "Quest Headset" }, { 0x28330182, "Oculus Quest 2" }, { 0x28330183, "Oculus Quest" }, { 0x28330201, "Camera DK2" }, { 0x28330211, "Rift CV1 Sensor" }, { 0x28330330, "Rift CV1 Audio" }, { 0x28331031, "Rift CV1" }, { 0x28332021, "Rift DK2" }, { 0x28332031, "Rift CV1" }, { 0x28333031, "Rift CV1" }, { 0x28360010, "OUYA Videogame Console" }, { 0x286b0003, "D6BB/D9 seismic digitizer" }, { 0x28860002, "Seeeduino Lite" }, { 0x28900213, "ClearPath 4-axis Comm Hub" }, { 0x2899012c, "Camera Device" }, { 0x289b0001, "Gamecube/N64 controller v2.2" }, { 0x289b0002, "2nes2snes" }, { 0x289b0003, "4nes4snes" }, { 0x289b0004, "Gamecube/N64 controller v2.3" }, { 0x289b0005, "Saturn (Joystick mode)" }, { 0x289b0006, "Saturn (Mouse mode)" }, { 0x289b0007, "Famicom controller" }, { 0x289b0008, "Dreamcast (Joystick mode)" }, { 0x289b0009, "Dreamcast (Mouse mode)" }, { 0x289b000a, "Dreamcast (Keyboard mode)" }, { 0x289b000b, "Gamecube/N64 controller v2.9 (Keyboard mode)" }, { 0x289b000c, "Gamecube/N64 controller v2.9 (Joystick mode)" }, { 0x289b000e, "VirtualBoy controller" }, { 0x289b0010, "WUSBMote v1.2 (Joystick mode)" }, { 0x289b0011, "WUSBMote v1.2 (Mouse mode)" }, { 0x289b0012, "WUSBMote v1.2.1 (Joystick mode)" }, { 0x289b0013, "WUSBMote v1.2.1 (Mouse mode)" }, { 0x289b0014, "WUSBMote v1.3 (Joystick mode)" }, { 0x289b0015, "WUSBMote v1.3 (Mouse mode)" }, { 0x289b0016, "WUSBMote v1.3 (I2C interface mode)" }, { 0x289b0017, "Gamecube/N64 controller v3.0" }, { 0x289b0018, "Atari Jaguar controller" }, { 0x289b0019, "MultiDB9joy v3" }, { 0x289b001a, "MultiDB9joy v3 (multitap mode)" }, { 0x289b0100, "Dual-relay board" }, { 0x289b0500, "Energy meter" }, { 0x289b0502, "Precision barometer" }, { 0x289d0010, "PIR206 Thermal Camera [Seek Compact]" }, { 0x28bd0920, "Star G960 Graphic Tablet" }, { 0x28c70001, "3D printer serial interface" }, { 0x28d40008, "120/200/250/400/800/D-Premier" }, { 0x28de1102, "Wired Controller" }, { 0x28de1142, "Wireless Steam Controller" }, { 0x28de2000, "Lighthouse FPGA RX" }, { 0x28de2012, "Virtual Reality Controller [VRC]" }, { 0x28de2101, "Watchman Dongle" }, { 0x28de2500, "Lighthouse Base Station" }, { 0x28e01001, "BTS Monitoring Config for Prototype" }, { 0x28e05740, "TRUMON TS-107" }, { 0x28e05741, "TRUMON TS-108" }, { 0x28e90189, "GD32 DFU Bootloader (Longan Nano)" }, { 0x28f32000, "Mobile Wi-Fi (C200)" }, { 0x28f33000, "Mini" }, { 0x28f34000, "Flex" }, { 0x28f90001, "Profishark 1G Black" }, { 0x28f90003, "Profishark 1G+" }, { 0x28f90004, "Profishark 1G" }, { 0x28f90005, "Profishark 10G" }, { 0x28f90006, "Profishark 100M" }, { 0x290c4b4d, "Mercury iPod Dock" }, { 0x291220c8, "D1 24-bit DAC" }, { 0x291230c8, "D1 24-bit DAC" }, { 0x29169039, "Yota Phone C9660" }, { 0x29169139, "Yota Phone" }, { 0x2916914d, "Yota Phone 2" }, { 0x2916f003, "Yota Phone 2 (ID2)" }, { 0x29310a01, "Jolla Sailfish (ID1)" }, { 0x29310a02, "Jolla Phone Developer" }, { 0x29310a05, "Jolla Sailfish (ID2)" }, { 0x29310a07, "Jolla Sailfish (ID3)" }, { 0x29310afe, "Jolla charging only" }, { 0x29394959, "A-MCB2" }, { 0x2939495a, "X-MCB1" }, { 0x2939495b, "X-MCB2" }, { 0x293949b1, "X-MCB1" }, { 0x293949b2, "X-MCB2" }, { 0x293949c1, "X-MCC1" }, { 0x293949c2, "X-MCC2" }, { 0x293949c3, "X-MCC3" }, { 0x293949c4, "X-MCC4" }, { 0x29570001, "Management Console" }, { 0x29610001, "C.24 keyboard" }, { 0x296b3917, "CX-WE100 Camera" }, { 0x29700c02, "Fly iq4415 era style 3" }, { 0x29702008, "Fly Evo Tech 4" }, { 0x2970201d, "Wileyfox Spark/Spark Plus" }, { 0x29702281, "Wileyfox Swift" }, { 0x29702282, "Wileyfox Swift 2" }, { 0x29704001, "Fly Nimbus 3" }, { 0x29704002, "Fly 5S" }, { 0x29709039, "Kazam Trooper 650 4G" }, { 0x29720007, "X3 2nd gen audio player / DAC" }, { 0x298d2020, "NB-2020-U Fingerprint Reader" }, { 0x29bd4101, "Multi-touch Device" }, { 0x29c11105, "M17-G903-1 [Tazpad]" }, { 0x29c11107, "M17-G903-A [Tazpad] (CCID)" }, { 0x29c20001, "DGT 650" }, { 0x29c20003, "DGT 450" }, { 0x29c20009, "DGT 260" }, { 0x29c20011, "Stream 4x5" }, { 0x29e41103, "Prestigio 5505 DUO" }, { 0x29e41201, "MediaTek 5508 DUO" }, { 0x29e41203, "Prestigio 5504 DUO" }, { 0x29e43201, "Prestigio 3405 DUO" }, { 0x29e4b001, "Prestigio Multipad Color 8" }, { 0x29e4b003, "Prestigio Multipad Color 7.0" }, { 0x29ea0102, "Advantage2 Keyboard" }, { 0x29f133f1, "Avalon nano 1.0" }, { 0x29f133f2, "Avalon USB2IIC Converter" }, { 0x29f133f3, "Avalon nano 2.0" }, { 0x29f140f1, "Avalon4 mini" }, { 0x2a030001, "Linino ONE (bootloader)" }, { 0x2a030036, "Arduino Leonardo (bootloader)" }, { 0x2a030037, "Arduino Micro (bootloader)" }, { 0x2a030038, "Arduino Robot Control (bootloader)" }, { 0x2a030039, "Arduino Robot Motor (bootloader)" }, { 0x2a03003a, "Arduino Micro ADK rev3 (bootloader)" }, { 0x2a03003b, "Arduino usb2serial" }, { 0x2a03003c, "Arduino Explora (bootloader)" }, { 0x2a03003d, "Arduino Due (usb2serial)" }, { 0x2a03003e, "Arduino Due" }, { 0x2a030041, "Arduino Yun (bootloader)" }, { 0x2a030042, "Arduino Mega 2560 Rev3" }, { 0x2a030043, "Arduino Uno Rev3" }, { 0x2a03004d, "Arduino Zero Pro (bootloader)" }, { 0x2a038001, "Linino ONE (CDC ACM)" }, { 0x2a038036, "Arduino Leonardo (CDC ACM)" }, { 0x2a038037, "Arduino Micro (CDC ACM)" }, { 0x2a038038, "Arduino Robot Control (CDC ACM)" }, { 0x2a038039, "Arduino Robot Motor (CDC ACM)" }, { 0x2a03803a, "Arduino Micro ADK rev3 (CDC ACM)" }, { 0x2a03803c, "Arduino Explora (CDC ACM)" }, { 0x2a038041, "Arduino Yun (CDC ACM)" }, { 0x2a03804d, "Arduino Zero Pro (CDC ACM)" }, { 0x2a130000, "S-Series data capture device" }, { 0x2a191002, "Mimas V2 Spartan6 FPGA Development Board" }, { 0x2a195440, "TimVideos' HDMI2USB Opsis (FX2) - Unconfigured device" }, { 0x2a195441, "TimVideos' HDMI2USB Opsis (FX2) - Firmware load/upgrade" }, { 0x2a195442, "TimVideos' HDMI2USB Opsis (FX2) - HDMI/DVI Capture Device" }, { 0x2a1d0000, "MinION" }, { 0x2a1d0001, "MinION" }, { 0x2a1d0010, "VolTRAX" }, { 0x2a1d0011, "VolTRAX" }, { 0x2a1d0020, "GridION" }, { 0x2a1d0021, "GridION" }, { 0x2a1d0120, "GridION Mk1 Bay" }, { 0x2a1d0121, "GridION Mk1 Bay" }, { 0x2a375110, "UPS35110/UPS25110" }, { 0x2a393fb0, "Babyface Pro (Class Compliant Mode)" }, { 0x2a393fc0, "Babyface Pro" }, { 0x2a393fc1, "Fireface UFX+" }, { 0x2a393fc2, "Fireface UFX+" }, { 0x2a393fd1, "Fireface UFX+" }, { 0x2a3c0100, "Stepper Device" }, { 0x2a3c0200, "BLDC/PMSM Device" }, { 0x2a3c0300, "Motor Control Device" }, { 0x2a3c0400, "Motor Control Device" }, { 0x2a3c0500, "PANdrive(TM)" }, { 0x2a3c0600, "motionCookie(TM)" }, { 0x2a3c0700, "Evaluation Device" }, { 0x2a3c0800, "Interface Device" }, { 0x2a3c0900, "Generic Device" }, { 0x2a450001, "MX Phone (BICR)" }, { 0x2a450c02, "Meizu MX Phone (MTP+ADB)" }, { 0x2a450c03, "MX Phone (BICR & ADB)" }, { 0x2a452008, "Meizu MX Phone (MTP)" }, { 0x2a45200a, "MX Phone (MTP & ACM & ADB)" }, { 0x2a45200b, "MX Phone (PTP)" }, { 0x2a45200c, "MX Phone (PTP & ADB)" }, { 0x2a452012, "MX Phone (MTP & ACM)" }, { 0x2a470c02, "bq Krillin (MTP+ADB)" }, { 0x2a472008, "bq Krillin (MTP)" }, { 0x2a47200d, "bq Aquaris M10 (MTP)" }, { 0x2a47201d, "bq Avila Cooler (MTP)" }, { 0x2a473003, "bq Aquaris X5 (MTP)" }, { 0x2a474ee1, "bq Aquaris X2 (MTP)" }, { 0x2a477f10, "bq Aquarius E5-4G" }, { 0x2a477f11, "bq Aquarius X5 (MTP) (ID2)" }, { 0x2a47901b, "bq Aquarius M5.5" }, { 0x2a479039, "bq Aquarius U" }, { 0x2a47903a, "bq Aquarius U (2nd id)" }, { 0x2a47f003, "bq U Plus" }, { 0x2a4b0400, "Pilot4 Integrated Hub" }, { 0x2a62b301, "LiveSD" }, { 0x2a62b302, "NavSD" }, { 0x2a6e0003, "Touch Board" }, { 0x2a6e8003, "Touch Board" }, { 0x2a704ee7, "ONEPLUS A3010 [OnePlus 3T] / A5010 [OnePlus 5T] / A6003 [OnePlus 6] (Charging + USB debugging modes)" }, { 0x2a709011, "OnePlus ONE A2001" }, { 0x2a709012, "OnePlus OnePlus 9 5G" }, { 0x2a70904d, "A3000 phone (PTP mode) [3T]" }, { 0x2a70904e, "A3000 phone (PTP mode, with debug) [3T]" }, { 0x2a70f003, "OnePlus OnePlus 2 A2005" }, { 0x2a88ffff, "DFU" }, { 0x2ab60001, "PDP3000HV DAC" }, { 0x2ab60002, "MP1000E, MP2000R, MP2500R, MP3100HV" }, { 0x2ab60003, "TA HD AUDIO V2" }, { 0x2ac70101, "Evaluation Kit [Dragonfly]" }, { 0x2ac70102, "UHDK5" }, { 0x2ac70104, "Touchbase" }, { 0x2ac70110, "STRATOS Explore" }, { 0x2ac70111, "STRATOS Explore DFU" }, { 0x2ac70112, "STRATOS Inspire" }, { 0x2ac70113, "STRATOS Inspire DFU" }, { 0x2ac7ffff, "DFU" }, { 0x2ad17ab8, "Turningtable" }, { 0x2ae59015, "2 (Mass storage & ADB)" }, { 0x2ae59024, "2 (RNDIS & ADB)" }, { 0x2ae59039, "2 (MTP & ADB)" }, { 0x2ae5904d, "2 (PTP)" }, { 0x2ae5904e, "2 (PTP & ADB)" }, { 0x2ae590de, "2 (Charging)" }, { 0x2ae5f000, "2 (Mass storage)" }, { 0x2ae5f003, "2 (MTP)" }, { 0x2ae5f005, "2 (tethering)" }, { 0x2ae5f00e, "2 (RNDIS)" }, { 0x2aec6011, "Converter" }, { 0x2af40100, "Seaboard GRAND" }, { 0x2af40200, "Seaboard RISE" }, { 0x2af40300, "BlueWing Proto" }, { 0x2af40400, "VOICE" }, { 0x2af40500, "BLOCKS" }, { 0x2b03f580, "ZED camera" }, { 0x2b03f582, "ZED camera" }, { 0x2b03f680, "ZED-M camera" }, { 0x2b03f681, "ZED-M HID Interface" }, { 0x2b03f682, "ZED-M camera" }, { 0x2b03f683, "ZED-M HID Interface" }, { 0x2b03f684, "ZED-M camera" }, { 0x2b0e171b, "Le2" }, { 0x2b0e171e, "Le2 in USB tethering mode" }, { 0x2b0e1830, "Le1 Pro" }, { 0x2b0e1844, "Le Max2" }, { 0x2b0e2b0e, "LeEco" }, { 0x2b0e6108, "Lex720 [LePro 3] in connection sharing usb" }, { 0x2b0e610b, "Lex720 [LePro 3] in Camera mode" }, { 0x2b0e610c, "Lex720 [LePro 3]" }, { 0x2b0e610d, "Lex720 [LePro 3] in debug" }, { 0x2b23cafe, "UsbDk (USB Development Kit)" }, { 0x2b240001, "Bitcoin Wallet [KeepKey]" }, { 0x2b240002, "Bitcoin Wallet" }, { 0x2b3eace2, "CW1173 [ChipWhisperer-Lite]" }, { 0x2b4c1004, "Z1 MTP" }, { 0x2bc50401, "Astra" }, { 0x2bc50403, "Astra Pro" }, { 0x2bc50407, "Astra Mini S" }, { 0x2bd64201, "RS-485 Controller and Interface [Cypress Semiconductor]" }, { 0x2c0214ea, "GW-US11H WLAN" }, { 0x2c1a0000, "Wireless Optical Mouse" }, { 0x2c231b83, "NIC" }, { 0x2c4e0100, "MW300UM RTL8192EU wifi" }, { 0x2c4f3003, "PR Wireless Presenter" }, { 0x2c55a100, "ML1 Lightpack (MLDB)" }, { 0x2c55b100, "ML1 Lightpack (fastboot)" }, { 0x2c55c001, "ML1 Control (COM)" }, { 0x2c55c002, "ML1 Control (Bootloader)" }, { 0x2c7c0121, "EC21 LTE modem" }, { 0x2c7c0125, "EC25 LTE modem" }, { 0x2c7c0191, "EG91 LTE modem" }, { 0x2c7c0195, "EG95 LTE modem" }, { 0x2c7c0296, "BG96 CAT-M1/NB-IoT modem" }, { 0x2c7c0306, "EG06/EP06/EM06 LTE-A modem" }, { 0x2c7c0435, "AG35 LTE modem" }, { 0x2c970000, "Blue" }, { 0x2c970001, "Nano S" }, { 0x2c970004, "Nano X" }, { 0x2c990001, "i3 MK2S" }, { 0x2c9c1000, "Walabot Makers Series" }, { 0x2c9c1020, "Walabot DIY" }, { 0x2c9c1022, "Walabot DIY Plus" }, { 0x2c9c1030, "Walabot Home (vHC)" }, { 0x2c9c9100, "VNAKit" }, { 0x2c9d90a0, "Goa" }, { 0x2c9dbac5, "Backspin" }, { 0x2ca30008, "Mavic Mini MR1SD25 Remote controller" }, { 0x2cb70210, "L830-EB-00 LTE WWAN Modem" }, { 0x2ccf0880, "HyperFIDO" }, { 0x2cd90804, "PowerSync4 USBPD Hub" }, { 0x2cdcf232, "CTD48Mc CTD Probe" }, { 0x2ce50014, "Mass Storage [NT2 U31C]" }, { 0x2cf05246, "bladeRF" }, { 0x2cf05250, "bladeRF 2.0 micro" }, { 0x2d2d504d, "Proxmark3" }, { 0x2d6b7777, "Joker TV universal DTV receiver" }, { 0x2d814f01, "Ozobot Evo" }, { 0x2d84b806, "DT-108B Thermal Label Printer" }, { 0x2dc85006, "M30 Bluetooth gamepad" }, { 0x2dc85750, "Bootloader" }, { 0x2dc86000, "SF30 Pro gamepad" }, { 0x2dc86001, "SN30/SF30 Pro gamepad" }, { 0x2dc8ab11, "F30 gamepad" }, { 0x2dc8ab12, "N30 gamepad" }, { 0x2dc8ab20, "SN30/SF30 gamepad" }, { 0x2dc8ab21, "SF30 gamepad" }, { 0x2dcfc951, "Audio Class 1.0 Devices" }, { 0x2dcfc952, "Audio Class 2.0 Devices" }, { 0x2def0000, "KiNOS Boot DFU" }, { 0x2def0102, "KTWM102 Module" }, { 0x2df20213, "LIPSedge DL 3D ToF Camera" }, { 0x2df20215, "LIPSedge DL RGB Camera" }, { 0x2df22102, "LIPSedge 5 Megapixel RGB Camera" }, { 0x2e040001, "Nokia 3310 3G" }, { 0x2e040002, "Nokia 3310 3G" }, { 0x2e040a14, "Nokia 3310 3G" }, { 0x2e04c008, "Tethering Network Interface" }, { 0x2e04c009, "Nokia 1 (bootloader)" }, { 0x2e04c025, "Nokia 6" }, { 0x2e04c026, "Nokia 6.1" }, { 0x2e04c029, "Nokia 8 (PTP mode)" }, { 0x2e04c02a, "Nokia 6.2" }, { 0x2e04c031, "Nokia 1 (PTP)" }, { 0x2e04c03f, "Nokia 8 (MIDI mode)" }, { 0x2e0e0001, "CAN Gateway" }, { 0x2e240652, "Duke Xbox One controller" }, { 0x2e241688, "X91 Xbox One controller" }, { 0x2e57454d, "SlideSX EnergyMeter" }, { 0x2e57454e, "SlideSX EnergyMeter DFU" }, { 0x2e575cba, "SlideSX / ClustSafe Bus Adapter" }, { 0x2e691001, "Piksi Multi" }, { 0x2e957725, "Controller" }, { 0x2ecc2001, "Smartphone (MTP)" }, { 0x2ecc2002, "Smartphone (MTP + ADB)" }, { 0x2ecc2007, "Smartphone (ADB Interface)" }, { 0x2f760905, "KX905 Smart Terminal" }, { 0x2f760906, "KX906 Smart Card Reader" }, { 0x2f761906, "KX906 Smart Token (Mass Storage)" }, { 0x2fc00001, "Project Archer" }, { 0x2fc66012, "UAC2 Device GB" }, { 0x2fe08b01, "XAP-RC-001 ENF Router Card" }, { 0x2fe08b02, "XAP-RW-001 ENF Router Card with WiFi" }, { 0x2fe08bde, "XAP-EA-002 ENF Access Card" }, { 0x2fe08bee, "XAP-EA-003 ENF Access Card" }, { 0x2fe70001, "SMART S@T" }, { 0x2feb0004, "Veikk A15 Pen Tablet" }, { 0x30160001, "Nitrogen Bootloader" }, { 0x30360001, "Print iD" }, { 0x30360002, "iDBio" }, { 0x30570002, "ZOWIE Gaming mouse" }, { 0x308f0000, "Infinity 60% Bootloader" }, { 0x308f0001, "Infinity 60% - Standard" }, { 0x308f0002, "Infinity 60% - Hacker" }, { 0x308f0003, "Infinity Ergodox Bootloader" }, { 0x308f0004, "Infinity Ergodox" }, { 0x308f0005, "WhiteFox Bootloader" }, { 0x308f0006, "WhiteFox - Vanilla" }, { 0x308f0007, "WhiteFox - ISO" }, { 0x308f0008, "WhiteFox - Aria" }, { 0x308f0009, "WhiteFox - Winkeyless" }, { 0x308f000a, "WhiteFox - True Fox" }, { 0x308f000b, "WhiteFox - Jack of All Trades" }, { 0x308f000c, "Infinity 60% LED Bootloader" }, { 0x308f000d, "Infinity 60% LED - Standard" }, { 0x308f000e, "Infinity 60% LED - Hacker" }, { 0x308f000f, "Infinity 60% LED - Alphabet" }, { 0x308f0010, "K-Type Bootloader" }, { 0x308f0011, "K-Type" }, { 0x308f0012, "Kira Bootloader" }, { 0x308f0013, "Kira" }, { 0x308f0014, "Gemini Dawn/Dusk Bootloader" }, { 0x308f0015, "Gemini Dawn/Dusk" }, { 0x308f0016, "Re:Type Bootloader" }, { 0x308f0017, "Re:Type" }, { 0x308f0018, "Re:Type USB Hub" }, { 0x308f0019, "WhiteFox (SAM4S) Bootloader" }, { 0x308f001a, "WhiteFox (SAM4S) - Vanilla" }, { 0x308f001b, "WhiteFox (SAM4S) - ISO" }, { 0x308f001c, "WhiteFox (SAM4S) - Aria" }, { 0x308f001d, "WhiteFox (SAM4S) - Winkeyless" }, { 0x308f001e, "WhiteFox (SAM4S) - True Fox" }, { 0x308f001f, "WhiteFox (SAM4S) - Jack of All Trades" }, { 0x30a40001, "Notecard" }, { 0x30c21388, "SPL Meter" }, { 0x30ee1001, "F-01L" }, { 0x31110000, "SGS-NT Microspectrometer" }, { 0x31120001, "MBC-WB01 (CDC-ACM)" }, { 0x31120002, "MBC-WB01 (Bootloader)" }, { 0x31120003, "ABC (CDC ACM)" }, { 0x31120004, "ABC (Bootloader)" }, { 0x31250001, "TrackerPod Camera Stand" }, { 0x316d4c4b, "Librem Key" }, { 0x316e0001, "DIAMOND token" }, { 0x31710011, "ClusterCTRL DA" }, { 0x31710012, "ClusterCTRL pHAT" }, { 0x31710013, "ClusterCTRL A+6" }, { 0x31710014, "ClusterCTRL Triple" }, { 0x31710015, "ClusterCTRL Single" }, { 0x3195f190, "MSO-19" }, { 0x3195f280, "MSO-28" }, { 0x3195f281, "MSO-28" }, { 0x31971001, "M151" }, { 0x31971002, "M250" }, { 0x31971003, "P130" }, { 0x31971004, "M130" }, { 0x31971101, "P247" }, { 0x31971102, "M247" }, { 0x31971103, "M348" }, { 0x31c91001, "Printer" }, { 0x31c91301, "Black and White Laser Printer" }, { 0x31c91501, "LaserPrint GA50 series" }, { 0x32002100, "ALE 8058s" }, { 0x32002101, "ALE 8068s" }, { 0x32002102, "8078s" }, { 0x32190044, "SKO44 Optical Keyboard" }, { 0x326d0001, "Avocor USB Camera" }, { 0x32754fb1, "MonsterTV P2H" }, { 0x32b3d1a6, "TXT Multihub" }, { 0x32b3d1a7, "TXT Multihub" }, { 0x33100100, "Mudita Pure Phone" }, { 0x33100101, "Pure tethering" }, { 0x33100300, "Harmony" }, { 0x33333333, "2 port KVM switch model 60652K" }, { 0x33341701, "Fast Ethernet" }, { 0x3340043a, "Mio A701 DigiWalker PPCPhone" }, { 0x33400e3a, "Pocket PC 300 GPS SL / Typhoon MyGuide 3500" }, { 0x3340a0a3, "deltaX 5 BT (D) PDA" }, { 0x3340ffff, "Mio DigiWalker Sync" }, { 0x33443744, "OEM PC Remote" }, { 0x33602008, "SHIFT SHIFT6m" }, { 0x33840000, "Thelio Io (thelio-io)" }, { 0x33840001, "Launch Configurable Keyboard (launch_1)" }, { 0x339b107d, "Honor X8/X9 5G" }, { 0x348f2322, "Wireless Presenter" }, { 0x3504f110, "Security Key" }, { 0x35380001, "Travel Flash" }, { 0x35380015, "Mass Storge Device" }, { 0x35380022, "Hi-Speed Mass Storage Device" }, { 0x35380042, "Cool Drive U339 Flash Disk" }, { 0x35380054, "Flash Drive (2GB)" }, { 0x35380901, "Traveling Disk U273 (4GB)" }, { 0x35796901, "Media Reader" }, { 0x357d7788, "JMicron JMS567 ATA/ATAPI Bridge" }, { 0x37670101, "Speedster 3 Forceshock Wheel" }, { 0x38380001, "5-in-1 Card Reader" }, { 0x38381031, "2.4G Wireless Mouse" }, { 0x392312c0, "DAQPad-6020E" }, { 0x392312d0, "DAQPad-6507" }, { 0x392312e0, "NI 4350" }, { 0x392312f0, "NI 5102" }, { 0x39231750, "DAQPad-6508" }, { 0x392317b0, "USB-ISA-Bridge" }, { 0x39231820, "DAQPad-6020E (68 pin I/O)" }, { 0x39231830, "DAQPad-6020E (BNC)" }, { 0x39231f00, "DAQPad-6024E" }, { 0x39231f10, "DAQPad-6024E" }, { 0x39231f20, "DAQPad-6025E" }, { 0x39231f30, "DAQPad-6025E" }, { 0x39231f40, "DAQPad-6036E" }, { 0x39231f50, "DAQPad-6036E" }, { 0x39232f80, "DAQPad-6052E" }, { 0x39232f90, "DAQPad-6052E" }, { 0x3923702a, "GPIB-USB-B" }, { 0x3923702b, "GPIB-USB-B Initialization" }, { 0x3923703c, "USB-485 RS485 Cable" }, { 0x3923709b, "GPIB-USB-HS" }, { 0x39237166, "USB-8451" }, { 0x3923716e, "USB-8451 Firmware Loader" }, { 0x3923717a, "USB-6008" }, { 0x3923717b, "USB-6009" }, { 0x392371d6, "USB-6008 OEM" }, { 0x392371d7, "USB-6009 OEM" }, { 0x392371d8, "USB-6009 OEM" }, { 0x39237254, "NI MIO (data acquisition card) firmware updater" }, { 0x3923729e, "USB-6251 (OEM) data acquisition card" }, { 0x39237346, "USB-6229" }, { 0x3923755b, "myDAQ" }, { 0x392376af, "USB-6000" }, { 0x392376b0, "USB-6000 OEM" }, { 0x392376bf, "USB-6001" }, { 0x392376c0, "USB-6001 OEM" }, { 0x392376c4, "USB-6002" }, { 0x392376c5, "USB-6002 OEM" }, { 0x392376c6, "USB-6003" }, { 0x392376c7, "USB-6003 OEM" }, { 0x40bb0a09, "USB2.0-SCSI Bridge USB2-SC" }, { 0x41011301, "IR-2510 usb phone" }, { 0x41021001, "iFP-100 series mp3 player" }, { 0x41021003, "iFP-300 series mp3 player" }, { 0x41021005, "iFP-500 series mp3 player" }, { 0x41021007, "iFP-700 series mp3/ogg vorbis player" }, { 0x41021008, "iRiver iFP-880" }, { 0x4102100a, "iFP-1000 series mp3/ogg vorbis player" }, { 0x41021014, "T20 series mp3/ogg vorbis player (ums firmware)" }, { 0x41021019, "T30" }, { 0x41021034, "T60" }, { 0x41021040, "M1Player" }, { 0x41021041, "E100 (ums)" }, { 0x41021101, "iFP-100 series mp3 player (ums firmware)" }, { 0x41021103, "iFP-300 series mp3 player (ums firmware)" }, { 0x41021105, "iFP-500 series mp3 player (ums firmware)" }, { 0x41021113, "iRiver T10" }, { 0x41021114, "iRiver T20 FM" }, { 0x41021115, "iRiver T20" }, { 0x41021116, "iRiver U10" }, { 0x41021117, "iRiver T10b" }, { 0x41021118, "iRiver T20b" }, { 0x41021119, "iRiver T30" }, { 0x41021120, "iRiver T10 2GB" }, { 0x41021122, "iRiver N12" }, { 0x41021126, "iRiver Clix2" }, { 0x4102112a, "iRiver Clix" }, { 0x41021132, "iRiver X20" }, { 0x41021134, "iRiver T60" }, { 0x41021141, "iRiver E100" }, { 0x41021142, "iRiver E100 v2/Lplayer" }, { 0x41021147, "iRiver Spinn" }, { 0x41021151, "iRiver E50" }, { 0x41021152, "iRiver E150" }, { 0x41021153, "iRiver T5" }, { 0x41021167, "iRiver E30" }, { 0x41021195, "iRiver AK380" }, { 0x41021200, "iRiver AK70" }, { 0x41021213, "A&K SR15" }, { 0x41021230, "A&K SE180" }, { 0x41022002, "H10 6GB" }, { 0x41022101, "iRiver H10 20GB" }, { 0x41022102, "iRiver H10 5GB" }, { 0x41022105, "iRiver H10 5.6GB" }, { 0x413c0000, "DRAC 5 Virtual Keyboard and Mouse" }, { 0x413c0001, "DRAC 5 Virtual Media" }, { 0x413c0058, "Port Replicator" }, { 0x413c1001, "Keyboard Hub" }, { 0x413c1002, "Keyboard Hub" }, { 0x413c1003, "Keyboard Hub" }, { 0x413c1005, "Multimedia Pro Keyboard Hub" }, { 0x413c2001, "Keyboard HID Support" }, { 0x413c2002, "SK-8125 Keyboard" }, { 0x413c2003, "Keyboard SK-8115" }, { 0x413c2005, "RT7D50 Keyboard" }, { 0x413c2010, "Keyboard" }, { 0x413c2011, "Multimedia Pro Keyboard" }, { 0x413c2100, "SK-3106 Keyboard" }, { 0x413c2101, "SK-3205 SmartCard Reader Keyboard" }, { 0x413c2105, "Model L100 Keyboard" }, { 0x413c2106, "QuietKey Keyboard" }, { 0x413c2107, "KB212-B Quiet Key Keyboard" }, { 0x413c2113, "KB216 Wired Keyboard" }, { 0x413c2134, "Hub of E-Port Replicator" }, { 0x413c21d7, "Dell Wireless 5560 HSPA+ Mobile Broadband Modem" }, { 0x413c2500, "DRAC4 Remote Access Card" }, { 0x413c2501, "Keyboard and mouse dongle" }, { 0x413c2513, "internal USB Hub of E-Port Replicator" }, { 0x413c3010, "Optical Wheel Mouse" }, { 0x413c3012, "Optical Wheel Mouse" }, { 0x413c3016, "Optical 5-Button Wheel Mouse" }, { 0x413c301a, "Dell MS116 Optical Mouse" }, { 0x413c301b, "Universal Bluetooth Receiver" }, { 0x413c3200, "Mouse" }, { 0x413c4001, "Axim X5" }, { 0x413c4002, "Axim X3" }, { 0x413c4003, "Axim X30" }, { 0x413c4004, "Axim Sync" }, { 0x413c4005, "Axim Sync" }, { 0x413c4006, "Axim Sync" }, { 0x413c4007, "Axim Sync" }, { 0x413c4008, "Axim Sync" }, { 0x413c4009, "Axim Sync" }, { 0x413c4011, "Axim X51v" }, { 0x413c4500, "Dell Inc DJ Itty" }, { 0x413c5103, "AIO Printer A940" }, { 0x413c5105, "AIO Printer A920" }, { 0x413c5107, "AIO Printer A960" }, { 0x413c5109, "Photo AIO Printer 922" }, { 0x413c5110, "Photo AIO Printer 962" }, { 0x413c5111, "Photo AIO Printer 942" }, { 0x413c5112, "Photo AIO Printer 924" }, { 0x413c5113, "Photo AIO Printer 944" }, { 0x413c5114, "Photo AIO Printer 964" }, { 0x413c5115, "Photo AIO Printer 926" }, { 0x413c5116, "AIO Printer 946" }, { 0x413c5117, "Photo AIO Printer 966" }, { 0x413c5118, "AIO 810" }, { 0x413c5124, "Laser MFP 1815" }, { 0x413c5128, "Photo AIO 928" }, { 0x413c5133, "968 AIO Printer" }, { 0x413c5200, "Laser Printer" }, { 0x413c5202, "Printing Support" }, { 0x413c5203, "Printing Support" }, { 0x413c5210, "Printing Support" }, { 0x413c5211, "1110 Laser Printer" }, { 0x413c5220, "Laser MFP 1600n" }, { 0x413c5225, "Printing Support" }, { 0x413c5226, "Printing Support" }, { 0x413c5228, "Laser Printer 1720dn" }, { 0x413c5300, "Laser Printer" }, { 0x413c5400, "Laser Printer" }, { 0x413c5401, "Laser Printer" }, { 0x413c5404, "1250c Color Printer" }, { 0x413c5513, "WLA3310 Wireless Adapter [Intersil ISL3887]" }, { 0x413c5534, "Hub of E-Port Replicator" }, { 0x413c5601, "Laser Printer 3100cn" }, { 0x413c5602, "Laser Printer 3000cn" }, { 0x413c5607, "MFP Color Laser Printer 3115cn" }, { 0x413c5631, "Laser Printer 5100cn" }, { 0x413c564a, "C1765 series Multifunction Color LaserPrinter, Scanner & Copier" }, { 0x413c5905, "Printing Support" }, { 0x413c8000, "BC02 Bluetooth Adapter" }, { 0x413c8010, "TrueMobile Bluetooth Module in" }, { 0x413c8100, "TrueMobile 1180 802.11b Adapter [Intersil PRISM 3]" }, { 0x413c8102, "TrueMobile 1300 802.11g Wireless Adapter [Intersil ISL3880]" }, { 0x413c8103, "Wireless 350 Bluetooth" }, { 0x413c8104, "Wireless 1450 Dual-band (802.11a/b/g) Adapter [Intersil ISL3887]" }, { 0x413c8105, "U2 in HID - Driver" }, { 0x413c8106, "Wireless 350 Bluetooth Internal Card in" }, { 0x413c8110, "Wireless 3xx Bluetooth Internal Card" }, { 0x413c8111, "Wireless 3xx Bluetooth Internal Card in" }, { 0x413c8114, "Wireless 5700 Mobile Broadband (CDMA EV-DO) Minicard Modem" }, { 0x413c8115, "Wireless 5500 Mobile Broadband (3G HSDPA) Minicard Modem" }, { 0x413c8116, "Wireless 5505 Mobile Broadband (3G HSDPA) Minicard Modem" }, { 0x413c8117, "Wireless 5700 Mobile Broadband (CDMA EV-DO) Expresscard Modem" }, { 0x413c8118, "Wireless 5510 Mobile Broadband (3G HSDPA) Expresscard Status Port" }, { 0x413c8120, "Bluetooth adapter" }, { 0x413c8121, "Eastfold in HID" }, { 0x413c8122, "Eastfold in DFU" }, { 0x413c8123, "eHome Infrared Receiver" }, { 0x413c8124, "eHome Infrared Receiver" }, { 0x413c8126, "Wireless 355 Bluetooth" }, { 0x413c8127, "Wireless 355 Module with Bluetooth 2.0 + EDR Technology." }, { 0x413c8128, "Wireless 5700-Sprint Mobile Broadband (CDMA EV-DO) Mini-Card Status Port" }, { 0x413c8129, "Wireless 5700-Telus Mobile Broadband (CDMA EV-DO) Mini-Card Status Port" }, { 0x413c8131, "Wireless 360 Bluetooth 2.0 + EDR module." }, { 0x413c8133, "Wireless 5720 VZW Mobile Broadband (EVDO Rev-A) Minicard GPS Port" }, { 0x413c8134, "Wireless 5720 Sprint Mobile Broadband (EVDO Rev-A) Minicard Status Port" }, { 0x413c8135, "Wireless 5720 TELUS Mobile Broadband (EVDO Rev-A) Minicard Diagnostics Port" }, { 0x413c8136, "Wireless 5520 Cingular Mobile Broadband (3G HSDPA) Minicard Diagnostics Port" }, { 0x413c8137, "Wireless 5520 Voda L Mobile Broadband (3G HSDPA) Minicard Status Port" }, { 0x413c8138, "Wireless 5520 Voda I Mobile Broadband (3G HSDPA) Minicard EAP-SIM Port" }, { 0x413c8140, "Wireless 360 Bluetooth" }, { 0x413c8142, "Mobile 360 in DFU" }, { 0x413c8143, "Broadcom BCM20702A0 Bluetooth" }, { 0x413c8147, "F3507g Mobile Broadband Module" }, { 0x413c8156, "Wireless 370 Bluetooth Mini-card" }, { 0x413c8157, "Integrated Keyboard" }, { 0x413c8158, "Integrated Touchpad / Trackstick" }, { 0x413c8160, "Wireless 365 Bluetooth" }, { 0x413c8161, "Integrated Keyboard" }, { 0x413c8162, "Integrated Touchpad [Synaptics]" }, { 0x413c8171, "Gobi Wireless Modem (QDL mode)" }, { 0x413c8172, "Gobi Wireless Modem" }, { 0x413c8183, "F3607gw Mobile Broadband Module" }, { 0x413c8184, "F3607gw v2 Mobile Broadband Module" }, { 0x413c8185, "Gobi 2000 Wireless Modem (QDL mode)" }, { 0x413c8186, "Gobi 2000 Wireless Modem" }, { 0x413c8187, "DW375 Bluetooth Module" }, { 0x413c818e, "DW5560 miniPCIe HSPA+ Mobile Broadband Modem" }, { 0x413c8197, "BCM20702A0 Bluetooth Module" }, { 0x413c81a0, "Wireless 5808 Mobile Broadband (Sierra Wireless MC7355 Mini PCIE, 4G UMTS,HSDPA,HSPA+,LTE,1xRTT,EVDO Rev A,GSM,GPRS)" }, { 0x413c81a3, "Hub of E-Port Replicator" }, { 0x413c81a8, "Wireless 5808 Mobile Broadband (Sierra Wireless Mini PCIE, 4G UMTS,HSDPA,HSPA+,LTE,1xRTT,EVDO Rev A,GSM,GPRS)" }, { 0x413c8501, "Bluetooth Adapter" }, { 0x413c9001, "ATA Bridge" }, { 0x413c9009, "Portable Device" }, { 0x413c9500, "USB CP210x UART Bridge Controller [DW700]" }, { 0x413ca001, "Hub" }, { 0x413ca005, "Internal 2.0 Hub" }, { 0x413ca101, "Internal Dual SD Card module" }, { 0x413ca102, "iDRAC Virtual NIC" }, { 0x413ca503, "AC511 Sound Bar" }, { 0x413ca700, "Hub (in 1905FP LCD Monitor)" }, { 0x413cb007, "Streak 5 Android Tablet" }, { 0x413cb10b, "Dell Inc Dell Streak 7" }, { 0x413cb11a, "Dell Inc Dell Venue 7 inch" }, { 0x413cb11b, "Dell Inc Dell Venue 7 inch (2nd ID)" }, { 0x41469281, "Iomega Micro Mini 128MB Flash Drive" }, { 0x4146ba01, "Intuix Flash Drive" }, { 0x41681010, "Wireless Compact Laser Mouse" }, { 0x41738000, "Tolino Tolino Vision 6" }, { 0x42424201, "Buttons and Lights HID device" }, { 0x42424220, "Echo 1 Camera" }, { 0x42551000, "9FF2 [Digital Photo Display]" }, { 0x42552000, "HD2-14 [Hero 2 Camera]" }, { 0x43170700, "U.S. Robotics USR5426 802.11g Adapter" }, { 0x43170701, "U.S. Robotics USR5425 Wireless MAXg Adapter" }, { 0x43170711, "Belkin F5D7051 v3000 802.11g" }, { 0x43170720, "Dynex DX-BUSB" }, { 0x43170721, "Dynex DX-EBUSB" }, { 0x43485523, "USB->RS 232 adapter with Prolific PL 2303 chipset" }, { 0x43485537, "13.56Mhz RFID Card Reader and Writer" }, { 0x43485584, "CH34x printer adapter cable" }, { 0x45724572, "Shuttle PN31 Remote" }, { 0x45861026, "Crystal Bar Flash Drive" }, { 0x46709394, "Game Cube USB Memory Adaptor 64M" }, { 0x46f40004, "QEMU Virtual MTP" }, { 0x47520011, "Midistart-2" }, { 0x47572009, "PEL-2000 Series Electronic Load (CDC)" }, { 0x47572010, "PEL-2000 Series Electronic Load (CDC)" }, { 0x47660001, "MEZ1000 RDA" }, { 0x48557288, "Ultra Traveldrive 160G 2.5\" HDD" }, { 0x49711004, "Hitachi LifeStudio Desk (3.5\" HDD) [w/o flash key]" }, { 0x49711013, "Touro Desk Pro" }, { 0x49711015, "Touro Desk 3.0" }, { 0x49718001, "G-Tech G-DRIVE Mobile" }, { 0x4971cb01, "SP-U25/120G" }, { 0x4971cd15, "Simple Drive Mini (2.5\" HDD)" }, { 0x4971ce07, "SimpleDrive (3.5\" HDD)" }, { 0x4971ce12, "FV-U35" }, { 0x4971ce17, "1TB SimpleDrive II USB External Hard Drive" }, { 0x4971ce18, "(re)Drive" }, { 0x4971ce21, "JMicron JM20329 SATA Bridge [eg. HITACHI SimpleDrive mini]" }, { 0x4971ce22, "Hitachi SimpleTough (3.5\" HDD)" }, { 0x4d460001, "V-Link" }, { 0x4d460002, "V-DAC II" }, { 0x50320bb8, "Grandtec USB1.1 DVB-T (cold)" }, { 0x50320bb9, "Grandtec USB1.1 DVB-T (warm)" }, { 0x50320fa0, "Grandtec USB1.1 DVB-T (cold)" }, { 0x50320fa1, "Grandtec USB1.1 DVB-T (warm)" }, { 0x50c24013, "WLAN Adapter" }, { 0x51312007, "MSR-101U Mini HID magnetic card reader" }, { 0x51731809, "ZD1211" }, { 0x52191001, "Cetus CDC Device" }, { 0x53321300, "CST2545-5W (L-Trac)" }, { 0x53451234, "PDS6062T Oscilloscope" }, { 0x534c0001, "Bitcoin Wallet [TREZOR]" }, { 0x534c0002, "Bitcoin Wallet [TREZOR v2]" }, { 0x534d0021, "MS210x Video Grabber [EasierCAP]" }, { 0x534d6021, "VGA Display Adapter" }, { 0x53540017, "PAXcam2" }, { 0x55430002, "SuperPen WP3325U Tablet" }, { 0x55430003, "Tablet WP4030U" }, { 0x55430004, "Tablet WP5540U" }, { 0x55430005, "Tablet WP8060U" }, { 0x55430041, "Genius PenSketch 6x8 Tablet" }, { 0x55430042, "Tablet PF1209" }, { 0x5543004a, "XP-Pen Artist 10S tablet" }, { 0x5543004d, "Tablet Monitor MSP19U" }, { 0x55430064, "Aiptek HyperPen 10000U" }, { 0x55433031, "Graphics tablet [DrawImage G3, Ugee G3]" }, { 0x55551110, "VGA2USB" }, { 0x55551120, "KVM2USB" }, { 0x55552222, "DVI2USB" }, { 0x55553333, "VGA2USB Pro" }, { 0x55553337, "KVM2USB Pro" }, { 0x55553340, "VGA2USB LR" }, { 0x55553344, "KVM2USB LR" }, { 0x55553411, "DVI2USB Solo" }, { 0x55553422, "DVI2USB Duo" }, { 0x55553500, "DVI2USB3" }, { 0x55553501, "DVI2USB3 Rev3" }, { 0x55553510, "DVI2USB3_ET" }, { 0x55553520, "SDI2USB3" }, { 0x55aa0015, "Hard Drive" }, { 0x55aa0102, "SuperDisk" }, { 0x55aa0103, "IDE Hard Drive" }, { 0x55aa0201, "DDI to Reader-19" }, { 0x55aa1234, "ATAPI Bridge" }, { 0x55aaa103, "Sandisk SDDR-55 SmartMedia Card Reader" }, { 0x55aab000, "USB to CompactFlash Card Reader" }, { 0x55aab004, "OnSpec MMC/SD Reader/Writer" }, { 0x55aab00b, "USB to Memory Stick Card Reader" }, { 0x55aab00c, "USB to SmartMedia Card Reader" }, { 0x55aab012, "Mitsumi FA402M 8-in-2 Card Reader" }, { 0x55aab200, "Compact Flash Reader" }, { 0x55aab204, "MMC/ SD Reader" }, { 0x55aab207, "Memory Stick Reader" }, { 0x5654ca42, "MasterHD 3" }, { 0x56560832, "UT2000/UT3000 Digital Storage Oscilloscope" }, { 0x595a0001, "Touchscreen" }, { 0x59860100, "Acer Orbicam" }, { 0x59860101, "USB2.0 Camera" }, { 0x59860102, "Acer Crystal Eye Webcam" }, { 0x59860105, "Acer Crystal Eye Webcam" }, { 0x59860137, "HP Webcam" }, { 0x59860141, "BisonCam, NB Pro" }, { 0x59860149, "HP Webcam-101" }, { 0x5986014c, "MSI Integrated Webcam" }, { 0x598601a6, "Lenovo Integrated Webcam" }, { 0x598601a7, "Lenovo Integrated Webcam" }, { 0x598601a9, "Lenovo Integrated Webcam" }, { 0x59860200, "Acer OrbiCam" }, { 0x59860202, "Fujitsu Webcam" }, { 0x59860203, "BisonCam NB Pro 1300" }, { 0x59860205, "Lenovo EasyCamera" }, { 0x59860217, "Integrated Webcam" }, { 0x59860241, "BisonCam, NB Pro" }, { 0x59860268, "SunplusIT INC. Integrated Camera" }, { 0x5986026a, "Integrated Camera" }, { 0x59860292, "Lenovo Integrated Webcam" }, { 0x59860294, "Lenovo Integrated Webcam" }, { 0x59860295, "Lenovo Integrated Webcam" }, { 0x59860299, "Lenovo Integrated Webcam" }, { 0x5986029c, "Lenovo EasyCamera" }, { 0x598602ac, "HP TrueVision HD Webcam" }, { 0x598602d0, "Lenovo Integrated Webcam [R5U877]" }, { 0x598602d2, "ThinkPad Integrated Camera" }, { 0x598602d5, "Integrated Camera" }, { 0x598603b3, "Lenovo Integrated Webcam" }, { 0x598603d0, "Lenovo Integrated Webcam [R5U877]" }, { 0x59860400, "BisonCam, NB Pro" }, { 0x59860535, "Lenovo EasyCamera integrated webcam" }, { 0x5986055a, "Lenovo Integrated Webcam" }, { 0x59860652, "Lenovo EasyCamera" }, { 0x59860670, "Lenovo EasyCamera" }, { 0x59860671, "Lenovo EasyCamera" }, { 0x59860706, "ThinkPad P50 Integrated Camera" }, { 0x59862113, "SunplusIT Integrated Camera" }, { 0x5986a002, "Lenovo EasyCamera Integrated Webcam" }, { 0x5a570260, "RT2570" }, { 0x5a570280, "802.11a/b/g/n USB Wireless LAN Card" }, { 0x5a570282, "802.11b/g/n USB Wireless LAN Card" }, { 0x5a570283, "802.11b/g/n USB Wireless LAN Card" }, { 0x5a570284, "802.11a/b/g/n USB Wireless LAN Card" }, { 0x5a570290, "ZW-N290 802.11n [Realtek RTL8192U]" }, { 0x5a575257, "Metronic 495257 wifi 802.11ng" }, { 0x60000001, "Trident TVBOX Video Grabber" }, { 0x6000dec0, "TV Wander" }, { 0x6000dec1, "TV Voyage" }, { 0x601a4740, "XBurst Jz4740 boot mode" }, { 0x601a4760, "JZ4760 Boot Device" }, { 0x60220500, "SuperPro Universal Device Programmer" }, { 0x6189182d, "LN-029 10/100 Ethernet Adapter" }, { 0x61892068, "USB to serial cable (v2)" }, { 0x62440101, "Intelligent Usb Dmx Interface SIUDI5A" }, { 0x62440201, "Intelligent Usb Dmx Interface SIUDI5C" }, { 0x62440300, "Intelligent Usb Dmx Interface SIUDI6 Firmware download" }, { 0x62440301, "Intelligent Usb Dmx Interface SIUDI6C" }, { 0x62440302, "Intelligent Usb Dmx Interface SIUDI6A" }, { 0x62440303, "Intelligent Usb Dmx Interface SIUDI6D" }, { 0x62440400, "Touch Sensitive Intelligent Control Keypad STICK1A" }, { 0x62440401, "Touch Sensitive Intelligent Control Keypad STICK1A" }, { 0x62440410, "Intelligent Usb Dmx Interface SIUDI7 Firmware Download" }, { 0x62440411, "Intelligent Usb Dmx Interface SIUDI7A" }, { 0x62440420, "Intelligent Usb Dmx Interface SIUDI8A Firmware Download" }, { 0x62440421, "Intelligent Usb Dmx Interface SIUDI8A" }, { 0x62440430, "Intelligent Usb Dmx Interface SIUDI8C Firmware Download" }, { 0x62440431, "Intelligent Usb Dmx Interface SIUDI8C" }, { 0x62440440, "Intelligent Usb Dmx Interface SIUDI9A Firmware Download" }, { 0x62440441, "Intelligent Usb Dmx Interface SIUDI9A" }, { 0x62440450, "Intelligent Usb Dmx Interface SIUDI9C Firmware Download" }, { 0x62440451, "Intelligent Usb Dmx Interface SIUDI9C" }, { 0x62440460, "Touch Sensitive Intelligent Control Keypad STICK2 Firmware download" }, { 0x62440461, "Touch Sensitive Intelligent Control Keypad STICK2" }, { 0x62440470, "Touch Sensitive Intelligent Control Keypad STICK1B Firmware download" }, { 0x62440471, "Touch Sensitive Intelligent Control Keypad STICK1B" }, { 0x62440480, "Touch Sensitive Intelligent Control Keypad STICK3 Firmware download" }, { 0x62440481, "Touch Sensitive Intelligent Control Keypad STICK3" }, { 0x62440490, "Intelligent Usb Dmx Interface SIUDI9D Firmware Download" }, { 0x62440491, "Intelligent Usb Dmx Interface SIUDI9D" }, { 0x62440500, "Touch Sensitive Intelligent Control Keypad STICK2B Firmware download" }, { 0x62440501, "Touch Sensitive Intelligent Control Keypad STICK2B" }, { 0x62440520, "Touch Sensitive Intelligent Control Keypad (STICK2C Firmware download, 32/64bits" }, { 0x62440521, "Touch Sensitive Intelligent Control Keypad (STICK2C, 32/64bits)" }, { 0x62440540, "Sunlite Universal Smart Handy Interface (SUSHI1A Firmware download, 32/64bits)" }, { 0x62440541, "Sunlite Universal Smart Handy Interface (SUSHI1A, 32/64bits)" }, { 0x62440570, "Touch Sensitive Intelligent Control Keypad (STICK4A Firmware download, 32/64bits)" }, { 0x62440571, "Touch Sensitive Intelligent Control Keypad (STICK4A, 32/64bits)" }, { 0x62440580, "Touch Sensitive Intelligent Control Keypad (STICK5A Firmware download, 32/64bits)" }, { 0x62440581, "Touch Sensitive Intelligent Control Keypad (STICK5A, 32/64bits)" }, { 0x62440590, "Intelligent Dmx Interface (SIUDI9S Firmware Download, 32/64bits)" }, { 0x62440591, "Intelligent Dmx Interface (SIUDI9S, 32/64bits)" }, { 0x62440600, "Intelligent Dmx Interface (SIUDI9M Firmware Download, 32/64bits)" }, { 0x62440601, "Intelligent Dmx Interface (SIUDI9M, 32/64bits)" }, { 0x62440610, "Intelligent Dmx Interface SIUDI10A Firmware Download" }, { 0x62440611, "Intelligent Dmx Interface SIUDI10A" }, { 0x62530100, "Ir reciver f. remote control" }, { 0x647201c8, "PlayStation Portable [Mass Storage]" }, { 0x65470232, "ARK3116 Serial" }, { 0x65575500, "Mass Storage Device" }, { 0x65578005, "Car Key" }, { 0x66150001, "Touchscreen" }, { 0x66150020, "IRTOUCH InfraRed TouchScreen" }, { 0x66150081, "TouchScreen" }, { 0x66660667, "WiseGroup Smart Joy PSX, PS-PC Smart JoyPad" }, { 0x66661c40, "TELEMIC 802.15.4 Sensor node (Bootloader)" }, { 0x66661c41, "TELEMIC 802.15.4 Sensor node" }, { 0x66662667, "JCOP BlueZ Smartcard reader" }, { 0x66668802, "SmartJoy Dual Plus PS2 converter" }, { 0x66668804, "WiseGroup SuperJoy Box 5" }, { 0x66778802, "SmartJoy Dual Plus PS2 converter" }, { 0x66778811, "Deluxe Dance Mat" }, { 0x675d062a, "Switch Mouse" }, { 0x6891a727, "3CRUSB10075 802.11bg [ZyDAS ZD1211]" }, { 0x695c3829, "Opera1 DVB-S (warm state)" }, { 0x6993b001, "VoIP Phone" }, { 0x71042202, "UF5/UF6/UF7/UF8 MIDI Master Keyboard" }, { 0x726c2149, "EntropyKing Random Number Generator" }, { 0x73020001, "HUB 4X232" }, { 0x734c5920, "Q-Box II DVB-S2 HD" }, { 0x734c5928, "Q-Box II DVB-S2 HD" }, { 0x73735740, "Intelligent TFT-LCD Module" }, { 0x73927711, "EW-7711UTn nLite Wireless Adapter [Ralink RT3070]" }, { 0x73927717, "EW-7717UN 802.11n Wireless Adapter [Ralink RT2770]" }, { 0x73927718, "EW-7718UN 802.11n Wireless Adapter [Ralink RT2870]" }, { 0x73927722, "EW-7722UTn 802.11n Wireless Adapter [Ralink RT3072]" }, { 0x73927733, "EW-7733UnD 802.11abgn 3x3:3 [Ralink RT3573]" }, { 0x73927811, "EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]" }, { 0x73927822, "EW-7612UAn V2 802.11n Wireless Adapter [Realtek RTL8192CU]" }, { 0x7392a611, "EW-7611ULB 802.11b/g/n and Bluetooth 4.0 Adapter" }, { 0x7392a711, "EW-7711MAC 802.11ac Wireless Adapter" }, { 0x7392a811, "EW-7811UTC 802.11ac Wireless Adapter" }, { 0x7392b711, "EW-7722UAC 802.11a/b/g/n/ac (2x2) Wireless Adapter [MediaTek MT7612U]" }, { 0x7392b822, "EW-7822ULC 802.11ac Wireless Adapter [Realtek RTL8812AU]" }, { 0x73d80104, "VetPro DR, Size 1" }, { 0x73d80105, "VetPro DR, Size 2" }, { 0x7669350c, "Model 350c, Frequency Response Analyzer" }, { 0x76695140, "Model 5140, Frequency Response Analyzer" }, { 0x76696305, "Model 6305, Frequency Response Analyzer" }, { 0x76696320, "Model 6320, Frequency Response Analyzer" }, { 0x76696340, "Model 6340, Frequency Response Analyzer" }, { 0x76697405, "Model 7405, Frequency Response Analyzer" }, { 0x76697420, "Model 7420, Frequency Response Analyzer" }, { 0x76697440, "Model 7440, Frequency Response Analyzer" }, { 0x76698805, "Model 8805, Frequency Response Analyzer" }, { 0x76698820, "Model 8820, Frequency Response Analyzer" }, { 0x76698840, "Model 8840, Frequency Response Analyzer" }, { 0x7825a2a4, "External SATA Hard Drive Adapter cable PA023U3" }, { 0x7825b0b3, "miniStack MAX" }, { 0x80708003, "USB-DIO-96" }, { 0x80708070, "USB-AO16-16A" }, { 0x80860001, "AnyPoint (TM) Home Network 1.6 Mbps Wireless Adapter" }, { 0x80860044, "CPU DRAM Controller" }, { 0x80860046, "HD Graphics" }, { 0x80860100, "Personal Audio Player 3000" }, { 0x80860101, "Personal Audio Player 3000" }, { 0x80860110, "Easy PC Camera" }, { 0x80860120, "PC Camera CS120" }, { 0x80860180, "WiMAX Connection 2400m" }, { 0x80860181, "WiMAX Connection 2400m" }, { 0x80860182, "WiMAX Connection 2400m" }, { 0x80860186, "WiMAX Connection 2400m" }, { 0x80860188, "WiMAX Connection 2400m" }, { 0x80860189, "Centrino Advanced-N 6230 Bluetooth adapter" }, { 0x80860200, "AnyPoint(TM) Wireless II Network 11Mbps Adapter [Atmel AT76C503A]" }, { 0x80860431, "Pro Video PC Camera" }, { 0x80860510, "Digital Movie Creator" }, { 0x80860630, "Pocket PC Camera" }, { 0x80860780, "CS780 Microphone Input" }, { 0x808607d3, "BLOB boot loader firmware" }, { 0x808607dc, "Bluetooth 4.0* Smart Ready (low energy)" }, { 0x80860a66, "RealSense 3D Camera (Front F200)" }, { 0x80860aa5, "RealSense SR300" }, { 0x80860ad2, "RealSense D410" }, { 0x80860ad3, "RealSense D415" }, { 0x80860b07, "RealSense D435" }, { 0x80860b64, "RealSense L515" }, { 0x80860dad, "Cherry MiniatureCard Keyboard" }, { 0x80861010, "AnyPoint(TM) Home Network 10 Mbps Phoneline Adapter" }, { 0x8086110a, "Bluetooth Controller from (Ericsson P4A)" }, { 0x8086110b, "Bluetooth Controller from (Intel/CSR)" }, { 0x80861110, "PRO/Wireless LAN Module" }, { 0x80861111, "PRO/Wireless 2011B 802.11b Adapter [Intersil PRISM 2.5]" }, { 0x80861122, "Integrated Hub" }, { 0x80861134, "Hollister Mobile Monitor" }, { 0x80861139, "In-Target Probe (ITP)" }, { 0x80861234, "Prototype Reader/Writer" }, { 0x80861403, "WiMAX Connection 2400m" }, { 0x80861405, "WiMAX Connection 2400m" }, { 0x80861406, "WiMAX Connection 2400m" }, { 0x80862448, "82801 PCI Bridge" }, { 0x80863100, "PRO/DSL 3220 Modem - WAN" }, { 0x80863101, "PRO/DSL 3220 Modem" }, { 0x80863240, "AnyPoint\302\256 3240 Modem - WAN" }, { 0x80863241, "AnyPoint\302\256 3240 Modem" }, { 0x80868602, "Miniature Card Slot" }, { 0x80868c26, "8 Series/C220 Series EHCI #1" }, { 0x80868c2d, "8 Series/C220 Series EHCI #2" }, { 0x80868c31, "eXtensible Host Controller" }, { 0x80869303, "8x930Hx Hub" }, { 0x80869500, "CE 9500 DVB-T" }, { 0x80869890, "82930 Test Board" }, { 0x8086a36d, "Host Controller" }, { 0x8086beef, "SCM Miniature Card Reader/Writer" }, { 0x8086c013, "Wireless HID Station" }, { 0x8086dead, "Galileo" }, { 0x8086f001, "XScale PXA27x Bulverde flash" }, { 0x8086f1a5, "Z-U130 [Value Solid State Drive]" }, { 0x80870020, "Integrated Rate Matching Hub" }, { 0x80870024, "Integrated Rate Matching Hub" }, { 0x80870025, "Wireless-AC 9260 Bluetooth Adapter" }, { 0x80870026, "AX201 Bluetooth" }, { 0x80870029, "AX200 Bluetooth" }, { 0x80870032, "AX210 Bluetooth" }, { 0x80870716, "Modem Flashloader" }, { 0x808707da, "Centrino Bluetooth Wireless Transceiver" }, { 0x808707db, "Atom C2000 Root Hub" }, { 0x808707dc, "Bluetooth wireless interface" }, { 0x808707eb, "Oaktrail tablet" }, { 0x8087092a, "Intel Point of View TAB-I847" }, { 0x808709fb, "Intel Xolo 900/AZ210A" }, { 0x80870a15, "Intel Foxconn iView i700" }, { 0x80870a16, "Intel Noblex T7A21" }, { 0x80870a2a, "Bluetooth wireless interface" }, { 0x80870a2b, "Bluetooth wireless interface" }, { 0x80870a5e, "Intel Telcast Air 3G" }, { 0x80870a5f, "Intel Chuwi vi8" }, { 0x80870a9e, "Edison" }, { 0x80870aa7, "Wireless-AC 3168 Bluetooth" }, { 0x80870aaa, "Bluetooth 9460/9560 Jefferson Peak (JfP)" }, { 0x80870fff, "Intel Android Bootloader Interface" }, { 0x80878000, "Integrated Rate Matching Hub" }, { 0x80878001, "Integrated Hub" }, { 0x80878002, "8 channel internal hub" }, { 0x80878008, "Integrated Rate Matching Hub" }, { 0x8087800a, "Hub" }, { 0x80ee0021, "USB Tablet" }, { 0x80ee0022, "multitouch tablet" }, { 0x82823201, "Retro Adapter" }, { 0x82823301, "Retro Adapter Mouse" }, { 0x83010089, "HPBT05R 2.4 G Mini Wireless Touchpad Keyboard" }, { 0x83412000, "Flashdisk" }, { 0x85641000, "JetFlash" }, { 0x85644000, "microSD/SD/CF UHS-II Card Reader [RDF8, RDF9]" }, { 0x85646000, "digital photo frame PF830" }, { 0x85646002, "digital photo frame PF830" }, { 0x85647000, "StoreJet 25H3" }, { 0x86448003, "Micro Line" }, { 0x8644800b, "Micro Line (4GB)" }, { 0x8e06f700, "DT225 Trackball" }, { 0x8ea3a02c, "Wireless Presenter Receiver" }, { 0x9016182d, "WL-022 802.11b Adapter" }, { 0x9022d630, "DVB-S S630" }, { 0x9022d650, "DVB-S2 S650" }, { 0x9022d660, "DVB-S2 S660" }, { 0x91480004, "R3 Compatible Device" }, { 0x97107703, "MCS7703 Serial Port Adapter" }, { 0x97107705, "MCS7705 Parallel port adapter" }, { 0x97107715, "MCS7715 Parallel and serial port adapter" }, { 0x97107717, "MCS7717 3-port hub with serial and parallel adapter" }, { 0x97107720, "MCS7720 Dual serial port adapter" }, { 0x97107730, "MCS7730 10/100 Mbps Ethernet adapter" }, { 0x97107780, "MCS7780 4Mbps Fast IrDA Adapter" }, { 0x97107784, "MCS7784 115.2Kb IrDA Adapter" }, { 0x97107810, "MCS7810 Serial Port Adapter" }, { 0x97107820, "MCS7820 Dual Serial Port Adapter" }, { 0x97107830, "MCS7830 10/100 Mbps Ethernet adapter" }, { 0x97107832, "MCS7832 10/100 Mbps Ethernet adapter" }, { 0x97107840, "MCS7820/MCS7840 2/4 port serial adapter" }, { 0x97109990, "MCS9990 PCIe Host Controller" }, { 0x98490701, "Platinum MyDrive HP" }, { 0x98860015, "A50" }, { 0x99990001, "JAF Mobile Phone Flasher Interface" }, { 0x99fa8988, "V.cap Camera Device" }, { 0x9ac44b8f, "ProxMark-3 RFID Instrument" }, { 0x9e889e8f, "Plug Computer Basic [SheevaPlug]" }, { 0xa014b014, "Desktop Microphone NS-PAUM50" }, { 0xa1081000, "X1000" }, { 0xa1084775, "JZ4775 Boot Device" }, { 0xa1280610, "Dino-Lite Digital Microscope (SN9C201 + HV7131R)" }, { 0xa1280611, "Dino-Lite Digital Microscope (SN9C201 + HV7131R)" }, { 0xa1280612, "Dino-Lite Digital Microscope (SN9C120 + HV7131R)" }, { 0xa1280613, "Dino-Lite Digital Microscope (SN9C201 + HV7131R)" }, { 0xa1280614, "Dino-Lite Digital Microscope (SN9C201 + MI1310/MT9M111)" }, { 0xa1280615, "Dino-Lite Digital Microscope (SN9C201 + MI1310/MT9M111)" }, { 0xa1280616, "Dino-Lite Digital Microscope (SN9C120 + HV7131R)" }, { 0xa1280617, "Dino-Lite Digital Microscope (SN9C201 + MI1310/MT9M111)" }, { 0xa1280618, "Dino-Lite Digital Microscope (SN9C201 + HV7131R)" }, { 0xa1680610, "Dino-Lite Digital Microscope" }, { 0xa1680611, "Dino-Lite Digital Microscope" }, { 0xa1680613, "Dino-Lite Digital Microscope" }, { 0xa1680614, "Dino-Lite Pro Digital Microscope" }, { 0xa1680615, "Dino-Lite Pro Digital Microscope" }, { 0xa1680617, "Dino-Lite Pro Digital Microscope" }, { 0xa1680618, "Dino-Lite Digital Microscope" }, { 0xa4660a53, "TL866II Plus Device Programmer [MiniPRO]" }, { 0xa6005500, "zuban H2OPS - GPS for canoeing" }, { 0xa600a000, "SIGMA Logic Analyzer" }, { 0xa600a002, "EMUSB interface pro MU Beta" }, { 0xa600c000, "MREL Data Trap II" }, { 0xa600c001, "VUTS DMU4" }, { 0xa600c002, "Electrone MASH" }, { 0xa600c005, "MREL HTU HandiTrap cable" }, { 0xa600c006, "JRC COmeter" }, { 0xa600e110, "OK1ZIA Davac 4.x" }, { 0xa600e112, "OK1ZIA Antenna rotator" }, { 0xa600e113, "OK1ZIA GPIO" }, { 0xa600e114, "OK1ZIA HD&Keyb" }, { 0xa7276893, "3CRUSB20075 OfficeConnect Wireless 108Mbps 11g Adapter [Atheros AR5523]" }, { 0xa7276895, "AR5523" }, { 0xa7276897, "AR5523" }, { 0xa88a3003, "PCFree Multimedia Remote Control PC" }, { 0xaaaa8815, "microSD CardReader" }, { 0xaaaa8816, "microSD CardReader" }, { 0xab1234cd, "JMICRON JMS578 SATA 6Gb/s bridge" }, { 0xabcd1234, "UDisk flash drive" }, { 0xabcd6104, "PCCloneEX Lite+ SATA docking station [QP0017]" }, { 0xabcdcdee, "Petcam" }, { 0xb58e9e84, "Yeti Stereo Microphone" }, { 0xba777147, "Agterbosch" }, { 0xc2160180, "MSR90 MagStripe reader" }, { 0xc2511705, "MCB2300" }, { 0xc2512710, "ULink" }, { 0xc2512723, "ULink-ME" }, { 0xc5020029, "Rocker" }, { 0xcace0002, "AirPCAP Classic 802.11 packet capture adapter" }, { 0xcace0300, "AirPcap NX [Atheros AR9170+AR9104]" }, { 0xd2080310, "Mini-PAC Arcade Control Interface" }, { 0xd2090301, "I-PAC Arcade Control Interface" }, { 0xd2090501, "Ultra-Stik Ultimarc Ultra-Stik Player 1" }, { 0xd2091571, "A-PAC Arcade Control Interface" }, { 0xd9040003, "Laser Mouse (ID0009A)" }, { 0xe2b70811, "CD002" }, { 0xe2b70812, "CD005 MP3 Player" }, { 0xe4e41130, "Astribank series" }, { 0xe4e41131, "Astribank series" }, { 0xe4e41132, "Astribank series" }, { 0xe4e41140, "Astribank series" }, { 0xe4e41141, "Astribank series" }, { 0xe4e41142, "Astribank series" }, { 0xe4e41150, "Astribank series" }, { 0xe4e41151, "Astribank series" }, { 0xe4e41152, "Astribank series" }, { 0xe4e41160, "Astribank 2 series" }, { 0xe4e41161, "Astribank 2 series" }, { 0xe4e41162, "Astribank 2 series" }, { 0xeb030920, "Make Controller Kit" }, { 0xeb1a17de, "KWorld V-Stream XPERT DTV - DVB-T USB cold" }, { 0xeb1a17df, "KWorld V-Stream XPERT DTV - DVB-T USB warm" }, { 0xeb1a2571, "M035 Compact Web Cam" }, { 0xeb1a2710, "SilverCrest Webcam" }, { 0xeb1a2750, "ECS Elitegroup G220 integrated Webcam" }, { 0xeb1a2761, "EeePC 701 integrated Webcam" }, { 0xeb1a2776, "Combined audio and video input device" }, { 0xeb1a2800, "EM2800 Video Capture" }, { 0xeb1a2801, "EM2801 Video Capture" }, { 0xeb1a2820, "EM2820 Video Capture" }, { 0xeb1a2821, "EM2820 Video Capture" }, { 0xeb1a2840, "EM2840 Video Capture" }, { 0xeb1a2841, "EM2840 Video Capture" }, { 0xeb1a2861, "EasyCAP DC60+ [EM2861]" }, { 0xeb1a2863, "Video Grabber" }, { 0xeb1a2870, "Pinnacle PCTV Stick" }, { 0xeb1a2881, "EM2881 Video Controller" }, { 0xeb1a50a3, "Gadmei UTV380 TV Box" }, { 0xeb1a50a6, "Gadmei UTV330 TV Box" }, { 0xeb1a5166, "video grabber 28282" }, { 0xeb1a5184, "VIDBOX NW06 [EM28281]" }, { 0xeb1a8179, "Terratec Cinergy T2 Stick HD" }, { 0xeb1ae305, "KWorld PlusTV Analog Stick" }, { 0xeb1ae355, "KWorld DVB-T 355U Digital TV Dongle" }, { 0xf0036002, "PhotoSmart C500" }, { 0xf007a999, "Endoscope Camera" }, { 0xf007b999, "Otoscope Camera" }, { 0xf1820003, "Controller" }, { 0xf3f00740, "multi-function device" }, { 0xf3f01340, "multi-function printer" }, { 0xf3f01440, "printer device" }, { 0xf3f01921, "printer" }, { 0xf4ecee38, "Digital Storage Oscilloscope" }, { 0xf4edee37, "SDG1010 Waveform Generator" }, { 0xf4edee3a, "SDG1010 Waveform Generator (TMC mode)" }, { 0xf7660001, "PC-Gamepad \"Greystorm\"" }, { 0xfa115afe, "DyingLight" }, { 0xfc080101, "MIDI Cable UA0037" }, { 0xffee0100, "Card Reader Controller RTS5101/RTS5111/RTS5116" }, { 0, NULL } }; value_string_ext ext_usb_products_vals = VALUE_STRING_EXT_INIT(usb_products_vals);
C/C++
wireshark/epan/dissectors/x11-declarations.h
/* Do not modify this file. */ /* It was automatically generated by ../../tools/process-x11-fields.pl. */ /* * Copyright 2000, Christophe Tronche <ch.tronche[AT]computer.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald[AT]wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ static int hf_x11_above_sibling = -1; static int hf_x11_acceleration_denominator = -1; static int hf_x11_acceleration_numerator = -1; static int hf_x11_access_mode = -1; static int hf_x11_address = -1; static int hf_x11_ip_address = -1; static int hf_x11_address_length = -1; static int hf_x11_alloc = -1; static int hf_x11_allow_events_mode = -1; static int hf_x11_allow_exposures = -1; static int hf_x11_arcs = -1; static int hf_x11_arc = -1; static int hf_x11_arc_x = -1; static int hf_x11_arc_y = -1; static int hf_x11_arc_width = -1; static int hf_x11_arc_height = -1; static int hf_x11_arc_angle1 = -1; static int hf_x11_arc_angle2 = -1; static int hf_x11_arc_mode = -1; static int hf_x11_atom = -1; static int hf_x11_authorization_protocol_name_length = -1; static int hf_x11_authorization_protocol_name = -1; static int hf_x11_authorization_protocol_data_length = -1; static int hf_x11_authorization_protocol_data = -1; static int hf_x11_auto_repeat_mode = -1; static int hf_x11_bitmap_format_bit_order = -1; static int hf_x11_bitmap_format_scanline_pad = -1; static int hf_x11_bitmap_format_scanline_unit = -1; static int hf_x11_bytes_after = -1; static int hf_x11_back_blue = -1; static int hf_x11_back_green = -1; static int hf_x11_back_red = -1; static int hf_x11_background = -1; static int hf_x11_background_pixel = -1; static int hf_x11_background_pixmap = -1; static int hf_x11_backing_pixel = -1; static int hf_x11_backing_planes = -1; static int hf_x11_backing_store = -1; static int hf_x11_bell_duration = -1; static int hf_x11_bell_percent = -1; static int hf_x11_bell_pitch = -1; static int hf_x11_bit_gravity = -1; static int hf_x11_bit_plane = -1; static int hf_x11_blue = -1; static int hf_x11_blues = -1; static int hf_x11_border_pixel = -1; static int hf_x11_border_pixmap = -1; static int hf_x11_border_width = -1; static int hf_x11_button = -1; static int hf_x11_byte_order = -1; static int hf_x11_childwindow = -1; static int hf_x11_cap_style = -1; static int hf_x11_change_host_mode = -1; static int hf_x11_cid = -1; static int hf_x11_class = -1; static int hf_x11_clip_mask = -1; static int hf_x11_clip_x_origin = -1; static int hf_x11_clip_y_origin = -1; static int hf_x11_close_down_mode = -1; static int hf_x11_cmap = -1; static int hf_x11_colormap = -1; static int hf_x11_colormap_state = -1; static int hf_x11_color_items = -1; static int hf_x11_coloritem = -1; static int hf_x11_coloritem_pixel = -1; static int hf_x11_coloritem_red = -1; static int hf_x11_coloritem_green = -1; static int hf_x11_coloritem_blue = -1; static int hf_x11_coloritem_flags = -1; static int hf_x11_coloritem_flags_do_red = -1; static int hf_x11_coloritem_flags_do_green = -1; static int hf_x11_coloritem_flags_do_blue = -1; static int hf_x11_coloritem_flags_unused = -1; static int hf_x11_coloritem_unused = -1; static int hf_x11_colors = -1; static int hf_x11_configure_window_mask = -1; static int hf_x11_configure_window_mask_x = -1; static int hf_x11_configure_window_mask_y = -1; static int hf_x11_configure_window_mask_width = -1; static int hf_x11_configure_window_mask_height = -1; static int hf_x11_configure_window_mask_border_width = -1; static int hf_x11_configure_window_mask_sibling = -1; static int hf_x11_configure_window_mask_stack_mode = -1; static int hf_x11_confine_to = -1; static int hf_x11_contiguous = -1; static int hf_x11_coordinate_mode = -1; static int hf_x11_count = -1; static int hf_x11_cursor = -1; static int hf_x11_dash_offset = -1; static int hf_x11_dashes = -1; static int hf_x11_dashes_length = -1; static int hf_x11_do_acceleration = -1; static int hf_x11_do_threshold = -1; static int hf_x11_detail = -1; static int hf_x11_do_not_propagate_mask = -1; static int hf_x11_do_not_propagate_mask_KeyPress = -1; static int hf_x11_do_not_propagate_mask_KeyRelease = -1; static int hf_x11_do_not_propagate_mask_ButtonPress = -1; static int hf_x11_do_not_propagate_mask_ButtonRelease = -1; static int hf_x11_do_not_propagate_mask_PointerMotion = -1; static int hf_x11_do_not_propagate_mask_Button1Motion = -1; static int hf_x11_do_not_propagate_mask_Button2Motion = -1; static int hf_x11_do_not_propagate_mask_Button3Motion = -1; static int hf_x11_do_not_propagate_mask_Button4Motion = -1; static int hf_x11_do_not_propagate_mask_Button5Motion = -1; static int hf_x11_do_not_propagate_mask_ButtonMotion = -1; static int hf_x11_do_not_propagate_mask_erroneous_bits = -1; static int hf_x11_event_sequencenumber = -1; static int hf_x11_error = -1; static int hf_x11_error_badvalue = -1; static int hf_x11_error_badresourceid = -1; static int hf_x11_error_sequencenumber = -1; static int hf_x11_errorcode = -1; static int hf_x11_event_x = -1; static int hf_x11_event_y = -1; static int hf_x11_eventbutton = -1; static int hf_x11_eventcode = -1; static int hf_x11_eventwindow = -1; static int hf_x11_extension = -1; static int hf_x11_first_event = -1; static int hf_x11_first_error = -1; static int hf_x11_gc_dashes = -1; static int hf_x11_gc_value_mask = -1; static int hf_x11_gc_value_mask_function = -1; static int hf_x11_gc_value_mask_plane_mask = -1; static int hf_x11_gc_value_mask_foreground = -1; static int hf_x11_gc_value_mask_background = -1; static int hf_x11_gc_value_mask_line_width = -1; static int hf_x11_gc_value_mask_line_style = -1; static int hf_x11_gc_value_mask_cap_style = -1; static int hf_x11_gc_value_mask_join_style = -1; static int hf_x11_gc_value_mask_fill_style = -1; static int hf_x11_gc_value_mask_fill_rule = -1; static int hf_x11_gc_value_mask_tile = -1; static int hf_x11_gc_value_mask_stipple = -1; static int hf_x11_gc_value_mask_tile_stipple_x_origin = -1; static int hf_x11_gc_value_mask_tile_stipple_y_origin = -1; static int hf_x11_gc_value_mask_font = -1; static int hf_x11_gc_value_mask_subwindow_mode = -1; static int hf_x11_gc_value_mask_graphics_exposures = -1; static int hf_x11_gc_value_mask_clip_x_origin = -1; static int hf_x11_gc_value_mask_clip_y_origin = -1; static int hf_x11_gc_value_mask_clip_mask = -1; static int hf_x11_gc_value_mask_dash_offset = -1; static int hf_x11_gc_value_mask_gc_dashes = -1; static int hf_x11_gc_value_mask_arc_mode = -1; static int hf_x11_green = -1; static int hf_x11_greens = -1; static int hf_x11_data = -1; static int hf_x11_data16 = -1; static int hf_x11_data16_item = -1; static int hf_x11_data32 = -1; static int hf_x11_data32_item = -1; static int hf_x11_data_length = -1; static int hf_x11_delete = -1; static int hf_x11_delta = -1; static int hf_x11_depth = -1; static int hf_x11_depth_detail = -1; static int hf_x11_depth_detail_depth = -1; static int hf_x11_depth_detail_visualtypes_numbers = -1; static int hf_x11_destination = -1; static int hf_x11_direction = -1; static int hf_x11_drawable = -1; static int hf_x11_dst_drawable = -1; static int hf_x11_dst_gc = -1; static int hf_x11_dst_window = -1; static int hf_x11_dst_x = -1; static int hf_x11_dst_y = -1; static int hf_x11_event_detail = -1; static int hf_x11_event_mask = -1; static int hf_x11_event_mask_KeyPress = -1; static int hf_x11_event_mask_KeyRelease = -1; static int hf_x11_event_mask_ButtonPress = -1; static int hf_x11_event_mask_ButtonRelease = -1; static int hf_x11_event_mask_EnterWindow = -1; static int hf_x11_event_mask_LeaveWindow = -1; static int hf_x11_event_mask_PointerMotion = -1; static int hf_x11_event_mask_PointerMotionHint = -1; static int hf_x11_event_mask_Button1Motion = -1; static int hf_x11_event_mask_Button2Motion = -1; static int hf_x11_event_mask_Button3Motion = -1; static int hf_x11_event_mask_Button4Motion = -1; static int hf_x11_event_mask_Button5Motion = -1; static int hf_x11_event_mask_ButtonMotion = -1; static int hf_x11_event_mask_KeymapState = -1; static int hf_x11_event_mask_Exposure = -1; static int hf_x11_event_mask_VisibilityChange = -1; static int hf_x11_event_mask_StructureNotify = -1; static int hf_x11_event_mask_ResizeRedirect = -1; static int hf_x11_event_mask_SubstructureNotify = -1; static int hf_x11_event_mask_SubstructureRedirect = -1; static int hf_x11_event_mask_FocusChange = -1; static int hf_x11_event_mask_PropertyChange = -1; static int hf_x11_event_mask_ColormapChange = -1; static int hf_x11_event_mask_OwnerGrabButton = -1; static int hf_x11_event_mask_erroneous_bits = -1; static int hf_x11_eventlength = -1; static int hf_x11_exact_blue = -1; static int hf_x11_exact_green = -1; static int hf_x11_exact_red = -1; static int hf_x11_exposures = -1; static int hf_x11_family = -1; static int hf_x11_fid = -1; static int hf_x11_fill_rule = -1; static int hf_x11_fill_style = -1; static int hf_x11_first_keycode = -1; static int hf_x11_focus = -1; static int hf_x11_focus_detail = -1; static int hf_x11_focus_mode = -1; static int hf_x11_font = -1; static int hf_x11_fore_blue = -1; static int hf_x11_fore_green = -1; static int hf_x11_fore_red = -1; static int hf_x11_foreground = -1; static int hf_x11_format = -1; static int hf_x11_from_configure = -1; static int hf_x11_function = -1; static int hf_x11_gc = -1; static int hf_x11_get_property_type = -1; static int hf_x11_grab_mode = -1; static int hf_x11_grab_status = -1; static int hf_x11_grab_window = -1; static int hf_x11_graphics_exposures = -1; static int hf_x11_height = -1; static int hf_x11_image_byte_order = -1; static int hf_x11_initial_connection = -1; static int hf_x11_image_format = -1; static int hf_x11_image_pixmap_format = -1; static int hf_x11_interval = -1; static int hf_x11_items = -1; static int hf_x11_join_style = -1; static int hf_x11_key = -1; static int hf_x11_key_click_percent = -1; static int hf_x11_keyboard_key = -1; static int hf_x11_keyboard_mode = -1; static int hf_x11_keybut_mask_erroneous_bits = -1; static int hf_x11_keycode = -1; static int hf_x11_keyboard_value_mask = -1; static int hf_x11_keyboard_value_mask_key_click_percent = -1; static int hf_x11_keyboard_value_mask_bell_percent = -1; static int hf_x11_keyboard_value_mask_bell_pitch = -1; static int hf_x11_keyboard_value_mask_bell_duration = -1; static int hf_x11_keyboard_value_mask_led = -1; static int hf_x11_keyboard_value_mask_led_mode = -1; static int hf_x11_keyboard_value_mask_keyboard_key = -1; static int hf_x11_keyboard_value_mask_auto_repeat_mode = -1; static int hf_x11_keycode_count = -1; static int hf_x11_keycodes = -1; static int hf_x11_keycodes_item = -1; static int hf_x11_keycodes_per_modifier = -1; static int hf_x11_keys = -1; static int hf_x11_keysyms = -1; static int hf_x11_keysyms_item = -1; static int hf_x11_keysyms_item_keysym = -1; static int hf_x11_keysyms_per_keycode = -1; static int hf_x11_length_of_reason = -1; static int hf_x11_length_of_vendor = -1; static int hf_x11_led = -1; static int hf_x11_led_mode = -1; static int hf_x11_left_pad = -1; static int hf_x11_line_style = -1; static int hf_x11_line_width = -1; static int hf_x11_long_length = -1; static int hf_x11_long_offset = -1; static int hf_x11_map = -1; static int hf_x11_map_length = -1; static int hf_x11_mapping_request = -1; static int hf_x11_mask = -1; static int hf_x11_mask_char = -1; static int hf_x11_mask_font = -1; static int hf_x11_max_names = -1; static int hf_x11_mid = -1; static int hf_x11_mode = -1; static int hf_x11_major_opcode = -1; static int hf_x11_max_keycode = -1; static int hf_x11_maximum_request_length = -1; static int hf_x11_min_keycode = -1; static int hf_x11_minor_opcode = -1; static int hf_x11_modifiers_mask = -1; static int hf_x11_modifiers_mask_Shift = -1; static int hf_x11_modifiers_mask_Lock = -1; static int hf_x11_modifiers_mask_Control = -1; static int hf_x11_modifiers_mask_Mod1 = -1; static int hf_x11_modifiers_mask_Mod2 = -1; static int hf_x11_modifiers_mask_Mod3 = -1; static int hf_x11_modifiers_mask_Mod4 = -1; static int hf_x11_modifiers_mask_Mod5 = -1; static int hf_x11_modifiers_mask_Button1 = -1; static int hf_x11_modifiers_mask_Button2 = -1; static int hf_x11_modifiers_mask_Button3 = -1; static int hf_x11_modifiers_mask_Button4 = -1; static int hf_x11_modifiers_mask_Button5 = -1; static int hf_x11_modifiers_mask_AnyModifier = -1; static int hf_x11_modifiers_mask_erroneous_bits = -1; static int hf_x11_motion_buffer_size = -1; static int hf_x11_new = -1; static int hf_x11_number_of_formats_in_pixmap_formats = -1; static int hf_x11_number_of_screens_in_roots = -1; static int hf_x11_name = -1; static int hf_x11_name_length = -1; static int hf_x11_odd_length = -1; static int hf_x11_only_if_exists = -1; static int hf_x11_opcode = -1; static int hf_x11_ordering = -1; static int hf_x11_override_redirect = -1; static int hf_x11_owner = -1; static int hf_x11_owner_events = -1; static int hf_x11_parent = -1; static int hf_x11_path = -1; static int hf_x11_path_string = -1; static int hf_x11_pattern = -1; static int hf_x11_pattern_length = -1; static int hf_x11_percent = -1; static int hf_x11_pid = -1; static int hf_x11_pixel = -1; static int hf_x11_pixels = -1; static int hf_x11_pixels_item = -1; static int hf_x11_pixmap = -1; static int hf_x11_pixmap_format = -1; static int hf_x11_pixmap_format_depth = -1; static int hf_x11_pixmap_format_bits_per_pixel = -1; static int hf_x11_pixmap_format_scanline_pad = -1; static int hf_x11_place = -1; static int hf_x11_plane_mask = -1; static int hf_x11_planes = -1; static int hf_x11_point = -1; static int hf_x11_points = -1; static int hf_x11_point_x = -1; static int hf_x11_point_y = -1; static int hf_x11_pointer_event_mask = -1; static int hf_x11_pointer_event_mask_ButtonPress = -1; static int hf_x11_pointer_event_mask_ButtonRelease = -1; static int hf_x11_pointer_event_mask_EnterWindow = -1; static int hf_x11_pointer_event_mask_LeaveWindow = -1; static int hf_x11_pointer_event_mask_PointerMotion = -1; static int hf_x11_pointer_event_mask_PointerMotionHint = -1; static int hf_x11_pointer_event_mask_Button1Motion = -1; static int hf_x11_pointer_event_mask_Button2Motion = -1; static int hf_x11_pointer_event_mask_Button3Motion = -1; static int hf_x11_pointer_event_mask_Button4Motion = -1; static int hf_x11_pointer_event_mask_Button5Motion = -1; static int hf_x11_pointer_event_mask_ButtonMotion = -1; static int hf_x11_pointer_event_mask_KeymapState = -1; static int hf_x11_pointer_event_mask_erroneous_bits = -1; static int hf_x11_pointer_mode = -1; static int hf_x11_prefer_blanking = -1; static int hf_x11_present = -1; static int hf_x11_propagate = -1; static int hf_x11_properties = -1; static int hf_x11_properties_item = -1; static int hf_x11_property = -1; static int hf_x11_property_number = -1; static int hf_x11_property_state = -1; static int hf_x11_protocol_major_version = -1; static int hf_x11_protocol_minor_version = -1; static int hf_x11_reason = -1; static int hf_x11_rectangle_height = -1; static int hf_x11_rectangles = -1; static int hf_x11_rectangle = -1; static int hf_x11_rectangle_width = -1; static int hf_x11_rectangle_x = -1; static int hf_x11_rectangle_y = -1; static int hf_x11_red = -1; static int hf_x11_reds = -1; static int hf_x11_request = -1; static int hf_x11_requestor = -1; static int hf_x11_request_length = -1; static int hf_x11_resource = -1; static int hf_x11_revert_to = -1; static int hf_x11_release_number = -1; static int hf_x11_reply = -1; static int hf_x11_reply_sequencenumber = -1; static int hf_x11_replylength = -1; static int hf_x11_replyopcode = -1; static int hf_x11_resource_id_base = -1; static int hf_x11_resource_id_mask = -1; static int hf_x11_root_x = -1; static int hf_x11_root_y = -1; static int hf_x11_rootwindow = -1; static int hf_x11_same_screen = -1; static int hf_x11_same_screen_focus_mask = -1; static int hf_x11_same_screen_focus_mask_focus = -1; static int hf_x11_same_screen_focus_mask_same_screen = -1; static int hf_x11_success = -1; static int hf_x11_save_set_mode = -1; static int hf_x11_save_under = -1; static int hf_x11_screen = -1; static int hf_x11_screen_root = -1; static int hf_x11_screen_default_colormap = -1; static int hf_x11_screen_white_pixel = -1; static int hf_x11_screen_black_pixel = -1; static int hf_x11_screen_current_input_masks = -1; static int hf_x11_screen_width_in_pixels = -1; static int hf_x11_screen_height_in_pixels = -1; static int hf_x11_screen_width_in_millimeters = -1; static int hf_x11_screen_height_in_millimeters = -1; static int hf_x11_screen_min_installed_maps = -1; static int hf_x11_screen_max_installed_maps = -1; static int hf_x11_screen_root_visual = -1; static int hf_x11_screen_backing_stores = -1; static int hf_x11_screen_save_unders = -1; static int hf_x11_screen_root_depth = -1; static int hf_x11_screen_allowed_depths_len = -1; static int hf_x11_screen_saver_mode = -1; static int hf_x11_segment = -1; static int hf_x11_segments = -1; static int hf_x11_segment_x1 = -1; static int hf_x11_segment_x2 = -1; static int hf_x11_segment_y1 = -1; static int hf_x11_segment_y2 = -1; static int hf_x11_selection = -1; static int hf_x11_shape = -1; static int hf_x11_sibling = -1; static int hf_x11_source_pixmap = -1; static int hf_x11_source_font = -1; static int hf_x11_source_char = -1; static int hf_x11_src_cmap = -1; static int hf_x11_src_drawable = -1; static int hf_x11_src_gc = -1; static int hf_x11_src_height = -1; static int hf_x11_src_width = -1; static int hf_x11_src_window = -1; static int hf_x11_src_x = -1; static int hf_x11_src_y = -1; static int hf_x11_start = -1; static int hf_x11_stack_mode = -1; static int hf_x11_stipple = -1; static int hf_x11_stop = -1; static int hf_x11_str_number_in_path = -1; static int hf_x11_string = -1; static int hf_x11_string16 = -1; static int hf_x11_string16_bytes = -1; static int hf_x11_string_length = -1; static int hf_x11_subwindow_mode = -1; static int hf_x11_target = -1; static int hf_x11_textitem = -1; static int hf_x11_textitem_font = -1; static int hf_x11_textitem_string = -1; static int hf_x11_textitem_string_delta = -1; static int hf_x11_textitem_string_string8 = -1; static int hf_x11_textitem_string_string16 = -1; static int hf_x11_textitem_string_string16_bytes = -1; static int hf_x11_threshold = -1; static int hf_x11_tile = -1; static int hf_x11_tile_stipple_x_origin = -1; static int hf_x11_tile_stipple_y_origin = -1; static int hf_x11_time = -1; static int hf_x11_timeout = -1; static int hf_x11_type = -1; static int hf_x11_undecoded = -1; static int hf_x11_unused = -1; static int hf_x11_valuelength = -1; static int hf_x11_vendor = -1; static int hf_x11_visibility_state = -1; static int hf_x11_visual = -1; static int hf_x11_visual_blue = -1; static int hf_x11_visual_green = -1; static int hf_x11_visual_red = -1; static int hf_x11_visualid = -1; static int hf_x11_visualtype = -1; static int hf_x11_visualtype_visualid = -1; static int hf_x11_visualtype_class = -1; static int hf_x11_visualtype_bits_per_rgb_value = -1; static int hf_x11_visualtype_colormap_entries = -1; static int hf_x11_visualtype_red_mask = -1; static int hf_x11_visualtype_green_mask = -1; static int hf_x11_visualtype_blue_mask = -1; static int hf_x11_warp_pointer_dst_window = -1; static int hf_x11_warp_pointer_src_window = -1; static int hf_x11_wid = -1; static int hf_x11_width = -1; static int hf_x11_win_gravity = -1; static int hf_x11_win_x = -1; static int hf_x11_win_y = -1; static int hf_x11_window = -1; static int hf_x11_window_class = -1; static int hf_x11_window_value_mask = -1; static int hf_x11_window_value_mask_background_pixmap = -1; static int hf_x11_window_value_mask_background_pixel = -1; static int hf_x11_window_value_mask_border_pixmap = -1; static int hf_x11_window_value_mask_border_pixel = -1; static int hf_x11_window_value_mask_bit_gravity = -1; static int hf_x11_window_value_mask_win_gravity = -1; static int hf_x11_window_value_mask_backing_store = -1; static int hf_x11_window_value_mask_backing_planes = -1; static int hf_x11_window_value_mask_backing_pixel = -1; static int hf_x11_window_value_mask_override_redirect = -1; static int hf_x11_window_value_mask_save_under = -1; static int hf_x11_window_value_mask_event_mask = -1; static int hf_x11_window_value_mask_do_not_propagate_mask = -1; static int hf_x11_window_value_mask_colormap = -1; static int hf_x11_window_value_mask_cursor = -1; static int hf_x11_x = -1; static int hf_x11_y = -1; /* Generated by ../../tools/process-x11-xcb.pl below this line */ static int hf_x11_glx_render_CallList_list = -1; static int hf_x11_glx_render_CallLists_n = -1; static int hf_x11_glx_render_CallLists_type = -1; static int hf_x11_glx_render_CallLists_lists = -1; static int hf_x11_glx_render_CallLists_lists_signed = -1; static int hf_x11_glx_render_CallLists_lists_unsigned = -1; static int hf_x11_glx_render_CallLists_lists_item_card16 = -1; static int hf_x11_glx_render_CallLists_lists_item_int16 = -1; static int hf_x11_glx_render_CallLists_lists_item_card32 = -1; static int hf_x11_glx_render_CallLists_lists_item_int32 = -1; static int hf_x11_glx_render_CallLists_lists_item_float = -1; static int hf_x11_glx_render_ListBase_base = -1; static int hf_x11_glx_render_Begin_mode = -1; static int hf_x11_glx_render_Bitmap_width = -1; static int hf_x11_glx_render_Bitmap_height = -1; static int hf_x11_glx_render_Bitmap_xorig = -1; static int hf_x11_glx_render_Bitmap_yorig = -1; static int hf_x11_glx_render_Bitmap_xmove = -1; static int hf_x11_glx_render_Bitmap_ymove = -1; static int hf_x11_glx_render_Bitmap_bitmap = -1; static int hf_x11_glx_render_Bitmap_swapbytes = -1; static int hf_x11_glx_render_Bitmap_lsbfirst = -1; static int hf_x11_glx_render_Bitmap_rowlength = -1; static int hf_x11_glx_render_Bitmap_skiprows = -1; static int hf_x11_glx_render_Bitmap_skippixels = -1; static int hf_x11_glx_render_Bitmap_alignment = -1; static int hf_x11_glx_render_Color3bv_v = -1; static int hf_x11_glx_render_Color3dv_v = -1; static int hf_x11_glx_render_Color3dv_v_item = -1; static int hf_x11_glx_render_Color3fv_v = -1; static int hf_x11_glx_render_Color3fv_v_item = -1; static int hf_x11_glx_render_Color3iv_v = -1; static int hf_x11_glx_render_Color3iv_v_item = -1; static int hf_x11_glx_render_Color3sv_v = -1; static int hf_x11_glx_render_Color3sv_v_item = -1; static int hf_x11_glx_render_Color3ubv_v = -1; static int hf_x11_glx_render_Color3uiv_v = -1; static int hf_x11_glx_render_Color3uiv_v_item = -1; static int hf_x11_glx_render_Color3usv_v = -1; static int hf_x11_glx_render_Color3usv_v_item = -1; static int hf_x11_glx_render_Color4bv_v = -1; static int hf_x11_glx_render_Color4dv_v = -1; static int hf_x11_glx_render_Color4dv_v_item = -1; static int hf_x11_glx_render_Color4fv_v = -1; static int hf_x11_glx_render_Color4fv_v_item = -1; static int hf_x11_glx_render_Color4iv_v = -1; static int hf_x11_glx_render_Color4iv_v_item = -1; static int hf_x11_glx_render_Color4sv_v = -1; static int hf_x11_glx_render_Color4sv_v_item = -1; static int hf_x11_glx_render_Color4ubv_v = -1; static int hf_x11_glx_render_Color4uiv_v = -1; static int hf_x11_glx_render_Color4uiv_v_item = -1; static int hf_x11_glx_render_Color4usv_v = -1; static int hf_x11_glx_render_Color4usv_v_item = -1; static int hf_x11_glx_render_EdgeFlagv_flag = -1; static int hf_x11_glx_render_Indexdv_c = -1; static int hf_x11_glx_render_Indexdv_c_item = -1; static int hf_x11_glx_render_Indexfv_c = -1; static int hf_x11_glx_render_Indexfv_c_item = -1; static int hf_x11_glx_render_Indexiv_c = -1; static int hf_x11_glx_render_Indexiv_c_item = -1; static int hf_x11_glx_render_Indexsv_c = -1; static int hf_x11_glx_render_Indexsv_c_item = -1; static int hf_x11_glx_render_Normal3bv_v = -1; static int hf_x11_glx_render_Normal3dv_v = -1; static int hf_x11_glx_render_Normal3dv_v_item = -1; static int hf_x11_glx_render_Normal3fv_v = -1; static int hf_x11_glx_render_Normal3fv_v_item = -1; static int hf_x11_glx_render_Normal3iv_v = -1; static int hf_x11_glx_render_Normal3iv_v_item = -1; static int hf_x11_glx_render_Normal3sv_v = -1; static int hf_x11_glx_render_Normal3sv_v_item = -1; static int hf_x11_glx_render_RasterPos2dv_v = -1; static int hf_x11_glx_render_RasterPos2dv_v_item = -1; static int hf_x11_glx_render_RasterPos2fv_v = -1; static int hf_x11_glx_render_RasterPos2fv_v_item = -1; static int hf_x11_glx_render_RasterPos2iv_v = -1; static int hf_x11_glx_render_RasterPos2iv_v_item = -1; static int hf_x11_glx_render_RasterPos2sv_v = -1; static int hf_x11_glx_render_RasterPos2sv_v_item = -1; static int hf_x11_glx_render_RasterPos3dv_v = -1; static int hf_x11_glx_render_RasterPos3dv_v_item = -1; static int hf_x11_glx_render_RasterPos3fv_v = -1; static int hf_x11_glx_render_RasterPos3fv_v_item = -1; static int hf_x11_glx_render_RasterPos3iv_v = -1; static int hf_x11_glx_render_RasterPos3iv_v_item = -1; static int hf_x11_glx_render_RasterPos3sv_v = -1; static int hf_x11_glx_render_RasterPos3sv_v_item = -1; static int hf_x11_glx_render_RasterPos4dv_v = -1; static int hf_x11_glx_render_RasterPos4dv_v_item = -1; static int hf_x11_glx_render_RasterPos4fv_v = -1; static int hf_x11_glx_render_RasterPos4fv_v_item = -1; static int hf_x11_glx_render_RasterPos4iv_v = -1; static int hf_x11_glx_render_RasterPos4iv_v_item = -1; static int hf_x11_glx_render_RasterPos4sv_v = -1; static int hf_x11_glx_render_RasterPos4sv_v_item = -1; static int hf_x11_glx_render_Rectdv_v1 = -1; static int hf_x11_glx_render_Rectdv_v1_item = -1; static int hf_x11_glx_render_Rectdv_v2 = -1; static int hf_x11_glx_render_Rectdv_v2_item = -1; static int hf_x11_glx_render_Rectfv_v1 = -1; static int hf_x11_glx_render_Rectfv_v1_item = -1; static int hf_x11_glx_render_Rectfv_v2 = -1; static int hf_x11_glx_render_Rectfv_v2_item = -1; static int hf_x11_glx_render_Rectiv_v1 = -1; static int hf_x11_glx_render_Rectiv_v1_item = -1; static int hf_x11_glx_render_Rectiv_v2 = -1; static int hf_x11_glx_render_Rectiv_v2_item = -1; static int hf_x11_glx_render_Rectsv_v1 = -1; static int hf_x11_glx_render_Rectsv_v1_item = -1; static int hf_x11_glx_render_Rectsv_v2 = -1; static int hf_x11_glx_render_Rectsv_v2_item = -1; static int hf_x11_glx_render_TexCoord1dv_v = -1; static int hf_x11_glx_render_TexCoord1dv_v_item = -1; static int hf_x11_glx_render_TexCoord1fv_v = -1; static int hf_x11_glx_render_TexCoord1fv_v_item = -1; static int hf_x11_glx_render_TexCoord1iv_v = -1; static int hf_x11_glx_render_TexCoord1iv_v_item = -1; static int hf_x11_glx_render_TexCoord1sv_v = -1; static int hf_x11_glx_render_TexCoord1sv_v_item = -1; static int hf_x11_glx_render_TexCoord2dv_v = -1; static int hf_x11_glx_render_TexCoord2dv_v_item = -1; static int hf_x11_glx_render_TexCoord2fv_v = -1; static int hf_x11_glx_render_TexCoord2fv_v_item = -1; static int hf_x11_glx_render_TexCoord2iv_v = -1; static int hf_x11_glx_render_TexCoord2iv_v_item = -1; static int hf_x11_glx_render_TexCoord2sv_v = -1; static int hf_x11_glx_render_TexCoord2sv_v_item = -1; static int hf_x11_glx_render_TexCoord3dv_v = -1; static int hf_x11_glx_render_TexCoord3dv_v_item = -1; static int hf_x11_glx_render_TexCoord3fv_v = -1; static int hf_x11_glx_render_TexCoord3fv_v_item = -1; static int hf_x11_glx_render_TexCoord3iv_v = -1; static int hf_x11_glx_render_TexCoord3iv_v_item = -1; static int hf_x11_glx_render_TexCoord3sv_v = -1; static int hf_x11_glx_render_TexCoord3sv_v_item = -1; static int hf_x11_glx_render_TexCoord4dv_v = -1; static int hf_x11_glx_render_TexCoord4dv_v_item = -1; static int hf_x11_glx_render_TexCoord4fv_v = -1; static int hf_x11_glx_render_TexCoord4fv_v_item = -1; static int hf_x11_glx_render_TexCoord4iv_v = -1; static int hf_x11_glx_render_TexCoord4iv_v_item = -1; static int hf_x11_glx_render_TexCoord4sv_v = -1; static int hf_x11_glx_render_TexCoord4sv_v_item = -1; static int hf_x11_glx_render_Vertex2dv_v = -1; static int hf_x11_glx_render_Vertex2dv_v_item = -1; static int hf_x11_glx_render_Vertex2fv_v = -1; static int hf_x11_glx_render_Vertex2fv_v_item = -1; static int hf_x11_glx_render_Vertex2iv_v = -1; static int hf_x11_glx_render_Vertex2iv_v_item = -1; static int hf_x11_glx_render_Vertex2sv_v = -1; static int hf_x11_glx_render_Vertex2sv_v_item = -1; static int hf_x11_glx_render_Vertex3dv_v = -1; static int hf_x11_glx_render_Vertex3dv_v_item = -1; static int hf_x11_glx_render_Vertex3fv_v = -1; static int hf_x11_glx_render_Vertex3fv_v_item = -1; static int hf_x11_glx_render_Vertex3iv_v = -1; static int hf_x11_glx_render_Vertex3iv_v_item = -1; static int hf_x11_glx_render_Vertex3sv_v = -1; static int hf_x11_glx_render_Vertex3sv_v_item = -1; static int hf_x11_glx_render_Vertex4dv_v = -1; static int hf_x11_glx_render_Vertex4dv_v_item = -1; static int hf_x11_glx_render_Vertex4fv_v = -1; static int hf_x11_glx_render_Vertex4fv_v_item = -1; static int hf_x11_glx_render_Vertex4iv_v = -1; static int hf_x11_glx_render_Vertex4iv_v_item = -1; static int hf_x11_glx_render_Vertex4sv_v = -1; static int hf_x11_glx_render_Vertex4sv_v_item = -1; static int hf_x11_glx_render_ClipPlane_plane = -1; static int hf_x11_glx_render_ClipPlane_equation = -1; static int hf_x11_glx_render_ClipPlane_equation_item = -1; static int hf_x11_glx_render_ColorMaterial_face = -1; static int hf_x11_glx_render_ColorMaterial_mode = -1; static int hf_x11_glx_render_CullFace_mode = -1; static int hf_x11_glx_render_Fogf_pname = -1; static int hf_x11_glx_render_Fogf_param = -1; static int hf_x11_glx_render_Fogfv_pname = -1; static int hf_x11_glx_render_Fogfv_params = -1; static int hf_x11_glx_render_Fogfv_params_item = -1; static int hf_x11_glx_render_Fogi_pname = -1; static int hf_x11_glx_render_Fogi_param = -1; static int hf_x11_glx_render_Fogiv_pname = -1; static int hf_x11_glx_render_Fogiv_params = -1; static int hf_x11_glx_render_Fogiv_params_item = -1; static int hf_x11_glx_render_FrontFace_mode = -1; static int hf_x11_glx_render_Hint_target = -1; static int hf_x11_glx_render_Hint_mode = -1; static int hf_x11_glx_render_Lightf_light = -1; static int hf_x11_glx_render_Lightf_pname = -1; static int hf_x11_glx_render_Lightf_param = -1; static int hf_x11_glx_render_Lightfv_light = -1; static int hf_x11_glx_render_Lightfv_pname = -1; static int hf_x11_glx_render_Lightfv_params = -1; static int hf_x11_glx_render_Lightfv_params_item = -1; static int hf_x11_glx_render_Lighti_light = -1; static int hf_x11_glx_render_Lighti_pname = -1; static int hf_x11_glx_render_Lighti_param = -1; static int hf_x11_glx_render_Lightiv_light = -1; static int hf_x11_glx_render_Lightiv_pname = -1; static int hf_x11_glx_render_Lightiv_params = -1; static int hf_x11_glx_render_Lightiv_params_item = -1; static int hf_x11_glx_render_LightModelf_pname = -1; static int hf_x11_glx_render_LightModelf_param = -1; static int hf_x11_glx_render_LightModelfv_pname = -1; static int hf_x11_glx_render_LightModelfv_params = -1; static int hf_x11_glx_render_LightModelfv_params_item = -1; static int hf_x11_glx_render_LightModeli_pname = -1; static int hf_x11_glx_render_LightModeli_param = -1; static int hf_x11_glx_render_LightModeliv_pname = -1; static int hf_x11_glx_render_LightModeliv_params = -1; static int hf_x11_glx_render_LightModeliv_params_item = -1; static int hf_x11_glx_render_LineStipple_factor = -1; static int hf_x11_glx_render_LineStipple_pattern = -1; static int hf_x11_glx_render_LineWidth_width = -1; static int hf_x11_glx_render_Materialf_face = -1; static int hf_x11_glx_render_Materialf_pname = -1; static int hf_x11_glx_render_Materialf_param = -1; static int hf_x11_glx_render_Materialfv_face = -1; static int hf_x11_glx_render_Materialfv_pname = -1; static int hf_x11_glx_render_Materialfv_params = -1; static int hf_x11_glx_render_Materialfv_params_item = -1; static int hf_x11_glx_render_Materiali_face = -1; static int hf_x11_glx_render_Materiali_pname = -1; static int hf_x11_glx_render_Materiali_param = -1; static int hf_x11_glx_render_Materialiv_face = -1; static int hf_x11_glx_render_Materialiv_pname = -1; static int hf_x11_glx_render_Materialiv_params = -1; static int hf_x11_glx_render_Materialiv_params_item = -1; static int hf_x11_glx_render_PointSize_size = -1; static int hf_x11_glx_render_PolygonMode_face = -1; static int hf_x11_glx_render_PolygonMode_mode = -1; static int hf_x11_glx_render_PolygonStipple_mask = -1; static int hf_x11_glx_render_PolygonStipple_swapbytes = -1; static int hf_x11_glx_render_PolygonStipple_lsbfirst = -1; static int hf_x11_glx_render_PolygonStipple_rowlength = -1; static int hf_x11_glx_render_PolygonStipple_skiprows = -1; static int hf_x11_glx_render_PolygonStipple_skippixels = -1; static int hf_x11_glx_render_PolygonStipple_alignment = -1; static int hf_x11_glx_render_Scissor_x = -1; static int hf_x11_glx_render_Scissor_y = -1; static int hf_x11_glx_render_Scissor_width = -1; static int hf_x11_glx_render_Scissor_height = -1; static int hf_x11_glx_render_ShadeModel_mode = -1; static int hf_x11_glx_render_TexParameterf_target = -1; static int hf_x11_glx_render_TexParameterf_pname = -1; static int hf_x11_glx_render_TexParameterf_param = -1; static int hf_x11_glx_render_TexParameterfv_target = -1; static int hf_x11_glx_render_TexParameterfv_pname = -1; static int hf_x11_glx_render_TexParameterfv_params = -1; static int hf_x11_glx_render_TexParameterfv_params_item = -1; static int hf_x11_glx_render_TexParameteri_target = -1; static int hf_x11_glx_render_TexParameteri_pname = -1; static int hf_x11_glx_render_TexParameteri_param = -1; static int hf_x11_glx_render_TexParameteriv_target = -1; static int hf_x11_glx_render_TexParameteriv_pname = -1; static int hf_x11_glx_render_TexParameteriv_params = -1; static int hf_x11_glx_render_TexParameteriv_params_item = -1; static int hf_x11_glx_render_TexImage1D_target = -1; static int hf_x11_glx_render_TexImage1D_level = -1; static int hf_x11_glx_render_TexImage1D_internalformat = -1; static int hf_x11_glx_render_TexImage1D_width = -1; static int hf_x11_glx_render_TexImage1D_border = -1; static int hf_x11_glx_render_TexImage1D_format = -1; static int hf_x11_glx_render_TexImage1D_type = -1; static int hf_x11_glx_render_TexImage1D_pixels = -1; static int hf_x11_glx_render_TexImage1D_swapbytes = -1; static int hf_x11_glx_render_TexImage1D_lsbfirst = -1; static int hf_x11_glx_render_TexImage1D_rowlength = -1; static int hf_x11_glx_render_TexImage1D_skiprows = -1; static int hf_x11_glx_render_TexImage1D_skippixels = -1; static int hf_x11_glx_render_TexImage1D_alignment = -1; static int hf_x11_glx_render_TexImage2D_target = -1; static int hf_x11_glx_render_TexImage2D_level = -1; static int hf_x11_glx_render_TexImage2D_internalformat = -1; static int hf_x11_glx_render_TexImage2D_width = -1; static int hf_x11_glx_render_TexImage2D_height = -1; static int hf_x11_glx_render_TexImage2D_border = -1; static int hf_x11_glx_render_TexImage2D_format = -1; static int hf_x11_glx_render_TexImage2D_type = -1; static int hf_x11_glx_render_TexImage2D_pixels = -1; static int hf_x11_glx_render_TexImage2D_swapbytes = -1; static int hf_x11_glx_render_TexImage2D_lsbfirst = -1; static int hf_x11_glx_render_TexImage2D_rowlength = -1; static int hf_x11_glx_render_TexImage2D_skiprows = -1; static int hf_x11_glx_render_TexImage2D_skippixels = -1; static int hf_x11_glx_render_TexImage2D_alignment = -1; static int hf_x11_glx_render_TexEnvf_target = -1; static int hf_x11_glx_render_TexEnvf_pname = -1; static int hf_x11_glx_render_TexEnvf_param = -1; static int hf_x11_glx_render_TexEnvfv_target = -1; static int hf_x11_glx_render_TexEnvfv_pname = -1; static int hf_x11_glx_render_TexEnvfv_params = -1; static int hf_x11_glx_render_TexEnvfv_params_item = -1; static int hf_x11_glx_render_TexEnvi_target = -1; static int hf_x11_glx_render_TexEnvi_pname = -1; static int hf_x11_glx_render_TexEnvi_param = -1; static int hf_x11_glx_render_TexEnviv_target = -1; static int hf_x11_glx_render_TexEnviv_pname = -1; static int hf_x11_glx_render_TexEnviv_params = -1; static int hf_x11_glx_render_TexEnviv_params_item = -1; static int hf_x11_glx_render_TexGend_coord = -1; static int hf_x11_glx_render_TexGend_pname = -1; static int hf_x11_glx_render_TexGend_param = -1; static int hf_x11_glx_render_TexGendv_coord = -1; static int hf_x11_glx_render_TexGendv_pname = -1; static int hf_x11_glx_render_TexGendv_params = -1; static int hf_x11_glx_render_TexGendv_params_item = -1; static int hf_x11_glx_render_TexGenf_coord = -1; static int hf_x11_glx_render_TexGenf_pname = -1; static int hf_x11_glx_render_TexGenf_param = -1; static int hf_x11_glx_render_TexGenfv_coord = -1; static int hf_x11_glx_render_TexGenfv_pname = -1; static int hf_x11_glx_render_TexGenfv_params = -1; static int hf_x11_glx_render_TexGenfv_params_item = -1; static int hf_x11_glx_render_TexGeni_coord = -1; static int hf_x11_glx_render_TexGeni_pname = -1; static int hf_x11_glx_render_TexGeni_param = -1; static int hf_x11_glx_render_TexGeniv_coord = -1; static int hf_x11_glx_render_TexGeniv_pname = -1; static int hf_x11_glx_render_TexGeniv_params = -1; static int hf_x11_glx_render_TexGeniv_params_item = -1; static int hf_x11_glx_render_LoadName_name = -1; static int hf_x11_glx_render_PassThrough_token = -1; static int hf_x11_glx_render_PushName_name = -1; static int hf_x11_glx_render_DrawBuffer_mode = -1; static int hf_x11_glx_render_Clear_mask = -1; static int hf_x11_glx_render_ClearAccum_red = -1; static int hf_x11_glx_render_ClearAccum_green = -1; static int hf_x11_glx_render_ClearAccum_blue = -1; static int hf_x11_glx_render_ClearAccum_alpha = -1; static int hf_x11_glx_render_ClearIndex_c = -1; static int hf_x11_glx_render_ClearColor_red = -1; static int hf_x11_glx_render_ClearColor_green = -1; static int hf_x11_glx_render_ClearColor_blue = -1; static int hf_x11_glx_render_ClearColor_alpha = -1; static int hf_x11_glx_render_ClearStencil_s = -1; static int hf_x11_glx_render_ClearDepth_depth = -1; static int hf_x11_glx_render_StencilMask_mask = -1; static int hf_x11_glx_render_ColorMask_red = -1; static int hf_x11_glx_render_ColorMask_green = -1; static int hf_x11_glx_render_ColorMask_blue = -1; static int hf_x11_glx_render_ColorMask_alpha = -1; static int hf_x11_glx_render_DepthMask_flag = -1; static int hf_x11_glx_render_IndexMask_mask = -1; static int hf_x11_glx_render_Accum_op = -1; static int hf_x11_glx_render_Accum_value = -1; static int hf_x11_glx_render_Disable_cap = -1; static int hf_x11_glx_render_Enable_cap = -1; static int hf_x11_glx_render_PushAttrib_mask = -1; static int hf_x11_glx_render_Map1d_target = -1; static int hf_x11_glx_render_Map1d_u1 = -1; static int hf_x11_glx_render_Map1d_u2 = -1; static int hf_x11_glx_render_Map1d_stride = -1; static int hf_x11_glx_render_Map1d_order = -1; static int hf_x11_glx_render_Map1d_points = -1; static int hf_x11_glx_render_Map1d_points_item = -1; static int hf_x11_glx_render_Map1f_target = -1; static int hf_x11_glx_render_Map1f_u1 = -1; static int hf_x11_glx_render_Map1f_u2 = -1; static int hf_x11_glx_render_Map1f_stride = -1; static int hf_x11_glx_render_Map1f_order = -1; static int hf_x11_glx_render_Map1f_points = -1; static int hf_x11_glx_render_Map1f_points_item = -1; static int hf_x11_glx_render_Map2d_target = -1; static int hf_x11_glx_render_Map2d_u1 = -1; static int hf_x11_glx_render_Map2d_u2 = -1; static int hf_x11_glx_render_Map2d_ustride = -1; static int hf_x11_glx_render_Map2d_uorder = -1; static int hf_x11_glx_render_Map2d_v1 = -1; static int hf_x11_glx_render_Map2d_v2 = -1; static int hf_x11_glx_render_Map2d_vstride = -1; static int hf_x11_glx_render_Map2d_vorder = -1; static int hf_x11_glx_render_Map2d_points = -1; static int hf_x11_glx_render_Map2d_points_item = -1; static int hf_x11_glx_render_Map2f_target = -1; static int hf_x11_glx_render_Map2f_u1 = -1; static int hf_x11_glx_render_Map2f_u2 = -1; static int hf_x11_glx_render_Map2f_ustride = -1; static int hf_x11_glx_render_Map2f_uorder = -1; static int hf_x11_glx_render_Map2f_v1 = -1; static int hf_x11_glx_render_Map2f_v2 = -1; static int hf_x11_glx_render_Map2f_vstride = -1; static int hf_x11_glx_render_Map2f_vorder = -1; static int hf_x11_glx_render_Map2f_points = -1; static int hf_x11_glx_render_Map2f_points_item = -1; static int hf_x11_glx_render_MapGrid1d_un = -1; static int hf_x11_glx_render_MapGrid1d_u1 = -1; static int hf_x11_glx_render_MapGrid1d_u2 = -1; static int hf_x11_glx_render_MapGrid1f_un = -1; static int hf_x11_glx_render_MapGrid1f_u1 = -1; static int hf_x11_glx_render_MapGrid1f_u2 = -1; static int hf_x11_glx_render_MapGrid2d_un = -1; static int hf_x11_glx_render_MapGrid2d_u1 = -1; static int hf_x11_glx_render_MapGrid2d_u2 = -1; static int hf_x11_glx_render_MapGrid2d_vn = -1; static int hf_x11_glx_render_MapGrid2d_v1 = -1; static int hf_x11_glx_render_MapGrid2d_v2 = -1; static int hf_x11_glx_render_MapGrid2f_un = -1; static int hf_x11_glx_render_MapGrid2f_u1 = -1; static int hf_x11_glx_render_MapGrid2f_u2 = -1; static int hf_x11_glx_render_MapGrid2f_vn = -1; static int hf_x11_glx_render_MapGrid2f_v1 = -1; static int hf_x11_glx_render_MapGrid2f_v2 = -1; static int hf_x11_glx_render_EvalCoord1dv_u = -1; static int hf_x11_glx_render_EvalCoord1dv_u_item = -1; static int hf_x11_glx_render_EvalCoord1fv_u = -1; static int hf_x11_glx_render_EvalCoord1fv_u_item = -1; static int hf_x11_glx_render_EvalCoord2dv_u = -1; static int hf_x11_glx_render_EvalCoord2dv_u_item = -1; static int hf_x11_glx_render_EvalCoord2fv_u = -1; static int hf_x11_glx_render_EvalCoord2fv_u_item = -1; static int hf_x11_glx_render_EvalMesh1_mode = -1; static int hf_x11_glx_render_EvalMesh1_i1 = -1; static int hf_x11_glx_render_EvalMesh1_i2 = -1; static int hf_x11_glx_render_EvalPoint1_i = -1; static int hf_x11_glx_render_EvalMesh2_mode = -1; static int hf_x11_glx_render_EvalMesh2_i1 = -1; static int hf_x11_glx_render_EvalMesh2_i2 = -1; static int hf_x11_glx_render_EvalMesh2_j1 = -1; static int hf_x11_glx_render_EvalMesh2_j2 = -1; static int hf_x11_glx_render_EvalPoint2_i = -1; static int hf_x11_glx_render_EvalPoint2_j = -1; static int hf_x11_glx_render_AlphaFunc_func = -1; static int hf_x11_glx_render_AlphaFunc_ref = -1; static int hf_x11_glx_render_BlendFunc_sfactor = -1; static int hf_x11_glx_render_BlendFunc_dfactor = -1; static int hf_x11_glx_render_LogicOp_opcode = -1; static int hf_x11_glx_render_StencilFunc_func = -1; static int hf_x11_glx_render_StencilFunc_ref = -1; static int hf_x11_glx_render_StencilFunc_mask = -1; static int hf_x11_glx_render_StencilOp_fail = -1; static int hf_x11_glx_render_StencilOp_zfail = -1; static int hf_x11_glx_render_StencilOp_zpass = -1; static int hf_x11_glx_render_DepthFunc_func = -1; static int hf_x11_glx_render_PixelZoom_xfactor = -1; static int hf_x11_glx_render_PixelZoom_yfactor = -1; static int hf_x11_glx_render_PixelTransferf_pname = -1; static int hf_x11_glx_render_PixelTransferf_param = -1; static int hf_x11_glx_render_PixelTransferi_pname = -1; static int hf_x11_glx_render_PixelTransferi_param = -1; static int hf_x11_glx_render_PixelMapfv_map = -1; static int hf_x11_glx_render_PixelMapfv_mapsize = -1; static int hf_x11_glx_render_PixelMapfv_values = -1; static int hf_x11_glx_render_PixelMapfv_values_item = -1; static int hf_x11_glx_render_PixelMapuiv_map = -1; static int hf_x11_glx_render_PixelMapuiv_mapsize = -1; static int hf_x11_glx_render_PixelMapuiv_values = -1; static int hf_x11_glx_render_PixelMapuiv_values_item = -1; static int hf_x11_glx_render_PixelMapusv_map = -1; static int hf_x11_glx_render_PixelMapusv_mapsize = -1; static int hf_x11_glx_render_PixelMapusv_values = -1; static int hf_x11_glx_render_PixelMapusv_values_item = -1; static int hf_x11_glx_render_ReadBuffer_mode = -1; static int hf_x11_glx_render_CopyPixels_x = -1; static int hf_x11_glx_render_CopyPixels_y = -1; static int hf_x11_glx_render_CopyPixels_width = -1; static int hf_x11_glx_render_CopyPixels_height = -1; static int hf_x11_glx_render_CopyPixels_type = -1; static int hf_x11_glx_render_DrawPixels_width = -1; static int hf_x11_glx_render_DrawPixels_height = -1; static int hf_x11_glx_render_DrawPixels_format = -1; static int hf_x11_glx_render_DrawPixels_type = -1; static int hf_x11_glx_render_DrawPixels_pixels = -1; static int hf_x11_glx_render_DrawPixels_swapbytes = -1; static int hf_x11_glx_render_DrawPixels_lsbfirst = -1; static int hf_x11_glx_render_DrawPixels_rowlength = -1; static int hf_x11_glx_render_DrawPixels_skiprows = -1; static int hf_x11_glx_render_DrawPixels_skippixels = -1; static int hf_x11_glx_render_DrawPixels_alignment = -1; static int hf_x11_glx_render_DepthRange_zNear = -1; static int hf_x11_glx_render_DepthRange_zFar = -1; static int hf_x11_glx_render_Frustum_left = -1; static int hf_x11_glx_render_Frustum_right = -1; static int hf_x11_glx_render_Frustum_bottom = -1; static int hf_x11_glx_render_Frustum_top = -1; static int hf_x11_glx_render_Frustum_zNear = -1; static int hf_x11_glx_render_Frustum_zFar = -1; static int hf_x11_glx_render_LoadMatrixf_m = -1; static int hf_x11_glx_render_LoadMatrixf_m_item = -1; static int hf_x11_glx_render_LoadMatrixd_m = -1; static int hf_x11_glx_render_LoadMatrixd_m_item = -1; static int hf_x11_glx_render_MatrixMode_mode = -1; static int hf_x11_glx_render_MultMatrixf_m = -1; static int hf_x11_glx_render_MultMatrixf_m_item = -1; static int hf_x11_glx_render_MultMatrixd_m = -1; static int hf_x11_glx_render_MultMatrixd_m_item = -1; static int hf_x11_glx_render_Ortho_left = -1; static int hf_x11_glx_render_Ortho_right = -1; static int hf_x11_glx_render_Ortho_bottom = -1; static int hf_x11_glx_render_Ortho_top = -1; static int hf_x11_glx_render_Ortho_zNear = -1; static int hf_x11_glx_render_Ortho_zFar = -1; static int hf_x11_glx_render_Rotated_angle = -1; static int hf_x11_glx_render_Rotated_x = -1; static int hf_x11_glx_render_Rotated_y = -1; static int hf_x11_glx_render_Rotated_z = -1; static int hf_x11_glx_render_Rotatef_angle = -1; static int hf_x11_glx_render_Rotatef_x = -1; static int hf_x11_glx_render_Rotatef_y = -1; static int hf_x11_glx_render_Rotatef_z = -1; static int hf_x11_glx_render_Scaled_x = -1; static int hf_x11_glx_render_Scaled_y = -1; static int hf_x11_glx_render_Scaled_z = -1; static int hf_x11_glx_render_Scalef_x = -1; static int hf_x11_glx_render_Scalef_y = -1; static int hf_x11_glx_render_Scalef_z = -1; static int hf_x11_glx_render_Translated_x = -1; static int hf_x11_glx_render_Translated_y = -1; static int hf_x11_glx_render_Translated_z = -1; static int hf_x11_glx_render_Translatef_x = -1; static int hf_x11_glx_render_Translatef_y = -1; static int hf_x11_glx_render_Translatef_z = -1; static int hf_x11_glx_render_Viewport_x = -1; static int hf_x11_glx_render_Viewport_y = -1; static int hf_x11_glx_render_Viewport_width = -1; static int hf_x11_glx_render_Viewport_height = -1; static int hf_x11_glx_render_DrawArrays_mode = -1; static int hf_x11_glx_render_DrawArrays_first = -1; static int hf_x11_glx_render_DrawArrays_count = -1; static int hf_x11_glx_render_PolygonOffset_factor = -1; static int hf_x11_glx_render_PolygonOffset_units = -1; static int hf_x11_glx_render_CopyTexImage1D_target = -1; static int hf_x11_glx_render_CopyTexImage1D_level = -1; static int hf_x11_glx_render_CopyTexImage1D_internalformat = -1; static int hf_x11_glx_render_CopyTexImage1D_x = -1; static int hf_x11_glx_render_CopyTexImage1D_y = -1; static int hf_x11_glx_render_CopyTexImage1D_width = -1; static int hf_x11_glx_render_CopyTexImage1D_border = -1; static int hf_x11_glx_render_CopyTexImage2D_target = -1; static int hf_x11_glx_render_CopyTexImage2D_level = -1; static int hf_x11_glx_render_CopyTexImage2D_internalformat = -1; static int hf_x11_glx_render_CopyTexImage2D_x = -1; static int hf_x11_glx_render_CopyTexImage2D_y = -1; static int hf_x11_glx_render_CopyTexImage2D_width = -1; static int hf_x11_glx_render_CopyTexImage2D_height = -1; static int hf_x11_glx_render_CopyTexImage2D_border = -1; static int hf_x11_glx_render_CopyTexSubImage1D_target = -1; static int hf_x11_glx_render_CopyTexSubImage1D_level = -1; static int hf_x11_glx_render_CopyTexSubImage1D_xoffset = -1; static int hf_x11_glx_render_CopyTexSubImage1D_x = -1; static int hf_x11_glx_render_CopyTexSubImage1D_y = -1; static int hf_x11_glx_render_CopyTexSubImage1D_width = -1; static int hf_x11_glx_render_CopyTexSubImage2D_target = -1; static int hf_x11_glx_render_CopyTexSubImage2D_level = -1; static int hf_x11_glx_render_CopyTexSubImage2D_xoffset = -1; static int hf_x11_glx_render_CopyTexSubImage2D_yoffset = -1; static int hf_x11_glx_render_CopyTexSubImage2D_x = -1; static int hf_x11_glx_render_CopyTexSubImage2D_y = -1; static int hf_x11_glx_render_CopyTexSubImage2D_width = -1; static int hf_x11_glx_render_CopyTexSubImage2D_height = -1; static int hf_x11_glx_render_TexSubImage1D_target = -1; static int hf_x11_glx_render_TexSubImage1D_level = -1; static int hf_x11_glx_render_TexSubImage1D_xoffset = -1; static int hf_x11_glx_render_TexSubImage1D_width = -1; static int hf_x11_glx_render_TexSubImage1D_format = -1; static int hf_x11_glx_render_TexSubImage1D_type = -1; static int hf_x11_glx_render_TexSubImage1D_UNUSED = -1; static int hf_x11_glx_render_TexSubImage1D_pixels = -1; static int hf_x11_glx_render_TexSubImage1D_swapbytes = -1; static int hf_x11_glx_render_TexSubImage1D_lsbfirst = -1; static int hf_x11_glx_render_TexSubImage1D_rowlength = -1; static int hf_x11_glx_render_TexSubImage1D_skiprows = -1; static int hf_x11_glx_render_TexSubImage1D_skippixels = -1; static int hf_x11_glx_render_TexSubImage1D_alignment = -1; static int hf_x11_glx_render_TexSubImage2D_target = -1; static int hf_x11_glx_render_TexSubImage2D_level = -1; static int hf_x11_glx_render_TexSubImage2D_xoffset = -1; static int hf_x11_glx_render_TexSubImage2D_yoffset = -1; static int hf_x11_glx_render_TexSubImage2D_width = -1; static int hf_x11_glx_render_TexSubImage2D_height = -1; static int hf_x11_glx_render_TexSubImage2D_format = -1; static int hf_x11_glx_render_TexSubImage2D_type = -1; static int hf_x11_glx_render_TexSubImage2D_UNUSED = -1; static int hf_x11_glx_render_TexSubImage2D_pixels = -1; static int hf_x11_glx_render_TexSubImage2D_swapbytes = -1; static int hf_x11_glx_render_TexSubImage2D_lsbfirst = -1; static int hf_x11_glx_render_TexSubImage2D_rowlength = -1; static int hf_x11_glx_render_TexSubImage2D_skiprows = -1; static int hf_x11_glx_render_TexSubImage2D_skippixels = -1; static int hf_x11_glx_render_TexSubImage2D_alignment = -1; static int hf_x11_glx_render_BindTexture_target = -1; static int hf_x11_glx_render_BindTexture_texture = -1; static int hf_x11_glx_render_PrioritizeTextures_n = -1; static int hf_x11_glx_render_PrioritizeTextures_textures = -1; static int hf_x11_glx_render_PrioritizeTextures_textures_item = -1; static int hf_x11_glx_render_PrioritizeTextures_priorities = -1; static int hf_x11_glx_render_PrioritizeTextures_priorities_item = -1; static int hf_x11_glx_render_Indexubv_c = -1; static int hf_x11_glx_render_BlendColor_red = -1; static int hf_x11_glx_render_BlendColor_green = -1; static int hf_x11_glx_render_BlendColor_blue = -1; static int hf_x11_glx_render_BlendColor_alpha = -1; static int hf_x11_glx_render_BlendEquation_mode = -1; static int hf_x11_glx_render_ColorTable_target = -1; static int hf_x11_glx_render_ColorTable_internalformat = -1; static int hf_x11_glx_render_ColorTable_width = -1; static int hf_x11_glx_render_ColorTable_format = -1; static int hf_x11_glx_render_ColorTable_type = -1; static int hf_x11_glx_render_ColorTable_table = -1; static int hf_x11_glx_render_ColorTable_swapbytes = -1; static int hf_x11_glx_render_ColorTable_lsbfirst = -1; static int hf_x11_glx_render_ColorTable_rowlength = -1; static int hf_x11_glx_render_ColorTable_skiprows = -1; static int hf_x11_glx_render_ColorTable_skippixels = -1; static int hf_x11_glx_render_ColorTable_alignment = -1; static int hf_x11_glx_render_ColorTableParameterfv_target = -1; static int hf_x11_glx_render_ColorTableParameterfv_pname = -1; static int hf_x11_glx_render_ColorTableParameterfv_params = -1; static int hf_x11_glx_render_ColorTableParameterfv_params_item = -1; static int hf_x11_glx_render_ColorTableParameteriv_target = -1; static int hf_x11_glx_render_ColorTableParameteriv_pname = -1; static int hf_x11_glx_render_ColorTableParameteriv_params = -1; static int hf_x11_glx_render_ColorTableParameteriv_params_item = -1; static int hf_x11_glx_render_CopyColorTable_target = -1; static int hf_x11_glx_render_CopyColorTable_internalformat = -1; static int hf_x11_glx_render_CopyColorTable_x = -1; static int hf_x11_glx_render_CopyColorTable_y = -1; static int hf_x11_glx_render_CopyColorTable_width = -1; static int hf_x11_glx_render_ColorSubTable_target = -1; static int hf_x11_glx_render_ColorSubTable_start = -1; static int hf_x11_glx_render_ColorSubTable_count = -1; static int hf_x11_glx_render_ColorSubTable_format = -1; static int hf_x11_glx_render_ColorSubTable_type = -1; static int hf_x11_glx_render_ColorSubTable_data = -1; static int hf_x11_glx_render_ColorSubTable_swapbytes = -1; static int hf_x11_glx_render_ColorSubTable_lsbfirst = -1; static int hf_x11_glx_render_ColorSubTable_rowlength = -1; static int hf_x11_glx_render_ColorSubTable_skiprows = -1; static int hf_x11_glx_render_ColorSubTable_skippixels = -1; static int hf_x11_glx_render_ColorSubTable_alignment = -1; static int hf_x11_glx_render_CopyColorSubTable_target = -1; static int hf_x11_glx_render_CopyColorSubTable_start = -1; static int hf_x11_glx_render_CopyColorSubTable_x = -1; static int hf_x11_glx_render_CopyColorSubTable_y = -1; static int hf_x11_glx_render_CopyColorSubTable_width = -1; static int hf_x11_glx_render_ConvolutionFilter1D_target = -1; static int hf_x11_glx_render_ConvolutionFilter1D_internalformat = -1; static int hf_x11_glx_render_ConvolutionFilter1D_width = -1; static int hf_x11_glx_render_ConvolutionFilter1D_format = -1; static int hf_x11_glx_render_ConvolutionFilter1D_type = -1; static int hf_x11_glx_render_ConvolutionFilter1D_image = -1; static int hf_x11_glx_render_ConvolutionFilter1D_swapbytes = -1; static int hf_x11_glx_render_ConvolutionFilter1D_lsbfirst = -1; static int hf_x11_glx_render_ConvolutionFilter1D_rowlength = -1; static int hf_x11_glx_render_ConvolutionFilter1D_skiprows = -1; static int hf_x11_glx_render_ConvolutionFilter1D_skippixels = -1; static int hf_x11_glx_render_ConvolutionFilter1D_alignment = -1; static int hf_x11_glx_render_ConvolutionFilter2D_target = -1; static int hf_x11_glx_render_ConvolutionFilter2D_internalformat = -1; static int hf_x11_glx_render_ConvolutionFilter2D_width = -1; static int hf_x11_glx_render_ConvolutionFilter2D_height = -1; static int hf_x11_glx_render_ConvolutionFilter2D_format = -1; static int hf_x11_glx_render_ConvolutionFilter2D_type = -1; static int hf_x11_glx_render_ConvolutionFilter2D_image = -1; static int hf_x11_glx_render_ConvolutionFilter2D_swapbytes = -1; static int hf_x11_glx_render_ConvolutionFilter2D_lsbfirst = -1; static int hf_x11_glx_render_ConvolutionFilter2D_rowlength = -1; static int hf_x11_glx_render_ConvolutionFilter2D_skiprows = -1; static int hf_x11_glx_render_ConvolutionFilter2D_skippixels = -1; static int hf_x11_glx_render_ConvolutionFilter2D_alignment = -1; static int hf_x11_glx_render_ConvolutionParameterf_target = -1; static int hf_x11_glx_render_ConvolutionParameterf_pname = -1; static int hf_x11_glx_render_ConvolutionParameterf_params = -1; static int hf_x11_glx_render_ConvolutionParameterfv_target = -1; static int hf_x11_glx_render_ConvolutionParameterfv_pname = -1; static int hf_x11_glx_render_ConvolutionParameterfv_params = -1; static int hf_x11_glx_render_ConvolutionParameterfv_params_item = -1; static int hf_x11_glx_render_ConvolutionParameteri_target = -1; static int hf_x11_glx_render_ConvolutionParameteri_pname = -1; static int hf_x11_glx_render_ConvolutionParameteri_params = -1; static int hf_x11_glx_render_ConvolutionParameteriv_target = -1; static int hf_x11_glx_render_ConvolutionParameteriv_pname = -1; static int hf_x11_glx_render_ConvolutionParameteriv_params = -1; static int hf_x11_glx_render_ConvolutionParameteriv_params_item = -1; static int hf_x11_glx_render_CopyConvolutionFilter1D_target = -1; static int hf_x11_glx_render_CopyConvolutionFilter1D_internalformat = -1; static int hf_x11_glx_render_CopyConvolutionFilter1D_x = -1; static int hf_x11_glx_render_CopyConvolutionFilter1D_y = -1; static int hf_x11_glx_render_CopyConvolutionFilter1D_width = -1; static int hf_x11_glx_render_CopyConvolutionFilter2D_target = -1; static int hf_x11_glx_render_CopyConvolutionFilter2D_internalformat = -1; static int hf_x11_glx_render_CopyConvolutionFilter2D_x = -1; static int hf_x11_glx_render_CopyConvolutionFilter2D_y = -1; static int hf_x11_glx_render_CopyConvolutionFilter2D_width = -1; static int hf_x11_glx_render_CopyConvolutionFilter2D_height = -1; static int hf_x11_glx_render_SeparableFilter2D_target = -1; static int hf_x11_glx_render_SeparableFilter2D_internalformat = -1; static int hf_x11_glx_render_SeparableFilter2D_width = -1; static int hf_x11_glx_render_SeparableFilter2D_height = -1; static int hf_x11_glx_render_SeparableFilter2D_format = -1; static int hf_x11_glx_render_SeparableFilter2D_type = -1; static int hf_x11_glx_render_SeparableFilter2D_row = -1; static int hf_x11_glx_render_SeparableFilter2D_column = -1; static int hf_x11_glx_render_Histogram_target = -1; static int hf_x11_glx_render_Histogram_width = -1; static int hf_x11_glx_render_Histogram_internalformat = -1; static int hf_x11_glx_render_Histogram_sink = -1; static int hf_x11_glx_render_Minmax_target = -1; static int hf_x11_glx_render_Minmax_internalformat = -1; static int hf_x11_glx_render_Minmax_sink = -1; static int hf_x11_glx_render_ResetHistogram_target = -1; static int hf_x11_glx_render_ResetMinmax_target = -1; static int hf_x11_glx_render_TexImage3D_target = -1; static int hf_x11_glx_render_TexImage3D_level = -1; static int hf_x11_glx_render_TexImage3D_internalformat = -1; static int hf_x11_glx_render_TexImage3D_width = -1; static int hf_x11_glx_render_TexImage3D_height = -1; static int hf_x11_glx_render_TexImage3D_depth = -1; static int hf_x11_glx_render_TexImage3D_border = -1; static int hf_x11_glx_render_TexImage3D_format = -1; static int hf_x11_glx_render_TexImage3D_type = -1; static int hf_x11_glx_render_TexImage3D_pixels = -1; static int hf_x11_glx_render_TexImage3D_swapbytes = -1; static int hf_x11_glx_render_TexImage3D_lsbfirst = -1; static int hf_x11_glx_render_TexImage3D_rowlength = -1; static int hf_x11_glx_render_TexImage3D_skiprows = -1; static int hf_x11_glx_render_TexImage3D_skippixels = -1; static int hf_x11_glx_render_TexImage3D_alignment = -1; static int hf_x11_glx_render_TexSubImage3D_target = -1; static int hf_x11_glx_render_TexSubImage3D_level = -1; static int hf_x11_glx_render_TexSubImage3D_xoffset = -1; static int hf_x11_glx_render_TexSubImage3D_yoffset = -1; static int hf_x11_glx_render_TexSubImage3D_zoffset = -1; static int hf_x11_glx_render_TexSubImage3D_width = -1; static int hf_x11_glx_render_TexSubImage3D_height = -1; static int hf_x11_glx_render_TexSubImage3D_depth = -1; static int hf_x11_glx_render_TexSubImage3D_format = -1; static int hf_x11_glx_render_TexSubImage3D_type = -1; static int hf_x11_glx_render_TexSubImage3D_UNUSED = -1; static int hf_x11_glx_render_TexSubImage3D_pixels = -1; static int hf_x11_glx_render_TexSubImage3D_swapbytes = -1; static int hf_x11_glx_render_TexSubImage3D_lsbfirst = -1; static int hf_x11_glx_render_TexSubImage3D_rowlength = -1; static int hf_x11_glx_render_TexSubImage3D_skiprows = -1; static int hf_x11_glx_render_TexSubImage3D_skippixels = -1; static int hf_x11_glx_render_TexSubImage3D_alignment = -1; static int hf_x11_glx_render_CopyTexSubImage3D_target = -1; static int hf_x11_glx_render_CopyTexSubImage3D_level = -1; static int hf_x11_glx_render_CopyTexSubImage3D_xoffset = -1; static int hf_x11_glx_render_CopyTexSubImage3D_yoffset = -1; static int hf_x11_glx_render_CopyTexSubImage3D_zoffset = -1; static int hf_x11_glx_render_CopyTexSubImage3D_x = -1; static int hf_x11_glx_render_CopyTexSubImage3D_y = -1; static int hf_x11_glx_render_CopyTexSubImage3D_width = -1; static int hf_x11_glx_render_CopyTexSubImage3D_height = -1; static int hf_x11_glx_render_ActiveTexture_texture = -1; static int hf_x11_glx_render_MultiTexCoord1dv_target = -1; static int hf_x11_glx_render_MultiTexCoord1dv_v = -1; static int hf_x11_glx_render_MultiTexCoord1dv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord1iv_target = -1; static int hf_x11_glx_render_MultiTexCoord1iv_v = -1; static int hf_x11_glx_render_MultiTexCoord1iv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord1sv_target = -1; static int hf_x11_glx_render_MultiTexCoord1sv_v = -1; static int hf_x11_glx_render_MultiTexCoord1sv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord2dv_target = -1; static int hf_x11_glx_render_MultiTexCoord2dv_v = -1; static int hf_x11_glx_render_MultiTexCoord2dv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord2iv_target = -1; static int hf_x11_glx_render_MultiTexCoord2iv_v = -1; static int hf_x11_glx_render_MultiTexCoord2iv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord2sv_target = -1; static int hf_x11_glx_render_MultiTexCoord2sv_v = -1; static int hf_x11_glx_render_MultiTexCoord2sv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord3dv_target = -1; static int hf_x11_glx_render_MultiTexCoord3dv_v = -1; static int hf_x11_glx_render_MultiTexCoord3dv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord3iv_target = -1; static int hf_x11_glx_render_MultiTexCoord3iv_v = -1; static int hf_x11_glx_render_MultiTexCoord3iv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord3sv_target = -1; static int hf_x11_glx_render_MultiTexCoord3sv_v = -1; static int hf_x11_glx_render_MultiTexCoord3sv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord4dv_target = -1; static int hf_x11_glx_render_MultiTexCoord4dv_v = -1; static int hf_x11_glx_render_MultiTexCoord4dv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord4iv_target = -1; static int hf_x11_glx_render_MultiTexCoord4iv_v = -1; static int hf_x11_glx_render_MultiTexCoord4iv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord4sv_target = -1; static int hf_x11_glx_render_MultiTexCoord4sv_v = -1; static int hf_x11_glx_render_MultiTexCoord4sv_v_item = -1; static int hf_x11_glx_render_SampleCoverage_value = -1; static int hf_x11_glx_render_SampleCoverage_invert = -1; static int hf_x11_glx_render_CompressedTexImage3D_target = -1; static int hf_x11_glx_render_CompressedTexImage3D_level = -1; static int hf_x11_glx_render_CompressedTexImage3D_internalformat = -1; static int hf_x11_glx_render_CompressedTexImage3D_width = -1; static int hf_x11_glx_render_CompressedTexImage3D_height = -1; static int hf_x11_glx_render_CompressedTexImage3D_depth = -1; static int hf_x11_glx_render_CompressedTexImage3D_border = -1; static int hf_x11_glx_render_CompressedTexImage3D_imageSize = -1; static int hf_x11_glx_render_CompressedTexImage3D_data = -1; static int hf_x11_glx_render_CompressedTexImage2D_target = -1; static int hf_x11_glx_render_CompressedTexImage2D_level = -1; static int hf_x11_glx_render_CompressedTexImage2D_internalformat = -1; static int hf_x11_glx_render_CompressedTexImage2D_width = -1; static int hf_x11_glx_render_CompressedTexImage2D_height = -1; static int hf_x11_glx_render_CompressedTexImage2D_border = -1; static int hf_x11_glx_render_CompressedTexImage2D_imageSize = -1; static int hf_x11_glx_render_CompressedTexImage2D_data = -1; static int hf_x11_glx_render_CompressedTexImage1D_target = -1; static int hf_x11_glx_render_CompressedTexImage1D_level = -1; static int hf_x11_glx_render_CompressedTexImage1D_internalformat = -1; static int hf_x11_glx_render_CompressedTexImage1D_width = -1; static int hf_x11_glx_render_CompressedTexImage1D_border = -1; static int hf_x11_glx_render_CompressedTexImage1D_imageSize = -1; static int hf_x11_glx_render_CompressedTexImage1D_data = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_target = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_level = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_xoffset = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_yoffset = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_zoffset = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_width = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_height = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_depth = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_format = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_imageSize = -1; static int hf_x11_glx_render_CompressedTexSubImage3D_data = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_target = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_level = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_xoffset = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_yoffset = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_width = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_height = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_format = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_imageSize = -1; static int hf_x11_glx_render_CompressedTexSubImage2D_data = -1; static int hf_x11_glx_render_CompressedTexSubImage1D_target = -1; static int hf_x11_glx_render_CompressedTexSubImage1D_level = -1; static int hf_x11_glx_render_CompressedTexSubImage1D_xoffset = -1; static int hf_x11_glx_render_CompressedTexSubImage1D_width = -1; static int hf_x11_glx_render_CompressedTexSubImage1D_format = -1; static int hf_x11_glx_render_CompressedTexSubImage1D_imageSize = -1; static int hf_x11_glx_render_CompressedTexSubImage1D_data = -1; static int hf_x11_glx_render_BlendFuncSeparate_sfactorRGB = -1; static int hf_x11_glx_render_BlendFuncSeparate_dfactorRGB = -1; static int hf_x11_glx_render_BlendFuncSeparate_sfactorAlpha = -1; static int hf_x11_glx_render_BlendFuncSeparate_dfactorAlpha = -1; static int hf_x11_glx_render_FogCoorddv_coord = -1; static int hf_x11_glx_render_FogCoorddv_coord_item = -1; static int hf_x11_glx_render_PointParameterf_pname = -1; static int hf_x11_glx_render_PointParameterf_param = -1; static int hf_x11_glx_render_PointParameterfv_pname = -1; static int hf_x11_glx_render_PointParameterfv_params = -1; static int hf_x11_glx_render_PointParameterfv_params_item = -1; static int hf_x11_glx_render_PointParameteri_pname = -1; static int hf_x11_glx_render_PointParameteri_param = -1; static int hf_x11_glx_render_PointParameteriv_pname = -1; static int hf_x11_glx_render_PointParameteriv_params = -1; static int hf_x11_glx_render_PointParameteriv_params_item = -1; static int hf_x11_glx_render_SecondaryColor3bv_v = -1; static int hf_x11_glx_render_SecondaryColor3dv_v = -1; static int hf_x11_glx_render_SecondaryColor3dv_v_item = -1; static int hf_x11_glx_render_SecondaryColor3iv_v = -1; static int hf_x11_glx_render_SecondaryColor3iv_v_item = -1; static int hf_x11_glx_render_SecondaryColor3sv_v = -1; static int hf_x11_glx_render_SecondaryColor3sv_v_item = -1; static int hf_x11_glx_render_SecondaryColor3ubv_v = -1; static int hf_x11_glx_render_SecondaryColor3uiv_v = -1; static int hf_x11_glx_render_SecondaryColor3uiv_v_item = -1; static int hf_x11_glx_render_SecondaryColor3usv_v = -1; static int hf_x11_glx_render_SecondaryColor3usv_v_item = -1; static int hf_x11_glx_render_WindowPos3fv_v = -1; static int hf_x11_glx_render_WindowPos3fv_v_item = -1; static int hf_x11_glx_render_BeginQuery_target = -1; static int hf_x11_glx_render_BeginQuery_id = -1; static int hf_x11_glx_render_EndQuery_target = -1; static int hf_x11_glx_render_BlendEquationSeparate_modeRGB = -1; static int hf_x11_glx_render_BlendEquationSeparate_modeA = -1; static int hf_x11_glx_render_DrawBuffers_n = -1; static int hf_x11_glx_render_DrawBuffers_bufs = -1; static int hf_x11_glx_render_DrawBuffers_bufs_item = -1; static int hf_x11_glx_render_VertexAttrib1dv_index = -1; static int hf_x11_glx_render_VertexAttrib1dv_v = -1; static int hf_x11_glx_render_VertexAttrib1dv_v_item = -1; static int hf_x11_glx_render_VertexAttrib1sv_index = -1; static int hf_x11_glx_render_VertexAttrib1sv_v = -1; static int hf_x11_glx_render_VertexAttrib1sv_v_item = -1; static int hf_x11_glx_render_VertexAttrib2dv_index = -1; static int hf_x11_glx_render_VertexAttrib2dv_v = -1; static int hf_x11_glx_render_VertexAttrib2dv_v_item = -1; static int hf_x11_glx_render_VertexAttrib2sv_index = -1; static int hf_x11_glx_render_VertexAttrib2sv_v = -1; static int hf_x11_glx_render_VertexAttrib2sv_v_item = -1; static int hf_x11_glx_render_VertexAttrib3dv_index = -1; static int hf_x11_glx_render_VertexAttrib3dv_v = -1; static int hf_x11_glx_render_VertexAttrib3dv_v_item = -1; static int hf_x11_glx_render_VertexAttrib3sv_index = -1; static int hf_x11_glx_render_VertexAttrib3sv_v = -1; static int hf_x11_glx_render_VertexAttrib3sv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4Nbv_index = -1; static int hf_x11_glx_render_VertexAttrib4Nbv_v = -1; static int hf_x11_glx_render_VertexAttrib4Niv_index = -1; static int hf_x11_glx_render_VertexAttrib4Niv_v = -1; static int hf_x11_glx_render_VertexAttrib4Niv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4Nsv_index = -1; static int hf_x11_glx_render_VertexAttrib4Nsv_v = -1; static int hf_x11_glx_render_VertexAttrib4Nsv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4Nubv_index = -1; static int hf_x11_glx_render_VertexAttrib4Nubv_v = -1; static int hf_x11_glx_render_VertexAttrib4Nuiv_index = -1; static int hf_x11_glx_render_VertexAttrib4Nuiv_v = -1; static int hf_x11_glx_render_VertexAttrib4Nuiv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4Nusv_index = -1; static int hf_x11_glx_render_VertexAttrib4Nusv_v = -1; static int hf_x11_glx_render_VertexAttrib4Nusv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4bv_index = -1; static int hf_x11_glx_render_VertexAttrib4bv_v = -1; static int hf_x11_glx_render_VertexAttrib4dv_index = -1; static int hf_x11_glx_render_VertexAttrib4dv_v = -1; static int hf_x11_glx_render_VertexAttrib4dv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4iv_index = -1; static int hf_x11_glx_render_VertexAttrib4iv_v = -1; static int hf_x11_glx_render_VertexAttrib4iv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4sv_index = -1; static int hf_x11_glx_render_VertexAttrib4sv_v = -1; static int hf_x11_glx_render_VertexAttrib4sv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4ubv_index = -1; static int hf_x11_glx_render_VertexAttrib4ubv_v = -1; static int hf_x11_glx_render_VertexAttrib4uiv_index = -1; static int hf_x11_glx_render_VertexAttrib4uiv_v = -1; static int hf_x11_glx_render_VertexAttrib4uiv_v_item = -1; static int hf_x11_glx_render_VertexAttrib4usv_index = -1; static int hf_x11_glx_render_VertexAttrib4usv_v = -1; static int hf_x11_glx_render_VertexAttrib4usv_v_item = -1; static int hf_x11_glx_render_MultiTexCoord1fvARB_target = -1; static int hf_x11_glx_render_MultiTexCoord1fvARB_v = -1; static int hf_x11_glx_render_MultiTexCoord1fvARB_v_item = -1; static int hf_x11_glx_render_MultiTexCoord2fvARB_target = -1; static int hf_x11_glx_render_MultiTexCoord2fvARB_v = -1; static int hf_x11_glx_render_MultiTexCoord2fvARB_v_item = -1; static int hf_x11_glx_render_MultiTexCoord3fvARB_target = -1; static int hf_x11_glx_render_MultiTexCoord3fvARB_v = -1; static int hf_x11_glx_render_MultiTexCoord3fvARB_v_item = -1; static int hf_x11_glx_render_MultiTexCoord4fvARB_target = -1; static int hf_x11_glx_render_MultiTexCoord4fvARB_v = -1; static int hf_x11_glx_render_MultiTexCoord4fvARB_v_item = -1; static int hf_x11_glx_render_CurrentPaletteMatrixARB_index = -1; static int hf_x11_glx_render_MatrixIndexubvARB_size = -1; static int hf_x11_glx_render_MatrixIndexubvARB_indices = -1; static int hf_x11_glx_render_MatrixIndexusvARB_size = -1; static int hf_x11_glx_render_MatrixIndexusvARB_indices = -1; static int hf_x11_glx_render_MatrixIndexusvARB_indices_item = -1; static int hf_x11_glx_render_MatrixIndexuivARB_size = -1; static int hf_x11_glx_render_MatrixIndexuivARB_indices = -1; static int hf_x11_glx_render_MatrixIndexuivARB_indices_item = -1; static int hf_x11_glx_render_VertexAttrib1fvARB_index = -1; static int hf_x11_glx_render_VertexAttrib1fvARB_v = -1; static int hf_x11_glx_render_VertexAttrib1fvARB_v_item = -1; static int hf_x11_glx_render_VertexAttrib2fvARB_index = -1; static int hf_x11_glx_render_VertexAttrib2fvARB_v = -1; static int hf_x11_glx_render_VertexAttrib2fvARB_v_item = -1; static int hf_x11_glx_render_VertexAttrib3fvARB_index = -1; static int hf_x11_glx_render_VertexAttrib3fvARB_v = -1; static int hf_x11_glx_render_VertexAttrib3fvARB_v_item = -1; static int hf_x11_glx_render_VertexAttrib4fvARB_index = -1; static int hf_x11_glx_render_VertexAttrib4fvARB_v = -1; static int hf_x11_glx_render_VertexAttrib4fvARB_v_item = -1; static int hf_x11_glx_render_ProgramStringARB_target = -1; static int hf_x11_glx_render_ProgramStringARB_format = -1; static int hf_x11_glx_render_ProgramStringARB_len = -1; static int hf_x11_glx_render_ProgramStringARB_string = -1; static int hf_x11_glx_render_BindProgramARB_target = -1; static int hf_x11_glx_render_BindProgramARB_program = -1; static int hf_x11_glx_render_ProgramEnvParameter4dvARB_target = -1; static int hf_x11_glx_render_ProgramEnvParameter4dvARB_index = -1; static int hf_x11_glx_render_ProgramEnvParameter4dvARB_params = -1; static int hf_x11_glx_render_ProgramEnvParameter4dvARB_params_item = -1; static int hf_x11_glx_render_ProgramEnvParameter4fvARB_target = -1; static int hf_x11_glx_render_ProgramEnvParameter4fvARB_index = -1; static int hf_x11_glx_render_ProgramEnvParameter4fvARB_params = -1; static int hf_x11_glx_render_ProgramEnvParameter4fvARB_params_item = -1; static int hf_x11_glx_render_ProgramLocalParameter4dvARB_target = -1; static int hf_x11_glx_render_ProgramLocalParameter4dvARB_index = -1; static int hf_x11_glx_render_ProgramLocalParameter4dvARB_params = -1; static int hf_x11_glx_render_ProgramLocalParameter4dvARB_params_item = -1; static int hf_x11_glx_render_ProgramLocalParameter4fvARB_target = -1; static int hf_x11_glx_render_ProgramLocalParameter4fvARB_index = -1; static int hf_x11_glx_render_ProgramLocalParameter4fvARB_params = -1; static int hf_x11_glx_render_ProgramLocalParameter4fvARB_params_item = -1; static int hf_x11_glx_render_TexFilterFuncSGIS_target = -1; static int hf_x11_glx_render_TexFilterFuncSGIS_filter = -1; static int hf_x11_glx_render_TexFilterFuncSGIS_n = -1; static int hf_x11_glx_render_TexFilterFuncSGIS_weights = -1; static int hf_x11_glx_render_TexFilterFuncSGIS_weights_item = -1; static int hf_x11_glx_render_TexImage4DSGIS_target = -1; static int hf_x11_glx_render_TexImage4DSGIS_level = -1; static int hf_x11_glx_render_TexImage4DSGIS_internalformat = -1; static int hf_x11_glx_render_TexImage4DSGIS_width = -1; static int hf_x11_glx_render_TexImage4DSGIS_height = -1; static int hf_x11_glx_render_TexImage4DSGIS_depth = -1; static int hf_x11_glx_render_TexImage4DSGIS_size4d = -1; static int hf_x11_glx_render_TexImage4DSGIS_border = -1; static int hf_x11_glx_render_TexImage4DSGIS_format = -1; static int hf_x11_glx_render_TexImage4DSGIS_type = -1; static int hf_x11_glx_render_TexImage4DSGIS_pixels = -1; static int hf_x11_glx_render_TexImage4DSGIS_swapbytes = -1; static int hf_x11_glx_render_TexImage4DSGIS_lsbfirst = -1; static int hf_x11_glx_render_TexImage4DSGIS_rowlength = -1; static int hf_x11_glx_render_TexImage4DSGIS_skiprows = -1; static int hf_x11_glx_render_TexImage4DSGIS_skippixels = -1; static int hf_x11_glx_render_TexImage4DSGIS_alignment = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_target = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_level = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_xoffset = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_yoffset = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_zoffset = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_woffset = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_width = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_height = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_depth = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_size4d = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_format = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_type = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_UNUSED = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_pixels = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_swapbytes = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_lsbfirst = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_rowlength = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_skiprows = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_skippixels = -1; static int hf_x11_glx_render_TexSubImage4DSGIS_alignment = -1; static int hf_x11_glx_render_DetailTexFuncSGIS_target = -1; static int hf_x11_glx_render_DetailTexFuncSGIS_n = -1; static int hf_x11_glx_render_DetailTexFuncSGIS_points = -1; static int hf_x11_glx_render_DetailTexFuncSGIS_points_item = -1; static int hf_x11_glx_render_SharpenTexFuncSGIS_target = -1; static int hf_x11_glx_render_SharpenTexFuncSGIS_n = -1; static int hf_x11_glx_render_SharpenTexFuncSGIS_points = -1; static int hf_x11_glx_render_SharpenTexFuncSGIS_points_item = -1; static int hf_x11_glx_render_SampleMaskSGIS_value = -1; static int hf_x11_glx_render_SampleMaskSGIS_invert = -1; static int hf_x11_glx_render_SamplePatternSGIS_pattern = -1; static int hf_x11_glx_render_FrameZoomSGIX_factor = -1; static int hf_x11_glx_render_ReferencePlaneSGIX_equation = -1; static int hf_x11_glx_render_ReferencePlaneSGIX_equation_item = -1; static int hf_x11_glx_render_FogFuncSGIS_n = -1; static int hf_x11_glx_render_FogFuncSGIS_points = -1; static int hf_x11_glx_render_FogFuncSGIS_points_item = -1; static int hf_x11_glx_render_SecondaryColor3fvEXT_v = -1; static int hf_x11_glx_render_SecondaryColor3fvEXT_v_item = -1; static int hf_x11_glx_render_FogCoordfvEXT_coord = -1; static int hf_x11_glx_render_FogCoordfvEXT_coord_item = -1; static int hf_x11_glx_render_PixelTexGenSGIX_mode = -1; static int hf_x11_glx_render_VertexWeightfvEXT_weight = -1; static int hf_x11_glx_render_VertexWeightfvEXT_weight_item = -1; static int hf_x11_glx_render_CombinerParameterfvNV_pname = -1; static int hf_x11_glx_render_CombinerParameterfvNV_params = -1; static int hf_x11_glx_render_CombinerParameterfvNV_params_item = -1; static int hf_x11_glx_render_CombinerParameterfNV_pname = -1; static int hf_x11_glx_render_CombinerParameterfNV_param = -1; static int hf_x11_glx_render_CombinerParameterivNV_pname = -1; static int hf_x11_glx_render_CombinerParameterivNV_params = -1; static int hf_x11_glx_render_CombinerParameterivNV_params_item = -1; static int hf_x11_glx_render_CombinerParameteriNV_pname = -1; static int hf_x11_glx_render_CombinerParameteriNV_param = -1; static int hf_x11_glx_render_CombinerInputNV_stage = -1; static int hf_x11_glx_render_CombinerInputNV_portion = -1; static int hf_x11_glx_render_CombinerInputNV_variable = -1; static int hf_x11_glx_render_CombinerInputNV_input = -1; static int hf_x11_glx_render_CombinerInputNV_mapping = -1; static int hf_x11_glx_render_CombinerInputNV_componentUsage = -1; static int hf_x11_glx_render_CombinerOutputNV_stage = -1; static int hf_x11_glx_render_CombinerOutputNV_portion = -1; static int hf_x11_glx_render_CombinerOutputNV_abOutput = -1; static int hf_x11_glx_render_CombinerOutputNV_cdOutput = -1; static int hf_x11_glx_render_CombinerOutputNV_sumOutput = -1; static int hf_x11_glx_render_CombinerOutputNV_scale = -1; static int hf_x11_glx_render_CombinerOutputNV_bias = -1; static int hf_x11_glx_render_CombinerOutputNV_abDotProduct = -1; static int hf_x11_glx_render_CombinerOutputNV_cdDotProduct = -1; static int hf_x11_glx_render_CombinerOutputNV_muxSum = -1; static int hf_x11_glx_render_FinalCombinerInputNV_variable = -1; static int hf_x11_glx_render_FinalCombinerInputNV_input = -1; static int hf_x11_glx_render_FinalCombinerInputNV_mapping = -1; static int hf_x11_glx_render_FinalCombinerInputNV_componentUsage = -1; static int hf_x11_glx_render_TextureColorMaskSGIS_red = -1; static int hf_x11_glx_render_TextureColorMaskSGIS_green = -1; static int hf_x11_glx_render_TextureColorMaskSGIS_blue = -1; static int hf_x11_glx_render_TextureColorMaskSGIS_alpha = -1; static int hf_x11_glx_render_ExecuteProgramNV_target = -1; static int hf_x11_glx_render_ExecuteProgramNV_id = -1; static int hf_x11_glx_render_ExecuteProgramNV_params = -1; static int hf_x11_glx_render_ExecuteProgramNV_params_item = -1; static int hf_x11_glx_render_LoadProgramNV_target = -1; static int hf_x11_glx_render_LoadProgramNV_id = -1; static int hf_x11_glx_render_LoadProgramNV_len = -1; static int hf_x11_glx_render_LoadProgramNV_program = -1; static int hf_x11_glx_render_ProgramParameters4dvNV_target = -1; static int hf_x11_glx_render_ProgramParameters4dvNV_index = -1; static int hf_x11_glx_render_ProgramParameters4dvNV_num = -1; static int hf_x11_glx_render_ProgramParameters4dvNV_params = -1; static int hf_x11_glx_render_ProgramParameters4dvNV_params_item = -1; static int hf_x11_glx_render_ProgramParameters4fvNV_target = -1; static int hf_x11_glx_render_ProgramParameters4fvNV_index = -1; static int hf_x11_glx_render_ProgramParameters4fvNV_num = -1; static int hf_x11_glx_render_ProgramParameters4fvNV_params = -1; static int hf_x11_glx_render_ProgramParameters4fvNV_params_item = -1; static int hf_x11_glx_render_RequestResidentProgramsNV_n = -1; static int hf_x11_glx_render_RequestResidentProgramsNV_ids = -1; static int hf_x11_glx_render_RequestResidentProgramsNV_ids_item = -1; static int hf_x11_glx_render_TrackMatrixNV_target = -1; static int hf_x11_glx_render_TrackMatrixNV_address = -1; static int hf_x11_glx_render_TrackMatrixNV_matrix = -1; static int hf_x11_glx_render_TrackMatrixNV_transform = -1; static int hf_x11_glx_render_VertexAttrib1svNV_index = -1; static int hf_x11_glx_render_VertexAttrib1svNV_v = -1; static int hf_x11_glx_render_VertexAttrib1svNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib2svNV_index = -1; static int hf_x11_glx_render_VertexAttrib2svNV_v = -1; static int hf_x11_glx_render_VertexAttrib2svNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib3svNV_index = -1; static int hf_x11_glx_render_VertexAttrib3svNV_v = -1; static int hf_x11_glx_render_VertexAttrib3svNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib4svNV_index = -1; static int hf_x11_glx_render_VertexAttrib4svNV_v = -1; static int hf_x11_glx_render_VertexAttrib4svNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib1fvNV_index = -1; static int hf_x11_glx_render_VertexAttrib1fvNV_v = -1; static int hf_x11_glx_render_VertexAttrib1fvNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib2fvNV_index = -1; static int hf_x11_glx_render_VertexAttrib2fvNV_v = -1; static int hf_x11_glx_render_VertexAttrib2fvNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib3fvNV_index = -1; static int hf_x11_glx_render_VertexAttrib3fvNV_v = -1; static int hf_x11_glx_render_VertexAttrib3fvNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib4fvNV_index = -1; static int hf_x11_glx_render_VertexAttrib4fvNV_v = -1; static int hf_x11_glx_render_VertexAttrib4fvNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib1dvNV_index = -1; static int hf_x11_glx_render_VertexAttrib1dvNV_v = -1; static int hf_x11_glx_render_VertexAttrib1dvNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib2dvNV_index = -1; static int hf_x11_glx_render_VertexAttrib2dvNV_v = -1; static int hf_x11_glx_render_VertexAttrib2dvNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib3dvNV_index = -1; static int hf_x11_glx_render_VertexAttrib3dvNV_v = -1; static int hf_x11_glx_render_VertexAttrib3dvNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib4dvNV_index = -1; static int hf_x11_glx_render_VertexAttrib4dvNV_v = -1; static int hf_x11_glx_render_VertexAttrib4dvNV_v_item = -1; static int hf_x11_glx_render_VertexAttrib4ubvNV_index = -1; static int hf_x11_glx_render_VertexAttrib4ubvNV_v = -1; static int hf_x11_glx_render_VertexAttribs1svNV_index = -1; static int hf_x11_glx_render_VertexAttribs1svNV_n = -1; static int hf_x11_glx_render_VertexAttribs1svNV_v = -1; static int hf_x11_glx_render_VertexAttribs1svNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs2svNV_index = -1; static int hf_x11_glx_render_VertexAttribs2svNV_n = -1; static int hf_x11_glx_render_VertexAttribs2svNV_v = -1; static int hf_x11_glx_render_VertexAttribs2svNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs3svNV_index = -1; static int hf_x11_glx_render_VertexAttribs3svNV_n = -1; static int hf_x11_glx_render_VertexAttribs3svNV_v = -1; static int hf_x11_glx_render_VertexAttribs3svNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs4svNV_index = -1; static int hf_x11_glx_render_VertexAttribs4svNV_n = -1; static int hf_x11_glx_render_VertexAttribs4svNV_v = -1; static int hf_x11_glx_render_VertexAttribs4svNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs1fvNV_index = -1; static int hf_x11_glx_render_VertexAttribs1fvNV_n = -1; static int hf_x11_glx_render_VertexAttribs1fvNV_v = -1; static int hf_x11_glx_render_VertexAttribs1fvNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs2fvNV_index = -1; static int hf_x11_glx_render_VertexAttribs2fvNV_n = -1; static int hf_x11_glx_render_VertexAttribs2fvNV_v = -1; static int hf_x11_glx_render_VertexAttribs2fvNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs3fvNV_index = -1; static int hf_x11_glx_render_VertexAttribs3fvNV_n = -1; static int hf_x11_glx_render_VertexAttribs3fvNV_v = -1; static int hf_x11_glx_render_VertexAttribs3fvNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs4fvNV_index = -1; static int hf_x11_glx_render_VertexAttribs4fvNV_n = -1; static int hf_x11_glx_render_VertexAttribs4fvNV_v = -1; static int hf_x11_glx_render_VertexAttribs4fvNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs1dvNV_index = -1; static int hf_x11_glx_render_VertexAttribs1dvNV_n = -1; static int hf_x11_glx_render_VertexAttribs1dvNV_v = -1; static int hf_x11_glx_render_VertexAttribs1dvNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs2dvNV_index = -1; static int hf_x11_glx_render_VertexAttribs2dvNV_n = -1; static int hf_x11_glx_render_VertexAttribs2dvNV_v = -1; static int hf_x11_glx_render_VertexAttribs2dvNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs3dvNV_index = -1; static int hf_x11_glx_render_VertexAttribs3dvNV_n = -1; static int hf_x11_glx_render_VertexAttribs3dvNV_v = -1; static int hf_x11_glx_render_VertexAttribs3dvNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs4dvNV_index = -1; static int hf_x11_glx_render_VertexAttribs4dvNV_n = -1; static int hf_x11_glx_render_VertexAttribs4dvNV_v = -1; static int hf_x11_glx_render_VertexAttribs4dvNV_v_item = -1; static int hf_x11_glx_render_VertexAttribs4ubvNV_index = -1; static int hf_x11_glx_render_VertexAttribs4ubvNV_n = -1; static int hf_x11_glx_render_VertexAttribs4ubvNV_v = -1; static int hf_x11_glx_render_ActiveStencilFaceEXT_face = -1; static int hf_x11_glx_render_ProgramNamedParameter4fvNV_id = -1; static int hf_x11_glx_render_ProgramNamedParameter4fvNV_len = -1; static int hf_x11_glx_render_ProgramNamedParameter4fvNV_name = -1; static int hf_x11_glx_render_ProgramNamedParameter4fvNV_v = -1; static int hf_x11_glx_render_ProgramNamedParameter4fvNV_v_item = -1; static int hf_x11_glx_render_ProgramNamedParameter4dvNV_id = -1; static int hf_x11_glx_render_ProgramNamedParameter4dvNV_len = -1; static int hf_x11_glx_render_ProgramNamedParameter4dvNV_name = -1; static int hf_x11_glx_render_ProgramNamedParameter4dvNV_v = -1; static int hf_x11_glx_render_ProgramNamedParameter4dvNV_v_item = -1; static int hf_x11_glx_render_DepthBoundsEXT_zmin = -1; static int hf_x11_glx_render_DepthBoundsEXT_zmax = -1; static int hf_x11_glx_render_op_name = -1; static int hf_x11_bigreq_Enable_reply_maximum_request_length = -1; static int hf_x11_bigreq_extension_minor = -1; static int hf_x11_struct_xproto_RECTANGLE = -1; static int hf_x11_struct_xproto_RECTANGLE_x = -1; static int hf_x11_struct_xproto_RECTANGLE_y = -1; static int hf_x11_struct_xproto_RECTANGLE_width = -1; static int hf_x11_struct_xproto_RECTANGLE_height = -1; static int hf_x11_struct_xproto_STR = -1; static int hf_x11_struct_xproto_STR_name_len = -1; static int hf_x11_struct_xproto_STR_name = -1; static int hf_x11_struct_render_DIRECTFORMAT = -1; static int hf_x11_struct_render_DIRECTFORMAT_red_shift = -1; static int hf_x11_struct_render_DIRECTFORMAT_red_mask = -1; static int hf_x11_struct_render_DIRECTFORMAT_green_shift = -1; static int hf_x11_struct_render_DIRECTFORMAT_green_mask = -1; static int hf_x11_struct_render_DIRECTFORMAT_blue_shift = -1; static int hf_x11_struct_render_DIRECTFORMAT_blue_mask = -1; static int hf_x11_struct_render_DIRECTFORMAT_alpha_shift = -1; static int hf_x11_struct_render_DIRECTFORMAT_alpha_mask = -1; static int hf_x11_struct_render_PICTFORMINFO = -1; static int hf_x11_struct_render_PICTFORMINFO_id = -1; static int hf_x11_struct_render_PICTFORMINFO_type = -1; static int hf_x11_struct_render_PICTFORMINFO_depth = -1; static int hf_x11_struct_render_PICTFORMINFO_direct = -1; static int hf_x11_struct_render_PICTFORMINFO_colormap = -1; static int hf_x11_struct_render_PICTVISUAL = -1; static int hf_x11_struct_render_PICTVISUAL_visual = -1; static int hf_x11_struct_render_PICTVISUAL_format = -1; static int hf_x11_struct_render_PICTDEPTH = -1; static int hf_x11_struct_render_PICTDEPTH_depth = -1; static int hf_x11_struct_render_PICTDEPTH_num_visuals = -1; static int hf_x11_struct_render_PICTDEPTH_visuals = -1; static int hf_x11_struct_render_PICTDEPTH_visuals_item = -1; static int hf_x11_struct_render_PICTSCREEN = -1; static int hf_x11_struct_render_PICTSCREEN_num_depths = -1; static int hf_x11_struct_render_PICTSCREEN_fallback = -1; static int hf_x11_struct_render_PICTSCREEN_depths = -1; static int hf_x11_struct_render_INDEXVALUE = -1; static int hf_x11_struct_render_INDEXVALUE_pixel = -1; static int hf_x11_struct_render_INDEXVALUE_red = -1; static int hf_x11_struct_render_INDEXVALUE_green = -1; static int hf_x11_struct_render_INDEXVALUE_blue = -1; static int hf_x11_struct_render_INDEXVALUE_alpha = -1; static int hf_x11_struct_render_COLOR = -1; static int hf_x11_struct_render_COLOR_red = -1; static int hf_x11_struct_render_COLOR_green = -1; static int hf_x11_struct_render_COLOR_blue = -1; static int hf_x11_struct_render_COLOR_alpha = -1; static int hf_x11_struct_render_POINTFIX = -1; static int hf_x11_struct_render_POINTFIX_x = -1; static int hf_x11_struct_render_POINTFIX_y = -1; static int hf_x11_struct_render_LINEFIX = -1; static int hf_x11_struct_render_LINEFIX_p1 = -1; static int hf_x11_struct_render_LINEFIX_p2 = -1; static int hf_x11_struct_render_TRIANGLE = -1; static int hf_x11_struct_render_TRIANGLE_p1 = -1; static int hf_x11_struct_render_TRIANGLE_p2 = -1; static int hf_x11_struct_render_TRIANGLE_p3 = -1; static int hf_x11_struct_render_TRAPEZOID = -1; static int hf_x11_struct_render_TRAPEZOID_top = -1; static int hf_x11_struct_render_TRAPEZOID_bottom = -1; static int hf_x11_struct_render_TRAPEZOID_left = -1; static int hf_x11_struct_render_TRAPEZOID_right = -1; static int hf_x11_struct_render_GLYPHINFO = -1; static int hf_x11_struct_render_GLYPHINFO_width = -1; static int hf_x11_struct_render_GLYPHINFO_height = -1; static int hf_x11_struct_render_GLYPHINFO_x = -1; static int hf_x11_struct_render_GLYPHINFO_y = -1; static int hf_x11_struct_render_GLYPHINFO_x_off = -1; static int hf_x11_struct_render_GLYPHINFO_y_off = -1; static int hf_x11_struct_render_TRANSFORM = -1; static int hf_x11_struct_render_TRANSFORM_matrix11 = -1; static int hf_x11_struct_render_TRANSFORM_matrix12 = -1; static int hf_x11_struct_render_TRANSFORM_matrix13 = -1; static int hf_x11_struct_render_TRANSFORM_matrix21 = -1; static int hf_x11_struct_render_TRANSFORM_matrix22 = -1; static int hf_x11_struct_render_TRANSFORM_matrix23 = -1; static int hf_x11_struct_render_TRANSFORM_matrix31 = -1; static int hf_x11_struct_render_TRANSFORM_matrix32 = -1; static int hf_x11_struct_render_TRANSFORM_matrix33 = -1; static int hf_x11_struct_render_ANIMCURSORELT = -1; static int hf_x11_struct_render_ANIMCURSORELT_cursor = -1; static int hf_x11_struct_render_ANIMCURSORELT_delay = -1; static int hf_x11_struct_render_SPANFIX = -1; static int hf_x11_struct_render_SPANFIX_l = -1; static int hf_x11_struct_render_SPANFIX_r = -1; static int hf_x11_struct_render_SPANFIX_y = -1; static int hf_x11_struct_render_TRAP = -1; static int hf_x11_struct_render_TRAP_top = -1; static int hf_x11_struct_render_TRAP_bot = -1; static int hf_x11_composite_QueryVersion_client_major_version = -1; static int hf_x11_composite_QueryVersion_client_minor_version = -1; static int hf_x11_composite_QueryVersion_reply_major_version = -1; static int hf_x11_composite_QueryVersion_reply_minor_version = -1; static int hf_x11_composite_RedirectWindow_window = -1; static int hf_x11_composite_RedirectWindow_update = -1; static int hf_x11_composite_RedirectSubwindows_window = -1; static int hf_x11_composite_RedirectSubwindows_update = -1; static int hf_x11_composite_UnredirectWindow_window = -1; static int hf_x11_composite_UnredirectWindow_update = -1; static int hf_x11_composite_UnredirectSubwindows_window = -1; static int hf_x11_composite_UnredirectSubwindows_update = -1; static int hf_x11_composite_CreateRegionFromBorderClip_region = -1; static int hf_x11_composite_CreateRegionFromBorderClip_window = -1; static int hf_x11_composite_NameWindowPixmap_window = -1; static int hf_x11_composite_NameWindowPixmap_pixmap = -1; static int hf_x11_composite_GetOverlayWindow_window = -1; static int hf_x11_composite_GetOverlayWindow_reply_overlay_win = -1; static int hf_x11_composite_ReleaseOverlayWindow_window = -1; static int hf_x11_composite_extension_minor = -1; static int hf_x11_damage_QueryVersion_client_major_version = -1; static int hf_x11_damage_QueryVersion_client_minor_version = -1; static int hf_x11_damage_QueryVersion_reply_major_version = -1; static int hf_x11_damage_QueryVersion_reply_minor_version = -1; static int hf_x11_damage_Create_damage = -1; static int hf_x11_damage_Create_drawable = -1; static int hf_x11_damage_Create_level = -1; static int hf_x11_damage_Destroy_damage = -1; static int hf_x11_damage_Subtract_damage = -1; static int hf_x11_damage_Subtract_repair = -1; static int hf_x11_damage_Subtract_parts = -1; static int hf_x11_damage_Add_drawable = -1; static int hf_x11_damage_Add_region = -1; static int hf_x11_damage_extension_minor = -1; static int hf_x11_dpms_GetVersion_client_major_version = -1; static int hf_x11_dpms_GetVersion_client_minor_version = -1; static int hf_x11_dpms_GetVersion_reply_server_major_version = -1; static int hf_x11_dpms_GetVersion_reply_server_minor_version = -1; static int hf_x11_dpms_Capable_reply_capable = -1; static int hf_x11_dpms_GetTimeouts_reply_standby_timeout = -1; static int hf_x11_dpms_GetTimeouts_reply_suspend_timeout = -1; static int hf_x11_dpms_GetTimeouts_reply_off_timeout = -1; static int hf_x11_dpms_SetTimeouts_standby_timeout = -1; static int hf_x11_dpms_SetTimeouts_suspend_timeout = -1; static int hf_x11_dpms_SetTimeouts_off_timeout = -1; static int hf_x11_dpms_ForceLevel_power_level = -1; static int hf_x11_dpms_Info_reply_power_level = -1; static int hf_x11_dpms_Info_reply_state = -1; static int hf_x11_dpms_extension_minor = -1; static int hf_x11_struct_dri2_DRI2Buffer = -1; static int hf_x11_struct_dri2_DRI2Buffer_attachment = -1; static int hf_x11_struct_dri2_DRI2Buffer_name = -1; static int hf_x11_struct_dri2_DRI2Buffer_pitch = -1; static int hf_x11_struct_dri2_DRI2Buffer_cpp = -1; static int hf_x11_struct_dri2_DRI2Buffer_flags = -1; static int hf_x11_struct_dri2_AttachFormat = -1; static int hf_x11_struct_dri2_AttachFormat_attachment = -1; static int hf_x11_struct_dri2_AttachFormat_format = -1; static int hf_x11_dri2_QueryVersion_major_version = -1; static int hf_x11_dri2_QueryVersion_minor_version = -1; static int hf_x11_dri2_QueryVersion_reply_major_version = -1; static int hf_x11_dri2_QueryVersion_reply_minor_version = -1; static int hf_x11_dri2_Connect_window = -1; static int hf_x11_dri2_Connect_driver_type = -1; static int hf_x11_dri2_Connect_reply_driver_name_length = -1; static int hf_x11_dri2_Connect_reply_device_name_length = -1; static int hf_x11_dri2_Connect_reply_driver_name = -1; static int hf_x11_dri2_Connect_reply_alignment_pad = -1; static int hf_x11_dri2_Connect_reply_device_name = -1; static int hf_x11_dri2_Authenticate_window = -1; static int hf_x11_dri2_Authenticate_magic = -1; static int hf_x11_dri2_Authenticate_reply_authenticated = -1; static int hf_x11_dri2_CreateDrawable_drawable = -1; static int hf_x11_dri2_DestroyDrawable_drawable = -1; static int hf_x11_dri2_GetBuffers_drawable = -1; static int hf_x11_dri2_GetBuffers_count = -1; static int hf_x11_dri2_GetBuffers_attachments = -1; static int hf_x11_dri2_GetBuffers_attachments_item = -1; static int hf_x11_dri2_GetBuffers_reply_width = -1; static int hf_x11_dri2_GetBuffers_reply_height = -1; static int hf_x11_dri2_GetBuffers_reply_count = -1; static int hf_x11_dri2_GetBuffers_reply_buffers = -1; static int hf_x11_dri2_GetBuffers_reply_buffers_item = -1; static int hf_x11_dri2_CopyRegion_drawable = -1; static int hf_x11_dri2_CopyRegion_region = -1; static int hf_x11_dri2_CopyRegion_dest = -1; static int hf_x11_dri2_CopyRegion_src = -1; static int hf_x11_dri2_GetBuffersWithFormat_drawable = -1; static int hf_x11_dri2_GetBuffersWithFormat_count = -1; static int hf_x11_dri2_GetBuffersWithFormat_attachments = -1; static int hf_x11_dri2_GetBuffersWithFormat_attachments_item = -1; static int hf_x11_dri2_GetBuffersWithFormat_reply_width = -1; static int hf_x11_dri2_GetBuffersWithFormat_reply_height = -1; static int hf_x11_dri2_GetBuffersWithFormat_reply_count = -1; static int hf_x11_dri2_GetBuffersWithFormat_reply_buffers = -1; static int hf_x11_dri2_GetBuffersWithFormat_reply_buffers_item = -1; static int hf_x11_dri2_SwapBuffers_drawable = -1; static int hf_x11_dri2_SwapBuffers_target_msc_hi = -1; static int hf_x11_dri2_SwapBuffers_target_msc_lo = -1; static int hf_x11_dri2_SwapBuffers_divisor_hi = -1; static int hf_x11_dri2_SwapBuffers_divisor_lo = -1; static int hf_x11_dri2_SwapBuffers_remainder_hi = -1; static int hf_x11_dri2_SwapBuffers_remainder_lo = -1; static int hf_x11_dri2_SwapBuffers_reply_swap_hi = -1; static int hf_x11_dri2_SwapBuffers_reply_swap_lo = -1; static int hf_x11_dri2_GetMSC_drawable = -1; static int hf_x11_dri2_GetMSC_reply_ust_hi = -1; static int hf_x11_dri2_GetMSC_reply_ust_lo = -1; static int hf_x11_dri2_GetMSC_reply_msc_hi = -1; static int hf_x11_dri2_GetMSC_reply_msc_lo = -1; static int hf_x11_dri2_GetMSC_reply_sbc_hi = -1; static int hf_x11_dri2_GetMSC_reply_sbc_lo = -1; static int hf_x11_dri2_WaitMSC_drawable = -1; static int hf_x11_dri2_WaitMSC_target_msc_hi = -1; static int hf_x11_dri2_WaitMSC_target_msc_lo = -1; static int hf_x11_dri2_WaitMSC_divisor_hi = -1; static int hf_x11_dri2_WaitMSC_divisor_lo = -1; static int hf_x11_dri2_WaitMSC_remainder_hi = -1; static int hf_x11_dri2_WaitMSC_remainder_lo = -1; static int hf_x11_dri2_WaitMSC_reply_ust_hi = -1; static int hf_x11_dri2_WaitMSC_reply_ust_lo = -1; static int hf_x11_dri2_WaitMSC_reply_msc_hi = -1; static int hf_x11_dri2_WaitMSC_reply_msc_lo = -1; static int hf_x11_dri2_WaitMSC_reply_sbc_hi = -1; static int hf_x11_dri2_WaitMSC_reply_sbc_lo = -1; static int hf_x11_dri2_WaitSBC_drawable = -1; static int hf_x11_dri2_WaitSBC_target_sbc_hi = -1; static int hf_x11_dri2_WaitSBC_target_sbc_lo = -1; static int hf_x11_dri2_WaitSBC_reply_ust_hi = -1; static int hf_x11_dri2_WaitSBC_reply_ust_lo = -1; static int hf_x11_dri2_WaitSBC_reply_msc_hi = -1; static int hf_x11_dri2_WaitSBC_reply_msc_lo = -1; static int hf_x11_dri2_WaitSBC_reply_sbc_hi = -1; static int hf_x11_dri2_WaitSBC_reply_sbc_lo = -1; static int hf_x11_dri2_SwapInterval_drawable = -1; static int hf_x11_dri2_SwapInterval_interval = -1; static int hf_x11_dri2_GetParam_drawable = -1; static int hf_x11_dri2_GetParam_param = -1; static int hf_x11_dri2_GetParam_reply_is_param_recognized = -1; static int hf_x11_dri2_GetParam_reply_value_hi = -1; static int hf_x11_dri2_GetParam_reply_value_lo = -1; static int hf_x11_dri2_InvalidateBuffers_drawable = -1; static int hf_x11_dri2_extension_minor = -1; static int hf_x11_dri3_QueryVersion_major_version = -1; static int hf_x11_dri3_QueryVersion_minor_version = -1; static int hf_x11_dri3_QueryVersion_reply_major_version = -1; static int hf_x11_dri3_QueryVersion_reply_minor_version = -1; static int hf_x11_dri3_Open_drawable = -1; static int hf_x11_dri3_Open_provider = -1; static int hf_x11_dri3_Open_reply_nfd = -1; static int hf_x11_dri3_PixmapFromBuffer_pixmap = -1; static int hf_x11_dri3_PixmapFromBuffer_drawable = -1; static int hf_x11_dri3_PixmapFromBuffer_size = -1; static int hf_x11_dri3_PixmapFromBuffer_width = -1; static int hf_x11_dri3_PixmapFromBuffer_height = -1; static int hf_x11_dri3_PixmapFromBuffer_stride = -1; static int hf_x11_dri3_PixmapFromBuffer_depth = -1; static int hf_x11_dri3_PixmapFromBuffer_bpp = -1; static int hf_x11_dri3_BufferFromPixmap_pixmap = -1; static int hf_x11_dri3_BufferFromPixmap_reply_nfd = -1; static int hf_x11_dri3_BufferFromPixmap_reply_size = -1; static int hf_x11_dri3_BufferFromPixmap_reply_width = -1; static int hf_x11_dri3_BufferFromPixmap_reply_height = -1; static int hf_x11_dri3_BufferFromPixmap_reply_stride = -1; static int hf_x11_dri3_BufferFromPixmap_reply_depth = -1; static int hf_x11_dri3_BufferFromPixmap_reply_bpp = -1; static int hf_x11_dri3_FenceFromFD_drawable = -1; static int hf_x11_dri3_FenceFromFD_fence = -1; static int hf_x11_dri3_FenceFromFD_initially_triggered = -1; static int hf_x11_dri3_FDFromFence_drawable = -1; static int hf_x11_dri3_FDFromFence_fence = -1; static int hf_x11_dri3_FDFromFence_reply_nfd = -1; static int hf_x11_dri3_GetSupportedModifiers_window = -1; static int hf_x11_dri3_GetSupportedModifiers_depth = -1; static int hf_x11_dri3_GetSupportedModifiers_bpp = -1; static int hf_x11_dri3_GetSupportedModifiers_reply_num_window_modifiers = -1; static int hf_x11_dri3_GetSupportedModifiers_reply_num_screen_modifiers = -1; static int hf_x11_dri3_GetSupportedModifiers_reply_window_modifiers = -1; static int hf_x11_dri3_GetSupportedModifiers_reply_window_modifiers_item = -1; static int hf_x11_dri3_GetSupportedModifiers_reply_screen_modifiers = -1; static int hf_x11_dri3_GetSupportedModifiers_reply_screen_modifiers_item = -1; static int hf_x11_dri3_PixmapFromBuffers_pixmap = -1; static int hf_x11_dri3_PixmapFromBuffers_window = -1; static int hf_x11_dri3_PixmapFromBuffers_num_buffers = -1; static int hf_x11_dri3_PixmapFromBuffers_width = -1; static int hf_x11_dri3_PixmapFromBuffers_height = -1; static int hf_x11_dri3_PixmapFromBuffers_stride0 = -1; static int hf_x11_dri3_PixmapFromBuffers_offset0 = -1; static int hf_x11_dri3_PixmapFromBuffers_stride1 = -1; static int hf_x11_dri3_PixmapFromBuffers_offset1 = -1; static int hf_x11_dri3_PixmapFromBuffers_stride2 = -1; static int hf_x11_dri3_PixmapFromBuffers_offset2 = -1; static int hf_x11_dri3_PixmapFromBuffers_stride3 = -1; static int hf_x11_dri3_PixmapFromBuffers_offset3 = -1; static int hf_x11_dri3_PixmapFromBuffers_depth = -1; static int hf_x11_dri3_PixmapFromBuffers_bpp = -1; static int hf_x11_dri3_PixmapFromBuffers_modifier = -1; static int hf_x11_dri3_PixmapFromBuffers_buffers = -1; static int hf_x11_dri3_BuffersFromPixmap_pixmap = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_nfd = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_width = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_height = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_modifier = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_depth = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_bpp = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_strides = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_strides_item = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_offsets = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_offsets_item = -1; static int hf_x11_dri3_BuffersFromPixmap_reply_buffers = -1; static int hf_x11_dri3_extension_minor = -1; static int hf_x11_ge_QueryVersion_client_major_version = -1; static int hf_x11_ge_QueryVersion_client_minor_version = -1; static int hf_x11_ge_QueryVersion_reply_major_version = -1; static int hf_x11_ge_QueryVersion_reply_minor_version = -1; static int hf_x11_ge_extension_minor = -1; static int hf_x11_glx_BufferSwapComplete_event_type = -1; static int hf_x11_glx_BufferSwapComplete_drawable = -1; static int hf_x11_glx_BufferSwapComplete_ust_hi = -1; static int hf_x11_glx_BufferSwapComplete_ust_lo = -1; static int hf_x11_glx_BufferSwapComplete_msc_hi = -1; static int hf_x11_glx_BufferSwapComplete_msc_lo = -1; static int hf_x11_glx_BufferSwapComplete_sbc = -1; static int hf_x11_glx_Render_context_tag = -1; static int hf_x11_glx_Render_data = -1; static int hf_x11_glx_RenderLarge_context_tag = -1; static int hf_x11_glx_RenderLarge_request_num = -1; static int hf_x11_glx_RenderLarge_request_total = -1; static int hf_x11_glx_RenderLarge_data_len = -1; static int hf_x11_glx_RenderLarge_data = -1; static int hf_x11_glx_CreateContext_context = -1; static int hf_x11_glx_CreateContext_visual = -1; static int hf_x11_glx_CreateContext_screen = -1; static int hf_x11_glx_CreateContext_share_list = -1; static int hf_x11_glx_CreateContext_is_direct = -1; static int hf_x11_glx_DestroyContext_context = -1; static int hf_x11_glx_MakeCurrent_drawable = -1; static int hf_x11_glx_MakeCurrent_context = -1; static int hf_x11_glx_MakeCurrent_old_context_tag = -1; static int hf_x11_glx_MakeCurrent_reply_context_tag = -1; static int hf_x11_glx_IsDirect_context = -1; static int hf_x11_glx_IsDirect_reply_is_direct = -1; static int hf_x11_glx_QueryVersion_major_version = -1; static int hf_x11_glx_QueryVersion_minor_version = -1; static int hf_x11_glx_QueryVersion_reply_major_version = -1; static int hf_x11_glx_QueryVersion_reply_minor_version = -1; static int hf_x11_glx_WaitGL_context_tag = -1; static int hf_x11_glx_WaitX_context_tag = -1; static int hf_x11_glx_CopyContext_src = -1; static int hf_x11_glx_CopyContext_dest = -1; static int hf_x11_glx_CopyContext_mask = -1; static int hf_x11_glx_CopyContext_src_context_tag = -1; static int hf_x11_glx_SwapBuffers_context_tag = -1; static int hf_x11_glx_SwapBuffers_drawable = -1; static int hf_x11_glx_UseXFont_context_tag = -1; static int hf_x11_glx_UseXFont_font = -1; static int hf_x11_glx_UseXFont_first = -1; static int hf_x11_glx_UseXFont_count = -1; static int hf_x11_glx_UseXFont_list_base = -1; static int hf_x11_glx_CreateGLXPixmap_screen = -1; static int hf_x11_glx_CreateGLXPixmap_visual = -1; static int hf_x11_glx_CreateGLXPixmap_pixmap = -1; static int hf_x11_glx_CreateGLXPixmap_glx_pixmap = -1; static int hf_x11_glx_GetVisualConfigs_screen = -1; static int hf_x11_glx_GetVisualConfigs_reply_num_visuals = -1; static int hf_x11_glx_GetVisualConfigs_reply_num_properties = -1; static int hf_x11_glx_GetVisualConfigs_reply_property_list = -1; static int hf_x11_glx_GetVisualConfigs_reply_property_list_item = -1; static int hf_x11_glx_DestroyGLXPixmap_glx_pixmap = -1; static int hf_x11_glx_VendorPrivate_vendor_code = -1; static int hf_x11_glx_VendorPrivate_context_tag = -1; static int hf_x11_glx_VendorPrivate_data = -1; static int hf_x11_glx_VendorPrivateWithReply_vendor_code = -1; static int hf_x11_glx_VendorPrivateWithReply_context_tag = -1; static int hf_x11_glx_VendorPrivateWithReply_data = -1; static int hf_x11_glx_VendorPrivateWithReply_reply_retval = -1; static int hf_x11_glx_VendorPrivateWithReply_reply_data1 = -1; static int hf_x11_glx_VendorPrivateWithReply_reply_data2 = -1; static int hf_x11_glx_QueryExtensionsString_screen = -1; static int hf_x11_glx_QueryExtensionsString_reply_n = -1; static int hf_x11_glx_QueryServerString_screen = -1; static int hf_x11_glx_QueryServerString_name = -1; static int hf_x11_glx_QueryServerString_reply_str_len = -1; static int hf_x11_glx_QueryServerString_reply_string = -1; static int hf_x11_glx_ClientInfo_major_version = -1; static int hf_x11_glx_ClientInfo_minor_version = -1; static int hf_x11_glx_ClientInfo_str_len = -1; static int hf_x11_glx_ClientInfo_string = -1; static int hf_x11_glx_GetFBConfigs_screen = -1; static int hf_x11_glx_GetFBConfigs_reply_num_FB_configs = -1; static int hf_x11_glx_GetFBConfigs_reply_num_properties = -1; static int hf_x11_glx_GetFBConfigs_reply_property_list = -1; static int hf_x11_glx_GetFBConfigs_reply_property_list_item = -1; static int hf_x11_glx_CreatePixmap_screen = -1; static int hf_x11_glx_CreatePixmap_fbconfig = -1; static int hf_x11_glx_CreatePixmap_pixmap = -1; static int hf_x11_glx_CreatePixmap_glx_pixmap = -1; static int hf_x11_glx_CreatePixmap_num_attribs = -1; static int hf_x11_glx_CreatePixmap_attribs = -1; static int hf_x11_glx_CreatePixmap_attribs_item = -1; static int hf_x11_glx_DestroyPixmap_glx_pixmap = -1; static int hf_x11_glx_CreateNewContext_context = -1; static int hf_x11_glx_CreateNewContext_fbconfig = -1; static int hf_x11_glx_CreateNewContext_screen = -1; static int hf_x11_glx_CreateNewContext_render_type = -1; static int hf_x11_glx_CreateNewContext_share_list = -1; static int hf_x11_glx_CreateNewContext_is_direct = -1; static int hf_x11_glx_QueryContext_context = -1; static int hf_x11_glx_QueryContext_reply_num_attribs = -1; static int hf_x11_glx_QueryContext_reply_attribs = -1; static int hf_x11_glx_QueryContext_reply_attribs_item = -1; static int hf_x11_glx_MakeContextCurrent_old_context_tag = -1; static int hf_x11_glx_MakeContextCurrent_drawable = -1; static int hf_x11_glx_MakeContextCurrent_read_drawable = -1; static int hf_x11_glx_MakeContextCurrent_context = -1; static int hf_x11_glx_MakeContextCurrent_reply_context_tag = -1; static int hf_x11_glx_CreatePbuffer_screen = -1; static int hf_x11_glx_CreatePbuffer_fbconfig = -1; static int hf_x11_glx_CreatePbuffer_pbuffer = -1; static int hf_x11_glx_CreatePbuffer_num_attribs = -1; static int hf_x11_glx_CreatePbuffer_attribs = -1; static int hf_x11_glx_CreatePbuffer_attribs_item = -1; static int hf_x11_glx_DestroyPbuffer_pbuffer = -1; static int hf_x11_glx_GetDrawableAttributes_drawable = -1; static int hf_x11_glx_GetDrawableAttributes_reply_num_attribs = -1; static int hf_x11_glx_GetDrawableAttributes_reply_attribs = -1; static int hf_x11_glx_GetDrawableAttributes_reply_attribs_item = -1; static int hf_x11_glx_ChangeDrawableAttributes_drawable = -1; static int hf_x11_glx_ChangeDrawableAttributes_num_attribs = -1; static int hf_x11_glx_ChangeDrawableAttributes_attribs = -1; static int hf_x11_glx_ChangeDrawableAttributes_attribs_item = -1; static int hf_x11_glx_CreateWindow_screen = -1; static int hf_x11_glx_CreateWindow_fbconfig = -1; static int hf_x11_glx_CreateWindow_window = -1; static int hf_x11_glx_CreateWindow_glx_window = -1; static int hf_x11_glx_CreateWindow_num_attribs = -1; static int hf_x11_glx_CreateWindow_attribs = -1; static int hf_x11_glx_CreateWindow_attribs_item = -1; static int hf_x11_glx_DeleteWindow_glxwindow = -1; static int hf_x11_glx_SetClientInfoARB_major_version = -1; static int hf_x11_glx_SetClientInfoARB_minor_version = -1; static int hf_x11_glx_SetClientInfoARB_num_versions = -1; static int hf_x11_glx_SetClientInfoARB_gl_str_len = -1; static int hf_x11_glx_SetClientInfoARB_glx_str_len = -1; static int hf_x11_glx_SetClientInfoARB_gl_versions = -1; static int hf_x11_glx_SetClientInfoARB_gl_versions_item = -1; static int hf_x11_glx_SetClientInfoARB_gl_extension_string = -1; static int hf_x11_glx_SetClientInfoARB_glx_extension_string = -1; static int hf_x11_glx_CreateContextAttribsARB_context = -1; static int hf_x11_glx_CreateContextAttribsARB_fbconfig = -1; static int hf_x11_glx_CreateContextAttribsARB_screen = -1; static int hf_x11_glx_CreateContextAttribsARB_share_list = -1; static int hf_x11_glx_CreateContextAttribsARB_is_direct = -1; static int hf_x11_glx_CreateContextAttribsARB_num_attribs = -1; static int hf_x11_glx_CreateContextAttribsARB_attribs = -1; static int hf_x11_glx_CreateContextAttribsARB_attribs_item = -1; static int hf_x11_glx_SetClientInfo2ARB_major_version = -1; static int hf_x11_glx_SetClientInfo2ARB_minor_version = -1; static int hf_x11_glx_SetClientInfo2ARB_num_versions = -1; static int hf_x11_glx_SetClientInfo2ARB_gl_str_len = -1; static int hf_x11_glx_SetClientInfo2ARB_glx_str_len = -1; static int hf_x11_glx_SetClientInfo2ARB_gl_versions = -1; static int hf_x11_glx_SetClientInfo2ARB_gl_versions_item = -1; static int hf_x11_glx_SetClientInfo2ARB_gl_extension_string = -1; static int hf_x11_glx_SetClientInfo2ARB_glx_extension_string = -1; static int hf_x11_glx_NewList_context_tag = -1; static int hf_x11_glx_NewList_list = -1; static int hf_x11_glx_NewList_mode = -1; static int hf_x11_glx_EndList_context_tag = -1; static int hf_x11_glx_DeleteLists_context_tag = -1; static int hf_x11_glx_DeleteLists_list = -1; static int hf_x11_glx_DeleteLists_range = -1; static int hf_x11_glx_GenLists_context_tag = -1; static int hf_x11_glx_GenLists_range = -1; static int hf_x11_glx_GenLists_reply_ret_val = -1; static int hf_x11_glx_FeedbackBuffer_context_tag = -1; static int hf_x11_glx_FeedbackBuffer_size = -1; static int hf_x11_glx_FeedbackBuffer_type = -1; static int hf_x11_glx_SelectBuffer_context_tag = -1; static int hf_x11_glx_SelectBuffer_size = -1; static int hf_x11_glx_RenderMode_context_tag = -1; static int hf_x11_glx_RenderMode_mode = -1; static int hf_x11_glx_RenderMode_reply_ret_val = -1; static int hf_x11_glx_RenderMode_reply_n = -1; static int hf_x11_glx_RenderMode_reply_new_mode = -1; static int hf_x11_glx_RenderMode_reply_data = -1; static int hf_x11_glx_RenderMode_reply_data_item = -1; static int hf_x11_glx_Finish_context_tag = -1; static int hf_x11_glx_PixelStoref_context_tag = -1; static int hf_x11_glx_PixelStoref_pname = -1; static int hf_x11_glx_PixelStoref_datum = -1; static int hf_x11_glx_PixelStorei_context_tag = -1; static int hf_x11_glx_PixelStorei_pname = -1; static int hf_x11_glx_PixelStorei_datum = -1; static int hf_x11_glx_ReadPixels_context_tag = -1; static int hf_x11_glx_ReadPixels_x = -1; static int hf_x11_glx_ReadPixels_y = -1; static int hf_x11_glx_ReadPixels_width = -1; static int hf_x11_glx_ReadPixels_height = -1; static int hf_x11_glx_ReadPixels_format = -1; static int hf_x11_glx_ReadPixels_type = -1; static int hf_x11_glx_ReadPixels_swap_bytes = -1; static int hf_x11_glx_ReadPixels_lsb_first = -1; static int hf_x11_glx_ReadPixels_reply_data = -1; static int hf_x11_glx_GetBooleanv_context_tag = -1; static int hf_x11_glx_GetBooleanv_pname = -1; static int hf_x11_glx_GetBooleanv_reply_n = -1; static int hf_x11_glx_GetBooleanv_reply_datum = -1; static int hf_x11_glx_GetBooleanv_reply_data = -1; static int hf_x11_glx_GetClipPlane_context_tag = -1; static int hf_x11_glx_GetClipPlane_plane = -1; static int hf_x11_glx_GetClipPlane_reply_data = -1; static int hf_x11_glx_GetClipPlane_reply_data_item = -1; static int hf_x11_glx_GetDoublev_context_tag = -1; static int hf_x11_glx_GetDoublev_pname = -1; static int hf_x11_glx_GetDoublev_reply_n = -1; static int hf_x11_glx_GetDoublev_reply_datum = -1; static int hf_x11_glx_GetDoublev_reply_data = -1; static int hf_x11_glx_GetDoublev_reply_data_item = -1; static int hf_x11_glx_GetError_context_tag = -1; static int hf_x11_glx_GetError_reply_error = -1; static int hf_x11_glx_GetFloatv_context_tag = -1; static int hf_x11_glx_GetFloatv_pname = -1; static int hf_x11_glx_GetFloatv_reply_n = -1; static int hf_x11_glx_GetFloatv_reply_datum = -1; static int hf_x11_glx_GetFloatv_reply_data = -1; static int hf_x11_glx_GetFloatv_reply_data_item = -1; static int hf_x11_glx_GetIntegerv_context_tag = -1; static int hf_x11_glx_GetIntegerv_pname = -1; static int hf_x11_glx_GetIntegerv_reply_n = -1; static int hf_x11_glx_GetIntegerv_reply_datum = -1; static int hf_x11_glx_GetIntegerv_reply_data = -1; static int hf_x11_glx_GetIntegerv_reply_data_item = -1; static int hf_x11_glx_GetLightfv_context_tag = -1; static int hf_x11_glx_GetLightfv_light = -1; static int hf_x11_glx_GetLightfv_pname = -1; static int hf_x11_glx_GetLightfv_reply_n = -1; static int hf_x11_glx_GetLightfv_reply_datum = -1; static int hf_x11_glx_GetLightfv_reply_data = -1; static int hf_x11_glx_GetLightfv_reply_data_item = -1; static int hf_x11_glx_GetLightiv_context_tag = -1; static int hf_x11_glx_GetLightiv_light = -1; static int hf_x11_glx_GetLightiv_pname = -1; static int hf_x11_glx_GetLightiv_reply_n = -1; static int hf_x11_glx_GetLightiv_reply_datum = -1; static int hf_x11_glx_GetLightiv_reply_data = -1; static int hf_x11_glx_GetLightiv_reply_data_item = -1; static int hf_x11_glx_GetMapdv_context_tag = -1; static int hf_x11_glx_GetMapdv_target = -1; static int hf_x11_glx_GetMapdv_query = -1; static int hf_x11_glx_GetMapdv_reply_n = -1; static int hf_x11_glx_GetMapdv_reply_datum = -1; static int hf_x11_glx_GetMapdv_reply_data = -1; static int hf_x11_glx_GetMapdv_reply_data_item = -1; static int hf_x11_glx_GetMapfv_context_tag = -1; static int hf_x11_glx_GetMapfv_target = -1; static int hf_x11_glx_GetMapfv_query = -1; static int hf_x11_glx_GetMapfv_reply_n = -1; static int hf_x11_glx_GetMapfv_reply_datum = -1; static int hf_x11_glx_GetMapfv_reply_data = -1; static int hf_x11_glx_GetMapfv_reply_data_item = -1; static int hf_x11_glx_GetMapiv_context_tag = -1; static int hf_x11_glx_GetMapiv_target = -1; static int hf_x11_glx_GetMapiv_query = -1; static int hf_x11_glx_GetMapiv_reply_n = -1; static int hf_x11_glx_GetMapiv_reply_datum = -1; static int hf_x11_glx_GetMapiv_reply_data = -1; static int hf_x11_glx_GetMapiv_reply_data_item = -1; static int hf_x11_glx_GetMaterialfv_context_tag = -1; static int hf_x11_glx_GetMaterialfv_face = -1; static int hf_x11_glx_GetMaterialfv_pname = -1; static int hf_x11_glx_GetMaterialfv_reply_n = -1; static int hf_x11_glx_GetMaterialfv_reply_datum = -1; static int hf_x11_glx_GetMaterialfv_reply_data = -1; static int hf_x11_glx_GetMaterialfv_reply_data_item = -1; static int hf_x11_glx_GetMaterialiv_context_tag = -1; static int hf_x11_glx_GetMaterialiv_face = -1; static int hf_x11_glx_GetMaterialiv_pname = -1; static int hf_x11_glx_GetMaterialiv_reply_n = -1; static int hf_x11_glx_GetMaterialiv_reply_datum = -1; static int hf_x11_glx_GetMaterialiv_reply_data = -1; static int hf_x11_glx_GetMaterialiv_reply_data_item = -1; static int hf_x11_glx_GetPixelMapfv_context_tag = -1; static int hf_x11_glx_GetPixelMapfv_map = -1; static int hf_x11_glx_GetPixelMapfv_reply_n = -1; static int hf_x11_glx_GetPixelMapfv_reply_datum = -1; static int hf_x11_glx_GetPixelMapfv_reply_data = -1; static int hf_x11_glx_GetPixelMapfv_reply_data_item = -1; static int hf_x11_glx_GetPixelMapuiv_context_tag = -1; static int hf_x11_glx_GetPixelMapuiv_map = -1; static int hf_x11_glx_GetPixelMapuiv_reply_n = -1; static int hf_x11_glx_GetPixelMapuiv_reply_datum = -1; static int hf_x11_glx_GetPixelMapuiv_reply_data = -1; static int hf_x11_glx_GetPixelMapuiv_reply_data_item = -1; static int hf_x11_glx_GetPixelMapusv_context_tag = -1; static int hf_x11_glx_GetPixelMapusv_map = -1; static int hf_x11_glx_GetPixelMapusv_reply_n = -1; static int hf_x11_glx_GetPixelMapusv_reply_datum = -1; static int hf_x11_glx_GetPixelMapusv_reply_data = -1; static int hf_x11_glx_GetPixelMapusv_reply_data_item = -1; static int hf_x11_glx_GetPolygonStipple_context_tag = -1; static int hf_x11_glx_GetPolygonStipple_lsb_first = -1; static int hf_x11_glx_GetPolygonStipple_reply_data = -1; static int hf_x11_glx_GetString_context_tag = -1; static int hf_x11_glx_GetString_name = -1; static int hf_x11_glx_GetString_reply_n = -1; static int hf_x11_glx_GetString_reply_string = -1; static int hf_x11_glx_GetTexEnvfv_context_tag = -1; static int hf_x11_glx_GetTexEnvfv_target = -1; static int hf_x11_glx_GetTexEnvfv_pname = -1; static int hf_x11_glx_GetTexEnvfv_reply_n = -1; static int hf_x11_glx_GetTexEnvfv_reply_datum = -1; static int hf_x11_glx_GetTexEnvfv_reply_data = -1; static int hf_x11_glx_GetTexEnvfv_reply_data_item = -1; static int hf_x11_glx_GetTexEnviv_context_tag = -1; static int hf_x11_glx_GetTexEnviv_target = -1; static int hf_x11_glx_GetTexEnviv_pname = -1; static int hf_x11_glx_GetTexEnviv_reply_n = -1; static int hf_x11_glx_GetTexEnviv_reply_datum = -1; static int hf_x11_glx_GetTexEnviv_reply_data = -1; static int hf_x11_glx_GetTexEnviv_reply_data_item = -1; static int hf_x11_glx_GetTexGendv_context_tag = -1; static int hf_x11_glx_GetTexGendv_coord = -1; static int hf_x11_glx_GetTexGendv_pname = -1; static int hf_x11_glx_GetTexGendv_reply_n = -1; static int hf_x11_glx_GetTexGendv_reply_datum = -1; static int hf_x11_glx_GetTexGendv_reply_data = -1; static int hf_x11_glx_GetTexGendv_reply_data_item = -1; static int hf_x11_glx_GetTexGenfv_context_tag = -1; static int hf_x11_glx_GetTexGenfv_coord = -1; static int hf_x11_glx_GetTexGenfv_pname = -1; static int hf_x11_glx_GetTexGenfv_reply_n = -1; static int hf_x11_glx_GetTexGenfv_reply_datum = -1; static int hf_x11_glx_GetTexGenfv_reply_data = -1; static int hf_x11_glx_GetTexGenfv_reply_data_item = -1; static int hf_x11_glx_GetTexGeniv_context_tag = -1; static int hf_x11_glx_GetTexGeniv_coord = -1; static int hf_x11_glx_GetTexGeniv_pname = -1; static int hf_x11_glx_GetTexGeniv_reply_n = -1; static int hf_x11_glx_GetTexGeniv_reply_datum = -1; static int hf_x11_glx_GetTexGeniv_reply_data = -1; static int hf_x11_glx_GetTexGeniv_reply_data_item = -1; static int hf_x11_glx_GetTexImage_context_tag = -1; static int hf_x11_glx_GetTexImage_target = -1; static int hf_x11_glx_GetTexImage_level = -1; static int hf_x11_glx_GetTexImage_format = -1; static int hf_x11_glx_GetTexImage_type = -1; static int hf_x11_glx_GetTexImage_swap_bytes = -1; static int hf_x11_glx_GetTexImage_reply_width = -1; static int hf_x11_glx_GetTexImage_reply_height = -1; static int hf_x11_glx_GetTexImage_reply_depth = -1; static int hf_x11_glx_GetTexImage_reply_data = -1; static int hf_x11_glx_GetTexParameterfv_context_tag = -1; static int hf_x11_glx_GetTexParameterfv_target = -1; static int hf_x11_glx_GetTexParameterfv_pname = -1; static int hf_x11_glx_GetTexParameterfv_reply_n = -1; static int hf_x11_glx_GetTexParameterfv_reply_datum = -1; static int hf_x11_glx_GetTexParameterfv_reply_data = -1; static int hf_x11_glx_GetTexParameterfv_reply_data_item = -1; static int hf_x11_glx_GetTexParameteriv_context_tag = -1; static int hf_x11_glx_GetTexParameteriv_target = -1; static int hf_x11_glx_GetTexParameteriv_pname = -1; static int hf_x11_glx_GetTexParameteriv_reply_n = -1; static int hf_x11_glx_GetTexParameteriv_reply_datum = -1; static int hf_x11_glx_GetTexParameteriv_reply_data = -1; static int hf_x11_glx_GetTexParameteriv_reply_data_item = -1; static int hf_x11_glx_GetTexLevelParameterfv_context_tag = -1; static int hf_x11_glx_GetTexLevelParameterfv_target = -1; static int hf_x11_glx_GetTexLevelParameterfv_level = -1; static int hf_x11_glx_GetTexLevelParameterfv_pname = -1; static int hf_x11_glx_GetTexLevelParameterfv_reply_n = -1; static int hf_x11_glx_GetTexLevelParameterfv_reply_datum = -1; static int hf_x11_glx_GetTexLevelParameterfv_reply_data = -1; static int hf_x11_glx_GetTexLevelParameterfv_reply_data_item = -1; static int hf_x11_glx_GetTexLevelParameteriv_context_tag = -1; static int hf_x11_glx_GetTexLevelParameteriv_target = -1; static int hf_x11_glx_GetTexLevelParameteriv_level = -1; static int hf_x11_glx_GetTexLevelParameteriv_pname = -1; static int hf_x11_glx_GetTexLevelParameteriv_reply_n = -1; static int hf_x11_glx_GetTexLevelParameteriv_reply_datum = -1; static int hf_x11_glx_GetTexLevelParameteriv_reply_data = -1; static int hf_x11_glx_GetTexLevelParameteriv_reply_data_item = -1; static int hf_x11_glx_IsEnabled_context_tag = -1; static int hf_x11_glx_IsEnabled_capability = -1; static int hf_x11_glx_IsEnabled_reply_ret_val = -1; static int hf_x11_glx_IsList_context_tag = -1; static int hf_x11_glx_IsList_list = -1; static int hf_x11_glx_IsList_reply_ret_val = -1; static int hf_x11_glx_Flush_context_tag = -1; static int hf_x11_glx_AreTexturesResident_context_tag = -1; static int hf_x11_glx_AreTexturesResident_n = -1; static int hf_x11_glx_AreTexturesResident_textures = -1; static int hf_x11_glx_AreTexturesResident_textures_item = -1; static int hf_x11_glx_AreTexturesResident_reply_ret_val = -1; static int hf_x11_glx_AreTexturesResident_reply_data = -1; static int hf_x11_glx_DeleteTextures_context_tag = -1; static int hf_x11_glx_DeleteTextures_n = -1; static int hf_x11_glx_DeleteTextures_textures = -1; static int hf_x11_glx_DeleteTextures_textures_item = -1; static int hf_x11_glx_GenTextures_context_tag = -1; static int hf_x11_glx_GenTextures_n = -1; static int hf_x11_glx_GenTextures_reply_data = -1; static int hf_x11_glx_GenTextures_reply_data_item = -1; static int hf_x11_glx_IsTexture_context_tag = -1; static int hf_x11_glx_IsTexture_texture = -1; static int hf_x11_glx_IsTexture_reply_ret_val = -1; static int hf_x11_glx_GetColorTable_context_tag = -1; static int hf_x11_glx_GetColorTable_target = -1; static int hf_x11_glx_GetColorTable_format = -1; static int hf_x11_glx_GetColorTable_type = -1; static int hf_x11_glx_GetColorTable_swap_bytes = -1; static int hf_x11_glx_GetColorTable_reply_width = -1; static int hf_x11_glx_GetColorTable_reply_data = -1; static int hf_x11_glx_GetColorTableParameterfv_context_tag = -1; static int hf_x11_glx_GetColorTableParameterfv_target = -1; static int hf_x11_glx_GetColorTableParameterfv_pname = -1; static int hf_x11_glx_GetColorTableParameterfv_reply_n = -1; static int hf_x11_glx_GetColorTableParameterfv_reply_datum = -1; static int hf_x11_glx_GetColorTableParameterfv_reply_data = -1; static int hf_x11_glx_GetColorTableParameterfv_reply_data_item = -1; static int hf_x11_glx_GetColorTableParameteriv_context_tag = -1; static int hf_x11_glx_GetColorTableParameteriv_target = -1; static int hf_x11_glx_GetColorTableParameteriv_pname = -1; static int hf_x11_glx_GetColorTableParameteriv_reply_n = -1; static int hf_x11_glx_GetColorTableParameteriv_reply_datum = -1; static int hf_x11_glx_GetColorTableParameteriv_reply_data = -1; static int hf_x11_glx_GetColorTableParameteriv_reply_data_item = -1; static int hf_x11_glx_GetConvolutionFilter_context_tag = -1; static int hf_x11_glx_GetConvolutionFilter_target = -1; static int hf_x11_glx_GetConvolutionFilter_format = -1; static int hf_x11_glx_GetConvolutionFilter_type = -1; static int hf_x11_glx_GetConvolutionFilter_swap_bytes = -1; static int hf_x11_glx_GetConvolutionFilter_reply_width = -1; static int hf_x11_glx_GetConvolutionFilter_reply_height = -1; static int hf_x11_glx_GetConvolutionFilter_reply_data = -1; static int hf_x11_glx_GetConvolutionParameterfv_context_tag = -1; static int hf_x11_glx_GetConvolutionParameterfv_target = -1; static int hf_x11_glx_GetConvolutionParameterfv_pname = -1; static int hf_x11_glx_GetConvolutionParameterfv_reply_n = -1; static int hf_x11_glx_GetConvolutionParameterfv_reply_datum = -1; static int hf_x11_glx_GetConvolutionParameterfv_reply_data = -1; static int hf_x11_glx_GetConvolutionParameterfv_reply_data_item = -1; static int hf_x11_glx_GetConvolutionParameteriv_context_tag = -1; static int hf_x11_glx_GetConvolutionParameteriv_target = -1; static int hf_x11_glx_GetConvolutionParameteriv_pname = -1; static int hf_x11_glx_GetConvolutionParameteriv_reply_n = -1; static int hf_x11_glx_GetConvolutionParameteriv_reply_datum = -1; static int hf_x11_glx_GetConvolutionParameteriv_reply_data = -1; static int hf_x11_glx_GetConvolutionParameteriv_reply_data_item = -1; static int hf_x11_glx_GetSeparableFilter_context_tag = -1; static int hf_x11_glx_GetSeparableFilter_target = -1; static int hf_x11_glx_GetSeparableFilter_format = -1; static int hf_x11_glx_GetSeparableFilter_type = -1; static int hf_x11_glx_GetSeparableFilter_swap_bytes = -1; static int hf_x11_glx_GetSeparableFilter_reply_row_w = -1; static int hf_x11_glx_GetSeparableFilter_reply_col_h = -1; static int hf_x11_glx_GetSeparableFilter_reply_rows_and_cols = -1; static int hf_x11_glx_GetHistogram_context_tag = -1; static int hf_x11_glx_GetHistogram_target = -1; static int hf_x11_glx_GetHistogram_format = -1; static int hf_x11_glx_GetHistogram_type = -1; static int hf_x11_glx_GetHistogram_swap_bytes = -1; static int hf_x11_glx_GetHistogram_reset = -1; static int hf_x11_glx_GetHistogram_reply_width = -1; static int hf_x11_glx_GetHistogram_reply_data = -1; static int hf_x11_glx_GetHistogramParameterfv_context_tag = -1; static int hf_x11_glx_GetHistogramParameterfv_target = -1; static int hf_x11_glx_GetHistogramParameterfv_pname = -1; static int hf_x11_glx_GetHistogramParameterfv_reply_n = -1; static int hf_x11_glx_GetHistogramParameterfv_reply_datum = -1; static int hf_x11_glx_GetHistogramParameterfv_reply_data = -1; static int hf_x11_glx_GetHistogramParameterfv_reply_data_item = -1; static int hf_x11_glx_GetHistogramParameteriv_context_tag = -1; static int hf_x11_glx_GetHistogramParameteriv_target = -1; static int hf_x11_glx_GetHistogramParameteriv_pname = -1; static int hf_x11_glx_GetHistogramParameteriv_reply_n = -1; static int hf_x11_glx_GetHistogramParameteriv_reply_datum = -1; static int hf_x11_glx_GetHistogramParameteriv_reply_data = -1; static int hf_x11_glx_GetHistogramParameteriv_reply_data_item = -1; static int hf_x11_glx_GetMinmax_context_tag = -1; static int hf_x11_glx_GetMinmax_target = -1; static int hf_x11_glx_GetMinmax_format = -1; static int hf_x11_glx_GetMinmax_type = -1; static int hf_x11_glx_GetMinmax_swap_bytes = -1; static int hf_x11_glx_GetMinmax_reset = -1; static int hf_x11_glx_GetMinmax_reply_data = -1; static int hf_x11_glx_GetMinmaxParameterfv_context_tag = -1; static int hf_x11_glx_GetMinmaxParameterfv_target = -1; static int hf_x11_glx_GetMinmaxParameterfv_pname = -1; static int hf_x11_glx_GetMinmaxParameterfv_reply_n = -1; static int hf_x11_glx_GetMinmaxParameterfv_reply_datum = -1; static int hf_x11_glx_GetMinmaxParameterfv_reply_data = -1; static int hf_x11_glx_GetMinmaxParameterfv_reply_data_item = -1; static int hf_x11_glx_GetMinmaxParameteriv_context_tag = -1; static int hf_x11_glx_GetMinmaxParameteriv_target = -1; static int hf_x11_glx_GetMinmaxParameteriv_pname = -1; static int hf_x11_glx_GetMinmaxParameteriv_reply_n = -1; static int hf_x11_glx_GetMinmaxParameteriv_reply_datum = -1; static int hf_x11_glx_GetMinmaxParameteriv_reply_data = -1; static int hf_x11_glx_GetMinmaxParameteriv_reply_data_item = -1; static int hf_x11_glx_GetCompressedTexImageARB_context_tag = -1; static int hf_x11_glx_GetCompressedTexImageARB_target = -1; static int hf_x11_glx_GetCompressedTexImageARB_level = -1; static int hf_x11_glx_GetCompressedTexImageARB_reply_size = -1; static int hf_x11_glx_GetCompressedTexImageARB_reply_data = -1; static int hf_x11_glx_DeleteQueriesARB_context_tag = -1; static int hf_x11_glx_DeleteQueriesARB_n = -1; static int hf_x11_glx_DeleteQueriesARB_ids = -1; static int hf_x11_glx_DeleteQueriesARB_ids_item = -1; static int hf_x11_glx_GenQueriesARB_context_tag = -1; static int hf_x11_glx_GenQueriesARB_n = -1; static int hf_x11_glx_GenQueriesARB_reply_data = -1; static int hf_x11_glx_GenQueriesARB_reply_data_item = -1; static int hf_x11_glx_IsQueryARB_context_tag = -1; static int hf_x11_glx_IsQueryARB_id = -1; static int hf_x11_glx_IsQueryARB_reply_ret_val = -1; static int hf_x11_glx_GetQueryivARB_context_tag = -1; static int hf_x11_glx_GetQueryivARB_target = -1; static int hf_x11_glx_GetQueryivARB_pname = -1; static int hf_x11_glx_GetQueryivARB_reply_n = -1; static int hf_x11_glx_GetQueryivARB_reply_datum = -1; static int hf_x11_glx_GetQueryivARB_reply_data = -1; static int hf_x11_glx_GetQueryivARB_reply_data_item = -1; static int hf_x11_glx_GetQueryObjectivARB_context_tag = -1; static int hf_x11_glx_GetQueryObjectivARB_id = -1; static int hf_x11_glx_GetQueryObjectivARB_pname = -1; static int hf_x11_glx_GetQueryObjectivARB_reply_n = -1; static int hf_x11_glx_GetQueryObjectivARB_reply_datum = -1; static int hf_x11_glx_GetQueryObjectivARB_reply_data = -1; static int hf_x11_glx_GetQueryObjectivARB_reply_data_item = -1; static int hf_x11_glx_GetQueryObjectuivARB_context_tag = -1; static int hf_x11_glx_GetQueryObjectuivARB_id = -1; static int hf_x11_glx_GetQueryObjectuivARB_pname = -1; static int hf_x11_glx_GetQueryObjectuivARB_reply_n = -1; static int hf_x11_glx_GetQueryObjectuivARB_reply_datum = -1; static int hf_x11_glx_GetQueryObjectuivARB_reply_data = -1; static int hf_x11_glx_GetQueryObjectuivARB_reply_data_item = -1; static int hf_x11_glx_extension_minor = -1; static int hf_x11_struct_randr_ScreenSize = -1; static int hf_x11_struct_randr_ScreenSize_width = -1; static int hf_x11_struct_randr_ScreenSize_height = -1; static int hf_x11_struct_randr_ScreenSize_mwidth = -1; static int hf_x11_struct_randr_ScreenSize_mheight = -1; static int hf_x11_struct_randr_RefreshRates = -1; static int hf_x11_struct_randr_RefreshRates_nRates = -1; static int hf_x11_struct_randr_RefreshRates_rates = -1; static int hf_x11_struct_randr_RefreshRates_rates_item = -1; static int hf_x11_struct_randr_ModeInfo = -1; static int hf_x11_struct_randr_ModeInfo_id = -1; static int hf_x11_struct_randr_ModeInfo_width = -1; static int hf_x11_struct_randr_ModeInfo_height = -1; static int hf_x11_struct_randr_ModeInfo_dot_clock = -1; static int hf_x11_struct_randr_ModeInfo_hsync_start = -1; static int hf_x11_struct_randr_ModeInfo_hsync_end = -1; static int hf_x11_struct_randr_ModeInfo_htotal = -1; static int hf_x11_struct_randr_ModeInfo_hskew = -1; static int hf_x11_struct_randr_ModeInfo_vsync_start = -1; static int hf_x11_struct_randr_ModeInfo_vsync_end = -1; static int hf_x11_struct_randr_ModeInfo_vtotal = -1; static int hf_x11_struct_randr_ModeInfo_name_len = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_HsyncPositive = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_HsyncNegative = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_VsyncPositive = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_VsyncNegative = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_Interlace = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_DoubleScan = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_Csync = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_CsyncPositive = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_CsyncNegative = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_HskewPresent = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_Bcast = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_PixelMultiplex = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_DoubleClock = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags_mask_HalveClock = -1; static int hf_x11_struct_randr_ModeInfo_mode_flags = -1; static int hf_x11_struct_randr_CrtcChange = -1; static int hf_x11_struct_randr_CrtcChange_timestamp = -1; static int hf_x11_struct_randr_CrtcChange_window = -1; static int hf_x11_struct_randr_CrtcChange_crtc = -1; static int hf_x11_struct_randr_CrtcChange_mode = -1; static int hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_0 = -1; static int hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_90 = -1; static int hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_180 = -1; static int hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_270 = -1; static int hf_x11_struct_randr_CrtcChange_rotation_mask_Reflect_X = -1; static int hf_x11_struct_randr_CrtcChange_rotation_mask_Reflect_Y = -1; static int hf_x11_struct_randr_CrtcChange_rotation = -1; static int hf_x11_struct_randr_CrtcChange_x = -1; static int hf_x11_struct_randr_CrtcChange_y = -1; static int hf_x11_struct_randr_CrtcChange_width = -1; static int hf_x11_struct_randr_CrtcChange_height = -1; static int hf_x11_struct_randr_OutputChange = -1; static int hf_x11_struct_randr_OutputChange_timestamp = -1; static int hf_x11_struct_randr_OutputChange_config_timestamp = -1; static int hf_x11_struct_randr_OutputChange_window = -1; static int hf_x11_struct_randr_OutputChange_output = -1; static int hf_x11_struct_randr_OutputChange_crtc = -1; static int hf_x11_struct_randr_OutputChange_mode = -1; static int hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_0 = -1; static int hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_90 = -1; static int hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_180 = -1; static int hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_270 = -1; static int hf_x11_struct_randr_OutputChange_rotation_mask_Reflect_X = -1; static int hf_x11_struct_randr_OutputChange_rotation_mask_Reflect_Y = -1; static int hf_x11_struct_randr_OutputChange_rotation = -1; static int hf_x11_struct_randr_OutputChange_connection = -1; static int hf_x11_struct_randr_OutputChange_subpixel_order = -1; static int hf_x11_struct_randr_OutputProperty = -1; static int hf_x11_struct_randr_OutputProperty_window = -1; static int hf_x11_struct_randr_OutputProperty_output = -1; static int hf_x11_struct_randr_OutputProperty_atom = -1; static int hf_x11_struct_randr_OutputProperty_timestamp = -1; static int hf_x11_struct_randr_OutputProperty_status = -1; static int hf_x11_struct_randr_ProviderChange = -1; static int hf_x11_struct_randr_ProviderChange_timestamp = -1; static int hf_x11_struct_randr_ProviderChange_window = -1; static int hf_x11_struct_randr_ProviderChange_provider = -1; static int hf_x11_struct_randr_ProviderProperty = -1; static int hf_x11_struct_randr_ProviderProperty_window = -1; static int hf_x11_struct_randr_ProviderProperty_provider = -1; static int hf_x11_struct_randr_ProviderProperty_atom = -1; static int hf_x11_struct_randr_ProviderProperty_timestamp = -1; static int hf_x11_struct_randr_ProviderProperty_state = -1; static int hf_x11_struct_randr_ResourceChange = -1; static int hf_x11_struct_randr_ResourceChange_timestamp = -1; static int hf_x11_struct_randr_ResourceChange_window = -1; static int hf_x11_struct_randr_MonitorInfo = -1; static int hf_x11_struct_randr_MonitorInfo_name = -1; static int hf_x11_struct_randr_MonitorInfo_primary = -1; static int hf_x11_struct_randr_MonitorInfo_automatic = -1; static int hf_x11_struct_randr_MonitorInfo_nOutput = -1; static int hf_x11_struct_randr_MonitorInfo_x = -1; static int hf_x11_struct_randr_MonitorInfo_y = -1; static int hf_x11_struct_randr_MonitorInfo_width = -1; static int hf_x11_struct_randr_MonitorInfo_height = -1; static int hf_x11_struct_randr_MonitorInfo_width_in_millimeters = -1; static int hf_x11_struct_randr_MonitorInfo_height_in_millimeters = -1; static int hf_x11_struct_randr_MonitorInfo_outputs = -1; static int hf_x11_struct_randr_MonitorInfo_outputs_item = -1; static int hf_x11_struct_randr_LeaseNotify = -1; static int hf_x11_struct_randr_LeaseNotify_timestamp = -1; static int hf_x11_struct_randr_LeaseNotify_window = -1; static int hf_x11_struct_randr_LeaseNotify_lease = -1; static int hf_x11_struct_randr_LeaseNotify_created = -1; static int hf_x11_struct_sync_INT64 = -1; static int hf_x11_struct_sync_INT64_hi = -1; static int hf_x11_struct_sync_INT64_lo = -1; static int hf_x11_struct_sync_SYSTEMCOUNTER = -1; static int hf_x11_struct_sync_SYSTEMCOUNTER_counter = -1; static int hf_x11_struct_sync_SYSTEMCOUNTER_resolution = -1; static int hf_x11_struct_sync_SYSTEMCOUNTER_name_len = -1; static int hf_x11_struct_sync_SYSTEMCOUNTER_name = -1; static int hf_x11_struct_sync_TRIGGER = -1; static int hf_x11_struct_sync_TRIGGER_counter = -1; static int hf_x11_struct_sync_TRIGGER_wait_type = -1; static int hf_x11_struct_sync_TRIGGER_wait_value = -1; static int hf_x11_struct_sync_TRIGGER_test_type = -1; static int hf_x11_struct_sync_WAITCONDITION = -1; static int hf_x11_struct_sync_WAITCONDITION_trigger = -1; static int hf_x11_struct_sync_WAITCONDITION_event_threshold = -1; static int hf_x11_struct_present_Notify = -1; static int hf_x11_struct_present_Notify_window = -1; static int hf_x11_struct_present_Notify_serial = -1; static int hf_x11_present_QueryVersion_major_version = -1; static int hf_x11_present_QueryVersion_minor_version = -1; static int hf_x11_present_QueryVersion_reply_major_version = -1; static int hf_x11_present_QueryVersion_reply_minor_version = -1; static int hf_x11_present_Pixmap_window = -1; static int hf_x11_present_Pixmap_pixmap = -1; static int hf_x11_present_Pixmap_serial = -1; static int hf_x11_present_Pixmap_valid = -1; static int hf_x11_present_Pixmap_update = -1; static int hf_x11_present_Pixmap_x_off = -1; static int hf_x11_present_Pixmap_y_off = -1; static int hf_x11_present_Pixmap_target_crtc = -1; static int hf_x11_present_Pixmap_wait_fence = -1; static int hf_x11_present_Pixmap_idle_fence = -1; static int hf_x11_present_Pixmap_options = -1; static int hf_x11_present_Pixmap_target_msc = -1; static int hf_x11_present_Pixmap_divisor = -1; static int hf_x11_present_Pixmap_remainder = -1; static int hf_x11_present_Pixmap_notifies = -1; static int hf_x11_present_Pixmap_notifies_item = -1; static int hf_x11_present_NotifyMSC_window = -1; static int hf_x11_present_NotifyMSC_serial = -1; static int hf_x11_present_NotifyMSC_target_msc = -1; static int hf_x11_present_NotifyMSC_divisor = -1; static int hf_x11_present_NotifyMSC_remainder = -1; static int hf_x11_present_SelectInput_eid = -1; static int hf_x11_present_SelectInput_window = -1; static int hf_x11_present_SelectInput_event_mask_mask_ConfigureNotify = -1; static int hf_x11_present_SelectInput_event_mask_mask_CompleteNotify = -1; static int hf_x11_present_SelectInput_event_mask_mask_IdleNotify = -1; static int hf_x11_present_SelectInput_event_mask_mask_RedirectNotify = -1; static int hf_x11_present_SelectInput_event_mask = -1; static int hf_x11_present_QueryCapabilities_target = -1; static int hf_x11_present_QueryCapabilities_reply_capabilities = -1; static int hf_x11_present_CompleteNotify_kind = -1; static int hf_x11_present_CompleteNotify_mode = -1; static int hf_x11_present_CompleteNotify_event = -1; static int hf_x11_present_CompleteNotify_window = -1; static int hf_x11_present_CompleteNotify_serial = -1; static int hf_x11_present_CompleteNotify_ust = -1; static int hf_x11_present_CompleteNotify_msc = -1; static int hf_x11_present_IdleNotify_event = -1; static int hf_x11_present_IdleNotify_window = -1; static int hf_x11_present_IdleNotify_serial = -1; static int hf_x11_present_IdleNotify_pixmap = -1; static int hf_x11_present_IdleNotify_idle_fence = -1; static int hf_x11_present_RedirectNotify_update_window = -1; static int hf_x11_present_RedirectNotify_event = -1; static int hf_x11_present_RedirectNotify_event_window = -1; static int hf_x11_present_RedirectNotify_window = -1; static int hf_x11_present_RedirectNotify_pixmap = -1; static int hf_x11_present_RedirectNotify_serial = -1; static int hf_x11_present_RedirectNotify_valid_region = -1; static int hf_x11_present_RedirectNotify_update_region = -1; static int hf_x11_present_RedirectNotify_valid_rect = -1; static int hf_x11_present_RedirectNotify_update_rect = -1; static int hf_x11_present_RedirectNotify_x_off = -1; static int hf_x11_present_RedirectNotify_y_off = -1; static int hf_x11_present_RedirectNotify_target_crtc = -1; static int hf_x11_present_RedirectNotify_wait_fence = -1; static int hf_x11_present_RedirectNotify_idle_fence = -1; static int hf_x11_present_RedirectNotify_options = -1; static int hf_x11_present_RedirectNotify_target_msc = -1; static int hf_x11_present_RedirectNotify_divisor = -1; static int hf_x11_present_RedirectNotify_remainder = -1; static int hf_x11_present_RedirectNotify_notifies = -1; static int hf_x11_present_RedirectNotify_notifies_item = -1; static int hf_x11_present_extension_minor = -1; static int hf_x11_randr_QueryVersion_major_version = -1; static int hf_x11_randr_QueryVersion_minor_version = -1; static int hf_x11_randr_QueryVersion_reply_major_version = -1; static int hf_x11_randr_QueryVersion_reply_minor_version = -1; static int hf_x11_randr_SetScreenConfig_window = -1; static int hf_x11_randr_SetScreenConfig_timestamp = -1; static int hf_x11_randr_SetScreenConfig_config_timestamp = -1; static int hf_x11_randr_SetScreenConfig_sizeID = -1; static int hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_0 = -1; static int hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_90 = -1; static int hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_180 = -1; static int hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_270 = -1; static int hf_x11_randr_SetScreenConfig_rotation_mask_Reflect_X = -1; static int hf_x11_randr_SetScreenConfig_rotation_mask_Reflect_Y = -1; static int hf_x11_randr_SetScreenConfig_rotation = -1; static int hf_x11_randr_SetScreenConfig_rate = -1; static int hf_x11_randr_SetScreenConfig_reply_status = -1; static int hf_x11_randr_SetScreenConfig_reply_new_timestamp = -1; static int hf_x11_randr_SetScreenConfig_reply_config_timestamp = -1; static int hf_x11_randr_SetScreenConfig_reply_root = -1; static int hf_x11_randr_SetScreenConfig_reply_subpixel_order = -1; static int hf_x11_randr_SelectInput_window = -1; static int hf_x11_randr_SelectInput_enable_mask_ScreenChange = -1; static int hf_x11_randr_SelectInput_enable_mask_CrtcChange = -1; static int hf_x11_randr_SelectInput_enable_mask_OutputChange = -1; static int hf_x11_randr_SelectInput_enable_mask_OutputProperty = -1; static int hf_x11_randr_SelectInput_enable_mask_ProviderChange = -1; static int hf_x11_randr_SelectInput_enable_mask_ProviderProperty = -1; static int hf_x11_randr_SelectInput_enable_mask_ResourceChange = -1; static int hf_x11_randr_SelectInput_enable_mask_Lease = -1; static int hf_x11_randr_SelectInput_enable = -1; static int hf_x11_randr_GetScreenInfo_window = -1; static int hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_0 = -1; static int hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_90 = -1; static int hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_180 = -1; static int hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_270 = -1; static int hf_x11_randr_GetScreenInfo_reply_rotations_mask_Reflect_X = -1; static int hf_x11_randr_GetScreenInfo_reply_rotations_mask_Reflect_Y = -1; static int hf_x11_randr_GetScreenInfo_reply_rotations = -1; static int hf_x11_randr_GetScreenInfo_reply_root = -1; static int hf_x11_randr_GetScreenInfo_reply_timestamp = -1; static int hf_x11_randr_GetScreenInfo_reply_config_timestamp = -1; static int hf_x11_randr_GetScreenInfo_reply_nSizes = -1; static int hf_x11_randr_GetScreenInfo_reply_sizeID = -1; static int hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_0 = -1; static int hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_90 = -1; static int hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_180 = -1; static int hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_270 = -1; static int hf_x11_randr_GetScreenInfo_reply_rotation_mask_Reflect_X = -1; static int hf_x11_randr_GetScreenInfo_reply_rotation_mask_Reflect_Y = -1; static int hf_x11_randr_GetScreenInfo_reply_rotation = -1; static int hf_x11_randr_GetScreenInfo_reply_rate = -1; static int hf_x11_randr_GetScreenInfo_reply_nInfo = -1; static int hf_x11_randr_GetScreenInfo_reply_sizes = -1; static int hf_x11_randr_GetScreenInfo_reply_sizes_item = -1; static int hf_x11_randr_GetScreenInfo_reply_rates = -1; static int hf_x11_randr_GetScreenSizeRange_window = -1; static int hf_x11_randr_GetScreenSizeRange_reply_min_width = -1; static int hf_x11_randr_GetScreenSizeRange_reply_min_height = -1; static int hf_x11_randr_GetScreenSizeRange_reply_max_width = -1; static int hf_x11_randr_GetScreenSizeRange_reply_max_height = -1; static int hf_x11_randr_SetScreenSize_window = -1; static int hf_x11_randr_SetScreenSize_width = -1; static int hf_x11_randr_SetScreenSize_height = -1; static int hf_x11_randr_SetScreenSize_mm_width = -1; static int hf_x11_randr_SetScreenSize_mm_height = -1; static int hf_x11_randr_GetScreenResources_window = -1; static int hf_x11_randr_GetScreenResources_reply_timestamp = -1; static int hf_x11_randr_GetScreenResources_reply_config_timestamp = -1; static int hf_x11_randr_GetScreenResources_reply_num_crtcs = -1; static int hf_x11_randr_GetScreenResources_reply_num_outputs = -1; static int hf_x11_randr_GetScreenResources_reply_num_modes = -1; static int hf_x11_randr_GetScreenResources_reply_names_len = -1; static int hf_x11_randr_GetScreenResources_reply_crtcs = -1; static int hf_x11_randr_GetScreenResources_reply_crtcs_item = -1; static int hf_x11_randr_GetScreenResources_reply_outputs = -1; static int hf_x11_randr_GetScreenResources_reply_outputs_item = -1; static int hf_x11_randr_GetScreenResources_reply_modes = -1; static int hf_x11_randr_GetScreenResources_reply_modes_item = -1; static int hf_x11_randr_GetScreenResources_reply_names = -1; static int hf_x11_randr_GetOutputInfo_output = -1; static int hf_x11_randr_GetOutputInfo_config_timestamp = -1; static int hf_x11_randr_GetOutputInfo_reply_status = -1; static int hf_x11_randr_GetOutputInfo_reply_timestamp = -1; static int hf_x11_randr_GetOutputInfo_reply_crtc = -1; static int hf_x11_randr_GetOutputInfo_reply_mm_width = -1; static int hf_x11_randr_GetOutputInfo_reply_mm_height = -1; static int hf_x11_randr_GetOutputInfo_reply_connection = -1; static int hf_x11_randr_GetOutputInfo_reply_subpixel_order = -1; static int hf_x11_randr_GetOutputInfo_reply_num_crtcs = -1; static int hf_x11_randr_GetOutputInfo_reply_num_modes = -1; static int hf_x11_randr_GetOutputInfo_reply_num_preferred = -1; static int hf_x11_randr_GetOutputInfo_reply_num_clones = -1; static int hf_x11_randr_GetOutputInfo_reply_name_len = -1; static int hf_x11_randr_GetOutputInfo_reply_crtcs = -1; static int hf_x11_randr_GetOutputInfo_reply_crtcs_item = -1; static int hf_x11_randr_GetOutputInfo_reply_modes = -1; static int hf_x11_randr_GetOutputInfo_reply_modes_item = -1; static int hf_x11_randr_GetOutputInfo_reply_clones = -1; static int hf_x11_randr_GetOutputInfo_reply_clones_item = -1; static int hf_x11_randr_GetOutputInfo_reply_name = -1; static int hf_x11_randr_ListOutputProperties_output = -1; static int hf_x11_randr_ListOutputProperties_reply_num_atoms = -1; static int hf_x11_randr_ListOutputProperties_reply_atoms = -1; static int hf_x11_randr_ListOutputProperties_reply_atoms_item = -1; static int hf_x11_randr_QueryOutputProperty_output = -1; static int hf_x11_randr_QueryOutputProperty_property = -1; static int hf_x11_randr_QueryOutputProperty_reply_pending = -1; static int hf_x11_randr_QueryOutputProperty_reply_range = -1; static int hf_x11_randr_QueryOutputProperty_reply_immutable = -1; static int hf_x11_randr_QueryOutputProperty_reply_validValues = -1; static int hf_x11_randr_QueryOutputProperty_reply_validValues_item = -1; static int hf_x11_randr_ConfigureOutputProperty_output = -1; static int hf_x11_randr_ConfigureOutputProperty_property = -1; static int hf_x11_randr_ConfigureOutputProperty_pending = -1; static int hf_x11_randr_ConfigureOutputProperty_range = -1; static int hf_x11_randr_ConfigureOutputProperty_values = -1; static int hf_x11_randr_ConfigureOutputProperty_values_item = -1; static int hf_x11_randr_ChangeOutputProperty_output = -1; static int hf_x11_randr_ChangeOutputProperty_property = -1; static int hf_x11_randr_ChangeOutputProperty_type = -1; static int hf_x11_randr_ChangeOutputProperty_format = -1; static int hf_x11_randr_ChangeOutputProperty_mode = -1; static int hf_x11_randr_ChangeOutputProperty_num_units = -1; static int hf_x11_randr_ChangeOutputProperty_data = -1; static int hf_x11_randr_DeleteOutputProperty_output = -1; static int hf_x11_randr_DeleteOutputProperty_property = -1; static int hf_x11_randr_GetOutputProperty_output = -1; static int hf_x11_randr_GetOutputProperty_property = -1; static int hf_x11_randr_GetOutputProperty_type = -1; static int hf_x11_randr_GetOutputProperty_long_offset = -1; static int hf_x11_randr_GetOutputProperty_long_length = -1; static int hf_x11_randr_GetOutputProperty_delete = -1; static int hf_x11_randr_GetOutputProperty_pending = -1; static int hf_x11_randr_GetOutputProperty_reply_format = -1; static int hf_x11_randr_GetOutputProperty_reply_type = -1; static int hf_x11_randr_GetOutputProperty_reply_bytes_after = -1; static int hf_x11_randr_GetOutputProperty_reply_num_items = -1; static int hf_x11_randr_GetOutputProperty_reply_data = -1; static int hf_x11_randr_CreateMode_window = -1; static int hf_x11_randr_CreateMode_mode_info = -1; static int hf_x11_randr_CreateMode_name = -1; static int hf_x11_randr_CreateMode_reply_mode = -1; static int hf_x11_randr_DestroyMode_mode = -1; static int hf_x11_randr_AddOutputMode_output = -1; static int hf_x11_randr_AddOutputMode_mode = -1; static int hf_x11_randr_DeleteOutputMode_output = -1; static int hf_x11_randr_DeleteOutputMode_mode = -1; static int hf_x11_randr_GetCrtcInfo_crtc = -1; static int hf_x11_randr_GetCrtcInfo_config_timestamp = -1; static int hf_x11_randr_GetCrtcInfo_reply_status = -1; static int hf_x11_randr_GetCrtcInfo_reply_timestamp = -1; static int hf_x11_randr_GetCrtcInfo_reply_x = -1; static int hf_x11_randr_GetCrtcInfo_reply_y = -1; static int hf_x11_randr_GetCrtcInfo_reply_width = -1; static int hf_x11_randr_GetCrtcInfo_reply_height = -1; static int hf_x11_randr_GetCrtcInfo_reply_mode = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_0 = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_90 = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_180 = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_270 = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Reflect_X = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Reflect_Y = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotation = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_0 = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_90 = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_180 = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_270 = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Reflect_X = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Reflect_Y = -1; static int hf_x11_randr_GetCrtcInfo_reply_rotations = -1; static int hf_x11_randr_GetCrtcInfo_reply_num_outputs = -1; static int hf_x11_randr_GetCrtcInfo_reply_num_possible_outputs = -1; static int hf_x11_randr_GetCrtcInfo_reply_outputs = -1; static int hf_x11_randr_GetCrtcInfo_reply_outputs_item = -1; static int hf_x11_randr_GetCrtcInfo_reply_possible = -1; static int hf_x11_randr_GetCrtcInfo_reply_possible_item = -1; static int hf_x11_randr_SetCrtcConfig_crtc = -1; static int hf_x11_randr_SetCrtcConfig_timestamp = -1; static int hf_x11_randr_SetCrtcConfig_config_timestamp = -1; static int hf_x11_randr_SetCrtcConfig_x = -1; static int hf_x11_randr_SetCrtcConfig_y = -1; static int hf_x11_randr_SetCrtcConfig_mode = -1; static int hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_0 = -1; static int hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_90 = -1; static int hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_180 = -1; static int hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_270 = -1; static int hf_x11_randr_SetCrtcConfig_rotation_mask_Reflect_X = -1; static int hf_x11_randr_SetCrtcConfig_rotation_mask_Reflect_Y = -1; static int hf_x11_randr_SetCrtcConfig_rotation = -1; static int hf_x11_randr_SetCrtcConfig_outputs = -1; static int hf_x11_randr_SetCrtcConfig_outputs_item = -1; static int hf_x11_randr_SetCrtcConfig_reply_status = -1; static int hf_x11_randr_SetCrtcConfig_reply_timestamp = -1; static int hf_x11_randr_GetCrtcGammaSize_crtc = -1; static int hf_x11_randr_GetCrtcGammaSize_reply_size = -1; static int hf_x11_randr_GetCrtcGamma_crtc = -1; static int hf_x11_randr_GetCrtcGamma_reply_size = -1; static int hf_x11_randr_GetCrtcGamma_reply_red = -1; static int hf_x11_randr_GetCrtcGamma_reply_red_item = -1; static int hf_x11_randr_GetCrtcGamma_reply_green = -1; static int hf_x11_randr_GetCrtcGamma_reply_green_item = -1; static int hf_x11_randr_GetCrtcGamma_reply_blue = -1; static int hf_x11_randr_GetCrtcGamma_reply_blue_item = -1; static int hf_x11_randr_SetCrtcGamma_crtc = -1; static int hf_x11_randr_SetCrtcGamma_size = -1; static int hf_x11_randr_SetCrtcGamma_red = -1; static int hf_x11_randr_SetCrtcGamma_red_item = -1; static int hf_x11_randr_SetCrtcGamma_green = -1; static int hf_x11_randr_SetCrtcGamma_green_item = -1; static int hf_x11_randr_SetCrtcGamma_blue = -1; static int hf_x11_randr_SetCrtcGamma_blue_item = -1; static int hf_x11_randr_GetScreenResourcesCurrent_window = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_timestamp = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_config_timestamp = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_num_crtcs = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_num_outputs = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_num_modes = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_names_len = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_crtcs = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_crtcs_item = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_outputs = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_outputs_item = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_modes = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_modes_item = -1; static int hf_x11_randr_GetScreenResourcesCurrent_reply_names = -1; static int hf_x11_randr_SetCrtcTransform_crtc = -1; static int hf_x11_randr_SetCrtcTransform_transform = -1; static int hf_x11_randr_SetCrtcTransform_filter_len = -1; static int hf_x11_randr_SetCrtcTransform_filter_name = -1; static int hf_x11_randr_SetCrtcTransform_filter_params = -1; static int hf_x11_randr_SetCrtcTransform_filter_params_item = -1; static int hf_x11_randr_GetCrtcTransform_crtc = -1; static int hf_x11_randr_GetCrtcTransform_reply_pending_transform = -1; static int hf_x11_randr_GetCrtcTransform_reply_has_transforms = -1; static int hf_x11_randr_GetCrtcTransform_reply_current_transform = -1; static int hf_x11_randr_GetCrtcTransform_reply_pending_len = -1; static int hf_x11_randr_GetCrtcTransform_reply_pending_nparams = -1; static int hf_x11_randr_GetCrtcTransform_reply_current_len = -1; static int hf_x11_randr_GetCrtcTransform_reply_current_nparams = -1; static int hf_x11_randr_GetCrtcTransform_reply_pending_filter_name = -1; static int hf_x11_randr_GetCrtcTransform_reply_pending_params = -1; static int hf_x11_randr_GetCrtcTransform_reply_pending_params_item = -1; static int hf_x11_randr_GetCrtcTransform_reply_current_filter_name = -1; static int hf_x11_randr_GetCrtcTransform_reply_current_params = -1; static int hf_x11_randr_GetCrtcTransform_reply_current_params_item = -1; static int hf_x11_randr_GetPanning_crtc = -1; static int hf_x11_randr_GetPanning_reply_status = -1; static int hf_x11_randr_GetPanning_reply_timestamp = -1; static int hf_x11_randr_GetPanning_reply_left = -1; static int hf_x11_randr_GetPanning_reply_top = -1; static int hf_x11_randr_GetPanning_reply_width = -1; static int hf_x11_randr_GetPanning_reply_height = -1; static int hf_x11_randr_GetPanning_reply_track_left = -1; static int hf_x11_randr_GetPanning_reply_track_top = -1; static int hf_x11_randr_GetPanning_reply_track_width = -1; static int hf_x11_randr_GetPanning_reply_track_height = -1; static int hf_x11_randr_GetPanning_reply_border_left = -1; static int hf_x11_randr_GetPanning_reply_border_top = -1; static int hf_x11_randr_GetPanning_reply_border_right = -1; static int hf_x11_randr_GetPanning_reply_border_bottom = -1; static int hf_x11_randr_SetPanning_crtc = -1; static int hf_x11_randr_SetPanning_timestamp = -1; static int hf_x11_randr_SetPanning_left = -1; static int hf_x11_randr_SetPanning_top = -1; static int hf_x11_randr_SetPanning_width = -1; static int hf_x11_randr_SetPanning_height = -1; static int hf_x11_randr_SetPanning_track_left = -1; static int hf_x11_randr_SetPanning_track_top = -1; static int hf_x11_randr_SetPanning_track_width = -1; static int hf_x11_randr_SetPanning_track_height = -1; static int hf_x11_randr_SetPanning_border_left = -1; static int hf_x11_randr_SetPanning_border_top = -1; static int hf_x11_randr_SetPanning_border_right = -1; static int hf_x11_randr_SetPanning_border_bottom = -1; static int hf_x11_randr_SetPanning_reply_status = -1; static int hf_x11_randr_SetPanning_reply_timestamp = -1; static int hf_x11_randr_SetOutputPrimary_window = -1; static int hf_x11_randr_SetOutputPrimary_output = -1; static int hf_x11_randr_GetOutputPrimary_window = -1; static int hf_x11_randr_GetOutputPrimary_reply_output = -1; static int hf_x11_randr_GetProviders_window = -1; static int hf_x11_randr_GetProviders_reply_timestamp = -1; static int hf_x11_randr_GetProviders_reply_num_providers = -1; static int hf_x11_randr_GetProviders_reply_providers = -1; static int hf_x11_randr_GetProviders_reply_providers_item = -1; static int hf_x11_randr_GetProviderInfo_provider = -1; static int hf_x11_randr_GetProviderInfo_config_timestamp = -1; static int hf_x11_randr_GetProviderInfo_reply_status = -1; static int hf_x11_randr_GetProviderInfo_reply_timestamp = -1; static int hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SourceOutput = -1; static int hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SinkOutput = -1; static int hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SourceOffload = -1; static int hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SinkOffload = -1; static int hf_x11_randr_GetProviderInfo_reply_capabilities = -1; static int hf_x11_randr_GetProviderInfo_reply_num_crtcs = -1; static int hf_x11_randr_GetProviderInfo_reply_num_outputs = -1; static int hf_x11_randr_GetProviderInfo_reply_num_associated_providers = -1; static int hf_x11_randr_GetProviderInfo_reply_name_len = -1; static int hf_x11_randr_GetProviderInfo_reply_crtcs = -1; static int hf_x11_randr_GetProviderInfo_reply_crtcs_item = -1; static int hf_x11_randr_GetProviderInfo_reply_outputs = -1; static int hf_x11_randr_GetProviderInfo_reply_outputs_item = -1; static int hf_x11_randr_GetProviderInfo_reply_associated_providers = -1; static int hf_x11_randr_GetProviderInfo_reply_associated_providers_item = -1; static int hf_x11_randr_GetProviderInfo_reply_associated_capability = -1; static int hf_x11_randr_GetProviderInfo_reply_associated_capability_item = -1; static int hf_x11_randr_GetProviderInfo_reply_name = -1; static int hf_x11_randr_SetProviderOffloadSink_provider = -1; static int hf_x11_randr_SetProviderOffloadSink_sink_provider = -1; static int hf_x11_randr_SetProviderOffloadSink_config_timestamp = -1; static int hf_x11_randr_SetProviderOutputSource_provider = -1; static int hf_x11_randr_SetProviderOutputSource_source_provider = -1; static int hf_x11_randr_SetProviderOutputSource_config_timestamp = -1; static int hf_x11_randr_ListProviderProperties_provider = -1; static int hf_x11_randr_ListProviderProperties_reply_num_atoms = -1; static int hf_x11_randr_ListProviderProperties_reply_atoms = -1; static int hf_x11_randr_ListProviderProperties_reply_atoms_item = -1; static int hf_x11_randr_QueryProviderProperty_provider = -1; static int hf_x11_randr_QueryProviderProperty_property = -1; static int hf_x11_randr_QueryProviderProperty_reply_pending = -1; static int hf_x11_randr_QueryProviderProperty_reply_range = -1; static int hf_x11_randr_QueryProviderProperty_reply_immutable = -1; static int hf_x11_randr_QueryProviderProperty_reply_valid_values = -1; static int hf_x11_randr_QueryProviderProperty_reply_valid_values_item = -1; static int hf_x11_randr_ConfigureProviderProperty_provider = -1; static int hf_x11_randr_ConfigureProviderProperty_property = -1; static int hf_x11_randr_ConfigureProviderProperty_pending = -1; static int hf_x11_randr_ConfigureProviderProperty_range = -1; static int hf_x11_randr_ConfigureProviderProperty_values = -1; static int hf_x11_randr_ConfigureProviderProperty_values_item = -1; static int hf_x11_randr_ChangeProviderProperty_provider = -1; static int hf_x11_randr_ChangeProviderProperty_property = -1; static int hf_x11_randr_ChangeProviderProperty_type = -1; static int hf_x11_randr_ChangeProviderProperty_format = -1; static int hf_x11_randr_ChangeProviderProperty_mode = -1; static int hf_x11_randr_ChangeProviderProperty_num_items = -1; static int hf_x11_randr_ChangeProviderProperty_data = -1; static int hf_x11_randr_DeleteProviderProperty_provider = -1; static int hf_x11_randr_DeleteProviderProperty_property = -1; static int hf_x11_randr_GetProviderProperty_provider = -1; static int hf_x11_randr_GetProviderProperty_property = -1; static int hf_x11_randr_GetProviderProperty_type = -1; static int hf_x11_randr_GetProviderProperty_long_offset = -1; static int hf_x11_randr_GetProviderProperty_long_length = -1; static int hf_x11_randr_GetProviderProperty_delete = -1; static int hf_x11_randr_GetProviderProperty_pending = -1; static int hf_x11_randr_GetProviderProperty_reply_format = -1; static int hf_x11_randr_GetProviderProperty_reply_type = -1; static int hf_x11_randr_GetProviderProperty_reply_bytes_after = -1; static int hf_x11_randr_GetProviderProperty_reply_num_items = -1; static int hf_x11_randr_GetProviderProperty_reply_data = -1; static int hf_x11_randr_GetMonitors_window = -1; static int hf_x11_randr_GetMonitors_get_active = -1; static int hf_x11_randr_GetMonitors_reply_timestamp = -1; static int hf_x11_randr_GetMonitors_reply_nMonitors = -1; static int hf_x11_randr_GetMonitors_reply_nOutputs = -1; static int hf_x11_randr_GetMonitors_reply_monitors = -1; static int hf_x11_randr_SetMonitor_window = -1; static int hf_x11_randr_SetMonitor_monitorinfo = -1; static int hf_x11_randr_DeleteMonitor_window = -1; static int hf_x11_randr_DeleteMonitor_name = -1; static int hf_x11_randr_CreateLease_window = -1; static int hf_x11_randr_CreateLease_lid = -1; static int hf_x11_randr_CreateLease_num_crtcs = -1; static int hf_x11_randr_CreateLease_num_outputs = -1; static int hf_x11_randr_CreateLease_crtcs = -1; static int hf_x11_randr_CreateLease_crtcs_item = -1; static int hf_x11_randr_CreateLease_outputs = -1; static int hf_x11_randr_CreateLease_outputs_item = -1; static int hf_x11_randr_CreateLease_reply_nfd = -1; static int hf_x11_randr_FreeLease_lid = -1; static int hf_x11_randr_FreeLease_terminate = -1; static int hf_x11_union_randr_NotifyData = -1; static int hf_x11_union_randr_NotifyData_cc = -1; static int hf_x11_union_randr_NotifyData_oc = -1; static int hf_x11_union_randr_NotifyData_op = -1; static int hf_x11_union_randr_NotifyData_pc = -1; static int hf_x11_union_randr_NotifyData_pp = -1; static int hf_x11_union_randr_NotifyData_rc = -1; static int hf_x11_union_randr_NotifyData_lc = -1; static int hf_x11_randr_Notify_subCode = -1; static int hf_x11_randr_Notify_u = -1; static int hf_x11_randr_extension_minor = -1; static int hf_x11_struct_record_Range8 = -1; static int hf_x11_struct_record_Range8_first = -1; static int hf_x11_struct_record_Range8_last = -1; static int hf_x11_struct_record_Range16 = -1; static int hf_x11_struct_record_Range16_first = -1; static int hf_x11_struct_record_Range16_last = -1; static int hf_x11_struct_record_ExtRange = -1; static int hf_x11_struct_record_ExtRange_major = -1; static int hf_x11_struct_record_ExtRange_minor = -1; static int hf_x11_struct_record_Range = -1; static int hf_x11_struct_record_Range_core_requests = -1; static int hf_x11_struct_record_Range_core_replies = -1; static int hf_x11_struct_record_Range_ext_requests = -1; static int hf_x11_struct_record_Range_ext_replies = -1; static int hf_x11_struct_record_Range_delivered_events = -1; static int hf_x11_struct_record_Range_device_events = -1; static int hf_x11_struct_record_Range_errors = -1; static int hf_x11_struct_record_Range_client_started = -1; static int hf_x11_struct_record_Range_client_died = -1; static int hf_x11_struct_record_ClientInfo = -1; static int hf_x11_struct_record_ClientInfo_client_resource = -1; static int hf_x11_struct_record_ClientInfo_num_ranges = -1; static int hf_x11_struct_record_ClientInfo_ranges = -1; static int hf_x11_struct_record_ClientInfo_ranges_item = -1; static int hf_x11_record_QueryVersion_major_version = -1; static int hf_x11_record_QueryVersion_minor_version = -1; static int hf_x11_record_QueryVersion_reply_major_version = -1; static int hf_x11_record_QueryVersion_reply_minor_version = -1; static int hf_x11_record_CreateContext_context = -1; static int hf_x11_record_CreateContext_element_header = -1; static int hf_x11_record_CreateContext_num_client_specs = -1; static int hf_x11_record_CreateContext_num_ranges = -1; static int hf_x11_record_CreateContext_client_specs = -1; static int hf_x11_record_CreateContext_client_specs_item = -1; static int hf_x11_record_CreateContext_ranges = -1; static int hf_x11_record_CreateContext_ranges_item = -1; static int hf_x11_record_RegisterClients_context = -1; static int hf_x11_record_RegisterClients_element_header = -1; static int hf_x11_record_RegisterClients_num_client_specs = -1; static int hf_x11_record_RegisterClients_num_ranges = -1; static int hf_x11_record_RegisterClients_client_specs = -1; static int hf_x11_record_RegisterClients_client_specs_item = -1; static int hf_x11_record_RegisterClients_ranges = -1; static int hf_x11_record_RegisterClients_ranges_item = -1; static int hf_x11_record_UnregisterClients_context = -1; static int hf_x11_record_UnregisterClients_num_client_specs = -1; static int hf_x11_record_UnregisterClients_client_specs = -1; static int hf_x11_record_UnregisterClients_client_specs_item = -1; static int hf_x11_record_GetContext_context = -1; static int hf_x11_record_GetContext_reply_enabled = -1; static int hf_x11_record_GetContext_reply_element_header = -1; static int hf_x11_record_GetContext_reply_num_intercepted_clients = -1; static int hf_x11_record_GetContext_reply_intercepted_clients = -1; static int hf_x11_record_EnableContext_context = -1; static int hf_x11_record_EnableContext_reply_category = -1; static int hf_x11_record_EnableContext_reply_element_header = -1; static int hf_x11_record_EnableContext_reply_client_swapped = -1; static int hf_x11_record_EnableContext_reply_xid_base = -1; static int hf_x11_record_EnableContext_reply_server_time = -1; static int hf_x11_record_EnableContext_reply_rec_sequence_num = -1; static int hf_x11_record_EnableContext_reply_data = -1; static int hf_x11_record_DisableContext_context = -1; static int hf_x11_record_FreeContext_context = -1; static int hf_x11_record_extension_minor = -1; static int hf_x11_render_QueryVersion_client_major_version = -1; static int hf_x11_render_QueryVersion_client_minor_version = -1; static int hf_x11_render_QueryVersion_reply_major_version = -1; static int hf_x11_render_QueryVersion_reply_minor_version = -1; static int hf_x11_render_QueryPictFormats_reply_num_formats = -1; static int hf_x11_render_QueryPictFormats_reply_num_screens = -1; static int hf_x11_render_QueryPictFormats_reply_num_depths = -1; static int hf_x11_render_QueryPictFormats_reply_num_visuals = -1; static int hf_x11_render_QueryPictFormats_reply_num_subpixel = -1; static int hf_x11_render_QueryPictFormats_reply_formats = -1; static int hf_x11_render_QueryPictFormats_reply_formats_item = -1; static int hf_x11_render_QueryPictFormats_reply_screens = -1; static int hf_x11_render_QueryPictFormats_reply_subpixels = -1; static int hf_x11_render_QueryPictFormats_reply_subpixels_item = -1; static int hf_x11_render_QueryPictIndexValues_format = -1; static int hf_x11_render_QueryPictIndexValues_reply_num_values = -1; static int hf_x11_render_QueryPictIndexValues_reply_values = -1; static int hf_x11_render_QueryPictIndexValues_reply_values_item = -1; static int hf_x11_render_CreatePicture_pid = -1; static int hf_x11_render_CreatePicture_drawable = -1; static int hf_x11_render_CreatePicture_format = -1; static int hf_x11_render_CreatePicture_value_mask_mask_Repeat = -1; static int hf_x11_render_CreatePicture_value_mask_mask_AlphaMap = -1; static int hf_x11_render_CreatePicture_value_mask_mask_AlphaXOrigin = -1; static int hf_x11_render_CreatePicture_value_mask_mask_AlphaYOrigin = -1; static int hf_x11_render_CreatePicture_value_mask_mask_ClipXOrigin = -1; static int hf_x11_render_CreatePicture_value_mask_mask_ClipYOrigin = -1; static int hf_x11_render_CreatePicture_value_mask_mask_ClipMask = -1; static int hf_x11_render_CreatePicture_value_mask_mask_GraphicsExposure = -1; static int hf_x11_render_CreatePicture_value_mask_mask_SubwindowMode = -1; static int hf_x11_render_CreatePicture_value_mask_mask_PolyEdge = -1; static int hf_x11_render_CreatePicture_value_mask_mask_PolyMode = -1; static int hf_x11_render_CreatePicture_value_mask_mask_Dither = -1; static int hf_x11_render_CreatePicture_value_mask_mask_ComponentAlpha = -1; static int hf_x11_render_CreatePicture_value_mask = -1; static int hf_x11_render_CreatePicture_Repeat_repeat = -1; static int hf_x11_render_CreatePicture_AlphaMap_alphamap = -1; static int hf_x11_render_CreatePicture_AlphaXOrigin_alphaxorigin = -1; static int hf_x11_render_CreatePicture_AlphaYOrigin_alphayorigin = -1; static int hf_x11_render_CreatePicture_ClipXOrigin_clipxorigin = -1; static int hf_x11_render_CreatePicture_ClipYOrigin_clipyorigin = -1; static int hf_x11_render_CreatePicture_ClipMask_clipmask = -1; static int hf_x11_render_CreatePicture_GraphicsExposure_graphicsexposure = -1; static int hf_x11_render_CreatePicture_SubwindowMode_subwindowmode = -1; static int hf_x11_render_CreatePicture_PolyEdge_polyedge = -1; static int hf_x11_render_CreatePicture_PolyMode_polymode = -1; static int hf_x11_render_CreatePicture_Dither_dither = -1; static int hf_x11_render_CreatePicture_ComponentAlpha_componentalpha = -1; static int hf_x11_render_ChangePicture_picture = -1; static int hf_x11_render_ChangePicture_value_mask_mask_Repeat = -1; static int hf_x11_render_ChangePicture_value_mask_mask_AlphaMap = -1; static int hf_x11_render_ChangePicture_value_mask_mask_AlphaXOrigin = -1; static int hf_x11_render_ChangePicture_value_mask_mask_AlphaYOrigin = -1; static int hf_x11_render_ChangePicture_value_mask_mask_ClipXOrigin = -1; static int hf_x11_render_ChangePicture_value_mask_mask_ClipYOrigin = -1; static int hf_x11_render_ChangePicture_value_mask_mask_ClipMask = -1; static int hf_x11_render_ChangePicture_value_mask_mask_GraphicsExposure = -1; static int hf_x11_render_ChangePicture_value_mask_mask_SubwindowMode = -1; static int hf_x11_render_ChangePicture_value_mask_mask_PolyEdge = -1; static int hf_x11_render_ChangePicture_value_mask_mask_PolyMode = -1; static int hf_x11_render_ChangePicture_value_mask_mask_Dither = -1; static int hf_x11_render_ChangePicture_value_mask_mask_ComponentAlpha = -1; static int hf_x11_render_ChangePicture_value_mask = -1; static int hf_x11_render_ChangePicture_Repeat_repeat = -1; static int hf_x11_render_ChangePicture_AlphaMap_alphamap = -1; static int hf_x11_render_ChangePicture_AlphaXOrigin_alphaxorigin = -1; static int hf_x11_render_ChangePicture_AlphaYOrigin_alphayorigin = -1; static int hf_x11_render_ChangePicture_ClipXOrigin_clipxorigin = -1; static int hf_x11_render_ChangePicture_ClipYOrigin_clipyorigin = -1; static int hf_x11_render_ChangePicture_ClipMask_clipmask = -1; static int hf_x11_render_ChangePicture_GraphicsExposure_graphicsexposure = -1; static int hf_x11_render_ChangePicture_SubwindowMode_subwindowmode = -1; static int hf_x11_render_ChangePicture_PolyEdge_polyedge = -1; static int hf_x11_render_ChangePicture_PolyMode_polymode = -1; static int hf_x11_render_ChangePicture_Dither_dither = -1; static int hf_x11_render_ChangePicture_ComponentAlpha_componentalpha = -1; static int hf_x11_render_SetPictureClipRectangles_picture = -1; static int hf_x11_render_SetPictureClipRectangles_clip_x_origin = -1; static int hf_x11_render_SetPictureClipRectangles_clip_y_origin = -1; static int hf_x11_render_SetPictureClipRectangles_rectangles = -1; static int hf_x11_render_SetPictureClipRectangles_rectangles_item = -1; static int hf_x11_render_FreePicture_picture = -1; static int hf_x11_render_Composite_op = -1; static int hf_x11_render_Composite_src = -1; static int hf_x11_render_Composite_mask = -1; static int hf_x11_render_Composite_dst = -1; static int hf_x11_render_Composite_src_x = -1; static int hf_x11_render_Composite_src_y = -1; static int hf_x11_render_Composite_mask_x = -1; static int hf_x11_render_Composite_mask_y = -1; static int hf_x11_render_Composite_dst_x = -1; static int hf_x11_render_Composite_dst_y = -1; static int hf_x11_render_Composite_width = -1; static int hf_x11_render_Composite_height = -1; static int hf_x11_render_Trapezoids_op = -1; static int hf_x11_render_Trapezoids_src = -1; static int hf_x11_render_Trapezoids_dst = -1; static int hf_x11_render_Trapezoids_mask_format = -1; static int hf_x11_render_Trapezoids_src_x = -1; static int hf_x11_render_Trapezoids_src_y = -1; static int hf_x11_render_Trapezoids_traps = -1; static int hf_x11_render_Trapezoids_traps_item = -1; static int hf_x11_render_Triangles_op = -1; static int hf_x11_render_Triangles_src = -1; static int hf_x11_render_Triangles_dst = -1; static int hf_x11_render_Triangles_mask_format = -1; static int hf_x11_render_Triangles_src_x = -1; static int hf_x11_render_Triangles_src_y = -1; static int hf_x11_render_Triangles_triangles = -1; static int hf_x11_render_Triangles_triangles_item = -1; static int hf_x11_render_TriStrip_op = -1; static int hf_x11_render_TriStrip_src = -1; static int hf_x11_render_TriStrip_dst = -1; static int hf_x11_render_TriStrip_mask_format = -1; static int hf_x11_render_TriStrip_src_x = -1; static int hf_x11_render_TriStrip_src_y = -1; static int hf_x11_render_TriStrip_points = -1; static int hf_x11_render_TriStrip_points_item = -1; static int hf_x11_render_TriFan_op = -1; static int hf_x11_render_TriFan_src = -1; static int hf_x11_render_TriFan_dst = -1; static int hf_x11_render_TriFan_mask_format = -1; static int hf_x11_render_TriFan_src_x = -1; static int hf_x11_render_TriFan_src_y = -1; static int hf_x11_render_TriFan_points = -1; static int hf_x11_render_TriFan_points_item = -1; static int hf_x11_render_CreateGlyphSet_gsid = -1; static int hf_x11_render_CreateGlyphSet_format = -1; static int hf_x11_render_ReferenceGlyphSet_gsid = -1; static int hf_x11_render_ReferenceGlyphSet_existing = -1; static int hf_x11_render_FreeGlyphSet_glyphset = -1; static int hf_x11_render_AddGlyphs_glyphset = -1; static int hf_x11_render_AddGlyphs_glyphs_len = -1; static int hf_x11_render_AddGlyphs_glyphids = -1; static int hf_x11_render_AddGlyphs_glyphids_item = -1; static int hf_x11_render_AddGlyphs_glyphs = -1; static int hf_x11_render_AddGlyphs_glyphs_item = -1; static int hf_x11_render_AddGlyphs_data = -1; static int hf_x11_render_FreeGlyphs_glyphset = -1; static int hf_x11_render_FreeGlyphs_glyphs = -1; static int hf_x11_render_FreeGlyphs_glyphs_item = -1; static int hf_x11_render_CompositeGlyphs8_op = -1; static int hf_x11_render_CompositeGlyphs8_src = -1; static int hf_x11_render_CompositeGlyphs8_dst = -1; static int hf_x11_render_CompositeGlyphs8_mask_format = -1; static int hf_x11_render_CompositeGlyphs8_glyphset = -1; static int hf_x11_render_CompositeGlyphs8_src_x = -1; static int hf_x11_render_CompositeGlyphs8_src_y = -1; static int hf_x11_render_CompositeGlyphs8_glyphcmds = -1; static int hf_x11_render_CompositeGlyphs16_op = -1; static int hf_x11_render_CompositeGlyphs16_src = -1; static int hf_x11_render_CompositeGlyphs16_dst = -1; static int hf_x11_render_CompositeGlyphs16_mask_format = -1; static int hf_x11_render_CompositeGlyphs16_glyphset = -1; static int hf_x11_render_CompositeGlyphs16_src_x = -1; static int hf_x11_render_CompositeGlyphs16_src_y = -1; static int hf_x11_render_CompositeGlyphs16_glyphcmds = -1; static int hf_x11_render_CompositeGlyphs32_op = -1; static int hf_x11_render_CompositeGlyphs32_src = -1; static int hf_x11_render_CompositeGlyphs32_dst = -1; static int hf_x11_render_CompositeGlyphs32_mask_format = -1; static int hf_x11_render_CompositeGlyphs32_glyphset = -1; static int hf_x11_render_CompositeGlyphs32_src_x = -1; static int hf_x11_render_CompositeGlyphs32_src_y = -1; static int hf_x11_render_CompositeGlyphs32_glyphcmds = -1; static int hf_x11_render_FillRectangles_op = -1; static int hf_x11_render_FillRectangles_dst = -1; static int hf_x11_render_FillRectangles_color = -1; static int hf_x11_render_FillRectangles_rects = -1; static int hf_x11_render_FillRectangles_rects_item = -1; static int hf_x11_render_CreateCursor_cid = -1; static int hf_x11_render_CreateCursor_source = -1; static int hf_x11_render_CreateCursor_x = -1; static int hf_x11_render_CreateCursor_y = -1; static int hf_x11_render_SetPictureTransform_picture = -1; static int hf_x11_render_SetPictureTransform_transform = -1; static int hf_x11_render_QueryFilters_drawable = -1; static int hf_x11_render_QueryFilters_reply_num_aliases = -1; static int hf_x11_render_QueryFilters_reply_num_filters = -1; static int hf_x11_render_QueryFilters_reply_aliases = -1; static int hf_x11_render_QueryFilters_reply_aliases_item = -1; static int hf_x11_render_QueryFilters_reply_filters = -1; static int hf_x11_render_SetPictureFilter_picture = -1; static int hf_x11_render_SetPictureFilter_filter_len = -1; static int hf_x11_render_SetPictureFilter_filter = -1; static int hf_x11_render_SetPictureFilter_values = -1; static int hf_x11_render_SetPictureFilter_values_item = -1; static int hf_x11_render_CreateAnimCursor_cid = -1; static int hf_x11_render_CreateAnimCursor_cursors = -1; static int hf_x11_render_CreateAnimCursor_cursors_item = -1; static int hf_x11_render_AddTraps_picture = -1; static int hf_x11_render_AddTraps_x_off = -1; static int hf_x11_render_AddTraps_y_off = -1; static int hf_x11_render_AddTraps_traps = -1; static int hf_x11_render_AddTraps_traps_item = -1; static int hf_x11_render_CreateSolidFill_picture = -1; static int hf_x11_render_CreateSolidFill_color = -1; static int hf_x11_render_CreateLinearGradient_picture = -1; static int hf_x11_render_CreateLinearGradient_p1 = -1; static int hf_x11_render_CreateLinearGradient_p2 = -1; static int hf_x11_render_CreateLinearGradient_num_stops = -1; static int hf_x11_render_CreateLinearGradient_stops = -1; static int hf_x11_render_CreateLinearGradient_stops_item = -1; static int hf_x11_render_CreateLinearGradient_colors = -1; static int hf_x11_render_CreateLinearGradient_colors_item = -1; static int hf_x11_render_CreateRadialGradient_picture = -1; static int hf_x11_render_CreateRadialGradient_inner = -1; static int hf_x11_render_CreateRadialGradient_outer = -1; static int hf_x11_render_CreateRadialGradient_inner_radius = -1; static int hf_x11_render_CreateRadialGradient_outer_radius = -1; static int hf_x11_render_CreateRadialGradient_num_stops = -1; static int hf_x11_render_CreateRadialGradient_stops = -1; static int hf_x11_render_CreateRadialGradient_stops_item = -1; static int hf_x11_render_CreateRadialGradient_colors = -1; static int hf_x11_render_CreateRadialGradient_colors_item = -1; static int hf_x11_render_CreateConicalGradient_picture = -1; static int hf_x11_render_CreateConicalGradient_center = -1; static int hf_x11_render_CreateConicalGradient_angle = -1; static int hf_x11_render_CreateConicalGradient_num_stops = -1; static int hf_x11_render_CreateConicalGradient_stops = -1; static int hf_x11_render_CreateConicalGradient_stops_item = -1; static int hf_x11_render_CreateConicalGradient_colors = -1; static int hf_x11_render_CreateConicalGradient_colors_item = -1; static int hf_x11_render_extension_minor = -1; static int hf_x11_struct_res_Client = -1; static int hf_x11_struct_res_Client_resource_base = -1; static int hf_x11_struct_res_Client_resource_mask = -1; static int hf_x11_struct_res_Type = -1; static int hf_x11_struct_res_Type_resource_type = -1; static int hf_x11_struct_res_Type_count = -1; static int hf_x11_struct_res_ClientIdSpec = -1; static int hf_x11_struct_res_ClientIdSpec_client = -1; static int hf_x11_struct_res_ClientIdSpec_mask_mask_ClientXID = -1; static int hf_x11_struct_res_ClientIdSpec_mask_mask_LocalClientPID = -1; static int hf_x11_struct_res_ClientIdSpec_mask = -1; static int hf_x11_struct_res_ClientIdValue = -1; static int hf_x11_struct_res_ClientIdValue_spec = -1; static int hf_x11_struct_res_ClientIdValue_length = -1; static int hf_x11_struct_res_ClientIdValue_value = -1; static int hf_x11_struct_res_ClientIdValue_value_item = -1; static int hf_x11_struct_res_ResourceIdSpec = -1; static int hf_x11_struct_res_ResourceIdSpec_resource = -1; static int hf_x11_struct_res_ResourceIdSpec_type = -1; static int hf_x11_struct_res_ResourceSizeSpec = -1; static int hf_x11_struct_res_ResourceSizeSpec_spec = -1; static int hf_x11_struct_res_ResourceSizeSpec_bytes = -1; static int hf_x11_struct_res_ResourceSizeSpec_ref_count = -1; static int hf_x11_struct_res_ResourceSizeSpec_use_count = -1; static int hf_x11_struct_res_ResourceSizeValue = -1; static int hf_x11_struct_res_ResourceSizeValue_size = -1; static int hf_x11_struct_res_ResourceSizeValue_num_cross_references = -1; static int hf_x11_struct_res_ResourceSizeValue_cross_references = -1; static int hf_x11_struct_res_ResourceSizeValue_cross_references_item = -1; static int hf_x11_res_QueryVersion_client_major = -1; static int hf_x11_res_QueryVersion_client_minor = -1; static int hf_x11_res_QueryVersion_reply_server_major = -1; static int hf_x11_res_QueryVersion_reply_server_minor = -1; static int hf_x11_res_QueryClients_reply_num_clients = -1; static int hf_x11_res_QueryClients_reply_clients = -1; static int hf_x11_res_QueryClients_reply_clients_item = -1; static int hf_x11_res_QueryClientResources_xid = -1; static int hf_x11_res_QueryClientResources_reply_num_types = -1; static int hf_x11_res_QueryClientResources_reply_types = -1; static int hf_x11_res_QueryClientResources_reply_types_item = -1; static int hf_x11_res_QueryClientPixmapBytes_xid = -1; static int hf_x11_res_QueryClientPixmapBytes_reply_bytes = -1; static int hf_x11_res_QueryClientPixmapBytes_reply_bytes_overflow = -1; static int hf_x11_res_QueryClientIds_num_specs = -1; static int hf_x11_res_QueryClientIds_specs = -1; static int hf_x11_res_QueryClientIds_specs_item = -1; static int hf_x11_res_QueryClientIds_reply_num_ids = -1; static int hf_x11_res_QueryClientIds_reply_ids = -1; static int hf_x11_res_QueryResourceBytes_client = -1; static int hf_x11_res_QueryResourceBytes_num_specs = -1; static int hf_x11_res_QueryResourceBytes_specs = -1; static int hf_x11_res_QueryResourceBytes_specs_item = -1; static int hf_x11_res_QueryResourceBytes_reply_num_sizes = -1; static int hf_x11_res_QueryResourceBytes_reply_sizes = -1; static int hf_x11_res_extension_minor = -1; static int hf_x11_screensaver_QueryVersion_client_major_version = -1; static int hf_x11_screensaver_QueryVersion_client_minor_version = -1; static int hf_x11_screensaver_QueryVersion_reply_server_major_version = -1; static int hf_x11_screensaver_QueryVersion_reply_server_minor_version = -1; static int hf_x11_screensaver_QueryInfo_drawable = -1; static int hf_x11_screensaver_QueryInfo_reply_state = -1; static int hf_x11_screensaver_QueryInfo_reply_saver_window = -1; static int hf_x11_screensaver_QueryInfo_reply_ms_until_server = -1; static int hf_x11_screensaver_QueryInfo_reply_ms_since_user_input = -1; static int hf_x11_screensaver_QueryInfo_reply_event_mask = -1; static int hf_x11_screensaver_QueryInfo_reply_kind = -1; static int hf_x11_screensaver_SelectInput_drawable = -1; static int hf_x11_screensaver_SelectInput_event_mask_mask_NotifyMask = -1; static int hf_x11_screensaver_SelectInput_event_mask_mask_CycleMask = -1; static int hf_x11_screensaver_SelectInput_event_mask = -1; static int hf_x11_screensaver_SetAttributes_drawable = -1; static int hf_x11_screensaver_SetAttributes_x = -1; static int hf_x11_screensaver_SetAttributes_y = -1; static int hf_x11_screensaver_SetAttributes_width = -1; static int hf_x11_screensaver_SetAttributes_height = -1; static int hf_x11_screensaver_SetAttributes_border_width = -1; static int hf_x11_screensaver_SetAttributes_class = -1; static int hf_x11_screensaver_SetAttributes_depth = -1; static int hf_x11_screensaver_SetAttributes_visual = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_BackPixmap = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_BackPixel = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_BorderPixmap = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_BorderPixel = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_BitGravity = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_WinGravity = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_BackingStore = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_BackingPlanes = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_BackingPixel = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_OverrideRedirect = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_SaveUnder = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_EventMask = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_DontPropagate = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_Colormap = -1; static int hf_x11_screensaver_SetAttributes_value_mask_mask_Cursor = -1; static int hf_x11_screensaver_SetAttributes_value_mask = -1; static int hf_x11_screensaver_SetAttributes_BackPixmap_background_pixmap = -1; static int hf_x11_screensaver_SetAttributes_BackPixel_background_pixel = -1; static int hf_x11_screensaver_SetAttributes_BorderPixmap_border_pixmap = -1; static int hf_x11_screensaver_SetAttributes_BorderPixel_border_pixel = -1; static int hf_x11_screensaver_SetAttributes_BitGravity_bit_gravity = -1; static int hf_x11_screensaver_SetAttributes_WinGravity_win_gravity = -1; static int hf_x11_screensaver_SetAttributes_BackingStore_backing_store = -1; static int hf_x11_screensaver_SetAttributes_BackingPlanes_backing_planes = -1; static int hf_x11_screensaver_SetAttributes_BackingPixel_backing_pixel = -1; static int hf_x11_screensaver_SetAttributes_OverrideRedirect_override_redirect = -1; static int hf_x11_screensaver_SetAttributes_SaveUnder_save_under = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeyPress = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeyRelease = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonPress = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonRelease = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_EnterWindow = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_LeaveWindow = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PointerMotion = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PointerMotionHint = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button1Motion = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button2Motion = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button3Motion = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button4Motion = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button5Motion = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonMotion = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeymapState = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Exposure = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_VisibilityChange = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_StructureNotify = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ResizeRedirect = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_SubstructureNotify = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_SubstructureRedirect = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_FocusChange = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PropertyChange = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ColorMapChange = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_OwnerGrabButton = -1; static int hf_x11_screensaver_SetAttributes_EventMask_event_mask = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeyPress = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeyRelease = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonPress = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonRelease = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_EnterWindow = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_LeaveWindow = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PointerMotion = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PointerMotionHint = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button1Motion = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button2Motion = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button3Motion = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button4Motion = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button5Motion = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonMotion = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeymapState = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Exposure = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_VisibilityChange = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_StructureNotify = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ResizeRedirect = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_SubstructureNotify = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_SubstructureRedirect = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_FocusChange = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PropertyChange = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ColorMapChange = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_OwnerGrabButton = -1; static int hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask = -1; static int hf_x11_screensaver_SetAttributes_Colormap_colormap = -1; static int hf_x11_screensaver_SetAttributes_Cursor_cursor = -1; static int hf_x11_screensaver_UnsetAttributes_drawable = -1; static int hf_x11_screensaver_Suspend_suspend = -1; static int hf_x11_screensaver_extension_minor = -1; static int hf_x11_shape_QueryVersion_reply_major_version = -1; static int hf_x11_shape_QueryVersion_reply_minor_version = -1; static int hf_x11_shape_Rectangles_operation = -1; static int hf_x11_shape_Rectangles_destination_kind = -1; static int hf_x11_shape_Rectangles_ordering = -1; static int hf_x11_shape_Rectangles_destination_window = -1; static int hf_x11_shape_Rectangles_x_offset = -1; static int hf_x11_shape_Rectangles_y_offset = -1; static int hf_x11_shape_Rectangles_rectangles = -1; static int hf_x11_shape_Rectangles_rectangles_item = -1; static int hf_x11_shape_Mask_operation = -1; static int hf_x11_shape_Mask_destination_kind = -1; static int hf_x11_shape_Mask_destination_window = -1; static int hf_x11_shape_Mask_x_offset = -1; static int hf_x11_shape_Mask_y_offset = -1; static int hf_x11_shape_Mask_source_bitmap = -1; static int hf_x11_shape_Combine_operation = -1; static int hf_x11_shape_Combine_destination_kind = -1; static int hf_x11_shape_Combine_source_kind = -1; static int hf_x11_shape_Combine_destination_window = -1; static int hf_x11_shape_Combine_x_offset = -1; static int hf_x11_shape_Combine_y_offset = -1; static int hf_x11_shape_Combine_source_window = -1; static int hf_x11_shape_Offset_destination_kind = -1; static int hf_x11_shape_Offset_destination_window = -1; static int hf_x11_shape_Offset_x_offset = -1; static int hf_x11_shape_Offset_y_offset = -1; static int hf_x11_shape_QueryExtents_destination_window = -1; static int hf_x11_shape_QueryExtents_reply_bounding_shaped = -1; static int hf_x11_shape_QueryExtents_reply_clip_shaped = -1; static int hf_x11_shape_QueryExtents_reply_bounding_shape_extents_x = -1; static int hf_x11_shape_QueryExtents_reply_bounding_shape_extents_y = -1; static int hf_x11_shape_QueryExtents_reply_bounding_shape_extents_width = -1; static int hf_x11_shape_QueryExtents_reply_bounding_shape_extents_height = -1; static int hf_x11_shape_QueryExtents_reply_clip_shape_extents_x = -1; static int hf_x11_shape_QueryExtents_reply_clip_shape_extents_y = -1; static int hf_x11_shape_QueryExtents_reply_clip_shape_extents_width = -1; static int hf_x11_shape_QueryExtents_reply_clip_shape_extents_height = -1; static int hf_x11_shape_SelectInput_destination_window = -1; static int hf_x11_shape_SelectInput_enable = -1; static int hf_x11_shape_InputSelected_destination_window = -1; static int hf_x11_shape_InputSelected_reply_enabled = -1; static int hf_x11_shape_GetRectangles_window = -1; static int hf_x11_shape_GetRectangles_source_kind = -1; static int hf_x11_shape_GetRectangles_reply_ordering = -1; static int hf_x11_shape_GetRectangles_reply_rectangles_len = -1; static int hf_x11_shape_GetRectangles_reply_rectangles = -1; static int hf_x11_shape_GetRectangles_reply_rectangles_item = -1; static int hf_x11_shape_extension_minor = -1; static int hf_x11_shm_QueryVersion_reply_shared_pixmaps = -1; static int hf_x11_shm_QueryVersion_reply_major_version = -1; static int hf_x11_shm_QueryVersion_reply_minor_version = -1; static int hf_x11_shm_QueryVersion_reply_uid = -1; static int hf_x11_shm_QueryVersion_reply_gid = -1; static int hf_x11_shm_QueryVersion_reply_pixmap_format = -1; static int hf_x11_shm_Attach_shmseg = -1; static int hf_x11_shm_Attach_shmid = -1; static int hf_x11_shm_Attach_read_only = -1; static int hf_x11_shm_Detach_shmseg = -1; static int hf_x11_shm_PutImage_drawable = -1; static int hf_x11_shm_PutImage_gc = -1; static int hf_x11_shm_PutImage_total_width = -1; static int hf_x11_shm_PutImage_total_height = -1; static int hf_x11_shm_PutImage_src_x = -1; static int hf_x11_shm_PutImage_src_y = -1; static int hf_x11_shm_PutImage_src_width = -1; static int hf_x11_shm_PutImage_src_height = -1; static int hf_x11_shm_PutImage_dst_x = -1; static int hf_x11_shm_PutImage_dst_y = -1; static int hf_x11_shm_PutImage_depth = -1; static int hf_x11_shm_PutImage_format = -1; static int hf_x11_shm_PutImage_send_event = -1; static int hf_x11_shm_PutImage_shmseg = -1; static int hf_x11_shm_PutImage_offset = -1; static int hf_x11_shm_GetImage_drawable = -1; static int hf_x11_shm_GetImage_x = -1; static int hf_x11_shm_GetImage_y = -1; static int hf_x11_shm_GetImage_width = -1; static int hf_x11_shm_GetImage_height = -1; static int hf_x11_shm_GetImage_plane_mask = -1; static int hf_x11_shm_GetImage_format = -1; static int hf_x11_shm_GetImage_shmseg = -1; static int hf_x11_shm_GetImage_offset = -1; static int hf_x11_shm_GetImage_reply_depth = -1; static int hf_x11_shm_GetImage_reply_visual = -1; static int hf_x11_shm_GetImage_reply_size = -1; static int hf_x11_shm_CreatePixmap_pid = -1; static int hf_x11_shm_CreatePixmap_drawable = -1; static int hf_x11_shm_CreatePixmap_width = -1; static int hf_x11_shm_CreatePixmap_height = -1; static int hf_x11_shm_CreatePixmap_depth = -1; static int hf_x11_shm_CreatePixmap_shmseg = -1; static int hf_x11_shm_CreatePixmap_offset = -1; static int hf_x11_shm_AttachFd_shmseg = -1; static int hf_x11_shm_AttachFd_read_only = -1; static int hf_x11_shm_CreateSegment_shmseg = -1; static int hf_x11_shm_CreateSegment_size = -1; static int hf_x11_shm_CreateSegment_read_only = -1; static int hf_x11_shm_CreateSegment_reply_nfd = -1; static int hf_x11_shm_extension_minor = -1; static int hf_x11_sync_Initialize_desired_major_version = -1; static int hf_x11_sync_Initialize_desired_minor_version = -1; static int hf_x11_sync_Initialize_reply_major_version = -1; static int hf_x11_sync_Initialize_reply_minor_version = -1; static int hf_x11_sync_ListSystemCounters_reply_counters_len = -1; static int hf_x11_sync_ListSystemCounters_reply_counters = -1; static int hf_x11_sync_CreateCounter_id = -1; static int hf_x11_sync_CreateCounter_initial_value = -1; static int hf_x11_sync_DestroyCounter_counter = -1; static int hf_x11_sync_QueryCounter_counter = -1; static int hf_x11_sync_QueryCounter_reply_counter_value = -1; static int hf_x11_sync_Await_wait_list = -1; static int hf_x11_sync_Await_wait_list_item = -1; static int hf_x11_sync_ChangeCounter_counter = -1; static int hf_x11_sync_ChangeCounter_amount = -1; static int hf_x11_sync_SetCounter_counter = -1; static int hf_x11_sync_SetCounter_value = -1; static int hf_x11_sync_CreateAlarm_id = -1; static int hf_x11_sync_CreateAlarm_value_mask_mask_Counter = -1; static int hf_x11_sync_CreateAlarm_value_mask_mask_ValueType = -1; static int hf_x11_sync_CreateAlarm_value_mask_mask_Value = -1; static int hf_x11_sync_CreateAlarm_value_mask_mask_TestType = -1; static int hf_x11_sync_CreateAlarm_value_mask_mask_Delta = -1; static int hf_x11_sync_CreateAlarm_value_mask_mask_Events = -1; static int hf_x11_sync_CreateAlarm_value_mask = -1; static int hf_x11_sync_CreateAlarm_Counter_counter = -1; static int hf_x11_sync_CreateAlarm_ValueType_valueType = -1; static int hf_x11_sync_CreateAlarm_Value_value = -1; static int hf_x11_sync_CreateAlarm_TestType_testType = -1; static int hf_x11_sync_CreateAlarm_Delta_delta = -1; static int hf_x11_sync_CreateAlarm_Events_events = -1; static int hf_x11_sync_ChangeAlarm_id = -1; static int hf_x11_sync_ChangeAlarm_value_mask_mask_Counter = -1; static int hf_x11_sync_ChangeAlarm_value_mask_mask_ValueType = -1; static int hf_x11_sync_ChangeAlarm_value_mask_mask_Value = -1; static int hf_x11_sync_ChangeAlarm_value_mask_mask_TestType = -1; static int hf_x11_sync_ChangeAlarm_value_mask_mask_Delta = -1; static int hf_x11_sync_ChangeAlarm_value_mask_mask_Events = -1; static int hf_x11_sync_ChangeAlarm_value_mask = -1; static int hf_x11_sync_ChangeAlarm_Counter_counter = -1; static int hf_x11_sync_ChangeAlarm_ValueType_valueType = -1; static int hf_x11_sync_ChangeAlarm_Value_value = -1; static int hf_x11_sync_ChangeAlarm_TestType_testType = -1; static int hf_x11_sync_ChangeAlarm_Delta_delta = -1; static int hf_x11_sync_ChangeAlarm_Events_events = -1; static int hf_x11_sync_DestroyAlarm_alarm = -1; static int hf_x11_sync_QueryAlarm_alarm = -1; static int hf_x11_sync_QueryAlarm_reply_trigger = -1; static int hf_x11_sync_QueryAlarm_reply_delta = -1; static int hf_x11_sync_QueryAlarm_reply_events = -1; static int hf_x11_sync_QueryAlarm_reply_state = -1; static int hf_x11_sync_SetPriority_id = -1; static int hf_x11_sync_SetPriority_priority = -1; static int hf_x11_sync_GetPriority_id = -1; static int hf_x11_sync_GetPriority_reply_priority = -1; static int hf_x11_sync_CreateFence_drawable = -1; static int hf_x11_sync_CreateFence_fence = -1; static int hf_x11_sync_CreateFence_initially_triggered = -1; static int hf_x11_sync_TriggerFence_fence = -1; static int hf_x11_sync_ResetFence_fence = -1; static int hf_x11_sync_DestroyFence_fence = -1; static int hf_x11_sync_QueryFence_fence = -1; static int hf_x11_sync_QueryFence_reply_triggered = -1; static int hf_x11_sync_AwaitFence_fence_list = -1; static int hf_x11_sync_AwaitFence_fence_list_item = -1; static int hf_x11_sync_AlarmNotify_kind = -1; static int hf_x11_sync_AlarmNotify_alarm = -1; static int hf_x11_sync_AlarmNotify_counter_value = -1; static int hf_x11_sync_AlarmNotify_alarm_value = -1; static int hf_x11_sync_AlarmNotify_timestamp = -1; static int hf_x11_sync_AlarmNotify_state = -1; static int hf_x11_sync_extension_minor = -1; static int hf_x11_xc_misc_GetVersion_client_major_version = -1; static int hf_x11_xc_misc_GetVersion_client_minor_version = -1; static int hf_x11_xc_misc_GetVersion_reply_server_major_version = -1; static int hf_x11_xc_misc_GetVersion_reply_server_minor_version = -1; static int hf_x11_xc_misc_GetXIDRange_reply_start_id = -1; static int hf_x11_xc_misc_GetXIDRange_reply_count = -1; static int hf_x11_xc_misc_GetXIDList_count = -1; static int hf_x11_xc_misc_GetXIDList_reply_ids_len = -1; static int hf_x11_xc_misc_GetXIDList_reply_ids = -1; static int hf_x11_xc_misc_GetXIDList_reply_ids_item = -1; static int hf_x11_xc_misc_extension_minor = -1; static int hf_x11_xevie_QueryVersion_client_major_version = -1; static int hf_x11_xevie_QueryVersion_client_minor_version = -1; static int hf_x11_xevie_QueryVersion_reply_server_major_version = -1; static int hf_x11_xevie_QueryVersion_reply_server_minor_version = -1; static int hf_x11_xevie_Start_screen = -1; static int hf_x11_xevie_End_cmap = -1; static int hf_x11_struct_xevie_Event = -1; static int hf_x11_xevie_Send_event = -1; static int hf_x11_xevie_Send_data_type = -1; static int hf_x11_xevie_SelectInput_event_mask = -1; static int hf_x11_xevie_extension_minor = -1; static int hf_x11_struct_xf86dri_DrmClipRect = -1; static int hf_x11_struct_xf86dri_DrmClipRect_x1 = -1; static int hf_x11_struct_xf86dri_DrmClipRect_y1 = -1; static int hf_x11_struct_xf86dri_DrmClipRect_x2 = -1; static int hf_x11_struct_xf86dri_DrmClipRect_x3 = -1; static int hf_x11_xf86dri_QueryVersion_reply_dri_major_version = -1; static int hf_x11_xf86dri_QueryVersion_reply_dri_minor_version = -1; static int hf_x11_xf86dri_QueryVersion_reply_dri_minor_patch = -1; static int hf_x11_xf86dri_QueryDirectRenderingCapable_screen = -1; static int hf_x11_xf86dri_QueryDirectRenderingCapable_reply_is_capable = -1; static int hf_x11_xf86dri_OpenConnection_screen = -1; static int hf_x11_xf86dri_OpenConnection_reply_sarea_handle_low = -1; static int hf_x11_xf86dri_OpenConnection_reply_sarea_handle_high = -1; static int hf_x11_xf86dri_OpenConnection_reply_bus_id_len = -1; static int hf_x11_xf86dri_OpenConnection_reply_bus_id = -1; static int hf_x11_xf86dri_CloseConnection_screen = -1; static int hf_x11_xf86dri_GetClientDriverName_screen = -1; static int hf_x11_xf86dri_GetClientDriverName_reply_client_driver_major_version = -1; static int hf_x11_xf86dri_GetClientDriverName_reply_client_driver_minor_version = -1; static int hf_x11_xf86dri_GetClientDriverName_reply_client_driver_patch_version = -1; static int hf_x11_xf86dri_GetClientDriverName_reply_client_driver_name_len = -1; static int hf_x11_xf86dri_GetClientDriverName_reply_client_driver_name = -1; static int hf_x11_xf86dri_CreateContext_screen = -1; static int hf_x11_xf86dri_CreateContext_visual = -1; static int hf_x11_xf86dri_CreateContext_context = -1; static int hf_x11_xf86dri_CreateContext_reply_hw_context = -1; static int hf_x11_xf86dri_DestroyContext_screen = -1; static int hf_x11_xf86dri_DestroyContext_context = -1; static int hf_x11_xf86dri_CreateDrawable_screen = -1; static int hf_x11_xf86dri_CreateDrawable_drawable = -1; static int hf_x11_xf86dri_CreateDrawable_reply_hw_drawable_handle = -1; static int hf_x11_xf86dri_DestroyDrawable_screen = -1; static int hf_x11_xf86dri_DestroyDrawable_drawable = -1; static int hf_x11_xf86dri_GetDrawableInfo_screen = -1; static int hf_x11_xf86dri_GetDrawableInfo_drawable = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_drawable_table_index = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_drawable_table_stamp = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_drawable_origin_X = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_drawable_origin_Y = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_drawable_size_W = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_drawable_size_H = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_num_clip_rects = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_back_x = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_back_y = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_num_back_clip_rects = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_clip_rects = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_clip_rects_item = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_back_clip_rects = -1; static int hf_x11_xf86dri_GetDrawableInfo_reply_back_clip_rects_item = -1; static int hf_x11_xf86dri_GetDeviceInfo_screen = -1; static int hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_handle_low = -1; static int hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_handle_high = -1; static int hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_origin_offset = -1; static int hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_size = -1; static int hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_stride = -1; static int hf_x11_xf86dri_GetDeviceInfo_reply_device_private_size = -1; static int hf_x11_xf86dri_GetDeviceInfo_reply_device_private = -1; static int hf_x11_xf86dri_GetDeviceInfo_reply_device_private_item = -1; static int hf_x11_xf86dri_AuthConnection_screen = -1; static int hf_x11_xf86dri_AuthConnection_magic = -1; static int hf_x11_xf86dri_AuthConnection_reply_authenticated = -1; static int hf_x11_xf86dri_extension_minor = -1; static int hf_x11_struct_xf86vidmode_ModeInfo = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_dotclock = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_hdisplay = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_hsyncstart = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_hsyncend = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_htotal = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_hskew = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_vdisplay = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_vsyncstart = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_vsyncend = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_vtotal = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_HSync = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_HSync = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_VSync = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_VSync = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Interlace = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Composite_Sync = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_CSync = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_CSync = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_HSkew = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Broadcast = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Pixmux = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Double_Clock = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Half_Clock = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_flags = -1; static int hf_x11_struct_xf86vidmode_ModeInfo_privsize = -1; static int hf_x11_xf86vidmode_QueryVersion_reply_major_version = -1; static int hf_x11_xf86vidmode_QueryVersion_reply_minor_version = -1; static int hf_x11_xf86vidmode_GetModeLine_screen = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_dotclock = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_hdisplay = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_hsyncstart = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_hsyncend = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_htotal = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_hskew = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_vdisplay = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_vsyncstart = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_vsyncend = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_vtotal = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_HSync = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_HSync = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_VSync = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_VSync = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Interlace = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Composite_Sync = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_CSync = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_CSync = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_HSkew = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Broadcast = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Pixmux = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Double_Clock = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Half_Clock = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_flags = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_privsize = -1; static int hf_x11_xf86vidmode_GetModeLine_reply_private = -1; static int hf_x11_xf86vidmode_ModModeLine_screen = -1; static int hf_x11_xf86vidmode_ModModeLine_hdisplay = -1; static int hf_x11_xf86vidmode_ModModeLine_hsyncstart = -1; static int hf_x11_xf86vidmode_ModModeLine_hsyncend = -1; static int hf_x11_xf86vidmode_ModModeLine_htotal = -1; static int hf_x11_xf86vidmode_ModModeLine_hskew = -1; static int hf_x11_xf86vidmode_ModModeLine_vdisplay = -1; static int hf_x11_xf86vidmode_ModModeLine_vsyncstart = -1; static int hf_x11_xf86vidmode_ModModeLine_vsyncend = -1; static int hf_x11_xf86vidmode_ModModeLine_vtotal = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_HSync = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_HSync = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_VSync = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_VSync = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Interlace = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Composite_Sync = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_CSync = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_CSync = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_HSkew = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Broadcast = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Pixmux = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Double_Clock = -1; static int hf_x11_xf86vidmode_ModModeLine_flags_mask_Half_Clock = -1; static int hf_x11_xf86vidmode_ModModeLine_flags = -1; static int hf_x11_xf86vidmode_ModModeLine_privsize = -1; static int hf_x11_xf86vidmode_ModModeLine_private = -1; static int hf_x11_xf86vidmode_SwitchMode_screen = -1; static int hf_x11_xf86vidmode_SwitchMode_zoom = -1; static int hf_x11_xf86vidmode_GetMonitor_screen = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_vendor_length = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_model_length = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_num_hsync = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_num_vsync = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_hsync = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_hsync_item = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_vsync = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_vsync_item = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_vendor = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_alignment_pad = -1; static int hf_x11_xf86vidmode_GetMonitor_reply_model = -1; static int hf_x11_xf86vidmode_LockModeSwitch_screen = -1; static int hf_x11_xf86vidmode_LockModeSwitch_lock = -1; static int hf_x11_xf86vidmode_GetAllModeLines_screen = -1; static int hf_x11_xf86vidmode_GetAllModeLines_reply_modecount = -1; static int hf_x11_xf86vidmode_GetAllModeLines_reply_modeinfo = -1; static int hf_x11_xf86vidmode_GetAllModeLines_reply_modeinfo_item = -1; static int hf_x11_xf86vidmode_AddModeLine_screen = -1; static int hf_x11_xf86vidmode_AddModeLine_dotclock = -1; static int hf_x11_xf86vidmode_AddModeLine_hdisplay = -1; static int hf_x11_xf86vidmode_AddModeLine_hsyncstart = -1; static int hf_x11_xf86vidmode_AddModeLine_hsyncend = -1; static int hf_x11_xf86vidmode_AddModeLine_htotal = -1; static int hf_x11_xf86vidmode_AddModeLine_hskew = -1; static int hf_x11_xf86vidmode_AddModeLine_vdisplay = -1; static int hf_x11_xf86vidmode_AddModeLine_vsyncstart = -1; static int hf_x11_xf86vidmode_AddModeLine_vsyncend = -1; static int hf_x11_xf86vidmode_AddModeLine_vtotal = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_HSync = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_HSync = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_VSync = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_VSync = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Interlace = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Composite_Sync = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_CSync = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_CSync = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_HSkew = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Broadcast = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Pixmux = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Double_Clock = -1; static int hf_x11_xf86vidmode_AddModeLine_flags_mask_Half_Clock = -1; static int hf_x11_xf86vidmode_AddModeLine_flags = -1; static int hf_x11_xf86vidmode_AddModeLine_privsize = -1; static int hf_x11_xf86vidmode_AddModeLine_after_dotclock = -1; static int hf_x11_xf86vidmode_AddModeLine_after_hdisplay = -1; static int hf_x11_xf86vidmode_AddModeLine_after_hsyncstart = -1; static int hf_x11_xf86vidmode_AddModeLine_after_hsyncend = -1; static int hf_x11_xf86vidmode_AddModeLine_after_htotal = -1; static int hf_x11_xf86vidmode_AddModeLine_after_hskew = -1; static int hf_x11_xf86vidmode_AddModeLine_after_vdisplay = -1; static int hf_x11_xf86vidmode_AddModeLine_after_vsyncstart = -1; static int hf_x11_xf86vidmode_AddModeLine_after_vsyncend = -1; static int hf_x11_xf86vidmode_AddModeLine_after_vtotal = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_HSync = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_HSync = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_VSync = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_VSync = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Interlace = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Composite_Sync = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_CSync = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_CSync = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_HSkew = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Broadcast = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Pixmux = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Double_Clock = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Half_Clock = -1; static int hf_x11_xf86vidmode_AddModeLine_after_flags = -1; static int hf_x11_xf86vidmode_AddModeLine_private = -1; static int hf_x11_xf86vidmode_DeleteModeLine_screen = -1; static int hf_x11_xf86vidmode_DeleteModeLine_dotclock = -1; static int hf_x11_xf86vidmode_DeleteModeLine_hdisplay = -1; static int hf_x11_xf86vidmode_DeleteModeLine_hsyncstart = -1; static int hf_x11_xf86vidmode_DeleteModeLine_hsyncend = -1; static int hf_x11_xf86vidmode_DeleteModeLine_htotal = -1; static int hf_x11_xf86vidmode_DeleteModeLine_hskew = -1; static int hf_x11_xf86vidmode_DeleteModeLine_vdisplay = -1; static int hf_x11_xf86vidmode_DeleteModeLine_vsyncstart = -1; static int hf_x11_xf86vidmode_DeleteModeLine_vsyncend = -1; static int hf_x11_xf86vidmode_DeleteModeLine_vtotal = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_HSync = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_HSync = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_VSync = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_VSync = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Interlace = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Composite_Sync = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_CSync = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_CSync = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_HSkew = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Broadcast = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Pixmux = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Double_Clock = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Half_Clock = -1; static int hf_x11_xf86vidmode_DeleteModeLine_flags = -1; static int hf_x11_xf86vidmode_DeleteModeLine_privsize = -1; static int hf_x11_xf86vidmode_DeleteModeLine_private = -1; static int hf_x11_xf86vidmode_ValidateModeLine_screen = -1; static int hf_x11_xf86vidmode_ValidateModeLine_dotclock = -1; static int hf_x11_xf86vidmode_ValidateModeLine_hdisplay = -1; static int hf_x11_xf86vidmode_ValidateModeLine_hsyncstart = -1; static int hf_x11_xf86vidmode_ValidateModeLine_hsyncend = -1; static int hf_x11_xf86vidmode_ValidateModeLine_htotal = -1; static int hf_x11_xf86vidmode_ValidateModeLine_hskew = -1; static int hf_x11_xf86vidmode_ValidateModeLine_vdisplay = -1; static int hf_x11_xf86vidmode_ValidateModeLine_vsyncstart = -1; static int hf_x11_xf86vidmode_ValidateModeLine_vsyncend = -1; static int hf_x11_xf86vidmode_ValidateModeLine_vtotal = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_HSync = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_HSync = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_VSync = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_VSync = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Interlace = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Composite_Sync = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_CSync = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_CSync = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_HSkew = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Broadcast = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Pixmux = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Double_Clock = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Half_Clock = -1; static int hf_x11_xf86vidmode_ValidateModeLine_flags = -1; static int hf_x11_xf86vidmode_ValidateModeLine_privsize = -1; static int hf_x11_xf86vidmode_ValidateModeLine_private = -1; static int hf_x11_xf86vidmode_ValidateModeLine_reply_status = -1; static int hf_x11_xf86vidmode_SwitchToMode_screen = -1; static int hf_x11_xf86vidmode_SwitchToMode_dotclock = -1; static int hf_x11_xf86vidmode_SwitchToMode_hdisplay = -1; static int hf_x11_xf86vidmode_SwitchToMode_hsyncstart = -1; static int hf_x11_xf86vidmode_SwitchToMode_hsyncend = -1; static int hf_x11_xf86vidmode_SwitchToMode_htotal = -1; static int hf_x11_xf86vidmode_SwitchToMode_hskew = -1; static int hf_x11_xf86vidmode_SwitchToMode_vdisplay = -1; static int hf_x11_xf86vidmode_SwitchToMode_vsyncstart = -1; static int hf_x11_xf86vidmode_SwitchToMode_vsyncend = -1; static int hf_x11_xf86vidmode_SwitchToMode_vtotal = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_HSync = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_HSync = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_VSync = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_VSync = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Interlace = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Composite_Sync = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_CSync = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_CSync = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_HSkew = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Broadcast = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Pixmux = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Double_Clock = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags_mask_Half_Clock = -1; static int hf_x11_xf86vidmode_SwitchToMode_flags = -1; static int hf_x11_xf86vidmode_SwitchToMode_privsize = -1; static int hf_x11_xf86vidmode_SwitchToMode_private = -1; static int hf_x11_xf86vidmode_GetViewPort_screen = -1; static int hf_x11_xf86vidmode_GetViewPort_reply_x = -1; static int hf_x11_xf86vidmode_GetViewPort_reply_y = -1; static int hf_x11_xf86vidmode_SetViewPort_screen = -1; static int hf_x11_xf86vidmode_SetViewPort_x = -1; static int hf_x11_xf86vidmode_SetViewPort_y = -1; static int hf_x11_xf86vidmode_GetDotClocks_screen = -1; static int hf_x11_xf86vidmode_GetDotClocks_reply_flags_mask_Programable = -1; static int hf_x11_xf86vidmode_GetDotClocks_reply_flags = -1; static int hf_x11_xf86vidmode_GetDotClocks_reply_clocks = -1; static int hf_x11_xf86vidmode_GetDotClocks_reply_maxclocks = -1; static int hf_x11_xf86vidmode_GetDotClocks_reply_clock = -1; static int hf_x11_xf86vidmode_GetDotClocks_reply_clock_item = -1; static int hf_x11_xf86vidmode_SetClientVersion_major = -1; static int hf_x11_xf86vidmode_SetClientVersion_minor = -1; static int hf_x11_xf86vidmode_SetGamma_screen = -1; static int hf_x11_xf86vidmode_SetGamma_red = -1; static int hf_x11_xf86vidmode_SetGamma_green = -1; static int hf_x11_xf86vidmode_SetGamma_blue = -1; static int hf_x11_xf86vidmode_GetGamma_screen = -1; static int hf_x11_xf86vidmode_GetGamma_reply_red = -1; static int hf_x11_xf86vidmode_GetGamma_reply_green = -1; static int hf_x11_xf86vidmode_GetGamma_reply_blue = -1; static int hf_x11_xf86vidmode_GetGammaRamp_screen = -1; static int hf_x11_xf86vidmode_GetGammaRamp_size = -1; static int hf_x11_xf86vidmode_GetGammaRamp_reply_size = -1; static int hf_x11_xf86vidmode_GetGammaRamp_reply_red = -1; static int hf_x11_xf86vidmode_GetGammaRamp_reply_red_item = -1; static int hf_x11_xf86vidmode_GetGammaRamp_reply_green = -1; static int hf_x11_xf86vidmode_GetGammaRamp_reply_green_item = -1; static int hf_x11_xf86vidmode_GetGammaRamp_reply_blue = -1; static int hf_x11_xf86vidmode_GetGammaRamp_reply_blue_item = -1; static int hf_x11_xf86vidmode_SetGammaRamp_screen = -1; static int hf_x11_xf86vidmode_SetGammaRamp_size = -1; static int hf_x11_xf86vidmode_SetGammaRamp_red = -1; static int hf_x11_xf86vidmode_SetGammaRamp_red_item = -1; static int hf_x11_xf86vidmode_SetGammaRamp_green = -1; static int hf_x11_xf86vidmode_SetGammaRamp_green_item = -1; static int hf_x11_xf86vidmode_SetGammaRamp_blue = -1; static int hf_x11_xf86vidmode_SetGammaRamp_blue_item = -1; static int hf_x11_xf86vidmode_GetGammaRampSize_screen = -1; static int hf_x11_xf86vidmode_GetGammaRampSize_reply_size = -1; static int hf_x11_xf86vidmode_GetPermissions_screen = -1; static int hf_x11_xf86vidmode_GetPermissions_reply_permissions_mask_Read = -1; static int hf_x11_xf86vidmode_GetPermissions_reply_permissions_mask_Write = -1; static int hf_x11_xf86vidmode_GetPermissions_reply_permissions = -1; static int hf_x11_xf86vidmode_extension_minor = -1; static int hf_x11_xfixes_QueryVersion_client_major_version = -1; static int hf_x11_xfixes_QueryVersion_client_minor_version = -1; static int hf_x11_xfixes_QueryVersion_reply_major_version = -1; static int hf_x11_xfixes_QueryVersion_reply_minor_version = -1; static int hf_x11_xfixes_ChangeSaveSet_mode = -1; static int hf_x11_xfixes_ChangeSaveSet_target = -1; static int hf_x11_xfixes_ChangeSaveSet_map = -1; static int hf_x11_xfixes_ChangeSaveSet_window = -1; static int hf_x11_xfixes_SelectSelectionInput_window = -1; static int hf_x11_xfixes_SelectSelectionInput_selection = -1; static int hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SetSelectionOwner = -1; static int hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SelectionWindowDestroy = -1; static int hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SelectionClientClose = -1; static int hf_x11_xfixes_SelectSelectionInput_event_mask = -1; static int hf_x11_xfixes_CursorNotify_subtype = -1; static int hf_x11_xfixes_CursorNotify_window = -1; static int hf_x11_xfixes_CursorNotify_cursor_serial = -1; static int hf_x11_xfixes_CursorNotify_timestamp = -1; static int hf_x11_xfixes_CursorNotify_name = -1; static int hf_x11_xfixes_SelectCursorInput_window = -1; static int hf_x11_xfixes_SelectCursorInput_event_mask_mask_DisplayCursor = -1; static int hf_x11_xfixes_SelectCursorInput_event_mask = -1; static int hf_x11_xfixes_GetCursorImage_reply_x = -1; static int hf_x11_xfixes_GetCursorImage_reply_y = -1; static int hf_x11_xfixes_GetCursorImage_reply_width = -1; static int hf_x11_xfixes_GetCursorImage_reply_height = -1; static int hf_x11_xfixes_GetCursorImage_reply_xhot = -1; static int hf_x11_xfixes_GetCursorImage_reply_yhot = -1; static int hf_x11_xfixes_GetCursorImage_reply_cursor_serial = -1; static int hf_x11_xfixes_GetCursorImage_reply_cursor_image = -1; static int hf_x11_xfixes_GetCursorImage_reply_cursor_image_item = -1; static int hf_x11_xfixes_CreateRegion_region = -1; static int hf_x11_xfixes_CreateRegion_rectangles = -1; static int hf_x11_xfixes_CreateRegion_rectangles_item = -1; static int hf_x11_xfixes_CreateRegionFromBitmap_region = -1; static int hf_x11_xfixes_CreateRegionFromBitmap_bitmap = -1; static int hf_x11_xfixes_CreateRegionFromWindow_region = -1; static int hf_x11_xfixes_CreateRegionFromWindow_window = -1; static int hf_x11_xfixes_CreateRegionFromWindow_kind = -1; static int hf_x11_xfixes_CreateRegionFromGC_region = -1; static int hf_x11_xfixes_CreateRegionFromGC_gc = -1; static int hf_x11_xfixes_CreateRegionFromPicture_region = -1; static int hf_x11_xfixes_CreateRegionFromPicture_picture = -1; static int hf_x11_xfixes_DestroyRegion_region = -1; static int hf_x11_xfixes_SetRegion_region = -1; static int hf_x11_xfixes_SetRegion_rectangles = -1; static int hf_x11_xfixes_SetRegion_rectangles_item = -1; static int hf_x11_xfixes_CopyRegion_source = -1; static int hf_x11_xfixes_CopyRegion_destination = -1; static int hf_x11_xfixes_UnionRegion_source1 = -1; static int hf_x11_xfixes_UnionRegion_source2 = -1; static int hf_x11_xfixes_UnionRegion_destination = -1; static int hf_x11_xfixes_IntersectRegion_source1 = -1; static int hf_x11_xfixes_IntersectRegion_source2 = -1; static int hf_x11_xfixes_IntersectRegion_destination = -1; static int hf_x11_xfixes_SubtractRegion_source1 = -1; static int hf_x11_xfixes_SubtractRegion_source2 = -1; static int hf_x11_xfixes_SubtractRegion_destination = -1; static int hf_x11_xfixes_InvertRegion_source = -1; static int hf_x11_xfixes_InvertRegion_bounds = -1; static int hf_x11_xfixes_InvertRegion_destination = -1; static int hf_x11_xfixes_TranslateRegion_region = -1; static int hf_x11_xfixes_TranslateRegion_dx = -1; static int hf_x11_xfixes_TranslateRegion_dy = -1; static int hf_x11_xfixes_RegionExtents_source = -1; static int hf_x11_xfixes_RegionExtents_destination = -1; static int hf_x11_xfixes_FetchRegion_region = -1; static int hf_x11_xfixes_FetchRegion_reply_extents = -1; static int hf_x11_xfixes_FetchRegion_reply_rectangles = -1; static int hf_x11_xfixes_FetchRegion_reply_rectangles_item = -1; static int hf_x11_xfixes_SetGCClipRegion_gc = -1; static int hf_x11_xfixes_SetGCClipRegion_region = -1; static int hf_x11_xfixes_SetGCClipRegion_x_origin = -1; static int hf_x11_xfixes_SetGCClipRegion_y_origin = -1; static int hf_x11_xfixes_SetWindowShapeRegion_dest = -1; static int hf_x11_xfixes_SetWindowShapeRegion_dest_kind = -1; static int hf_x11_xfixes_SetWindowShapeRegion_x_offset = -1; static int hf_x11_xfixes_SetWindowShapeRegion_y_offset = -1; static int hf_x11_xfixes_SetWindowShapeRegion_region = -1; static int hf_x11_xfixes_SetPictureClipRegion_picture = -1; static int hf_x11_xfixes_SetPictureClipRegion_region = -1; static int hf_x11_xfixes_SetPictureClipRegion_x_origin = -1; static int hf_x11_xfixes_SetPictureClipRegion_y_origin = -1; static int hf_x11_xfixes_SetCursorName_cursor = -1; static int hf_x11_xfixes_SetCursorName_nbytes = -1; static int hf_x11_xfixes_SetCursorName_name = -1; static int hf_x11_xfixes_GetCursorName_cursor = -1; static int hf_x11_xfixes_GetCursorName_reply_atom = -1; static int hf_x11_xfixes_GetCursorName_reply_nbytes = -1; static int hf_x11_xfixes_GetCursorName_reply_name = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_x = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_y = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_width = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_height = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_xhot = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_yhot = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_cursor_serial = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_cursor_atom = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_nbytes = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_cursor_image = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_cursor_image_item = -1; static int hf_x11_xfixes_GetCursorImageAndName_reply_name = -1; static int hf_x11_xfixes_ChangeCursor_source = -1; static int hf_x11_xfixes_ChangeCursor_destination = -1; static int hf_x11_xfixes_ChangeCursorByName_src = -1; static int hf_x11_xfixes_ChangeCursorByName_nbytes = -1; static int hf_x11_xfixes_ChangeCursorByName_name = -1; static int hf_x11_xfixes_ExpandRegion_source = -1; static int hf_x11_xfixes_ExpandRegion_destination = -1; static int hf_x11_xfixes_ExpandRegion_left = -1; static int hf_x11_xfixes_ExpandRegion_right = -1; static int hf_x11_xfixes_ExpandRegion_top = -1; static int hf_x11_xfixes_ExpandRegion_bottom = -1; static int hf_x11_xfixes_HideCursor_window = -1; static int hf_x11_xfixes_ShowCursor_window = -1; static int hf_x11_xfixes_CreatePointerBarrier_barrier = -1; static int hf_x11_xfixes_CreatePointerBarrier_window = -1; static int hf_x11_xfixes_CreatePointerBarrier_x1 = -1; static int hf_x11_xfixes_CreatePointerBarrier_y1 = -1; static int hf_x11_xfixes_CreatePointerBarrier_x2 = -1; static int hf_x11_xfixes_CreatePointerBarrier_y2 = -1; static int hf_x11_xfixes_CreatePointerBarrier_directions_mask_PositiveX = -1; static int hf_x11_xfixes_CreatePointerBarrier_directions_mask_PositiveY = -1; static int hf_x11_xfixes_CreatePointerBarrier_directions_mask_NegativeX = -1; static int hf_x11_xfixes_CreatePointerBarrier_directions_mask_NegativeY = -1; static int hf_x11_xfixes_CreatePointerBarrier_directions = -1; static int hf_x11_xfixes_CreatePointerBarrier_num_devices = -1; static int hf_x11_xfixes_CreatePointerBarrier_devices = -1; static int hf_x11_xfixes_CreatePointerBarrier_devices_item = -1; static int hf_x11_xfixes_DeletePointerBarrier_barrier = -1; static int hf_x11_xfixes_extension_minor = -1; static int hf_x11_struct_xinerama_ScreenInfo = -1; static int hf_x11_struct_xinerama_ScreenInfo_x_org = -1; static int hf_x11_struct_xinerama_ScreenInfo_y_org = -1; static int hf_x11_struct_xinerama_ScreenInfo_width = -1; static int hf_x11_struct_xinerama_ScreenInfo_height = -1; static int hf_x11_xinerama_QueryVersion_major = -1; static int hf_x11_xinerama_QueryVersion_minor = -1; static int hf_x11_xinerama_QueryVersion_reply_major = -1; static int hf_x11_xinerama_QueryVersion_reply_minor = -1; static int hf_x11_xinerama_GetState_window = -1; static int hf_x11_xinerama_GetState_reply_state = -1; static int hf_x11_xinerama_GetState_reply_window = -1; static int hf_x11_xinerama_GetScreenCount_window = -1; static int hf_x11_xinerama_GetScreenCount_reply_screen_count = -1; static int hf_x11_xinerama_GetScreenCount_reply_window = -1; static int hf_x11_xinerama_GetScreenSize_window = -1; static int hf_x11_xinerama_GetScreenSize_screen = -1; static int hf_x11_xinerama_GetScreenSize_reply_width = -1; static int hf_x11_xinerama_GetScreenSize_reply_height = -1; static int hf_x11_xinerama_GetScreenSize_reply_window = -1; static int hf_x11_xinerama_GetScreenSize_reply_screen = -1; static int hf_x11_xinerama_IsActive_reply_state = -1; static int hf_x11_xinerama_QueryScreens_reply_number = -1; static int hf_x11_xinerama_QueryScreens_reply_screen_info = -1; static int hf_x11_xinerama_QueryScreens_reply_screen_info_item = -1; static int hf_x11_xinerama_extension_minor = -1; static int hf_x11_struct_xinput_FP3232 = -1; static int hf_x11_struct_xinput_FP3232_integral = -1; static int hf_x11_struct_xinput_FP3232_frac = -1; static int hf_x11_xinput_GetExtensionVersion_name_len = -1; static int hf_x11_xinput_GetExtensionVersion_name = -1; static int hf_x11_xinput_GetExtensionVersion_reply_xi_reply_type = -1; static int hf_x11_xinput_GetExtensionVersion_reply_server_major = -1; static int hf_x11_xinput_GetExtensionVersion_reply_server_minor = -1; static int hf_x11_xinput_GetExtensionVersion_reply_present = -1; static int hf_x11_struct_xinput_DeviceInfo = -1; static int hf_x11_struct_xinput_DeviceInfo_device_type = -1; static int hf_x11_struct_xinput_DeviceInfo_device_id = -1; static int hf_x11_struct_xinput_DeviceInfo_num_class_info = -1; static int hf_x11_struct_xinput_DeviceInfo_device_use = -1; static int hf_x11_struct_xinput_AxisInfo = -1; static int hf_x11_struct_xinput_AxisInfo_resolution = -1; static int hf_x11_struct_xinput_AxisInfo_minimum = -1; static int hf_x11_struct_xinput_AxisInfo_maximum = -1; static int hf_x11_struct_xinput_InputInfo = -1; static int hf_x11_struct_xinput_InputInfo_class_id = -1; static int hf_x11_struct_xinput_InputInfo_len = -1; static int hf_x11_struct_xinput_InputInfo_Key_min_keycode = -1; static int hf_x11_struct_xinput_InputInfo_Key_max_keycode = -1; static int hf_x11_struct_xinput_InputInfo_Key_num_keys = -1; static int hf_x11_struct_xinput_InputInfo_Button_num_buttons = -1; static int hf_x11_struct_xinput_InputInfo_Valuator_axes_len = -1; static int hf_x11_struct_xinput_InputInfo_Valuator_mode = -1; static int hf_x11_struct_xinput_InputInfo_Valuator_motion_size = -1; static int hf_x11_struct_xinput_InputInfo_Valuator_axes = -1; static int hf_x11_struct_xinput_InputInfo_Valuator_axes_item = -1; static int hf_x11_xinput_ListInputDevices_reply_xi_reply_type = -1; static int hf_x11_xinput_ListInputDevices_reply_devices_len = -1; static int hf_x11_xinput_ListInputDevices_reply_devices = -1; static int hf_x11_xinput_ListInputDevices_reply_devices_item = -1; static int hf_x11_xinput_ListInputDevices_reply_infos = -1; static int hf_x11_xinput_ListInputDevices_reply_names = -1; static int hf_x11_struct_xinput_InputClassInfo = -1; static int hf_x11_struct_xinput_InputClassInfo_class_id = -1; static int hf_x11_struct_xinput_InputClassInfo_event_type_base = -1; static int hf_x11_xinput_OpenDevice_device_id = -1; static int hf_x11_xinput_OpenDevice_reply_xi_reply_type = -1; static int hf_x11_xinput_OpenDevice_reply_num_classes = -1; static int hf_x11_xinput_OpenDevice_reply_class_info = -1; static int hf_x11_xinput_OpenDevice_reply_class_info_item = -1; static int hf_x11_xinput_CloseDevice_device_id = -1; static int hf_x11_xinput_SetDeviceMode_device_id = -1; static int hf_x11_xinput_SetDeviceMode_mode = -1; static int hf_x11_xinput_SetDeviceMode_reply_xi_reply_type = -1; static int hf_x11_xinput_SetDeviceMode_reply_status = -1; static int hf_x11_xinput_SelectExtensionEvent_window = -1; static int hf_x11_xinput_SelectExtensionEvent_num_classes = -1; static int hf_x11_xinput_SelectExtensionEvent_classes = -1; static int hf_x11_xinput_SelectExtensionEvent_classes_item = -1; static int hf_x11_xinput_GetSelectedExtensionEvents_window = -1; static int hf_x11_xinput_GetSelectedExtensionEvents_reply_xi_reply_type = -1; static int hf_x11_xinput_GetSelectedExtensionEvents_reply_num_this_classes = -1; static int hf_x11_xinput_GetSelectedExtensionEvents_reply_num_all_classes = -1; static int hf_x11_xinput_GetSelectedExtensionEvents_reply_this_classes = -1; static int hf_x11_xinput_GetSelectedExtensionEvents_reply_this_classes_item = -1; static int hf_x11_xinput_GetSelectedExtensionEvents_reply_all_classes = -1; static int hf_x11_xinput_GetSelectedExtensionEvents_reply_all_classes_item = -1; static int hf_x11_xinput_ChangeDeviceDontPropagateList_window = -1; static int hf_x11_xinput_ChangeDeviceDontPropagateList_num_classes = -1; static int hf_x11_xinput_ChangeDeviceDontPropagateList_mode = -1; static int hf_x11_xinput_ChangeDeviceDontPropagateList_classes = -1; static int hf_x11_xinput_ChangeDeviceDontPropagateList_classes_item = -1; static int hf_x11_xinput_GetDeviceDontPropagateList_window = -1; static int hf_x11_xinput_GetDeviceDontPropagateList_reply_xi_reply_type = -1; static int hf_x11_xinput_GetDeviceDontPropagateList_reply_num_classes = -1; static int hf_x11_xinput_GetDeviceDontPropagateList_reply_classes = -1; static int hf_x11_xinput_GetDeviceDontPropagateList_reply_classes_item = -1; static int hf_x11_struct_xinput_DeviceTimeCoord = -1; static int hf_x11_struct_xinput_DeviceTimeCoord_time = -1; static int hf_x11_struct_xinput_DeviceTimeCoord_axisvalues = -1; static int hf_x11_struct_xinput_DeviceTimeCoord_axisvalues_item = -1; static int hf_x11_xinput_GetDeviceMotionEvents_start = -1; static int hf_x11_xinput_GetDeviceMotionEvents_stop = -1; static int hf_x11_xinput_GetDeviceMotionEvents_device_id = -1; static int hf_x11_xinput_GetDeviceMotionEvents_reply_xi_reply_type = -1; static int hf_x11_xinput_GetDeviceMotionEvents_reply_num_events = -1; static int hf_x11_xinput_GetDeviceMotionEvents_reply_num_axes = -1; static int hf_x11_xinput_GetDeviceMotionEvents_reply_device_mode = -1; static int hf_x11_xinput_GetDeviceMotionEvents_reply_events = -1; static int hf_x11_xinput_ChangeKeyboardDevice_device_id = -1; static int hf_x11_xinput_ChangeKeyboardDevice_reply_xi_reply_type = -1; static int hf_x11_xinput_ChangeKeyboardDevice_reply_status = -1; static int hf_x11_xinput_ChangePointerDevice_x_axis = -1; static int hf_x11_xinput_ChangePointerDevice_y_axis = -1; static int hf_x11_xinput_ChangePointerDevice_device_id = -1; static int hf_x11_xinput_ChangePointerDevice_reply_xi_reply_type = -1; static int hf_x11_xinput_ChangePointerDevice_reply_status = -1; static int hf_x11_xinput_GrabDevice_grab_window = -1; static int hf_x11_xinput_GrabDevice_time = -1; static int hf_x11_xinput_GrabDevice_num_classes = -1; static int hf_x11_xinput_GrabDevice_this_device_mode = -1; static int hf_x11_xinput_GrabDevice_other_device_mode = -1; static int hf_x11_xinput_GrabDevice_owner_events = -1; static int hf_x11_xinput_GrabDevice_device_id = -1; static int hf_x11_xinput_GrabDevice_classes = -1; static int hf_x11_xinput_GrabDevice_classes_item = -1; static int hf_x11_xinput_GrabDevice_reply_xi_reply_type = -1; static int hf_x11_xinput_GrabDevice_reply_status = -1; static int hf_x11_xinput_UngrabDevice_time = -1; static int hf_x11_xinput_UngrabDevice_device_id = -1; static int hf_x11_xinput_GrabDeviceKey_grab_window = -1; static int hf_x11_xinput_GrabDeviceKey_num_classes = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_Shift = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_Lock = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_Control = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_1 = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_2 = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_3 = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_4 = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_5 = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers_mask_Any = -1; static int hf_x11_xinput_GrabDeviceKey_modifiers = -1; static int hf_x11_xinput_GrabDeviceKey_modifier_device = -1; static int hf_x11_xinput_GrabDeviceKey_grabbed_device = -1; static int hf_x11_xinput_GrabDeviceKey_key = -1; static int hf_x11_xinput_GrabDeviceKey_this_device_mode = -1; static int hf_x11_xinput_GrabDeviceKey_other_device_mode = -1; static int hf_x11_xinput_GrabDeviceKey_owner_events = -1; static int hf_x11_xinput_GrabDeviceKey_classes = -1; static int hf_x11_xinput_GrabDeviceKey_classes_item = -1; static int hf_x11_xinput_UngrabDeviceKey_grabWindow = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Shift = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Lock = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Control = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_1 = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_2 = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_3 = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_4 = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_5 = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Any = -1; static int hf_x11_xinput_UngrabDeviceKey_modifiers = -1; static int hf_x11_xinput_UngrabDeviceKey_modifier_device = -1; static int hf_x11_xinput_UngrabDeviceKey_key = -1; static int hf_x11_xinput_UngrabDeviceKey_grabbed_device = -1; static int hf_x11_xinput_GrabDeviceButton_grab_window = -1; static int hf_x11_xinput_GrabDeviceButton_grabbed_device = -1; static int hf_x11_xinput_GrabDeviceButton_modifier_device = -1; static int hf_x11_xinput_GrabDeviceButton_num_classes = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_Shift = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_Lock = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_Control = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_1 = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_2 = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_3 = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_4 = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_5 = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers_mask_Any = -1; static int hf_x11_xinput_GrabDeviceButton_modifiers = -1; static int hf_x11_xinput_GrabDeviceButton_this_device_mode = -1; static int hf_x11_xinput_GrabDeviceButton_other_device_mode = -1; static int hf_x11_xinput_GrabDeviceButton_button = -1; static int hf_x11_xinput_GrabDeviceButton_owner_events = -1; static int hf_x11_xinput_GrabDeviceButton_classes = -1; static int hf_x11_xinput_GrabDeviceButton_classes_item = -1; static int hf_x11_xinput_UngrabDeviceButton_grab_window = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Shift = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Lock = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Control = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_1 = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_2 = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_3 = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_4 = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_5 = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Any = -1; static int hf_x11_xinput_UngrabDeviceButton_modifiers = -1; static int hf_x11_xinput_UngrabDeviceButton_modifier_device = -1; static int hf_x11_xinput_UngrabDeviceButton_button = -1; static int hf_x11_xinput_UngrabDeviceButton_grabbed_device = -1; static int hf_x11_xinput_AllowDeviceEvents_time = -1; static int hf_x11_xinput_AllowDeviceEvents_mode = -1; static int hf_x11_xinput_AllowDeviceEvents_device_id = -1; static int hf_x11_xinput_GetDeviceFocus_device_id = -1; static int hf_x11_xinput_GetDeviceFocus_reply_xi_reply_type = -1; static int hf_x11_xinput_GetDeviceFocus_reply_focus = -1; static int hf_x11_xinput_GetDeviceFocus_reply_time = -1; static int hf_x11_xinput_GetDeviceFocus_reply_revert_to = -1; static int hf_x11_xinput_SetDeviceFocus_focus = -1; static int hf_x11_xinput_SetDeviceFocus_time = -1; static int hf_x11_xinput_SetDeviceFocus_revert_to = -1; static int hf_x11_xinput_SetDeviceFocus_device_id = -1; static int hf_x11_struct_xinput_FeedbackState = -1; static int hf_x11_struct_xinput_FeedbackState_class_id = -1; static int hf_x11_struct_xinput_FeedbackState_feedback_id = -1; static int hf_x11_struct_xinput_FeedbackState_len = -1; static int hf_x11_struct_xinput_FeedbackState_Keyboard_pitch = -1; static int hf_x11_struct_xinput_FeedbackState_Keyboard_duration = -1; static int hf_x11_struct_xinput_FeedbackState_Keyboard_led_mask = -1; static int hf_x11_struct_xinput_FeedbackState_Keyboard_led_values = -1; static int hf_x11_struct_xinput_FeedbackState_Keyboard_global_auto_repeat = -1; static int hf_x11_struct_xinput_FeedbackState_Keyboard_click = -1; static int hf_x11_struct_xinput_FeedbackState_Keyboard_percent = -1; static int hf_x11_struct_xinput_FeedbackState_Keyboard_auto_repeats = -1; static int hf_x11_struct_xinput_FeedbackState_Pointer_accel_num = -1; static int hf_x11_struct_xinput_FeedbackState_Pointer_accel_denom = -1; static int hf_x11_struct_xinput_FeedbackState_Pointer_threshold = -1; static int hf_x11_struct_xinput_FeedbackState_String_max_symbols = -1; static int hf_x11_struct_xinput_FeedbackState_String_num_keysyms = -1; static int hf_x11_struct_xinput_FeedbackState_String_keysyms = -1; static int hf_x11_struct_xinput_FeedbackState_String_keysyms_item = -1; static int hf_x11_struct_xinput_FeedbackState_Integer_resolution = -1; static int hf_x11_struct_xinput_FeedbackState_Integer_min_value = -1; static int hf_x11_struct_xinput_FeedbackState_Integer_max_value = -1; static int hf_x11_struct_xinput_FeedbackState_Led_led_mask = -1; static int hf_x11_struct_xinput_FeedbackState_Led_led_values = -1; static int hf_x11_struct_xinput_FeedbackState_Bell_percent = -1; static int hf_x11_struct_xinput_FeedbackState_Bell_pitch = -1; static int hf_x11_struct_xinput_FeedbackState_Bell_duration = -1; static int hf_x11_xinput_GetFeedbackControl_device_id = -1; static int hf_x11_xinput_GetFeedbackControl_reply_xi_reply_type = -1; static int hf_x11_xinput_GetFeedbackControl_reply_num_feedbacks = -1; static int hf_x11_xinput_GetFeedbackControl_reply_feedbacks = -1; static int hf_x11_struct_xinput_FeedbackCtl = -1; static int hf_x11_struct_xinput_FeedbackCtl_class_id = -1; static int hf_x11_struct_xinput_FeedbackCtl_feedback_id = -1; static int hf_x11_struct_xinput_FeedbackCtl_len = -1; static int hf_x11_struct_xinput_FeedbackCtl_Keyboard_key = -1; static int hf_x11_struct_xinput_FeedbackCtl_Keyboard_auto_repeat_mode = -1; static int hf_x11_struct_xinput_FeedbackCtl_Keyboard_key_click_percent = -1; static int hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_percent = -1; static int hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_pitch = -1; static int hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_duration = -1; static int hf_x11_struct_xinput_FeedbackCtl_Keyboard_led_mask = -1; static int hf_x11_struct_xinput_FeedbackCtl_Keyboard_led_values = -1; static int hf_x11_struct_xinput_FeedbackCtl_Pointer_num = -1; static int hf_x11_struct_xinput_FeedbackCtl_Pointer_denom = -1; static int hf_x11_struct_xinput_FeedbackCtl_Pointer_threshold = -1; static int hf_x11_struct_xinput_FeedbackCtl_String_num_keysyms = -1; static int hf_x11_struct_xinput_FeedbackCtl_String_keysyms = -1; static int hf_x11_struct_xinput_FeedbackCtl_String_keysyms_item = -1; static int hf_x11_struct_xinput_FeedbackCtl_Integer_int_to_display = -1; static int hf_x11_struct_xinput_FeedbackCtl_Led_led_mask = -1; static int hf_x11_struct_xinput_FeedbackCtl_Led_led_values = -1; static int hf_x11_struct_xinput_FeedbackCtl_Bell_percent = -1; static int hf_x11_struct_xinput_FeedbackCtl_Bell_pitch = -1; static int hf_x11_struct_xinput_FeedbackCtl_Bell_duration = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask_mask_AccelNum = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask_mask_AccelDenom = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask_mask_Threshold = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask_mask_Duration = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask_mask_Led = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask_mask_LedMode = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask_mask_Key = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask_mask_AutoRepeatMode = -1; static int hf_x11_xinput_ChangeFeedbackControl_mask = -1; static int hf_x11_xinput_ChangeFeedbackControl_device_id = -1; static int hf_x11_xinput_ChangeFeedbackControl_feedback_id = -1; static int hf_x11_xinput_ChangeFeedbackControl_feedback = -1; static int hf_x11_xinput_GetDeviceKeyMapping_device_id = -1; static int hf_x11_xinput_GetDeviceKeyMapping_first_keycode = -1; static int hf_x11_xinput_GetDeviceKeyMapping_count = -1; static int hf_x11_xinput_GetDeviceKeyMapping_reply_xi_reply_type = -1; static int hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms_per_keycode = -1; static int hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms = -1; static int hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms_item = -1; static int hf_x11_xinput_ChangeDeviceKeyMapping_device_id = -1; static int hf_x11_xinput_ChangeDeviceKeyMapping_first_keycode = -1; static int hf_x11_xinput_ChangeDeviceKeyMapping_keysyms_per_keycode = -1; static int hf_x11_xinput_ChangeDeviceKeyMapping_keycode_count = -1; static int hf_x11_xinput_ChangeDeviceKeyMapping_keysyms = -1; static int hf_x11_xinput_ChangeDeviceKeyMapping_keysyms_item = -1; static int hf_x11_xinput_GetDeviceModifierMapping_device_id = -1; static int hf_x11_xinput_GetDeviceModifierMapping_reply_xi_reply_type = -1; static int hf_x11_xinput_GetDeviceModifierMapping_reply_keycodes_per_modifier = -1; static int hf_x11_xinput_GetDeviceModifierMapping_reply_keymaps = -1; static int hf_x11_xinput_SetDeviceModifierMapping_device_id = -1; static int hf_x11_xinput_SetDeviceModifierMapping_keycodes_per_modifier = -1; static int hf_x11_xinput_SetDeviceModifierMapping_keymaps = -1; static int hf_x11_xinput_SetDeviceModifierMapping_reply_xi_reply_type = -1; static int hf_x11_xinput_SetDeviceModifierMapping_reply_status = -1; static int hf_x11_xinput_GetDeviceButtonMapping_device_id = -1; static int hf_x11_xinput_GetDeviceButtonMapping_reply_xi_reply_type = -1; static int hf_x11_xinput_GetDeviceButtonMapping_reply_map_size = -1; static int hf_x11_xinput_GetDeviceButtonMapping_reply_map = -1; static int hf_x11_xinput_SetDeviceButtonMapping_device_id = -1; static int hf_x11_xinput_SetDeviceButtonMapping_map_size = -1; static int hf_x11_xinput_SetDeviceButtonMapping_map = -1; static int hf_x11_xinput_SetDeviceButtonMapping_reply_xi_reply_type = -1; static int hf_x11_xinput_SetDeviceButtonMapping_reply_status = -1; static int hf_x11_struct_xinput_InputState = -1; static int hf_x11_struct_xinput_InputState_class_id = -1; static int hf_x11_struct_xinput_InputState_len = -1; static int hf_x11_struct_xinput_InputState_Key_num_keys = -1; static int hf_x11_struct_xinput_InputState_Key_keys = -1; static int hf_x11_struct_xinput_InputState_Button_num_buttons = -1; static int hf_x11_struct_xinput_InputState_Button_buttons = -1; static int hf_x11_struct_xinput_InputState_Valuator_num_valuators = -1; static int hf_x11_struct_xinput_InputState_Valuator_mode_mask_DeviceModeAbsolute = -1; static int hf_x11_struct_xinput_InputState_Valuator_mode_mask_OutOfProximity = -1; static int hf_x11_struct_xinput_InputState_Valuator_mode = -1; static int hf_x11_struct_xinput_InputState_Valuator_valuators = -1; static int hf_x11_struct_xinput_InputState_Valuator_valuators_item = -1; static int hf_x11_xinput_QueryDeviceState_device_id = -1; static int hf_x11_xinput_QueryDeviceState_reply_xi_reply_type = -1; static int hf_x11_xinput_QueryDeviceState_reply_num_classes = -1; static int hf_x11_xinput_QueryDeviceState_reply_classes = -1; static int hf_x11_xinput_DeviceBell_device_id = -1; static int hf_x11_xinput_DeviceBell_feedback_id = -1; static int hf_x11_xinput_DeviceBell_feedback_class = -1; static int hf_x11_xinput_DeviceBell_percent = -1; static int hf_x11_xinput_SetDeviceValuators_device_id = -1; static int hf_x11_xinput_SetDeviceValuators_first_valuator = -1; static int hf_x11_xinput_SetDeviceValuators_num_valuators = -1; static int hf_x11_xinput_SetDeviceValuators_valuators = -1; static int hf_x11_xinput_SetDeviceValuators_valuators_item = -1; static int hf_x11_xinput_SetDeviceValuators_reply_xi_reply_type = -1; static int hf_x11_xinput_SetDeviceValuators_reply_status = -1; static int hf_x11_struct_xinput_DeviceState = -1; static int hf_x11_struct_xinput_DeviceState_control_id = -1; static int hf_x11_struct_xinput_DeviceState_len = -1; static int hf_x11_struct_xinput_DeviceState_resolution_num_valuators = -1; static int hf_x11_struct_xinput_DeviceState_resolution_resolution_values = -1; static int hf_x11_struct_xinput_DeviceState_resolution_resolution_values_item = -1; static int hf_x11_struct_xinput_DeviceState_resolution_resolution_min = -1; static int hf_x11_struct_xinput_DeviceState_resolution_resolution_min_item = -1; static int hf_x11_struct_xinput_DeviceState_resolution_resolution_max = -1; static int hf_x11_struct_xinput_DeviceState_resolution_resolution_max_item = -1; static int hf_x11_struct_xinput_DeviceState_abs_calib_min_x = -1; static int hf_x11_struct_xinput_DeviceState_abs_calib_max_x = -1; static int hf_x11_struct_xinput_DeviceState_abs_calib_min_y = -1; static int hf_x11_struct_xinput_DeviceState_abs_calib_max_y = -1; static int hf_x11_struct_xinput_DeviceState_abs_calib_flip_x = -1; static int hf_x11_struct_xinput_DeviceState_abs_calib_flip_y = -1; static int hf_x11_struct_xinput_DeviceState_abs_calib_rotation = -1; static int hf_x11_struct_xinput_DeviceState_abs_calib_button_threshold = -1; static int hf_x11_struct_xinput_DeviceState_core_status = -1; static int hf_x11_struct_xinput_DeviceState_core_iscore = -1; static int hf_x11_struct_xinput_DeviceState_enable_enable = -1; static int hf_x11_struct_xinput_DeviceState_abs_area_offset_x = -1; static int hf_x11_struct_xinput_DeviceState_abs_area_offset_y = -1; static int hf_x11_struct_xinput_DeviceState_abs_area_width = -1; static int hf_x11_struct_xinput_DeviceState_abs_area_height = -1; static int hf_x11_struct_xinput_DeviceState_abs_area_screen = -1; static int hf_x11_struct_xinput_DeviceState_abs_area_following = -1; static int hf_x11_xinput_GetDeviceControl_control_id = -1; static int hf_x11_xinput_GetDeviceControl_device_id = -1; static int hf_x11_xinput_GetDeviceControl_reply_xi_reply_type = -1; static int hf_x11_xinput_GetDeviceControl_reply_status = -1; static int hf_x11_xinput_GetDeviceControl_reply_control = -1; static int hf_x11_struct_xinput_DeviceCtl = -1; static int hf_x11_struct_xinput_DeviceCtl_control_id = -1; static int hf_x11_struct_xinput_DeviceCtl_len = -1; static int hf_x11_struct_xinput_DeviceCtl_resolution_first_valuator = -1; static int hf_x11_struct_xinput_DeviceCtl_resolution_num_valuators = -1; static int hf_x11_struct_xinput_DeviceCtl_resolution_resolution_values = -1; static int hf_x11_struct_xinput_DeviceCtl_resolution_resolution_values_item = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_calib_min_x = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_calib_max_x = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_calib_min_y = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_calib_max_y = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_calib_flip_x = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_calib_flip_y = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_calib_rotation = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_calib_button_threshold = -1; static int hf_x11_struct_xinput_DeviceCtl_core_status = -1; static int hf_x11_struct_xinput_DeviceCtl_enable_enable = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_area_offset_x = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_area_offset_y = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_area_width = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_area_height = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_area_screen = -1; static int hf_x11_struct_xinput_DeviceCtl_abs_area_following = -1; static int hf_x11_xinput_ChangeDeviceControl_control_id = -1; static int hf_x11_xinput_ChangeDeviceControl_device_id = -1; static int hf_x11_xinput_ChangeDeviceControl_control = -1; static int hf_x11_xinput_ChangeDeviceControl_reply_xi_reply_type = -1; static int hf_x11_xinput_ChangeDeviceControl_reply_status = -1; static int hf_x11_xinput_ListDeviceProperties_device_id = -1; static int hf_x11_xinput_ListDeviceProperties_reply_xi_reply_type = -1; static int hf_x11_xinput_ListDeviceProperties_reply_num_atoms = -1; static int hf_x11_xinput_ListDeviceProperties_reply_atoms = -1; static int hf_x11_xinput_ListDeviceProperties_reply_atoms_item = -1; static int hf_x11_xinput_ChangeDeviceProperty_property = -1; static int hf_x11_xinput_ChangeDeviceProperty_type = -1; static int hf_x11_xinput_ChangeDeviceProperty_device_id = -1; static int hf_x11_xinput_ChangeDeviceProperty_format = -1; static int hf_x11_xinput_ChangeDeviceProperty_mode = -1; static int hf_x11_xinput_ChangeDeviceProperty_num_items = -1; static int hf_x11_xinput_ChangeDeviceProperty_8Bits_data8 = -1; static int hf_x11_xinput_ChangeDeviceProperty_16Bits_data16 = -1; static int hf_x11_xinput_ChangeDeviceProperty_16Bits_data16_item = -1; static int hf_x11_xinput_ChangeDeviceProperty_32Bits_data32 = -1; static int hf_x11_xinput_ChangeDeviceProperty_32Bits_data32_item = -1; static int hf_x11_xinput_DeleteDeviceProperty_property = -1; static int hf_x11_xinput_DeleteDeviceProperty_device_id = -1; static int hf_x11_xinput_GetDeviceProperty_property = -1; static int hf_x11_xinput_GetDeviceProperty_type = -1; static int hf_x11_xinput_GetDeviceProperty_offset = -1; static int hf_x11_xinput_GetDeviceProperty_len = -1; static int hf_x11_xinput_GetDeviceProperty_device_id = -1; static int hf_x11_xinput_GetDeviceProperty_delete = -1; static int hf_x11_xinput_GetDeviceProperty_reply_xi_reply_type = -1; static int hf_x11_xinput_GetDeviceProperty_reply_type = -1; static int hf_x11_xinput_GetDeviceProperty_reply_bytes_after = -1; static int hf_x11_xinput_GetDeviceProperty_reply_num_items = -1; static int hf_x11_xinput_GetDeviceProperty_reply_format = -1; static int hf_x11_xinput_GetDeviceProperty_reply_device_id = -1; static int hf_x11_xinput_GetDeviceProperty_reply_8Bits_data8 = -1; static int hf_x11_xinput_GetDeviceProperty_reply_16Bits_data16 = -1; static int hf_x11_xinput_GetDeviceProperty_reply_16Bits_data16_item = -1; static int hf_x11_xinput_GetDeviceProperty_reply_32Bits_data32 = -1; static int hf_x11_xinput_GetDeviceProperty_reply_32Bits_data32_item = -1; static int hf_x11_struct_xinput_GroupInfo = -1; static int hf_x11_struct_xinput_GroupInfo_base = -1; static int hf_x11_struct_xinput_GroupInfo_latched = -1; static int hf_x11_struct_xinput_GroupInfo_locked = -1; static int hf_x11_struct_xinput_GroupInfo_effective = -1; static int hf_x11_struct_xinput_ModifierInfo = -1; static int hf_x11_struct_xinput_ModifierInfo_base = -1; static int hf_x11_struct_xinput_ModifierInfo_latched = -1; static int hf_x11_struct_xinput_ModifierInfo_locked = -1; static int hf_x11_struct_xinput_ModifierInfo_effective = -1; static int hf_x11_xinput_XIQueryPointer_window = -1; static int hf_x11_xinput_XIQueryPointer_deviceid = -1; static int hf_x11_xinput_XIQueryPointer_reply_root = -1; static int hf_x11_xinput_XIQueryPointer_reply_child = -1; static int hf_x11_xinput_XIQueryPointer_reply_root_x = -1; static int hf_x11_xinput_XIQueryPointer_reply_root_y = -1; static int hf_x11_xinput_XIQueryPointer_reply_win_x = -1; static int hf_x11_xinput_XIQueryPointer_reply_win_y = -1; static int hf_x11_xinput_XIQueryPointer_reply_same_screen = -1; static int hf_x11_xinput_XIQueryPointer_reply_buttons_len = -1; static int hf_x11_xinput_XIQueryPointer_reply_mods = -1; static int hf_x11_xinput_XIQueryPointer_reply_group = -1; static int hf_x11_xinput_XIQueryPointer_reply_buttons = -1; static int hf_x11_xinput_XIQueryPointer_reply_buttons_item = -1; static int hf_x11_xinput_XIWarpPointer_src_win = -1; static int hf_x11_xinput_XIWarpPointer_dst_win = -1; static int hf_x11_xinput_XIWarpPointer_src_x = -1; static int hf_x11_xinput_XIWarpPointer_src_y = -1; static int hf_x11_xinput_XIWarpPointer_src_width = -1; static int hf_x11_xinput_XIWarpPointer_src_height = -1; static int hf_x11_xinput_XIWarpPointer_dst_x = -1; static int hf_x11_xinput_XIWarpPointer_dst_y = -1; static int hf_x11_xinput_XIWarpPointer_deviceid = -1; static int hf_x11_xinput_XIChangeCursor_window = -1; static int hf_x11_xinput_XIChangeCursor_cursor = -1; static int hf_x11_xinput_XIChangeCursor_deviceid = -1; static int hf_x11_struct_xinput_HierarchyChange = -1; static int hf_x11_struct_xinput_HierarchyChange_type = -1; static int hf_x11_struct_xinput_HierarchyChange_len = -1; static int hf_x11_struct_xinput_HierarchyChange_AddMaster_name_len = -1; static int hf_x11_struct_xinput_HierarchyChange_AddMaster_send_core = -1; static int hf_x11_struct_xinput_HierarchyChange_AddMaster_enable = -1; static int hf_x11_struct_xinput_HierarchyChange_AddMaster_name = -1; static int hf_x11_struct_xinput_HierarchyChange_RemoveMaster_deviceid = -1; static int hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_mode = -1; static int hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_pointer = -1; static int hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_keyboard = -1; static int hf_x11_struct_xinput_HierarchyChange_AttachSlave_deviceid = -1; static int hf_x11_struct_xinput_HierarchyChange_AttachSlave_master = -1; static int hf_x11_struct_xinput_HierarchyChange_DetachSlave_deviceid = -1; static int hf_x11_xinput_XIChangeHierarchy_num_changes = -1; static int hf_x11_xinput_XIChangeHierarchy_changes = -1; static int hf_x11_xinput_XISetClientPointer_window = -1; static int hf_x11_xinput_XISetClientPointer_deviceid = -1; static int hf_x11_xinput_XIGetClientPointer_window = -1; static int hf_x11_xinput_XIGetClientPointer_reply_set = -1; static int hf_x11_xinput_XIGetClientPointer_reply_deviceid = -1; static int hf_x11_struct_xinput_EventMask = -1; static int hf_x11_struct_xinput_EventMask_deviceid = -1; static int hf_x11_struct_xinput_EventMask_mask_len = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_DeviceChanged = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_KeyPress = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_KeyRelease = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_ButtonPress = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_ButtonRelease = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_Motion = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_Enter = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_Leave = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_FocusIn = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_FocusOut = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_Hierarchy = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_Property = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_RawKeyPress = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_RawKeyRelease = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_RawButtonPress = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_RawButtonRelease = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_RawMotion = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_TouchBegin = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_TouchUpdate = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_TouchEnd = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_TouchOwnership = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_RawTouchBegin = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_RawTouchUpdate = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_RawTouchEnd = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_BarrierHit = -1; static int hf_x11_struct_xinput_EventMask_mask_mask_BarrierLeave = -1; static int hf_x11_struct_xinput_EventMask_mask = -1; static int hf_x11_struct_xinput_EventMask_mask_item = -1; static int hf_x11_xinput_XISelectEvents_window = -1; static int hf_x11_xinput_XISelectEvents_num_mask = -1; static int hf_x11_xinput_XISelectEvents_masks = -1; static int hf_x11_xinput_XIQueryVersion_major_version = -1; static int hf_x11_xinput_XIQueryVersion_minor_version = -1; static int hf_x11_xinput_XIQueryVersion_reply_major_version = -1; static int hf_x11_xinput_XIQueryVersion_reply_minor_version = -1; static int hf_x11_struct_xinput_DeviceClass = -1; static int hf_x11_struct_xinput_DeviceClass_type = -1; static int hf_x11_struct_xinput_DeviceClass_len = -1; static int hf_x11_struct_xinput_DeviceClass_sourceid = -1; static int hf_x11_struct_xinput_DeviceClass_Key_num_keys = -1; static int hf_x11_struct_xinput_DeviceClass_Key_keys = -1; static int hf_x11_struct_xinput_DeviceClass_Key_keys_item = -1; static int hf_x11_struct_xinput_DeviceClass_Button_num_buttons = -1; static int hf_x11_struct_xinput_DeviceClass_Button_state = -1; static int hf_x11_struct_xinput_DeviceClass_Button_state_item = -1; static int hf_x11_struct_xinput_DeviceClass_Button_labels = -1; static int hf_x11_struct_xinput_DeviceClass_Button_labels_item = -1; static int hf_x11_struct_xinput_DeviceClass_Valuator_number = -1; static int hf_x11_struct_xinput_DeviceClass_Valuator_label = -1; static int hf_x11_struct_xinput_DeviceClass_Valuator_min = -1; static int hf_x11_struct_xinput_DeviceClass_Valuator_max = -1; static int hf_x11_struct_xinput_DeviceClass_Valuator_value = -1; static int hf_x11_struct_xinput_DeviceClass_Valuator_resolution = -1; static int hf_x11_struct_xinput_DeviceClass_Valuator_mode = -1; static int hf_x11_struct_xinput_DeviceClass_Scroll_number = -1; static int hf_x11_struct_xinput_DeviceClass_Scroll_scroll_type = -1; static int hf_x11_struct_xinput_DeviceClass_Scroll_flags_mask_NoEmulation = -1; static int hf_x11_struct_xinput_DeviceClass_Scroll_flags_mask_Preferred = -1; static int hf_x11_struct_xinput_DeviceClass_Scroll_flags = -1; static int hf_x11_struct_xinput_DeviceClass_Scroll_increment = -1; static int hf_x11_struct_xinput_DeviceClass_Touch_mode = -1; static int hf_x11_struct_xinput_DeviceClass_Touch_num_touches = -1; static int hf_x11_struct_xinput_XIDeviceInfo = -1; static int hf_x11_struct_xinput_XIDeviceInfo_deviceid = -1; static int hf_x11_struct_xinput_XIDeviceInfo_type = -1; static int hf_x11_struct_xinput_XIDeviceInfo_attachment = -1; static int hf_x11_struct_xinput_XIDeviceInfo_num_classes = -1; static int hf_x11_struct_xinput_XIDeviceInfo_name_len = -1; static int hf_x11_struct_xinput_XIDeviceInfo_enabled = -1; static int hf_x11_struct_xinput_XIDeviceInfo_name = -1; static int hf_x11_struct_xinput_XIDeviceInfo_classes = -1; static int hf_x11_xinput_XIQueryDevice_deviceid = -1; static int hf_x11_xinput_XIQueryDevice_reply_num_infos = -1; static int hf_x11_xinput_XIQueryDevice_reply_infos = -1; static int hf_x11_xinput_XISetFocus_window = -1; static int hf_x11_xinput_XISetFocus_time = -1; static int hf_x11_xinput_XISetFocus_deviceid = -1; static int hf_x11_xinput_XIGetFocus_deviceid = -1; static int hf_x11_xinput_XIGetFocus_reply_focus = -1; static int hf_x11_xinput_XIGrabDevice_window = -1; static int hf_x11_xinput_XIGrabDevice_time = -1; static int hf_x11_xinput_XIGrabDevice_cursor = -1; static int hf_x11_xinput_XIGrabDevice_deviceid = -1; static int hf_x11_xinput_XIGrabDevice_mode = -1; static int hf_x11_xinput_XIGrabDevice_paired_device_mode = -1; static int hf_x11_xinput_XIGrabDevice_owner_events = -1; static int hf_x11_xinput_XIGrabDevice_mask_len = -1; static int hf_x11_xinput_XIGrabDevice_mask = -1; static int hf_x11_xinput_XIGrabDevice_mask_item = -1; static int hf_x11_xinput_XIGrabDevice_reply_status = -1; static int hf_x11_xinput_XIUngrabDevice_time = -1; static int hf_x11_xinput_XIUngrabDevice_deviceid = -1; static int hf_x11_xinput_XIAllowEvents_time = -1; static int hf_x11_xinput_XIAllowEvents_deviceid = -1; static int hf_x11_xinput_XIAllowEvents_event_mode = -1; static int hf_x11_xinput_XIAllowEvents_touchid = -1; static int hf_x11_xinput_XIAllowEvents_grab_window = -1; static int hf_x11_struct_xinput_GrabModifierInfo = -1; static int hf_x11_struct_xinput_GrabModifierInfo_modifiers = -1; static int hf_x11_struct_xinput_GrabModifierInfo_status = -1; static int hf_x11_xinput_XIPassiveGrabDevice_time = -1; static int hf_x11_xinput_XIPassiveGrabDevice_grab_window = -1; static int hf_x11_xinput_XIPassiveGrabDevice_cursor = -1; static int hf_x11_xinput_XIPassiveGrabDevice_detail = -1; static int hf_x11_xinput_XIPassiveGrabDevice_deviceid = -1; static int hf_x11_xinput_XIPassiveGrabDevice_num_modifiers = -1; static int hf_x11_xinput_XIPassiveGrabDevice_mask_len = -1; static int hf_x11_xinput_XIPassiveGrabDevice_grab_type = -1; static int hf_x11_xinput_XIPassiveGrabDevice_grab_mode = -1; static int hf_x11_xinput_XIPassiveGrabDevice_paired_device_mode = -1; static int hf_x11_xinput_XIPassiveGrabDevice_owner_events = -1; static int hf_x11_xinput_XIPassiveGrabDevice_mask = -1; static int hf_x11_xinput_XIPassiveGrabDevice_mask_item = -1; static int hf_x11_xinput_XIPassiveGrabDevice_modifiers = -1; static int hf_x11_xinput_XIPassiveGrabDevice_modifiers_item = -1; static int hf_x11_xinput_XIPassiveGrabDevice_reply_num_modifiers = -1; static int hf_x11_xinput_XIPassiveGrabDevice_reply_modifiers = -1; static int hf_x11_xinput_XIPassiveGrabDevice_reply_modifiers_item = -1; static int hf_x11_xinput_XIPassiveUngrabDevice_grab_window = -1; static int hf_x11_xinput_XIPassiveUngrabDevice_detail = -1; static int hf_x11_xinput_XIPassiveUngrabDevice_deviceid = -1; static int hf_x11_xinput_XIPassiveUngrabDevice_num_modifiers = -1; static int hf_x11_xinput_XIPassiveUngrabDevice_grab_type = -1; static int hf_x11_xinput_XIPassiveUngrabDevice_modifiers = -1; static int hf_x11_xinput_XIPassiveUngrabDevice_modifiers_item = -1; static int hf_x11_xinput_XIListProperties_deviceid = -1; static int hf_x11_xinput_XIListProperties_reply_num_properties = -1; static int hf_x11_xinput_XIListProperties_reply_properties = -1; static int hf_x11_xinput_XIListProperties_reply_properties_item = -1; static int hf_x11_xinput_XIChangeProperty_deviceid = -1; static int hf_x11_xinput_XIChangeProperty_mode = -1; static int hf_x11_xinput_XIChangeProperty_format = -1; static int hf_x11_xinput_XIChangeProperty_property = -1; static int hf_x11_xinput_XIChangeProperty_type = -1; static int hf_x11_xinput_XIChangeProperty_num_items = -1; static int hf_x11_xinput_XIChangeProperty_8Bits_data8 = -1; static int hf_x11_xinput_XIChangeProperty_16Bits_data16 = -1; static int hf_x11_xinput_XIChangeProperty_16Bits_data16_item = -1; static int hf_x11_xinput_XIChangeProperty_32Bits_data32 = -1; static int hf_x11_xinput_XIChangeProperty_32Bits_data32_item = -1; static int hf_x11_xinput_XIDeleteProperty_deviceid = -1; static int hf_x11_xinput_XIDeleteProperty_property = -1; static int hf_x11_xinput_XIGetProperty_deviceid = -1; static int hf_x11_xinput_XIGetProperty_delete = -1; static int hf_x11_xinput_XIGetProperty_property = -1; static int hf_x11_xinput_XIGetProperty_type = -1; static int hf_x11_xinput_XIGetProperty_offset = -1; static int hf_x11_xinput_XIGetProperty_len = -1; static int hf_x11_xinput_XIGetProperty_reply_type = -1; static int hf_x11_xinput_XIGetProperty_reply_bytes_after = -1; static int hf_x11_xinput_XIGetProperty_reply_num_items = -1; static int hf_x11_xinput_XIGetProperty_reply_format = -1; static int hf_x11_xinput_XIGetProperty_reply_8Bits_data8 = -1; static int hf_x11_xinput_XIGetProperty_reply_16Bits_data16 = -1; static int hf_x11_xinput_XIGetProperty_reply_16Bits_data16_item = -1; static int hf_x11_xinput_XIGetProperty_reply_32Bits_data32 = -1; static int hf_x11_xinput_XIGetProperty_reply_32Bits_data32_item = -1; static int hf_x11_xinput_XIGetSelectedEvents_window = -1; static int hf_x11_xinput_XIGetSelectedEvents_reply_num_masks = -1; static int hf_x11_xinput_XIGetSelectedEvents_reply_masks = -1; static int hf_x11_struct_xinput_BarrierReleasePointerInfo = -1; static int hf_x11_struct_xinput_BarrierReleasePointerInfo_deviceid = -1; static int hf_x11_struct_xinput_BarrierReleasePointerInfo_barrier = -1; static int hf_x11_struct_xinput_BarrierReleasePointerInfo_eventid = -1; static int hf_x11_xinput_XIBarrierReleasePointer_num_barriers = -1; static int hf_x11_xinput_XIBarrierReleasePointer_barriers = -1; static int hf_x11_xinput_XIBarrierReleasePointer_barriers_item = -1; static int hf_x11_xinput_DeviceKeyPress_detail = -1; static int hf_x11_xinput_DeviceKeyPress_time = -1; static int hf_x11_xinput_DeviceKeyPress_root = -1; static int hf_x11_xinput_DeviceKeyPress_event = -1; static int hf_x11_xinput_DeviceKeyPress_child = -1; static int hf_x11_xinput_DeviceKeyPress_root_x = -1; static int hf_x11_xinput_DeviceKeyPress_root_y = -1; static int hf_x11_xinput_DeviceKeyPress_event_x = -1; static int hf_x11_xinput_DeviceKeyPress_event_y = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Shift = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Lock = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Control = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Mod1 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Mod2 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Mod3 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Mod4 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Mod5 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Button1 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Button2 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Button3 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Button4 = -1; static int hf_x11_xinput_DeviceKeyPress_state_mask_Button5 = -1; static int hf_x11_xinput_DeviceKeyPress_state = -1; static int hf_x11_xinput_DeviceKeyPress_same_screen = -1; static int hf_x11_xinput_DeviceKeyPress_device_id = -1; static int hf_x11_xinput_DeviceFocusIn_detail = -1; static int hf_x11_xinput_DeviceFocusIn_time = -1; static int hf_x11_xinput_DeviceFocusIn_window = -1; static int hf_x11_xinput_DeviceFocusIn_mode = -1; static int hf_x11_xinput_DeviceFocusIn_device_id = -1; static int hf_x11_xinput_DeviceStateNotify_device_id = -1; static int hf_x11_xinput_DeviceStateNotify_time = -1; static int hf_x11_xinput_DeviceStateNotify_num_keys = -1; static int hf_x11_xinput_DeviceStateNotify_num_buttons = -1; static int hf_x11_xinput_DeviceStateNotify_num_valuators = -1; static int hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingKeys = -1; static int hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingButtons = -1; static int hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingValuators = -1; static int hf_x11_xinput_DeviceStateNotify_classes_reported_mask_DeviceModeAbsolute = -1; static int hf_x11_xinput_DeviceStateNotify_classes_reported_mask_OutOfProximity = -1; static int hf_x11_xinput_DeviceStateNotify_classes_reported = -1; static int hf_x11_xinput_DeviceStateNotify_buttons = -1; static int hf_x11_xinput_DeviceStateNotify_keys = -1; static int hf_x11_xinput_DeviceStateNotify_valuators = -1; static int hf_x11_xinput_DeviceStateNotify_valuators_item = -1; static int hf_x11_xinput_DeviceMappingNotify_device_id = -1; static int hf_x11_xinput_DeviceMappingNotify_request = -1; static int hf_x11_xinput_DeviceMappingNotify_first_keycode = -1; static int hf_x11_xinput_DeviceMappingNotify_count = -1; static int hf_x11_xinput_DeviceMappingNotify_time = -1; static int hf_x11_xinput_ChangeDeviceNotify_device_id = -1; static int hf_x11_xinput_ChangeDeviceNotify_time = -1; static int hf_x11_xinput_ChangeDeviceNotify_request = -1; static int hf_x11_xinput_DeviceKeyStateNotify_device_id = -1; static int hf_x11_xinput_DeviceKeyStateNotify_keys = -1; static int hf_x11_xinput_DeviceButtonStateNotify_device_id = -1; static int hf_x11_xinput_DeviceButtonStateNotify_buttons = -1; static int hf_x11_xinput_DevicePresenceNotify_time = -1; static int hf_x11_xinput_DevicePresenceNotify_devchange = -1; static int hf_x11_xinput_DevicePresenceNotify_device_id = -1; static int hf_x11_xinput_DevicePresenceNotify_control = -1; static int hf_x11_xinput_DevicePropertyNotify_state = -1; static int hf_x11_xinput_DevicePropertyNotify_time = -1; static int hf_x11_xinput_DevicePropertyNotify_property = -1; static int hf_x11_xinput_DevicePropertyNotify_device_id = -1; static int hf_x11_xinput_DeviceChanged_deviceid = -1; static int hf_x11_xinput_DeviceChanged_time = -1; static int hf_x11_xinput_DeviceChanged_num_classes = -1; static int hf_x11_xinput_DeviceChanged_sourceid = -1; static int hf_x11_xinput_DeviceChanged_reason = -1; static int hf_x11_xinput_DeviceChanged_classes = -1; static int hf_x11_xinput_KeyPress_deviceid = -1; static int hf_x11_xinput_KeyPress_time = -1; static int hf_x11_xinput_KeyPress_detail = -1; static int hf_x11_xinput_KeyPress_root = -1; static int hf_x11_xinput_KeyPress_event = -1; static int hf_x11_xinput_KeyPress_child = -1; static int hf_x11_xinput_KeyPress_root_x = -1; static int hf_x11_xinput_KeyPress_root_y = -1; static int hf_x11_xinput_KeyPress_event_x = -1; static int hf_x11_xinput_KeyPress_event_y = -1; static int hf_x11_xinput_KeyPress_buttons_len = -1; static int hf_x11_xinput_KeyPress_valuators_len = -1; static int hf_x11_xinput_KeyPress_sourceid = -1; static int hf_x11_xinput_KeyPress_flags_mask_KeyRepeat = -1; static int hf_x11_xinput_KeyPress_flags = -1; static int hf_x11_xinput_KeyPress_mods = -1; static int hf_x11_xinput_KeyPress_group = -1; static int hf_x11_xinput_KeyPress_button_mask = -1; static int hf_x11_xinput_KeyPress_button_mask_item = -1; static int hf_x11_xinput_KeyPress_valuator_mask = -1; static int hf_x11_xinput_KeyPress_valuator_mask_item = -1; static int hf_x11_xinput_KeyPress_axisvalues = -1; static int hf_x11_xinput_KeyPress_axisvalues_item = -1; static int hf_x11_xinput_ButtonPress_deviceid = -1; static int hf_x11_xinput_ButtonPress_time = -1; static int hf_x11_xinput_ButtonPress_detail = -1; static int hf_x11_xinput_ButtonPress_root = -1; static int hf_x11_xinput_ButtonPress_event = -1; static int hf_x11_xinput_ButtonPress_child = -1; static int hf_x11_xinput_ButtonPress_root_x = -1; static int hf_x11_xinput_ButtonPress_root_y = -1; static int hf_x11_xinput_ButtonPress_event_x = -1; static int hf_x11_xinput_ButtonPress_event_y = -1; static int hf_x11_xinput_ButtonPress_buttons_len = -1; static int hf_x11_xinput_ButtonPress_valuators_len = -1; static int hf_x11_xinput_ButtonPress_sourceid = -1; static int hf_x11_xinput_ButtonPress_flags_mask_PointerEmulated = -1; static int hf_x11_xinput_ButtonPress_flags = -1; static int hf_x11_xinput_ButtonPress_mods = -1; static int hf_x11_xinput_ButtonPress_group = -1; static int hf_x11_xinput_ButtonPress_button_mask = -1; static int hf_x11_xinput_ButtonPress_button_mask_item = -1; static int hf_x11_xinput_ButtonPress_valuator_mask = -1; static int hf_x11_xinput_ButtonPress_valuator_mask_item = -1; static int hf_x11_xinput_ButtonPress_axisvalues = -1; static int hf_x11_xinput_ButtonPress_axisvalues_item = -1; static int hf_x11_xinput_Enter_deviceid = -1; static int hf_x11_xinput_Enter_time = -1; static int hf_x11_xinput_Enter_sourceid = -1; static int hf_x11_xinput_Enter_mode = -1; static int hf_x11_xinput_Enter_detail = -1; static int hf_x11_xinput_Enter_root = -1; static int hf_x11_xinput_Enter_event = -1; static int hf_x11_xinput_Enter_child = -1; static int hf_x11_xinput_Enter_root_x = -1; static int hf_x11_xinput_Enter_root_y = -1; static int hf_x11_xinput_Enter_event_x = -1; static int hf_x11_xinput_Enter_event_y = -1; static int hf_x11_xinput_Enter_same_screen = -1; static int hf_x11_xinput_Enter_focus = -1; static int hf_x11_xinput_Enter_buttons_len = -1; static int hf_x11_xinput_Enter_mods = -1; static int hf_x11_xinput_Enter_group = -1; static int hf_x11_xinput_Enter_buttons = -1; static int hf_x11_xinput_Enter_buttons_item = -1; static int hf_x11_struct_xinput_HierarchyInfo = -1; static int hf_x11_struct_xinput_HierarchyInfo_deviceid = -1; static int hf_x11_struct_xinput_HierarchyInfo_attachment = -1; static int hf_x11_struct_xinput_HierarchyInfo_type = -1; static int hf_x11_struct_xinput_HierarchyInfo_enabled = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags_mask_MasterAdded = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags_mask_MasterRemoved = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveAdded = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveRemoved = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveAttached = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveDetached = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags_mask_DeviceEnabled = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags_mask_DeviceDisabled = -1; static int hf_x11_struct_xinput_HierarchyInfo_flags = -1; static int hf_x11_xinput_Hierarchy_deviceid = -1; static int hf_x11_xinput_Hierarchy_time = -1; static int hf_x11_xinput_Hierarchy_flags_mask_MasterAdded = -1; static int hf_x11_xinput_Hierarchy_flags_mask_MasterRemoved = -1; static int hf_x11_xinput_Hierarchy_flags_mask_SlaveAdded = -1; static int hf_x11_xinput_Hierarchy_flags_mask_SlaveRemoved = -1; static int hf_x11_xinput_Hierarchy_flags_mask_SlaveAttached = -1; static int hf_x11_xinput_Hierarchy_flags_mask_SlaveDetached = -1; static int hf_x11_xinput_Hierarchy_flags_mask_DeviceEnabled = -1; static int hf_x11_xinput_Hierarchy_flags_mask_DeviceDisabled = -1; static int hf_x11_xinput_Hierarchy_flags = -1; static int hf_x11_xinput_Hierarchy_num_infos = -1; static int hf_x11_xinput_Hierarchy_infos = -1; static int hf_x11_xinput_Hierarchy_infos_item = -1; static int hf_x11_xinput_Property_deviceid = -1; static int hf_x11_xinput_Property_time = -1; static int hf_x11_xinput_Property_property = -1; static int hf_x11_xinput_Property_what = -1; static int hf_x11_xinput_RawKeyPress_deviceid = -1; static int hf_x11_xinput_RawKeyPress_time = -1; static int hf_x11_xinput_RawKeyPress_detail = -1; static int hf_x11_xinput_RawKeyPress_sourceid = -1; static int hf_x11_xinput_RawKeyPress_valuators_len = -1; static int hf_x11_xinput_RawKeyPress_flags_mask_KeyRepeat = -1; static int hf_x11_xinput_RawKeyPress_flags = -1; static int hf_x11_xinput_RawKeyPress_valuator_mask = -1; static int hf_x11_xinput_RawKeyPress_valuator_mask_item = -1; static int hf_x11_xinput_RawKeyPress_axisvalues = -1; static int hf_x11_xinput_RawKeyPress_axisvalues_item = -1; static int hf_x11_xinput_RawKeyPress_axisvalues_raw = -1; static int hf_x11_xinput_RawKeyPress_axisvalues_raw_item = -1; static int hf_x11_xinput_RawButtonPress_deviceid = -1; static int hf_x11_xinput_RawButtonPress_time = -1; static int hf_x11_xinput_RawButtonPress_detail = -1; static int hf_x11_xinput_RawButtonPress_sourceid = -1; static int hf_x11_xinput_RawButtonPress_valuators_len = -1; static int hf_x11_xinput_RawButtonPress_flags_mask_PointerEmulated = -1; static int hf_x11_xinput_RawButtonPress_flags = -1; static int hf_x11_xinput_RawButtonPress_valuator_mask = -1; static int hf_x11_xinput_RawButtonPress_valuator_mask_item = -1; static int hf_x11_xinput_RawButtonPress_axisvalues = -1; static int hf_x11_xinput_RawButtonPress_axisvalues_item = -1; static int hf_x11_xinput_RawButtonPress_axisvalues_raw = -1; static int hf_x11_xinput_RawButtonPress_axisvalues_raw_item = -1; static int hf_x11_xinput_TouchBegin_deviceid = -1; static int hf_x11_xinput_TouchBegin_time = -1; static int hf_x11_xinput_TouchBegin_detail = -1; static int hf_x11_xinput_TouchBegin_root = -1; static int hf_x11_xinput_TouchBegin_event = -1; static int hf_x11_xinput_TouchBegin_child = -1; static int hf_x11_xinput_TouchBegin_root_x = -1; static int hf_x11_xinput_TouchBegin_root_y = -1; static int hf_x11_xinput_TouchBegin_event_x = -1; static int hf_x11_xinput_TouchBegin_event_y = -1; static int hf_x11_xinput_TouchBegin_buttons_len = -1; static int hf_x11_xinput_TouchBegin_valuators_len = -1; static int hf_x11_xinput_TouchBegin_sourceid = -1; static int hf_x11_xinput_TouchBegin_flags_mask_TouchPendingEnd = -1; static int hf_x11_xinput_TouchBegin_flags_mask_TouchEmulatingPointer = -1; static int hf_x11_xinput_TouchBegin_flags = -1; static int hf_x11_xinput_TouchBegin_mods = -1; static int hf_x11_xinput_TouchBegin_group = -1; static int hf_x11_xinput_TouchBegin_button_mask = -1; static int hf_x11_xinput_TouchBegin_button_mask_item = -1; static int hf_x11_xinput_TouchBegin_valuator_mask = -1; static int hf_x11_xinput_TouchBegin_valuator_mask_item = -1; static int hf_x11_xinput_TouchBegin_axisvalues = -1; static int hf_x11_xinput_TouchBegin_axisvalues_item = -1; static int hf_x11_xinput_TouchOwnership_deviceid = -1; static int hf_x11_xinput_TouchOwnership_time = -1; static int hf_x11_xinput_TouchOwnership_touchid = -1; static int hf_x11_xinput_TouchOwnership_root = -1; static int hf_x11_xinput_TouchOwnership_event = -1; static int hf_x11_xinput_TouchOwnership_child = -1; static int hf_x11_xinput_TouchOwnership_sourceid = -1; static int hf_x11_xinput_TouchOwnership_flags = -1; static int hf_x11_xinput_RawTouchBegin_deviceid = -1; static int hf_x11_xinput_RawTouchBegin_time = -1; static int hf_x11_xinput_RawTouchBegin_detail = -1; static int hf_x11_xinput_RawTouchBegin_sourceid = -1; static int hf_x11_xinput_RawTouchBegin_valuators_len = -1; static int hf_x11_xinput_RawTouchBegin_flags_mask_TouchPendingEnd = -1; static int hf_x11_xinput_RawTouchBegin_flags_mask_TouchEmulatingPointer = -1; static int hf_x11_xinput_RawTouchBegin_flags = -1; static int hf_x11_xinput_RawTouchBegin_valuator_mask = -1; static int hf_x11_xinput_RawTouchBegin_valuator_mask_item = -1; static int hf_x11_xinput_RawTouchBegin_axisvalues = -1; static int hf_x11_xinput_RawTouchBegin_axisvalues_item = -1; static int hf_x11_xinput_RawTouchBegin_axisvalues_raw = -1; static int hf_x11_xinput_RawTouchBegin_axisvalues_raw_item = -1; static int hf_x11_xinput_BarrierHit_deviceid = -1; static int hf_x11_xinput_BarrierHit_time = -1; static int hf_x11_xinput_BarrierHit_eventid = -1; static int hf_x11_xinput_BarrierHit_root = -1; static int hf_x11_xinput_BarrierHit_event = -1; static int hf_x11_xinput_BarrierHit_barrier = -1; static int hf_x11_xinput_BarrierHit_dtime = -1; static int hf_x11_xinput_BarrierHit_flags_mask_PointerReleased = -1; static int hf_x11_xinput_BarrierHit_flags_mask_DeviceIsGrabbed = -1; static int hf_x11_xinput_BarrierHit_flags = -1; static int hf_x11_xinput_BarrierHit_sourceid = -1; static int hf_x11_xinput_BarrierHit_root_x = -1; static int hf_x11_xinput_BarrierHit_root_y = -1; static int hf_x11_xinput_BarrierHit_dx = -1; static int hf_x11_xinput_BarrierHit_dy = -1; static int hf_x11_xinput_SendExtensionEvent_destination = -1; static int hf_x11_xinput_SendExtensionEvent_device_id = -1; static int hf_x11_xinput_SendExtensionEvent_propagate = -1; static int hf_x11_xinput_SendExtensionEvent_num_classes = -1; static int hf_x11_xinput_SendExtensionEvent_num_events = -1; static int hf_x11_xinput_SendExtensionEvent_events = -1; static int hf_x11_xinput_SendExtensionEvent_classes = -1; static int hf_x11_xinput_SendExtensionEvent_classes_item = -1; static int hf_x11_xinput_extension_minor = -1; static int hf_x11_struct_xkb_IndicatorMap = -1; static int hf_x11_struct_xkb_IndicatorMap_flags = -1; static int hf_x11_struct_xkb_IndicatorMap_whichGroups = -1; static int hf_x11_struct_xkb_IndicatorMap_groups = -1; static int hf_x11_struct_xkb_IndicatorMap_whichMods = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_Shift = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_Lock = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_Control = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_1 = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_2 = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_3 = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_4 = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_5 = -1; static int hf_x11_struct_xkb_IndicatorMap_mods_mask_Any = -1; static int hf_x11_struct_xkb_IndicatorMap_mods = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_Shift = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_Lock = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_Control = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_1 = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_2 = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_3 = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_4 = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_5 = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods_mask_Any = -1; static int hf_x11_struct_xkb_IndicatorMap_realMods = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_0 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_1 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_2 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_3 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_4 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_5 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_6 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_7 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_8 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_9 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_10 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_11 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_12 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_13 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_14 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods_mask_15 = -1; static int hf_x11_struct_xkb_IndicatorMap_vmods = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_RepeatKeys = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_SlowKeys = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_BounceKeys = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_StickyKeys = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_MouseKeys = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_MouseKeysAccel = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXKeys = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXTimeoutMask = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXFeedbackMask = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AudibleBellMask = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_Overlay1Mask = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_Overlay2Mask = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls_mask_IgnoreGroupLockMask = -1; static int hf_x11_struct_xkb_IndicatorMap_ctrls = -1; static int hf_x11_struct_xkb_ModDef = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_Shift = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_Lock = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_Control = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_1 = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_2 = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_3 = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_4 = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_5 = -1; static int hf_x11_struct_xkb_ModDef_mask_mask_Any = -1; static int hf_x11_struct_xkb_ModDef_mask = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_Shift = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_Lock = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_Control = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_1 = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_2 = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_3 = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_4 = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_5 = -1; static int hf_x11_struct_xkb_ModDef_realMods_mask_Any = -1; static int hf_x11_struct_xkb_ModDef_realMods = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_0 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_1 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_2 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_3 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_4 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_5 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_6 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_7 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_8 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_9 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_10 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_11 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_12 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_13 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_14 = -1; static int hf_x11_struct_xkb_ModDef_vmods_mask_15 = -1; static int hf_x11_struct_xkb_ModDef_vmods = -1; static int hf_x11_struct_xkb_KeyName = -1; static int hf_x11_struct_xkb_KeyName_name = -1; static int hf_x11_struct_xkb_KeyAlias = -1; static int hf_x11_struct_xkb_KeyAlias_real = -1; static int hf_x11_struct_xkb_KeyAlias_alias = -1; static int hf_x11_struct_xkb_CountedString16 = -1; static int hf_x11_struct_xkb_CountedString16_length = -1; static int hf_x11_struct_xkb_CountedString16_string = -1; static int hf_x11_struct_xkb_CountedString16_alignment_pad = -1; static int hf_x11_struct_xkb_KTMapEntry = -1; static int hf_x11_struct_xkb_KTMapEntry_active = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Shift = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Lock = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Control = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_1 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_2 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_3 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_4 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_5 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Any = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mask = -1; static int hf_x11_struct_xkb_KTMapEntry_level = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Shift = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Lock = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Control = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_1 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_2 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_3 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_4 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_5 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Any = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_mods = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_0 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_1 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_2 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_3 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_4 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_5 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_6 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_7 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_8 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_9 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_10 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_11 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_12 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_13 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_14 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_15 = -1; static int hf_x11_struct_xkb_KTMapEntry_mods_vmods = -1; static int hf_x11_struct_xkb_KeyType = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_Shift = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_Lock = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_Control = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_1 = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_2 = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_3 = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_4 = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_5 = -1; static int hf_x11_struct_xkb_KeyType_mods_mask_mask_Any = -1; static int hf_x11_struct_xkb_KeyType_mods_mask = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_Shift = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_Lock = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_Control = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_1 = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_2 = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_3 = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_4 = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_5 = -1; static int hf_x11_struct_xkb_KeyType_mods_mods_mask_Any = -1; static int hf_x11_struct_xkb_KeyType_mods_mods = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_0 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_1 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_2 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_3 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_4 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_5 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_6 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_7 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_8 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_9 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_10 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_11 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_12 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_13 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_14 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods_mask_15 = -1; static int hf_x11_struct_xkb_KeyType_mods_vmods = -1; static int hf_x11_struct_xkb_KeyType_numLevels = -1; static int hf_x11_struct_xkb_KeyType_nMapEntries = -1; static int hf_x11_struct_xkb_KeyType_hasPreserve = -1; static int hf_x11_struct_xkb_KeyType_map = -1; static int hf_x11_struct_xkb_KeyType_map_item = -1; static int hf_x11_struct_xkb_KeyType_preserve = -1; static int hf_x11_struct_xkb_KeyType_preserve_item = -1; static int hf_x11_struct_xkb_KeySymMap = -1; static int hf_x11_struct_xkb_KeySymMap_kt_index = -1; static int hf_x11_struct_xkb_KeySymMap_groupInfo = -1; static int hf_x11_struct_xkb_KeySymMap_width = -1; static int hf_x11_struct_xkb_KeySymMap_nSyms = -1; static int hf_x11_struct_xkb_KeySymMap_syms = -1; static int hf_x11_struct_xkb_KeySymMap_syms_item = -1; static int hf_x11_struct_xkb_CommonBehavior = -1; static int hf_x11_struct_xkb_CommonBehavior_type = -1; static int hf_x11_struct_xkb_CommonBehavior_data = -1; static int hf_x11_struct_xkb_DefaultBehavior = -1; static int hf_x11_struct_xkb_DefaultBehavior_type = -1; static int hf_x11_struct_xkb_RadioGroupBehavior = -1; static int hf_x11_struct_xkb_RadioGroupBehavior_type = -1; static int hf_x11_struct_xkb_RadioGroupBehavior_group = -1; static int hf_x11_struct_xkb_OverlayBehavior = -1; static int hf_x11_struct_xkb_OverlayBehavior_type = -1; static int hf_x11_struct_xkb_OverlayBehavior_key = -1; static int hf_x11_union_xkb_Behavior = -1; static int hf_x11_union_xkb_Behavior_common = -1; static int hf_x11_union_xkb_Behavior_default = -1; static int hf_x11_union_xkb_Behavior_lock = -1; static int hf_x11_union_xkb_Behavior_radioGroup = -1; static int hf_x11_union_xkb_Behavior_overlay1 = -1; static int hf_x11_union_xkb_Behavior_overlay2 = -1; static int hf_x11_union_xkb_Behavior_permamentLock = -1; static int hf_x11_union_xkb_Behavior_permamentRadioGroup = -1; static int hf_x11_union_xkb_Behavior_permamentOverlay1 = -1; static int hf_x11_union_xkb_Behavior_permamentOverlay2 = -1; static int hf_x11_union_xkb_Behavior_type = -1; static int hf_x11_struct_xkb_SetBehavior = -1; static int hf_x11_struct_xkb_SetBehavior_keycode = -1; static int hf_x11_struct_xkb_SetBehavior_behavior = -1; static int hf_x11_struct_xkb_SetExplicit = -1; static int hf_x11_struct_xkb_SetExplicit_keycode = -1; static int hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType1 = -1; static int hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType2 = -1; static int hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType3 = -1; static int hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType4 = -1; static int hf_x11_struct_xkb_SetExplicit_explicit_mask_Interpret = -1; static int hf_x11_struct_xkb_SetExplicit_explicit_mask_AutoRepeat = -1; static int hf_x11_struct_xkb_SetExplicit_explicit_mask_Behavior = -1; static int hf_x11_struct_xkb_SetExplicit_explicit_mask_VModMap = -1; static int hf_x11_struct_xkb_SetExplicit_explicit = -1; static int hf_x11_struct_xkb_KeyModMap = -1; static int hf_x11_struct_xkb_KeyModMap_keycode = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_Shift = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_Lock = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_Control = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_1 = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_2 = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_3 = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_4 = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_5 = -1; static int hf_x11_struct_xkb_KeyModMap_mods_mask_Any = -1; static int hf_x11_struct_xkb_KeyModMap_mods = -1; static int hf_x11_struct_xkb_KeyVModMap = -1; static int hf_x11_struct_xkb_KeyVModMap_keycode = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_0 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_1 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_2 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_3 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_4 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_5 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_6 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_7 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_8 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_9 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_10 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_11 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_12 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_13 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_14 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods_mask_15 = -1; static int hf_x11_struct_xkb_KeyVModMap_vmods = -1; static int hf_x11_struct_xkb_KTSetMapEntry = -1; static int hf_x11_struct_xkb_KTSetMapEntry_level = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Shift = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Lock = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Control = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_1 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_2 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_3 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_4 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_5 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Any = -1; static int hf_x11_struct_xkb_KTSetMapEntry_realMods = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_0 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_1 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_2 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_3 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_4 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_5 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_6 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_7 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_8 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_9 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_10 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_11 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_12 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_13 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_14 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_15 = -1; static int hf_x11_struct_xkb_KTSetMapEntry_virtualMods = -1; static int hf_x11_struct_xkb_SetKeyType = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_Shift = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_Lock = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_Control = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_1 = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_2 = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_3 = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_4 = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_5 = -1; static int hf_x11_struct_xkb_SetKeyType_mask_mask_Any = -1; static int hf_x11_struct_xkb_SetKeyType_mask = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_Shift = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_Lock = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_Control = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_1 = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_2 = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_3 = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_4 = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_5 = -1; static int hf_x11_struct_xkb_SetKeyType_realMods_mask_Any = -1; static int hf_x11_struct_xkb_SetKeyType_realMods = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_0 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_1 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_2 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_3 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_4 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_5 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_6 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_7 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_8 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_9 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_10 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_11 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_12 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_13 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_14 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods_mask_15 = -1; static int hf_x11_struct_xkb_SetKeyType_virtualMods = -1; static int hf_x11_struct_xkb_SetKeyType_numLevels = -1; static int hf_x11_struct_xkb_SetKeyType_nMapEntries = -1; static int hf_x11_struct_xkb_SetKeyType_preserve = -1; static int hf_x11_struct_xkb_SetKeyType_entries = -1; static int hf_x11_struct_xkb_SetKeyType_entries_item = -1; static int hf_x11_struct_xkb_SetKeyType_preserve_entries = -1; static int hf_x11_struct_xkb_SetKeyType_preserve_entries_item = -1; static int hf_x11_struct_xkb_Listing = -1; static int hf_x11_struct_xkb_Listing_flags = -1; static int hf_x11_struct_xkb_Listing_length = -1; static int hf_x11_struct_xkb_Listing_string = -1; static int hf_x11_struct_xkb_DeviceLedInfo = -1; static int hf_x11_struct_xkb_DeviceLedInfo_ledClass = -1; static int hf_x11_struct_xkb_DeviceLedInfo_ledID = -1; static int hf_x11_struct_xkb_DeviceLedInfo_namesPresent = -1; static int hf_x11_struct_xkb_DeviceLedInfo_mapsPresent = -1; static int hf_x11_struct_xkb_DeviceLedInfo_physIndicators = -1; static int hf_x11_struct_xkb_DeviceLedInfo_state = -1; static int hf_x11_struct_xkb_DeviceLedInfo_names = -1; static int hf_x11_struct_xkb_DeviceLedInfo_names_item = -1; static int hf_x11_struct_xkb_DeviceLedInfo_maps = -1; static int hf_x11_struct_xkb_DeviceLedInfo_maps_item = -1; static int hf_x11_struct_xkb_SANoAction = -1; static int hf_x11_struct_xkb_SANoAction_type = -1; static int hf_x11_struct_xkb_SASetMods = -1; static int hf_x11_struct_xkb_SASetMods_type = -1; static int hf_x11_struct_xkb_SASetMods_flags_mask_ClearLocks = -1; static int hf_x11_struct_xkb_SASetMods_flags_mask_LatchToLock = -1; static int hf_x11_struct_xkb_SASetMods_flags_mask_GroupAbsolute = -1; static int hf_x11_struct_xkb_SASetMods_flags = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_Shift = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_Lock = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_Control = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_1 = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_2 = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_3 = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_4 = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_5 = -1; static int hf_x11_struct_xkb_SASetMods_mask_mask_Any = -1; static int hf_x11_struct_xkb_SASetMods_mask = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_Shift = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_Lock = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_Control = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_1 = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_2 = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_3 = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_4 = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_5 = -1; static int hf_x11_struct_xkb_SASetMods_realMods_mask_Any = -1; static int hf_x11_struct_xkb_SASetMods_realMods = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_8 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_9 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_10 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_11 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_12 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_13 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_14 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_15 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsHigh = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow_mask_0 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow_mask_1 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow_mask_2 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow_mask_3 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow_mask_4 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow_mask_5 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow_mask_6 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow_mask_7 = -1; static int hf_x11_struct_xkb_SASetMods_vmodsLow = -1; static int hf_x11_struct_xkb_SASetGroup = -1; static int hf_x11_struct_xkb_SASetGroup_type = -1; static int hf_x11_struct_xkb_SASetGroup_flags_mask_ClearLocks = -1; static int hf_x11_struct_xkb_SASetGroup_flags_mask_LatchToLock = -1; static int hf_x11_struct_xkb_SASetGroup_flags_mask_GroupAbsolute = -1; static int hf_x11_struct_xkb_SASetGroup_flags = -1; static int hf_x11_struct_xkb_SASetGroup_group = -1; static int hf_x11_struct_xkb_SAMovePtr = -1; static int hf_x11_struct_xkb_SAMovePtr_type = -1; static int hf_x11_struct_xkb_SAMovePtr_flags_mask_NoAcceleration = -1; static int hf_x11_struct_xkb_SAMovePtr_flags_mask_MoveAbsoluteX = -1; static int hf_x11_struct_xkb_SAMovePtr_flags_mask_MoveAbsoluteY = -1; static int hf_x11_struct_xkb_SAMovePtr_flags = -1; static int hf_x11_struct_xkb_SAMovePtr_xHigh = -1; static int hf_x11_struct_xkb_SAMovePtr_xLow = -1; static int hf_x11_struct_xkb_SAMovePtr_yHigh = -1; static int hf_x11_struct_xkb_SAMovePtr_yLow = -1; static int hf_x11_struct_xkb_SAPtrBtn = -1; static int hf_x11_struct_xkb_SAPtrBtn_type = -1; static int hf_x11_struct_xkb_SAPtrBtn_flags = -1; static int hf_x11_struct_xkb_SAPtrBtn_count = -1; static int hf_x11_struct_xkb_SAPtrBtn_button = -1; static int hf_x11_struct_xkb_SALockPtrBtn = -1; static int hf_x11_struct_xkb_SALockPtrBtn_type = -1; static int hf_x11_struct_xkb_SALockPtrBtn_flags = -1; static int hf_x11_struct_xkb_SALockPtrBtn_button = -1; static int hf_x11_struct_xkb_SASetPtrDflt = -1; static int hf_x11_struct_xkb_SASetPtrDflt_type = -1; static int hf_x11_struct_xkb_SASetPtrDflt_flags_mask_AffectDfltButton = -1; static int hf_x11_struct_xkb_SASetPtrDflt_flags_mask_DfltBtnAbsolute = -1; static int hf_x11_struct_xkb_SASetPtrDflt_flags = -1; static int hf_x11_struct_xkb_SASetPtrDflt_affect_mask_AffectDfltButton = -1; static int hf_x11_struct_xkb_SASetPtrDflt_affect_mask_DfltBtnAbsolute = -1; static int hf_x11_struct_xkb_SASetPtrDflt_affect = -1; static int hf_x11_struct_xkb_SASetPtrDflt_value = -1; static int hf_x11_struct_xkb_SAIsoLock = -1; static int hf_x11_struct_xkb_SAIsoLock_type = -1; static int hf_x11_struct_xkb_SAIsoLock_flags_mask_NoLock = -1; static int hf_x11_struct_xkb_SAIsoLock_flags_mask_NoUnlock = -1; static int hf_x11_struct_xkb_SAIsoLock_flags_mask_GroupAbsolute = -1; static int hf_x11_struct_xkb_SAIsoLock_flags_mask_ISODfltIsGroup = -1; static int hf_x11_struct_xkb_SAIsoLock_flags = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_Shift = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_Lock = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_Control = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_1 = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_2 = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_3 = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_4 = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_5 = -1; static int hf_x11_struct_xkb_SAIsoLock_mask_mask_Any = -1; static int hf_x11_struct_xkb_SAIsoLock_mask = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_Shift = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_Lock = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_Control = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_1 = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_2 = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_3 = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_4 = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_5 = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods_mask_Any = -1; static int hf_x11_struct_xkb_SAIsoLock_realMods = -1; static int hf_x11_struct_xkb_SAIsoLock_group = -1; static int hf_x11_struct_xkb_SAIsoLock_affect_mask_Ctrls = -1; static int hf_x11_struct_xkb_SAIsoLock_affect_mask_Ptr = -1; static int hf_x11_struct_xkb_SAIsoLock_affect_mask_Group = -1; static int hf_x11_struct_xkb_SAIsoLock_affect_mask_Mods = -1; static int hf_x11_struct_xkb_SAIsoLock_affect = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_8 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_9 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_10 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_11 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_12 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_13 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_14 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_15 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsHigh = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_0 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_1 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_2 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_3 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_4 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_5 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_6 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_7 = -1; static int hf_x11_struct_xkb_SAIsoLock_vmodsLow = -1; static int hf_x11_struct_xkb_SATerminate = -1; static int hf_x11_struct_xkb_SATerminate_type = -1; static int hf_x11_struct_xkb_SASwitchScreen = -1; static int hf_x11_struct_xkb_SASwitchScreen_type = -1; static int hf_x11_struct_xkb_SASwitchScreen_flags = -1; static int hf_x11_struct_xkb_SASwitchScreen_newScreen = -1; static int hf_x11_struct_xkb_SASetControls = -1; static int hf_x11_struct_xkb_SASetControls_type = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_AccessXFeedback = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_AudibleBell = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_Overlay1 = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_Overlay2 = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_IgnoreGroupLock = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsHigh = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_RepeatKeys = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_SlowKeys = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_BounceKeys = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_StickyKeys = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_MouseKeys = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_MouseKeysAccel = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_AccessXKeys = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_AccessXTimeout = -1; static int hf_x11_struct_xkb_SASetControls_boolCtrlsLow = -1; static int hf_x11_struct_xkb_SAActionMessage = -1; static int hf_x11_struct_xkb_SAActionMessage_type = -1; static int hf_x11_struct_xkb_SAActionMessage_flags_mask_OnPress = -1; static int hf_x11_struct_xkb_SAActionMessage_flags_mask_OnRelease = -1; static int hf_x11_struct_xkb_SAActionMessage_flags_mask_GenKeyEvent = -1; static int hf_x11_struct_xkb_SAActionMessage_flags = -1; static int hf_x11_struct_xkb_SAActionMessage_message = -1; static int hf_x11_struct_xkb_SARedirectKey = -1; static int hf_x11_struct_xkb_SARedirectKey_type = -1; static int hf_x11_struct_xkb_SARedirectKey_newkey = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_Shift = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_Lock = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_Control = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_1 = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_2 = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_3 = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_4 = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_5 = -1; static int hf_x11_struct_xkb_SARedirectKey_mask_mask_Any = -1; static int hf_x11_struct_xkb_SARedirectKey_mask = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Shift = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Lock = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Control = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_1 = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_2 = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_3 = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_4 = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_5 = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Any = -1; static int hf_x11_struct_xkb_SARedirectKey_realModifiers = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_8 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_9 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_10 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_11 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_12 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_13 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_14 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_15 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_0 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_1 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_2 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_3 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_4 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_5 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_6 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_7 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_8 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_9 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_10 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_11 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_12 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_13 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_14 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_15 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsHigh = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_0 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_1 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_2 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_3 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_4 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_5 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_6 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_7 = -1; static int hf_x11_struct_xkb_SARedirectKey_vmodsLow = -1; static int hf_x11_struct_xkb_SADeviceBtn = -1; static int hf_x11_struct_xkb_SADeviceBtn_type = -1; static int hf_x11_struct_xkb_SADeviceBtn_flags = -1; static int hf_x11_struct_xkb_SADeviceBtn_count = -1; static int hf_x11_struct_xkb_SADeviceBtn_button = -1; static int hf_x11_struct_xkb_SADeviceBtn_device = -1; static int hf_x11_struct_xkb_SALockDeviceBtn = -1; static int hf_x11_struct_xkb_SALockDeviceBtn_type = -1; static int hf_x11_struct_xkb_SALockDeviceBtn_flags_mask_NoLock = -1; static int hf_x11_struct_xkb_SALockDeviceBtn_flags_mask_NoUnlock = -1; static int hf_x11_struct_xkb_SALockDeviceBtn_flags = -1; static int hf_x11_struct_xkb_SALockDeviceBtn_button = -1; static int hf_x11_struct_xkb_SALockDeviceBtn_device = -1; static int hf_x11_struct_xkb_SADeviceValuator = -1; static int hf_x11_struct_xkb_SADeviceValuator_type = -1; static int hf_x11_struct_xkb_SADeviceValuator_device = -1; static int hf_x11_struct_xkb_SADeviceValuator_val1what = -1; static int hf_x11_struct_xkb_SADeviceValuator_val1index = -1; static int hf_x11_struct_xkb_SADeviceValuator_val1value = -1; static int hf_x11_struct_xkb_SADeviceValuator_val2what = -1; static int hf_x11_struct_xkb_SADeviceValuator_val2index = -1; static int hf_x11_struct_xkb_SADeviceValuator_val2value = -1; static int hf_x11_struct_xkb_SIAction = -1; static int hf_x11_struct_xkb_SIAction_type = -1; static int hf_x11_struct_xkb_SIAction_data = -1; static int hf_x11_struct_xkb_SymInterpret = -1; static int hf_x11_struct_xkb_SymInterpret_sym = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_Shift = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_Lock = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_Control = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_1 = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_2 = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_3 = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_4 = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_5 = -1; static int hf_x11_struct_xkb_SymInterpret_mods_mask_Any = -1; static int hf_x11_struct_xkb_SymInterpret_mods = -1; static int hf_x11_struct_xkb_SymInterpret_match = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod_mask_0 = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod_mask_1 = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod_mask_2 = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod_mask_3 = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod_mask_4 = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod_mask_5 = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod_mask_6 = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod_mask_7 = -1; static int hf_x11_struct_xkb_SymInterpret_virtualMod = -1; static int hf_x11_struct_xkb_SymInterpret_flags = -1; static int hf_x11_struct_xkb_SymInterpret_action = -1; static int hf_x11_union_xkb_Action = -1; static int hf_x11_union_xkb_Action_noaction = -1; static int hf_x11_union_xkb_Action_setmods = -1; static int hf_x11_union_xkb_Action_latchmods = -1; static int hf_x11_union_xkb_Action_lockmods = -1; static int hf_x11_union_xkb_Action_setgroup = -1; static int hf_x11_union_xkb_Action_latchgroup = -1; static int hf_x11_union_xkb_Action_lockgroup = -1; static int hf_x11_union_xkb_Action_moveptr = -1; static int hf_x11_union_xkb_Action_ptrbtn = -1; static int hf_x11_union_xkb_Action_lockptrbtn = -1; static int hf_x11_union_xkb_Action_setptrdflt = -1; static int hf_x11_union_xkb_Action_isolock = -1; static int hf_x11_union_xkb_Action_terminate = -1; static int hf_x11_union_xkb_Action_switchscreen = -1; static int hf_x11_union_xkb_Action_setcontrols = -1; static int hf_x11_union_xkb_Action_lockcontrols = -1; static int hf_x11_union_xkb_Action_message = -1; static int hf_x11_union_xkb_Action_redirect = -1; static int hf_x11_union_xkb_Action_devbtn = -1; static int hf_x11_union_xkb_Action_lockdevbtn = -1; static int hf_x11_union_xkb_Action_devval = -1; static int hf_x11_union_xkb_Action_type = -1; static int hf_x11_xkb_UseExtension_wantedMajor = -1; static int hf_x11_xkb_UseExtension_wantedMinor = -1; static int hf_x11_xkb_UseExtension_reply_supported = -1; static int hf_x11_xkb_UseExtension_reply_serverMajor = -1; static int hf_x11_xkb_UseExtension_reply_serverMinor = -1; static int hf_x11_xkb_SelectEvents_deviceSpec = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_NewKeyboardNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_MapNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_StateNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_ControlsNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_IndicatorStateNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_IndicatorMapNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_NamesNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_CompatMapNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_BellNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_ActionMessage = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_AccessXNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich_mask_ExtensionDeviceNotify = -1; static int hf_x11_xkb_SelectEvents_affectWhich = -1; static int hf_x11_xkb_SelectEvents_clear_mask_NewKeyboardNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_MapNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_StateNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_ControlsNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_IndicatorStateNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_IndicatorMapNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_NamesNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_CompatMapNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_BellNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_ActionMessage = -1; static int hf_x11_xkb_SelectEvents_clear_mask_AccessXNotify = -1; static int hf_x11_xkb_SelectEvents_clear_mask_ExtensionDeviceNotify = -1; static int hf_x11_xkb_SelectEvents_clear = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_NewKeyboardNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_MapNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_StateNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_ControlsNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_IndicatorStateNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_IndicatorMapNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_NamesNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_CompatMapNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_BellNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_ActionMessage = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_AccessXNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll_mask_ExtensionDeviceNotify = -1; static int hf_x11_xkb_SelectEvents_selectAll = -1; static int hf_x11_xkb_SelectEvents_affectMap_mask_KeyTypes = -1; static int hf_x11_xkb_SelectEvents_affectMap_mask_KeySyms = -1; static int hf_x11_xkb_SelectEvents_affectMap_mask_ModifierMap = -1; static int hf_x11_xkb_SelectEvents_affectMap_mask_ExplicitComponents = -1; static int hf_x11_xkb_SelectEvents_affectMap_mask_KeyActions = -1; static int hf_x11_xkb_SelectEvents_affectMap_mask_KeyBehaviors = -1; static int hf_x11_xkb_SelectEvents_affectMap_mask_VirtualMods = -1; static int hf_x11_xkb_SelectEvents_affectMap_mask_VirtualModMap = -1; static int hf_x11_xkb_SelectEvents_affectMap = -1; static int hf_x11_xkb_SelectEvents_map_mask_KeyTypes = -1; static int hf_x11_xkb_SelectEvents_map_mask_KeySyms = -1; static int hf_x11_xkb_SelectEvents_map_mask_ModifierMap = -1; static int hf_x11_xkb_SelectEvents_map_mask_ExplicitComponents = -1; static int hf_x11_xkb_SelectEvents_map_mask_KeyActions = -1; static int hf_x11_xkb_SelectEvents_map_mask_KeyBehaviors = -1; static int hf_x11_xkb_SelectEvents_map_mask_VirtualMods = -1; static int hf_x11_xkb_SelectEvents_map_mask_VirtualModMap = -1; static int hf_x11_xkb_SelectEvents_map = -1; static int hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_Keycodes = -1; static int hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_Geometry = -1; static int hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_DeviceID = -1; static int hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard = -1; static int hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_Keycodes = -1; static int hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_Geometry = -1; static int hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_DeviceID = -1; static int hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierState = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierBase = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierLatch = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierLock = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupState = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupBase = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupLatch = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupLock = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatState = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GrabMods = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatGrabMods = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_LookupMods = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatLookupMods = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_PointerButtons = -1; static int hf_x11_xkb_SelectEvents_StateNotify_affectState = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierState = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierBase = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierLatch = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierLock = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupState = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupBase = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupLatch = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupLock = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatState = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GrabMods = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatGrabMods = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_LookupMods = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatLookupMods = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_PointerButtons = -1; static int hf_x11_xkb_SelectEvents_StateNotify_stateDetails = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_GroupsWrap = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_InternalMods = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_IgnoreLockMods = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_PerKeyRepeat = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_ControlsEnabled = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_GroupsWrap = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_InternalMods = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_IgnoreLockMods = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_PerKeyRepeat = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_ControlsEnabled = -1; static int hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails = -1; static int hf_x11_xkb_SelectEvents_IndicatorStateNotify_affectIndicatorState = -1; static int hf_x11_xkb_SelectEvents_IndicatorStateNotify_indicatorStateDetails = -1; static int hf_x11_xkb_SelectEvents_IndicatorMapNotify_affectIndicatorMap = -1; static int hf_x11_xkb_SelectEvents_IndicatorMapNotify_indicatorMapDetails = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Keycodes = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Geometry = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Symbols = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_PhysSymbols = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Types = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Compat = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyTypeNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KTLevelNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_IndicatorNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyAliases = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_VirtualModNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_GroupNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_RGNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_affectNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Keycodes = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Geometry = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Symbols = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_PhysSymbols = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Types = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Compat = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyTypeNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KTLevelNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_IndicatorNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyAliases = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_VirtualModNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_GroupNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_RGNames = -1; static int hf_x11_xkb_SelectEvents_NamesNotify_namesDetails = -1; static int hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat_mask_SymInterp = -1; static int hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat_mask_GroupCompat = -1; static int hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat = -1; static int hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails_mask_SymInterp = -1; static int hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails_mask_GroupCompat = -1; static int hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails = -1; static int hf_x11_xkb_SelectEvents_BellNotify_affectBell = -1; static int hf_x11_xkb_SelectEvents_BellNotify_bellDetails = -1; static int hf_x11_xkb_SelectEvents_ActionMessage_affectMsgDetails = -1; static int hf_x11_xkb_SelectEvents_ActionMessage_msgDetails = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKPress = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKAccept = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKReject = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKRelease = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_BKAccept = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_BKReject = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_AXKWarning = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKPress = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKAccept = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKReject = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKRelease = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_BKAccept = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_BKReject = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_AXKWarning = -1; static int hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_Keyboards = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_ButtonActions = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorNames = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorMaps = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorState = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_Keyboards = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_ButtonActions = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorNames = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorMaps = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorState = -1; static int hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails = -1; static int hf_x11_xkb_Bell_deviceSpec = -1; static int hf_x11_xkb_Bell_bellClass = -1; static int hf_x11_xkb_Bell_bellID = -1; static int hf_x11_xkb_Bell_percent = -1; static int hf_x11_xkb_Bell_forceSound = -1; static int hf_x11_xkb_Bell_eventOnly = -1; static int hf_x11_xkb_Bell_pitch = -1; static int hf_x11_xkb_Bell_duration = -1; static int hf_x11_xkb_Bell_name = -1; static int hf_x11_xkb_Bell_window = -1; static int hf_x11_xkb_GetState_deviceSpec = -1; static int hf_x11_xkb_GetState_reply_deviceID = -1; static int hf_x11_xkb_GetState_reply_mods_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_mods_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_mods_mask_Control = -1; static int hf_x11_xkb_GetState_reply_mods_mask_1 = -1; static int hf_x11_xkb_GetState_reply_mods_mask_2 = -1; static int hf_x11_xkb_GetState_reply_mods_mask_3 = -1; static int hf_x11_xkb_GetState_reply_mods_mask_4 = -1; static int hf_x11_xkb_GetState_reply_mods_mask_5 = -1; static int hf_x11_xkb_GetState_reply_mods_mask_Any = -1; static int hf_x11_xkb_GetState_reply_mods = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_Control = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_1 = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_2 = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_3 = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_4 = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_5 = -1; static int hf_x11_xkb_GetState_reply_baseMods_mask_Any = -1; static int hf_x11_xkb_GetState_reply_baseMods = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_Control = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_1 = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_2 = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_3 = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_4 = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_5 = -1; static int hf_x11_xkb_GetState_reply_latchedMods_mask_Any = -1; static int hf_x11_xkb_GetState_reply_latchedMods = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_Control = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_1 = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_2 = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_3 = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_4 = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_5 = -1; static int hf_x11_xkb_GetState_reply_lockedMods_mask_Any = -1; static int hf_x11_xkb_GetState_reply_lockedMods = -1; static int hf_x11_xkb_GetState_reply_group = -1; static int hf_x11_xkb_GetState_reply_lockedGroup = -1; static int hf_x11_xkb_GetState_reply_baseGroup = -1; static int hf_x11_xkb_GetState_reply_latchedGroup = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_Control = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_1 = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_2 = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_3 = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_4 = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_5 = -1; static int hf_x11_xkb_GetState_reply_compatState_mask_Any = -1; static int hf_x11_xkb_GetState_reply_compatState = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_Control = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_1 = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_2 = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_3 = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_4 = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_5 = -1; static int hf_x11_xkb_GetState_reply_grabMods_mask_Any = -1; static int hf_x11_xkb_GetState_reply_grabMods = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_Control = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_1 = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_2 = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_3 = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_4 = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_5 = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods_mask_Any = -1; static int hf_x11_xkb_GetState_reply_compatGrabMods = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_Control = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_1 = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_2 = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_3 = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_4 = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_5 = -1; static int hf_x11_xkb_GetState_reply_lookupMods_mask_Any = -1; static int hf_x11_xkb_GetState_reply_lookupMods = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_Control = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_1 = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_2 = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_3 = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_4 = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_5 = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods_mask_Any = -1; static int hf_x11_xkb_GetState_reply_compatLookupMods = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Shift = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Lock = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Control = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod1 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod2 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod3 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod4 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod5 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button1 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button2 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button3 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button4 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button5 = -1; static int hf_x11_xkb_GetState_reply_ptrBtnState = -1; static int hf_x11_xkb_LatchLockState_deviceSpec = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_Shift = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_Lock = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_Control = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_1 = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_2 = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_3 = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_4 = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_5 = -1; static int hf_x11_xkb_LatchLockState_affectModLocks_mask_Any = -1; static int hf_x11_xkb_LatchLockState_affectModLocks = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_Shift = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_Lock = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_Control = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_1 = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_2 = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_3 = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_4 = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_5 = -1; static int hf_x11_xkb_LatchLockState_modLocks_mask_Any = -1; static int hf_x11_xkb_LatchLockState_modLocks = -1; static int hf_x11_xkb_LatchLockState_lockGroup = -1; static int hf_x11_xkb_LatchLockState_groupLock = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_Shift = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_Lock = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_Control = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_1 = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_2 = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_3 = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_4 = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_5 = -1; static int hf_x11_xkb_LatchLockState_affectModLatches_mask_Any = -1; static int hf_x11_xkb_LatchLockState_affectModLatches = -1; static int hf_x11_xkb_LatchLockState_latchGroup = -1; static int hf_x11_xkb_LatchLockState_groupLatch = -1; static int hf_x11_xkb_GetControls_deviceSpec = -1; static int hf_x11_xkb_GetControls_reply_deviceID = -1; static int hf_x11_xkb_GetControls_reply_mouseKeysDfltBtn = -1; static int hf_x11_xkb_GetControls_reply_numGroups = -1; static int hf_x11_xkb_GetControls_reply_groupsWrap = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_Shift = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_Lock = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_Control = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_1 = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_2 = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_3 = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_4 = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_5 = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask_mask_Any = -1; static int hf_x11_xkb_GetControls_reply_internalModsMask = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Shift = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Lock = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Control = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_1 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_2 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_3 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_4 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_5 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Any = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsMask = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Shift = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Lock = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Control = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_1 = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_2 = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_3 = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_4 = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_5 = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Any = -1; static int hf_x11_xkb_GetControls_reply_internalModsRealMods = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Shift = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Lock = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Control = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_1 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_2 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_3 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_4 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_5 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Any = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_0 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_1 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_2 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_3 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_4 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_5 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_6 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_7 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_8 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_9 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_10 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_11 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_12 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_13 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_14 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods_mask_15 = -1; static int hf_x11_xkb_GetControls_reply_internalModsVmods = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_0 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_1 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_2 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_3 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_4 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_5 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_6 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_7 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_8 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_9 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_10 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_11 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_12 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_13 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_14 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_15 = -1; static int hf_x11_xkb_GetControls_reply_ignoreLockModsVmods = -1; static int hf_x11_xkb_GetControls_reply_repeatDelay = -1; static int hf_x11_xkb_GetControls_reply_repeatInterval = -1; static int hf_x11_xkb_GetControls_reply_slowKeysDelay = -1; static int hf_x11_xkb_GetControls_reply_debounceDelay = -1; static int hf_x11_xkb_GetControls_reply_mouseKeysDelay = -1; static int hf_x11_xkb_GetControls_reply_mouseKeysInterval = -1; static int hf_x11_xkb_GetControls_reply_mouseKeysTimeToMax = -1; static int hf_x11_xkb_GetControls_reply_mouseKeysMaxSpeed = -1; static int hf_x11_xkb_GetControls_reply_mouseKeysCurve = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_SKPressFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_SKAcceptFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_FeatureFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_SlowWarnFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_IndicatorFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_StickyKeysFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_TwoKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_LatchToLock = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_SKReleaseFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_SKRejectFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_BKRejectFB = -1; static int hf_x11_xkb_GetControls_reply_accessXOption_mask_DumbBell = -1; static int hf_x11_xkb_GetControls_reply_accessXOption = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeout = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKPressFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKAcceptFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_FeatureFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SlowWarnFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_IndicatorFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_StickyKeysFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_TwoKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_LatchToLock = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKReleaseFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKRejectFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_BKRejectFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_DumbBell = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKPressFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKAcceptFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_FeatureFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SlowWarnFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_IndicatorFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_StickyKeysFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_TwoKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_LatchToLock = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKReleaseFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKRejectFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_BKRejectFB = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_DumbBell = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_RepeatKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_SlowKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_BounceKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_StickyKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_MouseKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_MouseKeysAccel = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AudibleBellMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_Overlay1Mask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_Overlay2Mask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_RepeatKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_SlowKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_BounceKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_StickyKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_MouseKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_MouseKeysAccel = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXKeys = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AudibleBellMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_Overlay1Mask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_Overlay2Mask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_GetControls_reply_accessXTimeoutValues = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_RepeatKeys = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_SlowKeys = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_BounceKeys = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_StickyKeys = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_MouseKeys = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_MouseKeysAccel = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXKeys = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_AudibleBellMask = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_Overlay1Mask = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_Overlay2Mask = -1; static int hf_x11_xkb_GetControls_reply_enabledControls_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_GetControls_reply_enabledControls = -1; static int hf_x11_xkb_GetControls_reply_perKeyRepeat = -1; static int hf_x11_xkb_SetControls_deviceSpec = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_Shift = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_Lock = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_Control = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_1 = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_2 = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_3 = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_4 = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_5 = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods_mask_Any = -1; static int hf_x11_xkb_SetControls_affectInternalRealMods = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_Shift = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_Lock = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_Control = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_1 = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_2 = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_3 = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_4 = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_5 = -1; static int hf_x11_xkb_SetControls_internalRealMods_mask_Any = -1; static int hf_x11_xkb_SetControls_internalRealMods = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Shift = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Lock = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Control = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_1 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_2 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_3 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_4 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_5 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Any = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockRealMods = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Shift = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Lock = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Control = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_1 = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_2 = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_3 = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_4 = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_5 = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Any = -1; static int hf_x11_xkb_SetControls_ignoreLockRealMods = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_0 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_1 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_2 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_3 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_4 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_5 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_6 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_7 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_8 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_9 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_10 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_11 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_12 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_13 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_14 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_15 = -1; static int hf_x11_xkb_SetControls_affectInternalVirtualMods = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_0 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_1 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_2 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_3 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_4 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_5 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_6 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_7 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_8 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_9 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_10 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_11 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_12 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_13 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_14 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods_mask_15 = -1; static int hf_x11_xkb_SetControls_internalVirtualMods = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_0 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_1 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_2 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_3 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_4 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_5 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_6 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_7 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_8 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_9 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_10 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_11 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_12 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_13 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_14 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_15 = -1; static int hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_0 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_1 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_2 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_3 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_4 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_5 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_6 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_7 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_8 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_9 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_10 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_11 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_12 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_13 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_14 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_15 = -1; static int hf_x11_xkb_SetControls_ignoreLockVirtualMods = -1; static int hf_x11_xkb_SetControls_mouseKeysDfltBtn = -1; static int hf_x11_xkb_SetControls_groupsWrap = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_SKPressFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_SKAcceptFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_FeatureFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_SlowWarnFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_IndicatorFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_StickyKeysFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_TwoKeys = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_LatchToLock = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_SKReleaseFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_SKRejectFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_BKRejectFB = -1; static int hf_x11_xkb_SetControls_accessXOptions_mask_DumbBell = -1; static int hf_x11_xkb_SetControls_accessXOptions = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_RepeatKeys = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_SlowKeys = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_BounceKeys = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_StickyKeys = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_MouseKeys = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_MouseKeysAccel = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXKeys = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_AudibleBellMask = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_Overlay1Mask = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_Overlay2Mask = -1; static int hf_x11_xkb_SetControls_affectEnabledControls_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_SetControls_affectEnabledControls = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_RepeatKeys = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_SlowKeys = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_BounceKeys = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_StickyKeys = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_MouseKeys = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_MouseKeysAccel = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_AccessXKeys = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_AudibleBellMask = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_Overlay1Mask = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_Overlay2Mask = -1; static int hf_x11_xkb_SetControls_enabledControls_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_SetControls_enabledControls = -1; static int hf_x11_xkb_SetControls_changeControls_mask_GroupsWrap = -1; static int hf_x11_xkb_SetControls_changeControls_mask_InternalMods = -1; static int hf_x11_xkb_SetControls_changeControls_mask_IgnoreLockMods = -1; static int hf_x11_xkb_SetControls_changeControls_mask_PerKeyRepeat = -1; static int hf_x11_xkb_SetControls_changeControls_mask_ControlsEnabled = -1; static int hf_x11_xkb_SetControls_changeControls = -1; static int hf_x11_xkb_SetControls_repeatDelay = -1; static int hf_x11_xkb_SetControls_repeatInterval = -1; static int hf_x11_xkb_SetControls_slowKeysDelay = -1; static int hf_x11_xkb_SetControls_debounceDelay = -1; static int hf_x11_xkb_SetControls_mouseKeysDelay = -1; static int hf_x11_xkb_SetControls_mouseKeysInterval = -1; static int hf_x11_xkb_SetControls_mouseKeysTimeToMax = -1; static int hf_x11_xkb_SetControls_mouseKeysMaxSpeed = -1; static int hf_x11_xkb_SetControls_mouseKeysCurve = -1; static int hf_x11_xkb_SetControls_accessXTimeout = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_RepeatKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_SlowKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_BounceKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_StickyKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_MouseKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_MouseKeysAccel = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AudibleBellMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_Overlay1Mask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_Overlay2Mask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_RepeatKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_SlowKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_BounceKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_StickyKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_MouseKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_MouseKeysAccel = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AudibleBellMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_Overlay1Mask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_Overlay2Mask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutValues = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKPressFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKAcceptFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_FeatureFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SlowWarnFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_IndicatorFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_StickyKeysFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_TwoKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_LatchToLock = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKReleaseFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKRejectFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_BKRejectFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_DumbBell = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsMask = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKPressFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKAcceptFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_FeatureFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SlowWarnFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_IndicatorFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_StickyKeysFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_TwoKeys = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_LatchToLock = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKReleaseFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKRejectFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_BKRejectFB = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_DumbBell = -1; static int hf_x11_xkb_SetControls_accessXTimeoutOptionsValues = -1; static int hf_x11_xkb_SetControls_perKeyRepeat = -1; static int hf_x11_xkb_GetMap_deviceSpec = -1; static int hf_x11_xkb_GetMap_full_mask_KeyTypes = -1; static int hf_x11_xkb_GetMap_full_mask_KeySyms = -1; static int hf_x11_xkb_GetMap_full_mask_ModifierMap = -1; static int hf_x11_xkb_GetMap_full_mask_ExplicitComponents = -1; static int hf_x11_xkb_GetMap_full_mask_KeyActions = -1; static int hf_x11_xkb_GetMap_full_mask_KeyBehaviors = -1; static int hf_x11_xkb_GetMap_full_mask_VirtualMods = -1; static int hf_x11_xkb_GetMap_full_mask_VirtualModMap = -1; static int hf_x11_xkb_GetMap_full = -1; static int hf_x11_xkb_GetMap_partial_mask_KeyTypes = -1; static int hf_x11_xkb_GetMap_partial_mask_KeySyms = -1; static int hf_x11_xkb_GetMap_partial_mask_ModifierMap = -1; static int hf_x11_xkb_GetMap_partial_mask_ExplicitComponents = -1; static int hf_x11_xkb_GetMap_partial_mask_KeyActions = -1; static int hf_x11_xkb_GetMap_partial_mask_KeyBehaviors = -1; static int hf_x11_xkb_GetMap_partial_mask_VirtualMods = -1; static int hf_x11_xkb_GetMap_partial_mask_VirtualModMap = -1; static int hf_x11_xkb_GetMap_partial = -1; static int hf_x11_xkb_GetMap_firstType = -1; static int hf_x11_xkb_GetMap_nTypes = -1; static int hf_x11_xkb_GetMap_firstKeySym = -1; static int hf_x11_xkb_GetMap_nKeySyms = -1; static int hf_x11_xkb_GetMap_firstKeyAction = -1; static int hf_x11_xkb_GetMap_nKeyActions = -1; static int hf_x11_xkb_GetMap_firstKeyBehavior = -1; static int hf_x11_xkb_GetMap_nKeyBehaviors = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_0 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_1 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_2 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_3 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_4 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_5 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_6 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_7 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_8 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_9 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_10 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_11 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_12 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_13 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_14 = -1; static int hf_x11_xkb_GetMap_virtualMods_mask_15 = -1; static int hf_x11_xkb_GetMap_virtualMods = -1; static int hf_x11_xkb_GetMap_firstKeyExplicit = -1; static int hf_x11_xkb_GetMap_nKeyExplicit = -1; static int hf_x11_xkb_GetMap_firstModMapKey = -1; static int hf_x11_xkb_GetMap_nModMapKeys = -1; static int hf_x11_xkb_GetMap_firstVModMapKey = -1; static int hf_x11_xkb_GetMap_nVModMapKeys = -1; static int hf_x11_xkb_GetMap_reply_deviceID = -1; static int hf_x11_xkb_GetMap_reply_minKeyCode = -1; static int hf_x11_xkb_GetMap_reply_maxKeyCode = -1; static int hf_x11_xkb_GetMap_reply_present_mask_KeyTypes = -1; static int hf_x11_xkb_GetMap_reply_present_mask_KeySyms = -1; static int hf_x11_xkb_GetMap_reply_present_mask_ModifierMap = -1; static int hf_x11_xkb_GetMap_reply_present_mask_ExplicitComponents = -1; static int hf_x11_xkb_GetMap_reply_present_mask_KeyActions = -1; static int hf_x11_xkb_GetMap_reply_present_mask_KeyBehaviors = -1; static int hf_x11_xkb_GetMap_reply_present_mask_VirtualMods = -1; static int hf_x11_xkb_GetMap_reply_present_mask_VirtualModMap = -1; static int hf_x11_xkb_GetMap_reply_present = -1; static int hf_x11_xkb_GetMap_reply_firstType = -1; static int hf_x11_xkb_GetMap_reply_nTypes = -1; static int hf_x11_xkb_GetMap_reply_totalTypes = -1; static int hf_x11_xkb_GetMap_reply_firstKeySym = -1; static int hf_x11_xkb_GetMap_reply_totalSyms = -1; static int hf_x11_xkb_GetMap_reply_nKeySyms = -1; static int hf_x11_xkb_GetMap_reply_firstKeyAction = -1; static int hf_x11_xkb_GetMap_reply_totalActions = -1; static int hf_x11_xkb_GetMap_reply_nKeyActions = -1; static int hf_x11_xkb_GetMap_reply_firstKeyBehavior = -1; static int hf_x11_xkb_GetMap_reply_nKeyBehaviors = -1; static int hf_x11_xkb_GetMap_reply_totalKeyBehaviors = -1; static int hf_x11_xkb_GetMap_reply_firstKeyExplicit = -1; static int hf_x11_xkb_GetMap_reply_nKeyExplicit = -1; static int hf_x11_xkb_GetMap_reply_totalKeyExplicit = -1; static int hf_x11_xkb_GetMap_reply_firstModMapKey = -1; static int hf_x11_xkb_GetMap_reply_nModMapKeys = -1; static int hf_x11_xkb_GetMap_reply_totalModMapKeys = -1; static int hf_x11_xkb_GetMap_reply_firstVModMapKey = -1; static int hf_x11_xkb_GetMap_reply_nVModMapKeys = -1; static int hf_x11_xkb_GetMap_reply_totalVModMapKeys = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_0 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_1 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_2 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_3 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_4 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_5 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_6 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_7 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_8 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_9 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_10 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_11 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_12 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_13 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_14 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods_mask_15 = -1; static int hf_x11_xkb_GetMap_reply_virtualMods = -1; static int hf_x11_xkb_GetMap_reply_KeyTypes_types_rtrn = -1; static int hf_x11_xkb_GetMap_reply_KeySyms_syms_rtrn = -1; static int hf_x11_xkb_GetMap_reply_KeyActions_acts_rtrn_count = -1; static int hf_x11_xkb_GetMap_reply_KeyActions_acts_rtrn_acts = -1; static int hf_x11_xkb_GetMap_reply_KeyActions_acts_rtrn_acts_item = -1; static int hf_x11_xkb_GetMap_reply_KeyBehaviors_behaviors_rtrn = -1; static int hf_x11_xkb_GetMap_reply_KeyBehaviors_behaviors_rtrn_item = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_Shift = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_Lock = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_Control = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_1 = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_2 = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_3 = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_4 = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_5 = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_Any = -1; static int hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn = -1; static int hf_x11_xkb_GetMap_reply_ExplicitComponents_explicit_rtrn = -1; static int hf_x11_xkb_GetMap_reply_ExplicitComponents_explicit_rtrn_item = -1; static int hf_x11_xkb_GetMap_reply_ModifierMap_modmap_rtrn = -1; static int hf_x11_xkb_GetMap_reply_ModifierMap_modmap_rtrn_item = -1; static int hf_x11_xkb_GetMap_reply_VirtualModMap_vmodmap_rtrn = -1; static int hf_x11_xkb_GetMap_reply_VirtualModMap_vmodmap_rtrn_item = -1; static int hf_x11_xkb_SetMap_deviceSpec = -1; static int hf_x11_xkb_SetMap_present_mask_KeyTypes = -1; static int hf_x11_xkb_SetMap_present_mask_KeySyms = -1; static int hf_x11_xkb_SetMap_present_mask_ModifierMap = -1; static int hf_x11_xkb_SetMap_present_mask_ExplicitComponents = -1; static int hf_x11_xkb_SetMap_present_mask_KeyActions = -1; static int hf_x11_xkb_SetMap_present_mask_KeyBehaviors = -1; static int hf_x11_xkb_SetMap_present_mask_VirtualMods = -1; static int hf_x11_xkb_SetMap_present_mask_VirtualModMap = -1; static int hf_x11_xkb_SetMap_present = -1; static int hf_x11_xkb_SetMap_flags_mask_ResizeTypes = -1; static int hf_x11_xkb_SetMap_flags_mask_RecomputeActions = -1; static int hf_x11_xkb_SetMap_flags = -1; static int hf_x11_xkb_SetMap_minKeyCode = -1; static int hf_x11_xkb_SetMap_maxKeyCode = -1; static int hf_x11_xkb_SetMap_firstType = -1; static int hf_x11_xkb_SetMap_nTypes = -1; static int hf_x11_xkb_SetMap_firstKeySym = -1; static int hf_x11_xkb_SetMap_nKeySyms = -1; static int hf_x11_xkb_SetMap_totalSyms = -1; static int hf_x11_xkb_SetMap_firstKeyAction = -1; static int hf_x11_xkb_SetMap_nKeyActions = -1; static int hf_x11_xkb_SetMap_totalActions = -1; static int hf_x11_xkb_SetMap_firstKeyBehavior = -1; static int hf_x11_xkb_SetMap_nKeyBehaviors = -1; static int hf_x11_xkb_SetMap_totalKeyBehaviors = -1; static int hf_x11_xkb_SetMap_firstKeyExplicit = -1; static int hf_x11_xkb_SetMap_nKeyExplicit = -1; static int hf_x11_xkb_SetMap_totalKeyExplicit = -1; static int hf_x11_xkb_SetMap_firstModMapKey = -1; static int hf_x11_xkb_SetMap_nModMapKeys = -1; static int hf_x11_xkb_SetMap_totalModMapKeys = -1; static int hf_x11_xkb_SetMap_firstVModMapKey = -1; static int hf_x11_xkb_SetMap_nVModMapKeys = -1; static int hf_x11_xkb_SetMap_totalVModMapKeys = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_0 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_1 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_2 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_3 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_4 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_5 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_6 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_7 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_8 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_9 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_10 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_11 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_12 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_13 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_14 = -1; static int hf_x11_xkb_SetMap_virtualMods_mask_15 = -1; static int hf_x11_xkb_SetMap_virtualMods = -1; static int hf_x11_xkb_SetMap_KeyTypes_types = -1; static int hf_x11_xkb_SetMap_KeySyms_syms = -1; static int hf_x11_xkb_SetMap_KeyActions_actionsCount = -1; static int hf_x11_xkb_SetMap_KeyActions_actions = -1; static int hf_x11_xkb_SetMap_KeyActions_actions_item = -1; static int hf_x11_xkb_SetMap_KeyBehaviors_behaviors = -1; static int hf_x11_xkb_SetMap_KeyBehaviors_behaviors_item = -1; static int hf_x11_xkb_SetMap_VirtualMods_vmods = -1; static int hf_x11_xkb_SetMap_ExplicitComponents_explicit = -1; static int hf_x11_xkb_SetMap_ExplicitComponents_explicit_item = -1; static int hf_x11_xkb_SetMap_ModifierMap_modmap = -1; static int hf_x11_xkb_SetMap_ModifierMap_modmap_item = -1; static int hf_x11_xkb_SetMap_VirtualModMap_vmodmap = -1; static int hf_x11_xkb_SetMap_VirtualModMap_vmodmap_item = -1; static int hf_x11_xkb_GetCompatMap_deviceSpec = -1; static int hf_x11_xkb_GetCompatMap_groups_mask_Group1 = -1; static int hf_x11_xkb_GetCompatMap_groups_mask_Group2 = -1; static int hf_x11_xkb_GetCompatMap_groups_mask_Group3 = -1; static int hf_x11_xkb_GetCompatMap_groups_mask_Group4 = -1; static int hf_x11_xkb_GetCompatMap_groups = -1; static int hf_x11_xkb_GetCompatMap_getAllSI = -1; static int hf_x11_xkb_GetCompatMap_firstSI = -1; static int hf_x11_xkb_GetCompatMap_nSI = -1; static int hf_x11_xkb_GetCompatMap_reply_deviceID = -1; static int hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group1 = -1; static int hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group2 = -1; static int hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group3 = -1; static int hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group4 = -1; static int hf_x11_xkb_GetCompatMap_reply_groupsRtrn = -1; static int hf_x11_xkb_GetCompatMap_reply_firstSIRtrn = -1; static int hf_x11_xkb_GetCompatMap_reply_nSIRtrn = -1; static int hf_x11_xkb_GetCompatMap_reply_nTotalSI = -1; static int hf_x11_xkb_GetCompatMap_reply_si_rtrn = -1; static int hf_x11_xkb_GetCompatMap_reply_si_rtrn_item = -1; static int hf_x11_xkb_GetCompatMap_reply_group_rtrn = -1; static int hf_x11_xkb_GetCompatMap_reply_group_rtrn_item = -1; static int hf_x11_xkb_SetCompatMap_deviceSpec = -1; static int hf_x11_xkb_SetCompatMap_recomputeActions = -1; static int hf_x11_xkb_SetCompatMap_truncateSI = -1; static int hf_x11_xkb_SetCompatMap_groups_mask_Group1 = -1; static int hf_x11_xkb_SetCompatMap_groups_mask_Group2 = -1; static int hf_x11_xkb_SetCompatMap_groups_mask_Group3 = -1; static int hf_x11_xkb_SetCompatMap_groups_mask_Group4 = -1; static int hf_x11_xkb_SetCompatMap_groups = -1; static int hf_x11_xkb_SetCompatMap_firstSI = -1; static int hf_x11_xkb_SetCompatMap_nSI = -1; static int hf_x11_xkb_SetCompatMap_si = -1; static int hf_x11_xkb_SetCompatMap_si_item = -1; static int hf_x11_xkb_SetCompatMap_groupMaps = -1; static int hf_x11_xkb_SetCompatMap_groupMaps_item = -1; static int hf_x11_xkb_GetIndicatorState_deviceSpec = -1; static int hf_x11_xkb_GetIndicatorState_reply_deviceID = -1; static int hf_x11_xkb_GetIndicatorState_reply_state = -1; static int hf_x11_xkb_GetIndicatorMap_deviceSpec = -1; static int hf_x11_xkb_GetIndicatorMap_which = -1; static int hf_x11_xkb_GetIndicatorMap_reply_deviceID = -1; static int hf_x11_xkb_GetIndicatorMap_reply_which = -1; static int hf_x11_xkb_GetIndicatorMap_reply_realIndicators = -1; static int hf_x11_xkb_GetIndicatorMap_reply_nIndicators = -1; static int hf_x11_xkb_GetIndicatorMap_reply_maps = -1; static int hf_x11_xkb_GetIndicatorMap_reply_maps_item = -1; static int hf_x11_xkb_SetIndicatorMap_deviceSpec = -1; static int hf_x11_xkb_SetIndicatorMap_which = -1; static int hf_x11_xkb_SetIndicatorMap_maps = -1; static int hf_x11_xkb_SetIndicatorMap_maps_item = -1; static int hf_x11_xkb_GetNamedIndicator_deviceSpec = -1; static int hf_x11_xkb_GetNamedIndicator_ledClass = -1; static int hf_x11_xkb_GetNamedIndicator_ledID = -1; static int hf_x11_xkb_GetNamedIndicator_indicator = -1; static int hf_x11_xkb_GetNamedIndicator_reply_deviceID = -1; static int hf_x11_xkb_GetNamedIndicator_reply_indicator = -1; static int hf_x11_xkb_GetNamedIndicator_reply_found = -1; static int hf_x11_xkb_GetNamedIndicator_reply_on = -1; static int hf_x11_xkb_GetNamedIndicator_reply_realIndicator = -1; static int hf_x11_xkb_GetNamedIndicator_reply_ndx = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_LEDDrivesKB = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_NoAutomatic = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_NoExplicit = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_flags = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseBase = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseLatched = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseLocked = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseEffective = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseCompat = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_groups_mask_Any = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_groups = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseBase = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseLatched = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseLocked = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseEffective = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseCompat = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_whichMods = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Shift = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Lock = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Control = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_1 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_2 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_3 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_4 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_5 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Any = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_mods = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Shift = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Lock = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Control = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_1 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_2 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_3 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_4 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_5 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Any = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_realMods = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_0 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_1 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_2 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_3 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_4 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_5 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_6 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_7 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_8 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_9 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_10 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_11 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_12 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_13 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_14 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_15 = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_vmod = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_RepeatKeys = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_SlowKeys = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_BounceKeys = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_StickyKeys = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_MouseKeys = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_MouseKeysAccel = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXKeys = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AudibleBellMask = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_Overlay1Mask = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_Overlay2Mask = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_GetNamedIndicator_reply_map_ctrls = -1; static int hf_x11_xkb_GetNamedIndicator_reply_supported = -1; static int hf_x11_xkb_SetNamedIndicator_deviceSpec = -1; static int hf_x11_xkb_SetNamedIndicator_ledClass = -1; static int hf_x11_xkb_SetNamedIndicator_ledID = -1; static int hf_x11_xkb_SetNamedIndicator_indicator = -1; static int hf_x11_xkb_SetNamedIndicator_setState = -1; static int hf_x11_xkb_SetNamedIndicator_on = -1; static int hf_x11_xkb_SetNamedIndicator_setMap = -1; static int hf_x11_xkb_SetNamedIndicator_createMap = -1; static int hf_x11_xkb_SetNamedIndicator_map_flags_mask_LEDDrivesKB = -1; static int hf_x11_xkb_SetNamedIndicator_map_flags_mask_NoAutomatic = -1; static int hf_x11_xkb_SetNamedIndicator_map_flags_mask_NoExplicit = -1; static int hf_x11_xkb_SetNamedIndicator_map_flags = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseBase = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseLatched = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseLocked = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseEffective = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseCompat = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichGroups = -1; static int hf_x11_xkb_SetNamedIndicator_map_groups_mask_Any = -1; static int hf_x11_xkb_SetNamedIndicator_map_groups = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseBase = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseLatched = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseLocked = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseEffective = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseCompat = -1; static int hf_x11_xkb_SetNamedIndicator_map_whichMods = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Shift = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Lock = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Control = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_1 = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_2 = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_3 = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_4 = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_5 = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Any = -1; static int hf_x11_xkb_SetNamedIndicator_map_realMods = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_0 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_1 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_2 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_3 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_4 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_5 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_6 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_7 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_8 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_9 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_10 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_11 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_12 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_13 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_14 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods_mask_15 = -1; static int hf_x11_xkb_SetNamedIndicator_map_vmods = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_RepeatKeys = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_SlowKeys = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_BounceKeys = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_StickyKeys = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_MouseKeys = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_MouseKeysAccel = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXKeys = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AudibleBellMask = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_Overlay1Mask = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_Overlay2Mask = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_SetNamedIndicator_map_ctrls = -1; static int hf_x11_xkb_GetNames_deviceSpec = -1; static int hf_x11_xkb_GetNames_which_mask_Keycodes = -1; static int hf_x11_xkb_GetNames_which_mask_Geometry = -1; static int hf_x11_xkb_GetNames_which_mask_Symbols = -1; static int hf_x11_xkb_GetNames_which_mask_PhysSymbols = -1; static int hf_x11_xkb_GetNames_which_mask_Types = -1; static int hf_x11_xkb_GetNames_which_mask_Compat = -1; static int hf_x11_xkb_GetNames_which_mask_KeyTypeNames = -1; static int hf_x11_xkb_GetNames_which_mask_KTLevelNames = -1; static int hf_x11_xkb_GetNames_which_mask_IndicatorNames = -1; static int hf_x11_xkb_GetNames_which_mask_KeyNames = -1; static int hf_x11_xkb_GetNames_which_mask_KeyAliases = -1; static int hf_x11_xkb_GetNames_which_mask_VirtualModNames = -1; static int hf_x11_xkb_GetNames_which_mask_GroupNames = -1; static int hf_x11_xkb_GetNames_which_mask_RGNames = -1; static int hf_x11_xkb_GetNames_which = -1; static int hf_x11_xkb_GetNames_reply_deviceID = -1; static int hf_x11_xkb_GetNames_reply_which_mask_Keycodes = -1; static int hf_x11_xkb_GetNames_reply_which_mask_Geometry = -1; static int hf_x11_xkb_GetNames_reply_which_mask_Symbols = -1; static int hf_x11_xkb_GetNames_reply_which_mask_PhysSymbols = -1; static int hf_x11_xkb_GetNames_reply_which_mask_Types = -1; static int hf_x11_xkb_GetNames_reply_which_mask_Compat = -1; static int hf_x11_xkb_GetNames_reply_which_mask_KeyTypeNames = -1; static int hf_x11_xkb_GetNames_reply_which_mask_KTLevelNames = -1; static int hf_x11_xkb_GetNames_reply_which_mask_IndicatorNames = -1; static int hf_x11_xkb_GetNames_reply_which_mask_KeyNames = -1; static int hf_x11_xkb_GetNames_reply_which_mask_KeyAliases = -1; static int hf_x11_xkb_GetNames_reply_which_mask_VirtualModNames = -1; static int hf_x11_xkb_GetNames_reply_which_mask_GroupNames = -1; static int hf_x11_xkb_GetNames_reply_which_mask_RGNames = -1; static int hf_x11_xkb_GetNames_reply_which = -1; static int hf_x11_xkb_GetNames_reply_minKeyCode = -1; static int hf_x11_xkb_GetNames_reply_maxKeyCode = -1; static int hf_x11_xkb_GetNames_reply_nTypes = -1; static int hf_x11_xkb_GetNames_reply_groupNames_mask_Group1 = -1; static int hf_x11_xkb_GetNames_reply_groupNames_mask_Group2 = -1; static int hf_x11_xkb_GetNames_reply_groupNames_mask_Group3 = -1; static int hf_x11_xkb_GetNames_reply_groupNames_mask_Group4 = -1; static int hf_x11_xkb_GetNames_reply_groupNames = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_0 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_1 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_2 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_3 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_4 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_5 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_6 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_7 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_8 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_9 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_10 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_11 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_12 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_13 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_14 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods_mask_15 = -1; static int hf_x11_xkb_GetNames_reply_virtualMods = -1; static int hf_x11_xkb_GetNames_reply_firstKey = -1; static int hf_x11_xkb_GetNames_reply_nKeys = -1; static int hf_x11_xkb_GetNames_reply_indicators = -1; static int hf_x11_xkb_GetNames_reply_nRadioGroups = -1; static int hf_x11_xkb_GetNames_reply_nKeyAliases = -1; static int hf_x11_xkb_GetNames_reply_nKTLevels = -1; static int hf_x11_xkb_GetNames_reply_Keycodes_keycodesName = -1; static int hf_x11_xkb_GetNames_reply_Geometry_geometryName = -1; static int hf_x11_xkb_GetNames_reply_Symbols_symbolsName = -1; static int hf_x11_xkb_GetNames_reply_PhysSymbols_physSymbolsName = -1; static int hf_x11_xkb_GetNames_reply_Types_typesName = -1; static int hf_x11_xkb_GetNames_reply_Compat_compatName = -1; static int hf_x11_xkb_GetNames_reply_KeyTypeNames_typeNames = -1; static int hf_x11_xkb_GetNames_reply_KeyTypeNames_typeNames_item = -1; static int hf_x11_xkb_GetNames_reply_KTLevelNames_nLevelsPerType = -1; static int hf_x11_xkb_GetNames_reply_KTLevelNames_ktLevelNames = -1; static int hf_x11_xkb_GetNames_reply_KTLevelNames_ktLevelNames_item = -1; static int hf_x11_xkb_GetNames_reply_IndicatorNames_indicatorNames = -1; static int hf_x11_xkb_GetNames_reply_IndicatorNames_indicatorNames_item = -1; static int hf_x11_xkb_GetNames_reply_VirtualModNames_virtualModNames = -1; static int hf_x11_xkb_GetNames_reply_VirtualModNames_virtualModNames_item = -1; static int hf_x11_xkb_GetNames_reply_GroupNames_groups = -1; static int hf_x11_xkb_GetNames_reply_GroupNames_groups_item = -1; static int hf_x11_xkb_GetNames_reply_KeyNames_keyNames = -1; static int hf_x11_xkb_GetNames_reply_KeyNames_keyNames_item = -1; static int hf_x11_xkb_GetNames_reply_KeyAliases_keyAliases = -1; static int hf_x11_xkb_GetNames_reply_KeyAliases_keyAliases_item = -1; static int hf_x11_xkb_GetNames_reply_RGNames_radioGroupNames = -1; static int hf_x11_xkb_GetNames_reply_RGNames_radioGroupNames_item = -1; static int hf_x11_xkb_SetNames_deviceSpec = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_0 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_1 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_2 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_3 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_4 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_5 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_6 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_7 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_8 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_9 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_10 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_11 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_12 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_13 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_14 = -1; static int hf_x11_xkb_SetNames_virtualMods_mask_15 = -1; static int hf_x11_xkb_SetNames_virtualMods = -1; static int hf_x11_xkb_SetNames_which_mask_Keycodes = -1; static int hf_x11_xkb_SetNames_which_mask_Geometry = -1; static int hf_x11_xkb_SetNames_which_mask_Symbols = -1; static int hf_x11_xkb_SetNames_which_mask_PhysSymbols = -1; static int hf_x11_xkb_SetNames_which_mask_Types = -1; static int hf_x11_xkb_SetNames_which_mask_Compat = -1; static int hf_x11_xkb_SetNames_which_mask_KeyTypeNames = -1; static int hf_x11_xkb_SetNames_which_mask_KTLevelNames = -1; static int hf_x11_xkb_SetNames_which_mask_IndicatorNames = -1; static int hf_x11_xkb_SetNames_which_mask_KeyNames = -1; static int hf_x11_xkb_SetNames_which_mask_KeyAliases = -1; static int hf_x11_xkb_SetNames_which_mask_VirtualModNames = -1; static int hf_x11_xkb_SetNames_which_mask_GroupNames = -1; static int hf_x11_xkb_SetNames_which_mask_RGNames = -1; static int hf_x11_xkb_SetNames_which = -1; static int hf_x11_xkb_SetNames_firstType = -1; static int hf_x11_xkb_SetNames_nTypes = -1; static int hf_x11_xkb_SetNames_firstKTLevelt = -1; static int hf_x11_xkb_SetNames_nKTLevels = -1; static int hf_x11_xkb_SetNames_indicators = -1; static int hf_x11_xkb_SetNames_groupNames_mask_Group1 = -1; static int hf_x11_xkb_SetNames_groupNames_mask_Group2 = -1; static int hf_x11_xkb_SetNames_groupNames_mask_Group3 = -1; static int hf_x11_xkb_SetNames_groupNames_mask_Group4 = -1; static int hf_x11_xkb_SetNames_groupNames = -1; static int hf_x11_xkb_SetNames_nRadioGroups = -1; static int hf_x11_xkb_SetNames_firstKey = -1; static int hf_x11_xkb_SetNames_nKeys = -1; static int hf_x11_xkb_SetNames_nKeyAliases = -1; static int hf_x11_xkb_SetNames_totalKTLevelNames = -1; static int hf_x11_xkb_SetNames_Keycodes_keycodesName = -1; static int hf_x11_xkb_SetNames_Geometry_geometryName = -1; static int hf_x11_xkb_SetNames_Symbols_symbolsName = -1; static int hf_x11_xkb_SetNames_PhysSymbols_physSymbolsName = -1; static int hf_x11_xkb_SetNames_Types_typesName = -1; static int hf_x11_xkb_SetNames_Compat_compatName = -1; static int hf_x11_xkb_SetNames_KeyTypeNames_typeNames = -1; static int hf_x11_xkb_SetNames_KeyTypeNames_typeNames_item = -1; static int hf_x11_xkb_SetNames_KTLevelNames_nLevelsPerType = -1; static int hf_x11_xkb_SetNames_KTLevelNames_ktLevelNames = -1; static int hf_x11_xkb_SetNames_KTLevelNames_ktLevelNames_item = -1; static int hf_x11_xkb_SetNames_IndicatorNames_indicatorNames = -1; static int hf_x11_xkb_SetNames_IndicatorNames_indicatorNames_item = -1; static int hf_x11_xkb_SetNames_VirtualModNames_virtualModNames = -1; static int hf_x11_xkb_SetNames_VirtualModNames_virtualModNames_item = -1; static int hf_x11_xkb_SetNames_GroupNames_groups = -1; static int hf_x11_xkb_SetNames_GroupNames_groups_item = -1; static int hf_x11_xkb_SetNames_KeyNames_keyNames = -1; static int hf_x11_xkb_SetNames_KeyNames_keyNames_item = -1; static int hf_x11_xkb_SetNames_KeyAliases_keyAliases = -1; static int hf_x11_xkb_SetNames_KeyAliases_keyAliases_item = -1; static int hf_x11_xkb_SetNames_RGNames_radioGroupNames = -1; static int hf_x11_xkb_SetNames_RGNames_radioGroupNames_item = -1; static int hf_x11_xkb_PerClientFlags_deviceSpec = -1; static int hf_x11_xkb_PerClientFlags_change_mask_DetectableAutoRepeat = -1; static int hf_x11_xkb_PerClientFlags_change_mask_GrabsUseXKBState = -1; static int hf_x11_xkb_PerClientFlags_change_mask_AutoResetControls = -1; static int hf_x11_xkb_PerClientFlags_change_mask_LookupStateWhenGrabbed = -1; static int hf_x11_xkb_PerClientFlags_change_mask_SendEventUsesXKBState = -1; static int hf_x11_xkb_PerClientFlags_change = -1; static int hf_x11_xkb_PerClientFlags_value_mask_DetectableAutoRepeat = -1; static int hf_x11_xkb_PerClientFlags_value_mask_GrabsUseXKBState = -1; static int hf_x11_xkb_PerClientFlags_value_mask_AutoResetControls = -1; static int hf_x11_xkb_PerClientFlags_value_mask_LookupStateWhenGrabbed = -1; static int hf_x11_xkb_PerClientFlags_value_mask_SendEventUsesXKBState = -1; static int hf_x11_xkb_PerClientFlags_value = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_RepeatKeys = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_SlowKeys = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_BounceKeys = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_StickyKeys = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_MouseKeys = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_MouseKeysAccel = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXKeys = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AudibleBellMask = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_Overlay1Mask = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_Overlay2Mask = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_PerClientFlags_ctrlsToChange = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_RepeatKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_SlowKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_BounceKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_StickyKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_MouseKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_MouseKeysAccel = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_AudibleBellMask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_Overlay1Mask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_Overlay2Mask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrls = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_RepeatKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_SlowKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_BounceKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_StickyKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_MouseKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_MouseKeysAccel = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXKeys = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AudibleBellMask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_Overlay1Mask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_Overlay2Mask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_PerClientFlags_autoCtrlsValues = -1; static int hf_x11_xkb_PerClientFlags_reply_deviceID = -1; static int hf_x11_xkb_PerClientFlags_reply_supported_mask_DetectableAutoRepeat = -1; static int hf_x11_xkb_PerClientFlags_reply_supported_mask_GrabsUseXKBState = -1; static int hf_x11_xkb_PerClientFlags_reply_supported_mask_AutoResetControls = -1; static int hf_x11_xkb_PerClientFlags_reply_supported_mask_LookupStateWhenGrabbed = -1; static int hf_x11_xkb_PerClientFlags_reply_supported_mask_SendEventUsesXKBState = -1; static int hf_x11_xkb_PerClientFlags_reply_supported = -1; static int hf_x11_xkb_PerClientFlags_reply_value_mask_DetectableAutoRepeat = -1; static int hf_x11_xkb_PerClientFlags_reply_value_mask_GrabsUseXKBState = -1; static int hf_x11_xkb_PerClientFlags_reply_value_mask_AutoResetControls = -1; static int hf_x11_xkb_PerClientFlags_reply_value_mask_LookupStateWhenGrabbed = -1; static int hf_x11_xkb_PerClientFlags_reply_value_mask_SendEventUsesXKBState = -1; static int hf_x11_xkb_PerClientFlags_reply_value = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_RepeatKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_SlowKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_BounceKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_StickyKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_MouseKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_MouseKeysAccel = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AudibleBellMask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_Overlay1Mask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_Overlay2Mask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrls = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_RepeatKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_SlowKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_BounceKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_StickyKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_MouseKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_MouseKeysAccel = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXKeys = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AudibleBellMask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_Overlay1Mask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_Overlay2Mask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues = -1; static int hf_x11_xkb_ListComponents_deviceSpec = -1; static int hf_x11_xkb_ListComponents_maxNames = -1; static int hf_x11_xkb_ListComponents_reply_deviceID = -1; static int hf_x11_xkb_ListComponents_reply_nKeymaps = -1; static int hf_x11_xkb_ListComponents_reply_nKeycodes = -1; static int hf_x11_xkb_ListComponents_reply_nTypes = -1; static int hf_x11_xkb_ListComponents_reply_nCompatMaps = -1; static int hf_x11_xkb_ListComponents_reply_nSymbols = -1; static int hf_x11_xkb_ListComponents_reply_nGeometries = -1; static int hf_x11_xkb_ListComponents_reply_extra = -1; static int hf_x11_xkb_ListComponents_reply_keymaps = -1; static int hf_x11_xkb_ListComponents_reply_keycodes = -1; static int hf_x11_xkb_ListComponents_reply_types = -1; static int hf_x11_xkb_ListComponents_reply_compatMaps = -1; static int hf_x11_xkb_ListComponents_reply_symbols = -1; static int hf_x11_xkb_ListComponents_reply_geometries = -1; static int hf_x11_xkb_GetKbdByName_deviceSpec = -1; static int hf_x11_xkb_GetKbdByName_need_mask_Types = -1; static int hf_x11_xkb_GetKbdByName_need_mask_CompatMap = -1; static int hf_x11_xkb_GetKbdByName_need_mask_ClientSymbols = -1; static int hf_x11_xkb_GetKbdByName_need_mask_ServerSymbols = -1; static int hf_x11_xkb_GetKbdByName_need_mask_IndicatorMaps = -1; static int hf_x11_xkb_GetKbdByName_need_mask_KeyNames = -1; static int hf_x11_xkb_GetKbdByName_need_mask_Geometry = -1; static int hf_x11_xkb_GetKbdByName_need_mask_OtherNames = -1; static int hf_x11_xkb_GetKbdByName_need = -1; static int hf_x11_xkb_GetKbdByName_want_mask_Types = -1; static int hf_x11_xkb_GetKbdByName_want_mask_CompatMap = -1; static int hf_x11_xkb_GetKbdByName_want_mask_ClientSymbols = -1; static int hf_x11_xkb_GetKbdByName_want_mask_ServerSymbols = -1; static int hf_x11_xkb_GetKbdByName_want_mask_IndicatorMaps = -1; static int hf_x11_xkb_GetKbdByName_want_mask_KeyNames = -1; static int hf_x11_xkb_GetKbdByName_want_mask_Geometry = -1; static int hf_x11_xkb_GetKbdByName_want_mask_OtherNames = -1; static int hf_x11_xkb_GetKbdByName_want = -1; static int hf_x11_xkb_GetKbdByName_load = -1; static int hf_x11_xkb_GetKbdByName_reply_deviceID = -1; static int hf_x11_xkb_GetKbdByName_reply_minKeyCode = -1; static int hf_x11_xkb_GetKbdByName_reply_maxKeyCode = -1; static int hf_x11_xkb_GetKbdByName_reply_loaded = -1; static int hf_x11_xkb_GetKbdByName_reply_newKeyboard = -1; static int hf_x11_xkb_GetKbdByName_reply_found_mask_Types = -1; static int hf_x11_xkb_GetKbdByName_reply_found_mask_CompatMap = -1; static int hf_x11_xkb_GetKbdByName_reply_found_mask_ClientSymbols = -1; static int hf_x11_xkb_GetKbdByName_reply_found_mask_ServerSymbols = -1; static int hf_x11_xkb_GetKbdByName_reply_found_mask_IndicatorMaps = -1; static int hf_x11_xkb_GetKbdByName_reply_found_mask_KeyNames = -1; static int hf_x11_xkb_GetKbdByName_reply_found_mask_Geometry = -1; static int hf_x11_xkb_GetKbdByName_reply_found_mask_OtherNames = -1; static int hf_x11_xkb_GetKbdByName_reply_found = -1; static int hf_x11_xkb_GetKbdByName_reply_reported_mask_Types = -1; static int hf_x11_xkb_GetKbdByName_reply_reported_mask_CompatMap = -1; static int hf_x11_xkb_GetKbdByName_reply_reported_mask_ClientSymbols = -1; static int hf_x11_xkb_GetKbdByName_reply_reported_mask_ServerSymbols = -1; static int hf_x11_xkb_GetKbdByName_reply_reported_mask_IndicatorMaps = -1; static int hf_x11_xkb_GetKbdByName_reply_reported_mask_KeyNames = -1; static int hf_x11_xkb_GetKbdByName_reply_reported_mask_Geometry = -1; static int hf_x11_xkb_GetKbdByName_reply_reported_mask_OtherNames = -1; static int hf_x11_xkb_GetKbdByName_reply_reported = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_getmap_type = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_typeDeviceID = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_getmap_sequence = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_getmap_length = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_typeMinKeyCode = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_typeMaxKeyCode = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyTypes = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeySyms = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present_mask_ModifierMap = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present_mask_ExplicitComponents = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyActions = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyBehaviors = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present_mask_VirtualMods = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present_mask_VirtualModMap = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_present = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_firstType = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_nTypes = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_totalTypes = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_firstKeySym = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_totalSyms = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_nKeySyms = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_firstKeyAction = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_totalActions = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_nKeyActions = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_firstKeyBehavior = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_nKeyBehaviors = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_totalKeyBehaviors = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_firstKeyExplicit = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_nKeyExplicit = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_totalKeyExplicit = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_firstModMapKey = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_nModMapKeys = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_totalModMapKeys = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_firstVModMapKey = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_nVModMapKeys = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_totalVModMapKeys = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_0 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_1 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_2 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_3 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_4 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_5 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_6 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_7 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_8 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_9 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_10 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_11 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_12 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_13 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_14 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_15 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_virtualMods = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_KeyTypes_types_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_KeySyms_syms_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_KeyActions_acts_rtrn_count = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_KeyActions_acts_rtrn_acts = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_KeyActions_acts_rtrn_acts_item = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_KeyBehaviors_behaviors_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_KeyBehaviors_behaviors_rtrn_item = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_Shift = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_Lock = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_Control = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_1 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_2 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_3 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_4 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_5 = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_Any = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_ExplicitComponents_explicit_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_ExplicitComponents_explicit_rtrn_item = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_ModifierMap_modmap_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_ModifierMap_modmap_rtrn_item = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualModMap_vmodmap_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_Types_VirtualModMap_vmodmap_rtrn_item = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_type = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_compatDeviceID = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_sequence = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_length = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group1 = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group2 = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group3 = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group4 = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_firstSIRtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_nSIRtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_nTotalSI = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_si_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_si_rtrn_item = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_group_rtrn = -1; static int hf_x11_xkb_GetKbdByName_reply_CompatMap_group_rtrn_item = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_type = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatorDeviceID = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_sequence = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_length = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_which = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_realIndicators = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_nIndicators = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_maps = -1; static int hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_maps_item = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_type = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_keyDeviceID = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_sequence = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_length = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Keycodes = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Geometry = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Symbols = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_PhysSymbols = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Types = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Compat = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyTypeNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KTLevelNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_IndicatorNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyAliases = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_VirtualModNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_GroupNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_RGNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_which = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_keyMinKeyCode = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_keyMaxKeyCode = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_nTypes = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group1 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group2 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group3 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group4 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_0 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_1 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_2 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_3 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_4 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_5 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_6 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_7 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_8 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_9 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_10 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_11 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_12 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_13 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_14 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_15 = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_firstKey = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_nKeys = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_indicators = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_nRadioGroups = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_nKeyAliases = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_nKTLevels = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_Keycodes_keycodesName = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_Geometry_geometryName = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_Symbols_symbolsName = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_PhysSymbols_physSymbolsName = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_Types_typesName = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_Compat_compatName = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyTypeNames_typeNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyTypeNames_typeNames_item = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_nLevelsPerType = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_ktLevelNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_ktLevelNames_item = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_IndicatorNames_indicatorNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_IndicatorNames_indicatorNames_item = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_VirtualModNames_virtualModNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_VirtualModNames_virtualModNames_item = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_GroupNames_groups = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_GroupNames_groups_item = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyNames_keyNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyNames_keyNames_item = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyAliases_keyAliases = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyAliases_keyAliases_item = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_RGNames_radioGroupNames = -1; static int hf_x11_xkb_GetKbdByName_reply_KeyNames_RGNames_radioGroupNames_item = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_type = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_geometryDeviceID = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_sequence = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_length = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_name = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_geometryFound = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_widthMM = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_heightMM = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_nProperties = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_nColors = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_nShapes = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_nSections = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_nDoodads = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_nKeyAliases = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_baseColorNdx = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_labelColorNdx = -1; static int hf_x11_xkb_GetKbdByName_reply_Geometry_labelFont = -1; static int hf_x11_xkb_GetDeviceInfo_deviceSpec = -1; static int hf_x11_xkb_GetDeviceInfo_wanted_mask_Keyboards = -1; static int hf_x11_xkb_GetDeviceInfo_wanted_mask_ButtonActions = -1; static int hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorNames = -1; static int hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorMaps = -1; static int hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorState = -1; static int hf_x11_xkb_GetDeviceInfo_wanted = -1; static int hf_x11_xkb_GetDeviceInfo_allButtons = -1; static int hf_x11_xkb_GetDeviceInfo_firstButton = -1; static int hf_x11_xkb_GetDeviceInfo_nButtons = -1; static int hf_x11_xkb_GetDeviceInfo_ledClass = -1; static int hf_x11_xkb_GetDeviceInfo_ledID = -1; static int hf_x11_xkb_GetDeviceInfo_reply_deviceID = -1; static int hf_x11_xkb_GetDeviceInfo_reply_present_mask_Keyboards = -1; static int hf_x11_xkb_GetDeviceInfo_reply_present_mask_ButtonActions = -1; static int hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorNames = -1; static int hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorMaps = -1; static int hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorState = -1; static int hf_x11_xkb_GetDeviceInfo_reply_present = -1; static int hf_x11_xkb_GetDeviceInfo_reply_supported_mask_Keyboards = -1; static int hf_x11_xkb_GetDeviceInfo_reply_supported_mask_ButtonActions = -1; static int hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorNames = -1; static int hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorMaps = -1; static int hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorState = -1; static int hf_x11_xkb_GetDeviceInfo_reply_supported = -1; static int hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_Keyboards = -1; static int hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_ButtonActions = -1; static int hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorNames = -1; static int hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorMaps = -1; static int hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorState = -1; static int hf_x11_xkb_GetDeviceInfo_reply_unsupported = -1; static int hf_x11_xkb_GetDeviceInfo_reply_nDeviceLedFBs = -1; static int hf_x11_xkb_GetDeviceInfo_reply_firstBtnWanted = -1; static int hf_x11_xkb_GetDeviceInfo_reply_nBtnsWanted = -1; static int hf_x11_xkb_GetDeviceInfo_reply_firstBtnRtrn = -1; static int hf_x11_xkb_GetDeviceInfo_reply_nBtnsRtrn = -1; static int hf_x11_xkb_GetDeviceInfo_reply_totalBtns = -1; static int hf_x11_xkb_GetDeviceInfo_reply_hasOwnState = -1; static int hf_x11_xkb_GetDeviceInfo_reply_dfltKbdFB = -1; static int hf_x11_xkb_GetDeviceInfo_reply_dfltLedFB = -1; static int hf_x11_xkb_GetDeviceInfo_reply_devType = -1; static int hf_x11_xkb_GetDeviceInfo_reply_nameLen = -1; static int hf_x11_xkb_GetDeviceInfo_reply_name = -1; static int hf_x11_xkb_GetDeviceInfo_reply_btnActions = -1; static int hf_x11_xkb_GetDeviceInfo_reply_btnActions_item = -1; static int hf_x11_xkb_GetDeviceInfo_reply_leds = -1; static int hf_x11_xkb_SetDeviceInfo_deviceSpec = -1; static int hf_x11_xkb_SetDeviceInfo_firstBtn = -1; static int hf_x11_xkb_SetDeviceInfo_nBtns = -1; static int hf_x11_xkb_SetDeviceInfo_change_mask_Keyboards = -1; static int hf_x11_xkb_SetDeviceInfo_change_mask_ButtonActions = -1; static int hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorNames = -1; static int hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorMaps = -1; static int hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorState = -1; static int hf_x11_xkb_SetDeviceInfo_change = -1; static int hf_x11_xkb_SetDeviceInfo_nDeviceLedFBs = -1; static int hf_x11_xkb_SetDeviceInfo_btnActions = -1; static int hf_x11_xkb_SetDeviceInfo_btnActions_item = -1; static int hf_x11_xkb_SetDeviceInfo_leds = -1; static int hf_x11_xkb_SetDebuggingFlags_msgLength = -1; static int hf_x11_xkb_SetDebuggingFlags_affectFlags = -1; static int hf_x11_xkb_SetDebuggingFlags_flags = -1; static int hf_x11_xkb_SetDebuggingFlags_affectCtrls = -1; static int hf_x11_xkb_SetDebuggingFlags_ctrls = -1; static int hf_x11_xkb_SetDebuggingFlags_message = -1; static int hf_x11_xkb_SetDebuggingFlags_reply_currentFlags = -1; static int hf_x11_xkb_SetDebuggingFlags_reply_currentCtrls = -1; static int hf_x11_xkb_SetDebuggingFlags_reply_supportedFlags = -1; static int hf_x11_xkb_SetDebuggingFlags_reply_supportedCtrls = -1; static int hf_x11_xkb_MapNotify_xkbType = -1; static int hf_x11_xkb_MapNotify_time = -1; static int hf_x11_xkb_MapNotify_deviceID = -1; static int hf_x11_xkb_MapNotify_ptrBtnActions = -1; static int hf_x11_xkb_MapNotify_changed_mask_KeyTypes = -1; static int hf_x11_xkb_MapNotify_changed_mask_KeySyms = -1; static int hf_x11_xkb_MapNotify_changed_mask_ModifierMap = -1; static int hf_x11_xkb_MapNotify_changed_mask_ExplicitComponents = -1; static int hf_x11_xkb_MapNotify_changed_mask_KeyActions = -1; static int hf_x11_xkb_MapNotify_changed_mask_KeyBehaviors = -1; static int hf_x11_xkb_MapNotify_changed_mask_VirtualMods = -1; static int hf_x11_xkb_MapNotify_changed_mask_VirtualModMap = -1; static int hf_x11_xkb_MapNotify_changed = -1; static int hf_x11_xkb_MapNotify_minKeyCode = -1; static int hf_x11_xkb_MapNotify_maxKeyCode = -1; static int hf_x11_xkb_MapNotify_firstType = -1; static int hf_x11_xkb_MapNotify_nTypes = -1; static int hf_x11_xkb_MapNotify_firstKeySym = -1; static int hf_x11_xkb_MapNotify_nKeySyms = -1; static int hf_x11_xkb_MapNotify_firstKeyAct = -1; static int hf_x11_xkb_MapNotify_nKeyActs = -1; static int hf_x11_xkb_MapNotify_firstKeyBehavior = -1; static int hf_x11_xkb_MapNotify_nKeyBehavior = -1; static int hf_x11_xkb_MapNotify_firstKeyExplicit = -1; static int hf_x11_xkb_MapNotify_nKeyExplicit = -1; static int hf_x11_xkb_MapNotify_firstModMapKey = -1; static int hf_x11_xkb_MapNotify_nModMapKeys = -1; static int hf_x11_xkb_MapNotify_firstVModMapKey = -1; static int hf_x11_xkb_MapNotify_nVModMapKeys = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_0 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_1 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_2 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_3 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_4 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_5 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_6 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_7 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_8 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_9 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_10 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_11 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_12 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_13 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_14 = -1; static int hf_x11_xkb_MapNotify_virtualMods_mask_15 = -1; static int hf_x11_xkb_MapNotify_virtualMods = -1; static int hf_x11_xkb_StateNotify_xkbType = -1; static int hf_x11_xkb_StateNotify_time = -1; static int hf_x11_xkb_StateNotify_deviceID = -1; static int hf_x11_xkb_StateNotify_mods_mask_Shift = -1; static int hf_x11_xkb_StateNotify_mods_mask_Lock = -1; static int hf_x11_xkb_StateNotify_mods_mask_Control = -1; static int hf_x11_xkb_StateNotify_mods_mask_1 = -1; static int hf_x11_xkb_StateNotify_mods_mask_2 = -1; static int hf_x11_xkb_StateNotify_mods_mask_3 = -1; static int hf_x11_xkb_StateNotify_mods_mask_4 = -1; static int hf_x11_xkb_StateNotify_mods_mask_5 = -1; static int hf_x11_xkb_StateNotify_mods_mask_Any = -1; static int hf_x11_xkb_StateNotify_mods = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_Shift = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_Lock = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_Control = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_1 = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_2 = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_3 = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_4 = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_5 = -1; static int hf_x11_xkb_StateNotify_baseMods_mask_Any = -1; static int hf_x11_xkb_StateNotify_baseMods = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_Shift = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_Lock = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_Control = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_1 = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_2 = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_3 = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_4 = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_5 = -1; static int hf_x11_xkb_StateNotify_latchedMods_mask_Any = -1; static int hf_x11_xkb_StateNotify_latchedMods = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_Shift = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_Lock = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_Control = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_1 = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_2 = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_3 = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_4 = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_5 = -1; static int hf_x11_xkb_StateNotify_lockedMods_mask_Any = -1; static int hf_x11_xkb_StateNotify_lockedMods = -1; static int hf_x11_xkb_StateNotify_group = -1; static int hf_x11_xkb_StateNotify_baseGroup = -1; static int hf_x11_xkb_StateNotify_latchedGroup = -1; static int hf_x11_xkb_StateNotify_lockedGroup = -1; static int hf_x11_xkb_StateNotify_compatState_mask_Shift = -1; static int hf_x11_xkb_StateNotify_compatState_mask_Lock = -1; static int hf_x11_xkb_StateNotify_compatState_mask_Control = -1; static int hf_x11_xkb_StateNotify_compatState_mask_1 = -1; static int hf_x11_xkb_StateNotify_compatState_mask_2 = -1; static int hf_x11_xkb_StateNotify_compatState_mask_3 = -1; static int hf_x11_xkb_StateNotify_compatState_mask_4 = -1; static int hf_x11_xkb_StateNotify_compatState_mask_5 = -1; static int hf_x11_xkb_StateNotify_compatState_mask_Any = -1; static int hf_x11_xkb_StateNotify_compatState = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_Shift = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_Lock = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_Control = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_1 = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_2 = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_3 = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_4 = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_5 = -1; static int hf_x11_xkb_StateNotify_grabMods_mask_Any = -1; static int hf_x11_xkb_StateNotify_grabMods = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_Shift = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_Lock = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_Control = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_1 = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_2 = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_3 = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_4 = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_5 = -1; static int hf_x11_xkb_StateNotify_compatGrabMods_mask_Any = -1; static int hf_x11_xkb_StateNotify_compatGrabMods = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_Shift = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_Lock = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_Control = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_1 = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_2 = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_3 = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_4 = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_5 = -1; static int hf_x11_xkb_StateNotify_lookupMods_mask_Any = -1; static int hf_x11_xkb_StateNotify_lookupMods = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_Shift = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_Lock = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_Control = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_1 = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_2 = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_3 = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_4 = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_5 = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods_mask_Any = -1; static int hf_x11_xkb_StateNotify_compatLoockupMods = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Shift = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Lock = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Control = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod1 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod2 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod3 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod4 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod5 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Button1 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Button2 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Button3 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Button4 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState_mask_Button5 = -1; static int hf_x11_xkb_StateNotify_ptrBtnState = -1; static int hf_x11_xkb_StateNotify_changed_mask_ModifierState = -1; static int hf_x11_xkb_StateNotify_changed_mask_ModifierBase = -1; static int hf_x11_xkb_StateNotify_changed_mask_ModifierLatch = -1; static int hf_x11_xkb_StateNotify_changed_mask_ModifierLock = -1; static int hf_x11_xkb_StateNotify_changed_mask_GroupState = -1; static int hf_x11_xkb_StateNotify_changed_mask_GroupBase = -1; static int hf_x11_xkb_StateNotify_changed_mask_GroupLatch = -1; static int hf_x11_xkb_StateNotify_changed_mask_GroupLock = -1; static int hf_x11_xkb_StateNotify_changed_mask_CompatState = -1; static int hf_x11_xkb_StateNotify_changed_mask_GrabMods = -1; static int hf_x11_xkb_StateNotify_changed_mask_CompatGrabMods = -1; static int hf_x11_xkb_StateNotify_changed_mask_LookupMods = -1; static int hf_x11_xkb_StateNotify_changed_mask_CompatLookupMods = -1; static int hf_x11_xkb_StateNotify_changed_mask_PointerButtons = -1; static int hf_x11_xkb_StateNotify_changed = -1; static int hf_x11_xkb_StateNotify_keycode = -1; static int hf_x11_xkb_StateNotify_eventType = -1; static int hf_x11_xkb_StateNotify_requestMajor = -1; static int hf_x11_xkb_StateNotify_requestMinor = -1; static int hf_x11_xkb_ControlsNotify_xkbType = -1; static int hf_x11_xkb_ControlsNotify_time = -1; static int hf_x11_xkb_ControlsNotify_deviceID = -1; static int hf_x11_xkb_ControlsNotify_numGroups = -1; static int hf_x11_xkb_ControlsNotify_changedControls_mask_GroupsWrap = -1; static int hf_x11_xkb_ControlsNotify_changedControls_mask_InternalMods = -1; static int hf_x11_xkb_ControlsNotify_changedControls_mask_IgnoreLockMods = -1; static int hf_x11_xkb_ControlsNotify_changedControls_mask_PerKeyRepeat = -1; static int hf_x11_xkb_ControlsNotify_changedControls_mask_ControlsEnabled = -1; static int hf_x11_xkb_ControlsNotify_changedControls = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_RepeatKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_SlowKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_BounceKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_StickyKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_MouseKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_MouseKeysAccel = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_AudibleBellMask = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_Overlay1Mask = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_Overlay2Mask = -1; static int hf_x11_xkb_ControlsNotify_enabledControls_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_ControlsNotify_enabledControls = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_RepeatKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_SlowKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_BounceKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_StickyKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_MouseKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_MouseKeysAccel = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXKeys = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXTimeoutMask = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXFeedbackMask = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AudibleBellMask = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_Overlay1Mask = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_Overlay2Mask = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_IgnoreGroupLockMask = -1; static int hf_x11_xkb_ControlsNotify_enabledControlChanges = -1; static int hf_x11_xkb_ControlsNotify_keycode = -1; static int hf_x11_xkb_ControlsNotify_eventType = -1; static int hf_x11_xkb_ControlsNotify_requestMajor = -1; static int hf_x11_xkb_ControlsNotify_requestMinor = -1; static int hf_x11_xkb_IndicatorStateNotify_xkbType = -1; static int hf_x11_xkb_IndicatorStateNotify_time = -1; static int hf_x11_xkb_IndicatorStateNotify_deviceID = -1; static int hf_x11_xkb_IndicatorStateNotify_state = -1; static int hf_x11_xkb_IndicatorStateNotify_stateChanged = -1; static int hf_x11_xkb_IndicatorMapNotify_xkbType = -1; static int hf_x11_xkb_IndicatorMapNotify_time = -1; static int hf_x11_xkb_IndicatorMapNotify_deviceID = -1; static int hf_x11_xkb_IndicatorMapNotify_state = -1; static int hf_x11_xkb_IndicatorMapNotify_mapChanged = -1; static int hf_x11_xkb_NamesNotify_xkbType = -1; static int hf_x11_xkb_NamesNotify_time = -1; static int hf_x11_xkb_NamesNotify_deviceID = -1; static int hf_x11_xkb_NamesNotify_changed_mask_Keycodes = -1; static int hf_x11_xkb_NamesNotify_changed_mask_Geometry = -1; static int hf_x11_xkb_NamesNotify_changed_mask_Symbols = -1; static int hf_x11_xkb_NamesNotify_changed_mask_PhysSymbols = -1; static int hf_x11_xkb_NamesNotify_changed_mask_Types = -1; static int hf_x11_xkb_NamesNotify_changed_mask_Compat = -1; static int hf_x11_xkb_NamesNotify_changed_mask_KeyTypeNames = -1; static int hf_x11_xkb_NamesNotify_changed_mask_KTLevelNames = -1; static int hf_x11_xkb_NamesNotify_changed_mask_IndicatorNames = -1; static int hf_x11_xkb_NamesNotify_changed_mask_KeyNames = -1; static int hf_x11_xkb_NamesNotify_changed_mask_KeyAliases = -1; static int hf_x11_xkb_NamesNotify_changed_mask_VirtualModNames = -1; static int hf_x11_xkb_NamesNotify_changed_mask_GroupNames = -1; static int hf_x11_xkb_NamesNotify_changed_mask_RGNames = -1; static int hf_x11_xkb_NamesNotify_changed = -1; static int hf_x11_xkb_NamesNotify_firstType = -1; static int hf_x11_xkb_NamesNotify_nTypes = -1; static int hf_x11_xkb_NamesNotify_firstLevelName = -1; static int hf_x11_xkb_NamesNotify_nLevelNames = -1; static int hf_x11_xkb_NamesNotify_nRadioGroups = -1; static int hf_x11_xkb_NamesNotify_nKeyAliases = -1; static int hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group1 = -1; static int hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group2 = -1; static int hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group3 = -1; static int hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group4 = -1; static int hf_x11_xkb_NamesNotify_changedGroupNames = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_0 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_1 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_2 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_3 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_4 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_5 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_6 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_7 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_8 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_9 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_10 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_11 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_12 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_13 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_14 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods_mask_15 = -1; static int hf_x11_xkb_NamesNotify_changedVirtualMods = -1; static int hf_x11_xkb_NamesNotify_firstKey = -1; static int hf_x11_xkb_NamesNotify_nKeys = -1; static int hf_x11_xkb_NamesNotify_changedIndicators = -1; static int hf_x11_xkb_CompatMapNotify_xkbType = -1; static int hf_x11_xkb_CompatMapNotify_time = -1; static int hf_x11_xkb_CompatMapNotify_deviceID = -1; static int hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group1 = -1; static int hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group2 = -1; static int hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group3 = -1; static int hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group4 = -1; static int hf_x11_xkb_CompatMapNotify_changedGroups = -1; static int hf_x11_xkb_CompatMapNotify_firstSI = -1; static int hf_x11_xkb_CompatMapNotify_nSI = -1; static int hf_x11_xkb_CompatMapNotify_nTotalSI = -1; static int hf_x11_xkb_BellNotify_xkbType = -1; static int hf_x11_xkb_BellNotify_time = -1; static int hf_x11_xkb_BellNotify_deviceID = -1; static int hf_x11_xkb_BellNotify_bellClass = -1; static int hf_x11_xkb_BellNotify_bellID = -1; static int hf_x11_xkb_BellNotify_percent = -1; static int hf_x11_xkb_BellNotify_pitch = -1; static int hf_x11_xkb_BellNotify_duration = -1; static int hf_x11_xkb_BellNotify_name = -1; static int hf_x11_xkb_BellNotify_window = -1; static int hf_x11_xkb_BellNotify_eventOnly = -1; static int hf_x11_xkb_ActionMessage_xkbType = -1; static int hf_x11_xkb_ActionMessage_time = -1; static int hf_x11_xkb_ActionMessage_deviceID = -1; static int hf_x11_xkb_ActionMessage_keycode = -1; static int hf_x11_xkb_ActionMessage_press = -1; static int hf_x11_xkb_ActionMessage_keyEventFollows = -1; static int hf_x11_xkb_ActionMessage_mods_mask_Shift = -1; static int hf_x11_xkb_ActionMessage_mods_mask_Lock = -1; static int hf_x11_xkb_ActionMessage_mods_mask_Control = -1; static int hf_x11_xkb_ActionMessage_mods_mask_1 = -1; static int hf_x11_xkb_ActionMessage_mods_mask_2 = -1; static int hf_x11_xkb_ActionMessage_mods_mask_3 = -1; static int hf_x11_xkb_ActionMessage_mods_mask_4 = -1; static int hf_x11_xkb_ActionMessage_mods_mask_5 = -1; static int hf_x11_xkb_ActionMessage_mods_mask_Any = -1; static int hf_x11_xkb_ActionMessage_mods = -1; static int hf_x11_xkb_ActionMessage_group = -1; static int hf_x11_xkb_ActionMessage_message = -1; static int hf_x11_xkb_AccessXNotify_xkbType = -1; static int hf_x11_xkb_AccessXNotify_time = -1; static int hf_x11_xkb_AccessXNotify_deviceID = -1; static int hf_x11_xkb_AccessXNotify_keycode = -1; static int hf_x11_xkb_AccessXNotify_detailt_mask_SKPress = -1; static int hf_x11_xkb_AccessXNotify_detailt_mask_SKAccept = -1; static int hf_x11_xkb_AccessXNotify_detailt_mask_SKReject = -1; static int hf_x11_xkb_AccessXNotify_detailt_mask_SKRelease = -1; static int hf_x11_xkb_AccessXNotify_detailt_mask_BKAccept = -1; static int hf_x11_xkb_AccessXNotify_detailt_mask_BKReject = -1; static int hf_x11_xkb_AccessXNotify_detailt_mask_AXKWarning = -1; static int hf_x11_xkb_AccessXNotify_detailt = -1; static int hf_x11_xkb_AccessXNotify_slowKeysDelay = -1; static int hf_x11_xkb_AccessXNotify_debounceDelay = -1; static int hf_x11_xkb_ExtensionDeviceNotify_xkbType = -1; static int hf_x11_xkb_ExtensionDeviceNotify_time = -1; static int hf_x11_xkb_ExtensionDeviceNotify_deviceID = -1; static int hf_x11_xkb_ExtensionDeviceNotify_reason_mask_Keyboards = -1; static int hf_x11_xkb_ExtensionDeviceNotify_reason_mask_ButtonActions = -1; static int hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorNames = -1; static int hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorMaps = -1; static int hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorState = -1; static int hf_x11_xkb_ExtensionDeviceNotify_reason = -1; static int hf_x11_xkb_ExtensionDeviceNotify_ledClass = -1; static int hf_x11_xkb_ExtensionDeviceNotify_ledID = -1; static int hf_x11_xkb_ExtensionDeviceNotify_ledsDefined = -1; static int hf_x11_xkb_ExtensionDeviceNotify_ledState = -1; static int hf_x11_xkb_ExtensionDeviceNotify_firstButton = -1; static int hf_x11_xkb_ExtensionDeviceNotify_nButtons = -1; static int hf_x11_xkb_ExtensionDeviceNotify_supported_mask_Keyboards = -1; static int hf_x11_xkb_ExtensionDeviceNotify_supported_mask_ButtonActions = -1; static int hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorNames = -1; static int hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorMaps = -1; static int hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorState = -1; static int hf_x11_xkb_ExtensionDeviceNotify_supported = -1; static int hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_Keyboards = -1; static int hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_ButtonActions = -1; static int hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorNames = -1; static int hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorMaps = -1; static int hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorState = -1; static int hf_x11_xkb_ExtensionDeviceNotify_unsupported = -1; static int hf_x11_xkb_extension_minor = -1; static int hf_x11_struct_xprint_PRINTER = -1; static int hf_x11_struct_xprint_PRINTER_nameLen = -1; static int hf_x11_struct_xprint_PRINTER_name = -1; static int hf_x11_struct_xprint_PRINTER_descLen = -1; static int hf_x11_struct_xprint_PRINTER_description = -1; static int hf_x11_xprint_PrintQueryVersion_reply_major_version = -1; static int hf_x11_xprint_PrintQueryVersion_reply_minor_version = -1; static int hf_x11_xprint_PrintGetPrinterList_printerNameLen = -1; static int hf_x11_xprint_PrintGetPrinterList_localeLen = -1; static int hf_x11_xprint_PrintGetPrinterList_printer_name = -1; static int hf_x11_xprint_PrintGetPrinterList_locale = -1; static int hf_x11_xprint_PrintGetPrinterList_reply_listCount = -1; static int hf_x11_xprint_PrintGetPrinterList_reply_printers = -1; static int hf_x11_xprint_CreateContext_context_id = -1; static int hf_x11_xprint_CreateContext_printerNameLen = -1; static int hf_x11_xprint_CreateContext_localeLen = -1; static int hf_x11_xprint_CreateContext_printerName = -1; static int hf_x11_xprint_CreateContext_locale = -1; static int hf_x11_xprint_PrintSetContext_context = -1; static int hf_x11_xprint_PrintGetContext_reply_context = -1; static int hf_x11_xprint_PrintDestroyContext_context = -1; static int hf_x11_xprint_PrintGetScreenOfContext_reply_root = -1; static int hf_x11_xprint_PrintStartJob_output_mode = -1; static int hf_x11_xprint_PrintEndJob_cancel = -1; static int hf_x11_xprint_PrintStartDoc_driver_mode = -1; static int hf_x11_xprint_PrintEndDoc_cancel = -1; static int hf_x11_xprint_PrintPutDocumentData_drawable = -1; static int hf_x11_xprint_PrintPutDocumentData_len_data = -1; static int hf_x11_xprint_PrintPutDocumentData_len_fmt = -1; static int hf_x11_xprint_PrintPutDocumentData_len_options = -1; static int hf_x11_xprint_PrintPutDocumentData_data = -1; static int hf_x11_xprint_PrintPutDocumentData_doc_format = -1; static int hf_x11_xprint_PrintPutDocumentData_options = -1; static int hf_x11_xprint_PrintGetDocumentData_context = -1; static int hf_x11_xprint_PrintGetDocumentData_max_bytes = -1; static int hf_x11_xprint_PrintGetDocumentData_reply_status_code = -1; static int hf_x11_xprint_PrintGetDocumentData_reply_finished_flag = -1; static int hf_x11_xprint_PrintGetDocumentData_reply_dataLen = -1; static int hf_x11_xprint_PrintGetDocumentData_reply_data = -1; static int hf_x11_xprint_PrintStartPage_window = -1; static int hf_x11_xprint_PrintEndPage_cancel = -1; static int hf_x11_xprint_PrintSelectInput_context = -1; static int hf_x11_xprint_PrintSelectInput_event_mask = -1; static int hf_x11_xprint_PrintInputSelected_context = -1; static int hf_x11_xprint_PrintInputSelected_reply_event_mask = -1; static int hf_x11_xprint_PrintInputSelected_reply_all_events_mask = -1; static int hf_x11_xprint_PrintGetAttributes_context = -1; static int hf_x11_xprint_PrintGetAttributes_pool = -1; static int hf_x11_xprint_PrintGetAttributes_reply_stringLen = -1; static int hf_x11_xprint_PrintGetAttributes_reply_attributes = -1; static int hf_x11_xprint_PrintGetOneAttributes_context = -1; static int hf_x11_xprint_PrintGetOneAttributes_nameLen = -1; static int hf_x11_xprint_PrintGetOneAttributes_pool = -1; static int hf_x11_xprint_PrintGetOneAttributes_name = -1; static int hf_x11_xprint_PrintGetOneAttributes_reply_valueLen = -1; static int hf_x11_xprint_PrintGetOneAttributes_reply_value = -1; static int hf_x11_xprint_PrintSetAttributes_context = -1; static int hf_x11_xprint_PrintSetAttributes_stringLen = -1; static int hf_x11_xprint_PrintSetAttributes_pool = -1; static int hf_x11_xprint_PrintSetAttributes_rule = -1; static int hf_x11_xprint_PrintSetAttributes_attributes = -1; static int hf_x11_xprint_PrintGetPageDimensions_context = -1; static int hf_x11_xprint_PrintGetPageDimensions_reply_width = -1; static int hf_x11_xprint_PrintGetPageDimensions_reply_height = -1; static int hf_x11_xprint_PrintGetPageDimensions_reply_offset_x = -1; static int hf_x11_xprint_PrintGetPageDimensions_reply_offset_y = -1; static int hf_x11_xprint_PrintGetPageDimensions_reply_reproducible_width = -1; static int hf_x11_xprint_PrintGetPageDimensions_reply_reproducible_height = -1; static int hf_x11_xprint_PrintQueryScreens_reply_listCount = -1; static int hf_x11_xprint_PrintQueryScreens_reply_roots = -1; static int hf_x11_xprint_PrintQueryScreens_reply_roots_item = -1; static int hf_x11_xprint_PrintSetImageResolution_context = -1; static int hf_x11_xprint_PrintSetImageResolution_image_resolution = -1; static int hf_x11_xprint_PrintSetImageResolution_reply_status = -1; static int hf_x11_xprint_PrintSetImageResolution_reply_previous_resolutions = -1; static int hf_x11_xprint_PrintGetImageResolution_context = -1; static int hf_x11_xprint_PrintGetImageResolution_reply_image_resolution = -1; static int hf_x11_xprint_AttributNotify_detail = -1; static int hf_x11_xprint_AttributNotify_context = -1; static int hf_x11_xprint_extension_minor = -1; static int hf_x11_xselinux_QueryVersion_client_major = -1; static int hf_x11_xselinux_QueryVersion_client_minor = -1; static int hf_x11_xselinux_QueryVersion_reply_server_major = -1; static int hf_x11_xselinux_QueryVersion_reply_server_minor = -1; static int hf_x11_xselinux_SetDeviceCreateContext_context_len = -1; static int hf_x11_xselinux_SetDeviceCreateContext_context = -1; static int hf_x11_xselinux_GetDeviceCreateContext_reply_context_len = -1; static int hf_x11_xselinux_GetDeviceCreateContext_reply_context = -1; static int hf_x11_xselinux_SetDeviceContext_device = -1; static int hf_x11_xselinux_SetDeviceContext_context_len = -1; static int hf_x11_xselinux_SetDeviceContext_context = -1; static int hf_x11_xselinux_GetDeviceContext_device = -1; static int hf_x11_xselinux_GetDeviceContext_reply_context_len = -1; static int hf_x11_xselinux_GetDeviceContext_reply_context = -1; static int hf_x11_xselinux_SetWindowCreateContext_context_len = -1; static int hf_x11_xselinux_SetWindowCreateContext_context = -1; static int hf_x11_xselinux_GetWindowCreateContext_reply_context_len = -1; static int hf_x11_xselinux_GetWindowCreateContext_reply_context = -1; static int hf_x11_xselinux_GetWindowContext_window = -1; static int hf_x11_xselinux_GetWindowContext_reply_context_len = -1; static int hf_x11_xselinux_GetWindowContext_reply_context = -1; static int hf_x11_struct_xselinux_ListItem = -1; static int hf_x11_struct_xselinux_ListItem_name = -1; static int hf_x11_struct_xselinux_ListItem_object_context_len = -1; static int hf_x11_struct_xselinux_ListItem_data_context_len = -1; static int hf_x11_struct_xselinux_ListItem_object_context = -1; static int hf_x11_struct_xselinux_ListItem_data_context = -1; static int hf_x11_xselinux_SetPropertyCreateContext_context_len = -1; static int hf_x11_xselinux_SetPropertyCreateContext_context = -1; static int hf_x11_xselinux_GetPropertyCreateContext_reply_context_len = -1; static int hf_x11_xselinux_GetPropertyCreateContext_reply_context = -1; static int hf_x11_xselinux_SetPropertyUseContext_context_len = -1; static int hf_x11_xselinux_SetPropertyUseContext_context = -1; static int hf_x11_xselinux_GetPropertyUseContext_reply_context_len = -1; static int hf_x11_xselinux_GetPropertyUseContext_reply_context = -1; static int hf_x11_xselinux_GetPropertyContext_window = -1; static int hf_x11_xselinux_GetPropertyContext_property = -1; static int hf_x11_xselinux_GetPropertyContext_reply_context_len = -1; static int hf_x11_xselinux_GetPropertyContext_reply_context = -1; static int hf_x11_xselinux_GetPropertyDataContext_window = -1; static int hf_x11_xselinux_GetPropertyDataContext_property = -1; static int hf_x11_xselinux_GetPropertyDataContext_reply_context_len = -1; static int hf_x11_xselinux_GetPropertyDataContext_reply_context = -1; static int hf_x11_xselinux_ListProperties_window = -1; static int hf_x11_xselinux_ListProperties_reply_properties_len = -1; static int hf_x11_xselinux_ListProperties_reply_properties = -1; static int hf_x11_xselinux_SetSelectionCreateContext_context_len = -1; static int hf_x11_xselinux_SetSelectionCreateContext_context = -1; static int hf_x11_xselinux_GetSelectionCreateContext_reply_context_len = -1; static int hf_x11_xselinux_GetSelectionCreateContext_reply_context = -1; static int hf_x11_xselinux_SetSelectionUseContext_context_len = -1; static int hf_x11_xselinux_SetSelectionUseContext_context = -1; static int hf_x11_xselinux_GetSelectionUseContext_reply_context_len = -1; static int hf_x11_xselinux_GetSelectionUseContext_reply_context = -1; static int hf_x11_xselinux_GetSelectionContext_selection = -1; static int hf_x11_xselinux_GetSelectionContext_reply_context_len = -1; static int hf_x11_xselinux_GetSelectionContext_reply_context = -1; static int hf_x11_xselinux_GetSelectionDataContext_selection = -1; static int hf_x11_xselinux_GetSelectionDataContext_reply_context_len = -1; static int hf_x11_xselinux_GetSelectionDataContext_reply_context = -1; static int hf_x11_xselinux_ListSelections_reply_selections_len = -1; static int hf_x11_xselinux_ListSelections_reply_selections = -1; static int hf_x11_xselinux_GetClientContext_resource = -1; static int hf_x11_xselinux_GetClientContext_reply_context_len = -1; static int hf_x11_xselinux_GetClientContext_reply_context = -1; static int hf_x11_xselinux_extension_minor = -1; static int hf_x11_xtest_GetVersion_major_version = -1; static int hf_x11_xtest_GetVersion_minor_version = -1; static int hf_x11_xtest_GetVersion_reply_major_version = -1; static int hf_x11_xtest_GetVersion_reply_minor_version = -1; static int hf_x11_xtest_CompareCursor_window = -1; static int hf_x11_xtest_CompareCursor_cursor = -1; static int hf_x11_xtest_CompareCursor_reply_same = -1; static int hf_x11_xtest_FakeInput_type = -1; static int hf_x11_xtest_FakeInput_detail = -1; static int hf_x11_xtest_FakeInput_time = -1; static int hf_x11_xtest_FakeInput_root = -1; static int hf_x11_xtest_FakeInput_rootX = -1; static int hf_x11_xtest_FakeInput_rootY = -1; static int hf_x11_xtest_FakeInput_deviceid = -1; static int hf_x11_xtest_GrabControl_impervious = -1; static int hf_x11_xtest_extension_minor = -1; static int hf_x11_struct_xv_Rational = -1; static int hf_x11_struct_xv_Rational_numerator = -1; static int hf_x11_struct_xv_Rational_denominator = -1; static int hf_x11_struct_xv_Format = -1; static int hf_x11_struct_xv_Format_visual = -1; static int hf_x11_struct_xv_Format_depth = -1; static int hf_x11_struct_xv_AdaptorInfo = -1; static int hf_x11_struct_xv_AdaptorInfo_base_id = -1; static int hf_x11_struct_xv_AdaptorInfo_name_size = -1; static int hf_x11_struct_xv_AdaptorInfo_num_ports = -1; static int hf_x11_struct_xv_AdaptorInfo_num_formats = -1; static int hf_x11_struct_xv_AdaptorInfo_type_mask_InputMask = -1; static int hf_x11_struct_xv_AdaptorInfo_type_mask_OutputMask = -1; static int hf_x11_struct_xv_AdaptorInfo_type_mask_VideoMask = -1; static int hf_x11_struct_xv_AdaptorInfo_type_mask_StillMask = -1; static int hf_x11_struct_xv_AdaptorInfo_type_mask_ImageMask = -1; static int hf_x11_struct_xv_AdaptorInfo_type = -1; static int hf_x11_struct_xv_AdaptorInfo_name = -1; static int hf_x11_struct_xv_AdaptorInfo_formats = -1; static int hf_x11_struct_xv_AdaptorInfo_formats_item = -1; static int hf_x11_struct_xv_EncodingInfo = -1; static int hf_x11_struct_xv_EncodingInfo_encoding = -1; static int hf_x11_struct_xv_EncodingInfo_name_size = -1; static int hf_x11_struct_xv_EncodingInfo_width = -1; static int hf_x11_struct_xv_EncodingInfo_height = -1; static int hf_x11_struct_xv_EncodingInfo_rate = -1; static int hf_x11_struct_xv_EncodingInfo_name = -1; static int hf_x11_struct_xv_AttributeInfo = -1; static int hf_x11_struct_xv_AttributeInfo_flags_mask_Gettable = -1; static int hf_x11_struct_xv_AttributeInfo_flags_mask_Settable = -1; static int hf_x11_struct_xv_AttributeInfo_flags = -1; static int hf_x11_struct_xv_AttributeInfo_min = -1; static int hf_x11_struct_xv_AttributeInfo_max = -1; static int hf_x11_struct_xv_AttributeInfo_size = -1; static int hf_x11_struct_xv_AttributeInfo_name = -1; static int hf_x11_struct_xv_ImageFormatInfo = -1; static int hf_x11_struct_xv_ImageFormatInfo_id = -1; static int hf_x11_struct_xv_ImageFormatInfo_type = -1; static int hf_x11_struct_xv_ImageFormatInfo_byte_order = -1; static int hf_x11_struct_xv_ImageFormatInfo_guid = -1; static int hf_x11_struct_xv_ImageFormatInfo_bpp = -1; static int hf_x11_struct_xv_ImageFormatInfo_num_planes = -1; static int hf_x11_struct_xv_ImageFormatInfo_depth = -1; static int hf_x11_struct_xv_ImageFormatInfo_red_mask = -1; static int hf_x11_struct_xv_ImageFormatInfo_green_mask = -1; static int hf_x11_struct_xv_ImageFormatInfo_blue_mask = -1; static int hf_x11_struct_xv_ImageFormatInfo_format = -1; static int hf_x11_struct_xv_ImageFormatInfo_y_sample_bits = -1; static int hf_x11_struct_xv_ImageFormatInfo_u_sample_bits = -1; static int hf_x11_struct_xv_ImageFormatInfo_v_sample_bits = -1; static int hf_x11_struct_xv_ImageFormatInfo_vhorz_y_period = -1; static int hf_x11_struct_xv_ImageFormatInfo_vhorz_u_period = -1; static int hf_x11_struct_xv_ImageFormatInfo_vhorz_v_period = -1; static int hf_x11_struct_xv_ImageFormatInfo_vvert_y_period = -1; static int hf_x11_struct_xv_ImageFormatInfo_vvert_u_period = -1; static int hf_x11_struct_xv_ImageFormatInfo_vvert_v_period = -1; static int hf_x11_struct_xv_ImageFormatInfo_vcomp_order = -1; static int hf_x11_struct_xv_ImageFormatInfo_vscanline_order = -1; static int hf_x11_xv_PortNotify_time = -1; static int hf_x11_xv_PortNotify_port = -1; static int hf_x11_xv_PortNotify_attribute = -1; static int hf_x11_xv_PortNotify_value = -1; static int hf_x11_xv_QueryExtension_reply_major = -1; static int hf_x11_xv_QueryExtension_reply_minor = -1; static int hf_x11_xv_QueryAdaptors_window = -1; static int hf_x11_xv_QueryAdaptors_reply_num_adaptors = -1; static int hf_x11_xv_QueryAdaptors_reply_info = -1; static int hf_x11_xv_QueryEncodings_port = -1; static int hf_x11_xv_QueryEncodings_reply_num_encodings = -1; static int hf_x11_xv_QueryEncodings_reply_info = -1; static int hf_x11_xv_GrabPort_port = -1; static int hf_x11_xv_GrabPort_time = -1; static int hf_x11_xv_GrabPort_reply_result = -1; static int hf_x11_xv_UngrabPort_port = -1; static int hf_x11_xv_UngrabPort_time = -1; static int hf_x11_xv_PutVideo_port = -1; static int hf_x11_xv_PutVideo_drawable = -1; static int hf_x11_xv_PutVideo_gc = -1; static int hf_x11_xv_PutVideo_vid_x = -1; static int hf_x11_xv_PutVideo_vid_y = -1; static int hf_x11_xv_PutVideo_vid_w = -1; static int hf_x11_xv_PutVideo_vid_h = -1; static int hf_x11_xv_PutVideo_drw_x = -1; static int hf_x11_xv_PutVideo_drw_y = -1; static int hf_x11_xv_PutVideo_drw_w = -1; static int hf_x11_xv_PutVideo_drw_h = -1; static int hf_x11_xv_PutStill_port = -1; static int hf_x11_xv_PutStill_drawable = -1; static int hf_x11_xv_PutStill_gc = -1; static int hf_x11_xv_PutStill_vid_x = -1; static int hf_x11_xv_PutStill_vid_y = -1; static int hf_x11_xv_PutStill_vid_w = -1; static int hf_x11_xv_PutStill_vid_h = -1; static int hf_x11_xv_PutStill_drw_x = -1; static int hf_x11_xv_PutStill_drw_y = -1; static int hf_x11_xv_PutStill_drw_w = -1; static int hf_x11_xv_PutStill_drw_h = -1; static int hf_x11_xv_GetVideo_port = -1; static int hf_x11_xv_GetVideo_drawable = -1; static int hf_x11_xv_GetVideo_gc = -1; static int hf_x11_xv_GetVideo_vid_x = -1; static int hf_x11_xv_GetVideo_vid_y = -1; static int hf_x11_xv_GetVideo_vid_w = -1; static int hf_x11_xv_GetVideo_vid_h = -1; static int hf_x11_xv_GetVideo_drw_x = -1; static int hf_x11_xv_GetVideo_drw_y = -1; static int hf_x11_xv_GetVideo_drw_w = -1; static int hf_x11_xv_GetVideo_drw_h = -1; static int hf_x11_xv_GetStill_port = -1; static int hf_x11_xv_GetStill_drawable = -1; static int hf_x11_xv_GetStill_gc = -1; static int hf_x11_xv_GetStill_vid_x = -1; static int hf_x11_xv_GetStill_vid_y = -1; static int hf_x11_xv_GetStill_vid_w = -1; static int hf_x11_xv_GetStill_vid_h = -1; static int hf_x11_xv_GetStill_drw_x = -1; static int hf_x11_xv_GetStill_drw_y = -1; static int hf_x11_xv_GetStill_drw_w = -1; static int hf_x11_xv_GetStill_drw_h = -1; static int hf_x11_xv_StopVideo_port = -1; static int hf_x11_xv_StopVideo_drawable = -1; static int hf_x11_xv_SelectVideoNotify_drawable = -1; static int hf_x11_xv_SelectVideoNotify_onoff = -1; static int hf_x11_xv_SelectPortNotify_port = -1; static int hf_x11_xv_SelectPortNotify_onoff = -1; static int hf_x11_xv_QueryBestSize_port = -1; static int hf_x11_xv_QueryBestSize_vid_w = -1; static int hf_x11_xv_QueryBestSize_vid_h = -1; static int hf_x11_xv_QueryBestSize_drw_w = -1; static int hf_x11_xv_QueryBestSize_drw_h = -1; static int hf_x11_xv_QueryBestSize_motion = -1; static int hf_x11_xv_QueryBestSize_reply_actual_width = -1; static int hf_x11_xv_QueryBestSize_reply_actual_height = -1; static int hf_x11_xv_SetPortAttribute_port = -1; static int hf_x11_xv_SetPortAttribute_attribute = -1; static int hf_x11_xv_SetPortAttribute_value = -1; static int hf_x11_xv_GetPortAttribute_port = -1; static int hf_x11_xv_GetPortAttribute_attribute = -1; static int hf_x11_xv_GetPortAttribute_reply_value = -1; static int hf_x11_xv_QueryPortAttributes_port = -1; static int hf_x11_xv_QueryPortAttributes_reply_num_attributes = -1; static int hf_x11_xv_QueryPortAttributes_reply_text_size = -1; static int hf_x11_xv_QueryPortAttributes_reply_attributes = -1; static int hf_x11_xv_ListImageFormats_port = -1; static int hf_x11_xv_ListImageFormats_reply_num_formats = -1; static int hf_x11_xv_ListImageFormats_reply_format = -1; static int hf_x11_xv_ListImageFormats_reply_format_item = -1; static int hf_x11_xv_QueryImageAttributes_port = -1; static int hf_x11_xv_QueryImageAttributes_id = -1; static int hf_x11_xv_QueryImageAttributes_width = -1; static int hf_x11_xv_QueryImageAttributes_height = -1; static int hf_x11_xv_QueryImageAttributes_reply_num_planes = -1; static int hf_x11_xv_QueryImageAttributes_reply_data_size = -1; static int hf_x11_xv_QueryImageAttributes_reply_width = -1; static int hf_x11_xv_QueryImageAttributes_reply_height = -1; static int hf_x11_xv_QueryImageAttributes_reply_pitches = -1; static int hf_x11_xv_QueryImageAttributes_reply_pitches_item = -1; static int hf_x11_xv_QueryImageAttributes_reply_offsets = -1; static int hf_x11_xv_QueryImageAttributes_reply_offsets_item = -1; static int hf_x11_xv_PutImage_port = -1; static int hf_x11_xv_PutImage_drawable = -1; static int hf_x11_xv_PutImage_gc = -1; static int hf_x11_xv_PutImage_id = -1; static int hf_x11_xv_PutImage_src_x = -1; static int hf_x11_xv_PutImage_src_y = -1; static int hf_x11_xv_PutImage_src_w = -1; static int hf_x11_xv_PutImage_src_h = -1; static int hf_x11_xv_PutImage_drw_x = -1; static int hf_x11_xv_PutImage_drw_y = -1; static int hf_x11_xv_PutImage_drw_w = -1; static int hf_x11_xv_PutImage_drw_h = -1; static int hf_x11_xv_PutImage_width = -1; static int hf_x11_xv_PutImage_height = -1; static int hf_x11_xv_PutImage_data = -1; static int hf_x11_xv_ShmPutImage_port = -1; static int hf_x11_xv_ShmPutImage_drawable = -1; static int hf_x11_xv_ShmPutImage_gc = -1; static int hf_x11_xv_ShmPutImage_shmseg = -1; static int hf_x11_xv_ShmPutImage_id = -1; static int hf_x11_xv_ShmPutImage_offset = -1; static int hf_x11_xv_ShmPutImage_src_x = -1; static int hf_x11_xv_ShmPutImage_src_y = -1; static int hf_x11_xv_ShmPutImage_src_w = -1; static int hf_x11_xv_ShmPutImage_src_h = -1; static int hf_x11_xv_ShmPutImage_drw_x = -1; static int hf_x11_xv_ShmPutImage_drw_y = -1; static int hf_x11_xv_ShmPutImage_drw_w = -1; static int hf_x11_xv_ShmPutImage_drw_h = -1; static int hf_x11_xv_ShmPutImage_width = -1; static int hf_x11_xv_ShmPutImage_height = -1; static int hf_x11_xv_ShmPutImage_send_event = -1; static int hf_x11_xv_extension_minor = -1; static int hf_x11_struct_xvmc_SurfaceInfo = -1; static int hf_x11_struct_xvmc_SurfaceInfo_id = -1; static int hf_x11_struct_xvmc_SurfaceInfo_chroma_format = -1; static int hf_x11_struct_xvmc_SurfaceInfo_pad0 = -1; static int hf_x11_struct_xvmc_SurfaceInfo_max_width = -1; static int hf_x11_struct_xvmc_SurfaceInfo_max_height = -1; static int hf_x11_struct_xvmc_SurfaceInfo_subpicture_max_width = -1; static int hf_x11_struct_xvmc_SurfaceInfo_subpicture_max_height = -1; static int hf_x11_struct_xvmc_SurfaceInfo_mc_type = -1; static int hf_x11_struct_xvmc_SurfaceInfo_flags = -1; static int hf_x11_xvmc_QueryVersion_reply_major = -1; static int hf_x11_xvmc_QueryVersion_reply_minor = -1; static int hf_x11_xvmc_ListSurfaceTypes_port_id = -1; static int hf_x11_xvmc_ListSurfaceTypes_reply_num = -1; static int hf_x11_xvmc_ListSurfaceTypes_reply_surfaces = -1; static int hf_x11_xvmc_ListSurfaceTypes_reply_surfaces_item = -1; static int hf_x11_xvmc_CreateContext_context_id = -1; static int hf_x11_xvmc_CreateContext_port_id = -1; static int hf_x11_xvmc_CreateContext_surface_id = -1; static int hf_x11_xvmc_CreateContext_width = -1; static int hf_x11_xvmc_CreateContext_height = -1; static int hf_x11_xvmc_CreateContext_flags = -1; static int hf_x11_xvmc_CreateContext_reply_width_actual = -1; static int hf_x11_xvmc_CreateContext_reply_height_actual = -1; static int hf_x11_xvmc_CreateContext_reply_flags_return = -1; static int hf_x11_xvmc_CreateContext_reply_priv_data = -1; static int hf_x11_xvmc_CreateContext_reply_priv_data_item = -1; static int hf_x11_xvmc_DestroyContext_context_id = -1; static int hf_x11_xvmc_CreateSurface_surface_id = -1; static int hf_x11_xvmc_CreateSurface_context_id = -1; static int hf_x11_xvmc_CreateSurface_reply_priv_data = -1; static int hf_x11_xvmc_CreateSurface_reply_priv_data_item = -1; static int hf_x11_xvmc_DestroySurface_surface_id = -1; static int hf_x11_xvmc_CreateSubpicture_subpicture_id = -1; static int hf_x11_xvmc_CreateSubpicture_context = -1; static int hf_x11_xvmc_CreateSubpicture_xvimage_id = -1; static int hf_x11_xvmc_CreateSubpicture_width = -1; static int hf_x11_xvmc_CreateSubpicture_height = -1; static int hf_x11_xvmc_CreateSubpicture_reply_width_actual = -1; static int hf_x11_xvmc_CreateSubpicture_reply_height_actual = -1; static int hf_x11_xvmc_CreateSubpicture_reply_num_palette_entries = -1; static int hf_x11_xvmc_CreateSubpicture_reply_entry_bytes = -1; static int hf_x11_xvmc_CreateSubpicture_reply_component_order = -1; static int hf_x11_xvmc_CreateSubpicture_reply_priv_data = -1; static int hf_x11_xvmc_CreateSubpicture_reply_priv_data_item = -1; static int hf_x11_xvmc_DestroySubpicture_subpicture_id = -1; static int hf_x11_xvmc_ListSubpictureTypes_port_id = -1; static int hf_x11_xvmc_ListSubpictureTypes_surface_id = -1; static int hf_x11_xvmc_ListSubpictureTypes_reply_num = -1; static int hf_x11_xvmc_ListSubpictureTypes_reply_types = -1; static int hf_x11_xvmc_ListSubpictureTypes_reply_types_item = -1; static int hf_x11_xvmc_extension_minor = -1;
C/C++
wireshark/epan/dissectors/x11-enum.h
/* Do not modify this file. */ /* It was automatically generated by ../../tools/process-x11-xcb.pl using xcbproto version xcb-proto-1.14-3-g7d58eed */ /* * Copyright 2008, 2009, 2013, 2014 Open Text Corporation <pharris[AT]opentext.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald[AT]wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ static const value_string x11_enum_render_PictType[] = { { 0, "Indexed" }, { 1, "Direct" }, { 0, NULL }, }; static const value_string x11_enum_composite_Redirect[] = { { 0, "Automatic" }, { 1, "Manual" }, { 0, NULL }, }; static const value_string x11_enum_damage_ReportLevel[] = { { 0, "RawRectangles" }, { 1, "DeltaRectangles" }, { 2, "BoundingBox" }, { 3, "NonEmpty" }, { 0, NULL }, }; static const value_string x11_enum_xfixes_Region[] = { { 0, "None" }, { 0, NULL }, }; static const value_string x11_enum_dpms_DPMSMode[] = { { 0, "On" }, { 1, "Standby" }, { 2, "Suspend" }, { 3, "Off" }, { 0, NULL }, }; static const value_string x11_enum_dri2_Attachment[] = { { 0, "BufferFrontLeft" }, { 1, "BufferBackLeft" }, { 2, "BufferFrontRight" }, { 3, "BufferBackRight" }, { 4, "BufferDepth" }, { 5, "BufferStencil" }, { 6, "BufferAccum" }, { 7, "BufferFakeFrontLeft" }, { 8, "BufferFakeFrontRight" }, { 9, "BufferDepthStencil" }, { 10, "BufferHiz" }, { 0, NULL }, }; static const value_string x11_enum_dri2_DriverType[] = { { 0, "DRI" }, { 1, "VDPAU" }, { 0, NULL }, }; static const value_string x11_enum_randr_Connection[] = { { 0, "Connected" }, { 1, "Disconnected" }, { 2, "Unknown" }, { 0, NULL }, }; static const value_string x11_enum_render_SubPixel[] = { { 0, "Unknown" }, { 1, "HorizontalRGB" }, { 2, "HorizontalBGR" }, { 3, "VerticalRGB" }, { 4, "VerticalBGR" }, { 5, "None" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Property[] = { { 0, "NewValue" }, { 1, "Delete" }, { 0, NULL }, }; static const value_string x11_enum_sync_VALUETYPE[] = { { 0, "Absolute" }, { 1, "Relative" }, { 0, NULL }, }; static const value_string x11_enum_sync_TESTTYPE[] = { { 0, "PositiveTransition" }, { 1, "NegativeTransition" }, { 2, "PositiveComparison" }, { 3, "NegativeComparison" }, { 0, NULL }, }; static const value_string x11_enum_present_CompleteKind[] = { { 0, "Pixmap" }, { 1, "NotifyMSC" }, { 0, NULL }, }; static const value_string x11_enum_present_CompleteMode[] = { { 0, "Copy" }, { 1, "Flip" }, { 2, "Skip" }, { 3, "SuboptimalCopy" }, { 0, NULL }, }; static const value_string x11_enum_randr_SetConfig[] = { { 0, "Success" }, { 1, "InvalidConfigTime" }, { 2, "InvalidTime" }, { 3, "Failed" }, { 0, NULL }, }; static const value_string x11_enum_xproto_PropMode[] = { { 0, "Replace" }, { 1, "Prepend" }, { 2, "Append" }, { 0, NULL }, }; static const value_string x11_enum_xproto_GetPropertyType[] = { { 0, "Any" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Atom[] = { { 0, "Any" }, { 1, "PRIMARY" }, { 2, "SECONDARY" }, { 3, "ARC" }, { 4, "ATOM" }, { 5, "BITMAP" }, { 6, "CARDINAL" }, { 7, "COLORMAP" }, { 8, "CURSOR" }, { 9, "CUT_BUFFER0" }, { 10, "CUT_BUFFER1" }, { 11, "CUT_BUFFER2" }, { 12, "CUT_BUFFER3" }, { 13, "CUT_BUFFER4" }, { 14, "CUT_BUFFER5" }, { 15, "CUT_BUFFER6" }, { 16, "CUT_BUFFER7" }, { 17, "DRAWABLE" }, { 18, "FONT" }, { 19, "INTEGER" }, { 20, "PIXMAP" }, { 21, "POINT" }, { 22, "RECTANGLE" }, { 23, "RESOURCE_MANAGER" }, { 24, "RGB_COLOR_MAP" }, { 25, "RGB_BEST_MAP" }, { 26, "RGB_BLUE_MAP" }, { 27, "RGB_DEFAULT_MAP" }, { 28, "RGB_GRAY_MAP" }, { 29, "RGB_GREEN_MAP" }, { 30, "RGB_RED_MAP" }, { 31, "STRING" }, { 32, "VISUALID" }, { 33, "WINDOW" }, { 34, "WM_COMMAND" }, { 35, "WM_HINTS" }, { 36, "WM_CLIENT_MACHINE" }, { 37, "WM_ICON_NAME" }, { 38, "WM_ICON_SIZE" }, { 39, "WM_NAME" }, { 40, "WM_NORMAL_HINTS" }, { 41, "WM_SIZE_HINTS" }, { 42, "WM_ZOOM_HINTS" }, { 43, "MIN_SPACE" }, { 44, "NORM_SPACE" }, { 45, "MAX_SPACE" }, { 46, "END_SPACE" }, { 47, "SUPERSCRIPT_X" }, { 48, "SUPERSCRIPT_Y" }, { 49, "SUBSCRIPT_X" }, { 50, "SUBSCRIPT_Y" }, { 51, "UNDERLINE_POSITION" }, { 52, "UNDERLINE_THICKNESS" }, { 53, "STRIKEOUT_ASCENT" }, { 54, "STRIKEOUT_DESCENT" }, { 55, "ITALIC_ANGLE" }, { 56, "X_HEIGHT" }, { 57, "QUAD_WIDTH" }, { 58, "WEIGHT" }, { 59, "POINT_SIZE" }, { 60, "RESOLUTION" }, { 61, "COPYRIGHT" }, { 62, "NOTICE" }, { 63, "FONT_NAME" }, { 64, "FAMILY_NAME" }, { 65, "FULL_NAME" }, { 66, "CAP_HEIGHT" }, { 67, "WM_CLASS" }, { 68, "WM_TRANSIENT_FOR" }, { 0, NULL }, }; static const value_string x11_enum_randr_Notify[] = { { 0, "CrtcChange" }, { 1, "OutputChange" }, { 2, "OutputProperty" }, { 3, "ProviderChange" }, { 4, "ProviderProperty" }, { 5, "ResourceChange" }, { 6, "Lease" }, { 0, NULL }, }; static const value_string x11_enum_render_Repeat[] = { { 0, "None" }, { 1, "Normal" }, { 2, "Pad" }, { 3, "Reflect" }, { 0, NULL }, }; static const value_string x11_enum_xproto_SubwindowMode[] = { { 0, "ClipByChildren" }, { 1, "IncludeInferiors" }, { 0, NULL }, }; static const value_string x11_enum_render_PolyEdge[] = { { 0, "Sharp" }, { 1, "Smooth" }, { 0, NULL }, }; static const value_string x11_enum_render_PolyMode[] = { { 0, "Precise" }, { 1, "Imprecise" }, { 0, NULL }, }; static const value_string x11_enum_render_PictOp[] = { { 0, "Clear" }, { 1, "Src" }, { 2, "Dst" }, { 3, "Over" }, { 4, "OverReverse" }, { 5, "In" }, { 6, "InReverse" }, { 7, "Out" }, { 8, "OutReverse" }, { 9, "Atop" }, { 10, "AtopReverse" }, { 11, "Xor" }, { 12, "Add" }, { 13, "Saturate" }, { 16, "DisjointClear" }, { 17, "DisjointSrc" }, { 18, "DisjointDst" }, { 19, "DisjointOver" }, { 20, "DisjointOverReverse" }, { 21, "DisjointIn" }, { 22, "DisjointInReverse" }, { 23, "DisjointOut" }, { 24, "DisjointOutReverse" }, { 25, "DisjointAtop" }, { 26, "DisjointAtopReverse" }, { 27, "DisjointXor" }, { 32, "ConjointClear" }, { 33, "ConjointSrc" }, { 34, "ConjointDst" }, { 35, "ConjointOver" }, { 36, "ConjointOverReverse" }, { 37, "ConjointIn" }, { 38, "ConjointInReverse" }, { 39, "ConjointOut" }, { 40, "ConjointOutReverse" }, { 41, "ConjointAtop" }, { 42, "ConjointAtopReverse" }, { 43, "ConjointXor" }, { 48, "Multiply" }, { 49, "Screen" }, { 50, "Overlay" }, { 51, "Darken" }, { 52, "Lighten" }, { 53, "ColorDodge" }, { 54, "ColorBurn" }, { 55, "HardLight" }, { 56, "SoftLight" }, { 57, "Difference" }, { 58, "Exclusion" }, { 59, "HSLHue" }, { 60, "HSLSaturation" }, { 61, "HSLColor" }, { 62, "HSLLuminosity" }, { 0, NULL }, }; static const value_string x11_enum_render_Picture[] = { { 0, "None" }, { 0, NULL }, }; static const value_string x11_enum_screensaver_Kind[] = { { 0, "Blanked" }, { 1, "Internal" }, { 2, "External" }, { 0, NULL }, }; static const value_string x11_enum_xproto_WindowClass[] = { { 0, "CopyFromParent" }, { 1, "InputOutput" }, { 2, "InputOnly" }, { 0, NULL }, }; static const value_string x11_enum_xproto_BackPixmap[] = { { 0, "None" }, { 1, "ParentRelative" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Pixmap[] = { { 0, "None" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Gravity[] = { { 0, "WinUnmap" }, { 1, "NorthWest" }, { 2, "North" }, { 3, "NorthEast" }, { 4, "West" }, { 5, "Center" }, { 6, "East" }, { 7, "SouthWest" }, { 8, "South" }, { 9, "SouthEast" }, { 10, "Static" }, { 0, NULL }, }; static const value_string x11_enum_xproto_BackingStore[] = { { 0, "NotUseful" }, { 1, "WhenMapped" }, { 2, "Always" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Colormap[] = { { 0, "None" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Cursor[] = { { 0, "None" }, { 0, NULL }, }; static const value_string x11_enum_shape_SO[] = { { 0, "Set" }, { 1, "Union" }, { 2, "Intersect" }, { 3, "Subtract" }, { 4, "Invert" }, { 0, NULL }, }; static const value_string x11_enum_shape_SK[] = { { 0, "Bounding" }, { 1, "Clip" }, { 2, "Input" }, { 0, NULL }, }; static const value_string x11_enum_xproto_ClipOrdering[] = { { 0, "Unsorted" }, { 1, "YSorted" }, { 2, "YXSorted" }, { 3, "YXBanded" }, { 0, NULL }, }; static const value_string x11_enum_sync_ALARMSTATE[] = { { 0, "Active" }, { 1, "Inactive" }, { 2, "Destroyed" }, { 0, NULL }, }; static const value_string x11_enum_xfixes_SaveSetMode[] = { { 0, "Insert" }, { 1, "Delete" }, { 0, NULL }, }; static const value_string x11_enum_xfixes_SaveSetTarget[] = { { 0, "Nearest" }, { 1, "Root" }, { 0, NULL }, }; static const value_string x11_enum_xfixes_SaveSetMapping[] = { { 0, "Map" }, { 1, "Unmap" }, { 0, NULL }, }; static const value_string x11_enum_xfixes_CursorNotify[] = { { 0, "DisplayCursor" }, { 0, NULL }, }; static const value_string x11_enum_xinput_DeviceUse[] = { { 0, "IsXPointer" }, { 1, "IsXKeyboard" }, { 2, "IsXExtensionDevice" }, { 3, "IsXExtensionKeyboard" }, { 4, "IsXExtensionPointer" }, { 0, NULL }, }; static const value_string x11_enum_xinput_InputClass[] = { { 0, "Key" }, { 1, "Button" }, { 2, "Valuator" }, { 3, "Feedback" }, { 4, "Proximity" }, { 5, "Focus" }, { 6, "Other" }, { 0, NULL }, }; static const value_string x11_enum_xinput_ValuatorMode[] = { { 0, "Relative" }, { 1, "Absolute" }, { 0, NULL }, }; static const value_string x11_enum_xproto_GrabStatus[] = { { 0, "Success" }, { 1, "AlreadyGrabbed" }, { 2, "InvalidTime" }, { 3, "NotViewable" }, { 4, "Frozen" }, { 0, NULL }, }; static const value_string x11_enum_xinput_PropagateMode[] = { { 0, "AddToList" }, { 1, "DeleteFromList" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Time[] = { { 0, "CurrentTime" }, { 0, NULL }, }; static const value_string x11_enum_xproto_GrabMode[] = { { 0, "Sync" }, { 1, "Async" }, { 0, NULL }, }; static const value_string x11_enum_xinput_ModifierDevice[] = { { 255, "UseXKeyboard" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Grab[] = { { 0, "Any" }, { 0, NULL }, }; static const value_string x11_enum_xinput_DeviceInputMode[] = { { 0, "AsyncThisDevice" }, { 1, "SyncThisDevice" }, { 2, "ReplayThisDevice" }, { 3, "AsyncOtherDevices" }, { 4, "AsyncAll" }, { 5, "SyncAll" }, { 0, NULL }, }; static const value_string x11_enum_xproto_InputFocus[] = { { 0, "None" }, { 1, "PointerRoot" }, { 2, "Parent" }, { 3, "FollowKeyboard" }, { 0, NULL }, }; static const value_string x11_enum_xinput_FeedbackClass[] = { { 0, "Keyboard" }, { 1, "Pointer" }, { 2, "String" }, { 3, "Integer" }, { 4, "Led" }, { 5, "Bell" }, { 0, NULL }, }; static const value_string x11_enum_xproto_MappingStatus[] = { { 0, "Success" }, { 1, "Busy" }, { 2, "Failure" }, { 0, NULL }, }; static const value_string x11_enum_xinput_DeviceControl[] = { { 1, "resolution" }, { 2, "abs_calib" }, { 3, "core" }, { 4, "enable" }, { 5, "abs_area" }, { 0, NULL }, }; static const value_string x11_enum_xinput_PropertyFormat[] = { { 8, "8Bits" }, { 16, "16Bits" }, { 32, "32Bits" }, { 0, NULL }, }; static const value_string x11_enum_xinput_Device[] = { { 0, "All" }, { 1, "AllMaster" }, { 0, NULL }, }; static const value_string x11_enum_xinput_HierarchyChangeType[] = { { 1, "AddMaster" }, { 2, "RemoveMaster" }, { 3, "AttachSlave" }, { 4, "DetachSlave" }, { 0, NULL }, }; static const value_string x11_enum_xinput_ChangeMode[] = { { 1, "Attach" }, { 2, "Float" }, { 0, NULL }, }; static const value_string x11_enum_xinput_DeviceClassType[] = { { 0, "Key" }, { 1, "Button" }, { 2, "Valuator" }, { 3, "Scroll" }, { 8, "Touch" }, { 0, NULL }, }; static const value_string x11_enum_xinput_ScrollType[] = { { 1, "Vertical" }, { 2, "Horizontal" }, { 0, NULL }, }; static const value_string x11_enum_xinput_TouchMode[] = { { 1, "Direct" }, { 2, "Dependent" }, { 0, NULL }, }; static const value_string x11_enum_xinput_DeviceType[] = { { 1, "MasterPointer" }, { 2, "MasterKeyboard" }, { 3, "SlavePointer" }, { 4, "SlaveKeyboard" }, { 5, "FloatingSlave" }, { 0, NULL }, }; static const value_string x11_enum_xinput_GrabOwner[] = { { 0, "NoOwner" }, { 1, "Owner" }, { 0, NULL }, }; static const value_string x11_enum_xinput_EventMode[] = { { 0, "AsyncDevice" }, { 1, "SyncDevice" }, { 2, "ReplayDevice" }, { 3, "AsyncPairedDevice" }, { 4, "AsyncPair" }, { 5, "SyncPair" }, { 6, "AcceptTouch" }, { 7, "RejectTouch" }, { 0, NULL }, }; static const value_string x11_enum_xinput_ModifierMask[] = { { 0, NULL }, }; static const value_string x11_enum_xinput_GrabType[] = { { 0, "Button" }, { 1, "Keycode" }, { 2, "Enter" }, { 3, "FocusIn" }, { 4, "TouchBegin" }, { 0, NULL }, }; static const value_string x11_enum_xinput_GrabMode22[] = { { 0, "Sync" }, { 1, "Async" }, { 2, "Touch" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Window[] = { { 0, "None" }, { 0, NULL }, }; static const value_string x11_enum_xproto_NotifyDetail[] = { { 0, "Ancestor" }, { 1, "Virtual" }, { 2, "Inferior" }, { 3, "Nonlinear" }, { 4, "NonlinearVirtual" }, { 5, "Pointer" }, { 6, "PointerRoot" }, { 7, "None" }, { 0, NULL }, }; static const value_string x11_enum_xproto_NotifyMode[] = { { 0, "Normal" }, { 1, "Grab" }, { 2, "Ungrab" }, { 3, "WhileGrabbed" }, { 0, NULL }, }; static const value_string x11_enum_xproto_Mapping[] = { { 0, "Modifier" }, { 1, "Keyboard" }, { 2, "Pointer" }, { 0, NULL }, }; static const value_string x11_enum_xinput_ChangeDevice[] = { { 0, "NewPointer" }, { 1, "NewKeyboard" }, { 0, NULL }, }; static const value_string x11_enum_xinput_DeviceChange[] = { { 0, "Added" }, { 1, "Removed" }, { 2, "Enabled" }, { 3, "Disabled" }, { 4, "Unrecoverable" }, { 5, "ControlChanged" }, { 0, NULL }, }; static const value_string x11_enum_xinput_ChangeReason[] = { { 1, "SlaveSwitch" }, { 2, "DeviceChange" }, { 0, NULL }, }; static const value_string x11_enum_xinput_NotifyMode[] = { { 0, "Normal" }, { 1, "Grab" }, { 2, "Ungrab" }, { 3, "WhileGrabbed" }, { 4, "PassiveGrab" }, { 5, "PassiveUngrab" }, { 0, NULL }, }; static const value_string x11_enum_xinput_NotifyDetail[] = { { 0, "Ancestor" }, { 1, "Virtual" }, { 2, "Inferior" }, { 3, "Nonlinear" }, { 4, "NonlinearVirtual" }, { 5, "Pointer" }, { 6, "PointerRoot" }, { 7, "None" }, { 0, NULL }, }; static const value_string x11_enum_xinput_PropertyFlag[] = { { 0, "Deleted" }, { 1, "Created" }, { 2, "Modified" }, { 0, NULL }, }; static const value_string x11_enum_xinput_TouchOwnershipFlags[] = { { 0, "None" }, { 0, NULL }, }; static const value_string x11_enum_xkb_IMFlag[] = { { 0, NULL }, }; static const value_string x11_enum_xkb_IMGroupsWhich[] = { { 0, NULL }, }; static const value_string x11_enum_xkb_SetOfGroup[] = { { 0, NULL }, }; static const value_string x11_enum_xkb_IMModsWhich[] = { { 0, NULL }, }; static const value_string x11_enum_xkb_LedClass[] = { { 0, "KbdFeedbackClass" }, { 4, "LedFeedbackClass" }, { 768, "DfltXIClass" }, { 1280, "AllXIClasses" }, { 0, NULL }, }; static const value_string x11_enum_xkb_ID[] = { { 256, "UseCoreKbd" }, { 512, "UseCorePtr" }, { 768, "DfltXIClass" }, { 1024, "DfltXIId" }, { 1280, "AllXIClass" }, { 1536, "AllXIId" }, { 65280, "XINone" }, { 0, NULL }, }; static const value_string x11_enum_xkb_SAType[] = { { 0, "NoAction" }, { 1, "SetMods" }, { 2, "LatchMods" }, { 3, "LockMods" }, { 4, "SetGroup" }, { 5, "LatchGroup" }, { 6, "LockGroup" }, { 7, "MovePtr" }, { 8, "PtrBtn" }, { 9, "LockPtrBtn" }, { 10, "SetPtrDflt" }, { 11, "ISOLock" }, { 12, "Terminate" }, { 13, "SwitchScreen" }, { 14, "SetControls" }, { 15, "LockControls" }, { 16, "ActionMessage" }, { 17, "RedirectKey" }, { 18, "DeviceBtn" }, { 19, "LockDeviceBtn" }, { 20, "DeviceValuator" }, { 0, NULL }, }; static const value_string x11_enum_xkb_SAValWhat[] = { { 0, "IgnoreVal" }, { 1, "SetValMin" }, { 2, "SetValCenter" }, { 3, "SetValMax" }, { 4, "SetValRelative" }, { 5, "SetValAbsolute" }, { 0, NULL }, }; static const value_string x11_enum_xkb_SymInterpretMatch[] = { { 0, "NoneOf" }, { 1, "AnyOfOrNone" }, { 2, "AnyOf" }, { 3, "AllOf" }, { 4, "Exactly" }, { 0, NULL }, }; static const value_string x11_enum_xkb_Group[] = { { 0, "1" }, { 1, "2" }, { 2, "3" }, { 3, "4" }, { 0, NULL }, }; static const value_string x11_enum_xkb_BellClassResult[] = { { 0, "KbdFeedbackClass" }, { 5, "BellFeedbackClass" }, { 0, NULL }, }; static const value_string x11_enum_xkb_LedClassResult[] = { { 0, "KbdFeedbackClass" }, { 4, "LedFeedbackClass" }, { 0, NULL }, }; static const value_string x11_enum_xv_ImageFormatInfoType[] = { { 0, "RGB" }, { 1, "YUV" }, { 0, NULL }, }; static const value_string x11_enum_xproto_ImageOrder[] = { { 0, "LSBFirst" }, { 1, "MSBFirst" }, { 0, NULL }, }; static const value_string x11_enum_xv_ImageFormatInfoFormat[] = { { 0, "Packed" }, { 1, "Planar" }, { 0, NULL }, }; static const value_string x11_enum_xv_ScanlineOrder[] = { { 0, "TopToBottom" }, { 1, "BottomToTop" }, { 0, NULL }, }; static const value_string x11_enum_xv_GrabPortStatus[] = { { 0, "Success" }, { 1, "BadExtension" }, { 2, "AlreadyGrabbed" }, { 3, "InvalidTime" }, { 4, "BadReply" }, { 5, "BadAlloc" }, { 0, NULL }, };
C/C++
wireshark/epan/dissectors/x11-extension-errors.h
/* Do not modify this file. */ /* It was automatically generated by ../../tools/process-x11-xcb.pl using xcbproto version xcb-proto-1.14-3-g7d58eed */ /* * Copyright 2008, 2009, 2013, 2014 Open Text Corporation <pharris[AT]opentext.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald[AT]wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ const char *bigreq_errors[] = { NULL }; const char *composite_errors[] = { NULL }; static const char *damage_errors[] = { "damage-BadDamage", NULL }; const char *dpms_errors[] = { NULL }; const char *dri2_errors[] = { NULL }; const char *dri3_errors[] = { NULL }; const char *ge_errors[] = { NULL }; static const char *glx_errors[] = { "glx-BadContext", "glx-BadContextState", "glx-BadDrawable", "glx-BadPixmap", "glx-BadContextTag", "glx-BadCurrentWindow", "glx-BadRenderRequest", "glx-BadLargeRequest", "glx-UnsupportedPrivateRequest", "glx-BadFBConfig", "glx-BadPbuffer", "glx-BadCurrentDrawable", "glx-BadWindow", "glx-GLXBadProfileARB", NULL }; const char *present_errors[] = { NULL }; static const char *randr_errors[] = { "randr-BadOutput", "randr-BadCrtc", "randr-BadMode", "randr-BadProvider", NULL }; static const char *record_errors[] = { "record-BadContext", NULL }; static const char *render_errors[] = { "render-PictFormat", "render-Picture", "render-PictOp", "render-GlyphSet", "render-Glyph", NULL }; const char *res_errors[] = { NULL }; const char *screensaver_errors[] = { NULL }; const char *shape_errors[] = { NULL }; static const char *shm_errors[] = { "shm-BadSeg", NULL }; static const char *sync_errors[] = { "sync-Counter", "sync-Alarm", NULL }; const char *xc_misc_errors[] = { NULL }; const char *xevie_errors[] = { NULL }; const char *xf86dri_errors[] = { NULL }; static const char *xf86vidmode_errors[] = { "xf86vidmode-BadClock", "xf86vidmode-BadHTimings", "xf86vidmode-BadVTimings", "xf86vidmode-ModeUnsuitable", "xf86vidmode-ExtensionDisabled", "xf86vidmode-ClientNotLocal", "xf86vidmode-ZoomLocked", NULL }; static const char *xfixes_errors[] = { "xfixes-BadRegion", NULL }; const char *xinerama_errors[] = { NULL }; static const char *xinput_errors[] = { "xinput-Device", "xinput-Event", "xinput-Mode", "xinput-DeviceBusy", "xinput-Class", NULL }; static const char *xkb_errors[] = { "xkb-Keyboard", NULL }; static const char *xprint_errors[] = { "xprint-BadContext", "xprint-BadSequence", NULL }; const char *xselinux_errors[] = { NULL }; const char *xtest_errors[] = { NULL }; static const char *xv_errors[] = { "xv-BadPort", "xv-BadEncoding", "xv-BadControl", NULL }; const char *xvmc_errors[] = { NULL };
C/C++
wireshark/epan/dissectors/x11-extension-implementation.h
/* Do not modify this file. */ /* It was automatically generated by ../../tools/process-x11-xcb.pl using xcbproto version xcb-proto-1.14-3-g7d58eed */ /* * Copyright 2008, 2009, 2013, 2014 Open Text Corporation <pharris[AT]opentext.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald[AT]wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "x11-glx-render-enum.h" static void mesa_CallList(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CallList_list, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CallLists(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; int type; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_CallLists_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; type = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_CallLists_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; switch(type) { case 0x1400: /* BYTE */ listOfByte(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists_signed, n, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (length - 8 - n), ENC_NA); *offsetp += (length - 8 - n); break; case 0x1401: /* UNSIGNED_BYTE */ listOfByte(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists_unsigned, n, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (length - 8 - n), ENC_NA); *offsetp += (length - 8 - n); break; case 0x1402: /* SHORT */ listOfInt16(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists, hf_x11_glx_render_CallLists_lists_item_int16, n, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (length - 8 - 2 * n), ENC_NA); *offsetp += (length - 8 - 2 * n); break; case 0x1403: /* UNSIGNED_SHORT */ listOfCard16(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists, hf_x11_glx_render_CallLists_lists_item_card16, n, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (length - 8 - 2 * n), ENC_NA); *offsetp += (length - 8 - 2 * n); break; case 0x1404: /* INT */ listOfInt32(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists, hf_x11_glx_render_CallLists_lists_item_int32, n, byte_order); break; case 0x1405: /* UNSIGNED_INT */ listOfCard32(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists, hf_x11_glx_render_CallLists_lists_item_card32, n, byte_order); break; case 0x1406: /* FLOAT */ listOfFloat(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists, hf_x11_glx_render_CallLists_lists_item_float, n, byte_order); break; case 0x1407: /* 2_BYTES */ listOfCard16(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists, hf_x11_glx_render_CallLists_lists_item_card16, n, ENC_BIG_ENDIAN); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (length - 8 - 2 * n), ENC_NA); *offsetp += (length - 8 - 2 * n); break; case 0x1408: /* 3_BYTES */ UNDECODED(3 * n); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (length - 8 - 3 * n), ENC_NA); *offsetp += (length - 8 - 3 * n); break; case 0x1409: /* 4_BYTES */ listOfCard32(tvb, offsetp, t, hf_x11_glx_render_CallLists_lists, hf_x11_glx_render_CallLists_lists_item_card32, n, ENC_BIG_ENDIAN); break; case 0x140B: /* HALF_FLOAT */ UNDECODED(2 * n); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (length - 8 - 2 * n), ENC_NA); *offsetp += (length - 8 - 2 * n); break; default: /* Unknown */ UNDECODED(length - 8); break; } } static void mesa_ListBase(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ListBase_base, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Begin(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Begin_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Bitmap(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Bitmap_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_xorig, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_yorig, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_xmove, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Bitmap_ymove, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_Bitmap_bitmap, (length - 44) / 1, byte_order); } static void mesa_Color3bv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_Color3bv_v, 3, byte_order); } static void mesa_Color3dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Color3dv_v, hf_x11_glx_render_Color3dv_v_item, 3, byte_order); } static void mesa_Color3fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Color3fv_v, hf_x11_glx_render_Color3fv_v_item, 3, byte_order); } static void mesa_Color3iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Color3iv_v, hf_x11_glx_render_Color3iv_v_item, 3, byte_order); } static void mesa_Color3sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Color3sv_v, hf_x11_glx_render_Color3sv_v_item, 3, byte_order); } static void mesa_Color3ubv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_Color3ubv_v, 3, byte_order); } static void mesa_Color3uiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfCard32(tvb, offsetp, t, hf_x11_glx_render_Color3uiv_v, hf_x11_glx_render_Color3uiv_v_item, 3, byte_order); } static void mesa_Color3usv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfCard16(tvb, offsetp, t, hf_x11_glx_render_Color3usv_v, hf_x11_glx_render_Color3usv_v_item, 3, byte_order); } static void mesa_Color4bv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_Color4bv_v, 4, byte_order); } static void mesa_Color4dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Color4dv_v, hf_x11_glx_render_Color4dv_v_item, 4, byte_order); } static void mesa_Color4fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Color4fv_v, hf_x11_glx_render_Color4fv_v_item, 4, byte_order); } static void mesa_Color4iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Color4iv_v, hf_x11_glx_render_Color4iv_v_item, 4, byte_order); } static void mesa_Color4sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Color4sv_v, hf_x11_glx_render_Color4sv_v_item, 4, byte_order); } static void mesa_Color4ubv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_Color4ubv_v, 4, byte_order); } static void mesa_Color4uiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfCard32(tvb, offsetp, t, hf_x11_glx_render_Color4uiv_v, hf_x11_glx_render_Color4uiv_v_item, 4, byte_order); } static void mesa_Color4usv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfCard16(tvb, offsetp, t, hf_x11_glx_render_Color4usv_v, hf_x11_glx_render_Color4usv_v_item, 4, byte_order); } static void mesa_EdgeFlagv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_EdgeFlagv_flag, 1, byte_order); } static void mesa_End(tvbuff_t *tvb _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void mesa_Indexdv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Indexdv_c, hf_x11_glx_render_Indexdv_c_item, 1, byte_order); } static void mesa_Indexfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Indexfv_c, hf_x11_glx_render_Indexfv_c_item, 1, byte_order); } static void mesa_Indexiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Indexiv_c, hf_x11_glx_render_Indexiv_c_item, 1, byte_order); } static void mesa_Indexsv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Indexsv_c, hf_x11_glx_render_Indexsv_c_item, 1, byte_order); } static void mesa_Normal3bv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_Normal3bv_v, 3, byte_order); } static void mesa_Normal3dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Normal3dv_v, hf_x11_glx_render_Normal3dv_v_item, 3, byte_order); } static void mesa_Normal3fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Normal3fv_v, hf_x11_glx_render_Normal3fv_v_item, 3, byte_order); } static void mesa_Normal3iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Normal3iv_v, hf_x11_glx_render_Normal3iv_v_item, 3, byte_order); } static void mesa_Normal3sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Normal3sv_v, hf_x11_glx_render_Normal3sv_v_item, 3, byte_order); } static void mesa_RasterPos2dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_RasterPos2dv_v, hf_x11_glx_render_RasterPos2dv_v_item, 2, byte_order); } static void mesa_RasterPos2fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_RasterPos2fv_v, hf_x11_glx_render_RasterPos2fv_v_item, 2, byte_order); } static void mesa_RasterPos2iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_RasterPos2iv_v, hf_x11_glx_render_RasterPos2iv_v_item, 2, byte_order); } static void mesa_RasterPos2sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_RasterPos2sv_v, hf_x11_glx_render_RasterPos2sv_v_item, 2, byte_order); } static void mesa_RasterPos3dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_RasterPos3dv_v, hf_x11_glx_render_RasterPos3dv_v_item, 3, byte_order); } static void mesa_RasterPos3fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_RasterPos3fv_v, hf_x11_glx_render_RasterPos3fv_v_item, 3, byte_order); } static void mesa_RasterPos3iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_RasterPos3iv_v, hf_x11_glx_render_RasterPos3iv_v_item, 3, byte_order); } static void mesa_RasterPos3sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_RasterPos3sv_v, hf_x11_glx_render_RasterPos3sv_v_item, 3, byte_order); } static void mesa_RasterPos4dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_RasterPos4dv_v, hf_x11_glx_render_RasterPos4dv_v_item, 4, byte_order); } static void mesa_RasterPos4fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_RasterPos4fv_v, hf_x11_glx_render_RasterPos4fv_v_item, 4, byte_order); } static void mesa_RasterPos4iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_RasterPos4iv_v, hf_x11_glx_render_RasterPos4iv_v_item, 4, byte_order); } static void mesa_RasterPos4sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_RasterPos4sv_v, hf_x11_glx_render_RasterPos4sv_v_item, 4, byte_order); } static void mesa_Rectdv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Rectdv_v1, hf_x11_glx_render_Rectdv_v1_item, 2, byte_order); listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Rectdv_v2, hf_x11_glx_render_Rectdv_v2_item, 2, byte_order); } static void mesa_Rectfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Rectfv_v1, hf_x11_glx_render_Rectfv_v1_item, 2, byte_order); listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Rectfv_v2, hf_x11_glx_render_Rectfv_v2_item, 2, byte_order); } static void mesa_Rectiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Rectiv_v1, hf_x11_glx_render_Rectiv_v1_item, 2, byte_order); listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Rectiv_v2, hf_x11_glx_render_Rectiv_v2_item, 2, byte_order); } static void mesa_Rectsv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Rectsv_v1, hf_x11_glx_render_Rectsv_v1_item, 2, byte_order); listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Rectsv_v2, hf_x11_glx_render_Rectsv_v2_item, 2, byte_order); } static void mesa_TexCoord1dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_TexCoord1dv_v, hf_x11_glx_render_TexCoord1dv_v_item, 1, byte_order); } static void mesa_TexCoord1fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_TexCoord1fv_v, hf_x11_glx_render_TexCoord1fv_v_item, 1, byte_order); } static void mesa_TexCoord1iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_TexCoord1iv_v, hf_x11_glx_render_TexCoord1iv_v_item, 1, byte_order); } static void mesa_TexCoord1sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_TexCoord1sv_v, hf_x11_glx_render_TexCoord1sv_v_item, 1, byte_order); } static void mesa_TexCoord2dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_TexCoord2dv_v, hf_x11_glx_render_TexCoord2dv_v_item, 2, byte_order); } static void mesa_TexCoord2fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_TexCoord2fv_v, hf_x11_glx_render_TexCoord2fv_v_item, 2, byte_order); } static void mesa_TexCoord2iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_TexCoord2iv_v, hf_x11_glx_render_TexCoord2iv_v_item, 2, byte_order); } static void mesa_TexCoord2sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_TexCoord2sv_v, hf_x11_glx_render_TexCoord2sv_v_item, 2, byte_order); } static void mesa_TexCoord3dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_TexCoord3dv_v, hf_x11_glx_render_TexCoord3dv_v_item, 3, byte_order); } static void mesa_TexCoord3fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_TexCoord3fv_v, hf_x11_glx_render_TexCoord3fv_v_item, 3, byte_order); } static void mesa_TexCoord3iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_TexCoord3iv_v, hf_x11_glx_render_TexCoord3iv_v_item, 3, byte_order); } static void mesa_TexCoord3sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_TexCoord3sv_v, hf_x11_glx_render_TexCoord3sv_v_item, 3, byte_order); } static void mesa_TexCoord4dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_TexCoord4dv_v, hf_x11_glx_render_TexCoord4dv_v_item, 4, byte_order); } static void mesa_TexCoord4fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_TexCoord4fv_v, hf_x11_glx_render_TexCoord4fv_v_item, 4, byte_order); } static void mesa_TexCoord4iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_TexCoord4iv_v, hf_x11_glx_render_TexCoord4iv_v_item, 4, byte_order); } static void mesa_TexCoord4sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_TexCoord4sv_v, hf_x11_glx_render_TexCoord4sv_v_item, 4, byte_order); } static void mesa_Vertex2dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Vertex2dv_v, hf_x11_glx_render_Vertex2dv_v_item, 2, byte_order); } static void mesa_Vertex2fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Vertex2fv_v, hf_x11_glx_render_Vertex2fv_v_item, 2, byte_order); } static void mesa_Vertex2iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Vertex2iv_v, hf_x11_glx_render_Vertex2iv_v_item, 2, byte_order); } static void mesa_Vertex2sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Vertex2sv_v, hf_x11_glx_render_Vertex2sv_v_item, 2, byte_order); } static void mesa_Vertex3dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Vertex3dv_v, hf_x11_glx_render_Vertex3dv_v_item, 3, byte_order); } static void mesa_Vertex3fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Vertex3fv_v, hf_x11_glx_render_Vertex3fv_v_item, 3, byte_order); } static void mesa_Vertex3iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Vertex3iv_v, hf_x11_glx_render_Vertex3iv_v_item, 3, byte_order); } static void mesa_Vertex3sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Vertex3sv_v, hf_x11_glx_render_Vertex3sv_v_item, 3, byte_order); } static void mesa_Vertex4dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Vertex4dv_v, hf_x11_glx_render_Vertex4dv_v_item, 4, byte_order); } static void mesa_Vertex4fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Vertex4fv_v, hf_x11_glx_render_Vertex4fv_v_item, 4, byte_order); } static void mesa_Vertex4iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Vertex4iv_v, hf_x11_glx_render_Vertex4iv_v_item, 4, byte_order); } static void mesa_Vertex4sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_Vertex4sv_v, hf_x11_glx_render_Vertex4sv_v_item, 4, byte_order); } static void mesa_ClipPlane(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ClipPlane_plane, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_ClipPlane_equation, hf_x11_glx_render_ClipPlane_equation_item, 4, byte_order); } static void mesa_ColorMaterial(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ColorMaterial_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorMaterial_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CullFace(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CullFace_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Fogf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Fogf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Fogf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Fogfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Fogfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Fogfv_params, hf_x11_glx_render_Fogfv_params_item, (length - 4) / 4, byte_order); } static void mesa_Fogi(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Fogi_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Fogi_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Fogiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Fogiv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Fogiv_params, hf_x11_glx_render_Fogiv_params_item, (length - 4) / 4, byte_order); } static void mesa_FrontFace(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_FrontFace_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Hint(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Hint_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Hint_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Lightf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Lightf_light, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Lightf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Lightf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Lightfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Lightfv_light, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Lightfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Lightfv_params, hf_x11_glx_render_Lightfv_params_item, (length - 8) / 4, byte_order); } static void mesa_Lighti(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Lighti_light, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Lighti_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Lighti_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Lightiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Lightiv_light, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Lightiv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Lightiv_params, hf_x11_glx_render_Lightiv_params_item, (length - 8) / 4, byte_order); } static void mesa_LightModelf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_LightModelf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_LightModelf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_LightModelfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_LightModelfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_LightModelfv_params, hf_x11_glx_render_LightModelfv_params_item, (length - 4) / 4, byte_order); } static void mesa_LightModeli(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_LightModeli_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_LightModeli_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_LightModeliv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_LightModeliv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_LightModeliv_params, hf_x11_glx_render_LightModeliv_params_item, (length - 4) / 4, byte_order); } static void mesa_LineStipple(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_LineStipple_factor, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_LineStipple_pattern, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void mesa_LineWidth(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_LineWidth_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Materialf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Materialf_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Materialf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Materialf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Materialfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Materialfv_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Materialfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Materialfv_params, hf_x11_glx_render_Materialfv_params_item, (length - 8) / 4, byte_order); } static void mesa_Materiali(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Materiali_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Materiali_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Materiali_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Materialiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Materialiv_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Materialiv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_Materialiv_params, hf_x11_glx_render_Materialiv_params_item, (length - 8) / 4, byte_order); } static void mesa_PointSize(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PointSize_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PolygonMode(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PolygonMode_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PolygonMode_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PolygonStipple(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PolygonStipple_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_PolygonStipple_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_PolygonStipple_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PolygonStipple_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PolygonStipple_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PolygonStipple_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_PolygonStipple_mask, (length - 20) / 1, byte_order); } static void mesa_Scissor(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Scissor_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Scissor_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Scissor_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Scissor_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ShadeModel(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ShadeModel_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexParameterf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexParameterf_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexParameterf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexParameterf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexParameterfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_TexParameterfv_params, hf_x11_glx_render_TexParameterfv_params_item, (length - 8) / 4, byte_order); } static void mesa_TexParameteri(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexParameteri_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexParameteri_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexParameteri_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexParameteriv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_TexParameteriv_params, hf_x11_glx_render_TexParameteriv_params_item, (length - 8) / 4, byte_order); } static void mesa_TexImage1D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage1D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_TexImage1D_pixels, (length - 48) / 1, byte_order); } static void mesa_TexImage2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage2D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_TexImage2D_pixels, (length - 52) / 1, byte_order); } static void mesa_TexEnvf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexEnvf_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexEnvf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexEnvf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexEnvfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexEnvfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexEnvfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_TexEnvfv_params, hf_x11_glx_render_TexEnvfv_params_item, (length - 8) / 4, byte_order); } static void mesa_TexEnvi(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexEnvi_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexEnvi_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexEnvi_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexEnviv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexEnviv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexEnviv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_TexEnviv_params, hf_x11_glx_render_TexEnviv_params_item, (length - 8) / 4, byte_order); } static void mesa_TexGend(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexGend_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGend_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGend_param, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_TexGendv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexGendv_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGendv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_TexGendv_params, hf_x11_glx_render_TexGendv_params_item, (length - 8) / 8, byte_order); } static void mesa_TexGenf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexGenf_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGenf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGenf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexGenfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexGenfv_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGenfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_TexGenfv_params, hf_x11_glx_render_TexGenfv_params_item, (length - 8) / 4, byte_order); } static void mesa_TexGeni(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexGeni_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGeni_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGeni_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexGeniv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexGeniv_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexGeniv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_TexGeniv_params, hf_x11_glx_render_TexGeniv_params_item, (length - 8) / 4, byte_order); } static void mesa_InitNames(tvbuff_t *tvb _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void mesa_LoadName(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_LoadName_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PassThrough(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PassThrough_token, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PopName(tvbuff_t *tvb _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void mesa_PushName(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PushName_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_DrawBuffer(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_DrawBuffer_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Clear(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Clear_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ClearAccum(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ClearAccum_red, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ClearAccum_green, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ClearAccum_blue, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ClearAccum_alpha, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ClearIndex(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ClearIndex_c, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ClearColor(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ClearColor_red, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ClearColor_green, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ClearColor_blue, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ClearColor_alpha, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ClearStencil(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ClearStencil_s, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ClearDepth(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ClearDepth_depth, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_StencilMask(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_StencilMask_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ColorMask(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ColorMask_red, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_ColorMask_green, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_ColorMask_blue, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_ColorMask_alpha, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void mesa_DepthMask(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_DepthMask_flag, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void mesa_IndexMask(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_IndexMask_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Accum(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Accum_op, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Accum_value, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Disable(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Disable_cap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Enable(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Enable_cap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PopAttrib(tvbuff_t *tvb _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void mesa_PushAttrib(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PushAttrib_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Map1d(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Map1d_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map1d_u1, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Map1d_u2, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Map1d_stride, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map1d_order, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Map1d_points, hf_x11_glx_render_Map1d_points_item, (length - 28) / 8, byte_order); } static void mesa_Map1f(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Map1f_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map1f_u1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map1f_u2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map1f_stride, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map1f_order, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Map1f_points, hf_x11_glx_render_Map1f_points_item, (length - 20) / 4, byte_order); } static void mesa_Map2d(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Map2d_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2d_u1, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Map2d_u2, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Map2d_ustride, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2d_uorder, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2d_v1, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Map2d_v2, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Map2d_vstride, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2d_vorder, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_Map2d_points, hf_x11_glx_render_Map2d_points_item, (length - 52) / 8, byte_order); } static void mesa_Map2f(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Map2f_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2f_u1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2f_u2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2f_ustride, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2f_uorder, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2f_v1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2f_v2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2f_vstride, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Map2f_vorder, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_Map2f_points, hf_x11_glx_render_Map2f_points_item, (length - 36) / 4, byte_order); } static void mesa_MapGrid1d(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MapGrid1d_un, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid1d_u1, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_MapGrid1d_u2, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_MapGrid1f(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MapGrid1f_un, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid1f_u1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid1f_u2, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_MapGrid2d(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MapGrid2d_un, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2d_u1, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2d_u2, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2d_vn, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2d_v1, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2d_v2, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_MapGrid2f(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MapGrid2f_un, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2f_u1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2f_u2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2f_vn, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2f_v1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_MapGrid2f_v2, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_EvalCoord1dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_EvalCoord1dv_u, hf_x11_glx_render_EvalCoord1dv_u_item, 1, byte_order); } static void mesa_EvalCoord1fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_EvalCoord1fv_u, hf_x11_glx_render_EvalCoord1fv_u_item, 1, byte_order); } static void mesa_EvalCoord2dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_EvalCoord2dv_u, hf_x11_glx_render_EvalCoord2dv_u_item, 2, byte_order); } static void mesa_EvalCoord2fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_EvalCoord2fv_u, hf_x11_glx_render_EvalCoord2fv_u_item, 2, byte_order); } static void mesa_EvalMesh1(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_EvalMesh1_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_EvalMesh1_i1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_EvalMesh1_i2, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_EvalPoint1(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_EvalPoint1_i, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_EvalMesh2(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_EvalMesh2_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_EvalMesh2_i1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_EvalMesh2_i2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_EvalMesh2_j1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_EvalMesh2_j2, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_EvalPoint2(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_EvalPoint2_i, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_EvalPoint2_j, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_AlphaFunc(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_AlphaFunc_func, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_AlphaFunc_ref, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_BlendFunc(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_BlendFunc_sfactor, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BlendFunc_dfactor, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_LogicOp(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_LogicOp_opcode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_StencilFunc(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_StencilFunc_func, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_StencilFunc_ref, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_StencilFunc_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_StencilOp(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_StencilOp_fail, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_StencilOp_zfail, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_StencilOp_zpass, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_DepthFunc(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_DepthFunc_func, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PixelZoom(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PixelZoom_xfactor, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PixelZoom_yfactor, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PixelTransferf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PixelTransferf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PixelTransferf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PixelTransferi(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PixelTransferi_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PixelTransferi_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PixelMapfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int mapsize; proto_tree_add_item(t, hf_x11_glx_render_PixelMapfv_map, tvb, *offsetp, 4, byte_order); *offsetp += 4; mapsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_PixelMapfv_mapsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_PixelMapfv_values, hf_x11_glx_render_PixelMapfv_values_item, mapsize, byte_order); } static void mesa_PixelMapuiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int mapsize; proto_tree_add_item(t, hf_x11_glx_render_PixelMapuiv_map, tvb, *offsetp, 4, byte_order); *offsetp += 4; mapsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_PixelMapuiv_mapsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_render_PixelMapuiv_values, hf_x11_glx_render_PixelMapuiv_values_item, mapsize, byte_order); } static void mesa_PixelMapusv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int mapsize; proto_tree_add_item(t, hf_x11_glx_render_PixelMapusv_map, tvb, *offsetp, 4, byte_order); *offsetp += 4; mapsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_PixelMapusv_mapsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard16(tvb, offsetp, t, hf_x11_glx_render_PixelMapusv_values, hf_x11_glx_render_PixelMapusv_values_item, mapsize, byte_order); } static void mesa_ReadBuffer(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ReadBuffer_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CopyPixels(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyPixels_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyPixels_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyPixels_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyPixels_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyPixels_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_DrawPixels(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawPixels_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_DrawPixels_pixels, (length - 36) / 1, byte_order); } static void mesa_DepthRange(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_DepthRange_zNear, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_DepthRange_zFar, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_Frustum(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Frustum_left, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Frustum_right, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Frustum_bottom, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Frustum_top, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Frustum_zNear, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Frustum_zFar, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_LoadIdentity(tvbuff_t *tvb _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void mesa_LoadMatrixf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_LoadMatrixf_m, hf_x11_glx_render_LoadMatrixf_m_item, 16, byte_order); } static void mesa_LoadMatrixd(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_LoadMatrixd_m, hf_x11_glx_render_LoadMatrixd_m_item, 16, byte_order); } static void mesa_MatrixMode(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MatrixMode_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_MultMatrixf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_MultMatrixf_m, hf_x11_glx_render_MultMatrixf_m_item, 16, byte_order); } static void mesa_MultMatrixd(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_MultMatrixd_m, hf_x11_glx_render_MultMatrixd_m_item, 16, byte_order); } static void mesa_Ortho(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Ortho_left, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Ortho_right, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Ortho_bottom, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Ortho_top, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Ortho_zNear, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Ortho_zFar, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_PopMatrix(tvbuff_t *tvb _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void mesa_PushMatrix(tvbuff_t *tvb _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void mesa_Rotated(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Rotated_angle, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Rotated_x, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Rotated_y, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Rotated_z, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_Rotatef(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Rotatef_angle, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Rotatef_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Rotatef_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Rotatef_z, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Scaled(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Scaled_x, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Scaled_y, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Scaled_z, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_Scalef(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Scalef_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Scalef_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Scalef_z, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Translated(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Translated_x, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Translated_y, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_Translated_z, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void mesa_Translatef(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Translatef_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Translatef_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Translatef_z, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_Viewport(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Viewport_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Viewport_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Viewport_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Viewport_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_DrawArrays(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_DrawArrays_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawArrays_first, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_DrawArrays_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PolygonOffset(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PolygonOffset_factor, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PolygonOffset_units, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CopyTexImage1D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage1D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage1D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage1D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage1D_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage1D_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage1D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage1D_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CopyTexImage2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage2D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage2D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage2D_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage2D_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexImage2D_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CopyTexSubImage1D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage1D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage1D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage1D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage1D_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage1D_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage1D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CopyTexSubImage2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage2D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage2D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage2D_yoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage2D_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage2D_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexSubImage1D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage1D_UNUSED, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_TexSubImage1D_pixels, (length - 48) / 1, byte_order); } static void mesa_TexSubImage2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_yoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage2D_UNUSED, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_TexSubImage2D_pixels, (length - 56) / 1, byte_order); } static void mesa_BindTexture(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_BindTexture_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BindTexture_texture, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PrioritizeTextures(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_PrioritizeTextures_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_render_PrioritizeTextures_textures, hf_x11_glx_render_PrioritizeTextures_textures_item, n, byte_order); listOfFloat(tvb, offsetp, t, hf_x11_glx_render_PrioritizeTextures_priorities, hf_x11_glx_render_PrioritizeTextures_priorities_item, n, byte_order); } static void mesa_Indexubv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_Indexubv_c, 1, byte_order); } static void mesa_BlendColor(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_BlendColor_red, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BlendColor_green, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BlendColor_blue, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BlendColor_alpha, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_BlendEquation(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_BlendEquation_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ColorTable(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ColorTable_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTable_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_ColorTable_table, (length - 40) / 1, byte_order); } static void mesa_ColorTableParameterfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ColorTableParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTableParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_ColorTableParameterfv_params, hf_x11_glx_render_ColorTableParameterfv_params_item, (length - 8) / 4, byte_order); } static void mesa_ColorTableParameteriv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ColorTableParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorTableParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_ColorTableParameteriv_params, hf_x11_glx_render_ColorTableParameteriv_params_item, (length - 8) / 4, byte_order); } static void mesa_CopyColorTable(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyColorTable_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyColorTable_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyColorTable_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyColorTable_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyColorTable_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ColorSubTable(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_start, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ColorSubTable_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_ColorSubTable_data, (length - 40) / 1, byte_order); } static void mesa_CopyColorSubTable(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyColorSubTable_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyColorSubTable_start, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyColorSubTable_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyColorSubTable_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyColorSubTable_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ConvolutionFilter1D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter1D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_ConvolutionFilter1D_image, (length - 40) / 1, byte_order); } static void mesa_ConvolutionFilter2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionFilter2D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_ConvolutionFilter2D_image, (length - 44) / 1, byte_order); } static void mesa_ConvolutionParameterf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameterf_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameterf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameterf_params, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ConvolutionParameterfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_ConvolutionParameterfv_params, hf_x11_glx_render_ConvolutionParameterfv_params_item, (length - 8) / 4, byte_order); } static void mesa_ConvolutionParameteri(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameteri_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameteri_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameteri_params, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ConvolutionParameteriv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ConvolutionParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_ConvolutionParameteriv_params, hf_x11_glx_render_ConvolutionParameteriv_params_item, (length - 8) / 4, byte_order); } static void mesa_CopyConvolutionFilter1D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter1D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter1D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter1D_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter1D_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter1D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CopyConvolutionFilter2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter2D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter2D_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter2D_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyConvolutionFilter2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_SeparableFilter2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_SeparableFilter2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_SeparableFilter2D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_SeparableFilter2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_SeparableFilter2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_SeparableFilter2D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_SeparableFilter2D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_SeparableFilter2D_row, (length - 24) / 1, byte_order); listOfByte(tvb, offsetp, t, hf_x11_glx_render_SeparableFilter2D_column, (length - 24) / 1, byte_order); } static void mesa_Histogram(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Histogram_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Histogram_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Histogram_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Histogram_sink, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void mesa_Minmax(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_Minmax_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Minmax_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_Minmax_sink, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void mesa_ResetHistogram(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ResetHistogram_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ResetMinmax(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ResetMinmax_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TexImage3D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_depth, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage3D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_TexImage3D_pixels, (length - 56) / 1, byte_order); } static void mesa_TexSubImage3D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_yoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_zoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_depth, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage3D_UNUSED, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_TexSubImage3D_pixels, (length - 64) / 1, byte_order); } static void mesa_CopyTexSubImage3D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_yoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_zoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CopyTexSubImage3D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ActiveTexture(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ActiveTexture_texture, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_MultiTexCoord1dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord1dv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord1dv_v, hf_x11_glx_render_MultiTexCoord1dv_v_item, 1, byte_order); } static void mesa_MultiTexCoord1iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord1iv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord1iv_v, hf_x11_glx_render_MultiTexCoord1iv_v_item, 1, byte_order); } static void mesa_MultiTexCoord1sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord1sv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord1sv_v, hf_x11_glx_render_MultiTexCoord1sv_v_item, 1, byte_order); } static void mesa_MultiTexCoord2dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord2dv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord2dv_v, hf_x11_glx_render_MultiTexCoord2dv_v_item, 2, byte_order); } static void mesa_MultiTexCoord2iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord2iv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord2iv_v, hf_x11_glx_render_MultiTexCoord2iv_v_item, 2, byte_order); } static void mesa_MultiTexCoord2sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord2sv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord2sv_v, hf_x11_glx_render_MultiTexCoord2sv_v_item, 2, byte_order); } static void mesa_MultiTexCoord3dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord3dv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord3dv_v, hf_x11_glx_render_MultiTexCoord3dv_v_item, 3, byte_order); } static void mesa_MultiTexCoord3iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord3iv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord3iv_v, hf_x11_glx_render_MultiTexCoord3iv_v_item, 3, byte_order); } static void mesa_MultiTexCoord3sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord3sv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord3sv_v, hf_x11_glx_render_MultiTexCoord3sv_v_item, 3, byte_order); } static void mesa_MultiTexCoord4dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord4dv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord4dv_v, hf_x11_glx_render_MultiTexCoord4dv_v_item, 4, byte_order); } static void mesa_MultiTexCoord4iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord4iv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord4iv_v, hf_x11_glx_render_MultiTexCoord4iv_v_item, 4, byte_order); } static void mesa_MultiTexCoord4sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord4sv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord4sv_v, hf_x11_glx_render_MultiTexCoord4sv_v_item, 4, byte_order); } static void mesa_SampleCoverage(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_SampleCoverage_value, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_SampleCoverage_invert, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void mesa_CompressedTexImage3D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int imageSize; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage3D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage3D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage3D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage3D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage3D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage3D_depth, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage3D_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; imageSize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage3D_imageSize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_CompressedTexImage3D_data, imageSize, byte_order); } static void mesa_CompressedTexImage2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int imageSize; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage2D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage2D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage2D_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; imageSize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage2D_imageSize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_CompressedTexImage2D_data, imageSize, byte_order); } static void mesa_CompressedTexImage1D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int imageSize; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage1D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage1D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage1D_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage1D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage1D_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; imageSize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_CompressedTexImage1D_imageSize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_CompressedTexImage1D_data, imageSize, byte_order); } static void mesa_CompressedTexSubImage3D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int imageSize; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_yoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_zoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_depth, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; imageSize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage3D_imageSize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_CompressedTexSubImage3D_data, imageSize, byte_order); } static void mesa_CompressedTexSubImage2D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int imageSize; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage2D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage2D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage2D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage2D_yoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage2D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage2D_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage2D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; imageSize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage2D_imageSize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_CompressedTexSubImage2D_data, imageSize, byte_order); } static void mesa_CompressedTexSubImage1D(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int imageSize; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage1D_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage1D_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage1D_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage1D_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage1D_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; imageSize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_CompressedTexSubImage1D_imageSize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_CompressedTexSubImage1D_data, imageSize, byte_order); } static void mesa_BlendFuncSeparate(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_BlendFuncSeparate_sfactorRGB, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BlendFuncSeparate_dfactorRGB, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BlendFuncSeparate_sfactorAlpha, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BlendFuncSeparate_dfactorAlpha, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_FogCoorddv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_FogCoorddv_coord, hf_x11_glx_render_FogCoorddv_coord_item, 1, byte_order); } static void mesa_PointParameterf(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PointParameterf_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PointParameterf_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PointParameterfv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PointParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_PointParameterfv_params, hf_x11_glx_render_PointParameterfv_params_item, (length - 4) / 4, byte_order); } static void mesa_PointParameteri(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PointParameteri_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_PointParameteri_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_PointParameteriv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PointParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_PointParameteriv_params, hf_x11_glx_render_PointParameteriv_params_item, (length - 4) / 4, byte_order); } static void mesa_SecondaryColor3bv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_SecondaryColor3bv_v, 3, byte_order); } static void mesa_SecondaryColor3dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_SecondaryColor3dv_v, hf_x11_glx_render_SecondaryColor3dv_v_item, 3, byte_order); } static void mesa_SecondaryColor3iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt32(tvb, offsetp, t, hf_x11_glx_render_SecondaryColor3iv_v, hf_x11_glx_render_SecondaryColor3iv_v_item, 3, byte_order); } static void mesa_SecondaryColor3sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfInt16(tvb, offsetp, t, hf_x11_glx_render_SecondaryColor3sv_v, hf_x11_glx_render_SecondaryColor3sv_v_item, 3, byte_order); } static void mesa_SecondaryColor3ubv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfByte(tvb, offsetp, t, hf_x11_glx_render_SecondaryColor3ubv_v, 3, byte_order); } static void mesa_SecondaryColor3uiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfCard32(tvb, offsetp, t, hf_x11_glx_render_SecondaryColor3uiv_v, hf_x11_glx_render_SecondaryColor3uiv_v_item, 3, byte_order); } static void mesa_SecondaryColor3usv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfCard16(tvb, offsetp, t, hf_x11_glx_render_SecondaryColor3usv_v, hf_x11_glx_render_SecondaryColor3usv_v_item, 3, byte_order); } static void mesa_WindowPos3fv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_WindowPos3fv_v, hf_x11_glx_render_WindowPos3fv_v_item, 3, byte_order); } static void mesa_BeginQuery(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_BeginQuery_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BeginQuery_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_EndQuery(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_EndQuery_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_BlendEquationSeparate(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_BlendEquationSeparate_modeRGB, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BlendEquationSeparate_modeA, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_DrawBuffers(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_DrawBuffers_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_render_DrawBuffers_bufs, hf_x11_glx_render_DrawBuffers_bufs_item, n, byte_order); } static void mesa_VertexAttrib1dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib1dv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib1dv_v, hf_x11_glx_render_VertexAttrib1dv_v_item, 1, byte_order); } static void mesa_VertexAttrib1sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib1sv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib1sv_v, hf_x11_glx_render_VertexAttrib1sv_v_item, 1, byte_order); } static void mesa_VertexAttrib2dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib2dv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib2dv_v, hf_x11_glx_render_VertexAttrib2dv_v_item, 2, byte_order); } static void mesa_VertexAttrib2sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib2sv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib2sv_v, hf_x11_glx_render_VertexAttrib2sv_v_item, 2, byte_order); } static void mesa_VertexAttrib3dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib3dv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib3dv_v, hf_x11_glx_render_VertexAttrib3dv_v_item, 3, byte_order); } static void mesa_VertexAttrib3sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib3sv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib3sv_v, hf_x11_glx_render_VertexAttrib3sv_v_item, 3, byte_order); } static void mesa_VertexAttrib4Nbv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4Nbv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4Nbv_v, 4, byte_order); } static void mesa_VertexAttrib4Niv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4Niv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4Niv_v, hf_x11_glx_render_VertexAttrib4Niv_v_item, 4, byte_order); } static void mesa_VertexAttrib4Nsv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4Nsv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4Nsv_v, hf_x11_glx_render_VertexAttrib4Nsv_v_item, 4, byte_order); } static void mesa_VertexAttrib4Nubv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4Nubv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4Nubv_v, 4, byte_order); } static void mesa_VertexAttrib4Nuiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4Nuiv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4Nuiv_v, hf_x11_glx_render_VertexAttrib4Nuiv_v_item, 4, byte_order); } static void mesa_VertexAttrib4Nusv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4Nusv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4Nusv_v, hf_x11_glx_render_VertexAttrib4Nusv_v_item, 4, byte_order); } static void mesa_VertexAttrib4bv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4bv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4bv_v, 4, byte_order); } static void mesa_VertexAttrib4dv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4dv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4dv_v, hf_x11_glx_render_VertexAttrib4dv_v_item, 4, byte_order); } static void mesa_VertexAttrib4iv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4iv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4iv_v, hf_x11_glx_render_VertexAttrib4iv_v_item, 4, byte_order); } static void mesa_VertexAttrib4sv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4sv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4sv_v, hf_x11_glx_render_VertexAttrib4sv_v_item, 4, byte_order); } static void mesa_VertexAttrib4ubv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4ubv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4ubv_v, 4, byte_order); } static void mesa_VertexAttrib4uiv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4uiv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4uiv_v, hf_x11_glx_render_VertexAttrib4uiv_v_item, 4, byte_order); } static void mesa_VertexAttrib4usv(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4usv_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4usv_v, hf_x11_glx_render_VertexAttrib4usv_v_item, 4, byte_order); } static void mesa_MultiTexCoord1fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord1fvARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord1fvARB_v, hf_x11_glx_render_MultiTexCoord1fvARB_v_item, 1, byte_order); } static void mesa_MultiTexCoord2fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord2fvARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord2fvARB_v, hf_x11_glx_render_MultiTexCoord2fvARB_v_item, 2, byte_order); } static void mesa_MultiTexCoord3fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord3fvARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord3fvARB_v, hf_x11_glx_render_MultiTexCoord3fvARB_v_item, 3, byte_order); } static void mesa_MultiTexCoord4fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_MultiTexCoord4fvARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_MultiTexCoord4fvARB_v, hf_x11_glx_render_MultiTexCoord4fvARB_v_item, 4, byte_order); } static void mesa_CurrentPaletteMatrixARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CurrentPaletteMatrixARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_MatrixIndexubvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int size; size = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_MatrixIndexubvARB_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_MatrixIndexubvARB_indices, size, byte_order); } static void mesa_MatrixIndexusvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int size; size = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_MatrixIndexusvARB_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard16(tvb, offsetp, t, hf_x11_glx_render_MatrixIndexusvARB_indices, hf_x11_glx_render_MatrixIndexusvARB_indices_item, size, byte_order); } static void mesa_MatrixIndexuivARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int size; size = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_MatrixIndexuivARB_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_render_MatrixIndexuivARB_indices, hf_x11_glx_render_MatrixIndexuivARB_indices_item, size, byte_order); } static void mesa_VertexAttrib1fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib1fvARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib1fvARB_v, hf_x11_glx_render_VertexAttrib1fvARB_v_item, 1, byte_order); } static void mesa_VertexAttrib2fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib2fvARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib2fvARB_v, hf_x11_glx_render_VertexAttrib2fvARB_v_item, 2, byte_order); } static void mesa_VertexAttrib3fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib3fvARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib3fvARB_v, hf_x11_glx_render_VertexAttrib3fvARB_v_item, 3, byte_order); } static void mesa_VertexAttrib4fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4fvARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4fvARB_v, hf_x11_glx_render_VertexAttrib4fvARB_v_item, 4, byte_order); } static void mesa_ProgramStringARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int len; proto_tree_add_item(t, hf_x11_glx_render_ProgramStringARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ProgramStringARB_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_ProgramStringARB_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_ProgramStringARB_string, len, byte_order); } static void mesa_BindProgramARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_BindProgramARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_BindProgramARB_program, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ProgramEnvParameter4dvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ProgramEnvParameter4dvARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ProgramEnvParameter4dvARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_ProgramEnvParameter4dvARB_params, hf_x11_glx_render_ProgramEnvParameter4dvARB_params_item, 4, byte_order); } static void mesa_ProgramEnvParameter4fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ProgramEnvParameter4fvARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ProgramEnvParameter4fvARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_ProgramEnvParameter4fvARB_params, hf_x11_glx_render_ProgramEnvParameter4fvARB_params_item, 4, byte_order); } static void mesa_ProgramLocalParameter4dvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ProgramLocalParameter4dvARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ProgramLocalParameter4dvARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_ProgramLocalParameter4dvARB_params, hf_x11_glx_render_ProgramLocalParameter4dvARB_params_item, 4, byte_order); } static void mesa_ProgramLocalParameter4fvARB(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ProgramLocalParameter4fvARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ProgramLocalParameter4fvARB_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_ProgramLocalParameter4fvARB_params, hf_x11_glx_render_ProgramLocalParameter4fvARB_params_item, 4, byte_order); } static void mesa_TexFilterFuncSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_TexFilterFuncSGIS_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexFilterFuncSGIS_filter, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_TexFilterFuncSGIS_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_TexFilterFuncSGIS_weights, hf_x11_glx_render_TexFilterFuncSGIS_weights_item, n, byte_order); } static void mesa_TexImage4DSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_internalformat, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_depth, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_size4d, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_border, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexImage4DSGIS_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_TexImage4DSGIS_pixels, (length - 60) / 1, byte_order); } static void mesa_TexSubImage4DSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_swapbytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_lsbfirst, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_rowlength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_skiprows, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_skippixels, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_alignment, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_xoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_yoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_zoffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_woffset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_depth, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_size4d, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TexSubImage4DSGIS_UNUSED, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_TexSubImage4DSGIS_pixels, (length - 72) / 1, byte_order); } static void mesa_DetailTexFuncSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_DetailTexFuncSGIS_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_DetailTexFuncSGIS_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_DetailTexFuncSGIS_points, hf_x11_glx_render_DetailTexFuncSGIS_points_item, n, byte_order); } static void mesa_SharpenTexFuncSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_SharpenTexFuncSGIS_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_SharpenTexFuncSGIS_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_SharpenTexFuncSGIS_points, hf_x11_glx_render_SharpenTexFuncSGIS_points_item, n, byte_order); } static void mesa_SampleMaskSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_SampleMaskSGIS_value, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_SampleMaskSGIS_invert, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void mesa_SamplePatternSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_SamplePatternSGIS_pattern, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_FrameZoomSGIX(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_FrameZoomSGIX_factor, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TagSampleBufferSGIX(tvbuff_t *tvb _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void mesa_ReferencePlaneSGIX(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfDouble(tvb, offsetp, t, hf_x11_glx_render_ReferencePlaneSGIX_equation, hf_x11_glx_render_ReferencePlaneSGIX_equation_item, 4, byte_order); } static void mesa_FogFuncSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_FogFuncSGIS_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_FogFuncSGIS_points, hf_x11_glx_render_FogFuncSGIS_points_item, n, byte_order); } static void mesa_SecondaryColor3fvEXT(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_SecondaryColor3fvEXT_v, hf_x11_glx_render_SecondaryColor3fvEXT_v_item, 3, byte_order); } static void mesa_FogCoordfvEXT(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_FogCoordfvEXT_coord, hf_x11_glx_render_FogCoordfvEXT_coord_item, 1, byte_order); } static void mesa_PixelTexGenSGIX(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_PixelTexGenSGIX_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_VertexWeightfvEXT(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexWeightfvEXT_weight, hf_x11_glx_render_VertexWeightfvEXT_weight_item, 1, byte_order); } static void mesa_CombinerParameterfvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CombinerParameterfvNV_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_CombinerParameterfvNV_params, hf_x11_glx_render_CombinerParameterfvNV_params_item, (length - 4) / 4, byte_order); } static void mesa_CombinerParameterfNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CombinerParameterfNV_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerParameterfNV_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CombinerParameterivNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CombinerParameterivNV_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_glx_render_CombinerParameterivNV_params, hf_x11_glx_render_CombinerParameterivNV_params_item, (length - 4) / 4, byte_order); } static void mesa_CombinerParameteriNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CombinerParameteriNV_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerParameteriNV_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CombinerInputNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CombinerInputNV_stage, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerInputNV_portion, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerInputNV_variable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerInputNV_input, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerInputNV_mapping, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerInputNV_componentUsage, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_CombinerOutputNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_stage, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_portion, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_abOutput, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_cdOutput, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_sumOutput, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_scale, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_bias, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_abDotProduct, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_cdDotProduct, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_CombinerOutputNV_muxSum, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void mesa_FinalCombinerInputNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_FinalCombinerInputNV_variable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_FinalCombinerInputNV_input, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_FinalCombinerInputNV_mapping, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_FinalCombinerInputNV_componentUsage, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_TextureColorMaskSGIS(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TextureColorMaskSGIS_red, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TextureColorMaskSGIS_green, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TextureColorMaskSGIS_blue, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_render_TextureColorMaskSGIS_alpha, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void mesa_ExecuteProgramNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ExecuteProgramNV_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ExecuteProgramNV_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_ExecuteProgramNV_params, hf_x11_glx_render_ExecuteProgramNV_params_item, 4, byte_order); } static void mesa_LoadProgramNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int len; proto_tree_add_item(t, hf_x11_glx_render_LoadProgramNV_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_LoadProgramNV_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_LoadProgramNV_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_LoadProgramNV_program, len, byte_order); } static void mesa_ProgramParameters4dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int num; proto_tree_add_item(t, hf_x11_glx_render_ProgramParameters4dvNV_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ProgramParameters4dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; num = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_ProgramParameters4dvNV_num, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_ProgramParameters4dvNV_params, hf_x11_glx_render_ProgramParameters4dvNV_params_item, num, byte_order); } static void mesa_ProgramParameters4fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int num; proto_tree_add_item(t, hf_x11_glx_render_ProgramParameters4fvNV_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_ProgramParameters4fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; num = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_ProgramParameters4fvNV_num, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_ProgramParameters4fvNV_params, hf_x11_glx_render_ProgramParameters4fvNV_params_item, num, byte_order); } static void mesa_RequestResidentProgramsNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_RequestResidentProgramsNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_render_RequestResidentProgramsNV_ids, hf_x11_glx_render_RequestResidentProgramsNV_ids_item, n, byte_order); } static void mesa_TrackMatrixNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_TrackMatrixNV_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TrackMatrixNV_address, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TrackMatrixNV_matrix, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_render_TrackMatrixNV_transform, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_VertexAttrib1svNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib1svNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib1svNV_v, hf_x11_glx_render_VertexAttrib1svNV_v_item, 1, byte_order); } static void mesa_VertexAttrib2svNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib2svNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib2svNV_v, hf_x11_glx_render_VertexAttrib2svNV_v_item, 2, byte_order); } static void mesa_VertexAttrib3svNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib3svNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib3svNV_v, hf_x11_glx_render_VertexAttrib3svNV_v_item, 3, byte_order); } static void mesa_VertexAttrib4svNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4svNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4svNV_v, hf_x11_glx_render_VertexAttrib4svNV_v_item, 4, byte_order); } static void mesa_VertexAttrib1fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib1fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib1fvNV_v, hf_x11_glx_render_VertexAttrib1fvNV_v_item, 1, byte_order); } static void mesa_VertexAttrib2fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib2fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib2fvNV_v, hf_x11_glx_render_VertexAttrib2fvNV_v_item, 2, byte_order); } static void mesa_VertexAttrib3fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib3fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib3fvNV_v, hf_x11_glx_render_VertexAttrib3fvNV_v_item, 3, byte_order); } static void mesa_VertexAttrib4fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4fvNV_v, hf_x11_glx_render_VertexAttrib4fvNV_v_item, 4, byte_order); } static void mesa_VertexAttrib1dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib1dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib1dvNV_v, hf_x11_glx_render_VertexAttrib1dvNV_v_item, 1, byte_order); } static void mesa_VertexAttrib2dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib2dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib2dvNV_v, hf_x11_glx_render_VertexAttrib2dvNV_v_item, 2, byte_order); } static void mesa_VertexAttrib3dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib3dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib3dvNV_v, hf_x11_glx_render_VertexAttrib3dvNV_v_item, 3, byte_order); } static void mesa_VertexAttrib4dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4dvNV_v, hf_x11_glx_render_VertexAttrib4dvNV_v_item, 4, byte_order); } static void mesa_VertexAttrib4ubvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_VertexAttrib4ubvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_VertexAttrib4ubvNV_v, 4, byte_order); } static void mesa_VertexAttribs1svNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs1svNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs1svNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs1svNV_v, hf_x11_glx_render_VertexAttribs1svNV_v_item, n, byte_order); } static void mesa_VertexAttribs2svNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs2svNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs2svNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs2svNV_v, hf_x11_glx_render_VertexAttribs2svNV_v_item, n, byte_order); } static void mesa_VertexAttribs3svNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs3svNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs3svNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs3svNV_v, hf_x11_glx_render_VertexAttribs3svNV_v_item, n, byte_order); } static void mesa_VertexAttribs4svNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs4svNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs4svNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt16(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs4svNV_v, hf_x11_glx_render_VertexAttribs4svNV_v_item, n, byte_order); } static void mesa_VertexAttribs1fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs1fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs1fvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs1fvNV_v, hf_x11_glx_render_VertexAttribs1fvNV_v_item, n, byte_order); } static void mesa_VertexAttribs2fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs2fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs2fvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs2fvNV_v, hf_x11_glx_render_VertexAttribs2fvNV_v_item, n, byte_order); } static void mesa_VertexAttribs3fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs3fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs3fvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs3fvNV_v, hf_x11_glx_render_VertexAttribs3fvNV_v_item, n, byte_order); } static void mesa_VertexAttribs4fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs4fvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs4fvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfFloat(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs4fvNV_v, hf_x11_glx_render_VertexAttribs4fvNV_v_item, n, byte_order); } static void mesa_VertexAttribs1dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs1dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs1dvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs1dvNV_v, hf_x11_glx_render_VertexAttribs1dvNV_v_item, n, byte_order); } static void mesa_VertexAttribs2dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs2dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs2dvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs2dvNV_v, hf_x11_glx_render_VertexAttribs2dvNV_v_item, n, byte_order); } static void mesa_VertexAttribs3dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs3dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs3dvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs3dvNV_v, hf_x11_glx_render_VertexAttribs3dvNV_v_item, n, byte_order); } static void mesa_VertexAttribs4dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs4dvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs4dvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfDouble(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs4dvNV_v, hf_x11_glx_render_VertexAttribs4dvNV_v_item, n, byte_order); } static void mesa_VertexAttribs4ubvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int n; proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs4ubvNV_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_VertexAttribs4ubvNV_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_VertexAttribs4ubvNV_v, n, byte_order); } static void mesa_ActiveStencilFaceEXT(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_ActiveStencilFaceEXT_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void mesa_ProgramNamedParameter4fvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int len; proto_tree_add_item(t, hf_x11_glx_render_ProgramNamedParameter4fvNV_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_ProgramNamedParameter4fvNV_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_ProgramNamedParameter4fvNV_name, len, byte_order); listOfFloat(tvb, offsetp, t, hf_x11_glx_render_ProgramNamedParameter4fvNV_v, hf_x11_glx_render_ProgramNamedParameter4fvNV_v_item, 4, byte_order); } static void mesa_ProgramNamedParameter4dvNV(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int len; proto_tree_add_item(t, hf_x11_glx_render_ProgramNamedParameter4dvNV_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_render_ProgramNamedParameter4dvNV_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_render_ProgramNamedParameter4dvNV_name, len, byte_order); listOfDouble(tvb, offsetp, t, hf_x11_glx_render_ProgramNamedParameter4dvNV_v, hf_x11_glx_render_ProgramNamedParameter4dvNV_v_item, 4, byte_order); } static void mesa_DepthBoundsEXT(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_render_DepthBoundsEXT_zmin, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_render_DepthBoundsEXT_zmax, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static const value_string glx_render_op_name[] = { { 1, "glCallList" }, { 2, "glCallLists" }, { 3, "glListBase" }, { 4, "glBegin" }, { 5, "glBitmap" }, { 6, "glColor3bv" }, { 7, "glColor3dv" }, { 8, "glColor3fv" }, { 9, "glColor3iv" }, { 10, "glColor3sv" }, { 11, "glColor3ubv" }, { 12, "glColor3uiv" }, { 13, "glColor3usv" }, { 14, "glColor4bv" }, { 15, "glColor4dv" }, { 16, "glColor4fv" }, { 17, "glColor4iv" }, { 18, "glColor4sv" }, { 19, "glColor4ubv" }, { 20, "glColor4uiv" }, { 21, "glColor4usv" }, { 22, "glEdgeFlagv" }, { 23, "glEnd" }, { 24, "glIndexdv" }, { 25, "glIndexfv" }, { 26, "glIndexiv" }, { 27, "glIndexsv" }, { 28, "glNormal3bv" }, { 29, "glNormal3dv" }, { 30, "glNormal3fv" }, { 31, "glNormal3iv" }, { 32, "glNormal3sv" }, { 33, "glRasterPos2dv" }, { 34, "glRasterPos2fv" }, { 35, "glRasterPos2iv" }, { 36, "glRasterPos2sv" }, { 37, "glRasterPos3dv" }, { 38, "glRasterPos3fv" }, { 39, "glRasterPos3iv" }, { 40, "glRasterPos3sv" }, { 41, "glRasterPos4dv" }, { 42, "glRasterPos4fv" }, { 43, "glRasterPos4iv" }, { 44, "glRasterPos4sv" }, { 45, "glRectdv" }, { 46, "glRectfv" }, { 47, "glRectiv" }, { 48, "glRectsv" }, { 49, "glTexCoord1dv" }, { 50, "glTexCoord1fv" }, { 51, "glTexCoord1iv" }, { 52, "glTexCoord1sv" }, { 53, "glTexCoord2dv" }, { 54, "glTexCoord2fv" }, { 55, "glTexCoord2iv" }, { 56, "glTexCoord2sv" }, { 57, "glTexCoord3dv" }, { 58, "glTexCoord3fv" }, { 59, "glTexCoord3iv" }, { 60, "glTexCoord3sv" }, { 61, "glTexCoord4dv" }, { 62, "glTexCoord4fv" }, { 63, "glTexCoord4iv" }, { 64, "glTexCoord4sv" }, { 65, "glVertex2dv" }, { 66, "glVertex2fv" }, { 67, "glVertex2iv" }, { 68, "glVertex2sv" }, { 69, "glVertex3dv" }, { 70, "glVertex3fv" }, { 71, "glVertex3iv" }, { 72, "glVertex3sv" }, { 73, "glVertex4dv" }, { 74, "glVertex4fv" }, { 75, "glVertex4iv" }, { 76, "glVertex4sv" }, { 77, "glClipPlane" }, { 78, "glColorMaterial" }, { 79, "glCullFace" }, { 80, "glFogf" }, { 81, "glFogfv" }, { 82, "glFogi" }, { 83, "glFogiv" }, { 84, "glFrontFace" }, { 85, "glHint" }, { 86, "glLightf" }, { 87, "glLightfv" }, { 88, "glLighti" }, { 89, "glLightiv" }, { 90, "glLightModelf" }, { 91, "glLightModelfv" }, { 92, "glLightModeli" }, { 93, "glLightModeliv" }, { 94, "glLineStipple" }, { 95, "glLineWidth" }, { 96, "glMaterialf" }, { 97, "glMaterialfv" }, { 98, "glMateriali" }, { 99, "glMaterialiv" }, { 100, "glPointSize" }, { 101, "glPolygonMode" }, { 102, "glPolygonStipple" }, { 103, "glScissor" }, { 104, "glShadeModel" }, { 105, "glTexParameterf" }, { 106, "glTexParameterfv" }, { 107, "glTexParameteri" }, { 108, "glTexParameteriv" }, { 109, "glTexImage1D" }, { 110, "glTexImage2D" }, { 111, "glTexEnvf" }, { 112, "glTexEnvfv" }, { 113, "glTexEnvi" }, { 114, "glTexEnviv" }, { 115, "glTexGend" }, { 116, "glTexGendv" }, { 117, "glTexGenf" }, { 118, "glTexGenfv" }, { 119, "glTexGeni" }, { 120, "glTexGeniv" }, { 121, "glInitNames" }, { 122, "glLoadName" }, { 123, "glPassThrough" }, { 124, "glPopName" }, { 125, "glPushName" }, { 126, "glDrawBuffer" }, { 127, "glClear" }, { 128, "glClearAccum" }, { 129, "glClearIndex" }, { 130, "glClearColor" }, { 131, "glClearStencil" }, { 132, "glClearDepth" }, { 133, "glStencilMask" }, { 134, "glColorMask" }, { 135, "glDepthMask" }, { 136, "glIndexMask" }, { 137, "glAccum" }, { 138, "glDisable" }, { 139, "glEnable" }, { 141, "glPopAttrib" }, { 142, "glPushAttrib" }, { 143, "glMap1d" }, { 144, "glMap1f" }, { 145, "glMap2d" }, { 146, "glMap2f" }, { 147, "glMapGrid1d" }, { 148, "glMapGrid1f" }, { 149, "glMapGrid2d" }, { 150, "glMapGrid2f" }, { 151, "glEvalCoord1dv" }, { 152, "glEvalCoord1fv" }, { 153, "glEvalCoord2dv" }, { 154, "glEvalCoord2fv" }, { 155, "glEvalMesh1" }, { 156, "glEvalPoint1" }, { 157, "glEvalMesh2" }, { 158, "glEvalPoint2" }, { 159, "glAlphaFunc" }, { 160, "glBlendFunc" }, { 161, "glLogicOp" }, { 162, "glStencilFunc" }, { 163, "glStencilOp" }, { 164, "glDepthFunc" }, { 165, "glPixelZoom" }, { 166, "glPixelTransferf" }, { 167, "glPixelTransferi" }, { 168, "glPixelMapfv" }, { 169, "glPixelMapuiv" }, { 170, "glPixelMapusv" }, { 171, "glReadBuffer" }, { 172, "glCopyPixels" }, { 173, "glDrawPixels" }, { 174, "glDepthRange" }, { 175, "glFrustum" }, { 176, "glLoadIdentity" }, { 177, "glLoadMatrixf" }, { 178, "glLoadMatrixd" }, { 179, "glMatrixMode" }, { 180, "glMultMatrixf" }, { 181, "glMultMatrixd" }, { 182, "glOrtho" }, { 183, "glPopMatrix" }, { 184, "glPushMatrix" }, { 185, "glRotated" }, { 186, "glRotatef" }, { 187, "glScaled" }, { 188, "glScalef" }, { 189, "glTranslated" }, { 190, "glTranslatef" }, { 191, "glViewport" }, { 192, "glPolygonOffset" }, { 193, "glDrawArrays" }, { 194, "glIndexubv" }, { 195, "glColorSubTable" }, { 196, "glCopyColorSubTable" }, { 197, "glActiveTexture" }, { 198, "glMultiTexCoord1dv" }, { 199, "glMultiTexCoord1fvARB" }, { 200, "glMultiTexCoord1iv" }, { 201, "glMultiTexCoord1sv" }, { 202, "glMultiTexCoord2dv" }, { 203, "glMultiTexCoord2fvARB" }, { 204, "glMultiTexCoord2iv" }, { 205, "glMultiTexCoord2sv" }, { 206, "glMultiTexCoord3dv" }, { 207, "glMultiTexCoord3fvARB" }, { 208, "glMultiTexCoord3iv" }, { 209, "glMultiTexCoord3sv" }, { 210, "glMultiTexCoord4dv" }, { 211, "glMultiTexCoord4fvARB" }, { 212, "glMultiTexCoord4iv" }, { 213, "glMultiTexCoord4sv" }, { 214, "glCompressedTexImage1D" }, { 215, "glCompressedTexImage2D" }, { 216, "glCompressedTexImage3D" }, { 217, "glCompressedTexSubImage1D" }, { 218, "glCompressedTexSubImage2D" }, { 219, "glCompressedTexSubImage3D" }, { 229, "glSampleCoverage" }, { 230, "glWindowPos3fv" }, { 231, "glBeginQuery" }, { 232, "glEndQuery" }, { 233, "glDrawBuffers" }, { 2048, "glSampleMaskSGIS" }, { 2049, "glSamplePatternSGIS" }, { 2050, "glTagSampleBufferSGIX" }, { 2051, "glDetailTexFuncSGIS" }, { 2052, "glSharpenTexFuncSGIS" }, { 2053, "glColorTable" }, { 2054, "glColorTableParameterfv" }, { 2055, "glColorTableParameteriv" }, { 2056, "glCopyColorTable" }, { 2057, "glTexImage4DSGIS" }, { 2058, "glTexSubImage4DSGIS" }, { 2059, "glPixelTexGenSGIX" }, { 2064, "glTexFilterFuncSGIS" }, { 2065, "glPointParameterf" }, { 2066, "glPointParameterfv" }, { 2067, "glFogFuncSGIS" }, { 2071, "glReferencePlaneSGIX" }, { 2072, "glFrameZoomSGIX" }, { 2082, "glTextureColorMaskSGIS" }, { 4096, "glBlendColor" }, { 4097, "glBlendEquation" }, { 4099, "glTexSubImage1D" }, { 4100, "glTexSubImage2D" }, { 4101, "glConvolutionFilter1D" }, { 4102, "glConvolutionFilter2D" }, { 4103, "glConvolutionParameterf" }, { 4104, "glConvolutionParameterfv" }, { 4105, "glConvolutionParameteri" }, { 4106, "glConvolutionParameteriv" }, { 4107, "glCopyConvolutionFilter1D" }, { 4108, "glCopyConvolutionFilter2D" }, { 4109, "glSeparableFilter2D" }, { 4110, "glHistogram" }, { 4111, "glMinmax" }, { 4112, "glResetHistogram" }, { 4113, "glResetMinmax" }, { 4114, "glTexImage3D" }, { 4115, "glTexSubImage3D" }, { 4117, "glBindTexture" }, { 4118, "glPrioritizeTextures" }, { 4119, "glCopyTexImage1D" }, { 4120, "glCopyTexImage2D" }, { 4121, "glCopyTexSubImage1D" }, { 4122, "glCopyTexSubImage2D" }, { 4123, "glCopyTexSubImage3D" }, { 4124, "glFogCoordfvEXT" }, { 4125, "glFogCoorddv" }, { 4126, "glSecondaryColor3bv" }, { 4127, "glSecondaryColor3sv" }, { 4128, "glSecondaryColor3iv" }, { 4129, "glSecondaryColor3fvEXT" }, { 4130, "glSecondaryColor3dv" }, { 4131, "glSecondaryColor3ubv" }, { 4132, "glSecondaryColor3usv" }, { 4133, "glSecondaryColor3uiv" }, { 4134, "glBlendFuncSeparate" }, { 4135, "glVertexWeightfvEXT" }, { 4136, "glCombinerParameterfNV" }, { 4137, "glCombinerParameterfvNV" }, { 4138, "glCombinerParameteriNV" }, { 4139, "glCombinerParameterivNV" }, { 4140, "glCombinerInputNV" }, { 4141, "glCombinerOutputNV" }, { 4142, "glFinalCombinerInputNV" }, { 4180, "glBindProgramARB" }, { 4181, "glExecuteProgramNV" }, { 4182, "glRequestResidentProgramsNV" }, { 4183, "glLoadProgramNV" }, { 4184, "glProgramEnvParameter4fvARB" }, { 4185, "glProgramEnvParameter4dvARB" }, { 4186, "glProgramParameters4fvNV" }, { 4187, "glProgramParameters4dvNV" }, { 4188, "glTrackMatrixNV" }, { 4189, "glVertexAttrib1sv" }, { 4190, "glVertexAttrib2sv" }, { 4191, "glVertexAttrib3sv" }, { 4192, "glVertexAttrib4sv" }, { 4193, "glVertexAttrib1fvARB" }, { 4194, "glVertexAttrib2fvARB" }, { 4195, "glVertexAttrib3fvARB" }, { 4196, "glVertexAttrib4fvARB" }, { 4197, "glVertexAttrib1dv" }, { 4198, "glVertexAttrib2dv" }, { 4199, "glVertexAttrib3dv" }, { 4200, "glVertexAttrib4dv" }, { 4201, "glVertexAttrib4Nubv" }, { 4202, "glVertexAttribs1svNV" }, { 4203, "glVertexAttribs2svNV" }, { 4204, "glVertexAttribs3svNV" }, { 4205, "glVertexAttribs4svNV" }, { 4206, "glVertexAttribs1fvNV" }, { 4207, "glVertexAttribs2fvNV" }, { 4208, "glVertexAttribs3fvNV" }, { 4209, "glVertexAttribs4fvNV" }, { 4210, "glVertexAttribs1dvNV" }, { 4211, "glVertexAttribs2dvNV" }, { 4212, "glVertexAttribs3dvNV" }, { 4213, "glVertexAttribs4dvNV" }, { 4214, "glVertexAttribs4ubvNV" }, { 4215, "glProgramLocalParameter4fvARB" }, { 4216, "glProgramLocalParameter4dvARB" }, { 4217, "glProgramStringARB" }, { 4218, "glProgramNamedParameter4fvNV" }, { 4219, "glProgramNamedParameter4dvNV" }, { 4220, "glActiveStencilFaceEXT" }, { 4221, "glPointParameteri" }, { 4222, "glPointParameteriv" }, { 4228, "glBlendEquationSeparate" }, { 4229, "glDepthBoundsEXT" }, { 4230, "glVertexAttrib4bv" }, { 4231, "glVertexAttrib4iv" }, { 4232, "glVertexAttrib4ubv" }, { 4233, "glVertexAttrib4usv" }, { 4234, "glVertexAttrib4uiv" }, { 4235, "glVertexAttrib4Nbv" }, { 4236, "glVertexAttrib4Nsv" }, { 4237, "glVertexAttrib4Niv" }, { 4238, "glVertexAttrib4Nusv" }, { 4239, "glVertexAttrib4Nuiv" }, { 4265, "glVertexAttrib1svNV" }, { 4266, "glVertexAttrib2svNV" }, { 4267, "glVertexAttrib3svNV" }, { 4268, "glVertexAttrib4svNV" }, { 4269, "glVertexAttrib1fvNV" }, { 4270, "glVertexAttrib2fvNV" }, { 4271, "glVertexAttrib3fvNV" }, { 4272, "glVertexAttrib4fvNV" }, { 4273, "glVertexAttrib1dvNV" }, { 4274, "glVertexAttrib2dvNV" }, { 4275, "glVertexAttrib3dvNV" }, { 4276, "glVertexAttrib4dvNV" }, { 4277, "glVertexAttrib4ubvNV" }, { 4326, "glMatrixIndexubvARB" }, { 4327, "glMatrixIndexusvARB" }, { 4328, "glMatrixIndexuivARB" }, { 4329, "glCurrentPaletteMatrixARB" }, { 0, NULL } }; static value_string_ext mesa_enum_ext = VALUE_STRING_EXT_INIT(mesa_enum); static void dispatch_glx_render(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order, int length) { while (length >= 4) { guint32 op, len; int next; proto_item *ti; proto_tree *tt; len = tvb_get_guint16(tvb, *offsetp, byte_order); op = tvb_get_guint16(tvb, *offsetp + 2, byte_order); ti = proto_tree_add_uint(t, hf_x11_glx_render_op_name, tvb, *offsetp, len, op); tt = proto_item_add_subtree(ti, ett_x11_list_of_rectangle); ti = proto_tree_add_item(tt, hf_x11_request_length, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(tt, hf_x11_glx_render_op_name, tvb, *offsetp, 2, byte_order); *offsetp += 2; if (len < 4) { expert_add_info(pinfo, ti, &ei_x11_request_length); /* Eat the rest of the packet, mark it undecoded */ len = length; op = -1; } len -= 4; next = *offsetp + len; switch (op) { case 1: mesa_CallList(tvb, offsetp, tt, byte_order, len); break; case 2: mesa_CallLists(tvb, offsetp, tt, byte_order, len); break; case 3: mesa_ListBase(tvb, offsetp, tt, byte_order, len); break; case 4: mesa_Begin(tvb, offsetp, tt, byte_order, len); break; case 5: mesa_Bitmap(tvb, offsetp, tt, byte_order, len); break; case 6: mesa_Color3bv(tvb, offsetp, tt, byte_order, len); break; case 7: mesa_Color3dv(tvb, offsetp, tt, byte_order, len); break; case 8: mesa_Color3fv(tvb, offsetp, tt, byte_order, len); break; case 9: mesa_Color3iv(tvb, offsetp, tt, byte_order, len); break; case 10: mesa_Color3sv(tvb, offsetp, tt, byte_order, len); break; case 11: mesa_Color3ubv(tvb, offsetp, tt, byte_order, len); break; case 12: mesa_Color3uiv(tvb, offsetp, tt, byte_order, len); break; case 13: mesa_Color3usv(tvb, offsetp, tt, byte_order, len); break; case 14: mesa_Color4bv(tvb, offsetp, tt, byte_order, len); break; case 15: mesa_Color4dv(tvb, offsetp, tt, byte_order, len); break; case 16: mesa_Color4fv(tvb, offsetp, tt, byte_order, len); break; case 17: mesa_Color4iv(tvb, offsetp, tt, byte_order, len); break; case 18: mesa_Color4sv(tvb, offsetp, tt, byte_order, len); break; case 19: mesa_Color4ubv(tvb, offsetp, tt, byte_order, len); break; case 20: mesa_Color4uiv(tvb, offsetp, tt, byte_order, len); break; case 21: mesa_Color4usv(tvb, offsetp, tt, byte_order, len); break; case 22: mesa_EdgeFlagv(tvb, offsetp, tt, byte_order, len); break; case 23: mesa_End(tvb, offsetp, tt, byte_order, len); break; case 24: mesa_Indexdv(tvb, offsetp, tt, byte_order, len); break; case 25: mesa_Indexfv(tvb, offsetp, tt, byte_order, len); break; case 26: mesa_Indexiv(tvb, offsetp, tt, byte_order, len); break; case 27: mesa_Indexsv(tvb, offsetp, tt, byte_order, len); break; case 28: mesa_Normal3bv(tvb, offsetp, tt, byte_order, len); break; case 29: mesa_Normal3dv(tvb, offsetp, tt, byte_order, len); break; case 30: mesa_Normal3fv(tvb, offsetp, tt, byte_order, len); break; case 31: mesa_Normal3iv(tvb, offsetp, tt, byte_order, len); break; case 32: mesa_Normal3sv(tvb, offsetp, tt, byte_order, len); break; case 33: mesa_RasterPos2dv(tvb, offsetp, tt, byte_order, len); break; case 34: mesa_RasterPos2fv(tvb, offsetp, tt, byte_order, len); break; case 35: mesa_RasterPos2iv(tvb, offsetp, tt, byte_order, len); break; case 36: mesa_RasterPos2sv(tvb, offsetp, tt, byte_order, len); break; case 37: mesa_RasterPos3dv(tvb, offsetp, tt, byte_order, len); break; case 38: mesa_RasterPos3fv(tvb, offsetp, tt, byte_order, len); break; case 39: mesa_RasterPos3iv(tvb, offsetp, tt, byte_order, len); break; case 40: mesa_RasterPos3sv(tvb, offsetp, tt, byte_order, len); break; case 41: mesa_RasterPos4dv(tvb, offsetp, tt, byte_order, len); break; case 42: mesa_RasterPos4fv(tvb, offsetp, tt, byte_order, len); break; case 43: mesa_RasterPos4iv(tvb, offsetp, tt, byte_order, len); break; case 44: mesa_RasterPos4sv(tvb, offsetp, tt, byte_order, len); break; case 45: mesa_Rectdv(tvb, offsetp, tt, byte_order, len); break; case 46: mesa_Rectfv(tvb, offsetp, tt, byte_order, len); break; case 47: mesa_Rectiv(tvb, offsetp, tt, byte_order, len); break; case 48: mesa_Rectsv(tvb, offsetp, tt, byte_order, len); break; case 49: mesa_TexCoord1dv(tvb, offsetp, tt, byte_order, len); break; case 50: mesa_TexCoord1fv(tvb, offsetp, tt, byte_order, len); break; case 51: mesa_TexCoord1iv(tvb, offsetp, tt, byte_order, len); break; case 52: mesa_TexCoord1sv(tvb, offsetp, tt, byte_order, len); break; case 53: mesa_TexCoord2dv(tvb, offsetp, tt, byte_order, len); break; case 54: mesa_TexCoord2fv(tvb, offsetp, tt, byte_order, len); break; case 55: mesa_TexCoord2iv(tvb, offsetp, tt, byte_order, len); break; case 56: mesa_TexCoord2sv(tvb, offsetp, tt, byte_order, len); break; case 57: mesa_TexCoord3dv(tvb, offsetp, tt, byte_order, len); break; case 58: mesa_TexCoord3fv(tvb, offsetp, tt, byte_order, len); break; case 59: mesa_TexCoord3iv(tvb, offsetp, tt, byte_order, len); break; case 60: mesa_TexCoord3sv(tvb, offsetp, tt, byte_order, len); break; case 61: mesa_TexCoord4dv(tvb, offsetp, tt, byte_order, len); break; case 62: mesa_TexCoord4fv(tvb, offsetp, tt, byte_order, len); break; case 63: mesa_TexCoord4iv(tvb, offsetp, tt, byte_order, len); break; case 64: mesa_TexCoord4sv(tvb, offsetp, tt, byte_order, len); break; case 65: mesa_Vertex2dv(tvb, offsetp, tt, byte_order, len); break; case 66: mesa_Vertex2fv(tvb, offsetp, tt, byte_order, len); break; case 67: mesa_Vertex2iv(tvb, offsetp, tt, byte_order, len); break; case 68: mesa_Vertex2sv(tvb, offsetp, tt, byte_order, len); break; case 69: mesa_Vertex3dv(tvb, offsetp, tt, byte_order, len); break; case 70: mesa_Vertex3fv(tvb, offsetp, tt, byte_order, len); break; case 71: mesa_Vertex3iv(tvb, offsetp, tt, byte_order, len); break; case 72: mesa_Vertex3sv(tvb, offsetp, tt, byte_order, len); break; case 73: mesa_Vertex4dv(tvb, offsetp, tt, byte_order, len); break; case 74: mesa_Vertex4fv(tvb, offsetp, tt, byte_order, len); break; case 75: mesa_Vertex4iv(tvb, offsetp, tt, byte_order, len); break; case 76: mesa_Vertex4sv(tvb, offsetp, tt, byte_order, len); break; case 77: mesa_ClipPlane(tvb, offsetp, tt, byte_order, len); break; case 78: mesa_ColorMaterial(tvb, offsetp, tt, byte_order, len); break; case 79: mesa_CullFace(tvb, offsetp, tt, byte_order, len); break; case 80: mesa_Fogf(tvb, offsetp, tt, byte_order, len); break; case 81: mesa_Fogfv(tvb, offsetp, tt, byte_order, len); break; case 82: mesa_Fogi(tvb, offsetp, tt, byte_order, len); break; case 83: mesa_Fogiv(tvb, offsetp, tt, byte_order, len); break; case 84: mesa_FrontFace(tvb, offsetp, tt, byte_order, len); break; case 85: mesa_Hint(tvb, offsetp, tt, byte_order, len); break; case 86: mesa_Lightf(tvb, offsetp, tt, byte_order, len); break; case 87: mesa_Lightfv(tvb, offsetp, tt, byte_order, len); break; case 88: mesa_Lighti(tvb, offsetp, tt, byte_order, len); break; case 89: mesa_Lightiv(tvb, offsetp, tt, byte_order, len); break; case 90: mesa_LightModelf(tvb, offsetp, tt, byte_order, len); break; case 91: mesa_LightModelfv(tvb, offsetp, tt, byte_order, len); break; case 92: mesa_LightModeli(tvb, offsetp, tt, byte_order, len); break; case 93: mesa_LightModeliv(tvb, offsetp, tt, byte_order, len); break; case 94: mesa_LineStipple(tvb, offsetp, tt, byte_order, len); break; case 95: mesa_LineWidth(tvb, offsetp, tt, byte_order, len); break; case 96: mesa_Materialf(tvb, offsetp, tt, byte_order, len); break; case 97: mesa_Materialfv(tvb, offsetp, tt, byte_order, len); break; case 98: mesa_Materiali(tvb, offsetp, tt, byte_order, len); break; case 99: mesa_Materialiv(tvb, offsetp, tt, byte_order, len); break; case 100: mesa_PointSize(tvb, offsetp, tt, byte_order, len); break; case 101: mesa_PolygonMode(tvb, offsetp, tt, byte_order, len); break; case 102: mesa_PolygonStipple(tvb, offsetp, tt, byte_order, len); break; case 103: mesa_Scissor(tvb, offsetp, tt, byte_order, len); break; case 104: mesa_ShadeModel(tvb, offsetp, tt, byte_order, len); break; case 105: mesa_TexParameterf(tvb, offsetp, tt, byte_order, len); break; case 106: mesa_TexParameterfv(tvb, offsetp, tt, byte_order, len); break; case 107: mesa_TexParameteri(tvb, offsetp, tt, byte_order, len); break; case 108: mesa_TexParameteriv(tvb, offsetp, tt, byte_order, len); break; case 109: mesa_TexImage1D(tvb, offsetp, tt, byte_order, len); break; case 110: mesa_TexImage2D(tvb, offsetp, tt, byte_order, len); break; case 111: mesa_TexEnvf(tvb, offsetp, tt, byte_order, len); break; case 112: mesa_TexEnvfv(tvb, offsetp, tt, byte_order, len); break; case 113: mesa_TexEnvi(tvb, offsetp, tt, byte_order, len); break; case 114: mesa_TexEnviv(tvb, offsetp, tt, byte_order, len); break; case 115: mesa_TexGend(tvb, offsetp, tt, byte_order, len); break; case 116: mesa_TexGendv(tvb, offsetp, tt, byte_order, len); break; case 117: mesa_TexGenf(tvb, offsetp, tt, byte_order, len); break; case 118: mesa_TexGenfv(tvb, offsetp, tt, byte_order, len); break; case 119: mesa_TexGeni(tvb, offsetp, tt, byte_order, len); break; case 120: mesa_TexGeniv(tvb, offsetp, tt, byte_order, len); break; case 121: mesa_InitNames(tvb, offsetp, tt, byte_order, len); break; case 122: mesa_LoadName(tvb, offsetp, tt, byte_order, len); break; case 123: mesa_PassThrough(tvb, offsetp, tt, byte_order, len); break; case 124: mesa_PopName(tvb, offsetp, tt, byte_order, len); break; case 125: mesa_PushName(tvb, offsetp, tt, byte_order, len); break; case 126: mesa_DrawBuffer(tvb, offsetp, tt, byte_order, len); break; case 127: mesa_Clear(tvb, offsetp, tt, byte_order, len); break; case 128: mesa_ClearAccum(tvb, offsetp, tt, byte_order, len); break; case 129: mesa_ClearIndex(tvb, offsetp, tt, byte_order, len); break; case 130: mesa_ClearColor(tvb, offsetp, tt, byte_order, len); break; case 131: mesa_ClearStencil(tvb, offsetp, tt, byte_order, len); break; case 132: mesa_ClearDepth(tvb, offsetp, tt, byte_order, len); break; case 133: mesa_StencilMask(tvb, offsetp, tt, byte_order, len); break; case 134: mesa_ColorMask(tvb, offsetp, tt, byte_order, len); break; case 135: mesa_DepthMask(tvb, offsetp, tt, byte_order, len); break; case 136: mesa_IndexMask(tvb, offsetp, tt, byte_order, len); break; case 137: mesa_Accum(tvb, offsetp, tt, byte_order, len); break; case 138: mesa_Disable(tvb, offsetp, tt, byte_order, len); break; case 139: mesa_Enable(tvb, offsetp, tt, byte_order, len); break; case 141: mesa_PopAttrib(tvb, offsetp, tt, byte_order, len); break; case 142: mesa_PushAttrib(tvb, offsetp, tt, byte_order, len); break; case 143: mesa_Map1d(tvb, offsetp, tt, byte_order, len); break; case 144: mesa_Map1f(tvb, offsetp, tt, byte_order, len); break; case 145: mesa_Map2d(tvb, offsetp, tt, byte_order, len); break; case 146: mesa_Map2f(tvb, offsetp, tt, byte_order, len); break; case 147: mesa_MapGrid1d(tvb, offsetp, tt, byte_order, len); break; case 148: mesa_MapGrid1f(tvb, offsetp, tt, byte_order, len); break; case 149: mesa_MapGrid2d(tvb, offsetp, tt, byte_order, len); break; case 150: mesa_MapGrid2f(tvb, offsetp, tt, byte_order, len); break; case 151: mesa_EvalCoord1dv(tvb, offsetp, tt, byte_order, len); break; case 152: mesa_EvalCoord1fv(tvb, offsetp, tt, byte_order, len); break; case 153: mesa_EvalCoord2dv(tvb, offsetp, tt, byte_order, len); break; case 154: mesa_EvalCoord2fv(tvb, offsetp, tt, byte_order, len); break; case 155: mesa_EvalMesh1(tvb, offsetp, tt, byte_order, len); break; case 156: mesa_EvalPoint1(tvb, offsetp, tt, byte_order, len); break; case 157: mesa_EvalMesh2(tvb, offsetp, tt, byte_order, len); break; case 158: mesa_EvalPoint2(tvb, offsetp, tt, byte_order, len); break; case 159: mesa_AlphaFunc(tvb, offsetp, tt, byte_order, len); break; case 160: mesa_BlendFunc(tvb, offsetp, tt, byte_order, len); break; case 161: mesa_LogicOp(tvb, offsetp, tt, byte_order, len); break; case 162: mesa_StencilFunc(tvb, offsetp, tt, byte_order, len); break; case 163: mesa_StencilOp(tvb, offsetp, tt, byte_order, len); break; case 164: mesa_DepthFunc(tvb, offsetp, tt, byte_order, len); break; case 165: mesa_PixelZoom(tvb, offsetp, tt, byte_order, len); break; case 166: mesa_PixelTransferf(tvb, offsetp, tt, byte_order, len); break; case 167: mesa_PixelTransferi(tvb, offsetp, tt, byte_order, len); break; case 168: mesa_PixelMapfv(tvb, offsetp, tt, byte_order, len); break; case 169: mesa_PixelMapuiv(tvb, offsetp, tt, byte_order, len); break; case 170: mesa_PixelMapusv(tvb, offsetp, tt, byte_order, len); break; case 171: mesa_ReadBuffer(tvb, offsetp, tt, byte_order, len); break; case 172: mesa_CopyPixels(tvb, offsetp, tt, byte_order, len); break; case 173: mesa_DrawPixels(tvb, offsetp, tt, byte_order, len); break; case 174: mesa_DepthRange(tvb, offsetp, tt, byte_order, len); break; case 175: mesa_Frustum(tvb, offsetp, tt, byte_order, len); break; case 176: mesa_LoadIdentity(tvb, offsetp, tt, byte_order, len); break; case 177: mesa_LoadMatrixf(tvb, offsetp, tt, byte_order, len); break; case 178: mesa_LoadMatrixd(tvb, offsetp, tt, byte_order, len); break; case 179: mesa_MatrixMode(tvb, offsetp, tt, byte_order, len); break; case 180: mesa_MultMatrixf(tvb, offsetp, tt, byte_order, len); break; case 181: mesa_MultMatrixd(tvb, offsetp, tt, byte_order, len); break; case 182: mesa_Ortho(tvb, offsetp, tt, byte_order, len); break; case 183: mesa_PopMatrix(tvb, offsetp, tt, byte_order, len); break; case 184: mesa_PushMatrix(tvb, offsetp, tt, byte_order, len); break; case 185: mesa_Rotated(tvb, offsetp, tt, byte_order, len); break; case 186: mesa_Rotatef(tvb, offsetp, tt, byte_order, len); break; case 187: mesa_Scaled(tvb, offsetp, tt, byte_order, len); break; case 188: mesa_Scalef(tvb, offsetp, tt, byte_order, len); break; case 189: mesa_Translated(tvb, offsetp, tt, byte_order, len); break; case 190: mesa_Translatef(tvb, offsetp, tt, byte_order, len); break; case 191: mesa_Viewport(tvb, offsetp, tt, byte_order, len); break; case 192: mesa_PolygonOffset(tvb, offsetp, tt, byte_order, len); break; case 193: mesa_DrawArrays(tvb, offsetp, tt, byte_order, len); break; case 194: mesa_Indexubv(tvb, offsetp, tt, byte_order, len); break; case 195: mesa_ColorSubTable(tvb, offsetp, tt, byte_order, len); break; case 196: mesa_CopyColorSubTable(tvb, offsetp, tt, byte_order, len); break; case 197: mesa_ActiveTexture(tvb, offsetp, tt, byte_order, len); break; case 198: mesa_MultiTexCoord1dv(tvb, offsetp, tt, byte_order, len); break; case 199: mesa_MultiTexCoord1fvARB(tvb, offsetp, tt, byte_order, len); break; case 200: mesa_MultiTexCoord1iv(tvb, offsetp, tt, byte_order, len); break; case 201: mesa_MultiTexCoord1sv(tvb, offsetp, tt, byte_order, len); break; case 202: mesa_MultiTexCoord2dv(tvb, offsetp, tt, byte_order, len); break; case 203: mesa_MultiTexCoord2fvARB(tvb, offsetp, tt, byte_order, len); break; case 204: mesa_MultiTexCoord2iv(tvb, offsetp, tt, byte_order, len); break; case 205: mesa_MultiTexCoord2sv(tvb, offsetp, tt, byte_order, len); break; case 206: mesa_MultiTexCoord3dv(tvb, offsetp, tt, byte_order, len); break; case 207: mesa_MultiTexCoord3fvARB(tvb, offsetp, tt, byte_order, len); break; case 208: mesa_MultiTexCoord3iv(tvb, offsetp, tt, byte_order, len); break; case 209: mesa_MultiTexCoord3sv(tvb, offsetp, tt, byte_order, len); break; case 210: mesa_MultiTexCoord4dv(tvb, offsetp, tt, byte_order, len); break; case 211: mesa_MultiTexCoord4fvARB(tvb, offsetp, tt, byte_order, len); break; case 212: mesa_MultiTexCoord4iv(tvb, offsetp, tt, byte_order, len); break; case 213: mesa_MultiTexCoord4sv(tvb, offsetp, tt, byte_order, len); break; case 214: mesa_CompressedTexImage1D(tvb, offsetp, tt, byte_order, len); break; case 215: mesa_CompressedTexImage2D(tvb, offsetp, tt, byte_order, len); break; case 216: mesa_CompressedTexImage3D(tvb, offsetp, tt, byte_order, len); break; case 217: mesa_CompressedTexSubImage1D(tvb, offsetp, tt, byte_order, len); break; case 218: mesa_CompressedTexSubImage2D(tvb, offsetp, tt, byte_order, len); break; case 219: mesa_CompressedTexSubImage3D(tvb, offsetp, tt, byte_order, len); break; case 229: mesa_SampleCoverage(tvb, offsetp, tt, byte_order, len); break; case 230: mesa_WindowPos3fv(tvb, offsetp, tt, byte_order, len); break; case 231: mesa_BeginQuery(tvb, offsetp, tt, byte_order, len); break; case 232: mesa_EndQuery(tvb, offsetp, tt, byte_order, len); break; case 233: mesa_DrawBuffers(tvb, offsetp, tt, byte_order, len); break; case 2048: mesa_SampleMaskSGIS(tvb, offsetp, tt, byte_order, len); break; case 2049: mesa_SamplePatternSGIS(tvb, offsetp, tt, byte_order, len); break; case 2050: mesa_TagSampleBufferSGIX(tvb, offsetp, tt, byte_order, len); break; case 2051: mesa_DetailTexFuncSGIS(tvb, offsetp, tt, byte_order, len); break; case 2052: mesa_SharpenTexFuncSGIS(tvb, offsetp, tt, byte_order, len); break; case 2053: mesa_ColorTable(tvb, offsetp, tt, byte_order, len); break; case 2054: mesa_ColorTableParameterfv(tvb, offsetp, tt, byte_order, len); break; case 2055: mesa_ColorTableParameteriv(tvb, offsetp, tt, byte_order, len); break; case 2056: mesa_CopyColorTable(tvb, offsetp, tt, byte_order, len); break; case 2057: mesa_TexImage4DSGIS(tvb, offsetp, tt, byte_order, len); break; case 2058: mesa_TexSubImage4DSGIS(tvb, offsetp, tt, byte_order, len); break; case 2059: mesa_PixelTexGenSGIX(tvb, offsetp, tt, byte_order, len); break; case 2064: mesa_TexFilterFuncSGIS(tvb, offsetp, tt, byte_order, len); break; case 2065: mesa_PointParameterf(tvb, offsetp, tt, byte_order, len); break; case 2066: mesa_PointParameterfv(tvb, offsetp, tt, byte_order, len); break; case 2067: mesa_FogFuncSGIS(tvb, offsetp, tt, byte_order, len); break; case 2071: mesa_ReferencePlaneSGIX(tvb, offsetp, tt, byte_order, len); break; case 2072: mesa_FrameZoomSGIX(tvb, offsetp, tt, byte_order, len); break; case 2082: mesa_TextureColorMaskSGIS(tvb, offsetp, tt, byte_order, len); break; case 4096: mesa_BlendColor(tvb, offsetp, tt, byte_order, len); break; case 4097: mesa_BlendEquation(tvb, offsetp, tt, byte_order, len); break; case 4099: mesa_TexSubImage1D(tvb, offsetp, tt, byte_order, len); break; case 4100: mesa_TexSubImage2D(tvb, offsetp, tt, byte_order, len); break; case 4101: mesa_ConvolutionFilter1D(tvb, offsetp, tt, byte_order, len); break; case 4102: mesa_ConvolutionFilter2D(tvb, offsetp, tt, byte_order, len); break; case 4103: mesa_ConvolutionParameterf(tvb, offsetp, tt, byte_order, len); break; case 4104: mesa_ConvolutionParameterfv(tvb, offsetp, tt, byte_order, len); break; case 4105: mesa_ConvolutionParameteri(tvb, offsetp, tt, byte_order, len); break; case 4106: mesa_ConvolutionParameteriv(tvb, offsetp, tt, byte_order, len); break; case 4107: mesa_CopyConvolutionFilter1D(tvb, offsetp, tt, byte_order, len); break; case 4108: mesa_CopyConvolutionFilter2D(tvb, offsetp, tt, byte_order, len); break; case 4109: mesa_SeparableFilter2D(tvb, offsetp, tt, byte_order, len); break; case 4110: mesa_Histogram(tvb, offsetp, tt, byte_order, len); break; case 4111: mesa_Minmax(tvb, offsetp, tt, byte_order, len); break; case 4112: mesa_ResetHistogram(tvb, offsetp, tt, byte_order, len); break; case 4113: mesa_ResetMinmax(tvb, offsetp, tt, byte_order, len); break; case 4114: mesa_TexImage3D(tvb, offsetp, tt, byte_order, len); break; case 4115: mesa_TexSubImage3D(tvb, offsetp, tt, byte_order, len); break; case 4117: mesa_BindTexture(tvb, offsetp, tt, byte_order, len); break; case 4118: mesa_PrioritizeTextures(tvb, offsetp, tt, byte_order, len); break; case 4119: mesa_CopyTexImage1D(tvb, offsetp, tt, byte_order, len); break; case 4120: mesa_CopyTexImage2D(tvb, offsetp, tt, byte_order, len); break; case 4121: mesa_CopyTexSubImage1D(tvb, offsetp, tt, byte_order, len); break; case 4122: mesa_CopyTexSubImage2D(tvb, offsetp, tt, byte_order, len); break; case 4123: mesa_CopyTexSubImage3D(tvb, offsetp, tt, byte_order, len); break; case 4124: mesa_FogCoordfvEXT(tvb, offsetp, tt, byte_order, len); break; case 4125: mesa_FogCoorddv(tvb, offsetp, tt, byte_order, len); break; case 4126: mesa_SecondaryColor3bv(tvb, offsetp, tt, byte_order, len); break; case 4127: mesa_SecondaryColor3sv(tvb, offsetp, tt, byte_order, len); break; case 4128: mesa_SecondaryColor3iv(tvb, offsetp, tt, byte_order, len); break; case 4129: mesa_SecondaryColor3fvEXT(tvb, offsetp, tt, byte_order, len); break; case 4130: mesa_SecondaryColor3dv(tvb, offsetp, tt, byte_order, len); break; case 4131: mesa_SecondaryColor3ubv(tvb, offsetp, tt, byte_order, len); break; case 4132: mesa_SecondaryColor3usv(tvb, offsetp, tt, byte_order, len); break; case 4133: mesa_SecondaryColor3uiv(tvb, offsetp, tt, byte_order, len); break; case 4134: mesa_BlendFuncSeparate(tvb, offsetp, tt, byte_order, len); break; case 4135: mesa_VertexWeightfvEXT(tvb, offsetp, tt, byte_order, len); break; case 4136: mesa_CombinerParameterfNV(tvb, offsetp, tt, byte_order, len); break; case 4137: mesa_CombinerParameterfvNV(tvb, offsetp, tt, byte_order, len); break; case 4138: mesa_CombinerParameteriNV(tvb, offsetp, tt, byte_order, len); break; case 4139: mesa_CombinerParameterivNV(tvb, offsetp, tt, byte_order, len); break; case 4140: mesa_CombinerInputNV(tvb, offsetp, tt, byte_order, len); break; case 4141: mesa_CombinerOutputNV(tvb, offsetp, tt, byte_order, len); break; case 4142: mesa_FinalCombinerInputNV(tvb, offsetp, tt, byte_order, len); break; case 4180: mesa_BindProgramARB(tvb, offsetp, tt, byte_order, len); break; case 4181: mesa_ExecuteProgramNV(tvb, offsetp, tt, byte_order, len); break; case 4182: mesa_RequestResidentProgramsNV(tvb, offsetp, tt, byte_order, len); break; case 4183: mesa_LoadProgramNV(tvb, offsetp, tt, byte_order, len); break; case 4184: mesa_ProgramEnvParameter4fvARB(tvb, offsetp, tt, byte_order, len); break; case 4185: mesa_ProgramEnvParameter4dvARB(tvb, offsetp, tt, byte_order, len); break; case 4186: mesa_ProgramParameters4fvNV(tvb, offsetp, tt, byte_order, len); break; case 4187: mesa_ProgramParameters4dvNV(tvb, offsetp, tt, byte_order, len); break; case 4188: mesa_TrackMatrixNV(tvb, offsetp, tt, byte_order, len); break; case 4189: mesa_VertexAttrib1sv(tvb, offsetp, tt, byte_order, len); break; case 4190: mesa_VertexAttrib2sv(tvb, offsetp, tt, byte_order, len); break; case 4191: mesa_VertexAttrib3sv(tvb, offsetp, tt, byte_order, len); break; case 4192: mesa_VertexAttrib4sv(tvb, offsetp, tt, byte_order, len); break; case 4193: mesa_VertexAttrib1fvARB(tvb, offsetp, tt, byte_order, len); break; case 4194: mesa_VertexAttrib2fvARB(tvb, offsetp, tt, byte_order, len); break; case 4195: mesa_VertexAttrib3fvARB(tvb, offsetp, tt, byte_order, len); break; case 4196: mesa_VertexAttrib4fvARB(tvb, offsetp, tt, byte_order, len); break; case 4197: mesa_VertexAttrib1dv(tvb, offsetp, tt, byte_order, len); break; case 4198: mesa_VertexAttrib2dv(tvb, offsetp, tt, byte_order, len); break; case 4199: mesa_VertexAttrib3dv(tvb, offsetp, tt, byte_order, len); break; case 4200: mesa_VertexAttrib4dv(tvb, offsetp, tt, byte_order, len); break; case 4201: mesa_VertexAttrib4Nubv(tvb, offsetp, tt, byte_order, len); break; case 4202: mesa_VertexAttribs1svNV(tvb, offsetp, tt, byte_order, len); break; case 4203: mesa_VertexAttribs2svNV(tvb, offsetp, tt, byte_order, len); break; case 4204: mesa_VertexAttribs3svNV(tvb, offsetp, tt, byte_order, len); break; case 4205: mesa_VertexAttribs4svNV(tvb, offsetp, tt, byte_order, len); break; case 4206: mesa_VertexAttribs1fvNV(tvb, offsetp, tt, byte_order, len); break; case 4207: mesa_VertexAttribs2fvNV(tvb, offsetp, tt, byte_order, len); break; case 4208: mesa_VertexAttribs3fvNV(tvb, offsetp, tt, byte_order, len); break; case 4209: mesa_VertexAttribs4fvNV(tvb, offsetp, tt, byte_order, len); break; case 4210: mesa_VertexAttribs1dvNV(tvb, offsetp, tt, byte_order, len); break; case 4211: mesa_VertexAttribs2dvNV(tvb, offsetp, tt, byte_order, len); break; case 4212: mesa_VertexAttribs3dvNV(tvb, offsetp, tt, byte_order, len); break; case 4213: mesa_VertexAttribs4dvNV(tvb, offsetp, tt, byte_order, len); break; case 4214: mesa_VertexAttribs4ubvNV(tvb, offsetp, tt, byte_order, len); break; case 4215: mesa_ProgramLocalParameter4fvARB(tvb, offsetp, tt, byte_order, len); break; case 4216: mesa_ProgramLocalParameter4dvARB(tvb, offsetp, tt, byte_order, len); break; case 4217: mesa_ProgramStringARB(tvb, offsetp, tt, byte_order, len); break; case 4218: mesa_ProgramNamedParameter4fvNV(tvb, offsetp, tt, byte_order, len); break; case 4219: mesa_ProgramNamedParameter4dvNV(tvb, offsetp, tt, byte_order, len); break; case 4220: mesa_ActiveStencilFaceEXT(tvb, offsetp, tt, byte_order, len); break; case 4221: mesa_PointParameteri(tvb, offsetp, tt, byte_order, len); break; case 4222: mesa_PointParameteriv(tvb, offsetp, tt, byte_order, len); break; case 4228: mesa_BlendEquationSeparate(tvb, offsetp, tt, byte_order, len); break; case 4229: mesa_DepthBoundsEXT(tvb, offsetp, tt, byte_order, len); break; case 4230: mesa_VertexAttrib4bv(tvb, offsetp, tt, byte_order, len); break; case 4231: mesa_VertexAttrib4iv(tvb, offsetp, tt, byte_order, len); break; case 4232: mesa_VertexAttrib4ubv(tvb, offsetp, tt, byte_order, len); break; case 4233: mesa_VertexAttrib4usv(tvb, offsetp, tt, byte_order, len); break; case 4234: mesa_VertexAttrib4uiv(tvb, offsetp, tt, byte_order, len); break; case 4235: mesa_VertexAttrib4Nbv(tvb, offsetp, tt, byte_order, len); break; case 4236: mesa_VertexAttrib4Nsv(tvb, offsetp, tt, byte_order, len); break; case 4237: mesa_VertexAttrib4Niv(tvb, offsetp, tt, byte_order, len); break; case 4238: mesa_VertexAttrib4Nusv(tvb, offsetp, tt, byte_order, len); break; case 4239: mesa_VertexAttrib4Nuiv(tvb, offsetp, tt, byte_order, len); break; case 4265: mesa_VertexAttrib1svNV(tvb, offsetp, tt, byte_order, len); break; case 4266: mesa_VertexAttrib2svNV(tvb, offsetp, tt, byte_order, len); break; case 4267: mesa_VertexAttrib3svNV(tvb, offsetp, tt, byte_order, len); break; case 4268: mesa_VertexAttrib4svNV(tvb, offsetp, tt, byte_order, len); break; case 4269: mesa_VertexAttrib1fvNV(tvb, offsetp, tt, byte_order, len); break; case 4270: mesa_VertexAttrib2fvNV(tvb, offsetp, tt, byte_order, len); break; case 4271: mesa_VertexAttrib3fvNV(tvb, offsetp, tt, byte_order, len); break; case 4272: mesa_VertexAttrib4fvNV(tvb, offsetp, tt, byte_order, len); break; case 4273: mesa_VertexAttrib1dvNV(tvb, offsetp, tt, byte_order, len); break; case 4274: mesa_VertexAttrib2dvNV(tvb, offsetp, tt, byte_order, len); break; case 4275: mesa_VertexAttrib3dvNV(tvb, offsetp, tt, byte_order, len); break; case 4276: mesa_VertexAttrib4dvNV(tvb, offsetp, tt, byte_order, len); break; case 4277: mesa_VertexAttrib4ubvNV(tvb, offsetp, tt, byte_order, len); break; case 4326: mesa_MatrixIndexubvARB(tvb, offsetp, tt, byte_order, len); break; case 4327: mesa_MatrixIndexusvARB(tvb, offsetp, tt, byte_order, len); break; case 4328: mesa_MatrixIndexuivARB(tvb, offsetp, tt, byte_order, len); break; case 4329: mesa_CurrentPaletteMatrixARB(tvb, offsetp, tt, byte_order, len); break; default: proto_tree_add_item(tt, hf_x11_undecoded, tvb, *offsetp, len, ENC_NA); *offsetp += len; } if (*offsetp < next) { proto_tree_add_item(tt, hf_x11_unused, tvb, *offsetp, next - *offsetp, ENC_NA); *offsetp = next; } length -= (len + 4); } } #include "x11-enum.h" static void bigreqEnable(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void bigreqEnable_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Enable"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (bigreq-Enable)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_bigreq_Enable_reply_maximum_request_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string bigreq_extension_minor[] = { { 0, "Enable" }, { 0, NULL } }; const x11_event_info bigreq_events[] = { { NULL, NULL } }; static x11_reply_info bigreq_replies[] = { { 0, bigreqEnable_Reply }, { 0, NULL } }; static void dispatch_bigreq(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(bigreq_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, bigreq_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: bigreqEnable(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_bigreq(void) { set_handler("BIG-REQUESTS", dispatch_bigreq, bigreq_errors, bigreq_events, NULL, bigreq_replies); } static void struct_xproto_RECTANGLE(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xproto_RECTANGLE, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xproto_RECTANGLE_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xproto_RECTANGLE_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xproto_RECTANGLE_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xproto_RECTANGLE_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static int struct_size_xproto_STR(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_name_len; f_name_len = tvb_get_guint8(tvb, *offsetp + size + 0); size += f_name_len * 1; return size + 1; } static void struct_xproto_STR(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_name_len; item = proto_tree_add_item(root, hf_x11_struct_xproto_STR, tvb, *offsetp, struct_size_xproto_STR(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_name_len = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_struct_xproto_STR_name_len, tvb, *offsetp, 1, byte_order); *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_struct_xproto_STR_name, f_name_len, byte_order); } } static void struct_render_DIRECTFORMAT(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_DIRECTFORMAT, tvb, *offsetp, 16, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_DIRECTFORMAT_red_shift, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_DIRECTFORMAT_red_mask, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_DIRECTFORMAT_green_shift, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_DIRECTFORMAT_green_mask, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_DIRECTFORMAT_blue_shift, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_DIRECTFORMAT_blue_mask, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_DIRECTFORMAT_alpha_shift, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_DIRECTFORMAT_alpha_mask, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void struct_render_PICTFORMINFO(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_PICTFORMINFO, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_PICTFORMINFO_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_struct_render_PICTFORMINFO_type, byte_order); proto_tree_add_item(t, hf_x11_struct_render_PICTFORMINFO_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; struct_render_DIRECTFORMAT(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_struct_render_PICTFORMINFO_colormap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_render_PICTVISUAL(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_PICTVISUAL, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_PICTVISUAL_visual, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_PICTVISUAL_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static int struct_size_render_PICTDEPTH(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_num_visuals; f_num_visuals = tvb_get_guint16(tvb, *offsetp + size + 2, byte_order); size += f_num_visuals * 8; return size + 8; } static void struct_render_PICTDEPTH(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_num_visuals; item = proto_tree_add_item(root, hf_x11_struct_render_PICTDEPTH, tvb, *offsetp, struct_size_render_PICTDEPTH(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_PICTDEPTH_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; f_num_visuals = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_render_PICTDEPTH_num_visuals, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; struct_render_PICTVISUAL(tvb, offsetp, t, byte_order, f_num_visuals); } } static int struct_size_render_PICTSCREEN(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int i, off; int f_num_depths; f_num_depths = tvb_get_guint32(tvb, *offsetp + size + 0, byte_order); for (i = 0; i < f_num_depths; i++) { off = (*offsetp) + size + 8; size += struct_size_render_PICTDEPTH(tvb, &off, byte_order); } return size + 8; } static void struct_render_PICTSCREEN(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_num_depths; item = proto_tree_add_item(root, hf_x11_struct_render_PICTSCREEN, tvb, *offsetp, struct_size_render_PICTSCREEN(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_num_depths = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_render_PICTSCREEN_num_depths, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_PICTSCREEN_fallback, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_PICTDEPTH(tvb, offsetp, t, byte_order, f_num_depths); } } static void struct_render_INDEXVALUE(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_INDEXVALUE, tvb, *offsetp, 12, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_INDEXVALUE_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_INDEXVALUE_red, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_INDEXVALUE_green, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_INDEXVALUE_blue, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_INDEXVALUE_alpha, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void struct_render_COLOR(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_COLOR, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_COLOR_red, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_COLOR_green, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_COLOR_blue, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_COLOR_alpha, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void struct_render_POINTFIX(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_POINTFIX, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_POINTFIX_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_POINTFIX_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_render_LINEFIX(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_LINEFIX, tvb, *offsetp, 16, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); } } static void struct_render_TRIANGLE(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_TRIANGLE, tvb, *offsetp, 24, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); } } static void struct_render_TRAPEZOID(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_TRAPEZOID, tvb, *offsetp, 40, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_TRAPEZOID_top, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRAPEZOID_bottom, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_LINEFIX(tvb, offsetp, t, byte_order, 1); struct_render_LINEFIX(tvb, offsetp, t, byte_order, 1); } } static void struct_render_GLYPHINFO(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_GLYPHINFO, tvb, *offsetp, 12, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_GLYPHINFO_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_GLYPHINFO_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_GLYPHINFO_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_GLYPHINFO_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_GLYPHINFO_x_off, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_render_GLYPHINFO_y_off, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void struct_render_TRANSFORM(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_TRANSFORM, tvb, *offsetp, 36, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix11, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix12, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix13, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix21, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix22, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix23, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix31, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix32, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_TRANSFORM_matrix33, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_render_ANIMCURSORELT(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_ANIMCURSORELT, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_ANIMCURSORELT_cursor, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_ANIMCURSORELT_delay, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_render_SPANFIX(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_SPANFIX, tvb, *offsetp, 12, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_render_SPANFIX_l, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_SPANFIX_r, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_render_SPANFIX_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_render_TRAP(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_render_TRAP, tvb, *offsetp, 24, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_render_SPANFIX(tvb, offsetp, t, byte_order, 1); struct_render_SPANFIX(tvb, offsetp, t, byte_order, 1); } } static void compositeQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_QueryVersion_client_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_composite_QueryVersion_client_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void compositeQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (composite-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_composite_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_composite_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void compositeRedirectWindow(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_RedirectWindow_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_composite_RedirectWindow_update, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void compositeRedirectSubwindows(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_RedirectSubwindows_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_composite_RedirectSubwindows_update, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void compositeUnredirectWindow(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_UnredirectWindow_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_composite_UnredirectWindow_update, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void compositeUnredirectSubwindows(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_UnredirectSubwindows_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_composite_UnredirectSubwindows_update, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void compositeCreateRegionFromBorderClip(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_CreateRegionFromBorderClip_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_composite_CreateRegionFromBorderClip_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void compositeNameWindowPixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_NameWindowPixmap_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_composite_NameWindowPixmap_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void compositeGetOverlayWindow(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_GetOverlayWindow_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void compositeGetOverlayWindow_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetOverlayWindow"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (composite-GetOverlayWindow)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_composite_GetOverlayWindow_reply_overlay_win, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void compositeReleaseOverlayWindow(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_composite_ReleaseOverlayWindow_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string composite_extension_minor[] = { { 0, "QueryVersion" }, { 1, "RedirectWindow" }, { 2, "RedirectSubwindows" }, { 3, "UnredirectWindow" }, { 4, "UnredirectSubwindows" }, { 5, "CreateRegionFromBorderClip" }, { 6, "NameWindowPixmap" }, { 7, "GetOverlayWindow" }, { 8, "ReleaseOverlayWindow" }, { 0, NULL } }; const x11_event_info composite_events[] = { { NULL, NULL } }; static x11_reply_info composite_replies[] = { { 0, compositeQueryVersion_Reply }, { 7, compositeGetOverlayWindow_Reply }, { 0, NULL } }; static void dispatch_composite(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(composite_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, composite_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: compositeQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: compositeRedirectWindow(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: compositeRedirectSubwindows(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: compositeUnredirectWindow(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: compositeUnredirectSubwindows(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: compositeCreateRegionFromBorderClip(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: compositeNameWindowPixmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: compositeGetOverlayWindow(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: compositeReleaseOverlayWindow(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_composite(void) { set_handler("Composite", dispatch_composite, composite_errors, composite_events, NULL, composite_replies); } static void damageQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_damage_QueryVersion_client_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_damage_QueryVersion_client_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void damageQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (damage-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_damage_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_damage_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void damageCreate(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_damage_Create_damage, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_damage_Create_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_damage_Create_level, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void damageDestroy(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_damage_Destroy_damage, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void damageSubtract(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_damage_Subtract_damage, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_damage_Subtract_repair, byte_order); field32(tvb, offsetp, t, hf_x11_damage_Subtract_parts, byte_order); } static void damageAdd(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_damage_Add_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_damage_Add_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string damage_extension_minor[] = { { 0, "QueryVersion" }, { 1, "Create" }, { 2, "Destroy" }, { 3, "Subtract" }, { 4, "Add" }, { 0, NULL } }; const x11_event_info damage_events[] = { { NULL, NULL } }; static x11_reply_info damage_replies[] = { { 0, damageQueryVersion_Reply }, { 0, NULL } }; static void dispatch_damage(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(damage_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, damage_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: damageQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: damageCreate(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: damageDestroy(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: damageSubtract(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: damageAdd(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_damage(void) { set_handler("DAMAGE", dispatch_damage, damage_errors, damage_events, NULL, damage_replies); } static void dpmsGetVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dpms_GetVersion_client_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dpms_GetVersion_client_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void dpmsGetVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dpms-GetVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dpms_GetVersion_reply_server_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dpms_GetVersion_reply_server_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void dpmsCapable(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void dpmsCapable_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Capable"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dpms-Capable)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dpms_Capable_reply_capable, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void dpmsGetTimeouts(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void dpmsGetTimeouts_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTimeouts"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dpms-GetTimeouts)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dpms_GetTimeouts_reply_standby_timeout, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dpms_GetTimeouts_reply_suspend_timeout, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dpms_GetTimeouts_reply_off_timeout, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 18, ENC_NA); *offsetp += 18; } static void dpmsSetTimeouts(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dpms_SetTimeouts_standby_timeout, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dpms_SetTimeouts_suspend_timeout, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dpms_SetTimeouts_off_timeout, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void dpmsEnable(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void dpmsDisable(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void dpmsForceLevel(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field16(tvb, offsetp, t, hf_x11_dpms_ForceLevel_power_level, byte_order); } static void dpmsInfo(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void dpmsInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Info"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dpms-Info)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_dpms_Info_reply_power_level, byte_order); proto_tree_add_item(t, hf_x11_dpms_Info_reply_state, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 21, ENC_NA); *offsetp += 21; } static const value_string dpms_extension_minor[] = { { 0, "GetVersion" }, { 1, "Capable" }, { 2, "GetTimeouts" }, { 3, "SetTimeouts" }, { 4, "Enable" }, { 5, "Disable" }, { 6, "ForceLevel" }, { 7, "Info" }, { 0, NULL } }; const x11_event_info dpms_events[] = { { NULL, NULL } }; static x11_reply_info dpms_replies[] = { { 0, dpmsGetVersion_Reply }, { 1, dpmsCapable_Reply }, { 2, dpmsGetTimeouts_Reply }, { 7, dpmsInfo_Reply }, { 0, NULL } }; static void dispatch_dpms(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(dpms_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, dpms_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: dpmsGetVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: dpmsCapable(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: dpmsGetTimeouts(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: dpmsSetTimeouts(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: dpmsEnable(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: dpmsDisable(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: dpmsForceLevel(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: dpmsInfo(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_dpms(void) { set_handler("DPMS", dispatch_dpms, dpms_errors, dpms_events, NULL, dpms_replies); } static void struct_dri2_DRI2Buffer(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_dri2_DRI2Buffer, tvb, *offsetp, 20, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field32(tvb, offsetp, t, hf_x11_struct_dri2_DRI2Buffer_attachment, byte_order); proto_tree_add_item(t, hf_x11_struct_dri2_DRI2Buffer_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_dri2_DRI2Buffer_pitch, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_dri2_DRI2Buffer_cpp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_dri2_DRI2Buffer_flags, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_dri2_AttachFormat(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_dri2_AttachFormat, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field32(tvb, offsetp, t, hf_x11_struct_dri2_AttachFormat_attachment, byte_order); proto_tree_add_item(t, hf_x11_struct_dri2_AttachFormat_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void dri2QueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_QueryVersion_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_QueryVersion_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2QueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2Connect(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_Connect_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_dri2_Connect_driver_type, byte_order); } static void dri2Connect_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_driver_name_length; int f_device_name_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-Connect"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-Connect)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_driver_name_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_dri2_Connect_reply_driver_name_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_device_name_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_dri2_Connect_reply_device_name_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; listOfByte(tvb, offsetp, t, hf_x11_dri2_Connect_reply_driver_name, f_driver_name_length, byte_order); listOfByte(tvb, offsetp, t, hf_x11_dri2_Connect_reply_alignment_pad, (((f_driver_name_length + 3) & (~3)) - f_driver_name_length), byte_order); listOfByte(tvb, offsetp, t, hf_x11_dri2_Connect_reply_device_name, f_device_name_length, byte_order); } static void dri2Authenticate(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_Authenticate_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_Authenticate_magic, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2Authenticate_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Authenticate"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-Authenticate)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_Authenticate_reply_authenticated, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2CreateDrawable(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_CreateDrawable_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2DestroyDrawable(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_DestroyDrawable_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2GetBuffers(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_GetBuffers_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetBuffers_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_dri2_GetBuffers_attachments, hf_x11_dri2_GetBuffers_attachments_item, (length - 12) / 4, byte_order); } static void dri2GetBuffers_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_count; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetBuffers"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-GetBuffers)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetBuffers_reply_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetBuffers_reply_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_count = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_dri2_GetBuffers_reply_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; struct_dri2_DRI2Buffer(tvb, offsetp, t, byte_order, f_count); } static void dri2CopyRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_CopyRegion_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_CopyRegion_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_CopyRegion_dest, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_CopyRegion_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2CopyRegion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-CopyRegion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-CopyRegion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2GetBuffersWithFormat(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_GetBuffersWithFormat_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetBuffersWithFormat_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_dri2_AttachFormat(tvb, offsetp, t, byte_order, (length - 12) / 8); } static void dri2GetBuffersWithFormat_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_count; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetBuffersWithFormat"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-GetBuffersWithFormat)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetBuffersWithFormat_reply_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetBuffersWithFormat_reply_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_count = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_dri2_GetBuffersWithFormat_reply_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; struct_dri2_DRI2Buffer(tvb, offsetp, t, byte_order, f_count); } static void dri2SwapBuffers(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_target_msc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_target_msc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_divisor_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_divisor_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_remainder_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_remainder_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2SwapBuffers_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SwapBuffers"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-SwapBuffers)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_reply_swap_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapBuffers_reply_swap_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2GetMSC(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_GetMSC_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2GetMSC_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMSC"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-GetMSC)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetMSC_reply_ust_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetMSC_reply_ust_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetMSC_reply_msc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetMSC_reply_msc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetMSC_reply_sbc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetMSC_reply_sbc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2WaitMSC(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_WaitMSC_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_target_msc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_target_msc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_divisor_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_divisor_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_remainder_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_remainder_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2WaitMSC_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-WaitMSC"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-WaitMSC)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_reply_ust_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_reply_ust_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_reply_msc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_reply_msc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_reply_sbc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitMSC_reply_sbc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2WaitSBC(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_WaitSBC_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitSBC_target_sbc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitSBC_target_sbc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2WaitSBC_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-WaitSBC"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-WaitSBC)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitSBC_reply_ust_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitSBC_reply_ust_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitSBC_reply_msc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitSBC_reply_msc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitSBC_reply_sbc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_WaitSBC_reply_sbc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2SwapInterval(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_SwapInterval_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_SwapInterval_interval, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2GetParam(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri2_GetParam_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetParam_param, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2GetParam_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetParam"); REPLY(reply); proto_tree_add_item(t, hf_x11_dri2_GetParam_reply_is_param_recognized, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri2-GetParam)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetParam_reply_value_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri2_GetParam_reply_value_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri2InvalidateBuffers(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_dri2_InvalidateBuffers_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string dri2_extension_minor[] = { { 0, "QueryVersion" }, { 1, "Connect" }, { 2, "Authenticate" }, { 3, "CreateDrawable" }, { 4, "DestroyDrawable" }, { 5, "GetBuffers" }, { 6, "CopyRegion" }, { 7, "GetBuffersWithFormat" }, { 8, "SwapBuffers" }, { 9, "GetMSC" }, { 10, "WaitMSC" }, { 11, "WaitSBC" }, { 12, "SwapInterval" }, { 13, "GetParam" }, { 0, NULL } }; static const x11_event_info dri2_events[] = { { "dri2-InvalidateBuffers", dri2InvalidateBuffers }, { NULL, NULL } }; static x11_reply_info dri2_replies[] = { { 0, dri2QueryVersion_Reply }, { 1, dri2Connect_Reply }, { 2, dri2Authenticate_Reply }, { 5, dri2GetBuffers_Reply }, { 6, dri2CopyRegion_Reply }, { 7, dri2GetBuffersWithFormat_Reply }, { 8, dri2SwapBuffers_Reply }, { 9, dri2GetMSC_Reply }, { 10, dri2WaitMSC_Reply }, { 11, dri2WaitSBC_Reply }, { 13, dri2GetParam_Reply }, { 0, NULL } }; static void dispatch_dri2(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(dri2_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, dri2_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: dri2QueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: dri2Connect(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: dri2Authenticate(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: dri2CreateDrawable(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: dri2DestroyDrawable(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: dri2GetBuffers(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: dri2CopyRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: dri2GetBuffersWithFormat(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: dri2SwapBuffers(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: dri2GetMSC(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: dri2WaitMSC(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: dri2WaitSBC(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: dri2SwapInterval(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: dri2GetParam(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_dri2(void) { set_handler("DRI2", dispatch_dri2, dri2_errors, dri2_events, NULL, dri2_replies); } static void dri3QueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri3_QueryVersion_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_QueryVersion_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri3QueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri3-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri3Open(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri3_Open_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_Open_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri3Open_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Open"); REPLY(reply); proto_tree_add_item(t, hf_x11_dri3_Open_reply_nfd, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri3-Open)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; } static void dri3PixmapFromBuffer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffer_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffer_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffer_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffer_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffer_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffer_stride, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffer_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffer_bpp, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void dri3BufferFromPixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri3_BufferFromPixmap_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri3BufferFromPixmap_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-BufferFromPixmap"); REPLY(reply); proto_tree_add_item(t, hf_x11_dri3_BufferFromPixmap_reply_nfd, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri3-BufferFromPixmap)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_BufferFromPixmap_reply_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_BufferFromPixmap_reply_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_BufferFromPixmap_reply_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_BufferFromPixmap_reply_stride, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_BufferFromPixmap_reply_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_dri3_BufferFromPixmap_reply_bpp, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; } static void dri3FenceFromFD(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri3_FenceFromFD_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_FenceFromFD_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_FenceFromFD_initially_triggered, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void dri3FDFromFence(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri3_FDFromFence_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_FDFromFence_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri3FDFromFence_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-FDFromFence"); REPLY(reply); proto_tree_add_item(t, hf_x11_dri3_FDFromFence_reply_nfd, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri3-FDFromFence)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; } static void dri3GetSupportedModifiers(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri3_GetSupportedModifiers_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_GetSupportedModifiers_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_dri3_GetSupportedModifiers_bpp, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void dri3GetSupportedModifiers_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_window_modifiers; int f_num_screen_modifiers; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetSupportedModifiers"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri3-GetSupportedModifiers)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_window_modifiers = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_dri3_GetSupportedModifiers_reply_num_window_modifiers, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_screen_modifiers = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_dri3_GetSupportedModifiers_reply_num_screen_modifiers, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; listOfCard64(tvb, offsetp, t, hf_x11_dri3_GetSupportedModifiers_reply_window_modifiers, hf_x11_dri3_GetSupportedModifiers_reply_window_modifiers_item, f_num_window_modifiers, byte_order); listOfCard64(tvb, offsetp, t, hf_x11_dri3_GetSupportedModifiers_reply_screen_modifiers, hf_x11_dri3_GetSupportedModifiers_reply_screen_modifiers_item, f_num_screen_modifiers, byte_order); } static void dri3PixmapFromBuffers(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_buffers; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_buffers = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_num_buffers, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_stride0, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_offset0, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_stride1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_offset1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_stride2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_offset2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_stride3, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_offset3, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_bpp, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_PixmapFromBuffers_modifier, tvb, *offsetp, 8, byte_order); *offsetp += 8; length -= f_num_buffers * 1; } static void dri3BuffersFromPixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_dri3_BuffersFromPixmap_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void dri3BuffersFromPixmap_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_nfd; col_append_fstr(pinfo->cinfo, COL_INFO, "-BuffersFromPixmap"); REPLY(reply); f_nfd = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_dri3_BuffersFromPixmap_reply_nfd, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (dri3-BuffersFromPixmap)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_BuffersFromPixmap_reply_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_dri3_BuffersFromPixmap_reply_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; proto_tree_add_item(t, hf_x11_dri3_BuffersFromPixmap_reply_modifier, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_dri3_BuffersFromPixmap_reply_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_dri3_BuffersFromPixmap_reply_bpp, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 6, ENC_NA); *offsetp += 6; listOfCard32(tvb, offsetp, t, hf_x11_dri3_BuffersFromPixmap_reply_strides, hf_x11_dri3_BuffersFromPixmap_reply_strides_item, f_nfd, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_dri3_BuffersFromPixmap_reply_offsets, hf_x11_dri3_BuffersFromPixmap_reply_offsets_item, f_nfd, byte_order); } static const value_string dri3_extension_minor[] = { { 0, "QueryVersion" }, { 1, "Open" }, { 2, "PixmapFromBuffer" }, { 3, "BufferFromPixmap" }, { 4, "FenceFromFD" }, { 5, "FDFromFence" }, { 6, "GetSupportedModifiers" }, { 7, "PixmapFromBuffers" }, { 8, "BuffersFromPixmap" }, { 0, NULL } }; const x11_event_info dri3_events[] = { { NULL, NULL } }; static x11_reply_info dri3_replies[] = { { 0, dri3QueryVersion_Reply }, { 1, dri3Open_Reply }, { 3, dri3BufferFromPixmap_Reply }, { 5, dri3FDFromFence_Reply }, { 6, dri3GetSupportedModifiers_Reply }, { 8, dri3BuffersFromPixmap_Reply }, { 0, NULL } }; static void dispatch_dri3(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(dri3_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, dri3_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: dri3QueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: dri3Open(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: dri3PixmapFromBuffer(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: dri3BufferFromPixmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: dri3FenceFromFD(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: dri3FDFromFence(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: dri3GetSupportedModifiers(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: dri3PixmapFromBuffers(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: dri3BuffersFromPixmap(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_dri3(void) { set_handler("DRI3", dispatch_dri3, dri3_errors, dri3_events, NULL, dri3_replies); } static void geQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_ge_QueryVersion_client_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_ge_QueryVersion_client_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void geQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (ge-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_ge_QueryVersion_reply_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_ge_QueryVersion_reply_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static const value_string ge_extension_minor[] = { { 0, "QueryVersion" }, { 0, NULL } }; const x11_event_info ge_events[] = { { NULL, NULL } }; static x11_reply_info ge_replies[] = { { 0, geQueryVersion_Reply }, { 0, NULL } }; static void dispatch_ge(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(ge_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, ge_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: geQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_ge(void) { set_handler("Generic Event Extension", dispatch_ge, ge_errors, ge_events, NULL, ge_replies); } static void glxBufferSwapComplete(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_glx_BufferSwapComplete_event_type, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_BufferSwapComplete_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_BufferSwapComplete_ust_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_BufferSwapComplete_ust_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_BufferSwapComplete_msc_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_BufferSwapComplete_msc_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_BufferSwapComplete_sbc, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxRender(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_Render_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; dispatch_glx_render(tvb, pinfo, offsetp, t, byte_order, (length - 8)); } static void glxRenderLarge(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_data_len; proto_tree_add_item(t, hf_x11_glx_RenderLarge_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_RenderLarge_request_num, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_glx_RenderLarge_request_total, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_data_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_RenderLarge_data_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_RenderLarge_data, f_data_len, byte_order); length -= f_data_len * 1; } static void glxCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_CreateContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateContext_visual, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateContext_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateContext_share_list, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateContext_is_direct, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void glxDestroyContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_DestroyContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxMakeCurrent(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_MakeCurrent_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_MakeCurrent_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_MakeCurrent_old_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxMakeCurrent_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-MakeCurrent"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-MakeCurrent)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_MakeCurrent_reply_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void glxIsDirect(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_IsDirect_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxIsDirect_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-IsDirect"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-IsDirect)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsDirect_reply_is_direct, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void glxQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_QueryVersion_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_QueryVersion_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void glxWaitGL(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_WaitGL_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxWaitX(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_WaitX_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxCopyContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_CopyContext_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CopyContext_dest, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CopyContext_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CopyContext_src_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxSwapBuffers(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_SwapBuffers_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_SwapBuffers_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxUseXFont(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_UseXFont_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_UseXFont_font, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_UseXFont_first, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_UseXFont_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_UseXFont_list_base, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxCreateGLXPixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_CreateGLXPixmap_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateGLXPixmap_visual, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateGLXPixmap_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateGLXPixmap_glx_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetVisualConfigs(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetVisualConfigs_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetVisualConfigs_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetVisualConfigs"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetVisualConfigs)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetVisualConfigs_reply_num_visuals, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetVisualConfigs_reply_num_properties, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; listOfCard32(tvb, offsetp, t, hf_x11_glx_GetVisualConfigs_reply_property_list, hf_x11_glx_GetVisualConfigs_reply_property_list_item, f_length, byte_order); } static void glxDestroyGLXPixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_DestroyGLXPixmap_glx_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxVendorPrivate(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_VendorPrivate_vendor_code, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_VendorPrivate_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_VendorPrivate_data, (length - 12) / 1, byte_order); } static void glxVendorPrivateWithReply(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_VendorPrivateWithReply_vendor_code, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_VendorPrivateWithReply_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_VendorPrivateWithReply_data, (length - 12) / 1, byte_order); } static void glxVendorPrivateWithReply_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-VendorPrivateWithReply"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-VendorPrivateWithReply)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_VendorPrivateWithReply_reply_retval, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_VendorPrivateWithReply_reply_data1, 24, byte_order); listOfByte(tvb, offsetp, t, hf_x11_glx_VendorPrivateWithReply_reply_data2, (f_length * 4), byte_order); } static void glxQueryExtensionsString(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_QueryExtensionsString_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxQueryExtensionsString_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryExtensionsString"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-QueryExtensionsString)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_QueryExtensionsString_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void glxQueryServerString(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_QueryServerString_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_QueryServerString_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxQueryServerString_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_str_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryServerString"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-QueryServerString)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_str_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_QueryServerString_reply_str_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; listOfByte(tvb, offsetp, t, hf_x11_glx_QueryServerString_reply_string, f_str_len, byte_order); } static void glxClientInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_str_len; proto_tree_add_item(t, hf_x11_glx_ClientInfo_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_ClientInfo_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_str_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_ClientInfo_str_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_ClientInfo_string, f_str_len, byte_order); length -= f_str_len * 1; } static void glxGetFBConfigs(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetFBConfigs_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetFBConfigs_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetFBConfigs"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetFBConfigs)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetFBConfigs_reply_num_FB_configs, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetFBConfigs_reply_num_properties, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; listOfCard32(tvb, offsetp, t, hf_x11_glx_GetFBConfigs_reply_property_list, hf_x11_glx_GetFBConfigs_reply_property_list_item, f_length, byte_order); } static void glxCreatePixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_attribs; proto_tree_add_item(t, hf_x11_glx_CreatePixmap_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreatePixmap_fbconfig, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreatePixmap_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreatePixmap_glx_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_attribs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_CreatePixmap_num_attribs, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_CreatePixmap_attribs, hf_x11_glx_CreatePixmap_attribs_item, (f_num_attribs * 2), byte_order); length -= (f_num_attribs * 2) * 4; } static void glxDestroyPixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_DestroyPixmap_glx_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxCreateNewContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_CreateNewContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateNewContext_fbconfig, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateNewContext_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateNewContext_render_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateNewContext_share_list, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateNewContext_is_direct, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void glxQueryContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_QueryContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxQueryContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_attribs; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-QueryContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_attribs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_QueryContext_reply_num_attribs, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfCard32(tvb, offsetp, t, hf_x11_glx_QueryContext_reply_attribs, hf_x11_glx_QueryContext_reply_attribs_item, (f_num_attribs * 2), byte_order); } static void glxMakeContextCurrent(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_MakeContextCurrent_old_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_MakeContextCurrent_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_MakeContextCurrent_read_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_MakeContextCurrent_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxMakeContextCurrent_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-MakeContextCurrent"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-MakeContextCurrent)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_MakeContextCurrent_reply_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void glxCreatePbuffer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_attribs; proto_tree_add_item(t, hf_x11_glx_CreatePbuffer_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreatePbuffer_fbconfig, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreatePbuffer_pbuffer, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_attribs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_CreatePbuffer_num_attribs, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_CreatePbuffer_attribs, hf_x11_glx_CreatePbuffer_attribs_item, (f_num_attribs * 2), byte_order); length -= (f_num_attribs * 2) * 4; } static void glxDestroyPbuffer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_DestroyPbuffer_pbuffer, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetDrawableAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetDrawableAttributes_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetDrawableAttributes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_attribs; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDrawableAttributes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetDrawableAttributes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_attribs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetDrawableAttributes_reply_num_attribs, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfCard32(tvb, offsetp, t, hf_x11_glx_GetDrawableAttributes_reply_attribs, hf_x11_glx_GetDrawableAttributes_reply_attribs_item, (f_num_attribs * 2), byte_order); } static void glxChangeDrawableAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_attribs; proto_tree_add_item(t, hf_x11_glx_ChangeDrawableAttributes_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_attribs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_ChangeDrawableAttributes_num_attribs, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_ChangeDrawableAttributes_attribs, hf_x11_glx_ChangeDrawableAttributes_attribs_item, (f_num_attribs * 2), byte_order); length -= (f_num_attribs * 2) * 4; } static void glxCreateWindow(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_attribs; proto_tree_add_item(t, hf_x11_glx_CreateWindow_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateWindow_fbconfig, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateWindow_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateWindow_glx_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_attribs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_CreateWindow_num_attribs, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_CreateWindow_attribs, hf_x11_glx_CreateWindow_attribs_item, (f_num_attribs * 2), byte_order); length -= (f_num_attribs * 2) * 4; } static void glxDeleteWindow(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_DeleteWindow_glxwindow, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxSetClientInfoARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_versions; int f_gl_str_len; int f_glx_str_len; proto_tree_add_item(t, hf_x11_glx_SetClientInfoARB_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_SetClientInfoARB_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_versions = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_SetClientInfoARB_num_versions, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_gl_str_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_SetClientInfoARB_gl_str_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_glx_str_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_SetClientInfoARB_glx_str_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_SetClientInfoARB_gl_versions, hf_x11_glx_SetClientInfoARB_gl_versions_item, (f_num_versions * 2), byte_order); length -= (f_num_versions * 2) * 4; listOfByte(tvb, offsetp, t, hf_x11_glx_SetClientInfoARB_gl_extension_string, f_gl_str_len, byte_order); length -= f_gl_str_len * 1; listOfByte(tvb, offsetp, t, hf_x11_glx_SetClientInfoARB_glx_extension_string, f_glx_str_len, byte_order); length -= f_glx_str_len * 1; } static void glxCreateContextAttribsARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_attribs; proto_tree_add_item(t, hf_x11_glx_CreateContextAttribsARB_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateContextAttribsARB_fbconfig, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateContextAttribsARB_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateContextAttribsARB_share_list, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_CreateContextAttribsARB_is_direct, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; f_num_attribs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_CreateContextAttribsARB_num_attribs, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_CreateContextAttribsARB_attribs, hf_x11_glx_CreateContextAttribsARB_attribs_item, (f_num_attribs * 2), byte_order); length -= (f_num_attribs * 2) * 4; } static void glxSetClientInfo2ARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_versions; int f_gl_str_len; int f_glx_str_len; proto_tree_add_item(t, hf_x11_glx_SetClientInfo2ARB_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_SetClientInfo2ARB_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_versions = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_SetClientInfo2ARB_num_versions, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_gl_str_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_SetClientInfo2ARB_gl_str_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_glx_str_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_SetClientInfo2ARB_glx_str_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_SetClientInfo2ARB_gl_versions, hf_x11_glx_SetClientInfo2ARB_gl_versions_item, (f_num_versions * 3), byte_order); length -= (f_num_versions * 3) * 4; listOfByte(tvb, offsetp, t, hf_x11_glx_SetClientInfo2ARB_gl_extension_string, f_gl_str_len, byte_order); length -= f_gl_str_len * 1; listOfByte(tvb, offsetp, t, hf_x11_glx_SetClientInfo2ARB_glx_extension_string, f_glx_str_len, byte_order); length -= f_glx_str_len * 1; } static void glxNewList(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_NewList_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_NewList_list, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_NewList_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxEndList(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_EndList_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxDeleteLists(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_DeleteLists_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_DeleteLists_list, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_DeleteLists_range, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGenLists(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GenLists_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GenLists_range, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGenLists_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GenLists"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GenLists)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GenLists_reply_ret_val, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxFeedbackBuffer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_FeedbackBuffer_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_FeedbackBuffer_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_FeedbackBuffer_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxSelectBuffer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_SelectBuffer_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_SelectBuffer_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxRenderMode(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_RenderMode_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_RenderMode_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxRenderMode_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-RenderMode"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-RenderMode)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_RenderMode_reply_ret_val, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_RenderMode_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_RenderMode_reply_new_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfCard32(tvb, offsetp, t, hf_x11_glx_RenderMode_reply_data, hf_x11_glx_RenderMode_reply_data_item, f_n, byte_order); } static void glxFinish(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_Finish_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxFinish_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Finish"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-Finish)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxPixelStoref(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_PixelStoref_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_PixelStoref_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_PixelStoref_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxPixelStorei(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_PixelStorei_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_PixelStorei_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_PixelStorei_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxReadPixels(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_ReadPixels_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_ReadPixels_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_ReadPixels_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_ReadPixels_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_ReadPixels_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_ReadPixels_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_ReadPixels_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_ReadPixels_swap_bytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_ReadPixels_lsb_first, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void glxReadPixels_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-ReadPixels"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-ReadPixels)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; listOfByte(tvb, offsetp, t, hf_x11_glx_ReadPixels_reply_data, (f_length * 4), byte_order); } static void glxGetBooleanv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetBooleanv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetBooleanv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetBooleanv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetBooleanv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetBooleanv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetBooleanv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetBooleanv_reply_datum, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; listOfByte(tvb, offsetp, t, hf_x11_glx_GetBooleanv_reply_data, f_n, byte_order); } static void glxGetClipPlane(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetClipPlane_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetClipPlane_plane, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetClipPlane_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetClipPlane"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetClipPlane)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; listOfDouble(tvb, offsetp, t, hf_x11_glx_GetClipPlane_reply_data, hf_x11_glx_GetClipPlane_reply_data_item, (f_length / 2), byte_order); } static void glxGetDoublev(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetDoublev_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetDoublev_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetDoublev_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDoublev"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetDoublev)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetDoublev_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetDoublev_reply_datum, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfDouble(tvb, offsetp, t, hf_x11_glx_GetDoublev_reply_data, hf_x11_glx_GetDoublev_reply_data_item, f_n, byte_order); } static void glxGetError(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetError_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetError_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetError"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetError)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetError_reply_error, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetFloatv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetFloatv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetFloatv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetFloatv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetFloatv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetFloatv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetFloatv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetFloatv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetFloatv_reply_data, hf_x11_glx_GetFloatv_reply_data_item, f_n, byte_order); } static void glxGetIntegerv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetIntegerv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetIntegerv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetIntegerv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetIntegerv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetIntegerv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetIntegerv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetIntegerv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetIntegerv_reply_data, hf_x11_glx_GetIntegerv_reply_data_item, f_n, byte_order); } static void glxGetLightfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetLightfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetLightfv_light, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetLightfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetLightfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetLightfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetLightfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetLightfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetLightfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetLightfv_reply_data, hf_x11_glx_GetLightfv_reply_data_item, f_n, byte_order); } static void glxGetLightiv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetLightiv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetLightiv_light, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetLightiv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetLightiv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetLightiv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetLightiv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetLightiv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetLightiv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetLightiv_reply_data, hf_x11_glx_GetLightiv_reply_data_item, f_n, byte_order); } static void glxGetMapdv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetMapdv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapdv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapdv_query, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetMapdv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMapdv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetMapdv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetMapdv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapdv_reply_datum, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfDouble(tvb, offsetp, t, hf_x11_glx_GetMapdv_reply_data, hf_x11_glx_GetMapdv_reply_data_item, f_n, byte_order); } static void glxGetMapfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetMapfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapfv_query, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetMapfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMapfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetMapfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetMapfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetMapfv_reply_data, hf_x11_glx_GetMapfv_reply_data_item, f_n, byte_order); } static void glxGetMapiv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetMapiv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapiv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapiv_query, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetMapiv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMapiv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetMapiv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetMapiv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMapiv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetMapiv_reply_data, hf_x11_glx_GetMapiv_reply_data_item, f_n, byte_order); } static void glxGetMaterialfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetMaterialfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMaterialfv_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMaterialfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetMaterialfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMaterialfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetMaterialfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetMaterialfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMaterialfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetMaterialfv_reply_data, hf_x11_glx_GetMaterialfv_reply_data_item, f_n, byte_order); } static void glxGetMaterialiv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetMaterialiv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMaterialiv_face, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMaterialiv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetMaterialiv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMaterialiv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetMaterialiv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetMaterialiv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMaterialiv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetMaterialiv_reply_data, hf_x11_glx_GetMaterialiv_reply_data_item, f_n, byte_order); } static void glxGetPixelMapfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetPixelMapfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetPixelMapfv_map, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetPixelMapfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPixelMapfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetPixelMapfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetPixelMapfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetPixelMapfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetPixelMapfv_reply_data, hf_x11_glx_GetPixelMapfv_reply_data_item, f_n, byte_order); } static void glxGetPixelMapuiv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetPixelMapuiv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetPixelMapuiv_map, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetPixelMapuiv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPixelMapuiv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetPixelMapuiv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetPixelMapuiv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetPixelMapuiv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfCard32(tvb, offsetp, t, hf_x11_glx_GetPixelMapuiv_reply_data, hf_x11_glx_GetPixelMapuiv_reply_data_item, f_n, byte_order); } static void glxGetPixelMapusv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetPixelMapusv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetPixelMapusv_map, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetPixelMapusv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPixelMapusv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetPixelMapusv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetPixelMapusv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetPixelMapusv_reply_datum, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; listOfCard16(tvb, offsetp, t, hf_x11_glx_GetPixelMapusv_reply_data, hf_x11_glx_GetPixelMapusv_reply_data_item, f_n, byte_order); } static void glxGetPolygonStipple(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetPolygonStipple_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetPolygonStipple_lsb_first, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void glxGetPolygonStipple_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPolygonStipple"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetPolygonStipple)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; listOfByte(tvb, offsetp, t, hf_x11_glx_GetPolygonStipple_reply_data, (f_length * 4), byte_order); } static void glxGetString(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetString_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetString_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetString_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetString"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetString)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetString_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; listOfByte(tvb, offsetp, t, hf_x11_glx_GetString_reply_string, f_n, byte_order); } static void glxGetTexEnvfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexEnvfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexEnvfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexEnvfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexEnvfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexEnvfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexEnvfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexEnvfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexEnvfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetTexEnvfv_reply_data, hf_x11_glx_GetTexEnvfv_reply_data_item, f_n, byte_order); } static void glxGetTexEnviv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexEnviv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexEnviv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexEnviv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexEnviv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexEnviv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexEnviv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexEnviv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexEnviv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetTexEnviv_reply_data, hf_x11_glx_GetTexEnviv_reply_data_item, f_n, byte_order); } static void glxGetTexGendv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexGendv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGendv_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGendv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexGendv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexGendv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexGendv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexGendv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGendv_reply_datum, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfDouble(tvb, offsetp, t, hf_x11_glx_GetTexGendv_reply_data, hf_x11_glx_GetTexGendv_reply_data_item, f_n, byte_order); } static void glxGetTexGenfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexGenfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGenfv_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGenfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexGenfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexGenfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexGenfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexGenfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGenfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetTexGenfv_reply_data, hf_x11_glx_GetTexGenfv_reply_data_item, f_n, byte_order); } static void glxGetTexGeniv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexGeniv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGeniv_coord, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGeniv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexGeniv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexGeniv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexGeniv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexGeniv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexGeniv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetTexGeniv_reply_data, hf_x11_glx_GetTexGeniv_reply_data_item, f_n, byte_order); } static void glxGetTexImage(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexImage_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexImage_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexImage_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexImage_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexImage_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexImage_swap_bytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void glxGetTexImage_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexImage"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexImage)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_GetTexImage_reply_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexImage_reply_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexImage_reply_depth, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_glx_GetTexImage_reply_data, (f_length * 4), byte_order); } static void glxGetTexParameterfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexParameterfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexParameterfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexParameterfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexParameterfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexParameterfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexParameterfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetTexParameterfv_reply_data, hf_x11_glx_GetTexParameterfv_reply_data_item, f_n, byte_order); } static void glxGetTexParameteriv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexParameteriv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexParameteriv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexParameteriv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexParameteriv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexParameteriv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexParameteriv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetTexParameteriv_reply_data, hf_x11_glx_GetTexParameteriv_reply_data_item, f_n, byte_order); } static void glxGetTexLevelParameterfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameterfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameterfv_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexLevelParameterfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexLevelParameterfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexLevelParameterfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameterfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameterfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetTexLevelParameterfv_reply_data, hf_x11_glx_GetTexLevelParameterfv_reply_data_item, f_n, byte_order); } static void glxGetTexLevelParameteriv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameteriv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameteriv_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetTexLevelParameteriv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetTexLevelParameteriv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetTexLevelParameteriv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameteriv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetTexLevelParameteriv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetTexLevelParameteriv_reply_data, hf_x11_glx_GetTexLevelParameteriv_reply_data_item, f_n, byte_order); } static void glxIsEnabled(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_IsEnabled_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsEnabled_capability, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxIsEnabled_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-IsEnabled"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-IsEnabled)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsEnabled_reply_ret_val, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxIsList(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_IsList_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsList_list, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxIsList_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-IsList"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-IsList)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsList_reply_ret_val, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxFlush(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_Flush_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxAreTexturesResident(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_n; proto_tree_add_item(t, hf_x11_glx_AreTexturesResident_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_AreTexturesResident_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_AreTexturesResident_textures, hf_x11_glx_AreTexturesResident_textures_item, f_n, byte_order); length -= f_n * 4; } static void glxAreTexturesResident_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-AreTexturesResident"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-AreTexturesResident)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_AreTexturesResident_reply_ret_val, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_glx_AreTexturesResident_reply_data, (f_length * 4), byte_order); } static void glxDeleteTextures(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_n; proto_tree_add_item(t, hf_x11_glx_DeleteTextures_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_DeleteTextures_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_DeleteTextures_textures, hf_x11_glx_DeleteTextures_textures_item, f_n, byte_order); length -= f_n * 4; } static void glxGenTextures(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GenTextures_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GenTextures_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGenTextures_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GenTextures"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GenTextures)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; listOfCard32(tvb, offsetp, t, hf_x11_glx_GenTextures_reply_data, hf_x11_glx_GenTextures_reply_data_item, f_length, byte_order); } static void glxIsTexture(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_IsTexture_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsTexture_texture, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxIsTexture_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-IsTexture"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-IsTexture)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsTexture_reply_ret_val, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetColorTable(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetColorTable_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTable_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTable_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTable_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTable_swap_bytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void glxGetColorTable_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetColorTable"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetColorTable)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_GetColorTable_reply_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfByte(tvb, offsetp, t, hf_x11_glx_GetColorTable_reply_data, (f_length * 4), byte_order); } static void glxGetColorTableParameterfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetColorTableParameterfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTableParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTableParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetColorTableParameterfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetColorTableParameterfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetColorTableParameterfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetColorTableParameterfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTableParameterfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetColorTableParameterfv_reply_data, hf_x11_glx_GetColorTableParameterfv_reply_data_item, f_n, byte_order); } static void glxGetColorTableParameteriv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetColorTableParameteriv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTableParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTableParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetColorTableParameteriv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetColorTableParameteriv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetColorTableParameteriv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetColorTableParameteriv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetColorTableParameteriv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetColorTableParameteriv_reply_data, hf_x11_glx_GetColorTableParameteriv_reply_data_item, f_n, byte_order); } static void glxGetConvolutionFilter(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetConvolutionFilter_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionFilter_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionFilter_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionFilter_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionFilter_swap_bytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void glxGetConvolutionFilter_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetConvolutionFilter"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetConvolutionFilter)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_GetConvolutionFilter_reply_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionFilter_reply_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfByte(tvb, offsetp, t, hf_x11_glx_GetConvolutionFilter_reply_data, (f_length * 4), byte_order); } static void glxGetConvolutionParameterfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameterfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetConvolutionParameterfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetConvolutionParameterfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetConvolutionParameterfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameterfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameterfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetConvolutionParameterfv_reply_data, hf_x11_glx_GetConvolutionParameterfv_reply_data_item, f_n, byte_order); } static void glxGetConvolutionParameteriv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameteriv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetConvolutionParameteriv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetConvolutionParameteriv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetConvolutionParameteriv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameteriv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetConvolutionParameteriv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetConvolutionParameteriv_reply_data, hf_x11_glx_GetConvolutionParameteriv_reply_data_item, f_n, byte_order); } static void glxGetSeparableFilter(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetSeparableFilter_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetSeparableFilter_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetSeparableFilter_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetSeparableFilter_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetSeparableFilter_swap_bytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void glxGetSeparableFilter_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetSeparableFilter"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetSeparableFilter)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_GetSeparableFilter_reply_row_w, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetSeparableFilter_reply_col_h, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfByte(tvb, offsetp, t, hf_x11_glx_GetSeparableFilter_reply_rows_and_cols, (f_length * 4), byte_order); } static void glxGetHistogram(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetHistogram_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogram_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogram_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogram_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogram_swap_bytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_GetHistogram_reset, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void glxGetHistogram_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetHistogram"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetHistogram)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_GetHistogram_reply_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfByte(tvb, offsetp, t, hf_x11_glx_GetHistogram_reply_data, (f_length * 4), byte_order); } static void glxGetHistogramParameterfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetHistogramParameterfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogramParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogramParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetHistogramParameterfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetHistogramParameterfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetHistogramParameterfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetHistogramParameterfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogramParameterfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetHistogramParameterfv_reply_data, hf_x11_glx_GetHistogramParameterfv_reply_data_item, f_n, byte_order); } static void glxGetHistogramParameteriv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetHistogramParameteriv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogramParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogramParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetHistogramParameteriv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetHistogramParameteriv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetHistogramParameteriv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetHistogramParameteriv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetHistogramParameteriv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetHistogramParameteriv_reply_data, hf_x11_glx_GetHistogramParameteriv_reply_data_item, f_n, byte_order); } static void glxGetMinmax(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetMinmax_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmax_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmax_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmax_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmax_swap_bytes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_glx_GetMinmax_reset, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void glxGetMinmax_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMinmax"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetMinmax)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; listOfByte(tvb, offsetp, t, hf_x11_glx_GetMinmax_reply_data, (f_length * 4), byte_order); } static void glxGetMinmaxParameterfv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameterfv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameterfv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameterfv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetMinmaxParameterfv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMinmaxParameterfv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetMinmaxParameterfv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameterfv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameterfv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfFloat(tvb, offsetp, t, hf_x11_glx_GetMinmaxParameterfv_reply_data, hf_x11_glx_GetMinmaxParameterfv_reply_data_item, f_n, byte_order); } static void glxGetMinmaxParameteriv(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameteriv_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameteriv_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameteriv_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetMinmaxParameteriv_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMinmaxParameteriv"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetMinmaxParameteriv)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameteriv_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetMinmaxParameteriv_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetMinmaxParameteriv_reply_data, hf_x11_glx_GetMinmaxParameteriv_reply_data_item, f_n, byte_order); } static void glxGetCompressedTexImageARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetCompressedTexImageARB_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetCompressedTexImageARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetCompressedTexImageARB_level, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetCompressedTexImageARB_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCompressedTexImageARB"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetCompressedTexImageARB)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; proto_tree_add_item(t, hf_x11_glx_GetCompressedTexImageARB_reply_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfByte(tvb, offsetp, t, hf_x11_glx_GetCompressedTexImageARB_reply_data, (f_length * 4), byte_order); } static void glxDeleteQueriesARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_n; proto_tree_add_item(t, hf_x11_glx_DeleteQueriesARB_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_DeleteQueriesARB_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_glx_DeleteQueriesARB_ids, hf_x11_glx_DeleteQueriesARB_ids_item, f_n, byte_order); length -= f_n * 4; } static void glxGenQueriesARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GenQueriesARB_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GenQueriesARB_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGenQueriesARB_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GenQueriesARB"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GenQueriesARB)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; listOfCard32(tvb, offsetp, t, hf_x11_glx_GenQueriesARB_reply_data, hf_x11_glx_GenQueriesARB_reply_data_item, f_length, byte_order); } static void glxIsQueryARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_IsQueryARB_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsQueryARB_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxIsQueryARB_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-IsQueryARB"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-IsQueryARB)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_IsQueryARB_reply_ret_val, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetQueryivARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetQueryivARB_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryivARB_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryivARB_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetQueryivARB_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetQueryivARB"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetQueryivARB)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetQueryivARB_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryivARB_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetQueryivARB_reply_data, hf_x11_glx_GetQueryivARB_reply_data_item, f_n, byte_order); } static void glxGetQueryObjectivARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetQueryObjectivARB_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryObjectivARB_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryObjectivARB_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetQueryObjectivARB_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetQueryObjectivARB"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetQueryObjectivARB)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetQueryObjectivARB_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryObjectivARB_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfInt32(tvb, offsetp, t, hf_x11_glx_GetQueryObjectivARB_reply_data, hf_x11_glx_GetQueryObjectivARB_reply_data_item, f_n, byte_order); } static void glxGetQueryObjectuivARB(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_glx_GetQueryObjectuivARB_context_tag, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryObjectuivARB_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryObjectuivARB_pname, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void glxGetQueryObjectuivARB_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_n; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetQueryObjectuivARB"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (glx-GetQueryObjectuivARB)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_n = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_glx_GetQueryObjectuivARB_reply_n, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_glx_GetQueryObjectuivARB_reply_datum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfCard32(tvb, offsetp, t, hf_x11_glx_GetQueryObjectuivARB_reply_data, hf_x11_glx_GetQueryObjectuivARB_reply_data_item, f_n, byte_order); } static const value_string glx_extension_minor[] = { { 1, "Render" }, { 2, "RenderLarge" }, { 3, "CreateContext" }, { 4, "DestroyContext" }, { 5, "MakeCurrent" }, { 6, "IsDirect" }, { 7, "QueryVersion" }, { 8, "WaitGL" }, { 9, "WaitX" }, { 10, "CopyContext" }, { 11, "SwapBuffers" }, { 12, "UseXFont" }, { 13, "CreateGLXPixmap" }, { 14, "GetVisualConfigs" }, { 15, "DestroyGLXPixmap" }, { 16, "VendorPrivate" }, { 17, "VendorPrivateWithReply" }, { 18, "QueryExtensionsString" }, { 19, "QueryServerString" }, { 20, "ClientInfo" }, { 21, "GetFBConfigs" }, { 22, "CreatePixmap" }, { 23, "DestroyPixmap" }, { 24, "CreateNewContext" }, { 25, "QueryContext" }, { 26, "MakeContextCurrent" }, { 27, "CreatePbuffer" }, { 28, "DestroyPbuffer" }, { 29, "GetDrawableAttributes" }, { 30, "ChangeDrawableAttributes" }, { 31, "CreateWindow" }, { 32, "DeleteWindow" }, { 33, "SetClientInfoARB" }, { 34, "CreateContextAttribsARB" }, { 35, "SetClientInfo2ARB" }, { 101, "NewList" }, { 102, "EndList" }, { 103, "DeleteLists" }, { 104, "GenLists" }, { 105, "FeedbackBuffer" }, { 106, "SelectBuffer" }, { 107, "RenderMode" }, { 108, "Finish" }, { 109, "PixelStoref" }, { 110, "PixelStorei" }, { 111, "ReadPixels" }, { 112, "GetBooleanv" }, { 113, "GetClipPlane" }, { 114, "GetDoublev" }, { 115, "GetError" }, { 116, "GetFloatv" }, { 117, "GetIntegerv" }, { 118, "GetLightfv" }, { 119, "GetLightiv" }, { 120, "GetMapdv" }, { 121, "GetMapfv" }, { 122, "GetMapiv" }, { 123, "GetMaterialfv" }, { 124, "GetMaterialiv" }, { 125, "GetPixelMapfv" }, { 126, "GetPixelMapuiv" }, { 127, "GetPixelMapusv" }, { 128, "GetPolygonStipple" }, { 129, "GetString" }, { 130, "GetTexEnvfv" }, { 131, "GetTexEnviv" }, { 132, "GetTexGendv" }, { 133, "GetTexGenfv" }, { 134, "GetTexGeniv" }, { 135, "GetTexImage" }, { 136, "GetTexParameterfv" }, { 137, "GetTexParameteriv" }, { 138, "GetTexLevelParameterfv" }, { 139, "GetTexLevelParameteriv" }, { 140, "IsEnabled" }, { 141, "IsList" }, { 142, "Flush" }, { 143, "AreTexturesResident" }, { 144, "DeleteTextures" }, { 145, "GenTextures" }, { 146, "IsTexture" }, { 147, "GetColorTable" }, { 148, "GetColorTableParameterfv" }, { 149, "GetColorTableParameteriv" }, { 150, "GetConvolutionFilter" }, { 151, "GetConvolutionParameterfv" }, { 152, "GetConvolutionParameteriv" }, { 153, "GetSeparableFilter" }, { 154, "GetHistogram" }, { 155, "GetHistogramParameterfv" }, { 156, "GetHistogramParameteriv" }, { 157, "GetMinmax" }, { 158, "GetMinmaxParameterfv" }, { 159, "GetMinmaxParameteriv" }, { 160, "GetCompressedTexImageARB" }, { 161, "DeleteQueriesARB" }, { 162, "GenQueriesARB" }, { 163, "IsQueryARB" }, { 164, "GetQueryivARB" }, { 165, "GetQueryObjectivARB" }, { 166, "GetQueryObjectuivARB" }, { 0, NULL } }; static const x11_event_info glx_events[] = { { "glx-BufferSwapComplete", glxBufferSwapComplete }, { NULL, NULL } }; static x11_reply_info glx_replies[] = { { 5, glxMakeCurrent_Reply }, { 6, glxIsDirect_Reply }, { 7, glxQueryVersion_Reply }, { 14, glxGetVisualConfigs_Reply }, { 17, glxVendorPrivateWithReply_Reply }, { 18, glxQueryExtensionsString_Reply }, { 19, glxQueryServerString_Reply }, { 21, glxGetFBConfigs_Reply }, { 25, glxQueryContext_Reply }, { 26, glxMakeContextCurrent_Reply }, { 29, glxGetDrawableAttributes_Reply }, { 104, glxGenLists_Reply }, { 107, glxRenderMode_Reply }, { 108, glxFinish_Reply }, { 111, glxReadPixels_Reply }, { 112, glxGetBooleanv_Reply }, { 113, glxGetClipPlane_Reply }, { 114, glxGetDoublev_Reply }, { 115, glxGetError_Reply }, { 116, glxGetFloatv_Reply }, { 117, glxGetIntegerv_Reply }, { 118, glxGetLightfv_Reply }, { 119, glxGetLightiv_Reply }, { 120, glxGetMapdv_Reply }, { 121, glxGetMapfv_Reply }, { 122, glxGetMapiv_Reply }, { 123, glxGetMaterialfv_Reply }, { 124, glxGetMaterialiv_Reply }, { 125, glxGetPixelMapfv_Reply }, { 126, glxGetPixelMapuiv_Reply }, { 127, glxGetPixelMapusv_Reply }, { 128, glxGetPolygonStipple_Reply }, { 129, glxGetString_Reply }, { 130, glxGetTexEnvfv_Reply }, { 131, glxGetTexEnviv_Reply }, { 132, glxGetTexGendv_Reply }, { 133, glxGetTexGenfv_Reply }, { 134, glxGetTexGeniv_Reply }, { 135, glxGetTexImage_Reply }, { 136, glxGetTexParameterfv_Reply }, { 137, glxGetTexParameteriv_Reply }, { 138, glxGetTexLevelParameterfv_Reply }, { 139, glxGetTexLevelParameteriv_Reply }, { 140, glxIsEnabled_Reply }, { 141, glxIsList_Reply }, { 143, glxAreTexturesResident_Reply }, { 145, glxGenTextures_Reply }, { 146, glxIsTexture_Reply }, { 147, glxGetColorTable_Reply }, { 148, glxGetColorTableParameterfv_Reply }, { 149, glxGetColorTableParameteriv_Reply }, { 150, glxGetConvolutionFilter_Reply }, { 151, glxGetConvolutionParameterfv_Reply }, { 152, glxGetConvolutionParameteriv_Reply }, { 153, glxGetSeparableFilter_Reply }, { 154, glxGetHistogram_Reply }, { 155, glxGetHistogramParameterfv_Reply }, { 156, glxGetHistogramParameteriv_Reply }, { 157, glxGetMinmax_Reply }, { 158, glxGetMinmaxParameterfv_Reply }, { 159, glxGetMinmaxParameteriv_Reply }, { 160, glxGetCompressedTexImageARB_Reply }, { 162, glxGenQueriesARB_Reply }, { 163, glxIsQueryARB_Reply }, { 164, glxGetQueryivARB_Reply }, { 165, glxGetQueryObjectivARB_Reply }, { 166, glxGetQueryObjectuivARB_Reply }, { 0, NULL } }; static void dispatch_glx(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(glx_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, glx_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 1: glxRender(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: glxRenderLarge(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: glxCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: glxDestroyContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: glxMakeCurrent(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: glxIsDirect(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: glxQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: glxWaitGL(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: glxWaitX(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: glxCopyContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: glxSwapBuffers(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: glxUseXFont(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: glxCreateGLXPixmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: glxGetVisualConfigs(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: glxDestroyGLXPixmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: glxVendorPrivate(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: glxVendorPrivateWithReply(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: glxQueryExtensionsString(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: glxQueryServerString(tvb, pinfo, offsetp, t, byte_order, length); break; case 20: glxClientInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 21: glxGetFBConfigs(tvb, pinfo, offsetp, t, byte_order, length); break; case 22: glxCreatePixmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 23: glxDestroyPixmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 24: glxCreateNewContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 25: glxQueryContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 26: glxMakeContextCurrent(tvb, pinfo, offsetp, t, byte_order, length); break; case 27: glxCreatePbuffer(tvb, pinfo, offsetp, t, byte_order, length); break; case 28: glxDestroyPbuffer(tvb, pinfo, offsetp, t, byte_order, length); break; case 29: glxGetDrawableAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 30: glxChangeDrawableAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 31: glxCreateWindow(tvb, pinfo, offsetp, t, byte_order, length); break; case 32: glxDeleteWindow(tvb, pinfo, offsetp, t, byte_order, length); break; case 33: glxSetClientInfoARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 34: glxCreateContextAttribsARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 35: glxSetClientInfo2ARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 101: glxNewList(tvb, pinfo, offsetp, t, byte_order, length); break; case 102: glxEndList(tvb, pinfo, offsetp, t, byte_order, length); break; case 103: glxDeleteLists(tvb, pinfo, offsetp, t, byte_order, length); break; case 104: glxGenLists(tvb, pinfo, offsetp, t, byte_order, length); break; case 105: glxFeedbackBuffer(tvb, pinfo, offsetp, t, byte_order, length); break; case 106: glxSelectBuffer(tvb, pinfo, offsetp, t, byte_order, length); break; case 107: glxRenderMode(tvb, pinfo, offsetp, t, byte_order, length); break; case 108: glxFinish(tvb, pinfo, offsetp, t, byte_order, length); break; case 109: glxPixelStoref(tvb, pinfo, offsetp, t, byte_order, length); break; case 110: glxPixelStorei(tvb, pinfo, offsetp, t, byte_order, length); break; case 111: glxReadPixels(tvb, pinfo, offsetp, t, byte_order, length); break; case 112: glxGetBooleanv(tvb, pinfo, offsetp, t, byte_order, length); break; case 113: glxGetClipPlane(tvb, pinfo, offsetp, t, byte_order, length); break; case 114: glxGetDoublev(tvb, pinfo, offsetp, t, byte_order, length); break; case 115: glxGetError(tvb, pinfo, offsetp, t, byte_order, length); break; case 116: glxGetFloatv(tvb, pinfo, offsetp, t, byte_order, length); break; case 117: glxGetIntegerv(tvb, pinfo, offsetp, t, byte_order, length); break; case 118: glxGetLightfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 119: glxGetLightiv(tvb, pinfo, offsetp, t, byte_order, length); break; case 120: glxGetMapdv(tvb, pinfo, offsetp, t, byte_order, length); break; case 121: glxGetMapfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 122: glxGetMapiv(tvb, pinfo, offsetp, t, byte_order, length); break; case 123: glxGetMaterialfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 124: glxGetMaterialiv(tvb, pinfo, offsetp, t, byte_order, length); break; case 125: glxGetPixelMapfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 126: glxGetPixelMapuiv(tvb, pinfo, offsetp, t, byte_order, length); break; case 127: glxGetPixelMapusv(tvb, pinfo, offsetp, t, byte_order, length); break; case 128: glxGetPolygonStipple(tvb, pinfo, offsetp, t, byte_order, length); break; case 129: glxGetString(tvb, pinfo, offsetp, t, byte_order, length); break; case 130: glxGetTexEnvfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 131: glxGetTexEnviv(tvb, pinfo, offsetp, t, byte_order, length); break; case 132: glxGetTexGendv(tvb, pinfo, offsetp, t, byte_order, length); break; case 133: glxGetTexGenfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 134: glxGetTexGeniv(tvb, pinfo, offsetp, t, byte_order, length); break; case 135: glxGetTexImage(tvb, pinfo, offsetp, t, byte_order, length); break; case 136: glxGetTexParameterfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 137: glxGetTexParameteriv(tvb, pinfo, offsetp, t, byte_order, length); break; case 138: glxGetTexLevelParameterfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 139: glxGetTexLevelParameteriv(tvb, pinfo, offsetp, t, byte_order, length); break; case 140: glxIsEnabled(tvb, pinfo, offsetp, t, byte_order, length); break; case 141: glxIsList(tvb, pinfo, offsetp, t, byte_order, length); break; case 142: glxFlush(tvb, pinfo, offsetp, t, byte_order, length); break; case 143: glxAreTexturesResident(tvb, pinfo, offsetp, t, byte_order, length); break; case 144: glxDeleteTextures(tvb, pinfo, offsetp, t, byte_order, length); break; case 145: glxGenTextures(tvb, pinfo, offsetp, t, byte_order, length); break; case 146: glxIsTexture(tvb, pinfo, offsetp, t, byte_order, length); break; case 147: glxGetColorTable(tvb, pinfo, offsetp, t, byte_order, length); break; case 148: glxGetColorTableParameterfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 149: glxGetColorTableParameteriv(tvb, pinfo, offsetp, t, byte_order, length); break; case 150: glxGetConvolutionFilter(tvb, pinfo, offsetp, t, byte_order, length); break; case 151: glxGetConvolutionParameterfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 152: glxGetConvolutionParameteriv(tvb, pinfo, offsetp, t, byte_order, length); break; case 153: glxGetSeparableFilter(tvb, pinfo, offsetp, t, byte_order, length); break; case 154: glxGetHistogram(tvb, pinfo, offsetp, t, byte_order, length); break; case 155: glxGetHistogramParameterfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 156: glxGetHistogramParameteriv(tvb, pinfo, offsetp, t, byte_order, length); break; case 157: glxGetMinmax(tvb, pinfo, offsetp, t, byte_order, length); break; case 158: glxGetMinmaxParameterfv(tvb, pinfo, offsetp, t, byte_order, length); break; case 159: glxGetMinmaxParameteriv(tvb, pinfo, offsetp, t, byte_order, length); break; case 160: glxGetCompressedTexImageARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 161: glxDeleteQueriesARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 162: glxGenQueriesARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 163: glxIsQueryARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 164: glxGetQueryivARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 165: glxGetQueryObjectivARB(tvb, pinfo, offsetp, t, byte_order, length); break; case 166: glxGetQueryObjectuivARB(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_glx(void) { set_handler("GLX", dispatch_glx, glx_errors, glx_events, NULL, glx_replies); } static void struct_randr_ScreenSize(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_ScreenSize, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_ScreenSize_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ScreenSize_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ScreenSize_mwidth, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ScreenSize_mheight, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static int struct_size_randr_RefreshRates(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_nRates; f_nRates = tvb_get_guint16(tvb, *offsetp + size + 0, byte_order); size += f_nRates * 2; return size + 2; } static void struct_randr_RefreshRates(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_nRates; item = proto_tree_add_item(root, hf_x11_struct_randr_RefreshRates, tvb, *offsetp, struct_size_randr_RefreshRates(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_nRates = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_randr_RefreshRates_nRates, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard16(tvb, offsetp, t, hf_x11_struct_randr_RefreshRates_rates, hf_x11_struct_randr_RefreshRates_rates_item, f_nRates, byte_order); } } static void struct_randr_ModeInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_ModeInfo, tvb, *offsetp, 32, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_dot_clock, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_hsync_start, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_hsync_end, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_hskew, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_vsync_start, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_vsync_end, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_ModeInfo_name_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const mode_flags_bits [] = { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_HsyncPositive, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_HsyncNegative, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_VsyncPositive, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_VsyncNegative, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_Interlace, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_DoubleScan, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_Csync, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_CsyncPositive, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_CsyncNegative, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_HskewPresent, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_Bcast, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_PixelMultiplex, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_DoubleClock, &hf_x11_struct_randr_ModeInfo_mode_flags_mask_HalveClock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_randr_ModeInfo_mode_flags, ett_x11_rectangle, mode_flags_bits, byte_order); } *offsetp += 4; } } static void struct_randr_CrtcChange(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_CrtcChange, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_CrtcChange_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_CrtcChange_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_CrtcChange_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_CrtcChange_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const rotation_bits [] = { &hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_0, &hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_90, &hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_180, &hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_270, &hf_x11_struct_randr_CrtcChange_rotation_mask_Reflect_X, &hf_x11_struct_randr_CrtcChange_rotation_mask_Reflect_Y, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_randr_CrtcChange_rotation, ett_x11_rectangle, rotation_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_CrtcChange_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_CrtcChange_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_CrtcChange_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_CrtcChange_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void struct_randr_OutputChange(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_OutputChange, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_OutputChange_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_OutputChange_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_OutputChange_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_OutputChange_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_OutputChange_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_OutputChange_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const rotation_bits [] = { &hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_0, &hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_90, &hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_180, &hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_270, &hf_x11_struct_randr_OutputChange_rotation_mask_Reflect_X, &hf_x11_struct_randr_OutputChange_rotation_mask_Reflect_Y, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_randr_OutputChange_rotation, ett_x11_rectangle, rotation_bits, byte_order); } *offsetp += 2; field8(tvb, offsetp, t, hf_x11_struct_randr_OutputChange_connection, byte_order); field8(tvb, offsetp, t, hf_x11_struct_randr_OutputChange_subpixel_order, byte_order); } } static void struct_randr_OutputProperty(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_OutputProperty, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_OutputProperty_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_OutputProperty_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_OutputProperty_atom, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_OutputProperty_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_struct_randr_OutputProperty_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 11, ENC_NA); *offsetp += 11; } } static void struct_randr_ProviderChange(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_ProviderChange, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_ProviderChange_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ProviderChange_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ProviderChange_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } } static void struct_randr_ProviderProperty(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_ProviderProperty, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_ProviderProperty_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ProviderProperty_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ProviderProperty_atom, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ProviderProperty_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ProviderProperty_state, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 11, ENC_NA); *offsetp += 11; } } static void struct_randr_ResourceChange(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_ResourceChange, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_ResourceChange_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_ResourceChange_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } } static int struct_size_randr_MonitorInfo(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_nOutput; f_nOutput = tvb_get_guint16(tvb, *offsetp + size + 6, byte_order); size += f_nOutput * 4; return size + 24; } static void struct_randr_MonitorInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_nOutput; item = proto_tree_add_item(root, hf_x11_struct_randr_MonitorInfo, tvb, *offsetp, struct_size_randr_MonitorInfo(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_primary, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_automatic, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nOutput = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_nOutput, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_width_in_millimeters, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_MonitorInfo_height_in_millimeters, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_struct_randr_MonitorInfo_outputs, hf_x11_struct_randr_MonitorInfo_outputs_item, f_nOutput, byte_order); } } static void struct_randr_LeaseNotify(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_randr_LeaseNotify, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_randr_LeaseNotify_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_LeaseNotify_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_LeaseNotify_lease, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_randr_LeaseNotify_created, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; } } static void struct_sync_INT64(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_sync_INT64, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_sync_INT64_hi, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_sync_INT64_lo, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static int struct_size_sync_SYSTEMCOUNTER(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_name_len; f_name_len = tvb_get_guint16(tvb, *offsetp + size + 12, byte_order); size += f_name_len * 1; size = (size + 3) & ~3; return size + 14; } static void struct_sync_SYSTEMCOUNTER(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_name_len; item = proto_tree_add_item(root, hf_x11_struct_sync_SYSTEMCOUNTER, tvb, *offsetp, struct_size_sync_SYSTEMCOUNTER(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_sync_SYSTEMCOUNTER_counter, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_sync_INT64(tvb, offsetp, t, byte_order, 1); f_name_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_sync_SYSTEMCOUNTER_name_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_struct_sync_SYSTEMCOUNTER_name, f_name_len, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } } static void struct_sync_TRIGGER(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_sync_TRIGGER, tvb, *offsetp, 20, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_sync_TRIGGER_counter, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_struct_sync_TRIGGER_wait_type, byte_order); struct_sync_INT64(tvb, offsetp, t, byte_order, 1); field32(tvb, offsetp, t, hf_x11_struct_sync_TRIGGER_test_type, byte_order); } } static void struct_sync_WAITCONDITION(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_sync_WAITCONDITION, tvb, *offsetp, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_sync_TRIGGER(tvb, offsetp, t, byte_order, 1); struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } } static void struct_present_Notify(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_present_Notify, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_present_Notify_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_present_Notify_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void presentQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_present_QueryVersion_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_QueryVersion_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void presentQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (present-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void presentPixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_present_Pixmap_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_valid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_update, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_x_off, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_present_Pixmap_y_off, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_present_Pixmap_target_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_wait_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_idle_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_options, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_Pixmap_target_msc, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_present_Pixmap_divisor, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_present_Pixmap_remainder, tvb, *offsetp, 8, byte_order); *offsetp += 8; struct_present_Notify(tvb, offsetp, t, byte_order, (length - 72) / 8); } static void presentNotifyMSC(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_present_NotifyMSC_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_NotifyMSC_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_NotifyMSC_target_msc, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_present_NotifyMSC_divisor, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_present_NotifyMSC_remainder, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void presentSelectInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_present_SelectInput_eid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_SelectInput_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const event_mask_bits [] = { &hf_x11_present_SelectInput_event_mask_mask_ConfigureNotify, &hf_x11_present_SelectInput_event_mask_mask_CompleteNotify, &hf_x11_present_SelectInput_event_mask_mask_IdleNotify, &hf_x11_present_SelectInput_event_mask_mask_RedirectNotify, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_present_SelectInput_event_mask, ett_x11_rectangle, event_mask_bits, byte_order); } *offsetp += 4; } static void presentQueryCapabilities(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_present_QueryCapabilities_target, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void presentQueryCapabilities_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryCapabilities"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (present-QueryCapabilities)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_QueryCapabilities_reply_capabilities, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void presentCompleteNotify(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 1, "CompleteNotify (1)"); field8(tvb, offsetp, t, hf_x11_present_CompleteNotify_kind, byte_order); field8(tvb, offsetp, t, hf_x11_present_CompleteNotify_mode, byte_order); proto_tree_add_item(t, hf_x11_present_CompleteNotify_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_CompleteNotify_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_CompleteNotify_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_CompleteNotify_ust, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_present_CompleteNotify_msc, tvb, *offsetp, 8, byte_order); *offsetp += 8; } static void presentIdleNotify(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 2, "IdleNotify (2)"); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_present_IdleNotify_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_IdleNotify_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_IdleNotify_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_IdleNotify_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_IdleNotify_idle_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void presentRedirectNotify(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 3, "RedirectNotify (3)"); proto_tree_add_item(t, hf_x11_present_RedirectNotify_update_window, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_present_RedirectNotify_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_event_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_pixmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_valid_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_update_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, 1); struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_present_RedirectNotify_x_off, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_present_RedirectNotify_y_off, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_present_RedirectNotify_target_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_wait_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_idle_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_options, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; proto_tree_add_item(t, hf_x11_present_RedirectNotify_target_msc, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_present_RedirectNotify_divisor, tvb, *offsetp, 8, byte_order); *offsetp += 8; proto_tree_add_item(t, hf_x11_present_RedirectNotify_remainder, tvb, *offsetp, 8, byte_order); *offsetp += 8; struct_present_Notify(tvb, offsetp, t, byte_order, (length - 104) / 8); } static const value_string present_extension_minor[] = { { 0, "QueryVersion" }, { 1, "Pixmap" }, { 2, "NotifyMSC" }, { 3, "SelectInput" }, { 4, "QueryCapabilities" }, { 0, NULL } }; const x11_event_info present_events[] = { { NULL, NULL } }; static const x11_generic_event_info present_generic_events[] = { { 1, presentCompleteNotify }, { 2, presentIdleNotify }, { 3, presentRedirectNotify }, { 0, NULL }, }; static x11_reply_info present_replies[] = { { 0, presentQueryVersion_Reply }, { 4, presentQueryCapabilities_Reply }, { 0, NULL } }; static void dispatch_present(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(present_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, present_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: presentQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: presentPixmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: presentNotifyMSC(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: presentSelectInput(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: presentQueryCapabilities(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_present(void) { set_handler("Present", dispatch_present, present_errors, present_events, present_generic_events, present_replies); } static void randrQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_QueryVersion_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_QueryVersion_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void randrSetScreenConfig(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SetScreenConfig_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetScreenConfig_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetScreenConfig_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetScreenConfig_sizeID, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const rotation_bits [] = { &hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_0, &hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_90, &hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_180, &hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_270, &hf_x11_randr_SetScreenConfig_rotation_mask_Reflect_X, &hf_x11_randr_SetScreenConfig_rotation_mask_Reflect_Y, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_randr_SetScreenConfig_rotation, ett_x11_rectangle, rotation_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetScreenConfig_rate, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void randrSetScreenConfig_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SetScreenConfig"); REPLY(reply); field8(tvb, offsetp, t, hf_x11_randr_SetScreenConfig_reply_status, byte_order); sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-SetScreenConfig)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetScreenConfig_reply_new_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetScreenConfig_reply_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetScreenConfig_reply_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_randr_SetScreenConfig_reply_subpixel_order, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 10, ENC_NA); *offsetp += 10; } static void randrSelectInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SelectInput_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const enable_bits [] = { &hf_x11_randr_SelectInput_enable_mask_ScreenChange, &hf_x11_randr_SelectInput_enable_mask_CrtcChange, &hf_x11_randr_SelectInput_enable_mask_OutputChange, &hf_x11_randr_SelectInput_enable_mask_OutputProperty, &hf_x11_randr_SelectInput_enable_mask_ProviderChange, &hf_x11_randr_SelectInput_enable_mask_ProviderProperty, &hf_x11_randr_SelectInput_enable_mask_ResourceChange, &hf_x11_randr_SelectInput_enable_mask_Lease, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_randr_SelectInput_enable, ett_x11_rectangle, enable_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void randrGetScreenInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetScreenInfo_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetScreenInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_nSizes; int f_nInfo; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetScreenInfo"); REPLY(reply); { int* const rotations_bits [] = { &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_0, &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_90, &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_180, &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_270, &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Reflect_X, &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Reflect_Y, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_randr_GetScreenInfo_reply_rotations, ett_x11_rectangle, rotations_bits, byte_order); } *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetScreenInfo)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetScreenInfo_reply_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetScreenInfo_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetScreenInfo_reply_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nSizes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenInfo_reply_nSizes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetScreenInfo_reply_sizeID, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const rotation_bits [] = { &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_0, &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_90, &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_180, &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_270, &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Reflect_X, &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Reflect_Y, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_randr_GetScreenInfo_reply_rotation, ett_x11_rectangle, rotation_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetScreenInfo_reply_rate, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nInfo = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenInfo_reply_nInfo, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; struct_randr_ScreenSize(tvb, offsetp, t, byte_order, f_nSizes); struct_randr_RefreshRates(tvb, offsetp, t, byte_order, (f_nInfo - f_nSizes)); } static void randrGetScreenSizeRange(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetScreenSizeRange_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetScreenSizeRange_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetScreenSizeRange"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetScreenSizeRange)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetScreenSizeRange_reply_min_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetScreenSizeRange_reply_min_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetScreenSizeRange_reply_max_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetScreenSizeRange_reply_max_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void randrSetScreenSize(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SetScreenSize_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetScreenSize_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetScreenSize_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetScreenSize_mm_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetScreenSize_mm_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetScreenResources(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetScreenResources_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetScreenResources_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_crtcs; int f_num_outputs; int f_num_modes; int f_names_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetScreenResources"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetScreenResources)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetScreenResources_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetScreenResources_reply_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_crtcs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenResources_reply_num_crtcs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_outputs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenResources_reply_num_outputs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_modes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenResources_reply_num_modes, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_names_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenResources_reply_names_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfCard32(tvb, offsetp, t, hf_x11_randr_GetScreenResources_reply_crtcs, hf_x11_randr_GetScreenResources_reply_crtcs_item, f_num_crtcs, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_randr_GetScreenResources_reply_outputs, hf_x11_randr_GetScreenResources_reply_outputs_item, f_num_outputs, byte_order); struct_randr_ModeInfo(tvb, offsetp, t, byte_order, f_num_modes); listOfByte(tvb, offsetp, t, hf_x11_randr_GetScreenResources_reply_names, f_names_len, byte_order); } static void randrGetOutputInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetOutputInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_crtcs; int f_num_modes; int f_num_clones; int f_name_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetOutputInfo"); REPLY(reply); field8(tvb, offsetp, t, hf_x11_randr_GetOutputInfo_reply_status, byte_order); sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetOutputInfo)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_mm_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_mm_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_randr_GetOutputInfo_reply_connection, byte_order); field8(tvb, offsetp, t, hf_x11_randr_GetOutputInfo_reply_subpixel_order, byte_order); f_num_crtcs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_num_crtcs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_modes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_num_modes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_num_preferred, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_clones = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_num_clones, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_name_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetOutputInfo_reply_name_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_randr_GetOutputInfo_reply_crtcs, hf_x11_randr_GetOutputInfo_reply_crtcs_item, f_num_crtcs, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_randr_GetOutputInfo_reply_modes, hf_x11_randr_GetOutputInfo_reply_modes_item, f_num_modes, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_randr_GetOutputInfo_reply_clones, hf_x11_randr_GetOutputInfo_reply_clones_item, f_num_clones, byte_order); listOfByte(tvb, offsetp, t, hf_x11_randr_GetOutputInfo_reply_name, f_name_len, byte_order); } static void randrListOutputProperties(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_ListOutputProperties_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrListOutputProperties_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_atoms; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListOutputProperties"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-ListOutputProperties)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_atoms = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_ListOutputProperties_reply_num_atoms, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; listOfCard32(tvb, offsetp, t, hf_x11_randr_ListOutputProperties_reply_atoms, hf_x11_randr_ListOutputProperties_reply_atoms_item, f_num_atoms, byte_order); } static void randrQueryOutputProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_QueryOutputProperty_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_QueryOutputProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrQueryOutputProperty_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryOutputProperty"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-QueryOutputProperty)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_QueryOutputProperty_reply_pending, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_QueryOutputProperty_reply_range, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_QueryOutputProperty_reply_immutable, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 21, ENC_NA); *offsetp += 21; listOfInt32(tvb, offsetp, t, hf_x11_randr_QueryOutputProperty_reply_validValues, hf_x11_randr_QueryOutputProperty_reply_validValues_item, f_length, byte_order); } static void randrConfigureOutputProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_ConfigureOutputProperty_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_ConfigureOutputProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_ConfigureOutputProperty_pending, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_ConfigureOutputProperty_range, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfInt32(tvb, offsetp, t, hf_x11_randr_ConfigureOutputProperty_values, hf_x11_randr_ConfigureOutputProperty_values_item, (length - 16) / 4, byte_order); } static void randrChangeOutputProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_format; int f_num_units; proto_tree_add_item(t, hf_x11_randr_ChangeOutputProperty_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_ChangeOutputProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_ChangeOutputProperty_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_format = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_randr_ChangeOutputProperty_format, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_randr_ChangeOutputProperty_mode, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; f_num_units = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_ChangeOutputProperty_num_units, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_randr_ChangeOutputProperty_data, ((f_num_units * f_format) / 8), byte_order); length -= ((f_num_units * f_format) / 8) * 1; } static void randrDeleteOutputProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_DeleteOutputProperty_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_DeleteOutputProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetOutputProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_randr_GetOutputProperty_type, byte_order); proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_long_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_long_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_delete, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_pending, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void randrGetOutputProperty_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_format; int f_num_items; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetOutputProperty"); REPLY(reply); f_format = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_reply_format, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetOutputProperty)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_randr_GetOutputProperty_reply_type, byte_order); proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_reply_bytes_after, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_items = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetOutputProperty_reply_num_items, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfByte(tvb, offsetp, t, hf_x11_randr_GetOutputProperty_reply_data, (f_num_items * (f_format / 8)), byte_order); } static void randrCreateMode(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_CreateMode_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_randr_ModeInfo(tvb, offsetp, t, byte_order, 1); listOfByte(tvb, offsetp, t, hf_x11_randr_CreateMode_name, (length - 40) / 1, byte_order); } static void randrCreateMode_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-CreateMode"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-CreateMode)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_CreateMode_reply_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void randrDestroyMode(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_DestroyMode_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrAddOutputMode(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_AddOutputMode_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_AddOutputMode_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrDeleteOutputMode(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_DeleteOutputMode_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_DeleteOutputMode_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetCrtcInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetCrtcInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_outputs; int f_num_possible_outputs; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCrtcInfo"); REPLY(reply); field8(tvb, offsetp, t, hf_x11_randr_GetCrtcInfo_reply_status, byte_order); sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetCrtcInfo)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_reply_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_reply_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_reply_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_reply_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_reply_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const rotation_bits [] = { &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_0, &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_90, &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_180, &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_270, &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Reflect_X, &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Reflect_Y, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_randr_GetCrtcInfo_reply_rotation, ett_x11_rectangle, rotation_bits, byte_order); } *offsetp += 2; { int* const rotations_bits [] = { &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_0, &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_90, &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_180, &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_270, &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Reflect_X, &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Reflect_Y, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_randr_GetCrtcInfo_reply_rotations, ett_x11_rectangle, rotations_bits, byte_order); } *offsetp += 2; f_num_outputs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_reply_num_outputs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_possible_outputs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetCrtcInfo_reply_num_possible_outputs, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_randr_GetCrtcInfo_reply_outputs, hf_x11_randr_GetCrtcInfo_reply_outputs_item, f_num_outputs, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_randr_GetCrtcInfo_reply_possible, hf_x11_randr_GetCrtcInfo_reply_possible_item, f_num_possible_outputs, byte_order); } static void randrSetCrtcConfig(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SetCrtcConfig_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetCrtcConfig_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetCrtcConfig_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetCrtcConfig_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetCrtcConfig_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetCrtcConfig_mode, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const rotation_bits [] = { &hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_0, &hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_90, &hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_180, &hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_270, &hf_x11_randr_SetCrtcConfig_rotation_mask_Reflect_X, &hf_x11_randr_SetCrtcConfig_rotation_mask_Reflect_Y, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_randr_SetCrtcConfig_rotation, ett_x11_rectangle, rotation_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_randr_SetCrtcConfig_outputs, hf_x11_randr_SetCrtcConfig_outputs_item, (length - 28) / 4, byte_order); } static void randrSetCrtcConfig_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SetCrtcConfig"); REPLY(reply); field8(tvb, offsetp, t, hf_x11_randr_SetCrtcConfig_reply_status, byte_order); sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-SetCrtcConfig)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetCrtcConfig_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void randrGetCrtcGammaSize(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetCrtcGammaSize_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetCrtcGammaSize_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCrtcGammaSize"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetCrtcGammaSize)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetCrtcGammaSize_reply_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; } static void randrGetCrtcGamma(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetCrtcGamma_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetCrtcGamma_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_size; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCrtcGamma"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetCrtcGamma)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_size = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetCrtcGamma_reply_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; listOfCard16(tvb, offsetp, t, hf_x11_randr_GetCrtcGamma_reply_red, hf_x11_randr_GetCrtcGamma_reply_red_item, f_size, byte_order); listOfCard16(tvb, offsetp, t, hf_x11_randr_GetCrtcGamma_reply_green, hf_x11_randr_GetCrtcGamma_reply_green_item, f_size, byte_order); listOfCard16(tvb, offsetp, t, hf_x11_randr_GetCrtcGamma_reply_blue, hf_x11_randr_GetCrtcGamma_reply_blue_item, f_size, byte_order); } static void randrSetCrtcGamma(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_size; proto_tree_add_item(t, hf_x11_randr_SetCrtcGamma_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_size = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_SetCrtcGamma_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard16(tvb, offsetp, t, hf_x11_randr_SetCrtcGamma_red, hf_x11_randr_SetCrtcGamma_red_item, f_size, byte_order); length -= f_size * 2; listOfCard16(tvb, offsetp, t, hf_x11_randr_SetCrtcGamma_green, hf_x11_randr_SetCrtcGamma_green_item, f_size, byte_order); length -= f_size * 2; listOfCard16(tvb, offsetp, t, hf_x11_randr_SetCrtcGamma_blue, hf_x11_randr_SetCrtcGamma_blue_item, f_size, byte_order); length -= f_size * 2; } static void randrGetScreenResourcesCurrent(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetScreenResourcesCurrent_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetScreenResourcesCurrent_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_crtcs; int f_num_outputs; int f_num_modes; int f_names_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetScreenResourcesCurrent"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetScreenResourcesCurrent)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetScreenResourcesCurrent_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetScreenResourcesCurrent_reply_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_crtcs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenResourcesCurrent_reply_num_crtcs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_outputs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenResourcesCurrent_reply_num_outputs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_modes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenResourcesCurrent_reply_num_modes, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_names_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetScreenResourcesCurrent_reply_names_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfCard32(tvb, offsetp, t, hf_x11_randr_GetScreenResourcesCurrent_reply_crtcs, hf_x11_randr_GetScreenResourcesCurrent_reply_crtcs_item, f_num_crtcs, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_randr_GetScreenResourcesCurrent_reply_outputs, hf_x11_randr_GetScreenResourcesCurrent_reply_outputs_item, f_num_outputs, byte_order); struct_randr_ModeInfo(tvb, offsetp, t, byte_order, f_num_modes); listOfByte(tvb, offsetp, t, hf_x11_randr_GetScreenResourcesCurrent_reply_names, f_names_len, byte_order); } static void randrSetCrtcTransform(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_filter_len; proto_tree_add_item(t, hf_x11_randr_SetCrtcTransform_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_TRANSFORM(tvb, offsetp, t, byte_order, 1); f_filter_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_SetCrtcTransform_filter_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_randr_SetCrtcTransform_filter_name, f_filter_len, byte_order); length -= f_filter_len * 1; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); listOfInt32(tvb, offsetp, t, hf_x11_randr_SetCrtcTransform_filter_params, hf_x11_randr_SetCrtcTransform_filter_params_item, (length - 48) / 4, byte_order); } static void randrGetCrtcTransform(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetCrtcTransform_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetCrtcTransform_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_pending_len; int f_pending_nparams; int f_current_len; int f_current_nparams; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCrtcTransform"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetCrtcTransform)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_TRANSFORM(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_randr_GetCrtcTransform_reply_has_transforms, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; struct_render_TRANSFORM(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; f_pending_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetCrtcTransform_reply_pending_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_pending_nparams = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetCrtcTransform_reply_pending_nparams, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_current_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetCrtcTransform_reply_current_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_current_nparams = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetCrtcTransform_reply_current_nparams, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_randr_GetCrtcTransform_reply_pending_filter_name, f_pending_len, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } listOfInt32(tvb, offsetp, t, hf_x11_randr_GetCrtcTransform_reply_pending_params, hf_x11_randr_GetCrtcTransform_reply_pending_params_item, f_pending_nparams, byte_order); listOfByte(tvb, offsetp, t, hf_x11_randr_GetCrtcTransform_reply_current_filter_name, f_current_len, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } listOfInt32(tvb, offsetp, t, hf_x11_randr_GetCrtcTransform_reply_current_params, hf_x11_randr_GetCrtcTransform_reply_current_params_item, f_current_nparams, byte_order); } static void randrGetPanning(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetPanning_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetPanning_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPanning"); REPLY(reply); field8(tvb, offsetp, t, hf_x11_randr_GetPanning_reply_status, byte_order); sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetPanning)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_left, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_top, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_track_left, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_track_top, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_track_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_track_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_border_left, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_border_top, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_border_right, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_GetPanning_reply_border_bottom, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void randrSetPanning(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SetPanning_crtc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetPanning_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetPanning_left, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_top, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_track_left, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_track_top, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_track_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_track_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_border_left, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_border_top, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_border_right, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_randr_SetPanning_border_bottom, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void randrSetPanning_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SetPanning"); REPLY(reply); field8(tvb, offsetp, t, hf_x11_randr_SetPanning_reply_status, byte_order); sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-SetPanning)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetPanning_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrSetOutputPrimary(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SetOutputPrimary_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetOutputPrimary_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetOutputPrimary(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetOutputPrimary_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetOutputPrimary_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetOutputPrimary"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetOutputPrimary)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetOutputPrimary_reply_output, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetProviders(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetProviders_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetProviders_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_providers; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetProviders"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetProviders)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviders_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_providers = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetProviders_reply_num_providers, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 18, ENC_NA); *offsetp += 18; listOfCard32(tvb, offsetp, t, hf_x11_randr_GetProviders_reply_providers, hf_x11_randr_GetProviders_reply_providers_item, f_num_providers, byte_order); } static void randrGetProviderInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetProviderInfo_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderInfo_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetProviderInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_crtcs; int f_num_outputs; int f_num_associated_providers; int f_name_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetProviderInfo"); REPLY(reply); proto_tree_add_item(t, hf_x11_randr_GetProviderInfo_reply_status, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetProviderInfo)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderInfo_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const capabilities_bits [] = { &hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SourceOutput, &hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SinkOutput, &hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SourceOffload, &hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SinkOffload, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_randr_GetProviderInfo_reply_capabilities, ett_x11_rectangle, capabilities_bits, byte_order); } *offsetp += 4; f_num_crtcs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetProviderInfo_reply_num_crtcs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_outputs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetProviderInfo_reply_num_outputs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_associated_providers = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetProviderInfo_reply_num_associated_providers, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_name_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetProviderInfo_reply_name_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfCard32(tvb, offsetp, t, hf_x11_randr_GetProviderInfo_reply_crtcs, hf_x11_randr_GetProviderInfo_reply_crtcs_item, f_num_crtcs, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_randr_GetProviderInfo_reply_outputs, hf_x11_randr_GetProviderInfo_reply_outputs_item, f_num_outputs, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_randr_GetProviderInfo_reply_associated_providers, hf_x11_randr_GetProviderInfo_reply_associated_providers_item, f_num_associated_providers, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_randr_GetProviderInfo_reply_associated_capability, hf_x11_randr_GetProviderInfo_reply_associated_capability_item, f_num_associated_providers, byte_order); listOfByte(tvb, offsetp, t, hf_x11_randr_GetProviderInfo_reply_name, f_name_len, byte_order); } static void randrSetProviderOffloadSink(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SetProviderOffloadSink_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetProviderOffloadSink_sink_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetProviderOffloadSink_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrSetProviderOutputSource(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SetProviderOutputSource_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetProviderOutputSource_source_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_SetProviderOutputSource_config_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrListProviderProperties(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_ListProviderProperties_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrListProviderProperties_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_atoms; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListProviderProperties"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-ListProviderProperties)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_atoms = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_ListProviderProperties_reply_num_atoms, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; listOfCard32(tvb, offsetp, t, hf_x11_randr_ListProviderProperties_reply_atoms, hf_x11_randr_ListProviderProperties_reply_atoms_item, f_num_atoms, byte_order); } static void randrQueryProviderProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_QueryProviderProperty_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_QueryProviderProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrQueryProviderProperty_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryProviderProperty"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-QueryProviderProperty)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_QueryProviderProperty_reply_pending, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_QueryProviderProperty_reply_range, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_QueryProviderProperty_reply_immutable, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 21, ENC_NA); *offsetp += 21; listOfInt32(tvb, offsetp, t, hf_x11_randr_QueryProviderProperty_reply_valid_values, hf_x11_randr_QueryProviderProperty_reply_valid_values_item, f_length, byte_order); } static void randrConfigureProviderProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_ConfigureProviderProperty_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_ConfigureProviderProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_ConfigureProviderProperty_pending, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_ConfigureProviderProperty_range, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfInt32(tvb, offsetp, t, hf_x11_randr_ConfigureProviderProperty_values, hf_x11_randr_ConfigureProviderProperty_values_item, (length - 16) / 4, byte_order); } static void randrChangeProviderProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_format; int f_num_items; proto_tree_add_item(t, hf_x11_randr_ChangeProviderProperty_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_ChangeProviderProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_ChangeProviderProperty_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_format = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_randr_ChangeProviderProperty_format, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_ChangeProviderProperty_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; f_num_items = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_ChangeProviderProperty_num_items, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_randr_ChangeProviderProperty_data, (f_num_items * (f_format / 8)), byte_order); length -= (f_num_items * (f_format / 8)) * 1; } static void randrDeleteProviderProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_DeleteProviderProperty_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_DeleteProviderProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrGetProviderProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_provider, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_long_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_long_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_delete, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_pending, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void randrGetProviderProperty_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_format; int f_num_items; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetProviderProperty"); REPLY(reply); f_format = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_reply_format, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetProviderProperty)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_reply_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_reply_bytes_after, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_items = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetProviderProperty_reply_num_items, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfByte(tvb, offsetp, t, hf_x11_randr_GetProviderProperty_reply_data, (f_num_items * (f_format / 8)), byte_order); } static void randrGetMonitors(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_GetMonitors_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetMonitors_get_active, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void randrGetMonitors_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_nMonitors; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMonitors"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-GetMonitors)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetMonitors_reply_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nMonitors = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_GetMonitors_reply_nMonitors, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_GetMonitors_reply_nOutputs, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; struct_randr_MonitorInfo(tvb, offsetp, t, byte_order, f_nMonitors); } static void randrSetMonitor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_SetMonitor_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_randr_MonitorInfo(tvb, offsetp, t, byte_order, 1); } static void randrDeleteMonitor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_DeleteMonitor_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_DeleteMonitor_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void randrCreateLease(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_crtcs; int f_num_outputs; proto_tree_add_item(t, hf_x11_randr_CreateLease_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_CreateLease_lid, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_crtcs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_CreateLease_num_crtcs, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_outputs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_randr_CreateLease_num_outputs, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_randr_CreateLease_crtcs, hf_x11_randr_CreateLease_crtcs_item, f_num_crtcs, byte_order); length -= f_num_crtcs * 4; listOfCard32(tvb, offsetp, t, hf_x11_randr_CreateLease_outputs, hf_x11_randr_CreateLease_outputs_item, f_num_outputs, byte_order); length -= f_num_outputs * 4; } static void randrCreateLease_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-CreateLease"); REPLY(reply); proto_tree_add_item(t, hf_x11_randr_CreateLease_reply_nfd, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (randr-CreateLease)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; } static void randrFreeLease(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_randr_FreeLease_lid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_randr_FreeLease_terminate, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; } static void struct_randr_NotifyData(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order, int count) { int i; int base = *offsetp; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_union_randr_NotifyData, tvb, base, 28, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); *offsetp = base; struct_randr_CrtcChange(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_randr_OutputChange(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_randr_OutputProperty(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_randr_ProviderChange(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_randr_ProviderProperty(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_randr_ResourceChange(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_randr_LeaseNotify(tvb, offsetp, t, byte_order, 1); base += 28; } *offsetp = base; } static void randrNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { field8(tvb, offsetp, t, hf_x11_randr_Notify_subCode, byte_order); CARD16(event_sequencenumber); struct_randr_NotifyData(tvb, offsetp, t, byte_order, 1); } static const value_string randr_extension_minor[] = { { 0, "QueryVersion" }, { 2, "SetScreenConfig" }, { 4, "SelectInput" }, { 5, "GetScreenInfo" }, { 6, "GetScreenSizeRange" }, { 7, "SetScreenSize" }, { 8, "GetScreenResources" }, { 9, "GetOutputInfo" }, { 10, "ListOutputProperties" }, { 11, "QueryOutputProperty" }, { 12, "ConfigureOutputProperty" }, { 13, "ChangeOutputProperty" }, { 14, "DeleteOutputProperty" }, { 15, "GetOutputProperty" }, { 16, "CreateMode" }, { 17, "DestroyMode" }, { 18, "AddOutputMode" }, { 19, "DeleteOutputMode" }, { 20, "GetCrtcInfo" }, { 21, "SetCrtcConfig" }, { 22, "GetCrtcGammaSize" }, { 23, "GetCrtcGamma" }, { 24, "SetCrtcGamma" }, { 25, "GetScreenResourcesCurrent" }, { 26, "SetCrtcTransform" }, { 27, "GetCrtcTransform" }, { 28, "GetPanning" }, { 29, "SetPanning" }, { 30, "SetOutputPrimary" }, { 31, "GetOutputPrimary" }, { 32, "GetProviders" }, { 33, "GetProviderInfo" }, { 34, "SetProviderOffloadSink" }, { 35, "SetProviderOutputSource" }, { 36, "ListProviderProperties" }, { 37, "QueryProviderProperty" }, { 38, "ConfigureProviderProperty" }, { 39, "ChangeProviderProperty" }, { 40, "DeleteProviderProperty" }, { 41, "GetProviderProperty" }, { 42, "GetMonitors" }, { 43, "SetMonitor" }, { 44, "DeleteMonitor" }, { 45, "CreateLease" }, { 46, "FreeLease" }, { 0, NULL } }; static const x11_event_info randr_events[] = { { "randr-Notify", randrNotify }, { NULL, NULL } }; static x11_reply_info randr_replies[] = { { 0, randrQueryVersion_Reply }, { 2, randrSetScreenConfig_Reply }, { 5, randrGetScreenInfo_Reply }, { 6, randrGetScreenSizeRange_Reply }, { 8, randrGetScreenResources_Reply }, { 9, randrGetOutputInfo_Reply }, { 10, randrListOutputProperties_Reply }, { 11, randrQueryOutputProperty_Reply }, { 15, randrGetOutputProperty_Reply }, { 16, randrCreateMode_Reply }, { 20, randrGetCrtcInfo_Reply }, { 21, randrSetCrtcConfig_Reply }, { 22, randrGetCrtcGammaSize_Reply }, { 23, randrGetCrtcGamma_Reply }, { 25, randrGetScreenResourcesCurrent_Reply }, { 27, randrGetCrtcTransform_Reply }, { 28, randrGetPanning_Reply }, { 29, randrSetPanning_Reply }, { 31, randrGetOutputPrimary_Reply }, { 32, randrGetProviders_Reply }, { 33, randrGetProviderInfo_Reply }, { 36, randrListProviderProperties_Reply }, { 37, randrQueryProviderProperty_Reply }, { 41, randrGetProviderProperty_Reply }, { 42, randrGetMonitors_Reply }, { 45, randrCreateLease_Reply }, { 0, NULL } }; static void dispatch_randr(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(randr_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, randr_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: randrQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: randrSetScreenConfig(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: randrSelectInput(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: randrGetScreenInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: randrGetScreenSizeRange(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: randrSetScreenSize(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: randrGetScreenResources(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: randrGetOutputInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: randrListOutputProperties(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: randrQueryOutputProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: randrConfigureOutputProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: randrChangeOutputProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: randrDeleteOutputProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: randrGetOutputProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: randrCreateMode(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: randrDestroyMode(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: randrAddOutputMode(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: randrDeleteOutputMode(tvb, pinfo, offsetp, t, byte_order, length); break; case 20: randrGetCrtcInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 21: randrSetCrtcConfig(tvb, pinfo, offsetp, t, byte_order, length); break; case 22: randrGetCrtcGammaSize(tvb, pinfo, offsetp, t, byte_order, length); break; case 23: randrGetCrtcGamma(tvb, pinfo, offsetp, t, byte_order, length); break; case 24: randrSetCrtcGamma(tvb, pinfo, offsetp, t, byte_order, length); break; case 25: randrGetScreenResourcesCurrent(tvb, pinfo, offsetp, t, byte_order, length); break; case 26: randrSetCrtcTransform(tvb, pinfo, offsetp, t, byte_order, length); break; case 27: randrGetCrtcTransform(tvb, pinfo, offsetp, t, byte_order, length); break; case 28: randrGetPanning(tvb, pinfo, offsetp, t, byte_order, length); break; case 29: randrSetPanning(tvb, pinfo, offsetp, t, byte_order, length); break; case 30: randrSetOutputPrimary(tvb, pinfo, offsetp, t, byte_order, length); break; case 31: randrGetOutputPrimary(tvb, pinfo, offsetp, t, byte_order, length); break; case 32: randrGetProviders(tvb, pinfo, offsetp, t, byte_order, length); break; case 33: randrGetProviderInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 34: randrSetProviderOffloadSink(tvb, pinfo, offsetp, t, byte_order, length); break; case 35: randrSetProviderOutputSource(tvb, pinfo, offsetp, t, byte_order, length); break; case 36: randrListProviderProperties(tvb, pinfo, offsetp, t, byte_order, length); break; case 37: randrQueryProviderProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 38: randrConfigureProviderProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 39: randrChangeProviderProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 40: randrDeleteProviderProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 41: randrGetProviderProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 42: randrGetMonitors(tvb, pinfo, offsetp, t, byte_order, length); break; case 43: randrSetMonitor(tvb, pinfo, offsetp, t, byte_order, length); break; case 44: randrDeleteMonitor(tvb, pinfo, offsetp, t, byte_order, length); break; case 45: randrCreateLease(tvb, pinfo, offsetp, t, byte_order, length); break; case 46: randrFreeLease(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_randr(void) { set_handler("RANDR", dispatch_randr, randr_errors, randr_events, NULL, randr_replies); } static void struct_record_Range8(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_record_Range8, tvb, *offsetp, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_record_Range8_first, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_record_Range8_last, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } static void struct_record_Range16(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_record_Range16, tvb, *offsetp, 4, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_record_Range16_first, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_record_Range16_last, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void struct_record_ExtRange(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_record_ExtRange, tvb, *offsetp, 6, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_record_Range8(tvb, offsetp, t, byte_order, 1); struct_record_Range16(tvb, offsetp, t, byte_order, 1); } } static void struct_record_Range(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_record_Range, tvb, *offsetp, 24, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_record_Range8(tvb, offsetp, t, byte_order, 1); struct_record_Range8(tvb, offsetp, t, byte_order, 1); struct_record_ExtRange(tvb, offsetp, t, byte_order, 1); struct_record_ExtRange(tvb, offsetp, t, byte_order, 1); struct_record_Range8(tvb, offsetp, t, byte_order, 1); struct_record_Range8(tvb, offsetp, t, byte_order, 1); struct_record_Range8(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_struct_record_Range_client_started, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_record_Range_client_died, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } static int struct_size_record_ClientInfo(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_num_ranges; f_num_ranges = tvb_get_guint32(tvb, *offsetp + size + 4, byte_order); size += f_num_ranges * 24; return size + 8; } static void struct_record_ClientInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_num_ranges; item = proto_tree_add_item(root, hf_x11_struct_record_ClientInfo, tvb, *offsetp, struct_size_record_ClientInfo(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_record_ClientInfo_client_resource, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_ranges = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_record_ClientInfo_num_ranges, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_record_Range(tvb, offsetp, t, byte_order, f_num_ranges); } } static void recordQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_record_QueryVersion_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_record_QueryVersion_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void recordQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (record-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_record_QueryVersion_reply_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_record_QueryVersion_reply_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void recordCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_client_specs; int f_num_ranges; proto_tree_add_item(t, hf_x11_record_CreateContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_record_CreateContext_element_header, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; f_num_client_specs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_record_CreateContext_num_client_specs, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_ranges = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_record_CreateContext_num_ranges, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_record_CreateContext_client_specs, hf_x11_record_CreateContext_client_specs_item, f_num_client_specs, byte_order); length -= f_num_client_specs * 4; struct_record_Range(tvb, offsetp, t, byte_order, f_num_ranges); length -= f_num_ranges * 24; } static void recordRegisterClients(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_client_specs; int f_num_ranges; proto_tree_add_item(t, hf_x11_record_RegisterClients_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_record_RegisterClients_element_header, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; f_num_client_specs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_record_RegisterClients_num_client_specs, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_ranges = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_record_RegisterClients_num_ranges, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_record_RegisterClients_client_specs, hf_x11_record_RegisterClients_client_specs_item, f_num_client_specs, byte_order); length -= f_num_client_specs * 4; struct_record_Range(tvb, offsetp, t, byte_order, f_num_ranges); length -= f_num_ranges * 24; } static void recordUnregisterClients(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_client_specs; proto_tree_add_item(t, hf_x11_record_UnregisterClients_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_client_specs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_record_UnregisterClients_num_client_specs, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_record_UnregisterClients_client_specs, hf_x11_record_UnregisterClients_client_specs_item, f_num_client_specs, byte_order); length -= f_num_client_specs * 4; } static void recordGetContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_record_GetContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void recordGetContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_intercepted_clients; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_record_GetContext_reply_enabled, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (record-GetContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_record_GetContext_reply_element_header, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; f_num_intercepted_clients = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_record_GetContext_reply_num_intercepted_clients, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; struct_record_ClientInfo(tvb, offsetp, t, byte_order, f_num_intercepted_clients); } static void recordEnableContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_record_EnableContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void recordEnableContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-EnableContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_record_EnableContext_reply_category, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (record-EnableContext)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_record_EnableContext_reply_element_header, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_record_EnableContext_reply_client_swapped, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_record_EnableContext_reply_xid_base, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_record_EnableContext_reply_server_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_record_EnableContext_reply_rec_sequence_num, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfByte(tvb, offsetp, t, hf_x11_record_EnableContext_reply_data, (f_length * 4), byte_order); } static void recordDisableContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_record_DisableContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void recordFreeContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_record_FreeContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string record_extension_minor[] = { { 0, "QueryVersion" }, { 1, "CreateContext" }, { 2, "RegisterClients" }, { 3, "UnregisterClients" }, { 4, "GetContext" }, { 5, "EnableContext" }, { 6, "DisableContext" }, { 7, "FreeContext" }, { 0, NULL } }; const x11_event_info record_events[] = { { NULL, NULL } }; static x11_reply_info record_replies[] = { { 0, recordQueryVersion_Reply }, { 4, recordGetContext_Reply }, { 5, recordEnableContext_Reply }, { 0, NULL } }; static void dispatch_record(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(record_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, record_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: recordQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: recordCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: recordRegisterClients(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: recordUnregisterClients(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: recordGetContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: recordEnableContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: recordDisableContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: recordFreeContext(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_record(void) { set_handler("RECORD", dispatch_record, record_errors, record_events, NULL, record_replies); } static void renderQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_QueryVersion_client_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_QueryVersion_client_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void renderQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (render-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void renderQueryPictFormats(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void renderQueryPictFormats_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_formats; int f_num_screens; int f_num_subpixel; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryPictFormats"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (render-QueryPictFormats)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_formats = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_QueryPictFormats_reply_num_formats, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_screens = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_QueryPictFormats_reply_num_screens, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_QueryPictFormats_reply_num_depths, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_QueryPictFormats_reply_num_visuals, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_subpixel = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_QueryPictFormats_reply_num_subpixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; struct_render_PICTFORMINFO(tvb, offsetp, t, byte_order, f_num_formats); struct_render_PICTSCREEN(tvb, offsetp, t, byte_order, f_num_screens); listOfCard32(tvb, offsetp, t, hf_x11_render_QueryPictFormats_reply_subpixels, hf_x11_render_QueryPictFormats_reply_subpixels_item, f_num_subpixel, byte_order); } static void renderQueryPictIndexValues(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_QueryPictIndexValues_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void renderQueryPictIndexValues_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_values; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryPictIndexValues"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (render-QueryPictIndexValues)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_values = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_QueryPictIndexValues_reply_num_values, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_render_INDEXVALUE(tvb, offsetp, t, byte_order, f_num_values); } static void renderCreatePicture(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_value_mask; proto_tree_add_item(t, hf_x11_render_CreatePicture_pid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CreatePicture_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CreatePicture_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_value_mask = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const value_mask_bits [] = { &hf_x11_render_CreatePicture_value_mask_mask_Repeat, &hf_x11_render_CreatePicture_value_mask_mask_AlphaMap, &hf_x11_render_CreatePicture_value_mask_mask_AlphaXOrigin, &hf_x11_render_CreatePicture_value_mask_mask_AlphaYOrigin, &hf_x11_render_CreatePicture_value_mask_mask_ClipXOrigin, &hf_x11_render_CreatePicture_value_mask_mask_ClipYOrigin, &hf_x11_render_CreatePicture_value_mask_mask_ClipMask, &hf_x11_render_CreatePicture_value_mask_mask_GraphicsExposure, &hf_x11_render_CreatePicture_value_mask_mask_SubwindowMode, &hf_x11_render_CreatePicture_value_mask_mask_PolyEdge, &hf_x11_render_CreatePicture_value_mask_mask_PolyMode, &hf_x11_render_CreatePicture_value_mask_mask_Dither, &hf_x11_render_CreatePicture_value_mask_mask_ComponentAlpha, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_render_CreatePicture_value_mask, ett_x11_rectangle, value_mask_bits, byte_order); } *offsetp += 4; if (f_value_mask & (1U << 0)) { field32(tvb, offsetp, t, hf_x11_render_CreatePicture_Repeat_repeat, byte_order); } if (f_value_mask & (1U << 1)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_AlphaMap_alphamap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 2)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_AlphaXOrigin_alphaxorigin, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 3)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_AlphaYOrigin_alphayorigin, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 4)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_ClipXOrigin_clipxorigin, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 5)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_ClipYOrigin_clipyorigin, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 6)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_ClipMask_clipmask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 7)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_GraphicsExposure_graphicsexposure, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 8)) { field32(tvb, offsetp, t, hf_x11_render_CreatePicture_SubwindowMode_subwindowmode, byte_order); } if (f_value_mask & (1U << 9)) { field32(tvb, offsetp, t, hf_x11_render_CreatePicture_PolyEdge_polyedge, byte_order); } if (f_value_mask & (1U << 10)) { field32(tvb, offsetp, t, hf_x11_render_CreatePicture_PolyMode_polymode, byte_order); } if (f_value_mask & (1U << 11)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_Dither_dither, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 12)) { proto_tree_add_item(t, hf_x11_render_CreatePicture_ComponentAlpha_componentalpha, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void renderChangePicture(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_value_mask; proto_tree_add_item(t, hf_x11_render_ChangePicture_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_value_mask = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const value_mask_bits [] = { &hf_x11_render_ChangePicture_value_mask_mask_Repeat, &hf_x11_render_ChangePicture_value_mask_mask_AlphaMap, &hf_x11_render_ChangePicture_value_mask_mask_AlphaXOrigin, &hf_x11_render_ChangePicture_value_mask_mask_AlphaYOrigin, &hf_x11_render_ChangePicture_value_mask_mask_ClipXOrigin, &hf_x11_render_ChangePicture_value_mask_mask_ClipYOrigin, &hf_x11_render_ChangePicture_value_mask_mask_ClipMask, &hf_x11_render_ChangePicture_value_mask_mask_GraphicsExposure, &hf_x11_render_ChangePicture_value_mask_mask_SubwindowMode, &hf_x11_render_ChangePicture_value_mask_mask_PolyEdge, &hf_x11_render_ChangePicture_value_mask_mask_PolyMode, &hf_x11_render_ChangePicture_value_mask_mask_Dither, &hf_x11_render_ChangePicture_value_mask_mask_ComponentAlpha, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_render_ChangePicture_value_mask, ett_x11_rectangle, value_mask_bits, byte_order); } *offsetp += 4; if (f_value_mask & (1U << 0)) { field32(tvb, offsetp, t, hf_x11_render_ChangePicture_Repeat_repeat, byte_order); } if (f_value_mask & (1U << 1)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_AlphaMap_alphamap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 2)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_AlphaXOrigin_alphaxorigin, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 3)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_AlphaYOrigin_alphayorigin, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 4)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_ClipXOrigin_clipxorigin, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 5)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_ClipYOrigin_clipyorigin, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 6)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_ClipMask_clipmask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 7)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_GraphicsExposure_graphicsexposure, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 8)) { field32(tvb, offsetp, t, hf_x11_render_ChangePicture_SubwindowMode_subwindowmode, byte_order); } if (f_value_mask & (1U << 9)) { field32(tvb, offsetp, t, hf_x11_render_ChangePicture_PolyEdge_polyedge, byte_order); } if (f_value_mask & (1U << 10)) { field32(tvb, offsetp, t, hf_x11_render_ChangePicture_PolyMode_polymode, byte_order); } if (f_value_mask & (1U << 11)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_Dither_dither, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 12)) { proto_tree_add_item(t, hf_x11_render_ChangePicture_ComponentAlpha_componentalpha, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void renderSetPictureClipRectangles(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_SetPictureClipRectangles_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_SetPictureClipRectangles_clip_x_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_SetPictureClipRectangles_clip_y_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, (length - 12) / 8); } static void renderFreePicture(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_FreePicture_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void renderComposite(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_Composite_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_Composite_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_render_Composite_mask, byte_order); proto_tree_add_item(t, hf_x11_render_Composite_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_Composite_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Composite_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Composite_mask_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Composite_mask_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Composite_dst_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Composite_dst_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Composite_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Composite_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void renderTrapezoids(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_Trapezoids_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_Trapezoids_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_Trapezoids_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_Trapezoids_mask_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_Trapezoids_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Trapezoids_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_render_TRAPEZOID(tvb, offsetp, t, byte_order, (length - 24) / 40); } static void renderTriangles(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_Triangles_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_Triangles_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_Triangles_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_Triangles_mask_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_Triangles_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_Triangles_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_render_TRIANGLE(tvb, offsetp, t, byte_order, (length - 24) / 24); } static void renderTriStrip(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_TriStrip_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_TriStrip_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_TriStrip_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_TriStrip_mask_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_TriStrip_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_TriStrip_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_render_POINTFIX(tvb, offsetp, t, byte_order, (length - 24) / 8); } static void renderTriFan(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_TriFan_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_TriFan_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_TriFan_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_TriFan_mask_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_TriFan_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_TriFan_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_render_POINTFIX(tvb, offsetp, t, byte_order, (length - 24) / 8); } static void renderCreateGlyphSet(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_CreateGlyphSet_gsid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CreateGlyphSet_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void renderReferenceGlyphSet(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_ReferenceGlyphSet_gsid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_ReferenceGlyphSet_existing, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void renderFreeGlyphSet(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_FreeGlyphSet_glyphset, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void renderAddGlyphs(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_glyphs_len; proto_tree_add_item(t, hf_x11_render_AddGlyphs_glyphset, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_glyphs_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_AddGlyphs_glyphs_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_render_AddGlyphs_glyphids, hf_x11_render_AddGlyphs_glyphids_item, f_glyphs_len, byte_order); length -= f_glyphs_len * 4; struct_render_GLYPHINFO(tvb, offsetp, t, byte_order, f_glyphs_len); length -= f_glyphs_len * 12; listOfByte(tvb, offsetp, t, hf_x11_render_AddGlyphs_data, (length - 12) / 1, byte_order); } static void renderFreeGlyphs(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_FreeGlyphs_glyphset, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_render_FreeGlyphs_glyphs, hf_x11_render_FreeGlyphs_glyphs_item, (length - 8) / 4, byte_order); } static void renderCompositeGlyphs8(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_CompositeGlyphs8_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs8_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs8_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs8_mask_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs8_glyphset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs8_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs8_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_render_CompositeGlyphs8_glyphcmds, (length - 28) / 1, byte_order); } static void renderCompositeGlyphs16(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_CompositeGlyphs16_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs16_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs16_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs16_mask_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs16_glyphset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs16_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs16_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_render_CompositeGlyphs16_glyphcmds, (length - 28) / 1, byte_order); } static void renderCompositeGlyphs32(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_CompositeGlyphs32_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs32_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs32_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs32_mask_format, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs32_glyphset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs32_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_CompositeGlyphs32_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_render_CompositeGlyphs32_glyphcmds, (length - 28) / 1, byte_order); } static void renderFillRectangles(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_render_FillRectangles_op, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_render_FillRectangles_dst, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_COLOR(tvb, offsetp, t, byte_order, 1); struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, (length - 20) / 8); } static void renderCreateCursor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_CreateCursor_cid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CreateCursor_source, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CreateCursor_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_CreateCursor_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void renderSetPictureTransform(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_SetPictureTransform_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_TRANSFORM(tvb, offsetp, t, byte_order, 1); } static void renderQueryFilters(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_QueryFilters_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void renderQueryFilters_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_aliases; int f_num_filters; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryFilters"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (render-QueryFilters)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_aliases = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_QueryFilters_reply_num_aliases, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_filters = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_QueryFilters_reply_num_filters, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; listOfCard16(tvb, offsetp, t, hf_x11_render_QueryFilters_reply_aliases, hf_x11_render_QueryFilters_reply_aliases_item, f_num_aliases, byte_order); struct_xproto_STR(tvb, offsetp, t, byte_order, f_num_filters); } static void renderSetPictureFilter(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_filter_len; proto_tree_add_item(t, hf_x11_render_SetPictureFilter_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_filter_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_SetPictureFilter_filter_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_render_SetPictureFilter_filter, f_filter_len, byte_order); length -= f_filter_len * 1; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); listOfInt32(tvb, offsetp, t, hf_x11_render_SetPictureFilter_values, hf_x11_render_SetPictureFilter_values_item, (length - 12) / 4, byte_order); } static void renderCreateAnimCursor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_CreateAnimCursor_cid, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_ANIMCURSORELT(tvb, offsetp, t, byte_order, (length - 8) / 8); } static void renderAddTraps(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_AddTraps_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_AddTraps_x_off, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_render_AddTraps_y_off, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_render_TRAP(tvb, offsetp, t, byte_order, (length - 12) / 24); } static void renderCreateSolidFill(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_render_CreateSolidFill_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_COLOR(tvb, offsetp, t, byte_order, 1); } static void renderCreateLinearGradient(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_stops; proto_tree_add_item(t, hf_x11_render_CreateLinearGradient_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); f_num_stops = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_CreateLinearGradient_num_stops, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_render_CreateLinearGradient_stops, hf_x11_render_CreateLinearGradient_stops_item, f_num_stops, byte_order); length -= f_num_stops * 4; struct_render_COLOR(tvb, offsetp, t, byte_order, f_num_stops); length -= f_num_stops * 8; } static void renderCreateRadialGradient(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_stops; proto_tree_add_item(t, hf_x11_render_CreateRadialGradient_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_render_CreateRadialGradient_inner_radius, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_render_CreateRadialGradient_outer_radius, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_stops = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_CreateRadialGradient_num_stops, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_render_CreateRadialGradient_stops, hf_x11_render_CreateRadialGradient_stops_item, f_num_stops, byte_order); length -= f_num_stops * 4; struct_render_COLOR(tvb, offsetp, t, byte_order, f_num_stops); length -= f_num_stops * 8; } static void renderCreateConicalGradient(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_stops; proto_tree_add_item(t, hf_x11_render_CreateConicalGradient_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_render_POINTFIX(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_render_CreateConicalGradient_angle, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_stops = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_render_CreateConicalGradient_num_stops, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_render_CreateConicalGradient_stops, hf_x11_render_CreateConicalGradient_stops_item, f_num_stops, byte_order); length -= f_num_stops * 4; struct_render_COLOR(tvb, offsetp, t, byte_order, f_num_stops); length -= f_num_stops * 8; } static const value_string render_extension_minor[] = { { 0, "QueryVersion" }, { 1, "QueryPictFormats" }, { 2, "QueryPictIndexValues" }, { 4, "CreatePicture" }, { 5, "ChangePicture" }, { 6, "SetPictureClipRectangles" }, { 7, "FreePicture" }, { 8, "Composite" }, { 10, "Trapezoids" }, { 11, "Triangles" }, { 12, "TriStrip" }, { 13, "TriFan" }, { 17, "CreateGlyphSet" }, { 18, "ReferenceGlyphSet" }, { 19, "FreeGlyphSet" }, { 20, "AddGlyphs" }, { 22, "FreeGlyphs" }, { 23, "CompositeGlyphs8" }, { 24, "CompositeGlyphs16" }, { 25, "CompositeGlyphs32" }, { 26, "FillRectangles" }, { 27, "CreateCursor" }, { 28, "SetPictureTransform" }, { 29, "QueryFilters" }, { 30, "SetPictureFilter" }, { 31, "CreateAnimCursor" }, { 32, "AddTraps" }, { 33, "CreateSolidFill" }, { 34, "CreateLinearGradient" }, { 35, "CreateRadialGradient" }, { 36, "CreateConicalGradient" }, { 0, NULL } }; const x11_event_info render_events[] = { { NULL, NULL } }; static x11_reply_info render_replies[] = { { 0, renderQueryVersion_Reply }, { 1, renderQueryPictFormats_Reply }, { 2, renderQueryPictIndexValues_Reply }, { 29, renderQueryFilters_Reply }, { 0, NULL } }; static void dispatch_render(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(render_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, render_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: renderQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: renderQueryPictFormats(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: renderQueryPictIndexValues(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: renderCreatePicture(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: renderChangePicture(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: renderSetPictureClipRectangles(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: renderFreePicture(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: renderComposite(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: renderTrapezoids(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: renderTriangles(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: renderTriStrip(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: renderTriFan(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: renderCreateGlyphSet(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: renderReferenceGlyphSet(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: renderFreeGlyphSet(tvb, pinfo, offsetp, t, byte_order, length); break; case 20: renderAddGlyphs(tvb, pinfo, offsetp, t, byte_order, length); break; case 22: renderFreeGlyphs(tvb, pinfo, offsetp, t, byte_order, length); break; case 23: renderCompositeGlyphs8(tvb, pinfo, offsetp, t, byte_order, length); break; case 24: renderCompositeGlyphs16(tvb, pinfo, offsetp, t, byte_order, length); break; case 25: renderCompositeGlyphs32(tvb, pinfo, offsetp, t, byte_order, length); break; case 26: renderFillRectangles(tvb, pinfo, offsetp, t, byte_order, length); break; case 27: renderCreateCursor(tvb, pinfo, offsetp, t, byte_order, length); break; case 28: renderSetPictureTransform(tvb, pinfo, offsetp, t, byte_order, length); break; case 29: renderQueryFilters(tvb, pinfo, offsetp, t, byte_order, length); break; case 30: renderSetPictureFilter(tvb, pinfo, offsetp, t, byte_order, length); break; case 31: renderCreateAnimCursor(tvb, pinfo, offsetp, t, byte_order, length); break; case 32: renderAddTraps(tvb, pinfo, offsetp, t, byte_order, length); break; case 33: renderCreateSolidFill(tvb, pinfo, offsetp, t, byte_order, length); break; case 34: renderCreateLinearGradient(tvb, pinfo, offsetp, t, byte_order, length); break; case 35: renderCreateRadialGradient(tvb, pinfo, offsetp, t, byte_order, length); break; case 36: renderCreateConicalGradient(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_render(void) { set_handler("RENDER", dispatch_render, render_errors, render_events, NULL, render_replies); } static void struct_res_Client(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_res_Client, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_res_Client_resource_base, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_res_Client_resource_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_res_Type(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_res_Type, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_res_Type_resource_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_res_Type_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_res_ClientIdSpec(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_res_ClientIdSpec, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_res_ClientIdSpec_client, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const mask_bits [] = { &hf_x11_struct_res_ClientIdSpec_mask_mask_ClientXID, &hf_x11_struct_res_ClientIdSpec_mask_mask_LocalClientPID, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_res_ClientIdSpec_mask, ett_x11_rectangle, mask_bits, byte_order); } *offsetp += 4; } } static int struct_size_res_ClientIdValue(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_length; f_length = tvb_get_guint32(tvb, *offsetp + size + 8, byte_order); size += (f_length / 4) * 4; return size + 12; } static void struct_res_ClientIdValue(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_length; item = proto_tree_add_item(root, hf_x11_struct_res_ClientIdValue, tvb, *offsetp, struct_size_res_ClientIdValue(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_res_ClientIdSpec(tvb, offsetp, t, byte_order, 1); f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_res_ClientIdValue_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_struct_res_ClientIdValue_value, hf_x11_struct_res_ClientIdValue_value_item, (f_length / 4), byte_order); } } static void struct_res_ResourceIdSpec(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_res_ResourceIdSpec, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_res_ResourceIdSpec_resource, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_res_ResourceIdSpec_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_res_ResourceSizeSpec(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_res_ResourceSizeSpec, tvb, *offsetp, 20, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_res_ResourceIdSpec(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_struct_res_ResourceSizeSpec_bytes, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_res_ResourceSizeSpec_ref_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_res_ResourceSizeSpec_use_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static int struct_size_res_ResourceSizeValue(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_num_cross_references; f_num_cross_references = tvb_get_guint32(tvb, *offsetp + size + 20, byte_order); size += f_num_cross_references * 20; return size + 24; } static void struct_res_ResourceSizeValue(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_num_cross_references; item = proto_tree_add_item(root, hf_x11_struct_res_ResourceSizeValue, tvb, *offsetp, struct_size_res_ResourceSizeValue(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); struct_res_ResourceSizeSpec(tvb, offsetp, t, byte_order, 1); f_num_cross_references = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_res_ResourceSizeValue_num_cross_references, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_res_ResourceSizeSpec(tvb, offsetp, t, byte_order, f_num_cross_references); } } static void resQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_res_QueryVersion_client_major, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_res_QueryVersion_client_minor, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void resQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (res-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_res_QueryVersion_reply_server_major, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_res_QueryVersion_reply_server_minor, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void resQueryClients(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void resQueryClients_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_clients; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryClients"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (res-QueryClients)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_clients = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_res_QueryClients_reply_num_clients, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_res_Client(tvb, offsetp, t, byte_order, f_num_clients); } static void resQueryClientResources(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_res_QueryClientResources_xid, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void resQueryClientResources_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_types; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryClientResources"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (res-QueryClientResources)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_types = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_res_QueryClientResources_reply_num_types, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_res_Type(tvb, offsetp, t, byte_order, f_num_types); } static void resQueryClientPixmapBytes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_res_QueryClientPixmapBytes_xid, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void resQueryClientPixmapBytes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryClientPixmapBytes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (res-QueryClientPixmapBytes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_res_QueryClientPixmapBytes_reply_bytes, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_res_QueryClientPixmapBytes_reply_bytes_overflow, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void resQueryClientIds(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_specs; f_num_specs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_res_QueryClientIds_num_specs, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_res_ClientIdSpec(tvb, offsetp, t, byte_order, f_num_specs); length -= f_num_specs * 8; } static void resQueryClientIds_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_ids; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryClientIds"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (res-QueryClientIds)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_ids = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_res_QueryClientIds_reply_num_ids, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_res_ClientIdValue(tvb, offsetp, t, byte_order, f_num_ids); } static void resQueryResourceBytes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_specs; proto_tree_add_item(t, hf_x11_res_QueryResourceBytes_client, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_specs = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_res_QueryResourceBytes_num_specs, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_res_ResourceIdSpec(tvb, offsetp, t, byte_order, f_num_specs); length -= f_num_specs * 8; } static void resQueryResourceBytes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_sizes; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryResourceBytes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (res-QueryResourceBytes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_sizes = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_res_QueryResourceBytes_reply_num_sizes, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_res_ResourceSizeValue(tvb, offsetp, t, byte_order, f_num_sizes); } static const value_string res_extension_minor[] = { { 0, "QueryVersion" }, { 1, "QueryClients" }, { 2, "QueryClientResources" }, { 3, "QueryClientPixmapBytes" }, { 4, "QueryClientIds" }, { 5, "QueryResourceBytes" }, { 0, NULL } }; const x11_event_info res_events[] = { { NULL, NULL } }; static x11_reply_info res_replies[] = { { 0, resQueryVersion_Reply }, { 1, resQueryClients_Reply }, { 2, resQueryClientResources_Reply }, { 3, resQueryClientPixmapBytes_Reply }, { 4, resQueryClientIds_Reply }, { 5, resQueryResourceBytes_Reply }, { 0, NULL } }; static void dispatch_res(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(res_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, res_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: resQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: resQueryClients(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: resQueryClientResources(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: resQueryClientPixmapBytes(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: resQueryClientIds(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: resQueryResourceBytes(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_res(void) { set_handler("X-Resource", dispatch_res, res_errors, res_events, NULL, res_replies); } static void screensaverQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_screensaver_QueryVersion_client_major_version, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_screensaver_QueryVersion_client_minor_version, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void screensaverQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (screensaver-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_screensaver_QueryVersion_reply_server_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_screensaver_QueryVersion_reply_server_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void screensaverQueryInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_screensaver_QueryInfo_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void screensaverQueryInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryInfo"); REPLY(reply); proto_tree_add_item(t, hf_x11_screensaver_QueryInfo_reply_state, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (screensaver-QueryInfo)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_screensaver_QueryInfo_reply_saver_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_screensaver_QueryInfo_reply_ms_until_server, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_screensaver_QueryInfo_reply_ms_since_user_input, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_screensaver_QueryInfo_reply_event_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_screensaver_QueryInfo_reply_kind, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 7, ENC_NA); *offsetp += 7; } static void screensaverSelectInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_screensaver_SelectInput_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const event_mask_bits [] = { &hf_x11_screensaver_SelectInput_event_mask_mask_NotifyMask, &hf_x11_screensaver_SelectInput_event_mask_mask_CycleMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_screensaver_SelectInput_event_mask, ett_x11_rectangle, event_mask_bits, byte_order); } *offsetp += 4; } static void screensaverSetAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_value_mask; proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_border_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; field8(tvb, offsetp, t, hf_x11_screensaver_SetAttributes_class, byte_order); proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_visual, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_value_mask = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const value_mask_bits [] = { &hf_x11_screensaver_SetAttributes_value_mask_mask_BackPixmap, &hf_x11_screensaver_SetAttributes_value_mask_mask_BackPixel, &hf_x11_screensaver_SetAttributes_value_mask_mask_BorderPixmap, &hf_x11_screensaver_SetAttributes_value_mask_mask_BorderPixel, &hf_x11_screensaver_SetAttributes_value_mask_mask_BitGravity, &hf_x11_screensaver_SetAttributes_value_mask_mask_WinGravity, &hf_x11_screensaver_SetAttributes_value_mask_mask_BackingStore, &hf_x11_screensaver_SetAttributes_value_mask_mask_BackingPlanes, &hf_x11_screensaver_SetAttributes_value_mask_mask_BackingPixel, &hf_x11_screensaver_SetAttributes_value_mask_mask_OverrideRedirect, &hf_x11_screensaver_SetAttributes_value_mask_mask_SaveUnder, &hf_x11_screensaver_SetAttributes_value_mask_mask_EventMask, &hf_x11_screensaver_SetAttributes_value_mask_mask_DontPropagate, &hf_x11_screensaver_SetAttributes_value_mask_mask_Colormap, &hf_x11_screensaver_SetAttributes_value_mask_mask_Cursor, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_screensaver_SetAttributes_value_mask, ett_x11_rectangle, value_mask_bits, byte_order); } *offsetp += 4; if (f_value_mask & (1U << 0)) { field32(tvb, offsetp, t, hf_x11_screensaver_SetAttributes_BackPixmap_background_pixmap, byte_order); } if (f_value_mask & (1U << 1)) { proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_BackPixel_background_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 2)) { field32(tvb, offsetp, t, hf_x11_screensaver_SetAttributes_BorderPixmap_border_pixmap, byte_order); } if (f_value_mask & (1U << 3)) { proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_BorderPixel_border_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 4)) { field32(tvb, offsetp, t, hf_x11_screensaver_SetAttributes_BitGravity_bit_gravity, byte_order); } if (f_value_mask & (1U << 5)) { field32(tvb, offsetp, t, hf_x11_screensaver_SetAttributes_WinGravity_win_gravity, byte_order); } if (f_value_mask & (1U << 6)) { field32(tvb, offsetp, t, hf_x11_screensaver_SetAttributes_BackingStore_backing_store, byte_order); } if (f_value_mask & (1U << 7)) { proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_BackingPlanes_backing_planes, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 8)) { proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_BackingPixel_backing_pixel, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 9)) { proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_OverrideRedirect_override_redirect, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 10)) { proto_tree_add_item(t, hf_x11_screensaver_SetAttributes_SaveUnder_save_under, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 11)) { { int* const event_mask_bits [] = { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeyPress, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeyRelease, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonPress, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonRelease, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_EnterWindow, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_LeaveWindow, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PointerMotion, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PointerMotionHint, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button1Motion, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button2Motion, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button3Motion, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button4Motion, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button5Motion, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonMotion, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeymapState, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Exposure, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_VisibilityChange, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_StructureNotify, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ResizeRedirect, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_SubstructureNotify, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_SubstructureRedirect, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_FocusChange, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PropertyChange, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ColorMapChange, &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_OwnerGrabButton, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_screensaver_SetAttributes_EventMask_event_mask, ett_x11_rectangle, event_mask_bits, byte_order); } *offsetp += 4; } if (f_value_mask & (1U << 12)) { { int* const do_not_propogate_mask_bits [] = { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeyPress, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeyRelease, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonPress, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonRelease, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_EnterWindow, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_LeaveWindow, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PointerMotion, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PointerMotionHint, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button1Motion, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button2Motion, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button3Motion, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button4Motion, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button5Motion, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonMotion, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeymapState, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Exposure, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_VisibilityChange, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_StructureNotify, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ResizeRedirect, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_SubstructureNotify, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_SubstructureRedirect, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_FocusChange, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PropertyChange, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ColorMapChange, &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_OwnerGrabButton, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask, ett_x11_rectangle, do_not_propogate_mask_bits, byte_order); } *offsetp += 4; } if (f_value_mask & (1U << 13)) { field32(tvb, offsetp, t, hf_x11_screensaver_SetAttributes_Colormap_colormap, byte_order); } if (f_value_mask & (1U << 14)) { field32(tvb, offsetp, t, hf_x11_screensaver_SetAttributes_Cursor_cursor, byte_order); } } static void screensaverUnsetAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_screensaver_UnsetAttributes_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void screensaverSuspend(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_screensaver_Suspend_suspend, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string screensaver_extension_minor[] = { { 0, "QueryVersion" }, { 1, "QueryInfo" }, { 2, "SelectInput" }, { 3, "SetAttributes" }, { 4, "UnsetAttributes" }, { 5, "Suspend" }, { 0, NULL } }; const x11_event_info screensaver_events[] = { { NULL, NULL } }; static x11_reply_info screensaver_replies[] = { { 0, screensaverQueryVersion_Reply }, { 1, screensaverQueryInfo_Reply }, { 0, NULL } }; static void dispatch_screensaver(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(screensaver_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, screensaver_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: screensaverQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: screensaverQueryInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: screensaverSelectInput(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: screensaverSetAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: screensaverUnsetAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: screensaverSuspend(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_screensaver(void) { set_handler("MIT-SCREEN-SAVER", dispatch_screensaver, screensaver_errors, screensaver_events, NULL, screensaver_replies); } static void shapeQueryVersion(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void shapeQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (shape-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shape_QueryVersion_reply_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryVersion_reply_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void shapeRectangles(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_shape_Rectangles_operation, byte_order); field8(tvb, offsetp, t, hf_x11_shape_Rectangles_destination_kind, byte_order); field8(tvb, offsetp, t, hf_x11_shape_Rectangles_ordering, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_shape_Rectangles_destination_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shape_Rectangles_x_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_Rectangles_y_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, (length - 16) / 8); } static void shapeMask(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_shape_Mask_operation, byte_order); field8(tvb, offsetp, t, hf_x11_shape_Mask_destination_kind, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_Mask_destination_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shape_Mask_x_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_Mask_y_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; field32(tvb, offsetp, t, hf_x11_shape_Mask_source_bitmap, byte_order); } static void shapeCombine(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_shape_Combine_operation, byte_order); field8(tvb, offsetp, t, hf_x11_shape_Combine_destination_kind, byte_order); field8(tvb, offsetp, t, hf_x11_shape_Combine_source_kind, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_shape_Combine_destination_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shape_Combine_x_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_Combine_y_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_Combine_source_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shapeOffset(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_shape_Offset_destination_kind, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_shape_Offset_destination_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shape_Offset_x_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_Offset_y_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void shapeQueryExtents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shape_QueryExtents_destination_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shapeQueryExtents_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryExtents"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (shape-QueryExtents)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_bounding_shaped, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_clip_shaped, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_bounding_shape_extents_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_bounding_shape_extents_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_bounding_shape_extents_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_bounding_shape_extents_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_clip_shape_extents_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_clip_shape_extents_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_clip_shape_extents_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shape_QueryExtents_reply_clip_shape_extents_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void shapeSelectInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shape_SelectInput_destination_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shape_SelectInput_enable, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void shapeInputSelected(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shape_InputSelected_destination_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shapeInputSelected_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-InputSelected"); REPLY(reply); proto_tree_add_item(t, hf_x11_shape_InputSelected_reply_enabled, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (shape-InputSelected)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shapeGetRectangles(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shape_GetRectangles_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_shape_GetRectangles_source_kind, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void shapeGetRectangles_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_rectangles_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetRectangles"); REPLY(reply); field8(tvb, offsetp, t, hf_x11_shape_GetRectangles_reply_ordering, byte_order); sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (shape-GetRectangles)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_rectangles_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_shape_GetRectangles_reply_rectangles_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, f_rectangles_len); } static const value_string shape_extension_minor[] = { { 0, "QueryVersion" }, { 1, "Rectangles" }, { 2, "Mask" }, { 3, "Combine" }, { 4, "Offset" }, { 5, "QueryExtents" }, { 6, "SelectInput" }, { 7, "InputSelected" }, { 8, "GetRectangles" }, { 0, NULL } }; const x11_event_info shape_events[] = { { NULL, NULL } }; static x11_reply_info shape_replies[] = { { 0, shapeQueryVersion_Reply }, { 5, shapeQueryExtents_Reply }, { 7, shapeInputSelected_Reply }, { 8, shapeGetRectangles_Reply }, { 0, NULL } }; static void dispatch_shape(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(shape_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, shape_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: shapeQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: shapeRectangles(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: shapeMask(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: shapeCombine(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: shapeOffset(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: shapeQueryExtents(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: shapeSelectInput(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: shapeInputSelected(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: shapeGetRectangles(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_shape(void) { set_handler("SHAPE", dispatch_shape, shape_errors, shape_events, NULL, shape_replies); } static void shmQueryVersion(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void shmQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_shm_QueryVersion_reply_shared_pixmaps, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (shm-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_QueryVersion_reply_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_QueryVersion_reply_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_QueryVersion_reply_uid, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_QueryVersion_reply_gid, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_QueryVersion_reply_pixmap_format, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; } static void shmAttach(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shm_Attach_shmseg, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_Attach_shmid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_Attach_read_only, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void shmDetach(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shm_Detach_shmseg, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shmPutImage(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shm_PutImage_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_PutImage_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_PutImage_total_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_PutImage_total_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_PutImage_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_PutImage_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_PutImage_src_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_PutImage_src_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_PutImage_dst_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_PutImage_dst_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_PutImage_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_shm_PutImage_format, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_shm_PutImage_send_event, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_shm_PutImage_shmseg, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_PutImage_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shmGetImage(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shm_GetImage_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_GetImage_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_GetImage_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_GetImage_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_GetImage_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_GetImage_plane_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_GetImage_format, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_shm_GetImage_shmseg, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_GetImage_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shmGetImage_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetImage"); REPLY(reply); proto_tree_add_item(t, hf_x11_shm_GetImage_reply_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (shm-GetImage)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_GetImage_reply_visual, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_GetImage_reply_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shmCreatePixmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shm_CreatePixmap_pid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_CreatePixmap_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_CreatePixmap_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_CreatePixmap_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_shm_CreatePixmap_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_shm_CreatePixmap_shmseg, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_CreatePixmap_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void shmAttachFd(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shm_AttachFd_shmseg, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_AttachFd_read_only, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void shmCreateSegment(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_shm_CreateSegment_shmseg, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_CreateSegment_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_shm_CreateSegment_read_only, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void shmCreateSegment_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-CreateSegment"); REPLY(reply); proto_tree_add_item(t, hf_x11_shm_CreateSegment_reply_nfd, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (shm-CreateSegment)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; } static const value_string shm_extension_minor[] = { { 0, "QueryVersion" }, { 1, "Attach" }, { 2, "Detach" }, { 3, "PutImage" }, { 4, "GetImage" }, { 5, "CreatePixmap" }, { 6, "AttachFd" }, { 7, "CreateSegment" }, { 0, NULL } }; const x11_event_info shm_events[] = { { NULL, NULL } }; static x11_reply_info shm_replies[] = { { 0, shmQueryVersion_Reply }, { 4, shmGetImage_Reply }, { 7, shmCreateSegment_Reply }, { 0, NULL } }; static void dispatch_shm(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(shm_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, shm_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: shmQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: shmAttach(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: shmDetach(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: shmPutImage(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: shmGetImage(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: shmCreatePixmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: shmAttachFd(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: shmCreateSegment(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_shm(void) { set_handler("MIT-SHM", dispatch_shm, shm_errors, shm_events, NULL, shm_replies); } static void syncInitialize(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_Initialize_desired_major_version, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_sync_Initialize_desired_minor_version, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void syncInitialize_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Initialize"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (sync-Initialize)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_sync_Initialize_reply_major_version, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_sync_Initialize_reply_minor_version, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; } static void syncListSystemCounters(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void syncListSystemCounters_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_counters_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListSystemCounters"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (sync-ListSystemCounters)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_counters_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_sync_ListSystemCounters_reply_counters_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_sync_SYSTEMCOUNTER(tvb, offsetp, t, byte_order, f_counters_len); } static void syncCreateCounter(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_CreateCounter_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } static void syncDestroyCounter(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_DestroyCounter_counter, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncQueryCounter(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_QueryCounter_counter, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncQueryCounter_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryCounter"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (sync-QueryCounter)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } static void syncAwait(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { struct_sync_WAITCONDITION(tvb, offsetp, t, byte_order, (length - 4) / 28); } static void syncChangeCounter(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_ChangeCounter_counter, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } static void syncSetCounter(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_SetCounter_counter, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } static void syncCreateAlarm(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_value_mask; proto_tree_add_item(t, hf_x11_sync_CreateAlarm_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_value_mask = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const value_mask_bits [] = { &hf_x11_sync_CreateAlarm_value_mask_mask_Counter, &hf_x11_sync_CreateAlarm_value_mask_mask_ValueType, &hf_x11_sync_CreateAlarm_value_mask_mask_Value, &hf_x11_sync_CreateAlarm_value_mask_mask_TestType, &hf_x11_sync_CreateAlarm_value_mask_mask_Delta, &hf_x11_sync_CreateAlarm_value_mask_mask_Events, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_sync_CreateAlarm_value_mask, ett_x11_rectangle, value_mask_bits, byte_order); } *offsetp += 4; if (f_value_mask & (1U << 0)) { proto_tree_add_item(t, hf_x11_sync_CreateAlarm_Counter_counter, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 1)) { field32(tvb, offsetp, t, hf_x11_sync_CreateAlarm_ValueType_valueType, byte_order); } if (f_value_mask & (1U << 2)) { struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } if (f_value_mask & (1U << 3)) { field32(tvb, offsetp, t, hf_x11_sync_CreateAlarm_TestType_testType, byte_order); } if (f_value_mask & (1U << 4)) { struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } if (f_value_mask & (1U << 5)) { proto_tree_add_item(t, hf_x11_sync_CreateAlarm_Events_events, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void syncChangeAlarm(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_value_mask; proto_tree_add_item(t, hf_x11_sync_ChangeAlarm_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_value_mask = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const value_mask_bits [] = { &hf_x11_sync_ChangeAlarm_value_mask_mask_Counter, &hf_x11_sync_ChangeAlarm_value_mask_mask_ValueType, &hf_x11_sync_ChangeAlarm_value_mask_mask_Value, &hf_x11_sync_ChangeAlarm_value_mask_mask_TestType, &hf_x11_sync_ChangeAlarm_value_mask_mask_Delta, &hf_x11_sync_ChangeAlarm_value_mask_mask_Events, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_sync_ChangeAlarm_value_mask, ett_x11_rectangle, value_mask_bits, byte_order); } *offsetp += 4; if (f_value_mask & (1U << 0)) { proto_tree_add_item(t, hf_x11_sync_ChangeAlarm_Counter_counter, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_value_mask & (1U << 1)) { field32(tvb, offsetp, t, hf_x11_sync_ChangeAlarm_ValueType_valueType, byte_order); } if (f_value_mask & (1U << 2)) { struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } if (f_value_mask & (1U << 3)) { field32(tvb, offsetp, t, hf_x11_sync_ChangeAlarm_TestType_testType, byte_order); } if (f_value_mask & (1U << 4)) { struct_sync_INT64(tvb, offsetp, t, byte_order, 1); } if (f_value_mask & (1U << 5)) { proto_tree_add_item(t, hf_x11_sync_ChangeAlarm_Events_events, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void syncDestroyAlarm(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_DestroyAlarm_alarm, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncQueryAlarm(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_QueryAlarm_alarm, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncQueryAlarm_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryAlarm"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (sync-QueryAlarm)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_sync_TRIGGER(tvb, offsetp, t, byte_order, 1); struct_sync_INT64(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_sync_QueryAlarm_reply_events, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_sync_QueryAlarm_reply_state, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void syncSetPriority(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_SetPriority_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_sync_SetPriority_priority, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncGetPriority(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_GetPriority_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncGetPriority_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPriority"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (sync-GetPriority)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_sync_GetPriority_reply_priority, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncCreateFence(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_CreateFence_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_sync_CreateFence_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_sync_CreateFence_initially_triggered, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void syncTriggerFence(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_TriggerFence_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncResetFence(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_ResetFence_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncDestroyFence(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_DestroyFence_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncQueryFence(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_sync_QueryFence_fence, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void syncQueryFence_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryFence"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (sync-QueryFence)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_sync_QueryFence_reply_triggered, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void syncAwaitFence(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { listOfCard32(tvb, offsetp, t, hf_x11_sync_AwaitFence_fence_list, hf_x11_sync_AwaitFence_fence_list_item, (length - 4) / 4, byte_order); } static void syncAlarmNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_sync_AlarmNotify_kind, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_sync_AlarmNotify_alarm, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_sync_INT64(tvb, offsetp, t, byte_order, 1); struct_sync_INT64(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_sync_AlarmNotify_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_sync_AlarmNotify_state, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static const value_string sync_extension_minor[] = { { 0, "Initialize" }, { 1, "ListSystemCounters" }, { 2, "CreateCounter" }, { 3, "SetCounter" }, { 4, "ChangeCounter" }, { 5, "QueryCounter" }, { 6, "DestroyCounter" }, { 7, "Await" }, { 8, "CreateAlarm" }, { 9, "ChangeAlarm" }, { 10, "QueryAlarm" }, { 11, "DestroyAlarm" }, { 12, "SetPriority" }, { 13, "GetPriority" }, { 14, "CreateFence" }, { 15, "TriggerFence" }, { 16, "ResetFence" }, { 17, "DestroyFence" }, { 18, "QueryFence" }, { 19, "AwaitFence" }, { 0, NULL } }; static const x11_event_info sync_events[] = { { "sync-AlarmNotify", syncAlarmNotify }, { NULL, NULL } }; static x11_reply_info sync_replies[] = { { 0, syncInitialize_Reply }, { 1, syncListSystemCounters_Reply }, { 5, syncQueryCounter_Reply }, { 10, syncQueryAlarm_Reply }, { 13, syncGetPriority_Reply }, { 18, syncQueryFence_Reply }, { 0, NULL } }; static void dispatch_sync(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(sync_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, sync_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: syncInitialize(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: syncListSystemCounters(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: syncCreateCounter(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: syncSetCounter(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: syncChangeCounter(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: syncQueryCounter(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: syncDestroyCounter(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: syncAwait(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: syncCreateAlarm(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: syncChangeAlarm(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: syncQueryAlarm(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: syncDestroyAlarm(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: syncSetPriority(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: syncGetPriority(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: syncCreateFence(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: syncTriggerFence(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: syncResetFence(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: syncDestroyFence(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: syncQueryFence(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: syncAwaitFence(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_sync(void) { set_handler("SYNC", dispatch_sync, sync_errors, sync_events, NULL, sync_replies); } static void xc_miscGetVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xc_misc_GetVersion_client_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xc_misc_GetVersion_client_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xc_miscGetVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xc_misc-GetVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xc_misc_GetVersion_reply_server_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xc_misc_GetVersion_reply_server_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xc_miscGetXIDRange(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xc_miscGetXIDRange_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetXIDRange"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xc_misc-GetXIDRange)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xc_misc_GetXIDRange_reply_start_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xc_misc_GetXIDRange_reply_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xc_miscGetXIDList(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xc_misc_GetXIDList_count, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xc_miscGetXIDList_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_ids_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetXIDList"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xc_misc-GetXIDList)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_ids_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xc_misc_GetXIDList_reply_ids_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfCard32(tvb, offsetp, t, hf_x11_xc_misc_GetXIDList_reply_ids, hf_x11_xc_misc_GetXIDList_reply_ids_item, f_ids_len, byte_order); } static const value_string xc_misc_extension_minor[] = { { 0, "GetVersion" }, { 1, "GetXIDRange" }, { 2, "GetXIDList" }, { 0, NULL } }; const x11_event_info xc_misc_events[] = { { NULL, NULL } }; static x11_reply_info xc_misc_replies[] = { { 0, xc_miscGetVersion_Reply }, { 1, xc_miscGetXIDRange_Reply }, { 2, xc_miscGetXIDList_Reply }, { 0, NULL } }; static void dispatch_xc_misc(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xc_misc_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xc_misc_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xc_miscGetVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xc_miscGetXIDRange(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xc_miscGetXIDList(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xc_misc(void) { set_handler("XC-MISC", dispatch_xc_misc, xc_misc_errors, xc_misc_events, NULL, xc_misc_replies); } static void xevieQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xevie_QueryVersion_client_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xevie_QueryVersion_client_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xevieQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xevie-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xevie_QueryVersion_reply_server_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xevie_QueryVersion_reply_server_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void xevieStart(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xevie_Start_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xevieStart_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Start"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xevie-Start)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; } static void xevieEnd(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xevie_End_cmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xevieEnd_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-End"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xevie-End)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; } static void struct_xevie_Event(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xevie_Event, tvb, *offsetp, 32, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 32, ENC_NA); *offsetp += 32; } } static void xevieSend(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { struct_xevie_Event(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_xevie_Send_data_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 64, ENC_NA); *offsetp += 64; } static void xevieSend_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-Send"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xevie-Send)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; } static void xevieSelectInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xevie_SelectInput_event_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xevieSelectInput_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SelectInput"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xevie-SelectInput)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; } static const value_string xevie_extension_minor[] = { { 0, "QueryVersion" }, { 1, "Start" }, { 2, "End" }, { 3, "Send" }, { 4, "SelectInput" }, { 0, NULL } }; const x11_event_info xevie_events[] = { { NULL, NULL } }; static x11_reply_info xevie_replies[] = { { 0, xevieQueryVersion_Reply }, { 1, xevieStart_Reply }, { 2, xevieEnd_Reply }, { 3, xevieSend_Reply }, { 4, xevieSelectInput_Reply }, { 0, NULL } }; static void dispatch_xevie(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xevie_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xevie_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xevieQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xevieStart(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xevieEnd(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xevieSend(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xevieSelectInput(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xevie(void) { set_handler("XEVIE", dispatch_xevie, xevie_errors, xevie_events, NULL, xevie_replies); } static void struct_xf86dri_DrmClipRect(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xf86dri_DrmClipRect, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xf86dri_DrmClipRect_x1, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86dri_DrmClipRect_y1, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86dri_DrmClipRect_x2, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86dri_DrmClipRect_x3, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void xf86driQueryVersion(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xf86driQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_QueryVersion_reply_dri_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86dri_QueryVersion_reply_dri_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86dri_QueryVersion_reply_dri_minor_patch, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driQueryDirectRenderingCapable(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_QueryDirectRenderingCapable_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driQueryDirectRenderingCapable_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryDirectRenderingCapable"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-QueryDirectRenderingCapable)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_QueryDirectRenderingCapable_reply_is_capable, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xf86driOpenConnection(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_OpenConnection_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driOpenConnection_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_bus_id_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-OpenConnection"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-OpenConnection)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_OpenConnection_reply_sarea_handle_low, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_OpenConnection_reply_sarea_handle_high, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_bus_id_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86dri_OpenConnection_reply_bus_id_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfByte(tvb, offsetp, t, hf_x11_xf86dri_OpenConnection_reply_bus_id, f_bus_id_len, byte_order); } static void xf86driCloseConnection(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_CloseConnection_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driGetClientDriverName(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_GetClientDriverName_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driGetClientDriverName_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_client_driver_name_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetClientDriverName"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-GetClientDriverName)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetClientDriverName_reply_client_driver_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetClientDriverName_reply_client_driver_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetClientDriverName_reply_client_driver_patch_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_client_driver_name_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86dri_GetClientDriverName_reply_client_driver_name_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfByte(tvb, offsetp, t, hf_x11_xf86dri_GetClientDriverName_reply_client_driver_name, f_client_driver_name_len, byte_order); } static void xf86driCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_CreateContext_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_CreateContext_visual, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_CreateContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driCreateContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-CreateContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-CreateContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_CreateContext_reply_hw_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driDestroyContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_DestroyContext_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_DestroyContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driCreateDrawable(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_CreateDrawable_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_CreateDrawable_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driCreateDrawable_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-CreateDrawable"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-CreateDrawable)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_CreateDrawable_reply_hw_drawable_handle, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driDestroyDrawable(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_DestroyDrawable_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_DestroyDrawable_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driGetDrawableInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driGetDrawableInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_clip_rects; int f_num_back_clip_rects; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDrawableInfo"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-GetDrawableInfo)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_drawable_table_index, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_drawable_table_stamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_drawable_origin_X, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_drawable_origin_Y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_drawable_size_W, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_drawable_size_H, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_clip_rects = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_num_clip_rects, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_back_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_back_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_back_clip_rects = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86dri_GetDrawableInfo_reply_num_back_clip_rects, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xf86dri_DrmClipRect(tvb, offsetp, t, byte_order, f_num_clip_rects); struct_xf86dri_DrmClipRect(tvb, offsetp, t, byte_order, f_num_back_clip_rects); } static void xf86driGetDeviceInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_GetDeviceInfo_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driGetDeviceInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_device_private_size; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceInfo"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-GetDeviceInfo)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_handle_low, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_handle_high, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_origin_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_stride, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_device_private_size = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86dri_GetDeviceInfo_reply_device_private_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_xf86dri_GetDeviceInfo_reply_device_private, hf_x11_xf86dri_GetDeviceInfo_reply_device_private_item, f_device_private_size, byte_order); } static void xf86driAuthConnection(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86dri_AuthConnection_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_AuthConnection_magic, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86driAuthConnection_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-AuthConnection"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86dri-AuthConnection)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86dri_AuthConnection_reply_authenticated, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string xf86dri_extension_minor[] = { { 0, "QueryVersion" }, { 1, "QueryDirectRenderingCapable" }, { 2, "OpenConnection" }, { 3, "CloseConnection" }, { 4, "GetClientDriverName" }, { 5, "CreateContext" }, { 6, "DestroyContext" }, { 7, "CreateDrawable" }, { 8, "DestroyDrawable" }, { 9, "GetDrawableInfo" }, { 10, "GetDeviceInfo" }, { 11, "AuthConnection" }, { 0, NULL } }; const x11_event_info xf86dri_events[] = { { NULL, NULL } }; static x11_reply_info xf86dri_replies[] = { { 0, xf86driQueryVersion_Reply }, { 1, xf86driQueryDirectRenderingCapable_Reply }, { 2, xf86driOpenConnection_Reply }, { 4, xf86driGetClientDriverName_Reply }, { 5, xf86driCreateContext_Reply }, { 7, xf86driCreateDrawable_Reply }, { 9, xf86driGetDrawableInfo_Reply }, { 10, xf86driGetDeviceInfo_Reply }, { 11, xf86driAuthConnection_Reply }, { 0, NULL } }; static void dispatch_xf86dri(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xf86dri_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xf86dri_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xf86driQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xf86driQueryDirectRenderingCapable(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xf86driOpenConnection(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xf86driCloseConnection(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xf86driGetClientDriverName(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xf86driCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xf86driDestroyContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xf86driCreateDrawable(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xf86driDestroyDrawable(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: xf86driGetDrawableInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: xf86driGetDeviceInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: xf86driAuthConnection(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xf86dri(void) { set_handler("XFree86-DRI", dispatch_xf86dri, xf86dri_errors, xf86dri_events, NULL, xf86dri_replies); } static void struct_xf86vidmode_ModeInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xf86vidmode_ModeInfo, tvb, *offsetp, 48, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_dotclock, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_hdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_hsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_hsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_hskew, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_vdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_vsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_vsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; { int* const flags_bits [] = { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_HSync, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_HSync, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_VSync, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_VSync, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Interlace, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Composite_Sync, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_CSync, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_CSync, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_HSkew, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Broadcast, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Pixmux, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Double_Clock, &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Half_Clock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xf86vidmode_ModeInfo_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; proto_tree_add_item(t, hf_x11_struct_xf86vidmode_ModeInfo_privsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void xf86vidmodeQueryVersion(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xf86vidmodeQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_QueryVersion_reply_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_QueryVersion_reply_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xf86vidmodeGetModeLine(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xf86vidmodeGetModeLine_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_privsize; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetModeLine"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetModeLine)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_dotclock, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_hdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_hsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_hsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_hskew, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_vdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_vsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_vsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_HSync, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_HSync, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_VSync, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_VSync, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Interlace, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Composite_Sync, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_CSync, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_CSync, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_HSkew, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Broadcast, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Pixmux, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Double_Clock, &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Half_Clock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_GetModeLine_reply_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; f_privsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_GetModeLine_reply_privsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_GetModeLine_reply_private, f_privsize, byte_order); } static void xf86vidmodeModModeLine(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_privsize; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_hdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_hsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_hsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_hskew, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_vdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_vsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_vsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_HSync, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_HSync, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_VSync, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_VSync, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Interlace, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Composite_Sync, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_CSync, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_CSync, &hf_x11_xf86vidmode_ModModeLine_flags_mask_HSkew, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Broadcast, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Pixmux, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Double_Clock, &hf_x11_xf86vidmode_ModModeLine_flags_mask_Half_Clock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_ModModeLine_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; f_privsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_ModModeLine_privsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_ModModeLine_private, f_privsize, byte_order); length -= f_privsize * 1; } static void xf86vidmodeSwitchMode(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchMode_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchMode_zoom, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xf86vidmodeGetMonitor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetMonitor_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xf86vidmodeGetMonitor_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_vendor_length; int f_model_length; int f_num_hsync; int f_num_vsync; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMonitor"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetMonitor)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_vendor_length = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xf86vidmode_GetMonitor_reply_vendor_length, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_model_length = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xf86vidmode_GetMonitor_reply_model_length, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_num_hsync = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xf86vidmode_GetMonitor_reply_num_hsync, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_num_vsync = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xf86vidmode_GetMonitor_reply_num_vsync, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfCard32(tvb, offsetp, t, hf_x11_xf86vidmode_GetMonitor_reply_hsync, hf_x11_xf86vidmode_GetMonitor_reply_hsync_item, f_num_hsync, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_xf86vidmode_GetMonitor_reply_vsync, hf_x11_xf86vidmode_GetMonitor_reply_vsync_item, f_num_vsync, byte_order); listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_GetMonitor_reply_vendor, f_vendor_length, byte_order); listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_GetMonitor_reply_alignment_pad, (((f_vendor_length + 3) & (~3)) - f_vendor_length), byte_order); listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_GetMonitor_reply_model, f_model_length, byte_order); } static void xf86vidmodeLockModeSwitch(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_LockModeSwitch_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_LockModeSwitch_lock, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xf86vidmodeGetAllModeLines(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetAllModeLines_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xf86vidmodeGetAllModeLines_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_modecount; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetAllModeLines"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetAllModeLines)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_modecount = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_GetAllModeLines_reply_modecount, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xf86vidmode_ModeInfo(tvb, offsetp, t, byte_order, f_modecount); } static void xf86vidmodeAddModeLine(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_privsize; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_dotclock, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_hdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_hsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_hsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_hskew, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_vdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_vsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_vsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_HSync, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_HSync, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_VSync, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_VSync, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Interlace, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Composite_Sync, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_CSync, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_CSync, &hf_x11_xf86vidmode_AddModeLine_flags_mask_HSkew, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Broadcast, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Pixmux, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Double_Clock, &hf_x11_xf86vidmode_AddModeLine_flags_mask_Half_Clock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_AddModeLine_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; f_privsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_privsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_dotclock, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_hdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_hsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_hsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_hskew, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_vdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_vsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_vsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_AddModeLine_after_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const after_flags_bits [] = { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_HSync, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_HSync, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_VSync, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_VSync, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Interlace, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Composite_Sync, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_CSync, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_CSync, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_HSkew, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Broadcast, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Pixmux, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Double_Clock, &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Half_Clock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_AddModeLine_after_flags, ett_x11_rectangle, after_flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_AddModeLine_private, f_privsize, byte_order); length -= f_privsize * 1; } static void xf86vidmodeDeleteModeLine(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_privsize; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_dotclock, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_hdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_hsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_hsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_hskew, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_vdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_vsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_vsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_HSync, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_HSync, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_VSync, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_VSync, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Interlace, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Composite_Sync, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_CSync, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_CSync, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_HSkew, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Broadcast, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Pixmux, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Double_Clock, &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Half_Clock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_DeleteModeLine_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; f_privsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_DeleteModeLine_privsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_DeleteModeLine_private, f_privsize, byte_order); length -= f_privsize * 1; } static void xf86vidmodeValidateModeLine(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_privsize; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_dotclock, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_hdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_hsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_hsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_hskew, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_vdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_vsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_vsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_HSync, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_HSync, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_VSync, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_VSync, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Interlace, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Composite_Sync, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_CSync, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_CSync, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_HSkew, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Broadcast, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Pixmux, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Double_Clock, &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Half_Clock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_ValidateModeLine_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; f_privsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_privsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_ValidateModeLine_private, f_privsize, byte_order); length -= f_privsize * 1; } static void xf86vidmodeValidateModeLine_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-ValidateModeLine"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-ValidateModeLine)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_ValidateModeLine_reply_status, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void xf86vidmodeSwitchToMode(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_privsize; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_dotclock, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_hdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_hsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_hsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_htotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_hskew, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_vdisplay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_vsyncstart, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_vsyncend, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_vtotal, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_HSync, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_HSync, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_VSync, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_VSync, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Interlace, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Composite_Sync, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_CSync, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_CSync, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_HSkew, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Broadcast, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Pixmux, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Double_Clock, &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Half_Clock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_SwitchToMode_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; f_privsize = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_SwitchToMode_privsize, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xf86vidmode_SwitchToMode_private, f_privsize, byte_order); length -= f_privsize * 1; } static void xf86vidmodeGetViewPort(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetViewPort_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xf86vidmodeGetViewPort_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetViewPort"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetViewPort)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetViewPort_reply_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetViewPort_reply_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void xf86vidmodeSetViewPort(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_SetViewPort_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SetViewPort_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_SetViewPort_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xf86vidmodeGetDotClocks(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetDotClocks_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xf86vidmodeGetDotClocks_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_flags; int f_clocks; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDotClocks"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetDotClocks)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_flags = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const flags_bits [] = { &hf_x11_xf86vidmode_GetDotClocks_reply_flags_mask_Programable, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_GetDotClocks_reply_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; f_clocks = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_GetDotClocks_reply_clocks, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetDotClocks_reply_maxclocks, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfCard32(tvb, offsetp, t, hf_x11_xf86vidmode_GetDotClocks_reply_clock, hf_x11_xf86vidmode_GetDotClocks_reply_clock_item, ((1 - (f_flags & 1)) * f_clocks), byte_order); } static void xf86vidmodeSetClientVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_SetClientVersion_major, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SetClientVersion_minor, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xf86vidmodeSetGamma(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_SetGamma_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_SetGamma_red, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_SetGamma_green, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_SetGamma_blue, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; } static void xf86vidmodeGetGamma(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetGamma_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 26, ENC_NA); *offsetp += 26; } static void xf86vidmodeGetGamma_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetGamma"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetGamma)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetGamma_reply_red, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetGamma_reply_green, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetGamma_reply_blue, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; } static void xf86vidmodeGetGammaRamp(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetGammaRamp_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xf86vidmode_GetGammaRamp_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xf86vidmodeGetGammaRamp_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_size; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetGammaRamp"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetGammaRamp)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_size = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_GetGammaRamp_reply_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; listOfCard16(tvb, offsetp, t, hf_x11_xf86vidmode_GetGammaRamp_reply_red, hf_x11_xf86vidmode_GetGammaRamp_reply_red_item, ((f_size + 1) & (~1)), byte_order); listOfCard16(tvb, offsetp, t, hf_x11_xf86vidmode_GetGammaRamp_reply_green, hf_x11_xf86vidmode_GetGammaRamp_reply_green_item, ((f_size + 1) & (~1)), byte_order); listOfCard16(tvb, offsetp, t, hf_x11_xf86vidmode_GetGammaRamp_reply_blue, hf_x11_xf86vidmode_GetGammaRamp_reply_blue_item, ((f_size + 1) & (~1)), byte_order); } static void xf86vidmodeSetGammaRamp(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_size; proto_tree_add_item(t, hf_x11_xf86vidmode_SetGammaRamp_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_size = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xf86vidmode_SetGammaRamp_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard16(tvb, offsetp, t, hf_x11_xf86vidmode_SetGammaRamp_red, hf_x11_xf86vidmode_SetGammaRamp_red_item, ((f_size + 1) & (~1)), byte_order); length -= ((f_size + 1) & (~1)) * 2; listOfCard16(tvb, offsetp, t, hf_x11_xf86vidmode_SetGammaRamp_green, hf_x11_xf86vidmode_SetGammaRamp_green_item, ((f_size + 1) & (~1)), byte_order); length -= ((f_size + 1) & (~1)) * 2; listOfCard16(tvb, offsetp, t, hf_x11_xf86vidmode_SetGammaRamp_blue, hf_x11_xf86vidmode_SetGammaRamp_blue_item, ((f_size + 1) & (~1)), byte_order); length -= ((f_size + 1) & (~1)) * 2; } static void xf86vidmodeGetGammaRampSize(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetGammaRampSize_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xf86vidmodeGetGammaRampSize_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetGammaRampSize"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetGammaRampSize)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xf86vidmode_GetGammaRampSize_reply_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; } static void xf86vidmodeGetPermissions(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xf86vidmode_GetPermissions_screen, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xf86vidmodeGetPermissions_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPermissions"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xf86vidmode-GetPermissions)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const permissions_bits [] = { &hf_x11_xf86vidmode_GetPermissions_reply_permissions_mask_Read, &hf_x11_xf86vidmode_GetPermissions_reply_permissions_mask_Write, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xf86vidmode_GetPermissions_reply_permissions, ett_x11_rectangle, permissions_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static const value_string xf86vidmode_extension_minor[] = { { 0, "QueryVersion" }, { 1, "GetModeLine" }, { 2, "ModModeLine" }, { 3, "SwitchMode" }, { 4, "GetMonitor" }, { 5, "LockModeSwitch" }, { 6, "GetAllModeLines" }, { 7, "AddModeLine" }, { 8, "DeleteModeLine" }, { 9, "ValidateModeLine" }, { 10, "SwitchToMode" }, { 11, "GetViewPort" }, { 12, "SetViewPort" }, { 13, "GetDotClocks" }, { 14, "SetClientVersion" }, { 15, "SetGamma" }, { 16, "GetGamma" }, { 17, "GetGammaRamp" }, { 18, "SetGammaRamp" }, { 19, "GetGammaRampSize" }, { 20, "GetPermissions" }, { 0, NULL } }; const x11_event_info xf86vidmode_events[] = { { NULL, NULL } }; static x11_reply_info xf86vidmode_replies[] = { { 0, xf86vidmodeQueryVersion_Reply }, { 1, xf86vidmodeGetModeLine_Reply }, { 4, xf86vidmodeGetMonitor_Reply }, { 6, xf86vidmodeGetAllModeLines_Reply }, { 9, xf86vidmodeValidateModeLine_Reply }, { 11, xf86vidmodeGetViewPort_Reply }, { 13, xf86vidmodeGetDotClocks_Reply }, { 16, xf86vidmodeGetGamma_Reply }, { 17, xf86vidmodeGetGammaRamp_Reply }, { 19, xf86vidmodeGetGammaRampSize_Reply }, { 20, xf86vidmodeGetPermissions_Reply }, { 0, NULL } }; static void dispatch_xf86vidmode(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xf86vidmode_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xf86vidmode_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xf86vidmodeQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xf86vidmodeGetModeLine(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xf86vidmodeModModeLine(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xf86vidmodeSwitchMode(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xf86vidmodeGetMonitor(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xf86vidmodeLockModeSwitch(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xf86vidmodeGetAllModeLines(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xf86vidmodeAddModeLine(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xf86vidmodeDeleteModeLine(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: xf86vidmodeValidateModeLine(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: xf86vidmodeSwitchToMode(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: xf86vidmodeGetViewPort(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: xf86vidmodeSetViewPort(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: xf86vidmodeGetDotClocks(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: xf86vidmodeSetClientVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: xf86vidmodeSetGamma(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: xf86vidmodeGetGamma(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: xf86vidmodeGetGammaRamp(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: xf86vidmodeSetGammaRamp(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: xf86vidmodeGetGammaRampSize(tvb, pinfo, offsetp, t, byte_order, length); break; case 20: xf86vidmodeGetPermissions(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xf86vidmode(void) { set_handler("XFree86-VidModeExtension", dispatch_xf86vidmode, xf86vidmode_errors, xf86vidmode_events, NULL, xf86vidmode_replies); } static void xfixesQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_QueryVersion_client_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_QueryVersion_client_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xfixes-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_QueryVersion_reply_major_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_QueryVersion_reply_minor_version, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void xfixesChangeSaveSet(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field8(tvb, offsetp, t, hf_x11_xfixes_ChangeSaveSet_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xfixes_ChangeSaveSet_target, byte_order); field8(tvb, offsetp, t, hf_x11_xfixes_ChangeSaveSet_map, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xfixes_ChangeSaveSet_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesSelectSelectionInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_SelectSelectionInput_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_SelectSelectionInput_selection, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const event_mask_bits [] = { &hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SetSelectionOwner, &hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SelectionWindowDestroy, &hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SelectionClientClose, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xfixes_SelectSelectionInput_event_mask, ett_x11_rectangle, event_mask_bits, byte_order); } *offsetp += 4; } static void xfixesCursorNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { field8(tvb, offsetp, t, hf_x11_xfixes_CursorNotify_subtype, byte_order); CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xfixes_CursorNotify_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CursorNotify_cursor_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CursorNotify_timestamp, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xfixes_CursorNotify_name, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; } static void xfixesSelectCursorInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_SelectCursorInput_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const event_mask_bits [] = { &hf_x11_xfixes_SelectCursorInput_event_mask_mask_DisplayCursor, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xfixes_SelectCursorInput_event_mask, ett_x11_rectangle, event_mask_bits, byte_order); } *offsetp += 4; } static void xfixesGetCursorImage(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xfixesGetCursorImage_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_width; int f_height; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCursorImage"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xfixes-GetCursorImage)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImage_reply_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImage_reply_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_width = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_GetCursorImage_reply_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_height = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_GetCursorImage_reply_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImage_reply_xhot, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImage_reply_yhot, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImage_reply_cursor_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; listOfCard32(tvb, offsetp, t, hf_x11_xfixes_GetCursorImage_reply_cursor_image, hf_x11_xfixes_GetCursorImage_reply_cursor_image_item, (f_width * f_height), byte_order); } static void xfixesCreateRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_CreateRegion_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, (length - 8) / 8); } static void xfixesCreateRegionFromBitmap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_CreateRegionFromBitmap_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CreateRegionFromBitmap_bitmap, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesCreateRegionFromWindow(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_CreateRegionFromWindow_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CreateRegionFromWindow_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xfixes_CreateRegionFromWindow_kind, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xfixesCreateRegionFromGC(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_CreateRegionFromGC_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CreateRegionFromGC_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesCreateRegionFromPicture(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_CreateRegionFromPicture_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CreateRegionFromPicture_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesDestroyRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_DestroyRegion_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesSetRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_SetRegion_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, (length - 8) / 8); } static void xfixesCopyRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_CopyRegion_source, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CopyRegion_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesUnionRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_UnionRegion_source1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_UnionRegion_source2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_UnionRegion_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesIntersectRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_IntersectRegion_source1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_IntersectRegion_source2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_IntersectRegion_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesSubtractRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_SubtractRegion_source1, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_SubtractRegion_source2, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_SubtractRegion_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesInvertRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_InvertRegion_source, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_xfixes_InvertRegion_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesTranslateRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_TranslateRegion_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_TranslateRegion_dx, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_TranslateRegion_dy, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xfixesRegionExtents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_RegionExtents_source, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_RegionExtents_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesFetchRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_FetchRegion_region, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesFetchRegion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-FetchRegion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xfixes-FetchRegion)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; struct_xproto_RECTANGLE(tvb, offsetp, t, byte_order, (f_length / 2)); } static void xfixesSetGCClipRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_SetGCClipRegion_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xfixes_SetGCClipRegion_region, byte_order); proto_tree_add_item(t, hf_x11_xfixes_SetGCClipRegion_x_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_SetGCClipRegion_y_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xfixesSetWindowShapeRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_SetWindowShapeRegion_dest, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xfixes_SetWindowShapeRegion_dest_kind, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_xfixes_SetWindowShapeRegion_x_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_SetWindowShapeRegion_y_offset, tvb, *offsetp, 2, byte_order); *offsetp += 2; field32(tvb, offsetp, t, hf_x11_xfixes_SetWindowShapeRegion_region, byte_order); } static void xfixesSetPictureClipRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_SetPictureClipRegion_picture, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xfixes_SetPictureClipRegion_region, byte_order); proto_tree_add_item(t, hf_x11_xfixes_SetPictureClipRegion_x_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_SetPictureClipRegion_y_origin, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xfixesSetCursorName(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_nbytes; proto_tree_add_item(t, hf_x11_xfixes_SetCursorName_cursor, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nbytes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_SetCursorName_nbytes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xfixes_SetCursorName_name, f_nbytes, byte_order); length -= f_nbytes * 1; } static void xfixesGetCursorName(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_GetCursorName_cursor, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesGetCursorName_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_nbytes; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCursorName"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xfixes-GetCursorName)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xfixes_GetCursorName_reply_atom, byte_order); f_nbytes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_GetCursorName_reply_nbytes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 18, ENC_NA); *offsetp += 18; listOfByte(tvb, offsetp, t, hf_x11_xfixes_GetCursorName_reply_name, f_nbytes, byte_order); } static void xfixesGetCursorImageAndName(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xfixesGetCursorImageAndName_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_width; int f_height; int f_nbytes; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCursorImageAndName"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xfixes-GetCursorImageAndName)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImageAndName_reply_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImageAndName_reply_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_width = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_GetCursorImageAndName_reply_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_height = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_GetCursorImageAndName_reply_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImageAndName_reply_xhot, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImageAndName_reply_yhot, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_GetCursorImageAndName_reply_cursor_serial, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xfixes_GetCursorImageAndName_reply_cursor_atom, byte_order); f_nbytes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_GetCursorImageAndName_reply_nbytes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_xfixes_GetCursorImageAndName_reply_cursor_image, hf_x11_xfixes_GetCursorImageAndName_reply_cursor_image_item, (f_width * f_height), byte_order); listOfByte(tvb, offsetp, t, hf_x11_xfixes_GetCursorImageAndName_reply_name, f_nbytes, byte_order); } static void xfixesChangeCursor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_ChangeCursor_source, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_ChangeCursor_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesChangeCursorByName(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_nbytes; proto_tree_add_item(t, hf_x11_xfixes_ChangeCursorByName_src, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nbytes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_ChangeCursorByName_nbytes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xfixes_ChangeCursorByName_name, f_nbytes, byte_order); length -= f_nbytes * 1; } static void xfixesExpandRegion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_ExpandRegion_source, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_ExpandRegion_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_ExpandRegion_left, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_ExpandRegion_right, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_ExpandRegion_top, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_ExpandRegion_bottom, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xfixesHideCursor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_HideCursor_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesShowCursor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_ShowCursor_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xfixesCreatePointerBarrier(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_devices; proto_tree_add_item(t, hf_x11_xfixes_CreatePointerBarrier_barrier, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CreatePointerBarrier_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xfixes_CreatePointerBarrier_x1, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_CreatePointerBarrier_y1, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_CreatePointerBarrier_x2, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xfixes_CreatePointerBarrier_y2, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const directions_bits [] = { &hf_x11_xfixes_CreatePointerBarrier_directions_mask_PositiveX, &hf_x11_xfixes_CreatePointerBarrier_directions_mask_PositiveY, &hf_x11_xfixes_CreatePointerBarrier_directions_mask_NegativeX, &hf_x11_xfixes_CreatePointerBarrier_directions_mask_NegativeY, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xfixes_CreatePointerBarrier_directions, ett_x11_rectangle, directions_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; f_num_devices = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xfixes_CreatePointerBarrier_num_devices, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard16(tvb, offsetp, t, hf_x11_xfixes_CreatePointerBarrier_devices, hf_x11_xfixes_CreatePointerBarrier_devices_item, f_num_devices, byte_order); length -= f_num_devices * 2; } static void xfixesDeletePointerBarrier(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xfixes_DeletePointerBarrier_barrier, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string xfixes_extension_minor[] = { { 0, "QueryVersion" }, { 1, "ChangeSaveSet" }, { 2, "SelectSelectionInput" }, { 3, "SelectCursorInput" }, { 4, "GetCursorImage" }, { 5, "CreateRegion" }, { 6, "CreateRegionFromBitmap" }, { 7, "CreateRegionFromWindow" }, { 8, "CreateRegionFromGC" }, { 9, "CreateRegionFromPicture" }, { 10, "DestroyRegion" }, { 11, "SetRegion" }, { 12, "CopyRegion" }, { 13, "UnionRegion" }, { 14, "IntersectRegion" }, { 15, "SubtractRegion" }, { 16, "InvertRegion" }, { 17, "TranslateRegion" }, { 18, "RegionExtents" }, { 19, "FetchRegion" }, { 20, "SetGCClipRegion" }, { 21, "SetWindowShapeRegion" }, { 22, "SetPictureClipRegion" }, { 23, "SetCursorName" }, { 24, "GetCursorName" }, { 25, "GetCursorImageAndName" }, { 26, "ChangeCursor" }, { 27, "ChangeCursorByName" }, { 28, "ExpandRegion" }, { 29, "HideCursor" }, { 30, "ShowCursor" }, { 31, "CreatePointerBarrier" }, { 32, "DeletePointerBarrier" }, { 0, NULL } }; static const x11_event_info xfixes_events[] = { { "xfixes-CursorNotify", xfixesCursorNotify }, { NULL, NULL } }; static x11_reply_info xfixes_replies[] = { { 0, xfixesQueryVersion_Reply }, { 4, xfixesGetCursorImage_Reply }, { 19, xfixesFetchRegion_Reply }, { 24, xfixesGetCursorName_Reply }, { 25, xfixesGetCursorImageAndName_Reply }, { 0, NULL } }; static void dispatch_xfixes(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xfixes_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xfixes_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xfixesQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xfixesChangeSaveSet(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xfixesSelectSelectionInput(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xfixesSelectCursorInput(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xfixesGetCursorImage(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xfixesCreateRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xfixesCreateRegionFromBitmap(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xfixesCreateRegionFromWindow(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xfixesCreateRegionFromGC(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: xfixesCreateRegionFromPicture(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: xfixesDestroyRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: xfixesSetRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: xfixesCopyRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: xfixesUnionRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: xfixesIntersectRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: xfixesSubtractRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: xfixesInvertRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: xfixesTranslateRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: xfixesRegionExtents(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: xfixesFetchRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 20: xfixesSetGCClipRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 21: xfixesSetWindowShapeRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 22: xfixesSetPictureClipRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 23: xfixesSetCursorName(tvb, pinfo, offsetp, t, byte_order, length); break; case 24: xfixesGetCursorName(tvb, pinfo, offsetp, t, byte_order, length); break; case 25: xfixesGetCursorImageAndName(tvb, pinfo, offsetp, t, byte_order, length); break; case 26: xfixesChangeCursor(tvb, pinfo, offsetp, t, byte_order, length); break; case 27: xfixesChangeCursorByName(tvb, pinfo, offsetp, t, byte_order, length); break; case 28: xfixesExpandRegion(tvb, pinfo, offsetp, t, byte_order, length); break; case 29: xfixesHideCursor(tvb, pinfo, offsetp, t, byte_order, length); break; case 30: xfixesShowCursor(tvb, pinfo, offsetp, t, byte_order, length); break; case 31: xfixesCreatePointerBarrier(tvb, pinfo, offsetp, t, byte_order, length); break; case 32: xfixesDeletePointerBarrier(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xfixes(void) { set_handler("XFIXES", dispatch_xfixes, xfixes_errors, xfixes_events, NULL, xfixes_replies); } static void struct_xinerama_ScreenInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinerama_ScreenInfo, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xinerama_ScreenInfo_x_org, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinerama_ScreenInfo_y_org, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinerama_ScreenInfo_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinerama_ScreenInfo_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } static void xineramaQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinerama_QueryVersion_major, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinerama_QueryVersion_minor, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xineramaQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinerama-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_QueryVersion_reply_major, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinerama_QueryVersion_reply_minor, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xineramaGetState(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinerama_GetState_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xineramaGetState_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetState"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinerama_GetState_reply_state, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinerama-GetState)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_GetState_reply_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xineramaGetScreenCount(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinerama_GetScreenCount_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xineramaGetScreenCount_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetScreenCount"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinerama_GetScreenCount_reply_screen_count, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinerama-GetScreenCount)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_GetScreenCount_reply_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xineramaGetScreenSize(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinerama_GetScreenSize_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_GetScreenSize_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xineramaGetScreenSize_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetScreenSize"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinerama-GetScreenSize)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_GetScreenSize_reply_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_GetScreenSize_reply_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_GetScreenSize_reply_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_GetScreenSize_reply_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xineramaIsActive(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xineramaIsActive_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-IsActive"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinerama-IsActive)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinerama_IsActive_reply_state, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xineramaQueryScreens(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xineramaQueryScreens_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryScreens"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinerama-QueryScreens)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_number = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinerama_QueryScreens_reply_number, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xinerama_ScreenInfo(tvb, offsetp, t, byte_order, f_number); } static const value_string xinerama_extension_minor[] = { { 0, "QueryVersion" }, { 1, "GetState" }, { 2, "GetScreenCount" }, { 3, "GetScreenSize" }, { 4, "IsActive" }, { 5, "QueryScreens" }, { 0, NULL } }; const x11_event_info xinerama_events[] = { { NULL, NULL } }; static x11_reply_info xinerama_replies[] = { { 0, xineramaQueryVersion_Reply }, { 1, xineramaGetState_Reply }, { 2, xineramaGetScreenCount_Reply }, { 3, xineramaGetScreenSize_Reply }, { 4, xineramaIsActive_Reply }, { 5, xineramaQueryScreens_Reply }, { 0, NULL } }; static void dispatch_xinerama(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xinerama_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xinerama_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xineramaQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xineramaGetState(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xineramaGetScreenCount(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xineramaGetScreenSize(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xineramaIsActive(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xineramaQueryScreens(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xinerama(void) { set_handler("XINERAMA", dispatch_xinerama, xinerama_errors, xinerama_events, NULL, xinerama_replies); } static void struct_xinput_FP3232(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_FP3232, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xinput_FP3232_integral, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_FP3232_frac, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void xinputGetExtensionVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_name_len; f_name_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetExtensionVersion_name_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xinput_GetExtensionVersion_name, f_name_len, byte_order); length -= f_name_len * 1; } static void xinputGetExtensionVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetExtensionVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetExtensionVersion_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetExtensionVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GetExtensionVersion_reply_server_major, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_GetExtensionVersion_reply_server_minor, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_GetExtensionVersion_reply_present, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 19, ENC_NA); *offsetp += 19; } static void struct_xinput_DeviceInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_DeviceInfo, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceInfo_device_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceInfo_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceInfo_num_class_info, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_struct_xinput_DeviceInfo_device_use, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; } } static void struct_xinput_AxisInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_AxisInfo, tvb, *offsetp, 12, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xinput_AxisInfo_resolution, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_AxisInfo_minimum, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_AxisInfo_maximum, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static int struct_size_xinput_InputInfo(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; return size + 2; } static void struct_xinput_InputInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_class_id; item = proto_tree_add_item(root, hf_x11_struct_xinput_InputInfo, tvb, *offsetp, struct_size_xinput_InputInfo(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_class_id = field8(tvb, offsetp, t, hf_x11_struct_xinput_InputInfo_class_id, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_InputInfo_len, tvb, *offsetp, 1, byte_order); *offsetp += 1; if (f_class_id == 0) { proto_tree_add_item(t, hf_x11_struct_xinput_InputInfo_Key_min_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_InputInfo_Key_max_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_InputInfo_Key_num_keys, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (f_class_id == 1) { proto_tree_add_item(t, hf_x11_struct_xinput_InputInfo_Button_num_buttons, tvb, *offsetp, 2, byte_order); *offsetp += 2; } if (f_class_id == 2) { int f_axes_len; f_axes_len = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_struct_xinput_InputInfo_Valuator_axes_len, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_struct_xinput_InputInfo_Valuator_mode, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_InputInfo_Valuator_motion_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xinput_AxisInfo(tvb, offsetp, t, byte_order, f_axes_len); } } } static void xinputListInputDevices(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xinputListInputDevices_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_devices_len; int sumof_devices = 0; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListInputDevices"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_ListInputDevices_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-ListInputDevices)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_devices_len = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_ListInputDevices_reply_devices_len, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; struct_xinput_DeviceInfo(tvb, offsetp, t, byte_order, f_devices_len); struct_xinput_InputInfo(tvb, offsetp, t, byte_order, sumof_devices); struct_xproto_STR(tvb, offsetp, t, byte_order, f_devices_len); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } static void struct_xinput_InputClassInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_InputClassInfo, tvb, *offsetp, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xinput_InputClassInfo_class_id, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_InputClassInfo_event_type_base, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } static void xinputOpenDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_OpenDevice_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputOpenDevice_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_classes; col_append_fstr(pinfo->cinfo, COL_INFO, "-OpenDevice"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_OpenDevice_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-OpenDevice)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_classes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_OpenDevice_reply_num_classes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; struct_xinput_InputClassInfo(tvb, offsetp, t, byte_order, f_num_classes); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } static void xinputCloseDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_CloseDevice_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputSetDeviceMode(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_SetDeviceMode_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xinput_SetDeviceMode_mode, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputSetDeviceMode_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SetDeviceMode"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_SetDeviceMode_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-SetDeviceMode)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_SetDeviceMode_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void xinputSelectExtensionEvent(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_classes; proto_tree_add_item(t, hf_x11_xinput_SelectExtensionEvent_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_SelectExtensionEvent_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_xinput_SelectExtensionEvent_classes, hf_x11_xinput_SelectExtensionEvent_classes_item, f_num_classes, byte_order); length -= f_num_classes * 4; } static void xinputGetSelectedExtensionEvents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetSelectedExtensionEvents_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xinputGetSelectedExtensionEvents_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_this_classes; int f_num_all_classes; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetSelectedExtensionEvents"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetSelectedExtensionEvents_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetSelectedExtensionEvents)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_this_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetSelectedExtensionEvents_reply_num_this_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_all_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetSelectedExtensionEvents_reply_num_all_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfCard32(tvb, offsetp, t, hf_x11_xinput_GetSelectedExtensionEvents_reply_this_classes, hf_x11_xinput_GetSelectedExtensionEvents_reply_this_classes_item, f_num_this_classes, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_xinput_GetSelectedExtensionEvents_reply_all_classes, hf_x11_xinput_GetSelectedExtensionEvents_reply_all_classes_item, f_num_all_classes, byte_order); } static void xinputChangeDeviceDontPropagateList(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_classes; proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceDontPropagateList_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceDontPropagateList_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceDontPropagateList_mode, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; listOfCard32(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceDontPropagateList_classes, hf_x11_xinput_ChangeDeviceDontPropagateList_classes_item, f_num_classes, byte_order); length -= f_num_classes * 4; } static void xinputGetDeviceDontPropagateList(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetDeviceDontPropagateList_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xinputGetDeviceDontPropagateList_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_classes; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceDontPropagateList"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetDeviceDontPropagateList_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetDeviceDontPropagateList)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetDeviceDontPropagateList_reply_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; listOfCard32(tvb, offsetp, t, hf_x11_xinput_GetDeviceDontPropagateList_reply_classes, hf_x11_xinput_GetDeviceDontPropagateList_reply_classes_item, f_num_classes, byte_order); } static int struct_size_xinput_DeviceTimeCoord(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_, int p_num_axes) { int size = 0; size += p_num_axes * 4; return size + 4; } static void struct_xinput_DeviceTimeCoord(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count, int p_num_axes) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_DeviceTimeCoord, tvb, *offsetp, struct_size_xinput_DeviceTimeCoord(tvb, offsetp, byte_order, p_num_axes), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceTimeCoord_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfInt32(tvb, offsetp, t, hf_x11_struct_xinput_DeviceTimeCoord_axisvalues, hf_x11_struct_xinput_DeviceTimeCoord_axisvalues_item, p_num_axes, byte_order); } } static void xinputGetDeviceMotionEvents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetDeviceMotionEvents_start, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xinput_GetDeviceMotionEvents_stop, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetDeviceMotionEvents_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputGetDeviceMotionEvents_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_events; int f_num_axes; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceMotionEvents"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetDeviceMotionEvents_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetDeviceMotionEvents)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_events = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetDeviceMotionEvents_reply_num_events, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_axes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_GetDeviceMotionEvents_reply_num_axes, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xinput_GetDeviceMotionEvents_reply_device_mode, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 18, ENC_NA); *offsetp += 18; struct_xinput_DeviceTimeCoord(tvb, offsetp, t, byte_order, f_num_events, f_num_axes); } static void xinputChangeKeyboardDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_ChangeKeyboardDevice_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputChangeKeyboardDevice_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-ChangeKeyboardDevice"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_ChangeKeyboardDevice_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-ChangeKeyboardDevice)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_ChangeKeyboardDevice_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void xinputChangePointerDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_ChangePointerDevice_x_axis, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_ChangePointerDevice_y_axis, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_ChangePointerDevice_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; } static void xinputChangePointerDevice_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-ChangePointerDevice"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_ChangePointerDevice_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-ChangePointerDevice)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_ChangePointerDevice_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void xinputGrabDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_classes; proto_tree_add_item(t, hf_x11_xinput_GrabDevice_grab_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xinput_GrabDevice_time, byte_order); f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GrabDevice_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xinput_GrabDevice_this_device_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_GrabDevice_other_device_mode, byte_order); proto_tree_add_item(t, hf_x11_xinput_GrabDevice_owner_events, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_GrabDevice_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_xinput_GrabDevice_classes, hf_x11_xinput_GrabDevice_classes_item, f_num_classes, byte_order); length -= f_num_classes * 4; } static void xinputGrabDevice_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GrabDevice"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GrabDevice_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GrabDevice)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_GrabDevice_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void xinputUngrabDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field32(tvb, offsetp, t, hf_x11_xinput_UngrabDevice_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_UngrabDevice_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputGrabDeviceKey(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_classes; proto_tree_add_item(t, hf_x11_xinput_GrabDeviceKey_grab_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GrabDeviceKey_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const modifiers_bits [] = { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_Shift, &hf_x11_xinput_GrabDeviceKey_modifiers_mask_Lock, &hf_x11_xinput_GrabDeviceKey_modifiers_mask_Control, &hf_x11_xinput_GrabDeviceKey_modifiers_mask_1, &hf_x11_xinput_GrabDeviceKey_modifiers_mask_2, &hf_x11_xinput_GrabDeviceKey_modifiers_mask_3, &hf_x11_xinput_GrabDeviceKey_modifiers_mask_4, &hf_x11_xinput_GrabDeviceKey_modifiers_mask_5, &hf_x11_xinput_GrabDeviceKey_modifiers_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_GrabDeviceKey_modifiers, ett_x11_rectangle, modifiers_bits, byte_order); } *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xinput_GrabDeviceKey_modifier_device, byte_order); proto_tree_add_item(t, hf_x11_xinput_GrabDeviceKey_grabbed_device, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xinput_GrabDeviceKey_key, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_GrabDeviceKey_this_device_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_GrabDeviceKey_other_device_mode, byte_order); proto_tree_add_item(t, hf_x11_xinput_GrabDeviceKey_owner_events, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_xinput_GrabDeviceKey_classes, hf_x11_xinput_GrabDeviceKey_classes_item, f_num_classes, byte_order); length -= f_num_classes * 4; } static void xinputUngrabDeviceKey(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_UngrabDeviceKey_grabWindow, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const modifiers_bits [] = { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Shift, &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Lock, &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Control, &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_1, &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_2, &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_3, &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_4, &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_5, &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_UngrabDeviceKey_modifiers, ett_x11_rectangle, modifiers_bits, byte_order); } *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xinput_UngrabDeviceKey_modifier_device, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_UngrabDeviceKey_key, byte_order); proto_tree_add_item(t, hf_x11_xinput_UngrabDeviceKey_grabbed_device, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xinputGrabDeviceButton(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_classes; proto_tree_add_item(t, hf_x11_xinput_GrabDeviceButton_grab_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GrabDeviceButton_grabbed_device, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xinput_GrabDeviceButton_modifier_device, byte_order); f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GrabDeviceButton_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const modifiers_bits [] = { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_Shift, &hf_x11_xinput_GrabDeviceButton_modifiers_mask_Lock, &hf_x11_xinput_GrabDeviceButton_modifiers_mask_Control, &hf_x11_xinput_GrabDeviceButton_modifiers_mask_1, &hf_x11_xinput_GrabDeviceButton_modifiers_mask_2, &hf_x11_xinput_GrabDeviceButton_modifiers_mask_3, &hf_x11_xinput_GrabDeviceButton_modifiers_mask_4, &hf_x11_xinput_GrabDeviceButton_modifiers_mask_5, &hf_x11_xinput_GrabDeviceButton_modifiers_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_GrabDeviceButton_modifiers, ett_x11_rectangle, modifiers_bits, byte_order); } *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xinput_GrabDeviceButton_this_device_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_GrabDeviceButton_other_device_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_GrabDeviceButton_button, byte_order); proto_tree_add_item(t, hf_x11_xinput_GrabDeviceButton_owner_events, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_xinput_GrabDeviceButton_classes, hf_x11_xinput_GrabDeviceButton_classes_item, f_num_classes, byte_order); length -= f_num_classes * 4; } static void xinputUngrabDeviceButton(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_UngrabDeviceButton_grab_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const modifiers_bits [] = { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Shift, &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Lock, &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Control, &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_1, &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_2, &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_3, &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_4, &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_5, &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_UngrabDeviceButton_modifiers, ett_x11_rectangle, modifiers_bits, byte_order); } *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xinput_UngrabDeviceButton_modifier_device, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_UngrabDeviceButton_button, byte_order); proto_tree_add_item(t, hf_x11_xinput_UngrabDeviceButton_grabbed_device, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputAllowDeviceEvents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field32(tvb, offsetp, t, hf_x11_xinput_AllowDeviceEvents_time, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_AllowDeviceEvents_mode, byte_order); proto_tree_add_item(t, hf_x11_xinput_AllowDeviceEvents_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputGetDeviceFocus(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetDeviceFocus_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputGetDeviceFocus_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceFocus"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetDeviceFocus_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetDeviceFocus)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xinput_GetDeviceFocus_reply_focus, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetDeviceFocus_reply_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_GetDeviceFocus_reply_revert_to, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; } static void xinputSetDeviceFocus(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field32(tvb, offsetp, t, hf_x11_xinput_SetDeviceFocus_focus, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_SetDeviceFocus_time, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_SetDeviceFocus_revert_to, byte_order); proto_tree_add_item(t, hf_x11_xinput_SetDeviceFocus_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static int struct_size_xinput_FeedbackState(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; return size + 4; } static void struct_xinput_FeedbackState(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_class_id; item = proto_tree_add_item(root, hf_x11_struct_xinput_FeedbackState, tvb, *offsetp, struct_size_xinput_FeedbackState(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_class_id = field8(tvb, offsetp, t, hf_x11_struct_xinput_FeedbackState_class_id, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_feedback_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; if (f_class_id == 0) { proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Keyboard_pitch, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Keyboard_duration, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Keyboard_led_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Keyboard_led_values, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Keyboard_global_auto_repeat, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Keyboard_click, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Keyboard_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_struct_xinput_FeedbackState_Keyboard_auto_repeats, 32, byte_order); } if (f_class_id == 1) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Pointer_accel_num, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Pointer_accel_denom, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Pointer_threshold, tvb, *offsetp, 2, byte_order); *offsetp += 2; } if (f_class_id == 2) { int f_num_keysyms; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_String_max_symbols, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_keysyms = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_String_num_keysyms, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_FeedbackState_String_keysyms, hf_x11_struct_xinput_FeedbackState_String_keysyms_item, f_num_keysyms, byte_order); } if (f_class_id == 3) { proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Integer_resolution, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Integer_min_value, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Integer_max_value, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_class_id == 4) { proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Led_led_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Led_led_values, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_class_id == 5) { proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Bell_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Bell_pitch, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackState_Bell_duration, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } } static void xinputGetFeedbackControl(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetFeedbackControl_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputGetFeedbackControl_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_feedbacks; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetFeedbackControl"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetFeedbackControl_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetFeedbackControl)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_feedbacks = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetFeedbackControl_reply_num_feedbacks, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; struct_xinput_FeedbackState(tvb, offsetp, t, byte_order, f_num_feedbacks); } static int struct_size_xinput_FeedbackCtl(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; return size + 4; } static void struct_xinput_FeedbackCtl(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_class_id; item = proto_tree_add_item(root, hf_x11_struct_xinput_FeedbackCtl, tvb, *offsetp, struct_size_xinput_FeedbackCtl(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_class_id = field8(tvb, offsetp, t, hf_x11_struct_xinput_FeedbackCtl_class_id, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_feedback_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; if (f_class_id == 0) { proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Keyboard_key, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Keyboard_auto_repeat_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Keyboard_key_click_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_pitch, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_duration, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Keyboard_led_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Keyboard_led_values, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_class_id == 1) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Pointer_num, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Pointer_denom, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Pointer_threshold, tvb, *offsetp, 2, byte_order); *offsetp += 2; } if (f_class_id == 2) { int f_num_keysyms; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; f_num_keysyms = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_String_num_keysyms, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_FeedbackCtl_String_keysyms, hf_x11_struct_xinput_FeedbackCtl_String_keysyms_item, f_num_keysyms, byte_order); } if (f_class_id == 3) { proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Integer_int_to_display, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_class_id == 4) { proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Led_led_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Led_led_values, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_class_id == 5) { proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Bell_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Bell_pitch, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_FeedbackCtl_Bell_duration, tvb, *offsetp, 2, byte_order); *offsetp += 2; } } } static void xinputChangeFeedbackControl(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { { int* const mask_bits [] = { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_AccelNum, &hf_x11_xinput_ChangeFeedbackControl_mask_mask_AccelDenom, &hf_x11_xinput_ChangeFeedbackControl_mask_mask_Threshold, &hf_x11_xinput_ChangeFeedbackControl_mask_mask_Duration, &hf_x11_xinput_ChangeFeedbackControl_mask_mask_Led, &hf_x11_xinput_ChangeFeedbackControl_mask_mask_LedMode, &hf_x11_xinput_ChangeFeedbackControl_mask_mask_Key, &hf_x11_xinput_ChangeFeedbackControl_mask_mask_AutoRepeatMode, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_ChangeFeedbackControl_mask, ett_x11_rectangle, mask_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ChangeFeedbackControl_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_ChangeFeedbackControl_feedback_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; struct_xinput_FeedbackCtl(tvb, offsetp, t, byte_order, 1); } static void xinputGetDeviceKeyMapping(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetDeviceKeyMapping_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_GetDeviceKeyMapping_first_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_GetDeviceKeyMapping_count, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; } static void xinputGetDeviceKeyMapping_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceKeyMapping"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetDeviceKeyMapping_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetDeviceKeyMapping)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms_per_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; listOfCard32(tvb, offsetp, t, hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms, hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms_item, f_length, byte_order); } static void xinputChangeDeviceKeyMapping(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_keysyms_per_keycode; int f_keycode_count; proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceKeyMapping_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceKeyMapping_first_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_keysyms_per_keycode = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceKeyMapping_keysyms_per_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_keycode_count = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceKeyMapping_keycode_count, tvb, *offsetp, 1, byte_order); *offsetp += 1; listOfCard32(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceKeyMapping_keysyms, hf_x11_xinput_ChangeDeviceKeyMapping_keysyms_item, (f_keycode_count * f_keysyms_per_keycode), byte_order); length -= (f_keycode_count * f_keysyms_per_keycode) * 4; } static void xinputGetDeviceModifierMapping(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetDeviceModifierMapping_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputGetDeviceModifierMapping_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_keycodes_per_modifier; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceModifierMapping"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetDeviceModifierMapping_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetDeviceModifierMapping)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_keycodes_per_modifier = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_GetDeviceModifierMapping_reply_keycodes_per_modifier, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; listOfByte(tvb, offsetp, t, hf_x11_xinput_GetDeviceModifierMapping_reply_keymaps, (f_keycodes_per_modifier * 8), byte_order); } static void xinputSetDeviceModifierMapping(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_keycodes_per_modifier; proto_tree_add_item(t, hf_x11_xinput_SetDeviceModifierMapping_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_keycodes_per_modifier = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_SetDeviceModifierMapping_keycodes_per_modifier, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xinput_SetDeviceModifierMapping_keymaps, (f_keycodes_per_modifier * 8), byte_order); length -= (f_keycodes_per_modifier * 8) * 1; } static void xinputSetDeviceModifierMapping_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SetDeviceModifierMapping"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_SetDeviceModifierMapping_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-SetDeviceModifierMapping)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_SetDeviceModifierMapping_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void xinputGetDeviceButtonMapping(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetDeviceButtonMapping_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputGetDeviceButtonMapping_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_map_size; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceButtonMapping"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetDeviceButtonMapping_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetDeviceButtonMapping)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_map_size = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_GetDeviceButtonMapping_reply_map_size, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; listOfByte(tvb, offsetp, t, hf_x11_xinput_GetDeviceButtonMapping_reply_map, f_map_size, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } static void xinputSetDeviceButtonMapping(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_map_size; proto_tree_add_item(t, hf_x11_xinput_SetDeviceButtonMapping_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_map_size = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_SetDeviceButtonMapping_map_size, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xinput_SetDeviceButtonMapping_map, f_map_size, byte_order); length -= f_map_size * 1; } static void xinputSetDeviceButtonMapping_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SetDeviceButtonMapping"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_SetDeviceButtonMapping_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-SetDeviceButtonMapping)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_SetDeviceButtonMapping_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static int struct_size_xinput_InputState(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; return size + 2; } static void struct_xinput_InputState(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_class_id; item = proto_tree_add_item(root, hf_x11_struct_xinput_InputState, tvb, *offsetp, struct_size_xinput_InputState(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_class_id = field8(tvb, offsetp, t, hf_x11_struct_xinput_InputState_class_id, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_InputState_len, tvb, *offsetp, 1, byte_order); *offsetp += 1; if (f_class_id == 0) { proto_tree_add_item(t, hf_x11_struct_xinput_InputState_Key_num_keys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_struct_xinput_InputState_Key_keys, 32, byte_order); } if (f_class_id == 1) { proto_tree_add_item(t, hf_x11_struct_xinput_InputState_Button_num_buttons, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_struct_xinput_InputState_Button_buttons, 32, byte_order); } if (f_class_id == 2) { int f_num_valuators; f_num_valuators = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_struct_xinput_InputState_Valuator_num_valuators, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const mode_bits [] = { &hf_x11_struct_xinput_InputState_Valuator_mode_mask_DeviceModeAbsolute, &hf_x11_struct_xinput_InputState_Valuator_mode_mask_OutOfProximity, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xinput_InputState_Valuator_mode, ett_x11_rectangle, mode_bits, byte_order); } *offsetp += 1; listOfInt32(tvb, offsetp, t, hf_x11_struct_xinput_InputState_Valuator_valuators, hf_x11_struct_xinput_InputState_Valuator_valuators_item, f_num_valuators, byte_order); } } } static void xinputQueryDeviceState(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_QueryDeviceState_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputQueryDeviceState_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_classes; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryDeviceState"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_QueryDeviceState_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-QueryDeviceState)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_classes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_QueryDeviceState_reply_num_classes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; struct_xinput_InputState(tvb, offsetp, t, byte_order, f_num_classes); } static void xinputDeviceBell(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_DeviceBell_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DeviceBell_feedback_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DeviceBell_feedback_class, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DeviceBell_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xinputSetDeviceValuators(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_valuators; proto_tree_add_item(t, hf_x11_xinput_SetDeviceValuators_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_SetDeviceValuators_first_valuator, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_num_valuators = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_SetDeviceValuators_num_valuators, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; listOfInt32(tvb, offsetp, t, hf_x11_xinput_SetDeviceValuators_valuators, hf_x11_xinput_SetDeviceValuators_valuators_item, f_num_valuators, byte_order); length -= f_num_valuators * 4; } static void xinputSetDeviceValuators_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SetDeviceValuators"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_SetDeviceValuators_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-SetDeviceValuators)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_SetDeviceValuators_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static int struct_size_xinput_DeviceState(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; return size + 4; } static void struct_xinput_DeviceState(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_control_id; item = proto_tree_add_item(root, hf_x11_struct_xinput_DeviceState, tvb, *offsetp, struct_size_xinput_DeviceState(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_control_id = field16(tvb, offsetp, t, hf_x11_struct_xinput_DeviceState_control_id, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; if (f_control_id == 1) { int f_num_valuators; f_num_valuators = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_resolution_num_valuators, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_DeviceState_resolution_resolution_values, hf_x11_struct_xinput_DeviceState_resolution_resolution_values_item, f_num_valuators, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_DeviceState_resolution_resolution_min, hf_x11_struct_xinput_DeviceState_resolution_resolution_min_item, f_num_valuators, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_DeviceState_resolution_resolution_max, hf_x11_struct_xinput_DeviceState_resolution_resolution_max_item, f_num_valuators, byte_order); } if (f_control_id == 2) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_calib_min_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_calib_max_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_calib_min_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_calib_max_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_calib_flip_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_calib_flip_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_calib_rotation, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_calib_button_threshold, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_control_id == 3) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_core_status, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_core_iscore, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } if (f_control_id == 4) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_enable_enable, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (f_control_id == 5) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_area_offset_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_area_offset_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_area_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_area_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_area_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceState_abs_area_following, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } } static void xinputGetDeviceControl(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field16(tvb, offsetp, t, hf_x11_xinput_GetDeviceControl_control_id, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetDeviceControl_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; } static void xinputGetDeviceControl_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceControl"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetDeviceControl_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetDeviceControl)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_GetDeviceControl_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; struct_xinput_DeviceState(tvb, offsetp, t, byte_order, 1); } static int struct_size_xinput_DeviceCtl(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; return size + 4; } static void struct_xinput_DeviceCtl(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_control_id; item = proto_tree_add_item(root, hf_x11_struct_xinput_DeviceCtl, tvb, *offsetp, struct_size_xinput_DeviceCtl(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_control_id = field16(tvb, offsetp, t, hf_x11_struct_xinput_DeviceCtl_control_id, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; if (f_control_id == 1) { int f_num_valuators; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_resolution_first_valuator, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_num_valuators = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_resolution_num_valuators, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_DeviceCtl_resolution_resolution_values, hf_x11_struct_xinput_DeviceCtl_resolution_resolution_values_item, f_num_valuators, byte_order); } if (f_control_id == 2) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_calib_min_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_calib_max_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_calib_min_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_calib_max_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_calib_flip_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_calib_flip_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_calib_rotation, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_calib_button_threshold, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_control_id == 3) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_core_status, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (f_control_id == 4) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_enable_enable, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (f_control_id == 5) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_area_offset_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_area_offset_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_area_width, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_area_height, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_area_screen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceCtl_abs_area_following, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } } static void xinputChangeDeviceControl(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field16(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceControl_control_id, byte_order); proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceControl_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; struct_xinput_DeviceCtl(tvb, offsetp, t, byte_order, 1); } static void xinputChangeDeviceControl_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-ChangeDeviceControl"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceControl_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-ChangeDeviceControl)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceControl_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void xinputListDeviceProperties(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_ListDeviceProperties_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputListDeviceProperties_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_atoms; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListDeviceProperties"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_ListDeviceProperties_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-ListDeviceProperties)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_atoms = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_ListDeviceProperties_reply_num_atoms, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; listOfCard32(tvb, offsetp, t, hf_x11_xinput_ListDeviceProperties_reply_atoms, hf_x11_xinput_ListDeviceProperties_reply_atoms_item, f_num_atoms, byte_order); } static void xinputChangeDeviceProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_format; int f_num_items; proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceProperty_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceProperty_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_format = field8(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceProperty_format, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceProperty_mode, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; f_num_items = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceProperty_num_items, tvb, *offsetp, 4, byte_order); *offsetp += 4; if (f_format == 8) { listOfByte(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceProperty_8Bits_data8, f_num_items, byte_order); length -= f_num_items * 1; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); } if (f_format == 16) { listOfCard16(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceProperty_16Bits_data16, hf_x11_xinput_ChangeDeviceProperty_16Bits_data16_item, f_num_items, byte_order); length -= f_num_items * 2; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); } if (f_format == 32) { listOfCard32(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceProperty_32Bits_data32, hf_x11_xinput_ChangeDeviceProperty_32Bits_data32_item, f_num_items, byte_order); length -= f_num_items * 4; } } static void xinputDeleteDeviceProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_DeleteDeviceProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_DeleteDeviceProperty_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xinputGetDeviceProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_delete, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputGetDeviceProperty_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_items; int f_format; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceProperty"); REPLY(reply); proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_reply_xi_reply_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-GetDeviceProperty)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_reply_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_reply_bytes_after, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_items = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_reply_num_items, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_format = field8(tvb, offsetp, t, hf_x11_xinput_GetDeviceProperty_reply_format, byte_order); proto_tree_add_item(t, hf_x11_xinput_GetDeviceProperty_reply_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 10, ENC_NA); *offsetp += 10; if (f_format == 8) { listOfByte(tvb, offsetp, t, hf_x11_xinput_GetDeviceProperty_reply_8Bits_data8, f_num_items, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_format == 16) { listOfCard16(tvb, offsetp, t, hf_x11_xinput_GetDeviceProperty_reply_16Bits_data16, hf_x11_xinput_GetDeviceProperty_reply_16Bits_data16_item, f_num_items, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_format == 32) { listOfCard32(tvb, offsetp, t, hf_x11_xinput_GetDeviceProperty_reply_32Bits_data32, hf_x11_xinput_GetDeviceProperty_reply_32Bits_data32_item, f_num_items, byte_order); } } static void struct_xinput_GroupInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_GroupInfo, tvb, *offsetp, 4, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xinput_GroupInfo_base, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_GroupInfo_latched, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_GroupInfo_locked, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_GroupInfo_effective, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } static void struct_xinput_ModifierInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_ModifierInfo, tvb, *offsetp, 16, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xinput_ModifierInfo_base, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_ModifierInfo_latched, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_ModifierInfo_locked, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_ModifierInfo_effective, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void xinputXIQueryPointer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_XIQueryPointer_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputXIQueryPointer_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_buttons_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIQueryPointer"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIQueryPointer)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_reply_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_reply_child, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_reply_root_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_reply_root_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_reply_win_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_reply_win_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_reply_same_screen, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; f_buttons_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIQueryPointer_reply_buttons_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_xinput_ModifierInfo(tvb, offsetp, t, byte_order, 1); struct_xinput_GroupInfo(tvb, offsetp, t, byte_order, 1); listOfCard32(tvb, offsetp, t, hf_x11_xinput_XIQueryPointer_reply_buttons, hf_x11_xinput_XIQueryPointer_reply_buttons_item, f_buttons_len, byte_order); } static void xinputXIWarpPointer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_XIWarpPointer_src_win, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIWarpPointer_dst_win, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIWarpPointer_src_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIWarpPointer_src_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIWarpPointer_src_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_XIWarpPointer_src_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_XIWarpPointer_dst_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIWarpPointer_dst_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_XIWarpPointer_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputXIChangeCursor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_XIChangeCursor_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIChangeCursor_cursor, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_XIChangeCursor_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static int struct_size_xinput_HierarchyChange(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; return size + 4; } static void struct_xinput_HierarchyChange(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_type; item = proto_tree_add_item(root, hf_x11_struct_xinput_HierarchyChange, tvb, *offsetp, struct_size_xinput_HierarchyChange(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_type = field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_HierarchyChange_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; if (f_type == 1) { int f_name_len; f_name_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_HierarchyChange_AddMaster_name_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_HierarchyChange_AddMaster_send_core, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xinput_HierarchyChange_AddMaster_enable, tvb, *offsetp, 1, byte_order); *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_AddMaster_name, f_name_len, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_type == 2) { field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_RemoveMaster_deviceid, byte_order); field8(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_mode, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_pointer, byte_order); field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_keyboard, byte_order); } if (f_type == 3) { field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_AttachSlave_deviceid, byte_order); field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_AttachSlave_master, byte_order); } if (f_type == 4) { field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyChange_DetachSlave_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } } } static void xinputXIChangeHierarchy(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_changes; f_num_changes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_XIChangeHierarchy_num_changes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; struct_xinput_HierarchyChange(tvb, offsetp, t, byte_order, f_num_changes); length -= f_num_changes * 0; } static void xinputXISetClientPointer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_XISetClientPointer_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_XISetClientPointer_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputXIGetClientPointer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_XIGetClientPointer_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xinputXIGetClientPointer_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIGetClientPointer"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIGetClientPointer)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIGetClientPointer_reply_set, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; field16(tvb, offsetp, t, hf_x11_xinput_XIGetClientPointer_reply_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static int struct_size_xinput_EventMask(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_mask_len; f_mask_len = tvb_get_guint16(tvb, *offsetp + size + 2, byte_order); size += f_mask_len * 4; return size + 4; } static void struct_xinput_EventMask(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_mask_len; item = proto_tree_add_item(root, hf_x11_struct_xinput_EventMask, tvb, *offsetp, struct_size_xinput_EventMask(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field16(tvb, offsetp, t, hf_x11_struct_xinput_EventMask_deviceid, byte_order); f_mask_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_EventMask_mask_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_EventMask_mask, hf_x11_struct_xinput_EventMask_mask_item, f_mask_len, byte_order); } } static void xinputXISelectEvents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_mask; proto_tree_add_item(t, hf_x11_xinput_XISelectEvents_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_mask = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XISelectEvents_num_mask, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; struct_xinput_EventMask(tvb, offsetp, t, byte_order, f_num_mask); length -= f_num_mask * 0; } static void xinputXIQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_XIQueryVersion_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_XIQueryVersion_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xinputXIQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIQueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIQueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIQueryVersion_reply_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_XIQueryVersion_reply_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static int struct_size_xinput_DeviceClass(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; return size + 6; } static void struct_xinput_DeviceClass(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_type; item = proto_tree_add_item(root, hf_x11_struct_xinput_DeviceClass, tvb, *offsetp, struct_size_xinput_DeviceClass(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_type = field16(tvb, offsetp, t, hf_x11_struct_xinput_DeviceClass_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_sourceid, tvb, *offsetp, 2, byte_order); *offsetp += 2; if (f_type == 0) { int f_num_keys; f_num_keys = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_Key_num_keys, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_DeviceClass_Key_keys, hf_x11_struct_xinput_DeviceClass_Key_keys_item, f_num_keys, byte_order); } if (f_type == 1) { int f_num_buttons; f_num_buttons = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_Button_num_buttons, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_DeviceClass_Button_state, hf_x11_struct_xinput_DeviceClass_Button_state_item, ((f_num_buttons + 31) / 32), byte_order); listOfCard32(tvb, offsetp, t, hf_x11_struct_xinput_DeviceClass_Button_labels, hf_x11_struct_xinput_DeviceClass_Button_labels_item, f_num_buttons, byte_order); } if (f_type == 2) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_Valuator_number, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_Valuator_label, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xinput_FP3232(tvb, offsetp, t, byte_order, 1); struct_xinput_FP3232(tvb, offsetp, t, byte_order, 1); struct_xinput_FP3232(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_Valuator_resolution, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_struct_xinput_DeviceClass_Valuator_mode, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } if (f_type == 3) { proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_Scroll_number, tvb, *offsetp, 2, byte_order); *offsetp += 2; field16(tvb, offsetp, t, hf_x11_struct_xinput_DeviceClass_Scroll_scroll_type, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_struct_xinput_DeviceClass_Scroll_flags_mask_NoEmulation, &hf_x11_struct_xinput_DeviceClass_Scroll_flags_mask_Preferred, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xinput_DeviceClass_Scroll_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; struct_xinput_FP3232(tvb, offsetp, t, byte_order, 1); } if (f_type == 8) { field8(tvb, offsetp, t, hf_x11_struct_xinput_DeviceClass_Touch_mode, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_DeviceClass_Touch_num_touches, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } } static int struct_size_xinput_XIDeviceInfo(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int i, off; int f_name_len; int f_num_classes; f_num_classes = tvb_get_guint16(tvb, *offsetp + size + 6, byte_order); f_name_len = tvb_get_guint16(tvb, *offsetp + size + 8, byte_order); size += f_name_len * 1; size = (size + 3) & ~3; for (i = 0; i < f_num_classes; i++) { off = (*offsetp) + size + 12; size += struct_size_xinput_DeviceClass(tvb, &off, byte_order); } return size + 12; } static void struct_xinput_XIDeviceInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_num_classes; int f_name_len; item = proto_tree_add_item(root, hf_x11_struct_xinput_XIDeviceInfo, tvb, *offsetp, struct_size_xinput_XIDeviceInfo(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field16(tvb, offsetp, t, hf_x11_struct_xinput_XIDeviceInfo_deviceid, byte_order); field16(tvb, offsetp, t, hf_x11_struct_xinput_XIDeviceInfo_type, byte_order); field16(tvb, offsetp, t, hf_x11_struct_xinput_XIDeviceInfo_attachment, byte_order); f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_XIDeviceInfo_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_name_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_XIDeviceInfo_name_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_XIDeviceInfo_enabled, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_struct_xinput_XIDeviceInfo_name, f_name_len, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } struct_xinput_DeviceClass(tvb, offsetp, t, byte_order, f_num_classes); } } static void xinputXIQueryDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field16(tvb, offsetp, t, hf_x11_xinput_XIQueryDevice_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputXIQueryDevice_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_infos; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIQueryDevice"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIQueryDevice)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_infos = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIQueryDevice_reply_num_infos, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; struct_xinput_XIDeviceInfo(tvb, offsetp, t, byte_order, f_num_infos); } static void xinputXISetFocus(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_XISetFocus_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xinput_XISetFocus_time, byte_order); field16(tvb, offsetp, t, hf_x11_xinput_XISetFocus_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputXIGetFocus(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field16(tvb, offsetp, t, hf_x11_xinput_XIGetFocus_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputXIGetFocus_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIGetFocus"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIGetFocus)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIGetFocus_reply_focus, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void xinputXIGrabDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_mask_len; proto_tree_add_item(t, hf_x11_xinput_XIGrabDevice_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xinput_XIGrabDevice_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIGrabDevice_cursor, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_XIGrabDevice_deviceid, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_XIGrabDevice_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_XIGrabDevice_paired_device_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_XIGrabDevice_owner_events, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; f_mask_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIGrabDevice_mask_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_xinput_XIGrabDevice_mask, hf_x11_xinput_XIGrabDevice_mask_item, f_mask_len, byte_order); length -= f_mask_len * 4; } static void xinputXIGrabDevice_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIGrabDevice"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIGrabDevice)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_XIGrabDevice_reply_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void xinputXIUngrabDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field32(tvb, offsetp, t, hf_x11_xinput_XIUngrabDevice_time, byte_order); field16(tvb, offsetp, t, hf_x11_xinput_XIUngrabDevice_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputXIAllowEvents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field32(tvb, offsetp, t, hf_x11_xinput_XIAllowEvents_time, byte_order); field16(tvb, offsetp, t, hf_x11_xinput_XIAllowEvents_deviceid, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_XIAllowEvents_event_mode, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_XIAllowEvents_touchid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIAllowEvents_grab_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void struct_xinput_GrabModifierInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_GrabModifierInfo, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field32(tvb, offsetp, t, hf_x11_struct_xinput_GrabModifierInfo_modifiers, byte_order); field8(tvb, offsetp, t, hf_x11_struct_xinput_GrabModifierInfo_status, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } } static void xinputXIPassiveGrabDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_modifiers; int f_mask_len; field32(tvb, offsetp, t, hf_x11_xinput_XIPassiveGrabDevice_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIPassiveGrabDevice_grab_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIPassiveGrabDevice_cursor, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIPassiveGrabDevice_detail, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_XIPassiveGrabDevice_deviceid, byte_order); f_num_modifiers = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIPassiveGrabDevice_num_modifiers, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_mask_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIPassiveGrabDevice_mask_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xinput_XIPassiveGrabDevice_grab_type, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_XIPassiveGrabDevice_grab_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_XIPassiveGrabDevice_paired_device_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_XIPassiveGrabDevice_owner_events, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_xinput_XIPassiveGrabDevice_mask, hf_x11_xinput_XIPassiveGrabDevice_mask_item, f_mask_len, byte_order); length -= f_mask_len * 4; listOfCard32(tvb, offsetp, t, hf_x11_xinput_XIPassiveGrabDevice_modifiers, hf_x11_xinput_XIPassiveGrabDevice_modifiers_item, f_num_modifiers, byte_order); length -= f_num_modifiers * 4; } static void xinputXIPassiveGrabDevice_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_modifiers; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIPassiveGrabDevice"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIPassiveGrabDevice)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_modifiers = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIPassiveGrabDevice_reply_num_modifiers, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; struct_xinput_GrabModifierInfo(tvb, offsetp, t, byte_order, f_num_modifiers); } static void xinputXIPassiveUngrabDevice(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_modifiers; proto_tree_add_item(t, hf_x11_xinput_XIPassiveUngrabDevice_grab_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIPassiveUngrabDevice_detail, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_XIPassiveUngrabDevice_deviceid, byte_order); f_num_modifiers = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIPassiveUngrabDevice_num_modifiers, tvb, *offsetp, 2, byte_order); *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xinput_XIPassiveUngrabDevice_grab_type, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; listOfCard32(tvb, offsetp, t, hf_x11_xinput_XIPassiveUngrabDevice_modifiers, hf_x11_xinput_XIPassiveUngrabDevice_modifiers_item, f_num_modifiers, byte_order); length -= f_num_modifiers * 4; } static void xinputXIListProperties(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field16(tvb, offsetp, t, hf_x11_xinput_XIListProperties_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xinputXIListProperties_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_properties; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIListProperties"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIListProperties)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_properties = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIListProperties_reply_num_properties, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; listOfCard32(tvb, offsetp, t, hf_x11_xinput_XIListProperties_reply_properties, hf_x11_xinput_XIListProperties_reply_properties_item, f_num_properties, byte_order); } static void xinputXIChangeProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_format; int f_num_items; field16(tvb, offsetp, t, hf_x11_xinput_XIChangeProperty_deviceid, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_XIChangeProperty_mode, byte_order); f_format = field8(tvb, offsetp, t, hf_x11_xinput_XIChangeProperty_format, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIChangeProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIChangeProperty_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_items = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIChangeProperty_num_items, tvb, *offsetp, 4, byte_order); *offsetp += 4; if (f_format == 8) { listOfByte(tvb, offsetp, t, hf_x11_xinput_XIChangeProperty_8Bits_data8, f_num_items, byte_order); length -= f_num_items * 1; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); } if (f_format == 16) { listOfCard16(tvb, offsetp, t, hf_x11_xinput_XIChangeProperty_16Bits_data16, hf_x11_xinput_XIChangeProperty_16Bits_data16_item, f_num_items, byte_order); length -= f_num_items * 2; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); } if (f_format == 32) { listOfCard32(tvb, offsetp, t, hf_x11_xinput_XIChangeProperty_32Bits_data32, hf_x11_xinput_XIChangeProperty_32Bits_data32_item, f_num_items, byte_order); length -= f_num_items * 4; } } static void xinputXIDeleteProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field16(tvb, offsetp, t, hf_x11_xinput_XIDeleteProperty_deviceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_XIDeleteProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xinputXIGetProperty(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { field16(tvb, offsetp, t, hf_x11_xinput_XIGetProperty_deviceid, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIGetProperty_delete, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_XIGetProperty_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIGetProperty_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIGetProperty_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIGetProperty_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xinputXIGetProperty_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_items; int f_format; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIGetProperty"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIGetProperty)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIGetProperty_reply_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_XIGetProperty_reply_bytes_after, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_items = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIGetProperty_reply_num_items, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_format = field8(tvb, offsetp, t, hf_x11_xinput_XIGetProperty_reply_format, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 11, ENC_NA); *offsetp += 11; if (f_format == 8) { listOfByte(tvb, offsetp, t, hf_x11_xinput_XIGetProperty_reply_8Bits_data8, f_num_items, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_format == 16) { listOfCard16(tvb, offsetp, t, hf_x11_xinput_XIGetProperty_reply_16Bits_data16, hf_x11_xinput_XIGetProperty_reply_16Bits_data16_item, f_num_items, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_format == 32) { listOfCard32(tvb, offsetp, t, hf_x11_xinput_XIGetProperty_reply_32Bits_data32, hf_x11_xinput_XIGetProperty_reply_32Bits_data32_item, f_num_items, byte_order); } } static void xinputXIGetSelectedEvents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xinput_XIGetSelectedEvents_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xinputXIGetSelectedEvents_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_masks; col_append_fstr(pinfo->cinfo, COL_INFO, "-XIGetSelectedEvents"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xinput-XIGetSelectedEvents)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_masks = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIGetSelectedEvents_reply_num_masks, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; struct_xinput_EventMask(tvb, offsetp, t, byte_order, f_num_masks); } static void struct_xinput_BarrierReleasePointerInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_BarrierReleasePointerInfo, tvb, *offsetp, 12, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xinput_BarrierReleasePointerInfo_deviceid, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xinput_BarrierReleasePointerInfo_barrier, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xinput_BarrierReleasePointerInfo_eventid, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void xinputXIBarrierReleasePointer(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_barriers; f_num_barriers = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_XIBarrierReleasePointer_num_barriers, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xinput_BarrierReleasePointerInfo(tvb, offsetp, t, byte_order, f_num_barriers); length -= f_num_barriers * 12; } static void xinputDeviceKeyPress(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_detail, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xinput_DeviceKeyPress_child, byte_order); proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_root_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_root_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_event_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_event_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const state_bits [] = { &hf_x11_xinput_DeviceKeyPress_state_mask_Shift, &hf_x11_xinput_DeviceKeyPress_state_mask_Lock, &hf_x11_xinput_DeviceKeyPress_state_mask_Control, &hf_x11_xinput_DeviceKeyPress_state_mask_Mod1, &hf_x11_xinput_DeviceKeyPress_state_mask_Mod2, &hf_x11_xinput_DeviceKeyPress_state_mask_Mod3, &hf_x11_xinput_DeviceKeyPress_state_mask_Mod4, &hf_x11_xinput_DeviceKeyPress_state_mask_Mod5, &hf_x11_xinput_DeviceKeyPress_state_mask_Button1, &hf_x11_xinput_DeviceKeyPress_state_mask_Button2, &hf_x11_xinput_DeviceKeyPress_state_mask_Button3, &hf_x11_xinput_DeviceKeyPress_state_mask_Button4, &hf_x11_xinput_DeviceKeyPress_state_mask_Button5, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_DeviceKeyPress_state, ett_x11_rectangle, state_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_same_screen, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DeviceKeyPress_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xinputDeviceFocusIn(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { field8(tvb, offsetp, t, hf_x11_xinput_DeviceFocusIn_detail, byte_order); CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xinput_DeviceFocusIn_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_DeviceFocusIn_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_DeviceFocusIn_mode, byte_order); proto_tree_add_item(t, hf_x11_xinput_DeviceFocusIn_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 18, ENC_NA); *offsetp += 18; } static void xinputDeviceStateNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xinput_DeviceStateNotify_device_id, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xinput_DeviceStateNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_DeviceStateNotify_num_keys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DeviceStateNotify_num_buttons, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DeviceStateNotify_num_valuators, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const classes_reported_bits [] = { &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingKeys, &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingButtons, &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingValuators, &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_DeviceModeAbsolute, &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_OutOfProximity, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_DeviceStateNotify_classes_reported, ett_x11_rectangle, classes_reported_bits, byte_order); } *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_xinput_DeviceStateNotify_buttons, 4, byte_order); listOfByte(tvb, offsetp, t, hf_x11_xinput_DeviceStateNotify_keys, 4, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_xinput_DeviceStateNotify_valuators, hf_x11_xinput_DeviceStateNotify_valuators_item, 3, byte_order); } static void xinputDeviceMappingNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xinput_DeviceMappingNotify_device_id, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); field8(tvb, offsetp, t, hf_x11_xinput_DeviceMappingNotify_request, byte_order); proto_tree_add_item(t, hf_x11_xinput_DeviceMappingNotify_first_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DeviceMappingNotify_count, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DeviceMappingNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void xinputChangeDeviceNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceNotify_device_id, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xinput_ChangeDeviceNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_ChangeDeviceNotify_request, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 23, ENC_NA); *offsetp += 23; } static void xinputDeviceKeyStateNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xinput_DeviceKeyStateNotify_device_id, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); listOfByte(tvb, offsetp, t, hf_x11_xinput_DeviceKeyStateNotify_keys, 28, byte_order); } static void xinputDeviceButtonStateNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xinput_DeviceButtonStateNotify_device_id, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); listOfByte(tvb, offsetp, t, hf_x11_xinput_DeviceButtonStateNotify_buttons, 28, byte_order); } static void xinputDevicePresenceNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xinput_DevicePresenceNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_DevicePresenceNotify_devchange, byte_order); proto_tree_add_item(t, hf_x11_xinput_DevicePresenceNotify_device_id, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_DevicePresenceNotify_control, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void xinputDevicePropertyNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { field8(tvb, offsetp, t, hf_x11_xinput_DevicePropertyNotify_state, byte_order); CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xinput_DevicePropertyNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_DevicePropertyNotify_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 19, ENC_NA); *offsetp += 19; proto_tree_add_item(t, hf_x11_xinput_DevicePropertyNotify_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xinputDeviceChanged(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_num_classes; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 1, "DeviceChanged (1)"); field16(tvb, offsetp, t, hf_x11_xinput_DeviceChanged_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_DeviceChanged_time, byte_order); f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_DeviceChanged_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; field16(tvb, offsetp, t, hf_x11_xinput_DeviceChanged_sourceid, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_DeviceChanged_reason, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 11, ENC_NA); *offsetp += 11; struct_xinput_DeviceClass(tvb, offsetp, t, byte_order, f_num_classes); } static void xinputKeyPress(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_buttons_len; int f_valuators_len; int sumof_valuator_mask = 0; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 2, "KeyPress (2)"); field16(tvb, offsetp, t, hf_x11_xinput_KeyPress_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_KeyPress_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_KeyPress_detail, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_KeyPress_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_KeyPress_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_KeyPress_child, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_KeyPress_root_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_KeyPress_root_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_KeyPress_event_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_KeyPress_event_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_buttons_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_KeyPress_buttons_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_valuators_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_KeyPress_valuators_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; field16(tvb, offsetp, t, hf_x11_xinput_KeyPress_sourceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xinput_KeyPress_flags_mask_KeyRepeat, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_KeyPress_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; struct_xinput_ModifierInfo(tvb, offsetp, t, byte_order, 1); struct_xinput_GroupInfo(tvb, offsetp, t, byte_order, 1); listOfCard32(tvb, offsetp, t, hf_x11_xinput_KeyPress_button_mask, hf_x11_xinput_KeyPress_button_mask_item, f_buttons_len, byte_order); { int i; for (i = 0; i < f_valuators_len; i++) { sumof_valuator_mask += tvb_get_guint32(tvb, *offsetp + i * 4, byte_order); } } listOfCard32(tvb, offsetp, t, hf_x11_xinput_KeyPress_valuator_mask, hf_x11_xinput_KeyPress_valuator_mask_item, f_valuators_len, byte_order); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); } static void xinputButtonPress(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_buttons_len; int f_valuators_len; int sumof_valuator_mask = 0; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 4, "ButtonPress (4)"); field16(tvb, offsetp, t, hf_x11_xinput_ButtonPress_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_ButtonPress_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_ButtonPress_detail, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ButtonPress_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ButtonPress_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ButtonPress_child, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ButtonPress_root_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ButtonPress_root_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ButtonPress_event_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_ButtonPress_event_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_buttons_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_ButtonPress_buttons_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_valuators_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_ButtonPress_valuators_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; field16(tvb, offsetp, t, hf_x11_xinput_ButtonPress_sourceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xinput_ButtonPress_flags_mask_PointerEmulated, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_ButtonPress_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; struct_xinput_ModifierInfo(tvb, offsetp, t, byte_order, 1); struct_xinput_GroupInfo(tvb, offsetp, t, byte_order, 1); listOfCard32(tvb, offsetp, t, hf_x11_xinput_ButtonPress_button_mask, hf_x11_xinput_ButtonPress_button_mask_item, f_buttons_len, byte_order); { int i; for (i = 0; i < f_valuators_len; i++) { sumof_valuator_mask += tvb_get_guint32(tvb, *offsetp + i * 4, byte_order); } } listOfCard32(tvb, offsetp, t, hf_x11_xinput_ButtonPress_valuator_mask, hf_x11_xinput_ButtonPress_valuator_mask_item, f_valuators_len, byte_order); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); } static void xinputEnter(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_buttons_len; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 7, "Enter (7)"); field16(tvb, offsetp, t, hf_x11_xinput_Enter_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_Enter_time, byte_order); field16(tvb, offsetp, t, hf_x11_xinput_Enter_sourceid, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_Enter_mode, byte_order); field8(tvb, offsetp, t, hf_x11_xinput_Enter_detail, byte_order); proto_tree_add_item(t, hf_x11_xinput_Enter_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_Enter_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_Enter_child, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_Enter_root_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_Enter_root_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_Enter_event_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_Enter_event_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_Enter_same_screen, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_Enter_focus, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_buttons_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_Enter_buttons_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_xinput_ModifierInfo(tvb, offsetp, t, byte_order, 1); struct_xinput_GroupInfo(tvb, offsetp, t, byte_order, 1); listOfCard32(tvb, offsetp, t, hf_x11_xinput_Enter_buttons, hf_x11_xinput_Enter_buttons_item, f_buttons_len, byte_order); } static void struct_xinput_HierarchyInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xinput_HierarchyInfo, tvb, *offsetp, 12, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyInfo_deviceid, byte_order); field16(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyInfo_attachment, byte_order); field8(tvb, offsetp, t, hf_x11_struct_xinput_HierarchyInfo_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xinput_HierarchyInfo_enabled, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_MasterAdded, &hf_x11_struct_xinput_HierarchyInfo_flags_mask_MasterRemoved, &hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveAdded, &hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveRemoved, &hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveAttached, &hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveDetached, &hf_x11_struct_xinput_HierarchyInfo_flags_mask_DeviceEnabled, &hf_x11_struct_xinput_HierarchyInfo_flags_mask_DeviceDisabled, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xinput_HierarchyInfo_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; } } static void xinputHierarchy(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_num_infos; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 11, "Hierarchy (11)"); field16(tvb, offsetp, t, hf_x11_xinput_Hierarchy_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_Hierarchy_time, byte_order); { int* const flags_bits [] = { &hf_x11_xinput_Hierarchy_flags_mask_MasterAdded, &hf_x11_xinput_Hierarchy_flags_mask_MasterRemoved, &hf_x11_xinput_Hierarchy_flags_mask_SlaveAdded, &hf_x11_xinput_Hierarchy_flags_mask_SlaveRemoved, &hf_x11_xinput_Hierarchy_flags_mask_SlaveAttached, &hf_x11_xinput_Hierarchy_flags_mask_SlaveDetached, &hf_x11_xinput_Hierarchy_flags_mask_DeviceEnabled, &hf_x11_xinput_Hierarchy_flags_mask_DeviceDisabled, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_Hierarchy_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; f_num_infos = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_Hierarchy_num_infos, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 10, ENC_NA); *offsetp += 10; struct_xinput_HierarchyInfo(tvb, offsetp, t, byte_order, f_num_infos); } static void xinputProperty(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 12, "Property (12)"); field16(tvb, offsetp, t, hf_x11_xinput_Property_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_Property_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_Property_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_xinput_Property_what, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 11, ENC_NA); *offsetp += 11; } static void xinputRawKeyPress(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_valuators_len; int sumof_valuator_mask = 0; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 13, "RawKeyPress (13)"); field16(tvb, offsetp, t, hf_x11_xinput_RawKeyPress_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_RawKeyPress_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_RawKeyPress_detail, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_RawKeyPress_sourceid, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_valuators_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_RawKeyPress_valuators_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xinput_RawKeyPress_flags_mask_KeyRepeat, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_RawKeyPress_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; { int i; for (i = 0; i < f_valuators_len; i++) { sumof_valuator_mask += tvb_get_guint32(tvb, *offsetp + i * 4, byte_order); } } listOfCard32(tvb, offsetp, t, hf_x11_xinput_RawKeyPress_valuator_mask, hf_x11_xinput_RawKeyPress_valuator_mask_item, f_valuators_len, byte_order); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); } static void xinputRawButtonPress(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_valuators_len; int sumof_valuator_mask = 0; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 15, "RawButtonPress (15)"); field16(tvb, offsetp, t, hf_x11_xinput_RawButtonPress_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_RawButtonPress_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_RawButtonPress_detail, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_RawButtonPress_sourceid, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_valuators_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_RawButtonPress_valuators_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xinput_RawButtonPress_flags_mask_PointerEmulated, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_RawButtonPress_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; { int i; for (i = 0; i < f_valuators_len; i++) { sumof_valuator_mask += tvb_get_guint32(tvb, *offsetp + i * 4, byte_order); } } listOfCard32(tvb, offsetp, t, hf_x11_xinput_RawButtonPress_valuator_mask, hf_x11_xinput_RawButtonPress_valuator_mask_item, f_valuators_len, byte_order); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); } static void xinputTouchBegin(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_buttons_len; int f_valuators_len; int sumof_valuator_mask = 0; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 18, "TouchBegin (18)"); field16(tvb, offsetp, t, hf_x11_xinput_TouchBegin_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_TouchBegin_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_TouchBegin_detail, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchBegin_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchBegin_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchBegin_child, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchBegin_root_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchBegin_root_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchBegin_event_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchBegin_event_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_buttons_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_TouchBegin_buttons_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_valuators_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_TouchBegin_valuators_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; field16(tvb, offsetp, t, hf_x11_xinput_TouchBegin_sourceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xinput_TouchBegin_flags_mask_TouchPendingEnd, &hf_x11_xinput_TouchBegin_flags_mask_TouchEmulatingPointer, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_TouchBegin_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; struct_xinput_ModifierInfo(tvb, offsetp, t, byte_order, 1); struct_xinput_GroupInfo(tvb, offsetp, t, byte_order, 1); listOfCard32(tvb, offsetp, t, hf_x11_xinput_TouchBegin_button_mask, hf_x11_xinput_TouchBegin_button_mask_item, f_buttons_len, byte_order); { int i; for (i = 0; i < f_valuators_len; i++) { sumof_valuator_mask += tvb_get_guint32(tvb, *offsetp + i * 4, byte_order); } } listOfCard32(tvb, offsetp, t, hf_x11_xinput_TouchBegin_valuator_mask, hf_x11_xinput_TouchBegin_valuator_mask_item, f_valuators_len, byte_order); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); } static void xinputTouchOwnership(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 21, "TouchOwnership (21)"); field16(tvb, offsetp, t, hf_x11_xinput_TouchOwnership_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_TouchOwnership_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_TouchOwnership_touchid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchOwnership_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchOwnership_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_TouchOwnership_child, tvb, *offsetp, 4, byte_order); *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_TouchOwnership_sourceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; field32(tvb, offsetp, t, hf_x11_xinput_TouchOwnership_flags, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; } static void xinputRawTouchBegin(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { int f_valuators_len; int sumof_valuator_mask = 0; proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 22, "RawTouchBegin (22)"); field16(tvb, offsetp, t, hf_x11_xinput_RawTouchBegin_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_RawTouchBegin_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_RawTouchBegin_detail, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_RawTouchBegin_sourceid, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_valuators_len = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_RawTouchBegin_valuators_len, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xinput_RawTouchBegin_flags_mask_TouchPendingEnd, &hf_x11_xinput_RawTouchBegin_flags_mask_TouchEmulatingPointer, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_RawTouchBegin_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; { int i; for (i = 0; i < f_valuators_len; i++) { sumof_valuator_mask += tvb_get_guint32(tvb, *offsetp + i * 4, byte_order); } } listOfCard32(tvb, offsetp, t, hf_x11_xinput_RawTouchBegin_valuator_mask, hf_x11_xinput_RawTouchBegin_valuator_mask_item, f_valuators_len, byte_order); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); struct_xinput_FP3232(tvb, offsetp, t, byte_order, sumof_valuator_mask); } static void xinputBarrierHit(tvbuff_t *tvb, int length _U_, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_uint_format_value(t, hf_x11_minor_opcode, tvb, *offsetp, 2, 25, "BarrierHit (25)"); field16(tvb, offsetp, t, hf_x11_xinput_BarrierHit_deviceid, byte_order); field32(tvb, offsetp, t, hf_x11_xinput_BarrierHit_time, byte_order); proto_tree_add_item(t, hf_x11_xinput_BarrierHit_eventid, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_BarrierHit_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_BarrierHit_event, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_BarrierHit_barrier, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_BarrierHit_dtime, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const flags_bits [] = { &hf_x11_xinput_BarrierHit_flags_mask_PointerReleased, &hf_x11_xinput_BarrierHit_flags_mask_DeviceIsGrabbed, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xinput_BarrierHit_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; field16(tvb, offsetp, t, hf_x11_xinput_BarrierHit_sourceid, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xinput_BarrierHit_root_x, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_BarrierHit_root_y, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xinput_FP3232(tvb, offsetp, t, byte_order, 1); struct_xinput_FP3232(tvb, offsetp, t, byte_order, 1); } static void xinputSendExtensionEvent(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_num_classes; int f_num_events; proto_tree_add_item(t, hf_x11_xinput_SendExtensionEvent_destination, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xinput_SendExtensionEvent_device_id, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xinput_SendExtensionEvent_propagate, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_num_classes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xinput_SendExtensionEvent_num_classes, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_events = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xinput_SendExtensionEvent_num_events, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; length -= f_num_events * 1; listOfCard32(tvb, offsetp, t, hf_x11_xinput_SendExtensionEvent_classes, hf_x11_xinput_SendExtensionEvent_classes_item, f_num_classes, byte_order); length -= f_num_classes * 4; } static const value_string xinput_extension_minor[] = { { 1, "GetExtensionVersion" }, { 2, "ListInputDevices" }, { 3, "OpenDevice" }, { 4, "CloseDevice" }, { 5, "SetDeviceMode" }, { 6, "SelectExtensionEvent" }, { 7, "GetSelectedExtensionEvents" }, { 8, "ChangeDeviceDontPropagateList" }, { 9, "GetDeviceDontPropagateList" }, { 10, "GetDeviceMotionEvents" }, { 11, "ChangeKeyboardDevice" }, { 12, "ChangePointerDevice" }, { 13, "GrabDevice" }, { 14, "UngrabDevice" }, { 15, "GrabDeviceKey" }, { 16, "UngrabDeviceKey" }, { 17, "GrabDeviceButton" }, { 18, "UngrabDeviceButton" }, { 19, "AllowDeviceEvents" }, { 20, "GetDeviceFocus" }, { 21, "SetDeviceFocus" }, { 22, "GetFeedbackControl" }, { 23, "ChangeFeedbackControl" }, { 24, "GetDeviceKeyMapping" }, { 25, "ChangeDeviceKeyMapping" }, { 26, "GetDeviceModifierMapping" }, { 27, "SetDeviceModifierMapping" }, { 28, "GetDeviceButtonMapping" }, { 29, "SetDeviceButtonMapping" }, { 30, "QueryDeviceState" }, { 31, "SendExtensionEvent" }, { 32, "DeviceBell" }, { 33, "SetDeviceValuators" }, { 34, "GetDeviceControl" }, { 35, "ChangeDeviceControl" }, { 36, "ListDeviceProperties" }, { 37, "ChangeDeviceProperty" }, { 38, "DeleteDeviceProperty" }, { 39, "GetDeviceProperty" }, { 40, "XIQueryPointer" }, { 41, "XIWarpPointer" }, { 42, "XIChangeCursor" }, { 43, "XIChangeHierarchy" }, { 44, "XISetClientPointer" }, { 45, "XIGetClientPointer" }, { 46, "XISelectEvents" }, { 47, "XIQueryVersion" }, { 48, "XIQueryDevice" }, { 49, "XISetFocus" }, { 50, "XIGetFocus" }, { 51, "XIGrabDevice" }, { 52, "XIUngrabDevice" }, { 53, "XIAllowEvents" }, { 54, "XIPassiveGrabDevice" }, { 55, "XIPassiveUngrabDevice" }, { 56, "XIListProperties" }, { 57, "XIChangeProperty" }, { 58, "XIDeleteProperty" }, { 59, "XIGetProperty" }, { 60, "XIGetSelectedEvents" }, { 61, "XIBarrierReleasePointer" }, { 0, NULL } }; static const x11_event_info xinput_events[] = { { "xinput-DeviceKeyPress", xinputDeviceKeyPress }, { "xinput-DeviceFocusIn", xinputDeviceFocusIn }, { "xinput-DeviceStateNotify", xinputDeviceStateNotify }, { "xinput-DeviceMappingNotify", xinputDeviceMappingNotify }, { "xinput-ChangeDeviceNotify", xinputChangeDeviceNotify }, { "xinput-DeviceKeyStateNotify", xinputDeviceKeyStateNotify }, { "xinput-DeviceButtonStateNotify", xinputDeviceButtonStateNotify }, { "xinput-DevicePresenceNotify", xinputDevicePresenceNotify }, { "xinput-DevicePropertyNotify", xinputDevicePropertyNotify }, { NULL, NULL } }; static const x11_generic_event_info xinput_generic_events[] = { { 1, xinputDeviceChanged }, { 2, xinputKeyPress }, { 4, xinputButtonPress }, { 7, xinputEnter }, { 11, xinputHierarchy }, { 12, xinputProperty }, { 13, xinputRawKeyPress }, { 15, xinputRawButtonPress }, { 18, xinputTouchBegin }, { 21, xinputTouchOwnership }, { 22, xinputRawTouchBegin }, { 25, xinputBarrierHit }, { 0, NULL }, }; static x11_reply_info xinput_replies[] = { { 1, xinputGetExtensionVersion_Reply }, { 2, xinputListInputDevices_Reply }, { 3, xinputOpenDevice_Reply }, { 5, xinputSetDeviceMode_Reply }, { 7, xinputGetSelectedExtensionEvents_Reply }, { 9, xinputGetDeviceDontPropagateList_Reply }, { 10, xinputGetDeviceMotionEvents_Reply }, { 11, xinputChangeKeyboardDevice_Reply }, { 12, xinputChangePointerDevice_Reply }, { 13, xinputGrabDevice_Reply }, { 20, xinputGetDeviceFocus_Reply }, { 22, xinputGetFeedbackControl_Reply }, { 24, xinputGetDeviceKeyMapping_Reply }, { 26, xinputGetDeviceModifierMapping_Reply }, { 27, xinputSetDeviceModifierMapping_Reply }, { 28, xinputGetDeviceButtonMapping_Reply }, { 29, xinputSetDeviceButtonMapping_Reply }, { 30, xinputQueryDeviceState_Reply }, { 33, xinputSetDeviceValuators_Reply }, { 34, xinputGetDeviceControl_Reply }, { 35, xinputChangeDeviceControl_Reply }, { 36, xinputListDeviceProperties_Reply }, { 39, xinputGetDeviceProperty_Reply }, { 40, xinputXIQueryPointer_Reply }, { 45, xinputXIGetClientPointer_Reply }, { 47, xinputXIQueryVersion_Reply }, { 48, xinputXIQueryDevice_Reply }, { 50, xinputXIGetFocus_Reply }, { 51, xinputXIGrabDevice_Reply }, { 54, xinputXIPassiveGrabDevice_Reply }, { 56, xinputXIListProperties_Reply }, { 59, xinputXIGetProperty_Reply }, { 60, xinputXIGetSelectedEvents_Reply }, { 0, NULL } }; static void dispatch_xinput(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xinput_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xinput_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 1: xinputGetExtensionVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xinputListInputDevices(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xinputOpenDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xinputCloseDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xinputSetDeviceMode(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xinputSelectExtensionEvent(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xinputGetSelectedExtensionEvents(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xinputChangeDeviceDontPropagateList(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: xinputGetDeviceDontPropagateList(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: xinputGetDeviceMotionEvents(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: xinputChangeKeyboardDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: xinputChangePointerDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: xinputGrabDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: xinputUngrabDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: xinputGrabDeviceKey(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: xinputUngrabDeviceKey(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: xinputGrabDeviceButton(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: xinputUngrabDeviceButton(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: xinputAllowDeviceEvents(tvb, pinfo, offsetp, t, byte_order, length); break; case 20: xinputGetDeviceFocus(tvb, pinfo, offsetp, t, byte_order, length); break; case 21: xinputSetDeviceFocus(tvb, pinfo, offsetp, t, byte_order, length); break; case 22: xinputGetFeedbackControl(tvb, pinfo, offsetp, t, byte_order, length); break; case 23: xinputChangeFeedbackControl(tvb, pinfo, offsetp, t, byte_order, length); break; case 24: xinputGetDeviceKeyMapping(tvb, pinfo, offsetp, t, byte_order, length); break; case 25: xinputChangeDeviceKeyMapping(tvb, pinfo, offsetp, t, byte_order, length); break; case 26: xinputGetDeviceModifierMapping(tvb, pinfo, offsetp, t, byte_order, length); break; case 27: xinputSetDeviceModifierMapping(tvb, pinfo, offsetp, t, byte_order, length); break; case 28: xinputGetDeviceButtonMapping(tvb, pinfo, offsetp, t, byte_order, length); break; case 29: xinputSetDeviceButtonMapping(tvb, pinfo, offsetp, t, byte_order, length); break; case 30: xinputQueryDeviceState(tvb, pinfo, offsetp, t, byte_order, length); break; case 31: xinputSendExtensionEvent(tvb, pinfo, offsetp, t, byte_order, length); break; case 32: xinputDeviceBell(tvb, pinfo, offsetp, t, byte_order, length); break; case 33: xinputSetDeviceValuators(tvb, pinfo, offsetp, t, byte_order, length); break; case 34: xinputGetDeviceControl(tvb, pinfo, offsetp, t, byte_order, length); break; case 35: xinputChangeDeviceControl(tvb, pinfo, offsetp, t, byte_order, length); break; case 36: xinputListDeviceProperties(tvb, pinfo, offsetp, t, byte_order, length); break; case 37: xinputChangeDeviceProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 38: xinputDeleteDeviceProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 39: xinputGetDeviceProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 40: xinputXIQueryPointer(tvb, pinfo, offsetp, t, byte_order, length); break; case 41: xinputXIWarpPointer(tvb, pinfo, offsetp, t, byte_order, length); break; case 42: xinputXIChangeCursor(tvb, pinfo, offsetp, t, byte_order, length); break; case 43: xinputXIChangeHierarchy(tvb, pinfo, offsetp, t, byte_order, length); break; case 44: xinputXISetClientPointer(tvb, pinfo, offsetp, t, byte_order, length); break; case 45: xinputXIGetClientPointer(tvb, pinfo, offsetp, t, byte_order, length); break; case 46: xinputXISelectEvents(tvb, pinfo, offsetp, t, byte_order, length); break; case 47: xinputXIQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 48: xinputXIQueryDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 49: xinputXISetFocus(tvb, pinfo, offsetp, t, byte_order, length); break; case 50: xinputXIGetFocus(tvb, pinfo, offsetp, t, byte_order, length); break; case 51: xinputXIGrabDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 52: xinputXIUngrabDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 53: xinputXIAllowEvents(tvb, pinfo, offsetp, t, byte_order, length); break; case 54: xinputXIPassiveGrabDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 55: xinputXIPassiveUngrabDevice(tvb, pinfo, offsetp, t, byte_order, length); break; case 56: xinputXIListProperties(tvb, pinfo, offsetp, t, byte_order, length); break; case 57: xinputXIChangeProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 58: xinputXIDeleteProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 59: xinputXIGetProperty(tvb, pinfo, offsetp, t, byte_order, length); break; case 60: xinputXIGetSelectedEvents(tvb, pinfo, offsetp, t, byte_order, length); break; case 61: xinputXIBarrierReleasePointer(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xinput(void) { set_handler("XInputExtension", dispatch_xinput, xinput_errors, xinput_events, xinput_generic_events, xinput_replies); } static void struct_xkb_IndicatorMap(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_IndicatorMap, tvb, *offsetp, 12, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_IndicatorMap_flags, byte_order); field8(tvb, offsetp, t, hf_x11_struct_xkb_IndicatorMap_whichGroups, byte_order); field8(tvb, offsetp, t, hf_x11_struct_xkb_IndicatorMap_groups, byte_order); field8(tvb, offsetp, t, hf_x11_struct_xkb_IndicatorMap_whichMods, byte_order); { int* const mods_bits [] = { &hf_x11_struct_xkb_IndicatorMap_mods_mask_Shift, &hf_x11_struct_xkb_IndicatorMap_mods_mask_Lock, &hf_x11_struct_xkb_IndicatorMap_mods_mask_Control, &hf_x11_struct_xkb_IndicatorMap_mods_mask_1, &hf_x11_struct_xkb_IndicatorMap_mods_mask_2, &hf_x11_struct_xkb_IndicatorMap_mods_mask_3, &hf_x11_struct_xkb_IndicatorMap_mods_mask_4, &hf_x11_struct_xkb_IndicatorMap_mods_mask_5, &hf_x11_struct_xkb_IndicatorMap_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_IndicatorMap_mods, ett_x11_rectangle, mods_bits, byte_order); } *offsetp += 1; { int* const realMods_bits [] = { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_Shift, &hf_x11_struct_xkb_IndicatorMap_realMods_mask_Lock, &hf_x11_struct_xkb_IndicatorMap_realMods_mask_Control, &hf_x11_struct_xkb_IndicatorMap_realMods_mask_1, &hf_x11_struct_xkb_IndicatorMap_realMods_mask_2, &hf_x11_struct_xkb_IndicatorMap_realMods_mask_3, &hf_x11_struct_xkb_IndicatorMap_realMods_mask_4, &hf_x11_struct_xkb_IndicatorMap_realMods_mask_5, &hf_x11_struct_xkb_IndicatorMap_realMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_IndicatorMap_realMods, ett_x11_rectangle, realMods_bits, byte_order); } *offsetp += 1; { int* const vmods_bits [] = { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_0, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_1, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_2, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_3, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_4, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_5, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_6, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_7, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_8, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_9, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_10, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_11, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_12, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_13, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_14, &hf_x11_struct_xkb_IndicatorMap_vmods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_IndicatorMap_vmods, ett_x11_rectangle, vmods_bits, byte_order); } *offsetp += 2; { int* const ctrls_bits [] = { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_RepeatKeys, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_SlowKeys, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_BounceKeys, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_StickyKeys, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_MouseKeys, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_MouseKeysAccel, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXKeys, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXTimeoutMask, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXFeedbackMask, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AudibleBellMask, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_Overlay1Mask, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_Overlay2Mask, &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_IndicatorMap_ctrls, ett_x11_rectangle, ctrls_bits, byte_order); } *offsetp += 4; } } static void struct_xkb_ModDef(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_ModDef, tvb, *offsetp, 4, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); { int* const mask_bits [] = { &hf_x11_struct_xkb_ModDef_mask_mask_Shift, &hf_x11_struct_xkb_ModDef_mask_mask_Lock, &hf_x11_struct_xkb_ModDef_mask_mask_Control, &hf_x11_struct_xkb_ModDef_mask_mask_1, &hf_x11_struct_xkb_ModDef_mask_mask_2, &hf_x11_struct_xkb_ModDef_mask_mask_3, &hf_x11_struct_xkb_ModDef_mask_mask_4, &hf_x11_struct_xkb_ModDef_mask_mask_5, &hf_x11_struct_xkb_ModDef_mask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_ModDef_mask, ett_x11_rectangle, mask_bits, byte_order); } *offsetp += 1; { int* const realMods_bits [] = { &hf_x11_struct_xkb_ModDef_realMods_mask_Shift, &hf_x11_struct_xkb_ModDef_realMods_mask_Lock, &hf_x11_struct_xkb_ModDef_realMods_mask_Control, &hf_x11_struct_xkb_ModDef_realMods_mask_1, &hf_x11_struct_xkb_ModDef_realMods_mask_2, &hf_x11_struct_xkb_ModDef_realMods_mask_3, &hf_x11_struct_xkb_ModDef_realMods_mask_4, &hf_x11_struct_xkb_ModDef_realMods_mask_5, &hf_x11_struct_xkb_ModDef_realMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_ModDef_realMods, ett_x11_rectangle, realMods_bits, byte_order); } *offsetp += 1; { int* const vmods_bits [] = { &hf_x11_struct_xkb_ModDef_vmods_mask_0, &hf_x11_struct_xkb_ModDef_vmods_mask_1, &hf_x11_struct_xkb_ModDef_vmods_mask_2, &hf_x11_struct_xkb_ModDef_vmods_mask_3, &hf_x11_struct_xkb_ModDef_vmods_mask_4, &hf_x11_struct_xkb_ModDef_vmods_mask_5, &hf_x11_struct_xkb_ModDef_vmods_mask_6, &hf_x11_struct_xkb_ModDef_vmods_mask_7, &hf_x11_struct_xkb_ModDef_vmods_mask_8, &hf_x11_struct_xkb_ModDef_vmods_mask_9, &hf_x11_struct_xkb_ModDef_vmods_mask_10, &hf_x11_struct_xkb_ModDef_vmods_mask_11, &hf_x11_struct_xkb_ModDef_vmods_mask_12, &hf_x11_struct_xkb_ModDef_vmods_mask_13, &hf_x11_struct_xkb_ModDef_vmods_mask_14, &hf_x11_struct_xkb_ModDef_vmods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_ModDef_vmods, ett_x11_rectangle, vmods_bits, byte_order); } *offsetp += 2; } } static void struct_xkb_KeyName(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_KeyName, tvb, *offsetp, 4, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_KeyName_name, 4, byte_order); } } static void struct_xkb_KeyAlias(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_KeyAlias, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_KeyAlias_real, 4, byte_order); listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_KeyAlias_alias, 4, byte_order); } } static int struct_size_xkb_CountedString16(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_length; f_length = tvb_get_guint16(tvb, *offsetp + size + 0, byte_order); size += f_length * 1; size += (((f_length + 5) & (~3)) - (f_length + 2)) * 1; return size + 2; } static void struct_xkb_CountedString16(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_length; item = proto_tree_add_item(root, hf_x11_struct_xkb_CountedString16, tvb, *offsetp, struct_size_xkb_CountedString16(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_length = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_CountedString16_length, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_CountedString16_string, f_length, byte_order); listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_CountedString16_alignment_pad, (((f_length + 5) & (~3)) - (f_length + 2)), byte_order); } } static void struct_xkb_KTMapEntry(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_KTMapEntry, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_KTMapEntry_active, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const mods_mask_bits [] = { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Shift, &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Lock, &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Control, &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_1, &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_2, &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_3, &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_4, &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_5, &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KTMapEntry_mods_mask, ett_x11_rectangle, mods_mask_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_KTMapEntry_level, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const mods_mods_bits [] = { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Shift, &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Lock, &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Control, &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_1, &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_2, &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_3, &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_4, &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_5, &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KTMapEntry_mods_mods, ett_x11_rectangle, mods_mods_bits, byte_order); } *offsetp += 1; { int* const mods_vmods_bits [] = { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_0, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_1, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_2, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_3, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_4, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_5, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_6, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_7, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_8, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_9, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_10, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_11, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_12, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_13, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_14, &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KTMapEntry_mods_vmods, ett_x11_rectangle, mods_vmods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } } static int struct_size_xkb_KeyType(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_hasPreserve; int f_nMapEntries; f_nMapEntries = tvb_get_guint8(tvb, *offsetp + size + 5); f_hasPreserve = tvb_get_guint8(tvb, *offsetp + size + 6); size += f_nMapEntries * 8; size += (f_hasPreserve * f_nMapEntries) * 4; return size + 8; } static void struct_xkb_KeyType(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_nMapEntries; int f_hasPreserve; item = proto_tree_add_item(root, hf_x11_struct_xkb_KeyType, tvb, *offsetp, struct_size_xkb_KeyType(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); { int* const mods_mask_bits [] = { &hf_x11_struct_xkb_KeyType_mods_mask_mask_Shift, &hf_x11_struct_xkb_KeyType_mods_mask_mask_Lock, &hf_x11_struct_xkb_KeyType_mods_mask_mask_Control, &hf_x11_struct_xkb_KeyType_mods_mask_mask_1, &hf_x11_struct_xkb_KeyType_mods_mask_mask_2, &hf_x11_struct_xkb_KeyType_mods_mask_mask_3, &hf_x11_struct_xkb_KeyType_mods_mask_mask_4, &hf_x11_struct_xkb_KeyType_mods_mask_mask_5, &hf_x11_struct_xkb_KeyType_mods_mask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KeyType_mods_mask, ett_x11_rectangle, mods_mask_bits, byte_order); } *offsetp += 1; { int* const mods_mods_bits [] = { &hf_x11_struct_xkb_KeyType_mods_mods_mask_Shift, &hf_x11_struct_xkb_KeyType_mods_mods_mask_Lock, &hf_x11_struct_xkb_KeyType_mods_mods_mask_Control, &hf_x11_struct_xkb_KeyType_mods_mods_mask_1, &hf_x11_struct_xkb_KeyType_mods_mods_mask_2, &hf_x11_struct_xkb_KeyType_mods_mods_mask_3, &hf_x11_struct_xkb_KeyType_mods_mods_mask_4, &hf_x11_struct_xkb_KeyType_mods_mods_mask_5, &hf_x11_struct_xkb_KeyType_mods_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KeyType_mods_mods, ett_x11_rectangle, mods_mods_bits, byte_order); } *offsetp += 1; { int* const mods_vmods_bits [] = { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_0, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_1, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_2, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_3, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_4, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_5, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_6, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_7, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_8, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_9, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_10, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_11, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_12, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_13, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_14, &hf_x11_struct_xkb_KeyType_mods_vmods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KeyType_mods_vmods, ett_x11_rectangle, mods_vmods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xkb_KeyType_numLevels, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nMapEntries = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_struct_xkb_KeyType_nMapEntries, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_hasPreserve = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_struct_xkb_KeyType_hasPreserve, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; struct_xkb_KTMapEntry(tvb, offsetp, t, byte_order, f_nMapEntries); struct_xkb_ModDef(tvb, offsetp, t, byte_order, (f_hasPreserve * f_nMapEntries)); } } static int struct_size_xkb_KeySymMap(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_nSyms; f_nSyms = tvb_get_guint16(tvb, *offsetp + size + 6, byte_order); size += f_nSyms * 4; return size + 8; } static void struct_xkb_KeySymMap(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_nSyms; item = proto_tree_add_item(root, hf_x11_struct_xkb_KeySymMap, tvb, *offsetp, struct_size_xkb_KeySymMap(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_KeySymMap_kt_index, 4, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_KeySymMap_groupInfo, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_KeySymMap_width, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nSyms = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_KeySymMap_nSyms, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfCard32(tvb, offsetp, t, hf_x11_struct_xkb_KeySymMap_syms, hf_x11_struct_xkb_KeySymMap_syms_item, f_nSyms, byte_order); } } static void struct_xkb_CommonBehavior(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_CommonBehavior, tvb, *offsetp, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_CommonBehavior_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_CommonBehavior_data, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } static void struct_xkb_DefaultBehavior(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_DefaultBehavior, tvb, *offsetp, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_DefaultBehavior_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; } } static void struct_xkb_RadioGroupBehavior(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_RadioGroupBehavior, tvb, *offsetp, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_RadioGroupBehavior_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_RadioGroupBehavior_group, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } static void struct_xkb_OverlayBehavior(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_OverlayBehavior, tvb, *offsetp, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_OverlayBehavior_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_OverlayBehavior_key, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } static void struct_xkb_Behavior(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order, int count) { int i; int base = *offsetp; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_union_xkb_Behavior, tvb, base, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); *offsetp = base; struct_xkb_CommonBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_DefaultBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_DefaultBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_RadioGroupBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_OverlayBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_OverlayBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_DefaultBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_RadioGroupBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_OverlayBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_OverlayBehavior(tvb, offsetp, t, byte_order, 1); *offsetp = base; proto_tree_add_item(t, hf_x11_union_xkb_Behavior_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; base += 2; } *offsetp = base; } static void struct_xkb_SetBehavior(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SetBehavior, tvb, *offsetp, 4, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_SetBehavior_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; struct_xkb_Behavior(tvb, offsetp, t, byte_order, 1); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; } } static void struct_xkb_SetExplicit(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SetExplicit, tvb, *offsetp, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_SetExplicit_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const explicit_bits [] = { &hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType1, &hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType2, &hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType3, &hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType4, &hf_x11_struct_xkb_SetExplicit_explicit_mask_Interpret, &hf_x11_struct_xkb_SetExplicit_explicit_mask_AutoRepeat, &hf_x11_struct_xkb_SetExplicit_explicit_mask_Behavior, &hf_x11_struct_xkb_SetExplicit_explicit_mask_VModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SetExplicit_explicit, ett_x11_rectangle, explicit_bits, byte_order); } *offsetp += 1; } } static void struct_xkb_KeyModMap(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_KeyModMap, tvb, *offsetp, 2, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_KeyModMap_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const mods_bits [] = { &hf_x11_struct_xkb_KeyModMap_mods_mask_Shift, &hf_x11_struct_xkb_KeyModMap_mods_mask_Lock, &hf_x11_struct_xkb_KeyModMap_mods_mask_Control, &hf_x11_struct_xkb_KeyModMap_mods_mask_1, &hf_x11_struct_xkb_KeyModMap_mods_mask_2, &hf_x11_struct_xkb_KeyModMap_mods_mask_3, &hf_x11_struct_xkb_KeyModMap_mods_mask_4, &hf_x11_struct_xkb_KeyModMap_mods_mask_5, &hf_x11_struct_xkb_KeyModMap_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KeyModMap_mods, ett_x11_rectangle, mods_bits, byte_order); } *offsetp += 1; } } static void struct_xkb_KeyVModMap(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_KeyVModMap, tvb, *offsetp, 4, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_KeyVModMap_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; { int* const vmods_bits [] = { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_0, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_1, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_2, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_3, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_4, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_5, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_6, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_7, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_8, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_9, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_10, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_11, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_12, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_13, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_14, &hf_x11_struct_xkb_KeyVModMap_vmods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KeyVModMap_vmods, ett_x11_rectangle, vmods_bits, byte_order); } *offsetp += 2; } } static void struct_xkb_KTSetMapEntry(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_KTSetMapEntry, tvb, *offsetp, 4, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_KTSetMapEntry_level, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const realMods_bits [] = { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Shift, &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Lock, &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Control, &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_1, &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_2, &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_3, &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_4, &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_5, &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KTSetMapEntry_realMods, ett_x11_rectangle, realMods_bits, byte_order); } *offsetp += 1; { int* const virtualMods_bits [] = { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_0, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_1, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_2, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_3, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_4, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_5, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_6, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_7, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_8, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_9, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_10, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_11, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_12, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_13, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_14, &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_KTSetMapEntry_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; } } static int struct_size_xkb_SetKeyType(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_nMapEntries; int f_preserve; f_nMapEntries = tvb_get_guint8(tvb, *offsetp + size + 5); f_preserve = tvb_get_guint8(tvb, *offsetp + size + 6); size += f_nMapEntries * 4; size += (f_preserve * f_nMapEntries) * 4; return size + 8; } static void struct_xkb_SetKeyType(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_nMapEntries; int f_preserve; item = proto_tree_add_item(root, hf_x11_struct_xkb_SetKeyType, tvb, *offsetp, struct_size_xkb_SetKeyType(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); { int* const mask_bits [] = { &hf_x11_struct_xkb_SetKeyType_mask_mask_Shift, &hf_x11_struct_xkb_SetKeyType_mask_mask_Lock, &hf_x11_struct_xkb_SetKeyType_mask_mask_Control, &hf_x11_struct_xkb_SetKeyType_mask_mask_1, &hf_x11_struct_xkb_SetKeyType_mask_mask_2, &hf_x11_struct_xkb_SetKeyType_mask_mask_3, &hf_x11_struct_xkb_SetKeyType_mask_mask_4, &hf_x11_struct_xkb_SetKeyType_mask_mask_5, &hf_x11_struct_xkb_SetKeyType_mask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SetKeyType_mask, ett_x11_rectangle, mask_bits, byte_order); } *offsetp += 1; { int* const realMods_bits [] = { &hf_x11_struct_xkb_SetKeyType_realMods_mask_Shift, &hf_x11_struct_xkb_SetKeyType_realMods_mask_Lock, &hf_x11_struct_xkb_SetKeyType_realMods_mask_Control, &hf_x11_struct_xkb_SetKeyType_realMods_mask_1, &hf_x11_struct_xkb_SetKeyType_realMods_mask_2, &hf_x11_struct_xkb_SetKeyType_realMods_mask_3, &hf_x11_struct_xkb_SetKeyType_realMods_mask_4, &hf_x11_struct_xkb_SetKeyType_realMods_mask_5, &hf_x11_struct_xkb_SetKeyType_realMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SetKeyType_realMods, ett_x11_rectangle, realMods_bits, byte_order); } *offsetp += 1; { int* const virtualMods_bits [] = { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_0, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_1, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_2, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_3, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_4, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_5, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_6, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_7, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_8, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_9, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_10, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_11, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_12, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_13, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_14, &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SetKeyType_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xkb_SetKeyType_numLevels, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nMapEntries = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_struct_xkb_SetKeyType_nMapEntries, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_preserve = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_struct_xkb_SetKeyType_preserve, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; struct_xkb_KTSetMapEntry(tvb, offsetp, t, byte_order, f_nMapEntries); struct_xkb_KTSetMapEntry(tvb, offsetp, t, byte_order, (f_preserve * f_nMapEntries)); } } static int struct_size_xkb_Listing(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_length; f_length = tvb_get_guint16(tvb, *offsetp + size + 2, byte_order); size += f_length * 1; size = (size + 1) & ~1; return size + 4; } static void struct_xkb_Listing(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_length; item = proto_tree_add_item(root, hf_x11_struct_xkb_Listing, tvb, *offsetp, struct_size_xkb_Listing(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_Listing_flags, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_length = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_Listing_length, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_Listing_string, f_length, byte_order); if (*offsetp % 2) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (2 - *offsetp % 2), ENC_NA); *offsetp += (2 - *offsetp % 2); } } } static int struct_size_xkb_DeviceLedInfo(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_mapsPresent; int f_namesPresent; f_namesPresent = tvb_get_guint32(tvb, *offsetp + size + 4, byte_order); f_mapsPresent = tvb_get_guint32(tvb, *offsetp + size + 8, byte_order); size += ws_count_ones(f_namesPresent) * 4; size += ws_count_ones(f_mapsPresent) * 12; return size + 20; } static void struct_xkb_DeviceLedInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_namesPresent; int f_mapsPresent; item = proto_tree_add_item(root, hf_x11_struct_xkb_DeviceLedInfo, tvb, *offsetp, struct_size_xkb_DeviceLedInfo(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field16(tvb, offsetp, t, hf_x11_struct_xkb_DeviceLedInfo_ledClass, byte_order); field16(tvb, offsetp, t, hf_x11_struct_xkb_DeviceLedInfo_ledID, byte_order); f_namesPresent = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_DeviceLedInfo_namesPresent, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_mapsPresent = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_DeviceLedInfo_mapsPresent, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xkb_DeviceLedInfo_physIndicators, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xkb_DeviceLedInfo_state, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfCard32(tvb, offsetp, t, hf_x11_struct_xkb_DeviceLedInfo_names, hf_x11_struct_xkb_DeviceLedInfo_names_item, ws_count_ones(f_namesPresent), byte_order); struct_xkb_IndicatorMap(tvb, offsetp, t, byte_order, ws_count_ones(f_mapsPresent)); } } static void struct_xkb_SANoAction(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SANoAction, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SANoAction_type, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 7, ENC_NA); *offsetp += 7; } } static void struct_xkb_SASetMods(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SASetMods, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SASetMods_type, byte_order); { int* const flags_bits [] = { &hf_x11_struct_xkb_SASetMods_flags_mask_ClearLocks, &hf_x11_struct_xkb_SASetMods_flags_mask_LatchToLock, &hf_x11_struct_xkb_SASetMods_flags_mask_GroupAbsolute, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetMods_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 1; { int* const mask_bits [] = { &hf_x11_struct_xkb_SASetMods_mask_mask_Shift, &hf_x11_struct_xkb_SASetMods_mask_mask_Lock, &hf_x11_struct_xkb_SASetMods_mask_mask_Control, &hf_x11_struct_xkb_SASetMods_mask_mask_1, &hf_x11_struct_xkb_SASetMods_mask_mask_2, &hf_x11_struct_xkb_SASetMods_mask_mask_3, &hf_x11_struct_xkb_SASetMods_mask_mask_4, &hf_x11_struct_xkb_SASetMods_mask_mask_5, &hf_x11_struct_xkb_SASetMods_mask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetMods_mask, ett_x11_rectangle, mask_bits, byte_order); } *offsetp += 1; { int* const realMods_bits [] = { &hf_x11_struct_xkb_SASetMods_realMods_mask_Shift, &hf_x11_struct_xkb_SASetMods_realMods_mask_Lock, &hf_x11_struct_xkb_SASetMods_realMods_mask_Control, &hf_x11_struct_xkb_SASetMods_realMods_mask_1, &hf_x11_struct_xkb_SASetMods_realMods_mask_2, &hf_x11_struct_xkb_SASetMods_realMods_mask_3, &hf_x11_struct_xkb_SASetMods_realMods_mask_4, &hf_x11_struct_xkb_SASetMods_realMods_mask_5, &hf_x11_struct_xkb_SASetMods_realMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetMods_realMods, ett_x11_rectangle, realMods_bits, byte_order); } *offsetp += 1; { int* const vmodsHigh_bits [] = { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_8, &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_9, &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_10, &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_11, &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_12, &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_13, &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_14, &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetMods_vmodsHigh, ett_x11_rectangle, vmodsHigh_bits, byte_order); } *offsetp += 1; { int* const vmodsLow_bits [] = { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_0, &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_1, &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_2, &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_3, &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_4, &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_5, &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_6, &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_7, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetMods_vmodsLow, ett_x11_rectangle, vmodsLow_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } } static void struct_xkb_SASetGroup(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SASetGroup, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SASetGroup_type, byte_order); { int* const flags_bits [] = { &hf_x11_struct_xkb_SASetGroup_flags_mask_ClearLocks, &hf_x11_struct_xkb_SASetGroup_flags_mask_LatchToLock, &hf_x11_struct_xkb_SASetGroup_flags_mask_GroupAbsolute, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetGroup_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SASetGroup_group, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 5, ENC_NA); *offsetp += 5; } } static void struct_xkb_SAMovePtr(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SAMovePtr, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SAMovePtr_type, byte_order); { int* const flags_bits [] = { &hf_x11_struct_xkb_SAMovePtr_flags_mask_NoAcceleration, &hf_x11_struct_xkb_SAMovePtr_flags_mask_MoveAbsoluteX, &hf_x11_struct_xkb_SAMovePtr_flags_mask_MoveAbsoluteY, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SAMovePtr_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SAMovePtr_xHigh, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SAMovePtr_xLow, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SAMovePtr_yHigh, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SAMovePtr_yLow, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } } static void struct_xkb_SAPtrBtn(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SAPtrBtn, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SAPtrBtn_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_SAPtrBtn_flags, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SAPtrBtn_count, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SAPtrBtn_button, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; } } static void struct_xkb_SALockPtrBtn(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SALockPtrBtn, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SALockPtrBtn_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_SALockPtrBtn_flags, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SALockPtrBtn_button, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; } } static void struct_xkb_SASetPtrDflt(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SASetPtrDflt, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SASetPtrDflt_type, byte_order); { int* const flags_bits [] = { &hf_x11_struct_xkb_SASetPtrDflt_flags_mask_AffectDfltButton, &hf_x11_struct_xkb_SASetPtrDflt_flags_mask_DfltBtnAbsolute, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetPtrDflt_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 1; { int* const affect_bits [] = { &hf_x11_struct_xkb_SASetPtrDflt_affect_mask_AffectDfltButton, &hf_x11_struct_xkb_SASetPtrDflt_affect_mask_DfltBtnAbsolute, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetPtrDflt_affect, ett_x11_rectangle, affect_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SASetPtrDflt_value, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; } } static void struct_xkb_SAIsoLock(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SAIsoLock, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SAIsoLock_type, byte_order); { int* const flags_bits [] = { &hf_x11_struct_xkb_SAIsoLock_flags_mask_NoLock, &hf_x11_struct_xkb_SAIsoLock_flags_mask_NoUnlock, &hf_x11_struct_xkb_SAIsoLock_flags_mask_GroupAbsolute, &hf_x11_struct_xkb_SAIsoLock_flags_mask_ISODfltIsGroup, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SAIsoLock_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 1; { int* const mask_bits [] = { &hf_x11_struct_xkb_SAIsoLock_mask_mask_Shift, &hf_x11_struct_xkb_SAIsoLock_mask_mask_Lock, &hf_x11_struct_xkb_SAIsoLock_mask_mask_Control, &hf_x11_struct_xkb_SAIsoLock_mask_mask_1, &hf_x11_struct_xkb_SAIsoLock_mask_mask_2, &hf_x11_struct_xkb_SAIsoLock_mask_mask_3, &hf_x11_struct_xkb_SAIsoLock_mask_mask_4, &hf_x11_struct_xkb_SAIsoLock_mask_mask_5, &hf_x11_struct_xkb_SAIsoLock_mask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SAIsoLock_mask, ett_x11_rectangle, mask_bits, byte_order); } *offsetp += 1; { int* const realMods_bits [] = { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_Shift, &hf_x11_struct_xkb_SAIsoLock_realMods_mask_Lock, &hf_x11_struct_xkb_SAIsoLock_realMods_mask_Control, &hf_x11_struct_xkb_SAIsoLock_realMods_mask_1, &hf_x11_struct_xkb_SAIsoLock_realMods_mask_2, &hf_x11_struct_xkb_SAIsoLock_realMods_mask_3, &hf_x11_struct_xkb_SAIsoLock_realMods_mask_4, &hf_x11_struct_xkb_SAIsoLock_realMods_mask_5, &hf_x11_struct_xkb_SAIsoLock_realMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SAIsoLock_realMods, ett_x11_rectangle, realMods_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SAIsoLock_group, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const affect_bits [] = { &hf_x11_struct_xkb_SAIsoLock_affect_mask_Ctrls, &hf_x11_struct_xkb_SAIsoLock_affect_mask_Ptr, &hf_x11_struct_xkb_SAIsoLock_affect_mask_Group, &hf_x11_struct_xkb_SAIsoLock_affect_mask_Mods, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SAIsoLock_affect, ett_x11_rectangle, affect_bits, byte_order); } *offsetp += 1; { int* const vmodsHigh_bits [] = { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_8, &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_9, &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_10, &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_11, &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_12, &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_13, &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_14, &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SAIsoLock_vmodsHigh, ett_x11_rectangle, vmodsHigh_bits, byte_order); } *offsetp += 1; { int* const vmodsLow_bits [] = { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_0, &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_1, &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_2, &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_3, &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_4, &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_5, &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_6, &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_7, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SAIsoLock_vmodsLow, ett_x11_rectangle, vmodsLow_bits, byte_order); } *offsetp += 1; } } static void struct_xkb_SATerminate(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SATerminate, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SATerminate_type, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 7, ENC_NA); *offsetp += 7; } } static void struct_xkb_SASwitchScreen(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SASwitchScreen, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SASwitchScreen_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_SASwitchScreen_flags, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SASwitchScreen_newScreen, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 5, ENC_NA); *offsetp += 5; } } static void struct_xkb_SASetControls(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SASetControls, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SASetControls_type, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; { int* const boolCtrlsHigh_bits [] = { &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_AccessXFeedback, &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_AudibleBell, &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_Overlay1, &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_Overlay2, &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_IgnoreGroupLock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetControls_boolCtrlsHigh, ett_x11_rectangle, boolCtrlsHigh_bits, byte_order); } *offsetp += 1; { int* const boolCtrlsLow_bits [] = { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_RepeatKeys, &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_SlowKeys, &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_BounceKeys, &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_StickyKeys, &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_MouseKeys, &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_MouseKeysAccel, &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_AccessXKeys, &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_AccessXTimeout, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SASetControls_boolCtrlsLow, ett_x11_rectangle, boolCtrlsLow_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } } static void struct_xkb_SAActionMessage(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SAActionMessage, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SAActionMessage_type, byte_order); { int* const flags_bits [] = { &hf_x11_struct_xkb_SAActionMessage_flags_mask_OnPress, &hf_x11_struct_xkb_SAActionMessage_flags_mask_OnRelease, &hf_x11_struct_xkb_SAActionMessage_flags_mask_GenKeyEvent, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SAActionMessage_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_SAActionMessage_message, 6, byte_order); } } static void struct_xkb_SARedirectKey(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SARedirectKey, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SARedirectKey_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_SARedirectKey_newkey, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const mask_bits [] = { &hf_x11_struct_xkb_SARedirectKey_mask_mask_Shift, &hf_x11_struct_xkb_SARedirectKey_mask_mask_Lock, &hf_x11_struct_xkb_SARedirectKey_mask_mask_Control, &hf_x11_struct_xkb_SARedirectKey_mask_mask_1, &hf_x11_struct_xkb_SARedirectKey_mask_mask_2, &hf_x11_struct_xkb_SARedirectKey_mask_mask_3, &hf_x11_struct_xkb_SARedirectKey_mask_mask_4, &hf_x11_struct_xkb_SARedirectKey_mask_mask_5, &hf_x11_struct_xkb_SARedirectKey_mask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SARedirectKey_mask, ett_x11_rectangle, mask_bits, byte_order); } *offsetp += 1; { int* const realModifiers_bits [] = { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Shift, &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Lock, &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Control, &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_1, &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_2, &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_3, &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_4, &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_5, &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SARedirectKey_realModifiers, ett_x11_rectangle, realModifiers_bits, byte_order); } *offsetp += 1; { int* const vmodsMaskHigh_bits [] = { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_8, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_9, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_10, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_11, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_12, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_13, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_14, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh, ett_x11_rectangle, vmodsMaskHigh_bits, byte_order); } *offsetp += 1; { int* const vmodsMaskLow_bits [] = { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_0, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_1, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_2, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_3, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_4, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_5, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_6, &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_7, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow, ett_x11_rectangle, vmodsMaskLow_bits, byte_order); } *offsetp += 1; { int* const vmodsHigh_bits [] = { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_8, &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_9, &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_10, &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_11, &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_12, &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_13, &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_14, &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SARedirectKey_vmodsHigh, ett_x11_rectangle, vmodsHigh_bits, byte_order); } *offsetp += 1; { int* const vmodsLow_bits [] = { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_0, &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_1, &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_2, &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_3, &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_4, &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_5, &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_6, &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_7, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SARedirectKey_vmodsLow, ett_x11_rectangle, vmodsLow_bits, byte_order); } *offsetp += 1; } } static void struct_xkb_SADeviceBtn(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SADeviceBtn, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SADeviceBtn_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceBtn_flags, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceBtn_count, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceBtn_button, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceBtn_device, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } } static void struct_xkb_SALockDeviceBtn(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SALockDeviceBtn, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SALockDeviceBtn_type, byte_order); { int* const flags_bits [] = { &hf_x11_struct_xkb_SALockDeviceBtn_flags_mask_NoLock, &hf_x11_struct_xkb_SALockDeviceBtn_flags_mask_NoUnlock, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SALockDeviceBtn_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SALockDeviceBtn_button, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SALockDeviceBtn_device, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } } static void struct_xkb_SADeviceValuator(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SADeviceValuator, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SADeviceValuator_type, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceValuator_device, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_struct_xkb_SADeviceValuator_val1what, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceValuator_val1index, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceValuator_val1value, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_struct_xkb_SADeviceValuator_val2what, byte_order); proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceValuator_val2index, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SADeviceValuator_val2value, tvb, *offsetp, 1, byte_order); *offsetp += 1; } } static void struct_xkb_SIAction(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SIAction, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); field8(tvb, offsetp, t, hf_x11_struct_xkb_SIAction_type, byte_order); listOfByte(tvb, offsetp, t, hf_x11_struct_xkb_SIAction_data, 7, byte_order); } } static void struct_xkb_SymInterpret(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xkb_SymInterpret, tvb, *offsetp, 16, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xkb_SymInterpret_sym, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const mods_bits [] = { &hf_x11_struct_xkb_SymInterpret_mods_mask_Shift, &hf_x11_struct_xkb_SymInterpret_mods_mask_Lock, &hf_x11_struct_xkb_SymInterpret_mods_mask_Control, &hf_x11_struct_xkb_SymInterpret_mods_mask_1, &hf_x11_struct_xkb_SymInterpret_mods_mask_2, &hf_x11_struct_xkb_SymInterpret_mods_mask_3, &hf_x11_struct_xkb_SymInterpret_mods_mask_4, &hf_x11_struct_xkb_SymInterpret_mods_mask_5, &hf_x11_struct_xkb_SymInterpret_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SymInterpret_mods, ett_x11_rectangle, mods_bits, byte_order); } *offsetp += 1; field8(tvb, offsetp, t, hf_x11_struct_xkb_SymInterpret_match, byte_order); { int* const virtualMod_bits [] = { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_0, &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_1, &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_2, &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_3, &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_4, &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_5, &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_6, &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_7, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xkb_SymInterpret_virtualMod, ett_x11_rectangle, virtualMod_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xkb_SymInterpret_flags, tvb, *offsetp, 1, byte_order); *offsetp += 1; struct_xkb_SIAction(tvb, offsetp, t, byte_order, 1); } } static void struct_xkb_Action(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order, int count) { int i; int base = *offsetp; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_union_xkb_Action, tvb, base, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); *offsetp = base; struct_xkb_SANoAction(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetMods(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetMods(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetMods(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetGroup(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetGroup(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetGroup(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SAMovePtr(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SAPtrBtn(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SALockPtrBtn(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetPtrDflt(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SAIsoLock(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SATerminate(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASwitchScreen(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetControls(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SASetControls(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SAActionMessage(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SARedirectKey(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SADeviceBtn(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SALockDeviceBtn(tvb, offsetp, t, byte_order, 1); *offsetp = base; struct_xkb_SADeviceValuator(tvb, offsetp, t, byte_order, 1); *offsetp = base; field8(tvb, offsetp, t, hf_x11_union_xkb_Action_type, byte_order); base += 8; } *offsetp = base; } static void xkbUseExtension(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_UseExtension_wantedMajor, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_UseExtension_wantedMinor, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xkbUseExtension_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-UseExtension"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_UseExtension_reply_supported, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-UseExtension)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_UseExtension_reply_serverMajor, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_UseExtension_reply_serverMinor, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void xkbSelectEvents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_affectWhich; int f_clear; int f_selectAll; proto_tree_add_item(t, hf_x11_xkb_SelectEvents_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_affectWhich = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const affectWhich_bits [] = { &hf_x11_xkb_SelectEvents_affectWhich_mask_NewKeyboardNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_MapNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_StateNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_ControlsNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_IndicatorStateNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_IndicatorMapNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_NamesNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_CompatMapNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_BellNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_ActionMessage, &hf_x11_xkb_SelectEvents_affectWhich_mask_AccessXNotify, &hf_x11_xkb_SelectEvents_affectWhich_mask_ExtensionDeviceNotify, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_affectWhich, ett_x11_rectangle, affectWhich_bits, byte_order); } *offsetp += 2; f_clear = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const clear_bits [] = { &hf_x11_xkb_SelectEvents_clear_mask_NewKeyboardNotify, &hf_x11_xkb_SelectEvents_clear_mask_MapNotify, &hf_x11_xkb_SelectEvents_clear_mask_StateNotify, &hf_x11_xkb_SelectEvents_clear_mask_ControlsNotify, &hf_x11_xkb_SelectEvents_clear_mask_IndicatorStateNotify, &hf_x11_xkb_SelectEvents_clear_mask_IndicatorMapNotify, &hf_x11_xkb_SelectEvents_clear_mask_NamesNotify, &hf_x11_xkb_SelectEvents_clear_mask_CompatMapNotify, &hf_x11_xkb_SelectEvents_clear_mask_BellNotify, &hf_x11_xkb_SelectEvents_clear_mask_ActionMessage, &hf_x11_xkb_SelectEvents_clear_mask_AccessXNotify, &hf_x11_xkb_SelectEvents_clear_mask_ExtensionDeviceNotify, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_clear, ett_x11_rectangle, clear_bits, byte_order); } *offsetp += 2; f_selectAll = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const selectAll_bits [] = { &hf_x11_xkb_SelectEvents_selectAll_mask_NewKeyboardNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_MapNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_StateNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_ControlsNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_IndicatorStateNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_IndicatorMapNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_NamesNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_CompatMapNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_BellNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_ActionMessage, &hf_x11_xkb_SelectEvents_selectAll_mask_AccessXNotify, &hf_x11_xkb_SelectEvents_selectAll_mask_ExtensionDeviceNotify, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_selectAll, ett_x11_rectangle, selectAll_bits, byte_order); } *offsetp += 2; { int* const affectMap_bits [] = { &hf_x11_xkb_SelectEvents_affectMap_mask_KeyTypes, &hf_x11_xkb_SelectEvents_affectMap_mask_KeySyms, &hf_x11_xkb_SelectEvents_affectMap_mask_ModifierMap, &hf_x11_xkb_SelectEvents_affectMap_mask_ExplicitComponents, &hf_x11_xkb_SelectEvents_affectMap_mask_KeyActions, &hf_x11_xkb_SelectEvents_affectMap_mask_KeyBehaviors, &hf_x11_xkb_SelectEvents_affectMap_mask_VirtualMods, &hf_x11_xkb_SelectEvents_affectMap_mask_VirtualModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_affectMap, ett_x11_rectangle, affectMap_bits, byte_order); } *offsetp += 2; { int* const map_bits [] = { &hf_x11_xkb_SelectEvents_map_mask_KeyTypes, &hf_x11_xkb_SelectEvents_map_mask_KeySyms, &hf_x11_xkb_SelectEvents_map_mask_ModifierMap, &hf_x11_xkb_SelectEvents_map_mask_ExplicitComponents, &hf_x11_xkb_SelectEvents_map_mask_KeyActions, &hf_x11_xkb_SelectEvents_map_mask_KeyBehaviors, &hf_x11_xkb_SelectEvents_map_mask_VirtualMods, &hf_x11_xkb_SelectEvents_map_mask_VirtualModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_map, ett_x11_rectangle, map_bits, byte_order); } *offsetp += 2; if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 0)) { { int* const affectNewKeyboard_bits [] = { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_Keycodes, &hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_Geometry, &hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_DeviceID, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard, ett_x11_rectangle, affectNewKeyboard_bits, byte_order); } *offsetp += 2; { int* const newKeyboardDetails_bits [] = { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_Keycodes, &hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_Geometry, &hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_DeviceID, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails, ett_x11_rectangle, newKeyboardDetails_bits, byte_order); } *offsetp += 2; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 2)) { { int* const affectState_bits [] = { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierState, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierBase, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierLatch, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierLock, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupState, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupBase, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupLatch, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupLock, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatState, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GrabMods, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatGrabMods, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_LookupMods, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatLookupMods, &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_PointerButtons, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_StateNotify_affectState, ett_x11_rectangle, affectState_bits, byte_order); } *offsetp += 2; { int* const stateDetails_bits [] = { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierState, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierBase, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierLatch, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierLock, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupState, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupBase, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupLatch, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupLock, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatState, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GrabMods, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatGrabMods, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_LookupMods, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatLookupMods, &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_PointerButtons, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_StateNotify_stateDetails, ett_x11_rectangle, stateDetails_bits, byte_order); } *offsetp += 2; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 3)) { { int* const affectCtrls_bits [] = { &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_GroupsWrap, &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_InternalMods, &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_IgnoreLockMods, &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_PerKeyRepeat, &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_ControlsEnabled, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls, ett_x11_rectangle, affectCtrls_bits, byte_order); } *offsetp += 4; { int* const ctrlDetails_bits [] = { &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_GroupsWrap, &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_InternalMods, &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_IgnoreLockMods, &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_PerKeyRepeat, &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_ControlsEnabled, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails, ett_x11_rectangle, ctrlDetails_bits, byte_order); } *offsetp += 4; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 4)) { proto_tree_add_item(t, hf_x11_xkb_SelectEvents_IndicatorStateNotify_affectIndicatorState, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SelectEvents_IndicatorStateNotify_indicatorStateDetails, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 5)) { proto_tree_add_item(t, hf_x11_xkb_SelectEvents_IndicatorMapNotify_affectIndicatorMap, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SelectEvents_IndicatorMapNotify_indicatorMapDetails, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 6)) { { int* const affectNames_bits [] = { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Keycodes, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Geometry, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Symbols, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_PhysSymbols, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Types, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Compat, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyTypeNames, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KTLevelNames, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_IndicatorNames, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyNames, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyAliases, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_VirtualModNames, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_GroupNames, &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_RGNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_NamesNotify_affectNames, ett_x11_rectangle, affectNames_bits, byte_order); } *offsetp += 2; { int* const namesDetails_bits [] = { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Keycodes, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Geometry, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Symbols, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_PhysSymbols, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Types, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Compat, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyTypeNames, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KTLevelNames, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_IndicatorNames, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyNames, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyAliases, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_VirtualModNames, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_GroupNames, &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_RGNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_NamesNotify_namesDetails, ett_x11_rectangle, namesDetails_bits, byte_order); } *offsetp += 2; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 7)) { { int* const affectCompat_bits [] = { &hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat_mask_SymInterp, &hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat_mask_GroupCompat, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat, ett_x11_rectangle, affectCompat_bits, byte_order); } *offsetp += 1; { int* const compatDetails_bits [] = { &hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails_mask_SymInterp, &hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails_mask_GroupCompat, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails, ett_x11_rectangle, compatDetails_bits, byte_order); } *offsetp += 1; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 8)) { proto_tree_add_item(t, hf_x11_xkb_SelectEvents_BellNotify_affectBell, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SelectEvents_BellNotify_bellDetails, tvb, *offsetp, 1, byte_order); *offsetp += 1; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 9)) { proto_tree_add_item(t, hf_x11_xkb_SelectEvents_ActionMessage_affectMsgDetails, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SelectEvents_ActionMessage_msgDetails, tvb, *offsetp, 1, byte_order); *offsetp += 1; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 10)) { { int* const affectAccessX_bits [] = { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKPress, &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKAccept, &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKReject, &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKRelease, &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_BKAccept, &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_BKReject, &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_AXKWarning, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX, ett_x11_rectangle, affectAccessX_bits, byte_order); } *offsetp += 2; { int* const accessXDetails_bits [] = { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKPress, &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKAccept, &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKReject, &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKRelease, &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_BKAccept, &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_BKReject, &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_AXKWarning, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails, ett_x11_rectangle, accessXDetails_bits, byte_order); } *offsetp += 2; } if ((f_affectWhich & ((~f_clear) & (~f_selectAll))) & (1U << 11)) { { int* const affectExtDev_bits [] = { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_Keyboards, &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_ButtonActions, &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorNames, &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorMaps, &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev, ett_x11_rectangle, affectExtDev_bits, byte_order); } *offsetp += 2; { int* const extdevDetails_bits [] = { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_Keyboards, &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_ButtonActions, &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorNames, &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorMaps, &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails, ett_x11_rectangle, extdevDetails_bits, byte_order); } *offsetp += 2; } } static void xkbBell(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_Bell_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_Bell_bellClass, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_Bell_bellID, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_Bell_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_Bell_forceSound, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_Bell_eventOnly, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_Bell_pitch, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_Bell_duration, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_Bell_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_Bell_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xkbGetState(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetState_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xkbGetState_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetState"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetState_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetState)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const mods_bits [] = { &hf_x11_xkb_GetState_reply_mods_mask_Shift, &hf_x11_xkb_GetState_reply_mods_mask_Lock, &hf_x11_xkb_GetState_reply_mods_mask_Control, &hf_x11_xkb_GetState_reply_mods_mask_1, &hf_x11_xkb_GetState_reply_mods_mask_2, &hf_x11_xkb_GetState_reply_mods_mask_3, &hf_x11_xkb_GetState_reply_mods_mask_4, &hf_x11_xkb_GetState_reply_mods_mask_5, &hf_x11_xkb_GetState_reply_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_mods, ett_x11_rectangle, mods_bits, byte_order); } *offsetp += 1; { int* const baseMods_bits [] = { &hf_x11_xkb_GetState_reply_baseMods_mask_Shift, &hf_x11_xkb_GetState_reply_baseMods_mask_Lock, &hf_x11_xkb_GetState_reply_baseMods_mask_Control, &hf_x11_xkb_GetState_reply_baseMods_mask_1, &hf_x11_xkb_GetState_reply_baseMods_mask_2, &hf_x11_xkb_GetState_reply_baseMods_mask_3, &hf_x11_xkb_GetState_reply_baseMods_mask_4, &hf_x11_xkb_GetState_reply_baseMods_mask_5, &hf_x11_xkb_GetState_reply_baseMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_baseMods, ett_x11_rectangle, baseMods_bits, byte_order); } *offsetp += 1; { int* const latchedMods_bits [] = { &hf_x11_xkb_GetState_reply_latchedMods_mask_Shift, &hf_x11_xkb_GetState_reply_latchedMods_mask_Lock, &hf_x11_xkb_GetState_reply_latchedMods_mask_Control, &hf_x11_xkb_GetState_reply_latchedMods_mask_1, &hf_x11_xkb_GetState_reply_latchedMods_mask_2, &hf_x11_xkb_GetState_reply_latchedMods_mask_3, &hf_x11_xkb_GetState_reply_latchedMods_mask_4, &hf_x11_xkb_GetState_reply_latchedMods_mask_5, &hf_x11_xkb_GetState_reply_latchedMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_latchedMods, ett_x11_rectangle, latchedMods_bits, byte_order); } *offsetp += 1; { int* const lockedMods_bits [] = { &hf_x11_xkb_GetState_reply_lockedMods_mask_Shift, &hf_x11_xkb_GetState_reply_lockedMods_mask_Lock, &hf_x11_xkb_GetState_reply_lockedMods_mask_Control, &hf_x11_xkb_GetState_reply_lockedMods_mask_1, &hf_x11_xkb_GetState_reply_lockedMods_mask_2, &hf_x11_xkb_GetState_reply_lockedMods_mask_3, &hf_x11_xkb_GetState_reply_lockedMods_mask_4, &hf_x11_xkb_GetState_reply_lockedMods_mask_5, &hf_x11_xkb_GetState_reply_lockedMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_lockedMods, ett_x11_rectangle, lockedMods_bits, byte_order); } *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xkb_GetState_reply_group, byte_order); field8(tvb, offsetp, t, hf_x11_xkb_GetState_reply_lockedGroup, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetState_reply_baseGroup, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetState_reply_latchedGroup, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const compatState_bits [] = { &hf_x11_xkb_GetState_reply_compatState_mask_Shift, &hf_x11_xkb_GetState_reply_compatState_mask_Lock, &hf_x11_xkb_GetState_reply_compatState_mask_Control, &hf_x11_xkb_GetState_reply_compatState_mask_1, &hf_x11_xkb_GetState_reply_compatState_mask_2, &hf_x11_xkb_GetState_reply_compatState_mask_3, &hf_x11_xkb_GetState_reply_compatState_mask_4, &hf_x11_xkb_GetState_reply_compatState_mask_5, &hf_x11_xkb_GetState_reply_compatState_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_compatState, ett_x11_rectangle, compatState_bits, byte_order); } *offsetp += 1; { int* const grabMods_bits [] = { &hf_x11_xkb_GetState_reply_grabMods_mask_Shift, &hf_x11_xkb_GetState_reply_grabMods_mask_Lock, &hf_x11_xkb_GetState_reply_grabMods_mask_Control, &hf_x11_xkb_GetState_reply_grabMods_mask_1, &hf_x11_xkb_GetState_reply_grabMods_mask_2, &hf_x11_xkb_GetState_reply_grabMods_mask_3, &hf_x11_xkb_GetState_reply_grabMods_mask_4, &hf_x11_xkb_GetState_reply_grabMods_mask_5, &hf_x11_xkb_GetState_reply_grabMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_grabMods, ett_x11_rectangle, grabMods_bits, byte_order); } *offsetp += 1; { int* const compatGrabMods_bits [] = { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_Shift, &hf_x11_xkb_GetState_reply_compatGrabMods_mask_Lock, &hf_x11_xkb_GetState_reply_compatGrabMods_mask_Control, &hf_x11_xkb_GetState_reply_compatGrabMods_mask_1, &hf_x11_xkb_GetState_reply_compatGrabMods_mask_2, &hf_x11_xkb_GetState_reply_compatGrabMods_mask_3, &hf_x11_xkb_GetState_reply_compatGrabMods_mask_4, &hf_x11_xkb_GetState_reply_compatGrabMods_mask_5, &hf_x11_xkb_GetState_reply_compatGrabMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_compatGrabMods, ett_x11_rectangle, compatGrabMods_bits, byte_order); } *offsetp += 1; { int* const lookupMods_bits [] = { &hf_x11_xkb_GetState_reply_lookupMods_mask_Shift, &hf_x11_xkb_GetState_reply_lookupMods_mask_Lock, &hf_x11_xkb_GetState_reply_lookupMods_mask_Control, &hf_x11_xkb_GetState_reply_lookupMods_mask_1, &hf_x11_xkb_GetState_reply_lookupMods_mask_2, &hf_x11_xkb_GetState_reply_lookupMods_mask_3, &hf_x11_xkb_GetState_reply_lookupMods_mask_4, &hf_x11_xkb_GetState_reply_lookupMods_mask_5, &hf_x11_xkb_GetState_reply_lookupMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_lookupMods, ett_x11_rectangle, lookupMods_bits, byte_order); } *offsetp += 1; { int* const compatLookupMods_bits [] = { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_Shift, &hf_x11_xkb_GetState_reply_compatLookupMods_mask_Lock, &hf_x11_xkb_GetState_reply_compatLookupMods_mask_Control, &hf_x11_xkb_GetState_reply_compatLookupMods_mask_1, &hf_x11_xkb_GetState_reply_compatLookupMods_mask_2, &hf_x11_xkb_GetState_reply_compatLookupMods_mask_3, &hf_x11_xkb_GetState_reply_compatLookupMods_mask_4, &hf_x11_xkb_GetState_reply_compatLookupMods_mask_5, &hf_x11_xkb_GetState_reply_compatLookupMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_compatLookupMods, ett_x11_rectangle, compatLookupMods_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; { int* const ptrBtnState_bits [] = { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Shift, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Lock, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Control, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod1, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod2, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod3, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod4, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod5, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button1, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button2, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button3, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button4, &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button5, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetState_reply_ptrBtnState, ett_x11_rectangle, ptrBtnState_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 6, ENC_NA); *offsetp += 6; } static void xkbLatchLockState(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_LatchLockState_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const affectModLocks_bits [] = { &hf_x11_xkb_LatchLockState_affectModLocks_mask_Shift, &hf_x11_xkb_LatchLockState_affectModLocks_mask_Lock, &hf_x11_xkb_LatchLockState_affectModLocks_mask_Control, &hf_x11_xkb_LatchLockState_affectModLocks_mask_1, &hf_x11_xkb_LatchLockState_affectModLocks_mask_2, &hf_x11_xkb_LatchLockState_affectModLocks_mask_3, &hf_x11_xkb_LatchLockState_affectModLocks_mask_4, &hf_x11_xkb_LatchLockState_affectModLocks_mask_5, &hf_x11_xkb_LatchLockState_affectModLocks_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_LatchLockState_affectModLocks, ett_x11_rectangle, affectModLocks_bits, byte_order); } *offsetp += 1; { int* const modLocks_bits [] = { &hf_x11_xkb_LatchLockState_modLocks_mask_Shift, &hf_x11_xkb_LatchLockState_modLocks_mask_Lock, &hf_x11_xkb_LatchLockState_modLocks_mask_Control, &hf_x11_xkb_LatchLockState_modLocks_mask_1, &hf_x11_xkb_LatchLockState_modLocks_mask_2, &hf_x11_xkb_LatchLockState_modLocks_mask_3, &hf_x11_xkb_LatchLockState_modLocks_mask_4, &hf_x11_xkb_LatchLockState_modLocks_mask_5, &hf_x11_xkb_LatchLockState_modLocks_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_LatchLockState_modLocks, ett_x11_rectangle, modLocks_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_LatchLockState_lockGroup, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xkb_LatchLockState_groupLock, byte_order); { int* const affectModLatches_bits [] = { &hf_x11_xkb_LatchLockState_affectModLatches_mask_Shift, &hf_x11_xkb_LatchLockState_affectModLatches_mask_Lock, &hf_x11_xkb_LatchLockState_affectModLatches_mask_Control, &hf_x11_xkb_LatchLockState_affectModLatches_mask_1, &hf_x11_xkb_LatchLockState_affectModLatches_mask_2, &hf_x11_xkb_LatchLockState_affectModLatches_mask_3, &hf_x11_xkb_LatchLockState_affectModLatches_mask_4, &hf_x11_xkb_LatchLockState_affectModLatches_mask_5, &hf_x11_xkb_LatchLockState_affectModLatches_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_LatchLockState_affectModLatches, ett_x11_rectangle, affectModLatches_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_LatchLockState_latchGroup, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_LatchLockState_groupLatch, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xkbGetControls(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetControls_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xkbGetControls_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetControls"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetControls)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_mouseKeysDfltBtn, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_numGroups, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_groupsWrap, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const internalModsMask_bits [] = { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_Shift, &hf_x11_xkb_GetControls_reply_internalModsMask_mask_Lock, &hf_x11_xkb_GetControls_reply_internalModsMask_mask_Control, &hf_x11_xkb_GetControls_reply_internalModsMask_mask_1, &hf_x11_xkb_GetControls_reply_internalModsMask_mask_2, &hf_x11_xkb_GetControls_reply_internalModsMask_mask_3, &hf_x11_xkb_GetControls_reply_internalModsMask_mask_4, &hf_x11_xkb_GetControls_reply_internalModsMask_mask_5, &hf_x11_xkb_GetControls_reply_internalModsMask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_internalModsMask, ett_x11_rectangle, internalModsMask_bits, byte_order); } *offsetp += 1; { int* const ignoreLockModsMask_bits [] = { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Shift, &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Lock, &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Control, &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_1, &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_2, &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_3, &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_4, &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_5, &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_ignoreLockModsMask, ett_x11_rectangle, ignoreLockModsMask_bits, byte_order); } *offsetp += 1; { int* const internalModsRealMods_bits [] = { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Shift, &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Lock, &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Control, &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_1, &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_2, &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_3, &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_4, &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_5, &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_internalModsRealMods, ett_x11_rectangle, internalModsRealMods_bits, byte_order); } *offsetp += 1; { int* const ignoreLockModsRealMods_bits [] = { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Shift, &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Lock, &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Control, &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_1, &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_2, &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_3, &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_4, &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_5, &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods, ett_x11_rectangle, ignoreLockModsRealMods_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; { int* const internalModsVmods_bits [] = { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_0, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_1, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_2, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_3, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_4, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_5, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_6, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_7, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_8, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_9, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_10, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_11, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_12, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_13, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_14, &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_internalModsVmods, ett_x11_rectangle, internalModsVmods_bits, byte_order); } *offsetp += 2; { int* const ignoreLockModsVmods_bits [] = { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_0, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_1, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_2, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_3, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_4, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_5, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_6, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_7, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_8, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_9, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_10, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_11, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_12, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_13, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_14, &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_ignoreLockModsVmods, ett_x11_rectangle, ignoreLockModsVmods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_repeatDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_repeatInterval, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_slowKeysDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_debounceDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_mouseKeysDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_mouseKeysInterval, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_mouseKeysTimeToMax, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_mouseKeysMaxSpeed, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_mouseKeysCurve, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const accessXOption_bits [] = { &hf_x11_xkb_GetControls_reply_accessXOption_mask_SKPressFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_SKAcceptFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_FeatureFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_SlowWarnFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_IndicatorFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_StickyKeysFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_TwoKeys, &hf_x11_xkb_GetControls_reply_accessXOption_mask_LatchToLock, &hf_x11_xkb_GetControls_reply_accessXOption_mask_SKReleaseFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_SKRejectFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_BKRejectFB, &hf_x11_xkb_GetControls_reply_accessXOption_mask_DumbBell, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_accessXOption, ett_x11_rectangle, accessXOption_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetControls_reply_accessXTimeout, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const accessXTimeoutOptionsMask_bits [] = { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKPressFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKAcceptFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_FeatureFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SlowWarnFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_IndicatorFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_StickyKeysFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_TwoKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_LatchToLock, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKReleaseFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKRejectFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_BKRejectFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_DumbBell, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask, ett_x11_rectangle, accessXTimeoutOptionsMask_bits, byte_order); } *offsetp += 2; { int* const accessXTimeoutOptionsValues_bits [] = { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKPressFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKAcceptFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_FeatureFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SlowWarnFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_IndicatorFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_StickyKeysFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_TwoKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_LatchToLock, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKReleaseFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKRejectFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_BKRejectFB, &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_DumbBell, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues, ett_x11_rectangle, accessXTimeoutOptionsValues_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const accessXTimeoutMask_bits [] = { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_RepeatKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_SlowKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_BounceKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_StickyKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_MouseKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_MouseKeysAccel, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXTimeoutMask, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXFeedbackMask, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AudibleBellMask, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_Overlay1Mask, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_Overlay2Mask, &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_accessXTimeoutMask, ett_x11_rectangle, accessXTimeoutMask_bits, byte_order); } *offsetp += 4; { int* const accessXTimeoutValues_bits [] = { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_RepeatKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_SlowKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_BounceKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_StickyKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_MouseKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_MouseKeysAccel, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXKeys, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXTimeoutMask, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXFeedbackMask, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AudibleBellMask, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_Overlay1Mask, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_Overlay2Mask, &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_accessXTimeoutValues, ett_x11_rectangle, accessXTimeoutValues_bits, byte_order); } *offsetp += 4; { int* const enabledControls_bits [] = { &hf_x11_xkb_GetControls_reply_enabledControls_mask_RepeatKeys, &hf_x11_xkb_GetControls_reply_enabledControls_mask_SlowKeys, &hf_x11_xkb_GetControls_reply_enabledControls_mask_BounceKeys, &hf_x11_xkb_GetControls_reply_enabledControls_mask_StickyKeys, &hf_x11_xkb_GetControls_reply_enabledControls_mask_MouseKeys, &hf_x11_xkb_GetControls_reply_enabledControls_mask_MouseKeysAccel, &hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXKeys, &hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXTimeoutMask, &hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXFeedbackMask, &hf_x11_xkb_GetControls_reply_enabledControls_mask_AudibleBellMask, &hf_x11_xkb_GetControls_reply_enabledControls_mask_Overlay1Mask, &hf_x11_xkb_GetControls_reply_enabledControls_mask_Overlay2Mask, &hf_x11_xkb_GetControls_reply_enabledControls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetControls_reply_enabledControls, ett_x11_rectangle, enabledControls_bits, byte_order); } *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xkb_GetControls_reply_perKeyRepeat, 32, byte_order); } static void xkbSetControls(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_SetControls_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const affectInternalRealMods_bits [] = { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_Shift, &hf_x11_xkb_SetControls_affectInternalRealMods_mask_Lock, &hf_x11_xkb_SetControls_affectInternalRealMods_mask_Control, &hf_x11_xkb_SetControls_affectInternalRealMods_mask_1, &hf_x11_xkb_SetControls_affectInternalRealMods_mask_2, &hf_x11_xkb_SetControls_affectInternalRealMods_mask_3, &hf_x11_xkb_SetControls_affectInternalRealMods_mask_4, &hf_x11_xkb_SetControls_affectInternalRealMods_mask_5, &hf_x11_xkb_SetControls_affectInternalRealMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_affectInternalRealMods, ett_x11_rectangle, affectInternalRealMods_bits, byte_order); } *offsetp += 1; { int* const internalRealMods_bits [] = { &hf_x11_xkb_SetControls_internalRealMods_mask_Shift, &hf_x11_xkb_SetControls_internalRealMods_mask_Lock, &hf_x11_xkb_SetControls_internalRealMods_mask_Control, &hf_x11_xkb_SetControls_internalRealMods_mask_1, &hf_x11_xkb_SetControls_internalRealMods_mask_2, &hf_x11_xkb_SetControls_internalRealMods_mask_3, &hf_x11_xkb_SetControls_internalRealMods_mask_4, &hf_x11_xkb_SetControls_internalRealMods_mask_5, &hf_x11_xkb_SetControls_internalRealMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_internalRealMods, ett_x11_rectangle, internalRealMods_bits, byte_order); } *offsetp += 1; { int* const affectIgnoreLockRealMods_bits [] = { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Shift, &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Lock, &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Control, &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_1, &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_2, &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_3, &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_4, &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_5, &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_affectIgnoreLockRealMods, ett_x11_rectangle, affectIgnoreLockRealMods_bits, byte_order); } *offsetp += 1; { int* const ignoreLockRealMods_bits [] = { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Shift, &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Lock, &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Control, &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_1, &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_2, &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_3, &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_4, &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_5, &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_ignoreLockRealMods, ett_x11_rectangle, ignoreLockRealMods_bits, byte_order); } *offsetp += 1; { int* const affectInternalVirtualMods_bits [] = { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_0, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_1, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_2, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_3, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_4, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_5, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_6, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_7, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_8, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_9, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_10, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_11, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_12, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_13, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_14, &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_affectInternalVirtualMods, ett_x11_rectangle, affectInternalVirtualMods_bits, byte_order); } *offsetp += 2; { int* const internalVirtualMods_bits [] = { &hf_x11_xkb_SetControls_internalVirtualMods_mask_0, &hf_x11_xkb_SetControls_internalVirtualMods_mask_1, &hf_x11_xkb_SetControls_internalVirtualMods_mask_2, &hf_x11_xkb_SetControls_internalVirtualMods_mask_3, &hf_x11_xkb_SetControls_internalVirtualMods_mask_4, &hf_x11_xkb_SetControls_internalVirtualMods_mask_5, &hf_x11_xkb_SetControls_internalVirtualMods_mask_6, &hf_x11_xkb_SetControls_internalVirtualMods_mask_7, &hf_x11_xkb_SetControls_internalVirtualMods_mask_8, &hf_x11_xkb_SetControls_internalVirtualMods_mask_9, &hf_x11_xkb_SetControls_internalVirtualMods_mask_10, &hf_x11_xkb_SetControls_internalVirtualMods_mask_11, &hf_x11_xkb_SetControls_internalVirtualMods_mask_12, &hf_x11_xkb_SetControls_internalVirtualMods_mask_13, &hf_x11_xkb_SetControls_internalVirtualMods_mask_14, &hf_x11_xkb_SetControls_internalVirtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_internalVirtualMods, ett_x11_rectangle, internalVirtualMods_bits, byte_order); } *offsetp += 2; { int* const affectIgnoreLockVirtualMods_bits [] = { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_0, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_1, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_2, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_3, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_4, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_5, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_6, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_7, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_8, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_9, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_10, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_11, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_12, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_13, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_14, &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods, ett_x11_rectangle, affectIgnoreLockVirtualMods_bits, byte_order); } *offsetp += 2; { int* const ignoreLockVirtualMods_bits [] = { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_0, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_1, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_2, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_3, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_4, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_5, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_6, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_7, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_8, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_9, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_10, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_11, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_12, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_13, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_14, &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_ignoreLockVirtualMods, ett_x11_rectangle, ignoreLockVirtualMods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_mouseKeysDfltBtn, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetControls_groupsWrap, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const accessXOptions_bits [] = { &hf_x11_xkb_SetControls_accessXOptions_mask_SKPressFB, &hf_x11_xkb_SetControls_accessXOptions_mask_SKAcceptFB, &hf_x11_xkb_SetControls_accessXOptions_mask_FeatureFB, &hf_x11_xkb_SetControls_accessXOptions_mask_SlowWarnFB, &hf_x11_xkb_SetControls_accessXOptions_mask_IndicatorFB, &hf_x11_xkb_SetControls_accessXOptions_mask_StickyKeysFB, &hf_x11_xkb_SetControls_accessXOptions_mask_TwoKeys, &hf_x11_xkb_SetControls_accessXOptions_mask_LatchToLock, &hf_x11_xkb_SetControls_accessXOptions_mask_SKReleaseFB, &hf_x11_xkb_SetControls_accessXOptions_mask_SKRejectFB, &hf_x11_xkb_SetControls_accessXOptions_mask_BKRejectFB, &hf_x11_xkb_SetControls_accessXOptions_mask_DumbBell, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_accessXOptions, ett_x11_rectangle, accessXOptions_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const affectEnabledControls_bits [] = { &hf_x11_xkb_SetControls_affectEnabledControls_mask_RepeatKeys, &hf_x11_xkb_SetControls_affectEnabledControls_mask_SlowKeys, &hf_x11_xkb_SetControls_affectEnabledControls_mask_BounceKeys, &hf_x11_xkb_SetControls_affectEnabledControls_mask_StickyKeys, &hf_x11_xkb_SetControls_affectEnabledControls_mask_MouseKeys, &hf_x11_xkb_SetControls_affectEnabledControls_mask_MouseKeysAccel, &hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXKeys, &hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXTimeoutMask, &hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXFeedbackMask, &hf_x11_xkb_SetControls_affectEnabledControls_mask_AudibleBellMask, &hf_x11_xkb_SetControls_affectEnabledControls_mask_Overlay1Mask, &hf_x11_xkb_SetControls_affectEnabledControls_mask_Overlay2Mask, &hf_x11_xkb_SetControls_affectEnabledControls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_affectEnabledControls, ett_x11_rectangle, affectEnabledControls_bits, byte_order); } *offsetp += 4; { int* const enabledControls_bits [] = { &hf_x11_xkb_SetControls_enabledControls_mask_RepeatKeys, &hf_x11_xkb_SetControls_enabledControls_mask_SlowKeys, &hf_x11_xkb_SetControls_enabledControls_mask_BounceKeys, &hf_x11_xkb_SetControls_enabledControls_mask_StickyKeys, &hf_x11_xkb_SetControls_enabledControls_mask_MouseKeys, &hf_x11_xkb_SetControls_enabledControls_mask_MouseKeysAccel, &hf_x11_xkb_SetControls_enabledControls_mask_AccessXKeys, &hf_x11_xkb_SetControls_enabledControls_mask_AccessXTimeoutMask, &hf_x11_xkb_SetControls_enabledControls_mask_AccessXFeedbackMask, &hf_x11_xkb_SetControls_enabledControls_mask_AudibleBellMask, &hf_x11_xkb_SetControls_enabledControls_mask_Overlay1Mask, &hf_x11_xkb_SetControls_enabledControls_mask_Overlay2Mask, &hf_x11_xkb_SetControls_enabledControls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_enabledControls, ett_x11_rectangle, enabledControls_bits, byte_order); } *offsetp += 4; { int* const changeControls_bits [] = { &hf_x11_xkb_SetControls_changeControls_mask_GroupsWrap, &hf_x11_xkb_SetControls_changeControls_mask_InternalMods, &hf_x11_xkb_SetControls_changeControls_mask_IgnoreLockMods, &hf_x11_xkb_SetControls_changeControls_mask_PerKeyRepeat, &hf_x11_xkb_SetControls_changeControls_mask_ControlsEnabled, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_changeControls, ett_x11_rectangle, changeControls_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetControls_repeatDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_repeatInterval, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_slowKeysDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_debounceDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_mouseKeysDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_mouseKeysInterval, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_mouseKeysTimeToMax, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_mouseKeysMaxSpeed, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_mouseKeysCurve, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetControls_accessXTimeout, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const accessXTimeoutMask_bits [] = { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_RepeatKeys, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_SlowKeys, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_BounceKeys, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_StickyKeys, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_MouseKeys, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_MouseKeysAccel, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXKeys, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXTimeoutMask, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXFeedbackMask, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AudibleBellMask, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_Overlay1Mask, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_Overlay2Mask, &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_accessXTimeoutMask, ett_x11_rectangle, accessXTimeoutMask_bits, byte_order); } *offsetp += 4; { int* const accessXTimeoutValues_bits [] = { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_RepeatKeys, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_SlowKeys, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_BounceKeys, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_StickyKeys, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_MouseKeys, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_MouseKeysAccel, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXKeys, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXTimeoutMask, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXFeedbackMask, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AudibleBellMask, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_Overlay1Mask, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_Overlay2Mask, &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_accessXTimeoutValues, ett_x11_rectangle, accessXTimeoutValues_bits, byte_order); } *offsetp += 4; { int* const accessXTimeoutOptionsMask_bits [] = { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKPressFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKAcceptFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_FeatureFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SlowWarnFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_IndicatorFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_StickyKeysFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_TwoKeys, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_LatchToLock, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKReleaseFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKRejectFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_BKRejectFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_DumbBell, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_accessXTimeoutOptionsMask, ett_x11_rectangle, accessXTimeoutOptionsMask_bits, byte_order); } *offsetp += 2; { int* const accessXTimeoutOptionsValues_bits [] = { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKPressFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKAcceptFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_FeatureFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SlowWarnFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_IndicatorFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_StickyKeysFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_TwoKeys, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_LatchToLock, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKReleaseFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKRejectFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_BKRejectFB, &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_DumbBell, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetControls_accessXTimeoutOptionsValues, ett_x11_rectangle, accessXTimeoutOptionsValues_bits, byte_order); } *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xkb_SetControls_perKeyRepeat, 32, byte_order); length -= 32 * 1; } static void xkbGetMap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetMap_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const full_bits [] = { &hf_x11_xkb_GetMap_full_mask_KeyTypes, &hf_x11_xkb_GetMap_full_mask_KeySyms, &hf_x11_xkb_GetMap_full_mask_ModifierMap, &hf_x11_xkb_GetMap_full_mask_ExplicitComponents, &hf_x11_xkb_GetMap_full_mask_KeyActions, &hf_x11_xkb_GetMap_full_mask_KeyBehaviors, &hf_x11_xkb_GetMap_full_mask_VirtualMods, &hf_x11_xkb_GetMap_full_mask_VirtualModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetMap_full, ett_x11_rectangle, full_bits, byte_order); } *offsetp += 2; { int* const partial_bits [] = { &hf_x11_xkb_GetMap_partial_mask_KeyTypes, &hf_x11_xkb_GetMap_partial_mask_KeySyms, &hf_x11_xkb_GetMap_partial_mask_ModifierMap, &hf_x11_xkb_GetMap_partial_mask_ExplicitComponents, &hf_x11_xkb_GetMap_partial_mask_KeyActions, &hf_x11_xkb_GetMap_partial_mask_KeyBehaviors, &hf_x11_xkb_GetMap_partial_mask_VirtualMods, &hf_x11_xkb_GetMap_partial_mask_VirtualModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetMap_partial, ett_x11_rectangle, partial_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetMap_firstType, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_firstKeySym, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_nKeySyms, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_firstKeyAction, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_nKeyActions, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_firstKeyBehavior, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_nKeyBehaviors, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const virtualMods_bits [] = { &hf_x11_xkb_GetMap_virtualMods_mask_0, &hf_x11_xkb_GetMap_virtualMods_mask_1, &hf_x11_xkb_GetMap_virtualMods_mask_2, &hf_x11_xkb_GetMap_virtualMods_mask_3, &hf_x11_xkb_GetMap_virtualMods_mask_4, &hf_x11_xkb_GetMap_virtualMods_mask_5, &hf_x11_xkb_GetMap_virtualMods_mask_6, &hf_x11_xkb_GetMap_virtualMods_mask_7, &hf_x11_xkb_GetMap_virtualMods_mask_8, &hf_x11_xkb_GetMap_virtualMods_mask_9, &hf_x11_xkb_GetMap_virtualMods_mask_10, &hf_x11_xkb_GetMap_virtualMods_mask_11, &hf_x11_xkb_GetMap_virtualMods_mask_12, &hf_x11_xkb_GetMap_virtualMods_mask_13, &hf_x11_xkb_GetMap_virtualMods_mask_14, &hf_x11_xkb_GetMap_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetMap_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetMap_firstKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_nKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_firstModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_nModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_firstVModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_nVModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xkbGetMap_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_present; int f_nTypes; int f_nKeySyms; int f_totalActions; int f_nKeyActions; int f_totalKeyBehaviors; int f_totalKeyExplicit; int f_totalModMapKeys; int f_totalVModMapKeys; int f_virtualMods; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetMap"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetMap)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_minKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_maxKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_present = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const present_bits [] = { &hf_x11_xkb_GetMap_reply_present_mask_KeyTypes, &hf_x11_xkb_GetMap_reply_present_mask_KeySyms, &hf_x11_xkb_GetMap_reply_present_mask_ModifierMap, &hf_x11_xkb_GetMap_reply_present_mask_ExplicitComponents, &hf_x11_xkb_GetMap_reply_present_mask_KeyActions, &hf_x11_xkb_GetMap_reply_present_mask_KeyBehaviors, &hf_x11_xkb_GetMap_reply_present_mask_VirtualMods, &hf_x11_xkb_GetMap_reply_present_mask_VirtualModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetMap_reply_present, ett_x11_rectangle, present_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_firstType, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nTypes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_totalTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_firstKeySym, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_totalSyms, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nKeySyms = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_nKeySyms, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_firstKeyAction, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalActions = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_totalActions, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nKeyActions = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_nKeyActions, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_firstKeyBehavior, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_nKeyBehaviors, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalKeyBehaviors = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_totalKeyBehaviors, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_firstKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_nKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalKeyExplicit = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_totalKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_firstModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_nModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalModMapKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_totalModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_firstVModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_nVModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalVModMapKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetMap_reply_totalVModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; f_virtualMods = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const virtualMods_bits [] = { &hf_x11_xkb_GetMap_reply_virtualMods_mask_0, &hf_x11_xkb_GetMap_reply_virtualMods_mask_1, &hf_x11_xkb_GetMap_reply_virtualMods_mask_2, &hf_x11_xkb_GetMap_reply_virtualMods_mask_3, &hf_x11_xkb_GetMap_reply_virtualMods_mask_4, &hf_x11_xkb_GetMap_reply_virtualMods_mask_5, &hf_x11_xkb_GetMap_reply_virtualMods_mask_6, &hf_x11_xkb_GetMap_reply_virtualMods_mask_7, &hf_x11_xkb_GetMap_reply_virtualMods_mask_8, &hf_x11_xkb_GetMap_reply_virtualMods_mask_9, &hf_x11_xkb_GetMap_reply_virtualMods_mask_10, &hf_x11_xkb_GetMap_reply_virtualMods_mask_11, &hf_x11_xkb_GetMap_reply_virtualMods_mask_12, &hf_x11_xkb_GetMap_reply_virtualMods_mask_13, &hf_x11_xkb_GetMap_reply_virtualMods_mask_14, &hf_x11_xkb_GetMap_reply_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetMap_reply_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; if (f_present & (1U << 0)) { struct_xkb_KeyType(tvb, offsetp, t, byte_order, f_nTypes); } if (f_present & (1U << 1)) { struct_xkb_KeySymMap(tvb, offsetp, t, byte_order, f_nKeySyms); } if (f_present & (1U << 4)) { listOfByte(tvb, offsetp, t, hf_x11_xkb_GetMap_reply_KeyActions_acts_rtrn_count, f_nKeyActions, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } struct_xkb_Action(tvb, offsetp, t, byte_order, f_totalActions); } if (f_present & (1U << 5)) { struct_xkb_SetBehavior(tvb, offsetp, t, byte_order, f_totalKeyBehaviors); } if (f_present & (1U << 6)) { listOfByte(tvb, offsetp, t, hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn, ws_count_ones(f_virtualMods), byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_present & (1U << 3)) { struct_xkb_SetExplicit(tvb, offsetp, t, byte_order, f_totalKeyExplicit); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_present & (1U << 2)) { struct_xkb_KeyModMap(tvb, offsetp, t, byte_order, f_totalModMapKeys); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_present & (1U << 7)) { struct_xkb_KeyVModMap(tvb, offsetp, t, byte_order, f_totalVModMapKeys); } } static void xkbSetMap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_present; int f_nTypes; int f_nKeySyms; int f_nKeyActions; int f_totalActions; int f_totalKeyBehaviors; int f_totalKeyExplicit; int f_totalModMapKeys; int f_totalVModMapKeys; int f_virtualMods; proto_tree_add_item(t, hf_x11_xkb_SetMap_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_present = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const present_bits [] = { &hf_x11_xkb_SetMap_present_mask_KeyTypes, &hf_x11_xkb_SetMap_present_mask_KeySyms, &hf_x11_xkb_SetMap_present_mask_ModifierMap, &hf_x11_xkb_SetMap_present_mask_ExplicitComponents, &hf_x11_xkb_SetMap_present_mask_KeyActions, &hf_x11_xkb_SetMap_present_mask_KeyBehaviors, &hf_x11_xkb_SetMap_present_mask_VirtualMods, &hf_x11_xkb_SetMap_present_mask_VirtualModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetMap_present, ett_x11_rectangle, present_bits, byte_order); } *offsetp += 2; { int* const flags_bits [] = { &hf_x11_xkb_SetMap_flags_mask_ResizeTypes, &hf_x11_xkb_SetMap_flags_mask_RecomputeActions, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetMap_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetMap_minKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_maxKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_firstType, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nTypes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetMap_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_firstKeySym, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nKeySyms = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetMap_nKeySyms, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_totalSyms, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetMap_firstKeyAction, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nKeyActions = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetMap_nKeyActions, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalActions = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_SetMap_totalActions, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetMap_firstKeyBehavior, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_nKeyBehaviors, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalKeyBehaviors = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetMap_totalKeyBehaviors, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_firstKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_nKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalKeyExplicit = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetMap_totalKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_firstModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_nModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalModMapKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetMap_totalModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_firstVModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetMap_nVModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalVModMapKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetMap_totalVModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_virtualMods = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const virtualMods_bits [] = { &hf_x11_xkb_SetMap_virtualMods_mask_0, &hf_x11_xkb_SetMap_virtualMods_mask_1, &hf_x11_xkb_SetMap_virtualMods_mask_2, &hf_x11_xkb_SetMap_virtualMods_mask_3, &hf_x11_xkb_SetMap_virtualMods_mask_4, &hf_x11_xkb_SetMap_virtualMods_mask_5, &hf_x11_xkb_SetMap_virtualMods_mask_6, &hf_x11_xkb_SetMap_virtualMods_mask_7, &hf_x11_xkb_SetMap_virtualMods_mask_8, &hf_x11_xkb_SetMap_virtualMods_mask_9, &hf_x11_xkb_SetMap_virtualMods_mask_10, &hf_x11_xkb_SetMap_virtualMods_mask_11, &hf_x11_xkb_SetMap_virtualMods_mask_12, &hf_x11_xkb_SetMap_virtualMods_mask_13, &hf_x11_xkb_SetMap_virtualMods_mask_14, &hf_x11_xkb_SetMap_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetMap_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; if (f_present & (1U << 0)) { struct_xkb_SetKeyType(tvb, offsetp, t, byte_order, f_nTypes); length -= f_nTypes * 0; } if (f_present & (1U << 1)) { struct_xkb_KeySymMap(tvb, offsetp, t, byte_order, f_nKeySyms); length -= f_nKeySyms * 0; } if (f_present & (1U << 4)) { listOfByte(tvb, offsetp, t, hf_x11_xkb_SetMap_KeyActions_actionsCount, f_nKeyActions, byte_order); length -= f_nKeyActions * 1; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); struct_xkb_Action(tvb, offsetp, t, byte_order, f_totalActions); length -= f_totalActions * 8; } if (f_present & (1U << 5)) { struct_xkb_SetBehavior(tvb, offsetp, t, byte_order, f_totalKeyBehaviors); length -= f_totalKeyBehaviors * 4; } if (f_present & (1U << 6)) { listOfByte(tvb, offsetp, t, hf_x11_xkb_SetMap_VirtualMods_vmods, ws_count_ones(f_virtualMods), byte_order); length -= ws_count_ones(f_virtualMods) * 1; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); } if (f_present & (1U << 3)) { struct_xkb_SetExplicit(tvb, offsetp, t, byte_order, f_totalKeyExplicit); length -= f_totalKeyExplicit * 2; } if (f_present & (1U << 2)) { struct_xkb_KeyModMap(tvb, offsetp, t, byte_order, f_totalModMapKeys); length -= f_totalModMapKeys * 2; } if (f_present & (1U << 7)) { struct_xkb_KeyVModMap(tvb, offsetp, t, byte_order, f_totalVModMapKeys); length -= f_totalVModMapKeys * 4; } } static void xkbGetCompatMap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetCompatMap_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const groups_bits [] = { &hf_x11_xkb_GetCompatMap_groups_mask_Group1, &hf_x11_xkb_GetCompatMap_groups_mask_Group2, &hf_x11_xkb_GetCompatMap_groups_mask_Group3, &hf_x11_xkb_GetCompatMap_groups_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetCompatMap_groups, ett_x11_rectangle, groups_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetCompatMap_getAllSI, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetCompatMap_firstSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetCompatMap_nSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xkbGetCompatMap_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_groupsRtrn; int f_nSIRtrn; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetCompatMap"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetCompatMap_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetCompatMap)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_groupsRtrn = tvb_get_guint8(tvb, *offsetp); { int* const groupsRtrn_bits [] = { &hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group1, &hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group2, &hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group3, &hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetCompatMap_reply_groupsRtrn, ett_x11_rectangle, groupsRtrn_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetCompatMap_reply_firstSIRtrn, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nSIRtrn = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetCompatMap_reply_nSIRtrn, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetCompatMap_reply_nTotalSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; struct_xkb_SymInterpret(tvb, offsetp, t, byte_order, f_nSIRtrn); struct_xkb_ModDef(tvb, offsetp, t, byte_order, ws_count_ones(f_groupsRtrn)); } static void xkbSetCompatMap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_groups; int f_nSI; proto_tree_add_item(t, hf_x11_xkb_SetCompatMap_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetCompatMap_recomputeActions, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetCompatMap_truncateSI, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_groups = tvb_get_guint8(tvb, *offsetp); { int* const groups_bits [] = { &hf_x11_xkb_SetCompatMap_groups_mask_Group1, &hf_x11_xkb_SetCompatMap_groups_mask_Group2, &hf_x11_xkb_SetCompatMap_groups_mask_Group3, &hf_x11_xkb_SetCompatMap_groups_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetCompatMap_groups, ett_x11_rectangle, groups_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetCompatMap_firstSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nSI = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_SetCompatMap_nSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; struct_xkb_SymInterpret(tvb, offsetp, t, byte_order, f_nSI); length -= f_nSI * 16; struct_xkb_ModDef(tvb, offsetp, t, byte_order, ws_count_ones(f_groups)); length -= ws_count_ones(f_groups) * 4; } static void xkbGetIndicatorState(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetIndicatorState_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xkbGetIndicatorState_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetIndicatorState"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetIndicatorState_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetIndicatorState)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetIndicatorState_reply_state, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; } static void xkbGetIndicatorMap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetIndicatorMap_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetIndicatorMap_which, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xkbGetIndicatorMap_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_which; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetIndicatorMap"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetIndicatorMap_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetIndicatorMap)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_which = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetIndicatorMap_reply_which, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetIndicatorMap_reply_realIndicators, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetIndicatorMap_reply_nIndicators, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; struct_xkb_IndicatorMap(tvb, offsetp, t, byte_order, ws_count_ones(f_which)); } static void xkbSetIndicatorMap(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_which; proto_tree_add_item(t, hf_x11_xkb_SetIndicatorMap_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; f_which = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_SetIndicatorMap_which, tvb, *offsetp, 4, byte_order); *offsetp += 4; struct_xkb_IndicatorMap(tvb, offsetp, t, byte_order, ws_count_ones(f_which)); length -= ws_count_ones(f_which) * 12; } static void xkbGetNamedIndicator(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; field16(tvb, offsetp, t, hf_x11_xkb_GetNamedIndicator_ledClass, byte_order); field16(tvb, offsetp, t, hf_x11_xkb_GetNamedIndicator_ledID, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_indicator, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xkbGetNamedIndicator_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetNamedIndicator"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetNamedIndicator)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_reply_indicator, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_reply_found, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_reply_on, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_reply_realIndicator, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_reply_ndx, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const map_flags_bits [] = { &hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_LEDDrivesKB, &hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_NoAutomatic, &hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_NoExplicit, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNamedIndicator_reply_map_flags, ett_x11_rectangle, map_flags_bits, byte_order); } *offsetp += 1; { int* const map_whichGroups_bits [] = { &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseBase, &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseLatched, &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseLocked, &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseEffective, &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseCompat, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups, ett_x11_rectangle, map_whichGroups_bits, byte_order); } *offsetp += 1; { int* const map_groups_bits [] = { &hf_x11_xkb_GetNamedIndicator_reply_map_groups_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNamedIndicator_reply_map_groups, ett_x11_rectangle, map_groups_bits, byte_order); } *offsetp += 1; { int* const map_whichMods_bits [] = { &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseBase, &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseLatched, &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseLocked, &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseEffective, &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseCompat, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNamedIndicator_reply_map_whichMods, ett_x11_rectangle, map_whichMods_bits, byte_order); } *offsetp += 1; { int* const map_mods_bits [] = { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Shift, &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Lock, &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Control, &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_1, &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_2, &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_3, &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_4, &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_5, &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNamedIndicator_reply_map_mods, ett_x11_rectangle, map_mods_bits, byte_order); } *offsetp += 1; { int* const map_realMods_bits [] = { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Shift, &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Lock, &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Control, &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_1, &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_2, &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_3, &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_4, &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_5, &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNamedIndicator_reply_map_realMods, ett_x11_rectangle, map_realMods_bits, byte_order); } *offsetp += 1; { int* const map_vmod_bits [] = { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_0, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_1, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_2, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_3, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_4, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_5, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_6, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_7, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_8, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_9, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_10, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_11, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_12, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_13, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_14, &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNamedIndicator_reply_map_vmod, ett_x11_rectangle, map_vmod_bits, byte_order); } *offsetp += 2; { int* const map_ctrls_bits [] = { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_RepeatKeys, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_SlowKeys, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_BounceKeys, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_StickyKeys, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_MouseKeys, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_MouseKeysAccel, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXKeys, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXTimeoutMask, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXFeedbackMask, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AudibleBellMask, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_Overlay1Mask, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_Overlay2Mask, &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNamedIndicator_reply_map_ctrls, ett_x11_rectangle, map_ctrls_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetNamedIndicator_reply_supported, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xkbSetNamedIndicator(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_SetNamedIndicator_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; field16(tvb, offsetp, t, hf_x11_xkb_SetNamedIndicator_ledClass, byte_order); field16(tvb, offsetp, t, hf_x11_xkb_SetNamedIndicator_ledID, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetNamedIndicator_indicator, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetNamedIndicator_setState, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetNamedIndicator_on, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetNamedIndicator_setMap, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetNamedIndicator_createMap, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; { int* const map_flags_bits [] = { &hf_x11_xkb_SetNamedIndicator_map_flags_mask_LEDDrivesKB, &hf_x11_xkb_SetNamedIndicator_map_flags_mask_NoAutomatic, &hf_x11_xkb_SetNamedIndicator_map_flags_mask_NoExplicit, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNamedIndicator_map_flags, ett_x11_rectangle, map_flags_bits, byte_order); } *offsetp += 1; { int* const map_whichGroups_bits [] = { &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseBase, &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseLatched, &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseLocked, &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseEffective, &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseCompat, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNamedIndicator_map_whichGroups, ett_x11_rectangle, map_whichGroups_bits, byte_order); } *offsetp += 1; { int* const map_groups_bits [] = { &hf_x11_xkb_SetNamedIndicator_map_groups_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNamedIndicator_map_groups, ett_x11_rectangle, map_groups_bits, byte_order); } *offsetp += 1; { int* const map_whichMods_bits [] = { &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseBase, &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseLatched, &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseLocked, &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseEffective, &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseCompat, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNamedIndicator_map_whichMods, ett_x11_rectangle, map_whichMods_bits, byte_order); } *offsetp += 1; { int* const map_realMods_bits [] = { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Shift, &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Lock, &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Control, &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_1, &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_2, &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_3, &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_4, &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_5, &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNamedIndicator_map_realMods, ett_x11_rectangle, map_realMods_bits, byte_order); } *offsetp += 1; { int* const map_vmods_bits [] = { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_0, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_1, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_2, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_3, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_4, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_5, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_6, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_7, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_8, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_9, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_10, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_11, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_12, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_13, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_14, &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNamedIndicator_map_vmods, ett_x11_rectangle, map_vmods_bits, byte_order); } *offsetp += 2; { int* const map_ctrls_bits [] = { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_RepeatKeys, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_SlowKeys, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_BounceKeys, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_StickyKeys, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_MouseKeys, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_MouseKeysAccel, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXKeys, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXTimeoutMask, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXFeedbackMask, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AudibleBellMask, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_Overlay1Mask, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_Overlay2Mask, &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNamedIndicator_map_ctrls, ett_x11_rectangle, map_ctrls_bits, byte_order); } *offsetp += 4; } static void xkbGetNames(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetNames_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const which_bits [] = { &hf_x11_xkb_GetNames_which_mask_Keycodes, &hf_x11_xkb_GetNames_which_mask_Geometry, &hf_x11_xkb_GetNames_which_mask_Symbols, &hf_x11_xkb_GetNames_which_mask_PhysSymbols, &hf_x11_xkb_GetNames_which_mask_Types, &hf_x11_xkb_GetNames_which_mask_Compat, &hf_x11_xkb_GetNames_which_mask_KeyTypeNames, &hf_x11_xkb_GetNames_which_mask_KTLevelNames, &hf_x11_xkb_GetNames_which_mask_IndicatorNames, &hf_x11_xkb_GetNames_which_mask_KeyNames, &hf_x11_xkb_GetNames_which_mask_KeyAliases, &hf_x11_xkb_GetNames_which_mask_VirtualModNames, &hf_x11_xkb_GetNames_which_mask_GroupNames, &hf_x11_xkb_GetNames_which_mask_RGNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNames_which, ett_x11_rectangle, which_bits, byte_order); } *offsetp += 4; } static void xkbGetNames_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_which; int f_nTypes; int f_groupNames; int f_virtualMods; int f_nKeys; int f_indicators; int f_nRadioGroups; int f_nKeyAliases; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetNames"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetNames)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_which = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const which_bits [] = { &hf_x11_xkb_GetNames_reply_which_mask_Keycodes, &hf_x11_xkb_GetNames_reply_which_mask_Geometry, &hf_x11_xkb_GetNames_reply_which_mask_Symbols, &hf_x11_xkb_GetNames_reply_which_mask_PhysSymbols, &hf_x11_xkb_GetNames_reply_which_mask_Types, &hf_x11_xkb_GetNames_reply_which_mask_Compat, &hf_x11_xkb_GetNames_reply_which_mask_KeyTypeNames, &hf_x11_xkb_GetNames_reply_which_mask_KTLevelNames, &hf_x11_xkb_GetNames_reply_which_mask_IndicatorNames, &hf_x11_xkb_GetNames_reply_which_mask_KeyNames, &hf_x11_xkb_GetNames_reply_which_mask_KeyAliases, &hf_x11_xkb_GetNames_reply_which_mask_VirtualModNames, &hf_x11_xkb_GetNames_reply_which_mask_GroupNames, &hf_x11_xkb_GetNames_reply_which_mask_RGNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNames_reply_which, ett_x11_rectangle, which_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_minKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_maxKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nTypes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_groupNames = tvb_get_guint8(tvb, *offsetp); { int* const groupNames_bits [] = { &hf_x11_xkb_GetNames_reply_groupNames_mask_Group1, &hf_x11_xkb_GetNames_reply_groupNames_mask_Group2, &hf_x11_xkb_GetNames_reply_groupNames_mask_Group3, &hf_x11_xkb_GetNames_reply_groupNames_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNames_reply_groupNames, ett_x11_rectangle, groupNames_bits, byte_order); } *offsetp += 1; f_virtualMods = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const virtualMods_bits [] = { &hf_x11_xkb_GetNames_reply_virtualMods_mask_0, &hf_x11_xkb_GetNames_reply_virtualMods_mask_1, &hf_x11_xkb_GetNames_reply_virtualMods_mask_2, &hf_x11_xkb_GetNames_reply_virtualMods_mask_3, &hf_x11_xkb_GetNames_reply_virtualMods_mask_4, &hf_x11_xkb_GetNames_reply_virtualMods_mask_5, &hf_x11_xkb_GetNames_reply_virtualMods_mask_6, &hf_x11_xkb_GetNames_reply_virtualMods_mask_7, &hf_x11_xkb_GetNames_reply_virtualMods_mask_8, &hf_x11_xkb_GetNames_reply_virtualMods_mask_9, &hf_x11_xkb_GetNames_reply_virtualMods_mask_10, &hf_x11_xkb_GetNames_reply_virtualMods_mask_11, &hf_x11_xkb_GetNames_reply_virtualMods_mask_12, &hf_x11_xkb_GetNames_reply_virtualMods_mask_13, &hf_x11_xkb_GetNames_reply_virtualMods_mask_14, &hf_x11_xkb_GetNames_reply_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetNames_reply_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_firstKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_nKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_indicators = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_indicators, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nRadioGroups = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_nRadioGroups, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nKeyAliases = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_nKeyAliases, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_nKTLevels, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; if (f_which & (1U << 0)) { proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_Keycodes_keycodesName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 1)) { proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_Geometry_geometryName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 2)) { proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_Symbols_symbolsName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 3)) { proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_PhysSymbols_physSymbolsName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 4)) { proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_Types_typesName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 5)) { proto_tree_add_item(t, hf_x11_xkb_GetNames_reply_Compat_compatName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 6)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetNames_reply_KeyTypeNames_typeNames, hf_x11_xkb_GetNames_reply_KeyTypeNames_typeNames_item, f_nTypes, byte_order); } if (f_which & (1U << 7)) { int sumof_nLevelsPerType = 0; { int i; for (i = 0; i < f_nTypes; i++) { sumof_nLevelsPerType += tvb_get_guint8(tvb, *offsetp + i * 1); } } listOfByte(tvb, offsetp, t, hf_x11_xkb_GetNames_reply_KTLevelNames_nLevelsPerType, f_nTypes, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetNames_reply_KTLevelNames_ktLevelNames, hf_x11_xkb_GetNames_reply_KTLevelNames_ktLevelNames_item, sumof_nLevelsPerType, byte_order); } if (f_which & (1U << 8)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetNames_reply_IndicatorNames_indicatorNames, hf_x11_xkb_GetNames_reply_IndicatorNames_indicatorNames_item, ws_count_ones(f_indicators), byte_order); } if (f_which & (1U << 11)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetNames_reply_VirtualModNames_virtualModNames, hf_x11_xkb_GetNames_reply_VirtualModNames_virtualModNames_item, ws_count_ones(f_virtualMods), byte_order); } if (f_which & (1U << 12)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetNames_reply_GroupNames_groups, hf_x11_xkb_GetNames_reply_GroupNames_groups_item, ws_count_ones(f_groupNames), byte_order); } if (f_which & (1U << 9)) { struct_xkb_KeyName(tvb, offsetp, t, byte_order, f_nKeys); } if (f_which & (1U << 10)) { struct_xkb_KeyAlias(tvb, offsetp, t, byte_order, f_nKeyAliases); } if (f_which & (1U << 13)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetNames_reply_RGNames_radioGroupNames, hf_x11_xkb_GetNames_reply_RGNames_radioGroupNames_item, f_nRadioGroups, byte_order); } } static void xkbSetNames(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_virtualMods; int f_which; int f_nTypes; int f_indicators; int f_groupNames; int f_nRadioGroups; int f_nKeys; int f_nKeyAliases; proto_tree_add_item(t, hf_x11_xkb_SetNames_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_virtualMods = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const virtualMods_bits [] = { &hf_x11_xkb_SetNames_virtualMods_mask_0, &hf_x11_xkb_SetNames_virtualMods_mask_1, &hf_x11_xkb_SetNames_virtualMods_mask_2, &hf_x11_xkb_SetNames_virtualMods_mask_3, &hf_x11_xkb_SetNames_virtualMods_mask_4, &hf_x11_xkb_SetNames_virtualMods_mask_5, &hf_x11_xkb_SetNames_virtualMods_mask_6, &hf_x11_xkb_SetNames_virtualMods_mask_7, &hf_x11_xkb_SetNames_virtualMods_mask_8, &hf_x11_xkb_SetNames_virtualMods_mask_9, &hf_x11_xkb_SetNames_virtualMods_mask_10, &hf_x11_xkb_SetNames_virtualMods_mask_11, &hf_x11_xkb_SetNames_virtualMods_mask_12, &hf_x11_xkb_SetNames_virtualMods_mask_13, &hf_x11_xkb_SetNames_virtualMods_mask_14, &hf_x11_xkb_SetNames_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNames_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; f_which = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const which_bits [] = { &hf_x11_xkb_SetNames_which_mask_Keycodes, &hf_x11_xkb_SetNames_which_mask_Geometry, &hf_x11_xkb_SetNames_which_mask_Symbols, &hf_x11_xkb_SetNames_which_mask_PhysSymbols, &hf_x11_xkb_SetNames_which_mask_Types, &hf_x11_xkb_SetNames_which_mask_Compat, &hf_x11_xkb_SetNames_which_mask_KeyTypeNames, &hf_x11_xkb_SetNames_which_mask_KTLevelNames, &hf_x11_xkb_SetNames_which_mask_IndicatorNames, &hf_x11_xkb_SetNames_which_mask_KeyNames, &hf_x11_xkb_SetNames_which_mask_KeyAliases, &hf_x11_xkb_SetNames_which_mask_VirtualModNames, &hf_x11_xkb_SetNames_which_mask_GroupNames, &hf_x11_xkb_SetNames_which_mask_RGNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNames_which, ett_x11_rectangle, which_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetNames_firstType, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nTypes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetNames_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetNames_firstKTLevelt, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetNames_nKTLevels, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_indicators = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_SetNames_indicators, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_groupNames = tvb_get_guint8(tvb, *offsetp); { int* const groupNames_bits [] = { &hf_x11_xkb_SetNames_groupNames_mask_Group1, &hf_x11_xkb_SetNames_groupNames_mask_Group2, &hf_x11_xkb_SetNames_groupNames_mask_Group3, &hf_x11_xkb_SetNames_groupNames_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetNames_groupNames, ett_x11_rectangle, groupNames_bits, byte_order); } *offsetp += 1; f_nRadioGroups = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetNames_nRadioGroups, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetNames_firstKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetNames_nKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nKeyAliases = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetNames_nKeyAliases, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_SetNames_totalKTLevelNames, tvb, *offsetp, 2, byte_order); *offsetp += 2; if (f_which & (1U << 0)) { proto_tree_add_item(t, hf_x11_xkb_SetNames_Keycodes_keycodesName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 1)) { proto_tree_add_item(t, hf_x11_xkb_SetNames_Geometry_geometryName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 2)) { proto_tree_add_item(t, hf_x11_xkb_SetNames_Symbols_symbolsName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 3)) { proto_tree_add_item(t, hf_x11_xkb_SetNames_PhysSymbols_physSymbolsName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 4)) { proto_tree_add_item(t, hf_x11_xkb_SetNames_Types_typesName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 5)) { proto_tree_add_item(t, hf_x11_xkb_SetNames_Compat_compatName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 6)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_SetNames_KeyTypeNames_typeNames, hf_x11_xkb_SetNames_KeyTypeNames_typeNames_item, f_nTypes, byte_order); length -= f_nTypes * 4; } if (f_which & (1U << 7)) { int sumof_nLevelsPerType = 0; { int i; for (i = 0; i < f_nTypes; i++) { sumof_nLevelsPerType += tvb_get_guint8(tvb, *offsetp + i * 1); } } listOfByte(tvb, offsetp, t, hf_x11_xkb_SetNames_KTLevelNames_nLevelsPerType, f_nTypes, byte_order); length -= f_nTypes * 1; if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } length = ((length + 3) & ~3); listOfCard32(tvb, offsetp, t, hf_x11_xkb_SetNames_KTLevelNames_ktLevelNames, hf_x11_xkb_SetNames_KTLevelNames_ktLevelNames_item, sumof_nLevelsPerType, byte_order); length -= sumof_nLevelsPerType * 4; } if (f_which & (1U << 8)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_SetNames_IndicatorNames_indicatorNames, hf_x11_xkb_SetNames_IndicatorNames_indicatorNames_item, ws_count_ones(f_indicators), byte_order); length -= ws_count_ones(f_indicators) * 4; } if (f_which & (1U << 11)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_SetNames_VirtualModNames_virtualModNames, hf_x11_xkb_SetNames_VirtualModNames_virtualModNames_item, ws_count_ones(f_virtualMods), byte_order); length -= ws_count_ones(f_virtualMods) * 4; } if (f_which & (1U << 12)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_SetNames_GroupNames_groups, hf_x11_xkb_SetNames_GroupNames_groups_item, ws_count_ones(f_groupNames), byte_order); length -= ws_count_ones(f_groupNames) * 4; } if (f_which & (1U << 9)) { struct_xkb_KeyName(tvb, offsetp, t, byte_order, f_nKeys); length -= f_nKeys * 4; } if (f_which & (1U << 10)) { struct_xkb_KeyAlias(tvb, offsetp, t, byte_order, f_nKeyAliases); length -= f_nKeyAliases * 8; } if (f_which & (1U << 13)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_SetNames_RGNames_radioGroupNames, hf_x11_xkb_SetNames_RGNames_radioGroupNames_item, f_nRadioGroups, byte_order); length -= f_nRadioGroups * 4; } } static void xkbPerClientFlags(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_PerClientFlags_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const change_bits [] = { &hf_x11_xkb_PerClientFlags_change_mask_DetectableAutoRepeat, &hf_x11_xkb_PerClientFlags_change_mask_GrabsUseXKBState, &hf_x11_xkb_PerClientFlags_change_mask_AutoResetControls, &hf_x11_xkb_PerClientFlags_change_mask_LookupStateWhenGrabbed, &hf_x11_xkb_PerClientFlags_change_mask_SendEventUsesXKBState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_change, ett_x11_rectangle, change_bits, byte_order); } *offsetp += 4; { int* const value_bits [] = { &hf_x11_xkb_PerClientFlags_value_mask_DetectableAutoRepeat, &hf_x11_xkb_PerClientFlags_value_mask_GrabsUseXKBState, &hf_x11_xkb_PerClientFlags_value_mask_AutoResetControls, &hf_x11_xkb_PerClientFlags_value_mask_LookupStateWhenGrabbed, &hf_x11_xkb_PerClientFlags_value_mask_SendEventUsesXKBState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_value, ett_x11_rectangle, value_bits, byte_order); } *offsetp += 4; { int* const ctrlsToChange_bits [] = { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_RepeatKeys, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_SlowKeys, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_BounceKeys, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_StickyKeys, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_MouseKeys, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_MouseKeysAccel, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXKeys, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXTimeoutMask, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXFeedbackMask, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AudibleBellMask, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_Overlay1Mask, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_Overlay2Mask, &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_ctrlsToChange, ett_x11_rectangle, ctrlsToChange_bits, byte_order); } *offsetp += 4; { int* const autoCtrls_bits [] = { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_RepeatKeys, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_SlowKeys, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_BounceKeys, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_StickyKeys, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_MouseKeys, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_MouseKeysAccel, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXKeys, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXTimeoutMask, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXFeedbackMask, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_AudibleBellMask, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_Overlay1Mask, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_Overlay2Mask, &hf_x11_xkb_PerClientFlags_autoCtrls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_autoCtrls, ett_x11_rectangle, autoCtrls_bits, byte_order); } *offsetp += 4; { int* const autoCtrlsValues_bits [] = { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_RepeatKeys, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_SlowKeys, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_BounceKeys, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_StickyKeys, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_MouseKeys, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_MouseKeysAccel, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXKeys, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXTimeoutMask, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXFeedbackMask, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AudibleBellMask, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_Overlay1Mask, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_Overlay2Mask, &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_autoCtrlsValues, ett_x11_rectangle, autoCtrlsValues_bits, byte_order); } *offsetp += 4; } static void xkbPerClientFlags_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-PerClientFlags"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_PerClientFlags_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-PerClientFlags)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const supported_bits [] = { &hf_x11_xkb_PerClientFlags_reply_supported_mask_DetectableAutoRepeat, &hf_x11_xkb_PerClientFlags_reply_supported_mask_GrabsUseXKBState, &hf_x11_xkb_PerClientFlags_reply_supported_mask_AutoResetControls, &hf_x11_xkb_PerClientFlags_reply_supported_mask_LookupStateWhenGrabbed, &hf_x11_xkb_PerClientFlags_reply_supported_mask_SendEventUsesXKBState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_reply_supported, ett_x11_rectangle, supported_bits, byte_order); } *offsetp += 4; { int* const value_bits [] = { &hf_x11_xkb_PerClientFlags_reply_value_mask_DetectableAutoRepeat, &hf_x11_xkb_PerClientFlags_reply_value_mask_GrabsUseXKBState, &hf_x11_xkb_PerClientFlags_reply_value_mask_AutoResetControls, &hf_x11_xkb_PerClientFlags_reply_value_mask_LookupStateWhenGrabbed, &hf_x11_xkb_PerClientFlags_reply_value_mask_SendEventUsesXKBState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_reply_value, ett_x11_rectangle, value_bits, byte_order); } *offsetp += 4; { int* const autoCtrls_bits [] = { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_RepeatKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_SlowKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_BounceKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_StickyKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_MouseKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_MouseKeysAccel, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXTimeoutMask, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXFeedbackMask, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AudibleBellMask, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_Overlay1Mask, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_Overlay2Mask, &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_reply_autoCtrls, ett_x11_rectangle, autoCtrls_bits, byte_order); } *offsetp += 4; { int* const autoCtrlsValues_bits [] = { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_RepeatKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_SlowKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_BounceKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_StickyKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_MouseKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_MouseKeysAccel, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXKeys, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXTimeoutMask, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXFeedbackMask, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AudibleBellMask, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_Overlay1Mask, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_Overlay2Mask, &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues, ett_x11_rectangle, autoCtrlsValues_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; } static void xkbListComponents(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_ListComponents_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_ListComponents_maxNames, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xkbListComponents_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_nKeymaps; int f_nKeycodes; int f_nTypes; int f_nCompatMaps; int f_nSymbols; int f_nGeometries; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListComponents"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_ListComponents_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-ListComponents)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nKeymaps = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_ListComponents_reply_nKeymaps, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nKeycodes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_ListComponents_reply_nKeycodes, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nTypes = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_ListComponents_reply_nTypes, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nCompatMaps = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_ListComponents_reply_nCompatMaps, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nSymbols = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_ListComponents_reply_nSymbols, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nGeometries = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_ListComponents_reply_nGeometries, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_ListComponents_reply_extra, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 10, ENC_NA); *offsetp += 10; struct_xkb_Listing(tvb, offsetp, t, byte_order, f_nKeymaps); struct_xkb_Listing(tvb, offsetp, t, byte_order, f_nKeycodes); struct_xkb_Listing(tvb, offsetp, t, byte_order, f_nTypes); struct_xkb_Listing(tvb, offsetp, t, byte_order, f_nCompatMaps); struct_xkb_Listing(tvb, offsetp, t, byte_order, f_nSymbols); struct_xkb_Listing(tvb, offsetp, t, byte_order, f_nGeometries); } static void xkbGetKbdByName(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const need_bits [] = { &hf_x11_xkb_GetKbdByName_need_mask_Types, &hf_x11_xkb_GetKbdByName_need_mask_CompatMap, &hf_x11_xkb_GetKbdByName_need_mask_ClientSymbols, &hf_x11_xkb_GetKbdByName_need_mask_ServerSymbols, &hf_x11_xkb_GetKbdByName_need_mask_IndicatorMaps, &hf_x11_xkb_GetKbdByName_need_mask_KeyNames, &hf_x11_xkb_GetKbdByName_need_mask_Geometry, &hf_x11_xkb_GetKbdByName_need_mask_OtherNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_need, ett_x11_rectangle, need_bits, byte_order); } *offsetp += 2; { int* const want_bits [] = { &hf_x11_xkb_GetKbdByName_want_mask_Types, &hf_x11_xkb_GetKbdByName_want_mask_CompatMap, &hf_x11_xkb_GetKbdByName_want_mask_ClientSymbols, &hf_x11_xkb_GetKbdByName_want_mask_ServerSymbols, &hf_x11_xkb_GetKbdByName_want_mask_IndicatorMaps, &hf_x11_xkb_GetKbdByName_want_mask_KeyNames, &hf_x11_xkb_GetKbdByName_want_mask_Geometry, &hf_x11_xkb_GetKbdByName_want_mask_OtherNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_want, ett_x11_rectangle, want_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_load, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; } static void xkbGetKbdByName_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_reported; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetKbdByName"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetKbdByName)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_minKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_maxKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_loaded, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_newKeyboard, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const found_bits [] = { &hf_x11_xkb_GetKbdByName_reply_found_mask_Types, &hf_x11_xkb_GetKbdByName_reply_found_mask_CompatMap, &hf_x11_xkb_GetKbdByName_reply_found_mask_ClientSymbols, &hf_x11_xkb_GetKbdByName_reply_found_mask_ServerSymbols, &hf_x11_xkb_GetKbdByName_reply_found_mask_IndicatorMaps, &hf_x11_xkb_GetKbdByName_reply_found_mask_KeyNames, &hf_x11_xkb_GetKbdByName_reply_found_mask_Geometry, &hf_x11_xkb_GetKbdByName_reply_found_mask_OtherNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_reply_found, ett_x11_rectangle, found_bits, byte_order); } *offsetp += 2; f_reported = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const reported_bits [] = { &hf_x11_xkb_GetKbdByName_reply_reported_mask_Types, &hf_x11_xkb_GetKbdByName_reply_reported_mask_CompatMap, &hf_x11_xkb_GetKbdByName_reply_reported_mask_ClientSymbols, &hf_x11_xkb_GetKbdByName_reply_reported_mask_ServerSymbols, &hf_x11_xkb_GetKbdByName_reply_reported_mask_IndicatorMaps, &hf_x11_xkb_GetKbdByName_reply_reported_mask_KeyNames, &hf_x11_xkb_GetKbdByName_reply_reported_mask_Geometry, &hf_x11_xkb_GetKbdByName_reply_reported_mask_OtherNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_reply_reported, ett_x11_rectangle, reported_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; if ((f_reported & (1U << 0)) || (f_reported & (1U << 2)) || (f_reported & (1U << 3))) { int f_present; int f_nTypes; int f_nKeySyms; int f_totalActions; int f_nKeyActions; int f_totalKeyBehaviors; int f_totalKeyExplicit; int f_totalModMapKeys; int f_totalVModMapKeys; int f_virtualMods; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_getmap_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_typeDeviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_getmap_sequence, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_getmap_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_typeMinKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_typeMaxKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_present = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const present_bits [] = { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyTypes, &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeySyms, &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_ModifierMap, &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_ExplicitComponents, &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyActions, &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyBehaviors, &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_VirtualMods, &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_VirtualModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_reply_Types_present, ett_x11_rectangle, present_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_firstType, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nTypes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_totalTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_firstKeySym, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_totalSyms, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nKeySyms = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_nKeySyms, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_firstKeyAction, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalActions = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_totalActions, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nKeyActions = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_nKeyActions, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_firstKeyBehavior, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_nKeyBehaviors, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalKeyBehaviors = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_totalKeyBehaviors, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_firstKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_nKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalKeyExplicit = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_totalKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_firstModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_nModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalModMapKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_totalModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_firstVModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_nVModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_totalVModMapKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Types_totalVModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; f_virtualMods = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const virtualMods_bits [] = { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_0, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_1, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_2, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_3, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_4, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_5, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_6, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_7, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_8, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_9, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_10, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_11, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_12, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_13, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_14, &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_reply_Types_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; if (f_present & (1U << 0)) { struct_xkb_KeyType(tvb, offsetp, t, byte_order, f_nTypes); } if (f_present & (1U << 1)) { struct_xkb_KeySymMap(tvb, offsetp, t, byte_order, f_nKeySyms); } if (f_present & (1U << 4)) { listOfByte(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_Types_KeyActions_acts_rtrn_count, f_nKeyActions, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } struct_xkb_Action(tvb, offsetp, t, byte_order, f_totalActions); } if (f_present & (1U << 5)) { struct_xkb_SetBehavior(tvb, offsetp, t, byte_order, f_totalKeyBehaviors); } if (f_present & (1U << 6)) { listOfByte(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn, ws_count_ones(f_virtualMods), byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_present & (1U << 3)) { struct_xkb_SetExplicit(tvb, offsetp, t, byte_order, f_totalKeyExplicit); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_present & (1U << 2)) { struct_xkb_KeyModMap(tvb, offsetp, t, byte_order, f_totalModMapKeys); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } if (f_present & (1U << 7)) { struct_xkb_KeyVModMap(tvb, offsetp, t, byte_order, f_totalVModMapKeys); } } if (f_reported & (1U << 1)) { int f_groupsRtrn; int f_nSIRtrn; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_CompatMap_compatDeviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_sequence, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_groupsRtrn = tvb_get_guint8(tvb, *offsetp); { int* const groupsRtrn_bits [] = { &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group1, &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group2, &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group3, &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn, ett_x11_rectangle, groupsRtrn_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_CompatMap_firstSIRtrn, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_nSIRtrn = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_CompatMap_nSIRtrn, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_CompatMap_nTotalSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; struct_xkb_SymInterpret(tvb, offsetp, t, byte_order, f_nSIRtrn); struct_xkb_ModDef(tvb, offsetp, t, byte_order, ws_count_ones(f_groupsRtrn)); } if (f_reported & (1U << 4)) { int f_nIndicators; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatorDeviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_sequence, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_which, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_realIndicators, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nIndicators = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_nIndicators, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 15, ENC_NA); *offsetp += 15; struct_xkb_IndicatorMap(tvb, offsetp, t, byte_order, f_nIndicators); } if ((f_reported & (1U << 5)) || (f_reported & (1U << 7))) { int f_which; int f_nTypes; int f_groupNames; int f_virtualMods; int f_nKeys; int f_indicators; int f_nRadioGroups; int f_nKeyAliases; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_keyDeviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_sequence, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_which = tvb_get_guint32(tvb, *offsetp, byte_order); { int* const which_bits [] = { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Keycodes, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Geometry, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Symbols, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_PhysSymbols, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Types, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Compat, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyTypeNames, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KTLevelNames, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_IndicatorNames, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyNames, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyAliases, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_VirtualModNames, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_GroupNames, &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_RGNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_reply_KeyNames_which, ett_x11_rectangle, which_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_keyMinKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_keyMaxKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nTypes = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_groupNames = tvb_get_guint8(tvb, *offsetp); { int* const groupNames_bits [] = { &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group1, &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group2, &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group3, &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames, ett_x11_rectangle, groupNames_bits, byte_order); } *offsetp += 1; f_virtualMods = tvb_get_guint16(tvb, *offsetp, byte_order); { int* const virtualMods_bits [] = { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_0, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_1, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_2, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_3, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_4, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_5, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_6, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_7, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_8, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_9, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_10, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_11, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_12, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_13, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_14, &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_firstKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nKeys = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_nKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_indicators = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_indicators, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nRadioGroups = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_nRadioGroups, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nKeyAliases = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_nKeyAliases, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_nKTLevels, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; if (f_which & (1U << 0)) { proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_Keycodes_keycodesName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 1)) { proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_Geometry_geometryName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 2)) { proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_Symbols_symbolsName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 3)) { proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_PhysSymbols_physSymbolsName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 4)) { proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_Types_typesName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 5)) { proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_KeyNames_Compat_compatName, tvb, *offsetp, 4, byte_order); *offsetp += 4; } if (f_which & (1U << 6)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyTypeNames_typeNames, hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyTypeNames_typeNames_item, f_nTypes, byte_order); } if (f_which & (1U << 7)) { int sumof_nLevelsPerType = 0; { int i; for (i = 0; i < f_nTypes; i++) { sumof_nLevelsPerType += tvb_get_guint8(tvb, *offsetp + i * 1); } } listOfByte(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_nLevelsPerType, f_nTypes, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_ktLevelNames, hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_ktLevelNames_item, sumof_nLevelsPerType, byte_order); } if (f_which & (1U << 8)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_KeyNames_IndicatorNames_indicatorNames, hf_x11_xkb_GetKbdByName_reply_KeyNames_IndicatorNames_indicatorNames_item, ws_count_ones(f_indicators), byte_order); } if (f_which & (1U << 11)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_KeyNames_VirtualModNames_virtualModNames, hf_x11_xkb_GetKbdByName_reply_KeyNames_VirtualModNames_virtualModNames_item, ws_count_ones(f_virtualMods), byte_order); } if (f_which & (1U << 12)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_KeyNames_GroupNames_groups, hf_x11_xkb_GetKbdByName_reply_KeyNames_GroupNames_groups_item, ws_count_ones(f_groupNames), byte_order); } if (f_which & (1U << 9)) { struct_xkb_KeyName(tvb, offsetp, t, byte_order, f_nKeys); } if (f_which & (1U << 10)) { struct_xkb_KeyAlias(tvb, offsetp, t, byte_order, f_nKeyAliases); } if (f_which & (1U << 13)) { listOfCard32(tvb, offsetp, t, hf_x11_xkb_GetKbdByName_reply_KeyNames_RGNames_radioGroupNames, hf_x11_xkb_GetKbdByName_reply_KeyNames_RGNames_radioGroupNames_item, f_nRadioGroups, byte_order); } } if (f_reported & (1U << 6)) { proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_type, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_geometryDeviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_sequence, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_length, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_geometryFound, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_widthMM, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_heightMM, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_nProperties, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_nColors, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_nShapes, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_nSections, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_nDoodads, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_nKeyAliases, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_baseColorNdx, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetKbdByName_reply_Geometry_labelColorNdx, tvb, *offsetp, 1, byte_order); *offsetp += 1; struct_xkb_CountedString16(tvb, offsetp, t, byte_order, 1); } } static void xkbGetDeviceInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const wanted_bits [] = { &hf_x11_xkb_GetDeviceInfo_wanted_mask_Keyboards, &hf_x11_xkb_GetDeviceInfo_wanted_mask_ButtonActions, &hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorNames, &hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorMaps, &hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetDeviceInfo_wanted, ett_x11_rectangle, wanted_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_allButtons, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_firstButton, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_nButtons, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; field16(tvb, offsetp, t, hf_x11_xkb_GetDeviceInfo_ledClass, byte_order); field16(tvb, offsetp, t, hf_x11_xkb_GetDeviceInfo_ledID, byte_order); } static void xkbGetDeviceInfo_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_nDeviceLedFBs; int f_nBtnsRtrn; int f_nameLen; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceInfo"); REPLY(reply); proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-GetDeviceInfo)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; { int* const present_bits [] = { &hf_x11_xkb_GetDeviceInfo_reply_present_mask_Keyboards, &hf_x11_xkb_GetDeviceInfo_reply_present_mask_ButtonActions, &hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorNames, &hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorMaps, &hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetDeviceInfo_reply_present, ett_x11_rectangle, present_bits, byte_order); } *offsetp += 2; { int* const supported_bits [] = { &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_Keyboards, &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_ButtonActions, &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorNames, &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorMaps, &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetDeviceInfo_reply_supported, ett_x11_rectangle, supported_bits, byte_order); } *offsetp += 2; { int* const unsupported_bits [] = { &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_Keyboards, &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_ButtonActions, &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorNames, &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorMaps, &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_GetDeviceInfo_reply_unsupported, ett_x11_rectangle, unsupported_bits, byte_order); } *offsetp += 2; f_nDeviceLedFBs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_nDeviceLedFBs, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_firstBtnWanted, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_nBtnsWanted, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_firstBtnRtrn, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nBtnsRtrn = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_nBtnsRtrn, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_totalBtns, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_hasOwnState, tvb, *offsetp, 1, byte_order); *offsetp += 1; field16(tvb, offsetp, t, hf_x11_xkb_GetDeviceInfo_reply_dfltKbdFB, byte_order); field16(tvb, offsetp, t, hf_x11_xkb_GetDeviceInfo_reply_dfltLedFB, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_devType, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nameLen = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_GetDeviceInfo_reply_nameLen, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xkb_GetDeviceInfo_reply_name, f_nameLen, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } struct_xkb_Action(tvb, offsetp, t, byte_order, f_nBtnsRtrn); struct_xkb_DeviceLedInfo(tvb, offsetp, t, byte_order, f_nDeviceLedFBs); } static void xkbSetDeviceInfo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_nBtns; int f_nDeviceLedFBs; proto_tree_add_item(t, hf_x11_xkb_SetDeviceInfo_deviceSpec, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetDeviceInfo_firstBtn, tvb, *offsetp, 1, byte_order); *offsetp += 1; f_nBtns = tvb_get_guint8(tvb, *offsetp); proto_tree_add_item(t, hf_x11_xkb_SetDeviceInfo_nBtns, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const change_bits [] = { &hf_x11_xkb_SetDeviceInfo_change_mask_Keyboards, &hf_x11_xkb_SetDeviceInfo_change_mask_ButtonActions, &hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorNames, &hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorMaps, &hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_SetDeviceInfo_change, ett_x11_rectangle, change_bits, byte_order); } *offsetp += 2; f_nDeviceLedFBs = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_SetDeviceInfo_nDeviceLedFBs, tvb, *offsetp, 2, byte_order); *offsetp += 2; struct_xkb_Action(tvb, offsetp, t, byte_order, f_nBtns); length -= f_nBtns * 8; struct_xkb_DeviceLedInfo(tvb, offsetp, t, byte_order, f_nDeviceLedFBs); length -= f_nDeviceLedFBs * 0; } static void xkbSetDebuggingFlags(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_msgLength; f_msgLength = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_msgLength, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_affectFlags, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_flags, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_affectCtrls, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_ctrls, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xkb_SetDebuggingFlags_message, f_msgLength, byte_order); length -= f_msgLength * 1; } static void xkbSetDebuggingFlags_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-SetDebuggingFlags"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xkb-SetDebuggingFlags)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_reply_currentFlags, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_reply_currentCtrls, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_reply_supportedFlags, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_SetDebuggingFlags_reply_supportedCtrls, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; } static void xkbMapNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_MapNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_MapNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_MapNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_ptrBtnActions, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const changed_bits [] = { &hf_x11_xkb_MapNotify_changed_mask_KeyTypes, &hf_x11_xkb_MapNotify_changed_mask_KeySyms, &hf_x11_xkb_MapNotify_changed_mask_ModifierMap, &hf_x11_xkb_MapNotify_changed_mask_ExplicitComponents, &hf_x11_xkb_MapNotify_changed_mask_KeyActions, &hf_x11_xkb_MapNotify_changed_mask_KeyBehaviors, &hf_x11_xkb_MapNotify_changed_mask_VirtualMods, &hf_x11_xkb_MapNotify_changed_mask_VirtualModMap, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_MapNotify_changed, ett_x11_rectangle, changed_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_MapNotify_minKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_maxKeyCode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_firstType, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_firstKeySym, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_nKeySyms, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_firstKeyAct, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_nKeyActs, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_firstKeyBehavior, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_nKeyBehavior, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_firstKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_nKeyExplicit, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_firstModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_nModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_firstVModMapKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_MapNotify_nVModMapKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const virtualMods_bits [] = { &hf_x11_xkb_MapNotify_virtualMods_mask_0, &hf_x11_xkb_MapNotify_virtualMods_mask_1, &hf_x11_xkb_MapNotify_virtualMods_mask_2, &hf_x11_xkb_MapNotify_virtualMods_mask_3, &hf_x11_xkb_MapNotify_virtualMods_mask_4, &hf_x11_xkb_MapNotify_virtualMods_mask_5, &hf_x11_xkb_MapNotify_virtualMods_mask_6, &hf_x11_xkb_MapNotify_virtualMods_mask_7, &hf_x11_xkb_MapNotify_virtualMods_mask_8, &hf_x11_xkb_MapNotify_virtualMods_mask_9, &hf_x11_xkb_MapNotify_virtualMods_mask_10, &hf_x11_xkb_MapNotify_virtualMods_mask_11, &hf_x11_xkb_MapNotify_virtualMods_mask_12, &hf_x11_xkb_MapNotify_virtualMods_mask_13, &hf_x11_xkb_MapNotify_virtualMods_mask_14, &hf_x11_xkb_MapNotify_virtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_MapNotify_virtualMods, ett_x11_rectangle, virtualMods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static void xkbStateNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_StateNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_StateNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_StateNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const mods_bits [] = { &hf_x11_xkb_StateNotify_mods_mask_Shift, &hf_x11_xkb_StateNotify_mods_mask_Lock, &hf_x11_xkb_StateNotify_mods_mask_Control, &hf_x11_xkb_StateNotify_mods_mask_1, &hf_x11_xkb_StateNotify_mods_mask_2, &hf_x11_xkb_StateNotify_mods_mask_3, &hf_x11_xkb_StateNotify_mods_mask_4, &hf_x11_xkb_StateNotify_mods_mask_5, &hf_x11_xkb_StateNotify_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_mods, ett_x11_rectangle, mods_bits, byte_order); } *offsetp += 1; { int* const baseMods_bits [] = { &hf_x11_xkb_StateNotify_baseMods_mask_Shift, &hf_x11_xkb_StateNotify_baseMods_mask_Lock, &hf_x11_xkb_StateNotify_baseMods_mask_Control, &hf_x11_xkb_StateNotify_baseMods_mask_1, &hf_x11_xkb_StateNotify_baseMods_mask_2, &hf_x11_xkb_StateNotify_baseMods_mask_3, &hf_x11_xkb_StateNotify_baseMods_mask_4, &hf_x11_xkb_StateNotify_baseMods_mask_5, &hf_x11_xkb_StateNotify_baseMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_baseMods, ett_x11_rectangle, baseMods_bits, byte_order); } *offsetp += 1; { int* const latchedMods_bits [] = { &hf_x11_xkb_StateNotify_latchedMods_mask_Shift, &hf_x11_xkb_StateNotify_latchedMods_mask_Lock, &hf_x11_xkb_StateNotify_latchedMods_mask_Control, &hf_x11_xkb_StateNotify_latchedMods_mask_1, &hf_x11_xkb_StateNotify_latchedMods_mask_2, &hf_x11_xkb_StateNotify_latchedMods_mask_3, &hf_x11_xkb_StateNotify_latchedMods_mask_4, &hf_x11_xkb_StateNotify_latchedMods_mask_5, &hf_x11_xkb_StateNotify_latchedMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_latchedMods, ett_x11_rectangle, latchedMods_bits, byte_order); } *offsetp += 1; { int* const lockedMods_bits [] = { &hf_x11_xkb_StateNotify_lockedMods_mask_Shift, &hf_x11_xkb_StateNotify_lockedMods_mask_Lock, &hf_x11_xkb_StateNotify_lockedMods_mask_Control, &hf_x11_xkb_StateNotify_lockedMods_mask_1, &hf_x11_xkb_StateNotify_lockedMods_mask_2, &hf_x11_xkb_StateNotify_lockedMods_mask_3, &hf_x11_xkb_StateNotify_lockedMods_mask_4, &hf_x11_xkb_StateNotify_lockedMods_mask_5, &hf_x11_xkb_StateNotify_lockedMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_lockedMods, ett_x11_rectangle, lockedMods_bits, byte_order); } *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xkb_StateNotify_group, byte_order); proto_tree_add_item(t, hf_x11_xkb_StateNotify_baseGroup, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_StateNotify_latchedGroup, tvb, *offsetp, 2, byte_order); *offsetp += 2; field8(tvb, offsetp, t, hf_x11_xkb_StateNotify_lockedGroup, byte_order); { int* const compatState_bits [] = { &hf_x11_xkb_StateNotify_compatState_mask_Shift, &hf_x11_xkb_StateNotify_compatState_mask_Lock, &hf_x11_xkb_StateNotify_compatState_mask_Control, &hf_x11_xkb_StateNotify_compatState_mask_1, &hf_x11_xkb_StateNotify_compatState_mask_2, &hf_x11_xkb_StateNotify_compatState_mask_3, &hf_x11_xkb_StateNotify_compatState_mask_4, &hf_x11_xkb_StateNotify_compatState_mask_5, &hf_x11_xkb_StateNotify_compatState_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_compatState, ett_x11_rectangle, compatState_bits, byte_order); } *offsetp += 1; { int* const grabMods_bits [] = { &hf_x11_xkb_StateNotify_grabMods_mask_Shift, &hf_x11_xkb_StateNotify_grabMods_mask_Lock, &hf_x11_xkb_StateNotify_grabMods_mask_Control, &hf_x11_xkb_StateNotify_grabMods_mask_1, &hf_x11_xkb_StateNotify_grabMods_mask_2, &hf_x11_xkb_StateNotify_grabMods_mask_3, &hf_x11_xkb_StateNotify_grabMods_mask_4, &hf_x11_xkb_StateNotify_grabMods_mask_5, &hf_x11_xkb_StateNotify_grabMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_grabMods, ett_x11_rectangle, grabMods_bits, byte_order); } *offsetp += 1; { int* const compatGrabMods_bits [] = { &hf_x11_xkb_StateNotify_compatGrabMods_mask_Shift, &hf_x11_xkb_StateNotify_compatGrabMods_mask_Lock, &hf_x11_xkb_StateNotify_compatGrabMods_mask_Control, &hf_x11_xkb_StateNotify_compatGrabMods_mask_1, &hf_x11_xkb_StateNotify_compatGrabMods_mask_2, &hf_x11_xkb_StateNotify_compatGrabMods_mask_3, &hf_x11_xkb_StateNotify_compatGrabMods_mask_4, &hf_x11_xkb_StateNotify_compatGrabMods_mask_5, &hf_x11_xkb_StateNotify_compatGrabMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_compatGrabMods, ett_x11_rectangle, compatGrabMods_bits, byte_order); } *offsetp += 1; { int* const lookupMods_bits [] = { &hf_x11_xkb_StateNotify_lookupMods_mask_Shift, &hf_x11_xkb_StateNotify_lookupMods_mask_Lock, &hf_x11_xkb_StateNotify_lookupMods_mask_Control, &hf_x11_xkb_StateNotify_lookupMods_mask_1, &hf_x11_xkb_StateNotify_lookupMods_mask_2, &hf_x11_xkb_StateNotify_lookupMods_mask_3, &hf_x11_xkb_StateNotify_lookupMods_mask_4, &hf_x11_xkb_StateNotify_lookupMods_mask_5, &hf_x11_xkb_StateNotify_lookupMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_lookupMods, ett_x11_rectangle, lookupMods_bits, byte_order); } *offsetp += 1; { int* const compatLoockupMods_bits [] = { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_Shift, &hf_x11_xkb_StateNotify_compatLoockupMods_mask_Lock, &hf_x11_xkb_StateNotify_compatLoockupMods_mask_Control, &hf_x11_xkb_StateNotify_compatLoockupMods_mask_1, &hf_x11_xkb_StateNotify_compatLoockupMods_mask_2, &hf_x11_xkb_StateNotify_compatLoockupMods_mask_3, &hf_x11_xkb_StateNotify_compatLoockupMods_mask_4, &hf_x11_xkb_StateNotify_compatLoockupMods_mask_5, &hf_x11_xkb_StateNotify_compatLoockupMods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_compatLoockupMods, ett_x11_rectangle, compatLoockupMods_bits, byte_order); } *offsetp += 1; { int* const ptrBtnState_bits [] = { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Shift, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Lock, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Control, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod1, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod2, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod3, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod4, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod5, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button1, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button2, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button3, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button4, &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button5, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_ptrBtnState, ett_x11_rectangle, ptrBtnState_bits, byte_order); } *offsetp += 2; { int* const changed_bits [] = { &hf_x11_xkb_StateNotify_changed_mask_ModifierState, &hf_x11_xkb_StateNotify_changed_mask_ModifierBase, &hf_x11_xkb_StateNotify_changed_mask_ModifierLatch, &hf_x11_xkb_StateNotify_changed_mask_ModifierLock, &hf_x11_xkb_StateNotify_changed_mask_GroupState, &hf_x11_xkb_StateNotify_changed_mask_GroupBase, &hf_x11_xkb_StateNotify_changed_mask_GroupLatch, &hf_x11_xkb_StateNotify_changed_mask_GroupLock, &hf_x11_xkb_StateNotify_changed_mask_CompatState, &hf_x11_xkb_StateNotify_changed_mask_GrabMods, &hf_x11_xkb_StateNotify_changed_mask_CompatGrabMods, &hf_x11_xkb_StateNotify_changed_mask_LookupMods, &hf_x11_xkb_StateNotify_changed_mask_CompatLookupMods, &hf_x11_xkb_StateNotify_changed_mask_PointerButtons, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_StateNotify_changed, ett_x11_rectangle, changed_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_StateNotify_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_StateNotify_eventType, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_StateNotify_requestMajor, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_StateNotify_requestMinor, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xkbControlsNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_ControlsNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_ControlsNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_ControlsNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_ControlsNotify_numGroups, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; { int* const changedControls_bits [] = { &hf_x11_xkb_ControlsNotify_changedControls_mask_GroupsWrap, &hf_x11_xkb_ControlsNotify_changedControls_mask_InternalMods, &hf_x11_xkb_ControlsNotify_changedControls_mask_IgnoreLockMods, &hf_x11_xkb_ControlsNotify_changedControls_mask_PerKeyRepeat, &hf_x11_xkb_ControlsNotify_changedControls_mask_ControlsEnabled, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_ControlsNotify_changedControls, ett_x11_rectangle, changedControls_bits, byte_order); } *offsetp += 4; { int* const enabledControls_bits [] = { &hf_x11_xkb_ControlsNotify_enabledControls_mask_RepeatKeys, &hf_x11_xkb_ControlsNotify_enabledControls_mask_SlowKeys, &hf_x11_xkb_ControlsNotify_enabledControls_mask_BounceKeys, &hf_x11_xkb_ControlsNotify_enabledControls_mask_StickyKeys, &hf_x11_xkb_ControlsNotify_enabledControls_mask_MouseKeys, &hf_x11_xkb_ControlsNotify_enabledControls_mask_MouseKeysAccel, &hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXKeys, &hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXTimeoutMask, &hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXFeedbackMask, &hf_x11_xkb_ControlsNotify_enabledControls_mask_AudibleBellMask, &hf_x11_xkb_ControlsNotify_enabledControls_mask_Overlay1Mask, &hf_x11_xkb_ControlsNotify_enabledControls_mask_Overlay2Mask, &hf_x11_xkb_ControlsNotify_enabledControls_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_ControlsNotify_enabledControls, ett_x11_rectangle, enabledControls_bits, byte_order); } *offsetp += 4; { int* const enabledControlChanges_bits [] = { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_RepeatKeys, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_SlowKeys, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_BounceKeys, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_StickyKeys, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_MouseKeys, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_MouseKeysAccel, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXKeys, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXTimeoutMask, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXFeedbackMask, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AudibleBellMask, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_Overlay1Mask, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_Overlay2Mask, &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_IgnoreGroupLockMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_ControlsNotify_enabledControlChanges, ett_x11_rectangle, enabledControlChanges_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_ControlsNotify_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_ControlsNotify_eventType, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_ControlsNotify_requestMajor, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_ControlsNotify_requestMinor, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; } static void xkbIndicatorStateNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_IndicatorStateNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_IndicatorStateNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_IndicatorStateNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_xkb_IndicatorStateNotify_state, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_IndicatorStateNotify_stateChanged, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; } static void xkbIndicatorMapNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_IndicatorMapNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_IndicatorMapNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_IndicatorMapNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_xkb_IndicatorMapNotify_state, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_IndicatorMapNotify_mapChanged, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; } static void xkbNamesNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_NamesNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_NamesNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; { int* const changed_bits [] = { &hf_x11_xkb_NamesNotify_changed_mask_Keycodes, &hf_x11_xkb_NamesNotify_changed_mask_Geometry, &hf_x11_xkb_NamesNotify_changed_mask_Symbols, &hf_x11_xkb_NamesNotify_changed_mask_PhysSymbols, &hf_x11_xkb_NamesNotify_changed_mask_Types, &hf_x11_xkb_NamesNotify_changed_mask_Compat, &hf_x11_xkb_NamesNotify_changed_mask_KeyTypeNames, &hf_x11_xkb_NamesNotify_changed_mask_KTLevelNames, &hf_x11_xkb_NamesNotify_changed_mask_IndicatorNames, &hf_x11_xkb_NamesNotify_changed_mask_KeyNames, &hf_x11_xkb_NamesNotify_changed_mask_KeyAliases, &hf_x11_xkb_NamesNotify_changed_mask_VirtualModNames, &hf_x11_xkb_NamesNotify_changed_mask_GroupNames, &hf_x11_xkb_NamesNotify_changed_mask_RGNames, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_NamesNotify_changed, ett_x11_rectangle, changed_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_firstType, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_nTypes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_firstLevelName, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_nLevelNames, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_nRadioGroups, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_nKeyAliases, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const changedGroupNames_bits [] = { &hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group1, &hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group2, &hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group3, &hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_NamesNotify_changedGroupNames, ett_x11_rectangle, changedGroupNames_bits, byte_order); } *offsetp += 1; { int* const changedVirtualMods_bits [] = { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_0, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_1, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_2, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_3, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_4, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_5, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_6, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_7, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_8, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_9, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_10, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_11, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_12, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_13, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_14, &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_15, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_NamesNotify_changedVirtualMods, ett_x11_rectangle, changedVirtualMods_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_firstKey, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_nKeys, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_NamesNotify_changedIndicators, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 4, ENC_NA); *offsetp += 4; } static void xkbCompatMapNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_CompatMapNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_CompatMapNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_CompatMapNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const changedGroups_bits [] = { &hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group1, &hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group2, &hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group3, &hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group4, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_CompatMapNotify_changedGroups, ett_x11_rectangle, changedGroups_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_CompatMapNotify_firstSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_CompatMapNotify_nSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_CompatMapNotify_nTotalSI, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void xkbBellNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_BellNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_BellNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_BellNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xkb_BellNotify_bellClass, byte_order); proto_tree_add_item(t, hf_x11_xkb_BellNotify_bellID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_BellNotify_percent, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_BellNotify_pitch, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_BellNotify_duration, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_BellNotify_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_BellNotify_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_BellNotify_eventOnly, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 7, ENC_NA); *offsetp += 7; } static void xkbActionMessage(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_ActionMessage_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_ActionMessage_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_ActionMessage_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_ActionMessage_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_ActionMessage_press, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_ActionMessage_keyEventFollows, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const mods_bits [] = { &hf_x11_xkb_ActionMessage_mods_mask_Shift, &hf_x11_xkb_ActionMessage_mods_mask_Lock, &hf_x11_xkb_ActionMessage_mods_mask_Control, &hf_x11_xkb_ActionMessage_mods_mask_1, &hf_x11_xkb_ActionMessage_mods_mask_2, &hf_x11_xkb_ActionMessage_mods_mask_3, &hf_x11_xkb_ActionMessage_mods_mask_4, &hf_x11_xkb_ActionMessage_mods_mask_5, &hf_x11_xkb_ActionMessage_mods_mask_Any, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_ActionMessage_mods, ett_x11_rectangle, mods_bits, byte_order); } *offsetp += 1; field8(tvb, offsetp, t, hf_x11_xkb_ActionMessage_group, byte_order); listOfByte(tvb, offsetp, t, hf_x11_xkb_ActionMessage_message, 8, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 10, ENC_NA); *offsetp += 10; } static void xkbAccessXNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_AccessXNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_AccessXNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_AccessXNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_AccessXNotify_keycode, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const detailt_bits [] = { &hf_x11_xkb_AccessXNotify_detailt_mask_SKPress, &hf_x11_xkb_AccessXNotify_detailt_mask_SKAccept, &hf_x11_xkb_AccessXNotify_detailt_mask_SKReject, &hf_x11_xkb_AccessXNotify_detailt_mask_SKRelease, &hf_x11_xkb_AccessXNotify_detailt_mask_BKAccept, &hf_x11_xkb_AccessXNotify_detailt_mask_BKReject, &hf_x11_xkb_AccessXNotify_detailt_mask_AXKWarning, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_AccessXNotify_detailt, ett_x11_rectangle, detailt_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_AccessXNotify_slowKeysDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_AccessXNotify_debounceDelay, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; } static void xkbExtensionDeviceNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xkb_ExtensionDeviceNotify_xkbType, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xkb_ExtensionDeviceNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_ExtensionDeviceNotify_deviceID, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; { int* const reason_bits [] = { &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_Keyboards, &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_ButtonActions, &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorNames, &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorMaps, &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_ExtensionDeviceNotify_reason, ett_x11_rectangle, reason_bits, byte_order); } *offsetp += 2; field16(tvb, offsetp, t, hf_x11_xkb_ExtensionDeviceNotify_ledClass, byte_order); proto_tree_add_item(t, hf_x11_xkb_ExtensionDeviceNotify_ledID, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xkb_ExtensionDeviceNotify_ledsDefined, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_ExtensionDeviceNotify_ledState, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xkb_ExtensionDeviceNotify_firstButton, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xkb_ExtensionDeviceNotify_nButtons, tvb, *offsetp, 1, byte_order); *offsetp += 1; { int* const supported_bits [] = { &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_Keyboards, &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_ButtonActions, &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorNames, &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorMaps, &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_ExtensionDeviceNotify_supported, ett_x11_rectangle, supported_bits, byte_order); } *offsetp += 2; { int* const unsupported_bits [] = { &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_Keyboards, &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_ButtonActions, &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorNames, &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorMaps, &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorState, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_xkb_ExtensionDeviceNotify_unsupported, ett_x11_rectangle, unsupported_bits, byte_order); } *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; } static const value_string xkb_extension_minor[] = { { 0, "UseExtension" }, { 1, "SelectEvents" }, { 3, "Bell" }, { 4, "GetState" }, { 5, "LatchLockState" }, { 6, "GetControls" }, { 7, "SetControls" }, { 8, "GetMap" }, { 9, "SetMap" }, { 10, "GetCompatMap" }, { 11, "SetCompatMap" }, { 12, "GetIndicatorState" }, { 13, "GetIndicatorMap" }, { 14, "SetIndicatorMap" }, { 15, "GetNamedIndicator" }, { 16, "SetNamedIndicator" }, { 17, "GetNames" }, { 18, "SetNames" }, { 21, "PerClientFlags" }, { 22, "ListComponents" }, { 23, "GetKbdByName" }, { 24, "GetDeviceInfo" }, { 25, "SetDeviceInfo" }, { 101, "SetDebuggingFlags" }, { 0, NULL } }; static const x11_event_info xkb_events[] = { { "xkb-MapNotify", xkbMapNotify }, { "xkb-StateNotify", xkbStateNotify }, { "xkb-ControlsNotify", xkbControlsNotify }, { "xkb-IndicatorStateNotify", xkbIndicatorStateNotify }, { "xkb-IndicatorMapNotify", xkbIndicatorMapNotify }, { "xkb-NamesNotify", xkbNamesNotify }, { "xkb-CompatMapNotify", xkbCompatMapNotify }, { "xkb-BellNotify", xkbBellNotify }, { "xkb-ActionMessage", xkbActionMessage }, { "xkb-AccessXNotify", xkbAccessXNotify }, { "xkb-ExtensionDeviceNotify", xkbExtensionDeviceNotify }, { NULL, NULL } }; static x11_reply_info xkb_replies[] = { { 0, xkbUseExtension_Reply }, { 4, xkbGetState_Reply }, { 6, xkbGetControls_Reply }, { 8, xkbGetMap_Reply }, { 10, xkbGetCompatMap_Reply }, { 12, xkbGetIndicatorState_Reply }, { 13, xkbGetIndicatorMap_Reply }, { 15, xkbGetNamedIndicator_Reply }, { 17, xkbGetNames_Reply }, { 21, xkbPerClientFlags_Reply }, { 22, xkbListComponents_Reply }, { 23, xkbGetKbdByName_Reply }, { 24, xkbGetDeviceInfo_Reply }, { 101, xkbSetDebuggingFlags_Reply }, { 0, NULL } }; static void dispatch_xkb(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xkb_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xkb_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xkbUseExtension(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xkbSelectEvents(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xkbBell(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xkbGetState(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xkbLatchLockState(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xkbGetControls(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xkbSetControls(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xkbGetMap(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: xkbSetMap(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: xkbGetCompatMap(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: xkbSetCompatMap(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: xkbGetIndicatorState(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: xkbGetIndicatorMap(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: xkbSetIndicatorMap(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: xkbGetNamedIndicator(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: xkbSetNamedIndicator(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: xkbGetNames(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: xkbSetNames(tvb, pinfo, offsetp, t, byte_order, length); break; case 21: xkbPerClientFlags(tvb, pinfo, offsetp, t, byte_order, length); break; case 22: xkbListComponents(tvb, pinfo, offsetp, t, byte_order, length); break; case 23: xkbGetKbdByName(tvb, pinfo, offsetp, t, byte_order, length); break; case 24: xkbGetDeviceInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 25: xkbSetDeviceInfo(tvb, pinfo, offsetp, t, byte_order, length); break; case 101: xkbSetDebuggingFlags(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xkb(void) { set_handler("XKEYBOARD", dispatch_xkb, xkb_errors, xkb_events, NULL, xkb_replies); } static int struct_size_xprint_PRINTER(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_descLen; int f_nameLen; f_nameLen = tvb_get_guint32(tvb, *offsetp + size + 0, byte_order); size += f_nameLen * 1; size = (size + 3) & ~3; f_descLen = tvb_get_guint32(tvb, *offsetp + size + 4, byte_order); size += f_descLen * 1; size = (size + 3) & ~3; return size + 8; } static void struct_xprint_PRINTER(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_nameLen; int f_descLen; item = proto_tree_add_item(root, hf_x11_struct_xprint_PRINTER, tvb, *offsetp, struct_size_xprint_PRINTER(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); f_nameLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xprint_PRINTER_nameLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_struct_xprint_PRINTER_name, f_nameLen, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } f_descLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xprint_PRINTER_descLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_struct_xprint_PRINTER_description, f_descLen, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } } static void xprintPrintQueryVersion(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xprintPrintQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintQueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintQueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintQueryVersion_reply_major_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xprint_PrintQueryVersion_reply_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xprintPrintGetPrinterList(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_printerNameLen; int f_localeLen; f_printerNameLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintGetPrinterList_printerNameLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_localeLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintGetPrinterList_localeLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintGetPrinterList_printer_name, f_printerNameLen, byte_order); length -= f_printerNameLen * 1; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintGetPrinterList_locale, f_localeLen, byte_order); length -= f_localeLen * 1; } static void xprintPrintGetPrinterList_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_listCount; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintGetPrinterList"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintGetPrinterList)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_listCount = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintGetPrinterList_reply_listCount, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xprint_PRINTER(tvb, offsetp, t, byte_order, f_listCount); } static void xprintPrintRehashPrinterList(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xprintCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_printerNameLen; int f_localeLen; proto_tree_add_item(t, hf_x11_xprint_CreateContext_context_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_printerNameLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_CreateContext_printerNameLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_localeLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_CreateContext_localeLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xprint_CreateContext_printerName, f_printerNameLen, byte_order); length -= f_printerNameLen * 1; listOfByte(tvb, offsetp, t, hf_x11_xprint_CreateContext_locale, f_localeLen, byte_order); length -= f_localeLen * 1; } static void xprintPrintSetContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintSetContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintGetContext(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xprintPrintGetContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintGetContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintGetContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetContext_reply_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintDestroyContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintDestroyContext_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintGetScreenOfContext(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xprintPrintGetScreenOfContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintGetScreenOfContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintGetScreenOfContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetScreenOfContext_reply_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintStartJob(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintStartJob_output_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xprintPrintEndJob(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintEndJob_cancel, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xprintPrintStartDoc(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintStartDoc_driver_mode, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xprintPrintEndDoc(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintEndDoc_cancel, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xprintPrintPutDocumentData(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_len_data; int f_len_fmt; int f_len_options; proto_tree_add_item(t, hf_x11_xprint_PrintPutDocumentData_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_len_data = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintPutDocumentData_len_data, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_len_fmt = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintPutDocumentData_len_fmt, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_len_options = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintPutDocumentData_len_options, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintPutDocumentData_data, f_len_data, byte_order); length -= f_len_data * 1; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintPutDocumentData_doc_format, f_len_fmt, byte_order); length -= f_len_fmt * 1; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintPutDocumentData_options, f_len_options, byte_order); length -= f_len_options * 1; } static void xprintPrintGetDocumentData(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintGetDocumentData_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetDocumentData_max_bytes, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintGetDocumentData_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_dataLen; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintGetDocumentData"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintGetDocumentData)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetDocumentData_reply_status_code, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetDocumentData_reply_finished_flag, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_dataLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintGetDocumentData_reply_dataLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintGetDocumentData_reply_data, f_dataLen, byte_order); } static void xprintPrintStartPage(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintStartPage_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintEndPage(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintEndPage_cancel, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xprintPrintSelectInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintSelectInput_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintSelectInput_event_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintInputSelected(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintInputSelected_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintInputSelected_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintInputSelected"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintInputSelected)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintInputSelected_reply_event_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintInputSelected_reply_all_events_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintGetAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintGetAttributes_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetAttributes_pool, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xprintPrintGetAttributes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_stringLen; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintGetAttributes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintGetAttributes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_stringLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintGetAttributes_reply_stringLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintGetAttributes_reply_attributes, f_stringLen, byte_order); } static void xprintPrintGetOneAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_nameLen; proto_tree_add_item(t, hf_x11_xprint_PrintGetOneAttributes_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_nameLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintGetOneAttributes_nameLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetOneAttributes_pool, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintGetOneAttributes_name, f_nameLen, byte_order); length -= f_nameLen * 1; } static void xprintPrintGetOneAttributes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_valueLen; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintGetOneAttributes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintGetOneAttributes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_valueLen = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintGetOneAttributes_reply_valueLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintGetOneAttributes_reply_value, f_valueLen, byte_order); } static void xprintPrintSetAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintSetAttributes_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintSetAttributes_stringLen, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintSetAttributes_pool, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xprint_PrintSetAttributes_rule, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xprint_PrintSetAttributes_attributes, (length - 16) / 1, byte_order); } static void xprintPrintGetPageDimensions(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintGetPageDimensions_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintGetPageDimensions_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintGetPageDimensions"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintGetPageDimensions)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetPageDimensions_reply_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xprint_PrintGetPageDimensions_reply_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xprint_PrintGetPageDimensions_reply_offset_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xprint_PrintGetPageDimensions_reply_offset_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xprint_PrintGetPageDimensions_reply_reproducible_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xprint_PrintGetPageDimensions_reply_reproducible_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xprintPrintQueryScreens(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xprintPrintQueryScreens_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_listCount; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintQueryScreens"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintQueryScreens)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_listCount = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xprint_PrintQueryScreens_reply_listCount, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfCard32(tvb, offsetp, t, hf_x11_xprint_PrintQueryScreens_reply_roots, hf_x11_xprint_PrintQueryScreens_reply_roots_item, f_listCount, byte_order); } static void xprintPrintSetImageResolution(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintSetImageResolution_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintSetImageResolution_image_resolution, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xprintPrintSetImageResolution_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintSetImageResolution"); REPLY(reply); proto_tree_add_item(t, hf_x11_xprint_PrintSetImageResolution_reply_status, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintSetImageResolution)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintSetImageResolution_reply_previous_resolutions, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xprintPrintGetImageResolution(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xprint_PrintGetImageResolution_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xprintPrintGetImageResolution_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-PrintGetImageResolution"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xprint-PrintGetImageResolution)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xprint_PrintGetImageResolution_reply_image_resolution, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xprintAttributNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_xprint_AttributNotify_detail, tvb, *offsetp, 1, byte_order); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xprint_AttributNotify_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static const value_string xprint_extension_minor[] = { { 0, "PrintQueryVersion" }, { 1, "PrintGetPrinterList" }, { 2, "CreateContext" }, { 3, "PrintSetContext" }, { 4, "PrintGetContext" }, { 5, "PrintDestroyContext" }, { 6, "PrintGetScreenOfContext" }, { 7, "PrintStartJob" }, { 8, "PrintEndJob" }, { 9, "PrintStartDoc" }, { 10, "PrintEndDoc" }, { 11, "PrintPutDocumentData" }, { 12, "PrintGetDocumentData" }, { 13, "PrintStartPage" }, { 14, "PrintEndPage" }, { 15, "PrintSelectInput" }, { 16, "PrintInputSelected" }, { 17, "PrintGetAttributes" }, { 18, "PrintSetAttributes" }, { 19, "PrintGetOneAttributes" }, { 20, "PrintRehashPrinterList" }, { 21, "PrintGetPageDimensions" }, { 22, "PrintQueryScreens" }, { 23, "PrintSetImageResolution" }, { 24, "PrintGetImageResolution" }, { 0, NULL } }; static const x11_event_info xprint_events[] = { { "xprint-AttributNotify", xprintAttributNotify }, { NULL, NULL } }; static x11_reply_info xprint_replies[] = { { 0, xprintPrintQueryVersion_Reply }, { 1, xprintPrintGetPrinterList_Reply }, { 4, xprintPrintGetContext_Reply }, { 6, xprintPrintGetScreenOfContext_Reply }, { 12, xprintPrintGetDocumentData_Reply }, { 16, xprintPrintInputSelected_Reply }, { 17, xprintPrintGetAttributes_Reply }, { 19, xprintPrintGetOneAttributes_Reply }, { 21, xprintPrintGetPageDimensions_Reply }, { 22, xprintPrintQueryScreens_Reply }, { 23, xprintPrintSetImageResolution_Reply }, { 24, xprintPrintGetImageResolution_Reply }, { 0, NULL } }; static void dispatch_xprint(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xprint_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xprint_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xprintPrintQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xprintPrintGetPrinterList(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xprintCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xprintPrintSetContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xprintPrintGetContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xprintPrintDestroyContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xprintPrintGetScreenOfContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xprintPrintStartJob(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xprintPrintEndJob(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: xprintPrintStartDoc(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: xprintPrintEndDoc(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: xprintPrintPutDocumentData(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: xprintPrintGetDocumentData(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: xprintPrintStartPage(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: xprintPrintEndPage(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: xprintPrintSelectInput(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: xprintPrintInputSelected(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: xprintPrintGetAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: xprintPrintSetAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: xprintPrintGetOneAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 20: xprintPrintRehashPrinterList(tvb, pinfo, offsetp, t, byte_order, length); break; case 21: xprintPrintGetPageDimensions(tvb, pinfo, offsetp, t, byte_order, length); break; case 22: xprintPrintQueryScreens(tvb, pinfo, offsetp, t, byte_order, length); break; case 23: xprintPrintSetImageResolution(tvb, pinfo, offsetp, t, byte_order, length); break; case 24: xprintPrintGetImageResolution(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xprint(void) { set_handler("XpExtension", dispatch_xprint, xprint_errors, xprint_events, NULL, xprint_replies); } static void xselinuxQueryVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_QueryVersion_client_major, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_xselinux_QueryVersion_client_minor, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xselinuxQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xselinux_QueryVersion_reply_server_major, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xselinux_QueryVersion_reply_server_minor, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xselinuxSetDeviceCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_context_len; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_SetDeviceCreateContext_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xselinux_SetDeviceCreateContext_context, f_context_len, byte_order); length -= f_context_len * 1; } static void xselinuxGetDeviceCreateContext(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xselinuxGetDeviceCreateContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceCreateContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetDeviceCreateContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetDeviceCreateContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetDeviceCreateContext_reply_context, f_context_len, byte_order); } static void xselinuxSetDeviceContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_context_len; proto_tree_add_item(t, hf_x11_xselinux_SetDeviceContext_device, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_SetDeviceContext_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xselinux_SetDeviceContext_context, f_context_len, byte_order); length -= f_context_len * 1; } static void xselinuxGetDeviceContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_GetDeviceContext_device, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xselinuxGetDeviceContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetDeviceContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetDeviceContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetDeviceContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetDeviceContext_reply_context, f_context_len, byte_order); } static void xselinuxSetWindowCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_context_len; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_SetWindowCreateContext_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xselinux_SetWindowCreateContext_context, f_context_len, byte_order); length -= f_context_len * 1; } static void xselinuxGetWindowCreateContext(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xselinuxGetWindowCreateContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetWindowCreateContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetWindowCreateContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetWindowCreateContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetWindowCreateContext_reply_context, f_context_len, byte_order); } static void xselinuxGetWindowContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_GetWindowContext_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xselinuxGetWindowContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetWindowContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetWindowContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetWindowContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetWindowContext_reply_context, f_context_len, byte_order); } static int struct_size_xselinux_ListItem(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_data_context_len; int f_object_context_len; f_object_context_len = tvb_get_guint32(tvb, *offsetp + size + 4, byte_order); f_data_context_len = tvb_get_guint32(tvb, *offsetp + size + 8, byte_order); size += f_object_context_len * 1; size = (size + 3) & ~3; size += f_data_context_len * 1; size = (size + 3) & ~3; return size + 12; } static void struct_xselinux_ListItem(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_object_context_len; int f_data_context_len; item = proto_tree_add_item(root, hf_x11_struct_xselinux_ListItem, tvb, *offsetp, struct_size_xselinux_ListItem(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xselinux_ListItem_name, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_object_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xselinux_ListItem_object_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_data_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xselinux_ListItem_data_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_struct_xselinux_ListItem_object_context, f_object_context_len, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } listOfByte(tvb, offsetp, t, hf_x11_struct_xselinux_ListItem_data_context, f_data_context_len, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } } static void xselinuxSetPropertyCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_context_len; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_SetPropertyCreateContext_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xselinux_SetPropertyCreateContext_context, f_context_len, byte_order); length -= f_context_len * 1; } static void xselinuxGetPropertyCreateContext(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xselinuxGetPropertyCreateContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPropertyCreateContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetPropertyCreateContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetPropertyCreateContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetPropertyCreateContext_reply_context, f_context_len, byte_order); } static void xselinuxSetPropertyUseContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_context_len; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_SetPropertyUseContext_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xselinux_SetPropertyUseContext_context, f_context_len, byte_order); length -= f_context_len * 1; } static void xselinuxGetPropertyUseContext(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xselinuxGetPropertyUseContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPropertyUseContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetPropertyUseContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetPropertyUseContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetPropertyUseContext_reply_context, f_context_len, byte_order); } static void xselinuxGetPropertyContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_GetPropertyContext_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xselinux_GetPropertyContext_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xselinuxGetPropertyContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPropertyContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetPropertyContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetPropertyContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetPropertyContext_reply_context, f_context_len, byte_order); } static void xselinuxGetPropertyDataContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_GetPropertyDataContext_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xselinux_GetPropertyDataContext_property, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xselinuxGetPropertyDataContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPropertyDataContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetPropertyDataContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetPropertyDataContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetPropertyDataContext_reply_context, f_context_len, byte_order); } static void xselinuxListProperties(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_ListProperties_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xselinuxListProperties_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_properties_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListProperties"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-ListProperties)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_properties_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_ListProperties_reply_properties_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xselinux_ListItem(tvb, offsetp, t, byte_order, f_properties_len); } static void xselinuxSetSelectionCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_context_len; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_SetSelectionCreateContext_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xselinux_SetSelectionCreateContext_context, f_context_len, byte_order); length -= f_context_len * 1; } static void xselinuxGetSelectionCreateContext(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xselinuxGetSelectionCreateContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetSelectionCreateContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetSelectionCreateContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetSelectionCreateContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetSelectionCreateContext_reply_context, f_context_len, byte_order); } static void xselinuxSetSelectionUseContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { int f_context_len; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_SetSelectionUseContext_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_xselinux_SetSelectionUseContext_context, f_context_len, byte_order); length -= f_context_len * 1; } static void xselinuxGetSelectionUseContext(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xselinuxGetSelectionUseContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetSelectionUseContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetSelectionUseContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetSelectionUseContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetSelectionUseContext_reply_context, f_context_len, byte_order); } static void xselinuxGetSelectionContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_GetSelectionContext_selection, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xselinuxGetSelectionContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetSelectionContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetSelectionContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetSelectionContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetSelectionContext_reply_context, f_context_len, byte_order); } static void xselinuxGetSelectionDataContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_GetSelectionDataContext_selection, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xselinuxGetSelectionDataContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetSelectionDataContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetSelectionDataContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetSelectionDataContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetSelectionDataContext_reply_context, f_context_len, byte_order); } static void xselinuxListSelections(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xselinuxListSelections_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_selections_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListSelections"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-ListSelections)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_selections_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_ListSelections_reply_selections_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xselinux_ListItem(tvb, offsetp, t, byte_order, f_selections_len); } static void xselinuxGetClientContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xselinux_GetClientContext_resource, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xselinuxGetClientContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_context_len; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetClientContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xselinux-GetClientContext)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_context_len = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xselinux_GetClientContext_reply_context_len, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfByte(tvb, offsetp, t, hf_x11_xselinux_GetClientContext_reply_context, f_context_len, byte_order); } static const value_string xselinux_extension_minor[] = { { 0, "QueryVersion" }, { 1, "SetDeviceCreateContext" }, { 2, "GetDeviceCreateContext" }, { 3, "SetDeviceContext" }, { 4, "GetDeviceContext" }, { 5, "SetWindowCreateContext" }, { 6, "GetWindowCreateContext" }, { 7, "GetWindowContext" }, { 8, "SetPropertyCreateContext" }, { 9, "GetPropertyCreateContext" }, { 10, "SetPropertyUseContext" }, { 11, "GetPropertyUseContext" }, { 12, "GetPropertyContext" }, { 13, "GetPropertyDataContext" }, { 14, "ListProperties" }, { 15, "SetSelectionCreateContext" }, { 16, "GetSelectionCreateContext" }, { 17, "SetSelectionUseContext" }, { 18, "GetSelectionUseContext" }, { 19, "GetSelectionContext" }, { 20, "GetSelectionDataContext" }, { 21, "ListSelections" }, { 22, "GetClientContext" }, { 0, NULL } }; const x11_event_info xselinux_events[] = { { NULL, NULL } }; static x11_reply_info xselinux_replies[] = { { 0, xselinuxQueryVersion_Reply }, { 2, xselinuxGetDeviceCreateContext_Reply }, { 4, xselinuxGetDeviceContext_Reply }, { 6, xselinuxGetWindowCreateContext_Reply }, { 7, xselinuxGetWindowContext_Reply }, { 9, xselinuxGetPropertyCreateContext_Reply }, { 11, xselinuxGetPropertyUseContext_Reply }, { 12, xselinuxGetPropertyContext_Reply }, { 13, xselinuxGetPropertyDataContext_Reply }, { 14, xselinuxListProperties_Reply }, { 16, xselinuxGetSelectionCreateContext_Reply }, { 18, xselinuxGetSelectionUseContext_Reply }, { 19, xselinuxGetSelectionContext_Reply }, { 20, xselinuxGetSelectionDataContext_Reply }, { 21, xselinuxListSelections_Reply }, { 22, xselinuxGetClientContext_Reply }, { 0, NULL } }; static void dispatch_xselinux(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xselinux_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xselinux_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xselinuxQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xselinuxSetDeviceCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xselinuxGetDeviceCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xselinuxSetDeviceContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xselinuxGetDeviceContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xselinuxSetWindowCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xselinuxGetWindowCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xselinuxGetWindowContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xselinuxSetPropertyCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: xselinuxGetPropertyCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: xselinuxSetPropertyUseContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: xselinuxGetPropertyUseContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: xselinuxGetPropertyContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: xselinuxGetPropertyDataContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: xselinuxListProperties(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: xselinuxSetSelectionCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: xselinuxGetSelectionCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: xselinuxSetSelectionUseContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: xselinuxGetSelectionUseContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: xselinuxGetSelectionContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 20: xselinuxGetSelectionDataContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 21: xselinuxListSelections(tvb, pinfo, offsetp, t, byte_order, length); break; case 22: xselinuxGetClientContext(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xselinux(void) { set_handler("SELinux", dispatch_xselinux, xselinux_errors, xselinux_events, NULL, xselinux_replies); } static void xtestGetVersion(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xtest_GetVersion_major_version, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xtest_GetVersion_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xtestGetVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_xtest_GetVersion_reply_major_version, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xtest-GetVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xtest_GetVersion_reply_minor_version, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xtestCompareCursor(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xtest_CompareCursor_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xtest_CompareCursor_cursor, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xtestCompareCursor_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-CompareCursor"); REPLY(reply); proto_tree_add_item(t, hf_x11_xtest_CompareCursor_reply_same, tvb, *offsetp, 1, byte_order); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xtest-CompareCursor)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xtestFakeInput(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xtest_FakeInput_type, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_xtest_FakeInput_detail, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_xtest_FakeInput_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xtest_FakeInput_root, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 8, ENC_NA); *offsetp += 8; proto_tree_add_item(t, hf_x11_xtest_FakeInput_rootX, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xtest_FakeInput_rootY, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 7, ENC_NA); *offsetp += 7; proto_tree_add_item(t, hf_x11_xtest_FakeInput_deviceid, tvb, *offsetp, 1, byte_order); *offsetp += 1; } static void xtestGrabControl(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xtest_GrabControl_impervious, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static const value_string xtest_extension_minor[] = { { 0, "GetVersion" }, { 1, "CompareCursor" }, { 2, "FakeInput" }, { 3, "GrabControl" }, { 0, NULL } }; const x11_event_info xtest_events[] = { { NULL, NULL } }; static x11_reply_info xtest_replies[] = { { 0, xtestGetVersion_Reply }, { 1, xtestCompareCursor_Reply }, { 0, NULL } }; static void dispatch_xtest(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xtest_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xtest_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xtestGetVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xtestCompareCursor(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xtestFakeInput(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xtestGrabControl(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xtest(void) { set_handler("XTEST", dispatch_xtest, xtest_errors, xtest_events, NULL, xtest_replies); } static void struct_xv_Rational(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xv_Rational, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xv_Rational_numerator, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_Rational_denominator, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void struct_xv_Format(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xv_Format, tvb, *offsetp, 8, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xv_Format_visual, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_Format_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } } static int struct_size_xv_AdaptorInfo(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_name_size; int f_num_formats; f_name_size = tvb_get_guint16(tvb, *offsetp + size + 4, byte_order); f_num_formats = tvb_get_guint16(tvb, *offsetp + size + 8, byte_order); size += f_name_size * 1; size = (size + 3) & ~3; size += f_num_formats * 8; return size + 12; } static void struct_xv_AdaptorInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_name_size; int f_num_formats; item = proto_tree_add_item(root, hf_x11_struct_xv_AdaptorInfo, tvb, *offsetp, struct_size_xv_AdaptorInfo(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xv_AdaptorInfo_base_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_name_size = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xv_AdaptorInfo_name_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xv_AdaptorInfo_num_ports, tvb, *offsetp, 2, byte_order); *offsetp += 2; f_num_formats = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xv_AdaptorInfo_num_formats, tvb, *offsetp, 2, byte_order); *offsetp += 2; { int* const type_bits [] = { &hf_x11_struct_xv_AdaptorInfo_type_mask_InputMask, &hf_x11_struct_xv_AdaptorInfo_type_mask_OutputMask, &hf_x11_struct_xv_AdaptorInfo_type_mask_VideoMask, &hf_x11_struct_xv_AdaptorInfo_type_mask_StillMask, &hf_x11_struct_xv_AdaptorInfo_type_mask_ImageMask, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xv_AdaptorInfo_type, ett_x11_rectangle, type_bits, byte_order); } *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; listOfByte(tvb, offsetp, t, hf_x11_struct_xv_AdaptorInfo_name, f_name_size, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } struct_xv_Format(tvb, offsetp, t, byte_order, f_num_formats); } } static int struct_size_xv_EncodingInfo(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_name_size; f_name_size = tvb_get_guint16(tvb, *offsetp + size + 4, byte_order); size += f_name_size * 1; size = (size + 3) & ~3; return size + 20; } static void struct_xv_EncodingInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_name_size; item = proto_tree_add_item(root, hf_x11_struct_xv_EncodingInfo, tvb, *offsetp, struct_size_xv_EncodingInfo(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xv_EncodingInfo_encoding, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_name_size = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xv_EncodingInfo_name_size, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xv_EncodingInfo_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xv_EncodingInfo_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; struct_xv_Rational(tvb, offsetp, t, byte_order, 1); listOfByte(tvb, offsetp, t, hf_x11_struct_xv_EncodingInfo_name, f_name_size, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } } static int struct_size_xv_AttributeInfo(tvbuff_t *tvb _U_, int *offsetp _U_, guint byte_order _U_) { int size = 0; int f_size; f_size = tvb_get_guint32(tvb, *offsetp + size + 12, byte_order); size += f_size * 1; size = (size + 3) & ~3; return size + 16; } static void struct_xv_AttributeInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; int f_size; item = proto_tree_add_item(root, hf_x11_struct_xv_AttributeInfo, tvb, *offsetp, struct_size_xv_AttributeInfo(tvb, offsetp, byte_order), ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); { int* const flags_bits [] = { &hf_x11_struct_xv_AttributeInfo_flags_mask_Gettable, &hf_x11_struct_xv_AttributeInfo_flags_mask_Settable, NULL }; proto_tree_add_bitmask(t, tvb, *offsetp, hf_x11_struct_xv_AttributeInfo_flags, ett_x11_rectangle, flags_bits, byte_order); } *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_AttributeInfo_min, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_AttributeInfo_max, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_size = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_struct_xv_AttributeInfo_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_struct_xv_AttributeInfo_name, f_size, byte_order); if (*offsetp % 4) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, (4 - *offsetp % 4), ENC_NA); *offsetp += (4 - *offsetp % 4); } } } static void struct_xv_ImageFormatInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xv_ImageFormatInfo, tvb, *offsetp, 128, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_struct_xv_ImageFormatInfo_type, byte_order); field8(tvb, offsetp, t, hf_x11_struct_xv_ImageFormatInfo_byte_order, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_struct_xv_ImageFormatInfo_guid, 16, byte_order); proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_bpp, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_num_planes, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 2, ENC_NA); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_depth, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_red_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_green_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_blue_mask, tvb, *offsetp, 4, byte_order); *offsetp += 4; field8(tvb, offsetp, t, hf_x11_struct_xv_ImageFormatInfo_format, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_y_sample_bits, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_u_sample_bits, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_v_sample_bits, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_vhorz_y_period, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_vhorz_u_period, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_vhorz_v_period, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_vvert_y_period, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_vvert_u_period, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xv_ImageFormatInfo_vvert_v_period, tvb, *offsetp, 4, byte_order); *offsetp += 4; listOfByte(tvb, offsetp, t, hf_x11_struct_xv_ImageFormatInfo_vcomp_order, 32, byte_order); field8(tvb, offsetp, t, hf_x11_struct_xv_ImageFormatInfo_vscanline_order, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 11, ENC_NA); *offsetp += 11; } } static void xvPortNotify(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order) { proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; CARD16(event_sequencenumber); proto_tree_add_item(t, hf_x11_xv_PortNotify_time, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PortNotify_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PortNotify_attribute, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PortNotify_value, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvQueryExtension(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xvQueryExtension_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryExtension"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-QueryExtension)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_QueryExtension_reply_major, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_QueryExtension_reply_minor, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xvQueryAdaptors(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_QueryAdaptors_window, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvQueryAdaptors_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_adaptors; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryAdaptors"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-QueryAdaptors)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_adaptors = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xv_QueryAdaptors_reply_num_adaptors, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; struct_xv_AdaptorInfo(tvb, offsetp, t, byte_order, f_num_adaptors); } static void xvQueryEncodings(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_QueryEncodings_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvQueryEncodings_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_encodings; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryEncodings"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-QueryEncodings)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_encodings = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xv_QueryEncodings_reply_num_encodings, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 22, ENC_NA); *offsetp += 22; struct_xv_EncodingInfo(tvb, offsetp, t, byte_order, f_num_encodings); } static void xvGrabPort(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_GrabPort_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xv_GrabPort_time, byte_order); } static void xvGrabPort_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GrabPort"); REPLY(reply); field8(tvb, offsetp, t, hf_x11_xv_GrabPort_reply_result, byte_order); sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-GrabPort)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvUngrabPort(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_UngrabPort_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; field32(tvb, offsetp, t, hf_x11_xv_UngrabPort_time, byte_order); } static void xvPutVideo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_PutVideo_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutVideo_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutVideo_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutVideo_vid_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutVideo_vid_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutVideo_vid_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutVideo_vid_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutVideo_drw_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutVideo_drw_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutVideo_drw_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutVideo_drw_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xvPutStill(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_PutStill_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutStill_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutStill_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutStill_vid_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutStill_vid_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutStill_vid_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutStill_vid_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutStill_drw_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutStill_drw_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutStill_drw_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutStill_drw_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xvGetVideo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_GetVideo_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_GetVideo_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_GetVideo_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_GetVideo_vid_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetVideo_vid_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetVideo_vid_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetVideo_vid_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetVideo_drw_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetVideo_drw_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetVideo_drw_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetVideo_drw_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xvGetStill(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_GetStill_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_GetStill_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_GetStill_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_GetStill_vid_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetStill_vid_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetStill_vid_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetStill_vid_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetStill_drw_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetStill_drw_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetStill_drw_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_GetStill_drw_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xvStopVideo(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_StopVideo_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_StopVideo_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvSelectVideoNotify(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_SelectVideoNotify_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_SelectVideoNotify_onoff, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xvSelectPortNotify(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_SelectPortNotify_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_SelectPortNotify_onoff, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xvQueryBestSize(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_QueryBestSize_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_QueryBestSize_vid_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_QueryBestSize_vid_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_QueryBestSize_drw_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_QueryBestSize_drw_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_QueryBestSize_motion, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static void xvQueryBestSize_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryBestSize"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-QueryBestSize)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_QueryBestSize_reply_actual_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_QueryBestSize_reply_actual_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xvSetPortAttribute(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_SetPortAttribute_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_SetPortAttribute_attribute, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_SetPortAttribute_value, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvGetPortAttribute(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_GetPortAttribute_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_GetPortAttribute_attribute, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvGetPortAttribute_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-GetPortAttribute"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-GetPortAttribute)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_GetPortAttribute_reply_value, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvQueryPortAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_QueryPortAttributes_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvQueryPortAttributes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_attributes; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryPortAttributes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-QueryPortAttributes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_attributes = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xv_QueryPortAttributes_reply_num_attributes, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_QueryPortAttributes_reply_text_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 16, ENC_NA); *offsetp += 16; struct_xv_AttributeInfo(tvb, offsetp, t, byte_order, f_num_attributes); } static void xvListImageFormats(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_ListImageFormats_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvListImageFormats_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_formats; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListImageFormats"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-ListImageFormats)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_formats = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xv_ListImageFormats_reply_num_formats, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xv_ImageFormatInfo(tvb, offsetp, t, byte_order, f_num_formats); } static void xvQueryImageAttributes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_QueryImageAttributes_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_QueryImageAttributes_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_QueryImageAttributes_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_QueryImageAttributes_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xvQueryImageAttributes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num_planes; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryImageAttributes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xv-QueryImageAttributes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num_planes = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xv_QueryImageAttributes_reply_num_planes, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_QueryImageAttributes_reply_data_size, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_QueryImageAttributes_reply_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_QueryImageAttributes_reply_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfCard32(tvb, offsetp, t, hf_x11_xv_QueryImageAttributes_reply_pitches, hf_x11_xv_QueryImageAttributes_reply_pitches_item, f_num_planes, byte_order); listOfCard32(tvb, offsetp, t, hf_x11_xv_QueryImageAttributes_reply_offsets, hf_x11_xv_QueryImageAttributes_reply_offsets_item, f_num_planes, byte_order); } static void xvPutImage(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_PutImage_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutImage_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutImage_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutImage_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_PutImage_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_src_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_src_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_drw_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_drw_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_drw_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_drw_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_PutImage_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xv_PutImage_data, (length - 40) / 1, byte_order); } static void xvShmPutImage(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xv_ShmPutImage_port, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_drawable, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_gc, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_shmseg, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_offset, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_src_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_src_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_src_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_src_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_drw_x, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_drw_y, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_drw_w, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_drw_h, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xv_ShmPutImage_send_event, tvb, *offsetp, 1, byte_order); *offsetp += 1; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 3, ENC_NA); *offsetp += 3; } static const value_string xv_extension_minor[] = { { 0, "QueryExtension" }, { 1, "QueryAdaptors" }, { 2, "QueryEncodings" }, { 3, "GrabPort" }, { 4, "UngrabPort" }, { 5, "PutVideo" }, { 6, "PutStill" }, { 7, "GetVideo" }, { 8, "GetStill" }, { 9, "StopVideo" }, { 10, "SelectVideoNotify" }, { 11, "SelectPortNotify" }, { 12, "QueryBestSize" }, { 13, "SetPortAttribute" }, { 14, "GetPortAttribute" }, { 15, "QueryPortAttributes" }, { 16, "ListImageFormats" }, { 17, "QueryImageAttributes" }, { 18, "PutImage" }, { 19, "ShmPutImage" }, { 0, NULL } }; static const x11_event_info xv_events[] = { { "xv-PortNotify", xvPortNotify }, { NULL, NULL } }; static x11_reply_info xv_replies[] = { { 0, xvQueryExtension_Reply }, { 1, xvQueryAdaptors_Reply }, { 2, xvQueryEncodings_Reply }, { 3, xvGrabPort_Reply }, { 12, xvQueryBestSize_Reply }, { 14, xvGetPortAttribute_Reply }, { 15, xvQueryPortAttributes_Reply }, { 16, xvListImageFormats_Reply }, { 17, xvQueryImageAttributes_Reply }, { 0, NULL } }; static void dispatch_xv(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xv_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xv_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xvQueryExtension(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xvQueryAdaptors(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xvQueryEncodings(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xvGrabPort(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xvUngrabPort(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xvPutVideo(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xvPutStill(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xvGetVideo(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xvGetStill(tvb, pinfo, offsetp, t, byte_order, length); break; case 9: xvStopVideo(tvb, pinfo, offsetp, t, byte_order, length); break; case 10: xvSelectVideoNotify(tvb, pinfo, offsetp, t, byte_order, length); break; case 11: xvSelectPortNotify(tvb, pinfo, offsetp, t, byte_order, length); break; case 12: xvQueryBestSize(tvb, pinfo, offsetp, t, byte_order, length); break; case 13: xvSetPortAttribute(tvb, pinfo, offsetp, t, byte_order, length); break; case 14: xvGetPortAttribute(tvb, pinfo, offsetp, t, byte_order, length); break; case 15: xvQueryPortAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 16: xvListImageFormats(tvb, pinfo, offsetp, t, byte_order, length); break; case 17: xvQueryImageAttributes(tvb, pinfo, offsetp, t, byte_order, length); break; case 18: xvPutImage(tvb, pinfo, offsetp, t, byte_order, length); break; case 19: xvShmPutImage(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xv(void) { set_handler("XVideo", dispatch_xv, xv_errors, xv_events, NULL, xv_replies); } static void struct_xvmc_SurfaceInfo(tvbuff_t *tvb, int *offsetp, proto_tree *root, guint byte_order _U_, int count) { int i; for (i = 0; i < count; i++) { proto_item *item; proto_tree *t; item = proto_tree_add_item(root, hf_x11_struct_xvmc_SurfaceInfo, tvb, *offsetp, 24, ENC_NA); t = proto_item_add_subtree(item, ett_x11_rectangle); proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_chroma_format, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_pad0, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_max_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_max_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_subpicture_max_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_subpicture_max_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_mc_type, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_struct_xvmc_SurfaceInfo_flags, tvb, *offsetp, 4, byte_order); *offsetp += 4; } } static void xvmcQueryVersion(tvbuff_t *tvb _U_, packet_info *pinfo _U_, int *offsetp _U_, proto_tree *t _U_, guint byte_order _U_, int length _U_) { } static void xvmcQueryVersion_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; col_append_fstr(pinfo->cinfo, COL_INFO, "-QueryVersion"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xvmc-QueryVersion)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_QueryVersion_reply_major, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_QueryVersion_reply_minor, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvmcListSurfaceTypes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xvmc_ListSurfaceTypes_port_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvmcListSurfaceTypes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListSurfaceTypes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xvmc-ListSurfaceTypes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xvmc_ListSurfaceTypes_reply_num, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xvmc_SurfaceInfo(tvb, offsetp, t, byte_order, f_num); } static void xvmcCreateContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xvmc_CreateContext_context_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateContext_port_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateContext_surface_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateContext_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xvmc_CreateContext_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xvmc_CreateContext_flags, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvmcCreateContext_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-CreateContext"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xvmc-CreateContext)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateContext_reply_width_actual, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xvmc_CreateContext_reply_height_actual, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xvmc_CreateContext_reply_flags_return, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; listOfCard32(tvb, offsetp, t, hf_x11_xvmc_CreateContext_reply_priv_data, hf_x11_xvmc_CreateContext_reply_priv_data_item, f_length, byte_order); } static void xvmcDestroyContext(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xvmc_DestroyContext_context_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvmcCreateSurface(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xvmc_CreateSurface_surface_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateSurface_context_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvmcCreateSurface_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-CreateSurface"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xvmc-CreateSurface)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 24, ENC_NA); *offsetp += 24; listOfCard32(tvb, offsetp, t, hf_x11_xvmc_CreateSurface_reply_priv_data, hf_x11_xvmc_CreateSurface_reply_priv_data_item, f_length, byte_order); } static void xvmcDestroySurface(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xvmc_DestroySurface_surface_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvmcCreateSubpicture(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_subpicture_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_context, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_xvimage_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_width, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_height, tvb, *offsetp, 2, byte_order); *offsetp += 2; } static void xvmcCreateSubpicture_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_length; col_append_fstr(pinfo->cinfo, COL_INFO, "-CreateSubpicture"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xvmc-CreateSubpicture)", sequence_number); *offsetp += 2; f_length = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_reply_width_actual, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_reply_height_actual, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_reply_num_palette_entries, tvb, *offsetp, 2, byte_order); *offsetp += 2; proto_tree_add_item(t, hf_x11_xvmc_CreateSubpicture_reply_entry_bytes, tvb, *offsetp, 2, byte_order); *offsetp += 2; listOfByte(tvb, offsetp, t, hf_x11_xvmc_CreateSubpicture_reply_component_order, 4, byte_order); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 12, ENC_NA); *offsetp += 12; listOfCard32(tvb, offsetp, t, hf_x11_xvmc_CreateSubpicture_reply_priv_data, hf_x11_xvmc_CreateSubpicture_reply_priv_data_item, f_length, byte_order); } static void xvmcDestroySubpicture(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xvmc_DestroySubpicture_subpicture_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvmcListSubpictureTypes(tvbuff_t *tvb, packet_info *pinfo _U_, int *offsetp, proto_tree *t, guint byte_order, int length _U_) { proto_tree_add_item(t, hf_x11_xvmc_ListSubpictureTypes_port_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_xvmc_ListSubpictureTypes_surface_id, tvb, *offsetp, 4, byte_order); *offsetp += 4; } static void xvmcListSubpictureTypes_Reply(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int sequence_number; int f_num; col_append_fstr(pinfo->cinfo, COL_INFO, "-ListSubpictureTypes"); REPLY(reply); proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 1, ENC_NA); *offsetp += 1; sequence_number = tvb_get_guint16(tvb, *offsetp, byte_order); proto_tree_add_uint_format_value(t, hf_x11_reply_sequencenumber, tvb, *offsetp, 2, sequence_number, "%d (xvmc-ListSubpictureTypes)", sequence_number); *offsetp += 2; proto_tree_add_item(t, hf_x11_replylength, tvb, *offsetp, 4, byte_order); *offsetp += 4; f_num = tvb_get_guint32(tvb, *offsetp, byte_order); proto_tree_add_item(t, hf_x11_xvmc_ListSubpictureTypes_reply_num, tvb, *offsetp, 4, byte_order); *offsetp += 4; proto_tree_add_item(t, hf_x11_unused, tvb, *offsetp, 20, ENC_NA); *offsetp += 20; struct_xv_ImageFormatInfo(tvb, offsetp, t, byte_order, f_num); } static const value_string xvmc_extension_minor[] = { { 0, "QueryVersion" }, { 1, "ListSurfaceTypes" }, { 2, "CreateContext" }, { 3, "DestroyContext" }, { 4, "CreateSurface" }, { 5, "DestroySurface" }, { 6, "CreateSubpicture" }, { 7, "DestroySubpicture" }, { 8, "ListSubpictureTypes" }, { 0, NULL } }; const x11_event_info xvmc_events[] = { { NULL, NULL } }; static x11_reply_info xvmc_replies[] = { { 0, xvmcQueryVersion_Reply }, { 1, xvmcListSurfaceTypes_Reply }, { 2, xvmcCreateContext_Reply }, { 4, xvmcCreateSurface_Reply }, { 6, xvmcCreateSubpicture_Reply }, { 8, xvmcListSubpictureTypes_Reply }, { 0, NULL } }; static void dispatch_xvmc(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order) { int minor, length; minor = CARD8(xvmc_extension_minor); length = REQUEST_LENGTH(); col_append_fstr(pinfo->cinfo, COL_INFO, "-%s", val_to_str(minor, xvmc_extension_minor, "<Unknown opcode %d>")); switch (minor) { case 0: xvmcQueryVersion(tvb, pinfo, offsetp, t, byte_order, length); break; case 1: xvmcListSurfaceTypes(tvb, pinfo, offsetp, t, byte_order, length); break; case 2: xvmcCreateContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 3: xvmcDestroyContext(tvb, pinfo, offsetp, t, byte_order, length); break; case 4: xvmcCreateSurface(tvb, pinfo, offsetp, t, byte_order, length); break; case 5: xvmcDestroySurface(tvb, pinfo, offsetp, t, byte_order, length); break; case 6: xvmcCreateSubpicture(tvb, pinfo, offsetp, t, byte_order, length); break; case 7: xvmcDestroySubpicture(tvb, pinfo, offsetp, t, byte_order, length); break; case 8: xvmcListSubpictureTypes(tvb, pinfo, offsetp, t, byte_order, length); break; /* No need for a default case here, since Unknown is printed above, and UNDECODED() is taken care of by dissect_x11_request */ } } static void register_xvmc(void) { set_handler("XVideo-MotionCompensation", dispatch_xvmc, xvmc_errors, xvmc_events, NULL, xvmc_replies); } static void register_x11_extensions(void) { register_bigreq(); register_composite(); register_damage(); register_dpms(); register_dri2(); register_dri3(); register_ge(); register_glx(); register_present(); register_randr(); register_record(); register_render(); register_res(); register_screensaver(); register_shape(); register_shm(); register_sync(); register_xc_misc(); register_xevie(); register_xf86dri(); register_xf86vidmode(); register_xfixes(); register_xinerama(); register_xinput(); register_xkb(); register_xprint(); register_xselinux(); register_xtest(); register_xv(); register_xvmc(); }
wireshark/epan/dissectors/x11-fields
# # Fields for X11 dissector. # # Copyright 2000, Christophe Tronche <[email protected]> # # Wireshark - Network traffic analyzer # By Gerald Combs <[email protected]> # Copyright 1998 Gerald Combs # # SPDX-License-Identifier: GPL-2.0-or-later # above-sibling UINT32 HEX acceleration-denominator INT16 DEC acceleration-numerator INT16 DEC access-mode UINT8 DEC VALS address BYTES NONE ip-address IPv4 NONE address-length UINT16 DEC alloc UINT8 DEC VALS allow-events-mode UINT8 DEC VALS allow-exposures UINT8 DEC VALS(yes_no_default) arcs NONE NONE arc NONE NONE x INT16 DEC y INT16 DEC width UINT16 DEC height UINT16 DEC angle1 INT16 DEC angle2 INT16 DEC arc-mode UINT8 DEC VALS Tell us if we're drawing an arc or a pie atom UINT32 HEX authorization-protocol-name-length UINT16 DEC authorization-protocol-name STRING NONE authorization-protocol-data-length UINT16 DEC authorization-protocol-data STRING NONE auto-repeat-mode UINT8 DEC VALS bitmap-format-bit-order UINT8 HEX VALS(image_byte_order) bitmap-format-scanline-pad UINT8 DEC bitmap format scanline-pad bitmap-format-scanline-unit UINT8 DEC bitmap format scanline unit bytes-after UINT32 DEC bytes after back-blue UINT16 DEC Background blue value for a cursor back-green UINT16 DEC Background green value for a cursor back-red UINT16 DEC Background red value for a cursor background UINT32 HEX Background color background-pixel UINT32 HEX Background color for a window background-pixmap UINT32 HEX VALS Background pixmap for a window backing-pixel UINT32 HEX backing-planes UINT32 HEX backing-store UINT8 DEC VALS bell-duration INT16 DEC bell-percent INT8 DEC bell-pitch INT16 DEC bit-gravity UINT8 DEC VALS(bit_gravity) bit-plane UINT32 HEX blue UINT16 DEC blues UINT16 DEC border-pixel UINT32 HEX border-pixmap UINT32 HEX VALS border-width UINT16 DEC button UINT8 DEC VALS byte-order CHAR HEX VALS childwindow UINT32 HEX cap-style UINT8 DEC VALS change-host-mode UINT8 DEC VALS(insert_delete) cid UINT32 HEX class UINT8 DEC VALS clip-mask UINT32 HEX VALS(zero_is_none) clip-x-origin INT16 DEC clip-y-origin INT16 DEC close-down-mode UINT8 DEC VALS cmap UINT32 HEX colormap UINT32 HEX colormap-state UINT8 DEC VALS color-items NONE NONE coloritem NONE NONE pixel UINT32 HEX red UINT16 DEC green UINT16 DEC blue UINT16 DEC flags UINT8 HEX do-red BOOLEAN 8 0x01 do-green BOOLEAN 8 0x02 do-blue BOOLEAN 8 0x04 unused BOOLEAN 8 0xf8 unused NONE NONE colors UINT16 DEC The number of color cells to allocate configure-window-mask UINT16 HEX x BOOLEAN 16 0x0001 y BOOLEAN 16 0x0002 width BOOLEAN 16 0x0004 height BOOLEAN 16 0x0008 border-width BOOLEAN 16 0x0010 sibling BOOLEAN 16 0x0020 stack-mode BOOLEAN 16 0x0040 confine-to UINT32 HEX VALS(zero_is_none) contiguous BOOLEAN NONE coordinate-mode UINT8 DEC VALS count UINT8 DEC cursor UINT32 HEX VALS(zero_is_none) dash-offset UINT16 DEC dashes BYTES NONE dashes-length UINT16 DEC do-acceleration BOOLEAN NONE do-threshold BOOLEAN NONE detail UINT8 DEC do-not-propagate-mask UINT32 HEX KeyPress BOOLEAN 32 0x00000001 KeyRelease BOOLEAN 32 0x00000002 ButtonPress BOOLEAN 32 0x00000004 ButtonRelease BOOLEAN 32 0x00000008 PointerMotion BOOLEAN 32 0x00000040 Button1Motion BOOLEAN 32 0x00000100 Button2Motion BOOLEAN 32 0x00000200 Button3Motion BOOLEAN 32 0x00000400 Button4Motion BOOLEAN 32 0x00000800 Button5Motion BOOLEAN 32 0x00001000 ButtonMotion BOOLEAN 32 0x00002000 erroneous-bits BOOLEAN 32 0xffffc0b0 event-sequencenumber UINT16 DEC error UINT8 DEC error-badvalue UINT32 DEC error badvalue error-badresourceid UINT32 HEX error_badresourceid error_sequencenumber UINT16 DEC error sequencenumber errorcode UINT8 DEC VALS event-x UINT16 DEC event x event-y UINT16 DEC event y eventbutton UINT8 DEC eventcode UINT8 DEC VALS eventwindow UINT32 HEX extension UINT8 DEC first-event UINT8 DEC first-error UINT8 DEC gc-dashes UINT8 DEC gc-value-mask UINT32 HEX function BOOLEAN 32 0x00000001 plane-mask BOOLEAN 32 0x00000002 foreground BOOLEAN 32 0x00000004 background BOOLEAN 32 0x00000008 line-width BOOLEAN 32 0x00000010 line-style BOOLEAN 32 0x00000020 cap-style BOOLEAN 32 0x00000040 join-style BOOLEAN 32 0x00000080 fill-style BOOLEAN 32 0x00000100 fill-rule BOOLEAN 32 0x00000200 tile BOOLEAN 32 0x00000400 stipple BOOLEAN 32 0x00000800 tile-stipple-x-origin BOOLEAN 32 0x00001000 tile-stipple-y-origin BOOLEAN 32 0x00002000 font BOOLEAN 32 0x00004000 subwindow-mode BOOLEAN 32 0x00008000 graphics-exposures BOOLEAN 32 0x00010000 clip-x-origin BOOLEAN 32 0x00020000 clip-y-origin BOOLEAN 32 0x00040000 clip-mask BOOLEAN 32 0x00080000 dash-offset BOOLEAN 32 0x00100000 gc-dashes BOOLEAN 32 0x00200000 arc-mode BOOLEAN 32 0x00400000 green UINT16 DEC greens UINT16 DEC data BYTES NONE data16 NONE NONE item UINT16 HEX data32 NONE NONE item UINT32 HEX data-length UINT32 DEC delete BOOLEAN NONE Delete this property after reading delta INT16 DEC depth UINT8 DEC depth-detail NONE NONE depth UINT8 DEC visualtypes-numbers UINT16 DEC destination UINT8 DEC VALS direction UINT8 DEC VALS drawable UINT32 HEX dst-drawable UINT32 HEX dst-gc UINT32 HEX dst-window UINT32 HEX dst-x INT16 DEC dst-y INT16 DEC event-detail UINT8 DEC VALS event-mask UINT32 HEX KeyPress BOOLEAN 32 0x00000001 KeyRelease BOOLEAN 32 0x00000002 ButtonPress BOOLEAN 32 0x00000004 ButtonRelease BOOLEAN 32 0x00000008 EnterWindow BOOLEAN 32 0x00000010 LeaveWindow BOOLEAN 32 0x00000020 PointerMotion BOOLEAN 32 0x00000040 PointerMotionHint BOOLEAN 32 0x00000080 Button1Motion BOOLEAN 32 0x00000100 Button2Motion BOOLEAN 32 0x00000200 Button3Motion BOOLEAN 32 0x00000400 Button4Motion BOOLEAN 32 0x00000800 Button5Motion BOOLEAN 32 0x00001000 ButtonMotion BOOLEAN 32 0x00002000 KeymapState BOOLEAN 32 0x00004000 Exposure BOOLEAN 32 0x00008000 VisibilityChange BOOLEAN 32 0x00010000 StructureNotify BOOLEAN 32 0x00020000 ResizeRedirect BOOLEAN 32 0x00040000 SubstructureNotify BOOLEAN 32 0x00080000 SubstructureRedirect BOOLEAN 32 0x00100000 FocusChange BOOLEAN 32 0x00200000 PropertyChange BOOLEAN 32 0x00400000 ColormapChange BOOLEAN 32 0x00800000 OwnerGrabButton BOOLEAN 32 0x01000000 erroneous-bits BOOLEAN 32 0xfe000000 eventlength UINT32 DEC exact-blue UINT16 DEC exact-green UINT16 DEC exact-red UINT16 DEC exposures BOOLEAN NONE family UINT8 DEC VALS fid UINT32 HEX Font id fill-rule UINT8 DEC VALS fill-style UINT8 DEC VALS first-keycode UINT8 DEC focus UINT8 DEC VALS focus-detail UINT8 DEC VALS focus-mode UINT8 DEC VALS font UINT32 HEX fore-blue UINT16 DEC fore-green UINT16 DEC fore-red UINT16 DEC foreground UINT32 HEX format UINT8 DEC from-configure BOOLEAN NONE function UINT8 DEC VALS gc UINT32 HEX get-property-type UINT32 HEX VALS(zero_is_any_property_type) grab-mode UINT8 DEC VALS grab-status UINT8 DEC VALS grab-window UINT32 HEX graphics-exposures BOOLEAN NONE height UINT16 DEC image-byte-order CHAR HEX VALS initial-connection NONE NONE undecoded image-format UINT8 DEC VALS image-pixmap-format UINT8 DEC VALS interval INT16 DEC items NONE NONE join-style UINT8 DEC VALS key UINT8 DEC VALS key-click-percent INT8 DEC keyboard-key UINT8 DEC keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode) keybut-mask-erroneous-bits BOOLEAN 16 0xe000 keybut mask erroneous bits keycode UINT8 HEX keyboard-value-mask UINT32 HEX key-click-percent BOOLEAN 32 0x0001 bell-percent BOOLEAN 32 0x0002 bell-pitch BOOLEAN 32 0x0004 bell-duration BOOLEAN 32 0x0008 led BOOLEAN 32 0x0010 led-mode BOOLEAN 32 0x0020 keyboard-key BOOLEAN 32 0x0040 auto-repeat-mode BOOLEAN 32 0x0080 keycode-count UINT8 DEC keycodes NONE NONE item BYTES NONE keycodes-per-modifier UINT8 DEC keys BYTES NONE keysyms NONE NONE item NONE NONE keysym UINT32 HEX keysyms-per-keycode UINT8 DEC length-of-reason UINT8 DEC length of reason length-of-vendor UINT16 DEC length of vendor led UINT8 DEC led-mode UINT8 DEC VALS(on_off) left-pad UINT8 DEC line-style UINT8 DEC VALS line-width UINT16 DEC long-length UINT32 DEC The maximum length of the property in bytes long-offset UINT32 DEC The starting position in the property bytes array map BYTES NONE map-length UINT8 DEC mapping-request UINT8 DEC VALS(mapping_request) mask UINT32 HEX VALS(zero_is_none) mask-char UINT16 DEC mask-font UINT32 HEX VALS(zero_is_none) max-names UINT16 DEC mid UINT32 HEX mode UINT8 DEC VALS major-opcode UINT16 DEC major opcode max-keycode UINT8 DEC max keycode maximum-request-length UINT16 DEC maximum request length min-keycode UINT8 DEC min keycode minor-opcode UINT16 DEC minor opcode modifiers-mask UINT16 HEX Shift BOOLEAN 16 0x0001 Lock BOOLEAN 16 0x0002 Control BOOLEAN 16 0x0004 Mod1 BOOLEAN 16 0x0008 Mod2 BOOLEAN 16 0x0010 Mod3 BOOLEAN 16 0x0020 Mod4 BOOLEAN 16 0x0040 Mod5 BOOLEAN 16 0x0080 Button1 BOOLEAN 16 0x0100 Button2 BOOLEAN 16 0x0200 Button3 BOOLEAN 16 0x0400 Button4 BOOLEAN 16 0x0800 Button5 BOOLEAN 16 0x1000 AnyModifier UINT16 HEX 0x8000 erroneous-bits BOOLEAN 16 0xff00 motion-buffer-size UINT16 DEC motion buffer size new BOOLEAN NONE number-of-formats-in-pixmap-formats UINT8 DEC number of formats in pixmap formats number-of-screens-in-roots UINT8 DEC number of screens in roots name STRING NONE name-length UINT16 DEC odd-length BOOLEAN NONE only-if-exists BOOLEAN NONE opcode UINT8 DEC VALS ordering UINT8 DEC VALS override-redirect BOOLEAN NONE Window manager doesn't manage this window when true owner UINT32 HEX VALS(zero_is_none) owner-events BOOLEAN NONE parent UINT32 HEX path NONE NONE string STRING NONE pattern STRING NONE pattern-length UINT16 DEC percent UINT8 DEC pid UINT32 HEX pixel UINT32 HEX pixels NONE NONE pixels_item UINT32 HEX pixmap UINT32 HEX pixmap-format NONE NONE Pixmap Formats depth UINT8 DEC bits-per-pixel UINT8 DEC scanline-pad UINT8 DEC place UINT8 DEC VALS plane-mask UINT32 HEX VALS planes UINT16 DEC point NONE NONE points NONE NONE point-x INT16 DEC point-y INT16 DEC pointer-event-mask UINT16 HEX ButtonPress BOOLEAN 16 0x0004 ButtonRelease BOOLEAN 16 0x0008 EnterWindow BOOLEAN 16 0x0010 LeaveWindow BOOLEAN 16 0x0020 PointerMotion BOOLEAN 16 0x0040 PointerMotionHint BOOLEAN 16 0x0080 Button1Motion BOOLEAN 16 0x0100 Button2Motion BOOLEAN 16 0x0200 Button3Motion BOOLEAN 16 0x0400 Button4Motion BOOLEAN 16 0x0800 Button5Motion BOOLEAN 16 0x1000 ButtonMotion BOOLEAN 16 0x2000 KeymapState BOOLEAN 16 0x4000 erroneous-bits BOOLEAN 16 0x8003 pointer-mode UINT8 DEC VALS(pointer_keyboard_mode) prefer-blanking UINT8 DEC VALS(yes_no_default) present BOOLEAN NONE propagate BOOLEAN NONE properties NONE NONE item UINT32 HEX property UINT32 HEX property-number UINT16 DEC property-state UINT8 DEC VALS protocol-major-version UINT16 DEC protocol-minor-version UINT16 DEC reason STRING NONE rectangle-height UINT16 DEC rectangles NONE NONE rectangle NONE NONE rectangle-width UINT16 DEC rectangle-x INT16 DEC rectangle-y INT16 DEC red UINT16 DEC reds UINT16 DEC request UINT8 DEC VALS(opcode) requestor UINT32 HEX request-length UINT16 DEC Request length resource UINT32 HEX VALS(all_temporary) revert-to UINT8 DEC VALS release-number UINT32 DEC release number reply UINT8 DEC reply-sequencenumber UINT16 DEC VALS(opcode) replylength UINT32 DEC replyopcode UINT8 DEC VALS(opcode) resource-id-base UINT32 HEX resource id base resource-id-mask UINT32 HEX resource id mask root-x UINT16 DEC root x root-y UINT16 DEC root y rootwindow UINT32 HEX same-screen BOOLEAN NONE same screen same-screen-focus-mask UINT8 HEX focus BOOLEAN 8 0x01 same-screen BOOLEAN 8 0x02 success UINT8 DEC save-set-mode UINT8 DEC VALS(insert_delete) save-under BOOLEAN NONE screen NONE NONE root UINT32 HEX default_colormap UINT32 HEX white_pixel UINT32 HEX black_pixel UINT32 HEX current_input_masks UINT32 HEX width_in_pixels UINT16 DEC height_in_pixels UINT16 DEC width_in_millimeters UINT16 DEC height_in_millimeters UINT16 DEC min_installed_maps UINT16 DEC max_installed_maps UINT16 DEC root_visual UINT32 HEX backing_stores UINT8 HEX save_unders BOOLEAN NONE root_depth UINT8 DEC allowed_depths_len UINT8 DEC screen-saver-mode UINT8 DEC VALS segment NONE NONE segments NONE NONE segment_x1 INT16 DEC segment_x2 INT16 DEC segment_y1 INT16 DEC segment_y2 INT16 DEC selection UINT32 HEX shape UINT8 DEC VALS sibling UINT32 HEX source-pixmap UINT32 HEX source-font UINT32 HEX source-char UINT16 DEC src-cmap UINT32 HEX src-drawable UINT32 HEX src-gc UINT32 HEX src-height UINT16 DEC src-width UINT16 DEC src-window UINT32 HEX src-x INT16 DEC src-y INT16 DEC start UINT32 DEC stack-mode UINT8 DEC VALS stipple UINT32 HEX stop UINT32 DEC str-number-in-path UINT16 DEC string STRING NONE string16 STRING NONE bytes BYTES NONE string-length UINT32 DEC subwindow-mode UINT8 DEC VALS target UINT32 HEX textitem NONE NONE font UINT32 HEX string NONE NONE delta INT8 DEC string8 STRING NONE string16 STRING NONE bytes BYTES NONE threshold INT16 DEC tile UINT32 HEX tile-stipple-x-origin INT16 DEC tile-stipple-y-origin INT16 DEC time UINT32 DEC timeout INT16 DEC type UINT32 HEX undecoded NONE NONE Yet undecoded by dissector unused NONE NONE valuelength UINT32 DEC vendor STRING NONE visibility-state UINT8 DEC VALS visual UINT32 HEX visual-blue UINT16 DEC visual-green UINT16 DEC visual-red UINT16 DEC visualid UINT32 HEX visualtype NONE NONE visualid UINT32 HEX class UINT8 DEC bits-per-rgb-value UINT8 DEC colormap-entries UINT16 DEC red-mask UINT32 HEX green-mask UINT32 HEX blue-mask UINT32 HEX warp-pointer-dst-window UINT32 HEX VALS(zero_is_none) warp-pointer-src-window UINT32 HEX VALS(zero_is_none) wid UINT32 HEX Window id width UINT16 DEC win-gravity UINT8 DEC VALS(win_gravity) win-x INT16 DEC win-y INT16 DEC window UINT32 HEX window-class UINT16 DEC VALS Window class window-value-mask UINT32 HEX background-pixmap BOOLEAN 32 0x00000001 background-pixel BOOLEAN 32 0x00000002 border-pixmap BOOLEAN 32 0x00000004 border-pixel BOOLEAN 32 0x00000008 bit-gravity BOOLEAN 32 0x00000010 win-gravity BOOLEAN 32 0x00000020 backing-store BOOLEAN 32 0x00000040 backing-planes BOOLEAN 32 0x00000080 backing-pixel BOOLEAN 32 0x00000100 override-redirect BOOLEAN 32 0x00000200 save-under BOOLEAN 32 0x00000400 event-mask BOOLEAN 32 0x00000800 do-not-propagate-mask BOOLEAN 32 0x00001000 colormap BOOLEAN 32 0x00002000 cursor BOOLEAN 32 0x00004000 x INT16 DEC y INT16 DEC
C/C++
wireshark/epan/dissectors/x11-glx-render-enum.h
/* Do not modify this file. */ /* It was automatically generated by ../../tools/process-x11-xcb.pl using mesa version 20.1-branchpoint-2058-gf8110226baa */ /* * Copyright 2008, 2009, 2013, 2014 Open Text Corporation <pharris[AT]opentext.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald[AT]wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ static const value_string mesa_enum[] = { { 0x0000, "FALSE" }, { 0x0001, "TRUE" }, { 0x0002, "LINE_LOOP" }, { 0x0003, "LINE_STRIP" }, { 0x0004, "TRIANGLES" }, { 0x0005, "TRIANGLE_STRIP" }, { 0x0006, "TRIANGLE_FAN" }, { 0x0007, "QUADS" }, { 0x0008, "QUAD_STRIP" }, { 0x0009, "POLYGON" }, { 0x0010, "POLYGON_STIPPLE_BIT" }, { 0x0020, "PIXEL_MODE_BIT" }, { 0x0040, "LIGHTING_BIT" }, { 0x0080, "FOG_BIT" }, { 0x0100, "ACCUM" }, { 0x0101, "LOAD" }, { 0x0102, "RETURN" }, { 0x0103, "MULT" }, { 0x0104, "ADD" }, { 0x0200, "NEVER" }, { 0x0201, "LESS" }, { 0x0202, "EQUAL" }, { 0x0203, "LEQUAL" }, { 0x0204, "GREATER" }, { 0x0205, "NOTEQUAL" }, { 0x0206, "GEQUAL" }, { 0x0207, "ALWAYS" }, { 0x0300, "SRC_COLOR" }, { 0x0301, "ONE_MINUS_SRC_COLOR" }, { 0x0302, "SRC_ALPHA" }, { 0x0303, "ONE_MINUS_SRC_ALPHA" }, { 0x0304, "DST_ALPHA" }, { 0x0305, "ONE_MINUS_DST_ALPHA" }, { 0x0306, "DST_COLOR" }, { 0x0307, "ONE_MINUS_DST_COLOR" }, { 0x0308, "SRC_ALPHA_SATURATE" }, { 0x0400, "FRONT_LEFT" }, { 0x0401, "FRONT_RIGHT" }, { 0x0402, "BACK_LEFT" }, { 0x0403, "BACK_RIGHT" }, { 0x0404, "FRONT" }, { 0x0405, "BACK" }, { 0x0406, "LEFT" }, { 0x0407, "RIGHT" }, { 0x0408, "FRONT_AND_BACK" }, { 0x0409, "AUX0" }, { 0x040a, "AUX1" }, { 0x040b, "AUX2" }, { 0x040c, "AUX3" }, { 0x0500, "INVALID_ENUM" }, { 0x0501, "INVALID_VALUE" }, { 0x0502, "INVALID_OPERATION" }, { 0x0503, "STACK_OVERFLOW" }, { 0x0504, "STACK_UNDERFLOW" }, { 0x0505, "OUT_OF_MEMORY" }, { 0x0600, "2D" }, { 0x0601, "3D" }, { 0x0602, "3D_COLOR" }, { 0x0603, "3D_COLOR_TEXTURE" }, { 0x0604, "4D_COLOR_TEXTURE" }, { 0x0700, "PASS_THROUGH_TOKEN" }, { 0x0701, "POINT_TOKEN" }, { 0x0702, "LINE_TOKEN" }, { 0x0703, "POLYGON_TOKEN" }, { 0x0704, "BITMAP_TOKEN" }, { 0x0705, "DRAW_PIXEL_TOKEN" }, { 0x0706, "COPY_PIXEL_TOKEN" }, { 0x0707, "LINE_RESET_TOKEN" }, { 0x0800, "EXP" }, { 0x0801, "EXP2" }, { 0x0900, "CW" }, { 0x0901, "CCW" }, { 0x0a00, "COEFF" }, { 0x0a01, "ORDER" }, { 0x0a02, "DOMAIN" }, { 0x0b00, "CURRENT_COLOR" }, { 0x0b01, "CURRENT_INDEX" }, { 0x0b02, "CURRENT_NORMAL" }, { 0x0b03, "CURRENT_TEXTURE_COORDS" }, { 0x0b04, "CURRENT_RASTER_COLOR" }, { 0x0b05, "CURRENT_RASTER_INDEX" }, { 0x0b06, "CURRENT_RASTER_TEXTURE_COORDS" }, { 0x0b07, "CURRENT_RASTER_POSITION" }, { 0x0b08, "CURRENT_RASTER_POSITION_VALID" }, { 0x0b09, "CURRENT_RASTER_DISTANCE" }, { 0x0b10, "POINT_SMOOTH" }, { 0x0b11, "POINT_SIZE" }, { 0x0b12, "POINT_SIZE_RANGE" }, { 0x0b13, "POINT_SIZE_GRANULARITY" }, { 0x0b20, "LINE_SMOOTH" }, { 0x0b21, "LINE_WIDTH" }, { 0x0b22, "LINE_WIDTH_RANGE" }, { 0x0b23, "LINE_WIDTH_GRANULARITY" }, { 0x0b24, "LINE_STIPPLE" }, { 0x0b25, "LINE_STIPPLE_PATTERN" }, { 0x0b26, "LINE_STIPPLE_REPEAT" }, { 0x0b30, "LIST_MODE" }, { 0x0b31, "MAX_LIST_NESTING" }, { 0x0b32, "LIST_BASE" }, { 0x0b33, "LIST_INDEX" }, { 0x0b40, "POLYGON_MODE" }, { 0x0b41, "POLYGON_SMOOTH" }, { 0x0b42, "POLYGON_STIPPLE" }, { 0x0b43, "EDGE_FLAG" }, { 0x0b44, "CULL_FACE" }, { 0x0b45, "CULL_FACE_MODE" }, { 0x0b46, "FRONT_FACE" }, { 0x0b50, "LIGHTING" }, { 0x0b51, "LIGHT_MODEL_LOCAL_VIEWER" }, { 0x0b52, "LIGHT_MODEL_TWO_SIDE" }, { 0x0b53, "LIGHT_MODEL_AMBIENT" }, { 0x0b54, "SHADE_MODEL" }, { 0x0b55, "COLOR_MATERIAL_FACE" }, { 0x0b56, "COLOR_MATERIAL_PARAMETER" }, { 0x0b57, "COLOR_MATERIAL" }, { 0x0b60, "FOG" }, { 0x0b61, "FOG_INDEX" }, { 0x0b62, "FOG_DENSITY" }, { 0x0b63, "FOG_START" }, { 0x0b64, "FOG_END" }, { 0x0b65, "FOG_MODE" }, { 0x0b66, "FOG_COLOR" }, { 0x0b70, "DEPTH_RANGE" }, { 0x0b71, "DEPTH_TEST" }, { 0x0b72, "DEPTH_WRITEMASK" }, { 0x0b73, "DEPTH_CLEAR_VALUE" }, { 0x0b74, "DEPTH_FUNC" }, { 0x0b80, "ACCUM_CLEAR_VALUE" }, { 0x0b90, "STENCIL_TEST" }, { 0x0b91, "STENCIL_CLEAR_VALUE" }, { 0x0b92, "STENCIL_FUNC" }, { 0x0b93, "STENCIL_VALUE_MASK" }, { 0x0b94, "STENCIL_FAIL" }, { 0x0b95, "STENCIL_PASS_DEPTH_FAIL" }, { 0x0b96, "STENCIL_PASS_DEPTH_PASS" }, { 0x0b97, "STENCIL_REF" }, { 0x0b98, "STENCIL_WRITEMASK" }, { 0x0ba0, "MATRIX_MODE" }, { 0x0ba1, "NORMALIZE" }, { 0x0ba2, "VIEWPORT" }, { 0x0ba3, "MODELVIEW_STACK_DEPTH" }, { 0x0ba4, "PROJECTION_STACK_DEPTH" }, { 0x0ba5, "TEXTURE_STACK_DEPTH" }, { 0x0ba6, "MODELVIEW_MATRIX" }, { 0x0ba7, "PROJECTION_MATRIX" }, { 0x0ba8, "TEXTURE_MATRIX" }, { 0x0bb0, "ATTRIB_STACK_DEPTH" }, { 0x0bb1, "CLIENT_ATTRIB_STACK_DEPTH" }, { 0x0bc0, "ALPHA_TEST" }, { 0x0bc1, "ALPHA_TEST_FUNC" }, { 0x0bc2, "ALPHA_TEST_REF" }, { 0x0bd0, "DITHER" }, { 0x0be0, "BLEND_DST" }, { 0x0be1, "BLEND_SRC" }, { 0x0be2, "BLEND" }, { 0x0bf0, "LOGIC_OP_MODE" }, { 0x0bf1, "LOGIC_OP" }, { 0x0bf2, "COLOR_LOGIC_OP" }, { 0x0c00, "AUX_BUFFERS" }, { 0x0c01, "DRAW_BUFFER" }, { 0x0c02, "READ_BUFFER" }, { 0x0c10, "SCISSOR_BOX" }, { 0x0c11, "SCISSOR_TEST" }, { 0x0c20, "INDEX_CLEAR_VALUE" }, { 0x0c21, "INDEX_WRITEMASK" }, { 0x0c22, "COLOR_CLEAR_VALUE" }, { 0x0c23, "COLOR_WRITEMASK" }, { 0x0c30, "INDEX_MODE" }, { 0x0c31, "RGBA_MODE" }, { 0x0c32, "DOUBLEBUFFER" }, { 0x0c33, "STEREO" }, { 0x0c40, "RENDER_MODE" }, { 0x0c50, "PERSPECTIVE_CORRECTION_HINT" }, { 0x0c51, "POINT_SMOOTH_HINT" }, { 0x0c52, "LINE_SMOOTH_HINT" }, { 0x0c53, "POLYGON_SMOOTH_HINT" }, { 0x0c54, "FOG_HINT" }, { 0x0c60, "TEXTURE_GEN_S" }, { 0x0c61, "TEXTURE_GEN_T" }, { 0x0c62, "TEXTURE_GEN_R" }, { 0x0c63, "TEXTURE_GEN_Q" }, { 0x0c70, "PIXEL_MAP_I_TO_I" }, { 0x0c71, "PIXEL_MAP_S_TO_S" }, { 0x0c72, "PIXEL_MAP_I_TO_R" }, { 0x0c73, "PIXEL_MAP_I_TO_G" }, { 0x0c74, "PIXEL_MAP_I_TO_B" }, { 0x0c75, "PIXEL_MAP_I_TO_A" }, { 0x0c76, "PIXEL_MAP_R_TO_R" }, { 0x0c77, "PIXEL_MAP_G_TO_G" }, { 0x0c78, "PIXEL_MAP_B_TO_B" }, { 0x0c79, "PIXEL_MAP_A_TO_A" }, { 0x0cb0, "PIXEL_MAP_I_TO_I_SIZE" }, { 0x0cb1, "PIXEL_MAP_S_TO_S_SIZE" }, { 0x0cb2, "PIXEL_MAP_I_TO_R_SIZE" }, { 0x0cb3, "PIXEL_MAP_I_TO_G_SIZE" }, { 0x0cb4, "PIXEL_MAP_I_TO_B_SIZE" }, { 0x0cb5, "PIXEL_MAP_I_TO_A_SIZE" }, { 0x0cb6, "PIXEL_MAP_R_TO_R_SIZE" }, { 0x0cb7, "PIXEL_MAP_G_TO_G_SIZE" }, { 0x0cb8, "PIXEL_MAP_B_TO_B_SIZE" }, { 0x0cb9, "PIXEL_MAP_A_TO_A_SIZE" }, { 0x0cf0, "UNPACK_SWAP_BYTES" }, { 0x0cf1, "UNPACK_LSB_FIRST" }, { 0x0cf2, "UNPACK_ROW_LENGTH" }, { 0x0cf3, "UNPACK_SKIP_ROWS" }, { 0x0cf4, "UNPACK_SKIP_PIXELS" }, { 0x0cf5, "UNPACK_ALIGNMENT" }, { 0x0d00, "PACK_SWAP_BYTES" }, { 0x0d01, "PACK_LSB_FIRST" }, { 0x0d02, "PACK_ROW_LENGTH" }, { 0x0d03, "PACK_SKIP_ROWS" }, { 0x0d04, "PACK_SKIP_PIXELS" }, { 0x0d05, "PACK_ALIGNMENT" }, { 0x0d10, "MAP_COLOR" }, { 0x0d11, "MAP_STENCIL" }, { 0x0d12, "INDEX_SHIFT" }, { 0x0d13, "INDEX_OFFSET" }, { 0x0d14, "RED_SCALE" }, { 0x0d15, "RED_BIAS" }, { 0x0d16, "ZOOM_X" }, { 0x0d17, "ZOOM_Y" }, { 0x0d18, "GREEN_SCALE" }, { 0x0d19, "GREEN_BIAS" }, { 0x0d1a, "BLUE_SCALE" }, { 0x0d1b, "BLUE_BIAS" }, { 0x0d1c, "ALPHA_SCALE" }, { 0x0d1d, "ALPHA_BIAS" }, { 0x0d1e, "DEPTH_SCALE" }, { 0x0d1f, "DEPTH_BIAS" }, { 0x0d30, "MAX_EVAL_ORDER" }, { 0x0d31, "MAX_LIGHTS" }, { 0x0d32, "MAX_CLIP_PLANES" }, { 0x0d33, "MAX_TEXTURE_SIZE" }, { 0x0d34, "MAX_PIXEL_MAP_TABLE" }, { 0x0d35, "MAX_ATTRIB_STACK_DEPTH" }, { 0x0d36, "MAX_MODELVIEW_STACK_DEPTH" }, { 0x0d37, "MAX_NAME_STACK_DEPTH" }, { 0x0d38, "MAX_PROJECTION_STACK_DEPTH" }, { 0x0d39, "MAX_TEXTURE_STACK_DEPTH" }, { 0x0d3a, "MAX_VIEWPORT_DIMS" }, { 0x0d3b, "MAX_CLIENT_ATTRIB_STACK_DEPTH" }, { 0x0d50, "SUBPIXEL_BITS" }, { 0x0d51, "INDEX_BITS" }, { 0x0d52, "RED_BITS" }, { 0x0d53, "GREEN_BITS" }, { 0x0d54, "BLUE_BITS" }, { 0x0d55, "ALPHA_BITS" }, { 0x0d56, "DEPTH_BITS" }, { 0x0d57, "STENCIL_BITS" }, { 0x0d58, "ACCUM_RED_BITS" }, { 0x0d59, "ACCUM_GREEN_BITS" }, { 0x0d5a, "ACCUM_BLUE_BITS" }, { 0x0d5b, "ACCUM_ALPHA_BITS" }, { 0x0d70, "NAME_STACK_DEPTH" }, { 0x0d80, "AUTO_NORMAL" }, { 0x0d90, "MAP1_COLOR_4" }, { 0x0d91, "MAP1_INDEX" }, { 0x0d92, "MAP1_NORMAL" }, { 0x0d93, "MAP1_TEXTURE_COORD_1" }, { 0x0d94, "MAP1_TEXTURE_COORD_2" }, { 0x0d95, "MAP1_TEXTURE_COORD_3" }, { 0x0d96, "MAP1_TEXTURE_COORD_4" }, { 0x0d97, "MAP1_VERTEX_3" }, { 0x0d98, "MAP1_VERTEX_4" }, { 0x0db0, "MAP2_COLOR_4" }, { 0x0db1, "MAP2_INDEX" }, { 0x0db2, "MAP2_NORMAL" }, { 0x0db3, "MAP2_TEXTURE_COORD_1" }, { 0x0db4, "MAP2_TEXTURE_COORD_2" }, { 0x0db5, "MAP2_TEXTURE_COORD_3" }, { 0x0db6, "MAP2_TEXTURE_COORD_4" }, { 0x0db7, "MAP2_VERTEX_3" }, { 0x0db8, "MAP2_VERTEX_4" }, { 0x0dd0, "MAP1_GRID_DOMAIN" }, { 0x0dd1, "MAP1_GRID_SEGMENTS" }, { 0x0dd2, "MAP2_GRID_DOMAIN" }, { 0x0dd3, "MAP2_GRID_SEGMENTS" }, { 0x0de0, "TEXTURE_1D" }, { 0x0de1, "TEXTURE_2D" }, { 0x0df0, "FEEDBACK_BUFFER_POINTER" }, { 0x0df1, "FEEDBACK_BUFFER_SIZE" }, { 0x0df2, "FEEDBACK_BUFFER_TYPE" }, { 0x0df3, "SELECTION_BUFFER_POINTER" }, { 0x0df4, "SELECTION_BUFFER_SIZE" }, { 0x1000, "TEXTURE_WIDTH" }, { 0x1001, "TEXTURE_HEIGHT" }, { 0x1003, "TEXTURE_COMPONENTS" }, { 0x1004, "TEXTURE_BORDER_COLOR" }, { 0x1005, "TEXTURE_BORDER" }, { 0x1100, "DONT_CARE" }, { 0x1101, "FASTEST" }, { 0x1102, "NICEST" }, { 0x1200, "AMBIENT" }, { 0x1201, "DIFFUSE" }, { 0x1202, "SPECULAR" }, { 0x1203, "POSITION" }, { 0x1204, "SPOT_DIRECTION" }, { 0x1205, "SPOT_EXPONENT" }, { 0x1206, "SPOT_CUTOFF" }, { 0x1207, "CONSTANT_ATTENUATION" }, { 0x1208, "LINEAR_ATTENUATION" }, { 0x1209, "QUADRATIC_ATTENUATION" }, { 0x1300, "COMPILE" }, { 0x1301, "COMPILE_AND_EXECUTE" }, { 0x1400, "BYTE" }, { 0x1401, "UNSIGNED_BYTE" }, { 0x1402, "SHORT" }, { 0x1403, "UNSIGNED_SHORT" }, { 0x1404, "INT" }, { 0x1405, "UNSIGNED_INT" }, { 0x1406, "FLOAT" }, { 0x1407, "2_BYTES" }, { 0x1408, "3_BYTES" }, { 0x1409, "4_BYTES" }, { 0x140a, "DOUBLE" }, { 0x140b, "HALF_FLOAT" }, { 0x1500, "CLEAR" }, { 0x1501, "AND" }, { 0x1502, "AND_REVERSE" }, { 0x1503, "COPY" }, { 0x1504, "AND_INVERTED" }, { 0x1505, "NOOP" }, { 0x1506, "XOR" }, { 0x1507, "OR" }, { 0x1508, "NOR" }, { 0x1509, "EQUIV" }, { 0x150a, "INVERT" }, { 0x150b, "OR_REVERSE" }, { 0x150c, "COPY_INVERTED" }, { 0x150d, "OR_INVERTED" }, { 0x150e, "NAND" }, { 0x150f, "SET" }, { 0x1600, "EMISSION" }, { 0x1601, "SHININESS" }, { 0x1602, "AMBIENT_AND_DIFFUSE" }, { 0x1603, "COLOR_INDEXES" }, { 0x1700, "MODELVIEW" }, { 0x1701, "PROJECTION" }, { 0x1702, "TEXTURE" }, { 0x1800, "COLOR" }, { 0x1801, "DEPTH" }, { 0x1802, "STENCIL" }, { 0x1900, "COLOR_INDEX" }, { 0x1901, "STENCIL_INDEX" }, { 0x1902, "DEPTH_COMPONENT" }, { 0x1903, "RED" }, { 0x1904, "GREEN" }, { 0x1905, "BLUE" }, { 0x1906, "ALPHA" }, { 0x1907, "RGB" }, { 0x1908, "RGBA" }, { 0x1909, "LUMINANCE" }, { 0x190a, "LUMINANCE_ALPHA" }, { 0x1a00, "BITMAP" }, { 0x1b00, "POINT" }, { 0x1b01, "LINE" }, { 0x1b02, "FILL" }, { 0x1c00, "RENDER" }, { 0x1c01, "FEEDBACK" }, { 0x1c02, "SELECT" }, { 0x1d00, "FLAT" }, { 0x1d01, "SMOOTH" }, { 0x1e00, "KEEP" }, { 0x1e01, "REPLACE" }, { 0x1e02, "INCR" }, { 0x1e03, "DECR" }, { 0x1f00, "VENDOR" }, { 0x1f01, "RENDERER" }, { 0x1f02, "VERSION" }, { 0x1f03, "EXTENSIONS" }, { 0x2000, "S" }, { 0x2001, "T" }, { 0x2002, "R" }, { 0x2003, "Q" }, { 0x2100, "MODULATE" }, { 0x2101, "DECAL" }, { 0x2200, "TEXTURE_ENV_MODE" }, { 0x2201, "TEXTURE_ENV_COLOR" }, { 0x2300, "TEXTURE_ENV" }, { 0x2400, "EYE_LINEAR" }, { 0x2401, "OBJECT_LINEAR" }, { 0x2402, "SPHERE_MAP" }, { 0x2500, "TEXTURE_GEN_MODE" }, { 0x2501, "OBJECT_PLANE" }, { 0x2502, "EYE_PLANE" }, { 0x2600, "NEAREST" }, { 0x2601, "LINEAR" }, { 0x2700, "NEAREST_MIPMAP_NEAREST" }, { 0x2701, "LINEAR_MIPMAP_NEAREST" }, { 0x2702, "NEAREST_MIPMAP_LINEAR" }, { 0x2703, "LINEAR_MIPMAP_LINEAR" }, { 0x2800, "TEXTURE_MAG_FILTER" }, { 0x2801, "TEXTURE_MIN_FILTER" }, { 0x2802, "TEXTURE_WRAP_S" }, { 0x2803, "TEXTURE_WRAP_T" }, { 0x2900, "CLAMP" }, { 0x2901, "REPEAT" }, { 0x2a00, "POLYGON_OFFSET_UNITS" }, { 0x2a01, "POLYGON_OFFSET_POINT" }, { 0x2a02, "POLYGON_OFFSET_LINE" }, { 0x2a10, "R3_G3_B2" }, { 0x2a20, "V2F" }, { 0x2a21, "V3F" }, { 0x2a22, "C4UB_V2F" }, { 0x2a23, "C4UB_V3F" }, { 0x2a24, "C3F_V3F" }, { 0x2a25, "N3F_V3F" }, { 0x2a26, "C4F_N3F_V3F" }, { 0x2a27, "T2F_V3F" }, { 0x2a28, "T4F_V4F" }, { 0x2a29, "T2F_C4UB_V3F" }, { 0x2a2a, "T2F_C3F_V3F" }, { 0x2a2b, "T2F_N3F_V3F" }, { 0x2a2c, "T2F_C4F_N3F_V3F" }, { 0x2a2d, "T4F_C4F_N3F_V4F" }, { 0x3000, "CLIP_PLANE0" }, { 0x3001, "CLIP_PLANE1" }, { 0x3002, "CLIP_PLANE2" }, { 0x3003, "CLIP_PLANE3" }, { 0x3004, "CLIP_PLANE4" }, { 0x3005, "CLIP_PLANE5" }, { 0x4000, "LIGHT0" }, { 0x4001, "LIGHT1" }, { 0x4002, "LIGHT2" }, { 0x4003, "LIGHT3" }, { 0x4004, "LIGHT4" }, { 0x4005, "LIGHT5" }, { 0x4006, "LIGHT6" }, { 0x4007, "LIGHT7" }, { 0x8000, "HINT_BIT" }, { 0x8001, "CONSTANT_COLOR" }, { 0x8002, "ONE_MINUS_CONSTANT_COLOR" }, { 0x8003, "CONSTANT_ALPHA" }, { 0x8004, "ONE_MINUS_CONSTANT_ALPHA" }, { 0x8005, "BLEND_COLOR" }, { 0x8006, "FUNC_ADD" }, { 0x8007, "MIN" }, { 0x8008, "MAX" }, { 0x8009, "BLEND_EQUATION" }, { 0x800a, "FUNC_SUBTRACT" }, { 0x800b, "FUNC_REVERSE_SUBTRACT" }, { 0x8010, "CONVOLUTION_1D" }, { 0x8011, "CONVOLUTION_2D" }, { 0x8012, "SEPARABLE_2D" }, { 0x8013, "CONVOLUTION_BORDER_MODE" }, { 0x8014, "CONVOLUTION_FILTER_SCALE" }, { 0x8015, "CONVOLUTION_FILTER_BIAS" }, { 0x8016, "REDUCE" }, { 0x8017, "CONVOLUTION_FORMAT" }, { 0x8018, "CONVOLUTION_WIDTH" }, { 0x8019, "CONVOLUTION_HEIGHT" }, { 0x801a, "MAX_CONVOLUTION_WIDTH" }, { 0x801b, "MAX_CONVOLUTION_HEIGHT" }, { 0x801c, "POST_CONVOLUTION_RED_SCALE" }, { 0x801d, "POST_CONVOLUTION_GREEN_SCALE" }, { 0x801e, "POST_CONVOLUTION_BLUE_SCALE" }, { 0x801f, "POST_CONVOLUTION_ALPHA_SCALE" }, { 0x8020, "POST_CONVOLUTION_RED_BIAS" }, { 0x8021, "POST_CONVOLUTION_GREEN_BIAS" }, { 0x8022, "POST_CONVOLUTION_BLUE_BIAS" }, { 0x8023, "POST_CONVOLUTION_ALPHA_BIAS" }, { 0x8024, "HISTOGRAM" }, { 0x8025, "PROXY_HISTOGRAM" }, { 0x8026, "HISTOGRAM_WIDTH" }, { 0x8027, "HISTOGRAM_FORMAT" }, { 0x8028, "HISTOGRAM_RED_SIZE" }, { 0x8029, "HISTOGRAM_GREEN_SIZE" }, { 0x802a, "HISTOGRAM_BLUE_SIZE" }, { 0x802b, "HISTOGRAM_ALPHA_SIZE" }, { 0x802c, "HISTOGRAM_LUMINANCE_SIZE" }, { 0x802d, "HISTOGRAM_SINK" }, { 0x802e, "MINMAX" }, { 0x802f, "MINMAX_FORMAT" }, { 0x8030, "MINMAX_SINK" }, { 0x8031, "TABLE_TOO_LARGE_EXT" }, { 0x8032, "UNSIGNED_BYTE_3_3_2" }, { 0x8033, "UNSIGNED_SHORT_4_4_4_4" }, { 0x8034, "UNSIGNED_SHORT_5_5_5_1" }, { 0x8035, "UNSIGNED_INT_8_8_8_8" }, { 0x8036, "UNSIGNED_INT_10_10_10_2" }, { 0x8037, "POLYGON_OFFSET_FILL" }, { 0x8038, "POLYGON_OFFSET_FACTOR" }, { 0x803a, "RESCALE_NORMAL" }, { 0x803b, "ALPHA4" }, { 0x803c, "ALPHA8" }, { 0x803d, "ALPHA12" }, { 0x803e, "ALPHA16" }, { 0x803f, "LUMINANCE4" }, { 0x8040, "LUMINANCE8" }, { 0x8041, "LUMINANCE12" }, { 0x8042, "LUMINANCE16" }, { 0x8043, "LUMINANCE4_ALPHA4" }, { 0x8044, "LUMINANCE6_ALPHA2" }, { 0x8045, "LUMINANCE8_ALPHA8" }, { 0x8046, "LUMINANCE12_ALPHA4" }, { 0x8047, "LUMINANCE12_ALPHA12" }, { 0x8048, "LUMINANCE16_ALPHA16" }, { 0x8049, "INTENSITY" }, { 0x804a, "INTENSITY4" }, { 0x804b, "INTENSITY8" }, { 0x804c, "INTENSITY12" }, { 0x804d, "INTENSITY16" }, { 0x804e, "RGB2_EXT" }, { 0x804f, "RGB4" }, { 0x8050, "RGB5" }, { 0x8051, "RGB8" }, { 0x8052, "RGB10" }, { 0x8053, "RGB12" }, { 0x8054, "RGB16" }, { 0x8055, "RGBA2" }, { 0x8056, "RGBA4" }, { 0x8057, "RGB5_A1" }, { 0x8058, "RGBA8" }, { 0x8059, "RGB10_A2" }, { 0x805a, "RGBA12" }, { 0x805b, "RGBA16" }, { 0x805c, "TEXTURE_RED_SIZE" }, { 0x805d, "TEXTURE_GREEN_SIZE" }, { 0x805e, "TEXTURE_BLUE_SIZE" }, { 0x805f, "TEXTURE_ALPHA_SIZE" }, { 0x8060, "TEXTURE_LUMINANCE_SIZE" }, { 0x8061, "TEXTURE_INTENSITY_SIZE" }, { 0x8062, "REPLACE_EXT" }, { 0x8063, "PROXY_TEXTURE_1D" }, { 0x8064, "PROXY_TEXTURE_2D" }, { 0x8065, "TEXTURE_TOO_LARGE_EXT" }, { 0x8066, "TEXTURE_PRIORITY" }, { 0x8067, "TEXTURE_RESIDENT" }, { 0x8068, "TEXTURE_BINDING_1D" }, { 0x8069, "TEXTURE_BINDING_2D" }, { 0x806a, "TEXTURE_BINDING_3D" }, { 0x806b, "PACK_SKIP_IMAGES" }, { 0x806c, "PACK_IMAGE_HEIGHT" }, { 0x806d, "UNPACK_SKIP_IMAGES" }, { 0x806e, "UNPACK_IMAGE_HEIGHT" }, { 0x806f, "TEXTURE_3D" }, { 0x8070, "PROXY_TEXTURE_3D" }, { 0x8071, "TEXTURE_DEPTH" }, { 0x8072, "TEXTURE_WRAP_R" }, { 0x8073, "MAX_3D_TEXTURE_SIZE" }, { 0x8074, "VERTEX_ARRAY" }, { 0x8075, "NORMAL_ARRAY" }, { 0x8076, "COLOR_ARRAY" }, { 0x8077, "INDEX_ARRAY" }, { 0x8078, "TEXTURE_COORD_ARRAY" }, { 0x8079, "EDGE_FLAG_ARRAY" }, { 0x807a, "VERTEX_ARRAY_SIZE" }, { 0x807b, "VERTEX_ARRAY_TYPE" }, { 0x807c, "VERTEX_ARRAY_STRIDE" }, { 0x807d, "VERTEX_ARRAY_COUNT_EXT" }, { 0x807e, "NORMAL_ARRAY_TYPE" }, { 0x807f, "NORMAL_ARRAY_STRIDE" }, { 0x8080, "NORMAL_ARRAY_COUNT_EXT" }, { 0x8081, "COLOR_ARRAY_SIZE" }, { 0x8082, "COLOR_ARRAY_TYPE" }, { 0x8083, "COLOR_ARRAY_STRIDE" }, { 0x8084, "COLOR_ARRAY_COUNT_EXT" }, { 0x8085, "INDEX_ARRAY_TYPE" }, { 0x8086, "INDEX_ARRAY_STRIDE" }, { 0x8087, "INDEX_ARRAY_COUNT_EXT" }, { 0x8088, "TEXTURE_COORD_ARRAY_SIZE" }, { 0x8089, "TEXTURE_COORD_ARRAY_TYPE" }, { 0x808a, "TEXTURE_COORD_ARRAY_STRIDE" }, { 0x808b, "TEXTURE_COORD_ARRAY_COUNT_EXT" }, { 0x808c, "EDGE_FLAG_ARRAY_STRIDE" }, { 0x808d, "EDGE_FLAG_ARRAY_COUNT_EXT" }, { 0x808e, "VERTEX_ARRAY_POINTER" }, { 0x808f, "NORMAL_ARRAY_POINTER" }, { 0x8090, "COLOR_ARRAY_POINTER" }, { 0x8091, "INDEX_ARRAY_POINTER" }, { 0x8092, "TEXTURE_COORD_ARRAY_POINTER" }, { 0x8093, "EDGE_FLAG_ARRAY_POINTER" }, { 0x809d, "MULTISAMPLE" }, { 0x809e, "SAMPLE_ALPHA_TO_COVERAGE" }, { 0x809f, "SAMPLE_ALPHA_TO_ONE" }, { 0x80a0, "SAMPLE_COVERAGE" }, { 0x80a8, "SAMPLE_BUFFERS" }, { 0x80a9, "SAMPLES" }, { 0x80aa, "SAMPLE_COVERAGE_VALUE" }, { 0x80ab, "SAMPLE_COVERAGE_INVERT" }, { 0x80b1, "COLOR_MATRIX" }, { 0x80b2, "COLOR_MATRIX_STACK_DEPTH" }, { 0x80b3, "MAX_COLOR_MATRIX_STACK_DEPTH" }, { 0x80b4, "POST_COLOR_MATRIX_RED_SCALE" }, { 0x80b5, "POST_COLOR_MATRIX_GREEN_SCALE" }, { 0x80b6, "POST_COLOR_MATRIX_BLUE_SCALE" }, { 0x80b7, "POST_COLOR_MATRIX_ALPHA_SCALE" }, { 0x80b8, "POST_COLOR_MATRIX_RED_BIAS" }, { 0x80b9, "POST_COLOR_MATRIX_GREEN_BIAS" }, { 0x80ba, "POST_COLOR_MATRIX_BLUE_BIAS" }, { 0x80bb, "POST_COLOR_MATRIX_ALPHA_BIAS" }, { 0x80bc, "TEXTURE_COLOR_TABLE_SGI" }, { 0x80bd, "PROXY_TEXTURE_COLOR_TABLE_SGI" }, { 0x80bf, "TEXTURE_COMPARE_FAIL_VALUE_ARB" }, { 0x80c8, "BLEND_DST_RGB" }, { 0x80c9, "BLEND_SRC_RGB" }, { 0x80ca, "BLEND_DST_ALPHA" }, { 0x80cb, "BLEND_SRC_ALPHA" }, { 0x80d0, "COLOR_TABLE" }, { 0x80d1, "POST_CONVOLUTION_COLOR_TABLE" }, { 0x80d2, "POST_COLOR_MATRIX_COLOR_TABLE" }, { 0x80d3, "PROXY_COLOR_TABLE" }, { 0x80d4, "PROXY_POST_CONVOLUTION_COLOR_TABLE" }, { 0x80d5, "PROXY_POST_COLOR_MATRIX_COLOR_TABLE" }, { 0x80d6, "COLOR_TABLE_SCALE" }, { 0x80d7, "COLOR_TABLE_BIAS" }, { 0x80d8, "COLOR_TABLE_FORMAT" }, { 0x80d9, "COLOR_TABLE_WIDTH" }, { 0x80da, "COLOR_TABLE_RED_SIZE" }, { 0x80db, "COLOR_TABLE_GREEN_SIZE" }, { 0x80dc, "COLOR_TABLE_BLUE_SIZE" }, { 0x80dd, "COLOR_TABLE_ALPHA_SIZE" }, { 0x80de, "COLOR_TABLE_LUMINANCE_SIZE" }, { 0x80df, "COLOR_TABLE_INTENSITY_SIZE" }, { 0x80e0, "BGR" }, { 0x80e1, "BGRA" }, { 0x80e8, "MAX_ELEMENTS_VERTICES" }, { 0x80e9, "MAX_ELEMENTS_INDICES" }, { 0x80ed, "TEXTURE_INDEX_SIZE_EXT" }, { 0x80f0, "CLIP_VOLUME_CLIPPING_HINT_EXT" }, { 0x8126, "POINT_SIZE_MIN" }, { 0x8127, "POINT_SIZE_MAX" }, { 0x8128, "POINT_FADE_THRESHOLD_SIZE" }, { 0x8129, "POINT_DISTANCE_ATTENUATION" }, { 0x812d, "CLAMP_TO_BORDER" }, { 0x812f, "CLAMP_TO_EDGE" }, { 0x813a, "TEXTURE_MIN_LOD" }, { 0x813b, "TEXTURE_MAX_LOD" }, { 0x813c, "TEXTURE_BASE_LEVEL" }, { 0x813d, "TEXTURE_MAX_LEVEL" }, { 0x8150, "IGNORE_BORDER_HP" }, { 0x8151, "CONSTANT_BORDER_HP" }, { 0x8153, "REPLICATE_BORDER_HP" }, { 0x8154, "CONVOLUTION_BORDER_COLOR" }, { 0x8165, "OCCLUSION_TEST_HP" }, { 0x8166, "OCCLUSION_TEST_RESULT_HP" }, { 0x8170, "LINEAR_CLIPMAP_LINEAR_SGIX" }, { 0x8171, "TEXTURE_CLIPMAP_CENTER_SGIX" }, { 0x8172, "TEXTURE_CLIPMAP_FRAME_SGIX" }, { 0x8173, "TEXTURE_CLIPMAP_OFFSET_SGIX" }, { 0x8174, "TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX" }, { 0x8175, "TEXTURE_CLIPMAP_LOD_OFFSET_SGIX" }, { 0x8176, "TEXTURE_CLIPMAP_DEPTH_SGIX" }, { 0x8177, "MAX_CLIPMAP_DEPTH_SGIX" }, { 0x8178, "MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX" }, { 0x8179, "POST_TEXTURE_FILTER_BIAS_SGIX" }, { 0x817a, "POST_TEXTURE_FILTER_SCALE_SGIX" }, { 0x817b, "POST_TEXTURE_FILTER_BIAS_RANGE_SGIX" }, { 0x817c, "POST_TEXTURE_FILTER_SCALE_RANGE_SGIX" }, { 0x818e, "TEXTURE_LOD_BIAS_S_SGIX" }, { 0x818f, "TEXTURE_LOD_BIAS_T_SGIX" }, { 0x8190, "TEXTURE_LOD_BIAS_R_SGIX" }, { 0x8191, "GENERATE_MIPMAP" }, { 0x8192, "GENERATE_MIPMAP_HINT" }, { 0x8198, "FOG_OFFSET_SGIX" }, { 0x8199, "FOG_OFFSET_VALUE_SGIX" }, { 0x819a, "TEXTURE_COMPARE_SGIX" }, { 0x819b, "TEXTURE_COMPARE_OPERATOR_SGIX" }, { 0x819c, "TEXTURE_LEQUAL_R_SGIX" }, { 0x819d, "TEXTURE_GEQUAL_R_SGIX" }, { 0x81a5, "DEPTH_COMPONENT16" }, { 0x81a6, "DEPTH_COMPONENT24" }, { 0x81a7, "DEPTH_COMPONENT32" }, { 0x81a8, "ARRAY_ELEMENT_LOCK_FIRST_EXT" }, { 0x81a9, "ARRAY_ELEMENT_LOCK_COUNT_EXT" }, { 0x81aa, "CULL_VERTEX_EXT" }, { 0x81ab, "CULL_VERTEX_EYE_POSITION_EXT" }, { 0x81ac, "CULL_VERTEX_OBJECT_POSITION_EXT" }, { 0x81d4, "WRAP_BORDER_SUN" }, { 0x81ef, "TEXTURE_COLOR_WRITEMASK_SGIS" }, { 0x81f8, "LIGHT_MODEL_COLOR_CONTROL" }, { 0x81f9, "SINGLE_COLOR" }, { 0x81fa, "SEPARATE_SPECULAR_COLOR" }, { 0x81fb, "SHARED_TEXTURE_PALETTE_EXT" }, { 0x821f, "BUFFER_IMMUTABLE_STORAGE" }, { 0x8220, "BUFFER_STORAGE_FLAGS" }, { 0x826e, "MAX_UNIFORM_LOCATIONS" }, { 0x82f9, "MAX_CULL_DISTANCES" }, { 0x82fa, "MAX_COMBINED_CLIP_AND_CULL_DISTANCES" }, { 0x8362, "UNSIGNED_BYTE_2_3_3_REV" }, { 0x8363, "UNSIGNED_SHORT_5_6_5" }, { 0x8364, "UNSIGNED_SHORT_5_6_5_REV" }, { 0x8365, "UNSIGNED_SHORT_4_4_4_4_REV" }, { 0x8366, "UNSIGNED_SHORT_1_5_5_5_REV" }, { 0x8367, "UNSIGNED_INT_8_8_8_8_REV" }, { 0x8368, "UNSIGNED_INT_2_10_10_10_REV" }, { 0x8369, "TEXTURE_MAX_CLAMP_S_SGIX" }, { 0x836a, "TEXTURE_MAX_CLAMP_T_SGIX" }, { 0x836b, "TEXTURE_MAX_CLAMP_R_SGIX" }, { 0x8370, "MIRRORED_REPEAT" }, { 0x83a0, "RGB_S3TC" }, { 0x83a1, "RGB4_S3TC" }, { 0x83a2, "RGBA_S3TC" }, { 0x83a3, "RGBA4_S3TC" }, { 0x83a4, "RGBA_DXT5_S3TC" }, { 0x83a5, "RGBA4_DXT5_S3TC" }, { 0x83f0, "COMPRESSED_RGB_S3TC_DXT1_EXT" }, { 0x83f1, "COMPRESSED_RGBA_S3TC_DXT1_EXT" }, { 0x83f2, "COMPRESSED_RGBA_S3TC_DXT3_EXT" }, { 0x83f3, "COMPRESSED_RGBA_S3TC_DXT5_EXT" }, { 0x83fe, "CONSERVATIVE_RASTERIZATION_INTEL" }, { 0x844d, "NEAREST_CLIPMAP_NEAREST_SGIX" }, { 0x844e, "NEAREST_CLIPMAP_LINEAR_SGIX" }, { 0x844f, "LINEAR_CLIPMAP_NEAREST_SGIX" }, { 0x8450, "FOG_COORDINATE_SOURCE" }, { 0x8451, "FOG_COORDINATE" }, { 0x8452, "FRAGMENT_DEPTH" }, { 0x8453, "CURRENT_FOG_COORDINATE" }, { 0x8454, "FOG_COORDINATE_ARRAY_TYPE" }, { 0x8455, "FOG_COORDINATE_ARRAY_STRIDE" }, { 0x8456, "FOG_COORDINATE_ARRAY_POINTER" }, { 0x8457, "FOG_COORDINATE_ARRAY" }, { 0x8458, "COLOR_SUM" }, { 0x8459, "CURRENT_SECONDARY_COLOR" }, { 0x845a, "SECONDARY_COLOR_ARRAY_SIZE" }, { 0x845b, "SECONDARY_COLOR_ARRAY_TYPE" }, { 0x845c, "SECONDARY_COLOR_ARRAY_STRIDE" }, { 0x845d, "SECONDARY_COLOR_ARRAY_POINTER" }, { 0x845e, "SECONDARY_COLOR_ARRAY" }, { 0x845f, "CURRENT_RASTER_SECONDARY_COLOR" }, { 0x846d, "ALIASED_POINT_SIZE_RANGE" }, { 0x846e, "ALIASED_LINE_WIDTH_RANGE" }, { 0x84c0, "TEXTURE0" }, { 0x84c1, "TEXTURE1" }, { 0x84c2, "TEXTURE2" }, { 0x84c3, "TEXTURE3" }, { 0x84c4, "TEXTURE4" }, { 0x84c5, "TEXTURE5" }, { 0x84c6, "TEXTURE6" }, { 0x84c7, "TEXTURE7" }, { 0x84c8, "TEXTURE8" }, { 0x84c9, "TEXTURE9" }, { 0x84ca, "TEXTURE10" }, { 0x84cb, "TEXTURE11" }, { 0x84cc, "TEXTURE12" }, { 0x84cd, "TEXTURE13" }, { 0x84ce, "TEXTURE14" }, { 0x84cf, "TEXTURE15" }, { 0x84d0, "TEXTURE16" }, { 0x84d1, "TEXTURE17" }, { 0x84d2, "TEXTURE18" }, { 0x84d3, "TEXTURE19" }, { 0x84d4, "TEXTURE20" }, { 0x84d5, "TEXTURE21" }, { 0x84d6, "TEXTURE22" }, { 0x84d7, "TEXTURE23" }, { 0x84d8, "TEXTURE24" }, { 0x84d9, "TEXTURE25" }, { 0x84da, "TEXTURE26" }, { 0x84db, "TEXTURE27" }, { 0x84dc, "TEXTURE28" }, { 0x84dd, "TEXTURE29" }, { 0x84de, "TEXTURE30" }, { 0x84df, "TEXTURE31" }, { 0x84e0, "ACTIVE_TEXTURE" }, { 0x84e1, "CLIENT_ACTIVE_TEXTURE" }, { 0x84e2, "MAX_TEXTURE_UNITS" }, { 0x84e3, "TRANSPOSE_MODELVIEW_MATRIX" }, { 0x84e4, "TRANSPOSE_PROJECTION_MATRIX" }, { 0x84e5, "TRANSPOSE_TEXTURE_MATRIX" }, { 0x84e6, "TRANSPOSE_COLOR_MATRIX" }, { 0x84e7, "SUBTRACT" }, { 0x84e9, "COMPRESSED_ALPHA" }, { 0x84ea, "COMPRESSED_LUMINANCE" }, { 0x84eb, "COMPRESSED_LUMINANCE_ALPHA" }, { 0x84ec, "COMPRESSED_INTENSITY" }, { 0x84ed, "COMPRESSED_RGB" }, { 0x84ee, "COMPRESSED_RGBA" }, { 0x84ef, "TEXTURE_COMPRESSION_HINT" }, { 0x84f5, "TEXTURE_RECTANGLE_ARB" }, { 0x84f6, "TEXTURE_BINDING_RECTANGLE_ARB" }, { 0x84f7, "PROXY_TEXTURE_RECTANGLE_ARB" }, { 0x84f8, "MAX_RECTANGLE_TEXTURE_SIZE_ARB" }, { 0x84f9, "DEPTH_STENCIL_NV" }, { 0x84fa, "UNSIGNED_INT_24_8_NV" }, { 0x84fd, "MAX_TEXTURE_LOD_BIAS" }, { 0x84fe, "TEXTURE_MAX_ANISOTROPY_EXT" }, { 0x84ff, "MAX_TEXTURE_MAX_ANISOTROPY_EXT" }, { 0x8500, "TEXTURE_FILTER_CONTROL" }, { 0x8501, "TEXTURE_LOD_BIAS" }, { 0x8503, "COMBINE4_NV" }, { 0x8504, "MAX_SHININESS_NV" }, { 0x8505, "MAX_SPOT_EXPONENT_NV" }, { 0x8507, "INCR_WRAP" }, { 0x8508, "DECR_WRAP" }, { 0x850a, "MODELVIEW1_ARB" }, { 0x8511, "NORMAL_MAP" }, { 0x8512, "REFLECTION_MAP" }, { 0x8513, "TEXTURE_CUBE_MAP" }, { 0x8514, "TEXTURE_BINDING_CUBE_MAP" }, { 0x8515, "TEXTURE_CUBE_MAP_POSITIVE_X" }, { 0x8516, "TEXTURE_CUBE_MAP_NEGATIVE_X" }, { 0x8517, "TEXTURE_CUBE_MAP_POSITIVE_Y" }, { 0x8518, "TEXTURE_CUBE_MAP_NEGATIVE_Y" }, { 0x8519, "TEXTURE_CUBE_MAP_POSITIVE_Z" }, { 0x851a, "TEXTURE_CUBE_MAP_NEGATIVE_Z" }, { 0x851b, "PROXY_TEXTURE_CUBE_MAP" }, { 0x851c, "MAX_CUBE_MAP_TEXTURE_SIZE" }, { 0x8534, "MULTISAMPLE_FILTER_HINT_NV" }, { 0x855a, "FOG_DISTANCE_MODE_NV" }, { 0x855b, "EYE_RADIAL_NV" }, { 0x855c, "EYE_PLANE_ABSOLUTE_NV" }, { 0x8570, "COMBINE" }, { 0x8571, "COMBINE_RGB" }, { 0x8572, "COMBINE_ALPHA" }, { 0x8573, "RGB_SCALE" }, { 0x8574, "ADD_SIGNED" }, { 0x8575, "INTERPOLATE" }, { 0x8576, "CONSTANT" }, { 0x8577, "PRIMARY_COLOR" }, { 0x8578, "PREVIOUS" }, { 0x8580, "SOURCE0_RGB" }, { 0x8581, "SOURCE1_RGB" }, { 0x8582, "SOURCE2_RGB" }, { 0x8583, "SOURCE3_RGB_NV" }, { 0x8588, "SOURCE0_ALPHA" }, { 0x8589, "SOURCE1_ALPHA" }, { 0x858a, "SOURCE2_ALPHA" }, { 0x858b, "SOURCE3_ALPHA_NV" }, { 0x8590, "OPERAND0_RGB" }, { 0x8591, "OPERAND1_RGB" }, { 0x8592, "OPERAND2_RGB" }, { 0x8593, "OPERAND3_RGB_NV" }, { 0x8598, "OPERAND0_ALPHA" }, { 0x8599, "OPERAND1_ALPHA" }, { 0x859a, "OPERAND2_ALPHA" }, { 0x859b, "OPERAND3_ALPHA_NV" }, { 0x85b7, "TEXTURE_RANGE_LENGTH_APPLE" }, { 0x85b8, "TEXTURE_RANGE_POINTER_APPLE" }, { 0x85b9, "YCBCR_422_APPLE" }, { 0x85ba, "UNSIGNED_SHORT_8_8_APPLE" }, { 0x85bb, "UNSIGNED_SHORT_8_8_REV_APPLE" }, { 0x85bc, "TEXTURE_STORAGE_HINT_APPLE" }, { 0x85bd, "STORAGE_PRIVATE_APPLE" }, { 0x85be, "STORAGE_CACHED_APPLE" }, { 0x85bf, "STORAGE_SHARED_APPLE" }, { 0x85cc, "SLICE_ACCUM_SUN" }, { 0x8614, "QUAD_MESH_SUN" }, { 0x8615, "TRIANGLE_MESH_SUN" }, { 0x8620, "VERTEX_PROGRAM_ARB" }, { 0x8621, "VERTEX_STATE_PROGRAM_NV" }, { 0x8622, "VERTEX_ATTRIB_ARRAY_ENABLED" }, { 0x8623, "VERTEX_ATTRIB_ARRAY_SIZE" }, { 0x8624, "VERTEX_ATTRIB_ARRAY_STRIDE" }, { 0x8625, "VERTEX_ATTRIB_ARRAY_TYPE" }, { 0x8626, "CURRENT_VERTEX_ATTRIB" }, { 0x8627, "PROGRAM_LENGTH_ARB" }, { 0x8628, "PROGRAM_STRING_ARB" }, { 0x8629, "MODELVIEW_PROJECTION_NV" }, { 0x862a, "IDENTITY_NV" }, { 0x862b, "INVERSE_NV" }, { 0x862c, "TRANSPOSE_NV" }, { 0x862d, "INVERSE_TRANSPOSE_NV" }, { 0x862e, "MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB" }, { 0x862f, "MAX_PROGRAM_MATRICES_ARB" }, { 0x8630, "MATRIX0_NV" }, { 0x8631, "MATRIX1_NV" }, { 0x8632, "MATRIX2_NV" }, { 0x8633, "MATRIX3_NV" }, { 0x8634, "MATRIX4_NV" }, { 0x8635, "MATRIX5_NV" }, { 0x8636, "MATRIX6_NV" }, { 0x8637, "MATRIX7_NV" }, { 0x8640, "CURRENT_MATRIX_STACK_DEPTH_ARB" }, { 0x8641, "CURRENT_MATRIX_ARB" }, { 0x8642, "VERTEX_PROGRAM_POINT_SIZE" }, { 0x8643, "VERTEX_PROGRAM_TWO_SIDE" }, { 0x8644, "PROGRAM_PARAMETER_NV" }, { 0x8645, "VERTEX_ATTRIB_ARRAY_POINTER" }, { 0x8646, "PROGRAM_TARGET_NV" }, { 0x8647, "PROGRAM_RESIDENT_NV" }, { 0x8648, "TRACK_MATRIX_NV" }, { 0x8649, "TRACK_MATRIX_TRANSFORM_NV" }, { 0x864a, "VERTEX_PROGRAM_BINDING_NV" }, { 0x864b, "PROGRAM_ERROR_POSITION_ARB" }, { 0x864f, "DEPTH_CLAMP_NV" }, { 0x8650, "VERTEX_ATTRIB_ARRAY0_NV" }, { 0x8651, "VERTEX_ATTRIB_ARRAY1_NV" }, { 0x8652, "VERTEX_ATTRIB_ARRAY2_NV" }, { 0x8653, "VERTEX_ATTRIB_ARRAY3_NV" }, { 0x8654, "VERTEX_ATTRIB_ARRAY4_NV" }, { 0x8655, "VERTEX_ATTRIB_ARRAY5_NV" }, { 0x8656, "VERTEX_ATTRIB_ARRAY6_NV" }, { 0x8657, "VERTEX_ATTRIB_ARRAY7_NV" }, { 0x8658, "VERTEX_ATTRIB_ARRAY8_NV" }, { 0x8659, "VERTEX_ATTRIB_ARRAY9_NV" }, { 0x865a, "VERTEX_ATTRIB_ARRAY10_NV" }, { 0x865b, "VERTEX_ATTRIB_ARRAY11_NV" }, { 0x865c, "VERTEX_ATTRIB_ARRAY12_NV" }, { 0x865d, "VERTEX_ATTRIB_ARRAY13_NV" }, { 0x865e, "VERTEX_ATTRIB_ARRAY14_NV" }, { 0x865f, "VERTEX_ATTRIB_ARRAY15_NV" }, { 0x8660, "MAP1_VERTEX_ATTRIB0_4_NV" }, { 0x8661, "MAP1_VERTEX_ATTRIB1_4_NV" }, { 0x8662, "MAP1_VERTEX_ATTRIB2_4_NV" }, { 0x8663, "MAP1_VERTEX_ATTRIB3_4_NV" }, { 0x8664, "MAP1_VERTEX_ATTRIB4_4_NV" }, { 0x8665, "MAP1_VERTEX_ATTRIB5_4_NV" }, { 0x8666, "MAP1_VERTEX_ATTRIB6_4_NV" }, { 0x8667, "MAP1_VERTEX_ATTRIB7_4_NV" }, { 0x8668, "MAP1_VERTEX_ATTRIB8_4_NV" }, { 0x8669, "MAP1_VERTEX_ATTRIB9_4_NV" }, { 0x866a, "MAP1_VERTEX_ATTRIB10_4_NV" }, { 0x866b, "MAP1_VERTEX_ATTRIB11_4_NV" }, { 0x866c, "MAP1_VERTEX_ATTRIB12_4_NV" }, { 0x866d, "MAP1_VERTEX_ATTRIB13_4_NV" }, { 0x866e, "MAP1_VERTEX_ATTRIB14_4_NV" }, { 0x866f, "MAP1_VERTEX_ATTRIB15_4_NV" }, { 0x8670, "MAP2_VERTEX_ATTRIB0_4_NV" }, { 0x8671, "MAP2_VERTEX_ATTRIB1_4_NV" }, { 0x8672, "MAP2_VERTEX_ATTRIB2_4_NV" }, { 0x8673, "MAP2_VERTEX_ATTRIB3_4_NV" }, { 0x8674, "MAP2_VERTEX_ATTRIB4_4_NV" }, { 0x8675, "MAP2_VERTEX_ATTRIB5_4_NV" }, { 0x8676, "MAP2_VERTEX_ATTRIB6_4_NV" }, { 0x8677, "PROGRAM_BINDING_ARB" }, { 0x8678, "MAP2_VERTEX_ATTRIB8_4_NV" }, { 0x8679, "MAP2_VERTEX_ATTRIB9_4_NV" }, { 0x867a, "MAP2_VERTEX_ATTRIB10_4_NV" }, { 0x867b, "MAP2_VERTEX_ATTRIB11_4_NV" }, { 0x867c, "MAP2_VERTEX_ATTRIB12_4_NV" }, { 0x867d, "MAP2_VERTEX_ATTRIB13_4_NV" }, { 0x867e, "MAP2_VERTEX_ATTRIB14_4_NV" }, { 0x867f, "MAP2_VERTEX_ATTRIB15_4_NV" }, { 0x86a0, "TEXTURE_COMPRESSED_IMAGE_SIZE" }, { 0x86a1, "TEXTURE_COMPRESSED" }, { 0x86a2, "NUM_COMPRESSED_TEXTURE_FORMATS" }, { 0x86a3, "COMPRESSED_TEXTURE_FORMATS" }, { 0x86a4, "MAX_VERTEX_UNITS_ARB" }, { 0x86a5, "ACTIVE_VERTEX_UNITS_ARB" }, { 0x86a6, "WEIGHT_SUM_UNITY_ARB" }, { 0x86a7, "VERTEX_BLEND_ARB" }, { 0x86a8, "CURRENT_WEIGHT_ARB" }, { 0x86a9, "WEIGHT_ARRAY_TYPE_ARB" }, { 0x86aa, "WEIGHT_ARRAY_STRIDE_ARB" }, { 0x86ab, "WEIGHT_ARRAY_SIZE_ARB" }, { 0x86ac, "WEIGHT_ARRAY_POINTER_ARB" }, { 0x86ad, "WEIGHT_ARRAY_ARB" }, { 0x86ae, "DOT3_RGB" }, { 0x86af, "DOT3_RGBA" }, { 0x86b0, "COMPRESSED_RGB_FXT1_3DFX" }, { 0x86b1, "COMPRESSED_RGBA_FXT1_3DFX" }, { 0x86b2, "MULTISAMPLE_3DFX" }, { 0x86b3, "SAMPLE_BUFFERS_3DFX" }, { 0x86b4, "SAMPLES_3DFX" }, { 0x8722, "MODELVIEW2_ARB" }, { 0x8723, "MODELVIEW3_ARB" }, { 0x8724, "MODELVIEW4_ARB" }, { 0x8725, "MODELVIEW5_ARB" }, { 0x8726, "MODELVIEW6_ARB" }, { 0x8727, "MODELVIEW7_ARB" }, { 0x8728, "MODELVIEW8_ARB" }, { 0x8729, "MODELVIEW9_ARB" }, { 0x872a, "MODELVIEW10_ARB" }, { 0x872b, "MODELVIEW11_ARB" }, { 0x872c, "MODELVIEW12_ARB" }, { 0x872d, "MODELVIEW13_ARB" }, { 0x872e, "MODELVIEW14_ARB" }, { 0x872f, "MODELVIEW15_ARB" }, { 0x8730, "MODELVIEW16_ARB" }, { 0x8731, "MODELVIEW17_ARB" }, { 0x8732, "MODELVIEW18_ARB" }, { 0x8733, "MODELVIEW19_ARB" }, { 0x8734, "MODELVIEW20_ARB" }, { 0x8735, "MODELVIEW21_ARB" }, { 0x8736, "MODELVIEW22_ARB" }, { 0x8737, "MODELVIEW23_ARB" }, { 0x8738, "MODELVIEW24_ARB" }, { 0x8739, "MODELVIEW25_ARB" }, { 0x873a, "MODELVIEW26_ARB" }, { 0x873b, "MODELVIEW27_ARB" }, { 0x873c, "MODELVIEW28_ARB" }, { 0x873d, "MODELVIEW29_ARB" }, { 0x873e, "MODELVIEW30_ARB" }, { 0x873f, "MODELVIEW31_ARB" }, { 0x8740, "DOT3_RGB_EXT" }, { 0x8741, "DOT3_RGBA_EXT" }, { 0x8742, "MIRROR_CLAMP_ATI" }, { 0x8743, "MIRROR_CLAMP_TO_EDGE_ATI" }, { 0x8744, "MODULATE_ADD_ATI" }, { 0x8745, "MODULATE_SIGNED_ADD_ATI" }, { 0x8746, "MODULATE_SUBTRACT_ATI" }, { 0x8757, "YCBCR_MESA" }, { 0x8758, "PACK_INVERT_MESA" }, { 0x8764, "BUFFER_SIZE" }, { 0x8765, "BUFFER_USAGE" }, { 0x8775, "BUMP_ROT_MATRIX_ATI" }, { 0x8776, "BUMP_ROT_MATRIX_SIZE_ATI" }, { 0x8777, "BUMP_NUM_TEX_UNITS_ATI" }, { 0x8778, "BUMP_TEX_UNITS_ATI" }, { 0x8779, "DUDV_ATI" }, { 0x877a, "DU8DV8_ATI" }, { 0x877b, "BUMP_ENVMAP_ATI" }, { 0x877c, "BUMP_TARGET_ATI" }, { 0x87fb, "VBO_FREE_MEMORY_ATI" }, { 0x87fc, "TEXTURE_FREE_MEMORY_ATI" }, { 0x87fd, "RENDERBUFFER_FREE_MEMORY_ATI" }, { 0x8800, "STENCIL_BACK_FUNC" }, { 0x8801, "STENCIL_BACK_FAIL" }, { 0x8802, "STENCIL_BACK_PASS_DEPTH_FAIL" }, { 0x8803, "STENCIL_BACK_PASS_DEPTH_PASS" }, { 0x8804, "FRAGMENT_PROGRAM_ARB" }, { 0x8805, "PROGRAM_ALU_INSTRUCTIONS_ARB" }, { 0x8806, "PROGRAM_TEX_INSTRUCTIONS_ARB" }, { 0x8807, "PROGRAM_TEX_INDIRECTIONS_ARB" }, { 0x8808, "PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB" }, { 0x8809, "PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB" }, { 0x880a, "PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB" }, { 0x880b, "MAX_PROGRAM_ALU_INSTRUCTIONS_ARB" }, { 0x880c, "MAX_PROGRAM_TEX_INSTRUCTIONS_ARB" }, { 0x880d, "MAX_PROGRAM_TEX_INDIRECTIONS_ARB" }, { 0x880e, "MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB" }, { 0x880f, "MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB" }, { 0x8810, "MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB" }, { 0x8824, "MAX_DRAW_BUFFERS" }, { 0x8825, "DRAW_BUFFER0" }, { 0x8826, "DRAW_BUFFER1" }, { 0x8827, "DRAW_BUFFER2" }, { 0x8828, "DRAW_BUFFER3" }, { 0x8829, "DRAW_BUFFER4" }, { 0x882a, "DRAW_BUFFER5" }, { 0x882b, "DRAW_BUFFER6" }, { 0x882c, "DRAW_BUFFER7" }, { 0x882d, "DRAW_BUFFER8" }, { 0x882e, "DRAW_BUFFER9" }, { 0x882f, "DRAW_BUFFER10" }, { 0x8830, "DRAW_BUFFER11" }, { 0x8831, "DRAW_BUFFER12" }, { 0x8832, "DRAW_BUFFER13" }, { 0x8833, "DRAW_BUFFER14" }, { 0x8834, "DRAW_BUFFER15" }, { 0x883d, "BLEND_EQUATION_ALPHA" }, { 0x8840, "MATRIX_PALETTE_ARB" }, { 0x8841, "MAX_MATRIX_PALETTE_STACK_DEPTH_ARB" }, { 0x8842, "MAX_PALETTE_MATRICES_ARB" }, { 0x8843, "CURRENT_PALETTE_MATRIX_ARB" }, { 0x8844, "MATRIX_INDEX_ARRAY_ARB" }, { 0x8845, "CURRENT_MATRIX_INDEX_ARB" }, { 0x8846, "MATRIX_INDEX_ARRAY_SIZE_ARB" }, { 0x8847, "MATRIX_INDEX_ARRAY_TYPE_ARB" }, { 0x8848, "MATRIX_INDEX_ARRAY_STRIDE_ARB" }, { 0x8849, "MATRIX_INDEX_ARRAY_POINTER_ARB" }, { 0x884a, "TEXTURE_DEPTH_SIZE" }, { 0x884b, "DEPTH_TEXTURE_MODE" }, { 0x884c, "TEXTURE_COMPARE_MODE" }, { 0x884d, "TEXTURE_COMPARE_FUNC" }, { 0x884e, "COMPARE_R_TO_TEXTURE" }, { 0x8861, "POINT_SPRITE" }, { 0x8862, "COORD_REPLACE" }, { 0x8863, "POINT_SPRITE_R_MODE_NV" }, { 0x8864, "QUERY_COUNTER_BITS" }, { 0x8865, "CURRENT_QUERY" }, { 0x8866, "QUERY_RESULT" }, { 0x8867, "QUERY_RESULT_AVAILABLE" }, { 0x8868, "MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV" }, { 0x8869, "MAX_VERTEX_ATTRIBS" }, { 0x886a, "VERTEX_ATTRIB_ARRAY_NORMALIZED" }, { 0x886e, "DEPTH_STENCIL_TO_RGBA_NV" }, { 0x886f, "DEPTH_STENCIL_TO_BGRA_NV" }, { 0x8870, "FRAGMENT_PROGRAM_NV" }, { 0x8871, "MAX_TEXTURE_COORDS" }, { 0x8872, "MAX_TEXTURE_IMAGE_UNITS" }, { 0x8873, "FRAGMENT_PROGRAM_BINDING_NV" }, { 0x8874, "PROGRAM_ERROR_STRING_ARB" }, { 0x8875, "PROGRAM_FORMAT_ASCII_ARB" }, { 0x8876, "PROGRAM_FORMAT_ARB" }, { 0x888f, "TEXTURE_UNSIGNED_REMAP_MODE_NV" }, { 0x8890, "DEPTH_BOUNDS_TEST_EXT" }, { 0x8891, "DEPTH_BOUNDS_EXT" }, { 0x8892, "ARRAY_BUFFER" }, { 0x8893, "ELEMENT_ARRAY_BUFFER" }, { 0x8894, "ARRAY_BUFFER_BINDING" }, { 0x8895, "ELEMENT_ARRAY_BUFFER_BINDING" }, { 0x8896, "VERTEX_ARRAY_BUFFER_BINDING" }, { 0x8897, "NORMAL_ARRAY_BUFFER_BINDING" }, { 0x8898, "COLOR_ARRAY_BUFFER_BINDING" }, { 0x8899, "INDEX_ARRAY_BUFFER_BINDING" }, { 0x889a, "TEXTURE_COORD_ARRAY_BUFFER_BINDING" }, { 0x889b, "EDGE_FLAG_ARRAY_BUFFER_BINDING" }, { 0x889c, "SECONDARY_COLOR_ARRAY_BUFFER_BINDING" }, { 0x889d, "FOG_COORDINATE_ARRAY_BUFFER_BINDING" }, { 0x889e, "WEIGHT_ARRAY_BUFFER_BINDING" }, { 0x889f, "VERTEX_ATTRIB_ARRAY_BUFFER_BINDING" }, { 0x88a0, "PROGRAM_INSTRUCTIONS_ARB" }, { 0x88a1, "MAX_PROGRAM_INSTRUCTIONS_ARB" }, { 0x88a2, "PROGRAM_NATIVE_INSTRUCTIONS_ARB" }, { 0x88a3, "MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB" }, { 0x88a4, "PROGRAM_TEMPORARIES_ARB" }, { 0x88a5, "MAX_PROGRAM_TEMPORARIES_ARB" }, { 0x88a6, "PROGRAM_NATIVE_TEMPORARIES_ARB" }, { 0x88a7, "MAX_PROGRAM_NATIVE_TEMPORARIES_ARB" }, { 0x88a8, "PROGRAM_PARAMETERS_ARB" }, { 0x88a9, "MAX_PROGRAM_PARAMETERS_ARB" }, { 0x88aa, "PROGRAM_NATIVE_PARAMETERS_ARB" }, { 0x88ab, "MAX_PROGRAM_NATIVE_PARAMETERS_ARB" }, { 0x88ac, "PROGRAM_ATTRIBS_ARB" }, { 0x88ad, "MAX_PROGRAM_ATTRIBS_ARB" }, { 0x88ae, "PROGRAM_NATIVE_ATTRIBS_ARB" }, { 0x88af, "MAX_PROGRAM_NATIVE_ATTRIBS_ARB" }, { 0x88b0, "PROGRAM_ADDRESS_REGISTERS_ARB" }, { 0x88b1, "MAX_PROGRAM_ADDRESS_REGISTERS_ARB" }, { 0x88b2, "PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB" }, { 0x88b3, "MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB" }, { 0x88b4, "MAX_PROGRAM_LOCAL_PARAMETERS_ARB" }, { 0x88b5, "MAX_PROGRAM_ENV_PARAMETERS_ARB" }, { 0x88b6, "PROGRAM_UNDER_NATIVE_LIMITS_ARB" }, { 0x88b7, "TRANSPOSE_CURRENT_MATRIX_ARB" }, { 0x88b8, "READ_ONLY" }, { 0x88b9, "WRITE_ONLY" }, { 0x88ba, "READ_WRITE" }, { 0x88bb, "BUFFER_ACCESS" }, { 0x88bc, "BUFFER_MAPPED" }, { 0x88bd, "BUFFER_MAP_POINTER" }, { 0x88bf, "TIME_ELAPSED" }, { 0x88c0, "MATRIX0_ARB" }, { 0x88c1, "MATRIX1_ARB" }, { 0x88c2, "MATRIX2_ARB" }, { 0x88c3, "MATRIX3_ARB" }, { 0x88c4, "MATRIX4_ARB" }, { 0x88c5, "MATRIX5_ARB" }, { 0x88c6, "MATRIX6_ARB" }, { 0x88c7, "MATRIX7_ARB" }, { 0x88c8, "MATRIX8_ARB" }, { 0x88c9, "MATRIX9_ARB" }, { 0x88ca, "MATRIX10_ARB" }, { 0x88cb, "MATRIX11_ARB" }, { 0x88cc, "MATRIX12_ARB" }, { 0x88cd, "MATRIX13_ARB" }, { 0x88ce, "MATRIX14_ARB" }, { 0x88cf, "MATRIX15_ARB" }, { 0x88d0, "MATRIX16_ARB" }, { 0x88d1, "MATRIX17_ARB" }, { 0x88d2, "MATRIX18_ARB" }, { 0x88d3, "MATRIX19_ARB" }, { 0x88d4, "MATRIX20_ARB" }, { 0x88d5, "MATRIX21_ARB" }, { 0x88d6, "MATRIX22_ARB" }, { 0x88d7, "MATRIX23_ARB" }, { 0x88d8, "MATRIX24_ARB" }, { 0x88d9, "MATRIX25_ARB" }, { 0x88da, "MATRIX26_ARB" }, { 0x88db, "MATRIX27_ARB" }, { 0x88dc, "MATRIX28_ARB" }, { 0x88dd, "MATRIX29_ARB" }, { 0x88de, "MATRIX30_ARB" }, { 0x88df, "MATRIX31_ARB" }, { 0x88e0, "STREAM_DRAW" }, { 0x88e1, "STREAM_READ" }, { 0x88e2, "STREAM_COPY" }, { 0x88e4, "STATIC_DRAW" }, { 0x88e5, "STATIC_READ" }, { 0x88e6, "STATIC_COPY" }, { 0x88e8, "DYNAMIC_DRAW" }, { 0x88e9, "DYNAMIC_READ" }, { 0x88ea, "DYNAMIC_COPY" }, { 0x88eb, "PIXEL_PACK_BUFFER" }, { 0x88ec, "PIXEL_UNPACK_BUFFER" }, { 0x88ed, "PIXEL_PACK_BUFFER_BINDING" }, { 0x88ef, "PIXEL_UNPACK_BUFFER_BINDING" }, { 0x88f4, "MAX_PROGRAM_EXEC_INSTRUCTIONS_NV" }, { 0x88f5, "MAX_PROGRAM_CALL_DEPTH_NV" }, { 0x88f6, "MAX_PROGRAM_IF_DEPTH_NV" }, { 0x88f7, "MAX_PROGRAM_LOOP_DEPTH_NV" }, { 0x88f8, "MAX_PROGRAM_LOOP_COUNT_NV" }, { 0x8910, "STENCIL_TEST_TWO_SIDE_EXT" }, { 0x8911, "ACTIVE_STENCIL_FACE_EXT" }, { 0x8912, "MIRROR_CLAMP_TO_BORDER_EXT" }, { 0x8914, "SAMPLES_PASSED" }, { 0x8920, "FRAGMENT_SHADER_ATI" }, { 0x8921, "REG_0_ATI" }, { 0x8922, "REG_1_ATI" }, { 0x8923, "REG_2_ATI" }, { 0x8924, "REG_3_ATI" }, { 0x8925, "REG_4_ATI" }, { 0x8926, "REG_5_ATI" }, { 0x8927, "REG_6_ATI" }, { 0x8928, "REG_7_ATI" }, { 0x8929, "REG_8_ATI" }, { 0x892a, "REG_9_ATI" }, { 0x892b, "REG_10_ATI" }, { 0x892c, "REG_11_ATI" }, { 0x892d, "REG_12_ATI" }, { 0x892e, "REG_13_ATI" }, { 0x892f, "REG_14_ATI" }, { 0x8930, "REG_15_ATI" }, { 0x8931, "REG_16_ATI" }, { 0x8932, "REG_17_ATI" }, { 0x8933, "REG_18_ATI" }, { 0x8934, "REG_19_ATI" }, { 0x8935, "REG_20_ATI" }, { 0x8936, "REG_21_ATI" }, { 0x8937, "REG_22_ATI" }, { 0x8938, "REG_23_ATI" }, { 0x8939, "REG_24_ATI" }, { 0x893a, "REG_25_ATI" }, { 0x893b, "REG_26_ATI" }, { 0x893c, "REG_27_ATI" }, { 0x893d, "REG_28_ATI" }, { 0x893e, "REG_29_ATI" }, { 0x893f, "REG_30_ATI" }, { 0x8940, "REG_31_ATI" }, { 0x8941, "CON_0_ATI" }, { 0x8942, "CON_1_ATI" }, { 0x8943, "CON_2_ATI" }, { 0x8944, "CON_3_ATI" }, { 0x8945, "CON_4_ATI" }, { 0x8946, "CON_5_ATI" }, { 0x8947, "CON_6_ATI" }, { 0x8948, "CON_7_ATI" }, { 0x8949, "CON_8_ATI" }, { 0x894a, "CON_9_ATI" }, { 0x894b, "CON_10_ATI" }, { 0x894c, "CON_11_ATI" }, { 0x894d, "CON_12_ATI" }, { 0x894e, "CON_13_ATI" }, { 0x894f, "CON_14_ATI" }, { 0x8950, "CON_15_ATI" }, { 0x8951, "CON_16_ATI" }, { 0x8952, "CON_17_ATI" }, { 0x8953, "CON_18_ATI" }, { 0x8954, "CON_19_ATI" }, { 0x8955, "CON_20_ATI" }, { 0x8956, "CON_21_ATI" }, { 0x8957, "CON_22_ATI" }, { 0x8958, "CON_23_ATI" }, { 0x8959, "CON_24_ATI" }, { 0x895a, "CON_25_ATI" }, { 0x895b, "CON_26_ATI" }, { 0x895c, "CON_27_ATI" }, { 0x895d, "CON_28_ATI" }, { 0x895e, "CON_29_ATI" }, { 0x895f, "CON_30_ATI" }, { 0x8960, "CON_31_ATI" }, { 0x8961, "MOV_ATI" }, { 0x8963, "ADD_ATI" }, { 0x8964, "MUL_ATI" }, { 0x8965, "SUB_ATI" }, { 0x8966, "DOT3_ATI" }, { 0x8967, "DOT4_ATI" }, { 0x8968, "MAD_ATI" }, { 0x8969, "LERP_ATI" }, { 0x896a, "CND_ATI" }, { 0x896b, "CND0_ATI" }, { 0x896c, "DOT2_ADD_ATI" }, { 0x896d, "SECONDARY_INTERPOLATOR_ATI" }, { 0x896e, "NUM_FRAGMENT_REGISTERS_ATI" }, { 0x896f, "NUM_FRAGMENT_CONSTANTS_ATI" }, { 0x8970, "NUM_PASSES_ATI" }, { 0x8971, "NUM_INSTRUCTIONS_PER_PASS_ATI" }, { 0x8972, "NUM_INSTRUCTIONS_TOTAL_ATI" }, { 0x8973, "NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI" }, { 0x8974, "NUM_LOOPBACK_COMPONENTS_ATI" }, { 0x8975, "COLOR_ALPHA_PAIRING_ATI" }, { 0x8976, "SWIZZLE_STR_ATI" }, { 0x8977, "SWIZZLE_STQ_ATI" }, { 0x8978, "SWIZZLE_STR_DR_ATI" }, { 0x8979, "SWIZZLE_STQ_DQ_ATI" }, { 0x897a, "SWIZZLE_STRQ_ATI" }, { 0x897b, "SWIZZLE_STRQ_DQ_ATI" }, { 0x8a12, "BUFFER_SERIALIZED_MODIFY_APPLE" }, { 0x8a13, "BUFFER_FLUSHING_UNMAP_APPLE" }, { 0x8a48, "TEXTURE_SRGB_DECODE_EXT" }, { 0x8a49, "DECODE_EXT" }, { 0x8a4a, "SKIP_DECODE_EXT" }, { 0x8a52, "FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT" }, { 0x8b30, "FRAGMENT_SHADER" }, { 0x8b31, "VERTEX_SHADER" }, { 0x8b40, "PROGRAM_OBJECT_ARB" }, { 0x8b48, "SHADER_OBJECT_ARB" }, { 0x8b49, "MAX_FRAGMENT_UNIFORM_COMPONENTS" }, { 0x8b4a, "MAX_VERTEX_UNIFORM_COMPONENTS" }, { 0x8b4b, "MAX_VARYING_FLOATS" }, { 0x8b4c, "MAX_VERTEX_TEXTURE_IMAGE_UNITS" }, { 0x8b4d, "MAX_COMBINED_TEXTURE_IMAGE_UNITS" }, { 0x8b4e, "OBJECT_TYPE_ARB" }, { 0x8b4f, "SHADER_TYPE" }, { 0x8b50, "FLOAT_VEC2" }, { 0x8b51, "FLOAT_VEC3" }, { 0x8b52, "FLOAT_VEC4" }, { 0x8b53, "INT_VEC2" }, { 0x8b54, "INT_VEC3" }, { 0x8b55, "INT_VEC4" }, { 0x8b56, "BOOL" }, { 0x8b57, "BOOL_VEC2" }, { 0x8b58, "BOOL_VEC3" }, { 0x8b59, "BOOL_VEC4" }, { 0x8b5a, "FLOAT_MAT2" }, { 0x8b5b, "FLOAT_MAT3" }, { 0x8b5c, "FLOAT_MAT4" }, { 0x8b5d, "SAMPLER_1D" }, { 0x8b5e, "SAMPLER_2D" }, { 0x8b5f, "SAMPLER_3D" }, { 0x8b60, "SAMPLER_CUBE" }, { 0x8b61, "SAMPLER_1D_SHADOW" }, { 0x8b62, "SAMPLER_2D_SHADOW" }, { 0x8b65, "FLOAT_MAT2x3" }, { 0x8b66, "FLOAT_MAT2x4" }, { 0x8b67, "FLOAT_MAT3x2" }, { 0x8b68, "FLOAT_MAT3x4" }, { 0x8b69, "FLOAT_MAT4x2" }, { 0x8b6a, "FLOAT_MAT4x3" }, { 0x8b80, "DELETE_STATUS" }, { 0x8b81, "COMPILE_STATUS" }, { 0x8b82, "LINK_STATUS" }, { 0x8b83, "VALIDATE_STATUS" }, { 0x8b84, "INFO_LOG_LENGTH" }, { 0x8b85, "ATTACHED_SHADERS" }, { 0x8b86, "ACTIVE_UNIFORMS" }, { 0x8b87, "ACTIVE_UNIFORM_MAX_LENGTH" }, { 0x8b88, "SHADER_SOURCE_LENGTH" }, { 0x8b89, "ACTIVE_ATTRIBUTES" }, { 0x8b8a, "ACTIVE_ATTRIBUTE_MAX_LENGTH" }, { 0x8b8b, "FRAGMENT_SHADER_DERIVATIVE_HINT" }, { 0x8b8c, "SHADING_LANGUAGE_VERSION" }, { 0x8b8d, "CURRENT_PROGRAM" }, { 0x8b90, "PALETTE4_RGB8_OES" }, { 0x8b91, "PALETTE4_RGBA8_OES" }, { 0x8b92, "PALETTE4_R5_G6_B5_OES" }, { 0x8b93, "PALETTE4_RGBA4_OES" }, { 0x8b94, "PALETTE4_RGB5_A1_OES" }, { 0x8b95, "PALETTE8_RGB8_OES" }, { 0x8b96, "PALETTE8_RGBA8_OES" }, { 0x8b97, "PALETTE8_R5_G6_B5_OES" }, { 0x8b98, "PALETTE8_RGBA4_OES" }, { 0x8b99, "PALETTE8_RGB5_A1_OES" }, { 0x8b9a, "IMPLEMENTATION_COLOR_READ_TYPE_OES" }, { 0x8b9b, "IMPLEMENTATION_COLOR_READ_FORMAT_OES" }, { 0x8c2f, "ANY_SAMPLES_PASSED" }, { 0x8c3a, "R11F_G11F_B10F_EXT" }, { 0x8c3b, "UNSIGNED_INT_10F_11F_11F_REV" }, { 0x8c3c, "RGBA_SIGNED_COMPONENTS_EXT" }, { 0x8c40, "SRGB" }, { 0x8c41, "SRGB8" }, { 0x8c42, "SRGB_ALPHA" }, { 0x8c43, "SRGB8_ALPHA8" }, { 0x8c44, "SLUMINANCE_ALPHA" }, { 0x8c45, "SLUMINANCE8_ALPHA8" }, { 0x8c46, "SLUMINANCE" }, { 0x8c47, "SLUMINANCE8" }, { 0x8c48, "COMPRESSED_SRGB" }, { 0x8c49, "COMPRESSED_SRGB_ALPHA" }, { 0x8c4a, "COMPRESSED_SLUMINANCE" }, { 0x8c4b, "COMPRESSED_SLUMINANCE_ALPHA" }, { 0x8ca0, "POINT_SPRITE_COORD_ORIGIN" }, { 0x8ca1, "LOWER_LEFT" }, { 0x8ca2, "UPPER_LEFT" }, { 0x8ca3, "STENCIL_BACK_REF" }, { 0x8ca4, "STENCIL_BACK_VALUE_MASK" }, { 0x8ca5, "STENCIL_BACK_WRITEMASK" }, { 0x8db9, "FRAMEBUFFER_SRGB_EXT" }, { 0x8dba, "FRAMEBUFFER_SRGB_CAPABLE_EXT" }, { 0x8e17, "QUERY_WAIT_INVERTED" }, { 0x8e18, "QUERY_NO_WAIT_INVERTED" }, { 0x8e19, "QUERY_BY_REGION_WAIT_INVERTED" }, { 0x8e1a, "QUERY_BY_REGION_NO_WAIT_INVERTED" }, { 0x8e1b, "POLYGON_OFFSET_CLAMP_EXT" }, { 0x8e28, "TIMESTAMP" }, { 0x8e50, "SAMPLE_LOCATION_ARB" }, { 0x8e70, "MAX_TRANSFORM_FEEDBACK_BUFFERS" }, { 0x8e71, "MAX_VERTEX_STREAMS" }, { 0x8f93, "RGBA_SNORM" }, { 0x8f97, "RGBA8_SNORM" }, { 0x8f9c, "SIGNED_NORMALIZED" }, { 0x9047, "GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX" }, { 0x9048, "GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX" }, { 0x9049, "GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX" }, { 0x904a, "GPU_MEMORY_INFO_EVICTION_COUNT_NVX" }, { 0x904b, "GPU_MEMORY_INFO_EVICTED_MEMORY_NVX" }, { 0x90bc, "MIN_MAP_BUFFER_ALIGNMENT" }, { 0x9160, "EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD" }, { 0x9192, "QUERY_BUFFER" }, { 0x9193, "QUERY_BUFFER_BINDING" }, { 0x9194, "QUERY_RESULT_NO_WAIT" }, { 0x91b0, "MAX_SHADER_COMPILER_THREADS_ARB" }, { 0x91b1, "COMPLETION_STATUS_ARB" }, { 0x91b2, "RENDERBUFFER_STORAGE_SAMPLES_AMD" }, { 0x91b3, "MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD" }, { 0x91b4, "MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD" }, { 0x91b5, "MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD" }, { 0x91b6, "NUM_SUPPORTED_MULTISAMPLE_MODES_AMD" }, { 0x91b7, "SUPPORTED_MULTISAMPLE_MODES_AMD" }, { 0x9285, "BLEND_ADVANCED_COHERENT_KHR" }, { 0x9294, "MULTIPLY_KHR" }, { 0x9295, "SCREEN_KHR" }, { 0x9296, "OVERLAY_KHR" }, { 0x9297, "DARKEN_KHR" }, { 0x9298, "LIGHTEN_KHR" }, { 0x9299, "COLORDODGE_KHR" }, { 0x929a, "COLORBURN_KHR" }, { 0x929b, "HARDLIGHT_KHR" }, { 0x929c, "SOFTLIGHT_KHR" }, { 0x929e, "DIFFERENCE_KHR" }, { 0x92a0, "EXCLUSION_KHR" }, { 0x92ad, "HSL_HUE_KHR" }, { 0x92ae, "HSL_SATURATION_KHR" }, { 0x92af, "HSL_COLOR_KHR" }, { 0x92b0, "HSL_LUMINOSITY_KHR" }, { 0x92be, "PRIMITIVE_BOUNDING_BOX_ARB" }, { 0x933c, "FILL_RECTANGLE_NV" }, { 0x933d, "SAMPLE_LOCATION_SUBPIXEL_BITS_ARB" }, { 0x933e, "SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB" }, { 0x933f, "SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB" }, { 0x9340, "PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB" }, { 0x9341, "PROGRAMMABLE_SAMPLE_LOCATION_ARB" }, { 0x9342, "FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB" }, { 0x9343, "FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB" }, { 0x9346, "CONSERVATIVE_RASTERIZATION_NV" }, { 0x9347, "SUBPIXEL_PRECISION_BIAS_X_BITS_NV" }, { 0x9348, "SUBPIXEL_PRECISION_BIAS_Y_BITS_NV" }, { 0x9349, "MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV" }, { 0x9379, "CONSERVATIVE_RASTER_DILATE_NV" }, { 0x937a, "CONSERVATIVE_RASTER_DILATE_RANGE_NV" }, { 0x937b, "CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV" }, { 0x9381, "MULTISAMPLE_LINE_WIDTH_RANGE_ARB" }, { 0x9382, "MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB" }, { 0x954d, "CONSERVATIVE_RASTER_MODE_NV" }, { 0x954e, "CONSERVATIVE_RASTER_MODE_POST_SNAP_NV" }, { 0x954f, "CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV" }, { 0x10000, "EVAL_BIT" }, { 0x19262, "RASTER_POSITION_UNCLIPPED_IBM" }, { 0x20000, "LIST_BIT" }, { 0x40000, "TEXTURE_BIT" }, { 0x80000, "SCISSOR_BIT" }, { 0xfffff, "ALL_ATTRIB_BITS" }, { 0x20000000, "MULTISAMPLE_BIT" }, { 0xffffffff, "CLIENT_ALL_ATTRIB_BITS" }, { 0, NULL } };
C/C++
wireshark/epan/dissectors/x11-keysym.h
/* x11-keysym.h * * Put here so as to make packet-x11.c lighter. See packet-x11.c * This .h file should be included *only* in packet-x11.c * * Wireshark - Network traffic analyzer * By Gerald Combs <[email protected]> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Note; Entries should be kept in ascending order so that val_to_str_ext() * and etc can do the lookup using a binary search. * * Strings must be valid UTF-8 sequences. */ static const value_string x11_keysym_vals_source[] = { { 0, "NoSymbol" }, { 0x020, "space" }, { 0x021, "!" }, { 0x022, "\"" }, { 0x023, "#" }, { 0x024, "$" }, { 0x025, "%" }, { 0x026, "&" }, { 0x027, "'" }, { 0x028, "(" }, { 0x029, ")" }, { 0x02a, "*" }, { 0x02b, "+" }, { 0x02c, "," }, { 0x02d, "-" }, { 0x02e, "." }, { 0x02f, "/" }, { 0x030, "0" }, { 0x031, "1" }, { 0x032, "2" }, { 0x033, "3" }, { 0x034, "4" }, { 0x035, "5" }, { 0x036, "6" }, { 0x037, "7" }, { 0x038, "8" }, { 0x039, "9" }, { 0x03a, ":" }, { 0x03b, ";" }, { 0x03c, "<" }, { 0x03d, "=" }, { 0x03e, ">" }, { 0x03f, "?" }, { 0x040, "@" }, { 0x041, "A" }, { 0x042, "B" }, { 0x043, "C" }, { 0x044, "D" }, { 0x045, "E" }, { 0x046, "F" }, { 0x047, "G" }, { 0x048, "H" }, { 0x049, "I" }, { 0x04a, "J" }, { 0x04b, "K" }, { 0x04c, "L" }, { 0x04d, "M" }, { 0x04e, "N" }, { 0x04f, "O" }, { 0x050, "P" }, { 0x051, "Q" }, { 0x052, "R" }, { 0x053, "S" }, { 0x054, "T" }, { 0x055, "U" }, { 0x056, "V" }, { 0x057, "W" }, { 0x058, "X" }, { 0x059, "Y" }, { 0x05a, "Z" }, { 0x05b, "[" }, { 0x05c, "\\" }, { 0x05d, "]" }, { 0x05e, "^" }, { 0x05f, "_" }, { 0x060, "`" }, { 0x061, "a" }, { 0x062, "b" }, { 0x063, "c" }, { 0x064, "d" }, { 0x065, "e" }, { 0x066, "f" }, { 0x067, "g" }, { 0x068, "h" }, { 0x069, "i" }, { 0x06a, "j" }, { 0x06b, "k" }, { 0x06c, "l" }, { 0x06d, "m" }, { 0x06e, "n" }, { 0x06f, "o" }, { 0x070, "p" }, { 0x071, "q" }, { 0x072, "r" }, { 0x073, "s" }, { 0x074, "t" }, { 0x075, "u" }, { 0x076, "v" }, { 0x077, "w" }, { 0x078, "x" }, { 0x079, "y" }, { 0x07a, "z" }, { 0x07b, "{" }, { 0x07c, "|" }, { 0x07d, ", HFILL }" }, { 0x07e, "~" }, { 0x0a0, "nobreakspace" }, /* Map raw Latin 1 / 8859-1 to Latin-1 Supplement UTF-8 sequences */ { 0x0a1, "\xc2\xa1" }, { 0x0a2, "\xc2\xa2" }, { 0x0a3, "\xc2\xa3" }, { 0x0a4, "\xc2\xa4" }, { 0x0a5, "\xc2\xa5" }, { 0x0a6, "\xc2\xa6" }, { 0x0a7, "\xc2\xa7" }, { 0x0a8, "\xc2\xa8" }, { 0x0a9, "\xc2\xa9" }, { 0x0aa, "\xc2\xaa" }, { 0x0ab, "\xc2\xab" }, { 0x0ac, "\xc2\xac" }, { 0x0ad, "\xc2\xad" }, { 0x0ae, "\xc2\xae" }, { 0x0af, "\xc2\xaf" }, { 0x0b0, "\xc2\xb0" }, { 0x0b1, "\xc2\xb1" }, { 0x0b2, "\xc2\xb2" }, { 0x0b3, "\xc2\xb3" }, { 0x0b4, "\xc2\xb4" }, { 0x0b5, "\xc2\xb5" }, { 0x0b6, "\xc2\xb6" }, { 0x0b7, "\xc2\xb7" }, { 0x0b8, "\xc2\xb8" }, { 0x0b9, "\xc2\xb9" }, { 0x0ba, "\xc2\xba" }, { 0x0bb, "\xc2\xbb" }, { 0x0bc, "\xc2\xbc" }, { 0x0bd, "\xc2\xbd" }, { 0x0be, "\xc2\xbe" }, { 0x0bf, "\xc2\xbf" }, { 0x0c0, "\xc3\x80" }, { 0x0c1, "\xc3\x81" }, { 0x0c2, "\xc3\x82" }, { 0x0c3, "\xc3\x83" }, { 0x0c4, "\xc3\x84" }, { 0x0c5, "\xc3\x85" }, { 0x0c6, "\xc3\x86" }, { 0x0c7, "\xc3\x87" }, { 0x0c8, "\xc3\x88" }, { 0x0c9, "\xc3\x89" }, { 0x0ca, "\xc3\x8a" }, { 0x0cb, "\xc3\x8b" }, { 0x0cc, "\xc3\x8c" }, { 0x0cd, "\xc3\x8d" }, { 0x0ce, "\xc3\x8e" }, { 0x0cf, "\xc3\x8f" }, { 0x0d0, "\xc3\x90" }, { 0x0d1, "\xc3\x91" }, { 0x0d2, "\xc3\x92" }, { 0x0d3, "\xc3\x93" }, { 0x0d4, "\xc3\x94" }, { 0x0d5, "\xc3\x95" }, { 0x0d6, "\xc3\x96" }, { 0x0d7, "\xc3\x97" }, { 0x0d8, "\xc3\x98" }, { 0x0d9, "\xc3\x99" }, { 0x0da, "\xc3\x9a" }, { 0x0db, "\xc3\x9b" }, { 0x0dc, "\xc3\x9c" }, { 0x0dd, "\xc3\x9d" }, { 0x0de, "\xc3\x9e" }, { 0x0df, "\xc3\x9f" }, { 0x0e0, "\xc3\xa0" }, { 0x0e1, "\xc3\xa1" }, { 0x0e2, "\xc3\xa2" }, { 0x0e3, "\xc3\xa3" }, { 0x0e4, "\xc3\xa4" }, { 0x0e5, "\xc3\xa5" }, { 0x0e6, "\xc3\xa6" }, { 0x0e7, "\xc3\xa7" }, { 0x0e8, "\xc3\xa8" }, { 0x0e9, "\xc3\xa9" }, { 0x0ea, "\xc3\xaa" }, { 0x0eb, "\xc3\xab" }, { 0x0ec, "\xc3\xac" }, { 0x0ed, "\xc3\xad" }, { 0x0ee, "\xc3\xae" }, { 0x0ef, "\xc3\xaf" }, { 0x0f0, "\xc3\xb0" }, { 0x0f1, "\xc3\xb1" }, { 0x0f2, "\xc3\xb2" }, { 0x0f3, "\xc3\xb3" }, { 0x0f4, "\xc3\xb4" }, { 0x0f5, "\xc3\xb5" }, { 0x0f6, "\xc3\xb6" }, { 0x0f7, "\xc3\xb7" }, { 0x0f8, "\xc3\xb8" }, { 0x0f9, "\xc3\xb9" }, { 0x0fa, "\xc3\xba" }, { 0x0fb, "\xc3\xbb" }, { 0x0fc, "\xc3\xbc" }, { 0x0fd, "\xc3\xbd" }, { 0x0fe, "\xc3\xbe" }, { 0x0ff, "\xc3\xbf" }, { 0x1a1, "Aogonek" }, { 0x1a2, "breve" }, { 0x1a3, "Lstroke" }, { 0x1a5, "Lcaron" }, { 0x1a6, "Sacute" }, { 0x1a9, "Scaron" }, { 0x1aa, "Scedilla" }, { 0x1ab, "Tcaron" }, { 0x1ac, "Zacute" }, { 0x1ae, "Zcaron" }, { 0x1af, "Zabovedot" }, { 0x1b1, "aogonek" }, { 0x1b2, "ogonek" }, { 0x1b3, "lstroke" }, { 0x1b5, "lcaron" }, { 0x1b6, "sacute" }, { 0x1b7, "caron" }, { 0x1b9, "scaron" }, { 0x1ba, "scedilla" }, { 0x1bb, "tcaron" }, { 0x1bc, "zacute" }, { 0x1bd, "doubleacute" }, { 0x1be, "zcaron" }, { 0x1bf, "zabovedot" }, { 0x1c0, "Racute" }, { 0x1c3, "Abreve" }, { 0x1c5, "Lacute" }, { 0x1c6, "Cacute" }, { 0x1c8, "Ccaron" }, { 0x1ca, "Eogonek" }, { 0x1cc, "Ecaron" }, { 0x1cf, "Dcaron" }, { 0x1d0, "Dstroke" }, { 0x1d1, "Nacute" }, { 0x1d2, "Ncaron" }, { 0x1d5, "Odoubleacute" }, { 0x1d8, "Rcaron" }, { 0x1d9, "Uring" }, { 0x1db, "Udoubleacute" }, { 0x1de, "Tcedilla" }, { 0x1e0, "racute" }, { 0x1e3, "abreve" }, { 0x1e5, "lacute" }, { 0x1e6, "cacute" }, { 0x1e8, "ccaron" }, { 0x1ea, "eogonek" }, { 0x1ec, "ecaron" }, { 0x1ef, "dcaron" }, { 0x1f0, "dstroke" }, { 0x1f1, "nacute" }, { 0x1f2, "ncaron" }, { 0x1f5, "odoubleacute" }, { 0x1f8, "rcaron" }, { 0x1f9, "uring" }, { 0x1fb, "udoubleacute" }, { 0x1fe, "tcedilla" }, { 0x1ff, "abovedot" }, { 0x2a1, "Hstroke" }, { 0x2a6, "Hcircumflex" }, { 0x2a9, "Iabovedot" }, { 0x2ab, "Gbreve" }, { 0x2ac, "Jcircumflex" }, { 0x2b1, "hstroke" }, { 0x2b6, "hcircumflex" }, { 0x2b9, "idotless" }, { 0x2bb, "gbreve" }, { 0x2bc, "jcircumflex" }, { 0x2c5, "Cabovedot" }, { 0x2c6, "Ccircumflex" }, { 0x2d5, "Gabovedot" }, { 0x2d8, "Gcircumflex" }, { 0x2dd, "Ubreve" }, { 0x2de, "Scircumflex" }, { 0x2e5, "cabovedot" }, { 0x2e6, "ccircumflex" }, { 0x2f5, "gabovedot" }, { 0x2f8, "gcircumflex" }, { 0x2fd, "ubreve" }, { 0x2fe, "scircumflex" }, /* { 0x3a2, "kappa" }, */ /* "deprecated" */ { 0x3a2, "kra" }, { 0x3a3, "Rcedilla" }, { 0x3a5, "Itilde" }, { 0x3a6, "Lcedilla" }, { 0x3aa, "Emacron" }, { 0x3ab, "Gcedilla" }, { 0x3ac, "Tslash" }, { 0x3b3, "rcedilla" }, { 0x3b5, "itilde" }, { 0x3b6, "lcedilla" }, { 0x3ba, "emacron" }, { 0x3bb, "gcedilla" }, { 0x3bc, "tslash" }, { 0x3bd, "ENG" }, { 0x3bf, "eng" }, { 0x3c0, "Amacron" }, { 0x3c7, "Iogonek" }, { 0x3cc, "Eabovedot" }, { 0x3cf, "Imacron" }, { 0x3d1, "Ncedilla" }, { 0x3d2, "Omacron" }, { 0x3d3, "Kcedilla" }, { 0x3d9, "Uogonek" }, { 0x3dd, "Utilde" }, { 0x3de, "Umacron" }, { 0x3e0, "amacron" }, { 0x3e7, "iogonek" }, { 0x3ec, "eabovedot" }, { 0x3ef, "imacron" }, { 0x3f1, "ncedilla" }, { 0x3f2, "omacron" }, { 0x3f3, "kcedilla" }, { 0x3f9, "uogonek" }, { 0x3fd, "utilde" }, { 0x3fe, "umacron" }, { 0x47e, "overline" }, { 0x4a1, "kana_fullstop" }, { 0x4a2, "kana_openingbracket" }, { 0x4a3, "kana_closingbracket" }, { 0x4a4, "kana_comma" }, { 0x4a5, "kana_conjunctive" }, /* { 0x4a5, "kana_middledot" }, */ /* "deprecated" */ { 0x4a6, "kana_WO" }, { 0x4a7, "kana_a" }, { 0x4a8, "kana_i" }, { 0x4a9, "kana_u" }, { 0x4aa, "kana_e" }, { 0x4ab, "kana_o" }, { 0x4ac, "kana_ya" }, { 0x4ad, "kana_yu" }, { 0x4ae, "kana_yo" }, { 0x4af, "kana_tsu" }, /* { 0x4af, "kana_tu" }, */ /* "deprecated" */ { 0x4b0, "prolongedsound" }, { 0x4b1, "kana_A" }, { 0x4b2, "kana_I" }, { 0x4b3, "kana_U" }, { 0x4b4, "kana_E" }, { 0x4b5, "kana_O" }, { 0x4b6, "kana_KA" }, { 0x4b7, "kana_KI" }, { 0x4b8, "kana_KU" }, { 0x4b9, "kana_KE" }, { 0x4ba, "kana_KO" }, { 0x4bb, "kana_SA" }, { 0x4bc, "kana_SHI" }, { 0x4bd, "kana_SU" }, { 0x4be, "kana_SE" }, { 0x4bf, "kana_SO" }, { 0x4c0, "kana_TA" }, { 0x4c1, "kana_CHI" }, /* { 0x4c1, "kana_TI" }, */ /* "deprecated" */ { 0x4c2, "kana_TSU" }, /* { 0x4c2, "kana_TU" }, */ /* "deprecated" */ { 0x4c3, "kana_TE" }, { 0x4c4, "kana_TO" }, { 0x4c5, "kana_NA" }, { 0x4c6, "kana_NI" }, { 0x4c7, "kana_NU" }, { 0x4c8, "kana_NE" }, { 0x4c9, "kana_NO" }, { 0x4ca, "kana_HA" }, { 0x4cb, "kana_HI" }, { 0x4cc, "kana_FU" }, /* { 0x4cc, "kana_HU" }, */ /* "deprecated" */ { 0x4cd, "kana_HE" }, { 0x4ce, "kana_HO" }, { 0x4cf, "kana_MA" }, { 0x4d0, "kana_MI" }, { 0x4d1, "kana_MU" }, { 0x4d2, "kana_ME" }, { 0x4d3, "kana_MO" }, { 0x4d4, "kana_YA" }, { 0x4d5, "kana_YU" }, { 0x4d6, "kana_YO" }, { 0x4d7, "kana_RA" }, { 0x4d8, "kana_RI" }, { 0x4d9, "kana_RU" }, { 0x4da, "kana_RE" }, { 0x4db, "kana_RO" }, { 0x4dc, "kana_WA" }, { 0x4dd, "kana_N" }, { 0x4de, "voicedsound" }, { 0x4df, "semivoicedsound" }, { 0x5ac, "Arabic_comma" }, { 0x5bb, "Arabic_semicolon" }, { 0x5bf, "Arabic_question_mark" }, { 0x5c1, "Arabic_hamza" }, { 0x5c2, "Arabic_maddaonalef" }, { 0x5c3, "Arabic_hamzaonalef" }, { 0x5c4, "Arabic_hamzaonwaw" }, { 0x5c5, "Arabic_hamzaunderalef" }, { 0x5c6, "Arabic_hamzaonyeh" }, { 0x5c7, "Arabic_alef" }, { 0x5c8, "Arabic_beh" }, { 0x5c9, "Arabic_tehmarbuta" }, { 0x5ca, "Arabic_teh" }, { 0x5cb, "Arabic_theh" }, { 0x5cc, "Arabic_jeem" }, { 0x5cd, "Arabic_hah" }, { 0x5ce, "Arabic_khah" }, { 0x5cf, "Arabic_dal" }, { 0x5d0, "Arabic_thal" }, { 0x5d1, "Arabic_ra" }, { 0x5d2, "Arabic_zain" }, { 0x5d3, "Arabic_seen" }, { 0x5d4, "Arabic_sheen" }, { 0x5d5, "Arabic_sad" }, { 0x5d6, "Arabic_dad" }, { 0x5d7, "Arabic_tah" }, { 0x5d8, "Arabic_zah" }, { 0x5d9, "Arabic_ain" }, { 0x5da, "Arabic_ghain" }, { 0x5e0, "Arabic_tatweel" }, { 0x5e1, "Arabic_feh" }, { 0x5e2, "Arabic_qaf" }, { 0x5e3, "Arabic_kaf" }, { 0x5e4, "Arabic_lam" }, { 0x5e5, "Arabic_meem" }, { 0x5e6, "Arabic_noon" }, { 0x5e7, "Arabic_ha" }, /* { 0x5e7, "Arabic_heh" }, */ /* "deprecated" */ { 0x5e8, "Arabic_waw" }, { 0x5e9, "Arabic_alefmaksura" }, { 0x5ea, "Arabic_yeh" }, { 0x5eb, "Arabic_fathatan" }, { 0x5ec, "Arabic_dammatan" }, { 0x5ed, "Arabic_kasratan" }, { 0x5ee, "Arabic_fatha" }, { 0x5ef, "Arabic_damma" }, { 0x5f0, "Arabic_kasra" }, { 0x5f1, "Arabic_shadda" }, { 0x5f2, "Arabic_sukun" }, { 0x6a1, "Serbian_dje" }, { 0x6a2, "Macedonia_gje" }, { 0x6a3, "Cyrillic_io" }, { 0x6a4, "Ukrainian_ie" }, /* { 0x6a4, "Ukranian_je" }, */ /* "deprecated" */ { 0x6a5, "Macedonia_dse" }, { 0x6a6, "Ukrainian_i" }, /* { 0x6a6, "Ukranian_i" }, */ /* "deprecated" */ { 0x6a7, "Ukrainian_yi" }, /* { 0x6a7, "Ukranian_yi" }, */ /* "deprecated" */ { 0x6a8, "Cyrillic_je" }, /* { 0x6a8, "Serbian_je" }, */ /* "deprecated" */ { 0x6a9, "Cyrillic_lje" }, /* { 0x6a9, "Serbian_lje" }, */ /* 'deprecated" */ { 0x6aa, "Cyrillic_nje" }, /* { 0x6aa, "Serbian_nje" }, */ /* "deprecated" */ { 0x6ab, "Serbian_tshe" }, { 0x6ac, "Macedonia_kje" }, { 0x6ae, "Byelorussian_shortu" }, { 0x6af, "Cyrillic_dzhe" }, /* { 0x6af, "Serbian_dze" }, */ /* "deprecated" */ { 0x6b0, "numerosign" }, { 0x6b1, "Serbian_DJE" }, { 0x6b2, "Macedonia_GJE" }, { 0x6b3, "Cyrillic_IO" }, { 0x6b4, "Ukrainian_IE" }, /* { 0x6b4, "Ukranian_JE" }, */ /* "deprecated" */ { 0x6b5, "Macedonia_DSE" }, { 0x6b6, "Ukrainian_I" }, /* { 0x6b6, "Ukranian_I" }, */ /* "deprecated" */ { 0x6b7, "Ukrainian_YI" }, /* { 0x6b7, "Ukranian_YI" }, */ /* "deprecated" */ { 0x6b8, "Cyrillic_JE" }, /* { 0x6b8, "Serbian_JE" }, */ /* "deprecated" */ { 0x6b9, "Cyrillic_LJE" }, /* { 0x6b9, "Serbian_LJE" }, */ /* "deprecated" */ { 0x6ba, "Cyrillic_NJE" }, /* { 0x6ba, "Serbian_NJE" }, */ /* "deprecated" */ { 0x6bb, "Serbian_TSHE" }, { 0x6bc, "Macedonia_KJE" }, { 0x6be, "Byelorussian_SHORTU" }, { 0x6bf, "Cyrillic_DZHE" }, /* { 0x6bf, "Serbian_DZE" }, */ /* "deprecated" */ { 0x6c0, "Cyrillic_yu" }, { 0x6c1, "Cyrillic_a" }, { 0x6c2, "Cyrillic_be" }, { 0x6c3, "Cyrillic_tse" }, { 0x6c4, "Cyrillic_de" }, { 0x6c5, "Cyrillic_ie" }, { 0x6c6, "Cyrillic_ef" }, { 0x6c7, "Cyrillic_ghe" }, { 0x6c8, "Cyrillic_ha" }, { 0x6c9, "Cyrillic_i" }, { 0x6ca, "Cyrillic_shorti" }, { 0x6cb, "Cyrillic_ka" }, { 0x6cc, "Cyrillic_el" }, { 0x6cd, "Cyrillic_em" }, { 0x6ce, "Cyrillic_en" }, { 0x6cf, "Cyrillic_o" }, { 0x6d0, "Cyrillic_pe" }, { 0x6d1, "Cyrillic_ya" }, { 0x6d2, "Cyrillic_er" }, { 0x6d3, "Cyrillic_es" }, { 0x6d4, "Cyrillic_te" }, { 0x6d5, "Cyrillic_u" }, { 0x6d6, "Cyrillic_zhe" }, { 0x6d7, "Cyrillic_ve" }, { 0x6d8, "Cyrillic_softsign" }, { 0x6d9, "Cyrillic_yeru" }, { 0x6da, "Cyrillic_ze" }, { 0x6db, "Cyrillic_sha" }, { 0x6dc, "Cyrillic_e" }, { 0x6dd, "Cyrillic_shcha" }, { 0x6de, "Cyrillic_che" }, { 0x6df, "Cyrillic_hardsign" }, { 0x6e0, "Cyrillic_YU" }, { 0x6e1, "Cyrillic_A" }, { 0x6e2, "Cyrillic_BE" }, { 0x6e3, "Cyrillic_TSE" }, { 0x6e4, "Cyrillic_DE" }, { 0x6e5, "Cyrillic_IE" }, { 0x6e6, "Cyrillic_EF" }, { 0x6e7, "Cyrillic_GHE" }, { 0x6e8, "Cyrillic_HA" }, { 0x6e9, "Cyrillic_I" }, { 0x6ea, "Cyrillic_SHORTI" }, { 0x6eb, "Cyrillic_KA" }, { 0x6ec, "Cyrillic_EL" }, { 0x6ed, "Cyrillic_EM" }, { 0x6ee, "Cyrillic_EN" }, { 0x6ef, "Cyrillic_O" }, { 0x6f0, "Cyrillic_PE" }, { 0x6f1, "Cyrillic_YA" }, { 0x6f2, "Cyrillic_ER" }, { 0x6f3, "Cyrillic_ES" }, { 0x6f4, "Cyrillic_TE" }, { 0x6f5, "Cyrillic_U" }, { 0x6f6, "Cyrillic_ZHE" }, { 0x6f7, "Cyrillic_VE" }, { 0x6f8, "Cyrillic_SOFTSIGN" }, { 0x6f9, "Cyrillic_YERU" }, { 0x6fa, "Cyrillic_ZE" }, { 0x6fb, "Cyrillic_SHA" }, { 0x6fc, "Cyrillic_E" }, { 0x6fd, "Cyrillic_SHCHA" }, { 0x6fe, "Cyrillic_CHE" }, { 0x6ff, "Cyrillic_HARDSIGN" }, { 0x7a1, "Greek_ALPHAaccent" }, { 0x7a2, "Greek_EPSILONaccent" }, { 0x7a3, "Greek_ETAaccent" }, { 0x7a4, "Greek_IOTAaccent" }, { 0x7a5, "Greek_IOTAdiaeresis" }, { 0x7a7, "Greek_OMICRONaccent" }, { 0x7a8, "Greek_UPSILONaccent" }, { 0x7a9, "Greek_UPSILONdieresis" }, { 0x7ab, "Greek_OMEGAaccent" }, { 0x7ae, "Greek_accentdieresis" }, { 0x7af, "Greek_horizbar" }, { 0x7b1, "Greek_alphaaccent" }, { 0x7b2, "Greek_epsilonaccent" }, { 0x7b3, "Greek_etaaccent" }, { 0x7b4, "Greek_iotaaccent" }, { 0x7b5, "Greek_iotadieresis" }, { 0x7b6, "Greek_iotaaccentdieresis" }, { 0x7b7, "Greek_omicronaccent" }, { 0x7b8, "Greek_upsilonaccent" }, { 0x7b9, "Greek_upsilondieresis" }, { 0x7ba, "Greek_upsilonaccentdieresis" }, { 0x7bb, "Greek_omegaaccent" }, { 0x7c1, "Greek_ALPHA" }, { 0x7c2, "Greek_BETA" }, { 0x7c3, "Greek_GAMMA" }, { 0x7c4, "Greek_DELTA" }, { 0x7c5, "Greek_EPSILON" }, { 0x7c6, "Greek_ZETA" }, { 0x7c7, "Greek_ETA" }, { 0x7c8, "Greek_THETA" }, { 0x7c9, "Greek_IOTA" }, { 0x7ca, "Greek_KAPPA" }, { 0x7cb, "Greek_LAMBDA" }, /* { 0x7cb, "Greek_LAMDA" }, */ /* XXX: Dup */ { 0x7cc, "Greek_MU" }, { 0x7cd, "Greek_NU" }, { 0x7ce, "Greek_XI" }, { 0x7cf, "Greek_OMICRON" }, { 0x7d0, "Greek_PI" }, { 0x7d1, "Greek_RHO" }, { 0x7d2, "Greek_SIGMA" }, { 0x7d4, "Greek_TAU" }, { 0x7d5, "Greek_UPSILON" }, { 0x7d6, "Greek_PHI" }, { 0x7d7, "Greek_CHI" }, { 0x7d8, "Greek_PSI" }, { 0x7d9, "Greek_OMEGA" }, { 0x7e1, "Greek_alpha" }, { 0x7e2, "Greek_beta" }, { 0x7e3, "Greek_gamma" }, { 0x7e4, "Greek_delta" }, { 0x7e5, "Greek_epsilon" }, { 0x7e6, "Greek_zeta" }, { 0x7e7, "Greek_eta" }, { 0x7e8, "Greek_theta" }, { 0x7e9, "Greek_iota" }, { 0x7ea, "Greek_kappa" }, { 0x7eb, "Greek_lambda" }, /* { 0x7eb, "Greek_lamda" }, */ /* XXX: dup */ { 0x7ec, "Greek_mu" }, { 0x7ed, "Greek_nu" }, { 0x7ee, "Greek_xi" }, { 0x7ef, "Greek_omicron" }, { 0x7f0, "Greek_pi" }, { 0x7f1, "Greek_rho" }, { 0x7f2, "Greek_sigma" }, { 0x7f3, "Greek_finalsmallsigma" }, { 0x7f4, "Greek_tau" }, { 0x7f5, "Greek_upsilon" }, { 0x7f6, "Greek_phi" }, { 0x7f7, "Greek_chi" }, { 0x7f8, "Greek_psi" }, { 0x7f9, "Greek_omega" }, { 0x8a1, "leftradical" }, { 0x8a2, "topleftradical" }, { 0x8a3, "horizconnector" }, { 0x8a4, "topintegral" }, { 0x8a5, "botintegral" }, { 0x8a6, "vertconnector" }, { 0x8a7, "topleftsqbracket" }, { 0x8a8, "botleftsqbracket" }, { 0x8a9, "toprightsqbracket" }, { 0x8aa, "botrightsqbracket" }, { 0x8ab, "topleftparens" }, { 0x8ac, "botleftparens" }, { 0x8ad, "toprightparens" }, { 0x8ae, "botrightparens" }, { 0x8af, "leftmiddlecurlybrace" }, { 0x8b0, "rightmiddlecurlybrace" }, { 0x8b1, "topleftsummation" }, { 0x8b2, "botleftsummation" }, { 0x8b3, "topvertsummationconnector" }, { 0x8b4, "botvertsummationconnector" }, { 0x8b5, "toprightsummation" }, { 0x8b6, "botrightsummation" }, { 0x8b7, "rightmiddlesummation" }, { 0x8bc, "lessthanequal" }, { 0x8bd, "notequal" }, { 0x8be, "greaterthanequal" }, { 0x8bf, "integral" }, { 0x8c0, "therefore" }, { 0x8c1, "variation" }, { 0x8c2, "infinity" }, { 0x8c5, "nabla" }, { 0x8c8, "approximate" }, { 0x8c9, "similarequal" }, { 0x8cd, "ifonlyif" }, { 0x8ce, "implies" }, { 0x8cf, "identical" }, { 0x8d6, "radical" }, { 0x8da, "includedin" }, { 0x8db, "includes" }, { 0x8dc, "intersection" }, { 0x8dd, "union" }, { 0x8de, "logicaland" }, { 0x8df, "logicalor" }, { 0x8ef, "partialderivative" }, { 0x8f6, "function" }, { 0x8fb, "leftarrow" }, { 0x8fc, "uparrow" }, { 0x8fd, "rightarrow" }, { 0x8fe, "downarrow" }, { 0x9df, "blank" }, { 0x9e0, "soliddiamond" }, { 0x9e1, "checkerboard" }, { 0x9e2, "ht" }, { 0x9e3, "ff" }, { 0x9e4, "cr" }, { 0x9e5, "lf" }, { 0x9e8, "nl" }, { 0x9e9, "vt" }, { 0x9ea, "lowrightcorner" }, { 0x9eb, "uprightcorner" }, { 0x9ec, "upleftcorner" }, { 0x9ed, "lowleftcorner" }, { 0x9ee, "crossinglines" }, { 0x9ef, "horizlinescan1" }, { 0x9f0, "horizlinescan3" }, { 0x9f1, "horizlinescan5" }, { 0x9f2, "horizlinescan7" }, { 0x9f3, "horizlinescan9" }, { 0x9f4, "leftt" }, { 0x9f5, "rightt" }, { 0x9f6, "bott" }, { 0x9f7, "topt" }, { 0x9f8, "vertbar" }, { 0xaa1, "emspace" }, { 0xaa2, "enspace" }, { 0xaa3, "em3space" }, { 0xaa4, "em4space" }, { 0xaa5, "digitspace" }, { 0xaa6, "punctspace" }, { 0xaa7, "thinspace" }, { 0xaa8, "hairspace" }, { 0xaa9, "emdash" }, { 0xaaa, "endash" }, { 0xaac, "signifblank" }, { 0xaae, "ellipsis" }, { 0xaaf, "doubbaselinedot" }, { 0xab0, "onethird" }, { 0xab1, "twothirds" }, { 0xab2, "onefifth" }, { 0xab3, "twofifths" }, { 0xab4, "threefifths" }, { 0xab5, "fourfifths" }, { 0xab6, "onesixth" }, { 0xab7, "fivesixths" }, { 0xab8, "careof" }, { 0xabb, "figdash" }, { 0xabc, "leftanglebracket" }, { 0xabd, "decimalpoint" }, { 0xabe, "rightanglebracket" }, { 0xabf, "marker" }, { 0xac3, "oneeighth" }, { 0xac4, "threeeighths" }, { 0xac5, "fiveeighths" }, { 0xac6, "seveneighths" }, { 0xac9, "trademark" }, { 0xaca, "signaturemark" }, { 0xacb, "trademarkincircle" }, { 0xacc, "leftopentriangle" }, { 0xacd, "rightopentriangle" }, { 0xace, "emopencircle" }, { 0xacf, "emopenrectangle" }, { 0xad0, "leftsinglequotemark" }, { 0xad1, "rightsinglequotemark" }, { 0xad2, "leftdoublequotemark" }, { 0xad3, "rightdoublequotemark" }, { 0xad4, "prescription" }, { 0xad6, "minutes" }, { 0xad7, "seconds" }, { 0xad9, "latincross" }, { 0xada, "hexagram" }, { 0xadb, "filledrectbullet" }, { 0xadc, "filledlefttribullet" }, { 0xadd, "filledrighttribullet" }, { 0xade, "emfilledcircle" }, { 0xadf, "emfilledrect" }, { 0xae0, "enopencircbullet" }, { 0xae1, "enopensquarebullet" }, { 0xae2, "openrectbullet" }, { 0xae3, "opentribulletup" }, { 0xae4, "opentribulletdown" }, { 0xae5, "openstar" }, { 0xae6, "enfilledcircbullet" }, { 0xae7, "enfilledsqbullet" }, { 0xae8, "filledtribulletup" }, { 0xae9, "filledtribulletdown" }, { 0xaea, "leftpointer" }, { 0xaeb, "rightpointer" }, { 0xaec, "club" }, { 0xaed, "diamond" }, { 0xaee, "heart" }, { 0xaf0, "maltesecross" }, { 0xaf1, "dagger" }, { 0xaf2, "doubledagger" }, { 0xaf3, "checkmark" }, { 0xaf4, "ballotcross" }, { 0xaf5, "musicalsharp" }, { 0xaf6, "musicalflat" }, { 0xaf7, "malesymbol" }, { 0xaf8, "femalesymbol" }, { 0xaf9, "telephone" }, { 0xafa, "telephonerecorder" }, { 0xafb, "phonographcopyright" }, { 0xafc, "caret" }, { 0xafd, "singlelowquotemark" }, { 0xafe, "doublelowquotemark" }, { 0xaff, "cursor" }, { 0xba3, "leftcaret" }, { 0xba6, "rightcaret" }, { 0xba8, "downcaret" }, { 0xba9, "upcaret" }, { 0xbc0, "overbar" }, { 0xbc2, "downtack" }, { 0xbc3, "upshoe" }, { 0xbc4, "downstile" }, { 0xbc6, "underbar" }, { 0xbca, "jot" }, { 0xbcc, "quad" }, { 0xbce, "uptack" }, { 0xbcf, "circle" }, { 0xbd3, "upstile" }, { 0xbd6, "downshoe" }, { 0xbd8, "rightshoe" }, { 0xbda, "leftshoe" }, { 0xbdc, "lefttack" }, { 0xbfc, "righttack" }, { 0xcdf, "hebrew_doublelowline" }, { 0xce0, "hebrew_aleph" }, { 0xce1, "hebrew_bet" }, /* { 0xce1, "hebrew_beth" }, */ /* "deprecated" */ { 0xce2, "hebrew_gimel" }, /* { 0xce2, "hebrew_gimmel" }, */ /* "deprecated" */ { 0xce3, "hebrew_dalet" }, /* { 0xce3, "hebrew_daleth" }, */ /* "deprecated" */ { 0xce4, "hebrew_he" }, { 0xce5, "hebrew_waw" }, { 0xce6, "hebrew_zain" }, /* { 0xce6, "hebrew_zayin" }, */ /* "deprecated" */ { 0xce7, "hebrew_chet" }, /* { 0xce7, "hebrew_het" }, */ /* "deprecated" */ { 0xce8, "hebrew_tet" }, /* { 0xce8, "hebrew_teth" }, */ /* "deprecated" */ { 0xce9, "hebrew_yod" }, { 0xcea, "hebrew_finalkaph" }, { 0xceb, "hebrew_kaph" }, { 0xcec, "hebrew_lamed" }, { 0xced, "hebrew_finalmem" }, { 0xcee, "hebrew_mem" }, { 0xcef, "hebrew_finalnun" }, { 0xcf0, "hebrew_nun" }, { 0xcf1, "hebrew_samech" }, /* { 0xcf1, "hebrew_samekh" }, */ /* "deprecated" */ { 0xcf2, "hebrew_ayin" }, { 0xcf3, "hebrew_finalpe" }, { 0xcf4, "hebrew_pe" }, { 0xcf5, "hebrew_finalzade" }, /* { 0xcf5, "hebrew_finalzadi" }, */ /* "deprecated" */ { 0xcf6, "hebrew_zade" }, /* { 0xcf6, "hebrew_zadi" }, */ /* "deprecated" */ { 0xcf7, "hebrew_qoph" }, /* { 0xcf7, "hebrew_kuf" }, */ /* "deprecated" */ { 0xcf8, "hebrew_resh" }, { 0xcf9, "hebrew_shin" }, { 0xcfa, "hebrew_taw" }, /* { 0xcfa, "hebrew_taf" }, */ /* "deprecated" */ { 0xda1, "Thai_kokai" }, { 0xda2, "Thai_khokhai" }, { 0xda3, "Thai_khokhuat" }, { 0xda4, "Thai_khokhwai" }, { 0xda5, "Thai_khokhon" }, { 0xda6, "Thai_khorakhang" }, { 0xda7, "Thai_ngongu" }, { 0xda8, "Thai_chochan" }, { 0xda9, "Thai_choching" }, { 0xdaa, "Thai_chochang" }, { 0xdab, "Thai_soso" }, { 0xdac, "Thai_chochoe" }, { 0xdad, "Thai_yoying" }, { 0xdae, "Thai_dochada" }, { 0xdaf, "Thai_topatak" }, { 0xdb0, "Thai_thothan" }, { 0xdb1, "Thai_thonangmontho" }, { 0xdb2, "Thai_thophuthao" }, { 0xdb3, "Thai_nonen" }, { 0xdb4, "Thai_dodek" }, { 0xdb5, "Thai_totao" }, { 0xdb6, "Thai_thothung" }, { 0xdb7, "Thai_thothahan" }, { 0xdb8, "Thai_thothong" }, { 0xdb9, "Thai_nonu" }, { 0xdba, "Thai_bobaimai" }, { 0xdbb, "Thai_popla" }, { 0xdbc, "Thai_phophung" }, { 0xdbd, "Thai_fofa" }, { 0xdbe, "Thai_phophan" }, { 0xdbf, "Thai_fofan" }, { 0xdc0, "Thai_phosamphao" }, { 0xdc1, "Thai_moma" }, { 0xdc2, "Thai_yoyak" }, { 0xdc3, "Thai_rorua" }, { 0xdc4, "Thai_ru" }, { 0xdc5, "Thai_loling" }, { 0xdc6, "Thai_lu" }, { 0xdc7, "Thai_wowaen" }, { 0xdc8, "Thai_sosala" }, { 0xdc9, "Thai_sorusi" }, { 0xdca, "Thai_sosua" }, { 0xdcb, "Thai_hohip" }, { 0xdcc, "Thai_lochula" }, { 0xdcd, "Thai_oang" }, { 0xdce, "Thai_honokhuk" }, { 0xdcf, "Thai_paiyannoi" }, { 0xdd0, "Thai_saraa" }, { 0xdd1, "Thai_maihanakat" }, { 0xdd2, "Thai_saraaa" }, { 0xdd3, "Thai_saraam" }, { 0xdd4, "Thai_sarai" }, { 0xdd5, "Thai_saraii" }, { 0xdd6, "Thai_saraue" }, { 0xdd7, "Thai_sarauee" }, { 0xdd8, "Thai_sarau" }, { 0xdd9, "Thai_sarauu" }, { 0xdda, "Thai_phinthu" }, { 0xdde, "Thai_maihanakat_maitho" }, { 0xddf, "Thai_baht" }, { 0xde0, "Thai_sarae" }, { 0xde1, "Thai_saraae" }, { 0xde2, "Thai_sarao" }, { 0xde3, "Thai_saraaimaimuan" }, { 0xde4, "Thai_saraaimaimalai" }, { 0xde5, "Thai_lakkhangyao" }, { 0xde6, "Thai_maiyamok" }, { 0xde7, "Thai_maitaikhu" }, { 0xde8, "Thai_maiek" }, { 0xde9, "Thai_maitho" }, { 0xdea, "Thai_maitri" }, { 0xdeb, "Thai_maichattawa" }, { 0xdec, "Thai_thanthakhat" }, { 0xded, "Thai_nikhahit" }, { 0xdf0, "Thai_leksun" }, { 0xdf1, "Thai_leknung" }, { 0xdf2, "Thai_leksong" }, { 0xdf3, "Thai_leksam" }, { 0xdf4, "Thai_leksi" }, { 0xdf5, "Thai_lekha" }, { 0xdf6, "Thai_lekhok" }, { 0xdf7, "Thai_lekchet" }, { 0xdf8, "Thai_lekpaet" }, { 0xdf9, "Thai_lekkao" }, { 0xea1, "Hangul_Kiyeog" }, { 0xea2, "Hangul_SsangKiyeog" }, { 0xea3, "Hangul_KiyeogSios" }, { 0xea4, "Hangul_Nieun" }, { 0xea5, "Hangul_NieunJieuj" }, { 0xea6, "Hangul_NieunHieuh" }, { 0xea7, "Hangul_Dikeud" }, { 0xea8, "Hangul_SsangDikeud" }, { 0xea9, "Hangul_Rieul" }, { 0xeaa, "Hangul_RieulKiyeog" }, { 0xeab, "Hangul_RieulMieum" }, { 0xeac, "Hangul_RieulPieub" }, { 0xead, "Hangul_RieulSios" }, { 0xeae, "Hangul_RieulTieut" }, { 0xeaf, "Hangul_RieulPhieuf" }, { 0xeb0, "Hangul_RieulHieuh" }, { 0xeb1, "Hangul_Mieum" }, { 0xeb2, "Hangul_Pieub" }, { 0xeb3, "Hangul_SsangPieub" }, { 0xeb4, "Hangul_PieubSios" }, { 0xeb5, "Hangul_Sios" }, { 0xeb6, "Hangul_SsangSios" }, { 0xeb7, "Hangul_Ieung" }, { 0xeb8, "Hangul_Jieuj" }, { 0xeb9, "Hangul_SsangJieuj" }, { 0xeba, "Hangul_Cieuc" }, { 0xebb, "Hangul_Khieuq" }, { 0xebc, "Hangul_Tieut" }, { 0xebd, "Hangul_Phieuf" }, { 0xebe, "Hangul_Hieuh" }, { 0xebf, "Hangul_A" }, { 0xec0, "Hangul_AE" }, { 0xec1, "Hangul_YA" }, { 0xec2, "Hangul_YAE" }, { 0xec3, "Hangul_EO" }, { 0xec4, "Hangul_E" }, { 0xec5, "Hangul_YEO" }, { 0xec6, "Hangul_YE" }, { 0xec7, "Hangul_O" }, { 0xec8, "Hangul_WA" }, { 0xec9, "Hangul_WAE" }, { 0xeca, "Hangul_OE" }, { 0xecb, "Hangul_YO" }, { 0xecc, "Hangul_U" }, { 0xecd, "Hangul_WEO" }, { 0xece, "Hangul_WE" }, { 0xecf, "Hangul_WI" }, { 0xed0, "Hangul_YU" }, { 0xed1, "Hangul_EU" }, { 0xed2, "Hangul_YI" }, { 0xed3, "Hangul_I" }, { 0xed4, "Hangul_J_Kiyeog" }, { 0xed5, "Hangul_J_SsangKiyeog" }, { 0xed6, "Hangul_J_KiyeogSios" }, { 0xed7, "Hangul_J_Nieun" }, { 0xed8, "Hangul_J_NieunJieuj" }, { 0xed9, "Hangul_J_NieunHieuh" }, { 0xeda, "Hangul_J_Dikeud" }, { 0xedb, "Hangul_J_Rieul" }, { 0xedc, "Hangul_J_RieulKiyeog" }, { 0xedd, "Hangul_J_RieulMieum" }, { 0xede, "Hangul_J_RieulPieub" }, { 0xedf, "Hangul_J_RieulSios" }, { 0xee0, "Hangul_J_RieulTieut" }, { 0xee1, "Hangul_J_RieulPhieuf" }, { 0xee2, "Hangul_J_RieulHieuh" }, { 0xee3, "Hangul_J_Mieum" }, { 0xee4, "Hangul_J_Pieub" }, { 0xee5, "Hangul_J_PieubSios" }, { 0xee6, "Hangul_J_Sios" }, { 0xee7, "Hangul_J_SsangSios" }, { 0xee8, "Hangul_J_Ieung" }, { 0xee9, "Hangul_J_Jieuj" }, { 0xeea, "Hangul_J_Cieuc" }, { 0xeeb, "Hangul_J_Khieuq" }, { 0xeec, "Hangul_J_Tieut" }, { 0xeed, "Hangul_J_Phieuf" }, { 0xeee, "Hangul_J_Hieuh" }, { 0xeef, "Hangul_RieulYeorinHieuh" }, { 0xef0, "Hangul_SunkyeongeumMieum" }, { 0xef1, "Hangul_SunkyeongeumPieub" }, { 0xef2, "Hangul_PanSios" }, { 0xef3, "Hangul_KkogjiDalrinIeung" }, { 0xef4, "Hangul_SunkyeongeumPhieuf" }, { 0xef5, "Hangul_YeorinHieuh" }, { 0xef6, "Hangul_AraeA" }, { 0xef7, "Hangul_AraeAE" }, { 0xef8, "Hangul_J_PanSios" }, { 0xef9, "Hangul_J_KkogjiDalrinIeung" }, { 0xefa, "Hangul_J_YeorinHieuh" }, { 0xeff, "Korean_Won" }, { 0x13bc, "OE" }, { 0x13bd, "oe" }, { 0x13be, "Ydiaeresis" }, { 0x20a0, "EcuSign" }, { 0x20a1, "ColonSign" }, { 0x20a2, "CruzeiroSign" }, { 0x20a3, "FFrancSign" }, { 0x20a4, "LiraSign" }, { 0x20a5, "MillSign" }, { 0x20a6, "NairaSign" }, { 0x20a7, "PesetaSign" }, { 0x20a8, "RupeeSign" }, { 0x20a9, "WonSign" }, { 0x20aa, "NewSheqelSign" }, { 0x20ab, "DongSign" }, { 0x20ac, "EuroSign" }, { 0xFD01, "3270_Duplicate" }, { 0xFD02, "3270_FieldMark" }, { 0xFD03, "3270_Right2" }, { 0xFD04, "3270_Left2" }, { 0xFD05, "3270_BackTab" }, { 0xFD06, "3270_EraseEOF" }, { 0xFD07, "3270_EraseInput" }, { 0xFD08, "3270_Reset" }, { 0xFD09, "3270_Quit" }, { 0xFD0A, "3270_PA1" }, { 0xFD0B, "3270_PA2" }, { 0xFD0C, "3270_PA3" }, { 0xFD0D, "3270_Test" }, { 0xFD0E, "3270_Attn" }, { 0xFD0F, "3270_CursorBlink" }, { 0xFD10, "3270_AltCursor" }, { 0xFD11, "3270_KeyClick" }, { 0xFD12, "3270_Jump" }, { 0xFD13, "3270_Ident" }, { 0xFD14, "3270_Rule" }, { 0xFD15, "3270_Copy" }, { 0xFD16, "3270_Play" }, { 0xFD17, "3270_Setup" }, { 0xFD18, "3270_Record" }, { 0xFD19, "3270_ChangeScreen" }, { 0xFD1A, "3270_DeleteWord" }, { 0xFD1B, "3270_ExSelect" }, { 0xFD1C, "3270_CursorSelect" }, { 0xFD1D, "3270_PrintScreen" }, { 0xFD1E, "3270_Enter" }, { 0xFE01, "ISO_Lock" }, { 0xFE02, "ISO_Level2_Latch" }, { 0xFE03, "ISO_Level3_Shift" }, { 0xFE04, "ISO_Level3_Latch" }, { 0xFE05, "ISO_Level3_Lock" }, { 0xFE06, "ISO_Group_Latch" }, { 0xFE07, "ISO_Group_Lock" }, { 0xFE08, "ISO_Next_Group" }, { 0xFE09, "ISO_Next_Group_Lock" }, { 0xFE0A, "ISO_Prev_Group" }, { 0xFE0B, "ISO_Prev_Group_Lock" }, { 0xFE0C, "ISO_First_Group" }, { 0xFE0D, "ISO_First_Group_Lock" }, { 0xFE0E, "ISO_Last_Group" }, { 0xFE0F, "ISO_Last_Group_Lock" }, { 0xFE20, "ISO_Left_Tab" }, { 0xFE21, "ISO_Move_Line_Up" }, { 0xFE22, "ISO_Move_Line_Down" }, { 0xFE23, "ISO_Partial_Line_Up" }, { 0xFE24, "ISO_Partial_Line_Down" }, { 0xFE25, "ISO_Partial_Space_Left" }, { 0xFE26, "ISO_Partial_Space_Right" }, { 0xFE27, "ISO_Set_Margin_Left" }, { 0xFE28, "ISO_Set_Margin_Right" }, { 0xFE29, "ISO_Release_Margin_Left" }, { 0xFE2A, "ISO_Release_Margin_Right" }, { 0xFE2B, "ISO_Release_Both_Margins" }, { 0xFE2C, "ISO_Fast_Cursor_Left" }, { 0xFE2D, "ISO_Fast_Cursor_Right" }, { 0xFE2E, "ISO_Fast_Cursor_Up" }, { 0xFE2F, "ISO_Fast_Cursor_Down" }, { 0xFE30, "ISO_Continuous_Underline" }, { 0xFE31, "ISO_Discontinuous_Underline" }, { 0xFE32, "ISO_Emphasize" }, { 0xFE33, "ISO_Center_Object" }, { 0xFE34, "ISO_Enter" }, { 0xFE50, "dead_grave" }, { 0xFE51, "dead_acute" }, { 0xFE52, "dead_circumflex" }, { 0xFE53, "dead_tilde" }, { 0xFE54, "dead_macron" }, { 0xFE55, "dead_breve" }, { 0xFE56, "dead_abovedot" }, { 0xFE57, "dead_diaeresis" }, { 0xFE58, "dead_abovering" }, { 0xFE59, "dead_doubleacute" }, { 0xFE5A, "dead_caron" }, { 0xFE5B, "dead_cedilla" }, { 0xFE5C, "dead_ogonek" }, { 0xFE5D, "dead_iota" }, { 0xFE5E, "dead_voiced_sound" }, { 0xFE5F, "dead_semivoiced_sound" }, { 0xFE60, "dead_belowdot" }, { 0xFE70, "AccessX_Enable" }, { 0xFE71, "AccessX_Feedback_Enable" }, { 0xFE72, "RepeatKeys_Enable" }, { 0xFE73, "SlowKeys_Enable" }, { 0xFE74, "BounceKeys_Enable" }, { 0xFE75, "StickyKeys_Enable" }, { 0xFE76, "MouseKeys_Enable" }, { 0xFE77, "MouseKeys_Accel_Enable" }, { 0xFE78, "Overlay1_Enable" }, { 0xFE79, "Overlay2_Enable" }, { 0xFE7A, "AudibleBell_Enable" }, { 0xFED0, "First_Virtual_Screen" }, { 0xFED1, "Prev_Virtual_Screen" }, { 0xFED2, "Next_Virtual_Screen" }, { 0xFED4, "Last_Virtual_Screen" }, { 0xFED5, "Terminate_Server" }, { 0xFEE0, "Pointer_Left" }, { 0xFEE1, "Pointer_Right" }, { 0xFEE2, "Pointer_Up" }, { 0xFEE3, "Pointer_Down" }, { 0xFEE4, "Pointer_UpLeft" }, { 0xFEE5, "Pointer_UpRight" }, { 0xFEE6, "Pointer_DownLeft" }, { 0xFEE7, "Pointer_DownRight" }, { 0xFEE8, "Pointer_Button_Dflt" }, { 0xFEE9, "Pointer_Button1" }, { 0xFEEA, "Pointer_Button2" }, { 0xFEEB, "Pointer_Button3" }, { 0xFEEC, "Pointer_Button4" }, { 0xFEED, "Pointer_Button5" }, { 0xFEEE, "Pointer_DblClick_Dflt" }, { 0xFEEF, "Pointer_DblClick1" }, { 0xFEF0, "Pointer_DblClick2" }, { 0xFEF1, "Pointer_DblClick3" }, { 0xFEF2, "Pointer_DblClick4" }, { 0xFEF3, "Pointer_DblClick5" }, { 0xFEF4, "Pointer_Drag_Dflt" }, { 0xFEF5, "Pointer_Drag1" }, { 0xFEF6, "Pointer_Drag2" }, { 0xFEF7, "Pointer_Drag3" }, { 0xFEF8, "Pointer_Drag4" }, { 0xFEF9, "Pointer_EnableKeys" }, { 0xFEFA, "Pointer_Accelerate" }, { 0xFEFB, "Pointer_DfltBtnNext" }, { 0xFEFC, "Pointer_DfltBtnPrev" }, { 0xFEFD, "Pointer_Drag5" }, { 0xFF08, "BackSpace" }, { 0xFF09, "Tab" }, { 0xFF0A, "Linefeed" }, { 0xFF0B, "Clear" }, { 0xFF0D, "Return" }, { 0xFF13, "Pause" }, { 0xFF14, "Scroll_Lock" }, { 0xFF15, "Sys_Req" }, { 0xFF1B, "Escape" }, { 0xFF20, "Multi_key" }, { 0xFF21, "Kanji" }, { 0xFF22, "Muhenkan" }, /** { 0xFF23, "Henkan" },**/ { 0xFF23, "Henkan_Mode" }, { 0xFF24, "Romaji" }, { 0xFF25, "Hiragana" }, { 0xFF26, "Katakana" }, { 0xFF27, "Hiragana_Katakana" }, { 0xFF28, "Zenkaku" }, { 0xFF29, "Hankaku" }, { 0xFF2A, "Zenkaku_Hankaku" }, { 0xFF2B, "Touroku" }, { 0xFF2C, "Massyo" }, { 0xFF2D, "Kana_Lock" }, { 0xFF2E, "Kana_Shift" }, { 0xFF2F, "Eisu_Shift" }, { 0xFF30, "Eisu_toggle" }, { 0xff31, "Hangul" }, { 0xff32, "Hangul_Start" }, { 0xff33, "Hangul_End" }, { 0xff34, "Hangul_Hanja" }, { 0xff35, "Hangul_Jamo" }, { 0xff36, "Hangul_Romaja" }, /* { 0xFF37, "Codeinput" }, */ /* Dup */ { 0xff37, "Hangul_Codeinput" }, /* { 0xFF37, "Kanji_Bangou" }, */ /* Dup */ { 0xff38, "Hangul_Jeonja" }, { 0xff39, "Hangul_Banja" }, { 0xff3a, "Hangul_PreHanja" }, { 0xff3b, "Hangul_PostHanja" }, { 0xff3c, "Hangul_SingleCandidate" }, /* { 0xFF3C, "SingleCandidate" }, */ /* Dup */ { 0xff3d, "Hangul_MultipleCandidate" }, /* { 0xFF3D, "MultipleCandidate" }, */ /* Dup */ /* { 0xFF3D, "Zen_Koho" }, */ /* Dup */ { 0xff3e, "Hangul_PreviousCandidate" }, /* { 0xFF3E, "Mae_Koho" }, */ /* Dup */ /* { 0xFF3E, "PreviousCandidate" }, */ /* Dup */ { 0xff3f, "Hangul_Special" }, { 0xFF50, "Home" }, { 0xFF51, "Left" }, { 0xFF52, "Up" }, { 0xFF53, "Right" }, { 0xFF54, "Down" }, { 0xFF55, "Page_Up" }, /* { 0xFF55, "Prior" }, */ /* Dup */ { 0xFF56, "Page_Down" }, /* { 0xFF56, "Next" }, */ /* Dup */ { 0xFF57, "End" }, { 0xFF58, "Begin" }, { 0xFF60, "Select" }, { 0xFF61, "Print" }, { 0xFF62, "Execute" }, { 0xFF63, "Insert" }, { 0xFF65, "Undo" }, { 0xFF66, "Redo" }, { 0xFF67, "Menu" }, { 0xFF68, "Find" }, { 0xFF69, "Cancel" }, { 0xFF6A, "Help" }, { 0xFF6B, "Break" }, { 0xFF7E, "Mode_switch" }, #if 0 { 0xFF7E, "Arabic_switch" }, { 0xFF7E, "Greek_switch" }, { 0xFF7E, "Hangul_switch" }, { 0xFF7E, "Hebrew_switch" }, { 0xFF7E, "ISO_Group_Shift" }, { 0xFF7E, "kana_switch" }, { 0xFF7E, "script_switch" }, #endif { 0xFF7F, "Num_Lock" }, { 0xFF80, "KP_Space" }, { 0xFF89, "KP_Tab" }, { 0xFF8D, "KP_Enter" }, { 0xFF91, "KP_F1" }, { 0xFF92, "KP_F2" }, { 0xFF93, "KP_F3" }, { 0xFF94, "KP_F4" }, { 0xFF95, "KP_Home" }, { 0xFF96, "KP_Left" }, { 0xFF97, "KP_Up" }, { 0xFF98, "KP_Right" }, { 0xFF99, "KP_Down" }, { 0xFF9A, "KP_Page_Up" }, /* { 0xFF9A, "KP_Prior" }, */ /* Dup */ { 0xFF9B, "KP_Page_Down" }, /* { 0xFF9B, "KP_Next" }, */ /* Dup */ { 0xFF9C, "KP_End" }, { 0xFF9D, "KP_Begin" }, { 0xFF9E, "KP_Insert" }, { 0xFF9F, "KP_Delete" }, { 0xFFAA, "KP_Multiply" }, { 0xFFAB, "KP_Add" }, { 0xFFAC, "KP_Separator" }, { 0xFFAD, "KP_Subtract" }, { 0xFFAE, "KP_Decimal" }, { 0xFFAF, "KP_Divide" }, { 0xFFB0, "KP_0" }, { 0xFFB1, "KP_1" }, { 0xFFB2, "KP_2" }, { 0xFFB3, "KP_3" }, { 0xFFB4, "KP_4" }, { 0xFFB5, "KP_5" }, { 0xFFB6, "KP_6" }, { 0xFFB7, "KP_7" }, { 0xFFB8, "KP_8" }, { 0xFFB9, "KP_9" }, { 0xFFBD, "KP_Equal" }, { 0xFFBE, "F1" }, { 0xFFBF, "F2" }, { 0xFFC0, "F3" }, { 0xFFC1, "F4" }, { 0xFFC2, "F5" }, { 0xFFC3, "F6" }, { 0xFFC4, "F7" }, { 0xFFC5, "F8" }, { 0xFFC6, "F9" }, { 0xFFC7, "F10" }, { 0xFFC8, "F11" }, /* { 0xFFC8, "L1" }, */ /* Dup */ { 0xFFC9, "F12" }, /* { 0xFFC9, "L2" }, */ /* Dup */ { 0xFFCA, "F13" }, /* { 0xFFCA, "L3" }, */ /* Dup */ { 0xFFCB, "F14" }, /* { 0xFFCB, "L4" }, */ /* Dup */ { 0xFFCC, "F15" }, /* { 0xFFCC, "L5" }, */ /* Dup */ { 0xFFCD, "F16" }, /* { 0xFFCD, "L6" }, */ /* Dup */ { 0xFFCE, "F17" }, /* { 0xFFCE, "L7" }, */ /* Dup */ { 0xFFCF, "F18" }, /* { 0xFFCF, "L8" }, */ /* Dup */ { 0xFFD0, "F19" }, /* { 0xFFD0, "L9" }, */ /* Dup */ { 0xFFD1, "F20" }, /* { 0xFFD1, "L10" }, */ /* Dup */ { 0xFFD2, "F21" }, /* { 0xFFD2, "R1" }, */ /* Dup */ { 0xFFD3, "F22" }, /* { 0xFFD3, "R2" }, */ /* Dup */ { 0xFFD4, "F23" }, /* { 0xFFD4, "R3" }, */ /* Dup */ { 0xFFD5, "F24" }, /* { 0xFFD5, "R4" }, */ /* Dup */ { 0xFFD6, "F25" }, /* { 0xFFD6, "R5" }, */ /* Dup */ { 0xFFD7, "F26" }, /* { 0xFFD7, "R6" }, */ /* Dup */ { 0xFFD8, "F27" }, /* { 0xFFD8, "R7" }, */ /* Dup */ { 0xFFD9, "F28" }, /* { 0xFFD9, "R8" }, */ /* Dup */ { 0xFFDA, "F29" }, /* { 0xFFDA, "R9" }, */ /* Dup */ { 0xFFDB, "F30" }, /* { 0xFFDB, "R10" }, */ /* Dup */ { 0xFFDC, "F31" }, /* { 0xFFDC, "R11" }, */ /* Dup */ { 0xFFDD, "F32" }, /* { 0xFFDD, "R12" }, */ /* Dup */ { 0xFFDE, "F33" }, /* { 0xFFDE, "R13" }, */ /* Dup */ { 0xFFDF, "F34" }, /* { 0xFFDF, "R14" }, */ /* Dup */ { 0xFFE0, "F35" }, /* { 0xFFE0, "R15" }, */ /* Dup */ { 0xFFE1, "Shift_L" }, { 0xFFE2, "Shift_R" }, { 0xFFE3, "Control_L" }, { 0xFFE4, "Control_R" }, { 0xFFE5, "Caps_Lock" }, { 0xFFE6, "Shift_Lock" }, { 0xFFE7, "Meta_L" }, { 0xFFE8, "Meta_R" }, { 0xFFE9, "Alt_L" }, { 0xFFEA, "Alt_R" }, { 0xFFEB, "Super_L" }, { 0xFFEC, "Super_R" }, { 0xFFED, "Hyper_L" }, { 0xFFEE, "Hyper_R" }, { 0xFFFF, "Delete" }, { 0xFFFFFF, "VoidSymbol" }, { 0, NULL } }; value_string_ext x11_keysym_vals_source_ext = VALUE_STRING_EXT_INIT(x11_keysym_vals_source); /* * Editor modelines * * Local Variables: * c-basic-offset: 6 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=6 tabstop=8 expandtab: * :indentSize=6:tabSize=8:noTabs=true: */
C/C++
wireshark/epan/dissectors/x11-register-info.h
/* Do not modify this file. */ /* It was automatically generated by ../../tools/process-x11-fields.pl. */ /* * Copyright 2000, Christophe Tronche <ch.tronche[AT]computer.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald[AT]wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ { &hf_x11_above_sibling, { "above-sibling", "x11.above-sibling", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_acceleration_denominator, { "acceleration-denominator", "x11.acceleration-denominator", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_acceleration_numerator, { "acceleration-numerator", "x11.acceleration-numerator", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_access_mode, { "access-mode", "x11.access-mode", FT_UINT8, BASE_DEC, VALS(access_mode_vals), 0, NULL, HFILL }}, { &hf_x11_address, { "address", "x11.address", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_ip_address, { "ip-address", "x11.ip-address", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_address_length, { "address-length", "x11.address-length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_alloc, { "alloc", "x11.alloc", FT_UINT8, BASE_DEC, VALS(alloc_vals), 0, NULL, HFILL }}, { &hf_x11_allow_events_mode, { "allow-events-mode", "x11.allow-events-mode", FT_UINT8, BASE_DEC, VALS(allow_events_mode_vals), 0, NULL, HFILL }}, { &hf_x11_allow_exposures, { "allow-exposures", "x11.allow-exposures", FT_UINT8, BASE_DEC, VALS(yes_no_default_vals), 0, NULL, HFILL }}, { &hf_x11_arcs, { "arcs", "x11.arcs", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_arc, { "arc", "x11.arc", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_arc_x, { "x", "x11.arc.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_arc_y, { "y", "x11.arc.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_arc_width, { "width", "x11.arc.width", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_arc_height, { "height", "x11.arc.height", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_arc_angle1, { "angle1", "x11.arc.angle1", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_arc_angle2, { "angle2", "x11.arc.angle2", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_arc_mode, { "arc-mode", "x11.arc-mode", FT_UINT8, BASE_DEC, VALS(arc_mode_vals), 0, "Tell us if we're drawing an arc or a pie", HFILL }}, { &hf_x11_atom, { "atom", "x11.atom", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_authorization_protocol_name_length, { "authorization-protocol-name-length", "x11.authorization-protocol-name-length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_authorization_protocol_name, { "authorization-protocol-name", "x11.authorization-protocol-name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_authorization_protocol_data_length, { "authorization-protocol-data-length", "x11.authorization-protocol-data-length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_authorization_protocol_data, { "authorization-protocol-data", "x11.authorization-protocol-data", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_auto_repeat_mode, { "auto-repeat-mode", "x11.auto-repeat-mode", FT_UINT8, BASE_DEC, VALS(auto_repeat_mode_vals), 0, NULL, HFILL }}, { &hf_x11_bitmap_format_bit_order, { "bitmap-format-bit-order", "x11.bitmap-format-bit-order", FT_UINT8, BASE_HEX, VALS(image_byte_order_vals), 0, NULL, HFILL }}, { &hf_x11_bitmap_format_scanline_pad, { "bitmap-format-scanline-pad", "x11.bitmap-format-scanline-pad", FT_UINT8, BASE_DEC, NULL, 0, "bitmap format scanline-pad", HFILL }}, { &hf_x11_bitmap_format_scanline_unit, { "bitmap-format-scanline-unit", "x11.bitmap-format-scanline-unit", FT_UINT8, BASE_DEC, NULL, 0, "bitmap format scanline unit", HFILL }}, { &hf_x11_bytes_after, { "bytes-after", "x11.bytes-after", FT_UINT32, BASE_DEC, NULL, 0, "bytes after", HFILL }}, { &hf_x11_back_blue, { "back-blue", "x11.back-blue", FT_UINT16, BASE_DEC, NULL, 0, "Background blue value for a cursor", HFILL }}, { &hf_x11_back_green, { "back-green", "x11.back-green", FT_UINT16, BASE_DEC, NULL, 0, "Background green value for a cursor", HFILL }}, { &hf_x11_back_red, { "back-red", "x11.back-red", FT_UINT16, BASE_DEC, NULL, 0, "Background red value for a cursor", HFILL }}, { &hf_x11_background, { "background", "x11.background", FT_UINT32, BASE_HEX, NULL, 0, "Background color", HFILL }}, { &hf_x11_background_pixel, { "background-pixel", "x11.background-pixel", FT_UINT32, BASE_HEX, NULL, 0, "Background color for a window", HFILL }}, { &hf_x11_background_pixmap, { "background-pixmap", "x11.background-pixmap", FT_UINT32, BASE_HEX, VALS(background_pixmap_vals), 0, "Background pixmap for a window", HFILL }}, { &hf_x11_backing_pixel, { "backing-pixel", "x11.backing-pixel", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_backing_planes, { "backing-planes", "x11.backing-planes", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_backing_store, { "backing-store", "x11.backing-store", FT_UINT8, BASE_DEC, VALS(backing_store_vals), 0, NULL, HFILL }}, { &hf_x11_bell_duration, { "bell-duration", "x11.bell-duration", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_bell_percent, { "bell-percent", "x11.bell-percent", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_bell_pitch, { "bell-pitch", "x11.bell-pitch", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_bit_gravity, { "bit-gravity", "x11.bit-gravity", FT_UINT8, BASE_DEC, VALS(bit_gravity_vals), 0, NULL, HFILL }}, { &hf_x11_bit_plane, { "bit-plane", "x11.bit-plane", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_blue, { "blue", "x11.blue", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_blues, { "blues", "x11.blues", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_border_pixel, { "border-pixel", "x11.border-pixel", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_border_pixmap, { "border-pixmap", "x11.border-pixmap", FT_UINT32, BASE_HEX, VALS(border_pixmap_vals), 0, NULL, HFILL }}, { &hf_x11_border_width, { "border-width", "x11.border-width", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_button, { "button", "x11.button", FT_UINT8, BASE_DEC, VALS(button_vals), 0, NULL, HFILL }}, { &hf_x11_byte_order, { "byte-order", "x11.byte-order", FT_CHAR, BASE_HEX, VALS(byte_order_vals), 0, NULL, HFILL }}, { &hf_x11_childwindow, { "childwindow", "x11.childwindow", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_cap_style, { "cap-style", "x11.cap-style", FT_UINT8, BASE_DEC, VALS(cap_style_vals), 0, NULL, HFILL }}, { &hf_x11_change_host_mode, { "change-host-mode", "x11.change-host-mode", FT_UINT8, BASE_DEC, VALS(insert_delete_vals), 0, NULL, HFILL }}, { &hf_x11_cid, { "cid", "x11.cid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_class, { "class", "x11.class", FT_UINT8, BASE_DEC, VALS(class_vals), 0, NULL, HFILL }}, { &hf_x11_clip_mask, { "clip-mask", "x11.clip-mask", FT_UINT32, BASE_HEX, VALS(zero_is_none_vals), 0, NULL, HFILL }}, { &hf_x11_clip_x_origin, { "clip-x-origin", "x11.clip-x-origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_clip_y_origin, { "clip-y-origin", "x11.clip-y-origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_close_down_mode, { "close-down-mode", "x11.close-down-mode", FT_UINT8, BASE_DEC, VALS(close_down_mode_vals), 0, NULL, HFILL }}, { &hf_x11_cmap, { "cmap", "x11.cmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_colormap, { "colormap", "x11.colormap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_colormap_state, { "colormap-state", "x11.colormap-state", FT_UINT8, BASE_DEC, VALS(colormap_state_vals), 0, NULL, HFILL }}, { &hf_x11_color_items, { "color-items", "x11.color-items", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_coloritem, { "coloritem", "x11.coloritem", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_coloritem_pixel, { "pixel", "x11.coloritem.pixel", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_coloritem_red, { "red", "x11.coloritem.red", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_coloritem_green, { "green", "x11.coloritem.green", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_coloritem_blue, { "blue", "x11.coloritem.blue", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_coloritem_flags, { "flags", "x11.coloritem.flags", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_coloritem_flags_do_red, { "do-red", "x11.coloritem.flags.do-red", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL }}, { &hf_x11_coloritem_flags_do_green, { "do-green", "x11.coloritem.flags.do-green", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_x11_coloritem_flags_do_blue, { "do-blue", "x11.coloritem.flags.do-blue", FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL }}, { &hf_x11_coloritem_flags_unused, { "unused", "x11.coloritem.flags.unused", FT_BOOLEAN, 8, NULL, 0xf8, NULL, HFILL }}, { &hf_x11_coloritem_unused, { "unused", "x11.coloritem.unused", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_colors, { "colors", "x11.colors", FT_UINT16, BASE_DEC, NULL, 0, "The number of color cells to allocate", HFILL }}, { &hf_x11_configure_window_mask, { "configure-window-mask", "x11.configure-window-mask", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_configure_window_mask_x, { "x", "x11.configure-window-mask.x", FT_BOOLEAN, 16, NULL, 0x0001, NULL, HFILL }}, { &hf_x11_configure_window_mask_y, { "y", "x11.configure-window-mask.y", FT_BOOLEAN, 16, NULL, 0x0002, NULL, HFILL }}, { &hf_x11_configure_window_mask_width, { "width", "x11.configure-window-mask.width", FT_BOOLEAN, 16, NULL, 0x0004, NULL, HFILL }}, { &hf_x11_configure_window_mask_height, { "height", "x11.configure-window-mask.height", FT_BOOLEAN, 16, NULL, 0x0008, NULL, HFILL }}, { &hf_x11_configure_window_mask_border_width, { "border-width", "x11.configure-window-mask.border-width", FT_BOOLEAN, 16, NULL, 0x0010, NULL, HFILL }}, { &hf_x11_configure_window_mask_sibling, { "sibling", "x11.configure-window-mask.sibling", FT_BOOLEAN, 16, NULL, 0x0020, NULL, HFILL }}, { &hf_x11_configure_window_mask_stack_mode, { "stack-mode", "x11.configure-window-mask.stack-mode", FT_BOOLEAN, 16, NULL, 0x0040, NULL, HFILL }}, { &hf_x11_confine_to, { "confine-to", "x11.confine-to", FT_UINT32, BASE_HEX, VALS(zero_is_none_vals), 0, NULL, HFILL }}, { &hf_x11_contiguous, { "contiguous", "x11.contiguous", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_coordinate_mode, { "coordinate-mode", "x11.coordinate-mode", FT_UINT8, BASE_DEC, VALS(coordinate_mode_vals), 0, NULL, HFILL }}, { &hf_x11_count, { "count", "x11.count", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_cursor, { "cursor", "x11.cursor", FT_UINT32, BASE_HEX, VALS(zero_is_none_vals), 0, NULL, HFILL }}, { &hf_x11_dash_offset, { "dash-offset", "x11.dash-offset", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dashes, { "dashes", "x11.dashes", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dashes_length, { "dashes-length", "x11.dashes-length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_do_acceleration, { "do-acceleration", "x11.do-acceleration", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_do_threshold, { "do-threshold", "x11.do-threshold", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_detail, { "detail", "x11.detail", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask, { "do-not-propagate-mask", "x11.do-not-propagate-mask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_KeyPress, { "KeyPress", "x11.do-not-propagate-mask.KeyPress", FT_BOOLEAN, 32, NULL, 0x00000001, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_KeyRelease, { "KeyRelease", "x11.do-not-propagate-mask.KeyRelease", FT_BOOLEAN, 32, NULL, 0x00000002, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_ButtonPress, { "ButtonPress", "x11.do-not-propagate-mask.ButtonPress", FT_BOOLEAN, 32, NULL, 0x00000004, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_ButtonRelease, { "ButtonRelease", "x11.do-not-propagate-mask.ButtonRelease", FT_BOOLEAN, 32, NULL, 0x00000008, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_PointerMotion, { "PointerMotion", "x11.do-not-propagate-mask.PointerMotion", FT_BOOLEAN, 32, NULL, 0x00000040, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_Button1Motion, { "Button1Motion", "x11.do-not-propagate-mask.Button1Motion", FT_BOOLEAN, 32, NULL, 0x00000100, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_Button2Motion, { "Button2Motion", "x11.do-not-propagate-mask.Button2Motion", FT_BOOLEAN, 32, NULL, 0x00000200, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_Button3Motion, { "Button3Motion", "x11.do-not-propagate-mask.Button3Motion", FT_BOOLEAN, 32, NULL, 0x00000400, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_Button4Motion, { "Button4Motion", "x11.do-not-propagate-mask.Button4Motion", FT_BOOLEAN, 32, NULL, 0x00000800, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_Button5Motion, { "Button5Motion", "x11.do-not-propagate-mask.Button5Motion", FT_BOOLEAN, 32, NULL, 0x00001000, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_ButtonMotion, { "ButtonMotion", "x11.do-not-propagate-mask.ButtonMotion", FT_BOOLEAN, 32, NULL, 0x00002000, NULL, HFILL }}, { &hf_x11_do_not_propagate_mask_erroneous_bits, { "erroneous-bits", "x11.do-not-propagate-mask.erroneous-bits", FT_BOOLEAN, 32, NULL, 0xffffc0b0, NULL, HFILL }}, { &hf_x11_event_sequencenumber, { "event-sequencenumber", "x11.event-sequencenumber", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_error, { "error", "x11.error", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_error_badvalue, { "error-badvalue", "x11.error-badvalue", FT_UINT32, BASE_DEC, NULL, 0, "error badvalue", HFILL }}, { &hf_x11_error_badresourceid, { "error-badresourceid", "x11.error-badresourceid", FT_UINT32, BASE_HEX, NULL, 0, "error_badresourceid", HFILL }}, { &hf_x11_error_sequencenumber, { "error_sequencenumber", "x11.error_sequencenumber", FT_UINT16, BASE_DEC, NULL, 0, "error sequencenumber", HFILL }}, { &hf_x11_errorcode, { "errorcode", "x11.errorcode", FT_UINT8, BASE_DEC, VALS(errorcode_vals), 0, NULL, HFILL }}, { &hf_x11_event_x, { "event-x", "x11.event-x", FT_UINT16, BASE_DEC, NULL, 0, "event x", HFILL }}, { &hf_x11_event_y, { "event-y", "x11.event-y", FT_UINT16, BASE_DEC, NULL, 0, "event y", HFILL }}, { &hf_x11_eventbutton, { "eventbutton", "x11.eventbutton", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_eventcode, { "eventcode", "x11.eventcode", FT_UINT8, BASE_DEC, VALS(eventcode_vals), 0, NULL, HFILL }}, { &hf_x11_eventwindow, { "eventwindow", "x11.eventwindow", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_extension, { "extension", "x11.extension", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_first_event, { "first-event", "x11.first-event", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_first_error, { "first-error", "x11.first-error", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_gc_dashes, { "gc-dashes", "x11.gc-dashes", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_gc_value_mask, { "gc-value-mask", "x11.gc-value-mask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_gc_value_mask_function, { "function", "x11.gc-value-mask.function", FT_BOOLEAN, 32, NULL, 0x00000001, NULL, HFILL }}, { &hf_x11_gc_value_mask_plane_mask, { "plane-mask", "x11.gc-value-mask.plane-mask", FT_BOOLEAN, 32, NULL, 0x00000002, NULL, HFILL }}, { &hf_x11_gc_value_mask_foreground, { "foreground", "x11.gc-value-mask.foreground", FT_BOOLEAN, 32, NULL, 0x00000004, NULL, HFILL }}, { &hf_x11_gc_value_mask_background, { "background", "x11.gc-value-mask.background", FT_BOOLEAN, 32, NULL, 0x00000008, NULL, HFILL }}, { &hf_x11_gc_value_mask_line_width, { "line-width", "x11.gc-value-mask.line-width", FT_BOOLEAN, 32, NULL, 0x00000010, NULL, HFILL }}, { &hf_x11_gc_value_mask_line_style, { "line-style", "x11.gc-value-mask.line-style", FT_BOOLEAN, 32, NULL, 0x00000020, NULL, HFILL }}, { &hf_x11_gc_value_mask_cap_style, { "cap-style", "x11.gc-value-mask.cap-style", FT_BOOLEAN, 32, NULL, 0x00000040, NULL, HFILL }}, { &hf_x11_gc_value_mask_join_style, { "join-style", "x11.gc-value-mask.join-style", FT_BOOLEAN, 32, NULL, 0x00000080, NULL, HFILL }}, { &hf_x11_gc_value_mask_fill_style, { "fill-style", "x11.gc-value-mask.fill-style", FT_BOOLEAN, 32, NULL, 0x00000100, NULL, HFILL }}, { &hf_x11_gc_value_mask_fill_rule, { "fill-rule", "x11.gc-value-mask.fill-rule", FT_BOOLEAN, 32, NULL, 0x00000200, NULL, HFILL }}, { &hf_x11_gc_value_mask_tile, { "tile", "x11.gc-value-mask.tile", FT_BOOLEAN, 32, NULL, 0x00000400, NULL, HFILL }}, { &hf_x11_gc_value_mask_stipple, { "stipple", "x11.gc-value-mask.stipple", FT_BOOLEAN, 32, NULL, 0x00000800, NULL, HFILL }}, { &hf_x11_gc_value_mask_tile_stipple_x_origin, { "tile-stipple-x-origin", "x11.gc-value-mask.tile-stipple-x-origin", FT_BOOLEAN, 32, NULL, 0x00001000, NULL, HFILL }}, { &hf_x11_gc_value_mask_tile_stipple_y_origin, { "tile-stipple-y-origin", "x11.gc-value-mask.tile-stipple-y-origin", FT_BOOLEAN, 32, NULL, 0x00002000, NULL, HFILL }}, { &hf_x11_gc_value_mask_font, { "font", "x11.gc-value-mask.font", FT_BOOLEAN, 32, NULL, 0x00004000, NULL, HFILL }}, { &hf_x11_gc_value_mask_subwindow_mode, { "subwindow-mode", "x11.gc-value-mask.subwindow-mode", FT_BOOLEAN, 32, NULL, 0x00008000, NULL, HFILL }}, { &hf_x11_gc_value_mask_graphics_exposures, { "graphics-exposures", "x11.gc-value-mask.graphics-exposures", FT_BOOLEAN, 32, NULL, 0x00010000, NULL, HFILL }}, { &hf_x11_gc_value_mask_clip_x_origin, { "clip-x-origin", "x11.gc-value-mask.clip-x-origin", FT_BOOLEAN, 32, NULL, 0x00020000, NULL, HFILL }}, { &hf_x11_gc_value_mask_clip_y_origin, { "clip-y-origin", "x11.gc-value-mask.clip-y-origin", FT_BOOLEAN, 32, NULL, 0x00040000, NULL, HFILL }}, { &hf_x11_gc_value_mask_clip_mask, { "clip-mask", "x11.gc-value-mask.clip-mask", FT_BOOLEAN, 32, NULL, 0x00080000, NULL, HFILL }}, { &hf_x11_gc_value_mask_dash_offset, { "dash-offset", "x11.gc-value-mask.dash-offset", FT_BOOLEAN, 32, NULL, 0x00100000, NULL, HFILL }}, { &hf_x11_gc_value_mask_gc_dashes, { "gc-dashes", "x11.gc-value-mask.gc-dashes", FT_BOOLEAN, 32, NULL, 0x00200000, NULL, HFILL }}, { &hf_x11_gc_value_mask_arc_mode, { "arc-mode", "x11.gc-value-mask.arc-mode", FT_BOOLEAN, 32, NULL, 0x00400000, NULL, HFILL }}, { &hf_x11_green, { "green", "x11.green", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_greens, { "greens", "x11.greens", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_data, { "data", "x11.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_data16, { "data16", "x11.data16", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_data16_item, { "item", "x11.data16.item", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_data32, { "data32", "x11.data32", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_data32_item, { "item", "x11.data32.item", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_data_length, { "data-length", "x11.data-length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_delete, { "delete", "x11.delete", FT_BOOLEAN, BASE_NONE, NULL, 0, "Delete this property after reading", HFILL }}, { &hf_x11_delta, { "delta", "x11.delta", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_depth, { "depth", "x11.depth", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_depth_detail, { "depth-detail", "x11.depth-detail", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_depth_detail_depth, { "depth", "x11.depth-detail.depth", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_depth_detail_visualtypes_numbers, { "visualtypes-numbers", "x11.depth-detail.visualtypes-numbers", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_destination, { "destination", "x11.destination", FT_UINT8, BASE_DEC, VALS(destination_vals), 0, NULL, HFILL }}, { &hf_x11_direction, { "direction", "x11.direction", FT_UINT8, BASE_DEC, VALS(direction_vals), 0, NULL, HFILL }}, { &hf_x11_drawable, { "drawable", "x11.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dst_drawable, { "dst-drawable", "x11.dst-drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dst_gc, { "dst-gc", "x11.dst-gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dst_window, { "dst-window", "x11.dst-window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dst_x, { "dst-x", "x11.dst-x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dst_y, { "dst-y", "x11.dst-y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_event_detail, { "event-detail", "x11.event-detail", FT_UINT8, BASE_DEC, VALS(event_detail_vals), 0, NULL, HFILL }}, { &hf_x11_event_mask, { "event-mask", "x11.event-mask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_event_mask_KeyPress, { "KeyPress", "x11.event-mask.KeyPress", FT_BOOLEAN, 32, NULL, 0x00000001, NULL, HFILL }}, { &hf_x11_event_mask_KeyRelease, { "KeyRelease", "x11.event-mask.KeyRelease", FT_BOOLEAN, 32, NULL, 0x00000002, NULL, HFILL }}, { &hf_x11_event_mask_ButtonPress, { "ButtonPress", "x11.event-mask.ButtonPress", FT_BOOLEAN, 32, NULL, 0x00000004, NULL, HFILL }}, { &hf_x11_event_mask_ButtonRelease, { "ButtonRelease", "x11.event-mask.ButtonRelease", FT_BOOLEAN, 32, NULL, 0x00000008, NULL, HFILL }}, { &hf_x11_event_mask_EnterWindow, { "EnterWindow", "x11.event-mask.EnterWindow", FT_BOOLEAN, 32, NULL, 0x00000010, NULL, HFILL }}, { &hf_x11_event_mask_LeaveWindow, { "LeaveWindow", "x11.event-mask.LeaveWindow", FT_BOOLEAN, 32, NULL, 0x00000020, NULL, HFILL }}, { &hf_x11_event_mask_PointerMotion, { "PointerMotion", "x11.event-mask.PointerMotion", FT_BOOLEAN, 32, NULL, 0x00000040, NULL, HFILL }}, { &hf_x11_event_mask_PointerMotionHint, { "PointerMotionHint", "x11.event-mask.PointerMotionHint", FT_BOOLEAN, 32, NULL, 0x00000080, NULL, HFILL }}, { &hf_x11_event_mask_Button1Motion, { "Button1Motion", "x11.event-mask.Button1Motion", FT_BOOLEAN, 32, NULL, 0x00000100, NULL, HFILL }}, { &hf_x11_event_mask_Button2Motion, { "Button2Motion", "x11.event-mask.Button2Motion", FT_BOOLEAN, 32, NULL, 0x00000200, NULL, HFILL }}, { &hf_x11_event_mask_Button3Motion, { "Button3Motion", "x11.event-mask.Button3Motion", FT_BOOLEAN, 32, NULL, 0x00000400, NULL, HFILL }}, { &hf_x11_event_mask_Button4Motion, { "Button4Motion", "x11.event-mask.Button4Motion", FT_BOOLEAN, 32, NULL, 0x00000800, NULL, HFILL }}, { &hf_x11_event_mask_Button5Motion, { "Button5Motion", "x11.event-mask.Button5Motion", FT_BOOLEAN, 32, NULL, 0x00001000, NULL, HFILL }}, { &hf_x11_event_mask_ButtonMotion, { "ButtonMotion", "x11.event-mask.ButtonMotion", FT_BOOLEAN, 32, NULL, 0x00002000, NULL, HFILL }}, { &hf_x11_event_mask_KeymapState, { "KeymapState", "x11.event-mask.KeymapState", FT_BOOLEAN, 32, NULL, 0x00004000, NULL, HFILL }}, { &hf_x11_event_mask_Exposure, { "Exposure", "x11.event-mask.Exposure", FT_BOOLEAN, 32, NULL, 0x00008000, NULL, HFILL }}, { &hf_x11_event_mask_VisibilityChange, { "VisibilityChange", "x11.event-mask.VisibilityChange", FT_BOOLEAN, 32, NULL, 0x00010000, NULL, HFILL }}, { &hf_x11_event_mask_StructureNotify, { "StructureNotify", "x11.event-mask.StructureNotify", FT_BOOLEAN, 32, NULL, 0x00020000, NULL, HFILL }}, { &hf_x11_event_mask_ResizeRedirect, { "ResizeRedirect", "x11.event-mask.ResizeRedirect", FT_BOOLEAN, 32, NULL, 0x00040000, NULL, HFILL }}, { &hf_x11_event_mask_SubstructureNotify, { "SubstructureNotify", "x11.event-mask.SubstructureNotify", FT_BOOLEAN, 32, NULL, 0x00080000, NULL, HFILL }}, { &hf_x11_event_mask_SubstructureRedirect, { "SubstructureRedirect", "x11.event-mask.SubstructureRedirect", FT_BOOLEAN, 32, NULL, 0x00100000, NULL, HFILL }}, { &hf_x11_event_mask_FocusChange, { "FocusChange", "x11.event-mask.FocusChange", FT_BOOLEAN, 32, NULL, 0x00200000, NULL, HFILL }}, { &hf_x11_event_mask_PropertyChange, { "PropertyChange", "x11.event-mask.PropertyChange", FT_BOOLEAN, 32, NULL, 0x00400000, NULL, HFILL }}, { &hf_x11_event_mask_ColormapChange, { "ColormapChange", "x11.event-mask.ColormapChange", FT_BOOLEAN, 32, NULL, 0x00800000, NULL, HFILL }}, { &hf_x11_event_mask_OwnerGrabButton, { "OwnerGrabButton", "x11.event-mask.OwnerGrabButton", FT_BOOLEAN, 32, NULL, 0x01000000, NULL, HFILL }}, { &hf_x11_event_mask_erroneous_bits, { "erroneous-bits", "x11.event-mask.erroneous-bits", FT_BOOLEAN, 32, NULL, 0xfe000000, NULL, HFILL }}, { &hf_x11_eventlength, { "eventlength", "x11.eventlength", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_exact_blue, { "exact-blue", "x11.exact-blue", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_exact_green, { "exact-green", "x11.exact-green", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_exact_red, { "exact-red", "x11.exact-red", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_exposures, { "exposures", "x11.exposures", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_family, { "family", "x11.family", FT_UINT8, BASE_DEC, VALS(family_vals), 0, NULL, HFILL }}, { &hf_x11_fid, { "fid", "x11.fid", FT_UINT32, BASE_HEX, NULL, 0, "Font id", HFILL }}, { &hf_x11_fill_rule, { "fill-rule", "x11.fill-rule", FT_UINT8, BASE_DEC, VALS(fill_rule_vals), 0, NULL, HFILL }}, { &hf_x11_fill_style, { "fill-style", "x11.fill-style", FT_UINT8, BASE_DEC, VALS(fill_style_vals), 0, NULL, HFILL }}, { &hf_x11_first_keycode, { "first-keycode", "x11.first-keycode", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_focus, { "focus", "x11.focus", FT_UINT8, BASE_DEC, VALS(focus_vals), 0, NULL, HFILL }}, { &hf_x11_focus_detail, { "focus-detail", "x11.focus-detail", FT_UINT8, BASE_DEC, VALS(focus_detail_vals), 0, NULL, HFILL }}, { &hf_x11_focus_mode, { "focus-mode", "x11.focus-mode", FT_UINT8, BASE_DEC, VALS(focus_mode_vals), 0, NULL, HFILL }}, { &hf_x11_font, { "font", "x11.font", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_fore_blue, { "fore-blue", "x11.fore-blue", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_fore_green, { "fore-green", "x11.fore-green", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_fore_red, { "fore-red", "x11.fore-red", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_foreground, { "foreground", "x11.foreground", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_format, { "format", "x11.format", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_from_configure, { "from-configure", "x11.from-configure", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_function, { "function", "x11.function", FT_UINT8, BASE_DEC, VALS(function_vals), 0, NULL, HFILL }}, { &hf_x11_gc, { "gc", "x11.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_get_property_type, { "get-property-type", "x11.get-property-type", FT_UINT32, BASE_HEX, VALS(zero_is_any_property_type_vals), 0, NULL, HFILL }}, { &hf_x11_grab_mode, { "grab-mode", "x11.grab-mode", FT_UINT8, BASE_DEC, VALS(grab_mode_vals), 0, NULL, HFILL }}, { &hf_x11_grab_status, { "grab-status", "x11.grab-status", FT_UINT8, BASE_DEC, VALS(grab_status_vals), 0, NULL, HFILL }}, { &hf_x11_grab_window, { "grab-window", "x11.grab-window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_graphics_exposures, { "graphics-exposures", "x11.graphics-exposures", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_height, { "height", "x11.height", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_image_byte_order, { "image-byte-order", "x11.image-byte-order", FT_CHAR, BASE_HEX, VALS(image_byte_order_vals), 0, NULL, HFILL }}, { &hf_x11_initial_connection, { "initial-connection", "x11.initial-connection", FT_NONE, BASE_NONE, NULL, 0, "undecoded", HFILL }}, { &hf_x11_image_format, { "image-format", "x11.image-format", FT_UINT8, BASE_DEC, VALS(image_format_vals), 0, NULL, HFILL }}, { &hf_x11_image_pixmap_format, { "image-pixmap-format", "x11.image-pixmap-format", FT_UINT8, BASE_DEC, VALS(image_pixmap_format_vals), 0, NULL, HFILL }}, { &hf_x11_interval, { "interval", "x11.interval", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_items, { "items", "x11.items", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_join_style, { "join-style", "x11.join-style", FT_UINT8, BASE_DEC, VALS(join_style_vals), 0, NULL, HFILL }}, { &hf_x11_key, { "key", "x11.key", FT_UINT8, BASE_DEC, VALS(key_vals), 0, NULL, HFILL }}, { &hf_x11_key_click_percent, { "key-click-percent", "x11.key-click-percent", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_keyboard_key, { "keyboard-key", "x11.keyboard-key", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_keyboard_mode, { "keyboard-mode", "x11.keyboard-mode", FT_UINT8, BASE_DEC, VALS(pointer_keyboard_mode_vals), 0, NULL, HFILL }}, { &hf_x11_keybut_mask_erroneous_bits, { "keybut-mask-erroneous-bits", "x11.keybut-mask-erroneous-bits", FT_BOOLEAN, 16, NULL, 0xe000, "keybut mask erroneous bits", HFILL }}, { &hf_x11_keycode, { "keycode", "x11.keycode", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_keyboard_value_mask, { "keyboard-value-mask", "x11.keyboard-value-mask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_keyboard_value_mask_key_click_percent, { "key-click-percent", "x11.keyboard-value-mask.key-click-percent", FT_BOOLEAN, 32, NULL, 0x0001, NULL, HFILL }}, { &hf_x11_keyboard_value_mask_bell_percent, { "bell-percent", "x11.keyboard-value-mask.bell-percent", FT_BOOLEAN, 32, NULL, 0x0002, NULL, HFILL }}, { &hf_x11_keyboard_value_mask_bell_pitch, { "bell-pitch", "x11.keyboard-value-mask.bell-pitch", FT_BOOLEAN, 32, NULL, 0x0004, NULL, HFILL }}, { &hf_x11_keyboard_value_mask_bell_duration, { "bell-duration", "x11.keyboard-value-mask.bell-duration", FT_BOOLEAN, 32, NULL, 0x0008, NULL, HFILL }}, { &hf_x11_keyboard_value_mask_led, { "led", "x11.keyboard-value-mask.led", FT_BOOLEAN, 32, NULL, 0x0010, NULL, HFILL }}, { &hf_x11_keyboard_value_mask_led_mode, { "led-mode", "x11.keyboard-value-mask.led-mode", FT_BOOLEAN, 32, NULL, 0x0020, NULL, HFILL }}, { &hf_x11_keyboard_value_mask_keyboard_key, { "keyboard-key", "x11.keyboard-value-mask.keyboard-key", FT_BOOLEAN, 32, NULL, 0x0040, NULL, HFILL }}, { &hf_x11_keyboard_value_mask_auto_repeat_mode, { "auto-repeat-mode", "x11.keyboard-value-mask.auto-repeat-mode", FT_BOOLEAN, 32, NULL, 0x0080, NULL, HFILL }}, { &hf_x11_keycode_count, { "keycode-count", "x11.keycode-count", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_keycodes, { "keycodes", "x11.keycodes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_keycodes_item, { "item", "x11.keycodes.item", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_keycodes_per_modifier, { "keycodes-per-modifier", "x11.keycodes-per-modifier", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_keys, { "keys", "x11.keys", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_keysyms, { "keysyms", "x11.keysyms", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_keysyms_item, { "item", "x11.keysyms.item", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_keysyms_item_keysym, { "keysym", "x11.keysyms.item.keysym", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_keysyms_per_keycode, { "keysyms-per-keycode", "x11.keysyms-per-keycode", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_length_of_reason, { "length-of-reason", "x11.length-of-reason", FT_UINT8, BASE_DEC, NULL, 0, "length of reason", HFILL }}, { &hf_x11_length_of_vendor, { "length-of-vendor", "x11.length-of-vendor", FT_UINT16, BASE_DEC, NULL, 0, "length of vendor", HFILL }}, { &hf_x11_led, { "led", "x11.led", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_led_mode, { "led-mode", "x11.led-mode", FT_UINT8, BASE_DEC, VALS(on_off_vals), 0, NULL, HFILL }}, { &hf_x11_left_pad, { "left-pad", "x11.left-pad", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_line_style, { "line-style", "x11.line-style", FT_UINT8, BASE_DEC, VALS(line_style_vals), 0, NULL, HFILL }}, { &hf_x11_line_width, { "line-width", "x11.line-width", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_long_length, { "long-length", "x11.long-length", FT_UINT32, BASE_DEC, NULL, 0, "The maximum length of the property in bytes", HFILL }}, { &hf_x11_long_offset, { "long-offset", "x11.long-offset", FT_UINT32, BASE_DEC, NULL, 0, "The starting position in the property bytes array", HFILL }}, { &hf_x11_map, { "map", "x11.map", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_map_length, { "map-length", "x11.map-length", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_mapping_request, { "mapping-request", "x11.mapping-request", FT_UINT8, BASE_DEC, VALS(mapping_request_vals), 0, NULL, HFILL }}, { &hf_x11_mask, { "mask", "x11.mask", FT_UINT32, BASE_HEX, VALS(zero_is_none_vals), 0, NULL, HFILL }}, { &hf_x11_mask_char, { "mask-char", "x11.mask-char", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_mask_font, { "mask-font", "x11.mask-font", FT_UINT32, BASE_HEX, VALS(zero_is_none_vals), 0, NULL, HFILL }}, { &hf_x11_max_names, { "max-names", "x11.max-names", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_mid, { "mid", "x11.mid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_mode, { "mode", "x11.mode", FT_UINT8, BASE_DEC, VALS(mode_vals), 0, NULL, HFILL }}, { &hf_x11_major_opcode, { "major-opcode", "x11.major-opcode", FT_UINT16, BASE_DEC, NULL, 0, "major opcode", HFILL }}, { &hf_x11_max_keycode, { "max-keycode", "x11.max-keycode", FT_UINT8, BASE_DEC, NULL, 0, "max keycode", HFILL }}, { &hf_x11_maximum_request_length, { "maximum-request-length", "x11.maximum-request-length", FT_UINT16, BASE_DEC, NULL, 0, "maximum request length", HFILL }}, { &hf_x11_min_keycode, { "min-keycode", "x11.min-keycode", FT_UINT8, BASE_DEC, NULL, 0, "min keycode", HFILL }}, { &hf_x11_minor_opcode, { "minor-opcode", "x11.minor-opcode", FT_UINT16, BASE_DEC, NULL, 0, "minor opcode", HFILL }}, { &hf_x11_modifiers_mask, { "modifiers-mask", "x11.modifiers-mask", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_modifiers_mask_Shift, { "Shift", "x11.modifiers-mask.Shift", FT_BOOLEAN, 16, NULL, 0x0001, NULL, HFILL }}, { &hf_x11_modifiers_mask_Lock, { "Lock", "x11.modifiers-mask.Lock", FT_BOOLEAN, 16, NULL, 0x0002, NULL, HFILL }}, { &hf_x11_modifiers_mask_Control, { "Control", "x11.modifiers-mask.Control", FT_BOOLEAN, 16, NULL, 0x0004, NULL, HFILL }}, { &hf_x11_modifiers_mask_Mod1, { "Mod1", "x11.modifiers-mask.Mod1", FT_BOOLEAN, 16, NULL, 0x0008, NULL, HFILL }}, { &hf_x11_modifiers_mask_Mod2, { "Mod2", "x11.modifiers-mask.Mod2", FT_BOOLEAN, 16, NULL, 0x0010, NULL, HFILL }}, { &hf_x11_modifiers_mask_Mod3, { "Mod3", "x11.modifiers-mask.Mod3", FT_BOOLEAN, 16, NULL, 0x0020, NULL, HFILL }}, { &hf_x11_modifiers_mask_Mod4, { "Mod4", "x11.modifiers-mask.Mod4", FT_BOOLEAN, 16, NULL, 0x0040, NULL, HFILL }}, { &hf_x11_modifiers_mask_Mod5, { "Mod5", "x11.modifiers-mask.Mod5", FT_BOOLEAN, 16, NULL, 0x0080, NULL, HFILL }}, { &hf_x11_modifiers_mask_Button1, { "Button1", "x11.modifiers-mask.Button1", FT_BOOLEAN, 16, NULL, 0x0100, NULL, HFILL }}, { &hf_x11_modifiers_mask_Button2, { "Button2", "x11.modifiers-mask.Button2", FT_BOOLEAN, 16, NULL, 0x0200, NULL, HFILL }}, { &hf_x11_modifiers_mask_Button3, { "Button3", "x11.modifiers-mask.Button3", FT_BOOLEAN, 16, NULL, 0x0400, NULL, HFILL }}, { &hf_x11_modifiers_mask_Button4, { "Button4", "x11.modifiers-mask.Button4", FT_BOOLEAN, 16, NULL, 0x0800, NULL, HFILL }}, { &hf_x11_modifiers_mask_Button5, { "Button5", "x11.modifiers-mask.Button5", FT_BOOLEAN, 16, NULL, 0x1000, NULL, HFILL }}, { &hf_x11_modifiers_mask_AnyModifier, { "AnyModifier", "x11.modifiers-mask.AnyModifier", FT_UINT16, BASE_HEX, NULL, 0x8000, NULL, HFILL }}, { &hf_x11_modifiers_mask_erroneous_bits, { "erroneous-bits", "x11.modifiers-mask.erroneous-bits", FT_BOOLEAN, 16, NULL, 0xff00, NULL, HFILL }}, { &hf_x11_motion_buffer_size, { "motion-buffer-size", "x11.motion-buffer-size", FT_UINT16, BASE_DEC, NULL, 0, "motion buffer size", HFILL }}, { &hf_x11_new, { "new", "x11.new", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_number_of_formats_in_pixmap_formats, { "number-of-formats-in-pixmap-formats", "x11.number-of-formats-in-pixmap-formats", FT_UINT8, BASE_DEC, NULL, 0, "number of formats in pixmap formats", HFILL }}, { &hf_x11_number_of_screens_in_roots, { "number-of-screens-in-roots", "x11.number-of-screens-in-roots", FT_UINT8, BASE_DEC, NULL, 0, "number of screens in roots", HFILL }}, { &hf_x11_name, { "name", "x11.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_name_length, { "name-length", "x11.name-length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_odd_length, { "odd-length", "x11.odd-length", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_only_if_exists, { "only-if-exists", "x11.only-if-exists", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_opcode, { "opcode", "x11.opcode", FT_UINT8, BASE_DEC, VALS(opcode_vals), 0, NULL, HFILL }}, { &hf_x11_ordering, { "ordering", "x11.ordering", FT_UINT8, BASE_DEC, VALS(ordering_vals), 0, NULL, HFILL }}, { &hf_x11_override_redirect, { "override-redirect", "x11.override-redirect", FT_BOOLEAN, BASE_NONE, NULL, 0, "Window manager doesn't manage this window when true", HFILL }}, { &hf_x11_owner, { "owner", "x11.owner", FT_UINT32, BASE_HEX, VALS(zero_is_none_vals), 0, NULL, HFILL }}, { &hf_x11_owner_events, { "owner-events", "x11.owner-events", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_parent, { "parent", "x11.parent", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_path, { "path", "x11.path", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_path_string, { "string", "x11.path.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_pattern, { "pattern", "x11.pattern", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_pattern_length, { "pattern-length", "x11.pattern-length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_percent, { "percent", "x11.percent", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_pid, { "pid", "x11.pid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_pixel, { "pixel", "x11.pixel", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_pixels, { "pixels", "x11.pixels", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_pixels_item, { "pixels_item", "x11.pixels_item", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_pixmap, { "pixmap", "x11.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_pixmap_format, { "pixmap-format", "x11.pixmap-format", FT_NONE, BASE_NONE, NULL, 0, "Pixmap Formats", HFILL }}, { &hf_x11_pixmap_format_depth, { "depth", "x11.pixmap-format.depth", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_pixmap_format_bits_per_pixel, { "bits-per-pixel", "x11.pixmap-format.bits-per-pixel", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_pixmap_format_scanline_pad, { "scanline-pad", "x11.pixmap-format.scanline-pad", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_place, { "place", "x11.place", FT_UINT8, BASE_DEC, VALS(place_vals), 0, NULL, HFILL }}, { &hf_x11_plane_mask, { "plane-mask", "x11.plane-mask", FT_UINT32, BASE_HEX, VALS(plane_mask_vals), 0, NULL, HFILL }}, { &hf_x11_planes, { "planes", "x11.planes", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_point, { "point", "x11.point", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_points, { "points", "x11.points", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_point_x, { "point-x", "x11.point-x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_point_y, { "point-y", "x11.point-y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_pointer_event_mask, { "pointer-event-mask", "x11.pointer-event-mask", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_pointer_event_mask_ButtonPress, { "ButtonPress", "x11.pointer-event-mask.ButtonPress", FT_BOOLEAN, 16, NULL, 0x0004, NULL, HFILL }}, { &hf_x11_pointer_event_mask_ButtonRelease, { "ButtonRelease", "x11.pointer-event-mask.ButtonRelease", FT_BOOLEAN, 16, NULL, 0x0008, NULL, HFILL }}, { &hf_x11_pointer_event_mask_EnterWindow, { "EnterWindow", "x11.pointer-event-mask.EnterWindow", FT_BOOLEAN, 16, NULL, 0x0010, NULL, HFILL }}, { &hf_x11_pointer_event_mask_LeaveWindow, { "LeaveWindow", "x11.pointer-event-mask.LeaveWindow", FT_BOOLEAN, 16, NULL, 0x0020, NULL, HFILL }}, { &hf_x11_pointer_event_mask_PointerMotion, { "PointerMotion", "x11.pointer-event-mask.PointerMotion", FT_BOOLEAN, 16, NULL, 0x0040, NULL, HFILL }}, { &hf_x11_pointer_event_mask_PointerMotionHint, { "PointerMotionHint", "x11.pointer-event-mask.PointerMotionHint", FT_BOOLEAN, 16, NULL, 0x0080, NULL, HFILL }}, { &hf_x11_pointer_event_mask_Button1Motion, { "Button1Motion", "x11.pointer-event-mask.Button1Motion", FT_BOOLEAN, 16, NULL, 0x0100, NULL, HFILL }}, { &hf_x11_pointer_event_mask_Button2Motion, { "Button2Motion", "x11.pointer-event-mask.Button2Motion", FT_BOOLEAN, 16, NULL, 0x0200, NULL, HFILL }}, { &hf_x11_pointer_event_mask_Button3Motion, { "Button3Motion", "x11.pointer-event-mask.Button3Motion", FT_BOOLEAN, 16, NULL, 0x0400, NULL, HFILL }}, { &hf_x11_pointer_event_mask_Button4Motion, { "Button4Motion", "x11.pointer-event-mask.Button4Motion", FT_BOOLEAN, 16, NULL, 0x0800, NULL, HFILL }}, { &hf_x11_pointer_event_mask_Button5Motion, { "Button5Motion", "x11.pointer-event-mask.Button5Motion", FT_BOOLEAN, 16, NULL, 0x1000, NULL, HFILL }}, { &hf_x11_pointer_event_mask_ButtonMotion, { "ButtonMotion", "x11.pointer-event-mask.ButtonMotion", FT_BOOLEAN, 16, NULL, 0x2000, NULL, HFILL }}, { &hf_x11_pointer_event_mask_KeymapState, { "KeymapState", "x11.pointer-event-mask.KeymapState", FT_BOOLEAN, 16, NULL, 0x4000, NULL, HFILL }}, { &hf_x11_pointer_event_mask_erroneous_bits, { "erroneous-bits", "x11.pointer-event-mask.erroneous-bits", FT_BOOLEAN, 16, NULL, 0x8003, NULL, HFILL }}, { &hf_x11_pointer_mode, { "pointer-mode", "x11.pointer-mode", FT_UINT8, BASE_DEC, VALS(pointer_keyboard_mode_vals), 0, NULL, HFILL }}, { &hf_x11_prefer_blanking, { "prefer-blanking", "x11.prefer-blanking", FT_UINT8, BASE_DEC, VALS(yes_no_default_vals), 0, NULL, HFILL }}, { &hf_x11_present, { "present", "x11.present", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_propagate, { "propagate", "x11.propagate", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_properties, { "properties", "x11.properties", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_properties_item, { "item", "x11.properties.item", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_property, { "property", "x11.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_property_number, { "property-number", "x11.property-number", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_property_state, { "property-state", "x11.property-state", FT_UINT8, BASE_DEC, VALS(property_state_vals), 0, NULL, HFILL }}, { &hf_x11_protocol_major_version, { "protocol-major-version", "x11.protocol-major-version", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_protocol_minor_version, { "protocol-minor-version", "x11.protocol-minor-version", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_reason, { "reason", "x11.reason", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_rectangle_height, { "rectangle-height", "x11.rectangle-height", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_rectangles, { "rectangles", "x11.rectangles", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_rectangle, { "rectangle", "x11.rectangle", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_rectangle_width, { "rectangle-width", "x11.rectangle-width", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_rectangle_x, { "rectangle-x", "x11.rectangle-x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_rectangle_y, { "rectangle-y", "x11.rectangle-y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_red, { "red", "x11.red", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_reds, { "reds", "x11.reds", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_request, { "request", "x11.request", FT_UINT8, BASE_DEC, VALS(opcode_vals), 0, NULL, HFILL }}, { &hf_x11_requestor, { "requestor", "x11.requestor", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_request_length, { "request-length", "x11.request-length", FT_UINT16, BASE_DEC, NULL, 0, "Request length", HFILL }}, { &hf_x11_resource, { "resource", "x11.resource", FT_UINT32, BASE_HEX, VALS(all_temporary_vals), 0, NULL, HFILL }}, { &hf_x11_revert_to, { "revert-to", "x11.revert-to", FT_UINT8, BASE_DEC, VALS(revert_to_vals), 0, NULL, HFILL }}, { &hf_x11_release_number, { "release-number", "x11.release-number", FT_UINT32, BASE_DEC, NULL, 0, "release number", HFILL }}, { &hf_x11_reply, { "reply", "x11.reply", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_reply_sequencenumber, { "reply-sequencenumber", "x11.reply-sequencenumber", FT_UINT16, BASE_DEC, VALS(opcode_vals), 0, NULL, HFILL }}, { &hf_x11_replylength, { "replylength", "x11.replylength", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_replyopcode, { "replyopcode", "x11.replyopcode", FT_UINT8, BASE_DEC, VALS(opcode_vals), 0, NULL, HFILL }}, { &hf_x11_resource_id_base, { "resource-id-base", "x11.resource-id-base", FT_UINT32, BASE_HEX, NULL, 0, "resource id base", HFILL }}, { &hf_x11_resource_id_mask, { "resource-id-mask", "x11.resource-id-mask", FT_UINT32, BASE_HEX, NULL, 0, "resource id mask", HFILL }}, { &hf_x11_root_x, { "root-x", "x11.root-x", FT_UINT16, BASE_DEC, NULL, 0, "root x", HFILL }}, { &hf_x11_root_y, { "root-y", "x11.root-y", FT_UINT16, BASE_DEC, NULL, 0, "root y", HFILL }}, { &hf_x11_rootwindow, { "rootwindow", "x11.rootwindow", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_same_screen, { "same-screen", "x11.same-screen", FT_BOOLEAN, BASE_NONE, NULL, 0, "same screen", HFILL }}, { &hf_x11_same_screen_focus_mask, { "same-screen-focus-mask", "x11.same-screen-focus-mask", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_same_screen_focus_mask_focus, { "focus", "x11.same-screen-focus-mask.focus", FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL }}, { &hf_x11_same_screen_focus_mask_same_screen, { "same-screen", "x11.same-screen-focus-mask.same-screen", FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL }}, { &hf_x11_success, { "success", "x11.success", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_save_set_mode, { "save-set-mode", "x11.save-set-mode", FT_UINT8, BASE_DEC, VALS(insert_delete_vals), 0, NULL, HFILL }}, { &hf_x11_save_under, { "save-under", "x11.save-under", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_screen, { "screen", "x11.screen", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_root, { "root", "x11.screen.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_default_colormap, { "default_colormap", "x11.screen.default_colormap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_white_pixel, { "white_pixel", "x11.screen.white_pixel", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_black_pixel, { "black_pixel", "x11.screen.black_pixel", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_current_input_masks, { "current_input_masks", "x11.screen.current_input_masks", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_width_in_pixels, { "width_in_pixels", "x11.screen.width_in_pixels", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_height_in_pixels, { "height_in_pixels", "x11.screen.height_in_pixels", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_width_in_millimeters, { "width_in_millimeters", "x11.screen.width_in_millimeters", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_height_in_millimeters, { "height_in_millimeters", "x11.screen.height_in_millimeters", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_min_installed_maps, { "min_installed_maps", "x11.screen.min_installed_maps", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_max_installed_maps, { "max_installed_maps", "x11.screen.max_installed_maps", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_root_visual, { "root_visual", "x11.screen.root_visual", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_backing_stores, { "backing_stores", "x11.screen.backing_stores", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_save_unders, { "save_unders", "x11.screen.save_unders", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_root_depth, { "root_depth", "x11.screen.root_depth", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_allowed_depths_len, { "allowed_depths_len", "x11.screen.allowed_depths_len", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screen_saver_mode, { "screen-saver-mode", "x11.screen-saver-mode", FT_UINT8, BASE_DEC, VALS(screen_saver_mode_vals), 0, NULL, HFILL }}, { &hf_x11_segment, { "segment", "x11.segment", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_segments, { "segments", "x11.segments", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_segment_x1, { "segment_x1", "x11.segment_x1", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_segment_x2, { "segment_x2", "x11.segment_x2", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_segment_y1, { "segment_y1", "x11.segment_y1", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_segment_y2, { "segment_y2", "x11.segment_y2", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_selection, { "selection", "x11.selection", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape, { "shape", "x11.shape", FT_UINT8, BASE_DEC, VALS(shape_vals), 0, NULL, HFILL }}, { &hf_x11_sibling, { "sibling", "x11.sibling", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_source_pixmap, { "source-pixmap", "x11.source-pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_source_font, { "source-font", "x11.source-font", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_source_char, { "source-char", "x11.source-char", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_src_cmap, { "src-cmap", "x11.src-cmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_src_drawable, { "src-drawable", "x11.src-drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_src_gc, { "src-gc", "x11.src-gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_src_height, { "src-height", "x11.src-height", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_src_width, { "src-width", "x11.src-width", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_src_window, { "src-window", "x11.src-window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_src_x, { "src-x", "x11.src-x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_src_y, { "src-y", "x11.src-y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_start, { "start", "x11.start", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_stack_mode, { "stack-mode", "x11.stack-mode", FT_UINT8, BASE_DEC, VALS(stack_mode_vals), 0, NULL, HFILL }}, { &hf_x11_stipple, { "stipple", "x11.stipple", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_stop, { "stop", "x11.stop", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_str_number_in_path, { "str-number-in-path", "x11.str-number-in-path", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_string, { "string", "x11.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_string16, { "string16", "x11.string16", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_string16_bytes, { "bytes", "x11.string16.bytes", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_string_length, { "string-length", "x11.string-length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_subwindow_mode, { "subwindow-mode", "x11.subwindow-mode", FT_UINT8, BASE_DEC, VALS(subwindow_mode_vals), 0, NULL, HFILL }}, { &hf_x11_target, { "target", "x11.target", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_textitem, { "textitem", "x11.textitem", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_textitem_font, { "font", "x11.textitem.font", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_textitem_string, { "string", "x11.textitem.string", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_textitem_string_delta, { "delta", "x11.textitem.string.delta", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_textitem_string_string8, { "string8", "x11.textitem.string.string8", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_textitem_string_string16, { "string16", "x11.textitem.string.string16", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_textitem_string_string16_bytes, { "bytes", "x11.textitem.string.string16.bytes", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_threshold, { "threshold", "x11.threshold", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_tile, { "tile", "x11.tile", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_tile_stipple_x_origin, { "tile-stipple-x-origin", "x11.tile-stipple-x-origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_tile_stipple_y_origin, { "tile-stipple-y-origin", "x11.tile-stipple-y-origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_time, { "time", "x11.time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_timeout, { "timeout", "x11.timeout", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_type, { "type", "x11.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_undecoded, { "undecoded", "x11.undecoded", FT_NONE, BASE_NONE, NULL, 0, "Yet undecoded by dissector", HFILL }}, { &hf_x11_unused, { "unused", "x11.unused", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_valuelength, { "valuelength", "x11.valuelength", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_vendor, { "vendor", "x11.vendor", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_visibility_state, { "visibility-state", "x11.visibility-state", FT_UINT8, BASE_DEC, VALS(visibility_state_vals), 0, NULL, HFILL }}, { &hf_x11_visual, { "visual", "x11.visual", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_visual_blue, { "visual-blue", "x11.visual-blue", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_visual_green, { "visual-green", "x11.visual-green", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_visual_red, { "visual-red", "x11.visual-red", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_visualid, { "visualid", "x11.visualid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_visualtype, { "visualtype", "x11.visualtype", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_visualtype_visualid, { "visualid", "x11.visualtype.visualid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_visualtype_class, { "class", "x11.visualtype.class", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_visualtype_bits_per_rgb_value, { "bits-per-rgb-value", "x11.visualtype.bits-per-rgb-value", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_visualtype_colormap_entries, { "colormap-entries", "x11.visualtype.colormap-entries", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_visualtype_red_mask, { "red-mask", "x11.visualtype.red-mask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_visualtype_green_mask, { "green-mask", "x11.visualtype.green-mask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_visualtype_blue_mask, { "blue-mask", "x11.visualtype.blue-mask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_warp_pointer_dst_window, { "warp-pointer-dst-window", "x11.warp-pointer-dst-window", FT_UINT32, BASE_HEX, VALS(zero_is_none_vals), 0, NULL, HFILL }}, { &hf_x11_warp_pointer_src_window, { "warp-pointer-src-window", "x11.warp-pointer-src-window", FT_UINT32, BASE_HEX, VALS(zero_is_none_vals), 0, NULL, HFILL }}, { &hf_x11_wid, { "wid", "x11.wid", FT_UINT32, BASE_HEX, NULL, 0, "Window id", HFILL }}, { &hf_x11_width, { "width", "x11.width", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_win_gravity, { "win-gravity", "x11.win-gravity", FT_UINT8, BASE_DEC, VALS(win_gravity_vals), 0, NULL, HFILL }}, { &hf_x11_win_x, { "win-x", "x11.win-x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_win_y, { "win-y", "x11.win-y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_window, { "window", "x11.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_window_class, { "window-class", "x11.window-class", FT_UINT16, BASE_DEC, VALS(window_class_vals), 0, "Window class", HFILL }}, { &hf_x11_window_value_mask, { "window-value-mask", "x11.window-value-mask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_window_value_mask_background_pixmap, { "background-pixmap", "x11.window-value-mask.background-pixmap", FT_BOOLEAN, 32, NULL, 0x00000001, NULL, HFILL }}, { &hf_x11_window_value_mask_background_pixel, { "background-pixel", "x11.window-value-mask.background-pixel", FT_BOOLEAN, 32, NULL, 0x00000002, NULL, HFILL }}, { &hf_x11_window_value_mask_border_pixmap, { "border-pixmap", "x11.window-value-mask.border-pixmap", FT_BOOLEAN, 32, NULL, 0x00000004, NULL, HFILL }}, { &hf_x11_window_value_mask_border_pixel, { "border-pixel", "x11.window-value-mask.border-pixel", FT_BOOLEAN, 32, NULL, 0x00000008, NULL, HFILL }}, { &hf_x11_window_value_mask_bit_gravity, { "bit-gravity", "x11.window-value-mask.bit-gravity", FT_BOOLEAN, 32, NULL, 0x00000010, NULL, HFILL }}, { &hf_x11_window_value_mask_win_gravity, { "win-gravity", "x11.window-value-mask.win-gravity", FT_BOOLEAN, 32, NULL, 0x00000020, NULL, HFILL }}, { &hf_x11_window_value_mask_backing_store, { "backing-store", "x11.window-value-mask.backing-store", FT_BOOLEAN, 32, NULL, 0x00000040, NULL, HFILL }}, { &hf_x11_window_value_mask_backing_planes, { "backing-planes", "x11.window-value-mask.backing-planes", FT_BOOLEAN, 32, NULL, 0x00000080, NULL, HFILL }}, { &hf_x11_window_value_mask_backing_pixel, { "backing-pixel", "x11.window-value-mask.backing-pixel", FT_BOOLEAN, 32, NULL, 0x00000100, NULL, HFILL }}, { &hf_x11_window_value_mask_override_redirect, { "override-redirect", "x11.window-value-mask.override-redirect", FT_BOOLEAN, 32, NULL, 0x00000200, NULL, HFILL }}, { &hf_x11_window_value_mask_save_under, { "save-under", "x11.window-value-mask.save-under", FT_BOOLEAN, 32, NULL, 0x00000400, NULL, HFILL }}, { &hf_x11_window_value_mask_event_mask, { "event-mask", "x11.window-value-mask.event-mask", FT_BOOLEAN, 32, NULL, 0x00000800, NULL, HFILL }}, { &hf_x11_window_value_mask_do_not_propagate_mask, { "do-not-propagate-mask", "x11.window-value-mask.do-not-propagate-mask", FT_BOOLEAN, 32, NULL, 0x00001000, NULL, HFILL }}, { &hf_x11_window_value_mask_colormap, { "colormap", "x11.window-value-mask.colormap", FT_BOOLEAN, 32, NULL, 0x00002000, NULL, HFILL }}, { &hf_x11_window_value_mask_cursor, { "cursor", "x11.window-value-mask.cursor", FT_BOOLEAN, 32, NULL, 0x00004000, NULL, HFILL }}, { &hf_x11_x, { "x", "x11.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_y, { "y", "x11.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, /* Generated by ../../tools/process-x11-xcb.pl below this line */ { &hf_x11_glx_render_CallList_list, { "list", "x11.glx.render.CallList.list", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_n, { "n", "x11.glx.render.CallLists.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_type, { "type", "x11.glx.render.CallLists.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_lists, { "lists", "x11.glx.render.CallLists.lists", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_lists_signed, { "lists", "x11.glx.render.CallLists.lists", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_lists_unsigned, { "lists", "x11.glx.render.CallLists.lists", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_lists_item_card16, { "lists", "x11.glx.render.CallLists.lists", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_lists_item_int16, { "lists", "x11.glx.render.CallLists.lists", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_lists_item_card32, { "lists", "x11.glx.render.CallLists.lists", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_lists_item_int32, { "lists", "x11.glx.render.CallLists.lists", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CallLists_lists_item_float, { "lists", "x11.glx.render.CallLists.lists", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ListBase_base, { "base", "x11.glx.render.ListBase.base", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Begin_mode, { "mode", "x11.glx.render.Begin.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_width, { "width", "x11.glx.render.Bitmap.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_height, { "height", "x11.glx.render.Bitmap.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_xorig, { "xorig", "x11.glx.render.Bitmap.xorig", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_yorig, { "yorig", "x11.glx.render.Bitmap.yorig", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_xmove, { "xmove", "x11.glx.render.Bitmap.xmove", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_ymove, { "ymove", "x11.glx.render.Bitmap.ymove", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_bitmap, { "bitmap", "x11.glx.render.Bitmap.bitmap", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_swapbytes, { "swap bytes", "x11.glx.render.Bitmap.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_lsbfirst, { "lsb first", "x11.glx.render.Bitmap.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_rowlength, { "row length", "x11.glx.render.Bitmap.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_skiprows, { "skip rows", "x11.glx.render.Bitmap.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_skippixels, { "skip pixels", "x11.glx.render.Bitmap.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Bitmap_alignment, { "alignment", "x11.glx.render.Bitmap.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3bv_v, { "v", "x11.glx.render.Color3bv.v", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3dv_v, { "v", "x11.glx.render.Color3dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3dv_v_item, { "v", "x11.glx.render.Color3dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3fv_v, { "v", "x11.glx.render.Color3fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3fv_v_item, { "v", "x11.glx.render.Color3fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3iv_v, { "v", "x11.glx.render.Color3iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3iv_v_item, { "v", "x11.glx.render.Color3iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3sv_v, { "v", "x11.glx.render.Color3sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3sv_v_item, { "v", "x11.glx.render.Color3sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3ubv_v, { "v", "x11.glx.render.Color3ubv.v", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3uiv_v, { "v", "x11.glx.render.Color3uiv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3uiv_v_item, { "v", "x11.glx.render.Color3uiv.v", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3usv_v, { "v", "x11.glx.render.Color3usv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color3usv_v_item, { "v", "x11.glx.render.Color3usv.v", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4bv_v, { "v", "x11.glx.render.Color4bv.v", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4dv_v, { "v", "x11.glx.render.Color4dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4dv_v_item, { "v", "x11.glx.render.Color4dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4fv_v, { "v", "x11.glx.render.Color4fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4fv_v_item, { "v", "x11.glx.render.Color4fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4iv_v, { "v", "x11.glx.render.Color4iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4iv_v_item, { "v", "x11.glx.render.Color4iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4sv_v, { "v", "x11.glx.render.Color4sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4sv_v_item, { "v", "x11.glx.render.Color4sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4ubv_v, { "v", "x11.glx.render.Color4ubv.v", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4uiv_v, { "v", "x11.glx.render.Color4uiv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4uiv_v_item, { "v", "x11.glx.render.Color4uiv.v", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4usv_v, { "v", "x11.glx.render.Color4usv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Color4usv_v_item, { "v", "x11.glx.render.Color4usv.v", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EdgeFlagv_flag, { "flag", "x11.glx.render.EdgeFlagv.flag", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexdv_c, { "c", "x11.glx.render.Indexdv.c.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexdv_c_item, { "c", "x11.glx.render.Indexdv.c", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexfv_c, { "c", "x11.glx.render.Indexfv.c.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexfv_c_item, { "c", "x11.glx.render.Indexfv.c", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexiv_c, { "c", "x11.glx.render.Indexiv.c.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexiv_c_item, { "c", "x11.glx.render.Indexiv.c", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexsv_c, { "c", "x11.glx.render.Indexsv.c.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexsv_c_item, { "c", "x11.glx.render.Indexsv.c", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3bv_v, { "v", "x11.glx.render.Normal3bv.v", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3dv_v, { "v", "x11.glx.render.Normal3dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3dv_v_item, { "v", "x11.glx.render.Normal3dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3fv_v, { "v", "x11.glx.render.Normal3fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3fv_v_item, { "v", "x11.glx.render.Normal3fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3iv_v, { "v", "x11.glx.render.Normal3iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3iv_v_item, { "v", "x11.glx.render.Normal3iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3sv_v, { "v", "x11.glx.render.Normal3sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Normal3sv_v_item, { "v", "x11.glx.render.Normal3sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos2dv_v, { "v", "x11.glx.render.RasterPos2dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos2dv_v_item, { "v", "x11.glx.render.RasterPos2dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos2fv_v, { "v", "x11.glx.render.RasterPos2fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos2fv_v_item, { "v", "x11.glx.render.RasterPos2fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos2iv_v, { "v", "x11.glx.render.RasterPos2iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos2iv_v_item, { "v", "x11.glx.render.RasterPos2iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos2sv_v, { "v", "x11.glx.render.RasterPos2sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos2sv_v_item, { "v", "x11.glx.render.RasterPos2sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos3dv_v, { "v", "x11.glx.render.RasterPos3dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos3dv_v_item, { "v", "x11.glx.render.RasterPos3dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos3fv_v, { "v", "x11.glx.render.RasterPos3fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos3fv_v_item, { "v", "x11.glx.render.RasterPos3fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos3iv_v, { "v", "x11.glx.render.RasterPos3iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos3iv_v_item, { "v", "x11.glx.render.RasterPos3iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos3sv_v, { "v", "x11.glx.render.RasterPos3sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos3sv_v_item, { "v", "x11.glx.render.RasterPos3sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos4dv_v, { "v", "x11.glx.render.RasterPos4dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos4dv_v_item, { "v", "x11.glx.render.RasterPos4dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos4fv_v, { "v", "x11.glx.render.RasterPos4fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos4fv_v_item, { "v", "x11.glx.render.RasterPos4fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos4iv_v, { "v", "x11.glx.render.RasterPos4iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos4iv_v_item, { "v", "x11.glx.render.RasterPos4iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos4sv_v, { "v", "x11.glx.render.RasterPos4sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RasterPos4sv_v_item, { "v", "x11.glx.render.RasterPos4sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectdv_v1, { "v1", "x11.glx.render.Rectdv.v1.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectdv_v1_item, { "v1", "x11.glx.render.Rectdv.v1", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectdv_v2, { "v2", "x11.glx.render.Rectdv.v2.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectdv_v2_item, { "v2", "x11.glx.render.Rectdv.v2", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectfv_v1, { "v1", "x11.glx.render.Rectfv.v1.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectfv_v1_item, { "v1", "x11.glx.render.Rectfv.v1", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectfv_v2, { "v2", "x11.glx.render.Rectfv.v2.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectfv_v2_item, { "v2", "x11.glx.render.Rectfv.v2", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectiv_v1, { "v1", "x11.glx.render.Rectiv.v1.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectiv_v1_item, { "v1", "x11.glx.render.Rectiv.v1", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectiv_v2, { "v2", "x11.glx.render.Rectiv.v2.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectiv_v2_item, { "v2", "x11.glx.render.Rectiv.v2", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectsv_v1, { "v1", "x11.glx.render.Rectsv.v1.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectsv_v1_item, { "v1", "x11.glx.render.Rectsv.v1", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectsv_v2, { "v2", "x11.glx.render.Rectsv.v2.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rectsv_v2_item, { "v2", "x11.glx.render.Rectsv.v2", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord1dv_v, { "v", "x11.glx.render.TexCoord1dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord1dv_v_item, { "v", "x11.glx.render.TexCoord1dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord1fv_v, { "v", "x11.glx.render.TexCoord1fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord1fv_v_item, { "v", "x11.glx.render.TexCoord1fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord1iv_v, { "v", "x11.glx.render.TexCoord1iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord1iv_v_item, { "v", "x11.glx.render.TexCoord1iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord1sv_v, { "v", "x11.glx.render.TexCoord1sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord1sv_v_item, { "v", "x11.glx.render.TexCoord1sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord2dv_v, { "v", "x11.glx.render.TexCoord2dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord2dv_v_item, { "v", "x11.glx.render.TexCoord2dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord2fv_v, { "v", "x11.glx.render.TexCoord2fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord2fv_v_item, { "v", "x11.glx.render.TexCoord2fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord2iv_v, { "v", "x11.glx.render.TexCoord2iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord2iv_v_item, { "v", "x11.glx.render.TexCoord2iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord2sv_v, { "v", "x11.glx.render.TexCoord2sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord2sv_v_item, { "v", "x11.glx.render.TexCoord2sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord3dv_v, { "v", "x11.glx.render.TexCoord3dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord3dv_v_item, { "v", "x11.glx.render.TexCoord3dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord3fv_v, { "v", "x11.glx.render.TexCoord3fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord3fv_v_item, { "v", "x11.glx.render.TexCoord3fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord3iv_v, { "v", "x11.glx.render.TexCoord3iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord3iv_v_item, { "v", "x11.glx.render.TexCoord3iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord3sv_v, { "v", "x11.glx.render.TexCoord3sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord3sv_v_item, { "v", "x11.glx.render.TexCoord3sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord4dv_v, { "v", "x11.glx.render.TexCoord4dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord4dv_v_item, { "v", "x11.glx.render.TexCoord4dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord4fv_v, { "v", "x11.glx.render.TexCoord4fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord4fv_v_item, { "v", "x11.glx.render.TexCoord4fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord4iv_v, { "v", "x11.glx.render.TexCoord4iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord4iv_v_item, { "v", "x11.glx.render.TexCoord4iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord4sv_v, { "v", "x11.glx.render.TexCoord4sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexCoord4sv_v_item, { "v", "x11.glx.render.TexCoord4sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex2dv_v, { "v", "x11.glx.render.Vertex2dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex2dv_v_item, { "v", "x11.glx.render.Vertex2dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex2fv_v, { "v", "x11.glx.render.Vertex2fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex2fv_v_item, { "v", "x11.glx.render.Vertex2fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex2iv_v, { "v", "x11.glx.render.Vertex2iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex2iv_v_item, { "v", "x11.glx.render.Vertex2iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex2sv_v, { "v", "x11.glx.render.Vertex2sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex2sv_v_item, { "v", "x11.glx.render.Vertex2sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex3dv_v, { "v", "x11.glx.render.Vertex3dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex3dv_v_item, { "v", "x11.glx.render.Vertex3dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex3fv_v, { "v", "x11.glx.render.Vertex3fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex3fv_v_item, { "v", "x11.glx.render.Vertex3fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex3iv_v, { "v", "x11.glx.render.Vertex3iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex3iv_v_item, { "v", "x11.glx.render.Vertex3iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex3sv_v, { "v", "x11.glx.render.Vertex3sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex3sv_v_item, { "v", "x11.glx.render.Vertex3sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex4dv_v, { "v", "x11.glx.render.Vertex4dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex4dv_v_item, { "v", "x11.glx.render.Vertex4dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex4fv_v, { "v", "x11.glx.render.Vertex4fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex4fv_v_item, { "v", "x11.glx.render.Vertex4fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex4iv_v, { "v", "x11.glx.render.Vertex4iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex4iv_v_item, { "v", "x11.glx.render.Vertex4iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex4sv_v, { "v", "x11.glx.render.Vertex4sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Vertex4sv_v_item, { "v", "x11.glx.render.Vertex4sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClipPlane_plane, { "plane", "x11.glx.render.ClipPlane.plane", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClipPlane_equation, { "equation", "x11.glx.render.ClipPlane.equation.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClipPlane_equation_item, { "equation", "x11.glx.render.ClipPlane.equation", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorMaterial_face, { "face", "x11.glx.render.ColorMaterial.face", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorMaterial_mode, { "mode", "x11.glx.render.ColorMaterial.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CullFace_mode, { "mode", "x11.glx.render.CullFace.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogf_pname, { "pname", "x11.glx.render.Fogf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogf_param, { "param", "x11.glx.render.Fogf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogfv_pname, { "pname", "x11.glx.render.Fogfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogfv_params, { "params", "x11.glx.render.Fogfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogfv_params_item, { "params", "x11.glx.render.Fogfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogi_pname, { "pname", "x11.glx.render.Fogi.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogi_param, { "param", "x11.glx.render.Fogi.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogiv_pname, { "pname", "x11.glx.render.Fogiv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogiv_params, { "params", "x11.glx.render.Fogiv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Fogiv_params_item, { "params", "x11.glx.render.Fogiv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_FrontFace_mode, { "mode", "x11.glx.render.FrontFace.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Hint_target, { "target", "x11.glx.render.Hint.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Hint_mode, { "mode", "x11.glx.render.Hint.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightf_light, { "light", "x11.glx.render.Lightf.light", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightf_pname, { "pname", "x11.glx.render.Lightf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightf_param, { "param", "x11.glx.render.Lightf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightfv_light, { "light", "x11.glx.render.Lightfv.light", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightfv_pname, { "pname", "x11.glx.render.Lightfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightfv_params, { "params", "x11.glx.render.Lightfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightfv_params_item, { "params", "x11.glx.render.Lightfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lighti_light, { "light", "x11.glx.render.Lighti.light", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lighti_pname, { "pname", "x11.glx.render.Lighti.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lighti_param, { "param", "x11.glx.render.Lighti.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightiv_light, { "light", "x11.glx.render.Lightiv.light", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightiv_pname, { "pname", "x11.glx.render.Lightiv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightiv_params, { "params", "x11.glx.render.Lightiv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Lightiv_params_item, { "params", "x11.glx.render.Lightiv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModelf_pname, { "pname", "x11.glx.render.LightModelf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModelf_param, { "param", "x11.glx.render.LightModelf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModelfv_pname, { "pname", "x11.glx.render.LightModelfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModelfv_params, { "params", "x11.glx.render.LightModelfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModelfv_params_item, { "params", "x11.glx.render.LightModelfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModeli_pname, { "pname", "x11.glx.render.LightModeli.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModeli_param, { "param", "x11.glx.render.LightModeli.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModeliv_pname, { "pname", "x11.glx.render.LightModeliv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModeliv_params, { "params", "x11.glx.render.LightModeliv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LightModeliv_params_item, { "params", "x11.glx.render.LightModeliv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LineStipple_factor, { "factor", "x11.glx.render.LineStipple.factor", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LineStipple_pattern, { "pattern", "x11.glx.render.LineStipple.pattern", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LineWidth_width, { "width", "x11.glx.render.LineWidth.width", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialf_face, { "face", "x11.glx.render.Materialf.face", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialf_pname, { "pname", "x11.glx.render.Materialf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialf_param, { "param", "x11.glx.render.Materialf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialfv_face, { "face", "x11.glx.render.Materialfv.face", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialfv_pname, { "pname", "x11.glx.render.Materialfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialfv_params, { "params", "x11.glx.render.Materialfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialfv_params_item, { "params", "x11.glx.render.Materialfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materiali_face, { "face", "x11.glx.render.Materiali.face", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materiali_pname, { "pname", "x11.glx.render.Materiali.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materiali_param, { "param", "x11.glx.render.Materiali.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialiv_face, { "face", "x11.glx.render.Materialiv.face", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialiv_pname, { "pname", "x11.glx.render.Materialiv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialiv_params, { "params", "x11.glx.render.Materialiv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Materialiv_params_item, { "params", "x11.glx.render.Materialiv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointSize_size, { "size", "x11.glx.render.PointSize.size", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonMode_face, { "face", "x11.glx.render.PolygonMode.face", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonMode_mode, { "mode", "x11.glx.render.PolygonMode.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonStipple_mask, { "mask", "x11.glx.render.PolygonStipple.mask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonStipple_swapbytes, { "swap bytes", "x11.glx.render.PolygonStipple.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonStipple_lsbfirst, { "lsb first", "x11.glx.render.PolygonStipple.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonStipple_rowlength, { "row length", "x11.glx.render.PolygonStipple.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonStipple_skiprows, { "skip rows", "x11.glx.render.PolygonStipple.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonStipple_skippixels, { "skip pixels", "x11.glx.render.PolygonStipple.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonStipple_alignment, { "alignment", "x11.glx.render.PolygonStipple.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scissor_x, { "x", "x11.glx.render.Scissor.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scissor_y, { "y", "x11.glx.render.Scissor.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scissor_width, { "width", "x11.glx.render.Scissor.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scissor_height, { "height", "x11.glx.render.Scissor.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ShadeModel_mode, { "mode", "x11.glx.render.ShadeModel.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameterf_target, { "target", "x11.glx.render.TexParameterf.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameterf_pname, { "pname", "x11.glx.render.TexParameterf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameterf_param, { "param", "x11.glx.render.TexParameterf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameterfv_target, { "target", "x11.glx.render.TexParameterfv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameterfv_pname, { "pname", "x11.glx.render.TexParameterfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameterfv_params, { "params", "x11.glx.render.TexParameterfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameterfv_params_item, { "params", "x11.glx.render.TexParameterfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameteri_target, { "target", "x11.glx.render.TexParameteri.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameteri_pname, { "pname", "x11.glx.render.TexParameteri.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameteri_param, { "param", "x11.glx.render.TexParameteri.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameteriv_target, { "target", "x11.glx.render.TexParameteriv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameteriv_pname, { "pname", "x11.glx.render.TexParameteriv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameteriv_params, { "params", "x11.glx.render.TexParameteriv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexParameteriv_params_item, { "params", "x11.glx.render.TexParameteriv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_target, { "target", "x11.glx.render.TexImage1D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_level, { "level", "x11.glx.render.TexImage1D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_internalformat, { "internalformat", "x11.glx.render.TexImage1D.internalformat", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_width, { "width", "x11.glx.render.TexImage1D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_border, { "border", "x11.glx.render.TexImage1D.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_format, { "format", "x11.glx.render.TexImage1D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_type, { "type", "x11.glx.render.TexImage1D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_pixels, { "pixels", "x11.glx.render.TexImage1D.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_swapbytes, { "swap bytes", "x11.glx.render.TexImage1D.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_lsbfirst, { "lsb first", "x11.glx.render.TexImage1D.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_rowlength, { "row length", "x11.glx.render.TexImage1D.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_skiprows, { "skip rows", "x11.glx.render.TexImage1D.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_skippixels, { "skip pixels", "x11.glx.render.TexImage1D.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage1D_alignment, { "alignment", "x11.glx.render.TexImage1D.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_target, { "target", "x11.glx.render.TexImage2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_level, { "level", "x11.glx.render.TexImage2D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_internalformat, { "internalformat", "x11.glx.render.TexImage2D.internalformat", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_width, { "width", "x11.glx.render.TexImage2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_height, { "height", "x11.glx.render.TexImage2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_border, { "border", "x11.glx.render.TexImage2D.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_format, { "format", "x11.glx.render.TexImage2D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_type, { "type", "x11.glx.render.TexImage2D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_pixels, { "pixels", "x11.glx.render.TexImage2D.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_swapbytes, { "swap bytes", "x11.glx.render.TexImage2D.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_lsbfirst, { "lsb first", "x11.glx.render.TexImage2D.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_rowlength, { "row length", "x11.glx.render.TexImage2D.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_skiprows, { "skip rows", "x11.glx.render.TexImage2D.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_skippixels, { "skip pixels", "x11.glx.render.TexImage2D.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage2D_alignment, { "alignment", "x11.glx.render.TexImage2D.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvf_target, { "target", "x11.glx.render.TexEnvf.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvf_pname, { "pname", "x11.glx.render.TexEnvf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvf_param, { "param", "x11.glx.render.TexEnvf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvfv_target, { "target", "x11.glx.render.TexEnvfv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvfv_pname, { "pname", "x11.glx.render.TexEnvfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvfv_params, { "params", "x11.glx.render.TexEnvfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvfv_params_item, { "params", "x11.glx.render.TexEnvfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvi_target, { "target", "x11.glx.render.TexEnvi.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvi_pname, { "pname", "x11.glx.render.TexEnvi.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnvi_param, { "param", "x11.glx.render.TexEnvi.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnviv_target, { "target", "x11.glx.render.TexEnviv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnviv_pname, { "pname", "x11.glx.render.TexEnviv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnviv_params, { "params", "x11.glx.render.TexEnviv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexEnviv_params_item, { "params", "x11.glx.render.TexEnviv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGend_coord, { "coord", "x11.glx.render.TexGend.coord", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGend_pname, { "pname", "x11.glx.render.TexGend.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGend_param, { "param", "x11.glx.render.TexGend.param", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGendv_coord, { "coord", "x11.glx.render.TexGendv.coord", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGendv_pname, { "pname", "x11.glx.render.TexGendv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGendv_params, { "params", "x11.glx.render.TexGendv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGendv_params_item, { "params", "x11.glx.render.TexGendv.params", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGenf_coord, { "coord", "x11.glx.render.TexGenf.coord", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGenf_pname, { "pname", "x11.glx.render.TexGenf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGenf_param, { "param", "x11.glx.render.TexGenf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGenfv_coord, { "coord", "x11.glx.render.TexGenfv.coord", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGenfv_pname, { "pname", "x11.glx.render.TexGenfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGenfv_params, { "params", "x11.glx.render.TexGenfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGenfv_params_item, { "params", "x11.glx.render.TexGenfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGeni_coord, { "coord", "x11.glx.render.TexGeni.coord", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGeni_pname, { "pname", "x11.glx.render.TexGeni.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGeni_param, { "param", "x11.glx.render.TexGeni.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGeniv_coord, { "coord", "x11.glx.render.TexGeniv.coord", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGeniv_pname, { "pname", "x11.glx.render.TexGeniv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGeniv_params, { "params", "x11.glx.render.TexGeniv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexGeniv_params_item, { "params", "x11.glx.render.TexGeniv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadName_name, { "name", "x11.glx.render.LoadName.name", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PassThrough_token, { "token", "x11.glx.render.PassThrough.token", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PushName_name, { "name", "x11.glx.render.PushName.name", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawBuffer_mode, { "mode", "x11.glx.render.DrawBuffer.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Clear_mask, { "mask", "x11.glx.render.Clear.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearAccum_red, { "red", "x11.glx.render.ClearAccum.red", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearAccum_green, { "green", "x11.glx.render.ClearAccum.green", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearAccum_blue, { "blue", "x11.glx.render.ClearAccum.blue", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearAccum_alpha, { "alpha", "x11.glx.render.ClearAccum.alpha", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearIndex_c, { "c", "x11.glx.render.ClearIndex.c", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearColor_red, { "red", "x11.glx.render.ClearColor.red", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearColor_green, { "green", "x11.glx.render.ClearColor.green", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearColor_blue, { "blue", "x11.glx.render.ClearColor.blue", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearColor_alpha, { "alpha", "x11.glx.render.ClearColor.alpha", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearStencil_s, { "s", "x11.glx.render.ClearStencil.s", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ClearDepth_depth, { "depth", "x11.glx.render.ClearDepth.depth", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_StencilMask_mask, { "mask", "x11.glx.render.StencilMask.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorMask_red, { "red", "x11.glx.render.ColorMask.red", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorMask_green, { "green", "x11.glx.render.ColorMask.green", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorMask_blue, { "blue", "x11.glx.render.ColorMask.blue", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorMask_alpha, { "alpha", "x11.glx.render.ColorMask.alpha", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DepthMask_flag, { "flag", "x11.glx.render.DepthMask.flag", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_IndexMask_mask, { "mask", "x11.glx.render.IndexMask.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Accum_op, { "op", "x11.glx.render.Accum.op", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Accum_value, { "value", "x11.glx.render.Accum.value", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Disable_cap, { "cap", "x11.glx.render.Disable.cap", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Enable_cap, { "cap", "x11.glx.render.Enable.cap", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PushAttrib_mask, { "mask", "x11.glx.render.PushAttrib.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1d_target, { "target", "x11.glx.render.Map1d.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1d_u1, { "u1", "x11.glx.render.Map1d.u1", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1d_u2, { "u2", "x11.glx.render.Map1d.u2", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1d_stride, { "stride", "x11.glx.render.Map1d.stride", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1d_order, { "order", "x11.glx.render.Map1d.order", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1d_points, { "points", "x11.glx.render.Map1d.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1d_points_item, { "points", "x11.glx.render.Map1d.points", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1f_target, { "target", "x11.glx.render.Map1f.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1f_u1, { "u1", "x11.glx.render.Map1f.u1", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1f_u2, { "u2", "x11.glx.render.Map1f.u2", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1f_stride, { "stride", "x11.glx.render.Map1f.stride", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1f_order, { "order", "x11.glx.render.Map1f.order", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1f_points, { "points", "x11.glx.render.Map1f.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map1f_points_item, { "points", "x11.glx.render.Map1f.points", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_target, { "target", "x11.glx.render.Map2d.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_u1, { "u1", "x11.glx.render.Map2d.u1", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_u2, { "u2", "x11.glx.render.Map2d.u2", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_ustride, { "ustride", "x11.glx.render.Map2d.ustride", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_uorder, { "uorder", "x11.glx.render.Map2d.uorder", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_v1, { "v1", "x11.glx.render.Map2d.v1", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_v2, { "v2", "x11.glx.render.Map2d.v2", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_vstride, { "vstride", "x11.glx.render.Map2d.vstride", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_vorder, { "vorder", "x11.glx.render.Map2d.vorder", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_points, { "points", "x11.glx.render.Map2d.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2d_points_item, { "points", "x11.glx.render.Map2d.points", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_target, { "target", "x11.glx.render.Map2f.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_u1, { "u1", "x11.glx.render.Map2f.u1", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_u2, { "u2", "x11.glx.render.Map2f.u2", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_ustride, { "ustride", "x11.glx.render.Map2f.ustride", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_uorder, { "uorder", "x11.glx.render.Map2f.uorder", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_v1, { "v1", "x11.glx.render.Map2f.v1", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_v2, { "v2", "x11.glx.render.Map2f.v2", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_vstride, { "vstride", "x11.glx.render.Map2f.vstride", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_vorder, { "vorder", "x11.glx.render.Map2f.vorder", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_points, { "points", "x11.glx.render.Map2f.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Map2f_points_item, { "points", "x11.glx.render.Map2f.points", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid1d_un, { "un", "x11.glx.render.MapGrid1d.un", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid1d_u1, { "u1", "x11.glx.render.MapGrid1d.u1", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid1d_u2, { "u2", "x11.glx.render.MapGrid1d.u2", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid1f_un, { "un", "x11.glx.render.MapGrid1f.un", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid1f_u1, { "u1", "x11.glx.render.MapGrid1f.u1", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid1f_u2, { "u2", "x11.glx.render.MapGrid1f.u2", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2d_un, { "un", "x11.glx.render.MapGrid2d.un", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2d_u1, { "u1", "x11.glx.render.MapGrid2d.u1", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2d_u2, { "u2", "x11.glx.render.MapGrid2d.u2", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2d_vn, { "vn", "x11.glx.render.MapGrid2d.vn", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2d_v1, { "v1", "x11.glx.render.MapGrid2d.v1", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2d_v2, { "v2", "x11.glx.render.MapGrid2d.v2", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2f_un, { "un", "x11.glx.render.MapGrid2f.un", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2f_u1, { "u1", "x11.glx.render.MapGrid2f.u1", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2f_u2, { "u2", "x11.glx.render.MapGrid2f.u2", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2f_vn, { "vn", "x11.glx.render.MapGrid2f.vn", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2f_v1, { "v1", "x11.glx.render.MapGrid2f.v1", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MapGrid2f_v2, { "v2", "x11.glx.render.MapGrid2f.v2", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalCoord1dv_u, { "u", "x11.glx.render.EvalCoord1dv.u.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalCoord1dv_u_item, { "u", "x11.glx.render.EvalCoord1dv.u", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalCoord1fv_u, { "u", "x11.glx.render.EvalCoord1fv.u.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalCoord1fv_u_item, { "u", "x11.glx.render.EvalCoord1fv.u", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalCoord2dv_u, { "u", "x11.glx.render.EvalCoord2dv.u.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalCoord2dv_u_item, { "u", "x11.glx.render.EvalCoord2dv.u", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalCoord2fv_u, { "u", "x11.glx.render.EvalCoord2fv.u.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalCoord2fv_u_item, { "u", "x11.glx.render.EvalCoord2fv.u", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalMesh1_mode, { "mode", "x11.glx.render.EvalMesh1.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalMesh1_i1, { "i1", "x11.glx.render.EvalMesh1.i1", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalMesh1_i2, { "i2", "x11.glx.render.EvalMesh1.i2", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalPoint1_i, { "i", "x11.glx.render.EvalPoint1.i", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalMesh2_mode, { "mode", "x11.glx.render.EvalMesh2.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalMesh2_i1, { "i1", "x11.glx.render.EvalMesh2.i1", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalMesh2_i2, { "i2", "x11.glx.render.EvalMesh2.i2", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalMesh2_j1, { "j1", "x11.glx.render.EvalMesh2.j1", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalMesh2_j2, { "j2", "x11.glx.render.EvalMesh2.j2", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalPoint2_i, { "i", "x11.glx.render.EvalPoint2.i", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EvalPoint2_j, { "j", "x11.glx.render.EvalPoint2.j", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_AlphaFunc_func, { "func", "x11.glx.render.AlphaFunc.func", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_AlphaFunc_ref, { "ref", "x11.glx.render.AlphaFunc.ref", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendFunc_sfactor, { "sfactor", "x11.glx.render.BlendFunc.sfactor", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendFunc_dfactor, { "dfactor", "x11.glx.render.BlendFunc.dfactor", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_LogicOp_opcode, { "opcode", "x11.glx.render.LogicOp.opcode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_StencilFunc_func, { "func", "x11.glx.render.StencilFunc.func", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_StencilFunc_ref, { "ref", "x11.glx.render.StencilFunc.ref", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_StencilFunc_mask, { "mask", "x11.glx.render.StencilFunc.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_StencilOp_fail, { "fail", "x11.glx.render.StencilOp.fail", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_StencilOp_zfail, { "zfail", "x11.glx.render.StencilOp.zfail", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_StencilOp_zpass, { "zpass", "x11.glx.render.StencilOp.zpass", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_DepthFunc_func, { "func", "x11.glx.render.DepthFunc.func", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelZoom_xfactor, { "xfactor", "x11.glx.render.PixelZoom.xfactor", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelZoom_yfactor, { "yfactor", "x11.glx.render.PixelZoom.yfactor", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelTransferf_pname, { "pname", "x11.glx.render.PixelTransferf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelTransferf_param, { "param", "x11.glx.render.PixelTransferf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelTransferi_pname, { "pname", "x11.glx.render.PixelTransferi.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelTransferi_param, { "param", "x11.glx.render.PixelTransferi.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapfv_map, { "map", "x11.glx.render.PixelMapfv.map", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapfv_mapsize, { "mapsize", "x11.glx.render.PixelMapfv.mapsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapfv_values, { "values", "x11.glx.render.PixelMapfv.values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapfv_values_item, { "values", "x11.glx.render.PixelMapfv.values", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapuiv_map, { "map", "x11.glx.render.PixelMapuiv.map", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapuiv_mapsize, { "mapsize", "x11.glx.render.PixelMapuiv.mapsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapuiv_values, { "values", "x11.glx.render.PixelMapuiv.values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapuiv_values_item, { "values", "x11.glx.render.PixelMapuiv.values", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapusv_map, { "map", "x11.glx.render.PixelMapusv.map", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapusv_mapsize, { "mapsize", "x11.glx.render.PixelMapusv.mapsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapusv_values, { "values", "x11.glx.render.PixelMapusv.values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelMapusv_values_item, { "values", "x11.glx.render.PixelMapusv.values", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ReadBuffer_mode, { "mode", "x11.glx.render.ReadBuffer.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyPixels_x, { "x", "x11.glx.render.CopyPixels.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyPixels_y, { "y", "x11.glx.render.CopyPixels.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyPixels_width, { "width", "x11.glx.render.CopyPixels.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyPixels_height, { "height", "x11.glx.render.CopyPixels.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyPixels_type, { "type", "x11.glx.render.CopyPixels.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_width, { "width", "x11.glx.render.DrawPixels.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_height, { "height", "x11.glx.render.DrawPixels.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_format, { "format", "x11.glx.render.DrawPixels.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_type, { "type", "x11.glx.render.DrawPixels.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_pixels, { "pixels", "x11.glx.render.DrawPixels.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_swapbytes, { "swap bytes", "x11.glx.render.DrawPixels.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_lsbfirst, { "lsb first", "x11.glx.render.DrawPixels.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_rowlength, { "row length", "x11.glx.render.DrawPixels.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_skiprows, { "skip rows", "x11.glx.render.DrawPixels.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_skippixels, { "skip pixels", "x11.glx.render.DrawPixels.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawPixels_alignment, { "alignment", "x11.glx.render.DrawPixels.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DepthRange_zNear, { "zNear", "x11.glx.render.DepthRange.zNear", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DepthRange_zFar, { "zFar", "x11.glx.render.DepthRange.zFar", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Frustum_left, { "left", "x11.glx.render.Frustum.left", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Frustum_right, { "right", "x11.glx.render.Frustum.right", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Frustum_bottom, { "bottom", "x11.glx.render.Frustum.bottom", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Frustum_top, { "top", "x11.glx.render.Frustum.top", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Frustum_zNear, { "zNear", "x11.glx.render.Frustum.zNear", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Frustum_zFar, { "zFar", "x11.glx.render.Frustum.zFar", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadMatrixf_m, { "m", "x11.glx.render.LoadMatrixf.m.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadMatrixf_m_item, { "m", "x11.glx.render.LoadMatrixf.m", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadMatrixd_m, { "m", "x11.glx.render.LoadMatrixd.m.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadMatrixd_m_item, { "m", "x11.glx.render.LoadMatrixd.m", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixMode_mode, { "mode", "x11.glx.render.MatrixMode.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultMatrixf_m, { "m", "x11.glx.render.MultMatrixf.m.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultMatrixf_m_item, { "m", "x11.glx.render.MultMatrixf.m", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultMatrixd_m, { "m", "x11.glx.render.MultMatrixd.m.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultMatrixd_m_item, { "m", "x11.glx.render.MultMatrixd.m", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Ortho_left, { "left", "x11.glx.render.Ortho.left", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Ortho_right, { "right", "x11.glx.render.Ortho.right", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Ortho_bottom, { "bottom", "x11.glx.render.Ortho.bottom", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Ortho_top, { "top", "x11.glx.render.Ortho.top", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Ortho_zNear, { "zNear", "x11.glx.render.Ortho.zNear", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Ortho_zFar, { "zFar", "x11.glx.render.Ortho.zFar", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rotated_angle, { "angle", "x11.glx.render.Rotated.angle", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rotated_x, { "x", "x11.glx.render.Rotated.x", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rotated_y, { "y", "x11.glx.render.Rotated.y", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rotated_z, { "z", "x11.glx.render.Rotated.z", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rotatef_angle, { "angle", "x11.glx.render.Rotatef.angle", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rotatef_x, { "x", "x11.glx.render.Rotatef.x", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rotatef_y, { "y", "x11.glx.render.Rotatef.y", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Rotatef_z, { "z", "x11.glx.render.Rotatef.z", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scaled_x, { "x", "x11.glx.render.Scaled.x", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scaled_y, { "y", "x11.glx.render.Scaled.y", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scaled_z, { "z", "x11.glx.render.Scaled.z", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scalef_x, { "x", "x11.glx.render.Scalef.x", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scalef_y, { "y", "x11.glx.render.Scalef.y", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Scalef_z, { "z", "x11.glx.render.Scalef.z", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Translated_x, { "x", "x11.glx.render.Translated.x", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Translated_y, { "y", "x11.glx.render.Translated.y", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Translated_z, { "z", "x11.glx.render.Translated.z", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Translatef_x, { "x", "x11.glx.render.Translatef.x", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Translatef_y, { "y", "x11.glx.render.Translatef.y", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Translatef_z, { "z", "x11.glx.render.Translatef.z", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Viewport_x, { "x", "x11.glx.render.Viewport.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Viewport_y, { "y", "x11.glx.render.Viewport.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Viewport_width, { "width", "x11.glx.render.Viewport.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Viewport_height, { "height", "x11.glx.render.Viewport.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawArrays_mode, { "mode", "x11.glx.render.DrawArrays.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawArrays_first, { "first", "x11.glx.render.DrawArrays.first", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawArrays_count, { "count", "x11.glx.render.DrawArrays.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonOffset_factor, { "factor", "x11.glx.render.PolygonOffset.factor", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PolygonOffset_units, { "units", "x11.glx.render.PolygonOffset.units", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage1D_target, { "target", "x11.glx.render.CopyTexImage1D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage1D_level, { "level", "x11.glx.render.CopyTexImage1D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage1D_internalformat, { "internalformat", "x11.glx.render.CopyTexImage1D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage1D_x, { "x", "x11.glx.render.CopyTexImage1D.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage1D_y, { "y", "x11.glx.render.CopyTexImage1D.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage1D_width, { "width", "x11.glx.render.CopyTexImage1D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage1D_border, { "border", "x11.glx.render.CopyTexImage1D.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage2D_target, { "target", "x11.glx.render.CopyTexImage2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage2D_level, { "level", "x11.glx.render.CopyTexImage2D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage2D_internalformat, { "internalformat", "x11.glx.render.CopyTexImage2D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage2D_x, { "x", "x11.glx.render.CopyTexImage2D.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage2D_y, { "y", "x11.glx.render.CopyTexImage2D.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage2D_width, { "width", "x11.glx.render.CopyTexImage2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage2D_height, { "height", "x11.glx.render.CopyTexImage2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexImage2D_border, { "border", "x11.glx.render.CopyTexImage2D.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage1D_target, { "target", "x11.glx.render.CopyTexSubImage1D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage1D_level, { "level", "x11.glx.render.CopyTexSubImage1D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage1D_xoffset, { "xoffset", "x11.glx.render.CopyTexSubImage1D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage1D_x, { "x", "x11.glx.render.CopyTexSubImage1D.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage1D_y, { "y", "x11.glx.render.CopyTexSubImage1D.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage1D_width, { "width", "x11.glx.render.CopyTexSubImage1D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage2D_target, { "target", "x11.glx.render.CopyTexSubImage2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage2D_level, { "level", "x11.glx.render.CopyTexSubImage2D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage2D_xoffset, { "xoffset", "x11.glx.render.CopyTexSubImage2D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage2D_yoffset, { "yoffset", "x11.glx.render.CopyTexSubImage2D.yoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage2D_x, { "x", "x11.glx.render.CopyTexSubImage2D.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage2D_y, { "y", "x11.glx.render.CopyTexSubImage2D.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage2D_width, { "width", "x11.glx.render.CopyTexSubImage2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage2D_height, { "height", "x11.glx.render.CopyTexSubImage2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_target, { "target", "x11.glx.render.TexSubImage1D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_level, { "level", "x11.glx.render.TexSubImage1D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_xoffset, { "xoffset", "x11.glx.render.TexSubImage1D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_width, { "width", "x11.glx.render.TexSubImage1D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_format, { "format", "x11.glx.render.TexSubImage1D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_type, { "type", "x11.glx.render.TexSubImage1D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_UNUSED, { "UNUSED", "x11.glx.render.TexSubImage1D.UNUSED", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_pixels, { "pixels", "x11.glx.render.TexSubImage1D.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_swapbytes, { "swap bytes", "x11.glx.render.TexSubImage1D.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_lsbfirst, { "lsb first", "x11.glx.render.TexSubImage1D.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_rowlength, { "row length", "x11.glx.render.TexSubImage1D.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_skiprows, { "skip rows", "x11.glx.render.TexSubImage1D.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_skippixels, { "skip pixels", "x11.glx.render.TexSubImage1D.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage1D_alignment, { "alignment", "x11.glx.render.TexSubImage1D.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_target, { "target", "x11.glx.render.TexSubImage2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_level, { "level", "x11.glx.render.TexSubImage2D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_xoffset, { "xoffset", "x11.glx.render.TexSubImage2D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_yoffset, { "yoffset", "x11.glx.render.TexSubImage2D.yoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_width, { "width", "x11.glx.render.TexSubImage2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_height, { "height", "x11.glx.render.TexSubImage2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_format, { "format", "x11.glx.render.TexSubImage2D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_type, { "type", "x11.glx.render.TexSubImage2D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_UNUSED, { "UNUSED", "x11.glx.render.TexSubImage2D.UNUSED", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_pixels, { "pixels", "x11.glx.render.TexSubImage2D.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_swapbytes, { "swap bytes", "x11.glx.render.TexSubImage2D.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_lsbfirst, { "lsb first", "x11.glx.render.TexSubImage2D.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_rowlength, { "row length", "x11.glx.render.TexSubImage2D.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_skiprows, { "skip rows", "x11.glx.render.TexSubImage2D.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_skippixels, { "skip pixels", "x11.glx.render.TexSubImage2D.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage2D_alignment, { "alignment", "x11.glx.render.TexSubImage2D.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BindTexture_target, { "target", "x11.glx.render.BindTexture.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BindTexture_texture, { "texture", "x11.glx.render.BindTexture.texture", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PrioritizeTextures_n, { "n", "x11.glx.render.PrioritizeTextures.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PrioritizeTextures_textures, { "textures", "x11.glx.render.PrioritizeTextures.textures.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PrioritizeTextures_textures_item, { "textures", "x11.glx.render.PrioritizeTextures.textures", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PrioritizeTextures_priorities, { "priorities", "x11.glx.render.PrioritizeTextures.priorities.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PrioritizeTextures_priorities_item, { "priorities", "x11.glx.render.PrioritizeTextures.priorities", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Indexubv_c, { "c", "x11.glx.render.Indexubv.c", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendColor_red, { "red", "x11.glx.render.BlendColor.red", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendColor_green, { "green", "x11.glx.render.BlendColor.green", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendColor_blue, { "blue", "x11.glx.render.BlendColor.blue", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendColor_alpha, { "alpha", "x11.glx.render.BlendColor.alpha", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendEquation_mode, { "mode", "x11.glx.render.BlendEquation.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_target, { "target", "x11.glx.render.ColorTable.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_internalformat, { "internalformat", "x11.glx.render.ColorTable.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_width, { "width", "x11.glx.render.ColorTable.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_format, { "format", "x11.glx.render.ColorTable.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_type, { "type", "x11.glx.render.ColorTable.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_table, { "table", "x11.glx.render.ColorTable.table", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_swapbytes, { "swap bytes", "x11.glx.render.ColorTable.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_lsbfirst, { "lsb first", "x11.glx.render.ColorTable.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_rowlength, { "row length", "x11.glx.render.ColorTable.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_skiprows, { "skip rows", "x11.glx.render.ColorTable.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_skippixels, { "skip pixels", "x11.glx.render.ColorTable.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTable_alignment, { "alignment", "x11.glx.render.ColorTable.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTableParameterfv_target, { "target", "x11.glx.render.ColorTableParameterfv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTableParameterfv_pname, { "pname", "x11.glx.render.ColorTableParameterfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTableParameterfv_params, { "params", "x11.glx.render.ColorTableParameterfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTableParameterfv_params_item, { "params", "x11.glx.render.ColorTableParameterfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTableParameteriv_target, { "target", "x11.glx.render.ColorTableParameteriv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTableParameteriv_pname, { "pname", "x11.glx.render.ColorTableParameteriv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTableParameteriv_params, { "params", "x11.glx.render.ColorTableParameteriv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorTableParameteriv_params_item, { "params", "x11.glx.render.ColorTableParameteriv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorTable_target, { "target", "x11.glx.render.CopyColorTable.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorTable_internalformat, { "internalformat", "x11.glx.render.CopyColorTable.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorTable_x, { "x", "x11.glx.render.CopyColorTable.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorTable_y, { "y", "x11.glx.render.CopyColorTable.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorTable_width, { "width", "x11.glx.render.CopyColorTable.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_target, { "target", "x11.glx.render.ColorSubTable.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_start, { "start", "x11.glx.render.ColorSubTable.start", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_count, { "count", "x11.glx.render.ColorSubTable.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_format, { "format", "x11.glx.render.ColorSubTable.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_type, { "type", "x11.glx.render.ColorSubTable.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_data, { "data", "x11.glx.render.ColorSubTable.data", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_swapbytes, { "swap bytes", "x11.glx.render.ColorSubTable.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_lsbfirst, { "lsb first", "x11.glx.render.ColorSubTable.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_rowlength, { "row length", "x11.glx.render.ColorSubTable.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_skiprows, { "skip rows", "x11.glx.render.ColorSubTable.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_skippixels, { "skip pixels", "x11.glx.render.ColorSubTable.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ColorSubTable_alignment, { "alignment", "x11.glx.render.ColorSubTable.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorSubTable_target, { "target", "x11.glx.render.CopyColorSubTable.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorSubTable_start, { "start", "x11.glx.render.CopyColorSubTable.start", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorSubTable_x, { "x", "x11.glx.render.CopyColorSubTable.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorSubTable_y, { "y", "x11.glx.render.CopyColorSubTable.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyColorSubTable_width, { "width", "x11.glx.render.CopyColorSubTable.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_target, { "target", "x11.glx.render.ConvolutionFilter1D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_internalformat, { "internalformat", "x11.glx.render.ConvolutionFilter1D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_width, { "width", "x11.glx.render.ConvolutionFilter1D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_format, { "format", "x11.glx.render.ConvolutionFilter1D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_type, { "type", "x11.glx.render.ConvolutionFilter1D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_image, { "image", "x11.glx.render.ConvolutionFilter1D.image", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_swapbytes, { "swap bytes", "x11.glx.render.ConvolutionFilter1D.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_lsbfirst, { "lsb first", "x11.glx.render.ConvolutionFilter1D.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_rowlength, { "row length", "x11.glx.render.ConvolutionFilter1D.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_skiprows, { "skip rows", "x11.glx.render.ConvolutionFilter1D.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_skippixels, { "skip pixels", "x11.glx.render.ConvolutionFilter1D.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter1D_alignment, { "alignment", "x11.glx.render.ConvolutionFilter1D.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_target, { "target", "x11.glx.render.ConvolutionFilter2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_internalformat, { "internalformat", "x11.glx.render.ConvolutionFilter2D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_width, { "width", "x11.glx.render.ConvolutionFilter2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_height, { "height", "x11.glx.render.ConvolutionFilter2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_format, { "format", "x11.glx.render.ConvolutionFilter2D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_type, { "type", "x11.glx.render.ConvolutionFilter2D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_image, { "image", "x11.glx.render.ConvolutionFilter2D.image", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_swapbytes, { "swap bytes", "x11.glx.render.ConvolutionFilter2D.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_lsbfirst, { "lsb first", "x11.glx.render.ConvolutionFilter2D.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_rowlength, { "row length", "x11.glx.render.ConvolutionFilter2D.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_skiprows, { "skip rows", "x11.glx.render.ConvolutionFilter2D.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_skippixels, { "skip pixels", "x11.glx.render.ConvolutionFilter2D.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionFilter2D_alignment, { "alignment", "x11.glx.render.ConvolutionFilter2D.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameterf_target, { "target", "x11.glx.render.ConvolutionParameterf.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameterf_pname, { "pname", "x11.glx.render.ConvolutionParameterf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameterf_params, { "params", "x11.glx.render.ConvolutionParameterf.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameterfv_target, { "target", "x11.glx.render.ConvolutionParameterfv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameterfv_pname, { "pname", "x11.glx.render.ConvolutionParameterfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameterfv_params, { "params", "x11.glx.render.ConvolutionParameterfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameterfv_params_item, { "params", "x11.glx.render.ConvolutionParameterfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameteri_target, { "target", "x11.glx.render.ConvolutionParameteri.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameteri_pname, { "pname", "x11.glx.render.ConvolutionParameteri.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameteri_params, { "params", "x11.glx.render.ConvolutionParameteri.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameteriv_target, { "target", "x11.glx.render.ConvolutionParameteriv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameteriv_pname, { "pname", "x11.glx.render.ConvolutionParameteriv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameteriv_params, { "params", "x11.glx.render.ConvolutionParameteriv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ConvolutionParameteriv_params_item, { "params", "x11.glx.render.ConvolutionParameteriv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter1D_target, { "target", "x11.glx.render.CopyConvolutionFilter1D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter1D_internalformat, { "internalformat", "x11.glx.render.CopyConvolutionFilter1D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter1D_x, { "x", "x11.glx.render.CopyConvolutionFilter1D.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter1D_y, { "y", "x11.glx.render.CopyConvolutionFilter1D.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter1D_width, { "width", "x11.glx.render.CopyConvolutionFilter1D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter2D_target, { "target", "x11.glx.render.CopyConvolutionFilter2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter2D_internalformat, { "internalformat", "x11.glx.render.CopyConvolutionFilter2D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter2D_x, { "x", "x11.glx.render.CopyConvolutionFilter2D.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter2D_y, { "y", "x11.glx.render.CopyConvolutionFilter2D.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter2D_width, { "width", "x11.glx.render.CopyConvolutionFilter2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyConvolutionFilter2D_height, { "height", "x11.glx.render.CopyConvolutionFilter2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SeparableFilter2D_target, { "target", "x11.glx.render.SeparableFilter2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_SeparableFilter2D_internalformat, { "internalformat", "x11.glx.render.SeparableFilter2D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_SeparableFilter2D_width, { "width", "x11.glx.render.SeparableFilter2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SeparableFilter2D_height, { "height", "x11.glx.render.SeparableFilter2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SeparableFilter2D_format, { "format", "x11.glx.render.SeparableFilter2D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_SeparableFilter2D_type, { "type", "x11.glx.render.SeparableFilter2D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_SeparableFilter2D_row, { "row", "x11.glx.render.SeparableFilter2D.row", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SeparableFilter2D_column, { "column", "x11.glx.render.SeparableFilter2D.column", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Histogram_target, { "target", "x11.glx.render.Histogram.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Histogram_width, { "width", "x11.glx.render.Histogram.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Histogram_internalformat, { "internalformat", "x11.glx.render.Histogram.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Histogram_sink, { "sink", "x11.glx.render.Histogram.sink", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_Minmax_target, { "target", "x11.glx.render.Minmax.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Minmax_internalformat, { "internalformat", "x11.glx.render.Minmax.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_Minmax_sink, { "sink", "x11.glx.render.Minmax.sink", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ResetHistogram_target, { "target", "x11.glx.render.ResetHistogram.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ResetMinmax_target, { "target", "x11.glx.render.ResetMinmax.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_target, { "target", "x11.glx.render.TexImage3D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_level, { "level", "x11.glx.render.TexImage3D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_internalformat, { "internalformat", "x11.glx.render.TexImage3D.internalformat", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_width, { "width", "x11.glx.render.TexImage3D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_height, { "height", "x11.glx.render.TexImage3D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_depth, { "depth", "x11.glx.render.TexImage3D.depth", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_border, { "border", "x11.glx.render.TexImage3D.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_format, { "format", "x11.glx.render.TexImage3D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_type, { "type", "x11.glx.render.TexImage3D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_pixels, { "pixels", "x11.glx.render.TexImage3D.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_swapbytes, { "swap bytes", "x11.glx.render.TexImage3D.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_lsbfirst, { "lsb first", "x11.glx.render.TexImage3D.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_rowlength, { "row length", "x11.glx.render.TexImage3D.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_skiprows, { "skip rows", "x11.glx.render.TexImage3D.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_skippixels, { "skip pixels", "x11.glx.render.TexImage3D.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage3D_alignment, { "alignment", "x11.glx.render.TexImage3D.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_target, { "target", "x11.glx.render.TexSubImage3D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_level, { "level", "x11.glx.render.TexSubImage3D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_xoffset, { "xoffset", "x11.glx.render.TexSubImage3D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_yoffset, { "yoffset", "x11.glx.render.TexSubImage3D.yoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_zoffset, { "zoffset", "x11.glx.render.TexSubImage3D.zoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_width, { "width", "x11.glx.render.TexSubImage3D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_height, { "height", "x11.glx.render.TexSubImage3D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_depth, { "depth", "x11.glx.render.TexSubImage3D.depth", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_format, { "format", "x11.glx.render.TexSubImage3D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_type, { "type", "x11.glx.render.TexSubImage3D.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_UNUSED, { "UNUSED", "x11.glx.render.TexSubImage3D.UNUSED", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_pixels, { "pixels", "x11.glx.render.TexSubImage3D.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_swapbytes, { "swap bytes", "x11.glx.render.TexSubImage3D.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_lsbfirst, { "lsb first", "x11.glx.render.TexSubImage3D.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_rowlength, { "row length", "x11.glx.render.TexSubImage3D.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_skiprows, { "skip rows", "x11.glx.render.TexSubImage3D.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_skippixels, { "skip pixels", "x11.glx.render.TexSubImage3D.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage3D_alignment, { "alignment", "x11.glx.render.TexSubImage3D.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_target, { "target", "x11.glx.render.CopyTexSubImage3D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_level, { "level", "x11.glx.render.CopyTexSubImage3D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_xoffset, { "xoffset", "x11.glx.render.CopyTexSubImage3D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_yoffset, { "yoffset", "x11.glx.render.CopyTexSubImage3D.yoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_zoffset, { "zoffset", "x11.glx.render.CopyTexSubImage3D.zoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_x, { "x", "x11.glx.render.CopyTexSubImage3D.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_y, { "y", "x11.glx.render.CopyTexSubImage3D.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_width, { "width", "x11.glx.render.CopyTexSubImage3D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CopyTexSubImage3D_height, { "height", "x11.glx.render.CopyTexSubImage3D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ActiveTexture_texture, { "texture", "x11.glx.render.ActiveTexture.texture", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1dv_target, { "target", "x11.glx.render.MultiTexCoord1dv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1dv_v, { "v", "x11.glx.render.MultiTexCoord1dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1dv_v_item, { "v", "x11.glx.render.MultiTexCoord1dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1iv_target, { "target", "x11.glx.render.MultiTexCoord1iv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1iv_v, { "v", "x11.glx.render.MultiTexCoord1iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1iv_v_item, { "v", "x11.glx.render.MultiTexCoord1iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1sv_target, { "target", "x11.glx.render.MultiTexCoord1sv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1sv_v, { "v", "x11.glx.render.MultiTexCoord1sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1sv_v_item, { "v", "x11.glx.render.MultiTexCoord1sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2dv_target, { "target", "x11.glx.render.MultiTexCoord2dv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2dv_v, { "v", "x11.glx.render.MultiTexCoord2dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2dv_v_item, { "v", "x11.glx.render.MultiTexCoord2dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2iv_target, { "target", "x11.glx.render.MultiTexCoord2iv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2iv_v, { "v", "x11.glx.render.MultiTexCoord2iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2iv_v_item, { "v", "x11.glx.render.MultiTexCoord2iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2sv_target, { "target", "x11.glx.render.MultiTexCoord2sv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2sv_v, { "v", "x11.glx.render.MultiTexCoord2sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2sv_v_item, { "v", "x11.glx.render.MultiTexCoord2sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3dv_target, { "target", "x11.glx.render.MultiTexCoord3dv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3dv_v, { "v", "x11.glx.render.MultiTexCoord3dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3dv_v_item, { "v", "x11.glx.render.MultiTexCoord3dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3iv_target, { "target", "x11.glx.render.MultiTexCoord3iv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3iv_v, { "v", "x11.glx.render.MultiTexCoord3iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3iv_v_item, { "v", "x11.glx.render.MultiTexCoord3iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3sv_target, { "target", "x11.glx.render.MultiTexCoord3sv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3sv_v, { "v", "x11.glx.render.MultiTexCoord3sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3sv_v_item, { "v", "x11.glx.render.MultiTexCoord3sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4dv_target, { "target", "x11.glx.render.MultiTexCoord4dv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4dv_v, { "v", "x11.glx.render.MultiTexCoord4dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4dv_v_item, { "v", "x11.glx.render.MultiTexCoord4dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4iv_target, { "target", "x11.glx.render.MultiTexCoord4iv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4iv_v, { "v", "x11.glx.render.MultiTexCoord4iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4iv_v_item, { "v", "x11.glx.render.MultiTexCoord4iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4sv_target, { "target", "x11.glx.render.MultiTexCoord4sv.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4sv_v, { "v", "x11.glx.render.MultiTexCoord4sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4sv_v_item, { "v", "x11.glx.render.MultiTexCoord4sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SampleCoverage_value, { "value", "x11.glx.render.SampleCoverage.value", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SampleCoverage_invert, { "invert", "x11.glx.render.SampleCoverage.invert", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_target, { "target", "x11.glx.render.CompressedTexImage3D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_level, { "level", "x11.glx.render.CompressedTexImage3D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_internalformat, { "internalformat", "x11.glx.render.CompressedTexImage3D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_width, { "width", "x11.glx.render.CompressedTexImage3D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_height, { "height", "x11.glx.render.CompressedTexImage3D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_depth, { "depth", "x11.glx.render.CompressedTexImage3D.depth", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_border, { "border", "x11.glx.render.CompressedTexImage3D.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_imageSize, { "imageSize", "x11.glx.render.CompressedTexImage3D.imageSize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage3D_data, { "data", "x11.glx.render.CompressedTexImage3D.data", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage2D_target, { "target", "x11.glx.render.CompressedTexImage2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage2D_level, { "level", "x11.glx.render.CompressedTexImage2D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage2D_internalformat, { "internalformat", "x11.glx.render.CompressedTexImage2D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage2D_width, { "width", "x11.glx.render.CompressedTexImage2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage2D_height, { "height", "x11.glx.render.CompressedTexImage2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage2D_border, { "border", "x11.glx.render.CompressedTexImage2D.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage2D_imageSize, { "imageSize", "x11.glx.render.CompressedTexImage2D.imageSize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage2D_data, { "data", "x11.glx.render.CompressedTexImage2D.data", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage1D_target, { "target", "x11.glx.render.CompressedTexImage1D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage1D_level, { "level", "x11.glx.render.CompressedTexImage1D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage1D_internalformat, { "internalformat", "x11.glx.render.CompressedTexImage1D.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage1D_width, { "width", "x11.glx.render.CompressedTexImage1D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage1D_border, { "border", "x11.glx.render.CompressedTexImage1D.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage1D_imageSize, { "imageSize", "x11.glx.render.CompressedTexImage1D.imageSize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexImage1D_data, { "data", "x11.glx.render.CompressedTexImage1D.data", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_target, { "target", "x11.glx.render.CompressedTexSubImage3D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_level, { "level", "x11.glx.render.CompressedTexSubImage3D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_xoffset, { "xoffset", "x11.glx.render.CompressedTexSubImage3D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_yoffset, { "yoffset", "x11.glx.render.CompressedTexSubImage3D.yoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_zoffset, { "zoffset", "x11.glx.render.CompressedTexSubImage3D.zoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_width, { "width", "x11.glx.render.CompressedTexSubImage3D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_height, { "height", "x11.glx.render.CompressedTexSubImage3D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_depth, { "depth", "x11.glx.render.CompressedTexSubImage3D.depth", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_format, { "format", "x11.glx.render.CompressedTexSubImage3D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_imageSize, { "imageSize", "x11.glx.render.CompressedTexSubImage3D.imageSize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage3D_data, { "data", "x11.glx.render.CompressedTexSubImage3D.data", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_target, { "target", "x11.glx.render.CompressedTexSubImage2D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_level, { "level", "x11.glx.render.CompressedTexSubImage2D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_xoffset, { "xoffset", "x11.glx.render.CompressedTexSubImage2D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_yoffset, { "yoffset", "x11.glx.render.CompressedTexSubImage2D.yoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_width, { "width", "x11.glx.render.CompressedTexSubImage2D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_height, { "height", "x11.glx.render.CompressedTexSubImage2D.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_format, { "format", "x11.glx.render.CompressedTexSubImage2D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_imageSize, { "imageSize", "x11.glx.render.CompressedTexSubImage2D.imageSize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage2D_data, { "data", "x11.glx.render.CompressedTexSubImage2D.data", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage1D_target, { "target", "x11.glx.render.CompressedTexSubImage1D.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage1D_level, { "level", "x11.glx.render.CompressedTexSubImage1D.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage1D_xoffset, { "xoffset", "x11.glx.render.CompressedTexSubImage1D.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage1D_width, { "width", "x11.glx.render.CompressedTexSubImage1D.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage1D_format, { "format", "x11.glx.render.CompressedTexSubImage1D.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage1D_imageSize, { "imageSize", "x11.glx.render.CompressedTexSubImage1D.imageSize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CompressedTexSubImage1D_data, { "data", "x11.glx.render.CompressedTexSubImage1D.data", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendFuncSeparate_sfactorRGB, { "sfactorRGB", "x11.glx.render.BlendFuncSeparate.sfactorRGB", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendFuncSeparate_dfactorRGB, { "dfactorRGB", "x11.glx.render.BlendFuncSeparate.dfactorRGB", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendFuncSeparate_sfactorAlpha, { "sfactorAlpha", "x11.glx.render.BlendFuncSeparate.sfactorAlpha", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendFuncSeparate_dfactorAlpha, { "dfactorAlpha", "x11.glx.render.BlendFuncSeparate.dfactorAlpha", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_FogCoorddv_coord, { "coord", "x11.glx.render.FogCoorddv.coord.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_FogCoorddv_coord_item, { "coord", "x11.glx.render.FogCoorddv.coord", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameterf_pname, { "pname", "x11.glx.render.PointParameterf.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameterf_param, { "param", "x11.glx.render.PointParameterf.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameterfv_pname, { "pname", "x11.glx.render.PointParameterfv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameterfv_params, { "params", "x11.glx.render.PointParameterfv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameterfv_params_item, { "params", "x11.glx.render.PointParameterfv.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameteri_pname, { "pname", "x11.glx.render.PointParameteri.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameteri_param, { "param", "x11.glx.render.PointParameteri.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameteriv_pname, { "pname", "x11.glx.render.PointParameteriv.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameteriv_params, { "params", "x11.glx.render.PointParameteriv.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PointParameteriv_params_item, { "params", "x11.glx.render.PointParameteriv.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3bv_v, { "v", "x11.glx.render.SecondaryColor3bv.v", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3dv_v, { "v", "x11.glx.render.SecondaryColor3dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3dv_v_item, { "v", "x11.glx.render.SecondaryColor3dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3iv_v, { "v", "x11.glx.render.SecondaryColor3iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3iv_v_item, { "v", "x11.glx.render.SecondaryColor3iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3sv_v, { "v", "x11.glx.render.SecondaryColor3sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3sv_v_item, { "v", "x11.glx.render.SecondaryColor3sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3ubv_v, { "v", "x11.glx.render.SecondaryColor3ubv.v", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3uiv_v, { "v", "x11.glx.render.SecondaryColor3uiv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3uiv_v_item, { "v", "x11.glx.render.SecondaryColor3uiv.v", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3usv_v, { "v", "x11.glx.render.SecondaryColor3usv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3usv_v_item, { "v", "x11.glx.render.SecondaryColor3usv.v", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_WindowPos3fv_v, { "v", "x11.glx.render.WindowPos3fv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_WindowPos3fv_v_item, { "v", "x11.glx.render.WindowPos3fv.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BeginQuery_target, { "target", "x11.glx.render.BeginQuery.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BeginQuery_id, { "id", "x11.glx.render.BeginQuery.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_EndQuery_target, { "target", "x11.glx.render.EndQuery.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendEquationSeparate_modeRGB, { "modeRGB", "x11.glx.render.BlendEquationSeparate.modeRGB", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BlendEquationSeparate_modeA, { "modeA", "x11.glx.render.BlendEquationSeparate.modeA", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawBuffers_n, { "n", "x11.glx.render.DrawBuffers.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawBuffers_bufs, { "bufs", "x11.glx.render.DrawBuffers.bufs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DrawBuffers_bufs_item, { "bufs", "x11.glx.render.DrawBuffers.bufs", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1dv_index, { "index", "x11.glx.render.VertexAttrib1dv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1dv_v, { "v", "x11.glx.render.VertexAttrib1dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1dv_v_item, { "v", "x11.glx.render.VertexAttrib1dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1sv_index, { "index", "x11.glx.render.VertexAttrib1sv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1sv_v, { "v", "x11.glx.render.VertexAttrib1sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1sv_v_item, { "v", "x11.glx.render.VertexAttrib1sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2dv_index, { "index", "x11.glx.render.VertexAttrib2dv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2dv_v, { "v", "x11.glx.render.VertexAttrib2dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2dv_v_item, { "v", "x11.glx.render.VertexAttrib2dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2sv_index, { "index", "x11.glx.render.VertexAttrib2sv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2sv_v, { "v", "x11.glx.render.VertexAttrib2sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2sv_v_item, { "v", "x11.glx.render.VertexAttrib2sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3dv_index, { "index", "x11.glx.render.VertexAttrib3dv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3dv_v, { "v", "x11.glx.render.VertexAttrib3dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3dv_v_item, { "v", "x11.glx.render.VertexAttrib3dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3sv_index, { "index", "x11.glx.render.VertexAttrib3sv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3sv_v, { "v", "x11.glx.render.VertexAttrib3sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3sv_v_item, { "v", "x11.glx.render.VertexAttrib3sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nbv_index, { "index", "x11.glx.render.VertexAttrib4Nbv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nbv_v, { "v", "x11.glx.render.VertexAttrib4Nbv.v", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Niv_index, { "index", "x11.glx.render.VertexAttrib4Niv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Niv_v, { "v", "x11.glx.render.VertexAttrib4Niv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Niv_v_item, { "v", "x11.glx.render.VertexAttrib4Niv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nsv_index, { "index", "x11.glx.render.VertexAttrib4Nsv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nsv_v, { "v", "x11.glx.render.VertexAttrib4Nsv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nsv_v_item, { "v", "x11.glx.render.VertexAttrib4Nsv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nubv_index, { "index", "x11.glx.render.VertexAttrib4Nubv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nubv_v, { "v", "x11.glx.render.VertexAttrib4Nubv.v", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nuiv_index, { "index", "x11.glx.render.VertexAttrib4Nuiv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nuiv_v, { "v", "x11.glx.render.VertexAttrib4Nuiv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nuiv_v_item, { "v", "x11.glx.render.VertexAttrib4Nuiv.v", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nusv_index, { "index", "x11.glx.render.VertexAttrib4Nusv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nusv_v, { "v", "x11.glx.render.VertexAttrib4Nusv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4Nusv_v_item, { "v", "x11.glx.render.VertexAttrib4Nusv.v", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4bv_index, { "index", "x11.glx.render.VertexAttrib4bv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4bv_v, { "v", "x11.glx.render.VertexAttrib4bv.v", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4dv_index, { "index", "x11.glx.render.VertexAttrib4dv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4dv_v, { "v", "x11.glx.render.VertexAttrib4dv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4dv_v_item, { "v", "x11.glx.render.VertexAttrib4dv.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4iv_index, { "index", "x11.glx.render.VertexAttrib4iv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4iv_v, { "v", "x11.glx.render.VertexAttrib4iv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4iv_v_item, { "v", "x11.glx.render.VertexAttrib4iv.v", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4sv_index, { "index", "x11.glx.render.VertexAttrib4sv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4sv_v, { "v", "x11.glx.render.VertexAttrib4sv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4sv_v_item, { "v", "x11.glx.render.VertexAttrib4sv.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4ubv_index, { "index", "x11.glx.render.VertexAttrib4ubv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4ubv_v, { "v", "x11.glx.render.VertexAttrib4ubv.v", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4uiv_index, { "index", "x11.glx.render.VertexAttrib4uiv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4uiv_v, { "v", "x11.glx.render.VertexAttrib4uiv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4uiv_v_item, { "v", "x11.glx.render.VertexAttrib4uiv.v", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4usv_index, { "index", "x11.glx.render.VertexAttrib4usv.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4usv_v, { "v", "x11.glx.render.VertexAttrib4usv.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4usv_v_item, { "v", "x11.glx.render.VertexAttrib4usv.v", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1fvARB_target, { "target", "x11.glx.render.MultiTexCoord1fvARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1fvARB_v, { "v", "x11.glx.render.MultiTexCoord1fvARB.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord1fvARB_v_item, { "v", "x11.glx.render.MultiTexCoord1fvARB.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2fvARB_target, { "target", "x11.glx.render.MultiTexCoord2fvARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2fvARB_v, { "v", "x11.glx.render.MultiTexCoord2fvARB.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord2fvARB_v_item, { "v", "x11.glx.render.MultiTexCoord2fvARB.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3fvARB_target, { "target", "x11.glx.render.MultiTexCoord3fvARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3fvARB_v, { "v", "x11.glx.render.MultiTexCoord3fvARB.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord3fvARB_v_item, { "v", "x11.glx.render.MultiTexCoord3fvARB.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4fvARB_target, { "target", "x11.glx.render.MultiTexCoord4fvARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4fvARB_v, { "v", "x11.glx.render.MultiTexCoord4fvARB.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MultiTexCoord4fvARB_v_item, { "v", "x11.glx.render.MultiTexCoord4fvARB.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CurrentPaletteMatrixARB_index, { "index", "x11.glx.render.CurrentPaletteMatrixARB.index", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixIndexubvARB_size, { "size", "x11.glx.render.MatrixIndexubvARB.size", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixIndexubvARB_indices, { "indices", "x11.glx.render.MatrixIndexubvARB.indices", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixIndexusvARB_size, { "size", "x11.glx.render.MatrixIndexusvARB.size", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixIndexusvARB_indices, { "indices", "x11.glx.render.MatrixIndexusvARB.indices.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixIndexusvARB_indices_item, { "indices", "x11.glx.render.MatrixIndexusvARB.indices", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixIndexuivARB_size, { "size", "x11.glx.render.MatrixIndexuivARB.size", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixIndexuivARB_indices, { "indices", "x11.glx.render.MatrixIndexuivARB.indices.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_MatrixIndexuivARB_indices_item, { "indices", "x11.glx.render.MatrixIndexuivARB.indices", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1fvARB_index, { "index", "x11.glx.render.VertexAttrib1fvARB.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1fvARB_v, { "v", "x11.glx.render.VertexAttrib1fvARB.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1fvARB_v_item, { "v", "x11.glx.render.VertexAttrib1fvARB.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2fvARB_index, { "index", "x11.glx.render.VertexAttrib2fvARB.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2fvARB_v, { "v", "x11.glx.render.VertexAttrib2fvARB.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2fvARB_v_item, { "v", "x11.glx.render.VertexAttrib2fvARB.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3fvARB_index, { "index", "x11.glx.render.VertexAttrib3fvARB.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3fvARB_v, { "v", "x11.glx.render.VertexAttrib3fvARB.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3fvARB_v_item, { "v", "x11.glx.render.VertexAttrib3fvARB.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4fvARB_index, { "index", "x11.glx.render.VertexAttrib4fvARB.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4fvARB_v, { "v", "x11.glx.render.VertexAttrib4fvARB.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4fvARB_v_item, { "v", "x11.glx.render.VertexAttrib4fvARB.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramStringARB_target, { "target", "x11.glx.render.ProgramStringARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramStringARB_format, { "format", "x11.glx.render.ProgramStringARB.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramStringARB_len, { "len", "x11.glx.render.ProgramStringARB.len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramStringARB_string, { "string", "x11.glx.render.ProgramStringARB.string", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_BindProgramARB_target, { "target", "x11.glx.render.BindProgramARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_BindProgramARB_program, { "program", "x11.glx.render.BindProgramARB.program", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramEnvParameter4dvARB_target, { "target", "x11.glx.render.ProgramEnvParameter4dvARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramEnvParameter4dvARB_index, { "index", "x11.glx.render.ProgramEnvParameter4dvARB.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramEnvParameter4dvARB_params, { "params", "x11.glx.render.ProgramEnvParameter4dvARB.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramEnvParameter4dvARB_params_item, { "params", "x11.glx.render.ProgramEnvParameter4dvARB.params", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramEnvParameter4fvARB_target, { "target", "x11.glx.render.ProgramEnvParameter4fvARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramEnvParameter4fvARB_index, { "index", "x11.glx.render.ProgramEnvParameter4fvARB.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramEnvParameter4fvARB_params, { "params", "x11.glx.render.ProgramEnvParameter4fvARB.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramEnvParameter4fvARB_params_item, { "params", "x11.glx.render.ProgramEnvParameter4fvARB.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramLocalParameter4dvARB_target, { "target", "x11.glx.render.ProgramLocalParameter4dvARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramLocalParameter4dvARB_index, { "index", "x11.glx.render.ProgramLocalParameter4dvARB.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramLocalParameter4dvARB_params, { "params", "x11.glx.render.ProgramLocalParameter4dvARB.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramLocalParameter4dvARB_params_item, { "params", "x11.glx.render.ProgramLocalParameter4dvARB.params", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramLocalParameter4fvARB_target, { "target", "x11.glx.render.ProgramLocalParameter4fvARB.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramLocalParameter4fvARB_index, { "index", "x11.glx.render.ProgramLocalParameter4fvARB.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramLocalParameter4fvARB_params, { "params", "x11.glx.render.ProgramLocalParameter4fvARB.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramLocalParameter4fvARB_params_item, { "params", "x11.glx.render.ProgramLocalParameter4fvARB.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexFilterFuncSGIS_target, { "target", "x11.glx.render.TexFilterFuncSGIS.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexFilterFuncSGIS_filter, { "filter", "x11.glx.render.TexFilterFuncSGIS.filter", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexFilterFuncSGIS_n, { "n", "x11.glx.render.TexFilterFuncSGIS.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexFilterFuncSGIS_weights, { "weights", "x11.glx.render.TexFilterFuncSGIS.weights.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexFilterFuncSGIS_weights_item, { "weights", "x11.glx.render.TexFilterFuncSGIS.weights", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_target, { "target", "x11.glx.render.TexImage4DSGIS.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_level, { "level", "x11.glx.render.TexImage4DSGIS.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_internalformat, { "internalformat", "x11.glx.render.TexImage4DSGIS.internalformat", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_width, { "width", "x11.glx.render.TexImage4DSGIS.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_height, { "height", "x11.glx.render.TexImage4DSGIS.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_depth, { "depth", "x11.glx.render.TexImage4DSGIS.depth", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_size4d, { "size4d", "x11.glx.render.TexImage4DSGIS.size4d", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_border, { "border", "x11.glx.render.TexImage4DSGIS.border", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_format, { "format", "x11.glx.render.TexImage4DSGIS.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_type, { "type", "x11.glx.render.TexImage4DSGIS.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_pixels, { "pixels", "x11.glx.render.TexImage4DSGIS.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_swapbytes, { "swap bytes", "x11.glx.render.TexImage4DSGIS.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_lsbfirst, { "lsb first", "x11.glx.render.TexImage4DSGIS.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_rowlength, { "row length", "x11.glx.render.TexImage4DSGIS.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_skiprows, { "skip rows", "x11.glx.render.TexImage4DSGIS.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_skippixels, { "skip pixels", "x11.glx.render.TexImage4DSGIS.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexImage4DSGIS_alignment, { "alignment", "x11.glx.render.TexImage4DSGIS.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_target, { "target", "x11.glx.render.TexSubImage4DSGIS.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_level, { "level", "x11.glx.render.TexSubImage4DSGIS.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_xoffset, { "xoffset", "x11.glx.render.TexSubImage4DSGIS.xoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_yoffset, { "yoffset", "x11.glx.render.TexSubImage4DSGIS.yoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_zoffset, { "zoffset", "x11.glx.render.TexSubImage4DSGIS.zoffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_woffset, { "woffset", "x11.glx.render.TexSubImage4DSGIS.woffset", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_width, { "width", "x11.glx.render.TexSubImage4DSGIS.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_height, { "height", "x11.glx.render.TexSubImage4DSGIS.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_depth, { "depth", "x11.glx.render.TexSubImage4DSGIS.depth", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_size4d, { "size4d", "x11.glx.render.TexSubImage4DSGIS.size4d", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_format, { "format", "x11.glx.render.TexSubImage4DSGIS.format", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_type, { "type", "x11.glx.render.TexSubImage4DSGIS.type", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_UNUSED, { "UNUSED", "x11.glx.render.TexSubImage4DSGIS.UNUSED", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_pixels, { "pixels", "x11.glx.render.TexSubImage4DSGIS.pixels", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_swapbytes, { "swap bytes", "x11.glx.render.TexSubImage4DSGIS.swapbytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_lsbfirst, { "lsb first", "x11.glx.render.TexSubImage4DSGIS.lsbfirst", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_rowlength, { "row length", "x11.glx.render.TexSubImage4DSGIS.rowlength", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_skiprows, { "skip rows", "x11.glx.render.TexSubImage4DSGIS.skiprows", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_skippixels, { "skip pixels", "x11.glx.render.TexSubImage4DSGIS.skippixels", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TexSubImage4DSGIS_alignment, { "alignment", "x11.glx.render.TexSubImage4DSGIS.alignment", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DetailTexFuncSGIS_target, { "target", "x11.glx.render.DetailTexFuncSGIS.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_DetailTexFuncSGIS_n, { "n", "x11.glx.render.DetailTexFuncSGIS.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DetailTexFuncSGIS_points, { "points", "x11.glx.render.DetailTexFuncSGIS.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DetailTexFuncSGIS_points_item, { "points", "x11.glx.render.DetailTexFuncSGIS.points", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SharpenTexFuncSGIS_target, { "target", "x11.glx.render.SharpenTexFuncSGIS.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_SharpenTexFuncSGIS_n, { "n", "x11.glx.render.SharpenTexFuncSGIS.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SharpenTexFuncSGIS_points, { "points", "x11.glx.render.SharpenTexFuncSGIS.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SharpenTexFuncSGIS_points_item, { "points", "x11.glx.render.SharpenTexFuncSGIS.points", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SampleMaskSGIS_value, { "value", "x11.glx.render.SampleMaskSGIS.value", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SampleMaskSGIS_invert, { "invert", "x11.glx.render.SampleMaskSGIS.invert", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SamplePatternSGIS_pattern, { "pattern", "x11.glx.render.SamplePatternSGIS.pattern", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_FrameZoomSGIX_factor, { "factor", "x11.glx.render.FrameZoomSGIX.factor", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ReferencePlaneSGIX_equation, { "equation", "x11.glx.render.ReferencePlaneSGIX.equation.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ReferencePlaneSGIX_equation_item, { "equation", "x11.glx.render.ReferencePlaneSGIX.equation", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_FogFuncSGIS_n, { "n", "x11.glx.render.FogFuncSGIS.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_FogFuncSGIS_points, { "points", "x11.glx.render.FogFuncSGIS.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_FogFuncSGIS_points_item, { "points", "x11.glx.render.FogFuncSGIS.points", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3fvEXT_v, { "v", "x11.glx.render.SecondaryColor3fvEXT.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_SecondaryColor3fvEXT_v_item, { "v", "x11.glx.render.SecondaryColor3fvEXT.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_FogCoordfvEXT_coord, { "coord", "x11.glx.render.FogCoordfvEXT.coord.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_FogCoordfvEXT_coord_item, { "coord", "x11.glx.render.FogCoordfvEXT.coord", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_PixelTexGenSGIX_mode, { "mode", "x11.glx.render.PixelTexGenSGIX.mode", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexWeightfvEXT_weight, { "weight", "x11.glx.render.VertexWeightfvEXT.weight.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexWeightfvEXT_weight_item, { "weight", "x11.glx.render.VertexWeightfvEXT.weight", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameterfvNV_pname, { "pname", "x11.glx.render.CombinerParameterfvNV.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameterfvNV_params, { "params", "x11.glx.render.CombinerParameterfvNV.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameterfvNV_params_item, { "params", "x11.glx.render.CombinerParameterfvNV.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameterfNV_pname, { "pname", "x11.glx.render.CombinerParameterfNV.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameterfNV_param, { "param", "x11.glx.render.CombinerParameterfNV.param", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameterivNV_pname, { "pname", "x11.glx.render.CombinerParameterivNV.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameterivNV_params, { "params", "x11.glx.render.CombinerParameterivNV.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameterivNV_params_item, { "params", "x11.glx.render.CombinerParameterivNV.params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameteriNV_pname, { "pname", "x11.glx.render.CombinerParameteriNV.pname", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerParameteriNV_param, { "param", "x11.glx.render.CombinerParameteriNV.param", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerInputNV_stage, { "stage", "x11.glx.render.CombinerInputNV.stage", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerInputNV_portion, { "portion", "x11.glx.render.CombinerInputNV.portion", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerInputNV_variable, { "variable", "x11.glx.render.CombinerInputNV.variable", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerInputNV_input, { "input", "x11.glx.render.CombinerInputNV.input", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerInputNV_mapping, { "mapping", "x11.glx.render.CombinerInputNV.mapping", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerInputNV_componentUsage, { "componentUsage", "x11.glx.render.CombinerInputNV.componentUsage", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_stage, { "stage", "x11.glx.render.CombinerOutputNV.stage", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_portion, { "portion", "x11.glx.render.CombinerOutputNV.portion", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_abOutput, { "abOutput", "x11.glx.render.CombinerOutputNV.abOutput", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_cdOutput, { "cdOutput", "x11.glx.render.CombinerOutputNV.cdOutput", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_sumOutput, { "sumOutput", "x11.glx.render.CombinerOutputNV.sumOutput", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_scale, { "scale", "x11.glx.render.CombinerOutputNV.scale", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_bias, { "bias", "x11.glx.render.CombinerOutputNV.bias", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_abDotProduct, { "abDotProduct", "x11.glx.render.CombinerOutputNV.abDotProduct", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_cdDotProduct, { "cdDotProduct", "x11.glx.render.CombinerOutputNV.cdDotProduct", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_CombinerOutputNV_muxSum, { "muxSum", "x11.glx.render.CombinerOutputNV.muxSum", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_FinalCombinerInputNV_variable, { "variable", "x11.glx.render.FinalCombinerInputNV.variable", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_FinalCombinerInputNV_input, { "input", "x11.glx.render.FinalCombinerInputNV.input", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_FinalCombinerInputNV_mapping, { "mapping", "x11.glx.render.FinalCombinerInputNV.mapping", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_FinalCombinerInputNV_componentUsage, { "componentUsage", "x11.glx.render.FinalCombinerInputNV.componentUsage", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TextureColorMaskSGIS_red, { "red", "x11.glx.render.TextureColorMaskSGIS.red", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TextureColorMaskSGIS_green, { "green", "x11.glx.render.TextureColorMaskSGIS.green", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TextureColorMaskSGIS_blue, { "blue", "x11.glx.render.TextureColorMaskSGIS.blue", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TextureColorMaskSGIS_alpha, { "alpha", "x11.glx.render.TextureColorMaskSGIS.alpha", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ExecuteProgramNV_target, { "target", "x11.glx.render.ExecuteProgramNV.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ExecuteProgramNV_id, { "id", "x11.glx.render.ExecuteProgramNV.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ExecuteProgramNV_params, { "params", "x11.glx.render.ExecuteProgramNV.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ExecuteProgramNV_params_item, { "params", "x11.glx.render.ExecuteProgramNV.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadProgramNV_target, { "target", "x11.glx.render.LoadProgramNV.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadProgramNV_id, { "id", "x11.glx.render.LoadProgramNV.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadProgramNV_len, { "len", "x11.glx.render.LoadProgramNV.len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_LoadProgramNV_program, { "program", "x11.glx.render.LoadProgramNV.program", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4dvNV_target, { "target", "x11.glx.render.ProgramParameters4dvNV.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4dvNV_index, { "index", "x11.glx.render.ProgramParameters4dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4dvNV_num, { "num", "x11.glx.render.ProgramParameters4dvNV.num", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4dvNV_params, { "params", "x11.glx.render.ProgramParameters4dvNV.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4dvNV_params_item, { "params", "x11.glx.render.ProgramParameters4dvNV.params", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4fvNV_target, { "target", "x11.glx.render.ProgramParameters4fvNV.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4fvNV_index, { "index", "x11.glx.render.ProgramParameters4fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4fvNV_num, { "num", "x11.glx.render.ProgramParameters4fvNV.num", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4fvNV_params, { "params", "x11.glx.render.ProgramParameters4fvNV.params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramParameters4fvNV_params_item, { "params", "x11.glx.render.ProgramParameters4fvNV.params", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RequestResidentProgramsNV_n, { "n", "x11.glx.render.RequestResidentProgramsNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RequestResidentProgramsNV_ids, { "ids", "x11.glx.render.RequestResidentProgramsNV.ids.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_RequestResidentProgramsNV_ids_item, { "ids", "x11.glx.render.RequestResidentProgramsNV.ids", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TrackMatrixNV_target, { "target", "x11.glx.render.TrackMatrixNV.target", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TrackMatrixNV_address, { "address", "x11.glx.render.TrackMatrixNV.address", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_TrackMatrixNV_matrix, { "matrix", "x11.glx.render.TrackMatrixNV.matrix", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_TrackMatrixNV_transform, { "transform", "x11.glx.render.TrackMatrixNV.transform", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1svNV_index, { "index", "x11.glx.render.VertexAttrib1svNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1svNV_v, { "v", "x11.glx.render.VertexAttrib1svNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1svNV_v_item, { "v", "x11.glx.render.VertexAttrib1svNV.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2svNV_index, { "index", "x11.glx.render.VertexAttrib2svNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2svNV_v, { "v", "x11.glx.render.VertexAttrib2svNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2svNV_v_item, { "v", "x11.glx.render.VertexAttrib2svNV.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3svNV_index, { "index", "x11.glx.render.VertexAttrib3svNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3svNV_v, { "v", "x11.glx.render.VertexAttrib3svNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3svNV_v_item, { "v", "x11.glx.render.VertexAttrib3svNV.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4svNV_index, { "index", "x11.glx.render.VertexAttrib4svNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4svNV_v, { "v", "x11.glx.render.VertexAttrib4svNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4svNV_v_item, { "v", "x11.glx.render.VertexAttrib4svNV.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1fvNV_index, { "index", "x11.glx.render.VertexAttrib1fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1fvNV_v, { "v", "x11.glx.render.VertexAttrib1fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1fvNV_v_item, { "v", "x11.glx.render.VertexAttrib1fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2fvNV_index, { "index", "x11.glx.render.VertexAttrib2fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2fvNV_v, { "v", "x11.glx.render.VertexAttrib2fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2fvNV_v_item, { "v", "x11.glx.render.VertexAttrib2fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3fvNV_index, { "index", "x11.glx.render.VertexAttrib3fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3fvNV_v, { "v", "x11.glx.render.VertexAttrib3fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3fvNV_v_item, { "v", "x11.glx.render.VertexAttrib3fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4fvNV_index, { "index", "x11.glx.render.VertexAttrib4fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4fvNV_v, { "v", "x11.glx.render.VertexAttrib4fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4fvNV_v_item, { "v", "x11.glx.render.VertexAttrib4fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1dvNV_index, { "index", "x11.glx.render.VertexAttrib1dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1dvNV_v, { "v", "x11.glx.render.VertexAttrib1dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib1dvNV_v_item, { "v", "x11.glx.render.VertexAttrib1dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2dvNV_index, { "index", "x11.glx.render.VertexAttrib2dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2dvNV_v, { "v", "x11.glx.render.VertexAttrib2dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib2dvNV_v_item, { "v", "x11.glx.render.VertexAttrib2dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3dvNV_index, { "index", "x11.glx.render.VertexAttrib3dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3dvNV_v, { "v", "x11.glx.render.VertexAttrib3dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib3dvNV_v_item, { "v", "x11.glx.render.VertexAttrib3dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4dvNV_index, { "index", "x11.glx.render.VertexAttrib4dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4dvNV_v, { "v", "x11.glx.render.VertexAttrib4dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4dvNV_v_item, { "v", "x11.glx.render.VertexAttrib4dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4ubvNV_index, { "index", "x11.glx.render.VertexAttrib4ubvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttrib4ubvNV_v, { "v", "x11.glx.render.VertexAttrib4ubvNV.v", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1svNV_index, { "index", "x11.glx.render.VertexAttribs1svNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1svNV_n, { "n", "x11.glx.render.VertexAttribs1svNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1svNV_v, { "v", "x11.glx.render.VertexAttribs1svNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1svNV_v_item, { "v", "x11.glx.render.VertexAttribs1svNV.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2svNV_index, { "index", "x11.glx.render.VertexAttribs2svNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2svNV_n, { "n", "x11.glx.render.VertexAttribs2svNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2svNV_v, { "v", "x11.glx.render.VertexAttribs2svNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2svNV_v_item, { "v", "x11.glx.render.VertexAttribs2svNV.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3svNV_index, { "index", "x11.glx.render.VertexAttribs3svNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3svNV_n, { "n", "x11.glx.render.VertexAttribs3svNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3svNV_v, { "v", "x11.glx.render.VertexAttribs3svNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3svNV_v_item, { "v", "x11.glx.render.VertexAttribs3svNV.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4svNV_index, { "index", "x11.glx.render.VertexAttribs4svNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4svNV_n, { "n", "x11.glx.render.VertexAttribs4svNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4svNV_v, { "v", "x11.glx.render.VertexAttribs4svNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4svNV_v_item, { "v", "x11.glx.render.VertexAttribs4svNV.v", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1fvNV_index, { "index", "x11.glx.render.VertexAttribs1fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1fvNV_n, { "n", "x11.glx.render.VertexAttribs1fvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1fvNV_v, { "v", "x11.glx.render.VertexAttribs1fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1fvNV_v_item, { "v", "x11.glx.render.VertexAttribs1fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2fvNV_index, { "index", "x11.glx.render.VertexAttribs2fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2fvNV_n, { "n", "x11.glx.render.VertexAttribs2fvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2fvNV_v, { "v", "x11.glx.render.VertexAttribs2fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2fvNV_v_item, { "v", "x11.glx.render.VertexAttribs2fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3fvNV_index, { "index", "x11.glx.render.VertexAttribs3fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3fvNV_n, { "n", "x11.glx.render.VertexAttribs3fvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3fvNV_v, { "v", "x11.glx.render.VertexAttribs3fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3fvNV_v_item, { "v", "x11.glx.render.VertexAttribs3fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4fvNV_index, { "index", "x11.glx.render.VertexAttribs4fvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4fvNV_n, { "n", "x11.glx.render.VertexAttribs4fvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4fvNV_v, { "v", "x11.glx.render.VertexAttribs4fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4fvNV_v_item, { "v", "x11.glx.render.VertexAttribs4fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1dvNV_index, { "index", "x11.glx.render.VertexAttribs1dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1dvNV_n, { "n", "x11.glx.render.VertexAttribs1dvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1dvNV_v, { "v", "x11.glx.render.VertexAttribs1dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs1dvNV_v_item, { "v", "x11.glx.render.VertexAttribs1dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2dvNV_index, { "index", "x11.glx.render.VertexAttribs2dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2dvNV_n, { "n", "x11.glx.render.VertexAttribs2dvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2dvNV_v, { "v", "x11.glx.render.VertexAttribs2dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs2dvNV_v_item, { "v", "x11.glx.render.VertexAttribs2dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3dvNV_index, { "index", "x11.glx.render.VertexAttribs3dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3dvNV_n, { "n", "x11.glx.render.VertexAttribs3dvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3dvNV_v, { "v", "x11.glx.render.VertexAttribs3dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs3dvNV_v_item, { "v", "x11.glx.render.VertexAttribs3dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4dvNV_index, { "index", "x11.glx.render.VertexAttribs4dvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4dvNV_n, { "n", "x11.glx.render.VertexAttribs4dvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4dvNV_v, { "v", "x11.glx.render.VertexAttribs4dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4dvNV_v_item, { "v", "x11.glx.render.VertexAttribs4dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4ubvNV_index, { "index", "x11.glx.render.VertexAttribs4ubvNV.index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4ubvNV_n, { "n", "x11.glx.render.VertexAttribs4ubvNV.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_VertexAttribs4ubvNV_v, { "v", "x11.glx.render.VertexAttribs4ubvNV.v", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ActiveStencilFaceEXT_face, { "face", "x11.glx.render.ActiveStencilFaceEXT.face", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &mesa_enum_ext, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4fvNV_id, { "id", "x11.glx.render.ProgramNamedParameter4fvNV.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4fvNV_len, { "len", "x11.glx.render.ProgramNamedParameter4fvNV.len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4fvNV_name, { "name", "x11.glx.render.ProgramNamedParameter4fvNV.name", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4fvNV_v, { "v", "x11.glx.render.ProgramNamedParameter4fvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4fvNV_v_item, { "v", "x11.glx.render.ProgramNamedParameter4fvNV.v", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4dvNV_id, { "id", "x11.glx.render.ProgramNamedParameter4dvNV.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4dvNV_len, { "len", "x11.glx.render.ProgramNamedParameter4dvNV.len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4dvNV_name, { "name", "x11.glx.render.ProgramNamedParameter4dvNV.name", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4dvNV_v, { "v", "x11.glx.render.ProgramNamedParameter4dvNV.v.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_ProgramNamedParameter4dvNV_v_item, { "v", "x11.glx.render.ProgramNamedParameter4dvNV.v", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DepthBoundsEXT_zmin, { "zmin", "x11.glx.render.DepthBoundsEXT.zmin", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_DepthBoundsEXT_zmax, { "zmax", "x11.glx.render.DepthBoundsEXT.zmax", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_render_op_name, { "render op", "x11.glx.render.op", FT_UINT16, BASE_DEC, VALS(glx_render_op_name), 0, NULL, HFILL }}, { &hf_x11_bigreq_Enable_reply_maximum_request_length, { "maximum_request_length", "x11.bigreq.Enable.reply.maximum_request_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_bigreq_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(bigreq_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xproto_RECTANGLE, { "xproto_RECTANGLE", "x11.struct.xproto_RECTANGLE", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xproto_RECTANGLE_x, { "x", "x11.struct.xproto_RECTANGLE.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xproto_RECTANGLE_y, { "y", "x11.struct.xproto_RECTANGLE.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xproto_RECTANGLE_width, { "width", "x11.struct.xproto_RECTANGLE.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xproto_RECTANGLE_height, { "height", "x11.struct.xproto_RECTANGLE.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xproto_STR, { "xproto_STR", "x11.struct.xproto_STR", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xproto_STR_name_len, { "name_len", "x11.struct.xproto_STR.name_len", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xproto_STR_name, { "name", "x11.struct.xproto_STR.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT, { "render_DIRECTFORMAT", "x11.struct.render_DIRECTFORMAT", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT_red_shift, { "red_shift", "x11.struct.render_DIRECTFORMAT.red_shift", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT_red_mask, { "red_mask", "x11.struct.render_DIRECTFORMAT.red_mask", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT_green_shift, { "green_shift", "x11.struct.render_DIRECTFORMAT.green_shift", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT_green_mask, { "green_mask", "x11.struct.render_DIRECTFORMAT.green_mask", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT_blue_shift, { "blue_shift", "x11.struct.render_DIRECTFORMAT.blue_shift", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT_blue_mask, { "blue_mask", "x11.struct.render_DIRECTFORMAT.blue_mask", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT_alpha_shift, { "alpha_shift", "x11.struct.render_DIRECTFORMAT.alpha_shift", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_DIRECTFORMAT_alpha_mask, { "alpha_mask", "x11.struct.render_DIRECTFORMAT.alpha_mask", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTFORMINFO, { "render_PICTFORMINFO", "x11.struct.render_PICTFORMINFO", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTFORMINFO_id, { "id", "x11.struct.render_PICTFORMINFO.id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTFORMINFO_type, { "type", "x11.struct.render_PICTFORMINFO.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictType), 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTFORMINFO_depth, { "depth", "x11.struct.render_PICTFORMINFO.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTFORMINFO_direct, { "direct", "x11.struct.render_PICTFORMINFO.direct", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTFORMINFO_colormap, { "colormap", "x11.struct.render_PICTFORMINFO.colormap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTVISUAL, { "render_PICTVISUAL", "x11.struct.render_PICTVISUAL", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTVISUAL_visual, { "visual", "x11.struct.render_PICTVISUAL.visual", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTVISUAL_format, { "format", "x11.struct.render_PICTVISUAL.format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTDEPTH, { "render_PICTDEPTH", "x11.struct.render_PICTDEPTH", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTDEPTH_depth, { "depth", "x11.struct.render_PICTDEPTH.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTDEPTH_num_visuals, { "num_visuals", "x11.struct.render_PICTDEPTH.num_visuals", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTDEPTH_visuals, { "visuals", "x11.struct.render_PICTDEPTH.visuals.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTDEPTH_visuals_item, { "visuals", "x11.struct.render_PICTDEPTH.visuals", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTSCREEN, { "render_PICTSCREEN", "x11.struct.render_PICTSCREEN", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTSCREEN_num_depths, { "num_depths", "x11.struct.render_PICTSCREEN.num_depths", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTSCREEN_fallback, { "fallback", "x11.struct.render_PICTSCREEN.fallback", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_PICTSCREEN_depths, { "depths", "x11.struct.render_PICTSCREEN.depths", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_INDEXVALUE, { "render_INDEXVALUE", "x11.struct.render_INDEXVALUE", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_INDEXVALUE_pixel, { "pixel", "x11.struct.render_INDEXVALUE.pixel", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_INDEXVALUE_red, { "red", "x11.struct.render_INDEXVALUE.red", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_INDEXVALUE_green, { "green", "x11.struct.render_INDEXVALUE.green", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_INDEXVALUE_blue, { "blue", "x11.struct.render_INDEXVALUE.blue", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_INDEXVALUE_alpha, { "alpha", "x11.struct.render_INDEXVALUE.alpha", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_COLOR, { "render_COLOR", "x11.struct.render_COLOR", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_COLOR_red, { "red", "x11.struct.render_COLOR.red", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_COLOR_green, { "green", "x11.struct.render_COLOR.green", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_COLOR_blue, { "blue", "x11.struct.render_COLOR.blue", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_COLOR_alpha, { "alpha", "x11.struct.render_COLOR.alpha", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_POINTFIX, { "render_POINTFIX", "x11.struct.render_POINTFIX", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_POINTFIX_x, { "x", "x11.struct.render_POINTFIX.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_POINTFIX_y, { "y", "x11.struct.render_POINTFIX.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_LINEFIX, { "render_LINEFIX", "x11.struct.render_LINEFIX", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_LINEFIX_p1, { "p1", "x11.struct.render_LINEFIX.p1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_LINEFIX_p2, { "p2", "x11.struct.render_LINEFIX.p2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRIANGLE, { "render_TRIANGLE", "x11.struct.render_TRIANGLE", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRIANGLE_p1, { "p1", "x11.struct.render_TRIANGLE.p1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRIANGLE_p2, { "p2", "x11.struct.render_TRIANGLE.p2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRIANGLE_p3, { "p3", "x11.struct.render_TRIANGLE.p3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRAPEZOID, { "render_TRAPEZOID", "x11.struct.render_TRAPEZOID", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRAPEZOID_top, { "top", "x11.struct.render_TRAPEZOID.top", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRAPEZOID_bottom, { "bottom", "x11.struct.render_TRAPEZOID.bottom", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRAPEZOID_left, { "left", "x11.struct.render_TRAPEZOID.left", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRAPEZOID_right, { "right", "x11.struct.render_TRAPEZOID.right", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_GLYPHINFO, { "render_GLYPHINFO", "x11.struct.render_GLYPHINFO", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_GLYPHINFO_width, { "width", "x11.struct.render_GLYPHINFO.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_GLYPHINFO_height, { "height", "x11.struct.render_GLYPHINFO.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_GLYPHINFO_x, { "x", "x11.struct.render_GLYPHINFO.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_GLYPHINFO_y, { "y", "x11.struct.render_GLYPHINFO.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_GLYPHINFO_x_off, { "x_off", "x11.struct.render_GLYPHINFO.x_off", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_GLYPHINFO_y_off, { "y_off", "x11.struct.render_GLYPHINFO.y_off", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM, { "render_TRANSFORM", "x11.struct.render_TRANSFORM", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix11, { "matrix11", "x11.struct.render_TRANSFORM.matrix11", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix12, { "matrix12", "x11.struct.render_TRANSFORM.matrix12", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix13, { "matrix13", "x11.struct.render_TRANSFORM.matrix13", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix21, { "matrix21", "x11.struct.render_TRANSFORM.matrix21", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix22, { "matrix22", "x11.struct.render_TRANSFORM.matrix22", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix23, { "matrix23", "x11.struct.render_TRANSFORM.matrix23", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix31, { "matrix31", "x11.struct.render_TRANSFORM.matrix31", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix32, { "matrix32", "x11.struct.render_TRANSFORM.matrix32", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRANSFORM_matrix33, { "matrix33", "x11.struct.render_TRANSFORM.matrix33", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_ANIMCURSORELT, { "render_ANIMCURSORELT", "x11.struct.render_ANIMCURSORELT", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_ANIMCURSORELT_cursor, { "cursor", "x11.struct.render_ANIMCURSORELT.cursor", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_ANIMCURSORELT_delay, { "delay", "x11.struct.render_ANIMCURSORELT.delay", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_SPANFIX, { "render_SPANFIX", "x11.struct.render_SPANFIX", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_SPANFIX_l, { "l", "x11.struct.render_SPANFIX.l", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_SPANFIX_r, { "r", "x11.struct.render_SPANFIX.r", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_SPANFIX_y, { "y", "x11.struct.render_SPANFIX.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRAP, { "render_TRAP", "x11.struct.render_TRAP", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRAP_top, { "top", "x11.struct.render_TRAP.top", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_render_TRAP_bot, { "bot", "x11.struct.render_TRAP.bot", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_QueryVersion_client_major_version, { "client_major_version", "x11.composite.QueryVersion.client_major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_QueryVersion_client_minor_version, { "client_minor_version", "x11.composite.QueryVersion.client_minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_QueryVersion_reply_major_version, { "major_version", "x11.composite.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_QueryVersion_reply_minor_version, { "minor_version", "x11.composite.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_RedirectWindow_window, { "window", "x11.composite.RedirectWindow.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_RedirectWindow_update, { "update", "x11.composite.RedirectWindow.update", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_composite_Redirect), 0, NULL, HFILL }}, { &hf_x11_composite_RedirectSubwindows_window, { "window", "x11.composite.RedirectSubwindows.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_RedirectSubwindows_update, { "update", "x11.composite.RedirectSubwindows.update", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_composite_Redirect), 0, NULL, HFILL }}, { &hf_x11_composite_UnredirectWindow_window, { "window", "x11.composite.UnredirectWindow.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_UnredirectWindow_update, { "update", "x11.composite.UnredirectWindow.update", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_composite_Redirect), 0, NULL, HFILL }}, { &hf_x11_composite_UnredirectSubwindows_window, { "window", "x11.composite.UnredirectSubwindows.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_UnredirectSubwindows_update, { "update", "x11.composite.UnredirectSubwindows.update", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_composite_Redirect), 0, NULL, HFILL }}, { &hf_x11_composite_CreateRegionFromBorderClip_region, { "region", "x11.composite.CreateRegionFromBorderClip.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_CreateRegionFromBorderClip_window, { "window", "x11.composite.CreateRegionFromBorderClip.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_NameWindowPixmap_window, { "window", "x11.composite.NameWindowPixmap.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_NameWindowPixmap_pixmap, { "pixmap", "x11.composite.NameWindowPixmap.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_GetOverlayWindow_window, { "window", "x11.composite.GetOverlayWindow.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_GetOverlayWindow_reply_overlay_win, { "overlay_win", "x11.composite.GetOverlayWindow.reply.overlay_win", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_ReleaseOverlayWindow_window, { "window", "x11.composite.ReleaseOverlayWindow.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_composite_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(composite_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_damage_QueryVersion_client_major_version, { "client_major_version", "x11.damage.QueryVersion.client_major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_QueryVersion_client_minor_version, { "client_minor_version", "x11.damage.QueryVersion.client_minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_QueryVersion_reply_major_version, { "major_version", "x11.damage.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_QueryVersion_reply_minor_version, { "minor_version", "x11.damage.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_Create_damage, { "damage", "x11.damage.Create.damage", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_Create_drawable, { "drawable", "x11.damage.Create.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_Create_level, { "level", "x11.damage.Create.level", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_damage_ReportLevel), 0, NULL, HFILL }}, { &hf_x11_damage_Destroy_damage, { "damage", "x11.damage.Destroy.damage", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_Subtract_damage, { "damage", "x11.damage.Subtract.damage", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_Subtract_repair, { "repair", "x11.damage.Subtract.repair", FT_UINT32, BASE_HEX, VALS(x11_enum_xfixes_Region), 0, NULL, HFILL }}, { &hf_x11_damage_Subtract_parts, { "parts", "x11.damage.Subtract.parts", FT_UINT32, BASE_HEX, VALS(x11_enum_xfixes_Region), 0, NULL, HFILL }}, { &hf_x11_damage_Add_drawable, { "drawable", "x11.damage.Add.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_Add_region, { "region", "x11.damage.Add.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_damage_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(damage_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_dpms_GetVersion_client_major_version, { "client_major_version", "x11.dpms.GetVersion.client_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_GetVersion_client_minor_version, { "client_minor_version", "x11.dpms.GetVersion.client_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_GetVersion_reply_server_major_version, { "server_major_version", "x11.dpms.GetVersion.reply.server_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_GetVersion_reply_server_minor_version, { "server_minor_version", "x11.dpms.GetVersion.reply.server_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_Capable_reply_capable, { "capable", "x11.dpms.Capable.reply.capable", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_GetTimeouts_reply_standby_timeout, { "standby_timeout", "x11.dpms.GetTimeouts.reply.standby_timeout", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_GetTimeouts_reply_suspend_timeout, { "suspend_timeout", "x11.dpms.GetTimeouts.reply.suspend_timeout", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_GetTimeouts_reply_off_timeout, { "off_timeout", "x11.dpms.GetTimeouts.reply.off_timeout", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_SetTimeouts_standby_timeout, { "standby_timeout", "x11.dpms.SetTimeouts.standby_timeout", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_SetTimeouts_suspend_timeout, { "suspend_timeout", "x11.dpms.SetTimeouts.suspend_timeout", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_SetTimeouts_off_timeout, { "off_timeout", "x11.dpms.SetTimeouts.off_timeout", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_ForceLevel_power_level, { "power_level", "x11.dpms.ForceLevel.power_level", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_dpms_DPMSMode), 0, NULL, HFILL }}, { &hf_x11_dpms_Info_reply_power_level, { "power_level", "x11.dpms.Info.reply.power_level", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_dpms_DPMSMode), 0, NULL, HFILL }}, { &hf_x11_dpms_Info_reply_state, { "state", "x11.dpms.Info.reply.state", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dpms_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(dpms_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_dri2_DRI2Buffer, { "dri2_DRI2Buffer", "x11.struct.dri2_DRI2Buffer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_dri2_DRI2Buffer_attachment, { "attachment", "x11.struct.dri2_DRI2Buffer.attachment", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_dri2_Attachment), 0, NULL, HFILL }}, { &hf_x11_struct_dri2_DRI2Buffer_name, { "name", "x11.struct.dri2_DRI2Buffer.name", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_dri2_DRI2Buffer_pitch, { "pitch", "x11.struct.dri2_DRI2Buffer.pitch", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_dri2_DRI2Buffer_cpp, { "cpp", "x11.struct.dri2_DRI2Buffer.cpp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_dri2_DRI2Buffer_flags, { "flags", "x11.struct.dri2_DRI2Buffer.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_dri2_AttachFormat, { "dri2_AttachFormat", "x11.struct.dri2_AttachFormat", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_dri2_AttachFormat_attachment, { "attachment", "x11.struct.dri2_AttachFormat.attachment", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_dri2_Attachment), 0, NULL, HFILL }}, { &hf_x11_struct_dri2_AttachFormat_format, { "format", "x11.struct.dri2_AttachFormat.format", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_QueryVersion_major_version, { "major_version", "x11.dri2.QueryVersion.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_QueryVersion_minor_version, { "minor_version", "x11.dri2.QueryVersion.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_QueryVersion_reply_major_version, { "major_version", "x11.dri2.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_QueryVersion_reply_minor_version, { "minor_version", "x11.dri2.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Connect_window, { "window", "x11.dri2.Connect.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Connect_driver_type, { "driver_type", "x11.dri2.Connect.driver_type", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_dri2_DriverType), 0, NULL, HFILL }}, { &hf_x11_dri2_Connect_reply_driver_name_length, { "driver_name_length", "x11.dri2.Connect.reply.driver_name_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Connect_reply_device_name_length, { "device_name_length", "x11.dri2.Connect.reply.device_name_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Connect_reply_driver_name, { "driver_name", "x11.dri2.Connect.reply.driver_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Connect_reply_alignment_pad, { "alignment_pad", "x11.dri2.Connect.reply.alignment_pad", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Connect_reply_device_name, { "device_name", "x11.dri2.Connect.reply.device_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Authenticate_window, { "window", "x11.dri2.Authenticate.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Authenticate_magic, { "magic", "x11.dri2.Authenticate.magic", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_Authenticate_reply_authenticated, { "authenticated", "x11.dri2.Authenticate.reply.authenticated", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_CreateDrawable_drawable, { "drawable", "x11.dri2.CreateDrawable.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_DestroyDrawable_drawable, { "drawable", "x11.dri2.DestroyDrawable.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_drawable, { "drawable", "x11.dri2.GetBuffers.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_count, { "count", "x11.dri2.GetBuffers.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_attachments, { "attachments", "x11.dri2.GetBuffers.attachments.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_attachments_item, { "attachments", "x11.dri2.GetBuffers.attachments", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_reply_width, { "width", "x11.dri2.GetBuffers.reply.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_reply_height, { "height", "x11.dri2.GetBuffers.reply.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_reply_count, { "count", "x11.dri2.GetBuffers.reply.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_reply_buffers, { "buffers", "x11.dri2.GetBuffers.reply.buffers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffers_reply_buffers_item, { "buffers", "x11.dri2.GetBuffers.reply.buffers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_CopyRegion_drawable, { "drawable", "x11.dri2.CopyRegion.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_CopyRegion_region, { "region", "x11.dri2.CopyRegion.region", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_CopyRegion_dest, { "dest", "x11.dri2.CopyRegion.dest", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_CopyRegion_src, { "src", "x11.dri2.CopyRegion.src", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_drawable, { "drawable", "x11.dri2.GetBuffersWithFormat.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_count, { "count", "x11.dri2.GetBuffersWithFormat.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_attachments, { "attachments", "x11.dri2.GetBuffersWithFormat.attachments.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_attachments_item, { "attachments", "x11.dri2.GetBuffersWithFormat.attachments", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_reply_width, { "width", "x11.dri2.GetBuffersWithFormat.reply.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_reply_height, { "height", "x11.dri2.GetBuffersWithFormat.reply.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_reply_count, { "count", "x11.dri2.GetBuffersWithFormat.reply.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_reply_buffers, { "buffers", "x11.dri2.GetBuffersWithFormat.reply.buffers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetBuffersWithFormat_reply_buffers_item, { "buffers", "x11.dri2.GetBuffersWithFormat.reply.buffers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_drawable, { "drawable", "x11.dri2.SwapBuffers.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_target_msc_hi, { "target_msc_hi", "x11.dri2.SwapBuffers.target_msc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_target_msc_lo, { "target_msc_lo", "x11.dri2.SwapBuffers.target_msc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_divisor_hi, { "divisor_hi", "x11.dri2.SwapBuffers.divisor_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_divisor_lo, { "divisor_lo", "x11.dri2.SwapBuffers.divisor_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_remainder_hi, { "remainder_hi", "x11.dri2.SwapBuffers.remainder_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_remainder_lo, { "remainder_lo", "x11.dri2.SwapBuffers.remainder_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_reply_swap_hi, { "swap_hi", "x11.dri2.SwapBuffers.reply.swap_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapBuffers_reply_swap_lo, { "swap_lo", "x11.dri2.SwapBuffers.reply.swap_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetMSC_drawable, { "drawable", "x11.dri2.GetMSC.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetMSC_reply_ust_hi, { "ust_hi", "x11.dri2.GetMSC.reply.ust_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetMSC_reply_ust_lo, { "ust_lo", "x11.dri2.GetMSC.reply.ust_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetMSC_reply_msc_hi, { "msc_hi", "x11.dri2.GetMSC.reply.msc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetMSC_reply_msc_lo, { "msc_lo", "x11.dri2.GetMSC.reply.msc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetMSC_reply_sbc_hi, { "sbc_hi", "x11.dri2.GetMSC.reply.sbc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetMSC_reply_sbc_lo, { "sbc_lo", "x11.dri2.GetMSC.reply.sbc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_drawable, { "drawable", "x11.dri2.WaitMSC.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_target_msc_hi, { "target_msc_hi", "x11.dri2.WaitMSC.target_msc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_target_msc_lo, { "target_msc_lo", "x11.dri2.WaitMSC.target_msc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_divisor_hi, { "divisor_hi", "x11.dri2.WaitMSC.divisor_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_divisor_lo, { "divisor_lo", "x11.dri2.WaitMSC.divisor_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_remainder_hi, { "remainder_hi", "x11.dri2.WaitMSC.remainder_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_remainder_lo, { "remainder_lo", "x11.dri2.WaitMSC.remainder_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_reply_ust_hi, { "ust_hi", "x11.dri2.WaitMSC.reply.ust_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_reply_ust_lo, { "ust_lo", "x11.dri2.WaitMSC.reply.ust_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_reply_msc_hi, { "msc_hi", "x11.dri2.WaitMSC.reply.msc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_reply_msc_lo, { "msc_lo", "x11.dri2.WaitMSC.reply.msc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_reply_sbc_hi, { "sbc_hi", "x11.dri2.WaitMSC.reply.sbc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitMSC_reply_sbc_lo, { "sbc_lo", "x11.dri2.WaitMSC.reply.sbc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_drawable, { "drawable", "x11.dri2.WaitSBC.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_target_sbc_hi, { "target_sbc_hi", "x11.dri2.WaitSBC.target_sbc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_target_sbc_lo, { "target_sbc_lo", "x11.dri2.WaitSBC.target_sbc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_reply_ust_hi, { "ust_hi", "x11.dri2.WaitSBC.reply.ust_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_reply_ust_lo, { "ust_lo", "x11.dri2.WaitSBC.reply.ust_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_reply_msc_hi, { "msc_hi", "x11.dri2.WaitSBC.reply.msc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_reply_msc_lo, { "msc_lo", "x11.dri2.WaitSBC.reply.msc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_reply_sbc_hi, { "sbc_hi", "x11.dri2.WaitSBC.reply.sbc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_WaitSBC_reply_sbc_lo, { "sbc_lo", "x11.dri2.WaitSBC.reply.sbc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapInterval_drawable, { "drawable", "x11.dri2.SwapInterval.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_SwapInterval_interval, { "interval", "x11.dri2.SwapInterval.interval", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetParam_drawable, { "drawable", "x11.dri2.GetParam.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetParam_param, { "param", "x11.dri2.GetParam.param", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetParam_reply_is_param_recognized, { "is_param_recognized", "x11.dri2.GetParam.reply.is_param_recognized", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetParam_reply_value_hi, { "value_hi", "x11.dri2.GetParam.reply.value_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_GetParam_reply_value_lo, { "value_lo", "x11.dri2.GetParam.reply.value_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_InvalidateBuffers_drawable, { "drawable", "x11.dri2.InvalidateBuffers.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri2_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(dri2_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_dri3_QueryVersion_major_version, { "major_version", "x11.dri3.QueryVersion.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_QueryVersion_minor_version, { "minor_version", "x11.dri3.QueryVersion.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_QueryVersion_reply_major_version, { "major_version", "x11.dri3.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_QueryVersion_reply_minor_version, { "minor_version", "x11.dri3.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_Open_drawable, { "drawable", "x11.dri3.Open.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_Open_provider, { "provider", "x11.dri3.Open.provider", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_Open_reply_nfd, { "nfd", "x11.dri3.Open.reply.nfd", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffer_pixmap, { "pixmap", "x11.dri3.PixmapFromBuffer.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffer_drawable, { "drawable", "x11.dri3.PixmapFromBuffer.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffer_size, { "size", "x11.dri3.PixmapFromBuffer.size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffer_width, { "width", "x11.dri3.PixmapFromBuffer.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffer_height, { "height", "x11.dri3.PixmapFromBuffer.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffer_stride, { "stride", "x11.dri3.PixmapFromBuffer.stride", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffer_depth, { "depth", "x11.dri3.PixmapFromBuffer.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffer_bpp, { "bpp", "x11.dri3.PixmapFromBuffer.bpp", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BufferFromPixmap_pixmap, { "pixmap", "x11.dri3.BufferFromPixmap.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BufferFromPixmap_reply_nfd, { "nfd", "x11.dri3.BufferFromPixmap.reply.nfd", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BufferFromPixmap_reply_size, { "size", "x11.dri3.BufferFromPixmap.reply.size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BufferFromPixmap_reply_width, { "width", "x11.dri3.BufferFromPixmap.reply.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BufferFromPixmap_reply_height, { "height", "x11.dri3.BufferFromPixmap.reply.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BufferFromPixmap_reply_stride, { "stride", "x11.dri3.BufferFromPixmap.reply.stride", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BufferFromPixmap_reply_depth, { "depth", "x11.dri3.BufferFromPixmap.reply.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BufferFromPixmap_reply_bpp, { "bpp", "x11.dri3.BufferFromPixmap.reply.bpp", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_FenceFromFD_drawable, { "drawable", "x11.dri3.FenceFromFD.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_FenceFromFD_fence, { "fence", "x11.dri3.FenceFromFD.fence", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_FenceFromFD_initially_triggered, { "initially_triggered", "x11.dri3.FenceFromFD.initially_triggered", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_FDFromFence_drawable, { "drawable", "x11.dri3.FDFromFence.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_FDFromFence_fence, { "fence", "x11.dri3.FDFromFence.fence", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_FDFromFence_reply_nfd, { "nfd", "x11.dri3.FDFromFence.reply.nfd", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_window, { "window", "x11.dri3.GetSupportedModifiers.window", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_depth, { "depth", "x11.dri3.GetSupportedModifiers.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_bpp, { "bpp", "x11.dri3.GetSupportedModifiers.bpp", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_reply_num_window_modifiers, { "num_window_modifiers", "x11.dri3.GetSupportedModifiers.reply.num_window_modifiers", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_reply_num_screen_modifiers, { "num_screen_modifiers", "x11.dri3.GetSupportedModifiers.reply.num_screen_modifiers", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_reply_window_modifiers, { "window_modifiers", "x11.dri3.GetSupportedModifiers.reply.window_modifiers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_reply_window_modifiers_item, { "window_modifiers", "x11.dri3.GetSupportedModifiers.reply.window_modifiers", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_reply_screen_modifiers, { "screen_modifiers", "x11.dri3.GetSupportedModifiers.reply.screen_modifiers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_GetSupportedModifiers_reply_screen_modifiers_item, { "screen_modifiers", "x11.dri3.GetSupportedModifiers.reply.screen_modifiers", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_pixmap, { "pixmap", "x11.dri3.PixmapFromBuffers.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_window, { "window", "x11.dri3.PixmapFromBuffers.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_num_buffers, { "num_buffers", "x11.dri3.PixmapFromBuffers.num_buffers", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_width, { "width", "x11.dri3.PixmapFromBuffers.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_height, { "height", "x11.dri3.PixmapFromBuffers.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_stride0, { "stride0", "x11.dri3.PixmapFromBuffers.stride0", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_offset0, { "offset0", "x11.dri3.PixmapFromBuffers.offset0", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_stride1, { "stride1", "x11.dri3.PixmapFromBuffers.stride1", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_offset1, { "offset1", "x11.dri3.PixmapFromBuffers.offset1", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_stride2, { "stride2", "x11.dri3.PixmapFromBuffers.stride2", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_offset2, { "offset2", "x11.dri3.PixmapFromBuffers.offset2", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_stride3, { "stride3", "x11.dri3.PixmapFromBuffers.stride3", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_offset3, { "offset3", "x11.dri3.PixmapFromBuffers.offset3", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_depth, { "depth", "x11.dri3.PixmapFromBuffers.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_bpp, { "bpp", "x11.dri3.PixmapFromBuffers.bpp", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_modifier, { "modifier", "x11.dri3.PixmapFromBuffers.modifier", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_PixmapFromBuffers_buffers, { "buffers", "x11.dri3.PixmapFromBuffers.buffers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_pixmap, { "pixmap", "x11.dri3.BuffersFromPixmap.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_nfd, { "nfd", "x11.dri3.BuffersFromPixmap.reply.nfd", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_width, { "width", "x11.dri3.BuffersFromPixmap.reply.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_height, { "height", "x11.dri3.BuffersFromPixmap.reply.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_modifier, { "modifier", "x11.dri3.BuffersFromPixmap.reply.modifier", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_depth, { "depth", "x11.dri3.BuffersFromPixmap.reply.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_bpp, { "bpp", "x11.dri3.BuffersFromPixmap.reply.bpp", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_strides, { "strides", "x11.dri3.BuffersFromPixmap.reply.strides.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_strides_item, { "strides", "x11.dri3.BuffersFromPixmap.reply.strides", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_offsets, { "offsets", "x11.dri3.BuffersFromPixmap.reply.offsets.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_offsets_item, { "offsets", "x11.dri3.BuffersFromPixmap.reply.offsets", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_BuffersFromPixmap_reply_buffers, { "buffers", "x11.dri3.BuffersFromPixmap.reply.buffers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_dri3_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(dri3_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_ge_QueryVersion_client_major_version, { "client_major_version", "x11.ge.QueryVersion.client_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_ge_QueryVersion_client_minor_version, { "client_minor_version", "x11.ge.QueryVersion.client_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_ge_QueryVersion_reply_major_version, { "major_version", "x11.ge.QueryVersion.reply.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_ge_QueryVersion_reply_minor_version, { "minor_version", "x11.ge.QueryVersion.reply.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_ge_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(ge_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_glx_BufferSwapComplete_event_type, { "event_type", "x11.glx.BufferSwapComplete.event_type", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_BufferSwapComplete_drawable, { "drawable", "x11.glx.BufferSwapComplete.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_BufferSwapComplete_ust_hi, { "ust_hi", "x11.glx.BufferSwapComplete.ust_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_BufferSwapComplete_ust_lo, { "ust_lo", "x11.glx.BufferSwapComplete.ust_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_BufferSwapComplete_msc_hi, { "msc_hi", "x11.glx.BufferSwapComplete.msc_hi", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_BufferSwapComplete_msc_lo, { "msc_lo", "x11.glx.BufferSwapComplete.msc_lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_BufferSwapComplete_sbc, { "sbc", "x11.glx.BufferSwapComplete.sbc", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_Render_context_tag, { "context_tag", "x11.glx.Render.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_Render_data, { "data", "x11.glx.Render.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderLarge_context_tag, { "context_tag", "x11.glx.RenderLarge.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderLarge_request_num, { "request_num", "x11.glx.RenderLarge.request_num", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderLarge_request_total, { "request_total", "x11.glx.RenderLarge.request_total", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderLarge_data_len, { "data_len", "x11.glx.RenderLarge.data_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderLarge_data, { "data", "x11.glx.RenderLarge.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContext_context, { "context", "x11.glx.CreateContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContext_visual, { "visual", "x11.glx.CreateContext.visual", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContext_screen, { "screen", "x11.glx.CreateContext.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContext_share_list, { "share_list", "x11.glx.CreateContext.share_list", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContext_is_direct, { "is_direct", "x11.glx.CreateContext.is_direct", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DestroyContext_context, { "context", "x11.glx.DestroyContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeCurrent_drawable, { "drawable", "x11.glx.MakeCurrent.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeCurrent_context, { "context", "x11.glx.MakeCurrent.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeCurrent_old_context_tag, { "old_context_tag", "x11.glx.MakeCurrent.old_context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeCurrent_reply_context_tag, { "context_tag", "x11.glx.MakeCurrent.reply.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsDirect_context, { "context", "x11.glx.IsDirect.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsDirect_reply_is_direct, { "is_direct", "x11.glx.IsDirect.reply.is_direct", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryVersion_major_version, { "major_version", "x11.glx.QueryVersion.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryVersion_minor_version, { "minor_version", "x11.glx.QueryVersion.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryVersion_reply_major_version, { "major_version", "x11.glx.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryVersion_reply_minor_version, { "minor_version", "x11.glx.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_WaitGL_context_tag, { "context_tag", "x11.glx.WaitGL.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_WaitX_context_tag, { "context_tag", "x11.glx.WaitX.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CopyContext_src, { "src", "x11.glx.CopyContext.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CopyContext_dest, { "dest", "x11.glx.CopyContext.dest", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CopyContext_mask, { "mask", "x11.glx.CopyContext.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CopyContext_src_context_tag, { "src_context_tag", "x11.glx.CopyContext.src_context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SwapBuffers_context_tag, { "context_tag", "x11.glx.SwapBuffers.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SwapBuffers_drawable, { "drawable", "x11.glx.SwapBuffers.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_UseXFont_context_tag, { "context_tag", "x11.glx.UseXFont.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_UseXFont_font, { "font", "x11.glx.UseXFont.font", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_UseXFont_first, { "first", "x11.glx.UseXFont.first", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_UseXFont_count, { "count", "x11.glx.UseXFont.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_UseXFont_list_base, { "list_base", "x11.glx.UseXFont.list_base", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateGLXPixmap_screen, { "screen", "x11.glx.CreateGLXPixmap.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateGLXPixmap_visual, { "visual", "x11.glx.CreateGLXPixmap.visual", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateGLXPixmap_pixmap, { "pixmap", "x11.glx.CreateGLXPixmap.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateGLXPixmap_glx_pixmap, { "glx_pixmap", "x11.glx.CreateGLXPixmap.glx_pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetVisualConfigs_screen, { "screen", "x11.glx.GetVisualConfigs.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetVisualConfigs_reply_num_visuals, { "num_visuals", "x11.glx.GetVisualConfigs.reply.num_visuals", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetVisualConfigs_reply_num_properties, { "num_properties", "x11.glx.GetVisualConfigs.reply.num_properties", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetVisualConfigs_reply_property_list, { "property_list", "x11.glx.GetVisualConfigs.reply.property_list.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetVisualConfigs_reply_property_list_item, { "property_list", "x11.glx.GetVisualConfigs.reply.property_list", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DestroyGLXPixmap_glx_pixmap, { "glx_pixmap", "x11.glx.DestroyGLXPixmap.glx_pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivate_vendor_code, { "vendor_code", "x11.glx.VendorPrivate.vendor_code", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivate_context_tag, { "context_tag", "x11.glx.VendorPrivate.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivate_data, { "data", "x11.glx.VendorPrivate.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivateWithReply_vendor_code, { "vendor_code", "x11.glx.VendorPrivateWithReply.vendor_code", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivateWithReply_context_tag, { "context_tag", "x11.glx.VendorPrivateWithReply.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivateWithReply_data, { "data", "x11.glx.VendorPrivateWithReply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivateWithReply_reply_retval, { "retval", "x11.glx.VendorPrivateWithReply.reply.retval", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivateWithReply_reply_data1, { "data1", "x11.glx.VendorPrivateWithReply.reply.data1", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_VendorPrivateWithReply_reply_data2, { "data2", "x11.glx.VendorPrivateWithReply.reply.data2", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryExtensionsString_screen, { "screen", "x11.glx.QueryExtensionsString.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryExtensionsString_reply_n, { "n", "x11.glx.QueryExtensionsString.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryServerString_screen, { "screen", "x11.glx.QueryServerString.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryServerString_name, { "name", "x11.glx.QueryServerString.name", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryServerString_reply_str_len, { "str_len", "x11.glx.QueryServerString.reply.str_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryServerString_reply_string, { "string", "x11.glx.QueryServerString.reply.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ClientInfo_major_version, { "major_version", "x11.glx.ClientInfo.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ClientInfo_minor_version, { "minor_version", "x11.glx.ClientInfo.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ClientInfo_str_len, { "str_len", "x11.glx.ClientInfo.str_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ClientInfo_string, { "string", "x11.glx.ClientInfo.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFBConfigs_screen, { "screen", "x11.glx.GetFBConfigs.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFBConfigs_reply_num_FB_configs, { "num_FB_configs", "x11.glx.GetFBConfigs.reply.num_FB_configs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFBConfigs_reply_num_properties, { "num_properties", "x11.glx.GetFBConfigs.reply.num_properties", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFBConfigs_reply_property_list, { "property_list", "x11.glx.GetFBConfigs.reply.property_list.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFBConfigs_reply_property_list_item, { "property_list", "x11.glx.GetFBConfigs.reply.property_list", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePixmap_screen, { "screen", "x11.glx.CreatePixmap.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePixmap_fbconfig, { "fbconfig", "x11.glx.CreatePixmap.fbconfig", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePixmap_pixmap, { "pixmap", "x11.glx.CreatePixmap.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePixmap_glx_pixmap, { "glx_pixmap", "x11.glx.CreatePixmap.glx_pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePixmap_num_attribs, { "num_attribs", "x11.glx.CreatePixmap.num_attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePixmap_attribs, { "attribs", "x11.glx.CreatePixmap.attribs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePixmap_attribs_item, { "attribs", "x11.glx.CreatePixmap.attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DestroyPixmap_glx_pixmap, { "glx_pixmap", "x11.glx.DestroyPixmap.glx_pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateNewContext_context, { "context", "x11.glx.CreateNewContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateNewContext_fbconfig, { "fbconfig", "x11.glx.CreateNewContext.fbconfig", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateNewContext_screen, { "screen", "x11.glx.CreateNewContext.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateNewContext_render_type, { "render_type", "x11.glx.CreateNewContext.render_type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateNewContext_share_list, { "share_list", "x11.glx.CreateNewContext.share_list", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateNewContext_is_direct, { "is_direct", "x11.glx.CreateNewContext.is_direct", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryContext_context, { "context", "x11.glx.QueryContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryContext_reply_num_attribs, { "num_attribs", "x11.glx.QueryContext.reply.num_attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryContext_reply_attribs, { "attribs", "x11.glx.QueryContext.reply.attribs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_QueryContext_reply_attribs_item, { "attribs", "x11.glx.QueryContext.reply.attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeContextCurrent_old_context_tag, { "old_context_tag", "x11.glx.MakeContextCurrent.old_context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeContextCurrent_drawable, { "drawable", "x11.glx.MakeContextCurrent.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeContextCurrent_read_drawable, { "read_drawable", "x11.glx.MakeContextCurrent.read_drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeContextCurrent_context, { "context", "x11.glx.MakeContextCurrent.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_MakeContextCurrent_reply_context_tag, { "context_tag", "x11.glx.MakeContextCurrent.reply.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePbuffer_screen, { "screen", "x11.glx.CreatePbuffer.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePbuffer_fbconfig, { "fbconfig", "x11.glx.CreatePbuffer.fbconfig", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePbuffer_pbuffer, { "pbuffer", "x11.glx.CreatePbuffer.pbuffer", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePbuffer_num_attribs, { "num_attribs", "x11.glx.CreatePbuffer.num_attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePbuffer_attribs, { "attribs", "x11.glx.CreatePbuffer.attribs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreatePbuffer_attribs_item, { "attribs", "x11.glx.CreatePbuffer.attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DestroyPbuffer_pbuffer, { "pbuffer", "x11.glx.DestroyPbuffer.pbuffer", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDrawableAttributes_drawable, { "drawable", "x11.glx.GetDrawableAttributes.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDrawableAttributes_reply_num_attribs, { "num_attribs", "x11.glx.GetDrawableAttributes.reply.num_attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDrawableAttributes_reply_attribs, { "attribs", "x11.glx.GetDrawableAttributes.reply.attribs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDrawableAttributes_reply_attribs_item, { "attribs", "x11.glx.GetDrawableAttributes.reply.attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ChangeDrawableAttributes_drawable, { "drawable", "x11.glx.ChangeDrawableAttributes.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ChangeDrawableAttributes_num_attribs, { "num_attribs", "x11.glx.ChangeDrawableAttributes.num_attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ChangeDrawableAttributes_attribs, { "attribs", "x11.glx.ChangeDrawableAttributes.attribs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ChangeDrawableAttributes_attribs_item, { "attribs", "x11.glx.ChangeDrawableAttributes.attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateWindow_screen, { "screen", "x11.glx.CreateWindow.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateWindow_fbconfig, { "fbconfig", "x11.glx.CreateWindow.fbconfig", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateWindow_window, { "window", "x11.glx.CreateWindow.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateWindow_glx_window, { "glx_window", "x11.glx.CreateWindow.glx_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateWindow_num_attribs, { "num_attribs", "x11.glx.CreateWindow.num_attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateWindow_attribs, { "attribs", "x11.glx.CreateWindow.attribs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateWindow_attribs_item, { "attribs", "x11.glx.CreateWindow.attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteWindow_glxwindow, { "glxwindow", "x11.glx.DeleteWindow.glxwindow", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_major_version, { "major_version", "x11.glx.SetClientInfoARB.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_minor_version, { "minor_version", "x11.glx.SetClientInfoARB.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_num_versions, { "num_versions", "x11.glx.SetClientInfoARB.num_versions", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_gl_str_len, { "gl_str_len", "x11.glx.SetClientInfoARB.gl_str_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_glx_str_len, { "glx_str_len", "x11.glx.SetClientInfoARB.glx_str_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_gl_versions, { "gl_versions", "x11.glx.SetClientInfoARB.gl_versions.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_gl_versions_item, { "gl_versions", "x11.glx.SetClientInfoARB.gl_versions", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_gl_extension_string, { "gl_extension_string", "x11.glx.SetClientInfoARB.gl_extension_string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfoARB_glx_extension_string, { "glx_extension_string", "x11.glx.SetClientInfoARB.glx_extension_string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContextAttribsARB_context, { "context", "x11.glx.CreateContextAttribsARB.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContextAttribsARB_fbconfig, { "fbconfig", "x11.glx.CreateContextAttribsARB.fbconfig", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContextAttribsARB_screen, { "screen", "x11.glx.CreateContextAttribsARB.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContextAttribsARB_share_list, { "share_list", "x11.glx.CreateContextAttribsARB.share_list", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContextAttribsARB_is_direct, { "is_direct", "x11.glx.CreateContextAttribsARB.is_direct", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContextAttribsARB_num_attribs, { "num_attribs", "x11.glx.CreateContextAttribsARB.num_attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContextAttribsARB_attribs, { "attribs", "x11.glx.CreateContextAttribsARB.attribs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_CreateContextAttribsARB_attribs_item, { "attribs", "x11.glx.CreateContextAttribsARB.attribs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_major_version, { "major_version", "x11.glx.SetClientInfo2ARB.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_minor_version, { "minor_version", "x11.glx.SetClientInfo2ARB.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_num_versions, { "num_versions", "x11.glx.SetClientInfo2ARB.num_versions", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_gl_str_len, { "gl_str_len", "x11.glx.SetClientInfo2ARB.gl_str_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_glx_str_len, { "glx_str_len", "x11.glx.SetClientInfo2ARB.glx_str_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_gl_versions, { "gl_versions", "x11.glx.SetClientInfo2ARB.gl_versions.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_gl_versions_item, { "gl_versions", "x11.glx.SetClientInfo2ARB.gl_versions", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_gl_extension_string, { "gl_extension_string", "x11.glx.SetClientInfo2ARB.gl_extension_string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SetClientInfo2ARB_glx_extension_string, { "glx_extension_string", "x11.glx.SetClientInfo2ARB.glx_extension_string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_NewList_context_tag, { "context_tag", "x11.glx.NewList.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_NewList_list, { "list", "x11.glx.NewList.list", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_NewList_mode, { "mode", "x11.glx.NewList.mode", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_EndList_context_tag, { "context_tag", "x11.glx.EndList.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteLists_context_tag, { "context_tag", "x11.glx.DeleteLists.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteLists_list, { "list", "x11.glx.DeleteLists.list", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteLists_range, { "range", "x11.glx.DeleteLists.range", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenLists_context_tag, { "context_tag", "x11.glx.GenLists.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenLists_range, { "range", "x11.glx.GenLists.range", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenLists_reply_ret_val, { "ret_val", "x11.glx.GenLists.reply.ret_val", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_FeedbackBuffer_context_tag, { "context_tag", "x11.glx.FeedbackBuffer.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_FeedbackBuffer_size, { "size", "x11.glx.FeedbackBuffer.size", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_FeedbackBuffer_type, { "type", "x11.glx.FeedbackBuffer.type", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SelectBuffer_context_tag, { "context_tag", "x11.glx.SelectBuffer.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_SelectBuffer_size, { "size", "x11.glx.SelectBuffer.size", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderMode_context_tag, { "context_tag", "x11.glx.RenderMode.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderMode_mode, { "mode", "x11.glx.RenderMode.mode", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderMode_reply_ret_val, { "ret_val", "x11.glx.RenderMode.reply.ret_val", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderMode_reply_n, { "n", "x11.glx.RenderMode.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderMode_reply_new_mode, { "new_mode", "x11.glx.RenderMode.reply.new_mode", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderMode_reply_data, { "data", "x11.glx.RenderMode.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_RenderMode_reply_data_item, { "data", "x11.glx.RenderMode.reply.data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_Finish_context_tag, { "context_tag", "x11.glx.Finish.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_PixelStoref_context_tag, { "context_tag", "x11.glx.PixelStoref.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_PixelStoref_pname, { "pname", "x11.glx.PixelStoref.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_PixelStoref_datum, { "datum", "x11.glx.PixelStoref.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_PixelStorei_context_tag, { "context_tag", "x11.glx.PixelStorei.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_PixelStorei_pname, { "pname", "x11.glx.PixelStorei.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_PixelStorei_datum, { "datum", "x11.glx.PixelStorei.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_context_tag, { "context_tag", "x11.glx.ReadPixels.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_x, { "x", "x11.glx.ReadPixels.x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_y, { "y", "x11.glx.ReadPixels.y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_width, { "width", "x11.glx.ReadPixels.width", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_height, { "height", "x11.glx.ReadPixels.height", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_format, { "format", "x11.glx.ReadPixels.format", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_type, { "type", "x11.glx.ReadPixels.type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_swap_bytes, { "swap_bytes", "x11.glx.ReadPixels.swap_bytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_lsb_first, { "lsb_first", "x11.glx.ReadPixels.lsb_first", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_ReadPixels_reply_data, { "data", "x11.glx.ReadPixels.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetBooleanv_context_tag, { "context_tag", "x11.glx.GetBooleanv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetBooleanv_pname, { "pname", "x11.glx.GetBooleanv.pname", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetBooleanv_reply_n, { "n", "x11.glx.GetBooleanv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetBooleanv_reply_datum, { "datum", "x11.glx.GetBooleanv.reply.datum", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetBooleanv_reply_data, { "data", "x11.glx.GetBooleanv.reply.data", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetClipPlane_context_tag, { "context_tag", "x11.glx.GetClipPlane.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetClipPlane_plane, { "plane", "x11.glx.GetClipPlane.plane", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetClipPlane_reply_data, { "data", "x11.glx.GetClipPlane.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetClipPlane_reply_data_item, { "data", "x11.glx.GetClipPlane.reply.data", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDoublev_context_tag, { "context_tag", "x11.glx.GetDoublev.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDoublev_pname, { "pname", "x11.glx.GetDoublev.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDoublev_reply_n, { "n", "x11.glx.GetDoublev.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDoublev_reply_datum, { "datum", "x11.glx.GetDoublev.reply.datum", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDoublev_reply_data, { "data", "x11.glx.GetDoublev.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetDoublev_reply_data_item, { "data", "x11.glx.GetDoublev.reply.data", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetError_context_tag, { "context_tag", "x11.glx.GetError.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetError_reply_error, { "error", "x11.glx.GetError.reply.error", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFloatv_context_tag, { "context_tag", "x11.glx.GetFloatv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFloatv_pname, { "pname", "x11.glx.GetFloatv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFloatv_reply_n, { "n", "x11.glx.GetFloatv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFloatv_reply_datum, { "datum", "x11.glx.GetFloatv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFloatv_reply_data, { "data", "x11.glx.GetFloatv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetFloatv_reply_data_item, { "data", "x11.glx.GetFloatv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetIntegerv_context_tag, { "context_tag", "x11.glx.GetIntegerv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetIntegerv_pname, { "pname", "x11.glx.GetIntegerv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetIntegerv_reply_n, { "n", "x11.glx.GetIntegerv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetIntegerv_reply_datum, { "datum", "x11.glx.GetIntegerv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetIntegerv_reply_data, { "data", "x11.glx.GetIntegerv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetIntegerv_reply_data_item, { "data", "x11.glx.GetIntegerv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightfv_context_tag, { "context_tag", "x11.glx.GetLightfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightfv_light, { "light", "x11.glx.GetLightfv.light", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightfv_pname, { "pname", "x11.glx.GetLightfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightfv_reply_n, { "n", "x11.glx.GetLightfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightfv_reply_datum, { "datum", "x11.glx.GetLightfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightfv_reply_data, { "data", "x11.glx.GetLightfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightfv_reply_data_item, { "data", "x11.glx.GetLightfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightiv_context_tag, { "context_tag", "x11.glx.GetLightiv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightiv_light, { "light", "x11.glx.GetLightiv.light", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightiv_pname, { "pname", "x11.glx.GetLightiv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightiv_reply_n, { "n", "x11.glx.GetLightiv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightiv_reply_datum, { "datum", "x11.glx.GetLightiv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightiv_reply_data, { "data", "x11.glx.GetLightiv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetLightiv_reply_data_item, { "data", "x11.glx.GetLightiv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapdv_context_tag, { "context_tag", "x11.glx.GetMapdv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapdv_target, { "target", "x11.glx.GetMapdv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapdv_query, { "query", "x11.glx.GetMapdv.query", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapdv_reply_n, { "n", "x11.glx.GetMapdv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapdv_reply_datum, { "datum", "x11.glx.GetMapdv.reply.datum", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapdv_reply_data, { "data", "x11.glx.GetMapdv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapdv_reply_data_item, { "data", "x11.glx.GetMapdv.reply.data", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapfv_context_tag, { "context_tag", "x11.glx.GetMapfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapfv_target, { "target", "x11.glx.GetMapfv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapfv_query, { "query", "x11.glx.GetMapfv.query", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapfv_reply_n, { "n", "x11.glx.GetMapfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapfv_reply_datum, { "datum", "x11.glx.GetMapfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapfv_reply_data, { "data", "x11.glx.GetMapfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapfv_reply_data_item, { "data", "x11.glx.GetMapfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapiv_context_tag, { "context_tag", "x11.glx.GetMapiv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapiv_target, { "target", "x11.glx.GetMapiv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapiv_query, { "query", "x11.glx.GetMapiv.query", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapiv_reply_n, { "n", "x11.glx.GetMapiv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapiv_reply_datum, { "datum", "x11.glx.GetMapiv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapiv_reply_data, { "data", "x11.glx.GetMapiv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMapiv_reply_data_item, { "data", "x11.glx.GetMapiv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialfv_context_tag, { "context_tag", "x11.glx.GetMaterialfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialfv_face, { "face", "x11.glx.GetMaterialfv.face", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialfv_pname, { "pname", "x11.glx.GetMaterialfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialfv_reply_n, { "n", "x11.glx.GetMaterialfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialfv_reply_datum, { "datum", "x11.glx.GetMaterialfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialfv_reply_data, { "data", "x11.glx.GetMaterialfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialfv_reply_data_item, { "data", "x11.glx.GetMaterialfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialiv_context_tag, { "context_tag", "x11.glx.GetMaterialiv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialiv_face, { "face", "x11.glx.GetMaterialiv.face", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialiv_pname, { "pname", "x11.glx.GetMaterialiv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialiv_reply_n, { "n", "x11.glx.GetMaterialiv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialiv_reply_datum, { "datum", "x11.glx.GetMaterialiv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialiv_reply_data, { "data", "x11.glx.GetMaterialiv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMaterialiv_reply_data_item, { "data", "x11.glx.GetMaterialiv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapfv_context_tag, { "context_tag", "x11.glx.GetPixelMapfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapfv_map, { "map", "x11.glx.GetPixelMapfv.map", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapfv_reply_n, { "n", "x11.glx.GetPixelMapfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapfv_reply_datum, { "datum", "x11.glx.GetPixelMapfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapfv_reply_data, { "data", "x11.glx.GetPixelMapfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapfv_reply_data_item, { "data", "x11.glx.GetPixelMapfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapuiv_context_tag, { "context_tag", "x11.glx.GetPixelMapuiv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapuiv_map, { "map", "x11.glx.GetPixelMapuiv.map", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapuiv_reply_n, { "n", "x11.glx.GetPixelMapuiv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapuiv_reply_datum, { "datum", "x11.glx.GetPixelMapuiv.reply.datum", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapuiv_reply_data, { "data", "x11.glx.GetPixelMapuiv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapuiv_reply_data_item, { "data", "x11.glx.GetPixelMapuiv.reply.data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapusv_context_tag, { "context_tag", "x11.glx.GetPixelMapusv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapusv_map, { "map", "x11.glx.GetPixelMapusv.map", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapusv_reply_n, { "n", "x11.glx.GetPixelMapusv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapusv_reply_datum, { "datum", "x11.glx.GetPixelMapusv.reply.datum", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapusv_reply_data, { "data", "x11.glx.GetPixelMapusv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPixelMapusv_reply_data_item, { "data", "x11.glx.GetPixelMapusv.reply.data", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPolygonStipple_context_tag, { "context_tag", "x11.glx.GetPolygonStipple.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPolygonStipple_lsb_first, { "lsb_first", "x11.glx.GetPolygonStipple.lsb_first", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetPolygonStipple_reply_data, { "data", "x11.glx.GetPolygonStipple.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetString_context_tag, { "context_tag", "x11.glx.GetString.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetString_name, { "name", "x11.glx.GetString.name", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetString_reply_n, { "n", "x11.glx.GetString.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetString_reply_string, { "string", "x11.glx.GetString.reply.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnvfv_context_tag, { "context_tag", "x11.glx.GetTexEnvfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnvfv_target, { "target", "x11.glx.GetTexEnvfv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnvfv_pname, { "pname", "x11.glx.GetTexEnvfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnvfv_reply_n, { "n", "x11.glx.GetTexEnvfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnvfv_reply_datum, { "datum", "x11.glx.GetTexEnvfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnvfv_reply_data, { "data", "x11.glx.GetTexEnvfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnvfv_reply_data_item, { "data", "x11.glx.GetTexEnvfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnviv_context_tag, { "context_tag", "x11.glx.GetTexEnviv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnviv_target, { "target", "x11.glx.GetTexEnviv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnviv_pname, { "pname", "x11.glx.GetTexEnviv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnviv_reply_n, { "n", "x11.glx.GetTexEnviv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnviv_reply_datum, { "datum", "x11.glx.GetTexEnviv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnviv_reply_data, { "data", "x11.glx.GetTexEnviv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexEnviv_reply_data_item, { "data", "x11.glx.GetTexEnviv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGendv_context_tag, { "context_tag", "x11.glx.GetTexGendv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGendv_coord, { "coord", "x11.glx.GetTexGendv.coord", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGendv_pname, { "pname", "x11.glx.GetTexGendv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGendv_reply_n, { "n", "x11.glx.GetTexGendv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGendv_reply_datum, { "datum", "x11.glx.GetTexGendv.reply.datum", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGendv_reply_data, { "data", "x11.glx.GetTexGendv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGendv_reply_data_item, { "data", "x11.glx.GetTexGendv.reply.data", FT_DOUBLE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGenfv_context_tag, { "context_tag", "x11.glx.GetTexGenfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGenfv_coord, { "coord", "x11.glx.GetTexGenfv.coord", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGenfv_pname, { "pname", "x11.glx.GetTexGenfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGenfv_reply_n, { "n", "x11.glx.GetTexGenfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGenfv_reply_datum, { "datum", "x11.glx.GetTexGenfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGenfv_reply_data, { "data", "x11.glx.GetTexGenfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGenfv_reply_data_item, { "data", "x11.glx.GetTexGenfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGeniv_context_tag, { "context_tag", "x11.glx.GetTexGeniv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGeniv_coord, { "coord", "x11.glx.GetTexGeniv.coord", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGeniv_pname, { "pname", "x11.glx.GetTexGeniv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGeniv_reply_n, { "n", "x11.glx.GetTexGeniv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGeniv_reply_datum, { "datum", "x11.glx.GetTexGeniv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGeniv_reply_data, { "data", "x11.glx.GetTexGeniv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexGeniv_reply_data_item, { "data", "x11.glx.GetTexGeniv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_context_tag, { "context_tag", "x11.glx.GetTexImage.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_target, { "target", "x11.glx.GetTexImage.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_level, { "level", "x11.glx.GetTexImage.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_format, { "format", "x11.glx.GetTexImage.format", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_type, { "type", "x11.glx.GetTexImage.type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_swap_bytes, { "swap_bytes", "x11.glx.GetTexImage.swap_bytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_reply_width, { "width", "x11.glx.GetTexImage.reply.width", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_reply_height, { "height", "x11.glx.GetTexImage.reply.height", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_reply_depth, { "depth", "x11.glx.GetTexImage.reply.depth", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexImage_reply_data, { "data", "x11.glx.GetTexImage.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameterfv_context_tag, { "context_tag", "x11.glx.GetTexParameterfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameterfv_target, { "target", "x11.glx.GetTexParameterfv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameterfv_pname, { "pname", "x11.glx.GetTexParameterfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameterfv_reply_n, { "n", "x11.glx.GetTexParameterfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameterfv_reply_datum, { "datum", "x11.glx.GetTexParameterfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameterfv_reply_data, { "data", "x11.glx.GetTexParameterfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameterfv_reply_data_item, { "data", "x11.glx.GetTexParameterfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameteriv_context_tag, { "context_tag", "x11.glx.GetTexParameteriv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameteriv_target, { "target", "x11.glx.GetTexParameteriv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameteriv_pname, { "pname", "x11.glx.GetTexParameteriv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameteriv_reply_n, { "n", "x11.glx.GetTexParameteriv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameteriv_reply_datum, { "datum", "x11.glx.GetTexParameteriv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameteriv_reply_data, { "data", "x11.glx.GetTexParameteriv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexParameteriv_reply_data_item, { "data", "x11.glx.GetTexParameteriv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameterfv_context_tag, { "context_tag", "x11.glx.GetTexLevelParameterfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameterfv_target, { "target", "x11.glx.GetTexLevelParameterfv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameterfv_level, { "level", "x11.glx.GetTexLevelParameterfv.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameterfv_pname, { "pname", "x11.glx.GetTexLevelParameterfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameterfv_reply_n, { "n", "x11.glx.GetTexLevelParameterfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameterfv_reply_datum, { "datum", "x11.glx.GetTexLevelParameterfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameterfv_reply_data, { "data", "x11.glx.GetTexLevelParameterfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameterfv_reply_data_item, { "data", "x11.glx.GetTexLevelParameterfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameteriv_context_tag, { "context_tag", "x11.glx.GetTexLevelParameteriv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameteriv_target, { "target", "x11.glx.GetTexLevelParameteriv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameteriv_level, { "level", "x11.glx.GetTexLevelParameteriv.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameteriv_pname, { "pname", "x11.glx.GetTexLevelParameteriv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameteriv_reply_n, { "n", "x11.glx.GetTexLevelParameteriv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameteriv_reply_datum, { "datum", "x11.glx.GetTexLevelParameteriv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameteriv_reply_data, { "data", "x11.glx.GetTexLevelParameteriv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetTexLevelParameteriv_reply_data_item, { "data", "x11.glx.GetTexLevelParameteriv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsEnabled_context_tag, { "context_tag", "x11.glx.IsEnabled.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsEnabled_capability, { "capability", "x11.glx.IsEnabled.capability", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsEnabled_reply_ret_val, { "ret_val", "x11.glx.IsEnabled.reply.ret_val", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsList_context_tag, { "context_tag", "x11.glx.IsList.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsList_list, { "list", "x11.glx.IsList.list", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsList_reply_ret_val, { "ret_val", "x11.glx.IsList.reply.ret_val", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_Flush_context_tag, { "context_tag", "x11.glx.Flush.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_AreTexturesResident_context_tag, { "context_tag", "x11.glx.AreTexturesResident.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_AreTexturesResident_n, { "n", "x11.glx.AreTexturesResident.n", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_AreTexturesResident_textures, { "textures", "x11.glx.AreTexturesResident.textures.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_AreTexturesResident_textures_item, { "textures", "x11.glx.AreTexturesResident.textures", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_AreTexturesResident_reply_ret_val, { "ret_val", "x11.glx.AreTexturesResident.reply.ret_val", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_AreTexturesResident_reply_data, { "data", "x11.glx.AreTexturesResident.reply.data", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteTextures_context_tag, { "context_tag", "x11.glx.DeleteTextures.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteTextures_n, { "n", "x11.glx.DeleteTextures.n", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteTextures_textures, { "textures", "x11.glx.DeleteTextures.textures.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteTextures_textures_item, { "textures", "x11.glx.DeleteTextures.textures", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenTextures_context_tag, { "context_tag", "x11.glx.GenTextures.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenTextures_n, { "n", "x11.glx.GenTextures.n", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenTextures_reply_data, { "data", "x11.glx.GenTextures.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenTextures_reply_data_item, { "data", "x11.glx.GenTextures.reply.data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsTexture_context_tag, { "context_tag", "x11.glx.IsTexture.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsTexture_texture, { "texture", "x11.glx.IsTexture.texture", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsTexture_reply_ret_val, { "ret_val", "x11.glx.IsTexture.reply.ret_val", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTable_context_tag, { "context_tag", "x11.glx.GetColorTable.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTable_target, { "target", "x11.glx.GetColorTable.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTable_format, { "format", "x11.glx.GetColorTable.format", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTable_type, { "type", "x11.glx.GetColorTable.type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTable_swap_bytes, { "swap_bytes", "x11.glx.GetColorTable.swap_bytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTable_reply_width, { "width", "x11.glx.GetColorTable.reply.width", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTable_reply_data, { "data", "x11.glx.GetColorTable.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameterfv_context_tag, { "context_tag", "x11.glx.GetColorTableParameterfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameterfv_target, { "target", "x11.glx.GetColorTableParameterfv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameterfv_pname, { "pname", "x11.glx.GetColorTableParameterfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameterfv_reply_n, { "n", "x11.glx.GetColorTableParameterfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameterfv_reply_datum, { "datum", "x11.glx.GetColorTableParameterfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameterfv_reply_data, { "data", "x11.glx.GetColorTableParameterfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameterfv_reply_data_item, { "data", "x11.glx.GetColorTableParameterfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameteriv_context_tag, { "context_tag", "x11.glx.GetColorTableParameteriv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameteriv_target, { "target", "x11.glx.GetColorTableParameteriv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameteriv_pname, { "pname", "x11.glx.GetColorTableParameteriv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameteriv_reply_n, { "n", "x11.glx.GetColorTableParameteriv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameteriv_reply_datum, { "datum", "x11.glx.GetColorTableParameteriv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameteriv_reply_data, { "data", "x11.glx.GetColorTableParameteriv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetColorTableParameteriv_reply_data_item, { "data", "x11.glx.GetColorTableParameteriv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionFilter_context_tag, { "context_tag", "x11.glx.GetConvolutionFilter.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionFilter_target, { "target", "x11.glx.GetConvolutionFilter.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionFilter_format, { "format", "x11.glx.GetConvolutionFilter.format", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionFilter_type, { "type", "x11.glx.GetConvolutionFilter.type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionFilter_swap_bytes, { "swap_bytes", "x11.glx.GetConvolutionFilter.swap_bytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionFilter_reply_width, { "width", "x11.glx.GetConvolutionFilter.reply.width", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionFilter_reply_height, { "height", "x11.glx.GetConvolutionFilter.reply.height", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionFilter_reply_data, { "data", "x11.glx.GetConvolutionFilter.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameterfv_context_tag, { "context_tag", "x11.glx.GetConvolutionParameterfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameterfv_target, { "target", "x11.glx.GetConvolutionParameterfv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameterfv_pname, { "pname", "x11.glx.GetConvolutionParameterfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameterfv_reply_n, { "n", "x11.glx.GetConvolutionParameterfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameterfv_reply_datum, { "datum", "x11.glx.GetConvolutionParameterfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameterfv_reply_data, { "data", "x11.glx.GetConvolutionParameterfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameterfv_reply_data_item, { "data", "x11.glx.GetConvolutionParameterfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameteriv_context_tag, { "context_tag", "x11.glx.GetConvolutionParameteriv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameteriv_target, { "target", "x11.glx.GetConvolutionParameteriv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameteriv_pname, { "pname", "x11.glx.GetConvolutionParameteriv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameteriv_reply_n, { "n", "x11.glx.GetConvolutionParameteriv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameteriv_reply_datum, { "datum", "x11.glx.GetConvolutionParameteriv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameteriv_reply_data, { "data", "x11.glx.GetConvolutionParameteriv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetConvolutionParameteriv_reply_data_item, { "data", "x11.glx.GetConvolutionParameteriv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetSeparableFilter_context_tag, { "context_tag", "x11.glx.GetSeparableFilter.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetSeparableFilter_target, { "target", "x11.glx.GetSeparableFilter.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetSeparableFilter_format, { "format", "x11.glx.GetSeparableFilter.format", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetSeparableFilter_type, { "type", "x11.glx.GetSeparableFilter.type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetSeparableFilter_swap_bytes, { "swap_bytes", "x11.glx.GetSeparableFilter.swap_bytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetSeparableFilter_reply_row_w, { "row_w", "x11.glx.GetSeparableFilter.reply.row_w", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetSeparableFilter_reply_col_h, { "col_h", "x11.glx.GetSeparableFilter.reply.col_h", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetSeparableFilter_reply_rows_and_cols, { "rows_and_cols", "x11.glx.GetSeparableFilter.reply.rows_and_cols", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogram_context_tag, { "context_tag", "x11.glx.GetHistogram.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogram_target, { "target", "x11.glx.GetHistogram.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogram_format, { "format", "x11.glx.GetHistogram.format", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogram_type, { "type", "x11.glx.GetHistogram.type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogram_swap_bytes, { "swap_bytes", "x11.glx.GetHistogram.swap_bytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogram_reset, { "reset", "x11.glx.GetHistogram.reset", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogram_reply_width, { "width", "x11.glx.GetHistogram.reply.width", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogram_reply_data, { "data", "x11.glx.GetHistogram.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameterfv_context_tag, { "context_tag", "x11.glx.GetHistogramParameterfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameterfv_target, { "target", "x11.glx.GetHistogramParameterfv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameterfv_pname, { "pname", "x11.glx.GetHistogramParameterfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameterfv_reply_n, { "n", "x11.glx.GetHistogramParameterfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameterfv_reply_datum, { "datum", "x11.glx.GetHistogramParameterfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameterfv_reply_data, { "data", "x11.glx.GetHistogramParameterfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameterfv_reply_data_item, { "data", "x11.glx.GetHistogramParameterfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameteriv_context_tag, { "context_tag", "x11.glx.GetHistogramParameteriv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameteriv_target, { "target", "x11.glx.GetHistogramParameteriv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameteriv_pname, { "pname", "x11.glx.GetHistogramParameteriv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameteriv_reply_n, { "n", "x11.glx.GetHistogramParameteriv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameteriv_reply_datum, { "datum", "x11.glx.GetHistogramParameteriv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameteriv_reply_data, { "data", "x11.glx.GetHistogramParameteriv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetHistogramParameteriv_reply_data_item, { "data", "x11.glx.GetHistogramParameteriv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmax_context_tag, { "context_tag", "x11.glx.GetMinmax.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmax_target, { "target", "x11.glx.GetMinmax.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmax_format, { "format", "x11.glx.GetMinmax.format", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmax_type, { "type", "x11.glx.GetMinmax.type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmax_swap_bytes, { "swap_bytes", "x11.glx.GetMinmax.swap_bytes", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmax_reset, { "reset", "x11.glx.GetMinmax.reset", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmax_reply_data, { "data", "x11.glx.GetMinmax.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameterfv_context_tag, { "context_tag", "x11.glx.GetMinmaxParameterfv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameterfv_target, { "target", "x11.glx.GetMinmaxParameterfv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameterfv_pname, { "pname", "x11.glx.GetMinmaxParameterfv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameterfv_reply_n, { "n", "x11.glx.GetMinmaxParameterfv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameterfv_reply_datum, { "datum", "x11.glx.GetMinmaxParameterfv.reply.datum", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameterfv_reply_data, { "data", "x11.glx.GetMinmaxParameterfv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameterfv_reply_data_item, { "data", "x11.glx.GetMinmaxParameterfv.reply.data", FT_FLOAT, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameteriv_context_tag, { "context_tag", "x11.glx.GetMinmaxParameteriv.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameteriv_target, { "target", "x11.glx.GetMinmaxParameteriv.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameteriv_pname, { "pname", "x11.glx.GetMinmaxParameteriv.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameteriv_reply_n, { "n", "x11.glx.GetMinmaxParameteriv.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameteriv_reply_datum, { "datum", "x11.glx.GetMinmaxParameteriv.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameteriv_reply_data, { "data", "x11.glx.GetMinmaxParameteriv.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetMinmaxParameteriv_reply_data_item, { "data", "x11.glx.GetMinmaxParameteriv.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetCompressedTexImageARB_context_tag, { "context_tag", "x11.glx.GetCompressedTexImageARB.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetCompressedTexImageARB_target, { "target", "x11.glx.GetCompressedTexImageARB.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetCompressedTexImageARB_level, { "level", "x11.glx.GetCompressedTexImageARB.level", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetCompressedTexImageARB_reply_size, { "size", "x11.glx.GetCompressedTexImageARB.reply.size", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetCompressedTexImageARB_reply_data, { "data", "x11.glx.GetCompressedTexImageARB.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteQueriesARB_context_tag, { "context_tag", "x11.glx.DeleteQueriesARB.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteQueriesARB_n, { "n", "x11.glx.DeleteQueriesARB.n", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteQueriesARB_ids, { "ids", "x11.glx.DeleteQueriesARB.ids.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_DeleteQueriesARB_ids_item, { "ids", "x11.glx.DeleteQueriesARB.ids", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenQueriesARB_context_tag, { "context_tag", "x11.glx.GenQueriesARB.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenQueriesARB_n, { "n", "x11.glx.GenQueriesARB.n", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenQueriesARB_reply_data, { "data", "x11.glx.GenQueriesARB.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GenQueriesARB_reply_data_item, { "data", "x11.glx.GenQueriesARB.reply.data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsQueryARB_context_tag, { "context_tag", "x11.glx.IsQueryARB.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsQueryARB_id, { "id", "x11.glx.IsQueryARB.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_IsQueryARB_reply_ret_val, { "ret_val", "x11.glx.IsQueryARB.reply.ret_val", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryivARB_context_tag, { "context_tag", "x11.glx.GetQueryivARB.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryivARB_target, { "target", "x11.glx.GetQueryivARB.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryivARB_pname, { "pname", "x11.glx.GetQueryivARB.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryivARB_reply_n, { "n", "x11.glx.GetQueryivARB.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryivARB_reply_datum, { "datum", "x11.glx.GetQueryivARB.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryivARB_reply_data, { "data", "x11.glx.GetQueryivARB.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryivARB_reply_data_item, { "data", "x11.glx.GetQueryivARB.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectivARB_context_tag, { "context_tag", "x11.glx.GetQueryObjectivARB.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectivARB_id, { "id", "x11.glx.GetQueryObjectivARB.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectivARB_pname, { "pname", "x11.glx.GetQueryObjectivARB.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectivARB_reply_n, { "n", "x11.glx.GetQueryObjectivARB.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectivARB_reply_datum, { "datum", "x11.glx.GetQueryObjectivARB.reply.datum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectivARB_reply_data, { "data", "x11.glx.GetQueryObjectivARB.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectivARB_reply_data_item, { "data", "x11.glx.GetQueryObjectivARB.reply.data", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectuivARB_context_tag, { "context_tag", "x11.glx.GetQueryObjectuivARB.context_tag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectuivARB_id, { "id", "x11.glx.GetQueryObjectuivARB.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectuivARB_pname, { "pname", "x11.glx.GetQueryObjectuivARB.pname", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectuivARB_reply_n, { "n", "x11.glx.GetQueryObjectuivARB.reply.n", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectuivARB_reply_datum, { "datum", "x11.glx.GetQueryObjectuivARB.reply.datum", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectuivARB_reply_data, { "data", "x11.glx.GetQueryObjectuivARB.reply.data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_GetQueryObjectuivARB_reply_data_item, { "data", "x11.glx.GetQueryObjectuivARB.reply.data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_glx_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(glx_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_randr_ScreenSize, { "randr_ScreenSize", "x11.struct.randr_ScreenSize", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ScreenSize_width, { "width", "x11.struct.randr_ScreenSize.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ScreenSize_height, { "height", "x11.struct.randr_ScreenSize.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ScreenSize_mwidth, { "mwidth", "x11.struct.randr_ScreenSize.mwidth", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ScreenSize_mheight, { "mheight", "x11.struct.randr_ScreenSize.mheight", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_RefreshRates, { "randr_RefreshRates", "x11.struct.randr_RefreshRates", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_RefreshRates_nRates, { "nRates", "x11.struct.randr_RefreshRates.nRates", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_RefreshRates_rates, { "rates", "x11.struct.randr_RefreshRates.rates.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_RefreshRates_rates_item, { "rates", "x11.struct.randr_RefreshRates.rates", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo, { "randr_ModeInfo", "x11.struct.randr_ModeInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_id, { "id", "x11.struct.randr_ModeInfo.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_width, { "width", "x11.struct.randr_ModeInfo.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_height, { "height", "x11.struct.randr_ModeInfo.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_dot_clock, { "dot_clock", "x11.struct.randr_ModeInfo.dot_clock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_hsync_start, { "hsync_start", "x11.struct.randr_ModeInfo.hsync_start", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_hsync_end, { "hsync_end", "x11.struct.randr_ModeInfo.hsync_end", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_htotal, { "htotal", "x11.struct.randr_ModeInfo.htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_hskew, { "hskew", "x11.struct.randr_ModeInfo.hskew", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_vsync_start, { "vsync_start", "x11.struct.randr_ModeInfo.vsync_start", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_vsync_end, { "vsync_end", "x11.struct.randr_ModeInfo.vsync_end", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_vtotal, { "vtotal", "x11.struct.randr_ModeInfo.vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_name_len, { "name_len", "x11.struct.randr_ModeInfo.name_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_HsyncPositive, { "HsyncPositive", "x11.struct.randr_ModeInfo.mode_flags.HsyncPositive", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_HsyncNegative, { "HsyncNegative", "x11.struct.randr_ModeInfo.mode_flags.HsyncNegative", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_VsyncPositive, { "VsyncPositive", "x11.struct.randr_ModeInfo.mode_flags.VsyncPositive", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_VsyncNegative, { "VsyncNegative", "x11.struct.randr_ModeInfo.mode_flags.VsyncNegative", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_Interlace, { "Interlace", "x11.struct.randr_ModeInfo.mode_flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_DoubleScan, { "DoubleScan", "x11.struct.randr_ModeInfo.mode_flags.DoubleScan", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_Csync, { "Csync", "x11.struct.randr_ModeInfo.mode_flags.Csync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_CsyncPositive, { "CsyncPositive", "x11.struct.randr_ModeInfo.mode_flags.CsyncPositive", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_CsyncNegative, { "CsyncNegative", "x11.struct.randr_ModeInfo.mode_flags.CsyncNegative", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_HskewPresent, { "HskewPresent", "x11.struct.randr_ModeInfo.mode_flags.HskewPresent", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_Bcast, { "Bcast", "x11.struct.randr_ModeInfo.mode_flags.Bcast", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_PixelMultiplex, { "PixelMultiplex", "x11.struct.randr_ModeInfo.mode_flags.PixelMultiplex", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_DoubleClock, { "DoubleClock", "x11.struct.randr_ModeInfo.mode_flags.DoubleClock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags_mask_HalveClock, { "HalveClock", "x11.struct.randr_ModeInfo.mode_flags.HalveClock", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_randr_ModeInfo_mode_flags, { "mode_flags", "x11.struct.randr_ModeInfo.mode_flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange, { "randr_CrtcChange", "x11.struct.randr_CrtcChange", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_timestamp, { "timestamp", "x11.struct.randr_CrtcChange.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_window, { "window", "x11.struct.randr_CrtcChange.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_crtc, { "crtc", "x11.struct.randr_CrtcChange.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_mode, { "mode", "x11.struct.randr_CrtcChange.mode", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_0, { "Rotate_0", "x11.struct.randr_CrtcChange.rotation.Rotate_0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_90, { "Rotate_90", "x11.struct.randr_CrtcChange.rotation.Rotate_90", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_180, { "Rotate_180", "x11.struct.randr_CrtcChange.rotation.Rotate_180", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_rotation_mask_Rotate_270, { "Rotate_270", "x11.struct.randr_CrtcChange.rotation.Rotate_270", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_rotation_mask_Reflect_X, { "Reflect_X", "x11.struct.randr_CrtcChange.rotation.Reflect_X", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_rotation_mask_Reflect_Y, { "Reflect_Y", "x11.struct.randr_CrtcChange.rotation.Reflect_Y", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_rotation, { "rotation", "x11.struct.randr_CrtcChange.rotation", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_x, { "x", "x11.struct.randr_CrtcChange.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_y, { "y", "x11.struct.randr_CrtcChange.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_width, { "width", "x11.struct.randr_CrtcChange.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_CrtcChange_height, { "height", "x11.struct.randr_CrtcChange.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange, { "randr_OutputChange", "x11.struct.randr_OutputChange", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_timestamp, { "timestamp", "x11.struct.randr_OutputChange.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_config_timestamp, { "config_timestamp", "x11.struct.randr_OutputChange.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_window, { "window", "x11.struct.randr_OutputChange.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_output, { "output", "x11.struct.randr_OutputChange.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_crtc, { "crtc", "x11.struct.randr_OutputChange.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_mode, { "mode", "x11.struct.randr_OutputChange.mode", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_0, { "Rotate_0", "x11.struct.randr_OutputChange.rotation.Rotate_0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_90, { "Rotate_90", "x11.struct.randr_OutputChange.rotation.Rotate_90", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_180, { "Rotate_180", "x11.struct.randr_OutputChange.rotation.Rotate_180", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_rotation_mask_Rotate_270, { "Rotate_270", "x11.struct.randr_OutputChange.rotation.Rotate_270", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_rotation_mask_Reflect_X, { "Reflect_X", "x11.struct.randr_OutputChange.rotation.Reflect_X", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_rotation_mask_Reflect_Y, { "Reflect_Y", "x11.struct.randr_OutputChange.rotation.Reflect_Y", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_rotation, { "rotation", "x11.struct.randr_OutputChange.rotation", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_connection, { "connection", "x11.struct.randr_OutputChange.connection", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_Connection), 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputChange_subpixel_order, { "subpixel_order", "x11.struct.randr_OutputChange.subpixel_order", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_SubPixel), 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputProperty, { "randr_OutputProperty", "x11.struct.randr_OutputProperty", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputProperty_window, { "window", "x11.struct.randr_OutputProperty.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputProperty_output, { "output", "x11.struct.randr_OutputProperty.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputProperty_atom, { "atom", "x11.struct.randr_OutputProperty.atom", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputProperty_timestamp, { "timestamp", "x11.struct.randr_OutputProperty.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_OutputProperty_status, { "status", "x11.struct.randr_OutputProperty.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_Property), 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderChange, { "randr_ProviderChange", "x11.struct.randr_ProviderChange", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderChange_timestamp, { "timestamp", "x11.struct.randr_ProviderChange.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderChange_window, { "window", "x11.struct.randr_ProviderChange.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderChange_provider, { "provider", "x11.struct.randr_ProviderChange.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderProperty, { "randr_ProviderProperty", "x11.struct.randr_ProviderProperty", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderProperty_window, { "window", "x11.struct.randr_ProviderProperty.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderProperty_provider, { "provider", "x11.struct.randr_ProviderProperty.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderProperty_atom, { "atom", "x11.struct.randr_ProviderProperty.atom", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderProperty_timestamp, { "timestamp", "x11.struct.randr_ProviderProperty.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ProviderProperty_state, { "state", "x11.struct.randr_ProviderProperty.state", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ResourceChange, { "randr_ResourceChange", "x11.struct.randr_ResourceChange", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ResourceChange_timestamp, { "timestamp", "x11.struct.randr_ResourceChange.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_ResourceChange_window, { "window", "x11.struct.randr_ResourceChange.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo, { "randr_MonitorInfo", "x11.struct.randr_MonitorInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_name, { "name", "x11.struct.randr_MonitorInfo.name", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_primary, { "primary", "x11.struct.randr_MonitorInfo.primary", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_automatic, { "automatic", "x11.struct.randr_MonitorInfo.automatic", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_nOutput, { "nOutput", "x11.struct.randr_MonitorInfo.nOutput", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_x, { "x", "x11.struct.randr_MonitorInfo.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_y, { "y", "x11.struct.randr_MonitorInfo.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_width, { "width", "x11.struct.randr_MonitorInfo.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_height, { "height", "x11.struct.randr_MonitorInfo.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_width_in_millimeters, { "width_in_millimeters", "x11.struct.randr_MonitorInfo.width_in_millimeters", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_height_in_millimeters, { "height_in_millimeters", "x11.struct.randr_MonitorInfo.height_in_millimeters", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_outputs, { "outputs", "x11.struct.randr_MonitorInfo.outputs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_MonitorInfo_outputs_item, { "outputs", "x11.struct.randr_MonitorInfo.outputs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_LeaseNotify, { "randr_LeaseNotify", "x11.struct.randr_LeaseNotify", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_LeaseNotify_timestamp, { "timestamp", "x11.struct.randr_LeaseNotify.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_LeaseNotify_window, { "window", "x11.struct.randr_LeaseNotify.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_LeaseNotify_lease, { "lease", "x11.struct.randr_LeaseNotify.lease", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_randr_LeaseNotify_created, { "created", "x11.struct.randr_LeaseNotify.created", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_INT64, { "sync_INT64", "x11.struct.sync_INT64", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_INT64_hi, { "hi", "x11.struct.sync_INT64.hi", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_INT64_lo, { "lo", "x11.struct.sync_INT64.lo", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_SYSTEMCOUNTER, { "sync_SYSTEMCOUNTER", "x11.struct.sync_SYSTEMCOUNTER", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_SYSTEMCOUNTER_counter, { "counter", "x11.struct.sync_SYSTEMCOUNTER.counter", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_SYSTEMCOUNTER_resolution, { "resolution", "x11.struct.sync_SYSTEMCOUNTER.resolution", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_SYSTEMCOUNTER_name_len, { "name_len", "x11.struct.sync_SYSTEMCOUNTER.name_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_SYSTEMCOUNTER_name, { "name", "x11.struct.sync_SYSTEMCOUNTER.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_TRIGGER, { "sync_TRIGGER", "x11.struct.sync_TRIGGER", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_TRIGGER_counter, { "counter", "x11.struct.sync_TRIGGER.counter", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_TRIGGER_wait_type, { "wait_type", "x11.struct.sync_TRIGGER.wait_type", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_sync_VALUETYPE), 0, NULL, HFILL }}, { &hf_x11_struct_sync_TRIGGER_wait_value, { "wait_value", "x11.struct.sync_TRIGGER.wait_value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_TRIGGER_test_type, { "test_type", "x11.struct.sync_TRIGGER.test_type", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_sync_TESTTYPE), 0, NULL, HFILL }}, { &hf_x11_struct_sync_WAITCONDITION, { "sync_WAITCONDITION", "x11.struct.sync_WAITCONDITION", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_WAITCONDITION_trigger, { "trigger", "x11.struct.sync_WAITCONDITION.trigger", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_sync_WAITCONDITION_event_threshold, { "event_threshold", "x11.struct.sync_WAITCONDITION.event_threshold", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_present_Notify, { "present_Notify", "x11.struct.present_Notify", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_present_Notify_window, { "window", "x11.struct.present_Notify.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_present_Notify_serial, { "serial", "x11.struct.present_Notify.serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_QueryVersion_major_version, { "major_version", "x11.present.QueryVersion.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_QueryVersion_minor_version, { "minor_version", "x11.present.QueryVersion.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_QueryVersion_reply_major_version, { "major_version", "x11.present.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_QueryVersion_reply_minor_version, { "minor_version", "x11.present.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_window, { "window", "x11.present.Pixmap.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_pixmap, { "pixmap", "x11.present.Pixmap.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_serial, { "serial", "x11.present.Pixmap.serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_valid, { "valid", "x11.present.Pixmap.valid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_update, { "update", "x11.present.Pixmap.update", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_x_off, { "x_off", "x11.present.Pixmap.x_off", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_y_off, { "y_off", "x11.present.Pixmap.y_off", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_target_crtc, { "target_crtc", "x11.present.Pixmap.target_crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_wait_fence, { "wait_fence", "x11.present.Pixmap.wait_fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_idle_fence, { "idle_fence", "x11.present.Pixmap.idle_fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_options, { "options", "x11.present.Pixmap.options", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_target_msc, { "target_msc", "x11.present.Pixmap.target_msc", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_divisor, { "divisor", "x11.present.Pixmap.divisor", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_remainder, { "remainder", "x11.present.Pixmap.remainder", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_notifies, { "notifies", "x11.present.Pixmap.notifies.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_present_Pixmap_notifies_item, { "notifies", "x11.present.Pixmap.notifies", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_present_NotifyMSC_window, { "window", "x11.present.NotifyMSC.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_NotifyMSC_serial, { "serial", "x11.present.NotifyMSC.serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_NotifyMSC_target_msc, { "target_msc", "x11.present.NotifyMSC.target_msc", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_NotifyMSC_divisor, { "divisor", "x11.present.NotifyMSC.divisor", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_NotifyMSC_remainder, { "remainder", "x11.present.NotifyMSC.remainder", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_SelectInput_eid, { "eid", "x11.present.SelectInput.eid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_SelectInput_window, { "window", "x11.present.SelectInput.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_SelectInput_event_mask_mask_ConfigureNotify, { "ConfigureNotify", "x11.present.SelectInput.event_mask.ConfigureNotify", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_present_SelectInput_event_mask_mask_CompleteNotify, { "CompleteNotify", "x11.present.SelectInput.event_mask.CompleteNotify", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_present_SelectInput_event_mask_mask_IdleNotify, { "IdleNotify", "x11.present.SelectInput.event_mask.IdleNotify", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_present_SelectInput_event_mask_mask_RedirectNotify, { "RedirectNotify", "x11.present.SelectInput.event_mask.RedirectNotify", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_present_SelectInput_event_mask, { "event_mask", "x11.present.SelectInput.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_QueryCapabilities_target, { "target", "x11.present.QueryCapabilities.target", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_QueryCapabilities_reply_capabilities, { "capabilities", "x11.present.QueryCapabilities.reply.capabilities", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_CompleteNotify_kind, { "kind", "x11.present.CompleteNotify.kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_present_CompleteKind), 0, NULL, HFILL }}, { &hf_x11_present_CompleteNotify_mode, { "mode", "x11.present.CompleteNotify.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_present_CompleteMode), 0, NULL, HFILL }}, { &hf_x11_present_CompleteNotify_event, { "event", "x11.present.CompleteNotify.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_CompleteNotify_window, { "window", "x11.present.CompleteNotify.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_CompleteNotify_serial, { "serial", "x11.present.CompleteNotify.serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_CompleteNotify_ust, { "ust", "x11.present.CompleteNotify.ust", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_CompleteNotify_msc, { "msc", "x11.present.CompleteNotify.msc", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_IdleNotify_event, { "event", "x11.present.IdleNotify.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_IdleNotify_window, { "window", "x11.present.IdleNotify.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_IdleNotify_serial, { "serial", "x11.present.IdleNotify.serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_IdleNotify_pixmap, { "pixmap", "x11.present.IdleNotify.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_IdleNotify_idle_fence, { "idle_fence", "x11.present.IdleNotify.idle_fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_update_window, { "update_window", "x11.present.RedirectNotify.update_window", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_event, { "event", "x11.present.RedirectNotify.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_event_window, { "event_window", "x11.present.RedirectNotify.event_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_window, { "window", "x11.present.RedirectNotify.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_pixmap, { "pixmap", "x11.present.RedirectNotify.pixmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_serial, { "serial", "x11.present.RedirectNotify.serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_valid_region, { "valid_region", "x11.present.RedirectNotify.valid_region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_update_region, { "update_region", "x11.present.RedirectNotify.update_region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_valid_rect, { "valid_rect", "x11.present.RedirectNotify.valid_rect", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_update_rect, { "update_rect", "x11.present.RedirectNotify.update_rect", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_x_off, { "x_off", "x11.present.RedirectNotify.x_off", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_y_off, { "y_off", "x11.present.RedirectNotify.y_off", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_target_crtc, { "target_crtc", "x11.present.RedirectNotify.target_crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_wait_fence, { "wait_fence", "x11.present.RedirectNotify.wait_fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_idle_fence, { "idle_fence", "x11.present.RedirectNotify.idle_fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_options, { "options", "x11.present.RedirectNotify.options", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_target_msc, { "target_msc", "x11.present.RedirectNotify.target_msc", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_divisor, { "divisor", "x11.present.RedirectNotify.divisor", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_remainder, { "remainder", "x11.present.RedirectNotify.remainder", FT_UINT64, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_notifies, { "notifies", "x11.present.RedirectNotify.notifies.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_present_RedirectNotify_notifies_item, { "notifies", "x11.present.RedirectNotify.notifies", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_present_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(present_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_randr_QueryVersion_major_version, { "major_version", "x11.randr.QueryVersion.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryVersion_minor_version, { "minor_version", "x11.randr.QueryVersion.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryVersion_reply_major_version, { "major_version", "x11.randr.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryVersion_reply_minor_version, { "minor_version", "x11.randr.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_window, { "window", "x11.randr.SetScreenConfig.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_timestamp, { "timestamp", "x11.randr.SetScreenConfig.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_config_timestamp, { "config_timestamp", "x11.randr.SetScreenConfig.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_sizeID, { "sizeID", "x11.randr.SetScreenConfig.sizeID", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_0, { "Rotate_0", "x11.randr.SetScreenConfig.rotation.Rotate_0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_90, { "Rotate_90", "x11.randr.SetScreenConfig.rotation.Rotate_90", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_180, { "Rotate_180", "x11.randr.SetScreenConfig.rotation.Rotate_180", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_rotation_mask_Rotate_270, { "Rotate_270", "x11.randr.SetScreenConfig.rotation.Rotate_270", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_rotation_mask_Reflect_X, { "Reflect_X", "x11.randr.SetScreenConfig.rotation.Reflect_X", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_rotation_mask_Reflect_Y, { "Reflect_Y", "x11.randr.SetScreenConfig.rotation.Reflect_Y", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_rotation, { "rotation", "x11.randr.SetScreenConfig.rotation", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_rate, { "rate", "x11.randr.SetScreenConfig.rate", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_reply_status, { "status", "x11.randr.SetScreenConfig.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_SetConfig), 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_reply_new_timestamp, { "new_timestamp", "x11.randr.SetScreenConfig.reply.new_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_reply_config_timestamp, { "config_timestamp", "x11.randr.SetScreenConfig.reply.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_reply_root, { "root", "x11.randr.SetScreenConfig.reply.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenConfig_reply_subpixel_order, { "subpixel_order", "x11.randr.SetScreenConfig.reply.subpixel_order", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_render_SubPixel), 0, NULL, HFILL }}, { &hf_x11_randr_SelectInput_window, { "window", "x11.randr.SelectInput.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable_mask_ScreenChange, { "ScreenChange", "x11.randr.SelectInput.enable.ScreenChange", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable_mask_CrtcChange, { "CrtcChange", "x11.randr.SelectInput.enable.CrtcChange", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable_mask_OutputChange, { "OutputChange", "x11.randr.SelectInput.enable.OutputChange", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable_mask_OutputProperty, { "OutputProperty", "x11.randr.SelectInput.enable.OutputProperty", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable_mask_ProviderChange, { "ProviderChange", "x11.randr.SelectInput.enable.ProviderChange", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable_mask_ProviderProperty, { "ProviderProperty", "x11.randr.SelectInput.enable.ProviderProperty", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable_mask_ResourceChange, { "ResourceChange", "x11.randr.SelectInput.enable.ResourceChange", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable_mask_Lease, { "Lease", "x11.randr.SelectInput.enable.Lease", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_randr_SelectInput_enable, { "enable", "x11.randr.SelectInput.enable", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_window, { "window", "x11.randr.GetScreenInfo.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_0, { "Rotate_0", "x11.randr.GetScreenInfo.reply.rotations.Rotate_0", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_90, { "Rotate_90", "x11.randr.GetScreenInfo.reply.rotations.Rotate_90", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_180, { "Rotate_180", "x11.randr.GetScreenInfo.reply.rotations.Rotate_180", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Rotate_270, { "Rotate_270", "x11.randr.GetScreenInfo.reply.rotations.Rotate_270", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Reflect_X, { "Reflect_X", "x11.randr.GetScreenInfo.reply.rotations.Reflect_X", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotations_mask_Reflect_Y, { "Reflect_Y", "x11.randr.GetScreenInfo.reply.rotations.Reflect_Y", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotations, { "rotations", "x11.randr.GetScreenInfo.reply.rotations", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_root, { "root", "x11.randr.GetScreenInfo.reply.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_timestamp, { "timestamp", "x11.randr.GetScreenInfo.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_config_timestamp, { "config_timestamp", "x11.randr.GetScreenInfo.reply.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_nSizes, { "nSizes", "x11.randr.GetScreenInfo.reply.nSizes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_sizeID, { "sizeID", "x11.randr.GetScreenInfo.reply.sizeID", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_0, { "Rotate_0", "x11.randr.GetScreenInfo.reply.rotation.Rotate_0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_90, { "Rotate_90", "x11.randr.GetScreenInfo.reply.rotation.Rotate_90", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_180, { "Rotate_180", "x11.randr.GetScreenInfo.reply.rotation.Rotate_180", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Rotate_270, { "Rotate_270", "x11.randr.GetScreenInfo.reply.rotation.Rotate_270", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Reflect_X, { "Reflect_X", "x11.randr.GetScreenInfo.reply.rotation.Reflect_X", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotation_mask_Reflect_Y, { "Reflect_Y", "x11.randr.GetScreenInfo.reply.rotation.Reflect_Y", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rotation, { "rotation", "x11.randr.GetScreenInfo.reply.rotation", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rate, { "rate", "x11.randr.GetScreenInfo.reply.rate", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_nInfo, { "nInfo", "x11.randr.GetScreenInfo.reply.nInfo", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_sizes, { "sizes", "x11.randr.GetScreenInfo.reply.sizes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_sizes_item, { "sizes", "x11.randr.GetScreenInfo.reply.sizes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenInfo_reply_rates, { "rates", "x11.randr.GetScreenInfo.reply.rates", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenSizeRange_window, { "window", "x11.randr.GetScreenSizeRange.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenSizeRange_reply_min_width, { "min_width", "x11.randr.GetScreenSizeRange.reply.min_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenSizeRange_reply_min_height, { "min_height", "x11.randr.GetScreenSizeRange.reply.min_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenSizeRange_reply_max_width, { "max_width", "x11.randr.GetScreenSizeRange.reply.max_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenSizeRange_reply_max_height, { "max_height", "x11.randr.GetScreenSizeRange.reply.max_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenSize_window, { "window", "x11.randr.SetScreenSize.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenSize_width, { "width", "x11.randr.SetScreenSize.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenSize_height, { "height", "x11.randr.SetScreenSize.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenSize_mm_width, { "mm_width", "x11.randr.SetScreenSize.mm_width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetScreenSize_mm_height, { "mm_height", "x11.randr.SetScreenSize.mm_height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_window, { "window", "x11.randr.GetScreenResources.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_timestamp, { "timestamp", "x11.randr.GetScreenResources.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_config_timestamp, { "config_timestamp", "x11.randr.GetScreenResources.reply.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_num_crtcs, { "num_crtcs", "x11.randr.GetScreenResources.reply.num_crtcs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_num_outputs, { "num_outputs", "x11.randr.GetScreenResources.reply.num_outputs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_num_modes, { "num_modes", "x11.randr.GetScreenResources.reply.num_modes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_names_len, { "names_len", "x11.randr.GetScreenResources.reply.names_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_crtcs, { "crtcs", "x11.randr.GetScreenResources.reply.crtcs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_crtcs_item, { "crtcs", "x11.randr.GetScreenResources.reply.crtcs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_outputs, { "outputs", "x11.randr.GetScreenResources.reply.outputs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_outputs_item, { "outputs", "x11.randr.GetScreenResources.reply.outputs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_modes, { "modes", "x11.randr.GetScreenResources.reply.modes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_modes_item, { "modes", "x11.randr.GetScreenResources.reply.modes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResources_reply_names, { "names", "x11.randr.GetScreenResources.reply.names", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_output, { "output", "x11.randr.GetOutputInfo.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_config_timestamp, { "config_timestamp", "x11.randr.GetOutputInfo.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_status, { "status", "x11.randr.GetOutputInfo.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_SetConfig), 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_timestamp, { "timestamp", "x11.randr.GetOutputInfo.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_crtc, { "crtc", "x11.randr.GetOutputInfo.reply.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_mm_width, { "mm_width", "x11.randr.GetOutputInfo.reply.mm_width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_mm_height, { "mm_height", "x11.randr.GetOutputInfo.reply.mm_height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_connection, { "connection", "x11.randr.GetOutputInfo.reply.connection", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_Connection), 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_subpixel_order, { "subpixel_order", "x11.randr.GetOutputInfo.reply.subpixel_order", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_SubPixel), 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_num_crtcs, { "num_crtcs", "x11.randr.GetOutputInfo.reply.num_crtcs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_num_modes, { "num_modes", "x11.randr.GetOutputInfo.reply.num_modes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_num_preferred, { "num_preferred", "x11.randr.GetOutputInfo.reply.num_preferred", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_num_clones, { "num_clones", "x11.randr.GetOutputInfo.reply.num_clones", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_name_len, { "name_len", "x11.randr.GetOutputInfo.reply.name_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_crtcs, { "crtcs", "x11.randr.GetOutputInfo.reply.crtcs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_crtcs_item, { "crtcs", "x11.randr.GetOutputInfo.reply.crtcs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_modes, { "modes", "x11.randr.GetOutputInfo.reply.modes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_modes_item, { "modes", "x11.randr.GetOutputInfo.reply.modes", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_clones, { "clones", "x11.randr.GetOutputInfo.reply.clones.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_clones_item, { "clones", "x11.randr.GetOutputInfo.reply.clones", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputInfo_reply_name, { "name", "x11.randr.GetOutputInfo.reply.name", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ListOutputProperties_output, { "output", "x11.randr.ListOutputProperties.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ListOutputProperties_reply_num_atoms, { "num_atoms", "x11.randr.ListOutputProperties.reply.num_atoms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ListOutputProperties_reply_atoms, { "atoms", "x11.randr.ListOutputProperties.reply.atoms.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ListOutputProperties_reply_atoms_item, { "atoms", "x11.randr.ListOutputProperties.reply.atoms", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryOutputProperty_output, { "output", "x11.randr.QueryOutputProperty.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryOutputProperty_property, { "property", "x11.randr.QueryOutputProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryOutputProperty_reply_pending, { "pending", "x11.randr.QueryOutputProperty.reply.pending", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryOutputProperty_reply_range, { "range", "x11.randr.QueryOutputProperty.reply.range", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryOutputProperty_reply_immutable, { "immutable", "x11.randr.QueryOutputProperty.reply.immutable", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryOutputProperty_reply_validValues, { "validValues", "x11.randr.QueryOutputProperty.reply.validValues.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryOutputProperty_reply_validValues_item, { "validValues", "x11.randr.QueryOutputProperty.reply.validValues", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureOutputProperty_output, { "output", "x11.randr.ConfigureOutputProperty.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureOutputProperty_property, { "property", "x11.randr.ConfigureOutputProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureOutputProperty_pending, { "pending", "x11.randr.ConfigureOutputProperty.pending", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureOutputProperty_range, { "range", "x11.randr.ConfigureOutputProperty.range", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureOutputProperty_values, { "values", "x11.randr.ConfigureOutputProperty.values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureOutputProperty_values_item, { "values", "x11.randr.ConfigureOutputProperty.values", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeOutputProperty_output, { "output", "x11.randr.ChangeOutputProperty.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeOutputProperty_property, { "property", "x11.randr.ChangeOutputProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeOutputProperty_type, { "type", "x11.randr.ChangeOutputProperty.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeOutputProperty_format, { "format", "x11.randr.ChangeOutputProperty.format", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeOutputProperty_mode, { "mode", "x11.randr.ChangeOutputProperty.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_PropMode), 0, NULL, HFILL }}, { &hf_x11_randr_ChangeOutputProperty_num_units, { "num_units", "x11.randr.ChangeOutputProperty.num_units", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeOutputProperty_data, { "data", "x11.randr.ChangeOutputProperty.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DeleteOutputProperty_output, { "output", "x11.randr.DeleteOutputProperty.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DeleteOutputProperty_property, { "property", "x11.randr.DeleteOutputProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_output, { "output", "x11.randr.GetOutputProperty.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_property, { "property", "x11.randr.GetOutputProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_type, { "type", "x11.randr.GetOutputProperty.type", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_GetPropertyType), 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_long_offset, { "long_offset", "x11.randr.GetOutputProperty.long_offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_long_length, { "long_length", "x11.randr.GetOutputProperty.long_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_delete, { "delete", "x11.randr.GetOutputProperty.delete", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_pending, { "pending", "x11.randr.GetOutputProperty.pending", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_reply_format, { "format", "x11.randr.GetOutputProperty.reply.format", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_reply_type, { "type", "x11.randr.GetOutputProperty.reply.type", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Atom), 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_reply_bytes_after, { "bytes_after", "x11.randr.GetOutputProperty.reply.bytes_after", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_reply_num_items, { "num_items", "x11.randr.GetOutputProperty.reply.num_items", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputProperty_reply_data, { "data", "x11.randr.GetOutputProperty.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateMode_window, { "window", "x11.randr.CreateMode.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateMode_mode_info, { "mode_info", "x11.randr.CreateMode.mode_info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateMode_name, { "name", "x11.randr.CreateMode.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateMode_reply_mode, { "mode", "x11.randr.CreateMode.reply.mode", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DestroyMode_mode, { "mode", "x11.randr.DestroyMode.mode", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_AddOutputMode_output, { "output", "x11.randr.AddOutputMode.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_AddOutputMode_mode, { "mode", "x11.randr.AddOutputMode.mode", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DeleteOutputMode_output, { "output", "x11.randr.DeleteOutputMode.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DeleteOutputMode_mode, { "mode", "x11.randr.DeleteOutputMode.mode", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_crtc, { "crtc", "x11.randr.GetCrtcInfo.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_config_timestamp, { "config_timestamp", "x11.randr.GetCrtcInfo.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_status, { "status", "x11.randr.GetCrtcInfo.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_SetConfig), 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_timestamp, { "timestamp", "x11.randr.GetCrtcInfo.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_x, { "x", "x11.randr.GetCrtcInfo.reply.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_y, { "y", "x11.randr.GetCrtcInfo.reply.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_width, { "width", "x11.randr.GetCrtcInfo.reply.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_height, { "height", "x11.randr.GetCrtcInfo.reply.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_mode, { "mode", "x11.randr.GetCrtcInfo.reply.mode", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_0, { "Rotate_0", "x11.randr.GetCrtcInfo.reply.rotation.Rotate_0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_90, { "Rotate_90", "x11.randr.GetCrtcInfo.reply.rotation.Rotate_90", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_180, { "Rotate_180", "x11.randr.GetCrtcInfo.reply.rotation.Rotate_180", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Rotate_270, { "Rotate_270", "x11.randr.GetCrtcInfo.reply.rotation.Rotate_270", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Reflect_X, { "Reflect_X", "x11.randr.GetCrtcInfo.reply.rotation.Reflect_X", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotation_mask_Reflect_Y, { "Reflect_Y", "x11.randr.GetCrtcInfo.reply.rotation.Reflect_Y", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotation, { "rotation", "x11.randr.GetCrtcInfo.reply.rotation", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_0, { "Rotate_0", "x11.randr.GetCrtcInfo.reply.rotations.Rotate_0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_90, { "Rotate_90", "x11.randr.GetCrtcInfo.reply.rotations.Rotate_90", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_180, { "Rotate_180", "x11.randr.GetCrtcInfo.reply.rotations.Rotate_180", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Rotate_270, { "Rotate_270", "x11.randr.GetCrtcInfo.reply.rotations.Rotate_270", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Reflect_X, { "Reflect_X", "x11.randr.GetCrtcInfo.reply.rotations.Reflect_X", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotations_mask_Reflect_Y, { "Reflect_Y", "x11.randr.GetCrtcInfo.reply.rotations.Reflect_Y", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_rotations, { "rotations", "x11.randr.GetCrtcInfo.reply.rotations", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_num_outputs, { "num_outputs", "x11.randr.GetCrtcInfo.reply.num_outputs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_num_possible_outputs, { "num_possible_outputs", "x11.randr.GetCrtcInfo.reply.num_possible_outputs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_outputs, { "outputs", "x11.randr.GetCrtcInfo.reply.outputs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_outputs_item, { "outputs", "x11.randr.GetCrtcInfo.reply.outputs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_possible, { "possible", "x11.randr.GetCrtcInfo.reply.possible.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcInfo_reply_possible_item, { "possible", "x11.randr.GetCrtcInfo.reply.possible", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_crtc, { "crtc", "x11.randr.SetCrtcConfig.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_timestamp, { "timestamp", "x11.randr.SetCrtcConfig.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_config_timestamp, { "config_timestamp", "x11.randr.SetCrtcConfig.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_x, { "x", "x11.randr.SetCrtcConfig.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_y, { "y", "x11.randr.SetCrtcConfig.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_mode, { "mode", "x11.randr.SetCrtcConfig.mode", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_0, { "Rotate_0", "x11.randr.SetCrtcConfig.rotation.Rotate_0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_90, { "Rotate_90", "x11.randr.SetCrtcConfig.rotation.Rotate_90", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_180, { "Rotate_180", "x11.randr.SetCrtcConfig.rotation.Rotate_180", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_rotation_mask_Rotate_270, { "Rotate_270", "x11.randr.SetCrtcConfig.rotation.Rotate_270", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_rotation_mask_Reflect_X, { "Reflect_X", "x11.randr.SetCrtcConfig.rotation.Reflect_X", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_rotation_mask_Reflect_Y, { "Reflect_Y", "x11.randr.SetCrtcConfig.rotation.Reflect_Y", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_rotation, { "rotation", "x11.randr.SetCrtcConfig.rotation", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_outputs, { "outputs", "x11.randr.SetCrtcConfig.outputs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_outputs_item, { "outputs", "x11.randr.SetCrtcConfig.outputs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_reply_status, { "status", "x11.randr.SetCrtcConfig.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_SetConfig), 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcConfig_reply_timestamp, { "timestamp", "x11.randr.SetCrtcConfig.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGammaSize_crtc, { "crtc", "x11.randr.GetCrtcGammaSize.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGammaSize_reply_size, { "size", "x11.randr.GetCrtcGammaSize.reply.size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGamma_crtc, { "crtc", "x11.randr.GetCrtcGamma.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGamma_reply_size, { "size", "x11.randr.GetCrtcGamma.reply.size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGamma_reply_red, { "red", "x11.randr.GetCrtcGamma.reply.red.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGamma_reply_red_item, { "red", "x11.randr.GetCrtcGamma.reply.red", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGamma_reply_green, { "green", "x11.randr.GetCrtcGamma.reply.green.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGamma_reply_green_item, { "green", "x11.randr.GetCrtcGamma.reply.green", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGamma_reply_blue, { "blue", "x11.randr.GetCrtcGamma.reply.blue.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcGamma_reply_blue_item, { "blue", "x11.randr.GetCrtcGamma.reply.blue", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcGamma_crtc, { "crtc", "x11.randr.SetCrtcGamma.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcGamma_size, { "size", "x11.randr.SetCrtcGamma.size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcGamma_red, { "red", "x11.randr.SetCrtcGamma.red.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcGamma_red_item, { "red", "x11.randr.SetCrtcGamma.red", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcGamma_green, { "green", "x11.randr.SetCrtcGamma.green.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcGamma_green_item, { "green", "x11.randr.SetCrtcGamma.green", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcGamma_blue, { "blue", "x11.randr.SetCrtcGamma.blue.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcGamma_blue_item, { "blue", "x11.randr.SetCrtcGamma.blue", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_window, { "window", "x11.randr.GetScreenResourcesCurrent.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_timestamp, { "timestamp", "x11.randr.GetScreenResourcesCurrent.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_config_timestamp, { "config_timestamp", "x11.randr.GetScreenResourcesCurrent.reply.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_num_crtcs, { "num_crtcs", "x11.randr.GetScreenResourcesCurrent.reply.num_crtcs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_num_outputs, { "num_outputs", "x11.randr.GetScreenResourcesCurrent.reply.num_outputs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_num_modes, { "num_modes", "x11.randr.GetScreenResourcesCurrent.reply.num_modes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_names_len, { "names_len", "x11.randr.GetScreenResourcesCurrent.reply.names_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_crtcs, { "crtcs", "x11.randr.GetScreenResourcesCurrent.reply.crtcs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_crtcs_item, { "crtcs", "x11.randr.GetScreenResourcesCurrent.reply.crtcs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_outputs, { "outputs", "x11.randr.GetScreenResourcesCurrent.reply.outputs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_outputs_item, { "outputs", "x11.randr.GetScreenResourcesCurrent.reply.outputs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_modes, { "modes", "x11.randr.GetScreenResourcesCurrent.reply.modes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_modes_item, { "modes", "x11.randr.GetScreenResourcesCurrent.reply.modes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetScreenResourcesCurrent_reply_names, { "names", "x11.randr.GetScreenResourcesCurrent.reply.names", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcTransform_crtc, { "crtc", "x11.randr.SetCrtcTransform.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcTransform_transform, { "transform", "x11.randr.SetCrtcTransform.transform", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcTransform_filter_len, { "filter_len", "x11.randr.SetCrtcTransform.filter_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcTransform_filter_name, { "filter_name", "x11.randr.SetCrtcTransform.filter_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcTransform_filter_params, { "filter_params", "x11.randr.SetCrtcTransform.filter_params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetCrtcTransform_filter_params_item, { "filter_params", "x11.randr.SetCrtcTransform.filter_params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_crtc, { "crtc", "x11.randr.GetCrtcTransform.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_pending_transform, { "pending_transform", "x11.randr.GetCrtcTransform.reply.pending_transform", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_has_transforms, { "has_transforms", "x11.randr.GetCrtcTransform.reply.has_transforms", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_current_transform, { "current_transform", "x11.randr.GetCrtcTransform.reply.current_transform", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_pending_len, { "pending_len", "x11.randr.GetCrtcTransform.reply.pending_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_pending_nparams, { "pending_nparams", "x11.randr.GetCrtcTransform.reply.pending_nparams", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_current_len, { "current_len", "x11.randr.GetCrtcTransform.reply.current_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_current_nparams, { "current_nparams", "x11.randr.GetCrtcTransform.reply.current_nparams", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_pending_filter_name, { "pending_filter_name", "x11.randr.GetCrtcTransform.reply.pending_filter_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_pending_params, { "pending_params", "x11.randr.GetCrtcTransform.reply.pending_params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_pending_params_item, { "pending_params", "x11.randr.GetCrtcTransform.reply.pending_params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_current_filter_name, { "current_filter_name", "x11.randr.GetCrtcTransform.reply.current_filter_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_current_params, { "current_params", "x11.randr.GetCrtcTransform.reply.current_params.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetCrtcTransform_reply_current_params_item, { "current_params", "x11.randr.GetCrtcTransform.reply.current_params", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_crtc, { "crtc", "x11.randr.GetPanning.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_status, { "status", "x11.randr.GetPanning.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_SetConfig), 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_timestamp, { "timestamp", "x11.randr.GetPanning.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_left, { "left", "x11.randr.GetPanning.reply.left", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_top, { "top", "x11.randr.GetPanning.reply.top", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_width, { "width", "x11.randr.GetPanning.reply.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_height, { "height", "x11.randr.GetPanning.reply.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_track_left, { "track_left", "x11.randr.GetPanning.reply.track_left", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_track_top, { "track_top", "x11.randr.GetPanning.reply.track_top", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_track_width, { "track_width", "x11.randr.GetPanning.reply.track_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_track_height, { "track_height", "x11.randr.GetPanning.reply.track_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_border_left, { "border_left", "x11.randr.GetPanning.reply.border_left", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_border_top, { "border_top", "x11.randr.GetPanning.reply.border_top", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_border_right, { "border_right", "x11.randr.GetPanning.reply.border_right", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetPanning_reply_border_bottom, { "border_bottom", "x11.randr.GetPanning.reply.border_bottom", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_crtc, { "crtc", "x11.randr.SetPanning.crtc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_timestamp, { "timestamp", "x11.randr.SetPanning.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_left, { "left", "x11.randr.SetPanning.left", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_top, { "top", "x11.randr.SetPanning.top", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_width, { "width", "x11.randr.SetPanning.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_height, { "height", "x11.randr.SetPanning.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_track_left, { "track_left", "x11.randr.SetPanning.track_left", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_track_top, { "track_top", "x11.randr.SetPanning.track_top", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_track_width, { "track_width", "x11.randr.SetPanning.track_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_track_height, { "track_height", "x11.randr.SetPanning.track_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_border_left, { "border_left", "x11.randr.SetPanning.border_left", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_border_top, { "border_top", "x11.randr.SetPanning.border_top", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_border_right, { "border_right", "x11.randr.SetPanning.border_right", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_border_bottom, { "border_bottom", "x11.randr.SetPanning.border_bottom", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_reply_status, { "status", "x11.randr.SetPanning.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_SetConfig), 0, NULL, HFILL }}, { &hf_x11_randr_SetPanning_reply_timestamp, { "timestamp", "x11.randr.SetPanning.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetOutputPrimary_window, { "window", "x11.randr.SetOutputPrimary.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetOutputPrimary_output, { "output", "x11.randr.SetOutputPrimary.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputPrimary_window, { "window", "x11.randr.GetOutputPrimary.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetOutputPrimary_reply_output, { "output", "x11.randr.GetOutputPrimary.reply.output", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviders_window, { "window", "x11.randr.GetProviders.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviders_reply_timestamp, { "timestamp", "x11.randr.GetProviders.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviders_reply_num_providers, { "num_providers", "x11.randr.GetProviders.reply.num_providers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviders_reply_providers, { "providers", "x11.randr.GetProviders.reply.providers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviders_reply_providers_item, { "providers", "x11.randr.GetProviders.reply.providers", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_provider, { "provider", "x11.randr.GetProviderInfo.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_config_timestamp, { "config_timestamp", "x11.randr.GetProviderInfo.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_status, { "status", "x11.randr.GetProviderInfo.reply.status", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_timestamp, { "timestamp", "x11.randr.GetProviderInfo.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SourceOutput, { "SourceOutput", "x11.randr.GetProviderInfo.reply.capabilities.SourceOutput", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SinkOutput, { "SinkOutput", "x11.randr.GetProviderInfo.reply.capabilities.SinkOutput", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SourceOffload, { "SourceOffload", "x11.randr.GetProviderInfo.reply.capabilities.SourceOffload", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_capabilities_mask_SinkOffload, { "SinkOffload", "x11.randr.GetProviderInfo.reply.capabilities.SinkOffload", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_capabilities, { "capabilities", "x11.randr.GetProviderInfo.reply.capabilities", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_num_crtcs, { "num_crtcs", "x11.randr.GetProviderInfo.reply.num_crtcs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_num_outputs, { "num_outputs", "x11.randr.GetProviderInfo.reply.num_outputs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_num_associated_providers, { "num_associated_providers", "x11.randr.GetProviderInfo.reply.num_associated_providers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_name_len, { "name_len", "x11.randr.GetProviderInfo.reply.name_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_crtcs, { "crtcs", "x11.randr.GetProviderInfo.reply.crtcs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_crtcs_item, { "crtcs", "x11.randr.GetProviderInfo.reply.crtcs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_outputs, { "outputs", "x11.randr.GetProviderInfo.reply.outputs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_outputs_item, { "outputs", "x11.randr.GetProviderInfo.reply.outputs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_associated_providers, { "associated_providers", "x11.randr.GetProviderInfo.reply.associated_providers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_associated_providers_item, { "associated_providers", "x11.randr.GetProviderInfo.reply.associated_providers", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_associated_capability, { "associated_capability", "x11.randr.GetProviderInfo.reply.associated_capability.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_associated_capability_item, { "associated_capability", "x11.randr.GetProviderInfo.reply.associated_capability", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderInfo_reply_name, { "name", "x11.randr.GetProviderInfo.reply.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetProviderOffloadSink_provider, { "provider", "x11.randr.SetProviderOffloadSink.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetProviderOffloadSink_sink_provider, { "sink_provider", "x11.randr.SetProviderOffloadSink.sink_provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetProviderOffloadSink_config_timestamp, { "config_timestamp", "x11.randr.SetProviderOffloadSink.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetProviderOutputSource_provider, { "provider", "x11.randr.SetProviderOutputSource.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetProviderOutputSource_source_provider, { "source_provider", "x11.randr.SetProviderOutputSource.source_provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetProviderOutputSource_config_timestamp, { "config_timestamp", "x11.randr.SetProviderOutputSource.config_timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ListProviderProperties_provider, { "provider", "x11.randr.ListProviderProperties.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ListProviderProperties_reply_num_atoms, { "num_atoms", "x11.randr.ListProviderProperties.reply.num_atoms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ListProviderProperties_reply_atoms, { "atoms", "x11.randr.ListProviderProperties.reply.atoms.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ListProviderProperties_reply_atoms_item, { "atoms", "x11.randr.ListProviderProperties.reply.atoms", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryProviderProperty_provider, { "provider", "x11.randr.QueryProviderProperty.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryProviderProperty_property, { "property", "x11.randr.QueryProviderProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryProviderProperty_reply_pending, { "pending", "x11.randr.QueryProviderProperty.reply.pending", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryProviderProperty_reply_range, { "range", "x11.randr.QueryProviderProperty.reply.range", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryProviderProperty_reply_immutable, { "immutable", "x11.randr.QueryProviderProperty.reply.immutable", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryProviderProperty_reply_valid_values, { "valid_values", "x11.randr.QueryProviderProperty.reply.valid_values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_QueryProviderProperty_reply_valid_values_item, { "valid_values", "x11.randr.QueryProviderProperty.reply.valid_values", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureProviderProperty_provider, { "provider", "x11.randr.ConfigureProviderProperty.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureProviderProperty_property, { "property", "x11.randr.ConfigureProviderProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureProviderProperty_pending, { "pending", "x11.randr.ConfigureProviderProperty.pending", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureProviderProperty_range, { "range", "x11.randr.ConfigureProviderProperty.range", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureProviderProperty_values, { "values", "x11.randr.ConfigureProviderProperty.values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ConfigureProviderProperty_values_item, { "values", "x11.randr.ConfigureProviderProperty.values", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeProviderProperty_provider, { "provider", "x11.randr.ChangeProviderProperty.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeProviderProperty_property, { "property", "x11.randr.ChangeProviderProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeProviderProperty_type, { "type", "x11.randr.ChangeProviderProperty.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeProviderProperty_format, { "format", "x11.randr.ChangeProviderProperty.format", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeProviderProperty_mode, { "mode", "x11.randr.ChangeProviderProperty.mode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeProviderProperty_num_items, { "num_items", "x11.randr.ChangeProviderProperty.num_items", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_ChangeProviderProperty_data, { "data", "x11.randr.ChangeProviderProperty.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DeleteProviderProperty_provider, { "provider", "x11.randr.DeleteProviderProperty.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DeleteProviderProperty_property, { "property", "x11.randr.DeleteProviderProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_provider, { "provider", "x11.randr.GetProviderProperty.provider", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_property, { "property", "x11.randr.GetProviderProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_type, { "type", "x11.randr.GetProviderProperty.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_long_offset, { "long_offset", "x11.randr.GetProviderProperty.long_offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_long_length, { "long_length", "x11.randr.GetProviderProperty.long_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_delete, { "delete", "x11.randr.GetProviderProperty.delete", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_pending, { "pending", "x11.randr.GetProviderProperty.pending", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_reply_format, { "format", "x11.randr.GetProviderProperty.reply.format", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_reply_type, { "type", "x11.randr.GetProviderProperty.reply.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_reply_bytes_after, { "bytes_after", "x11.randr.GetProviderProperty.reply.bytes_after", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_reply_num_items, { "num_items", "x11.randr.GetProviderProperty.reply.num_items", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetProviderProperty_reply_data, { "data", "x11.randr.GetProviderProperty.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetMonitors_window, { "window", "x11.randr.GetMonitors.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetMonitors_get_active, { "get_active", "x11.randr.GetMonitors.get_active", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetMonitors_reply_timestamp, { "timestamp", "x11.randr.GetMonitors.reply.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetMonitors_reply_nMonitors, { "nMonitors", "x11.randr.GetMonitors.reply.nMonitors", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetMonitors_reply_nOutputs, { "nOutputs", "x11.randr.GetMonitors.reply.nOutputs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_GetMonitors_reply_monitors, { "monitors", "x11.randr.GetMonitors.reply.monitors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetMonitor_window, { "window", "x11.randr.SetMonitor.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_SetMonitor_monitorinfo, { "monitorinfo", "x11.randr.SetMonitor.monitorinfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DeleteMonitor_window, { "window", "x11.randr.DeleteMonitor.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_DeleteMonitor_name, { "name", "x11.randr.DeleteMonitor.name", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_window, { "window", "x11.randr.CreateLease.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_lid, { "lid", "x11.randr.CreateLease.lid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_num_crtcs, { "num_crtcs", "x11.randr.CreateLease.num_crtcs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_num_outputs, { "num_outputs", "x11.randr.CreateLease.num_outputs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_crtcs, { "crtcs", "x11.randr.CreateLease.crtcs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_crtcs_item, { "crtcs", "x11.randr.CreateLease.crtcs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_outputs, { "outputs", "x11.randr.CreateLease.outputs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_outputs_item, { "outputs", "x11.randr.CreateLease.outputs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_CreateLease_reply_nfd, { "nfd", "x11.randr.CreateLease.reply.nfd", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_FreeLease_lid, { "lid", "x11.randr.FreeLease.lid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_FreeLease_terminate, { "terminate", "x11.randr.FreeLease.terminate", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_randr_NotifyData, { "randr_NotifyData", "x11.union.randr_NotifyData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_randr_NotifyData_cc, { "cc", "x11.union.randr_NotifyData.cc", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_randr_NotifyData_oc, { "oc", "x11.union.randr_NotifyData.oc", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_randr_NotifyData_op, { "op", "x11.union.randr_NotifyData.op", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_randr_NotifyData_pc, { "pc", "x11.union.randr_NotifyData.pc", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_randr_NotifyData_pp, { "pp", "x11.union.randr_NotifyData.pp", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_randr_NotifyData_rc, { "rc", "x11.union.randr_NotifyData.rc", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_randr_NotifyData_lc, { "lc", "x11.union.randr_NotifyData.lc", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_Notify_subCode, { "subCode", "x11.randr.Notify.subCode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_randr_Notify), 0, NULL, HFILL }}, { &hf_x11_randr_Notify_u, { "u", "x11.randr.Notify.u", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_randr_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(randr_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_record_Range8, { "record_Range8", "x11.struct.record_Range8", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range8_first, { "first", "x11.struct.record_Range8.first", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range8_last, { "last", "x11.struct.record_Range8.last", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range16, { "record_Range16", "x11.struct.record_Range16", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range16_first, { "first", "x11.struct.record_Range16.first", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range16_last, { "last", "x11.struct.record_Range16.last", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_ExtRange, { "record_ExtRange", "x11.struct.record_ExtRange", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_ExtRange_major, { "major", "x11.struct.record_ExtRange.major", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_ExtRange_minor, { "minor", "x11.struct.record_ExtRange.minor", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range, { "record_Range", "x11.struct.record_Range", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_core_requests, { "core_requests", "x11.struct.record_Range.core_requests", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_core_replies, { "core_replies", "x11.struct.record_Range.core_replies", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_ext_requests, { "ext_requests", "x11.struct.record_Range.ext_requests", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_ext_replies, { "ext_replies", "x11.struct.record_Range.ext_replies", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_delivered_events, { "delivered_events", "x11.struct.record_Range.delivered_events", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_device_events, { "device_events", "x11.struct.record_Range.device_events", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_errors, { "errors", "x11.struct.record_Range.errors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_client_started, { "client_started", "x11.struct.record_Range.client_started", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_Range_client_died, { "client_died", "x11.struct.record_Range.client_died", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_ClientInfo, { "record_ClientInfo", "x11.struct.record_ClientInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_ClientInfo_client_resource, { "client_resource", "x11.struct.record_ClientInfo.client_resource", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_ClientInfo_num_ranges, { "num_ranges", "x11.struct.record_ClientInfo.num_ranges", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_ClientInfo_ranges, { "ranges", "x11.struct.record_ClientInfo.ranges.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_record_ClientInfo_ranges_item, { "ranges", "x11.struct.record_ClientInfo.ranges", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_QueryVersion_major_version, { "major_version", "x11.record.QueryVersion.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_QueryVersion_minor_version, { "minor_version", "x11.record.QueryVersion.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_QueryVersion_reply_major_version, { "major_version", "x11.record.QueryVersion.reply.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_QueryVersion_reply_minor_version, { "minor_version", "x11.record.QueryVersion.reply.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_CreateContext_context, { "context", "x11.record.CreateContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_record_CreateContext_element_header, { "element_header", "x11.record.CreateContext.element_header", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_CreateContext_num_client_specs, { "num_client_specs", "x11.record.CreateContext.num_client_specs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_CreateContext_num_ranges, { "num_ranges", "x11.record.CreateContext.num_ranges", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_CreateContext_client_specs, { "client_specs", "x11.record.CreateContext.client_specs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_CreateContext_client_specs_item, { "client_specs", "x11.record.CreateContext.client_specs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_CreateContext_ranges, { "ranges", "x11.record.CreateContext.ranges.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_CreateContext_ranges_item, { "ranges", "x11.record.CreateContext.ranges", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_RegisterClients_context, { "context", "x11.record.RegisterClients.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_record_RegisterClients_element_header, { "element_header", "x11.record.RegisterClients.element_header", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_RegisterClients_num_client_specs, { "num_client_specs", "x11.record.RegisterClients.num_client_specs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_RegisterClients_num_ranges, { "num_ranges", "x11.record.RegisterClients.num_ranges", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_RegisterClients_client_specs, { "client_specs", "x11.record.RegisterClients.client_specs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_RegisterClients_client_specs_item, { "client_specs", "x11.record.RegisterClients.client_specs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_RegisterClients_ranges, { "ranges", "x11.record.RegisterClients.ranges.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_RegisterClients_ranges_item, { "ranges", "x11.record.RegisterClients.ranges", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_UnregisterClients_context, { "context", "x11.record.UnregisterClients.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_record_UnregisterClients_num_client_specs, { "num_client_specs", "x11.record.UnregisterClients.num_client_specs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_UnregisterClients_client_specs, { "client_specs", "x11.record.UnregisterClients.client_specs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_UnregisterClients_client_specs_item, { "client_specs", "x11.record.UnregisterClients.client_specs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_GetContext_context, { "context", "x11.record.GetContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_record_GetContext_reply_enabled, { "enabled", "x11.record.GetContext.reply.enabled", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_GetContext_reply_element_header, { "element_header", "x11.record.GetContext.reply.element_header", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_GetContext_reply_num_intercepted_clients, { "num_intercepted_clients", "x11.record.GetContext.reply.num_intercepted_clients", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_GetContext_reply_intercepted_clients, { "intercepted_clients", "x11.record.GetContext.reply.intercepted_clients", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_EnableContext_context, { "context", "x11.record.EnableContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_record_EnableContext_reply_category, { "category", "x11.record.EnableContext.reply.category", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_EnableContext_reply_element_header, { "element_header", "x11.record.EnableContext.reply.element_header", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_EnableContext_reply_client_swapped, { "client_swapped", "x11.record.EnableContext.reply.client_swapped", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_EnableContext_reply_xid_base, { "xid_base", "x11.record.EnableContext.reply.xid_base", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_EnableContext_reply_server_time, { "server_time", "x11.record.EnableContext.reply.server_time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_EnableContext_reply_rec_sequence_num, { "rec_sequence_num", "x11.record.EnableContext.reply.rec_sequence_num", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_record_EnableContext_reply_data, { "data", "x11.record.EnableContext.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_record_DisableContext_context, { "context", "x11.record.DisableContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_record_FreeContext_context, { "context", "x11.record.FreeContext.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_record_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(record_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_render_QueryVersion_client_major_version, { "client_major_version", "x11.render.QueryVersion.client_major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryVersion_client_minor_version, { "client_minor_version", "x11.render.QueryVersion.client_minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryVersion_reply_major_version, { "major_version", "x11.render.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryVersion_reply_minor_version, { "minor_version", "x11.render.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_num_formats, { "num_formats", "x11.render.QueryPictFormats.reply.num_formats", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_num_screens, { "num_screens", "x11.render.QueryPictFormats.reply.num_screens", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_num_depths, { "num_depths", "x11.render.QueryPictFormats.reply.num_depths", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_num_visuals, { "num_visuals", "x11.render.QueryPictFormats.reply.num_visuals", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_num_subpixel, { "num_subpixel", "x11.render.QueryPictFormats.reply.num_subpixel", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_formats, { "formats", "x11.render.QueryPictFormats.reply.formats.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_formats_item, { "formats", "x11.render.QueryPictFormats.reply.formats", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_screens, { "screens", "x11.render.QueryPictFormats.reply.screens", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_subpixels, { "subpixels", "x11.render.QueryPictFormats.reply.subpixels.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictFormats_reply_subpixels_item, { "subpixels", "x11.render.QueryPictFormats.reply.subpixels", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_render_SubPixel), 0, NULL, HFILL }}, { &hf_x11_render_QueryPictIndexValues_format, { "format", "x11.render.QueryPictIndexValues.format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictIndexValues_reply_num_values, { "num_values", "x11.render.QueryPictIndexValues.reply.num_values", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictIndexValues_reply_values, { "values", "x11.render.QueryPictIndexValues.reply.values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryPictIndexValues_reply_values_item, { "values", "x11.render.QueryPictIndexValues.reply.values", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_pid, { "pid", "x11.render.CreatePicture.pid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_drawable, { "drawable", "x11.render.CreatePicture.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_format, { "format", "x11.render.CreatePicture.format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_Repeat, { "Repeat", "x11.render.CreatePicture.value_mask.Repeat", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_AlphaMap, { "AlphaMap", "x11.render.CreatePicture.value_mask.AlphaMap", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_AlphaXOrigin, { "AlphaXOrigin", "x11.render.CreatePicture.value_mask.AlphaXOrigin", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_AlphaYOrigin, { "AlphaYOrigin", "x11.render.CreatePicture.value_mask.AlphaYOrigin", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_ClipXOrigin, { "ClipXOrigin", "x11.render.CreatePicture.value_mask.ClipXOrigin", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_ClipYOrigin, { "ClipYOrigin", "x11.render.CreatePicture.value_mask.ClipYOrigin", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_ClipMask, { "ClipMask", "x11.render.CreatePicture.value_mask.ClipMask", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_GraphicsExposure, { "GraphicsExposure", "x11.render.CreatePicture.value_mask.GraphicsExposure", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_SubwindowMode, { "SubwindowMode", "x11.render.CreatePicture.value_mask.SubwindowMode", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_PolyEdge, { "PolyEdge", "x11.render.CreatePicture.value_mask.PolyEdge", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_PolyMode, { "PolyMode", "x11.render.CreatePicture.value_mask.PolyMode", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_Dither, { "Dither", "x11.render.CreatePicture.value_mask.Dither", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask_mask_ComponentAlpha, { "ComponentAlpha", "x11.render.CreatePicture.value_mask.ComponentAlpha", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_render_CreatePicture_value_mask, { "value_mask", "x11.render.CreatePicture.value_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_Repeat_repeat, { "repeat", "x11.render.CreatePicture.Repeat.repeat", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_render_Repeat), 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_AlphaMap_alphamap, { "alphamap", "x11.render.CreatePicture.AlphaMap.alphamap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_AlphaXOrigin_alphaxorigin, { "alphaxorigin", "x11.render.CreatePicture.AlphaXOrigin.alphaxorigin", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_AlphaYOrigin_alphayorigin, { "alphayorigin", "x11.render.CreatePicture.AlphaYOrigin.alphayorigin", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_ClipXOrigin_clipxorigin, { "clipxorigin", "x11.render.CreatePicture.ClipXOrigin.clipxorigin", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_ClipYOrigin_clipyorigin, { "clipyorigin", "x11.render.CreatePicture.ClipYOrigin.clipyorigin", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_ClipMask_clipmask, { "clipmask", "x11.render.CreatePicture.ClipMask.clipmask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_GraphicsExposure_graphicsexposure, { "graphicsexposure", "x11.render.CreatePicture.GraphicsExposure.graphicsexposure", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_SubwindowMode_subwindowmode, { "subwindowmode", "x11.render.CreatePicture.SubwindowMode.subwindowmode", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_SubwindowMode), 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_PolyEdge_polyedge, { "polyedge", "x11.render.CreatePicture.PolyEdge.polyedge", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_render_PolyEdge), 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_PolyMode_polymode, { "polymode", "x11.render.CreatePicture.PolyMode.polymode", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_render_PolyMode), 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_Dither_dither, { "dither", "x11.render.CreatePicture.Dither.dither", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreatePicture_ComponentAlpha_componentalpha, { "componentalpha", "x11.render.CreatePicture.ComponentAlpha.componentalpha", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_picture, { "picture", "x11.render.ChangePicture.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_Repeat, { "Repeat", "x11.render.ChangePicture.value_mask.Repeat", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_AlphaMap, { "AlphaMap", "x11.render.ChangePicture.value_mask.AlphaMap", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_AlphaXOrigin, { "AlphaXOrigin", "x11.render.ChangePicture.value_mask.AlphaXOrigin", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_AlphaYOrigin, { "AlphaYOrigin", "x11.render.ChangePicture.value_mask.AlphaYOrigin", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_ClipXOrigin, { "ClipXOrigin", "x11.render.ChangePicture.value_mask.ClipXOrigin", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_ClipYOrigin, { "ClipYOrigin", "x11.render.ChangePicture.value_mask.ClipYOrigin", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_ClipMask, { "ClipMask", "x11.render.ChangePicture.value_mask.ClipMask", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_GraphicsExposure, { "GraphicsExposure", "x11.render.ChangePicture.value_mask.GraphicsExposure", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_SubwindowMode, { "SubwindowMode", "x11.render.ChangePicture.value_mask.SubwindowMode", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_PolyEdge, { "PolyEdge", "x11.render.ChangePicture.value_mask.PolyEdge", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_PolyMode, { "PolyMode", "x11.render.ChangePicture.value_mask.PolyMode", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_Dither, { "Dither", "x11.render.ChangePicture.value_mask.Dither", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask_mask_ComponentAlpha, { "ComponentAlpha", "x11.render.ChangePicture.value_mask.ComponentAlpha", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_render_ChangePicture_value_mask, { "value_mask", "x11.render.ChangePicture.value_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_Repeat_repeat, { "repeat", "x11.render.ChangePicture.Repeat.repeat", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_render_Repeat), 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_AlphaMap_alphamap, { "alphamap", "x11.render.ChangePicture.AlphaMap.alphamap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_AlphaXOrigin_alphaxorigin, { "alphaxorigin", "x11.render.ChangePicture.AlphaXOrigin.alphaxorigin", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_AlphaYOrigin_alphayorigin, { "alphayorigin", "x11.render.ChangePicture.AlphaYOrigin.alphayorigin", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_ClipXOrigin_clipxorigin, { "clipxorigin", "x11.render.ChangePicture.ClipXOrigin.clipxorigin", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_ClipYOrigin_clipyorigin, { "clipyorigin", "x11.render.ChangePicture.ClipYOrigin.clipyorigin", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_ClipMask_clipmask, { "clipmask", "x11.render.ChangePicture.ClipMask.clipmask", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_GraphicsExposure_graphicsexposure, { "graphicsexposure", "x11.render.ChangePicture.GraphicsExposure.graphicsexposure", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_SubwindowMode_subwindowmode, { "subwindowmode", "x11.render.ChangePicture.SubwindowMode.subwindowmode", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_SubwindowMode), 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_PolyEdge_polyedge, { "polyedge", "x11.render.ChangePicture.PolyEdge.polyedge", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_render_PolyEdge), 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_PolyMode_polymode, { "polymode", "x11.render.ChangePicture.PolyMode.polymode", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_render_PolyMode), 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_Dither_dither, { "dither", "x11.render.ChangePicture.Dither.dither", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ChangePicture_ComponentAlpha_componentalpha, { "componentalpha", "x11.render.ChangePicture.ComponentAlpha.componentalpha", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureClipRectangles_picture, { "picture", "x11.render.SetPictureClipRectangles.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureClipRectangles_clip_x_origin, { "clip_x_origin", "x11.render.SetPictureClipRectangles.clip_x_origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureClipRectangles_clip_y_origin, { "clip_y_origin", "x11.render.SetPictureClipRectangles.clip_y_origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureClipRectangles_rectangles, { "rectangles", "x11.render.SetPictureClipRectangles.rectangles.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureClipRectangles_rectangles_item, { "rectangles", "x11.render.SetPictureClipRectangles.rectangles", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FreePicture_picture, { "picture", "x11.render.FreePicture.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_op, { "op", "x11.render.Composite.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_Composite_src, { "src", "x11.render.Composite.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_mask, { "mask", "x11.render.Composite.mask", FT_UINT32, BASE_HEX, VALS(x11_enum_render_Picture), 0, NULL, HFILL }}, { &hf_x11_render_Composite_dst, { "dst", "x11.render.Composite.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_src_x, { "src_x", "x11.render.Composite.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_src_y, { "src_y", "x11.render.Composite.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_mask_x, { "mask_x", "x11.render.Composite.mask_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_mask_y, { "mask_y", "x11.render.Composite.mask_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_dst_x, { "dst_x", "x11.render.Composite.dst_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_dst_y, { "dst_y", "x11.render.Composite.dst_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_width, { "width", "x11.render.Composite.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Composite_height, { "height", "x11.render.Composite.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Trapezoids_op, { "op", "x11.render.Trapezoids.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_Trapezoids_src, { "src", "x11.render.Trapezoids.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Trapezoids_dst, { "dst", "x11.render.Trapezoids.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Trapezoids_mask_format, { "mask_format", "x11.render.Trapezoids.mask_format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Trapezoids_src_x, { "src_x", "x11.render.Trapezoids.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Trapezoids_src_y, { "src_y", "x11.render.Trapezoids.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Trapezoids_traps, { "traps", "x11.render.Trapezoids.traps.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Trapezoids_traps_item, { "traps", "x11.render.Trapezoids.traps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Triangles_op, { "op", "x11.render.Triangles.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_Triangles_src, { "src", "x11.render.Triangles.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Triangles_dst, { "dst", "x11.render.Triangles.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Triangles_mask_format, { "mask_format", "x11.render.Triangles.mask_format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Triangles_src_x, { "src_x", "x11.render.Triangles.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Triangles_src_y, { "src_y", "x11.render.Triangles.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Triangles_triangles, { "triangles", "x11.render.Triangles.triangles.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_Triangles_triangles_item, { "triangles", "x11.render.Triangles.triangles", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriStrip_op, { "op", "x11.render.TriStrip.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_TriStrip_src, { "src", "x11.render.TriStrip.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriStrip_dst, { "dst", "x11.render.TriStrip.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriStrip_mask_format, { "mask_format", "x11.render.TriStrip.mask_format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriStrip_src_x, { "src_x", "x11.render.TriStrip.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriStrip_src_y, { "src_y", "x11.render.TriStrip.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriStrip_points, { "points", "x11.render.TriStrip.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriStrip_points_item, { "points", "x11.render.TriStrip.points", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriFan_op, { "op", "x11.render.TriFan.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_TriFan_src, { "src", "x11.render.TriFan.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriFan_dst, { "dst", "x11.render.TriFan.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriFan_mask_format, { "mask_format", "x11.render.TriFan.mask_format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriFan_src_x, { "src_x", "x11.render.TriFan.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriFan_src_y, { "src_y", "x11.render.TriFan.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriFan_points, { "points", "x11.render.TriFan.points.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_TriFan_points_item, { "points", "x11.render.TriFan.points", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateGlyphSet_gsid, { "gsid", "x11.render.CreateGlyphSet.gsid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateGlyphSet_format, { "format", "x11.render.CreateGlyphSet.format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ReferenceGlyphSet_gsid, { "gsid", "x11.render.ReferenceGlyphSet.gsid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_ReferenceGlyphSet_existing, { "existing", "x11.render.ReferenceGlyphSet.existing", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FreeGlyphSet_glyphset, { "glyphset", "x11.render.FreeGlyphSet.glyphset", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddGlyphs_glyphset, { "glyphset", "x11.render.AddGlyphs.glyphset", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddGlyphs_glyphs_len, { "glyphs_len", "x11.render.AddGlyphs.glyphs_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddGlyphs_glyphids, { "glyphids", "x11.render.AddGlyphs.glyphids.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddGlyphs_glyphids_item, { "glyphids", "x11.render.AddGlyphs.glyphids", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddGlyphs_glyphs, { "glyphs", "x11.render.AddGlyphs.glyphs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddGlyphs_glyphs_item, { "glyphs", "x11.render.AddGlyphs.glyphs", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddGlyphs_data, { "data", "x11.render.AddGlyphs.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FreeGlyphs_glyphset, { "glyphset", "x11.render.FreeGlyphs.glyphset", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FreeGlyphs_glyphs, { "glyphs", "x11.render.FreeGlyphs.glyphs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FreeGlyphs_glyphs_item, { "glyphs", "x11.render.FreeGlyphs.glyphs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs8_op, { "op", "x11.render.CompositeGlyphs8.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs8_src, { "src", "x11.render.CompositeGlyphs8.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs8_dst, { "dst", "x11.render.CompositeGlyphs8.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs8_mask_format, { "mask_format", "x11.render.CompositeGlyphs8.mask_format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs8_glyphset, { "glyphset", "x11.render.CompositeGlyphs8.glyphset", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs8_src_x, { "src_x", "x11.render.CompositeGlyphs8.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs8_src_y, { "src_y", "x11.render.CompositeGlyphs8.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs8_glyphcmds, { "glyphcmds", "x11.render.CompositeGlyphs8.glyphcmds", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs16_op, { "op", "x11.render.CompositeGlyphs16.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs16_src, { "src", "x11.render.CompositeGlyphs16.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs16_dst, { "dst", "x11.render.CompositeGlyphs16.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs16_mask_format, { "mask_format", "x11.render.CompositeGlyphs16.mask_format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs16_glyphset, { "glyphset", "x11.render.CompositeGlyphs16.glyphset", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs16_src_x, { "src_x", "x11.render.CompositeGlyphs16.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs16_src_y, { "src_y", "x11.render.CompositeGlyphs16.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs16_glyphcmds, { "glyphcmds", "x11.render.CompositeGlyphs16.glyphcmds", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs32_op, { "op", "x11.render.CompositeGlyphs32.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs32_src, { "src", "x11.render.CompositeGlyphs32.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs32_dst, { "dst", "x11.render.CompositeGlyphs32.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs32_mask_format, { "mask_format", "x11.render.CompositeGlyphs32.mask_format", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs32_glyphset, { "glyphset", "x11.render.CompositeGlyphs32.glyphset", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs32_src_x, { "src_x", "x11.render.CompositeGlyphs32.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs32_src_y, { "src_y", "x11.render.CompositeGlyphs32.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CompositeGlyphs32_glyphcmds, { "glyphcmds", "x11.render.CompositeGlyphs32.glyphcmds", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FillRectangles_op, { "op", "x11.render.FillRectangles.op", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_render_PictOp), 0, NULL, HFILL }}, { &hf_x11_render_FillRectangles_dst, { "dst", "x11.render.FillRectangles.dst", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FillRectangles_color, { "color", "x11.render.FillRectangles.color", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FillRectangles_rects, { "rects", "x11.render.FillRectangles.rects.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_FillRectangles_rects_item, { "rects", "x11.render.FillRectangles.rects", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateCursor_cid, { "cid", "x11.render.CreateCursor.cid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateCursor_source, { "source", "x11.render.CreateCursor.source", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateCursor_x, { "x", "x11.render.CreateCursor.x", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateCursor_y, { "y", "x11.render.CreateCursor.y", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureTransform_picture, { "picture", "x11.render.SetPictureTransform.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureTransform_transform, { "transform", "x11.render.SetPictureTransform.transform", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryFilters_drawable, { "drawable", "x11.render.QueryFilters.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryFilters_reply_num_aliases, { "num_aliases", "x11.render.QueryFilters.reply.num_aliases", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryFilters_reply_num_filters, { "num_filters", "x11.render.QueryFilters.reply.num_filters", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryFilters_reply_aliases, { "aliases", "x11.render.QueryFilters.reply.aliases.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryFilters_reply_aliases_item, { "aliases", "x11.render.QueryFilters.reply.aliases", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_QueryFilters_reply_filters, { "filters", "x11.render.QueryFilters.reply.filters", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureFilter_picture, { "picture", "x11.render.SetPictureFilter.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureFilter_filter_len, { "filter_len", "x11.render.SetPictureFilter.filter_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureFilter_filter, { "filter", "x11.render.SetPictureFilter.filter", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureFilter_values, { "values", "x11.render.SetPictureFilter.values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_SetPictureFilter_values_item, { "values", "x11.render.SetPictureFilter.values", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateAnimCursor_cid, { "cid", "x11.render.CreateAnimCursor.cid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateAnimCursor_cursors, { "cursors", "x11.render.CreateAnimCursor.cursors.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateAnimCursor_cursors_item, { "cursors", "x11.render.CreateAnimCursor.cursors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddTraps_picture, { "picture", "x11.render.AddTraps.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddTraps_x_off, { "x_off", "x11.render.AddTraps.x_off", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddTraps_y_off, { "y_off", "x11.render.AddTraps.y_off", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddTraps_traps, { "traps", "x11.render.AddTraps.traps.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_AddTraps_traps_item, { "traps", "x11.render.AddTraps.traps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateSolidFill_picture, { "picture", "x11.render.CreateSolidFill.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateSolidFill_color, { "color", "x11.render.CreateSolidFill.color", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateLinearGradient_picture, { "picture", "x11.render.CreateLinearGradient.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateLinearGradient_p1, { "p1", "x11.render.CreateLinearGradient.p1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateLinearGradient_p2, { "p2", "x11.render.CreateLinearGradient.p2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateLinearGradient_num_stops, { "num_stops", "x11.render.CreateLinearGradient.num_stops", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateLinearGradient_stops, { "stops", "x11.render.CreateLinearGradient.stops.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateLinearGradient_stops_item, { "stops", "x11.render.CreateLinearGradient.stops", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateLinearGradient_colors, { "colors", "x11.render.CreateLinearGradient.colors.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateLinearGradient_colors_item, { "colors", "x11.render.CreateLinearGradient.colors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_picture, { "picture", "x11.render.CreateRadialGradient.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_inner, { "inner", "x11.render.CreateRadialGradient.inner", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_outer, { "outer", "x11.render.CreateRadialGradient.outer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_inner_radius, { "inner_radius", "x11.render.CreateRadialGradient.inner_radius", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_outer_radius, { "outer_radius", "x11.render.CreateRadialGradient.outer_radius", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_num_stops, { "num_stops", "x11.render.CreateRadialGradient.num_stops", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_stops, { "stops", "x11.render.CreateRadialGradient.stops.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_stops_item, { "stops", "x11.render.CreateRadialGradient.stops", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_colors, { "colors", "x11.render.CreateRadialGradient.colors.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateRadialGradient_colors_item, { "colors", "x11.render.CreateRadialGradient.colors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateConicalGradient_picture, { "picture", "x11.render.CreateConicalGradient.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateConicalGradient_center, { "center", "x11.render.CreateConicalGradient.center", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateConicalGradient_angle, { "angle", "x11.render.CreateConicalGradient.angle", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateConicalGradient_num_stops, { "num_stops", "x11.render.CreateConicalGradient.num_stops", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateConicalGradient_stops, { "stops", "x11.render.CreateConicalGradient.stops.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateConicalGradient_stops_item, { "stops", "x11.render.CreateConicalGradient.stops", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateConicalGradient_colors, { "colors", "x11.render.CreateConicalGradient.colors.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_CreateConicalGradient_colors_item, { "colors", "x11.render.CreateConicalGradient.colors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_render_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(render_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_res_Client, { "res_Client", "x11.struct.res_Client", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_Client_resource_base, { "resource_base", "x11.struct.res_Client.resource_base", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_Client_resource_mask, { "resource_mask", "x11.struct.res_Client.resource_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_Type, { "res_Type", "x11.struct.res_Type", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_Type_resource_type, { "resource_type", "x11.struct.res_Type.resource_type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_Type_count, { "count", "x11.struct.res_Type.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdSpec, { "res_ClientIdSpec", "x11.struct.res_ClientIdSpec", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdSpec_client, { "client", "x11.struct.res_ClientIdSpec.client", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdSpec_mask_mask_ClientXID, { "ClientXID", "x11.struct.res_ClientIdSpec.mask.ClientXID", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdSpec_mask_mask_LocalClientPID, { "LocalClientPID", "x11.struct.res_ClientIdSpec.mask.LocalClientPID", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdSpec_mask, { "mask", "x11.struct.res_ClientIdSpec.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdValue, { "res_ClientIdValue", "x11.struct.res_ClientIdValue", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdValue_spec, { "spec", "x11.struct.res_ClientIdValue.spec", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdValue_length, { "length", "x11.struct.res_ClientIdValue.length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdValue_value, { "value", "x11.struct.res_ClientIdValue.value.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ClientIdValue_value_item, { "value", "x11.struct.res_ClientIdValue.value", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceIdSpec, { "res_ResourceIdSpec", "x11.struct.res_ResourceIdSpec", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceIdSpec_resource, { "resource", "x11.struct.res_ResourceIdSpec.resource", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceIdSpec_type, { "type", "x11.struct.res_ResourceIdSpec.type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeSpec, { "res_ResourceSizeSpec", "x11.struct.res_ResourceSizeSpec", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeSpec_spec, { "spec", "x11.struct.res_ResourceSizeSpec.spec", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeSpec_bytes, { "bytes", "x11.struct.res_ResourceSizeSpec.bytes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeSpec_ref_count, { "ref_count", "x11.struct.res_ResourceSizeSpec.ref_count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeSpec_use_count, { "use_count", "x11.struct.res_ResourceSizeSpec.use_count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeValue, { "res_ResourceSizeValue", "x11.struct.res_ResourceSizeValue", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeValue_size, { "size", "x11.struct.res_ResourceSizeValue.size", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeValue_num_cross_references, { "num_cross_references", "x11.struct.res_ResourceSizeValue.num_cross_references", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeValue_cross_references, { "cross_references", "x11.struct.res_ResourceSizeValue.cross_references.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_res_ResourceSizeValue_cross_references_item, { "cross_references", "x11.struct.res_ResourceSizeValue.cross_references", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryVersion_client_major, { "client_major", "x11.res.QueryVersion.client_major", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryVersion_client_minor, { "client_minor", "x11.res.QueryVersion.client_minor", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryVersion_reply_server_major, { "server_major", "x11.res.QueryVersion.reply.server_major", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryVersion_reply_server_minor, { "server_minor", "x11.res.QueryVersion.reply.server_minor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClients_reply_num_clients, { "num_clients", "x11.res.QueryClients.reply.num_clients", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClients_reply_clients, { "clients", "x11.res.QueryClients.reply.clients.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClients_reply_clients_item, { "clients", "x11.res.QueryClients.reply.clients", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientResources_xid, { "xid", "x11.res.QueryClientResources.xid", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientResources_reply_num_types, { "num_types", "x11.res.QueryClientResources.reply.num_types", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientResources_reply_types, { "types", "x11.res.QueryClientResources.reply.types.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientResources_reply_types_item, { "types", "x11.res.QueryClientResources.reply.types", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientPixmapBytes_xid, { "xid", "x11.res.QueryClientPixmapBytes.xid", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientPixmapBytes_reply_bytes, { "bytes", "x11.res.QueryClientPixmapBytes.reply.bytes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientPixmapBytes_reply_bytes_overflow, { "bytes_overflow", "x11.res.QueryClientPixmapBytes.reply.bytes_overflow", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientIds_num_specs, { "num_specs", "x11.res.QueryClientIds.num_specs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientIds_specs, { "specs", "x11.res.QueryClientIds.specs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientIds_specs_item, { "specs", "x11.res.QueryClientIds.specs", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientIds_reply_num_ids, { "num_ids", "x11.res.QueryClientIds.reply.num_ids", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryClientIds_reply_ids, { "ids", "x11.res.QueryClientIds.reply.ids", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryResourceBytes_client, { "client", "x11.res.QueryResourceBytes.client", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryResourceBytes_num_specs, { "num_specs", "x11.res.QueryResourceBytes.num_specs", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryResourceBytes_specs, { "specs", "x11.res.QueryResourceBytes.specs.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryResourceBytes_specs_item, { "specs", "x11.res.QueryResourceBytes.specs", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryResourceBytes_reply_num_sizes, { "num_sizes", "x11.res.QueryResourceBytes.reply.num_sizes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_res_QueryResourceBytes_reply_sizes, { "sizes", "x11.res.QueryResourceBytes.reply.sizes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_res_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(res_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_screensaver_QueryVersion_client_major_version, { "client_major_version", "x11.screensaver.QueryVersion.client_major_version", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryVersion_client_minor_version, { "client_minor_version", "x11.screensaver.QueryVersion.client_minor_version", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryVersion_reply_server_major_version, { "server_major_version", "x11.screensaver.QueryVersion.reply.server_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryVersion_reply_server_minor_version, { "server_minor_version", "x11.screensaver.QueryVersion.reply.server_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryInfo_drawable, { "drawable", "x11.screensaver.QueryInfo.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryInfo_reply_state, { "state", "x11.screensaver.QueryInfo.reply.state", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryInfo_reply_saver_window, { "saver_window", "x11.screensaver.QueryInfo.reply.saver_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryInfo_reply_ms_until_server, { "ms_until_server", "x11.screensaver.QueryInfo.reply.ms_until_server", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryInfo_reply_ms_since_user_input, { "ms_since_user_input", "x11.screensaver.QueryInfo.reply.ms_since_user_input", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryInfo_reply_event_mask, { "event_mask", "x11.screensaver.QueryInfo.reply.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_QueryInfo_reply_kind, { "kind", "x11.screensaver.QueryInfo.reply.kind", FT_UINT8, BASE_DEC, VALS(x11_enum_screensaver_Kind), 0, NULL, HFILL }}, { &hf_x11_screensaver_SelectInput_drawable, { "drawable", "x11.screensaver.SelectInput.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SelectInput_event_mask_mask_NotifyMask, { "NotifyMask", "x11.screensaver.SelectInput.event_mask.NotifyMask", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_screensaver_SelectInput_event_mask_mask_CycleMask, { "CycleMask", "x11.screensaver.SelectInput.event_mask.CycleMask", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_screensaver_SelectInput_event_mask, { "event_mask", "x11.screensaver.SelectInput.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_drawable, { "drawable", "x11.screensaver.SetAttributes.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_x, { "x", "x11.screensaver.SetAttributes.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_y, { "y", "x11.screensaver.SetAttributes.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_width, { "width", "x11.screensaver.SetAttributes.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_height, { "height", "x11.screensaver.SetAttributes.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_border_width, { "border_width", "x11.screensaver.SetAttributes.border_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_class, { "class", "x11.screensaver.SetAttributes.class", FT_UINT8, BASE_DEC, VALS(x11_enum_xproto_WindowClass), 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_depth, { "depth", "x11.screensaver.SetAttributes.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_visual, { "visual", "x11.screensaver.SetAttributes.visual", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_BackPixmap, { "BackPixmap", "x11.screensaver.SetAttributes.value_mask.BackPixmap", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_BackPixel, { "BackPixel", "x11.screensaver.SetAttributes.value_mask.BackPixel", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_BorderPixmap, { "BorderPixmap", "x11.screensaver.SetAttributes.value_mask.BorderPixmap", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_BorderPixel, { "BorderPixel", "x11.screensaver.SetAttributes.value_mask.BorderPixel", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_BitGravity, { "BitGravity", "x11.screensaver.SetAttributes.value_mask.BitGravity", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_WinGravity, { "WinGravity", "x11.screensaver.SetAttributes.value_mask.WinGravity", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_BackingStore, { "BackingStore", "x11.screensaver.SetAttributes.value_mask.BackingStore", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_BackingPlanes, { "BackingPlanes", "x11.screensaver.SetAttributes.value_mask.BackingPlanes", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_BackingPixel, { "BackingPixel", "x11.screensaver.SetAttributes.value_mask.BackingPixel", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_OverrideRedirect, { "OverrideRedirect", "x11.screensaver.SetAttributes.value_mask.OverrideRedirect", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_SaveUnder, { "SaveUnder", "x11.screensaver.SetAttributes.value_mask.SaveUnder", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_EventMask, { "EventMask", "x11.screensaver.SetAttributes.value_mask.EventMask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_DontPropagate, { "DontPropagate", "x11.screensaver.SetAttributes.value_mask.DontPropagate", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_Colormap, { "Colormap", "x11.screensaver.SetAttributes.value_mask.Colormap", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask_mask_Cursor, { "Cursor", "x11.screensaver.SetAttributes.value_mask.Cursor", FT_BOOLEAN, 32, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_value_mask, { "value_mask", "x11.screensaver.SetAttributes.value_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_BackPixmap_background_pixmap, { "background_pixmap", "x11.screensaver.SetAttributes.BackPixmap.background_pixmap", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_BackPixmap), 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_BackPixel_background_pixel, { "background_pixel", "x11.screensaver.SetAttributes.BackPixel.background_pixel", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_BorderPixmap_border_pixmap, { "border_pixmap", "x11.screensaver.SetAttributes.BorderPixmap.border_pixmap", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Pixmap), 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_BorderPixel_border_pixel, { "border_pixel", "x11.screensaver.SetAttributes.BorderPixel.border_pixel", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_BitGravity_bit_gravity, { "bit_gravity", "x11.screensaver.SetAttributes.BitGravity.bit_gravity", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Gravity), 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_WinGravity_win_gravity, { "win_gravity", "x11.screensaver.SetAttributes.WinGravity.win_gravity", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Gravity), 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_BackingStore_backing_store, { "backing_store", "x11.screensaver.SetAttributes.BackingStore.backing_store", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_BackingStore), 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_BackingPlanes_backing_planes, { "backing_planes", "x11.screensaver.SetAttributes.BackingPlanes.backing_planes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_BackingPixel_backing_pixel, { "backing_pixel", "x11.screensaver.SetAttributes.BackingPixel.backing_pixel", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_OverrideRedirect_override_redirect, { "override_redirect", "x11.screensaver.SetAttributes.OverrideRedirect.override_redirect", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_SaveUnder_save_under, { "save_under", "x11.screensaver.SetAttributes.SaveUnder.save_under", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeyPress, { "KeyPress", "x11.screensaver.SetAttributes.EventMask.event_mask.KeyPress", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeyRelease, { "KeyRelease", "x11.screensaver.SetAttributes.EventMask.event_mask.KeyRelease", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonPress, { "ButtonPress", "x11.screensaver.SetAttributes.EventMask.event_mask.ButtonPress", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonRelease, { "ButtonRelease", "x11.screensaver.SetAttributes.EventMask.event_mask.ButtonRelease", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_EnterWindow, { "EnterWindow", "x11.screensaver.SetAttributes.EventMask.event_mask.EnterWindow", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_LeaveWindow, { "LeaveWindow", "x11.screensaver.SetAttributes.EventMask.event_mask.LeaveWindow", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PointerMotion, { "PointerMotion", "x11.screensaver.SetAttributes.EventMask.event_mask.PointerMotion", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PointerMotionHint, { "PointerMotionHint", "x11.screensaver.SetAttributes.EventMask.event_mask.PointerMotionHint", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button1Motion, { "Button1Motion", "x11.screensaver.SetAttributes.EventMask.event_mask.Button1Motion", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button2Motion, { "Button2Motion", "x11.screensaver.SetAttributes.EventMask.event_mask.Button2Motion", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button3Motion, { "Button3Motion", "x11.screensaver.SetAttributes.EventMask.event_mask.Button3Motion", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button4Motion, { "Button4Motion", "x11.screensaver.SetAttributes.EventMask.event_mask.Button4Motion", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Button5Motion, { "Button5Motion", "x11.screensaver.SetAttributes.EventMask.event_mask.Button5Motion", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ButtonMotion, { "ButtonMotion", "x11.screensaver.SetAttributes.EventMask.event_mask.ButtonMotion", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_KeymapState, { "KeymapState", "x11.screensaver.SetAttributes.EventMask.event_mask.KeymapState", FT_BOOLEAN, 32, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_Exposure, { "Exposure", "x11.screensaver.SetAttributes.EventMask.event_mask.Exposure", FT_BOOLEAN, 32, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_VisibilityChange, { "VisibilityChange", "x11.screensaver.SetAttributes.EventMask.event_mask.VisibilityChange", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_StructureNotify, { "StructureNotify", "x11.screensaver.SetAttributes.EventMask.event_mask.StructureNotify", FT_BOOLEAN, 32, NULL, 1U << 17, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ResizeRedirect, { "ResizeRedirect", "x11.screensaver.SetAttributes.EventMask.event_mask.ResizeRedirect", FT_BOOLEAN, 32, NULL, 1U << 18, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_SubstructureNotify, { "SubstructureNotify", "x11.screensaver.SetAttributes.EventMask.event_mask.SubstructureNotify", FT_BOOLEAN, 32, NULL, 1U << 19, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_SubstructureRedirect, { "SubstructureRedirect", "x11.screensaver.SetAttributes.EventMask.event_mask.SubstructureRedirect", FT_BOOLEAN, 32, NULL, 1U << 20, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_FocusChange, { "FocusChange", "x11.screensaver.SetAttributes.EventMask.event_mask.FocusChange", FT_BOOLEAN, 32, NULL, 1U << 21, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_PropertyChange, { "PropertyChange", "x11.screensaver.SetAttributes.EventMask.event_mask.PropertyChange", FT_BOOLEAN, 32, NULL, 1U << 22, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_ColorMapChange, { "ColorMapChange", "x11.screensaver.SetAttributes.EventMask.event_mask.ColorMapChange", FT_BOOLEAN, 32, NULL, 1U << 23, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask_mask_OwnerGrabButton, { "OwnerGrabButton", "x11.screensaver.SetAttributes.EventMask.event_mask.OwnerGrabButton", FT_BOOLEAN, 32, NULL, 1U << 24, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_EventMask_event_mask, { "event_mask", "x11.screensaver.SetAttributes.EventMask.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeyPress, { "KeyPress", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.KeyPress", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeyRelease, { "KeyRelease", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.KeyRelease", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonPress, { "ButtonPress", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.ButtonPress", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonRelease, { "ButtonRelease", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.ButtonRelease", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_EnterWindow, { "EnterWindow", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.EnterWindow", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_LeaveWindow, { "LeaveWindow", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.LeaveWindow", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PointerMotion, { "PointerMotion", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.PointerMotion", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PointerMotionHint, { "PointerMotionHint", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.PointerMotionHint", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button1Motion, { "Button1Motion", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.Button1Motion", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button2Motion, { "Button2Motion", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.Button2Motion", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button3Motion, { "Button3Motion", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.Button3Motion", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button4Motion, { "Button4Motion", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.Button4Motion", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Button5Motion, { "Button5Motion", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.Button5Motion", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ButtonMotion, { "ButtonMotion", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.ButtonMotion", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_KeymapState, { "KeymapState", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.KeymapState", FT_BOOLEAN, 32, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_Exposure, { "Exposure", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.Exposure", FT_BOOLEAN, 32, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_VisibilityChange, { "VisibilityChange", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.VisibilityChange", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_StructureNotify, { "StructureNotify", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.StructureNotify", FT_BOOLEAN, 32, NULL, 1U << 17, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ResizeRedirect, { "ResizeRedirect", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.ResizeRedirect", FT_BOOLEAN, 32, NULL, 1U << 18, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_SubstructureNotify, { "SubstructureNotify", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.SubstructureNotify", FT_BOOLEAN, 32, NULL, 1U << 19, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_SubstructureRedirect, { "SubstructureRedirect", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.SubstructureRedirect", FT_BOOLEAN, 32, NULL, 1U << 20, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_FocusChange, { "FocusChange", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.FocusChange", FT_BOOLEAN, 32, NULL, 1U << 21, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_PropertyChange, { "PropertyChange", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.PropertyChange", FT_BOOLEAN, 32, NULL, 1U << 22, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_ColorMapChange, { "ColorMapChange", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.ColorMapChange", FT_BOOLEAN, 32, NULL, 1U << 23, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask_mask_OwnerGrabButton, { "OwnerGrabButton", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask.OwnerGrabButton", FT_BOOLEAN, 32, NULL, 1U << 24, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_DontPropagate_do_not_propogate_mask, { "do_not_propogate_mask", "x11.screensaver.SetAttributes.DontPropagate.do_not_propogate_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_Colormap_colormap, { "colormap", "x11.screensaver.SetAttributes.Colormap.colormap", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Colormap), 0, NULL, HFILL }}, { &hf_x11_screensaver_SetAttributes_Cursor_cursor, { "cursor", "x11.screensaver.SetAttributes.Cursor.cursor", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Cursor), 0, NULL, HFILL }}, { &hf_x11_screensaver_UnsetAttributes_drawable, { "drawable", "x11.screensaver.UnsetAttributes.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_Suspend_suspend, { "suspend", "x11.screensaver.Suspend.suspend", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_screensaver_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(screensaver_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_shape_QueryVersion_reply_major_version, { "major_version", "x11.shape.QueryVersion.reply.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryVersion_reply_minor_version, { "minor_version", "x11.shape.QueryVersion.reply.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Rectangles_operation, { "operation", "x11.shape.Rectangles.operation", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SO), 0, NULL, HFILL }}, { &hf_x11_shape_Rectangles_destination_kind, { "destination_kind", "x11.shape.Rectangles.destination_kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SK), 0, NULL, HFILL }}, { &hf_x11_shape_Rectangles_ordering, { "ordering", "x11.shape.Rectangles.ordering", FT_UINT8, BASE_DEC, VALS(x11_enum_xproto_ClipOrdering), 0, NULL, HFILL }}, { &hf_x11_shape_Rectangles_destination_window, { "destination_window", "x11.shape.Rectangles.destination_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Rectangles_x_offset, { "x_offset", "x11.shape.Rectangles.x_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Rectangles_y_offset, { "y_offset", "x11.shape.Rectangles.y_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Rectangles_rectangles, { "rectangles", "x11.shape.Rectangles.rectangles.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Rectangles_rectangles_item, { "rectangles", "x11.shape.Rectangles.rectangles", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Mask_operation, { "operation", "x11.shape.Mask.operation", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SO), 0, NULL, HFILL }}, { &hf_x11_shape_Mask_destination_kind, { "destination_kind", "x11.shape.Mask.destination_kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SK), 0, NULL, HFILL }}, { &hf_x11_shape_Mask_destination_window, { "destination_window", "x11.shape.Mask.destination_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Mask_x_offset, { "x_offset", "x11.shape.Mask.x_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Mask_y_offset, { "y_offset", "x11.shape.Mask.y_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Mask_source_bitmap, { "source_bitmap", "x11.shape.Mask.source_bitmap", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Pixmap), 0, NULL, HFILL }}, { &hf_x11_shape_Combine_operation, { "operation", "x11.shape.Combine.operation", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SO), 0, NULL, HFILL }}, { &hf_x11_shape_Combine_destination_kind, { "destination_kind", "x11.shape.Combine.destination_kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SK), 0, NULL, HFILL }}, { &hf_x11_shape_Combine_source_kind, { "source_kind", "x11.shape.Combine.source_kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SK), 0, NULL, HFILL }}, { &hf_x11_shape_Combine_destination_window, { "destination_window", "x11.shape.Combine.destination_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Combine_x_offset, { "x_offset", "x11.shape.Combine.x_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Combine_y_offset, { "y_offset", "x11.shape.Combine.y_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Combine_source_window, { "source_window", "x11.shape.Combine.source_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Offset_destination_kind, { "destination_kind", "x11.shape.Offset.destination_kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SK), 0, NULL, HFILL }}, { &hf_x11_shape_Offset_destination_window, { "destination_window", "x11.shape.Offset.destination_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Offset_x_offset, { "x_offset", "x11.shape.Offset.x_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_Offset_y_offset, { "y_offset", "x11.shape.Offset.y_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_destination_window, { "destination_window", "x11.shape.QueryExtents.destination_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_bounding_shaped, { "bounding_shaped", "x11.shape.QueryExtents.reply.bounding_shaped", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_clip_shaped, { "clip_shaped", "x11.shape.QueryExtents.reply.clip_shaped", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_bounding_shape_extents_x, { "bounding_shape_extents_x", "x11.shape.QueryExtents.reply.bounding_shape_extents_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_bounding_shape_extents_y, { "bounding_shape_extents_y", "x11.shape.QueryExtents.reply.bounding_shape_extents_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_bounding_shape_extents_width, { "bounding_shape_extents_width", "x11.shape.QueryExtents.reply.bounding_shape_extents_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_bounding_shape_extents_height, { "bounding_shape_extents_height", "x11.shape.QueryExtents.reply.bounding_shape_extents_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_clip_shape_extents_x, { "clip_shape_extents_x", "x11.shape.QueryExtents.reply.clip_shape_extents_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_clip_shape_extents_y, { "clip_shape_extents_y", "x11.shape.QueryExtents.reply.clip_shape_extents_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_clip_shape_extents_width, { "clip_shape_extents_width", "x11.shape.QueryExtents.reply.clip_shape_extents_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_QueryExtents_reply_clip_shape_extents_height, { "clip_shape_extents_height", "x11.shape.QueryExtents.reply.clip_shape_extents_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_SelectInput_destination_window, { "destination_window", "x11.shape.SelectInput.destination_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_SelectInput_enable, { "enable", "x11.shape.SelectInput.enable", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_InputSelected_destination_window, { "destination_window", "x11.shape.InputSelected.destination_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_InputSelected_reply_enabled, { "enabled", "x11.shape.InputSelected.reply.enabled", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_GetRectangles_window, { "window", "x11.shape.GetRectangles.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_GetRectangles_source_kind, { "source_kind", "x11.shape.GetRectangles.source_kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SK), 0, NULL, HFILL }}, { &hf_x11_shape_GetRectangles_reply_ordering, { "ordering", "x11.shape.GetRectangles.reply.ordering", FT_UINT8, BASE_DEC, VALS(x11_enum_xproto_ClipOrdering), 0, NULL, HFILL }}, { &hf_x11_shape_GetRectangles_reply_rectangles_len, { "rectangles_len", "x11.shape.GetRectangles.reply.rectangles_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_GetRectangles_reply_rectangles, { "rectangles", "x11.shape.GetRectangles.reply.rectangles.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_GetRectangles_reply_rectangles_item, { "rectangles", "x11.shape.GetRectangles.reply.rectangles", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shape_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(shape_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_shm_QueryVersion_reply_shared_pixmaps, { "shared_pixmaps", "x11.shm.QueryVersion.reply.shared_pixmaps", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_QueryVersion_reply_major_version, { "major_version", "x11.shm.QueryVersion.reply.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_QueryVersion_reply_minor_version, { "minor_version", "x11.shm.QueryVersion.reply.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_QueryVersion_reply_uid, { "uid", "x11.shm.QueryVersion.reply.uid", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_QueryVersion_reply_gid, { "gid", "x11.shm.QueryVersion.reply.gid", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_QueryVersion_reply_pixmap_format, { "pixmap_format", "x11.shm.QueryVersion.reply.pixmap_format", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_Attach_shmseg, { "shmseg", "x11.shm.Attach.shmseg", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_Attach_shmid, { "shmid", "x11.shm.Attach.shmid", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_Attach_read_only, { "read_only", "x11.shm.Attach.read_only", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_Detach_shmseg, { "shmseg", "x11.shm.Detach.shmseg", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_drawable, { "drawable", "x11.shm.PutImage.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_gc, { "gc", "x11.shm.PutImage.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_total_width, { "total_width", "x11.shm.PutImage.total_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_total_height, { "total_height", "x11.shm.PutImage.total_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_src_x, { "src_x", "x11.shm.PutImage.src_x", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_src_y, { "src_y", "x11.shm.PutImage.src_y", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_src_width, { "src_width", "x11.shm.PutImage.src_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_src_height, { "src_height", "x11.shm.PutImage.src_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_dst_x, { "dst_x", "x11.shm.PutImage.dst_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_dst_y, { "dst_y", "x11.shm.PutImage.dst_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_depth, { "depth", "x11.shm.PutImage.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_format, { "format", "x11.shm.PutImage.format", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_send_event, { "send_event", "x11.shm.PutImage.send_event", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_shmseg, { "shmseg", "x11.shm.PutImage.shmseg", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_PutImage_offset, { "offset", "x11.shm.PutImage.offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_drawable, { "drawable", "x11.shm.GetImage.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_x, { "x", "x11.shm.GetImage.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_y, { "y", "x11.shm.GetImage.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_width, { "width", "x11.shm.GetImage.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_height, { "height", "x11.shm.GetImage.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_plane_mask, { "plane_mask", "x11.shm.GetImage.plane_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_format, { "format", "x11.shm.GetImage.format", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_shmseg, { "shmseg", "x11.shm.GetImage.shmseg", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_offset, { "offset", "x11.shm.GetImage.offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_reply_depth, { "depth", "x11.shm.GetImage.reply.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_reply_visual, { "visual", "x11.shm.GetImage.reply.visual", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_GetImage_reply_size, { "size", "x11.shm.GetImage.reply.size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreatePixmap_pid, { "pid", "x11.shm.CreatePixmap.pid", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreatePixmap_drawable, { "drawable", "x11.shm.CreatePixmap.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreatePixmap_width, { "width", "x11.shm.CreatePixmap.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreatePixmap_height, { "height", "x11.shm.CreatePixmap.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreatePixmap_depth, { "depth", "x11.shm.CreatePixmap.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreatePixmap_shmseg, { "shmseg", "x11.shm.CreatePixmap.shmseg", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreatePixmap_offset, { "offset", "x11.shm.CreatePixmap.offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_AttachFd_shmseg, { "shmseg", "x11.shm.AttachFd.shmseg", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_AttachFd_read_only, { "read_only", "x11.shm.AttachFd.read_only", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreateSegment_shmseg, { "shmseg", "x11.shm.CreateSegment.shmseg", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreateSegment_size, { "size", "x11.shm.CreateSegment.size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreateSegment_read_only, { "read_only", "x11.shm.CreateSegment.read_only", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_CreateSegment_reply_nfd, { "nfd", "x11.shm.CreateSegment.reply.nfd", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_shm_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(shm_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_sync_Initialize_desired_major_version, { "desired_major_version", "x11.sync.Initialize.desired_major_version", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_Initialize_desired_minor_version, { "desired_minor_version", "x11.sync.Initialize.desired_minor_version", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_Initialize_reply_major_version, { "major_version", "x11.sync.Initialize.reply.major_version", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_Initialize_reply_minor_version, { "minor_version", "x11.sync.Initialize.reply.minor_version", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ListSystemCounters_reply_counters_len, { "counters_len", "x11.sync.ListSystemCounters.reply.counters_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ListSystemCounters_reply_counters, { "counters", "x11.sync.ListSystemCounters.reply.counters", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateCounter_id, { "id", "x11.sync.CreateCounter.id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateCounter_initial_value, { "initial_value", "x11.sync.CreateCounter.initial_value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_DestroyCounter_counter, { "counter", "x11.sync.DestroyCounter.counter", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryCounter_counter, { "counter", "x11.sync.QueryCounter.counter", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryCounter_reply_counter_value, { "counter_value", "x11.sync.QueryCounter.reply.counter_value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_Await_wait_list, { "wait_list", "x11.sync.Await.wait_list.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_Await_wait_list_item, { "wait_list", "x11.sync.Await.wait_list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ChangeCounter_counter, { "counter", "x11.sync.ChangeCounter.counter", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ChangeCounter_amount, { "amount", "x11.sync.ChangeCounter.amount", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_SetCounter_counter, { "counter", "x11.sync.SetCounter.counter", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_SetCounter_value, { "value", "x11.sync.SetCounter.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_id, { "id", "x11.sync.CreateAlarm.id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_value_mask_mask_Counter, { "Counter", "x11.sync.CreateAlarm.value_mask.Counter", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_value_mask_mask_ValueType, { "ValueType", "x11.sync.CreateAlarm.value_mask.ValueType", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_value_mask_mask_Value, { "Value", "x11.sync.CreateAlarm.value_mask.Value", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_value_mask_mask_TestType, { "TestType", "x11.sync.CreateAlarm.value_mask.TestType", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_value_mask_mask_Delta, { "Delta", "x11.sync.CreateAlarm.value_mask.Delta", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_value_mask_mask_Events, { "Events", "x11.sync.CreateAlarm.value_mask.Events", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_value_mask, { "value_mask", "x11.sync.CreateAlarm.value_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_Counter_counter, { "counter", "x11.sync.CreateAlarm.Counter.counter", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_ValueType_valueType, { "valueType", "x11.sync.CreateAlarm.ValueType.valueType", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_sync_VALUETYPE), 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_Value_value, { "value", "x11.sync.CreateAlarm.Value.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_TestType_testType, { "testType", "x11.sync.CreateAlarm.TestType.testType", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_sync_TESTTYPE), 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_Delta_delta, { "delta", "x11.sync.CreateAlarm.Delta.delta", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateAlarm_Events_events, { "events", "x11.sync.CreateAlarm.Events.events", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_id, { "id", "x11.sync.ChangeAlarm.id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_value_mask_mask_Counter, { "Counter", "x11.sync.ChangeAlarm.value_mask.Counter", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_value_mask_mask_ValueType, { "ValueType", "x11.sync.ChangeAlarm.value_mask.ValueType", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_value_mask_mask_Value, { "Value", "x11.sync.ChangeAlarm.value_mask.Value", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_value_mask_mask_TestType, { "TestType", "x11.sync.ChangeAlarm.value_mask.TestType", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_value_mask_mask_Delta, { "Delta", "x11.sync.ChangeAlarm.value_mask.Delta", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_value_mask_mask_Events, { "Events", "x11.sync.ChangeAlarm.value_mask.Events", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_value_mask, { "value_mask", "x11.sync.ChangeAlarm.value_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_Counter_counter, { "counter", "x11.sync.ChangeAlarm.Counter.counter", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_ValueType_valueType, { "valueType", "x11.sync.ChangeAlarm.ValueType.valueType", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_sync_VALUETYPE), 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_Value_value, { "value", "x11.sync.ChangeAlarm.Value.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_TestType_testType, { "testType", "x11.sync.ChangeAlarm.TestType.testType", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_sync_TESTTYPE), 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_Delta_delta, { "delta", "x11.sync.ChangeAlarm.Delta.delta", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ChangeAlarm_Events_events, { "events", "x11.sync.ChangeAlarm.Events.events", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_DestroyAlarm_alarm, { "alarm", "x11.sync.DestroyAlarm.alarm", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryAlarm_alarm, { "alarm", "x11.sync.QueryAlarm.alarm", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryAlarm_reply_trigger, { "trigger", "x11.sync.QueryAlarm.reply.trigger", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryAlarm_reply_delta, { "delta", "x11.sync.QueryAlarm.reply.delta", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryAlarm_reply_events, { "events", "x11.sync.QueryAlarm.reply.events", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryAlarm_reply_state, { "state", "x11.sync.QueryAlarm.reply.state", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_sync_ALARMSTATE), 0, NULL, HFILL }}, { &hf_x11_sync_SetPriority_id, { "id", "x11.sync.SetPriority.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_SetPriority_priority, { "priority", "x11.sync.SetPriority.priority", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_GetPriority_id, { "id", "x11.sync.GetPriority.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_GetPriority_reply_priority, { "priority", "x11.sync.GetPriority.reply.priority", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateFence_drawable, { "drawable", "x11.sync.CreateFence.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateFence_fence, { "fence", "x11.sync.CreateFence.fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_CreateFence_initially_triggered, { "initially_triggered", "x11.sync.CreateFence.initially_triggered", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_TriggerFence_fence, { "fence", "x11.sync.TriggerFence.fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_ResetFence_fence, { "fence", "x11.sync.ResetFence.fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_DestroyFence_fence, { "fence", "x11.sync.DestroyFence.fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryFence_fence, { "fence", "x11.sync.QueryFence.fence", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_QueryFence_reply_triggered, { "triggered", "x11.sync.QueryFence.reply.triggered", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_AwaitFence_fence_list, { "fence_list", "x11.sync.AwaitFence.fence_list.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_AwaitFence_fence_list_item, { "fence_list", "x11.sync.AwaitFence.fence_list", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_AlarmNotify_kind, { "kind", "x11.sync.AlarmNotify.kind", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_AlarmNotify_alarm, { "alarm", "x11.sync.AlarmNotify.alarm", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_AlarmNotify_counter_value, { "counter_value", "x11.sync.AlarmNotify.counter_value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_AlarmNotify_alarm_value, { "alarm_value", "x11.sync.AlarmNotify.alarm_value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_AlarmNotify_timestamp, { "timestamp", "x11.sync.AlarmNotify.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_sync_AlarmNotify_state, { "state", "x11.sync.AlarmNotify.state", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_sync_ALARMSTATE), 0, NULL, HFILL }}, { &hf_x11_sync_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(sync_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_xc_misc_GetVersion_client_major_version, { "client_major_version", "x11.xc_misc.GetVersion.client_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetVersion_client_minor_version, { "client_minor_version", "x11.xc_misc.GetVersion.client_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetVersion_reply_server_major_version, { "server_major_version", "x11.xc_misc.GetVersion.reply.server_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetVersion_reply_server_minor_version, { "server_minor_version", "x11.xc_misc.GetVersion.reply.server_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetXIDRange_reply_start_id, { "start_id", "x11.xc_misc.GetXIDRange.reply.start_id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetXIDRange_reply_count, { "count", "x11.xc_misc.GetXIDRange.reply.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetXIDList_count, { "count", "x11.xc_misc.GetXIDList.count", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetXIDList_reply_ids_len, { "ids_len", "x11.xc_misc.GetXIDList.reply.ids_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetXIDList_reply_ids, { "ids", "x11.xc_misc.GetXIDList.reply.ids.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_GetXIDList_reply_ids_item, { "ids", "x11.xc_misc.GetXIDList.reply.ids", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xc_misc_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xc_misc_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_xevie_QueryVersion_client_major_version, { "client_major_version", "x11.xevie.QueryVersion.client_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_QueryVersion_client_minor_version, { "client_minor_version", "x11.xevie.QueryVersion.client_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_QueryVersion_reply_server_major_version, { "server_major_version", "x11.xevie.QueryVersion.reply.server_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_QueryVersion_reply_server_minor_version, { "server_minor_version", "x11.xevie.QueryVersion.reply.server_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_Start_screen, { "screen", "x11.xevie.Start.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_End_cmap, { "cmap", "x11.xevie.End.cmap", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xevie_Event, { "xevie_Event", "x11.struct.xevie_Event", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_Send_event, { "event", "x11.xevie.Send.event", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_Send_data_type, { "data_type", "x11.xevie.Send.data_type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_SelectInput_event_mask, { "event_mask", "x11.xevie.SelectInput.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xevie_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xevie_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xf86dri_DrmClipRect, { "xf86dri_DrmClipRect", "x11.struct.xf86dri_DrmClipRect", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86dri_DrmClipRect_x1, { "x1", "x11.struct.xf86dri_DrmClipRect.x1", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86dri_DrmClipRect_y1, { "y1", "x11.struct.xf86dri_DrmClipRect.y1", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86dri_DrmClipRect_x2, { "x2", "x11.struct.xf86dri_DrmClipRect.x2", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86dri_DrmClipRect_x3, { "x3", "x11.struct.xf86dri_DrmClipRect.x3", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_QueryVersion_reply_dri_major_version, { "dri_major_version", "x11.xf86dri.QueryVersion.reply.dri_major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_QueryVersion_reply_dri_minor_version, { "dri_minor_version", "x11.xf86dri.QueryVersion.reply.dri_minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_QueryVersion_reply_dri_minor_patch, { "dri_minor_patch", "x11.xf86dri.QueryVersion.reply.dri_minor_patch", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_QueryDirectRenderingCapable_screen, { "screen", "x11.xf86dri.QueryDirectRenderingCapable.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_QueryDirectRenderingCapable_reply_is_capable, { "is_capable", "x11.xf86dri.QueryDirectRenderingCapable.reply.is_capable", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_OpenConnection_screen, { "screen", "x11.xf86dri.OpenConnection.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_OpenConnection_reply_sarea_handle_low, { "sarea_handle_low", "x11.xf86dri.OpenConnection.reply.sarea_handle_low", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_OpenConnection_reply_sarea_handle_high, { "sarea_handle_high", "x11.xf86dri.OpenConnection.reply.sarea_handle_high", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_OpenConnection_reply_bus_id_len, { "bus_id_len", "x11.xf86dri.OpenConnection.reply.bus_id_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_OpenConnection_reply_bus_id, { "bus_id", "x11.xf86dri.OpenConnection.reply.bus_id", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_CloseConnection_screen, { "screen", "x11.xf86dri.CloseConnection.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetClientDriverName_screen, { "screen", "x11.xf86dri.GetClientDriverName.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetClientDriverName_reply_client_driver_major_version, { "client_driver_major_version", "x11.xf86dri.GetClientDriverName.reply.client_driver_major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetClientDriverName_reply_client_driver_minor_version, { "client_driver_minor_version", "x11.xf86dri.GetClientDriverName.reply.client_driver_minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetClientDriverName_reply_client_driver_patch_version, { "client_driver_patch_version", "x11.xf86dri.GetClientDriverName.reply.client_driver_patch_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetClientDriverName_reply_client_driver_name_len, { "client_driver_name_len", "x11.xf86dri.GetClientDriverName.reply.client_driver_name_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetClientDriverName_reply_client_driver_name, { "client_driver_name", "x11.xf86dri.GetClientDriverName.reply.client_driver_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_CreateContext_screen, { "screen", "x11.xf86dri.CreateContext.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_CreateContext_visual, { "visual", "x11.xf86dri.CreateContext.visual", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_CreateContext_context, { "context", "x11.xf86dri.CreateContext.context", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_CreateContext_reply_hw_context, { "hw_context", "x11.xf86dri.CreateContext.reply.hw_context", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_DestroyContext_screen, { "screen", "x11.xf86dri.DestroyContext.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_DestroyContext_context, { "context", "x11.xf86dri.DestroyContext.context", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_CreateDrawable_screen, { "screen", "x11.xf86dri.CreateDrawable.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_CreateDrawable_drawable, { "drawable", "x11.xf86dri.CreateDrawable.drawable", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_CreateDrawable_reply_hw_drawable_handle, { "hw_drawable_handle", "x11.xf86dri.CreateDrawable.reply.hw_drawable_handle", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_DestroyDrawable_screen, { "screen", "x11.xf86dri.DestroyDrawable.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_DestroyDrawable_drawable, { "drawable", "x11.xf86dri.DestroyDrawable.drawable", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_screen, { "screen", "x11.xf86dri.GetDrawableInfo.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_drawable, { "drawable", "x11.xf86dri.GetDrawableInfo.drawable", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_drawable_table_index, { "drawable_table_index", "x11.xf86dri.GetDrawableInfo.reply.drawable_table_index", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_drawable_table_stamp, { "drawable_table_stamp", "x11.xf86dri.GetDrawableInfo.reply.drawable_table_stamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_drawable_origin_X, { "drawable_origin_X", "x11.xf86dri.GetDrawableInfo.reply.drawable_origin_X", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_drawable_origin_Y, { "drawable_origin_Y", "x11.xf86dri.GetDrawableInfo.reply.drawable_origin_Y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_drawable_size_W, { "drawable_size_W", "x11.xf86dri.GetDrawableInfo.reply.drawable_size_W", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_drawable_size_H, { "drawable_size_H", "x11.xf86dri.GetDrawableInfo.reply.drawable_size_H", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_num_clip_rects, { "num_clip_rects", "x11.xf86dri.GetDrawableInfo.reply.num_clip_rects", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_back_x, { "back_x", "x11.xf86dri.GetDrawableInfo.reply.back_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_back_y, { "back_y", "x11.xf86dri.GetDrawableInfo.reply.back_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_num_back_clip_rects, { "num_back_clip_rects", "x11.xf86dri.GetDrawableInfo.reply.num_back_clip_rects", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_clip_rects, { "clip_rects", "x11.xf86dri.GetDrawableInfo.reply.clip_rects.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_clip_rects_item, { "clip_rects", "x11.xf86dri.GetDrawableInfo.reply.clip_rects", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_back_clip_rects, { "back_clip_rects", "x11.xf86dri.GetDrawableInfo.reply.back_clip_rects.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDrawableInfo_reply_back_clip_rects_item, { "back_clip_rects", "x11.xf86dri.GetDrawableInfo.reply.back_clip_rects", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_screen, { "screen", "x11.xf86dri.GetDeviceInfo.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_handle_low, { "framebuffer_handle_low", "x11.xf86dri.GetDeviceInfo.reply.framebuffer_handle_low", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_handle_high, { "framebuffer_handle_high", "x11.xf86dri.GetDeviceInfo.reply.framebuffer_handle_high", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_origin_offset, { "framebuffer_origin_offset", "x11.xf86dri.GetDeviceInfo.reply.framebuffer_origin_offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_size, { "framebuffer_size", "x11.xf86dri.GetDeviceInfo.reply.framebuffer_size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_reply_framebuffer_stride, { "framebuffer_stride", "x11.xf86dri.GetDeviceInfo.reply.framebuffer_stride", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_reply_device_private_size, { "device_private_size", "x11.xf86dri.GetDeviceInfo.reply.device_private_size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_reply_device_private, { "device_private", "x11.xf86dri.GetDeviceInfo.reply.device_private.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_GetDeviceInfo_reply_device_private_item, { "device_private", "x11.xf86dri.GetDeviceInfo.reply.device_private", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_AuthConnection_screen, { "screen", "x11.xf86dri.AuthConnection.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_AuthConnection_magic, { "magic", "x11.xf86dri.AuthConnection.magic", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_AuthConnection_reply_authenticated, { "authenticated", "x11.xf86dri.AuthConnection.reply.authenticated", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86dri_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xf86dri_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo, { "xf86vidmode_ModeInfo", "x11.struct.xf86vidmode_ModeInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_dotclock, { "dotclock", "x11.struct.xf86vidmode_ModeInfo.dotclock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_hdisplay, { "hdisplay", "x11.struct.xf86vidmode_ModeInfo.hdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_hsyncstart, { "hsyncstart", "x11.struct.xf86vidmode_ModeInfo.hsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_hsyncend, { "hsyncend", "x11.struct.xf86vidmode_ModeInfo.hsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_htotal, { "htotal", "x11.struct.xf86vidmode_ModeInfo.htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_hskew, { "hskew", "x11.struct.xf86vidmode_ModeInfo.hskew", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_vdisplay, { "vdisplay", "x11.struct.xf86vidmode_ModeInfo.vdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_vsyncstart, { "vsyncstart", "x11.struct.xf86vidmode_ModeInfo.vsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_vsyncend, { "vsyncend", "x11.struct.xf86vidmode_ModeInfo.vsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_vtotal, { "vtotal", "x11.struct.xf86vidmode_ModeInfo.vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_HSync, { "Positive_HSync", "x11.struct.xf86vidmode_ModeInfo.flags.Positive_HSync", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_HSync, { "Negative_HSync", "x11.struct.xf86vidmode_ModeInfo.flags.Negative_HSync", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_VSync, { "Positive_VSync", "x11.struct.xf86vidmode_ModeInfo.flags.Positive_VSync", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_VSync, { "Negative_VSync", "x11.struct.xf86vidmode_ModeInfo.flags.Negative_VSync", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Interlace, { "Interlace", "x11.struct.xf86vidmode_ModeInfo.flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Composite_Sync, { "Composite_Sync", "x11.struct.xf86vidmode_ModeInfo.flags.Composite_Sync", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Positive_CSync, { "Positive_CSync", "x11.struct.xf86vidmode_ModeInfo.flags.Positive_CSync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Negative_CSync, { "Negative_CSync", "x11.struct.xf86vidmode_ModeInfo.flags.Negative_CSync", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_HSkew, { "HSkew", "x11.struct.xf86vidmode_ModeInfo.flags.HSkew", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Broadcast, { "Broadcast", "x11.struct.xf86vidmode_ModeInfo.flags.Broadcast", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Pixmux, { "Pixmux", "x11.struct.xf86vidmode_ModeInfo.flags.Pixmux", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Double_Clock, { "Double_Clock", "x11.struct.xf86vidmode_ModeInfo.flags.Double_Clock", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags_mask_Half_Clock, { "Half_Clock", "x11.struct.xf86vidmode_ModeInfo.flags.Half_Clock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_flags, { "flags", "x11.struct.xf86vidmode_ModeInfo.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xf86vidmode_ModeInfo_privsize, { "privsize", "x11.struct.xf86vidmode_ModeInfo.privsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_QueryVersion_reply_major_version, { "major_version", "x11.xf86vidmode.QueryVersion.reply.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_QueryVersion_reply_minor_version, { "minor_version", "x11.xf86vidmode.QueryVersion.reply.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_screen, { "screen", "x11.xf86vidmode.GetModeLine.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_dotclock, { "dotclock", "x11.xf86vidmode.GetModeLine.reply.dotclock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_hdisplay, { "hdisplay", "x11.xf86vidmode.GetModeLine.reply.hdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_hsyncstart, { "hsyncstart", "x11.xf86vidmode.GetModeLine.reply.hsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_hsyncend, { "hsyncend", "x11.xf86vidmode.GetModeLine.reply.hsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_htotal, { "htotal", "x11.xf86vidmode.GetModeLine.reply.htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_hskew, { "hskew", "x11.xf86vidmode.GetModeLine.reply.hskew", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_vdisplay, { "vdisplay", "x11.xf86vidmode.GetModeLine.reply.vdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_vsyncstart, { "vsyncstart", "x11.xf86vidmode.GetModeLine.reply.vsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_vsyncend, { "vsyncend", "x11.xf86vidmode.GetModeLine.reply.vsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_vtotal, { "vtotal", "x11.xf86vidmode.GetModeLine.reply.vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_HSync, { "Positive_HSync", "x11.xf86vidmode.GetModeLine.reply.flags.Positive_HSync", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_HSync, { "Negative_HSync", "x11.xf86vidmode.GetModeLine.reply.flags.Negative_HSync", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_VSync, { "Positive_VSync", "x11.xf86vidmode.GetModeLine.reply.flags.Positive_VSync", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_VSync, { "Negative_VSync", "x11.xf86vidmode.GetModeLine.reply.flags.Negative_VSync", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Interlace, { "Interlace", "x11.xf86vidmode.GetModeLine.reply.flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Composite_Sync, { "Composite_Sync", "x11.xf86vidmode.GetModeLine.reply.flags.Composite_Sync", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Positive_CSync, { "Positive_CSync", "x11.xf86vidmode.GetModeLine.reply.flags.Positive_CSync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Negative_CSync, { "Negative_CSync", "x11.xf86vidmode.GetModeLine.reply.flags.Negative_CSync", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_HSkew, { "HSkew", "x11.xf86vidmode.GetModeLine.reply.flags.HSkew", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Broadcast, { "Broadcast", "x11.xf86vidmode.GetModeLine.reply.flags.Broadcast", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Pixmux, { "Pixmux", "x11.xf86vidmode.GetModeLine.reply.flags.Pixmux", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Double_Clock, { "Double_Clock", "x11.xf86vidmode.GetModeLine.reply.flags.Double_Clock", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags_mask_Half_Clock, { "Half_Clock", "x11.xf86vidmode.GetModeLine.reply.flags.Half_Clock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_flags, { "flags", "x11.xf86vidmode.GetModeLine.reply.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_privsize, { "privsize", "x11.xf86vidmode.GetModeLine.reply.privsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetModeLine_reply_private, { "private", "x11.xf86vidmode.GetModeLine.reply.private", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_screen, { "screen", "x11.xf86vidmode.ModModeLine.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_hdisplay, { "hdisplay", "x11.xf86vidmode.ModModeLine.hdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_hsyncstart, { "hsyncstart", "x11.xf86vidmode.ModModeLine.hsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_hsyncend, { "hsyncend", "x11.xf86vidmode.ModModeLine.hsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_htotal, { "htotal", "x11.xf86vidmode.ModModeLine.htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_hskew, { "hskew", "x11.xf86vidmode.ModModeLine.hskew", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_vdisplay, { "vdisplay", "x11.xf86vidmode.ModModeLine.vdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_vsyncstart, { "vsyncstart", "x11.xf86vidmode.ModModeLine.vsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_vsyncend, { "vsyncend", "x11.xf86vidmode.ModModeLine.vsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_vtotal, { "vtotal", "x11.xf86vidmode.ModModeLine.vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_HSync, { "Positive_HSync", "x11.xf86vidmode.ModModeLine.flags.Positive_HSync", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_HSync, { "Negative_HSync", "x11.xf86vidmode.ModModeLine.flags.Negative_HSync", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_VSync, { "Positive_VSync", "x11.xf86vidmode.ModModeLine.flags.Positive_VSync", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_VSync, { "Negative_VSync", "x11.xf86vidmode.ModModeLine.flags.Negative_VSync", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Interlace, { "Interlace", "x11.xf86vidmode.ModModeLine.flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Composite_Sync, { "Composite_Sync", "x11.xf86vidmode.ModModeLine.flags.Composite_Sync", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Positive_CSync, { "Positive_CSync", "x11.xf86vidmode.ModModeLine.flags.Positive_CSync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Negative_CSync, { "Negative_CSync", "x11.xf86vidmode.ModModeLine.flags.Negative_CSync", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_HSkew, { "HSkew", "x11.xf86vidmode.ModModeLine.flags.HSkew", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Broadcast, { "Broadcast", "x11.xf86vidmode.ModModeLine.flags.Broadcast", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Pixmux, { "Pixmux", "x11.xf86vidmode.ModModeLine.flags.Pixmux", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Double_Clock, { "Double_Clock", "x11.xf86vidmode.ModModeLine.flags.Double_Clock", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags_mask_Half_Clock, { "Half_Clock", "x11.xf86vidmode.ModModeLine.flags.Half_Clock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_flags, { "flags", "x11.xf86vidmode.ModModeLine.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_privsize, { "privsize", "x11.xf86vidmode.ModModeLine.privsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ModModeLine_private, { "private", "x11.xf86vidmode.ModModeLine.private", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchMode_screen, { "screen", "x11.xf86vidmode.SwitchMode.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchMode_zoom, { "zoom", "x11.xf86vidmode.SwitchMode.zoom", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_screen, { "screen", "x11.xf86vidmode.GetMonitor.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_vendor_length, { "vendor_length", "x11.xf86vidmode.GetMonitor.reply.vendor_length", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_model_length, { "model_length", "x11.xf86vidmode.GetMonitor.reply.model_length", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_num_hsync, { "num_hsync", "x11.xf86vidmode.GetMonitor.reply.num_hsync", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_num_vsync, { "num_vsync", "x11.xf86vidmode.GetMonitor.reply.num_vsync", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_hsync, { "hsync", "x11.xf86vidmode.GetMonitor.reply.hsync.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_hsync_item, { "hsync", "x11.xf86vidmode.GetMonitor.reply.hsync", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_vsync, { "vsync", "x11.xf86vidmode.GetMonitor.reply.vsync.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_vsync_item, { "vsync", "x11.xf86vidmode.GetMonitor.reply.vsync", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_vendor, { "vendor", "x11.xf86vidmode.GetMonitor.reply.vendor", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_alignment_pad, { "alignment_pad", "x11.xf86vidmode.GetMonitor.reply.alignment_pad", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetMonitor_reply_model, { "model", "x11.xf86vidmode.GetMonitor.reply.model", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_LockModeSwitch_screen, { "screen", "x11.xf86vidmode.LockModeSwitch.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_LockModeSwitch_lock, { "lock", "x11.xf86vidmode.LockModeSwitch.lock", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetAllModeLines_screen, { "screen", "x11.xf86vidmode.GetAllModeLines.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetAllModeLines_reply_modecount, { "modecount", "x11.xf86vidmode.GetAllModeLines.reply.modecount", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetAllModeLines_reply_modeinfo, { "modeinfo", "x11.xf86vidmode.GetAllModeLines.reply.modeinfo.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetAllModeLines_reply_modeinfo_item, { "modeinfo", "x11.xf86vidmode.GetAllModeLines.reply.modeinfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_screen, { "screen", "x11.xf86vidmode.AddModeLine.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_dotclock, { "dotclock", "x11.xf86vidmode.AddModeLine.dotclock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_hdisplay, { "hdisplay", "x11.xf86vidmode.AddModeLine.hdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_hsyncstart, { "hsyncstart", "x11.xf86vidmode.AddModeLine.hsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_hsyncend, { "hsyncend", "x11.xf86vidmode.AddModeLine.hsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_htotal, { "htotal", "x11.xf86vidmode.AddModeLine.htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_hskew, { "hskew", "x11.xf86vidmode.AddModeLine.hskew", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_vdisplay, { "vdisplay", "x11.xf86vidmode.AddModeLine.vdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_vsyncstart, { "vsyncstart", "x11.xf86vidmode.AddModeLine.vsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_vsyncend, { "vsyncend", "x11.xf86vidmode.AddModeLine.vsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_vtotal, { "vtotal", "x11.xf86vidmode.AddModeLine.vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_HSync, { "Positive_HSync", "x11.xf86vidmode.AddModeLine.flags.Positive_HSync", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_HSync, { "Negative_HSync", "x11.xf86vidmode.AddModeLine.flags.Negative_HSync", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_VSync, { "Positive_VSync", "x11.xf86vidmode.AddModeLine.flags.Positive_VSync", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_VSync, { "Negative_VSync", "x11.xf86vidmode.AddModeLine.flags.Negative_VSync", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Interlace, { "Interlace", "x11.xf86vidmode.AddModeLine.flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Composite_Sync, { "Composite_Sync", "x11.xf86vidmode.AddModeLine.flags.Composite_Sync", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Positive_CSync, { "Positive_CSync", "x11.xf86vidmode.AddModeLine.flags.Positive_CSync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Negative_CSync, { "Negative_CSync", "x11.xf86vidmode.AddModeLine.flags.Negative_CSync", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_HSkew, { "HSkew", "x11.xf86vidmode.AddModeLine.flags.HSkew", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Broadcast, { "Broadcast", "x11.xf86vidmode.AddModeLine.flags.Broadcast", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Pixmux, { "Pixmux", "x11.xf86vidmode.AddModeLine.flags.Pixmux", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Double_Clock, { "Double_Clock", "x11.xf86vidmode.AddModeLine.flags.Double_Clock", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags_mask_Half_Clock, { "Half_Clock", "x11.xf86vidmode.AddModeLine.flags.Half_Clock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_flags, { "flags", "x11.xf86vidmode.AddModeLine.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_privsize, { "privsize", "x11.xf86vidmode.AddModeLine.privsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_dotclock, { "after_dotclock", "x11.xf86vidmode.AddModeLine.after_dotclock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_hdisplay, { "after_hdisplay", "x11.xf86vidmode.AddModeLine.after_hdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_hsyncstart, { "after_hsyncstart", "x11.xf86vidmode.AddModeLine.after_hsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_hsyncend, { "after_hsyncend", "x11.xf86vidmode.AddModeLine.after_hsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_htotal, { "after_htotal", "x11.xf86vidmode.AddModeLine.after_htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_hskew, { "after_hskew", "x11.xf86vidmode.AddModeLine.after_hskew", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_vdisplay, { "after_vdisplay", "x11.xf86vidmode.AddModeLine.after_vdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_vsyncstart, { "after_vsyncstart", "x11.xf86vidmode.AddModeLine.after_vsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_vsyncend, { "after_vsyncend", "x11.xf86vidmode.AddModeLine.after_vsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_vtotal, { "after_vtotal", "x11.xf86vidmode.AddModeLine.after_vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_HSync, { "Positive_HSync", "x11.xf86vidmode.AddModeLine.after_flags.Positive_HSync", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_HSync, { "Negative_HSync", "x11.xf86vidmode.AddModeLine.after_flags.Negative_HSync", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_VSync, { "Positive_VSync", "x11.xf86vidmode.AddModeLine.after_flags.Positive_VSync", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_VSync, { "Negative_VSync", "x11.xf86vidmode.AddModeLine.after_flags.Negative_VSync", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Interlace, { "Interlace", "x11.xf86vidmode.AddModeLine.after_flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Composite_Sync, { "Composite_Sync", "x11.xf86vidmode.AddModeLine.after_flags.Composite_Sync", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Positive_CSync, { "Positive_CSync", "x11.xf86vidmode.AddModeLine.after_flags.Positive_CSync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Negative_CSync, { "Negative_CSync", "x11.xf86vidmode.AddModeLine.after_flags.Negative_CSync", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_HSkew, { "HSkew", "x11.xf86vidmode.AddModeLine.after_flags.HSkew", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Broadcast, { "Broadcast", "x11.xf86vidmode.AddModeLine.after_flags.Broadcast", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Pixmux, { "Pixmux", "x11.xf86vidmode.AddModeLine.after_flags.Pixmux", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Double_Clock, { "Double_Clock", "x11.xf86vidmode.AddModeLine.after_flags.Double_Clock", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags_mask_Half_Clock, { "Half_Clock", "x11.xf86vidmode.AddModeLine.after_flags.Half_Clock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_after_flags, { "after_flags", "x11.xf86vidmode.AddModeLine.after_flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_AddModeLine_private, { "private", "x11.xf86vidmode.AddModeLine.private", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_screen, { "screen", "x11.xf86vidmode.DeleteModeLine.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_dotclock, { "dotclock", "x11.xf86vidmode.DeleteModeLine.dotclock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_hdisplay, { "hdisplay", "x11.xf86vidmode.DeleteModeLine.hdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_hsyncstart, { "hsyncstart", "x11.xf86vidmode.DeleteModeLine.hsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_hsyncend, { "hsyncend", "x11.xf86vidmode.DeleteModeLine.hsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_htotal, { "htotal", "x11.xf86vidmode.DeleteModeLine.htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_hskew, { "hskew", "x11.xf86vidmode.DeleteModeLine.hskew", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_vdisplay, { "vdisplay", "x11.xf86vidmode.DeleteModeLine.vdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_vsyncstart, { "vsyncstart", "x11.xf86vidmode.DeleteModeLine.vsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_vsyncend, { "vsyncend", "x11.xf86vidmode.DeleteModeLine.vsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_vtotal, { "vtotal", "x11.xf86vidmode.DeleteModeLine.vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_HSync, { "Positive_HSync", "x11.xf86vidmode.DeleteModeLine.flags.Positive_HSync", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_HSync, { "Negative_HSync", "x11.xf86vidmode.DeleteModeLine.flags.Negative_HSync", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_VSync, { "Positive_VSync", "x11.xf86vidmode.DeleteModeLine.flags.Positive_VSync", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_VSync, { "Negative_VSync", "x11.xf86vidmode.DeleteModeLine.flags.Negative_VSync", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Interlace, { "Interlace", "x11.xf86vidmode.DeleteModeLine.flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Composite_Sync, { "Composite_Sync", "x11.xf86vidmode.DeleteModeLine.flags.Composite_Sync", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Positive_CSync, { "Positive_CSync", "x11.xf86vidmode.DeleteModeLine.flags.Positive_CSync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Negative_CSync, { "Negative_CSync", "x11.xf86vidmode.DeleteModeLine.flags.Negative_CSync", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_HSkew, { "HSkew", "x11.xf86vidmode.DeleteModeLine.flags.HSkew", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Broadcast, { "Broadcast", "x11.xf86vidmode.DeleteModeLine.flags.Broadcast", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Pixmux, { "Pixmux", "x11.xf86vidmode.DeleteModeLine.flags.Pixmux", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Double_Clock, { "Double_Clock", "x11.xf86vidmode.DeleteModeLine.flags.Double_Clock", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags_mask_Half_Clock, { "Half_Clock", "x11.xf86vidmode.DeleteModeLine.flags.Half_Clock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_flags, { "flags", "x11.xf86vidmode.DeleteModeLine.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_privsize, { "privsize", "x11.xf86vidmode.DeleteModeLine.privsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_DeleteModeLine_private, { "private", "x11.xf86vidmode.DeleteModeLine.private", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_screen, { "screen", "x11.xf86vidmode.ValidateModeLine.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_dotclock, { "dotclock", "x11.xf86vidmode.ValidateModeLine.dotclock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_hdisplay, { "hdisplay", "x11.xf86vidmode.ValidateModeLine.hdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_hsyncstart, { "hsyncstart", "x11.xf86vidmode.ValidateModeLine.hsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_hsyncend, { "hsyncend", "x11.xf86vidmode.ValidateModeLine.hsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_htotal, { "htotal", "x11.xf86vidmode.ValidateModeLine.htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_hskew, { "hskew", "x11.xf86vidmode.ValidateModeLine.hskew", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_vdisplay, { "vdisplay", "x11.xf86vidmode.ValidateModeLine.vdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_vsyncstart, { "vsyncstart", "x11.xf86vidmode.ValidateModeLine.vsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_vsyncend, { "vsyncend", "x11.xf86vidmode.ValidateModeLine.vsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_vtotal, { "vtotal", "x11.xf86vidmode.ValidateModeLine.vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_HSync, { "Positive_HSync", "x11.xf86vidmode.ValidateModeLine.flags.Positive_HSync", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_HSync, { "Negative_HSync", "x11.xf86vidmode.ValidateModeLine.flags.Negative_HSync", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_VSync, { "Positive_VSync", "x11.xf86vidmode.ValidateModeLine.flags.Positive_VSync", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_VSync, { "Negative_VSync", "x11.xf86vidmode.ValidateModeLine.flags.Negative_VSync", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Interlace, { "Interlace", "x11.xf86vidmode.ValidateModeLine.flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Composite_Sync, { "Composite_Sync", "x11.xf86vidmode.ValidateModeLine.flags.Composite_Sync", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Positive_CSync, { "Positive_CSync", "x11.xf86vidmode.ValidateModeLine.flags.Positive_CSync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Negative_CSync, { "Negative_CSync", "x11.xf86vidmode.ValidateModeLine.flags.Negative_CSync", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_HSkew, { "HSkew", "x11.xf86vidmode.ValidateModeLine.flags.HSkew", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Broadcast, { "Broadcast", "x11.xf86vidmode.ValidateModeLine.flags.Broadcast", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Pixmux, { "Pixmux", "x11.xf86vidmode.ValidateModeLine.flags.Pixmux", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Double_Clock, { "Double_Clock", "x11.xf86vidmode.ValidateModeLine.flags.Double_Clock", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags_mask_Half_Clock, { "Half_Clock", "x11.xf86vidmode.ValidateModeLine.flags.Half_Clock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_flags, { "flags", "x11.xf86vidmode.ValidateModeLine.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_privsize, { "privsize", "x11.xf86vidmode.ValidateModeLine.privsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_private, { "private", "x11.xf86vidmode.ValidateModeLine.private", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_ValidateModeLine_reply_status, { "status", "x11.xf86vidmode.ValidateModeLine.reply.status", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_screen, { "screen", "x11.xf86vidmode.SwitchToMode.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_dotclock, { "dotclock", "x11.xf86vidmode.SwitchToMode.dotclock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_hdisplay, { "hdisplay", "x11.xf86vidmode.SwitchToMode.hdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_hsyncstart, { "hsyncstart", "x11.xf86vidmode.SwitchToMode.hsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_hsyncend, { "hsyncend", "x11.xf86vidmode.SwitchToMode.hsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_htotal, { "htotal", "x11.xf86vidmode.SwitchToMode.htotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_hskew, { "hskew", "x11.xf86vidmode.SwitchToMode.hskew", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_vdisplay, { "vdisplay", "x11.xf86vidmode.SwitchToMode.vdisplay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_vsyncstart, { "vsyncstart", "x11.xf86vidmode.SwitchToMode.vsyncstart", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_vsyncend, { "vsyncend", "x11.xf86vidmode.SwitchToMode.vsyncend", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_vtotal, { "vtotal", "x11.xf86vidmode.SwitchToMode.vtotal", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_HSync, { "Positive_HSync", "x11.xf86vidmode.SwitchToMode.flags.Positive_HSync", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_HSync, { "Negative_HSync", "x11.xf86vidmode.SwitchToMode.flags.Negative_HSync", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_VSync, { "Positive_VSync", "x11.xf86vidmode.SwitchToMode.flags.Positive_VSync", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_VSync, { "Negative_VSync", "x11.xf86vidmode.SwitchToMode.flags.Negative_VSync", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Interlace, { "Interlace", "x11.xf86vidmode.SwitchToMode.flags.Interlace", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Composite_Sync, { "Composite_Sync", "x11.xf86vidmode.SwitchToMode.flags.Composite_Sync", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Positive_CSync, { "Positive_CSync", "x11.xf86vidmode.SwitchToMode.flags.Positive_CSync", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Negative_CSync, { "Negative_CSync", "x11.xf86vidmode.SwitchToMode.flags.Negative_CSync", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_HSkew, { "HSkew", "x11.xf86vidmode.SwitchToMode.flags.HSkew", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Broadcast, { "Broadcast", "x11.xf86vidmode.SwitchToMode.flags.Broadcast", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Pixmux, { "Pixmux", "x11.xf86vidmode.SwitchToMode.flags.Pixmux", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Double_Clock, { "Double_Clock", "x11.xf86vidmode.SwitchToMode.flags.Double_Clock", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags_mask_Half_Clock, { "Half_Clock", "x11.xf86vidmode.SwitchToMode.flags.Half_Clock", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_flags, { "flags", "x11.xf86vidmode.SwitchToMode.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_privsize, { "privsize", "x11.xf86vidmode.SwitchToMode.privsize", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SwitchToMode_private, { "private", "x11.xf86vidmode.SwitchToMode.private", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetViewPort_screen, { "screen", "x11.xf86vidmode.GetViewPort.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetViewPort_reply_x, { "x", "x11.xf86vidmode.GetViewPort.reply.x", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetViewPort_reply_y, { "y", "x11.xf86vidmode.GetViewPort.reply.y", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetViewPort_screen, { "screen", "x11.xf86vidmode.SetViewPort.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetViewPort_x, { "x", "x11.xf86vidmode.SetViewPort.x", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetViewPort_y, { "y", "x11.xf86vidmode.SetViewPort.y", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetDotClocks_screen, { "screen", "x11.xf86vidmode.GetDotClocks.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetDotClocks_reply_flags_mask_Programable, { "Programable", "x11.xf86vidmode.GetDotClocks.reply.flags.Programable", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetDotClocks_reply_flags, { "flags", "x11.xf86vidmode.GetDotClocks.reply.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetDotClocks_reply_clocks, { "clocks", "x11.xf86vidmode.GetDotClocks.reply.clocks", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetDotClocks_reply_maxclocks, { "maxclocks", "x11.xf86vidmode.GetDotClocks.reply.maxclocks", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetDotClocks_reply_clock, { "clock", "x11.xf86vidmode.GetDotClocks.reply.clock.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetDotClocks_reply_clock_item, { "clock", "x11.xf86vidmode.GetDotClocks.reply.clock", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetClientVersion_major, { "major", "x11.xf86vidmode.SetClientVersion.major", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetClientVersion_minor, { "minor", "x11.xf86vidmode.SetClientVersion.minor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGamma_screen, { "screen", "x11.xf86vidmode.SetGamma.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGamma_red, { "red", "x11.xf86vidmode.SetGamma.red", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGamma_green, { "green", "x11.xf86vidmode.SetGamma.green", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGamma_blue, { "blue", "x11.xf86vidmode.SetGamma.blue", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGamma_screen, { "screen", "x11.xf86vidmode.GetGamma.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGamma_reply_red, { "red", "x11.xf86vidmode.GetGamma.reply.red", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGamma_reply_green, { "green", "x11.xf86vidmode.GetGamma.reply.green", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGamma_reply_blue, { "blue", "x11.xf86vidmode.GetGamma.reply.blue", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_screen, { "screen", "x11.xf86vidmode.GetGammaRamp.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_size, { "size", "x11.xf86vidmode.GetGammaRamp.size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_reply_size, { "size", "x11.xf86vidmode.GetGammaRamp.reply.size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_reply_red, { "red", "x11.xf86vidmode.GetGammaRamp.reply.red.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_reply_red_item, { "red", "x11.xf86vidmode.GetGammaRamp.reply.red", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_reply_green, { "green", "x11.xf86vidmode.GetGammaRamp.reply.green.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_reply_green_item, { "green", "x11.xf86vidmode.GetGammaRamp.reply.green", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_reply_blue, { "blue", "x11.xf86vidmode.GetGammaRamp.reply.blue.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRamp_reply_blue_item, { "blue", "x11.xf86vidmode.GetGammaRamp.reply.blue", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGammaRamp_screen, { "screen", "x11.xf86vidmode.SetGammaRamp.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGammaRamp_size, { "size", "x11.xf86vidmode.SetGammaRamp.size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGammaRamp_red, { "red", "x11.xf86vidmode.SetGammaRamp.red.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGammaRamp_red_item, { "red", "x11.xf86vidmode.SetGammaRamp.red", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGammaRamp_green, { "green", "x11.xf86vidmode.SetGammaRamp.green.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGammaRamp_green_item, { "green", "x11.xf86vidmode.SetGammaRamp.green", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGammaRamp_blue, { "blue", "x11.xf86vidmode.SetGammaRamp.blue.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_SetGammaRamp_blue_item, { "blue", "x11.xf86vidmode.SetGammaRamp.blue", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRampSize_screen, { "screen", "x11.xf86vidmode.GetGammaRampSize.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetGammaRampSize_reply_size, { "size", "x11.xf86vidmode.GetGammaRampSize.reply.size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetPermissions_screen, { "screen", "x11.xf86vidmode.GetPermissions.screen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetPermissions_reply_permissions_mask_Read, { "Read", "x11.xf86vidmode.GetPermissions.reply.permissions.Read", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetPermissions_reply_permissions_mask_Write, { "Write", "x11.xf86vidmode.GetPermissions.reply.permissions.Write", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xf86vidmode_GetPermissions_reply_permissions, { "permissions", "x11.xf86vidmode.GetPermissions.reply.permissions", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xf86vidmode_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xf86vidmode_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_xfixes_QueryVersion_client_major_version, { "client_major_version", "x11.xfixes.QueryVersion.client_major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_QueryVersion_client_minor_version, { "client_minor_version", "x11.xfixes.QueryVersion.client_minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_QueryVersion_reply_major_version, { "major_version", "x11.xfixes.QueryVersion.reply.major_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_QueryVersion_reply_minor_version, { "minor_version", "x11.xfixes.QueryVersion.reply.minor_version", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeSaveSet_mode, { "mode", "x11.xfixes.ChangeSaveSet.mode", FT_UINT8, BASE_DEC, VALS(x11_enum_xfixes_SaveSetMode), 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeSaveSet_target, { "target", "x11.xfixes.ChangeSaveSet.target", FT_UINT8, BASE_DEC, VALS(x11_enum_xfixes_SaveSetTarget), 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeSaveSet_map, { "map", "x11.xfixes.ChangeSaveSet.map", FT_UINT8, BASE_DEC, VALS(x11_enum_xfixes_SaveSetMapping), 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeSaveSet_window, { "window", "x11.xfixes.ChangeSaveSet.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SelectSelectionInput_window, { "window", "x11.xfixes.SelectSelectionInput.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SelectSelectionInput_selection, { "selection", "x11.xfixes.SelectSelectionInput.selection", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SetSelectionOwner, { "SetSelectionOwner", "x11.xfixes.SelectSelectionInput.event_mask.SetSelectionOwner", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SelectionWindowDestroy, { "SelectionWindowDestroy", "x11.xfixes.SelectSelectionInput.event_mask.SelectionWindowDestroy", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xfixes_SelectSelectionInput_event_mask_mask_SelectionClientClose, { "SelectionClientClose", "x11.xfixes.SelectSelectionInput.event_mask.SelectionClientClose", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xfixes_SelectSelectionInput_event_mask, { "event_mask", "x11.xfixes.SelectSelectionInput.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CursorNotify_subtype, { "subtype", "x11.xfixes.CursorNotify.subtype", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xfixes_CursorNotify), 0, NULL, HFILL }}, { &hf_x11_xfixes_CursorNotify_window, { "window", "x11.xfixes.CursorNotify.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CursorNotify_cursor_serial, { "cursor_serial", "x11.xfixes.CursorNotify.cursor_serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CursorNotify_timestamp, { "timestamp", "x11.xfixes.CursorNotify.timestamp", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CursorNotify_name, { "name", "x11.xfixes.CursorNotify.name", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Atom), 0, NULL, HFILL }}, { &hf_x11_xfixes_SelectCursorInput_window, { "window", "x11.xfixes.SelectCursorInput.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SelectCursorInput_event_mask_mask_DisplayCursor, { "DisplayCursor", "x11.xfixes.SelectCursorInput.event_mask.DisplayCursor", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xfixes_SelectCursorInput_event_mask, { "event_mask", "x11.xfixes.SelectCursorInput.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_x, { "x", "x11.xfixes.GetCursorImage.reply.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_y, { "y", "x11.xfixes.GetCursorImage.reply.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_width, { "width", "x11.xfixes.GetCursorImage.reply.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_height, { "height", "x11.xfixes.GetCursorImage.reply.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_xhot, { "xhot", "x11.xfixes.GetCursorImage.reply.xhot", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_yhot, { "yhot", "x11.xfixes.GetCursorImage.reply.yhot", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_cursor_serial, { "cursor_serial", "x11.xfixes.GetCursorImage.reply.cursor_serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_cursor_image, { "cursor_image", "x11.xfixes.GetCursorImage.reply.cursor_image.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImage_reply_cursor_image_item, { "cursor_image", "x11.xfixes.GetCursorImage.reply.cursor_image", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegion_region, { "region", "x11.xfixes.CreateRegion.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegion_rectangles, { "rectangles", "x11.xfixes.CreateRegion.rectangles.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegion_rectangles_item, { "rectangles", "x11.xfixes.CreateRegion.rectangles", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromBitmap_region, { "region", "x11.xfixes.CreateRegionFromBitmap.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromBitmap_bitmap, { "bitmap", "x11.xfixes.CreateRegionFromBitmap.bitmap", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromWindow_region, { "region", "x11.xfixes.CreateRegionFromWindow.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromWindow_window, { "window", "x11.xfixes.CreateRegionFromWindow.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromWindow_kind, { "kind", "x11.xfixes.CreateRegionFromWindow.kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SK), 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromGC_region, { "region", "x11.xfixes.CreateRegionFromGC.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromGC_gc, { "gc", "x11.xfixes.CreateRegionFromGC.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromPicture_region, { "region", "x11.xfixes.CreateRegionFromPicture.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreateRegionFromPicture_picture, { "picture", "x11.xfixes.CreateRegionFromPicture.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_DestroyRegion_region, { "region", "x11.xfixes.DestroyRegion.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetRegion_region, { "region", "x11.xfixes.SetRegion.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetRegion_rectangles, { "rectangles", "x11.xfixes.SetRegion.rectangles.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetRegion_rectangles_item, { "rectangles", "x11.xfixes.SetRegion.rectangles", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CopyRegion_source, { "source", "x11.xfixes.CopyRegion.source", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CopyRegion_destination, { "destination", "x11.xfixes.CopyRegion.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_UnionRegion_source1, { "source1", "x11.xfixes.UnionRegion.source1", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_UnionRegion_source2, { "source2", "x11.xfixes.UnionRegion.source2", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_UnionRegion_destination, { "destination", "x11.xfixes.UnionRegion.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_IntersectRegion_source1, { "source1", "x11.xfixes.IntersectRegion.source1", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_IntersectRegion_source2, { "source2", "x11.xfixes.IntersectRegion.source2", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_IntersectRegion_destination, { "destination", "x11.xfixes.IntersectRegion.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SubtractRegion_source1, { "source1", "x11.xfixes.SubtractRegion.source1", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SubtractRegion_source2, { "source2", "x11.xfixes.SubtractRegion.source2", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SubtractRegion_destination, { "destination", "x11.xfixes.SubtractRegion.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_InvertRegion_source, { "source", "x11.xfixes.InvertRegion.source", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_InvertRegion_bounds, { "bounds", "x11.xfixes.InvertRegion.bounds", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_InvertRegion_destination, { "destination", "x11.xfixes.InvertRegion.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_TranslateRegion_region, { "region", "x11.xfixes.TranslateRegion.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_TranslateRegion_dx, { "dx", "x11.xfixes.TranslateRegion.dx", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_TranslateRegion_dy, { "dy", "x11.xfixes.TranslateRegion.dy", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_RegionExtents_source, { "source", "x11.xfixes.RegionExtents.source", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_RegionExtents_destination, { "destination", "x11.xfixes.RegionExtents.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_FetchRegion_region, { "region", "x11.xfixes.FetchRegion.region", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_FetchRegion_reply_extents, { "extents", "x11.xfixes.FetchRegion.reply.extents", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_FetchRegion_reply_rectangles, { "rectangles", "x11.xfixes.FetchRegion.reply.rectangles.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_FetchRegion_reply_rectangles_item, { "rectangles", "x11.xfixes.FetchRegion.reply.rectangles", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetGCClipRegion_gc, { "gc", "x11.xfixes.SetGCClipRegion.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetGCClipRegion_region, { "region", "x11.xfixes.SetGCClipRegion.region", FT_UINT32, BASE_HEX, VALS(x11_enum_xfixes_Region), 0, NULL, HFILL }}, { &hf_x11_xfixes_SetGCClipRegion_x_origin, { "x_origin", "x11.xfixes.SetGCClipRegion.x_origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetGCClipRegion_y_origin, { "y_origin", "x11.xfixes.SetGCClipRegion.y_origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetWindowShapeRegion_dest, { "dest", "x11.xfixes.SetWindowShapeRegion.dest", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetWindowShapeRegion_dest_kind, { "dest_kind", "x11.xfixes.SetWindowShapeRegion.dest_kind", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_shape_SK), 0, NULL, HFILL }}, { &hf_x11_xfixes_SetWindowShapeRegion_x_offset, { "x_offset", "x11.xfixes.SetWindowShapeRegion.x_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetWindowShapeRegion_y_offset, { "y_offset", "x11.xfixes.SetWindowShapeRegion.y_offset", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetWindowShapeRegion_region, { "region", "x11.xfixes.SetWindowShapeRegion.region", FT_UINT32, BASE_HEX, VALS(x11_enum_xfixes_Region), 0, NULL, HFILL }}, { &hf_x11_xfixes_SetPictureClipRegion_picture, { "picture", "x11.xfixes.SetPictureClipRegion.picture", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetPictureClipRegion_region, { "region", "x11.xfixes.SetPictureClipRegion.region", FT_UINT32, BASE_HEX, VALS(x11_enum_xfixes_Region), 0, NULL, HFILL }}, { &hf_x11_xfixes_SetPictureClipRegion_x_origin, { "x_origin", "x11.xfixes.SetPictureClipRegion.x_origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetPictureClipRegion_y_origin, { "y_origin", "x11.xfixes.SetPictureClipRegion.y_origin", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetCursorName_cursor, { "cursor", "x11.xfixes.SetCursorName.cursor", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetCursorName_nbytes, { "nbytes", "x11.xfixes.SetCursorName.nbytes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_SetCursorName_name, { "name", "x11.xfixes.SetCursorName.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorName_cursor, { "cursor", "x11.xfixes.GetCursorName.cursor", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorName_reply_atom, { "atom", "x11.xfixes.GetCursorName.reply.atom", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Atom), 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorName_reply_nbytes, { "nbytes", "x11.xfixes.GetCursorName.reply.nbytes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorName_reply_name, { "name", "x11.xfixes.GetCursorName.reply.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_x, { "x", "x11.xfixes.GetCursorImageAndName.reply.x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_y, { "y", "x11.xfixes.GetCursorImageAndName.reply.y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_width, { "width", "x11.xfixes.GetCursorImageAndName.reply.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_height, { "height", "x11.xfixes.GetCursorImageAndName.reply.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_xhot, { "xhot", "x11.xfixes.GetCursorImageAndName.reply.xhot", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_yhot, { "yhot", "x11.xfixes.GetCursorImageAndName.reply.yhot", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_cursor_serial, { "cursor_serial", "x11.xfixes.GetCursorImageAndName.reply.cursor_serial", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_cursor_atom, { "cursor_atom", "x11.xfixes.GetCursorImageAndName.reply.cursor_atom", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Atom), 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_nbytes, { "nbytes", "x11.xfixes.GetCursorImageAndName.reply.nbytes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_cursor_image, { "cursor_image", "x11.xfixes.GetCursorImageAndName.reply.cursor_image.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_cursor_image_item, { "cursor_image", "x11.xfixes.GetCursorImageAndName.reply.cursor_image", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_GetCursorImageAndName_reply_name, { "name", "x11.xfixes.GetCursorImageAndName.reply.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeCursor_source, { "source", "x11.xfixes.ChangeCursor.source", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeCursor_destination, { "destination", "x11.xfixes.ChangeCursor.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeCursorByName_src, { "src", "x11.xfixes.ChangeCursorByName.src", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeCursorByName_nbytes, { "nbytes", "x11.xfixes.ChangeCursorByName.nbytes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ChangeCursorByName_name, { "name", "x11.xfixes.ChangeCursorByName.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ExpandRegion_source, { "source", "x11.xfixes.ExpandRegion.source", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ExpandRegion_destination, { "destination", "x11.xfixes.ExpandRegion.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ExpandRegion_left, { "left", "x11.xfixes.ExpandRegion.left", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ExpandRegion_right, { "right", "x11.xfixes.ExpandRegion.right", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ExpandRegion_top, { "top", "x11.xfixes.ExpandRegion.top", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ExpandRegion_bottom, { "bottom", "x11.xfixes.ExpandRegion.bottom", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_HideCursor_window, { "window", "x11.xfixes.HideCursor.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_ShowCursor_window, { "window", "x11.xfixes.ShowCursor.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_barrier, { "barrier", "x11.xfixes.CreatePointerBarrier.barrier", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_window, { "window", "x11.xfixes.CreatePointerBarrier.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_x1, { "x1", "x11.xfixes.CreatePointerBarrier.x1", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_y1, { "y1", "x11.xfixes.CreatePointerBarrier.y1", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_x2, { "x2", "x11.xfixes.CreatePointerBarrier.x2", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_y2, { "y2", "x11.xfixes.CreatePointerBarrier.y2", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_directions_mask_PositiveX, { "PositiveX", "x11.xfixes.CreatePointerBarrier.directions.PositiveX", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_directions_mask_PositiveY, { "PositiveY", "x11.xfixes.CreatePointerBarrier.directions.PositiveY", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_directions_mask_NegativeX, { "NegativeX", "x11.xfixes.CreatePointerBarrier.directions.NegativeX", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_directions_mask_NegativeY, { "NegativeY", "x11.xfixes.CreatePointerBarrier.directions.NegativeY", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_directions, { "directions", "x11.xfixes.CreatePointerBarrier.directions", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_num_devices, { "num_devices", "x11.xfixes.CreatePointerBarrier.num_devices", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_devices, { "devices", "x11.xfixes.CreatePointerBarrier.devices.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_CreatePointerBarrier_devices_item, { "devices", "x11.xfixes.CreatePointerBarrier.devices", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_DeletePointerBarrier_barrier, { "barrier", "x11.xfixes.DeletePointerBarrier.barrier", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xfixes_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xfixes_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xinerama_ScreenInfo, { "xinerama_ScreenInfo", "x11.struct.xinerama_ScreenInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinerama_ScreenInfo_x_org, { "x_org", "x11.struct.xinerama_ScreenInfo.x_org", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinerama_ScreenInfo_y_org, { "y_org", "x11.struct.xinerama_ScreenInfo.y_org", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinerama_ScreenInfo_width, { "width", "x11.struct.xinerama_ScreenInfo.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinerama_ScreenInfo_height, { "height", "x11.struct.xinerama_ScreenInfo.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_QueryVersion_major, { "major", "x11.xinerama.QueryVersion.major", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_QueryVersion_minor, { "minor", "x11.xinerama.QueryVersion.minor", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_QueryVersion_reply_major, { "major", "x11.xinerama.QueryVersion.reply.major", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_QueryVersion_reply_minor, { "minor", "x11.xinerama.QueryVersion.reply.minor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetState_window, { "window", "x11.xinerama.GetState.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetState_reply_state, { "state", "x11.xinerama.GetState.reply.state", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetState_reply_window, { "window", "x11.xinerama.GetState.reply.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenCount_window, { "window", "x11.xinerama.GetScreenCount.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenCount_reply_screen_count, { "screen_count", "x11.xinerama.GetScreenCount.reply.screen_count", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenCount_reply_window, { "window", "x11.xinerama.GetScreenCount.reply.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenSize_window, { "window", "x11.xinerama.GetScreenSize.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenSize_screen, { "screen", "x11.xinerama.GetScreenSize.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenSize_reply_width, { "width", "x11.xinerama.GetScreenSize.reply.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenSize_reply_height, { "height", "x11.xinerama.GetScreenSize.reply.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenSize_reply_window, { "window", "x11.xinerama.GetScreenSize.reply.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_GetScreenSize_reply_screen, { "screen", "x11.xinerama.GetScreenSize.reply.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_IsActive_reply_state, { "state", "x11.xinerama.IsActive.reply.state", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_QueryScreens_reply_number, { "number", "x11.xinerama.QueryScreens.reply.number", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_QueryScreens_reply_screen_info, { "screen_info", "x11.xinerama.QueryScreens.reply.screen_info.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_QueryScreens_reply_screen_info_item, { "screen_info", "x11.xinerama.QueryScreens.reply.screen_info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinerama_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xinerama_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xinput_FP3232, { "xinput_FP3232", "x11.struct.xinput_FP3232", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FP3232_integral, { "integral", "x11.struct.xinput_FP3232.integral", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FP3232_frac, { "frac", "x11.struct.xinput_FP3232.frac", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetExtensionVersion_name_len, { "name_len", "x11.xinput.GetExtensionVersion.name_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetExtensionVersion_name, { "name", "x11.xinput.GetExtensionVersion.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetExtensionVersion_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetExtensionVersion.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetExtensionVersion_reply_server_major, { "server_major", "x11.xinput.GetExtensionVersion.reply.server_major", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetExtensionVersion_reply_server_minor, { "server_minor", "x11.xinput.GetExtensionVersion.reply.server_minor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetExtensionVersion_reply_present, { "present", "x11.xinput.GetExtensionVersion.reply.present", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceInfo, { "xinput_DeviceInfo", "x11.struct.xinput_DeviceInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceInfo_device_type, { "device_type", "x11.struct.xinput_DeviceInfo.device_type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceInfo_device_id, { "device_id", "x11.struct.xinput_DeviceInfo.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceInfo_num_class_info, { "num_class_info", "x11.struct.xinput_DeviceInfo.num_class_info", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceInfo_device_use, { "device_use", "x11.struct.xinput_DeviceInfo.device_use", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceUse), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_AxisInfo, { "xinput_AxisInfo", "x11.struct.xinput_AxisInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_AxisInfo_resolution, { "resolution", "x11.struct.xinput_AxisInfo.resolution", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_AxisInfo_minimum, { "minimum", "x11.struct.xinput_AxisInfo.minimum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_AxisInfo_maximum, { "maximum", "x11.struct.xinput_AxisInfo.maximum", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo, { "xinput_InputInfo", "x11.struct.xinput_InputInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_class_id, { "class_id", "x11.struct.xinput_InputInfo.class_id", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_InputClass), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_len, { "len", "x11.struct.xinput_InputInfo.len", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Key_min_keycode, { "min_keycode", "x11.struct.xinput_InputInfo.Key.min_keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Key_max_keycode, { "max_keycode", "x11.struct.xinput_InputInfo.Key.max_keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Key_num_keys, { "num_keys", "x11.struct.xinput_InputInfo.Key.num_keys", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Button_num_buttons, { "num_buttons", "x11.struct.xinput_InputInfo.Button.num_buttons", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Valuator_axes_len, { "axes_len", "x11.struct.xinput_InputInfo.Valuator.axes_len", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Valuator_mode, { "mode", "x11.struct.xinput_InputInfo.Valuator.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ValuatorMode), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Valuator_motion_size, { "motion_size", "x11.struct.xinput_InputInfo.Valuator.motion_size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Valuator_axes, { "axes", "x11.struct.xinput_InputInfo.Valuator.axes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputInfo_Valuator_axes_item, { "axes", "x11.struct.xinput_InputInfo.Valuator.axes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListInputDevices_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.ListInputDevices.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListInputDevices_reply_devices_len, { "devices_len", "x11.xinput.ListInputDevices.reply.devices_len", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListInputDevices_reply_devices, { "devices", "x11.xinput.ListInputDevices.reply.devices.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListInputDevices_reply_devices_item, { "devices", "x11.xinput.ListInputDevices.reply.devices", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListInputDevices_reply_infos, { "infos", "x11.xinput.ListInputDevices.reply.infos", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListInputDevices_reply_names, { "names", "x11.xinput.ListInputDevices.reply.names", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputClassInfo, { "xinput_InputClassInfo", "x11.struct.xinput_InputClassInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputClassInfo_class_id, { "class_id", "x11.struct.xinput_InputClassInfo.class_id", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_InputClass), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputClassInfo_event_type_base, { "event_type_base", "x11.struct.xinput_InputClassInfo.event_type_base", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_OpenDevice_device_id, { "device_id", "x11.xinput.OpenDevice.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_OpenDevice_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.OpenDevice.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_OpenDevice_reply_num_classes, { "num_classes", "x11.xinput.OpenDevice.reply.num_classes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_OpenDevice_reply_class_info, { "class_info", "x11.xinput.OpenDevice.reply.class_info.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_OpenDevice_reply_class_info_item, { "class_info", "x11.xinput.OpenDevice.reply.class_info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_CloseDevice_device_id, { "device_id", "x11.xinput.CloseDevice.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceMode_device_id, { "device_id", "x11.xinput.SetDeviceMode.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceMode_mode, { "mode", "x11.xinput.SetDeviceMode.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ValuatorMode), 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceMode_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.SetDeviceMode.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceMode_reply_status, { "status", "x11.xinput.SetDeviceMode.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_SelectExtensionEvent_window, { "window", "x11.xinput.SelectExtensionEvent.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SelectExtensionEvent_num_classes, { "num_classes", "x11.xinput.SelectExtensionEvent.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SelectExtensionEvent_classes, { "classes", "x11.xinput.SelectExtensionEvent.classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SelectExtensionEvent_classes_item, { "classes", "x11.xinput.SelectExtensionEvent.classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetSelectedExtensionEvents_window, { "window", "x11.xinput.GetSelectedExtensionEvents.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetSelectedExtensionEvents_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetSelectedExtensionEvents.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetSelectedExtensionEvents_reply_num_this_classes, { "num_this_classes", "x11.xinput.GetSelectedExtensionEvents.reply.num_this_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetSelectedExtensionEvents_reply_num_all_classes, { "num_all_classes", "x11.xinput.GetSelectedExtensionEvents.reply.num_all_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetSelectedExtensionEvents_reply_this_classes, { "this_classes", "x11.xinput.GetSelectedExtensionEvents.reply.this_classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetSelectedExtensionEvents_reply_this_classes_item, { "this_classes", "x11.xinput.GetSelectedExtensionEvents.reply.this_classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetSelectedExtensionEvents_reply_all_classes, { "all_classes", "x11.xinput.GetSelectedExtensionEvents.reply.all_classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetSelectedExtensionEvents_reply_all_classes_item, { "all_classes", "x11.xinput.GetSelectedExtensionEvents.reply.all_classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceDontPropagateList_window, { "window", "x11.xinput.ChangeDeviceDontPropagateList.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceDontPropagateList_num_classes, { "num_classes", "x11.xinput.ChangeDeviceDontPropagateList.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceDontPropagateList_mode, { "mode", "x11.xinput.ChangeDeviceDontPropagateList.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_PropagateMode), 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceDontPropagateList_classes, { "classes", "x11.xinput.ChangeDeviceDontPropagateList.classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceDontPropagateList_classes_item, { "classes", "x11.xinput.ChangeDeviceDontPropagateList.classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceDontPropagateList_window, { "window", "x11.xinput.GetDeviceDontPropagateList.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceDontPropagateList_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetDeviceDontPropagateList.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceDontPropagateList_reply_num_classes, { "num_classes", "x11.xinput.GetDeviceDontPropagateList.reply.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceDontPropagateList_reply_classes, { "classes", "x11.xinput.GetDeviceDontPropagateList.reply.classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceDontPropagateList_reply_classes_item, { "classes", "x11.xinput.GetDeviceDontPropagateList.reply.classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceTimeCoord, { "xinput_DeviceTimeCoord", "x11.struct.xinput_DeviceTimeCoord", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceTimeCoord_time, { "time", "x11.struct.xinput_DeviceTimeCoord.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceTimeCoord_axisvalues, { "axisvalues", "x11.struct.xinput_DeviceTimeCoord.axisvalues.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceTimeCoord_axisvalues_item, { "axisvalues", "x11.struct.xinput_DeviceTimeCoord.axisvalues", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceMotionEvents_start, { "start", "x11.xinput.GetDeviceMotionEvents.start", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceMotionEvents_stop, { "stop", "x11.xinput.GetDeviceMotionEvents.stop", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceMotionEvents_device_id, { "device_id", "x11.xinput.GetDeviceMotionEvents.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceMotionEvents_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetDeviceMotionEvents.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceMotionEvents_reply_num_events, { "num_events", "x11.xinput.GetDeviceMotionEvents.reply.num_events", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceMotionEvents_reply_num_axes, { "num_axes", "x11.xinput.GetDeviceMotionEvents.reply.num_axes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceMotionEvents_reply_device_mode, { "device_mode", "x11.xinput.GetDeviceMotionEvents.reply.device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ValuatorMode), 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceMotionEvents_reply_events, { "events", "x11.xinput.GetDeviceMotionEvents.reply.events", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeKeyboardDevice_device_id, { "device_id", "x11.xinput.ChangeKeyboardDevice.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeKeyboardDevice_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.ChangeKeyboardDevice.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeKeyboardDevice_reply_status, { "status", "x11.xinput.ChangeKeyboardDevice.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_ChangePointerDevice_x_axis, { "x_axis", "x11.xinput.ChangePointerDevice.x_axis", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangePointerDevice_y_axis, { "y_axis", "x11.xinput.ChangePointerDevice.y_axis", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangePointerDevice_device_id, { "device_id", "x11.xinput.ChangePointerDevice.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangePointerDevice_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.ChangePointerDevice.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangePointerDevice_reply_status, { "status", "x11.xinput.ChangePointerDevice.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_grab_window, { "grab_window", "x11.xinput.GrabDevice.grab_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_time, { "time", "x11.xinput.GrabDevice.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_num_classes, { "num_classes", "x11.xinput.GrabDevice.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_this_device_mode, { "this_device_mode", "x11.xinput.GrabDevice.this_device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_other_device_mode, { "other_device_mode", "x11.xinput.GrabDevice.other_device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_owner_events, { "owner_events", "x11.xinput.GrabDevice.owner_events", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_device_id, { "device_id", "x11.xinput.GrabDevice.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_classes, { "classes", "x11.xinput.GrabDevice.classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_classes_item, { "classes", "x11.xinput.GrabDevice.classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GrabDevice.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDevice_reply_status, { "status", "x11.xinput.GrabDevice.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDevice_time, { "time", "x11.xinput.UngrabDevice.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDevice_device_id, { "device_id", "x11.xinput.UngrabDevice.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_grab_window, { "grab_window", "x11.xinput.GrabDeviceKey.grab_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_num_classes, { "num_classes", "x11.xinput.GrabDeviceKey.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_Shift, { "Shift", "x11.xinput.GrabDeviceKey.modifiers.Shift", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_Lock, { "Lock", "x11.xinput.GrabDeviceKey.modifiers.Lock", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_Control, { "Control", "x11.xinput.GrabDeviceKey.modifiers.Control", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_1, { "1", "x11.xinput.GrabDeviceKey.modifiers.1", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_2, { "2", "x11.xinput.GrabDeviceKey.modifiers.2", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_3, { "3", "x11.xinput.GrabDeviceKey.modifiers.3", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_4, { "4", "x11.xinput.GrabDeviceKey.modifiers.4", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_5, { "5", "x11.xinput.GrabDeviceKey.modifiers.5", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers_mask_Any, { "Any", "x11.xinput.GrabDeviceKey.modifiers.Any", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifiers, { "modifiers", "x11.xinput.GrabDeviceKey.modifiers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_modifier_device, { "modifier_device", "x11.xinput.GrabDeviceKey.modifier_device", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ModifierDevice), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_grabbed_device, { "grabbed_device", "x11.xinput.GrabDeviceKey.grabbed_device", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_key, { "key", "x11.xinput.GrabDeviceKey.key", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_Grab), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_this_device_mode, { "this_device_mode", "x11.xinput.GrabDeviceKey.this_device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_other_device_mode, { "other_device_mode", "x11.xinput.GrabDeviceKey.other_device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_owner_events, { "owner_events", "x11.xinput.GrabDeviceKey.owner_events", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_classes, { "classes", "x11.xinput.GrabDeviceKey.classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceKey_classes_item, { "classes", "x11.xinput.GrabDeviceKey.classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_grabWindow, { "grabWindow", "x11.xinput.UngrabDeviceKey.grabWindow", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Shift, { "Shift", "x11.xinput.UngrabDeviceKey.modifiers.Shift", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Lock, { "Lock", "x11.xinput.UngrabDeviceKey.modifiers.Lock", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Control, { "Control", "x11.xinput.UngrabDeviceKey.modifiers.Control", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_1, { "1", "x11.xinput.UngrabDeviceKey.modifiers.1", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_2, { "2", "x11.xinput.UngrabDeviceKey.modifiers.2", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_3, { "3", "x11.xinput.UngrabDeviceKey.modifiers.3", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_4, { "4", "x11.xinput.UngrabDeviceKey.modifiers.4", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_5, { "5", "x11.xinput.UngrabDeviceKey.modifiers.5", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers_mask_Any, { "Any", "x11.xinput.UngrabDeviceKey.modifiers.Any", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifiers, { "modifiers", "x11.xinput.UngrabDeviceKey.modifiers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_modifier_device, { "modifier_device", "x11.xinput.UngrabDeviceKey.modifier_device", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ModifierDevice), 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_key, { "key", "x11.xinput.UngrabDeviceKey.key", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_Grab), 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceKey_grabbed_device, { "grabbed_device", "x11.xinput.UngrabDeviceKey.grabbed_device", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_grab_window, { "grab_window", "x11.xinput.GrabDeviceButton.grab_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_grabbed_device, { "grabbed_device", "x11.xinput.GrabDeviceButton.grabbed_device", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifier_device, { "modifier_device", "x11.xinput.GrabDeviceButton.modifier_device", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ModifierDevice), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_num_classes, { "num_classes", "x11.xinput.GrabDeviceButton.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_Shift, { "Shift", "x11.xinput.GrabDeviceButton.modifiers.Shift", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_Lock, { "Lock", "x11.xinput.GrabDeviceButton.modifiers.Lock", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_Control, { "Control", "x11.xinput.GrabDeviceButton.modifiers.Control", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_1, { "1", "x11.xinput.GrabDeviceButton.modifiers.1", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_2, { "2", "x11.xinput.GrabDeviceButton.modifiers.2", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_3, { "3", "x11.xinput.GrabDeviceButton.modifiers.3", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_4, { "4", "x11.xinput.GrabDeviceButton.modifiers.4", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_5, { "5", "x11.xinput.GrabDeviceButton.modifiers.5", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers_mask_Any, { "Any", "x11.xinput.GrabDeviceButton.modifiers.Any", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_modifiers, { "modifiers", "x11.xinput.GrabDeviceButton.modifiers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_this_device_mode, { "this_device_mode", "x11.xinput.GrabDeviceButton.this_device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_other_device_mode, { "other_device_mode", "x11.xinput.GrabDeviceButton.other_device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_button, { "button", "x11.xinput.GrabDeviceButton.button", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_Grab), 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_owner_events, { "owner_events", "x11.xinput.GrabDeviceButton.owner_events", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_classes, { "classes", "x11.xinput.GrabDeviceButton.classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GrabDeviceButton_classes_item, { "classes", "x11.xinput.GrabDeviceButton.classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_grab_window, { "grab_window", "x11.xinput.UngrabDeviceButton.grab_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Shift, { "Shift", "x11.xinput.UngrabDeviceButton.modifiers.Shift", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Lock, { "Lock", "x11.xinput.UngrabDeviceButton.modifiers.Lock", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Control, { "Control", "x11.xinput.UngrabDeviceButton.modifiers.Control", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_1, { "1", "x11.xinput.UngrabDeviceButton.modifiers.1", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_2, { "2", "x11.xinput.UngrabDeviceButton.modifiers.2", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_3, { "3", "x11.xinput.UngrabDeviceButton.modifiers.3", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_4, { "4", "x11.xinput.UngrabDeviceButton.modifiers.4", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_5, { "5", "x11.xinput.UngrabDeviceButton.modifiers.5", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers_mask_Any, { "Any", "x11.xinput.UngrabDeviceButton.modifiers.Any", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifiers, { "modifiers", "x11.xinput.UngrabDeviceButton.modifiers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_modifier_device, { "modifier_device", "x11.xinput.UngrabDeviceButton.modifier_device", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ModifierDevice), 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_button, { "button", "x11.xinput.UngrabDeviceButton.button", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_Grab), 0, NULL, HFILL }}, { &hf_x11_xinput_UngrabDeviceButton_grabbed_device, { "grabbed_device", "x11.xinput.UngrabDeviceButton.grabbed_device", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_AllowDeviceEvents_time, { "time", "x11.xinput.AllowDeviceEvents.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_AllowDeviceEvents_mode, { "mode", "x11.xinput.AllowDeviceEvents.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceInputMode), 0, NULL, HFILL }}, { &hf_x11_xinput_AllowDeviceEvents_device_id, { "device_id", "x11.xinput.AllowDeviceEvents.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceFocus_device_id, { "device_id", "x11.xinput.GetDeviceFocus.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceFocus_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetDeviceFocus.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceFocus_reply_focus, { "focus", "x11.xinput.GetDeviceFocus.reply.focus", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_InputFocus), 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceFocus_reply_time, { "time", "x11.xinput.GetDeviceFocus.reply.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceFocus_reply_revert_to, { "revert_to", "x11.xinput.GetDeviceFocus.reply.revert_to", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_InputFocus), 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceFocus_focus, { "focus", "x11.xinput.SetDeviceFocus.focus", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_InputFocus), 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceFocus_time, { "time", "x11.xinput.SetDeviceFocus.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceFocus_revert_to, { "revert_to", "x11.xinput.SetDeviceFocus.revert_to", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_InputFocus), 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceFocus_device_id, { "device_id", "x11.xinput.SetDeviceFocus.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState, { "xinput_FeedbackState", "x11.struct.xinput_FeedbackState", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_class_id, { "class_id", "x11.struct.xinput_FeedbackState.class_id", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_FeedbackClass), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_feedback_id, { "feedback_id", "x11.struct.xinput_FeedbackState.feedback_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_len, { "len", "x11.struct.xinput_FeedbackState.len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Keyboard_pitch, { "pitch", "x11.struct.xinput_FeedbackState.Keyboard.pitch", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Keyboard_duration, { "duration", "x11.struct.xinput_FeedbackState.Keyboard.duration", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Keyboard_led_mask, { "led_mask", "x11.struct.xinput_FeedbackState.Keyboard.led_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Keyboard_led_values, { "led_values", "x11.struct.xinput_FeedbackState.Keyboard.led_values", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Keyboard_global_auto_repeat, { "global_auto_repeat", "x11.struct.xinput_FeedbackState.Keyboard.global_auto_repeat", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Keyboard_click, { "click", "x11.struct.xinput_FeedbackState.Keyboard.click", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Keyboard_percent, { "percent", "x11.struct.xinput_FeedbackState.Keyboard.percent", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Keyboard_auto_repeats, { "auto_repeats", "x11.struct.xinput_FeedbackState.Keyboard.auto_repeats", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Pointer_accel_num, { "accel_num", "x11.struct.xinput_FeedbackState.Pointer.accel_num", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Pointer_accel_denom, { "accel_denom", "x11.struct.xinput_FeedbackState.Pointer.accel_denom", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Pointer_threshold, { "threshold", "x11.struct.xinput_FeedbackState.Pointer.threshold", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_String_max_symbols, { "max_symbols", "x11.struct.xinput_FeedbackState.String.max_symbols", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_String_num_keysyms, { "num_keysyms", "x11.struct.xinput_FeedbackState.String.num_keysyms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_String_keysyms, { "keysyms", "x11.struct.xinput_FeedbackState.String.keysyms.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_String_keysyms_item, { "keysyms", "x11.struct.xinput_FeedbackState.String.keysyms", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Integer_resolution, { "resolution", "x11.struct.xinput_FeedbackState.Integer.resolution", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Integer_min_value, { "min_value", "x11.struct.xinput_FeedbackState.Integer.min_value", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Integer_max_value, { "max_value", "x11.struct.xinput_FeedbackState.Integer.max_value", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Led_led_mask, { "led_mask", "x11.struct.xinput_FeedbackState.Led.led_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Led_led_values, { "led_values", "x11.struct.xinput_FeedbackState.Led.led_values", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Bell_percent, { "percent", "x11.struct.xinput_FeedbackState.Bell.percent", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Bell_pitch, { "pitch", "x11.struct.xinput_FeedbackState.Bell.pitch", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackState_Bell_duration, { "duration", "x11.struct.xinput_FeedbackState.Bell.duration", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetFeedbackControl_device_id, { "device_id", "x11.xinput.GetFeedbackControl.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetFeedbackControl_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetFeedbackControl.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetFeedbackControl_reply_num_feedbacks, { "num_feedbacks", "x11.xinput.GetFeedbackControl.reply.num_feedbacks", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetFeedbackControl_reply_feedbacks, { "feedbacks", "x11.xinput.GetFeedbackControl.reply.feedbacks", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl, { "xinput_FeedbackCtl", "x11.struct.xinput_FeedbackCtl", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_class_id, { "class_id", "x11.struct.xinput_FeedbackCtl.class_id", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_FeedbackClass), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_feedback_id, { "feedback_id", "x11.struct.xinput_FeedbackCtl.feedback_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_len, { "len", "x11.struct.xinput_FeedbackCtl.len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Keyboard_key, { "key", "x11.struct.xinput_FeedbackCtl.Keyboard.key", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Keyboard_auto_repeat_mode, { "auto_repeat_mode", "x11.struct.xinput_FeedbackCtl.Keyboard.auto_repeat_mode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Keyboard_key_click_percent, { "key_click_percent", "x11.struct.xinput_FeedbackCtl.Keyboard.key_click_percent", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_percent, { "bell_percent", "x11.struct.xinput_FeedbackCtl.Keyboard.bell_percent", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_pitch, { "bell_pitch", "x11.struct.xinput_FeedbackCtl.Keyboard.bell_pitch", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Keyboard_bell_duration, { "bell_duration", "x11.struct.xinput_FeedbackCtl.Keyboard.bell_duration", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Keyboard_led_mask, { "led_mask", "x11.struct.xinput_FeedbackCtl.Keyboard.led_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Keyboard_led_values, { "led_values", "x11.struct.xinput_FeedbackCtl.Keyboard.led_values", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Pointer_num, { "num", "x11.struct.xinput_FeedbackCtl.Pointer.num", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Pointer_denom, { "denom", "x11.struct.xinput_FeedbackCtl.Pointer.denom", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Pointer_threshold, { "threshold", "x11.struct.xinput_FeedbackCtl.Pointer.threshold", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_String_num_keysyms, { "num_keysyms", "x11.struct.xinput_FeedbackCtl.String.num_keysyms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_String_keysyms, { "keysyms", "x11.struct.xinput_FeedbackCtl.String.keysyms.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_String_keysyms_item, { "keysyms", "x11.struct.xinput_FeedbackCtl.String.keysyms", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Integer_int_to_display, { "int_to_display", "x11.struct.xinput_FeedbackCtl.Integer.int_to_display", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Led_led_mask, { "led_mask", "x11.struct.xinput_FeedbackCtl.Led.led_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Led_led_values, { "led_values", "x11.struct.xinput_FeedbackCtl.Led.led_values", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Bell_percent, { "percent", "x11.struct.xinput_FeedbackCtl.Bell.percent", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Bell_pitch, { "pitch", "x11.struct.xinput_FeedbackCtl.Bell.pitch", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_FeedbackCtl_Bell_duration, { "duration", "x11.struct.xinput_FeedbackCtl.Bell.duration", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_AccelNum, { "AccelNum", "x11.xinput.ChangeFeedbackControl.mask.AccelNum", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_AccelDenom, { "AccelDenom", "x11.xinput.ChangeFeedbackControl.mask.AccelDenom", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_Threshold, { "Threshold", "x11.xinput.ChangeFeedbackControl.mask.Threshold", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_Duration, { "Duration", "x11.xinput.ChangeFeedbackControl.mask.Duration", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_Led, { "Led", "x11.xinput.ChangeFeedbackControl.mask.Led", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_LedMode, { "LedMode", "x11.xinput.ChangeFeedbackControl.mask.LedMode", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_Key, { "Key", "x11.xinput.ChangeFeedbackControl.mask.Key", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask_mask_AutoRepeatMode, { "AutoRepeatMode", "x11.xinput.ChangeFeedbackControl.mask.AutoRepeatMode", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_mask, { "mask", "x11.xinput.ChangeFeedbackControl.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_device_id, { "device_id", "x11.xinput.ChangeFeedbackControl.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_feedback_id, { "feedback_id", "x11.xinput.ChangeFeedbackControl.feedback_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeFeedbackControl_feedback, { "feedback", "x11.xinput.ChangeFeedbackControl.feedback", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceKeyMapping_device_id, { "device_id", "x11.xinput.GetDeviceKeyMapping.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceKeyMapping_first_keycode, { "first_keycode", "x11.xinput.GetDeviceKeyMapping.first_keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceKeyMapping_count, { "count", "x11.xinput.GetDeviceKeyMapping.count", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceKeyMapping_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetDeviceKeyMapping.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms_per_keycode, { "keysyms_per_keycode", "x11.xinput.GetDeviceKeyMapping.reply.keysyms_per_keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms, { "keysyms", "x11.xinput.GetDeviceKeyMapping.reply.keysyms.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceKeyMapping_reply_keysyms_item, { "keysyms", "x11.xinput.GetDeviceKeyMapping.reply.keysyms", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceKeyMapping_device_id, { "device_id", "x11.xinput.ChangeDeviceKeyMapping.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceKeyMapping_first_keycode, { "first_keycode", "x11.xinput.ChangeDeviceKeyMapping.first_keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceKeyMapping_keysyms_per_keycode, { "keysyms_per_keycode", "x11.xinput.ChangeDeviceKeyMapping.keysyms_per_keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceKeyMapping_keycode_count, { "keycode_count", "x11.xinput.ChangeDeviceKeyMapping.keycode_count", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceKeyMapping_keysyms, { "keysyms", "x11.xinput.ChangeDeviceKeyMapping.keysyms.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceKeyMapping_keysyms_item, { "keysyms", "x11.xinput.ChangeDeviceKeyMapping.keysyms", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceModifierMapping_device_id, { "device_id", "x11.xinput.GetDeviceModifierMapping.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceModifierMapping_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetDeviceModifierMapping.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceModifierMapping_reply_keycodes_per_modifier, { "keycodes_per_modifier", "x11.xinput.GetDeviceModifierMapping.reply.keycodes_per_modifier", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceModifierMapping_reply_keymaps, { "keymaps", "x11.xinput.GetDeviceModifierMapping.reply.keymaps", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceModifierMapping_device_id, { "device_id", "x11.xinput.SetDeviceModifierMapping.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceModifierMapping_keycodes_per_modifier, { "keycodes_per_modifier", "x11.xinput.SetDeviceModifierMapping.keycodes_per_modifier", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceModifierMapping_keymaps, { "keymaps", "x11.xinput.SetDeviceModifierMapping.keymaps", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceModifierMapping_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.SetDeviceModifierMapping.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceModifierMapping_reply_status, { "status", "x11.xinput.SetDeviceModifierMapping.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_MappingStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceButtonMapping_device_id, { "device_id", "x11.xinput.GetDeviceButtonMapping.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceButtonMapping_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetDeviceButtonMapping.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceButtonMapping_reply_map_size, { "map_size", "x11.xinput.GetDeviceButtonMapping.reply.map_size", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceButtonMapping_reply_map, { "map", "x11.xinput.GetDeviceButtonMapping.reply.map", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceButtonMapping_device_id, { "device_id", "x11.xinput.SetDeviceButtonMapping.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceButtonMapping_map_size, { "map_size", "x11.xinput.SetDeviceButtonMapping.map_size", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceButtonMapping_map, { "map", "x11.xinput.SetDeviceButtonMapping.map", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceButtonMapping_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.SetDeviceButtonMapping.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceButtonMapping_reply_status, { "status", "x11.xinput.SetDeviceButtonMapping.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_MappingStatus), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState, { "xinput_InputState", "x11.struct.xinput_InputState", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_class_id, { "class_id", "x11.struct.xinput_InputState.class_id", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_InputClass), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_len, { "len", "x11.struct.xinput_InputState.len", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Key_num_keys, { "num_keys", "x11.struct.xinput_InputState.Key.num_keys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Key_keys, { "keys", "x11.struct.xinput_InputState.Key.keys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Button_num_buttons, { "num_buttons", "x11.struct.xinput_InputState.Button.num_buttons", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Button_buttons, { "buttons", "x11.struct.xinput_InputState.Button.buttons", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Valuator_num_valuators, { "num_valuators", "x11.struct.xinput_InputState.Valuator.num_valuators", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Valuator_mode_mask_DeviceModeAbsolute, { "DeviceModeAbsolute", "x11.struct.xinput_InputState.Valuator.mode.DeviceModeAbsolute", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Valuator_mode_mask_OutOfProximity, { "OutOfProximity", "x11.struct.xinput_InputState.Valuator.mode.OutOfProximity", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Valuator_mode, { "mode", "x11.struct.xinput_InputState.Valuator.mode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Valuator_valuators, { "valuators", "x11.struct.xinput_InputState.Valuator.valuators.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_InputState_Valuator_valuators_item, { "valuators", "x11.struct.xinput_InputState.Valuator.valuators", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_QueryDeviceState_device_id, { "device_id", "x11.xinput.QueryDeviceState.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_QueryDeviceState_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.QueryDeviceState.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_QueryDeviceState_reply_num_classes, { "num_classes", "x11.xinput.QueryDeviceState.reply.num_classes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_QueryDeviceState_reply_classes, { "classes", "x11.xinput.QueryDeviceState.reply.classes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceBell_device_id, { "device_id", "x11.xinput.DeviceBell.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceBell_feedback_id, { "feedback_id", "x11.xinput.DeviceBell.feedback_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceBell_feedback_class, { "feedback_class", "x11.xinput.DeviceBell.feedback_class", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceBell_percent, { "percent", "x11.xinput.DeviceBell.percent", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceValuators_device_id, { "device_id", "x11.xinput.SetDeviceValuators.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceValuators_first_valuator, { "first_valuator", "x11.xinput.SetDeviceValuators.first_valuator", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceValuators_num_valuators, { "num_valuators", "x11.xinput.SetDeviceValuators.num_valuators", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceValuators_valuators, { "valuators", "x11.xinput.SetDeviceValuators.valuators.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceValuators_valuators_item, { "valuators", "x11.xinput.SetDeviceValuators.valuators", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceValuators_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.SetDeviceValuators.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SetDeviceValuators_reply_status, { "status", "x11.xinput.SetDeviceValuators.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState, { "xinput_DeviceState", "x11.struct.xinput_DeviceState", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_control_id, { "control_id", "x11.struct.xinput_DeviceState.control_id", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceControl), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_len, { "len", "x11.struct.xinput_DeviceState.len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_resolution_num_valuators, { "num_valuators", "x11.struct.xinput_DeviceState.resolution.num_valuators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_resolution_resolution_values, { "resolution_values", "x11.struct.xinput_DeviceState.resolution.resolution_values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_resolution_resolution_values_item, { "resolution_values", "x11.struct.xinput_DeviceState.resolution.resolution_values", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_resolution_resolution_min, { "resolution_min", "x11.struct.xinput_DeviceState.resolution.resolution_min.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_resolution_resolution_min_item, { "resolution_min", "x11.struct.xinput_DeviceState.resolution.resolution_min", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_resolution_resolution_max, { "resolution_max", "x11.struct.xinput_DeviceState.resolution.resolution_max.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_resolution_resolution_max_item, { "resolution_max", "x11.struct.xinput_DeviceState.resolution.resolution_max", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_calib_min_x, { "min_x", "x11.struct.xinput_DeviceState.abs_calib.min_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_calib_max_x, { "max_x", "x11.struct.xinput_DeviceState.abs_calib.max_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_calib_min_y, { "min_y", "x11.struct.xinput_DeviceState.abs_calib.min_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_calib_max_y, { "max_y", "x11.struct.xinput_DeviceState.abs_calib.max_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_calib_flip_x, { "flip_x", "x11.struct.xinput_DeviceState.abs_calib.flip_x", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_calib_flip_y, { "flip_y", "x11.struct.xinput_DeviceState.abs_calib.flip_y", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_calib_rotation, { "rotation", "x11.struct.xinput_DeviceState.abs_calib.rotation", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_calib_button_threshold, { "button_threshold", "x11.struct.xinput_DeviceState.abs_calib.button_threshold", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_core_status, { "status", "x11.struct.xinput_DeviceState.core.status", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_core_iscore, { "iscore", "x11.struct.xinput_DeviceState.core.iscore", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_enable_enable, { "enable", "x11.struct.xinput_DeviceState.enable.enable", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_area_offset_x, { "offset_x", "x11.struct.xinput_DeviceState.abs_area.offset_x", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_area_offset_y, { "offset_y", "x11.struct.xinput_DeviceState.abs_area.offset_y", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_area_width, { "width", "x11.struct.xinput_DeviceState.abs_area.width", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_area_height, { "height", "x11.struct.xinput_DeviceState.abs_area.height", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_area_screen, { "screen", "x11.struct.xinput_DeviceState.abs_area.screen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceState_abs_area_following, { "following", "x11.struct.xinput_DeviceState.abs_area.following", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceControl_control_id, { "control_id", "x11.xinput.GetDeviceControl.control_id", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceControl), 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceControl_device_id, { "device_id", "x11.xinput.GetDeviceControl.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceControl_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetDeviceControl.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceControl_reply_status, { "status", "x11.xinput.GetDeviceControl.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceControl_reply_control, { "control", "x11.xinput.GetDeviceControl.reply.control", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl, { "xinput_DeviceCtl", "x11.struct.xinput_DeviceCtl", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_control_id, { "control_id", "x11.struct.xinput_DeviceCtl.control_id", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceControl), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_len, { "len", "x11.struct.xinput_DeviceCtl.len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_resolution_first_valuator, { "first_valuator", "x11.struct.xinput_DeviceCtl.resolution.first_valuator", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_resolution_num_valuators, { "num_valuators", "x11.struct.xinput_DeviceCtl.resolution.num_valuators", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_resolution_resolution_values, { "resolution_values", "x11.struct.xinput_DeviceCtl.resolution.resolution_values.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_resolution_resolution_values_item, { "resolution_values", "x11.struct.xinput_DeviceCtl.resolution.resolution_values", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_calib_min_x, { "min_x", "x11.struct.xinput_DeviceCtl.abs_calib.min_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_calib_max_x, { "max_x", "x11.struct.xinput_DeviceCtl.abs_calib.max_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_calib_min_y, { "min_y", "x11.struct.xinput_DeviceCtl.abs_calib.min_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_calib_max_y, { "max_y", "x11.struct.xinput_DeviceCtl.abs_calib.max_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_calib_flip_x, { "flip_x", "x11.struct.xinput_DeviceCtl.abs_calib.flip_x", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_calib_flip_y, { "flip_y", "x11.struct.xinput_DeviceCtl.abs_calib.flip_y", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_calib_rotation, { "rotation", "x11.struct.xinput_DeviceCtl.abs_calib.rotation", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_calib_button_threshold, { "button_threshold", "x11.struct.xinput_DeviceCtl.abs_calib.button_threshold", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_core_status, { "status", "x11.struct.xinput_DeviceCtl.core.status", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_enable_enable, { "enable", "x11.struct.xinput_DeviceCtl.enable.enable", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_area_offset_x, { "offset_x", "x11.struct.xinput_DeviceCtl.abs_area.offset_x", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_area_offset_y, { "offset_y", "x11.struct.xinput_DeviceCtl.abs_area.offset_y", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_area_width, { "width", "x11.struct.xinput_DeviceCtl.abs_area.width", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_area_height, { "height", "x11.struct.xinput_DeviceCtl.abs_area.height", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_area_screen, { "screen", "x11.struct.xinput_DeviceCtl.abs_area.screen", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceCtl_abs_area_following, { "following", "x11.struct.xinput_DeviceCtl.abs_area.following", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceControl_control_id, { "control_id", "x11.xinput.ChangeDeviceControl.control_id", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceControl), 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceControl_device_id, { "device_id", "x11.xinput.ChangeDeviceControl.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceControl_control, { "control", "x11.xinput.ChangeDeviceControl.control", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceControl_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.ChangeDeviceControl.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceControl_reply_status, { "status", "x11.xinput.ChangeDeviceControl.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_ListDeviceProperties_device_id, { "device_id", "x11.xinput.ListDeviceProperties.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListDeviceProperties_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.ListDeviceProperties.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListDeviceProperties_reply_num_atoms, { "num_atoms", "x11.xinput.ListDeviceProperties.reply.num_atoms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListDeviceProperties_reply_atoms, { "atoms", "x11.xinput.ListDeviceProperties.reply.atoms.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ListDeviceProperties_reply_atoms_item, { "atoms", "x11.xinput.ListDeviceProperties.reply.atoms", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_property, { "property", "x11.xinput.ChangeDeviceProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_type, { "type", "x11.xinput.ChangeDeviceProperty.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_device_id, { "device_id", "x11.xinput.ChangeDeviceProperty.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_format, { "format", "x11.xinput.ChangeDeviceProperty.format", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_PropertyFormat), 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_mode, { "mode", "x11.xinput.ChangeDeviceProperty.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_PropMode), 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_num_items, { "num_items", "x11.xinput.ChangeDeviceProperty.num_items", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_8Bits_data8, { "data8", "x11.xinput.ChangeDeviceProperty.8Bits.data8", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_16Bits_data16, { "data16", "x11.xinput.ChangeDeviceProperty.16Bits.data16.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_16Bits_data16_item, { "data16", "x11.xinput.ChangeDeviceProperty.16Bits.data16", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_32Bits_data32, { "data32", "x11.xinput.ChangeDeviceProperty.32Bits.data32.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceProperty_32Bits_data32_item, { "data32", "x11.xinput.ChangeDeviceProperty.32Bits.data32", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeleteDeviceProperty_property, { "property", "x11.xinput.DeleteDeviceProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeleteDeviceProperty_device_id, { "device_id", "x11.xinput.DeleteDeviceProperty.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_property, { "property", "x11.xinput.GetDeviceProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_type, { "type", "x11.xinput.GetDeviceProperty.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_offset, { "offset", "x11.xinput.GetDeviceProperty.offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_len, { "len", "x11.xinput.GetDeviceProperty.len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_device_id, { "device_id", "x11.xinput.GetDeviceProperty.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_delete, { "delete", "x11.xinput.GetDeviceProperty.delete", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_xi_reply_type, { "xi_reply_type", "x11.xinput.GetDeviceProperty.reply.xi_reply_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_type, { "type", "x11.xinput.GetDeviceProperty.reply.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_bytes_after, { "bytes_after", "x11.xinput.GetDeviceProperty.reply.bytes_after", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_num_items, { "num_items", "x11.xinput.GetDeviceProperty.reply.num_items", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_format, { "format", "x11.xinput.GetDeviceProperty.reply.format", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_PropertyFormat), 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_device_id, { "device_id", "x11.xinput.GetDeviceProperty.reply.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_8Bits_data8, { "data8", "x11.xinput.GetDeviceProperty.reply.8Bits.data8", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_16Bits_data16, { "data16", "x11.xinput.GetDeviceProperty.reply.16Bits.data16.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_16Bits_data16_item, { "data16", "x11.xinput.GetDeviceProperty.reply.16Bits.data16", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_32Bits_data32, { "data32", "x11.xinput.GetDeviceProperty.reply.32Bits.data32.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_GetDeviceProperty_reply_32Bits_data32_item, { "data32", "x11.xinput.GetDeviceProperty.reply.32Bits.data32", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_GroupInfo, { "xinput_GroupInfo", "x11.struct.xinput_GroupInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_GroupInfo_base, { "base", "x11.struct.xinput_GroupInfo.base", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_GroupInfo_latched, { "latched", "x11.struct.xinput_GroupInfo.latched", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_GroupInfo_locked, { "locked", "x11.struct.xinput_GroupInfo.locked", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_GroupInfo_effective, { "effective", "x11.struct.xinput_GroupInfo.effective", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_ModifierInfo, { "xinput_ModifierInfo", "x11.struct.xinput_ModifierInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_ModifierInfo_base, { "base", "x11.struct.xinput_ModifierInfo.base", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_ModifierInfo_latched, { "latched", "x11.struct.xinput_ModifierInfo.latched", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_ModifierInfo_locked, { "locked", "x11.struct.xinput_ModifierInfo.locked", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_ModifierInfo_effective, { "effective", "x11.struct.xinput_ModifierInfo.effective", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_window, { "window", "x11.xinput.XIQueryPointer.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_deviceid, { "deviceid", "x11.xinput.XIQueryPointer.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_root, { "root", "x11.xinput.XIQueryPointer.reply.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_child, { "child", "x11.xinput.XIQueryPointer.reply.child", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_root_x, { "root_x", "x11.xinput.XIQueryPointer.reply.root_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_root_y, { "root_y", "x11.xinput.XIQueryPointer.reply.root_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_win_x, { "win_x", "x11.xinput.XIQueryPointer.reply.win_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_win_y, { "win_y", "x11.xinput.XIQueryPointer.reply.win_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_same_screen, { "same_screen", "x11.xinput.XIQueryPointer.reply.same_screen", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_buttons_len, { "buttons_len", "x11.xinput.XIQueryPointer.reply.buttons_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_mods, { "mods", "x11.xinput.XIQueryPointer.reply.mods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_group, { "group", "x11.xinput.XIQueryPointer.reply.group", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_buttons, { "buttons", "x11.xinput.XIQueryPointer.reply.buttons.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryPointer_reply_buttons_item, { "buttons", "x11.xinput.XIQueryPointer.reply.buttons", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_src_win, { "src_win", "x11.xinput.XIWarpPointer.src_win", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_dst_win, { "dst_win", "x11.xinput.XIWarpPointer.dst_win", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_src_x, { "src_x", "x11.xinput.XIWarpPointer.src_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_src_y, { "src_y", "x11.xinput.XIWarpPointer.src_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_src_width, { "src_width", "x11.xinput.XIWarpPointer.src_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_src_height, { "src_height", "x11.xinput.XIWarpPointer.src_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_dst_x, { "dst_x", "x11.xinput.XIWarpPointer.dst_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_dst_y, { "dst_y", "x11.xinput.XIWarpPointer.dst_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIWarpPointer_deviceid, { "deviceid", "x11.xinput.XIWarpPointer.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeCursor_window, { "window", "x11.xinput.XIChangeCursor.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeCursor_cursor, { "cursor", "x11.xinput.XIChangeCursor.cursor", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeCursor_deviceid, { "deviceid", "x11.xinput.XIChangeCursor.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange, { "xinput_HierarchyChange", "x11.struct.xinput_HierarchyChange", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_type, { "type", "x11.struct.xinput_HierarchyChange.type", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_HierarchyChangeType), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_len, { "len", "x11.struct.xinput_HierarchyChange.len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_AddMaster_name_len, { "name_len", "x11.struct.xinput_HierarchyChange.AddMaster.name_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_AddMaster_send_core, { "send_core", "x11.struct.xinput_HierarchyChange.AddMaster.send_core", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_AddMaster_enable, { "enable", "x11.struct.xinput_HierarchyChange.AddMaster.enable", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_AddMaster_name, { "name", "x11.struct.xinput_HierarchyChange.AddMaster.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_RemoveMaster_deviceid, { "deviceid", "x11.struct.xinput_HierarchyChange.RemoveMaster.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_mode, { "return_mode", "x11.struct.xinput_HierarchyChange.RemoveMaster.return_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ChangeMode), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_pointer, { "return_pointer", "x11.struct.xinput_HierarchyChange.RemoveMaster.return_pointer", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_RemoveMaster_return_keyboard, { "return_keyboard", "x11.struct.xinput_HierarchyChange.RemoveMaster.return_keyboard", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_AttachSlave_deviceid, { "deviceid", "x11.struct.xinput_HierarchyChange.AttachSlave.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_AttachSlave_master, { "master", "x11.struct.xinput_HierarchyChange.AttachSlave.master", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyChange_DetachSlave_deviceid, { "deviceid", "x11.struct.xinput_HierarchyChange.DetachSlave.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeHierarchy_num_changes, { "num_changes", "x11.xinput.XIChangeHierarchy.num_changes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeHierarchy_changes, { "changes", "x11.xinput.XIChangeHierarchy.changes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XISetClientPointer_window, { "window", "x11.xinput.XISetClientPointer.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XISetClientPointer_deviceid, { "deviceid", "x11.xinput.XISetClientPointer.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetClientPointer_window, { "window", "x11.xinput.XIGetClientPointer.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetClientPointer_reply_set, { "set", "x11.xinput.XIGetClientPointer.reply.set", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetClientPointer_reply_deviceid, { "deviceid", "x11.xinput.XIGetClientPointer.reply.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask, { "xinput_EventMask", "x11.struct.xinput_EventMask", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_deviceid, { "deviceid", "x11.struct.xinput_EventMask.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_len, { "mask_len", "x11.struct.xinput_EventMask.mask_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_DeviceChanged, { "DeviceChanged", "x11.struct.xinput_EventMask.mask.DeviceChanged", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_KeyPress, { "KeyPress", "x11.struct.xinput_EventMask.mask.KeyPress", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_KeyRelease, { "KeyRelease", "x11.struct.xinput_EventMask.mask.KeyRelease", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_ButtonPress, { "ButtonPress", "x11.struct.xinput_EventMask.mask.ButtonPress", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_ButtonRelease, { "ButtonRelease", "x11.struct.xinput_EventMask.mask.ButtonRelease", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_Motion, { "Motion", "x11.struct.xinput_EventMask.mask.Motion", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_Enter, { "Enter", "x11.struct.xinput_EventMask.mask.Enter", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_Leave, { "Leave", "x11.struct.xinput_EventMask.mask.Leave", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_FocusIn, { "FocusIn", "x11.struct.xinput_EventMask.mask.FocusIn", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_FocusOut, { "FocusOut", "x11.struct.xinput_EventMask.mask.FocusOut", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_Hierarchy, { "Hierarchy", "x11.struct.xinput_EventMask.mask.Hierarchy", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_Property, { "Property", "x11.struct.xinput_EventMask.mask.Property", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_RawKeyPress, { "RawKeyPress", "x11.struct.xinput_EventMask.mask.RawKeyPress", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_RawKeyRelease, { "RawKeyRelease", "x11.struct.xinput_EventMask.mask.RawKeyRelease", FT_BOOLEAN, 32, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_RawButtonPress, { "RawButtonPress", "x11.struct.xinput_EventMask.mask.RawButtonPress", FT_BOOLEAN, 32, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_RawButtonRelease, { "RawButtonRelease", "x11.struct.xinput_EventMask.mask.RawButtonRelease", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_RawMotion, { "RawMotion", "x11.struct.xinput_EventMask.mask.RawMotion", FT_BOOLEAN, 32, NULL, 1U << 17, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_TouchBegin, { "TouchBegin", "x11.struct.xinput_EventMask.mask.TouchBegin", FT_BOOLEAN, 32, NULL, 1U << 18, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_TouchUpdate, { "TouchUpdate", "x11.struct.xinput_EventMask.mask.TouchUpdate", FT_BOOLEAN, 32, NULL, 1U << 19, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_TouchEnd, { "TouchEnd", "x11.struct.xinput_EventMask.mask.TouchEnd", FT_BOOLEAN, 32, NULL, 1U << 20, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_TouchOwnership, { "TouchOwnership", "x11.struct.xinput_EventMask.mask.TouchOwnership", FT_BOOLEAN, 32, NULL, 1U << 21, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_RawTouchBegin, { "RawTouchBegin", "x11.struct.xinput_EventMask.mask.RawTouchBegin", FT_BOOLEAN, 32, NULL, 1U << 22, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_RawTouchUpdate, { "RawTouchUpdate", "x11.struct.xinput_EventMask.mask.RawTouchUpdate", FT_BOOLEAN, 32, NULL, 1U << 23, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_RawTouchEnd, { "RawTouchEnd", "x11.struct.xinput_EventMask.mask.RawTouchEnd", FT_BOOLEAN, 32, NULL, 1U << 24, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_BarrierHit, { "BarrierHit", "x11.struct.xinput_EventMask.mask.BarrierHit", FT_BOOLEAN, 32, NULL, 1U << 25, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_mask_BarrierLeave, { "BarrierLeave", "x11.struct.xinput_EventMask.mask.BarrierLeave", FT_BOOLEAN, 32, NULL, 1U << 26, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask, { "mask", "x11.struct.xinput_EventMask.mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_EventMask_mask_item, { "mask", "x11.struct.xinput_EventMask.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XISelectEvents_window, { "window", "x11.xinput.XISelectEvents.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XISelectEvents_num_mask, { "num_mask", "x11.xinput.XISelectEvents.num_mask", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XISelectEvents_masks, { "masks", "x11.xinput.XISelectEvents.masks", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryVersion_major_version, { "major_version", "x11.xinput.XIQueryVersion.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryVersion_minor_version, { "minor_version", "x11.xinput.XIQueryVersion.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryVersion_reply_major_version, { "major_version", "x11.xinput.XIQueryVersion.reply.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryVersion_reply_minor_version, { "minor_version", "x11.xinput.XIQueryVersion.reply.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass, { "xinput_DeviceClass", "x11.struct.xinput_DeviceClass", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_type, { "type", "x11.struct.xinput_DeviceClass.type", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceClassType), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_len, { "len", "x11.struct.xinput_DeviceClass.len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_sourceid, { "sourceid", "x11.struct.xinput_DeviceClass.sourceid", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Key_num_keys, { "num_keys", "x11.struct.xinput_DeviceClass.Key.num_keys", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Key_keys, { "keys", "x11.struct.xinput_DeviceClass.Key.keys.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Key_keys_item, { "keys", "x11.struct.xinput_DeviceClass.Key.keys", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Button_num_buttons, { "num_buttons", "x11.struct.xinput_DeviceClass.Button.num_buttons", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Button_state, { "state", "x11.struct.xinput_DeviceClass.Button.state.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Button_state_item, { "state", "x11.struct.xinput_DeviceClass.Button.state", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Button_labels, { "labels", "x11.struct.xinput_DeviceClass.Button.labels.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Button_labels_item, { "labels", "x11.struct.xinput_DeviceClass.Button.labels", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Valuator_number, { "number", "x11.struct.xinput_DeviceClass.Valuator.number", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Valuator_label, { "label", "x11.struct.xinput_DeviceClass.Valuator.label", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Valuator_min, { "min", "x11.struct.xinput_DeviceClass.Valuator.min", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Valuator_max, { "max", "x11.struct.xinput_DeviceClass.Valuator.max", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Valuator_value, { "value", "x11.struct.xinput_DeviceClass.Valuator.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Valuator_resolution, { "resolution", "x11.struct.xinput_DeviceClass.Valuator.resolution", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Valuator_mode, { "mode", "x11.struct.xinput_DeviceClass.Valuator.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ValuatorMode), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Scroll_number, { "number", "x11.struct.xinput_DeviceClass.Scroll.number", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Scroll_scroll_type, { "scroll_type", "x11.struct.xinput_DeviceClass.Scroll.scroll_type", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_ScrollType), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Scroll_flags_mask_NoEmulation, { "NoEmulation", "x11.struct.xinput_DeviceClass.Scroll.flags.NoEmulation", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Scroll_flags_mask_Preferred, { "Preferred", "x11.struct.xinput_DeviceClass.Scroll.flags.Preferred", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Scroll_flags, { "flags", "x11.struct.xinput_DeviceClass.Scroll.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Scroll_increment, { "increment", "x11.struct.xinput_DeviceClass.Scroll.increment", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Touch_mode, { "mode", "x11.struct.xinput_DeviceClass.Touch.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_TouchMode), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_DeviceClass_Touch_num_touches, { "num_touches", "x11.struct.xinput_DeviceClass.Touch.num_touches", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo, { "xinput_XIDeviceInfo", "x11.struct.xinput_XIDeviceInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo_deviceid, { "deviceid", "x11.struct.xinput_XIDeviceInfo.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo_type, { "type", "x11.struct.xinput_XIDeviceInfo.type", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceType), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo_attachment, { "attachment", "x11.struct.xinput_XIDeviceInfo.attachment", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo_num_classes, { "num_classes", "x11.struct.xinput_XIDeviceInfo.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo_name_len, { "name_len", "x11.struct.xinput_XIDeviceInfo.name_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo_enabled, { "enabled", "x11.struct.xinput_XIDeviceInfo.enabled", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo_name, { "name", "x11.struct.xinput_XIDeviceInfo.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_XIDeviceInfo_classes, { "classes", "x11.struct.xinput_XIDeviceInfo.classes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryDevice_deviceid, { "deviceid", "x11.xinput.XIQueryDevice.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryDevice_reply_num_infos, { "num_infos", "x11.xinput.XIQueryDevice.reply.num_infos", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIQueryDevice_reply_infos, { "infos", "x11.xinput.XIQueryDevice.reply.infos", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XISetFocus_window, { "window", "x11.xinput.XISetFocus.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XISetFocus_time, { "time", "x11.xinput.XISetFocus.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_XISetFocus_deviceid, { "deviceid", "x11.xinput.XISetFocus.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetFocus_deviceid, { "deviceid", "x11.xinput.XIGetFocus.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetFocus_reply_focus, { "focus", "x11.xinput.XIGetFocus.reply.focus", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_window, { "window", "x11.xinput.XIGrabDevice.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_time, { "time", "x11.xinput.XIGrabDevice.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_cursor, { "cursor", "x11.xinput.XIGrabDevice.cursor", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_deviceid, { "deviceid", "x11.xinput.XIGrabDevice.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_mode, { "mode", "x11.xinput.XIGrabDevice.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_paired_device_mode, { "paired_device_mode", "x11.xinput.XIGrabDevice.paired_device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_owner_events, { "owner_events", "x11.xinput.XIGrabDevice.owner_events", FT_UINT8, BASE_DEC, VALS(x11_enum_xinput_GrabOwner), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_mask_len, { "mask_len", "x11.xinput.XIGrabDevice.mask_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_mask, { "mask", "x11.xinput.XIGrabDevice.mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_mask_item, { "mask", "x11.xinput.XIGrabDevice.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGrabDevice_reply_status, { "status", "x11.xinput.XIGrabDevice.reply.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_XIUngrabDevice_time, { "time", "x11.xinput.XIUngrabDevice.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_XIUngrabDevice_deviceid, { "deviceid", "x11.xinput.XIUngrabDevice.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIAllowEvents_time, { "time", "x11.xinput.XIAllowEvents.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_XIAllowEvents_deviceid, { "deviceid", "x11.xinput.XIAllowEvents.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIAllowEvents_event_mode, { "event_mode", "x11.xinput.XIAllowEvents.event_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_EventMode), 0, NULL, HFILL }}, { &hf_x11_xinput_XIAllowEvents_touchid, { "touchid", "x11.xinput.XIAllowEvents.touchid", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIAllowEvents_grab_window, { "grab_window", "x11.xinput.XIAllowEvents.grab_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_GrabModifierInfo, { "xinput_GrabModifierInfo", "x11.struct.xinput_GrabModifierInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_GrabModifierInfo_modifiers, { "modifiers", "x11.struct.xinput_GrabModifierInfo.modifiers", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xinput_ModifierMask), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_GrabModifierInfo_status, { "status", "x11.struct.xinput_GrabModifierInfo.status", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabStatus), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_time, { "time", "x11.xinput.XIPassiveGrabDevice.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_grab_window, { "grab_window", "x11.xinput.XIPassiveGrabDevice.grab_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_cursor, { "cursor", "x11.xinput.XIPassiveGrabDevice.cursor", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_detail, { "detail", "x11.xinput.XIPassiveGrabDevice.detail", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_deviceid, { "deviceid", "x11.xinput.XIPassiveGrabDevice.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_num_modifiers, { "num_modifiers", "x11.xinput.XIPassiveGrabDevice.num_modifiers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_mask_len, { "mask_len", "x11.xinput.XIPassiveGrabDevice.mask_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_grab_type, { "grab_type", "x11.xinput.XIPassiveGrabDevice.grab_type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_GrabType), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_grab_mode, { "grab_mode", "x11.xinput.XIPassiveGrabDevice.grab_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_GrabMode22), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_paired_device_mode, { "paired_device_mode", "x11.xinput.XIPassiveGrabDevice.paired_device_mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_GrabMode), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_owner_events, { "owner_events", "x11.xinput.XIPassiveGrabDevice.owner_events", FT_UINT8, BASE_DEC, VALS(x11_enum_xinput_GrabOwner), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_mask, { "mask", "x11.xinput.XIPassiveGrabDevice.mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_mask_item, { "mask", "x11.xinput.XIPassiveGrabDevice.mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_modifiers, { "modifiers", "x11.xinput.XIPassiveGrabDevice.modifiers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_modifiers_item, { "modifiers", "x11.xinput.XIPassiveGrabDevice.modifiers", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_reply_num_modifiers, { "num_modifiers", "x11.xinput.XIPassiveGrabDevice.reply.num_modifiers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_reply_modifiers, { "modifiers", "x11.xinput.XIPassiveGrabDevice.reply.modifiers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveGrabDevice_reply_modifiers_item, { "modifiers", "x11.xinput.XIPassiveGrabDevice.reply.modifiers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveUngrabDevice_grab_window, { "grab_window", "x11.xinput.XIPassiveUngrabDevice.grab_window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveUngrabDevice_detail, { "detail", "x11.xinput.XIPassiveUngrabDevice.detail", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveUngrabDevice_deviceid, { "deviceid", "x11.xinput.XIPassiveUngrabDevice.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveUngrabDevice_num_modifiers, { "num_modifiers", "x11.xinput.XIPassiveUngrabDevice.num_modifiers", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveUngrabDevice_grab_type, { "grab_type", "x11.xinput.XIPassiveUngrabDevice.grab_type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_GrabType), 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveUngrabDevice_modifiers, { "modifiers", "x11.xinput.XIPassiveUngrabDevice.modifiers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIPassiveUngrabDevice_modifiers_item, { "modifiers", "x11.xinput.XIPassiveUngrabDevice.modifiers", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIListProperties_deviceid, { "deviceid", "x11.xinput.XIListProperties.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIListProperties_reply_num_properties, { "num_properties", "x11.xinput.XIListProperties.reply.num_properties", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIListProperties_reply_properties, { "properties", "x11.xinput.XIListProperties.reply.properties.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIListProperties_reply_properties_item, { "properties", "x11.xinput.XIListProperties.reply.properties", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_deviceid, { "deviceid", "x11.xinput.XIChangeProperty.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_mode, { "mode", "x11.xinput.XIChangeProperty.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_PropMode), 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_format, { "format", "x11.xinput.XIChangeProperty.format", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_PropertyFormat), 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_property, { "property", "x11.xinput.XIChangeProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_type, { "type", "x11.xinput.XIChangeProperty.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_num_items, { "num_items", "x11.xinput.XIChangeProperty.num_items", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_8Bits_data8, { "data8", "x11.xinput.XIChangeProperty.8Bits.data8", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_16Bits_data16, { "data16", "x11.xinput.XIChangeProperty.16Bits.data16.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_16Bits_data16_item, { "data16", "x11.xinput.XIChangeProperty.16Bits.data16", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_32Bits_data32, { "data32", "x11.xinput.XIChangeProperty.32Bits.data32.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIChangeProperty_32Bits_data32_item, { "data32", "x11.xinput.XIChangeProperty.32Bits.data32", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIDeleteProperty_deviceid, { "deviceid", "x11.xinput.XIDeleteProperty.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIDeleteProperty_property, { "property", "x11.xinput.XIDeleteProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_deviceid, { "deviceid", "x11.xinput.XIGetProperty.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_delete, { "delete", "x11.xinput.XIGetProperty.delete", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_property, { "property", "x11.xinput.XIGetProperty.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_type, { "type", "x11.xinput.XIGetProperty.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_offset, { "offset", "x11.xinput.XIGetProperty.offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_len, { "len", "x11.xinput.XIGetProperty.len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_type, { "type", "x11.xinput.XIGetProperty.reply.type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_bytes_after, { "bytes_after", "x11.xinput.XIGetProperty.reply.bytes_after", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_num_items, { "num_items", "x11.xinput.XIGetProperty.reply.num_items", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_format, { "format", "x11.xinput.XIGetProperty.reply.format", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_PropertyFormat), 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_8Bits_data8, { "data8", "x11.xinput.XIGetProperty.reply.8Bits.data8", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_16Bits_data16, { "data16", "x11.xinput.XIGetProperty.reply.16Bits.data16.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_16Bits_data16_item, { "data16", "x11.xinput.XIGetProperty.reply.16Bits.data16", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_32Bits_data32, { "data32", "x11.xinput.XIGetProperty.reply.32Bits.data32.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetProperty_reply_32Bits_data32_item, { "data32", "x11.xinput.XIGetProperty.reply.32Bits.data32", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetSelectedEvents_window, { "window", "x11.xinput.XIGetSelectedEvents.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetSelectedEvents_reply_num_masks, { "num_masks", "x11.xinput.XIGetSelectedEvents.reply.num_masks", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIGetSelectedEvents_reply_masks, { "masks", "x11.xinput.XIGetSelectedEvents.reply.masks", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_BarrierReleasePointerInfo, { "xinput_BarrierReleasePointerInfo", "x11.struct.xinput_BarrierReleasePointerInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_BarrierReleasePointerInfo_deviceid, { "deviceid", "x11.struct.xinput_BarrierReleasePointerInfo.deviceid", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_BarrierReleasePointerInfo_barrier, { "barrier", "x11.struct.xinput_BarrierReleasePointerInfo.barrier", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_BarrierReleasePointerInfo_eventid, { "eventid", "x11.struct.xinput_BarrierReleasePointerInfo.eventid", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIBarrierReleasePointer_num_barriers, { "num_barriers", "x11.xinput.XIBarrierReleasePointer.num_barriers", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIBarrierReleasePointer_barriers, { "barriers", "x11.xinput.XIBarrierReleasePointer.barriers.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_XIBarrierReleasePointer_barriers_item, { "barriers", "x11.xinput.XIBarrierReleasePointer.barriers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_detail, { "detail", "x11.xinput.DeviceKeyPress.detail", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_time, { "time", "x11.xinput.DeviceKeyPress.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_root, { "root", "x11.xinput.DeviceKeyPress.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_event, { "event", "x11.xinput.DeviceKeyPress.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_child, { "child", "x11.xinput.DeviceKeyPress.child", FT_UINT32, BASE_HEX, VALS(x11_enum_xproto_Window), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_root_x, { "root_x", "x11.xinput.DeviceKeyPress.root_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_root_y, { "root_y", "x11.xinput.DeviceKeyPress.root_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_event_x, { "event_x", "x11.xinput.DeviceKeyPress.event_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_event_y, { "event_y", "x11.xinput.DeviceKeyPress.event_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Shift, { "Shift", "x11.xinput.DeviceKeyPress.state.Shift", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Lock, { "Lock", "x11.xinput.DeviceKeyPress.state.Lock", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Control, { "Control", "x11.xinput.DeviceKeyPress.state.Control", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Mod1, { "Mod1", "x11.xinput.DeviceKeyPress.state.Mod1", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Mod2, { "Mod2", "x11.xinput.DeviceKeyPress.state.Mod2", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Mod3, { "Mod3", "x11.xinput.DeviceKeyPress.state.Mod3", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Mod4, { "Mod4", "x11.xinput.DeviceKeyPress.state.Mod4", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Mod5, { "Mod5", "x11.xinput.DeviceKeyPress.state.Mod5", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Button1, { "Button1", "x11.xinput.DeviceKeyPress.state.Button1", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Button2, { "Button2", "x11.xinput.DeviceKeyPress.state.Button2", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Button3, { "Button3", "x11.xinput.DeviceKeyPress.state.Button3", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Button4, { "Button4", "x11.xinput.DeviceKeyPress.state.Button4", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state_mask_Button5, { "Button5", "x11.xinput.DeviceKeyPress.state.Button5", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_state, { "state", "x11.xinput.DeviceKeyPress.state", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_same_screen, { "same_screen", "x11.xinput.DeviceKeyPress.same_screen", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyPress_device_id, { "device_id", "x11.xinput.DeviceKeyPress.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceFocusIn_detail, { "detail", "x11.xinput.DeviceFocusIn.detail", FT_UINT8, BASE_DEC, VALS(x11_enum_xproto_NotifyDetail), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceFocusIn_time, { "time", "x11.xinput.DeviceFocusIn.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceFocusIn_window, { "window", "x11.xinput.DeviceFocusIn.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceFocusIn_mode, { "mode", "x11.xinput.DeviceFocusIn.mode", FT_UINT8, BASE_DEC, VALS(x11_enum_xproto_NotifyMode), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceFocusIn_device_id, { "device_id", "x11.xinput.DeviceFocusIn.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_device_id, { "device_id", "x11.xinput.DeviceStateNotify.device_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_time, { "time", "x11.xinput.DeviceStateNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_num_keys, { "num_keys", "x11.xinput.DeviceStateNotify.num_keys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_num_buttons, { "num_buttons", "x11.xinput.DeviceStateNotify.num_buttons", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_num_valuators, { "num_valuators", "x11.xinput.DeviceStateNotify.num_valuators", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingKeys, { "ReportingKeys", "x11.xinput.DeviceStateNotify.classes_reported.ReportingKeys", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingButtons, { "ReportingButtons", "x11.xinput.DeviceStateNotify.classes_reported.ReportingButtons", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_ReportingValuators, { "ReportingValuators", "x11.xinput.DeviceStateNotify.classes_reported.ReportingValuators", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_DeviceModeAbsolute, { "DeviceModeAbsolute", "x11.xinput.DeviceStateNotify.classes_reported.DeviceModeAbsolute", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_classes_reported_mask_OutOfProximity, { "OutOfProximity", "x11.xinput.DeviceStateNotify.classes_reported.OutOfProximity", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_classes_reported, { "classes_reported", "x11.xinput.DeviceStateNotify.classes_reported", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_buttons, { "buttons", "x11.xinput.DeviceStateNotify.buttons", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_keys, { "keys", "x11.xinput.DeviceStateNotify.keys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_valuators, { "valuators", "x11.xinput.DeviceStateNotify.valuators.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceStateNotify_valuators_item, { "valuators", "x11.xinput.DeviceStateNotify.valuators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceMappingNotify_device_id, { "device_id", "x11.xinput.DeviceMappingNotify.device_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceMappingNotify_request, { "request", "x11.xinput.DeviceMappingNotify.request", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_Mapping), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceMappingNotify_first_keycode, { "first_keycode", "x11.xinput.DeviceMappingNotify.first_keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceMappingNotify_count, { "count", "x11.xinput.DeviceMappingNotify.count", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceMappingNotify_time, { "time", "x11.xinput.DeviceMappingNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceNotify_device_id, { "device_id", "x11.xinput.ChangeDeviceNotify.device_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceNotify_time, { "time", "x11.xinput.ChangeDeviceNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ChangeDeviceNotify_request, { "request", "x11.xinput.ChangeDeviceNotify.request", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ChangeDevice), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyStateNotify_device_id, { "device_id", "x11.xinput.DeviceKeyStateNotify.device_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceKeyStateNotify_keys, { "keys", "x11.xinput.DeviceKeyStateNotify.keys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceButtonStateNotify_device_id, { "device_id", "x11.xinput.DeviceButtonStateNotify.device_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceButtonStateNotify_buttons, { "buttons", "x11.xinput.DeviceButtonStateNotify.buttons", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DevicePresenceNotify_time, { "time", "x11.xinput.DevicePresenceNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DevicePresenceNotify_devchange, { "devchange", "x11.xinput.DevicePresenceNotify.devchange", FT_UINT8, BASE_DEC, VALS(x11_enum_xinput_DeviceChange), 0, NULL, HFILL }}, { &hf_x11_xinput_DevicePresenceNotify_device_id, { "device_id", "x11.xinput.DevicePresenceNotify.device_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DevicePresenceNotify_control, { "control", "x11.xinput.DevicePresenceNotify.control", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DevicePropertyNotify_state, { "state", "x11.xinput.DevicePropertyNotify.state", FT_UINT8, BASE_DEC, VALS(x11_enum_xproto_Property), 0, NULL, HFILL }}, { &hf_x11_xinput_DevicePropertyNotify_time, { "time", "x11.xinput.DevicePropertyNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DevicePropertyNotify_property, { "property", "x11.xinput.DevicePropertyNotify.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DevicePropertyNotify_device_id, { "device_id", "x11.xinput.DevicePropertyNotify.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceChanged_deviceid, { "deviceid", "x11.xinput.DeviceChanged.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceChanged_time, { "time", "x11.xinput.DeviceChanged.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceChanged_num_classes, { "num_classes", "x11.xinput.DeviceChanged.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceChanged_sourceid, { "sourceid", "x11.xinput.DeviceChanged.sourceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceChanged_reason, { "reason", "x11.xinput.DeviceChanged.reason", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_ChangeReason), 0, NULL, HFILL }}, { &hf_x11_xinput_DeviceChanged_classes, { "classes", "x11.xinput.DeviceChanged.classes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_deviceid, { "deviceid", "x11.xinput.KeyPress.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_time, { "time", "x11.xinput.KeyPress.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_detail, { "detail", "x11.xinput.KeyPress.detail", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_root, { "root", "x11.xinput.KeyPress.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_event, { "event", "x11.xinput.KeyPress.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_child, { "child", "x11.xinput.KeyPress.child", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_root_x, { "root_x", "x11.xinput.KeyPress.root_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_root_y, { "root_y", "x11.xinput.KeyPress.root_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_event_x, { "event_x", "x11.xinput.KeyPress.event_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_event_y, { "event_y", "x11.xinput.KeyPress.event_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_buttons_len, { "buttons_len", "x11.xinput.KeyPress.buttons_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_valuators_len, { "valuators_len", "x11.xinput.KeyPress.valuators_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_sourceid, { "sourceid", "x11.xinput.KeyPress.sourceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_flags_mask_KeyRepeat, { "KeyRepeat", "x11.xinput.KeyPress.flags.KeyRepeat", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_flags, { "flags", "x11.xinput.KeyPress.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_mods, { "mods", "x11.xinput.KeyPress.mods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_group, { "group", "x11.xinput.KeyPress.group", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_button_mask, { "button_mask", "x11.xinput.KeyPress.button_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_button_mask_item, { "button_mask", "x11.xinput.KeyPress.button_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_valuator_mask, { "valuator_mask", "x11.xinput.KeyPress.valuator_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_valuator_mask_item, { "valuator_mask", "x11.xinput.KeyPress.valuator_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_axisvalues, { "axisvalues", "x11.xinput.KeyPress.axisvalues.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_KeyPress_axisvalues_item, { "axisvalues", "x11.xinput.KeyPress.axisvalues", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_deviceid, { "deviceid", "x11.xinput.ButtonPress.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_time, { "time", "x11.xinput.ButtonPress.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_detail, { "detail", "x11.xinput.ButtonPress.detail", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_root, { "root", "x11.xinput.ButtonPress.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_event, { "event", "x11.xinput.ButtonPress.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_child, { "child", "x11.xinput.ButtonPress.child", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_root_x, { "root_x", "x11.xinput.ButtonPress.root_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_root_y, { "root_y", "x11.xinput.ButtonPress.root_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_event_x, { "event_x", "x11.xinput.ButtonPress.event_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_event_y, { "event_y", "x11.xinput.ButtonPress.event_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_buttons_len, { "buttons_len", "x11.xinput.ButtonPress.buttons_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_valuators_len, { "valuators_len", "x11.xinput.ButtonPress.valuators_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_sourceid, { "sourceid", "x11.xinput.ButtonPress.sourceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_flags_mask_PointerEmulated, { "PointerEmulated", "x11.xinput.ButtonPress.flags.PointerEmulated", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_flags, { "flags", "x11.xinput.ButtonPress.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_mods, { "mods", "x11.xinput.ButtonPress.mods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_group, { "group", "x11.xinput.ButtonPress.group", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_button_mask, { "button_mask", "x11.xinput.ButtonPress.button_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_button_mask_item, { "button_mask", "x11.xinput.ButtonPress.button_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_valuator_mask, { "valuator_mask", "x11.xinput.ButtonPress.valuator_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_valuator_mask_item, { "valuator_mask", "x11.xinput.ButtonPress.valuator_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_axisvalues, { "axisvalues", "x11.xinput.ButtonPress.axisvalues.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_ButtonPress_axisvalues_item, { "axisvalues", "x11.xinput.ButtonPress.axisvalues", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_deviceid, { "deviceid", "x11.xinput.Enter.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_time, { "time", "x11.xinput.Enter.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_sourceid, { "sourceid", "x11.xinput.Enter.sourceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_mode, { "mode", "x11.xinput.Enter.mode", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_NotifyMode), 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_detail, { "detail", "x11.xinput.Enter.detail", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_NotifyDetail), 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_root, { "root", "x11.xinput.Enter.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_event, { "event", "x11.xinput.Enter.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_child, { "child", "x11.xinput.Enter.child", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_root_x, { "root_x", "x11.xinput.Enter.root_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_root_y, { "root_y", "x11.xinput.Enter.root_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_event_x, { "event_x", "x11.xinput.Enter.event_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_event_y, { "event_y", "x11.xinput.Enter.event_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_same_screen, { "same_screen", "x11.xinput.Enter.same_screen", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_focus, { "focus", "x11.xinput.Enter.focus", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_buttons_len, { "buttons_len", "x11.xinput.Enter.buttons_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_mods, { "mods", "x11.xinput.Enter.mods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_group, { "group", "x11.xinput.Enter.group", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_buttons, { "buttons", "x11.xinput.Enter.buttons.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Enter_buttons_item, { "buttons", "x11.xinput.Enter.buttons", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo, { "xinput_HierarchyInfo", "x11.struct.xinput_HierarchyInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_deviceid, { "deviceid", "x11.struct.xinput_HierarchyInfo.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_attachment, { "attachment", "x11.struct.xinput_HierarchyInfo.attachment", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_type, { "type", "x11.struct.xinput_HierarchyInfo.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_DeviceType), 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_enabled, { "enabled", "x11.struct.xinput_HierarchyInfo.enabled", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_MasterAdded, { "MasterAdded", "x11.struct.xinput_HierarchyInfo.flags.MasterAdded", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_MasterRemoved, { "MasterRemoved", "x11.struct.xinput_HierarchyInfo.flags.MasterRemoved", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveAdded, { "SlaveAdded", "x11.struct.xinput_HierarchyInfo.flags.SlaveAdded", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveRemoved, { "SlaveRemoved", "x11.struct.xinput_HierarchyInfo.flags.SlaveRemoved", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveAttached, { "SlaveAttached", "x11.struct.xinput_HierarchyInfo.flags.SlaveAttached", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_SlaveDetached, { "SlaveDetached", "x11.struct.xinput_HierarchyInfo.flags.SlaveDetached", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_DeviceEnabled, { "DeviceEnabled", "x11.struct.xinput_HierarchyInfo.flags.DeviceEnabled", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags_mask_DeviceDisabled, { "DeviceDisabled", "x11.struct.xinput_HierarchyInfo.flags.DeviceDisabled", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xinput_HierarchyInfo_flags, { "flags", "x11.struct.xinput_HierarchyInfo.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_deviceid, { "deviceid", "x11.xinput.Hierarchy.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_time, { "time", "x11.xinput.Hierarchy.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags_mask_MasterAdded, { "MasterAdded", "x11.xinput.Hierarchy.flags.MasterAdded", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags_mask_MasterRemoved, { "MasterRemoved", "x11.xinput.Hierarchy.flags.MasterRemoved", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags_mask_SlaveAdded, { "SlaveAdded", "x11.xinput.Hierarchy.flags.SlaveAdded", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags_mask_SlaveRemoved, { "SlaveRemoved", "x11.xinput.Hierarchy.flags.SlaveRemoved", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags_mask_SlaveAttached, { "SlaveAttached", "x11.xinput.Hierarchy.flags.SlaveAttached", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags_mask_SlaveDetached, { "SlaveDetached", "x11.xinput.Hierarchy.flags.SlaveDetached", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags_mask_DeviceEnabled, { "DeviceEnabled", "x11.xinput.Hierarchy.flags.DeviceEnabled", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags_mask_DeviceDisabled, { "DeviceDisabled", "x11.xinput.Hierarchy.flags.DeviceDisabled", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_flags, { "flags", "x11.xinput.Hierarchy.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_num_infos, { "num_infos", "x11.xinput.Hierarchy.num_infos", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_infos, { "infos", "x11.xinput.Hierarchy.infos.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Hierarchy_infos_item, { "infos", "x11.xinput.Hierarchy.infos", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Property_deviceid, { "deviceid", "x11.xinput.Property.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_Property_time, { "time", "x11.xinput.Property.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_Property_property, { "property", "x11.xinput.Property.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_Property_what, { "what", "x11.xinput.Property.what", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xinput_PropertyFlag), 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_deviceid, { "deviceid", "x11.xinput.RawKeyPress.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_time, { "time", "x11.xinput.RawKeyPress.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_detail, { "detail", "x11.xinput.RawKeyPress.detail", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_sourceid, { "sourceid", "x11.xinput.RawKeyPress.sourceid", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_valuators_len, { "valuators_len", "x11.xinput.RawKeyPress.valuators_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_flags_mask_KeyRepeat, { "KeyRepeat", "x11.xinput.RawKeyPress.flags.KeyRepeat", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_flags, { "flags", "x11.xinput.RawKeyPress.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_valuator_mask, { "valuator_mask", "x11.xinput.RawKeyPress.valuator_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_valuator_mask_item, { "valuator_mask", "x11.xinput.RawKeyPress.valuator_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_axisvalues, { "axisvalues", "x11.xinput.RawKeyPress.axisvalues.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_axisvalues_item, { "axisvalues", "x11.xinput.RawKeyPress.axisvalues", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_axisvalues_raw, { "axisvalues_raw", "x11.xinput.RawKeyPress.axisvalues_raw.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawKeyPress_axisvalues_raw_item, { "axisvalues_raw", "x11.xinput.RawKeyPress.axisvalues_raw", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_deviceid, { "deviceid", "x11.xinput.RawButtonPress.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_time, { "time", "x11.xinput.RawButtonPress.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_detail, { "detail", "x11.xinput.RawButtonPress.detail", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_sourceid, { "sourceid", "x11.xinput.RawButtonPress.sourceid", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_valuators_len, { "valuators_len", "x11.xinput.RawButtonPress.valuators_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_flags_mask_PointerEmulated, { "PointerEmulated", "x11.xinput.RawButtonPress.flags.PointerEmulated", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_flags, { "flags", "x11.xinput.RawButtonPress.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_valuator_mask, { "valuator_mask", "x11.xinput.RawButtonPress.valuator_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_valuator_mask_item, { "valuator_mask", "x11.xinput.RawButtonPress.valuator_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_axisvalues, { "axisvalues", "x11.xinput.RawButtonPress.axisvalues.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_axisvalues_item, { "axisvalues", "x11.xinput.RawButtonPress.axisvalues", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_axisvalues_raw, { "axisvalues_raw", "x11.xinput.RawButtonPress.axisvalues_raw.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawButtonPress_axisvalues_raw_item, { "axisvalues_raw", "x11.xinput.RawButtonPress.axisvalues_raw", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_deviceid, { "deviceid", "x11.xinput.TouchBegin.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_time, { "time", "x11.xinput.TouchBegin.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_detail, { "detail", "x11.xinput.TouchBegin.detail", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_root, { "root", "x11.xinput.TouchBegin.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_event, { "event", "x11.xinput.TouchBegin.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_child, { "child", "x11.xinput.TouchBegin.child", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_root_x, { "root_x", "x11.xinput.TouchBegin.root_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_root_y, { "root_y", "x11.xinput.TouchBegin.root_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_event_x, { "event_x", "x11.xinput.TouchBegin.event_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_event_y, { "event_y", "x11.xinput.TouchBegin.event_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_buttons_len, { "buttons_len", "x11.xinput.TouchBegin.buttons_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_valuators_len, { "valuators_len", "x11.xinput.TouchBegin.valuators_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_sourceid, { "sourceid", "x11.xinput.TouchBegin.sourceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_flags_mask_TouchPendingEnd, { "TouchPendingEnd", "x11.xinput.TouchBegin.flags.TouchPendingEnd", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_flags_mask_TouchEmulatingPointer, { "TouchEmulatingPointer", "x11.xinput.TouchBegin.flags.TouchEmulatingPointer", FT_BOOLEAN, 32, NULL, 1U << 17, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_flags, { "flags", "x11.xinput.TouchBegin.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_mods, { "mods", "x11.xinput.TouchBegin.mods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_group, { "group", "x11.xinput.TouchBegin.group", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_button_mask, { "button_mask", "x11.xinput.TouchBegin.button_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_button_mask_item, { "button_mask", "x11.xinput.TouchBegin.button_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_valuator_mask, { "valuator_mask", "x11.xinput.TouchBegin.valuator_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_valuator_mask_item, { "valuator_mask", "x11.xinput.TouchBegin.valuator_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_axisvalues, { "axisvalues", "x11.xinput.TouchBegin.axisvalues.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchBegin_axisvalues_item, { "axisvalues", "x11.xinput.TouchBegin.axisvalues", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchOwnership_deviceid, { "deviceid", "x11.xinput.TouchOwnership.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_TouchOwnership_time, { "time", "x11.xinput.TouchOwnership.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_TouchOwnership_touchid, { "touchid", "x11.xinput.TouchOwnership.touchid", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchOwnership_root, { "root", "x11.xinput.TouchOwnership.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchOwnership_event, { "event", "x11.xinput.TouchOwnership.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchOwnership_child, { "child", "x11.xinput.TouchOwnership.child", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_TouchOwnership_sourceid, { "sourceid", "x11.xinput.TouchOwnership.sourceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_TouchOwnership_flags, { "flags", "x11.xinput.TouchOwnership.flags", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xinput_TouchOwnershipFlags), 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_deviceid, { "deviceid", "x11.xinput.RawTouchBegin.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_time, { "time", "x11.xinput.RawTouchBegin.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_detail, { "detail", "x11.xinput.RawTouchBegin.detail", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_sourceid, { "sourceid", "x11.xinput.RawTouchBegin.sourceid", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_valuators_len, { "valuators_len", "x11.xinput.RawTouchBegin.valuators_len", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_flags_mask_TouchPendingEnd, { "TouchPendingEnd", "x11.xinput.RawTouchBegin.flags.TouchPendingEnd", FT_BOOLEAN, 32, NULL, 1U << 16, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_flags_mask_TouchEmulatingPointer, { "TouchEmulatingPointer", "x11.xinput.RawTouchBegin.flags.TouchEmulatingPointer", FT_BOOLEAN, 32, NULL, 1U << 17, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_flags, { "flags", "x11.xinput.RawTouchBegin.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_valuator_mask, { "valuator_mask", "x11.xinput.RawTouchBegin.valuator_mask.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_valuator_mask_item, { "valuator_mask", "x11.xinput.RawTouchBegin.valuator_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_axisvalues, { "axisvalues", "x11.xinput.RawTouchBegin.axisvalues.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_axisvalues_item, { "axisvalues", "x11.xinput.RawTouchBegin.axisvalues", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_axisvalues_raw, { "axisvalues_raw", "x11.xinput.RawTouchBegin.axisvalues_raw.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_RawTouchBegin_axisvalues_raw_item, { "axisvalues_raw", "x11.xinput.RawTouchBegin.axisvalues_raw", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_deviceid, { "deviceid", "x11.xinput.BarrierHit.deviceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_time, { "time", "x11.xinput.BarrierHit.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_eventid, { "eventid", "x11.xinput.BarrierHit.eventid", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_root, { "root", "x11.xinput.BarrierHit.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_event, { "event", "x11.xinput.BarrierHit.event", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_barrier, { "barrier", "x11.xinput.BarrierHit.barrier", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_dtime, { "dtime", "x11.xinput.BarrierHit.dtime", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_flags_mask_PointerReleased, { "PointerReleased", "x11.xinput.BarrierHit.flags.PointerReleased", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_flags_mask_DeviceIsGrabbed, { "DeviceIsGrabbed", "x11.xinput.BarrierHit.flags.DeviceIsGrabbed", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_flags, { "flags", "x11.xinput.BarrierHit.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_sourceid, { "sourceid", "x11.xinput.BarrierHit.sourceid", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xinput_Device), 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_root_x, { "root_x", "x11.xinput.BarrierHit.root_x", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_root_y, { "root_y", "x11.xinput.BarrierHit.root_y", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_dx, { "dx", "x11.xinput.BarrierHit.dx", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_BarrierHit_dy, { "dy", "x11.xinput.BarrierHit.dy", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SendExtensionEvent_destination, { "destination", "x11.xinput.SendExtensionEvent.destination", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SendExtensionEvent_device_id, { "device_id", "x11.xinput.SendExtensionEvent.device_id", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SendExtensionEvent_propagate, { "propagate", "x11.xinput.SendExtensionEvent.propagate", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SendExtensionEvent_num_classes, { "num_classes", "x11.xinput.SendExtensionEvent.num_classes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SendExtensionEvent_num_events, { "num_events", "x11.xinput.SendExtensionEvent.num_events", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SendExtensionEvent_events, { "events", "x11.xinput.SendExtensionEvent.events", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SendExtensionEvent_classes, { "classes", "x11.xinput.SendExtensionEvent.classes.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_SendExtensionEvent_classes_item, { "classes", "x11.xinput.SendExtensionEvent.classes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xinput_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xinput_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xkb_IndicatorMap, { "xkb_IndicatorMap", "x11.struct.xkb_IndicatorMap", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_flags, { "flags", "x11.struct.xkb_IndicatorMap.flags", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_IMFlag), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_whichGroups, { "whichGroups", "x11.struct.xkb_IndicatorMap.whichGroups", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_IMGroupsWhich), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_groups, { "groups", "x11.struct.xkb_IndicatorMap.groups", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SetOfGroup), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_whichMods, { "whichMods", "x11.struct.xkb_IndicatorMap.whichMods", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_IMModsWhich), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_Shift, { "Shift", "x11.struct.xkb_IndicatorMap.mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_Lock, { "Lock", "x11.struct.xkb_IndicatorMap.mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_Control, { "Control", "x11.struct.xkb_IndicatorMap.mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_1, { "1", "x11.struct.xkb_IndicatorMap.mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_2, { "2", "x11.struct.xkb_IndicatorMap.mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_3, { "3", "x11.struct.xkb_IndicatorMap.mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_4, { "4", "x11.struct.xkb_IndicatorMap.mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_5, { "5", "x11.struct.xkb_IndicatorMap.mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods_mask_Any, { "Any", "x11.struct.xkb_IndicatorMap.mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_mods, { "mods", "x11.struct.xkb_IndicatorMap.mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_Shift, { "Shift", "x11.struct.xkb_IndicatorMap.realMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_Lock, { "Lock", "x11.struct.xkb_IndicatorMap.realMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_Control, { "Control", "x11.struct.xkb_IndicatorMap.realMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_1, { "1", "x11.struct.xkb_IndicatorMap.realMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_2, { "2", "x11.struct.xkb_IndicatorMap.realMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_3, { "3", "x11.struct.xkb_IndicatorMap.realMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_4, { "4", "x11.struct.xkb_IndicatorMap.realMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_5, { "5", "x11.struct.xkb_IndicatorMap.realMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods_mask_Any, { "Any", "x11.struct.xkb_IndicatorMap.realMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_realMods, { "realMods", "x11.struct.xkb_IndicatorMap.realMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_0, { "0", "x11.struct.xkb_IndicatorMap.vmods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_1, { "1", "x11.struct.xkb_IndicatorMap.vmods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_2, { "2", "x11.struct.xkb_IndicatorMap.vmods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_3, { "3", "x11.struct.xkb_IndicatorMap.vmods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_4, { "4", "x11.struct.xkb_IndicatorMap.vmods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_5, { "5", "x11.struct.xkb_IndicatorMap.vmods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_6, { "6", "x11.struct.xkb_IndicatorMap.vmods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_7, { "7", "x11.struct.xkb_IndicatorMap.vmods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_8, { "8", "x11.struct.xkb_IndicatorMap.vmods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_9, { "9", "x11.struct.xkb_IndicatorMap.vmods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_10, { "10", "x11.struct.xkb_IndicatorMap.vmods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_11, { "11", "x11.struct.xkb_IndicatorMap.vmods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_12, { "12", "x11.struct.xkb_IndicatorMap.vmods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_13, { "13", "x11.struct.xkb_IndicatorMap.vmods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_14, { "14", "x11.struct.xkb_IndicatorMap.vmods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods_mask_15, { "15", "x11.struct.xkb_IndicatorMap.vmods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_vmods, { "vmods", "x11.struct.xkb_IndicatorMap.vmods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_RepeatKeys, { "RepeatKeys", "x11.struct.xkb_IndicatorMap.ctrls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_SlowKeys, { "SlowKeys", "x11.struct.xkb_IndicatorMap.ctrls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_BounceKeys, { "BounceKeys", "x11.struct.xkb_IndicatorMap.ctrls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_StickyKeys, { "StickyKeys", "x11.struct.xkb_IndicatorMap.ctrls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_MouseKeys, { "MouseKeys", "x11.struct.xkb_IndicatorMap.ctrls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.struct.xkb_IndicatorMap.ctrls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXKeys, { "AccessXKeys", "x11.struct.xkb_IndicatorMap.ctrls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.struct.xkb_IndicatorMap.ctrls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.struct.xkb_IndicatorMap.ctrls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_AudibleBellMask, { "AudibleBellMask", "x11.struct.xkb_IndicatorMap.ctrls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_Overlay1Mask, { "Overlay1Mask", "x11.struct.xkb_IndicatorMap.ctrls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_Overlay2Mask, { "Overlay2Mask", "x11.struct.xkb_IndicatorMap.ctrls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.struct.xkb_IndicatorMap.ctrls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xkb_IndicatorMap_ctrls, { "ctrls", "x11.struct.xkb_IndicatorMap.ctrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef, { "xkb_ModDef", "x11.struct.xkb_ModDef", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_Shift, { "Shift", "x11.struct.xkb_ModDef.mask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_Lock, { "Lock", "x11.struct.xkb_ModDef.mask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_Control, { "Control", "x11.struct.xkb_ModDef.mask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_1, { "1", "x11.struct.xkb_ModDef.mask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_2, { "2", "x11.struct.xkb_ModDef.mask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_3, { "3", "x11.struct.xkb_ModDef.mask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_4, { "4", "x11.struct.xkb_ModDef.mask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_5, { "5", "x11.struct.xkb_ModDef.mask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask_mask_Any, { "Any", "x11.struct.xkb_ModDef.mask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_mask, { "mask", "x11.struct.xkb_ModDef.mask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_Shift, { "Shift", "x11.struct.xkb_ModDef.realMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_Lock, { "Lock", "x11.struct.xkb_ModDef.realMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_Control, { "Control", "x11.struct.xkb_ModDef.realMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_1, { "1", "x11.struct.xkb_ModDef.realMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_2, { "2", "x11.struct.xkb_ModDef.realMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_3, { "3", "x11.struct.xkb_ModDef.realMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_4, { "4", "x11.struct.xkb_ModDef.realMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_5, { "5", "x11.struct.xkb_ModDef.realMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods_mask_Any, { "Any", "x11.struct.xkb_ModDef.realMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_realMods, { "realMods", "x11.struct.xkb_ModDef.realMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_0, { "0", "x11.struct.xkb_ModDef.vmods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_1, { "1", "x11.struct.xkb_ModDef.vmods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_2, { "2", "x11.struct.xkb_ModDef.vmods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_3, { "3", "x11.struct.xkb_ModDef.vmods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_4, { "4", "x11.struct.xkb_ModDef.vmods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_5, { "5", "x11.struct.xkb_ModDef.vmods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_6, { "6", "x11.struct.xkb_ModDef.vmods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_7, { "7", "x11.struct.xkb_ModDef.vmods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_8, { "8", "x11.struct.xkb_ModDef.vmods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_9, { "9", "x11.struct.xkb_ModDef.vmods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_10, { "10", "x11.struct.xkb_ModDef.vmods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_11, { "11", "x11.struct.xkb_ModDef.vmods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_12, { "12", "x11.struct.xkb_ModDef.vmods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_13, { "13", "x11.struct.xkb_ModDef.vmods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_14, { "14", "x11.struct.xkb_ModDef.vmods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods_mask_15, { "15", "x11.struct.xkb_ModDef.vmods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_ModDef_vmods, { "vmods", "x11.struct.xkb_ModDef.vmods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyName, { "xkb_KeyName", "x11.struct.xkb_KeyName", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyName_name, { "name", "x11.struct.xkb_KeyName.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyAlias, { "xkb_KeyAlias", "x11.struct.xkb_KeyAlias", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyAlias_real, { "real", "x11.struct.xkb_KeyAlias.real", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyAlias_alias, { "alias", "x11.struct.xkb_KeyAlias.alias", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_CountedString16, { "xkb_CountedString16", "x11.struct.xkb_CountedString16", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_CountedString16_length, { "length", "x11.struct.xkb_CountedString16.length", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_CountedString16_string, { "string", "x11.struct.xkb_CountedString16.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_CountedString16_alignment_pad, { "alignment_pad", "x11.struct.xkb_CountedString16.alignment_pad", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry, { "xkb_KTMapEntry", "x11.struct.xkb_KTMapEntry", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_active, { "active", "x11.struct.xkb_KTMapEntry.active", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Shift, { "Shift", "x11.struct.xkb_KTMapEntry.mods_mask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Lock, { "Lock", "x11.struct.xkb_KTMapEntry.mods_mask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Control, { "Control", "x11.struct.xkb_KTMapEntry.mods_mask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_1, { "1", "x11.struct.xkb_KTMapEntry.mods_mask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_2, { "2", "x11.struct.xkb_KTMapEntry.mods_mask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_3, { "3", "x11.struct.xkb_KTMapEntry.mods_mask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_4, { "4", "x11.struct.xkb_KTMapEntry.mods_mask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_5, { "5", "x11.struct.xkb_KTMapEntry.mods_mask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask_mask_Any, { "Any", "x11.struct.xkb_KTMapEntry.mods_mask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mask, { "mods_mask", "x11.struct.xkb_KTMapEntry.mods_mask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_level, { "level", "x11.struct.xkb_KTMapEntry.level", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Shift, { "Shift", "x11.struct.xkb_KTMapEntry.mods_mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Lock, { "Lock", "x11.struct.xkb_KTMapEntry.mods_mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Control, { "Control", "x11.struct.xkb_KTMapEntry.mods_mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_1, { "1", "x11.struct.xkb_KTMapEntry.mods_mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_2, { "2", "x11.struct.xkb_KTMapEntry.mods_mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_3, { "3", "x11.struct.xkb_KTMapEntry.mods_mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_4, { "4", "x11.struct.xkb_KTMapEntry.mods_mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_5, { "5", "x11.struct.xkb_KTMapEntry.mods_mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods_mask_Any, { "Any", "x11.struct.xkb_KTMapEntry.mods_mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_mods, { "mods_mods", "x11.struct.xkb_KTMapEntry.mods_mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_0, { "0", "x11.struct.xkb_KTMapEntry.mods_vmods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_1, { "1", "x11.struct.xkb_KTMapEntry.mods_vmods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_2, { "2", "x11.struct.xkb_KTMapEntry.mods_vmods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_3, { "3", "x11.struct.xkb_KTMapEntry.mods_vmods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_4, { "4", "x11.struct.xkb_KTMapEntry.mods_vmods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_5, { "5", "x11.struct.xkb_KTMapEntry.mods_vmods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_6, { "6", "x11.struct.xkb_KTMapEntry.mods_vmods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_7, { "7", "x11.struct.xkb_KTMapEntry.mods_vmods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_8, { "8", "x11.struct.xkb_KTMapEntry.mods_vmods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_9, { "9", "x11.struct.xkb_KTMapEntry.mods_vmods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_10, { "10", "x11.struct.xkb_KTMapEntry.mods_vmods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_11, { "11", "x11.struct.xkb_KTMapEntry.mods_vmods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_12, { "12", "x11.struct.xkb_KTMapEntry.mods_vmods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_13, { "13", "x11.struct.xkb_KTMapEntry.mods_vmods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_14, { "14", "x11.struct.xkb_KTMapEntry.mods_vmods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods_mask_15, { "15", "x11.struct.xkb_KTMapEntry.mods_vmods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KTMapEntry_mods_vmods, { "mods_vmods", "x11.struct.xkb_KTMapEntry.mods_vmods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType, { "xkb_KeyType", "x11.struct.xkb_KeyType", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_Shift, { "Shift", "x11.struct.xkb_KeyType.mods_mask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_Lock, { "Lock", "x11.struct.xkb_KeyType.mods_mask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_Control, { "Control", "x11.struct.xkb_KeyType.mods_mask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_1, { "1", "x11.struct.xkb_KeyType.mods_mask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_2, { "2", "x11.struct.xkb_KeyType.mods_mask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_3, { "3", "x11.struct.xkb_KeyType.mods_mask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_4, { "4", "x11.struct.xkb_KeyType.mods_mask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_5, { "5", "x11.struct.xkb_KeyType.mods_mask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask_mask_Any, { "Any", "x11.struct.xkb_KeyType.mods_mask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mask, { "mods_mask", "x11.struct.xkb_KeyType.mods_mask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_Shift, { "Shift", "x11.struct.xkb_KeyType.mods_mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_Lock, { "Lock", "x11.struct.xkb_KeyType.mods_mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_Control, { "Control", "x11.struct.xkb_KeyType.mods_mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_1, { "1", "x11.struct.xkb_KeyType.mods_mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_2, { "2", "x11.struct.xkb_KeyType.mods_mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_3, { "3", "x11.struct.xkb_KeyType.mods_mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_4, { "4", "x11.struct.xkb_KeyType.mods_mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_5, { "5", "x11.struct.xkb_KeyType.mods_mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods_mask_Any, { "Any", "x11.struct.xkb_KeyType.mods_mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_mods, { "mods_mods", "x11.struct.xkb_KeyType.mods_mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_0, { "0", "x11.struct.xkb_KeyType.mods_vmods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_1, { "1", "x11.struct.xkb_KeyType.mods_vmods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_2, { "2", "x11.struct.xkb_KeyType.mods_vmods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_3, { "3", "x11.struct.xkb_KeyType.mods_vmods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_4, { "4", "x11.struct.xkb_KeyType.mods_vmods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_5, { "5", "x11.struct.xkb_KeyType.mods_vmods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_6, { "6", "x11.struct.xkb_KeyType.mods_vmods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_7, { "7", "x11.struct.xkb_KeyType.mods_vmods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_8, { "8", "x11.struct.xkb_KeyType.mods_vmods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_9, { "9", "x11.struct.xkb_KeyType.mods_vmods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_10, { "10", "x11.struct.xkb_KeyType.mods_vmods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_11, { "11", "x11.struct.xkb_KeyType.mods_vmods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_12, { "12", "x11.struct.xkb_KeyType.mods_vmods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_13, { "13", "x11.struct.xkb_KeyType.mods_vmods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_14, { "14", "x11.struct.xkb_KeyType.mods_vmods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods_mask_15, { "15", "x11.struct.xkb_KeyType.mods_vmods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_mods_vmods, { "mods_vmods", "x11.struct.xkb_KeyType.mods_vmods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_numLevels, { "numLevels", "x11.struct.xkb_KeyType.numLevels", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_nMapEntries, { "nMapEntries", "x11.struct.xkb_KeyType.nMapEntries", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_hasPreserve, { "hasPreserve", "x11.struct.xkb_KeyType.hasPreserve", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_map, { "map", "x11.struct.xkb_KeyType.map.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_map_item, { "map", "x11.struct.xkb_KeyType.map", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_preserve, { "preserve", "x11.struct.xkb_KeyType.preserve.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyType_preserve_item, { "preserve", "x11.struct.xkb_KeyType.preserve", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeySymMap, { "xkb_KeySymMap", "x11.struct.xkb_KeySymMap", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeySymMap_kt_index, { "kt_index", "x11.struct.xkb_KeySymMap.kt_index", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeySymMap_groupInfo, { "groupInfo", "x11.struct.xkb_KeySymMap.groupInfo", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeySymMap_width, { "width", "x11.struct.xkb_KeySymMap.width", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeySymMap_nSyms, { "nSyms", "x11.struct.xkb_KeySymMap.nSyms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeySymMap_syms, { "syms", "x11.struct.xkb_KeySymMap.syms.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeySymMap_syms_item, { "syms", "x11.struct.xkb_KeySymMap.syms", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_CommonBehavior, { "xkb_CommonBehavior", "x11.struct.xkb_CommonBehavior", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_CommonBehavior_type, { "type", "x11.struct.xkb_CommonBehavior.type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_CommonBehavior_data, { "data", "x11.struct.xkb_CommonBehavior.data", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DefaultBehavior, { "xkb_DefaultBehavior", "x11.struct.xkb_DefaultBehavior", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DefaultBehavior_type, { "type", "x11.struct.xkb_DefaultBehavior.type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_RadioGroupBehavior, { "xkb_RadioGroupBehavior", "x11.struct.xkb_RadioGroupBehavior", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_RadioGroupBehavior_type, { "type", "x11.struct.xkb_RadioGroupBehavior.type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_RadioGroupBehavior_group, { "group", "x11.struct.xkb_RadioGroupBehavior.group", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_OverlayBehavior, { "xkb_OverlayBehavior", "x11.struct.xkb_OverlayBehavior", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_OverlayBehavior_type, { "type", "x11.struct.xkb_OverlayBehavior.type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_OverlayBehavior_key, { "key", "x11.struct.xkb_OverlayBehavior.key", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior, { "xkb_Behavior", "x11.union.xkb_Behavior", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_common, { "common", "x11.union.xkb_Behavior.common", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_default, { "default", "x11.union.xkb_Behavior.default", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_lock, { "lock", "x11.union.xkb_Behavior.lock", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_radioGroup, { "radioGroup", "x11.union.xkb_Behavior.radioGroup", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_overlay1, { "overlay1", "x11.union.xkb_Behavior.overlay1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_overlay2, { "overlay2", "x11.union.xkb_Behavior.overlay2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_permamentLock, { "permamentLock", "x11.union.xkb_Behavior.permamentLock", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_permamentRadioGroup, { "permamentRadioGroup", "x11.union.xkb_Behavior.permamentRadioGroup", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_permamentOverlay1, { "permamentOverlay1", "x11.union.xkb_Behavior.permamentOverlay1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_permamentOverlay2, { "permamentOverlay2", "x11.union.xkb_Behavior.permamentOverlay2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Behavior_type, { "type", "x11.union.xkb_Behavior.type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetBehavior, { "xkb_SetBehavior", "x11.struct.xkb_SetBehavior", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetBehavior_keycode, { "keycode", "x11.struct.xkb_SetBehavior.keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetBehavior_behavior, { "behavior", "x11.struct.xkb_SetBehavior.behavior", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit, { "xkb_SetExplicit", "x11.struct.xkb_SetExplicit", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_keycode, { "keycode", "x11.struct.xkb_SetExplicit.keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType1, { "KeyType1", "x11.struct.xkb_SetExplicit.explicit.KeyType1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType2, { "KeyType2", "x11.struct.xkb_SetExplicit.explicit.KeyType2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType3, { "KeyType3", "x11.struct.xkb_SetExplicit.explicit.KeyType3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit_mask_KeyType4, { "KeyType4", "x11.struct.xkb_SetExplicit.explicit.KeyType4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit_mask_Interpret, { "Interpret", "x11.struct.xkb_SetExplicit.explicit.Interpret", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit_mask_AutoRepeat, { "AutoRepeat", "x11.struct.xkb_SetExplicit.explicit.AutoRepeat", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit_mask_Behavior, { "Behavior", "x11.struct.xkb_SetExplicit.explicit.Behavior", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit_mask_VModMap, { "VModMap", "x11.struct.xkb_SetExplicit.explicit.VModMap", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SetExplicit_explicit, { "explicit", "x11.struct.xkb_SetExplicit.explicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap, { "xkb_KeyModMap", "x11.struct.xkb_KeyModMap", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_keycode, { "keycode", "x11.struct.xkb_KeyModMap.keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_Shift, { "Shift", "x11.struct.xkb_KeyModMap.mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_Lock, { "Lock", "x11.struct.xkb_KeyModMap.mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_Control, { "Control", "x11.struct.xkb_KeyModMap.mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_1, { "1", "x11.struct.xkb_KeyModMap.mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_2, { "2", "x11.struct.xkb_KeyModMap.mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_3, { "3", "x11.struct.xkb_KeyModMap.mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_4, { "4", "x11.struct.xkb_KeyModMap.mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_5, { "5", "x11.struct.xkb_KeyModMap.mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods_mask_Any, { "Any", "x11.struct.xkb_KeyModMap.mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyModMap_mods, { "mods", "x11.struct.xkb_KeyModMap.mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap, { "xkb_KeyVModMap", "x11.struct.xkb_KeyVModMap", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_keycode, { "keycode", "x11.struct.xkb_KeyVModMap.keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_0, { "0", "x11.struct.xkb_KeyVModMap.vmods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_1, { "1", "x11.struct.xkb_KeyVModMap.vmods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_2, { "2", "x11.struct.xkb_KeyVModMap.vmods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_3, { "3", "x11.struct.xkb_KeyVModMap.vmods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_4, { "4", "x11.struct.xkb_KeyVModMap.vmods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_5, { "5", "x11.struct.xkb_KeyVModMap.vmods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_6, { "6", "x11.struct.xkb_KeyVModMap.vmods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_7, { "7", "x11.struct.xkb_KeyVModMap.vmods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_8, { "8", "x11.struct.xkb_KeyVModMap.vmods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_9, { "9", "x11.struct.xkb_KeyVModMap.vmods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_10, { "10", "x11.struct.xkb_KeyVModMap.vmods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_11, { "11", "x11.struct.xkb_KeyVModMap.vmods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_12, { "12", "x11.struct.xkb_KeyVModMap.vmods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_13, { "13", "x11.struct.xkb_KeyVModMap.vmods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_14, { "14", "x11.struct.xkb_KeyVModMap.vmods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods_mask_15, { "15", "x11.struct.xkb_KeyVModMap.vmods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KeyVModMap_vmods, { "vmods", "x11.struct.xkb_KeyVModMap.vmods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry, { "xkb_KTSetMapEntry", "x11.struct.xkb_KTSetMapEntry", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_level, { "level", "x11.struct.xkb_KTSetMapEntry.level", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Shift, { "Shift", "x11.struct.xkb_KTSetMapEntry.realMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Lock, { "Lock", "x11.struct.xkb_KTSetMapEntry.realMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Control, { "Control", "x11.struct.xkb_KTSetMapEntry.realMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_1, { "1", "x11.struct.xkb_KTSetMapEntry.realMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_2, { "2", "x11.struct.xkb_KTSetMapEntry.realMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_3, { "3", "x11.struct.xkb_KTSetMapEntry.realMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_4, { "4", "x11.struct.xkb_KTSetMapEntry.realMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_5, { "5", "x11.struct.xkb_KTSetMapEntry.realMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods_mask_Any, { "Any", "x11.struct.xkb_KTSetMapEntry.realMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_realMods, { "realMods", "x11.struct.xkb_KTSetMapEntry.realMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_0, { "0", "x11.struct.xkb_KTSetMapEntry.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_1, { "1", "x11.struct.xkb_KTSetMapEntry.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_2, { "2", "x11.struct.xkb_KTSetMapEntry.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_3, { "3", "x11.struct.xkb_KTSetMapEntry.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_4, { "4", "x11.struct.xkb_KTSetMapEntry.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_5, { "5", "x11.struct.xkb_KTSetMapEntry.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_6, { "6", "x11.struct.xkb_KTSetMapEntry.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_7, { "7", "x11.struct.xkb_KTSetMapEntry.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_8, { "8", "x11.struct.xkb_KTSetMapEntry.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_9, { "9", "x11.struct.xkb_KTSetMapEntry.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_10, { "10", "x11.struct.xkb_KTSetMapEntry.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_11, { "11", "x11.struct.xkb_KTSetMapEntry.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_12, { "12", "x11.struct.xkb_KTSetMapEntry.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_13, { "13", "x11.struct.xkb_KTSetMapEntry.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_14, { "14", "x11.struct.xkb_KTSetMapEntry.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods_mask_15, { "15", "x11.struct.xkb_KTSetMapEntry.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_KTSetMapEntry_virtualMods, { "virtualMods", "x11.struct.xkb_KTSetMapEntry.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType, { "xkb_SetKeyType", "x11.struct.xkb_SetKeyType", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_Shift, { "Shift", "x11.struct.xkb_SetKeyType.mask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_Lock, { "Lock", "x11.struct.xkb_SetKeyType.mask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_Control, { "Control", "x11.struct.xkb_SetKeyType.mask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_1, { "1", "x11.struct.xkb_SetKeyType.mask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_2, { "2", "x11.struct.xkb_SetKeyType.mask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_3, { "3", "x11.struct.xkb_SetKeyType.mask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_4, { "4", "x11.struct.xkb_SetKeyType.mask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_5, { "5", "x11.struct.xkb_SetKeyType.mask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask_mask_Any, { "Any", "x11.struct.xkb_SetKeyType.mask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_mask, { "mask", "x11.struct.xkb_SetKeyType.mask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_Shift, { "Shift", "x11.struct.xkb_SetKeyType.realMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_Lock, { "Lock", "x11.struct.xkb_SetKeyType.realMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_Control, { "Control", "x11.struct.xkb_SetKeyType.realMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_1, { "1", "x11.struct.xkb_SetKeyType.realMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_2, { "2", "x11.struct.xkb_SetKeyType.realMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_3, { "3", "x11.struct.xkb_SetKeyType.realMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_4, { "4", "x11.struct.xkb_SetKeyType.realMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_5, { "5", "x11.struct.xkb_SetKeyType.realMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods_mask_Any, { "Any", "x11.struct.xkb_SetKeyType.realMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_realMods, { "realMods", "x11.struct.xkb_SetKeyType.realMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_0, { "0", "x11.struct.xkb_SetKeyType.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_1, { "1", "x11.struct.xkb_SetKeyType.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_2, { "2", "x11.struct.xkb_SetKeyType.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_3, { "3", "x11.struct.xkb_SetKeyType.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_4, { "4", "x11.struct.xkb_SetKeyType.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_5, { "5", "x11.struct.xkb_SetKeyType.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_6, { "6", "x11.struct.xkb_SetKeyType.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_7, { "7", "x11.struct.xkb_SetKeyType.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_8, { "8", "x11.struct.xkb_SetKeyType.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_9, { "9", "x11.struct.xkb_SetKeyType.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_10, { "10", "x11.struct.xkb_SetKeyType.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_11, { "11", "x11.struct.xkb_SetKeyType.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_12, { "12", "x11.struct.xkb_SetKeyType.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_13, { "13", "x11.struct.xkb_SetKeyType.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_14, { "14", "x11.struct.xkb_SetKeyType.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods_mask_15, { "15", "x11.struct.xkb_SetKeyType.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_virtualMods, { "virtualMods", "x11.struct.xkb_SetKeyType.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_numLevels, { "numLevels", "x11.struct.xkb_SetKeyType.numLevels", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_nMapEntries, { "nMapEntries", "x11.struct.xkb_SetKeyType.nMapEntries", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_preserve, { "preserve", "x11.struct.xkb_SetKeyType.preserve", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_entries, { "entries", "x11.struct.xkb_SetKeyType.entries.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_entries_item, { "entries", "x11.struct.xkb_SetKeyType.entries", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_preserve_entries, { "preserve_entries", "x11.struct.xkb_SetKeyType.preserve_entries.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SetKeyType_preserve_entries_item, { "preserve_entries", "x11.struct.xkb_SetKeyType.preserve_entries", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_Listing, { "xkb_Listing", "x11.struct.xkb_Listing", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_Listing_flags, { "flags", "x11.struct.xkb_Listing.flags", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_Listing_length, { "length", "x11.struct.xkb_Listing.length", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_Listing_string, { "string", "x11.struct.xkb_Listing.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo, { "xkb_DeviceLedInfo", "x11.struct.xkb_DeviceLedInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_ledClass, { "ledClass", "x11.struct.xkb_DeviceLedInfo.ledClass", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_LedClass), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_ledID, { "ledID", "x11.struct.xkb_DeviceLedInfo.ledID", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_ID), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_namesPresent, { "namesPresent", "x11.struct.xkb_DeviceLedInfo.namesPresent", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_mapsPresent, { "mapsPresent", "x11.struct.xkb_DeviceLedInfo.mapsPresent", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_physIndicators, { "physIndicators", "x11.struct.xkb_DeviceLedInfo.physIndicators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_state, { "state", "x11.struct.xkb_DeviceLedInfo.state", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_names, { "names", "x11.struct.xkb_DeviceLedInfo.names.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_names_item, { "names", "x11.struct.xkb_DeviceLedInfo.names", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_maps, { "maps", "x11.struct.xkb_DeviceLedInfo.maps.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_DeviceLedInfo_maps_item, { "maps", "x11.struct.xkb_DeviceLedInfo.maps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SANoAction, { "xkb_SANoAction", "x11.struct.xkb_SANoAction", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SANoAction_type, { "type", "x11.struct.xkb_SANoAction.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods, { "xkb_SASetMods", "x11.struct.xkb_SASetMods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_type, { "type", "x11.struct.xkb_SASetMods.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_flags_mask_ClearLocks, { "ClearLocks", "x11.struct.xkb_SASetMods.flags.ClearLocks", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_flags_mask_LatchToLock, { "LatchToLock", "x11.struct.xkb_SASetMods.flags.LatchToLock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_flags_mask_GroupAbsolute, { "GroupAbsolute", "x11.struct.xkb_SASetMods.flags.GroupAbsolute", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_flags, { "flags", "x11.struct.xkb_SASetMods.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_Shift, { "Shift", "x11.struct.xkb_SASetMods.mask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_Lock, { "Lock", "x11.struct.xkb_SASetMods.mask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_Control, { "Control", "x11.struct.xkb_SASetMods.mask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_1, { "1", "x11.struct.xkb_SASetMods.mask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_2, { "2", "x11.struct.xkb_SASetMods.mask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_3, { "3", "x11.struct.xkb_SASetMods.mask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_4, { "4", "x11.struct.xkb_SASetMods.mask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_5, { "5", "x11.struct.xkb_SASetMods.mask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask_mask_Any, { "Any", "x11.struct.xkb_SASetMods.mask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_mask, { "mask", "x11.struct.xkb_SASetMods.mask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_Shift, { "Shift", "x11.struct.xkb_SASetMods.realMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_Lock, { "Lock", "x11.struct.xkb_SASetMods.realMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_Control, { "Control", "x11.struct.xkb_SASetMods.realMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_1, { "1", "x11.struct.xkb_SASetMods.realMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_2, { "2", "x11.struct.xkb_SASetMods.realMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_3, { "3", "x11.struct.xkb_SASetMods.realMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_4, { "4", "x11.struct.xkb_SASetMods.realMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_5, { "5", "x11.struct.xkb_SASetMods.realMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods_mask_Any, { "Any", "x11.struct.xkb_SASetMods.realMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_realMods, { "realMods", "x11.struct.xkb_SASetMods.realMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_8, { "8", "x11.struct.xkb_SASetMods.vmodsHigh.8", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_9, { "9", "x11.struct.xkb_SASetMods.vmodsHigh.9", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_10, { "10", "x11.struct.xkb_SASetMods.vmodsHigh.10", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_11, { "11", "x11.struct.xkb_SASetMods.vmodsHigh.11", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_12, { "12", "x11.struct.xkb_SASetMods.vmodsHigh.12", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_13, { "13", "x11.struct.xkb_SASetMods.vmodsHigh.13", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_14, { "14", "x11.struct.xkb_SASetMods.vmodsHigh.14", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh_mask_15, { "15", "x11.struct.xkb_SASetMods.vmodsHigh.15", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsHigh, { "vmodsHigh", "x11.struct.xkb_SASetMods.vmodsHigh", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_0, { "0", "x11.struct.xkb_SASetMods.vmodsLow.0", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_1, { "1", "x11.struct.xkb_SASetMods.vmodsLow.1", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_2, { "2", "x11.struct.xkb_SASetMods.vmodsLow.2", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_3, { "3", "x11.struct.xkb_SASetMods.vmodsLow.3", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_4, { "4", "x11.struct.xkb_SASetMods.vmodsLow.4", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_5, { "5", "x11.struct.xkb_SASetMods.vmodsLow.5", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_6, { "6", "x11.struct.xkb_SASetMods.vmodsLow.6", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow_mask_7, { "7", "x11.struct.xkb_SASetMods.vmodsLow.7", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetMods_vmodsLow, { "vmodsLow", "x11.struct.xkb_SASetMods.vmodsLow", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetGroup, { "xkb_SASetGroup", "x11.struct.xkb_SASetGroup", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetGroup_type, { "type", "x11.struct.xkb_SASetGroup.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetGroup_flags_mask_ClearLocks, { "ClearLocks", "x11.struct.xkb_SASetGroup.flags.ClearLocks", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetGroup_flags_mask_LatchToLock, { "LatchToLock", "x11.struct.xkb_SASetGroup.flags.LatchToLock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetGroup_flags_mask_GroupAbsolute, { "GroupAbsolute", "x11.struct.xkb_SASetGroup.flags.GroupAbsolute", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetGroup_flags, { "flags", "x11.struct.xkb_SASetGroup.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetGroup_group, { "group", "x11.struct.xkb_SASetGroup.group", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr, { "xkb_SAMovePtr", "x11.struct.xkb_SAMovePtr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_type, { "type", "x11.struct.xkb_SAMovePtr.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_flags_mask_NoAcceleration, { "NoAcceleration", "x11.struct.xkb_SAMovePtr.flags.NoAcceleration", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_flags_mask_MoveAbsoluteX, { "MoveAbsoluteX", "x11.struct.xkb_SAMovePtr.flags.MoveAbsoluteX", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_flags_mask_MoveAbsoluteY, { "MoveAbsoluteY", "x11.struct.xkb_SAMovePtr.flags.MoveAbsoluteY", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_flags, { "flags", "x11.struct.xkb_SAMovePtr.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_xHigh, { "xHigh", "x11.struct.xkb_SAMovePtr.xHigh", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_xLow, { "xLow", "x11.struct.xkb_SAMovePtr.xLow", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_yHigh, { "yHigh", "x11.struct.xkb_SAMovePtr.yHigh", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAMovePtr_yLow, { "yLow", "x11.struct.xkb_SAMovePtr.yLow", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAPtrBtn, { "xkb_SAPtrBtn", "x11.struct.xkb_SAPtrBtn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAPtrBtn_type, { "type", "x11.struct.xkb_SAPtrBtn.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAPtrBtn_flags, { "flags", "x11.struct.xkb_SAPtrBtn.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAPtrBtn_count, { "count", "x11.struct.xkb_SAPtrBtn.count", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAPtrBtn_button, { "button", "x11.struct.xkb_SAPtrBtn.button", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockPtrBtn, { "xkb_SALockPtrBtn", "x11.struct.xkb_SALockPtrBtn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockPtrBtn_type, { "type", "x11.struct.xkb_SALockPtrBtn.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockPtrBtn_flags, { "flags", "x11.struct.xkb_SALockPtrBtn.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockPtrBtn_button, { "button", "x11.struct.xkb_SALockPtrBtn.button", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt, { "xkb_SASetPtrDflt", "x11.struct.xkb_SASetPtrDflt", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt_type, { "type", "x11.struct.xkb_SASetPtrDflt.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt_flags_mask_AffectDfltButton, { "AffectDfltButton", "x11.struct.xkb_SASetPtrDflt.flags.AffectDfltButton", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt_flags_mask_DfltBtnAbsolute, { "DfltBtnAbsolute", "x11.struct.xkb_SASetPtrDflt.flags.DfltBtnAbsolute", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt_flags, { "flags", "x11.struct.xkb_SASetPtrDflt.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt_affect_mask_AffectDfltButton, { "AffectDfltButton", "x11.struct.xkb_SASetPtrDflt.affect.AffectDfltButton", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt_affect_mask_DfltBtnAbsolute, { "DfltBtnAbsolute", "x11.struct.xkb_SASetPtrDflt.affect.DfltBtnAbsolute", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt_affect, { "affect", "x11.struct.xkb_SASetPtrDflt.affect", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetPtrDflt_value, { "value", "x11.struct.xkb_SASetPtrDflt.value", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock, { "xkb_SAIsoLock", "x11.struct.xkb_SAIsoLock", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_type, { "type", "x11.struct.xkb_SAIsoLock.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_flags_mask_NoLock, { "NoLock", "x11.struct.xkb_SAIsoLock.flags.NoLock", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_flags_mask_NoUnlock, { "NoUnlock", "x11.struct.xkb_SAIsoLock.flags.NoUnlock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_flags_mask_GroupAbsolute, { "GroupAbsolute", "x11.struct.xkb_SAIsoLock.flags.GroupAbsolute", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_flags_mask_ISODfltIsGroup, { "ISODfltIsGroup", "x11.struct.xkb_SAIsoLock.flags.ISODfltIsGroup", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_flags, { "flags", "x11.struct.xkb_SAIsoLock.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_Shift, { "Shift", "x11.struct.xkb_SAIsoLock.mask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_Lock, { "Lock", "x11.struct.xkb_SAIsoLock.mask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_Control, { "Control", "x11.struct.xkb_SAIsoLock.mask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_1, { "1", "x11.struct.xkb_SAIsoLock.mask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_2, { "2", "x11.struct.xkb_SAIsoLock.mask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_3, { "3", "x11.struct.xkb_SAIsoLock.mask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_4, { "4", "x11.struct.xkb_SAIsoLock.mask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_5, { "5", "x11.struct.xkb_SAIsoLock.mask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask_mask_Any, { "Any", "x11.struct.xkb_SAIsoLock.mask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_mask, { "mask", "x11.struct.xkb_SAIsoLock.mask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_Shift, { "Shift", "x11.struct.xkb_SAIsoLock.realMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_Lock, { "Lock", "x11.struct.xkb_SAIsoLock.realMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_Control, { "Control", "x11.struct.xkb_SAIsoLock.realMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_1, { "1", "x11.struct.xkb_SAIsoLock.realMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_2, { "2", "x11.struct.xkb_SAIsoLock.realMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_3, { "3", "x11.struct.xkb_SAIsoLock.realMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_4, { "4", "x11.struct.xkb_SAIsoLock.realMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_5, { "5", "x11.struct.xkb_SAIsoLock.realMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods_mask_Any, { "Any", "x11.struct.xkb_SAIsoLock.realMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_realMods, { "realMods", "x11.struct.xkb_SAIsoLock.realMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_group, { "group", "x11.struct.xkb_SAIsoLock.group", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_affect_mask_Ctrls, { "Ctrls", "x11.struct.xkb_SAIsoLock.affect.Ctrls", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_affect_mask_Ptr, { "Ptr", "x11.struct.xkb_SAIsoLock.affect.Ptr", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_affect_mask_Group, { "Group", "x11.struct.xkb_SAIsoLock.affect.Group", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_affect_mask_Mods, { "Mods", "x11.struct.xkb_SAIsoLock.affect.Mods", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_affect, { "affect", "x11.struct.xkb_SAIsoLock.affect", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_8, { "8", "x11.struct.xkb_SAIsoLock.vmodsHigh.8", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_9, { "9", "x11.struct.xkb_SAIsoLock.vmodsHigh.9", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_10, { "10", "x11.struct.xkb_SAIsoLock.vmodsHigh.10", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_11, { "11", "x11.struct.xkb_SAIsoLock.vmodsHigh.11", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_12, { "12", "x11.struct.xkb_SAIsoLock.vmodsHigh.12", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_13, { "13", "x11.struct.xkb_SAIsoLock.vmodsHigh.13", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_14, { "14", "x11.struct.xkb_SAIsoLock.vmodsHigh.14", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh_mask_15, { "15", "x11.struct.xkb_SAIsoLock.vmodsHigh.15", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsHigh, { "vmodsHigh", "x11.struct.xkb_SAIsoLock.vmodsHigh", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_0, { "0", "x11.struct.xkb_SAIsoLock.vmodsLow.0", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_1, { "1", "x11.struct.xkb_SAIsoLock.vmodsLow.1", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_2, { "2", "x11.struct.xkb_SAIsoLock.vmodsLow.2", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_3, { "3", "x11.struct.xkb_SAIsoLock.vmodsLow.3", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_4, { "4", "x11.struct.xkb_SAIsoLock.vmodsLow.4", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_5, { "5", "x11.struct.xkb_SAIsoLock.vmodsLow.5", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_6, { "6", "x11.struct.xkb_SAIsoLock.vmodsLow.6", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow_mask_7, { "7", "x11.struct.xkb_SAIsoLock.vmodsLow.7", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SAIsoLock_vmodsLow, { "vmodsLow", "x11.struct.xkb_SAIsoLock.vmodsLow", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SATerminate, { "xkb_SATerminate", "x11.struct.xkb_SATerminate", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SATerminate_type, { "type", "x11.struct.xkb_SATerminate.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASwitchScreen, { "xkb_SASwitchScreen", "x11.struct.xkb_SASwitchScreen", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASwitchScreen_type, { "type", "x11.struct.xkb_SASwitchScreen.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASwitchScreen_flags, { "flags", "x11.struct.xkb_SASwitchScreen.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASwitchScreen_newScreen, { "newScreen", "x11.struct.xkb_SASwitchScreen.newScreen", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls, { "xkb_SASetControls", "x11.struct.xkb_SASetControls", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_type, { "type", "x11.struct.xkb_SASetControls.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_AccessXFeedback, { "AccessXFeedback", "x11.struct.xkb_SASetControls.boolCtrlsHigh.AccessXFeedback", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_AudibleBell, { "AudibleBell", "x11.struct.xkb_SASetControls.boolCtrlsHigh.AudibleBell", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_Overlay1, { "Overlay1", "x11.struct.xkb_SASetControls.boolCtrlsHigh.Overlay1", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_Overlay2, { "Overlay2", "x11.struct.xkb_SASetControls.boolCtrlsHigh.Overlay2", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh_mask_IgnoreGroupLock, { "IgnoreGroupLock", "x11.struct.xkb_SASetControls.boolCtrlsHigh.IgnoreGroupLock", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsHigh, { "boolCtrlsHigh", "x11.struct.xkb_SASetControls.boolCtrlsHigh", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_RepeatKeys, { "RepeatKeys", "x11.struct.xkb_SASetControls.boolCtrlsLow.RepeatKeys", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_SlowKeys, { "SlowKeys", "x11.struct.xkb_SASetControls.boolCtrlsLow.SlowKeys", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_BounceKeys, { "BounceKeys", "x11.struct.xkb_SASetControls.boolCtrlsLow.BounceKeys", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_StickyKeys, { "StickyKeys", "x11.struct.xkb_SASetControls.boolCtrlsLow.StickyKeys", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_MouseKeys, { "MouseKeys", "x11.struct.xkb_SASetControls.boolCtrlsLow.MouseKeys", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.struct.xkb_SASetControls.boolCtrlsLow.MouseKeysAccel", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_AccessXKeys, { "AccessXKeys", "x11.struct.xkb_SASetControls.boolCtrlsLow.AccessXKeys", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow_mask_AccessXTimeout, { "AccessXTimeout", "x11.struct.xkb_SASetControls.boolCtrlsLow.AccessXTimeout", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SASetControls_boolCtrlsLow, { "boolCtrlsLow", "x11.struct.xkb_SASetControls.boolCtrlsLow", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAActionMessage, { "xkb_SAActionMessage", "x11.struct.xkb_SAActionMessage", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAActionMessage_type, { "type", "x11.struct.xkb_SAActionMessage.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAActionMessage_flags_mask_OnPress, { "OnPress", "x11.struct.xkb_SAActionMessage.flags.OnPress", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAActionMessage_flags_mask_OnRelease, { "OnRelease", "x11.struct.xkb_SAActionMessage.flags.OnRelease", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SAActionMessage_flags_mask_GenKeyEvent, { "GenKeyEvent", "x11.struct.xkb_SAActionMessage.flags.GenKeyEvent", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SAActionMessage_flags, { "flags", "x11.struct.xkb_SAActionMessage.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SAActionMessage_message, { "message", "x11.struct.xkb_SAActionMessage.message", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey, { "xkb_SARedirectKey", "x11.struct.xkb_SARedirectKey", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_type, { "type", "x11.struct.xkb_SARedirectKey.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_newkey, { "newkey", "x11.struct.xkb_SARedirectKey.newkey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_Shift, { "Shift", "x11.struct.xkb_SARedirectKey.mask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_Lock, { "Lock", "x11.struct.xkb_SARedirectKey.mask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_Control, { "Control", "x11.struct.xkb_SARedirectKey.mask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_1, { "1", "x11.struct.xkb_SARedirectKey.mask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_2, { "2", "x11.struct.xkb_SARedirectKey.mask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_3, { "3", "x11.struct.xkb_SARedirectKey.mask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_4, { "4", "x11.struct.xkb_SARedirectKey.mask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_5, { "5", "x11.struct.xkb_SARedirectKey.mask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask_mask_Any, { "Any", "x11.struct.xkb_SARedirectKey.mask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_mask, { "mask", "x11.struct.xkb_SARedirectKey.mask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Shift, { "Shift", "x11.struct.xkb_SARedirectKey.realModifiers.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Lock, { "Lock", "x11.struct.xkb_SARedirectKey.realModifiers.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Control, { "Control", "x11.struct.xkb_SARedirectKey.realModifiers.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_1, { "1", "x11.struct.xkb_SARedirectKey.realModifiers.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_2, { "2", "x11.struct.xkb_SARedirectKey.realModifiers.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_3, { "3", "x11.struct.xkb_SARedirectKey.realModifiers.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_4, { "4", "x11.struct.xkb_SARedirectKey.realModifiers.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_5, { "5", "x11.struct.xkb_SARedirectKey.realModifiers.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers_mask_Any, { "Any", "x11.struct.xkb_SARedirectKey.realModifiers.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_realModifiers, { "realModifiers", "x11.struct.xkb_SARedirectKey.realModifiers", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_8, { "8", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh.8", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_9, { "9", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh.9", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_10, { "10", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh.10", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_11, { "11", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh.11", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_12, { "12", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh.12", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_13, { "13", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh.13", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_14, { "14", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh.14", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh_mask_15, { "15", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh.15", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskHigh, { "vmodsMaskHigh", "x11.struct.xkb_SARedirectKey.vmodsMaskHigh", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_0, { "0", "x11.struct.xkb_SARedirectKey.vmodsMaskLow.0", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_1, { "1", "x11.struct.xkb_SARedirectKey.vmodsMaskLow.1", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_2, { "2", "x11.struct.xkb_SARedirectKey.vmodsMaskLow.2", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_3, { "3", "x11.struct.xkb_SARedirectKey.vmodsMaskLow.3", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_4, { "4", "x11.struct.xkb_SARedirectKey.vmodsMaskLow.4", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_5, { "5", "x11.struct.xkb_SARedirectKey.vmodsMaskLow.5", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_6, { "6", "x11.struct.xkb_SARedirectKey.vmodsMaskLow.6", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow_mask_7, { "7", "x11.struct.xkb_SARedirectKey.vmodsMaskLow.7", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsMaskLow, { "vmodsMaskLow", "x11.struct.xkb_SARedirectKey.vmodsMaskLow", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_8, { "8", "x11.struct.xkb_SARedirectKey.vmodsHigh.8", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_9, { "9", "x11.struct.xkb_SARedirectKey.vmodsHigh.9", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_10, { "10", "x11.struct.xkb_SARedirectKey.vmodsHigh.10", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_11, { "11", "x11.struct.xkb_SARedirectKey.vmodsHigh.11", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_12, { "12", "x11.struct.xkb_SARedirectKey.vmodsHigh.12", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_13, { "13", "x11.struct.xkb_SARedirectKey.vmodsHigh.13", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_14, { "14", "x11.struct.xkb_SARedirectKey.vmodsHigh.14", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh_mask_15, { "15", "x11.struct.xkb_SARedirectKey.vmodsHigh.15", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsHigh, { "vmodsHigh", "x11.struct.xkb_SARedirectKey.vmodsHigh", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_0, { "0", "x11.struct.xkb_SARedirectKey.vmodsLow.0", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_1, { "1", "x11.struct.xkb_SARedirectKey.vmodsLow.1", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_2, { "2", "x11.struct.xkb_SARedirectKey.vmodsLow.2", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_3, { "3", "x11.struct.xkb_SARedirectKey.vmodsLow.3", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_4, { "4", "x11.struct.xkb_SARedirectKey.vmodsLow.4", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_5, { "5", "x11.struct.xkb_SARedirectKey.vmodsLow.5", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_6, { "6", "x11.struct.xkb_SARedirectKey.vmodsLow.6", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow_mask_7, { "7", "x11.struct.xkb_SARedirectKey.vmodsLow.7", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SARedirectKey_vmodsLow, { "vmodsLow", "x11.struct.xkb_SARedirectKey.vmodsLow", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceBtn, { "xkb_SADeviceBtn", "x11.struct.xkb_SADeviceBtn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceBtn_type, { "type", "x11.struct.xkb_SADeviceBtn.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceBtn_flags, { "flags", "x11.struct.xkb_SADeviceBtn.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceBtn_count, { "count", "x11.struct.xkb_SADeviceBtn.count", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceBtn_button, { "button", "x11.struct.xkb_SADeviceBtn.button", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceBtn_device, { "device", "x11.struct.xkb_SADeviceBtn.device", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockDeviceBtn, { "xkb_SALockDeviceBtn", "x11.struct.xkb_SALockDeviceBtn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockDeviceBtn_type, { "type", "x11.struct.xkb_SALockDeviceBtn.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockDeviceBtn_flags_mask_NoLock, { "NoLock", "x11.struct.xkb_SALockDeviceBtn.flags.NoLock", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockDeviceBtn_flags_mask_NoUnlock, { "NoUnlock", "x11.struct.xkb_SALockDeviceBtn.flags.NoUnlock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockDeviceBtn_flags, { "flags", "x11.struct.xkb_SALockDeviceBtn.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockDeviceBtn_button, { "button", "x11.struct.xkb_SALockDeviceBtn.button", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SALockDeviceBtn_device, { "device", "x11.struct.xkb_SALockDeviceBtn.device", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator, { "xkb_SADeviceValuator", "x11.struct.xkb_SADeviceValuator", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator_type, { "type", "x11.struct.xkb_SADeviceValuator.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator_device, { "device", "x11.struct.xkb_SADeviceValuator.device", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator_val1what, { "val1what", "x11.struct.xkb_SADeviceValuator.val1what", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAValWhat), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator_val1index, { "val1index", "x11.struct.xkb_SADeviceValuator.val1index", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator_val1value, { "val1value", "x11.struct.xkb_SADeviceValuator.val1value", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator_val2what, { "val2what", "x11.struct.xkb_SADeviceValuator.val2what", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAValWhat), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator_val2index, { "val2index", "x11.struct.xkb_SADeviceValuator.val2index", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SADeviceValuator_val2value, { "val2value", "x11.struct.xkb_SADeviceValuator.val2value", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SIAction, { "xkb_SIAction", "x11.struct.xkb_SIAction", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SIAction_type, { "type", "x11.struct.xkb_SIAction.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SIAction_data, { "data", "x11.struct.xkb_SIAction.data", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret, { "xkb_SymInterpret", "x11.struct.xkb_SymInterpret", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_sym, { "sym", "x11.struct.xkb_SymInterpret.sym", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_Shift, { "Shift", "x11.struct.xkb_SymInterpret.mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_Lock, { "Lock", "x11.struct.xkb_SymInterpret.mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_Control, { "Control", "x11.struct.xkb_SymInterpret.mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_1, { "1", "x11.struct.xkb_SymInterpret.mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_2, { "2", "x11.struct.xkb_SymInterpret.mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_3, { "3", "x11.struct.xkb_SymInterpret.mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_4, { "4", "x11.struct.xkb_SymInterpret.mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_5, { "5", "x11.struct.xkb_SymInterpret.mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods_mask_Any, { "Any", "x11.struct.xkb_SymInterpret.mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_mods, { "mods", "x11.struct.xkb_SymInterpret.mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_match, { "match", "x11.struct.xkb_SymInterpret.match", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SymInterpretMatch), 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_0, { "0", "x11.struct.xkb_SymInterpret.virtualMod.0", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_1, { "1", "x11.struct.xkb_SymInterpret.virtualMod.1", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_2, { "2", "x11.struct.xkb_SymInterpret.virtualMod.2", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_3, { "3", "x11.struct.xkb_SymInterpret.virtualMod.3", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_4, { "4", "x11.struct.xkb_SymInterpret.virtualMod.4", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_5, { "5", "x11.struct.xkb_SymInterpret.virtualMod.5", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_6, { "6", "x11.struct.xkb_SymInterpret.virtualMod.6", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod_mask_7, { "7", "x11.struct.xkb_SymInterpret.virtualMod.7", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_virtualMod, { "virtualMod", "x11.struct.xkb_SymInterpret.virtualMod", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_flags, { "flags", "x11.struct.xkb_SymInterpret.flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xkb_SymInterpret_action, { "action", "x11.struct.xkb_SymInterpret.action", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action, { "xkb_Action", "x11.union.xkb_Action", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_noaction, { "noaction", "x11.union.xkb_Action.noaction", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_setmods, { "setmods", "x11.union.xkb_Action.setmods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_latchmods, { "latchmods", "x11.union.xkb_Action.latchmods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_lockmods, { "lockmods", "x11.union.xkb_Action.lockmods", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_setgroup, { "setgroup", "x11.union.xkb_Action.setgroup", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_latchgroup, { "latchgroup", "x11.union.xkb_Action.latchgroup", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_lockgroup, { "lockgroup", "x11.union.xkb_Action.lockgroup", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_moveptr, { "moveptr", "x11.union.xkb_Action.moveptr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_ptrbtn, { "ptrbtn", "x11.union.xkb_Action.ptrbtn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_lockptrbtn, { "lockptrbtn", "x11.union.xkb_Action.lockptrbtn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_setptrdflt, { "setptrdflt", "x11.union.xkb_Action.setptrdflt", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_isolock, { "isolock", "x11.union.xkb_Action.isolock", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_terminate, { "terminate", "x11.union.xkb_Action.terminate", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_switchscreen, { "switchscreen", "x11.union.xkb_Action.switchscreen", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_setcontrols, { "setcontrols", "x11.union.xkb_Action.setcontrols", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_lockcontrols, { "lockcontrols", "x11.union.xkb_Action.lockcontrols", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_message, { "message", "x11.union.xkb_Action.message", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_redirect, { "redirect", "x11.union.xkb_Action.redirect", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_devbtn, { "devbtn", "x11.union.xkb_Action.devbtn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_lockdevbtn, { "lockdevbtn", "x11.union.xkb_Action.lockdevbtn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_devval, { "devval", "x11.union.xkb_Action.devval", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_union_xkb_Action_type, { "type", "x11.union.xkb_Action.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_SAType), 0, NULL, HFILL }}, { &hf_x11_xkb_UseExtension_wantedMajor, { "wantedMajor", "x11.xkb.UseExtension.wantedMajor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_UseExtension_wantedMinor, { "wantedMinor", "x11.xkb.UseExtension.wantedMinor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_UseExtension_reply_supported, { "supported", "x11.xkb.UseExtension.reply.supported", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_UseExtension_reply_serverMajor, { "serverMajor", "x11.xkb.UseExtension.reply.serverMajor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_UseExtension_reply_serverMinor, { "serverMinor", "x11.xkb.UseExtension.reply.serverMinor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_deviceSpec, { "deviceSpec", "x11.xkb.SelectEvents.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_NewKeyboardNotify, { "NewKeyboardNotify", "x11.xkb.SelectEvents.affectWhich.NewKeyboardNotify", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_MapNotify, { "MapNotify", "x11.xkb.SelectEvents.affectWhich.MapNotify", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_StateNotify, { "StateNotify", "x11.xkb.SelectEvents.affectWhich.StateNotify", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_ControlsNotify, { "ControlsNotify", "x11.xkb.SelectEvents.affectWhich.ControlsNotify", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_IndicatorStateNotify, { "IndicatorStateNotify", "x11.xkb.SelectEvents.affectWhich.IndicatorStateNotify", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_IndicatorMapNotify, { "IndicatorMapNotify", "x11.xkb.SelectEvents.affectWhich.IndicatorMapNotify", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_NamesNotify, { "NamesNotify", "x11.xkb.SelectEvents.affectWhich.NamesNotify", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_CompatMapNotify, { "CompatMapNotify", "x11.xkb.SelectEvents.affectWhich.CompatMapNotify", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_BellNotify, { "BellNotify", "x11.xkb.SelectEvents.affectWhich.BellNotify", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_ActionMessage, { "ActionMessage", "x11.xkb.SelectEvents.affectWhich.ActionMessage", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_AccessXNotify, { "AccessXNotify", "x11.xkb.SelectEvents.affectWhich.AccessXNotify", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich_mask_ExtensionDeviceNotify, { "ExtensionDeviceNotify", "x11.xkb.SelectEvents.affectWhich.ExtensionDeviceNotify", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectWhich, { "affectWhich", "x11.xkb.SelectEvents.affectWhich", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_NewKeyboardNotify, { "NewKeyboardNotify", "x11.xkb.SelectEvents.clear.NewKeyboardNotify", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_MapNotify, { "MapNotify", "x11.xkb.SelectEvents.clear.MapNotify", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_StateNotify, { "StateNotify", "x11.xkb.SelectEvents.clear.StateNotify", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_ControlsNotify, { "ControlsNotify", "x11.xkb.SelectEvents.clear.ControlsNotify", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_IndicatorStateNotify, { "IndicatorStateNotify", "x11.xkb.SelectEvents.clear.IndicatorStateNotify", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_IndicatorMapNotify, { "IndicatorMapNotify", "x11.xkb.SelectEvents.clear.IndicatorMapNotify", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_NamesNotify, { "NamesNotify", "x11.xkb.SelectEvents.clear.NamesNotify", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_CompatMapNotify, { "CompatMapNotify", "x11.xkb.SelectEvents.clear.CompatMapNotify", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_BellNotify, { "BellNotify", "x11.xkb.SelectEvents.clear.BellNotify", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_ActionMessage, { "ActionMessage", "x11.xkb.SelectEvents.clear.ActionMessage", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_AccessXNotify, { "AccessXNotify", "x11.xkb.SelectEvents.clear.AccessXNotify", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear_mask_ExtensionDeviceNotify, { "ExtensionDeviceNotify", "x11.xkb.SelectEvents.clear.ExtensionDeviceNotify", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_clear, { "clear", "x11.xkb.SelectEvents.clear", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_NewKeyboardNotify, { "NewKeyboardNotify", "x11.xkb.SelectEvents.selectAll.NewKeyboardNotify", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_MapNotify, { "MapNotify", "x11.xkb.SelectEvents.selectAll.MapNotify", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_StateNotify, { "StateNotify", "x11.xkb.SelectEvents.selectAll.StateNotify", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_ControlsNotify, { "ControlsNotify", "x11.xkb.SelectEvents.selectAll.ControlsNotify", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_IndicatorStateNotify, { "IndicatorStateNotify", "x11.xkb.SelectEvents.selectAll.IndicatorStateNotify", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_IndicatorMapNotify, { "IndicatorMapNotify", "x11.xkb.SelectEvents.selectAll.IndicatorMapNotify", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_NamesNotify, { "NamesNotify", "x11.xkb.SelectEvents.selectAll.NamesNotify", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_CompatMapNotify, { "CompatMapNotify", "x11.xkb.SelectEvents.selectAll.CompatMapNotify", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_BellNotify, { "BellNotify", "x11.xkb.SelectEvents.selectAll.BellNotify", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_ActionMessage, { "ActionMessage", "x11.xkb.SelectEvents.selectAll.ActionMessage", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_AccessXNotify, { "AccessXNotify", "x11.xkb.SelectEvents.selectAll.AccessXNotify", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll_mask_ExtensionDeviceNotify, { "ExtensionDeviceNotify", "x11.xkb.SelectEvents.selectAll.ExtensionDeviceNotify", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_selectAll, { "selectAll", "x11.xkb.SelectEvents.selectAll", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap_mask_KeyTypes, { "KeyTypes", "x11.xkb.SelectEvents.affectMap.KeyTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap_mask_KeySyms, { "KeySyms", "x11.xkb.SelectEvents.affectMap.KeySyms", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap_mask_ModifierMap, { "ModifierMap", "x11.xkb.SelectEvents.affectMap.ModifierMap", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap_mask_ExplicitComponents, { "ExplicitComponents", "x11.xkb.SelectEvents.affectMap.ExplicitComponents", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap_mask_KeyActions, { "KeyActions", "x11.xkb.SelectEvents.affectMap.KeyActions", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap_mask_KeyBehaviors, { "KeyBehaviors", "x11.xkb.SelectEvents.affectMap.KeyBehaviors", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap_mask_VirtualMods, { "VirtualMods", "x11.xkb.SelectEvents.affectMap.VirtualMods", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap_mask_VirtualModMap, { "VirtualModMap", "x11.xkb.SelectEvents.affectMap.VirtualModMap", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_affectMap, { "affectMap", "x11.xkb.SelectEvents.affectMap", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map_mask_KeyTypes, { "KeyTypes", "x11.xkb.SelectEvents.map.KeyTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map_mask_KeySyms, { "KeySyms", "x11.xkb.SelectEvents.map.KeySyms", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map_mask_ModifierMap, { "ModifierMap", "x11.xkb.SelectEvents.map.ModifierMap", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map_mask_ExplicitComponents, { "ExplicitComponents", "x11.xkb.SelectEvents.map.ExplicitComponents", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map_mask_KeyActions, { "KeyActions", "x11.xkb.SelectEvents.map.KeyActions", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map_mask_KeyBehaviors, { "KeyBehaviors", "x11.xkb.SelectEvents.map.KeyBehaviors", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map_mask_VirtualMods, { "VirtualMods", "x11.xkb.SelectEvents.map.VirtualMods", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map_mask_VirtualModMap, { "VirtualModMap", "x11.xkb.SelectEvents.map.VirtualModMap", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_map, { "map", "x11.xkb.SelectEvents.map", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_Keycodes, { "Keycodes", "x11.xkb.SelectEvents.NewKeyboardNotify.affectNewKeyboard.Keycodes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_Geometry, { "Geometry", "x11.xkb.SelectEvents.NewKeyboardNotify.affectNewKeyboard.Geometry", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard_mask_DeviceID, { "DeviceID", "x11.xkb.SelectEvents.NewKeyboardNotify.affectNewKeyboard.DeviceID", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_affectNewKeyboard, { "affectNewKeyboard", "x11.xkb.SelectEvents.NewKeyboardNotify.affectNewKeyboard", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_Keycodes, { "Keycodes", "x11.xkb.SelectEvents.NewKeyboardNotify.newKeyboardDetails.Keycodes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_Geometry, { "Geometry", "x11.xkb.SelectEvents.NewKeyboardNotify.newKeyboardDetails.Geometry", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails_mask_DeviceID, { "DeviceID", "x11.xkb.SelectEvents.NewKeyboardNotify.newKeyboardDetails.DeviceID", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NewKeyboardNotify_newKeyboardDetails, { "newKeyboardDetails", "x11.xkb.SelectEvents.NewKeyboardNotify.newKeyboardDetails", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierState, { "ModifierState", "x11.xkb.SelectEvents.StateNotify.affectState.ModifierState", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierBase, { "ModifierBase", "x11.xkb.SelectEvents.StateNotify.affectState.ModifierBase", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierLatch, { "ModifierLatch", "x11.xkb.SelectEvents.StateNotify.affectState.ModifierLatch", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_ModifierLock, { "ModifierLock", "x11.xkb.SelectEvents.StateNotify.affectState.ModifierLock", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupState, { "GroupState", "x11.xkb.SelectEvents.StateNotify.affectState.GroupState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupBase, { "GroupBase", "x11.xkb.SelectEvents.StateNotify.affectState.GroupBase", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupLatch, { "GroupLatch", "x11.xkb.SelectEvents.StateNotify.affectState.GroupLatch", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GroupLock, { "GroupLock", "x11.xkb.SelectEvents.StateNotify.affectState.GroupLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatState, { "CompatState", "x11.xkb.SelectEvents.StateNotify.affectState.CompatState", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_GrabMods, { "GrabMods", "x11.xkb.SelectEvents.StateNotify.affectState.GrabMods", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatGrabMods, { "CompatGrabMods", "x11.xkb.SelectEvents.StateNotify.affectState.CompatGrabMods", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_LookupMods, { "LookupMods", "x11.xkb.SelectEvents.StateNotify.affectState.LookupMods", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_CompatLookupMods, { "CompatLookupMods", "x11.xkb.SelectEvents.StateNotify.affectState.CompatLookupMods", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState_mask_PointerButtons, { "PointerButtons", "x11.xkb.SelectEvents.StateNotify.affectState.PointerButtons", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_affectState, { "affectState", "x11.xkb.SelectEvents.StateNotify.affectState", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierState, { "ModifierState", "x11.xkb.SelectEvents.StateNotify.stateDetails.ModifierState", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierBase, { "ModifierBase", "x11.xkb.SelectEvents.StateNotify.stateDetails.ModifierBase", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierLatch, { "ModifierLatch", "x11.xkb.SelectEvents.StateNotify.stateDetails.ModifierLatch", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_ModifierLock, { "ModifierLock", "x11.xkb.SelectEvents.StateNotify.stateDetails.ModifierLock", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupState, { "GroupState", "x11.xkb.SelectEvents.StateNotify.stateDetails.GroupState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupBase, { "GroupBase", "x11.xkb.SelectEvents.StateNotify.stateDetails.GroupBase", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupLatch, { "GroupLatch", "x11.xkb.SelectEvents.StateNotify.stateDetails.GroupLatch", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GroupLock, { "GroupLock", "x11.xkb.SelectEvents.StateNotify.stateDetails.GroupLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatState, { "CompatState", "x11.xkb.SelectEvents.StateNotify.stateDetails.CompatState", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_GrabMods, { "GrabMods", "x11.xkb.SelectEvents.StateNotify.stateDetails.GrabMods", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatGrabMods, { "CompatGrabMods", "x11.xkb.SelectEvents.StateNotify.stateDetails.CompatGrabMods", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_LookupMods, { "LookupMods", "x11.xkb.SelectEvents.StateNotify.stateDetails.LookupMods", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_CompatLookupMods, { "CompatLookupMods", "x11.xkb.SelectEvents.StateNotify.stateDetails.CompatLookupMods", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails_mask_PointerButtons, { "PointerButtons", "x11.xkb.SelectEvents.StateNotify.stateDetails.PointerButtons", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_StateNotify_stateDetails, { "stateDetails", "x11.xkb.SelectEvents.StateNotify.stateDetails", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_GroupsWrap, { "GroupsWrap", "x11.xkb.SelectEvents.ControlsNotify.affectCtrls.GroupsWrap", FT_BOOLEAN, 32, NULL, 1U << 27, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_InternalMods, { "InternalMods", "x11.xkb.SelectEvents.ControlsNotify.affectCtrls.InternalMods", FT_BOOLEAN, 32, NULL, 1U << 28, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_IgnoreLockMods, { "IgnoreLockMods", "x11.xkb.SelectEvents.ControlsNotify.affectCtrls.IgnoreLockMods", FT_BOOLEAN, 32, NULL, 1U << 29, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_PerKeyRepeat, { "PerKeyRepeat", "x11.xkb.SelectEvents.ControlsNotify.affectCtrls.PerKeyRepeat", FT_BOOLEAN, 32, NULL, 1U << 30, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls_mask_ControlsEnabled, { "ControlsEnabled", "x11.xkb.SelectEvents.ControlsNotify.affectCtrls.ControlsEnabled", FT_BOOLEAN, 32, NULL, 1U << 31, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_affectCtrls, { "affectCtrls", "x11.xkb.SelectEvents.ControlsNotify.affectCtrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_GroupsWrap, { "GroupsWrap", "x11.xkb.SelectEvents.ControlsNotify.ctrlDetails.GroupsWrap", FT_BOOLEAN, 32, NULL, 1U << 27, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_InternalMods, { "InternalMods", "x11.xkb.SelectEvents.ControlsNotify.ctrlDetails.InternalMods", FT_BOOLEAN, 32, NULL, 1U << 28, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_IgnoreLockMods, { "IgnoreLockMods", "x11.xkb.SelectEvents.ControlsNotify.ctrlDetails.IgnoreLockMods", FT_BOOLEAN, 32, NULL, 1U << 29, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_PerKeyRepeat, { "PerKeyRepeat", "x11.xkb.SelectEvents.ControlsNotify.ctrlDetails.PerKeyRepeat", FT_BOOLEAN, 32, NULL, 1U << 30, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails_mask_ControlsEnabled, { "ControlsEnabled", "x11.xkb.SelectEvents.ControlsNotify.ctrlDetails.ControlsEnabled", FT_BOOLEAN, 32, NULL, 1U << 31, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ControlsNotify_ctrlDetails, { "ctrlDetails", "x11.xkb.SelectEvents.ControlsNotify.ctrlDetails", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_IndicatorStateNotify_affectIndicatorState, { "affectIndicatorState", "x11.xkb.SelectEvents.IndicatorStateNotify.affectIndicatorState", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_IndicatorStateNotify_indicatorStateDetails, { "indicatorStateDetails", "x11.xkb.SelectEvents.IndicatorStateNotify.indicatorStateDetails", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_IndicatorMapNotify_affectIndicatorMap, { "affectIndicatorMap", "x11.xkb.SelectEvents.IndicatorMapNotify.affectIndicatorMap", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_IndicatorMapNotify_indicatorMapDetails, { "indicatorMapDetails", "x11.xkb.SelectEvents.IndicatorMapNotify.indicatorMapDetails", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Keycodes, { "Keycodes", "x11.xkb.SelectEvents.NamesNotify.affectNames.Keycodes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Geometry, { "Geometry", "x11.xkb.SelectEvents.NamesNotify.affectNames.Geometry", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Symbols, { "Symbols", "x11.xkb.SelectEvents.NamesNotify.affectNames.Symbols", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_PhysSymbols, { "PhysSymbols", "x11.xkb.SelectEvents.NamesNotify.affectNames.PhysSymbols", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Types, { "Types", "x11.xkb.SelectEvents.NamesNotify.affectNames.Types", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_Compat, { "Compat", "x11.xkb.SelectEvents.NamesNotify.affectNames.Compat", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyTypeNames, { "KeyTypeNames", "x11.xkb.SelectEvents.NamesNotify.affectNames.KeyTypeNames", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KTLevelNames, { "KTLevelNames", "x11.xkb.SelectEvents.NamesNotify.affectNames.KTLevelNames", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.SelectEvents.NamesNotify.affectNames.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyNames, { "KeyNames", "x11.xkb.SelectEvents.NamesNotify.affectNames.KeyNames", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_KeyAliases, { "KeyAliases", "x11.xkb.SelectEvents.NamesNotify.affectNames.KeyAliases", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_VirtualModNames, { "VirtualModNames", "x11.xkb.SelectEvents.NamesNotify.affectNames.VirtualModNames", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_GroupNames, { "GroupNames", "x11.xkb.SelectEvents.NamesNotify.affectNames.GroupNames", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames_mask_RGNames, { "RGNames", "x11.xkb.SelectEvents.NamesNotify.affectNames.RGNames", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_affectNames, { "affectNames", "x11.xkb.SelectEvents.NamesNotify.affectNames", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Keycodes, { "Keycodes", "x11.xkb.SelectEvents.NamesNotify.namesDetails.Keycodes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Geometry, { "Geometry", "x11.xkb.SelectEvents.NamesNotify.namesDetails.Geometry", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Symbols, { "Symbols", "x11.xkb.SelectEvents.NamesNotify.namesDetails.Symbols", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_PhysSymbols, { "PhysSymbols", "x11.xkb.SelectEvents.NamesNotify.namesDetails.PhysSymbols", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Types, { "Types", "x11.xkb.SelectEvents.NamesNotify.namesDetails.Types", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_Compat, { "Compat", "x11.xkb.SelectEvents.NamesNotify.namesDetails.Compat", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyTypeNames, { "KeyTypeNames", "x11.xkb.SelectEvents.NamesNotify.namesDetails.KeyTypeNames", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KTLevelNames, { "KTLevelNames", "x11.xkb.SelectEvents.NamesNotify.namesDetails.KTLevelNames", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.SelectEvents.NamesNotify.namesDetails.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyNames, { "KeyNames", "x11.xkb.SelectEvents.NamesNotify.namesDetails.KeyNames", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_KeyAliases, { "KeyAliases", "x11.xkb.SelectEvents.NamesNotify.namesDetails.KeyAliases", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_VirtualModNames, { "VirtualModNames", "x11.xkb.SelectEvents.NamesNotify.namesDetails.VirtualModNames", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_GroupNames, { "GroupNames", "x11.xkb.SelectEvents.NamesNotify.namesDetails.GroupNames", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails_mask_RGNames, { "RGNames", "x11.xkb.SelectEvents.NamesNotify.namesDetails.RGNames", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_NamesNotify_namesDetails, { "namesDetails", "x11.xkb.SelectEvents.NamesNotify.namesDetails", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat_mask_SymInterp, { "SymInterp", "x11.xkb.SelectEvents.CompatMapNotify.affectCompat.SymInterp", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat_mask_GroupCompat, { "GroupCompat", "x11.xkb.SelectEvents.CompatMapNotify.affectCompat.GroupCompat", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_CompatMapNotify_affectCompat, { "affectCompat", "x11.xkb.SelectEvents.CompatMapNotify.affectCompat", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails_mask_SymInterp, { "SymInterp", "x11.xkb.SelectEvents.CompatMapNotify.compatDetails.SymInterp", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails_mask_GroupCompat, { "GroupCompat", "x11.xkb.SelectEvents.CompatMapNotify.compatDetails.GroupCompat", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_CompatMapNotify_compatDetails, { "compatDetails", "x11.xkb.SelectEvents.CompatMapNotify.compatDetails", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_BellNotify_affectBell, { "affectBell", "x11.xkb.SelectEvents.BellNotify.affectBell", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_BellNotify_bellDetails, { "bellDetails", "x11.xkb.SelectEvents.BellNotify.bellDetails", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ActionMessage_affectMsgDetails, { "affectMsgDetails", "x11.xkb.SelectEvents.ActionMessage.affectMsgDetails", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ActionMessage_msgDetails, { "msgDetails", "x11.xkb.SelectEvents.ActionMessage.msgDetails", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKPress, { "SKPress", "x11.xkb.SelectEvents.AccessXNotify.affectAccessX.SKPress", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKAccept, { "SKAccept", "x11.xkb.SelectEvents.AccessXNotify.affectAccessX.SKAccept", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKReject, { "SKReject", "x11.xkb.SelectEvents.AccessXNotify.affectAccessX.SKReject", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_SKRelease, { "SKRelease", "x11.xkb.SelectEvents.AccessXNotify.affectAccessX.SKRelease", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_BKAccept, { "BKAccept", "x11.xkb.SelectEvents.AccessXNotify.affectAccessX.BKAccept", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_BKReject, { "BKReject", "x11.xkb.SelectEvents.AccessXNotify.affectAccessX.BKReject", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX_mask_AXKWarning, { "AXKWarning", "x11.xkb.SelectEvents.AccessXNotify.affectAccessX.AXKWarning", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_affectAccessX, { "affectAccessX", "x11.xkb.SelectEvents.AccessXNotify.affectAccessX", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKPress, { "SKPress", "x11.xkb.SelectEvents.AccessXNotify.accessXDetails.SKPress", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKAccept, { "SKAccept", "x11.xkb.SelectEvents.AccessXNotify.accessXDetails.SKAccept", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKReject, { "SKReject", "x11.xkb.SelectEvents.AccessXNotify.accessXDetails.SKReject", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_SKRelease, { "SKRelease", "x11.xkb.SelectEvents.AccessXNotify.accessXDetails.SKRelease", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_BKAccept, { "BKAccept", "x11.xkb.SelectEvents.AccessXNotify.accessXDetails.BKAccept", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_BKReject, { "BKReject", "x11.xkb.SelectEvents.AccessXNotify.accessXDetails.BKReject", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails_mask_AXKWarning, { "AXKWarning", "x11.xkb.SelectEvents.AccessXNotify.accessXDetails.AXKWarning", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_AccessXNotify_accessXDetails, { "accessXDetails", "x11.xkb.SelectEvents.AccessXNotify.accessXDetails", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_Keyboards, { "Keyboards", "x11.xkb.SelectEvents.ExtensionDeviceNotify.affectExtDev.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_ButtonActions, { "ButtonActions", "x11.xkb.SelectEvents.ExtensionDeviceNotify.affectExtDev.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.SelectEvents.ExtensionDeviceNotify.affectExtDev.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.SelectEvents.ExtensionDeviceNotify.affectExtDev.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev_mask_IndicatorState, { "IndicatorState", "x11.xkb.SelectEvents.ExtensionDeviceNotify.affectExtDev.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_affectExtDev, { "affectExtDev", "x11.xkb.SelectEvents.ExtensionDeviceNotify.affectExtDev", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_Keyboards, { "Keyboards", "x11.xkb.SelectEvents.ExtensionDeviceNotify.extdevDetails.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_ButtonActions, { "ButtonActions", "x11.xkb.SelectEvents.ExtensionDeviceNotify.extdevDetails.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.SelectEvents.ExtensionDeviceNotify.extdevDetails.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.SelectEvents.ExtensionDeviceNotify.extdevDetails.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails_mask_IndicatorState, { "IndicatorState", "x11.xkb.SelectEvents.ExtensionDeviceNotify.extdevDetails.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SelectEvents_ExtensionDeviceNotify_extdevDetails, { "extdevDetails", "x11.xkb.SelectEvents.ExtensionDeviceNotify.extdevDetails", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_deviceSpec, { "deviceSpec", "x11.xkb.Bell.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_bellClass, { "bellClass", "x11.xkb.Bell.bellClass", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_bellID, { "bellID", "x11.xkb.Bell.bellID", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_percent, { "percent", "x11.xkb.Bell.percent", FT_INT8, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_forceSound, { "forceSound", "x11.xkb.Bell.forceSound", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_eventOnly, { "eventOnly", "x11.xkb.Bell.eventOnly", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_pitch, { "pitch", "x11.xkb.Bell.pitch", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_duration, { "duration", "x11.xkb.Bell.duration", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_name, { "name", "x11.xkb.Bell.name", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_Bell_window, { "window", "x11.xkb.Bell.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_deviceSpec, { "deviceSpec", "x11.xkb.GetState.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_deviceID, { "deviceID", "x11.xkb.GetState.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_Shift, { "Shift", "x11.xkb.GetState.reply.mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_Lock, { "Lock", "x11.xkb.GetState.reply.mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_Control, { "Control", "x11.xkb.GetState.reply.mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_1, { "1", "x11.xkb.GetState.reply.mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_2, { "2", "x11.xkb.GetState.reply.mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_3, { "3", "x11.xkb.GetState.reply.mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_4, { "4", "x11.xkb.GetState.reply.mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_5, { "5", "x11.xkb.GetState.reply.mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods_mask_Any, { "Any", "x11.xkb.GetState.reply.mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_mods, { "mods", "x11.xkb.GetState.reply.mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_Shift, { "Shift", "x11.xkb.GetState.reply.baseMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_Lock, { "Lock", "x11.xkb.GetState.reply.baseMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_Control, { "Control", "x11.xkb.GetState.reply.baseMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_1, { "1", "x11.xkb.GetState.reply.baseMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_2, { "2", "x11.xkb.GetState.reply.baseMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_3, { "3", "x11.xkb.GetState.reply.baseMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_4, { "4", "x11.xkb.GetState.reply.baseMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_5, { "5", "x11.xkb.GetState.reply.baseMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods_mask_Any, { "Any", "x11.xkb.GetState.reply.baseMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseMods, { "baseMods", "x11.xkb.GetState.reply.baseMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_Shift, { "Shift", "x11.xkb.GetState.reply.latchedMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_Lock, { "Lock", "x11.xkb.GetState.reply.latchedMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_Control, { "Control", "x11.xkb.GetState.reply.latchedMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_1, { "1", "x11.xkb.GetState.reply.latchedMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_2, { "2", "x11.xkb.GetState.reply.latchedMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_3, { "3", "x11.xkb.GetState.reply.latchedMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_4, { "4", "x11.xkb.GetState.reply.latchedMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_5, { "5", "x11.xkb.GetState.reply.latchedMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods_mask_Any, { "Any", "x11.xkb.GetState.reply.latchedMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedMods, { "latchedMods", "x11.xkb.GetState.reply.latchedMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_Shift, { "Shift", "x11.xkb.GetState.reply.lockedMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_Lock, { "Lock", "x11.xkb.GetState.reply.lockedMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_Control, { "Control", "x11.xkb.GetState.reply.lockedMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_1, { "1", "x11.xkb.GetState.reply.lockedMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_2, { "2", "x11.xkb.GetState.reply.lockedMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_3, { "3", "x11.xkb.GetState.reply.lockedMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_4, { "4", "x11.xkb.GetState.reply.lockedMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_5, { "5", "x11.xkb.GetState.reply.lockedMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods_mask_Any, { "Any", "x11.xkb.GetState.reply.lockedMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedMods, { "lockedMods", "x11.xkb.GetState.reply.lockedMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_group, { "group", "x11.xkb.GetState.reply.group", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_Group), 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lockedGroup, { "lockedGroup", "x11.xkb.GetState.reply.lockedGroup", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_Group), 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_baseGroup, { "baseGroup", "x11.xkb.GetState.reply.baseGroup", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_latchedGroup, { "latchedGroup", "x11.xkb.GetState.reply.latchedGroup", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_Shift, { "Shift", "x11.xkb.GetState.reply.compatState.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_Lock, { "Lock", "x11.xkb.GetState.reply.compatState.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_Control, { "Control", "x11.xkb.GetState.reply.compatState.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_1, { "1", "x11.xkb.GetState.reply.compatState.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_2, { "2", "x11.xkb.GetState.reply.compatState.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_3, { "3", "x11.xkb.GetState.reply.compatState.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_4, { "4", "x11.xkb.GetState.reply.compatState.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_5, { "5", "x11.xkb.GetState.reply.compatState.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState_mask_Any, { "Any", "x11.xkb.GetState.reply.compatState.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatState, { "compatState", "x11.xkb.GetState.reply.compatState", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_Shift, { "Shift", "x11.xkb.GetState.reply.grabMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_Lock, { "Lock", "x11.xkb.GetState.reply.grabMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_Control, { "Control", "x11.xkb.GetState.reply.grabMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_1, { "1", "x11.xkb.GetState.reply.grabMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_2, { "2", "x11.xkb.GetState.reply.grabMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_3, { "3", "x11.xkb.GetState.reply.grabMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_4, { "4", "x11.xkb.GetState.reply.grabMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_5, { "5", "x11.xkb.GetState.reply.grabMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods_mask_Any, { "Any", "x11.xkb.GetState.reply.grabMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_grabMods, { "grabMods", "x11.xkb.GetState.reply.grabMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_Shift, { "Shift", "x11.xkb.GetState.reply.compatGrabMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_Lock, { "Lock", "x11.xkb.GetState.reply.compatGrabMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_Control, { "Control", "x11.xkb.GetState.reply.compatGrabMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_1, { "1", "x11.xkb.GetState.reply.compatGrabMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_2, { "2", "x11.xkb.GetState.reply.compatGrabMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_3, { "3", "x11.xkb.GetState.reply.compatGrabMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_4, { "4", "x11.xkb.GetState.reply.compatGrabMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_5, { "5", "x11.xkb.GetState.reply.compatGrabMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods_mask_Any, { "Any", "x11.xkb.GetState.reply.compatGrabMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatGrabMods, { "compatGrabMods", "x11.xkb.GetState.reply.compatGrabMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_Shift, { "Shift", "x11.xkb.GetState.reply.lookupMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_Lock, { "Lock", "x11.xkb.GetState.reply.lookupMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_Control, { "Control", "x11.xkb.GetState.reply.lookupMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_1, { "1", "x11.xkb.GetState.reply.lookupMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_2, { "2", "x11.xkb.GetState.reply.lookupMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_3, { "3", "x11.xkb.GetState.reply.lookupMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_4, { "4", "x11.xkb.GetState.reply.lookupMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_5, { "5", "x11.xkb.GetState.reply.lookupMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods_mask_Any, { "Any", "x11.xkb.GetState.reply.lookupMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_lookupMods, { "lookupMods", "x11.xkb.GetState.reply.lookupMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_Shift, { "Shift", "x11.xkb.GetState.reply.compatLookupMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_Lock, { "Lock", "x11.xkb.GetState.reply.compatLookupMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_Control, { "Control", "x11.xkb.GetState.reply.compatLookupMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_1, { "1", "x11.xkb.GetState.reply.compatLookupMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_2, { "2", "x11.xkb.GetState.reply.compatLookupMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_3, { "3", "x11.xkb.GetState.reply.compatLookupMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_4, { "4", "x11.xkb.GetState.reply.compatLookupMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_5, { "5", "x11.xkb.GetState.reply.compatLookupMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods_mask_Any, { "Any", "x11.xkb.GetState.reply.compatLookupMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_compatLookupMods, { "compatLookupMods", "x11.xkb.GetState.reply.compatLookupMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Shift, { "Shift", "x11.xkb.GetState.reply.ptrBtnState.Shift", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Lock, { "Lock", "x11.xkb.GetState.reply.ptrBtnState.Lock", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Control, { "Control", "x11.xkb.GetState.reply.ptrBtnState.Control", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod1, { "Mod1", "x11.xkb.GetState.reply.ptrBtnState.Mod1", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod2, { "Mod2", "x11.xkb.GetState.reply.ptrBtnState.Mod2", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod3, { "Mod3", "x11.xkb.GetState.reply.ptrBtnState.Mod3", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod4, { "Mod4", "x11.xkb.GetState.reply.ptrBtnState.Mod4", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Mod5, { "Mod5", "x11.xkb.GetState.reply.ptrBtnState.Mod5", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button1, { "Button1", "x11.xkb.GetState.reply.ptrBtnState.Button1", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button2, { "Button2", "x11.xkb.GetState.reply.ptrBtnState.Button2", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button3, { "Button3", "x11.xkb.GetState.reply.ptrBtnState.Button3", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button4, { "Button4", "x11.xkb.GetState.reply.ptrBtnState.Button4", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState_mask_Button5, { "Button5", "x11.xkb.GetState.reply.ptrBtnState.Button5", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetState_reply_ptrBtnState, { "ptrBtnState", "x11.xkb.GetState.reply.ptrBtnState", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_deviceSpec, { "deviceSpec", "x11.xkb.LatchLockState.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_Shift, { "Shift", "x11.xkb.LatchLockState.affectModLocks.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_Lock, { "Lock", "x11.xkb.LatchLockState.affectModLocks.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_Control, { "Control", "x11.xkb.LatchLockState.affectModLocks.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_1, { "1", "x11.xkb.LatchLockState.affectModLocks.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_2, { "2", "x11.xkb.LatchLockState.affectModLocks.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_3, { "3", "x11.xkb.LatchLockState.affectModLocks.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_4, { "4", "x11.xkb.LatchLockState.affectModLocks.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_5, { "5", "x11.xkb.LatchLockState.affectModLocks.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks_mask_Any, { "Any", "x11.xkb.LatchLockState.affectModLocks.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLocks, { "affectModLocks", "x11.xkb.LatchLockState.affectModLocks", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_Shift, { "Shift", "x11.xkb.LatchLockState.modLocks.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_Lock, { "Lock", "x11.xkb.LatchLockState.modLocks.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_Control, { "Control", "x11.xkb.LatchLockState.modLocks.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_1, { "1", "x11.xkb.LatchLockState.modLocks.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_2, { "2", "x11.xkb.LatchLockState.modLocks.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_3, { "3", "x11.xkb.LatchLockState.modLocks.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_4, { "4", "x11.xkb.LatchLockState.modLocks.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_5, { "5", "x11.xkb.LatchLockState.modLocks.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks_mask_Any, { "Any", "x11.xkb.LatchLockState.modLocks.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_modLocks, { "modLocks", "x11.xkb.LatchLockState.modLocks", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_lockGroup, { "lockGroup", "x11.xkb.LatchLockState.lockGroup", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_groupLock, { "groupLock", "x11.xkb.LatchLockState.groupLock", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_Group), 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_Shift, { "Shift", "x11.xkb.LatchLockState.affectModLatches.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_Lock, { "Lock", "x11.xkb.LatchLockState.affectModLatches.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_Control, { "Control", "x11.xkb.LatchLockState.affectModLatches.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_1, { "1", "x11.xkb.LatchLockState.affectModLatches.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_2, { "2", "x11.xkb.LatchLockState.affectModLatches.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_3, { "3", "x11.xkb.LatchLockState.affectModLatches.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_4, { "4", "x11.xkb.LatchLockState.affectModLatches.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_5, { "5", "x11.xkb.LatchLockState.affectModLatches.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches_mask_Any, { "Any", "x11.xkb.LatchLockState.affectModLatches.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_affectModLatches, { "affectModLatches", "x11.xkb.LatchLockState.affectModLatches", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_latchGroup, { "latchGroup", "x11.xkb.LatchLockState.latchGroup", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_LatchLockState_groupLatch, { "groupLatch", "x11.xkb.LatchLockState.groupLatch", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_deviceSpec, { "deviceSpec", "x11.xkb.GetControls.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_deviceID, { "deviceID", "x11.xkb.GetControls.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_mouseKeysDfltBtn, { "mouseKeysDfltBtn", "x11.xkb.GetControls.reply.mouseKeysDfltBtn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_numGroups, { "numGroups", "x11.xkb.GetControls.reply.numGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_groupsWrap, { "groupsWrap", "x11.xkb.GetControls.reply.groupsWrap", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_Shift, { "Shift", "x11.xkb.GetControls.reply.internalModsMask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_Lock, { "Lock", "x11.xkb.GetControls.reply.internalModsMask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_Control, { "Control", "x11.xkb.GetControls.reply.internalModsMask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_1, { "1", "x11.xkb.GetControls.reply.internalModsMask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_2, { "2", "x11.xkb.GetControls.reply.internalModsMask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_3, { "3", "x11.xkb.GetControls.reply.internalModsMask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_4, { "4", "x11.xkb.GetControls.reply.internalModsMask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_5, { "5", "x11.xkb.GetControls.reply.internalModsMask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask_mask_Any, { "Any", "x11.xkb.GetControls.reply.internalModsMask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsMask, { "internalModsMask", "x11.xkb.GetControls.reply.internalModsMask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Shift, { "Shift", "x11.xkb.GetControls.reply.ignoreLockModsMask.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Lock, { "Lock", "x11.xkb.GetControls.reply.ignoreLockModsMask.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Control, { "Control", "x11.xkb.GetControls.reply.ignoreLockModsMask.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_1, { "1", "x11.xkb.GetControls.reply.ignoreLockModsMask.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_2, { "2", "x11.xkb.GetControls.reply.ignoreLockModsMask.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_3, { "3", "x11.xkb.GetControls.reply.ignoreLockModsMask.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_4, { "4", "x11.xkb.GetControls.reply.ignoreLockModsMask.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_5, { "5", "x11.xkb.GetControls.reply.ignoreLockModsMask.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask_mask_Any, { "Any", "x11.xkb.GetControls.reply.ignoreLockModsMask.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsMask, { "ignoreLockModsMask", "x11.xkb.GetControls.reply.ignoreLockModsMask", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Shift, { "Shift", "x11.xkb.GetControls.reply.internalModsRealMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Lock, { "Lock", "x11.xkb.GetControls.reply.internalModsRealMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Control, { "Control", "x11.xkb.GetControls.reply.internalModsRealMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_1, { "1", "x11.xkb.GetControls.reply.internalModsRealMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_2, { "2", "x11.xkb.GetControls.reply.internalModsRealMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_3, { "3", "x11.xkb.GetControls.reply.internalModsRealMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_4, { "4", "x11.xkb.GetControls.reply.internalModsRealMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_5, { "5", "x11.xkb.GetControls.reply.internalModsRealMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods_mask_Any, { "Any", "x11.xkb.GetControls.reply.internalModsRealMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsRealMods, { "internalModsRealMods", "x11.xkb.GetControls.reply.internalModsRealMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Shift, { "Shift", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Lock, { "Lock", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Control, { "Control", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_1, { "1", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_2, { "2", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_3, { "3", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_4, { "4", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_5, { "5", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods_mask_Any, { "Any", "x11.xkb.GetControls.reply.ignoreLockModsRealMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsRealMods, { "ignoreLockModsRealMods", "x11.xkb.GetControls.reply.ignoreLockModsRealMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_0, { "0", "x11.xkb.GetControls.reply.internalModsVmods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_1, { "1", "x11.xkb.GetControls.reply.internalModsVmods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_2, { "2", "x11.xkb.GetControls.reply.internalModsVmods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_3, { "3", "x11.xkb.GetControls.reply.internalModsVmods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_4, { "4", "x11.xkb.GetControls.reply.internalModsVmods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_5, { "5", "x11.xkb.GetControls.reply.internalModsVmods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_6, { "6", "x11.xkb.GetControls.reply.internalModsVmods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_7, { "7", "x11.xkb.GetControls.reply.internalModsVmods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_8, { "8", "x11.xkb.GetControls.reply.internalModsVmods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_9, { "9", "x11.xkb.GetControls.reply.internalModsVmods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_10, { "10", "x11.xkb.GetControls.reply.internalModsVmods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_11, { "11", "x11.xkb.GetControls.reply.internalModsVmods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_12, { "12", "x11.xkb.GetControls.reply.internalModsVmods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_13, { "13", "x11.xkb.GetControls.reply.internalModsVmods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_14, { "14", "x11.xkb.GetControls.reply.internalModsVmods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods_mask_15, { "15", "x11.xkb.GetControls.reply.internalModsVmods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_internalModsVmods, { "internalModsVmods", "x11.xkb.GetControls.reply.internalModsVmods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_0, { "0", "x11.xkb.GetControls.reply.ignoreLockModsVmods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_1, { "1", "x11.xkb.GetControls.reply.ignoreLockModsVmods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_2, { "2", "x11.xkb.GetControls.reply.ignoreLockModsVmods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_3, { "3", "x11.xkb.GetControls.reply.ignoreLockModsVmods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_4, { "4", "x11.xkb.GetControls.reply.ignoreLockModsVmods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_5, { "5", "x11.xkb.GetControls.reply.ignoreLockModsVmods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_6, { "6", "x11.xkb.GetControls.reply.ignoreLockModsVmods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_7, { "7", "x11.xkb.GetControls.reply.ignoreLockModsVmods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_8, { "8", "x11.xkb.GetControls.reply.ignoreLockModsVmods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_9, { "9", "x11.xkb.GetControls.reply.ignoreLockModsVmods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_10, { "10", "x11.xkb.GetControls.reply.ignoreLockModsVmods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_11, { "11", "x11.xkb.GetControls.reply.ignoreLockModsVmods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_12, { "12", "x11.xkb.GetControls.reply.ignoreLockModsVmods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_13, { "13", "x11.xkb.GetControls.reply.ignoreLockModsVmods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_14, { "14", "x11.xkb.GetControls.reply.ignoreLockModsVmods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods_mask_15, { "15", "x11.xkb.GetControls.reply.ignoreLockModsVmods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_ignoreLockModsVmods, { "ignoreLockModsVmods", "x11.xkb.GetControls.reply.ignoreLockModsVmods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_repeatDelay, { "repeatDelay", "x11.xkb.GetControls.reply.repeatDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_repeatInterval, { "repeatInterval", "x11.xkb.GetControls.reply.repeatInterval", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_slowKeysDelay, { "slowKeysDelay", "x11.xkb.GetControls.reply.slowKeysDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_debounceDelay, { "debounceDelay", "x11.xkb.GetControls.reply.debounceDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_mouseKeysDelay, { "mouseKeysDelay", "x11.xkb.GetControls.reply.mouseKeysDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_mouseKeysInterval, { "mouseKeysInterval", "x11.xkb.GetControls.reply.mouseKeysInterval", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_mouseKeysTimeToMax, { "mouseKeysTimeToMax", "x11.xkb.GetControls.reply.mouseKeysTimeToMax", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_mouseKeysMaxSpeed, { "mouseKeysMaxSpeed", "x11.xkb.GetControls.reply.mouseKeysMaxSpeed", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_mouseKeysCurve, { "mouseKeysCurve", "x11.xkb.GetControls.reply.mouseKeysCurve", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_SKPressFB, { "SKPressFB", "x11.xkb.GetControls.reply.accessXOption.SKPressFB", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_SKAcceptFB, { "SKAcceptFB", "x11.xkb.GetControls.reply.accessXOption.SKAcceptFB", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_FeatureFB, { "FeatureFB", "x11.xkb.GetControls.reply.accessXOption.FeatureFB", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_SlowWarnFB, { "SlowWarnFB", "x11.xkb.GetControls.reply.accessXOption.SlowWarnFB", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_IndicatorFB, { "IndicatorFB", "x11.xkb.GetControls.reply.accessXOption.IndicatorFB", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_StickyKeysFB, { "StickyKeysFB", "x11.xkb.GetControls.reply.accessXOption.StickyKeysFB", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_TwoKeys, { "TwoKeys", "x11.xkb.GetControls.reply.accessXOption.TwoKeys", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_LatchToLock, { "LatchToLock", "x11.xkb.GetControls.reply.accessXOption.LatchToLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_SKReleaseFB, { "SKReleaseFB", "x11.xkb.GetControls.reply.accessXOption.SKReleaseFB", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_SKRejectFB, { "SKRejectFB", "x11.xkb.GetControls.reply.accessXOption.SKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_BKRejectFB, { "BKRejectFB", "x11.xkb.GetControls.reply.accessXOption.BKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption_mask_DumbBell, { "DumbBell", "x11.xkb.GetControls.reply.accessXOption.DumbBell", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXOption, { "accessXOption", "x11.xkb.GetControls.reply.accessXOption", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeout, { "accessXTimeout", "x11.xkb.GetControls.reply.accessXTimeout", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKPressFB, { "SKPressFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.SKPressFB", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKAcceptFB, { "SKAcceptFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.SKAcceptFB", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_FeatureFB, { "FeatureFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.FeatureFB", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SlowWarnFB, { "SlowWarnFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.SlowWarnFB", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_IndicatorFB, { "IndicatorFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.IndicatorFB", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_StickyKeysFB, { "StickyKeysFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.StickyKeysFB", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_TwoKeys, { "TwoKeys", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.TwoKeys", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_LatchToLock, { "LatchToLock", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.LatchToLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKReleaseFB, { "SKReleaseFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.SKReleaseFB", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_SKRejectFB, { "SKRejectFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.SKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_BKRejectFB, { "BKRejectFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.BKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask_mask_DumbBell, { "DumbBell", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask.DumbBell", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsMask, { "accessXTimeoutOptionsMask", "x11.xkb.GetControls.reply.accessXTimeoutOptionsMask", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKPressFB, { "SKPressFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.SKPressFB", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKAcceptFB, { "SKAcceptFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.SKAcceptFB", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_FeatureFB, { "FeatureFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.FeatureFB", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SlowWarnFB, { "SlowWarnFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.SlowWarnFB", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_IndicatorFB, { "IndicatorFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.IndicatorFB", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_StickyKeysFB, { "StickyKeysFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.StickyKeysFB", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_TwoKeys, { "TwoKeys", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.TwoKeys", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_LatchToLock, { "LatchToLock", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.LatchToLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKReleaseFB, { "SKReleaseFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.SKReleaseFB", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_SKRejectFB, { "SKRejectFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.SKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_BKRejectFB, { "BKRejectFB", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.BKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues_mask_DumbBell, { "DumbBell", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues.DumbBell", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutOptionsValues, { "accessXTimeoutOptionsValues", "x11.xkb.GetControls.reply.accessXTimeoutOptionsValues", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.GetControls.reply.accessXTimeoutMask.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_SlowKeys, { "SlowKeys", "x11.xkb.GetControls.reply.accessXTimeoutMask.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_BounceKeys, { "BounceKeys", "x11.xkb.GetControls.reply.accessXTimeoutMask.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_StickyKeys, { "StickyKeys", "x11.xkb.GetControls.reply.accessXTimeoutMask.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_MouseKeys, { "MouseKeys", "x11.xkb.GetControls.reply.accessXTimeoutMask.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.GetControls.reply.accessXTimeoutMask.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.GetControls.reply.accessXTimeoutMask.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.GetControls.reply.accessXTimeoutMask.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.GetControls.reply.accessXTimeoutMask.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.GetControls.reply.accessXTimeoutMask.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.GetControls.reply.accessXTimeoutMask.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.GetControls.reply.accessXTimeoutMask.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.GetControls.reply.accessXTimeoutMask.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutMask, { "accessXTimeoutMask", "x11.xkb.GetControls.reply.accessXTimeoutMask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.GetControls.reply.accessXTimeoutValues.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_SlowKeys, { "SlowKeys", "x11.xkb.GetControls.reply.accessXTimeoutValues.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_BounceKeys, { "BounceKeys", "x11.xkb.GetControls.reply.accessXTimeoutValues.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_StickyKeys, { "StickyKeys", "x11.xkb.GetControls.reply.accessXTimeoutValues.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_MouseKeys, { "MouseKeys", "x11.xkb.GetControls.reply.accessXTimeoutValues.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.GetControls.reply.accessXTimeoutValues.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.GetControls.reply.accessXTimeoutValues.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.GetControls.reply.accessXTimeoutValues.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.GetControls.reply.accessXTimeoutValues.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.GetControls.reply.accessXTimeoutValues.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.GetControls.reply.accessXTimeoutValues.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.GetControls.reply.accessXTimeoutValues.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.GetControls.reply.accessXTimeoutValues.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_accessXTimeoutValues, { "accessXTimeoutValues", "x11.xkb.GetControls.reply.accessXTimeoutValues", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.GetControls.reply.enabledControls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_SlowKeys, { "SlowKeys", "x11.xkb.GetControls.reply.enabledControls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_BounceKeys, { "BounceKeys", "x11.xkb.GetControls.reply.enabledControls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_StickyKeys, { "StickyKeys", "x11.xkb.GetControls.reply.enabledControls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_MouseKeys, { "MouseKeys", "x11.xkb.GetControls.reply.enabledControls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.GetControls.reply.enabledControls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.GetControls.reply.enabledControls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.GetControls.reply.enabledControls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.GetControls.reply.enabledControls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.GetControls.reply.enabledControls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.GetControls.reply.enabledControls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.GetControls.reply.enabledControls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.GetControls.reply.enabledControls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_enabledControls, { "enabledControls", "x11.xkb.GetControls.reply.enabledControls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetControls_reply_perKeyRepeat, { "perKeyRepeat", "x11.xkb.GetControls.reply.perKeyRepeat", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_deviceSpec, { "deviceSpec", "x11.xkb.SetControls.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_Shift, { "Shift", "x11.xkb.SetControls.affectInternalRealMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_Lock, { "Lock", "x11.xkb.SetControls.affectInternalRealMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_Control, { "Control", "x11.xkb.SetControls.affectInternalRealMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_1, { "1", "x11.xkb.SetControls.affectInternalRealMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_2, { "2", "x11.xkb.SetControls.affectInternalRealMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_3, { "3", "x11.xkb.SetControls.affectInternalRealMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_4, { "4", "x11.xkb.SetControls.affectInternalRealMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_5, { "5", "x11.xkb.SetControls.affectInternalRealMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods_mask_Any, { "Any", "x11.xkb.SetControls.affectInternalRealMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalRealMods, { "affectInternalRealMods", "x11.xkb.SetControls.affectInternalRealMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_Shift, { "Shift", "x11.xkb.SetControls.internalRealMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_Lock, { "Lock", "x11.xkb.SetControls.internalRealMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_Control, { "Control", "x11.xkb.SetControls.internalRealMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_1, { "1", "x11.xkb.SetControls.internalRealMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_2, { "2", "x11.xkb.SetControls.internalRealMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_3, { "3", "x11.xkb.SetControls.internalRealMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_4, { "4", "x11.xkb.SetControls.internalRealMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_5, { "5", "x11.xkb.SetControls.internalRealMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods_mask_Any, { "Any", "x11.xkb.SetControls.internalRealMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalRealMods, { "internalRealMods", "x11.xkb.SetControls.internalRealMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Shift, { "Shift", "x11.xkb.SetControls.affectIgnoreLockRealMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Lock, { "Lock", "x11.xkb.SetControls.affectIgnoreLockRealMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Control, { "Control", "x11.xkb.SetControls.affectIgnoreLockRealMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_1, { "1", "x11.xkb.SetControls.affectIgnoreLockRealMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_2, { "2", "x11.xkb.SetControls.affectIgnoreLockRealMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_3, { "3", "x11.xkb.SetControls.affectIgnoreLockRealMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_4, { "4", "x11.xkb.SetControls.affectIgnoreLockRealMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_5, { "5", "x11.xkb.SetControls.affectIgnoreLockRealMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods_mask_Any, { "Any", "x11.xkb.SetControls.affectIgnoreLockRealMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockRealMods, { "affectIgnoreLockRealMods", "x11.xkb.SetControls.affectIgnoreLockRealMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Shift, { "Shift", "x11.xkb.SetControls.ignoreLockRealMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Lock, { "Lock", "x11.xkb.SetControls.ignoreLockRealMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Control, { "Control", "x11.xkb.SetControls.ignoreLockRealMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_1, { "1", "x11.xkb.SetControls.ignoreLockRealMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_2, { "2", "x11.xkb.SetControls.ignoreLockRealMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_3, { "3", "x11.xkb.SetControls.ignoreLockRealMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_4, { "4", "x11.xkb.SetControls.ignoreLockRealMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_5, { "5", "x11.xkb.SetControls.ignoreLockRealMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods_mask_Any, { "Any", "x11.xkb.SetControls.ignoreLockRealMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockRealMods, { "ignoreLockRealMods", "x11.xkb.SetControls.ignoreLockRealMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_0, { "0", "x11.xkb.SetControls.affectInternalVirtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_1, { "1", "x11.xkb.SetControls.affectInternalVirtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_2, { "2", "x11.xkb.SetControls.affectInternalVirtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_3, { "3", "x11.xkb.SetControls.affectInternalVirtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_4, { "4", "x11.xkb.SetControls.affectInternalVirtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_5, { "5", "x11.xkb.SetControls.affectInternalVirtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_6, { "6", "x11.xkb.SetControls.affectInternalVirtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_7, { "7", "x11.xkb.SetControls.affectInternalVirtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_8, { "8", "x11.xkb.SetControls.affectInternalVirtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_9, { "9", "x11.xkb.SetControls.affectInternalVirtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_10, { "10", "x11.xkb.SetControls.affectInternalVirtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_11, { "11", "x11.xkb.SetControls.affectInternalVirtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_12, { "12", "x11.xkb.SetControls.affectInternalVirtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_13, { "13", "x11.xkb.SetControls.affectInternalVirtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_14, { "14", "x11.xkb.SetControls.affectInternalVirtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods_mask_15, { "15", "x11.xkb.SetControls.affectInternalVirtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectInternalVirtualMods, { "affectInternalVirtualMods", "x11.xkb.SetControls.affectInternalVirtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_0, { "0", "x11.xkb.SetControls.internalVirtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_1, { "1", "x11.xkb.SetControls.internalVirtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_2, { "2", "x11.xkb.SetControls.internalVirtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_3, { "3", "x11.xkb.SetControls.internalVirtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_4, { "4", "x11.xkb.SetControls.internalVirtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_5, { "5", "x11.xkb.SetControls.internalVirtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_6, { "6", "x11.xkb.SetControls.internalVirtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_7, { "7", "x11.xkb.SetControls.internalVirtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_8, { "8", "x11.xkb.SetControls.internalVirtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_9, { "9", "x11.xkb.SetControls.internalVirtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_10, { "10", "x11.xkb.SetControls.internalVirtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_11, { "11", "x11.xkb.SetControls.internalVirtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_12, { "12", "x11.xkb.SetControls.internalVirtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_13, { "13", "x11.xkb.SetControls.internalVirtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_14, { "14", "x11.xkb.SetControls.internalVirtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods_mask_15, { "15", "x11.xkb.SetControls.internalVirtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetControls_internalVirtualMods, { "internalVirtualMods", "x11.xkb.SetControls.internalVirtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_0, { "0", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_1, { "1", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_2, { "2", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_3, { "3", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_4, { "4", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_5, { "5", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_6, { "6", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_7, { "7", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_8, { "8", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_9, { "9", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_10, { "10", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_11, { "11", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_12, { "12", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_13, { "13", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_14, { "14", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods_mask_15, { "15", "x11.xkb.SetControls.affectIgnoreLockVirtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectIgnoreLockVirtualMods, { "affectIgnoreLockVirtualMods", "x11.xkb.SetControls.affectIgnoreLockVirtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_0, { "0", "x11.xkb.SetControls.ignoreLockVirtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_1, { "1", "x11.xkb.SetControls.ignoreLockVirtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_2, { "2", "x11.xkb.SetControls.ignoreLockVirtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_3, { "3", "x11.xkb.SetControls.ignoreLockVirtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_4, { "4", "x11.xkb.SetControls.ignoreLockVirtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_5, { "5", "x11.xkb.SetControls.ignoreLockVirtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_6, { "6", "x11.xkb.SetControls.ignoreLockVirtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_7, { "7", "x11.xkb.SetControls.ignoreLockVirtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_8, { "8", "x11.xkb.SetControls.ignoreLockVirtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_9, { "9", "x11.xkb.SetControls.ignoreLockVirtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_10, { "10", "x11.xkb.SetControls.ignoreLockVirtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_11, { "11", "x11.xkb.SetControls.ignoreLockVirtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_12, { "12", "x11.xkb.SetControls.ignoreLockVirtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_13, { "13", "x11.xkb.SetControls.ignoreLockVirtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_14, { "14", "x11.xkb.SetControls.ignoreLockVirtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods_mask_15, { "15", "x11.xkb.SetControls.ignoreLockVirtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetControls_ignoreLockVirtualMods, { "ignoreLockVirtualMods", "x11.xkb.SetControls.ignoreLockVirtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_mouseKeysDfltBtn, { "mouseKeysDfltBtn", "x11.xkb.SetControls.mouseKeysDfltBtn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_groupsWrap, { "groupsWrap", "x11.xkb.SetControls.groupsWrap", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_SKPressFB, { "SKPressFB", "x11.xkb.SetControls.accessXOptions.SKPressFB", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_SKAcceptFB, { "SKAcceptFB", "x11.xkb.SetControls.accessXOptions.SKAcceptFB", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_FeatureFB, { "FeatureFB", "x11.xkb.SetControls.accessXOptions.FeatureFB", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_SlowWarnFB, { "SlowWarnFB", "x11.xkb.SetControls.accessXOptions.SlowWarnFB", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_IndicatorFB, { "IndicatorFB", "x11.xkb.SetControls.accessXOptions.IndicatorFB", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_StickyKeysFB, { "StickyKeysFB", "x11.xkb.SetControls.accessXOptions.StickyKeysFB", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_TwoKeys, { "TwoKeys", "x11.xkb.SetControls.accessXOptions.TwoKeys", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_LatchToLock, { "LatchToLock", "x11.xkb.SetControls.accessXOptions.LatchToLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_SKReleaseFB, { "SKReleaseFB", "x11.xkb.SetControls.accessXOptions.SKReleaseFB", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_SKRejectFB, { "SKRejectFB", "x11.xkb.SetControls.accessXOptions.SKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_BKRejectFB, { "BKRejectFB", "x11.xkb.SetControls.accessXOptions.BKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions_mask_DumbBell, { "DumbBell", "x11.xkb.SetControls.accessXOptions.DumbBell", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXOptions, { "accessXOptions", "x11.xkb.SetControls.accessXOptions", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.SetControls.affectEnabledControls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_SlowKeys, { "SlowKeys", "x11.xkb.SetControls.affectEnabledControls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_BounceKeys, { "BounceKeys", "x11.xkb.SetControls.affectEnabledControls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_StickyKeys, { "StickyKeys", "x11.xkb.SetControls.affectEnabledControls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_MouseKeys, { "MouseKeys", "x11.xkb.SetControls.affectEnabledControls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.SetControls.affectEnabledControls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.SetControls.affectEnabledControls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.SetControls.affectEnabledControls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.SetControls.affectEnabledControls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.SetControls.affectEnabledControls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.SetControls.affectEnabledControls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.SetControls.affectEnabledControls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.SetControls.affectEnabledControls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetControls_affectEnabledControls, { "affectEnabledControls", "x11.xkb.SetControls.affectEnabledControls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.SetControls.enabledControls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_SlowKeys, { "SlowKeys", "x11.xkb.SetControls.enabledControls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_BounceKeys, { "BounceKeys", "x11.xkb.SetControls.enabledControls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_StickyKeys, { "StickyKeys", "x11.xkb.SetControls.enabledControls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_MouseKeys, { "MouseKeys", "x11.xkb.SetControls.enabledControls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.SetControls.enabledControls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.SetControls.enabledControls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.SetControls.enabledControls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.SetControls.enabledControls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.SetControls.enabledControls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.SetControls.enabledControls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.SetControls.enabledControls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.SetControls.enabledControls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetControls_enabledControls, { "enabledControls", "x11.xkb.SetControls.enabledControls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_changeControls_mask_GroupsWrap, { "GroupsWrap", "x11.xkb.SetControls.changeControls.GroupsWrap", FT_BOOLEAN, 32, NULL, 1U << 27, NULL, HFILL }}, { &hf_x11_xkb_SetControls_changeControls_mask_InternalMods, { "InternalMods", "x11.xkb.SetControls.changeControls.InternalMods", FT_BOOLEAN, 32, NULL, 1U << 28, NULL, HFILL }}, { &hf_x11_xkb_SetControls_changeControls_mask_IgnoreLockMods, { "IgnoreLockMods", "x11.xkb.SetControls.changeControls.IgnoreLockMods", FT_BOOLEAN, 32, NULL, 1U << 29, NULL, HFILL }}, { &hf_x11_xkb_SetControls_changeControls_mask_PerKeyRepeat, { "PerKeyRepeat", "x11.xkb.SetControls.changeControls.PerKeyRepeat", FT_BOOLEAN, 32, NULL, 1U << 30, NULL, HFILL }}, { &hf_x11_xkb_SetControls_changeControls_mask_ControlsEnabled, { "ControlsEnabled", "x11.xkb.SetControls.changeControls.ControlsEnabled", FT_BOOLEAN, 32, NULL, 1U << 31, NULL, HFILL }}, { &hf_x11_xkb_SetControls_changeControls, { "changeControls", "x11.xkb.SetControls.changeControls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_repeatDelay, { "repeatDelay", "x11.xkb.SetControls.repeatDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_repeatInterval, { "repeatInterval", "x11.xkb.SetControls.repeatInterval", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_slowKeysDelay, { "slowKeysDelay", "x11.xkb.SetControls.slowKeysDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_debounceDelay, { "debounceDelay", "x11.xkb.SetControls.debounceDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_mouseKeysDelay, { "mouseKeysDelay", "x11.xkb.SetControls.mouseKeysDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_mouseKeysInterval, { "mouseKeysInterval", "x11.xkb.SetControls.mouseKeysInterval", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_mouseKeysTimeToMax, { "mouseKeysTimeToMax", "x11.xkb.SetControls.mouseKeysTimeToMax", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_mouseKeysMaxSpeed, { "mouseKeysMaxSpeed", "x11.xkb.SetControls.mouseKeysMaxSpeed", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_mouseKeysCurve, { "mouseKeysCurve", "x11.xkb.SetControls.mouseKeysCurve", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeout, { "accessXTimeout", "x11.xkb.SetControls.accessXTimeout", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.SetControls.accessXTimeoutMask.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_SlowKeys, { "SlowKeys", "x11.xkb.SetControls.accessXTimeoutMask.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_BounceKeys, { "BounceKeys", "x11.xkb.SetControls.accessXTimeoutMask.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_StickyKeys, { "StickyKeys", "x11.xkb.SetControls.accessXTimeoutMask.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_MouseKeys, { "MouseKeys", "x11.xkb.SetControls.accessXTimeoutMask.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.SetControls.accessXTimeoutMask.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.SetControls.accessXTimeoutMask.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.SetControls.accessXTimeoutMask.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.SetControls.accessXTimeoutMask.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.SetControls.accessXTimeoutMask.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.SetControls.accessXTimeoutMask.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.SetControls.accessXTimeoutMask.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.SetControls.accessXTimeoutMask.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutMask, { "accessXTimeoutMask", "x11.xkb.SetControls.accessXTimeoutMask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.SetControls.accessXTimeoutValues.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_SlowKeys, { "SlowKeys", "x11.xkb.SetControls.accessXTimeoutValues.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_BounceKeys, { "BounceKeys", "x11.xkb.SetControls.accessXTimeoutValues.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_StickyKeys, { "StickyKeys", "x11.xkb.SetControls.accessXTimeoutValues.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_MouseKeys, { "MouseKeys", "x11.xkb.SetControls.accessXTimeoutValues.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.SetControls.accessXTimeoutValues.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.SetControls.accessXTimeoutValues.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.SetControls.accessXTimeoutValues.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.SetControls.accessXTimeoutValues.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.SetControls.accessXTimeoutValues.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.SetControls.accessXTimeoutValues.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.SetControls.accessXTimeoutValues.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.SetControls.accessXTimeoutValues.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutValues, { "accessXTimeoutValues", "x11.xkb.SetControls.accessXTimeoutValues", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKPressFB, { "SKPressFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.SKPressFB", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKAcceptFB, { "SKAcceptFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.SKAcceptFB", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_FeatureFB, { "FeatureFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.FeatureFB", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SlowWarnFB, { "SlowWarnFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.SlowWarnFB", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_IndicatorFB, { "IndicatorFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.IndicatorFB", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_StickyKeysFB, { "StickyKeysFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.StickyKeysFB", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_TwoKeys, { "TwoKeys", "x11.xkb.SetControls.accessXTimeoutOptionsMask.TwoKeys", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_LatchToLock, { "LatchToLock", "x11.xkb.SetControls.accessXTimeoutOptionsMask.LatchToLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKReleaseFB, { "SKReleaseFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.SKReleaseFB", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_SKRejectFB, { "SKRejectFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.SKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_BKRejectFB, { "BKRejectFB", "x11.xkb.SetControls.accessXTimeoutOptionsMask.BKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask_mask_DumbBell, { "DumbBell", "x11.xkb.SetControls.accessXTimeoutOptionsMask.DumbBell", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsMask, { "accessXTimeoutOptionsMask", "x11.xkb.SetControls.accessXTimeoutOptionsMask", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKPressFB, { "SKPressFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.SKPressFB", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKAcceptFB, { "SKAcceptFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.SKAcceptFB", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_FeatureFB, { "FeatureFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.FeatureFB", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SlowWarnFB, { "SlowWarnFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.SlowWarnFB", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_IndicatorFB, { "IndicatorFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.IndicatorFB", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_StickyKeysFB, { "StickyKeysFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.StickyKeysFB", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_TwoKeys, { "TwoKeys", "x11.xkb.SetControls.accessXTimeoutOptionsValues.TwoKeys", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_LatchToLock, { "LatchToLock", "x11.xkb.SetControls.accessXTimeoutOptionsValues.LatchToLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKReleaseFB, { "SKReleaseFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.SKReleaseFB", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_SKRejectFB, { "SKRejectFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.SKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_BKRejectFB, { "BKRejectFB", "x11.xkb.SetControls.accessXTimeoutOptionsValues.BKRejectFB", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues_mask_DumbBell, { "DumbBell", "x11.xkb.SetControls.accessXTimeoutOptionsValues.DumbBell", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetControls_accessXTimeoutOptionsValues, { "accessXTimeoutOptionsValues", "x11.xkb.SetControls.accessXTimeoutOptionsValues", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetControls_perKeyRepeat, { "perKeyRepeat", "x11.xkb.SetControls.perKeyRepeat", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_deviceSpec, { "deviceSpec", "x11.xkb.GetMap.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full_mask_KeyTypes, { "KeyTypes", "x11.xkb.GetMap.full.KeyTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full_mask_KeySyms, { "KeySyms", "x11.xkb.GetMap.full.KeySyms", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full_mask_ModifierMap, { "ModifierMap", "x11.xkb.GetMap.full.ModifierMap", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full_mask_ExplicitComponents, { "ExplicitComponents", "x11.xkb.GetMap.full.ExplicitComponents", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full_mask_KeyActions, { "KeyActions", "x11.xkb.GetMap.full.KeyActions", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full_mask_KeyBehaviors, { "KeyBehaviors", "x11.xkb.GetMap.full.KeyBehaviors", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full_mask_VirtualMods, { "VirtualMods", "x11.xkb.GetMap.full.VirtualMods", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full_mask_VirtualModMap, { "VirtualModMap", "x11.xkb.GetMap.full.VirtualModMap", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetMap_full, { "full", "x11.xkb.GetMap.full", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial_mask_KeyTypes, { "KeyTypes", "x11.xkb.GetMap.partial.KeyTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial_mask_KeySyms, { "KeySyms", "x11.xkb.GetMap.partial.KeySyms", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial_mask_ModifierMap, { "ModifierMap", "x11.xkb.GetMap.partial.ModifierMap", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial_mask_ExplicitComponents, { "ExplicitComponents", "x11.xkb.GetMap.partial.ExplicitComponents", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial_mask_KeyActions, { "KeyActions", "x11.xkb.GetMap.partial.KeyActions", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial_mask_KeyBehaviors, { "KeyBehaviors", "x11.xkb.GetMap.partial.KeyBehaviors", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial_mask_VirtualMods, { "VirtualMods", "x11.xkb.GetMap.partial.VirtualMods", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial_mask_VirtualModMap, { "VirtualModMap", "x11.xkb.GetMap.partial.VirtualModMap", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetMap_partial, { "partial", "x11.xkb.GetMap.partial", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_firstType, { "firstType", "x11.xkb.GetMap.firstType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_nTypes, { "nTypes", "x11.xkb.GetMap.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_firstKeySym, { "firstKeySym", "x11.xkb.GetMap.firstKeySym", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_nKeySyms, { "nKeySyms", "x11.xkb.GetMap.nKeySyms", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_firstKeyAction, { "firstKeyAction", "x11.xkb.GetMap.firstKeyAction", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_nKeyActions, { "nKeyActions", "x11.xkb.GetMap.nKeyActions", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_firstKeyBehavior, { "firstKeyBehavior", "x11.xkb.GetMap.firstKeyBehavior", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_nKeyBehaviors, { "nKeyBehaviors", "x11.xkb.GetMap.nKeyBehaviors", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_0, { "0", "x11.xkb.GetMap.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_1, { "1", "x11.xkb.GetMap.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_2, { "2", "x11.xkb.GetMap.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_3, { "3", "x11.xkb.GetMap.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_4, { "4", "x11.xkb.GetMap.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_5, { "5", "x11.xkb.GetMap.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_6, { "6", "x11.xkb.GetMap.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_7, { "7", "x11.xkb.GetMap.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_8, { "8", "x11.xkb.GetMap.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_9, { "9", "x11.xkb.GetMap.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_10, { "10", "x11.xkb.GetMap.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_11, { "11", "x11.xkb.GetMap.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_12, { "12", "x11.xkb.GetMap.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_13, { "13", "x11.xkb.GetMap.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_14, { "14", "x11.xkb.GetMap.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods_mask_15, { "15", "x11.xkb.GetMap.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetMap_virtualMods, { "virtualMods", "x11.xkb.GetMap.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_firstKeyExplicit, { "firstKeyExplicit", "x11.xkb.GetMap.firstKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_nKeyExplicit, { "nKeyExplicit", "x11.xkb.GetMap.nKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_firstModMapKey, { "firstModMapKey", "x11.xkb.GetMap.firstModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_nModMapKeys, { "nModMapKeys", "x11.xkb.GetMap.nModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_firstVModMapKey, { "firstVModMapKey", "x11.xkb.GetMap.firstVModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_nVModMapKeys, { "nVModMapKeys", "x11.xkb.GetMap.nVModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_deviceID, { "deviceID", "x11.xkb.GetMap.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_minKeyCode, { "minKeyCode", "x11.xkb.GetMap.reply.minKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_maxKeyCode, { "maxKeyCode", "x11.xkb.GetMap.reply.maxKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present_mask_KeyTypes, { "KeyTypes", "x11.xkb.GetMap.reply.present.KeyTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present_mask_KeySyms, { "KeySyms", "x11.xkb.GetMap.reply.present.KeySyms", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present_mask_ModifierMap, { "ModifierMap", "x11.xkb.GetMap.reply.present.ModifierMap", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present_mask_ExplicitComponents, { "ExplicitComponents", "x11.xkb.GetMap.reply.present.ExplicitComponents", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present_mask_KeyActions, { "KeyActions", "x11.xkb.GetMap.reply.present.KeyActions", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present_mask_KeyBehaviors, { "KeyBehaviors", "x11.xkb.GetMap.reply.present.KeyBehaviors", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present_mask_VirtualMods, { "VirtualMods", "x11.xkb.GetMap.reply.present.VirtualMods", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present_mask_VirtualModMap, { "VirtualModMap", "x11.xkb.GetMap.reply.present.VirtualModMap", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_present, { "present", "x11.xkb.GetMap.reply.present", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_firstType, { "firstType", "x11.xkb.GetMap.reply.firstType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_nTypes, { "nTypes", "x11.xkb.GetMap.reply.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_totalTypes, { "totalTypes", "x11.xkb.GetMap.reply.totalTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_firstKeySym, { "firstKeySym", "x11.xkb.GetMap.reply.firstKeySym", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_totalSyms, { "totalSyms", "x11.xkb.GetMap.reply.totalSyms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_nKeySyms, { "nKeySyms", "x11.xkb.GetMap.reply.nKeySyms", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_firstKeyAction, { "firstKeyAction", "x11.xkb.GetMap.reply.firstKeyAction", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_totalActions, { "totalActions", "x11.xkb.GetMap.reply.totalActions", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_nKeyActions, { "nKeyActions", "x11.xkb.GetMap.reply.nKeyActions", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_firstKeyBehavior, { "firstKeyBehavior", "x11.xkb.GetMap.reply.firstKeyBehavior", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_nKeyBehaviors, { "nKeyBehaviors", "x11.xkb.GetMap.reply.nKeyBehaviors", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_totalKeyBehaviors, { "totalKeyBehaviors", "x11.xkb.GetMap.reply.totalKeyBehaviors", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_firstKeyExplicit, { "firstKeyExplicit", "x11.xkb.GetMap.reply.firstKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_nKeyExplicit, { "nKeyExplicit", "x11.xkb.GetMap.reply.nKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_totalKeyExplicit, { "totalKeyExplicit", "x11.xkb.GetMap.reply.totalKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_firstModMapKey, { "firstModMapKey", "x11.xkb.GetMap.reply.firstModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_nModMapKeys, { "nModMapKeys", "x11.xkb.GetMap.reply.nModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_totalModMapKeys, { "totalModMapKeys", "x11.xkb.GetMap.reply.totalModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_firstVModMapKey, { "firstVModMapKey", "x11.xkb.GetMap.reply.firstVModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_nVModMapKeys, { "nVModMapKeys", "x11.xkb.GetMap.reply.nVModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_totalVModMapKeys, { "totalVModMapKeys", "x11.xkb.GetMap.reply.totalVModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_0, { "0", "x11.xkb.GetMap.reply.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_1, { "1", "x11.xkb.GetMap.reply.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_2, { "2", "x11.xkb.GetMap.reply.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_3, { "3", "x11.xkb.GetMap.reply.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_4, { "4", "x11.xkb.GetMap.reply.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_5, { "5", "x11.xkb.GetMap.reply.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_6, { "6", "x11.xkb.GetMap.reply.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_7, { "7", "x11.xkb.GetMap.reply.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_8, { "8", "x11.xkb.GetMap.reply.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_9, { "9", "x11.xkb.GetMap.reply.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_10, { "10", "x11.xkb.GetMap.reply.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_11, { "11", "x11.xkb.GetMap.reply.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_12, { "12", "x11.xkb.GetMap.reply.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_13, { "13", "x11.xkb.GetMap.reply.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_14, { "14", "x11.xkb.GetMap.reply.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods_mask_15, { "15", "x11.xkb.GetMap.reply.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_virtualMods, { "virtualMods", "x11.xkb.GetMap.reply.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_KeyTypes_types_rtrn, { "types_rtrn", "x11.xkb.GetMap.reply.KeyTypes.types_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_KeySyms_syms_rtrn, { "syms_rtrn", "x11.xkb.GetMap.reply.KeySyms.syms_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_KeyActions_acts_rtrn_count, { "acts_rtrn_count", "x11.xkb.GetMap.reply.KeyActions.acts_rtrn_count", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_KeyActions_acts_rtrn_acts, { "acts_rtrn_acts", "x11.xkb.GetMap.reply.KeyActions.acts_rtrn_acts.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_KeyActions_acts_rtrn_acts_item, { "acts_rtrn_acts", "x11.xkb.GetMap.reply.KeyActions.acts_rtrn_acts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_KeyBehaviors_behaviors_rtrn, { "behaviors_rtrn", "x11.xkb.GetMap.reply.KeyBehaviors.behaviors_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_KeyBehaviors_behaviors_rtrn_item, { "behaviors_rtrn", "x11.xkb.GetMap.reply.KeyBehaviors.behaviors_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_Shift, { "Shift", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_Lock, { "Lock", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_Control, { "Control", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_1, { "1", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_2, { "2", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_3, { "3", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_4, { "4", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_5, { "5", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn_mask_Any, { "Any", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualMods_vmods_rtrn, { "vmods_rtrn", "x11.xkb.GetMap.reply.VirtualMods.vmods_rtrn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_ExplicitComponents_explicit_rtrn, { "explicit_rtrn", "x11.xkb.GetMap.reply.ExplicitComponents.explicit_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_ExplicitComponents_explicit_rtrn_item, { "explicit_rtrn", "x11.xkb.GetMap.reply.ExplicitComponents.explicit_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_ModifierMap_modmap_rtrn, { "modmap_rtrn", "x11.xkb.GetMap.reply.ModifierMap.modmap_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_ModifierMap_modmap_rtrn_item, { "modmap_rtrn", "x11.xkb.GetMap.reply.ModifierMap.modmap_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualModMap_vmodmap_rtrn, { "vmodmap_rtrn", "x11.xkb.GetMap.reply.VirtualModMap.vmodmap_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetMap_reply_VirtualModMap_vmodmap_rtrn_item, { "vmodmap_rtrn", "x11.xkb.GetMap.reply.VirtualModMap.vmodmap_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_deviceSpec, { "deviceSpec", "x11.xkb.SetMap.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present_mask_KeyTypes, { "KeyTypes", "x11.xkb.SetMap.present.KeyTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present_mask_KeySyms, { "KeySyms", "x11.xkb.SetMap.present.KeySyms", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present_mask_ModifierMap, { "ModifierMap", "x11.xkb.SetMap.present.ModifierMap", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present_mask_ExplicitComponents, { "ExplicitComponents", "x11.xkb.SetMap.present.ExplicitComponents", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present_mask_KeyActions, { "KeyActions", "x11.xkb.SetMap.present.KeyActions", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present_mask_KeyBehaviors, { "KeyBehaviors", "x11.xkb.SetMap.present.KeyBehaviors", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present_mask_VirtualMods, { "VirtualMods", "x11.xkb.SetMap.present.VirtualMods", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present_mask_VirtualModMap, { "VirtualModMap", "x11.xkb.SetMap.present.VirtualModMap", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetMap_present, { "present", "x11.xkb.SetMap.present", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_flags_mask_ResizeTypes, { "ResizeTypes", "x11.xkb.SetMap.flags.ResizeTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_flags_mask_RecomputeActions, { "RecomputeActions", "x11.xkb.SetMap.flags.RecomputeActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetMap_flags, { "flags", "x11.xkb.SetMap.flags", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_minKeyCode, { "minKeyCode", "x11.xkb.SetMap.minKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_maxKeyCode, { "maxKeyCode", "x11.xkb.SetMap.maxKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_firstType, { "firstType", "x11.xkb.SetMap.firstType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_nTypes, { "nTypes", "x11.xkb.SetMap.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_firstKeySym, { "firstKeySym", "x11.xkb.SetMap.firstKeySym", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_nKeySyms, { "nKeySyms", "x11.xkb.SetMap.nKeySyms", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_totalSyms, { "totalSyms", "x11.xkb.SetMap.totalSyms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_firstKeyAction, { "firstKeyAction", "x11.xkb.SetMap.firstKeyAction", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_nKeyActions, { "nKeyActions", "x11.xkb.SetMap.nKeyActions", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_totalActions, { "totalActions", "x11.xkb.SetMap.totalActions", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_firstKeyBehavior, { "firstKeyBehavior", "x11.xkb.SetMap.firstKeyBehavior", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_nKeyBehaviors, { "nKeyBehaviors", "x11.xkb.SetMap.nKeyBehaviors", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_totalKeyBehaviors, { "totalKeyBehaviors", "x11.xkb.SetMap.totalKeyBehaviors", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_firstKeyExplicit, { "firstKeyExplicit", "x11.xkb.SetMap.firstKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_nKeyExplicit, { "nKeyExplicit", "x11.xkb.SetMap.nKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_totalKeyExplicit, { "totalKeyExplicit", "x11.xkb.SetMap.totalKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_firstModMapKey, { "firstModMapKey", "x11.xkb.SetMap.firstModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_nModMapKeys, { "nModMapKeys", "x11.xkb.SetMap.nModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_totalModMapKeys, { "totalModMapKeys", "x11.xkb.SetMap.totalModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_firstVModMapKey, { "firstVModMapKey", "x11.xkb.SetMap.firstVModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_nVModMapKeys, { "nVModMapKeys", "x11.xkb.SetMap.nVModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_totalVModMapKeys, { "totalVModMapKeys", "x11.xkb.SetMap.totalVModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_0, { "0", "x11.xkb.SetMap.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_1, { "1", "x11.xkb.SetMap.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_2, { "2", "x11.xkb.SetMap.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_3, { "3", "x11.xkb.SetMap.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_4, { "4", "x11.xkb.SetMap.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_5, { "5", "x11.xkb.SetMap.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_6, { "6", "x11.xkb.SetMap.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_7, { "7", "x11.xkb.SetMap.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_8, { "8", "x11.xkb.SetMap.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_9, { "9", "x11.xkb.SetMap.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_10, { "10", "x11.xkb.SetMap.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_11, { "11", "x11.xkb.SetMap.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_12, { "12", "x11.xkb.SetMap.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_13, { "13", "x11.xkb.SetMap.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_14, { "14", "x11.xkb.SetMap.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods_mask_15, { "15", "x11.xkb.SetMap.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetMap_virtualMods, { "virtualMods", "x11.xkb.SetMap.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_KeyTypes_types, { "types", "x11.xkb.SetMap.KeyTypes.types", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_KeySyms_syms, { "syms", "x11.xkb.SetMap.KeySyms.syms", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_KeyActions_actionsCount, { "actionsCount", "x11.xkb.SetMap.KeyActions.actionsCount", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_KeyActions_actions, { "actions", "x11.xkb.SetMap.KeyActions.actions.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_KeyActions_actions_item, { "actions", "x11.xkb.SetMap.KeyActions.actions", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_KeyBehaviors_behaviors, { "behaviors", "x11.xkb.SetMap.KeyBehaviors.behaviors.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_KeyBehaviors_behaviors_item, { "behaviors", "x11.xkb.SetMap.KeyBehaviors.behaviors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_VirtualMods_vmods, { "vmods", "x11.xkb.SetMap.VirtualMods.vmods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_ExplicitComponents_explicit, { "explicit", "x11.xkb.SetMap.ExplicitComponents.explicit.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_ExplicitComponents_explicit_item, { "explicit", "x11.xkb.SetMap.ExplicitComponents.explicit", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_ModifierMap_modmap, { "modmap", "x11.xkb.SetMap.ModifierMap.modmap.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_ModifierMap_modmap_item, { "modmap", "x11.xkb.SetMap.ModifierMap.modmap", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_VirtualModMap_vmodmap, { "vmodmap", "x11.xkb.SetMap.VirtualModMap.vmodmap.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetMap_VirtualModMap_vmodmap_item, { "vmodmap", "x11.xkb.SetMap.VirtualModMap.vmodmap", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_deviceSpec, { "deviceSpec", "x11.xkb.GetCompatMap.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_groups_mask_Group1, { "Group1", "x11.xkb.GetCompatMap.groups.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_groups_mask_Group2, { "Group2", "x11.xkb.GetCompatMap.groups.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_groups_mask_Group3, { "Group3", "x11.xkb.GetCompatMap.groups.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_groups_mask_Group4, { "Group4", "x11.xkb.GetCompatMap.groups.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_groups, { "groups", "x11.xkb.GetCompatMap.groups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_getAllSI, { "getAllSI", "x11.xkb.GetCompatMap.getAllSI", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_firstSI, { "firstSI", "x11.xkb.GetCompatMap.firstSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_nSI, { "nSI", "x11.xkb.GetCompatMap.nSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_deviceID, { "deviceID", "x11.xkb.GetCompatMap.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group1, { "Group1", "x11.xkb.GetCompatMap.reply.groupsRtrn.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group2, { "Group2", "x11.xkb.GetCompatMap.reply.groupsRtrn.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group3, { "Group3", "x11.xkb.GetCompatMap.reply.groupsRtrn.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_groupsRtrn_mask_Group4, { "Group4", "x11.xkb.GetCompatMap.reply.groupsRtrn.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_groupsRtrn, { "groupsRtrn", "x11.xkb.GetCompatMap.reply.groupsRtrn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_firstSIRtrn, { "firstSIRtrn", "x11.xkb.GetCompatMap.reply.firstSIRtrn", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_nSIRtrn, { "nSIRtrn", "x11.xkb.GetCompatMap.reply.nSIRtrn", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_nTotalSI, { "nTotalSI", "x11.xkb.GetCompatMap.reply.nTotalSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_si_rtrn, { "si_rtrn", "x11.xkb.GetCompatMap.reply.si_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_si_rtrn_item, { "si_rtrn", "x11.xkb.GetCompatMap.reply.si_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_group_rtrn, { "group_rtrn", "x11.xkb.GetCompatMap.reply.group_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetCompatMap_reply_group_rtrn_item, { "group_rtrn", "x11.xkb.GetCompatMap.reply.group_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_deviceSpec, { "deviceSpec", "x11.xkb.SetCompatMap.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_recomputeActions, { "recomputeActions", "x11.xkb.SetCompatMap.recomputeActions", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_truncateSI, { "truncateSI", "x11.xkb.SetCompatMap.truncateSI", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_groups_mask_Group1, { "Group1", "x11.xkb.SetCompatMap.groups.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_groups_mask_Group2, { "Group2", "x11.xkb.SetCompatMap.groups.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_groups_mask_Group3, { "Group3", "x11.xkb.SetCompatMap.groups.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_groups_mask_Group4, { "Group4", "x11.xkb.SetCompatMap.groups.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_groups, { "groups", "x11.xkb.SetCompatMap.groups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_firstSI, { "firstSI", "x11.xkb.SetCompatMap.firstSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_nSI, { "nSI", "x11.xkb.SetCompatMap.nSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_si, { "si", "x11.xkb.SetCompatMap.si.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_si_item, { "si", "x11.xkb.SetCompatMap.si", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_groupMaps, { "groupMaps", "x11.xkb.SetCompatMap.groupMaps.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetCompatMap_groupMaps_item, { "groupMaps", "x11.xkb.SetCompatMap.groupMaps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorState_deviceSpec, { "deviceSpec", "x11.xkb.GetIndicatorState.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorState_reply_deviceID, { "deviceID", "x11.xkb.GetIndicatorState.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorState_reply_state, { "state", "x11.xkb.GetIndicatorState.reply.state", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorMap_deviceSpec, { "deviceSpec", "x11.xkb.GetIndicatorMap.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorMap_which, { "which", "x11.xkb.GetIndicatorMap.which", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorMap_reply_deviceID, { "deviceID", "x11.xkb.GetIndicatorMap.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorMap_reply_which, { "which", "x11.xkb.GetIndicatorMap.reply.which", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorMap_reply_realIndicators, { "realIndicators", "x11.xkb.GetIndicatorMap.reply.realIndicators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorMap_reply_nIndicators, { "nIndicators", "x11.xkb.GetIndicatorMap.reply.nIndicators", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorMap_reply_maps, { "maps", "x11.xkb.GetIndicatorMap.reply.maps.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetIndicatorMap_reply_maps_item, { "maps", "x11.xkb.GetIndicatorMap.reply.maps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetIndicatorMap_deviceSpec, { "deviceSpec", "x11.xkb.SetIndicatorMap.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetIndicatorMap_which, { "which", "x11.xkb.SetIndicatorMap.which", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetIndicatorMap_maps, { "maps", "x11.xkb.SetIndicatorMap.maps.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetIndicatorMap_maps_item, { "maps", "x11.xkb.SetIndicatorMap.maps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_deviceSpec, { "deviceSpec", "x11.xkb.GetNamedIndicator.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_ledClass, { "ledClass", "x11.xkb.GetNamedIndicator.ledClass", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_LedClass), 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_ledID, { "ledID", "x11.xkb.GetNamedIndicator.ledID", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_ID), 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_indicator, { "indicator", "x11.xkb.GetNamedIndicator.indicator", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_deviceID, { "deviceID", "x11.xkb.GetNamedIndicator.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_indicator, { "indicator", "x11.xkb.GetNamedIndicator.reply.indicator", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_found, { "found", "x11.xkb.GetNamedIndicator.reply.found", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_on, { "on", "x11.xkb.GetNamedIndicator.reply.on", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_realIndicator, { "realIndicator", "x11.xkb.GetNamedIndicator.reply.realIndicator", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_ndx, { "ndx", "x11.xkb.GetNamedIndicator.reply.ndx", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_LEDDrivesKB, { "LEDDrivesKB", "x11.xkb.GetNamedIndicator.reply.map_flags.LEDDrivesKB", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_NoAutomatic, { "NoAutomatic", "x11.xkb.GetNamedIndicator.reply.map_flags.NoAutomatic", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_flags_mask_NoExplicit, { "NoExplicit", "x11.xkb.GetNamedIndicator.reply.map_flags.NoExplicit", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_flags, { "map_flags", "x11.xkb.GetNamedIndicator.reply.map_flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseBase, { "UseBase", "x11.xkb.GetNamedIndicator.reply.map_whichGroups.UseBase", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseLatched, { "UseLatched", "x11.xkb.GetNamedIndicator.reply.map_whichGroups.UseLatched", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseLocked, { "UseLocked", "x11.xkb.GetNamedIndicator.reply.map_whichGroups.UseLocked", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseEffective, { "UseEffective", "x11.xkb.GetNamedIndicator.reply.map_whichGroups.UseEffective", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups_mask_UseCompat, { "UseCompat", "x11.xkb.GetNamedIndicator.reply.map_whichGroups.UseCompat", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichGroups, { "map_whichGroups", "x11.xkb.GetNamedIndicator.reply.map_whichGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_groups_mask_Any, { "Any", "x11.xkb.GetNamedIndicator.reply.map_groups.Any", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_groups, { "map_groups", "x11.xkb.GetNamedIndicator.reply.map_groups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseBase, { "UseBase", "x11.xkb.GetNamedIndicator.reply.map_whichMods.UseBase", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseLatched, { "UseLatched", "x11.xkb.GetNamedIndicator.reply.map_whichMods.UseLatched", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseLocked, { "UseLocked", "x11.xkb.GetNamedIndicator.reply.map_whichMods.UseLocked", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseEffective, { "UseEffective", "x11.xkb.GetNamedIndicator.reply.map_whichMods.UseEffective", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods_mask_UseCompat, { "UseCompat", "x11.xkb.GetNamedIndicator.reply.map_whichMods.UseCompat", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_whichMods, { "map_whichMods", "x11.xkb.GetNamedIndicator.reply.map_whichMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Shift, { "Shift", "x11.xkb.GetNamedIndicator.reply.map_mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Lock, { "Lock", "x11.xkb.GetNamedIndicator.reply.map_mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Control, { "Control", "x11.xkb.GetNamedIndicator.reply.map_mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_1, { "1", "x11.xkb.GetNamedIndicator.reply.map_mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_2, { "2", "x11.xkb.GetNamedIndicator.reply.map_mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_3, { "3", "x11.xkb.GetNamedIndicator.reply.map_mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_4, { "4", "x11.xkb.GetNamedIndicator.reply.map_mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_5, { "5", "x11.xkb.GetNamedIndicator.reply.map_mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods_mask_Any, { "Any", "x11.xkb.GetNamedIndicator.reply.map_mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_mods, { "map_mods", "x11.xkb.GetNamedIndicator.reply.map_mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Shift, { "Shift", "x11.xkb.GetNamedIndicator.reply.map_realMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Lock, { "Lock", "x11.xkb.GetNamedIndicator.reply.map_realMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Control, { "Control", "x11.xkb.GetNamedIndicator.reply.map_realMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_1, { "1", "x11.xkb.GetNamedIndicator.reply.map_realMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_2, { "2", "x11.xkb.GetNamedIndicator.reply.map_realMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_3, { "3", "x11.xkb.GetNamedIndicator.reply.map_realMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_4, { "4", "x11.xkb.GetNamedIndicator.reply.map_realMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_5, { "5", "x11.xkb.GetNamedIndicator.reply.map_realMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods_mask_Any, { "Any", "x11.xkb.GetNamedIndicator.reply.map_realMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_realMods, { "map_realMods", "x11.xkb.GetNamedIndicator.reply.map_realMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_0, { "0", "x11.xkb.GetNamedIndicator.reply.map_vmod.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_1, { "1", "x11.xkb.GetNamedIndicator.reply.map_vmod.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_2, { "2", "x11.xkb.GetNamedIndicator.reply.map_vmod.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_3, { "3", "x11.xkb.GetNamedIndicator.reply.map_vmod.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_4, { "4", "x11.xkb.GetNamedIndicator.reply.map_vmod.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_5, { "5", "x11.xkb.GetNamedIndicator.reply.map_vmod.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_6, { "6", "x11.xkb.GetNamedIndicator.reply.map_vmod.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_7, { "7", "x11.xkb.GetNamedIndicator.reply.map_vmod.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_8, { "8", "x11.xkb.GetNamedIndicator.reply.map_vmod.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_9, { "9", "x11.xkb.GetNamedIndicator.reply.map_vmod.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_10, { "10", "x11.xkb.GetNamedIndicator.reply.map_vmod.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_11, { "11", "x11.xkb.GetNamedIndicator.reply.map_vmod.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_12, { "12", "x11.xkb.GetNamedIndicator.reply.map_vmod.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_13, { "13", "x11.xkb.GetNamedIndicator.reply.map_vmod.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_14, { "14", "x11.xkb.GetNamedIndicator.reply.map_vmod.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod_mask_15, { "15", "x11.xkb.GetNamedIndicator.reply.map_vmod.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_vmod, { "map_vmod", "x11.xkb.GetNamedIndicator.reply.map_vmod", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.GetNamedIndicator.reply.map_ctrls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_SlowKeys, { "SlowKeys", "x11.xkb.GetNamedIndicator.reply.map_ctrls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_BounceKeys, { "BounceKeys", "x11.xkb.GetNamedIndicator.reply.map_ctrls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_StickyKeys, { "StickyKeys", "x11.xkb.GetNamedIndicator.reply.map_ctrls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_MouseKeys, { "MouseKeys", "x11.xkb.GetNamedIndicator.reply.map_ctrls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.GetNamedIndicator.reply.map_ctrls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.GetNamedIndicator.reply.map_ctrls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.GetNamedIndicator.reply.map_ctrls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.GetNamedIndicator.reply.map_ctrls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.GetNamedIndicator.reply.map_ctrls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.GetNamedIndicator.reply.map_ctrls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.GetNamedIndicator.reply.map_ctrls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.GetNamedIndicator.reply.map_ctrls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_map_ctrls, { "map_ctrls", "x11.xkb.GetNamedIndicator.reply.map_ctrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNamedIndicator_reply_supported, { "supported", "x11.xkb.GetNamedIndicator.reply.supported", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_deviceSpec, { "deviceSpec", "x11.xkb.SetNamedIndicator.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_ledClass, { "ledClass", "x11.xkb.SetNamedIndicator.ledClass", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_LedClass), 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_ledID, { "ledID", "x11.xkb.SetNamedIndicator.ledID", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_ID), 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_indicator, { "indicator", "x11.xkb.SetNamedIndicator.indicator", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_setState, { "setState", "x11.xkb.SetNamedIndicator.setState", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_on, { "on", "x11.xkb.SetNamedIndicator.on", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_setMap, { "setMap", "x11.xkb.SetNamedIndicator.setMap", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_createMap, { "createMap", "x11.xkb.SetNamedIndicator.createMap", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_flags_mask_LEDDrivesKB, { "LEDDrivesKB", "x11.xkb.SetNamedIndicator.map_flags.LEDDrivesKB", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_flags_mask_NoAutomatic, { "NoAutomatic", "x11.xkb.SetNamedIndicator.map_flags.NoAutomatic", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_flags_mask_NoExplicit, { "NoExplicit", "x11.xkb.SetNamedIndicator.map_flags.NoExplicit", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_flags, { "map_flags", "x11.xkb.SetNamedIndicator.map_flags", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseBase, { "UseBase", "x11.xkb.SetNamedIndicator.map_whichGroups.UseBase", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseLatched, { "UseLatched", "x11.xkb.SetNamedIndicator.map_whichGroups.UseLatched", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseLocked, { "UseLocked", "x11.xkb.SetNamedIndicator.map_whichGroups.UseLocked", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseEffective, { "UseEffective", "x11.xkb.SetNamedIndicator.map_whichGroups.UseEffective", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichGroups_mask_UseCompat, { "UseCompat", "x11.xkb.SetNamedIndicator.map_whichGroups.UseCompat", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichGroups, { "map_whichGroups", "x11.xkb.SetNamedIndicator.map_whichGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_groups_mask_Any, { "Any", "x11.xkb.SetNamedIndicator.map_groups.Any", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_groups, { "map_groups", "x11.xkb.SetNamedIndicator.map_groups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseBase, { "UseBase", "x11.xkb.SetNamedIndicator.map_whichMods.UseBase", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseLatched, { "UseLatched", "x11.xkb.SetNamedIndicator.map_whichMods.UseLatched", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseLocked, { "UseLocked", "x11.xkb.SetNamedIndicator.map_whichMods.UseLocked", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseEffective, { "UseEffective", "x11.xkb.SetNamedIndicator.map_whichMods.UseEffective", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichMods_mask_UseCompat, { "UseCompat", "x11.xkb.SetNamedIndicator.map_whichMods.UseCompat", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_whichMods, { "map_whichMods", "x11.xkb.SetNamedIndicator.map_whichMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Shift, { "Shift", "x11.xkb.SetNamedIndicator.map_realMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Lock, { "Lock", "x11.xkb.SetNamedIndicator.map_realMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Control, { "Control", "x11.xkb.SetNamedIndicator.map_realMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_1, { "1", "x11.xkb.SetNamedIndicator.map_realMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_2, { "2", "x11.xkb.SetNamedIndicator.map_realMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_3, { "3", "x11.xkb.SetNamedIndicator.map_realMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_4, { "4", "x11.xkb.SetNamedIndicator.map_realMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_5, { "5", "x11.xkb.SetNamedIndicator.map_realMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods_mask_Any, { "Any", "x11.xkb.SetNamedIndicator.map_realMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_realMods, { "map_realMods", "x11.xkb.SetNamedIndicator.map_realMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_0, { "0", "x11.xkb.SetNamedIndicator.map_vmods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_1, { "1", "x11.xkb.SetNamedIndicator.map_vmods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_2, { "2", "x11.xkb.SetNamedIndicator.map_vmods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_3, { "3", "x11.xkb.SetNamedIndicator.map_vmods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_4, { "4", "x11.xkb.SetNamedIndicator.map_vmods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_5, { "5", "x11.xkb.SetNamedIndicator.map_vmods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_6, { "6", "x11.xkb.SetNamedIndicator.map_vmods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_7, { "7", "x11.xkb.SetNamedIndicator.map_vmods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_8, { "8", "x11.xkb.SetNamedIndicator.map_vmods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_9, { "9", "x11.xkb.SetNamedIndicator.map_vmods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_10, { "10", "x11.xkb.SetNamedIndicator.map_vmods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_11, { "11", "x11.xkb.SetNamedIndicator.map_vmods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_12, { "12", "x11.xkb.SetNamedIndicator.map_vmods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_13, { "13", "x11.xkb.SetNamedIndicator.map_vmods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_14, { "14", "x11.xkb.SetNamedIndicator.map_vmods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods_mask_15, { "15", "x11.xkb.SetNamedIndicator.map_vmods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_vmods, { "map_vmods", "x11.xkb.SetNamedIndicator.map_vmods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.SetNamedIndicator.map_ctrls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_SlowKeys, { "SlowKeys", "x11.xkb.SetNamedIndicator.map_ctrls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_BounceKeys, { "BounceKeys", "x11.xkb.SetNamedIndicator.map_ctrls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_StickyKeys, { "StickyKeys", "x11.xkb.SetNamedIndicator.map_ctrls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_MouseKeys, { "MouseKeys", "x11.xkb.SetNamedIndicator.map_ctrls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.SetNamedIndicator.map_ctrls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.SetNamedIndicator.map_ctrls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.SetNamedIndicator.map_ctrls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.SetNamedIndicator.map_ctrls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.SetNamedIndicator.map_ctrls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.SetNamedIndicator.map_ctrls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.SetNamedIndicator.map_ctrls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.SetNamedIndicator.map_ctrls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetNamedIndicator_map_ctrls, { "map_ctrls", "x11.xkb.SetNamedIndicator.map_ctrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_deviceSpec, { "deviceSpec", "x11.xkb.GetNames.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_Keycodes, { "Keycodes", "x11.xkb.GetNames.which.Keycodes", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_Geometry, { "Geometry", "x11.xkb.GetNames.which.Geometry", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_Symbols, { "Symbols", "x11.xkb.GetNames.which.Symbols", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_PhysSymbols, { "PhysSymbols", "x11.xkb.GetNames.which.PhysSymbols", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_Types, { "Types", "x11.xkb.GetNames.which.Types", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_Compat, { "Compat", "x11.xkb.GetNames.which.Compat", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_KeyTypeNames, { "KeyTypeNames", "x11.xkb.GetNames.which.KeyTypeNames", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_KTLevelNames, { "KTLevelNames", "x11.xkb.GetNames.which.KTLevelNames", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.GetNames.which.IndicatorNames", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_KeyNames, { "KeyNames", "x11.xkb.GetNames.which.KeyNames", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_KeyAliases, { "KeyAliases", "x11.xkb.GetNames.which.KeyAliases", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_VirtualModNames, { "VirtualModNames", "x11.xkb.GetNames.which.VirtualModNames", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_GroupNames, { "GroupNames", "x11.xkb.GetNames.which.GroupNames", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which_mask_RGNames, { "RGNames", "x11.xkb.GetNames.which.RGNames", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetNames_which, { "which", "x11.xkb.GetNames.which", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_deviceID, { "deviceID", "x11.xkb.GetNames.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_Keycodes, { "Keycodes", "x11.xkb.GetNames.reply.which.Keycodes", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_Geometry, { "Geometry", "x11.xkb.GetNames.reply.which.Geometry", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_Symbols, { "Symbols", "x11.xkb.GetNames.reply.which.Symbols", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_PhysSymbols, { "PhysSymbols", "x11.xkb.GetNames.reply.which.PhysSymbols", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_Types, { "Types", "x11.xkb.GetNames.reply.which.Types", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_Compat, { "Compat", "x11.xkb.GetNames.reply.which.Compat", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_KeyTypeNames, { "KeyTypeNames", "x11.xkb.GetNames.reply.which.KeyTypeNames", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_KTLevelNames, { "KTLevelNames", "x11.xkb.GetNames.reply.which.KTLevelNames", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.GetNames.reply.which.IndicatorNames", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_KeyNames, { "KeyNames", "x11.xkb.GetNames.reply.which.KeyNames", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_KeyAliases, { "KeyAliases", "x11.xkb.GetNames.reply.which.KeyAliases", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_VirtualModNames, { "VirtualModNames", "x11.xkb.GetNames.reply.which.VirtualModNames", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_GroupNames, { "GroupNames", "x11.xkb.GetNames.reply.which.GroupNames", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which_mask_RGNames, { "RGNames", "x11.xkb.GetNames.reply.which.RGNames", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_which, { "which", "x11.xkb.GetNames.reply.which", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_minKeyCode, { "minKeyCode", "x11.xkb.GetNames.reply.minKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_maxKeyCode, { "maxKeyCode", "x11.xkb.GetNames.reply.maxKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_nTypes, { "nTypes", "x11.xkb.GetNames.reply.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_groupNames_mask_Group1, { "Group1", "x11.xkb.GetNames.reply.groupNames.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_groupNames_mask_Group2, { "Group2", "x11.xkb.GetNames.reply.groupNames.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_groupNames_mask_Group3, { "Group3", "x11.xkb.GetNames.reply.groupNames.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_groupNames_mask_Group4, { "Group4", "x11.xkb.GetNames.reply.groupNames.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_groupNames, { "groupNames", "x11.xkb.GetNames.reply.groupNames", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_0, { "0", "x11.xkb.GetNames.reply.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_1, { "1", "x11.xkb.GetNames.reply.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_2, { "2", "x11.xkb.GetNames.reply.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_3, { "3", "x11.xkb.GetNames.reply.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_4, { "4", "x11.xkb.GetNames.reply.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_5, { "5", "x11.xkb.GetNames.reply.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_6, { "6", "x11.xkb.GetNames.reply.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_7, { "7", "x11.xkb.GetNames.reply.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_8, { "8", "x11.xkb.GetNames.reply.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_9, { "9", "x11.xkb.GetNames.reply.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_10, { "10", "x11.xkb.GetNames.reply.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_11, { "11", "x11.xkb.GetNames.reply.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_12, { "12", "x11.xkb.GetNames.reply.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_13, { "13", "x11.xkb.GetNames.reply.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_14, { "14", "x11.xkb.GetNames.reply.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods_mask_15, { "15", "x11.xkb.GetNames.reply.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_virtualMods, { "virtualMods", "x11.xkb.GetNames.reply.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_firstKey, { "firstKey", "x11.xkb.GetNames.reply.firstKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_nKeys, { "nKeys", "x11.xkb.GetNames.reply.nKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_indicators, { "indicators", "x11.xkb.GetNames.reply.indicators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_nRadioGroups, { "nRadioGroups", "x11.xkb.GetNames.reply.nRadioGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_nKeyAliases, { "nKeyAliases", "x11.xkb.GetNames.reply.nKeyAliases", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_nKTLevels, { "nKTLevels", "x11.xkb.GetNames.reply.nKTLevels", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_Keycodes_keycodesName, { "keycodesName", "x11.xkb.GetNames.reply.Keycodes.keycodesName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_Geometry_geometryName, { "geometryName", "x11.xkb.GetNames.reply.Geometry.geometryName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_Symbols_symbolsName, { "symbolsName", "x11.xkb.GetNames.reply.Symbols.symbolsName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_PhysSymbols_physSymbolsName, { "physSymbolsName", "x11.xkb.GetNames.reply.PhysSymbols.physSymbolsName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_Types_typesName, { "typesName", "x11.xkb.GetNames.reply.Types.typesName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_Compat_compatName, { "compatName", "x11.xkb.GetNames.reply.Compat.compatName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KeyTypeNames_typeNames, { "typeNames", "x11.xkb.GetNames.reply.KeyTypeNames.typeNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KeyTypeNames_typeNames_item, { "typeNames", "x11.xkb.GetNames.reply.KeyTypeNames.typeNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KTLevelNames_nLevelsPerType, { "nLevelsPerType", "x11.xkb.GetNames.reply.KTLevelNames.nLevelsPerType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KTLevelNames_ktLevelNames, { "ktLevelNames", "x11.xkb.GetNames.reply.KTLevelNames.ktLevelNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KTLevelNames_ktLevelNames_item, { "ktLevelNames", "x11.xkb.GetNames.reply.KTLevelNames.ktLevelNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_IndicatorNames_indicatorNames, { "indicatorNames", "x11.xkb.GetNames.reply.IndicatorNames.indicatorNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_IndicatorNames_indicatorNames_item, { "indicatorNames", "x11.xkb.GetNames.reply.IndicatorNames.indicatorNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_VirtualModNames_virtualModNames, { "virtualModNames", "x11.xkb.GetNames.reply.VirtualModNames.virtualModNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_VirtualModNames_virtualModNames_item, { "virtualModNames", "x11.xkb.GetNames.reply.VirtualModNames.virtualModNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_GroupNames_groups, { "groups", "x11.xkb.GetNames.reply.GroupNames.groups.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_GroupNames_groups_item, { "groups", "x11.xkb.GetNames.reply.GroupNames.groups", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KeyNames_keyNames, { "keyNames", "x11.xkb.GetNames.reply.KeyNames.keyNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KeyNames_keyNames_item, { "keyNames", "x11.xkb.GetNames.reply.KeyNames.keyNames", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KeyAliases_keyAliases, { "keyAliases", "x11.xkb.GetNames.reply.KeyAliases.keyAliases.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_KeyAliases_keyAliases_item, { "keyAliases", "x11.xkb.GetNames.reply.KeyAliases.keyAliases", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_RGNames_radioGroupNames, { "radioGroupNames", "x11.xkb.GetNames.reply.RGNames.radioGroupNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetNames_reply_RGNames_radioGroupNames_item, { "radioGroupNames", "x11.xkb.GetNames.reply.RGNames.radioGroupNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_deviceSpec, { "deviceSpec", "x11.xkb.SetNames.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_0, { "0", "x11.xkb.SetNames.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_1, { "1", "x11.xkb.SetNames.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_2, { "2", "x11.xkb.SetNames.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_3, { "3", "x11.xkb.SetNames.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_4, { "4", "x11.xkb.SetNames.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_5, { "5", "x11.xkb.SetNames.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_6, { "6", "x11.xkb.SetNames.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_7, { "7", "x11.xkb.SetNames.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_8, { "8", "x11.xkb.SetNames.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_9, { "9", "x11.xkb.SetNames.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_10, { "10", "x11.xkb.SetNames.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_11, { "11", "x11.xkb.SetNames.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_12, { "12", "x11.xkb.SetNames.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_13, { "13", "x11.xkb.SetNames.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_14, { "14", "x11.xkb.SetNames.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods_mask_15, { "15", "x11.xkb.SetNames.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_SetNames_virtualMods, { "virtualMods", "x11.xkb.SetNames.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_Keycodes, { "Keycodes", "x11.xkb.SetNames.which.Keycodes", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_Geometry, { "Geometry", "x11.xkb.SetNames.which.Geometry", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_Symbols, { "Symbols", "x11.xkb.SetNames.which.Symbols", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_PhysSymbols, { "PhysSymbols", "x11.xkb.SetNames.which.PhysSymbols", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_Types, { "Types", "x11.xkb.SetNames.which.Types", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_Compat, { "Compat", "x11.xkb.SetNames.which.Compat", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_KeyTypeNames, { "KeyTypeNames", "x11.xkb.SetNames.which.KeyTypeNames", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_KTLevelNames, { "KTLevelNames", "x11.xkb.SetNames.which.KTLevelNames", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.SetNames.which.IndicatorNames", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_KeyNames, { "KeyNames", "x11.xkb.SetNames.which.KeyNames", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_KeyAliases, { "KeyAliases", "x11.xkb.SetNames.which.KeyAliases", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_VirtualModNames, { "VirtualModNames", "x11.xkb.SetNames.which.VirtualModNames", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_GroupNames, { "GroupNames", "x11.xkb.SetNames.which.GroupNames", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which_mask_RGNames, { "RGNames", "x11.xkb.SetNames.which.RGNames", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_SetNames_which, { "which", "x11.xkb.SetNames.which", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_firstType, { "firstType", "x11.xkb.SetNames.firstType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_nTypes, { "nTypes", "x11.xkb.SetNames.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_firstKTLevelt, { "firstKTLevelt", "x11.xkb.SetNames.firstKTLevelt", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_nKTLevels, { "nKTLevels", "x11.xkb.SetNames.nKTLevels", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_indicators, { "indicators", "x11.xkb.SetNames.indicators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_groupNames_mask_Group1, { "Group1", "x11.xkb.SetNames.groupNames.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_groupNames_mask_Group2, { "Group2", "x11.xkb.SetNames.groupNames.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetNames_groupNames_mask_Group3, { "Group3", "x11.xkb.SetNames.groupNames.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetNames_groupNames_mask_Group4, { "Group4", "x11.xkb.SetNames.groupNames.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetNames_groupNames, { "groupNames", "x11.xkb.SetNames.groupNames", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_nRadioGroups, { "nRadioGroups", "x11.xkb.SetNames.nRadioGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_firstKey, { "firstKey", "x11.xkb.SetNames.firstKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_nKeys, { "nKeys", "x11.xkb.SetNames.nKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_nKeyAliases, { "nKeyAliases", "x11.xkb.SetNames.nKeyAliases", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_totalKTLevelNames, { "totalKTLevelNames", "x11.xkb.SetNames.totalKTLevelNames", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_Keycodes_keycodesName, { "keycodesName", "x11.xkb.SetNames.Keycodes.keycodesName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_Geometry_geometryName, { "geometryName", "x11.xkb.SetNames.Geometry.geometryName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_Symbols_symbolsName, { "symbolsName", "x11.xkb.SetNames.Symbols.symbolsName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_PhysSymbols_physSymbolsName, { "physSymbolsName", "x11.xkb.SetNames.PhysSymbols.physSymbolsName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_Types_typesName, { "typesName", "x11.xkb.SetNames.Types.typesName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_Compat_compatName, { "compatName", "x11.xkb.SetNames.Compat.compatName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KeyTypeNames_typeNames, { "typeNames", "x11.xkb.SetNames.KeyTypeNames.typeNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KeyTypeNames_typeNames_item, { "typeNames", "x11.xkb.SetNames.KeyTypeNames.typeNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KTLevelNames_nLevelsPerType, { "nLevelsPerType", "x11.xkb.SetNames.KTLevelNames.nLevelsPerType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KTLevelNames_ktLevelNames, { "ktLevelNames", "x11.xkb.SetNames.KTLevelNames.ktLevelNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KTLevelNames_ktLevelNames_item, { "ktLevelNames", "x11.xkb.SetNames.KTLevelNames.ktLevelNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_IndicatorNames_indicatorNames, { "indicatorNames", "x11.xkb.SetNames.IndicatorNames.indicatorNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_IndicatorNames_indicatorNames_item, { "indicatorNames", "x11.xkb.SetNames.IndicatorNames.indicatorNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_VirtualModNames_virtualModNames, { "virtualModNames", "x11.xkb.SetNames.VirtualModNames.virtualModNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_VirtualModNames_virtualModNames_item, { "virtualModNames", "x11.xkb.SetNames.VirtualModNames.virtualModNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_GroupNames_groups, { "groups", "x11.xkb.SetNames.GroupNames.groups.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_GroupNames_groups_item, { "groups", "x11.xkb.SetNames.GroupNames.groups", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KeyNames_keyNames, { "keyNames", "x11.xkb.SetNames.KeyNames.keyNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KeyNames_keyNames_item, { "keyNames", "x11.xkb.SetNames.KeyNames.keyNames", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KeyAliases_keyAliases, { "keyAliases", "x11.xkb.SetNames.KeyAliases.keyAliases.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_KeyAliases_keyAliases_item, { "keyAliases", "x11.xkb.SetNames.KeyAliases.keyAliases", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_RGNames_radioGroupNames, { "radioGroupNames", "x11.xkb.SetNames.RGNames.radioGroupNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetNames_RGNames_radioGroupNames_item, { "radioGroupNames", "x11.xkb.SetNames.RGNames.radioGroupNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_deviceSpec, { "deviceSpec", "x11.xkb.PerClientFlags.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_change_mask_DetectableAutoRepeat, { "DetectableAutoRepeat", "x11.xkb.PerClientFlags.change.DetectableAutoRepeat", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_change_mask_GrabsUseXKBState, { "GrabsUseXKBState", "x11.xkb.PerClientFlags.change.GrabsUseXKBState", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_change_mask_AutoResetControls, { "AutoResetControls", "x11.xkb.PerClientFlags.change.AutoResetControls", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_change_mask_LookupStateWhenGrabbed, { "LookupStateWhenGrabbed", "x11.xkb.PerClientFlags.change.LookupStateWhenGrabbed", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_change_mask_SendEventUsesXKBState, { "SendEventUsesXKBState", "x11.xkb.PerClientFlags.change.SendEventUsesXKBState", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_change, { "change", "x11.xkb.PerClientFlags.change", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_value_mask_DetectableAutoRepeat, { "DetectableAutoRepeat", "x11.xkb.PerClientFlags.value.DetectableAutoRepeat", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_value_mask_GrabsUseXKBState, { "GrabsUseXKBState", "x11.xkb.PerClientFlags.value.GrabsUseXKBState", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_value_mask_AutoResetControls, { "AutoResetControls", "x11.xkb.PerClientFlags.value.AutoResetControls", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_value_mask_LookupStateWhenGrabbed, { "LookupStateWhenGrabbed", "x11.xkb.PerClientFlags.value.LookupStateWhenGrabbed", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_value_mask_SendEventUsesXKBState, { "SendEventUsesXKBState", "x11.xkb.PerClientFlags.value.SendEventUsesXKBState", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_value, { "value", "x11.xkb.PerClientFlags.value", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.PerClientFlags.ctrlsToChange.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_SlowKeys, { "SlowKeys", "x11.xkb.PerClientFlags.ctrlsToChange.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_BounceKeys, { "BounceKeys", "x11.xkb.PerClientFlags.ctrlsToChange.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_StickyKeys, { "StickyKeys", "x11.xkb.PerClientFlags.ctrlsToChange.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_MouseKeys, { "MouseKeys", "x11.xkb.PerClientFlags.ctrlsToChange.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.PerClientFlags.ctrlsToChange.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.PerClientFlags.ctrlsToChange.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.PerClientFlags.ctrlsToChange.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.PerClientFlags.ctrlsToChange.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.PerClientFlags.ctrlsToChange.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.PerClientFlags.ctrlsToChange.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.PerClientFlags.ctrlsToChange.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.PerClientFlags.ctrlsToChange.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_ctrlsToChange, { "ctrlsToChange", "x11.xkb.PerClientFlags.ctrlsToChange", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.PerClientFlags.autoCtrls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_SlowKeys, { "SlowKeys", "x11.xkb.PerClientFlags.autoCtrls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_BounceKeys, { "BounceKeys", "x11.xkb.PerClientFlags.autoCtrls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_StickyKeys, { "StickyKeys", "x11.xkb.PerClientFlags.autoCtrls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_MouseKeys, { "MouseKeys", "x11.xkb.PerClientFlags.autoCtrls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.PerClientFlags.autoCtrls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.PerClientFlags.autoCtrls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.PerClientFlags.autoCtrls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.PerClientFlags.autoCtrls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.PerClientFlags.autoCtrls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.PerClientFlags.autoCtrls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.PerClientFlags.autoCtrls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.PerClientFlags.autoCtrls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrls, { "autoCtrls", "x11.xkb.PerClientFlags.autoCtrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.PerClientFlags.autoCtrlsValues.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_SlowKeys, { "SlowKeys", "x11.xkb.PerClientFlags.autoCtrlsValues.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_BounceKeys, { "BounceKeys", "x11.xkb.PerClientFlags.autoCtrlsValues.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_StickyKeys, { "StickyKeys", "x11.xkb.PerClientFlags.autoCtrlsValues.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_MouseKeys, { "MouseKeys", "x11.xkb.PerClientFlags.autoCtrlsValues.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.PerClientFlags.autoCtrlsValues.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.PerClientFlags.autoCtrlsValues.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.PerClientFlags.autoCtrlsValues.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.PerClientFlags.autoCtrlsValues.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.PerClientFlags.autoCtrlsValues.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.PerClientFlags.autoCtrlsValues.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.PerClientFlags.autoCtrlsValues.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.PerClientFlags.autoCtrlsValues.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_autoCtrlsValues, { "autoCtrlsValues", "x11.xkb.PerClientFlags.autoCtrlsValues", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_deviceID, { "deviceID", "x11.xkb.PerClientFlags.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_supported_mask_DetectableAutoRepeat, { "DetectableAutoRepeat", "x11.xkb.PerClientFlags.reply.supported.DetectableAutoRepeat", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_supported_mask_GrabsUseXKBState, { "GrabsUseXKBState", "x11.xkb.PerClientFlags.reply.supported.GrabsUseXKBState", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_supported_mask_AutoResetControls, { "AutoResetControls", "x11.xkb.PerClientFlags.reply.supported.AutoResetControls", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_supported_mask_LookupStateWhenGrabbed, { "LookupStateWhenGrabbed", "x11.xkb.PerClientFlags.reply.supported.LookupStateWhenGrabbed", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_supported_mask_SendEventUsesXKBState, { "SendEventUsesXKBState", "x11.xkb.PerClientFlags.reply.supported.SendEventUsesXKBState", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_supported, { "supported", "x11.xkb.PerClientFlags.reply.supported", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_value_mask_DetectableAutoRepeat, { "DetectableAutoRepeat", "x11.xkb.PerClientFlags.reply.value.DetectableAutoRepeat", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_value_mask_GrabsUseXKBState, { "GrabsUseXKBState", "x11.xkb.PerClientFlags.reply.value.GrabsUseXKBState", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_value_mask_AutoResetControls, { "AutoResetControls", "x11.xkb.PerClientFlags.reply.value.AutoResetControls", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_value_mask_LookupStateWhenGrabbed, { "LookupStateWhenGrabbed", "x11.xkb.PerClientFlags.reply.value.LookupStateWhenGrabbed", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_value_mask_SendEventUsesXKBState, { "SendEventUsesXKBState", "x11.xkb.PerClientFlags.reply.value.SendEventUsesXKBState", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_value, { "value", "x11.xkb.PerClientFlags.reply.value", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.PerClientFlags.reply.autoCtrls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_SlowKeys, { "SlowKeys", "x11.xkb.PerClientFlags.reply.autoCtrls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_BounceKeys, { "BounceKeys", "x11.xkb.PerClientFlags.reply.autoCtrls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_StickyKeys, { "StickyKeys", "x11.xkb.PerClientFlags.reply.autoCtrls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_MouseKeys, { "MouseKeys", "x11.xkb.PerClientFlags.reply.autoCtrls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.PerClientFlags.reply.autoCtrls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.PerClientFlags.reply.autoCtrls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.PerClientFlags.reply.autoCtrls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.PerClientFlags.reply.autoCtrls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.PerClientFlags.reply.autoCtrls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.PerClientFlags.reply.autoCtrls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.PerClientFlags.reply.autoCtrls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.PerClientFlags.reply.autoCtrls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrls, { "autoCtrls", "x11.xkb.PerClientFlags.reply.autoCtrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_SlowKeys, { "SlowKeys", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_BounceKeys, { "BounceKeys", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_StickyKeys, { "StickyKeys", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_MouseKeys, { "MouseKeys", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.PerClientFlags.reply.autoCtrlsValues.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_PerClientFlags_reply_autoCtrlsValues, { "autoCtrlsValues", "x11.xkb.PerClientFlags.reply.autoCtrlsValues", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_deviceSpec, { "deviceSpec", "x11.xkb.ListComponents.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_maxNames, { "maxNames", "x11.xkb.ListComponents.maxNames", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_deviceID, { "deviceID", "x11.xkb.ListComponents.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_nKeymaps, { "nKeymaps", "x11.xkb.ListComponents.reply.nKeymaps", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_nKeycodes, { "nKeycodes", "x11.xkb.ListComponents.reply.nKeycodes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_nTypes, { "nTypes", "x11.xkb.ListComponents.reply.nTypes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_nCompatMaps, { "nCompatMaps", "x11.xkb.ListComponents.reply.nCompatMaps", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_nSymbols, { "nSymbols", "x11.xkb.ListComponents.reply.nSymbols", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_nGeometries, { "nGeometries", "x11.xkb.ListComponents.reply.nGeometries", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_extra, { "extra", "x11.xkb.ListComponents.reply.extra", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_keymaps, { "keymaps", "x11.xkb.ListComponents.reply.keymaps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_keycodes, { "keycodes", "x11.xkb.ListComponents.reply.keycodes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_types, { "types", "x11.xkb.ListComponents.reply.types", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_compatMaps, { "compatMaps", "x11.xkb.ListComponents.reply.compatMaps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_symbols, { "symbols", "x11.xkb.ListComponents.reply.symbols", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ListComponents_reply_geometries, { "geometries", "x11.xkb.ListComponents.reply.geometries", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_deviceSpec, { "deviceSpec", "x11.xkb.GetKbdByName.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need_mask_Types, { "Types", "x11.xkb.GetKbdByName.need.Types", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need_mask_CompatMap, { "CompatMap", "x11.xkb.GetKbdByName.need.CompatMap", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need_mask_ClientSymbols, { "ClientSymbols", "x11.xkb.GetKbdByName.need.ClientSymbols", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need_mask_ServerSymbols, { "ServerSymbols", "x11.xkb.GetKbdByName.need.ServerSymbols", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.GetKbdByName.need.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need_mask_KeyNames, { "KeyNames", "x11.xkb.GetKbdByName.need.KeyNames", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need_mask_Geometry, { "Geometry", "x11.xkb.GetKbdByName.need.Geometry", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need_mask_OtherNames, { "OtherNames", "x11.xkb.GetKbdByName.need.OtherNames", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_need, { "need", "x11.xkb.GetKbdByName.need", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want_mask_Types, { "Types", "x11.xkb.GetKbdByName.want.Types", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want_mask_CompatMap, { "CompatMap", "x11.xkb.GetKbdByName.want.CompatMap", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want_mask_ClientSymbols, { "ClientSymbols", "x11.xkb.GetKbdByName.want.ClientSymbols", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want_mask_ServerSymbols, { "ServerSymbols", "x11.xkb.GetKbdByName.want.ServerSymbols", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.GetKbdByName.want.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want_mask_KeyNames, { "KeyNames", "x11.xkb.GetKbdByName.want.KeyNames", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want_mask_Geometry, { "Geometry", "x11.xkb.GetKbdByName.want.Geometry", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want_mask_OtherNames, { "OtherNames", "x11.xkb.GetKbdByName.want.OtherNames", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_want, { "want", "x11.xkb.GetKbdByName.want", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_load, { "load", "x11.xkb.GetKbdByName.load", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_deviceID, { "deviceID", "x11.xkb.GetKbdByName.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_minKeyCode, { "minKeyCode", "x11.xkb.GetKbdByName.reply.minKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_maxKeyCode, { "maxKeyCode", "x11.xkb.GetKbdByName.reply.maxKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_loaded, { "loaded", "x11.xkb.GetKbdByName.reply.loaded", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_newKeyboard, { "newKeyboard", "x11.xkb.GetKbdByName.reply.newKeyboard", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found_mask_Types, { "Types", "x11.xkb.GetKbdByName.reply.found.Types", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found_mask_CompatMap, { "CompatMap", "x11.xkb.GetKbdByName.reply.found.CompatMap", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found_mask_ClientSymbols, { "ClientSymbols", "x11.xkb.GetKbdByName.reply.found.ClientSymbols", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found_mask_ServerSymbols, { "ServerSymbols", "x11.xkb.GetKbdByName.reply.found.ServerSymbols", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.GetKbdByName.reply.found.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found_mask_KeyNames, { "KeyNames", "x11.xkb.GetKbdByName.reply.found.KeyNames", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found_mask_Geometry, { "Geometry", "x11.xkb.GetKbdByName.reply.found.Geometry", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found_mask_OtherNames, { "OtherNames", "x11.xkb.GetKbdByName.reply.found.OtherNames", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_found, { "found", "x11.xkb.GetKbdByName.reply.found", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported_mask_Types, { "Types", "x11.xkb.GetKbdByName.reply.reported.Types", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported_mask_CompatMap, { "CompatMap", "x11.xkb.GetKbdByName.reply.reported.CompatMap", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported_mask_ClientSymbols, { "ClientSymbols", "x11.xkb.GetKbdByName.reply.reported.ClientSymbols", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported_mask_ServerSymbols, { "ServerSymbols", "x11.xkb.GetKbdByName.reply.reported.ServerSymbols", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.GetKbdByName.reply.reported.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported_mask_KeyNames, { "KeyNames", "x11.xkb.GetKbdByName.reply.reported.KeyNames", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported_mask_Geometry, { "Geometry", "x11.xkb.GetKbdByName.reply.reported.Geometry", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported_mask_OtherNames, { "OtherNames", "x11.xkb.GetKbdByName.reply.reported.OtherNames", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_reported, { "reported", "x11.xkb.GetKbdByName.reply.reported", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_getmap_type, { "getmap_type", "x11.xkb.GetKbdByName.reply.Types.getmap_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_typeDeviceID, { "typeDeviceID", "x11.xkb.GetKbdByName.reply.Types.typeDeviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_getmap_sequence, { "getmap_sequence", "x11.xkb.GetKbdByName.reply.Types.getmap_sequence", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_getmap_length, { "getmap_length", "x11.xkb.GetKbdByName.reply.Types.getmap_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_typeMinKeyCode, { "typeMinKeyCode", "x11.xkb.GetKbdByName.reply.Types.typeMinKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_typeMaxKeyCode, { "typeMaxKeyCode", "x11.xkb.GetKbdByName.reply.Types.typeMaxKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyTypes, { "KeyTypes", "x11.xkb.GetKbdByName.reply.Types.present.KeyTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeySyms, { "KeySyms", "x11.xkb.GetKbdByName.reply.Types.present.KeySyms", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_ModifierMap, { "ModifierMap", "x11.xkb.GetKbdByName.reply.Types.present.ModifierMap", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_ExplicitComponents, { "ExplicitComponents", "x11.xkb.GetKbdByName.reply.Types.present.ExplicitComponents", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyActions, { "KeyActions", "x11.xkb.GetKbdByName.reply.Types.present.KeyActions", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_KeyBehaviors, { "KeyBehaviors", "x11.xkb.GetKbdByName.reply.Types.present.KeyBehaviors", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_VirtualMods, { "VirtualMods", "x11.xkb.GetKbdByName.reply.Types.present.VirtualMods", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present_mask_VirtualModMap, { "VirtualModMap", "x11.xkb.GetKbdByName.reply.Types.present.VirtualModMap", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_present, { "present", "x11.xkb.GetKbdByName.reply.Types.present", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_firstType, { "firstType", "x11.xkb.GetKbdByName.reply.Types.firstType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_nTypes, { "nTypes", "x11.xkb.GetKbdByName.reply.Types.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_totalTypes, { "totalTypes", "x11.xkb.GetKbdByName.reply.Types.totalTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_firstKeySym, { "firstKeySym", "x11.xkb.GetKbdByName.reply.Types.firstKeySym", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_totalSyms, { "totalSyms", "x11.xkb.GetKbdByName.reply.Types.totalSyms", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_nKeySyms, { "nKeySyms", "x11.xkb.GetKbdByName.reply.Types.nKeySyms", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_firstKeyAction, { "firstKeyAction", "x11.xkb.GetKbdByName.reply.Types.firstKeyAction", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_totalActions, { "totalActions", "x11.xkb.GetKbdByName.reply.Types.totalActions", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_nKeyActions, { "nKeyActions", "x11.xkb.GetKbdByName.reply.Types.nKeyActions", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_firstKeyBehavior, { "firstKeyBehavior", "x11.xkb.GetKbdByName.reply.Types.firstKeyBehavior", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_nKeyBehaviors, { "nKeyBehaviors", "x11.xkb.GetKbdByName.reply.Types.nKeyBehaviors", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_totalKeyBehaviors, { "totalKeyBehaviors", "x11.xkb.GetKbdByName.reply.Types.totalKeyBehaviors", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_firstKeyExplicit, { "firstKeyExplicit", "x11.xkb.GetKbdByName.reply.Types.firstKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_nKeyExplicit, { "nKeyExplicit", "x11.xkb.GetKbdByName.reply.Types.nKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_totalKeyExplicit, { "totalKeyExplicit", "x11.xkb.GetKbdByName.reply.Types.totalKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_firstModMapKey, { "firstModMapKey", "x11.xkb.GetKbdByName.reply.Types.firstModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_nModMapKeys, { "nModMapKeys", "x11.xkb.GetKbdByName.reply.Types.nModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_totalModMapKeys, { "totalModMapKeys", "x11.xkb.GetKbdByName.reply.Types.totalModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_firstVModMapKey, { "firstVModMapKey", "x11.xkb.GetKbdByName.reply.Types.firstVModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_nVModMapKeys, { "nVModMapKeys", "x11.xkb.GetKbdByName.reply.Types.nVModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_totalVModMapKeys, { "totalVModMapKeys", "x11.xkb.GetKbdByName.reply.Types.totalVModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_0, { "0", "x11.xkb.GetKbdByName.reply.Types.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_1, { "1", "x11.xkb.GetKbdByName.reply.Types.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_2, { "2", "x11.xkb.GetKbdByName.reply.Types.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_3, { "3", "x11.xkb.GetKbdByName.reply.Types.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_4, { "4", "x11.xkb.GetKbdByName.reply.Types.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_5, { "5", "x11.xkb.GetKbdByName.reply.Types.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_6, { "6", "x11.xkb.GetKbdByName.reply.Types.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_7, { "7", "x11.xkb.GetKbdByName.reply.Types.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_8, { "8", "x11.xkb.GetKbdByName.reply.Types.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_9, { "9", "x11.xkb.GetKbdByName.reply.Types.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_10, { "10", "x11.xkb.GetKbdByName.reply.Types.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_11, { "11", "x11.xkb.GetKbdByName.reply.Types.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_12, { "12", "x11.xkb.GetKbdByName.reply.Types.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_13, { "13", "x11.xkb.GetKbdByName.reply.Types.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_14, { "14", "x11.xkb.GetKbdByName.reply.Types.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods_mask_15, { "15", "x11.xkb.GetKbdByName.reply.Types.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_virtualMods, { "virtualMods", "x11.xkb.GetKbdByName.reply.Types.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_KeyTypes_types_rtrn, { "types_rtrn", "x11.xkb.GetKbdByName.reply.Types.KeyTypes.types_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_KeySyms_syms_rtrn, { "syms_rtrn", "x11.xkb.GetKbdByName.reply.Types.KeySyms.syms_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_KeyActions_acts_rtrn_count, { "acts_rtrn_count", "x11.xkb.GetKbdByName.reply.Types.KeyActions.acts_rtrn_count", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_KeyActions_acts_rtrn_acts, { "acts_rtrn_acts", "x11.xkb.GetKbdByName.reply.Types.KeyActions.acts_rtrn_acts.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_KeyActions_acts_rtrn_acts_item, { "acts_rtrn_acts", "x11.xkb.GetKbdByName.reply.Types.KeyActions.acts_rtrn_acts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_KeyBehaviors_behaviors_rtrn, { "behaviors_rtrn", "x11.xkb.GetKbdByName.reply.Types.KeyBehaviors.behaviors_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_KeyBehaviors_behaviors_rtrn_item, { "behaviors_rtrn", "x11.xkb.GetKbdByName.reply.Types.KeyBehaviors.behaviors_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_Shift, { "Shift", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_Lock, { "Lock", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_Control, { "Control", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_1, { "1", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_2, { "2", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_3, { "3", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_4, { "4", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_5, { "5", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn_mask_Any, { "Any", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualMods_vmods_rtrn, { "vmods_rtrn", "x11.xkb.GetKbdByName.reply.Types.VirtualMods.vmods_rtrn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_ExplicitComponents_explicit_rtrn, { "explicit_rtrn", "x11.xkb.GetKbdByName.reply.Types.ExplicitComponents.explicit_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_ExplicitComponents_explicit_rtrn_item, { "explicit_rtrn", "x11.xkb.GetKbdByName.reply.Types.ExplicitComponents.explicit_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_ModifierMap_modmap_rtrn, { "modmap_rtrn", "x11.xkb.GetKbdByName.reply.Types.ModifierMap.modmap_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_ModifierMap_modmap_rtrn_item, { "modmap_rtrn", "x11.xkb.GetKbdByName.reply.Types.ModifierMap.modmap_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualModMap_vmodmap_rtrn, { "vmodmap_rtrn", "x11.xkb.GetKbdByName.reply.Types.VirtualModMap.vmodmap_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Types_VirtualModMap_vmodmap_rtrn_item, { "vmodmap_rtrn", "x11.xkb.GetKbdByName.reply.Types.VirtualModMap.vmodmap_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_type, { "compatmap_type", "x11.xkb.GetKbdByName.reply.CompatMap.compatmap_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_compatDeviceID, { "compatDeviceID", "x11.xkb.GetKbdByName.reply.CompatMap.compatDeviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_sequence, { "compatmap_sequence", "x11.xkb.GetKbdByName.reply.CompatMap.compatmap_sequence", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_compatmap_length, { "compatmap_length", "x11.xkb.GetKbdByName.reply.CompatMap.compatmap_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group1, { "Group1", "x11.xkb.GetKbdByName.reply.CompatMap.groupsRtrn.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group2, { "Group2", "x11.xkb.GetKbdByName.reply.CompatMap.groupsRtrn.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group3, { "Group3", "x11.xkb.GetKbdByName.reply.CompatMap.groupsRtrn.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn_mask_Group4, { "Group4", "x11.xkb.GetKbdByName.reply.CompatMap.groupsRtrn.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_groupsRtrn, { "groupsRtrn", "x11.xkb.GetKbdByName.reply.CompatMap.groupsRtrn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_firstSIRtrn, { "firstSIRtrn", "x11.xkb.GetKbdByName.reply.CompatMap.firstSIRtrn", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_nSIRtrn, { "nSIRtrn", "x11.xkb.GetKbdByName.reply.CompatMap.nSIRtrn", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_nTotalSI, { "nTotalSI", "x11.xkb.GetKbdByName.reply.CompatMap.nTotalSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_si_rtrn, { "si_rtrn", "x11.xkb.GetKbdByName.reply.CompatMap.si_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_si_rtrn_item, { "si_rtrn", "x11.xkb.GetKbdByName.reply.CompatMap.si_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_group_rtrn, { "group_rtrn", "x11.xkb.GetKbdByName.reply.CompatMap.group_rtrn.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_CompatMap_group_rtrn_item, { "group_rtrn", "x11.xkb.GetKbdByName.reply.CompatMap.group_rtrn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_type, { "indicatormap_type", "x11.xkb.GetKbdByName.reply.IndicatorMaps.indicatormap_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatorDeviceID, { "indicatorDeviceID", "x11.xkb.GetKbdByName.reply.IndicatorMaps.indicatorDeviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_sequence, { "indicatormap_sequence", "x11.xkb.GetKbdByName.reply.IndicatorMaps.indicatormap_sequence", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_indicatormap_length, { "indicatormap_length", "x11.xkb.GetKbdByName.reply.IndicatorMaps.indicatormap_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_which, { "which", "x11.xkb.GetKbdByName.reply.IndicatorMaps.which", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_realIndicators, { "realIndicators", "x11.xkb.GetKbdByName.reply.IndicatorMaps.realIndicators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_nIndicators, { "nIndicators", "x11.xkb.GetKbdByName.reply.IndicatorMaps.nIndicators", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_maps, { "maps", "x11.xkb.GetKbdByName.reply.IndicatorMaps.maps.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_IndicatorMaps_maps_item, { "maps", "x11.xkb.GetKbdByName.reply.IndicatorMaps.maps", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_type, { "keyname_type", "x11.xkb.GetKbdByName.reply.KeyNames.keyname_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_keyDeviceID, { "keyDeviceID", "x11.xkb.GetKbdByName.reply.KeyNames.keyDeviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_sequence, { "keyname_sequence", "x11.xkb.GetKbdByName.reply.KeyNames.keyname_sequence", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_keyname_length, { "keyname_length", "x11.xkb.GetKbdByName.reply.KeyNames.keyname_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Keycodes, { "Keycodes", "x11.xkb.GetKbdByName.reply.KeyNames.which.Keycodes", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Geometry, { "Geometry", "x11.xkb.GetKbdByName.reply.KeyNames.which.Geometry", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Symbols, { "Symbols", "x11.xkb.GetKbdByName.reply.KeyNames.which.Symbols", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_PhysSymbols, { "PhysSymbols", "x11.xkb.GetKbdByName.reply.KeyNames.which.PhysSymbols", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Types, { "Types", "x11.xkb.GetKbdByName.reply.KeyNames.which.Types", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_Compat, { "Compat", "x11.xkb.GetKbdByName.reply.KeyNames.which.Compat", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyTypeNames, { "KeyTypeNames", "x11.xkb.GetKbdByName.reply.KeyNames.which.KeyTypeNames", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KTLevelNames, { "KTLevelNames", "x11.xkb.GetKbdByName.reply.KeyNames.which.KTLevelNames", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.GetKbdByName.reply.KeyNames.which.IndicatorNames", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyNames, { "KeyNames", "x11.xkb.GetKbdByName.reply.KeyNames.which.KeyNames", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_KeyAliases, { "KeyAliases", "x11.xkb.GetKbdByName.reply.KeyNames.which.KeyAliases", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_VirtualModNames, { "VirtualModNames", "x11.xkb.GetKbdByName.reply.KeyNames.which.VirtualModNames", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_GroupNames, { "GroupNames", "x11.xkb.GetKbdByName.reply.KeyNames.which.GroupNames", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which_mask_RGNames, { "RGNames", "x11.xkb.GetKbdByName.reply.KeyNames.which.RGNames", FT_BOOLEAN, 32, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_which, { "which", "x11.xkb.GetKbdByName.reply.KeyNames.which", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_keyMinKeyCode, { "keyMinKeyCode", "x11.xkb.GetKbdByName.reply.KeyNames.keyMinKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_keyMaxKeyCode, { "keyMaxKeyCode", "x11.xkb.GetKbdByName.reply.KeyNames.keyMaxKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_nTypes, { "nTypes", "x11.xkb.GetKbdByName.reply.KeyNames.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group1, { "Group1", "x11.xkb.GetKbdByName.reply.KeyNames.groupNames.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group2, { "Group2", "x11.xkb.GetKbdByName.reply.KeyNames.groupNames.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group3, { "Group3", "x11.xkb.GetKbdByName.reply.KeyNames.groupNames.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames_mask_Group4, { "Group4", "x11.xkb.GetKbdByName.reply.KeyNames.groupNames.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_groupNames, { "groupNames", "x11.xkb.GetKbdByName.reply.KeyNames.groupNames", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_0, { "0", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_1, { "1", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_2, { "2", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_3, { "3", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_4, { "4", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_5, { "5", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_6, { "6", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_7, { "7", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_8, { "8", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_9, { "9", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_10, { "10", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_11, { "11", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_12, { "12", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_13, { "13", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_14, { "14", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods_mask_15, { "15", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_virtualMods, { "virtualMods", "x11.xkb.GetKbdByName.reply.KeyNames.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_firstKey, { "firstKey", "x11.xkb.GetKbdByName.reply.KeyNames.firstKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_nKeys, { "nKeys", "x11.xkb.GetKbdByName.reply.KeyNames.nKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_indicators, { "indicators", "x11.xkb.GetKbdByName.reply.KeyNames.indicators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_nRadioGroups, { "nRadioGroups", "x11.xkb.GetKbdByName.reply.KeyNames.nRadioGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_nKeyAliases, { "nKeyAliases", "x11.xkb.GetKbdByName.reply.KeyNames.nKeyAliases", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_nKTLevels, { "nKTLevels", "x11.xkb.GetKbdByName.reply.KeyNames.nKTLevels", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_Keycodes_keycodesName, { "keycodesName", "x11.xkb.GetKbdByName.reply.KeyNames.Keycodes.keycodesName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_Geometry_geometryName, { "geometryName", "x11.xkb.GetKbdByName.reply.KeyNames.Geometry.geometryName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_Symbols_symbolsName, { "symbolsName", "x11.xkb.GetKbdByName.reply.KeyNames.Symbols.symbolsName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_PhysSymbols_physSymbolsName, { "physSymbolsName", "x11.xkb.GetKbdByName.reply.KeyNames.PhysSymbols.physSymbolsName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_Types_typesName, { "typesName", "x11.xkb.GetKbdByName.reply.KeyNames.Types.typesName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_Compat_compatName, { "compatName", "x11.xkb.GetKbdByName.reply.KeyNames.Compat.compatName", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyTypeNames_typeNames, { "typeNames", "x11.xkb.GetKbdByName.reply.KeyNames.KeyTypeNames.typeNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyTypeNames_typeNames_item, { "typeNames", "x11.xkb.GetKbdByName.reply.KeyNames.KeyTypeNames.typeNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_nLevelsPerType, { "nLevelsPerType", "x11.xkb.GetKbdByName.reply.KeyNames.KTLevelNames.nLevelsPerType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_ktLevelNames, { "ktLevelNames", "x11.xkb.GetKbdByName.reply.KeyNames.KTLevelNames.ktLevelNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KTLevelNames_ktLevelNames_item, { "ktLevelNames", "x11.xkb.GetKbdByName.reply.KeyNames.KTLevelNames.ktLevelNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_IndicatorNames_indicatorNames, { "indicatorNames", "x11.xkb.GetKbdByName.reply.KeyNames.IndicatorNames.indicatorNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_IndicatorNames_indicatorNames_item, { "indicatorNames", "x11.xkb.GetKbdByName.reply.KeyNames.IndicatorNames.indicatorNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_VirtualModNames_virtualModNames, { "virtualModNames", "x11.xkb.GetKbdByName.reply.KeyNames.VirtualModNames.virtualModNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_VirtualModNames_virtualModNames_item, { "virtualModNames", "x11.xkb.GetKbdByName.reply.KeyNames.VirtualModNames.virtualModNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_GroupNames_groups, { "groups", "x11.xkb.GetKbdByName.reply.KeyNames.GroupNames.groups.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_GroupNames_groups_item, { "groups", "x11.xkb.GetKbdByName.reply.KeyNames.GroupNames.groups", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyNames_keyNames, { "keyNames", "x11.xkb.GetKbdByName.reply.KeyNames.KeyNames.keyNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyNames_keyNames_item, { "keyNames", "x11.xkb.GetKbdByName.reply.KeyNames.KeyNames.keyNames", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyAliases_keyAliases, { "keyAliases", "x11.xkb.GetKbdByName.reply.KeyNames.KeyAliases.keyAliases.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_KeyAliases_keyAliases_item, { "keyAliases", "x11.xkb.GetKbdByName.reply.KeyNames.KeyAliases.keyAliases", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_RGNames_radioGroupNames, { "radioGroupNames", "x11.xkb.GetKbdByName.reply.KeyNames.RGNames.radioGroupNames.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_KeyNames_RGNames_radioGroupNames_item, { "radioGroupNames", "x11.xkb.GetKbdByName.reply.KeyNames.RGNames.radioGroupNames", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_type, { "geometry_type", "x11.xkb.GetKbdByName.reply.Geometry.geometry_type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_geometryDeviceID, { "geometryDeviceID", "x11.xkb.GetKbdByName.reply.Geometry.geometryDeviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_sequence, { "geometry_sequence", "x11.xkb.GetKbdByName.reply.Geometry.geometry_sequence", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_geometry_length, { "geometry_length", "x11.xkb.GetKbdByName.reply.Geometry.geometry_length", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_name, { "name", "x11.xkb.GetKbdByName.reply.Geometry.name", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_geometryFound, { "geometryFound", "x11.xkb.GetKbdByName.reply.Geometry.geometryFound", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_widthMM, { "widthMM", "x11.xkb.GetKbdByName.reply.Geometry.widthMM", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_heightMM, { "heightMM", "x11.xkb.GetKbdByName.reply.Geometry.heightMM", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_nProperties, { "nProperties", "x11.xkb.GetKbdByName.reply.Geometry.nProperties", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_nColors, { "nColors", "x11.xkb.GetKbdByName.reply.Geometry.nColors", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_nShapes, { "nShapes", "x11.xkb.GetKbdByName.reply.Geometry.nShapes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_nSections, { "nSections", "x11.xkb.GetKbdByName.reply.Geometry.nSections", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_nDoodads, { "nDoodads", "x11.xkb.GetKbdByName.reply.Geometry.nDoodads", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_nKeyAliases, { "nKeyAliases", "x11.xkb.GetKbdByName.reply.Geometry.nKeyAliases", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_baseColorNdx, { "baseColorNdx", "x11.xkb.GetKbdByName.reply.Geometry.baseColorNdx", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_labelColorNdx, { "labelColorNdx", "x11.xkb.GetKbdByName.reply.Geometry.labelColorNdx", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetKbdByName_reply_Geometry_labelFont, { "labelFont", "x11.xkb.GetKbdByName.reply.Geometry.labelFont", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_deviceSpec, { "deviceSpec", "x11.xkb.GetDeviceInfo.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_wanted_mask_Keyboards, { "Keyboards", "x11.xkb.GetDeviceInfo.wanted.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_wanted_mask_ButtonActions, { "ButtonActions", "x11.xkb.GetDeviceInfo.wanted.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.GetDeviceInfo.wanted.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.GetDeviceInfo.wanted.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_wanted_mask_IndicatorState, { "IndicatorState", "x11.xkb.GetDeviceInfo.wanted.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_wanted, { "wanted", "x11.xkb.GetDeviceInfo.wanted", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_allButtons, { "allButtons", "x11.xkb.GetDeviceInfo.allButtons", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_firstButton, { "firstButton", "x11.xkb.GetDeviceInfo.firstButton", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_nButtons, { "nButtons", "x11.xkb.GetDeviceInfo.nButtons", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_ledClass, { "ledClass", "x11.xkb.GetDeviceInfo.ledClass", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_LedClass), 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_ledID, { "ledID", "x11.xkb.GetDeviceInfo.ledID", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_ID), 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_deviceID, { "deviceID", "x11.xkb.GetDeviceInfo.reply.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_present_mask_Keyboards, { "Keyboards", "x11.xkb.GetDeviceInfo.reply.present.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_present_mask_ButtonActions, { "ButtonActions", "x11.xkb.GetDeviceInfo.reply.present.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.GetDeviceInfo.reply.present.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.GetDeviceInfo.reply.present.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_present_mask_IndicatorState, { "IndicatorState", "x11.xkb.GetDeviceInfo.reply.present.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_present, { "present", "x11.xkb.GetDeviceInfo.reply.present", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_Keyboards, { "Keyboards", "x11.xkb.GetDeviceInfo.reply.supported.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_ButtonActions, { "ButtonActions", "x11.xkb.GetDeviceInfo.reply.supported.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.GetDeviceInfo.reply.supported.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.GetDeviceInfo.reply.supported.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_supported_mask_IndicatorState, { "IndicatorState", "x11.xkb.GetDeviceInfo.reply.supported.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_supported, { "supported", "x11.xkb.GetDeviceInfo.reply.supported", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_Keyboards, { "Keyboards", "x11.xkb.GetDeviceInfo.reply.unsupported.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_ButtonActions, { "ButtonActions", "x11.xkb.GetDeviceInfo.reply.unsupported.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.GetDeviceInfo.reply.unsupported.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.GetDeviceInfo.reply.unsupported.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_unsupported_mask_IndicatorState, { "IndicatorState", "x11.xkb.GetDeviceInfo.reply.unsupported.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_unsupported, { "unsupported", "x11.xkb.GetDeviceInfo.reply.unsupported", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_nDeviceLedFBs, { "nDeviceLedFBs", "x11.xkb.GetDeviceInfo.reply.nDeviceLedFBs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_firstBtnWanted, { "firstBtnWanted", "x11.xkb.GetDeviceInfo.reply.firstBtnWanted", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_nBtnsWanted, { "nBtnsWanted", "x11.xkb.GetDeviceInfo.reply.nBtnsWanted", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_firstBtnRtrn, { "firstBtnRtrn", "x11.xkb.GetDeviceInfo.reply.firstBtnRtrn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_nBtnsRtrn, { "nBtnsRtrn", "x11.xkb.GetDeviceInfo.reply.nBtnsRtrn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_totalBtns, { "totalBtns", "x11.xkb.GetDeviceInfo.reply.totalBtns", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_hasOwnState, { "hasOwnState", "x11.xkb.GetDeviceInfo.reply.hasOwnState", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_dfltKbdFB, { "dfltKbdFB", "x11.xkb.GetDeviceInfo.reply.dfltKbdFB", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_ID), 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_dfltLedFB, { "dfltLedFB", "x11.xkb.GetDeviceInfo.reply.dfltLedFB", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_ID), 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_devType, { "devType", "x11.xkb.GetDeviceInfo.reply.devType", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_nameLen, { "nameLen", "x11.xkb.GetDeviceInfo.reply.nameLen", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_name, { "name", "x11.xkb.GetDeviceInfo.reply.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_btnActions, { "btnActions", "x11.xkb.GetDeviceInfo.reply.btnActions.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_btnActions_item, { "btnActions", "x11.xkb.GetDeviceInfo.reply.btnActions", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_GetDeviceInfo_reply_leds, { "leds", "x11.xkb.GetDeviceInfo.reply.leds", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_deviceSpec, { "deviceSpec", "x11.xkb.SetDeviceInfo.deviceSpec", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_firstBtn, { "firstBtn", "x11.xkb.SetDeviceInfo.firstBtn", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_nBtns, { "nBtns", "x11.xkb.SetDeviceInfo.nBtns", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_change_mask_Keyboards, { "Keyboards", "x11.xkb.SetDeviceInfo.change.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_change_mask_ButtonActions, { "ButtonActions", "x11.xkb.SetDeviceInfo.change.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.SetDeviceInfo.change.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.SetDeviceInfo.change.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_change_mask_IndicatorState, { "IndicatorState", "x11.xkb.SetDeviceInfo.change.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_change, { "change", "x11.xkb.SetDeviceInfo.change", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_nDeviceLedFBs, { "nDeviceLedFBs", "x11.xkb.SetDeviceInfo.nDeviceLedFBs", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_btnActions, { "btnActions", "x11.xkb.SetDeviceInfo.btnActions.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_btnActions_item, { "btnActions", "x11.xkb.SetDeviceInfo.btnActions", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDeviceInfo_leds, { "leds", "x11.xkb.SetDeviceInfo.leds", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_msgLength, { "msgLength", "x11.xkb.SetDebuggingFlags.msgLength", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_affectFlags, { "affectFlags", "x11.xkb.SetDebuggingFlags.affectFlags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_flags, { "flags", "x11.xkb.SetDebuggingFlags.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_affectCtrls, { "affectCtrls", "x11.xkb.SetDebuggingFlags.affectCtrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_ctrls, { "ctrls", "x11.xkb.SetDebuggingFlags.ctrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_message, { "message", "x11.xkb.SetDebuggingFlags.message", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_reply_currentFlags, { "currentFlags", "x11.xkb.SetDebuggingFlags.reply.currentFlags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_reply_currentCtrls, { "currentCtrls", "x11.xkb.SetDebuggingFlags.reply.currentCtrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_reply_supportedFlags, { "supportedFlags", "x11.xkb.SetDebuggingFlags.reply.supportedFlags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_SetDebuggingFlags_reply_supportedCtrls, { "supportedCtrls", "x11.xkb.SetDebuggingFlags.reply.supportedCtrls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_xkbType, { "xkbType", "x11.xkb.MapNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_time, { "time", "x11.xkb.MapNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_deviceID, { "deviceID", "x11.xkb.MapNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_ptrBtnActions, { "ptrBtnActions", "x11.xkb.MapNotify.ptrBtnActions", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed_mask_KeyTypes, { "KeyTypes", "x11.xkb.MapNotify.changed.KeyTypes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed_mask_KeySyms, { "KeySyms", "x11.xkb.MapNotify.changed.KeySyms", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed_mask_ModifierMap, { "ModifierMap", "x11.xkb.MapNotify.changed.ModifierMap", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed_mask_ExplicitComponents, { "ExplicitComponents", "x11.xkb.MapNotify.changed.ExplicitComponents", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed_mask_KeyActions, { "KeyActions", "x11.xkb.MapNotify.changed.KeyActions", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed_mask_KeyBehaviors, { "KeyBehaviors", "x11.xkb.MapNotify.changed.KeyBehaviors", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed_mask_VirtualMods, { "VirtualMods", "x11.xkb.MapNotify.changed.VirtualMods", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed_mask_VirtualModMap, { "VirtualModMap", "x11.xkb.MapNotify.changed.VirtualModMap", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_changed, { "changed", "x11.xkb.MapNotify.changed", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_minKeyCode, { "minKeyCode", "x11.xkb.MapNotify.minKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_maxKeyCode, { "maxKeyCode", "x11.xkb.MapNotify.maxKeyCode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_firstType, { "firstType", "x11.xkb.MapNotify.firstType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_nTypes, { "nTypes", "x11.xkb.MapNotify.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_firstKeySym, { "firstKeySym", "x11.xkb.MapNotify.firstKeySym", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_nKeySyms, { "nKeySyms", "x11.xkb.MapNotify.nKeySyms", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_firstKeyAct, { "firstKeyAct", "x11.xkb.MapNotify.firstKeyAct", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_nKeyActs, { "nKeyActs", "x11.xkb.MapNotify.nKeyActs", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_firstKeyBehavior, { "firstKeyBehavior", "x11.xkb.MapNotify.firstKeyBehavior", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_nKeyBehavior, { "nKeyBehavior", "x11.xkb.MapNotify.nKeyBehavior", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_firstKeyExplicit, { "firstKeyExplicit", "x11.xkb.MapNotify.firstKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_nKeyExplicit, { "nKeyExplicit", "x11.xkb.MapNotify.nKeyExplicit", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_firstModMapKey, { "firstModMapKey", "x11.xkb.MapNotify.firstModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_nModMapKeys, { "nModMapKeys", "x11.xkb.MapNotify.nModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_firstVModMapKey, { "firstVModMapKey", "x11.xkb.MapNotify.firstVModMapKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_nVModMapKeys, { "nVModMapKeys", "x11.xkb.MapNotify.nVModMapKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_0, { "0", "x11.xkb.MapNotify.virtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_1, { "1", "x11.xkb.MapNotify.virtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_2, { "2", "x11.xkb.MapNotify.virtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_3, { "3", "x11.xkb.MapNotify.virtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_4, { "4", "x11.xkb.MapNotify.virtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_5, { "5", "x11.xkb.MapNotify.virtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_6, { "6", "x11.xkb.MapNotify.virtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_7, { "7", "x11.xkb.MapNotify.virtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_8, { "8", "x11.xkb.MapNotify.virtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_9, { "9", "x11.xkb.MapNotify.virtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_10, { "10", "x11.xkb.MapNotify.virtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_11, { "11", "x11.xkb.MapNotify.virtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_12, { "12", "x11.xkb.MapNotify.virtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_13, { "13", "x11.xkb.MapNotify.virtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_14, { "14", "x11.xkb.MapNotify.virtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods_mask_15, { "15", "x11.xkb.MapNotify.virtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_MapNotify_virtualMods, { "virtualMods", "x11.xkb.MapNotify.virtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_xkbType, { "xkbType", "x11.xkb.StateNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_time, { "time", "x11.xkb.StateNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_deviceID, { "deviceID", "x11.xkb.StateNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_Shift, { "Shift", "x11.xkb.StateNotify.mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_Lock, { "Lock", "x11.xkb.StateNotify.mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_Control, { "Control", "x11.xkb.StateNotify.mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_1, { "1", "x11.xkb.StateNotify.mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_2, { "2", "x11.xkb.StateNotify.mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_3, { "3", "x11.xkb.StateNotify.mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_4, { "4", "x11.xkb.StateNotify.mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_5, { "5", "x11.xkb.StateNotify.mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods_mask_Any, { "Any", "x11.xkb.StateNotify.mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_mods, { "mods", "x11.xkb.StateNotify.mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_Shift, { "Shift", "x11.xkb.StateNotify.baseMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_Lock, { "Lock", "x11.xkb.StateNotify.baseMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_Control, { "Control", "x11.xkb.StateNotify.baseMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_1, { "1", "x11.xkb.StateNotify.baseMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_2, { "2", "x11.xkb.StateNotify.baseMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_3, { "3", "x11.xkb.StateNotify.baseMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_4, { "4", "x11.xkb.StateNotify.baseMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_5, { "5", "x11.xkb.StateNotify.baseMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods_mask_Any, { "Any", "x11.xkb.StateNotify.baseMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseMods, { "baseMods", "x11.xkb.StateNotify.baseMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_Shift, { "Shift", "x11.xkb.StateNotify.latchedMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_Lock, { "Lock", "x11.xkb.StateNotify.latchedMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_Control, { "Control", "x11.xkb.StateNotify.latchedMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_1, { "1", "x11.xkb.StateNotify.latchedMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_2, { "2", "x11.xkb.StateNotify.latchedMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_3, { "3", "x11.xkb.StateNotify.latchedMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_4, { "4", "x11.xkb.StateNotify.latchedMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_5, { "5", "x11.xkb.StateNotify.latchedMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods_mask_Any, { "Any", "x11.xkb.StateNotify.latchedMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedMods, { "latchedMods", "x11.xkb.StateNotify.latchedMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_Shift, { "Shift", "x11.xkb.StateNotify.lockedMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_Lock, { "Lock", "x11.xkb.StateNotify.lockedMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_Control, { "Control", "x11.xkb.StateNotify.lockedMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_1, { "1", "x11.xkb.StateNotify.lockedMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_2, { "2", "x11.xkb.StateNotify.lockedMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_3, { "3", "x11.xkb.StateNotify.lockedMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_4, { "4", "x11.xkb.StateNotify.lockedMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_5, { "5", "x11.xkb.StateNotify.lockedMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods_mask_Any, { "Any", "x11.xkb.StateNotify.lockedMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedMods, { "lockedMods", "x11.xkb.StateNotify.lockedMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_group, { "group", "x11.xkb.StateNotify.group", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_Group), 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_baseGroup, { "baseGroup", "x11.xkb.StateNotify.baseGroup", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_latchedGroup, { "latchedGroup", "x11.xkb.StateNotify.latchedGroup", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lockedGroup, { "lockedGroup", "x11.xkb.StateNotify.lockedGroup", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_Group), 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_Shift, { "Shift", "x11.xkb.StateNotify.compatState.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_Lock, { "Lock", "x11.xkb.StateNotify.compatState.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_Control, { "Control", "x11.xkb.StateNotify.compatState.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_1, { "1", "x11.xkb.StateNotify.compatState.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_2, { "2", "x11.xkb.StateNotify.compatState.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_3, { "3", "x11.xkb.StateNotify.compatState.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_4, { "4", "x11.xkb.StateNotify.compatState.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_5, { "5", "x11.xkb.StateNotify.compatState.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState_mask_Any, { "Any", "x11.xkb.StateNotify.compatState.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatState, { "compatState", "x11.xkb.StateNotify.compatState", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_Shift, { "Shift", "x11.xkb.StateNotify.grabMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_Lock, { "Lock", "x11.xkb.StateNotify.grabMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_Control, { "Control", "x11.xkb.StateNotify.grabMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_1, { "1", "x11.xkb.StateNotify.grabMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_2, { "2", "x11.xkb.StateNotify.grabMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_3, { "3", "x11.xkb.StateNotify.grabMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_4, { "4", "x11.xkb.StateNotify.grabMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_5, { "5", "x11.xkb.StateNotify.grabMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods_mask_Any, { "Any", "x11.xkb.StateNotify.grabMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_grabMods, { "grabMods", "x11.xkb.StateNotify.grabMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_Shift, { "Shift", "x11.xkb.StateNotify.compatGrabMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_Lock, { "Lock", "x11.xkb.StateNotify.compatGrabMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_Control, { "Control", "x11.xkb.StateNotify.compatGrabMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_1, { "1", "x11.xkb.StateNotify.compatGrabMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_2, { "2", "x11.xkb.StateNotify.compatGrabMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_3, { "3", "x11.xkb.StateNotify.compatGrabMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_4, { "4", "x11.xkb.StateNotify.compatGrabMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_5, { "5", "x11.xkb.StateNotify.compatGrabMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods_mask_Any, { "Any", "x11.xkb.StateNotify.compatGrabMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatGrabMods, { "compatGrabMods", "x11.xkb.StateNotify.compatGrabMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_Shift, { "Shift", "x11.xkb.StateNotify.lookupMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_Lock, { "Lock", "x11.xkb.StateNotify.lookupMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_Control, { "Control", "x11.xkb.StateNotify.lookupMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_1, { "1", "x11.xkb.StateNotify.lookupMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_2, { "2", "x11.xkb.StateNotify.lookupMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_3, { "3", "x11.xkb.StateNotify.lookupMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_4, { "4", "x11.xkb.StateNotify.lookupMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_5, { "5", "x11.xkb.StateNotify.lookupMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods_mask_Any, { "Any", "x11.xkb.StateNotify.lookupMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_lookupMods, { "lookupMods", "x11.xkb.StateNotify.lookupMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_Shift, { "Shift", "x11.xkb.StateNotify.compatLoockupMods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_Lock, { "Lock", "x11.xkb.StateNotify.compatLoockupMods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_Control, { "Control", "x11.xkb.StateNotify.compatLoockupMods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_1, { "1", "x11.xkb.StateNotify.compatLoockupMods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_2, { "2", "x11.xkb.StateNotify.compatLoockupMods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_3, { "3", "x11.xkb.StateNotify.compatLoockupMods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_4, { "4", "x11.xkb.StateNotify.compatLoockupMods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_5, { "5", "x11.xkb.StateNotify.compatLoockupMods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods_mask_Any, { "Any", "x11.xkb.StateNotify.compatLoockupMods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_compatLoockupMods, { "compatLoockupMods", "x11.xkb.StateNotify.compatLoockupMods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Shift, { "Shift", "x11.xkb.StateNotify.ptrBtnState.Shift", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Lock, { "Lock", "x11.xkb.StateNotify.ptrBtnState.Lock", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Control, { "Control", "x11.xkb.StateNotify.ptrBtnState.Control", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod1, { "Mod1", "x11.xkb.StateNotify.ptrBtnState.Mod1", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod2, { "Mod2", "x11.xkb.StateNotify.ptrBtnState.Mod2", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod3, { "Mod3", "x11.xkb.StateNotify.ptrBtnState.Mod3", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod4, { "Mod4", "x11.xkb.StateNotify.ptrBtnState.Mod4", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Mod5, { "Mod5", "x11.xkb.StateNotify.ptrBtnState.Mod5", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button1, { "Button1", "x11.xkb.StateNotify.ptrBtnState.Button1", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button2, { "Button2", "x11.xkb.StateNotify.ptrBtnState.Button2", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button3, { "Button3", "x11.xkb.StateNotify.ptrBtnState.Button3", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button4, { "Button4", "x11.xkb.StateNotify.ptrBtnState.Button4", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState_mask_Button5, { "Button5", "x11.xkb.StateNotify.ptrBtnState.Button5", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_ptrBtnState, { "ptrBtnState", "x11.xkb.StateNotify.ptrBtnState", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_ModifierState, { "ModifierState", "x11.xkb.StateNotify.changed.ModifierState", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_ModifierBase, { "ModifierBase", "x11.xkb.StateNotify.changed.ModifierBase", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_ModifierLatch, { "ModifierLatch", "x11.xkb.StateNotify.changed.ModifierLatch", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_ModifierLock, { "ModifierLock", "x11.xkb.StateNotify.changed.ModifierLock", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_GroupState, { "GroupState", "x11.xkb.StateNotify.changed.GroupState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_GroupBase, { "GroupBase", "x11.xkb.StateNotify.changed.GroupBase", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_GroupLatch, { "GroupLatch", "x11.xkb.StateNotify.changed.GroupLatch", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_GroupLock, { "GroupLock", "x11.xkb.StateNotify.changed.GroupLock", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_CompatState, { "CompatState", "x11.xkb.StateNotify.changed.CompatState", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_GrabMods, { "GrabMods", "x11.xkb.StateNotify.changed.GrabMods", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_CompatGrabMods, { "CompatGrabMods", "x11.xkb.StateNotify.changed.CompatGrabMods", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_LookupMods, { "LookupMods", "x11.xkb.StateNotify.changed.LookupMods", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_CompatLookupMods, { "CompatLookupMods", "x11.xkb.StateNotify.changed.CompatLookupMods", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed_mask_PointerButtons, { "PointerButtons", "x11.xkb.StateNotify.changed.PointerButtons", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_changed, { "changed", "x11.xkb.StateNotify.changed", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_keycode, { "keycode", "x11.xkb.StateNotify.keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_eventType, { "eventType", "x11.xkb.StateNotify.eventType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_requestMajor, { "requestMajor", "x11.xkb.StateNotify.requestMajor", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_StateNotify_requestMinor, { "requestMinor", "x11.xkb.StateNotify.requestMinor", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_xkbType, { "xkbType", "x11.xkb.ControlsNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_time, { "time", "x11.xkb.ControlsNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_deviceID, { "deviceID", "x11.xkb.ControlsNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_numGroups, { "numGroups", "x11.xkb.ControlsNotify.numGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_changedControls_mask_GroupsWrap, { "GroupsWrap", "x11.xkb.ControlsNotify.changedControls.GroupsWrap", FT_BOOLEAN, 32, NULL, 1U << 27, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_changedControls_mask_InternalMods, { "InternalMods", "x11.xkb.ControlsNotify.changedControls.InternalMods", FT_BOOLEAN, 32, NULL, 1U << 28, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_changedControls_mask_IgnoreLockMods, { "IgnoreLockMods", "x11.xkb.ControlsNotify.changedControls.IgnoreLockMods", FT_BOOLEAN, 32, NULL, 1U << 29, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_changedControls_mask_PerKeyRepeat, { "PerKeyRepeat", "x11.xkb.ControlsNotify.changedControls.PerKeyRepeat", FT_BOOLEAN, 32, NULL, 1U << 30, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_changedControls_mask_ControlsEnabled, { "ControlsEnabled", "x11.xkb.ControlsNotify.changedControls.ControlsEnabled", FT_BOOLEAN, 32, NULL, 1U << 31, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_changedControls, { "changedControls", "x11.xkb.ControlsNotify.changedControls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.ControlsNotify.enabledControls.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_SlowKeys, { "SlowKeys", "x11.xkb.ControlsNotify.enabledControls.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_BounceKeys, { "BounceKeys", "x11.xkb.ControlsNotify.enabledControls.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_StickyKeys, { "StickyKeys", "x11.xkb.ControlsNotify.enabledControls.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_MouseKeys, { "MouseKeys", "x11.xkb.ControlsNotify.enabledControls.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.ControlsNotify.enabledControls.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.ControlsNotify.enabledControls.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.ControlsNotify.enabledControls.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.ControlsNotify.enabledControls.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.ControlsNotify.enabledControls.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.ControlsNotify.enabledControls.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.ControlsNotify.enabledControls.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.ControlsNotify.enabledControls.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControls, { "enabledControls", "x11.xkb.ControlsNotify.enabledControls", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_RepeatKeys, { "RepeatKeys", "x11.xkb.ControlsNotify.enabledControlChanges.RepeatKeys", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_SlowKeys, { "SlowKeys", "x11.xkb.ControlsNotify.enabledControlChanges.SlowKeys", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_BounceKeys, { "BounceKeys", "x11.xkb.ControlsNotify.enabledControlChanges.BounceKeys", FT_BOOLEAN, 32, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_StickyKeys, { "StickyKeys", "x11.xkb.ControlsNotify.enabledControlChanges.StickyKeys", FT_BOOLEAN, 32, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_MouseKeys, { "MouseKeys", "x11.xkb.ControlsNotify.enabledControlChanges.MouseKeys", FT_BOOLEAN, 32, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_MouseKeysAccel, { "MouseKeysAccel", "x11.xkb.ControlsNotify.enabledControlChanges.MouseKeysAccel", FT_BOOLEAN, 32, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXKeys, { "AccessXKeys", "x11.xkb.ControlsNotify.enabledControlChanges.AccessXKeys", FT_BOOLEAN, 32, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXTimeoutMask, { "AccessXTimeoutMask", "x11.xkb.ControlsNotify.enabledControlChanges.AccessXTimeoutMask", FT_BOOLEAN, 32, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AccessXFeedbackMask, { "AccessXFeedbackMask", "x11.xkb.ControlsNotify.enabledControlChanges.AccessXFeedbackMask", FT_BOOLEAN, 32, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_AudibleBellMask, { "AudibleBellMask", "x11.xkb.ControlsNotify.enabledControlChanges.AudibleBellMask", FT_BOOLEAN, 32, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_Overlay1Mask, { "Overlay1Mask", "x11.xkb.ControlsNotify.enabledControlChanges.Overlay1Mask", FT_BOOLEAN, 32, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_Overlay2Mask, { "Overlay2Mask", "x11.xkb.ControlsNotify.enabledControlChanges.Overlay2Mask", FT_BOOLEAN, 32, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges_mask_IgnoreGroupLockMask, { "IgnoreGroupLockMask", "x11.xkb.ControlsNotify.enabledControlChanges.IgnoreGroupLockMask", FT_BOOLEAN, 32, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_enabledControlChanges, { "enabledControlChanges", "x11.xkb.ControlsNotify.enabledControlChanges", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_keycode, { "keycode", "x11.xkb.ControlsNotify.keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_eventType, { "eventType", "x11.xkb.ControlsNotify.eventType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_requestMajor, { "requestMajor", "x11.xkb.ControlsNotify.requestMajor", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ControlsNotify_requestMinor, { "requestMinor", "x11.xkb.ControlsNotify.requestMinor", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorStateNotify_xkbType, { "xkbType", "x11.xkb.IndicatorStateNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorStateNotify_time, { "time", "x11.xkb.IndicatorStateNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorStateNotify_deviceID, { "deviceID", "x11.xkb.IndicatorStateNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorStateNotify_state, { "state", "x11.xkb.IndicatorStateNotify.state", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorStateNotify_stateChanged, { "stateChanged", "x11.xkb.IndicatorStateNotify.stateChanged", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorMapNotify_xkbType, { "xkbType", "x11.xkb.IndicatorMapNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorMapNotify_time, { "time", "x11.xkb.IndicatorMapNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorMapNotify_deviceID, { "deviceID", "x11.xkb.IndicatorMapNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorMapNotify_state, { "state", "x11.xkb.IndicatorMapNotify.state", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_IndicatorMapNotify_mapChanged, { "mapChanged", "x11.xkb.IndicatorMapNotify.mapChanged", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_xkbType, { "xkbType", "x11.xkb.NamesNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_time, { "time", "x11.xkb.NamesNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_deviceID, { "deviceID", "x11.xkb.NamesNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_Keycodes, { "Keycodes", "x11.xkb.NamesNotify.changed.Keycodes", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_Geometry, { "Geometry", "x11.xkb.NamesNotify.changed.Geometry", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_Symbols, { "Symbols", "x11.xkb.NamesNotify.changed.Symbols", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_PhysSymbols, { "PhysSymbols", "x11.xkb.NamesNotify.changed.PhysSymbols", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_Types, { "Types", "x11.xkb.NamesNotify.changed.Types", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_Compat, { "Compat", "x11.xkb.NamesNotify.changed.Compat", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_KeyTypeNames, { "KeyTypeNames", "x11.xkb.NamesNotify.changed.KeyTypeNames", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_KTLevelNames, { "KTLevelNames", "x11.xkb.NamesNotify.changed.KTLevelNames", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.NamesNotify.changed.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_KeyNames, { "KeyNames", "x11.xkb.NamesNotify.changed.KeyNames", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_KeyAliases, { "KeyAliases", "x11.xkb.NamesNotify.changed.KeyAliases", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_VirtualModNames, { "VirtualModNames", "x11.xkb.NamesNotify.changed.VirtualModNames", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_GroupNames, { "GroupNames", "x11.xkb.NamesNotify.changed.GroupNames", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed_mask_RGNames, { "RGNames", "x11.xkb.NamesNotify.changed.RGNames", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changed, { "changed", "x11.xkb.NamesNotify.changed", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_firstType, { "firstType", "x11.xkb.NamesNotify.firstType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_nTypes, { "nTypes", "x11.xkb.NamesNotify.nTypes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_firstLevelName, { "firstLevelName", "x11.xkb.NamesNotify.firstLevelName", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_nLevelNames, { "nLevelNames", "x11.xkb.NamesNotify.nLevelNames", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_nRadioGroups, { "nRadioGroups", "x11.xkb.NamesNotify.nRadioGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_nKeyAliases, { "nKeyAliases", "x11.xkb.NamesNotify.nKeyAliases", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group1, { "Group1", "x11.xkb.NamesNotify.changedGroupNames.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group2, { "Group2", "x11.xkb.NamesNotify.changedGroupNames.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group3, { "Group3", "x11.xkb.NamesNotify.changedGroupNames.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedGroupNames_mask_Group4, { "Group4", "x11.xkb.NamesNotify.changedGroupNames.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedGroupNames, { "changedGroupNames", "x11.xkb.NamesNotify.changedGroupNames", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_0, { "0", "x11.xkb.NamesNotify.changedVirtualMods.0", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_1, { "1", "x11.xkb.NamesNotify.changedVirtualMods.1", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_2, { "2", "x11.xkb.NamesNotify.changedVirtualMods.2", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_3, { "3", "x11.xkb.NamesNotify.changedVirtualMods.3", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_4, { "4", "x11.xkb.NamesNotify.changedVirtualMods.4", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_5, { "5", "x11.xkb.NamesNotify.changedVirtualMods.5", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_6, { "6", "x11.xkb.NamesNotify.changedVirtualMods.6", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_7, { "7", "x11.xkb.NamesNotify.changedVirtualMods.7", FT_BOOLEAN, 16, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_8, { "8", "x11.xkb.NamesNotify.changedVirtualMods.8", FT_BOOLEAN, 16, NULL, 1U << 8, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_9, { "9", "x11.xkb.NamesNotify.changedVirtualMods.9", FT_BOOLEAN, 16, NULL, 1U << 9, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_10, { "10", "x11.xkb.NamesNotify.changedVirtualMods.10", FT_BOOLEAN, 16, NULL, 1U << 10, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_11, { "11", "x11.xkb.NamesNotify.changedVirtualMods.11", FT_BOOLEAN, 16, NULL, 1U << 11, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_12, { "12", "x11.xkb.NamesNotify.changedVirtualMods.12", FT_BOOLEAN, 16, NULL, 1U << 12, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_13, { "13", "x11.xkb.NamesNotify.changedVirtualMods.13", FT_BOOLEAN, 16, NULL, 1U << 13, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_14, { "14", "x11.xkb.NamesNotify.changedVirtualMods.14", FT_BOOLEAN, 16, NULL, 1U << 14, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods_mask_15, { "15", "x11.xkb.NamesNotify.changedVirtualMods.15", FT_BOOLEAN, 16, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedVirtualMods, { "changedVirtualMods", "x11.xkb.NamesNotify.changedVirtualMods", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_firstKey, { "firstKey", "x11.xkb.NamesNotify.firstKey", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_nKeys, { "nKeys", "x11.xkb.NamesNotify.nKeys", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_NamesNotify_changedIndicators, { "changedIndicators", "x11.xkb.NamesNotify.changedIndicators", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_xkbType, { "xkbType", "x11.xkb.CompatMapNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_time, { "time", "x11.xkb.CompatMapNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_deviceID, { "deviceID", "x11.xkb.CompatMapNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group1, { "Group1", "x11.xkb.CompatMapNotify.changedGroups.Group1", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group2, { "Group2", "x11.xkb.CompatMapNotify.changedGroups.Group2", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group3, { "Group3", "x11.xkb.CompatMapNotify.changedGroups.Group3", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_changedGroups_mask_Group4, { "Group4", "x11.xkb.CompatMapNotify.changedGroups.Group4", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_changedGroups, { "changedGroups", "x11.xkb.CompatMapNotify.changedGroups", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_firstSI, { "firstSI", "x11.xkb.CompatMapNotify.firstSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_nSI, { "nSI", "x11.xkb.CompatMapNotify.nSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_CompatMapNotify_nTotalSI, { "nTotalSI", "x11.xkb.CompatMapNotify.nTotalSI", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_xkbType, { "xkbType", "x11.xkb.BellNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_time, { "time", "x11.xkb.BellNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_deviceID, { "deviceID", "x11.xkb.BellNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_bellClass, { "bellClass", "x11.xkb.BellNotify.bellClass", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_BellClassResult), 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_bellID, { "bellID", "x11.xkb.BellNotify.bellID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_percent, { "percent", "x11.xkb.BellNotify.percent", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_pitch, { "pitch", "x11.xkb.BellNotify.pitch", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_duration, { "duration", "x11.xkb.BellNotify.duration", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_name, { "name", "x11.xkb.BellNotify.name", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_window, { "window", "x11.xkb.BellNotify.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_BellNotify_eventOnly, { "eventOnly", "x11.xkb.BellNotify.eventOnly", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_xkbType, { "xkbType", "x11.xkb.ActionMessage.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_time, { "time", "x11.xkb.ActionMessage.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_deviceID, { "deviceID", "x11.xkb.ActionMessage.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_keycode, { "keycode", "x11.xkb.ActionMessage.keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_press, { "press", "x11.xkb.ActionMessage.press", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_keyEventFollows, { "keyEventFollows", "x11.xkb.ActionMessage.keyEventFollows", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_Shift, { "Shift", "x11.xkb.ActionMessage.mods.Shift", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_Lock, { "Lock", "x11.xkb.ActionMessage.mods.Lock", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_Control, { "Control", "x11.xkb.ActionMessage.mods.Control", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_1, { "1", "x11.xkb.ActionMessage.mods.1", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_2, { "2", "x11.xkb.ActionMessage.mods.2", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_3, { "3", "x11.xkb.ActionMessage.mods.3", FT_BOOLEAN, 8, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_4, { "4", "x11.xkb.ActionMessage.mods.4", FT_BOOLEAN, 8, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_5, { "5", "x11.xkb.ActionMessage.mods.5", FT_BOOLEAN, 8, NULL, 1U << 7, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods_mask_Any, { "Any", "x11.xkb.ActionMessage.mods.Any", FT_BOOLEAN, 8, NULL, 1U << 15, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_mods, { "mods", "x11.xkb.ActionMessage.mods", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_group, { "group", "x11.xkb.ActionMessage.group", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xkb_Group), 0, NULL, HFILL }}, { &hf_x11_xkb_ActionMessage_message, { "message", "x11.xkb.ActionMessage.message", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_xkbType, { "xkbType", "x11.xkb.AccessXNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_time, { "time", "x11.xkb.AccessXNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_deviceID, { "deviceID", "x11.xkb.AccessXNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_keycode, { "keycode", "x11.xkb.AccessXNotify.keycode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_detailt_mask_SKPress, { "SKPress", "x11.xkb.AccessXNotify.detailt.SKPress", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_detailt_mask_SKAccept, { "SKAccept", "x11.xkb.AccessXNotify.detailt.SKAccept", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_detailt_mask_SKReject, { "SKReject", "x11.xkb.AccessXNotify.detailt.SKReject", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_detailt_mask_SKRelease, { "SKRelease", "x11.xkb.AccessXNotify.detailt.SKRelease", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_detailt_mask_BKAccept, { "BKAccept", "x11.xkb.AccessXNotify.detailt.BKAccept", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_detailt_mask_BKReject, { "BKReject", "x11.xkb.AccessXNotify.detailt.BKReject", FT_BOOLEAN, 16, NULL, 1U << 5, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_detailt_mask_AXKWarning, { "AXKWarning", "x11.xkb.AccessXNotify.detailt.AXKWarning", FT_BOOLEAN, 16, NULL, 1U << 6, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_detailt, { "detailt", "x11.xkb.AccessXNotify.detailt", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_slowKeysDelay, { "slowKeysDelay", "x11.xkb.AccessXNotify.slowKeysDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_AccessXNotify_debounceDelay, { "debounceDelay", "x11.xkb.AccessXNotify.debounceDelay", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_xkbType, { "xkbType", "x11.xkb.ExtensionDeviceNotify.xkbType", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_time, { "time", "x11.xkb.ExtensionDeviceNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_deviceID, { "deviceID", "x11.xkb.ExtensionDeviceNotify.deviceID", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_Keyboards, { "Keyboards", "x11.xkb.ExtensionDeviceNotify.reason.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_ButtonActions, { "ButtonActions", "x11.xkb.ExtensionDeviceNotify.reason.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.ExtensionDeviceNotify.reason.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.ExtensionDeviceNotify.reason.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_reason_mask_IndicatorState, { "IndicatorState", "x11.xkb.ExtensionDeviceNotify.reason.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_reason, { "reason", "x11.xkb.ExtensionDeviceNotify.reason", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_ledClass, { "ledClass", "x11.xkb.ExtensionDeviceNotify.ledClass", FT_UINT16, BASE_HEX_DEC, VALS(x11_enum_xkb_LedClassResult), 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_ledID, { "ledID", "x11.xkb.ExtensionDeviceNotify.ledID", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_ledsDefined, { "ledsDefined", "x11.xkb.ExtensionDeviceNotify.ledsDefined", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_ledState, { "ledState", "x11.xkb.ExtensionDeviceNotify.ledState", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_firstButton, { "firstButton", "x11.xkb.ExtensionDeviceNotify.firstButton", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_nButtons, { "nButtons", "x11.xkb.ExtensionDeviceNotify.nButtons", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_Keyboards, { "Keyboards", "x11.xkb.ExtensionDeviceNotify.supported.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_ButtonActions, { "ButtonActions", "x11.xkb.ExtensionDeviceNotify.supported.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.ExtensionDeviceNotify.supported.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.ExtensionDeviceNotify.supported.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_supported_mask_IndicatorState, { "IndicatorState", "x11.xkb.ExtensionDeviceNotify.supported.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_supported, { "supported", "x11.xkb.ExtensionDeviceNotify.supported", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_Keyboards, { "Keyboards", "x11.xkb.ExtensionDeviceNotify.unsupported.Keyboards", FT_BOOLEAN, 16, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_ButtonActions, { "ButtonActions", "x11.xkb.ExtensionDeviceNotify.unsupported.ButtonActions", FT_BOOLEAN, 16, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorNames, { "IndicatorNames", "x11.xkb.ExtensionDeviceNotify.unsupported.IndicatorNames", FT_BOOLEAN, 16, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorMaps, { "IndicatorMaps", "x11.xkb.ExtensionDeviceNotify.unsupported.IndicatorMaps", FT_BOOLEAN, 16, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_unsupported_mask_IndicatorState, { "IndicatorState", "x11.xkb.ExtensionDeviceNotify.unsupported.IndicatorState", FT_BOOLEAN, 16, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_xkb_ExtensionDeviceNotify_unsupported, { "unsupported", "x11.xkb.ExtensionDeviceNotify.unsupported", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xkb_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xkb_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xprint_PRINTER, { "xprint_PRINTER", "x11.struct.xprint_PRINTER", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xprint_PRINTER_nameLen, { "nameLen", "x11.struct.xprint_PRINTER.nameLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xprint_PRINTER_name, { "name", "x11.struct.xprint_PRINTER.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xprint_PRINTER_descLen, { "descLen", "x11.struct.xprint_PRINTER.descLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xprint_PRINTER_description, { "description", "x11.struct.xprint_PRINTER.description", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintQueryVersion_reply_major_version, { "major_version", "x11.xprint.PrintQueryVersion.reply.major_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintQueryVersion_reply_minor_version, { "minor_version", "x11.xprint.PrintQueryVersion.reply.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPrinterList_printerNameLen, { "printerNameLen", "x11.xprint.PrintGetPrinterList.printerNameLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPrinterList_localeLen, { "localeLen", "x11.xprint.PrintGetPrinterList.localeLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPrinterList_printer_name, { "printer_name", "x11.xprint.PrintGetPrinterList.printer_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPrinterList_locale, { "locale", "x11.xprint.PrintGetPrinterList.locale", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPrinterList_reply_listCount, { "listCount", "x11.xprint.PrintGetPrinterList.reply.listCount", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPrinterList_reply_printers, { "printers", "x11.xprint.PrintGetPrinterList.reply.printers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_CreateContext_context_id, { "context_id", "x11.xprint.CreateContext.context_id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_CreateContext_printerNameLen, { "printerNameLen", "x11.xprint.CreateContext.printerNameLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_CreateContext_localeLen, { "localeLen", "x11.xprint.CreateContext.localeLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_CreateContext_printerName, { "printerName", "x11.xprint.CreateContext.printerName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_CreateContext_locale, { "locale", "x11.xprint.CreateContext.locale", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetContext_context, { "context", "x11.xprint.PrintSetContext.context", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetContext_reply_context, { "context", "x11.xprint.PrintGetContext.reply.context", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintDestroyContext_context, { "context", "x11.xprint.PrintDestroyContext.context", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetScreenOfContext_reply_root, { "root", "x11.xprint.PrintGetScreenOfContext.reply.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintStartJob_output_mode, { "output_mode", "x11.xprint.PrintStartJob.output_mode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintEndJob_cancel, { "cancel", "x11.xprint.PrintEndJob.cancel", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintStartDoc_driver_mode, { "driver_mode", "x11.xprint.PrintStartDoc.driver_mode", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintEndDoc_cancel, { "cancel", "x11.xprint.PrintEndDoc.cancel", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintPutDocumentData_drawable, { "drawable", "x11.xprint.PrintPutDocumentData.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintPutDocumentData_len_data, { "len_data", "x11.xprint.PrintPutDocumentData.len_data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintPutDocumentData_len_fmt, { "len_fmt", "x11.xprint.PrintPutDocumentData.len_fmt", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintPutDocumentData_len_options, { "len_options", "x11.xprint.PrintPutDocumentData.len_options", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintPutDocumentData_data, { "data", "x11.xprint.PrintPutDocumentData.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintPutDocumentData_doc_format, { "doc_format", "x11.xprint.PrintPutDocumentData.doc_format", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintPutDocumentData_options, { "options", "x11.xprint.PrintPutDocumentData.options", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetDocumentData_context, { "context", "x11.xprint.PrintGetDocumentData.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetDocumentData_max_bytes, { "max_bytes", "x11.xprint.PrintGetDocumentData.max_bytes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetDocumentData_reply_status_code, { "status_code", "x11.xprint.PrintGetDocumentData.reply.status_code", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetDocumentData_reply_finished_flag, { "finished_flag", "x11.xprint.PrintGetDocumentData.reply.finished_flag", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetDocumentData_reply_dataLen, { "dataLen", "x11.xprint.PrintGetDocumentData.reply.dataLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetDocumentData_reply_data, { "data", "x11.xprint.PrintGetDocumentData.reply.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintStartPage_window, { "window", "x11.xprint.PrintStartPage.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintEndPage_cancel, { "cancel", "x11.xprint.PrintEndPage.cancel", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSelectInput_context, { "context", "x11.xprint.PrintSelectInput.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSelectInput_event_mask, { "event_mask", "x11.xprint.PrintSelectInput.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintInputSelected_context, { "context", "x11.xprint.PrintInputSelected.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintInputSelected_reply_event_mask, { "event_mask", "x11.xprint.PrintInputSelected.reply.event_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintInputSelected_reply_all_events_mask, { "all_events_mask", "x11.xprint.PrintInputSelected.reply.all_events_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetAttributes_context, { "context", "x11.xprint.PrintGetAttributes.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetAttributes_pool, { "pool", "x11.xprint.PrintGetAttributes.pool", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetAttributes_reply_stringLen, { "stringLen", "x11.xprint.PrintGetAttributes.reply.stringLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetAttributes_reply_attributes, { "attributes", "x11.xprint.PrintGetAttributes.reply.attributes", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetOneAttributes_context, { "context", "x11.xprint.PrintGetOneAttributes.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetOneAttributes_nameLen, { "nameLen", "x11.xprint.PrintGetOneAttributes.nameLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetOneAttributes_pool, { "pool", "x11.xprint.PrintGetOneAttributes.pool", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetOneAttributes_name, { "name", "x11.xprint.PrintGetOneAttributes.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetOneAttributes_reply_valueLen, { "valueLen", "x11.xprint.PrintGetOneAttributes.reply.valueLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetOneAttributes_reply_value, { "value", "x11.xprint.PrintGetOneAttributes.reply.value", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetAttributes_context, { "context", "x11.xprint.PrintSetAttributes.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetAttributes_stringLen, { "stringLen", "x11.xprint.PrintSetAttributes.stringLen", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetAttributes_pool, { "pool", "x11.xprint.PrintSetAttributes.pool", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetAttributes_rule, { "rule", "x11.xprint.PrintSetAttributes.rule", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetAttributes_attributes, { "attributes", "x11.xprint.PrintSetAttributes.attributes", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPageDimensions_context, { "context", "x11.xprint.PrintGetPageDimensions.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPageDimensions_reply_width, { "width", "x11.xprint.PrintGetPageDimensions.reply.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPageDimensions_reply_height, { "height", "x11.xprint.PrintGetPageDimensions.reply.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPageDimensions_reply_offset_x, { "offset_x", "x11.xprint.PrintGetPageDimensions.reply.offset_x", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPageDimensions_reply_offset_y, { "offset_y", "x11.xprint.PrintGetPageDimensions.reply.offset_y", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPageDimensions_reply_reproducible_width, { "reproducible_width", "x11.xprint.PrintGetPageDimensions.reply.reproducible_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetPageDimensions_reply_reproducible_height, { "reproducible_height", "x11.xprint.PrintGetPageDimensions.reply.reproducible_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintQueryScreens_reply_listCount, { "listCount", "x11.xprint.PrintQueryScreens.reply.listCount", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintQueryScreens_reply_roots, { "roots", "x11.xprint.PrintQueryScreens.reply.roots.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintQueryScreens_reply_roots_item, { "roots", "x11.xprint.PrintQueryScreens.reply.roots", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetImageResolution_context, { "context", "x11.xprint.PrintSetImageResolution.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetImageResolution_image_resolution, { "image_resolution", "x11.xprint.PrintSetImageResolution.image_resolution", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetImageResolution_reply_status, { "status", "x11.xprint.PrintSetImageResolution.reply.status", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintSetImageResolution_reply_previous_resolutions, { "previous_resolutions", "x11.xprint.PrintSetImageResolution.reply.previous_resolutions", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetImageResolution_context, { "context", "x11.xprint.PrintGetImageResolution.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_PrintGetImageResolution_reply_image_resolution, { "image_resolution", "x11.xprint.PrintGetImageResolution.reply.image_resolution", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_AttributNotify_detail, { "detail", "x11.xprint.AttributNotify.detail", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_AttributNotify_context, { "context", "x11.xprint.AttributNotify.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xprint_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xprint_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_xselinux_QueryVersion_client_major, { "client_major", "x11.xselinux.QueryVersion.client_major", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_QueryVersion_client_minor, { "client_minor", "x11.xselinux.QueryVersion.client_minor", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_QueryVersion_reply_server_major, { "server_major", "x11.xselinux.QueryVersion.reply.server_major", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_QueryVersion_reply_server_minor, { "server_minor", "x11.xselinux.QueryVersion.reply.server_minor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetDeviceCreateContext_context_len, { "context_len", "x11.xselinux.SetDeviceCreateContext.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetDeviceCreateContext_context, { "context", "x11.xselinux.SetDeviceCreateContext.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetDeviceCreateContext_reply_context_len, { "context_len", "x11.xselinux.GetDeviceCreateContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetDeviceCreateContext_reply_context, { "context", "x11.xselinux.GetDeviceCreateContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetDeviceContext_device, { "device", "x11.xselinux.SetDeviceContext.device", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetDeviceContext_context_len, { "context_len", "x11.xselinux.SetDeviceContext.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetDeviceContext_context, { "context", "x11.xselinux.SetDeviceContext.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetDeviceContext_device, { "device", "x11.xselinux.GetDeviceContext.device", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetDeviceContext_reply_context_len, { "context_len", "x11.xselinux.GetDeviceContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetDeviceContext_reply_context, { "context", "x11.xselinux.GetDeviceContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetWindowCreateContext_context_len, { "context_len", "x11.xselinux.SetWindowCreateContext.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetWindowCreateContext_context, { "context", "x11.xselinux.SetWindowCreateContext.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetWindowCreateContext_reply_context_len, { "context_len", "x11.xselinux.GetWindowCreateContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetWindowCreateContext_reply_context, { "context", "x11.xselinux.GetWindowCreateContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetWindowContext_window, { "window", "x11.xselinux.GetWindowContext.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetWindowContext_reply_context_len, { "context_len", "x11.xselinux.GetWindowContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetWindowContext_reply_context, { "context", "x11.xselinux.GetWindowContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xselinux_ListItem, { "xselinux_ListItem", "x11.struct.xselinux_ListItem", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xselinux_ListItem_name, { "name", "x11.struct.xselinux_ListItem.name", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xselinux_ListItem_object_context_len, { "object_context_len", "x11.struct.xselinux_ListItem.object_context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xselinux_ListItem_data_context_len, { "data_context_len", "x11.struct.xselinux_ListItem.data_context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xselinux_ListItem_object_context, { "object_context", "x11.struct.xselinux_ListItem.object_context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xselinux_ListItem_data_context, { "data_context", "x11.struct.xselinux_ListItem.data_context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetPropertyCreateContext_context_len, { "context_len", "x11.xselinux.SetPropertyCreateContext.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetPropertyCreateContext_context, { "context", "x11.xselinux.SetPropertyCreateContext.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyCreateContext_reply_context_len, { "context_len", "x11.xselinux.GetPropertyCreateContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyCreateContext_reply_context, { "context", "x11.xselinux.GetPropertyCreateContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetPropertyUseContext_context_len, { "context_len", "x11.xselinux.SetPropertyUseContext.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetPropertyUseContext_context, { "context", "x11.xselinux.SetPropertyUseContext.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyUseContext_reply_context_len, { "context_len", "x11.xselinux.GetPropertyUseContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyUseContext_reply_context, { "context", "x11.xselinux.GetPropertyUseContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyContext_window, { "window", "x11.xselinux.GetPropertyContext.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyContext_property, { "property", "x11.xselinux.GetPropertyContext.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyContext_reply_context_len, { "context_len", "x11.xselinux.GetPropertyContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyContext_reply_context, { "context", "x11.xselinux.GetPropertyContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyDataContext_window, { "window", "x11.xselinux.GetPropertyDataContext.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyDataContext_property, { "property", "x11.xselinux.GetPropertyDataContext.property", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyDataContext_reply_context_len, { "context_len", "x11.xselinux.GetPropertyDataContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetPropertyDataContext_reply_context, { "context", "x11.xselinux.GetPropertyDataContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_ListProperties_window, { "window", "x11.xselinux.ListProperties.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_ListProperties_reply_properties_len, { "properties_len", "x11.xselinux.ListProperties.reply.properties_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_ListProperties_reply_properties, { "properties", "x11.xselinux.ListProperties.reply.properties", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetSelectionCreateContext_context_len, { "context_len", "x11.xselinux.SetSelectionCreateContext.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetSelectionCreateContext_context, { "context", "x11.xselinux.SetSelectionCreateContext.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionCreateContext_reply_context_len, { "context_len", "x11.xselinux.GetSelectionCreateContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionCreateContext_reply_context, { "context", "x11.xselinux.GetSelectionCreateContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetSelectionUseContext_context_len, { "context_len", "x11.xselinux.SetSelectionUseContext.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_SetSelectionUseContext_context, { "context", "x11.xselinux.SetSelectionUseContext.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionUseContext_reply_context_len, { "context_len", "x11.xselinux.GetSelectionUseContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionUseContext_reply_context, { "context", "x11.xselinux.GetSelectionUseContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionContext_selection, { "selection", "x11.xselinux.GetSelectionContext.selection", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionContext_reply_context_len, { "context_len", "x11.xselinux.GetSelectionContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionContext_reply_context, { "context", "x11.xselinux.GetSelectionContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionDataContext_selection, { "selection", "x11.xselinux.GetSelectionDataContext.selection", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionDataContext_reply_context_len, { "context_len", "x11.xselinux.GetSelectionDataContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetSelectionDataContext_reply_context, { "context", "x11.xselinux.GetSelectionDataContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_ListSelections_reply_selections_len, { "selections_len", "x11.xselinux.ListSelections.reply.selections_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_ListSelections_reply_selections, { "selections", "x11.xselinux.ListSelections.reply.selections", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetClientContext_resource, { "resource", "x11.xselinux.GetClientContext.resource", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetClientContext_reply_context_len, { "context_len", "x11.xselinux.GetClientContext.reply.context_len", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_GetClientContext_reply_context, { "context", "x11.xselinux.GetClientContext.reply.context", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xselinux_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xselinux_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_xtest_GetVersion_major_version, { "major_version", "x11.xtest.GetVersion.major_version", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_GetVersion_minor_version, { "minor_version", "x11.xtest.GetVersion.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_GetVersion_reply_major_version, { "major_version", "x11.xtest.GetVersion.reply.major_version", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_GetVersion_reply_minor_version, { "minor_version", "x11.xtest.GetVersion.reply.minor_version", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_CompareCursor_window, { "window", "x11.xtest.CompareCursor.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_CompareCursor_cursor, { "cursor", "x11.xtest.CompareCursor.cursor", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_CompareCursor_reply_same, { "same", "x11.xtest.CompareCursor.reply.same", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_FakeInput_type, { "type", "x11.xtest.FakeInput.type", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_FakeInput_detail, { "detail", "x11.xtest.FakeInput.detail", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_FakeInput_time, { "time", "x11.xtest.FakeInput.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_FakeInput_root, { "root", "x11.xtest.FakeInput.root", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_FakeInput_rootX, { "rootX", "x11.xtest.FakeInput.rootX", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_FakeInput_rootY, { "rootY", "x11.xtest.FakeInput.rootY", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_FakeInput_deviceid, { "deviceid", "x11.xtest.FakeInput.deviceid", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_GrabControl_impervious, { "impervious", "x11.xtest.GrabControl.impervious", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xtest_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xtest_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xv_Rational, { "xv_Rational", "x11.struct.xv_Rational", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_Rational_numerator, { "numerator", "x11.struct.xv_Rational.numerator", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_Rational_denominator, { "denominator", "x11.struct.xv_Rational.denominator", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_Format, { "xv_Format", "x11.struct.xv_Format", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_Format_visual, { "visual", "x11.struct.xv_Format.visual", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_Format_depth, { "depth", "x11.struct.xv_Format.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo, { "xv_AdaptorInfo", "x11.struct.xv_AdaptorInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_base_id, { "base_id", "x11.struct.xv_AdaptorInfo.base_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_name_size, { "name_size", "x11.struct.xv_AdaptorInfo.name_size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_num_ports, { "num_ports", "x11.struct.xv_AdaptorInfo.num_ports", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_num_formats, { "num_formats", "x11.struct.xv_AdaptorInfo.num_formats", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_type_mask_InputMask, { "InputMask", "x11.struct.xv_AdaptorInfo.type.InputMask", FT_BOOLEAN, 8, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_type_mask_OutputMask, { "OutputMask", "x11.struct.xv_AdaptorInfo.type.OutputMask", FT_BOOLEAN, 8, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_type_mask_VideoMask, { "VideoMask", "x11.struct.xv_AdaptorInfo.type.VideoMask", FT_BOOLEAN, 8, NULL, 1U << 2, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_type_mask_StillMask, { "StillMask", "x11.struct.xv_AdaptorInfo.type.StillMask", FT_BOOLEAN, 8, NULL, 1U << 3, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_type_mask_ImageMask, { "ImageMask", "x11.struct.xv_AdaptorInfo.type.ImageMask", FT_BOOLEAN, 8, NULL, 1U << 4, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_type, { "type", "x11.struct.xv_AdaptorInfo.type", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_name, { "name", "x11.struct.xv_AdaptorInfo.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_formats, { "formats", "x11.struct.xv_AdaptorInfo.formats.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AdaptorInfo_formats_item, { "formats", "x11.struct.xv_AdaptorInfo.formats", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_EncodingInfo, { "xv_EncodingInfo", "x11.struct.xv_EncodingInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_EncodingInfo_encoding, { "encoding", "x11.struct.xv_EncodingInfo.encoding", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_EncodingInfo_name_size, { "name_size", "x11.struct.xv_EncodingInfo.name_size", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_EncodingInfo_width, { "width", "x11.struct.xv_EncodingInfo.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_EncodingInfo_height, { "height", "x11.struct.xv_EncodingInfo.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_EncodingInfo_rate, { "rate", "x11.struct.xv_EncodingInfo.rate", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_EncodingInfo_name, { "name", "x11.struct.xv_EncodingInfo.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AttributeInfo, { "xv_AttributeInfo", "x11.struct.xv_AttributeInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AttributeInfo_flags_mask_Gettable, { "Gettable", "x11.struct.xv_AttributeInfo.flags.Gettable", FT_BOOLEAN, 32, NULL, 1U << 0, NULL, HFILL }}, { &hf_x11_struct_xv_AttributeInfo_flags_mask_Settable, { "Settable", "x11.struct.xv_AttributeInfo.flags.Settable", FT_BOOLEAN, 32, NULL, 1U << 1, NULL, HFILL }}, { &hf_x11_struct_xv_AttributeInfo_flags, { "flags", "x11.struct.xv_AttributeInfo.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AttributeInfo_min, { "min", "x11.struct.xv_AttributeInfo.min", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AttributeInfo_max, { "max", "x11.struct.xv_AttributeInfo.max", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AttributeInfo_size, { "size", "x11.struct.xv_AttributeInfo.size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_AttributeInfo_name, { "name", "x11.struct.xv_AttributeInfo.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo, { "xv_ImageFormatInfo", "x11.struct.xv_ImageFormatInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_id, { "id", "x11.struct.xv_ImageFormatInfo.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_type, { "type", "x11.struct.xv_ImageFormatInfo.type", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xv_ImageFormatInfoType), 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_byte_order, { "byte_order", "x11.struct.xv_ImageFormatInfo.byte_order", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xproto_ImageOrder), 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_guid, { "guid", "x11.struct.xv_ImageFormatInfo.guid", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_bpp, { "bpp", "x11.struct.xv_ImageFormatInfo.bpp", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_num_planes, { "num_planes", "x11.struct.xv_ImageFormatInfo.num_planes", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_depth, { "depth", "x11.struct.xv_ImageFormatInfo.depth", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_red_mask, { "red_mask", "x11.struct.xv_ImageFormatInfo.red_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_green_mask, { "green_mask", "x11.struct.xv_ImageFormatInfo.green_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_blue_mask, { "blue_mask", "x11.struct.xv_ImageFormatInfo.blue_mask", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_format, { "format", "x11.struct.xv_ImageFormatInfo.format", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xv_ImageFormatInfoFormat), 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_y_sample_bits, { "y_sample_bits", "x11.struct.xv_ImageFormatInfo.y_sample_bits", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_u_sample_bits, { "u_sample_bits", "x11.struct.xv_ImageFormatInfo.u_sample_bits", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_v_sample_bits, { "v_sample_bits", "x11.struct.xv_ImageFormatInfo.v_sample_bits", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_vhorz_y_period, { "vhorz_y_period", "x11.struct.xv_ImageFormatInfo.vhorz_y_period", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_vhorz_u_period, { "vhorz_u_period", "x11.struct.xv_ImageFormatInfo.vhorz_u_period", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_vhorz_v_period, { "vhorz_v_period", "x11.struct.xv_ImageFormatInfo.vhorz_v_period", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_vvert_y_period, { "vvert_y_period", "x11.struct.xv_ImageFormatInfo.vvert_y_period", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_vvert_u_period, { "vvert_u_period", "x11.struct.xv_ImageFormatInfo.vvert_u_period", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_vvert_v_period, { "vvert_v_period", "x11.struct.xv_ImageFormatInfo.vvert_v_period", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_vcomp_order, { "vcomp_order", "x11.struct.xv_ImageFormatInfo.vcomp_order", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xv_ImageFormatInfo_vscanline_order, { "vscanline_order", "x11.struct.xv_ImageFormatInfo.vscanline_order", FT_UINT8, BASE_HEX_DEC, VALS(x11_enum_xv_ScanlineOrder), 0, NULL, HFILL }}, { &hf_x11_xv_PortNotify_time, { "time", "x11.xv.PortNotify.time", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PortNotify_port, { "port", "x11.xv.PortNotify.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PortNotify_attribute, { "attribute", "x11.xv.PortNotify.attribute", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PortNotify_value, { "value", "x11.xv.PortNotify.value", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryExtension_reply_major, { "major", "x11.xv.QueryExtension.reply.major", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryExtension_reply_minor, { "minor", "x11.xv.QueryExtension.reply.minor", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryAdaptors_window, { "window", "x11.xv.QueryAdaptors.window", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryAdaptors_reply_num_adaptors, { "num_adaptors", "x11.xv.QueryAdaptors.reply.num_adaptors", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryAdaptors_reply_info, { "info", "x11.xv.QueryAdaptors.reply.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryEncodings_port, { "port", "x11.xv.QueryEncodings.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryEncodings_reply_num_encodings, { "num_encodings", "x11.xv.QueryEncodings.reply.num_encodings", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryEncodings_reply_info, { "info", "x11.xv.QueryEncodings.reply.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GrabPort_port, { "port", "x11.xv.GrabPort.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GrabPort_time, { "time", "x11.xv.GrabPort.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xv_GrabPort_reply_result, { "result", "x11.xv.GrabPort.reply.result", FT_UINT8, BASE_DEC, VALS(x11_enum_xv_GrabPortStatus), 0, NULL, HFILL }}, { &hf_x11_xv_UngrabPort_port, { "port", "x11.xv.UngrabPort.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_UngrabPort_time, { "time", "x11.xv.UngrabPort.time", FT_UINT32, BASE_HEX_DEC, VALS(x11_enum_xproto_Time), 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_port, { "port", "x11.xv.PutVideo.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_drawable, { "drawable", "x11.xv.PutVideo.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_gc, { "gc", "x11.xv.PutVideo.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_vid_x, { "vid_x", "x11.xv.PutVideo.vid_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_vid_y, { "vid_y", "x11.xv.PutVideo.vid_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_vid_w, { "vid_w", "x11.xv.PutVideo.vid_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_vid_h, { "vid_h", "x11.xv.PutVideo.vid_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_drw_x, { "drw_x", "x11.xv.PutVideo.drw_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_drw_y, { "drw_y", "x11.xv.PutVideo.drw_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_drw_w, { "drw_w", "x11.xv.PutVideo.drw_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutVideo_drw_h, { "drw_h", "x11.xv.PutVideo.drw_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_port, { "port", "x11.xv.PutStill.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_drawable, { "drawable", "x11.xv.PutStill.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_gc, { "gc", "x11.xv.PutStill.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_vid_x, { "vid_x", "x11.xv.PutStill.vid_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_vid_y, { "vid_y", "x11.xv.PutStill.vid_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_vid_w, { "vid_w", "x11.xv.PutStill.vid_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_vid_h, { "vid_h", "x11.xv.PutStill.vid_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_drw_x, { "drw_x", "x11.xv.PutStill.drw_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_drw_y, { "drw_y", "x11.xv.PutStill.drw_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_drw_w, { "drw_w", "x11.xv.PutStill.drw_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutStill_drw_h, { "drw_h", "x11.xv.PutStill.drw_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_port, { "port", "x11.xv.GetVideo.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_drawable, { "drawable", "x11.xv.GetVideo.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_gc, { "gc", "x11.xv.GetVideo.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_vid_x, { "vid_x", "x11.xv.GetVideo.vid_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_vid_y, { "vid_y", "x11.xv.GetVideo.vid_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_vid_w, { "vid_w", "x11.xv.GetVideo.vid_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_vid_h, { "vid_h", "x11.xv.GetVideo.vid_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_drw_x, { "drw_x", "x11.xv.GetVideo.drw_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_drw_y, { "drw_y", "x11.xv.GetVideo.drw_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_drw_w, { "drw_w", "x11.xv.GetVideo.drw_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetVideo_drw_h, { "drw_h", "x11.xv.GetVideo.drw_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_port, { "port", "x11.xv.GetStill.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_drawable, { "drawable", "x11.xv.GetStill.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_gc, { "gc", "x11.xv.GetStill.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_vid_x, { "vid_x", "x11.xv.GetStill.vid_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_vid_y, { "vid_y", "x11.xv.GetStill.vid_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_vid_w, { "vid_w", "x11.xv.GetStill.vid_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_vid_h, { "vid_h", "x11.xv.GetStill.vid_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_drw_x, { "drw_x", "x11.xv.GetStill.drw_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_drw_y, { "drw_y", "x11.xv.GetStill.drw_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_drw_w, { "drw_w", "x11.xv.GetStill.drw_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetStill_drw_h, { "drw_h", "x11.xv.GetStill.drw_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_StopVideo_port, { "port", "x11.xv.StopVideo.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_StopVideo_drawable, { "drawable", "x11.xv.StopVideo.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_SelectVideoNotify_drawable, { "drawable", "x11.xv.SelectVideoNotify.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_SelectVideoNotify_onoff, { "onoff", "x11.xv.SelectVideoNotify.onoff", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_SelectPortNotify_port, { "port", "x11.xv.SelectPortNotify.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_SelectPortNotify_onoff, { "onoff", "x11.xv.SelectPortNotify.onoff", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryBestSize_port, { "port", "x11.xv.QueryBestSize.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryBestSize_vid_w, { "vid_w", "x11.xv.QueryBestSize.vid_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryBestSize_vid_h, { "vid_h", "x11.xv.QueryBestSize.vid_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryBestSize_drw_w, { "drw_w", "x11.xv.QueryBestSize.drw_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryBestSize_drw_h, { "drw_h", "x11.xv.QueryBestSize.drw_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryBestSize_motion, { "motion", "x11.xv.QueryBestSize.motion", FT_BOOLEAN, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryBestSize_reply_actual_width, { "actual_width", "x11.xv.QueryBestSize.reply.actual_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryBestSize_reply_actual_height, { "actual_height", "x11.xv.QueryBestSize.reply.actual_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_SetPortAttribute_port, { "port", "x11.xv.SetPortAttribute.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_SetPortAttribute_attribute, { "attribute", "x11.xv.SetPortAttribute.attribute", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_SetPortAttribute_value, { "value", "x11.xv.SetPortAttribute.value", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetPortAttribute_port, { "port", "x11.xv.GetPortAttribute.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetPortAttribute_attribute, { "attribute", "x11.xv.GetPortAttribute.attribute", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_GetPortAttribute_reply_value, { "value", "x11.xv.GetPortAttribute.reply.value", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryPortAttributes_port, { "port", "x11.xv.QueryPortAttributes.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryPortAttributes_reply_num_attributes, { "num_attributes", "x11.xv.QueryPortAttributes.reply.num_attributes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryPortAttributes_reply_text_size, { "text_size", "x11.xv.QueryPortAttributes.reply.text_size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryPortAttributes_reply_attributes, { "attributes", "x11.xv.QueryPortAttributes.reply.attributes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ListImageFormats_port, { "port", "x11.xv.ListImageFormats.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ListImageFormats_reply_num_formats, { "num_formats", "x11.xv.ListImageFormats.reply.num_formats", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ListImageFormats_reply_format, { "format", "x11.xv.ListImageFormats.reply.format.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ListImageFormats_reply_format_item, { "format", "x11.xv.ListImageFormats.reply.format", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_port, { "port", "x11.xv.QueryImageAttributes.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_id, { "id", "x11.xv.QueryImageAttributes.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_width, { "width", "x11.xv.QueryImageAttributes.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_height, { "height", "x11.xv.QueryImageAttributes.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_reply_num_planes, { "num_planes", "x11.xv.QueryImageAttributes.reply.num_planes", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_reply_data_size, { "data_size", "x11.xv.QueryImageAttributes.reply.data_size", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_reply_width, { "width", "x11.xv.QueryImageAttributes.reply.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_reply_height, { "height", "x11.xv.QueryImageAttributes.reply.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_reply_pitches, { "pitches", "x11.xv.QueryImageAttributes.reply.pitches.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_reply_pitches_item, { "pitches", "x11.xv.QueryImageAttributes.reply.pitches", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_reply_offsets, { "offsets", "x11.xv.QueryImageAttributes.reply.offsets.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_QueryImageAttributes_reply_offsets_item, { "offsets", "x11.xv.QueryImageAttributes.reply.offsets", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_port, { "port", "x11.xv.PutImage.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_drawable, { "drawable", "x11.xv.PutImage.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_gc, { "gc", "x11.xv.PutImage.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_id, { "id", "x11.xv.PutImage.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_src_x, { "src_x", "x11.xv.PutImage.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_src_y, { "src_y", "x11.xv.PutImage.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_src_w, { "src_w", "x11.xv.PutImage.src_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_src_h, { "src_h", "x11.xv.PutImage.src_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_drw_x, { "drw_x", "x11.xv.PutImage.drw_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_drw_y, { "drw_y", "x11.xv.PutImage.drw_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_drw_w, { "drw_w", "x11.xv.PutImage.drw_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_drw_h, { "drw_h", "x11.xv.PutImage.drw_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_width, { "width", "x11.xv.PutImage.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_height, { "height", "x11.xv.PutImage.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_PutImage_data, { "data", "x11.xv.PutImage.data", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_port, { "port", "x11.xv.ShmPutImage.port", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_drawable, { "drawable", "x11.xv.ShmPutImage.drawable", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_gc, { "gc", "x11.xv.ShmPutImage.gc", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_shmseg, { "shmseg", "x11.xv.ShmPutImage.shmseg", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_id, { "id", "x11.xv.ShmPutImage.id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_offset, { "offset", "x11.xv.ShmPutImage.offset", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_src_x, { "src_x", "x11.xv.ShmPutImage.src_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_src_y, { "src_y", "x11.xv.ShmPutImage.src_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_src_w, { "src_w", "x11.xv.ShmPutImage.src_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_src_h, { "src_h", "x11.xv.ShmPutImage.src_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_drw_x, { "drw_x", "x11.xv.ShmPutImage.drw_x", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_drw_y, { "drw_y", "x11.xv.ShmPutImage.drw_y", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_drw_w, { "drw_w", "x11.xv.ShmPutImage.drw_w", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_drw_h, { "drw_h", "x11.xv.ShmPutImage.drw_h", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_width, { "width", "x11.xv.ShmPutImage.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_height, { "height", "x11.xv.ShmPutImage.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_ShmPutImage_send_event, { "send_event", "x11.xv.ShmPutImage.send_event", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xv_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xv_extension_minor), 0, "minor opcode", HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo, { "xvmc_SurfaceInfo", "x11.struct.xvmc_SurfaceInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_id, { "id", "x11.struct.xvmc_SurfaceInfo.id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_chroma_format, { "chroma_format", "x11.struct.xvmc_SurfaceInfo.chroma_format", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_pad0, { "pad0", "x11.struct.xvmc_SurfaceInfo.pad0", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_max_width, { "max_width", "x11.struct.xvmc_SurfaceInfo.max_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_max_height, { "max_height", "x11.struct.xvmc_SurfaceInfo.max_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_subpicture_max_width, { "subpicture_max_width", "x11.struct.xvmc_SurfaceInfo.subpicture_max_width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_subpicture_max_height, { "subpicture_max_height", "x11.struct.xvmc_SurfaceInfo.subpicture_max_height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_mc_type, { "mc_type", "x11.struct.xvmc_SurfaceInfo.mc_type", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_struct_xvmc_SurfaceInfo_flags, { "flags", "x11.struct.xvmc_SurfaceInfo.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_QueryVersion_reply_major, { "major", "x11.xvmc.QueryVersion.reply.major", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_QueryVersion_reply_minor, { "minor", "x11.xvmc.QueryVersion.reply.minor", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSurfaceTypes_port_id, { "port_id", "x11.xvmc.ListSurfaceTypes.port_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSurfaceTypes_reply_num, { "num", "x11.xvmc.ListSurfaceTypes.reply.num", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSurfaceTypes_reply_surfaces, { "surfaces", "x11.xvmc.ListSurfaceTypes.reply.surfaces.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSurfaceTypes_reply_surfaces_item, { "surfaces", "x11.xvmc.ListSurfaceTypes.reply.surfaces", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_context_id, { "context_id", "x11.xvmc.CreateContext.context_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_port_id, { "port_id", "x11.xvmc.CreateContext.port_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_surface_id, { "surface_id", "x11.xvmc.CreateContext.surface_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_width, { "width", "x11.xvmc.CreateContext.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_height, { "height", "x11.xvmc.CreateContext.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_flags, { "flags", "x11.xvmc.CreateContext.flags", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_reply_width_actual, { "width_actual", "x11.xvmc.CreateContext.reply.width_actual", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_reply_height_actual, { "height_actual", "x11.xvmc.CreateContext.reply.height_actual", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_reply_flags_return, { "flags_return", "x11.xvmc.CreateContext.reply.flags_return", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_reply_priv_data, { "priv_data", "x11.xvmc.CreateContext.reply.priv_data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateContext_reply_priv_data_item, { "priv_data", "x11.xvmc.CreateContext.reply.priv_data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_DestroyContext_context_id, { "context_id", "x11.xvmc.DestroyContext.context_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSurface_surface_id, { "surface_id", "x11.xvmc.CreateSurface.surface_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSurface_context_id, { "context_id", "x11.xvmc.CreateSurface.context_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSurface_reply_priv_data, { "priv_data", "x11.xvmc.CreateSurface.reply.priv_data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSurface_reply_priv_data_item, { "priv_data", "x11.xvmc.CreateSurface.reply.priv_data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_DestroySurface_surface_id, { "surface_id", "x11.xvmc.DestroySurface.surface_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_subpicture_id, { "subpicture_id", "x11.xvmc.CreateSubpicture.subpicture_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_context, { "context", "x11.xvmc.CreateSubpicture.context", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_xvimage_id, { "xvimage_id", "x11.xvmc.CreateSubpicture.xvimage_id", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_width, { "width", "x11.xvmc.CreateSubpicture.width", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_height, { "height", "x11.xvmc.CreateSubpicture.height", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_reply_width_actual, { "width_actual", "x11.xvmc.CreateSubpicture.reply.width_actual", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_reply_height_actual, { "height_actual", "x11.xvmc.CreateSubpicture.reply.height_actual", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_reply_num_palette_entries, { "num_palette_entries", "x11.xvmc.CreateSubpicture.reply.num_palette_entries", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_reply_entry_bytes, { "entry_bytes", "x11.xvmc.CreateSubpicture.reply.entry_bytes", FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_reply_component_order, { "component_order", "x11.xvmc.CreateSubpicture.reply.component_order", FT_UINT8, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_reply_priv_data, { "priv_data", "x11.xvmc.CreateSubpicture.reply.priv_data.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_CreateSubpicture_reply_priv_data_item, { "priv_data", "x11.xvmc.CreateSubpicture.reply.priv_data", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_DestroySubpicture_subpicture_id, { "subpicture_id", "x11.xvmc.DestroySubpicture.subpicture_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSubpictureTypes_port_id, { "port_id", "x11.xvmc.ListSubpictureTypes.port_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSubpictureTypes_surface_id, { "surface_id", "x11.xvmc.ListSubpictureTypes.surface_id", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSubpictureTypes_reply_num, { "num", "x11.xvmc.ListSubpictureTypes.reply.num", FT_UINT32, BASE_HEX_DEC, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSubpictureTypes_reply_types, { "types", "x11.xvmc.ListSubpictureTypes.reply.types.list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_ListSubpictureTypes_reply_types_item, { "types", "x11.xvmc.ListSubpictureTypes.reply.types", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x11_xvmc_extension_minor, { "extension-minor", "x11.extension-minor", FT_UINT8, BASE_DEC, VALS(xvmc_extension_minor), 0, "minor opcode", HFILL }},